diff --git a/.gitignore b/.gitignore index 66fd13c9..3d9e2c5b 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,10 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +# GoLand +.idea +*.iml + +# Binaries file +bin diff --git a/air-api/client/discovery.go b/air-api/client/discovery.go new file mode 100644 index 00000000..5f586a04 --- /dev/null +++ b/air-api/client/discovery.go @@ -0,0 +1,195 @@ +package client + +import ( + "encoding/json" + "errors" + "io/ioutil" + "net/http" + "strconv" + "time" +) + +var httpClient http.Client +var airAddr string +var airPort int + +func init() { + httpClient = http.Client{ + Transport: &http.Transport{ + DisableKeepAlives: true, + }, + Timeout: time.Second * 60, + } +} + +// 设置注册发现中心地址 +func SetAirAddr(addr string, port int) { + airAddr = addr + airPort = port +} + +// 获取某个HTTP服务的所有实例 +func FetchHttpService(name string) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/http/fetch" + + "?name=" + name + return getAirServiceCore(url) +} + +// 获取全部HTTP服务的实例 +func FetchAllHttpService() (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/http/fetch/all" + return getAirServiceCore(url) +} + +// 长轮询某个HTTP服务的实例状态变化 +func PollHttpService(name string) (*ResponseData, error) { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/poll/http" + + "?name=" + name + responseData, err := getAirServiceCore(url) + if err != nil { + return nil, err + } + if responseData.Code != 0 { + return nil, errors.New("response code error") + } + if responseData.Instance == nil { + continue + } + return responseData, nil + } +} + +// 长轮询全部HTTP服务的实例状态变化 +func PollAllHttpService() (*ResponseData, error) { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/poll/http/all" + responseData, err := getAirServiceCore(url) + if err != nil { + return nil, err + } + if responseData.Code != 0 { + return nil, errors.New("response code error") + } + if responseData.Service == nil { + continue + } + return responseData, nil + } +} + +// 获取某个RPC服务的所有实例 +func FetchRpcService(name string) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/rpc/fetch" + + "?name=" + name + return getAirServiceCore(url) +} + +// 获取全部RPC服务的实例 +func FetchAllRpcService() (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/rpc/fetch/all" + return getAirServiceCore(url) +} + +// 长轮询某个RPC服务的实例状态变化 +func PollRpcService(name string) (*ResponseData, error) { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/poll/rpc" + + "?name=" + name + responseData, err := getAirServiceCore(url) + if err != nil { + return nil, err + } + if responseData.Code != 0 { + return nil, errors.New("response code error") + } + if responseData.Instance == nil { + continue + } + return responseData, nil + } +} + +// 长轮询全部RPC服务的实例状态变化 +func PollAllRpcService() (*ResponseData, error) { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/poll/rpc/all" + responseData, err := getAirServiceCore(url) + if err != nil { + return nil, err + } + if responseData.Code != 0 { + return nil, errors.New("response code error") + } + if responseData.Service == nil { + continue + } + return responseData, nil + } +} + +func getAirServiceCore(url string) (*ResponseData, error) { + req, err := http.NewRequest("GET", url, nil) + if err != nil { + return nil, err + } + rsp, err := httpClient.Do(req) + if err != nil { + return nil, err + } + data, err := ioutil.ReadAll(rsp.Body) + _ = rsp.Body.Close() + if err != nil { + return nil, err + } + responseData := new(ResponseData) + err = json.Unmarshal(data, responseData) + if err != nil { + return nil, err + } + return responseData, nil +} diff --git a/air-api/client/register.go b/air-api/client/register.go new file mode 100644 index 00000000..78545ef3 --- /dev/null +++ b/air-api/client/register.go @@ -0,0 +1,84 @@ +package client + +import ( + "bytes" + "encoding/json" + "io/ioutil" + "net/http" + "strconv" +) + +// 注册HTTP服务 +func RegisterHttpService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/http/reg" + return postAirServiceCore(url, inst) +} + +// HTTP服务心跳保持 +func KeepaliveHttpService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/http/ka" + return postAirServiceCore(url, inst) +} + +// 取消注册HTTP服务 +func CancelHttpService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/http/cancel" + return postAirServiceCore(url, inst) +} + +// 注册RPC服务 +func RegisterRpcService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/rpc/reg" + return postAirServiceCore(url, inst) +} + +// RPC服务心跳保持 +func KeepaliveRpcService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/rpc/ka" + return postAirServiceCore(url, inst) +} + +// 取消注册RPC服务 +func CancelRpcService(inst Instance) (*ResponseData, error) { + url := "http://" + + airAddr + ":" + strconv.Itoa(airPort) + + "/rpc/cancel" + return postAirServiceCore(url, inst) +} + +func postAirServiceCore(url string, inst Instance) (*ResponseData, error) { + reqData, err := json.Marshal(inst) + if err != nil { + return nil, err + } + req, err := http.NewRequest("POST", url, bytes.NewBuffer(reqData)) + if err != nil { + return nil, err + } + req.Header.Set("Content-Type", "application/json") + rsp, err := httpClient.Do(req) + if err != nil { + return nil, err + } + rspData, err := ioutil.ReadAll(rsp.Body) + _ = rsp.Body.Close() + if err != nil { + return nil, err + } + responseData := new(ResponseData) + err = json.Unmarshal(rspData, responseData) + if err != nil { + return nil, err + } + return responseData, nil +} diff --git a/air-api/client/service.go b/air-api/client/service.go new file mode 100644 index 00000000..d7942706 --- /dev/null +++ b/air-api/client/service.go @@ -0,0 +1,15 @@ +package client + +// 服务实例 +type Instance struct { + ServiceName string `json:"service_name"` + InstanceName string `json:"instance_name"` + InstanceAddr string `json:"instance_addr"` +} + +// 注册中心响应实体类 +type ResponseData struct { + Code int `json:"code"` + Service map[string][]Instance `json:"service"` + Instance []Instance `json:"instance"` +} diff --git a/air-api/go.mod b/air-api/go.mod new file mode 100644 index 00000000..f89e0dce --- /dev/null +++ b/air-api/go.mod @@ -0,0 +1,3 @@ +module air-api + +go 1.19 diff --git a/air/cmd/application.toml b/air/cmd/application.toml new file mode 100644 index 00000000..8c64003c --- /dev/null +++ b/air/cmd/application.toml @@ -0,0 +1,6 @@ +http_port = 8086 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true diff --git a/air/cmd/main.go b/air/cmd/main.go new file mode 100644 index 00000000..8ab2c6e5 --- /dev/null +++ b/air/cmd/main.go @@ -0,0 +1,55 @@ +package main + +import ( + "air/controller" + "air/service" + "flswld.com/common/config" + "flswld.com/logger" + "github.com/arl/statsviz" + "net/http" + _ "net/http/pprof" + "os" + "os/signal" + "syscall" + "time" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("air start") + + go func() { + // 性能检测 + err := statsviz.RegisterDefault() + if err != nil { + logger.LOG.Error("statsviz init error: %v", err) + } + err = http.ListenAndServe("0.0.0.0:1234", nil) + if err != nil { + logger.LOG.Error("perf debug http start error: %v", err) + } + }() + + svc := service.NewService() + + _ = controller.NewController(svc) + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + logger.LOG.Info("air exit") + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/air/controller/controller.go b/air/controller/controller.go new file mode 100644 index 00000000..bdd03bb4 --- /dev/null +++ b/air/controller/controller.go @@ -0,0 +1,48 @@ +package controller + +import ( + "air/service" + "flswld.com/common/config" + "github.com/gin-gonic/gin" + "strconv" +) + +type Controller struct { + service *service.Service +} + +func NewController(service *service.Service) (r *Controller) { + r = new(Controller) + r.service = service + go r.registerRouter() + return r +} + +func (c *Controller) registerRouter() { + if config.CONF.Logger.Level == "DEBUG" { + gin.SetMode(gin.DebugMode) + } else { + gin.SetMode(gin.ReleaseMode) + } + engine := gin.Default() + // HTTP + engine.GET("/http/fetch", c.fetchHttpService) + engine.GET("/http/fetch/all", c.fetchAllHttpService) + engine.POST("/http/reg", c.registerHttpService) + engine.POST("/http/cancel", c.cancelHttpService) + engine.POST("/http/ka", c.httpKeepalive) + // RPC + engine.GET("/rpc/fetch", c.fetchRpcService) + engine.GET("/rpc/fetch/all", c.fetchAllRpcService) + engine.POST("/rpc/reg", c.registerRpcService) + engine.POST("/rpc/cancel", c.cancelRpcService) + engine.POST("/rpc/ka", c.rpcKeepalive) + // 长轮询 + engine.GET("/poll/http", c.pollHttpService) + engine.GET("/poll/http/all", c.pollAllHttpService) + engine.GET("/poll/rpc", c.pollRpcService) + engine.GET("/poll/rpc/all", c.pollAllRpcService) + port := strconv.FormatInt(int64(config.CONF.HttpPort), 10) + portStr := ":" + port + _ = engine.Run(portStr) +} diff --git a/air/controller/fetch_controller.go b/air/controller/fetch_controller.go new file mode 100644 index 00000000..9f9414b9 --- /dev/null +++ b/air/controller/fetch_controller.go @@ -0,0 +1,39 @@ +package controller + +import "github.com/gin-gonic/gin" + +// 获取HTTP服务 +func (c *Controller) fetchHttpService(context *gin.Context) { + inst := c.service.FetchHttpService(context.Query("name")) + context.JSON(200, gin.H{ + "code": 0, + "instance": inst, + }) +} + +// 获取所有HTTP服务 +func (c *Controller) fetchAllHttpService(context *gin.Context) { + svc := c.service.FetchAllHttpService() + context.JSON(200, gin.H{ + "code": 0, + "service": svc, + }) +} + +// 获取RPC服务 +func (c *Controller) fetchRpcService(context *gin.Context) { + inst := c.service.FetchRpcService(context.Query("name")) + context.JSON(200, gin.H{ + "code": 0, + "instance": inst, + }) +} + +// 获取所有RPC服务 +func (c *Controller) fetchAllRpcService(context *gin.Context) { + svc := c.service.FetchAllRpcService() + context.JSON(200, gin.H{ + "code": 0, + "service": svc, + }) +} diff --git a/air/controller/keepalive_controller.go b/air/controller/keepalive_controller.go new file mode 100644 index 00000000..e8981dd7 --- /dev/null +++ b/air/controller/keepalive_controller.go @@ -0,0 +1,35 @@ +package controller + +import ( + "air/entity" + "flswld.com/logger" + "github.com/gin-gonic/gin" +) + +// HTTP心跳 +func (c *Controller) httpKeepalive(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.HttpKeepalive(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} + +// RPC心跳 +func (c *Controller) rpcKeepalive(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.RpcKeepalive(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} diff --git a/air/controller/poll_controller.go b/air/controller/poll_controller.go new file mode 100644 index 00000000..35200732 --- /dev/null +++ b/air/controller/poll_controller.go @@ -0,0 +1,85 @@ +package controller + +import ( + "github.com/gin-gonic/gin" + "net/http" + "time" +) + +func (c *Controller) pollHttpService(context *gin.Context) { + serviceName := context.Query("name") + recvrNtfr := c.service.RegistryHttpNotifyReceiver(serviceName) + timeout := time.NewTicker(time.Second * 30) + select { + case inst := <-recvrNtfr.NotifyChannel: + c.service.CancelHttpNotifyReceiver(serviceName, recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "instance": inst, + }) + case <-timeout.C: + c.service.CancelHttpNotifyReceiver(serviceName, recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "instance": nil, + }) + } +} + +func (c *Controller) pollAllHttpService(context *gin.Context) { + recvrNtfr := c.service.RegistryAllHttpNotifyReceiver() + timeout := time.NewTicker(time.Second * 30) + select { + case svc := <-recvrNtfr.NotifyChannel: + c.service.CancelAllHttpNotifyReceiver(recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "service": svc, + }) + case <-timeout.C: + c.service.CancelAllHttpNotifyReceiver(recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "service": nil, + }) + } +} + +func (c *Controller) pollRpcService(context *gin.Context) { + serviceName := context.Query("name") + recvrNtfr := c.service.RegistryRpcNotifyReceiver(serviceName) + timeout := time.NewTicker(time.Second * 30) + select { + case inst := <-recvrNtfr.NotifyChannel: + c.service.CancelRpcNotifyReceiver(serviceName, recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "instance": inst, + }) + case <-timeout.C: + c.service.CancelRpcNotifyReceiver(serviceName, recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "instance": nil, + }) + } +} + +func (c *Controller) pollAllRpcService(context *gin.Context) { + recvrNtfr := c.service.RegistryAllRpcNotifyReceiver() + timeout := time.NewTicker(time.Second * 30) + select { + case svc := <-recvrNtfr.NotifyChannel: + c.service.CancelAllRpcNotifyReceiver(recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "service": svc, + }) + case <-timeout.C: + c.service.CancelAllRpcNotifyReceiver(recvrNtfr.Id) + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "service": nil, + }) + } +} diff --git a/air/controller/registry_controller.go b/air/controller/registry_controller.go new file mode 100644 index 00000000..c9b91436 --- /dev/null +++ b/air/controller/registry_controller.go @@ -0,0 +1,63 @@ +package controller + +import ( + "air/entity" + "flswld.com/logger" + "github.com/gin-gonic/gin" +) + +// 注册HTTP服务 +func (c *Controller) registerHttpService(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.RegisterHttpService(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} + +// 取消注册HTTP服务 +func (c *Controller) cancelHttpService(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.CancelHttpService(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} + +// 注册RPC服务 +func (c *Controller) registerRpcService(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.RegisterRpcService(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} + +// 取消注册RPC服务 +func (c *Controller) cancelRpcService(context *gin.Context) { + inst := new(entity.Instance) + err := context.ShouldBindJSON(inst) + if err != nil { + logger.LOG.Error("parse json error: %v", err) + return + } + c.service.CancelRpcService(*inst) + context.JSON(200, gin.H{ + "code": 0, + }) +} diff --git a/air/entity/instance.go b/air/entity/instance.go new file mode 100644 index 00000000..77a0f129 --- /dev/null +++ b/air/entity/instance.go @@ -0,0 +1,8 @@ +package entity + +// 服务实例实体类 +type Instance struct { + ServiceName string `json:"service_name"` + InstanceName string `json:"instance_name"` + InstanceAddr string `json:"instance_addr"` +} diff --git a/air/go.mod b/air/go.mod new file mode 100644 index 00000000..affd5299 --- /dev/null +++ b/air/go.mod @@ -0,0 +1,33 @@ +module air + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../logger + +require github.com/gin-gonic/gin v1.6.3 + +require github.com/arl/statsviz v0.5.1 + +require ( + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.2.0 // indirect + github.com/golang/protobuf v1.3.3 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + golang.org/x/sys v0.0.0-20200116001909-b77594299b42 // indirect + gopkg.in/yaml.v2 v2.2.8 // indirect +) diff --git a/air/go.sum b/air/go.sum new file mode 100644 index 00000000..b0ec9a81 --- /dev/null +++ b/air/go.sum @@ -0,0 +1,52 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/arl/statsviz v0.5.1 h1:3HY0ZEB738JtguWsD1Tf1pFJZiCcWUmYRq/3OTYKaSI= +github.com/arl/statsviz v0.5.1/go.mod h1:zDnjgRblGm1Dyd7J5YlbH7gM1/+HRC+SfkhZhQb5AnM= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42 h1:vEOn+mP2zCOVzKckCZy6YsCtDblrpj/w7B9nxGNELpg= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/air/service/fetch_service.go b/air/service/fetch_service.go new file mode 100644 index 00000000..98babb11 --- /dev/null +++ b/air/service/fetch_service.go @@ -0,0 +1,89 @@ +package service + +import "air/entity" + +// 获取HTTP服务 +func (s *Service) FetchHttpService(name string) (r []entity.Instance) { + s.httpServiceMapLock.RLock() + instanceMap := s.httpServiceMap[name] + s.httpServiceMapLock.RUnlock() + r = make([]entity.Instance, 0) + if instanceMap == nil { + return r + } + instanceMap.lock.RLock() + for k, v := range instanceMap.Imap { + instance := new(entity.Instance) + instance.ServiceName = name + instance.InstanceName = k + instance.InstanceAddr = v.Address + r = append(r, *instance) + } + instanceMap.lock.RUnlock() + return r +} + +// 获取所有HTTP服务 +func (s *Service) FetchAllHttpService() (r map[string][]entity.Instance) { + s.httpServiceMapLock.RLock() + serviceMap := s.httpServiceMap + s.httpServiceMapLock.RUnlock() + r = make(map[string][]entity.Instance) + for k, v := range serviceMap { + instanceSlice := make([]entity.Instance, 0) + v.lock.RLock() + for kk, vv := range v.Imap { + instance := new(entity.Instance) + instance.ServiceName = k + instance.InstanceName = kk + instance.InstanceAddr = vv.Address + instanceSlice = append(instanceSlice, *instance) + } + v.lock.RUnlock() + r[k] = instanceSlice + } + return r +} + +// 获取RPC服务 +func (s *Service) FetchRpcService(name string) (r []entity.Instance) { + s.rpcServiceMapLock.RLock() + instanceMap := s.rpcServiceMap[name] + s.rpcServiceMapLock.RUnlock() + r = make([]entity.Instance, 0) + if instanceMap == nil { + return r + } + instanceMap.lock.RLock() + for k, v := range instanceMap.Imap { + instance := new(entity.Instance) + instance.ServiceName = name + instance.InstanceName = k + instance.InstanceAddr = v.Address + r = append(r, *instance) + } + instanceMap.lock.RUnlock() + return r +} + +// 获取所有RPC服务 +func (s *Service) FetchAllRpcService() (r map[string][]entity.Instance) { + s.rpcServiceMapLock.RLock() + serviceMap := s.rpcServiceMap + s.rpcServiceMapLock.RUnlock() + r = make(map[string][]entity.Instance) + for k, v := range serviceMap { + instanceSlice := make([]entity.Instance, 0) + v.lock.RLock() + for kk, vv := range v.Imap { + instance := new(entity.Instance) + instance.ServiceName = k + instance.InstanceName = kk + instance.InstanceAddr = vv.Address + instanceSlice = append(instanceSlice, *instance) + } + v.lock.RUnlock() + r[k] = instanceSlice + } + return r +} diff --git a/air/service/keepalive_service.go b/air/service/keepalive_service.go new file mode 100644 index 00000000..d02b817a --- /dev/null +++ b/air/service/keepalive_service.go @@ -0,0 +1,136 @@ +package service + +import ( + "air/entity" + "flswld.com/logger" + "time" +) + +// HTTP心跳 +func (s *Service) HttpKeepalive(instance entity.Instance) { + nowTime := time.Now().Unix() + s.httpServiceMapLock.RLock() + instanceMap := s.httpServiceMap[instance.ServiceName] + s.httpServiceMapLock.RUnlock() + if instanceMap != nil { + instanceMap.lock.Lock() + instanceData := instanceMap.Imap[instance.InstanceName] + if instanceData != nil { + instanceData.LastAliveTime = nowTime + } else { + logger.LOG.Error("recv not exist instance http keepalive, instance name: %v", instance.InstanceName) + } + instanceMap.lock.Unlock() + } else { + logger.LOG.Error("recv not exist service http keepalive, service name: %v", instance.ServiceName) + } +} + +// RPC心跳 +func (s *Service) RpcKeepalive(instance entity.Instance) { + nowTime := time.Now().Unix() + s.rpcServiceMapLock.RLock() + instanceMap := s.rpcServiceMap[instance.ServiceName] + s.rpcServiceMapLock.RUnlock() + if instanceMap != nil { + instanceMap.lock.Lock() + instanceData := instanceMap.Imap[instance.InstanceName] + if instanceData != nil { + instanceData.LastAliveTime = nowTime + } else { + logger.LOG.Error("recv not exist instance rpc keepalive, instance name: %v", instance.InstanceName) + } + instanceMap.lock.Unlock() + } else { + logger.LOG.Error("recv not exist service rpc keepalive, service name: %v", instance.ServiceName) + } +} + +// 定时移除掉线服务 +func (s *Service) removeDeadService() { + ticker := time.NewTicker(time.Second * 60) + for { + <-ticker.C + nowTime := time.Now().Unix() + + httpSvcChgFlagMap := make(map[string]bool) + httpSvcChgMap := make(map[string]*InstanceMap) + httpSvcDelMap := make(map[string]*InstanceMap) + s.httpServiceMapLock.RLock() + for svcName, svcInstMap := range s.httpServiceMap { + svcInstMap.lock.Lock() + for instName, instData := range svcInstMap.Imap { + if nowTime-instData.LastAliveTime > 60 { + httpSvcChgFlagMap[svcName] = true + if httpSvcDelMap[svcName] == nil { + httpSvcDelMap[svcName] = new(InstanceMap) + httpSvcDelMap[svcName].Imap = make(map[string]*InstanceData) + } + httpSvcDelMap[svcName].Imap[instName] = instData + delete(svcInstMap.Imap, instName) + } else { + if httpSvcChgMap[svcName] == nil { + httpSvcChgMap[svcName] = new(InstanceMap) + httpSvcChgMap[svcName].Imap = make(map[string]*InstanceData) + } + httpSvcChgMap[svcName].Imap[instName] = instData + } + } + svcInstMap.lock.Unlock() + } + s.httpServiceMapLock.RUnlock() + for svcName, instMap := range httpSvcDelMap { + for instName, instData := range instMap.Imap { + logger.LOG.Info("remove timeout http service, service name: %v, instance name: %v, instance data: %v", svcName, instName, instData) + } + } + for svcName, _ := range httpSvcChgMap { + if !httpSvcChgFlagMap[svcName] { + delete(httpSvcChgMap, svcName) + } + } + if len(httpSvcChgMap) != 0 { + s.httpSvcChgNtfCh <- httpSvcChgMap + } + + rpcSvcChgFlagMap := make(map[string]bool) + rpcSvcChgMap := make(map[string]*InstanceMap) + rpcSvcDelMap := make(map[string]*InstanceMap) + s.rpcServiceMapLock.RLock() + for svcName, svcInstMap := range s.rpcServiceMap { + svcInstMap.lock.Lock() + for instName, instData := range svcInstMap.Imap { + if nowTime-instData.LastAliveTime > 60 { + rpcSvcChgFlagMap[svcName] = true + if rpcSvcDelMap[svcName] == nil { + rpcSvcDelMap[svcName] = new(InstanceMap) + rpcSvcDelMap[svcName].Imap = make(map[string]*InstanceData) + } + rpcSvcDelMap[svcName].Imap[instName] = instData + delete(svcInstMap.Imap, instName) + } else { + if rpcSvcChgMap[svcName] == nil { + rpcSvcChgMap[svcName] = new(InstanceMap) + rpcSvcChgMap[svcName].Imap = make(map[string]*InstanceData) + } + rpcSvcChgMap[svcName].Imap[instName] = instData + } + } + svcInstMap.lock.Unlock() + } + s.rpcServiceMapLock.RUnlock() + for svcName, instMap := range rpcSvcDelMap { + for instName, instData := range instMap.Imap { + logger.LOG.Info("remove timeout rpc service, service name: %v, instance name: %v, instance data: %v", svcName, instName, instData) + } + } + for svcName, _ := range rpcSvcChgMap { + if !rpcSvcChgFlagMap[svcName] { + delete(rpcSvcChgMap, svcName) + } + } + if len(rpcSvcChgMap) != 0 { + s.rpcSvcChgNtfCh <- rpcSvcChgMap + } + } +} diff --git a/air/service/poll_service.go b/air/service/poll_service.go new file mode 100644 index 00000000..9316f3ba --- /dev/null +++ b/air/service/poll_service.go @@ -0,0 +1,190 @@ +package service + +import ( + "air/entity" + "flswld.com/logger" + "sync/atomic" + "time" +) + +func (s *Service) watchServiceChange() { + s.watcher.receiverNotifierIdCounter = 0 + s.watcher.httpRecvrNtfrMap = make(map[string]map[uint64]*ReceiverNotifier) + s.watcher.httpAllSvcRecvrNtfrMap = make(map[uint64]*AllServiceReceiverNotifier) + s.watcher.rpcRecvrNtfrMap = make(map[string]map[uint64]*ReceiverNotifier) + s.watcher.rpcAllSvcRecvrNtfrMap = make(map[uint64]*AllServiceReceiverNotifier) + go func() { + for { + imap := <-s.httpSvcChgNtfCh + for svcName, instMap := range imap { + // 给某个服务的接收者通知器发送消息 + s.watcher.httpRecvrNtfrMapLock.RLock() + recvrNtfrMap := s.watcher.httpRecvrNtfrMap[svcName] + instList := make([]entity.Instance, 0) + for instName, instData := range instMap.Imap { + inst := new(entity.Instance) + inst.ServiceName = svcName + inst.InstanceName = instName + inst.InstanceAddr = instData.Address + instList = append(instList, *inst) + } + if recvrNtfrMap == nil || len(recvrNtfrMap) == 0 { + s.watcher.httpRecvrNtfrMapLock.RUnlock() + continue + } + for _, recvrNtfr := range recvrNtfrMap { + if time.Now().UnixNano()-recvrNtfr.CreateTime < int64(time.Second*30) { + logger.LOG.Debug("send http service change notify to receiver: %d", recvrNtfr.Id) + recvrNtfr.NotifyChannel <- instList + } + close(recvrNtfr.NotifyChannel) + } + s.watcher.httpRecvrNtfrMapLock.RUnlock() + } + + // 给全体服务的接收者通知器发送消息 + s.watcher.httpAllSvcRecvrNtfrMapLock.RLock() + if len(s.watcher.httpAllSvcRecvrNtfrMap) == 0 { + s.watcher.httpAllSvcRecvrNtfrMapLock.RUnlock() + continue + } + svcMap := s.FetchAllHttpService() + for _, recvrNtfr := range s.watcher.httpAllSvcRecvrNtfrMap { + if time.Now().UnixNano()-recvrNtfr.CreateTime < int64(time.Second*30) { + logger.LOG.Debug("send all http service change notify to receiver: %d", recvrNtfr.Id) + recvrNtfr.NotifyChannel <- svcMap + } + close(recvrNtfr.NotifyChannel) + } + s.watcher.httpAllSvcRecvrNtfrMapLock.RUnlock() + } + }() + go func() { + for { + imap := <-s.rpcSvcChgNtfCh + for svcName, instMap := range imap { + // 给某个服务的接收者通知器发送消息 + s.watcher.rpcRecvrNtfrMapLock.RLock() + recvrNtfrMap := s.watcher.rpcRecvrNtfrMap[svcName] + instList := make([]entity.Instance, 0) + for instName, instData := range instMap.Imap { + inst := new(entity.Instance) + inst.ServiceName = svcName + inst.InstanceName = instName + inst.InstanceAddr = instData.Address + instList = append(instList, *inst) + } + if recvrNtfrMap == nil || len(recvrNtfrMap) == 0 { + s.watcher.rpcRecvrNtfrMapLock.RUnlock() + continue + } + for _, recvrNtfr := range recvrNtfrMap { + if time.Now().UnixNano()-recvrNtfr.CreateTime < int64(time.Second*30) { + logger.LOG.Debug("send rpc service change notify to receiver: %d", recvrNtfr.Id) + recvrNtfr.NotifyChannel <- instList + } + close(recvrNtfr.NotifyChannel) + } + s.watcher.rpcRecvrNtfrMapLock.RUnlock() + } + + // 给全体服务的接收者通知器发送消息 + s.watcher.rpcAllSvcRecvrNtfrMapLock.RLock() + if len(s.watcher.rpcAllSvcRecvrNtfrMap) == 0 { + s.watcher.rpcAllSvcRecvrNtfrMapLock.RUnlock() + continue + } + svcMap := s.FetchAllRpcService() + for _, recvrNtfr := range s.watcher.rpcAllSvcRecvrNtfrMap { + if time.Now().UnixNano()-recvrNtfr.CreateTime < int64(time.Second*30) { + logger.LOG.Debug("send all rpc service change notify to receiver: %d", recvrNtfr.Id) + recvrNtfr.NotifyChannel <- svcMap + } + close(recvrNtfr.NotifyChannel) + } + s.watcher.rpcAllSvcRecvrNtfrMapLock.RUnlock() + } + }() +} + +// 注册HTTP服务变化通知接收者 +func (s *Service) RegistryHttpNotifyReceiver(serviceName string) *ReceiverNotifier { + recvrNtfr := new(ReceiverNotifier) + recvrNtfr.Id = atomic.AddUint64(&s.watcher.receiverNotifierIdCounter, 1) + recvrNtfr.CreateTime = time.Now().UnixNano() + recvrNtfr.NotifyChannel = make(chan []entity.Instance, 0) + s.watcher.httpRecvrNtfrMapLock.Lock() + if s.watcher.httpRecvrNtfrMap[serviceName] == nil { + s.watcher.httpRecvrNtfrMap[serviceName] = make(map[uint64]*ReceiverNotifier) + } + s.watcher.httpRecvrNtfrMap[serviceName][recvrNtfr.Id] = recvrNtfr + s.watcher.httpRecvrNtfrMapLock.Unlock() + return recvrNtfr +} + +// 取消HTTP服务变化通知接收者 +func (s *Service) CancelHttpNotifyReceiver(serviceName string, id uint64) { + s.watcher.httpRecvrNtfrMapLock.Lock() + delete(s.watcher.httpRecvrNtfrMap[serviceName], id) + s.watcher.httpRecvrNtfrMapLock.Unlock() +} + +// 注册全体HTTP服务变化通知接收者 +func (s *Service) RegistryAllHttpNotifyReceiver() *AllServiceReceiverNotifier { + recvrNtfr := new(AllServiceReceiverNotifier) + recvrNtfr.Id = atomic.AddUint64(&s.watcher.receiverNotifierIdCounter, 1) + recvrNtfr.CreateTime = time.Now().UnixNano() + recvrNtfr.NotifyChannel = make(chan map[string][]entity.Instance, 0) + s.watcher.httpAllSvcRecvrNtfrMapLock.Lock() + s.watcher.httpAllSvcRecvrNtfrMap[recvrNtfr.Id] = recvrNtfr + s.watcher.httpAllSvcRecvrNtfrMapLock.Unlock() + return recvrNtfr +} + +// 取消全体HTTP服务变化通知接收者 +func (s *Service) CancelAllHttpNotifyReceiver(id uint64) { + s.watcher.httpAllSvcRecvrNtfrMapLock.Lock() + delete(s.watcher.httpAllSvcRecvrNtfrMap, id) + s.watcher.httpAllSvcRecvrNtfrMapLock.Unlock() +} + +// 注册RPC服务变化通知接收者 +func (s *Service) RegistryRpcNotifyReceiver(serviceName string) *ReceiverNotifier { + recvrNtfr := new(ReceiverNotifier) + recvrNtfr.Id = atomic.AddUint64(&s.watcher.receiverNotifierIdCounter, 1) + recvrNtfr.CreateTime = time.Now().UnixNano() + recvrNtfr.NotifyChannel = make(chan []entity.Instance, 0) + s.watcher.rpcRecvrNtfrMapLock.Lock() + if s.watcher.rpcRecvrNtfrMap[serviceName] == nil { + s.watcher.rpcRecvrNtfrMap[serviceName] = make(map[uint64]*ReceiverNotifier) + } + s.watcher.rpcRecvrNtfrMap[serviceName][recvrNtfr.Id] = recvrNtfr + s.watcher.rpcRecvrNtfrMapLock.Unlock() + return recvrNtfr +} + +// 取消RPC服务变化通知接收者 +func (s *Service) CancelRpcNotifyReceiver(serviceName string, id uint64) { + s.watcher.rpcRecvrNtfrMapLock.Lock() + delete(s.watcher.rpcRecvrNtfrMap[serviceName], id) + s.watcher.rpcRecvrNtfrMapLock.Unlock() +} + +// 注册全体RPC服务变化通知接收者 +func (s *Service) RegistryAllRpcNotifyReceiver() *AllServiceReceiverNotifier { + recvrNtfr := new(AllServiceReceiverNotifier) + recvrNtfr.Id = atomic.AddUint64(&s.watcher.receiverNotifierIdCounter, 1) + recvrNtfr.CreateTime = time.Now().UnixNano() + recvrNtfr.NotifyChannel = make(chan map[string][]entity.Instance, 0) + s.watcher.rpcAllSvcRecvrNtfrMapLock.Lock() + s.watcher.rpcAllSvcRecvrNtfrMap[recvrNtfr.Id] = recvrNtfr + s.watcher.rpcAllSvcRecvrNtfrMapLock.Unlock() + return recvrNtfr +} + +// 取消全体RPC服务变化通知接收者 +func (s *Service) CancelAllRpcNotifyReceiver(id uint64) { + s.watcher.rpcAllSvcRecvrNtfrMapLock.Lock() + delete(s.watcher.rpcAllSvcRecvrNtfrMap, id) + s.watcher.rpcAllSvcRecvrNtfrMapLock.Unlock() +} diff --git a/air/service/registry_service.go b/air/service/registry_service.go new file mode 100644 index 00000000..b0c7d977 --- /dev/null +++ b/air/service/registry_service.go @@ -0,0 +1,103 @@ +package service + +import ( + "air/entity" + "flswld.com/common/utils/object" + "time" +) + +// 注册HTTP服务 +func (s *Service) RegisterHttpService(instance entity.Instance) bool { + nowTime := time.Now().Unix() + s.httpServiceMapLock.Lock() + instanceMap := s.httpServiceMap[instance.ServiceName] + if instanceMap == nil { + instanceMap = new(InstanceMap) + instanceMap.Imap = make(map[string]*InstanceData) + } + instanceMap.lock.Lock() + instanceData := instanceMap.Imap[instance.InstanceName] + if instanceData == nil { + instanceData = new(InstanceData) + } + instanceData.Address = instance.InstanceAddr + instanceData.LastAliveTime = nowTime + instanceMap.Imap[instance.InstanceName] = instanceData + s.httpServiceMap[instance.ServiceName] = instanceMap + instanceMap.lock.Unlock() + s.httpServiceMapLock.Unlock() + changeInst := make(map[string]*InstanceMap) + instanceMapCopy := new(InstanceMap) + instanceMap.lock.RLock() + _ = object.ObjectDeepCopy(instanceMap, instanceMapCopy) + instanceMap.lock.RUnlock() + changeInst[instance.ServiceName] = instanceMapCopy + s.httpSvcChgNtfCh <- changeInst + return true +} + +// 取消注册HTTP服务 +func (s *Service) CancelHttpService(instance entity.Instance) bool { + s.httpServiceMapLock.RLock() + instanceMap := s.httpServiceMap[instance.ServiceName] + s.httpServiceMapLock.RUnlock() + instanceMap.lock.Lock() + delete(instanceMap.Imap, instance.InstanceName) + instanceMap.lock.Unlock() + changeInst := make(map[string]*InstanceMap) + instanceMapCopy := new(InstanceMap) + instanceMap.lock.RLock() + _ = object.ObjectDeepCopy(instanceMap, instanceMapCopy) + instanceMap.lock.RUnlock() + changeInst[instance.ServiceName] = instanceMapCopy + s.httpSvcChgNtfCh <- changeInst + return true +} + +// 注册RPC服务 +func (s *Service) RegisterRpcService(instance entity.Instance) bool { + nowTime := time.Now().Unix() + s.rpcServiceMapLock.Lock() + instanceMap := s.rpcServiceMap[instance.ServiceName] + if instanceMap == nil { + instanceMap = new(InstanceMap) + instanceMap.Imap = make(map[string]*InstanceData) + } + instanceMap.lock.Lock() + instanceData := instanceMap.Imap[instance.InstanceName] + if instanceData == nil { + instanceData = new(InstanceData) + } + instanceData.Address = instance.InstanceAddr + instanceData.LastAliveTime = nowTime + instanceMap.Imap[instance.InstanceName] = instanceData + s.rpcServiceMap[instance.ServiceName] = instanceMap + instanceMap.lock.Unlock() + s.rpcServiceMapLock.Unlock() + changeInst := make(map[string]*InstanceMap) + instanceMapCopy := new(InstanceMap) + instanceMap.lock.RLock() + _ = object.ObjectDeepCopy(instanceMap, instanceMapCopy) + instanceMap.lock.RUnlock() + changeInst[instance.ServiceName] = instanceMapCopy + s.rpcSvcChgNtfCh <- changeInst + return true +} + +// 取消注册RPC服务 +func (s *Service) CancelRpcService(instance entity.Instance) bool { + s.rpcServiceMapLock.RLock() + instanceMap := s.rpcServiceMap[instance.ServiceName] + s.rpcServiceMapLock.RUnlock() + instanceMap.lock.Lock() + delete(instanceMap.Imap, instance.InstanceName) + instanceMap.lock.Unlock() + changeInst := make(map[string]*InstanceMap) + instanceMapCopy := new(InstanceMap) + instanceMap.lock.RLock() + _ = object.ObjectDeepCopy(instanceMap, instanceMapCopy) + instanceMap.lock.RUnlock() + changeInst[instance.ServiceName] = instanceMapCopy + s.rpcSvcChgNtfCh <- changeInst + return true +} diff --git a/air/service/service.go b/air/service/service.go new file mode 100644 index 00000000..839aaaaa --- /dev/null +++ b/air/service/service.go @@ -0,0 +1,75 @@ +package service + +import ( + "air/entity" + "sync" +) + +// 实例数据 +type InstanceData struct { + // 实例地址 + Address string + // 最后心跳时间 + LastAliveTime int64 +} + +// 服务实例集合 +type InstanceMap struct { + // key:实例名 value:实例数据 + Imap map[string]*InstanceData + lock sync.RWMutex +} + +type ReceiverNotifier struct { + Id uint64 + CreateTime int64 + NotifyChannel chan []entity.Instance +} + +type AllServiceReceiverNotifier struct { + Id uint64 + CreateTime int64 + NotifyChannel chan map[string][]entity.Instance +} + +type Watcher struct { + receiverNotifierIdCounter uint64 + // key1:服务名 key2:接收者通知器id value:接收者通知器 + httpRecvrNtfrMap map[string]map[uint64]*ReceiverNotifier + httpRecvrNtfrMapLock sync.RWMutex + // key:接收者通知器id value:接收者通知器 + httpAllSvcRecvrNtfrMap map[uint64]*AllServiceReceiverNotifier + httpAllSvcRecvrNtfrMapLock sync.RWMutex + // key1:服务名 key2:接收者通知器id value:接收者通知器 + rpcRecvrNtfrMap map[string]map[uint64]*ReceiverNotifier + rpcRecvrNtfrMapLock sync.RWMutex + // key:接收者通知器id value:接收者通知器 + rpcAllSvcRecvrNtfrMap map[uint64]*AllServiceReceiverNotifier + rpcAllSvcRecvrNtfrMapLock sync.RWMutex +} + +// 注册服务 +type Service struct { + // key:服务名 value:服务实例集合 + httpServiceMap map[string]*InstanceMap + httpServiceMapLock sync.RWMutex + httpSvcChgNtfCh chan map[string]*InstanceMap + // key:服务名 value:服务实例集合 + rpcServiceMap map[string]*InstanceMap + rpcServiceMapLock sync.RWMutex + rpcSvcChgNtfCh chan map[string]*InstanceMap + watcher *Watcher +} + +// 构造函数 +func NewService() (r *Service) { + r = new(Service) + r.httpServiceMap = make(map[string]*InstanceMap) + r.rpcServiceMap = make(map[string]*InstanceMap) + r.httpSvcChgNtfCh = make(chan map[string]*InstanceMap, 0) + r.rpcSvcChgNtfCh = make(chan map[string]*InstanceMap, 0) + r.watcher = new(Watcher) + go r.removeDeadService() + go r.watchServiceChange() + return r +} diff --git a/common/config/config.go b/common/config/config.go new file mode 100644 index 00000000..9a307fb7 --- /dev/null +++ b/common/config/config.go @@ -0,0 +1,98 @@ +package config + +import ( + "fmt" + "github.com/BurntSushi/toml" +) + +var CONF *Config = nil + +// 配置 +type Config struct { + HttpPort int `toml:"http_port"` + KcpPort int `toml:"kcp_port"` + Logger Logger `toml:"logger"` + Air Air `toml:"air"` + Database Database `toml:"database"` + Light Light `toml:"light"` + Routes []Routes `toml:"routes"` + Wxmp Wxmp `toml:"wxmp"` + Hk4e Hk4e `toml:"hk4e"` + MQ MQ `toml:"mq"` +} + +// 日志配置 +type Logger struct { + Level string `toml:"level"` + Method string `toml:"method"` + TrackLine bool `toml:"track_line"` +} + +// 注册中心配置 +type Air struct { + Addr string `toml:"addr"` + Port int `toml:"port"` + ServiceName string `toml:"service_name"` +} + +// 数据库配置 +type Database struct { + Url string `toml:"url"` +} + +// RPC框架配置 +type Light struct { + Port int `toml:"port"` +} + +// 路由配置 +type Routes struct { + ServiceName string `toml:"service_name"` + ServicePredicates string `toml:"service_predicates"` + StripPrefix int `toml:"strip_prefix"` +} + +// FWDN服务 +type Fwdn struct { + FwdnCron string `toml:"fwdn_cron"` + TestCron string `toml:"test_cron"` + QQMailAddr string `toml:"qq_mail_addr"` + QQMailName string `toml:"qq_mail_name"` + QQMailToken string `toml:"qq_mail_token"` + FwMailAddr string `toml:"fw_mail_addr"` +} + +// 微信公众号 +type Wxmp struct { + AppId string `toml:"app_id"` + RawId string `toml:"raw_id"` + Token string `toml:"token"` + EncodingAesKey string `toml:"encoding_aes_key"` + Fwdn Fwdn `toml:"fwdn"` +} + +// 原神相关 +type Hk4e struct { + KcpPort int `toml:"kcp_port"` + KcpAddr string `toml:"kcp_addr"` + ResourcePath string `toml:"resource_path"` + GachaHistoryServer string `toml:"gacha_history_server"` +} + +// 消息队列 +type MQ struct { + NatsUrl string `toml:"nats_url"` +} + +func InitConfig(filePath string) { + CONF = new(Config) + CONF.loadConfigFile(filePath) +} + +// 加载配置文件 +func (c *Config) loadConfigFile(filePath string) { + _, err := toml.DecodeFile(filePath, &c) + if err != nil { + panic(fmt.Sprintf("application.toml load fail ! err: %v", err)) + } +} diff --git a/common/entity/dto/response_result_entity.go b/common/entity/dto/response_result_entity.go new file mode 100644 index 00000000..9519347d --- /dev/null +++ b/common/entity/dto/response_result_entity.go @@ -0,0 +1,15 @@ +package dto + +type ResponseResult struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data any `json:"data,omitempty"` +} + +func NewResponseResult(code int32, msg string, data any) (r *ResponseResult) { + r = new(ResponseResult) + r.Code = code + r.Msg = msg + r.Data = data + return r +} diff --git a/common/go.mod b/common/go.mod new file mode 100644 index 00000000..a31ca470 --- /dev/null +++ b/common/go.mod @@ -0,0 +1,5 @@ +module common + +go 1.19 + +require github.com/BurntSushi/toml v0.3.1 diff --git a/common/go.sum b/common/go.sum new file mode 100644 index 00000000..9cb2df8e --- /dev/null +++ b/common/go.sum @@ -0,0 +1,2 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= diff --git a/common/utils/alg/bfs_pathfinding.go b/common/utils/alg/bfs_pathfinding.go new file mode 100644 index 00000000..3e10dc8a --- /dev/null +++ b/common/utils/alg/bfs_pathfinding.go @@ -0,0 +1,196 @@ +package alg + +const ( + NODE_NONE = iota + NODE_START + NODE_END + NODE_BLOCK +) + +type PathNode struct { + x int16 + y int16 + z int16 + visit bool + state int + parent *PathNode +} + +type BFS struct { + gMap map[int16]map[int16]map[int16]*PathNode + startPathNode *PathNode + endPathNode *PathNode +} + +func NewBFS() (r *BFS) { + r = new(BFS) + return r +} + +func (b *BFS) InitMap(terrain map[MeshMapPos]bool, start MeshMapPos, end MeshMapPos, extR int16) { + xLen := end.X - start.X + yLen := end.Y - start.Y + zLen := end.Z - start.Z + dx := int16(1) + dy := int16(1) + dz := int16(1) + if xLen < 0 { + dx = -1 + xLen *= -1 + } + if yLen < 0 { + dy = -1 + yLen *= -1 + } + if zLen < 0 { + dz = -1 + zLen *= -1 + } + b.gMap = make(map[int16]map[int16]map[int16]*PathNode) + for x := start.X - extR*dx; x != end.X+extR*dx; x += dx { + b.gMap[x] = make(map[int16]map[int16]*PathNode) + for y := start.Y - extR*dy; y != end.Y+extR*dy; y += dy { + b.gMap[x][y] = make(map[int16]*PathNode) + for z := start.Z - extR*dz; z != end.Z+extR*dz; z += dz { + state := -1 + if x == start.X && y == start.Y && z == start.Z { + state = NODE_START + } else if x == end.X && y == end.Y && z == end.Z { + state = NODE_END + } else { + _, exist := terrain[MeshMapPos{ + X: x, + Y: y, + Z: z, + }] + if exist { + state = NODE_NONE + } else { + state = NODE_BLOCK + } + } + node := &PathNode{ + x: x, + y: y, + z: z, + visit: false, + state: state, + parent: nil, + } + b.gMap[x][y][z] = node + if node.state == NODE_START { + b.startPathNode = node + } else if node.state == NODE_END { + b.endPathNode = node + } + } + } + } +} + +func (b *BFS) GetNeighbor(node *PathNode) []*PathNode { + neighborList := make([]*PathNode, 0) + dir := [][3]int16{ + // + {1, 0, 0}, + {-1, 0, 0}, + {0, 1, 0}, + {0, -1, 0}, + {0, 0, 1}, + {0, 0, -1}, + // + {1, 1, 0}, + {-1, 1, 0}, + {-1, -1, 0}, + {1, -1, 0}, + // + {1, 0, 1}, + {-1, 0, 1}, + {-1, 0, -1}, + {1, 0, -1}, + // + {0, 1, 1}, + {0, -1, 1}, + {0, -1, -1}, + {0, 1, -1}, + // + {1, 1, 1}, + {1, 1, -1}, + {1, -1, 1}, + {1, -1, -1}, + {-1, 1, 1}, + {-1, 1, -1}, + {-1, -1, 1}, + {-1, -1, -1}, + } + for _, v := range dir { + x := node.x + v[0] + y := node.y + v[1] + z := node.z + v[2] + if _, exist := b.gMap[x]; !exist { + continue + } + if _, exist := b.gMap[x][y]; !exist { + continue + } + if _, exist := b.gMap[x][y][z]; !exist { + continue + } + neighborNode := b.gMap[x][y][z] + neighborList = append(neighborList, neighborNode) + } + return neighborList +} + +func (b *BFS) GetPath() []*PathNode { + path := make([]*PathNode, 0) + if b.endPathNode.parent == nil { + return nil + } + node := b.endPathNode + for { + if node == nil { + break + } + path = append(path, node) + node = node.parent + } + if len(path) == 0 { + return nil + } + return path +} + +func (b *BFS) Pathfinding() []MeshMapPos { + queue := NewALQueue[*PathNode]() + b.startPathNode.visit = true + queue.EnQueue(b.startPathNode) + for queue.Len() > 0 { + head := queue.DeQueue() + neighborList := b.GetNeighbor(head) + for _, neighbor := range neighborList { + if !neighbor.visit && neighbor.state != NODE_BLOCK { + neighbor.visit = true + neighbor.parent = head + queue.EnQueue(neighbor) + if neighbor.state == NODE_END { + break + } + } + } + } + path := b.GetPath() + if path == nil { + return nil + } + pathVectorList := make([]MeshMapPos, 0) + for i := len(path) - 1; i >= 0; i-- { + node := path[i] + pathVectorList = append(pathVectorList, MeshMapPos{ + X: node.x, + Y: node.y, + Z: node.z, + }) + } + return pathVectorList +} diff --git a/common/utils/alg/common_pathfinding.go b/common/utils/alg/common_pathfinding.go new file mode 100644 index 00000000..cecd2ade --- /dev/null +++ b/common/utils/alg/common_pathfinding.go @@ -0,0 +1,7 @@ +package alg + +type MeshMapPos struct { + X int16 + Y int16 + Z int16 +} diff --git a/common/utils/alg/queue.go b/common/utils/alg/queue.go new file mode 100644 index 00000000..e7dfa202 --- /dev/null +++ b/common/utils/alg/queue.go @@ -0,0 +1,127 @@ +package alg + +type LinkList struct { + value any + frontNode *LinkList + nextNode *LinkList +} + +// LinkListQueue 无界队列 每个元素可存储不同数据结构 +type LLQueue struct { + headPtr *LinkList + tailPtr *LinkList + len uint64 +} + +func NewLLQueue() *LLQueue { + return &LLQueue{ + headPtr: nil, + tailPtr: nil, + len: 0, + } +} + +func (q *LLQueue) Len() uint64 { + return q.len +} + +func (q *LLQueue) EnQueue(value any) { + if q.headPtr == nil || q.tailPtr == nil { + q.headPtr = new(LinkList) + q.tailPtr = q.headPtr + } else { + q.tailPtr.nextNode = new(LinkList) + q.tailPtr.nextNode.frontNode = q.tailPtr + q.tailPtr = q.tailPtr.nextNode + } + q.tailPtr.value = value + q.len++ +} + +func (q *LLQueue) DeQueue() any { + if q.Len() == 0 || q.headPtr == nil { + return nil + } + ret := q.headPtr.value + q.len-- + q.headPtr = q.headPtr.nextNode + return ret +} + +// ArrayListQueue 无界队列 泛型 +type ALQueue[T any] struct { + array []T +} + +func NewALQueue[T any]() *ALQueue[T] { + return &ALQueue[T]{ + array: make([]T, 0), + } +} + +func (q *ALQueue[T]) Len() uint64 { + return uint64(len(q.array)) +} + +func (q *ALQueue[T]) EnQueue(value T) { + q.array = append(q.array, value) +} + +func (q *ALQueue[T]) DeQueue() T { + if q.Len() == 0 { + var null T + return null + } + ret := q.array[0] + q.array = q.array[1:] + return ret +} + +// RingArrayQueue 有界队列 性能最好 +type RAQueue[T any] struct { + ringArray []T + ringArrayLen uint64 + headPtr uint64 + tailPtr uint64 + len uint64 +} + +func NewRAQueue[T any](size uint64) *RAQueue[T] { + return &RAQueue[T]{ + ringArray: make([]T, size), + ringArrayLen: size, + headPtr: 0, + tailPtr: 0, + len: 0, + } +} + +func (q *RAQueue[T]) Len() uint64 { + return q.len +} + +func (q *RAQueue[T]) EnQueue(value T) { + if q.len >= q.ringArrayLen { + return + } + q.ringArray[q.tailPtr] = value + q.tailPtr++ + if q.tailPtr >= q.ringArrayLen { + q.tailPtr = 0 + } + q.len++ +} + +func (q *RAQueue[T]) DeQueue() T { + if q.Len() == 0 { + var null T + return null + } + ret := q.ringArray[q.headPtr] + q.headPtr++ + if q.headPtr >= q.ringArrayLen { + q.headPtr = 0 + } + q.len-- + return ret +} diff --git a/common/utils/alg/queue_test.go b/common/utils/alg/queue_test.go new file mode 100644 index 00000000..449e3733 --- /dev/null +++ b/common/utils/alg/queue_test.go @@ -0,0 +1,92 @@ +package alg + +import ( + "fmt" + "testing" +) + +func TestLLQueue(t *testing.T) { + queue := NewLLQueue() + queue.EnQueue(float32(100.123)) + queue.EnQueue(uint8(66)) + queue.EnQueue("aaa") + queue.EnQueue(int64(-123456789)) + queue.EnQueue(true) + queue.EnQueue(5) + for queue.Len() > 0 { + value := queue.DeQueue() + fmt.Println(value) + } +} + +func TestALQueue(t *testing.T) { + queue := NewALQueue[uint8]() + queue.EnQueue(1) + queue.EnQueue(2) + queue.EnQueue(8) + queue.EnQueue(9) + for queue.Len() > 0 { + value := queue.DeQueue() + fmt.Println(value) + } +} + +func TestRAQueue(t *testing.T) { + queue := NewRAQueue[uint8](1000) + queue.EnQueue(1) + queue.EnQueue(2) + queue.EnQueue(8) + queue.EnQueue(9) + for queue.Len() > 0 { + value := queue.DeQueue() + fmt.Println(value) + } +} + +func BenchmarkLLQueue(b *testing.B) { + data := "" + for i := 0; i < 1024; i++ { + data += "X" + } + queue := NewLLQueue() + for i := 0; i < b.N; i++ { + for i := 0; i < 100; i++ { + queue.EnQueue(&data) + } + for i := 0; i < 100; i++ { + queue.DeQueue() + } + } +} + +func BenchmarkALQueue(b *testing.B) { + data := "" + for i := 0; i < 1024; i++ { + data += "X" + } + queue := NewALQueue[*string]() + for i := 0; i < b.N; i++ { + for i := 0; i < 100; i++ { + queue.EnQueue(&data) + } + for i := 0; i < 100; i++ { + queue.DeQueue() + } + } +} + +func BenchmarkRAQueue(b *testing.B) { + data := "" + for i := 0; i < 1024; i++ { + data += "X" + } + queue := NewRAQueue[*string](1000) + for i := 0; i < b.N; i++ { + for i := 0; i < 100; i++ { + queue.EnQueue(&data) + } + for i := 0; i < 100; i++ { + queue.DeQueue() + } + } +} diff --git a/common/utils/alg/snowflake.go b/common/utils/alg/snowflake.go new file mode 100644 index 00000000..c2b7aa4d --- /dev/null +++ b/common/utils/alg/snowflake.go @@ -0,0 +1,89 @@ +package alg + +import ( + "sync" + "time" +) + +// 雪花算法的基本实现 + +// snowflake ID 是一个64位的int数据 由四部分组成 +// A-B-C-D +// A 1位 最高位不使用 +// B 41位 时间戳 +// C 10位 节点ID +// D 12位 毫秒内序列号 +// 时间戳 节点ID 毫秒内序列号 位数可按需调整 + +const ( + workerBits uint8 = 10 // 节点ID位数 2^10=1024 + numberBits uint8 = 12 // 毫秒内序列号位数 2^12=4096 + workerMax int64 = -1 ^ (-1 << workerBits) // 节点ID最大值 + numberMax int64 = -1 ^ (-1 << numberBits) // 毫秒内序列号最大值 + timeShift = workerBits + numberBits // 时间戳向左偏移量 + workerShift = numberBits // 节点ID向左偏移量 + /* + * 原始算法使用41位字节作为时间戳数值 + * 大约68年也就是2038年就会用完 + * 这里做个偏移以增加可用时间 + * !!!这个一旦定义且开始生成ID后千万不要改了!!! + * 不然可能会生成相同的ID + */ + epoch int64 = 1657148827000 // 2022-07-07 07:07:07 +) + +type SnowflakeWorker struct { + lock sync.Mutex // 互斥锁 + timestamp int64 // 记录时间戳 + workerId int64 // 节点ID + number int64 // 当前毫秒内已经生成的ID序列号 从0开始累加 +} + +func NewSnowflakeWorker(workerId int64) *SnowflakeWorker { + if workerId < 0 || workerId > workerMax { + // worker id error + return nil + } + worker := &SnowflakeWorker{ + timestamp: 0, + workerId: workerId, + number: 0, + } + return worker +} + +func (s *SnowflakeWorker) GenId() int64 { + s.lock.Lock() + defer s.lock.Unlock() + // 当前毫秒时间戳 + now := time.Now().UnixNano() / 1e6 + if s.timestamp > now { + // 发生了时钟回拨 + if s.timestamp-now > 1000 { + // 时钟回拨太严重 + return -1 + } + for now <= s.timestamp { + // 自旋等待当前时间超过上一次ID生成的时间 + now = time.Now().UnixNano() / 1e6 + } + } + if s.timestamp == now { + s.number++ + if s.number > numberMax { + // 当前毫秒内生成ID数量超过限制 + for now <= s.timestamp { + // 自旋等待 + now = time.Now().UnixNano() / 1e6 + } + } + } + if s.timestamp < now { + // 新的毫秒到来重置序列号和时间戳 + s.number = 0 + s.timestamp = now + } + // 生成ID + id := (now-epoch)< 0 { + e.Subject = subj + } + delete(hdrs, h) + case "To": + e.To = handleAddressList(v) + delete(hdrs, h) + case "Cc": + e.Cc = handleAddressList(v) + delete(hdrs, h) + case "Bcc": + e.Bcc = handleAddressList(v) + delete(hdrs, h) + case "Reply-To": + e.ReplyTo = handleAddressList(v) + delete(hdrs, h) + case "From": + e.From = v[0] + fr, err := (&mime.WordDecoder{}).DecodeHeader(e.From) + if err == nil && len(fr) > 0 { + e.From = fr + } + delete(hdrs, h) + } + } + e.Headers = hdrs + body := tp.R + // Recursively parse the MIME parts + ps, err := parseMIMEParts(e.Headers, body) + if err != nil { + return e, err + } + for _, p := range ps { + if ct := p.header.Get("Content-Type"); ct == "" { + return e, ErrMissingContentType + } + ct, _, err := mime.ParseMediaType(p.header.Get("Content-Type")) + if err != nil { + return e, err + } + // Check if part is an attachment based on the existence of the Content-Disposition header with a value of "attachment". + if cd := p.header.Get("Content-Disposition"); cd != "" { + cd, params, err := mime.ParseMediaType(p.header.Get("Content-Disposition")) + if err != nil { + return e, err + } + filename, filenameDefined := params["filename"] + if cd == "attachment" || (cd == "inline" && filenameDefined) { + _, err = e.Attach(bytes.NewReader(p.body), filename, ct) + if err != nil { + return e, err + } + continue + } + } + switch { + case ct == "text/plain": + e.Text = p.body + case ct == "text/html": + e.HTML = p.body + } + } + return e, nil +} + +// parseMIMEParts will recursively walk a MIME entity and return a []mime.Part containing +// each (flattened) mime.Part found. +// It is important to note that there are no limits to the number of recursions, so be +// careful when parsing unknown MIME structures! +func parseMIMEParts(hs textproto.MIMEHeader, b io.Reader) ([]*part, error) { + var ps []*part + // If no content type is given, set it to the default + if _, ok := hs["Content-Type"]; !ok { + hs.Set("Content-Type", defaultContentType) + } + ct, params, err := mime.ParseMediaType(hs.Get("Content-Type")) + if err != nil { + return ps, err + } + // If it's a multipart email, recursively parse the parts + if strings.HasPrefix(ct, "multipart/") { + if _, ok := params["boundary"]; !ok { + return ps, ErrMissingBoundary + } + mr := multipart.NewReader(b, params["boundary"]) + for { + var buf bytes.Buffer + p, err := mr.NextPart() + if err == io.EOF { + break + } + if err != nil { + return ps, err + } + if _, ok := p.Header["Content-Type"]; !ok { + p.Header.Set("Content-Type", defaultContentType) + } + subct, _, err := mime.ParseMediaType(p.Header.Get("Content-Type")) + if err != nil { + return ps, err + } + if strings.HasPrefix(subct, "multipart/") { + sps, err := parseMIMEParts(p.Header, p) + if err != nil { + return ps, err + } + ps = append(ps, sps...) + } else { + var reader io.Reader + reader = p + const cte = "Content-Transfer-Encoding" + if p.Header.Get(cte) == "base64" { + reader = base64.NewDecoder(base64.StdEncoding, reader) + } + // Otherwise, just append the part to the list + // Copy the part data into the buffer + if _, err := io.Copy(&buf, reader); err != nil { + return ps, err + } + ps = append(ps, &part{body: buf.Bytes(), header: p.Header}) + } + } + } else { + // If it is not a multipart email, parse the body content as a single "part" + switch hs.Get("Content-Transfer-Encoding") { + case "quoted-printable": + b = quotedprintable.NewReader(b) + case "base64": + b = base64.NewDecoder(base64.StdEncoding, b) + } + var buf bytes.Buffer + if _, err := io.Copy(&buf, b); err != nil { + return ps, err + } + ps = append(ps, &part{body: buf.Bytes(), header: hs}) + } + return ps, nil +} + +// Attach is used to attach content from an io.Reader to the email. +// Required parameters include an io.Reader, the desired filename for the attachment, and the Content-Type +// The function will return the created Attachment for reference, as well as nil for the error, if successful. +func (e *Email) Attach(r io.Reader, filename string, c string) (a *Attachment, err error) { + var buffer bytes.Buffer + if _, err = io.Copy(&buffer, r); err != nil { + return + } + at := &Attachment{ + Filename: filename, + ContentType: c, + Header: textproto.MIMEHeader{}, + Content: buffer.Bytes(), + } + e.Attachments = append(e.Attachments, at) + return at, nil +} + +// AttachFile is used to attach content to the email. +// It attempts to open the file referenced by filename and, if successful, creates an Attachment. +// This Attachment is then appended to the slice of Email.Attachments. +// The function will then return the Attachment for reference, as well as nil for the error, if successful. +func (e *Email) AttachFile(filename string) (a *Attachment, err error) { + f, err := os.Open(filename) + if err != nil { + return + } + defer f.Close() + + ct := mime.TypeByExtension(filepath.Ext(filename)) + basename := filepath.Base(filename) + return e.Attach(f, basename, ct) +} + +// msgHeaders merges the Email's various fields and custom headers together in a +// standards compliant way to create a MIMEHeader to be used in the resulting +// message. It does not alter e.Headers. +// +// "e"'s fields To, Cc, From, Subject will be used unless they are present in +// e.Headers. Unless set in e.Headers, "Date" will filled with the current time. +func (e *Email) msgHeaders() (textproto.MIMEHeader, error) { + res := make(textproto.MIMEHeader, len(e.Headers)+6) + if e.Headers != nil { + for _, h := range []string{"Reply-To", "To", "Cc", "From", "Subject", "Date", "Message-Id", "MIME-Version"} { + if v, ok := e.Headers[h]; ok { + res[h] = v + } + } + } + // Set headers if there are values. + if _, ok := res["Reply-To"]; !ok && len(e.ReplyTo) > 0 { + res.Set("Reply-To", strings.Join(e.ReplyTo, ", ")) + } + if _, ok := res["To"]; !ok && len(e.To) > 0 { + res.Set("To", strings.Join(e.To, ", ")) + } + if _, ok := res["Cc"]; !ok && len(e.Cc) > 0 { + res.Set("Cc", strings.Join(e.Cc, ", ")) + } + if _, ok := res["Subject"]; !ok && e.Subject != "" { + res.Set("Subject", e.Subject) + } + if _, ok := res["Message-Id"]; !ok { + id, err := generateMessageID() + if err != nil { + return nil, err + } + res.Set("Message-Id", id) + } + // Date and From are required headers. + if _, ok := res["From"]; !ok { + res.Set("From", e.From) + } + if _, ok := res["Date"]; !ok { + res.Set("Date", time.Now().Format(time.RFC1123Z)) + } + if _, ok := res["MIME-Version"]; !ok { + res.Set("MIME-Version", "1.0") + } + for field, vals := range e.Headers { + if _, ok := res[field]; !ok { + res[field] = vals + } + } + return res, nil +} + +func writeMessage(buff io.Writer, msg []byte, multipart bool, mediaType string, w *multipart.Writer) error { + if multipart { + header := textproto.MIMEHeader{ + "Content-Type": {mediaType + "; charset=UTF-8"}, + "Content-Transfer-Encoding": {"quoted-printable"}, + } + if _, err := w.CreatePart(header); err != nil { + return err + } + } + + qp := quotedprintable.NewWriter(buff) + // Write the text + if _, err := qp.Write(msg); err != nil { + return err + } + return qp.Close() +} + +func (e *Email) categorizeAttachments() (htmlRelated, others []*Attachment) { + for _, a := range e.Attachments { + if a.HTMLRelated { + htmlRelated = append(htmlRelated, a) + } else { + others = append(others, a) + } + } + return +} + +// Bytes converts the Email object to a []byte representation, including all needed MIMEHeaders, boundaries, etc. +func (e *Email) Bytes() ([]byte, error) { + // TODO: better guess buffer size + buff := bytes.NewBuffer(make([]byte, 0, 4096)) + + headers, err := e.msgHeaders() + if err != nil { + return nil, err + } + + htmlAttachments, otherAttachments := e.categorizeAttachments() + if len(e.HTML) == 0 && len(htmlAttachments) > 0 { + return nil, errors.New("there are HTML attachments, but no HTML body") + } + + var ( + isMixed = len(otherAttachments) > 0 + isAlternative = len(e.Text) > 0 && len(e.HTML) > 0 + isRelated = len(e.HTML) > 0 && len(htmlAttachments) > 0 + ) + + var w *multipart.Writer + if isMixed || isAlternative || isRelated { + w = multipart.NewWriter(buff) + } + switch { + case isMixed: + headers.Set("Content-Type", "multipart/mixed;\r\n boundary="+w.Boundary()) + case isAlternative: + headers.Set("Content-Type", "multipart/alternative;\r\n boundary="+w.Boundary()) + case isRelated: + headers.Set("Content-Type", "multipart/related;\r\n boundary="+w.Boundary()) + case len(e.HTML) > 0: + headers.Set("Content-Type", "text/html; charset=UTF-8") + headers.Set("Content-Transfer-Encoding", "quoted-printable") + default: + headers.Set("Content-Type", "text/plain; charset=UTF-8") + headers.Set("Content-Transfer-Encoding", "quoted-printable") + } + headerToBytes(buff, headers) + _, err = io.WriteString(buff, "\r\n") + if err != nil { + return nil, err + } + + // Check to see if there is a Text or HTML field + if len(e.Text) > 0 || len(e.HTML) > 0 { + var subWriter *multipart.Writer + + if isMixed && isAlternative { + // Create the multipart alternative part + subWriter = multipart.NewWriter(buff) + header := textproto.MIMEHeader{ + "Content-Type": {"multipart/alternative;\r\n boundary=" + subWriter.Boundary()}, + } + if _, err := w.CreatePart(header); err != nil { + return nil, err + } + } else { + subWriter = w + } + // Create the body sections + if len(e.Text) > 0 { + // Write the text + if err := writeMessage(buff, e.Text, isMixed || isAlternative, "text/plain", subWriter); err != nil { + return nil, err + } + } + if len(e.HTML) > 0 { + messageWriter := subWriter + var relatedWriter *multipart.Writer + if (isMixed || isAlternative) && len(htmlAttachments) > 0 { + relatedWriter = multipart.NewWriter(buff) + header := textproto.MIMEHeader{ + "Content-Type": {"multipart/related;\r\n boundary=" + relatedWriter.Boundary()}, + } + if _, err := subWriter.CreatePart(header); err != nil { + return nil, err + } + + messageWriter = relatedWriter + } else if isRelated && len(htmlAttachments) > 0 { + relatedWriter = w + messageWriter = w + } + // Write the HTML + if err := writeMessage(buff, e.HTML, isMixed || isAlternative || isRelated, "text/html", messageWriter); err != nil { + return nil, err + } + if len(htmlAttachments) > 0 { + for _, a := range htmlAttachments { + a.setDefaultHeaders() + ap, err := relatedWriter.CreatePart(a.Header) + if err != nil { + return nil, err + } + // Write the base64Wrapped content to the part + base64Wrap(ap, a.Content) + } + + if isMixed || isAlternative { + relatedWriter.Close() + } + } + } + if isMixed && isAlternative { + if err := subWriter.Close(); err != nil { + return nil, err + } + } + } + // Create attachment part, if necessary + for _, a := range otherAttachments { + a.setDefaultHeaders() + ap, err := w.CreatePart(a.Header) + if err != nil { + return nil, err + } + // Write the base64Wrapped content to the part + base64Wrap(ap, a.Content) + } + if isMixed || isAlternative || isRelated { + if err := w.Close(); err != nil { + return nil, err + } + } + return buff.Bytes(), nil +} + +// Send an email using the given host and SMTP auth (optional), returns any error thrown by smtp.SendMail +// This function merges the To, Cc, and Bcc fields and calls the smtp.SendMail function using the Email.Bytes() output as the message +func (e *Email) Send(addr string, a smtp.Auth) error { + // Merge the To, Cc, and Bcc fields + to := make([]string, 0, len(e.To)+len(e.Cc)+len(e.Bcc)) + to = append(append(append(to, e.To...), e.Cc...), e.Bcc...) + for i := 0; i < len(to); i++ { + addr, err := mail.ParseAddress(to[i]) + if err != nil { + return err + } + to[i] = addr.Address + } + // Check to make sure there is at least one recipient and one "From" address + if e.From == "" || len(to) == 0 { + return errors.New("Must specify at least one From address and one To address") + } + sender, err := e.parseSender() + if err != nil { + return err + } + raw, err := e.Bytes() + if err != nil { + return err + } + return smtp.SendMail(addr, a, sender, to, raw) +} + +// Select and parse an SMTP envelope sender address. Choose Email.Sender if set, or fallback to Email.From. +func (e *Email) parseSender() (string, error) { + if e.Sender != "" { + sender, err := mail.ParseAddress(e.Sender) + if err != nil { + return "", err + } + return sender.Address, nil + } else { + from, err := mail.ParseAddress(e.From) + if err != nil { + return "", err + } + return from.Address, nil + } +} + +// SendWithTLS sends an email over tls with an optional TLS config. +// +// The TLS Config is helpful if you need to connect to a host that is used an untrusted +// certificate. +func (e *Email) SendWithTLS(addr string, a smtp.Auth, t *tls.Config) error { + // Merge the To, Cc, and Bcc fields + to := make([]string, 0, len(e.To)+len(e.Cc)+len(e.Bcc)) + to = append(append(append(to, e.To...), e.Cc...), e.Bcc...) + for i := 0; i < len(to); i++ { + addr, err := mail.ParseAddress(to[i]) + if err != nil { + return err + } + to[i] = addr.Address + } + // Check to make sure there is at least one recipient and one "From" address + if e.From == "" || len(to) == 0 { + return errors.New("Must specify at least one From address and one To address") + } + sender, err := e.parseSender() + if err != nil { + return err + } + raw, err := e.Bytes() + if err != nil { + return err + } + + conn, err := tls.Dial("tcp", addr, t) + if err != nil { + return err + } + + c, err := smtp.NewClient(conn, t.ServerName) + if err != nil { + return err + } + defer c.Close() + if err = c.Hello("localhost"); err != nil { + return err + } + + if a != nil { + if ok, _ := c.Extension("AUTH"); ok { + if err = c.Auth(a); err != nil { + return err + } + } + } + if err = c.Mail(sender); err != nil { + return err + } + for _, addr := range to { + if err = c.Rcpt(addr); err != nil { + return err + } + } + w, err := c.Data() + if err != nil { + return err + } + _, err = w.Write(raw) + if err != nil { + return err + } + err = w.Close() + if err != nil { + return err + } + return c.Quit() +} + +// SendWithStartTLS sends an email over TLS using STARTTLS with an optional TLS config. +// +// The TLS Config is helpful if you need to connect to a host that is used an untrusted +// certificate. +func (e *Email) SendWithStartTLS(addr string, a smtp.Auth, t *tls.Config) error { + // Merge the To, Cc, and Bcc fields + to := make([]string, 0, len(e.To)+len(e.Cc)+len(e.Bcc)) + to = append(append(append(to, e.To...), e.Cc...), e.Bcc...) + for i := 0; i < len(to); i++ { + addr, err := mail.ParseAddress(to[i]) + if err != nil { + return err + } + to[i] = addr.Address + } + // Check to make sure there is at least one recipient and one "From" address + if e.From == "" || len(to) == 0 { + return errors.New("Must specify at least one From address and one To address") + } + sender, err := e.parseSender() + if err != nil { + return err + } + raw, err := e.Bytes() + if err != nil { + return err + } + + // Taken from the standard library + // https://github.com/golang/go/blob/master/src/net/smtp/smtp.go#L328 + c, err := smtp.Dial(addr) + if err != nil { + return err + } + defer c.Close() + if err = c.Hello("localhost"); err != nil { + return err + } + // Use TLS if available + if ok, _ := c.Extension("STARTTLS"); ok { + if err = c.StartTLS(t); err != nil { + return err + } + } + + if a != nil { + if ok, _ := c.Extension("AUTH"); ok { + if err = c.Auth(a); err != nil { + return err + } + } + } + if err = c.Mail(sender); err != nil { + return err + } + for _, addr := range to { + if err = c.Rcpt(addr); err != nil { + return err + } + } + w, err := c.Data() + if err != nil { + return err + } + _, err = w.Write(raw) + if err != nil { + return err + } + err = w.Close() + if err != nil { + return err + } + return c.Quit() +} + +// Attachment is a struct representing an email attachment. +// Based on the mime/multipart.FileHeader struct, Attachment contains the name, MIMEHeader, and content of the attachment in question +type Attachment struct { + Filename string + ContentType string + Header textproto.MIMEHeader + Content []byte + HTMLRelated bool +} + +func (at *Attachment) setDefaultHeaders() { + contentType := "application/octet-stream" + if len(at.ContentType) > 0 { + contentType = at.ContentType + } + at.Header.Set("Content-Type", contentType) + + if len(at.Header.Get("Content-Disposition")) == 0 { + disposition := "attachment" + if at.HTMLRelated { + disposition = "inline" + } + at.Header.Set("Content-Disposition", fmt.Sprintf("%s;\r\n filename=\"%s\"", disposition, at.Filename)) + } + if len(at.Header.Get("Content-ID")) == 0 { + at.Header.Set("Content-ID", fmt.Sprintf("<%s>", at.Filename)) + } + if len(at.Header.Get("Content-Transfer-Encoding")) == 0 { + at.Header.Set("Content-Transfer-Encoding", "base64") + } +} + +// base64Wrap encodes the attachment content, and wraps it according to RFC 2045 standards (every 76 chars) +// The output is then written to the specified io.Writer +func base64Wrap(w io.Writer, b []byte) { + // 57 raw bytes per 76-byte base64 line. + const maxRaw = 57 + // Buffer for each line, including trailing CRLF. + buffer := make([]byte, MaxLineLength+len("\r\n")) + copy(buffer[MaxLineLength:], "\r\n") + // Process raw chunks until there's no longer enough to fill a line. + for len(b) >= maxRaw { + base64.StdEncoding.Encode(buffer, b[:maxRaw]) + w.Write(buffer) + b = b[maxRaw:] + } + // Handle the last chunk of bytes. + if len(b) > 0 { + out := buffer[:base64.StdEncoding.EncodedLen(len(b))] + base64.StdEncoding.Encode(out, b) + out = append(out, "\r\n"...) + w.Write(out) + } +} + +// headerToBytes renders "header" to "buff". If there are multiple values for a +// field, multiple "Field: value\r\n" lines will be emitted. +func headerToBytes(buff io.Writer, header textproto.MIMEHeader) { + for field, vals := range header { + for _, subval := range vals { + // bytes.Buffer.Write() never returns an error. + io.WriteString(buff, field) + io.WriteString(buff, ": ") + // Write the encoded header if needed + switch { + case field == "Content-Type" || field == "Content-Disposition": + buff.Write([]byte(subval)) + case field == "From" || field == "To" || field == "Cc" || field == "Bcc": + participants := strings.Split(subval, ",") + for i, v := range participants { + addr, err := mail.ParseAddress(v) + if err != nil { + continue + } + participants[i] = addr.String() + } + buff.Write([]byte(strings.Join(participants, ", "))) + default: + buff.Write([]byte(mime.QEncoding.Encode("UTF-8", subval))) + } + io.WriteString(buff, "\r\n") + } + } +} + +var maxBigInt = big.NewInt(math.MaxInt64) + +// generateMessageID generates and returns a string suitable for an RFC 2822 +// compliant Message-ID, e.g.: +// <1444789264909237300.3464.1819418242800517193@DESKTOP01> +// +// The following parameters are used to generate a Message-ID: +// - The nanoseconds since Epoch +// - The calling PID +// - A cryptographically random int64 +// - The sending hostname +func generateMessageID() (string, error) { + t := time.Now().UnixNano() + pid := os.Getpid() + rint, err := rand.Int(rand.Reader, maxBigInt) + if err != nil { + return "", err + } + h, err := os.Hostname() + // If we can't get the hostname, we'll use localhost + if err != nil { + h = "localhost.localdomain" + } + msgid := fmt.Sprintf("<%d.%d.%d@%s>", t, pid, rint, h) + return msgid, nil +} diff --git a/common/utils/email/email_test.go b/common/utils/email/email_test.go new file mode 100644 index 00000000..b6d62d29 --- /dev/null +++ b/common/utils/email/email_test.go @@ -0,0 +1,933 @@ +package email + +import ( + "fmt" + "strings" + "testing" + + "bufio" + "bytes" + "crypto/rand" + "io" + "io/ioutil" + "mime" + "mime/multipart" + "mime/quotedprintable" + "net/mail" + "net/smtp" + "net/textproto" +) + +func prepareEmail() *Email { + e := NewEmail() + e.From = "Jordan Wright " + e.To = []string{"test@example.com"} + e.Bcc = []string{"test_bcc@example.com"} + e.Cc = []string{"test_cc@example.com"} + e.Subject = "Awesome Subject" + return e +} + +func basicTests(t *testing.T, e *Email) *mail.Message { + raw, err := e.Bytes() + if err != nil { + t.Fatal("Failed to render message: ", e) + } + + msg, err := mail.ReadMessage(bytes.NewBuffer(raw)) + if err != nil { + t.Fatal("Could not parse rendered message: ", err) + } + + expectedHeaders := map[string]string{ + "To": "", + "From": "\"Jordan Wright\" ", + "Cc": "", + "Subject": "Awesome Subject", + } + + for header, expected := range expectedHeaders { + if val := msg.Header.Get(header); val != expected { + t.Errorf("Wrong value for message header %s: %v != %v", header, expected, val) + } + } + return msg +} + +func TestEmailText(t *testing.T) { + e := prepareEmail() + e.Text = []byte("Text Body is, of course, supported!\n") + + msg := basicTests(t, e) + + // Were the right headers set? + ct := msg.Header.Get("Content-type") + mt, _, err := mime.ParseMediaType(ct) + if err != nil { + t.Fatal("Content-type header is invalid: ", ct) + } else if mt != "text/plain" { + t.Fatalf("Content-type expected \"text/plain\", not %v", mt) + } +} + +func TestEmailWithHTMLAttachments(t *testing.T) { + e := prepareEmail() + + // Set plain text to exercise "mime/alternative" + e.Text = []byte("Text Body is, of course, supported!\n") + + e.HTML = []byte("This is a text.") + + // Set HTML attachment to exercise "mime/related". + attachment, err := e.Attach(bytes.NewBufferString("Rad attachment"), "rad.txt", "image/png; charset=utf-8") + if err != nil { + t.Fatal("Could not add an attachment to the message: ", err) + } + attachment.HTMLRelated = true + + b, err := e.Bytes() + if err != nil { + t.Fatal("Could not serialize e-mail:", err) + } + + // Print the bytes for ocular validation and make sure no errors. + //fmt.Println(string(b)) + + // TODO: Verify the attachments. + s := &trimReader{rd: bytes.NewBuffer(b)} + tp := textproto.NewReader(bufio.NewReader(s)) + // Parse the main headers + hdrs, err := tp.ReadMIMEHeader() + if err != nil { + t.Fatal("Could not parse the headers:", err) + } + // Recursively parse the MIME parts + ps, err := parseMIMEParts(hdrs, tp.R) + if err != nil { + t.Fatal("Could not parse the MIME parts recursively:", err) + } + + plainTextFound := false + htmlFound := false + imageFound := false + if expected, actual := 3, len(ps); actual != expected { + t.Error("Unexpected number of parts. Expected:", expected, "Was:", actual) + } + for _, part := range ps { + // part has "header" and "body []byte" + cd := part.header.Get("Content-Disposition") + ct := part.header.Get("Content-Type") + if strings.Contains(ct, "image/png") && strings.HasPrefix(cd, "inline") { + imageFound = true + } + if strings.Contains(ct, "text/html") { + htmlFound = true + } + if strings.Contains(ct, "text/plain") { + plainTextFound = true + } + } + + if !plainTextFound { + t.Error("Did not find plain text part.") + } + if !htmlFound { + t.Error("Did not find HTML part.") + } + if !imageFound { + t.Error("Did not find image part.") + } +} + +func TestEmailWithHTMLAttachmentsHTMLOnly(t *testing.T) { + e := prepareEmail() + + e.HTML = []byte("This is a text.") + + // Set HTML attachment to exercise "mime/related". + attachment, err := e.Attach(bytes.NewBufferString("Rad attachment"), "rad.txt", "image/png; charset=utf-8") + if err != nil { + t.Fatal("Could not add an attachment to the message: ", err) + } + attachment.HTMLRelated = true + + b, err := e.Bytes() + if err != nil { + t.Fatal("Could not serialize e-mail:", err) + } + + // Print the bytes for ocular validation and make sure no errors. + //fmt.Println(string(b)) + + // TODO: Verify the attachments. + s := &trimReader{rd: bytes.NewBuffer(b)} + tp := textproto.NewReader(bufio.NewReader(s)) + // Parse the main headers + hdrs, err := tp.ReadMIMEHeader() + if err != nil { + t.Fatal("Could not parse the headers:", err) + } + + if !strings.HasPrefix(hdrs.Get("Content-Type"), "multipart/related") { + t.Error("Envelope Content-Type is not multipart/related: ", hdrs["Content-Type"]) + } + + // Recursively parse the MIME parts + ps, err := parseMIMEParts(hdrs, tp.R) + if err != nil { + t.Fatal("Could not parse the MIME parts recursively:", err) + } + + htmlFound := false + imageFound := false + if expected, actual := 2, len(ps); actual != expected { + t.Error("Unexpected number of parts. Expected:", expected, "Was:", actual) + } + for _, part := range ps { + // part has "header" and "body []byte" + ct := part.header.Get("Content-Type") + if strings.Contains(ct, "image/png") { + imageFound = true + } + if strings.Contains(ct, "text/html") { + htmlFound = true + } + } + + if !htmlFound { + t.Error("Did not find HTML part.") + } + if !imageFound { + t.Error("Did not find image part.") + } +} + +func TestEmailHTML(t *testing.T) { + e := prepareEmail() + e.HTML = []byte("

Fancy Html is supported, too!

\n") + + msg := basicTests(t, e) + + // Were the right headers set? + ct := msg.Header.Get("Content-type") + mt, _, err := mime.ParseMediaType(ct) + if err != nil { + t.Fatalf("Content-type header is invalid: %#v", ct) + } else if mt != "text/html" { + t.Fatalf("Content-type expected \"text/html\", not %v", mt) + } +} + +func TestEmailTextAttachment(t *testing.T) { + e := prepareEmail() + e.Text = []byte("Text Body is, of course, supported!\n") + _, err := e.Attach(bytes.NewBufferString("Rad attachment"), "rad.txt", "text/plain; charset=utf-8") + if err != nil { + t.Fatal("Could not add an attachment to the message: ", err) + } + + msg := basicTests(t, e) + + // Were the right headers set? + ct := msg.Header.Get("Content-type") + mt, params, err := mime.ParseMediaType(ct) + if err != nil { + t.Fatal("Content-type header is invalid: ", ct) + } else if mt != "multipart/mixed" { + t.Fatalf("Content-type expected \"multipart/mixed\", not %v", mt) + } + b := params["boundary"] + if b == "" { + t.Fatalf("Invalid or missing boundary parameter: %#v", b) + } + if len(params) != 1 { + t.Fatal("Unexpected content-type parameters") + } + + // Is the generated message parsable? + mixed := multipart.NewReader(msg.Body, params["boundary"]) + + text, err := mixed.NextPart() + if err != nil { + t.Fatalf("Could not find text component of email: %s", err) + } + + // Does the text portion match what we expect? + mt, _, err = mime.ParseMediaType(text.Header.Get("Content-type")) + if err != nil { + t.Fatal("Could not parse message's Content-Type") + } else if mt != "text/plain" { + t.Fatal("Message missing text/plain") + } + plainText, err := ioutil.ReadAll(text) + if err != nil { + t.Fatal("Could not read plain text component of message: ", err) + } + if !bytes.Equal(plainText, []byte("Text Body is, of course, supported!\r\n")) { + t.Fatalf("Plain text is broken: %#q", plainText) + } + + // Check attachments. + _, err = mixed.NextPart() + if err != nil { + t.Fatalf("Could not find attachment component of email: %s", err) + } + + if _, err = mixed.NextPart(); err != io.EOF { + t.Error("Expected only text and one attachment!") + } +} + +func TestEmailTextHtmlAttachment(t *testing.T) { + e := prepareEmail() + e.Text = []byte("Text Body is, of course, supported!\n") + e.HTML = []byte("

Fancy Html is supported, too!

\n") + _, err := e.Attach(bytes.NewBufferString("Rad attachment"), "rad.txt", "text/plain; charset=utf-8") + if err != nil { + t.Fatal("Could not add an attachment to the message: ", err) + } + + msg := basicTests(t, e) + + // Were the right headers set? + ct := msg.Header.Get("Content-type") + mt, params, err := mime.ParseMediaType(ct) + if err != nil { + t.Fatal("Content-type header is invalid: ", ct) + } else if mt != "multipart/mixed" { + t.Fatalf("Content-type expected \"multipart/mixed\", not %v", mt) + } + b := params["boundary"] + if b == "" { + t.Fatal("Unexpected empty boundary parameter") + } + if len(params) != 1 { + t.Fatal("Unexpected content-type parameters") + } + + // Is the generated message parsable? + mixed := multipart.NewReader(msg.Body, params["boundary"]) + + text, err := mixed.NextPart() + if err != nil { + t.Fatalf("Could not find text component of email: %s", err) + } + + // Does the text portion match what we expect? + mt, params, err = mime.ParseMediaType(text.Header.Get("Content-type")) + if err != nil { + t.Fatal("Could not parse message's Content-Type") + } else if mt != "multipart/alternative" { + t.Fatal("Message missing multipart/alternative") + } + mpReader := multipart.NewReader(text, params["boundary"]) + part, err := mpReader.NextPart() + if err != nil { + t.Fatal("Could not read plain text component of message: ", err) + } + plainText, err := ioutil.ReadAll(part) + if err != nil { + t.Fatal("Could not read plain text component of message: ", err) + } + if !bytes.Equal(plainText, []byte("Text Body is, of course, supported!\r\n")) { + t.Fatalf("Plain text is broken: %#q", plainText) + } + + // Check attachments. + _, err = mixed.NextPart() + if err != nil { + t.Fatalf("Could not find attachment component of email: %s", err) + } + + if _, err = mixed.NextPart(); err != io.EOF { + t.Error("Expected only text and one attachment!") + } +} + +func TestEmailAttachment(t *testing.T) { + e := prepareEmail() + _, err := e.Attach(bytes.NewBufferString("Rad attachment"), "rad.txt", "text/plain; charset=utf-8") + if err != nil { + t.Fatal("Could not add an attachment to the message: ", err) + } + msg := basicTests(t, e) + + // Were the right headers set? + ct := msg.Header.Get("Content-type") + mt, params, err := mime.ParseMediaType(ct) + if err != nil { + t.Fatal("Content-type header is invalid: ", ct) + } else if mt != "multipart/mixed" { + t.Fatalf("Content-type expected \"multipart/mixed\", not %v", mt) + } + b := params["boundary"] + if b == "" { + t.Fatal("Unexpected empty boundary parameter") + } + if len(params) != 1 { + t.Fatal("Unexpected content-type parameters") + } + + // Is the generated message parsable? + mixed := multipart.NewReader(msg.Body, params["boundary"]) + + // Check attachments. + a, err := mixed.NextPart() + if err != nil { + t.Fatalf("Could not find attachment component of email: %s", err) + } + + if !strings.HasPrefix(a.Header.Get("Content-Disposition"), "attachment") { + t.Fatalf("Content disposition is not attachment: %s", a.Header.Get("Content-Disposition")) + } + + if _, err = mixed.NextPart(); err != io.EOF { + t.Error("Expected only one attachment!") + } +} + +func TestHeaderEncoding(t *testing.T) { + cases := []struct { + field string + have string + want string + }{ + { + field: "From", + have: "Needs Encóding , Only ASCII ", + want: "=?utf-8?q?Needs_Enc=C3=B3ding?= , \"Only ASCII\" \r\n", + }, + { + field: "To", + have: "Keith Moore , Keld Jørn Simonsen ", + want: "\"Keith Moore\" , =?utf-8?q?Keld_J=C3=B8rn_Simonsen?= \r\n", + }, + { + field: "Cc", + have: "Needs Encóding , \"Test :)\" ", + want: "=?utf-8?q?Needs_Enc=C3=B3ding?= , \"Test :)\" \r\n", + }, + { + field: "Subject", + have: "Subject with a 🐟", + want: "=?UTF-8?q?Subject_with_a_=F0=9F=90=9F?=\r\n", + }, + { + field: "Subject", + have: "Subject with only ASCII", + want: "Subject with only ASCII\r\n", + }, + } + buff := &bytes.Buffer{} + for _, c := range cases { + header := make(textproto.MIMEHeader) + header.Add(c.field, c.have) + buff.Reset() + headerToBytes(buff, header) + want := fmt.Sprintf("%s: %s", c.field, c.want) + got := buff.String() + if got != want { + t.Errorf("invalid utf-8 header encoding. \nwant:%#v\ngot: %#v", want, got) + } + } +} + +func TestEmailFromReader(t *testing.T) { + ex := &Email{ + Subject: "Test Subject", + To: []string{"Jordan Wright ", "also@example.com"}, + From: "Jordan Wright ", + ReplyTo: []string{"Jordan Wright "}, + Cc: []string{"one@example.com", "Two "}, + Bcc: []string{"three@example.com", "Four "}, + Text: []byte("This is a test email with HTML Formatting. It also has very long lines so\nthat the content must be wrapped if using quoted-printable decoding.\n"), + HTML: []byte("
This is a test email with HTML Formatting.\u00a0It also has very long lines so that the content must be wrapped if using quoted-printable decoding.
\n"), + } + raw := []byte(` + MIME-Version: 1.0 +Subject: Test Subject +From: Jordan Wright +Reply-To: Jordan Wright +To: Jordan Wright , also@example.com +Cc: one@example.com, Two +Bcc: three@example.com, Four +Content-Type: multipart/alternative; boundary=001a114fb3fc42fd6b051f834280 + +--001a114fb3fc42fd6b051f834280 +Content-Type: text/plain; charset=UTF-8 + +This is a test email with HTML Formatting. It also has very long lines so +that the content must be wrapped if using quoted-printable decoding. + +--001a114fb3fc42fd6b051f834280 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +
This is a test email with HTML Formatting.=C2=A0It = +also has very long lines so that the content must be wrapped if using quote= +d-printable decoding.
+ +--001a114fb3fc42fd6b051f834280--`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error creating email %s", err.Error()) + } + if e.Subject != ex.Subject { + t.Fatalf("Incorrect subject. %#q != %#q", e.Subject, ex.Subject) + } + if !bytes.Equal(e.Text, ex.Text) { + t.Fatalf("Incorrect text: %#q != %#q", e.Text, ex.Text) + } + if !bytes.Equal(e.HTML, ex.HTML) { + t.Fatalf("Incorrect HTML: %#q != %#q", e.HTML, ex.HTML) + } + if e.From != ex.From { + t.Fatalf("Incorrect \"From\": %#q != %#q", e.From, ex.From) + } + if len(e.To) != len(ex.To) { + t.Fatalf("Incorrect number of \"To\" addresses: %v != %v", len(e.To), len(ex.To)) + } + if e.To[0] != ex.To[0] { + t.Fatalf("Incorrect \"To[0]\": %#q != %#q", e.To[0], ex.To[0]) + } + if e.To[1] != ex.To[1] { + t.Fatalf("Incorrect \"To[1]\": %#q != %#q", e.To[1], ex.To[1]) + } + if len(e.Cc) != len(ex.Cc) { + t.Fatalf("Incorrect number of \"Cc\" addresses: %v != %v", len(e.Cc), len(ex.Cc)) + } + if e.Cc[0] != ex.Cc[0] { + t.Fatalf("Incorrect \"Cc[0]\": %#q != %#q", e.Cc[0], ex.Cc[0]) + } + if e.Cc[1] != ex.Cc[1] { + t.Fatalf("Incorrect \"Cc[1]\": %#q != %#q", e.Cc[1], ex.Cc[1]) + } + if len(e.Bcc) != len(ex.Bcc) { + t.Fatalf("Incorrect number of \"Bcc\" addresses: %v != %v", len(e.Bcc), len(ex.Bcc)) + } + if e.Bcc[0] != ex.Bcc[0] { + t.Fatalf("Incorrect \"Bcc[0]\": %#q != %#q", e.Cc[0], ex.Cc[0]) + } + if e.Bcc[1] != ex.Bcc[1] { + t.Fatalf("Incorrect \"Bcc[1]\": %#q != %#q", e.Bcc[1], ex.Bcc[1]) + } + if len(e.ReplyTo) != len(ex.ReplyTo) { + t.Fatalf("Incorrect number of \"Reply-To\" addresses: %v != %v", len(e.ReplyTo), len(ex.ReplyTo)) + } + if e.ReplyTo[0] != ex.ReplyTo[0] { + t.Fatalf("Incorrect \"ReplyTo\": %#q != %#q", e.ReplyTo[0], ex.ReplyTo[0]) + } +} + +func TestNonAsciiEmailFromReader(t *testing.T) { + ex := &Email{ + Subject: "Test Subject", + To: []string{"Anaïs "}, + Cc: []string{"Patrik Fältström "}, + From: "Mrs Valérie Dupont ", + Text: []byte("This is a test message!"), + } + raw := []byte(` + MIME-Version: 1.0 +Subject: =?UTF-8?Q?Test Subject?= +From: Mrs =?ISO-8859-1?Q?Val=C3=A9rie=20Dupont?= +To: =?utf-8?q?Ana=C3=AFs?= +Cc: =?ISO-8859-1?Q?Patrik_F=E4ltstr=F6m?= +Content-type: text/plain; charset=ISO-8859-1 + +This is a test message!`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error creating email %s", err.Error()) + } + if e.Subject != ex.Subject { + t.Fatalf("Incorrect subject. %#q != %#q", e.Subject, ex.Subject) + } + if e.From != ex.From { + t.Fatalf("Incorrect \"From\": %#q != %#q", e.From, ex.From) + } + if e.To[0] != ex.To[0] { + t.Fatalf("Incorrect \"To\": %#q != %#q", e.To, ex.To) + } + if e.Cc[0] != ex.Cc[0] { + t.Fatalf("Incorrect \"Cc\": %#q != %#q", e.Cc, ex.Cc) + } +} + +func TestNonMultipartEmailFromReader(t *testing.T) { + ex := &Email{ + Text: []byte("This is a test message!"), + Subject: "Example Subject (no MIME Type)", + Headers: textproto.MIMEHeader{}, + } + ex.Headers.Add("Content-Type", "text/plain; charset=us-ascii") + ex.Headers.Add("Message-ID", "") + raw := []byte(`From: "Foo Bar" +Content-Type: text/plain +To: foobar@example.com +Subject: Example Subject (no MIME Type) +Message-ID: + +This is a test message!`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error creating email %s", err.Error()) + } + if ex.Subject != e.Subject { + t.Errorf("Incorrect subject. %#q != %#q\n", ex.Subject, e.Subject) + } + if !bytes.Equal(ex.Text, e.Text) { + t.Errorf("Incorrect body. %#q != %#q\n", ex.Text, e.Text) + } + if ex.Headers.Get("Message-ID") != e.Headers.Get("Message-ID") { + t.Errorf("Incorrect message ID. %#q != %#q\n", ex.Headers.Get("Message-ID"), e.Headers.Get("Message-ID")) + } +} + +func TestBase64EmailFromReader(t *testing.T) { + ex := &Email{ + Subject: "Test Subject", + To: []string{"Jordan Wright "}, + From: "Jordan Wright ", + Text: []byte("This is a test email with HTML Formatting. It also has very long lines so that the content must be wrapped if using quoted-printable decoding."), + HTML: []byte("
This is a test email with HTML Formatting.\u00a0It also has very long lines so that the content must be wrapped if using quoted-printable decoding.
\n"), + } + raw := []byte(` + MIME-Version: 1.0 +Subject: Test Subject +From: Jordan Wright +To: Jordan Wright +Content-Type: multipart/alternative; boundary=001a114fb3fc42fd6b051f834280 + +--001a114fb3fc42fd6b051f834280 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: base64 + +VGhpcyBpcyBhIHRlc3QgZW1haWwgd2l0aCBIVE1MIEZvcm1hdHRpbmcuIEl0IGFsc28gaGFzIHZl +cnkgbG9uZyBsaW5lcyBzbyB0aGF0IHRoZSBjb250ZW50IG11c3QgYmUgd3JhcHBlZCBpZiB1c2lu +ZyBxdW90ZWQtcHJpbnRhYmxlIGRlY29kaW5nLg== + +--001a114fb3fc42fd6b051f834280 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +
This is a test email with HTML Formatting.=C2=A0It = +also has very long lines so that the content must be wrapped if using quote= +d-printable decoding.
+ +--001a114fb3fc42fd6b051f834280--`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error creating email %s", err.Error()) + } + if e.Subject != ex.Subject { + t.Fatalf("Incorrect subject. %#q != %#q", e.Subject, ex.Subject) + } + if !bytes.Equal(e.Text, ex.Text) { + t.Fatalf("Incorrect text: %#q != %#q", e.Text, ex.Text) + } + if !bytes.Equal(e.HTML, ex.HTML) { + t.Fatalf("Incorrect HTML: %#q != %#q", e.HTML, ex.HTML) + } + if e.From != ex.From { + t.Fatalf("Incorrect \"From\": %#q != %#q", e.From, ex.From) + } +} + +func TestAttachmentEmailFromReader(t *testing.T) { + ex := &Email{ + Subject: "Test Subject", + To: []string{"Jordan Wright "}, + From: "Jordan Wright ", + Text: []byte("Simple text body"), + HTML: []byte("
Simple HTML body
\n"), + } + a, err := ex.Attach(bytes.NewReader([]byte("Let's just pretend this is raw JPEG data.")), "cat.jpeg", "image/jpeg") + if err != nil { + t.Fatalf("Error attaching image %s", err.Error()) + } + b, err := ex.Attach(bytes.NewReader([]byte("Let's just pretend this is raw JPEG data.")), "cat-inline.jpeg", "image/jpeg") + if err != nil { + t.Fatalf("Error attaching inline image %s", err.Error()) + } + raw := []byte(` +From: Jordan Wright +Date: Thu, 17 Oct 2019 08:55:37 +0100 +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary=35d10c2224bd787fe700c2c6f4769ddc936eb8a0b58e9c8717e406c5abb7 +To: Jordan Wright +Subject: Test Subject + +--35d10c2224bd787fe700c2c6f4769ddc936eb8a0b58e9c8717e406c5abb7 +Content-Type: multipart/alternative; + boundary=b10ca5b1072908cceb667e8968d3af04503b7ab07d61c9f579c15b416d7c + +--b10ca5b1072908cceb667e8968d3af04503b7ab07d61c9f579c15b416d7c +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 + +Simple text body +--b10ca5b1072908cceb667e8968d3af04503b7ab07d61c9f579c15b416d7c +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; charset=UTF-8 + +
Simple HTML body
+ +--b10ca5b1072908cceb667e8968d3af04503b7ab07d61c9f579c15b416d7c-- + +--35d10c2224bd787fe700c2c6f4769ddc936eb8a0b58e9c8717e406c5abb7 +Content-Disposition: attachment; + filename="cat.jpeg" +Content-Id: +Content-Transfer-Encoding: base64 +Content-Type: image/jpeg + +TGV0J3MganVzdCBwcmV0ZW5kIHRoaXMgaXMgcmF3IEpQRUcgZGF0YS4= + +--35d10c2224bd787fe700c2c6f4769ddc936eb8a0b58e9c8717e406c5abb7 +Content-Disposition: inline; + filename="cat-inline.jpeg" +Content-Id: +Content-Transfer-Encoding: base64 +Content-Type: image/jpeg + +TGV0J3MganVzdCBwcmV0ZW5kIHRoaXMgaXMgcmF3IEpQRUcgZGF0YS4= + +--35d10c2224bd787fe700c2c6f4769ddc936eb8a0b58e9c8717e406c5abb7--`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error creating email %s", err.Error()) + } + if e.Subject != ex.Subject { + t.Fatalf("Incorrect subject. %#q != %#q", e.Subject, ex.Subject) + } + if !bytes.Equal(e.Text, ex.Text) { + t.Fatalf("Incorrect text: %#q != %#q", e.Text, ex.Text) + } + if !bytes.Equal(e.HTML, ex.HTML) { + t.Fatalf("Incorrect HTML: %#q != %#q", e.HTML, ex.HTML) + } + if e.From != ex.From { + t.Fatalf("Incorrect \"From\": %#q != %#q", e.From, ex.From) + } + if len(e.Attachments) != 2 { + t.Fatalf("Incorrect number of attachments %d != %d", len(e.Attachments), 1) + } + if e.Attachments[0].Filename != a.Filename { + t.Fatalf("Incorrect attachment filename %s != %s", e.Attachments[0].Filename, a.Filename) + } + if !bytes.Equal(e.Attachments[0].Content, a.Content) { + t.Fatalf("Incorrect attachment content %#q != %#q", e.Attachments[0].Content, a.Content) + } + if e.Attachments[1].Filename != b.Filename { + t.Fatalf("Incorrect attachment filename %s != %s", e.Attachments[1].Filename, b.Filename) + } + if !bytes.Equal(e.Attachments[1].Content, b.Content) { + t.Fatalf("Incorrect attachment content %#q != %#q", e.Attachments[1].Content, b.Content) + } +} + +func ExampleGmail() { + e := NewEmail() + e.From = "Jordan Wright " + e.To = []string{"test@example.com"} + e.Bcc = []string{"test_bcc@example.com"} + e.Cc = []string{"test_cc@example.com"} + e.Subject = "Awesome Subject" + e.Text = []byte("Text Body is, of course, supported!\n") + e.HTML = []byte("

Fancy Html is supported, too!

\n") + e.Send("smtp.gmail.com:587", smtp.PlainAuth("", e.From, "password123", "smtp.gmail.com")) +} + +func ExampleAttach() { + e := NewEmail() + e.AttachFile("test.txt") +} + +func Test_base64Wrap(t *testing.T) { + file := "I'm a file long enough to force the function to wrap a\n" + + "couple of lines, but I stop short of the end of one line and\n" + + "have some padding dangling at the end." + encoded := "SSdtIGEgZmlsZSBsb25nIGVub3VnaCB0byBmb3JjZSB0aGUgZnVuY3Rpb24gdG8gd3JhcCBhCmNv\r\n" + + "dXBsZSBvZiBsaW5lcywgYnV0IEkgc3RvcCBzaG9ydCBvZiB0aGUgZW5kIG9mIG9uZSBsaW5lIGFu\r\n" + + "ZApoYXZlIHNvbWUgcGFkZGluZyBkYW5nbGluZyBhdCB0aGUgZW5kLg==\r\n" + + var buf bytes.Buffer + base64Wrap(&buf, []byte(file)) + if !bytes.Equal(buf.Bytes(), []byte(encoded)) { + t.Fatalf("Encoded file does not match expected: %#q != %#q", string(buf.Bytes()), encoded) + } +} + +// *Since the mime library in use by ```email``` is now in the stdlib, this test is deprecated +func Test_quotedPrintEncode(t *testing.T) { + var buf bytes.Buffer + text := []byte("Dear reader!\n\n" + + "This is a test email to try and capture some of the corner cases that exist within\n" + + "the quoted-printable encoding.\n" + + "There are some wacky parts like =, and this input assumes UNIX line breaks so\r\n" + + "it can come out a little weird. Also, we need to support unicode so here's a fish: 🐟\n") + expected := []byte("Dear reader!\r\n\r\n" + + "This is a test email to try and capture some of the corner cases that exist=\r\n" + + " within\r\n" + + "the quoted-printable encoding.\r\n" + + "There are some wacky parts like =3D, and this input assumes UNIX line break=\r\n" + + "s so\r\n" + + "it can come out a little weird. Also, we need to support unicode so here's=\r\n" + + " a fish: =F0=9F=90=9F\r\n") + qp := quotedprintable.NewWriter(&buf) + if _, err := qp.Write(text); err != nil { + t.Fatal("quotePrintEncode: ", err) + } + if err := qp.Close(); err != nil { + t.Fatal("Error closing writer", err) + } + if b := buf.Bytes(); !bytes.Equal(b, expected) { + t.Errorf("quotedPrintEncode generated incorrect results: %#q != %#q", b, expected) + } +} + +func TestMultipartNoContentType(t *testing.T) { + raw := []byte(`From: Mikhail Gusarov +To: notmuch@notmuchmail.org +References: <20091117190054.GU3165@dottiness.seas.harvard.edu> +Date: Wed, 18 Nov 2009 01:02:38 +0600 +Message-ID: <87iqd9rn3l.fsf@vertex.dottedmag> +MIME-Version: 1.0 +Subject: Re: [notmuch] Working with Maildir storage? +Content-Type: multipart/mixed; boundary="===============1958295626==" + +--===============1958295626== +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" + +--=-=-= +Content-Transfer-Encoding: quoted-printable + +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did g= +yre and gimble: + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBAgAGBQJLAvNOAAoJEJ0g9lA+M4iIjLYQAKp0PXEgl3JMOEBisH52AsIK +=/ksP +-----END PGP SIGNATURE----- +--=-=-=-- + +--===============1958295626== +Content-Type: text/plain; charset="us-ascii" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Disposition: inline + +Testing! +--===============1958295626==-- +`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error when parsing email %s", err.Error()) + } + if !bytes.Equal(e.Text, []byte("Testing!")) { + t.Fatalf("Error incorrect text: %#q != %#q\n", e.Text, "Testing!") + } +} + +func TestNoMultipartHTMLContentTypeBase64Encoding(t *testing.T) { + raw := []byte(`MIME-Version: 1.0 +From: no-reply@example.com +To: tester@example.org +Date: 7 Jan 2021 03:07:44 -0800 +Subject: Hello +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: base64 +Message-Id: <20210107110744.547DD70532@example.com> + +PGh0bWw+PGhlYWQ+PHRpdGxlPnRlc3Q8L3RpdGxlPjwvaGVhZD48Ym9keT5IZWxsbyB3 +b3JsZCE8L2JvZHk+PC9odG1sPg== +`) + e, err := NewEmailFromReader(bytes.NewReader(raw)) + if err != nil { + t.Fatalf("Error when parsing email %s", err.Error()) + } + if !bytes.Equal(e.HTML, []byte("testHello world!")) { + t.Fatalf("Error incorrect text: %#q != %#q\n", e.Text, "...") + } +} + +// *Since the mime library in use by ```email``` is now in the stdlib, this test is deprecated +func Test_quotedPrintDecode(t *testing.T) { + text := []byte("Dear reader!\r\n\r\n" + + "This is a test email to try and capture some of the corner cases that exist=\r\n" + + " within\r\n" + + "the quoted-printable encoding.\r\n" + + "There are some wacky parts like =3D, and this input assumes UNIX line break=\r\n" + + "s so\r\n" + + "it can come out a little weird. Also, we need to support unicode so here's=\r\n" + + " a fish: =F0=9F=90=9F\r\n") + expected := []byte("Dear reader!\r\n\r\n" + + "This is a test email to try and capture some of the corner cases that exist within\r\n" + + "the quoted-printable encoding.\r\n" + + "There are some wacky parts like =, and this input assumes UNIX line breaks so\r\n" + + "it can come out a little weird. Also, we need to support unicode so here's a fish: 🐟\r\n") + qp := quotedprintable.NewReader(bytes.NewReader(text)) + got, err := ioutil.ReadAll(qp) + if err != nil { + t.Fatal("quotePrintDecode: ", err) + } + + if !bytes.Equal(got, expected) { + t.Errorf("quotedPrintDecode generated incorrect results: %#q != %#q", got, expected) + } +} + +func Benchmark_base64Wrap(b *testing.B) { + // Reasonable base case; 128K random bytes + file := make([]byte, 128*1024) + if _, err := rand.Read(file); err != nil { + panic(err) + } + for i := 0; i <= b.N; i++ { + base64Wrap(ioutil.Discard, file) + } +} + +func TestParseSender(t *testing.T) { + var cases = []struct { + e Email + want string + haserr bool + }{ + { + Email{From: "from@test.com"}, + "from@test.com", + false, + }, + { + Email{Sender: "sender@test.com", From: "from@test.com"}, + "sender@test.com", + false, + }, + { + Email{Sender: "bad_address_sender"}, + "", + true, + }, + { + Email{Sender: "good@sender.com", From: "bad_address_from"}, + "good@sender.com", + false, + }, + } + + for i, testcase := range cases { + got, err := testcase.e.parseSender() + if got != testcase.want || (err != nil) != testcase.haserr { + t.Errorf(`%d: got %s != want %s or error "%t" != "%t"`, i+1, got, testcase.want, err != nil, testcase.haserr) + } + } +} diff --git a/common/utils/email/pool.go b/common/utils/email/pool.go new file mode 100644 index 00000000..67f224af --- /dev/null +++ b/common/utils/email/pool.go @@ -0,0 +1,367 @@ +package email + +import ( + "crypto/tls" + "errors" + "io" + "net" + "net/mail" + "net/smtp" + "net/textproto" + "sync" + "syscall" + "time" +) + +type Pool struct { + addr string + auth smtp.Auth + max int + created int + clients chan *client + rebuild chan struct{} + mut *sync.Mutex + lastBuildErr *timestampedErr + closing chan struct{} + tlsConfig *tls.Config + helloHostname string +} + +type client struct { + *smtp.Client + failCount int +} + +type timestampedErr struct { + err error + ts time.Time +} + +const maxFails = 4 + +var ( + ErrClosed = errors.New("pool closed") + ErrTimeout = errors.New("timed out") +) + +func NewPool(address string, count int, auth smtp.Auth, opt_tlsConfig ...*tls.Config) (pool *Pool, err error) { + pool = &Pool{ + addr: address, + auth: auth, + max: count, + clients: make(chan *client, count), + rebuild: make(chan struct{}), + closing: make(chan struct{}), + mut: &sync.Mutex{}, + } + if len(opt_tlsConfig) == 1 { + pool.tlsConfig = opt_tlsConfig[0] + } else if host, _, e := net.SplitHostPort(address); e != nil { + return nil, e + } else { + pool.tlsConfig = &tls.Config{ServerName: host} + } + return +} + +// go1.1 didn't have this method +func (c *client) Close() error { + return c.Text.Close() +} + +// SetHelloHostname optionally sets the hostname that the Go smtp.Client will +// use when doing a HELLO with the upstream SMTP server. By default, Go uses +// "localhost" which may not be accepted by certain SMTP servers that demand +// an FQDN. +func (p *Pool) SetHelloHostname(h string) { + p.helloHostname = h +} + +func (p *Pool) get(timeout time.Duration) *client { + select { + case c := <-p.clients: + return c + default: + } + + if p.created < p.max { + p.makeOne() + } + + var deadline <-chan time.Time + if timeout >= 0 { + deadline = time.After(timeout) + } + + for { + select { + case c := <-p.clients: + return c + case <-p.rebuild: + p.makeOne() + case <-deadline: + return nil + case <-p.closing: + return nil + } + } +} + +func shouldReuse(err error) bool { + // certainly not perfect, but might be close: + // - EOF: clearly, the connection went down + // - textproto.Errors were valid SMTP over a valid connection, + // but resulted from an SMTP error response + // - textproto.ProtocolErrors result from connections going down, + // invalid SMTP, that sort of thing + // - syscall.Errno is probably down connection/bad pipe, but + // passed straight through by textproto instead of becoming a + // ProtocolError + // - if we don't recognize the error, don't reuse the connection + // A false positive will probably fail on the Reset(), and even if + // not will eventually hit maxFails. + // A false negative will knock over (and trigger replacement of) a + // conn that might have still worked. + if err == io.EOF { + return false + } + switch err.(type) { + case *textproto.Error: + return true + case *textproto.ProtocolError, textproto.ProtocolError: + return false + case syscall.Errno: + return false + default: + return false + } +} + +func (p *Pool) replace(c *client) { + p.clients <- c +} + +func (p *Pool) inc() bool { + if p.created >= p.max { + return false + } + + p.mut.Lock() + defer p.mut.Unlock() + + if p.created >= p.max { + return false + } + p.created++ + return true +} + +func (p *Pool) dec() { + p.mut.Lock() + p.created-- + p.mut.Unlock() + + select { + case p.rebuild <- struct{}{}: + default: + } +} + +func (p *Pool) makeOne() { + go func() { + if p.inc() { + if c, err := p.build(); err == nil { + p.clients <- c + } else { + p.lastBuildErr = ×tampedErr{err, time.Now()} + p.dec() + } + } + }() +} + +func startTLS(c *client, t *tls.Config) (bool, error) { + if ok, _ := c.Extension("STARTTLS"); !ok { + return false, nil + } + + if err := c.StartTLS(t); err != nil { + return false, err + } + + return true, nil +} + +func addAuth(c *client, auth smtp.Auth) (bool, error) { + if ok, _ := c.Extension("AUTH"); !ok { + return false, nil + } + + if err := c.Auth(auth); err != nil { + return false, err + } + + return true, nil +} + +func (p *Pool) build() (*client, error) { + cl, err := smtp.Dial(p.addr) + if err != nil { + return nil, err + } + + // Is there a custom hostname for doing a HELLO with the SMTP server? + if p.helloHostname != "" { + cl.Hello(p.helloHostname) + } + + c := &client{cl, 0} + + if _, err := startTLS(c, p.tlsConfig); err != nil { + c.Close() + return nil, err + } + + if p.auth != nil { + if _, err := addAuth(c, p.auth); err != nil { + c.Close() + return nil, err + } + } + + return c, nil +} + +func (p *Pool) maybeReplace(err error, c *client) { + if err == nil { + c.failCount = 0 + p.replace(c) + return + } + + c.failCount++ + if c.failCount >= maxFails { + goto shutdown + } + + if !shouldReuse(err) { + goto shutdown + } + + if err := c.Reset(); err != nil { + goto shutdown + } + + p.replace(c) + return + +shutdown: + p.dec() + c.Close() +} + +func (p *Pool) failedToGet(startTime time.Time) error { + select { + case <-p.closing: + return ErrClosed + default: + } + + if p.lastBuildErr != nil && startTime.Before(p.lastBuildErr.ts) { + return p.lastBuildErr.err + } + + return ErrTimeout +} + +// Send sends an email via a connection pulled from the Pool. The timeout may +// be <0 to indicate no timeout. Otherwise reaching the timeout will produce +// and error building a connection that occurred while we were waiting, or +// otherwise ErrTimeout. +func (p *Pool) Send(e *Email, timeout time.Duration) (err error) { + start := time.Now() + c := p.get(timeout) + if c == nil { + return p.failedToGet(start) + } + + defer func() { + p.maybeReplace(err, c) + }() + + recipients, err := addressLists(e.To, e.Cc, e.Bcc) + if err != nil { + return + } + + msg, err := e.Bytes() + if err != nil { + return + } + + from, err := emailOnly(e.From) + if err != nil { + return + } + if err = c.Mail(from); err != nil { + return + } + + for _, recip := range recipients { + if err = c.Rcpt(recip); err != nil { + return + } + } + + w, err := c.Data() + if err != nil { + return + } + if _, err = w.Write(msg); err != nil { + return + } + + err = w.Close() + + return +} + +func emailOnly(full string) (string, error) { + addr, err := mail.ParseAddress(full) + if err != nil { + return "", err + } + return addr.Address, nil +} + +func addressLists(lists ...[]string) ([]string, error) { + length := 0 + for _, lst := range lists { + length += len(lst) + } + combined := make([]string, 0, length) + + for _, lst := range lists { + for _, full := range lst { + addr, err := emailOnly(full) + if err != nil { + return nil, err + } + combined = append(combined, addr) + } + } + + return combined, nil +} + +// Close immediately changes the pool's state so no new connections will be +// created, then gets and closes the existing ones as they become available. +func (p *Pool) Close() { + close(p.closing) + + for p.created > 0 { + c := <-p.clients + c.Quit() + p.dec() + } +} diff --git a/common/utils/endec/endec.go b/common/utils/endec/endec.go new file mode 100644 index 00000000..65462600 --- /dev/null +++ b/common/utils/endec/endec.go @@ -0,0 +1,186 @@ +package endec + +import ( + "bytes" + "crypto" + "crypto/aes" + "crypto/cipher" + "crypto/md5" + "crypto/rand" + "crypto/rsa" + "crypto/sha1" + "crypto/sha256" + "crypto/x509" + "encoding/hex" + "encoding/pem" + "errors" + "hash" +) + +func RsaParsePubKey(pubKeyPem []byte) (*rsa.PublicKey, error) { + block, _ := pem.Decode(pubKeyPem) + if block == nil { + return nil, errors.New("invalid rsa public key") + } + pubInfo, err := x509.ParsePKIXPublicKey(block.Bytes) + if err != nil { + return nil, err + } + pubKey := pubInfo.(*rsa.PublicKey) + return pubKey, nil +} + +func RsaParsePubKeyByPrivKey(privKeyPem []byte) (*rsa.PublicKey, error) { + block, _ := pem.Decode(privKeyPem) + if block == nil { + return nil, errors.New("invalid rsa private key") + } + privKey, err := x509.ParsePKCS1PrivateKey(block.Bytes) + if err != nil { + return nil, err + } + return &privKey.PublicKey, nil +} + +func RsaParsePrivKey(privKeyPem []byte) (*rsa.PrivateKey, error) { + block, _ := pem.Decode(privKeyPem) + if block == nil { + return nil, errors.New("invalid rsa private key") + } + privKey, err := x509.ParsePKCS1PrivateKey(block.Bytes) + if err != nil { + return nil, err + } + return privKey, nil +} + +func RsaEncrypt(rawData []byte, pubKey *rsa.PublicKey) (encData []byte, err error) { + return rsa.EncryptPKCS1v15(rand.Reader, pubKey, rawData) +} + +func RsaDecrypt(encData []byte, privKey *rsa.PrivateKey) (decData []byte, err error) { + return rsa.DecryptPKCS1v15(rand.Reader, privKey, encData) +} + +func RsaSign(rawData []byte, privKey *rsa.PrivateKey) (signData []byte, err error) { + msgHash := sha256.New() + _, err = msgHash.Write(rawData) + if err != nil { + return nil, err + } + msgHashSum := msgHash.Sum(nil) + signData, err = rsa.SignPKCS1v15(rand.Reader, privKey, crypto.SHA256, msgHashSum) + if err != nil { + return nil, err + } + return signData, nil +} + +func RsaVerify(rawData []byte, signData []byte, pubKey *rsa.PublicKey) (ok bool, err error) { + msgHash := sha256.New() + _, err = msgHash.Write(rawData) + if err != nil { + return false, err + } + msgHashSum := msgHash.Sum(nil) + err = rsa.VerifyPKCS1v15(pubKey, crypto.SHA256, msgHashSum, signData) + if err != nil { + return false, err + } + return true, nil +} + +func AesCFBEncrypt(rawData []byte, key []byte, iv []byte) (encData []byte, err error) { + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + encData = make([]byte, len(rawData)) + if iv == nil { + iv = make([]byte, aes.BlockSize) + } + stream := cipher.NewCFBEncrypter(block, iv) + stream.XORKeyStream(encData, rawData) + return encData, nil +} + +func AesCFBDecrypt(encData []byte, key []byte, iv []byte) (decData []byte, err error) { + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + if iv == nil { + iv = make([]byte, aes.BlockSize) + } + stream := cipher.NewCFBDecrypter(block, iv) + decData = make([]byte, len(encData)) + stream.XORKeyStream(decData, encData) + return decData, nil +} + +func AesCBCEncrypt(rawData []byte, key []byte, iv []byte) (encData []byte, err error) { + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + paddingChar := block.BlockSize() - len(rawData)%block.BlockSize() + paddingData := bytes.Repeat([]byte{byte(paddingChar)}, paddingChar) + rawData = append(rawData, paddingData...) + encData = make([]byte, len(rawData)) + if iv == nil { + iv = make([]byte, aes.BlockSize) + } + blockMode := cipher.NewCBCEncrypter(block, iv) + blockMode.CryptBlocks(encData, rawData) + return encData, nil +} + +func AesCBCDecrypt(encData []byte, key []byte, iv []byte) (decData []byte, err error) { + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + if iv == nil { + iv = make([]byte, aes.BlockSize) + } + blockMode := cipher.NewCBCDecrypter(block, iv) + decData = make([]byte, len(encData)) + blockMode.CryptBlocks(decData, encData) + paddingChar := int(decData[len(decData)-1]) + decData = decData[:len(decData)-paddingChar] + return decData, nil +} + +func Sha1Str(inputStr string) string { + h := sha1.New() + return hashStr(h, inputStr) +} + +func Sha256Str(inputStr string) string { + h := sha256.New() + return hashStr(h, inputStr) +} + +func Md5Str(inputStr string) string { + h := md5.New() + return hashStr(h, inputStr) +} + +func hashStr(h hash.Hash, inputStr string) string { + h.Write([]byte(inputStr)) + return hex.EncodeToString(h.Sum(nil)) +} + +func Xor(data []byte, key []byte) { + for i := 0; i < len(data); i++ { + data[i] ^= key[i%len(key)] + } +} + +func Hk4eAbilityHashCode(ability string) int32 { + hashCode := int32(0) + for i := 0; i < len(ability); i++ { + hashCode = int32(ability[i]) + 131*hashCode + } + return hashCode +} diff --git a/common/utils/endec/endec_test.go b/common/utils/endec/endec_test.go new file mode 100644 index 00000000..5b049d83 --- /dev/null +++ b/common/utils/endec/endec_test.go @@ -0,0 +1,29 @@ +package endec + +import ( + "encoding/base64" + "fmt" + "testing" +) + +var key []byte + +func init() { + key, _ = base64.StdEncoding.DecodeString("NK6Ucg8hCXN9oPZFojqcAqYEY2DETZzt6oKrGmZwdOU=") +} + +func TestAesCBC(t *testing.T) { + raw := []byte("fuck") + enc, _ := AesCBCEncrypt(raw, key, key[0:16]) + fmt.Printf("enc: %v\n", enc) + dec, _ := AesCBCDecrypt(enc, key, key[0:16]) + fmt.Printf("dec: %v\n", dec) +} + +func TestAesCFB(t *testing.T) { + raw := []byte("fuck") + enc, _ := AesCFBEncrypt(raw, key, key[0:16]) + fmt.Printf("enc: %v\n", enc) + dec, _ := AesCFBDecrypt(enc, key, key[0:16]) + fmt.Printf("dec: %v\n", dec) +} diff --git a/common/utils/object/object.go b/common/utils/object/object.go new file mode 100644 index 00000000..b6b63aa4 --- /dev/null +++ b/common/utils/object/object.go @@ -0,0 +1,76 @@ +package object + +import ( + "bytes" + "encoding/gob" + "fmt" +) + +func ObjectDeepCopy(src, dest any) error { + var buf bytes.Buffer + if err := gob.NewEncoder(&buf).Encode(src); err != nil { + return err + } + return gob.NewDecoder(bytes.NewBuffer(buf.Bytes())).Decode(dest) +} + +func ConvBoolToInt64(v bool) int64 { + if v { + return 1 + } else { + return 0 + } +} + +func ConvInt64ToBool(v int64) bool { + if v != 0 { + return true + } else { + return false + } +} + +func ConvListToMap[T any](l []T) map[uint64]T { + ret := make(map[uint64]T) + for index, value := range l { + ret[uint64(index)] = value + } + return ret +} + +func ConvMapToList[T any](m map[uint64]T) []T { + ret := make([]T, 0) + for _, value := range m { + ret = append(ret, value) + } + return ret +} + +func IsUtf8String(value string) bool { + data := []byte(value) + for i := 0; i < len(data); { + str := fmt.Sprintf("%b", data[i]) + num := 0 + for num < len(str) { + if str[num] != '1' { + break + } + num++ + } + if data[i]&0x80 == 0x00 { + i++ + continue + } else if num > 2 { + i++ + for j := 0; j < num-1; j++ { + if data[i]&0xc0 != 0x80 { + return false + } + i++ + } + } else { + return false + } + } + return true +} diff --git a/common/utils/random/random.go b/common/utils/random/random.go new file mode 100644 index 00000000..039fc3cc --- /dev/null +++ b/common/utils/random/random.go @@ -0,0 +1,57 @@ +package random + +import ( + "encoding/hex" + "math/rand" + "time" +) + +func init() { + rand.Seed(time.Now().UnixNano()) +} + +func GetRandomStr(strLen int) (str string) { + baseStr := "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" + for i := 0; i < strLen; i++ { + index := rand.Intn(len(baseStr)) + str += string(baseStr[index]) + } + return str +} + +func GetRandomByte(len int) []byte { + ret := make([]byte, 0) + for i := 0; i < len; i++ { + r := uint8(rand.Intn(256)) + ret = append(ret, r) + } + return ret +} + +func GetRandomByteHexStr(len int) string { + return hex.EncodeToString(GetRandomByte(len)) +} + +func GetRandomInt32(min int32, max int32) int32 { + if max <= min { + return 0 + } + r := rand.Int31n(max-min+1) + min + return r +} + +func GetRandomFloat32(min float32, max float32) float32 { + if max <= min { + return 0.0 + } + r := rand.Float32()*(max-min) + min + return r +} + +func GetRandomFloat64(min float64, max float64) float64 { + if max <= min { + return 0.0 + } + r := rand.Float64()*(max-min) + min + return r +} diff --git a/common/utils/random/random_test.go b/common/utils/random/random_test.go new file mode 100644 index 00000000..cce5ff38 --- /dev/null +++ b/common/utils/random/random_test.go @@ -0,0 +1,11 @@ +package random + +import ( + "fmt" + "testing" +) + +func TestGetRandomStr(t *testing.T) { + str := GetRandomStr(16) + fmt.Println(str) +} diff --git a/common/utils/reflection/struct.go b/common/utils/reflection/struct.go new file mode 100644 index 00000000..bf6eee54 --- /dev/null +++ b/common/utils/reflection/struct.go @@ -0,0 +1,27 @@ +package reflection + +import "reflect" + +func ConvStructToMap(value any) map[string]any { + refType := reflect.TypeOf(value) + if refType.Kind() == reflect.Ptr { + refType = refType.Elem() + } + if refType.Kind() != reflect.Struct { + return nil + } + fieldNum := refType.NumField() + result := make(map[string]any) + nameList := make([]string, 0) + for i := 0; i < fieldNum; i++ { + nameList = append(nameList, refType.Field(i).Name) + } + refValue := reflect.ValueOf(value) + if refValue.Kind() == reflect.Ptr { + refValue = refValue.Elem() + } + for i := 0; i < fieldNum; i++ { + result[nameList[i]] = refValue.FieldByName(nameList[i]).Interface() + } + return result +} diff --git a/gate-hk4e-api/gm/forbid_user_info.go b/gate-hk4e-api/gm/forbid_user_info.go new file mode 100644 index 00000000..0face9d9 --- /dev/null +++ b/gate-hk4e-api/gm/forbid_user_info.go @@ -0,0 +1,6 @@ +package gm + +type ForbidUserInfo struct { + UserId uint32 + ForbidEndTime uint64 +} diff --git a/gate-hk4e-api/gm/kick_player_info.go b/gate-hk4e-api/gm/kick_player_info.go new file mode 100644 index 00000000..75b591d4 --- /dev/null +++ b/gate-hk4e-api/gm/kick_player_info.go @@ -0,0 +1,6 @@ +package gm + +type KickPlayerInfo struct { + UserId uint32 + Reason uint32 +} diff --git a/gate-hk4e-api/gm/online_user_info.go b/gate-hk4e-api/gm/online_user_info.go new file mode 100644 index 00000000..c12c90c0 --- /dev/null +++ b/gate-hk4e-api/gm/online_user_info.go @@ -0,0 +1,11 @@ +package gm + +type OnlineUserList struct { + UserList []*OnlineUserInfo `json:"userList"` +} + +type OnlineUserInfo struct { + Uid uint32 `json:"uid"` + ConvId uint64 `json:"convId"` + Addr string `json:"addr"` +} diff --git a/gate-hk4e-api/go.mod b/gate-hk4e-api/go.mod new file mode 100644 index 00000000..c00f46f4 --- /dev/null +++ b/gate-hk4e-api/go.mod @@ -0,0 +1,16 @@ +module gate-hk4e-api + +go 1.19 + +require flswld.com/common v0.0.0-incompatible // indirect + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../logger + +require github.com/BurntSushi/toml v0.3.1 // indirect + +// protobuf +require google.golang.org/protobuf v1.28.0 diff --git a/gate-hk4e-api/go.sum b/gate-hk4e-api/go.sum new file mode 100644 index 00000000..3ea35e7d --- /dev/null +++ b/gate-hk4e-api/go.sum @@ -0,0 +1,10 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/gate-hk4e-api/proto/AISnapshotEntityData.pb.go b/gate-hk4e-api/proto/AISnapshotEntityData.pb.go new file mode 100644 index 00000000..8bac468d --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotEntityData.pb.go @@ -0,0 +1,289 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AISnapshotEntityData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AISnapshotEntityData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TickTime float32 `protobuf:"fixed32,5,opt,name=tick_time,json=tickTime,proto3" json:"tick_time,omitempty"` + Tactic uint32 `protobuf:"varint,2,opt,name=tactic,proto3" json:"tactic,omitempty"` + FinishedSkillCycles []*AISnapshotEntitySkillCycle `protobuf:"bytes,9,rep,name=finished_skill_cycles,json=finishedSkillCycles,proto3" json:"finished_skill_cycles,omitempty"` + MovedDistance float32 `protobuf:"fixed32,4,opt,name=moved_distance,json=movedDistance,proto3" json:"moved_distance,omitempty"` + AiTargetId uint32 `protobuf:"varint,13,opt,name=ai_target_id,json=aiTargetId,proto3" json:"ai_target_id,omitempty"` + ThreatTargetId uint32 `protobuf:"varint,3,opt,name=threat_target_id,json=threatTargetId,proto3" json:"threat_target_id,omitempty"` + ThreatListSize uint32 `protobuf:"varint,1,opt,name=threat_list_size,json=threatListSize,proto3" json:"threat_list_size,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + HittingAvatars map[uint32]uint32 `protobuf:"bytes,7,rep,name=hitting_avatars,json=hittingAvatars,proto3" json:"hitting_avatars,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + DistanceToPlayer float32 `protobuf:"fixed32,11,opt,name=distance_to_player,json=distanceToPlayer,proto3" json:"distance_to_player,omitempty"` + AttackTargetId uint32 `protobuf:"varint,10,opt,name=attack_target_id,json=attackTargetId,proto3" json:"attack_target_id,omitempty"` + RealTime float32 `protobuf:"fixed32,14,opt,name=real_time,json=realTime,proto3" json:"real_time,omitempty"` +} + +func (x *AISnapshotEntityData) Reset() { + *x = AISnapshotEntityData{} + if protoimpl.UnsafeEnabled { + mi := &file_AISnapshotEntityData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AISnapshotEntityData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AISnapshotEntityData) ProtoMessage() {} + +func (x *AISnapshotEntityData) ProtoReflect() protoreflect.Message { + mi := &file_AISnapshotEntityData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AISnapshotEntityData.ProtoReflect.Descriptor instead. +func (*AISnapshotEntityData) Descriptor() ([]byte, []int) { + return file_AISnapshotEntityData_proto_rawDescGZIP(), []int{0} +} + +func (x *AISnapshotEntityData) GetTickTime() float32 { + if x != nil { + return x.TickTime + } + return 0 +} + +func (x *AISnapshotEntityData) GetTactic() uint32 { + if x != nil { + return x.Tactic + } + return 0 +} + +func (x *AISnapshotEntityData) GetFinishedSkillCycles() []*AISnapshotEntitySkillCycle { + if x != nil { + return x.FinishedSkillCycles + } + return nil +} + +func (x *AISnapshotEntityData) GetMovedDistance() float32 { + if x != nil { + return x.MovedDistance + } + return 0 +} + +func (x *AISnapshotEntityData) GetAiTargetId() uint32 { + if x != nil { + return x.AiTargetId + } + return 0 +} + +func (x *AISnapshotEntityData) GetThreatTargetId() uint32 { + if x != nil { + return x.ThreatTargetId + } + return 0 +} + +func (x *AISnapshotEntityData) GetThreatListSize() uint32 { + if x != nil { + return x.ThreatListSize + } + return 0 +} + +func (x *AISnapshotEntityData) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AISnapshotEntityData) GetHittingAvatars() map[uint32]uint32 { + if x != nil { + return x.HittingAvatars + } + return nil +} + +func (x *AISnapshotEntityData) GetDistanceToPlayer() float32 { + if x != nil { + return x.DistanceToPlayer + } + return 0 +} + +func (x *AISnapshotEntityData) GetAttackTargetId() uint32 { + if x != nil { + return x.AttackTargetId + } + return 0 +} + +func (x *AISnapshotEntityData) GetRealTime() float32 { + if x != nil { + return x.RealTime + } + return 0 +} + +var File_AISnapshotEntityData_proto protoreflect.FileDescriptor + +var file_AISnapshotEntityData_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x41, 0x49, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, + 0x04, 0x0a, 0x14, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x74, 0x69, 0x63, 0x6b, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x63, 0x74, 0x69, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x74, 0x61, 0x63, 0x74, 0x69, 0x63, 0x12, 0x4f, 0x0a, 0x15, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x41, 0x49, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x13, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x69, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x69, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, + 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, + 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x52, 0x0a, 0x0f, 0x68, 0x69, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x48, 0x69, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x68, 0x69, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x64, + 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x6f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, + 0x1a, 0x41, 0x0a, 0x13, 0x48, 0x69, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AISnapshotEntityData_proto_rawDescOnce sync.Once + file_AISnapshotEntityData_proto_rawDescData = file_AISnapshotEntityData_proto_rawDesc +) + +func file_AISnapshotEntityData_proto_rawDescGZIP() []byte { + file_AISnapshotEntityData_proto_rawDescOnce.Do(func() { + file_AISnapshotEntityData_proto_rawDescData = protoimpl.X.CompressGZIP(file_AISnapshotEntityData_proto_rawDescData) + }) + return file_AISnapshotEntityData_proto_rawDescData +} + +var file_AISnapshotEntityData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AISnapshotEntityData_proto_goTypes = []interface{}{ + (*AISnapshotEntityData)(nil), // 0: AISnapshotEntityData + nil, // 1: AISnapshotEntityData.HittingAvatarsEntry + (*AISnapshotEntitySkillCycle)(nil), // 2: AISnapshotEntitySkillCycle +} +var file_AISnapshotEntityData_proto_depIdxs = []int32{ + 2, // 0: AISnapshotEntityData.finished_skill_cycles:type_name -> AISnapshotEntitySkillCycle + 1, // 1: AISnapshotEntityData.hitting_avatars:type_name -> AISnapshotEntityData.HittingAvatarsEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AISnapshotEntityData_proto_init() } +func file_AISnapshotEntityData_proto_init() { + if File_AISnapshotEntityData_proto != nil { + return + } + file_AISnapshotEntitySkillCycle_proto_init() + if !protoimpl.UnsafeEnabled { + file_AISnapshotEntityData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AISnapshotEntityData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AISnapshotEntityData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AISnapshotEntityData_proto_goTypes, + DependencyIndexes: file_AISnapshotEntityData_proto_depIdxs, + MessageInfos: file_AISnapshotEntityData_proto_msgTypes, + }.Build() + File_AISnapshotEntityData_proto = out.File + file_AISnapshotEntityData_proto_rawDesc = nil + file_AISnapshotEntityData_proto_goTypes = nil + file_AISnapshotEntityData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AISnapshotEntityData.proto b/gate-hk4e-api/proto/AISnapshotEntityData.proto new file mode 100644 index 00000000..6bb9d2d2 --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotEntityData.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AISnapshotEntitySkillCycle.proto"; + +option go_package = "./;proto"; + +message AISnapshotEntityData { + float tick_time = 5; + uint32 tactic = 2; + repeated AISnapshotEntitySkillCycle finished_skill_cycles = 9; + float moved_distance = 4; + uint32 ai_target_id = 13; + uint32 threat_target_id = 3; + uint32 threat_list_size = 1; + uint32 entity_id = 15; + map hitting_avatars = 7; + float distance_to_player = 11; + uint32 attack_target_id = 10; + float real_time = 14; +} diff --git a/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.pb.go b/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.pb.go new file mode 100644 index 00000000..adb2a51c --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AISnapshotEntitySkillCycle.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AISnapshotEntitySkillCycle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Failed bool `protobuf:"varint,12,opt,name=failed,proto3" json:"failed,omitempty"` + Trydoskill bool `protobuf:"varint,8,opt,name=trydoskill,proto3" json:"trydoskill,omitempty"` + Success bool `protobuf:"varint,9,opt,name=success,proto3" json:"success,omitempty"` + Selected bool `protobuf:"varint,1,opt,name=selected,proto3" json:"selected,omitempty"` + SkillId uint32 `protobuf:"varint,2,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` +} + +func (x *AISnapshotEntitySkillCycle) Reset() { + *x = AISnapshotEntitySkillCycle{} + if protoimpl.UnsafeEnabled { + mi := &file_AISnapshotEntitySkillCycle_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AISnapshotEntitySkillCycle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AISnapshotEntitySkillCycle) ProtoMessage() {} + +func (x *AISnapshotEntitySkillCycle) ProtoReflect() protoreflect.Message { + mi := &file_AISnapshotEntitySkillCycle_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AISnapshotEntitySkillCycle.ProtoReflect.Descriptor instead. +func (*AISnapshotEntitySkillCycle) Descriptor() ([]byte, []int) { + return file_AISnapshotEntitySkillCycle_proto_rawDescGZIP(), []int{0} +} + +func (x *AISnapshotEntitySkillCycle) GetFailed() bool { + if x != nil { + return x.Failed + } + return false +} + +func (x *AISnapshotEntitySkillCycle) GetTrydoskill() bool { + if x != nil { + return x.Trydoskill + } + return false +} + +func (x *AISnapshotEntitySkillCycle) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *AISnapshotEntitySkillCycle) GetSelected() bool { + if x != nil { + return x.Selected + } + return false +} + +func (x *AISnapshotEntitySkillCycle) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +var File_AISnapshotEntitySkillCycle_proto protoreflect.FileDescriptor + +var file_AISnapshotEntitySkillCycle_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x1a, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x79, 0x63, 0x6c, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x79, + 0x64, 0x6f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x74, + 0x72, 0x79, 0x64, 0x6f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AISnapshotEntitySkillCycle_proto_rawDescOnce sync.Once + file_AISnapshotEntitySkillCycle_proto_rawDescData = file_AISnapshotEntitySkillCycle_proto_rawDesc +) + +func file_AISnapshotEntitySkillCycle_proto_rawDescGZIP() []byte { + file_AISnapshotEntitySkillCycle_proto_rawDescOnce.Do(func() { + file_AISnapshotEntitySkillCycle_proto_rawDescData = protoimpl.X.CompressGZIP(file_AISnapshotEntitySkillCycle_proto_rawDescData) + }) + return file_AISnapshotEntitySkillCycle_proto_rawDescData +} + +var file_AISnapshotEntitySkillCycle_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AISnapshotEntitySkillCycle_proto_goTypes = []interface{}{ + (*AISnapshotEntitySkillCycle)(nil), // 0: AISnapshotEntitySkillCycle +} +var file_AISnapshotEntitySkillCycle_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AISnapshotEntitySkillCycle_proto_init() } +func file_AISnapshotEntitySkillCycle_proto_init() { + if File_AISnapshotEntitySkillCycle_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AISnapshotEntitySkillCycle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AISnapshotEntitySkillCycle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AISnapshotEntitySkillCycle_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AISnapshotEntitySkillCycle_proto_goTypes, + DependencyIndexes: file_AISnapshotEntitySkillCycle_proto_depIdxs, + MessageInfos: file_AISnapshotEntitySkillCycle_proto_msgTypes, + }.Build() + File_AISnapshotEntitySkillCycle_proto = out.File + file_AISnapshotEntitySkillCycle_proto_rawDesc = nil + file_AISnapshotEntitySkillCycle_proto_goTypes = nil + file_AISnapshotEntitySkillCycle_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.proto b/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.proto new file mode 100644 index 00000000..75fe720f --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotEntitySkillCycle.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AISnapshotEntitySkillCycle { + bool failed = 12; + bool trydoskill = 8; + bool success = 9; + bool selected = 1; + uint32 skill_id = 2; +} diff --git a/gate-hk4e-api/proto/AISnapshotInfo.pb.go b/gate-hk4e-api/proto/AISnapshotInfo.pb.go new file mode 100644 index 00000000..76e0c200 --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AISnapshotInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AISnapshotInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AiSnapshots []*AISnapshotEntityData `protobuf:"bytes,13,rep,name=ai_snapshots,json=aiSnapshots,proto3" json:"ai_snapshots,omitempty"` +} + +func (x *AISnapshotInfo) Reset() { + *x = AISnapshotInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AISnapshotInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AISnapshotInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AISnapshotInfo) ProtoMessage() {} + +func (x *AISnapshotInfo) ProtoReflect() protoreflect.Message { + mi := &file_AISnapshotInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AISnapshotInfo.ProtoReflect.Descriptor instead. +func (*AISnapshotInfo) Descriptor() ([]byte, []int) { + return file_AISnapshotInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AISnapshotInfo) GetAiSnapshots() []*AISnapshotEntityData { + if x != nil { + return x.AiSnapshots + } + return nil +} + +var File_AISnapshotInfo_proto protoreflect.FileDescriptor + +var file_AISnapshotInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x0e, 0x41, 0x49, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0c, 0x61, 0x69, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x49, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x0b, 0x61, 0x69, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AISnapshotInfo_proto_rawDescOnce sync.Once + file_AISnapshotInfo_proto_rawDescData = file_AISnapshotInfo_proto_rawDesc +) + +func file_AISnapshotInfo_proto_rawDescGZIP() []byte { + file_AISnapshotInfo_proto_rawDescOnce.Do(func() { + file_AISnapshotInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AISnapshotInfo_proto_rawDescData) + }) + return file_AISnapshotInfo_proto_rawDescData +} + +var file_AISnapshotInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AISnapshotInfo_proto_goTypes = []interface{}{ + (*AISnapshotInfo)(nil), // 0: AISnapshotInfo + (*AISnapshotEntityData)(nil), // 1: AISnapshotEntityData +} +var file_AISnapshotInfo_proto_depIdxs = []int32{ + 1, // 0: AISnapshotInfo.ai_snapshots:type_name -> AISnapshotEntityData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AISnapshotInfo_proto_init() } +func file_AISnapshotInfo_proto_init() { + if File_AISnapshotInfo_proto != nil { + return + } + file_AISnapshotEntityData_proto_init() + if !protoimpl.UnsafeEnabled { + file_AISnapshotInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AISnapshotInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AISnapshotInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AISnapshotInfo_proto_goTypes, + DependencyIndexes: file_AISnapshotInfo_proto_depIdxs, + MessageInfos: file_AISnapshotInfo_proto_msgTypes, + }.Build() + File_AISnapshotInfo_proto = out.File + file_AISnapshotInfo_proto_rawDesc = nil + file_AISnapshotInfo_proto_goTypes = nil + file_AISnapshotInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AISnapshotInfo.proto b/gate-hk4e-api/proto/AISnapshotInfo.proto new file mode 100644 index 00000000..d20ebae6 --- /dev/null +++ b/gate-hk4e-api/proto/AISnapshotInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AISnapshotEntityData.proto"; + +option go_package = "./;proto"; + +message AISnapshotInfo { + repeated AISnapshotEntityData ai_snapshots = 13; +} diff --git a/gate-hk4e-api/proto/AbilityActionBlink.pb.go b/gate-hk4e-api/proto/AbilityActionBlink.pb.go new file mode 100644 index 00000000..86b0c09d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionBlink.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionBlink.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionBlink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,11,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AbilityActionBlink) Reset() { + *x = AbilityActionBlink{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionBlink_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionBlink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionBlink) ProtoMessage() {} + +func (x *AbilityActionBlink) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionBlink_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionBlink.ProtoReflect.Descriptor instead. +func (*AbilityActionBlink) Descriptor() ([]byte, []int) { + return file_AbilityActionBlink_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionBlink) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *AbilityActionBlink) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AbilityActionBlink_proto protoreflect.FileDescriptor + +var file_AbilityActionBlink_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x19, + 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionBlink_proto_rawDescOnce sync.Once + file_AbilityActionBlink_proto_rawDescData = file_AbilityActionBlink_proto_rawDesc +) + +func file_AbilityActionBlink_proto_rawDescGZIP() []byte { + file_AbilityActionBlink_proto_rawDescOnce.Do(func() { + file_AbilityActionBlink_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionBlink_proto_rawDescData) + }) + return file_AbilityActionBlink_proto_rawDescData +} + +var file_AbilityActionBlink_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionBlink_proto_goTypes = []interface{}{ + (*AbilityActionBlink)(nil), // 0: AbilityActionBlink + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionBlink_proto_depIdxs = []int32{ + 1, // 0: AbilityActionBlink.rot:type_name -> Vector + 1, // 1: AbilityActionBlink.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionBlink_proto_init() } +func file_AbilityActionBlink_proto_init() { + if File_AbilityActionBlink_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionBlink_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionBlink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionBlink_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionBlink_proto_goTypes, + DependencyIndexes: file_AbilityActionBlink_proto_depIdxs, + MessageInfos: file_AbilityActionBlink_proto_msgTypes, + }.Build() + File_AbilityActionBlink_proto = out.File + file_AbilityActionBlink_proto_rawDesc = nil + file_AbilityActionBlink_proto_goTypes = nil + file_AbilityActionBlink_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionBlink.proto b/gate-hk4e-api/proto/AbilityActionBlink.proto new file mode 100644 index 00000000..78428a04 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionBlink.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionBlink { + Vector rot = 11; + Vector pos = 10; +} diff --git a/gate-hk4e-api/proto/AbilityActionCreateGadget.pb.go b/gate-hk4e-api/proto/AbilityActionCreateGadget.pb.go new file mode 100644 index 00000000..f4ec9f35 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionCreateGadget.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionCreateGadget.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionCreateGadget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Rot *Vector `protobuf:"bytes,8,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,11,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AbilityActionCreateGadget) Reset() { + *x = AbilityActionCreateGadget{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionCreateGadget_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionCreateGadget) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionCreateGadget) ProtoMessage() {} + +func (x *AbilityActionCreateGadget) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionCreateGadget_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionCreateGadget.ProtoReflect.Descriptor instead. +func (*AbilityActionCreateGadget) Descriptor() ([]byte, []int) { + return file_AbilityActionCreateGadget_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionCreateGadget) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *AbilityActionCreateGadget) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *AbilityActionCreateGadget) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AbilityActionCreateGadget_proto protoreflect.FileDescriptor + +var file_AbilityActionCreateGadget_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6a, 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, + 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, + 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionCreateGadget_proto_rawDescOnce sync.Once + file_AbilityActionCreateGadget_proto_rawDescData = file_AbilityActionCreateGadget_proto_rawDesc +) + +func file_AbilityActionCreateGadget_proto_rawDescGZIP() []byte { + file_AbilityActionCreateGadget_proto_rawDescOnce.Do(func() { + file_AbilityActionCreateGadget_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionCreateGadget_proto_rawDescData) + }) + return file_AbilityActionCreateGadget_proto_rawDescData +} + +var file_AbilityActionCreateGadget_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionCreateGadget_proto_goTypes = []interface{}{ + (*AbilityActionCreateGadget)(nil), // 0: AbilityActionCreateGadget + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionCreateGadget_proto_depIdxs = []int32{ + 1, // 0: AbilityActionCreateGadget.rot:type_name -> Vector + 1, // 1: AbilityActionCreateGadget.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionCreateGadget_proto_init() } +func file_AbilityActionCreateGadget_proto_init() { + if File_AbilityActionCreateGadget_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionCreateGadget_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionCreateGadget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionCreateGadget_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionCreateGadget_proto_goTypes, + DependencyIndexes: file_AbilityActionCreateGadget_proto_depIdxs, + MessageInfos: file_AbilityActionCreateGadget_proto_msgTypes, + }.Build() + File_AbilityActionCreateGadget_proto = out.File + file_AbilityActionCreateGadget_proto_rawDesc = nil + file_AbilityActionCreateGadget_proto_goTypes = nil + file_AbilityActionCreateGadget_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionCreateGadget.proto b/gate-hk4e-api/proto/AbilityActionCreateGadget.proto new file mode 100644 index 00000000..b72d1862 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionCreateGadget.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionCreateGadget { + uint32 room_id = 3; + Vector rot = 8; + Vector pos = 11; +} diff --git a/gate-hk4e-api/proto/AbilityActionCreateTile.pb.go b/gate-hk4e-api/proto/AbilityActionCreateTile.pb.go new file mode 100644 index 00000000..9d4c9270 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionCreateTile.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionCreateTile.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionCreateTile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,3,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,8,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AbilityActionCreateTile) Reset() { + *x = AbilityActionCreateTile{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionCreateTile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionCreateTile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionCreateTile) ProtoMessage() {} + +func (x *AbilityActionCreateTile) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionCreateTile_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionCreateTile.ProtoReflect.Descriptor instead. +func (*AbilityActionCreateTile) Descriptor() ([]byte, []int) { + return file_AbilityActionCreateTile_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionCreateTile) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *AbilityActionCreateTile) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AbilityActionCreateTile_proto protoreflect.FileDescriptor + +var file_AbilityActionCreateTile_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, + 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, + 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityActionCreateTile_proto_rawDescOnce sync.Once + file_AbilityActionCreateTile_proto_rawDescData = file_AbilityActionCreateTile_proto_rawDesc +) + +func file_AbilityActionCreateTile_proto_rawDescGZIP() []byte { + file_AbilityActionCreateTile_proto_rawDescOnce.Do(func() { + file_AbilityActionCreateTile_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionCreateTile_proto_rawDescData) + }) + return file_AbilityActionCreateTile_proto_rawDescData +} + +var file_AbilityActionCreateTile_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionCreateTile_proto_goTypes = []interface{}{ + (*AbilityActionCreateTile)(nil), // 0: AbilityActionCreateTile + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionCreateTile_proto_depIdxs = []int32{ + 1, // 0: AbilityActionCreateTile.rot:type_name -> Vector + 1, // 1: AbilityActionCreateTile.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionCreateTile_proto_init() } +func file_AbilityActionCreateTile_proto_init() { + if File_AbilityActionCreateTile_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionCreateTile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionCreateTile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionCreateTile_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionCreateTile_proto_goTypes, + DependencyIndexes: file_AbilityActionCreateTile_proto_depIdxs, + MessageInfos: file_AbilityActionCreateTile_proto_msgTypes, + }.Build() + File_AbilityActionCreateTile_proto = out.File + file_AbilityActionCreateTile_proto_rawDesc = nil + file_AbilityActionCreateTile_proto_goTypes = nil + file_AbilityActionCreateTile_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionCreateTile.proto b/gate-hk4e-api/proto/AbilityActionCreateTile.proto new file mode 100644 index 00000000..7fa4be3d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionCreateTile.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionCreateTile { + Vector rot = 3; + Vector pos = 8; +} diff --git a/gate-hk4e-api/proto/AbilityActionDestroyTile.pb.go b/gate-hk4e-api/proto/AbilityActionDestroyTile.pb.go new file mode 100644 index 00000000..b1f1724e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionDestroyTile.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionDestroyTile.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionDestroyTile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,3,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AbilityActionDestroyTile) Reset() { + *x = AbilityActionDestroyTile{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionDestroyTile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionDestroyTile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionDestroyTile) ProtoMessage() {} + +func (x *AbilityActionDestroyTile) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionDestroyTile_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionDestroyTile.ProtoReflect.Descriptor instead. +func (*AbilityActionDestroyTile) Descriptor() ([]byte, []int) { + return file_AbilityActionDestroyTile_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionDestroyTile) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *AbilityActionDestroyTile) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AbilityActionDestroyTile_proto protoreflect.FileDescriptor + +var file_AbilityActionDestroyTile_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, + 0x0a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionDestroyTile_proto_rawDescOnce sync.Once + file_AbilityActionDestroyTile_proto_rawDescData = file_AbilityActionDestroyTile_proto_rawDesc +) + +func file_AbilityActionDestroyTile_proto_rawDescGZIP() []byte { + file_AbilityActionDestroyTile_proto_rawDescOnce.Do(func() { + file_AbilityActionDestroyTile_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionDestroyTile_proto_rawDescData) + }) + return file_AbilityActionDestroyTile_proto_rawDescData +} + +var file_AbilityActionDestroyTile_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionDestroyTile_proto_goTypes = []interface{}{ + (*AbilityActionDestroyTile)(nil), // 0: AbilityActionDestroyTile + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionDestroyTile_proto_depIdxs = []int32{ + 1, // 0: AbilityActionDestroyTile.rot:type_name -> Vector + 1, // 1: AbilityActionDestroyTile.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionDestroyTile_proto_init() } +func file_AbilityActionDestroyTile_proto_init() { + if File_AbilityActionDestroyTile_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionDestroyTile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionDestroyTile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionDestroyTile_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionDestroyTile_proto_goTypes, + DependencyIndexes: file_AbilityActionDestroyTile_proto_depIdxs, + MessageInfos: file_AbilityActionDestroyTile_proto_msgTypes, + }.Build() + File_AbilityActionDestroyTile_proto = out.File + file_AbilityActionDestroyTile_proto_rawDesc = nil + file_AbilityActionDestroyTile_proto_goTypes = nil + file_AbilityActionDestroyTile_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionDestroyTile.proto b/gate-hk4e-api/proto/AbilityActionDestroyTile.proto new file mode 100644 index 00000000..f9a6ee3e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionDestroyTile.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionDestroyTile { + Vector rot = 3; + Vector pos = 1; +} diff --git a/gate-hk4e-api/proto/AbilityActionFireAfterImage.pb.go b/gate-hk4e-api/proto/AbilityActionFireAfterImage.pb.go new file mode 100644 index 00000000..d718348e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionFireAfterImage.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionFireAfterImage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionFireAfterImage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dir *Vector `protobuf:"bytes,12,opt,name=dir,proto3" json:"dir,omitempty"` +} + +func (x *AbilityActionFireAfterImage) Reset() { + *x = AbilityActionFireAfterImage{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionFireAfterImage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionFireAfterImage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionFireAfterImage) ProtoMessage() {} + +func (x *AbilityActionFireAfterImage) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionFireAfterImage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionFireAfterImage.ProtoReflect.Descriptor instead. +func (*AbilityActionFireAfterImage) Descriptor() ([]byte, []int) { + return file_AbilityActionFireAfterImage_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionFireAfterImage) GetDir() *Vector { + if x != nil { + return x.Dir + } + return nil +} + +var File_AbilityActionFireAfterImage_proto protoreflect.FileDescriptor + +var file_AbilityActionFireAfterImage_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, + 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x38, 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x12, 0x19, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x64, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionFireAfterImage_proto_rawDescOnce sync.Once + file_AbilityActionFireAfterImage_proto_rawDescData = file_AbilityActionFireAfterImage_proto_rawDesc +) + +func file_AbilityActionFireAfterImage_proto_rawDescGZIP() []byte { + file_AbilityActionFireAfterImage_proto_rawDescOnce.Do(func() { + file_AbilityActionFireAfterImage_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionFireAfterImage_proto_rawDescData) + }) + return file_AbilityActionFireAfterImage_proto_rawDescData +} + +var file_AbilityActionFireAfterImage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionFireAfterImage_proto_goTypes = []interface{}{ + (*AbilityActionFireAfterImage)(nil), // 0: AbilityActionFireAfterImage + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionFireAfterImage_proto_depIdxs = []int32{ + 1, // 0: AbilityActionFireAfterImage.dir:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityActionFireAfterImage_proto_init() } +func file_AbilityActionFireAfterImage_proto_init() { + if File_AbilityActionFireAfterImage_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionFireAfterImage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionFireAfterImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionFireAfterImage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionFireAfterImage_proto_goTypes, + DependencyIndexes: file_AbilityActionFireAfterImage_proto_depIdxs, + MessageInfos: file_AbilityActionFireAfterImage_proto_msgTypes, + }.Build() + File_AbilityActionFireAfterImage_proto = out.File + file_AbilityActionFireAfterImage_proto_rawDesc = nil + file_AbilityActionFireAfterImage_proto_goTypes = nil + file_AbilityActionFireAfterImage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionFireAfterImage.proto b/gate-hk4e-api/proto/AbilityActionFireAfterImage.proto new file mode 100644 index 00000000..cbfdf34a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionFireAfterImage.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionFireAfterImage { + Vector dir = 12; +} diff --git a/gate-hk4e-api/proto/AbilityActionGenerateElemBall.pb.go b/gate-hk4e-api/proto/AbilityActionGenerateElemBall.pb.go new file mode 100644 index 00000000..6220264a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionGenerateElemBall.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionGenerateElemBall.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionGenerateElemBall struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Pos *Vector `protobuf:"bytes,7,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,13,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *AbilityActionGenerateElemBall) Reset() { + *x = AbilityActionGenerateElemBall{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionGenerateElemBall_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionGenerateElemBall) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionGenerateElemBall) ProtoMessage() {} + +func (x *AbilityActionGenerateElemBall) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionGenerateElemBall_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionGenerateElemBall.ProtoReflect.Descriptor instead. +func (*AbilityActionGenerateElemBall) Descriptor() ([]byte, []int) { + return file_AbilityActionGenerateElemBall_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionGenerateElemBall) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *AbilityActionGenerateElemBall) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *AbilityActionGenerateElemBall) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_AbilityActionGenerateElemBall_proto protoreflect.FileDescriptor + +var file_AbilityActionGenerateElemBall_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x42, 0x61, 0x6c, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x6c, 0x65, 0x6d, + 0x42, 0x61, 0x6c, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x03, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, + 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionGenerateElemBall_proto_rawDescOnce sync.Once + file_AbilityActionGenerateElemBall_proto_rawDescData = file_AbilityActionGenerateElemBall_proto_rawDesc +) + +func file_AbilityActionGenerateElemBall_proto_rawDescGZIP() []byte { + file_AbilityActionGenerateElemBall_proto_rawDescOnce.Do(func() { + file_AbilityActionGenerateElemBall_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionGenerateElemBall_proto_rawDescData) + }) + return file_AbilityActionGenerateElemBall_proto_rawDescData +} + +var file_AbilityActionGenerateElemBall_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionGenerateElemBall_proto_goTypes = []interface{}{ + (*AbilityActionGenerateElemBall)(nil), // 0: AbilityActionGenerateElemBall + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionGenerateElemBall_proto_depIdxs = []int32{ + 1, // 0: AbilityActionGenerateElemBall.pos:type_name -> Vector + 1, // 1: AbilityActionGenerateElemBall.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionGenerateElemBall_proto_init() } +func file_AbilityActionGenerateElemBall_proto_init() { + if File_AbilityActionGenerateElemBall_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionGenerateElemBall_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionGenerateElemBall); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionGenerateElemBall_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionGenerateElemBall_proto_goTypes, + DependencyIndexes: file_AbilityActionGenerateElemBall_proto_depIdxs, + MessageInfos: file_AbilityActionGenerateElemBall_proto_msgTypes, + }.Build() + File_AbilityActionGenerateElemBall_proto = out.File + file_AbilityActionGenerateElemBall_proto_rawDesc = nil + file_AbilityActionGenerateElemBall_proto_goTypes = nil + file_AbilityActionGenerateElemBall_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionGenerateElemBall.proto b/gate-hk4e-api/proto/AbilityActionGenerateElemBall.proto new file mode 100644 index 00000000..a5bf6688 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionGenerateElemBall.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionGenerateElemBall { + uint32 room_id = 2; + Vector pos = 7; + Vector rot = 13; +} diff --git a/gate-hk4e-api/proto/AbilityActionServerMonsterLog.pb.go b/gate-hk4e-api/proto/AbilityActionServerMonsterLog.pb.go new file mode 100644 index 00000000..a1ceae2f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionServerMonsterLog.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionServerMonsterLog.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionServerMonsterLog struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList []int32 `protobuf:"varint,2,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` +} + +func (x *AbilityActionServerMonsterLog) Reset() { + *x = AbilityActionServerMonsterLog{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionServerMonsterLog_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionServerMonsterLog) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionServerMonsterLog) ProtoMessage() {} + +func (x *AbilityActionServerMonsterLog) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionServerMonsterLog_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionServerMonsterLog.ProtoReflect.Descriptor instead. +func (*AbilityActionServerMonsterLog) Descriptor() ([]byte, []int) { + return file_AbilityActionServerMonsterLog_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionServerMonsterLog) GetParamList() []int32 { + if x != nil { + return x.ParamList + } + return nil +} + +var File_AbilityActionServerMonsterLog_proto protoreflect.FileDescriptor + +var file_AbilityActionServerMonsterLog_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionServerMonsterLog_proto_rawDescOnce sync.Once + file_AbilityActionServerMonsterLog_proto_rawDescData = file_AbilityActionServerMonsterLog_proto_rawDesc +) + +func file_AbilityActionServerMonsterLog_proto_rawDescGZIP() []byte { + file_AbilityActionServerMonsterLog_proto_rawDescOnce.Do(func() { + file_AbilityActionServerMonsterLog_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionServerMonsterLog_proto_rawDescData) + }) + return file_AbilityActionServerMonsterLog_proto_rawDescData +} + +var file_AbilityActionServerMonsterLog_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionServerMonsterLog_proto_goTypes = []interface{}{ + (*AbilityActionServerMonsterLog)(nil), // 0: AbilityActionServerMonsterLog +} +var file_AbilityActionServerMonsterLog_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityActionServerMonsterLog_proto_init() } +func file_AbilityActionServerMonsterLog_proto_init() { + if File_AbilityActionServerMonsterLog_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityActionServerMonsterLog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionServerMonsterLog); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionServerMonsterLog_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionServerMonsterLog_proto_goTypes, + DependencyIndexes: file_AbilityActionServerMonsterLog_proto_depIdxs, + MessageInfos: file_AbilityActionServerMonsterLog_proto_msgTypes, + }.Build() + File_AbilityActionServerMonsterLog_proto = out.File + file_AbilityActionServerMonsterLog_proto_rawDesc = nil + file_AbilityActionServerMonsterLog_proto_goTypes = nil + file_AbilityActionServerMonsterLog_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionServerMonsterLog.proto b/gate-hk4e-api/proto/AbilityActionServerMonsterLog.proto new file mode 100644 index 00000000..905f5a41 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionServerMonsterLog.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityActionServerMonsterLog { + repeated int32 param_list = 2; +} diff --git a/gate-hk4e-api/proto/AbilityActionSetCrashDamage.pb.go b/gate-hk4e-api/proto/AbilityActionSetCrashDamage.pb.go new file mode 100644 index 00000000..bea83ade --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSetCrashDamage.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionSetCrashDamage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionSetCrashDamage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitPos *Vector `protobuf:"bytes,2,opt,name=hit_pos,json=hitPos,proto3" json:"hit_pos,omitempty"` + Damage float32 `protobuf:"fixed32,15,opt,name=damage,proto3" json:"damage,omitempty"` +} + +func (x *AbilityActionSetCrashDamage) Reset() { + *x = AbilityActionSetCrashDamage{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionSetCrashDamage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionSetCrashDamage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionSetCrashDamage) ProtoMessage() {} + +func (x *AbilityActionSetCrashDamage) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionSetCrashDamage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionSetCrashDamage.ProtoReflect.Descriptor instead. +func (*AbilityActionSetCrashDamage) Descriptor() ([]byte, []int) { + return file_AbilityActionSetCrashDamage_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionSetCrashDamage) GetHitPos() *Vector { + if x != nil { + return x.HitPos + } + return nil +} + +func (x *AbilityActionSetCrashDamage) GetDamage() float32 { + if x != nil { + return x.Damage + } + return 0 +} + +var File_AbilityActionSetCrashDamage_proto protoreflect.FileDescriptor + +var file_AbilityActionSetCrashDamage_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x43, 0x72, 0x61, 0x73, 0x68, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x57, 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x43, 0x72, 0x61, 0x73, 0x68, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, + 0x12, 0x20, 0x0a, 0x07, 0x68, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x68, 0x69, 0x74, 0x50, + 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionSetCrashDamage_proto_rawDescOnce sync.Once + file_AbilityActionSetCrashDamage_proto_rawDescData = file_AbilityActionSetCrashDamage_proto_rawDesc +) + +func file_AbilityActionSetCrashDamage_proto_rawDescGZIP() []byte { + file_AbilityActionSetCrashDamage_proto_rawDescOnce.Do(func() { + file_AbilityActionSetCrashDamage_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionSetCrashDamage_proto_rawDescData) + }) + return file_AbilityActionSetCrashDamage_proto_rawDescData +} + +var file_AbilityActionSetCrashDamage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionSetCrashDamage_proto_goTypes = []interface{}{ + (*AbilityActionSetCrashDamage)(nil), // 0: AbilityActionSetCrashDamage + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionSetCrashDamage_proto_depIdxs = []int32{ + 1, // 0: AbilityActionSetCrashDamage.hit_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityActionSetCrashDamage_proto_init() } +func file_AbilityActionSetCrashDamage_proto_init() { + if File_AbilityActionSetCrashDamage_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionSetCrashDamage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionSetCrashDamage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionSetCrashDamage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionSetCrashDamage_proto_goTypes, + DependencyIndexes: file_AbilityActionSetCrashDamage_proto_depIdxs, + MessageInfos: file_AbilityActionSetCrashDamage_proto_msgTypes, + }.Build() + File_AbilityActionSetCrashDamage_proto = out.File + file_AbilityActionSetCrashDamage_proto_rawDesc = nil + file_AbilityActionSetCrashDamage_proto_goTypes = nil + file_AbilityActionSetCrashDamage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionSetCrashDamage.proto b/gate-hk4e-api/proto/AbilityActionSetCrashDamage.proto new file mode 100644 index 00000000..de95d7f1 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSetCrashDamage.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionSetCrashDamage { + Vector hit_pos = 2; + float damage = 15; +} diff --git a/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.pb.go b/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.pb.go new file mode 100644 index 00000000..dfa8620a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionSetRandomOverrideMapValue.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionSetRandomOverrideMapValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandomValue float32 `protobuf:"fixed32,1,opt,name=random_value,json=randomValue,proto3" json:"random_value,omitempty"` +} + +func (x *AbilityActionSetRandomOverrideMapValue) Reset() { + *x = AbilityActionSetRandomOverrideMapValue{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionSetRandomOverrideMapValue_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionSetRandomOverrideMapValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionSetRandomOverrideMapValue) ProtoMessage() {} + +func (x *AbilityActionSetRandomOverrideMapValue) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionSetRandomOverrideMapValue_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionSetRandomOverrideMapValue.ProtoReflect.Descriptor instead. +func (*AbilityActionSetRandomOverrideMapValue) Descriptor() ([]byte, []int) { + return file_AbilityActionSetRandomOverrideMapValue_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionSetRandomOverrideMapValue) GetRandomValue() float32 { + if x != nil { + return x.RandomValue + } + return 0 +} + +var File_AbilityActionSetRandomOverrideMapValue_proto protoreflect.FileDescriptor + +var file_AbilityActionSetRandomOverrideMapValue_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, + 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, + 0x0a, 0x26, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, + 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x61, 0x6e, 0x64, + 0x6f, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, + 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionSetRandomOverrideMapValue_proto_rawDescOnce sync.Once + file_AbilityActionSetRandomOverrideMapValue_proto_rawDescData = file_AbilityActionSetRandomOverrideMapValue_proto_rawDesc +) + +func file_AbilityActionSetRandomOverrideMapValue_proto_rawDescGZIP() []byte { + file_AbilityActionSetRandomOverrideMapValue_proto_rawDescOnce.Do(func() { + file_AbilityActionSetRandomOverrideMapValue_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionSetRandomOverrideMapValue_proto_rawDescData) + }) + return file_AbilityActionSetRandomOverrideMapValue_proto_rawDescData +} + +var file_AbilityActionSetRandomOverrideMapValue_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionSetRandomOverrideMapValue_proto_goTypes = []interface{}{ + (*AbilityActionSetRandomOverrideMapValue)(nil), // 0: AbilityActionSetRandomOverrideMapValue +} +var file_AbilityActionSetRandomOverrideMapValue_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityActionSetRandomOverrideMapValue_proto_init() } +func file_AbilityActionSetRandomOverrideMapValue_proto_init() { + if File_AbilityActionSetRandomOverrideMapValue_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityActionSetRandomOverrideMapValue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionSetRandomOverrideMapValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionSetRandomOverrideMapValue_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionSetRandomOverrideMapValue_proto_goTypes, + DependencyIndexes: file_AbilityActionSetRandomOverrideMapValue_proto_depIdxs, + MessageInfos: file_AbilityActionSetRandomOverrideMapValue_proto_msgTypes, + }.Build() + File_AbilityActionSetRandomOverrideMapValue_proto = out.File + file_AbilityActionSetRandomOverrideMapValue_proto_rawDesc = nil + file_AbilityActionSetRandomOverrideMapValue_proto_goTypes = nil + file_AbilityActionSetRandomOverrideMapValue_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.proto b/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.proto new file mode 100644 index 00000000..6720f648 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSetRandomOverrideMapValue.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityActionSetRandomOverrideMapValue { + float random_value = 1; +} diff --git a/gate-hk4e-api/proto/AbilityActionSummon.pb.go b/gate-hk4e-api/proto/AbilityActionSummon.pb.go new file mode 100644 index 00000000..3b5ac7ff --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSummon.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionSummon.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionSummon struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,1,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *AbilityActionSummon) Reset() { + *x = AbilityActionSummon{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionSummon_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionSummon) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionSummon) ProtoMessage() {} + +func (x *AbilityActionSummon) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionSummon_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionSummon.ProtoReflect.Descriptor instead. +func (*AbilityActionSummon) Descriptor() ([]byte, []int) { + return file_AbilityActionSummon_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionSummon) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *AbilityActionSummon) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_AbilityActionSummon_proto protoreflect.FileDescriptor + +var file_AbilityActionSummon_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, + 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, + 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityActionSummon_proto_rawDescOnce sync.Once + file_AbilityActionSummon_proto_rawDescData = file_AbilityActionSummon_proto_rawDesc +) + +func file_AbilityActionSummon_proto_rawDescGZIP() []byte { + file_AbilityActionSummon_proto_rawDescOnce.Do(func() { + file_AbilityActionSummon_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionSummon_proto_rawDescData) + }) + return file_AbilityActionSummon_proto_rawDescData +} + +var file_AbilityActionSummon_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionSummon_proto_goTypes = []interface{}{ + (*AbilityActionSummon)(nil), // 0: AbilityActionSummon + (*Vector)(nil), // 1: Vector +} +var file_AbilityActionSummon_proto_depIdxs = []int32{ + 1, // 0: AbilityActionSummon.pos:type_name -> Vector + 1, // 1: AbilityActionSummon.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityActionSummon_proto_init() } +func file_AbilityActionSummon_proto_init() { + if File_AbilityActionSummon_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityActionSummon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionSummon); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionSummon_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionSummon_proto_goTypes, + DependencyIndexes: file_AbilityActionSummon_proto_depIdxs, + MessageInfos: file_AbilityActionSummon_proto_msgTypes, + }.Build() + File_AbilityActionSummon_proto = out.File + file_AbilityActionSummon_proto_rawDesc = nil + file_AbilityActionSummon_proto_goTypes = nil + file_AbilityActionSummon_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionSummon.proto b/gate-hk4e-api/proto/AbilityActionSummon.proto new file mode 100644 index 00000000..54527f2d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionSummon.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityActionSummon { + Vector pos = 10; + Vector rot = 1; +} diff --git a/gate-hk4e-api/proto/AbilityActionTriggerAbility.pb.go b/gate-hk4e-api/proto/AbilityActionTriggerAbility.pb.go new file mode 100644 index 00000000..cde9577f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionTriggerAbility.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityActionTriggerAbility.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityActionTriggerAbility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OtherId uint32 `protobuf:"varint,14,opt,name=other_id,json=otherId,proto3" json:"other_id,omitempty"` +} + +func (x *AbilityActionTriggerAbility) Reset() { + *x = AbilityActionTriggerAbility{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityActionTriggerAbility_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityActionTriggerAbility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityActionTriggerAbility) ProtoMessage() {} + +func (x *AbilityActionTriggerAbility) ProtoReflect() protoreflect.Message { + mi := &file_AbilityActionTriggerAbility_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityActionTriggerAbility.ProtoReflect.Descriptor instead. +func (*AbilityActionTriggerAbility) Descriptor() ([]byte, []int) { + return file_AbilityActionTriggerAbility_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityActionTriggerAbility) GetOtherId() uint32 { + if x != nil { + return x.OtherId + } + return 0 +} + +var File_AbilityActionTriggerAbility_proto protoreflect.FileDescriptor + +var file_AbilityActionTriggerAbility_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AbilityActionTriggerAbility_proto_rawDescOnce sync.Once + file_AbilityActionTriggerAbility_proto_rawDescData = file_AbilityActionTriggerAbility_proto_rawDesc +) + +func file_AbilityActionTriggerAbility_proto_rawDescGZIP() []byte { + file_AbilityActionTriggerAbility_proto_rawDescOnce.Do(func() { + file_AbilityActionTriggerAbility_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityActionTriggerAbility_proto_rawDescData) + }) + return file_AbilityActionTriggerAbility_proto_rawDescData +} + +var file_AbilityActionTriggerAbility_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityActionTriggerAbility_proto_goTypes = []interface{}{ + (*AbilityActionTriggerAbility)(nil), // 0: AbilityActionTriggerAbility +} +var file_AbilityActionTriggerAbility_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityActionTriggerAbility_proto_init() } +func file_AbilityActionTriggerAbility_proto_init() { + if File_AbilityActionTriggerAbility_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityActionTriggerAbility_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityActionTriggerAbility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityActionTriggerAbility_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityActionTriggerAbility_proto_goTypes, + DependencyIndexes: file_AbilityActionTriggerAbility_proto_depIdxs, + MessageInfos: file_AbilityActionTriggerAbility_proto_msgTypes, + }.Build() + File_AbilityActionTriggerAbility_proto = out.File + file_AbilityActionTriggerAbility_proto_rawDesc = nil + file_AbilityActionTriggerAbility_proto_goTypes = nil + file_AbilityActionTriggerAbility_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityActionTriggerAbility.proto b/gate-hk4e-api/proto/AbilityActionTriggerAbility.proto new file mode 100644 index 00000000..0c819b7e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityActionTriggerAbility.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityActionTriggerAbility { + uint32 other_id = 14; +} diff --git a/gate-hk4e-api/proto/AbilityAppliedAbility.pb.go b/gate-hk4e-api/proto/AbilityAppliedAbility.pb.go new file mode 100644 index 00000000..b7e47c1b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAppliedAbility.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityAppliedAbility.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityAppliedAbility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityName *AbilityString `protobuf:"bytes,1,opt,name=ability_name,json=abilityName,proto3" json:"ability_name,omitempty"` + AbilityOverride *AbilityString `protobuf:"bytes,2,opt,name=ability_override,json=abilityOverride,proto3" json:"ability_override,omitempty"` + OverrideMap []*AbilityScalarValueEntry `protobuf:"bytes,3,rep,name=override_map,json=overrideMap,proto3" json:"override_map,omitempty"` + InstancedAbilityId uint32 `protobuf:"varint,4,opt,name=instanced_ability_id,json=instancedAbilityId,proto3" json:"instanced_ability_id,omitempty"` +} + +func (x *AbilityAppliedAbility) Reset() { + *x = AbilityAppliedAbility{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityAppliedAbility_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityAppliedAbility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityAppliedAbility) ProtoMessage() {} + +func (x *AbilityAppliedAbility) ProtoReflect() protoreflect.Message { + mi := &file_AbilityAppliedAbility_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityAppliedAbility.ProtoReflect.Descriptor instead. +func (*AbilityAppliedAbility) Descriptor() ([]byte, []int) { + return file_AbilityAppliedAbility_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityAppliedAbility) GetAbilityName() *AbilityString { + if x != nil { + return x.AbilityName + } + return nil +} + +func (x *AbilityAppliedAbility) GetAbilityOverride() *AbilityString { + if x != nil { + return x.AbilityOverride + } + return nil +} + +func (x *AbilityAppliedAbility) GetOverrideMap() []*AbilityScalarValueEntry { + if x != nil { + return x.OverrideMap + } + return nil +} + +func (x *AbilityAppliedAbility) GetInstancedAbilityId() uint32 { + if x != nil { + return x.InstancedAbilityId + } + return 0 +} + +var File_AbilityAppliedAbility_proto protoreflect.FileDescriptor + +var file_AbilityAppliedAbility_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf4, 0x01, 0x0a, 0x15, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x0c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x0b, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, + 0x0a, 0x10, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x6f, 0x76, 0x65, + 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityAppliedAbility_proto_rawDescOnce sync.Once + file_AbilityAppliedAbility_proto_rawDescData = file_AbilityAppliedAbility_proto_rawDesc +) + +func file_AbilityAppliedAbility_proto_rawDescGZIP() []byte { + file_AbilityAppliedAbility_proto_rawDescOnce.Do(func() { + file_AbilityAppliedAbility_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityAppliedAbility_proto_rawDescData) + }) + return file_AbilityAppliedAbility_proto_rawDescData +} + +var file_AbilityAppliedAbility_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityAppliedAbility_proto_goTypes = []interface{}{ + (*AbilityAppliedAbility)(nil), // 0: AbilityAppliedAbility + (*AbilityString)(nil), // 1: AbilityString + (*AbilityScalarValueEntry)(nil), // 2: AbilityScalarValueEntry +} +var file_AbilityAppliedAbility_proto_depIdxs = []int32{ + 1, // 0: AbilityAppliedAbility.ability_name:type_name -> AbilityString + 1, // 1: AbilityAppliedAbility.ability_override:type_name -> AbilityString + 2, // 2: AbilityAppliedAbility.override_map:type_name -> AbilityScalarValueEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_AbilityAppliedAbility_proto_init() } +func file_AbilityAppliedAbility_proto_init() { + if File_AbilityAppliedAbility_proto != nil { + return + } + file_AbilityScalarValueEntry_proto_init() + file_AbilityString_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityAppliedAbility_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityAppliedAbility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityAppliedAbility_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityAppliedAbility_proto_goTypes, + DependencyIndexes: file_AbilityAppliedAbility_proto_depIdxs, + MessageInfos: file_AbilityAppliedAbility_proto_msgTypes, + }.Build() + File_AbilityAppliedAbility_proto = out.File + file_AbilityAppliedAbility_proto_rawDesc = nil + file_AbilityAppliedAbility_proto_goTypes = nil + file_AbilityAppliedAbility_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityAppliedAbility.proto b/gate-hk4e-api/proto/AbilityAppliedAbility.proto new file mode 100644 index 00000000..dfcb0b8b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAppliedAbility.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityScalarValueEntry.proto"; +import "AbilityString.proto"; + +option go_package = "./;proto"; + +message AbilityAppliedAbility { + AbilityString ability_name = 1; + AbilityString ability_override = 2; + repeated AbilityScalarValueEntry override_map = 3; + uint32 instanced_ability_id = 4; +} diff --git a/gate-hk4e-api/proto/AbilityAppliedModifier.pb.go b/gate-hk4e-api/proto/AbilityAppliedModifier.pb.go new file mode 100644 index 00000000..d0089bb6 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAppliedModifier.pb.go @@ -0,0 +1,313 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityAppliedModifier.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityAppliedModifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModifierLocalId int32 `protobuf:"varint,1,opt,name=modifier_local_id,json=modifierLocalId,proto3" json:"modifier_local_id,omitempty"` + ParentAbilityEntityId uint32 `protobuf:"varint,2,opt,name=parent_ability_entity_id,json=parentAbilityEntityId,proto3" json:"parent_ability_entity_id,omitempty"` + ParentAbilityName *AbilityString `protobuf:"bytes,3,opt,name=parent_ability_name,json=parentAbilityName,proto3" json:"parent_ability_name,omitempty"` + ParentAbilityOverride *AbilityString `protobuf:"bytes,4,opt,name=parent_ability_override,json=parentAbilityOverride,proto3" json:"parent_ability_override,omitempty"` + InstancedAbilityId uint32 `protobuf:"varint,5,opt,name=instanced_ability_id,json=instancedAbilityId,proto3" json:"instanced_ability_id,omitempty"` + InstancedModifierId uint32 `protobuf:"varint,6,opt,name=instanced_modifier_id,json=instancedModifierId,proto3" json:"instanced_modifier_id,omitempty"` + ExistDuration float32 `protobuf:"fixed32,7,opt,name=exist_duration,json=existDuration,proto3" json:"exist_duration,omitempty"` + AttachedInstancedModifier *AbilityAttachedModifier `protobuf:"bytes,8,opt,name=attached_instanced_modifier,json=attachedInstancedModifier,proto3" json:"attached_instanced_modifier,omitempty"` + ApplyEntityId uint32 `protobuf:"varint,9,opt,name=apply_entity_id,json=applyEntityId,proto3" json:"apply_entity_id,omitempty"` + IsAttachedParentAbility bool `protobuf:"varint,10,opt,name=is_attached_parent_ability,json=isAttachedParentAbility,proto3" json:"is_attached_parent_ability,omitempty"` + ModifierDurability *ModifierDurability `protobuf:"bytes,11,opt,name=modifier_durability,json=modifierDurability,proto3" json:"modifier_durability,omitempty"` + SbuffUid uint32 `protobuf:"varint,12,opt,name=sbuff_uid,json=sbuffUid,proto3" json:"sbuff_uid,omitempty"` + IsServerbuffModifier bool `protobuf:"varint,13,opt,name=is_serverbuff_modifier,json=isServerbuffModifier,proto3" json:"is_serverbuff_modifier,omitempty"` +} + +func (x *AbilityAppliedModifier) Reset() { + *x = AbilityAppliedModifier{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityAppliedModifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityAppliedModifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityAppliedModifier) ProtoMessage() {} + +func (x *AbilityAppliedModifier) ProtoReflect() protoreflect.Message { + mi := &file_AbilityAppliedModifier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityAppliedModifier.ProtoReflect.Descriptor instead. +func (*AbilityAppliedModifier) Descriptor() ([]byte, []int) { + return file_AbilityAppliedModifier_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityAppliedModifier) GetModifierLocalId() int32 { + if x != nil { + return x.ModifierLocalId + } + return 0 +} + +func (x *AbilityAppliedModifier) GetParentAbilityEntityId() uint32 { + if x != nil { + return x.ParentAbilityEntityId + } + return 0 +} + +func (x *AbilityAppliedModifier) GetParentAbilityName() *AbilityString { + if x != nil { + return x.ParentAbilityName + } + return nil +} + +func (x *AbilityAppliedModifier) GetParentAbilityOverride() *AbilityString { + if x != nil { + return x.ParentAbilityOverride + } + return nil +} + +func (x *AbilityAppliedModifier) GetInstancedAbilityId() uint32 { + if x != nil { + return x.InstancedAbilityId + } + return 0 +} + +func (x *AbilityAppliedModifier) GetInstancedModifierId() uint32 { + if x != nil { + return x.InstancedModifierId + } + return 0 +} + +func (x *AbilityAppliedModifier) GetExistDuration() float32 { + if x != nil { + return x.ExistDuration + } + return 0 +} + +func (x *AbilityAppliedModifier) GetAttachedInstancedModifier() *AbilityAttachedModifier { + if x != nil { + return x.AttachedInstancedModifier + } + return nil +} + +func (x *AbilityAppliedModifier) GetApplyEntityId() uint32 { + if x != nil { + return x.ApplyEntityId + } + return 0 +} + +func (x *AbilityAppliedModifier) GetIsAttachedParentAbility() bool { + if x != nil { + return x.IsAttachedParentAbility + } + return false +} + +func (x *AbilityAppliedModifier) GetModifierDurability() *ModifierDurability { + if x != nil { + return x.ModifierDurability + } + return nil +} + +func (x *AbilityAppliedModifier) GetSbuffUid() uint32 { + if x != nil { + return x.SbuffUid + } + return 0 +} + +func (x *AbilityAppliedModifier) GetIsServerbuffModifier() bool { + if x != nil { + return x.IsServerbuffModifier + } + return false +} + +var File_AbilityAppliedModifier_proto protoreflect.FileDescriptor + +var file_AbilityAppliedModifier_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x18, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x05, 0x0a, + 0x16, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x13, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x17, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, + 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x15, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x76, 0x65, 0x72, + 0x72, 0x69, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x64, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x0d, 0x65, 0x78, 0x69, 0x73, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x58, 0x0a, 0x1b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x19, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x61, + 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x44, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x75, 0x72, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x52, 0x12, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x62, 0x75, 0x66, 0x66, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x62, 0x75, 0x66, 0x66, + 0x55, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, + 0x66, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityAppliedModifier_proto_rawDescOnce sync.Once + file_AbilityAppliedModifier_proto_rawDescData = file_AbilityAppliedModifier_proto_rawDesc +) + +func file_AbilityAppliedModifier_proto_rawDescGZIP() []byte { + file_AbilityAppliedModifier_proto_rawDescOnce.Do(func() { + file_AbilityAppliedModifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityAppliedModifier_proto_rawDescData) + }) + return file_AbilityAppliedModifier_proto_rawDescData +} + +var file_AbilityAppliedModifier_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityAppliedModifier_proto_goTypes = []interface{}{ + (*AbilityAppliedModifier)(nil), // 0: AbilityAppliedModifier + (*AbilityString)(nil), // 1: AbilityString + (*AbilityAttachedModifier)(nil), // 2: AbilityAttachedModifier + (*ModifierDurability)(nil), // 3: ModifierDurability +} +var file_AbilityAppliedModifier_proto_depIdxs = []int32{ + 1, // 0: AbilityAppliedModifier.parent_ability_name:type_name -> AbilityString + 1, // 1: AbilityAppliedModifier.parent_ability_override:type_name -> AbilityString + 2, // 2: AbilityAppliedModifier.attached_instanced_modifier:type_name -> AbilityAttachedModifier + 3, // 3: AbilityAppliedModifier.modifier_durability:type_name -> ModifierDurability + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_AbilityAppliedModifier_proto_init() } +func file_AbilityAppliedModifier_proto_init() { + if File_AbilityAppliedModifier_proto != nil { + return + } + file_AbilityAttachedModifier_proto_init() + file_AbilityString_proto_init() + file_ModifierDurability_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityAppliedModifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityAppliedModifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityAppliedModifier_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityAppliedModifier_proto_goTypes, + DependencyIndexes: file_AbilityAppliedModifier_proto_depIdxs, + MessageInfos: file_AbilityAppliedModifier_proto_msgTypes, + }.Build() + File_AbilityAppliedModifier_proto = out.File + file_AbilityAppliedModifier_proto_rawDesc = nil + file_AbilityAppliedModifier_proto_goTypes = nil + file_AbilityAppliedModifier_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityAppliedModifier.proto b/gate-hk4e-api/proto/AbilityAppliedModifier.proto new file mode 100644 index 00000000..c70a190b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAppliedModifier.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityAttachedModifier.proto"; +import "AbilityString.proto"; +import "ModifierDurability.proto"; + +option go_package = "./;proto"; + +message AbilityAppliedModifier { + int32 modifier_local_id = 1; + uint32 parent_ability_entity_id = 2; + AbilityString parent_ability_name = 3; + AbilityString parent_ability_override = 4; + uint32 instanced_ability_id = 5; + uint32 instanced_modifier_id = 6; + float exist_duration = 7; + AbilityAttachedModifier attached_instanced_modifier = 8; + uint32 apply_entity_id = 9; + bool is_attached_parent_ability = 10; + ModifierDurability modifier_durability = 11; + uint32 sbuff_uid = 12; + bool is_serverbuff_modifier = 13; +} diff --git a/gate-hk4e-api/proto/AbilityApplyLevelModifier.pb.go b/gate-hk4e-api/proto/AbilityApplyLevelModifier.pb.go new file mode 100644 index 00000000..ba33731b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityApplyLevelModifier.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityApplyLevelModifier.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityApplyLevelModifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplyEntityId uint32 `protobuf:"varint,6,opt,name=apply_entity_id,json=applyEntityId,proto3" json:"apply_entity_id,omitempty"` +} + +func (x *AbilityApplyLevelModifier) Reset() { + *x = AbilityApplyLevelModifier{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityApplyLevelModifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityApplyLevelModifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityApplyLevelModifier) ProtoMessage() {} + +func (x *AbilityApplyLevelModifier) ProtoReflect() protoreflect.Message { + mi := &file_AbilityApplyLevelModifier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityApplyLevelModifier.ProtoReflect.Descriptor instead. +func (*AbilityApplyLevelModifier) Descriptor() ([]byte, []int) { + return file_AbilityApplyLevelModifier_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityApplyLevelModifier) GetApplyEntityId() uint32 { + if x != nil { + return x.ApplyEntityId + } + return 0 +} + +var File_AbilityApplyLevelModifier_proto protoreflect.FileDescriptor + +var file_AbilityApplyLevelModifier_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x43, 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x26, + 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityApplyLevelModifier_proto_rawDescOnce sync.Once + file_AbilityApplyLevelModifier_proto_rawDescData = file_AbilityApplyLevelModifier_proto_rawDesc +) + +func file_AbilityApplyLevelModifier_proto_rawDescGZIP() []byte { + file_AbilityApplyLevelModifier_proto_rawDescOnce.Do(func() { + file_AbilityApplyLevelModifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityApplyLevelModifier_proto_rawDescData) + }) + return file_AbilityApplyLevelModifier_proto_rawDescData +} + +var file_AbilityApplyLevelModifier_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityApplyLevelModifier_proto_goTypes = []interface{}{ + (*AbilityApplyLevelModifier)(nil), // 0: AbilityApplyLevelModifier +} +var file_AbilityApplyLevelModifier_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityApplyLevelModifier_proto_init() } +func file_AbilityApplyLevelModifier_proto_init() { + if File_AbilityApplyLevelModifier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityApplyLevelModifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityApplyLevelModifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityApplyLevelModifier_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityApplyLevelModifier_proto_goTypes, + DependencyIndexes: file_AbilityApplyLevelModifier_proto_depIdxs, + MessageInfos: file_AbilityApplyLevelModifier_proto_msgTypes, + }.Build() + File_AbilityApplyLevelModifier_proto = out.File + file_AbilityApplyLevelModifier_proto_rawDesc = nil + file_AbilityApplyLevelModifier_proto_goTypes = nil + file_AbilityApplyLevelModifier_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityApplyLevelModifier.proto b/gate-hk4e-api/proto/AbilityApplyLevelModifier.proto new file mode 100644 index 00000000..c74794b0 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityApplyLevelModifier.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityApplyLevelModifier { + uint32 apply_entity_id = 6; +} diff --git a/gate-hk4e-api/proto/AbilityArgument.pb.go b/gate-hk4e-api/proto/AbilityArgument.pb.go new file mode 100644 index 00000000..4421ae4a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityArgument.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityArgument.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityArgument struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Arg: + // *AbilityArgument_IntArg + // *AbilityArgument_FloatArg + // *AbilityArgument_StrArg + Arg isAbilityArgument_Arg `protobuf_oneof:"arg"` +} + +func (x *AbilityArgument) Reset() { + *x = AbilityArgument{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityArgument_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityArgument) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityArgument) ProtoMessage() {} + +func (x *AbilityArgument) ProtoReflect() protoreflect.Message { + mi := &file_AbilityArgument_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityArgument.ProtoReflect.Descriptor instead. +func (*AbilityArgument) Descriptor() ([]byte, []int) { + return file_AbilityArgument_proto_rawDescGZIP(), []int{0} +} + +func (m *AbilityArgument) GetArg() isAbilityArgument_Arg { + if m != nil { + return m.Arg + } + return nil +} + +func (x *AbilityArgument) GetIntArg() uint32 { + if x, ok := x.GetArg().(*AbilityArgument_IntArg); ok { + return x.IntArg + } + return 0 +} + +func (x *AbilityArgument) GetFloatArg() float32 { + if x, ok := x.GetArg().(*AbilityArgument_FloatArg); ok { + return x.FloatArg + } + return 0 +} + +func (x *AbilityArgument) GetStrArg() string { + if x, ok := x.GetArg().(*AbilityArgument_StrArg); ok { + return x.StrArg + } + return "" +} + +type isAbilityArgument_Arg interface { + isAbilityArgument_Arg() +} + +type AbilityArgument_IntArg struct { + IntArg uint32 `protobuf:"varint,5,opt,name=int_arg,json=intArg,proto3,oneof"` +} + +type AbilityArgument_FloatArg struct { + FloatArg float32 `protobuf:"fixed32,15,opt,name=float_arg,json=floatArg,proto3,oneof"` +} + +type AbilityArgument_StrArg struct { + StrArg string `protobuf:"bytes,11,opt,name=str_arg,json=strArg,proto3,oneof"` +} + +func (*AbilityArgument_IntArg) isAbilityArgument_Arg() {} + +func (*AbilityArgument_FloatArg) isAbilityArgument_Arg() {} + +func (*AbilityArgument_StrArg) isAbilityArgument_Arg() {} + +var File_AbilityArgument_proto protoreflect.FileDescriptor + +var file_AbilityArgument_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x0f, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x07, 0x69, 0x6e, + 0x74, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x06, 0x69, + 0x6e, 0x74, 0x41, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x61, + 0x72, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x61, + 0x74, 0x41, 0x72, 0x67, 0x12, 0x19, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x5f, 0x61, 0x72, 0x67, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x41, 0x72, 0x67, 0x42, + 0x05, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityArgument_proto_rawDescOnce sync.Once + file_AbilityArgument_proto_rawDescData = file_AbilityArgument_proto_rawDesc +) + +func file_AbilityArgument_proto_rawDescGZIP() []byte { + file_AbilityArgument_proto_rawDescOnce.Do(func() { + file_AbilityArgument_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityArgument_proto_rawDescData) + }) + return file_AbilityArgument_proto_rawDescData +} + +var file_AbilityArgument_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityArgument_proto_goTypes = []interface{}{ + (*AbilityArgument)(nil), // 0: AbilityArgument +} +var file_AbilityArgument_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityArgument_proto_init() } +func file_AbilityArgument_proto_init() { + if File_AbilityArgument_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityArgument_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityArgument); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AbilityArgument_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AbilityArgument_IntArg)(nil), + (*AbilityArgument_FloatArg)(nil), + (*AbilityArgument_StrArg)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityArgument_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityArgument_proto_goTypes, + DependencyIndexes: file_AbilityArgument_proto_depIdxs, + MessageInfos: file_AbilityArgument_proto_msgTypes, + }.Build() + File_AbilityArgument_proto = out.File + file_AbilityArgument_proto_rawDesc = nil + file_AbilityArgument_proto_goTypes = nil + file_AbilityArgument_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityArgument.proto b/gate-hk4e-api/proto/AbilityArgument.proto new file mode 100644 index 00000000..42012f52 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityArgument.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityArgument { + oneof arg { + uint32 int_arg = 5; + float float_arg = 15; + string str_arg = 11; + } +} diff --git a/gate-hk4e-api/proto/AbilityAttachedModifier.pb.go b/gate-hk4e-api/proto/AbilityAttachedModifier.pb.go new file mode 100644 index 00000000..0423808a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAttachedModifier.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityAttachedModifier.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityAttachedModifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsInvalid bool `protobuf:"varint,1,opt,name=is_invalid,json=isInvalid,proto3" json:"is_invalid,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,2,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` + InstancedModifierId uint32 `protobuf:"varint,3,opt,name=instanced_modifier_id,json=instancedModifierId,proto3" json:"instanced_modifier_id,omitempty"` + IsServerbuffModifier bool `protobuf:"varint,4,opt,name=is_serverbuff_modifier,json=isServerbuffModifier,proto3" json:"is_serverbuff_modifier,omitempty"` + AttachNameHash int32 `protobuf:"varint,5,opt,name=attach_name_hash,json=attachNameHash,proto3" json:"attach_name_hash,omitempty"` +} + +func (x *AbilityAttachedModifier) Reset() { + *x = AbilityAttachedModifier{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityAttachedModifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityAttachedModifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityAttachedModifier) ProtoMessage() {} + +func (x *AbilityAttachedModifier) ProtoReflect() protoreflect.Message { + mi := &file_AbilityAttachedModifier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityAttachedModifier.ProtoReflect.Descriptor instead. +func (*AbilityAttachedModifier) Descriptor() ([]byte, []int) { + return file_AbilityAttachedModifier_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityAttachedModifier) GetIsInvalid() bool { + if x != nil { + return x.IsInvalid + } + return false +} + +func (x *AbilityAttachedModifier) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +func (x *AbilityAttachedModifier) GetInstancedModifierId() uint32 { + if x != nil { + return x.InstancedModifierId + } + return 0 +} + +func (x *AbilityAttachedModifier) GetIsServerbuffModifier() bool { + if x != nil { + return x.IsServerbuffModifier + } + return false +} + +func (x *AbilityAttachedModifier) GetAttachNameHash() int32 { + if x != nil { + return x.AttachNameHash + } + return 0 +} + +var File_AbilityAttachedModifier_proto protoreflect.FileDescriptor + +var file_AbilityAttachedModifier_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, + 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xf4, 0x01, 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x69, + 0x73, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x69, 0x73, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, + 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x62, 0x75, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x4e, 0x61, + 0x6d, 0x65, 0x48, 0x61, 0x73, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityAttachedModifier_proto_rawDescOnce sync.Once + file_AbilityAttachedModifier_proto_rawDescData = file_AbilityAttachedModifier_proto_rawDesc +) + +func file_AbilityAttachedModifier_proto_rawDescGZIP() []byte { + file_AbilityAttachedModifier_proto_rawDescOnce.Do(func() { + file_AbilityAttachedModifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityAttachedModifier_proto_rawDescData) + }) + return file_AbilityAttachedModifier_proto_rawDescData +} + +var file_AbilityAttachedModifier_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityAttachedModifier_proto_goTypes = []interface{}{ + (*AbilityAttachedModifier)(nil), // 0: AbilityAttachedModifier +} +var file_AbilityAttachedModifier_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityAttachedModifier_proto_init() } +func file_AbilityAttachedModifier_proto_init() { + if File_AbilityAttachedModifier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityAttachedModifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityAttachedModifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityAttachedModifier_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityAttachedModifier_proto_goTypes, + DependencyIndexes: file_AbilityAttachedModifier_proto_depIdxs, + MessageInfos: file_AbilityAttachedModifier_proto_msgTypes, + }.Build() + File_AbilityAttachedModifier_proto = out.File + file_AbilityAttachedModifier_proto_rawDesc = nil + file_AbilityAttachedModifier_proto_goTypes = nil + file_AbilityAttachedModifier_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityAttachedModifier.proto b/gate-hk4e-api/proto/AbilityAttachedModifier.proto new file mode 100644 index 00000000..abe2d4d5 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityAttachedModifier.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityAttachedModifier { + bool is_invalid = 1; + uint32 owner_entity_id = 2; + uint32 instanced_modifier_id = 3; + bool is_serverbuff_modifier = 4; + int32 attach_name_hash = 5; +} diff --git a/gate-hk4e-api/proto/AbilityBornType.pb.go b/gate-hk4e-api/proto/AbilityBornType.pb.go new file mode 100644 index 00000000..a97bf3a5 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityBornType.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityBornType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityBornType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,2,opt,name=rot,proto3" json:"rot,omitempty"` + MoveDir *Vector `protobuf:"bytes,14,opt,name=move_dir,json=moveDir,proto3" json:"move_dir,omitempty"` + Pos *Vector `protobuf:"bytes,5,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AbilityBornType) Reset() { + *x = AbilityBornType{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityBornType_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityBornType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityBornType) ProtoMessage() {} + +func (x *AbilityBornType) ProtoReflect() protoreflect.Message { + mi := &file_AbilityBornType_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityBornType.ProtoReflect.Descriptor instead. +func (*AbilityBornType) Descriptor() ([]byte, []int) { + return file_AbilityBornType_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityBornType) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *AbilityBornType) GetMoveDir() *Vector { + if x != nil { + return x.MoveDir + } + return nil +} + +func (x *AbilityBornType) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AbilityBornType_proto protoreflect.FileDescriptor + +var file_AbilityBornType_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x0f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, + 0x72, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x08, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, + 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x69, 0x72, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, + 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityBornType_proto_rawDescOnce sync.Once + file_AbilityBornType_proto_rawDescData = file_AbilityBornType_proto_rawDesc +) + +func file_AbilityBornType_proto_rawDescGZIP() []byte { + file_AbilityBornType_proto_rawDescOnce.Do(func() { + file_AbilityBornType_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityBornType_proto_rawDescData) + }) + return file_AbilityBornType_proto_rawDescData +} + +var file_AbilityBornType_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityBornType_proto_goTypes = []interface{}{ + (*AbilityBornType)(nil), // 0: AbilityBornType + (*Vector)(nil), // 1: Vector +} +var file_AbilityBornType_proto_depIdxs = []int32{ + 1, // 0: AbilityBornType.rot:type_name -> Vector + 1, // 1: AbilityBornType.move_dir:type_name -> Vector + 1, // 2: AbilityBornType.pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_AbilityBornType_proto_init() } +func file_AbilityBornType_proto_init() { + if File_AbilityBornType_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityBornType_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityBornType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityBornType_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityBornType_proto_goTypes, + DependencyIndexes: file_AbilityBornType_proto_depIdxs, + MessageInfos: file_AbilityBornType_proto_msgTypes, + }.Build() + File_AbilityBornType_proto = out.File + file_AbilityBornType_proto_rawDesc = nil + file_AbilityBornType_proto_goTypes = nil + file_AbilityBornType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityBornType.proto b/gate-hk4e-api/proto/AbilityBornType.proto new file mode 100644 index 00000000..cc752cfd --- /dev/null +++ b/gate-hk4e-api/proto/AbilityBornType.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityBornType { + Vector rot = 2; + Vector move_dir = 14; + Vector pos = 5; +} diff --git a/gate-hk4e-api/proto/AbilityChangeNotify.pb.go b/gate-hk4e-api/proto/AbilityChangeNotify.pb.go new file mode 100644 index 00000000..060ead5d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityChangeNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1131 +// EnetChannelId: 0 +// EnetIsReliable: true +type AbilityChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AbilityControlBlock *AbilityControlBlock `protobuf:"bytes,15,opt,name=ability_control_block,json=abilityControlBlock,proto3" json:"ability_control_block,omitempty"` +} + +func (x *AbilityChangeNotify) Reset() { + *x = AbilityChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityChangeNotify) ProtoMessage() {} + +func (x *AbilityChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AbilityChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityChangeNotify.ProtoReflect.Descriptor instead. +func (*AbilityChangeNotify) Descriptor() ([]byte, []int) { + return file_AbilityChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AbilityChangeNotify) GetAbilityControlBlock() *AbilityControlBlock { + if x != nil { + return x.AbilityControlBlock + } + return nil +} + +var File_AbilityChangeNotify_proto protoreflect.FileDescriptor + +var file_AbilityChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x15, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x13, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityChangeNotify_proto_rawDescOnce sync.Once + file_AbilityChangeNotify_proto_rawDescData = file_AbilityChangeNotify_proto_rawDesc +) + +func file_AbilityChangeNotify_proto_rawDescGZIP() []byte { + file_AbilityChangeNotify_proto_rawDescOnce.Do(func() { + file_AbilityChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityChangeNotify_proto_rawDescData) + }) + return file_AbilityChangeNotify_proto_rawDescData +} + +var file_AbilityChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityChangeNotify_proto_goTypes = []interface{}{ + (*AbilityChangeNotify)(nil), // 0: AbilityChangeNotify + (*AbilityControlBlock)(nil), // 1: AbilityControlBlock +} +var file_AbilityChangeNotify_proto_depIdxs = []int32{ + 1, // 0: AbilityChangeNotify.ability_control_block:type_name -> AbilityControlBlock + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityChangeNotify_proto_init() } +func file_AbilityChangeNotify_proto_init() { + if File_AbilityChangeNotify_proto != nil { + return + } + file_AbilityControlBlock_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityChangeNotify_proto_goTypes, + DependencyIndexes: file_AbilityChangeNotify_proto_depIdxs, + MessageInfos: file_AbilityChangeNotify_proto_msgTypes, + }.Build() + File_AbilityChangeNotify_proto = out.File + file_AbilityChangeNotify_proto_rawDesc = nil + file_AbilityChangeNotify_proto_goTypes = nil + file_AbilityChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityChangeNotify.proto b/gate-hk4e-api/proto/AbilityChangeNotify.proto new file mode 100644 index 00000000..321633c4 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityControlBlock.proto"; + +option go_package = "./;proto"; + +// CmdId: 1131 +// EnetChannelId: 0 +// EnetIsReliable: true +message AbilityChangeNotify { + uint32 entity_id = 1; + AbilityControlBlock ability_control_block = 15; +} diff --git a/gate-hk4e-api/proto/AbilityControlBlock.pb.go b/gate-hk4e-api/proto/AbilityControlBlock.pb.go new file mode 100644 index 00000000..b7780c0d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityControlBlock.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityControlBlock.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityControlBlock struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityEmbryoList []*AbilityEmbryo `protobuf:"bytes,1,rep,name=ability_embryo_list,json=abilityEmbryoList,proto3" json:"ability_embryo_list,omitempty"` +} + +func (x *AbilityControlBlock) Reset() { + *x = AbilityControlBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityControlBlock_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityControlBlock) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityControlBlock) ProtoMessage() {} + +func (x *AbilityControlBlock) ProtoReflect() protoreflect.Message { + mi := &file_AbilityControlBlock_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityControlBlock.ProtoReflect.Descriptor instead. +func (*AbilityControlBlock) Descriptor() ([]byte, []int) { + return file_AbilityControlBlock_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityControlBlock) GetAbilityEmbryoList() []*AbilityEmbryo { + if x != nil { + return x.AbilityEmbryoList + } + return nil +} + +var File_AbilityControlBlock_proto protoreflect.FileDescriptor + +var file_AbilityControlBlock_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x62, 0x72, 0x79, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x55, 0x0a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3e, 0x0a, 0x13, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x65, 0x6d, 0x62, 0x72, 0x79, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6d, + 0x62, 0x72, 0x79, 0x6f, 0x52, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x62, + 0x72, 0x79, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityControlBlock_proto_rawDescOnce sync.Once + file_AbilityControlBlock_proto_rawDescData = file_AbilityControlBlock_proto_rawDesc +) + +func file_AbilityControlBlock_proto_rawDescGZIP() []byte { + file_AbilityControlBlock_proto_rawDescOnce.Do(func() { + file_AbilityControlBlock_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityControlBlock_proto_rawDescData) + }) + return file_AbilityControlBlock_proto_rawDescData +} + +var file_AbilityControlBlock_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityControlBlock_proto_goTypes = []interface{}{ + (*AbilityControlBlock)(nil), // 0: AbilityControlBlock + (*AbilityEmbryo)(nil), // 1: AbilityEmbryo +} +var file_AbilityControlBlock_proto_depIdxs = []int32{ + 1, // 0: AbilityControlBlock.ability_embryo_list:type_name -> AbilityEmbryo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityControlBlock_proto_init() } +func file_AbilityControlBlock_proto_init() { + if File_AbilityControlBlock_proto != nil { + return + } + file_AbilityEmbryo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityControlBlock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityControlBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityControlBlock_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityControlBlock_proto_goTypes, + DependencyIndexes: file_AbilityControlBlock_proto_depIdxs, + MessageInfos: file_AbilityControlBlock_proto_msgTypes, + }.Build() + File_AbilityControlBlock_proto = out.File + file_AbilityControlBlock_proto_rawDesc = nil + file_AbilityControlBlock_proto_goTypes = nil + file_AbilityControlBlock_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityControlBlock.proto b/gate-hk4e-api/proto/AbilityControlBlock.proto new file mode 100644 index 00000000..7c9733d8 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityControlBlock.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityEmbryo.proto"; + +option go_package = "./;proto"; + +message AbilityControlBlock { + repeated AbilityEmbryo ability_embryo_list = 1; +} diff --git a/gate-hk4e-api/proto/AbilityEmbryo.pb.go b/gate-hk4e-api/proto/AbilityEmbryo.pb.go new file mode 100644 index 00000000..41fc5048 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityEmbryo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityEmbryo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityEmbryo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityId uint32 `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3" json:"ability_id,omitempty"` + AbilityNameHash uint32 `protobuf:"fixed32,2,opt,name=ability_name_hash,json=abilityNameHash,proto3" json:"ability_name_hash,omitempty"` + AbilityOverrideNameHash uint32 `protobuf:"fixed32,3,opt,name=ability_override_name_hash,json=abilityOverrideNameHash,proto3" json:"ability_override_name_hash,omitempty"` +} + +func (x *AbilityEmbryo) Reset() { + *x = AbilityEmbryo{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityEmbryo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityEmbryo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityEmbryo) ProtoMessage() {} + +func (x *AbilityEmbryo) ProtoReflect() protoreflect.Message { + mi := &file_AbilityEmbryo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityEmbryo.ProtoReflect.Descriptor instead. +func (*AbilityEmbryo) Descriptor() ([]byte, []int) { + return file_AbilityEmbryo_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityEmbryo) GetAbilityId() uint32 { + if x != nil { + return x.AbilityId + } + return 0 +} + +func (x *AbilityEmbryo) GetAbilityNameHash() uint32 { + if x != nil { + return x.AbilityNameHash + } + return 0 +} + +func (x *AbilityEmbryo) GetAbilityOverrideNameHash() uint32 { + if x != nil { + return x.AbilityOverrideNameHash + } + return 0 +} + +var File_AbilityEmbryo_proto protoreflect.FileDescriptor + +var file_AbilityEmbryo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x62, 0x72, 0x79, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x45, 0x6d, 0x62, 0x72, 0x79, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x07, 0x52, 0x0f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x3b, 0x0a, 0x1a, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, + 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x07, 0x52, 0x17, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, + 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x61, 0x73, 0x68, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityEmbryo_proto_rawDescOnce sync.Once + file_AbilityEmbryo_proto_rawDescData = file_AbilityEmbryo_proto_rawDesc +) + +func file_AbilityEmbryo_proto_rawDescGZIP() []byte { + file_AbilityEmbryo_proto_rawDescOnce.Do(func() { + file_AbilityEmbryo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityEmbryo_proto_rawDescData) + }) + return file_AbilityEmbryo_proto_rawDescData +} + +var file_AbilityEmbryo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityEmbryo_proto_goTypes = []interface{}{ + (*AbilityEmbryo)(nil), // 0: AbilityEmbryo +} +var file_AbilityEmbryo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityEmbryo_proto_init() } +func file_AbilityEmbryo_proto_init() { + if File_AbilityEmbryo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityEmbryo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityEmbryo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityEmbryo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityEmbryo_proto_goTypes, + DependencyIndexes: file_AbilityEmbryo_proto_depIdxs, + MessageInfos: file_AbilityEmbryo_proto_msgTypes, + }.Build() + File_AbilityEmbryo_proto = out.File + file_AbilityEmbryo_proto_rawDesc = nil + file_AbilityEmbryo_proto_goTypes = nil + file_AbilityEmbryo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityEmbryo.proto b/gate-hk4e-api/proto/AbilityEmbryo.proto new file mode 100644 index 00000000..cd6cbb3b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityEmbryo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityEmbryo { + uint32 ability_id = 1; + fixed32 ability_name_hash = 2; + fixed32 ability_override_name_hash = 3; +} diff --git a/gate-hk4e-api/proto/AbilityFloatValue.pb.go b/gate-hk4e-api/proto/AbilityFloatValue.pb.go new file mode 100644 index 00000000..eac51a90 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityFloatValue.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityFloatValue.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityFloatValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *AbilityFloatValue) Reset() { + *x = AbilityFloatValue{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityFloatValue_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityFloatValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityFloatValue) ProtoMessage() {} + +func (x *AbilityFloatValue) ProtoReflect() protoreflect.Message { + mi := &file_AbilityFloatValue_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityFloatValue.ProtoReflect.Descriptor instead. +func (*AbilityFloatValue) Descriptor() ([]byte, []int) { + return file_AbilityFloatValue_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityFloatValue) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_AbilityFloatValue_proto protoreflect.FileDescriptor + +var file_AbilityFloatValue_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x11, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityFloatValue_proto_rawDescOnce sync.Once + file_AbilityFloatValue_proto_rawDescData = file_AbilityFloatValue_proto_rawDesc +) + +func file_AbilityFloatValue_proto_rawDescGZIP() []byte { + file_AbilityFloatValue_proto_rawDescOnce.Do(func() { + file_AbilityFloatValue_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityFloatValue_proto_rawDescData) + }) + return file_AbilityFloatValue_proto_rawDescData +} + +var file_AbilityFloatValue_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityFloatValue_proto_goTypes = []interface{}{ + (*AbilityFloatValue)(nil), // 0: AbilityFloatValue +} +var file_AbilityFloatValue_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityFloatValue_proto_init() } +func file_AbilityFloatValue_proto_init() { + if File_AbilityFloatValue_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityFloatValue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityFloatValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityFloatValue_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityFloatValue_proto_goTypes, + DependencyIndexes: file_AbilityFloatValue_proto_depIdxs, + MessageInfos: file_AbilityFloatValue_proto_msgTypes, + }.Build() + File_AbilityFloatValue_proto = out.File + file_AbilityFloatValue_proto_rawDesc = nil + file_AbilityFloatValue_proto_goTypes = nil + file_AbilityFloatValue_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityFloatValue.proto b/gate-hk4e-api/proto/AbilityFloatValue.proto new file mode 100644 index 00000000..da43c47a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityFloatValue.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityFloatValue { + float value = 1; +} diff --git a/gate-hk4e-api/proto/AbilityGadgetInfo.pb.go b/gate-hk4e-api/proto/AbilityGadgetInfo.pb.go new file mode 100644 index 00000000..79bdfa8c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityGadgetInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CampId uint32 `protobuf:"varint,1,opt,name=camp_id,json=campId,proto3" json:"camp_id,omitempty"` + CampTargetType uint32 `protobuf:"varint,2,opt,name=camp_target_type,json=campTargetType,proto3" json:"camp_target_type,omitempty"` + TargetEntityId uint32 `protobuf:"varint,3,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` +} + +func (x *AbilityGadgetInfo) Reset() { + *x = AbilityGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityGadgetInfo) ProtoMessage() {} + +func (x *AbilityGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_AbilityGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityGadgetInfo.ProtoReflect.Descriptor instead. +func (*AbilityGadgetInfo) Descriptor() ([]byte, []int) { + return file_AbilityGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityGadgetInfo) GetCampId() uint32 { + if x != nil { + return x.CampId + } + return 0 +} + +func (x *AbilityGadgetInfo) GetCampTargetType() uint32 { + if x != nil { + return x.CampTargetType + } + return 0 +} + +func (x *AbilityGadgetInfo) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +var File_AbilityGadgetInfo_proto protoreflect.FileDescriptor + +var file_AbilityGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x11, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x63, 0x61, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6d, 0x70, + 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityGadgetInfo_proto_rawDescOnce sync.Once + file_AbilityGadgetInfo_proto_rawDescData = file_AbilityGadgetInfo_proto_rawDesc +) + +func file_AbilityGadgetInfo_proto_rawDescGZIP() []byte { + file_AbilityGadgetInfo_proto_rawDescOnce.Do(func() { + file_AbilityGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityGadgetInfo_proto_rawDescData) + }) + return file_AbilityGadgetInfo_proto_rawDescData +} + +var file_AbilityGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityGadgetInfo_proto_goTypes = []interface{}{ + (*AbilityGadgetInfo)(nil), // 0: AbilityGadgetInfo +} +var file_AbilityGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityGadgetInfo_proto_init() } +func file_AbilityGadgetInfo_proto_init() { + if File_AbilityGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityGadgetInfo_proto_goTypes, + DependencyIndexes: file_AbilityGadgetInfo_proto_depIdxs, + MessageInfos: file_AbilityGadgetInfo_proto_msgTypes, + }.Build() + File_AbilityGadgetInfo_proto = out.File + file_AbilityGadgetInfo_proto_rawDesc = nil + file_AbilityGadgetInfo_proto_goTypes = nil + file_AbilityGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityGadgetInfo.proto b/gate-hk4e-api/proto/AbilityGadgetInfo.proto new file mode 100644 index 00000000..370d3917 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityGadgetInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityGadgetInfo { + uint32 camp_id = 1; + uint32 camp_target_type = 2; + uint32 target_entity_id = 3; +} diff --git a/gate-hk4e-api/proto/AbilityIdentifier.pb.go b/gate-hk4e-api/proto/AbilityIdentifier.pb.go new file mode 100644 index 00000000..90989afb --- /dev/null +++ b/gate-hk4e-api/proto/AbilityIdentifier.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityIdentifier.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModifierOwnerId uint32 `protobuf:"varint,2,opt,name=modifier_owner_id,json=modifierOwnerId,proto3" json:"modifier_owner_id,omitempty"` + InstancedModifierId uint32 `protobuf:"varint,9,opt,name=instanced_modifier_id,json=instancedModifierId,proto3" json:"instanced_modifier_id,omitempty"` + InstancedAbilityId uint32 `protobuf:"varint,10,opt,name=instanced_ability_id,json=instancedAbilityId,proto3" json:"instanced_ability_id,omitempty"` + IsServerbuffModifier bool `protobuf:"varint,6,opt,name=is_serverbuff_modifier,json=isServerbuffModifier,proto3" json:"is_serverbuff_modifier,omitempty"` + AbilityCasterId uint32 `protobuf:"varint,15,opt,name=ability_caster_id,json=abilityCasterId,proto3" json:"ability_caster_id,omitempty"` + LocalId int32 `protobuf:"varint,3,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"` +} + +func (x *AbilityIdentifier) Reset() { + *x = AbilityIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityIdentifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityIdentifier) ProtoMessage() {} + +func (x *AbilityIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_AbilityIdentifier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityIdentifier.ProtoReflect.Descriptor instead. +func (*AbilityIdentifier) Descriptor() ([]byte, []int) { + return file_AbilityIdentifier_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityIdentifier) GetModifierOwnerId() uint32 { + if x != nil { + return x.ModifierOwnerId + } + return 0 +} + +func (x *AbilityIdentifier) GetInstancedModifierId() uint32 { + if x != nil { + return x.InstancedModifierId + } + return 0 +} + +func (x *AbilityIdentifier) GetInstancedAbilityId() uint32 { + if x != nil { + return x.InstancedAbilityId + } + return 0 +} + +func (x *AbilityIdentifier) GetIsServerbuffModifier() bool { + if x != nil { + return x.IsServerbuffModifier + } + return false +} + +func (x *AbilityIdentifier) GetAbilityCasterId() uint32 { + if x != nil { + return x.AbilityCasterId + } + return 0 +} + +func (x *AbilityIdentifier) GetLocalId() int32 { + if x != nil { + return x.LocalId + } + return 0 +} + +var File_AbilityIdentifier_proto protoreflect.FileDescriptor + +var file_AbilityIdentifier_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x02, 0x0a, 0x11, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, + 0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, + 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x14, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityIdentifier_proto_rawDescOnce sync.Once + file_AbilityIdentifier_proto_rawDescData = file_AbilityIdentifier_proto_rawDesc +) + +func file_AbilityIdentifier_proto_rawDescGZIP() []byte { + file_AbilityIdentifier_proto_rawDescOnce.Do(func() { + file_AbilityIdentifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityIdentifier_proto_rawDescData) + }) + return file_AbilityIdentifier_proto_rawDescData +} + +var file_AbilityIdentifier_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityIdentifier_proto_goTypes = []interface{}{ + (*AbilityIdentifier)(nil), // 0: AbilityIdentifier +} +var file_AbilityIdentifier_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityIdentifier_proto_init() } +func file_AbilityIdentifier_proto_init() { + if File_AbilityIdentifier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityIdentifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityIdentifier_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityIdentifier_proto_goTypes, + DependencyIndexes: file_AbilityIdentifier_proto_depIdxs, + MessageInfos: file_AbilityIdentifier_proto_msgTypes, + }.Build() + File_AbilityIdentifier_proto = out.File + file_AbilityIdentifier_proto_rawDesc = nil + file_AbilityIdentifier_proto_goTypes = nil + file_AbilityIdentifier_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityIdentifier.proto b/gate-hk4e-api/proto/AbilityIdentifier.proto new file mode 100644 index 00000000..dd22de0f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityIdentifier.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityIdentifier { + uint32 modifier_owner_id = 2; + uint32 instanced_modifier_id = 9; + uint32 instanced_ability_id = 10; + bool is_serverbuff_modifier = 6; + uint32 ability_caster_id = 15; + int32 local_id = 3; +} diff --git a/gate-hk4e-api/proto/AbilityInvocationFailNotify.pb.go b/gate-hk4e-api/proto/AbilityInvocationFailNotify.pb.go new file mode 100644 index 00000000..0abdf3e7 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationFailNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvocationFailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1107 +// EnetChannelId: 0 +// EnetIsReliable: true +type AbilityInvocationFailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Invoke *AbilityInvokeEntry `protobuf:"bytes,3,opt,name=invoke,proto3" json:"invoke,omitempty"` +} + +func (x *AbilityInvocationFailNotify) Reset() { + *x = AbilityInvocationFailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityInvocationFailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityInvocationFailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityInvocationFailNotify) ProtoMessage() {} + +func (x *AbilityInvocationFailNotify) ProtoReflect() protoreflect.Message { + mi := &file_AbilityInvocationFailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityInvocationFailNotify.ProtoReflect.Descriptor instead. +func (*AbilityInvocationFailNotify) Descriptor() ([]byte, []int) { + return file_AbilityInvocationFailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityInvocationFailNotify) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +func (x *AbilityInvocationFailNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AbilityInvocationFailNotify) GetInvoke() *AbilityInvokeEntry { + if x != nil { + return x.Invoke + } + return nil +} + +var File_AbilityInvocationFailNotify_proto protoreflect.FileDescriptor + +var file_AbilityInvocationFailNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, + 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, + 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x2b, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityInvocationFailNotify_proto_rawDescOnce sync.Once + file_AbilityInvocationFailNotify_proto_rawDescData = file_AbilityInvocationFailNotify_proto_rawDesc +) + +func file_AbilityInvocationFailNotify_proto_rawDescGZIP() []byte { + file_AbilityInvocationFailNotify_proto_rawDescOnce.Do(func() { + file_AbilityInvocationFailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvocationFailNotify_proto_rawDescData) + }) + return file_AbilityInvocationFailNotify_proto_rawDescData +} + +var file_AbilityInvocationFailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityInvocationFailNotify_proto_goTypes = []interface{}{ + (*AbilityInvocationFailNotify)(nil), // 0: AbilityInvocationFailNotify + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_AbilityInvocationFailNotify_proto_depIdxs = []int32{ + 1, // 0: AbilityInvocationFailNotify.invoke:type_name -> AbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityInvocationFailNotify_proto_init() } +func file_AbilityInvocationFailNotify_proto_init() { + if File_AbilityInvocationFailNotify_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityInvocationFailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityInvocationFailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvocationFailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvocationFailNotify_proto_goTypes, + DependencyIndexes: file_AbilityInvocationFailNotify_proto_depIdxs, + MessageInfos: file_AbilityInvocationFailNotify_proto_msgTypes, + }.Build() + File_AbilityInvocationFailNotify_proto = out.File + file_AbilityInvocationFailNotify_proto_rawDesc = nil + file_AbilityInvocationFailNotify_proto_goTypes = nil + file_AbilityInvocationFailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvocationFailNotify.proto b/gate-hk4e-api/proto/AbilityInvocationFailNotify.proto new file mode 100644 index 00000000..2de76e12 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationFailNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1107 +// EnetChannelId: 0 +// EnetIsReliable: true +message AbilityInvocationFailNotify { + string reason = 7; + uint32 entity_id = 13; + AbilityInvokeEntry invoke = 3; +} diff --git a/gate-hk4e-api/proto/AbilityInvocationFixedNotify.pb.go b/gate-hk4e-api/proto/AbilityInvocationFixedNotify.pb.go new file mode 100644 index 00000000..8f77b312 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationFixedNotify.pb.go @@ -0,0 +1,231 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvocationFixedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AbilityInvocationFixedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Invoke6Th *AbilityInvokeEntry `protobuf:"bytes,14,opt,name=invoke6th,proto3" json:"invoke6th,omitempty"` + Invoke5Th *AbilityInvokeEntry `protobuf:"bytes,8,opt,name=invoke5th,proto3" json:"invoke5th,omitempty"` + Invoke4Th *AbilityInvokeEntry `protobuf:"bytes,1,opt,name=invoke4th,proto3" json:"invoke4th,omitempty"` + Invoke2Nd *AbilityInvokeEntry `protobuf:"bytes,5,opt,name=invoke2nd,proto3" json:"invoke2nd,omitempty"` + Invoke1St *AbilityInvokeEntry `protobuf:"bytes,10,opt,name=invoke1st,proto3" json:"invoke1st,omitempty"` + Invoke3Rd *AbilityInvokeEntry `protobuf:"bytes,12,opt,name=invoke3rd,proto3" json:"invoke3rd,omitempty"` +} + +func (x *AbilityInvocationFixedNotify) Reset() { + *x = AbilityInvocationFixedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityInvocationFixedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityInvocationFixedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityInvocationFixedNotify) ProtoMessage() {} + +func (x *AbilityInvocationFixedNotify) ProtoReflect() protoreflect.Message { + mi := &file_AbilityInvocationFixedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityInvocationFixedNotify.ProtoReflect.Descriptor instead. +func (*AbilityInvocationFixedNotify) Descriptor() ([]byte, []int) { + return file_AbilityInvocationFixedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityInvocationFixedNotify) GetInvoke6Th() *AbilityInvokeEntry { + if x != nil { + return x.Invoke6Th + } + return nil +} + +func (x *AbilityInvocationFixedNotify) GetInvoke5Th() *AbilityInvokeEntry { + if x != nil { + return x.Invoke5Th + } + return nil +} + +func (x *AbilityInvocationFixedNotify) GetInvoke4Th() *AbilityInvokeEntry { + if x != nil { + return x.Invoke4Th + } + return nil +} + +func (x *AbilityInvocationFixedNotify) GetInvoke2Nd() *AbilityInvokeEntry { + if x != nil { + return x.Invoke2Nd + } + return nil +} + +func (x *AbilityInvocationFixedNotify) GetInvoke1St() *AbilityInvokeEntry { + if x != nil { + return x.Invoke1St + } + return nil +} + +func (x *AbilityInvocationFixedNotify) GetInvoke3Rd() *AbilityInvokeEntry { + if x != nil { + return x.Invoke3Rd + } + return nil +} + +var File_AbilityInvocationFixedNotify_proto protoreflect.FileDescriptor + +var file_AbilityInvocationFixedNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, + 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, + 0x02, 0x0a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x31, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x36, 0x74, 0x68, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, + 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x36, + 0x74, 0x68, 0x12, 0x31, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x35, 0x74, 0x68, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, + 0x6b, 0x65, 0x35, 0x74, 0x68, 0x12, 0x31, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x34, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, + 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x34, 0x74, 0x68, 0x12, 0x31, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, + 0x6b, 0x65, 0x32, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x32, 0x6e, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x69, + 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x31, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, + 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x31, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x33, 0x72, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x33, 0x72, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityInvocationFixedNotify_proto_rawDescOnce sync.Once + file_AbilityInvocationFixedNotify_proto_rawDescData = file_AbilityInvocationFixedNotify_proto_rawDesc +) + +func file_AbilityInvocationFixedNotify_proto_rawDescGZIP() []byte { + file_AbilityInvocationFixedNotify_proto_rawDescOnce.Do(func() { + file_AbilityInvocationFixedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvocationFixedNotify_proto_rawDescData) + }) + return file_AbilityInvocationFixedNotify_proto_rawDescData +} + +var file_AbilityInvocationFixedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityInvocationFixedNotify_proto_goTypes = []interface{}{ + (*AbilityInvocationFixedNotify)(nil), // 0: AbilityInvocationFixedNotify + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_AbilityInvocationFixedNotify_proto_depIdxs = []int32{ + 1, // 0: AbilityInvocationFixedNotify.invoke6th:type_name -> AbilityInvokeEntry + 1, // 1: AbilityInvocationFixedNotify.invoke5th:type_name -> AbilityInvokeEntry + 1, // 2: AbilityInvocationFixedNotify.invoke4th:type_name -> AbilityInvokeEntry + 1, // 3: AbilityInvocationFixedNotify.invoke2nd:type_name -> AbilityInvokeEntry + 1, // 4: AbilityInvocationFixedNotify.invoke1st:type_name -> AbilityInvokeEntry + 1, // 5: AbilityInvocationFixedNotify.invoke3rd:type_name -> AbilityInvokeEntry + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_AbilityInvocationFixedNotify_proto_init() } +func file_AbilityInvocationFixedNotify_proto_init() { + if File_AbilityInvocationFixedNotify_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityInvocationFixedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityInvocationFixedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvocationFixedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvocationFixedNotify_proto_goTypes, + DependencyIndexes: file_AbilityInvocationFixedNotify_proto_depIdxs, + MessageInfos: file_AbilityInvocationFixedNotify_proto_msgTypes, + }.Build() + File_AbilityInvocationFixedNotify_proto = out.File + file_AbilityInvocationFixedNotify_proto_rawDesc = nil + file_AbilityInvocationFixedNotify_proto_goTypes = nil + file_AbilityInvocationFixedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvocationFixedNotify.proto b/gate-hk4e-api/proto/AbilityInvocationFixedNotify.proto new file mode 100644 index 00000000..81b460ac --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationFixedNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AbilityInvocationFixedNotify { + AbilityInvokeEntry invoke6th = 14; + AbilityInvokeEntry invoke5th = 8; + AbilityInvokeEntry invoke4th = 1; + AbilityInvokeEntry invoke2nd = 5; + AbilityInvokeEntry invoke1st = 10; + AbilityInvokeEntry invoke3rd = 12; +} diff --git a/gate-hk4e-api/proto/AbilityInvocationsNotify.pb.go b/gate-hk4e-api/proto/AbilityInvocationsNotify.pb.go new file mode 100644 index 00000000..63e22e2c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationsNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvocationsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1198 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AbilityInvocationsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Invokes []*AbilityInvokeEntry `protobuf:"bytes,2,rep,name=invokes,proto3" json:"invokes,omitempty"` +} + +func (x *AbilityInvocationsNotify) Reset() { + *x = AbilityInvocationsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityInvocationsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityInvocationsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityInvocationsNotify) ProtoMessage() {} + +func (x *AbilityInvocationsNotify) ProtoReflect() protoreflect.Message { + mi := &file_AbilityInvocationsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityInvocationsNotify.ProtoReflect.Descriptor instead. +func (*AbilityInvocationsNotify) Descriptor() ([]byte, []int) { + return file_AbilityInvocationsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityInvocationsNotify) GetInvokes() []*AbilityInvokeEntry { + if x != nil { + return x.Invokes + } + return nil +} + +var File_AbilityInvocationsNotify_proto protoreflect.FileDescriptor + +var file_AbilityInvocationsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x18, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x69, 0x6e, + 0x76, 0x6f, 0x6b, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityInvocationsNotify_proto_rawDescOnce sync.Once + file_AbilityInvocationsNotify_proto_rawDescData = file_AbilityInvocationsNotify_proto_rawDesc +) + +func file_AbilityInvocationsNotify_proto_rawDescGZIP() []byte { + file_AbilityInvocationsNotify_proto_rawDescOnce.Do(func() { + file_AbilityInvocationsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvocationsNotify_proto_rawDescData) + }) + return file_AbilityInvocationsNotify_proto_rawDescData +} + +var file_AbilityInvocationsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityInvocationsNotify_proto_goTypes = []interface{}{ + (*AbilityInvocationsNotify)(nil), // 0: AbilityInvocationsNotify + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_AbilityInvocationsNotify_proto_depIdxs = []int32{ + 1, // 0: AbilityInvocationsNotify.invokes:type_name -> AbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityInvocationsNotify_proto_init() } +func file_AbilityInvocationsNotify_proto_init() { + if File_AbilityInvocationsNotify_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityInvocationsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityInvocationsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvocationsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvocationsNotify_proto_goTypes, + DependencyIndexes: file_AbilityInvocationsNotify_proto_depIdxs, + MessageInfos: file_AbilityInvocationsNotify_proto_msgTypes, + }.Build() + File_AbilityInvocationsNotify_proto = out.File + file_AbilityInvocationsNotify_proto_rawDesc = nil + file_AbilityInvocationsNotify_proto_goTypes = nil + file_AbilityInvocationsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvocationsNotify.proto b/gate-hk4e-api/proto/AbilityInvocationsNotify.proto new file mode 100644 index 00000000..8232abd1 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvocationsNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1198 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AbilityInvocationsNotify { + repeated AbilityInvokeEntry invokes = 2; +} diff --git a/gate-hk4e-api/proto/AbilityInvokeArgument.pb.go b/gate-hk4e-api/proto/AbilityInvokeArgument.pb.go new file mode 100644 index 00000000..d76b7d33 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeArgument.pb.go @@ -0,0 +1,506 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvokeArgument.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityInvokeArgument int32 + +const ( + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_NONE AbilityInvokeArgument = 0 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE AbilityInvokeArgument = 1 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST AbilityInvokeArgument = 2 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT AbilityInvokeArgument = 3 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM AbilityInvokeArgument = 4 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM AbilityInvokeArgument = 5 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP AbilityInvokeArgument = 6 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE AbilityInvokeArgument = 7 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE AbilityInvokeArgument = 8 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH AbilityInvokeArgument = 9 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER AbilityInvokeArgument = 10 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE AbilityInvokeArgument = 11 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER AbilityInvokeArgument = 12 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY AbilityInvokeArgument = 13 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY AbilityInvokeArgument = 14 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY AbilityInvokeArgument = 15 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE AbilityInvokeArgument = 16 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL AbilityInvokeArgument = 17 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER AbilityInvokeArgument = 18 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE AbilityInvokeArgument = 19 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION AbilityInvokeArgument = 20 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_META_LOSE_HP AbilityInvokeArgument = 21 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_JDDDLJELBLJ AbilityInvokeArgument = 22 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY AbilityInvokeArgument = 50 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE AbilityInvokeArgument = 51 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT AbilityInvokeArgument = 52 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON AbilityInvokeArgument = 53 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_BLINK AbilityInvokeArgument = 54 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET AbilityInvokeArgument = 55 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER AbilityInvokeArgument = 56 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL AbilityInvokeArgument = 57 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE AbilityInvokeArgument = 58 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG AbilityInvokeArgument = 59 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE AbilityInvokeArgument = 60 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE AbilityInvokeArgument = 61 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE AbilityInvokeArgument = 62 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_FNANDDPDLOL AbilityInvokeArgument = 63 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk3000_EEANHJONEEP AbilityInvokeArgument = 64 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk3000_ADEHJMKKBJD AbilityInvokeArgument = 65 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA AbilityInvokeArgument = 100 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND AbilityInvokeArgument = 101 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE AbilityInvokeArgument = 102 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA AbilityInvokeArgument = 103 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD AbilityInvokeArgument = 104 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD AbilityInvokeArgument = 105 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD AbilityInvokeArgument = 106 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR AbilityInvokeArgument = 107 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER AbilityInvokeArgument = 108 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION AbilityInvokeArgument = 109 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE AbilityInvokeArgument = 110 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC AbilityInvokeArgument = 111 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT AbilityInvokeArgument = 112 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_NJHBFADEOON AbilityInvokeArgument = 113 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_EGCIFFFLLBG AbilityInvokeArgument = 114 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_OFDGFACOLDI AbilityInvokeArgument = 115 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk2700_KDPKJGJNGFB AbilityInvokeArgument = 116 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk3000_BNECPACGKHP AbilityInvokeArgument = 117 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk3000_LGIPOCBHKAL AbilityInvokeArgument = 118 + AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_Unk3000_EFJIGCEGHJG AbilityInvokeArgument = 119 +) + +// Enum value maps for AbilityInvokeArgument. +var ( + AbilityInvokeArgument_name = map[int32]string{ + 0: "ABILITY_INVOKE_ARGUMENT_NONE", + 1: "ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE", + 2: "ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST", + 3: "ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT", + 4: "ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM", + 5: "ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM", + 6: "ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP", + 7: "ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE", + 8: "ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE", + 9: "ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH", + 10: "ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER", + 11: "ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE", + 12: "ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER", + 13: "ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY", + 14: "ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY", + 15: "ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY", + 16: "ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE", + 17: "ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL", + 18: "ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER", + 19: "ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE", + 20: "ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION", + 21: "ABILITY_INVOKE_ARGUMENT_META_LOSE_HP", + 22: "ABILITY_INVOKE_ARGUMENT_Unk2700_JDDDLJELBLJ", + 50: "ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY", + 51: "ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE", + 52: "ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT", + 53: "ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON", + 54: "ABILITY_INVOKE_ARGUMENT_ACTION_BLINK", + 55: "ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET", + 56: "ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER", + 57: "ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL", + 58: "ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE", + 59: "ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG", + 60: "ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE", + 61: "ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE", + 62: "ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE", + 63: "ABILITY_INVOKE_ARGUMENT_Unk2700_FNANDDPDLOL", + 64: "ABILITY_INVOKE_ARGUMENT_Unk3000_EEANHJONEEP", + 65: "ABILITY_INVOKE_ARGUMENT_Unk3000_ADEHJMKKBJD", + 100: "ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA", + 101: "ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND", + 102: "ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE", + 103: "ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA", + 104: "ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD", + 105: "ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD", + 106: "ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD", + 107: "ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR", + 108: "ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER", + 109: "ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION", + 110: "ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE", + 111: "ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC", + 112: "ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT", + 113: "ABILITY_INVOKE_ARGUMENT_Unk2700_NJHBFADEOON", + 114: "ABILITY_INVOKE_ARGUMENT_Unk2700_EGCIFFFLLBG", + 115: "ABILITY_INVOKE_ARGUMENT_Unk2700_OFDGFACOLDI", + 116: "ABILITY_INVOKE_ARGUMENT_Unk2700_KDPKJGJNGFB", + 117: "ABILITY_INVOKE_ARGUMENT_Unk3000_BNECPACGKHP", + 118: "ABILITY_INVOKE_ARGUMENT_Unk3000_LGIPOCBHKAL", + 119: "ABILITY_INVOKE_ARGUMENT_Unk3000_EFJIGCEGHJG", + } + AbilityInvokeArgument_value = map[string]int32{ + "ABILITY_INVOKE_ARGUMENT_NONE": 0, + "ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE": 1, + "ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST": 2, + "ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT": 3, + "ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM": 4, + "ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM": 5, + "ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP": 6, + "ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE": 7, + "ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE": 8, + "ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH": 9, + "ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER": 10, + "ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE": 11, + "ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER": 12, + "ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY": 13, + "ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY": 14, + "ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY": 15, + "ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE": 16, + "ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL": 17, + "ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER": 18, + "ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE": 19, + "ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION": 20, + "ABILITY_INVOKE_ARGUMENT_META_LOSE_HP": 21, + "ABILITY_INVOKE_ARGUMENT_Unk2700_JDDDLJELBLJ": 22, + "ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY": 50, + "ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE": 51, + "ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT": 52, + "ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON": 53, + "ABILITY_INVOKE_ARGUMENT_ACTION_BLINK": 54, + "ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET": 55, + "ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER": 56, + "ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL": 57, + "ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE": 58, + "ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG": 59, + "ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE": 60, + "ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE": 61, + "ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE": 62, + "ABILITY_INVOKE_ARGUMENT_Unk2700_FNANDDPDLOL": 63, + "ABILITY_INVOKE_ARGUMENT_Unk3000_EEANHJONEEP": 64, + "ABILITY_INVOKE_ARGUMENT_Unk3000_ADEHJMKKBJD": 65, + "ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA": 100, + "ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND": 101, + "ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE": 102, + "ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA": 103, + "ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD": 104, + "ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD": 105, + "ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD": 106, + "ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR": 107, + "ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER": 108, + "ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION": 109, + "ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE": 110, + "ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC": 111, + "ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT": 112, + "ABILITY_INVOKE_ARGUMENT_Unk2700_NJHBFADEOON": 113, + "ABILITY_INVOKE_ARGUMENT_Unk2700_EGCIFFFLLBG": 114, + "ABILITY_INVOKE_ARGUMENT_Unk2700_OFDGFACOLDI": 115, + "ABILITY_INVOKE_ARGUMENT_Unk2700_KDPKJGJNGFB": 116, + "ABILITY_INVOKE_ARGUMENT_Unk3000_BNECPACGKHP": 117, + "ABILITY_INVOKE_ARGUMENT_Unk3000_LGIPOCBHKAL": 118, + "ABILITY_INVOKE_ARGUMENT_Unk3000_EFJIGCEGHJG": 119, + } +) + +func (x AbilityInvokeArgument) Enum() *AbilityInvokeArgument { + p := new(AbilityInvokeArgument) + *p = x + return p +} + +func (x AbilityInvokeArgument) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AbilityInvokeArgument) Descriptor() protoreflect.EnumDescriptor { + return file_AbilityInvokeArgument_proto_enumTypes[0].Descriptor() +} + +func (AbilityInvokeArgument) Type() protoreflect.EnumType { + return &file_AbilityInvokeArgument_proto_enumTypes[0] +} + +func (x AbilityInvokeArgument) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AbilityInvokeArgument.Descriptor instead. +func (AbilityInvokeArgument) EnumDescriptor() ([]byte, []int) { + return file_AbilityInvokeArgument_proto_rawDescGZIP(), []int{0} +} + +var File_AbilityInvokeArgument_proto protoreflect.FileDescriptor + +var file_AbilityInvokeArgument_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, + 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xa0, 0x18, + 0x0a, 0x15, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, + 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x30, 0x0a, 0x2c, 0x41, 0x42, 0x49, + 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, + 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, + 0x45, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x40, 0x0a, 0x3c, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, + 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, 0x43, 0x48, 0x41, + 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x37, 0x0a, + 0x33, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x5f, 0x41, 0x52, 0x47, 0x55, + 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52, 0x49, 0x44, 0x45, 0x5f, + 0x50, 0x41, 0x52, 0x41, 0x4d, 0x10, 0x04, 0x12, 0x35, 0x0a, 0x31, 0x41, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x5f, 0x4f, 0x56, + 0x45, 0x52, 0x52, 0x49, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x10, 0x05, 0x12, 0x33, + 0x0a, 0x2f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x52, + 0x45, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52, 0x49, 0x44, 0x45, 0x4d, 0x41, + 0x50, 0x10, 0x06, 0x12, 0x33, 0x0a, 0x2f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, + 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, + 0x45, 0x54, 0x41, 0x5f, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, + 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x07, 0x12, 0x39, 0x0a, 0x35, 0x41, 0x42, 0x49, 0x4c, + 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x5f, 0x47, + 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, + 0x45, 0x10, 0x08, 0x12, 0x39, 0x0a, 0x35, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, + 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, + 0x45, 0x54, 0x41, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x4c, 0x45, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, 0x09, 0x12, 0x3f, + 0x0a, 0x3b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x41, + 0x44, 0x44, 0x5f, 0x4f, 0x52, 0x5f, 0x47, 0x45, 0x54, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x10, 0x0a, 0x12, + 0x31, 0x0a, 0x2d, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, + 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, + 0x53, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x10, 0x0b, 0x12, 0x34, 0x0a, 0x30, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, + 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, + 0x54, 0x41, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x54, + 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x10, 0x0c, 0x12, 0x30, 0x0a, 0x2c, 0x41, 0x42, 0x49, 0x4c, + 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x4e, 0x45, 0x57, + 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x0d, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, + 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, + 0x45, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x0e, 0x12, 0x3a, 0x0a, 0x36, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x53, 0x45, 0x54, 0x5f, + 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x45, + 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x0f, 0x12, 0x3b, 0x0a, 0x37, 0x41, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, + 0x5f, 0x44, 0x55, 0x52, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, + 0x47, 0x45, 0x10, 0x10, 0x12, 0x38, 0x0a, 0x34, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x53, 0x55, 0x41, 0x4c, 0x10, 0x11, 0x12, 0x33, + 0x0a, 0x2f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x53, + 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x53, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, + 0x52, 0x10, 0x12, 0x12, 0x3c, 0x0a, 0x38, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, + 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, + 0x45, 0x54, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x42, 0x41, 0x53, 0x45, 0x5f, + 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x41, 0x4d, 0x41, 0x47, 0x45, 0x10, + 0x13, 0x12, 0x39, 0x0a, 0x35, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, + 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, + 0x41, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x14, 0x12, 0x28, 0x0a, 0x24, + 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, + 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, + 0x45, 0x5f, 0x48, 0x50, 0x10, 0x15, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x44, 0x44, 0x4c, 0x4a, + 0x45, 0x4c, 0x42, 0x4c, 0x4a, 0x10, 0x16, 0x12, 0x32, 0x0a, 0x2e, 0x41, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, + 0x52, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x32, 0x12, 0x33, 0x0a, 0x2f, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, + 0x54, 0x5f, 0x43, 0x52, 0x41, 0x53, 0x48, 0x5f, 0x44, 0x41, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x33, + 0x12, 0x29, 0x0a, 0x25, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, + 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x10, 0x34, 0x12, 0x29, 0x0a, 0x25, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, + 0x4d, 0x4d, 0x4f, 0x4e, 0x10, 0x35, 0x12, 0x28, 0x0a, 0x24, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x36, + 0x12, 0x30, 0x0a, 0x2c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, + 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, + 0x10, 0x37, 0x12, 0x37, 0x0a, 0x33, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, + 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x10, 0x38, 0x12, 0x35, 0x0a, 0x31, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x45, + 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x5f, 0x42, 0x41, 0x4c, 0x4c, + 0x10, 0x39, 0x12, 0x40, 0x0a, 0x3c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, + 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x5f, + 0x4f, 0x56, 0x45, 0x52, 0x52, 0x49, 0x44, 0x45, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x56, 0x41, 0x4c, + 0x55, 0x45, 0x10, 0x3a, 0x12, 0x35, 0x0a, 0x31, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4d, 0x4f, + 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x3b, 0x12, 0x2e, 0x0a, 0x2a, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, + 0x45, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4c, 0x45, 0x10, 0x3c, 0x12, 0x2f, 0x0a, 0x2b, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, + 0x53, 0x54, 0x52, 0x4f, 0x59, 0x5f, 0x54, 0x49, 0x4c, 0x45, 0x10, 0x3d, 0x12, 0x33, 0x0a, 0x2f, + 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, + 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, + 0x49, 0x52, 0x45, 0x5f, 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, + 0x3e, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, + 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x41, 0x4e, 0x44, 0x44, 0x50, 0x44, 0x4c, 0x4f, 0x4c, + 0x10, 0x3f, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, + 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x41, 0x4e, 0x48, 0x4a, 0x4f, 0x4e, 0x45, 0x45, + 0x50, 0x10, 0x40, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, + 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x45, 0x48, 0x4a, 0x4d, 0x4b, 0x4b, 0x42, + 0x4a, 0x44, 0x10, 0x41, 0x12, 0x38, 0x0a, 0x34, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x53, 0x54, 0x45, + 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x10, 0x64, 0x12, 0x30, + 0x0a, 0x2c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, + 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x46, 0x45, 0x4e, 0x44, 0x10, 0x65, + 0x12, 0x2b, 0x0a, 0x27, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, + 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, + 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x5f, 0x5a, 0x4f, 0x4e, 0x45, 0x10, 0x66, 0x12, 0x2e, 0x0a, + 0x2a, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x43, + 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4d, 0x49, 0x4e, 0x41, 0x10, 0x67, 0x12, 0x2e, 0x0a, + 0x2a, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x45, + 0x4c, 0x49, 0x54, 0x45, 0x5f, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x68, 0x12, 0x30, 0x0a, + 0x2c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x45, + 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x69, 0x12, + 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, + 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, + 0x5f, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x5f, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x6a, + 0x12, 0x2c, 0x0a, 0x28, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, + 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, + 0x4e, 0x5f, 0x53, 0x48, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x42, 0x41, 0x52, 0x10, 0x6b, 0x12, 0x33, + 0x0a, 0x2f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, + 0x57, 0x49, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x44, 0x5f, 0x53, 0x50, 0x41, 0x57, 0x4e, 0x45, + 0x52, 0x10, 0x6c, 0x12, 0x3f, 0x0a, 0x3b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, + 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, + 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x44, 0x4f, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x42, + 0x59, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x6d, 0x12, 0x3b, 0x0a, 0x37, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, + 0x6e, 0x12, 0x31, 0x0a, 0x2d, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, + 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x58, + 0x49, 0x4e, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x53, 0x59, + 0x4e, 0x43, 0x10, 0x6f, 0x12, 0x33, 0x0a, 0x2f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, + 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x70, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, + 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, + 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4a, 0x48, + 0x42, 0x46, 0x41, 0x44, 0x45, 0x4f, 0x4f, 0x4e, 0x10, 0x71, 0x12, 0x2f, 0x0a, 0x2b, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, 0x47, + 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x47, + 0x43, 0x49, 0x46, 0x46, 0x46, 0x4c, 0x4c, 0x42, 0x47, 0x10, 0x72, 0x12, 0x2f, 0x0a, 0x2b, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x46, 0x44, 0x47, 0x46, 0x41, 0x43, 0x4f, 0x4c, 0x44, 0x49, 0x10, 0x73, 0x12, 0x2f, 0x0a, 0x2b, + 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, 0x41, + 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x44, 0x50, 0x4b, 0x4a, 0x47, 0x4a, 0x4e, 0x47, 0x46, 0x42, 0x10, 0x74, 0x12, 0x2f, 0x0a, + 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x42, 0x4e, 0x45, 0x43, 0x50, 0x41, 0x43, 0x47, 0x4b, 0x48, 0x50, 0x10, 0x75, 0x12, 0x2f, + 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4c, 0x47, 0x49, 0x50, 0x4f, 0x43, 0x42, 0x48, 0x4b, 0x41, 0x4c, 0x10, 0x76, 0x12, + 0x2f, 0x0a, 0x2b, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x4b, + 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x45, 0x46, 0x4a, 0x49, 0x47, 0x43, 0x45, 0x47, 0x48, 0x4a, 0x47, 0x10, 0x77, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityInvokeArgument_proto_rawDescOnce sync.Once + file_AbilityInvokeArgument_proto_rawDescData = file_AbilityInvokeArgument_proto_rawDesc +) + +func file_AbilityInvokeArgument_proto_rawDescGZIP() []byte { + file_AbilityInvokeArgument_proto_rawDescOnce.Do(func() { + file_AbilityInvokeArgument_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvokeArgument_proto_rawDescData) + }) + return file_AbilityInvokeArgument_proto_rawDescData +} + +var file_AbilityInvokeArgument_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_AbilityInvokeArgument_proto_goTypes = []interface{}{ + (AbilityInvokeArgument)(0), // 0: AbilityInvokeArgument +} +var file_AbilityInvokeArgument_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityInvokeArgument_proto_init() } +func file_AbilityInvokeArgument_proto_init() { + if File_AbilityInvokeArgument_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvokeArgument_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvokeArgument_proto_goTypes, + DependencyIndexes: file_AbilityInvokeArgument_proto_depIdxs, + EnumInfos: file_AbilityInvokeArgument_proto_enumTypes, + }.Build() + File_AbilityInvokeArgument_proto = out.File + file_AbilityInvokeArgument_proto_rawDesc = nil + file_AbilityInvokeArgument_proto_goTypes = nil + file_AbilityInvokeArgument_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvokeArgument.proto b/gate-hk4e-api/proto/AbilityInvokeArgument.proto new file mode 100644 index 00000000..0ff427c3 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeArgument.proto @@ -0,0 +1,81 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum AbilityInvokeArgument { + ABILITY_INVOKE_ARGUMENT_NONE = 0; + ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE = 1; + ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2; + ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT = 3; + ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM = 4; + ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM = 5; + ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP = 6; + ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE = 7; + ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE = 8; + ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH = 9; + ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10; + ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE = 11; + ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER = 12; + ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY = 13; + ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY = 14; + ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY = 15; + ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE = 16; + ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL = 17; + ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER = 18; + ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE = 19; + ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION = 20; + ABILITY_INVOKE_ARGUMENT_META_LOSE_HP = 21; + ABILITY_INVOKE_ARGUMENT_Unk2700_JDDDLJELBLJ = 22; + ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY = 50; + ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE = 51; + ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT = 52; + ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON = 53; + ABILITY_INVOKE_ARGUMENT_ACTION_BLINK = 54; + ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET = 55; + ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER = 56; + ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL = 57; + ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE = 58; + ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG = 59; + ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE = 60; + ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE = 61; + ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE = 62; + ABILITY_INVOKE_ARGUMENT_Unk2700_FNANDDPDLOL = 63; + ABILITY_INVOKE_ARGUMENT_Unk3000_EEANHJONEEP = 64; + ABILITY_INVOKE_ARGUMENT_Unk3000_ADEHJMKKBJD = 65; + ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA = 100; + ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND = 101; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE = 102; + ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA = 103; + ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD = 104; + ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD = 105; + ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD = 106; + ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR = 107; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER = 108; + ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION = 109; + ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110; + ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC = 111; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT = 112; + ABILITY_INVOKE_ARGUMENT_Unk2700_NJHBFADEOON = 113; + ABILITY_INVOKE_ARGUMENT_Unk2700_EGCIFFFLLBG = 114; + ABILITY_INVOKE_ARGUMENT_Unk2700_OFDGFACOLDI = 115; + ABILITY_INVOKE_ARGUMENT_Unk2700_KDPKJGJNGFB = 116; + ABILITY_INVOKE_ARGUMENT_Unk3000_BNECPACGKHP = 117; + ABILITY_INVOKE_ARGUMENT_Unk3000_LGIPOCBHKAL = 118; + ABILITY_INVOKE_ARGUMENT_Unk3000_EFJIGCEGHJG = 119; +} diff --git a/gate-hk4e-api/proto/AbilityInvokeEntry.pb.go b/gate-hk4e-api/proto/AbilityInvokeEntry.pb.go new file mode 100644 index 00000000..df7ddaf1 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeEntry.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvokeEntry.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityInvokeEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArgumentType AbilityInvokeArgument `protobuf:"varint,1,opt,name=argument_type,json=argumentType,proto3,enum=AbilityInvokeArgument" json:"argument_type,omitempty"` + Head *AbilityInvokeEntryHead `protobuf:"bytes,2,opt,name=head,proto3" json:"head,omitempty"` + ForwardPeer uint32 `protobuf:"varint,4,opt,name=forward_peer,json=forwardPeer,proto3" json:"forward_peer,omitempty"` + EventId uint32 `protobuf:"varint,12,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + ForwardType ForwardType `protobuf:"varint,3,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + AbilityData []byte `protobuf:"bytes,15,opt,name=ability_data,json=abilityData,proto3" json:"ability_data,omitempty"` + TotalTickTime float64 `protobuf:"fixed64,14,opt,name=total_tick_time,json=totalTickTime,proto3" json:"total_tick_time,omitempty"` + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *AbilityInvokeEntry) Reset() { + *x = AbilityInvokeEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityInvokeEntry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityInvokeEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityInvokeEntry) ProtoMessage() {} + +func (x *AbilityInvokeEntry) ProtoReflect() protoreflect.Message { + mi := &file_AbilityInvokeEntry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityInvokeEntry.ProtoReflect.Descriptor instead. +func (*AbilityInvokeEntry) Descriptor() ([]byte, []int) { + return file_AbilityInvokeEntry_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityInvokeEntry) GetArgumentType() AbilityInvokeArgument { + if x != nil { + return x.ArgumentType + } + return AbilityInvokeArgument_ABILITY_INVOKE_ARGUMENT_NONE +} + +func (x *AbilityInvokeEntry) GetHead() *AbilityInvokeEntryHead { + if x != nil { + return x.Head + } + return nil +} + +func (x *AbilityInvokeEntry) GetForwardPeer() uint32 { + if x != nil { + return x.ForwardPeer + } + return 0 +} + +func (x *AbilityInvokeEntry) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *AbilityInvokeEntry) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *AbilityInvokeEntry) GetAbilityData() []byte { + if x != nil { + return x.AbilityData + } + return nil +} + +func (x *AbilityInvokeEntry) GetTotalTickTime() float64 { + if x != nil { + return x.TotalTickTime + } + return 0 +} + +func (x *AbilityInvokeEntry) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_AbilityInvokeEntry_proto protoreflect.FileDescriptor + +var file_AbilityInvokeEntry_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x65, 0x61, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x12, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x3b, 0x0a, 0x0d, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, + 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x04, + 0x68, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, + 0x65, 0x61, 0x64, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x26, 0x0a, 0x0f, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x63, 0x6b, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityInvokeEntry_proto_rawDescOnce sync.Once + file_AbilityInvokeEntry_proto_rawDescData = file_AbilityInvokeEntry_proto_rawDesc +) + +func file_AbilityInvokeEntry_proto_rawDescGZIP() []byte { + file_AbilityInvokeEntry_proto_rawDescOnce.Do(func() { + file_AbilityInvokeEntry_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvokeEntry_proto_rawDescData) + }) + return file_AbilityInvokeEntry_proto_rawDescData +} + +var file_AbilityInvokeEntry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityInvokeEntry_proto_goTypes = []interface{}{ + (*AbilityInvokeEntry)(nil), // 0: AbilityInvokeEntry + (AbilityInvokeArgument)(0), // 1: AbilityInvokeArgument + (*AbilityInvokeEntryHead)(nil), // 2: AbilityInvokeEntryHead + (ForwardType)(0), // 3: ForwardType +} +var file_AbilityInvokeEntry_proto_depIdxs = []int32{ + 1, // 0: AbilityInvokeEntry.argument_type:type_name -> AbilityInvokeArgument + 2, // 1: AbilityInvokeEntry.head:type_name -> AbilityInvokeEntryHead + 3, // 2: AbilityInvokeEntry.forward_type:type_name -> ForwardType + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_AbilityInvokeEntry_proto_init() } +func file_AbilityInvokeEntry_proto_init() { + if File_AbilityInvokeEntry_proto != nil { + return + } + file_AbilityInvokeArgument_proto_init() + file_AbilityInvokeEntryHead_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityInvokeEntry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityInvokeEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvokeEntry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvokeEntry_proto_goTypes, + DependencyIndexes: file_AbilityInvokeEntry_proto_depIdxs, + MessageInfos: file_AbilityInvokeEntry_proto_msgTypes, + }.Build() + File_AbilityInvokeEntry_proto = out.File + file_AbilityInvokeEntry_proto_rawDesc = nil + file_AbilityInvokeEntry_proto_goTypes = nil + file_AbilityInvokeEntry_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvokeEntry.proto b/gate-hk4e-api/proto/AbilityInvokeEntry.proto new file mode 100644 index 00000000..5eda34ef --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeEntry.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeArgument.proto"; +import "AbilityInvokeEntryHead.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +message AbilityInvokeEntry { + AbilityInvokeArgument argument_type = 1; + AbilityInvokeEntryHead head = 2; + uint32 forward_peer = 4; + uint32 event_id = 12; + ForwardType forward_type = 3; + bytes ability_data = 15; + double total_tick_time = 14; + uint32 entity_id = 9; +} diff --git a/gate-hk4e-api/proto/AbilityInvokeEntryHead.pb.go b/gate-hk4e-api/proto/AbilityInvokeEntryHead.pb.go new file mode 100644 index 00000000..489e2ef0 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeEntryHead.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityInvokeEntryHead.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityInvokeEntryHead struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModifierConfigLocalId int32 `protobuf:"varint,7,opt,name=modifier_config_local_id,json=modifierConfigLocalId,proto3" json:"modifier_config_local_id,omitempty"` + IsServerbuffModifier bool `protobuf:"varint,2,opt,name=is_serverbuff_modifier,json=isServerbuffModifier,proto3" json:"is_serverbuff_modifier,omitempty"` + InstancedAbilityId uint32 `protobuf:"varint,1,opt,name=instanced_ability_id,json=instancedAbilityId,proto3" json:"instanced_ability_id,omitempty"` + InstancedModifierId uint32 `protobuf:"varint,12,opt,name=instanced_modifier_id,json=instancedModifierId,proto3" json:"instanced_modifier_id,omitempty"` + LocalId int32 `protobuf:"varint,10,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"` + ServerBuffUid uint32 `protobuf:"varint,14,opt,name=server_buff_uid,json=serverBuffUid,proto3" json:"server_buff_uid,omitempty"` + TargetId uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` +} + +func (x *AbilityInvokeEntryHead) Reset() { + *x = AbilityInvokeEntryHead{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityInvokeEntryHead_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityInvokeEntryHead) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityInvokeEntryHead) ProtoMessage() {} + +func (x *AbilityInvokeEntryHead) ProtoReflect() protoreflect.Message { + mi := &file_AbilityInvokeEntryHead_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityInvokeEntryHead.ProtoReflect.Descriptor instead. +func (*AbilityInvokeEntryHead) Descriptor() ([]byte, []int) { + return file_AbilityInvokeEntryHead_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityInvokeEntryHead) GetModifierConfigLocalId() int32 { + if x != nil { + return x.ModifierConfigLocalId + } + return 0 +} + +func (x *AbilityInvokeEntryHead) GetIsServerbuffModifier() bool { + if x != nil { + return x.IsServerbuffModifier + } + return false +} + +func (x *AbilityInvokeEntryHead) GetInstancedAbilityId() uint32 { + if x != nil { + return x.InstancedAbilityId + } + return 0 +} + +func (x *AbilityInvokeEntryHead) GetInstancedModifierId() uint32 { + if x != nil { + return x.InstancedModifierId + } + return 0 +} + +func (x *AbilityInvokeEntryHead) GetLocalId() int32 { + if x != nil { + return x.LocalId + } + return 0 +} + +func (x *AbilityInvokeEntryHead) GetServerBuffUid() uint32 { + if x != nil { + return x.ServerBuffUid + } + return 0 +} + +func (x *AbilityInvokeEntryHead) GetTargetId() uint32 { + if x != nil { + return x.TargetId + } + return 0 +} + +var File_AbilityInvokeEntryHead_proto protoreflect.FileDescriptor + +var file_AbilityInvokeEntryHead_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x48, 0x65, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, + 0x02, 0x0a, 0x16, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x65, 0x61, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, + 0x75, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x55, 0x69, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityInvokeEntryHead_proto_rawDescOnce sync.Once + file_AbilityInvokeEntryHead_proto_rawDescData = file_AbilityInvokeEntryHead_proto_rawDesc +) + +func file_AbilityInvokeEntryHead_proto_rawDescGZIP() []byte { + file_AbilityInvokeEntryHead_proto_rawDescOnce.Do(func() { + file_AbilityInvokeEntryHead_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityInvokeEntryHead_proto_rawDescData) + }) + return file_AbilityInvokeEntryHead_proto_rawDescData +} + +var file_AbilityInvokeEntryHead_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityInvokeEntryHead_proto_goTypes = []interface{}{ + (*AbilityInvokeEntryHead)(nil), // 0: AbilityInvokeEntryHead +} +var file_AbilityInvokeEntryHead_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityInvokeEntryHead_proto_init() } +func file_AbilityInvokeEntryHead_proto_init() { + if File_AbilityInvokeEntryHead_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityInvokeEntryHead_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityInvokeEntryHead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityInvokeEntryHead_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityInvokeEntryHead_proto_goTypes, + DependencyIndexes: file_AbilityInvokeEntryHead_proto_depIdxs, + MessageInfos: file_AbilityInvokeEntryHead_proto_msgTypes, + }.Build() + File_AbilityInvokeEntryHead_proto = out.File + file_AbilityInvokeEntryHead_proto_rawDesc = nil + file_AbilityInvokeEntryHead_proto_goTypes = nil + file_AbilityInvokeEntryHead_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityInvokeEntryHead.proto b/gate-hk4e-api/proto/AbilityInvokeEntryHead.proto new file mode 100644 index 00000000..0d17a283 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityInvokeEntryHead.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityInvokeEntryHead { + int32 modifier_config_local_id = 7; + bool is_serverbuff_modifier = 2; + uint32 instanced_ability_id = 1; + uint32 instanced_modifier_id = 12; + int32 local_id = 10; + uint32 server_buff_uid = 14; + uint32 target_id = 3; +} diff --git a/gate-hk4e-api/proto/AbilityMetaAddAbility.pb.go b/gate-hk4e-api/proto/AbilityMetaAddAbility.pb.go new file mode 100644 index 00000000..35145d55 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaAddAbility.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaAddAbility.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaAddAbility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ability *AbilityAppliedAbility `protobuf:"bytes,12,opt,name=ability,proto3" json:"ability,omitempty"` +} + +func (x *AbilityMetaAddAbility) Reset() { + *x = AbilityMetaAddAbility{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaAddAbility_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaAddAbility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaAddAbility) ProtoMessage() {} + +func (x *AbilityMetaAddAbility) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaAddAbility_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaAddAbility.ProtoReflect.Descriptor instead. +func (*AbilityMetaAddAbility) Descriptor() ([]byte, []int) { + return file_AbilityMetaAddAbility_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaAddAbility) GetAbility() *AbilityAppliedAbility { + if x != nil { + return x.Ability + } + return nil +} + +var File_AbilityMetaAddAbility_proto protoreflect.FileDescriptor + +var file_AbilityMetaAddAbility_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x41, 0x64, 0x64, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x15, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x41, 0x64, 0x64, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x07, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, + 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x07, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaAddAbility_proto_rawDescOnce sync.Once + file_AbilityMetaAddAbility_proto_rawDescData = file_AbilityMetaAddAbility_proto_rawDesc +) + +func file_AbilityMetaAddAbility_proto_rawDescGZIP() []byte { + file_AbilityMetaAddAbility_proto_rawDescOnce.Do(func() { + file_AbilityMetaAddAbility_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaAddAbility_proto_rawDescData) + }) + return file_AbilityMetaAddAbility_proto_rawDescData +} + +var file_AbilityMetaAddAbility_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaAddAbility_proto_goTypes = []interface{}{ + (*AbilityMetaAddAbility)(nil), // 0: AbilityMetaAddAbility + (*AbilityAppliedAbility)(nil), // 1: AbilityAppliedAbility +} +var file_AbilityMetaAddAbility_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaAddAbility.ability:type_name -> AbilityAppliedAbility + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMetaAddAbility_proto_init() } +func file_AbilityMetaAddAbility_proto_init() { + if File_AbilityMetaAddAbility_proto != nil { + return + } + file_AbilityAppliedAbility_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaAddAbility_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaAddAbility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaAddAbility_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaAddAbility_proto_goTypes, + DependencyIndexes: file_AbilityMetaAddAbility_proto_depIdxs, + MessageInfos: file_AbilityMetaAddAbility_proto_msgTypes, + }.Build() + File_AbilityMetaAddAbility_proto = out.File + file_AbilityMetaAddAbility_proto_rawDesc = nil + file_AbilityMetaAddAbility_proto_goTypes = nil + file_AbilityMetaAddAbility_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaAddAbility.proto b/gate-hk4e-api/proto/AbilityMetaAddAbility.proto new file mode 100644 index 00000000..db456976 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaAddAbility.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityAppliedAbility.proto"; + +option go_package = "./;proto"; + +message AbilityMetaAddAbility { + AbilityAppliedAbility ability = 12; +} diff --git a/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.pb.go b/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.pb.go new file mode 100644 index 00000000..3de20b65 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaAddOrGetAbilityAndTrigger.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaAddOrGetAbilityAndTrigger struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityName *AbilityString `protobuf:"bytes,13,opt,name=ability_name,json=abilityName,proto3" json:"ability_name,omitempty"` + TriggerArgument float32 `protobuf:"fixed32,3,opt,name=trigger_argument,json=triggerArgument,proto3" json:"trigger_argument,omitempty"` + AbilityOverride *AbilityString `protobuf:"bytes,8,opt,name=ability_override,json=abilityOverride,proto3" json:"ability_override,omitempty"` +} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) Reset() { + *x = AbilityMetaAddOrGetAbilityAndTrigger{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaAddOrGetAbilityAndTrigger_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaAddOrGetAbilityAndTrigger) ProtoMessage() {} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaAddOrGetAbilityAndTrigger_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaAddOrGetAbilityAndTrigger.ProtoReflect.Descriptor instead. +func (*AbilityMetaAddOrGetAbilityAndTrigger) Descriptor() ([]byte, []int) { + return file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) GetAbilityName() *AbilityString { + if x != nil { + return x.AbilityName + } + return nil +} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) GetTriggerArgument() float32 { + if x != nil { + return x.TriggerArgument + } + return 0 +} + +func (x *AbilityMetaAddOrGetAbilityAndTrigger) GetAbilityOverride() *AbilityString { + if x != nil { + return x.AbilityOverride + } + return nil +} + +var File_AbilityMetaAddOrGetAbilityAndTrigger_proto protoreflect.FileDescriptor + +var file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x41, 0x64, 0x64, + 0x4f, 0x72, 0x47, 0x65, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x64, 0x54, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x24, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, + 0x61, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x47, 0x65, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x41, 0x6e, 0x64, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x0c, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x0b, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, + 0x10, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x10, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x52, 0x0f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescOnce sync.Once + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescData = file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDesc +) + +func file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescGZIP() []byte { + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescOnce.Do(func() { + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescData) + }) + return file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDescData +} + +var file_AbilityMetaAddOrGetAbilityAndTrigger_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaAddOrGetAbilityAndTrigger_proto_goTypes = []interface{}{ + (*AbilityMetaAddOrGetAbilityAndTrigger)(nil), // 0: AbilityMetaAddOrGetAbilityAndTrigger + (*AbilityString)(nil), // 1: AbilityString +} +var file_AbilityMetaAddOrGetAbilityAndTrigger_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaAddOrGetAbilityAndTrigger.ability_name:type_name -> AbilityString + 1, // 1: AbilityMetaAddOrGetAbilityAndTrigger.ability_override:type_name -> AbilityString + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityMetaAddOrGetAbilityAndTrigger_proto_init() } +func file_AbilityMetaAddOrGetAbilityAndTrigger_proto_init() { + if File_AbilityMetaAddOrGetAbilityAndTrigger_proto != nil { + return + } + file_AbilityString_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaAddOrGetAbilityAndTrigger); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaAddOrGetAbilityAndTrigger_proto_goTypes, + DependencyIndexes: file_AbilityMetaAddOrGetAbilityAndTrigger_proto_depIdxs, + MessageInfos: file_AbilityMetaAddOrGetAbilityAndTrigger_proto_msgTypes, + }.Build() + File_AbilityMetaAddOrGetAbilityAndTrigger_proto = out.File + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_rawDesc = nil + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_goTypes = nil + file_AbilityMetaAddOrGetAbilityAndTrigger_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.proto b/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.proto new file mode 100644 index 00000000..447f19ec --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaAddOrGetAbilityAndTrigger.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityString.proto"; + +option go_package = "./;proto"; + +message AbilityMetaAddOrGetAbilityAndTrigger { + AbilityString ability_name = 13; + float trigger_argument = 3; + AbilityString ability_override = 8; +} diff --git a/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.pb.go b/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.pb.go new file mode 100644 index 00000000..fd6d557d --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaElementReactionVisual.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaElementReactionVisual struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitIndex int32 `protobuf:"varint,2,opt,name=hit_index,json=hitIndex,proto3" json:"hit_index,omitempty"` + ElementSourceType uint32 `protobuf:"varint,12,opt,name=element_source_type,json=elementSourceType,proto3" json:"element_source_type,omitempty"` + ElementReactorType uint32 `protobuf:"varint,6,opt,name=element_reactor_type,json=elementReactorType,proto3" json:"element_reactor_type,omitempty"` + ElementReactionType uint32 `protobuf:"varint,5,opt,name=element_reaction_type,json=elementReactionType,proto3" json:"element_reaction_type,omitempty"` +} + +func (x *AbilityMetaElementReactionVisual) Reset() { + *x = AbilityMetaElementReactionVisual{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaElementReactionVisual_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaElementReactionVisual) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaElementReactionVisual) ProtoMessage() {} + +func (x *AbilityMetaElementReactionVisual) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaElementReactionVisual_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaElementReactionVisual.ProtoReflect.Descriptor instead. +func (*AbilityMetaElementReactionVisual) Descriptor() ([]byte, []int) { + return file_AbilityMetaElementReactionVisual_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaElementReactionVisual) GetHitIndex() int32 { + if x != nil { + return x.HitIndex + } + return 0 +} + +func (x *AbilityMetaElementReactionVisual) GetElementSourceType() uint32 { + if x != nil { + return x.ElementSourceType + } + return 0 +} + +func (x *AbilityMetaElementReactionVisual) GetElementReactorType() uint32 { + if x != nil { + return x.ElementReactorType + } + return 0 +} + +func (x *AbilityMetaElementReactionVisual) GetElementReactionType() uint32 { + if x != nil { + return x.ElementReactionType + } + return 0 +} + +var File_AbilityMetaElementReactionVisual_proto protoreflect.FileDescriptor + +var file_AbilityMetaElementReactionVisual_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x73, 0x75, + 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x20, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x12, 0x1b, 0x0a, + 0x09, 0x68, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x68, 0x69, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x15, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaElementReactionVisual_proto_rawDescOnce sync.Once + file_AbilityMetaElementReactionVisual_proto_rawDescData = file_AbilityMetaElementReactionVisual_proto_rawDesc +) + +func file_AbilityMetaElementReactionVisual_proto_rawDescGZIP() []byte { + file_AbilityMetaElementReactionVisual_proto_rawDescOnce.Do(func() { + file_AbilityMetaElementReactionVisual_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaElementReactionVisual_proto_rawDescData) + }) + return file_AbilityMetaElementReactionVisual_proto_rawDescData +} + +var file_AbilityMetaElementReactionVisual_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaElementReactionVisual_proto_goTypes = []interface{}{ + (*AbilityMetaElementReactionVisual)(nil), // 0: AbilityMetaElementReactionVisual +} +var file_AbilityMetaElementReactionVisual_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaElementReactionVisual_proto_init() } +func file_AbilityMetaElementReactionVisual_proto_init() { + if File_AbilityMetaElementReactionVisual_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaElementReactionVisual_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaElementReactionVisual); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaElementReactionVisual_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaElementReactionVisual_proto_goTypes, + DependencyIndexes: file_AbilityMetaElementReactionVisual_proto_depIdxs, + MessageInfos: file_AbilityMetaElementReactionVisual_proto_msgTypes, + }.Build() + File_AbilityMetaElementReactionVisual_proto = out.File + file_AbilityMetaElementReactionVisual_proto_rawDesc = nil + file_AbilityMetaElementReactionVisual_proto_goTypes = nil + file_AbilityMetaElementReactionVisual_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.proto b/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.proto new file mode 100644 index 00000000..482b1ada --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaElementReactionVisual.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaElementReactionVisual { + int32 hit_index = 2; + uint32 element_source_type = 12; + uint32 element_reactor_type = 6; + uint32 element_reaction_type = 5; +} diff --git a/gate-hk4e-api/proto/AbilityMetaLoseHp.pb.go b/gate-hk4e-api/proto/AbilityMetaLoseHp.pb.go new file mode 100644 index 00000000..932feda4 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaLoseHp.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaLoseHp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaLoseHp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LoseHpConfigIdx uint32 `protobuf:"varint,10,opt,name=lose_hp_config_idx,json=loseHpConfigIdx,proto3" json:"lose_hp_config_idx,omitempty"` +} + +func (x *AbilityMetaLoseHp) Reset() { + *x = AbilityMetaLoseHp{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaLoseHp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaLoseHp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaLoseHp) ProtoMessage() {} + +func (x *AbilityMetaLoseHp) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaLoseHp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaLoseHp.ProtoReflect.Descriptor instead. +func (*AbilityMetaLoseHp) Descriptor() ([]byte, []int) { + return file_AbilityMetaLoseHp_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaLoseHp) GetLoseHpConfigIdx() uint32 { + if x != nil { + return x.LoseHpConfigIdx + } + return 0 +} + +var File_AbilityMetaLoseHp_proto protoreflect.FileDescriptor + +var file_AbilityMetaLoseHp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x4c, 0x6f, 0x73, + 0x65, 0x48, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x11, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x4c, 0x6f, 0x73, 0x65, 0x48, 0x70, 0x12, 0x2b, + 0x0a, 0x12, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x68, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x6f, 0x73, 0x65, + 0x48, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaLoseHp_proto_rawDescOnce sync.Once + file_AbilityMetaLoseHp_proto_rawDescData = file_AbilityMetaLoseHp_proto_rawDesc +) + +func file_AbilityMetaLoseHp_proto_rawDescGZIP() []byte { + file_AbilityMetaLoseHp_proto_rawDescOnce.Do(func() { + file_AbilityMetaLoseHp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaLoseHp_proto_rawDescData) + }) + return file_AbilityMetaLoseHp_proto_rawDescData +} + +var file_AbilityMetaLoseHp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaLoseHp_proto_goTypes = []interface{}{ + (*AbilityMetaLoseHp)(nil), // 0: AbilityMetaLoseHp +} +var file_AbilityMetaLoseHp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaLoseHp_proto_init() } +func file_AbilityMetaLoseHp_proto_init() { + if File_AbilityMetaLoseHp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaLoseHp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaLoseHp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaLoseHp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaLoseHp_proto_goTypes, + DependencyIndexes: file_AbilityMetaLoseHp_proto_depIdxs, + MessageInfos: file_AbilityMetaLoseHp_proto_msgTypes, + }.Build() + File_AbilityMetaLoseHp_proto = out.File + file_AbilityMetaLoseHp_proto_rawDesc = nil + file_AbilityMetaLoseHp_proto_goTypes = nil + file_AbilityMetaLoseHp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaLoseHp.proto b/gate-hk4e-api/proto/AbilityMetaLoseHp.proto new file mode 100644 index 00000000..f6158370 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaLoseHp.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaLoseHp { + uint32 lose_hp_config_idx = 10; +} diff --git a/gate-hk4e-api/proto/AbilityMetaModifierChange.pb.go b/gate-hk4e-api/proto/AbilityMetaModifierChange.pb.go new file mode 100644 index 00000000..1dd57a53 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaModifierChange.pb.go @@ -0,0 +1,294 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaModifierChange.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaModifierChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttachedInstancedModifier *AbilityAttachedModifier `protobuf:"bytes,7,opt,name=attached_instanced_modifier,json=attachedInstancedModifier,proto3" json:"attached_instanced_modifier,omitempty"` + ServerBuffUid uint32 `protobuf:"varint,4,opt,name=server_buff_uid,json=serverBuffUid,proto3" json:"server_buff_uid,omitempty"` + IsAttachedParentAbility bool `protobuf:"varint,10,opt,name=is_attached_parent_ability,json=isAttachedParentAbility,proto3" json:"is_attached_parent_ability,omitempty"` + Action ModifierAction `protobuf:"varint,13,opt,name=action,proto3,enum=ModifierAction" json:"action,omitempty"` + ModifierLocalId int32 `protobuf:"varint,2,opt,name=modifier_local_id,json=modifierLocalId,proto3" json:"modifier_local_id,omitempty"` + ParentAbilityName *AbilityString `protobuf:"bytes,1,opt,name=parent_ability_name,json=parentAbilityName,proto3" json:"parent_ability_name,omitempty"` + IsMuteRemote bool `protobuf:"varint,6,opt,name=is_mute_remote,json=isMuteRemote,proto3" json:"is_mute_remote,omitempty"` + ApplyEntityId uint32 `protobuf:"varint,5,opt,name=apply_entity_id,json=applyEntityId,proto3" json:"apply_entity_id,omitempty"` + Properties []*ModifierProperty `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty"` + ParentAbilityOverride *AbilityString `protobuf:"bytes,11,opt,name=parent_ability_override,json=parentAbilityOverride,proto3" json:"parent_ability_override,omitempty"` + Unk2700_PMJMNCFJPDC bool `protobuf:"varint,9,opt,name=Unk2700_PMJMNCFJPDC,json=Unk2700PMJMNCFJPDC,proto3" json:"Unk2700_PMJMNCFJPDC,omitempty"` +} + +func (x *AbilityMetaModifierChange) Reset() { + *x = AbilityMetaModifierChange{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaModifierChange_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaModifierChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaModifierChange) ProtoMessage() {} + +func (x *AbilityMetaModifierChange) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaModifierChange_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaModifierChange.ProtoReflect.Descriptor instead. +func (*AbilityMetaModifierChange) Descriptor() ([]byte, []int) { + return file_AbilityMetaModifierChange_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaModifierChange) GetAttachedInstancedModifier() *AbilityAttachedModifier { + if x != nil { + return x.AttachedInstancedModifier + } + return nil +} + +func (x *AbilityMetaModifierChange) GetServerBuffUid() uint32 { + if x != nil { + return x.ServerBuffUid + } + return 0 +} + +func (x *AbilityMetaModifierChange) GetIsAttachedParentAbility() bool { + if x != nil { + return x.IsAttachedParentAbility + } + return false +} + +func (x *AbilityMetaModifierChange) GetAction() ModifierAction { + if x != nil { + return x.Action + } + return ModifierAction_MODIFIER_ACTION_ADDED +} + +func (x *AbilityMetaModifierChange) GetModifierLocalId() int32 { + if x != nil { + return x.ModifierLocalId + } + return 0 +} + +func (x *AbilityMetaModifierChange) GetParentAbilityName() *AbilityString { + if x != nil { + return x.ParentAbilityName + } + return nil +} + +func (x *AbilityMetaModifierChange) GetIsMuteRemote() bool { + if x != nil { + return x.IsMuteRemote + } + return false +} + +func (x *AbilityMetaModifierChange) GetApplyEntityId() uint32 { + if x != nil { + return x.ApplyEntityId + } + return 0 +} + +func (x *AbilityMetaModifierChange) GetProperties() []*ModifierProperty { + if x != nil { + return x.Properties + } + return nil +} + +func (x *AbilityMetaModifierChange) GetParentAbilityOverride() *AbilityString { + if x != nil { + return x.ParentAbilityOverride + } + return nil +} + +func (x *AbilityMetaModifierChange) GetUnk2700_PMJMNCFJPDC() bool { + if x != nil { + return x.Unk2700_PMJMNCFJPDC + } + return false +} + +var File_AbilityMetaModifierChange_proto protoreflect.FileDescriptor + +var file_AbilityMetaModifierChange_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, + 0x65, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x58, 0x0a, 0x1b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x19, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, + 0x55, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x27, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x0f, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x75, 0x74, 0x65, + 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, + 0x73, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61, + 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x17, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4d, 0x4a, 0x4d, 0x4e, 0x43, + 0x46, 0x4a, 0x50, 0x44, 0x43, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x50, 0x4d, 0x4a, 0x4d, 0x4e, 0x43, 0x46, 0x4a, 0x50, 0x44, 0x43, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaModifierChange_proto_rawDescOnce sync.Once + file_AbilityMetaModifierChange_proto_rawDescData = file_AbilityMetaModifierChange_proto_rawDesc +) + +func file_AbilityMetaModifierChange_proto_rawDescGZIP() []byte { + file_AbilityMetaModifierChange_proto_rawDescOnce.Do(func() { + file_AbilityMetaModifierChange_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaModifierChange_proto_rawDescData) + }) + return file_AbilityMetaModifierChange_proto_rawDescData +} + +var file_AbilityMetaModifierChange_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaModifierChange_proto_goTypes = []interface{}{ + (*AbilityMetaModifierChange)(nil), // 0: AbilityMetaModifierChange + (*AbilityAttachedModifier)(nil), // 1: AbilityAttachedModifier + (ModifierAction)(0), // 2: ModifierAction + (*AbilityString)(nil), // 3: AbilityString + (*ModifierProperty)(nil), // 4: ModifierProperty +} +var file_AbilityMetaModifierChange_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaModifierChange.attached_instanced_modifier:type_name -> AbilityAttachedModifier + 2, // 1: AbilityMetaModifierChange.action:type_name -> ModifierAction + 3, // 2: AbilityMetaModifierChange.parent_ability_name:type_name -> AbilityString + 4, // 3: AbilityMetaModifierChange.properties:type_name -> ModifierProperty + 3, // 4: AbilityMetaModifierChange.parent_ability_override:type_name -> AbilityString + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_AbilityMetaModifierChange_proto_init() } +func file_AbilityMetaModifierChange_proto_init() { + if File_AbilityMetaModifierChange_proto != nil { + return + } + file_AbilityAttachedModifier_proto_init() + file_AbilityString_proto_init() + file_ModifierAction_proto_init() + file_ModifierProperty_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaModifierChange_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaModifierChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaModifierChange_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaModifierChange_proto_goTypes, + DependencyIndexes: file_AbilityMetaModifierChange_proto_depIdxs, + MessageInfos: file_AbilityMetaModifierChange_proto_msgTypes, + }.Build() + File_AbilityMetaModifierChange_proto = out.File + file_AbilityMetaModifierChange_proto_rawDesc = nil + file_AbilityMetaModifierChange_proto_goTypes = nil + file_AbilityMetaModifierChange_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaModifierChange.proto b/gate-hk4e-api/proto/AbilityMetaModifierChange.proto new file mode 100644 index 00000000..99cc3ae6 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaModifierChange.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityAttachedModifier.proto"; +import "AbilityString.proto"; +import "ModifierAction.proto"; +import "ModifierProperty.proto"; + +option go_package = "./;proto"; + +message AbilityMetaModifierChange { + AbilityAttachedModifier attached_instanced_modifier = 7; + uint32 server_buff_uid = 4; + bool is_attached_parent_ability = 10; + ModifierAction action = 13; + int32 modifier_local_id = 2; + AbilityString parent_ability_name = 1; + bool is_mute_remote = 6; + uint32 apply_entity_id = 5; + repeated ModifierProperty properties = 3; + AbilityString parent_ability_override = 11; + bool Unk2700_PMJMNCFJPDC = 9; +} diff --git a/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.pb.go b/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.pb.go new file mode 100644 index 00000000..c8341d01 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaModifierDurabilityChange.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaModifierDurabilityChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReduceDurability float32 `protobuf:"fixed32,6,opt,name=reduce_durability,json=reduceDurability,proto3" json:"reduce_durability,omitempty"` + RemainDurability float32 `protobuf:"fixed32,15,opt,name=remain_durability,json=remainDurability,proto3" json:"remain_durability,omitempty"` +} + +func (x *AbilityMetaModifierDurabilityChange) Reset() { + *x = AbilityMetaModifierDurabilityChange{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaModifierDurabilityChange_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaModifierDurabilityChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaModifierDurabilityChange) ProtoMessage() {} + +func (x *AbilityMetaModifierDurabilityChange) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaModifierDurabilityChange_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaModifierDurabilityChange.ProtoReflect.Descriptor instead. +func (*AbilityMetaModifierDurabilityChange) Descriptor() ([]byte, []int) { + return file_AbilityMetaModifierDurabilityChange_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaModifierDurabilityChange) GetReduceDurability() float32 { + if x != nil { + return x.ReduceDurability + } + return 0 +} + +func (x *AbilityMetaModifierDurabilityChange) GetRemainDurability() float32 { + if x != nil { + return x.RemainDurability + } + return 0 +} + +var File_AbilityMetaModifierDurabilityChange_proto protoreflect.FileDescriptor + +var file_AbilityMetaModifierDurabilityChange_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x23, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x64, 0x75, 0x72, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x72, + 0x65, 0x64, 0x75, 0x63, 0x65, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, + 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x61, + 0x69, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaModifierDurabilityChange_proto_rawDescOnce sync.Once + file_AbilityMetaModifierDurabilityChange_proto_rawDescData = file_AbilityMetaModifierDurabilityChange_proto_rawDesc +) + +func file_AbilityMetaModifierDurabilityChange_proto_rawDescGZIP() []byte { + file_AbilityMetaModifierDurabilityChange_proto_rawDescOnce.Do(func() { + file_AbilityMetaModifierDurabilityChange_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaModifierDurabilityChange_proto_rawDescData) + }) + return file_AbilityMetaModifierDurabilityChange_proto_rawDescData +} + +var file_AbilityMetaModifierDurabilityChange_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaModifierDurabilityChange_proto_goTypes = []interface{}{ + (*AbilityMetaModifierDurabilityChange)(nil), // 0: AbilityMetaModifierDurabilityChange +} +var file_AbilityMetaModifierDurabilityChange_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaModifierDurabilityChange_proto_init() } +func file_AbilityMetaModifierDurabilityChange_proto_init() { + if File_AbilityMetaModifierDurabilityChange_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaModifierDurabilityChange_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaModifierDurabilityChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaModifierDurabilityChange_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaModifierDurabilityChange_proto_goTypes, + DependencyIndexes: file_AbilityMetaModifierDurabilityChange_proto_depIdxs, + MessageInfos: file_AbilityMetaModifierDurabilityChange_proto_msgTypes, + }.Build() + File_AbilityMetaModifierDurabilityChange_proto = out.File + file_AbilityMetaModifierDurabilityChange_proto_rawDesc = nil + file_AbilityMetaModifierDurabilityChange_proto_goTypes = nil + file_AbilityMetaModifierDurabilityChange_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.proto b/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.proto new file mode 100644 index 00000000..1f739a00 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaModifierDurabilityChange.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaModifierDurabilityChange { + float reduce_durability = 6; + float remain_durability = 15; +} diff --git a/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.pb.go b/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.pb.go new file mode 100644 index 00000000..b6c8f6b6 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaReInitOverrideMap.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaReInitOverrideMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OverrideMap []*AbilityScalarValueEntry `protobuf:"bytes,7,rep,name=override_map,json=overrideMap,proto3" json:"override_map,omitempty"` +} + +func (x *AbilityMetaReInitOverrideMap) Reset() { + *x = AbilityMetaReInitOverrideMap{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaReInitOverrideMap_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaReInitOverrideMap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaReInitOverrideMap) ProtoMessage() {} + +func (x *AbilityMetaReInitOverrideMap) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaReInitOverrideMap_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaReInitOverrideMap.ProtoReflect.Descriptor instead. +func (*AbilityMetaReInitOverrideMap) Descriptor() ([]byte, []int) { + return file_AbilityMetaReInitOverrideMap_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaReInitOverrideMap) GetOverrideMap() []*AbilityScalarValueEntry { + if x != nil { + return x.OverrideMap + } + return nil +} + +var File_AbilityMetaReInitOverrideMap_proto protoreflect.FileDescriptor + +var file_AbilityMetaReInitOverrideMap_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x49, + 0x6e, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x4d, 0x61, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, + 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, + 0x4d, 0x61, 0x70, 0x12, 0x3b, 0x0a, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x4d, 0x61, 0x70, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaReInitOverrideMap_proto_rawDescOnce sync.Once + file_AbilityMetaReInitOverrideMap_proto_rawDescData = file_AbilityMetaReInitOverrideMap_proto_rawDesc +) + +func file_AbilityMetaReInitOverrideMap_proto_rawDescGZIP() []byte { + file_AbilityMetaReInitOverrideMap_proto_rawDescOnce.Do(func() { + file_AbilityMetaReInitOverrideMap_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaReInitOverrideMap_proto_rawDescData) + }) + return file_AbilityMetaReInitOverrideMap_proto_rawDescData +} + +var file_AbilityMetaReInitOverrideMap_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaReInitOverrideMap_proto_goTypes = []interface{}{ + (*AbilityMetaReInitOverrideMap)(nil), // 0: AbilityMetaReInitOverrideMap + (*AbilityScalarValueEntry)(nil), // 1: AbilityScalarValueEntry +} +var file_AbilityMetaReInitOverrideMap_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaReInitOverrideMap.override_map:type_name -> AbilityScalarValueEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMetaReInitOverrideMap_proto_init() } +func file_AbilityMetaReInitOverrideMap_proto_init() { + if File_AbilityMetaReInitOverrideMap_proto != nil { + return + } + file_AbilityScalarValueEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaReInitOverrideMap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaReInitOverrideMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaReInitOverrideMap_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaReInitOverrideMap_proto_goTypes, + DependencyIndexes: file_AbilityMetaReInitOverrideMap_proto_depIdxs, + MessageInfos: file_AbilityMetaReInitOverrideMap_proto_msgTypes, + }.Build() + File_AbilityMetaReInitOverrideMap_proto = out.File + file_AbilityMetaReInitOverrideMap_proto_rawDesc = nil + file_AbilityMetaReInitOverrideMap_proto_goTypes = nil + file_AbilityMetaReInitOverrideMap_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.proto b/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.proto new file mode 100644 index 00000000..c9b4ab4c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaReInitOverrideMap.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityScalarValueEntry.proto"; + +option go_package = "./;proto"; + +message AbilityMetaReInitOverrideMap { + repeated AbilityScalarValueEntry override_map = 7; +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.pb.go b/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.pb.go new file mode 100644 index 00000000..e40ae9c5 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaSetAbilityTrigger.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaSetAbilityTrigger struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TriggerAbilityEntityId uint32 `protobuf:"varint,11,opt,name=trigger_ability_entity_id,json=triggerAbilityEntityId,proto3" json:"trigger_ability_entity_id,omitempty"` +} + +func (x *AbilityMetaSetAbilityTrigger) Reset() { + *x = AbilityMetaSetAbilityTrigger{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaSetAbilityTrigger_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaSetAbilityTrigger) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaSetAbilityTrigger) ProtoMessage() {} + +func (x *AbilityMetaSetAbilityTrigger) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaSetAbilityTrigger_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaSetAbilityTrigger.ProtoReflect.Descriptor instead. +func (*AbilityMetaSetAbilityTrigger) Descriptor() ([]byte, []int) { + return file_AbilityMetaSetAbilityTrigger_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaSetAbilityTrigger) GetTriggerAbilityEntityId() uint32 { + if x != nil { + return x.TriggerAbilityEntityId + } + return 0 +} + +var File_AbilityMetaSetAbilityTrigger_proto protoreflect.FileDescriptor + +var file_AbilityMetaSetAbilityTrigger_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, + 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x19, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaSetAbilityTrigger_proto_rawDescOnce sync.Once + file_AbilityMetaSetAbilityTrigger_proto_rawDescData = file_AbilityMetaSetAbilityTrigger_proto_rawDesc +) + +func file_AbilityMetaSetAbilityTrigger_proto_rawDescGZIP() []byte { + file_AbilityMetaSetAbilityTrigger_proto_rawDescOnce.Do(func() { + file_AbilityMetaSetAbilityTrigger_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaSetAbilityTrigger_proto_rawDescData) + }) + return file_AbilityMetaSetAbilityTrigger_proto_rawDescData +} + +var file_AbilityMetaSetAbilityTrigger_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaSetAbilityTrigger_proto_goTypes = []interface{}{ + (*AbilityMetaSetAbilityTrigger)(nil), // 0: AbilityMetaSetAbilityTrigger +} +var file_AbilityMetaSetAbilityTrigger_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaSetAbilityTrigger_proto_init() } +func file_AbilityMetaSetAbilityTrigger_proto_init() { + if File_AbilityMetaSetAbilityTrigger_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaSetAbilityTrigger_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaSetAbilityTrigger); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaSetAbilityTrigger_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaSetAbilityTrigger_proto_goTypes, + DependencyIndexes: file_AbilityMetaSetAbilityTrigger_proto_depIdxs, + MessageInfos: file_AbilityMetaSetAbilityTrigger_proto_msgTypes, + }.Build() + File_AbilityMetaSetAbilityTrigger_proto = out.File + file_AbilityMetaSetAbilityTrigger_proto_rawDesc = nil + file_AbilityMetaSetAbilityTrigger_proto_goTypes = nil + file_AbilityMetaSetAbilityTrigger_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.proto b/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.proto new file mode 100644 index 00000000..95fa147f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetAbilityTrigger.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaSetAbilityTrigger { + uint32 trigger_ability_entity_id = 11; +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetKilledState.pb.go b/gate-hk4e-api/proto/AbilityMetaSetKilledState.pb.go new file mode 100644 index 00000000..f5cd72b7 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetKilledState.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaSetKilledState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaSetKilledState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Killed bool `protobuf:"varint,2,opt,name=killed,proto3" json:"killed,omitempty"` +} + +func (x *AbilityMetaSetKilledState) Reset() { + *x = AbilityMetaSetKilledState{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaSetKilledState_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaSetKilledState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaSetKilledState) ProtoMessage() {} + +func (x *AbilityMetaSetKilledState) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaSetKilledState_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaSetKilledState.ProtoReflect.Descriptor instead. +func (*AbilityMetaSetKilledState) Descriptor() ([]byte, []int) { + return file_AbilityMetaSetKilledState_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaSetKilledState) GetKilled() bool { + if x != nil { + return x.Killed + } + return false +} + +var File_AbilityMetaSetKilledState_proto protoreflect.FileDescriptor + +var file_AbilityMetaSetKilledState_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x33, 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x53, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaSetKilledState_proto_rawDescOnce sync.Once + file_AbilityMetaSetKilledState_proto_rawDescData = file_AbilityMetaSetKilledState_proto_rawDesc +) + +func file_AbilityMetaSetKilledState_proto_rawDescGZIP() []byte { + file_AbilityMetaSetKilledState_proto_rawDescOnce.Do(func() { + file_AbilityMetaSetKilledState_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaSetKilledState_proto_rawDescData) + }) + return file_AbilityMetaSetKilledState_proto_rawDescData +} + +var file_AbilityMetaSetKilledState_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaSetKilledState_proto_goTypes = []interface{}{ + (*AbilityMetaSetKilledState)(nil), // 0: AbilityMetaSetKilledState +} +var file_AbilityMetaSetKilledState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaSetKilledState_proto_init() } +func file_AbilityMetaSetKilledState_proto_init() { + if File_AbilityMetaSetKilledState_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaSetKilledState_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaSetKilledState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaSetKilledState_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaSetKilledState_proto_goTypes, + DependencyIndexes: file_AbilityMetaSetKilledState_proto_depIdxs, + MessageInfos: file_AbilityMetaSetKilledState_proto_msgTypes, + }.Build() + File_AbilityMetaSetKilledState_proto = out.File + file_AbilityMetaSetKilledState_proto_rawDesc = nil + file_AbilityMetaSetKilledState_proto_goTypes = nil + file_AbilityMetaSetKilledState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetKilledState.proto b/gate-hk4e-api/proto/AbilityMetaSetKilledState.proto new file mode 100644 index 00000000..2743960a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetKilledState.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaSetKilledState { + bool killed = 2; +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.pb.go b/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.pb.go new file mode 100644 index 00000000..36f85559 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaSetModifierApplyEntityId.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaSetModifierApplyEntityId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplyEntityId uint32 `protobuf:"varint,10,opt,name=apply_entity_id,json=applyEntityId,proto3" json:"apply_entity_id,omitempty"` +} + +func (x *AbilityMetaSetModifierApplyEntityId) Reset() { + *x = AbilityMetaSetModifierApplyEntityId{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaSetModifierApplyEntityId_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaSetModifierApplyEntityId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaSetModifierApplyEntityId) ProtoMessage() {} + +func (x *AbilityMetaSetModifierApplyEntityId) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaSetModifierApplyEntityId_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaSetModifierApplyEntityId.ProtoReflect.Descriptor instead. +func (*AbilityMetaSetModifierApplyEntityId) Descriptor() ([]byte, []int) { + return file_AbilityMetaSetModifierApplyEntityId_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaSetModifierApplyEntityId) GetApplyEntityId() uint32 { + if x != nil { + return x.ApplyEntityId + } + return 0 +} + +var File_AbilityMetaSetModifierApplyEntityId_proto protoreflect.FileDescriptor + +var file_AbilityMetaSetModifierApplyEntityId_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x23, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x70, 0x70, + 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaSetModifierApplyEntityId_proto_rawDescOnce sync.Once + file_AbilityMetaSetModifierApplyEntityId_proto_rawDescData = file_AbilityMetaSetModifierApplyEntityId_proto_rawDesc +) + +func file_AbilityMetaSetModifierApplyEntityId_proto_rawDescGZIP() []byte { + file_AbilityMetaSetModifierApplyEntityId_proto_rawDescOnce.Do(func() { + file_AbilityMetaSetModifierApplyEntityId_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaSetModifierApplyEntityId_proto_rawDescData) + }) + return file_AbilityMetaSetModifierApplyEntityId_proto_rawDescData +} + +var file_AbilityMetaSetModifierApplyEntityId_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaSetModifierApplyEntityId_proto_goTypes = []interface{}{ + (*AbilityMetaSetModifierApplyEntityId)(nil), // 0: AbilityMetaSetModifierApplyEntityId +} +var file_AbilityMetaSetModifierApplyEntityId_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaSetModifierApplyEntityId_proto_init() } +func file_AbilityMetaSetModifierApplyEntityId_proto_init() { + if File_AbilityMetaSetModifierApplyEntityId_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaSetModifierApplyEntityId_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaSetModifierApplyEntityId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaSetModifierApplyEntityId_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaSetModifierApplyEntityId_proto_goTypes, + DependencyIndexes: file_AbilityMetaSetModifierApplyEntityId_proto_depIdxs, + MessageInfos: file_AbilityMetaSetModifierApplyEntityId_proto_msgTypes, + }.Build() + File_AbilityMetaSetModifierApplyEntityId_proto = out.File + file_AbilityMetaSetModifierApplyEntityId_proto_rawDesc = nil + file_AbilityMetaSetModifierApplyEntityId_proto_goTypes = nil + file_AbilityMetaSetModifierApplyEntityId_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.proto b/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.proto new file mode 100644 index 00000000..880e1831 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetModifierApplyEntityId.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaSetModifierApplyEntityId { + uint32 apply_entity_id = 10; +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.pb.go b/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.pb.go new file mode 100644 index 00000000..3164dd45 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaSetPoseParameter.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaSetPoseParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *AnimatorParameterValueInfoPair `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *AbilityMetaSetPoseParameter) Reset() { + *x = AbilityMetaSetPoseParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaSetPoseParameter_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaSetPoseParameter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaSetPoseParameter) ProtoMessage() {} + +func (x *AbilityMetaSetPoseParameter) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaSetPoseParameter_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaSetPoseParameter.ProtoReflect.Descriptor instead. +func (*AbilityMetaSetPoseParameter) Descriptor() ([]byte, []int) { + return file_AbilityMetaSetPoseParameter_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaSetPoseParameter) GetValue() *AnimatorParameterValueInfoPair { + if x != nil { + return x.Value + } + return nil +} + +var File_AbilityMetaSetPoseParameter_proto protoreflect.FileDescriptor + +var file_AbilityMetaSetPoseParameter_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, + 0x50, 0x6f, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, + 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x1b, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaSetPoseParameter_proto_rawDescOnce sync.Once + file_AbilityMetaSetPoseParameter_proto_rawDescData = file_AbilityMetaSetPoseParameter_proto_rawDesc +) + +func file_AbilityMetaSetPoseParameter_proto_rawDescGZIP() []byte { + file_AbilityMetaSetPoseParameter_proto_rawDescOnce.Do(func() { + file_AbilityMetaSetPoseParameter_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaSetPoseParameter_proto_rawDescData) + }) + return file_AbilityMetaSetPoseParameter_proto_rawDescData +} + +var file_AbilityMetaSetPoseParameter_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaSetPoseParameter_proto_goTypes = []interface{}{ + (*AbilityMetaSetPoseParameter)(nil), // 0: AbilityMetaSetPoseParameter + (*AnimatorParameterValueInfoPair)(nil), // 1: AnimatorParameterValueInfoPair +} +var file_AbilityMetaSetPoseParameter_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaSetPoseParameter.value:type_name -> AnimatorParameterValueInfoPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMetaSetPoseParameter_proto_init() } +func file_AbilityMetaSetPoseParameter_proto_init() { + if File_AbilityMetaSetPoseParameter_proto != nil { + return + } + file_AnimatorParameterValueInfoPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaSetPoseParameter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaSetPoseParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaSetPoseParameter_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaSetPoseParameter_proto_goTypes, + DependencyIndexes: file_AbilityMetaSetPoseParameter_proto_depIdxs, + MessageInfos: file_AbilityMetaSetPoseParameter_proto_msgTypes, + }.Build() + File_AbilityMetaSetPoseParameter_proto = out.File + file_AbilityMetaSetPoseParameter_proto_rawDesc = nil + file_AbilityMetaSetPoseParameter_proto_goTypes = nil + file_AbilityMetaSetPoseParameter_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.proto b/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.proto new file mode 100644 index 00000000..7394d36a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSetPoseParameter.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnimatorParameterValueInfoPair.proto"; + +option go_package = "./;proto"; + +message AbilityMetaSetPoseParameter { + AnimatorParameterValueInfoPair value = 6; +} diff --git a/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.pb.go b/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.pb.go new file mode 100644 index 00000000..6641cf38 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaSpecialFloatArgument.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaSpecialFloatArgument struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArgumentValue float32 `protobuf:"fixed32,14,opt,name=argument_value,json=argumentValue,proto3" json:"argument_value,omitempty"` + IsOn bool `protobuf:"varint,10,opt,name=is_on,json=isOn,proto3" json:"is_on,omitempty"` +} + +func (x *AbilityMetaSpecialFloatArgument) Reset() { + *x = AbilityMetaSpecialFloatArgument{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaSpecialFloatArgument_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaSpecialFloatArgument) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaSpecialFloatArgument) ProtoMessage() {} + +func (x *AbilityMetaSpecialFloatArgument) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaSpecialFloatArgument_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaSpecialFloatArgument.ProtoReflect.Descriptor instead. +func (*AbilityMetaSpecialFloatArgument) Descriptor() ([]byte, []int) { + return file_AbilityMetaSpecialFloatArgument_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaSpecialFloatArgument) GetArgumentValue() float32 { + if x != nil { + return x.ArgumentValue + } + return 0 +} + +func (x *AbilityMetaSpecialFloatArgument) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + +var File_AbilityMetaSpecialFloatArgument_proto protoreflect.FileDescriptor + +var file_AbilityMetaSpecialFloatArgument_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x70, 0x65, + 0x63, 0x69, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x46, 0x6c, 0x6f, + 0x61, 0x74, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, + 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x0d, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x73, 0x5f, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaSpecialFloatArgument_proto_rawDescOnce sync.Once + file_AbilityMetaSpecialFloatArgument_proto_rawDescData = file_AbilityMetaSpecialFloatArgument_proto_rawDesc +) + +func file_AbilityMetaSpecialFloatArgument_proto_rawDescGZIP() []byte { + file_AbilityMetaSpecialFloatArgument_proto_rawDescOnce.Do(func() { + file_AbilityMetaSpecialFloatArgument_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaSpecialFloatArgument_proto_rawDescData) + }) + return file_AbilityMetaSpecialFloatArgument_proto_rawDescData +} + +var file_AbilityMetaSpecialFloatArgument_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaSpecialFloatArgument_proto_goTypes = []interface{}{ + (*AbilityMetaSpecialFloatArgument)(nil), // 0: AbilityMetaSpecialFloatArgument +} +var file_AbilityMetaSpecialFloatArgument_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaSpecialFloatArgument_proto_init() } +func file_AbilityMetaSpecialFloatArgument_proto_init() { + if File_AbilityMetaSpecialFloatArgument_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaSpecialFloatArgument_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaSpecialFloatArgument); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaSpecialFloatArgument_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaSpecialFloatArgument_proto_goTypes, + DependencyIndexes: file_AbilityMetaSpecialFloatArgument_proto_depIdxs, + MessageInfos: file_AbilityMetaSpecialFloatArgument_proto_msgTypes, + }.Build() + File_AbilityMetaSpecialFloatArgument_proto = out.File + file_AbilityMetaSpecialFloatArgument_proto_rawDesc = nil + file_AbilityMetaSpecialFloatArgument_proto_goTypes = nil + file_AbilityMetaSpecialFloatArgument_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.proto b/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.proto new file mode 100644 index 00000000..389ed9c2 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaSpecialFloatArgument.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaSpecialFloatArgument { + float argument_value = 14; + bool is_on = 10; +} diff --git a/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.pb.go b/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.pb.go new file mode 100644 index 00000000..6c8a0633 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaTriggerElementReaction.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaTriggerElementReaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitIndex int32 `protobuf:"varint,9,opt,name=hit_index,json=hitIndex,proto3" json:"hit_index,omitempty"` + ElementSourceType uint32 `protobuf:"varint,7,opt,name=element_source_type,json=elementSourceType,proto3" json:"element_source_type,omitempty"` + ElementReactorType uint32 `protobuf:"varint,12,opt,name=element_reactor_type,json=elementReactorType,proto3" json:"element_reactor_type,omitempty"` + TriggerEntityId uint32 `protobuf:"varint,2,opt,name=trigger_entity_id,json=triggerEntityId,proto3" json:"trigger_entity_id,omitempty"` + ElementReactionType uint32 `protobuf:"varint,1,opt,name=element_reaction_type,json=elementReactionType,proto3" json:"element_reaction_type,omitempty"` +} + +func (x *AbilityMetaTriggerElementReaction) Reset() { + *x = AbilityMetaTriggerElementReaction{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaTriggerElementReaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaTriggerElementReaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaTriggerElementReaction) ProtoMessage() {} + +func (x *AbilityMetaTriggerElementReaction) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaTriggerElementReaction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaTriggerElementReaction.ProtoReflect.Descriptor instead. +func (*AbilityMetaTriggerElementReaction) Descriptor() ([]byte, []int) { + return file_AbilityMetaTriggerElementReaction_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaTriggerElementReaction) GetHitIndex() int32 { + if x != nil { + return x.HitIndex + } + return 0 +} + +func (x *AbilityMetaTriggerElementReaction) GetElementSourceType() uint32 { + if x != nil { + return x.ElementSourceType + } + return 0 +} + +func (x *AbilityMetaTriggerElementReaction) GetElementReactorType() uint32 { + if x != nil { + return x.ElementReactorType + } + return 0 +} + +func (x *AbilityMetaTriggerElementReaction) GetTriggerEntityId() uint32 { + if x != nil { + return x.TriggerEntityId + } + return 0 +} + +func (x *AbilityMetaTriggerElementReaction) GetElementReactionType() uint32 { + if x != nil { + return x.ElementReactionType + } + return 0 +} + +var File_AbilityMetaTriggerElementReaction_proto protoreflect.FileDescriptor + +var file_AbilityMetaTriggerElementReaction_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 0x0a, 0x21, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x68, 0x69, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2e, 0x0a, 0x13, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x6c, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x65, 0x6c, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityMetaTriggerElementReaction_proto_rawDescOnce sync.Once + file_AbilityMetaTriggerElementReaction_proto_rawDescData = file_AbilityMetaTriggerElementReaction_proto_rawDesc +) + +func file_AbilityMetaTriggerElementReaction_proto_rawDescGZIP() []byte { + file_AbilityMetaTriggerElementReaction_proto_rawDescOnce.Do(func() { + file_AbilityMetaTriggerElementReaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaTriggerElementReaction_proto_rawDescData) + }) + return file_AbilityMetaTriggerElementReaction_proto_rawDescData +} + +var file_AbilityMetaTriggerElementReaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaTriggerElementReaction_proto_goTypes = []interface{}{ + (*AbilityMetaTriggerElementReaction)(nil), // 0: AbilityMetaTriggerElementReaction +} +var file_AbilityMetaTriggerElementReaction_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMetaTriggerElementReaction_proto_init() } +func file_AbilityMetaTriggerElementReaction_proto_init() { + if File_AbilityMetaTriggerElementReaction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMetaTriggerElementReaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaTriggerElementReaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaTriggerElementReaction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaTriggerElementReaction_proto_goTypes, + DependencyIndexes: file_AbilityMetaTriggerElementReaction_proto_depIdxs, + MessageInfos: file_AbilityMetaTriggerElementReaction_proto_msgTypes, + }.Build() + File_AbilityMetaTriggerElementReaction_proto = out.File + file_AbilityMetaTriggerElementReaction_proto_rawDesc = nil + file_AbilityMetaTriggerElementReaction_proto_goTypes = nil + file_AbilityMetaTriggerElementReaction_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.proto b/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.proto new file mode 100644 index 00000000..7c869b0e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaTriggerElementReaction.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMetaTriggerElementReaction { + int32 hit_index = 9; + uint32 element_source_type = 7; + uint32 element_reactor_type = 12; + uint32 trigger_entity_id = 2; + uint32 element_reaction_type = 1; +} diff --git a/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.pb.go b/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.pb.go new file mode 100644 index 00000000..0dd8f43b --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMetaUpdateBaseReactionDamage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMetaUpdateBaseReactionDamage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SourceCasterId uint32 `protobuf:"varint,15,opt,name=source_caster_id,json=sourceCasterId,proto3" json:"source_caster_id,omitempty"` + GlobalValueKey *AbilityString `protobuf:"bytes,4,opt,name=global_value_key,json=globalValueKey,proto3" json:"global_value_key,omitempty"` + ReactionType uint32 `protobuf:"varint,8,opt,name=reaction_type,json=reactionType,proto3" json:"reaction_type,omitempty"` +} + +func (x *AbilityMetaUpdateBaseReactionDamage) Reset() { + *x = AbilityMetaUpdateBaseReactionDamage{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMetaUpdateBaseReactionDamage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMetaUpdateBaseReactionDamage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMetaUpdateBaseReactionDamage) ProtoMessage() {} + +func (x *AbilityMetaUpdateBaseReactionDamage) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMetaUpdateBaseReactionDamage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMetaUpdateBaseReactionDamage.ProtoReflect.Descriptor instead. +func (*AbilityMetaUpdateBaseReactionDamage) Descriptor() ([]byte, []int) { + return file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMetaUpdateBaseReactionDamage) GetSourceCasterId() uint32 { + if x != nil { + return x.SourceCasterId + } + return 0 +} + +func (x *AbilityMetaUpdateBaseReactionDamage) GetGlobalValueKey() *AbilityString { + if x != nil { + return x.GlobalValueKey + } + return nil +} + +func (x *AbilityMetaUpdateBaseReactionDamage) GetReactionType() uint32 { + if x != nil { + return x.ReactionType + } + return 0 +} + +var File_AbilityMetaUpdateBaseReactionDamage_proto protoreflect.FileDescriptor + +var file_AbilityMetaUpdateBaseReactionDamage_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xae, 0x01, 0x0a, 0x23, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x38, 0x0a, 0x10, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescOnce sync.Once + file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescData = file_AbilityMetaUpdateBaseReactionDamage_proto_rawDesc +) + +func file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescGZIP() []byte { + file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescOnce.Do(func() { + file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescData) + }) + return file_AbilityMetaUpdateBaseReactionDamage_proto_rawDescData +} + +var file_AbilityMetaUpdateBaseReactionDamage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMetaUpdateBaseReactionDamage_proto_goTypes = []interface{}{ + (*AbilityMetaUpdateBaseReactionDamage)(nil), // 0: AbilityMetaUpdateBaseReactionDamage + (*AbilityString)(nil), // 1: AbilityString +} +var file_AbilityMetaUpdateBaseReactionDamage_proto_depIdxs = []int32{ + 1, // 0: AbilityMetaUpdateBaseReactionDamage.global_value_key:type_name -> AbilityString + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMetaUpdateBaseReactionDamage_proto_init() } +func file_AbilityMetaUpdateBaseReactionDamage_proto_init() { + if File_AbilityMetaUpdateBaseReactionDamage_proto != nil { + return + } + file_AbilityString_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMetaUpdateBaseReactionDamage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMetaUpdateBaseReactionDamage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMetaUpdateBaseReactionDamage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMetaUpdateBaseReactionDamage_proto_goTypes, + DependencyIndexes: file_AbilityMetaUpdateBaseReactionDamage_proto_depIdxs, + MessageInfos: file_AbilityMetaUpdateBaseReactionDamage_proto_msgTypes, + }.Build() + File_AbilityMetaUpdateBaseReactionDamage_proto = out.File + file_AbilityMetaUpdateBaseReactionDamage_proto_rawDesc = nil + file_AbilityMetaUpdateBaseReactionDamage_proto_goTypes = nil + file_AbilityMetaUpdateBaseReactionDamage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.proto b/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.proto new file mode 100644 index 00000000..86e6a32a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMetaUpdateBaseReactionDamage.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityString.proto"; + +option go_package = "./;proto"; + +message AbilityMetaUpdateBaseReactionDamage { + uint32 source_caster_id = 15; + AbilityString global_value_key = 4; + uint32 reaction_type = 8; +} diff --git a/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.pb.go b/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.pb.go new file mode 100644 index 00000000..f43f444c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinAvatarSteerByCamera.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinAvatarSteerByCamera struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetDir *Vector `protobuf:"bytes,7,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"` + TargetPos *Vector `protobuf:"bytes,6,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` +} + +func (x *AbilityMixinAvatarSteerByCamera) Reset() { + *x = AbilityMixinAvatarSteerByCamera{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinAvatarSteerByCamera_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinAvatarSteerByCamera) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinAvatarSteerByCamera) ProtoMessage() {} + +func (x *AbilityMixinAvatarSteerByCamera) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinAvatarSteerByCamera_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinAvatarSteerByCamera.ProtoReflect.Descriptor instead. +func (*AbilityMixinAvatarSteerByCamera) Descriptor() ([]byte, []int) { + return file_AbilityMixinAvatarSteerByCamera_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinAvatarSteerByCamera) GetTargetDir() *Vector { + if x != nil { + return x.TargetDir + } + return nil +} + +func (x *AbilityMixinAvatarSteerByCamera) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +var File_AbilityMixinAvatarSteerByCamera_proto protoreflect.FileDescriptor + +var file_AbilityMixinAvatarSteerByCamera_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x65, 0x65, 0x72, 0x42, 0x79, 0x43, 0x61, 0x6d, 0x65, 0x72, + 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x65, 0x65, 0x72, + 0x42, 0x79, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x12, 0x26, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x72, + 0x12, 0x26, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinAvatarSteerByCamera_proto_rawDescOnce sync.Once + file_AbilityMixinAvatarSteerByCamera_proto_rawDescData = file_AbilityMixinAvatarSteerByCamera_proto_rawDesc +) + +func file_AbilityMixinAvatarSteerByCamera_proto_rawDescGZIP() []byte { + file_AbilityMixinAvatarSteerByCamera_proto_rawDescOnce.Do(func() { + file_AbilityMixinAvatarSteerByCamera_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinAvatarSteerByCamera_proto_rawDescData) + }) + return file_AbilityMixinAvatarSteerByCamera_proto_rawDescData +} + +var file_AbilityMixinAvatarSteerByCamera_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinAvatarSteerByCamera_proto_goTypes = []interface{}{ + (*AbilityMixinAvatarSteerByCamera)(nil), // 0: AbilityMixinAvatarSteerByCamera + (*Vector)(nil), // 1: Vector +} +var file_AbilityMixinAvatarSteerByCamera_proto_depIdxs = []int32{ + 1, // 0: AbilityMixinAvatarSteerByCamera.target_dir:type_name -> Vector + 1, // 1: AbilityMixinAvatarSteerByCamera.target_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityMixinAvatarSteerByCamera_proto_init() } +func file_AbilityMixinAvatarSteerByCamera_proto_init() { + if File_AbilityMixinAvatarSteerByCamera_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMixinAvatarSteerByCamera_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinAvatarSteerByCamera); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinAvatarSteerByCamera_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinAvatarSteerByCamera_proto_goTypes, + DependencyIndexes: file_AbilityMixinAvatarSteerByCamera_proto_depIdxs, + MessageInfos: file_AbilityMixinAvatarSteerByCamera_proto_msgTypes, + }.Build() + File_AbilityMixinAvatarSteerByCamera_proto = out.File + file_AbilityMixinAvatarSteerByCamera_proto_rawDesc = nil + file_AbilityMixinAvatarSteerByCamera_proto_goTypes = nil + file_AbilityMixinAvatarSteerByCamera_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.proto b/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.proto new file mode 100644 index 00000000..16fb7096 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinAvatarSteerByCamera.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityMixinAvatarSteerByCamera { + Vector target_dir = 7; + Vector target_pos = 6; +} diff --git a/gate-hk4e-api/proto/AbilityMixinCostStamina.pb.go b/gate-hk4e-api/proto/AbilityMixinCostStamina.pb.go new file mode 100644 index 00000000..4e70ae6c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinCostStamina.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinCostStamina.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinCostStamina struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSwim bool `protobuf:"varint,3,opt,name=is_swim,json=isSwim,proto3" json:"is_swim,omitempty"` +} + +func (x *AbilityMixinCostStamina) Reset() { + *x = AbilityMixinCostStamina{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinCostStamina_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinCostStamina) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinCostStamina) ProtoMessage() {} + +func (x *AbilityMixinCostStamina) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinCostStamina_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinCostStamina.ProtoReflect.Descriptor instead. +func (*AbilityMixinCostStamina) Descriptor() ([]byte, []int) { + return file_AbilityMixinCostStamina_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinCostStamina) GetIsSwim() bool { + if x != nil { + return x.IsSwim + } + return false +} + +var File_AbilityMixinCostStamina_proto protoreflect.FileDescriptor + +var file_AbilityMixinCostStamina_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x43, 0x6f, + 0x73, 0x74, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x32, 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x43, + 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, + 0x5f, 0x73, 0x77, 0x69, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, + 0x77, 0x69, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinCostStamina_proto_rawDescOnce sync.Once + file_AbilityMixinCostStamina_proto_rawDescData = file_AbilityMixinCostStamina_proto_rawDesc +) + +func file_AbilityMixinCostStamina_proto_rawDescGZIP() []byte { + file_AbilityMixinCostStamina_proto_rawDescOnce.Do(func() { + file_AbilityMixinCostStamina_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinCostStamina_proto_rawDescData) + }) + return file_AbilityMixinCostStamina_proto_rawDescData +} + +var file_AbilityMixinCostStamina_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinCostStamina_proto_goTypes = []interface{}{ + (*AbilityMixinCostStamina)(nil), // 0: AbilityMixinCostStamina +} +var file_AbilityMixinCostStamina_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinCostStamina_proto_init() } +func file_AbilityMixinCostStamina_proto_init() { + if File_AbilityMixinCostStamina_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinCostStamina_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinCostStamina); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinCostStamina_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinCostStamina_proto_goTypes, + DependencyIndexes: file_AbilityMixinCostStamina_proto_depIdxs, + MessageInfos: file_AbilityMixinCostStamina_proto_msgTypes, + }.Build() + File_AbilityMixinCostStamina_proto = out.File + file_AbilityMixinCostStamina_proto_rawDesc = nil + file_AbilityMixinCostStamina_proto_goTypes = nil + file_AbilityMixinCostStamina_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinCostStamina.proto b/gate-hk4e-api/proto/AbilityMixinCostStamina.proto new file mode 100644 index 00000000..1c9739c3 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinCostStamina.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinCostStamina { + bool is_swim = 3; +} diff --git a/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.pb.go b/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.pb.go new file mode 100644 index 00000000..385aedd0 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinDoActionByElementReaction.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinDoActionByElementReaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetEntityId uint32 `protobuf:"varint,1,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` +} + +func (x *AbilityMixinDoActionByElementReaction) Reset() { + *x = AbilityMixinDoActionByElementReaction{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinDoActionByElementReaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinDoActionByElementReaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinDoActionByElementReaction) ProtoMessage() {} + +func (x *AbilityMixinDoActionByElementReaction) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinDoActionByElementReaction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinDoActionByElementReaction.ProtoReflect.Descriptor instead. +func (*AbilityMixinDoActionByElementReaction) Descriptor() ([]byte, []int) { + return file_AbilityMixinDoActionByElementReaction_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinDoActionByElementReaction) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +var File_AbilityMixinDoActionByElementReaction_proto protoreflect.FileDescriptor + +var file_AbilityMixinDoActionByElementReaction_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x44, 0x6f, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, + 0x25, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x44, 0x6f, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinDoActionByElementReaction_proto_rawDescOnce sync.Once + file_AbilityMixinDoActionByElementReaction_proto_rawDescData = file_AbilityMixinDoActionByElementReaction_proto_rawDesc +) + +func file_AbilityMixinDoActionByElementReaction_proto_rawDescGZIP() []byte { + file_AbilityMixinDoActionByElementReaction_proto_rawDescOnce.Do(func() { + file_AbilityMixinDoActionByElementReaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinDoActionByElementReaction_proto_rawDescData) + }) + return file_AbilityMixinDoActionByElementReaction_proto_rawDescData +} + +var file_AbilityMixinDoActionByElementReaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinDoActionByElementReaction_proto_goTypes = []interface{}{ + (*AbilityMixinDoActionByElementReaction)(nil), // 0: AbilityMixinDoActionByElementReaction +} +var file_AbilityMixinDoActionByElementReaction_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinDoActionByElementReaction_proto_init() } +func file_AbilityMixinDoActionByElementReaction_proto_init() { + if File_AbilityMixinDoActionByElementReaction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinDoActionByElementReaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinDoActionByElementReaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinDoActionByElementReaction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinDoActionByElementReaction_proto_goTypes, + DependencyIndexes: file_AbilityMixinDoActionByElementReaction_proto_depIdxs, + MessageInfos: file_AbilityMixinDoActionByElementReaction_proto_msgTypes, + }.Build() + File_AbilityMixinDoActionByElementReaction_proto = out.File + file_AbilityMixinDoActionByElementReaction_proto_rawDesc = nil + file_AbilityMixinDoActionByElementReaction_proto_goTypes = nil + file_AbilityMixinDoActionByElementReaction_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.proto b/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.proto new file mode 100644 index 00000000..8d81f1cd --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinDoActionByElementReaction.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinDoActionByElementReaction { + uint32 target_entity_id = 1; +} diff --git a/gate-hk4e-api/proto/AbilityMixinElementShield.pb.go b/gate-hk4e-api/proto/AbilityMixinElementShield.pb.go new file mode 100644 index 00000000..1dba10db --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinElementShield.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinElementShield.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinElementShield struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubShield float32 `protobuf:"fixed32,10,opt,name=sub_shield,json=subShield,proto3" json:"sub_shield,omitempty"` + Shield float32 `protobuf:"fixed32,8,opt,name=shield,proto3" json:"shield,omitempty"` + AbsorbType uint32 `protobuf:"varint,1,opt,name=absorb_type,json=absorbType,proto3" json:"absorb_type,omitempty"` + Unk2700_PBKBDDLNBEA uint32 `protobuf:"varint,4,opt,name=Unk2700_PBKBDDLNBEA,json=Unk2700PBKBDDLNBEA,proto3" json:"Unk2700_PBKBDDLNBEA,omitempty"` + IsShieldBroken bool `protobuf:"varint,9,opt,name=is_shield_broken,json=isShieldBroken,proto3" json:"is_shield_broken,omitempty"` + MaxShield float32 `protobuf:"fixed32,12,opt,name=max_shield,json=maxShield,proto3" json:"max_shield,omitempty"` +} + +func (x *AbilityMixinElementShield) Reset() { + *x = AbilityMixinElementShield{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinElementShield_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinElementShield) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinElementShield) ProtoMessage() {} + +func (x *AbilityMixinElementShield) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinElementShield_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinElementShield.ProtoReflect.Descriptor instead. +func (*AbilityMixinElementShield) Descriptor() ([]byte, []int) { + return file_AbilityMixinElementShield_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinElementShield) GetSubShield() float32 { + if x != nil { + return x.SubShield + } + return 0 +} + +func (x *AbilityMixinElementShield) GetShield() float32 { + if x != nil { + return x.Shield + } + return 0 +} + +func (x *AbilityMixinElementShield) GetAbsorbType() uint32 { + if x != nil { + return x.AbsorbType + } + return 0 +} + +func (x *AbilityMixinElementShield) GetUnk2700_PBKBDDLNBEA() uint32 { + if x != nil { + return x.Unk2700_PBKBDDLNBEA + } + return 0 +} + +func (x *AbilityMixinElementShield) GetIsShieldBroken() bool { + if x != nil { + return x.IsShieldBroken + } + return false +} + +func (x *AbilityMixinElementShield) GetMaxShield() float32 { + if x != nil { + return x.MaxShield + } + return 0 +} + +var File_AbilityMixinElementShield_proto protoreflect.FileDescriptor + +var file_AbilityMixinElementShield_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x45, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, + 0x69, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x5f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x09, 0x73, 0x75, 0x62, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x62, 0x73, 0x6f, 0x72, 0x62, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x62, 0x73, + 0x6f, 0x72, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x42, 0x4b, 0x42, 0x44, 0x44, 0x4c, 0x4e, 0x42, 0x45, 0x41, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x42, 0x4b, + 0x42, 0x44, 0x44, 0x4c, 0x4e, 0x42, 0x45, 0x41, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x72, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x53, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinElementShield_proto_rawDescOnce sync.Once + file_AbilityMixinElementShield_proto_rawDescData = file_AbilityMixinElementShield_proto_rawDesc +) + +func file_AbilityMixinElementShield_proto_rawDescGZIP() []byte { + file_AbilityMixinElementShield_proto_rawDescOnce.Do(func() { + file_AbilityMixinElementShield_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinElementShield_proto_rawDescData) + }) + return file_AbilityMixinElementShield_proto_rawDescData +} + +var file_AbilityMixinElementShield_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinElementShield_proto_goTypes = []interface{}{ + (*AbilityMixinElementShield)(nil), // 0: AbilityMixinElementShield +} +var file_AbilityMixinElementShield_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinElementShield_proto_init() } +func file_AbilityMixinElementShield_proto_init() { + if File_AbilityMixinElementShield_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinElementShield_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinElementShield); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinElementShield_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinElementShield_proto_goTypes, + DependencyIndexes: file_AbilityMixinElementShield_proto_depIdxs, + MessageInfos: file_AbilityMixinElementShield_proto_msgTypes, + }.Build() + File_AbilityMixinElementShield_proto = out.File + file_AbilityMixinElementShield_proto_rawDesc = nil + file_AbilityMixinElementShield_proto_goTypes = nil + file_AbilityMixinElementShield_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinElementShield.proto b/gate-hk4e-api/proto/AbilityMixinElementShield.proto new file mode 100644 index 00000000..66e96a5c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinElementShield.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinElementShield { + float sub_shield = 10; + float shield = 8; + uint32 absorb_type = 1; + uint32 Unk2700_PBKBDDLNBEA = 4; + bool is_shield_broken = 9; + float max_shield = 12; +} diff --git a/gate-hk4e-api/proto/AbilityMixinEliteShield.pb.go b/gate-hk4e-api/proto/AbilityMixinEliteShield.pb.go new file mode 100644 index 00000000..87cd4c90 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinEliteShield.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinEliteShield.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinEliteShield struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubShield float32 `protobuf:"fixed32,2,opt,name=sub_shield,json=subShield,proto3" json:"sub_shield,omitempty"` +} + +func (x *AbilityMixinEliteShield) Reset() { + *x = AbilityMixinEliteShield{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinEliteShield_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinEliteShield) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinEliteShield) ProtoMessage() {} + +func (x *AbilityMixinEliteShield) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinEliteShield_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinEliteShield.ProtoReflect.Descriptor instead. +func (*AbilityMixinEliteShield) Descriptor() ([]byte, []int) { + return file_AbilityMixinEliteShield_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinEliteShield) GetSubShield() float32 { + if x != nil { + return x.SubShield + } + return 0 +} + +var File_AbilityMixinEliteShield_proto protoreflect.FileDescriptor + +var file_AbilityMixinEliteShield_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x45, 0x6c, + 0x69, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x38, 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x45, + 0x6c, 0x69, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, + 0x62, 0x5f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, + 0x73, 0x75, 0x62, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinEliteShield_proto_rawDescOnce sync.Once + file_AbilityMixinEliteShield_proto_rawDescData = file_AbilityMixinEliteShield_proto_rawDesc +) + +func file_AbilityMixinEliteShield_proto_rawDescGZIP() []byte { + file_AbilityMixinEliteShield_proto_rawDescOnce.Do(func() { + file_AbilityMixinEliteShield_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinEliteShield_proto_rawDescData) + }) + return file_AbilityMixinEliteShield_proto_rawDescData +} + +var file_AbilityMixinEliteShield_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinEliteShield_proto_goTypes = []interface{}{ + (*AbilityMixinEliteShield)(nil), // 0: AbilityMixinEliteShield +} +var file_AbilityMixinEliteShield_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinEliteShield_proto_init() } +func file_AbilityMixinEliteShield_proto_init() { + if File_AbilityMixinEliteShield_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinEliteShield_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinEliteShield); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinEliteShield_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinEliteShield_proto_goTypes, + DependencyIndexes: file_AbilityMixinEliteShield_proto_depIdxs, + MessageInfos: file_AbilityMixinEliteShield_proto_msgTypes, + }.Build() + File_AbilityMixinEliteShield_proto = out.File + file_AbilityMixinEliteShield_proto_rawDesc = nil + file_AbilityMixinEliteShield_proto_goTypes = nil + file_AbilityMixinEliteShield_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinEliteShield.proto b/gate-hk4e-api/proto/AbilityMixinEliteShield.proto new file mode 100644 index 00000000..ca7ae186 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinEliteShield.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinEliteShield { + float sub_shield = 2; +} diff --git a/gate-hk4e-api/proto/AbilityMixinEmpty.pb.go b/gate-hk4e-api/proto/AbilityMixinEmpty.pb.go new file mode 100644 index 00000000..6b2b8a47 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinEmpty.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinEmpty.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinEmpty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSwim bool `protobuf:"varint,1,opt,name=is_swim,json=isSwim,proto3" json:"is_swim,omitempty"` +} + +func (x *AbilityMixinEmpty) Reset() { + *x = AbilityMixinEmpty{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinEmpty_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinEmpty) ProtoMessage() {} + +func (x *AbilityMixinEmpty) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinEmpty_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinEmpty.ProtoReflect.Descriptor instead. +func (*AbilityMixinEmpty) Descriptor() ([]byte, []int) { + return file_AbilityMixinEmpty_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinEmpty) GetIsSwim() bool { + if x != nil { + return x.IsSwim + } + return false +} + +var File_AbilityMixinEmpty_proto protoreflect.FileDescriptor + +var file_AbilityMixinEmpty_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x11, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x77, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x53, 0x77, 0x69, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinEmpty_proto_rawDescOnce sync.Once + file_AbilityMixinEmpty_proto_rawDescData = file_AbilityMixinEmpty_proto_rawDesc +) + +func file_AbilityMixinEmpty_proto_rawDescGZIP() []byte { + file_AbilityMixinEmpty_proto_rawDescOnce.Do(func() { + file_AbilityMixinEmpty_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinEmpty_proto_rawDescData) + }) + return file_AbilityMixinEmpty_proto_rawDescData +} + +var file_AbilityMixinEmpty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinEmpty_proto_goTypes = []interface{}{ + (*AbilityMixinEmpty)(nil), // 0: AbilityMixinEmpty +} +var file_AbilityMixinEmpty_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinEmpty_proto_init() } +func file_AbilityMixinEmpty_proto_init() { + if File_AbilityMixinEmpty_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinEmpty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinEmpty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinEmpty_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinEmpty_proto_goTypes, + DependencyIndexes: file_AbilityMixinEmpty_proto_depIdxs, + MessageInfos: file_AbilityMixinEmpty_proto_msgTypes, + }.Build() + File_AbilityMixinEmpty_proto = out.File + file_AbilityMixinEmpty_proto_rawDesc = nil + file_AbilityMixinEmpty_proto_goTypes = nil + file_AbilityMixinEmpty_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinEmpty.proto b/gate-hk4e-api/proto/AbilityMixinEmpty.proto new file mode 100644 index 00000000..e6f90098 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinEmpty.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinEmpty { + bool is_swim = 1; +} diff --git a/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.pb.go b/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.pb.go new file mode 100644 index 00000000..2d1959e8 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinFieldEntityCountChange.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinFieldEntityCountChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FieldEntityCount uint32 `protobuf:"varint,14,opt,name=field_entity_count,json=fieldEntityCount,proto3" json:"field_entity_count,omitempty"` +} + +func (x *AbilityMixinFieldEntityCountChange) Reset() { + *x = AbilityMixinFieldEntityCountChange{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinFieldEntityCountChange_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinFieldEntityCountChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinFieldEntityCountChange) ProtoMessage() {} + +func (x *AbilityMixinFieldEntityCountChange) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinFieldEntityCountChange_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinFieldEntityCountChange.ProtoReflect.Descriptor instead. +func (*AbilityMixinFieldEntityCountChange) Descriptor() ([]byte, []int) { + return file_AbilityMixinFieldEntityCountChange_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinFieldEntityCountChange) GetFieldEntityCount() uint32 { + if x != nil { + return x.FieldEntityCount + } + return 0 +} + +var File_AbilityMixinFieldEntityCountChange_proto protoreflect.FileDescriptor + +var file_AbilityMixinFieldEntityCountChange_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x22, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AbilityMixinFieldEntityCountChange_proto_rawDescOnce sync.Once + file_AbilityMixinFieldEntityCountChange_proto_rawDescData = file_AbilityMixinFieldEntityCountChange_proto_rawDesc +) + +func file_AbilityMixinFieldEntityCountChange_proto_rawDescGZIP() []byte { + file_AbilityMixinFieldEntityCountChange_proto_rawDescOnce.Do(func() { + file_AbilityMixinFieldEntityCountChange_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinFieldEntityCountChange_proto_rawDescData) + }) + return file_AbilityMixinFieldEntityCountChange_proto_rawDescData +} + +var file_AbilityMixinFieldEntityCountChange_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinFieldEntityCountChange_proto_goTypes = []interface{}{ + (*AbilityMixinFieldEntityCountChange)(nil), // 0: AbilityMixinFieldEntityCountChange +} +var file_AbilityMixinFieldEntityCountChange_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinFieldEntityCountChange_proto_init() } +func file_AbilityMixinFieldEntityCountChange_proto_init() { + if File_AbilityMixinFieldEntityCountChange_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinFieldEntityCountChange_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinFieldEntityCountChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinFieldEntityCountChange_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinFieldEntityCountChange_proto_goTypes, + DependencyIndexes: file_AbilityMixinFieldEntityCountChange_proto_depIdxs, + MessageInfos: file_AbilityMixinFieldEntityCountChange_proto_msgTypes, + }.Build() + File_AbilityMixinFieldEntityCountChange_proto = out.File + file_AbilityMixinFieldEntityCountChange_proto_rawDesc = nil + file_AbilityMixinFieldEntityCountChange_proto_goTypes = nil + file_AbilityMixinFieldEntityCountChange_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.proto b/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.proto new file mode 100644 index 00000000..1c07a989 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinFieldEntityCountChange.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinFieldEntityCountChange { + uint32 field_entity_count = 14; +} diff --git a/gate-hk4e-api/proto/AbilityMixinGlobalShield.pb.go b/gate-hk4e-api/proto/AbilityMixinGlobalShield.pb.go new file mode 100644 index 00000000..0cfe5e96 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinGlobalShield.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinGlobalShield.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinGlobalShield struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsCreateEffect bool `protobuf:"varint,4,opt,name=is_create_effect,json=isCreateEffect,proto3" json:"is_create_effect,omitempty"` + SubShield float32 `protobuf:"fixed32,7,opt,name=sub_shield,json=subShield,proto3" json:"sub_shield,omitempty"` + HeightOffset float32 `protobuf:"fixed32,5,opt,name=height_offset,json=heightOffset,proto3" json:"height_offset,omitempty"` + AvatarId uint32 `protobuf:"varint,11,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + MaxShield float32 `protobuf:"fixed32,10,opt,name=max_shield,json=maxShield,proto3" json:"max_shield,omitempty"` + ShieldEffectName string `protobuf:"bytes,2,opt,name=shield_effect_name,json=shieldEffectName,proto3" json:"shield_effect_name,omitempty"` +} + +func (x *AbilityMixinGlobalShield) Reset() { + *x = AbilityMixinGlobalShield{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinGlobalShield_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinGlobalShield) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinGlobalShield) ProtoMessage() {} + +func (x *AbilityMixinGlobalShield) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinGlobalShield_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinGlobalShield.ProtoReflect.Descriptor instead. +func (*AbilityMixinGlobalShield) Descriptor() ([]byte, []int) { + return file_AbilityMixinGlobalShield_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinGlobalShield) GetIsCreateEffect() bool { + if x != nil { + return x.IsCreateEffect + } + return false +} + +func (x *AbilityMixinGlobalShield) GetSubShield() float32 { + if x != nil { + return x.SubShield + } + return 0 +} + +func (x *AbilityMixinGlobalShield) GetHeightOffset() float32 { + if x != nil { + return x.HeightOffset + } + return 0 +} + +func (x *AbilityMixinGlobalShield) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *AbilityMixinGlobalShield) GetMaxShield() float32 { + if x != nil { + return x.MaxShield + } + return 0 +} + +func (x *AbilityMixinGlobalShield) GetShieldEffectName() string { + if x != nil { + return x.ShieldEffectName + } + return "" +} + +var File_AbilityMixinGlobalShield_proto protoreflect.FileDescriptor + +var file_AbilityMixinGlobalShield_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xf2, 0x01, 0x0a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, + 0x6e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x28, 0x0a, + 0x10, 0x69, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x5f, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x73, 0x75, 0x62, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x61, + 0x78, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinGlobalShield_proto_rawDescOnce sync.Once + file_AbilityMixinGlobalShield_proto_rawDescData = file_AbilityMixinGlobalShield_proto_rawDesc +) + +func file_AbilityMixinGlobalShield_proto_rawDescGZIP() []byte { + file_AbilityMixinGlobalShield_proto_rawDescOnce.Do(func() { + file_AbilityMixinGlobalShield_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinGlobalShield_proto_rawDescData) + }) + return file_AbilityMixinGlobalShield_proto_rawDescData +} + +var file_AbilityMixinGlobalShield_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinGlobalShield_proto_goTypes = []interface{}{ + (*AbilityMixinGlobalShield)(nil), // 0: AbilityMixinGlobalShield +} +var file_AbilityMixinGlobalShield_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinGlobalShield_proto_init() } +func file_AbilityMixinGlobalShield_proto_init() { + if File_AbilityMixinGlobalShield_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinGlobalShield_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinGlobalShield); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinGlobalShield_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinGlobalShield_proto_goTypes, + DependencyIndexes: file_AbilityMixinGlobalShield_proto_depIdxs, + MessageInfos: file_AbilityMixinGlobalShield_proto_msgTypes, + }.Build() + File_AbilityMixinGlobalShield_proto = out.File + file_AbilityMixinGlobalShield_proto_rawDesc = nil + file_AbilityMixinGlobalShield_proto_goTypes = nil + file_AbilityMixinGlobalShield_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinGlobalShield.proto b/gate-hk4e-api/proto/AbilityMixinGlobalShield.proto new file mode 100644 index 00000000..53455291 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinGlobalShield.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinGlobalShield { + bool is_create_effect = 4; + float sub_shield = 7; + float height_offset = 5; + uint32 avatar_id = 11; + float max_shield = 10; + string shield_effect_name = 2; +} diff --git a/gate-hk4e-api/proto/AbilityMixinRecoverInfo.pb.go b/gate-hk4e-api/proto/AbilityMixinRecoverInfo.pb.go new file mode 100644 index 00000000..ac3175ce --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinRecoverInfo.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinRecoverInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinRecoverInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalId uint32 `protobuf:"varint,3,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"` + DataList []uint32 `protobuf:"varint,4,rep,packed,name=data_list,json=dataList,proto3" json:"data_list,omitempty"` + IsServerbuffModifier bool `protobuf:"varint,5,opt,name=is_serverbuff_modifier,json=isServerbuffModifier,proto3" json:"is_serverbuff_modifier,omitempty"` + MassivePropList []*MassivePropSyncInfo `protobuf:"bytes,6,rep,name=massive_prop_list,json=massivePropList,proto3" json:"massive_prop_list,omitempty"` + // Types that are assignable to Source: + // *AbilityMixinRecoverInfo_InstancedAbilityId + // *AbilityMixinRecoverInfo_InstancedModifierId + Source isAbilityMixinRecoverInfo_Source `protobuf_oneof:"source"` +} + +func (x *AbilityMixinRecoverInfo) Reset() { + *x = AbilityMixinRecoverInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinRecoverInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinRecoverInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinRecoverInfo) ProtoMessage() {} + +func (x *AbilityMixinRecoverInfo) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinRecoverInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinRecoverInfo.ProtoReflect.Descriptor instead. +func (*AbilityMixinRecoverInfo) Descriptor() ([]byte, []int) { + return file_AbilityMixinRecoverInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinRecoverInfo) GetLocalId() uint32 { + if x != nil { + return x.LocalId + } + return 0 +} + +func (x *AbilityMixinRecoverInfo) GetDataList() []uint32 { + if x != nil { + return x.DataList + } + return nil +} + +func (x *AbilityMixinRecoverInfo) GetIsServerbuffModifier() bool { + if x != nil { + return x.IsServerbuffModifier + } + return false +} + +func (x *AbilityMixinRecoverInfo) GetMassivePropList() []*MassivePropSyncInfo { + if x != nil { + return x.MassivePropList + } + return nil +} + +func (m *AbilityMixinRecoverInfo) GetSource() isAbilityMixinRecoverInfo_Source { + if m != nil { + return m.Source + } + return nil +} + +func (x *AbilityMixinRecoverInfo) GetInstancedAbilityId() uint32 { + if x, ok := x.GetSource().(*AbilityMixinRecoverInfo_InstancedAbilityId); ok { + return x.InstancedAbilityId + } + return 0 +} + +func (x *AbilityMixinRecoverInfo) GetInstancedModifierId() uint32 { + if x, ok := x.GetSource().(*AbilityMixinRecoverInfo_InstancedModifierId); ok { + return x.InstancedModifierId + } + return 0 +} + +type isAbilityMixinRecoverInfo_Source interface { + isAbilityMixinRecoverInfo_Source() +} + +type AbilityMixinRecoverInfo_InstancedAbilityId struct { + InstancedAbilityId uint32 `protobuf:"varint,1,opt,name=instanced_ability_id,json=instancedAbilityId,proto3,oneof"` +} + +type AbilityMixinRecoverInfo_InstancedModifierId struct { + InstancedModifierId uint32 `protobuf:"varint,2,opt,name=instanced_modifier_id,json=instancedModifierId,proto3,oneof"` +} + +func (*AbilityMixinRecoverInfo_InstancedAbilityId) isAbilityMixinRecoverInfo_Source() {} + +func (*AbilityMixinRecoverInfo_InstancedModifierId) isAbilityMixinRecoverInfo_Source() {} + +var File_AbilityMixinRecoverInfo_proto protoreflect.FileDescriptor + +var file_AbilityMixinRecoverInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x65, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, 0x63, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x02, 0x0a, 0x17, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, + 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x5f, + 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, + 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x11, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, + 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, + 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x64, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x15, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x13, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, + 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinRecoverInfo_proto_rawDescOnce sync.Once + file_AbilityMixinRecoverInfo_proto_rawDescData = file_AbilityMixinRecoverInfo_proto_rawDesc +) + +func file_AbilityMixinRecoverInfo_proto_rawDescGZIP() []byte { + file_AbilityMixinRecoverInfo_proto_rawDescOnce.Do(func() { + file_AbilityMixinRecoverInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinRecoverInfo_proto_rawDescData) + }) + return file_AbilityMixinRecoverInfo_proto_rawDescData +} + +var file_AbilityMixinRecoverInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinRecoverInfo_proto_goTypes = []interface{}{ + (*AbilityMixinRecoverInfo)(nil), // 0: AbilityMixinRecoverInfo + (*MassivePropSyncInfo)(nil), // 1: MassivePropSyncInfo +} +var file_AbilityMixinRecoverInfo_proto_depIdxs = []int32{ + 1, // 0: AbilityMixinRecoverInfo.massive_prop_list:type_name -> MassivePropSyncInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMixinRecoverInfo_proto_init() } +func file_AbilityMixinRecoverInfo_proto_init() { + if File_AbilityMixinRecoverInfo_proto != nil { + return + } + file_MassivePropSyncInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMixinRecoverInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinRecoverInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AbilityMixinRecoverInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AbilityMixinRecoverInfo_InstancedAbilityId)(nil), + (*AbilityMixinRecoverInfo_InstancedModifierId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinRecoverInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinRecoverInfo_proto_goTypes, + DependencyIndexes: file_AbilityMixinRecoverInfo_proto_depIdxs, + MessageInfos: file_AbilityMixinRecoverInfo_proto_msgTypes, + }.Build() + File_AbilityMixinRecoverInfo_proto = out.File + file_AbilityMixinRecoverInfo_proto_rawDesc = nil + file_AbilityMixinRecoverInfo_proto_goTypes = nil + file_AbilityMixinRecoverInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinRecoverInfo.proto b/gate-hk4e-api/proto/AbilityMixinRecoverInfo.proto new file mode 100644 index 00000000..047d192f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinRecoverInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassivePropSyncInfo.proto"; + +option go_package = "./;proto"; + +message AbilityMixinRecoverInfo { + uint32 local_id = 3; + repeated uint32 data_list = 4; + bool is_serverbuff_modifier = 5; + repeated MassivePropSyncInfo massive_prop_list = 6; + oneof source { + uint32 instanced_ability_id = 1; + uint32 instanced_modifier_id = 2; + } +} diff --git a/gate-hk4e-api/proto/AbilityMixinScenePropSync.pb.go b/gate-hk4e-api/proto/AbilityMixinScenePropSync.pb.go new file mode 100644 index 00000000..53e0ac1f --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinScenePropSync.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinScenePropSync.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinScenePropSync struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteIdList []int64 `protobuf:"varint,5,rep,packed,name=delete_id_list,json=deleteIdList,proto3" json:"delete_id_list,omitempty"` + IsClearAll bool `protobuf:"varint,12,opt,name=is_clear_all,json=isClearAll,proto3" json:"is_clear_all,omitempty"` + MassivePropList []*MassivePropSyncInfo `protobuf:"bytes,15,rep,name=massive_prop_list,json=massivePropList,proto3" json:"massive_prop_list,omitempty"` +} + +func (x *AbilityMixinScenePropSync) Reset() { + *x = AbilityMixinScenePropSync{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinScenePropSync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinScenePropSync) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinScenePropSync) ProtoMessage() {} + +func (x *AbilityMixinScenePropSync) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinScenePropSync_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinScenePropSync.ProtoReflect.Descriptor instead. +func (*AbilityMixinScenePropSync) Descriptor() ([]byte, []int) { + return file_AbilityMixinScenePropSync_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinScenePropSync) GetDeleteIdList() []int64 { + if x != nil { + return x.DeleteIdList + } + return nil +} + +func (x *AbilityMixinScenePropSync) GetIsClearAll() bool { + if x != nil { + return x.IsClearAll + } + return false +} + +func (x *AbilityMixinScenePropSync) GetMassivePropList() []*MassivePropSyncInfo { + if x != nil { + return x.MassivePropList + } + return nil +} + +var File_AbilityMixinScenePropSync_proto protoreflect.FileDescriptor + +var file_AbilityMixinScenePropSync_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, + 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, + 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x03, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x61, 0x6c, 0x6c, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, + 0x6c, 0x6c, 0x12, 0x40, 0x0a, 0x11, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72, + 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, 0x63, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinScenePropSync_proto_rawDescOnce sync.Once + file_AbilityMixinScenePropSync_proto_rawDescData = file_AbilityMixinScenePropSync_proto_rawDesc +) + +func file_AbilityMixinScenePropSync_proto_rawDescGZIP() []byte { + file_AbilityMixinScenePropSync_proto_rawDescOnce.Do(func() { + file_AbilityMixinScenePropSync_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinScenePropSync_proto_rawDescData) + }) + return file_AbilityMixinScenePropSync_proto_rawDescData +} + +var file_AbilityMixinScenePropSync_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinScenePropSync_proto_goTypes = []interface{}{ + (*AbilityMixinScenePropSync)(nil), // 0: AbilityMixinScenePropSync + (*MassivePropSyncInfo)(nil), // 1: MassivePropSyncInfo +} +var file_AbilityMixinScenePropSync_proto_depIdxs = []int32{ + 1, // 0: AbilityMixinScenePropSync.massive_prop_list:type_name -> MassivePropSyncInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AbilityMixinScenePropSync_proto_init() } +func file_AbilityMixinScenePropSync_proto_init() { + if File_AbilityMixinScenePropSync_proto != nil { + return + } + file_MassivePropSyncInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMixinScenePropSync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinScenePropSync); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinScenePropSync_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinScenePropSync_proto_goTypes, + DependencyIndexes: file_AbilityMixinScenePropSync_proto_depIdxs, + MessageInfos: file_AbilityMixinScenePropSync_proto_msgTypes, + }.Build() + File_AbilityMixinScenePropSync_proto = out.File + file_AbilityMixinScenePropSync_proto_rawDesc = nil + file_AbilityMixinScenePropSync_proto_goTypes = nil + file_AbilityMixinScenePropSync_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinScenePropSync.proto b/gate-hk4e-api/proto/AbilityMixinScenePropSync.proto new file mode 100644 index 00000000..1f17faee --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinScenePropSync.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassivePropSyncInfo.proto"; + +option go_package = "./;proto"; + +message AbilityMixinScenePropSync { + repeated int64 delete_id_list = 5; + bool is_clear_all = 12; + repeated MassivePropSyncInfo massive_prop_list = 15; +} diff --git a/gate-hk4e-api/proto/AbilityMixinShieldBar.pb.go b/gate-hk4e-api/proto/AbilityMixinShieldBar.pb.go new file mode 100644 index 00000000..912f9426 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinShieldBar.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinShieldBar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinShieldBar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PBKBDDLNBEA uint32 `protobuf:"varint,14,opt,name=Unk2700_PBKBDDLNBEA,json=Unk2700PBKBDDLNBEA,proto3" json:"Unk2700_PBKBDDLNBEA,omitempty"` + MaxShield float32 `protobuf:"fixed32,15,opt,name=max_shield,json=maxShield,proto3" json:"max_shield,omitempty"` + Shield float32 `protobuf:"fixed32,12,opt,name=shield,proto3" json:"shield,omitempty"` + ElementType uint32 `protobuf:"varint,13,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"` +} + +func (x *AbilityMixinShieldBar) Reset() { + *x = AbilityMixinShieldBar{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinShieldBar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinShieldBar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinShieldBar) ProtoMessage() {} + +func (x *AbilityMixinShieldBar) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinShieldBar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinShieldBar.ProtoReflect.Descriptor instead. +func (*AbilityMixinShieldBar) Descriptor() ([]byte, []int) { + return file_AbilityMixinShieldBar_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinShieldBar) GetUnk2700_PBKBDDLNBEA() uint32 { + if x != nil { + return x.Unk2700_PBKBDDLNBEA + } + return 0 +} + +func (x *AbilityMixinShieldBar) GetMaxShield() float32 { + if x != nil { + return x.MaxShield + } + return 0 +} + +func (x *AbilityMixinShieldBar) GetShield() float32 { + if x != nil { + return x.Shield + } + return 0 +} + +func (x *AbilityMixinShieldBar) GetElementType() uint32 { + if x != nil { + return x.ElementType + } + return 0 +} + +var File_AbilityMixinShieldBar_proto protoreflect.FileDescriptor + +var file_AbilityMixinShieldBar_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x53, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, + 0x0a, 0x15, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x53, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x72, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x42, 0x4b, 0x42, 0x44, 0x44, 0x4c, 0x4e, 0x42, 0x45, 0x41, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x42, 0x4b, + 0x42, 0x44, 0x44, 0x4c, 0x4e, 0x42, 0x45, 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6d, 0x61, + 0x78, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinShieldBar_proto_rawDescOnce sync.Once + file_AbilityMixinShieldBar_proto_rawDescData = file_AbilityMixinShieldBar_proto_rawDesc +) + +func file_AbilityMixinShieldBar_proto_rawDescGZIP() []byte { + file_AbilityMixinShieldBar_proto_rawDescOnce.Do(func() { + file_AbilityMixinShieldBar_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinShieldBar_proto_rawDescData) + }) + return file_AbilityMixinShieldBar_proto_rawDescData +} + +var file_AbilityMixinShieldBar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinShieldBar_proto_goTypes = []interface{}{ + (*AbilityMixinShieldBar)(nil), // 0: AbilityMixinShieldBar +} +var file_AbilityMixinShieldBar_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinShieldBar_proto_init() } +func file_AbilityMixinShieldBar_proto_init() { + if File_AbilityMixinShieldBar_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinShieldBar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinShieldBar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinShieldBar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinShieldBar_proto_goTypes, + DependencyIndexes: file_AbilityMixinShieldBar_proto_depIdxs, + MessageInfos: file_AbilityMixinShieldBar_proto_msgTypes, + }.Build() + File_AbilityMixinShieldBar_proto = out.File + file_AbilityMixinShieldBar_proto_rawDesc = nil + file_AbilityMixinShieldBar_proto_goTypes = nil + file_AbilityMixinShieldBar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinShieldBar.proto b/gate-hk4e-api/proto/AbilityMixinShieldBar.proto new file mode 100644 index 00000000..d5103bf7 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinShieldBar.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinShieldBar { + uint32 Unk2700_PBKBDDLNBEA = 14; + float max_shield = 15; + float shield = 12; + uint32 element_type = 13; +} diff --git a/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.pb.go b/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.pb.go new file mode 100644 index 00000000..e984d2da --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinWidgetMpSupport.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinWidgetMpSupport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetEntityId uint32 `protobuf:"varint,9,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` +} + +func (x *AbilityMixinWidgetMpSupport) Reset() { + *x = AbilityMixinWidgetMpSupport{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWidgetMpSupport_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWidgetMpSupport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWidgetMpSupport) ProtoMessage() {} + +func (x *AbilityMixinWidgetMpSupport) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWidgetMpSupport_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWidgetMpSupport.ProtoReflect.Descriptor instead. +func (*AbilityMixinWidgetMpSupport) Descriptor() ([]byte, []int) { + return file_AbilityMixinWidgetMpSupport_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinWidgetMpSupport) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +var File_AbilityMixinWidgetMpSupport_proto protoreflect.FileDescriptor + +var file_AbilityMixinWidgetMpSupport_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x4d, 0x70, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, + 0x78, 0x69, 0x6e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x70, 0x53, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinWidgetMpSupport_proto_rawDescOnce sync.Once + file_AbilityMixinWidgetMpSupport_proto_rawDescData = file_AbilityMixinWidgetMpSupport_proto_rawDesc +) + +func file_AbilityMixinWidgetMpSupport_proto_rawDescGZIP() []byte { + file_AbilityMixinWidgetMpSupport_proto_rawDescOnce.Do(func() { + file_AbilityMixinWidgetMpSupport_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinWidgetMpSupport_proto_rawDescData) + }) + return file_AbilityMixinWidgetMpSupport_proto_rawDescData +} + +var file_AbilityMixinWidgetMpSupport_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinWidgetMpSupport_proto_goTypes = []interface{}{ + (*AbilityMixinWidgetMpSupport)(nil), // 0: AbilityMixinWidgetMpSupport +} +var file_AbilityMixinWidgetMpSupport_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinWidgetMpSupport_proto_init() } +func file_AbilityMixinWidgetMpSupport_proto_init() { + if File_AbilityMixinWidgetMpSupport_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinWidgetMpSupport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWidgetMpSupport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinWidgetMpSupport_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinWidgetMpSupport_proto_goTypes, + DependencyIndexes: file_AbilityMixinWidgetMpSupport_proto_depIdxs, + MessageInfos: file_AbilityMixinWidgetMpSupport_proto_msgTypes, + }.Build() + File_AbilityMixinWidgetMpSupport_proto = out.File + file_AbilityMixinWidgetMpSupport_proto_rawDesc = nil + file_AbilityMixinWidgetMpSupport_proto_goTypes = nil + file_AbilityMixinWidgetMpSupport_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.proto b/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.proto new file mode 100644 index 00000000..134e3c42 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWidgetMpSupport.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinWidgetMpSupport { + uint32 target_entity_id = 9; +} diff --git a/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.pb.go b/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.pb.go new file mode 100644 index 00000000..4113ef9a --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.pb.go @@ -0,0 +1,409 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinWindSeedSpawner.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinWindSeedSpawner struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Cmd: + // *AbilityMixinWindSeedSpawner_AddSignal_ + // *AbilityMixinWindSeedSpawner_RefreshSeed_ + // *AbilityMixinWindSeedSpawner_CatchSeed_ + Cmd isAbilityMixinWindSeedSpawner_Cmd `protobuf_oneof:"cmd"` +} + +func (x *AbilityMixinWindSeedSpawner) Reset() { + *x = AbilityMixinWindSeedSpawner{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWindSeedSpawner) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWindSeedSpawner) ProtoMessage() {} + +func (x *AbilityMixinWindSeedSpawner) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWindSeedSpawner.ProtoReflect.Descriptor instead. +func (*AbilityMixinWindSeedSpawner) Descriptor() ([]byte, []int) { + return file_AbilityMixinWindSeedSpawner_proto_rawDescGZIP(), []int{0} +} + +func (m *AbilityMixinWindSeedSpawner) GetCmd() isAbilityMixinWindSeedSpawner_Cmd { + if m != nil { + return m.Cmd + } + return nil +} + +func (x *AbilityMixinWindSeedSpawner) GetAddSignal() *AbilityMixinWindSeedSpawner_AddSignal { + if x, ok := x.GetCmd().(*AbilityMixinWindSeedSpawner_AddSignal_); ok { + return x.AddSignal + } + return nil +} + +func (x *AbilityMixinWindSeedSpawner) GetRefreshSeed() *AbilityMixinWindSeedSpawner_RefreshSeed { + if x, ok := x.GetCmd().(*AbilityMixinWindSeedSpawner_RefreshSeed_); ok { + return x.RefreshSeed + } + return nil +} + +func (x *AbilityMixinWindSeedSpawner) GetCatchSeed() *AbilityMixinWindSeedSpawner_CatchSeed { + if x, ok := x.GetCmd().(*AbilityMixinWindSeedSpawner_CatchSeed_); ok { + return x.CatchSeed + } + return nil +} + +type isAbilityMixinWindSeedSpawner_Cmd interface { + isAbilityMixinWindSeedSpawner_Cmd() +} + +type AbilityMixinWindSeedSpawner_AddSignal_ struct { + AddSignal *AbilityMixinWindSeedSpawner_AddSignal `protobuf:"bytes,2,opt,name=add_signal,json=addSignal,proto3,oneof"` +} + +type AbilityMixinWindSeedSpawner_RefreshSeed_ struct { + RefreshSeed *AbilityMixinWindSeedSpawner_RefreshSeed `protobuf:"bytes,15,opt,name=refresh_seed,json=refreshSeed,proto3,oneof"` +} + +type AbilityMixinWindSeedSpawner_CatchSeed_ struct { + CatchSeed *AbilityMixinWindSeedSpawner_CatchSeed `protobuf:"bytes,11,opt,name=catch_seed,json=catchSeed,proto3,oneof"` +} + +func (*AbilityMixinWindSeedSpawner_AddSignal_) isAbilityMixinWindSeedSpawner_Cmd() {} + +func (*AbilityMixinWindSeedSpawner_RefreshSeed_) isAbilityMixinWindSeedSpawner_Cmd() {} + +func (*AbilityMixinWindSeedSpawner_CatchSeed_) isAbilityMixinWindSeedSpawner_Cmd() {} + +type AbilityMixinWindSeedSpawner_AddSignal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AbilityMixinWindSeedSpawner_AddSignal) Reset() { + *x = AbilityMixinWindSeedSpawner_AddSignal{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWindSeedSpawner_AddSignal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWindSeedSpawner_AddSignal) ProtoMessage() {} + +func (x *AbilityMixinWindSeedSpawner_AddSignal) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWindSeedSpawner_AddSignal.ProtoReflect.Descriptor instead. +func (*AbilityMixinWindSeedSpawner_AddSignal) Descriptor() ([]byte, []int) { + return file_AbilityMixinWindSeedSpawner_proto_rawDescGZIP(), []int{0, 0} +} + +type AbilityMixinWindSeedSpawner_RefreshSeed struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PosList []*Vector `protobuf:"bytes,6,rep,name=pos_list,json=posList,proto3" json:"pos_list,omitempty"` +} + +func (x *AbilityMixinWindSeedSpawner_RefreshSeed) Reset() { + *x = AbilityMixinWindSeedSpawner_RefreshSeed{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWindSeedSpawner_RefreshSeed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWindSeedSpawner_RefreshSeed) ProtoMessage() {} + +func (x *AbilityMixinWindSeedSpawner_RefreshSeed) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWindSeedSpawner_RefreshSeed.ProtoReflect.Descriptor instead. +func (*AbilityMixinWindSeedSpawner_RefreshSeed) Descriptor() ([]byte, []int) { + return file_AbilityMixinWindSeedSpawner_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *AbilityMixinWindSeedSpawner_RefreshSeed) GetPosList() []*Vector { + if x != nil { + return x.PosList + } + return nil +} + +type AbilityMixinWindSeedSpawner_CatchSeed struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *AbilityMixinWindSeedSpawner_CatchSeed) Reset() { + *x = AbilityMixinWindSeedSpawner_CatchSeed{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWindSeedSpawner_CatchSeed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWindSeedSpawner_CatchSeed) ProtoMessage() {} + +func (x *AbilityMixinWindSeedSpawner_CatchSeed) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWindSeedSpawner_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWindSeedSpawner_CatchSeed.ProtoReflect.Descriptor instead. +func (*AbilityMixinWindSeedSpawner_CatchSeed) Descriptor() ([]byte, []int) { + return file_AbilityMixinWindSeedSpawner_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *AbilityMixinWindSeedSpawner_CatchSeed) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_AbilityMixinWindSeedSpawner_proto protoreflect.FileDescriptor + +var file_AbilityMixinWindSeedSpawner_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, + 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xef, 0x02, 0x0a, 0x1b, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, + 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x65, + 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, + 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x53, 0x70, 0x61, 0x77, + 0x6e, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x48, 0x00, 0x52, + 0x09, 0x61, 0x64, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x4d, 0x0a, 0x0c, 0x72, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, + 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x52, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x63, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x53, 0x65, 0x65, 0x64, 0x53, 0x70, 0x61, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x61, 0x74, 0x63, + 0x68, 0x53, 0x65, 0x65, 0x64, 0x48, 0x00, 0x52, 0x09, 0x63, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, + 0x65, 0x64, 0x1a, 0x0b, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x1a, + 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x65, 0x64, 0x12, 0x22, + 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x70, 0x6f, 0x73, 0x4c, 0x69, + 0x73, 0x74, 0x1a, 0x28, 0x0a, 0x09, 0x43, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x65, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x05, 0x0a, 0x03, + 0x63, 0x6d, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinWindSeedSpawner_proto_rawDescOnce sync.Once + file_AbilityMixinWindSeedSpawner_proto_rawDescData = file_AbilityMixinWindSeedSpawner_proto_rawDesc +) + +func file_AbilityMixinWindSeedSpawner_proto_rawDescGZIP() []byte { + file_AbilityMixinWindSeedSpawner_proto_rawDescOnce.Do(func() { + file_AbilityMixinWindSeedSpawner_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinWindSeedSpawner_proto_rawDescData) + }) + return file_AbilityMixinWindSeedSpawner_proto_rawDescData +} + +var file_AbilityMixinWindSeedSpawner_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_AbilityMixinWindSeedSpawner_proto_goTypes = []interface{}{ + (*AbilityMixinWindSeedSpawner)(nil), // 0: AbilityMixinWindSeedSpawner + (*AbilityMixinWindSeedSpawner_AddSignal)(nil), // 1: AbilityMixinWindSeedSpawner.AddSignal + (*AbilityMixinWindSeedSpawner_RefreshSeed)(nil), // 2: AbilityMixinWindSeedSpawner.RefreshSeed + (*AbilityMixinWindSeedSpawner_CatchSeed)(nil), // 3: AbilityMixinWindSeedSpawner.CatchSeed + (*Vector)(nil), // 4: Vector +} +var file_AbilityMixinWindSeedSpawner_proto_depIdxs = []int32{ + 1, // 0: AbilityMixinWindSeedSpawner.add_signal:type_name -> AbilityMixinWindSeedSpawner.AddSignal + 2, // 1: AbilityMixinWindSeedSpawner.refresh_seed:type_name -> AbilityMixinWindSeedSpawner.RefreshSeed + 3, // 2: AbilityMixinWindSeedSpawner.catch_seed:type_name -> AbilityMixinWindSeedSpawner.CatchSeed + 4, // 3: AbilityMixinWindSeedSpawner.RefreshSeed.pos_list:type_name -> Vector + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_AbilityMixinWindSeedSpawner_proto_init() } +func file_AbilityMixinWindSeedSpawner_proto_init() { + if File_AbilityMixinWindSeedSpawner_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityMixinWindSeedSpawner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWindSeedSpawner); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_AbilityMixinWindSeedSpawner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWindSeedSpawner_AddSignal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_AbilityMixinWindSeedSpawner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWindSeedSpawner_RefreshSeed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_AbilityMixinWindSeedSpawner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWindSeedSpawner_CatchSeed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AbilityMixinWindSeedSpawner_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AbilityMixinWindSeedSpawner_AddSignal_)(nil), + (*AbilityMixinWindSeedSpawner_RefreshSeed_)(nil), + (*AbilityMixinWindSeedSpawner_CatchSeed_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinWindSeedSpawner_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinWindSeedSpawner_proto_goTypes, + DependencyIndexes: file_AbilityMixinWindSeedSpawner_proto_depIdxs, + MessageInfos: file_AbilityMixinWindSeedSpawner_proto_msgTypes, + }.Build() + File_AbilityMixinWindSeedSpawner_proto = out.File + file_AbilityMixinWindSeedSpawner_proto_rawDesc = nil + file_AbilityMixinWindSeedSpawner_proto_goTypes = nil + file_AbilityMixinWindSeedSpawner_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.proto b/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.proto new file mode 100644 index 00000000..90360428 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWindSeedSpawner.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AbilityMixinWindSeedSpawner { + oneof cmd { + AddSignal add_signal = 2; + RefreshSeed refresh_seed = 15; + CatchSeed catch_seed = 11; + } + + message AddSignal {} + + message RefreshSeed { + repeated Vector pos_list = 6; + } + + message CatchSeed { + uint32 entity_id = 8; + } +} diff --git a/gate-hk4e-api/proto/AbilityMixinWindZone.pb.go b/gate-hk4e-api/proto/AbilityMixinWindZone.pb.go new file mode 100644 index 00000000..a04a9a64 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWindZone.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityMixinWindZone.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityMixinWindZone struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityIds []uint32 `protobuf:"varint,13,rep,packed,name=entity_ids,json=entityIds,proto3" json:"entity_ids,omitempty"` + ZoneIdList []uint32 `protobuf:"varint,10,rep,packed,name=zone_id_list,json=zoneIdList,proto3" json:"zone_id_list,omitempty"` +} + +func (x *AbilityMixinWindZone) Reset() { + *x = AbilityMixinWindZone{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityMixinWindZone_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityMixinWindZone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityMixinWindZone) ProtoMessage() {} + +func (x *AbilityMixinWindZone) ProtoReflect() protoreflect.Message { + mi := &file_AbilityMixinWindZone_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityMixinWindZone.ProtoReflect.Descriptor instead. +func (*AbilityMixinWindZone) Descriptor() ([]byte, []int) { + return file_AbilityMixinWindZone_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityMixinWindZone) GetEntityIds() []uint32 { + if x != nil { + return x.EntityIds + } + return nil +} + +func (x *AbilityMixinWindZone) GetZoneIdList() []uint32 { + if x != nil { + return x.ZoneIdList + } + return nil +} + +var File_AbilityMixinWindZone_proto protoreflect.FileDescriptor + +var file_AbilityMixinWindZone_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, + 0x6e, 0x64, 0x5a, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x14, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x7a, 0x6f, 0x6e, 0x65, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityMixinWindZone_proto_rawDescOnce sync.Once + file_AbilityMixinWindZone_proto_rawDescData = file_AbilityMixinWindZone_proto_rawDesc +) + +func file_AbilityMixinWindZone_proto_rawDescGZIP() []byte { + file_AbilityMixinWindZone_proto_rawDescOnce.Do(func() { + file_AbilityMixinWindZone_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityMixinWindZone_proto_rawDescData) + }) + return file_AbilityMixinWindZone_proto_rawDescData +} + +var file_AbilityMixinWindZone_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityMixinWindZone_proto_goTypes = []interface{}{ + (*AbilityMixinWindZone)(nil), // 0: AbilityMixinWindZone +} +var file_AbilityMixinWindZone_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityMixinWindZone_proto_init() } +func file_AbilityMixinWindZone_proto_init() { + if File_AbilityMixinWindZone_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityMixinWindZone_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityMixinWindZone); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityMixinWindZone_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityMixinWindZone_proto_goTypes, + DependencyIndexes: file_AbilityMixinWindZone_proto_depIdxs, + MessageInfos: file_AbilityMixinWindZone_proto_msgTypes, + }.Build() + File_AbilityMixinWindZone_proto = out.File + file_AbilityMixinWindZone_proto_rawDesc = nil + file_AbilityMixinWindZone_proto_goTypes = nil + file_AbilityMixinWindZone_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityMixinWindZone.proto b/gate-hk4e-api/proto/AbilityMixinWindZone.proto new file mode 100644 index 00000000..687dc327 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityMixinWindZone.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityMixinWindZone { + repeated uint32 entity_ids = 13; + repeated uint32 zone_id_list = 10; +} diff --git a/gate-hk4e-api/proto/AbilityScalarType.pb.go b/gate-hk4e-api/proto/AbilityScalarType.pb.go new file mode 100644 index 00000000..57fee85c --- /dev/null +++ b/gate-hk4e-api/proto/AbilityScalarType.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityScalarType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityScalarType int32 + +const ( + AbilityScalarType_ABILITY_SCALAR_TYPE_UNKNOW AbilityScalarType = 0 + AbilityScalarType_ABILITY_SCALAR_TYPE_FLOAT AbilityScalarType = 1 + AbilityScalarType_ABILITY_SCALAR_TYPE_INT AbilityScalarType = 2 + AbilityScalarType_ABILITY_SCALAR_TYPE_BOOL AbilityScalarType = 3 + AbilityScalarType_ABILITY_SCALAR_TYPE_TRIGGER AbilityScalarType = 4 + AbilityScalarType_ABILITY_SCALAR_TYPE_STRING AbilityScalarType = 5 + AbilityScalarType_ABILITY_SCALAR_TYPE_UINT AbilityScalarType = 6 +) + +// Enum value maps for AbilityScalarType. +var ( + AbilityScalarType_name = map[int32]string{ + 0: "ABILITY_SCALAR_TYPE_UNKNOW", + 1: "ABILITY_SCALAR_TYPE_FLOAT", + 2: "ABILITY_SCALAR_TYPE_INT", + 3: "ABILITY_SCALAR_TYPE_BOOL", + 4: "ABILITY_SCALAR_TYPE_TRIGGER", + 5: "ABILITY_SCALAR_TYPE_STRING", + 6: "ABILITY_SCALAR_TYPE_UINT", + } + AbilityScalarType_value = map[string]int32{ + "ABILITY_SCALAR_TYPE_UNKNOW": 0, + "ABILITY_SCALAR_TYPE_FLOAT": 1, + "ABILITY_SCALAR_TYPE_INT": 2, + "ABILITY_SCALAR_TYPE_BOOL": 3, + "ABILITY_SCALAR_TYPE_TRIGGER": 4, + "ABILITY_SCALAR_TYPE_STRING": 5, + "ABILITY_SCALAR_TYPE_UINT": 6, + } +) + +func (x AbilityScalarType) Enum() *AbilityScalarType { + p := new(AbilityScalarType) + *p = x + return p +} + +func (x AbilityScalarType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AbilityScalarType) Descriptor() protoreflect.EnumDescriptor { + return file_AbilityScalarType_proto_enumTypes[0].Descriptor() +} + +func (AbilityScalarType) Type() protoreflect.EnumType { + return &file_AbilityScalarType_proto_enumTypes[0] +} + +func (x AbilityScalarType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AbilityScalarType.Descriptor instead. +func (AbilityScalarType) EnumDescriptor() ([]byte, []int) { + return file_AbilityScalarType_proto_rawDescGZIP(), []int{0} +} + +var File_AbilityScalarType_proto protoreflect.FileDescriptor + +var file_AbilityScalarType_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xec, 0x01, 0x0a, 0x11, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x1e, 0x0a, 0x1a, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, + 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x10, 0x00, 0x12, + 0x1d, 0x0a, 0x19, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, + 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x01, 0x12, 0x1b, + 0x0a, 0x17, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x41, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x42, 0x49, + 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x10, 0x06, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityScalarType_proto_rawDescOnce sync.Once + file_AbilityScalarType_proto_rawDescData = file_AbilityScalarType_proto_rawDesc +) + +func file_AbilityScalarType_proto_rawDescGZIP() []byte { + file_AbilityScalarType_proto_rawDescOnce.Do(func() { + file_AbilityScalarType_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityScalarType_proto_rawDescData) + }) + return file_AbilityScalarType_proto_rawDescData +} + +var file_AbilityScalarType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_AbilityScalarType_proto_goTypes = []interface{}{ + (AbilityScalarType)(0), // 0: AbilityScalarType +} +var file_AbilityScalarType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityScalarType_proto_init() } +func file_AbilityScalarType_proto_init() { + if File_AbilityScalarType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityScalarType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityScalarType_proto_goTypes, + DependencyIndexes: file_AbilityScalarType_proto_depIdxs, + EnumInfos: file_AbilityScalarType_proto_enumTypes, + }.Build() + File_AbilityScalarType_proto = out.File + file_AbilityScalarType_proto_rawDesc = nil + file_AbilityScalarType_proto_goTypes = nil + file_AbilityScalarType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityScalarType.proto b/gate-hk4e-api/proto/AbilityScalarType.proto new file mode 100644 index 00000000..de5a134e --- /dev/null +++ b/gate-hk4e-api/proto/AbilityScalarType.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum AbilityScalarType { + ABILITY_SCALAR_TYPE_UNKNOW = 0; + ABILITY_SCALAR_TYPE_FLOAT = 1; + ABILITY_SCALAR_TYPE_INT = 2; + ABILITY_SCALAR_TYPE_BOOL = 3; + ABILITY_SCALAR_TYPE_TRIGGER = 4; + ABILITY_SCALAR_TYPE_STRING = 5; + ABILITY_SCALAR_TYPE_UINT = 6; +} diff --git a/gate-hk4e-api/proto/AbilityScalarValueEntry.pb.go b/gate-hk4e-api/proto/AbilityScalarValueEntry.pb.go new file mode 100644 index 00000000..16395bf2 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityScalarValueEntry.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityScalarValueEntry.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityScalarValueEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *AbilityString `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + ValueType AbilityScalarType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=AbilityScalarType" json:"value_type,omitempty"` + // Types that are assignable to Value: + // *AbilityScalarValueEntry_FloatValue + // *AbilityScalarValueEntry_StringValue + // *AbilityScalarValueEntry_IntValue + // *AbilityScalarValueEntry_UintValue + Value isAbilityScalarValueEntry_Value `protobuf_oneof:"value"` +} + +func (x *AbilityScalarValueEntry) Reset() { + *x = AbilityScalarValueEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityScalarValueEntry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityScalarValueEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityScalarValueEntry) ProtoMessage() {} + +func (x *AbilityScalarValueEntry) ProtoReflect() protoreflect.Message { + mi := &file_AbilityScalarValueEntry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityScalarValueEntry.ProtoReflect.Descriptor instead. +func (*AbilityScalarValueEntry) Descriptor() ([]byte, []int) { + return file_AbilityScalarValueEntry_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilityScalarValueEntry) GetKey() *AbilityString { + if x != nil { + return x.Key + } + return nil +} + +func (x *AbilityScalarValueEntry) GetValueType() AbilityScalarType { + if x != nil { + return x.ValueType + } + return AbilityScalarType_ABILITY_SCALAR_TYPE_UNKNOW +} + +func (m *AbilityScalarValueEntry) GetValue() isAbilityScalarValueEntry_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *AbilityScalarValueEntry) GetFloatValue() float32 { + if x, ok := x.GetValue().(*AbilityScalarValueEntry_FloatValue); ok { + return x.FloatValue + } + return 0 +} + +func (x *AbilityScalarValueEntry) GetStringValue() string { + if x, ok := x.GetValue().(*AbilityScalarValueEntry_StringValue); ok { + return x.StringValue + } + return "" +} + +func (x *AbilityScalarValueEntry) GetIntValue() int32 { + if x, ok := x.GetValue().(*AbilityScalarValueEntry_IntValue); ok { + return x.IntValue + } + return 0 +} + +func (x *AbilityScalarValueEntry) GetUintValue() uint32 { + if x, ok := x.GetValue().(*AbilityScalarValueEntry_UintValue); ok { + return x.UintValue + } + return 0 +} + +type isAbilityScalarValueEntry_Value interface { + isAbilityScalarValueEntry_Value() +} + +type AbilityScalarValueEntry_FloatValue struct { + FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"` +} + +type AbilityScalarValueEntry_StringValue struct { + StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type AbilityScalarValueEntry_IntValue struct { + IntValue int32 `protobuf:"varint,5,opt,name=int_value,json=intValue,proto3,oneof"` +} + +type AbilityScalarValueEntry_UintValue struct { + UintValue uint32 `protobuf:"varint,6,opt,name=uint_value,json=uintValue,proto3,oneof"` +} + +func (*AbilityScalarValueEntry_FloatValue) isAbilityScalarValueEntry_Value() {} + +func (*AbilityScalarValueEntry_StringValue) isAbilityScalarValueEntry_Value() {} + +func (*AbilityScalarValueEntry_IntValue) isAbilityScalarValueEntry_Value() {} + +func (*AbilityScalarValueEntry_UintValue) isAbilityScalarValueEntry_Value() {} + +var File_AbilityScalarValueEntry_proto protoreflect.FileDescriptor + +var file_AbilityScalarValueEntry_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, + 0x0a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x0a, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x12, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, + 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x75, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x09, 0x75, 0x69, 0x6e, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityScalarValueEntry_proto_rawDescOnce sync.Once + file_AbilityScalarValueEntry_proto_rawDescData = file_AbilityScalarValueEntry_proto_rawDesc +) + +func file_AbilityScalarValueEntry_proto_rawDescGZIP() []byte { + file_AbilityScalarValueEntry_proto_rawDescOnce.Do(func() { + file_AbilityScalarValueEntry_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityScalarValueEntry_proto_rawDescData) + }) + return file_AbilityScalarValueEntry_proto_rawDescData +} + +var file_AbilityScalarValueEntry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityScalarValueEntry_proto_goTypes = []interface{}{ + (*AbilityScalarValueEntry)(nil), // 0: AbilityScalarValueEntry + (*AbilityString)(nil), // 1: AbilityString + (AbilityScalarType)(0), // 2: AbilityScalarType +} +var file_AbilityScalarValueEntry_proto_depIdxs = []int32{ + 1, // 0: AbilityScalarValueEntry.key:type_name -> AbilityString + 2, // 1: AbilityScalarValueEntry.value_type:type_name -> AbilityScalarType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AbilityScalarValueEntry_proto_init() } +func file_AbilityScalarValueEntry_proto_init() { + if File_AbilityScalarValueEntry_proto != nil { + return + } + file_AbilityScalarType_proto_init() + file_AbilityString_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilityScalarValueEntry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityScalarValueEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AbilityScalarValueEntry_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AbilityScalarValueEntry_FloatValue)(nil), + (*AbilityScalarValueEntry_StringValue)(nil), + (*AbilityScalarValueEntry_IntValue)(nil), + (*AbilityScalarValueEntry_UintValue)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityScalarValueEntry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityScalarValueEntry_proto_goTypes, + DependencyIndexes: file_AbilityScalarValueEntry_proto_depIdxs, + MessageInfos: file_AbilityScalarValueEntry_proto_msgTypes, + }.Build() + File_AbilityScalarValueEntry_proto = out.File + file_AbilityScalarValueEntry_proto_rawDesc = nil + file_AbilityScalarValueEntry_proto_goTypes = nil + file_AbilityScalarValueEntry_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityScalarValueEntry.proto b/gate-hk4e-api/proto/AbilityScalarValueEntry.proto new file mode 100644 index 00000000..bb695232 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityScalarValueEntry.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityScalarType.proto"; +import "AbilityString.proto"; + +option go_package = "./;proto"; + +message AbilityScalarValueEntry { + AbilityString key = 1; + AbilityScalarType value_type = 2; + oneof value { + float float_value = 3; + string string_value = 4; + int32 int_value = 5; + uint32 uint_value = 6; + } +} diff --git a/gate-hk4e-api/proto/AbilityString.pb.go b/gate-hk4e-api/proto/AbilityString.pb.go new file mode 100644 index 00000000..92e52e50 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityString.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilityString.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilityString struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Type: + // *AbilityString_Str + // *AbilityString_Hash + Type isAbilityString_Type `protobuf_oneof:"type"` +} + +func (x *AbilityString) Reset() { + *x = AbilityString{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilityString_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilityString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilityString) ProtoMessage() {} + +func (x *AbilityString) ProtoReflect() protoreflect.Message { + mi := &file_AbilityString_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilityString.ProtoReflect.Descriptor instead. +func (*AbilityString) Descriptor() ([]byte, []int) { + return file_AbilityString_proto_rawDescGZIP(), []int{0} +} + +func (m *AbilityString) GetType() isAbilityString_Type { + if m != nil { + return m.Type + } + return nil +} + +func (x *AbilityString) GetStr() string { + if x, ok := x.GetType().(*AbilityString_Str); ok { + return x.Str + } + return "" +} + +func (x *AbilityString) GetHash() uint32 { + if x, ok := x.GetType().(*AbilityString_Hash); ok { + return x.Hash + } + return 0 +} + +type isAbilityString_Type interface { + isAbilityString_Type() +} + +type AbilityString_Str struct { + Str string `protobuf:"bytes,1,opt,name=str,proto3,oneof"` +} + +type AbilityString_Hash struct { + Hash uint32 `protobuf:"varint,2,opt,name=hash,proto3,oneof"` +} + +func (*AbilityString_Str) isAbilityString_Type() {} + +func (*AbilityString_Hash) isAbilityString_Type() {} + +var File_AbilityString_proto protoreflect.FileDescriptor + +var file_AbilityString_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x0d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x14, 0x0a, 0x04, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, + 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilityString_proto_rawDescOnce sync.Once + file_AbilityString_proto_rawDescData = file_AbilityString_proto_rawDesc +) + +func file_AbilityString_proto_rawDescGZIP() []byte { + file_AbilityString_proto_rawDescOnce.Do(func() { + file_AbilityString_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilityString_proto_rawDescData) + }) + return file_AbilityString_proto_rawDescData +} + +var file_AbilityString_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilityString_proto_goTypes = []interface{}{ + (*AbilityString)(nil), // 0: AbilityString +} +var file_AbilityString_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AbilityString_proto_init() } +func file_AbilityString_proto_init() { + if File_AbilityString_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AbilityString_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilityString); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AbilityString_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AbilityString_Str)(nil), + (*AbilityString_Hash)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilityString_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilityString_proto_goTypes, + DependencyIndexes: file_AbilityString_proto_depIdxs, + MessageInfos: file_AbilityString_proto_msgTypes, + }.Build() + File_AbilityString_proto = out.File + file_AbilityString_proto_rawDesc = nil + file_AbilityString_proto_goTypes = nil + file_AbilityString_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilityString.proto b/gate-hk4e-api/proto/AbilityString.proto new file mode 100644 index 00000000..02ee6506 --- /dev/null +++ b/gate-hk4e-api/proto/AbilityString.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AbilityString { + oneof type { + string str = 1; + uint32 hash = 2; + } +} diff --git a/gate-hk4e-api/proto/AbilitySyncStateInfo.pb.go b/gate-hk4e-api/proto/AbilitySyncStateInfo.pb.go new file mode 100644 index 00000000..8c5822cd --- /dev/null +++ b/gate-hk4e-api/proto/AbilitySyncStateInfo.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AbilitySyncStateInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AbilitySyncStateInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsInited bool `protobuf:"varint,1,opt,name=is_inited,json=isInited,proto3" json:"is_inited,omitempty"` + DynamicValueMap []*AbilityScalarValueEntry `protobuf:"bytes,2,rep,name=dynamic_value_map,json=dynamicValueMap,proto3" json:"dynamic_value_map,omitempty"` + AppliedAbilities []*AbilityAppliedAbility `protobuf:"bytes,3,rep,name=applied_abilities,json=appliedAbilities,proto3" json:"applied_abilities,omitempty"` + AppliedModifiers []*AbilityAppliedModifier `protobuf:"bytes,4,rep,name=applied_modifiers,json=appliedModifiers,proto3" json:"applied_modifiers,omitempty"` + MixinRecoverInfos []*AbilityMixinRecoverInfo `protobuf:"bytes,5,rep,name=mixin_recover_infos,json=mixinRecoverInfos,proto3" json:"mixin_recover_infos,omitempty"` + SgvDynamicValueMap []*AbilityScalarValueEntry `protobuf:"bytes,6,rep,name=sgv_dynamic_value_map,json=sgvDynamicValueMap,proto3" json:"sgv_dynamic_value_map,omitempty"` +} + +func (x *AbilitySyncStateInfo) Reset() { + *x = AbilitySyncStateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AbilitySyncStateInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbilitySyncStateInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbilitySyncStateInfo) ProtoMessage() {} + +func (x *AbilitySyncStateInfo) ProtoReflect() protoreflect.Message { + mi := &file_AbilitySyncStateInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbilitySyncStateInfo.ProtoReflect.Descriptor instead. +func (*AbilitySyncStateInfo) Descriptor() ([]byte, []int) { + return file_AbilitySyncStateInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AbilitySyncStateInfo) GetIsInited() bool { + if x != nil { + return x.IsInited + } + return false +} + +func (x *AbilitySyncStateInfo) GetDynamicValueMap() []*AbilityScalarValueEntry { + if x != nil { + return x.DynamicValueMap + } + return nil +} + +func (x *AbilitySyncStateInfo) GetAppliedAbilities() []*AbilityAppliedAbility { + if x != nil { + return x.AppliedAbilities + } + return nil +} + +func (x *AbilitySyncStateInfo) GetAppliedModifiers() []*AbilityAppliedModifier { + if x != nil { + return x.AppliedModifiers + } + return nil +} + +func (x *AbilitySyncStateInfo) GetMixinRecoverInfos() []*AbilityMixinRecoverInfo { + if x != nil { + return x.MixinRecoverInfos + } + return nil +} + +func (x *AbilitySyncStateInfo) GetSgvDynamicValueMap() []*AbilityScalarValueEntry { + if x != nil { + return x.SgvDynamicValueMap + } + return nil +} + +var File_AbilitySyncStateInfo_proto protoreflect.FileDescriptor + +var file_AbilitySyncStateInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, + 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x03, 0x0a, 0x14, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x11, 0x64, + 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, + 0x70, 0x12, 0x43, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x52, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, + 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x13, + 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x4b, 0x0a, 0x15, 0x73, 0x67, 0x76, 0x5f, 0x64, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, + 0x63, 0x61, 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x12, 0x73, 0x67, 0x76, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x4d, 0x61, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AbilitySyncStateInfo_proto_rawDescOnce sync.Once + file_AbilitySyncStateInfo_proto_rawDescData = file_AbilitySyncStateInfo_proto_rawDesc +) + +func file_AbilitySyncStateInfo_proto_rawDescGZIP() []byte { + file_AbilitySyncStateInfo_proto_rawDescOnce.Do(func() { + file_AbilitySyncStateInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AbilitySyncStateInfo_proto_rawDescData) + }) + return file_AbilitySyncStateInfo_proto_rawDescData +} + +var file_AbilitySyncStateInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AbilitySyncStateInfo_proto_goTypes = []interface{}{ + (*AbilitySyncStateInfo)(nil), // 0: AbilitySyncStateInfo + (*AbilityScalarValueEntry)(nil), // 1: AbilityScalarValueEntry + (*AbilityAppliedAbility)(nil), // 2: AbilityAppliedAbility + (*AbilityAppliedModifier)(nil), // 3: AbilityAppliedModifier + (*AbilityMixinRecoverInfo)(nil), // 4: AbilityMixinRecoverInfo +} +var file_AbilitySyncStateInfo_proto_depIdxs = []int32{ + 1, // 0: AbilitySyncStateInfo.dynamic_value_map:type_name -> AbilityScalarValueEntry + 2, // 1: AbilitySyncStateInfo.applied_abilities:type_name -> AbilityAppliedAbility + 3, // 2: AbilitySyncStateInfo.applied_modifiers:type_name -> AbilityAppliedModifier + 4, // 3: AbilitySyncStateInfo.mixin_recover_infos:type_name -> AbilityMixinRecoverInfo + 1, // 4: AbilitySyncStateInfo.sgv_dynamic_value_map:type_name -> AbilityScalarValueEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_AbilitySyncStateInfo_proto_init() } +func file_AbilitySyncStateInfo_proto_init() { + if File_AbilitySyncStateInfo_proto != nil { + return + } + file_AbilityAppliedAbility_proto_init() + file_AbilityAppliedModifier_proto_init() + file_AbilityMixinRecoverInfo_proto_init() + file_AbilityScalarValueEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_AbilitySyncStateInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbilitySyncStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AbilitySyncStateInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AbilitySyncStateInfo_proto_goTypes, + DependencyIndexes: file_AbilitySyncStateInfo_proto_depIdxs, + MessageInfos: file_AbilitySyncStateInfo_proto_msgTypes, + }.Build() + File_AbilitySyncStateInfo_proto = out.File + file_AbilitySyncStateInfo_proto_rawDesc = nil + file_AbilitySyncStateInfo_proto_goTypes = nil + file_AbilitySyncStateInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AbilitySyncStateInfo.proto b/gate-hk4e-api/proto/AbilitySyncStateInfo.proto new file mode 100644 index 00000000..c2c33985 --- /dev/null +++ b/gate-hk4e-api/proto/AbilitySyncStateInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityAppliedAbility.proto"; +import "AbilityAppliedModifier.proto"; +import "AbilityMixinRecoverInfo.proto"; +import "AbilityScalarValueEntry.proto"; + +option go_package = "./;proto"; + +message AbilitySyncStateInfo { + bool is_inited = 1; + repeated AbilityScalarValueEntry dynamic_value_map = 2; + repeated AbilityAppliedAbility applied_abilities = 3; + repeated AbilityAppliedModifier applied_modifiers = 4; + repeated AbilityMixinRecoverInfo mixin_recover_infos = 5; + repeated AbilityScalarValueEntry sgv_dynamic_value_map = 6; +} diff --git a/gate-hk4e-api/proto/AcceptCityReputationRequestReq.pb.go b/gate-hk4e-api/proto/AcceptCityReputationRequestReq.pb.go new file mode 100644 index 00000000..bd814119 --- /dev/null +++ b/gate-hk4e-api/proto/AcceptCityReputationRequestReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AcceptCityReputationRequestReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2890 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AcceptCityReputationRequestReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + RequestId uint32 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *AcceptCityReputationRequestReq) Reset() { + *x = AcceptCityReputationRequestReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AcceptCityReputationRequestReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AcceptCityReputationRequestReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AcceptCityReputationRequestReq) ProtoMessage() {} + +func (x *AcceptCityReputationRequestReq) ProtoReflect() protoreflect.Message { + mi := &file_AcceptCityReputationRequestReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AcceptCityReputationRequestReq.ProtoReflect.Descriptor instead. +func (*AcceptCityReputationRequestReq) Descriptor() ([]byte, []int) { + return file_AcceptCityReputationRequestReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AcceptCityReputationRequestReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *AcceptCityReputationRequestReq) GetRequestId() uint32 { + if x != nil { + return x.RequestId + } + return 0 +} + +var File_AcceptCityReputationRequestReq_proto protoreflect.FileDescriptor + +var file_AcceptCityReputationRequestReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AcceptCityReputationRequestReq_proto_rawDescOnce sync.Once + file_AcceptCityReputationRequestReq_proto_rawDescData = file_AcceptCityReputationRequestReq_proto_rawDesc +) + +func file_AcceptCityReputationRequestReq_proto_rawDescGZIP() []byte { + file_AcceptCityReputationRequestReq_proto_rawDescOnce.Do(func() { + file_AcceptCityReputationRequestReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AcceptCityReputationRequestReq_proto_rawDescData) + }) + return file_AcceptCityReputationRequestReq_proto_rawDescData +} + +var file_AcceptCityReputationRequestReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AcceptCityReputationRequestReq_proto_goTypes = []interface{}{ + (*AcceptCityReputationRequestReq)(nil), // 0: AcceptCityReputationRequestReq +} +var file_AcceptCityReputationRequestReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AcceptCityReputationRequestReq_proto_init() } +func file_AcceptCityReputationRequestReq_proto_init() { + if File_AcceptCityReputationRequestReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AcceptCityReputationRequestReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptCityReputationRequestReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AcceptCityReputationRequestReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AcceptCityReputationRequestReq_proto_goTypes, + DependencyIndexes: file_AcceptCityReputationRequestReq_proto_depIdxs, + MessageInfos: file_AcceptCityReputationRequestReq_proto_msgTypes, + }.Build() + File_AcceptCityReputationRequestReq_proto = out.File + file_AcceptCityReputationRequestReq_proto_rawDesc = nil + file_AcceptCityReputationRequestReq_proto_goTypes = nil + file_AcceptCityReputationRequestReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AcceptCityReputationRequestReq.proto b/gate-hk4e-api/proto/AcceptCityReputationRequestReq.proto new file mode 100644 index 00000000..f84564de --- /dev/null +++ b/gate-hk4e-api/proto/AcceptCityReputationRequestReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2890 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AcceptCityReputationRequestReq { + uint32 city_id = 14; + uint32 request_id = 5; +} diff --git a/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.pb.go b/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.pb.go new file mode 100644 index 00000000..425a249d --- /dev/null +++ b/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AcceptCityReputationRequestRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2873 +// EnetChannelId: 0 +// EnetIsReliable: true +type AcceptCityReputationRequestRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId uint32 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + CityId uint32 `protobuf:"varint,13,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AcceptCityReputationRequestRsp) Reset() { + *x = AcceptCityReputationRequestRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AcceptCityReputationRequestRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AcceptCityReputationRequestRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AcceptCityReputationRequestRsp) ProtoMessage() {} + +func (x *AcceptCityReputationRequestRsp) ProtoReflect() protoreflect.Message { + mi := &file_AcceptCityReputationRequestRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AcceptCityReputationRequestRsp.ProtoReflect.Descriptor instead. +func (*AcceptCityReputationRequestRsp) Descriptor() ([]byte, []int) { + return file_AcceptCityReputationRequestRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AcceptCityReputationRequestRsp) GetRequestId() uint32 { + if x != nil { + return x.RequestId + } + return 0 +} + +func (x *AcceptCityReputationRequestRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *AcceptCityReputationRequestRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AcceptCityReputationRequestRsp_proto protoreflect.FileDescriptor + +var file_AcceptCityReputationRequestRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AcceptCityReputationRequestRsp_proto_rawDescOnce sync.Once + file_AcceptCityReputationRequestRsp_proto_rawDescData = file_AcceptCityReputationRequestRsp_proto_rawDesc +) + +func file_AcceptCityReputationRequestRsp_proto_rawDescGZIP() []byte { + file_AcceptCityReputationRequestRsp_proto_rawDescOnce.Do(func() { + file_AcceptCityReputationRequestRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AcceptCityReputationRequestRsp_proto_rawDescData) + }) + return file_AcceptCityReputationRequestRsp_proto_rawDescData +} + +var file_AcceptCityReputationRequestRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AcceptCityReputationRequestRsp_proto_goTypes = []interface{}{ + (*AcceptCityReputationRequestRsp)(nil), // 0: AcceptCityReputationRequestRsp +} +var file_AcceptCityReputationRequestRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AcceptCityReputationRequestRsp_proto_init() } +func file_AcceptCityReputationRequestRsp_proto_init() { + if File_AcceptCityReputationRequestRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AcceptCityReputationRequestRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptCityReputationRequestRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AcceptCityReputationRequestRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AcceptCityReputationRequestRsp_proto_goTypes, + DependencyIndexes: file_AcceptCityReputationRequestRsp_proto_depIdxs, + MessageInfos: file_AcceptCityReputationRequestRsp_proto_msgTypes, + }.Build() + File_AcceptCityReputationRequestRsp_proto = out.File + file_AcceptCityReputationRequestRsp_proto_rawDesc = nil + file_AcceptCityReputationRequestRsp_proto_goTypes = nil + file_AcceptCityReputationRequestRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.proto b/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.proto new file mode 100644 index 00000000..a897e995 --- /dev/null +++ b/gate-hk4e-api/proto/AcceptCityReputationRequestRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2873 +// EnetChannelId: 0 +// EnetIsReliable: true +message AcceptCityReputationRequestRsp { + uint32 request_id = 5; + uint32 city_id = 13; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Achievement.pb.go b/gate-hk4e-api/proto/Achievement.pb.go new file mode 100644 index 00000000..29397546 --- /dev/null +++ b/gate-hk4e-api/proto/Achievement.pb.go @@ -0,0 +1,261 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Achievement.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Achievement_Status int32 + +const ( + Achievement_STATUS_INVALID Achievement_Status = 0 + Achievement_STATUS_UNFINISHED Achievement_Status = 1 + Achievement_STATUS_FINISHED Achievement_Status = 2 + Achievement_STATUS_REWARD_TAKEN Achievement_Status = 3 +) + +// Enum value maps for Achievement_Status. +var ( + Achievement_Status_name = map[int32]string{ + 0: "STATUS_INVALID", + 1: "STATUS_UNFINISHED", + 2: "STATUS_FINISHED", + 3: "STATUS_REWARD_TAKEN", + } + Achievement_Status_value = map[string]int32{ + "STATUS_INVALID": 0, + "STATUS_UNFINISHED": 1, + "STATUS_FINISHED": 2, + "STATUS_REWARD_TAKEN": 3, + } +) + +func (x Achievement_Status) Enum() *Achievement_Status { + p := new(Achievement_Status) + *p = x + return p +} + +func (x Achievement_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Achievement_Status) Descriptor() protoreflect.EnumDescriptor { + return file_Achievement_proto_enumTypes[0].Descriptor() +} + +func (Achievement_Status) Type() protoreflect.EnumType { + return &file_Achievement_proto_enumTypes[0] +} + +func (x Achievement_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Achievement_Status.Descriptor instead. +func (Achievement_Status) EnumDescriptor() ([]byte, []int) { + return file_Achievement_proto_rawDescGZIP(), []int{0, 0} +} + +type Achievement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishTimestamp uint32 `protobuf:"varint,11,opt,name=finish_timestamp,json=finishTimestamp,proto3" json:"finish_timestamp,omitempty"` + Status Achievement_Status `protobuf:"varint,13,opt,name=status,proto3,enum=Achievement_Status" json:"status,omitempty"` + CurProgress uint32 `protobuf:"varint,12,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + Id uint32 `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"` + TotalProgress uint32 `protobuf:"varint,8,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` +} + +func (x *Achievement) Reset() { + *x = Achievement{} + if protoimpl.UnsafeEnabled { + mi := &file_Achievement_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Achievement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Achievement) ProtoMessage() {} + +func (x *Achievement) ProtoReflect() protoreflect.Message { + mi := &file_Achievement_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Achievement.ProtoReflect.Descriptor instead. +func (*Achievement) Descriptor() ([]byte, []int) { + return file_Achievement_proto_rawDescGZIP(), []int{0} +} + +func (x *Achievement) GetFinishTimestamp() uint32 { + if x != nil { + return x.FinishTimestamp + } + return 0 +} + +func (x *Achievement) GetStatus() Achievement_Status { + if x != nil { + return x.Status + } + return Achievement_STATUS_INVALID +} + +func (x *Achievement) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *Achievement) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Achievement) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +var File_Achievement_proto protoreflect.FileDescriptor + +var file_Achievement_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x02, 0x0a, 0x0b, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2b, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, + 0x2e, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, + 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, + 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, + 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, + 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Achievement_proto_rawDescOnce sync.Once + file_Achievement_proto_rawDescData = file_Achievement_proto_rawDesc +) + +func file_Achievement_proto_rawDescGZIP() []byte { + file_Achievement_proto_rawDescOnce.Do(func() { + file_Achievement_proto_rawDescData = protoimpl.X.CompressGZIP(file_Achievement_proto_rawDescData) + }) + return file_Achievement_proto_rawDescData +} + +var file_Achievement_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Achievement_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Achievement_proto_goTypes = []interface{}{ + (Achievement_Status)(0), // 0: Achievement.Status + (*Achievement)(nil), // 1: Achievement +} +var file_Achievement_proto_depIdxs = []int32{ + 0, // 0: Achievement.status:type_name -> Achievement.Status + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Achievement_proto_init() } +func file_Achievement_proto_init() { + if File_Achievement_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Achievement_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Achievement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Achievement_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Achievement_proto_goTypes, + DependencyIndexes: file_Achievement_proto_depIdxs, + EnumInfos: file_Achievement_proto_enumTypes, + MessageInfos: file_Achievement_proto_msgTypes, + }.Build() + File_Achievement_proto = out.File + file_Achievement_proto_rawDesc = nil + file_Achievement_proto_goTypes = nil + file_Achievement_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Achievement.proto b/gate-hk4e-api/proto/Achievement.proto new file mode 100644 index 00000000..3c6b7bd5 --- /dev/null +++ b/gate-hk4e-api/proto/Achievement.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Achievement { + uint32 finish_timestamp = 11; + Status status = 13; + uint32 cur_progress = 12; + uint32 id = 14; + uint32 total_progress = 8; + + enum Status { + STATUS_INVALID = 0; + STATUS_UNFINISHED = 1; + STATUS_FINISHED = 2; + STATUS_REWARD_TAKEN = 3; + } +} diff --git a/gate-hk4e-api/proto/AchievementAllDataNotify.pb.go b/gate-hk4e-api/proto/AchievementAllDataNotify.pb.go new file mode 100644 index 00000000..a9bbeacc --- /dev/null +++ b/gate-hk4e-api/proto/AchievementAllDataNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AchievementAllDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2676 +// EnetChannelId: 0 +// EnetIsReliable: true +type AchievementAllDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AchievementList []*Achievement `protobuf:"bytes,4,rep,name=achievement_list,json=achievementList,proto3" json:"achievement_list,omitempty"` + RewardTakenGoalIdList []uint32 `protobuf:"varint,2,rep,packed,name=reward_taken_goal_id_list,json=rewardTakenGoalIdList,proto3" json:"reward_taken_goal_id_list,omitempty"` +} + +func (x *AchievementAllDataNotify) Reset() { + *x = AchievementAllDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AchievementAllDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AchievementAllDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AchievementAllDataNotify) ProtoMessage() {} + +func (x *AchievementAllDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AchievementAllDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AchievementAllDataNotify.ProtoReflect.Descriptor instead. +func (*AchievementAllDataNotify) Descriptor() ([]byte, []int) { + return file_AchievementAllDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AchievementAllDataNotify) GetAchievementList() []*Achievement { + if x != nil { + return x.AchievementList + } + return nil +} + +func (x *AchievementAllDataNotify) GetRewardTakenGoalIdList() []uint32 { + if x != nil { + return x.RewardTakenGoalIdList + } + return nil +} + +var File_AchievementAllDataNotify_proto protoreflect.FileDescriptor + +var file_AchievementAllDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x18, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x37, 0x0a, 0x10, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x41, 0x63, 0x68, + 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x19, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x47, 0x6f, 0x61, 0x6c, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AchievementAllDataNotify_proto_rawDescOnce sync.Once + file_AchievementAllDataNotify_proto_rawDescData = file_AchievementAllDataNotify_proto_rawDesc +) + +func file_AchievementAllDataNotify_proto_rawDescGZIP() []byte { + file_AchievementAllDataNotify_proto_rawDescOnce.Do(func() { + file_AchievementAllDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AchievementAllDataNotify_proto_rawDescData) + }) + return file_AchievementAllDataNotify_proto_rawDescData +} + +var file_AchievementAllDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AchievementAllDataNotify_proto_goTypes = []interface{}{ + (*AchievementAllDataNotify)(nil), // 0: AchievementAllDataNotify + (*Achievement)(nil), // 1: Achievement +} +var file_AchievementAllDataNotify_proto_depIdxs = []int32{ + 1, // 0: AchievementAllDataNotify.achievement_list:type_name -> Achievement + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AchievementAllDataNotify_proto_init() } +func file_AchievementAllDataNotify_proto_init() { + if File_AchievementAllDataNotify_proto != nil { + return + } + file_Achievement_proto_init() + if !protoimpl.UnsafeEnabled { + file_AchievementAllDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AchievementAllDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AchievementAllDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AchievementAllDataNotify_proto_goTypes, + DependencyIndexes: file_AchievementAllDataNotify_proto_depIdxs, + MessageInfos: file_AchievementAllDataNotify_proto_msgTypes, + }.Build() + File_AchievementAllDataNotify_proto = out.File + file_AchievementAllDataNotify_proto_rawDesc = nil + file_AchievementAllDataNotify_proto_goTypes = nil + file_AchievementAllDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AchievementAllDataNotify.proto b/gate-hk4e-api/proto/AchievementAllDataNotify.proto new file mode 100644 index 00000000..3cf29f14 --- /dev/null +++ b/gate-hk4e-api/proto/AchievementAllDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Achievement.proto"; + +option go_package = "./;proto"; + +// CmdId: 2676 +// EnetChannelId: 0 +// EnetIsReliable: true +message AchievementAllDataNotify { + repeated Achievement achievement_list = 4; + repeated uint32 reward_taken_goal_id_list = 2; +} diff --git a/gate-hk4e-api/proto/AchievementUpdateNotify.pb.go b/gate-hk4e-api/proto/AchievementUpdateNotify.pb.go new file mode 100644 index 00000000..19d65895 --- /dev/null +++ b/gate-hk4e-api/proto/AchievementUpdateNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AchievementUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2668 +// EnetChannelId: 0 +// EnetIsReliable: true +type AchievementUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AchievementList []*Achievement `protobuf:"bytes,14,rep,name=achievement_list,json=achievementList,proto3" json:"achievement_list,omitempty"` +} + +func (x *AchievementUpdateNotify) Reset() { + *x = AchievementUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AchievementUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AchievementUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AchievementUpdateNotify) ProtoMessage() {} + +func (x *AchievementUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_AchievementUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AchievementUpdateNotify.ProtoReflect.Descriptor instead. +func (*AchievementUpdateNotify) Descriptor() ([]byte, []int) { + return file_AchievementUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AchievementUpdateNotify) GetAchievementList() []*Achievement { + if x != nil { + return x.AchievementList + } + return nil +} + +var File_AchievementUpdateNotify_proto protoreflect.FileDescriptor + +var file_AchievementUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x17, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x37, 0x0a, + 0x10, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AchievementUpdateNotify_proto_rawDescOnce sync.Once + file_AchievementUpdateNotify_proto_rawDescData = file_AchievementUpdateNotify_proto_rawDesc +) + +func file_AchievementUpdateNotify_proto_rawDescGZIP() []byte { + file_AchievementUpdateNotify_proto_rawDescOnce.Do(func() { + file_AchievementUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AchievementUpdateNotify_proto_rawDescData) + }) + return file_AchievementUpdateNotify_proto_rawDescData +} + +var file_AchievementUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AchievementUpdateNotify_proto_goTypes = []interface{}{ + (*AchievementUpdateNotify)(nil), // 0: AchievementUpdateNotify + (*Achievement)(nil), // 1: Achievement +} +var file_AchievementUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: AchievementUpdateNotify.achievement_list:type_name -> Achievement + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AchievementUpdateNotify_proto_init() } +func file_AchievementUpdateNotify_proto_init() { + if File_AchievementUpdateNotify_proto != nil { + return + } + file_Achievement_proto_init() + if !protoimpl.UnsafeEnabled { + file_AchievementUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AchievementUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AchievementUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AchievementUpdateNotify_proto_goTypes, + DependencyIndexes: file_AchievementUpdateNotify_proto_depIdxs, + MessageInfos: file_AchievementUpdateNotify_proto_msgTypes, + }.Build() + File_AchievementUpdateNotify_proto = out.File + file_AchievementUpdateNotify_proto_rawDesc = nil + file_AchievementUpdateNotify_proto_goTypes = nil + file_AchievementUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AchievementUpdateNotify.proto b/gate-hk4e-api/proto/AchievementUpdateNotify.proto new file mode 100644 index 00000000..e65a54b8 --- /dev/null +++ b/gate-hk4e-api/proto/AchievementUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Achievement.proto"; + +option go_package = "./;proto"; + +// CmdId: 2668 +// EnetChannelId: 0 +// EnetIsReliable: true +message AchievementUpdateNotify { + repeated Achievement achievement_list = 14; +} diff --git a/gate-hk4e-api/proto/ActivityCoinInfoNotify.pb.go b/gate-hk4e-api/proto/ActivityCoinInfoNotify.pb.go new file mode 100644 index 00000000..fbfcac28 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityCoinInfoNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityCoinInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2008 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityCoinInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,8,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ActivityId uint32 `protobuf:"varint,10,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ActivityCoinMap map[uint32]uint32 `protobuf:"bytes,2,rep,name=activity_coin_map,json=activityCoinMap,proto3" json:"activity_coin_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ActivityCoinInfoNotify) Reset() { + *x = ActivityCoinInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityCoinInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityCoinInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityCoinInfoNotify) ProtoMessage() {} + +func (x *ActivityCoinInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityCoinInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityCoinInfoNotify.ProtoReflect.Descriptor instead. +func (*ActivityCoinInfoNotify) Descriptor() ([]byte, []int) { + return file_ActivityCoinInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityCoinInfoNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *ActivityCoinInfoNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityCoinInfoNotify) GetActivityCoinMap() map[uint32]uint32 { + if x != nil { + return x.ActivityCoinMap + } + return nil +} + +var File_ActivityCoinInfoNotify_proto protoreflect.FileDescriptor + +var file_ActivityCoinInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, + 0x01, 0x0a, 0x16, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x11, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x1a, 0x42, 0x0a, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityCoinInfoNotify_proto_rawDescOnce sync.Once + file_ActivityCoinInfoNotify_proto_rawDescData = file_ActivityCoinInfoNotify_proto_rawDesc +) + +func file_ActivityCoinInfoNotify_proto_rawDescGZIP() []byte { + file_ActivityCoinInfoNotify_proto_rawDescOnce.Do(func() { + file_ActivityCoinInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityCoinInfoNotify_proto_rawDescData) + }) + return file_ActivityCoinInfoNotify_proto_rawDescData +} + +var file_ActivityCoinInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ActivityCoinInfoNotify_proto_goTypes = []interface{}{ + (*ActivityCoinInfoNotify)(nil), // 0: ActivityCoinInfoNotify + nil, // 1: ActivityCoinInfoNotify.ActivityCoinMapEntry +} +var file_ActivityCoinInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityCoinInfoNotify.activity_coin_map:type_name -> ActivityCoinInfoNotify.ActivityCoinMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityCoinInfoNotify_proto_init() } +func file_ActivityCoinInfoNotify_proto_init() { + if File_ActivityCoinInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityCoinInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityCoinInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityCoinInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityCoinInfoNotify_proto_goTypes, + DependencyIndexes: file_ActivityCoinInfoNotify_proto_depIdxs, + MessageInfos: file_ActivityCoinInfoNotify_proto_msgTypes, + }.Build() + File_ActivityCoinInfoNotify_proto = out.File + file_ActivityCoinInfoNotify_proto_rawDesc = nil + file_ActivityCoinInfoNotify_proto_goTypes = nil + file_ActivityCoinInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityCoinInfoNotify.proto b/gate-hk4e-api/proto/ActivityCoinInfoNotify.proto new file mode 100644 index 00000000..f171e543 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityCoinInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2008 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityCoinInfoNotify { + uint32 schedule_id = 8; + uint32 activity_id = 10; + map activity_coin_map = 2; +} diff --git a/gate-hk4e-api/proto/ActivityCondStateChangeNotify.pb.go b/gate-hk4e-api/proto/ActivityCondStateChangeNotify.pb.go new file mode 100644 index 00000000..ab9cce73 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityCondStateChangeNotify.pb.go @@ -0,0 +1,224 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityCondStateChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2140 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityCondStateChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivatedSaleIdList []uint32 `protobuf:"varint,9,rep,packed,name=activated_sale_id_list,json=activatedSaleIdList,proto3" json:"activated_sale_id_list,omitempty"` + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ExpireCondList []uint32 `protobuf:"varint,11,rep,packed,name=expire_cond_list,json=expireCondList,proto3" json:"expire_cond_list,omitempty"` + DisableTransferPointInteractionList []*Uint32Pair `protobuf:"bytes,12,rep,name=disable_transfer_point_interaction_list,json=disableTransferPointInteractionList,proto3" json:"disable_transfer_point_interaction_list,omitempty"` + MeetCondList []uint32 `protobuf:"varint,1,rep,packed,name=meet_cond_list,json=meetCondList,proto3" json:"meet_cond_list,omitempty"` +} + +func (x *ActivityCondStateChangeNotify) Reset() { + *x = ActivityCondStateChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityCondStateChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityCondStateChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityCondStateChangeNotify) ProtoMessage() {} + +func (x *ActivityCondStateChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityCondStateChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityCondStateChangeNotify.ProtoReflect.Descriptor instead. +func (*ActivityCondStateChangeNotify) Descriptor() ([]byte, []int) { + return file_ActivityCondStateChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityCondStateChangeNotify) GetActivatedSaleIdList() []uint32 { + if x != nil { + return x.ActivatedSaleIdList + } + return nil +} + +func (x *ActivityCondStateChangeNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityCondStateChangeNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *ActivityCondStateChangeNotify) GetExpireCondList() []uint32 { + if x != nil { + return x.ExpireCondList + } + return nil +} + +func (x *ActivityCondStateChangeNotify) GetDisableTransferPointInteractionList() []*Uint32Pair { + if x != nil { + return x.DisableTransferPointInteractionList + } + return nil +} + +func (x *ActivityCondStateChangeNotify) GetMeetCondList() []uint32 { + if x != nil { + return x.MeetCondList + } + return nil +} + +var File_ActivityCondStateChangeNotify_proto protoreflect.FileDescriptor + +var file_ActivityCondStateChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x02, 0x0a, 0x1d, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x16, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x27, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, + 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, 0x23, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0e, 0x6d, 0x65, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityCondStateChangeNotify_proto_rawDescOnce sync.Once + file_ActivityCondStateChangeNotify_proto_rawDescData = file_ActivityCondStateChangeNotify_proto_rawDesc +) + +func file_ActivityCondStateChangeNotify_proto_rawDescGZIP() []byte { + file_ActivityCondStateChangeNotify_proto_rawDescOnce.Do(func() { + file_ActivityCondStateChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityCondStateChangeNotify_proto_rawDescData) + }) + return file_ActivityCondStateChangeNotify_proto_rawDescData +} + +var file_ActivityCondStateChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityCondStateChangeNotify_proto_goTypes = []interface{}{ + (*ActivityCondStateChangeNotify)(nil), // 0: ActivityCondStateChangeNotify + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_ActivityCondStateChangeNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityCondStateChangeNotify.disable_transfer_point_interaction_list:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityCondStateChangeNotify_proto_init() } +func file_ActivityCondStateChangeNotify_proto_init() { + if File_ActivityCondStateChangeNotify_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityCondStateChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityCondStateChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityCondStateChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityCondStateChangeNotify_proto_goTypes, + DependencyIndexes: file_ActivityCondStateChangeNotify_proto_depIdxs, + MessageInfos: file_ActivityCondStateChangeNotify_proto_msgTypes, + }.Build() + File_ActivityCondStateChangeNotify_proto = out.File + file_ActivityCondStateChangeNotify_proto_rawDesc = nil + file_ActivityCondStateChangeNotify_proto_goTypes = nil + file_ActivityCondStateChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityCondStateChangeNotify.proto b/gate-hk4e-api/proto/ActivityCondStateChangeNotify.proto new file mode 100644 index 00000000..0b5bf38b --- /dev/null +++ b/gate-hk4e-api/proto/ActivityCondStateChangeNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +// CmdId: 2140 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityCondStateChangeNotify { + repeated uint32 activated_sale_id_list = 9; + uint32 activity_id = 4; + uint32 schedule_id = 5; + repeated uint32 expire_cond_list = 11; + repeated Uint32Pair disable_transfer_point_interaction_list = 12; + repeated uint32 meet_cond_list = 1; +} diff --git a/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.pb.go b/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.pb.go new file mode 100644 index 00000000..59ad4c1b --- /dev/null +++ b/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityDisableTransferPointInteractionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8982 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityDisableTransferPointInteractionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDisable bool `protobuf:"varint,10,opt,name=is_disable,json=isDisable,proto3" json:"is_disable,omitempty"` + ScenePointPair *Uint32Pair `protobuf:"bytes,5,opt,name=scene_point_pair,json=scenePointPair,proto3" json:"scene_point_pair,omitempty"` +} + +func (x *ActivityDisableTransferPointInteractionNotify) Reset() { + *x = ActivityDisableTransferPointInteractionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityDisableTransferPointInteractionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityDisableTransferPointInteractionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityDisableTransferPointInteractionNotify) ProtoMessage() {} + +func (x *ActivityDisableTransferPointInteractionNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityDisableTransferPointInteractionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityDisableTransferPointInteractionNotify.ProtoReflect.Descriptor instead. +func (*ActivityDisableTransferPointInteractionNotify) Descriptor() ([]byte, []int) { + return file_ActivityDisableTransferPointInteractionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityDisableTransferPointInteractionNotify) GetIsDisable() bool { + if x != nil { + return x.IsDisable + } + return false +} + +func (x *ActivityDisableTransferPointInteractionNotify) GetScenePointPair() *Uint32Pair { + if x != nil { + return x.ScenePointPair + } + return nil +} + +var File_ActivityDisableTransferPointInteractionNotify_proto protoreflect.FileDescriptor + +var file_ActivityDisableTransferPointInteractionNotify_proto_rawDesc = []byte{ + 0x0a, 0x33, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x2d, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, + 0x73, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, + 0x0e, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x69, 0x72, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityDisableTransferPointInteractionNotify_proto_rawDescOnce sync.Once + file_ActivityDisableTransferPointInteractionNotify_proto_rawDescData = file_ActivityDisableTransferPointInteractionNotify_proto_rawDesc +) + +func file_ActivityDisableTransferPointInteractionNotify_proto_rawDescGZIP() []byte { + file_ActivityDisableTransferPointInteractionNotify_proto_rawDescOnce.Do(func() { + file_ActivityDisableTransferPointInteractionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityDisableTransferPointInteractionNotify_proto_rawDescData) + }) + return file_ActivityDisableTransferPointInteractionNotify_proto_rawDescData +} + +var file_ActivityDisableTransferPointInteractionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityDisableTransferPointInteractionNotify_proto_goTypes = []interface{}{ + (*ActivityDisableTransferPointInteractionNotify)(nil), // 0: ActivityDisableTransferPointInteractionNotify + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_ActivityDisableTransferPointInteractionNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityDisableTransferPointInteractionNotify.scene_point_pair:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityDisableTransferPointInteractionNotify_proto_init() } +func file_ActivityDisableTransferPointInteractionNotify_proto_init() { + if File_ActivityDisableTransferPointInteractionNotify_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityDisableTransferPointInteractionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityDisableTransferPointInteractionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityDisableTransferPointInteractionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityDisableTransferPointInteractionNotify_proto_goTypes, + DependencyIndexes: file_ActivityDisableTransferPointInteractionNotify_proto_depIdxs, + MessageInfos: file_ActivityDisableTransferPointInteractionNotify_proto_msgTypes, + }.Build() + File_ActivityDisableTransferPointInteractionNotify_proto = out.File + file_ActivityDisableTransferPointInteractionNotify_proto_rawDesc = nil + file_ActivityDisableTransferPointInteractionNotify_proto_goTypes = nil + file_ActivityDisableTransferPointInteractionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.proto b/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.proto new file mode 100644 index 00000000..73d1e4d9 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityDisableTransferPointInteractionNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +// CmdId: 8982 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityDisableTransferPointInteractionNotify { + bool is_disable = 10; + Uint32Pair scene_point_pair = 5; +} diff --git a/gate-hk4e-api/proto/ActivityInfo.pb.go b/gate-hk4e-api/proto/ActivityInfo.pb.go new file mode 100644 index 00000000..4fe98cb1 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityInfo.pb.go @@ -0,0 +1,1785 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsPlayOpenAnim bool `protobuf:"varint,13,opt,name=is_play_open_anim,json=isPlayOpenAnim,proto3" json:"is_play_open_anim,omitempty"` + ScheduleId uint32 `protobuf:"varint,15,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + CurScore uint32 `protobuf:"varint,1906,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + IsStarting bool `protobuf:"varint,9,opt,name=is_starting,json=isStarting,proto3" json:"is_starting,omitempty"` + TakenRewardList []uint32 `protobuf:"varint,329,rep,packed,name=taken_reward_list,json=takenRewardList,proto3" json:"taken_reward_list,omitempty"` + Unk2700_NONJFHAIFLA bool `protobuf:"varint,102,opt,name=Unk2700_NONJFHAIFLA,json=Unk2700NONJFHAIFLA,proto3" json:"Unk2700_NONJFHAIFLA,omitempty"` + SelectedAvatarRewardId uint32 `protobuf:"varint,1290,opt,name=selected_avatar_reward_id,json=selectedAvatarRewardId,proto3" json:"selected_avatar_reward_id,omitempty"` + FirstDayStartTime uint32 `protobuf:"varint,592,opt,name=first_day_start_time,json=firstDayStartTime,proto3" json:"first_day_start_time,omitempty"` + ScoreLimit uint32 `protobuf:"varint,1958,opt,name=score_limit,json=scoreLimit,proto3" json:"score_limit,omitempty"` + IsFinished bool `protobuf:"varint,6,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + IsHidden bool `protobuf:"varint,919,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` + BeginTime uint32 `protobuf:"varint,8,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + EndTime uint32 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + ActivityCoinMap map[uint32]uint32 `protobuf:"bytes,682,rep,name=activity_coin_map,json=activityCoinMap,proto3" json:"activity_coin_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ActivityType uint32 `protobuf:"varint,4,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` + Unk2700_EDKLLHBEEGE bool `protobuf:"varint,1449,opt,name=Unk2700_EDKLLHBEEGE,json=Unk2700EDKLLHBEEGE,proto3" json:"Unk2700_EDKLLHBEEGE,omitempty"` + Unk2800_KOMIPKKKOBE []*Unk2800_PHPHMILPOLC `protobuf:"bytes,864,rep,name=Unk2800_KOMIPKKKOBE,json=Unk2800KOMIPKKKOBE,proto3" json:"Unk2800_KOMIPKKKOBE,omitempty"` + MeetCondList []uint32 `protobuf:"varint,10,rep,packed,name=meet_cond_list,json=meetCondList,proto3" json:"meet_cond_list,omitempty"` + Unk2700_IFPBCNLCKLG map[uint32]uint32 `protobuf:"bytes,1399,rep,name=Unk2700_IFPBCNLCKLG,json=Unk2700IFPBCNLCKLG,proto3" json:"Unk2700_IFPBCNLCKLG,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ExpireCondList []uint32 `protobuf:"varint,3,rep,packed,name=expire_cond_list,json=expireCondList,proto3" json:"expire_cond_list,omitempty"` + WatcherInfoList []*ActivityWatcherInfo `protobuf:"bytes,2,rep,name=watcher_info_list,json=watcherInfoList,proto3" json:"watcher_info_list,omitempty"` + ActivityId uint32 `protobuf:"varint,12,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + // Types that are assignable to Detail: + // *ActivityInfo_SamLampInfo + // *ActivityInfo_CrucibleInfo + // *ActivityInfo_SalesmanInfo + // *ActivityInfo_TrialAvatarInfo + // *ActivityInfo_DeliveryInfo + // *ActivityInfo_AsterInfo + // *ActivityInfo_FlightInfo + // *ActivityInfo_DragonSpineInfo + // *ActivityInfo_EffigyInfo + // *ActivityInfo_TreasureMapInfo + // *ActivityInfo_BlessingInfo + // *ActivityInfo_SeaLampInfo + // *ActivityInfo_ExpeditionInfo + // *ActivityInfo_ArenaChallengeInfo + // *ActivityInfo_FleurFairInfo + // *ActivityInfo_WaterSpiritInfo + // *ActivityInfo_ChannelerSlabInfo + // *ActivityInfo_MistTrialActivityInfo + // *ActivityInfo_HideAndSeekInfo + // *ActivityInfo_FindHilichurlInfo + // *ActivityInfo_SummerTimeInfo + // *ActivityInfo_BuoyantCombatInfo + // *ActivityInfo_EchoShellInfo + // *ActivityInfo_BounceConjuringInfo + // *ActivityInfo_BlitzRushInfo + // *ActivityInfo_ChessInfo + // *ActivityInfo_SumoInfo + // *ActivityInfo_MoonfinTrialInfo + // *ActivityInfo_LunaRiteInfo + // *ActivityInfo_PlantFlowerInfo + // *ActivityInfo_MusicGameInfo + // *ActivityInfo_RoguelikeDungeonInfo + // *ActivityInfo_DigInfo + // *ActivityInfo_HachiInfo + // *ActivityInfo_WinterCampInfo + // *ActivityInfo_PotionInfo + // *ActivityInfo_TanukiTravelActivityInfo + // *ActivityInfo_LanternRiteActivityInfo + // *ActivityInfo_MichiaeMatsuriInfo + // *ActivityInfo_BartenderInfo + // *ActivityInfo_UgcInfo + // *ActivityInfo_CrystalLinkInfo + // *ActivityInfo_IrodoriInfo + // *ActivityInfo_PhotoInfo + // *ActivityInfo_SpiceInfo + // *ActivityInfo_GachaInfo + // *ActivityInfo_LuminanceStoneChallengeInfo + // *ActivityInfo_RogueDiaryInfo + // *ActivityInfo_SummerTimeV2Info + // *ActivityInfo_IslandPartyInfo + // *ActivityInfo_GearInfo + // *ActivityInfo_GravenInnocenceInfo + // *ActivityInfo_InstableSprayInfo + // *ActivityInfo_MuqadasPotionInfo + // *ActivityInfo_TreasureSeelieInfo + Detail isActivityInfo_Detail `protobuf_oneof:"detail"` +} + +func (x *ActivityInfo) Reset() { + *x = ActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityInfo) ProtoMessage() {} + +func (x *ActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_ActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityInfo.ProtoReflect.Descriptor instead. +func (*ActivityInfo) Descriptor() ([]byte, []int) { + return file_ActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityInfo) GetIsPlayOpenAnim() bool { + if x != nil { + return x.IsPlayOpenAnim + } + return false +} + +func (x *ActivityInfo) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *ActivityInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *ActivityInfo) GetIsStarting() bool { + if x != nil { + return x.IsStarting + } + return false +} + +func (x *ActivityInfo) GetTakenRewardList() []uint32 { + if x != nil { + return x.TakenRewardList + } + return nil +} + +func (x *ActivityInfo) GetUnk2700_NONJFHAIFLA() bool { + if x != nil { + return x.Unk2700_NONJFHAIFLA + } + return false +} + +func (x *ActivityInfo) GetSelectedAvatarRewardId() uint32 { + if x != nil { + return x.SelectedAvatarRewardId + } + return 0 +} + +func (x *ActivityInfo) GetFirstDayStartTime() uint32 { + if x != nil { + return x.FirstDayStartTime + } + return 0 +} + +func (x *ActivityInfo) GetScoreLimit() uint32 { + if x != nil { + return x.ScoreLimit + } + return 0 +} + +func (x *ActivityInfo) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *ActivityInfo) GetIsHidden() bool { + if x != nil { + return x.IsHidden + } + return false +} + +func (x *ActivityInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *ActivityInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *ActivityInfo) GetActivityCoinMap() map[uint32]uint32 { + if x != nil { + return x.ActivityCoinMap + } + return nil +} + +func (x *ActivityInfo) GetActivityType() uint32 { + if x != nil { + return x.ActivityType + } + return 0 +} + +func (x *ActivityInfo) GetUnk2700_EDKLLHBEEGE() bool { + if x != nil { + return x.Unk2700_EDKLLHBEEGE + } + return false +} + +func (x *ActivityInfo) GetUnk2800_KOMIPKKKOBE() []*Unk2800_PHPHMILPOLC { + if x != nil { + return x.Unk2800_KOMIPKKKOBE + } + return nil +} + +func (x *ActivityInfo) GetMeetCondList() []uint32 { + if x != nil { + return x.MeetCondList + } + return nil +} + +func (x *ActivityInfo) GetUnk2700_IFPBCNLCKLG() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFPBCNLCKLG + } + return nil +} + +func (x *ActivityInfo) GetExpireCondList() []uint32 { + if x != nil { + return x.ExpireCondList + } + return nil +} + +func (x *ActivityInfo) GetWatcherInfoList() []*ActivityWatcherInfo { + if x != nil { + return x.WatcherInfoList + } + return nil +} + +func (x *ActivityInfo) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (m *ActivityInfo) GetDetail() isActivityInfo_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *ActivityInfo) GetSamLampInfo() *SeaLampActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SamLampInfo); ok { + return x.SamLampInfo + } + return nil +} + +func (x *ActivityInfo) GetCrucibleInfo() *CrucibleActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_CrucibleInfo); ok { + return x.CrucibleInfo + } + return nil +} + +func (x *ActivityInfo) GetSalesmanInfo() *SalesmanActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SalesmanInfo); ok { + return x.SalesmanInfo + } + return nil +} + +func (x *ActivityInfo) GetTrialAvatarInfo() *TrialAvatarActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_TrialAvatarInfo); ok { + return x.TrialAvatarInfo + } + return nil +} + +func (x *ActivityInfo) GetDeliveryInfo() *DeliveryActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_DeliveryInfo); ok { + return x.DeliveryInfo + } + return nil +} + +func (x *ActivityInfo) GetAsterInfo() *AsterActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_AsterInfo); ok { + return x.AsterInfo + } + return nil +} + +func (x *ActivityInfo) GetFlightInfo() *FlightActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_FlightInfo); ok { + return x.FlightInfo + } + return nil +} + +func (x *ActivityInfo) GetDragonSpineInfo() *DragonSpineActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_DragonSpineInfo); ok { + return x.DragonSpineInfo + } + return nil +} + +func (x *ActivityInfo) GetEffigyInfo() *EffigyActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_EffigyInfo); ok { + return x.EffigyInfo + } + return nil +} + +func (x *ActivityInfo) GetTreasureMapInfo() *TreasureMapActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_TreasureMapInfo); ok { + return x.TreasureMapInfo + } + return nil +} + +func (x *ActivityInfo) GetBlessingInfo() *BlessingActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_BlessingInfo); ok { + return x.BlessingInfo + } + return nil +} + +func (x *ActivityInfo) GetSeaLampInfo() *SeaLampActivityInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SeaLampInfo); ok { + return x.SeaLampInfo + } + return nil +} + +func (x *ActivityInfo) GetExpeditionInfo() *ExpeditionActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_ExpeditionInfo); ok { + return x.ExpeditionInfo + } + return nil +} + +func (x *ActivityInfo) GetArenaChallengeInfo() *ArenaChallengeActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_ArenaChallengeInfo); ok { + return x.ArenaChallengeInfo + } + return nil +} + +func (x *ActivityInfo) GetFleurFairInfo() *FleurFairActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_FleurFairInfo); ok { + return x.FleurFairInfo + } + return nil +} + +func (x *ActivityInfo) GetWaterSpiritInfo() *WaterSpiritActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_WaterSpiritInfo); ok { + return x.WaterSpiritInfo + } + return nil +} + +func (x *ActivityInfo) GetChannelerSlabInfo() *ChannelerSlabActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_ChannelerSlabInfo); ok { + return x.ChannelerSlabInfo + } + return nil +} + +func (x *ActivityInfo) GetMistTrialActivityInfo() *MistTrialActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_MistTrialActivityInfo); ok { + return x.MistTrialActivityInfo + } + return nil +} + +func (x *ActivityInfo) GetHideAndSeekInfo() *HideAndSeekActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_HideAndSeekInfo); ok { + return x.HideAndSeekInfo + } + return nil +} + +func (x *ActivityInfo) GetFindHilichurlInfo() *FindHilichurlDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_FindHilichurlInfo); ok { + return x.FindHilichurlInfo + } + return nil +} + +func (x *ActivityInfo) GetSummerTimeInfo() *SummerTimeDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SummerTimeInfo); ok { + return x.SummerTimeInfo + } + return nil +} + +func (x *ActivityInfo) GetBuoyantCombatInfo() *BuoyantCombatDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_BuoyantCombatInfo); ok { + return x.BuoyantCombatInfo + } + return nil +} + +func (x *ActivityInfo) GetEchoShellInfo() *EchoShellDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_EchoShellInfo); ok { + return x.EchoShellInfo + } + return nil +} + +func (x *ActivityInfo) GetBounceConjuringInfo() *BounceConjuringActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_BounceConjuringInfo); ok { + return x.BounceConjuringInfo + } + return nil +} + +func (x *ActivityInfo) GetBlitzRushInfo() *BlitzRushActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_BlitzRushInfo); ok { + return x.BlitzRushInfo + } + return nil +} + +func (x *ActivityInfo) GetChessInfo() *ChessActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_ChessInfo); ok { + return x.ChessInfo + } + return nil +} + +func (x *ActivityInfo) GetSumoInfo() *SumoActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SumoInfo); ok { + return x.SumoInfo + } + return nil +} + +func (x *ActivityInfo) GetMoonfinTrialInfo() *MoonfinTrialActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_MoonfinTrialInfo); ok { + return x.MoonfinTrialInfo + } + return nil +} + +func (x *ActivityInfo) GetLunaRiteInfo() *LunaRiteDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_LunaRiteInfo); ok { + return x.LunaRiteInfo + } + return nil +} + +func (x *ActivityInfo) GetPlantFlowerInfo() *PlantFlowerActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_PlantFlowerInfo); ok { + return x.PlantFlowerInfo + } + return nil +} + +func (x *ActivityInfo) GetMusicGameInfo() *MusicGameActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_MusicGameInfo); ok { + return x.MusicGameInfo + } + return nil +} + +func (x *ActivityInfo) GetRoguelikeDungeonInfo() *RoguelikeDungeonActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_RoguelikeDungeonInfo); ok { + return x.RoguelikeDungeonInfo + } + return nil +} + +func (x *ActivityInfo) GetDigInfo() *DigActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_DigInfo); ok { + return x.DigInfo + } + return nil +} + +func (x *ActivityInfo) GetHachiInfo() *HachiActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_HachiInfo); ok { + return x.HachiInfo + } + return nil +} + +func (x *ActivityInfo) GetWinterCampInfo() *WinterCampActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_WinterCampInfo); ok { + return x.WinterCampInfo + } + return nil +} + +func (x *ActivityInfo) GetPotionInfo() *PotionActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_PotionInfo); ok { + return x.PotionInfo + } + return nil +} + +func (x *ActivityInfo) GetTanukiTravelActivityInfo() *TanukiTravelActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_TanukiTravelActivityInfo); ok { + return x.TanukiTravelActivityInfo + } + return nil +} + +func (x *ActivityInfo) GetLanternRiteActivityInfo() *LanternRiteActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_LanternRiteActivityInfo); ok { + return x.LanternRiteActivityInfo + } + return nil +} + +func (x *ActivityInfo) GetMichiaeMatsuriInfo() *MichiaeMatsuriActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_MichiaeMatsuriInfo); ok { + return x.MichiaeMatsuriInfo + } + return nil +} + +func (x *ActivityInfo) GetBartenderInfo() *BartenderActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_BartenderInfo); ok { + return x.BartenderInfo + } + return nil +} + +func (x *ActivityInfo) GetUgcInfo() *UgcActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_UgcInfo); ok { + return x.UgcInfo + } + return nil +} + +func (x *ActivityInfo) GetCrystalLinkInfo() *CrystalLinkActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_CrystalLinkInfo); ok { + return x.CrystalLinkInfo + } + return nil +} + +func (x *ActivityInfo) GetIrodoriInfo() *IrodoriActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_IrodoriInfo); ok { + return x.IrodoriInfo + } + return nil +} + +func (x *ActivityInfo) GetPhotoInfo() *PhotoActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_PhotoInfo); ok { + return x.PhotoInfo + } + return nil +} + +func (x *ActivityInfo) GetSpiceInfo() *SpiceActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SpiceInfo); ok { + return x.SpiceInfo + } + return nil +} + +func (x *ActivityInfo) GetGachaInfo() *GachaActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_GachaInfo); ok { + return x.GachaInfo + } + return nil +} + +func (x *ActivityInfo) GetLuminanceStoneChallengeInfo() *LuminanceStoneChallengeActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_LuminanceStoneChallengeInfo); ok { + return x.LuminanceStoneChallengeInfo + } + return nil +} + +func (x *ActivityInfo) GetRogueDiaryInfo() *RogueDiaryActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_RogueDiaryInfo); ok { + return x.RogueDiaryInfo + } + return nil +} + +func (x *ActivityInfo) GetSummerTimeV2Info() *SummerTimeV2DetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_SummerTimeV2Info); ok { + return x.SummerTimeV2Info + } + return nil +} + +func (x *ActivityInfo) GetIslandPartyInfo() *IslandPartyActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_IslandPartyInfo); ok { + return x.IslandPartyInfo + } + return nil +} + +func (x *ActivityInfo) GetGearInfo() *GearActivityDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_GearInfo); ok { + return x.GearInfo + } + return nil +} + +func (x *ActivityInfo) GetGravenInnocenceInfo() *GravenInnocenceDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_GravenInnocenceInfo); ok { + return x.GravenInnocenceInfo + } + return nil +} + +func (x *ActivityInfo) GetInstableSprayInfo() *InstableSprayDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_InstableSprayInfo); ok { + return x.InstableSprayInfo + } + return nil +} + +func (x *ActivityInfo) GetMuqadasPotionInfo() *MuqadasPotionDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_MuqadasPotionInfo); ok { + return x.MuqadasPotionInfo + } + return nil +} + +func (x *ActivityInfo) GetTreasureSeelieInfo() *TreasureSeelieDetailInfo { + if x, ok := x.GetDetail().(*ActivityInfo_TreasureSeelieInfo); ok { + return x.TreasureSeelieInfo + } + return nil +} + +type isActivityInfo_Detail interface { + isActivityInfo_Detail() +} + +type ActivityInfo_SamLampInfo struct { + SamLampInfo *SeaLampActivityDetailInfo `protobuf:"bytes,7,opt,name=sam_lamp_info,json=samLampInfo,proto3,oneof"` +} + +type ActivityInfo_CrucibleInfo struct { + CrucibleInfo *CrucibleActivityDetailInfo `protobuf:"bytes,14,opt,name=crucible_info,json=crucibleInfo,proto3,oneof"` +} + +type ActivityInfo_SalesmanInfo struct { + SalesmanInfo *SalesmanActivityDetailInfo `protobuf:"bytes,11,opt,name=salesman_info,json=salesmanInfo,proto3,oneof"` +} + +type ActivityInfo_TrialAvatarInfo struct { + TrialAvatarInfo *TrialAvatarActivityDetailInfo `protobuf:"bytes,1,opt,name=trial_avatar_info,json=trialAvatarInfo,proto3,oneof"` +} + +type ActivityInfo_DeliveryInfo struct { + DeliveryInfo *DeliveryActivityDetailInfo `protobuf:"bytes,1092,opt,name=delivery_info,json=deliveryInfo,proto3,oneof"` +} + +type ActivityInfo_AsterInfo struct { + AsterInfo *AsterActivityDetailInfo `protobuf:"bytes,557,opt,name=aster_info,json=asterInfo,proto3,oneof"` +} + +type ActivityInfo_FlightInfo struct { + FlightInfo *FlightActivityDetailInfo `protobuf:"bytes,1365,opt,name=flight_info,json=flightInfo,proto3,oneof"` +} + +type ActivityInfo_DragonSpineInfo struct { + DragonSpineInfo *DragonSpineActivityDetailInfo `protobuf:"bytes,1727,opt,name=dragon_spine_info,json=dragonSpineInfo,proto3,oneof"` +} + +type ActivityInfo_EffigyInfo struct { + EffigyInfo *EffigyActivityDetailInfo `protobuf:"bytes,391,opt,name=effigy_info,json=effigyInfo,proto3,oneof"` +} + +type ActivityInfo_TreasureMapInfo struct { + TreasureMapInfo *TreasureMapActivityDetailInfo `protobuf:"bytes,1114,opt,name=treasure_map_info,json=treasureMapInfo,proto3,oneof"` +} + +type ActivityInfo_BlessingInfo struct { + BlessingInfo *BlessingActivityDetailInfo `protobuf:"bytes,1869,opt,name=blessing_info,json=blessingInfo,proto3,oneof"` +} + +type ActivityInfo_SeaLampInfo struct { + SeaLampInfo *SeaLampActivityInfo `protobuf:"bytes,494,opt,name=sea_lamp_info,json=seaLampInfo,proto3,oneof"` +} + +type ActivityInfo_ExpeditionInfo struct { + ExpeditionInfo *ExpeditionActivityDetailInfo `protobuf:"bytes,202,opt,name=expedition_info,json=expeditionInfo,proto3,oneof"` +} + +type ActivityInfo_ArenaChallengeInfo struct { + ArenaChallengeInfo *ArenaChallengeActivityDetailInfo `protobuf:"bytes,859,opt,name=arena_challenge_info,json=arenaChallengeInfo,proto3,oneof"` +} + +type ActivityInfo_FleurFairInfo struct { + FleurFairInfo *FleurFairActivityDetailInfo `protobuf:"bytes,857,opt,name=fleur_fair_info,json=fleurFairInfo,proto3,oneof"` +} + +type ActivityInfo_WaterSpiritInfo struct { + WaterSpiritInfo *WaterSpiritActivityDetailInfo `protobuf:"bytes,1675,opt,name=water_spirit_info,json=waterSpiritInfo,proto3,oneof"` +} + +type ActivityInfo_ChannelerSlabInfo struct { + ChannelerSlabInfo *ChannelerSlabActivityDetailInfo `protobuf:"bytes,1015,opt,name=channeler_slab_info,json=channelerSlabInfo,proto3,oneof"` +} + +type ActivityInfo_MistTrialActivityInfo struct { + MistTrialActivityInfo *MistTrialActivityDetailInfo `protobuf:"bytes,156,opt,name=mist_trial_activity_info,json=mistTrialActivityInfo,proto3,oneof"` +} + +type ActivityInfo_HideAndSeekInfo struct { + HideAndSeekInfo *HideAndSeekActivityDetailInfo `protobuf:"bytes,427,opt,name=hide_and_seek_info,json=hideAndSeekInfo,proto3,oneof"` +} + +type ActivityInfo_FindHilichurlInfo struct { + FindHilichurlInfo *FindHilichurlDetailInfo `protobuf:"bytes,1411,opt,name=find_hilichurl_info,json=findHilichurlInfo,proto3,oneof"` +} + +type ActivityInfo_SummerTimeInfo struct { + SummerTimeInfo *SummerTimeDetailInfo `protobuf:"bytes,1372,opt,name=summer_time_info,json=summerTimeInfo,proto3,oneof"` +} + +type ActivityInfo_BuoyantCombatInfo struct { + BuoyantCombatInfo *BuoyantCombatDetailInfo `protobuf:"bytes,1842,opt,name=buoyant_combat_info,json=buoyantCombatInfo,proto3,oneof"` +} + +type ActivityInfo_EchoShellInfo struct { + EchoShellInfo *EchoShellDetailInfo `protobuf:"bytes,1113,opt,name=echo_shell_info,json=echoShellInfo,proto3,oneof"` +} + +type ActivityInfo_BounceConjuringInfo struct { + BounceConjuringInfo *BounceConjuringActivityDetailInfo `protobuf:"bytes,767,opt,name=bounce_conjuring_info,json=bounceConjuringInfo,proto3,oneof"` +} + +type ActivityInfo_BlitzRushInfo struct { + BlitzRushInfo *BlitzRushActivityDetailInfo `protobuf:"bytes,794,opt,name=blitz_rush_info,json=blitzRushInfo,proto3,oneof"` +} + +type ActivityInfo_ChessInfo struct { + ChessInfo *ChessActivityDetailInfo `protobuf:"bytes,927,opt,name=chess_info,json=chessInfo,proto3,oneof"` +} + +type ActivityInfo_SumoInfo struct { + SumoInfo *SumoActivityDetailInfo `protobuf:"bytes,1261,opt,name=sumo_info,json=sumoInfo,proto3,oneof"` +} + +type ActivityInfo_MoonfinTrialInfo struct { + MoonfinTrialInfo *MoonfinTrialActivityDetailInfo `protobuf:"bytes,1588,opt,name=moonfin_trial_info,json=moonfinTrialInfo,proto3,oneof"` +} + +type ActivityInfo_LunaRiteInfo struct { + LunaRiteInfo *LunaRiteDetailInfo `protobuf:"bytes,814,opt,name=luna_rite_info,json=lunaRiteInfo,proto3,oneof"` +} + +type ActivityInfo_PlantFlowerInfo struct { + PlantFlowerInfo *PlantFlowerActivityDetailInfo `protobuf:"bytes,54,opt,name=plant_flower_info,json=plantFlowerInfo,proto3,oneof"` +} + +type ActivityInfo_MusicGameInfo struct { + MusicGameInfo *MusicGameActivityDetailInfo `protobuf:"bytes,460,opt,name=music_game_info,json=musicGameInfo,proto3,oneof"` +} + +type ActivityInfo_RoguelikeDungeonInfo struct { + RoguelikeDungeonInfo *RoguelikeDungeonActivityDetailInfo `protobuf:"bytes,219,opt,name=roguelike_dungeon_info,json=roguelikeDungeonInfo,proto3,oneof"` +} + +type ActivityInfo_DigInfo struct { + DigInfo *DigActivityDetailInfo `protobuf:"bytes,403,opt,name=dig_info,json=digInfo,proto3,oneof"` +} + +type ActivityInfo_HachiInfo struct { + HachiInfo *HachiActivityDetailInfo `protobuf:"bytes,491,opt,name=hachi_info,json=hachiInfo,proto3,oneof"` +} + +type ActivityInfo_WinterCampInfo struct { + WinterCampInfo *WinterCampActivityDetailInfo `protobuf:"bytes,1083,opt,name=winter_camp_info,json=winterCampInfo,proto3,oneof"` +} + +type ActivityInfo_PotionInfo struct { + PotionInfo *PotionActivityDetailInfo `protobuf:"bytes,1273,opt,name=potion_info,json=potionInfo,proto3,oneof"` +} + +type ActivityInfo_TanukiTravelActivityInfo struct { + TanukiTravelActivityInfo *TanukiTravelActivityDetailInfo `protobuf:"bytes,1796,opt,name=tanuki_travel_activity_info,json=tanukiTravelActivityInfo,proto3,oneof"` +} + +type ActivityInfo_LanternRiteActivityInfo struct { + LanternRiteActivityInfo *LanternRiteActivityDetailInfo `protobuf:"bytes,1876,opt,name=lantern_rite_activity_info,json=lanternRiteActivityInfo,proto3,oneof"` +} + +type ActivityInfo_MichiaeMatsuriInfo struct { + MichiaeMatsuriInfo *MichiaeMatsuriActivityDetailInfo `protobuf:"bytes,194,opt,name=michiae_matsuri_info,json=michiaeMatsuriInfo,proto3,oneof"` +} + +type ActivityInfo_BartenderInfo struct { + BartenderInfo *BartenderActivityDetailInfo `protobuf:"bytes,1725,opt,name=bartender_info,json=bartenderInfo,proto3,oneof"` +} + +type ActivityInfo_UgcInfo struct { + UgcInfo *UgcActivityDetailInfo `protobuf:"bytes,703,opt,name=ugc_info,json=ugcInfo,proto3,oneof"` +} + +type ActivityInfo_CrystalLinkInfo struct { + CrystalLinkInfo *CrystalLinkActivityDetailInfo `protobuf:"bytes,1226,opt,name=crystal_link_info,json=crystalLinkInfo,proto3,oneof"` +} + +type ActivityInfo_IrodoriInfo struct { + IrodoriInfo *IrodoriActivityDetailInfo `protobuf:"bytes,750,opt,name=irodori_info,json=irodoriInfo,proto3,oneof"` +} + +type ActivityInfo_PhotoInfo struct { + PhotoInfo *PhotoActivityDetailInfo `protobuf:"bytes,328,opt,name=photo_info,json=photoInfo,proto3,oneof"` +} + +type ActivityInfo_SpiceInfo struct { + SpiceInfo *SpiceActivityDetailInfo `protobuf:"bytes,1891,opt,name=spice_info,json=spiceInfo,proto3,oneof"` +} + +type ActivityInfo_GachaInfo struct { + GachaInfo *GachaActivityDetailInfo `protobuf:"bytes,825,opt,name=gacha_info,json=gachaInfo,proto3,oneof"` +} + +type ActivityInfo_LuminanceStoneChallengeInfo struct { + LuminanceStoneChallengeInfo *LuminanceStoneChallengeActivityDetailInfo `protobuf:"bytes,1308,opt,name=luminance_stone_challenge_info,json=luminanceStoneChallengeInfo,proto3,oneof"` +} + +type ActivityInfo_RogueDiaryInfo struct { + RogueDiaryInfo *RogueDiaryActivityDetailInfo `protobuf:"bytes,812,opt,name=rogue_diary_info,json=rogueDiaryInfo,proto3,oneof"` +} + +type ActivityInfo_SummerTimeV2Info struct { + SummerTimeV2Info *SummerTimeV2DetailInfo `protobuf:"bytes,622,opt,name=summer_time_v2_info,json=summerTimeV2Info,proto3,oneof"` +} + +type ActivityInfo_IslandPartyInfo struct { + IslandPartyInfo *IslandPartyActivityDetailInfo `protobuf:"bytes,1885,opt,name=island_party_info,json=islandPartyInfo,proto3,oneof"` +} + +type ActivityInfo_GearInfo struct { + GearInfo *GearActivityDetailInfo `protobuf:"bytes,722,opt,name=gear_info,json=gearInfo,proto3,oneof"` +} + +type ActivityInfo_GravenInnocenceInfo struct { + GravenInnocenceInfo *GravenInnocenceDetailInfo `protobuf:"bytes,1911,opt,name=graven_innocence_info,json=gravenInnocenceInfo,proto3,oneof"` +} + +type ActivityInfo_InstableSprayInfo struct { + InstableSprayInfo *InstableSprayDetailInfo `protobuf:"bytes,1043,opt,name=instable_spray_info,json=instableSprayInfo,proto3,oneof"` +} + +type ActivityInfo_MuqadasPotionInfo struct { + MuqadasPotionInfo *MuqadasPotionDetailInfo `protobuf:"bytes,1157,opt,name=muqadas_potion_info,json=muqadasPotionInfo,proto3,oneof"` +} + +type ActivityInfo_TreasureSeelieInfo struct { + TreasureSeelieInfo *TreasureSeelieDetailInfo `protobuf:"bytes,966,opt,name=treasure_seelie_info,json=treasureSeelieInfo,proto3,oneof"` +} + +func (*ActivityInfo_SamLampInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_CrucibleInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SalesmanInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_TrialAvatarInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_DeliveryInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_AsterInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_FlightInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_DragonSpineInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_EffigyInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_TreasureMapInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_BlessingInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SeaLampInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_ExpeditionInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_ArenaChallengeInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_FleurFairInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_WaterSpiritInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_ChannelerSlabInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_MistTrialActivityInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_HideAndSeekInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_FindHilichurlInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SummerTimeInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_BuoyantCombatInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_EchoShellInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_BounceConjuringInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_BlitzRushInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_ChessInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SumoInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_MoonfinTrialInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_LunaRiteInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_PlantFlowerInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_MusicGameInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_RoguelikeDungeonInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_DigInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_HachiInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_WinterCampInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_PotionInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_TanukiTravelActivityInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_LanternRiteActivityInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_MichiaeMatsuriInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_BartenderInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_UgcInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_CrystalLinkInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_IrodoriInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_PhotoInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SpiceInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_GachaInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_LuminanceStoneChallengeInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_RogueDiaryInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_SummerTimeV2Info) isActivityInfo_Detail() {} + +func (*ActivityInfo_IslandPartyInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_GearInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_GravenInnocenceInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_InstableSprayInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_MuqadasPotionInfo) isActivityInfo_Detail() {} + +func (*ActivityInfo_TreasureSeelieInfo) isActivityInfo_Detail() {} + +var File_ActivityInfo_proto protoreflect.FileDescriptor + +var file_ActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x26, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x42, 0x61, 0x72, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x42, 0x6c, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x42, 0x6c, 0x69, + 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, + 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, + 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, + 0x68, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x43, 0x72, + 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, + 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x23, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, + 0x6c, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x22, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, + 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x47, 0x65, 0x61, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x47, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x49, 0x6e, 0x6e, + 0x6f, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x48, 0x61, 0x63, 0x68, 0x69, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, + 0x65, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x49, 0x72, 0x6f, 0x64, 0x6f, + 0x72, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x49, 0x73, 0x6c, 0x61, + 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x23, 0x4c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x69, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, + 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x26, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, + 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x4d, 0x6f, 0x6f, 0x6e, + 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1d, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x21, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x23, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, + 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x53, 0x70, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1a, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x53, + 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x53, 0x75, 0x6d, + 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x54, 0x61, 0x6e, 0x75, 0x6b, + 0x69, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, + 0x65, 0x6c, 0x69, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x55, 0x67, 0x63, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x50, 0x48, 0x50, 0x48, 0x4d, 0x49, 0x4c, 0x50, 0x4f, 0x4c, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x23, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x57, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x61, + 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x28, 0x0a, 0x0c, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x61, 0x6e, 0x69, 0x6d, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x70, + 0x65, 0x6e, 0x41, 0x6e, 0x69, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0xf2, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xc9, 0x02, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x4f, 0x4e, 0x4a, 0x46, 0x48, 0x41, 0x49, 0x46, 0x4c, 0x41, 0x18, 0x66, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x4f, 0x4e, 0x4a, 0x46, 0x48, 0x41, + 0x49, 0x46, 0x4c, 0x41, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x8a, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x12, 0x30, 0x0a, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0xd0, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x44, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0xa6, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x64, 0x64, + 0x65, 0x6e, 0x18, 0x97, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x48, 0x69, 0x64, + 0x64, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, + 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0xaa, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x12, 0x23, + 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x44, 0x4b, 0x4c, 0x4c, 0x48, 0x42, 0x45, 0x45, 0x47, 0x45, 0x18, 0xa9, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x44, 0x4b, 0x4c, 0x4c, 0x48, + 0x42, 0x45, 0x45, 0x47, 0x45, 0x12, 0x46, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x4b, 0x4f, 0x4d, 0x49, 0x50, 0x4b, 0x4b, 0x4b, 0x4f, 0x42, 0x45, 0x18, 0xe0, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x48, + 0x50, 0x48, 0x4d, 0x49, 0x4c, 0x50, 0x4f, 0x4c, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x4b, 0x4f, 0x4d, 0x49, 0x50, 0x4b, 0x4b, 0x4b, 0x4f, 0x42, 0x45, 0x12, 0x24, 0x0a, + 0x0e, 0x6d, 0x65, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x46, 0x50, 0x42, 0x43, 0x4e, 0x4c, 0x43, 0x4b, 0x4c, 0x47, 0x18, 0xf7, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x50, 0x42, 0x43, 0x4e, 0x4c, 0x43, + 0x4b, 0x4c, 0x47, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x49, 0x46, 0x50, 0x42, 0x43, 0x4e, 0x4c, 0x43, 0x4b, 0x4c, 0x47, 0x12, 0x28, 0x0a, 0x10, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x43, 0x6f, + 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x11, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x73, 0x61, 0x6d, + 0x5f, 0x6c, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0b, + 0x73, 0x61, 0x6d, 0x4c, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0d, 0x63, + 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x0c, 0x63, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x42, 0x0a, 0x0d, 0x73, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x4c, 0x0a, 0x11, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x43, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xc4, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x65, 0x6c, 0x69, + 0x76, 0x65, 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xad, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0b, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0xd5, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x46, 0x6c, 0x69, 0x67, 0x68, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x4d, 0x0a, 0x11, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x69, 0x6e, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xbf, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x0f, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x66, 0x66, 0x69, 0x67, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x87, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x66, 0x66, 0x69, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x4d, 0x0a, 0x11, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xda, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x54, 0x72, + 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x74, + 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, + 0x0a, 0x0d, 0x62, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0xcd, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, + 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0d, 0x73, 0x65, 0x61, 0x5f, 0x6c, 0x61, 0x6d, 0x70, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xee, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x65, + 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x49, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x45, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a, 0x14, 0x61, + 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xdb, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x41, 0x72, 0x65, + 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x12, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x0f, 0x66, 0x6c, 0x65, 0x75, 0x72, 0x5f, 0x66, 0x61, 0x69, + 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd9, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x66, + 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x11, + 0x77, 0x61, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x69, 0x72, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x8b, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x57, 0x61, 0x74, 0x65, 0x72, + 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x77, 0x61, 0x74, 0x65, + 0x72, 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x53, 0x0a, 0x13, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x62, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xf7, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x58, 0x0a, 0x18, 0x6d, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x9c, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x15, 0x6d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x12, 0x68, 0x69, + 0x64, 0x65, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x65, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0xab, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, + 0x64, 0x53, 0x65, 0x65, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x41, + 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x13, 0x66, 0x69, + 0x6e, 0x64, 0x5f, 0x68, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x83, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x48, + 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, + 0x75, 0x72, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x10, 0x73, 0x75, 0x6d, 0x6d, 0x65, + 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xdc, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x75, 0x6d, + 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x13, 0x62, + 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xb2, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x42, 0x75, 0x6f, 0x79, + 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x62, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, + 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x0f, 0x65, 0x63, 0x68, 0x6f, + 0x5f, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd9, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x63, 0x68, 0x6f, + 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x15, 0x62, 0x6f, 0x75, + 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xff, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x42, 0x6f, 0x75, 0x6e, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x13, 0x62, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x0f, 0x62, 0x6c, 0x69, 0x74, 0x7a, 0x5f, 0x72, 0x75, + 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x9a, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, + 0x62, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, + 0x0a, 0x63, 0x68, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x9f, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, + 0x63, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x75, 0x6d, + 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xed, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x08, 0x73, 0x75, 0x6d, 0x6f, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x12, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x5f, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xb4, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x00, 0x52, 0x10, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x0e, 0x6c, 0x75, 0x6e, 0x61, 0x5f, 0x72, 0x69, 0x74, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xae, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x6c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x4c, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x47, 0x0a, 0x0f, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xcc, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x75, 0x73, + 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x6d, 0x75, 0x73, 0x69, + 0x63, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5c, 0x0a, 0x16, 0x72, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xdb, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x52, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x14, 0x72, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x08, 0x64, 0x69, 0x67, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x93, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x69, 0x67, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x07, 0x64, 0x69, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, + 0x0a, 0x68, 0x61, 0x63, 0x68, 0x69, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xeb, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x48, 0x61, 0x63, 0x68, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, + 0x68, 0x61, 0x63, 0x68, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4a, 0x0a, 0x10, 0x77, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xbb, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x57, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x61, 0x6d, + 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x77, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x61, 0x6d, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xf9, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x50, 0x6f, + 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x61, 0x0a, 0x1b, 0x74, 0x61, 0x6e, 0x75, 0x6b, 0x69, 0x5f, 0x74, + 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x84, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x54, 0x61, 0x6e, + 0x75, 0x6b, 0x69, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x18, 0x74, + 0x61, 0x6e, 0x75, 0x6b, 0x69, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5e, 0x0a, 0x1a, 0x6c, 0x61, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x5f, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd4, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x4c, + 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x69, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x17, + 0x6c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x69, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a, 0x14, 0x6d, 0x69, 0x63, 0x68, 0x69, + 0x61, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0xc2, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, + 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x69, 0x63, + 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x46, 0x0a, 0x0e, 0x62, 0x61, 0x72, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0xbd, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x42, 0x61, 0x72, 0x74, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x62, 0x61, 0x72, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x08, 0x75, 0x67, 0x63, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xbf, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x55, 0x67, 0x63, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x07, 0x75, 0x67, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, + 0x11, 0x63, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xca, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x43, 0x72, 0x79, 0x73, + 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, 0x79, + 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0c, + 0x69, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xee, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x0b, 0x69, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, + 0x0a, 0x0a, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc8, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x09, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x73, 0x70, + 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xe3, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x53, 0x70, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x69, + 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xb9, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x47, 0x61, + 0x63, 0x68, 0x61, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x72, 0x0a, 0x1e, 0x6c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, + 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x9c, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x4c, 0x75, + 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x1b, 0x6c, 0x75, 0x6d, 0x69, 0x6e, + 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4a, 0x0a, 0x10, 0x72, 0x6f, 0x67, 0x75, 0x65, 0x5f, + 0x64, 0x69, 0x61, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xac, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x00, 0x52, 0x0e, 0x72, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x13, 0x73, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x76, 0x32, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xee, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x73, 0x75, 0x6d, + 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, + 0x11, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0xdd, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x49, 0x73, 0x6c, 0x61, + 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x73, 0x6c, + 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x09, + 0x67, 0x65, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd2, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x47, 0x65, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x08, 0x67, 0x65, 0x61, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x15, 0x67, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x5f, + 0x69, 0x6e, 0x6e, 0x6f, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xf7, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x47, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x49, 0x6e, + 0x6e, 0x6f, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x13, 0x67, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x49, 0x6e, 0x6e, 0x6f, 0x63, + 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x72, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x93, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x00, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x13, 0x6d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, + 0x5f, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x85, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x11, 0x6d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x14, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x73, + 0x65, 0x65, 0x6c, 0x69, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc6, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, + 0x69, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, + 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x1a, 0x42, 0x0a, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x49, 0x46, 0x50, 0x42, 0x43, 0x4e, 0x4c, 0x43, 0x4b, 0x4c, 0x47, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityInfo_proto_rawDescOnce sync.Once + file_ActivityInfo_proto_rawDescData = file_ActivityInfo_proto_rawDesc +) + +func file_ActivityInfo_proto_rawDescGZIP() []byte { + file_ActivityInfo_proto_rawDescOnce.Do(func() { + file_ActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityInfo_proto_rawDescData) + }) + return file_ActivityInfo_proto_rawDescData +} + +var file_ActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_ActivityInfo_proto_goTypes = []interface{}{ + (*ActivityInfo)(nil), // 0: ActivityInfo + nil, // 1: ActivityInfo.ActivityCoinMapEntry + nil, // 2: ActivityInfo.Unk2700IFPBCNLCKLGEntry + (*Unk2800_PHPHMILPOLC)(nil), // 3: Unk2800_PHPHMILPOLC + (*ActivityWatcherInfo)(nil), // 4: ActivityWatcherInfo + (*SeaLampActivityDetailInfo)(nil), // 5: SeaLampActivityDetailInfo + (*CrucibleActivityDetailInfo)(nil), // 6: CrucibleActivityDetailInfo + (*SalesmanActivityDetailInfo)(nil), // 7: SalesmanActivityDetailInfo + (*TrialAvatarActivityDetailInfo)(nil), // 8: TrialAvatarActivityDetailInfo + (*DeliveryActivityDetailInfo)(nil), // 9: DeliveryActivityDetailInfo + (*AsterActivityDetailInfo)(nil), // 10: AsterActivityDetailInfo + (*FlightActivityDetailInfo)(nil), // 11: FlightActivityDetailInfo + (*DragonSpineActivityDetailInfo)(nil), // 12: DragonSpineActivityDetailInfo + (*EffigyActivityDetailInfo)(nil), // 13: EffigyActivityDetailInfo + (*TreasureMapActivityDetailInfo)(nil), // 14: TreasureMapActivityDetailInfo + (*BlessingActivityDetailInfo)(nil), // 15: BlessingActivityDetailInfo + (*SeaLampActivityInfo)(nil), // 16: SeaLampActivityInfo + (*ExpeditionActivityDetailInfo)(nil), // 17: ExpeditionActivityDetailInfo + (*ArenaChallengeActivityDetailInfo)(nil), // 18: ArenaChallengeActivityDetailInfo + (*FleurFairActivityDetailInfo)(nil), // 19: FleurFairActivityDetailInfo + (*WaterSpiritActivityDetailInfo)(nil), // 20: WaterSpiritActivityDetailInfo + (*ChannelerSlabActivityDetailInfo)(nil), // 21: ChannelerSlabActivityDetailInfo + (*MistTrialActivityDetailInfo)(nil), // 22: MistTrialActivityDetailInfo + (*HideAndSeekActivityDetailInfo)(nil), // 23: HideAndSeekActivityDetailInfo + (*FindHilichurlDetailInfo)(nil), // 24: FindHilichurlDetailInfo + (*SummerTimeDetailInfo)(nil), // 25: SummerTimeDetailInfo + (*BuoyantCombatDetailInfo)(nil), // 26: BuoyantCombatDetailInfo + (*EchoShellDetailInfo)(nil), // 27: EchoShellDetailInfo + (*BounceConjuringActivityDetailInfo)(nil), // 28: BounceConjuringActivityDetailInfo + (*BlitzRushActivityDetailInfo)(nil), // 29: BlitzRushActivityDetailInfo + (*ChessActivityDetailInfo)(nil), // 30: ChessActivityDetailInfo + (*SumoActivityDetailInfo)(nil), // 31: SumoActivityDetailInfo + (*MoonfinTrialActivityDetailInfo)(nil), // 32: MoonfinTrialActivityDetailInfo + (*LunaRiteDetailInfo)(nil), // 33: LunaRiteDetailInfo + (*PlantFlowerActivityDetailInfo)(nil), // 34: PlantFlowerActivityDetailInfo + (*MusicGameActivityDetailInfo)(nil), // 35: MusicGameActivityDetailInfo + (*RoguelikeDungeonActivityDetailInfo)(nil), // 36: RoguelikeDungeonActivityDetailInfo + (*DigActivityDetailInfo)(nil), // 37: DigActivityDetailInfo + (*HachiActivityDetailInfo)(nil), // 38: HachiActivityDetailInfo + (*WinterCampActivityDetailInfo)(nil), // 39: WinterCampActivityDetailInfo + (*PotionActivityDetailInfo)(nil), // 40: PotionActivityDetailInfo + (*TanukiTravelActivityDetailInfo)(nil), // 41: TanukiTravelActivityDetailInfo + (*LanternRiteActivityDetailInfo)(nil), // 42: LanternRiteActivityDetailInfo + (*MichiaeMatsuriActivityDetailInfo)(nil), // 43: MichiaeMatsuriActivityDetailInfo + (*BartenderActivityDetailInfo)(nil), // 44: BartenderActivityDetailInfo + (*UgcActivityDetailInfo)(nil), // 45: UgcActivityDetailInfo + (*CrystalLinkActivityDetailInfo)(nil), // 46: CrystalLinkActivityDetailInfo + (*IrodoriActivityDetailInfo)(nil), // 47: IrodoriActivityDetailInfo + (*PhotoActivityDetailInfo)(nil), // 48: PhotoActivityDetailInfo + (*SpiceActivityDetailInfo)(nil), // 49: SpiceActivityDetailInfo + (*GachaActivityDetailInfo)(nil), // 50: GachaActivityDetailInfo + (*LuminanceStoneChallengeActivityDetailInfo)(nil), // 51: LuminanceStoneChallengeActivityDetailInfo + (*RogueDiaryActivityDetailInfo)(nil), // 52: RogueDiaryActivityDetailInfo + (*SummerTimeV2DetailInfo)(nil), // 53: SummerTimeV2DetailInfo + (*IslandPartyActivityDetailInfo)(nil), // 54: IslandPartyActivityDetailInfo + (*GearActivityDetailInfo)(nil), // 55: GearActivityDetailInfo + (*GravenInnocenceDetailInfo)(nil), // 56: GravenInnocenceDetailInfo + (*InstableSprayDetailInfo)(nil), // 57: InstableSprayDetailInfo + (*MuqadasPotionDetailInfo)(nil), // 58: MuqadasPotionDetailInfo + (*TreasureSeelieDetailInfo)(nil), // 59: TreasureSeelieDetailInfo +} +var file_ActivityInfo_proto_depIdxs = []int32{ + 1, // 0: ActivityInfo.activity_coin_map:type_name -> ActivityInfo.ActivityCoinMapEntry + 3, // 1: ActivityInfo.Unk2800_KOMIPKKKOBE:type_name -> Unk2800_PHPHMILPOLC + 2, // 2: ActivityInfo.Unk2700_IFPBCNLCKLG:type_name -> ActivityInfo.Unk2700IFPBCNLCKLGEntry + 4, // 3: ActivityInfo.watcher_info_list:type_name -> ActivityWatcherInfo + 5, // 4: ActivityInfo.sam_lamp_info:type_name -> SeaLampActivityDetailInfo + 6, // 5: ActivityInfo.crucible_info:type_name -> CrucibleActivityDetailInfo + 7, // 6: ActivityInfo.salesman_info:type_name -> SalesmanActivityDetailInfo + 8, // 7: ActivityInfo.trial_avatar_info:type_name -> TrialAvatarActivityDetailInfo + 9, // 8: ActivityInfo.delivery_info:type_name -> DeliveryActivityDetailInfo + 10, // 9: ActivityInfo.aster_info:type_name -> AsterActivityDetailInfo + 11, // 10: ActivityInfo.flight_info:type_name -> FlightActivityDetailInfo + 12, // 11: ActivityInfo.dragon_spine_info:type_name -> DragonSpineActivityDetailInfo + 13, // 12: ActivityInfo.effigy_info:type_name -> EffigyActivityDetailInfo + 14, // 13: ActivityInfo.treasure_map_info:type_name -> TreasureMapActivityDetailInfo + 15, // 14: ActivityInfo.blessing_info:type_name -> BlessingActivityDetailInfo + 16, // 15: ActivityInfo.sea_lamp_info:type_name -> SeaLampActivityInfo + 17, // 16: ActivityInfo.expedition_info:type_name -> ExpeditionActivityDetailInfo + 18, // 17: ActivityInfo.arena_challenge_info:type_name -> ArenaChallengeActivityDetailInfo + 19, // 18: ActivityInfo.fleur_fair_info:type_name -> FleurFairActivityDetailInfo + 20, // 19: ActivityInfo.water_spirit_info:type_name -> WaterSpiritActivityDetailInfo + 21, // 20: ActivityInfo.channeler_slab_info:type_name -> ChannelerSlabActivityDetailInfo + 22, // 21: ActivityInfo.mist_trial_activity_info:type_name -> MistTrialActivityDetailInfo + 23, // 22: ActivityInfo.hide_and_seek_info:type_name -> HideAndSeekActivityDetailInfo + 24, // 23: ActivityInfo.find_hilichurl_info:type_name -> FindHilichurlDetailInfo + 25, // 24: ActivityInfo.summer_time_info:type_name -> SummerTimeDetailInfo + 26, // 25: ActivityInfo.buoyant_combat_info:type_name -> BuoyantCombatDetailInfo + 27, // 26: ActivityInfo.echo_shell_info:type_name -> EchoShellDetailInfo + 28, // 27: ActivityInfo.bounce_conjuring_info:type_name -> BounceConjuringActivityDetailInfo + 29, // 28: ActivityInfo.blitz_rush_info:type_name -> BlitzRushActivityDetailInfo + 30, // 29: ActivityInfo.chess_info:type_name -> ChessActivityDetailInfo + 31, // 30: ActivityInfo.sumo_info:type_name -> SumoActivityDetailInfo + 32, // 31: ActivityInfo.moonfin_trial_info:type_name -> MoonfinTrialActivityDetailInfo + 33, // 32: ActivityInfo.luna_rite_info:type_name -> LunaRiteDetailInfo + 34, // 33: ActivityInfo.plant_flower_info:type_name -> PlantFlowerActivityDetailInfo + 35, // 34: ActivityInfo.music_game_info:type_name -> MusicGameActivityDetailInfo + 36, // 35: ActivityInfo.roguelike_dungeon_info:type_name -> RoguelikeDungeonActivityDetailInfo + 37, // 36: ActivityInfo.dig_info:type_name -> DigActivityDetailInfo + 38, // 37: ActivityInfo.hachi_info:type_name -> HachiActivityDetailInfo + 39, // 38: ActivityInfo.winter_camp_info:type_name -> WinterCampActivityDetailInfo + 40, // 39: ActivityInfo.potion_info:type_name -> PotionActivityDetailInfo + 41, // 40: ActivityInfo.tanuki_travel_activity_info:type_name -> TanukiTravelActivityDetailInfo + 42, // 41: ActivityInfo.lantern_rite_activity_info:type_name -> LanternRiteActivityDetailInfo + 43, // 42: ActivityInfo.michiae_matsuri_info:type_name -> MichiaeMatsuriActivityDetailInfo + 44, // 43: ActivityInfo.bartender_info:type_name -> BartenderActivityDetailInfo + 45, // 44: ActivityInfo.ugc_info:type_name -> UgcActivityDetailInfo + 46, // 45: ActivityInfo.crystal_link_info:type_name -> CrystalLinkActivityDetailInfo + 47, // 46: ActivityInfo.irodori_info:type_name -> IrodoriActivityDetailInfo + 48, // 47: ActivityInfo.photo_info:type_name -> PhotoActivityDetailInfo + 49, // 48: ActivityInfo.spice_info:type_name -> SpiceActivityDetailInfo + 50, // 49: ActivityInfo.gacha_info:type_name -> GachaActivityDetailInfo + 51, // 50: ActivityInfo.luminance_stone_challenge_info:type_name -> LuminanceStoneChallengeActivityDetailInfo + 52, // 51: ActivityInfo.rogue_diary_info:type_name -> RogueDiaryActivityDetailInfo + 53, // 52: ActivityInfo.summer_time_v2_info:type_name -> SummerTimeV2DetailInfo + 54, // 53: ActivityInfo.island_party_info:type_name -> IslandPartyActivityDetailInfo + 55, // 54: ActivityInfo.gear_info:type_name -> GearActivityDetailInfo + 56, // 55: ActivityInfo.graven_innocence_info:type_name -> GravenInnocenceDetailInfo + 57, // 56: ActivityInfo.instable_spray_info:type_name -> InstableSprayDetailInfo + 58, // 57: ActivityInfo.muqadas_potion_info:type_name -> MuqadasPotionDetailInfo + 59, // 58: ActivityInfo.treasure_seelie_info:type_name -> TreasureSeelieDetailInfo + 59, // [59:59] is the sub-list for method output_type + 59, // [59:59] is the sub-list for method input_type + 59, // [59:59] is the sub-list for extension type_name + 59, // [59:59] is the sub-list for extension extendee + 0, // [0:59] is the sub-list for field type_name +} + +func init() { file_ActivityInfo_proto_init() } +func file_ActivityInfo_proto_init() { + if File_ActivityInfo_proto != nil { + return + } + file_ActivityWatcherInfo_proto_init() + file_ArenaChallengeActivityDetailInfo_proto_init() + file_AsterActivityDetailInfo_proto_init() + file_BartenderActivityDetailInfo_proto_init() + file_BlessingActivityDetailInfo_proto_init() + file_BlitzRushActivityDetailInfo_proto_init() + file_BounceConjuringActivityDetailInfo_proto_init() + file_BuoyantCombatDetailInfo_proto_init() + file_ChannelerSlabActivityDetailInfo_proto_init() + file_ChessActivityDetailInfo_proto_init() + file_CrucibleActivityDetailInfo_proto_init() + file_CrystalLinkActivityDetailInfo_proto_init() + file_DeliveryActivityDetailInfo_proto_init() + file_DigActivityDetailInfo_proto_init() + file_DragonSpineActivityDetailInfo_proto_init() + file_EchoShellDetailInfo_proto_init() + file_EffigyActivityDetailInfo_proto_init() + file_ExpeditionActivityDetailInfo_proto_init() + file_FindHilichurlDetailInfo_proto_init() + file_FleurFairActivityDetailInfo_proto_init() + file_FlightActivityDetailInfo_proto_init() + file_GachaActivityDetailInfo_proto_init() + file_GearActivityDetailInfo_proto_init() + file_GravenInnocenceDetailInfo_proto_init() + file_HachiActivityDetailInfo_proto_init() + file_HideAndSeekActivityDetailInfo_proto_init() + file_InstableSprayDetailInfo_proto_init() + file_IrodoriActivityDetailInfo_proto_init() + file_IslandPartyActivityDetailInfo_proto_init() + file_LanternRiteActivityDetailInfo_proto_init() + file_LuminanceStoneChallengeActivityDetailInfo_proto_init() + file_LunaRiteDetailInfo_proto_init() + file_MichiaeMatsuriActivityDetailInfo_proto_init() + file_MistTrialActivityDetailInfo_proto_init() + file_MoonfinTrialActivityDetailInfo_proto_init() + file_MuqadasPotionDetailInfo_proto_init() + file_MusicGameActivityDetailInfo_proto_init() + file_PhotoActivityDetailInfo_proto_init() + file_PlantFlowerActivityDetailInfo_proto_init() + file_PotionActivityDetailInfo_proto_init() + file_RogueDiaryActivityDetailInfo_proto_init() + file_RoguelikeDungeonActivityDetailInfo_proto_init() + file_SalesmanActivityDetailInfo_proto_init() + file_SeaLampActivityDetailInfo_proto_init() + file_SeaLampActivityInfo_proto_init() + file_SpiceActivityDetailInfo_proto_init() + file_SummerTimeDetailInfo_proto_init() + file_SummerTimeV2DetailInfo_proto_init() + file_SumoActivityDetailInfo_proto_init() + file_TanukiTravelActivityDetailInfo_proto_init() + file_TreasureMapActivityDetailInfo_proto_init() + file_TreasureSeelieDetailInfo_proto_init() + file_TrialAvatarActivityDetailInfo_proto_init() + file_UgcActivityDetailInfo_proto_init() + file_Unk2800_PHPHMILPOLC_proto_init() + file_WaterSpiritActivityDetailInfo_proto_init() + file_WinterCampActivityDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ActivityInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ActivityInfo_SamLampInfo)(nil), + (*ActivityInfo_CrucibleInfo)(nil), + (*ActivityInfo_SalesmanInfo)(nil), + (*ActivityInfo_TrialAvatarInfo)(nil), + (*ActivityInfo_DeliveryInfo)(nil), + (*ActivityInfo_AsterInfo)(nil), + (*ActivityInfo_FlightInfo)(nil), + (*ActivityInfo_DragonSpineInfo)(nil), + (*ActivityInfo_EffigyInfo)(nil), + (*ActivityInfo_TreasureMapInfo)(nil), + (*ActivityInfo_BlessingInfo)(nil), + (*ActivityInfo_SeaLampInfo)(nil), + (*ActivityInfo_ExpeditionInfo)(nil), + (*ActivityInfo_ArenaChallengeInfo)(nil), + (*ActivityInfo_FleurFairInfo)(nil), + (*ActivityInfo_WaterSpiritInfo)(nil), + (*ActivityInfo_ChannelerSlabInfo)(nil), + (*ActivityInfo_MistTrialActivityInfo)(nil), + (*ActivityInfo_HideAndSeekInfo)(nil), + (*ActivityInfo_FindHilichurlInfo)(nil), + (*ActivityInfo_SummerTimeInfo)(nil), + (*ActivityInfo_BuoyantCombatInfo)(nil), + (*ActivityInfo_EchoShellInfo)(nil), + (*ActivityInfo_BounceConjuringInfo)(nil), + (*ActivityInfo_BlitzRushInfo)(nil), + (*ActivityInfo_ChessInfo)(nil), + (*ActivityInfo_SumoInfo)(nil), + (*ActivityInfo_MoonfinTrialInfo)(nil), + (*ActivityInfo_LunaRiteInfo)(nil), + (*ActivityInfo_PlantFlowerInfo)(nil), + (*ActivityInfo_MusicGameInfo)(nil), + (*ActivityInfo_RoguelikeDungeonInfo)(nil), + (*ActivityInfo_DigInfo)(nil), + (*ActivityInfo_HachiInfo)(nil), + (*ActivityInfo_WinterCampInfo)(nil), + (*ActivityInfo_PotionInfo)(nil), + (*ActivityInfo_TanukiTravelActivityInfo)(nil), + (*ActivityInfo_LanternRiteActivityInfo)(nil), + (*ActivityInfo_MichiaeMatsuriInfo)(nil), + (*ActivityInfo_BartenderInfo)(nil), + (*ActivityInfo_UgcInfo)(nil), + (*ActivityInfo_CrystalLinkInfo)(nil), + (*ActivityInfo_IrodoriInfo)(nil), + (*ActivityInfo_PhotoInfo)(nil), + (*ActivityInfo_SpiceInfo)(nil), + (*ActivityInfo_GachaInfo)(nil), + (*ActivityInfo_LuminanceStoneChallengeInfo)(nil), + (*ActivityInfo_RogueDiaryInfo)(nil), + (*ActivityInfo_SummerTimeV2Info)(nil), + (*ActivityInfo_IslandPartyInfo)(nil), + (*ActivityInfo_GearInfo)(nil), + (*ActivityInfo_GravenInnocenceInfo)(nil), + (*ActivityInfo_InstableSprayInfo)(nil), + (*ActivityInfo_MuqadasPotionInfo)(nil), + (*ActivityInfo_TreasureSeelieInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityInfo_proto_goTypes, + DependencyIndexes: file_ActivityInfo_proto_depIdxs, + MessageInfos: file_ActivityInfo_proto_msgTypes, + }.Build() + File_ActivityInfo_proto = out.File + file_ActivityInfo_proto_rawDesc = nil + file_ActivityInfo_proto_goTypes = nil + file_ActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityInfo.proto b/gate-hk4e-api/proto/ActivityInfo.proto new file mode 100644 index 00000000..3d2b0a35 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityInfo.proto @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityWatcherInfo.proto"; +import "ArenaChallengeActivityDetailInfo.proto"; +import "AsterActivityDetailInfo.proto"; +import "BartenderActivityDetailInfo.proto"; +import "BlessingActivityDetailInfo.proto"; +import "BlitzRushActivityDetailInfo.proto"; +import "BounceConjuringActivityDetailInfo.proto"; +import "BuoyantCombatDetailInfo.proto"; +import "ChannelerSlabActivityDetailInfo.proto"; +import "ChessActivityDetailInfo.proto"; +import "CrucibleActivityDetailInfo.proto"; +import "CrystalLinkActivityDetailInfo.proto"; +import "DeliveryActivityDetailInfo.proto"; +import "DigActivityDetailInfo.proto"; +import "DragonSpineActivityDetailInfo.proto"; +import "EchoShellDetailInfo.proto"; +import "EffigyActivityDetailInfo.proto"; +import "ExpeditionActivityDetailInfo.proto"; +import "FindHilichurlDetailInfo.proto"; +import "FleurFairActivityDetailInfo.proto"; +import "FlightActivityDetailInfo.proto"; +import "GachaActivityDetailInfo.proto"; +import "GearActivityDetailInfo.proto"; +import "GravenInnocenceDetailInfo.proto"; +import "HachiActivityDetailInfo.proto"; +import "HideAndSeekActivityDetailInfo.proto"; +import "InstableSprayDetailInfo.proto"; +import "IrodoriActivityDetailInfo.proto"; +import "IslandPartyActivityDetailInfo.proto"; +import "LanternRiteActivityDetailInfo.proto"; +import "LuminanceStoneChallengeActivityDetailInfo.proto"; +import "LunaRiteDetailInfo.proto"; +import "MichiaeMatsuriActivityDetailInfo.proto"; +import "MistTrialActivityDetailInfo.proto"; +import "MoonfinTrialActivityDetailInfo.proto"; +import "MuqadasPotionDetailInfo.proto"; +import "MusicGameActivityDetailInfo.proto"; +import "PhotoActivityDetailInfo.proto"; +import "PlantFlowerActivityDetailInfo.proto"; +import "PotionActivityDetailInfo.proto"; +import "RogueDiaryActivityDetailInfo.proto"; +import "RoguelikeDungeonActivityDetailInfo.proto"; +import "SalesmanActivityDetailInfo.proto"; +import "SeaLampActivityDetailInfo.proto"; +import "SeaLampActivityInfo.proto"; +import "SpiceActivityDetailInfo.proto"; +import "SummerTimeDetailInfo.proto"; +import "SummerTimeV2DetailInfo.proto"; +import "SumoActivityDetailInfo.proto"; +import "TanukiTravelActivityDetailInfo.proto"; +import "TreasureMapActivityDetailInfo.proto"; +import "TreasureSeelieDetailInfo.proto"; +import "TrialAvatarActivityDetailInfo.proto"; +import "UgcActivityDetailInfo.proto"; +import "Unk2800_PHPHMILPOLC.proto"; +import "WaterSpiritActivityDetailInfo.proto"; +import "WinterCampActivityDetailInfo.proto"; + +option go_package = "./;proto"; + +message ActivityInfo { + bool is_play_open_anim = 13; + uint32 schedule_id = 15; + uint32 cur_score = 1906; + bool is_starting = 9; + repeated uint32 taken_reward_list = 329; + bool Unk2700_NONJFHAIFLA = 102; + uint32 selected_avatar_reward_id = 1290; + uint32 first_day_start_time = 592; + uint32 score_limit = 1958; + bool is_finished = 6; + bool is_hidden = 919; + uint32 begin_time = 8; + uint32 end_time = 5; + map activity_coin_map = 682; + uint32 activity_type = 4; + bool Unk2700_EDKLLHBEEGE = 1449; + repeated Unk2800_PHPHMILPOLC Unk2800_KOMIPKKKOBE = 864; + repeated uint32 meet_cond_list = 10; + map Unk2700_IFPBCNLCKLG = 1399; + repeated uint32 expire_cond_list = 3; + repeated ActivityWatcherInfo watcher_info_list = 2; + uint32 activity_id = 12; + oneof detail { + SeaLampActivityDetailInfo sam_lamp_info = 7; + CrucibleActivityDetailInfo crucible_info = 14; + SalesmanActivityDetailInfo salesman_info = 11; + TrialAvatarActivityDetailInfo trial_avatar_info = 1; + DeliveryActivityDetailInfo delivery_info = 1092; + AsterActivityDetailInfo aster_info = 557; + FlightActivityDetailInfo flight_info = 1365; + DragonSpineActivityDetailInfo dragon_spine_info = 1727; + EffigyActivityDetailInfo effigy_info = 391; + TreasureMapActivityDetailInfo treasure_map_info = 1114; + BlessingActivityDetailInfo blessing_info = 1869; + SeaLampActivityInfo sea_lamp_info = 494; + ExpeditionActivityDetailInfo expedition_info = 202; + ArenaChallengeActivityDetailInfo arena_challenge_info = 859; + FleurFairActivityDetailInfo fleur_fair_info = 857; + WaterSpiritActivityDetailInfo water_spirit_info = 1675; + ChannelerSlabActivityDetailInfo channeler_slab_info = 1015; + MistTrialActivityDetailInfo mist_trial_activity_info = 156; + HideAndSeekActivityDetailInfo hide_and_seek_info = 427; + FindHilichurlDetailInfo find_hilichurl_info = 1411; + SummerTimeDetailInfo summer_time_info = 1372; + BuoyantCombatDetailInfo buoyant_combat_info = 1842; + EchoShellDetailInfo echo_shell_info = 1113; + BounceConjuringActivityDetailInfo bounce_conjuring_info = 767; + BlitzRushActivityDetailInfo blitz_rush_info = 794; + ChessActivityDetailInfo chess_info = 927; + SumoActivityDetailInfo sumo_info = 1261; + MoonfinTrialActivityDetailInfo moonfin_trial_info = 1588; + LunaRiteDetailInfo luna_rite_info = 814; + PlantFlowerActivityDetailInfo plant_flower_info = 54; + MusicGameActivityDetailInfo music_game_info = 460; + RoguelikeDungeonActivityDetailInfo roguelike_dungeon_info = 219; + DigActivityDetailInfo dig_info = 403; + HachiActivityDetailInfo hachi_info = 491; + WinterCampActivityDetailInfo winter_camp_info = 1083; + PotionActivityDetailInfo potion_info = 1273; + TanukiTravelActivityDetailInfo tanuki_travel_activity_info = 1796; + LanternRiteActivityDetailInfo lantern_rite_activity_info = 1876; + MichiaeMatsuriActivityDetailInfo michiae_matsuri_info = 194; + BartenderActivityDetailInfo bartender_info = 1725; + UgcActivityDetailInfo ugc_info = 703; + CrystalLinkActivityDetailInfo crystal_link_info = 1226; + IrodoriActivityDetailInfo irodori_info = 750; + PhotoActivityDetailInfo photo_info = 328; + SpiceActivityDetailInfo spice_info = 1891; + GachaActivityDetailInfo gacha_info = 825; + LuminanceStoneChallengeActivityDetailInfo luminance_stone_challenge_info = 1308; + RogueDiaryActivityDetailInfo rogue_diary_info = 812; + SummerTimeV2DetailInfo summer_time_v2_info = 622; + IslandPartyActivityDetailInfo island_party_info = 1885; + GearActivityDetailInfo gear_info = 722; + GravenInnocenceDetailInfo graven_innocence_info = 1911; + InstableSprayDetailInfo instable_spray_info = 1043; + MuqadasPotionDetailInfo muqadas_potion_info = 1157; + TreasureSeelieDetailInfo treasure_seelie_info = 966; + } +} diff --git a/gate-hk4e-api/proto/ActivityInfoNotify.pb.go b/gate-hk4e-api/proto/ActivityInfoNotify.pb.go new file mode 100644 index 00000000..41829c83 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2060 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityInfo *ActivityInfo `protobuf:"bytes,9,opt,name=activity_info,json=activityInfo,proto3" json:"activity_info,omitempty"` +} + +func (x *ActivityInfoNotify) Reset() { + *x = ActivityInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityInfoNotify) ProtoMessage() {} + +func (x *ActivityInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityInfoNotify.ProtoReflect.Descriptor instead. +func (*ActivityInfoNotify) Descriptor() ([]byte, []int) { + return file_ActivityInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityInfoNotify) GetActivityInfo() *ActivityInfo { + if x != nil { + return x.ActivityInfo + } + return nil +} + +var File_ActivityInfoNotify_proto protoreflect.FileDescriptor + +var file_ActivityInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, + 0x0a, 0x12, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x32, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityInfoNotify_proto_rawDescOnce sync.Once + file_ActivityInfoNotify_proto_rawDescData = file_ActivityInfoNotify_proto_rawDesc +) + +func file_ActivityInfoNotify_proto_rawDescGZIP() []byte { + file_ActivityInfoNotify_proto_rawDescOnce.Do(func() { + file_ActivityInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityInfoNotify_proto_rawDescData) + }) + return file_ActivityInfoNotify_proto_rawDescData +} + +var file_ActivityInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityInfoNotify_proto_goTypes = []interface{}{ + (*ActivityInfoNotify)(nil), // 0: ActivityInfoNotify + (*ActivityInfo)(nil), // 1: ActivityInfo +} +var file_ActivityInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityInfoNotify.activity_info:type_name -> ActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityInfoNotify_proto_init() } +func file_ActivityInfoNotify_proto_init() { + if File_ActivityInfoNotify_proto != nil { + return + } + file_ActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityInfoNotify_proto_goTypes, + DependencyIndexes: file_ActivityInfoNotify_proto_depIdxs, + MessageInfos: file_ActivityInfoNotify_proto_msgTypes, + }.Build() + File_ActivityInfoNotify_proto = out.File + file_ActivityInfoNotify_proto_rawDesc = nil + file_ActivityInfoNotify_proto_goTypes = nil + file_ActivityInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityInfoNotify.proto b/gate-hk4e-api/proto/ActivityInfoNotify.proto new file mode 100644 index 00000000..2d3c9039 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2060 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityInfoNotify { + ActivityInfo activity_info = 9; +} diff --git a/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.pb.go b/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.pb.go new file mode 100644 index 00000000..2db8c33a --- /dev/null +++ b/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityPlayOpenAnimNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2157 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityPlayOpenAnimNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,8,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityPlayOpenAnimNotify) Reset() { + *x = ActivityPlayOpenAnimNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityPlayOpenAnimNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityPlayOpenAnimNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityPlayOpenAnimNotify) ProtoMessage() {} + +func (x *ActivityPlayOpenAnimNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityPlayOpenAnimNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityPlayOpenAnimNotify.ProtoReflect.Descriptor instead. +func (*ActivityPlayOpenAnimNotify) Descriptor() ([]byte, []int) { + return file_ActivityPlayOpenAnimNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityPlayOpenAnimNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityPlayOpenAnimNotify_proto protoreflect.FileDescriptor + +var file_ActivityPlayOpenAnimNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x70, + 0x65, 0x6e, 0x41, 0x6e, 0x69, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x6c, + 0x61, 0x79, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x6e, 0x69, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityPlayOpenAnimNotify_proto_rawDescOnce sync.Once + file_ActivityPlayOpenAnimNotify_proto_rawDescData = file_ActivityPlayOpenAnimNotify_proto_rawDesc +) + +func file_ActivityPlayOpenAnimNotify_proto_rawDescGZIP() []byte { + file_ActivityPlayOpenAnimNotify_proto_rawDescOnce.Do(func() { + file_ActivityPlayOpenAnimNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityPlayOpenAnimNotify_proto_rawDescData) + }) + return file_ActivityPlayOpenAnimNotify_proto_rawDescData +} + +var file_ActivityPlayOpenAnimNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityPlayOpenAnimNotify_proto_goTypes = []interface{}{ + (*ActivityPlayOpenAnimNotify)(nil), // 0: ActivityPlayOpenAnimNotify +} +var file_ActivityPlayOpenAnimNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityPlayOpenAnimNotify_proto_init() } +func file_ActivityPlayOpenAnimNotify_proto_init() { + if File_ActivityPlayOpenAnimNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityPlayOpenAnimNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityPlayOpenAnimNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityPlayOpenAnimNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityPlayOpenAnimNotify_proto_goTypes, + DependencyIndexes: file_ActivityPlayOpenAnimNotify_proto_depIdxs, + MessageInfos: file_ActivityPlayOpenAnimNotify_proto_msgTypes, + }.Build() + File_ActivityPlayOpenAnimNotify_proto = out.File + file_ActivityPlayOpenAnimNotify_proto_rawDesc = nil + file_ActivityPlayOpenAnimNotify_proto_goTypes = nil + file_ActivityPlayOpenAnimNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.proto b/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.proto new file mode 100644 index 00000000..52caa0ed --- /dev/null +++ b/gate-hk4e-api/proto/ActivityPlayOpenAnimNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2157 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityPlayOpenAnimNotify { + uint32 activity_id = 8; +} diff --git a/gate-hk4e-api/proto/ActivitySaleChangeNotify.pb.go b/gate-hk4e-api/proto/ActivitySaleChangeNotify.pb.go new file mode 100644 index 00000000..798b54d7 --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySaleChangeNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivitySaleChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2071 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivitySaleChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SaleId uint32 `protobuf:"varint,5,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"` + IsClose bool `protobuf:"varint,1,opt,name=is_close,json=isClose,proto3" json:"is_close,omitempty"` +} + +func (x *ActivitySaleChangeNotify) Reset() { + *x = ActivitySaleChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivitySaleChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivitySaleChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivitySaleChangeNotify) ProtoMessage() {} + +func (x *ActivitySaleChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivitySaleChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivitySaleChangeNotify.ProtoReflect.Descriptor instead. +func (*ActivitySaleChangeNotify) Descriptor() ([]byte, []int) { + return file_ActivitySaleChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivitySaleChangeNotify) GetSaleId() uint32 { + if x != nil { + return x.SaleId + } + return 0 +} + +func (x *ActivitySaleChangeNotify) GetIsClose() bool { + if x != nil { + return x.IsClose + } + return false +} + +var File_ActivitySaleChangeNotify_proto protoreflect.FileDescriptor + +var file_ActivitySaleChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x61, 0x6c, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4e, 0x0a, 0x18, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x61, 0x6c, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x73, 0x61, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, + 0x61, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x6f, 0x73, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivitySaleChangeNotify_proto_rawDescOnce sync.Once + file_ActivitySaleChangeNotify_proto_rawDescData = file_ActivitySaleChangeNotify_proto_rawDesc +) + +func file_ActivitySaleChangeNotify_proto_rawDescGZIP() []byte { + file_ActivitySaleChangeNotify_proto_rawDescOnce.Do(func() { + file_ActivitySaleChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivitySaleChangeNotify_proto_rawDescData) + }) + return file_ActivitySaleChangeNotify_proto_rawDescData +} + +var file_ActivitySaleChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivitySaleChangeNotify_proto_goTypes = []interface{}{ + (*ActivitySaleChangeNotify)(nil), // 0: ActivitySaleChangeNotify +} +var file_ActivitySaleChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivitySaleChangeNotify_proto_init() } +func file_ActivitySaleChangeNotify_proto_init() { + if File_ActivitySaleChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivitySaleChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivitySaleChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivitySaleChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivitySaleChangeNotify_proto_goTypes, + DependencyIndexes: file_ActivitySaleChangeNotify_proto_depIdxs, + MessageInfos: file_ActivitySaleChangeNotify_proto_msgTypes, + }.Build() + File_ActivitySaleChangeNotify_proto = out.File + file_ActivitySaleChangeNotify_proto_rawDesc = nil + file_ActivitySaleChangeNotify_proto_goTypes = nil + file_ActivitySaleChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivitySaleChangeNotify.proto b/gate-hk4e-api/proto/ActivitySaleChangeNotify.proto new file mode 100644 index 00000000..310e7408 --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySaleChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2071 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivitySaleChangeNotify { + uint32 sale_id = 5; + bool is_close = 1; +} diff --git a/gate-hk4e-api/proto/ActivityScheduleInfo.pb.go b/gate-hk4e-api/proto/ActivityScheduleInfo.pb.go new file mode 100644 index 00000000..7de8c189 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityScheduleInfo.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityScheduleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ActivityScheduleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + IsOpen bool `protobuf:"varint,2,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + ActivityId uint32 `protobuf:"varint,14,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + EndTime uint32 `protobuf:"varint,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + BeginTime uint32 `protobuf:"varint,10,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *ActivityScheduleInfo) Reset() { + *x = ActivityScheduleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityScheduleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityScheduleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityScheduleInfo) ProtoMessage() {} + +func (x *ActivityScheduleInfo) ProtoReflect() protoreflect.Message { + mi := &file_ActivityScheduleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityScheduleInfo.ProtoReflect.Descriptor instead. +func (*ActivityScheduleInfo) Descriptor() ([]byte, []int) { + return file_ActivityScheduleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityScheduleInfo) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *ActivityScheduleInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *ActivityScheduleInfo) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityScheduleInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *ActivityScheduleInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_ActivityScheduleInfo_proto protoreflect.FileDescriptor + +var file_ActivityScheduleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x01, 0x0a, + 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityScheduleInfo_proto_rawDescOnce sync.Once + file_ActivityScheduleInfo_proto_rawDescData = file_ActivityScheduleInfo_proto_rawDesc +) + +func file_ActivityScheduleInfo_proto_rawDescGZIP() []byte { + file_ActivityScheduleInfo_proto_rawDescOnce.Do(func() { + file_ActivityScheduleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityScheduleInfo_proto_rawDescData) + }) + return file_ActivityScheduleInfo_proto_rawDescData +} + +var file_ActivityScheduleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityScheduleInfo_proto_goTypes = []interface{}{ + (*ActivityScheduleInfo)(nil), // 0: ActivityScheduleInfo +} +var file_ActivityScheduleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityScheduleInfo_proto_init() } +func file_ActivityScheduleInfo_proto_init() { + if File_ActivityScheduleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityScheduleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityScheduleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityScheduleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityScheduleInfo_proto_goTypes, + DependencyIndexes: file_ActivityScheduleInfo_proto_depIdxs, + MessageInfos: file_ActivityScheduleInfo_proto_msgTypes, + }.Build() + File_ActivityScheduleInfo_proto = out.File + file_ActivityScheduleInfo_proto_rawDesc = nil + file_ActivityScheduleInfo_proto_goTypes = nil + file_ActivityScheduleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityScheduleInfo.proto b/gate-hk4e-api/proto/ActivityScheduleInfo.proto new file mode 100644 index 00000000..789c29d0 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityScheduleInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ActivityScheduleInfo { + uint32 schedule_id = 13; + bool is_open = 2; + uint32 activity_id = 14; + uint32 end_time = 1; + uint32 begin_time = 10; +} diff --git a/gate-hk4e-api/proto/ActivityScheduleInfoNotify.pb.go b/gate-hk4e-api/proto/ActivityScheduleInfoNotify.pb.go new file mode 100644 index 00000000..8ed4ba45 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityScheduleInfoNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityScheduleInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityScheduleInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityScheduleList []*ActivityScheduleInfo `protobuf:"bytes,12,rep,name=activity_schedule_list,json=activityScheduleList,proto3" json:"activity_schedule_list,omitempty"` + RemainFlySeaLampNum uint32 `protobuf:"varint,6,opt,name=remain_fly_sea_lamp_num,json=remainFlySeaLampNum,proto3" json:"remain_fly_sea_lamp_num,omitempty"` +} + +func (x *ActivityScheduleInfoNotify) Reset() { + *x = ActivityScheduleInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityScheduleInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityScheduleInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityScheduleInfoNotify) ProtoMessage() {} + +func (x *ActivityScheduleInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityScheduleInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityScheduleInfoNotify.ProtoReflect.Descriptor instead. +func (*ActivityScheduleInfoNotify) Descriptor() ([]byte, []int) { + return file_ActivityScheduleInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityScheduleInfoNotify) GetActivityScheduleList() []*ActivityScheduleInfo { + if x != nil { + return x.ActivityScheduleList + } + return nil +} + +func (x *ActivityScheduleInfoNotify) GetRemainFlySeaLampNum() uint32 { + if x != nil { + return x.RemainFlySeaLampNum + } + return 0 +} + +var File_ActivityScheduleInfoNotify_proto protoreflect.FileDescriptor + +var file_ActivityScheduleInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, + 0x01, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4b, 0x0a, + 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x17, 0x72, 0x65, + 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x6c, 0x79, 0x5f, 0x73, 0x65, 0x61, 0x5f, 0x6c, 0x61, 0x6d, + 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72, 0x65, 0x6d, + 0x61, 0x69, 0x6e, 0x46, 0x6c, 0x79, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x4e, 0x75, 0x6d, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityScheduleInfoNotify_proto_rawDescOnce sync.Once + file_ActivityScheduleInfoNotify_proto_rawDescData = file_ActivityScheduleInfoNotify_proto_rawDesc +) + +func file_ActivityScheduleInfoNotify_proto_rawDescGZIP() []byte { + file_ActivityScheduleInfoNotify_proto_rawDescOnce.Do(func() { + file_ActivityScheduleInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityScheduleInfoNotify_proto_rawDescData) + }) + return file_ActivityScheduleInfoNotify_proto_rawDescData +} + +var file_ActivityScheduleInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityScheduleInfoNotify_proto_goTypes = []interface{}{ + (*ActivityScheduleInfoNotify)(nil), // 0: ActivityScheduleInfoNotify + (*ActivityScheduleInfo)(nil), // 1: ActivityScheduleInfo +} +var file_ActivityScheduleInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityScheduleInfoNotify.activity_schedule_list:type_name -> ActivityScheduleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityScheduleInfoNotify_proto_init() } +func file_ActivityScheduleInfoNotify_proto_init() { + if File_ActivityScheduleInfoNotify_proto != nil { + return + } + file_ActivityScheduleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityScheduleInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityScheduleInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityScheduleInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityScheduleInfoNotify_proto_goTypes, + DependencyIndexes: file_ActivityScheduleInfoNotify_proto_depIdxs, + MessageInfos: file_ActivityScheduleInfoNotify_proto_msgTypes, + }.Build() + File_ActivityScheduleInfoNotify_proto = out.File + file_ActivityScheduleInfoNotify_proto_rawDesc = nil + file_ActivityScheduleInfoNotify_proto_goTypes = nil + file_ActivityScheduleInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityScheduleInfoNotify.proto b/gate-hk4e-api/proto/ActivityScheduleInfoNotify.proto new file mode 100644 index 00000000..cf4beb90 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityScheduleInfoNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityScheduleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityScheduleInfoNotify { + repeated ActivityScheduleInfo activity_schedule_list = 12; + uint32 remain_fly_sea_lamp_num = 6; +} diff --git a/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.pb.go b/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.pb.go new file mode 100644 index 00000000..68213a1b --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivitySelectAvatarCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2028 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivitySelectAvatarCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,15,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + RewardId uint32 `protobuf:"varint,10,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *ActivitySelectAvatarCardReq) Reset() { + *x = ActivitySelectAvatarCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivitySelectAvatarCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivitySelectAvatarCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivitySelectAvatarCardReq) ProtoMessage() {} + +func (x *ActivitySelectAvatarCardReq) ProtoReflect() protoreflect.Message { + mi := &file_ActivitySelectAvatarCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivitySelectAvatarCardReq.ProtoReflect.Descriptor instead. +func (*ActivitySelectAvatarCardReq) Descriptor() ([]byte, []int) { + return file_ActivitySelectAvatarCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivitySelectAvatarCardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivitySelectAvatarCardReq) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_ActivitySelectAvatarCardReq_proto protoreflect.FileDescriptor + +var file_ActivitySelectAvatarCardReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivitySelectAvatarCardReq_proto_rawDescOnce sync.Once + file_ActivitySelectAvatarCardReq_proto_rawDescData = file_ActivitySelectAvatarCardReq_proto_rawDesc +) + +func file_ActivitySelectAvatarCardReq_proto_rawDescGZIP() []byte { + file_ActivitySelectAvatarCardReq_proto_rawDescOnce.Do(func() { + file_ActivitySelectAvatarCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivitySelectAvatarCardReq_proto_rawDescData) + }) + return file_ActivitySelectAvatarCardReq_proto_rawDescData +} + +var file_ActivitySelectAvatarCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivitySelectAvatarCardReq_proto_goTypes = []interface{}{ + (*ActivitySelectAvatarCardReq)(nil), // 0: ActivitySelectAvatarCardReq +} +var file_ActivitySelectAvatarCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivitySelectAvatarCardReq_proto_init() } +func file_ActivitySelectAvatarCardReq_proto_init() { + if File_ActivitySelectAvatarCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivitySelectAvatarCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivitySelectAvatarCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivitySelectAvatarCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivitySelectAvatarCardReq_proto_goTypes, + DependencyIndexes: file_ActivitySelectAvatarCardReq_proto_depIdxs, + MessageInfos: file_ActivitySelectAvatarCardReq_proto_msgTypes, + }.Build() + File_ActivitySelectAvatarCardReq_proto = out.File + file_ActivitySelectAvatarCardReq_proto_rawDesc = nil + file_ActivitySelectAvatarCardReq_proto_goTypes = nil + file_ActivitySelectAvatarCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.proto b/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.proto new file mode 100644 index 00000000..75b46799 --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySelectAvatarCardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2028 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivitySelectAvatarCardReq { + uint32 activity_id = 15; + uint32 reward_id = 10; +} diff --git a/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.pb.go b/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.pb.go new file mode 100644 index 00000000..eba6f729 --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivitySelectAvatarCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2189 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivitySelectAvatarCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + RewardId uint32 `protobuf:"varint,9,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *ActivitySelectAvatarCardRsp) Reset() { + *x = ActivitySelectAvatarCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivitySelectAvatarCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivitySelectAvatarCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivitySelectAvatarCardRsp) ProtoMessage() {} + +func (x *ActivitySelectAvatarCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ActivitySelectAvatarCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivitySelectAvatarCardRsp.ProtoReflect.Descriptor instead. +func (*ActivitySelectAvatarCardRsp) Descriptor() ([]byte, []int) { + return file_ActivitySelectAvatarCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivitySelectAvatarCardRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivitySelectAvatarCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ActivitySelectAvatarCardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_ActivitySelectAvatarCardRsp_proto protoreflect.FileDescriptor + +var file_ActivitySelectAvatarCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivitySelectAvatarCardRsp_proto_rawDescOnce sync.Once + file_ActivitySelectAvatarCardRsp_proto_rawDescData = file_ActivitySelectAvatarCardRsp_proto_rawDesc +) + +func file_ActivitySelectAvatarCardRsp_proto_rawDescGZIP() []byte { + file_ActivitySelectAvatarCardRsp_proto_rawDescOnce.Do(func() { + file_ActivitySelectAvatarCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivitySelectAvatarCardRsp_proto_rawDescData) + }) + return file_ActivitySelectAvatarCardRsp_proto_rawDescData +} + +var file_ActivitySelectAvatarCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivitySelectAvatarCardRsp_proto_goTypes = []interface{}{ + (*ActivitySelectAvatarCardRsp)(nil), // 0: ActivitySelectAvatarCardRsp +} +var file_ActivitySelectAvatarCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivitySelectAvatarCardRsp_proto_init() } +func file_ActivitySelectAvatarCardRsp_proto_init() { + if File_ActivitySelectAvatarCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivitySelectAvatarCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivitySelectAvatarCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivitySelectAvatarCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivitySelectAvatarCardRsp_proto_goTypes, + DependencyIndexes: file_ActivitySelectAvatarCardRsp_proto_depIdxs, + MessageInfos: file_ActivitySelectAvatarCardRsp_proto_msgTypes, + }.Build() + File_ActivitySelectAvatarCardRsp_proto = out.File + file_ActivitySelectAvatarCardRsp_proto_rawDesc = nil + file_ActivitySelectAvatarCardRsp_proto_goTypes = nil + file_ActivitySelectAvatarCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.proto b/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.proto new file mode 100644 index 00000000..eba7f8bd --- /dev/null +++ b/gate-hk4e-api/proto/ActivitySelectAvatarCardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2189 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivitySelectAvatarCardRsp { + uint32 activity_id = 4; + int32 retcode = 3; + uint32 reward_id = 9; +} diff --git a/gate-hk4e-api/proto/ActivityShopSheetInfo.pb.go b/gate-hk4e-api/proto/ActivityShopSheetInfo.pb.go new file mode 100644 index 00000000..205c01f7 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityShopSheetInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityShopSheetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ActivityShopSheetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + BeginTime uint32 `protobuf:"varint,12,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + SheetId uint32 `protobuf:"varint,2,opt,name=sheet_id,json=sheetId,proto3" json:"sheet_id,omitempty"` +} + +func (x *ActivityShopSheetInfo) Reset() { + *x = ActivityShopSheetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityShopSheetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityShopSheetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityShopSheetInfo) ProtoMessage() {} + +func (x *ActivityShopSheetInfo) ProtoReflect() protoreflect.Message { + mi := &file_ActivityShopSheetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityShopSheetInfo.ProtoReflect.Descriptor instead. +func (*ActivityShopSheetInfo) Descriptor() ([]byte, []int) { + return file_ActivityShopSheetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityShopSheetInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *ActivityShopSheetInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *ActivityShopSheetInfo) GetSheetId() uint32 { + if x != nil { + return x.SheetId + } + return 0 +} + +var File_ActivityShopSheetInfo_proto protoreflect.FileDescriptor + +var file_ActivityShopSheetInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, 0x70, 0x53, 0x68, + 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, + 0x15, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, 0x70, 0x53, 0x68, 0x65, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x65, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityShopSheetInfo_proto_rawDescOnce sync.Once + file_ActivityShopSheetInfo_proto_rawDescData = file_ActivityShopSheetInfo_proto_rawDesc +) + +func file_ActivityShopSheetInfo_proto_rawDescGZIP() []byte { + file_ActivityShopSheetInfo_proto_rawDescOnce.Do(func() { + file_ActivityShopSheetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityShopSheetInfo_proto_rawDescData) + }) + return file_ActivityShopSheetInfo_proto_rawDescData +} + +var file_ActivityShopSheetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityShopSheetInfo_proto_goTypes = []interface{}{ + (*ActivityShopSheetInfo)(nil), // 0: ActivityShopSheetInfo +} +var file_ActivityShopSheetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityShopSheetInfo_proto_init() } +func file_ActivityShopSheetInfo_proto_init() { + if File_ActivityShopSheetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityShopSheetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityShopSheetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityShopSheetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityShopSheetInfo_proto_goTypes, + DependencyIndexes: file_ActivityShopSheetInfo_proto_depIdxs, + MessageInfos: file_ActivityShopSheetInfo_proto_msgTypes, + }.Build() + File_ActivityShopSheetInfo_proto = out.File + file_ActivityShopSheetInfo_proto_rawDesc = nil + file_ActivityShopSheetInfo_proto_goTypes = nil + file_ActivityShopSheetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityShopSheetInfo.proto b/gate-hk4e-api/proto/ActivityShopSheetInfo.proto new file mode 100644 index 00000000..2fec5261 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityShopSheetInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ActivityShopSheetInfo { + uint32 end_time = 1; + uint32 begin_time = 12; + uint32 sheet_id = 2; +} diff --git a/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.pb.go b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.pb.go new file mode 100644 index 00000000..fa370d18 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeAllScoreRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityTakeAllScoreRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,9,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityTakeAllScoreRewardReq) Reset() { + *x = ActivityTakeAllScoreRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeAllScoreRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeAllScoreRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeAllScoreRewardReq) ProtoMessage() {} + +func (x *ActivityTakeAllScoreRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeAllScoreRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeAllScoreRewardReq.ProtoReflect.Descriptor instead. +func (*ActivityTakeAllScoreRewardReq) Descriptor() ([]byte, []int) { + return file_ActivityTakeAllScoreRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeAllScoreRewardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityTakeAllScoreRewardReq_proto protoreflect.FileDescriptor + +var file_ActivityTakeAllScoreRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x6c, + 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x1d, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeAllScoreRewardReq_proto_rawDescOnce sync.Once + file_ActivityTakeAllScoreRewardReq_proto_rawDescData = file_ActivityTakeAllScoreRewardReq_proto_rawDesc +) + +func file_ActivityTakeAllScoreRewardReq_proto_rawDescGZIP() []byte { + file_ActivityTakeAllScoreRewardReq_proto_rawDescOnce.Do(func() { + file_ActivityTakeAllScoreRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeAllScoreRewardReq_proto_rawDescData) + }) + return file_ActivityTakeAllScoreRewardReq_proto_rawDescData +} + +var file_ActivityTakeAllScoreRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeAllScoreRewardReq_proto_goTypes = []interface{}{ + (*ActivityTakeAllScoreRewardReq)(nil), // 0: ActivityTakeAllScoreRewardReq +} +var file_ActivityTakeAllScoreRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeAllScoreRewardReq_proto_init() } +func file_ActivityTakeAllScoreRewardReq_proto_init() { + if File_ActivityTakeAllScoreRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeAllScoreRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeAllScoreRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeAllScoreRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeAllScoreRewardReq_proto_goTypes, + DependencyIndexes: file_ActivityTakeAllScoreRewardReq_proto_depIdxs, + MessageInfos: file_ActivityTakeAllScoreRewardReq_proto_msgTypes, + }.Build() + File_ActivityTakeAllScoreRewardReq_proto = out.File + file_ActivityTakeAllScoreRewardReq_proto_rawDesc = nil + file_ActivityTakeAllScoreRewardReq_proto_goTypes = nil + file_ActivityTakeAllScoreRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.proto b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.proto new file mode 100644 index 00000000..df516906 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityTakeAllScoreRewardReq { + uint32 activity_id = 9; +} diff --git a/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.pb.go b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.pb.go new file mode 100644 index 00000000..cfcc250a --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeAllScoreRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8043 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityTakeAllScoreRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardConfigList []uint32 `protobuf:"varint,14,rep,packed,name=reward_config_list,json=rewardConfigList,proto3" json:"reward_config_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityId uint32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityTakeAllScoreRewardRsp) Reset() { + *x = ActivityTakeAllScoreRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeAllScoreRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeAllScoreRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeAllScoreRewardRsp) ProtoMessage() {} + +func (x *ActivityTakeAllScoreRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeAllScoreRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeAllScoreRewardRsp.ProtoReflect.Descriptor instead. +func (*ActivityTakeAllScoreRewardRsp) Descriptor() ([]byte, []int) { + return file_ActivityTakeAllScoreRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeAllScoreRewardRsp) GetRewardConfigList() []uint32 { + if x != nil { + return x.RewardConfigList + } + return nil +} + +func (x *ActivityTakeAllScoreRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ActivityTakeAllScoreRewardRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityTakeAllScoreRewardRsp_proto protoreflect.FileDescriptor + +var file_ActivityTakeAllScoreRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x6c, + 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x1d, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeAllScoreRewardRsp_proto_rawDescOnce sync.Once + file_ActivityTakeAllScoreRewardRsp_proto_rawDescData = file_ActivityTakeAllScoreRewardRsp_proto_rawDesc +) + +func file_ActivityTakeAllScoreRewardRsp_proto_rawDescGZIP() []byte { + file_ActivityTakeAllScoreRewardRsp_proto_rawDescOnce.Do(func() { + file_ActivityTakeAllScoreRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeAllScoreRewardRsp_proto_rawDescData) + }) + return file_ActivityTakeAllScoreRewardRsp_proto_rawDescData +} + +var file_ActivityTakeAllScoreRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeAllScoreRewardRsp_proto_goTypes = []interface{}{ + (*ActivityTakeAllScoreRewardRsp)(nil), // 0: ActivityTakeAllScoreRewardRsp +} +var file_ActivityTakeAllScoreRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeAllScoreRewardRsp_proto_init() } +func file_ActivityTakeAllScoreRewardRsp_proto_init() { + if File_ActivityTakeAllScoreRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeAllScoreRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeAllScoreRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeAllScoreRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeAllScoreRewardRsp_proto_goTypes, + DependencyIndexes: file_ActivityTakeAllScoreRewardRsp_proto_depIdxs, + MessageInfos: file_ActivityTakeAllScoreRewardRsp_proto_msgTypes, + }.Build() + File_ActivityTakeAllScoreRewardRsp_proto = out.File + file_ActivityTakeAllScoreRewardRsp_proto_rawDesc = nil + file_ActivityTakeAllScoreRewardRsp_proto_goTypes = nil + file_ActivityTakeAllScoreRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.proto b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.proto new file mode 100644 index 00000000..d73bc033 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeAllScoreRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8043 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityTakeAllScoreRewardRsp { + repeated uint32 reward_config_list = 14; + int32 retcode = 15; + uint32 activity_id = 7; +} diff --git a/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.pb.go b/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.pb.go new file mode 100644 index 00000000..b29b8615 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeScoreRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8971 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityTakeScoreRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardConfigId uint32 `protobuf:"varint,12,opt,name=reward_config_id,json=rewardConfigId,proto3" json:"reward_config_id,omitempty"` + ActivityId uint32 `protobuf:"varint,9,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityTakeScoreRewardReq) Reset() { + *x = ActivityTakeScoreRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeScoreRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeScoreRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeScoreRewardReq) ProtoMessage() {} + +func (x *ActivityTakeScoreRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeScoreRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeScoreRewardReq.ProtoReflect.Descriptor instead. +func (*ActivityTakeScoreRewardReq) Descriptor() ([]byte, []int) { + return file_ActivityTakeScoreRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeScoreRewardReq) GetRewardConfigId() uint32 { + if x != nil { + return x.RewardConfigId + } + return 0 +} + +func (x *ActivityTakeScoreRewardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityTakeScoreRewardReq_proto protoreflect.FileDescriptor + +var file_ActivityTakeScoreRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, + 0x6b, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeScoreRewardReq_proto_rawDescOnce sync.Once + file_ActivityTakeScoreRewardReq_proto_rawDescData = file_ActivityTakeScoreRewardReq_proto_rawDesc +) + +func file_ActivityTakeScoreRewardReq_proto_rawDescGZIP() []byte { + file_ActivityTakeScoreRewardReq_proto_rawDescOnce.Do(func() { + file_ActivityTakeScoreRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeScoreRewardReq_proto_rawDescData) + }) + return file_ActivityTakeScoreRewardReq_proto_rawDescData +} + +var file_ActivityTakeScoreRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeScoreRewardReq_proto_goTypes = []interface{}{ + (*ActivityTakeScoreRewardReq)(nil), // 0: ActivityTakeScoreRewardReq +} +var file_ActivityTakeScoreRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeScoreRewardReq_proto_init() } +func file_ActivityTakeScoreRewardReq_proto_init() { + if File_ActivityTakeScoreRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeScoreRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeScoreRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeScoreRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeScoreRewardReq_proto_goTypes, + DependencyIndexes: file_ActivityTakeScoreRewardReq_proto_depIdxs, + MessageInfos: file_ActivityTakeScoreRewardReq_proto_msgTypes, + }.Build() + File_ActivityTakeScoreRewardReq_proto = out.File + file_ActivityTakeScoreRewardReq_proto_rawDesc = nil + file_ActivityTakeScoreRewardReq_proto_goTypes = nil + file_ActivityTakeScoreRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.proto b/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.proto new file mode 100644 index 00000000..4b3cf3fa --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeScoreRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8971 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityTakeScoreRewardReq { + uint32 reward_config_id = 12; + uint32 activity_id = 9; +} diff --git a/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.pb.go b/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.pb.go new file mode 100644 index 00000000..dd879ef7 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeScoreRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8583 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityTakeScoreRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,13,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + RewardConfigId uint32 `protobuf:"varint,15,opt,name=reward_config_id,json=rewardConfigId,proto3" json:"reward_config_id,omitempty"` +} + +func (x *ActivityTakeScoreRewardRsp) Reset() { + *x = ActivityTakeScoreRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeScoreRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeScoreRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeScoreRewardRsp) ProtoMessage() {} + +func (x *ActivityTakeScoreRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeScoreRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeScoreRewardRsp.ProtoReflect.Descriptor instead. +func (*ActivityTakeScoreRewardRsp) Descriptor() ([]byte, []int) { + return file_ActivityTakeScoreRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeScoreRewardRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityTakeScoreRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ActivityTakeScoreRewardRsp) GetRewardConfigId() uint32 { + if x != nil { + return x.RewardConfigId + } + return 0 +} + +var File_ActivityTakeScoreRewardRsp_proto protoreflect.FileDescriptor + +var file_ActivityTakeScoreRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, + 0x61, 0x6b, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, + 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeScoreRewardRsp_proto_rawDescOnce sync.Once + file_ActivityTakeScoreRewardRsp_proto_rawDescData = file_ActivityTakeScoreRewardRsp_proto_rawDesc +) + +func file_ActivityTakeScoreRewardRsp_proto_rawDescGZIP() []byte { + file_ActivityTakeScoreRewardRsp_proto_rawDescOnce.Do(func() { + file_ActivityTakeScoreRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeScoreRewardRsp_proto_rawDescData) + }) + return file_ActivityTakeScoreRewardRsp_proto_rawDescData +} + +var file_ActivityTakeScoreRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeScoreRewardRsp_proto_goTypes = []interface{}{ + (*ActivityTakeScoreRewardRsp)(nil), // 0: ActivityTakeScoreRewardRsp +} +var file_ActivityTakeScoreRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeScoreRewardRsp_proto_init() } +func file_ActivityTakeScoreRewardRsp_proto_init() { + if File_ActivityTakeScoreRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeScoreRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeScoreRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeScoreRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeScoreRewardRsp_proto_goTypes, + DependencyIndexes: file_ActivityTakeScoreRewardRsp_proto_depIdxs, + MessageInfos: file_ActivityTakeScoreRewardRsp_proto_msgTypes, + }.Build() + File_ActivityTakeScoreRewardRsp_proto = out.File + file_ActivityTakeScoreRewardRsp_proto_rawDesc = nil + file_ActivityTakeScoreRewardRsp_proto_goTypes = nil + file_ActivityTakeScoreRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.proto b/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.proto new file mode 100644 index 00000000..87b025e3 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeScoreRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8583 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityTakeScoreRewardRsp { + uint32 activity_id = 13; + int32 retcode = 9; + uint32 reward_config_id = 15; +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.pb.go b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.pb.go new file mode 100644 index 00000000..b99249e4 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeWatcherRewardBatchReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2159 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityTakeWatcherRewardBatchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WatcherIdList []uint32 `protobuf:"varint,11,rep,packed,name=watcher_id_list,json=watcherIdList,proto3" json:"watcher_id_list,omitempty"` + ActivityId uint32 `protobuf:"varint,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityTakeWatcherRewardBatchReq) Reset() { + *x = ActivityTakeWatcherRewardBatchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeWatcherRewardBatchReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeWatcherRewardBatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeWatcherRewardBatchReq) ProtoMessage() {} + +func (x *ActivityTakeWatcherRewardBatchReq) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeWatcherRewardBatchReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeWatcherRewardBatchReq.ProtoReflect.Descriptor instead. +func (*ActivityTakeWatcherRewardBatchReq) Descriptor() ([]byte, []int) { + return file_ActivityTakeWatcherRewardBatchReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeWatcherRewardBatchReq) GetWatcherIdList() []uint32 { + if x != nil { + return x.WatcherIdList + } + return nil +} + +func (x *ActivityTakeWatcherRewardBatchReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityTakeWatcherRewardBatchReq_proto protoreflect.FileDescriptor + +var file_ActivityTakeWatcherRewardBatchReq_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x21, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x26, + 0x0a, 0x0f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeWatcherRewardBatchReq_proto_rawDescOnce sync.Once + file_ActivityTakeWatcherRewardBatchReq_proto_rawDescData = file_ActivityTakeWatcherRewardBatchReq_proto_rawDesc +) + +func file_ActivityTakeWatcherRewardBatchReq_proto_rawDescGZIP() []byte { + file_ActivityTakeWatcherRewardBatchReq_proto_rawDescOnce.Do(func() { + file_ActivityTakeWatcherRewardBatchReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeWatcherRewardBatchReq_proto_rawDescData) + }) + return file_ActivityTakeWatcherRewardBatchReq_proto_rawDescData +} + +var file_ActivityTakeWatcherRewardBatchReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeWatcherRewardBatchReq_proto_goTypes = []interface{}{ + (*ActivityTakeWatcherRewardBatchReq)(nil), // 0: ActivityTakeWatcherRewardBatchReq +} +var file_ActivityTakeWatcherRewardBatchReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeWatcherRewardBatchReq_proto_init() } +func file_ActivityTakeWatcherRewardBatchReq_proto_init() { + if File_ActivityTakeWatcherRewardBatchReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeWatcherRewardBatchReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeWatcherRewardBatchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeWatcherRewardBatchReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeWatcherRewardBatchReq_proto_goTypes, + DependencyIndexes: file_ActivityTakeWatcherRewardBatchReq_proto_depIdxs, + MessageInfos: file_ActivityTakeWatcherRewardBatchReq_proto_msgTypes, + }.Build() + File_ActivityTakeWatcherRewardBatchReq_proto = out.File + file_ActivityTakeWatcherRewardBatchReq_proto_rawDesc = nil + file_ActivityTakeWatcherRewardBatchReq_proto_goTypes = nil + file_ActivityTakeWatcherRewardBatchReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.proto b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.proto new file mode 100644 index 00000000..2d6e1aac --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2159 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityTakeWatcherRewardBatchReq { + repeated uint32 watcher_id_list = 11; + uint32 activity_id = 3; +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.pb.go b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.pb.go new file mode 100644 index 00000000..a25b19fc --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeWatcherRewardBatchRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2109 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityTakeWatcherRewardBatchRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WatcherIdList []uint32 `protobuf:"varint,6,rep,packed,name=watcher_id_list,json=watcherIdList,proto3" json:"watcher_id_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityId uint32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,1,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *ActivityTakeWatcherRewardBatchRsp) Reset() { + *x = ActivityTakeWatcherRewardBatchRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeWatcherRewardBatchRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeWatcherRewardBatchRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeWatcherRewardBatchRsp) ProtoMessage() {} + +func (x *ActivityTakeWatcherRewardBatchRsp) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeWatcherRewardBatchRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeWatcherRewardBatchRsp.ProtoReflect.Descriptor instead. +func (*ActivityTakeWatcherRewardBatchRsp) Descriptor() ([]byte, []int) { + return file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeWatcherRewardBatchRsp) GetWatcherIdList() []uint32 { + if x != nil { + return x.WatcherIdList + } + return nil +} + +func (x *ActivityTakeWatcherRewardBatchRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ActivityTakeWatcherRewardBatchRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityTakeWatcherRewardBatchRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_ActivityTakeWatcherRewardBatchRsp_proto protoreflect.FileDescriptor + +var file_ActivityTakeWatcherRewardBatchRsp_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x21, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x73, 0x70, + 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescOnce sync.Once + file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescData = file_ActivityTakeWatcherRewardBatchRsp_proto_rawDesc +) + +func file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescGZIP() []byte { + file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescOnce.Do(func() { + file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescData) + }) + return file_ActivityTakeWatcherRewardBatchRsp_proto_rawDescData +} + +var file_ActivityTakeWatcherRewardBatchRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeWatcherRewardBatchRsp_proto_goTypes = []interface{}{ + (*ActivityTakeWatcherRewardBatchRsp)(nil), // 0: ActivityTakeWatcherRewardBatchRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_ActivityTakeWatcherRewardBatchRsp_proto_depIdxs = []int32{ + 1, // 0: ActivityTakeWatcherRewardBatchRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityTakeWatcherRewardBatchRsp_proto_init() } +func file_ActivityTakeWatcherRewardBatchRsp_proto_init() { + if File_ActivityTakeWatcherRewardBatchRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityTakeWatcherRewardBatchRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeWatcherRewardBatchRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeWatcherRewardBatchRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeWatcherRewardBatchRsp_proto_goTypes, + DependencyIndexes: file_ActivityTakeWatcherRewardBatchRsp_proto_depIdxs, + MessageInfos: file_ActivityTakeWatcherRewardBatchRsp_proto_msgTypes, + }.Build() + File_ActivityTakeWatcherRewardBatchRsp_proto = out.File + file_ActivityTakeWatcherRewardBatchRsp_proto_rawDesc = nil + file_ActivityTakeWatcherRewardBatchRsp_proto_goTypes = nil + file_ActivityTakeWatcherRewardBatchRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.proto b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.proto new file mode 100644 index 00000000..ebe62fd3 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardBatchRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2109 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityTakeWatcherRewardBatchRsp { + repeated uint32 watcher_id_list = 6; + int32 retcode = 15; + uint32 activity_id = 7; + repeated ItemParam item_list = 1; +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.pb.go b/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.pb.go new file mode 100644 index 00000000..f5eb99b3 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeWatcherRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2038 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityTakeWatcherRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + WatcherId uint32 `protobuf:"varint,14,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` +} + +func (x *ActivityTakeWatcherRewardReq) Reset() { + *x = ActivityTakeWatcherRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeWatcherRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeWatcherRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeWatcherRewardReq) ProtoMessage() {} + +func (x *ActivityTakeWatcherRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeWatcherRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeWatcherRewardReq.ProtoReflect.Descriptor instead. +func (*ActivityTakeWatcherRewardReq) Descriptor() ([]byte, []int) { + return file_ActivityTakeWatcherRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeWatcherRewardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityTakeWatcherRewardReq) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +var File_ActivityTakeWatcherRewardReq_proto protoreflect.FileDescriptor + +var file_ActivityTakeWatcherRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityTakeWatcherRewardReq_proto_rawDescOnce sync.Once + file_ActivityTakeWatcherRewardReq_proto_rawDescData = file_ActivityTakeWatcherRewardReq_proto_rawDesc +) + +func file_ActivityTakeWatcherRewardReq_proto_rawDescGZIP() []byte { + file_ActivityTakeWatcherRewardReq_proto_rawDescOnce.Do(func() { + file_ActivityTakeWatcherRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeWatcherRewardReq_proto_rawDescData) + }) + return file_ActivityTakeWatcherRewardReq_proto_rawDescData +} + +var file_ActivityTakeWatcherRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeWatcherRewardReq_proto_goTypes = []interface{}{ + (*ActivityTakeWatcherRewardReq)(nil), // 0: ActivityTakeWatcherRewardReq +} +var file_ActivityTakeWatcherRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeWatcherRewardReq_proto_init() } +func file_ActivityTakeWatcherRewardReq_proto_init() { + if File_ActivityTakeWatcherRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeWatcherRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeWatcherRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeWatcherRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeWatcherRewardReq_proto_goTypes, + DependencyIndexes: file_ActivityTakeWatcherRewardReq_proto_depIdxs, + MessageInfos: file_ActivityTakeWatcherRewardReq_proto_msgTypes, + }.Build() + File_ActivityTakeWatcherRewardReq_proto = out.File + file_ActivityTakeWatcherRewardReq_proto_rawDesc = nil + file_ActivityTakeWatcherRewardReq_proto_goTypes = nil + file_ActivityTakeWatcherRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.proto b/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.proto new file mode 100644 index 00000000..853f6e06 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2038 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityTakeWatcherRewardReq { + uint32 activity_id = 4; + uint32 watcher_id = 14; +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.pb.go b/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.pb.go new file mode 100644 index 00000000..f9e43f5c --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityTakeWatcherRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2034 +// EnetChannelId: 0 +// EnetIsReliable: true +type ActivityTakeWatcherRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,14,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + WatcherId uint32 `protobuf:"varint,7,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ActivityTakeWatcherRewardRsp) Reset() { + *x = ActivityTakeWatcherRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityTakeWatcherRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityTakeWatcherRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityTakeWatcherRewardRsp) ProtoMessage() {} + +func (x *ActivityTakeWatcherRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ActivityTakeWatcherRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityTakeWatcherRewardRsp.ProtoReflect.Descriptor instead. +func (*ActivityTakeWatcherRewardRsp) Descriptor() ([]byte, []int) { + return file_ActivityTakeWatcherRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityTakeWatcherRewardRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ActivityTakeWatcherRewardRsp) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +func (x *ActivityTakeWatcherRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ActivityTakeWatcherRewardRsp_proto protoreflect.FileDescriptor + +var file_ActivityTakeWatcherRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x54, 0x61, 0x6b, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ActivityTakeWatcherRewardRsp_proto_rawDescOnce sync.Once + file_ActivityTakeWatcherRewardRsp_proto_rawDescData = file_ActivityTakeWatcherRewardRsp_proto_rawDesc +) + +func file_ActivityTakeWatcherRewardRsp_proto_rawDescGZIP() []byte { + file_ActivityTakeWatcherRewardRsp_proto_rawDescOnce.Do(func() { + file_ActivityTakeWatcherRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityTakeWatcherRewardRsp_proto_rawDescData) + }) + return file_ActivityTakeWatcherRewardRsp_proto_rawDescData +} + +var file_ActivityTakeWatcherRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityTakeWatcherRewardRsp_proto_goTypes = []interface{}{ + (*ActivityTakeWatcherRewardRsp)(nil), // 0: ActivityTakeWatcherRewardRsp +} +var file_ActivityTakeWatcherRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityTakeWatcherRewardRsp_proto_init() } +func file_ActivityTakeWatcherRewardRsp_proto_init() { + if File_ActivityTakeWatcherRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityTakeWatcherRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityTakeWatcherRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityTakeWatcherRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityTakeWatcherRewardRsp_proto_goTypes, + DependencyIndexes: file_ActivityTakeWatcherRewardRsp_proto_depIdxs, + MessageInfos: file_ActivityTakeWatcherRewardRsp_proto_msgTypes, + }.Build() + File_ActivityTakeWatcherRewardRsp_proto = out.File + file_ActivityTakeWatcherRewardRsp_proto_rawDesc = nil + file_ActivityTakeWatcherRewardRsp_proto_goTypes = nil + file_ActivityTakeWatcherRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.proto b/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.proto new file mode 100644 index 00000000..8501db9f --- /dev/null +++ b/gate-hk4e-api/proto/ActivityTakeWatcherRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2034 +// EnetChannelId: 0 +// EnetIsReliable: true +message ActivityTakeWatcherRewardRsp { + uint32 activity_id = 14; + uint32 watcher_id = 7; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.pb.go b/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.pb.go new file mode 100644 index 00000000..38caf776 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityUpdateWatcherNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2156 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ActivityUpdateWatcherNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WatcherInfo *ActivityWatcherInfo `protobuf:"bytes,2,opt,name=watcher_info,json=watcherInfo,proto3" json:"watcher_info,omitempty"` + ActivityId uint32 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *ActivityUpdateWatcherNotify) Reset() { + *x = ActivityUpdateWatcherNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityUpdateWatcherNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityUpdateWatcherNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityUpdateWatcherNotify) ProtoMessage() {} + +func (x *ActivityUpdateWatcherNotify) ProtoReflect() protoreflect.Message { + mi := &file_ActivityUpdateWatcherNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityUpdateWatcherNotify.ProtoReflect.Descriptor instead. +func (*ActivityUpdateWatcherNotify) Descriptor() ([]byte, []int) { + return file_ActivityUpdateWatcherNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityUpdateWatcherNotify) GetWatcherInfo() *ActivityWatcherInfo { + if x != nil { + return x.WatcherInfo + } + return nil +} + +func (x *ActivityUpdateWatcherNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_ActivityUpdateWatcherNotify_proto protoreflect.FileDescriptor + +var file_ActivityUpdateWatcherNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, + 0x0a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x37, 0x0a, + 0x0c, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityUpdateWatcherNotify_proto_rawDescOnce sync.Once + file_ActivityUpdateWatcherNotify_proto_rawDescData = file_ActivityUpdateWatcherNotify_proto_rawDesc +) + +func file_ActivityUpdateWatcherNotify_proto_rawDescGZIP() []byte { + file_ActivityUpdateWatcherNotify_proto_rawDescOnce.Do(func() { + file_ActivityUpdateWatcherNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityUpdateWatcherNotify_proto_rawDescData) + }) + return file_ActivityUpdateWatcherNotify_proto_rawDescData +} + +var file_ActivityUpdateWatcherNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityUpdateWatcherNotify_proto_goTypes = []interface{}{ + (*ActivityUpdateWatcherNotify)(nil), // 0: ActivityUpdateWatcherNotify + (*ActivityWatcherInfo)(nil), // 1: ActivityWatcherInfo +} +var file_ActivityUpdateWatcherNotify_proto_depIdxs = []int32{ + 1, // 0: ActivityUpdateWatcherNotify.watcher_info:type_name -> ActivityWatcherInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ActivityUpdateWatcherNotify_proto_init() } +func file_ActivityUpdateWatcherNotify_proto_init() { + if File_ActivityUpdateWatcherNotify_proto != nil { + return + } + file_ActivityWatcherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ActivityUpdateWatcherNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityUpdateWatcherNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityUpdateWatcherNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityUpdateWatcherNotify_proto_goTypes, + DependencyIndexes: file_ActivityUpdateWatcherNotify_proto_depIdxs, + MessageInfos: file_ActivityUpdateWatcherNotify_proto_msgTypes, + }.Build() + File_ActivityUpdateWatcherNotify_proto = out.File + file_ActivityUpdateWatcherNotify_proto_rawDesc = nil + file_ActivityUpdateWatcherNotify_proto_goTypes = nil + file_ActivityUpdateWatcherNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.proto b/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.proto new file mode 100644 index 00000000..dd113f15 --- /dev/null +++ b/gate-hk4e-api/proto/ActivityUpdateWatcherNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityWatcherInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2156 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ActivityUpdateWatcherNotify { + ActivityWatcherInfo watcher_info = 2; + uint32 activity_id = 1; +} diff --git a/gate-hk4e-api/proto/ActivityWatcherInfo.pb.go b/gate-hk4e-api/proto/ActivityWatcherInfo.pb.go new file mode 100644 index 00000000..99db9ccd --- /dev/null +++ b/gate-hk4e-api/proto/ActivityWatcherInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ActivityWatcherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ActivityWatcherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTakenReward bool `protobuf:"varint,8,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` + CurProgress uint32 `protobuf:"varint,2,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + TotalProgress uint32 `protobuf:"varint,4,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + WatcherId uint32 `protobuf:"varint,5,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` +} + +func (x *ActivityWatcherInfo) Reset() { + *x = ActivityWatcherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ActivityWatcherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivityWatcherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivityWatcherInfo) ProtoMessage() {} + +func (x *ActivityWatcherInfo) ProtoReflect() protoreflect.Message { + mi := &file_ActivityWatcherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivityWatcherInfo.ProtoReflect.Descriptor instead. +func (*ActivityWatcherInfo) Descriptor() ([]byte, []int) { + return file_ActivityWatcherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ActivityWatcherInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +func (x *ActivityWatcherInfo) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *ActivityWatcherInfo) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *ActivityWatcherInfo) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +var File_ActivityWatcherInfo_proto protoreflect.FileDescriptor + +var file_ActivityWatcherInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x13, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, + 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ActivityWatcherInfo_proto_rawDescOnce sync.Once + file_ActivityWatcherInfo_proto_rawDescData = file_ActivityWatcherInfo_proto_rawDesc +) + +func file_ActivityWatcherInfo_proto_rawDescGZIP() []byte { + file_ActivityWatcherInfo_proto_rawDescOnce.Do(func() { + file_ActivityWatcherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ActivityWatcherInfo_proto_rawDescData) + }) + return file_ActivityWatcherInfo_proto_rawDescData +} + +var file_ActivityWatcherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ActivityWatcherInfo_proto_goTypes = []interface{}{ + (*ActivityWatcherInfo)(nil), // 0: ActivityWatcherInfo +} +var file_ActivityWatcherInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ActivityWatcherInfo_proto_init() } +func file_ActivityWatcherInfo_proto_init() { + if File_ActivityWatcherInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ActivityWatcherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivityWatcherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ActivityWatcherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ActivityWatcherInfo_proto_goTypes, + DependencyIndexes: file_ActivityWatcherInfo_proto_depIdxs, + MessageInfos: file_ActivityWatcherInfo_proto_msgTypes, + }.Build() + File_ActivityWatcherInfo_proto = out.File + file_ActivityWatcherInfo_proto_rawDesc = nil + file_ActivityWatcherInfo_proto_goTypes = nil + file_ActivityWatcherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ActivityWatcherInfo.proto b/gate-hk4e-api/proto/ActivityWatcherInfo.proto new file mode 100644 index 00000000..ca46963b --- /dev/null +++ b/gate-hk4e-api/proto/ActivityWatcherInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ActivityWatcherInfo { + bool is_taken_reward = 8; + uint32 cur_progress = 2; + uint32 total_progress = 4; + uint32 watcher_id = 5; +} diff --git a/gate-hk4e-api/proto/AddBlacklistReq.pb.go b/gate-hk4e-api/proto/AddBlacklistReq.pb.go new file mode 100644 index 00000000..2b7dc5aa --- /dev/null +++ b/gate-hk4e-api/proto/AddBlacklistReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddBlacklistReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4088 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AddBlacklistReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,2,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *AddBlacklistReq) Reset() { + *x = AddBlacklistReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AddBlacklistReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddBlacklistReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddBlacklistReq) ProtoMessage() {} + +func (x *AddBlacklistReq) ProtoReflect() protoreflect.Message { + mi := &file_AddBlacklistReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddBlacklistReq.ProtoReflect.Descriptor instead. +func (*AddBlacklistReq) Descriptor() ([]byte, []int) { + return file_AddBlacklistReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AddBlacklistReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_AddBlacklistReq_proto protoreflect.FileDescriptor + +var file_AddBlacklistReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x42, 0x6c, + 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddBlacklistReq_proto_rawDescOnce sync.Once + file_AddBlacklistReq_proto_rawDescData = file_AddBlacklistReq_proto_rawDesc +) + +func file_AddBlacklistReq_proto_rawDescGZIP() []byte { + file_AddBlacklistReq_proto_rawDescOnce.Do(func() { + file_AddBlacklistReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddBlacklistReq_proto_rawDescData) + }) + return file_AddBlacklistReq_proto_rawDescData +} + +var file_AddBlacklistReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddBlacklistReq_proto_goTypes = []interface{}{ + (*AddBlacklistReq)(nil), // 0: AddBlacklistReq +} +var file_AddBlacklistReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AddBlacklistReq_proto_init() } +func file_AddBlacklistReq_proto_init() { + if File_AddBlacklistReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AddBlacklistReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBlacklistReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddBlacklistReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddBlacklistReq_proto_goTypes, + DependencyIndexes: file_AddBlacklistReq_proto_depIdxs, + MessageInfos: file_AddBlacklistReq_proto_msgTypes, + }.Build() + File_AddBlacklistReq_proto = out.File + file_AddBlacklistReq_proto_rawDesc = nil + file_AddBlacklistReq_proto_goTypes = nil + file_AddBlacklistReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddBlacklistReq.proto b/gate-hk4e-api/proto/AddBlacklistReq.proto new file mode 100644 index 00000000..139d161c --- /dev/null +++ b/gate-hk4e-api/proto/AddBlacklistReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4088 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AddBlacklistReq { + uint32 target_uid = 2; +} diff --git a/gate-hk4e-api/proto/AddBlacklistRsp.pb.go b/gate-hk4e-api/proto/AddBlacklistRsp.pb.go new file mode 100644 index 00000000..2848d0af --- /dev/null +++ b/gate-hk4e-api/proto/AddBlacklistRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddBlacklistRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4026 +// EnetChannelId: 0 +// EnetIsReliable: true +type AddBlacklistRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetFriendBrief *FriendBrief `protobuf:"bytes,13,opt,name=target_friend_brief,json=targetFriendBrief,proto3" json:"target_friend_brief,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AddBlacklistRsp) Reset() { + *x = AddBlacklistRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AddBlacklistRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddBlacklistRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddBlacklistRsp) ProtoMessage() {} + +func (x *AddBlacklistRsp) ProtoReflect() protoreflect.Message { + mi := &file_AddBlacklistRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddBlacklistRsp.ProtoReflect.Descriptor instead. +func (*AddBlacklistRsp) Descriptor() ([]byte, []int) { + return file_AddBlacklistRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AddBlacklistRsp) GetTargetFriendBrief() *FriendBrief { + if x != nil { + return x.TargetFriendBrief + } + return nil +} + +func (x *AddBlacklistRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AddBlacklistRsp_proto protoreflect.FileDescriptor + +var file_AddBlacklistRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0f, 0x41, 0x64, + 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x3c, 0x0a, + 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x62, + 0x72, 0x69, 0x65, 0x66, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddBlacklistRsp_proto_rawDescOnce sync.Once + file_AddBlacklistRsp_proto_rawDescData = file_AddBlacklistRsp_proto_rawDesc +) + +func file_AddBlacklistRsp_proto_rawDescGZIP() []byte { + file_AddBlacklistRsp_proto_rawDescOnce.Do(func() { + file_AddBlacklistRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddBlacklistRsp_proto_rawDescData) + }) + return file_AddBlacklistRsp_proto_rawDescData +} + +var file_AddBlacklistRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddBlacklistRsp_proto_goTypes = []interface{}{ + (*AddBlacklistRsp)(nil), // 0: AddBlacklistRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_AddBlacklistRsp_proto_depIdxs = []int32{ + 1, // 0: AddBlacklistRsp.target_friend_brief:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AddBlacklistRsp_proto_init() } +func file_AddBlacklistRsp_proto_init() { + if File_AddBlacklistRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_AddBlacklistRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBlacklistRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddBlacklistRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddBlacklistRsp_proto_goTypes, + DependencyIndexes: file_AddBlacklistRsp_proto_depIdxs, + MessageInfos: file_AddBlacklistRsp_proto_msgTypes, + }.Build() + File_AddBlacklistRsp_proto = out.File + file_AddBlacklistRsp_proto_rawDesc = nil + file_AddBlacklistRsp_proto_goTypes = nil + file_AddBlacklistRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddBlacklistRsp.proto b/gate-hk4e-api/proto/AddBlacklistRsp.proto new file mode 100644 index 00000000..b22526f1 --- /dev/null +++ b/gate-hk4e-api/proto/AddBlacklistRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4026 +// EnetChannelId: 0 +// EnetIsReliable: true +message AddBlacklistRsp { + FriendBrief target_friend_brief = 13; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/AddFriendNotify.pb.go b/gate-hk4e-api/proto/AddFriendNotify.pb.go new file mode 100644 index 00000000..875855af --- /dev/null +++ b/gate-hk4e-api/proto/AddFriendNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddFriendNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4022 +// EnetChannelId: 0 +// EnetIsReliable: true +type AddFriendNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,11,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + TargetFriendBrief *FriendBrief `protobuf:"bytes,10,opt,name=target_friend_brief,json=targetFriendBrief,proto3" json:"target_friend_brief,omitempty"` +} + +func (x *AddFriendNotify) Reset() { + *x = AddFriendNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AddFriendNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddFriendNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddFriendNotify) ProtoMessage() {} + +func (x *AddFriendNotify) ProtoReflect() protoreflect.Message { + mi := &file_AddFriendNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddFriendNotify.ProtoReflect.Descriptor instead. +func (*AddFriendNotify) Descriptor() ([]byte, []int) { + return file_AddFriendNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AddFriendNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *AddFriendNotify) GetTargetFriendBrief() *FriendBrief { + if x != nil { + return x.TargetFriendBrief + } + return nil +} + +var File_AddFriendNotify_proto protoreflect.FileDescriptor + +var file_AddFriendNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x0f, 0x41, 0x64, + 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x13, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x72, + 0x69, 0x65, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddFriendNotify_proto_rawDescOnce sync.Once + file_AddFriendNotify_proto_rawDescData = file_AddFriendNotify_proto_rawDesc +) + +func file_AddFriendNotify_proto_rawDescGZIP() []byte { + file_AddFriendNotify_proto_rawDescOnce.Do(func() { + file_AddFriendNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddFriendNotify_proto_rawDescData) + }) + return file_AddFriendNotify_proto_rawDescData +} + +var file_AddFriendNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddFriendNotify_proto_goTypes = []interface{}{ + (*AddFriendNotify)(nil), // 0: AddFriendNotify + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_AddFriendNotify_proto_depIdxs = []int32{ + 1, // 0: AddFriendNotify.target_friend_brief:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AddFriendNotify_proto_init() } +func file_AddFriendNotify_proto_init() { + if File_AddFriendNotify_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_AddFriendNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddFriendNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddFriendNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddFriendNotify_proto_goTypes, + DependencyIndexes: file_AddFriendNotify_proto_depIdxs, + MessageInfos: file_AddFriendNotify_proto_msgTypes, + }.Build() + File_AddFriendNotify_proto = out.File + file_AddFriendNotify_proto_rawDesc = nil + file_AddFriendNotify_proto_goTypes = nil + file_AddFriendNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddFriendNotify.proto b/gate-hk4e-api/proto/AddFriendNotify.proto new file mode 100644 index 00000000..21bf95d1 --- /dev/null +++ b/gate-hk4e-api/proto/AddFriendNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4022 +// EnetChannelId: 0 +// EnetIsReliable: true +message AddFriendNotify { + uint32 target_uid = 11; + FriendBrief target_friend_brief = 10; +} diff --git a/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.pb.go b/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.pb.go new file mode 100644 index 00000000..c010127e --- /dev/null +++ b/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddNoGachaAvatarCardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1655 +// EnetChannelId: 0 +// EnetIsReliable: true +type AddNoGachaAvatarCardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransferItemList []*AddNoGachaAvatarCardTransferItem `protobuf:"bytes,4,rep,name=transfer_item_list,json=transferItemList,proto3" json:"transfer_item_list,omitempty"` + InitialPromoteLevel uint32 `protobuf:"varint,2,opt,name=initial_promote_level,json=initialPromoteLevel,proto3" json:"initial_promote_level,omitempty"` + AvatarId uint32 `protobuf:"varint,8,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + IsTransferToItem bool `protobuf:"varint,6,opt,name=is_transfer_to_item,json=isTransferToItem,proto3" json:"is_transfer_to_item,omitempty"` + Reason uint32 `protobuf:"varint,9,opt,name=reason,proto3" json:"reason,omitempty"` + InitialLevel uint32 `protobuf:"varint,10,opt,name=initial_level,json=initialLevel,proto3" json:"initial_level,omitempty"` + ItemId uint32 `protobuf:"varint,14,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` +} + +func (x *AddNoGachaAvatarCardNotify) Reset() { + *x = AddNoGachaAvatarCardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AddNoGachaAvatarCardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddNoGachaAvatarCardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddNoGachaAvatarCardNotify) ProtoMessage() {} + +func (x *AddNoGachaAvatarCardNotify) ProtoReflect() protoreflect.Message { + mi := &file_AddNoGachaAvatarCardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddNoGachaAvatarCardNotify.ProtoReflect.Descriptor instead. +func (*AddNoGachaAvatarCardNotify) Descriptor() ([]byte, []int) { + return file_AddNoGachaAvatarCardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AddNoGachaAvatarCardNotify) GetTransferItemList() []*AddNoGachaAvatarCardTransferItem { + if x != nil { + return x.TransferItemList + } + return nil +} + +func (x *AddNoGachaAvatarCardNotify) GetInitialPromoteLevel() uint32 { + if x != nil { + return x.InitialPromoteLevel + } + return 0 +} + +func (x *AddNoGachaAvatarCardNotify) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *AddNoGachaAvatarCardNotify) GetIsTransferToItem() bool { + if x != nil { + return x.IsTransferToItem + } + return false +} + +func (x *AddNoGachaAvatarCardNotify) GetReason() uint32 { + if x != nil { + return x.Reason + } + return 0 +} + +func (x *AddNoGachaAvatarCardNotify) GetInitialLevel() uint32 { + if x != nil { + return x.InitialLevel + } + return 0 +} + +func (x *AddNoGachaAvatarCardNotify) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +var File_AddNoGachaAvatarCardNotify_proto protoreflect.FileDescriptor + +var file_AddNoGachaAvatarCardNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x26, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x02, 0x0a, 0x1a, 0x41, + 0x64, 0x64, 0x4e, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, + 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4f, 0x0a, 0x12, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x47, 0x61, 0x63, + 0x68, 0x61, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x69, + 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddNoGachaAvatarCardNotify_proto_rawDescOnce sync.Once + file_AddNoGachaAvatarCardNotify_proto_rawDescData = file_AddNoGachaAvatarCardNotify_proto_rawDesc +) + +func file_AddNoGachaAvatarCardNotify_proto_rawDescGZIP() []byte { + file_AddNoGachaAvatarCardNotify_proto_rawDescOnce.Do(func() { + file_AddNoGachaAvatarCardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddNoGachaAvatarCardNotify_proto_rawDescData) + }) + return file_AddNoGachaAvatarCardNotify_proto_rawDescData +} + +var file_AddNoGachaAvatarCardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddNoGachaAvatarCardNotify_proto_goTypes = []interface{}{ + (*AddNoGachaAvatarCardNotify)(nil), // 0: AddNoGachaAvatarCardNotify + (*AddNoGachaAvatarCardTransferItem)(nil), // 1: AddNoGachaAvatarCardTransferItem +} +var file_AddNoGachaAvatarCardNotify_proto_depIdxs = []int32{ + 1, // 0: AddNoGachaAvatarCardNotify.transfer_item_list:type_name -> AddNoGachaAvatarCardTransferItem + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AddNoGachaAvatarCardNotify_proto_init() } +func file_AddNoGachaAvatarCardNotify_proto_init() { + if File_AddNoGachaAvatarCardNotify_proto != nil { + return + } + file_AddNoGachaAvatarCardTransferItem_proto_init() + if !protoimpl.UnsafeEnabled { + file_AddNoGachaAvatarCardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNoGachaAvatarCardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddNoGachaAvatarCardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddNoGachaAvatarCardNotify_proto_goTypes, + DependencyIndexes: file_AddNoGachaAvatarCardNotify_proto_depIdxs, + MessageInfos: file_AddNoGachaAvatarCardNotify_proto_msgTypes, + }.Build() + File_AddNoGachaAvatarCardNotify_proto = out.File + file_AddNoGachaAvatarCardNotify_proto_rawDesc = nil + file_AddNoGachaAvatarCardNotify_proto_goTypes = nil + file_AddNoGachaAvatarCardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.proto b/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.proto new file mode 100644 index 00000000..8f169670 --- /dev/null +++ b/gate-hk4e-api/proto/AddNoGachaAvatarCardNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AddNoGachaAvatarCardTransferItem.proto"; + +option go_package = "./;proto"; + +// CmdId: 1655 +// EnetChannelId: 0 +// EnetIsReliable: true +message AddNoGachaAvatarCardNotify { + repeated AddNoGachaAvatarCardTransferItem transfer_item_list = 4; + uint32 initial_promote_level = 2; + uint32 avatar_id = 8; + bool is_transfer_to_item = 6; + uint32 reason = 9; + uint32 initial_level = 10; + uint32 item_id = 14; +} diff --git a/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.pb.go b/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.pb.go new file mode 100644 index 00000000..4c44511f --- /dev/null +++ b/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddNoGachaAvatarCardTransferItem.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AddNoGachaAvatarCardTransferItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"` + ItemId uint32 `protobuf:"varint,6,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + IsNew bool `protobuf:"varint,15,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` +} + +func (x *AddNoGachaAvatarCardTransferItem) Reset() { + *x = AddNoGachaAvatarCardTransferItem{} + if protoimpl.UnsafeEnabled { + mi := &file_AddNoGachaAvatarCardTransferItem_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddNoGachaAvatarCardTransferItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddNoGachaAvatarCardTransferItem) ProtoMessage() {} + +func (x *AddNoGachaAvatarCardTransferItem) ProtoReflect() protoreflect.Message { + mi := &file_AddNoGachaAvatarCardTransferItem_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddNoGachaAvatarCardTransferItem.ProtoReflect.Descriptor instead. +func (*AddNoGachaAvatarCardTransferItem) Descriptor() ([]byte, []int) { + return file_AddNoGachaAvatarCardTransferItem_proto_rawDescGZIP(), []int{0} +} + +func (x *AddNoGachaAvatarCardTransferItem) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *AddNoGachaAvatarCardTransferItem) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *AddNoGachaAvatarCardTransferItem) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +var File_AddNoGachaAvatarCardTransferItem_proto protoreflect.FileDescriptor + +var file_AddNoGachaAvatarCardTransferItem_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, + 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x20, 0x41, 0x64, 0x64, 0x4e, + 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, + 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, + 0x65, 0x77, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddNoGachaAvatarCardTransferItem_proto_rawDescOnce sync.Once + file_AddNoGachaAvatarCardTransferItem_proto_rawDescData = file_AddNoGachaAvatarCardTransferItem_proto_rawDesc +) + +func file_AddNoGachaAvatarCardTransferItem_proto_rawDescGZIP() []byte { + file_AddNoGachaAvatarCardTransferItem_proto_rawDescOnce.Do(func() { + file_AddNoGachaAvatarCardTransferItem_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddNoGachaAvatarCardTransferItem_proto_rawDescData) + }) + return file_AddNoGachaAvatarCardTransferItem_proto_rawDescData +} + +var file_AddNoGachaAvatarCardTransferItem_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddNoGachaAvatarCardTransferItem_proto_goTypes = []interface{}{ + (*AddNoGachaAvatarCardTransferItem)(nil), // 0: AddNoGachaAvatarCardTransferItem +} +var file_AddNoGachaAvatarCardTransferItem_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AddNoGachaAvatarCardTransferItem_proto_init() } +func file_AddNoGachaAvatarCardTransferItem_proto_init() { + if File_AddNoGachaAvatarCardTransferItem_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AddNoGachaAvatarCardTransferItem_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNoGachaAvatarCardTransferItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddNoGachaAvatarCardTransferItem_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddNoGachaAvatarCardTransferItem_proto_goTypes, + DependencyIndexes: file_AddNoGachaAvatarCardTransferItem_proto_depIdxs, + MessageInfos: file_AddNoGachaAvatarCardTransferItem_proto_msgTypes, + }.Build() + File_AddNoGachaAvatarCardTransferItem_proto = out.File + file_AddNoGachaAvatarCardTransferItem_proto_rawDesc = nil + file_AddNoGachaAvatarCardTransferItem_proto_goTypes = nil + file_AddNoGachaAvatarCardTransferItem_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.proto b/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.proto new file mode 100644 index 00000000..881e0545 --- /dev/null +++ b/gate-hk4e-api/proto/AddNoGachaAvatarCardTransferItem.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AddNoGachaAvatarCardTransferItem { + uint32 count = 9; + uint32 item_id = 6; + bool is_new = 15; +} diff --git a/gate-hk4e-api/proto/AddQuestContentProgressReq.pb.go b/gate-hk4e-api/proto/AddQuestContentProgressReq.pb.go new file mode 100644 index 00000000..215f4ca6 --- /dev/null +++ b/gate-hk4e-api/proto/AddQuestContentProgressReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddQuestContentProgressReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AddQuestContentProgressReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContentType uint32 `protobuf:"varint,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` + Param uint32 `protobuf:"varint,12,opt,name=param,proto3" json:"param,omitempty"` + AddProgress uint32 `protobuf:"varint,15,opt,name=add_progress,json=addProgress,proto3" json:"add_progress,omitempty"` +} + +func (x *AddQuestContentProgressReq) Reset() { + *x = AddQuestContentProgressReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AddQuestContentProgressReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddQuestContentProgressReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddQuestContentProgressReq) ProtoMessage() {} + +func (x *AddQuestContentProgressReq) ProtoReflect() protoreflect.Message { + mi := &file_AddQuestContentProgressReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddQuestContentProgressReq.ProtoReflect.Descriptor instead. +func (*AddQuestContentProgressReq) Descriptor() ([]byte, []int) { + return file_AddQuestContentProgressReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AddQuestContentProgressReq) GetContentType() uint32 { + if x != nil { + return x.ContentType + } + return 0 +} + +func (x *AddQuestContentProgressReq) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *AddQuestContentProgressReq) GetAddProgress() uint32 { + if x != nil { + return x.AddProgress + } + return 0 +} + +var File_AddQuestContentProgressReq_proto protoreflect.FileDescriptor + +var file_AddQuestContentProgressReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x64, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddQuestContentProgressReq_proto_rawDescOnce sync.Once + file_AddQuestContentProgressReq_proto_rawDescData = file_AddQuestContentProgressReq_proto_rawDesc +) + +func file_AddQuestContentProgressReq_proto_rawDescGZIP() []byte { + file_AddQuestContentProgressReq_proto_rawDescOnce.Do(func() { + file_AddQuestContentProgressReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddQuestContentProgressReq_proto_rawDescData) + }) + return file_AddQuestContentProgressReq_proto_rawDescData +} + +var file_AddQuestContentProgressReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddQuestContentProgressReq_proto_goTypes = []interface{}{ + (*AddQuestContentProgressReq)(nil), // 0: AddQuestContentProgressReq +} +var file_AddQuestContentProgressReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AddQuestContentProgressReq_proto_init() } +func file_AddQuestContentProgressReq_proto_init() { + if File_AddQuestContentProgressReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AddQuestContentProgressReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddQuestContentProgressReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddQuestContentProgressReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddQuestContentProgressReq_proto_goTypes, + DependencyIndexes: file_AddQuestContentProgressReq_proto_depIdxs, + MessageInfos: file_AddQuestContentProgressReq_proto_msgTypes, + }.Build() + File_AddQuestContentProgressReq_proto = out.File + file_AddQuestContentProgressReq_proto_rawDesc = nil + file_AddQuestContentProgressReq_proto_goTypes = nil + file_AddQuestContentProgressReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddQuestContentProgressReq.proto b/gate-hk4e-api/proto/AddQuestContentProgressReq.proto new file mode 100644 index 00000000..66eb00ba --- /dev/null +++ b/gate-hk4e-api/proto/AddQuestContentProgressReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AddQuestContentProgressReq { + uint32 content_type = 6; + uint32 param = 12; + uint32 add_progress = 15; +} diff --git a/gate-hk4e-api/proto/AddQuestContentProgressRsp.pb.go b/gate-hk4e-api/proto/AddQuestContentProgressRsp.pb.go new file mode 100644 index 00000000..616c9911 --- /dev/null +++ b/gate-hk4e-api/proto/AddQuestContentProgressRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddQuestContentProgressRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 403 +// EnetChannelId: 0 +// EnetIsReliable: true +type AddQuestContentProgressRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + ContentType uint32 `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` +} + +func (x *AddQuestContentProgressRsp) Reset() { + *x = AddQuestContentProgressRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AddQuestContentProgressRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddQuestContentProgressRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddQuestContentProgressRsp) ProtoMessage() {} + +func (x *AddQuestContentProgressRsp) ProtoReflect() protoreflect.Message { + mi := &file_AddQuestContentProgressRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddQuestContentProgressRsp.ProtoReflect.Descriptor instead. +func (*AddQuestContentProgressRsp) Descriptor() ([]byte, []int) { + return file_AddQuestContentProgressRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AddQuestContentProgressRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AddQuestContentProgressRsp) GetContentType() uint32 { + if x != nil { + return x.ContentType + } + return 0 +} + +var File_AddQuestContentProgressRsp_proto protoreflect.FileDescriptor + +var file_AddQuestContentProgressRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x64, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AddQuestContentProgressRsp_proto_rawDescOnce sync.Once + file_AddQuestContentProgressRsp_proto_rawDescData = file_AddQuestContentProgressRsp_proto_rawDesc +) + +func file_AddQuestContentProgressRsp_proto_rawDescGZIP() []byte { + file_AddQuestContentProgressRsp_proto_rawDescOnce.Do(func() { + file_AddQuestContentProgressRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddQuestContentProgressRsp_proto_rawDescData) + }) + return file_AddQuestContentProgressRsp_proto_rawDescData +} + +var file_AddQuestContentProgressRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddQuestContentProgressRsp_proto_goTypes = []interface{}{ + (*AddQuestContentProgressRsp)(nil), // 0: AddQuestContentProgressRsp +} +var file_AddQuestContentProgressRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AddQuestContentProgressRsp_proto_init() } +func file_AddQuestContentProgressRsp_proto_init() { + if File_AddQuestContentProgressRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AddQuestContentProgressRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddQuestContentProgressRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddQuestContentProgressRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddQuestContentProgressRsp_proto_goTypes, + DependencyIndexes: file_AddQuestContentProgressRsp_proto_depIdxs, + MessageInfos: file_AddQuestContentProgressRsp_proto_msgTypes, + }.Build() + File_AddQuestContentProgressRsp_proto = out.File + file_AddQuestContentProgressRsp_proto_rawDesc = nil + file_AddQuestContentProgressRsp_proto_goTypes = nil + file_AddQuestContentProgressRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddQuestContentProgressRsp.proto b/gate-hk4e-api/proto/AddQuestContentProgressRsp.proto new file mode 100644 index 00000000..4bfe7b2f --- /dev/null +++ b/gate-hk4e-api/proto/AddQuestContentProgressRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 403 +// EnetChannelId: 0 +// EnetIsReliable: true +message AddQuestContentProgressRsp { + int32 retcode = 13; + uint32 content_type = 4; +} diff --git a/gate-hk4e-api/proto/AddRandTaskInfoNotify.pb.go b/gate-hk4e-api/proto/AddRandTaskInfoNotify.pb.go new file mode 100644 index 00000000..8348fc65 --- /dev/null +++ b/gate-hk4e-api/proto/AddRandTaskInfoNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddRandTaskInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 119 +// EnetChannelId: 0 +// EnetIsReliable: true +type AddRandTaskInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandTaskId uint32 `protobuf:"varint,5,opt,name=rand_task_id,json=randTaskId,proto3" json:"rand_task_id,omitempty"` + Pos *Vector `protobuf:"bytes,13,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *AddRandTaskInfoNotify) Reset() { + *x = AddRandTaskInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AddRandTaskInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddRandTaskInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddRandTaskInfoNotify) ProtoMessage() {} + +func (x *AddRandTaskInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AddRandTaskInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddRandTaskInfoNotify.ProtoReflect.Descriptor instead. +func (*AddRandTaskInfoNotify) Descriptor() ([]byte, []int) { + return file_AddRandTaskInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AddRandTaskInfoNotify) GetRandTaskId() uint32 { + if x != nil { + return x.RandTaskId + } + return 0 +} + +func (x *AddRandTaskInfoNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_AddRandTaskInfoNotify_proto protoreflect.FileDescriptor + +var file_AddRandTaskInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x52, 0x61, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x15, 0x41, + 0x64, 0x64, 0x52, 0x61, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x64, + 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, + 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddRandTaskInfoNotify_proto_rawDescOnce sync.Once + file_AddRandTaskInfoNotify_proto_rawDescData = file_AddRandTaskInfoNotify_proto_rawDesc +) + +func file_AddRandTaskInfoNotify_proto_rawDescGZIP() []byte { + file_AddRandTaskInfoNotify_proto_rawDescOnce.Do(func() { + file_AddRandTaskInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddRandTaskInfoNotify_proto_rawDescData) + }) + return file_AddRandTaskInfoNotify_proto_rawDescData +} + +var file_AddRandTaskInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddRandTaskInfoNotify_proto_goTypes = []interface{}{ + (*AddRandTaskInfoNotify)(nil), // 0: AddRandTaskInfoNotify + (*Vector)(nil), // 1: Vector +} +var file_AddRandTaskInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AddRandTaskInfoNotify.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AddRandTaskInfoNotify_proto_init() } +func file_AddRandTaskInfoNotify_proto_init() { + if File_AddRandTaskInfoNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AddRandTaskInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRandTaskInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddRandTaskInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddRandTaskInfoNotify_proto_goTypes, + DependencyIndexes: file_AddRandTaskInfoNotify_proto_depIdxs, + MessageInfos: file_AddRandTaskInfoNotify_proto_msgTypes, + }.Build() + File_AddRandTaskInfoNotify_proto = out.File + file_AddRandTaskInfoNotify_proto_rawDesc = nil + file_AddRandTaskInfoNotify_proto_goTypes = nil + file_AddRandTaskInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddRandTaskInfoNotify.proto b/gate-hk4e-api/proto/AddRandTaskInfoNotify.proto new file mode 100644 index 00000000..9da350a4 --- /dev/null +++ b/gate-hk4e-api/proto/AddRandTaskInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 119 +// EnetChannelId: 0 +// EnetIsReliable: true +message AddRandTaskInfoNotify { + uint32 rand_task_id = 5; + Vector pos = 13; +} diff --git a/gate-hk4e-api/proto/AddSeenMonsterNotify.pb.go b/gate-hk4e-api/proto/AddSeenMonsterNotify.pb.go new file mode 100644 index 00000000..85171510 --- /dev/null +++ b/gate-hk4e-api/proto/AddSeenMonsterNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AddSeenMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 223 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AddSeenMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterIdList []uint32 `protobuf:"varint,12,rep,packed,name=monster_id_list,json=monsterIdList,proto3" json:"monster_id_list,omitempty"` +} + +func (x *AddSeenMonsterNotify) Reset() { + *x = AddSeenMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AddSeenMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddSeenMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddSeenMonsterNotify) ProtoMessage() {} + +func (x *AddSeenMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_AddSeenMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddSeenMonsterNotify.ProtoReflect.Descriptor instead. +func (*AddSeenMonsterNotify) Descriptor() ([]byte, []int) { + return file_AddSeenMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AddSeenMonsterNotify) GetMonsterIdList() []uint32 { + if x != nil { + return x.MonsterIdList + } + return nil +} + +var File_AddSeenMonsterNotify_proto protoreflect.FileDescriptor + +var file_AddSeenMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x53, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x14, + 0x41, 0x64, 0x64, 0x53, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AddSeenMonsterNotify_proto_rawDescOnce sync.Once + file_AddSeenMonsterNotify_proto_rawDescData = file_AddSeenMonsterNotify_proto_rawDesc +) + +func file_AddSeenMonsterNotify_proto_rawDescGZIP() []byte { + file_AddSeenMonsterNotify_proto_rawDescOnce.Do(func() { + file_AddSeenMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddSeenMonsterNotify_proto_rawDescData) + }) + return file_AddSeenMonsterNotify_proto_rawDescData +} + +var file_AddSeenMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AddSeenMonsterNotify_proto_goTypes = []interface{}{ + (*AddSeenMonsterNotify)(nil), // 0: AddSeenMonsterNotify +} +var file_AddSeenMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AddSeenMonsterNotify_proto_init() } +func file_AddSeenMonsterNotify_proto_init() { + if File_AddSeenMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AddSeenMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddSeenMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AddSeenMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AddSeenMonsterNotify_proto_goTypes, + DependencyIndexes: file_AddSeenMonsterNotify_proto_depIdxs, + MessageInfos: file_AddSeenMonsterNotify_proto_msgTypes, + }.Build() + File_AddSeenMonsterNotify_proto = out.File + file_AddSeenMonsterNotify_proto_rawDesc = nil + file_AddSeenMonsterNotify_proto_goTypes = nil + file_AddSeenMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AddSeenMonsterNotify.proto b/gate-hk4e-api/proto/AddSeenMonsterNotify.proto new file mode 100644 index 00000000..e407e838 --- /dev/null +++ b/gate-hk4e-api/proto/AddSeenMonsterNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 223 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AddSeenMonsterNotify { + repeated uint32 monster_id_list = 12; +} diff --git a/gate-hk4e-api/proto/AdjustTrackingInfo.pb.go b/gate-hk4e-api/proto/AdjustTrackingInfo.pb.go new file mode 100644 index 00000000..adf6f373 --- /dev/null +++ b/gate-hk4e-api/proto/AdjustTrackingInfo.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AdjustTrackingInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AdjustTrackingInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventToken string `protobuf:"bytes,9,opt,name=event_token,json=eventToken,proto3" json:"event_token,omitempty"` + Adid string `protobuf:"bytes,4,opt,name=adid,proto3" json:"adid,omitempty"` + Idfa string `protobuf:"bytes,2,opt,name=idfa,proto3" json:"idfa,omitempty"` + AppToken string `protobuf:"bytes,14,opt,name=app_token,json=appToken,proto3" json:"app_token,omitempty"` + GpsAdid string `protobuf:"bytes,3,opt,name=gps_adid,json=gpsAdid,proto3" json:"gps_adid,omitempty"` + FireAdid string `protobuf:"bytes,13,opt,name=fire_adid,json=fireAdid,proto3" json:"fire_adid,omitempty"` +} + +func (x *AdjustTrackingInfo) Reset() { + *x = AdjustTrackingInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AdjustTrackingInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AdjustTrackingInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AdjustTrackingInfo) ProtoMessage() {} + +func (x *AdjustTrackingInfo) ProtoReflect() protoreflect.Message { + mi := &file_AdjustTrackingInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AdjustTrackingInfo.ProtoReflect.Descriptor instead. +func (*AdjustTrackingInfo) Descriptor() ([]byte, []int) { + return file_AdjustTrackingInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AdjustTrackingInfo) GetEventToken() string { + if x != nil { + return x.EventToken + } + return "" +} + +func (x *AdjustTrackingInfo) GetAdid() string { + if x != nil { + return x.Adid + } + return "" +} + +func (x *AdjustTrackingInfo) GetIdfa() string { + if x != nil { + return x.Idfa + } + return "" +} + +func (x *AdjustTrackingInfo) GetAppToken() string { + if x != nil { + return x.AppToken + } + return "" +} + +func (x *AdjustTrackingInfo) GetGpsAdid() string { + if x != nil { + return x.GpsAdid + } + return "" +} + +func (x *AdjustTrackingInfo) GetFireAdid() string { + if x != nil { + return x.FireAdid + } + return "" +} + +var File_AdjustTrackingInfo_proto protoreflect.FileDescriptor + +var file_AdjustTrackingInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x12, 0x41, + 0x64, 0x6a, 0x75, 0x73, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x61, 0x64, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x64, 0x66, 0x61, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x64, 0x66, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, + 0x70, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, + 0x70, 0x70, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x70, 0x73, 0x5f, 0x61, + 0x64, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x70, 0x73, 0x41, 0x64, + 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x72, 0x65, 0x41, 0x64, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AdjustTrackingInfo_proto_rawDescOnce sync.Once + file_AdjustTrackingInfo_proto_rawDescData = file_AdjustTrackingInfo_proto_rawDesc +) + +func file_AdjustTrackingInfo_proto_rawDescGZIP() []byte { + file_AdjustTrackingInfo_proto_rawDescOnce.Do(func() { + file_AdjustTrackingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AdjustTrackingInfo_proto_rawDescData) + }) + return file_AdjustTrackingInfo_proto_rawDescData +} + +var file_AdjustTrackingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AdjustTrackingInfo_proto_goTypes = []interface{}{ + (*AdjustTrackingInfo)(nil), // 0: AdjustTrackingInfo +} +var file_AdjustTrackingInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AdjustTrackingInfo_proto_init() } +func file_AdjustTrackingInfo_proto_init() { + if File_AdjustTrackingInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AdjustTrackingInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AdjustTrackingInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AdjustTrackingInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AdjustTrackingInfo_proto_goTypes, + DependencyIndexes: file_AdjustTrackingInfo_proto_depIdxs, + MessageInfos: file_AdjustTrackingInfo_proto_msgTypes, + }.Build() + File_AdjustTrackingInfo_proto = out.File + file_AdjustTrackingInfo_proto_rawDesc = nil + file_AdjustTrackingInfo_proto_goTypes = nil + file_AdjustTrackingInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AdjustTrackingInfo.proto b/gate-hk4e-api/proto/AdjustTrackingInfo.proto new file mode 100644 index 00000000..22d016ef --- /dev/null +++ b/gate-hk4e-api/proto/AdjustTrackingInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AdjustTrackingInfo { + string event_token = 9; + string adid = 4; + string idfa = 2; + string app_token = 14; + string gps_adid = 3; + string fire_adid = 13; +} diff --git a/gate-hk4e-api/proto/AdjustWorldLevelReq.pb.go b/gate-hk4e-api/proto/AdjustWorldLevelReq.pb.go new file mode 100644 index 00000000..1093805b --- /dev/null +++ b/gate-hk4e-api/proto/AdjustWorldLevelReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AdjustWorldLevelReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 164 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AdjustWorldLevelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpectWorldLevel uint32 `protobuf:"varint,8,opt,name=expect_world_level,json=expectWorldLevel,proto3" json:"expect_world_level,omitempty"` + CurWorldLevel uint32 `protobuf:"varint,9,opt,name=cur_world_level,json=curWorldLevel,proto3" json:"cur_world_level,omitempty"` +} + +func (x *AdjustWorldLevelReq) Reset() { + *x = AdjustWorldLevelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AdjustWorldLevelReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AdjustWorldLevelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AdjustWorldLevelReq) ProtoMessage() {} + +func (x *AdjustWorldLevelReq) ProtoReflect() protoreflect.Message { + mi := &file_AdjustWorldLevelReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AdjustWorldLevelReq.ProtoReflect.Descriptor instead. +func (*AdjustWorldLevelReq) Descriptor() ([]byte, []int) { + return file_AdjustWorldLevelReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AdjustWorldLevelReq) GetExpectWorldLevel() uint32 { + if x != nil { + return x.ExpectWorldLevel + } + return 0 +} + +func (x *AdjustWorldLevelReq) GetCurWorldLevel() uint32 { + if x != nil { + return x.CurWorldLevel + } + return 0 +} + +var File_AdjustWorldLevelReq_proto protoreflect.FileDescriptor + +var file_AdjustWorldLevelReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x41, + 0x64, 0x6a, 0x75, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x5f, 0x77, 0x6f, 0x72, + 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, + 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x57, 0x6f, + 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AdjustWorldLevelReq_proto_rawDescOnce sync.Once + file_AdjustWorldLevelReq_proto_rawDescData = file_AdjustWorldLevelReq_proto_rawDesc +) + +func file_AdjustWorldLevelReq_proto_rawDescGZIP() []byte { + file_AdjustWorldLevelReq_proto_rawDescOnce.Do(func() { + file_AdjustWorldLevelReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AdjustWorldLevelReq_proto_rawDescData) + }) + return file_AdjustWorldLevelReq_proto_rawDescData +} + +var file_AdjustWorldLevelReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AdjustWorldLevelReq_proto_goTypes = []interface{}{ + (*AdjustWorldLevelReq)(nil), // 0: AdjustWorldLevelReq +} +var file_AdjustWorldLevelReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AdjustWorldLevelReq_proto_init() } +func file_AdjustWorldLevelReq_proto_init() { + if File_AdjustWorldLevelReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AdjustWorldLevelReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AdjustWorldLevelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AdjustWorldLevelReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AdjustWorldLevelReq_proto_goTypes, + DependencyIndexes: file_AdjustWorldLevelReq_proto_depIdxs, + MessageInfos: file_AdjustWorldLevelReq_proto_msgTypes, + }.Build() + File_AdjustWorldLevelReq_proto = out.File + file_AdjustWorldLevelReq_proto_rawDesc = nil + file_AdjustWorldLevelReq_proto_goTypes = nil + file_AdjustWorldLevelReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AdjustWorldLevelReq.proto b/gate-hk4e-api/proto/AdjustWorldLevelReq.proto new file mode 100644 index 00000000..404c0828 --- /dev/null +++ b/gate-hk4e-api/proto/AdjustWorldLevelReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 164 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AdjustWorldLevelReq { + uint32 expect_world_level = 8; + uint32 cur_world_level = 9; +} diff --git a/gate-hk4e-api/proto/AdjustWorldLevelRsp.pb.go b/gate-hk4e-api/proto/AdjustWorldLevelRsp.pb.go new file mode 100644 index 00000000..1f1045b3 --- /dev/null +++ b/gate-hk4e-api/proto/AdjustWorldLevelRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AdjustWorldLevelRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 138 +// EnetChannelId: 0 +// EnetIsReliable: true +type AdjustWorldLevelRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + CdOverTime uint32 `protobuf:"varint,15,opt,name=cd_over_time,json=cdOverTime,proto3" json:"cd_over_time,omitempty"` + AfterWorldLevel uint32 `protobuf:"varint,14,opt,name=after_world_level,json=afterWorldLevel,proto3" json:"after_world_level,omitempty"` +} + +func (x *AdjustWorldLevelRsp) Reset() { + *x = AdjustWorldLevelRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AdjustWorldLevelRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AdjustWorldLevelRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AdjustWorldLevelRsp) ProtoMessage() {} + +func (x *AdjustWorldLevelRsp) ProtoReflect() protoreflect.Message { + mi := &file_AdjustWorldLevelRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AdjustWorldLevelRsp.ProtoReflect.Descriptor instead. +func (*AdjustWorldLevelRsp) Descriptor() ([]byte, []int) { + return file_AdjustWorldLevelRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AdjustWorldLevelRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AdjustWorldLevelRsp) GetCdOverTime() uint32 { + if x != nil { + return x.CdOverTime + } + return 0 +} + +func (x *AdjustWorldLevelRsp) GetAfterWorldLevel() uint32 { + if x != nil { + return x.AfterWorldLevel + } + return 0 +} + +var File_AdjustWorldLevelRsp_proto protoreflect.FileDescriptor + +var file_AdjustWorldLevelRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x13, 0x41, + 0x64, 0x6a, 0x75, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, + 0x63, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AdjustWorldLevelRsp_proto_rawDescOnce sync.Once + file_AdjustWorldLevelRsp_proto_rawDescData = file_AdjustWorldLevelRsp_proto_rawDesc +) + +func file_AdjustWorldLevelRsp_proto_rawDescGZIP() []byte { + file_AdjustWorldLevelRsp_proto_rawDescOnce.Do(func() { + file_AdjustWorldLevelRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AdjustWorldLevelRsp_proto_rawDescData) + }) + return file_AdjustWorldLevelRsp_proto_rawDescData +} + +var file_AdjustWorldLevelRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AdjustWorldLevelRsp_proto_goTypes = []interface{}{ + (*AdjustWorldLevelRsp)(nil), // 0: AdjustWorldLevelRsp +} +var file_AdjustWorldLevelRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AdjustWorldLevelRsp_proto_init() } +func file_AdjustWorldLevelRsp_proto_init() { + if File_AdjustWorldLevelRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AdjustWorldLevelRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AdjustWorldLevelRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AdjustWorldLevelRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AdjustWorldLevelRsp_proto_goTypes, + DependencyIndexes: file_AdjustWorldLevelRsp_proto_depIdxs, + MessageInfos: file_AdjustWorldLevelRsp_proto_msgTypes, + }.Build() + File_AdjustWorldLevelRsp_proto = out.File + file_AdjustWorldLevelRsp_proto_rawDesc = nil + file_AdjustWorldLevelRsp_proto_goTypes = nil + file_AdjustWorldLevelRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AdjustWorldLevelRsp.proto b/gate-hk4e-api/proto/AdjustWorldLevelRsp.proto new file mode 100644 index 00000000..c3ac6973 --- /dev/null +++ b/gate-hk4e-api/proto/AdjustWorldLevelRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 138 +// EnetChannelId: 0 +// EnetIsReliable: true +message AdjustWorldLevelRsp { + int32 retcode = 13; + uint32 cd_over_time = 15; + uint32 after_world_level = 14; +} diff --git a/gate-hk4e-api/proto/AiSkillCdInfo.pb.go b/gate-hk4e-api/proto/AiSkillCdInfo.pb.go new file mode 100644 index 00000000..b943ca0d --- /dev/null +++ b/gate-hk4e-api/proto/AiSkillCdInfo.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AiSkillCdInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AiSkillCdInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillCdMap map[uint32]uint32 `protobuf:"bytes,11,rep,name=skill_cd_map,json=skillCdMap,proto3" json:"skill_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SkillGroupCdMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=skill_group_cd_map,json=skillGroupCdMap,proto3" json:"skill_group_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *AiSkillCdInfo) Reset() { + *x = AiSkillCdInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AiSkillCdInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AiSkillCdInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AiSkillCdInfo) ProtoMessage() {} + +func (x *AiSkillCdInfo) ProtoReflect() protoreflect.Message { + mi := &file_AiSkillCdInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AiSkillCdInfo.ProtoReflect.Descriptor instead. +func (*AiSkillCdInfo) Descriptor() ([]byte, []int) { + return file_AiSkillCdInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AiSkillCdInfo) GetSkillCdMap() map[uint32]uint32 { + if x != nil { + return x.SkillCdMap + } + return nil +} + +func (x *AiSkillCdInfo) GetSkillGroupCdMap() map[uint32]uint32 { + if x != nil { + return x.SkillGroupCdMap + } + return nil +} + +var File_AiSkillCdInfo_proto protoreflect.FileDescriptor + +var file_AiSkillCdInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x02, 0x0a, 0x0d, 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, + 0x6c, 0x43, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x63, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x12, 0x50, 0x0a, 0x12, 0x73, 0x6b, 0x69, + 0x6c, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x6c, + 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x1a, 0x3d, 0x0a, 0x0f, 0x53, + 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AiSkillCdInfo_proto_rawDescOnce sync.Once + file_AiSkillCdInfo_proto_rawDescData = file_AiSkillCdInfo_proto_rawDesc +) + +func file_AiSkillCdInfo_proto_rawDescGZIP() []byte { + file_AiSkillCdInfo_proto_rawDescOnce.Do(func() { + file_AiSkillCdInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AiSkillCdInfo_proto_rawDescData) + }) + return file_AiSkillCdInfo_proto_rawDescData +} + +var file_AiSkillCdInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_AiSkillCdInfo_proto_goTypes = []interface{}{ + (*AiSkillCdInfo)(nil), // 0: AiSkillCdInfo + nil, // 1: AiSkillCdInfo.SkillCdMapEntry + nil, // 2: AiSkillCdInfo.SkillGroupCdMapEntry +} +var file_AiSkillCdInfo_proto_depIdxs = []int32{ + 1, // 0: AiSkillCdInfo.skill_cd_map:type_name -> AiSkillCdInfo.SkillCdMapEntry + 2, // 1: AiSkillCdInfo.skill_group_cd_map:type_name -> AiSkillCdInfo.SkillGroupCdMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AiSkillCdInfo_proto_init() } +func file_AiSkillCdInfo_proto_init() { + if File_AiSkillCdInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AiSkillCdInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AiSkillCdInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AiSkillCdInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AiSkillCdInfo_proto_goTypes, + DependencyIndexes: file_AiSkillCdInfo_proto_depIdxs, + MessageInfos: file_AiSkillCdInfo_proto_msgTypes, + }.Build() + File_AiSkillCdInfo_proto = out.File + file_AiSkillCdInfo_proto_rawDesc = nil + file_AiSkillCdInfo_proto_goTypes = nil + file_AiSkillCdInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AiSkillCdInfo.proto b/gate-hk4e-api/proto/AiSkillCdInfo.proto new file mode 100644 index 00000000..dba30588 --- /dev/null +++ b/gate-hk4e-api/proto/AiSkillCdInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AiSkillCdInfo { + map skill_cd_map = 11; + map skill_group_cd_map = 6; +} diff --git a/gate-hk4e-api/proto/AiSyncInfo.pb.go b/gate-hk4e-api/proto/AiSyncInfo.pb.go new file mode 100644 index 00000000..9b4dcb7b --- /dev/null +++ b/gate-hk4e-api/proto/AiSyncInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AiSyncInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AiSyncInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + IsSelfKilling bool `protobuf:"varint,8,opt,name=is_self_killing,json=isSelfKilling,proto3" json:"is_self_killing,omitempty"` + HasPathToTarget bool `protobuf:"varint,4,opt,name=has_path_to_target,json=hasPathToTarget,proto3" json:"has_path_to_target,omitempty"` +} + +func (x *AiSyncInfo) Reset() { + *x = AiSyncInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AiSyncInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AiSyncInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AiSyncInfo) ProtoMessage() {} + +func (x *AiSyncInfo) ProtoReflect() protoreflect.Message { + mi := &file_AiSyncInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AiSyncInfo.ProtoReflect.Descriptor instead. +func (*AiSyncInfo) Descriptor() ([]byte, []int) { + return file_AiSyncInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AiSyncInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AiSyncInfo) GetIsSelfKilling() bool { + if x != nil { + return x.IsSelfKilling + } + return false +} + +func (x *AiSyncInfo) GetHasPathToTarget() bool { + if x != nil { + return x.HasPathToTarget + } + return false +} + +var File_AiSyncInfo_proto protoreflect.FileDescriptor + +var file_AiSyncInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x0a, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x4b, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0f, 0x68, 0x61, 0x73, 0x50, 0x61, 0x74, 0x68, 0x54, 0x6f, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AiSyncInfo_proto_rawDescOnce sync.Once + file_AiSyncInfo_proto_rawDescData = file_AiSyncInfo_proto_rawDesc +) + +func file_AiSyncInfo_proto_rawDescGZIP() []byte { + file_AiSyncInfo_proto_rawDescOnce.Do(func() { + file_AiSyncInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AiSyncInfo_proto_rawDescData) + }) + return file_AiSyncInfo_proto_rawDescData +} + +var file_AiSyncInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AiSyncInfo_proto_goTypes = []interface{}{ + (*AiSyncInfo)(nil), // 0: AiSyncInfo +} +var file_AiSyncInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AiSyncInfo_proto_init() } +func file_AiSyncInfo_proto_init() { + if File_AiSyncInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AiSyncInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AiSyncInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AiSyncInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AiSyncInfo_proto_goTypes, + DependencyIndexes: file_AiSyncInfo_proto_depIdxs, + MessageInfos: file_AiSyncInfo_proto_msgTypes, + }.Build() + File_AiSyncInfo_proto = out.File + file_AiSyncInfo_proto_rawDesc = nil + file_AiSyncInfo_proto_goTypes = nil + file_AiSyncInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AiSyncInfo.proto b/gate-hk4e-api/proto/AiSyncInfo.proto new file mode 100644 index 00000000..2cf5c20a --- /dev/null +++ b/gate-hk4e-api/proto/AiSyncInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AiSyncInfo { + uint32 entity_id = 9; + bool is_self_killing = 8; + bool has_path_to_target = 4; +} diff --git a/gate-hk4e-api/proto/AiThreatInfo.pb.go b/gate-hk4e-api/proto/AiThreatInfo.pb.go new file mode 100644 index 00000000..04a3c91b --- /dev/null +++ b/gate-hk4e-api/proto/AiThreatInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AiThreatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AiThreatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AiThreatMap map[uint32]uint32 `protobuf:"bytes,11,rep,name=ai_threat_map,json=aiThreatMap,proto3" json:"ai_threat_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *AiThreatInfo) Reset() { + *x = AiThreatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AiThreatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AiThreatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AiThreatInfo) ProtoMessage() {} + +func (x *AiThreatInfo) ProtoReflect() protoreflect.Message { + mi := &file_AiThreatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AiThreatInfo.ProtoReflect.Descriptor instead. +func (*AiThreatInfo) Descriptor() ([]byte, []int) { + return file_AiThreatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AiThreatInfo) GetAiThreatMap() map[uint32]uint32 { + if x != nil { + return x.AiThreatMap + } + return nil +} + +var File_AiThreatInfo_proto protoreflect.FileDescriptor + +var file_AiThreatInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x41, 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x0c, 0x41, 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0d, 0x61, 0x69, 0x5f, 0x74, 0x68, 0x72, 0x65, + 0x61, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x41, + 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x69, 0x54, 0x68, + 0x72, 0x65, 0x61, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x69, + 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x4d, 0x61, 0x70, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x69, 0x54, + 0x68, 0x72, 0x65, 0x61, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AiThreatInfo_proto_rawDescOnce sync.Once + file_AiThreatInfo_proto_rawDescData = file_AiThreatInfo_proto_rawDesc +) + +func file_AiThreatInfo_proto_rawDescGZIP() []byte { + file_AiThreatInfo_proto_rawDescOnce.Do(func() { + file_AiThreatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AiThreatInfo_proto_rawDescData) + }) + return file_AiThreatInfo_proto_rawDescData +} + +var file_AiThreatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AiThreatInfo_proto_goTypes = []interface{}{ + (*AiThreatInfo)(nil), // 0: AiThreatInfo + nil, // 1: AiThreatInfo.AiThreatMapEntry +} +var file_AiThreatInfo_proto_depIdxs = []int32{ + 1, // 0: AiThreatInfo.ai_threat_map:type_name -> AiThreatInfo.AiThreatMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AiThreatInfo_proto_init() } +func file_AiThreatInfo_proto_init() { + if File_AiThreatInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AiThreatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AiThreatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AiThreatInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AiThreatInfo_proto_goTypes, + DependencyIndexes: file_AiThreatInfo_proto_depIdxs, + MessageInfos: file_AiThreatInfo_proto_msgTypes, + }.Build() + File_AiThreatInfo_proto = out.File + file_AiThreatInfo_proto_rawDesc = nil + file_AiThreatInfo_proto_goTypes = nil + file_AiThreatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AiThreatInfo.proto b/gate-hk4e-api/proto/AiThreatInfo.proto new file mode 100644 index 00000000..d63c9890 --- /dev/null +++ b/gate-hk4e-api/proto/AiThreatInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AiThreatInfo { + map ai_threat_map = 11; +} diff --git a/gate-hk4e-api/proto/AllCoopInfoNotify.pb.go b/gate-hk4e-api/proto/AllCoopInfoNotify.pb.go new file mode 100644 index 00000000..129c9d97 --- /dev/null +++ b/gate-hk4e-api/proto/AllCoopInfoNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AllCoopInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1976 +// EnetChannelId: 0 +// EnetIsReliable: true +type AllCoopInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MainCoopList []*MainCoop `protobuf:"bytes,14,rep,name=main_coop_list,json=mainCoopList,proto3" json:"main_coop_list,omitempty"` +} + +func (x *AllCoopInfoNotify) Reset() { + *x = AllCoopInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AllCoopInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AllCoopInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AllCoopInfoNotify) ProtoMessage() {} + +func (x *AllCoopInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AllCoopInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AllCoopInfoNotify.ProtoReflect.Descriptor instead. +func (*AllCoopInfoNotify) Descriptor() ([]byte, []int) { + return file_AllCoopInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AllCoopInfoNotify) GetMainCoopList() []*MainCoop { + if x != nil { + return x.MainCoopList + } + return nil +} + +var File_AllCoopInfoNotify_proto protoreflect.FileDescriptor + +var file_AllCoopInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x69, 0x6e, 0x43, + 0x6f, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x11, 0x41, 0x6c, 0x6c, + 0x43, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, + 0x0a, 0x0e, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, + 0x70, 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AllCoopInfoNotify_proto_rawDescOnce sync.Once + file_AllCoopInfoNotify_proto_rawDescData = file_AllCoopInfoNotify_proto_rawDesc +) + +func file_AllCoopInfoNotify_proto_rawDescGZIP() []byte { + file_AllCoopInfoNotify_proto_rawDescOnce.Do(func() { + file_AllCoopInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AllCoopInfoNotify_proto_rawDescData) + }) + return file_AllCoopInfoNotify_proto_rawDescData +} + +var file_AllCoopInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AllCoopInfoNotify_proto_goTypes = []interface{}{ + (*AllCoopInfoNotify)(nil), // 0: AllCoopInfoNotify + (*MainCoop)(nil), // 1: MainCoop +} +var file_AllCoopInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AllCoopInfoNotify.main_coop_list:type_name -> MainCoop + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AllCoopInfoNotify_proto_init() } +func file_AllCoopInfoNotify_proto_init() { + if File_AllCoopInfoNotify_proto != nil { + return + } + file_MainCoop_proto_init() + if !protoimpl.UnsafeEnabled { + file_AllCoopInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AllCoopInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AllCoopInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AllCoopInfoNotify_proto_goTypes, + DependencyIndexes: file_AllCoopInfoNotify_proto_depIdxs, + MessageInfos: file_AllCoopInfoNotify_proto_msgTypes, + }.Build() + File_AllCoopInfoNotify_proto = out.File + file_AllCoopInfoNotify_proto_rawDesc = nil + file_AllCoopInfoNotify_proto_goTypes = nil + file_AllCoopInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AllCoopInfoNotify.proto b/gate-hk4e-api/proto/AllCoopInfoNotify.proto new file mode 100644 index 00000000..3b0e947b --- /dev/null +++ b/gate-hk4e-api/proto/AllCoopInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MainCoop.proto"; + +option go_package = "./;proto"; + +// CmdId: 1976 +// EnetChannelId: 0 +// EnetIsReliable: true +message AllCoopInfoNotify { + repeated MainCoop main_coop_list = 14; +} diff --git a/gate-hk4e-api/proto/AllMarkPointNotify.pb.go b/gate-hk4e-api/proto/AllMarkPointNotify.pb.go new file mode 100644 index 00000000..18eabeab --- /dev/null +++ b/gate-hk4e-api/proto/AllMarkPointNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AllMarkPointNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3283 +// EnetChannelId: 0 +// EnetIsReliable: true +type AllMarkPointNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MarkList []*MapMarkPoint `protobuf:"bytes,7,rep,name=mark_list,json=markList,proto3" json:"mark_list,omitempty"` +} + +func (x *AllMarkPointNotify) Reset() { + *x = AllMarkPointNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AllMarkPointNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AllMarkPointNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AllMarkPointNotify) ProtoMessage() {} + +func (x *AllMarkPointNotify) ProtoReflect() protoreflect.Message { + mi := &file_AllMarkPointNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AllMarkPointNotify.ProtoReflect.Descriptor instead. +func (*AllMarkPointNotify) Descriptor() ([]byte, []int) { + return file_AllMarkPointNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AllMarkPointNotify) GetMarkList() []*MapMarkPoint { + if x != nil { + return x.MarkList + } + return nil +} + +var File_AllMarkPointNotify_proto protoreflect.FileDescriptor + +var file_AllMarkPointNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x61, 0x70, 0x4d, + 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, + 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AllMarkPointNotify_proto_rawDescOnce sync.Once + file_AllMarkPointNotify_proto_rawDescData = file_AllMarkPointNotify_proto_rawDesc +) + +func file_AllMarkPointNotify_proto_rawDescGZIP() []byte { + file_AllMarkPointNotify_proto_rawDescOnce.Do(func() { + file_AllMarkPointNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AllMarkPointNotify_proto_rawDescData) + }) + return file_AllMarkPointNotify_proto_rawDescData +} + +var file_AllMarkPointNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AllMarkPointNotify_proto_goTypes = []interface{}{ + (*AllMarkPointNotify)(nil), // 0: AllMarkPointNotify + (*MapMarkPoint)(nil), // 1: MapMarkPoint +} +var file_AllMarkPointNotify_proto_depIdxs = []int32{ + 1, // 0: AllMarkPointNotify.mark_list:type_name -> MapMarkPoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AllMarkPointNotify_proto_init() } +func file_AllMarkPointNotify_proto_init() { + if File_AllMarkPointNotify_proto != nil { + return + } + file_MapMarkPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_AllMarkPointNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AllMarkPointNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AllMarkPointNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AllMarkPointNotify_proto_goTypes, + DependencyIndexes: file_AllMarkPointNotify_proto_depIdxs, + MessageInfos: file_AllMarkPointNotify_proto_msgTypes, + }.Build() + File_AllMarkPointNotify_proto = out.File + file_AllMarkPointNotify_proto_rawDesc = nil + file_AllMarkPointNotify_proto_goTypes = nil + file_AllMarkPointNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AllMarkPointNotify.proto b/gate-hk4e-api/proto/AllMarkPointNotify.proto new file mode 100644 index 00000000..c1820345 --- /dev/null +++ b/gate-hk4e-api/proto/AllMarkPointNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkPoint.proto"; + +option go_package = "./;proto"; + +// CmdId: 3283 +// EnetChannelId: 0 +// EnetIsReliable: true +message AllMarkPointNotify { + repeated MapMarkPoint mark_list = 7; +} diff --git a/gate-hk4e-api/proto/AllSeenMonsterNotify.pb.go b/gate-hk4e-api/proto/AllSeenMonsterNotify.pb.go new file mode 100644 index 00000000..1752e217 --- /dev/null +++ b/gate-hk4e-api/proto/AllSeenMonsterNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AllSeenMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 271 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AllSeenMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterIdList []uint32 `protobuf:"varint,4,rep,packed,name=monster_id_list,json=monsterIdList,proto3" json:"monster_id_list,omitempty"` +} + +func (x *AllSeenMonsterNotify) Reset() { + *x = AllSeenMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AllSeenMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AllSeenMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AllSeenMonsterNotify) ProtoMessage() {} + +func (x *AllSeenMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_AllSeenMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AllSeenMonsterNotify.ProtoReflect.Descriptor instead. +func (*AllSeenMonsterNotify) Descriptor() ([]byte, []int) { + return file_AllSeenMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AllSeenMonsterNotify) GetMonsterIdList() []uint32 { + if x != nil { + return x.MonsterIdList + } + return nil +} + +var File_AllSeenMonsterNotify_proto protoreflect.FileDescriptor + +var file_AllSeenMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x14, + 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AllSeenMonsterNotify_proto_rawDescOnce sync.Once + file_AllSeenMonsterNotify_proto_rawDescData = file_AllSeenMonsterNotify_proto_rawDesc +) + +func file_AllSeenMonsterNotify_proto_rawDescGZIP() []byte { + file_AllSeenMonsterNotify_proto_rawDescOnce.Do(func() { + file_AllSeenMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AllSeenMonsterNotify_proto_rawDescData) + }) + return file_AllSeenMonsterNotify_proto_rawDescData +} + +var file_AllSeenMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AllSeenMonsterNotify_proto_goTypes = []interface{}{ + (*AllSeenMonsterNotify)(nil), // 0: AllSeenMonsterNotify +} +var file_AllSeenMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AllSeenMonsterNotify_proto_init() } +func file_AllSeenMonsterNotify_proto_init() { + if File_AllSeenMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AllSeenMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AllSeenMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AllSeenMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AllSeenMonsterNotify_proto_goTypes, + DependencyIndexes: file_AllSeenMonsterNotify_proto_depIdxs, + MessageInfos: file_AllSeenMonsterNotify_proto_msgTypes, + }.Build() + File_AllSeenMonsterNotify_proto = out.File + file_AllSeenMonsterNotify_proto_rawDesc = nil + file_AllSeenMonsterNotify_proto_goTypes = nil + file_AllSeenMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AllSeenMonsterNotify.proto b/gate-hk4e-api/proto/AllSeenMonsterNotify.proto new file mode 100644 index 00000000..488eb2b8 --- /dev/null +++ b/gate-hk4e-api/proto/AllSeenMonsterNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 271 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AllSeenMonsterNotify { + repeated uint32 monster_id_list = 4; +} diff --git a/gate-hk4e-api/proto/AllWidgetDataNotify.pb.go b/gate-hk4e-api/proto/AllWidgetDataNotify.pb.go new file mode 100644 index 00000000..b2b236a5 --- /dev/null +++ b/gate-hk4e-api/proto/AllWidgetDataNotify.pb.go @@ -0,0 +1,309 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AllWidgetDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4271 +// EnetChannelId: 0 +// EnetIsReliable: true +type AllWidgetDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CNNFGFBBBFP []uint32 `protobuf:"varint,11,rep,packed,name=Unk3000_CNNFGFBBBFP,json=Unk3000CNNFGFBBBFP,proto3" json:"Unk3000_CNNFGFBBBFP,omitempty"` + LunchBoxData *LunchBoxData `protobuf:"bytes,1,opt,name=lunch_box_data,json=lunchBoxData,proto3" json:"lunch_box_data,omitempty"` + CoolDownGroupDataList []*WidgetCoolDownData `protobuf:"bytes,13,rep,name=cool_down_group_data_list,json=coolDownGroupDataList,proto3" json:"cool_down_group_data_list,omitempty"` + AnchorPointList []*AnchorPointData `protobuf:"bytes,3,rep,name=anchor_point_list,json=anchorPointList,proto3" json:"anchor_point_list,omitempty"` + SlotList []*WidgetSlotData `protobuf:"bytes,6,rep,name=slot_list,json=slotList,proto3" json:"slot_list,omitempty"` + NextAnchorPointUsableTime uint32 `protobuf:"varint,10,opt,name=next_anchor_point_usable_time,json=nextAnchorPointUsableTime,proto3" json:"next_anchor_point_usable_time,omitempty"` + ClientCollectorDataList []*ClientCollectorData `protobuf:"bytes,4,rep,name=client_collector_data_list,json=clientCollectorDataList,proto3" json:"client_collector_data_list,omitempty"` + OneofGatherPointDetectorDataList []*OneofGatherPointDetectorData `protobuf:"bytes,15,rep,name=oneof_gather_point_detector_data_list,json=oneofGatherPointDetectorDataList,proto3" json:"oneof_gather_point_detector_data_list,omitempty"` + NormalCoolDownDataList []*WidgetCoolDownData `protobuf:"bytes,9,rep,name=normal_cool_down_data_list,json=normalCoolDownDataList,proto3" json:"normal_cool_down_data_list,omitempty"` + Unk2700_COIELIGEACL *Unk2700_CCEOEOHLAPK `protobuf:"bytes,12,opt,name=Unk2700_COIELIGEACL,json=Unk2700COIELIGEACL,proto3" json:"Unk2700_COIELIGEACL,omitempty"` +} + +func (x *AllWidgetDataNotify) Reset() { + *x = AllWidgetDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AllWidgetDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AllWidgetDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AllWidgetDataNotify) ProtoMessage() {} + +func (x *AllWidgetDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AllWidgetDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AllWidgetDataNotify.ProtoReflect.Descriptor instead. +func (*AllWidgetDataNotify) Descriptor() ([]byte, []int) { + return file_AllWidgetDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AllWidgetDataNotify) GetUnk3000_CNNFGFBBBFP() []uint32 { + if x != nil { + return x.Unk3000_CNNFGFBBBFP + } + return nil +} + +func (x *AllWidgetDataNotify) GetLunchBoxData() *LunchBoxData { + if x != nil { + return x.LunchBoxData + } + return nil +} + +func (x *AllWidgetDataNotify) GetCoolDownGroupDataList() []*WidgetCoolDownData { + if x != nil { + return x.CoolDownGroupDataList + } + return nil +} + +func (x *AllWidgetDataNotify) GetAnchorPointList() []*AnchorPointData { + if x != nil { + return x.AnchorPointList + } + return nil +} + +func (x *AllWidgetDataNotify) GetSlotList() []*WidgetSlotData { + if x != nil { + return x.SlotList + } + return nil +} + +func (x *AllWidgetDataNotify) GetNextAnchorPointUsableTime() uint32 { + if x != nil { + return x.NextAnchorPointUsableTime + } + return 0 +} + +func (x *AllWidgetDataNotify) GetClientCollectorDataList() []*ClientCollectorData { + if x != nil { + return x.ClientCollectorDataList + } + return nil +} + +func (x *AllWidgetDataNotify) GetOneofGatherPointDetectorDataList() []*OneofGatherPointDetectorData { + if x != nil { + return x.OneofGatherPointDetectorDataList + } + return nil +} + +func (x *AllWidgetDataNotify) GetNormalCoolDownDataList() []*WidgetCoolDownData { + if x != nil { + return x.NormalCoolDownDataList + } + return nil +} + +func (x *AllWidgetDataNotify) GetUnk2700_COIELIGEACL() *Unk2700_CCEOEOHLAPK { + if x != nil { + return x.Unk2700_COIELIGEACL + } + return nil +} + +var File_AllWidgetDataNotify_proto protoreflect.FileDescriptor + +var file_AllWidgetDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, 0x6e, 0x63, + 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4c, + 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x22, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, 0x50, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xd3, 0x05, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x4e, 0x46, 0x47, 0x46, 0x42, 0x42, 0x42, 0x46, 0x50, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x4e, + 0x4e, 0x46, 0x47, 0x46, 0x42, 0x42, 0x42, 0x46, 0x50, 0x12, 0x33, 0x0a, 0x0e, 0x6c, 0x75, 0x6e, + 0x63, 0x68, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0d, 0x2e, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x0c, 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4d, + 0x0a, 0x19, 0x63, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, + 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x15, 0x63, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, + 0x11, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x6e, 0x63, 0x68, 0x6f, + 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x61, 0x6e, 0x63, 0x68, + 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x73, + 0x6c, 0x6f, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x73, 0x6c, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x1d, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x19, 0x6e, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x55, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x1a, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x17, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x6e, + 0x0a, 0x25, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x20, 0x6f, 0x6e, + 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, + 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, + 0x0a, 0x1a, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, 0x6f, + 0x77, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, + 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x16, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, + 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x49, 0x45, 0x4c, + 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, + 0x50, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x49, 0x45, 0x4c, + 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AllWidgetDataNotify_proto_rawDescOnce sync.Once + file_AllWidgetDataNotify_proto_rawDescData = file_AllWidgetDataNotify_proto_rawDesc +) + +func file_AllWidgetDataNotify_proto_rawDescGZIP() []byte { + file_AllWidgetDataNotify_proto_rawDescOnce.Do(func() { + file_AllWidgetDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AllWidgetDataNotify_proto_rawDescData) + }) + return file_AllWidgetDataNotify_proto_rawDescData +} + +var file_AllWidgetDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AllWidgetDataNotify_proto_goTypes = []interface{}{ + (*AllWidgetDataNotify)(nil), // 0: AllWidgetDataNotify + (*LunchBoxData)(nil), // 1: LunchBoxData + (*WidgetCoolDownData)(nil), // 2: WidgetCoolDownData + (*AnchorPointData)(nil), // 3: AnchorPointData + (*WidgetSlotData)(nil), // 4: WidgetSlotData + (*ClientCollectorData)(nil), // 5: ClientCollectorData + (*OneofGatherPointDetectorData)(nil), // 6: OneofGatherPointDetectorData + (*Unk2700_CCEOEOHLAPK)(nil), // 7: Unk2700_CCEOEOHLAPK +} +var file_AllWidgetDataNotify_proto_depIdxs = []int32{ + 1, // 0: AllWidgetDataNotify.lunch_box_data:type_name -> LunchBoxData + 2, // 1: AllWidgetDataNotify.cool_down_group_data_list:type_name -> WidgetCoolDownData + 3, // 2: AllWidgetDataNotify.anchor_point_list:type_name -> AnchorPointData + 4, // 3: AllWidgetDataNotify.slot_list:type_name -> WidgetSlotData + 5, // 4: AllWidgetDataNotify.client_collector_data_list:type_name -> ClientCollectorData + 6, // 5: AllWidgetDataNotify.oneof_gather_point_detector_data_list:type_name -> OneofGatherPointDetectorData + 2, // 6: AllWidgetDataNotify.normal_cool_down_data_list:type_name -> WidgetCoolDownData + 7, // 7: AllWidgetDataNotify.Unk2700_COIELIGEACL:type_name -> Unk2700_CCEOEOHLAPK + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_AllWidgetDataNotify_proto_init() } +func file_AllWidgetDataNotify_proto_init() { + if File_AllWidgetDataNotify_proto != nil { + return + } + file_AnchorPointData_proto_init() + file_ClientCollectorData_proto_init() + file_LunchBoxData_proto_init() + file_OneofGatherPointDetectorData_proto_init() + file_Unk2700_CCEOEOHLAPK_proto_init() + file_WidgetCoolDownData_proto_init() + file_WidgetSlotData_proto_init() + if !protoimpl.UnsafeEnabled { + file_AllWidgetDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AllWidgetDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AllWidgetDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AllWidgetDataNotify_proto_goTypes, + DependencyIndexes: file_AllWidgetDataNotify_proto_depIdxs, + MessageInfos: file_AllWidgetDataNotify_proto_msgTypes, + }.Build() + File_AllWidgetDataNotify_proto = out.File + file_AllWidgetDataNotify_proto_rawDesc = nil + file_AllWidgetDataNotify_proto_goTypes = nil + file_AllWidgetDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AllWidgetDataNotify.proto b/gate-hk4e-api/proto/AllWidgetDataNotify.proto new file mode 100644 index 00000000..ee702909 --- /dev/null +++ b/gate-hk4e-api/proto/AllWidgetDataNotify.proto @@ -0,0 +1,43 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnchorPointData.proto"; +import "ClientCollectorData.proto"; +import "LunchBoxData.proto"; +import "OneofGatherPointDetectorData.proto"; +import "Unk2700_CCEOEOHLAPK.proto"; +import "WidgetCoolDownData.proto"; +import "WidgetSlotData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4271 +// EnetChannelId: 0 +// EnetIsReliable: true +message AllWidgetDataNotify { + repeated uint32 Unk3000_CNNFGFBBBFP = 11; + LunchBoxData lunch_box_data = 1; + repeated WidgetCoolDownData cool_down_group_data_list = 13; + repeated AnchorPointData anchor_point_list = 3; + repeated WidgetSlotData slot_list = 6; + uint32 next_anchor_point_usable_time = 10; + repeated ClientCollectorData client_collector_data_list = 4; + repeated OneofGatherPointDetectorData oneof_gather_point_detector_data_list = 15; + repeated WidgetCoolDownData normal_cool_down_data_list = 9; + Unk2700_CCEOEOHLAPK Unk2700_COIELIGEACL = 12; +} diff --git a/gate-hk4e-api/proto/AnchorPointData.pb.go b/gate-hk4e-api/proto/AnchorPointData.pb.go new file mode 100644 index 00000000..4d1b7db8 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointData.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnchorPointData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnchorPointData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + AnchorPointId uint32 `protobuf:"varint,9,opt,name=anchor_point_id,json=anchorPointId,proto3" json:"anchor_point_id,omitempty"` + EndTime uint32 `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Pos *Vector `protobuf:"bytes,15,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,2,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *AnchorPointData) Reset() { + *x = AnchorPointData{} + if protoimpl.UnsafeEnabled { + mi := &file_AnchorPointData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnchorPointData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnchorPointData) ProtoMessage() {} + +func (x *AnchorPointData) ProtoReflect() protoreflect.Message { + mi := &file_AnchorPointData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnchorPointData.ProtoReflect.Descriptor instead. +func (*AnchorPointData) Descriptor() ([]byte, []int) { + return file_AnchorPointData_proto_rawDescGZIP(), []int{0} +} + +func (x *AnchorPointData) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *AnchorPointData) GetAnchorPointId() uint32 { + if x != nil { + return x.AnchorPointId + } + return 0 +} + +func (x *AnchorPointData) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *AnchorPointData) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *AnchorPointData) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_AnchorPointData_proto protoreflect.FileDescriptor + +var file_AnchorPointData_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x0f, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, + 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, + 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AnchorPointData_proto_rawDescOnce sync.Once + file_AnchorPointData_proto_rawDescData = file_AnchorPointData_proto_rawDesc +) + +func file_AnchorPointData_proto_rawDescGZIP() []byte { + file_AnchorPointData_proto_rawDescOnce.Do(func() { + file_AnchorPointData_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnchorPointData_proto_rawDescData) + }) + return file_AnchorPointData_proto_rawDescData +} + +var file_AnchorPointData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnchorPointData_proto_goTypes = []interface{}{ + (*AnchorPointData)(nil), // 0: AnchorPointData + (*Vector)(nil), // 1: Vector +} +var file_AnchorPointData_proto_depIdxs = []int32{ + 1, // 0: AnchorPointData.pos:type_name -> Vector + 1, // 1: AnchorPointData.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AnchorPointData_proto_init() } +func file_AnchorPointData_proto_init() { + if File_AnchorPointData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AnchorPointData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnchorPointData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnchorPointData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnchorPointData_proto_goTypes, + DependencyIndexes: file_AnchorPointData_proto_depIdxs, + MessageInfos: file_AnchorPointData_proto_msgTypes, + }.Build() + File_AnchorPointData_proto = out.File + file_AnchorPointData_proto_rawDesc = nil + file_AnchorPointData_proto_goTypes = nil + file_AnchorPointData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnchorPointData.proto b/gate-hk4e-api/proto/AnchorPointData.proto new file mode 100644 index 00000000..f1bec0f6 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AnchorPointData { + uint32 scene_id = 5; + uint32 anchor_point_id = 9; + uint32 end_time = 8; + Vector pos = 15; + Vector rot = 2; +} diff --git a/gate-hk4e-api/proto/AnchorPointDataNotify.pb.go b/gate-hk4e-api/proto/AnchorPointDataNotify.pb.go new file mode 100644 index 00000000..1badcca4 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointDataNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnchorPointDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4276 +// EnetChannelId: 0 +// EnetIsReliable: true +type AnchorPointDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnchorPointList []*AnchorPointData `protobuf:"bytes,10,rep,name=anchor_point_list,json=anchorPointList,proto3" json:"anchor_point_list,omitempty"` + NextUsableTime uint32 `protobuf:"varint,14,opt,name=next_usable_time,json=nextUsableTime,proto3" json:"next_usable_time,omitempty"` +} + +func (x *AnchorPointDataNotify) Reset() { + *x = AnchorPointDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AnchorPointDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnchorPointDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnchorPointDataNotify) ProtoMessage() {} + +func (x *AnchorPointDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AnchorPointDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnchorPointDataNotify.ProtoReflect.Descriptor instead. +func (*AnchorPointDataNotify) Descriptor() ([]byte, []int) { + return file_AnchorPointDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AnchorPointDataNotify) GetAnchorPointList() []*AnchorPointData { + if x != nil { + return x.AnchorPointList + } + return nil +} + +func (x *AnchorPointDataNotify) GetNextUsableTime() uint32 { + if x != nil { + return x.NextUsableTime + } + return 0 +} + +var File_AnchorPointDataNotify_proto protoreflect.FileDescriptor + +var file_AnchorPointDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, + 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3c, 0x0a, + 0x11, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x6e, 0x63, 0x68, 0x6f, + 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x61, 0x6e, 0x63, 0x68, + 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x55, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AnchorPointDataNotify_proto_rawDescOnce sync.Once + file_AnchorPointDataNotify_proto_rawDescData = file_AnchorPointDataNotify_proto_rawDesc +) + +func file_AnchorPointDataNotify_proto_rawDescGZIP() []byte { + file_AnchorPointDataNotify_proto_rawDescOnce.Do(func() { + file_AnchorPointDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnchorPointDataNotify_proto_rawDescData) + }) + return file_AnchorPointDataNotify_proto_rawDescData +} + +var file_AnchorPointDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnchorPointDataNotify_proto_goTypes = []interface{}{ + (*AnchorPointDataNotify)(nil), // 0: AnchorPointDataNotify + (*AnchorPointData)(nil), // 1: AnchorPointData +} +var file_AnchorPointDataNotify_proto_depIdxs = []int32{ + 1, // 0: AnchorPointDataNotify.anchor_point_list:type_name -> AnchorPointData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AnchorPointDataNotify_proto_init() } +func file_AnchorPointDataNotify_proto_init() { + if File_AnchorPointDataNotify_proto != nil { + return + } + file_AnchorPointData_proto_init() + if !protoimpl.UnsafeEnabled { + file_AnchorPointDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnchorPointDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnchorPointDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnchorPointDataNotify_proto_goTypes, + DependencyIndexes: file_AnchorPointDataNotify_proto_depIdxs, + MessageInfos: file_AnchorPointDataNotify_proto_msgTypes, + }.Build() + File_AnchorPointDataNotify_proto = out.File + file_AnchorPointDataNotify_proto_rawDesc = nil + file_AnchorPointDataNotify_proto_goTypes = nil + file_AnchorPointDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnchorPointDataNotify.proto b/gate-hk4e-api/proto/AnchorPointDataNotify.proto new file mode 100644 index 00000000..9dc69135 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnchorPointData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4276 +// EnetChannelId: 0 +// EnetIsReliable: true +message AnchorPointDataNotify { + repeated AnchorPointData anchor_point_list = 10; + uint32 next_usable_time = 14; +} diff --git a/gate-hk4e-api/proto/AnchorPointOpReq.pb.go b/gate-hk4e-api/proto/AnchorPointOpReq.pb.go new file mode 100644 index 00000000..8c7fa08b --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointOpReq.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnchorPointOpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnchorPointOpReq_AnchorPointOpType int32 + +const ( + AnchorPointOpReq_ANCHOR_POINT_OP_TYPE_NONE AnchorPointOpReq_AnchorPointOpType = 0 + AnchorPointOpReq_ANCHOR_POINT_OP_TYPE_TELEPORT AnchorPointOpReq_AnchorPointOpType = 1 + AnchorPointOpReq_ANCHOR_POINT_OP_TYPE_REMOVE AnchorPointOpReq_AnchorPointOpType = 2 +) + +// Enum value maps for AnchorPointOpReq_AnchorPointOpType. +var ( + AnchorPointOpReq_AnchorPointOpType_name = map[int32]string{ + 0: "ANCHOR_POINT_OP_TYPE_NONE", + 1: "ANCHOR_POINT_OP_TYPE_TELEPORT", + 2: "ANCHOR_POINT_OP_TYPE_REMOVE", + } + AnchorPointOpReq_AnchorPointOpType_value = map[string]int32{ + "ANCHOR_POINT_OP_TYPE_NONE": 0, + "ANCHOR_POINT_OP_TYPE_TELEPORT": 1, + "ANCHOR_POINT_OP_TYPE_REMOVE": 2, + } +) + +func (x AnchorPointOpReq_AnchorPointOpType) Enum() *AnchorPointOpReq_AnchorPointOpType { + p := new(AnchorPointOpReq_AnchorPointOpType) + *p = x + return p +} + +func (x AnchorPointOpReq_AnchorPointOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AnchorPointOpReq_AnchorPointOpType) Descriptor() protoreflect.EnumDescriptor { + return file_AnchorPointOpReq_proto_enumTypes[0].Descriptor() +} + +func (AnchorPointOpReq_AnchorPointOpType) Type() protoreflect.EnumType { + return &file_AnchorPointOpReq_proto_enumTypes[0] +} + +func (x AnchorPointOpReq_AnchorPointOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AnchorPointOpReq_AnchorPointOpType.Descriptor instead. +func (AnchorPointOpReq_AnchorPointOpType) EnumDescriptor() ([]byte, []int) { + return file_AnchorPointOpReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 4257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AnchorPointOpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnchorPointId uint32 `protobuf:"varint,9,opt,name=anchor_point_id,json=anchorPointId,proto3" json:"anchor_point_id,omitempty"` + AnchorPointOpType uint32 `protobuf:"varint,12,opt,name=anchor_point_op_type,json=anchorPointOpType,proto3" json:"anchor_point_op_type,omitempty"` +} + +func (x *AnchorPointOpReq) Reset() { + *x = AnchorPointOpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AnchorPointOpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnchorPointOpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnchorPointOpReq) ProtoMessage() {} + +func (x *AnchorPointOpReq) ProtoReflect() protoreflect.Message { + mi := &file_AnchorPointOpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnchorPointOpReq.ProtoReflect.Descriptor instead. +func (*AnchorPointOpReq) Descriptor() ([]byte, []int) { + return file_AnchorPointOpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AnchorPointOpReq) GetAnchorPointId() uint32 { + if x != nil { + return x.AnchorPointId + } + return 0 +} + +func (x *AnchorPointOpReq) GetAnchorPointOpType() uint32 { + if x != nil { + return x.AnchorPointOpType + } + return 0 +} + +var File_AnchorPointOpReq_proto protoreflect.FileDescriptor + +var file_AnchorPointOpReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x10, 0x41, 0x6e, 0x63, + 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, + 0x0f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, 0x76, 0x0a, 0x11, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x41, + 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4f, 0x50, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x4e, + 0x43, 0x48, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x54, 0x45, 0x4c, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x1f, 0x0a, + 0x1b, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4f, 0x50, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AnchorPointOpReq_proto_rawDescOnce sync.Once + file_AnchorPointOpReq_proto_rawDescData = file_AnchorPointOpReq_proto_rawDesc +) + +func file_AnchorPointOpReq_proto_rawDescGZIP() []byte { + file_AnchorPointOpReq_proto_rawDescOnce.Do(func() { + file_AnchorPointOpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnchorPointOpReq_proto_rawDescData) + }) + return file_AnchorPointOpReq_proto_rawDescData +} + +var file_AnchorPointOpReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_AnchorPointOpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnchorPointOpReq_proto_goTypes = []interface{}{ + (AnchorPointOpReq_AnchorPointOpType)(0), // 0: AnchorPointOpReq.AnchorPointOpType + (*AnchorPointOpReq)(nil), // 1: AnchorPointOpReq +} +var file_AnchorPointOpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AnchorPointOpReq_proto_init() } +func file_AnchorPointOpReq_proto_init() { + if File_AnchorPointOpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AnchorPointOpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnchorPointOpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnchorPointOpReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnchorPointOpReq_proto_goTypes, + DependencyIndexes: file_AnchorPointOpReq_proto_depIdxs, + EnumInfos: file_AnchorPointOpReq_proto_enumTypes, + MessageInfos: file_AnchorPointOpReq_proto_msgTypes, + }.Build() + File_AnchorPointOpReq_proto = out.File + file_AnchorPointOpReq_proto_rawDesc = nil + file_AnchorPointOpReq_proto_goTypes = nil + file_AnchorPointOpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnchorPointOpReq.proto b/gate-hk4e-api/proto/AnchorPointOpReq.proto new file mode 100644 index 00000000..199c5962 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointOpReq.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AnchorPointOpReq { + uint32 anchor_point_id = 9; + uint32 anchor_point_op_type = 12; + + enum AnchorPointOpType { + ANCHOR_POINT_OP_TYPE_NONE = 0; + ANCHOR_POINT_OP_TYPE_TELEPORT = 1; + ANCHOR_POINT_OP_TYPE_REMOVE = 2; + } +} diff --git a/gate-hk4e-api/proto/AnchorPointOpRsp.pb.go b/gate-hk4e-api/proto/AnchorPointOpRsp.pb.go new file mode 100644 index 00000000..5517de03 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointOpRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnchorPointOpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4252 +// EnetChannelId: 0 +// EnetIsReliable: true +type AnchorPointOpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + AnchorPointId uint32 `protobuf:"varint,12,opt,name=anchor_point_id,json=anchorPointId,proto3" json:"anchor_point_id,omitempty"` + AnchorPointOpType uint32 `protobuf:"varint,4,opt,name=anchor_point_op_type,json=anchorPointOpType,proto3" json:"anchor_point_op_type,omitempty"` +} + +func (x *AnchorPointOpRsp) Reset() { + *x = AnchorPointOpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AnchorPointOpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnchorPointOpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnchorPointOpRsp) ProtoMessage() {} + +func (x *AnchorPointOpRsp) ProtoReflect() protoreflect.Message { + mi := &file_AnchorPointOpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnchorPointOpRsp.ProtoReflect.Descriptor instead. +func (*AnchorPointOpRsp) Descriptor() ([]byte, []int) { + return file_AnchorPointOpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AnchorPointOpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AnchorPointOpRsp) GetAnchorPointId() uint32 { + if x != nil { + return x.AnchorPointId + } + return 0 +} + +func (x *AnchorPointOpRsp) GetAnchorPointOpType() uint32 { + if x != nil { + return x.AnchorPointOpType + } + return 0 +} + +var File_AnchorPointOpRsp_proto protoreflect.FileDescriptor + +var file_AnchorPointOpRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x10, 0x41, 0x6e, 0x63, + 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x6e, 0x63, 0x68, 0x6f, + 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x2f, 0x0a, 0x14, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x61, + 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AnchorPointOpRsp_proto_rawDescOnce sync.Once + file_AnchorPointOpRsp_proto_rawDescData = file_AnchorPointOpRsp_proto_rawDesc +) + +func file_AnchorPointOpRsp_proto_rawDescGZIP() []byte { + file_AnchorPointOpRsp_proto_rawDescOnce.Do(func() { + file_AnchorPointOpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnchorPointOpRsp_proto_rawDescData) + }) + return file_AnchorPointOpRsp_proto_rawDescData +} + +var file_AnchorPointOpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnchorPointOpRsp_proto_goTypes = []interface{}{ + (*AnchorPointOpRsp)(nil), // 0: AnchorPointOpRsp +} +var file_AnchorPointOpRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AnchorPointOpRsp_proto_init() } +func file_AnchorPointOpRsp_proto_init() { + if File_AnchorPointOpRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AnchorPointOpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnchorPointOpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnchorPointOpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnchorPointOpRsp_proto_goTypes, + DependencyIndexes: file_AnchorPointOpRsp_proto_depIdxs, + MessageInfos: file_AnchorPointOpRsp_proto_msgTypes, + }.Build() + File_AnchorPointOpRsp_proto = out.File + file_AnchorPointOpRsp_proto_rawDesc = nil + file_AnchorPointOpRsp_proto_goTypes = nil + file_AnchorPointOpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnchorPointOpRsp.proto b/gate-hk4e-api/proto/AnchorPointOpRsp.proto new file mode 100644 index 00000000..3c0b60a6 --- /dev/null +++ b/gate-hk4e-api/proto/AnchorPointOpRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4252 +// EnetChannelId: 0 +// EnetIsReliable: true +message AnchorPointOpRsp { + int32 retcode = 5; + uint32 anchor_point_id = 12; + uint32 anchor_point_op_type = 4; +} diff --git a/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.pb.go b/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.pb.go new file mode 100644 index 00000000..5630b868 --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnimatorForceSetAirMoveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 374 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AnimatorForceSetAirMoveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + InAirMove bool `protobuf:"varint,13,opt,name=in_air_move,json=inAirMove,proto3" json:"in_air_move,omitempty"` + ForwardType ForwardType `protobuf:"varint,9,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` +} + +func (x *AnimatorForceSetAirMoveNotify) Reset() { + *x = AnimatorForceSetAirMoveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AnimatorForceSetAirMoveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnimatorForceSetAirMoveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnimatorForceSetAirMoveNotify) ProtoMessage() {} + +func (x *AnimatorForceSetAirMoveNotify) ProtoReflect() protoreflect.Message { + mi := &file_AnimatorForceSetAirMoveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnimatorForceSetAirMoveNotify.ProtoReflect.Descriptor instead. +func (*AnimatorForceSetAirMoveNotify) Descriptor() ([]byte, []int) { + return file_AnimatorForceSetAirMoveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AnimatorForceSetAirMoveNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AnimatorForceSetAirMoveNotify) GetInAirMove() bool { + if x != nil { + return x.InAirMove + } + return false +} + +func (x *AnimatorForceSetAirMoveNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +var File_AnimatorForceSetAirMoveNotify_proto protoreflect.FileDescriptor + +var file_AnimatorForceSetAirMoveNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, + 0x65, 0x74, 0x41, 0x69, 0x72, 0x4d, 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x1d, 0x41, 0x6e, 0x69, + 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x65, 0x74, 0x41, 0x69, 0x72, + 0x4d, 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x61, 0x69, + 0x72, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, + 0x41, 0x69, 0x72, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AnimatorForceSetAirMoveNotify_proto_rawDescOnce sync.Once + file_AnimatorForceSetAirMoveNotify_proto_rawDescData = file_AnimatorForceSetAirMoveNotify_proto_rawDesc +) + +func file_AnimatorForceSetAirMoveNotify_proto_rawDescGZIP() []byte { + file_AnimatorForceSetAirMoveNotify_proto_rawDescOnce.Do(func() { + file_AnimatorForceSetAirMoveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnimatorForceSetAirMoveNotify_proto_rawDescData) + }) + return file_AnimatorForceSetAirMoveNotify_proto_rawDescData +} + +var file_AnimatorForceSetAirMoveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnimatorForceSetAirMoveNotify_proto_goTypes = []interface{}{ + (*AnimatorForceSetAirMoveNotify)(nil), // 0: AnimatorForceSetAirMoveNotify + (ForwardType)(0), // 1: ForwardType +} +var file_AnimatorForceSetAirMoveNotify_proto_depIdxs = []int32{ + 1, // 0: AnimatorForceSetAirMoveNotify.forward_type:type_name -> ForwardType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AnimatorForceSetAirMoveNotify_proto_init() } +func file_AnimatorForceSetAirMoveNotify_proto_init() { + if File_AnimatorForceSetAirMoveNotify_proto != nil { + return + } + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_AnimatorForceSetAirMoveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnimatorForceSetAirMoveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnimatorForceSetAirMoveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnimatorForceSetAirMoveNotify_proto_goTypes, + DependencyIndexes: file_AnimatorForceSetAirMoveNotify_proto_depIdxs, + MessageInfos: file_AnimatorForceSetAirMoveNotify_proto_msgTypes, + }.Build() + File_AnimatorForceSetAirMoveNotify_proto = out.File + file_AnimatorForceSetAirMoveNotify_proto_rawDesc = nil + file_AnimatorForceSetAirMoveNotify_proto_goTypes = nil + file_AnimatorForceSetAirMoveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.proto b/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.proto new file mode 100644 index 00000000..346c5840 --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorForceSetAirMoveNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 374 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AnimatorForceSetAirMoveNotify { + uint32 entity_id = 14; + bool in_air_move = 13; + ForwardType forward_type = 9; +} diff --git a/gate-hk4e-api/proto/AnimatorParameterValueInfo.pb.go b/gate-hk4e-api/proto/AnimatorParameterValueInfo.pb.go new file mode 100644 index 00000000..9e4e1826 --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorParameterValueInfo.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnimatorParameterValueInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnimatorParameterValueInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParaType uint32 `protobuf:"varint,1,opt,name=para_type,json=paraType,proto3" json:"para_type,omitempty"` + // Types that are assignable to ParaVal: + // *AnimatorParameterValueInfo_IntVal + // *AnimatorParameterValueInfo_FloatVal + // *AnimatorParameterValueInfo_BoolVal + ParaVal isAnimatorParameterValueInfo_ParaVal `protobuf_oneof:"para_val"` +} + +func (x *AnimatorParameterValueInfo) Reset() { + *x = AnimatorParameterValueInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AnimatorParameterValueInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnimatorParameterValueInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnimatorParameterValueInfo) ProtoMessage() {} + +func (x *AnimatorParameterValueInfo) ProtoReflect() protoreflect.Message { + mi := &file_AnimatorParameterValueInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnimatorParameterValueInfo.ProtoReflect.Descriptor instead. +func (*AnimatorParameterValueInfo) Descriptor() ([]byte, []int) { + return file_AnimatorParameterValueInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AnimatorParameterValueInfo) GetParaType() uint32 { + if x != nil { + return x.ParaType + } + return 0 +} + +func (m *AnimatorParameterValueInfo) GetParaVal() isAnimatorParameterValueInfo_ParaVal { + if m != nil { + return m.ParaVal + } + return nil +} + +func (x *AnimatorParameterValueInfo) GetIntVal() int32 { + if x, ok := x.GetParaVal().(*AnimatorParameterValueInfo_IntVal); ok { + return x.IntVal + } + return 0 +} + +func (x *AnimatorParameterValueInfo) GetFloatVal() float32 { + if x, ok := x.GetParaVal().(*AnimatorParameterValueInfo_FloatVal); ok { + return x.FloatVal + } + return 0 +} + +func (x *AnimatorParameterValueInfo) GetBoolVal() bool { + if x, ok := x.GetParaVal().(*AnimatorParameterValueInfo_BoolVal); ok { + return x.BoolVal + } + return false +} + +type isAnimatorParameterValueInfo_ParaVal interface { + isAnimatorParameterValueInfo_ParaVal() +} + +type AnimatorParameterValueInfo_IntVal struct { + IntVal int32 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3,oneof"` +} + +type AnimatorParameterValueInfo_FloatVal struct { + FloatVal float32 `protobuf:"fixed32,3,opt,name=float_val,json=floatVal,proto3,oneof"` +} + +type AnimatorParameterValueInfo_BoolVal struct { + BoolVal bool `protobuf:"varint,4,opt,name=bool_val,json=boolVal,proto3,oneof"` +} + +func (*AnimatorParameterValueInfo_IntVal) isAnimatorParameterValueInfo_ParaVal() {} + +func (*AnimatorParameterValueInfo_FloatVal) isAnimatorParameterValueInfo_ParaVal() {} + +func (*AnimatorParameterValueInfo_BoolVal) isAnimatorParameterValueInfo_ParaVal() {} + +var File_AnimatorParameterValueInfo_proto protoreflect.FileDescriptor + +var file_AnimatorParameterValueInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x1a, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x72, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, + 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, + 0x00, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x09, 0x66, 0x6c, 0x6f, + 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x08, + 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x6c, + 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, + 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x42, 0x0a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x61, 0x5f, 0x76, 0x61, + 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AnimatorParameterValueInfo_proto_rawDescOnce sync.Once + file_AnimatorParameterValueInfo_proto_rawDescData = file_AnimatorParameterValueInfo_proto_rawDesc +) + +func file_AnimatorParameterValueInfo_proto_rawDescGZIP() []byte { + file_AnimatorParameterValueInfo_proto_rawDescOnce.Do(func() { + file_AnimatorParameterValueInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnimatorParameterValueInfo_proto_rawDescData) + }) + return file_AnimatorParameterValueInfo_proto_rawDescData +} + +var file_AnimatorParameterValueInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnimatorParameterValueInfo_proto_goTypes = []interface{}{ + (*AnimatorParameterValueInfo)(nil), // 0: AnimatorParameterValueInfo +} +var file_AnimatorParameterValueInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AnimatorParameterValueInfo_proto_init() } +func file_AnimatorParameterValueInfo_proto_init() { + if File_AnimatorParameterValueInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AnimatorParameterValueInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnimatorParameterValueInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_AnimatorParameterValueInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AnimatorParameterValueInfo_IntVal)(nil), + (*AnimatorParameterValueInfo_FloatVal)(nil), + (*AnimatorParameterValueInfo_BoolVal)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnimatorParameterValueInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnimatorParameterValueInfo_proto_goTypes, + DependencyIndexes: file_AnimatorParameterValueInfo_proto_depIdxs, + MessageInfos: file_AnimatorParameterValueInfo_proto_msgTypes, + }.Build() + File_AnimatorParameterValueInfo_proto = out.File + file_AnimatorParameterValueInfo_proto_rawDesc = nil + file_AnimatorParameterValueInfo_proto_goTypes = nil + file_AnimatorParameterValueInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnimatorParameterValueInfo.proto b/gate-hk4e-api/proto/AnimatorParameterValueInfo.proto new file mode 100644 index 00000000..45d30a9c --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorParameterValueInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AnimatorParameterValueInfo { + uint32 para_type = 1; + oneof para_val { + int32 int_val = 2; + float float_val = 3; + bool bool_val = 4; + } +} diff --git a/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.pb.go b/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.pb.go new file mode 100644 index 00000000..0ae6907d --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnimatorParameterValueInfoPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnimatorParameterValueInfoPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NameId int32 `protobuf:"varint,1,opt,name=name_id,json=nameId,proto3" json:"name_id,omitempty"` + AnimatorPara *AnimatorParameterValueInfo `protobuf:"bytes,2,opt,name=animator_para,json=animatorPara,proto3" json:"animator_para,omitempty"` +} + +func (x *AnimatorParameterValueInfoPair) Reset() { + *x = AnimatorParameterValueInfoPair{} + if protoimpl.UnsafeEnabled { + mi := &file_AnimatorParameterValueInfoPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnimatorParameterValueInfoPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnimatorParameterValueInfoPair) ProtoMessage() {} + +func (x *AnimatorParameterValueInfoPair) ProtoReflect() protoreflect.Message { + mi := &file_AnimatorParameterValueInfoPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnimatorParameterValueInfoPair.ProtoReflect.Descriptor instead. +func (*AnimatorParameterValueInfoPair) Descriptor() ([]byte, []int) { + return file_AnimatorParameterValueInfoPair_proto_rawDescGZIP(), []int{0} +} + +func (x *AnimatorParameterValueInfoPair) GetNameId() int32 { + if x != nil { + return x.NameId + } + return 0 +} + +func (x *AnimatorParameterValueInfoPair) GetAnimatorPara() *AnimatorParameterValueInfo { + if x != nil { + return x.AnimatorPara + } + return nil +} + +var File_AnimatorParameterValueInfoPair_proto protoreflect.FileDescriptor + +var file_AnimatorParameterValueInfoPair_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1e, 0x41, 0x6e, 0x69, 0x6d, + 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x61, 0x6d, + 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x70, 0x61, 0x72, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x41, 0x6e, 0x69, + 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AnimatorParameterValueInfoPair_proto_rawDescOnce sync.Once + file_AnimatorParameterValueInfoPair_proto_rawDescData = file_AnimatorParameterValueInfoPair_proto_rawDesc +) + +func file_AnimatorParameterValueInfoPair_proto_rawDescGZIP() []byte { + file_AnimatorParameterValueInfoPair_proto_rawDescOnce.Do(func() { + file_AnimatorParameterValueInfoPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnimatorParameterValueInfoPair_proto_rawDescData) + }) + return file_AnimatorParameterValueInfoPair_proto_rawDescData +} + +var file_AnimatorParameterValueInfoPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnimatorParameterValueInfoPair_proto_goTypes = []interface{}{ + (*AnimatorParameterValueInfoPair)(nil), // 0: AnimatorParameterValueInfoPair + (*AnimatorParameterValueInfo)(nil), // 1: AnimatorParameterValueInfo +} +var file_AnimatorParameterValueInfoPair_proto_depIdxs = []int32{ + 1, // 0: AnimatorParameterValueInfoPair.animator_para:type_name -> AnimatorParameterValueInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AnimatorParameterValueInfoPair_proto_init() } +func file_AnimatorParameterValueInfoPair_proto_init() { + if File_AnimatorParameterValueInfoPair_proto != nil { + return + } + file_AnimatorParameterValueInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AnimatorParameterValueInfoPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnimatorParameterValueInfoPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnimatorParameterValueInfoPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnimatorParameterValueInfoPair_proto_goTypes, + DependencyIndexes: file_AnimatorParameterValueInfoPair_proto_depIdxs, + MessageInfos: file_AnimatorParameterValueInfoPair_proto_msgTypes, + }.Build() + File_AnimatorParameterValueInfoPair_proto = out.File + file_AnimatorParameterValueInfoPair_proto_rawDesc = nil + file_AnimatorParameterValueInfoPair_proto_goTypes = nil + file_AnimatorParameterValueInfoPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.proto b/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.proto new file mode 100644 index 00000000..66a40084 --- /dev/null +++ b/gate-hk4e-api/proto/AnimatorParameterValueInfoPair.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnimatorParameterValueInfo.proto"; + +option go_package = "./;proto"; + +message AnimatorParameterValueInfoPair { + int32 name_id = 1; + AnimatorParameterValueInfo animator_para = 2; +} diff --git a/gate-hk4e-api/proto/AnnounceData.pb.go b/gate-hk4e-api/proto/AnnounceData.pb.go new file mode 100644 index 00000000..976d407e --- /dev/null +++ b/gate-hk4e-api/proto/AnnounceData.pb.go @@ -0,0 +1,246 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AnnounceData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnnounceData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CountDownText string `protobuf:"bytes,9,opt,name=count_down_text,json=countDownText,proto3" json:"count_down_text,omitempty"` + CenterSystemText string `protobuf:"bytes,8,opt,name=center_system_text,json=centerSystemText,proto3" json:"center_system_text,omitempty"` + CountDownFrequency uint32 `protobuf:"varint,1,opt,name=count_down_frequency,json=countDownFrequency,proto3" json:"count_down_frequency,omitempty"` + ConfigId uint32 `protobuf:"varint,7,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + BeginTime uint32 `protobuf:"varint,4,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + CenterSystemFrequency uint32 `protobuf:"varint,11,opt,name=center_system_frequency,json=centerSystemFrequency,proto3" json:"center_system_frequency,omitempty"` + DungeonConfirmText string `protobuf:"bytes,2,opt,name=dungeon_confirm_text,json=dungeonConfirmText,proto3" json:"dungeon_confirm_text,omitempty"` + IsCenterSystemLast5EveryMinutes bool `protobuf:"varint,14,opt,name=is_center_system_last5_every_minutes,json=isCenterSystemLast5EveryMinutes,proto3" json:"is_center_system_last5_every_minutes,omitempty"` + EndTime uint32 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *AnnounceData) Reset() { + *x = AnnounceData{} + if protoimpl.UnsafeEnabled { + mi := &file_AnnounceData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnnounceData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnnounceData) ProtoMessage() {} + +func (x *AnnounceData) ProtoReflect() protoreflect.Message { + mi := &file_AnnounceData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnnounceData.ProtoReflect.Descriptor instead. +func (*AnnounceData) Descriptor() ([]byte, []int) { + return file_AnnounceData_proto_rawDescGZIP(), []int{0} +} + +func (x *AnnounceData) GetCountDownText() string { + if x != nil { + return x.CountDownText + } + return "" +} + +func (x *AnnounceData) GetCenterSystemText() string { + if x != nil { + return x.CenterSystemText + } + return "" +} + +func (x *AnnounceData) GetCountDownFrequency() uint32 { + if x != nil { + return x.CountDownFrequency + } + return 0 +} + +func (x *AnnounceData) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *AnnounceData) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *AnnounceData) GetCenterSystemFrequency() uint32 { + if x != nil { + return x.CenterSystemFrequency + } + return 0 +} + +func (x *AnnounceData) GetDungeonConfirmText() string { + if x != nil { + return x.DungeonConfirmText + } + return "" +} + +func (x *AnnounceData) GetIsCenterSystemLast5EveryMinutes() bool { + if x != nil { + return x.IsCenterSystemLast5EveryMinutes + } + return false +} + +func (x *AnnounceData) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_AnnounceData_proto protoreflect.FileDescriptor + +var file_AnnounceData_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x03, 0x0a, 0x0c, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x2c, 0x0a, + 0x12, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x65, 0x78, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x44, 0x6f, 0x77, 0x6e, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, + 0x79, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x12, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x54, + 0x65, 0x78, 0x74, 0x12, 0x4d, 0x0a, 0x24, 0x69, 0x73, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x35, 0x5f, 0x65, 0x76, + 0x65, 0x72, 0x79, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x1f, 0x69, 0x73, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x4c, 0x61, 0x73, 0x74, 0x35, 0x45, 0x76, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x75, 0x74, + 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AnnounceData_proto_rawDescOnce sync.Once + file_AnnounceData_proto_rawDescData = file_AnnounceData_proto_rawDesc +) + +func file_AnnounceData_proto_rawDescGZIP() []byte { + file_AnnounceData_proto_rawDescOnce.Do(func() { + file_AnnounceData_proto_rawDescData = protoimpl.X.CompressGZIP(file_AnnounceData_proto_rawDescData) + }) + return file_AnnounceData_proto_rawDescData +} + +var file_AnnounceData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AnnounceData_proto_goTypes = []interface{}{ + (*AnnounceData)(nil), // 0: AnnounceData +} +var file_AnnounceData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AnnounceData_proto_init() } +func file_AnnounceData_proto_init() { + if File_AnnounceData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AnnounceData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnnounceData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AnnounceData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AnnounceData_proto_goTypes, + DependencyIndexes: file_AnnounceData_proto_depIdxs, + MessageInfos: file_AnnounceData_proto_msgTypes, + }.Build() + File_AnnounceData_proto = out.File + file_AnnounceData_proto_rawDesc = nil + file_AnnounceData_proto_goTypes = nil + file_AnnounceData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AnnounceData.proto b/gate-hk4e-api/proto/AnnounceData.proto new file mode 100644 index 00000000..c945d92e --- /dev/null +++ b/gate-hk4e-api/proto/AnnounceData.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AnnounceData { + string count_down_text = 9; + string center_system_text = 8; + uint32 count_down_frequency = 1; + uint32 config_id = 7; + uint32 begin_time = 4; + uint32 center_system_frequency = 11; + string dungeon_confirm_text = 2; + bool is_center_system_last5_every_minutes = 14; + uint32 end_time = 10; +} diff --git a/gate-hk4e-api/proto/AntiAddictNotify.pb.go b/gate-hk4e-api/proto/AntiAddictNotify.pb.go new file mode 100644 index 00000000..10004524 --- /dev/null +++ b/gate-hk4e-api/proto/AntiAddictNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AntiAddictNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 180 +// EnetChannelId: 0 +// EnetIsReliable: true +type AntiAddictNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MsgType int32 `protobuf:"varint,6,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"` + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + Level string `protobuf:"bytes,5,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *AntiAddictNotify) Reset() { + *x = AntiAddictNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AntiAddictNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AntiAddictNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AntiAddictNotify) ProtoMessage() {} + +func (x *AntiAddictNotify) ProtoReflect() protoreflect.Message { + mi := &file_AntiAddictNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AntiAddictNotify.ProtoReflect.Descriptor instead. +func (*AntiAddictNotify) Descriptor() ([]byte, []int) { + return file_AntiAddictNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AntiAddictNotify) GetMsgType() int32 { + if x != nil { + return x.MsgType + } + return 0 +} + +func (x *AntiAddictNotify) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *AntiAddictNotify) GetLevel() string { + if x != nil { + return x.Level + } + return "" +} + +var File_AntiAddictNotify_proto protoreflect.FileDescriptor + +var file_AntiAddictNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x6e, 0x74, 0x69, 0x41, 0x64, 0x64, 0x69, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x10, 0x41, 0x6e, 0x74, 0x69, + 0x41, 0x64, 0x64, 0x69, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, + 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AntiAddictNotify_proto_rawDescOnce sync.Once + file_AntiAddictNotify_proto_rawDescData = file_AntiAddictNotify_proto_rawDesc +) + +func file_AntiAddictNotify_proto_rawDescGZIP() []byte { + file_AntiAddictNotify_proto_rawDescOnce.Do(func() { + file_AntiAddictNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AntiAddictNotify_proto_rawDescData) + }) + return file_AntiAddictNotify_proto_rawDescData +} + +var file_AntiAddictNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AntiAddictNotify_proto_goTypes = []interface{}{ + (*AntiAddictNotify)(nil), // 0: AntiAddictNotify +} +var file_AntiAddictNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AntiAddictNotify_proto_init() } +func file_AntiAddictNotify_proto_init() { + if File_AntiAddictNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AntiAddictNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AntiAddictNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AntiAddictNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AntiAddictNotify_proto_goTypes, + DependencyIndexes: file_AntiAddictNotify_proto_depIdxs, + MessageInfos: file_AntiAddictNotify_proto_msgTypes, + }.Build() + File_AntiAddictNotify_proto = out.File + file_AntiAddictNotify_proto_rawDesc = nil + file_AntiAddictNotify_proto_goTypes = nil + file_AntiAddictNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AntiAddictNotify.proto b/gate-hk4e-api/proto/AntiAddictNotify.proto new file mode 100644 index 00000000..7c48b611 --- /dev/null +++ b/gate-hk4e-api/proto/AntiAddictNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 180 +// EnetChannelId: 0 +// EnetIsReliable: true +message AntiAddictNotify { + int32 msg_type = 6; + string msg = 3; + string level = 5; +} diff --git a/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.pb.go b/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.pb.go new file mode 100644 index 00000000..cdbad59b --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ArenaChallengeActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ArenaChallengeActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_GNKHCICOIMC bool `protobuf:"varint,14,opt,name=Unk2800_GNKHCICOIMC,json=Unk2800GNKHCICOIMC,proto3" json:"Unk2800_GNKHCICOIMC,omitempty"` + LevelOpenTimeMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=level_open_time_map,json=levelOpenTimeMap,proto3" json:"level_open_time_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + WorldLevel uint32 `protobuf:"varint,15,opt,name=world_level,json=worldLevel,proto3" json:"world_level,omitempty"` + LevelList []*ArenaChallengeMonsterLevel `protobuf:"bytes,9,rep,name=level_list,json=levelList,proto3" json:"level_list,omitempty"` +} + +func (x *ArenaChallengeActivityDetailInfo) Reset() { + *x = ArenaChallengeActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ArenaChallengeActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArenaChallengeActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArenaChallengeActivityDetailInfo) ProtoMessage() {} + +func (x *ArenaChallengeActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_ArenaChallengeActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArenaChallengeActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*ArenaChallengeActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_ArenaChallengeActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ArenaChallengeActivityDetailInfo) GetUnk2800_GNKHCICOIMC() bool { + if x != nil { + return x.Unk2800_GNKHCICOIMC + } + return false +} + +func (x *ArenaChallengeActivityDetailInfo) GetLevelOpenTimeMap() map[uint32]uint32 { + if x != nil { + return x.LevelOpenTimeMap + } + return nil +} + +func (x *ArenaChallengeActivityDetailInfo) GetWorldLevel() uint32 { + if x != nil { + return x.WorldLevel + } + return 0 +} + +func (x *ArenaChallengeActivityDetailInfo) GetLevelList() []*ArenaChallengeMonsterLevel { + if x != nil { + return x.LevelList + } + return nil +} + +var File_ArenaChallengeActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_ArenaChallengeActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x02, 0x0a, 0x20, 0x41, + 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x4b, 0x48, 0x43, + 0x49, 0x43, 0x4f, 0x49, 0x4d, 0x43, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x47, 0x4e, 0x4b, 0x48, 0x43, 0x49, 0x43, 0x4f, 0x49, 0x4d, 0x43, + 0x12, 0x66, 0x0a, 0x13, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, + 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x65, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, + 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, + 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3a, 0x0a, 0x0a, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x09, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x43, 0x0a, 0x15, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, + 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ArenaChallengeActivityDetailInfo_proto_rawDescOnce sync.Once + file_ArenaChallengeActivityDetailInfo_proto_rawDescData = file_ArenaChallengeActivityDetailInfo_proto_rawDesc +) + +func file_ArenaChallengeActivityDetailInfo_proto_rawDescGZIP() []byte { + file_ArenaChallengeActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_ArenaChallengeActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ArenaChallengeActivityDetailInfo_proto_rawDescData) + }) + return file_ArenaChallengeActivityDetailInfo_proto_rawDescData +} + +var file_ArenaChallengeActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ArenaChallengeActivityDetailInfo_proto_goTypes = []interface{}{ + (*ArenaChallengeActivityDetailInfo)(nil), // 0: ArenaChallengeActivityDetailInfo + nil, // 1: ArenaChallengeActivityDetailInfo.LevelOpenTimeMapEntry + (*ArenaChallengeMonsterLevel)(nil), // 2: ArenaChallengeMonsterLevel +} +var file_ArenaChallengeActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: ArenaChallengeActivityDetailInfo.level_open_time_map:type_name -> ArenaChallengeActivityDetailInfo.LevelOpenTimeMapEntry + 2, // 1: ArenaChallengeActivityDetailInfo.level_list:type_name -> ArenaChallengeMonsterLevel + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ArenaChallengeActivityDetailInfo_proto_init() } +func file_ArenaChallengeActivityDetailInfo_proto_init() { + if File_ArenaChallengeActivityDetailInfo_proto != nil { + return + } + file_ArenaChallengeMonsterLevel_proto_init() + if !protoimpl.UnsafeEnabled { + file_ArenaChallengeActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArenaChallengeActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ArenaChallengeActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ArenaChallengeActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_ArenaChallengeActivityDetailInfo_proto_depIdxs, + MessageInfos: file_ArenaChallengeActivityDetailInfo_proto_msgTypes, + }.Build() + File_ArenaChallengeActivityDetailInfo_proto = out.File + file_ArenaChallengeActivityDetailInfo_proto_rawDesc = nil + file_ArenaChallengeActivityDetailInfo_proto_goTypes = nil + file_ArenaChallengeActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.proto b/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.proto new file mode 100644 index 00000000..ade77534 --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ArenaChallengeMonsterLevel.proto"; + +option go_package = "./;proto"; + +message ArenaChallengeActivityDetailInfo { + bool Unk2800_GNKHCICOIMC = 14; + map level_open_time_map = 3; + uint32 world_level = 15; + repeated ArenaChallengeMonsterLevel level_list = 9; +} diff --git a/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.pb.go b/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.pb.go new file mode 100644 index 00000000..b623efad --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ArenaChallengeChildChallengeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ArenaChallengeChildChallengeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeId uint32 `protobuf:"varint,12,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + ChallengeType uint32 `protobuf:"varint,5,opt,name=challenge_type,json=challengeType,proto3" json:"challenge_type,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,4,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + IsSuccess bool `protobuf:"varint,7,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + IsSettled bool `protobuf:"varint,11,opt,name=is_settled,json=isSettled,proto3" json:"is_settled,omitempty"` +} + +func (x *ArenaChallengeChildChallengeInfo) Reset() { + *x = ArenaChallengeChildChallengeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ArenaChallengeChildChallengeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArenaChallengeChildChallengeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArenaChallengeChildChallengeInfo) ProtoMessage() {} + +func (x *ArenaChallengeChildChallengeInfo) ProtoReflect() protoreflect.Message { + mi := &file_ArenaChallengeChildChallengeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArenaChallengeChildChallengeInfo.ProtoReflect.Descriptor instead. +func (*ArenaChallengeChildChallengeInfo) Descriptor() ([]byte, []int) { + return file_ArenaChallengeChildChallengeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ArenaChallengeChildChallengeInfo) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *ArenaChallengeChildChallengeInfo) GetChallengeType() uint32 { + if x != nil { + return x.ChallengeType + } + return 0 +} + +func (x *ArenaChallengeChildChallengeInfo) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *ArenaChallengeChildChallengeInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *ArenaChallengeChildChallengeInfo) GetIsSettled() bool { + if x != nil { + return x.IsSettled + } + return false +} + +var File_ArenaChallengeChildChallengeInfo_proto protoreflect.FileDescriptor + +var file_ArenaChallengeChildChallengeInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x43, 0x68, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x20, 0x41, 0x72, 0x65, + 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ArenaChallengeChildChallengeInfo_proto_rawDescOnce sync.Once + file_ArenaChallengeChildChallengeInfo_proto_rawDescData = file_ArenaChallengeChildChallengeInfo_proto_rawDesc +) + +func file_ArenaChallengeChildChallengeInfo_proto_rawDescGZIP() []byte { + file_ArenaChallengeChildChallengeInfo_proto_rawDescOnce.Do(func() { + file_ArenaChallengeChildChallengeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ArenaChallengeChildChallengeInfo_proto_rawDescData) + }) + return file_ArenaChallengeChildChallengeInfo_proto_rawDescData +} + +var file_ArenaChallengeChildChallengeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ArenaChallengeChildChallengeInfo_proto_goTypes = []interface{}{ + (*ArenaChallengeChildChallengeInfo)(nil), // 0: ArenaChallengeChildChallengeInfo +} +var file_ArenaChallengeChildChallengeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ArenaChallengeChildChallengeInfo_proto_init() } +func file_ArenaChallengeChildChallengeInfo_proto_init() { + if File_ArenaChallengeChildChallengeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ArenaChallengeChildChallengeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArenaChallengeChildChallengeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ArenaChallengeChildChallengeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ArenaChallengeChildChallengeInfo_proto_goTypes, + DependencyIndexes: file_ArenaChallengeChildChallengeInfo_proto_depIdxs, + MessageInfos: file_ArenaChallengeChildChallengeInfo_proto_msgTypes, + }.Build() + File_ArenaChallengeChildChallengeInfo_proto = out.File + file_ArenaChallengeChildChallengeInfo_proto_rawDesc = nil + file_ArenaChallengeChildChallengeInfo_proto_goTypes = nil + file_ArenaChallengeChildChallengeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.proto b/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.proto new file mode 100644 index 00000000..fb5e4a8b --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeChildChallengeInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ArenaChallengeChildChallengeInfo { + uint32 challenge_id = 12; + uint32 challenge_type = 5; + uint32 challenge_index = 4; + bool is_success = 7; + bool is_settled = 11; +} diff --git a/gate-hk4e-api/proto/ArenaChallengeFinishNotify.pb.go b/gate-hk4e-api/proto/ArenaChallengeFinishNotify.pb.go new file mode 100644 index 00000000..2ff904cf --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeFinishNotify.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ArenaChallengeFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2030 +// EnetChannelId: 0 +// EnetIsReliable: true +type ArenaChallengeFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArenaChallengeLevel uint32 `protobuf:"varint,13,opt,name=arena_challenge_level,json=arenaChallengeLevel,proto3" json:"arena_challenge_level,omitempty"` + ArenaChallengeId uint32 `protobuf:"varint,3,opt,name=arena_challenge_id,json=arenaChallengeId,proto3" json:"arena_challenge_id,omitempty"` + ChildChallengeList []*ArenaChallengeChildChallengeInfo `protobuf:"bytes,2,rep,name=child_challenge_list,json=childChallengeList,proto3" json:"child_challenge_list,omitempty"` + IsSuccess bool `protobuf:"varint,12,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *ArenaChallengeFinishNotify) Reset() { + *x = ArenaChallengeFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ArenaChallengeFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArenaChallengeFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArenaChallengeFinishNotify) ProtoMessage() {} + +func (x *ArenaChallengeFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_ArenaChallengeFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArenaChallengeFinishNotify.ProtoReflect.Descriptor instead. +func (*ArenaChallengeFinishNotify) Descriptor() ([]byte, []int) { + return file_ArenaChallengeFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ArenaChallengeFinishNotify) GetArenaChallengeLevel() uint32 { + if x != nil { + return x.ArenaChallengeLevel + } + return 0 +} + +func (x *ArenaChallengeFinishNotify) GetArenaChallengeId() uint32 { + if x != nil { + return x.ArenaChallengeId + } + return 0 +} + +func (x *ArenaChallengeFinishNotify) GetChildChallengeList() []*ArenaChallengeChildChallengeInfo { + if x != nil { + return x.ChildChallengeList + } + return nil +} + +func (x *ArenaChallengeFinishNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_ArenaChallengeFinishNotify_proto protoreflect.FileDescriptor + +var file_ArenaChallengeFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x26, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x1a, 0x41, + 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x72, 0x65, + 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x61, 0x72, 0x65, 0x6e, 0x61, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x14, 0x63, + 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x41, 0x72, 0x65, 0x6e, + 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x63, 0x68, + 0x69, 0x6c, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ArenaChallengeFinishNotify_proto_rawDescOnce sync.Once + file_ArenaChallengeFinishNotify_proto_rawDescData = file_ArenaChallengeFinishNotify_proto_rawDesc +) + +func file_ArenaChallengeFinishNotify_proto_rawDescGZIP() []byte { + file_ArenaChallengeFinishNotify_proto_rawDescOnce.Do(func() { + file_ArenaChallengeFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ArenaChallengeFinishNotify_proto_rawDescData) + }) + return file_ArenaChallengeFinishNotify_proto_rawDescData +} + +var file_ArenaChallengeFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ArenaChallengeFinishNotify_proto_goTypes = []interface{}{ + (*ArenaChallengeFinishNotify)(nil), // 0: ArenaChallengeFinishNotify + (*ArenaChallengeChildChallengeInfo)(nil), // 1: ArenaChallengeChildChallengeInfo +} +var file_ArenaChallengeFinishNotify_proto_depIdxs = []int32{ + 1, // 0: ArenaChallengeFinishNotify.child_challenge_list:type_name -> ArenaChallengeChildChallengeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ArenaChallengeFinishNotify_proto_init() } +func file_ArenaChallengeFinishNotify_proto_init() { + if File_ArenaChallengeFinishNotify_proto != nil { + return + } + file_ArenaChallengeChildChallengeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ArenaChallengeFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArenaChallengeFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ArenaChallengeFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ArenaChallengeFinishNotify_proto_goTypes, + DependencyIndexes: file_ArenaChallengeFinishNotify_proto_depIdxs, + MessageInfos: file_ArenaChallengeFinishNotify_proto_msgTypes, + }.Build() + File_ArenaChallengeFinishNotify_proto = out.File + file_ArenaChallengeFinishNotify_proto_rawDesc = nil + file_ArenaChallengeFinishNotify_proto_goTypes = nil + file_ArenaChallengeFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ArenaChallengeFinishNotify.proto b/gate-hk4e-api/proto/ArenaChallengeFinishNotify.proto new file mode 100644 index 00000000..368030c8 --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeFinishNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ArenaChallengeChildChallengeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2030 +// EnetChannelId: 0 +// EnetIsReliable: true +message ArenaChallengeFinishNotify { + uint32 arena_challenge_level = 13; + uint32 arena_challenge_id = 3; + repeated ArenaChallengeChildChallengeInfo child_challenge_list = 2; + bool is_success = 12; +} diff --git a/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.pb.go b/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.pb.go new file mode 100644 index 00000000..a1e10a6a --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ArenaChallengeMonsterLevel.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ArenaChallengeMonsterLevel struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArenaChallengeLevel uint32 `protobuf:"varint,7,opt,name=arena_challenge_level,json=arenaChallengeLevel,proto3" json:"arena_challenge_level,omitempty"` + ArenaChallengeId uint32 `protobuf:"varint,15,opt,name=arena_challenge_id,json=arenaChallengeId,proto3" json:"arena_challenge_id,omitempty"` +} + +func (x *ArenaChallengeMonsterLevel) Reset() { + *x = ArenaChallengeMonsterLevel{} + if protoimpl.UnsafeEnabled { + mi := &file_ArenaChallengeMonsterLevel_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArenaChallengeMonsterLevel) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArenaChallengeMonsterLevel) ProtoMessage() {} + +func (x *ArenaChallengeMonsterLevel) ProtoReflect() protoreflect.Message { + mi := &file_ArenaChallengeMonsterLevel_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArenaChallengeMonsterLevel.ProtoReflect.Descriptor instead. +func (*ArenaChallengeMonsterLevel) Descriptor() ([]byte, []int) { + return file_ArenaChallengeMonsterLevel_proto_rawDescGZIP(), []int{0} +} + +func (x *ArenaChallengeMonsterLevel) GetArenaChallengeLevel() uint32 { + if x != nil { + return x.ArenaChallengeLevel + } + return 0 +} + +func (x *ArenaChallengeMonsterLevel) GetArenaChallengeId() uint32 { + if x != nil { + return x.ArenaChallengeId + } + return 0 +} + +var File_ArenaChallengeMonsterLevel_proto protoreflect.FileDescriptor + +var file_ArenaChallengeMonsterLevel_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x1a, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x32, 0x0a, 0x15, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x13, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ArenaChallengeMonsterLevel_proto_rawDescOnce sync.Once + file_ArenaChallengeMonsterLevel_proto_rawDescData = file_ArenaChallengeMonsterLevel_proto_rawDesc +) + +func file_ArenaChallengeMonsterLevel_proto_rawDescGZIP() []byte { + file_ArenaChallengeMonsterLevel_proto_rawDescOnce.Do(func() { + file_ArenaChallengeMonsterLevel_proto_rawDescData = protoimpl.X.CompressGZIP(file_ArenaChallengeMonsterLevel_proto_rawDescData) + }) + return file_ArenaChallengeMonsterLevel_proto_rawDescData +} + +var file_ArenaChallengeMonsterLevel_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ArenaChallengeMonsterLevel_proto_goTypes = []interface{}{ + (*ArenaChallengeMonsterLevel)(nil), // 0: ArenaChallengeMonsterLevel +} +var file_ArenaChallengeMonsterLevel_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ArenaChallengeMonsterLevel_proto_init() } +func file_ArenaChallengeMonsterLevel_proto_init() { + if File_ArenaChallengeMonsterLevel_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ArenaChallengeMonsterLevel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArenaChallengeMonsterLevel); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ArenaChallengeMonsterLevel_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ArenaChallengeMonsterLevel_proto_goTypes, + DependencyIndexes: file_ArenaChallengeMonsterLevel_proto_depIdxs, + MessageInfos: file_ArenaChallengeMonsterLevel_proto_msgTypes, + }.Build() + File_ArenaChallengeMonsterLevel_proto = out.File + file_ArenaChallengeMonsterLevel_proto_rawDesc = nil + file_ArenaChallengeMonsterLevel_proto_goTypes = nil + file_ArenaChallengeMonsterLevel_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.proto b/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.proto new file mode 100644 index 00000000..ce838f18 --- /dev/null +++ b/gate-hk4e-api/proto/ArenaChallengeMonsterLevel.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ArenaChallengeMonsterLevel { + uint32 arena_challenge_level = 7; + uint32 arena_challenge_id = 15; +} diff --git a/gate-hk4e-api/proto/AskAddFriendNotify.pb.go b/gate-hk4e-api/proto/AskAddFriendNotify.pb.go new file mode 100644 index 00000000..80e53808 --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendNotify.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AskAddFriendNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4065 +// EnetChannelId: 0 +// EnetIsReliable: true +type AskAddFriendNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetFriendBrief *FriendBrief `protobuf:"bytes,15,opt,name=target_friend_brief,json=targetFriendBrief,proto3" json:"target_friend_brief,omitempty"` + TargetUid uint32 `protobuf:"varint,9,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *AskAddFriendNotify) Reset() { + *x = AskAddFriendNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AskAddFriendNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AskAddFriendNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AskAddFriendNotify) ProtoMessage() {} + +func (x *AskAddFriendNotify) ProtoReflect() protoreflect.Message { + mi := &file_AskAddFriendNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AskAddFriendNotify.ProtoReflect.Descriptor instead. +func (*AskAddFriendNotify) Descriptor() ([]byte, []int) { + return file_AskAddFriendNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AskAddFriendNotify) GetTargetFriendBrief() *FriendBrief { + if x != nil { + return x.TargetFriendBrief + } + return nil +} + +func (x *AskAddFriendNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_AskAddFriendNotify_proto protoreflect.FileDescriptor + +var file_AskAddFriendNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x73, 0x6b, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, + 0x12, 0x41, 0x73, 0x6b, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x3c, 0x0a, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x66, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x11, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AskAddFriendNotify_proto_rawDescOnce sync.Once + file_AskAddFriendNotify_proto_rawDescData = file_AskAddFriendNotify_proto_rawDesc +) + +func file_AskAddFriendNotify_proto_rawDescGZIP() []byte { + file_AskAddFriendNotify_proto_rawDescOnce.Do(func() { + file_AskAddFriendNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AskAddFriendNotify_proto_rawDescData) + }) + return file_AskAddFriendNotify_proto_rawDescData +} + +var file_AskAddFriendNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AskAddFriendNotify_proto_goTypes = []interface{}{ + (*AskAddFriendNotify)(nil), // 0: AskAddFriendNotify + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_AskAddFriendNotify_proto_depIdxs = []int32{ + 1, // 0: AskAddFriendNotify.target_friend_brief:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AskAddFriendNotify_proto_init() } +func file_AskAddFriendNotify_proto_init() { + if File_AskAddFriendNotify_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_AskAddFriendNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AskAddFriendNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AskAddFriendNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AskAddFriendNotify_proto_goTypes, + DependencyIndexes: file_AskAddFriendNotify_proto_depIdxs, + MessageInfos: file_AskAddFriendNotify_proto_msgTypes, + }.Build() + File_AskAddFriendNotify_proto = out.File + file_AskAddFriendNotify_proto_rawDesc = nil + file_AskAddFriendNotify_proto_goTypes = nil + file_AskAddFriendNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AskAddFriendNotify.proto b/gate-hk4e-api/proto/AskAddFriendNotify.proto new file mode 100644 index 00000000..0b5b6bfb --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4065 +// EnetChannelId: 0 +// EnetIsReliable: true +message AskAddFriendNotify { + FriendBrief target_friend_brief = 15; + uint32 target_uid = 9; +} diff --git a/gate-hk4e-api/proto/AskAddFriendReq.pb.go b/gate-hk4e-api/proto/AskAddFriendReq.pb.go new file mode 100644 index 00000000..181c3d8f --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AskAddFriendReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4007 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AskAddFriendReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,7,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *AskAddFriendReq) Reset() { + *x = AskAddFriendReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AskAddFriendReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AskAddFriendReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AskAddFriendReq) ProtoMessage() {} + +func (x *AskAddFriendReq) ProtoReflect() protoreflect.Message { + mi := &file_AskAddFriendReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AskAddFriendReq.ProtoReflect.Descriptor instead. +func (*AskAddFriendReq) Descriptor() ([]byte, []int) { + return file_AskAddFriendReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AskAddFriendReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_AskAddFriendReq_proto protoreflect.FileDescriptor + +var file_AskAddFriendReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x73, 0x6b, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x0f, 0x41, 0x73, 0x6b, 0x41, 0x64, + 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AskAddFriendReq_proto_rawDescOnce sync.Once + file_AskAddFriendReq_proto_rawDescData = file_AskAddFriendReq_proto_rawDesc +) + +func file_AskAddFriendReq_proto_rawDescGZIP() []byte { + file_AskAddFriendReq_proto_rawDescOnce.Do(func() { + file_AskAddFriendReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AskAddFriendReq_proto_rawDescData) + }) + return file_AskAddFriendReq_proto_rawDescData +} + +var file_AskAddFriendReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AskAddFriendReq_proto_goTypes = []interface{}{ + (*AskAddFriendReq)(nil), // 0: AskAddFriendReq +} +var file_AskAddFriendReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AskAddFriendReq_proto_init() } +func file_AskAddFriendReq_proto_init() { + if File_AskAddFriendReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AskAddFriendReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AskAddFriendReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AskAddFriendReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AskAddFriendReq_proto_goTypes, + DependencyIndexes: file_AskAddFriendReq_proto_depIdxs, + MessageInfos: file_AskAddFriendReq_proto_msgTypes, + }.Build() + File_AskAddFriendReq_proto = out.File + file_AskAddFriendReq_proto_rawDesc = nil + file_AskAddFriendReq_proto_goTypes = nil + file_AskAddFriendReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AskAddFriendReq.proto b/gate-hk4e-api/proto/AskAddFriendReq.proto new file mode 100644 index 00000000..c2fc7523 --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4007 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AskAddFriendReq { + uint32 target_uid = 7; +} diff --git a/gate-hk4e-api/proto/AskAddFriendRsp.pb.go b/gate-hk4e-api/proto/AskAddFriendRsp.pb.go new file mode 100644 index 00000000..abe1da63 --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AskAddFriendRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4021 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AskAddFriendRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,8,opt,name=param,proto3" json:"param,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,4,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *AskAddFriendRsp) Reset() { + *x = AskAddFriendRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AskAddFriendRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AskAddFriendRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AskAddFriendRsp) ProtoMessage() {} + +func (x *AskAddFriendRsp) ProtoReflect() protoreflect.Message { + mi := &file_AskAddFriendRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AskAddFriendRsp.ProtoReflect.Descriptor instead. +func (*AskAddFriendRsp) Descriptor() ([]byte, []int) { + return file_AskAddFriendRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AskAddFriendRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *AskAddFriendRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AskAddFriendRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_AskAddFriendRsp_proto protoreflect.FileDescriptor + +var file_AskAddFriendRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x73, 0x6b, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0f, 0x41, 0x73, 0x6b, 0x41, 0x64, + 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AskAddFriendRsp_proto_rawDescOnce sync.Once + file_AskAddFriendRsp_proto_rawDescData = file_AskAddFriendRsp_proto_rawDesc +) + +func file_AskAddFriendRsp_proto_rawDescGZIP() []byte { + file_AskAddFriendRsp_proto_rawDescOnce.Do(func() { + file_AskAddFriendRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AskAddFriendRsp_proto_rawDescData) + }) + return file_AskAddFriendRsp_proto_rawDescData +} + +var file_AskAddFriendRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AskAddFriendRsp_proto_goTypes = []interface{}{ + (*AskAddFriendRsp)(nil), // 0: AskAddFriendRsp +} +var file_AskAddFriendRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AskAddFriendRsp_proto_init() } +func file_AskAddFriendRsp_proto_init() { + if File_AskAddFriendRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AskAddFriendRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AskAddFriendRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AskAddFriendRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AskAddFriendRsp_proto_goTypes, + DependencyIndexes: file_AskAddFriendRsp_proto_depIdxs, + MessageInfos: file_AskAddFriendRsp_proto_msgTypes, + }.Build() + File_AskAddFriendRsp_proto = out.File + file_AskAddFriendRsp_proto_rawDesc = nil + file_AskAddFriendRsp_proto_goTypes = nil + file_AskAddFriendRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AskAddFriendRsp.proto b/gate-hk4e-api/proto/AskAddFriendRsp.proto new file mode 100644 index 00000000..fd78323b --- /dev/null +++ b/gate-hk4e-api/proto/AskAddFriendRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4021 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AskAddFriendRsp { + uint32 param = 8; + int32 retcode = 7; + uint32 target_uid = 4; +} diff --git a/gate-hk4e-api/proto/AsterActivityDetailInfo.pb.go b/gate-hk4e-api/proto/AsterActivityDetailInfo.pb.go new file mode 100644 index 00000000..cd03c8ab --- /dev/null +++ b/gate-hk4e-api/proto/AsterActivityDetailInfo.pb.go @@ -0,0 +1,268 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AsterLittle *AsterLittleDetailInfo `protobuf:"bytes,7,opt,name=aster_little,json=asterLittle,proto3" json:"aster_little,omitempty"` + AsterCredit uint32 `protobuf:"varint,14,opt,name=aster_credit,json=asterCredit,proto3" json:"aster_credit,omitempty"` + AsterLarge *AsterLargeDetailInfo `protobuf:"bytes,9,opt,name=aster_large,json=asterLarge,proto3" json:"aster_large,omitempty"` + IsSpecialRewardTaken bool `protobuf:"varint,1,opt,name=is_special_reward_taken,json=isSpecialRewardTaken,proto3" json:"is_special_reward_taken,omitempty"` + IsContentClosed bool `protobuf:"varint,13,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,8,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + AsterToken uint32 `protobuf:"varint,5,opt,name=aster_token,json=asterToken,proto3" json:"aster_token,omitempty"` + AsterMid *AsterMidDetailInfo `protobuf:"bytes,6,opt,name=aster_mid,json=asterMid,proto3" json:"aster_mid,omitempty"` + AsterProgress *AsterProgressDetailInfo `protobuf:"bytes,2,opt,name=aster_progress,json=asterProgress,proto3" json:"aster_progress,omitempty"` +} + +func (x *AsterActivityDetailInfo) Reset() { + *x = AsterActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterActivityDetailInfo) ProtoMessage() {} + +func (x *AsterActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*AsterActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_AsterActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterActivityDetailInfo) GetAsterLittle() *AsterLittleDetailInfo { + if x != nil { + return x.AsterLittle + } + return nil +} + +func (x *AsterActivityDetailInfo) GetAsterCredit() uint32 { + if x != nil { + return x.AsterCredit + } + return 0 +} + +func (x *AsterActivityDetailInfo) GetAsterLarge() *AsterLargeDetailInfo { + if x != nil { + return x.AsterLarge + } + return nil +} + +func (x *AsterActivityDetailInfo) GetIsSpecialRewardTaken() bool { + if x != nil { + return x.IsSpecialRewardTaken + } + return false +} + +func (x *AsterActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *AsterActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *AsterActivityDetailInfo) GetAsterToken() uint32 { + if x != nil { + return x.AsterToken + } + return 0 +} + +func (x *AsterActivityDetailInfo) GetAsterMid() *AsterMidDetailInfo { + if x != nil { + return x.AsterMid + } + return nil +} + +func (x *AsterActivityDetailInfo) GetAsterProgress() *AsterProgressDetailInfo { + if x != nil { + return x.AsterProgress + } + return nil +} + +var File_AsterActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_AsterActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1a, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x73, 0x74, + 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, + 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd4, 0x03, 0x0a, 0x17, 0x41, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, + 0x0c, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x36, 0x0a, 0x0b, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, + 0x72, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, + 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x30, 0x0a, 0x09, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6d, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, + 0x4d, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x0e, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterActivityDetailInfo_proto_rawDescOnce sync.Once + file_AsterActivityDetailInfo_proto_rawDescData = file_AsterActivityDetailInfo_proto_rawDesc +) + +func file_AsterActivityDetailInfo_proto_rawDescGZIP() []byte { + file_AsterActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_AsterActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterActivityDetailInfo_proto_rawDescData) + }) + return file_AsterActivityDetailInfo_proto_rawDescData +} + +var file_AsterActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterActivityDetailInfo_proto_goTypes = []interface{}{ + (*AsterActivityDetailInfo)(nil), // 0: AsterActivityDetailInfo + (*AsterLittleDetailInfo)(nil), // 1: AsterLittleDetailInfo + (*AsterLargeDetailInfo)(nil), // 2: AsterLargeDetailInfo + (*AsterMidDetailInfo)(nil), // 3: AsterMidDetailInfo + (*AsterProgressDetailInfo)(nil), // 4: AsterProgressDetailInfo +} +var file_AsterActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: AsterActivityDetailInfo.aster_little:type_name -> AsterLittleDetailInfo + 2, // 1: AsterActivityDetailInfo.aster_large:type_name -> AsterLargeDetailInfo + 3, // 2: AsterActivityDetailInfo.aster_mid:type_name -> AsterMidDetailInfo + 4, // 3: AsterActivityDetailInfo.aster_progress:type_name -> AsterProgressDetailInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_AsterActivityDetailInfo_proto_init() } +func file_AsterActivityDetailInfo_proto_init() { + if File_AsterActivityDetailInfo_proto != nil { + return + } + file_AsterLargeDetailInfo_proto_init() + file_AsterLittleDetailInfo_proto_init() + file_AsterMidDetailInfo_proto_init() + file_AsterProgressDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_AsterActivityDetailInfo_proto_depIdxs, + MessageInfos: file_AsterActivityDetailInfo_proto_msgTypes, + }.Build() + File_AsterActivityDetailInfo_proto = out.File + file_AsterActivityDetailInfo_proto_rawDesc = nil + file_AsterActivityDetailInfo_proto_goTypes = nil + file_AsterActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterActivityDetailInfo.proto b/gate-hk4e-api/proto/AsterActivityDetailInfo.proto new file mode 100644 index 00000000..3e5f4205 --- /dev/null +++ b/gate-hk4e-api/proto/AsterActivityDetailInfo.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterLargeDetailInfo.proto"; +import "AsterLittleDetailInfo.proto"; +import "AsterMidDetailInfo.proto"; +import "AsterProgressDetailInfo.proto"; + +option go_package = "./;proto"; + +message AsterActivityDetailInfo { + AsterLittleDetailInfo aster_little = 7; + uint32 aster_credit = 14; + AsterLargeDetailInfo aster_large = 9; + bool is_special_reward_taken = 1; + bool is_content_closed = 13; + uint32 content_close_time = 8; + uint32 aster_token = 5; + AsterMidDetailInfo aster_mid = 6; + AsterProgressDetailInfo aster_progress = 2; +} diff --git a/gate-hk4e-api/proto/AsterLargeDetailInfo.pb.go b/gate-hk4e-api/proto/AsterLargeDetailInfo.pb.go new file mode 100644 index 00000000..9a4388af --- /dev/null +++ b/gate-hk4e-api/proto/AsterLargeDetailInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterLargeDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterLargeDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + BeginTime uint32 `protobuf:"varint,13,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *AsterLargeDetailInfo) Reset() { + *x = AsterLargeDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterLargeDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterLargeDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterLargeDetailInfo) ProtoMessage() {} + +func (x *AsterLargeDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterLargeDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterLargeDetailInfo.ProtoReflect.Descriptor instead. +func (*AsterLargeDetailInfo) Descriptor() ([]byte, []int) { + return file_AsterLargeDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterLargeDetailInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *AsterLargeDetailInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_AsterLargeDetailInfo_proto protoreflect.FileDescriptor + +var file_AsterLargeDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x14, + 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1d, 0x0a, + 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterLargeDetailInfo_proto_rawDescOnce sync.Once + file_AsterLargeDetailInfo_proto_rawDescData = file_AsterLargeDetailInfo_proto_rawDesc +) + +func file_AsterLargeDetailInfo_proto_rawDescGZIP() []byte { + file_AsterLargeDetailInfo_proto_rawDescOnce.Do(func() { + file_AsterLargeDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterLargeDetailInfo_proto_rawDescData) + }) + return file_AsterLargeDetailInfo_proto_rawDescData +} + +var file_AsterLargeDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterLargeDetailInfo_proto_goTypes = []interface{}{ + (*AsterLargeDetailInfo)(nil), // 0: AsterLargeDetailInfo +} +var file_AsterLargeDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AsterLargeDetailInfo_proto_init() } +func file_AsterLargeDetailInfo_proto_init() { + if File_AsterLargeDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AsterLargeDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterLargeDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterLargeDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterLargeDetailInfo_proto_goTypes, + DependencyIndexes: file_AsterLargeDetailInfo_proto_depIdxs, + MessageInfos: file_AsterLargeDetailInfo_proto_msgTypes, + }.Build() + File_AsterLargeDetailInfo_proto = out.File + file_AsterLargeDetailInfo_proto_rawDesc = nil + file_AsterLargeDetailInfo_proto_goTypes = nil + file_AsterLargeDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterLargeDetailInfo.proto b/gate-hk4e-api/proto/AsterLargeDetailInfo.proto new file mode 100644 index 00000000..eba32415 --- /dev/null +++ b/gate-hk4e-api/proto/AsterLargeDetailInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AsterLargeDetailInfo { + bool is_open = 3; + uint32 begin_time = 13; +} diff --git a/gate-hk4e-api/proto/AsterLargeInfoNotify.pb.go b/gate-hk4e-api/proto/AsterLargeInfoNotify.pb.go new file mode 100644 index 00000000..e1a44382 --- /dev/null +++ b/gate-hk4e-api/proto/AsterLargeInfoNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterLargeInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2146 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterLargeInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *AsterLargeDetailInfo `protobuf:"bytes,10,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *AsterLargeInfoNotify) Reset() { + *x = AsterLargeInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterLargeInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterLargeInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterLargeInfoNotify) ProtoMessage() {} + +func (x *AsterLargeInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterLargeInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterLargeInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterLargeInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterLargeInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterLargeInfoNotify) GetInfo() *AsterLargeDetailInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_AsterLargeInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterLargeInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x14, 0x41, 0x73, 0x74, 0x65, + 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x29, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterLargeInfoNotify_proto_rawDescOnce sync.Once + file_AsterLargeInfoNotify_proto_rawDescData = file_AsterLargeInfoNotify_proto_rawDesc +) + +func file_AsterLargeInfoNotify_proto_rawDescGZIP() []byte { + file_AsterLargeInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterLargeInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterLargeInfoNotify_proto_rawDescData) + }) + return file_AsterLargeInfoNotify_proto_rawDescData +} + +var file_AsterLargeInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterLargeInfoNotify_proto_goTypes = []interface{}{ + (*AsterLargeInfoNotify)(nil), // 0: AsterLargeInfoNotify + (*AsterLargeDetailInfo)(nil), // 1: AsterLargeDetailInfo +} +var file_AsterLargeInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AsterLargeInfoNotify.info:type_name -> AsterLargeDetailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterLargeInfoNotify_proto_init() } +func file_AsterLargeInfoNotify_proto_init() { + if File_AsterLargeInfoNotify_proto != nil { + return + } + file_AsterLargeDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterLargeInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterLargeInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterLargeInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterLargeInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterLargeInfoNotify_proto_depIdxs, + MessageInfos: file_AsterLargeInfoNotify_proto_msgTypes, + }.Build() + File_AsterLargeInfoNotify_proto = out.File + file_AsterLargeInfoNotify_proto_rawDesc = nil + file_AsterLargeInfoNotify_proto_goTypes = nil + file_AsterLargeInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterLargeInfoNotify.proto b/gate-hk4e-api/proto/AsterLargeInfoNotify.proto new file mode 100644 index 00000000..fd6f345c --- /dev/null +++ b/gate-hk4e-api/proto/AsterLargeInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterLargeDetailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2146 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterLargeInfoNotify { + AsterLargeDetailInfo info = 10; +} diff --git a/gate-hk4e-api/proto/AsterLittleDetailInfo.pb.go b/gate-hk4e-api/proto/AsterLittleDetailInfo.pb.go new file mode 100644 index 00000000..da2c68a2 --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleDetailInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterLittleDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterLittleDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,4,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + StageState AsterLittleStageState `protobuf:"varint,7,opt,name=stage_state,json=stageState,proto3,enum=AsterLittleStageState" json:"stage_state,omitempty"` + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + BeginTime uint32 `protobuf:"varint,6,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + StageBeginTime uint32 `protobuf:"varint,5,opt,name=stage_begin_time,json=stageBeginTime,proto3" json:"stage_begin_time,omitempty"` +} + +func (x *AsterLittleDetailInfo) Reset() { + *x = AsterLittleDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterLittleDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterLittleDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterLittleDetailInfo) ProtoMessage() {} + +func (x *AsterLittleDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterLittleDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterLittleDetailInfo.ProtoReflect.Descriptor instead. +func (*AsterLittleDetailInfo) Descriptor() ([]byte, []int) { + return file_AsterLittleDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterLittleDetailInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *AsterLittleDetailInfo) GetStageState() AsterLittleStageState { + if x != nil { + return x.StageState + } + return AsterLittleStageState_ASTER_LITTLE_STAGE_STATE_NONE +} + +func (x *AsterLittleDetailInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *AsterLittleDetailInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *AsterLittleDetailInfo) GetStageBeginTime() uint32 { + if x != nil { + return x.StageBeginTime + } + return 0 +} + +var File_AsterLittleDetailInfo_proto protoreflect.FileDescriptor + +var file_AsterLittleDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, + 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x15, 0x41, + 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x37, 0x0a, + 0x0b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterLittleDetailInfo_proto_rawDescOnce sync.Once + file_AsterLittleDetailInfo_proto_rawDescData = file_AsterLittleDetailInfo_proto_rawDesc +) + +func file_AsterLittleDetailInfo_proto_rawDescGZIP() []byte { + file_AsterLittleDetailInfo_proto_rawDescOnce.Do(func() { + file_AsterLittleDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterLittleDetailInfo_proto_rawDescData) + }) + return file_AsterLittleDetailInfo_proto_rawDescData +} + +var file_AsterLittleDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterLittleDetailInfo_proto_goTypes = []interface{}{ + (*AsterLittleDetailInfo)(nil), // 0: AsterLittleDetailInfo + (AsterLittleStageState)(0), // 1: AsterLittleStageState +} +var file_AsterLittleDetailInfo_proto_depIdxs = []int32{ + 1, // 0: AsterLittleDetailInfo.stage_state:type_name -> AsterLittleStageState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterLittleDetailInfo_proto_init() } +func file_AsterLittleDetailInfo_proto_init() { + if File_AsterLittleDetailInfo_proto != nil { + return + } + file_AsterLittleStageState_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterLittleDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterLittleDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterLittleDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterLittleDetailInfo_proto_goTypes, + DependencyIndexes: file_AsterLittleDetailInfo_proto_depIdxs, + MessageInfos: file_AsterLittleDetailInfo_proto_msgTypes, + }.Build() + File_AsterLittleDetailInfo_proto = out.File + file_AsterLittleDetailInfo_proto_rawDesc = nil + file_AsterLittleDetailInfo_proto_goTypes = nil + file_AsterLittleDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterLittleDetailInfo.proto b/gate-hk4e-api/proto/AsterLittleDetailInfo.proto new file mode 100644 index 00000000..1b2fb646 --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterLittleStageState.proto"; + +option go_package = "./;proto"; + +message AsterLittleDetailInfo { + bool is_open = 4; + AsterLittleStageState stage_state = 7; + uint32 stage_id = 1; + uint32 begin_time = 6; + uint32 stage_begin_time = 5; +} diff --git a/gate-hk4e-api/proto/AsterLittleInfoNotify.pb.go b/gate-hk4e-api/proto/AsterLittleInfoNotify.pb.go new file mode 100644 index 00000000..95b1c08b --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterLittleInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2068 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterLittleInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *AsterLittleDetailInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *AsterLittleInfoNotify) Reset() { + *x = AsterLittleInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterLittleInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterLittleInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterLittleInfoNotify) ProtoMessage() {} + +func (x *AsterLittleInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterLittleInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterLittleInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterLittleInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterLittleInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterLittleInfoNotify) GetInfo() *AsterLittleDetailInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_AsterLittleInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterLittleInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, + 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x15, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AsterLittleInfoNotify_proto_rawDescOnce sync.Once + file_AsterLittleInfoNotify_proto_rawDescData = file_AsterLittleInfoNotify_proto_rawDesc +) + +func file_AsterLittleInfoNotify_proto_rawDescGZIP() []byte { + file_AsterLittleInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterLittleInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterLittleInfoNotify_proto_rawDescData) + }) + return file_AsterLittleInfoNotify_proto_rawDescData +} + +var file_AsterLittleInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterLittleInfoNotify_proto_goTypes = []interface{}{ + (*AsterLittleInfoNotify)(nil), // 0: AsterLittleInfoNotify + (*AsterLittleDetailInfo)(nil), // 1: AsterLittleDetailInfo +} +var file_AsterLittleInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AsterLittleInfoNotify.info:type_name -> AsterLittleDetailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterLittleInfoNotify_proto_init() } +func file_AsterLittleInfoNotify_proto_init() { + if File_AsterLittleInfoNotify_proto != nil { + return + } + file_AsterLittleDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterLittleInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterLittleInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterLittleInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterLittleInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterLittleInfoNotify_proto_depIdxs, + MessageInfos: file_AsterLittleInfoNotify_proto_msgTypes, + }.Build() + File_AsterLittleInfoNotify_proto = out.File + file_AsterLittleInfoNotify_proto_rawDesc = nil + file_AsterLittleInfoNotify_proto_goTypes = nil + file_AsterLittleInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterLittleInfoNotify.proto b/gate-hk4e-api/proto/AsterLittleInfoNotify.proto new file mode 100644 index 00000000..b0fa21bd --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterLittleDetailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2068 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterLittleInfoNotify { + AsterLittleDetailInfo info = 1; +} diff --git a/gate-hk4e-api/proto/AsterLittleStageState.pb.go b/gate-hk4e-api/proto/AsterLittleStageState.pb.go new file mode 100644 index 00000000..8804502a --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleStageState.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterLittleStageState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterLittleStageState int32 + +const ( + AsterLittleStageState_ASTER_LITTLE_STAGE_STATE_NONE AsterLittleStageState = 0 + AsterLittleStageState_ASTER_LITTLE_STAGE_STATE_UNSTARTED AsterLittleStageState = 1 + AsterLittleStageState_ASTER_LITTLE_STAGE_STATE_STARTED AsterLittleStageState = 2 + AsterLittleStageState_ASTER_LITTLE_STAGE_STATE_FINISHED AsterLittleStageState = 3 +) + +// Enum value maps for AsterLittleStageState. +var ( + AsterLittleStageState_name = map[int32]string{ + 0: "ASTER_LITTLE_STAGE_STATE_NONE", + 1: "ASTER_LITTLE_STAGE_STATE_UNSTARTED", + 2: "ASTER_LITTLE_STAGE_STATE_STARTED", + 3: "ASTER_LITTLE_STAGE_STATE_FINISHED", + } + AsterLittleStageState_value = map[string]int32{ + "ASTER_LITTLE_STAGE_STATE_NONE": 0, + "ASTER_LITTLE_STAGE_STATE_UNSTARTED": 1, + "ASTER_LITTLE_STAGE_STATE_STARTED": 2, + "ASTER_LITTLE_STAGE_STATE_FINISHED": 3, + } +) + +func (x AsterLittleStageState) Enum() *AsterLittleStageState { + p := new(AsterLittleStageState) + *p = x + return p +} + +func (x AsterLittleStageState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AsterLittleStageState) Descriptor() protoreflect.EnumDescriptor { + return file_AsterLittleStageState_proto_enumTypes[0].Descriptor() +} + +func (AsterLittleStageState) Type() protoreflect.EnumType { + return &file_AsterLittleStageState_proto_enumTypes[0] +} + +func (x AsterLittleStageState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AsterLittleStageState.Descriptor instead. +func (AsterLittleStageState) EnumDescriptor() ([]byte, []int) { + return file_AsterLittleStageState_proto_rawDescGZIP(), []int{0} +} + +var File_AsterLittleStageState_proto protoreflect.FileDescriptor + +var file_AsterLittleStageState_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xaf, 0x01, + 0x0a, 0x15, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x53, 0x54, 0x45, 0x52, + 0x5f, 0x4c, 0x49, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x41, 0x53, + 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, + 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x41, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x54, 0x54, + 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, + 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x41, 0x53, 0x54, 0x45, + 0x52, 0x5f, 0x4c, 0x49, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AsterLittleStageState_proto_rawDescOnce sync.Once + file_AsterLittleStageState_proto_rawDescData = file_AsterLittleStageState_proto_rawDesc +) + +func file_AsterLittleStageState_proto_rawDescGZIP() []byte { + file_AsterLittleStageState_proto_rawDescOnce.Do(func() { + file_AsterLittleStageState_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterLittleStageState_proto_rawDescData) + }) + return file_AsterLittleStageState_proto_rawDescData +} + +var file_AsterLittleStageState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_AsterLittleStageState_proto_goTypes = []interface{}{ + (AsterLittleStageState)(0), // 0: AsterLittleStageState +} +var file_AsterLittleStageState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AsterLittleStageState_proto_init() } +func file_AsterLittleStageState_proto_init() { + if File_AsterLittleStageState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterLittleStageState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterLittleStageState_proto_goTypes, + DependencyIndexes: file_AsterLittleStageState_proto_depIdxs, + EnumInfos: file_AsterLittleStageState_proto_enumTypes, + }.Build() + File_AsterLittleStageState_proto = out.File + file_AsterLittleStageState_proto_rawDesc = nil + file_AsterLittleStageState_proto_goTypes = nil + file_AsterLittleStageState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterLittleStageState.proto b/gate-hk4e-api/proto/AsterLittleStageState.proto new file mode 100644 index 00000000..06a4c989 --- /dev/null +++ b/gate-hk4e-api/proto/AsterLittleStageState.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum AsterLittleStageState { + ASTER_LITTLE_STAGE_STATE_NONE = 0; + ASTER_LITTLE_STAGE_STATE_UNSTARTED = 1; + ASTER_LITTLE_STAGE_STATE_STARTED = 2; + ASTER_LITTLE_STAGE_STATE_FINISHED = 3; +} diff --git a/gate-hk4e-api/proto/AsterMidCampInfo.pb.go b/gate-hk4e-api/proto/AsterMidCampInfo.pb.go new file mode 100644 index 00000000..b3b86ed3 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidCampInfo.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterMidCampInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterMidCampInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` + CampId uint32 `protobuf:"varint,8,opt,name=camp_id,json=campId,proto3" json:"camp_id,omitempty"` +} + +func (x *AsterMidCampInfo) Reset() { + *x = AsterMidCampInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterMidCampInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterMidCampInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterMidCampInfo) ProtoMessage() {} + +func (x *AsterMidCampInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterMidCampInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterMidCampInfo.ProtoReflect.Descriptor instead. +func (*AsterMidCampInfo) Descriptor() ([]byte, []int) { + return file_AsterMidCampInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterMidCampInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *AsterMidCampInfo) GetCampId() uint32 { + if x != nil { + return x.CampId + } + return 0 +} + +var File_AsterMidCampInfo_proto protoreflect.FileDescriptor + +var file_AsterMidCampInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x10, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, + 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x6d, 0x70, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AsterMidCampInfo_proto_rawDescOnce sync.Once + file_AsterMidCampInfo_proto_rawDescData = file_AsterMidCampInfo_proto_rawDesc +) + +func file_AsterMidCampInfo_proto_rawDescGZIP() []byte { + file_AsterMidCampInfo_proto_rawDescOnce.Do(func() { + file_AsterMidCampInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterMidCampInfo_proto_rawDescData) + }) + return file_AsterMidCampInfo_proto_rawDescData +} + +var file_AsterMidCampInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterMidCampInfo_proto_goTypes = []interface{}{ + (*AsterMidCampInfo)(nil), // 0: AsterMidCampInfo + (*Vector)(nil), // 1: Vector +} +var file_AsterMidCampInfo_proto_depIdxs = []int32{ + 1, // 0: AsterMidCampInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterMidCampInfo_proto_init() } +func file_AsterMidCampInfo_proto_init() { + if File_AsterMidCampInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterMidCampInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterMidCampInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterMidCampInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterMidCampInfo_proto_goTypes, + DependencyIndexes: file_AsterMidCampInfo_proto_depIdxs, + MessageInfos: file_AsterMidCampInfo_proto_msgTypes, + }.Build() + File_AsterMidCampInfo_proto = out.File + file_AsterMidCampInfo_proto_rawDesc = nil + file_AsterMidCampInfo_proto_goTypes = nil + file_AsterMidCampInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterMidCampInfo.proto b/gate-hk4e-api/proto/AsterMidCampInfo.proto new file mode 100644 index 00000000..b1b0dfea --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidCampInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message AsterMidCampInfo { + Vector pos = 3; + uint32 camp_id = 8; +} diff --git a/gate-hk4e-api/proto/AsterMidCampInfoNotify.pb.go b/gate-hk4e-api/proto/AsterMidCampInfoNotify.pb.go new file mode 100644 index 00000000..f3cc9ee5 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidCampInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterMidCampInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2133 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterMidCampInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CampList []*AsterMidCampInfo `protobuf:"bytes,5,rep,name=camp_list,json=campList,proto3" json:"camp_list,omitempty"` +} + +func (x *AsterMidCampInfoNotify) Reset() { + *x = AsterMidCampInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterMidCampInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterMidCampInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterMidCampInfoNotify) ProtoMessage() {} + +func (x *AsterMidCampInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterMidCampInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterMidCampInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterMidCampInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterMidCampInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterMidCampInfoNotify) GetCampList() []*AsterMidCampInfo { + if x != nil { + return x.CampList + } + return nil +} + +var File_AsterMidCampInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterMidCampInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x16, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, + 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x2e, 0x0a, 0x09, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, + 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x61, 0x6d, 0x70, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterMidCampInfoNotify_proto_rawDescOnce sync.Once + file_AsterMidCampInfoNotify_proto_rawDescData = file_AsterMidCampInfoNotify_proto_rawDesc +) + +func file_AsterMidCampInfoNotify_proto_rawDescGZIP() []byte { + file_AsterMidCampInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterMidCampInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterMidCampInfoNotify_proto_rawDescData) + }) + return file_AsterMidCampInfoNotify_proto_rawDescData +} + +var file_AsterMidCampInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterMidCampInfoNotify_proto_goTypes = []interface{}{ + (*AsterMidCampInfoNotify)(nil), // 0: AsterMidCampInfoNotify + (*AsterMidCampInfo)(nil), // 1: AsterMidCampInfo +} +var file_AsterMidCampInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AsterMidCampInfoNotify.camp_list:type_name -> AsterMidCampInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterMidCampInfoNotify_proto_init() } +func file_AsterMidCampInfoNotify_proto_init() { + if File_AsterMidCampInfoNotify_proto != nil { + return + } + file_AsterMidCampInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterMidCampInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterMidCampInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterMidCampInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterMidCampInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterMidCampInfoNotify_proto_depIdxs, + MessageInfos: file_AsterMidCampInfoNotify_proto_msgTypes, + }.Build() + File_AsterMidCampInfoNotify_proto = out.File + file_AsterMidCampInfoNotify_proto_rawDesc = nil + file_AsterMidCampInfoNotify_proto_goTypes = nil + file_AsterMidCampInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterMidCampInfoNotify.proto b/gate-hk4e-api/proto/AsterMidCampInfoNotify.proto new file mode 100644 index 00000000..ef702536 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidCampInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterMidCampInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2133 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterMidCampInfoNotify { + repeated AsterMidCampInfo camp_list = 5; +} diff --git a/gate-hk4e-api/proto/AsterMidDetailInfo.pb.go b/gate-hk4e-api/proto/AsterMidDetailInfo.pb.go new file mode 100644 index 00000000..9ca41647 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidDetailInfo.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterMidDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterMidDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeginTime uint32 `protobuf:"varint,10,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + CampList []*AsterMidCampInfo `protobuf:"bytes,7,rep,name=camp_list,json=campList,proto3" json:"camp_list,omitempty"` + IsOpen bool `protobuf:"varint,4,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + CollectCount uint32 `protobuf:"varint,11,opt,name=collect_count,json=collectCount,proto3" json:"collect_count,omitempty"` +} + +func (x *AsterMidDetailInfo) Reset() { + *x = AsterMidDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterMidDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterMidDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterMidDetailInfo) ProtoMessage() {} + +func (x *AsterMidDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterMidDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterMidDetailInfo.ProtoReflect.Descriptor instead. +func (*AsterMidDetailInfo) Descriptor() ([]byte, []int) { + return file_AsterMidDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterMidDetailInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *AsterMidDetailInfo) GetCampList() []*AsterMidCampInfo { + if x != nil { + return x.CampList + } + return nil +} + +func (x *AsterMidDetailInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *AsterMidDetailInfo) GetCollectCount() uint32 { + if x != nil { + return x.CollectCount + } + return 0 +} + +var File_AsterMidDetailInfo_proto protoreflect.FileDescriptor + +var file_AsterMidDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x41, 0x73, 0x74, 0x65, + 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x12, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, + 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x09, 0x63, 0x61, 0x6d, 0x70, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x61, 0x6d, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, + 0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, + 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterMidDetailInfo_proto_rawDescOnce sync.Once + file_AsterMidDetailInfo_proto_rawDescData = file_AsterMidDetailInfo_proto_rawDesc +) + +func file_AsterMidDetailInfo_proto_rawDescGZIP() []byte { + file_AsterMidDetailInfo_proto_rawDescOnce.Do(func() { + file_AsterMidDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterMidDetailInfo_proto_rawDescData) + }) + return file_AsterMidDetailInfo_proto_rawDescData +} + +var file_AsterMidDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterMidDetailInfo_proto_goTypes = []interface{}{ + (*AsterMidDetailInfo)(nil), // 0: AsterMidDetailInfo + (*AsterMidCampInfo)(nil), // 1: AsterMidCampInfo +} +var file_AsterMidDetailInfo_proto_depIdxs = []int32{ + 1, // 0: AsterMidDetailInfo.camp_list:type_name -> AsterMidCampInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterMidDetailInfo_proto_init() } +func file_AsterMidDetailInfo_proto_init() { + if File_AsterMidDetailInfo_proto != nil { + return + } + file_AsterMidCampInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterMidDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterMidDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterMidDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterMidDetailInfo_proto_goTypes, + DependencyIndexes: file_AsterMidDetailInfo_proto_depIdxs, + MessageInfos: file_AsterMidDetailInfo_proto_msgTypes, + }.Build() + File_AsterMidDetailInfo_proto = out.File + file_AsterMidDetailInfo_proto_rawDesc = nil + file_AsterMidDetailInfo_proto_goTypes = nil + file_AsterMidDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterMidDetailInfo.proto b/gate-hk4e-api/proto/AsterMidDetailInfo.proto new file mode 100644 index 00000000..1f9a17ba --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterMidCampInfo.proto"; + +option go_package = "./;proto"; + +message AsterMidDetailInfo { + uint32 begin_time = 10; + repeated AsterMidCampInfo camp_list = 7; + bool is_open = 4; + uint32 collect_count = 11; +} diff --git a/gate-hk4e-api/proto/AsterMidInfoNotify.pb.go b/gate-hk4e-api/proto/AsterMidInfoNotify.pb.go new file mode 100644 index 00000000..aaaf8ed7 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidInfoNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterMidInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2031 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterMidInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *AsterMidDetailInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *AsterMidInfoNotify) Reset() { + *x = AsterMidInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterMidInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterMidInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterMidInfoNotify) ProtoMessage() {} + +func (x *AsterMidInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterMidInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterMidInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterMidInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterMidInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterMidInfoNotify) GetInfo() *AsterMidDetailInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_AsterMidInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterMidInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x73, 0x74, 0x65, + 0x72, 0x4d, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x12, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, + 0x4d, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterMidInfoNotify_proto_rawDescOnce sync.Once + file_AsterMidInfoNotify_proto_rawDescData = file_AsterMidInfoNotify_proto_rawDesc +) + +func file_AsterMidInfoNotify_proto_rawDescGZIP() []byte { + file_AsterMidInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterMidInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterMidInfoNotify_proto_rawDescData) + }) + return file_AsterMidInfoNotify_proto_rawDescData +} + +var file_AsterMidInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterMidInfoNotify_proto_goTypes = []interface{}{ + (*AsterMidInfoNotify)(nil), // 0: AsterMidInfoNotify + (*AsterMidDetailInfo)(nil), // 1: AsterMidDetailInfo +} +var file_AsterMidInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AsterMidInfoNotify.info:type_name -> AsterMidDetailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterMidInfoNotify_proto_init() } +func file_AsterMidInfoNotify_proto_init() { + if File_AsterMidInfoNotify_proto != nil { + return + } + file_AsterMidDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterMidInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterMidInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterMidInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterMidInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterMidInfoNotify_proto_depIdxs, + MessageInfos: file_AsterMidInfoNotify_proto_msgTypes, + }.Build() + File_AsterMidInfoNotify_proto = out.File + file_AsterMidInfoNotify_proto_rawDesc = nil + file_AsterMidInfoNotify_proto_goTypes = nil + file_AsterMidInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterMidInfoNotify.proto b/gate-hk4e-api/proto/AsterMidInfoNotify.proto new file mode 100644 index 00000000..8f58ebb6 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMidInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterMidDetailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2031 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterMidInfoNotify { + AsterMidDetailInfo info = 4; +} diff --git a/gate-hk4e-api/proto/AsterMiscInfoNotify.pb.go b/gate-hk4e-api/proto/AsterMiscInfoNotify.pb.go new file mode 100644 index 00000000..8decb6e1 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMiscInfoNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterMiscInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2036 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterMiscInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AsterToken uint32 `protobuf:"varint,2,opt,name=aster_token,json=asterToken,proto3" json:"aster_token,omitempty"` + AsterCredit uint32 `protobuf:"varint,15,opt,name=aster_credit,json=asterCredit,proto3" json:"aster_credit,omitempty"` +} + +func (x *AsterMiscInfoNotify) Reset() { + *x = AsterMiscInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterMiscInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterMiscInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterMiscInfoNotify) ProtoMessage() {} + +func (x *AsterMiscInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterMiscInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterMiscInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterMiscInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterMiscInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterMiscInfoNotify) GetAsterToken() uint32 { + if x != nil { + return x.AsterToken + } + return 0 +} + +func (x *AsterMiscInfoNotify) GetAsterCredit() uint32 { + if x != nil { + return x.AsterCredit + } + return 0 +} + +var File_AsterMiscInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterMiscInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x13, 0x41, + 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x73, 0x74, 0x65, 0x72, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterMiscInfoNotify_proto_rawDescOnce sync.Once + file_AsterMiscInfoNotify_proto_rawDescData = file_AsterMiscInfoNotify_proto_rawDesc +) + +func file_AsterMiscInfoNotify_proto_rawDescGZIP() []byte { + file_AsterMiscInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterMiscInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterMiscInfoNotify_proto_rawDescData) + }) + return file_AsterMiscInfoNotify_proto_rawDescData +} + +var file_AsterMiscInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterMiscInfoNotify_proto_goTypes = []interface{}{ + (*AsterMiscInfoNotify)(nil), // 0: AsterMiscInfoNotify +} +var file_AsterMiscInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AsterMiscInfoNotify_proto_init() } +func file_AsterMiscInfoNotify_proto_init() { + if File_AsterMiscInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AsterMiscInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterMiscInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterMiscInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterMiscInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterMiscInfoNotify_proto_depIdxs, + MessageInfos: file_AsterMiscInfoNotify_proto_msgTypes, + }.Build() + File_AsterMiscInfoNotify_proto = out.File + file_AsterMiscInfoNotify_proto_rawDesc = nil + file_AsterMiscInfoNotify_proto_goTypes = nil + file_AsterMiscInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterMiscInfoNotify.proto b/gate-hk4e-api/proto/AsterMiscInfoNotify.proto new file mode 100644 index 00000000..39b784c0 --- /dev/null +++ b/gate-hk4e-api/proto/AsterMiscInfoNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2036 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterMiscInfoNotify { + uint32 aster_token = 2; + uint32 aster_credit = 15; +} diff --git a/gate-hk4e-api/proto/AsterProgressDetailInfo.pb.go b/gate-hk4e-api/proto/AsterProgressDetailInfo.pb.go new file mode 100644 index 00000000..a2c205e6 --- /dev/null +++ b/gate-hk4e-api/proto/AsterProgressDetailInfo.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterProgressDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AsterProgressDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastAutoAddTime uint32 `protobuf:"varint,3,opt,name=last_auto_add_time,json=lastAutoAddTime,proto3" json:"last_auto_add_time,omitempty"` + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *AsterProgressDetailInfo) Reset() { + *x = AsterProgressDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterProgressDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterProgressDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterProgressDetailInfo) ProtoMessage() {} + +func (x *AsterProgressDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_AsterProgressDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterProgressDetailInfo.ProtoReflect.Descriptor instead. +func (*AsterProgressDetailInfo) Descriptor() ([]byte, []int) { + return file_AsterProgressDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterProgressDetailInfo) GetLastAutoAddTime() uint32 { + if x != nil { + return x.LastAutoAddTime + } + return 0 +} + +func (x *AsterProgressDetailInfo) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_AsterProgressDetailInfo_proto protoreflect.FileDescriptor + +var file_AsterProgressDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5c, 0x0a, 0x17, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x12, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x75, 0x74, 0x6f, + 0x41, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AsterProgressDetailInfo_proto_rawDescOnce sync.Once + file_AsterProgressDetailInfo_proto_rawDescData = file_AsterProgressDetailInfo_proto_rawDesc +) + +func file_AsterProgressDetailInfo_proto_rawDescGZIP() []byte { + file_AsterProgressDetailInfo_proto_rawDescOnce.Do(func() { + file_AsterProgressDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterProgressDetailInfo_proto_rawDescData) + }) + return file_AsterProgressDetailInfo_proto_rawDescData +} + +var file_AsterProgressDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterProgressDetailInfo_proto_goTypes = []interface{}{ + (*AsterProgressDetailInfo)(nil), // 0: AsterProgressDetailInfo +} +var file_AsterProgressDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AsterProgressDetailInfo_proto_init() } +func file_AsterProgressDetailInfo_proto_init() { + if File_AsterProgressDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AsterProgressDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterProgressDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterProgressDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterProgressDetailInfo_proto_goTypes, + DependencyIndexes: file_AsterProgressDetailInfo_proto_depIdxs, + MessageInfos: file_AsterProgressDetailInfo_proto_msgTypes, + }.Build() + File_AsterProgressDetailInfo_proto = out.File + file_AsterProgressDetailInfo_proto_rawDesc = nil + file_AsterProgressDetailInfo_proto_goTypes = nil + file_AsterProgressDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterProgressDetailInfo.proto b/gate-hk4e-api/proto/AsterProgressDetailInfo.proto new file mode 100644 index 00000000..acf2baf3 --- /dev/null +++ b/gate-hk4e-api/proto/AsterProgressDetailInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AsterProgressDetailInfo { + uint32 last_auto_add_time = 3; + uint32 count = 1; +} diff --git a/gate-hk4e-api/proto/AsterProgressInfoNotify.pb.go b/gate-hk4e-api/proto/AsterProgressInfoNotify.pb.go new file mode 100644 index 00000000..d82234f4 --- /dev/null +++ b/gate-hk4e-api/proto/AsterProgressInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AsterProgressInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2016 +// EnetChannelId: 0 +// EnetIsReliable: true +type AsterProgressInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *AsterProgressDetailInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *AsterProgressInfoNotify) Reset() { + *x = AsterProgressInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AsterProgressInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AsterProgressInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AsterProgressInfoNotify) ProtoMessage() {} + +func (x *AsterProgressInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AsterProgressInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AsterProgressInfoNotify.ProtoReflect.Descriptor instead. +func (*AsterProgressInfoNotify) Descriptor() ([]byte, []int) { + return file_AsterProgressInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AsterProgressInfoNotify) GetInfo() *AsterProgressDetailInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_AsterProgressInfoNotify_proto protoreflect.FileDescriptor + +var file_AsterProgressInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, + 0x0a, 0x17, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x73, 0x74, 0x65, 0x72, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AsterProgressInfoNotify_proto_rawDescOnce sync.Once + file_AsterProgressInfoNotify_proto_rawDescData = file_AsterProgressInfoNotify_proto_rawDesc +) + +func file_AsterProgressInfoNotify_proto_rawDescGZIP() []byte { + file_AsterProgressInfoNotify_proto_rawDescOnce.Do(func() { + file_AsterProgressInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AsterProgressInfoNotify_proto_rawDescData) + }) + return file_AsterProgressInfoNotify_proto_rawDescData +} + +var file_AsterProgressInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AsterProgressInfoNotify_proto_goTypes = []interface{}{ + (*AsterProgressInfoNotify)(nil), // 0: AsterProgressInfoNotify + (*AsterProgressDetailInfo)(nil), // 1: AsterProgressDetailInfo +} +var file_AsterProgressInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AsterProgressInfoNotify.info:type_name -> AsterProgressDetailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AsterProgressInfoNotify_proto_init() } +func file_AsterProgressInfoNotify_proto_init() { + if File_AsterProgressInfoNotify_proto != nil { + return + } + file_AsterProgressDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AsterProgressInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsterProgressInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AsterProgressInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AsterProgressInfoNotify_proto_goTypes, + DependencyIndexes: file_AsterProgressInfoNotify_proto_depIdxs, + MessageInfos: file_AsterProgressInfoNotify_proto_msgTypes, + }.Build() + File_AsterProgressInfoNotify_proto = out.File + file_AsterProgressInfoNotify_proto_rawDesc = nil + file_AsterProgressInfoNotify_proto_goTypes = nil + file_AsterProgressInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AsterProgressInfoNotify.proto b/gate-hk4e-api/proto/AsterProgressInfoNotify.proto new file mode 100644 index 00000000..8e544096 --- /dev/null +++ b/gate-hk4e-api/proto/AsterProgressInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AsterProgressDetailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2016 +// EnetChannelId: 0 +// EnetIsReliable: true +message AsterProgressInfoNotify { + AsterProgressDetailInfo info = 1; +} diff --git a/gate-hk4e-api/proto/AttackHitEffectResult.pb.go b/gate-hk4e-api/proto/AttackHitEffectResult.pb.go new file mode 100644 index 00000000..2904dd78 --- /dev/null +++ b/gate-hk4e-api/proto/AttackHitEffectResult.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AttackHitEffectResult.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AttackHitEffectResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitHaltTimeScale float32 `protobuf:"fixed32,8,opt,name=hit_halt_time_scale,json=hitHaltTimeScale,proto3" json:"hit_halt_time_scale,omitempty"` + OriginalHitEffLevel uint32 `protobuf:"varint,12,opt,name=original_hit_eff_level,json=originalHitEffLevel,proto3" json:"original_hit_eff_level,omitempty"` + AirStrength float32 `protobuf:"fixed32,15,opt,name=air_strength,json=airStrength,proto3" json:"air_strength,omitempty"` + HitEffLevel uint32 `protobuf:"varint,2,opt,name=hit_eff_level,json=hitEffLevel,proto3" json:"hit_eff_level,omitempty"` + HitHaltTime float32 `protobuf:"fixed32,13,opt,name=hit_halt_time,json=hitHaltTime,proto3" json:"hit_halt_time,omitempty"` + RetreatStrength float32 `protobuf:"fixed32,7,opt,name=retreat_strength,json=retreatStrength,proto3" json:"retreat_strength,omitempty"` +} + +func (x *AttackHitEffectResult) Reset() { + *x = AttackHitEffectResult{} + if protoimpl.UnsafeEnabled { + mi := &file_AttackHitEffectResult_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AttackHitEffectResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AttackHitEffectResult) ProtoMessage() {} + +func (x *AttackHitEffectResult) ProtoReflect() protoreflect.Message { + mi := &file_AttackHitEffectResult_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AttackHitEffectResult.ProtoReflect.Descriptor instead. +func (*AttackHitEffectResult) Descriptor() ([]byte, []int) { + return file_AttackHitEffectResult_proto_rawDescGZIP(), []int{0} +} + +func (x *AttackHitEffectResult) GetHitHaltTimeScale() float32 { + if x != nil { + return x.HitHaltTimeScale + } + return 0 +} + +func (x *AttackHitEffectResult) GetOriginalHitEffLevel() uint32 { + if x != nil { + return x.OriginalHitEffLevel + } + return 0 +} + +func (x *AttackHitEffectResult) GetAirStrength() float32 { + if x != nil { + return x.AirStrength + } + return 0 +} + +func (x *AttackHitEffectResult) GetHitEffLevel() uint32 { + if x != nil { + return x.HitEffLevel + } + return 0 +} + +func (x *AttackHitEffectResult) GetHitHaltTime() float32 { + if x != nil { + return x.HitHaltTime + } + return 0 +} + +func (x *AttackHitEffectResult) GetRetreatStrength() float32 { + if x != nil { + return x.RetreatStrength + } + return 0 +} + +var File_AttackHitEffectResult_proto protoreflect.FileDescriptor + +var file_AttackHitEffectResult_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x69, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, + 0x0a, 0x15, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x69, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x68, 0x69, 0x74, 0x5f, 0x68, + 0x61, 0x6c, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x68, 0x69, 0x74, 0x48, 0x61, 0x6c, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x61, 0x6c, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, + 0x48, 0x69, 0x74, 0x45, 0x66, 0x66, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x61, + 0x69, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0b, 0x61, 0x69, 0x72, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x22, + 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x68, 0x69, 0x74, 0x45, 0x66, 0x66, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x6c, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x68, 0x69, 0x74, 0x48, 0x61, + 0x6c, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x72, 0x65, 0x61, + 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x0f, 0x72, 0x65, 0x74, 0x72, 0x65, 0x61, 0x74, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AttackHitEffectResult_proto_rawDescOnce sync.Once + file_AttackHitEffectResult_proto_rawDescData = file_AttackHitEffectResult_proto_rawDesc +) + +func file_AttackHitEffectResult_proto_rawDescGZIP() []byte { + file_AttackHitEffectResult_proto_rawDescOnce.Do(func() { + file_AttackHitEffectResult_proto_rawDescData = protoimpl.X.CompressGZIP(file_AttackHitEffectResult_proto_rawDescData) + }) + return file_AttackHitEffectResult_proto_rawDescData +} + +var file_AttackHitEffectResult_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AttackHitEffectResult_proto_goTypes = []interface{}{ + (*AttackHitEffectResult)(nil), // 0: AttackHitEffectResult +} +var file_AttackHitEffectResult_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AttackHitEffectResult_proto_init() } +func file_AttackHitEffectResult_proto_init() { + if File_AttackHitEffectResult_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AttackHitEffectResult_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttackHitEffectResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AttackHitEffectResult_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AttackHitEffectResult_proto_goTypes, + DependencyIndexes: file_AttackHitEffectResult_proto_depIdxs, + MessageInfos: file_AttackHitEffectResult_proto_msgTypes, + }.Build() + File_AttackHitEffectResult_proto = out.File + file_AttackHitEffectResult_proto_rawDesc = nil + file_AttackHitEffectResult_proto_goTypes = nil + file_AttackHitEffectResult_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AttackHitEffectResult.proto b/gate-hk4e-api/proto/AttackHitEffectResult.proto new file mode 100644 index 00000000..d3cf39e7 --- /dev/null +++ b/gate-hk4e-api/proto/AttackHitEffectResult.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AttackHitEffectResult { + float hit_halt_time_scale = 8; + uint32 original_hit_eff_level = 12; + float air_strength = 15; + uint32 hit_eff_level = 2; + float hit_halt_time = 13; + float retreat_strength = 7; +} diff --git a/gate-hk4e-api/proto/AttackResult.pb.go b/gate-hk4e-api/proto/AttackResult.pb.go new file mode 100644 index 00000000..2662c29f --- /dev/null +++ b/gate-hk4e-api/proto/AttackResult.pb.go @@ -0,0 +1,489 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AttackResult.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AttackResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsResistText bool `protobuf:"varint,1858,opt,name=is_resist_text,json=isResistText,proto3" json:"is_resist_text,omitempty"` + Unk2700_GBANCFEPPIM uint32 `protobuf:"varint,1011,opt,name=Unk2700_GBANCFEPPIM,json=Unk2700GBANCFEPPIM,proto3" json:"Unk2700_GBANCFEPPIM,omitempty"` + AmplifyReactionType uint32 `protobuf:"varint,2005,opt,name=amplify_reaction_type,json=amplifyReactionType,proto3" json:"amplify_reaction_type,omitempty"` + EndureBreak uint32 `protobuf:"varint,7,opt,name=endure_break,json=endureBreak,proto3" json:"endure_break,omitempty"` + ElementType uint32 `protobuf:"varint,5,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"` + ElementDurabilityAttenuation float32 `protobuf:"fixed32,425,opt,name=element_durability_attenuation,json=elementDurabilityAttenuation,proto3" json:"element_durability_attenuation,omitempty"` + DefenseId uint32 `protobuf:"varint,15,opt,name=defense_id,json=defenseId,proto3" json:"defense_id,omitempty"` + AttackTimestampMs uint32 `protobuf:"varint,1188,opt,name=attack_timestamp_ms,json=attackTimestampMs,proto3" json:"attack_timestamp_ms,omitempty"` + BulletFlyTimeMs uint32 `protobuf:"varint,91,opt,name=bullet_fly_time_ms,json=bulletFlyTimeMs,proto3" json:"bullet_fly_time_ms,omitempty"` + IsCrit bool `protobuf:"varint,13,opt,name=is_crit,json=isCrit,proto3" json:"is_crit,omitempty"` + ElementAmplifyRate float32 `protobuf:"fixed32,900,opt,name=element_amplify_rate,json=elementAmplifyRate,proto3" json:"element_amplify_rate,omitempty"` + AttackCount uint32 `protobuf:"varint,1564,opt,name=attack_count,json=attackCount,proto3" json:"attack_count,omitempty"` + CriticalRand uint32 `protobuf:"varint,1664,opt,name=critical_rand,json=criticalRand,proto3" json:"critical_rand,omitempty"` + HitPosType uint32 `protobuf:"varint,2,opt,name=hit_pos_type,json=hitPosType,proto3" json:"hit_pos_type,omitempty"` + AnimEventId string `protobuf:"bytes,4,opt,name=anim_event_id,json=animEventId,proto3" json:"anim_event_id,omitempty"` + HitEffResult *AttackHitEffectResult `protobuf:"bytes,8,opt,name=hit_eff_result,json=hitEffResult,proto3" json:"hit_eff_result,omitempty"` + DamageShield float32 `protobuf:"fixed32,1202,opt,name=damage_shield,json=damageShield,proto3" json:"damage_shield,omitempty"` + EndureDelta float32 `protobuf:"fixed32,430,opt,name=endure_delta,json=endureDelta,proto3" json:"endure_delta,omitempty"` + ResolvedDir *Vector `protobuf:"bytes,1,opt,name=resolved_dir,json=resolvedDir,proto3" json:"resolved_dir,omitempty"` + Damage float32 `protobuf:"fixed32,6,opt,name=damage,proto3" json:"damage,omitempty"` + AddhurtReactionType uint32 `protobuf:"varint,1887,opt,name=addhurt_reaction_type,json=addhurtReactionType,proto3" json:"addhurt_reaction_type,omitempty"` + HashedAnimEventId uint32 `protobuf:"varint,278,opt,name=hashed_anim_event_id,json=hashedAnimEventId,proto3" json:"hashed_anim_event_id,omitempty"` + UseGadgetDamageAction bool `protobuf:"varint,1418,opt,name=use_gadget_damage_action,json=useGadgetDamageAction,proto3" json:"use_gadget_damage_action,omitempty"` + HitRetreatAngleCompat int32 `protobuf:"varint,9,opt,name=hit_retreat_angle_compat,json=hitRetreatAngleCompat,proto3" json:"hit_retreat_angle_compat,omitempty"` + AbilityIdentifier *AbilityIdentifier `protobuf:"bytes,14,opt,name=ability_identifier,json=abilityIdentifier,proto3" json:"ability_identifier,omitempty"` + AttackerId uint32 `protobuf:"varint,11,opt,name=attacker_id,json=attackerId,proto3" json:"attacker_id,omitempty"` + MuteElementHurt bool `protobuf:"varint,1530,opt,name=mute_element_hurt,json=muteElementHurt,proto3" json:"mute_element_hurt,omitempty"` + TargetType uint32 `protobuf:"varint,1366,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"` + HitCollision *HitCollision `protobuf:"bytes,10,opt,name=hit_collision,json=hitCollision,proto3" json:"hit_collision,omitempty"` + GadgetDamageActionIdx uint32 `protobuf:"varint,1110,opt,name=gadget_damage_action_idx,json=gadgetDamageActionIdx,proto3" json:"gadget_damage_action_idx,omitempty"` +} + +func (x *AttackResult) Reset() { + *x = AttackResult{} + if protoimpl.UnsafeEnabled { + mi := &file_AttackResult_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AttackResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AttackResult) ProtoMessage() {} + +func (x *AttackResult) ProtoReflect() protoreflect.Message { + mi := &file_AttackResult_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AttackResult.ProtoReflect.Descriptor instead. +func (*AttackResult) Descriptor() ([]byte, []int) { + return file_AttackResult_proto_rawDescGZIP(), []int{0} +} + +func (x *AttackResult) GetIsResistText() bool { + if x != nil { + return x.IsResistText + } + return false +} + +func (x *AttackResult) GetUnk2700_GBANCFEPPIM() uint32 { + if x != nil { + return x.Unk2700_GBANCFEPPIM + } + return 0 +} + +func (x *AttackResult) GetAmplifyReactionType() uint32 { + if x != nil { + return x.AmplifyReactionType + } + return 0 +} + +func (x *AttackResult) GetEndureBreak() uint32 { + if x != nil { + return x.EndureBreak + } + return 0 +} + +func (x *AttackResult) GetElementType() uint32 { + if x != nil { + return x.ElementType + } + return 0 +} + +func (x *AttackResult) GetElementDurabilityAttenuation() float32 { + if x != nil { + return x.ElementDurabilityAttenuation + } + return 0 +} + +func (x *AttackResult) GetDefenseId() uint32 { + if x != nil { + return x.DefenseId + } + return 0 +} + +func (x *AttackResult) GetAttackTimestampMs() uint32 { + if x != nil { + return x.AttackTimestampMs + } + return 0 +} + +func (x *AttackResult) GetBulletFlyTimeMs() uint32 { + if x != nil { + return x.BulletFlyTimeMs + } + return 0 +} + +func (x *AttackResult) GetIsCrit() bool { + if x != nil { + return x.IsCrit + } + return false +} + +func (x *AttackResult) GetElementAmplifyRate() float32 { + if x != nil { + return x.ElementAmplifyRate + } + return 0 +} + +func (x *AttackResult) GetAttackCount() uint32 { + if x != nil { + return x.AttackCount + } + return 0 +} + +func (x *AttackResult) GetCriticalRand() uint32 { + if x != nil { + return x.CriticalRand + } + return 0 +} + +func (x *AttackResult) GetHitPosType() uint32 { + if x != nil { + return x.HitPosType + } + return 0 +} + +func (x *AttackResult) GetAnimEventId() string { + if x != nil { + return x.AnimEventId + } + return "" +} + +func (x *AttackResult) GetHitEffResult() *AttackHitEffectResult { + if x != nil { + return x.HitEffResult + } + return nil +} + +func (x *AttackResult) GetDamageShield() float32 { + if x != nil { + return x.DamageShield + } + return 0 +} + +func (x *AttackResult) GetEndureDelta() float32 { + if x != nil { + return x.EndureDelta + } + return 0 +} + +func (x *AttackResult) GetResolvedDir() *Vector { + if x != nil { + return x.ResolvedDir + } + return nil +} + +func (x *AttackResult) GetDamage() float32 { + if x != nil { + return x.Damage + } + return 0 +} + +func (x *AttackResult) GetAddhurtReactionType() uint32 { + if x != nil { + return x.AddhurtReactionType + } + return 0 +} + +func (x *AttackResult) GetHashedAnimEventId() uint32 { + if x != nil { + return x.HashedAnimEventId + } + return 0 +} + +func (x *AttackResult) GetUseGadgetDamageAction() bool { + if x != nil { + return x.UseGadgetDamageAction + } + return false +} + +func (x *AttackResult) GetHitRetreatAngleCompat() int32 { + if x != nil { + return x.HitRetreatAngleCompat + } + return 0 +} + +func (x *AttackResult) GetAbilityIdentifier() *AbilityIdentifier { + if x != nil { + return x.AbilityIdentifier + } + return nil +} + +func (x *AttackResult) GetAttackerId() uint32 { + if x != nil { + return x.AttackerId + } + return 0 +} + +func (x *AttackResult) GetMuteElementHurt() bool { + if x != nil { + return x.MuteElementHurt + } + return false +} + +func (x *AttackResult) GetTargetType() uint32 { + if x != nil { + return x.TargetType + } + return 0 +} + +func (x *AttackResult) GetHitCollision() *HitCollision { + if x != nil { + return x.HitCollision + } + return nil +} + +func (x *AttackResult) GetGadgetDamageActionIdx() uint32 { + if x != nil { + return x.GadgetDamageActionIdx + } + return 0 +} + +var File_AttackResult_proto protoreflect.FileDescriptor + +var file_AttackResult_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x69, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x48, 0x69, 0x74, 0x43, + 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x0a, 0x0a, + 0x0c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, + 0x0e, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, + 0xc2, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, + 0x54, 0x65, 0x78, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x47, 0x42, 0x41, 0x4e, 0x43, 0x46, 0x45, 0x50, 0x50, 0x49, 0x4d, 0x18, 0xf3, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x42, 0x41, 0x4e, 0x43, + 0x46, 0x45, 0x50, 0x50, 0x49, 0x4d, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, + 0x79, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0xd5, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x52, + 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, + 0x6e, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x75, 0x72, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x21, + 0x0a, 0x0c, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x45, 0x0a, 0x1e, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x75, 0x72, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x75, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0xa9, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x1c, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, + 0x65, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x65, + 0x6e, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x65, + 0x66, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x73, 0x18, 0xa4, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x73, 0x12, 0x2b, 0x0a, 0x12, 0x62, 0x75, 0x6c, 0x6c, + 0x65, 0x74, 0x5f, 0x66, 0x6c, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x5b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x46, 0x6c, 0x79, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x63, 0x72, 0x69, 0x74, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x43, 0x72, 0x69, 0x74, 0x12, 0x31, + 0x0a, 0x14, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x66, + 0x79, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x84, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x79, 0x52, 0x61, 0x74, + 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x9c, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, + 0x6c, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x80, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, + 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x52, 0x61, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x68, + 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x68, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, + 0x0d, 0x61, 0x6e, 0x69, 0x6d, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6e, 0x69, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x3c, 0x0a, 0x0e, 0x68, 0x69, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x6b, 0x48, 0x69, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x0c, 0x68, 0x69, 0x74, 0x45, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x18, 0xb2, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x53, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x75, 0x72, 0x65, 0x5f, + 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0xae, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x65, 0x6e, + 0x64, 0x75, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0c, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x64, 0x44, 0x69, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x33, 0x0a, + 0x15, 0x61, 0x64, 0x64, 0x68, 0x75, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0xdf, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x61, + 0x64, 0x64, 0x68, 0x75, 0x72, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x61, 0x6e, 0x69, + 0x6d, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x96, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x41, 0x6e, 0x69, 0x6d, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x8a, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x75, 0x73, 0x65, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, + 0x0a, 0x18, 0x68, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x65, 0x61, 0x74, 0x5f, 0x61, 0x6e, + 0x67, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x15, 0x68, 0x69, 0x74, 0x52, 0x65, 0x74, 0x72, 0x65, 0x61, 0x74, 0x41, 0x6e, 0x67, 0x6c, + 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x12, 0x41, 0x0a, 0x12, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, + 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, + 0x75, 0x74, 0x65, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x75, 0x72, 0x74, + 0x18, 0xfa, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6d, 0x75, 0x74, 0x65, 0x45, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x75, 0x72, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0xd6, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0d, 0x68, 0x69, + 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0d, 0x2e, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x0c, 0x68, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x38, + 0x0a, 0x18, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x5f, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x78, 0x18, 0xd6, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x15, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AttackResult_proto_rawDescOnce sync.Once + file_AttackResult_proto_rawDescData = file_AttackResult_proto_rawDesc +) + +func file_AttackResult_proto_rawDescGZIP() []byte { + file_AttackResult_proto_rawDescOnce.Do(func() { + file_AttackResult_proto_rawDescData = protoimpl.X.CompressGZIP(file_AttackResult_proto_rawDescData) + }) + return file_AttackResult_proto_rawDescData +} + +var file_AttackResult_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AttackResult_proto_goTypes = []interface{}{ + (*AttackResult)(nil), // 0: AttackResult + (*AttackHitEffectResult)(nil), // 1: AttackHitEffectResult + (*Vector)(nil), // 2: Vector + (*AbilityIdentifier)(nil), // 3: AbilityIdentifier + (*HitCollision)(nil), // 4: HitCollision +} +var file_AttackResult_proto_depIdxs = []int32{ + 1, // 0: AttackResult.hit_eff_result:type_name -> AttackHitEffectResult + 2, // 1: AttackResult.resolved_dir:type_name -> Vector + 3, // 2: AttackResult.ability_identifier:type_name -> AbilityIdentifier + 4, // 3: AttackResult.hit_collision:type_name -> HitCollision + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_AttackResult_proto_init() } +func file_AttackResult_proto_init() { + if File_AttackResult_proto != nil { + return + } + file_AbilityIdentifier_proto_init() + file_AttackHitEffectResult_proto_init() + file_HitCollision_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AttackResult_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttackResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AttackResult_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AttackResult_proto_goTypes, + DependencyIndexes: file_AttackResult_proto_depIdxs, + MessageInfos: file_AttackResult_proto_msgTypes, + }.Build() + File_AttackResult_proto = out.File + file_AttackResult_proto_rawDesc = nil + file_AttackResult_proto_goTypes = nil + file_AttackResult_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AttackResult.proto b/gate-hk4e-api/proto/AttackResult.proto new file mode 100644 index 00000000..ebd04b97 --- /dev/null +++ b/gate-hk4e-api/proto/AttackResult.proto @@ -0,0 +1,57 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityIdentifier.proto"; +import "AttackHitEffectResult.proto"; +import "HitCollision.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message AttackResult { + bool is_resist_text = 1858; + uint32 Unk2700_GBANCFEPPIM = 1011; + uint32 amplify_reaction_type = 2005; + uint32 endure_break = 7; + uint32 element_type = 5; + float element_durability_attenuation = 425; + uint32 defense_id = 15; + uint32 attack_timestamp_ms = 1188; + uint32 bullet_fly_time_ms = 91; + bool is_crit = 13; + float element_amplify_rate = 900; + uint32 attack_count = 1564; + uint32 critical_rand = 1664; + uint32 hit_pos_type = 2; + string anim_event_id = 4; + AttackHitEffectResult hit_eff_result = 8; + float damage_shield = 1202; + float endure_delta = 430; + Vector resolved_dir = 1; + float damage = 6; + uint32 addhurt_reaction_type = 1887; + uint32 hashed_anim_event_id = 278; + bool use_gadget_damage_action = 1418; + int32 hit_retreat_angle_compat = 9; + AbilityIdentifier ability_identifier = 14; + uint32 attacker_id = 11; + bool mute_element_hurt = 1530; + uint32 target_type = 1366; + HitCollision hit_collision = 10; + uint32 gadget_damage_action_idx = 1110; +} diff --git a/gate-hk4e-api/proto/AuthorityChange.pb.go b/gate-hk4e-api/proto/AuthorityChange.pb.go new file mode 100644 index 00000000..0c440730 --- /dev/null +++ b/gate-hk4e-api/proto/AuthorityChange.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AuthorityChange.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AuthorityChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityAuthorityInfo *EntityAuthorityInfo `protobuf:"bytes,5,opt,name=entity_authority_info,json=entityAuthorityInfo,proto3" json:"entity_authority_info,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,3,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *AuthorityChange) Reset() { + *x = AuthorityChange{} + if protoimpl.UnsafeEnabled { + mi := &file_AuthorityChange_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AuthorityChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthorityChange) ProtoMessage() {} + +func (x *AuthorityChange) ProtoReflect() protoreflect.Message { + mi := &file_AuthorityChange_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AuthorityChange.ProtoReflect.Descriptor instead. +func (*AuthorityChange) Descriptor() ([]byte, []int) { + return file_AuthorityChange_proto_rawDescGZIP(), []int{0} +} + +func (x *AuthorityChange) GetEntityAuthorityInfo() *EntityAuthorityInfo { + if x != nil { + return x.EntityAuthorityInfo + } + return nil +} + +func (x *AuthorityChange) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *AuthorityChange) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_AuthorityChange_proto protoreflect.FileDescriptor + +var file_AuthorityChange_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x0f, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x48, 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AuthorityChange_proto_rawDescOnce sync.Once + file_AuthorityChange_proto_rawDescData = file_AuthorityChange_proto_rawDesc +) + +func file_AuthorityChange_proto_rawDescGZIP() []byte { + file_AuthorityChange_proto_rawDescOnce.Do(func() { + file_AuthorityChange_proto_rawDescData = protoimpl.X.CompressGZIP(file_AuthorityChange_proto_rawDescData) + }) + return file_AuthorityChange_proto_rawDescData +} + +var file_AuthorityChange_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AuthorityChange_proto_goTypes = []interface{}{ + (*AuthorityChange)(nil), // 0: AuthorityChange + (*EntityAuthorityInfo)(nil), // 1: EntityAuthorityInfo +} +var file_AuthorityChange_proto_depIdxs = []int32{ + 1, // 0: AuthorityChange.entity_authority_info:type_name -> EntityAuthorityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AuthorityChange_proto_init() } +func file_AuthorityChange_proto_init() { + if File_AuthorityChange_proto != nil { + return + } + file_EntityAuthorityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AuthorityChange_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthorityChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AuthorityChange_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AuthorityChange_proto_goTypes, + DependencyIndexes: file_AuthorityChange_proto_depIdxs, + MessageInfos: file_AuthorityChange_proto_msgTypes, + }.Build() + File_AuthorityChange_proto = out.File + file_AuthorityChange_proto_rawDesc = nil + file_AuthorityChange_proto_goTypes = nil + file_AuthorityChange_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AuthorityChange.proto b/gate-hk4e-api/proto/AuthorityChange.proto new file mode 100644 index 00000000..b306421f --- /dev/null +++ b/gate-hk4e-api/proto/AuthorityChange.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityAuthorityInfo.proto"; + +option go_package = "./;proto"; + +message AuthorityChange { + EntityAuthorityInfo entity_authority_info = 5; + uint32 authority_peer_id = 3; + uint32 entity_id = 13; +} diff --git a/gate-hk4e-api/proto/AvatarAddNotify.pb.go b/gate-hk4e-api/proto/AvatarAddNotify.pb.go new file mode 100644 index 00000000..857e4445 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarAddNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarAddNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1769 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarAddNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Avatar *AvatarInfo `protobuf:"bytes,13,opt,name=avatar,proto3" json:"avatar,omitempty"` + IsInTeam bool `protobuf:"varint,12,opt,name=is_in_team,json=isInTeam,proto3" json:"is_in_team,omitempty"` +} + +func (x *AvatarAddNotify) Reset() { + *x = AvatarAddNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarAddNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarAddNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarAddNotify) ProtoMessage() {} + +func (x *AvatarAddNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarAddNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarAddNotify.ProtoReflect.Descriptor instead. +func (*AvatarAddNotify) Descriptor() ([]byte, []int) { + return file_AvatarAddNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarAddNotify) GetAvatar() *AvatarInfo { + if x != nil { + return x.Avatar + } + return nil +} + +func (x *AvatarAddNotify) GetIsInTeam() bool { + if x != nil { + return x.IsInTeam + } + return false +} + +var File_AvatarAddNotify_proto protoreflect.FileDescriptor + +var file_AvatarAddNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0f, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x06, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarAddNotify_proto_rawDescOnce sync.Once + file_AvatarAddNotify_proto_rawDescData = file_AvatarAddNotify_proto_rawDesc +) + +func file_AvatarAddNotify_proto_rawDescGZIP() []byte { + file_AvatarAddNotify_proto_rawDescOnce.Do(func() { + file_AvatarAddNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarAddNotify_proto_rawDescData) + }) + return file_AvatarAddNotify_proto_rawDescData +} + +var file_AvatarAddNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarAddNotify_proto_goTypes = []interface{}{ + (*AvatarAddNotify)(nil), // 0: AvatarAddNotify + (*AvatarInfo)(nil), // 1: AvatarInfo +} +var file_AvatarAddNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarAddNotify.avatar:type_name -> AvatarInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarAddNotify_proto_init() } +func file_AvatarAddNotify_proto_init() { + if File_AvatarAddNotify_proto != nil { + return + } + file_AvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarAddNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarAddNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarAddNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarAddNotify_proto_goTypes, + DependencyIndexes: file_AvatarAddNotify_proto_depIdxs, + MessageInfos: file_AvatarAddNotify_proto_msgTypes, + }.Build() + File_AvatarAddNotify_proto = out.File + file_AvatarAddNotify_proto_rawDesc = nil + file_AvatarAddNotify_proto_goTypes = nil + file_AvatarAddNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarAddNotify.proto b/gate-hk4e-api/proto/AvatarAddNotify.proto new file mode 100644 index 00000000..8f147e53 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarAddNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1769 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarAddNotify { + AvatarInfo avatar = 13; + bool is_in_team = 12; +} diff --git a/gate-hk4e-api/proto/AvatarBuffAddNotify.pb.go b/gate-hk4e-api/proto/AvatarBuffAddNotify.pb.go new file mode 100644 index 00000000..ff04f994 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarBuffAddNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarBuffAddNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 388 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarBuffAddNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + BuffId uint32 `protobuf:"varint,6,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` +} + +func (x *AvatarBuffAddNotify) Reset() { + *x = AvatarBuffAddNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarBuffAddNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarBuffAddNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarBuffAddNotify) ProtoMessage() {} + +func (x *AvatarBuffAddNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarBuffAddNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarBuffAddNotify.ProtoReflect.Descriptor instead. +func (*AvatarBuffAddNotify) Descriptor() ([]byte, []int) { + return file_AvatarBuffAddNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarBuffAddNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarBuffAddNotify) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +var File_AvatarBuffAddNotify_proto protoreflect.FileDescriptor + +var file_AvatarBuffAddNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x41, 0x64, 0x64, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarBuffAddNotify_proto_rawDescOnce sync.Once + file_AvatarBuffAddNotify_proto_rawDescData = file_AvatarBuffAddNotify_proto_rawDesc +) + +func file_AvatarBuffAddNotify_proto_rawDescGZIP() []byte { + file_AvatarBuffAddNotify_proto_rawDescOnce.Do(func() { + file_AvatarBuffAddNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarBuffAddNotify_proto_rawDescData) + }) + return file_AvatarBuffAddNotify_proto_rawDescData +} + +var file_AvatarBuffAddNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarBuffAddNotify_proto_goTypes = []interface{}{ + (*AvatarBuffAddNotify)(nil), // 0: AvatarBuffAddNotify +} +var file_AvatarBuffAddNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarBuffAddNotify_proto_init() } +func file_AvatarBuffAddNotify_proto_init() { + if File_AvatarBuffAddNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarBuffAddNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarBuffAddNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarBuffAddNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarBuffAddNotify_proto_goTypes, + DependencyIndexes: file_AvatarBuffAddNotify_proto_depIdxs, + MessageInfos: file_AvatarBuffAddNotify_proto_msgTypes, + }.Build() + File_AvatarBuffAddNotify_proto = out.File + file_AvatarBuffAddNotify_proto_rawDesc = nil + file_AvatarBuffAddNotify_proto_goTypes = nil + file_AvatarBuffAddNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarBuffAddNotify.proto b/gate-hk4e-api/proto/AvatarBuffAddNotify.proto new file mode 100644 index 00000000..01e26223 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarBuffAddNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 388 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarBuffAddNotify { + uint64 avatar_guid = 10; + uint32 buff_id = 6; +} diff --git a/gate-hk4e-api/proto/AvatarBuffDelNotify.pb.go b/gate-hk4e-api/proto/AvatarBuffDelNotify.pb.go new file mode 100644 index 00000000..363192f6 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarBuffDelNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarBuffDelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarBuffDelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + BuffId uint32 `protobuf:"varint,12,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` +} + +func (x *AvatarBuffDelNotify) Reset() { + *x = AvatarBuffDelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarBuffDelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarBuffDelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarBuffDelNotify) ProtoMessage() {} + +func (x *AvatarBuffDelNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarBuffDelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarBuffDelNotify.ProtoReflect.Descriptor instead. +func (*AvatarBuffDelNotify) Descriptor() ([]byte, []int) { + return file_AvatarBuffDelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarBuffDelNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarBuffDelNotify) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +var File_AvatarBuffDelNotify_proto protoreflect.FileDescriptor + +var file_AvatarBuffDelNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarBuffDelNotify_proto_rawDescOnce sync.Once + file_AvatarBuffDelNotify_proto_rawDescData = file_AvatarBuffDelNotify_proto_rawDesc +) + +func file_AvatarBuffDelNotify_proto_rawDescGZIP() []byte { + file_AvatarBuffDelNotify_proto_rawDescOnce.Do(func() { + file_AvatarBuffDelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarBuffDelNotify_proto_rawDescData) + }) + return file_AvatarBuffDelNotify_proto_rawDescData +} + +var file_AvatarBuffDelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarBuffDelNotify_proto_goTypes = []interface{}{ + (*AvatarBuffDelNotify)(nil), // 0: AvatarBuffDelNotify +} +var file_AvatarBuffDelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarBuffDelNotify_proto_init() } +func file_AvatarBuffDelNotify_proto_init() { + if File_AvatarBuffDelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarBuffDelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarBuffDelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarBuffDelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarBuffDelNotify_proto_goTypes, + DependencyIndexes: file_AvatarBuffDelNotify_proto_depIdxs, + MessageInfos: file_AvatarBuffDelNotify_proto_msgTypes, + }.Build() + File_AvatarBuffDelNotify_proto = out.File + file_AvatarBuffDelNotify_proto_rawDesc = nil + file_AvatarBuffDelNotify_proto_goTypes = nil + file_AvatarBuffDelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarBuffDelNotify.proto b/gate-hk4e-api/proto/AvatarBuffDelNotify.proto new file mode 100644 index 00000000..ff28d738 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarBuffDelNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarBuffDelNotify { + uint64 avatar_guid = 10; + uint32 buff_id = 12; +} diff --git a/gate-hk4e-api/proto/AvatarCardChangeReq.pb.go b/gate-hk4e-api/proto/AvatarCardChangeReq.pb.go new file mode 100644 index 00000000..b0d5924f --- /dev/null +++ b/gate-hk4e-api/proto/AvatarCardChangeReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarCardChangeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 688 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarCardChangeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,6,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,14,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Count uint32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *AvatarCardChangeReq) Reset() { + *x = AvatarCardChangeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarCardChangeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarCardChangeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarCardChangeReq) ProtoMessage() {} + +func (x *AvatarCardChangeReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarCardChangeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarCardChangeReq.ProtoReflect.Descriptor instead. +func (*AvatarCardChangeReq) Descriptor() ([]byte, []int) { + return file_AvatarCardChangeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarCardChangeReq) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *AvatarCardChangeReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarCardChangeReq) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_AvatarCardChangeReq_proto protoreflect.FileDescriptor + +var file_AvatarCardChangeReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x13, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarCardChangeReq_proto_rawDescOnce sync.Once + file_AvatarCardChangeReq_proto_rawDescData = file_AvatarCardChangeReq_proto_rawDesc +) + +func file_AvatarCardChangeReq_proto_rawDescGZIP() []byte { + file_AvatarCardChangeReq_proto_rawDescOnce.Do(func() { + file_AvatarCardChangeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarCardChangeReq_proto_rawDescData) + }) + return file_AvatarCardChangeReq_proto_rawDescData +} + +var file_AvatarCardChangeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarCardChangeReq_proto_goTypes = []interface{}{ + (*AvatarCardChangeReq)(nil), // 0: AvatarCardChangeReq +} +var file_AvatarCardChangeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarCardChangeReq_proto_init() } +func file_AvatarCardChangeReq_proto_init() { + if File_AvatarCardChangeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarCardChangeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarCardChangeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarCardChangeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarCardChangeReq_proto_goTypes, + DependencyIndexes: file_AvatarCardChangeReq_proto_depIdxs, + MessageInfos: file_AvatarCardChangeReq_proto_msgTypes, + }.Build() + File_AvatarCardChangeReq_proto = out.File + file_AvatarCardChangeReq_proto_rawDesc = nil + file_AvatarCardChangeReq_proto_goTypes = nil + file_AvatarCardChangeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarCardChangeReq.proto b/gate-hk4e-api/proto/AvatarCardChangeReq.proto new file mode 100644 index 00000000..2ef51c42 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarCardChangeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 688 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarCardChangeReq { + uint32 item_id = 6; + uint64 avatar_guid = 14; + uint32 count = 7; +} diff --git a/gate-hk4e-api/proto/AvatarCardChangeRsp.pb.go b/gate-hk4e-api/proto/AvatarCardChangeRsp.pb.go new file mode 100644 index 00000000..a4d62ea9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarCardChangeRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarCardChangeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 626 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarCardChangeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarCardChangeRsp) Reset() { + *x = AvatarCardChangeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarCardChangeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarCardChangeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarCardChangeRsp) ProtoMessage() {} + +func (x *AvatarCardChangeRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarCardChangeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarCardChangeRsp.ProtoReflect.Descriptor instead. +func (*AvatarCardChangeRsp) Descriptor() ([]byte, []int) { + return file_AvatarCardChangeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarCardChangeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarCardChangeRsp_proto protoreflect.FileDescriptor + +var file_AvatarCardChangeRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarCardChangeRsp_proto_rawDescOnce sync.Once + file_AvatarCardChangeRsp_proto_rawDescData = file_AvatarCardChangeRsp_proto_rawDesc +) + +func file_AvatarCardChangeRsp_proto_rawDescGZIP() []byte { + file_AvatarCardChangeRsp_proto_rawDescOnce.Do(func() { + file_AvatarCardChangeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarCardChangeRsp_proto_rawDescData) + }) + return file_AvatarCardChangeRsp_proto_rawDescData +} + +var file_AvatarCardChangeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarCardChangeRsp_proto_goTypes = []interface{}{ + (*AvatarCardChangeRsp)(nil), // 0: AvatarCardChangeRsp +} +var file_AvatarCardChangeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarCardChangeRsp_proto_init() } +func file_AvatarCardChangeRsp_proto_init() { + if File_AvatarCardChangeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarCardChangeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarCardChangeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarCardChangeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarCardChangeRsp_proto_goTypes, + DependencyIndexes: file_AvatarCardChangeRsp_proto_depIdxs, + MessageInfos: file_AvatarCardChangeRsp_proto_msgTypes, + }.Build() + File_AvatarCardChangeRsp_proto = out.File + file_AvatarCardChangeRsp_proto_rawDesc = nil + file_AvatarCardChangeRsp_proto_goTypes = nil + file_AvatarCardChangeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarCardChangeRsp.proto b/gate-hk4e-api/proto/AvatarCardChangeRsp.proto new file mode 100644 index 00000000..f855c3bd --- /dev/null +++ b/gate-hk4e-api/proto/AvatarCardChangeRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 626 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarCardChangeRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/AvatarChangeAnimHashReq.pb.go b/gate-hk4e-api/proto/AvatarChangeAnimHashReq.pb.go new file mode 100644 index 00000000..150c8c6f --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeAnimHashReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeAnimHashReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1711 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarChangeAnimHashReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnimHash uint32 `protobuf:"varint,6,opt,name=anim_hash,json=animHash,proto3" json:"anim_hash,omitempty"` + AvatarGuid uint64 `protobuf:"varint,3,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarChangeAnimHashReq) Reset() { + *x = AvatarChangeAnimHashReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeAnimHashReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeAnimHashReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeAnimHashReq) ProtoMessage() {} + +func (x *AvatarChangeAnimHashReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeAnimHashReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeAnimHashReq.ProtoReflect.Descriptor instead. +func (*AvatarChangeAnimHashReq) Descriptor() ([]byte, []int) { + return file_AvatarChangeAnimHashReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeAnimHashReq) GetAnimHash() uint32 { + if x != nil { + return x.AnimHash + } + return 0 +} + +func (x *AvatarChangeAnimHashReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarChangeAnimHashReq_proto protoreflect.FileDescriptor + +var file_AvatarChangeAnimHashReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x6e, + 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x57, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, + 0x6e, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, + 0x69, 0x6d, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x6e, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeAnimHashReq_proto_rawDescOnce sync.Once + file_AvatarChangeAnimHashReq_proto_rawDescData = file_AvatarChangeAnimHashReq_proto_rawDesc +) + +func file_AvatarChangeAnimHashReq_proto_rawDescGZIP() []byte { + file_AvatarChangeAnimHashReq_proto_rawDescOnce.Do(func() { + file_AvatarChangeAnimHashReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeAnimHashReq_proto_rawDescData) + }) + return file_AvatarChangeAnimHashReq_proto_rawDescData +} + +var file_AvatarChangeAnimHashReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeAnimHashReq_proto_goTypes = []interface{}{ + (*AvatarChangeAnimHashReq)(nil), // 0: AvatarChangeAnimHashReq +} +var file_AvatarChangeAnimHashReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeAnimHashReq_proto_init() } +func file_AvatarChangeAnimHashReq_proto_init() { + if File_AvatarChangeAnimHashReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeAnimHashReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeAnimHashReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeAnimHashReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeAnimHashReq_proto_goTypes, + DependencyIndexes: file_AvatarChangeAnimHashReq_proto_depIdxs, + MessageInfos: file_AvatarChangeAnimHashReq_proto_msgTypes, + }.Build() + File_AvatarChangeAnimHashReq_proto = out.File + file_AvatarChangeAnimHashReq_proto_rawDesc = nil + file_AvatarChangeAnimHashReq_proto_goTypes = nil + file_AvatarChangeAnimHashReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeAnimHashReq.proto b/gate-hk4e-api/proto/AvatarChangeAnimHashReq.proto new file mode 100644 index 00000000..ed128eea --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeAnimHashReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1711 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarChangeAnimHashReq { + uint32 anim_hash = 6; + uint64 avatar_guid = 3; +} diff --git a/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.pb.go b/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.pb.go new file mode 100644 index 00000000..c4a7a6dd --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeAnimHashRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1647 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarChangeAnimHashRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnimHash uint32 `protobuf:"varint,13,opt,name=anim_hash,json=animHash,proto3" json:"anim_hash,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarChangeAnimHashRsp) Reset() { + *x = AvatarChangeAnimHashRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeAnimHashRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeAnimHashRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeAnimHashRsp) ProtoMessage() {} + +func (x *AvatarChangeAnimHashRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeAnimHashRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeAnimHashRsp.ProtoReflect.Descriptor instead. +func (*AvatarChangeAnimHashRsp) Descriptor() ([]byte, []int) { + return file_AvatarChangeAnimHashRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeAnimHashRsp) GetAnimHash() uint32 { + if x != nil { + return x.AnimHash + } + return 0 +} + +func (x *AvatarChangeAnimHashRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarChangeAnimHashRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarChangeAnimHashRsp_proto protoreflect.FileDescriptor + +var file_AvatarChangeAnimHashRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x6e, + 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x71, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, + 0x6e, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, + 0x69, 0x6d, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x6e, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeAnimHashRsp_proto_rawDescOnce sync.Once + file_AvatarChangeAnimHashRsp_proto_rawDescData = file_AvatarChangeAnimHashRsp_proto_rawDesc +) + +func file_AvatarChangeAnimHashRsp_proto_rawDescGZIP() []byte { + file_AvatarChangeAnimHashRsp_proto_rawDescOnce.Do(func() { + file_AvatarChangeAnimHashRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeAnimHashRsp_proto_rawDescData) + }) + return file_AvatarChangeAnimHashRsp_proto_rawDescData +} + +var file_AvatarChangeAnimHashRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeAnimHashRsp_proto_goTypes = []interface{}{ + (*AvatarChangeAnimHashRsp)(nil), // 0: AvatarChangeAnimHashRsp +} +var file_AvatarChangeAnimHashRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeAnimHashRsp_proto_init() } +func file_AvatarChangeAnimHashRsp_proto_init() { + if File_AvatarChangeAnimHashRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeAnimHashRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeAnimHashRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeAnimHashRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeAnimHashRsp_proto_goTypes, + DependencyIndexes: file_AvatarChangeAnimHashRsp_proto_depIdxs, + MessageInfos: file_AvatarChangeAnimHashRsp_proto_msgTypes, + }.Build() + File_AvatarChangeAnimHashRsp_proto = out.File + file_AvatarChangeAnimHashRsp_proto_rawDesc = nil + file_AvatarChangeAnimHashRsp_proto_goTypes = nil + file_AvatarChangeAnimHashRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.proto b/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.proto new file mode 100644 index 00000000..1689ec68 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeAnimHashRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1647 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarChangeAnimHashRsp { + uint32 anim_hash = 13; + int32 retcode = 5; + uint64 avatar_guid = 10; +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeNotify.pb.go b/gate-hk4e-api/proto/AvatarChangeCostumeNotify.pb.go new file mode 100644 index 00000000..746bfc63 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeCostumeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1644 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarChangeCostumeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityInfo *SceneEntityInfo `protobuf:"bytes,7,opt,name=entity_info,json=entityInfo,proto3" json:"entity_info,omitempty"` +} + +func (x *AvatarChangeCostumeNotify) Reset() { + *x = AvatarChangeCostumeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeCostumeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeCostumeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeCostumeNotify) ProtoMessage() {} + +func (x *AvatarChangeCostumeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeCostumeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeCostumeNotify.ProtoReflect.Descriptor instead. +func (*AvatarChangeCostumeNotify) Descriptor() ([]byte, []int) { + return file_AvatarChangeCostumeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeCostumeNotify) GetEntityInfo() *SceneEntityInfo { + if x != nil { + return x.EntityInfo + } + return nil +} + +var File_AvatarChangeCostumeNotify_proto protoreflect.FileDescriptor + +var file_AvatarChangeCostumeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeCostumeNotify_proto_rawDescOnce sync.Once + file_AvatarChangeCostumeNotify_proto_rawDescData = file_AvatarChangeCostumeNotify_proto_rawDesc +) + +func file_AvatarChangeCostumeNotify_proto_rawDescGZIP() []byte { + file_AvatarChangeCostumeNotify_proto_rawDescOnce.Do(func() { + file_AvatarChangeCostumeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeCostumeNotify_proto_rawDescData) + }) + return file_AvatarChangeCostumeNotify_proto_rawDescData +} + +var file_AvatarChangeCostumeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeCostumeNotify_proto_goTypes = []interface{}{ + (*AvatarChangeCostumeNotify)(nil), // 0: AvatarChangeCostumeNotify + (*SceneEntityInfo)(nil), // 1: SceneEntityInfo +} +var file_AvatarChangeCostumeNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarChangeCostumeNotify.entity_info:type_name -> SceneEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarChangeCostumeNotify_proto_init() } +func file_AvatarChangeCostumeNotify_proto_init() { + if File_AvatarChangeCostumeNotify_proto != nil { + return + } + file_SceneEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarChangeCostumeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeCostumeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeCostumeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeCostumeNotify_proto_goTypes, + DependencyIndexes: file_AvatarChangeCostumeNotify_proto_depIdxs, + MessageInfos: file_AvatarChangeCostumeNotify_proto_msgTypes, + }.Build() + File_AvatarChangeCostumeNotify_proto = out.File + file_AvatarChangeCostumeNotify_proto_rawDesc = nil + file_AvatarChangeCostumeNotify_proto_goTypes = nil + file_AvatarChangeCostumeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeNotify.proto b/gate-hk4e-api/proto/AvatarChangeCostumeNotify.proto new file mode 100644 index 00000000..bc808d8b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1644 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarChangeCostumeNotify { + SceneEntityInfo entity_info = 7; +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeReq.pb.go b/gate-hk4e-api/proto/AvatarChangeCostumeReq.pb.go new file mode 100644 index 00000000..b035478d --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeCostumeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1778 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarChangeCostumeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostumeId uint32 `protobuf:"varint,4,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,2,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarChangeCostumeReq) Reset() { + *x = AvatarChangeCostumeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeCostumeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeCostumeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeCostumeReq) ProtoMessage() {} + +func (x *AvatarChangeCostumeReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeCostumeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeCostumeReq.ProtoReflect.Descriptor instead. +func (*AvatarChangeCostumeReq) Descriptor() ([]byte, []int) { + return file_AvatarChangeCostumeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeCostumeReq) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *AvatarChangeCostumeReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarChangeCostumeReq_proto protoreflect.FileDescriptor + +var file_AvatarChangeCostumeReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeCostumeReq_proto_rawDescOnce sync.Once + file_AvatarChangeCostumeReq_proto_rawDescData = file_AvatarChangeCostumeReq_proto_rawDesc +) + +func file_AvatarChangeCostumeReq_proto_rawDescGZIP() []byte { + file_AvatarChangeCostumeReq_proto_rawDescOnce.Do(func() { + file_AvatarChangeCostumeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeCostumeReq_proto_rawDescData) + }) + return file_AvatarChangeCostumeReq_proto_rawDescData +} + +var file_AvatarChangeCostumeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeCostumeReq_proto_goTypes = []interface{}{ + (*AvatarChangeCostumeReq)(nil), // 0: AvatarChangeCostumeReq +} +var file_AvatarChangeCostumeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeCostumeReq_proto_init() } +func file_AvatarChangeCostumeReq_proto_init() { + if File_AvatarChangeCostumeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeCostumeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeCostumeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeCostumeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeCostumeReq_proto_goTypes, + DependencyIndexes: file_AvatarChangeCostumeReq_proto_depIdxs, + MessageInfos: file_AvatarChangeCostumeReq_proto_msgTypes, + }.Build() + File_AvatarChangeCostumeReq_proto = out.File + file_AvatarChangeCostumeReq_proto_rawDesc = nil + file_AvatarChangeCostumeReq_proto_goTypes = nil + file_AvatarChangeCostumeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeReq.proto b/gate-hk4e-api/proto/AvatarChangeCostumeReq.proto new file mode 100644 index 00000000..5ca32392 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1778 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarChangeCostumeReq { + uint32 costume_id = 4; + uint64 avatar_guid = 2; +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeRsp.pb.go b/gate-hk4e-api/proto/AvatarChangeCostumeRsp.pb.go new file mode 100644 index 00000000..e5f6c824 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeCostumeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1645 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarChangeCostumeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,12,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + CostumeId uint32 `protobuf:"varint,13,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *AvatarChangeCostumeRsp) Reset() { + *x = AvatarChangeCostumeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeCostumeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeCostumeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeCostumeRsp) ProtoMessage() {} + +func (x *AvatarChangeCostumeRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeCostumeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeCostumeRsp.ProtoReflect.Descriptor instead. +func (*AvatarChangeCostumeRsp) Descriptor() ([]byte, []int) { + return file_AvatarChangeCostumeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeCostumeRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarChangeCostumeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarChangeCostumeRsp) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_AvatarChangeCostumeRsp_proto protoreflect.FileDescriptor + +var file_AvatarChangeCostumeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeCostumeRsp_proto_rawDescOnce sync.Once + file_AvatarChangeCostumeRsp_proto_rawDescData = file_AvatarChangeCostumeRsp_proto_rawDesc +) + +func file_AvatarChangeCostumeRsp_proto_rawDescGZIP() []byte { + file_AvatarChangeCostumeRsp_proto_rawDescOnce.Do(func() { + file_AvatarChangeCostumeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeCostumeRsp_proto_rawDescData) + }) + return file_AvatarChangeCostumeRsp_proto_rawDescData +} + +var file_AvatarChangeCostumeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeCostumeRsp_proto_goTypes = []interface{}{ + (*AvatarChangeCostumeRsp)(nil), // 0: AvatarChangeCostumeRsp +} +var file_AvatarChangeCostumeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeCostumeRsp_proto_init() } +func file_AvatarChangeCostumeRsp_proto_init() { + if File_AvatarChangeCostumeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeCostumeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeCostumeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeCostumeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeCostumeRsp_proto_goTypes, + DependencyIndexes: file_AvatarChangeCostumeRsp_proto_depIdxs, + MessageInfos: file_AvatarChangeCostumeRsp_proto_msgTypes, + }.Build() + File_AvatarChangeCostumeRsp_proto = out.File + file_AvatarChangeCostumeRsp_proto_rawDesc = nil + file_AvatarChangeCostumeRsp_proto_goTypes = nil + file_AvatarChangeCostumeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeCostumeRsp.proto b/gate-hk4e-api/proto/AvatarChangeCostumeRsp.proto new file mode 100644 index 00000000..9f1dcf08 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeCostumeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1645 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarChangeCostumeRsp { + uint64 avatar_guid = 12; + int32 retcode = 7; + uint32 costume_id = 13; +} diff --git a/gate-hk4e-api/proto/AvatarChangeElementTypeReq.pb.go b/gate-hk4e-api/proto/AvatarChangeElementTypeReq.pb.go new file mode 100644 index 00000000..331611ae --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeElementTypeReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeElementTypeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1785 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarChangeElementTypeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,7,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + AreaId uint32 `protobuf:"varint,3,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` +} + +func (x *AvatarChangeElementTypeReq) Reset() { + *x = AvatarChangeElementTypeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeElementTypeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeElementTypeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeElementTypeReq) ProtoMessage() {} + +func (x *AvatarChangeElementTypeReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeElementTypeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeElementTypeReq.ProtoReflect.Descriptor instead. +func (*AvatarChangeElementTypeReq) Descriptor() ([]byte, []int) { + return file_AvatarChangeElementTypeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeElementTypeReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *AvatarChangeElementTypeReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +var File_AvatarChangeElementTypeReq_proto protoreflect.FileDescriptor + +var file_AvatarChangeElementTypeReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x61, + 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, + 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeElementTypeReq_proto_rawDescOnce sync.Once + file_AvatarChangeElementTypeReq_proto_rawDescData = file_AvatarChangeElementTypeReq_proto_rawDesc +) + +func file_AvatarChangeElementTypeReq_proto_rawDescGZIP() []byte { + file_AvatarChangeElementTypeReq_proto_rawDescOnce.Do(func() { + file_AvatarChangeElementTypeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeElementTypeReq_proto_rawDescData) + }) + return file_AvatarChangeElementTypeReq_proto_rawDescData +} + +var file_AvatarChangeElementTypeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeElementTypeReq_proto_goTypes = []interface{}{ + (*AvatarChangeElementTypeReq)(nil), // 0: AvatarChangeElementTypeReq +} +var file_AvatarChangeElementTypeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeElementTypeReq_proto_init() } +func file_AvatarChangeElementTypeReq_proto_init() { + if File_AvatarChangeElementTypeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeElementTypeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeElementTypeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeElementTypeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeElementTypeReq_proto_goTypes, + DependencyIndexes: file_AvatarChangeElementTypeReq_proto_depIdxs, + MessageInfos: file_AvatarChangeElementTypeReq_proto_msgTypes, + }.Build() + File_AvatarChangeElementTypeReq_proto = out.File + file_AvatarChangeElementTypeReq_proto_rawDesc = nil + file_AvatarChangeElementTypeReq_proto_goTypes = nil + file_AvatarChangeElementTypeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeElementTypeReq.proto b/gate-hk4e-api/proto/AvatarChangeElementTypeReq.proto new file mode 100644 index 00000000..f5fdfd7a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeElementTypeReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1785 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarChangeElementTypeReq { + uint32 scene_id = 7; + uint32 area_id = 3; +} diff --git a/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.pb.go b/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.pb.go new file mode 100644 index 00000000..68eb3053 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarChangeElementTypeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1651 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarChangeElementTypeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarChangeElementTypeRsp) Reset() { + *x = AvatarChangeElementTypeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarChangeElementTypeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarChangeElementTypeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarChangeElementTypeRsp) ProtoMessage() {} + +func (x *AvatarChangeElementTypeRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarChangeElementTypeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarChangeElementTypeRsp.ProtoReflect.Descriptor instead. +func (*AvatarChangeElementTypeRsp) Descriptor() ([]byte, []int) { + return file_AvatarChangeElementTypeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarChangeElementTypeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarChangeElementTypeRsp_proto protoreflect.FileDescriptor + +var file_AvatarChangeElementTypeRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarChangeElementTypeRsp_proto_rawDescOnce sync.Once + file_AvatarChangeElementTypeRsp_proto_rawDescData = file_AvatarChangeElementTypeRsp_proto_rawDesc +) + +func file_AvatarChangeElementTypeRsp_proto_rawDescGZIP() []byte { + file_AvatarChangeElementTypeRsp_proto_rawDescOnce.Do(func() { + file_AvatarChangeElementTypeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarChangeElementTypeRsp_proto_rawDescData) + }) + return file_AvatarChangeElementTypeRsp_proto_rawDescData +} + +var file_AvatarChangeElementTypeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarChangeElementTypeRsp_proto_goTypes = []interface{}{ + (*AvatarChangeElementTypeRsp)(nil), // 0: AvatarChangeElementTypeRsp +} +var file_AvatarChangeElementTypeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarChangeElementTypeRsp_proto_init() } +func file_AvatarChangeElementTypeRsp_proto_init() { + if File_AvatarChangeElementTypeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarChangeElementTypeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarChangeElementTypeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarChangeElementTypeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarChangeElementTypeRsp_proto_goTypes, + DependencyIndexes: file_AvatarChangeElementTypeRsp_proto_depIdxs, + MessageInfos: file_AvatarChangeElementTypeRsp_proto_msgTypes, + }.Build() + File_AvatarChangeElementTypeRsp_proto = out.File + file_AvatarChangeElementTypeRsp_proto_rawDesc = nil + file_AvatarChangeElementTypeRsp_proto_goTypes = nil + file_AvatarChangeElementTypeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.proto b/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.proto new file mode 100644 index 00000000..df649555 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarChangeElementTypeRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1651 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarChangeElementTypeRsp { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/AvatarDataNotify.pb.go b/gate-hk4e-api/proto/AvatarDataNotify.pb.go new file mode 100644 index 00000000..ad46b181 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDataNotify.pb.go @@ -0,0 +1,256 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1633 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnedCostumeList []uint32 `protobuf:"varint,11,rep,packed,name=owned_costume_list,json=ownedCostumeList,proto3" json:"owned_costume_list,omitempty"` + ChooseAvatarGuid uint64 `protobuf:"varint,8,opt,name=choose_avatar_guid,json=chooseAvatarGuid,proto3" json:"choose_avatar_guid,omitempty"` + AvatarTeamMap map[uint32]*AvatarTeam `protobuf:"bytes,7,rep,name=avatar_team_map,json=avatarTeamMap,proto3" json:"avatar_team_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Unk3000_NIGPICLBHMA []uint32 `protobuf:"varint,9,rep,packed,name=Unk3000_NIGPICLBHMA,json=Unk3000NIGPICLBHMA,proto3" json:"Unk3000_NIGPICLBHMA,omitempty"` + TempAvatarGuidList []uint64 `protobuf:"varint,12,rep,packed,name=temp_avatar_guid_list,json=tempAvatarGuidList,proto3" json:"temp_avatar_guid_list,omitempty"` + OwnedFlycloakList []uint32 `protobuf:"varint,1,rep,packed,name=owned_flycloak_list,json=ownedFlycloakList,proto3" json:"owned_flycloak_list,omitempty"` + AvatarList []*AvatarInfo `protobuf:"bytes,6,rep,name=avatar_list,json=avatarList,proto3" json:"avatar_list,omitempty"` + CurAvatarTeamId uint32 `protobuf:"varint,2,opt,name=cur_avatar_team_id,json=curAvatarTeamId,proto3" json:"cur_avatar_team_id,omitempty"` +} + +func (x *AvatarDataNotify) Reset() { + *x = AvatarDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarDataNotify) ProtoMessage() {} + +func (x *AvatarDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarDataNotify.ProtoReflect.Descriptor instead. +func (*AvatarDataNotify) Descriptor() ([]byte, []int) { + return file_AvatarDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarDataNotify) GetOwnedCostumeList() []uint32 { + if x != nil { + return x.OwnedCostumeList + } + return nil +} + +func (x *AvatarDataNotify) GetChooseAvatarGuid() uint64 { + if x != nil { + return x.ChooseAvatarGuid + } + return 0 +} + +func (x *AvatarDataNotify) GetAvatarTeamMap() map[uint32]*AvatarTeam { + if x != nil { + return x.AvatarTeamMap + } + return nil +} + +func (x *AvatarDataNotify) GetUnk3000_NIGPICLBHMA() []uint32 { + if x != nil { + return x.Unk3000_NIGPICLBHMA + } + return nil +} + +func (x *AvatarDataNotify) GetTempAvatarGuidList() []uint64 { + if x != nil { + return x.TempAvatarGuidList + } + return nil +} + +func (x *AvatarDataNotify) GetOwnedFlycloakList() []uint32 { + if x != nil { + return x.OwnedFlycloakList + } + return nil +} + +func (x *AvatarDataNotify) GetAvatarList() []*AvatarInfo { + if x != nil { + return x.AvatarList + } + return nil +} + +func (x *AvatarDataNotify) GetCurAvatarTeamId() uint32 { + if x != nil { + return x.CurAvatarTeamId + } + return 0 +} + +var File_AvatarDataNotify_proto protoreflect.FileDescriptor + +var file_AvatarDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfa, 0x03, 0x0a, + 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x75, + 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x6f, + 0x77, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2c, 0x0a, 0x12, 0x63, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x68, 0x6f, + 0x6f, 0x73, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x4c, 0x0a, + 0x0f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x47, 0x50, 0x49, 0x43, 0x4c, 0x42, 0x48, + 0x4d, 0x41, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x4e, 0x49, 0x47, 0x50, 0x49, 0x43, 0x4c, 0x42, 0x48, 0x4d, 0x41, 0x12, 0x31, 0x0a, 0x15, + 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x74, 0x65, 0x6d, + 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2e, 0x0a, 0x13, 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, + 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x77, + 0x6e, 0x65, 0x64, 0x46, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2c, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, + 0x12, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x1a, 0x4d, 0x0a, 0x12, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarDataNotify_proto_rawDescOnce sync.Once + file_AvatarDataNotify_proto_rawDescData = file_AvatarDataNotify_proto_rawDesc +) + +func file_AvatarDataNotify_proto_rawDescGZIP() []byte { + file_AvatarDataNotify_proto_rawDescOnce.Do(func() { + file_AvatarDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarDataNotify_proto_rawDescData) + }) + return file_AvatarDataNotify_proto_rawDescData +} + +var file_AvatarDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarDataNotify_proto_goTypes = []interface{}{ + (*AvatarDataNotify)(nil), // 0: AvatarDataNotify + nil, // 1: AvatarDataNotify.AvatarTeamMapEntry + (*AvatarInfo)(nil), // 2: AvatarInfo + (*AvatarTeam)(nil), // 3: AvatarTeam +} +var file_AvatarDataNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarDataNotify.avatar_team_map:type_name -> AvatarDataNotify.AvatarTeamMapEntry + 2, // 1: AvatarDataNotify.avatar_list:type_name -> AvatarInfo + 3, // 2: AvatarDataNotify.AvatarTeamMapEntry.value:type_name -> AvatarTeam + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_AvatarDataNotify_proto_init() } +func file_AvatarDataNotify_proto_init() { + if File_AvatarDataNotify_proto != nil { + return + } + file_AvatarInfo_proto_init() + file_AvatarTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarDataNotify_proto_goTypes, + DependencyIndexes: file_AvatarDataNotify_proto_depIdxs, + MessageInfos: file_AvatarDataNotify_proto_msgTypes, + }.Build() + File_AvatarDataNotify_proto = out.File + file_AvatarDataNotify_proto_rawDesc = nil + file_AvatarDataNotify_proto_goTypes = nil + file_AvatarDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarDataNotify.proto b/gate-hk4e-api/proto/AvatarDataNotify.proto new file mode 100644 index 00000000..d6f498a9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDataNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarInfo.proto"; +import "AvatarTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 1633 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarDataNotify { + repeated uint32 owned_costume_list = 11; + uint64 choose_avatar_guid = 8; + map avatar_team_map = 7; + repeated uint32 Unk3000_NIGPICLBHMA = 9; + repeated uint64 temp_avatar_guid_list = 12; + repeated uint32 owned_flycloak_list = 1; + repeated AvatarInfo avatar_list = 6; + uint32 cur_avatar_team_id = 2; +} diff --git a/gate-hk4e-api/proto/AvatarDelNotify.pb.go b/gate-hk4e-api/proto/AvatarDelNotify.pb.go new file mode 100644 index 00000000..51c508ce --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDelNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarDelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1773 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarDelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuidList []uint64 `protobuf:"varint,13,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` +} + +func (x *AvatarDelNotify) Reset() { + *x = AvatarDelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarDelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarDelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarDelNotify) ProtoMessage() {} + +func (x *AvatarDelNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarDelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarDelNotify.ProtoReflect.Descriptor instead. +func (*AvatarDelNotify) Descriptor() ([]byte, []int) { + return file_AvatarDelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarDelNotify) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +var File_AvatarDelNotify_proto protoreflect.FileDescriptor + +var file_AvatarDelNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0f, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarDelNotify_proto_rawDescOnce sync.Once + file_AvatarDelNotify_proto_rawDescData = file_AvatarDelNotify_proto_rawDesc +) + +func file_AvatarDelNotify_proto_rawDescGZIP() []byte { + file_AvatarDelNotify_proto_rawDescOnce.Do(func() { + file_AvatarDelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarDelNotify_proto_rawDescData) + }) + return file_AvatarDelNotify_proto_rawDescData +} + +var file_AvatarDelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarDelNotify_proto_goTypes = []interface{}{ + (*AvatarDelNotify)(nil), // 0: AvatarDelNotify +} +var file_AvatarDelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarDelNotify_proto_init() } +func file_AvatarDelNotify_proto_init() { + if File_AvatarDelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarDelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarDelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarDelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarDelNotify_proto_goTypes, + DependencyIndexes: file_AvatarDelNotify_proto_depIdxs, + MessageInfos: file_AvatarDelNotify_proto_msgTypes, + }.Build() + File_AvatarDelNotify_proto = out.File + file_AvatarDelNotify_proto_rawDesc = nil + file_AvatarDelNotify_proto_goTypes = nil + file_AvatarDelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarDelNotify.proto b/gate-hk4e-api/proto/AvatarDelNotify.proto new file mode 100644 index 00000000..45bcf3f1 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDelNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1773 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarDelNotify { + repeated uint64 avatar_guid_list = 13; +} diff --git a/gate-hk4e-api/proto/AvatarDieAnimationEndReq.pb.go b/gate-hk4e-api/proto/AvatarDieAnimationEndReq.pb.go new file mode 100644 index 00000000..54b167b9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDieAnimationEndReq.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarDieAnimationEndReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1610 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarDieAnimationEndReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RebornPos *Vector `protobuf:"bytes,3,opt,name=reborn_pos,json=rebornPos,proto3" json:"reborn_pos,omitempty"` + DieGuid uint64 `protobuf:"varint,7,opt,name=die_guid,json=dieGuid,proto3" json:"die_guid,omitempty"` + SkillId uint32 `protobuf:"varint,8,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` +} + +func (x *AvatarDieAnimationEndReq) Reset() { + *x = AvatarDieAnimationEndReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarDieAnimationEndReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarDieAnimationEndReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarDieAnimationEndReq) ProtoMessage() {} + +func (x *AvatarDieAnimationEndReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarDieAnimationEndReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarDieAnimationEndReq.ProtoReflect.Descriptor instead. +func (*AvatarDieAnimationEndReq) Descriptor() ([]byte, []int) { + return file_AvatarDieAnimationEndReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarDieAnimationEndReq) GetRebornPos() *Vector { + if x != nil { + return x.RebornPos + } + return nil +} + +func (x *AvatarDieAnimationEndReq) GetDieGuid() uint64 { + if x != nil { + return x.DieGuid + } + return 0 +} + +func (x *AvatarDieAnimationEndReq) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +var File_AvatarDieAnimationEndReq_proto protoreflect.FileDescriptor + +var file_AvatarDieAnimationEndReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x69, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, + 0x0a, 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x69, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0a, 0x72, 0x65, + 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x72, 0x65, 0x62, 0x6f, 0x72, 0x6e, 0x50, + 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x69, 0x65, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x64, 0x69, 0x65, 0x47, 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarDieAnimationEndReq_proto_rawDescOnce sync.Once + file_AvatarDieAnimationEndReq_proto_rawDescData = file_AvatarDieAnimationEndReq_proto_rawDesc +) + +func file_AvatarDieAnimationEndReq_proto_rawDescGZIP() []byte { + file_AvatarDieAnimationEndReq_proto_rawDescOnce.Do(func() { + file_AvatarDieAnimationEndReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarDieAnimationEndReq_proto_rawDescData) + }) + return file_AvatarDieAnimationEndReq_proto_rawDescData +} + +var file_AvatarDieAnimationEndReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarDieAnimationEndReq_proto_goTypes = []interface{}{ + (*AvatarDieAnimationEndReq)(nil), // 0: AvatarDieAnimationEndReq + (*Vector)(nil), // 1: Vector +} +var file_AvatarDieAnimationEndReq_proto_depIdxs = []int32{ + 1, // 0: AvatarDieAnimationEndReq.reborn_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarDieAnimationEndReq_proto_init() } +func file_AvatarDieAnimationEndReq_proto_init() { + if File_AvatarDieAnimationEndReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarDieAnimationEndReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarDieAnimationEndReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarDieAnimationEndReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarDieAnimationEndReq_proto_goTypes, + DependencyIndexes: file_AvatarDieAnimationEndReq_proto_depIdxs, + MessageInfos: file_AvatarDieAnimationEndReq_proto_msgTypes, + }.Build() + File_AvatarDieAnimationEndReq_proto = out.File + file_AvatarDieAnimationEndReq_proto_rawDesc = nil + file_AvatarDieAnimationEndReq_proto_goTypes = nil + file_AvatarDieAnimationEndReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarDieAnimationEndReq.proto b/gate-hk4e-api/proto/AvatarDieAnimationEndReq.proto new file mode 100644 index 00000000..9ec4e3ee --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDieAnimationEndReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 1610 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarDieAnimationEndReq { + Vector reborn_pos = 3; + uint64 die_guid = 7; + uint32 skill_id = 8; +} diff --git a/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.pb.go b/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.pb.go new file mode 100644 index 00000000..56110b12 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarDieAnimationEndRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1694 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarDieAnimationEndRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillId uint32 `protobuf:"varint,13,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + DieGuid uint64 `protobuf:"varint,15,opt,name=die_guid,json=dieGuid,proto3" json:"die_guid,omitempty"` +} + +func (x *AvatarDieAnimationEndRsp) Reset() { + *x = AvatarDieAnimationEndRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarDieAnimationEndRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarDieAnimationEndRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarDieAnimationEndRsp) ProtoMessage() {} + +func (x *AvatarDieAnimationEndRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarDieAnimationEndRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarDieAnimationEndRsp.ProtoReflect.Descriptor instead. +func (*AvatarDieAnimationEndRsp) Descriptor() ([]byte, []int) { + return file_AvatarDieAnimationEndRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarDieAnimationEndRsp) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *AvatarDieAnimationEndRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarDieAnimationEndRsp) GetDieGuid() uint64 { + if x != nil { + return x.DieGuid + } + return 0 +} + +var File_AvatarDieAnimationEndRsp_proto protoreflect.FileDescriptor + +var file_AvatarDieAnimationEndRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x69, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6a, 0x0a, 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x44, 0x69, 0x65, 0x41, 0x6e, 0x69, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x69, 0x65, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x64, 0x69, 0x65, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarDieAnimationEndRsp_proto_rawDescOnce sync.Once + file_AvatarDieAnimationEndRsp_proto_rawDescData = file_AvatarDieAnimationEndRsp_proto_rawDesc +) + +func file_AvatarDieAnimationEndRsp_proto_rawDescGZIP() []byte { + file_AvatarDieAnimationEndRsp_proto_rawDescOnce.Do(func() { + file_AvatarDieAnimationEndRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarDieAnimationEndRsp_proto_rawDescData) + }) + return file_AvatarDieAnimationEndRsp_proto_rawDescData +} + +var file_AvatarDieAnimationEndRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarDieAnimationEndRsp_proto_goTypes = []interface{}{ + (*AvatarDieAnimationEndRsp)(nil), // 0: AvatarDieAnimationEndRsp +} +var file_AvatarDieAnimationEndRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarDieAnimationEndRsp_proto_init() } +func file_AvatarDieAnimationEndRsp_proto_init() { + if File_AvatarDieAnimationEndRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarDieAnimationEndRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarDieAnimationEndRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarDieAnimationEndRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarDieAnimationEndRsp_proto_goTypes, + DependencyIndexes: file_AvatarDieAnimationEndRsp_proto_depIdxs, + MessageInfos: file_AvatarDieAnimationEndRsp_proto_msgTypes, + }.Build() + File_AvatarDieAnimationEndRsp_proto = out.File + file_AvatarDieAnimationEndRsp_proto_rawDesc = nil + file_AvatarDieAnimationEndRsp_proto_goTypes = nil + file_AvatarDieAnimationEndRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.proto b/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.proto new file mode 100644 index 00000000..dc81392d --- /dev/null +++ b/gate-hk4e-api/proto/AvatarDieAnimationEndRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1694 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarDieAnimationEndRsp { + uint32 skill_id = 13; + int32 retcode = 14; + uint64 die_guid = 15; +} diff --git a/gate-hk4e-api/proto/AvatarEnterElementViewNotify.pb.go b/gate-hk4e-api/proto/AvatarEnterElementViewNotify.pb.go new file mode 100644 index 00000000..df932dec --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEnterElementViewNotify.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarEnterElementViewNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 334 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarEnterElementViewNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTriggerd bool `protobuf:"varint,3,opt,name=is_triggerd,json=isTriggerd,proto3" json:"is_triggerd,omitempty"` + AvatarEntityId uint32 `protobuf:"varint,12,opt,name=avatar_entity_id,json=avatarEntityId,proto3" json:"avatar_entity_id,omitempty"` +} + +func (x *AvatarEnterElementViewNotify) Reset() { + *x = AvatarEnterElementViewNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarEnterElementViewNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarEnterElementViewNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarEnterElementViewNotify) ProtoMessage() {} + +func (x *AvatarEnterElementViewNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarEnterElementViewNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarEnterElementViewNotify.ProtoReflect.Descriptor instead. +func (*AvatarEnterElementViewNotify) Descriptor() ([]byte, []int) { + return file_AvatarEnterElementViewNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarEnterElementViewNotify) GetIsTriggerd() bool { + if x != nil { + return x.IsTriggerd + } + return false +} + +func (x *AvatarEnterElementViewNotify) GetAvatarEntityId() uint32 { + if x != nil { + return x.AvatarEntityId + } + return 0 +} + +var File_AvatarEnterElementViewNotify_proto protoreflect.FileDescriptor + +var file_AvatarEnterElementViewNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x45, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarEnterElementViewNotify_proto_rawDescOnce sync.Once + file_AvatarEnterElementViewNotify_proto_rawDescData = file_AvatarEnterElementViewNotify_proto_rawDesc +) + +func file_AvatarEnterElementViewNotify_proto_rawDescGZIP() []byte { + file_AvatarEnterElementViewNotify_proto_rawDescOnce.Do(func() { + file_AvatarEnterElementViewNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarEnterElementViewNotify_proto_rawDescData) + }) + return file_AvatarEnterElementViewNotify_proto_rawDescData +} + +var file_AvatarEnterElementViewNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarEnterElementViewNotify_proto_goTypes = []interface{}{ + (*AvatarEnterElementViewNotify)(nil), // 0: AvatarEnterElementViewNotify +} +var file_AvatarEnterElementViewNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarEnterElementViewNotify_proto_init() } +func file_AvatarEnterElementViewNotify_proto_init() { + if File_AvatarEnterElementViewNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarEnterElementViewNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarEnterElementViewNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarEnterElementViewNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarEnterElementViewNotify_proto_goTypes, + DependencyIndexes: file_AvatarEnterElementViewNotify_proto_depIdxs, + MessageInfos: file_AvatarEnterElementViewNotify_proto_msgTypes, + }.Build() + File_AvatarEnterElementViewNotify_proto = out.File + file_AvatarEnterElementViewNotify_proto_rawDesc = nil + file_AvatarEnterElementViewNotify_proto_goTypes = nil + file_AvatarEnterElementViewNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarEnterElementViewNotify.proto b/gate-hk4e-api/proto/AvatarEnterElementViewNotify.proto new file mode 100644 index 00000000..36b0cd71 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEnterElementViewNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 334 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarEnterElementViewNotify { + bool is_triggerd = 3; + uint32 avatar_entity_id = 12; +} diff --git a/gate-hk4e-api/proto/AvatarEnterSceneInfo.pb.go b/gate-hk4e-api/proto/AvatarEnterSceneInfo.pb.go new file mode 100644 index 00000000..cc229ea4 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEnterSceneInfo.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarEnterSceneInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarEnterSceneInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerBuffList []*ServerBuff `protobuf:"bytes,14,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` + AvatarEntityId uint32 `protobuf:"varint,7,opt,name=avatar_entity_id,json=avatarEntityId,proto3" json:"avatar_entity_id,omitempty"` + WeaponAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,12,opt,name=weapon_ability_info,json=weaponAbilityInfo,proto3" json:"weapon_ability_info,omitempty"` + WeaponEntityId uint32 `protobuf:"varint,10,opt,name=weapon_entity_id,json=weaponEntityId,proto3" json:"weapon_entity_id,omitempty"` + AvatarAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,2,opt,name=avatar_ability_info,json=avatarAbilityInfo,proto3" json:"avatar_ability_info,omitempty"` + AvatarGuid uint64 `protobuf:"varint,13,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + WeaponGuid uint64 `protobuf:"varint,9,opt,name=weapon_guid,json=weaponGuid,proto3" json:"weapon_guid,omitempty"` + BuffIdList []uint32 `protobuf:"varint,5,rep,packed,name=buff_id_list,json=buffIdList,proto3" json:"buff_id_list,omitempty"` +} + +func (x *AvatarEnterSceneInfo) Reset() { + *x = AvatarEnterSceneInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarEnterSceneInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarEnterSceneInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarEnterSceneInfo) ProtoMessage() {} + +func (x *AvatarEnterSceneInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarEnterSceneInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarEnterSceneInfo.ProtoReflect.Descriptor instead. +func (*AvatarEnterSceneInfo) Descriptor() ([]byte, []int) { + return file_AvatarEnterSceneInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarEnterSceneInfo) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +func (x *AvatarEnterSceneInfo) GetAvatarEntityId() uint32 { + if x != nil { + return x.AvatarEntityId + } + return 0 +} + +func (x *AvatarEnterSceneInfo) GetWeaponAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.WeaponAbilityInfo + } + return nil +} + +func (x *AvatarEnterSceneInfo) GetWeaponEntityId() uint32 { + if x != nil { + return x.WeaponEntityId + } + return 0 +} + +func (x *AvatarEnterSceneInfo) GetAvatarAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AvatarAbilityInfo + } + return nil +} + +func (x *AvatarEnterSceneInfo) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarEnterSceneInfo) GetWeaponGuid() uint64 { + if x != nil { + return x.WeaponGuid + } + return 0 +} + +func (x *AvatarEnterSceneInfo) GetBuffIdList() []uint32 { + if x != nil { + return x.BuffIdList + } + return nil +} + +var File_AvatarEnterSceneInfo_proto protoreflect.FileDescriptor + +var file_AvatarEnterSceneInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x03, 0x0a, 0x14, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, + 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x77, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x12, 0x20, + 0x0a, 0x0c, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarEnterSceneInfo_proto_rawDescOnce sync.Once + file_AvatarEnterSceneInfo_proto_rawDescData = file_AvatarEnterSceneInfo_proto_rawDesc +) + +func file_AvatarEnterSceneInfo_proto_rawDescGZIP() []byte { + file_AvatarEnterSceneInfo_proto_rawDescOnce.Do(func() { + file_AvatarEnterSceneInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarEnterSceneInfo_proto_rawDescData) + }) + return file_AvatarEnterSceneInfo_proto_rawDescData +} + +var file_AvatarEnterSceneInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarEnterSceneInfo_proto_goTypes = []interface{}{ + (*AvatarEnterSceneInfo)(nil), // 0: AvatarEnterSceneInfo + (*ServerBuff)(nil), // 1: ServerBuff + (*AbilitySyncStateInfo)(nil), // 2: AbilitySyncStateInfo +} +var file_AvatarEnterSceneInfo_proto_depIdxs = []int32{ + 1, // 0: AvatarEnterSceneInfo.server_buff_list:type_name -> ServerBuff + 2, // 1: AvatarEnterSceneInfo.weapon_ability_info:type_name -> AbilitySyncStateInfo + 2, // 2: AvatarEnterSceneInfo.avatar_ability_info:type_name -> AbilitySyncStateInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_AvatarEnterSceneInfo_proto_init() } +func file_AvatarEnterSceneInfo_proto_init() { + if File_AvatarEnterSceneInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarEnterSceneInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarEnterSceneInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarEnterSceneInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarEnterSceneInfo_proto_goTypes, + DependencyIndexes: file_AvatarEnterSceneInfo_proto_depIdxs, + MessageInfos: file_AvatarEnterSceneInfo_proto_msgTypes, + }.Build() + File_AvatarEnterSceneInfo_proto = out.File + file_AvatarEnterSceneInfo_proto_rawDesc = nil + file_AvatarEnterSceneInfo_proto_goTypes = nil + file_AvatarEnterSceneInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarEnterSceneInfo.proto b/gate-hk4e-api/proto/AvatarEnterSceneInfo.proto new file mode 100644 index 00000000..f35c38da --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEnterSceneInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +message AvatarEnterSceneInfo { + repeated ServerBuff server_buff_list = 14; + uint32 avatar_entity_id = 7; + AbilitySyncStateInfo weapon_ability_info = 12; + uint32 weapon_entity_id = 10; + AbilitySyncStateInfo avatar_ability_info = 2; + uint64 avatar_guid = 13; + uint64 weapon_guid = 9; + repeated uint32 buff_id_list = 5; +} diff --git a/gate-hk4e-api/proto/AvatarEquipAffixInfo.pb.go b/gate-hk4e-api/proto/AvatarEquipAffixInfo.pb.go new file mode 100644 index 00000000..aaf584a9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipAffixInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarEquipAffixInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarEquipAffixInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EquipAffixId uint32 `protobuf:"varint,1,opt,name=equip_affix_id,json=equipAffixId,proto3" json:"equip_affix_id,omitempty"` + LeftCdTime uint32 `protobuf:"varint,2,opt,name=left_cd_time,json=leftCdTime,proto3" json:"left_cd_time,omitempty"` +} + +func (x *AvatarEquipAffixInfo) Reset() { + *x = AvatarEquipAffixInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarEquipAffixInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarEquipAffixInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarEquipAffixInfo) ProtoMessage() {} + +func (x *AvatarEquipAffixInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarEquipAffixInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarEquipAffixInfo.ProtoReflect.Descriptor instead. +func (*AvatarEquipAffixInfo) Descriptor() ([]byte, []int) { + return file_AvatarEquipAffixInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarEquipAffixInfo) GetEquipAffixId() uint32 { + if x != nil { + return x.EquipAffixId + } + return 0 +} + +func (x *AvatarEquipAffixInfo) GetLeftCdTime() uint32 { + if x != nil { + return x.LeftCdTime + } + return 0 +} + +var File_AvatarEquipAffixInfo_proto protoreflect.FileDescriptor + +var file_AvatarEquipAffixInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, + 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x14, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x61, 0x66, + 0x66, 0x69, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x71, + 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x6c, 0x65, + 0x66, 0x74, 0x5f, 0x63, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarEquipAffixInfo_proto_rawDescOnce sync.Once + file_AvatarEquipAffixInfo_proto_rawDescData = file_AvatarEquipAffixInfo_proto_rawDesc +) + +func file_AvatarEquipAffixInfo_proto_rawDescGZIP() []byte { + file_AvatarEquipAffixInfo_proto_rawDescOnce.Do(func() { + file_AvatarEquipAffixInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarEquipAffixInfo_proto_rawDescData) + }) + return file_AvatarEquipAffixInfo_proto_rawDescData +} + +var file_AvatarEquipAffixInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarEquipAffixInfo_proto_goTypes = []interface{}{ + (*AvatarEquipAffixInfo)(nil), // 0: AvatarEquipAffixInfo +} +var file_AvatarEquipAffixInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarEquipAffixInfo_proto_init() } +func file_AvatarEquipAffixInfo_proto_init() { + if File_AvatarEquipAffixInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarEquipAffixInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarEquipAffixInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarEquipAffixInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarEquipAffixInfo_proto_goTypes, + DependencyIndexes: file_AvatarEquipAffixInfo_proto_depIdxs, + MessageInfos: file_AvatarEquipAffixInfo_proto_msgTypes, + }.Build() + File_AvatarEquipAffixInfo_proto = out.File + file_AvatarEquipAffixInfo_proto_rawDesc = nil + file_AvatarEquipAffixInfo_proto_goTypes = nil + file_AvatarEquipAffixInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarEquipAffixInfo.proto b/gate-hk4e-api/proto/AvatarEquipAffixInfo.proto new file mode 100644 index 00000000..b3f8dffb --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipAffixInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarEquipAffixInfo { + uint32 equip_affix_id = 1; + uint32 left_cd_time = 2; +} diff --git a/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.pb.go b/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.pb.go new file mode 100644 index 00000000..4b2d4f68 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarEquipAffixStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1662 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarEquipAffixStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,4,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + EquipAffixInfo *AvatarEquipAffixInfo `protobuf:"bytes,12,opt,name=equip_affix_info,json=equipAffixInfo,proto3" json:"equip_affix_info,omitempty"` +} + +func (x *AvatarEquipAffixStartNotify) Reset() { + *x = AvatarEquipAffixStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarEquipAffixStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarEquipAffixStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarEquipAffixStartNotify) ProtoMessage() {} + +func (x *AvatarEquipAffixStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarEquipAffixStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarEquipAffixStartNotify.ProtoReflect.Descriptor instead. +func (*AvatarEquipAffixStartNotify) Descriptor() ([]byte, []int) { + return file_AvatarEquipAffixStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarEquipAffixStartNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarEquipAffixStartNotify) GetEquipAffixInfo() *AvatarEquipAffixInfo { + if x != nil { + return x.EquipAffixInfo + } + return nil +} + +var File_AvatarEquipAffixStartNotify_proto protoreflect.FileDescriptor + +var file_AvatarEquipAffixStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, + 0x69, 0x78, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, + 0x41, 0x66, 0x66, 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x7f, 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, + 0x66, 0x69, 0x78, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, + 0x3f, 0x0a, 0x10, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0e, 0x65, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarEquipAffixStartNotify_proto_rawDescOnce sync.Once + file_AvatarEquipAffixStartNotify_proto_rawDescData = file_AvatarEquipAffixStartNotify_proto_rawDesc +) + +func file_AvatarEquipAffixStartNotify_proto_rawDescGZIP() []byte { + file_AvatarEquipAffixStartNotify_proto_rawDescOnce.Do(func() { + file_AvatarEquipAffixStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarEquipAffixStartNotify_proto_rawDescData) + }) + return file_AvatarEquipAffixStartNotify_proto_rawDescData +} + +var file_AvatarEquipAffixStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarEquipAffixStartNotify_proto_goTypes = []interface{}{ + (*AvatarEquipAffixStartNotify)(nil), // 0: AvatarEquipAffixStartNotify + (*AvatarEquipAffixInfo)(nil), // 1: AvatarEquipAffixInfo +} +var file_AvatarEquipAffixStartNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarEquipAffixStartNotify.equip_affix_info:type_name -> AvatarEquipAffixInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarEquipAffixStartNotify_proto_init() } +func file_AvatarEquipAffixStartNotify_proto_init() { + if File_AvatarEquipAffixStartNotify_proto != nil { + return + } + file_AvatarEquipAffixInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarEquipAffixStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarEquipAffixStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarEquipAffixStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarEquipAffixStartNotify_proto_goTypes, + DependencyIndexes: file_AvatarEquipAffixStartNotify_proto_depIdxs, + MessageInfos: file_AvatarEquipAffixStartNotify_proto_msgTypes, + }.Build() + File_AvatarEquipAffixStartNotify_proto = out.File + file_AvatarEquipAffixStartNotify_proto_rawDesc = nil + file_AvatarEquipAffixStartNotify_proto_goTypes = nil + file_AvatarEquipAffixStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.proto b/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.proto new file mode 100644 index 00000000..e6b540b7 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipAffixStartNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarEquipAffixInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1662 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarEquipAffixStartNotify { + uint64 avatar_guid = 4; + AvatarEquipAffixInfo equip_affix_info = 12; +} diff --git a/gate-hk4e-api/proto/AvatarEquipChangeNotify.pb.go b/gate-hk4e-api/proto/AvatarEquipChangeNotify.pb.go new file mode 100644 index 00000000..686d2adf --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipChangeNotify.pb.go @@ -0,0 +1,224 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarEquipChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarEquipChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + EquipGuid uint64 `protobuf:"varint,13,opt,name=equip_guid,json=equipGuid,proto3" json:"equip_guid,omitempty"` + Reliquary *SceneReliquaryInfo `protobuf:"bytes,1,opt,name=reliquary,proto3" json:"reliquary,omitempty"` + Weapon *SceneWeaponInfo `protobuf:"bytes,15,opt,name=weapon,proto3" json:"weapon,omitempty"` + ItemId uint32 `protobuf:"varint,14,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + EquipType uint32 `protobuf:"varint,8,opt,name=equip_type,json=equipType,proto3" json:"equip_type,omitempty"` +} + +func (x *AvatarEquipChangeNotify) Reset() { + *x = AvatarEquipChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarEquipChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarEquipChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarEquipChangeNotify) ProtoMessage() {} + +func (x *AvatarEquipChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarEquipChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarEquipChangeNotify.ProtoReflect.Descriptor instead. +func (*AvatarEquipChangeNotify) Descriptor() ([]byte, []int) { + return file_AvatarEquipChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarEquipChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarEquipChangeNotify) GetEquipGuid() uint64 { + if x != nil { + return x.EquipGuid + } + return 0 +} + +func (x *AvatarEquipChangeNotify) GetReliquary() *SceneReliquaryInfo { + if x != nil { + return x.Reliquary + } + return nil +} + +func (x *AvatarEquipChangeNotify) GetWeapon() *SceneWeaponInfo { + if x != nil { + return x.Weapon + } + return nil +} + +func (x *AvatarEquipChangeNotify) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *AvatarEquipChangeNotify) GetEquipType() uint32 { + if x != nil { + return x.EquipType + } + return 0 +} + +var File_AvatarEquipChangeNotify_proto protoreflect.FileDescriptor + +var file_AvatarEquipChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xee, 0x01, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x47, 0x75, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, + 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x12, + 0x28, 0x0a, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarEquipChangeNotify_proto_rawDescOnce sync.Once + file_AvatarEquipChangeNotify_proto_rawDescData = file_AvatarEquipChangeNotify_proto_rawDesc +) + +func file_AvatarEquipChangeNotify_proto_rawDescGZIP() []byte { + file_AvatarEquipChangeNotify_proto_rawDescOnce.Do(func() { + file_AvatarEquipChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarEquipChangeNotify_proto_rawDescData) + }) + return file_AvatarEquipChangeNotify_proto_rawDescData +} + +var file_AvatarEquipChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarEquipChangeNotify_proto_goTypes = []interface{}{ + (*AvatarEquipChangeNotify)(nil), // 0: AvatarEquipChangeNotify + (*SceneReliquaryInfo)(nil), // 1: SceneReliquaryInfo + (*SceneWeaponInfo)(nil), // 2: SceneWeaponInfo +} +var file_AvatarEquipChangeNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarEquipChangeNotify.reliquary:type_name -> SceneReliquaryInfo + 2, // 1: AvatarEquipChangeNotify.weapon:type_name -> SceneWeaponInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarEquipChangeNotify_proto_init() } +func file_AvatarEquipChangeNotify_proto_init() { + if File_AvatarEquipChangeNotify_proto != nil { + return + } + file_SceneReliquaryInfo_proto_init() + file_SceneWeaponInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarEquipChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarEquipChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarEquipChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarEquipChangeNotify_proto_goTypes, + DependencyIndexes: file_AvatarEquipChangeNotify_proto_depIdxs, + MessageInfos: file_AvatarEquipChangeNotify_proto_msgTypes, + }.Build() + File_AvatarEquipChangeNotify_proto = out.File + file_AvatarEquipChangeNotify_proto_rawDesc = nil + file_AvatarEquipChangeNotify_proto_goTypes = nil + file_AvatarEquipChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarEquipChangeNotify.proto b/gate-hk4e-api/proto/AvatarEquipChangeNotify.proto new file mode 100644 index 00000000..fd019ebc --- /dev/null +++ b/gate-hk4e-api/proto/AvatarEquipChangeNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneReliquaryInfo.proto"; +import "SceneWeaponInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarEquipChangeNotify { + uint64 avatar_guid = 10; + uint64 equip_guid = 13; + SceneReliquaryInfo reliquary = 1; + SceneWeaponInfo weapon = 15; + uint32 item_id = 14; + uint32 equip_type = 8; +} diff --git a/gate-hk4e-api/proto/AvatarExcelInfo.pb.go b/gate-hk4e-api/proto/AvatarExcelInfo.pb.go new file mode 100644 index 00000000..f790273b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExcelInfo.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExcelInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarExcelInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PrefabPathHash uint64 `protobuf:"varint,1,opt,name=prefab_path_hash,json=prefabPathHash,proto3" json:"prefab_path_hash,omitempty"` + PrefabPathRemoteHash uint64 `protobuf:"varint,2,opt,name=prefab_path_remote_hash,json=prefabPathRemoteHash,proto3" json:"prefab_path_remote_hash,omitempty"` + ControllerPathHash uint64 `protobuf:"varint,3,opt,name=controller_path_hash,json=controllerPathHash,proto3" json:"controller_path_hash,omitempty"` + ControllerPathRemoteHash uint64 `protobuf:"varint,4,opt,name=controller_path_remote_hash,json=controllerPathRemoteHash,proto3" json:"controller_path_remote_hash,omitempty"` + CombatConfigHash uint64 `protobuf:"varint,5,opt,name=combat_config_hash,json=combatConfigHash,proto3" json:"combat_config_hash,omitempty"` +} + +func (x *AvatarExcelInfo) Reset() { + *x = AvatarExcelInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExcelInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExcelInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExcelInfo) ProtoMessage() {} + +func (x *AvatarExcelInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExcelInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExcelInfo.ProtoReflect.Descriptor instead. +func (*AvatarExcelInfo) Descriptor() ([]byte, []int) { + return file_AvatarExcelInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExcelInfo) GetPrefabPathHash() uint64 { + if x != nil { + return x.PrefabPathHash + } + return 0 +} + +func (x *AvatarExcelInfo) GetPrefabPathRemoteHash() uint64 { + if x != nil { + return x.PrefabPathRemoteHash + } + return 0 +} + +func (x *AvatarExcelInfo) GetControllerPathHash() uint64 { + if x != nil { + return x.ControllerPathHash + } + return 0 +} + +func (x *AvatarExcelInfo) GetControllerPathRemoteHash() uint64 { + if x != nil { + return x.ControllerPathRemoteHash + } + return 0 +} + +func (x *AvatarExcelInfo) GetCombatConfigHash() uint64 { + if x != nil { + return x.CombatConfigHash + } + return 0 +} + +var File_AvatarExcelInfo_proto protoreflect.FileDescriptor + +var file_AvatarExcelInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x70, + 0x72, 0x65, 0x66, 0x61, 0x62, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x50, 0x61, 0x74, + 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x35, 0x0a, 0x17, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x5f, + 0x70, 0x61, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x50, 0x61, + 0x74, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x30, 0x0a, 0x14, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3d, + 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2c, 0x0a, + 0x12, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExcelInfo_proto_rawDescOnce sync.Once + file_AvatarExcelInfo_proto_rawDescData = file_AvatarExcelInfo_proto_rawDesc +) + +func file_AvatarExcelInfo_proto_rawDescGZIP() []byte { + file_AvatarExcelInfo_proto_rawDescOnce.Do(func() { + file_AvatarExcelInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExcelInfo_proto_rawDescData) + }) + return file_AvatarExcelInfo_proto_rawDescData +} + +var file_AvatarExcelInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExcelInfo_proto_goTypes = []interface{}{ + (*AvatarExcelInfo)(nil), // 0: AvatarExcelInfo +} +var file_AvatarExcelInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExcelInfo_proto_init() } +func file_AvatarExcelInfo_proto_init() { + if File_AvatarExcelInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarExcelInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExcelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExcelInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExcelInfo_proto_goTypes, + DependencyIndexes: file_AvatarExcelInfo_proto_depIdxs, + MessageInfos: file_AvatarExcelInfo_proto_msgTypes, + }.Build() + File_AvatarExcelInfo_proto = out.File + file_AvatarExcelInfo_proto_rawDesc = nil + file_AvatarExcelInfo_proto_goTypes = nil + file_AvatarExcelInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExcelInfo.proto b/gate-hk4e-api/proto/AvatarExcelInfo.proto new file mode 100644 index 00000000..30aa2a52 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExcelInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarExcelInfo { + uint64 prefab_path_hash = 1; + uint64 prefab_path_remote_hash = 2; + uint64 controller_path_hash = 3; + uint64 controller_path_remote_hash = 4; + uint64 combat_config_hash = 5; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.pb.go b/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.pb.go new file mode 100644 index 00000000..fc7dca4a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionAllDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1722 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarExpeditionAllDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AvatarExpeditionAllDataReq) Reset() { + *x = AvatarExpeditionAllDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionAllDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionAllDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionAllDataReq) ProtoMessage() {} + +func (x *AvatarExpeditionAllDataReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionAllDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionAllDataReq.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionAllDataReq) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionAllDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_AvatarExpeditionAllDataReq_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionAllDataReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionAllDataReq_proto_rawDescOnce sync.Once + file_AvatarExpeditionAllDataReq_proto_rawDescData = file_AvatarExpeditionAllDataReq_proto_rawDesc +) + +func file_AvatarExpeditionAllDataReq_proto_rawDescGZIP() []byte { + file_AvatarExpeditionAllDataReq_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionAllDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionAllDataReq_proto_rawDescData) + }) + return file_AvatarExpeditionAllDataReq_proto_rawDescData +} + +var file_AvatarExpeditionAllDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExpeditionAllDataReq_proto_goTypes = []interface{}{ + (*AvatarExpeditionAllDataReq)(nil), // 0: AvatarExpeditionAllDataReq +} +var file_AvatarExpeditionAllDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionAllDataReq_proto_init() } +func file_AvatarExpeditionAllDataReq_proto_init() { + if File_AvatarExpeditionAllDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionAllDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionAllDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionAllDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionAllDataReq_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionAllDataReq_proto_depIdxs, + MessageInfos: file_AvatarExpeditionAllDataReq_proto_msgTypes, + }.Build() + File_AvatarExpeditionAllDataReq_proto = out.File + file_AvatarExpeditionAllDataReq_proto_rawDesc = nil + file_AvatarExpeditionAllDataReq_proto_goTypes = nil + file_AvatarExpeditionAllDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.proto b/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.proto new file mode 100644 index 00000000..703404e5 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionAllDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1722 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarExpeditionAllDataReq {} diff --git a/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.pb.go b/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.pb.go new file mode 100644 index 00000000..4db20407 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionAllDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1648 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarExpeditionAllDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenExpeditionList []uint32 `protobuf:"varint,3,rep,packed,name=open_expedition_list,json=openExpeditionList,proto3" json:"open_expedition_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ExpeditionCountLimit uint32 `protobuf:"varint,12,opt,name=expedition_count_limit,json=expeditionCountLimit,proto3" json:"expedition_count_limit,omitempty"` + ExpeditionInfoMap map[uint64]*AvatarExpeditionInfo `protobuf:"bytes,4,rep,name=expedition_info_map,json=expeditionInfoMap,proto3" json:"expedition_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *AvatarExpeditionAllDataRsp) Reset() { + *x = AvatarExpeditionAllDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionAllDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionAllDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionAllDataRsp) ProtoMessage() {} + +func (x *AvatarExpeditionAllDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionAllDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionAllDataRsp.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionAllDataRsp) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionAllDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionAllDataRsp) GetOpenExpeditionList() []uint32 { + if x != nil { + return x.OpenExpeditionList + } + return nil +} + +func (x *AvatarExpeditionAllDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarExpeditionAllDataRsp) GetExpeditionCountLimit() uint32 { + if x != nil { + return x.ExpeditionCountLimit + } + return 0 +} + +func (x *AvatarExpeditionAllDataRsp) GetExpeditionInfoMap() map[uint64]*AvatarExpeditionInfo { + if x != nil { + return x.ExpeditionInfoMap + } + return nil +} + +var File_AvatarExpeditionAllDataRsp_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionAllDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, + 0x02, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x30, 0x0a, + 0x14, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x6f, 0x70, 0x65, + 0x6e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x65, 0x78, 0x70, 0x65, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x62, 0x0a, 0x13, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x11, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x4d, 0x61, 0x70, 0x1a, 0x5b, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionAllDataRsp_proto_rawDescOnce sync.Once + file_AvatarExpeditionAllDataRsp_proto_rawDescData = file_AvatarExpeditionAllDataRsp_proto_rawDesc +) + +func file_AvatarExpeditionAllDataRsp_proto_rawDescGZIP() []byte { + file_AvatarExpeditionAllDataRsp_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionAllDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionAllDataRsp_proto_rawDescData) + }) + return file_AvatarExpeditionAllDataRsp_proto_rawDescData +} + +var file_AvatarExpeditionAllDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarExpeditionAllDataRsp_proto_goTypes = []interface{}{ + (*AvatarExpeditionAllDataRsp)(nil), // 0: AvatarExpeditionAllDataRsp + nil, // 1: AvatarExpeditionAllDataRsp.ExpeditionInfoMapEntry + (*AvatarExpeditionInfo)(nil), // 2: AvatarExpeditionInfo +} +var file_AvatarExpeditionAllDataRsp_proto_depIdxs = []int32{ + 1, // 0: AvatarExpeditionAllDataRsp.expedition_info_map:type_name -> AvatarExpeditionAllDataRsp.ExpeditionInfoMapEntry + 2, // 1: AvatarExpeditionAllDataRsp.ExpeditionInfoMapEntry.value:type_name -> AvatarExpeditionInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionAllDataRsp_proto_init() } +func file_AvatarExpeditionAllDataRsp_proto_init() { + if File_AvatarExpeditionAllDataRsp_proto != nil { + return + } + file_AvatarExpeditionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionAllDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionAllDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionAllDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionAllDataRsp_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionAllDataRsp_proto_depIdxs, + MessageInfos: file_AvatarExpeditionAllDataRsp_proto_msgTypes, + }.Build() + File_AvatarExpeditionAllDataRsp_proto = out.File + file_AvatarExpeditionAllDataRsp_proto_rawDesc = nil + file_AvatarExpeditionAllDataRsp_proto_goTypes = nil + file_AvatarExpeditionAllDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.proto b/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.proto new file mode 100644 index 00000000..44d05fe4 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionAllDataRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1648 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarExpeditionAllDataRsp { + repeated uint32 open_expedition_list = 3; + int32 retcode = 15; + uint32 expedition_count_limit = 12; + map expedition_info_map = 4; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.pb.go b/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.pb.go new file mode 100644 index 00000000..6654a081 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionCallBackReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1752 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarExpeditionCallBackReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid []uint64 `protobuf:"varint,13,rep,packed,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarExpeditionCallBackReq) Reset() { + *x = AvatarExpeditionCallBackReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionCallBackReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionCallBackReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionCallBackReq) ProtoMessage() {} + +func (x *AvatarExpeditionCallBackReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionCallBackReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionCallBackReq.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionCallBackReq) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionCallBackReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionCallBackReq) GetAvatarGuid() []uint64 { + if x != nil { + return x.AvatarGuid + } + return nil +} + +var File_AvatarExpeditionCallBackReq_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionCallBackReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionCallBackReq_proto_rawDescOnce sync.Once + file_AvatarExpeditionCallBackReq_proto_rawDescData = file_AvatarExpeditionCallBackReq_proto_rawDesc +) + +func file_AvatarExpeditionCallBackReq_proto_rawDescGZIP() []byte { + file_AvatarExpeditionCallBackReq_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionCallBackReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionCallBackReq_proto_rawDescData) + }) + return file_AvatarExpeditionCallBackReq_proto_rawDescData +} + +var file_AvatarExpeditionCallBackReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExpeditionCallBackReq_proto_goTypes = []interface{}{ + (*AvatarExpeditionCallBackReq)(nil), // 0: AvatarExpeditionCallBackReq +} +var file_AvatarExpeditionCallBackReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionCallBackReq_proto_init() } +func file_AvatarExpeditionCallBackReq_proto_init() { + if File_AvatarExpeditionCallBackReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionCallBackReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionCallBackReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionCallBackReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionCallBackReq_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionCallBackReq_proto_depIdxs, + MessageInfos: file_AvatarExpeditionCallBackReq_proto_msgTypes, + }.Build() + File_AvatarExpeditionCallBackReq_proto = out.File + file_AvatarExpeditionCallBackReq_proto_rawDesc = nil + file_AvatarExpeditionCallBackReq_proto_goTypes = nil + file_AvatarExpeditionCallBackReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.proto b/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.proto new file mode 100644 index 00000000..741e53e7 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionCallBackReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1752 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarExpeditionCallBackReq { + repeated uint64 avatar_guid = 13; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.pb.go b/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.pb.go new file mode 100644 index 00000000..484c3c13 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionCallBackRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1726 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarExpeditionCallBackRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpeditionInfoMap map[uint64]*AvatarExpeditionInfo `protobuf:"bytes,9,rep,name=expedition_info_map,json=expeditionInfoMap,proto3" json:"expedition_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarExpeditionCallBackRsp) Reset() { + *x = AvatarExpeditionCallBackRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionCallBackRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionCallBackRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionCallBackRsp) ProtoMessage() {} + +func (x *AvatarExpeditionCallBackRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionCallBackRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionCallBackRsp.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionCallBackRsp) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionCallBackRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionCallBackRsp) GetExpeditionInfoMap() map[uint64]*AvatarExpeditionInfo { + if x != nil { + return x.ExpeditionInfoMap + } + return nil +} + +func (x *AvatarExpeditionCallBackRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarExpeditionCallBackRsp_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionCallBackRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xf9, 0x01, 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x12, + 0x63, 0x0a, 0x13, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x61, 0x6c, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x5b, + 0x0a, 0x16, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionCallBackRsp_proto_rawDescOnce sync.Once + file_AvatarExpeditionCallBackRsp_proto_rawDescData = file_AvatarExpeditionCallBackRsp_proto_rawDesc +) + +func file_AvatarExpeditionCallBackRsp_proto_rawDescGZIP() []byte { + file_AvatarExpeditionCallBackRsp_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionCallBackRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionCallBackRsp_proto_rawDescData) + }) + return file_AvatarExpeditionCallBackRsp_proto_rawDescData +} + +var file_AvatarExpeditionCallBackRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarExpeditionCallBackRsp_proto_goTypes = []interface{}{ + (*AvatarExpeditionCallBackRsp)(nil), // 0: AvatarExpeditionCallBackRsp + nil, // 1: AvatarExpeditionCallBackRsp.ExpeditionInfoMapEntry + (*AvatarExpeditionInfo)(nil), // 2: AvatarExpeditionInfo +} +var file_AvatarExpeditionCallBackRsp_proto_depIdxs = []int32{ + 1, // 0: AvatarExpeditionCallBackRsp.expedition_info_map:type_name -> AvatarExpeditionCallBackRsp.ExpeditionInfoMapEntry + 2, // 1: AvatarExpeditionCallBackRsp.ExpeditionInfoMapEntry.value:type_name -> AvatarExpeditionInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionCallBackRsp_proto_init() } +func file_AvatarExpeditionCallBackRsp_proto_init() { + if File_AvatarExpeditionCallBackRsp_proto != nil { + return + } + file_AvatarExpeditionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionCallBackRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionCallBackRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionCallBackRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionCallBackRsp_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionCallBackRsp_proto_depIdxs, + MessageInfos: file_AvatarExpeditionCallBackRsp_proto_msgTypes, + }.Build() + File_AvatarExpeditionCallBackRsp_proto = out.File + file_AvatarExpeditionCallBackRsp_proto_rawDesc = nil + file_AvatarExpeditionCallBackRsp_proto_goTypes = nil + file_AvatarExpeditionCallBackRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.proto b/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.proto new file mode 100644 index 00000000..3ec50c4b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionCallBackRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1726 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarExpeditionCallBackRsp { + map expedition_info_map = 9; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionDataNotify.pb.go b/gate-hk4e-api/proto/AvatarExpeditionDataNotify.pb.go new file mode 100644 index 00000000..206d050e --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionDataNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1771 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarExpeditionDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpeditionInfoMap map[uint64]*AvatarExpeditionInfo `protobuf:"bytes,6,rep,name=expedition_info_map,json=expeditionInfoMap,proto3" json:"expedition_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *AvatarExpeditionDataNotify) Reset() { + *x = AvatarExpeditionDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionDataNotify) ProtoMessage() {} + +func (x *AvatarExpeditionDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionDataNotify.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionDataNotify) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionDataNotify) GetExpeditionInfoMap() map[uint64]*AvatarExpeditionInfo { + if x != nil { + return x.ExpeditionInfoMap + } + return nil +} + +var File_AvatarExpeditionDataNotify_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, + 0x01, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x62, 0x0a, + 0x13, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, + 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x1a, 0x5b, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionDataNotify_proto_rawDescOnce sync.Once + file_AvatarExpeditionDataNotify_proto_rawDescData = file_AvatarExpeditionDataNotify_proto_rawDesc +) + +func file_AvatarExpeditionDataNotify_proto_rawDescGZIP() []byte { + file_AvatarExpeditionDataNotify_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionDataNotify_proto_rawDescData) + }) + return file_AvatarExpeditionDataNotify_proto_rawDescData +} + +var file_AvatarExpeditionDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarExpeditionDataNotify_proto_goTypes = []interface{}{ + (*AvatarExpeditionDataNotify)(nil), // 0: AvatarExpeditionDataNotify + nil, // 1: AvatarExpeditionDataNotify.ExpeditionInfoMapEntry + (*AvatarExpeditionInfo)(nil), // 2: AvatarExpeditionInfo +} +var file_AvatarExpeditionDataNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarExpeditionDataNotify.expedition_info_map:type_name -> AvatarExpeditionDataNotify.ExpeditionInfoMapEntry + 2, // 1: AvatarExpeditionDataNotify.ExpeditionInfoMapEntry.value:type_name -> AvatarExpeditionInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionDataNotify_proto_init() } +func file_AvatarExpeditionDataNotify_proto_init() { + if File_AvatarExpeditionDataNotify_proto != nil { + return + } + file_AvatarExpeditionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionDataNotify_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionDataNotify_proto_depIdxs, + MessageInfos: file_AvatarExpeditionDataNotify_proto_msgTypes, + }.Build() + File_AvatarExpeditionDataNotify_proto = out.File + file_AvatarExpeditionDataNotify_proto_rawDesc = nil + file_AvatarExpeditionDataNotify_proto_goTypes = nil + file_AvatarExpeditionDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionDataNotify.proto b/gate-hk4e-api/proto/AvatarExpeditionDataNotify.proto new file mode 100644 index 00000000..15ef1bac --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1771 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarExpeditionDataNotify { + map expedition_info_map = 6; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.pb.go b/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.pb.go new file mode 100644 index 00000000..ad15b0e0 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionGetRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1623 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarExpeditionGetRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,14,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarExpeditionGetRewardReq) Reset() { + *x = AvatarExpeditionGetRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionGetRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionGetRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionGetRewardReq) ProtoMessage() {} + +func (x *AvatarExpeditionGetRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionGetRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionGetRewardReq.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionGetRewardReq) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionGetRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionGetRewardReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarExpeditionGetRewardReq_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionGetRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, + 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionGetRewardReq_proto_rawDescOnce sync.Once + file_AvatarExpeditionGetRewardReq_proto_rawDescData = file_AvatarExpeditionGetRewardReq_proto_rawDesc +) + +func file_AvatarExpeditionGetRewardReq_proto_rawDescGZIP() []byte { + file_AvatarExpeditionGetRewardReq_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionGetRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionGetRewardReq_proto_rawDescData) + }) + return file_AvatarExpeditionGetRewardReq_proto_rawDescData +} + +var file_AvatarExpeditionGetRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExpeditionGetRewardReq_proto_goTypes = []interface{}{ + (*AvatarExpeditionGetRewardReq)(nil), // 0: AvatarExpeditionGetRewardReq +} +var file_AvatarExpeditionGetRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionGetRewardReq_proto_init() } +func file_AvatarExpeditionGetRewardReq_proto_init() { + if File_AvatarExpeditionGetRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionGetRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionGetRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionGetRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionGetRewardReq_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionGetRewardReq_proto_depIdxs, + MessageInfos: file_AvatarExpeditionGetRewardReq_proto_msgTypes, + }.Build() + File_AvatarExpeditionGetRewardReq_proto = out.File + file_AvatarExpeditionGetRewardReq_proto_rawDesc = nil + file_AvatarExpeditionGetRewardReq_proto_goTypes = nil + file_AvatarExpeditionGetRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.proto b/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.proto new file mode 100644 index 00000000..6279690b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionGetRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1623 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarExpeditionGetRewardReq { + uint64 avatar_guid = 14; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.pb.go b/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.pb.go new file mode 100644 index 00000000..04bd42ed --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.pb.go @@ -0,0 +1,217 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionGetRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1784 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarExpeditionGetRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HBKHOBPGCLH []*ItemParam `protobuf:"bytes,9,rep,name=Unk2700_HBKHOBPGCLH,json=Unk2700HBKHOBPGCLH,proto3" json:"Unk2700_HBKHOBPGCLH,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,8,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + ExpeditionInfoMap map[uint64]*AvatarExpeditionInfo `protobuf:"bytes,12,rep,name=expedition_info_map,json=expeditionInfoMap,proto3" json:"expedition_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarExpeditionGetRewardRsp) Reset() { + *x = AvatarExpeditionGetRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionGetRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionGetRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionGetRewardRsp) ProtoMessage() {} + +func (x *AvatarExpeditionGetRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionGetRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionGetRewardRsp.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionGetRewardRsp) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionGetRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionGetRewardRsp) GetUnk2700_HBKHOBPGCLH() []*ItemParam { + if x != nil { + return x.Unk2700_HBKHOBPGCLH + } + return nil +} + +func (x *AvatarExpeditionGetRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *AvatarExpeditionGetRewardRsp) GetExpeditionInfoMap() map[uint64]*AvatarExpeditionInfo { + if x != nil { + return x.ExpeditionInfoMap + } + return nil +} + +func (x *AvatarExpeditionGetRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarExpeditionGetRewardRsp_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionGetRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x42, + 0x4b, 0x48, 0x4f, 0x42, 0x50, 0x47, 0x43, 0x4c, 0x48, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x42, 0x4b, 0x48, 0x4f, 0x42, 0x50, 0x47, 0x43, 0x4c, 0x48, 0x12, + 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, + 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x64, 0x0a, 0x13, 0x65, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, + 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x65, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x5b, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionGetRewardRsp_proto_rawDescOnce sync.Once + file_AvatarExpeditionGetRewardRsp_proto_rawDescData = file_AvatarExpeditionGetRewardRsp_proto_rawDesc +) + +func file_AvatarExpeditionGetRewardRsp_proto_rawDescGZIP() []byte { + file_AvatarExpeditionGetRewardRsp_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionGetRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionGetRewardRsp_proto_rawDescData) + }) + return file_AvatarExpeditionGetRewardRsp_proto_rawDescData +} + +var file_AvatarExpeditionGetRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarExpeditionGetRewardRsp_proto_goTypes = []interface{}{ + (*AvatarExpeditionGetRewardRsp)(nil), // 0: AvatarExpeditionGetRewardRsp + nil, // 1: AvatarExpeditionGetRewardRsp.ExpeditionInfoMapEntry + (*ItemParam)(nil), // 2: ItemParam + (*AvatarExpeditionInfo)(nil), // 3: AvatarExpeditionInfo +} +var file_AvatarExpeditionGetRewardRsp_proto_depIdxs = []int32{ + 2, // 0: AvatarExpeditionGetRewardRsp.Unk2700_HBKHOBPGCLH:type_name -> ItemParam + 2, // 1: AvatarExpeditionGetRewardRsp.item_list:type_name -> ItemParam + 1, // 2: AvatarExpeditionGetRewardRsp.expedition_info_map:type_name -> AvatarExpeditionGetRewardRsp.ExpeditionInfoMapEntry + 3, // 3: AvatarExpeditionGetRewardRsp.ExpeditionInfoMapEntry.value:type_name -> AvatarExpeditionInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionGetRewardRsp_proto_init() } +func file_AvatarExpeditionGetRewardRsp_proto_init() { + if File_AvatarExpeditionGetRewardRsp_proto != nil { + return + } + file_AvatarExpeditionInfo_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionGetRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionGetRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionGetRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionGetRewardRsp_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionGetRewardRsp_proto_depIdxs, + MessageInfos: file_AvatarExpeditionGetRewardRsp_proto_msgTypes, + }.Build() + File_AvatarExpeditionGetRewardRsp_proto = out.File + file_AvatarExpeditionGetRewardRsp_proto_rawDesc = nil + file_AvatarExpeditionGetRewardRsp_proto_goTypes = nil + file_AvatarExpeditionGetRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.proto b/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.proto new file mode 100644 index 00000000..4a74e137 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionGetRewardRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionInfo.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 1784 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarExpeditionGetRewardRsp { + repeated ItemParam Unk2700_HBKHOBPGCLH = 9; + repeated ItemParam item_list = 8; + map expedition_info_map = 12; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionInfo.pb.go b/gate-hk4e-api/proto/AvatarExpeditionInfo.pb.go new file mode 100644 index 00000000..1e65f168 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionInfo.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarExpeditionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State AvatarExpeditionState `protobuf:"varint,1,opt,name=state,proto3,enum=AvatarExpeditionState" json:"state,omitempty"` + ExpId uint32 `protobuf:"varint,2,opt,name=exp_id,json=expId,proto3" json:"exp_id,omitempty"` + HourTime uint32 `protobuf:"varint,3,opt,name=hour_time,json=hourTime,proto3" json:"hour_time,omitempty"` + StartTime uint32 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + ShortenRatio float32 `protobuf:"fixed32,5,opt,name=shorten_ratio,json=shortenRatio,proto3" json:"shorten_ratio,omitempty"` +} + +func (x *AvatarExpeditionInfo) Reset() { + *x = AvatarExpeditionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionInfo) ProtoMessage() {} + +func (x *AvatarExpeditionInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionInfo.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionInfo) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionInfo) GetState() AvatarExpeditionState { + if x != nil { + return x.State + } + return AvatarExpeditionState_AVATAR_EXPEDITION_STATE_NONE +} + +func (x *AvatarExpeditionInfo) GetExpId() uint32 { + if x != nil { + return x.ExpId + } + return 0 +} + +func (x *AvatarExpeditionInfo) GetHourTime() uint32 { + if x != nil { + return x.HourTime + } + return 0 +} + +func (x *AvatarExpeditionInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *AvatarExpeditionInfo) GetShortenRatio() float32 { + if x != nil { + return x.ShortenRatio + } + return 0 +} + +var File_AvatarExpeditionInfo_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x14, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x15, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x65, 0x78, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x75, 0x72, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x75, 0x72, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x65, 0x6e, 0x5f, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x72, + 0x74, 0x65, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionInfo_proto_rawDescOnce sync.Once + file_AvatarExpeditionInfo_proto_rawDescData = file_AvatarExpeditionInfo_proto_rawDesc +) + +func file_AvatarExpeditionInfo_proto_rawDescGZIP() []byte { + file_AvatarExpeditionInfo_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionInfo_proto_rawDescData) + }) + return file_AvatarExpeditionInfo_proto_rawDescData +} + +var file_AvatarExpeditionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExpeditionInfo_proto_goTypes = []interface{}{ + (*AvatarExpeditionInfo)(nil), // 0: AvatarExpeditionInfo + (AvatarExpeditionState)(0), // 1: AvatarExpeditionState +} +var file_AvatarExpeditionInfo_proto_depIdxs = []int32{ + 1, // 0: AvatarExpeditionInfo.state:type_name -> AvatarExpeditionState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionInfo_proto_init() } +func file_AvatarExpeditionInfo_proto_init() { + if File_AvatarExpeditionInfo_proto != nil { + return + } + file_AvatarExpeditionState_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionInfo_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionInfo_proto_depIdxs, + MessageInfos: file_AvatarExpeditionInfo_proto_msgTypes, + }.Build() + File_AvatarExpeditionInfo_proto = out.File + file_AvatarExpeditionInfo_proto_rawDesc = nil + file_AvatarExpeditionInfo_proto_goTypes = nil + file_AvatarExpeditionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionInfo.proto b/gate-hk4e-api/proto/AvatarExpeditionInfo.proto new file mode 100644 index 00000000..3b9340b2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionState.proto"; + +option go_package = "./;proto"; + +message AvatarExpeditionInfo { + AvatarExpeditionState state = 1; + uint32 exp_id = 2; + uint32 hour_time = 3; + uint32 start_time = 4; + float shorten_ratio = 5; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionStartReq.pb.go b/gate-hk4e-api/proto/AvatarExpeditionStartReq.pb.go new file mode 100644 index 00000000..3ec0cf83 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionStartReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1715 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarExpeditionStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpId uint32 `protobuf:"varint,9,opt,name=exp_id,json=expId,proto3" json:"exp_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + HourTime uint32 `protobuf:"varint,2,opt,name=hour_time,json=hourTime,proto3" json:"hour_time,omitempty"` +} + +func (x *AvatarExpeditionStartReq) Reset() { + *x = AvatarExpeditionStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionStartReq) ProtoMessage() {} + +func (x *AvatarExpeditionStartReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionStartReq.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionStartReq) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionStartReq) GetExpId() uint32 { + if x != nil { + return x.ExpId + } + return 0 +} + +func (x *AvatarExpeditionStartReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarExpeditionStartReq) GetHourTime() uint32 { + if x != nil { + return x.HourTime + } + return 0 +} + +var File_AvatarExpeditionStartReq_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionStartReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6f, 0x0a, 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x15, 0x0a, 0x06, + 0x65, 0x78, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x78, + 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x75, 0x72, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x75, 0x72, 0x54, 0x69, 0x6d, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionStartReq_proto_rawDescOnce sync.Once + file_AvatarExpeditionStartReq_proto_rawDescData = file_AvatarExpeditionStartReq_proto_rawDesc +) + +func file_AvatarExpeditionStartReq_proto_rawDescGZIP() []byte { + file_AvatarExpeditionStartReq_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionStartReq_proto_rawDescData) + }) + return file_AvatarExpeditionStartReq_proto_rawDescData +} + +var file_AvatarExpeditionStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarExpeditionStartReq_proto_goTypes = []interface{}{ + (*AvatarExpeditionStartReq)(nil), // 0: AvatarExpeditionStartReq +} +var file_AvatarExpeditionStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionStartReq_proto_init() } +func file_AvatarExpeditionStartReq_proto_init() { + if File_AvatarExpeditionStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionStartReq_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionStartReq_proto_depIdxs, + MessageInfos: file_AvatarExpeditionStartReq_proto_msgTypes, + }.Build() + File_AvatarExpeditionStartReq_proto = out.File + file_AvatarExpeditionStartReq_proto_rawDesc = nil + file_AvatarExpeditionStartReq_proto_goTypes = nil + file_AvatarExpeditionStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionStartReq.proto b/gate-hk4e-api/proto/AvatarExpeditionStartReq.proto new file mode 100644 index 00000000..3ff9683e --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionStartReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1715 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarExpeditionStartReq { + uint32 exp_id = 9; + uint64 avatar_guid = 10; + uint32 hour_time = 2; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionStartRsp.pb.go b/gate-hk4e-api/proto/AvatarExpeditionStartRsp.pb.go new file mode 100644 index 00000000..a4a9930f --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionStartRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1719 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarExpeditionStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpeditionInfoMap map[uint64]*AvatarExpeditionInfo `protobuf:"bytes,2,rep,name=expedition_info_map,json=expeditionInfoMap,proto3" json:"expedition_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarExpeditionStartRsp) Reset() { + *x = AvatarExpeditionStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarExpeditionStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarExpeditionStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarExpeditionStartRsp) ProtoMessage() {} + +func (x *AvatarExpeditionStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarExpeditionStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarExpeditionStartRsp.ProtoReflect.Descriptor instead. +func (*AvatarExpeditionStartRsp) Descriptor() ([]byte, []int) { + return file_AvatarExpeditionStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarExpeditionStartRsp) GetExpeditionInfoMap() map[uint64]*AvatarExpeditionInfo { + if x != nil { + return x.ExpeditionInfoMap + } + return nil +} + +func (x *AvatarExpeditionStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarExpeditionStartRsp_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf3, 0x01, 0x0a, + 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x13, 0x65, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, + 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x5b, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionStartRsp_proto_rawDescOnce sync.Once + file_AvatarExpeditionStartRsp_proto_rawDescData = file_AvatarExpeditionStartRsp_proto_rawDesc +) + +func file_AvatarExpeditionStartRsp_proto_rawDescGZIP() []byte { + file_AvatarExpeditionStartRsp_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionStartRsp_proto_rawDescData) + }) + return file_AvatarExpeditionStartRsp_proto_rawDescData +} + +var file_AvatarExpeditionStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarExpeditionStartRsp_proto_goTypes = []interface{}{ + (*AvatarExpeditionStartRsp)(nil), // 0: AvatarExpeditionStartRsp + nil, // 1: AvatarExpeditionStartRsp.ExpeditionInfoMapEntry + (*AvatarExpeditionInfo)(nil), // 2: AvatarExpeditionInfo +} +var file_AvatarExpeditionStartRsp_proto_depIdxs = []int32{ + 1, // 0: AvatarExpeditionStartRsp.expedition_info_map:type_name -> AvatarExpeditionStartRsp.ExpeditionInfoMapEntry + 2, // 1: AvatarExpeditionStartRsp.ExpeditionInfoMapEntry.value:type_name -> AvatarExpeditionInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionStartRsp_proto_init() } +func file_AvatarExpeditionStartRsp_proto_init() { + if File_AvatarExpeditionStartRsp_proto != nil { + return + } + file_AvatarExpeditionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarExpeditionStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarExpeditionStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionStartRsp_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionStartRsp_proto_depIdxs, + MessageInfos: file_AvatarExpeditionStartRsp_proto_msgTypes, + }.Build() + File_AvatarExpeditionStartRsp_proto = out.File + file_AvatarExpeditionStartRsp_proto_rawDesc = nil + file_AvatarExpeditionStartRsp_proto_goTypes = nil + file_AvatarExpeditionStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionStartRsp.proto b/gate-hk4e-api/proto/AvatarExpeditionStartRsp.proto new file mode 100644 index 00000000..fab34494 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionStartRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExpeditionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1719 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarExpeditionStartRsp { + map expedition_info_map = 2; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionState.pb.go b/gate-hk4e-api/proto/AvatarExpeditionState.pb.go new file mode 100644 index 00000000..2cd1f2c3 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionState.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarExpeditionState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarExpeditionState int32 + +const ( + AvatarExpeditionState_AVATAR_EXPEDITION_STATE_NONE AvatarExpeditionState = 0 + AvatarExpeditionState_AVATAR_EXPEDITION_STATE_DOING AvatarExpeditionState = 1 + AvatarExpeditionState_AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD AvatarExpeditionState = 2 + AvatarExpeditionState_AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD AvatarExpeditionState = 3 + AvatarExpeditionState_AVATAR_EXPEDITION_STATE_LOCKED AvatarExpeditionState = 4 +) + +// Enum value maps for AvatarExpeditionState. +var ( + AvatarExpeditionState_name = map[int32]string{ + 0: "AVATAR_EXPEDITION_STATE_NONE", + 1: "AVATAR_EXPEDITION_STATE_DOING", + 2: "AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD", + 3: "AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD", + 4: "AVATAR_EXPEDITION_STATE_LOCKED", + } + AvatarExpeditionState_value = map[string]int32{ + "AVATAR_EXPEDITION_STATE_NONE": 0, + "AVATAR_EXPEDITION_STATE_DOING": 1, + "AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD": 2, + "AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD": 3, + "AVATAR_EXPEDITION_STATE_LOCKED": 4, + } +) + +func (x AvatarExpeditionState) Enum() *AvatarExpeditionState { + p := new(AvatarExpeditionState) + *p = x + return p +} + +func (x AvatarExpeditionState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AvatarExpeditionState) Descriptor() protoreflect.EnumDescriptor { + return file_AvatarExpeditionState_proto_enumTypes[0].Descriptor() +} + +func (AvatarExpeditionState) Type() protoreflect.EnumType { + return &file_AvatarExpeditionState_proto_enumTypes[0] +} + +func (x AvatarExpeditionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AvatarExpeditionState.Descriptor instead. +func (AvatarExpeditionState) EnumDescriptor() ([]byte, []int) { + return file_AvatarExpeditionState_proto_rawDescGZIP(), []int{0} +} + +var File_AvatarExpeditionState_proto protoreflect.FileDescriptor + +var file_AvatarExpeditionState_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xe2, 0x01, + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x56, 0x41, 0x54, 0x41, + 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x56, 0x41, + 0x54, 0x41, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x2e, 0x0a, 0x2a, + 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x57, + 0x41, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0x02, 0x12, 0x30, 0x0a, 0x2c, + 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, + 0x5f, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0x03, 0x12, 0x22, + 0x0a, 0x1e, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, + 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarExpeditionState_proto_rawDescOnce sync.Once + file_AvatarExpeditionState_proto_rawDescData = file_AvatarExpeditionState_proto_rawDesc +) + +func file_AvatarExpeditionState_proto_rawDescGZIP() []byte { + file_AvatarExpeditionState_proto_rawDescOnce.Do(func() { + file_AvatarExpeditionState_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarExpeditionState_proto_rawDescData) + }) + return file_AvatarExpeditionState_proto_rawDescData +} + +var file_AvatarExpeditionState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_AvatarExpeditionState_proto_goTypes = []interface{}{ + (AvatarExpeditionState)(0), // 0: AvatarExpeditionState +} +var file_AvatarExpeditionState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarExpeditionState_proto_init() } +func file_AvatarExpeditionState_proto_init() { + if File_AvatarExpeditionState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarExpeditionState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarExpeditionState_proto_goTypes, + DependencyIndexes: file_AvatarExpeditionState_proto_depIdxs, + EnumInfos: file_AvatarExpeditionState_proto_enumTypes, + }.Build() + File_AvatarExpeditionState_proto = out.File + file_AvatarExpeditionState_proto_rawDesc = nil + file_AvatarExpeditionState_proto_goTypes = nil + file_AvatarExpeditionState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarExpeditionState.proto b/gate-hk4e-api/proto/AvatarExpeditionState.proto new file mode 100644 index 00000000..63b7627a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarExpeditionState.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum AvatarExpeditionState { + AVATAR_EXPEDITION_STATE_NONE = 0; + AVATAR_EXPEDITION_STATE_DOING = 1; + AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD = 2; + AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD = 3; + AVATAR_EXPEDITION_STATE_LOCKED = 4; +} diff --git a/gate-hk4e-api/proto/AvatarFetterDataNotify.pb.go b/gate-hk4e-api/proto/AvatarFetterDataNotify.pb.go new file mode 100644 index 00000000..cffcaaa2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterDataNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFetterDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1782 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFetterDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FetterInfoMap map[uint64]*AvatarFetterInfo `protobuf:"bytes,15,rep,name=fetter_info_map,json=fetterInfoMap,proto3" json:"fetter_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *AvatarFetterDataNotify) Reset() { + *x = AvatarFetterDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFetterDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFetterDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFetterDataNotify) ProtoMessage() {} + +func (x *AvatarFetterDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFetterDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFetterDataNotify.ProtoReflect.Descriptor instead. +func (*AvatarFetterDataNotify) Descriptor() ([]byte, []int) { + return file_AvatarFetterDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFetterDataNotify) GetFetterInfoMap() map[uint64]*AvatarFetterInfo { + if x != nil { + return x.FetterInfoMap + } + return nil +} + +var File_AvatarFetterDataNotify_proto protoreflect.FileDescriptor + +var file_AvatarFetterDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01, 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x53, 0x0a, 0x12, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x27, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFetterDataNotify_proto_rawDescOnce sync.Once + file_AvatarFetterDataNotify_proto_rawDescData = file_AvatarFetterDataNotify_proto_rawDesc +) + +func file_AvatarFetterDataNotify_proto_rawDescGZIP() []byte { + file_AvatarFetterDataNotify_proto_rawDescOnce.Do(func() { + file_AvatarFetterDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFetterDataNotify_proto_rawDescData) + }) + return file_AvatarFetterDataNotify_proto_rawDescData +} + +var file_AvatarFetterDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarFetterDataNotify_proto_goTypes = []interface{}{ + (*AvatarFetterDataNotify)(nil), // 0: AvatarFetterDataNotify + nil, // 1: AvatarFetterDataNotify.FetterInfoMapEntry + (*AvatarFetterInfo)(nil), // 2: AvatarFetterInfo +} +var file_AvatarFetterDataNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarFetterDataNotify.fetter_info_map:type_name -> AvatarFetterDataNotify.FetterInfoMapEntry + 2, // 1: AvatarFetterDataNotify.FetterInfoMapEntry.value:type_name -> AvatarFetterInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarFetterDataNotify_proto_init() } +func file_AvatarFetterDataNotify_proto_init() { + if File_AvatarFetterDataNotify_proto != nil { + return + } + file_AvatarFetterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarFetterDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFetterDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFetterDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFetterDataNotify_proto_goTypes, + DependencyIndexes: file_AvatarFetterDataNotify_proto_depIdxs, + MessageInfos: file_AvatarFetterDataNotify_proto_msgTypes, + }.Build() + File_AvatarFetterDataNotify_proto = out.File + file_AvatarFetterDataNotify_proto_rawDesc = nil + file_AvatarFetterDataNotify_proto_goTypes = nil + file_AvatarFetterDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFetterDataNotify.proto b/gate-hk4e-api/proto/AvatarFetterDataNotify.proto new file mode 100644 index 00000000..644d43de --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarFetterInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1782 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFetterDataNotify { + map fetter_info_map = 15; +} diff --git a/gate-hk4e-api/proto/AvatarFetterInfo.pb.go b/gate-hk4e-api/proto/AvatarFetterInfo.pb.go new file mode 100644 index 00000000..ff5fce81 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterInfo.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFetterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarFetterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpNumber uint32 `protobuf:"varint,1,opt,name=exp_number,json=expNumber,proto3" json:"exp_number,omitempty"` + ExpLevel uint32 `protobuf:"varint,2,opt,name=exp_level,json=expLevel,proto3" json:"exp_level,omitempty"` + OpenIdList []uint32 `protobuf:"varint,3,rep,packed,name=open_id_list,json=openIdList,proto3" json:"open_id_list,omitempty"` + FinishIdList []uint32 `protobuf:"varint,4,rep,packed,name=finish_id_list,json=finishIdList,proto3" json:"finish_id_list,omitempty"` + RewardedFetterLevelList []uint32 `protobuf:"varint,5,rep,packed,name=rewarded_fetter_level_list,json=rewardedFetterLevelList,proto3" json:"rewarded_fetter_level_list,omitempty"` + FetterList []*FetterData `protobuf:"bytes,6,rep,name=fetter_list,json=fetterList,proto3" json:"fetter_list,omitempty"` +} + +func (x *AvatarFetterInfo) Reset() { + *x = AvatarFetterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFetterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFetterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFetterInfo) ProtoMessage() {} + +func (x *AvatarFetterInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFetterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFetterInfo.ProtoReflect.Descriptor instead. +func (*AvatarFetterInfo) Descriptor() ([]byte, []int) { + return file_AvatarFetterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFetterInfo) GetExpNumber() uint32 { + if x != nil { + return x.ExpNumber + } + return 0 +} + +func (x *AvatarFetterInfo) GetExpLevel() uint32 { + if x != nil { + return x.ExpLevel + } + return 0 +} + +func (x *AvatarFetterInfo) GetOpenIdList() []uint32 { + if x != nil { + return x.OpenIdList + } + return nil +} + +func (x *AvatarFetterInfo) GetFinishIdList() []uint32 { + if x != nil { + return x.FinishIdList + } + return nil +} + +func (x *AvatarFetterInfo) GetRewardedFetterLevelList() []uint32 { + if x != nil { + return x.RewardedFetterLevelList + } + return nil +} + +func (x *AvatarFetterInfo) GetFetterList() []*FetterData { + if x != nil { + return x.FetterList + } + return nil +} + +var File_AvatarFetterInfo_proto protoreflect.FileDescriptor + +var file_AvatarFetterInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x02, 0x0a, 0x10, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x78, 0x70, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x78, 0x70, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x78, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x6f, + 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x1a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x5f, + 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x17, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, + 0x64, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x2c, 0x0a, 0x0b, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x0a, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AvatarFetterInfo_proto_rawDescOnce sync.Once + file_AvatarFetterInfo_proto_rawDescData = file_AvatarFetterInfo_proto_rawDesc +) + +func file_AvatarFetterInfo_proto_rawDescGZIP() []byte { + file_AvatarFetterInfo_proto_rawDescOnce.Do(func() { + file_AvatarFetterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFetterInfo_proto_rawDescData) + }) + return file_AvatarFetterInfo_proto_rawDescData +} + +var file_AvatarFetterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarFetterInfo_proto_goTypes = []interface{}{ + (*AvatarFetterInfo)(nil), // 0: AvatarFetterInfo + (*FetterData)(nil), // 1: FetterData +} +var file_AvatarFetterInfo_proto_depIdxs = []int32{ + 1, // 0: AvatarFetterInfo.fetter_list:type_name -> FetterData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarFetterInfo_proto_init() } +func file_AvatarFetterInfo_proto_init() { + if File_AvatarFetterInfo_proto != nil { + return + } + file_FetterData_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarFetterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFetterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFetterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFetterInfo_proto_goTypes, + DependencyIndexes: file_AvatarFetterInfo_proto_depIdxs, + MessageInfos: file_AvatarFetterInfo_proto_msgTypes, + }.Build() + File_AvatarFetterInfo_proto = out.File + file_AvatarFetterInfo_proto_rawDesc = nil + file_AvatarFetterInfo_proto_goTypes = nil + file_AvatarFetterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFetterInfo.proto b/gate-hk4e-api/proto/AvatarFetterInfo.proto new file mode 100644 index 00000000..36dd2e04 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FetterData.proto"; + +option go_package = "./;proto"; + +message AvatarFetterInfo { + uint32 exp_number = 1; + uint32 exp_level = 2; + repeated uint32 open_id_list = 3; + repeated uint32 finish_id_list = 4; + repeated uint32 rewarded_fetter_level_list = 5; + repeated FetterData fetter_list = 6; +} diff --git a/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.pb.go b/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.pb.go new file mode 100644 index 00000000..9b6b6ff2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFetterLevelRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1653 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarFetterLevelRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,1,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + FetterLevel uint32 `protobuf:"varint,6,opt,name=fetter_level,json=fetterLevel,proto3" json:"fetter_level,omitempty"` +} + +func (x *AvatarFetterLevelRewardReq) Reset() { + *x = AvatarFetterLevelRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFetterLevelRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFetterLevelRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFetterLevelRewardReq) ProtoMessage() {} + +func (x *AvatarFetterLevelRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFetterLevelRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFetterLevelRewardReq.ProtoReflect.Descriptor instead. +func (*AvatarFetterLevelRewardReq) Descriptor() ([]byte, []int) { + return file_AvatarFetterLevelRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFetterLevelRewardReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarFetterLevelRewardReq) GetFetterLevel() uint32 { + if x != nil { + return x.FetterLevel + } + return 0 +} + +var File_AvatarFetterLevelRewardReq_proto protoreflect.FileDescriptor + +var file_AvatarFetterLevelRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, + 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFetterLevelRewardReq_proto_rawDescOnce sync.Once + file_AvatarFetterLevelRewardReq_proto_rawDescData = file_AvatarFetterLevelRewardReq_proto_rawDesc +) + +func file_AvatarFetterLevelRewardReq_proto_rawDescGZIP() []byte { + file_AvatarFetterLevelRewardReq_proto_rawDescOnce.Do(func() { + file_AvatarFetterLevelRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFetterLevelRewardReq_proto_rawDescData) + }) + return file_AvatarFetterLevelRewardReq_proto_rawDescData +} + +var file_AvatarFetterLevelRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarFetterLevelRewardReq_proto_goTypes = []interface{}{ + (*AvatarFetterLevelRewardReq)(nil), // 0: AvatarFetterLevelRewardReq +} +var file_AvatarFetterLevelRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarFetterLevelRewardReq_proto_init() } +func file_AvatarFetterLevelRewardReq_proto_init() { + if File_AvatarFetterLevelRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarFetterLevelRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFetterLevelRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFetterLevelRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFetterLevelRewardReq_proto_goTypes, + DependencyIndexes: file_AvatarFetterLevelRewardReq_proto_depIdxs, + MessageInfos: file_AvatarFetterLevelRewardReq_proto_msgTypes, + }.Build() + File_AvatarFetterLevelRewardReq_proto = out.File + file_AvatarFetterLevelRewardReq_proto_rawDesc = nil + file_AvatarFetterLevelRewardReq_proto_goTypes = nil + file_AvatarFetterLevelRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.proto b/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.proto new file mode 100644 index 00000000..9bace2f4 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterLevelRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1653 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarFetterLevelRewardReq { + uint64 avatar_guid = 1; + uint32 fetter_level = 6; +} diff --git a/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.pb.go b/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.pb.go new file mode 100644 index 00000000..ec629252 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFetterLevelRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1606 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFetterLevelRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,4,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + RewardId uint32 `protobuf:"varint,1,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + FetterLevel uint32 `protobuf:"varint,14,opt,name=fetter_level,json=fetterLevel,proto3" json:"fetter_level,omitempty"` +} + +func (x *AvatarFetterLevelRewardRsp) Reset() { + *x = AvatarFetterLevelRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFetterLevelRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFetterLevelRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFetterLevelRewardRsp) ProtoMessage() {} + +func (x *AvatarFetterLevelRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFetterLevelRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFetterLevelRewardRsp.ProtoReflect.Descriptor instead. +func (*AvatarFetterLevelRewardRsp) Descriptor() ([]byte, []int) { + return file_AvatarFetterLevelRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFetterLevelRewardRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarFetterLevelRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *AvatarFetterLevelRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarFetterLevelRewardRsp) GetFetterLevel() uint32 { + if x != nil { + return x.FetterLevel + } + return 0 +} + +var File_AvatarFetterLevelRewardRsp_proto protoreflect.FileDescriptor + +var file_AvatarFetterLevelRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, + 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, + 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, + 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x65, 0x74, + 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFetterLevelRewardRsp_proto_rawDescOnce sync.Once + file_AvatarFetterLevelRewardRsp_proto_rawDescData = file_AvatarFetterLevelRewardRsp_proto_rawDesc +) + +func file_AvatarFetterLevelRewardRsp_proto_rawDescGZIP() []byte { + file_AvatarFetterLevelRewardRsp_proto_rawDescOnce.Do(func() { + file_AvatarFetterLevelRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFetterLevelRewardRsp_proto_rawDescData) + }) + return file_AvatarFetterLevelRewardRsp_proto_rawDescData +} + +var file_AvatarFetterLevelRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarFetterLevelRewardRsp_proto_goTypes = []interface{}{ + (*AvatarFetterLevelRewardRsp)(nil), // 0: AvatarFetterLevelRewardRsp +} +var file_AvatarFetterLevelRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarFetterLevelRewardRsp_proto_init() } +func file_AvatarFetterLevelRewardRsp_proto_init() { + if File_AvatarFetterLevelRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarFetterLevelRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFetterLevelRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFetterLevelRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFetterLevelRewardRsp_proto_goTypes, + DependencyIndexes: file_AvatarFetterLevelRewardRsp_proto_depIdxs, + MessageInfos: file_AvatarFetterLevelRewardRsp_proto_msgTypes, + }.Build() + File_AvatarFetterLevelRewardRsp_proto = out.File + file_AvatarFetterLevelRewardRsp_proto_rawDesc = nil + file_AvatarFetterLevelRewardRsp_proto_goTypes = nil + file_AvatarFetterLevelRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.proto b/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.proto new file mode 100644 index 00000000..087fb68b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFetterLevelRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1606 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFetterLevelRewardRsp { + uint64 avatar_guid = 4; + uint32 reward_id = 1; + int32 retcode = 13; + uint32 fetter_level = 14; +} diff --git a/gate-hk4e-api/proto/AvatarFightPropNotify.pb.go b/gate-hk4e-api/proto/AvatarFightPropNotify.pb.go new file mode 100644 index 00000000..af51d79c --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFightPropNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFightPropNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1207 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFightPropNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FightPropMap map[uint32]float32 `protobuf:"bytes,8,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + AvatarGuid uint64 `protobuf:"varint,4,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarFightPropNotify) Reset() { + *x = AvatarFightPropNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFightPropNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFightPropNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFightPropNotify) ProtoMessage() {} + +func (x *AvatarFightPropNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFightPropNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFightPropNotify.ProtoReflect.Descriptor instead. +func (*AvatarFightPropNotify) Descriptor() ([]byte, []int) { + return file_AvatarFightPropNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFightPropNotify) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +func (x *AvatarFightPropNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarFightPropNotify_proto protoreflect.FileDescriptor + +var file_AvatarFightPropNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4e, 0x0a, 0x0e, 0x66, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, 0x68, 0x74, + 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x67, 0x68, + 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFightPropNotify_proto_rawDescOnce sync.Once + file_AvatarFightPropNotify_proto_rawDescData = file_AvatarFightPropNotify_proto_rawDesc +) + +func file_AvatarFightPropNotify_proto_rawDescGZIP() []byte { + file_AvatarFightPropNotify_proto_rawDescOnce.Do(func() { + file_AvatarFightPropNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFightPropNotify_proto_rawDescData) + }) + return file_AvatarFightPropNotify_proto_rawDescData +} + +var file_AvatarFightPropNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarFightPropNotify_proto_goTypes = []interface{}{ + (*AvatarFightPropNotify)(nil), // 0: AvatarFightPropNotify + nil, // 1: AvatarFightPropNotify.FightPropMapEntry +} +var file_AvatarFightPropNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarFightPropNotify.fight_prop_map:type_name -> AvatarFightPropNotify.FightPropMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarFightPropNotify_proto_init() } +func file_AvatarFightPropNotify_proto_init() { + if File_AvatarFightPropNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarFightPropNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFightPropNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFightPropNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFightPropNotify_proto_goTypes, + DependencyIndexes: file_AvatarFightPropNotify_proto_depIdxs, + MessageInfos: file_AvatarFightPropNotify_proto_msgTypes, + }.Build() + File_AvatarFightPropNotify_proto = out.File + file_AvatarFightPropNotify_proto_rawDesc = nil + file_AvatarFightPropNotify_proto_goTypes = nil + file_AvatarFightPropNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFightPropNotify.proto b/gate-hk4e-api/proto/AvatarFightPropNotify.proto new file mode 100644 index 00000000..6c50bb40 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFightPropNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1207 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFightPropNotify { + map fight_prop_map = 8; + uint64 avatar_guid = 4; +} diff --git a/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.pb.go b/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.pb.go new file mode 100644 index 00000000..6e056467 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFightPropUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1221 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFightPropUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FightPropMap map[uint32]float32 `protobuf:"bytes,15,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + AvatarGuid uint64 `protobuf:"varint,13,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarFightPropUpdateNotify) Reset() { + *x = AvatarFightPropUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFightPropUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFightPropUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFightPropUpdateNotify) ProtoMessage() {} + +func (x *AvatarFightPropUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFightPropUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFightPropUpdateNotify.ProtoReflect.Descriptor instead. +func (*AvatarFightPropUpdateNotify) Descriptor() ([]byte, []int) { + return file_AvatarFightPropUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFightPropUpdateNotify) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +func (x *AvatarFightPropUpdateNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarFightPropUpdateNotify_proto protoreflect.FileDescriptor + +var file_AvatarFightPropUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, + 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x54, 0x0a, 0x0e, 0x66, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, + 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, + 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, + 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFightPropUpdateNotify_proto_rawDescOnce sync.Once + file_AvatarFightPropUpdateNotify_proto_rawDescData = file_AvatarFightPropUpdateNotify_proto_rawDesc +) + +func file_AvatarFightPropUpdateNotify_proto_rawDescGZIP() []byte { + file_AvatarFightPropUpdateNotify_proto_rawDescOnce.Do(func() { + file_AvatarFightPropUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFightPropUpdateNotify_proto_rawDescData) + }) + return file_AvatarFightPropUpdateNotify_proto_rawDescData +} + +var file_AvatarFightPropUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarFightPropUpdateNotify_proto_goTypes = []interface{}{ + (*AvatarFightPropUpdateNotify)(nil), // 0: AvatarFightPropUpdateNotify + nil, // 1: AvatarFightPropUpdateNotify.FightPropMapEntry +} +var file_AvatarFightPropUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarFightPropUpdateNotify.fight_prop_map:type_name -> AvatarFightPropUpdateNotify.FightPropMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarFightPropUpdateNotify_proto_init() } +func file_AvatarFightPropUpdateNotify_proto_init() { + if File_AvatarFightPropUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarFightPropUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFightPropUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFightPropUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFightPropUpdateNotify_proto_goTypes, + DependencyIndexes: file_AvatarFightPropUpdateNotify_proto_depIdxs, + MessageInfos: file_AvatarFightPropUpdateNotify_proto_msgTypes, + }.Build() + File_AvatarFightPropUpdateNotify_proto = out.File + file_AvatarFightPropUpdateNotify_proto_rawDesc = nil + file_AvatarFightPropUpdateNotify_proto_goTypes = nil + file_AvatarFightPropUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.proto b/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.proto new file mode 100644 index 00000000..ee1e94a2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFightPropUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1221 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFightPropUpdateNotify { + map fight_prop_map = 15; + uint64 avatar_guid = 13; +} diff --git a/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.pb.go b/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.pb.go new file mode 100644 index 00000000..0705e7f7 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFlycloakChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1643 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFlycloakChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlycloakId uint32 `protobuf:"varint,8,opt,name=flycloak_id,json=flycloakId,proto3" json:"flycloak_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,2,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarFlycloakChangeNotify) Reset() { + *x = AvatarFlycloakChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFlycloakChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFlycloakChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFlycloakChangeNotify) ProtoMessage() {} + +func (x *AvatarFlycloakChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFlycloakChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFlycloakChangeNotify.ProtoReflect.Descriptor instead. +func (*AvatarFlycloakChangeNotify) Descriptor() ([]byte, []int) { + return file_AvatarFlycloakChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFlycloakChangeNotify) GetFlycloakId() uint32 { + if x != nil { + return x.FlycloakId + } + return 0 +} + +func (x *AvatarFlycloakChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarFlycloakChangeNotify_proto protoreflect.FileDescriptor + +var file_AvatarFlycloakChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, + 0x6c, 0x6f, 0x61, 0x6b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFlycloakChangeNotify_proto_rawDescOnce sync.Once + file_AvatarFlycloakChangeNotify_proto_rawDescData = file_AvatarFlycloakChangeNotify_proto_rawDesc +) + +func file_AvatarFlycloakChangeNotify_proto_rawDescGZIP() []byte { + file_AvatarFlycloakChangeNotify_proto_rawDescOnce.Do(func() { + file_AvatarFlycloakChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFlycloakChangeNotify_proto_rawDescData) + }) + return file_AvatarFlycloakChangeNotify_proto_rawDescData +} + +var file_AvatarFlycloakChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarFlycloakChangeNotify_proto_goTypes = []interface{}{ + (*AvatarFlycloakChangeNotify)(nil), // 0: AvatarFlycloakChangeNotify +} +var file_AvatarFlycloakChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarFlycloakChangeNotify_proto_init() } +func file_AvatarFlycloakChangeNotify_proto_init() { + if File_AvatarFlycloakChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarFlycloakChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFlycloakChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFlycloakChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFlycloakChangeNotify_proto_goTypes, + DependencyIndexes: file_AvatarFlycloakChangeNotify_proto_depIdxs, + MessageInfos: file_AvatarFlycloakChangeNotify_proto_msgTypes, + }.Build() + File_AvatarFlycloakChangeNotify_proto = out.File + file_AvatarFlycloakChangeNotify_proto_rawDesc = nil + file_AvatarFlycloakChangeNotify_proto_goTypes = nil + file_AvatarFlycloakChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.proto b/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.proto new file mode 100644 index 00000000..2f59d8b0 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFlycloakChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1643 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFlycloakChangeNotify { + uint32 flycloak_id = 8; + uint64 avatar_guid = 2; +} diff --git a/gate-hk4e-api/proto/AvatarFollowRouteNotify.pb.go b/gate-hk4e-api/proto/AvatarFollowRouteNotify.pb.go new file mode 100644 index 00000000..e58e1947 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFollowRouteNotify.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarFollowRouteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3458 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarFollowRouteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + TemplateId uint32 `protobuf:"varint,6,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` + StartSceneTimeMs uint32 `protobuf:"varint,8,opt,name=start_scene_time_ms,json=startSceneTimeMs,proto3" json:"start_scene_time_ms,omitempty"` + Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` + ClientParams string `protobuf:"bytes,13,opt,name=client_params,json=clientParams,proto3" json:"client_params,omitempty"` +} + +func (x *AvatarFollowRouteNotify) Reset() { + *x = AvatarFollowRouteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarFollowRouteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarFollowRouteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarFollowRouteNotify) ProtoMessage() {} + +func (x *AvatarFollowRouteNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarFollowRouteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarFollowRouteNotify.ProtoReflect.Descriptor instead. +func (*AvatarFollowRouteNotify) Descriptor() ([]byte, []int) { + return file_AvatarFollowRouteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarFollowRouteNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AvatarFollowRouteNotify) GetTemplateId() uint32 { + if x != nil { + return x.TemplateId + } + return 0 +} + +func (x *AvatarFollowRouteNotify) GetStartSceneTimeMs() uint32 { + if x != nil { + return x.StartSceneTimeMs + } + return 0 +} + +func (x *AvatarFollowRouteNotify) GetRoute() *Route { + if x != nil { + return x.Route + } + return nil +} + +func (x *AvatarFollowRouteNotify) GetClientParams() string { + if x != nil { + return x.ClientParams + } + return "" +} + +var File_AvatarFollowRouteNotify_proto protoreflect.FileDescriptor + +var file_AvatarFollowRouteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, + 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x6f, 0x75, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarFollowRouteNotify_proto_rawDescOnce sync.Once + file_AvatarFollowRouteNotify_proto_rawDescData = file_AvatarFollowRouteNotify_proto_rawDesc +) + +func file_AvatarFollowRouteNotify_proto_rawDescGZIP() []byte { + file_AvatarFollowRouteNotify_proto_rawDescOnce.Do(func() { + file_AvatarFollowRouteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarFollowRouteNotify_proto_rawDescData) + }) + return file_AvatarFollowRouteNotify_proto_rawDescData +} + +var file_AvatarFollowRouteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarFollowRouteNotify_proto_goTypes = []interface{}{ + (*AvatarFollowRouteNotify)(nil), // 0: AvatarFollowRouteNotify + (*Route)(nil), // 1: Route +} +var file_AvatarFollowRouteNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarFollowRouteNotify.route:type_name -> Route + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarFollowRouteNotify_proto_init() } +func file_AvatarFollowRouteNotify_proto_init() { + if File_AvatarFollowRouteNotify_proto != nil { + return + } + file_Route_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarFollowRouteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarFollowRouteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarFollowRouteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarFollowRouteNotify_proto_goTypes, + DependencyIndexes: file_AvatarFollowRouteNotify_proto_depIdxs, + MessageInfos: file_AvatarFollowRouteNotify_proto_msgTypes, + }.Build() + File_AvatarFollowRouteNotify_proto = out.File + file_AvatarFollowRouteNotify_proto_rawDesc = nil + file_AvatarFollowRouteNotify_proto_goTypes = nil + file_AvatarFollowRouteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarFollowRouteNotify.proto b/gate-hk4e-api/proto/AvatarFollowRouteNotify.proto new file mode 100644 index 00000000..8f696ab5 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarFollowRouteNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Route.proto"; + +option go_package = "./;proto"; + +// CmdId: 3458 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarFollowRouteNotify { + uint32 entity_id = 4; + uint32 template_id = 6; + uint32 start_scene_time_ms = 8; + Route route = 2; + string client_params = 13; +} diff --git a/gate-hk4e-api/proto/AvatarGainCostumeNotify.pb.go b/gate-hk4e-api/proto/AvatarGainCostumeNotify.pb.go new file mode 100644 index 00000000..10899d03 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarGainCostumeNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarGainCostumeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1677 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarGainCostumeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostumeId uint32 `protobuf:"varint,15,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *AvatarGainCostumeNotify) Reset() { + *x = AvatarGainCostumeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarGainCostumeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarGainCostumeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarGainCostumeNotify) ProtoMessage() {} + +func (x *AvatarGainCostumeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarGainCostumeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarGainCostumeNotify.ProtoReflect.Descriptor instead. +func (*AvatarGainCostumeNotify) Descriptor() ([]byte, []int) { + return file_AvatarGainCostumeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarGainCostumeNotify) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_AvatarGainCostumeNotify_proto protoreflect.FileDescriptor + +var file_AvatarGainCostumeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, + 0x75, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x38, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x73, + 0x74, 0x75, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarGainCostumeNotify_proto_rawDescOnce sync.Once + file_AvatarGainCostumeNotify_proto_rawDescData = file_AvatarGainCostumeNotify_proto_rawDesc +) + +func file_AvatarGainCostumeNotify_proto_rawDescGZIP() []byte { + file_AvatarGainCostumeNotify_proto_rawDescOnce.Do(func() { + file_AvatarGainCostumeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarGainCostumeNotify_proto_rawDescData) + }) + return file_AvatarGainCostumeNotify_proto_rawDescData +} + +var file_AvatarGainCostumeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarGainCostumeNotify_proto_goTypes = []interface{}{ + (*AvatarGainCostumeNotify)(nil), // 0: AvatarGainCostumeNotify +} +var file_AvatarGainCostumeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarGainCostumeNotify_proto_init() } +func file_AvatarGainCostumeNotify_proto_init() { + if File_AvatarGainCostumeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarGainCostumeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarGainCostumeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarGainCostumeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarGainCostumeNotify_proto_goTypes, + DependencyIndexes: file_AvatarGainCostumeNotify_proto_depIdxs, + MessageInfos: file_AvatarGainCostumeNotify_proto_msgTypes, + }.Build() + File_AvatarGainCostumeNotify_proto = out.File + file_AvatarGainCostumeNotify_proto_rawDesc = nil + file_AvatarGainCostumeNotify_proto_goTypes = nil + file_AvatarGainCostumeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarGainCostumeNotify.proto b/gate-hk4e-api/proto/AvatarGainCostumeNotify.proto new file mode 100644 index 00000000..b6f2e81c --- /dev/null +++ b/gate-hk4e-api/proto/AvatarGainCostumeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1677 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarGainCostumeNotify { + uint32 costume_id = 15; +} diff --git a/gate-hk4e-api/proto/AvatarGainFlycloakNotify.pb.go b/gate-hk4e-api/proto/AvatarGainFlycloakNotify.pb.go new file mode 100644 index 00000000..4284ccd3 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarGainFlycloakNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarGainFlycloakNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1656 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarGainFlycloakNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlycloakId uint32 `protobuf:"varint,3,opt,name=flycloak_id,json=flycloakId,proto3" json:"flycloak_id,omitempty"` +} + +func (x *AvatarGainFlycloakNotify) Reset() { + *x = AvatarGainFlycloakNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarGainFlycloakNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarGainFlycloakNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarGainFlycloakNotify) ProtoMessage() {} + +func (x *AvatarGainFlycloakNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarGainFlycloakNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarGainFlycloakNotify.ProtoReflect.Descriptor instead. +func (*AvatarGainFlycloakNotify) Descriptor() ([]byte, []int) { + return file_AvatarGainFlycloakNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarGainFlycloakNotify) GetFlycloakId() uint32 { + if x != nil { + return x.FlycloakId + } + return 0 +} + +var File_AvatarGainFlycloakNotify_proto protoreflect.FileDescriptor + +var file_AvatarGainFlycloakNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x61, 0x69, 0x6e, 0x46, 0x6c, 0x79, 0x63, + 0x6c, 0x6f, 0x61, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x3b, 0x0a, 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x61, 0x69, 0x6e, 0x46, 0x6c, + 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_AvatarGainFlycloakNotify_proto_rawDescOnce sync.Once + file_AvatarGainFlycloakNotify_proto_rawDescData = file_AvatarGainFlycloakNotify_proto_rawDesc +) + +func file_AvatarGainFlycloakNotify_proto_rawDescGZIP() []byte { + file_AvatarGainFlycloakNotify_proto_rawDescOnce.Do(func() { + file_AvatarGainFlycloakNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarGainFlycloakNotify_proto_rawDescData) + }) + return file_AvatarGainFlycloakNotify_proto_rawDescData +} + +var file_AvatarGainFlycloakNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarGainFlycloakNotify_proto_goTypes = []interface{}{ + (*AvatarGainFlycloakNotify)(nil), // 0: AvatarGainFlycloakNotify +} +var file_AvatarGainFlycloakNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarGainFlycloakNotify_proto_init() } +func file_AvatarGainFlycloakNotify_proto_init() { + if File_AvatarGainFlycloakNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarGainFlycloakNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarGainFlycloakNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarGainFlycloakNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarGainFlycloakNotify_proto_goTypes, + DependencyIndexes: file_AvatarGainFlycloakNotify_proto_depIdxs, + MessageInfos: file_AvatarGainFlycloakNotify_proto_msgTypes, + }.Build() + File_AvatarGainFlycloakNotify_proto = out.File + file_AvatarGainFlycloakNotify_proto_rawDesc = nil + file_AvatarGainFlycloakNotify_proto_goTypes = nil + file_AvatarGainFlycloakNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarGainFlycloakNotify.proto b/gate-hk4e-api/proto/AvatarGainFlycloakNotify.proto new file mode 100644 index 00000000..0b807a9a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarGainFlycloakNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1656 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarGainFlycloakNotify { + uint32 flycloak_id = 3; +} diff --git a/gate-hk4e-api/proto/AvatarInfo.pb.go b/gate-hk4e-api/proto/AvatarInfo.pb.go new file mode 100644 index 00000000..1f5d02f5 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarInfo.pb.go @@ -0,0 +1,499 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Guid uint64 `protobuf:"varint,2,opt,name=guid,proto3" json:"guid,omitempty"` + PropMap map[uint32]*PropValue `protobuf:"bytes,3,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + LifeState uint32 `protobuf:"varint,4,opt,name=life_state,json=lifeState,proto3" json:"life_state,omitempty"` + EquipGuidList []uint64 `protobuf:"varint,5,rep,packed,name=equip_guid_list,json=equipGuidList,proto3" json:"equip_guid_list,omitempty"` + TalentIdList []uint32 `protobuf:"varint,6,rep,packed,name=talent_id_list,json=talentIdList,proto3" json:"talent_id_list,omitempty"` + FightPropMap map[uint32]float32 `protobuf:"bytes,7,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + TrialAvatarInfo *TrialAvatarInfo `protobuf:"bytes,9,opt,name=trial_avatar_info,json=trialAvatarInfo,proto3" json:"trial_avatar_info,omitempty"` + SkillMap map[uint32]*AvatarSkillInfo `protobuf:"bytes,10,rep,name=skill_map,json=skillMap,proto3" json:"skill_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SkillDepotId uint32 `protobuf:"varint,11,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + FetterInfo *AvatarFetterInfo `protobuf:"bytes,12,opt,name=fetter_info,json=fetterInfo,proto3" json:"fetter_info,omitempty"` + CoreProudSkillLevel uint32 `protobuf:"varint,13,opt,name=core_proud_skill_level,json=coreProudSkillLevel,proto3" json:"core_proud_skill_level,omitempty"` + InherentProudSkillList []uint32 `protobuf:"varint,14,rep,packed,name=inherent_proud_skill_list,json=inherentProudSkillList,proto3" json:"inherent_proud_skill_list,omitempty"` + SkillLevelMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=skill_level_map,json=skillLevelMap,proto3" json:"skill_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ExpeditionState AvatarExpeditionState `protobuf:"varint,16,opt,name=expedition_state,json=expeditionState,proto3,enum=AvatarExpeditionState" json:"expedition_state,omitempty"` + ProudSkillExtraLevelMap map[uint32]uint32 `protobuf:"bytes,17,rep,name=proud_skill_extra_level_map,json=proudSkillExtraLevelMap,proto3" json:"proud_skill_extra_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsFocus bool `protobuf:"varint,18,opt,name=is_focus,json=isFocus,proto3" json:"is_focus,omitempty"` + AvatarType uint32 `protobuf:"varint,19,opt,name=avatar_type,json=avatarType,proto3" json:"avatar_type,omitempty"` + TeamResonanceList []uint32 `protobuf:"varint,20,rep,packed,name=team_resonance_list,json=teamResonanceList,proto3" json:"team_resonance_list,omitempty"` + WearingFlycloakId uint32 `protobuf:"varint,21,opt,name=wearing_flycloak_id,json=wearingFlycloakId,proto3" json:"wearing_flycloak_id,omitempty"` + EquipAffixList []*AvatarEquipAffixInfo `protobuf:"bytes,22,rep,name=equip_affix_list,json=equipAffixList,proto3" json:"equip_affix_list,omitempty"` + BornTime uint32 `protobuf:"varint,23,opt,name=born_time,json=bornTime,proto3" json:"born_time,omitempty"` + PendingPromoteRewardList []uint32 `protobuf:"varint,24,rep,packed,name=pending_promote_reward_list,json=pendingPromoteRewardList,proto3" json:"pending_promote_reward_list,omitempty"` + CostumeId uint32 `protobuf:"varint,25,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + ExcelInfo *AvatarExcelInfo `protobuf:"bytes,26,opt,name=excel_info,json=excelInfo,proto3" json:"excel_info,omitempty"` + AnimHash uint32 `protobuf:"varint,27,opt,name=anim_hash,json=animHash,proto3" json:"anim_hash,omitempty"` +} + +func (x *AvatarInfo) Reset() { + *x = AvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarInfo) ProtoMessage() {} + +func (x *AvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarInfo.ProtoReflect.Descriptor instead. +func (*AvatarInfo) Descriptor() ([]byte, []int) { + return file_AvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *AvatarInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *AvatarInfo) GetPropMap() map[uint32]*PropValue { + if x != nil { + return x.PropMap + } + return nil +} + +func (x *AvatarInfo) GetLifeState() uint32 { + if x != nil { + return x.LifeState + } + return 0 +} + +func (x *AvatarInfo) GetEquipGuidList() []uint64 { + if x != nil { + return x.EquipGuidList + } + return nil +} + +func (x *AvatarInfo) GetTalentIdList() []uint32 { + if x != nil { + return x.TalentIdList + } + return nil +} + +func (x *AvatarInfo) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +func (x *AvatarInfo) GetTrialAvatarInfo() *TrialAvatarInfo { + if x != nil { + return x.TrialAvatarInfo + } + return nil +} + +func (x *AvatarInfo) GetSkillMap() map[uint32]*AvatarSkillInfo { + if x != nil { + return x.SkillMap + } + return nil +} + +func (x *AvatarInfo) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *AvatarInfo) GetFetterInfo() *AvatarFetterInfo { + if x != nil { + return x.FetterInfo + } + return nil +} + +func (x *AvatarInfo) GetCoreProudSkillLevel() uint32 { + if x != nil { + return x.CoreProudSkillLevel + } + return 0 +} + +func (x *AvatarInfo) GetInherentProudSkillList() []uint32 { + if x != nil { + return x.InherentProudSkillList + } + return nil +} + +func (x *AvatarInfo) GetSkillLevelMap() map[uint32]uint32 { + if x != nil { + return x.SkillLevelMap + } + return nil +} + +func (x *AvatarInfo) GetExpeditionState() AvatarExpeditionState { + if x != nil { + return x.ExpeditionState + } + return AvatarExpeditionState_AVATAR_EXPEDITION_STATE_NONE +} + +func (x *AvatarInfo) GetProudSkillExtraLevelMap() map[uint32]uint32 { + if x != nil { + return x.ProudSkillExtraLevelMap + } + return nil +} + +func (x *AvatarInfo) GetIsFocus() bool { + if x != nil { + return x.IsFocus + } + return false +} + +func (x *AvatarInfo) GetAvatarType() uint32 { + if x != nil { + return x.AvatarType + } + return 0 +} + +func (x *AvatarInfo) GetTeamResonanceList() []uint32 { + if x != nil { + return x.TeamResonanceList + } + return nil +} + +func (x *AvatarInfo) GetWearingFlycloakId() uint32 { + if x != nil { + return x.WearingFlycloakId + } + return 0 +} + +func (x *AvatarInfo) GetEquipAffixList() []*AvatarEquipAffixInfo { + if x != nil { + return x.EquipAffixList + } + return nil +} + +func (x *AvatarInfo) GetBornTime() uint32 { + if x != nil { + return x.BornTime + } + return 0 +} + +func (x *AvatarInfo) GetPendingPromoteRewardList() []uint32 { + if x != nil { + return x.PendingPromoteRewardList + } + return nil +} + +func (x *AvatarInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *AvatarInfo) GetExcelInfo() *AvatarExcelInfo { + if x != nil { + return x.ExcelInfo + } + return nil +} + +func (x *AvatarInfo) GetAnimHash() uint32 { + if x != nil { + return x.AnimHash + } + return 0 +} + +var File_AvatarInfo_proto protoreflect.FileDescriptor + +var file_AvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, + 0x66, 0x66, 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x15, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x0c, 0x0a, 0x0a, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1d, + 0x0a, 0x0a, 0x6c, 0x69, 0x66, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, + 0x0f, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0d, 0x65, 0x71, 0x75, 0x69, 0x70, 0x47, 0x75, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x74, + 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x66, + 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, + 0x12, 0x3c, 0x0a, 0x11, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x54, 0x72, + 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, + 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, + 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, + 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0b, + 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x33, 0x0a, 0x16, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x16, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x65, + 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x46, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x41, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x66, 0x0a, 0x1b, 0x70, + 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, + 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x75, + 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x4d, 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x2e, 0x0a, 0x13, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2e, 0x0a, 0x13, 0x77, 0x65, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6c, 0x79, 0x63, 0x6c, + 0x6f, 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x77, 0x65, + 0x61, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, 0x64, 0x12, + 0x3f, 0x0a, 0x10, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0e, 0x65, 0x71, 0x75, 0x69, 0x70, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x17, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, + 0x1b, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x18, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x18, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0a, 0x65, + 0x78, 0x63, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x6e, 0x69, 0x6d, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x6e, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x46, 0x0a, 0x0c, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x0d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, + 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarInfo_proto_rawDescOnce sync.Once + file_AvatarInfo_proto_rawDescData = file_AvatarInfo_proto_rawDesc +) + +func file_AvatarInfo_proto_rawDescGZIP() []byte { + file_AvatarInfo_proto_rawDescOnce.Do(func() { + file_AvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarInfo_proto_rawDescData) + }) + return file_AvatarInfo_proto_rawDescData +} + +var file_AvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_AvatarInfo_proto_goTypes = []interface{}{ + (*AvatarInfo)(nil), // 0: AvatarInfo + nil, // 1: AvatarInfo.PropMapEntry + nil, // 2: AvatarInfo.FightPropMapEntry + nil, // 3: AvatarInfo.SkillMapEntry + nil, // 4: AvatarInfo.SkillLevelMapEntry + nil, // 5: AvatarInfo.ProudSkillExtraLevelMapEntry + (*TrialAvatarInfo)(nil), // 6: TrialAvatarInfo + (*AvatarFetterInfo)(nil), // 7: AvatarFetterInfo + (AvatarExpeditionState)(0), // 8: AvatarExpeditionState + (*AvatarEquipAffixInfo)(nil), // 9: AvatarEquipAffixInfo + (*AvatarExcelInfo)(nil), // 10: AvatarExcelInfo + (*PropValue)(nil), // 11: PropValue + (*AvatarSkillInfo)(nil), // 12: AvatarSkillInfo +} +var file_AvatarInfo_proto_depIdxs = []int32{ + 1, // 0: AvatarInfo.prop_map:type_name -> AvatarInfo.PropMapEntry + 2, // 1: AvatarInfo.fight_prop_map:type_name -> AvatarInfo.FightPropMapEntry + 6, // 2: AvatarInfo.trial_avatar_info:type_name -> TrialAvatarInfo + 3, // 3: AvatarInfo.skill_map:type_name -> AvatarInfo.SkillMapEntry + 7, // 4: AvatarInfo.fetter_info:type_name -> AvatarFetterInfo + 4, // 5: AvatarInfo.skill_level_map:type_name -> AvatarInfo.SkillLevelMapEntry + 8, // 6: AvatarInfo.expedition_state:type_name -> AvatarExpeditionState + 5, // 7: AvatarInfo.proud_skill_extra_level_map:type_name -> AvatarInfo.ProudSkillExtraLevelMapEntry + 9, // 8: AvatarInfo.equip_affix_list:type_name -> AvatarEquipAffixInfo + 10, // 9: AvatarInfo.excel_info:type_name -> AvatarExcelInfo + 11, // 10: AvatarInfo.PropMapEntry.value:type_name -> PropValue + 12, // 11: AvatarInfo.SkillMapEntry.value:type_name -> AvatarSkillInfo + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_AvatarInfo_proto_init() } +func file_AvatarInfo_proto_init() { + if File_AvatarInfo_proto != nil { + return + } + file_AvatarEquipAffixInfo_proto_init() + file_AvatarExcelInfo_proto_init() + file_AvatarExpeditionState_proto_init() + file_AvatarFetterInfo_proto_init() + file_AvatarSkillInfo_proto_init() + file_PropValue_proto_init() + file_TrialAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarInfo_proto_goTypes, + DependencyIndexes: file_AvatarInfo_proto_depIdxs, + MessageInfos: file_AvatarInfo_proto_msgTypes, + }.Build() + File_AvatarInfo_proto = out.File + file_AvatarInfo_proto_rawDesc = nil + file_AvatarInfo_proto_goTypes = nil + file_AvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarInfo.proto b/gate-hk4e-api/proto/AvatarInfo.proto new file mode 100644 index 00000000..04cc33d0 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarInfo.proto @@ -0,0 +1,56 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarEquipAffixInfo.proto"; +import "AvatarExcelInfo.proto"; +import "AvatarExpeditionState.proto"; +import "AvatarFetterInfo.proto"; +import "AvatarSkillInfo.proto"; +import "PropValue.proto"; +import "TrialAvatarInfo.proto"; + +option go_package = "./;proto"; + +message AvatarInfo { + uint32 avatar_id = 1; + uint64 guid = 2; + map prop_map = 3; + uint32 life_state = 4; + repeated uint64 equip_guid_list = 5; + repeated uint32 talent_id_list = 6; + map fight_prop_map = 7; + TrialAvatarInfo trial_avatar_info = 9; + map skill_map = 10; + uint32 skill_depot_id = 11; + AvatarFetterInfo fetter_info = 12; + uint32 core_proud_skill_level = 13; + repeated uint32 inherent_proud_skill_list = 14; + map skill_level_map = 15; + AvatarExpeditionState expedition_state = 16; + map proud_skill_extra_level_map = 17; + bool is_focus = 18; + uint32 avatar_type = 19; + repeated uint32 team_resonance_list = 20; + uint32 wearing_flycloak_id = 21; + repeated AvatarEquipAffixInfo equip_affix_list = 22; + uint32 born_time = 23; + repeated uint32 pending_promote_reward_list = 24; + uint32 costume_id = 25; + AvatarExcelInfo excel_info = 26; + uint32 anim_hash = 27; +} diff --git a/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.pb.go b/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.pb.go new file mode 100644 index 00000000..e723e5ab --- /dev/null +++ b/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarLifeStateChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1290 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarLifeStateChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LifeState uint32 `protobuf:"varint,13,opt,name=life_state,json=lifeState,proto3" json:"life_state,omitempty"` + AttackTag string `protobuf:"bytes,10,opt,name=attack_tag,json=attackTag,proto3" json:"attack_tag,omitempty"` + DieType PlayerDieType `protobuf:"varint,2,opt,name=die_type,json=dieType,proto3,enum=PlayerDieType" json:"die_type,omitempty"` + ServerBuffList []*ServerBuff `protobuf:"bytes,12,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` + MoveReliableSeq uint32 `protobuf:"varint,5,opt,name=move_reliable_seq,json=moveReliableSeq,proto3" json:"move_reliable_seq,omitempty"` + SourceEntityId uint32 `protobuf:"varint,3,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarLifeStateChangeNotify) Reset() { + *x = AvatarLifeStateChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarLifeStateChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarLifeStateChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarLifeStateChangeNotify) ProtoMessage() {} + +func (x *AvatarLifeStateChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarLifeStateChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarLifeStateChangeNotify.ProtoReflect.Descriptor instead. +func (*AvatarLifeStateChangeNotify) Descriptor() ([]byte, []int) { + return file_AvatarLifeStateChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarLifeStateChangeNotify) GetLifeState() uint32 { + if x != nil { + return x.LifeState + } + return 0 +} + +func (x *AvatarLifeStateChangeNotify) GetAttackTag() string { + if x != nil { + return x.AttackTag + } + return "" +} + +func (x *AvatarLifeStateChangeNotify) GetDieType() PlayerDieType { + if x != nil { + return x.DieType + } + return PlayerDieType_PLAYER_DIE_TYPE_NONE +} + +func (x *AvatarLifeStateChangeNotify) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +func (x *AvatarLifeStateChangeNotify) GetMoveReliableSeq() uint32 { + if x != nil { + return x.MoveReliableSeq + } + return 0 +} + +func (x *AvatarLifeStateChangeNotify) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +func (x *AvatarLifeStateChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarLifeStateChangeNotify_proto protoreflect.FileDescriptor + +var file_AvatarLifeStateChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x02, 0x0a, 0x1b, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, + 0x66, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x6c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x67, 0x12, 0x29, 0x0a, 0x08, 0x64, 0x69, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x64, 0x69, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, + 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, + 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarLifeStateChangeNotify_proto_rawDescOnce sync.Once + file_AvatarLifeStateChangeNotify_proto_rawDescData = file_AvatarLifeStateChangeNotify_proto_rawDesc +) + +func file_AvatarLifeStateChangeNotify_proto_rawDescGZIP() []byte { + file_AvatarLifeStateChangeNotify_proto_rawDescOnce.Do(func() { + file_AvatarLifeStateChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarLifeStateChangeNotify_proto_rawDescData) + }) + return file_AvatarLifeStateChangeNotify_proto_rawDescData +} + +var file_AvatarLifeStateChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarLifeStateChangeNotify_proto_goTypes = []interface{}{ + (*AvatarLifeStateChangeNotify)(nil), // 0: AvatarLifeStateChangeNotify + (PlayerDieType)(0), // 1: PlayerDieType + (*ServerBuff)(nil), // 2: ServerBuff +} +var file_AvatarLifeStateChangeNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarLifeStateChangeNotify.die_type:type_name -> PlayerDieType + 2, // 1: AvatarLifeStateChangeNotify.server_buff_list:type_name -> ServerBuff + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarLifeStateChangeNotify_proto_init() } +func file_AvatarLifeStateChangeNotify_proto_init() { + if File_AvatarLifeStateChangeNotify_proto != nil { + return + } + file_PlayerDieType_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarLifeStateChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarLifeStateChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarLifeStateChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarLifeStateChangeNotify_proto_goTypes, + DependencyIndexes: file_AvatarLifeStateChangeNotify_proto_depIdxs, + MessageInfos: file_AvatarLifeStateChangeNotify_proto_msgTypes, + }.Build() + File_AvatarLifeStateChangeNotify_proto = out.File + file_AvatarLifeStateChangeNotify_proto_rawDesc = nil + file_AvatarLifeStateChangeNotify_proto_goTypes = nil + file_AvatarLifeStateChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.proto b/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.proto new file mode 100644 index 00000000..0fcb2132 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarLifeStateChangeNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieType.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +// CmdId: 1290 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarLifeStateChangeNotify { + uint32 life_state = 13; + string attack_tag = 10; + PlayerDieType die_type = 2; + repeated ServerBuff server_buff_list = 12; + uint32 move_reliable_seq = 5; + uint32 source_entity_id = 3; + uint64 avatar_guid = 11; +} diff --git a/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.pb.go b/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.pb.go new file mode 100644 index 00000000..39d7e7e0 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPromoteGetRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1696 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarPromoteGetRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,7,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + PromoteLevel uint32 `protobuf:"varint,12,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` +} + +func (x *AvatarPromoteGetRewardReq) Reset() { + *x = AvatarPromoteGetRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPromoteGetRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPromoteGetRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPromoteGetRewardReq) ProtoMessage() {} + +func (x *AvatarPromoteGetRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPromoteGetRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPromoteGetRewardReq.ProtoReflect.Descriptor instead. +func (*AvatarPromoteGetRewardReq) Descriptor() ([]byte, []int) { + return file_AvatarPromoteGetRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPromoteGetRewardReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarPromoteGetRewardReq) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +var File_AvatarPromoteGetRewardReq_proto protoreflect.FileDescriptor + +var file_AvatarPromoteGetRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x61, 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, + 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPromoteGetRewardReq_proto_rawDescOnce sync.Once + file_AvatarPromoteGetRewardReq_proto_rawDescData = file_AvatarPromoteGetRewardReq_proto_rawDesc +) + +func file_AvatarPromoteGetRewardReq_proto_rawDescGZIP() []byte { + file_AvatarPromoteGetRewardReq_proto_rawDescOnce.Do(func() { + file_AvatarPromoteGetRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPromoteGetRewardReq_proto_rawDescData) + }) + return file_AvatarPromoteGetRewardReq_proto_rawDescData +} + +var file_AvatarPromoteGetRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarPromoteGetRewardReq_proto_goTypes = []interface{}{ + (*AvatarPromoteGetRewardReq)(nil), // 0: AvatarPromoteGetRewardReq +} +var file_AvatarPromoteGetRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarPromoteGetRewardReq_proto_init() } +func file_AvatarPromoteGetRewardReq_proto_init() { + if File_AvatarPromoteGetRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarPromoteGetRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPromoteGetRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPromoteGetRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPromoteGetRewardReq_proto_goTypes, + DependencyIndexes: file_AvatarPromoteGetRewardReq_proto_depIdxs, + MessageInfos: file_AvatarPromoteGetRewardReq_proto_msgTypes, + }.Build() + File_AvatarPromoteGetRewardReq_proto = out.File + file_AvatarPromoteGetRewardReq_proto_rawDesc = nil + file_AvatarPromoteGetRewardReq_proto_goTypes = nil + file_AvatarPromoteGetRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.proto b/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.proto new file mode 100644 index 00000000..a3cc0b60 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteGetRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1696 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarPromoteGetRewardReq { + uint64 avatar_guid = 7; + uint32 promote_level = 12; +} diff --git a/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.pb.go b/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.pb.go new file mode 100644 index 00000000..a6b5cc7a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPromoteGetRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1683 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarPromoteGetRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + RewardId uint32 `protobuf:"varint,15,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + PromoteLevel uint32 `protobuf:"varint,12,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` +} + +func (x *AvatarPromoteGetRewardRsp) Reset() { + *x = AvatarPromoteGetRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPromoteGetRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPromoteGetRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPromoteGetRewardRsp) ProtoMessage() {} + +func (x *AvatarPromoteGetRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPromoteGetRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPromoteGetRewardRsp.ProtoReflect.Descriptor instead. +func (*AvatarPromoteGetRewardRsp) Descriptor() ([]byte, []int) { + return file_AvatarPromoteGetRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPromoteGetRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarPromoteGetRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *AvatarPromoteGetRewardRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarPromoteGetRewardRsp) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +var File_AvatarPromoteGetRewardRsp_proto protoreflect.FileDescriptor + +var file_AvatarPromoteGetRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPromoteGetRewardRsp_proto_rawDescOnce sync.Once + file_AvatarPromoteGetRewardRsp_proto_rawDescData = file_AvatarPromoteGetRewardRsp_proto_rawDesc +) + +func file_AvatarPromoteGetRewardRsp_proto_rawDescGZIP() []byte { + file_AvatarPromoteGetRewardRsp_proto_rawDescOnce.Do(func() { + file_AvatarPromoteGetRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPromoteGetRewardRsp_proto_rawDescData) + }) + return file_AvatarPromoteGetRewardRsp_proto_rawDescData +} + +var file_AvatarPromoteGetRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarPromoteGetRewardRsp_proto_goTypes = []interface{}{ + (*AvatarPromoteGetRewardRsp)(nil), // 0: AvatarPromoteGetRewardRsp +} +var file_AvatarPromoteGetRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarPromoteGetRewardRsp_proto_init() } +func file_AvatarPromoteGetRewardRsp_proto_init() { + if File_AvatarPromoteGetRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarPromoteGetRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPromoteGetRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPromoteGetRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPromoteGetRewardRsp_proto_goTypes, + DependencyIndexes: file_AvatarPromoteGetRewardRsp_proto_depIdxs, + MessageInfos: file_AvatarPromoteGetRewardRsp_proto_msgTypes, + }.Build() + File_AvatarPromoteGetRewardRsp_proto = out.File + file_AvatarPromoteGetRewardRsp_proto_rawDesc = nil + file_AvatarPromoteGetRewardRsp_proto_goTypes = nil + file_AvatarPromoteGetRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.proto b/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.proto new file mode 100644 index 00000000..463dd494 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteGetRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1683 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarPromoteGetRewardRsp { + int32 retcode = 10; + uint32 reward_id = 15; + uint64 avatar_guid = 11; + uint32 promote_level = 12; +} diff --git a/gate-hk4e-api/proto/AvatarPromoteReq.pb.go b/gate-hk4e-api/proto/AvatarPromoteReq.pb.go new file mode 100644 index 00000000..5093a103 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPromoteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1664 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarPromoteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint64 `protobuf:"varint,5,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *AvatarPromoteReq) Reset() { + *x = AvatarPromoteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPromoteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPromoteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPromoteReq) ProtoMessage() {} + +func (x *AvatarPromoteReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPromoteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPromoteReq.ProtoReflect.Descriptor instead. +func (*AvatarPromoteReq) Descriptor() ([]byte, []int) { + return file_AvatarPromoteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPromoteReq) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_AvatarPromoteReq_proto protoreflect.FileDescriptor + +var file_AvatarPromoteReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPromoteReq_proto_rawDescOnce sync.Once + file_AvatarPromoteReq_proto_rawDescData = file_AvatarPromoteReq_proto_rawDesc +) + +func file_AvatarPromoteReq_proto_rawDescGZIP() []byte { + file_AvatarPromoteReq_proto_rawDescOnce.Do(func() { + file_AvatarPromoteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPromoteReq_proto_rawDescData) + }) + return file_AvatarPromoteReq_proto_rawDescData +} + +var file_AvatarPromoteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarPromoteReq_proto_goTypes = []interface{}{ + (*AvatarPromoteReq)(nil), // 0: AvatarPromoteReq +} +var file_AvatarPromoteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarPromoteReq_proto_init() } +func file_AvatarPromoteReq_proto_init() { + if File_AvatarPromoteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarPromoteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPromoteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPromoteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPromoteReq_proto_goTypes, + DependencyIndexes: file_AvatarPromoteReq_proto_depIdxs, + MessageInfos: file_AvatarPromoteReq_proto_msgTypes, + }.Build() + File_AvatarPromoteReq_proto = out.File + file_AvatarPromoteReq_proto_rawDesc = nil + file_AvatarPromoteReq_proto_goTypes = nil + file_AvatarPromoteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPromoteReq.proto b/gate-hk4e-api/proto/AvatarPromoteReq.proto new file mode 100644 index 00000000..fc0ce3a9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1664 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarPromoteReq { + uint64 guid = 5; +} diff --git a/gate-hk4e-api/proto/AvatarPromoteRsp.pb.go b/gate-hk4e-api/proto/AvatarPromoteRsp.pb.go new file mode 100644 index 00000000..5c7bfab2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteRsp.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPromoteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1639 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarPromoteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint64 `protobuf:"varint,11,opt,name=guid,proto3" json:"guid,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarPromoteRsp) Reset() { + *x = AvatarPromoteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPromoteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPromoteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPromoteRsp) ProtoMessage() {} + +func (x *AvatarPromoteRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPromoteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPromoteRsp.ProtoReflect.Descriptor instead. +func (*AvatarPromoteRsp) Descriptor() ([]byte, []int) { + return file_AvatarPromoteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPromoteRsp) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *AvatarPromoteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarPromoteRsp_proto protoreflect.FileDescriptor + +var file_AvatarPromoteRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPromoteRsp_proto_rawDescOnce sync.Once + file_AvatarPromoteRsp_proto_rawDescData = file_AvatarPromoteRsp_proto_rawDesc +) + +func file_AvatarPromoteRsp_proto_rawDescGZIP() []byte { + file_AvatarPromoteRsp_proto_rawDescOnce.Do(func() { + file_AvatarPromoteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPromoteRsp_proto_rawDescData) + }) + return file_AvatarPromoteRsp_proto_rawDescData +} + +var file_AvatarPromoteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarPromoteRsp_proto_goTypes = []interface{}{ + (*AvatarPromoteRsp)(nil), // 0: AvatarPromoteRsp +} +var file_AvatarPromoteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarPromoteRsp_proto_init() } +func file_AvatarPromoteRsp_proto_init() { + if File_AvatarPromoteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarPromoteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPromoteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPromoteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPromoteRsp_proto_goTypes, + DependencyIndexes: file_AvatarPromoteRsp_proto_depIdxs, + MessageInfos: file_AvatarPromoteRsp_proto_msgTypes, + }.Build() + File_AvatarPromoteRsp_proto = out.File + file_AvatarPromoteRsp_proto_rawDesc = nil + file_AvatarPromoteRsp_proto_goTypes = nil + file_AvatarPromoteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPromoteRsp.proto b/gate-hk4e-api/proto/AvatarPromoteRsp.proto new file mode 100644 index 00000000..76b956ff --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPromoteRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1639 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarPromoteRsp { + uint64 guid = 11; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.pb.go b/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.pb.go new file mode 100644 index 00000000..fba580bc --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPropChangeReasonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1273 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarPropChangeReasonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OldValue float32 `protobuf:"fixed32,11,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` + Reason PropChangeReason `protobuf:"varint,5,opt,name=reason,proto3,enum=PropChangeReason" json:"reason,omitempty"` + PropType uint32 `protobuf:"varint,1,opt,name=prop_type,json=propType,proto3" json:"prop_type,omitempty"` + AvatarGuid uint64 `protobuf:"varint,8,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + CurValue float32 `protobuf:"fixed32,15,opt,name=cur_value,json=curValue,proto3" json:"cur_value,omitempty"` +} + +func (x *AvatarPropChangeReasonNotify) Reset() { + *x = AvatarPropChangeReasonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPropChangeReasonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPropChangeReasonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPropChangeReasonNotify) ProtoMessage() {} + +func (x *AvatarPropChangeReasonNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPropChangeReasonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPropChangeReasonNotify.ProtoReflect.Descriptor instead. +func (*AvatarPropChangeReasonNotify) Descriptor() ([]byte, []int) { + return file_AvatarPropChangeReasonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPropChangeReasonNotify) GetOldValue() float32 { + if x != nil { + return x.OldValue + } + return 0 +} + +func (x *AvatarPropChangeReasonNotify) GetReason() PropChangeReason { + if x != nil { + return x.Reason + } + return PropChangeReason_PROP_CHANGE_REASON_NONE +} + +func (x *AvatarPropChangeReasonNotify) GetPropType() uint32 { + if x != nil { + return x.PropType + } + return 0 +} + +func (x *AvatarPropChangeReasonNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarPropChangeReasonNotify) GetCurValue() float32 { + if x != nil { + return x.CurValue + } + return 0 +} + +var File_AvatarPropChangeReasonNotify_proto protoreflect.FileDescriptor + +var file_AvatarPropChangeReasonNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01, 0x0a, + 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPropChangeReasonNotify_proto_rawDescOnce sync.Once + file_AvatarPropChangeReasonNotify_proto_rawDescData = file_AvatarPropChangeReasonNotify_proto_rawDesc +) + +func file_AvatarPropChangeReasonNotify_proto_rawDescGZIP() []byte { + file_AvatarPropChangeReasonNotify_proto_rawDescOnce.Do(func() { + file_AvatarPropChangeReasonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPropChangeReasonNotify_proto_rawDescData) + }) + return file_AvatarPropChangeReasonNotify_proto_rawDescData +} + +var file_AvatarPropChangeReasonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarPropChangeReasonNotify_proto_goTypes = []interface{}{ + (*AvatarPropChangeReasonNotify)(nil), // 0: AvatarPropChangeReasonNotify + (PropChangeReason)(0), // 1: PropChangeReason +} +var file_AvatarPropChangeReasonNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarPropChangeReasonNotify.reason:type_name -> PropChangeReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarPropChangeReasonNotify_proto_init() } +func file_AvatarPropChangeReasonNotify_proto_init() { + if File_AvatarPropChangeReasonNotify_proto != nil { + return + } + file_PropChangeReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarPropChangeReasonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPropChangeReasonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPropChangeReasonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPropChangeReasonNotify_proto_goTypes, + DependencyIndexes: file_AvatarPropChangeReasonNotify_proto_depIdxs, + MessageInfos: file_AvatarPropChangeReasonNotify_proto_msgTypes, + }.Build() + File_AvatarPropChangeReasonNotify_proto = out.File + file_AvatarPropChangeReasonNotify_proto_rawDesc = nil + file_AvatarPropChangeReasonNotify_proto_goTypes = nil + file_AvatarPropChangeReasonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.proto b/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.proto new file mode 100644 index 00000000..c7fb50b0 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPropChangeReasonNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropChangeReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 1273 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarPropChangeReasonNotify { + float old_value = 11; + PropChangeReason reason = 5; + uint32 prop_type = 1; + uint64 avatar_guid = 8; + float cur_value = 15; +} diff --git a/gate-hk4e-api/proto/AvatarPropNotify.pb.go b/gate-hk4e-api/proto/AvatarPropNotify.pb.go new file mode 100644 index 00000000..75279703 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPropNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarPropNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1231 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarPropNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropMap map[uint32]int64 `protobuf:"bytes,14,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AvatarGuid uint64 `protobuf:"varint,15,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarPropNotify) Reset() { + *x = AvatarPropNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarPropNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarPropNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarPropNotify) ProtoMessage() {} + +func (x *AvatarPropNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarPropNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarPropNotify.ProtoReflect.Descriptor instead. +func (*AvatarPropNotify) Descriptor() ([]byte, []int) { + return file_AvatarPropNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarPropNotify) GetPropMap() map[uint32]int64 { + if x != nil { + return x.PropMap + } + return nil +} + +func (x *AvatarPropNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarPropNotify_proto protoreflect.FileDescriptor + +var file_AvatarPropNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x07, 0x70, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x1a, 0x3a, 0x0a, 0x0c, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarPropNotify_proto_rawDescOnce sync.Once + file_AvatarPropNotify_proto_rawDescData = file_AvatarPropNotify_proto_rawDesc +) + +func file_AvatarPropNotify_proto_rawDescGZIP() []byte { + file_AvatarPropNotify_proto_rawDescOnce.Do(func() { + file_AvatarPropNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarPropNotify_proto_rawDescData) + }) + return file_AvatarPropNotify_proto_rawDescData +} + +var file_AvatarPropNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarPropNotify_proto_goTypes = []interface{}{ + (*AvatarPropNotify)(nil), // 0: AvatarPropNotify + nil, // 1: AvatarPropNotify.PropMapEntry +} +var file_AvatarPropNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarPropNotify.prop_map:type_name -> AvatarPropNotify.PropMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarPropNotify_proto_init() } +func file_AvatarPropNotify_proto_init() { + if File_AvatarPropNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarPropNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarPropNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarPropNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarPropNotify_proto_goTypes, + DependencyIndexes: file_AvatarPropNotify_proto_depIdxs, + MessageInfos: file_AvatarPropNotify_proto_msgTypes, + }.Build() + File_AvatarPropNotify_proto = out.File + file_AvatarPropNotify_proto_rawDesc = nil + file_AvatarPropNotify_proto_goTypes = nil + file_AvatarPropNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarPropNotify.proto b/gate-hk4e-api/proto/AvatarPropNotify.proto new file mode 100644 index 00000000..455a5131 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarPropNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1231 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarPropNotify { + map prop_map = 14; + uint64 avatar_guid = 15; +} diff --git a/gate-hk4e-api/proto/AvatarSatiationData.pb.go b/gate-hk4e-api/proto/AvatarSatiationData.pb.go new file mode 100644 index 00000000..f17eae4b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSatiationData.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSatiationData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarSatiationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishTime float32 `protobuf:"fixed32,14,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + AvatarGuid uint64 `protobuf:"varint,13,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + PenaltyFinishTime float32 `protobuf:"fixed32,12,opt,name=penalty_finish_time,json=penaltyFinishTime,proto3" json:"penalty_finish_time,omitempty"` +} + +func (x *AvatarSatiationData) Reset() { + *x = AvatarSatiationData{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSatiationData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSatiationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSatiationData) ProtoMessage() {} + +func (x *AvatarSatiationData) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSatiationData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSatiationData.ProtoReflect.Descriptor instead. +func (*AvatarSatiationData) Descriptor() ([]byte, []int) { + return file_AvatarSatiationData_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSatiationData) GetFinishTime() float32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +func (x *AvatarSatiationData) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarSatiationData) GetPenaltyFinishTime() float32 { + if x != nil { + return x.PenaltyFinishTime + } + return 0 +} + +var File_AvatarSatiationData_proto protoreflect.FileDescriptor + +var file_AvatarSatiationData_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x13, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, + 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x11, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSatiationData_proto_rawDescOnce sync.Once + file_AvatarSatiationData_proto_rawDescData = file_AvatarSatiationData_proto_rawDesc +) + +func file_AvatarSatiationData_proto_rawDescGZIP() []byte { + file_AvatarSatiationData_proto_rawDescOnce.Do(func() { + file_AvatarSatiationData_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSatiationData_proto_rawDescData) + }) + return file_AvatarSatiationData_proto_rawDescData +} + +var file_AvatarSatiationData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSatiationData_proto_goTypes = []interface{}{ + (*AvatarSatiationData)(nil), // 0: AvatarSatiationData +} +var file_AvatarSatiationData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSatiationData_proto_init() } +func file_AvatarSatiationData_proto_init() { + if File_AvatarSatiationData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSatiationData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSatiationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSatiationData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSatiationData_proto_goTypes, + DependencyIndexes: file_AvatarSatiationData_proto_depIdxs, + MessageInfos: file_AvatarSatiationData_proto_msgTypes, + }.Build() + File_AvatarSatiationData_proto = out.File + file_AvatarSatiationData_proto_rawDesc = nil + file_AvatarSatiationData_proto_goTypes = nil + file_AvatarSatiationData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSatiationData.proto b/gate-hk4e-api/proto/AvatarSatiationData.proto new file mode 100644 index 00000000..80b63fb9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSatiationData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarSatiationData { + float finish_time = 14; + uint64 avatar_guid = 13; + float penalty_finish_time = 12; +} diff --git a/gate-hk4e-api/proto/AvatarSatiationDataNotify.pb.go b/gate-hk4e-api/proto/AvatarSatiationDataNotify.pb.go new file mode 100644 index 00000000..62219895 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSatiationDataNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSatiationDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1693 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSatiationDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SatiationDataList []*AvatarSatiationData `protobuf:"bytes,6,rep,name=satiation_data_list,json=satiationDataList,proto3" json:"satiation_data_list,omitempty"` +} + +func (x *AvatarSatiationDataNotify) Reset() { + *x = AvatarSatiationDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSatiationDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSatiationDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSatiationDataNotify) ProtoMessage() {} + +func (x *AvatarSatiationDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSatiationDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSatiationDataNotify.ProtoReflect.Descriptor instead. +func (*AvatarSatiationDataNotify) Descriptor() ([]byte, []int) { + return file_AvatarSatiationDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSatiationDataNotify) GetSatiationDataList() []*AvatarSatiationData { + if x != nil { + return x.SatiationDataList + } + return nil +} + +var File_AvatarSatiationDataNotify_proto protoreflect.FileDescriptor + +var file_AvatarSatiationDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x19, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x13, 0x73, 0x61, 0x74, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, + 0x61, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x11, 0x73, 0x61, + 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSatiationDataNotify_proto_rawDescOnce sync.Once + file_AvatarSatiationDataNotify_proto_rawDescData = file_AvatarSatiationDataNotify_proto_rawDesc +) + +func file_AvatarSatiationDataNotify_proto_rawDescGZIP() []byte { + file_AvatarSatiationDataNotify_proto_rawDescOnce.Do(func() { + file_AvatarSatiationDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSatiationDataNotify_proto_rawDescData) + }) + return file_AvatarSatiationDataNotify_proto_rawDescData +} + +var file_AvatarSatiationDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSatiationDataNotify_proto_goTypes = []interface{}{ + (*AvatarSatiationDataNotify)(nil), // 0: AvatarSatiationDataNotify + (*AvatarSatiationData)(nil), // 1: AvatarSatiationData +} +var file_AvatarSatiationDataNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarSatiationDataNotify.satiation_data_list:type_name -> AvatarSatiationData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_AvatarSatiationDataNotify_proto_init() } +func file_AvatarSatiationDataNotify_proto_init() { + if File_AvatarSatiationDataNotify_proto != nil { + return + } + file_AvatarSatiationData_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarSatiationDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSatiationDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSatiationDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSatiationDataNotify_proto_goTypes, + DependencyIndexes: file_AvatarSatiationDataNotify_proto_depIdxs, + MessageInfos: file_AvatarSatiationDataNotify_proto_msgTypes, + }.Build() + File_AvatarSatiationDataNotify_proto = out.File + file_AvatarSatiationDataNotify_proto_rawDesc = nil + file_AvatarSatiationDataNotify_proto_goTypes = nil + file_AvatarSatiationDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSatiationDataNotify.proto b/gate-hk4e-api/proto/AvatarSatiationDataNotify.proto new file mode 100644 index 00000000..ac59843f --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSatiationDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarSatiationData.proto"; + +option go_package = "./;proto"; + +// CmdId: 1693 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSatiationDataNotify { + repeated AvatarSatiationData satiation_data_list = 6; +} diff --git a/gate-hk4e-api/proto/AvatarSkillChangeNotify.pb.go b/gate-hk4e-api/proto/AvatarSkillChangeNotify.pb.go new file mode 100644 index 00000000..1efa919d --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillChangeNotify.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1097 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSkillChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurLevel uint32 `protobuf:"varint,11,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + AvatarGuid uint64 `protobuf:"varint,2,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + SkillDepotId uint32 `protobuf:"varint,13,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + OldLevel uint32 `protobuf:"varint,1,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + AvatarSkillId uint32 `protobuf:"varint,6,opt,name=avatar_skill_id,json=avatarSkillId,proto3" json:"avatar_skill_id,omitempty"` +} + +func (x *AvatarSkillChangeNotify) Reset() { + *x = AvatarSkillChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillChangeNotify) ProtoMessage() {} + +func (x *AvatarSkillChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillChangeNotify.ProtoReflect.Descriptor instead. +func (*AvatarSkillChangeNotify) Descriptor() ([]byte, []int) { + return file_AvatarSkillChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillChangeNotify) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *AvatarSkillChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarSkillChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AvatarSkillChangeNotify) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *AvatarSkillChangeNotify) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *AvatarSkillChangeNotify) GetAvatarSkillId() uint32 { + if x != nil { + return x.AvatarSkillId + } + return 0 +} + +var File_AvatarSkillChangeNotify_proto protoreflect.FileDescriptor + +var file_AvatarSkillChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xdf, 0x01, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, + 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x6f, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6f, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillChangeNotify_proto_rawDescOnce sync.Once + file_AvatarSkillChangeNotify_proto_rawDescData = file_AvatarSkillChangeNotify_proto_rawDesc +) + +func file_AvatarSkillChangeNotify_proto_rawDescGZIP() []byte { + file_AvatarSkillChangeNotify_proto_rawDescOnce.Do(func() { + file_AvatarSkillChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillChangeNotify_proto_rawDescData) + }) + return file_AvatarSkillChangeNotify_proto_rawDescData +} + +var file_AvatarSkillChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSkillChangeNotify_proto_goTypes = []interface{}{ + (*AvatarSkillChangeNotify)(nil), // 0: AvatarSkillChangeNotify +} +var file_AvatarSkillChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSkillChangeNotify_proto_init() } +func file_AvatarSkillChangeNotify_proto_init() { + if File_AvatarSkillChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillChangeNotify_proto_goTypes, + DependencyIndexes: file_AvatarSkillChangeNotify_proto_depIdxs, + MessageInfos: file_AvatarSkillChangeNotify_proto_msgTypes, + }.Build() + File_AvatarSkillChangeNotify_proto = out.File + file_AvatarSkillChangeNotify_proto_rawDesc = nil + file_AvatarSkillChangeNotify_proto_goTypes = nil + file_AvatarSkillChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillChangeNotify.proto b/gate-hk4e-api/proto/AvatarSkillChangeNotify.proto new file mode 100644 index 00000000..121fdce4 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillChangeNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1097 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSkillChangeNotify { + uint32 cur_level = 11; + uint64 avatar_guid = 2; + uint32 entity_id = 7; + uint32 skill_depot_id = 13; + uint32 old_level = 1; + uint32 avatar_skill_id = 6; +} diff --git a/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.pb.go b/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.pb.go new file mode 100644 index 00000000..cd33f3f3 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.pb.go @@ -0,0 +1,258 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillDepotChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1035 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSkillDepotChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillDepotId uint32 `protobuf:"varint,15,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + ProudSkillExtraLevelMap map[uint32]uint32 `protobuf:"bytes,14,rep,name=proud_skill_extra_level_map,json=proudSkillExtraLevelMap,proto3" json:"proud_skill_extra_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TalentIdList []uint32 `protobuf:"varint,9,rep,packed,name=talent_id_list,json=talentIdList,proto3" json:"talent_id_list,omitempty"` + ProudSkillList []uint32 `protobuf:"varint,4,rep,packed,name=proud_skill_list,json=proudSkillList,proto3" json:"proud_skill_list,omitempty"` + CoreProudSkillLevel uint32 `protobuf:"varint,2,opt,name=core_proud_skill_level,json=coreProudSkillLevel,proto3" json:"core_proud_skill_level,omitempty"` + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,12,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + SkillLevelMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=skill_level_map,json=skillLevelMap,proto3" json:"skill_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *AvatarSkillDepotChangeNotify) Reset() { + *x = AvatarSkillDepotChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillDepotChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillDepotChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillDepotChangeNotify) ProtoMessage() {} + +func (x *AvatarSkillDepotChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillDepotChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillDepotChangeNotify.ProtoReflect.Descriptor instead. +func (*AvatarSkillDepotChangeNotify) Descriptor() ([]byte, []int) { + return file_AvatarSkillDepotChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillDepotChangeNotify) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *AvatarSkillDepotChangeNotify) GetProudSkillExtraLevelMap() map[uint32]uint32 { + if x != nil { + return x.ProudSkillExtraLevelMap + } + return nil +} + +func (x *AvatarSkillDepotChangeNotify) GetTalentIdList() []uint32 { + if x != nil { + return x.TalentIdList + } + return nil +} + +func (x *AvatarSkillDepotChangeNotify) GetProudSkillList() []uint32 { + if x != nil { + return x.ProudSkillList + } + return nil +} + +func (x *AvatarSkillDepotChangeNotify) GetCoreProudSkillLevel() uint32 { + if x != nil { + return x.CoreProudSkillLevel + } + return 0 +} + +func (x *AvatarSkillDepotChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AvatarSkillDepotChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarSkillDepotChangeNotify) GetSkillLevelMap() map[uint32]uint32 { + if x != nil { + return x.SkillLevelMap + } + return nil +} + +var File_AvatarSkillDepotChangeNotify_proto protoreflect.FileDescriptor + +var file_AvatarSkillDepotChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, + 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, + 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x64, + 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x78, 0x0a, 0x1b, 0x70, + 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3a, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, + 0x70, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x70, 0x72, + 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x74, + 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x70, + 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x16, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, + 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x75, 0x64, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x6c, + 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, + 0x65, 0x70, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, + 0x61, 0x70, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, + 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, + 0x0a, 0x12, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillDepotChangeNotify_proto_rawDescOnce sync.Once + file_AvatarSkillDepotChangeNotify_proto_rawDescData = file_AvatarSkillDepotChangeNotify_proto_rawDesc +) + +func file_AvatarSkillDepotChangeNotify_proto_rawDescGZIP() []byte { + file_AvatarSkillDepotChangeNotify_proto_rawDescOnce.Do(func() { + file_AvatarSkillDepotChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillDepotChangeNotify_proto_rawDescData) + }) + return file_AvatarSkillDepotChangeNotify_proto_rawDescData +} + +var file_AvatarSkillDepotChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_AvatarSkillDepotChangeNotify_proto_goTypes = []interface{}{ + (*AvatarSkillDepotChangeNotify)(nil), // 0: AvatarSkillDepotChangeNotify + nil, // 1: AvatarSkillDepotChangeNotify.ProudSkillExtraLevelMapEntry + nil, // 2: AvatarSkillDepotChangeNotify.SkillLevelMapEntry +} +var file_AvatarSkillDepotChangeNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarSkillDepotChangeNotify.proud_skill_extra_level_map:type_name -> AvatarSkillDepotChangeNotify.ProudSkillExtraLevelMapEntry + 2, // 1: AvatarSkillDepotChangeNotify.skill_level_map:type_name -> AvatarSkillDepotChangeNotify.SkillLevelMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarSkillDepotChangeNotify_proto_init() } +func file_AvatarSkillDepotChangeNotify_proto_init() { + if File_AvatarSkillDepotChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillDepotChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillDepotChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillDepotChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillDepotChangeNotify_proto_goTypes, + DependencyIndexes: file_AvatarSkillDepotChangeNotify_proto_depIdxs, + MessageInfos: file_AvatarSkillDepotChangeNotify_proto_msgTypes, + }.Build() + File_AvatarSkillDepotChangeNotify_proto = out.File + file_AvatarSkillDepotChangeNotify_proto_rawDesc = nil + file_AvatarSkillDepotChangeNotify_proto_goTypes = nil + file_AvatarSkillDepotChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.proto b/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.proto new file mode 100644 index 00000000..31f0b471 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillDepotChangeNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1035 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSkillDepotChangeNotify { + uint32 skill_depot_id = 15; + map proud_skill_extra_level_map = 14; + repeated uint32 talent_id_list = 9; + repeated uint32 proud_skill_list = 4; + uint32 core_proud_skill_level = 2; + uint32 entity_id = 7; + uint64 avatar_guid = 12; + map skill_level_map = 3; +} diff --git a/gate-hk4e-api/proto/AvatarSkillInfo.pb.go b/gate-hk4e-api/proto/AvatarSkillInfo.pb.go new file mode 100644 index 00000000..70b2ccb2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillInfo.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarSkillInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PassCdTime uint32 `protobuf:"varint,1,opt,name=pass_cd_time,json=passCdTime,proto3" json:"pass_cd_time,omitempty"` + FullCdTimeList []uint32 `protobuf:"varint,2,rep,packed,name=full_cd_time_list,json=fullCdTimeList,proto3" json:"full_cd_time_list,omitempty"` + MaxChargeCount uint32 `protobuf:"varint,3,opt,name=max_charge_count,json=maxChargeCount,proto3" json:"max_charge_count,omitempty"` +} + +func (x *AvatarSkillInfo) Reset() { + *x = AvatarSkillInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillInfo) ProtoMessage() {} + +func (x *AvatarSkillInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillInfo.ProtoReflect.Descriptor instead. +func (*AvatarSkillInfo) Descriptor() ([]byte, []int) { + return file_AvatarSkillInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillInfo) GetPassCdTime() uint32 { + if x != nil { + return x.PassCdTime + } + return 0 +} + +func (x *AvatarSkillInfo) GetFullCdTimeList() []uint32 { + if x != nil { + return x.FullCdTimeList + } + return nil +} + +func (x *AvatarSkillInfo) GetMaxChargeCount() uint32 { + if x != nil { + return x.MaxChargeCount + } + return 0 +} + +var File_AvatarSkillInfo_proto protoreflect.FileDescriptor + +var file_AvatarSkillInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x70, + 0x61, 0x73, 0x73, 0x5f, 0x63, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x43, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, + 0x11, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x63, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x66, 0x75, 0x6c, 0x6c, 0x43, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, + 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillInfo_proto_rawDescOnce sync.Once + file_AvatarSkillInfo_proto_rawDescData = file_AvatarSkillInfo_proto_rawDesc +) + +func file_AvatarSkillInfo_proto_rawDescGZIP() []byte { + file_AvatarSkillInfo_proto_rawDescOnce.Do(func() { + file_AvatarSkillInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillInfo_proto_rawDescData) + }) + return file_AvatarSkillInfo_proto_rawDescData +} + +var file_AvatarSkillInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSkillInfo_proto_goTypes = []interface{}{ + (*AvatarSkillInfo)(nil), // 0: AvatarSkillInfo +} +var file_AvatarSkillInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSkillInfo_proto_init() } +func file_AvatarSkillInfo_proto_init() { + if File_AvatarSkillInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillInfo_proto_goTypes, + DependencyIndexes: file_AvatarSkillInfo_proto_depIdxs, + MessageInfos: file_AvatarSkillInfo_proto_msgTypes, + }.Build() + File_AvatarSkillInfo_proto = out.File + file_AvatarSkillInfo_proto_rawDesc = nil + file_AvatarSkillInfo_proto_goTypes = nil + file_AvatarSkillInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillInfo.proto b/gate-hk4e-api/proto/AvatarSkillInfo.proto new file mode 100644 index 00000000..bd95be3f --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarSkillInfo { + uint32 pass_cd_time = 1; + repeated uint32 full_cd_time_list = 2; + uint32 max_charge_count = 3; +} diff --git a/gate-hk4e-api/proto/AvatarSkillInfoNotify.pb.go b/gate-hk4e-api/proto/AvatarSkillInfoNotify.pb.go new file mode 100644 index 00000000..288d7b73 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillInfoNotify.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1090 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSkillInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillMap map[uint32]*AvatarSkillInfo `protobuf:"bytes,11,rep,name=skill_map,json=skillMap,proto3" json:"skill_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Guid uint64 `protobuf:"varint,4,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *AvatarSkillInfoNotify) Reset() { + *x = AvatarSkillInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillInfoNotify) ProtoMessage() {} + +func (x *AvatarSkillInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillInfoNotify.ProtoReflect.Descriptor instead. +func (*AvatarSkillInfoNotify) Descriptor() ([]byte, []int) { + return file_AvatarSkillInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillInfoNotify) GetSkillMap() map[uint32]*AvatarSkillInfo { + if x != nil { + return x.SkillMap + } + return nil +} + +func (x *AvatarSkillInfoNotify) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_AvatarSkillInfoNotify_proto protoreflect.FileDescriptor + +var file_AvatarSkillInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, + 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x41, + 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, + 0x70, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x1a, 0x4d, 0x0a, 0x0d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillInfoNotify_proto_rawDescOnce sync.Once + file_AvatarSkillInfoNotify_proto_rawDescData = file_AvatarSkillInfoNotify_proto_rawDesc +) + +func file_AvatarSkillInfoNotify_proto_rawDescGZIP() []byte { + file_AvatarSkillInfoNotify_proto_rawDescOnce.Do(func() { + file_AvatarSkillInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillInfoNotify_proto_rawDescData) + }) + return file_AvatarSkillInfoNotify_proto_rawDescData +} + +var file_AvatarSkillInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarSkillInfoNotify_proto_goTypes = []interface{}{ + (*AvatarSkillInfoNotify)(nil), // 0: AvatarSkillInfoNotify + nil, // 1: AvatarSkillInfoNotify.SkillMapEntry + (*AvatarSkillInfo)(nil), // 2: AvatarSkillInfo +} +var file_AvatarSkillInfoNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarSkillInfoNotify.skill_map:type_name -> AvatarSkillInfoNotify.SkillMapEntry + 2, // 1: AvatarSkillInfoNotify.SkillMapEntry.value:type_name -> AvatarSkillInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarSkillInfoNotify_proto_init() } +func file_AvatarSkillInfoNotify_proto_init() { + if File_AvatarSkillInfoNotify_proto != nil { + return + } + file_AvatarSkillInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarSkillInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillInfoNotify_proto_goTypes, + DependencyIndexes: file_AvatarSkillInfoNotify_proto_depIdxs, + MessageInfos: file_AvatarSkillInfoNotify_proto_msgTypes, + }.Build() + File_AvatarSkillInfoNotify_proto = out.File + file_AvatarSkillInfoNotify_proto_rawDesc = nil + file_AvatarSkillInfoNotify_proto_goTypes = nil + file_AvatarSkillInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillInfoNotify.proto b/gate-hk4e-api/proto/AvatarSkillInfoNotify.proto new file mode 100644 index 00000000..34fd69e3 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarSkillInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1090 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSkillInfoNotify { + map skill_map = 11; + uint64 guid = 4; +} diff --git a/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.pb.go b/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.pb.go new file mode 100644 index 00000000..165fbd38 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillMaxChargeCountNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1003 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSkillMaxChargeCountNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillId uint32 `protobuf:"varint,6,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + MaxChargeCount uint32 `protobuf:"varint,11,opt,name=max_charge_count,json=maxChargeCount,proto3" json:"max_charge_count,omitempty"` + AvatarGuid uint64 `protobuf:"varint,7,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarSkillMaxChargeCountNotify) Reset() { + *x = AvatarSkillMaxChargeCountNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillMaxChargeCountNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillMaxChargeCountNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillMaxChargeCountNotify) ProtoMessage() {} + +func (x *AvatarSkillMaxChargeCountNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillMaxChargeCountNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillMaxChargeCountNotify.ProtoReflect.Descriptor instead. +func (*AvatarSkillMaxChargeCountNotify) Descriptor() ([]byte, []int) { + return file_AvatarSkillMaxChargeCountNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillMaxChargeCountNotify) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *AvatarSkillMaxChargeCountNotify) GetMaxChargeCount() uint32 { + if x != nil { + return x.MaxChargeCount + } + return 0 +} + +func (x *AvatarSkillMaxChargeCountNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarSkillMaxChargeCountNotify_proto protoreflect.FileDescriptor + +var file_AvatarSkillMaxChargeCountNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x78, + 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x1f, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x78, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x68, + 0x61, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillMaxChargeCountNotify_proto_rawDescOnce sync.Once + file_AvatarSkillMaxChargeCountNotify_proto_rawDescData = file_AvatarSkillMaxChargeCountNotify_proto_rawDesc +) + +func file_AvatarSkillMaxChargeCountNotify_proto_rawDescGZIP() []byte { + file_AvatarSkillMaxChargeCountNotify_proto_rawDescOnce.Do(func() { + file_AvatarSkillMaxChargeCountNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillMaxChargeCountNotify_proto_rawDescData) + }) + return file_AvatarSkillMaxChargeCountNotify_proto_rawDescData +} + +var file_AvatarSkillMaxChargeCountNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSkillMaxChargeCountNotify_proto_goTypes = []interface{}{ + (*AvatarSkillMaxChargeCountNotify)(nil), // 0: AvatarSkillMaxChargeCountNotify +} +var file_AvatarSkillMaxChargeCountNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSkillMaxChargeCountNotify_proto_init() } +func file_AvatarSkillMaxChargeCountNotify_proto_init() { + if File_AvatarSkillMaxChargeCountNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillMaxChargeCountNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillMaxChargeCountNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillMaxChargeCountNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillMaxChargeCountNotify_proto_goTypes, + DependencyIndexes: file_AvatarSkillMaxChargeCountNotify_proto_depIdxs, + MessageInfos: file_AvatarSkillMaxChargeCountNotify_proto_msgTypes, + }.Build() + File_AvatarSkillMaxChargeCountNotify_proto = out.File + file_AvatarSkillMaxChargeCountNotify_proto_rawDesc = nil + file_AvatarSkillMaxChargeCountNotify_proto_goTypes = nil + file_AvatarSkillMaxChargeCountNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.proto b/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.proto new file mode 100644 index 00000000..92f83a01 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillMaxChargeCountNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1003 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSkillMaxChargeCountNotify { + uint32 skill_id = 6; + uint32 max_charge_count = 11; + uint64 avatar_guid = 7; +} diff --git a/gate-hk4e-api/proto/AvatarSkillUpgradeReq.pb.go b/gate-hk4e-api/proto/AvatarSkillUpgradeReq.pb.go new file mode 100644 index 00000000..8dd86f28 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillUpgradeReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillUpgradeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1075 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarSkillUpgradeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,7,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + OldLevel uint32 `protobuf:"varint,3,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + AvatarSkillId uint32 `protobuf:"varint,4,opt,name=avatar_skill_id,json=avatarSkillId,proto3" json:"avatar_skill_id,omitempty"` +} + +func (x *AvatarSkillUpgradeReq) Reset() { + *x = AvatarSkillUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillUpgradeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillUpgradeReq) ProtoMessage() {} + +func (x *AvatarSkillUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillUpgradeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillUpgradeReq.ProtoReflect.Descriptor instead. +func (*AvatarSkillUpgradeReq) Descriptor() ([]byte, []int) { + return file_AvatarSkillUpgradeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillUpgradeReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarSkillUpgradeReq) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *AvatarSkillUpgradeReq) GetAvatarSkillId() uint32 { + if x != nil { + return x.AvatarSkillId + } + return 0 +} + +var File_AvatarSkillUpgradeReq_proto protoreflect.FileDescriptor + +var file_AvatarSkillUpgradeReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, + 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillUpgradeReq_proto_rawDescOnce sync.Once + file_AvatarSkillUpgradeReq_proto_rawDescData = file_AvatarSkillUpgradeReq_proto_rawDesc +) + +func file_AvatarSkillUpgradeReq_proto_rawDescGZIP() []byte { + file_AvatarSkillUpgradeReq_proto_rawDescOnce.Do(func() { + file_AvatarSkillUpgradeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillUpgradeReq_proto_rawDescData) + }) + return file_AvatarSkillUpgradeReq_proto_rawDescData +} + +var file_AvatarSkillUpgradeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSkillUpgradeReq_proto_goTypes = []interface{}{ + (*AvatarSkillUpgradeReq)(nil), // 0: AvatarSkillUpgradeReq +} +var file_AvatarSkillUpgradeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSkillUpgradeReq_proto_init() } +func file_AvatarSkillUpgradeReq_proto_init() { + if File_AvatarSkillUpgradeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillUpgradeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillUpgradeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillUpgradeReq_proto_goTypes, + DependencyIndexes: file_AvatarSkillUpgradeReq_proto_depIdxs, + MessageInfos: file_AvatarSkillUpgradeReq_proto_msgTypes, + }.Build() + File_AvatarSkillUpgradeReq_proto = out.File + file_AvatarSkillUpgradeReq_proto_rawDesc = nil + file_AvatarSkillUpgradeReq_proto_goTypes = nil + file_AvatarSkillUpgradeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillUpgradeReq.proto b/gate-hk4e-api/proto/AvatarSkillUpgradeReq.proto new file mode 100644 index 00000000..dc5446c2 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillUpgradeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1075 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarSkillUpgradeReq { + uint64 avatar_guid = 7; + uint32 old_level = 3; + uint32 avatar_skill_id = 4; +} diff --git a/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.pb.go b/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.pb.go new file mode 100644 index 00000000..3972605a --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarSkillUpgradeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1048 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarSkillUpgradeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + CurLevel uint32 `protobuf:"varint,14,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + AvatarSkillId uint32 `protobuf:"varint,9,opt,name=avatar_skill_id,json=avatarSkillId,proto3" json:"avatar_skill_id,omitempty"` + OldLevel uint32 `protobuf:"varint,3,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarSkillUpgradeRsp) Reset() { + *x = AvatarSkillUpgradeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarSkillUpgradeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarSkillUpgradeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarSkillUpgradeRsp) ProtoMessage() {} + +func (x *AvatarSkillUpgradeRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarSkillUpgradeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarSkillUpgradeRsp.ProtoReflect.Descriptor instead. +func (*AvatarSkillUpgradeRsp) Descriptor() ([]byte, []int) { + return file_AvatarSkillUpgradeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarSkillUpgradeRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarSkillUpgradeRsp) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *AvatarSkillUpgradeRsp) GetAvatarSkillId() uint32 { + if x != nil { + return x.AvatarSkillId + } + return 0 +} + +func (x *AvatarSkillUpgradeRsp) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *AvatarSkillUpgradeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarSkillUpgradeRsp_proto protoreflect.FileDescriptor + +var file_AvatarSkillUpgradeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, + 0x0a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarSkillUpgradeRsp_proto_rawDescOnce sync.Once + file_AvatarSkillUpgradeRsp_proto_rawDescData = file_AvatarSkillUpgradeRsp_proto_rawDesc +) + +func file_AvatarSkillUpgradeRsp_proto_rawDescGZIP() []byte { + file_AvatarSkillUpgradeRsp_proto_rawDescOnce.Do(func() { + file_AvatarSkillUpgradeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarSkillUpgradeRsp_proto_rawDescData) + }) + return file_AvatarSkillUpgradeRsp_proto_rawDescData +} + +var file_AvatarSkillUpgradeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarSkillUpgradeRsp_proto_goTypes = []interface{}{ + (*AvatarSkillUpgradeRsp)(nil), // 0: AvatarSkillUpgradeRsp +} +var file_AvatarSkillUpgradeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarSkillUpgradeRsp_proto_init() } +func file_AvatarSkillUpgradeRsp_proto_init() { + if File_AvatarSkillUpgradeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarSkillUpgradeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarSkillUpgradeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarSkillUpgradeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarSkillUpgradeRsp_proto_goTypes, + DependencyIndexes: file_AvatarSkillUpgradeRsp_proto_depIdxs, + MessageInfos: file_AvatarSkillUpgradeRsp_proto_msgTypes, + }.Build() + File_AvatarSkillUpgradeRsp_proto = out.File + file_AvatarSkillUpgradeRsp_proto_rawDesc = nil + file_AvatarSkillUpgradeRsp_proto_goTypes = nil + file_AvatarSkillUpgradeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.proto b/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.proto new file mode 100644 index 00000000..42872821 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarSkillUpgradeRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1048 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarSkillUpgradeRsp { + uint64 avatar_guid = 11; + uint32 cur_level = 14; + uint32 avatar_skill_id = 9; + uint32 old_level = 3; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/AvatarTeam.pb.go b/gate-hk4e-api/proto/AvatarTeam.pb.go new file mode 100644 index 00000000..1c131e80 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeam.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarTeam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarTeam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuidList []uint64 `protobuf:"varint,7,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` + TeamName string `protobuf:"bytes,14,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` +} + +func (x *AvatarTeam) Reset() { + *x = AvatarTeam{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarTeam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarTeam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarTeam) ProtoMessage() {} + +func (x *AvatarTeam) ProtoReflect() protoreflect.Message { + mi := &file_AvatarTeam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarTeam.ProtoReflect.Descriptor instead. +func (*AvatarTeam) Descriptor() ([]byte, []int) { + return file_AvatarTeam_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarTeam) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +func (x *AvatarTeam) GetTeamName() string { + if x != nil { + return x.TeamName + } + return "" +} + +var File_AvatarTeam_proto protoreflect.FileDescriptor + +var file_AvatarTeam_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x0a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, + 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, + 0x61, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, + 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarTeam_proto_rawDescOnce sync.Once + file_AvatarTeam_proto_rawDescData = file_AvatarTeam_proto_rawDesc +) + +func file_AvatarTeam_proto_rawDescGZIP() []byte { + file_AvatarTeam_proto_rawDescOnce.Do(func() { + file_AvatarTeam_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarTeam_proto_rawDescData) + }) + return file_AvatarTeam_proto_rawDescData +} + +var file_AvatarTeam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarTeam_proto_goTypes = []interface{}{ + (*AvatarTeam)(nil), // 0: AvatarTeam +} +var file_AvatarTeam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarTeam_proto_init() } +func file_AvatarTeam_proto_init() { + if File_AvatarTeam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarTeam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarTeam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarTeam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarTeam_proto_goTypes, + DependencyIndexes: file_AvatarTeam_proto_depIdxs, + MessageInfos: file_AvatarTeam_proto_msgTypes, + }.Build() + File_AvatarTeam_proto = out.File + file_AvatarTeam_proto_rawDesc = nil + file_AvatarTeam_proto_goTypes = nil + file_AvatarTeam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarTeam.proto b/gate-hk4e-api/proto/AvatarTeam.proto new file mode 100644 index 00000000..db59d758 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeam.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarTeam { + repeated uint64 avatar_guid_list = 7; + string team_name = 14; +} diff --git a/gate-hk4e-api/proto/AvatarTeamResonanceInfo.pb.go b/gate-hk4e-api/proto/AvatarTeamResonanceInfo.pb.go new file mode 100644 index 00000000..79e3955e --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeamResonanceInfo.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarTeamResonanceInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AvatarTeamResonanceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddTeamResonanceIdList []uint32 `protobuf:"varint,5,rep,packed,name=add_team_resonance_id_list,json=addTeamResonanceIdList,proto3" json:"add_team_resonance_id_list,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,3,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + DelTeamResonanceIdList []uint32 `protobuf:"varint,14,rep,packed,name=del_team_resonance_id_list,json=delTeamResonanceIdList,proto3" json:"del_team_resonance_id_list,omitempty"` +} + +func (x *AvatarTeamResonanceInfo) Reset() { + *x = AvatarTeamResonanceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarTeamResonanceInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarTeamResonanceInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarTeamResonanceInfo) ProtoMessage() {} + +func (x *AvatarTeamResonanceInfo) ProtoReflect() protoreflect.Message { + mi := &file_AvatarTeamResonanceInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarTeamResonanceInfo.ProtoReflect.Descriptor instead. +func (*AvatarTeamResonanceInfo) Descriptor() ([]byte, []int) { + return file_AvatarTeamResonanceInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarTeamResonanceInfo) GetAddTeamResonanceIdList() []uint32 { + if x != nil { + return x.AddTeamResonanceIdList + } + return nil +} + +func (x *AvatarTeamResonanceInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AvatarTeamResonanceInfo) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarTeamResonanceInfo) GetDelTeamResonanceIdList() []uint32 { + if x != nil { + return x.DelTeamResonanceIdList + } + return nil +} + +var File_AvatarTeamResonanceInfo_proto protoreflect.FileDescriptor + +var file_AvatarTeamResonanceInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, + 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xcf, 0x01, 0x0a, 0x17, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x1a, 0x61, + 0x64, 0x64, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x16, 0x61, 0x64, 0x64, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, + 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x1a, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x65, 0x61, + 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x65, 0x6c, 0x54, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarTeamResonanceInfo_proto_rawDescOnce sync.Once + file_AvatarTeamResonanceInfo_proto_rawDescData = file_AvatarTeamResonanceInfo_proto_rawDesc +) + +func file_AvatarTeamResonanceInfo_proto_rawDescGZIP() []byte { + file_AvatarTeamResonanceInfo_proto_rawDescOnce.Do(func() { + file_AvatarTeamResonanceInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarTeamResonanceInfo_proto_rawDescData) + }) + return file_AvatarTeamResonanceInfo_proto_rawDescData +} + +var file_AvatarTeamResonanceInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarTeamResonanceInfo_proto_goTypes = []interface{}{ + (*AvatarTeamResonanceInfo)(nil), // 0: AvatarTeamResonanceInfo +} +var file_AvatarTeamResonanceInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarTeamResonanceInfo_proto_init() } +func file_AvatarTeamResonanceInfo_proto_init() { + if File_AvatarTeamResonanceInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarTeamResonanceInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarTeamResonanceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarTeamResonanceInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarTeamResonanceInfo_proto_goTypes, + DependencyIndexes: file_AvatarTeamResonanceInfo_proto_depIdxs, + MessageInfos: file_AvatarTeamResonanceInfo_proto_msgTypes, + }.Build() + File_AvatarTeamResonanceInfo_proto = out.File + file_AvatarTeamResonanceInfo_proto_rawDesc = nil + file_AvatarTeamResonanceInfo_proto_goTypes = nil + file_AvatarTeamResonanceInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarTeamResonanceInfo.proto b/gate-hk4e-api/proto/AvatarTeamResonanceInfo.proto new file mode 100644 index 00000000..d0edf8ac --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeamResonanceInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message AvatarTeamResonanceInfo { + repeated uint32 add_team_resonance_id_list = 5; + uint32 entity_id = 11; + uint64 avatar_guid = 3; + repeated uint32 del_team_resonance_id_list = 14; +} diff --git a/gate-hk4e-api/proto/AvatarTeamUpdateNotify.pb.go b/gate-hk4e-api/proto/AvatarTeamUpdateNotify.pb.go new file mode 100644 index 00000000..2b76b9bc --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeamUpdateNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarTeamUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1706 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarTeamUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarTeamMap map[uint32]*AvatarTeam `protobuf:"bytes,2,rep,name=avatar_team_map,json=avatarTeamMap,proto3" json:"avatar_team_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TempAvatarGuidList []uint64 `protobuf:"varint,13,rep,packed,name=temp_avatar_guid_list,json=tempAvatarGuidList,proto3" json:"temp_avatar_guid_list,omitempty"` +} + +func (x *AvatarTeamUpdateNotify) Reset() { + *x = AvatarTeamUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarTeamUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarTeamUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarTeamUpdateNotify) ProtoMessage() {} + +func (x *AvatarTeamUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarTeamUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarTeamUpdateNotify.ProtoReflect.Descriptor instead. +func (*AvatarTeamUpdateNotify) Descriptor() ([]byte, []int) { + return file_AvatarTeamUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarTeamUpdateNotify) GetAvatarTeamMap() map[uint32]*AvatarTeam { + if x != nil { + return x.AvatarTeamMap + } + return nil +} + +func (x *AvatarTeamUpdateNotify) GetTempAvatarGuidList() []uint64 { + if x != nil { + return x.TempAvatarGuidList + } + return nil +} + +var File_AvatarTeamUpdateNotify_proto protoreflect.FileDescriptor + +var file_AvatarTeamUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xee, 0x01, 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, + 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0d, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x12, + 0x31, 0x0a, 0x15, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, + 0x74, 0x65, 0x6d, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x1a, 0x4d, 0x0a, 0x12, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarTeamUpdateNotify_proto_rawDescOnce sync.Once + file_AvatarTeamUpdateNotify_proto_rawDescData = file_AvatarTeamUpdateNotify_proto_rawDesc +) + +func file_AvatarTeamUpdateNotify_proto_rawDescGZIP() []byte { + file_AvatarTeamUpdateNotify_proto_rawDescOnce.Do(func() { + file_AvatarTeamUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarTeamUpdateNotify_proto_rawDescData) + }) + return file_AvatarTeamUpdateNotify_proto_rawDescData +} + +var file_AvatarTeamUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_AvatarTeamUpdateNotify_proto_goTypes = []interface{}{ + (*AvatarTeamUpdateNotify)(nil), // 0: AvatarTeamUpdateNotify + nil, // 1: AvatarTeamUpdateNotify.AvatarTeamMapEntry + (*AvatarTeam)(nil), // 2: AvatarTeam +} +var file_AvatarTeamUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: AvatarTeamUpdateNotify.avatar_team_map:type_name -> AvatarTeamUpdateNotify.AvatarTeamMapEntry + 2, // 1: AvatarTeamUpdateNotify.AvatarTeamMapEntry.value:type_name -> AvatarTeam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarTeamUpdateNotify_proto_init() } +func file_AvatarTeamUpdateNotify_proto_init() { + if File_AvatarTeamUpdateNotify_proto != nil { + return + } + file_AvatarTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_AvatarTeamUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarTeamUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarTeamUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarTeamUpdateNotify_proto_goTypes, + DependencyIndexes: file_AvatarTeamUpdateNotify_proto_depIdxs, + MessageInfos: file_AvatarTeamUpdateNotify_proto_msgTypes, + }.Build() + File_AvatarTeamUpdateNotify_proto = out.File + file_AvatarTeamUpdateNotify_proto_rawDesc = nil + file_AvatarTeamUpdateNotify_proto_goTypes = nil + file_AvatarTeamUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarTeamUpdateNotify.proto b/gate-hk4e-api/proto/AvatarTeamUpdateNotify.proto new file mode 100644 index 00000000..21c442b8 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarTeamUpdateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 1706 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarTeamUpdateNotify { + map avatar_team_map = 2; + repeated uint64 temp_avatar_guid_list = 13; +} diff --git a/gate-hk4e-api/proto/AvatarUnlockTalentNotify.pb.go b/gate-hk4e-api/proto/AvatarUnlockTalentNotify.pb.go new file mode 100644 index 00000000..838eefcb --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUnlockTalentNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarUnlockTalentNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1012 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarUnlockTalentNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,13,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + TalentId uint32 `protobuf:"varint,10,opt,name=talent_id,json=talentId,proto3" json:"talent_id,omitempty"` + SkillDepotId uint32 `protobuf:"varint,1,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` +} + +func (x *AvatarUnlockTalentNotify) Reset() { + *x = AvatarUnlockTalentNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarUnlockTalentNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarUnlockTalentNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarUnlockTalentNotify) ProtoMessage() {} + +func (x *AvatarUnlockTalentNotify) ProtoReflect() protoreflect.Message { + mi := &file_AvatarUnlockTalentNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarUnlockTalentNotify.ProtoReflect.Descriptor instead. +func (*AvatarUnlockTalentNotify) Descriptor() ([]byte, []int) { + return file_AvatarUnlockTalentNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarUnlockTalentNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *AvatarUnlockTalentNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarUnlockTalentNotify) GetTalentId() uint32 { + if x != nil { + return x.TalentId + } + return 0 +} + +func (x *AvatarUnlockTalentNotify) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +var File_AvatarUnlockTalentNotify_proto protoreflect.FileDescriptor + +var file_AvatarUnlockTalentNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, + 0x6c, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, + 0x6c, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_AvatarUnlockTalentNotify_proto_rawDescOnce sync.Once + file_AvatarUnlockTalentNotify_proto_rawDescData = file_AvatarUnlockTalentNotify_proto_rawDesc +) + +func file_AvatarUnlockTalentNotify_proto_rawDescGZIP() []byte { + file_AvatarUnlockTalentNotify_proto_rawDescOnce.Do(func() { + file_AvatarUnlockTalentNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarUnlockTalentNotify_proto_rawDescData) + }) + return file_AvatarUnlockTalentNotify_proto_rawDescData +} + +var file_AvatarUnlockTalentNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarUnlockTalentNotify_proto_goTypes = []interface{}{ + (*AvatarUnlockTalentNotify)(nil), // 0: AvatarUnlockTalentNotify +} +var file_AvatarUnlockTalentNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarUnlockTalentNotify_proto_init() } +func file_AvatarUnlockTalentNotify_proto_init() { + if File_AvatarUnlockTalentNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarUnlockTalentNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarUnlockTalentNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarUnlockTalentNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarUnlockTalentNotify_proto_goTypes, + DependencyIndexes: file_AvatarUnlockTalentNotify_proto_depIdxs, + MessageInfos: file_AvatarUnlockTalentNotify_proto_msgTypes, + }.Build() + File_AvatarUnlockTalentNotify_proto = out.File + file_AvatarUnlockTalentNotify_proto_rawDesc = nil + file_AvatarUnlockTalentNotify_proto_goTypes = nil + file_AvatarUnlockTalentNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarUnlockTalentNotify.proto b/gate-hk4e-api/proto/AvatarUnlockTalentNotify.proto new file mode 100644 index 00000000..753d730b --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUnlockTalentNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1012 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarUnlockTalentNotify { + uint32 entity_id = 14; + uint64 avatar_guid = 13; + uint32 talent_id = 10; + uint32 skill_depot_id = 1; +} diff --git a/gate-hk4e-api/proto/AvatarUpgradeReq.pb.go b/gate-hk4e-api/proto/AvatarUpgradeReq.pb.go new file mode 100644 index 00000000..652a47e9 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUpgradeReq.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarUpgradeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1770 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarUpgradeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,6,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` + ItemId uint32 `protobuf:"varint,5,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` +} + +func (x *AvatarUpgradeReq) Reset() { + *x = AvatarUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarUpgradeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarUpgradeReq) ProtoMessage() {} + +func (x *AvatarUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarUpgradeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarUpgradeReq.ProtoReflect.Descriptor instead. +func (*AvatarUpgradeReq) Descriptor() ([]byte, []int) { + return file_AvatarUpgradeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarUpgradeReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarUpgradeReq) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *AvatarUpgradeReq) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +var File_AvatarUpgradeReq_proto protoreflect.FileDescriptor + +var file_AvatarUpgradeReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarUpgradeReq_proto_rawDescOnce sync.Once + file_AvatarUpgradeReq_proto_rawDescData = file_AvatarUpgradeReq_proto_rawDesc +) + +func file_AvatarUpgradeReq_proto_rawDescGZIP() []byte { + file_AvatarUpgradeReq_proto_rawDescOnce.Do(func() { + file_AvatarUpgradeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarUpgradeReq_proto_rawDescData) + }) + return file_AvatarUpgradeReq_proto_rawDescData +} + +var file_AvatarUpgradeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarUpgradeReq_proto_goTypes = []interface{}{ + (*AvatarUpgradeReq)(nil), // 0: AvatarUpgradeReq +} +var file_AvatarUpgradeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarUpgradeReq_proto_init() } +func file_AvatarUpgradeReq_proto_init() { + if File_AvatarUpgradeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarUpgradeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarUpgradeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarUpgradeReq_proto_goTypes, + DependencyIndexes: file_AvatarUpgradeReq_proto_depIdxs, + MessageInfos: file_AvatarUpgradeReq_proto_msgTypes, + }.Build() + File_AvatarUpgradeReq_proto = out.File + file_AvatarUpgradeReq_proto_rawDesc = nil + file_AvatarUpgradeReq_proto_goTypes = nil + file_AvatarUpgradeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarUpgradeReq.proto b/gate-hk4e-api/proto/AvatarUpgradeReq.proto new file mode 100644 index 00000000..38d71a93 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUpgradeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1770 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarUpgradeReq { + uint64 avatar_guid = 6; + uint32 count = 2; + uint32 item_id = 5; +} diff --git a/gate-hk4e-api/proto/AvatarUpgradeRsp.pb.go b/gate-hk4e-api/proto/AvatarUpgradeRsp.pb.go new file mode 100644 index 00000000..454c0008 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUpgradeRsp.pb.go @@ -0,0 +1,230 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarUpgradeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1701 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarUpgradeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurLevel uint32 `protobuf:"varint,6,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + OldLevel uint32 `protobuf:"varint,13,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + OldFightPropMap map[uint32]float32 `protobuf:"bytes,10,rep,name=old_fight_prop_map,json=oldFightPropMap,proto3" json:"old_fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurFightPropMap map[uint32]float32 `protobuf:"bytes,4,rep,name=cur_fight_prop_map,json=curFightPropMap,proto3" json:"cur_fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + AvatarGuid uint64 `protobuf:"varint,15,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *AvatarUpgradeRsp) Reset() { + *x = AvatarUpgradeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarUpgradeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarUpgradeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarUpgradeRsp) ProtoMessage() {} + +func (x *AvatarUpgradeRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarUpgradeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarUpgradeRsp.ProtoReflect.Descriptor instead. +func (*AvatarUpgradeRsp) Descriptor() ([]byte, []int) { + return file_AvatarUpgradeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarUpgradeRsp) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *AvatarUpgradeRsp) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *AvatarUpgradeRsp) GetOldFightPropMap() map[uint32]float32 { + if x != nil { + return x.OldFightPropMap + } + return nil +} + +func (x *AvatarUpgradeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *AvatarUpgradeRsp) GetCurFightPropMap() map[uint32]float32 { + if x != nil { + return x.CurFightPropMap + } + return nil +} + +func (x *AvatarUpgradeRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_AvatarUpgradeRsp_proto protoreflect.FileDescriptor + +var file_AvatarUpgradeRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x03, 0x0a, 0x10, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, + 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, + 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x53, 0x0a, 0x12, 0x6f, 0x6c, 0x64, 0x5f, 0x66, + 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x4f, 0x6c, 0x64, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6f, 0x6c, 0x64, + 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x75, 0x72, 0x5f, 0x66, 0x69, + 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x43, 0x75, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, + 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x46, + 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x1a, 0x42, 0x0a, 0x14, + 0x4f, 0x6c, 0x64, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x42, 0x0a, 0x14, 0x43, 0x75, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarUpgradeRsp_proto_rawDescOnce sync.Once + file_AvatarUpgradeRsp_proto_rawDescData = file_AvatarUpgradeRsp_proto_rawDesc +) + +func file_AvatarUpgradeRsp_proto_rawDescGZIP() []byte { + file_AvatarUpgradeRsp_proto_rawDescOnce.Do(func() { + file_AvatarUpgradeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarUpgradeRsp_proto_rawDescData) + }) + return file_AvatarUpgradeRsp_proto_rawDescData +} + +var file_AvatarUpgradeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_AvatarUpgradeRsp_proto_goTypes = []interface{}{ + (*AvatarUpgradeRsp)(nil), // 0: AvatarUpgradeRsp + nil, // 1: AvatarUpgradeRsp.OldFightPropMapEntry + nil, // 2: AvatarUpgradeRsp.CurFightPropMapEntry +} +var file_AvatarUpgradeRsp_proto_depIdxs = []int32{ + 1, // 0: AvatarUpgradeRsp.old_fight_prop_map:type_name -> AvatarUpgradeRsp.OldFightPropMapEntry + 2, // 1: AvatarUpgradeRsp.cur_fight_prop_map:type_name -> AvatarUpgradeRsp.CurFightPropMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_AvatarUpgradeRsp_proto_init() } +func file_AvatarUpgradeRsp_proto_init() { + if File_AvatarUpgradeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarUpgradeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarUpgradeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarUpgradeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarUpgradeRsp_proto_goTypes, + DependencyIndexes: file_AvatarUpgradeRsp_proto_depIdxs, + MessageInfos: file_AvatarUpgradeRsp_proto_msgTypes, + }.Build() + File_AvatarUpgradeRsp_proto = out.File + file_AvatarUpgradeRsp_proto_rawDesc = nil + file_AvatarUpgradeRsp_proto_goTypes = nil + file_AvatarUpgradeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarUpgradeRsp.proto b/gate-hk4e-api/proto/AvatarUpgradeRsp.proto new file mode 100644 index 00000000..68a06856 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarUpgradeRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1701 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarUpgradeRsp { + uint32 cur_level = 6; + uint32 old_level = 13; + map old_fight_prop_map = 10; + int32 retcode = 1; + map cur_fight_prop_map = 4; + uint64 avatar_guid = 15; +} diff --git a/gate-hk4e-api/proto/AvatarWearFlycloakReq.pb.go b/gate-hk4e-api/proto/AvatarWearFlycloakReq.pb.go new file mode 100644 index 00000000..ec2af00c --- /dev/null +++ b/gate-hk4e-api/proto/AvatarWearFlycloakReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarWearFlycloakReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1737 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type AvatarWearFlycloakReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + FlycloakId uint32 `protobuf:"varint,13,opt,name=flycloak_id,json=flycloakId,proto3" json:"flycloak_id,omitempty"` +} + +func (x *AvatarWearFlycloakReq) Reset() { + *x = AvatarWearFlycloakReq{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarWearFlycloakReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarWearFlycloakReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarWearFlycloakReq) ProtoMessage() {} + +func (x *AvatarWearFlycloakReq) ProtoReflect() protoreflect.Message { + mi := &file_AvatarWearFlycloakReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarWearFlycloakReq.ProtoReflect.Descriptor instead. +func (*AvatarWearFlycloakReq) Descriptor() ([]byte, []int) { + return file_AvatarWearFlycloakReq_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarWearFlycloakReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarWearFlycloakReq) GetFlycloakId() uint32 { + if x != nil { + return x.FlycloakId + } + return 0 +} + +var File_AvatarWearFlycloakReq_proto protoreflect.FileDescriptor + +var file_AvatarWearFlycloakReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x57, 0x65, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, + 0x6c, 0x6f, 0x61, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, + 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x57, 0x65, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, 0x6c, + 0x6f, 0x61, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x79, 0x63, 0x6c, + 0x6f, 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x6c, + 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarWearFlycloakReq_proto_rawDescOnce sync.Once + file_AvatarWearFlycloakReq_proto_rawDescData = file_AvatarWearFlycloakReq_proto_rawDesc +) + +func file_AvatarWearFlycloakReq_proto_rawDescGZIP() []byte { + file_AvatarWearFlycloakReq_proto_rawDescOnce.Do(func() { + file_AvatarWearFlycloakReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarWearFlycloakReq_proto_rawDescData) + }) + return file_AvatarWearFlycloakReq_proto_rawDescData +} + +var file_AvatarWearFlycloakReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarWearFlycloakReq_proto_goTypes = []interface{}{ + (*AvatarWearFlycloakReq)(nil), // 0: AvatarWearFlycloakReq +} +var file_AvatarWearFlycloakReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarWearFlycloakReq_proto_init() } +func file_AvatarWearFlycloakReq_proto_init() { + if File_AvatarWearFlycloakReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarWearFlycloakReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarWearFlycloakReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarWearFlycloakReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarWearFlycloakReq_proto_goTypes, + DependencyIndexes: file_AvatarWearFlycloakReq_proto_depIdxs, + MessageInfos: file_AvatarWearFlycloakReq_proto_msgTypes, + }.Build() + File_AvatarWearFlycloakReq_proto = out.File + file_AvatarWearFlycloakReq_proto_rawDesc = nil + file_AvatarWearFlycloakReq_proto_goTypes = nil + file_AvatarWearFlycloakReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarWearFlycloakReq.proto b/gate-hk4e-api/proto/AvatarWearFlycloakReq.proto new file mode 100644 index 00000000..e38efe37 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarWearFlycloakReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1737 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message AvatarWearFlycloakReq { + uint64 avatar_guid = 11; + uint32 flycloak_id = 13; +} diff --git a/gate-hk4e-api/proto/AvatarWearFlycloakRsp.pb.go b/gate-hk4e-api/proto/AvatarWearFlycloakRsp.pb.go new file mode 100644 index 00000000..63434684 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarWearFlycloakRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: AvatarWearFlycloakRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1698 +// EnetChannelId: 0 +// EnetIsReliable: true +type AvatarWearFlycloakRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlycloakId uint32 `protobuf:"varint,13,opt,name=flycloak_id,json=flycloakId,proto3" json:"flycloak_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,7,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *AvatarWearFlycloakRsp) Reset() { + *x = AvatarWearFlycloakRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_AvatarWearFlycloakRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarWearFlycloakRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarWearFlycloakRsp) ProtoMessage() {} + +func (x *AvatarWearFlycloakRsp) ProtoReflect() protoreflect.Message { + mi := &file_AvatarWearFlycloakRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarWearFlycloakRsp.ProtoReflect.Descriptor instead. +func (*AvatarWearFlycloakRsp) Descriptor() ([]byte, []int) { + return file_AvatarWearFlycloakRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *AvatarWearFlycloakRsp) GetFlycloakId() uint32 { + if x != nil { + return x.FlycloakId + } + return 0 +} + +func (x *AvatarWearFlycloakRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *AvatarWearFlycloakRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_AvatarWearFlycloakRsp_proto protoreflect.FileDescriptor + +var file_AvatarWearFlycloakRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x57, 0x65, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, + 0x6c, 0x6f, 0x61, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, + 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x57, 0x65, 0x61, 0x72, 0x46, 0x6c, 0x79, 0x63, 0x6c, + 0x6f, 0x61, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, + 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x6c, 0x79, + 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_AvatarWearFlycloakRsp_proto_rawDescOnce sync.Once + file_AvatarWearFlycloakRsp_proto_rawDescData = file_AvatarWearFlycloakRsp_proto_rawDesc +) + +func file_AvatarWearFlycloakRsp_proto_rawDescGZIP() []byte { + file_AvatarWearFlycloakRsp_proto_rawDescOnce.Do(func() { + file_AvatarWearFlycloakRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_AvatarWearFlycloakRsp_proto_rawDescData) + }) + return file_AvatarWearFlycloakRsp_proto_rawDescData +} + +var file_AvatarWearFlycloakRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_AvatarWearFlycloakRsp_proto_goTypes = []interface{}{ + (*AvatarWearFlycloakRsp)(nil), // 0: AvatarWearFlycloakRsp +} +var file_AvatarWearFlycloakRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_AvatarWearFlycloakRsp_proto_init() } +func file_AvatarWearFlycloakRsp_proto_init() { + if File_AvatarWearFlycloakRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_AvatarWearFlycloakRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarWearFlycloakRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_AvatarWearFlycloakRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_AvatarWearFlycloakRsp_proto_goTypes, + DependencyIndexes: file_AvatarWearFlycloakRsp_proto_depIdxs, + MessageInfos: file_AvatarWearFlycloakRsp_proto_msgTypes, + }.Build() + File_AvatarWearFlycloakRsp_proto = out.File + file_AvatarWearFlycloakRsp_proto_rawDesc = nil + file_AvatarWearFlycloakRsp_proto_goTypes = nil + file_AvatarWearFlycloakRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/AvatarWearFlycloakRsp.proto b/gate-hk4e-api/proto/AvatarWearFlycloakRsp.proto new file mode 100644 index 00000000..c14ce7e6 --- /dev/null +++ b/gate-hk4e-api/proto/AvatarWearFlycloakRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1698 +// EnetChannelId: 0 +// EnetIsReliable: true +message AvatarWearFlycloakRsp { + uint32 flycloak_id = 13; + uint64 avatar_guid = 7; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/BackMyWorldReq.pb.go b/gate-hk4e-api/proto/BackMyWorldReq.pb.go new file mode 100644 index 00000000..0e12567c --- /dev/null +++ b/gate-hk4e-api/proto/BackMyWorldReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BackMyWorldReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 286 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BackMyWorldReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BackMyWorldReq) Reset() { + *x = BackMyWorldReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BackMyWorldReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackMyWorldReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackMyWorldReq) ProtoMessage() {} + +func (x *BackMyWorldReq) ProtoReflect() protoreflect.Message { + mi := &file_BackMyWorldReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackMyWorldReq.ProtoReflect.Descriptor instead. +func (*BackMyWorldReq) Descriptor() ([]byte, []int) { + return file_BackMyWorldReq_proto_rawDescGZIP(), []int{0} +} + +var File_BackMyWorldReq_proto protoreflect.FileDescriptor + +var file_BackMyWorldReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x42, 0x61, 0x63, 0x6b, 0x4d, 0x79, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x4d, 0x79, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BackMyWorldReq_proto_rawDescOnce sync.Once + file_BackMyWorldReq_proto_rawDescData = file_BackMyWorldReq_proto_rawDesc +) + +func file_BackMyWorldReq_proto_rawDescGZIP() []byte { + file_BackMyWorldReq_proto_rawDescOnce.Do(func() { + file_BackMyWorldReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BackMyWorldReq_proto_rawDescData) + }) + return file_BackMyWorldReq_proto_rawDescData +} + +var file_BackMyWorldReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BackMyWorldReq_proto_goTypes = []interface{}{ + (*BackMyWorldReq)(nil), // 0: BackMyWorldReq +} +var file_BackMyWorldReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BackMyWorldReq_proto_init() } +func file_BackMyWorldReq_proto_init() { + if File_BackMyWorldReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BackMyWorldReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackMyWorldReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BackMyWorldReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BackMyWorldReq_proto_goTypes, + DependencyIndexes: file_BackMyWorldReq_proto_depIdxs, + MessageInfos: file_BackMyWorldReq_proto_msgTypes, + }.Build() + File_BackMyWorldReq_proto = out.File + file_BackMyWorldReq_proto_rawDesc = nil + file_BackMyWorldReq_proto_goTypes = nil + file_BackMyWorldReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BackMyWorldReq.proto b/gate-hk4e-api/proto/BackMyWorldReq.proto new file mode 100644 index 00000000..93163418 --- /dev/null +++ b/gate-hk4e-api/proto/BackMyWorldReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 286 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BackMyWorldReq {} diff --git a/gate-hk4e-api/proto/BackMyWorldRsp.pb.go b/gate-hk4e-api/proto/BackMyWorldRsp.pb.go new file mode 100644 index 00000000..94e3692d --- /dev/null +++ b/gate-hk4e-api/proto/BackMyWorldRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BackMyWorldRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 201 +// EnetChannelId: 0 +// EnetIsReliable: true +type BackMyWorldRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *BackMyWorldRsp) Reset() { + *x = BackMyWorldRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BackMyWorldRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackMyWorldRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackMyWorldRsp) ProtoMessage() {} + +func (x *BackMyWorldRsp) ProtoReflect() protoreflect.Message { + mi := &file_BackMyWorldRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackMyWorldRsp.ProtoReflect.Descriptor instead. +func (*BackMyWorldRsp) Descriptor() ([]byte, []int) { + return file_BackMyWorldRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BackMyWorldRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_BackMyWorldRsp_proto protoreflect.FileDescriptor + +var file_BackMyWorldRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x42, 0x61, 0x63, 0x6b, 0x4d, 0x79, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x4d, 0x79, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BackMyWorldRsp_proto_rawDescOnce sync.Once + file_BackMyWorldRsp_proto_rawDescData = file_BackMyWorldRsp_proto_rawDesc +) + +func file_BackMyWorldRsp_proto_rawDescGZIP() []byte { + file_BackMyWorldRsp_proto_rawDescOnce.Do(func() { + file_BackMyWorldRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BackMyWorldRsp_proto_rawDescData) + }) + return file_BackMyWorldRsp_proto_rawDescData +} + +var file_BackMyWorldRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BackMyWorldRsp_proto_goTypes = []interface{}{ + (*BackMyWorldRsp)(nil), // 0: BackMyWorldRsp +} +var file_BackMyWorldRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BackMyWorldRsp_proto_init() } +func file_BackMyWorldRsp_proto_init() { + if File_BackMyWorldRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BackMyWorldRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackMyWorldRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BackMyWorldRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BackMyWorldRsp_proto_goTypes, + DependencyIndexes: file_BackMyWorldRsp_proto_depIdxs, + MessageInfos: file_BackMyWorldRsp_proto_msgTypes, + }.Build() + File_BackMyWorldRsp_proto = out.File + file_BackMyWorldRsp_proto_rawDesc = nil + file_BackMyWorldRsp_proto_goTypes = nil + file_BackMyWorldRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BackMyWorldRsp.proto b/gate-hk4e-api/proto/BackMyWorldRsp.proto new file mode 100644 index 00000000..82666b22 --- /dev/null +++ b/gate-hk4e-api/proto/BackMyWorldRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 201 +// EnetChannelId: 0 +// EnetIsReliable: true +message BackMyWorldRsp { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/BalloonGalleryInfo.pb.go b/gate-hk4e-api/proto/BalloonGalleryInfo.pb.go new file mode 100644 index 00000000..7b7b4fc5 --- /dev/null +++ b/gate-hk4e-api/proto/BalloonGalleryInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BalloonGalleryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BalloonGalleryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecordList []*Unk2700_ONCHFHBBCBN `protobuf:"bytes,15,rep,name=record_list,json=recordList,proto3" json:"record_list,omitempty"` +} + +func (x *BalloonGalleryInfo) Reset() { + *x = BalloonGalleryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BalloonGalleryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BalloonGalleryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BalloonGalleryInfo) ProtoMessage() {} + +func (x *BalloonGalleryInfo) ProtoReflect() protoreflect.Message { + mi := &file_BalloonGalleryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BalloonGalleryInfo.ProtoReflect.Descriptor instead. +func (*BalloonGalleryInfo) Descriptor() ([]byte, []int) { + return file_BalloonGalleryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BalloonGalleryInfo) GetRecordList() []*Unk2700_ONCHFHBBCBN { + if x != nil { + return x.RecordList + } + return nil +} + +var File_BalloonGalleryInfo_proto protoreflect.FileDescriptor + +var file_BalloonGalleryInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, 0x48, 0x46, 0x48, 0x42, 0x42, 0x43, 0x42, 0x4e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x12, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, 0x48, 0x46, + 0x48, 0x42, 0x42, 0x43, 0x42, 0x4e, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BalloonGalleryInfo_proto_rawDescOnce sync.Once + file_BalloonGalleryInfo_proto_rawDescData = file_BalloonGalleryInfo_proto_rawDesc +) + +func file_BalloonGalleryInfo_proto_rawDescGZIP() []byte { + file_BalloonGalleryInfo_proto_rawDescOnce.Do(func() { + file_BalloonGalleryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BalloonGalleryInfo_proto_rawDescData) + }) + return file_BalloonGalleryInfo_proto_rawDescData +} + +var file_BalloonGalleryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BalloonGalleryInfo_proto_goTypes = []interface{}{ + (*BalloonGalleryInfo)(nil), // 0: BalloonGalleryInfo + (*Unk2700_ONCHFHBBCBN)(nil), // 1: Unk2700_ONCHFHBBCBN +} +var file_BalloonGalleryInfo_proto_depIdxs = []int32{ + 1, // 0: BalloonGalleryInfo.record_list:type_name -> Unk2700_ONCHFHBBCBN + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BalloonGalleryInfo_proto_init() } +func file_BalloonGalleryInfo_proto_init() { + if File_BalloonGalleryInfo_proto != nil { + return + } + file_Unk2700_ONCHFHBBCBN_proto_init() + if !protoimpl.UnsafeEnabled { + file_BalloonGalleryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BalloonGalleryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BalloonGalleryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BalloonGalleryInfo_proto_goTypes, + DependencyIndexes: file_BalloonGalleryInfo_proto_depIdxs, + MessageInfos: file_BalloonGalleryInfo_proto_msgTypes, + }.Build() + File_BalloonGalleryInfo_proto = out.File + file_BalloonGalleryInfo_proto_rawDesc = nil + file_BalloonGalleryInfo_proto_goTypes = nil + file_BalloonGalleryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BalloonGalleryInfo.proto b/gate-hk4e-api/proto/BalloonGalleryInfo.proto new file mode 100644 index 00000000..9253f5f6 --- /dev/null +++ b/gate-hk4e-api/proto/BalloonGalleryInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_ONCHFHBBCBN.proto"; + +option go_package = "./;proto"; + +message BalloonGalleryInfo { + repeated Unk2700_ONCHFHBBCBN record_list = 15; +} diff --git a/gate-hk4e-api/proto/BalloonPlayerInfo.pb.go b/gate-hk4e-api/proto/BalloonPlayerInfo.pb.go new file mode 100644 index 00000000..abfc351f --- /dev/null +++ b/gate-hk4e-api/proto/BalloonPlayerInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BalloonPlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BalloonPlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + CurScore uint32 `protobuf:"varint,2,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + ComboDisableTime uint32 `protobuf:"varint,14,opt,name=combo_disable_time,json=comboDisableTime,proto3" json:"combo_disable_time,omitempty"` + Combo uint32 `protobuf:"varint,11,opt,name=combo,proto3" json:"combo,omitempty"` +} + +func (x *BalloonPlayerInfo) Reset() { + *x = BalloonPlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BalloonPlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BalloonPlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BalloonPlayerInfo) ProtoMessage() {} + +func (x *BalloonPlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_BalloonPlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BalloonPlayerInfo.ProtoReflect.Descriptor instead. +func (*BalloonPlayerInfo) Descriptor() ([]byte, []int) { + return file_BalloonPlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BalloonPlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *BalloonPlayerInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *BalloonPlayerInfo) GetComboDisableTime() uint32 { + if x != nil { + return x.ComboDisableTime + } + return 0 +} + +func (x *BalloonPlayerInfo) GetCombo() uint32 { + if x != nil { + return x.Combo + } + return 0 +} + +var File_BalloonPlayerInfo_proto protoreflect.FileDescriptor + +var file_BalloonPlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x11, 0x42, 0x61, + 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x62, + 0x6f, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x6d, + 0x62, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BalloonPlayerInfo_proto_rawDescOnce sync.Once + file_BalloonPlayerInfo_proto_rawDescData = file_BalloonPlayerInfo_proto_rawDesc +) + +func file_BalloonPlayerInfo_proto_rawDescGZIP() []byte { + file_BalloonPlayerInfo_proto_rawDescOnce.Do(func() { + file_BalloonPlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BalloonPlayerInfo_proto_rawDescData) + }) + return file_BalloonPlayerInfo_proto_rawDescData +} + +var file_BalloonPlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BalloonPlayerInfo_proto_goTypes = []interface{}{ + (*BalloonPlayerInfo)(nil), // 0: BalloonPlayerInfo +} +var file_BalloonPlayerInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BalloonPlayerInfo_proto_init() } +func file_BalloonPlayerInfo_proto_init() { + if File_BalloonPlayerInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BalloonPlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BalloonPlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BalloonPlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BalloonPlayerInfo_proto_goTypes, + DependencyIndexes: file_BalloonPlayerInfo_proto_depIdxs, + MessageInfos: file_BalloonPlayerInfo_proto_msgTypes, + }.Build() + File_BalloonPlayerInfo_proto = out.File + file_BalloonPlayerInfo_proto_rawDesc = nil + file_BalloonPlayerInfo_proto_goTypes = nil + file_BalloonPlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BalloonPlayerInfo.proto b/gate-hk4e-api/proto/BalloonPlayerInfo.proto new file mode 100644 index 00000000..49287b22 --- /dev/null +++ b/gate-hk4e-api/proto/BalloonPlayerInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BalloonPlayerInfo { + uint32 uid = 15; + uint32 cur_score = 2; + uint32 combo_disable_time = 14; + uint32 combo = 11; +} diff --git a/gate-hk4e-api/proto/BalloonSettleInfo.pb.go b/gate-hk4e-api/proto/BalloonSettleInfo.pb.go new file mode 100644 index 00000000..2b94173e --- /dev/null +++ b/gate-hk4e-api/proto/BalloonSettleInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BalloonSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BalloonSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` + ShootCount uint32 `protobuf:"varint,12,opt,name=shoot_count,json=shootCount,proto3" json:"shoot_count,omitempty"` + MaxCombo uint32 `protobuf:"varint,9,opt,name=max_combo,json=maxCombo,proto3" json:"max_combo,omitempty"` + FinalScore uint32 `protobuf:"varint,7,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,2,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *BalloonSettleInfo) Reset() { + *x = BalloonSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BalloonSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BalloonSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BalloonSettleInfo) ProtoMessage() {} + +func (x *BalloonSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BalloonSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BalloonSettleInfo.ProtoReflect.Descriptor instead. +func (*BalloonSettleInfo) Descriptor() ([]byte, []int) { + return file_BalloonSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BalloonSettleInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *BalloonSettleInfo) GetShootCount() uint32 { + if x != nil { + return x.ShootCount + } + return 0 +} + +func (x *BalloonSettleInfo) GetMaxCombo() uint32 { + if x != nil { + return x.MaxCombo + } + return 0 +} + +func (x *BalloonSettleInfo) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *BalloonSettleInfo) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_BalloonSettleInfo_proto protoreflect.FileDescriptor + +var file_BalloonSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, + 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x68, 0x6f, 0x6f, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, + 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, + 0x61, 0x78, 0x43, 0x6f, 0x6d, 0x62, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, + 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BalloonSettleInfo_proto_rawDescOnce sync.Once + file_BalloonSettleInfo_proto_rawDescData = file_BalloonSettleInfo_proto_rawDesc +) + +func file_BalloonSettleInfo_proto_rawDescGZIP() []byte { + file_BalloonSettleInfo_proto_rawDescOnce.Do(func() { + file_BalloonSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BalloonSettleInfo_proto_rawDescData) + }) + return file_BalloonSettleInfo_proto_rawDescData +} + +var file_BalloonSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BalloonSettleInfo_proto_goTypes = []interface{}{ + (*BalloonSettleInfo)(nil), // 0: BalloonSettleInfo + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_BalloonSettleInfo_proto_depIdxs = []int32{ + 1, // 0: BalloonSettleInfo.player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BalloonSettleInfo_proto_init() } +func file_BalloonSettleInfo_proto_init() { + if File_BalloonSettleInfo_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BalloonSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BalloonSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BalloonSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BalloonSettleInfo_proto_goTypes, + DependencyIndexes: file_BalloonSettleInfo_proto_depIdxs, + MessageInfos: file_BalloonSettleInfo_proto_msgTypes, + }.Build() + File_BalloonSettleInfo_proto = out.File + file_BalloonSettleInfo_proto_rawDesc = nil + file_BalloonSettleInfo_proto_goTypes = nil + file_BalloonSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BalloonSettleInfo.proto b/gate-hk4e-api/proto/BalloonSettleInfo.proto new file mode 100644 index 00000000..3e855907 --- /dev/null +++ b/gate-hk4e-api/proto/BalloonSettleInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message BalloonSettleInfo { + uint32 uid = 3; + uint32 shoot_count = 12; + uint32 max_combo = 9; + uint32 final_score = 7; + OnlinePlayerInfo player_info = 2; +} diff --git a/gate-hk4e-api/proto/BargainOfferPriceReq.pb.go b/gate-hk4e-api/proto/BargainOfferPriceReq.pb.go new file mode 100644 index 00000000..4e862179 --- /dev/null +++ b/gate-hk4e-api/proto/BargainOfferPriceReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainOfferPriceReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 493 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BargainOfferPriceReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BargainId uint32 `protobuf:"varint,4,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` + Price uint32 `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"` +} + +func (x *BargainOfferPriceReq) Reset() { + *x = BargainOfferPriceReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BargainOfferPriceReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BargainOfferPriceReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BargainOfferPriceReq) ProtoMessage() {} + +func (x *BargainOfferPriceReq) ProtoReflect() protoreflect.Message { + mi := &file_BargainOfferPriceReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BargainOfferPriceReq.ProtoReflect.Descriptor instead. +func (*BargainOfferPriceReq) Descriptor() ([]byte, []int) { + return file_BargainOfferPriceReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BargainOfferPriceReq) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +func (x *BargainOfferPriceReq) GetPrice() uint32 { + if x != nil { + return x.Price + } + return 0 +} + +var File_BargainOfferPriceReq_proto protoreflect.FileDescriptor + +var file_BargainOfferPriceReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x14, + 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, + 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainOfferPriceReq_proto_rawDescOnce sync.Once + file_BargainOfferPriceReq_proto_rawDescData = file_BargainOfferPriceReq_proto_rawDesc +) + +func file_BargainOfferPriceReq_proto_rawDescGZIP() []byte { + file_BargainOfferPriceReq_proto_rawDescOnce.Do(func() { + file_BargainOfferPriceReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainOfferPriceReq_proto_rawDescData) + }) + return file_BargainOfferPriceReq_proto_rawDescData +} + +var file_BargainOfferPriceReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BargainOfferPriceReq_proto_goTypes = []interface{}{ + (*BargainOfferPriceReq)(nil), // 0: BargainOfferPriceReq +} +var file_BargainOfferPriceReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BargainOfferPriceReq_proto_init() } +func file_BargainOfferPriceReq_proto_init() { + if File_BargainOfferPriceReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BargainOfferPriceReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BargainOfferPriceReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainOfferPriceReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainOfferPriceReq_proto_goTypes, + DependencyIndexes: file_BargainOfferPriceReq_proto_depIdxs, + MessageInfos: file_BargainOfferPriceReq_proto_msgTypes, + }.Build() + File_BargainOfferPriceReq_proto = out.File + file_BargainOfferPriceReq_proto_rawDesc = nil + file_BargainOfferPriceReq_proto_goTypes = nil + file_BargainOfferPriceReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainOfferPriceReq.proto b/gate-hk4e-api/proto/BargainOfferPriceReq.proto new file mode 100644 index 00000000..dc817b15 --- /dev/null +++ b/gate-hk4e-api/proto/BargainOfferPriceReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 493 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BargainOfferPriceReq { + uint32 bargain_id = 4; + uint32 price = 6; +} diff --git a/gate-hk4e-api/proto/BargainOfferPriceRsp.pb.go b/gate-hk4e-api/proto/BargainOfferPriceRsp.pb.go new file mode 100644 index 00000000..0af1ffcd --- /dev/null +++ b/gate-hk4e-api/proto/BargainOfferPriceRsp.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainOfferPriceRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 427 +// EnetChannelId: 0 +// EnetIsReliable: true +type BargainOfferPriceRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + ResultParam uint32 `protobuf:"varint,13,opt,name=result_param,json=resultParam,proto3" json:"result_param,omitempty"` + BargainResult BargainResultType `protobuf:"varint,14,opt,name=bargain_result,json=bargainResult,proto3,enum=BargainResultType" json:"bargain_result,omitempty"` + CurMood int32 `protobuf:"varint,6,opt,name=cur_mood,json=curMood,proto3" json:"cur_mood,omitempty"` +} + +func (x *BargainOfferPriceRsp) Reset() { + *x = BargainOfferPriceRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BargainOfferPriceRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BargainOfferPriceRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BargainOfferPriceRsp) ProtoMessage() {} + +func (x *BargainOfferPriceRsp) ProtoReflect() protoreflect.Message { + mi := &file_BargainOfferPriceRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BargainOfferPriceRsp.ProtoReflect.Descriptor instead. +func (*BargainOfferPriceRsp) Descriptor() ([]byte, []int) { + return file_BargainOfferPriceRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BargainOfferPriceRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BargainOfferPriceRsp) GetResultParam() uint32 { + if x != nil { + return x.ResultParam + } + return 0 +} + +func (x *BargainOfferPriceRsp) GetBargainResult() BargainResultType { + if x != nil { + return x.BargainResult + } + return BargainResultType_BARGAIN_RESULT_TYPE_COMPLETE_SUCC +} + +func (x *BargainOfferPriceRsp) GetCurMood() int32 { + if x != nil { + return x.CurMood + } + return 0 +} + +var File_BargainOfferPriceRsp_proto protoreflect.FileDescriptor + +var file_BargainOfferPriceRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x42, 0x61, + 0x72, 0x67, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, + 0x6e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x39, 0x0a, 0x0e, 0x62, + 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, 0x6d, 0x6f, + 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72, 0x4d, 0x6f, 0x6f, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainOfferPriceRsp_proto_rawDescOnce sync.Once + file_BargainOfferPriceRsp_proto_rawDescData = file_BargainOfferPriceRsp_proto_rawDesc +) + +func file_BargainOfferPriceRsp_proto_rawDescGZIP() []byte { + file_BargainOfferPriceRsp_proto_rawDescOnce.Do(func() { + file_BargainOfferPriceRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainOfferPriceRsp_proto_rawDescData) + }) + return file_BargainOfferPriceRsp_proto_rawDescData +} + +var file_BargainOfferPriceRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BargainOfferPriceRsp_proto_goTypes = []interface{}{ + (*BargainOfferPriceRsp)(nil), // 0: BargainOfferPriceRsp + (BargainResultType)(0), // 1: BargainResultType +} +var file_BargainOfferPriceRsp_proto_depIdxs = []int32{ + 1, // 0: BargainOfferPriceRsp.bargain_result:type_name -> BargainResultType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BargainOfferPriceRsp_proto_init() } +func file_BargainOfferPriceRsp_proto_init() { + if File_BargainOfferPriceRsp_proto != nil { + return + } + file_BargainResultType_proto_init() + if !protoimpl.UnsafeEnabled { + file_BargainOfferPriceRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BargainOfferPriceRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainOfferPriceRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainOfferPriceRsp_proto_goTypes, + DependencyIndexes: file_BargainOfferPriceRsp_proto_depIdxs, + MessageInfos: file_BargainOfferPriceRsp_proto_msgTypes, + }.Build() + File_BargainOfferPriceRsp_proto = out.File + file_BargainOfferPriceRsp_proto_rawDesc = nil + file_BargainOfferPriceRsp_proto_goTypes = nil + file_BargainOfferPriceRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainOfferPriceRsp.proto b/gate-hk4e-api/proto/BargainOfferPriceRsp.proto new file mode 100644 index 00000000..15ea0743 --- /dev/null +++ b/gate-hk4e-api/proto/BargainOfferPriceRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BargainResultType.proto"; + +option go_package = "./;proto"; + +// CmdId: 427 +// EnetChannelId: 0 +// EnetIsReliable: true +message BargainOfferPriceRsp { + int32 retcode = 5; + uint32 result_param = 13; + BargainResultType bargain_result = 14; + int32 cur_mood = 6; +} diff --git a/gate-hk4e-api/proto/BargainResultType.pb.go b/gate-hk4e-api/proto/BargainResultType.pb.go new file mode 100644 index 00000000..8be9fa0f --- /dev/null +++ b/gate-hk4e-api/proto/BargainResultType.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainResultType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BargainResultType int32 + +const ( + BargainResultType_BARGAIN_RESULT_TYPE_COMPLETE_SUCC BargainResultType = 0 + BargainResultType_BARGAIN_RESULT_TYPE_SINGLE_FAIL BargainResultType = 1 + BargainResultType_BARGAIN_RESULT_TYPE_COMPLETE_FAIL BargainResultType = 2 +) + +// Enum value maps for BargainResultType. +var ( + BargainResultType_name = map[int32]string{ + 0: "BARGAIN_RESULT_TYPE_COMPLETE_SUCC", + 1: "BARGAIN_RESULT_TYPE_SINGLE_FAIL", + 2: "BARGAIN_RESULT_TYPE_COMPLETE_FAIL", + } + BargainResultType_value = map[string]int32{ + "BARGAIN_RESULT_TYPE_COMPLETE_SUCC": 0, + "BARGAIN_RESULT_TYPE_SINGLE_FAIL": 1, + "BARGAIN_RESULT_TYPE_COMPLETE_FAIL": 2, + } +) + +func (x BargainResultType) Enum() *BargainResultType { + p := new(BargainResultType) + *p = x + return p +} + +func (x BargainResultType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BargainResultType) Descriptor() protoreflect.EnumDescriptor { + return file_BargainResultType_proto_enumTypes[0].Descriptor() +} + +func (BargainResultType) Type() protoreflect.EnumType { + return &file_BargainResultType_proto_enumTypes[0] +} + +func (x BargainResultType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BargainResultType.Descriptor instead. +func (BargainResultType) EnumDescriptor() ([]byte, []int) { + return file_BargainResultType_proto_rawDescGZIP(), []int{0} +} + +var File_BargainResultType_proto protoreflect.FileDescriptor + +var file_BargainResultType_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x86, 0x01, 0x0a, 0x11, 0x42, 0x61, + 0x72, 0x67, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x25, 0x0a, 0x21, 0x42, 0x41, 0x52, 0x47, 0x41, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x5f, + 0x53, 0x55, 0x43, 0x43, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x42, 0x41, 0x52, 0x47, 0x41, 0x49, + 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, + 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x42, + 0x41, 0x52, 0x47, 0x41, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainResultType_proto_rawDescOnce sync.Once + file_BargainResultType_proto_rawDescData = file_BargainResultType_proto_rawDesc +) + +func file_BargainResultType_proto_rawDescGZIP() []byte { + file_BargainResultType_proto_rawDescOnce.Do(func() { + file_BargainResultType_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainResultType_proto_rawDescData) + }) + return file_BargainResultType_proto_rawDescData +} + +var file_BargainResultType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_BargainResultType_proto_goTypes = []interface{}{ + (BargainResultType)(0), // 0: BargainResultType +} +var file_BargainResultType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BargainResultType_proto_init() } +func file_BargainResultType_proto_init() { + if File_BargainResultType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainResultType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainResultType_proto_goTypes, + DependencyIndexes: file_BargainResultType_proto_depIdxs, + EnumInfos: file_BargainResultType_proto_enumTypes, + }.Build() + File_BargainResultType_proto = out.File + file_BargainResultType_proto_rawDesc = nil + file_BargainResultType_proto_goTypes = nil + file_BargainResultType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainResultType.proto b/gate-hk4e-api/proto/BargainResultType.proto new file mode 100644 index 00000000..81a6122d --- /dev/null +++ b/gate-hk4e-api/proto/BargainResultType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum BargainResultType { + BARGAIN_RESULT_TYPE_COMPLETE_SUCC = 0; + BARGAIN_RESULT_TYPE_SINGLE_FAIL = 1; + BARGAIN_RESULT_TYPE_COMPLETE_FAIL = 2; +} diff --git a/gate-hk4e-api/proto/BargainSnapshot.pb.go b/gate-hk4e-api/proto/BargainSnapshot.pb.go new file mode 100644 index 00000000..ae719f2a --- /dev/null +++ b/gate-hk4e-api/proto/BargainSnapshot.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainSnapshot.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BargainSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpectedPrice uint32 `protobuf:"varint,3,opt,name=expected_price,json=expectedPrice,proto3" json:"expected_price,omitempty"` + CurMood int32 `protobuf:"varint,14,opt,name=cur_mood,json=curMood,proto3" json:"cur_mood,omitempty"` + PriceLowLimit uint32 `protobuf:"varint,2,opt,name=price_low_limit,json=priceLowLimit,proto3" json:"price_low_limit,omitempty"` + BargainId uint32 `protobuf:"varint,5,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` +} + +func (x *BargainSnapshot) Reset() { + *x = BargainSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_BargainSnapshot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BargainSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BargainSnapshot) ProtoMessage() {} + +func (x *BargainSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_BargainSnapshot_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BargainSnapshot.ProtoReflect.Descriptor instead. +func (*BargainSnapshot) Descriptor() ([]byte, []int) { + return file_BargainSnapshot_proto_rawDescGZIP(), []int{0} +} + +func (x *BargainSnapshot) GetExpectedPrice() uint32 { + if x != nil { + return x.ExpectedPrice + } + return 0 +} + +func (x *BargainSnapshot) GetCurMood() int32 { + if x != nil { + return x.CurMood + } + return 0 +} + +func (x *BargainSnapshot) GetPriceLowLimit() uint32 { + if x != nil { + return x.PriceLowLimit + } + return 0 +} + +func (x *BargainSnapshot) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +var File_BargainSnapshot_proto protoreflect.FileDescriptor + +var file_BargainSnapshot_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x72, 0x67, + 0x61, 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65, + 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, 0x6d, 0x6f, 0x6f, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72, 0x4d, 0x6f, 0x6f, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x77, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x72, 0x67, 0x61, + 0x69, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainSnapshot_proto_rawDescOnce sync.Once + file_BargainSnapshot_proto_rawDescData = file_BargainSnapshot_proto_rawDesc +) + +func file_BargainSnapshot_proto_rawDescGZIP() []byte { + file_BargainSnapshot_proto_rawDescOnce.Do(func() { + file_BargainSnapshot_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainSnapshot_proto_rawDescData) + }) + return file_BargainSnapshot_proto_rawDescData +} + +var file_BargainSnapshot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BargainSnapshot_proto_goTypes = []interface{}{ + (*BargainSnapshot)(nil), // 0: BargainSnapshot +} +var file_BargainSnapshot_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BargainSnapshot_proto_init() } +func file_BargainSnapshot_proto_init() { + if File_BargainSnapshot_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BargainSnapshot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BargainSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainSnapshot_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainSnapshot_proto_goTypes, + DependencyIndexes: file_BargainSnapshot_proto_depIdxs, + MessageInfos: file_BargainSnapshot_proto_msgTypes, + }.Build() + File_BargainSnapshot_proto = out.File + file_BargainSnapshot_proto_rawDesc = nil + file_BargainSnapshot_proto_goTypes = nil + file_BargainSnapshot_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainSnapshot.proto b/gate-hk4e-api/proto/BargainSnapshot.proto new file mode 100644 index 00000000..aa5f0e03 --- /dev/null +++ b/gate-hk4e-api/proto/BargainSnapshot.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BargainSnapshot { + uint32 expected_price = 3; + int32 cur_mood = 14; + uint32 price_low_limit = 2; + uint32 bargain_id = 5; +} diff --git a/gate-hk4e-api/proto/BargainStartNotify.pb.go b/gate-hk4e-api/proto/BargainStartNotify.pb.go new file mode 100644 index 00000000..85cb424e --- /dev/null +++ b/gate-hk4e-api/proto/BargainStartNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 404 +// EnetChannelId: 0 +// EnetIsReliable: true +type BargainStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BargainId uint32 `protobuf:"varint,4,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` + Snapshot *BargainSnapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"` +} + +func (x *BargainStartNotify) Reset() { + *x = BargainStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BargainStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BargainStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BargainStartNotify) ProtoMessage() {} + +func (x *BargainStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_BargainStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BargainStartNotify.ProtoReflect.Descriptor instead. +func (*BargainStartNotify) Descriptor() ([]byte, []int) { + return file_BargainStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BargainStartNotify) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +func (x *BargainStartNotify) GetSnapshot() *BargainSnapshot { + if x != nil { + return x.Snapshot + } + return nil +} + +var File_BargainStartNotify_proto protoreflect.FileDescriptor + +var file_BargainStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x42, 0x61, 0x72, 0x67, + 0x61, 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x61, 0x0a, 0x12, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, 0x61, + 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x72, + 0x67, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x72, 0x67, 0x61, + 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainStartNotify_proto_rawDescOnce sync.Once + file_BargainStartNotify_proto_rawDescData = file_BargainStartNotify_proto_rawDesc +) + +func file_BargainStartNotify_proto_rawDescGZIP() []byte { + file_BargainStartNotify_proto_rawDescOnce.Do(func() { + file_BargainStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainStartNotify_proto_rawDescData) + }) + return file_BargainStartNotify_proto_rawDescData +} + +var file_BargainStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BargainStartNotify_proto_goTypes = []interface{}{ + (*BargainStartNotify)(nil), // 0: BargainStartNotify + (*BargainSnapshot)(nil), // 1: BargainSnapshot +} +var file_BargainStartNotify_proto_depIdxs = []int32{ + 1, // 0: BargainStartNotify.snapshot:type_name -> BargainSnapshot + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BargainStartNotify_proto_init() } +func file_BargainStartNotify_proto_init() { + if File_BargainStartNotify_proto != nil { + return + } + file_BargainSnapshot_proto_init() + if !protoimpl.UnsafeEnabled { + file_BargainStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BargainStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainStartNotify_proto_goTypes, + DependencyIndexes: file_BargainStartNotify_proto_depIdxs, + MessageInfos: file_BargainStartNotify_proto_msgTypes, + }.Build() + File_BargainStartNotify_proto = out.File + file_BargainStartNotify_proto_rawDesc = nil + file_BargainStartNotify_proto_goTypes = nil + file_BargainStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainStartNotify.proto b/gate-hk4e-api/proto/BargainStartNotify.proto new file mode 100644 index 00000000..75fff484 --- /dev/null +++ b/gate-hk4e-api/proto/BargainStartNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BargainSnapshot.proto"; + +option go_package = "./;proto"; + +// CmdId: 404 +// EnetChannelId: 0 +// EnetIsReliable: true +message BargainStartNotify { + uint32 bargain_id = 4; + BargainSnapshot snapshot = 2; +} diff --git a/gate-hk4e-api/proto/BargainTerminateNotify.pb.go b/gate-hk4e-api/proto/BargainTerminateNotify.pb.go new file mode 100644 index 00000000..6815f20d --- /dev/null +++ b/gate-hk4e-api/proto/BargainTerminateNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BargainTerminateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 494 +// EnetChannelId: 0 +// EnetIsReliable: true +type BargainTerminateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BargainId uint32 `protobuf:"varint,15,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` +} + +func (x *BargainTerminateNotify) Reset() { + *x = BargainTerminateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BargainTerminateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BargainTerminateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BargainTerminateNotify) ProtoMessage() {} + +func (x *BargainTerminateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BargainTerminateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BargainTerminateNotify.ProtoReflect.Descriptor instead. +func (*BargainTerminateNotify) Descriptor() ([]byte, []int) { + return file_BargainTerminateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BargainTerminateNotify) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +var File_BargainTerminateNotify_proto protoreflect.FileDescriptor + +var file_BargainTerminateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, + 0x0a, 0x16, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, + 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, + 0x72, 0x67, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BargainTerminateNotify_proto_rawDescOnce sync.Once + file_BargainTerminateNotify_proto_rawDescData = file_BargainTerminateNotify_proto_rawDesc +) + +func file_BargainTerminateNotify_proto_rawDescGZIP() []byte { + file_BargainTerminateNotify_proto_rawDescOnce.Do(func() { + file_BargainTerminateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BargainTerminateNotify_proto_rawDescData) + }) + return file_BargainTerminateNotify_proto_rawDescData +} + +var file_BargainTerminateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BargainTerminateNotify_proto_goTypes = []interface{}{ + (*BargainTerminateNotify)(nil), // 0: BargainTerminateNotify +} +var file_BargainTerminateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BargainTerminateNotify_proto_init() } +func file_BargainTerminateNotify_proto_init() { + if File_BargainTerminateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BargainTerminateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BargainTerminateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BargainTerminateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BargainTerminateNotify_proto_goTypes, + DependencyIndexes: file_BargainTerminateNotify_proto_depIdxs, + MessageInfos: file_BargainTerminateNotify_proto_msgTypes, + }.Build() + File_BargainTerminateNotify_proto = out.File + file_BargainTerminateNotify_proto_rawDesc = nil + file_BargainTerminateNotify_proto_goTypes = nil + file_BargainTerminateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BargainTerminateNotify.proto b/gate-hk4e-api/proto/BargainTerminateNotify.proto new file mode 100644 index 00000000..e66ce8f8 --- /dev/null +++ b/gate-hk4e-api/proto/BargainTerminateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 494 +// EnetChannelId: 0 +// EnetIsReliable: true +message BargainTerminateNotify { + uint32 bargain_id = 15; +} diff --git a/gate-hk4e-api/proto/BartenderActivityDetailInfo.pb.go b/gate-hk4e-api/proto/BartenderActivityDetailInfo.pb.go new file mode 100644 index 00000000..babc687f --- /dev/null +++ b/gate-hk4e-api/proto/BartenderActivityDetailInfo.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BartenderActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BartenderActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BMOAIJMHPGA []uint32 `protobuf:"varint,3,rep,packed,name=Unk2700_BMOAIJMHPGA,json=Unk2700BMOAIJMHPGA,proto3" json:"Unk2700_BMOAIJMHPGA,omitempty"` + Unk2700_JICAAEMPNBC bool `protobuf:"varint,13,opt,name=Unk2700_JICAAEMPNBC,json=Unk2700JICAAEMPNBC,proto3" json:"Unk2700_JICAAEMPNBC,omitempty"` + IsContentClosed bool `protobuf:"varint,6,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk2700_MEGOPKBEHOH []*Unk2700_LBIDBGLGKCJ `protobuf:"bytes,5,rep,name=Unk2700_MEGOPKBEHOH,json=Unk2700MEGOPKBEHOH,proto3" json:"Unk2700_MEGOPKBEHOH,omitempty"` + Unk2700_AIKFMMLFIJI []uint32 `protobuf:"varint,14,rep,packed,name=Unk2700_AIKFMMLFIJI,json=Unk2700AIKFMMLFIJI,proto3" json:"Unk2700_AIKFMMLFIJI,omitempty"` + Unk2700_DAGGAECBDEG []*Unk2700_KJODHFMHMNC `protobuf:"bytes,2,rep,name=Unk2700_DAGGAECBDEG,json=Unk2700DAGGAECBDEG,proto3" json:"Unk2700_DAGGAECBDEG,omitempty"` +} + +func (x *BartenderActivityDetailInfo) Reset() { + *x = BartenderActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BartenderActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BartenderActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BartenderActivityDetailInfo) ProtoMessage() {} + +func (x *BartenderActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_BartenderActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BartenderActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*BartenderActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_BartenderActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BartenderActivityDetailInfo) GetUnk2700_BMOAIJMHPGA() []uint32 { + if x != nil { + return x.Unk2700_BMOAIJMHPGA + } + return nil +} + +func (x *BartenderActivityDetailInfo) GetUnk2700_JICAAEMPNBC() bool { + if x != nil { + return x.Unk2700_JICAAEMPNBC + } + return false +} + +func (x *BartenderActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *BartenderActivityDetailInfo) GetUnk2700_MEGOPKBEHOH() []*Unk2700_LBIDBGLGKCJ { + if x != nil { + return x.Unk2700_MEGOPKBEHOH + } + return nil +} + +func (x *BartenderActivityDetailInfo) GetUnk2700_AIKFMMLFIJI() []uint32 { + if x != nil { + return x.Unk2700_AIKFMMLFIJI + } + return nil +} + +func (x *BartenderActivityDetailInfo) GetUnk2700_DAGGAECBDEG() []*Unk2700_KJODHFMHMNC { + if x != nil { + return x.Unk2700_DAGGAECBDEG + } + return nil +} + +var File_BartenderActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_BartenderActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x61, 0x72, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4f, + 0x44, 0x48, 0x46, 0x4d, 0x48, 0x4d, 0x4e, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x49, 0x44, 0x42, 0x47, 0x4c, 0x47, + 0x4b, 0x43, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x02, 0x0a, 0x1b, 0x42, 0x61, + 0x72, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x4f, 0x41, 0x49, 0x4a, 0x4d, 0x48, 0x50, 0x47, 0x41, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, + 0x4d, 0x4f, 0x41, 0x49, 0x4a, 0x4d, 0x48, 0x50, 0x47, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x43, 0x41, 0x41, 0x45, 0x4d, 0x50, 0x4e, 0x42, + 0x43, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4a, 0x49, 0x43, 0x41, 0x41, 0x45, 0x4d, 0x50, 0x4e, 0x42, 0x43, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x47, 0x4f, 0x50, 0x4b, 0x42, 0x45, 0x48, 0x4f, 0x48, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x42, 0x49, 0x44, 0x42, 0x47, 0x4c, 0x47, 0x4b, 0x43, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4d, 0x45, 0x47, 0x4f, 0x50, 0x4b, 0x42, 0x45, 0x48, 0x4f, 0x48, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4b, 0x46, 0x4d, 0x4d, + 0x4c, 0x46, 0x49, 0x4a, 0x49, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x41, 0x49, 0x4b, 0x46, 0x4d, 0x4d, 0x4c, 0x46, 0x49, 0x4a, 0x49, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x41, 0x47, 0x47, 0x41, + 0x45, 0x43, 0x42, 0x44, 0x45, 0x47, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4f, 0x44, 0x48, 0x46, 0x4d, 0x48, 0x4d, + 0x4e, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x47, 0x47, 0x41, + 0x45, 0x43, 0x42, 0x44, 0x45, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BartenderActivityDetailInfo_proto_rawDescOnce sync.Once + file_BartenderActivityDetailInfo_proto_rawDescData = file_BartenderActivityDetailInfo_proto_rawDesc +) + +func file_BartenderActivityDetailInfo_proto_rawDescGZIP() []byte { + file_BartenderActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_BartenderActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BartenderActivityDetailInfo_proto_rawDescData) + }) + return file_BartenderActivityDetailInfo_proto_rawDescData +} + +var file_BartenderActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BartenderActivityDetailInfo_proto_goTypes = []interface{}{ + (*BartenderActivityDetailInfo)(nil), // 0: BartenderActivityDetailInfo + (*Unk2700_LBIDBGLGKCJ)(nil), // 1: Unk2700_LBIDBGLGKCJ + (*Unk2700_KJODHFMHMNC)(nil), // 2: Unk2700_KJODHFMHMNC +} +var file_BartenderActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: BartenderActivityDetailInfo.Unk2700_MEGOPKBEHOH:type_name -> Unk2700_LBIDBGLGKCJ + 2, // 1: BartenderActivityDetailInfo.Unk2700_DAGGAECBDEG:type_name -> Unk2700_KJODHFMHMNC + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BartenderActivityDetailInfo_proto_init() } +func file_BartenderActivityDetailInfo_proto_init() { + if File_BartenderActivityDetailInfo_proto != nil { + return + } + file_Unk2700_KJODHFMHMNC_proto_init() + file_Unk2700_LBIDBGLGKCJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_BartenderActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BartenderActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BartenderActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BartenderActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_BartenderActivityDetailInfo_proto_depIdxs, + MessageInfos: file_BartenderActivityDetailInfo_proto_msgTypes, + }.Build() + File_BartenderActivityDetailInfo_proto = out.File + file_BartenderActivityDetailInfo_proto_rawDesc = nil + file_BartenderActivityDetailInfo_proto_goTypes = nil + file_BartenderActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BartenderActivityDetailInfo.proto b/gate-hk4e-api/proto/BartenderActivityDetailInfo.proto new file mode 100644 index 00000000..f140470f --- /dev/null +++ b/gate-hk4e-api/proto/BartenderActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KJODHFMHMNC.proto"; +import "Unk2700_LBIDBGLGKCJ.proto"; + +option go_package = "./;proto"; + +message BartenderActivityDetailInfo { + repeated uint32 Unk2700_BMOAIJMHPGA = 3; + bool Unk2700_JICAAEMPNBC = 13; + bool is_content_closed = 6; + repeated Unk2700_LBIDBGLGKCJ Unk2700_MEGOPKBEHOH = 5; + repeated uint32 Unk2700_AIKFMMLFIJI = 14; + repeated Unk2700_KJODHFMHMNC Unk2700_DAGGAECBDEG = 2; +} diff --git a/gate-hk4e-api/proto/BattlePassAllDataNotify.pb.go b/gate-hk4e-api/proto/BattlePassAllDataNotify.pb.go new file mode 100644 index 00000000..e116e4a6 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassAllDataNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassAllDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2626 +// EnetChannelId: 0 +// EnetIsReliable: true +type BattlePassAllDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HaveCurSchedule bool `protobuf:"varint,2,opt,name=have_cur_schedule,json=haveCurSchedule,proto3" json:"have_cur_schedule,omitempty"` + MissionList []*BattlePassMission `protobuf:"bytes,4,rep,name=mission_list,json=missionList,proto3" json:"mission_list,omitempty"` + CurSchedule *BattlePassSchedule `protobuf:"bytes,1,opt,name=cur_schedule,json=curSchedule,proto3" json:"cur_schedule,omitempty"` +} + +func (x *BattlePassAllDataNotify) Reset() { + *x = BattlePassAllDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassAllDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassAllDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassAllDataNotify) ProtoMessage() {} + +func (x *BattlePassAllDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassAllDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassAllDataNotify.ProtoReflect.Descriptor instead. +func (*BattlePassAllDataNotify) Descriptor() ([]byte, []int) { + return file_BattlePassAllDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassAllDataNotify) GetHaveCurSchedule() bool { + if x != nil { + return x.HaveCurSchedule + } + return false +} + +func (x *BattlePassAllDataNotify) GetMissionList() []*BattlePassMission { + if x != nil { + return x.MissionList + } + return nil +} + +func (x *BattlePassAllDataNotify) GetCurSchedule() *BattlePassSchedule { + if x != nil { + return x.CurSchedule + } + return nil +} + +var File_BattlePassAllDataNotify_proto protoreflect.FileDescriptor + +var file_BattlePassAllDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x50, 0x61, 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, + 0x73, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, + 0x0a, 0x11, 0x68, 0x61, 0x76, 0x65, 0x5f, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x61, 0x76, 0x65, 0x43, + 0x75, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x36, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x50, 0x61, 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x0b, 0x63, 0x75, + 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassAllDataNotify_proto_rawDescOnce sync.Once + file_BattlePassAllDataNotify_proto_rawDescData = file_BattlePassAllDataNotify_proto_rawDesc +) + +func file_BattlePassAllDataNotify_proto_rawDescGZIP() []byte { + file_BattlePassAllDataNotify_proto_rawDescOnce.Do(func() { + file_BattlePassAllDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassAllDataNotify_proto_rawDescData) + }) + return file_BattlePassAllDataNotify_proto_rawDescData +} + +var file_BattlePassAllDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassAllDataNotify_proto_goTypes = []interface{}{ + (*BattlePassAllDataNotify)(nil), // 0: BattlePassAllDataNotify + (*BattlePassMission)(nil), // 1: BattlePassMission + (*BattlePassSchedule)(nil), // 2: BattlePassSchedule +} +var file_BattlePassAllDataNotify_proto_depIdxs = []int32{ + 1, // 0: BattlePassAllDataNotify.mission_list:type_name -> BattlePassMission + 2, // 1: BattlePassAllDataNotify.cur_schedule:type_name -> BattlePassSchedule + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BattlePassAllDataNotify_proto_init() } +func file_BattlePassAllDataNotify_proto_init() { + if File_BattlePassAllDataNotify_proto != nil { + return + } + file_BattlePassMission_proto_init() + file_BattlePassSchedule_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassAllDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassAllDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassAllDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassAllDataNotify_proto_goTypes, + DependencyIndexes: file_BattlePassAllDataNotify_proto_depIdxs, + MessageInfos: file_BattlePassAllDataNotify_proto_msgTypes, + }.Build() + File_BattlePassAllDataNotify_proto = out.File + file_BattlePassAllDataNotify_proto_rawDesc = nil + file_BattlePassAllDataNotify_proto_goTypes = nil + file_BattlePassAllDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassAllDataNotify.proto b/gate-hk4e-api/proto/BattlePassAllDataNotify.proto new file mode 100644 index 00000000..5ee8bb4f --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassAllDataNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassMission.proto"; +import "BattlePassSchedule.proto"; + +option go_package = "./;proto"; + +// CmdId: 2626 +// EnetChannelId: 0 +// EnetIsReliable: true +message BattlePassAllDataNotify { + bool have_cur_schedule = 2; + repeated BattlePassMission mission_list = 4; + BattlePassSchedule cur_schedule = 1; +} diff --git a/gate-hk4e-api/proto/BattlePassBuySuccNotify.pb.go b/gate-hk4e-api/proto/BattlePassBuySuccNotify.pb.go new file mode 100644 index 00000000..581b42e7 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassBuySuccNotify.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassBuySuccNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2614 +// EnetChannelId: 0 +// EnetIsReliable: true +type BattlePassBuySuccNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,4,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ProductPlayType uint32 `protobuf:"varint,11,opt,name=product_play_type,json=productPlayType,proto3" json:"product_play_type,omitempty"` + AddPoint uint32 `protobuf:"varint,12,opt,name=add_point,json=addPoint,proto3" json:"add_point,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,9,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *BattlePassBuySuccNotify) Reset() { + *x = BattlePassBuySuccNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassBuySuccNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassBuySuccNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassBuySuccNotify) ProtoMessage() {} + +func (x *BattlePassBuySuccNotify) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassBuySuccNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassBuySuccNotify.ProtoReflect.Descriptor instead. +func (*BattlePassBuySuccNotify) Descriptor() ([]byte, []int) { + return file_BattlePassBuySuccNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassBuySuccNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *BattlePassBuySuccNotify) GetProductPlayType() uint32 { + if x != nil { + return x.ProductPlayType + } + return 0 +} + +func (x *BattlePassBuySuccNotify) GetAddPoint() uint32 { + if x != nil { + return x.AddPoint + } + return 0 +} + +func (x *BattlePassBuySuccNotify) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_BattlePassBuySuccNotify_proto protoreflect.FileDescriptor + +var file_BattlePassBuySuccNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x42, 0x75, 0x79, 0x53, + 0x75, 0x63, 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xac, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x42, + 0x75, 0x79, 0x53, 0x75, 0x63, 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, + 0x11, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x64, + 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassBuySuccNotify_proto_rawDescOnce sync.Once + file_BattlePassBuySuccNotify_proto_rawDescData = file_BattlePassBuySuccNotify_proto_rawDesc +) + +func file_BattlePassBuySuccNotify_proto_rawDescGZIP() []byte { + file_BattlePassBuySuccNotify_proto_rawDescOnce.Do(func() { + file_BattlePassBuySuccNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassBuySuccNotify_proto_rawDescData) + }) + return file_BattlePassBuySuccNotify_proto_rawDescData +} + +var file_BattlePassBuySuccNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassBuySuccNotify_proto_goTypes = []interface{}{ + (*BattlePassBuySuccNotify)(nil), // 0: BattlePassBuySuccNotify + (*ItemParam)(nil), // 1: ItemParam +} +var file_BattlePassBuySuccNotify_proto_depIdxs = []int32{ + 1, // 0: BattlePassBuySuccNotify.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassBuySuccNotify_proto_init() } +func file_BattlePassBuySuccNotify_proto_init() { + if File_BattlePassBuySuccNotify_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassBuySuccNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassBuySuccNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassBuySuccNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassBuySuccNotify_proto_goTypes, + DependencyIndexes: file_BattlePassBuySuccNotify_proto_depIdxs, + MessageInfos: file_BattlePassBuySuccNotify_proto_msgTypes, + }.Build() + File_BattlePassBuySuccNotify_proto = out.File + file_BattlePassBuySuccNotify_proto_rawDesc = nil + file_BattlePassBuySuccNotify_proto_goTypes = nil + file_BattlePassBuySuccNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassBuySuccNotify.proto b/gate-hk4e-api/proto/BattlePassBuySuccNotify.proto new file mode 100644 index 00000000..34b145a4 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassBuySuccNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2614 +// EnetChannelId: 0 +// EnetIsReliable: true +message BattlePassBuySuccNotify { + uint32 schedule_id = 4; + uint32 product_play_type = 11; + uint32 add_point = 12; + repeated ItemParam item_list = 9; +} diff --git a/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.pb.go b/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.pb.go new file mode 100644 index 00000000..2ecb378f --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassCurScheduleUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2607 +// EnetChannelId: 0 +// EnetIsReliable: true +type BattlePassCurScheduleUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HaveCurSchedule bool `protobuf:"varint,11,opt,name=have_cur_schedule,json=haveCurSchedule,proto3" json:"have_cur_schedule,omitempty"` + CurSchedule *BattlePassSchedule `protobuf:"bytes,1,opt,name=cur_schedule,json=curSchedule,proto3" json:"cur_schedule,omitempty"` +} + +func (x *BattlePassCurScheduleUpdateNotify) Reset() { + *x = BattlePassCurScheduleUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassCurScheduleUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassCurScheduleUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassCurScheduleUpdateNotify) ProtoMessage() {} + +func (x *BattlePassCurScheduleUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassCurScheduleUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassCurScheduleUpdateNotify.ProtoReflect.Descriptor instead. +func (*BattlePassCurScheduleUpdateNotify) Descriptor() ([]byte, []int) { + return file_BattlePassCurScheduleUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassCurScheduleUpdateNotify) GetHaveCurSchedule() bool { + if x != nil { + return x.HaveCurSchedule + } + return false +} + +func (x *BattlePassCurScheduleUpdateNotify) GetCurSchedule() *BattlePassSchedule { + if x != nil { + return x.CurSchedule + } + return nil +} + +var File_BattlePassCurScheduleUpdateNotify_proto protoreflect.FileDescriptor + +var file_BattlePassCurScheduleUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x43, 0x75, 0x72, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, + 0x73, 0x73, 0x43, 0x75, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x61, 0x76, + 0x65, 0x5f, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x61, 0x76, 0x65, 0x43, 0x75, 0x72, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x52, 0x0b, 0x63, 0x75, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BattlePassCurScheduleUpdateNotify_proto_rawDescOnce sync.Once + file_BattlePassCurScheduleUpdateNotify_proto_rawDescData = file_BattlePassCurScheduleUpdateNotify_proto_rawDesc +) + +func file_BattlePassCurScheduleUpdateNotify_proto_rawDescGZIP() []byte { + file_BattlePassCurScheduleUpdateNotify_proto_rawDescOnce.Do(func() { + file_BattlePassCurScheduleUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassCurScheduleUpdateNotify_proto_rawDescData) + }) + return file_BattlePassCurScheduleUpdateNotify_proto_rawDescData +} + +var file_BattlePassCurScheduleUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassCurScheduleUpdateNotify_proto_goTypes = []interface{}{ + (*BattlePassCurScheduleUpdateNotify)(nil), // 0: BattlePassCurScheduleUpdateNotify + (*BattlePassSchedule)(nil), // 1: BattlePassSchedule +} +var file_BattlePassCurScheduleUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: BattlePassCurScheduleUpdateNotify.cur_schedule:type_name -> BattlePassSchedule + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassCurScheduleUpdateNotify_proto_init() } +func file_BattlePassCurScheduleUpdateNotify_proto_init() { + if File_BattlePassCurScheduleUpdateNotify_proto != nil { + return + } + file_BattlePassSchedule_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassCurScheduleUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassCurScheduleUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassCurScheduleUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassCurScheduleUpdateNotify_proto_goTypes, + DependencyIndexes: file_BattlePassCurScheduleUpdateNotify_proto_depIdxs, + MessageInfos: file_BattlePassCurScheduleUpdateNotify_proto_msgTypes, + }.Build() + File_BattlePassCurScheduleUpdateNotify_proto = out.File + file_BattlePassCurScheduleUpdateNotify_proto_rawDesc = nil + file_BattlePassCurScheduleUpdateNotify_proto_goTypes = nil + file_BattlePassCurScheduleUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.proto b/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.proto new file mode 100644 index 00000000..89b01902 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassCurScheduleUpdateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassSchedule.proto"; + +option go_package = "./;proto"; + +// CmdId: 2607 +// EnetChannelId: 0 +// EnetIsReliable: true +message BattlePassCurScheduleUpdateNotify { + bool have_cur_schedule = 11; + BattlePassSchedule cur_schedule = 1; +} diff --git a/gate-hk4e-api/proto/BattlePassCycle.pb.go b/gate-hk4e-api/proto/BattlePassCycle.pb.go new file mode 100644 index 00000000..ea302218 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassCycle.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassCycle.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassCycle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CycleIdx uint32 `protobuf:"varint,3,opt,name=cycle_idx,json=cycleIdx,proto3" json:"cycle_idx,omitempty"` + EndTime uint32 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + BeginTime uint32 `protobuf:"varint,13,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *BattlePassCycle) Reset() { + *x = BattlePassCycle{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassCycle_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassCycle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassCycle) ProtoMessage() {} + +func (x *BattlePassCycle) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassCycle_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassCycle.ProtoReflect.Descriptor instead. +func (*BattlePassCycle) Descriptor() ([]byte, []int) { + return file_BattlePassCycle_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassCycle) GetCycleIdx() uint32 { + if x != nil { + return x.CycleIdx + } + return 0 +} + +func (x *BattlePassCycle) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *BattlePassCycle) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_BattlePassCycle_proto protoreflect.FileDescriptor + +var file_BattlePassCycle_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x43, 0x79, 0x63, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x79, + 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassCycle_proto_rawDescOnce sync.Once + file_BattlePassCycle_proto_rawDescData = file_BattlePassCycle_proto_rawDesc +) + +func file_BattlePassCycle_proto_rawDescGZIP() []byte { + file_BattlePassCycle_proto_rawDescOnce.Do(func() { + file_BattlePassCycle_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassCycle_proto_rawDescData) + }) + return file_BattlePassCycle_proto_rawDescData +} + +var file_BattlePassCycle_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassCycle_proto_goTypes = []interface{}{ + (*BattlePassCycle)(nil), // 0: BattlePassCycle +} +var file_BattlePassCycle_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BattlePassCycle_proto_init() } +func file_BattlePassCycle_proto_init() { + if File_BattlePassCycle_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BattlePassCycle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassCycle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassCycle_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassCycle_proto_goTypes, + DependencyIndexes: file_BattlePassCycle_proto_depIdxs, + MessageInfos: file_BattlePassCycle_proto_msgTypes, + }.Build() + File_BattlePassCycle_proto = out.File + file_BattlePassCycle_proto_rawDesc = nil + file_BattlePassCycle_proto_goTypes = nil + file_BattlePassCycle_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassCycle.proto b/gate-hk4e-api/proto/BattlePassCycle.proto new file mode 100644 index 00000000..b5c58d21 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassCycle.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BattlePassCycle { + uint32 cycle_idx = 3; + uint32 end_time = 10; + uint32 begin_time = 13; +} diff --git a/gate-hk4e-api/proto/BattlePassMission.pb.go b/gate-hk4e-api/proto/BattlePassMission.pb.go new file mode 100644 index 00000000..235f3c4e --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMission.pb.go @@ -0,0 +1,278 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassMission.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassMission_MissionStatus int32 + +const ( + BattlePassMission_MISSION_STATUS_INVALID BattlePassMission_MissionStatus = 0 + BattlePassMission_MISSION_STATUS_UNFINISHED BattlePassMission_MissionStatus = 1 + BattlePassMission_MISSION_STATUS_FINISHED BattlePassMission_MissionStatus = 2 + BattlePassMission_MISSION_STATUS_POINT_TAKEN BattlePassMission_MissionStatus = 3 +) + +// Enum value maps for BattlePassMission_MissionStatus. +var ( + BattlePassMission_MissionStatus_name = map[int32]string{ + 0: "MISSION_STATUS_INVALID", + 1: "MISSION_STATUS_UNFINISHED", + 2: "MISSION_STATUS_FINISHED", + 3: "MISSION_STATUS_POINT_TAKEN", + } + BattlePassMission_MissionStatus_value = map[string]int32{ + "MISSION_STATUS_INVALID": 0, + "MISSION_STATUS_UNFINISHED": 1, + "MISSION_STATUS_FINISHED": 2, + "MISSION_STATUS_POINT_TAKEN": 3, + } +) + +func (x BattlePassMission_MissionStatus) Enum() *BattlePassMission_MissionStatus { + p := new(BattlePassMission_MissionStatus) + *p = x + return p +} + +func (x BattlePassMission_MissionStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BattlePassMission_MissionStatus) Descriptor() protoreflect.EnumDescriptor { + return file_BattlePassMission_proto_enumTypes[0].Descriptor() +} + +func (BattlePassMission_MissionStatus) Type() protoreflect.EnumType { + return &file_BattlePassMission_proto_enumTypes[0] +} + +func (x BattlePassMission_MissionStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BattlePassMission_MissionStatus.Descriptor instead. +func (BattlePassMission_MissionStatus) EnumDescriptor() ([]byte, []int) { + return file_BattlePassMission_proto_rawDescGZIP(), []int{0, 0} +} + +type BattlePassMission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurProgress uint32 `protobuf:"varint,13,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + MissionStatus BattlePassMission_MissionStatus `protobuf:"varint,15,opt,name=mission_status,json=missionStatus,proto3,enum=BattlePassMission_MissionStatus" json:"mission_status,omitempty"` + MissionId uint32 `protobuf:"varint,11,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` + RewardBattlePassPoint uint32 `protobuf:"varint,3,opt,name=reward_battle_pass_point,json=rewardBattlePassPoint,proto3" json:"reward_battle_pass_point,omitempty"` + MissionType uint32 `protobuf:"varint,12,opt,name=mission_type,json=missionType,proto3" json:"mission_type,omitempty"` + TotalProgress uint32 `protobuf:"varint,6,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` +} + +func (x *BattlePassMission) Reset() { + *x = BattlePassMission{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassMission_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassMission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassMission) ProtoMessage() {} + +func (x *BattlePassMission) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassMission_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassMission.ProtoReflect.Descriptor instead. +func (*BattlePassMission) Descriptor() ([]byte, []int) { + return file_BattlePassMission_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassMission) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *BattlePassMission) GetMissionStatus() BattlePassMission_MissionStatus { + if x != nil { + return x.MissionStatus + } + return BattlePassMission_MISSION_STATUS_INVALID +} + +func (x *BattlePassMission) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +func (x *BattlePassMission) GetRewardBattlePassPoint() uint32 { + if x != nil { + return x.RewardBattlePassPoint + } + return 0 +} + +func (x *BattlePassMission) GetMissionType() uint32 { + if x != nil { + return x.MissionType + } + return 0 +} + +func (x *BattlePassMission) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +var File_BattlePassMission_proto protoreflect.FileDescriptor + +var file_BattlePassMission_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, 0x11, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x87, 0x01, + 0x0a, 0x0d, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x1a, 0x0a, 0x16, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4d, + 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, + 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x49, + 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x49, 0x4e, + 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x49, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, + 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassMission_proto_rawDescOnce sync.Once + file_BattlePassMission_proto_rawDescData = file_BattlePassMission_proto_rawDesc +) + +func file_BattlePassMission_proto_rawDescGZIP() []byte { + file_BattlePassMission_proto_rawDescOnce.Do(func() { + file_BattlePassMission_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassMission_proto_rawDescData) + }) + return file_BattlePassMission_proto_rawDescData +} + +var file_BattlePassMission_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_BattlePassMission_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassMission_proto_goTypes = []interface{}{ + (BattlePassMission_MissionStatus)(0), // 0: BattlePassMission.MissionStatus + (*BattlePassMission)(nil), // 1: BattlePassMission +} +var file_BattlePassMission_proto_depIdxs = []int32{ + 0, // 0: BattlePassMission.mission_status:type_name -> BattlePassMission.MissionStatus + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassMission_proto_init() } +func file_BattlePassMission_proto_init() { + if File_BattlePassMission_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BattlePassMission_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassMission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassMission_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassMission_proto_goTypes, + DependencyIndexes: file_BattlePassMission_proto_depIdxs, + EnumInfos: file_BattlePassMission_proto_enumTypes, + MessageInfos: file_BattlePassMission_proto_msgTypes, + }.Build() + File_BattlePassMission_proto = out.File + file_BattlePassMission_proto_rawDesc = nil + file_BattlePassMission_proto_goTypes = nil + file_BattlePassMission_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassMission.proto b/gate-hk4e-api/proto/BattlePassMission.proto new file mode 100644 index 00000000..b726e1e1 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMission.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BattlePassMission { + uint32 cur_progress = 13; + MissionStatus mission_status = 15; + uint32 mission_id = 11; + uint32 reward_battle_pass_point = 3; + uint32 mission_type = 12; + uint32 total_progress = 6; + + enum MissionStatus { + MISSION_STATUS_INVALID = 0; + MISSION_STATUS_UNFINISHED = 1; + MISSION_STATUS_FINISHED = 2; + MISSION_STATUS_POINT_TAKEN = 3; + } +} diff --git a/gate-hk4e-api/proto/BattlePassMissionDelNotify.pb.go b/gate-hk4e-api/proto/BattlePassMissionDelNotify.pb.go new file mode 100644 index 00000000..5bafd62f --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMissionDelNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassMissionDelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2625 +// EnetChannelId: 0 +// EnetIsReliable: true +type BattlePassMissionDelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelMissionIdList []uint32 `protobuf:"varint,10,rep,packed,name=del_mission_id_list,json=delMissionIdList,proto3" json:"del_mission_id_list,omitempty"` +} + +func (x *BattlePassMissionDelNotify) Reset() { + *x = BattlePassMissionDelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassMissionDelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassMissionDelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassMissionDelNotify) ProtoMessage() {} + +func (x *BattlePassMissionDelNotify) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassMissionDelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassMissionDelNotify.ProtoReflect.Descriptor instead. +func (*BattlePassMissionDelNotify) Descriptor() ([]byte, []int) { + return file_BattlePassMissionDelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassMissionDelNotify) GetDelMissionIdList() []uint32 { + if x != nil { + return x.DelMissionIdList + } + return nil +} + +var File_BattlePassMissionDelNotify_proto protoreflect.FileDescriptor + +var file_BattlePassMissionDelNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x2d, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x64, + 0x65, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassMissionDelNotify_proto_rawDescOnce sync.Once + file_BattlePassMissionDelNotify_proto_rawDescData = file_BattlePassMissionDelNotify_proto_rawDesc +) + +func file_BattlePassMissionDelNotify_proto_rawDescGZIP() []byte { + file_BattlePassMissionDelNotify_proto_rawDescOnce.Do(func() { + file_BattlePassMissionDelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassMissionDelNotify_proto_rawDescData) + }) + return file_BattlePassMissionDelNotify_proto_rawDescData +} + +var file_BattlePassMissionDelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassMissionDelNotify_proto_goTypes = []interface{}{ + (*BattlePassMissionDelNotify)(nil), // 0: BattlePassMissionDelNotify +} +var file_BattlePassMissionDelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BattlePassMissionDelNotify_proto_init() } +func file_BattlePassMissionDelNotify_proto_init() { + if File_BattlePassMissionDelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BattlePassMissionDelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassMissionDelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassMissionDelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassMissionDelNotify_proto_goTypes, + DependencyIndexes: file_BattlePassMissionDelNotify_proto_depIdxs, + MessageInfos: file_BattlePassMissionDelNotify_proto_msgTypes, + }.Build() + File_BattlePassMissionDelNotify_proto = out.File + file_BattlePassMissionDelNotify_proto_rawDesc = nil + file_BattlePassMissionDelNotify_proto_goTypes = nil + file_BattlePassMissionDelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassMissionDelNotify.proto b/gate-hk4e-api/proto/BattlePassMissionDelNotify.proto new file mode 100644 index 00000000..8ded5e6f --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMissionDelNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2625 +// EnetChannelId: 0 +// EnetIsReliable: true +message BattlePassMissionDelNotify { + repeated uint32 del_mission_id_list = 10; +} diff --git a/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.pb.go b/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.pb.go new file mode 100644 index 00000000..2a852227 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassMissionUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2618 +// EnetChannelId: 0 +// EnetIsReliable: true +type BattlePassMissionUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MissionList []*BattlePassMission `protobuf:"bytes,1,rep,name=mission_list,json=missionList,proto3" json:"mission_list,omitempty"` +} + +func (x *BattlePassMissionUpdateNotify) Reset() { + *x = BattlePassMissionUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassMissionUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassMissionUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassMissionUpdateNotify) ProtoMessage() {} + +func (x *BattlePassMissionUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassMissionUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassMissionUpdateNotify.ProtoReflect.Descriptor instead. +func (*BattlePassMissionUpdateNotify) Descriptor() ([]byte, []int) { + return file_BattlePassMissionUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassMissionUpdateNotify) GetMissionList() []*BattlePassMission { + if x != nil { + return x.MissionList + } + return nil +} + +var File_BattlePassMissionUpdateNotify_proto protoreflect.FileDescriptor + +var file_BattlePassMissionUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, + 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, + 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x35, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, + 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassMissionUpdateNotify_proto_rawDescOnce sync.Once + file_BattlePassMissionUpdateNotify_proto_rawDescData = file_BattlePassMissionUpdateNotify_proto_rawDesc +) + +func file_BattlePassMissionUpdateNotify_proto_rawDescGZIP() []byte { + file_BattlePassMissionUpdateNotify_proto_rawDescOnce.Do(func() { + file_BattlePassMissionUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassMissionUpdateNotify_proto_rawDescData) + }) + return file_BattlePassMissionUpdateNotify_proto_rawDescData +} + +var file_BattlePassMissionUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassMissionUpdateNotify_proto_goTypes = []interface{}{ + (*BattlePassMissionUpdateNotify)(nil), // 0: BattlePassMissionUpdateNotify + (*BattlePassMission)(nil), // 1: BattlePassMission +} +var file_BattlePassMissionUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: BattlePassMissionUpdateNotify.mission_list:type_name -> BattlePassMission + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassMissionUpdateNotify_proto_init() } +func file_BattlePassMissionUpdateNotify_proto_init() { + if File_BattlePassMissionUpdateNotify_proto != nil { + return + } + file_BattlePassMission_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassMissionUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassMissionUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassMissionUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassMissionUpdateNotify_proto_goTypes, + DependencyIndexes: file_BattlePassMissionUpdateNotify_proto_depIdxs, + MessageInfos: file_BattlePassMissionUpdateNotify_proto_msgTypes, + }.Build() + File_BattlePassMissionUpdateNotify_proto = out.File + file_BattlePassMissionUpdateNotify_proto_rawDesc = nil + file_BattlePassMissionUpdateNotify_proto_goTypes = nil + file_BattlePassMissionUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.proto b/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.proto new file mode 100644 index 00000000..6c8e118d --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassMissionUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassMission.proto"; + +option go_package = "./;proto"; + +// CmdId: 2618 +// EnetChannelId: 0 +// EnetIsReliable: true +message BattlePassMissionUpdateNotify { + repeated BattlePassMission mission_list = 1; +} diff --git a/gate-hk4e-api/proto/BattlePassProduct.pb.go b/gate-hk4e-api/proto/BattlePassProduct.pb.go new file mode 100644 index 00000000..2ca6a67d --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassProduct.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassProduct.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassProduct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NormalProductId string `protobuf:"bytes,13,opt,name=normal_product_id,json=normalProductId,proto3" json:"normal_product_id,omitempty"` + ExtraProductId string `protobuf:"bytes,10,opt,name=extra_product_id,json=extraProductId,proto3" json:"extra_product_id,omitempty"` + UpgradeProductId string `protobuf:"bytes,6,opt,name=upgrade_product_id,json=upgradeProductId,proto3" json:"upgrade_product_id,omitempty"` +} + +func (x *BattlePassProduct) Reset() { + *x = BattlePassProduct{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassProduct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassProduct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassProduct) ProtoMessage() {} + +func (x *BattlePassProduct) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassProduct_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassProduct.ProtoReflect.Descriptor instead. +func (*BattlePassProduct) Descriptor() ([]byte, []int) { + return file_BattlePassProduct_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassProduct) GetNormalProductId() string { + if x != nil { + return x.NormalProductId + } + return "" +} + +func (x *BattlePassProduct) GetExtraProductId() string { + if x != nil { + return x.ExtraProductId + } + return "" +} + +func (x *BattlePassProduct) GetUpgradeProductId() string { + if x != nil { + return x.UpgradeProductId + } + return "" +} + +var File_BattlePassProduct_proto protoreflect.FileDescriptor + +var file_BattlePassProduct_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x11, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, + 0x2a, 0x0a, 0x11, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x65, + 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, + 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassProduct_proto_rawDescOnce sync.Once + file_BattlePassProduct_proto_rawDescData = file_BattlePassProduct_proto_rawDesc +) + +func file_BattlePassProduct_proto_rawDescGZIP() []byte { + file_BattlePassProduct_proto_rawDescOnce.Do(func() { + file_BattlePassProduct_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassProduct_proto_rawDescData) + }) + return file_BattlePassProduct_proto_rawDescData +} + +var file_BattlePassProduct_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassProduct_proto_goTypes = []interface{}{ + (*BattlePassProduct)(nil), // 0: BattlePassProduct +} +var file_BattlePassProduct_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BattlePassProduct_proto_init() } +func file_BattlePassProduct_proto_init() { + if File_BattlePassProduct_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BattlePassProduct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassProduct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassProduct_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassProduct_proto_goTypes, + DependencyIndexes: file_BattlePassProduct_proto_depIdxs, + MessageInfos: file_BattlePassProduct_proto_msgTypes, + }.Build() + File_BattlePassProduct_proto = out.File + file_BattlePassProduct_proto_rawDesc = nil + file_BattlePassProduct_proto_goTypes = nil + file_BattlePassProduct_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassProduct.proto b/gate-hk4e-api/proto/BattlePassProduct.proto new file mode 100644 index 00000000..b0e7cec0 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassProduct.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BattlePassProduct { + string normal_product_id = 13; + string extra_product_id = 10; + string upgrade_product_id = 6; +} diff --git a/gate-hk4e-api/proto/BattlePassRewardTag.pb.go b/gate-hk4e-api/proto/BattlePassRewardTag.pb.go new file mode 100644 index 00000000..0c4420f5 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassRewardTag.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassRewardTag.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassRewardTag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` + UnlockStatus BattlePassUnlockStatus `protobuf:"varint,2,opt,name=unlock_status,json=unlockStatus,proto3,enum=BattlePassUnlockStatus" json:"unlock_status,omitempty"` + RewardId uint32 `protobuf:"varint,7,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *BattlePassRewardTag) Reset() { + *x = BattlePassRewardTag{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassRewardTag_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassRewardTag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassRewardTag) ProtoMessage() {} + +func (x *BattlePassRewardTag) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassRewardTag_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassRewardTag.ProtoReflect.Descriptor instead. +func (*BattlePassRewardTag) Descriptor() ([]byte, []int) { + return file_BattlePassRewardTag_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassRewardTag) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *BattlePassRewardTag) GetUnlockStatus() BattlePassUnlockStatus { + if x != nil { + return x.UnlockStatus + } + return BattlePassUnlockStatus_BATTLE_PASS_UNLOCK_STATUS_INVALID +} + +func (x *BattlePassRewardTag) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_BattlePassRewardTag_proto protoreflect.FileDescriptor + +var file_BattlePassRewardTag_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, + 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, + 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassRewardTag_proto_rawDescOnce sync.Once + file_BattlePassRewardTag_proto_rawDescData = file_BattlePassRewardTag_proto_rawDesc +) + +func file_BattlePassRewardTag_proto_rawDescGZIP() []byte { + file_BattlePassRewardTag_proto_rawDescOnce.Do(func() { + file_BattlePassRewardTag_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassRewardTag_proto_rawDescData) + }) + return file_BattlePassRewardTag_proto_rawDescData +} + +var file_BattlePassRewardTag_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassRewardTag_proto_goTypes = []interface{}{ + (*BattlePassRewardTag)(nil), // 0: BattlePassRewardTag + (BattlePassUnlockStatus)(0), // 1: BattlePassUnlockStatus +} +var file_BattlePassRewardTag_proto_depIdxs = []int32{ + 1, // 0: BattlePassRewardTag.unlock_status:type_name -> BattlePassUnlockStatus + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassRewardTag_proto_init() } +func file_BattlePassRewardTag_proto_init() { + if File_BattlePassRewardTag_proto != nil { + return + } + file_BattlePassUnlockStatus_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassRewardTag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassRewardTag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassRewardTag_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassRewardTag_proto_goTypes, + DependencyIndexes: file_BattlePassRewardTag_proto_depIdxs, + MessageInfos: file_BattlePassRewardTag_proto_msgTypes, + }.Build() + File_BattlePassRewardTag_proto = out.File + file_BattlePassRewardTag_proto_rawDesc = nil + file_BattlePassRewardTag_proto_goTypes = nil + file_BattlePassRewardTag_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassRewardTag.proto b/gate-hk4e-api/proto/BattlePassRewardTag.proto new file mode 100644 index 00000000..d783b5d7 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassRewardTag.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassUnlockStatus.proto"; + +option go_package = "./;proto"; + +message BattlePassRewardTag { + uint32 level = 4; + BattlePassUnlockStatus unlock_status = 2; + uint32 reward_id = 7; +} diff --git a/gate-hk4e-api/proto/BattlePassRewardTakeOption.pb.go b/gate-hk4e-api/proto/BattlePassRewardTakeOption.pb.go new file mode 100644 index 00000000..b1ca430b --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassRewardTakeOption.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassRewardTakeOption.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassRewardTakeOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tag *BattlePassRewardTag `protobuf:"bytes,10,opt,name=tag,proto3" json:"tag,omitempty"` + OptionIdx uint32 `protobuf:"varint,14,opt,name=option_idx,json=optionIdx,proto3" json:"option_idx,omitempty"` +} + +func (x *BattlePassRewardTakeOption) Reset() { + *x = BattlePassRewardTakeOption{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassRewardTakeOption_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassRewardTakeOption) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassRewardTakeOption) ProtoMessage() {} + +func (x *BattlePassRewardTakeOption) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassRewardTakeOption_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassRewardTakeOption.ProtoReflect.Descriptor instead. +func (*BattlePassRewardTakeOption) Descriptor() ([]byte, []int) { + return file_BattlePassRewardTakeOption_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassRewardTakeOption) GetTag() *BattlePassRewardTag { + if x != nil { + return x.Tag + } + return nil +} + +func (x *BattlePassRewardTakeOption) GetOptionIdx() uint32 { + if x != nil { + return x.OptionIdx + } + return 0 +} + +var File_BattlePassRewardTakeOption_proto protoreflect.FileDescriptor + +var file_BattlePassRewardTakeOption_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, + 0x1a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x03, 0x74, + 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x67, 0x52, 0x03, + 0x74, 0x61, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassRewardTakeOption_proto_rawDescOnce sync.Once + file_BattlePassRewardTakeOption_proto_rawDescData = file_BattlePassRewardTakeOption_proto_rawDesc +) + +func file_BattlePassRewardTakeOption_proto_rawDescGZIP() []byte { + file_BattlePassRewardTakeOption_proto_rawDescOnce.Do(func() { + file_BattlePassRewardTakeOption_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassRewardTakeOption_proto_rawDescData) + }) + return file_BattlePassRewardTakeOption_proto_rawDescData +} + +var file_BattlePassRewardTakeOption_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassRewardTakeOption_proto_goTypes = []interface{}{ + (*BattlePassRewardTakeOption)(nil), // 0: BattlePassRewardTakeOption + (*BattlePassRewardTag)(nil), // 1: BattlePassRewardTag +} +var file_BattlePassRewardTakeOption_proto_depIdxs = []int32{ + 1, // 0: BattlePassRewardTakeOption.tag:type_name -> BattlePassRewardTag + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BattlePassRewardTakeOption_proto_init() } +func file_BattlePassRewardTakeOption_proto_init() { + if File_BattlePassRewardTakeOption_proto != nil { + return + } + file_BattlePassRewardTag_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassRewardTakeOption_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassRewardTakeOption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassRewardTakeOption_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassRewardTakeOption_proto_goTypes, + DependencyIndexes: file_BattlePassRewardTakeOption_proto_depIdxs, + MessageInfos: file_BattlePassRewardTakeOption_proto_msgTypes, + }.Build() + File_BattlePassRewardTakeOption_proto = out.File + file_BattlePassRewardTakeOption_proto_rawDesc = nil + file_BattlePassRewardTakeOption_proto_goTypes = nil + file_BattlePassRewardTakeOption_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassRewardTakeOption.proto b/gate-hk4e-api/proto/BattlePassRewardTakeOption.proto new file mode 100644 index 00000000..5de67831 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassRewardTakeOption.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassRewardTag.proto"; + +option go_package = "./;proto"; + +message BattlePassRewardTakeOption { + BattlePassRewardTag tag = 10; + uint32 option_idx = 14; +} diff --git a/gate-hk4e-api/proto/BattlePassSchedule.pb.go b/gate-hk4e-api/proto/BattlePassSchedule.pb.go new file mode 100644 index 00000000..316f155d --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassSchedule.pb.go @@ -0,0 +1,305 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassSchedule.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassSchedule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` + BeginTime uint32 `protobuf:"varint,2,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + EndTime uint32 `protobuf:"varint,15,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Point uint32 `protobuf:"varint,1,opt,name=point,proto3" json:"point,omitempty"` + CurCycle *BattlePassCycle `protobuf:"bytes,4,opt,name=cur_cycle,json=curCycle,proto3" json:"cur_cycle,omitempty"` + UnlockStatus BattlePassUnlockStatus `protobuf:"varint,7,opt,name=unlock_status,json=unlockStatus,proto3,enum=BattlePassUnlockStatus" json:"unlock_status,omitempty"` + RewardTakenList []*BattlePassRewardTag `protobuf:"bytes,11,rep,name=reward_taken_list,json=rewardTakenList,proto3" json:"reward_taken_list,omitempty"` + CurCyclePoints uint32 `protobuf:"varint,10,opt,name=cur_cycle_points,json=curCyclePoints,proto3" json:"cur_cycle_points,omitempty"` + Unk2700_ODHAAHEPFAG uint32 `protobuf:"varint,12,opt,name=Unk2700_ODHAAHEPFAG,json=Unk2700ODHAAHEPFAG,proto3" json:"Unk2700_ODHAAHEPFAG,omitempty"` + ProductInfo *BattlePassProduct `protobuf:"bytes,13,opt,name=product_info,json=productInfo,proto3" json:"product_info,omitempty"` + IsExtraPaidRewardTaken bool `protobuf:"varint,6,opt,name=is_extra_paid_reward_taken,json=isExtraPaidRewardTaken,proto3" json:"is_extra_paid_reward_taken,omitempty"` + IsViewed bool `protobuf:"varint,3,opt,name=is_viewed,json=isViewed,proto3" json:"is_viewed,omitempty"` + ScheduleId uint32 `protobuf:"varint,9,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *BattlePassSchedule) Reset() { + *x = BattlePassSchedule{} + if protoimpl.UnsafeEnabled { + mi := &file_BattlePassSchedule_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BattlePassSchedule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BattlePassSchedule) ProtoMessage() {} + +func (x *BattlePassSchedule) ProtoReflect() protoreflect.Message { + mi := &file_BattlePassSchedule_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BattlePassSchedule.ProtoReflect.Descriptor instead. +func (*BattlePassSchedule) Descriptor() ([]byte, []int) { + return file_BattlePassSchedule_proto_rawDescGZIP(), []int{0} +} + +func (x *BattlePassSchedule) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *BattlePassSchedule) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *BattlePassSchedule) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *BattlePassSchedule) GetPoint() uint32 { + if x != nil { + return x.Point + } + return 0 +} + +func (x *BattlePassSchedule) GetCurCycle() *BattlePassCycle { + if x != nil { + return x.CurCycle + } + return nil +} + +func (x *BattlePassSchedule) GetUnlockStatus() BattlePassUnlockStatus { + if x != nil { + return x.UnlockStatus + } + return BattlePassUnlockStatus_BATTLE_PASS_UNLOCK_STATUS_INVALID +} + +func (x *BattlePassSchedule) GetRewardTakenList() []*BattlePassRewardTag { + if x != nil { + return x.RewardTakenList + } + return nil +} + +func (x *BattlePassSchedule) GetCurCyclePoints() uint32 { + if x != nil { + return x.CurCyclePoints + } + return 0 +} + +func (x *BattlePassSchedule) GetUnk2700_ODHAAHEPFAG() uint32 { + if x != nil { + return x.Unk2700_ODHAAHEPFAG + } + return 0 +} + +func (x *BattlePassSchedule) GetProductInfo() *BattlePassProduct { + if x != nil { + return x.ProductInfo + } + return nil +} + +func (x *BattlePassSchedule) GetIsExtraPaidRewardTaken() bool { + if x != nil { + return x.IsExtraPaidRewardTaken + } + return false +} + +func (x *BattlePassSchedule) GetIsViewed() bool { + if x != nil { + return x.IsViewed + } + return false +} + +func (x *BattlePassSchedule) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_BattlePassSchedule_proto protoreflect.FileDescriptor + +var file_BattlePassSchedule_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, + 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x04, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, + 0x73, 0x73, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x2d, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x43, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x08, 0x63, 0x75, 0x72, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x12, + 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x0c, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x0a, + 0x11, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x67, 0x52, 0x0f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x28, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x43, 0x79, + 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x48, 0x41, 0x41, 0x48, 0x45, 0x50, 0x46, 0x41, 0x47, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, + 0x44, 0x48, 0x41, 0x41, 0x48, 0x45, 0x50, 0x46, 0x41, 0x47, 0x12, 0x35, 0x0a, 0x0c, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x3a, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x61, + 0x69, 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x45, 0x78, 0x74, 0x72, 0x61, 0x50, 0x61, + 0x69, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, + 0x09, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassSchedule_proto_rawDescOnce sync.Once + file_BattlePassSchedule_proto_rawDescData = file_BattlePassSchedule_proto_rawDesc +) + +func file_BattlePassSchedule_proto_rawDescGZIP() []byte { + file_BattlePassSchedule_proto_rawDescOnce.Do(func() { + file_BattlePassSchedule_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassSchedule_proto_rawDescData) + }) + return file_BattlePassSchedule_proto_rawDescData +} + +var file_BattlePassSchedule_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BattlePassSchedule_proto_goTypes = []interface{}{ + (*BattlePassSchedule)(nil), // 0: BattlePassSchedule + (*BattlePassCycle)(nil), // 1: BattlePassCycle + (BattlePassUnlockStatus)(0), // 2: BattlePassUnlockStatus + (*BattlePassRewardTag)(nil), // 3: BattlePassRewardTag + (*BattlePassProduct)(nil), // 4: BattlePassProduct +} +var file_BattlePassSchedule_proto_depIdxs = []int32{ + 1, // 0: BattlePassSchedule.cur_cycle:type_name -> BattlePassCycle + 2, // 1: BattlePassSchedule.unlock_status:type_name -> BattlePassUnlockStatus + 3, // 2: BattlePassSchedule.reward_taken_list:type_name -> BattlePassRewardTag + 4, // 3: BattlePassSchedule.product_info:type_name -> BattlePassProduct + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_BattlePassSchedule_proto_init() } +func file_BattlePassSchedule_proto_init() { + if File_BattlePassSchedule_proto != nil { + return + } + file_BattlePassCycle_proto_init() + file_BattlePassProduct_proto_init() + file_BattlePassRewardTag_proto_init() + file_BattlePassUnlockStatus_proto_init() + if !protoimpl.UnsafeEnabled { + file_BattlePassSchedule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BattlePassSchedule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassSchedule_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassSchedule_proto_goTypes, + DependencyIndexes: file_BattlePassSchedule_proto_depIdxs, + MessageInfos: file_BattlePassSchedule_proto_msgTypes, + }.Build() + File_BattlePassSchedule_proto = out.File + file_BattlePassSchedule_proto_rawDesc = nil + file_BattlePassSchedule_proto_goTypes = nil + file_BattlePassSchedule_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassSchedule.proto b/gate-hk4e-api/proto/BattlePassSchedule.proto new file mode 100644 index 00000000..09a1193b --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassSchedule.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassCycle.proto"; +import "BattlePassProduct.proto"; +import "BattlePassRewardTag.proto"; +import "BattlePassUnlockStatus.proto"; + +option go_package = "./;proto"; + +message BattlePassSchedule { + uint32 level = 14; + uint32 begin_time = 2; + uint32 end_time = 15; + uint32 point = 1; + BattlePassCycle cur_cycle = 4; + BattlePassUnlockStatus unlock_status = 7; + repeated BattlePassRewardTag reward_taken_list = 11; + uint32 cur_cycle_points = 10; + uint32 Unk2700_ODHAAHEPFAG = 12; + BattlePassProduct product_info = 13; + bool is_extra_paid_reward_taken = 6; + bool is_viewed = 3; + uint32 schedule_id = 9; +} diff --git a/gate-hk4e-api/proto/BattlePassUnlockStatus.pb.go b/gate-hk4e-api/proto/BattlePassUnlockStatus.pb.go new file mode 100644 index 00000000..215e6035 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassUnlockStatus.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BattlePassUnlockStatus.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BattlePassUnlockStatus int32 + +const ( + BattlePassUnlockStatus_BATTLE_PASS_UNLOCK_STATUS_INVALID BattlePassUnlockStatus = 0 + BattlePassUnlockStatus_BATTLE_PASS_UNLOCK_STATUS_FREE BattlePassUnlockStatus = 1 + BattlePassUnlockStatus_BATTLE_PASS_UNLOCK_STATUS_PAID BattlePassUnlockStatus = 2 +) + +// Enum value maps for BattlePassUnlockStatus. +var ( + BattlePassUnlockStatus_name = map[int32]string{ + 0: "BATTLE_PASS_UNLOCK_STATUS_INVALID", + 1: "BATTLE_PASS_UNLOCK_STATUS_FREE", + 2: "BATTLE_PASS_UNLOCK_STATUS_PAID", + } + BattlePassUnlockStatus_value = map[string]int32{ + "BATTLE_PASS_UNLOCK_STATUS_INVALID": 0, + "BATTLE_PASS_UNLOCK_STATUS_FREE": 1, + "BATTLE_PASS_UNLOCK_STATUS_PAID": 2, + } +) + +func (x BattlePassUnlockStatus) Enum() *BattlePassUnlockStatus { + p := new(BattlePassUnlockStatus) + *p = x + return p +} + +func (x BattlePassUnlockStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BattlePassUnlockStatus) Descriptor() protoreflect.EnumDescriptor { + return file_BattlePassUnlockStatus_proto_enumTypes[0].Descriptor() +} + +func (BattlePassUnlockStatus) Type() protoreflect.EnumType { + return &file_BattlePassUnlockStatus_proto_enumTypes[0] +} + +func (x BattlePassUnlockStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BattlePassUnlockStatus.Descriptor instead. +func (BattlePassUnlockStatus) EnumDescriptor() ([]byte, []int) { + return file_BattlePassUnlockStatus_proto_rawDescGZIP(), []int{0} +} + +var File_BattlePassUnlockStatus_proto protoreflect.FileDescriptor + +var file_BattlePassUnlockStatus_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x87, + 0x01, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x21, 0x42, 0x41, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, + 0x12, 0x22, 0x0a, 0x1e, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, + 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x52, + 0x45, 0x45, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x50, + 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x50, 0x41, 0x49, 0x44, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BattlePassUnlockStatus_proto_rawDescOnce sync.Once + file_BattlePassUnlockStatus_proto_rawDescData = file_BattlePassUnlockStatus_proto_rawDesc +) + +func file_BattlePassUnlockStatus_proto_rawDescGZIP() []byte { + file_BattlePassUnlockStatus_proto_rawDescOnce.Do(func() { + file_BattlePassUnlockStatus_proto_rawDescData = protoimpl.X.CompressGZIP(file_BattlePassUnlockStatus_proto_rawDescData) + }) + return file_BattlePassUnlockStatus_proto_rawDescData +} + +var file_BattlePassUnlockStatus_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_BattlePassUnlockStatus_proto_goTypes = []interface{}{ + (BattlePassUnlockStatus)(0), // 0: BattlePassUnlockStatus +} +var file_BattlePassUnlockStatus_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BattlePassUnlockStatus_proto_init() } +func file_BattlePassUnlockStatus_proto_init() { + if File_BattlePassUnlockStatus_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BattlePassUnlockStatus_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BattlePassUnlockStatus_proto_goTypes, + DependencyIndexes: file_BattlePassUnlockStatus_proto_depIdxs, + EnumInfos: file_BattlePassUnlockStatus_proto_enumTypes, + }.Build() + File_BattlePassUnlockStatus_proto = out.File + file_BattlePassUnlockStatus_proto_rawDesc = nil + file_BattlePassUnlockStatus_proto_goTypes = nil + file_BattlePassUnlockStatus_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BattlePassUnlockStatus.proto b/gate-hk4e-api/proto/BattlePassUnlockStatus.proto new file mode 100644 index 00000000..550c21e8 --- /dev/null +++ b/gate-hk4e-api/proto/BattlePassUnlockStatus.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum BattlePassUnlockStatus { + BATTLE_PASS_UNLOCK_STATUS_INVALID = 0; + BATTLE_PASS_UNLOCK_STATUS_FREE = 1; + BATTLE_PASS_UNLOCK_STATUS_PAID = 2; +} diff --git a/gate-hk4e-api/proto/BeginCameraSceneLookNotify.pb.go b/gate-hk4e-api/proto/BeginCameraSceneLookNotify.pb.go new file mode 100644 index 00000000..dae53f9b --- /dev/null +++ b/gate-hk4e-api/proto/BeginCameraSceneLookNotify.pb.go @@ -0,0 +1,428 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BeginCameraSceneLookNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD int32 + +const ( + BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD_Unk2700_ACOENBMDFBP BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD = 0 + BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD_Unk2700_FKBLCDFLCOM BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD = 1 +) + +// Enum value maps for BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD. +var ( + BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD_name = map[int32]string{ + 0: "Unk2700_LNCHDDOOECD_Unk2700_ACOENBMDFBP", + 1: "Unk2700_LNCHDDOOECD_Unk2700_FKBLCDFLCOM", + } + BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD_value = map[string]int32{ + "Unk2700_LNCHDDOOECD_Unk2700_ACOENBMDFBP": 0, + "Unk2700_LNCHDDOOECD_Unk2700_FKBLCDFLCOM": 1, + } +) + +func (x BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) Enum() *BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD { + p := new(BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) + *p = x + return p +} + +func (x BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) Descriptor() protoreflect.EnumDescriptor { + return file_BeginCameraSceneLookNotify_proto_enumTypes[0].Descriptor() +} + +func (BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) Type() protoreflect.EnumType { + return &file_BeginCameraSceneLookNotify_proto_enumTypes[0] +} + +func (x BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD.Descriptor instead. +func (BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD) EnumDescriptor() ([]byte, []int) { + return file_BeginCameraSceneLookNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 270 +// EnetChannelId: 0 +// EnetIsReliable: true +type BeginCameraSceneLookNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_MNLLCJMPMNH uint32 `protobuf:"varint,1154,opt,name=Unk3000_MNLLCJMPMNH,json=Unk3000MNLLCJMPMNH,proto3" json:"Unk3000_MNLLCJMPMNH,omitempty"` + Unk2700_DHAHEKOGHBJ float32 `protobuf:"fixed32,7,opt,name=Unk2700_DHAHEKOGHBJ,json=Unk2700DHAHEKOGHBJ,proto3" json:"Unk2700_DHAHEKOGHBJ,omitempty"` + IsSetScreenXy bool `protobuf:"varint,5,opt,name=is_set_screen_xy,json=isSetScreenXy,proto3" json:"is_set_screen_xy,omitempty"` + LookPos *Vector `protobuf:"bytes,4,opt,name=look_pos,json=lookPos,proto3" json:"look_pos,omitempty"` + IsRecoverKeepCurrent bool `protobuf:"varint,11,opt,name=is_recover_keep_current,json=isRecoverKeepCurrent,proto3" json:"is_recover_keep_current,omitempty"` + Unk3000_GOPIFPMFEPB bool `protobuf:"varint,1375,opt,name=Unk3000_GOPIFPMFEPB,json=Unk3000GOPIFPMFEPB,proto3" json:"Unk3000_GOPIFPMFEPB,omitempty"` + Unk2700_HIAKNNCKHJB BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD `protobuf:"varint,6,opt,name=Unk2700_HIAKNNCKHJB,json=Unk2700HIAKNNCKHJB,proto3,enum=BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD" json:"Unk2700_HIAKNNCKHJB,omitempty"` + IsChangePlayMode bool `protobuf:"varint,9,opt,name=is_change_play_mode,json=isChangePlayMode,proto3" json:"is_change_play_mode,omitempty"` + Unk3000_IEFIKMHCKDH uint32 `protobuf:"varint,1103,opt,name=Unk3000_IEFIKMHCKDH,json=Unk3000IEFIKMHCKDH,proto3" json:"Unk3000_IEFIKMHCKDH,omitempty"` + ScreenY float32 `protobuf:"fixed32,15,opt,name=screen_y,json=screenY,proto3" json:"screen_y,omitempty"` + IsSetFollowPos bool `protobuf:"varint,13,opt,name=is_set_follow_pos,json=isSetFollowPos,proto3" json:"is_set_follow_pos,omitempty"` + IsForce bool `protobuf:"varint,12,opt,name=is_force,json=isForce,proto3" json:"is_force,omitempty"` + Unk3000_OGCLMFFADBD float32 `protobuf:"fixed32,1758,opt,name=Unk3000_OGCLMFFADBD,json=Unk3000OGCLMFFADBD,proto3" json:"Unk3000_OGCLMFFADBD,omitempty"` + EntityId uint32 `protobuf:"varint,1327,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ScreenX float32 `protobuf:"fixed32,3,opt,name=screen_x,json=screenX,proto3" json:"screen_x,omitempty"` + IsForceWalk bool `protobuf:"varint,10,opt,name=is_force_walk,json=isForceWalk,proto3" json:"is_force_walk,omitempty"` + OtherParams []string `protobuf:"bytes,1,rep,name=other_params,json=otherParams,proto3" json:"other_params,omitempty"` + FollowPos *Vector `protobuf:"bytes,8,opt,name=follow_pos,json=followPos,proto3" json:"follow_pos,omitempty"` + IsAllowInput bool `protobuf:"varint,2,opt,name=is_allow_input,json=isAllowInput,proto3" json:"is_allow_input,omitempty"` + Duration float32 `protobuf:"fixed32,14,opt,name=duration,proto3" json:"duration,omitempty"` +} + +func (x *BeginCameraSceneLookNotify) Reset() { + *x = BeginCameraSceneLookNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BeginCameraSceneLookNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginCameraSceneLookNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginCameraSceneLookNotify) ProtoMessage() {} + +func (x *BeginCameraSceneLookNotify) ProtoReflect() protoreflect.Message { + mi := &file_BeginCameraSceneLookNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginCameraSceneLookNotify.ProtoReflect.Descriptor instead. +func (*BeginCameraSceneLookNotify) Descriptor() ([]byte, []int) { + return file_BeginCameraSceneLookNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BeginCameraSceneLookNotify) GetUnk3000_MNLLCJMPMNH() uint32 { + if x != nil { + return x.Unk3000_MNLLCJMPMNH + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetUnk2700_DHAHEKOGHBJ() float32 { + if x != nil { + return x.Unk2700_DHAHEKOGHBJ + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetIsSetScreenXy() bool { + if x != nil { + return x.IsSetScreenXy + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetLookPos() *Vector { + if x != nil { + return x.LookPos + } + return nil +} + +func (x *BeginCameraSceneLookNotify) GetIsRecoverKeepCurrent() bool { + if x != nil { + return x.IsRecoverKeepCurrent + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetUnk3000_GOPIFPMFEPB() bool { + if x != nil { + return x.Unk3000_GOPIFPMFEPB + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetUnk2700_HIAKNNCKHJB() BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD { + if x != nil { + return x.Unk2700_HIAKNNCKHJB + } + return BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD_Unk2700_ACOENBMDFBP +} + +func (x *BeginCameraSceneLookNotify) GetIsChangePlayMode() bool { + if x != nil { + return x.IsChangePlayMode + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetUnk3000_IEFIKMHCKDH() uint32 { + if x != nil { + return x.Unk3000_IEFIKMHCKDH + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetScreenY() float32 { + if x != nil { + return x.ScreenY + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetIsSetFollowPos() bool { + if x != nil { + return x.IsSetFollowPos + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetIsForce() bool { + if x != nil { + return x.IsForce + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetUnk3000_OGCLMFFADBD() float32 { + if x != nil { + return x.Unk3000_OGCLMFFADBD + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetScreenX() float32 { + if x != nil { + return x.ScreenX + } + return 0 +} + +func (x *BeginCameraSceneLookNotify) GetIsForceWalk() bool { + if x != nil { + return x.IsForceWalk + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetOtherParams() []string { + if x != nil { + return x.OtherParams + } + return nil +} + +func (x *BeginCameraSceneLookNotify) GetFollowPos() *Vector { + if x != nil { + return x.FollowPos + } + return nil +} + +func (x *BeginCameraSceneLookNotify) GetIsAllowInput() bool { + if x != nil { + return x.IsAllowInput + } + return false +} + +func (x *BeginCameraSceneLookNotify) GetDuration() float32 { + if x != nil { + return x.Duration + } + return 0 +} + +var File_BeginCameraSceneLookNotify_proto protoreflect.FileDescriptor + +var file_BeginCameraSceneLookNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe6, 0x07, 0x0a, 0x1a, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x4c, 0x4c, 0x43, + 0x4a, 0x4d, 0x50, 0x4d, 0x4e, 0x48, 0x18, 0x82, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4e, 0x4c, 0x4c, 0x43, 0x4a, 0x4d, 0x50, 0x4d, 0x4e, + 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x41, + 0x48, 0x45, 0x4b, 0x4f, 0x47, 0x48, 0x42, 0x4a, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x48, 0x41, 0x48, 0x45, 0x4b, 0x4f, 0x47, 0x48, + 0x42, 0x4a, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x63, 0x72, + 0x65, 0x65, 0x6e, 0x5f, 0x78, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x53, 0x65, 0x74, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x58, 0x79, 0x12, 0x22, 0x0a, 0x08, 0x6c, + 0x6f, 0x6f, 0x6b, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x50, 0x6f, 0x73, 0x12, + 0x35, 0x0a, 0x17, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x6b, 0x65, + 0x65, 0x70, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x14, 0x69, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x65, 0x70, 0x43, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x47, 0x4f, 0x50, 0x49, 0x46, 0x50, 0x4d, 0x46, 0x45, 0x50, 0x42, 0x18, 0xdf, 0x0a, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x4f, 0x50, + 0x49, 0x46, 0x50, 0x4d, 0x46, 0x45, 0x50, 0x42, 0x12, 0x60, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x41, 0x4b, 0x4e, 0x4e, 0x43, 0x4b, 0x48, 0x4a, 0x42, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x43, 0x61, 0x6d, + 0x65, 0x72, 0x61, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x48, 0x44, + 0x44, 0x4f, 0x4f, 0x45, 0x43, 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x49, 0x41, 0x4b, 0x4e, 0x4e, 0x43, 0x4b, 0x48, 0x4a, 0x42, 0x12, 0x2d, 0x0a, 0x13, 0x69, 0x73, + 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x46, 0x49, 0x4b, 0x4d, 0x48, 0x43, 0x4b, 0x44, 0x48, + 0x18, 0xcf, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x49, 0x45, 0x46, 0x49, 0x4b, 0x4d, 0x48, 0x43, 0x4b, 0x44, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x73, + 0x63, 0x72, 0x65, 0x65, 0x6e, 0x59, 0x12, 0x29, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, + 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0e, 0x69, 0x73, 0x53, 0x65, 0x74, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x6f, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x43, 0x4c, 0x4d, 0x46, 0x46, 0x41, + 0x44, 0x42, 0x44, 0x18, 0xde, 0x0d, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4f, 0x47, 0x43, 0x4c, 0x4d, 0x46, 0x46, 0x41, 0x44, 0x42, 0x44, 0x12, 0x1c, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0xaf, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, + 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x58, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x5f, 0x77, 0x61, 0x6c, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x69, 0x73, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x57, 0x61, 0x6c, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x6f, + 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x26, + 0x0a, 0x0a, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x66, 0x6f, 0x6c, + 0x6c, 0x6f, 0x77, 0x50, 0x6f, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x48, 0x44, 0x44, 0x4f, 0x4f, 0x45, 0x43, 0x44, 0x12, + 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x48, 0x44, + 0x44, 0x4f, 0x4f, 0x45, 0x43, 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x43, 0x4f, 0x45, 0x4e, 0x42, 0x4d, 0x44, 0x46, 0x42, 0x50, 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x48, 0x44, 0x44, 0x4f, 0x4f, + 0x45, 0x43, 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4b, 0x42, 0x4c, + 0x43, 0x44, 0x46, 0x4c, 0x43, 0x4f, 0x4d, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BeginCameraSceneLookNotify_proto_rawDescOnce sync.Once + file_BeginCameraSceneLookNotify_proto_rawDescData = file_BeginCameraSceneLookNotify_proto_rawDesc +) + +func file_BeginCameraSceneLookNotify_proto_rawDescGZIP() []byte { + file_BeginCameraSceneLookNotify_proto_rawDescOnce.Do(func() { + file_BeginCameraSceneLookNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BeginCameraSceneLookNotify_proto_rawDescData) + }) + return file_BeginCameraSceneLookNotify_proto_rawDescData +} + +var file_BeginCameraSceneLookNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_BeginCameraSceneLookNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BeginCameraSceneLookNotify_proto_goTypes = []interface{}{ + (BeginCameraSceneLookNotify_Unk2700_LNCHDDOOECD)(0), // 0: BeginCameraSceneLookNotify.Unk2700_LNCHDDOOECD + (*BeginCameraSceneLookNotify)(nil), // 1: BeginCameraSceneLookNotify + (*Vector)(nil), // 2: Vector +} +var file_BeginCameraSceneLookNotify_proto_depIdxs = []int32{ + 2, // 0: BeginCameraSceneLookNotify.look_pos:type_name -> Vector + 0, // 1: BeginCameraSceneLookNotify.Unk2700_HIAKNNCKHJB:type_name -> BeginCameraSceneLookNotify.Unk2700_LNCHDDOOECD + 2, // 2: BeginCameraSceneLookNotify.follow_pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_BeginCameraSceneLookNotify_proto_init() } +func file_BeginCameraSceneLookNotify_proto_init() { + if File_BeginCameraSceneLookNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_BeginCameraSceneLookNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeginCameraSceneLookNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BeginCameraSceneLookNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BeginCameraSceneLookNotify_proto_goTypes, + DependencyIndexes: file_BeginCameraSceneLookNotify_proto_depIdxs, + EnumInfos: file_BeginCameraSceneLookNotify_proto_enumTypes, + MessageInfos: file_BeginCameraSceneLookNotify_proto_msgTypes, + }.Build() + File_BeginCameraSceneLookNotify_proto = out.File + file_BeginCameraSceneLookNotify_proto_rawDesc = nil + file_BeginCameraSceneLookNotify_proto_goTypes = nil + file_BeginCameraSceneLookNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BeginCameraSceneLookNotify.proto b/gate-hk4e-api/proto/BeginCameraSceneLookNotify.proto new file mode 100644 index 00000000..35cd64f5 --- /dev/null +++ b/gate-hk4e-api/proto/BeginCameraSceneLookNotify.proto @@ -0,0 +1,52 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 270 +// EnetChannelId: 0 +// EnetIsReliable: true +message BeginCameraSceneLookNotify { + uint32 Unk3000_MNLLCJMPMNH = 1154; + float Unk2700_DHAHEKOGHBJ = 7; + bool is_set_screen_xy = 5; + Vector look_pos = 4; + bool is_recover_keep_current = 11; + bool Unk3000_GOPIFPMFEPB = 1375; + Unk2700_LNCHDDOOECD Unk2700_HIAKNNCKHJB = 6; + bool is_change_play_mode = 9; + uint32 Unk3000_IEFIKMHCKDH = 1103; + float screen_y = 15; + bool is_set_follow_pos = 13; + bool is_force = 12; + float Unk3000_OGCLMFFADBD = 1758; + uint32 entity_id = 1327; + float screen_x = 3; + bool is_force_walk = 10; + repeated string other_params = 1; + Vector follow_pos = 8; + bool is_allow_input = 2; + float duration = 14; + + enum Unk2700_LNCHDDOOECD { + Unk2700_LNCHDDOOECD_Unk2700_ACOENBMDFBP = 0; + Unk2700_LNCHDDOOECD_Unk2700_FKBLCDFLCOM = 1; + } +} diff --git a/gate-hk4e-api/proto/BigTalentPointConvertReq.pb.go b/gate-hk4e-api/proto/BigTalentPointConvertReq.pb.go new file mode 100644 index 00000000..2ee3ff14 --- /dev/null +++ b/gate-hk4e-api/proto/BigTalentPointConvertReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BigTalentPointConvertReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1007 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BigTalentPointConvertReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemGuidList []uint64 `protobuf:"varint,6,rep,packed,name=item_guid_list,json=itemGuidList,proto3" json:"item_guid_list,omitempty"` + AvatarGuid uint64 `protobuf:"varint,3,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *BigTalentPointConvertReq) Reset() { + *x = BigTalentPointConvertReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BigTalentPointConvertReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BigTalentPointConvertReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BigTalentPointConvertReq) ProtoMessage() {} + +func (x *BigTalentPointConvertReq) ProtoReflect() protoreflect.Message { + mi := &file_BigTalentPointConvertReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BigTalentPointConvertReq.ProtoReflect.Descriptor instead. +func (*BigTalentPointConvertReq) Descriptor() ([]byte, []int) { + return file_BigTalentPointConvertReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BigTalentPointConvertReq) GetItemGuidList() []uint64 { + if x != nil { + return x.ItemGuidList + } + return nil +} + +func (x *BigTalentPointConvertReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_BigTalentPointConvertReq_proto protoreflect.FileDescriptor + +var file_BigTalentPointConvertReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x69, 0x67, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x61, 0x0a, 0x18, 0x42, 0x69, 0x67, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0e, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x74, 0x65, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BigTalentPointConvertReq_proto_rawDescOnce sync.Once + file_BigTalentPointConvertReq_proto_rawDescData = file_BigTalentPointConvertReq_proto_rawDesc +) + +func file_BigTalentPointConvertReq_proto_rawDescGZIP() []byte { + file_BigTalentPointConvertReq_proto_rawDescOnce.Do(func() { + file_BigTalentPointConvertReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BigTalentPointConvertReq_proto_rawDescData) + }) + return file_BigTalentPointConvertReq_proto_rawDescData +} + +var file_BigTalentPointConvertReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BigTalentPointConvertReq_proto_goTypes = []interface{}{ + (*BigTalentPointConvertReq)(nil), // 0: BigTalentPointConvertReq +} +var file_BigTalentPointConvertReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BigTalentPointConvertReq_proto_init() } +func file_BigTalentPointConvertReq_proto_init() { + if File_BigTalentPointConvertReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BigTalentPointConvertReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BigTalentPointConvertReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BigTalentPointConvertReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BigTalentPointConvertReq_proto_goTypes, + DependencyIndexes: file_BigTalentPointConvertReq_proto_depIdxs, + MessageInfos: file_BigTalentPointConvertReq_proto_msgTypes, + }.Build() + File_BigTalentPointConvertReq_proto = out.File + file_BigTalentPointConvertReq_proto_rawDesc = nil + file_BigTalentPointConvertReq_proto_goTypes = nil + file_BigTalentPointConvertReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BigTalentPointConvertReq.proto b/gate-hk4e-api/proto/BigTalentPointConvertReq.proto new file mode 100644 index 00000000..7ead4e70 --- /dev/null +++ b/gate-hk4e-api/proto/BigTalentPointConvertReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1007 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BigTalentPointConvertReq { + repeated uint64 item_guid_list = 6; + uint64 avatar_guid = 3; +} diff --git a/gate-hk4e-api/proto/BigTalentPointConvertRsp.pb.go b/gate-hk4e-api/proto/BigTalentPointConvertRsp.pb.go new file mode 100644 index 00000000..b7bd8b9f --- /dev/null +++ b/gate-hk4e-api/proto/BigTalentPointConvertRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BigTalentPointConvertRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1021 +// EnetChannelId: 0 +// EnetIsReliable: true +type BigTalentPointConvertRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarGuid uint64 `protobuf:"varint,8,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *BigTalentPointConvertRsp) Reset() { + *x = BigTalentPointConvertRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BigTalentPointConvertRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BigTalentPointConvertRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BigTalentPointConvertRsp) ProtoMessage() {} + +func (x *BigTalentPointConvertRsp) ProtoReflect() protoreflect.Message { + mi := &file_BigTalentPointConvertRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BigTalentPointConvertRsp.ProtoReflect.Descriptor instead. +func (*BigTalentPointConvertRsp) Descriptor() ([]byte, []int) { + return file_BigTalentPointConvertRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BigTalentPointConvertRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BigTalentPointConvertRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_BigTalentPointConvertRsp_proto protoreflect.FileDescriptor + +var file_BigTalentPointConvertRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x69, 0x67, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x55, 0x0a, 0x18, 0x42, 0x69, 0x67, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BigTalentPointConvertRsp_proto_rawDescOnce sync.Once + file_BigTalentPointConvertRsp_proto_rawDescData = file_BigTalentPointConvertRsp_proto_rawDesc +) + +func file_BigTalentPointConvertRsp_proto_rawDescGZIP() []byte { + file_BigTalentPointConvertRsp_proto_rawDescOnce.Do(func() { + file_BigTalentPointConvertRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BigTalentPointConvertRsp_proto_rawDescData) + }) + return file_BigTalentPointConvertRsp_proto_rawDescData +} + +var file_BigTalentPointConvertRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BigTalentPointConvertRsp_proto_goTypes = []interface{}{ + (*BigTalentPointConvertRsp)(nil), // 0: BigTalentPointConvertRsp +} +var file_BigTalentPointConvertRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BigTalentPointConvertRsp_proto_init() } +func file_BigTalentPointConvertRsp_proto_init() { + if File_BigTalentPointConvertRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BigTalentPointConvertRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BigTalentPointConvertRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BigTalentPointConvertRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BigTalentPointConvertRsp_proto_goTypes, + DependencyIndexes: file_BigTalentPointConvertRsp_proto_depIdxs, + MessageInfos: file_BigTalentPointConvertRsp_proto_msgTypes, + }.Build() + File_BigTalentPointConvertRsp_proto = out.File + file_BigTalentPointConvertRsp_proto_rawDesc = nil + file_BigTalentPointConvertRsp_proto_goTypes = nil + file_BigTalentPointConvertRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BigTalentPointConvertRsp.proto b/gate-hk4e-api/proto/BigTalentPointConvertRsp.proto new file mode 100644 index 00000000..84c8f5fc --- /dev/null +++ b/gate-hk4e-api/proto/BigTalentPointConvertRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1021 +// EnetChannelId: 0 +// EnetIsReliable: true +message BigTalentPointConvertRsp { + int32 retcode = 1; + uint64 avatar_guid = 8; +} diff --git a/gate-hk4e-api/proto/Birthday.pb.go b/gate-hk4e-api/proto/Birthday.pb.go new file mode 100644 index 00000000..5d2cda2f --- /dev/null +++ b/gate-hk4e-api/proto/Birthday.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Birthday.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Birthday struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Month uint32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty"` + Day uint32 `protobuf:"varint,2,opt,name=day,proto3" json:"day,omitempty"` +} + +func (x *Birthday) Reset() { + *x = Birthday{} + if protoimpl.UnsafeEnabled { + mi := &file_Birthday_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Birthday) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Birthday) ProtoMessage() {} + +func (x *Birthday) ProtoReflect() protoreflect.Message { + mi := &file_Birthday_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Birthday.ProtoReflect.Descriptor instead. +func (*Birthday) Descriptor() ([]byte, []int) { + return file_Birthday_proto_rawDescGZIP(), []int{0} +} + +func (x *Birthday) GetMonth() uint32 { + if x != nil { + return x.Month + } + return 0 +} + +func (x *Birthday) GetDay() uint32 { + if x != nil { + return x.Day + } + return 0 +} + +var File_Birthday_proto protoreflect.FileDescriptor + +var file_Birthday_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x32, 0x0a, 0x08, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x6f, 0x6e, + 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x64, 0x61, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Birthday_proto_rawDescOnce sync.Once + file_Birthday_proto_rawDescData = file_Birthday_proto_rawDesc +) + +func file_Birthday_proto_rawDescGZIP() []byte { + file_Birthday_proto_rawDescOnce.Do(func() { + file_Birthday_proto_rawDescData = protoimpl.X.CompressGZIP(file_Birthday_proto_rawDescData) + }) + return file_Birthday_proto_rawDescData +} + +var file_Birthday_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Birthday_proto_goTypes = []interface{}{ + (*Birthday)(nil), // 0: Birthday +} +var file_Birthday_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Birthday_proto_init() } +func file_Birthday_proto_init() { + if File_Birthday_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Birthday_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Birthday); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Birthday_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Birthday_proto_goTypes, + DependencyIndexes: file_Birthday_proto_depIdxs, + MessageInfos: file_Birthday_proto_msgTypes, + }.Build() + File_Birthday_proto = out.File + file_Birthday_proto_rawDesc = nil + file_Birthday_proto_goTypes = nil + file_Birthday_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Birthday.proto b/gate-hk4e-api/proto/Birthday.proto new file mode 100644 index 00000000..0d9e5ca6 --- /dev/null +++ b/gate-hk4e-api/proto/Birthday.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Birthday { + uint32 month = 1; + uint32 day = 2; +} diff --git a/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.pb.go b/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.pb.go new file mode 100644 index 00000000..86564c24 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingAcceptAllGivePicReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2045 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingAcceptAllGivePicReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BlessingAcceptAllGivePicReq) Reset() { + *x = BlessingAcceptAllGivePicReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingAcceptAllGivePicReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingAcceptAllGivePicReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingAcceptAllGivePicReq) ProtoMessage() {} + +func (x *BlessingAcceptAllGivePicReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingAcceptAllGivePicReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingAcceptAllGivePicReq.ProtoReflect.Descriptor instead. +func (*BlessingAcceptAllGivePicReq) Descriptor() ([]byte, []int) { + return file_BlessingAcceptAllGivePicReq_proto_rawDescGZIP(), []int{0} +} + +var File_BlessingAcceptAllGivePicReq_proto protoreflect.FileDescriptor + +var file_BlessingAcceptAllGivePicReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingAcceptAllGivePicReq_proto_rawDescOnce sync.Once + file_BlessingAcceptAllGivePicReq_proto_rawDescData = file_BlessingAcceptAllGivePicReq_proto_rawDesc +) + +func file_BlessingAcceptAllGivePicReq_proto_rawDescGZIP() []byte { + file_BlessingAcceptAllGivePicReq_proto_rawDescOnce.Do(func() { + file_BlessingAcceptAllGivePicReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingAcceptAllGivePicReq_proto_rawDescData) + }) + return file_BlessingAcceptAllGivePicReq_proto_rawDescData +} + +var file_BlessingAcceptAllGivePicReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingAcceptAllGivePicReq_proto_goTypes = []interface{}{ + (*BlessingAcceptAllGivePicReq)(nil), // 0: BlessingAcceptAllGivePicReq +} +var file_BlessingAcceptAllGivePicReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingAcceptAllGivePicReq_proto_init() } +func file_BlessingAcceptAllGivePicReq_proto_init() { + if File_BlessingAcceptAllGivePicReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingAcceptAllGivePicReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingAcceptAllGivePicReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingAcceptAllGivePicReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingAcceptAllGivePicReq_proto_goTypes, + DependencyIndexes: file_BlessingAcceptAllGivePicReq_proto_depIdxs, + MessageInfos: file_BlessingAcceptAllGivePicReq_proto_msgTypes, + }.Build() + File_BlessingAcceptAllGivePicReq_proto = out.File + file_BlessingAcceptAllGivePicReq_proto_rawDesc = nil + file_BlessingAcceptAllGivePicReq_proto_goTypes = nil + file_BlessingAcceptAllGivePicReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.proto b/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.proto new file mode 100644 index 00000000..f6e10f19 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptAllGivePicReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2045 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingAcceptAllGivePicReq {} diff --git a/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.pb.go b/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.pb.go new file mode 100644 index 00000000..47d33869 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingAcceptAllGivePicRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2044 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingAcceptAllGivePicRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + AcceptPicNumMap map[uint32]uint32 `protobuf:"bytes,14,rep,name=accept_pic_num_map,json=acceptPicNumMap,proto3" json:"accept_pic_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AcceptIndexList []uint32 `protobuf:"varint,5,rep,packed,name=accept_index_list,json=acceptIndexList,proto3" json:"accept_index_list,omitempty"` +} + +func (x *BlessingAcceptAllGivePicRsp) Reset() { + *x = BlessingAcceptAllGivePicRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingAcceptAllGivePicRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingAcceptAllGivePicRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingAcceptAllGivePicRsp) ProtoMessage() {} + +func (x *BlessingAcceptAllGivePicRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingAcceptAllGivePicRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingAcceptAllGivePicRsp.ProtoReflect.Descriptor instead. +func (*BlessingAcceptAllGivePicRsp) Descriptor() ([]byte, []int) { + return file_BlessingAcceptAllGivePicRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingAcceptAllGivePicRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlessingAcceptAllGivePicRsp) GetAcceptPicNumMap() map[uint32]uint32 { + if x != nil { + return x.AcceptPicNumMap + } + return nil +} + +func (x *BlessingAcceptAllGivePicRsp) GetAcceptIndexList() []uint32 { + if x != nil { + return x.AcceptIndexList + } + return nil +} + +var File_BlessingAcceptAllGivePicRsp_proto protoreflect.FileDescriptor + +var file_BlessingAcceptAllGivePicRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x02, 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x5e, 0x0a, + 0x12, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x70, 0x69, 0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x42, 0x6c, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, + 0x65, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x69, + 0x63, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x61, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x50, 0x69, 0x63, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2a, 0x0a, + 0x11, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x42, 0x0a, 0x14, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x50, 0x69, 0x63, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BlessingAcceptAllGivePicRsp_proto_rawDescOnce sync.Once + file_BlessingAcceptAllGivePicRsp_proto_rawDescData = file_BlessingAcceptAllGivePicRsp_proto_rawDesc +) + +func file_BlessingAcceptAllGivePicRsp_proto_rawDescGZIP() []byte { + file_BlessingAcceptAllGivePicRsp_proto_rawDescOnce.Do(func() { + file_BlessingAcceptAllGivePicRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingAcceptAllGivePicRsp_proto_rawDescData) + }) + return file_BlessingAcceptAllGivePicRsp_proto_rawDescData +} + +var file_BlessingAcceptAllGivePicRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BlessingAcceptAllGivePicRsp_proto_goTypes = []interface{}{ + (*BlessingAcceptAllGivePicRsp)(nil), // 0: BlessingAcceptAllGivePicRsp + nil, // 1: BlessingAcceptAllGivePicRsp.AcceptPicNumMapEntry +} +var file_BlessingAcceptAllGivePicRsp_proto_depIdxs = []int32{ + 1, // 0: BlessingAcceptAllGivePicRsp.accept_pic_num_map:type_name -> BlessingAcceptAllGivePicRsp.AcceptPicNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingAcceptAllGivePicRsp_proto_init() } +func file_BlessingAcceptAllGivePicRsp_proto_init() { + if File_BlessingAcceptAllGivePicRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingAcceptAllGivePicRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingAcceptAllGivePicRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingAcceptAllGivePicRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingAcceptAllGivePicRsp_proto_goTypes, + DependencyIndexes: file_BlessingAcceptAllGivePicRsp_proto_depIdxs, + MessageInfos: file_BlessingAcceptAllGivePicRsp_proto_msgTypes, + }.Build() + File_BlessingAcceptAllGivePicRsp_proto = out.File + file_BlessingAcceptAllGivePicRsp_proto_rawDesc = nil + file_BlessingAcceptAllGivePicRsp_proto_goTypes = nil + file_BlessingAcceptAllGivePicRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.proto b/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.proto new file mode 100644 index 00000000..aee9e0e4 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptAllGivePicRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2044 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingAcceptAllGivePicRsp { + int32 retcode = 11; + map accept_pic_num_map = 14; + repeated uint32 accept_index_list = 5; +} diff --git a/gate-hk4e-api/proto/BlessingAcceptGivePicReq.pb.go b/gate-hk4e-api/proto/BlessingAcceptGivePicReq.pb.go new file mode 100644 index 00000000..b125ab62 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptGivePicReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingAcceptGivePicReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2006 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingAcceptGivePicReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *BlessingAcceptGivePicReq) Reset() { + *x = BlessingAcceptGivePicReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingAcceptGivePicReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingAcceptGivePicReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingAcceptGivePicReq) ProtoMessage() {} + +func (x *BlessingAcceptGivePicReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingAcceptGivePicReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingAcceptGivePicReq.ProtoReflect.Descriptor instead. +func (*BlessingAcceptGivePicReq) Descriptor() ([]byte, []int) { + return file_BlessingAcceptGivePicReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingAcceptGivePicReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *BlessingAcceptGivePicReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_BlessingAcceptGivePicReq_proto protoreflect.FileDescriptor + +var file_BlessingAcceptGivePicReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x42, 0x0a, 0x18, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, + 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingAcceptGivePicReq_proto_rawDescOnce sync.Once + file_BlessingAcceptGivePicReq_proto_rawDescData = file_BlessingAcceptGivePicReq_proto_rawDesc +) + +func file_BlessingAcceptGivePicReq_proto_rawDescGZIP() []byte { + file_BlessingAcceptGivePicReq_proto_rawDescOnce.Do(func() { + file_BlessingAcceptGivePicReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingAcceptGivePicReq_proto_rawDescData) + }) + return file_BlessingAcceptGivePicReq_proto_rawDescData +} + +var file_BlessingAcceptGivePicReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingAcceptGivePicReq_proto_goTypes = []interface{}{ + (*BlessingAcceptGivePicReq)(nil), // 0: BlessingAcceptGivePicReq +} +var file_BlessingAcceptGivePicReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingAcceptGivePicReq_proto_init() } +func file_BlessingAcceptGivePicReq_proto_init() { + if File_BlessingAcceptGivePicReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingAcceptGivePicReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingAcceptGivePicReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingAcceptGivePicReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingAcceptGivePicReq_proto_goTypes, + DependencyIndexes: file_BlessingAcceptGivePicReq_proto_depIdxs, + MessageInfos: file_BlessingAcceptGivePicReq_proto_msgTypes, + }.Build() + File_BlessingAcceptGivePicReq_proto = out.File + file_BlessingAcceptGivePicReq_proto_rawDesc = nil + file_BlessingAcceptGivePicReq_proto_goTypes = nil + file_BlessingAcceptGivePicReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingAcceptGivePicReq.proto b/gate-hk4e-api/proto/BlessingAcceptGivePicReq.proto new file mode 100644 index 00000000..6e4d4c53 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptGivePicReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2006 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingAcceptGivePicReq { + uint32 index = 9; + uint32 uid = 1; +} diff --git a/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.pb.go b/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.pb.go new file mode 100644 index 00000000..f6642155 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingAcceptGivePicRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2055 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingAcceptGivePicRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PicId uint32 `protobuf:"varint,1,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + Index uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *BlessingAcceptGivePicRsp) Reset() { + *x = BlessingAcceptGivePicRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingAcceptGivePicRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingAcceptGivePicRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingAcceptGivePicRsp) ProtoMessage() {} + +func (x *BlessingAcceptGivePicRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingAcceptGivePicRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingAcceptGivePicRsp.ProtoReflect.Descriptor instead. +func (*BlessingAcceptGivePicRsp) Descriptor() ([]byte, []int) { + return file_BlessingAcceptGivePicRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingAcceptGivePicRsp) GetPicId() uint32 { + if x != nil { + return x.PicId + } + return 0 +} + +func (x *BlessingAcceptGivePicRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlessingAcceptGivePicRsp) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *BlessingAcceptGivePicRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_BlessingAcceptGivePicRsp_proto protoreflect.FileDescriptor + +var file_BlessingAcceptGivePicRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x73, 0x0a, 0x18, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x65, + 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingAcceptGivePicRsp_proto_rawDescOnce sync.Once + file_BlessingAcceptGivePicRsp_proto_rawDescData = file_BlessingAcceptGivePicRsp_proto_rawDesc +) + +func file_BlessingAcceptGivePicRsp_proto_rawDescGZIP() []byte { + file_BlessingAcceptGivePicRsp_proto_rawDescOnce.Do(func() { + file_BlessingAcceptGivePicRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingAcceptGivePicRsp_proto_rawDescData) + }) + return file_BlessingAcceptGivePicRsp_proto_rawDescData +} + +var file_BlessingAcceptGivePicRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingAcceptGivePicRsp_proto_goTypes = []interface{}{ + (*BlessingAcceptGivePicRsp)(nil), // 0: BlessingAcceptGivePicRsp +} +var file_BlessingAcceptGivePicRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingAcceptGivePicRsp_proto_init() } +func file_BlessingAcceptGivePicRsp_proto_init() { + if File_BlessingAcceptGivePicRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingAcceptGivePicRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingAcceptGivePicRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingAcceptGivePicRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingAcceptGivePicRsp_proto_goTypes, + DependencyIndexes: file_BlessingAcceptGivePicRsp_proto_depIdxs, + MessageInfos: file_BlessingAcceptGivePicRsp_proto_msgTypes, + }.Build() + File_BlessingAcceptGivePicRsp_proto = out.File + file_BlessingAcceptGivePicRsp_proto_rawDesc = nil + file_BlessingAcceptGivePicRsp_proto_goTypes = nil + file_BlessingAcceptGivePicRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.proto b/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.proto new file mode 100644 index 00000000..819aadd6 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingAcceptGivePicRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2055 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingAcceptGivePicRsp { + uint32 pic_id = 1; + int32 retcode = 13; + uint32 index = 5; + uint32 uid = 14; +} diff --git a/gate-hk4e-api/proto/BlessingActivityDetailInfo.pb.go b/gate-hk4e-api/proto/BlessingActivityDetailInfo.pb.go new file mode 100644 index 00000000..9afcb9a8 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingActivityDetailInfo.pb.go @@ -0,0 +1,243 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlessingActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurDayScanType uint32 `protobuf:"varint,9,opt,name=cur_day_scan_type,json=curDayScanType,proto3" json:"cur_day_scan_type,omitempty"` + IsContentClosed bool `protobuf:"varint,11,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + PicNumMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=pic_num_map,json=picNumMap,proto3" json:"pic_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ContentCloseTime uint32 `protobuf:"varint,2,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + CurDayScanNum uint32 `protobuf:"varint,4,opt,name=cur_day_scan_num,json=curDayScanNum,proto3" json:"cur_day_scan_num,omitempty"` + RedeemRewardNum uint32 `protobuf:"varint,1,opt,name=redeem_reward_num,json=redeemRewardNum,proto3" json:"redeem_reward_num,omitempty"` + IsActivated bool `protobuf:"varint,13,opt,name=is_activated,json=isActivated,proto3" json:"is_activated,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,6,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` +} + +func (x *BlessingActivityDetailInfo) Reset() { + *x = BlessingActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingActivityDetailInfo) ProtoMessage() {} + +func (x *BlessingActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlessingActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*BlessingActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_BlessingActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingActivityDetailInfo) GetCurDayScanType() uint32 { + if x != nil { + return x.CurDayScanType + } + return 0 +} + +func (x *BlessingActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *BlessingActivityDetailInfo) GetPicNumMap() map[uint32]uint32 { + if x != nil { + return x.PicNumMap + } + return nil +} + +func (x *BlessingActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *BlessingActivityDetailInfo) GetCurDayScanNum() uint32 { + if x != nil { + return x.CurDayScanNum + } + return 0 +} + +func (x *BlessingActivityDetailInfo) GetRedeemRewardNum() uint32 { + if x != nil { + return x.RedeemRewardNum + } + return 0 +} + +func (x *BlessingActivityDetailInfo) GetIsActivated() bool { + if x != nil { + return x.IsActivated + } + return false +} + +func (x *BlessingActivityDetailInfo) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +var File_BlessingActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_BlessingActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xcf, 0x03, 0x0a, 0x1a, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x29, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x63, 0x61, + 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x75, + 0x72, 0x44, 0x61, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0b, 0x70, 0x69, 0x63, 0x5f, + 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, + 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x63, + 0x61, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x75, + 0x72, 0x44, 0x61, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x72, + 0x65, 0x64, 0x65, 0x65, 0x6d, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, + 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x69, 0x63, 0x4e, 0x75, 0x6d, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingActivityDetailInfo_proto_rawDescOnce sync.Once + file_BlessingActivityDetailInfo_proto_rawDescData = file_BlessingActivityDetailInfo_proto_rawDesc +) + +func file_BlessingActivityDetailInfo_proto_rawDescGZIP() []byte { + file_BlessingActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_BlessingActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingActivityDetailInfo_proto_rawDescData) + }) + return file_BlessingActivityDetailInfo_proto_rawDescData +} + +var file_BlessingActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BlessingActivityDetailInfo_proto_goTypes = []interface{}{ + (*BlessingActivityDetailInfo)(nil), // 0: BlessingActivityDetailInfo + nil, // 1: BlessingActivityDetailInfo.PicNumMapEntry +} +var file_BlessingActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: BlessingActivityDetailInfo.pic_num_map:type_name -> BlessingActivityDetailInfo.PicNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingActivityDetailInfo_proto_init() } +func file_BlessingActivityDetailInfo_proto_init() { + if File_BlessingActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_BlessingActivityDetailInfo_proto_depIdxs, + MessageInfos: file_BlessingActivityDetailInfo_proto_msgTypes, + }.Build() + File_BlessingActivityDetailInfo_proto = out.File + file_BlessingActivityDetailInfo_proto_rawDesc = nil + file_BlessingActivityDetailInfo_proto_goTypes = nil + file_BlessingActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingActivityDetailInfo.proto b/gate-hk4e-api/proto/BlessingActivityDetailInfo.proto new file mode 100644 index 00000000..511ce694 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingActivityDetailInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BlessingActivityDetailInfo { + uint32 cur_day_scan_type = 9; + bool is_content_closed = 11; + map pic_num_map = 15; + uint32 content_close_time = 2; + uint32 cur_day_scan_num = 4; + uint32 redeem_reward_num = 1; + bool is_activated = 13; + uint32 next_refresh_time = 6; +} diff --git a/gate-hk4e-api/proto/BlessingFriendPicData.pb.go b/gate-hk4e-api/proto/BlessingFriendPicData.pb.go new file mode 100644 index 00000000..3e17971e --- /dev/null +++ b/gate-hk4e-api/proto/BlessingFriendPicData.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingFriendPicData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlessingFriendPicData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PicNumMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=pic_num_map,json=picNumMap,proto3" json:"pic_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AvatarId uint32 `protobuf:"varint,5,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + RemarkName string `protobuf:"bytes,11,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + Nickname string `protobuf:"bytes,14,opt,name=nickname,proto3" json:"nickname,omitempty"` + Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,6,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Uid uint32 `protobuf:"varint,9,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *BlessingFriendPicData) Reset() { + *x = BlessingFriendPicData{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingFriendPicData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingFriendPicData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingFriendPicData) ProtoMessage() {} + +func (x *BlessingFriendPicData) ProtoReflect() protoreflect.Message { + mi := &file_BlessingFriendPicData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingFriendPicData.ProtoReflect.Descriptor instead. +func (*BlessingFriendPicData) Descriptor() ([]byte, []int) { + return file_BlessingFriendPicData_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingFriendPicData) GetPicNumMap() map[uint32]uint32 { + if x != nil { + return x.PicNumMap + } + return nil +} + +func (x *BlessingFriendPicData) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *BlessingFriendPicData) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *BlessingFriendPicData) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *BlessingFriendPicData) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *BlessingFriendPicData) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *BlessingFriendPicData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_BlessingFriendPicData_proto protoreflect.FileDescriptor + +var file_BlessingFriendPicData_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x02, 0x0a, 0x15, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, + 0x0b, 0x70, 0x69, 0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x0f, + 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x69, 0x63, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingFriendPicData_proto_rawDescOnce sync.Once + file_BlessingFriendPicData_proto_rawDescData = file_BlessingFriendPicData_proto_rawDesc +) + +func file_BlessingFriendPicData_proto_rawDescGZIP() []byte { + file_BlessingFriendPicData_proto_rawDescOnce.Do(func() { + file_BlessingFriendPicData_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingFriendPicData_proto_rawDescData) + }) + return file_BlessingFriendPicData_proto_rawDescData +} + +var file_BlessingFriendPicData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BlessingFriendPicData_proto_goTypes = []interface{}{ + (*BlessingFriendPicData)(nil), // 0: BlessingFriendPicData + nil, // 1: BlessingFriendPicData.PicNumMapEntry + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_BlessingFriendPicData_proto_depIdxs = []int32{ + 1, // 0: BlessingFriendPicData.pic_num_map:type_name -> BlessingFriendPicData.PicNumMapEntry + 2, // 1: BlessingFriendPicData.profile_picture:type_name -> ProfilePicture + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BlessingFriendPicData_proto_init() } +func file_BlessingFriendPicData_proto_init() { + if File_BlessingFriendPicData_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlessingFriendPicData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingFriendPicData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingFriendPicData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingFriendPicData_proto_goTypes, + DependencyIndexes: file_BlessingFriendPicData_proto_depIdxs, + MessageInfos: file_BlessingFriendPicData_proto_msgTypes, + }.Build() + File_BlessingFriendPicData_proto = out.File + file_BlessingFriendPicData_proto_rawDesc = nil + file_BlessingFriendPicData_proto_goTypes = nil + file_BlessingFriendPicData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingFriendPicData.proto b/gate-hk4e-api/proto/BlessingFriendPicData.proto new file mode 100644 index 00000000..6bb3d524 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingFriendPicData.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message BlessingFriendPicData { + map pic_num_map = 4; + uint32 avatar_id = 5; + string remark_name = 11; + string nickname = 14; + string signature = 1; + ProfilePicture profile_picture = 6; + uint32 uid = 9; +} diff --git a/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.pb.go b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.pb.go new file mode 100644 index 00000000..9e334f17 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.pb.go @@ -0,0 +1,154 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGetAllRecvPicRecordListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2096 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingGetAllRecvPicRecordListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BlessingGetAllRecvPicRecordListReq) Reset() { + *x = BlessingGetAllRecvPicRecordListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGetAllRecvPicRecordListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGetAllRecvPicRecordListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGetAllRecvPicRecordListReq) ProtoMessage() {} + +func (x *BlessingGetAllRecvPicRecordListReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGetAllRecvPicRecordListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGetAllRecvPicRecordListReq.ProtoReflect.Descriptor instead. +func (*BlessingGetAllRecvPicRecordListReq) Descriptor() ([]byte, []int) { + return file_BlessingGetAllRecvPicRecordListReq_proto_rawDescGZIP(), []int{0} +} + +var File_BlessingGetAllRecvPicRecordListReq_proto protoreflect.FileDescriptor + +var file_BlessingGetAllRecvPicRecordListReq_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x22, 0x42, 0x6c, + 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x76, + 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGetAllRecvPicRecordListReq_proto_rawDescOnce sync.Once + file_BlessingGetAllRecvPicRecordListReq_proto_rawDescData = file_BlessingGetAllRecvPicRecordListReq_proto_rawDesc +) + +func file_BlessingGetAllRecvPicRecordListReq_proto_rawDescGZIP() []byte { + file_BlessingGetAllRecvPicRecordListReq_proto_rawDescOnce.Do(func() { + file_BlessingGetAllRecvPicRecordListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGetAllRecvPicRecordListReq_proto_rawDescData) + }) + return file_BlessingGetAllRecvPicRecordListReq_proto_rawDescData +} + +var file_BlessingGetAllRecvPicRecordListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGetAllRecvPicRecordListReq_proto_goTypes = []interface{}{ + (*BlessingGetAllRecvPicRecordListReq)(nil), // 0: BlessingGetAllRecvPicRecordListReq +} +var file_BlessingGetAllRecvPicRecordListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingGetAllRecvPicRecordListReq_proto_init() } +func file_BlessingGetAllRecvPicRecordListReq_proto_init() { + if File_BlessingGetAllRecvPicRecordListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingGetAllRecvPicRecordListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGetAllRecvPicRecordListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGetAllRecvPicRecordListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGetAllRecvPicRecordListReq_proto_goTypes, + DependencyIndexes: file_BlessingGetAllRecvPicRecordListReq_proto_depIdxs, + MessageInfos: file_BlessingGetAllRecvPicRecordListReq_proto_msgTypes, + }.Build() + File_BlessingGetAllRecvPicRecordListReq_proto = out.File + file_BlessingGetAllRecvPicRecordListReq_proto_rawDesc = nil + file_BlessingGetAllRecvPicRecordListReq_proto_goTypes = nil + file_BlessingGetAllRecvPicRecordListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.proto b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.proto new file mode 100644 index 00000000..e1468d5c --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2096 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingGetAllRecvPicRecordListReq {} diff --git a/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.pb.go b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.pb.go new file mode 100644 index 00000000..fcebfc4a --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGetAllRecvPicRecordListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2083 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingGetAllRecvPicRecordListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecvPicRecordList []*BlessingRecvPicRecord `protobuf:"bytes,15,rep,name=recv_pic_record_list,json=recvPicRecordList,proto3" json:"recv_pic_record_list,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *BlessingGetAllRecvPicRecordListRsp) Reset() { + *x = BlessingGetAllRecvPicRecordListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGetAllRecvPicRecordListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGetAllRecvPicRecordListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGetAllRecvPicRecordListRsp) ProtoMessage() {} + +func (x *BlessingGetAllRecvPicRecordListRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGetAllRecvPicRecordListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGetAllRecvPicRecordListRsp.ProtoReflect.Descriptor instead. +func (*BlessingGetAllRecvPicRecordListRsp) Descriptor() ([]byte, []int) { + return file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingGetAllRecvPicRecordListRsp) GetRecvPicRecordList() []*BlessingRecvPicRecord { + if x != nil { + return x.RecvPicRecordList + } + return nil +} + +func (x *BlessingGetAllRecvPicRecordListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_BlessingGetAllRecvPicRecordListRsp_proto protoreflect.FileDescriptor + +var file_BlessingGetAllRecvPicRecordListRsp_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x42, 0x6c, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x22, 0x42, 0x6c, 0x65, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, + 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x47, + 0x0a, 0x14, 0x72, 0x65, 0x63, 0x76, 0x5f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x42, + 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x52, 0x11, 0x72, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescOnce sync.Once + file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescData = file_BlessingGetAllRecvPicRecordListRsp_proto_rawDesc +) + +func file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescGZIP() []byte { + file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescOnce.Do(func() { + file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescData) + }) + return file_BlessingGetAllRecvPicRecordListRsp_proto_rawDescData +} + +var file_BlessingGetAllRecvPicRecordListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGetAllRecvPicRecordListRsp_proto_goTypes = []interface{}{ + (*BlessingGetAllRecvPicRecordListRsp)(nil), // 0: BlessingGetAllRecvPicRecordListRsp + (*BlessingRecvPicRecord)(nil), // 1: BlessingRecvPicRecord +} +var file_BlessingGetAllRecvPicRecordListRsp_proto_depIdxs = []int32{ + 1, // 0: BlessingGetAllRecvPicRecordListRsp.recv_pic_record_list:type_name -> BlessingRecvPicRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingGetAllRecvPicRecordListRsp_proto_init() } +func file_BlessingGetAllRecvPicRecordListRsp_proto_init() { + if File_BlessingGetAllRecvPicRecordListRsp_proto != nil { + return + } + file_BlessingRecvPicRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlessingGetAllRecvPicRecordListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGetAllRecvPicRecordListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGetAllRecvPicRecordListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGetAllRecvPicRecordListRsp_proto_goTypes, + DependencyIndexes: file_BlessingGetAllRecvPicRecordListRsp_proto_depIdxs, + MessageInfos: file_BlessingGetAllRecvPicRecordListRsp_proto_msgTypes, + }.Build() + File_BlessingGetAllRecvPicRecordListRsp_proto = out.File + file_BlessingGetAllRecvPicRecordListRsp_proto_rawDesc = nil + file_BlessingGetAllRecvPicRecordListRsp_proto_goTypes = nil + file_BlessingGetAllRecvPicRecordListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.proto b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.proto new file mode 100644 index 00000000..fb816d7f --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetAllRecvPicRecordListRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlessingRecvPicRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 2083 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingGetAllRecvPicRecordListRsp { + repeated BlessingRecvPicRecord recv_pic_record_list = 15; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/BlessingGetFriendPicListReq.pb.go b/gate-hk4e-api/proto/BlessingGetFriendPicListReq.pb.go new file mode 100644 index 00000000..7e067e1d --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetFriendPicListReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGetFriendPicListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2043 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingGetFriendPicListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BlessingGetFriendPicListReq) Reset() { + *x = BlessingGetFriendPicListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGetFriendPicListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGetFriendPicListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGetFriendPicListReq) ProtoMessage() {} + +func (x *BlessingGetFriendPicListReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGetFriendPicListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGetFriendPicListReq.ProtoReflect.Descriptor instead. +func (*BlessingGetFriendPicListReq) Descriptor() ([]byte, []int) { + return file_BlessingGetFriendPicListReq_proto_rawDescGZIP(), []int{0} +} + +var File_BlessingGetFriendPicListReq_proto protoreflect.FileDescriptor + +var file_BlessingGetFriendPicListReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, + 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGetFriendPicListReq_proto_rawDescOnce sync.Once + file_BlessingGetFriendPicListReq_proto_rawDescData = file_BlessingGetFriendPicListReq_proto_rawDesc +) + +func file_BlessingGetFriendPicListReq_proto_rawDescGZIP() []byte { + file_BlessingGetFriendPicListReq_proto_rawDescOnce.Do(func() { + file_BlessingGetFriendPicListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGetFriendPicListReq_proto_rawDescData) + }) + return file_BlessingGetFriendPicListReq_proto_rawDescData +} + +var file_BlessingGetFriendPicListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGetFriendPicListReq_proto_goTypes = []interface{}{ + (*BlessingGetFriendPicListReq)(nil), // 0: BlessingGetFriendPicListReq +} +var file_BlessingGetFriendPicListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingGetFriendPicListReq_proto_init() } +func file_BlessingGetFriendPicListReq_proto_init() { + if File_BlessingGetFriendPicListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingGetFriendPicListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGetFriendPicListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGetFriendPicListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGetFriendPicListReq_proto_goTypes, + DependencyIndexes: file_BlessingGetFriendPicListReq_proto_depIdxs, + MessageInfos: file_BlessingGetFriendPicListReq_proto_msgTypes, + }.Build() + File_BlessingGetFriendPicListReq_proto = out.File + file_BlessingGetFriendPicListReq_proto_rawDesc = nil + file_BlessingGetFriendPicListReq_proto_goTypes = nil + file_BlessingGetFriendPicListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGetFriendPicListReq.proto b/gate-hk4e-api/proto/BlessingGetFriendPicListReq.proto new file mode 100644 index 00000000..6442bbda --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetFriendPicListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2043 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingGetFriendPicListReq {} diff --git a/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.pb.go b/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.pb.go new file mode 100644 index 00000000..86ed042f --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGetFriendPicListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2056 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingGetFriendPicListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + FriendPicDataList []*BlessingFriendPicData `protobuf:"bytes,6,rep,name=friend_pic_data_list,json=friendPicDataList,proto3" json:"friend_pic_data_list,omitempty"` +} + +func (x *BlessingGetFriendPicListRsp) Reset() { + *x = BlessingGetFriendPicListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGetFriendPicListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGetFriendPicListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGetFriendPicListRsp) ProtoMessage() {} + +func (x *BlessingGetFriendPicListRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGetFriendPicListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGetFriendPicListRsp.ProtoReflect.Descriptor instead. +func (*BlessingGetFriendPicListRsp) Descriptor() ([]byte, []int) { + return file_BlessingGetFriendPicListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingGetFriendPicListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlessingGetFriendPicListRsp) GetFriendPicDataList() []*BlessingFriendPicData { + if x != nil { + return x.FriendPicDataList + } + return nil +} + +var File_BlessingGetFriendPicListRsp_proto protoreflect.FileDescriptor + +var file_BlessingGetFriendPicListRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x80, 0x01, 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x14, 0x66, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x69, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x42, 0x6c, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x11, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGetFriendPicListRsp_proto_rawDescOnce sync.Once + file_BlessingGetFriendPicListRsp_proto_rawDescData = file_BlessingGetFriendPicListRsp_proto_rawDesc +) + +func file_BlessingGetFriendPicListRsp_proto_rawDescGZIP() []byte { + file_BlessingGetFriendPicListRsp_proto_rawDescOnce.Do(func() { + file_BlessingGetFriendPicListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGetFriendPicListRsp_proto_rawDescData) + }) + return file_BlessingGetFriendPicListRsp_proto_rawDescData +} + +var file_BlessingGetFriendPicListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGetFriendPicListRsp_proto_goTypes = []interface{}{ + (*BlessingGetFriendPicListRsp)(nil), // 0: BlessingGetFriendPicListRsp + (*BlessingFriendPicData)(nil), // 1: BlessingFriendPicData +} +var file_BlessingGetFriendPicListRsp_proto_depIdxs = []int32{ + 1, // 0: BlessingGetFriendPicListRsp.friend_pic_data_list:type_name -> BlessingFriendPicData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingGetFriendPicListRsp_proto_init() } +func file_BlessingGetFriendPicListRsp_proto_init() { + if File_BlessingGetFriendPicListRsp_proto != nil { + return + } + file_BlessingFriendPicData_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlessingGetFriendPicListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGetFriendPicListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGetFriendPicListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGetFriendPicListRsp_proto_goTypes, + DependencyIndexes: file_BlessingGetFriendPicListRsp_proto_depIdxs, + MessageInfos: file_BlessingGetFriendPicListRsp_proto_msgTypes, + }.Build() + File_BlessingGetFriendPicListRsp_proto = out.File + file_BlessingGetFriendPicListRsp_proto_rawDesc = nil + file_BlessingGetFriendPicListRsp_proto_goTypes = nil + file_BlessingGetFriendPicListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.proto b/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.proto new file mode 100644 index 00000000..dbebdd0e --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGetFriendPicListRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlessingFriendPicData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2056 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingGetFriendPicListRsp { + int32 retcode = 2; + repeated BlessingFriendPicData friend_pic_data_list = 6; +} diff --git a/gate-hk4e-api/proto/BlessingGiveFriendPicReq.pb.go b/gate-hk4e-api/proto/BlessingGiveFriendPicReq.pb.go new file mode 100644 index 00000000..87df4b18 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGiveFriendPicReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGiveFriendPicReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2062 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingGiveFriendPicReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,11,opt,name=uid,proto3" json:"uid,omitempty"` + PicId uint32 `protobuf:"varint,3,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"` +} + +func (x *BlessingGiveFriendPicReq) Reset() { + *x = BlessingGiveFriendPicReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGiveFriendPicReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGiveFriendPicReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGiveFriendPicReq) ProtoMessage() {} + +func (x *BlessingGiveFriendPicReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGiveFriendPicReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGiveFriendPicReq.ProtoReflect.Descriptor instead. +func (*BlessingGiveFriendPicReq) Descriptor() ([]byte, []int) { + return file_BlessingGiveFriendPicReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingGiveFriendPicReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *BlessingGiveFriendPicReq) GetPicId() uint32 { + if x != nil { + return x.PicId + } + return 0 +} + +var File_BlessingGiveFriendPicReq_proto protoreflect.FileDescriptor + +var file_BlessingGiveFriendPicReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x43, 0x0a, 0x18, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x15, + 0x0a, 0x06, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGiveFriendPicReq_proto_rawDescOnce sync.Once + file_BlessingGiveFriendPicReq_proto_rawDescData = file_BlessingGiveFriendPicReq_proto_rawDesc +) + +func file_BlessingGiveFriendPicReq_proto_rawDescGZIP() []byte { + file_BlessingGiveFriendPicReq_proto_rawDescOnce.Do(func() { + file_BlessingGiveFriendPicReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGiveFriendPicReq_proto_rawDescData) + }) + return file_BlessingGiveFriendPicReq_proto_rawDescData +} + +var file_BlessingGiveFriendPicReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGiveFriendPicReq_proto_goTypes = []interface{}{ + (*BlessingGiveFriendPicReq)(nil), // 0: BlessingGiveFriendPicReq +} +var file_BlessingGiveFriendPicReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingGiveFriendPicReq_proto_init() } +func file_BlessingGiveFriendPicReq_proto_init() { + if File_BlessingGiveFriendPicReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingGiveFriendPicReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGiveFriendPicReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGiveFriendPicReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGiveFriendPicReq_proto_goTypes, + DependencyIndexes: file_BlessingGiveFriendPicReq_proto_depIdxs, + MessageInfos: file_BlessingGiveFriendPicReq_proto_msgTypes, + }.Build() + File_BlessingGiveFriendPicReq_proto = out.File + file_BlessingGiveFriendPicReq_proto_rawDesc = nil + file_BlessingGiveFriendPicReq_proto_goTypes = nil + file_BlessingGiveFriendPicReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGiveFriendPicReq.proto b/gate-hk4e-api/proto/BlessingGiveFriendPicReq.proto new file mode 100644 index 00000000..29909b6b --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGiveFriendPicReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2062 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingGiveFriendPicReq { + uint32 uid = 11; + uint32 pic_id = 3; +} diff --git a/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.pb.go b/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.pb.go new file mode 100644 index 00000000..3c0d4d3a --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingGiveFriendPicRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2053 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingGiveFriendPicRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PicId uint32 `protobuf:"varint,10,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + Uid uint32 `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *BlessingGiveFriendPicRsp) Reset() { + *x = BlessingGiveFriendPicRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingGiveFriendPicRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingGiveFriendPicRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingGiveFriendPicRsp) ProtoMessage() {} + +func (x *BlessingGiveFriendPicRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingGiveFriendPicRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingGiveFriendPicRsp.ProtoReflect.Descriptor instead. +func (*BlessingGiveFriendPicRsp) Descriptor() ([]byte, []int) { + return file_BlessingGiveFriendPicRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingGiveFriendPicRsp) GetPicId() uint32 { + if x != nil { + return x.PicId + } + return 0 +} + +func (x *BlessingGiveFriendPicRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlessingGiveFriendPicRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_BlessingGiveFriendPicRsp_proto protoreflect.FileDescriptor + +var file_BlessingGiveFriendPicRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5d, 0x0a, 0x18, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x52, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingGiveFriendPicRsp_proto_rawDescOnce sync.Once + file_BlessingGiveFriendPicRsp_proto_rawDescData = file_BlessingGiveFriendPicRsp_proto_rawDesc +) + +func file_BlessingGiveFriendPicRsp_proto_rawDescGZIP() []byte { + file_BlessingGiveFriendPicRsp_proto_rawDescOnce.Do(func() { + file_BlessingGiveFriendPicRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingGiveFriendPicRsp_proto_rawDescData) + }) + return file_BlessingGiveFriendPicRsp_proto_rawDescData +} + +var file_BlessingGiveFriendPicRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingGiveFriendPicRsp_proto_goTypes = []interface{}{ + (*BlessingGiveFriendPicRsp)(nil), // 0: BlessingGiveFriendPicRsp +} +var file_BlessingGiveFriendPicRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingGiveFriendPicRsp_proto_init() } +func file_BlessingGiveFriendPicRsp_proto_init() { + if File_BlessingGiveFriendPicRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingGiveFriendPicRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingGiveFriendPicRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingGiveFriendPicRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingGiveFriendPicRsp_proto_goTypes, + DependencyIndexes: file_BlessingGiveFriendPicRsp_proto_depIdxs, + MessageInfos: file_BlessingGiveFriendPicRsp_proto_msgTypes, + }.Build() + File_BlessingGiveFriendPicRsp_proto = out.File + file_BlessingGiveFriendPicRsp_proto_rawDesc = nil + file_BlessingGiveFriendPicRsp_proto_goTypes = nil + file_BlessingGiveFriendPicRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.proto b/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.proto new file mode 100644 index 00000000..2e7c1edc --- /dev/null +++ b/gate-hk4e-api/proto/BlessingGiveFriendPicRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2053 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingGiveFriendPicRsp { + uint32 pic_id = 10; + int32 retcode = 11; + uint32 uid = 13; +} diff --git a/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.pb.go b/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.pb.go new file mode 100644 index 00000000..abe8f118 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingRecvFriendPicNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2178 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingRecvFriendPicNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + PicId uint32 `protobuf:"varint,5,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"` +} + +func (x *BlessingRecvFriendPicNotify) Reset() { + *x = BlessingRecvFriendPicNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingRecvFriendPicNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingRecvFriendPicNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingRecvFriendPicNotify) ProtoMessage() {} + +func (x *BlessingRecvFriendPicNotify) ProtoReflect() protoreflect.Message { + mi := &file_BlessingRecvFriendPicNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingRecvFriendPicNotify.ProtoReflect.Descriptor instead. +func (*BlessingRecvFriendPicNotify) Descriptor() ([]byte, []int) { + return file_BlessingRecvFriendPicNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingRecvFriendPicNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *BlessingRecvFriendPicNotify) GetPicId() uint32 { + if x != nil { + return x.PicId + } + return 0 +} + +var File_BlessingRecvFriendPicNotify_proto protoreflect.FileDescriptor + +var file_BlessingRecvFriendPicNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x76, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x63, 0x76, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x69, 0x63, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingRecvFriendPicNotify_proto_rawDescOnce sync.Once + file_BlessingRecvFriendPicNotify_proto_rawDescData = file_BlessingRecvFriendPicNotify_proto_rawDesc +) + +func file_BlessingRecvFriendPicNotify_proto_rawDescGZIP() []byte { + file_BlessingRecvFriendPicNotify_proto_rawDescOnce.Do(func() { + file_BlessingRecvFriendPicNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingRecvFriendPicNotify_proto_rawDescData) + }) + return file_BlessingRecvFriendPicNotify_proto_rawDescData +} + +var file_BlessingRecvFriendPicNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingRecvFriendPicNotify_proto_goTypes = []interface{}{ + (*BlessingRecvFriendPicNotify)(nil), // 0: BlessingRecvFriendPicNotify +} +var file_BlessingRecvFriendPicNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingRecvFriendPicNotify_proto_init() } +func file_BlessingRecvFriendPicNotify_proto_init() { + if File_BlessingRecvFriendPicNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingRecvFriendPicNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingRecvFriendPicNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingRecvFriendPicNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingRecvFriendPicNotify_proto_goTypes, + DependencyIndexes: file_BlessingRecvFriendPicNotify_proto_depIdxs, + MessageInfos: file_BlessingRecvFriendPicNotify_proto_msgTypes, + }.Build() + File_BlessingRecvFriendPicNotify_proto = out.File + file_BlessingRecvFriendPicNotify_proto_rawDesc = nil + file_BlessingRecvFriendPicNotify_proto_goTypes = nil + file_BlessingRecvFriendPicNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.proto b/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.proto new file mode 100644 index 00000000..868b9bb4 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRecvFriendPicNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2178 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingRecvFriendPicNotify { + uint32 uid = 15; + uint32 pic_id = 5; +} diff --git a/gate-hk4e-api/proto/BlessingRecvPicRecord.pb.go b/gate-hk4e-api/proto/BlessingRecvPicRecord.pb.go new file mode 100644 index 00000000..1823ea24 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRecvPicRecord.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingRecvPicRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlessingRecvPicRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` + RemarkName string `protobuf:"bytes,2,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + PicId uint32 `protobuf:"varint,3,opt,name=pic_id,json=picId,proto3" json:"pic_id,omitempty"` + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` + AvatarId uint32 `protobuf:"varint,6,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` + Index uint32 `protobuf:"varint,14,opt,name=index,proto3" json:"index,omitempty"` + IsRecv bool `protobuf:"varint,7,opt,name=is_recv,json=isRecv,proto3" json:"is_recv,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,9,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` +} + +func (x *BlessingRecvPicRecord) Reset() { + *x = BlessingRecvPicRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingRecvPicRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingRecvPicRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingRecvPicRecord) ProtoMessage() {} + +func (x *BlessingRecvPicRecord) ProtoReflect() protoreflect.Message { + mi := &file_BlessingRecvPicRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingRecvPicRecord.ProtoReflect.Descriptor instead. +func (*BlessingRecvPicRecord) Descriptor() ([]byte, []int) { + return file_BlessingRecvPicRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingRecvPicRecord) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *BlessingRecvPicRecord) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *BlessingRecvPicRecord) GetPicId() uint32 { + if x != nil { + return x.PicId + } + return 0 +} + +func (x *BlessingRecvPicRecord) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *BlessingRecvPicRecord) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *BlessingRecvPicRecord) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *BlessingRecvPicRecord) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *BlessingRecvPicRecord) GetIsRecv() bool { + if x != nil { + return x.IsRecv + } + return false +} + +func (x *BlessingRecvPicRecord) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +var File_BlessingRecvPicRecord_proto protoreflect.FileDescriptor + +var file_BlessingRecvPicRecord_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, + 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x15, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x63, 0x76, 0x50, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, + 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x76, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x63, 0x76, 0x12, 0x38, 0x0a, + 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingRecvPicRecord_proto_rawDescOnce sync.Once + file_BlessingRecvPicRecord_proto_rawDescData = file_BlessingRecvPicRecord_proto_rawDesc +) + +func file_BlessingRecvPicRecord_proto_rawDescGZIP() []byte { + file_BlessingRecvPicRecord_proto_rawDescOnce.Do(func() { + file_BlessingRecvPicRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingRecvPicRecord_proto_rawDescData) + }) + return file_BlessingRecvPicRecord_proto_rawDescData +} + +var file_BlessingRecvPicRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingRecvPicRecord_proto_goTypes = []interface{}{ + (*BlessingRecvPicRecord)(nil), // 0: BlessingRecvPicRecord + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_BlessingRecvPicRecord_proto_depIdxs = []int32{ + 1, // 0: BlessingRecvPicRecord.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingRecvPicRecord_proto_init() } +func file_BlessingRecvPicRecord_proto_init() { + if File_BlessingRecvPicRecord_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlessingRecvPicRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingRecvPicRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingRecvPicRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingRecvPicRecord_proto_goTypes, + DependencyIndexes: file_BlessingRecvPicRecord_proto_depIdxs, + MessageInfos: file_BlessingRecvPicRecord_proto_msgTypes, + }.Build() + File_BlessingRecvPicRecord_proto = out.File + file_BlessingRecvPicRecord_proto_rawDesc = nil + file_BlessingRecvPicRecord_proto_goTypes = nil + file_BlessingRecvPicRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingRecvPicRecord.proto b/gate-hk4e-api/proto/BlessingRecvPicRecord.proto new file mode 100644 index 00000000..14400113 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRecvPicRecord.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message BlessingRecvPicRecord { + string nickname = 1; + string remark_name = 2; + uint32 pic_id = 3; + uint32 uid = 5; + uint32 avatar_id = 6; + string signature = 10; + uint32 index = 14; + bool is_recv = 7; + ProfilePicture profile_picture = 9; +} diff --git a/gate-hk4e-api/proto/BlessingRedeemRewardReq.pb.go b/gate-hk4e-api/proto/BlessingRedeemRewardReq.pb.go new file mode 100644 index 00000000..06a83727 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRedeemRewardReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingRedeemRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2137 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingRedeemRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BlessingRedeemRewardReq) Reset() { + *x = BlessingRedeemRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingRedeemRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingRedeemRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingRedeemRewardReq) ProtoMessage() {} + +func (x *BlessingRedeemRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingRedeemRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingRedeemRewardReq.ProtoReflect.Descriptor instead. +func (*BlessingRedeemRewardReq) Descriptor() ([]byte, []int) { + return file_BlessingRedeemRewardReq_proto_rawDescGZIP(), []int{0} +} + +var File_BlessingRedeemRewardReq_proto protoreflect.FileDescriptor + +var file_BlessingRedeemRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x19, 0x0a, 0x17, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x64, 0x65, 0x65, + 0x6d, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingRedeemRewardReq_proto_rawDescOnce sync.Once + file_BlessingRedeemRewardReq_proto_rawDescData = file_BlessingRedeemRewardReq_proto_rawDesc +) + +func file_BlessingRedeemRewardReq_proto_rawDescGZIP() []byte { + file_BlessingRedeemRewardReq_proto_rawDescOnce.Do(func() { + file_BlessingRedeemRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingRedeemRewardReq_proto_rawDescData) + }) + return file_BlessingRedeemRewardReq_proto_rawDescData +} + +var file_BlessingRedeemRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingRedeemRewardReq_proto_goTypes = []interface{}{ + (*BlessingRedeemRewardReq)(nil), // 0: BlessingRedeemRewardReq +} +var file_BlessingRedeemRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingRedeemRewardReq_proto_init() } +func file_BlessingRedeemRewardReq_proto_init() { + if File_BlessingRedeemRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingRedeemRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingRedeemRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingRedeemRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingRedeemRewardReq_proto_goTypes, + DependencyIndexes: file_BlessingRedeemRewardReq_proto_depIdxs, + MessageInfos: file_BlessingRedeemRewardReq_proto_msgTypes, + }.Build() + File_BlessingRedeemRewardReq_proto = out.File + file_BlessingRedeemRewardReq_proto_rawDesc = nil + file_BlessingRedeemRewardReq_proto_goTypes = nil + file_BlessingRedeemRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingRedeemRewardReq.proto b/gate-hk4e-api/proto/BlessingRedeemRewardReq.proto new file mode 100644 index 00000000..e1c78dee --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRedeemRewardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2137 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingRedeemRewardReq {} diff --git a/gate-hk4e-api/proto/BlessingRedeemRewardRsp.pb.go b/gate-hk4e-api/proto/BlessingRedeemRewardRsp.pb.go new file mode 100644 index 00000000..4aa56a25 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRedeemRewardRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingRedeemRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2098 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingRedeemRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PicNumMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=pic_num_map,json=picNumMap,proto3" json:"pic_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *BlessingRedeemRewardRsp) Reset() { + *x = BlessingRedeemRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingRedeemRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingRedeemRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingRedeemRewardRsp) ProtoMessage() {} + +func (x *BlessingRedeemRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingRedeemRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingRedeemRewardRsp.ProtoReflect.Descriptor instead. +func (*BlessingRedeemRewardRsp) Descriptor() ([]byte, []int) { + return file_BlessingRedeemRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingRedeemRewardRsp) GetPicNumMap() map[uint32]uint32 { + if x != nil { + return x.PicNumMap + } + return nil +} + +func (x *BlessingRedeemRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_BlessingRedeemRewardRsp_proto protoreflect.FileDescriptor + +var file_BlessingRedeemRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xba, 0x01, 0x0a, 0x17, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x64, 0x65, + 0x65, 0x6d, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0b, 0x70, + 0x69, 0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x64, 0x65, 0x65, + 0x6d, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x50, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x69, 0x63, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x3c, + 0x0a, 0x0e, 0x50, 0x69, 0x63, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingRedeemRewardRsp_proto_rawDescOnce sync.Once + file_BlessingRedeemRewardRsp_proto_rawDescData = file_BlessingRedeemRewardRsp_proto_rawDesc +) + +func file_BlessingRedeemRewardRsp_proto_rawDescGZIP() []byte { + file_BlessingRedeemRewardRsp_proto_rawDescOnce.Do(func() { + file_BlessingRedeemRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingRedeemRewardRsp_proto_rawDescData) + }) + return file_BlessingRedeemRewardRsp_proto_rawDescData +} + +var file_BlessingRedeemRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BlessingRedeemRewardRsp_proto_goTypes = []interface{}{ + (*BlessingRedeemRewardRsp)(nil), // 0: BlessingRedeemRewardRsp + nil, // 1: BlessingRedeemRewardRsp.PicNumMapEntry +} +var file_BlessingRedeemRewardRsp_proto_depIdxs = []int32{ + 1, // 0: BlessingRedeemRewardRsp.pic_num_map:type_name -> BlessingRedeemRewardRsp.PicNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlessingRedeemRewardRsp_proto_init() } +func file_BlessingRedeemRewardRsp_proto_init() { + if File_BlessingRedeemRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingRedeemRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingRedeemRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingRedeemRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingRedeemRewardRsp_proto_goTypes, + DependencyIndexes: file_BlessingRedeemRewardRsp_proto_depIdxs, + MessageInfos: file_BlessingRedeemRewardRsp_proto_msgTypes, + }.Build() + File_BlessingRedeemRewardRsp_proto = out.File + file_BlessingRedeemRewardRsp_proto_rawDesc = nil + file_BlessingRedeemRewardRsp_proto_goTypes = nil + file_BlessingRedeemRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingRedeemRewardRsp.proto b/gate-hk4e-api/proto/BlessingRedeemRewardRsp.proto new file mode 100644 index 00000000..cf129cb2 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingRedeemRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2098 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingRedeemRewardRsp { + map pic_num_map = 12; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/BlessingScanReq.pb.go b/gate-hk4e-api/proto/BlessingScanReq.pb.go new file mode 100644 index 00000000..3196d457 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingScanReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingScanReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2081 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlessingScanReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *BlessingScanReq) Reset() { + *x = BlessingScanReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingScanReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingScanReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingScanReq) ProtoMessage() {} + +func (x *BlessingScanReq) ProtoReflect() protoreflect.Message { + mi := &file_BlessingScanReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingScanReq.ProtoReflect.Descriptor instead. +func (*BlessingScanReq) Descriptor() ([]byte, []int) { + return file_BlessingScanReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingScanReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_BlessingScanReq_proto protoreflect.FileDescriptor + +var file_BlessingScanReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x0f, 0x42, 0x6c, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlessingScanReq_proto_rawDescOnce sync.Once + file_BlessingScanReq_proto_rawDescData = file_BlessingScanReq_proto_rawDesc +) + +func file_BlessingScanReq_proto_rawDescGZIP() []byte { + file_BlessingScanReq_proto_rawDescOnce.Do(func() { + file_BlessingScanReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingScanReq_proto_rawDescData) + }) + return file_BlessingScanReq_proto_rawDescData +} + +var file_BlessingScanReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingScanReq_proto_goTypes = []interface{}{ + (*BlessingScanReq)(nil), // 0: BlessingScanReq +} +var file_BlessingScanReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingScanReq_proto_init() } +func file_BlessingScanReq_proto_init() { + if File_BlessingScanReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingScanReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingScanReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingScanReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingScanReq_proto_goTypes, + DependencyIndexes: file_BlessingScanReq_proto_depIdxs, + MessageInfos: file_BlessingScanReq_proto_msgTypes, + }.Build() + File_BlessingScanReq_proto = out.File + file_BlessingScanReq_proto_rawDesc = nil + file_BlessingScanReq_proto_goTypes = nil + file_BlessingScanReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingScanReq.proto b/gate-hk4e-api/proto/BlessingScanReq.proto new file mode 100644 index 00000000..7abfb745 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingScanReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2081 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlessingScanReq { + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/BlessingScanRsp.pb.go b/gate-hk4e-api/proto/BlessingScanRsp.pb.go new file mode 100644 index 00000000..e76a0269 --- /dev/null +++ b/gate-hk4e-api/proto/BlessingScanRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlessingScanRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2093 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlessingScanRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScanPicId uint32 `protobuf:"varint,4,opt,name=scan_pic_id,json=scanPicId,proto3" json:"scan_pic_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurDayScanNum uint32 `protobuf:"varint,1,opt,name=cur_day_scan_num,json=curDayScanNum,proto3" json:"cur_day_scan_num,omitempty"` +} + +func (x *BlessingScanRsp) Reset() { + *x = BlessingScanRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlessingScanRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlessingScanRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlessingScanRsp) ProtoMessage() {} + +func (x *BlessingScanRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlessingScanRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlessingScanRsp.ProtoReflect.Descriptor instead. +func (*BlessingScanRsp) Descriptor() ([]byte, []int) { + return file_BlessingScanRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlessingScanRsp) GetScanPicId() uint32 { + if x != nil { + return x.ScanPicId + } + return 0 +} + +func (x *BlessingScanRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlessingScanRsp) GetCurDayScanNum() uint32 { + if x != nil { + return x.CurDayScanNum + } + return 0 +} + +var File_BlessingScanRsp_proto protoreflect.FileDescriptor + +var file_BlessingScanRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x42, 0x6c, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x0f, 0x42, 0x6c, 0x65, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x53, 0x63, 0x61, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x63, + 0x61, 0x6e, 0x5f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x73, 0x63, 0x61, 0x6e, 0x50, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, + 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x63, 0x75, 0x72, 0x44, 0x61, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BlessingScanRsp_proto_rawDescOnce sync.Once + file_BlessingScanRsp_proto_rawDescData = file_BlessingScanRsp_proto_rawDesc +) + +func file_BlessingScanRsp_proto_rawDescGZIP() []byte { + file_BlessingScanRsp_proto_rawDescOnce.Do(func() { + file_BlessingScanRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlessingScanRsp_proto_rawDescData) + }) + return file_BlessingScanRsp_proto_rawDescData +} + +var file_BlessingScanRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlessingScanRsp_proto_goTypes = []interface{}{ + (*BlessingScanRsp)(nil), // 0: BlessingScanRsp +} +var file_BlessingScanRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlessingScanRsp_proto_init() } +func file_BlessingScanRsp_proto_init() { + if File_BlessingScanRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlessingScanRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlessingScanRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlessingScanRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlessingScanRsp_proto_goTypes, + DependencyIndexes: file_BlessingScanRsp_proto_depIdxs, + MessageInfos: file_BlessingScanRsp_proto_msgTypes, + }.Build() + File_BlessingScanRsp_proto = out.File + file_BlessingScanRsp_proto_rawDesc = nil + file_BlessingScanRsp_proto_goTypes = nil + file_BlessingScanRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlessingScanRsp.proto b/gate-hk4e-api/proto/BlessingScanRsp.proto new file mode 100644 index 00000000..31da027f --- /dev/null +++ b/gate-hk4e-api/proto/BlessingScanRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2093 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlessingScanRsp { + uint32 scan_pic_id = 4; + int32 retcode = 11; + uint32 cur_day_scan_num = 1; +} diff --git a/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.pb.go b/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.pb.go new file mode 100644 index 00000000..aeb9b798 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlitzRushActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlitzRushActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageList []*BlitzRushStage `protobuf:"bytes,10,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,14,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,2,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + ParkourLevelInfoList []*ParkourLevelInfo `protobuf:"bytes,6,rep,name=parkour_level_info_list,json=parkourLevelInfoList,proto3" json:"parkour_level_info_list,omitempty"` +} + +func (x *BlitzRushActivityDetailInfo) Reset() { + *x = BlitzRushActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlitzRushActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlitzRushActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlitzRushActivityDetailInfo) ProtoMessage() {} + +func (x *BlitzRushActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlitzRushActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlitzRushActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*BlitzRushActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_BlitzRushActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlitzRushActivityDetailInfo) GetStageList() []*BlitzRushStage { + if x != nil { + return x.StageList + } + return nil +} + +func (x *BlitzRushActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *BlitzRushActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *BlitzRushActivityDetailInfo) GetParkourLevelInfoList() []*ParkourLevelInfo { + if x != nil { + return x.ParkourLevelInfoList + } + return nil +} + +var File_BlitzRushActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_BlitzRushActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x53, 0x74, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x50, 0x61, 0x72, 0x6b, 0x6f, + 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x1b, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, + 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, + 0x6f, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x17, 0x70, + 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x50, + 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x14, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlitzRushActivityDetailInfo_proto_rawDescOnce sync.Once + file_BlitzRushActivityDetailInfo_proto_rawDescData = file_BlitzRushActivityDetailInfo_proto_rawDesc +) + +func file_BlitzRushActivityDetailInfo_proto_rawDescGZIP() []byte { + file_BlitzRushActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_BlitzRushActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlitzRushActivityDetailInfo_proto_rawDescData) + }) + return file_BlitzRushActivityDetailInfo_proto_rawDescData +} + +var file_BlitzRushActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlitzRushActivityDetailInfo_proto_goTypes = []interface{}{ + (*BlitzRushActivityDetailInfo)(nil), // 0: BlitzRushActivityDetailInfo + (*BlitzRushStage)(nil), // 1: BlitzRushStage + (*ParkourLevelInfo)(nil), // 2: ParkourLevelInfo +} +var file_BlitzRushActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: BlitzRushActivityDetailInfo.stage_list:type_name -> BlitzRushStage + 2, // 1: BlitzRushActivityDetailInfo.parkour_level_info_list:type_name -> ParkourLevelInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BlitzRushActivityDetailInfo_proto_init() } +func file_BlitzRushActivityDetailInfo_proto_init() { + if File_BlitzRushActivityDetailInfo_proto != nil { + return + } + file_BlitzRushStage_proto_init() + file_ParkourLevelInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlitzRushActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlitzRushActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlitzRushActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlitzRushActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_BlitzRushActivityDetailInfo_proto_depIdxs, + MessageInfos: file_BlitzRushActivityDetailInfo_proto_msgTypes, + }.Build() + File_BlitzRushActivityDetailInfo_proto = out.File + file_BlitzRushActivityDetailInfo_proto_rawDesc = nil + file_BlitzRushActivityDetailInfo_proto_goTypes = nil + file_BlitzRushActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.proto b/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.proto new file mode 100644 index 00000000..f1f6fd4b --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushActivityDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlitzRushStage.proto"; +import "ParkourLevelInfo.proto"; + +option go_package = "./;proto"; + +message BlitzRushActivityDetailInfo { + repeated BlitzRushStage stage_list = 10; + uint32 content_close_time = 14; + bool is_content_closed = 2; + repeated ParkourLevelInfo parkour_level_info_list = 6; +} diff --git a/gate-hk4e-api/proto/BlitzRushParkourRestartReq.pb.go b/gate-hk4e-api/proto/BlitzRushParkourRestartReq.pb.go new file mode 100644 index 00000000..9e6c0036 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushParkourRestartReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlitzRushParkourRestartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8653 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlitzRushParkourRestartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *BlitzRushParkourRestartReq) Reset() { + *x = BlitzRushParkourRestartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BlitzRushParkourRestartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlitzRushParkourRestartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlitzRushParkourRestartReq) ProtoMessage() {} + +func (x *BlitzRushParkourRestartReq) ProtoReflect() protoreflect.Message { + mi := &file_BlitzRushParkourRestartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlitzRushParkourRestartReq.ProtoReflect.Descriptor instead. +func (*BlitzRushParkourRestartReq) Descriptor() ([]byte, []int) { + return file_BlitzRushParkourRestartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BlitzRushParkourRestartReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *BlitzRushParkourRestartReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_BlitzRushParkourRestartReq_proto protoreflect.FileDescriptor + +var file_BlitzRushParkourRestartReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x50, 0x61, 0x72, 0x6b, 0x6f, + 0x75, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1a, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x50, + 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlitzRushParkourRestartReq_proto_rawDescOnce sync.Once + file_BlitzRushParkourRestartReq_proto_rawDescData = file_BlitzRushParkourRestartReq_proto_rawDesc +) + +func file_BlitzRushParkourRestartReq_proto_rawDescGZIP() []byte { + file_BlitzRushParkourRestartReq_proto_rawDescOnce.Do(func() { + file_BlitzRushParkourRestartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlitzRushParkourRestartReq_proto_rawDescData) + }) + return file_BlitzRushParkourRestartReq_proto_rawDescData +} + +var file_BlitzRushParkourRestartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlitzRushParkourRestartReq_proto_goTypes = []interface{}{ + (*BlitzRushParkourRestartReq)(nil), // 0: BlitzRushParkourRestartReq +} +var file_BlitzRushParkourRestartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlitzRushParkourRestartReq_proto_init() } +func file_BlitzRushParkourRestartReq_proto_init() { + if File_BlitzRushParkourRestartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlitzRushParkourRestartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlitzRushParkourRestartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlitzRushParkourRestartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlitzRushParkourRestartReq_proto_goTypes, + DependencyIndexes: file_BlitzRushParkourRestartReq_proto_depIdxs, + MessageInfos: file_BlitzRushParkourRestartReq_proto_msgTypes, + }.Build() + File_BlitzRushParkourRestartReq_proto = out.File + file_BlitzRushParkourRestartReq_proto_rawDesc = nil + file_BlitzRushParkourRestartReq_proto_goTypes = nil + file_BlitzRushParkourRestartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlitzRushParkourRestartReq.proto b/gate-hk4e-api/proto/BlitzRushParkourRestartReq.proto new file mode 100644 index 00000000..5bd2b313 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushParkourRestartReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8653 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlitzRushParkourRestartReq { + uint32 schedule_id = 13; + uint32 group_id = 2; +} diff --git a/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.pb.go b/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.pb.go new file mode 100644 index 00000000..531eab07 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlitzRushParkourRestartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8944 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlitzRushParkourRestartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + GroupId uint32 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *BlitzRushParkourRestartRsp) Reset() { + *x = BlitzRushParkourRestartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BlitzRushParkourRestartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlitzRushParkourRestartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlitzRushParkourRestartRsp) ProtoMessage() {} + +func (x *BlitzRushParkourRestartRsp) ProtoReflect() protoreflect.Message { + mi := &file_BlitzRushParkourRestartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlitzRushParkourRestartRsp.ProtoReflect.Descriptor instead. +func (*BlitzRushParkourRestartRsp) Descriptor() ([]byte, []int) { + return file_BlitzRushParkourRestartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BlitzRushParkourRestartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BlitzRushParkourRestartRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *BlitzRushParkourRestartRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_BlitzRushParkourRestartRsp_proto protoreflect.FileDescriptor + +var file_BlitzRushParkourRestartRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x50, 0x61, 0x72, 0x6b, 0x6f, + 0x75, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1a, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x50, + 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlitzRushParkourRestartRsp_proto_rawDescOnce sync.Once + file_BlitzRushParkourRestartRsp_proto_rawDescData = file_BlitzRushParkourRestartRsp_proto_rawDesc +) + +func file_BlitzRushParkourRestartRsp_proto_rawDescGZIP() []byte { + file_BlitzRushParkourRestartRsp_proto_rawDescOnce.Do(func() { + file_BlitzRushParkourRestartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlitzRushParkourRestartRsp_proto_rawDescData) + }) + return file_BlitzRushParkourRestartRsp_proto_rawDescData +} + +var file_BlitzRushParkourRestartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlitzRushParkourRestartRsp_proto_goTypes = []interface{}{ + (*BlitzRushParkourRestartRsp)(nil), // 0: BlitzRushParkourRestartRsp +} +var file_BlitzRushParkourRestartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlitzRushParkourRestartRsp_proto_init() } +func file_BlitzRushParkourRestartRsp_proto_init() { + if File_BlitzRushParkourRestartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlitzRushParkourRestartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlitzRushParkourRestartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlitzRushParkourRestartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlitzRushParkourRestartRsp_proto_goTypes, + DependencyIndexes: file_BlitzRushParkourRestartRsp_proto_depIdxs, + MessageInfos: file_BlitzRushParkourRestartRsp_proto_msgTypes, + }.Build() + File_BlitzRushParkourRestartRsp_proto = out.File + file_BlitzRushParkourRestartRsp_proto_rawDesc = nil + file_BlitzRushParkourRestartRsp_proto_goTypes = nil + file_BlitzRushParkourRestartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.proto b/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.proto new file mode 100644 index 00000000..70f02149 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushParkourRestartRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8944 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlitzRushParkourRestartRsp { + int32 retcode = 14; + uint32 group_id = 15; + uint32 schedule_id = 1; +} diff --git a/gate-hk4e-api/proto/BlitzRushStage.pb.go b/gate-hk4e-api/proto/BlitzRushStage.pb.go new file mode 100644 index 00000000..e298fd2b --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushStage.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlitzRushStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlitzRushStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,13,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,11,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` +} + +func (x *BlitzRushStage) Reset() { + *x = BlitzRushStage{} + if protoimpl.UnsafeEnabled { + mi := &file_BlitzRushStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlitzRushStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlitzRushStage) ProtoMessage() {} + +func (x *BlitzRushStage) ProtoReflect() protoreflect.Message { + mi := &file_BlitzRushStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlitzRushStage.ProtoReflect.Descriptor instead. +func (*BlitzRushStage) Descriptor() ([]byte, []int) { + return file_BlitzRushStage_proto_rawDescGZIP(), []int{0} +} + +func (x *BlitzRushStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *BlitzRushStage) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +var File_BlitzRushStage_proto protoreflect.FileDescriptor + +var file_BlitzRushStage_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, 0x75, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x0e, 0x42, 0x6c, 0x69, 0x74, 0x7a, 0x52, + 0x75, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, + 0x70, 0x65, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, + 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_BlitzRushStage_proto_rawDescOnce sync.Once + file_BlitzRushStage_proto_rawDescData = file_BlitzRushStage_proto_rawDesc +) + +func file_BlitzRushStage_proto_rawDescGZIP() []byte { + file_BlitzRushStage_proto_rawDescOnce.Do(func() { + file_BlitzRushStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlitzRushStage_proto_rawDescData) + }) + return file_BlitzRushStage_proto_rawDescData +} + +var file_BlitzRushStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlitzRushStage_proto_goTypes = []interface{}{ + (*BlitzRushStage)(nil), // 0: BlitzRushStage +} +var file_BlitzRushStage_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlitzRushStage_proto_init() } +func file_BlitzRushStage_proto_init() { + if File_BlitzRushStage_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlitzRushStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlitzRushStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlitzRushStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlitzRushStage_proto_goTypes, + DependencyIndexes: file_BlitzRushStage_proto_depIdxs, + MessageInfos: file_BlitzRushStage_proto_msgTypes, + }.Build() + File_BlitzRushStage_proto = out.File + file_BlitzRushStage_proto_rawDesc = nil + file_BlitzRushStage_proto_goTypes = nil + file_BlitzRushStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlitzRushStage.proto b/gate-hk4e-api/proto/BlitzRushStage.proto new file mode 100644 index 00000000..3ec66fa8 --- /dev/null +++ b/gate-hk4e-api/proto/BlitzRushStage.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BlitzRushStage { + bool is_open = 13; + uint32 open_time = 11; +} diff --git a/gate-hk4e-api/proto/BlockInfo.pb.go b/gate-hk4e-api/proto/BlockInfo.pb.go new file mode 100644 index 00000000..602fcfda --- /dev/null +++ b/gate-hk4e-api/proto/BlockInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlockInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlockInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockId uint32 `protobuf:"varint,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + DataVersion uint32 `protobuf:"varint,2,opt,name=data_version,json=dataVersion,proto3" json:"data_version,omitempty"` + BinData []byte `protobuf:"bytes,3,opt,name=bin_data,json=binData,proto3" json:"bin_data,omitempty"` + IsDirty bool `protobuf:"varint,4,opt,name=is_dirty,json=isDirty,proto3" json:"is_dirty,omitempty"` +} + +func (x *BlockInfo) Reset() { + *x = BlockInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlockInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockInfo) ProtoMessage() {} + +func (x *BlockInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlockInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead. +func (*BlockInfo) Descriptor() ([]byte, []int) { + return file_BlockInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlockInfo) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *BlockInfo) GetDataVersion() uint32 { + if x != nil { + return x.DataVersion + } + return 0 +} + +func (x *BlockInfo) GetBinData() []byte { + if x != nil { + return x.BinData + } + return nil +} + +func (x *BlockInfo) GetIsDirty() bool { + if x != nil { + return x.IsDirty + } + return false +} + +var File_BlockInfo_proto protoreflect.FileDescriptor + +var file_BlockInfo_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x7f, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, + 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x64, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, + 0x62, 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x62, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x64, 0x69, + 0x72, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x44, 0x69, 0x72, + 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlockInfo_proto_rawDescOnce sync.Once + file_BlockInfo_proto_rawDescData = file_BlockInfo_proto_rawDesc +) + +func file_BlockInfo_proto_rawDescGZIP() []byte { + file_BlockInfo_proto_rawDescOnce.Do(func() { + file_BlockInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlockInfo_proto_rawDescData) + }) + return file_BlockInfo_proto_rawDescData +} + +var file_BlockInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlockInfo_proto_goTypes = []interface{}{ + (*BlockInfo)(nil), // 0: BlockInfo +} +var file_BlockInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlockInfo_proto_init() } +func file_BlockInfo_proto_init() { + if File_BlockInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlockInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlockInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlockInfo_proto_goTypes, + DependencyIndexes: file_BlockInfo_proto_depIdxs, + MessageInfos: file_BlockInfo_proto_msgTypes, + }.Build() + File_BlockInfo_proto = out.File + file_BlockInfo_proto_rawDesc = nil + file_BlockInfo_proto_goTypes = nil + file_BlockInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlockInfo.proto b/gate-hk4e-api/proto/BlockInfo.proto new file mode 100644 index 00000000..a278eede --- /dev/null +++ b/gate-hk4e-api/proto/BlockInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BlockInfo { + uint32 block_id = 1; + uint32 data_version = 2; + bytes bin_data = 3; + bool is_dirty = 4; +} diff --git a/gate-hk4e-api/proto/BlossomBriefInfo.pb.go b/gate-hk4e-api/proto/BlossomBriefInfo.pb.go new file mode 100644 index 00000000..0cf3b94f --- /dev/null +++ b/gate-hk4e-api/proto/BlossomBriefInfo.pb.go @@ -0,0 +1,251 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomBriefInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlossomBriefInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefreshId uint32 `protobuf:"varint,13,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` + RewardId uint32 `protobuf:"varint,5,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + CityId uint32 `protobuf:"varint,10,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Resin uint32 `protobuf:"varint,11,opt,name=resin,proto3" json:"resin,omitempty"` + State uint32 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"` + IsGuideOpened bool `protobuf:"varint,1,opt,name=is_guide_opened,json=isGuideOpened,proto3" json:"is_guide_opened,omitempty"` + MonsterLevel uint32 `protobuf:"varint,8,opt,name=monster_level,json=monsterLevel,proto3" json:"monster_level,omitempty"` + CircleCampId uint32 `protobuf:"varint,15,opt,name=circle_camp_id,json=circleCampId,proto3" json:"circle_camp_id,omitempty"` + Pos *Vector `protobuf:"bytes,12,opt,name=pos,proto3" json:"pos,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *BlossomBriefInfo) Reset() { + *x = BlossomBriefInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomBriefInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomBriefInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomBriefInfo) ProtoMessage() {} + +func (x *BlossomBriefInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlossomBriefInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomBriefInfo.ProtoReflect.Descriptor instead. +func (*BlossomBriefInfo) Descriptor() ([]byte, []int) { + return file_BlossomBriefInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomBriefInfo) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +func (x *BlossomBriefInfo) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *BlossomBriefInfo) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *BlossomBriefInfo) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *BlossomBriefInfo) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *BlossomBriefInfo) GetIsGuideOpened() bool { + if x != nil { + return x.IsGuideOpened + } + return false +} + +func (x *BlossomBriefInfo) GetMonsterLevel() uint32 { + if x != nil { + return x.MonsterLevel + } + return 0 +} + +func (x *BlossomBriefInfo) GetCircleCampId() uint32 { + if x != nil { + return x.CircleCampId + } + return 0 +} + +func (x *BlossomBriefInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *BlossomBriefInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_BlossomBriefInfo_proto protoreflect.FileDescriptor + +var file_BlossomBriefInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x02, 0x0a, 0x10, 0x42, 0x6c, 0x6f, 0x73, 0x73, + 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x69, 0x73, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x47, 0x75, 0x69, 0x64, 0x65, 0x4f, 0x70, + 0x65, 0x6e, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x69, 0x72, + 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlossomBriefInfo_proto_rawDescOnce sync.Once + file_BlossomBriefInfo_proto_rawDescData = file_BlossomBriefInfo_proto_rawDesc +) + +func file_BlossomBriefInfo_proto_rawDescGZIP() []byte { + file_BlossomBriefInfo_proto_rawDescOnce.Do(func() { + file_BlossomBriefInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomBriefInfo_proto_rawDescData) + }) + return file_BlossomBriefInfo_proto_rawDescData +} + +var file_BlossomBriefInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomBriefInfo_proto_goTypes = []interface{}{ + (*BlossomBriefInfo)(nil), // 0: BlossomBriefInfo + (*Vector)(nil), // 1: Vector +} +var file_BlossomBriefInfo_proto_depIdxs = []int32{ + 1, // 0: BlossomBriefInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlossomBriefInfo_proto_init() } +func file_BlossomBriefInfo_proto_init() { + if File_BlossomBriefInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlossomBriefInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomBriefInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomBriefInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomBriefInfo_proto_goTypes, + DependencyIndexes: file_BlossomBriefInfo_proto_depIdxs, + MessageInfos: file_BlossomBriefInfo_proto_msgTypes, + }.Build() + File_BlossomBriefInfo_proto = out.File + file_BlossomBriefInfo_proto_rawDesc = nil + file_BlossomBriefInfo_proto_goTypes = nil + file_BlossomBriefInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomBriefInfo.proto b/gate-hk4e-api/proto/BlossomBriefInfo.proto new file mode 100644 index 00000000..1c773d55 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomBriefInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message BlossomBriefInfo { + uint32 refresh_id = 13; + uint32 reward_id = 5; + uint32 city_id = 10; + uint32 resin = 11; + uint32 state = 7; + bool is_guide_opened = 1; + uint32 monster_level = 8; + uint32 circle_camp_id = 15; + Vector pos = 12; + uint32 scene_id = 9; +} diff --git a/gate-hk4e-api/proto/BlossomBriefInfoNotify.pb.go b/gate-hk4e-api/proto/BlossomBriefInfoNotify.pb.go new file mode 100644 index 00000000..5aae051e --- /dev/null +++ b/gate-hk4e-api/proto/BlossomBriefInfoNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomBriefInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2712 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlossomBriefInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BriefInfoList []*BlossomBriefInfo `protobuf:"bytes,4,rep,name=brief_info_list,json=briefInfoList,proto3" json:"brief_info_list,omitempty"` +} + +func (x *BlossomBriefInfoNotify) Reset() { + *x = BlossomBriefInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomBriefInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomBriefInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomBriefInfoNotify) ProtoMessage() {} + +func (x *BlossomBriefInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_BlossomBriefInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomBriefInfoNotify.ProtoReflect.Descriptor instead. +func (*BlossomBriefInfoNotify) Descriptor() ([]byte, []int) { + return file_BlossomBriefInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomBriefInfoNotify) GetBriefInfoList() []*BlossomBriefInfo { + if x != nil { + return x.BriefInfoList + } + return nil +} + +var File_BlossomBriefInfoNotify_proto protoreflect.FileDescriptor + +var file_BlossomBriefInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, + 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x39, 0x0a, 0x0f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x42, 0x6c, 0x6f, 0x73, + 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x62, 0x72, + 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlossomBriefInfoNotify_proto_rawDescOnce sync.Once + file_BlossomBriefInfoNotify_proto_rawDescData = file_BlossomBriefInfoNotify_proto_rawDesc +) + +func file_BlossomBriefInfoNotify_proto_rawDescGZIP() []byte { + file_BlossomBriefInfoNotify_proto_rawDescOnce.Do(func() { + file_BlossomBriefInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomBriefInfoNotify_proto_rawDescData) + }) + return file_BlossomBriefInfoNotify_proto_rawDescData +} + +var file_BlossomBriefInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomBriefInfoNotify_proto_goTypes = []interface{}{ + (*BlossomBriefInfoNotify)(nil), // 0: BlossomBriefInfoNotify + (*BlossomBriefInfo)(nil), // 1: BlossomBriefInfo +} +var file_BlossomBriefInfoNotify_proto_depIdxs = []int32{ + 1, // 0: BlossomBriefInfoNotify.brief_info_list:type_name -> BlossomBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlossomBriefInfoNotify_proto_init() } +func file_BlossomBriefInfoNotify_proto_init() { + if File_BlossomBriefInfoNotify_proto != nil { + return + } + file_BlossomBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlossomBriefInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomBriefInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomBriefInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomBriefInfoNotify_proto_goTypes, + DependencyIndexes: file_BlossomBriefInfoNotify_proto_depIdxs, + MessageInfos: file_BlossomBriefInfoNotify_proto_msgTypes, + }.Build() + File_BlossomBriefInfoNotify_proto = out.File + file_BlossomBriefInfoNotify_proto_rawDesc = nil + file_BlossomBriefInfoNotify_proto_goTypes = nil + file_BlossomBriefInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomBriefInfoNotify.proto b/gate-hk4e-api/proto/BlossomBriefInfoNotify.proto new file mode 100644 index 00000000..d6855e30 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomBriefInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlossomBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2712 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlossomBriefInfoNotify { + repeated BlossomBriefInfo brief_info_list = 4; +} diff --git a/gate-hk4e-api/proto/BlossomChestCreateNotify.pb.go b/gate-hk4e-api/proto/BlossomChestCreateNotify.pb.go new file mode 100644 index 00000000..5cbd34be --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestCreateNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomChestCreateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2721 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BlossomChestCreateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefreshId uint32 `protobuf:"varint,1,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` + CircleCampId uint32 `protobuf:"varint,10,opt,name=circle_camp_id,json=circleCampId,proto3" json:"circle_camp_id,omitempty"` +} + +func (x *BlossomChestCreateNotify) Reset() { + *x = BlossomChestCreateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomChestCreateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomChestCreateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomChestCreateNotify) ProtoMessage() {} + +func (x *BlossomChestCreateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BlossomChestCreateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomChestCreateNotify.ProtoReflect.Descriptor instead. +func (*BlossomChestCreateNotify) Descriptor() ([]byte, []int) { + return file_BlossomChestCreateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomChestCreateNotify) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +func (x *BlossomChestCreateNotify) GetCircleCampId() uint32 { + if x != nil { + return x.CircleCampId + } + return 0 +} + +var File_BlossomChestCreateNotify_proto protoreflect.FileDescriptor + +var file_BlossomChestCreateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5f, 0x0a, 0x18, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x63, + 0x69, 0x72, 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlossomChestCreateNotify_proto_rawDescOnce sync.Once + file_BlossomChestCreateNotify_proto_rawDescData = file_BlossomChestCreateNotify_proto_rawDesc +) + +func file_BlossomChestCreateNotify_proto_rawDescGZIP() []byte { + file_BlossomChestCreateNotify_proto_rawDescOnce.Do(func() { + file_BlossomChestCreateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomChestCreateNotify_proto_rawDescData) + }) + return file_BlossomChestCreateNotify_proto_rawDescData +} + +var file_BlossomChestCreateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomChestCreateNotify_proto_goTypes = []interface{}{ + (*BlossomChestCreateNotify)(nil), // 0: BlossomChestCreateNotify +} +var file_BlossomChestCreateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlossomChestCreateNotify_proto_init() } +func file_BlossomChestCreateNotify_proto_init() { + if File_BlossomChestCreateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlossomChestCreateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomChestCreateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomChestCreateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomChestCreateNotify_proto_goTypes, + DependencyIndexes: file_BlossomChestCreateNotify_proto_depIdxs, + MessageInfos: file_BlossomChestCreateNotify_proto_msgTypes, + }.Build() + File_BlossomChestCreateNotify_proto = out.File + file_BlossomChestCreateNotify_proto_rawDesc = nil + file_BlossomChestCreateNotify_proto_goTypes = nil + file_BlossomChestCreateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomChestCreateNotify.proto b/gate-hk4e-api/proto/BlossomChestCreateNotify.proto new file mode 100644 index 00000000..78fff377 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestCreateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2721 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BlossomChestCreateNotify { + uint32 refresh_id = 1; + uint32 circle_camp_id = 10; +} diff --git a/gate-hk4e-api/proto/BlossomChestInfo.pb.go b/gate-hk4e-api/proto/BlossomChestInfo.pb.go new file mode 100644 index 00000000..0b094534 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestInfo.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomChestInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlossomChestInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Resin uint32 `protobuf:"varint,1,opt,name=resin,proto3" json:"resin,omitempty"` + QualifyUidList []uint32 `protobuf:"varint,2,rep,packed,name=qualify_uid_list,json=qualifyUidList,proto3" json:"qualify_uid_list,omitempty"` + RemainUidList []uint32 `protobuf:"varint,3,rep,packed,name=remain_uid_list,json=remainUidList,proto3" json:"remain_uid_list,omitempty"` + DeadTime uint32 `protobuf:"varint,4,opt,name=dead_time,json=deadTime,proto3" json:"dead_time,omitempty"` + BlossomRefreshType uint32 `protobuf:"varint,5,opt,name=blossom_refresh_type,json=blossomRefreshType,proto3" json:"blossom_refresh_type,omitempty"` + RefreshId uint32 `protobuf:"varint,6,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` +} + +func (x *BlossomChestInfo) Reset() { + *x = BlossomChestInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomChestInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomChestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomChestInfo) ProtoMessage() {} + +func (x *BlossomChestInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlossomChestInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomChestInfo.ProtoReflect.Descriptor instead. +func (*BlossomChestInfo) Descriptor() ([]byte, []int) { + return file_BlossomChestInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomChestInfo) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *BlossomChestInfo) GetQualifyUidList() []uint32 { + if x != nil { + return x.QualifyUidList + } + return nil +} + +func (x *BlossomChestInfo) GetRemainUidList() []uint32 { + if x != nil { + return x.RemainUidList + } + return nil +} + +func (x *BlossomChestInfo) GetDeadTime() uint32 { + if x != nil { + return x.DeadTime + } + return 0 +} + +func (x *BlossomChestInfo) GetBlossomRefreshType() uint32 { + if x != nil { + return x.BlossomRefreshType + } + return 0 +} + +func (x *BlossomChestInfo) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +var File_BlossomChestInfo_proto protoreflect.FileDescriptor + +var file_BlossomChestInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x10, 0x42, 0x6c, 0x6f, + 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, + 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x65, + 0x73, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x5f, 0x75, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x71, + 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, + 0x0f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x55, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x61, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x5f, 0x72, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x62, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlossomChestInfo_proto_rawDescOnce sync.Once + file_BlossomChestInfo_proto_rawDescData = file_BlossomChestInfo_proto_rawDesc +) + +func file_BlossomChestInfo_proto_rawDescGZIP() []byte { + file_BlossomChestInfo_proto_rawDescOnce.Do(func() { + file_BlossomChestInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomChestInfo_proto_rawDescData) + }) + return file_BlossomChestInfo_proto_rawDescData +} + +var file_BlossomChestInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomChestInfo_proto_goTypes = []interface{}{ + (*BlossomChestInfo)(nil), // 0: BlossomChestInfo +} +var file_BlossomChestInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlossomChestInfo_proto_init() } +func file_BlossomChestInfo_proto_init() { + if File_BlossomChestInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlossomChestInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomChestInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomChestInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomChestInfo_proto_goTypes, + DependencyIndexes: file_BlossomChestInfo_proto_depIdxs, + MessageInfos: file_BlossomChestInfo_proto_msgTypes, + }.Build() + File_BlossomChestInfo_proto = out.File + file_BlossomChestInfo_proto_rawDesc = nil + file_BlossomChestInfo_proto_goTypes = nil + file_BlossomChestInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomChestInfo.proto b/gate-hk4e-api/proto/BlossomChestInfo.proto new file mode 100644 index 00000000..d7032b2c --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BlossomChestInfo { + uint32 resin = 1; + repeated uint32 qualify_uid_list = 2; + repeated uint32 remain_uid_list = 3; + uint32 dead_time = 4; + uint32 blossom_refresh_type = 5; + uint32 refresh_id = 6; +} diff --git a/gate-hk4e-api/proto/BlossomChestInfoNotify.pb.go b/gate-hk4e-api/proto/BlossomChestInfoNotify.pb.go new file mode 100644 index 00000000..4d1bc765 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestInfoNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomChestInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 890 +// EnetChannelId: 0 +// EnetIsReliable: true +type BlossomChestInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + BlossomChestInfo *BlossomChestInfo `protobuf:"bytes,3,opt,name=blossom_chest_info,json=blossomChestInfo,proto3" json:"blossom_chest_info,omitempty"` +} + +func (x *BlossomChestInfoNotify) Reset() { + *x = BlossomChestInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomChestInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomChestInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomChestInfoNotify) ProtoMessage() {} + +func (x *BlossomChestInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_BlossomChestInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomChestInfoNotify.ProtoReflect.Descriptor instead. +func (*BlossomChestInfoNotify) Descriptor() ([]byte, []int) { + return file_BlossomChestInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomChestInfoNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *BlossomChestInfoNotify) GetBlossomChestInfo() *BlossomChestInfo { + if x != nil { + return x.BlossomChestInfo + } + return nil +} + +var File_BlossomChestInfoNotify_proto protoreflect.FileDescriptor + +var file_BlossomChestInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, + 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x3f, 0x0a, + 0x12, 0x62, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x42, 0x6c, 0x6f, 0x73, + 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, + 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_BlossomChestInfoNotify_proto_rawDescOnce sync.Once + file_BlossomChestInfoNotify_proto_rawDescData = file_BlossomChestInfoNotify_proto_rawDesc +) + +func file_BlossomChestInfoNotify_proto_rawDescGZIP() []byte { + file_BlossomChestInfoNotify_proto_rawDescOnce.Do(func() { + file_BlossomChestInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomChestInfoNotify_proto_rawDescData) + }) + return file_BlossomChestInfoNotify_proto_rawDescData +} + +var file_BlossomChestInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomChestInfoNotify_proto_goTypes = []interface{}{ + (*BlossomChestInfoNotify)(nil), // 0: BlossomChestInfoNotify + (*BlossomChestInfo)(nil), // 1: BlossomChestInfo +} +var file_BlossomChestInfoNotify_proto_depIdxs = []int32{ + 1, // 0: BlossomChestInfoNotify.blossom_chest_info:type_name -> BlossomChestInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BlossomChestInfoNotify_proto_init() } +func file_BlossomChestInfoNotify_proto_init() { + if File_BlossomChestInfoNotify_proto != nil { + return + } + file_BlossomChestInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BlossomChestInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomChestInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomChestInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomChestInfoNotify_proto_goTypes, + DependencyIndexes: file_BlossomChestInfoNotify_proto_depIdxs, + MessageInfos: file_BlossomChestInfoNotify_proto_msgTypes, + }.Build() + File_BlossomChestInfoNotify_proto = out.File + file_BlossomChestInfoNotify_proto_rawDesc = nil + file_BlossomChestInfoNotify_proto_goTypes = nil + file_BlossomChestInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomChestInfoNotify.proto b/gate-hk4e-api/proto/BlossomChestInfoNotify.proto new file mode 100644 index 00000000..edb48bc1 --- /dev/null +++ b/gate-hk4e-api/proto/BlossomChestInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlossomChestInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 890 +// EnetChannelId: 0 +// EnetIsReliable: true +message BlossomChestInfoNotify { + uint32 entity_id = 9; + BlossomChestInfo blossom_chest_info = 3; +} diff --git a/gate-hk4e-api/proto/BlossomScheduleInfo.pb.go b/gate-hk4e-api/proto/BlossomScheduleInfo.pb.go new file mode 100644 index 00000000..62e7caed --- /dev/null +++ b/gate-hk4e-api/proto/BlossomScheduleInfo.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BlossomScheduleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BlossomScheduleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Progress uint32 `protobuf:"varint,13,opt,name=progress,proto3" json:"progress,omitempty"` + State uint32 `protobuf:"varint,10,opt,name=state,proto3" json:"state,omitempty"` + Round uint32 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` + CircleCampId uint32 `protobuf:"varint,15,opt,name=circle_camp_id,json=circleCampId,proto3" json:"circle_camp_id,omitempty"` + RefreshId uint32 `protobuf:"varint,6,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` + FinishProgress uint32 `protobuf:"varint,14,opt,name=finish_progress,json=finishProgress,proto3" json:"finish_progress,omitempty"` +} + +func (x *BlossomScheduleInfo) Reset() { + *x = BlossomScheduleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BlossomScheduleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlossomScheduleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlossomScheduleInfo) ProtoMessage() {} + +func (x *BlossomScheduleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BlossomScheduleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlossomScheduleInfo.ProtoReflect.Descriptor instead. +func (*BlossomScheduleInfo) Descriptor() ([]byte, []int) { + return file_BlossomScheduleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BlossomScheduleInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *BlossomScheduleInfo) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *BlossomScheduleInfo) GetRound() uint32 { + if x != nil { + return x.Round + } + return 0 +} + +func (x *BlossomScheduleInfo) GetCircleCampId() uint32 { + if x != nil { + return x.CircleCampId + } + return 0 +} + +func (x *BlossomScheduleInfo) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +func (x *BlossomScheduleInfo) GetFinishProgress() uint32 { + if x != nil { + return x.FinishProgress + } + return 0 +} + +var File_BlossomScheduleInfo_proto protoreflect.FileDescriptor + +var file_BlossomScheduleInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x01, 0x0a, 0x13, + 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x63, + 0x69, 0x72, 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, 0x64, + 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BlossomScheduleInfo_proto_rawDescOnce sync.Once + file_BlossomScheduleInfo_proto_rawDescData = file_BlossomScheduleInfo_proto_rawDesc +) + +func file_BlossomScheduleInfo_proto_rawDescGZIP() []byte { + file_BlossomScheduleInfo_proto_rawDescOnce.Do(func() { + file_BlossomScheduleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BlossomScheduleInfo_proto_rawDescData) + }) + return file_BlossomScheduleInfo_proto_rawDescData +} + +var file_BlossomScheduleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BlossomScheduleInfo_proto_goTypes = []interface{}{ + (*BlossomScheduleInfo)(nil), // 0: BlossomScheduleInfo +} +var file_BlossomScheduleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BlossomScheduleInfo_proto_init() } +func file_BlossomScheduleInfo_proto_init() { + if File_BlossomScheduleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BlossomScheduleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlossomScheduleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BlossomScheduleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BlossomScheduleInfo_proto_goTypes, + DependencyIndexes: file_BlossomScheduleInfo_proto_depIdxs, + MessageInfos: file_BlossomScheduleInfo_proto_msgTypes, + }.Build() + File_BlossomScheduleInfo_proto = out.File + file_BlossomScheduleInfo_proto_rawDesc = nil + file_BlossomScheduleInfo_proto_goTypes = nil + file_BlossomScheduleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BlossomScheduleInfo.proto b/gate-hk4e-api/proto/BlossomScheduleInfo.proto new file mode 100644 index 00000000..49252b8a --- /dev/null +++ b/gate-hk4e-api/proto/BlossomScheduleInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BlossomScheduleInfo { + uint32 progress = 13; + uint32 state = 10; + uint32 round = 4; + uint32 circle_camp_id = 15; + uint32 refresh_id = 6; + uint32 finish_progress = 14; +} diff --git a/gate-hk4e-api/proto/BonusActivityInfo.pb.go b/gate-hk4e-api/proto/BonusActivityInfo.pb.go new file mode 100644 index 00000000..33cc9323 --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BonusActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BonusActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusActivityId uint32 `protobuf:"varint,6,opt,name=bonus_activity_id,json=bonusActivityId,proto3" json:"bonus_activity_id,omitempty"` + State uint32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"` +} + +func (x *BonusActivityInfo) Reset() { + *x = BonusActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BonusActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BonusActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BonusActivityInfo) ProtoMessage() {} + +func (x *BonusActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_BonusActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BonusActivityInfo.ProtoReflect.Descriptor instead. +func (*BonusActivityInfo) Descriptor() ([]byte, []int) { + return file_BonusActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BonusActivityInfo) GetBonusActivityId() uint32 { + if x != nil { + return x.BonusActivityId + } + return 0 +} + +func (x *BonusActivityInfo) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +var File_BonusActivityInfo_proto protoreflect.FileDescriptor + +var file_BonusActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x42, 0x6f, 0x6e, + 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, + 0x0a, 0x11, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x6f, 0x6e, 0x75, 0x73, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BonusActivityInfo_proto_rawDescOnce sync.Once + file_BonusActivityInfo_proto_rawDescData = file_BonusActivityInfo_proto_rawDesc +) + +func file_BonusActivityInfo_proto_rawDescGZIP() []byte { + file_BonusActivityInfo_proto_rawDescOnce.Do(func() { + file_BonusActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BonusActivityInfo_proto_rawDescData) + }) + return file_BonusActivityInfo_proto_rawDescData +} + +var file_BonusActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BonusActivityInfo_proto_goTypes = []interface{}{ + (*BonusActivityInfo)(nil), // 0: BonusActivityInfo +} +var file_BonusActivityInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BonusActivityInfo_proto_init() } +func file_BonusActivityInfo_proto_init() { + if File_BonusActivityInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BonusActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BonusActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BonusActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BonusActivityInfo_proto_goTypes, + DependencyIndexes: file_BonusActivityInfo_proto_depIdxs, + MessageInfos: file_BonusActivityInfo_proto_msgTypes, + }.Build() + File_BonusActivityInfo_proto = out.File + file_BonusActivityInfo_proto_rawDesc = nil + file_BonusActivityInfo_proto_goTypes = nil + file_BonusActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BonusActivityInfo.proto b/gate-hk4e-api/proto/BonusActivityInfo.proto new file mode 100644 index 00000000..1d2aabd4 --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BonusActivityInfo { + uint32 bonus_activity_id = 6; + uint32 state = 3; +} diff --git a/gate-hk4e-api/proto/BonusActivityInfoReq.pb.go b/gate-hk4e-api/proto/BonusActivityInfoReq.pb.go new file mode 100644 index 00000000..0b2c6fae --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BonusActivityInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2548 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BonusActivityInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BonusActivityInfoReq) Reset() { + *x = BonusActivityInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BonusActivityInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BonusActivityInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BonusActivityInfoReq) ProtoMessage() {} + +func (x *BonusActivityInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_BonusActivityInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BonusActivityInfoReq.ProtoReflect.Descriptor instead. +func (*BonusActivityInfoReq) Descriptor() ([]byte, []int) { + return file_BonusActivityInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_BonusActivityInfoReq_proto protoreflect.FileDescriptor + +var file_BonusActivityInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BonusActivityInfoReq_proto_rawDescOnce sync.Once + file_BonusActivityInfoReq_proto_rawDescData = file_BonusActivityInfoReq_proto_rawDesc +) + +func file_BonusActivityInfoReq_proto_rawDescGZIP() []byte { + file_BonusActivityInfoReq_proto_rawDescOnce.Do(func() { + file_BonusActivityInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BonusActivityInfoReq_proto_rawDescData) + }) + return file_BonusActivityInfoReq_proto_rawDescData +} + +var file_BonusActivityInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BonusActivityInfoReq_proto_goTypes = []interface{}{ + (*BonusActivityInfoReq)(nil), // 0: BonusActivityInfoReq +} +var file_BonusActivityInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BonusActivityInfoReq_proto_init() } +func file_BonusActivityInfoReq_proto_init() { + if File_BonusActivityInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BonusActivityInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BonusActivityInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BonusActivityInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BonusActivityInfoReq_proto_goTypes, + DependencyIndexes: file_BonusActivityInfoReq_proto_depIdxs, + MessageInfos: file_BonusActivityInfoReq_proto_msgTypes, + }.Build() + File_BonusActivityInfoReq_proto = out.File + file_BonusActivityInfoReq_proto_rawDesc = nil + file_BonusActivityInfoReq_proto_goTypes = nil + file_BonusActivityInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BonusActivityInfoReq.proto b/gate-hk4e-api/proto/BonusActivityInfoReq.proto new file mode 100644 index 00000000..104669d5 --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2548 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BonusActivityInfoReq {} diff --git a/gate-hk4e-api/proto/BonusActivityInfoRsp.pb.go b/gate-hk4e-api/proto/BonusActivityInfoRsp.pb.go new file mode 100644 index 00000000..6aded0c4 --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfoRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BonusActivityInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2597 +// EnetChannelId: 0 +// EnetIsReliable: true +type BonusActivityInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusActivityInfoList []*BonusActivityInfo `protobuf:"bytes,2,rep,name=bonus_activity_info_list,json=bonusActivityInfoList,proto3" json:"bonus_activity_info_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *BonusActivityInfoRsp) Reset() { + *x = BonusActivityInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BonusActivityInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BonusActivityInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BonusActivityInfoRsp) ProtoMessage() {} + +func (x *BonusActivityInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_BonusActivityInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BonusActivityInfoRsp.ProtoReflect.Descriptor instead. +func (*BonusActivityInfoRsp) Descriptor() ([]byte, []int) { + return file_BonusActivityInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BonusActivityInfoRsp) GetBonusActivityInfoList() []*BonusActivityInfo { + if x != nil { + return x.BonusActivityInfoList + } + return nil +} + +func (x *BonusActivityInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_BonusActivityInfoRsp_proto protoreflect.FileDescriptor + +var file_BonusActivityInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x42, 0x6f, + 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x14, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x4b, 0x0a, + 0x18, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BonusActivityInfoRsp_proto_rawDescOnce sync.Once + file_BonusActivityInfoRsp_proto_rawDescData = file_BonusActivityInfoRsp_proto_rawDesc +) + +func file_BonusActivityInfoRsp_proto_rawDescGZIP() []byte { + file_BonusActivityInfoRsp_proto_rawDescOnce.Do(func() { + file_BonusActivityInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BonusActivityInfoRsp_proto_rawDescData) + }) + return file_BonusActivityInfoRsp_proto_rawDescData +} + +var file_BonusActivityInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BonusActivityInfoRsp_proto_goTypes = []interface{}{ + (*BonusActivityInfoRsp)(nil), // 0: BonusActivityInfoRsp + (*BonusActivityInfo)(nil), // 1: BonusActivityInfo +} +var file_BonusActivityInfoRsp_proto_depIdxs = []int32{ + 1, // 0: BonusActivityInfoRsp.bonus_activity_info_list:type_name -> BonusActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BonusActivityInfoRsp_proto_init() } +func file_BonusActivityInfoRsp_proto_init() { + if File_BonusActivityInfoRsp_proto != nil { + return + } + file_BonusActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BonusActivityInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BonusActivityInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BonusActivityInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BonusActivityInfoRsp_proto_goTypes, + DependencyIndexes: file_BonusActivityInfoRsp_proto_depIdxs, + MessageInfos: file_BonusActivityInfoRsp_proto_msgTypes, + }.Build() + File_BonusActivityInfoRsp_proto = out.File + file_BonusActivityInfoRsp_proto_rawDesc = nil + file_BonusActivityInfoRsp_proto_goTypes = nil + file_BonusActivityInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BonusActivityInfoRsp.proto b/gate-hk4e-api/proto/BonusActivityInfoRsp.proto new file mode 100644 index 00000000..bda054ad --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BonusActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2597 +// EnetChannelId: 0 +// EnetIsReliable: true +message BonusActivityInfoRsp { + repeated BonusActivityInfo bonus_activity_info_list = 2; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/BonusActivityUpdateNotify.pb.go b/gate-hk4e-api/proto/BonusActivityUpdateNotify.pb.go new file mode 100644 index 00000000..803ff17f --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityUpdateNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BonusActivityUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2575 +// EnetChannelId: 0 +// EnetIsReliable: true +type BonusActivityUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusActivityInfoList []*BonusActivityInfo `protobuf:"bytes,8,rep,name=bonus_activity_info_list,json=bonusActivityInfoList,proto3" json:"bonus_activity_info_list,omitempty"` +} + +func (x *BonusActivityUpdateNotify) Reset() { + *x = BonusActivityUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BonusActivityUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BonusActivityUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BonusActivityUpdateNotify) ProtoMessage() {} + +func (x *BonusActivityUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BonusActivityUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BonusActivityUpdateNotify.ProtoReflect.Descriptor instead. +func (*BonusActivityUpdateNotify) Descriptor() ([]byte, []int) { + return file_BonusActivityUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BonusActivityUpdateNotify) GetBonusActivityInfoList() []*BonusActivityInfo { + if x != nil { + return x.BonusActivityInfoList + } + return nil +} + +var File_BonusActivityUpdateNotify_proto protoreflect.FileDescriptor + +var file_BonusActivityUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x19, 0x42, 0x6f, + 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4b, 0x0a, 0x18, 0x62, 0x6f, 0x6e, 0x75, 0x73, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6e, 0x75, + 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x62, + 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BonusActivityUpdateNotify_proto_rawDescOnce sync.Once + file_BonusActivityUpdateNotify_proto_rawDescData = file_BonusActivityUpdateNotify_proto_rawDesc +) + +func file_BonusActivityUpdateNotify_proto_rawDescGZIP() []byte { + file_BonusActivityUpdateNotify_proto_rawDescOnce.Do(func() { + file_BonusActivityUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BonusActivityUpdateNotify_proto_rawDescData) + }) + return file_BonusActivityUpdateNotify_proto_rawDescData +} + +var file_BonusActivityUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BonusActivityUpdateNotify_proto_goTypes = []interface{}{ + (*BonusActivityUpdateNotify)(nil), // 0: BonusActivityUpdateNotify + (*BonusActivityInfo)(nil), // 1: BonusActivityInfo +} +var file_BonusActivityUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: BonusActivityUpdateNotify.bonus_activity_info_list:type_name -> BonusActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BonusActivityUpdateNotify_proto_init() } +func file_BonusActivityUpdateNotify_proto_init() { + if File_BonusActivityUpdateNotify_proto != nil { + return + } + file_BonusActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BonusActivityUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BonusActivityUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BonusActivityUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BonusActivityUpdateNotify_proto_goTypes, + DependencyIndexes: file_BonusActivityUpdateNotify_proto_depIdxs, + MessageInfos: file_BonusActivityUpdateNotify_proto_msgTypes, + }.Build() + File_BonusActivityUpdateNotify_proto = out.File + file_BonusActivityUpdateNotify_proto_rawDesc = nil + file_BonusActivityUpdateNotify_proto_goTypes = nil + file_BonusActivityUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BonusActivityUpdateNotify.proto b/gate-hk4e-api/proto/BonusActivityUpdateNotify.proto new file mode 100644 index 00000000..9567f88e --- /dev/null +++ b/gate-hk4e-api/proto/BonusActivityUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BonusActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2575 +// EnetChannelId: 0 +// EnetIsReliable: true +message BonusActivityUpdateNotify { + repeated BonusActivityInfo bonus_activity_info_list = 8; +} diff --git a/gate-hk4e-api/proto/BonusOpActivityInfo.pb.go b/gate-hk4e-api/proto/BonusOpActivityInfo.pb.go new file mode 100644 index 00000000..55af7359 --- /dev/null +++ b/gate-hk4e-api/proto/BonusOpActivityInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BonusOpActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BonusOpActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftBonusCount uint32 `protobuf:"varint,11,opt,name=left_bonus_count,json=leftBonusCount,proto3" json:"left_bonus_count,omitempty"` +} + +func (x *BonusOpActivityInfo) Reset() { + *x = BonusOpActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BonusOpActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BonusOpActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BonusOpActivityInfo) ProtoMessage() {} + +func (x *BonusOpActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_BonusOpActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BonusOpActivityInfo.ProtoReflect.Descriptor instead. +func (*BonusOpActivityInfo) Descriptor() ([]byte, []int) { + return file_BonusOpActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BonusOpActivityInfo) GetLeftBonusCount() uint32 { + if x != nil { + return x.LeftBonusCount + } + return 0 +} + +var File_BonusOpActivityInfo_proto protoreflect.FileDescriptor + +var file_BonusOpActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x42, + 0x6f, 0x6e, 0x75, 0x73, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x62, 0x6f, 0x6e, 0x75, 0x73, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x65, + 0x66, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BonusOpActivityInfo_proto_rawDescOnce sync.Once + file_BonusOpActivityInfo_proto_rawDescData = file_BonusOpActivityInfo_proto_rawDesc +) + +func file_BonusOpActivityInfo_proto_rawDescGZIP() []byte { + file_BonusOpActivityInfo_proto_rawDescOnce.Do(func() { + file_BonusOpActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BonusOpActivityInfo_proto_rawDescData) + }) + return file_BonusOpActivityInfo_proto_rawDescData +} + +var file_BonusOpActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BonusOpActivityInfo_proto_goTypes = []interface{}{ + (*BonusOpActivityInfo)(nil), // 0: BonusOpActivityInfo +} +var file_BonusOpActivityInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BonusOpActivityInfo_proto_init() } +func file_BonusOpActivityInfo_proto_init() { + if File_BonusOpActivityInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BonusOpActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BonusOpActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BonusOpActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BonusOpActivityInfo_proto_goTypes, + DependencyIndexes: file_BonusOpActivityInfo_proto_depIdxs, + MessageInfos: file_BonusOpActivityInfo_proto_msgTypes, + }.Build() + File_BonusOpActivityInfo_proto = out.File + file_BonusOpActivityInfo_proto_rawDesc = nil + file_BonusOpActivityInfo_proto_goTypes = nil + file_BonusOpActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BonusOpActivityInfo.proto b/gate-hk4e-api/proto/BonusOpActivityInfo.proto new file mode 100644 index 00000000..d0fad4d4 --- /dev/null +++ b/gate-hk4e-api/proto/BonusOpActivityInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BonusOpActivityInfo { + uint32 left_bonus_count = 11; +} diff --git a/gate-hk4e-api/proto/BossChestActivateNotify.pb.go b/gate-hk4e-api/proto/BossChestActivateNotify.pb.go new file mode 100644 index 00000000..5dee8dfe --- /dev/null +++ b/gate-hk4e-api/proto/BossChestActivateNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BossChestActivateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 803 +// EnetChannelId: 0 +// EnetIsReliable: true +type BossChestActivateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QualifyUidList []uint32 `protobuf:"varint,1,rep,packed,name=qualify_uid_list,json=qualifyUidList,proto3" json:"qualify_uid_list,omitempty"` + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *BossChestActivateNotify) Reset() { + *x = BossChestActivateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BossChestActivateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BossChestActivateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BossChestActivateNotify) ProtoMessage() {} + +func (x *BossChestActivateNotify) ProtoReflect() protoreflect.Message { + mi := &file_BossChestActivateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BossChestActivateNotify.ProtoReflect.Descriptor instead. +func (*BossChestActivateNotify) Descriptor() ([]byte, []int) { + return file_BossChestActivateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BossChestActivateNotify) GetQualifyUidList() []uint32 { + if x != nil { + return x.QualifyUidList + } + return nil +} + +func (x *BossChestActivateNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_BossChestActivateNotify_proto protoreflect.FileDescriptor + +var file_BossChestActivateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x60, 0x0a, 0x17, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x66, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x55, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BossChestActivateNotify_proto_rawDescOnce sync.Once + file_BossChestActivateNotify_proto_rawDescData = file_BossChestActivateNotify_proto_rawDesc +) + +func file_BossChestActivateNotify_proto_rawDescGZIP() []byte { + file_BossChestActivateNotify_proto_rawDescOnce.Do(func() { + file_BossChestActivateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BossChestActivateNotify_proto_rawDescData) + }) + return file_BossChestActivateNotify_proto_rawDescData +} + +var file_BossChestActivateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BossChestActivateNotify_proto_goTypes = []interface{}{ + (*BossChestActivateNotify)(nil), // 0: BossChestActivateNotify +} +var file_BossChestActivateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BossChestActivateNotify_proto_init() } +func file_BossChestActivateNotify_proto_init() { + if File_BossChestActivateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BossChestActivateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BossChestActivateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BossChestActivateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BossChestActivateNotify_proto_goTypes, + DependencyIndexes: file_BossChestActivateNotify_proto_depIdxs, + MessageInfos: file_BossChestActivateNotify_proto_msgTypes, + }.Build() + File_BossChestActivateNotify_proto = out.File + file_BossChestActivateNotify_proto_rawDesc = nil + file_BossChestActivateNotify_proto_goTypes = nil + file_BossChestActivateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BossChestActivateNotify.proto b/gate-hk4e-api/proto/BossChestActivateNotify.proto new file mode 100644 index 00000000..48d54e7d --- /dev/null +++ b/gate-hk4e-api/proto/BossChestActivateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 803 +// EnetChannelId: 0 +// EnetIsReliable: true +message BossChestActivateNotify { + repeated uint32 qualify_uid_list = 1; + uint32 entity_id = 12; +} diff --git a/gate-hk4e-api/proto/BossChestInfo.pb.go b/gate-hk4e-api/proto/BossChestInfo.pb.go new file mode 100644 index 00000000..1f1da1a2 --- /dev/null +++ b/gate-hk4e-api/proto/BossChestInfo.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BossChestInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BossChestInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterConfigId uint32 `protobuf:"varint,1,opt,name=monster_config_id,json=monsterConfigId,proto3" json:"monster_config_id,omitempty"` + Resin uint32 `protobuf:"varint,2,opt,name=resin,proto3" json:"resin,omitempty"` + RemainUidList []uint32 `protobuf:"varint,3,rep,packed,name=remain_uid_list,json=remainUidList,proto3" json:"remain_uid_list,omitempty"` + QualifyUidList []uint32 `protobuf:"varint,4,rep,packed,name=qualify_uid_list,json=qualifyUidList,proto3" json:"qualify_uid_list,omitempty"` + UidDiscountMap map[uint32]*WeeklyBossResinDiscountInfo `protobuf:"bytes,5,rep,name=uid_discount_map,json=uidDiscountMap,proto3" json:"uid_discount_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *BossChestInfo) Reset() { + *x = BossChestInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BossChestInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BossChestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BossChestInfo) ProtoMessage() {} + +func (x *BossChestInfo) ProtoReflect() protoreflect.Message { + mi := &file_BossChestInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BossChestInfo.ProtoReflect.Descriptor instead. +func (*BossChestInfo) Descriptor() ([]byte, []int) { + return file_BossChestInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BossChestInfo) GetMonsterConfigId() uint32 { + if x != nil { + return x.MonsterConfigId + } + return 0 +} + +func (x *BossChestInfo) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *BossChestInfo) GetRemainUidList() []uint32 { + if x != nil { + return x.RemainUidList + } + return nil +} + +func (x *BossChestInfo) GetQualifyUidList() []uint32 { + if x != nil { + return x.QualifyUidList + } + return nil +} + +func (x *BossChestInfo) GetUidDiscountMap() map[uint32]*WeeklyBossResinDiscountInfo { + if x != nil { + return x.UidDiscountMap + } + return nil +} + +var File_BossChestInfo_proto protoreflect.FileDescriptor + +var file_BossChestInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, 0x02, 0x0a, 0x0d, 0x42, 0x6f, 0x73, + 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x12, 0x26, 0x0a, 0x0f, + 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x55, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x5f, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, + 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4c, + 0x0a, 0x10, 0x75, 0x69, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x42, 0x6f, 0x73, 0x73, 0x43, + 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x69, 0x64, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x75, 0x69, + 0x64, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x1a, 0x5f, 0x0a, 0x13, + 0x55, 0x69, 0x64, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BossChestInfo_proto_rawDescOnce sync.Once + file_BossChestInfo_proto_rawDescData = file_BossChestInfo_proto_rawDesc +) + +func file_BossChestInfo_proto_rawDescGZIP() []byte { + file_BossChestInfo_proto_rawDescOnce.Do(func() { + file_BossChestInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BossChestInfo_proto_rawDescData) + }) + return file_BossChestInfo_proto_rawDescData +} + +var file_BossChestInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BossChestInfo_proto_goTypes = []interface{}{ + (*BossChestInfo)(nil), // 0: BossChestInfo + nil, // 1: BossChestInfo.UidDiscountMapEntry + (*WeeklyBossResinDiscountInfo)(nil), // 2: WeeklyBossResinDiscountInfo +} +var file_BossChestInfo_proto_depIdxs = []int32{ + 1, // 0: BossChestInfo.uid_discount_map:type_name -> BossChestInfo.UidDiscountMapEntry + 2, // 1: BossChestInfo.UidDiscountMapEntry.value:type_name -> WeeklyBossResinDiscountInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BossChestInfo_proto_init() } +func file_BossChestInfo_proto_init() { + if File_BossChestInfo_proto != nil { + return + } + file_WeeklyBossResinDiscountInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BossChestInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BossChestInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BossChestInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BossChestInfo_proto_goTypes, + DependencyIndexes: file_BossChestInfo_proto_depIdxs, + MessageInfos: file_BossChestInfo_proto_msgTypes, + }.Build() + File_BossChestInfo_proto = out.File + file_BossChestInfo_proto_rawDesc = nil + file_BossChestInfo_proto_goTypes = nil + file_BossChestInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BossChestInfo.proto b/gate-hk4e-api/proto/BossChestInfo.proto new file mode 100644 index 00000000..ab311696 --- /dev/null +++ b/gate-hk4e-api/proto/BossChestInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WeeklyBossResinDiscountInfo.proto"; + +option go_package = "./;proto"; + +message BossChestInfo { + uint32 monster_config_id = 1; + uint32 resin = 2; + repeated uint32 remain_uid_list = 3; + repeated uint32 qualify_uid_list = 4; + map uid_discount_map = 5; +} diff --git a/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.pb.go b/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.pb.go new file mode 100644 index 00000000..fef24495 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BounceConjuringActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BounceConjuringActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterInfoList []*BounceConjuringChapterInfo `protobuf:"bytes,8,rep,name=chapter_info_list,json=chapterInfoList,proto3" json:"chapter_info_list,omitempty"` + IsContentClosed bool `protobuf:"varint,12,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,7,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` +} + +func (x *BounceConjuringActivityDetailInfo) Reset() { + *x = BounceConjuringActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BounceConjuringActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BounceConjuringActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BounceConjuringActivityDetailInfo) ProtoMessage() {} + +func (x *BounceConjuringActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_BounceConjuringActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BounceConjuringActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*BounceConjuringActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_BounceConjuringActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BounceConjuringActivityDetailInfo) GetChapterInfoList() []*BounceConjuringChapterInfo { + if x != nil { + return x.ChapterInfoList + } + return nil +} + +func (x *BounceConjuringActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *BounceConjuringActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +var File_BounceConjuringActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_BounceConjuringActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x42, 0x6f, 0x75, 0x6e, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x01, 0x0a, 0x21, + 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x47, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x42, + 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x70, 0x74, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BounceConjuringActivityDetailInfo_proto_rawDescOnce sync.Once + file_BounceConjuringActivityDetailInfo_proto_rawDescData = file_BounceConjuringActivityDetailInfo_proto_rawDesc +) + +func file_BounceConjuringActivityDetailInfo_proto_rawDescGZIP() []byte { + file_BounceConjuringActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_BounceConjuringActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BounceConjuringActivityDetailInfo_proto_rawDescData) + }) + return file_BounceConjuringActivityDetailInfo_proto_rawDescData +} + +var file_BounceConjuringActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BounceConjuringActivityDetailInfo_proto_goTypes = []interface{}{ + (*BounceConjuringActivityDetailInfo)(nil), // 0: BounceConjuringActivityDetailInfo + (*BounceConjuringChapterInfo)(nil), // 1: BounceConjuringChapterInfo +} +var file_BounceConjuringActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: BounceConjuringActivityDetailInfo.chapter_info_list:type_name -> BounceConjuringChapterInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BounceConjuringActivityDetailInfo_proto_init() } +func file_BounceConjuringActivityDetailInfo_proto_init() { + if File_BounceConjuringActivityDetailInfo_proto != nil { + return + } + file_BounceConjuringChapterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BounceConjuringActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BounceConjuringActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BounceConjuringActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BounceConjuringActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_BounceConjuringActivityDetailInfo_proto_depIdxs, + MessageInfos: file_BounceConjuringActivityDetailInfo_proto_msgTypes, + }.Build() + File_BounceConjuringActivityDetailInfo_proto = out.File + file_BounceConjuringActivityDetailInfo_proto_rawDesc = nil + file_BounceConjuringActivityDetailInfo_proto_goTypes = nil + file_BounceConjuringActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.proto b/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.proto new file mode 100644 index 00000000..d3b4ca45 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BounceConjuringChapterInfo.proto"; + +option go_package = "./;proto"; + +message BounceConjuringActivityDetailInfo { + repeated BounceConjuringChapterInfo chapter_info_list = 8; + bool is_content_closed = 12; + uint32 content_close_time = 7; +} diff --git a/gate-hk4e-api/proto/BounceConjuringChapterInfo.pb.go b/gate-hk4e-api/proto/BounceConjuringChapterInfo.pb.go new file mode 100644 index 00000000..a3e65261 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringChapterInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BounceConjuringChapterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BounceConjuringChapterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestScore uint32 `protobuf:"varint,12,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` + OpenTime uint32 `protobuf:"varint,9,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + ChapterId uint32 `protobuf:"varint,13,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *BounceConjuringChapterInfo) Reset() { + *x = BounceConjuringChapterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BounceConjuringChapterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BounceConjuringChapterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BounceConjuringChapterInfo) ProtoMessage() {} + +func (x *BounceConjuringChapterInfo) ProtoReflect() protoreflect.Message { + mi := &file_BounceConjuringChapterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BounceConjuringChapterInfo.ProtoReflect.Descriptor instead. +func (*BounceConjuringChapterInfo) Descriptor() ([]byte, []int) { + return file_BounceConjuringChapterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BounceConjuringChapterInfo) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +func (x *BounceConjuringChapterInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *BounceConjuringChapterInfo) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_BounceConjuringChapterInfo_proto protoreflect.FileDescriptor + +var file_BounceConjuringChapterInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x1a, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, + 0x75, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BounceConjuringChapterInfo_proto_rawDescOnce sync.Once + file_BounceConjuringChapterInfo_proto_rawDescData = file_BounceConjuringChapterInfo_proto_rawDesc +) + +func file_BounceConjuringChapterInfo_proto_rawDescGZIP() []byte { + file_BounceConjuringChapterInfo_proto_rawDescOnce.Do(func() { + file_BounceConjuringChapterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BounceConjuringChapterInfo_proto_rawDescData) + }) + return file_BounceConjuringChapterInfo_proto_rawDescData +} + +var file_BounceConjuringChapterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BounceConjuringChapterInfo_proto_goTypes = []interface{}{ + (*BounceConjuringChapterInfo)(nil), // 0: BounceConjuringChapterInfo +} +var file_BounceConjuringChapterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BounceConjuringChapterInfo_proto_init() } +func file_BounceConjuringChapterInfo_proto_init() { + if File_BounceConjuringChapterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BounceConjuringChapterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BounceConjuringChapterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BounceConjuringChapterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BounceConjuringChapterInfo_proto_goTypes, + DependencyIndexes: file_BounceConjuringChapterInfo_proto_depIdxs, + MessageInfos: file_BounceConjuringChapterInfo_proto_msgTypes, + }.Build() + File_BounceConjuringChapterInfo_proto = out.File + file_BounceConjuringChapterInfo_proto_rawDesc = nil + file_BounceConjuringChapterInfo_proto_goTypes = nil + file_BounceConjuringChapterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BounceConjuringChapterInfo.proto b/gate-hk4e-api/proto/BounceConjuringChapterInfo.proto new file mode 100644 index 00000000..b698a033 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringChapterInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BounceConjuringChapterInfo { + uint32 best_score = 12; + uint32 open_time = 9; + uint32 chapter_id = 13; +} diff --git a/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.pb.go b/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.pb.go new file mode 100644 index 00000000..f68f6578 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BounceConjuringGallerySettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BounceConjuringGallerySettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,14,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` + DestroyedMachineCount uint32 `protobuf:"varint,5,opt,name=destroyed_machine_count,json=destroyedMachineCount,proto3" json:"destroyed_machine_count,omitempty"` + FeverCount uint32 `protobuf:"varint,6,opt,name=fever_count,json=feverCount,proto3" json:"fever_count,omitempty"` + NormalHitCount uint32 `protobuf:"varint,4,opt,name=normal_hit_count,json=normalHitCount,proto3" json:"normal_hit_count,omitempty"` + Damage float32 `protobuf:"fixed32,11,opt,name=damage,proto3" json:"damage,omitempty"` + GadgetCountMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=gadget_count_map,json=gadgetCountMap,proto3" json:"gadget_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Score uint32 `protobuf:"varint,12,opt,name=score,proto3" json:"score,omitempty"` + PerfectHitCount uint32 `protobuf:"varint,8,opt,name=perfect_hit_count,json=perfectHitCount,proto3" json:"perfect_hit_count,omitempty"` + CardList []*ExhibitionDisplayInfo `protobuf:"bytes,7,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` +} + +func (x *BounceConjuringGallerySettleInfo) Reset() { + *x = BounceConjuringGallerySettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BounceConjuringGallerySettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BounceConjuringGallerySettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BounceConjuringGallerySettleInfo) ProtoMessage() {} + +func (x *BounceConjuringGallerySettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BounceConjuringGallerySettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BounceConjuringGallerySettleInfo.ProtoReflect.Descriptor instead. +func (*BounceConjuringGallerySettleInfo) Descriptor() ([]byte, []int) { + return file_BounceConjuringGallerySettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BounceConjuringGallerySettleInfo) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +func (x *BounceConjuringGallerySettleInfo) GetDestroyedMachineCount() uint32 { + if x != nil { + return x.DestroyedMachineCount + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetFeverCount() uint32 { + if x != nil { + return x.FeverCount + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetNormalHitCount() uint32 { + if x != nil { + return x.NormalHitCount + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetDamage() float32 { + if x != nil { + return x.Damage + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetGadgetCountMap() map[uint32]uint32 { + if x != nil { + return x.GadgetCountMap + } + return nil +} + +func (x *BounceConjuringGallerySettleInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetPerfectHitCount() uint32 { + if x != nil { + return x.PerfectHitCount + } + return 0 +} + +func (x *BounceConjuringGallerySettleInfo) GetCardList() []*ExhibitionDisplayInfo { + if x != nil { + return x.CardList + } + return nil +} + +var File_BounceConjuringGallerySettleInfo_proto protoreflect.FileDescriptor + +var file_BounceConjuringGallerySettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x04, + 0x0a, 0x20, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, + 0x79, 0x65, 0x64, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, + 0x65, 0x64, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x66, 0x65, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x65, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, 0x6f, 0x72, 0x6d, 0x61, + 0x6c, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, + 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, + 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x42, 0x6f, + 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x47, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, + 0x61, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x66, + 0x65, 0x63, 0x74, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x65, 0x72, 0x66, 0x65, 0x63, 0x74, 0x48, 0x69, 0x74, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x41, 0x0a, 0x13, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BounceConjuringGallerySettleInfo_proto_rawDescOnce sync.Once + file_BounceConjuringGallerySettleInfo_proto_rawDescData = file_BounceConjuringGallerySettleInfo_proto_rawDesc +) + +func file_BounceConjuringGallerySettleInfo_proto_rawDescGZIP() []byte { + file_BounceConjuringGallerySettleInfo_proto_rawDescOnce.Do(func() { + file_BounceConjuringGallerySettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BounceConjuringGallerySettleInfo_proto_rawDescData) + }) + return file_BounceConjuringGallerySettleInfo_proto_rawDescData +} + +var file_BounceConjuringGallerySettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BounceConjuringGallerySettleInfo_proto_goTypes = []interface{}{ + (*BounceConjuringGallerySettleInfo)(nil), // 0: BounceConjuringGallerySettleInfo + nil, // 1: BounceConjuringGallerySettleInfo.GadgetCountMapEntry + (*OnlinePlayerInfo)(nil), // 2: OnlinePlayerInfo + (*ExhibitionDisplayInfo)(nil), // 3: ExhibitionDisplayInfo +} +var file_BounceConjuringGallerySettleInfo_proto_depIdxs = []int32{ + 2, // 0: BounceConjuringGallerySettleInfo.player_info:type_name -> OnlinePlayerInfo + 1, // 1: BounceConjuringGallerySettleInfo.gadget_count_map:type_name -> BounceConjuringGallerySettleInfo.GadgetCountMapEntry + 3, // 2: BounceConjuringGallerySettleInfo.card_list:type_name -> ExhibitionDisplayInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_BounceConjuringGallerySettleInfo_proto_init() } +func file_BounceConjuringGallerySettleInfo_proto_init() { + if File_BounceConjuringGallerySettleInfo_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BounceConjuringGallerySettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BounceConjuringGallerySettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BounceConjuringGallerySettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BounceConjuringGallerySettleInfo_proto_goTypes, + DependencyIndexes: file_BounceConjuringGallerySettleInfo_proto_depIdxs, + MessageInfos: file_BounceConjuringGallerySettleInfo_proto_msgTypes, + }.Build() + File_BounceConjuringGallerySettleInfo_proto = out.File + file_BounceConjuringGallerySettleInfo_proto_rawDesc = nil + file_BounceConjuringGallerySettleInfo_proto_goTypes = nil + file_BounceConjuringGallerySettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.proto b/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.proto new file mode 100644 index 00000000..1cdce793 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringGallerySettleInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message BounceConjuringGallerySettleInfo { + OnlinePlayerInfo player_info = 14; + uint32 destroyed_machine_count = 5; + uint32 fever_count = 6; + uint32 normal_hit_count = 4; + float damage = 11; + map gadget_count_map = 15; + uint32 score = 12; + uint32 perfect_hit_count = 8; + repeated ExhibitionDisplayInfo card_list = 7; +} diff --git a/gate-hk4e-api/proto/BounceConjuringSettleNotify.pb.go b/gate-hk4e-api/proto/BounceConjuringSettleNotify.pb.go new file mode 100644 index 00000000..6a505501 --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringSettleNotify.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BounceConjuringSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8084 +// EnetChannelId: 0 +// EnetIsReliable: true +type BounceConjuringSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,14,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + SettleInfoMap map[uint32]*BounceConjuringGallerySettleInfo `protobuf:"bytes,4,rep,name=settle_info_map,json=settleInfoMap,proto3" json:"settle_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TotalScore uint32 `protobuf:"varint,2,opt,name=total_score,json=totalScore,proto3" json:"total_score,omitempty"` + ChapterId uint32 `protobuf:"varint,13,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *BounceConjuringSettleNotify) Reset() { + *x = BounceConjuringSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BounceConjuringSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BounceConjuringSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BounceConjuringSettleNotify) ProtoMessage() {} + +func (x *BounceConjuringSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_BounceConjuringSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BounceConjuringSettleNotify.ProtoReflect.Descriptor instead. +func (*BounceConjuringSettleNotify) Descriptor() ([]byte, []int) { + return file_BounceConjuringSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BounceConjuringSettleNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *BounceConjuringSettleNotify) GetSettleInfoMap() map[uint32]*BounceConjuringGallerySettleInfo { + if x != nil { + return x.SettleInfoMap + } + return nil +} + +func (x *BounceConjuringSettleNotify) GetTotalScore() uint32 { + if x != nil { + return x.TotalScore + } + return 0 +} + +func (x *BounceConjuringSettleNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_BounceConjuringSettleNotify_proto protoreflect.FileDescriptor + +var file_BounceConjuringSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, + 0x72, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x02, 0x0a, 0x1b, + 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x69, + 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x57, 0x0a, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, + 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x1a, 0x63, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BounceConjuringSettleNotify_proto_rawDescOnce sync.Once + file_BounceConjuringSettleNotify_proto_rawDescData = file_BounceConjuringSettleNotify_proto_rawDesc +) + +func file_BounceConjuringSettleNotify_proto_rawDescGZIP() []byte { + file_BounceConjuringSettleNotify_proto_rawDescOnce.Do(func() { + file_BounceConjuringSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BounceConjuringSettleNotify_proto_rawDescData) + }) + return file_BounceConjuringSettleNotify_proto_rawDescData +} + +var file_BounceConjuringSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_BounceConjuringSettleNotify_proto_goTypes = []interface{}{ + (*BounceConjuringSettleNotify)(nil), // 0: BounceConjuringSettleNotify + nil, // 1: BounceConjuringSettleNotify.SettleInfoMapEntry + (*BounceConjuringGallerySettleInfo)(nil), // 2: BounceConjuringGallerySettleInfo +} +var file_BounceConjuringSettleNotify_proto_depIdxs = []int32{ + 1, // 0: BounceConjuringSettleNotify.settle_info_map:type_name -> BounceConjuringSettleNotify.SettleInfoMapEntry + 2, // 1: BounceConjuringSettleNotify.SettleInfoMapEntry.value:type_name -> BounceConjuringGallerySettleInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BounceConjuringSettleNotify_proto_init() } +func file_BounceConjuringSettleNotify_proto_init() { + if File_BounceConjuringSettleNotify_proto != nil { + return + } + file_BounceConjuringGallerySettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BounceConjuringSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BounceConjuringSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BounceConjuringSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BounceConjuringSettleNotify_proto_goTypes, + DependencyIndexes: file_BounceConjuringSettleNotify_proto_depIdxs, + MessageInfos: file_BounceConjuringSettleNotify_proto_msgTypes, + }.Build() + File_BounceConjuringSettleNotify_proto = out.File + file_BounceConjuringSettleNotify_proto_rawDesc = nil + file_BounceConjuringSettleNotify_proto_goTypes = nil + file_BounceConjuringSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BounceConjuringSettleNotify.proto b/gate-hk4e-api/proto/BounceConjuringSettleNotify.proto new file mode 100644 index 00000000..816881ea --- /dev/null +++ b/gate-hk4e-api/proto/BounceConjuringSettleNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BounceConjuringGallerySettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8084 +// EnetChannelId: 0 +// EnetIsReliable: true +message BounceConjuringSettleNotify { + bool is_new_record = 14; + map settle_info_map = 4; + uint32 total_score = 2; + uint32 chapter_id = 13; +} diff --git a/gate-hk4e-api/proto/BuildingInfo.pb.go b/gate-hk4e-api/proto/BuildingInfo.pb.go new file mode 100644 index 00000000..9122a7a9 --- /dev/null +++ b/gate-hk4e-api/proto/BuildingInfo.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuildingInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BuildingInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuildingId uint32 `protobuf:"varint,1,opt,name=building_id,json=buildingId,proto3" json:"building_id,omitempty"` + PointConfigId uint32 `protobuf:"varint,2,opt,name=point_config_id,json=pointConfigId,proto3" json:"point_config_id,omitempty"` + Cost uint32 `protobuf:"varint,3,opt,name=cost,proto3" json:"cost,omitempty"` + Refund uint32 `protobuf:"varint,5,opt,name=refund,proto3" json:"refund,omitempty"` + OwnerUid uint32 `protobuf:"varint,6,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` + Unk2700_MDJOPHOHFDB uint32 `protobuf:"varint,7,opt,name=Unk2700_MDJOPHOHFDB,json=Unk2700MDJOPHOHFDB,proto3" json:"Unk2700_MDJOPHOHFDB,omitempty"` + Unk2700_COFBIGLBNGP uint32 `protobuf:"varint,8,opt,name=Unk2700_COFBIGLBNGP,json=Unk2700COFBIGLBNGP,proto3" json:"Unk2700_COFBIGLBNGP,omitempty"` +} + +func (x *BuildingInfo) Reset() { + *x = BuildingInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BuildingInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuildingInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuildingInfo) ProtoMessage() {} + +func (x *BuildingInfo) ProtoReflect() protoreflect.Message { + mi := &file_BuildingInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuildingInfo.ProtoReflect.Descriptor instead. +func (*BuildingInfo) Descriptor() ([]byte, []int) { + return file_BuildingInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BuildingInfo) GetBuildingId() uint32 { + if x != nil { + return x.BuildingId + } + return 0 +} + +func (x *BuildingInfo) GetPointConfigId() uint32 { + if x != nil { + return x.PointConfigId + } + return 0 +} + +func (x *BuildingInfo) GetCost() uint32 { + if x != nil { + return x.Cost + } + return 0 +} + +func (x *BuildingInfo) GetRefund() uint32 { + if x != nil { + return x.Refund + } + return 0 +} + +func (x *BuildingInfo) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +func (x *BuildingInfo) GetUnk2700_MDJOPHOHFDB() uint32 { + if x != nil { + return x.Unk2700_MDJOPHOHFDB + } + return 0 +} + +func (x *BuildingInfo) GetUnk2700_COFBIGLBNGP() uint32 { + if x != nil { + return x.Unk2700_COFBIGLBNGP + } + return 0 +} + +var File_BuildingInfo_proto protoreflect.FileDescriptor + +var file_BuildingInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x44, 0x4a, 0x4f, 0x50, 0x48, 0x4f, 0x48, 0x46, 0x44, 0x42, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x44, 0x4a, + 0x4f, 0x50, 0x48, 0x4f, 0x48, 0x46, 0x44, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x46, 0x42, 0x49, 0x47, 0x4c, 0x42, 0x4e, 0x47, 0x50, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, + 0x46, 0x42, 0x49, 0x47, 0x4c, 0x42, 0x4e, 0x47, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuildingInfo_proto_rawDescOnce sync.Once + file_BuildingInfo_proto_rawDescData = file_BuildingInfo_proto_rawDesc +) + +func file_BuildingInfo_proto_rawDescGZIP() []byte { + file_BuildingInfo_proto_rawDescOnce.Do(func() { + file_BuildingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuildingInfo_proto_rawDescData) + }) + return file_BuildingInfo_proto_rawDescData +} + +var file_BuildingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuildingInfo_proto_goTypes = []interface{}{ + (*BuildingInfo)(nil), // 0: BuildingInfo +} +var file_BuildingInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuildingInfo_proto_init() } +func file_BuildingInfo_proto_init() { + if File_BuildingInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuildingInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuildingInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuildingInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuildingInfo_proto_goTypes, + DependencyIndexes: file_BuildingInfo_proto_depIdxs, + MessageInfos: file_BuildingInfo_proto_msgTypes, + }.Build() + File_BuildingInfo_proto = out.File + file_BuildingInfo_proto_rawDesc = nil + file_BuildingInfo_proto_goTypes = nil + file_BuildingInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuildingInfo.proto b/gate-hk4e-api/proto/BuildingInfo.proto new file mode 100644 index 00000000..4d3b47dc --- /dev/null +++ b/gate-hk4e-api/proto/BuildingInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BuildingInfo { + uint32 building_id = 1; + uint32 point_config_id = 2; + uint32 cost = 3; + uint32 refund = 5; + uint32 owner_uid = 6; + uint32 Unk2700_MDJOPHOHFDB = 7; + uint32 Unk2700_COFBIGLBNGP = 8; +} diff --git a/gate-hk4e-api/proto/BundleInfo.pb.go b/gate-hk4e-api/proto/BundleInfo.pb.go new file mode 100644 index 00000000..0507e123 --- /dev/null +++ b/gate-hk4e-api/proto/BundleInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BundleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BundleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OGNEAEGHCPM []uint32 `protobuf:"varint,13,rep,packed,name=Unk2700_OGNEAEGHCPM,json=Unk2700OGNEAEGHCPM,proto3" json:"Unk2700_OGNEAEGHCPM,omitempty"` +} + +func (x *BundleInfo) Reset() { + *x = BundleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BundleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BundleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BundleInfo) ProtoMessage() {} + +func (x *BundleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BundleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BundleInfo.ProtoReflect.Descriptor instead. +func (*BundleInfo) Descriptor() ([]byte, []int) { + return file_BundleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BundleInfo) GetUnk2700_OGNEAEGHCPM() []uint32 { + if x != nil { + return x.Unk2700_OGNEAEGHCPM + } + return nil +} + +var File_BundleInfo_proto protoreflect.FileDescriptor + +var file_BundleInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x0a, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x4e, 0x45, + 0x41, 0x45, 0x47, 0x48, 0x43, 0x50, 0x4d, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x47, 0x4e, 0x45, 0x41, 0x45, 0x47, 0x48, 0x43, 0x50, + 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BundleInfo_proto_rawDescOnce sync.Once + file_BundleInfo_proto_rawDescData = file_BundleInfo_proto_rawDesc +) + +func file_BundleInfo_proto_rawDescGZIP() []byte { + file_BundleInfo_proto_rawDescOnce.Do(func() { + file_BundleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BundleInfo_proto_rawDescData) + }) + return file_BundleInfo_proto_rawDescData +} + +var file_BundleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BundleInfo_proto_goTypes = []interface{}{ + (*BundleInfo)(nil), // 0: BundleInfo +} +var file_BundleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BundleInfo_proto_init() } +func file_BundleInfo_proto_init() { + if File_BundleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BundleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BundleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BundleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BundleInfo_proto_goTypes, + DependencyIndexes: file_BundleInfo_proto_depIdxs, + MessageInfos: file_BundleInfo_proto_msgTypes, + }.Build() + File_BundleInfo_proto = out.File + file_BundleInfo_proto_rawDesc = nil + file_BundleInfo_proto_goTypes = nil + file_BundleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BundleInfo.proto b/gate-hk4e-api/proto/BundleInfo.proto new file mode 100644 index 00000000..3d75a252 --- /dev/null +++ b/gate-hk4e-api/proto/BundleInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BundleInfo { + repeated uint32 Unk2700_OGNEAEGHCPM = 13; +} diff --git a/gate-hk4e-api/proto/BuoyantCombatDailyInfo.pb.go b/gate-hk4e-api/proto/BuoyantCombatDailyInfo.pb.go new file mode 100644 index 00000000..c1236998 --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatDailyInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuoyantCombatDailyInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BuoyantCombatDailyInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime uint32 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + BestScore uint32 `protobuf:"varint,13,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *BuoyantCombatDailyInfo) Reset() { + *x = BuoyantCombatDailyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BuoyantCombatDailyInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuoyantCombatDailyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuoyantCombatDailyInfo) ProtoMessage() {} + +func (x *BuoyantCombatDailyInfo) ProtoReflect() protoreflect.Message { + mi := &file_BuoyantCombatDailyInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuoyantCombatDailyInfo.ProtoReflect.Descriptor instead. +func (*BuoyantCombatDailyInfo) Descriptor() ([]byte, []int) { + return file_BuoyantCombatDailyInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BuoyantCombatDailyInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *BuoyantCombatDailyInfo) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_BuoyantCombatDailyInfo_proto protoreflect.FileDescriptor + +var file_BuoyantCombatDailyInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, + 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, + 0x0a, 0x16, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, + 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuoyantCombatDailyInfo_proto_rawDescOnce sync.Once + file_BuoyantCombatDailyInfo_proto_rawDescData = file_BuoyantCombatDailyInfo_proto_rawDesc +) + +func file_BuoyantCombatDailyInfo_proto_rawDescGZIP() []byte { + file_BuoyantCombatDailyInfo_proto_rawDescOnce.Do(func() { + file_BuoyantCombatDailyInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuoyantCombatDailyInfo_proto_rawDescData) + }) + return file_BuoyantCombatDailyInfo_proto_rawDescData +} + +var file_BuoyantCombatDailyInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuoyantCombatDailyInfo_proto_goTypes = []interface{}{ + (*BuoyantCombatDailyInfo)(nil), // 0: BuoyantCombatDailyInfo +} +var file_BuoyantCombatDailyInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuoyantCombatDailyInfo_proto_init() } +func file_BuoyantCombatDailyInfo_proto_init() { + if File_BuoyantCombatDailyInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuoyantCombatDailyInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuoyantCombatDailyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuoyantCombatDailyInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuoyantCombatDailyInfo_proto_goTypes, + DependencyIndexes: file_BuoyantCombatDailyInfo_proto_depIdxs, + MessageInfos: file_BuoyantCombatDailyInfo_proto_msgTypes, + }.Build() + File_BuoyantCombatDailyInfo_proto = out.File + file_BuoyantCombatDailyInfo_proto_rawDesc = nil + file_BuoyantCombatDailyInfo_proto_goTypes = nil + file_BuoyantCombatDailyInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuoyantCombatDailyInfo.proto b/gate-hk4e-api/proto/BuoyantCombatDailyInfo.proto new file mode 100644 index 00000000..aedee51a --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatDailyInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BuoyantCombatDailyInfo { + uint32 start_time = 2; + uint32 best_score = 13; +} diff --git a/gate-hk4e-api/proto/BuoyantCombatDetailInfo.pb.go b/gate-hk4e-api/proto/BuoyantCombatDetailInfo.pb.go new file mode 100644 index 00000000..d59c75f7 --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatDetailInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuoyantCombatDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BuoyantCombatDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DailyInfoList []*BuoyantCombatDailyInfo `protobuf:"bytes,8,rep,name=daily_info_list,json=dailyInfoList,proto3" json:"daily_info_list,omitempty"` +} + +func (x *BuoyantCombatDetailInfo) Reset() { + *x = BuoyantCombatDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BuoyantCombatDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuoyantCombatDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuoyantCombatDetailInfo) ProtoMessage() {} + +func (x *BuoyantCombatDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_BuoyantCombatDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuoyantCombatDetailInfo.ProtoReflect.Descriptor instead. +func (*BuoyantCombatDetailInfo) Descriptor() ([]byte, []int) { + return file_BuoyantCombatDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BuoyantCombatDetailInfo) GetDailyInfoList() []*BuoyantCombatDailyInfo { + if x != nil { + return x.DailyInfoList + } + return nil +} + +var File_BuoyantCombatDetailInfo_proto protoreflect.FileDescriptor + +var file_BuoyantCombatDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x61, + 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, + 0x17, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x0f, 0x64, 0x61, 0x69, 0x6c, + 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x64, 0x61, 0x69, 0x6c, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuoyantCombatDetailInfo_proto_rawDescOnce sync.Once + file_BuoyantCombatDetailInfo_proto_rawDescData = file_BuoyantCombatDetailInfo_proto_rawDesc +) + +func file_BuoyantCombatDetailInfo_proto_rawDescGZIP() []byte { + file_BuoyantCombatDetailInfo_proto_rawDescOnce.Do(func() { + file_BuoyantCombatDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuoyantCombatDetailInfo_proto_rawDescData) + }) + return file_BuoyantCombatDetailInfo_proto_rawDescData +} + +var file_BuoyantCombatDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuoyantCombatDetailInfo_proto_goTypes = []interface{}{ + (*BuoyantCombatDetailInfo)(nil), // 0: BuoyantCombatDetailInfo + (*BuoyantCombatDailyInfo)(nil), // 1: BuoyantCombatDailyInfo +} +var file_BuoyantCombatDetailInfo_proto_depIdxs = []int32{ + 1, // 0: BuoyantCombatDetailInfo.daily_info_list:type_name -> BuoyantCombatDailyInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BuoyantCombatDetailInfo_proto_init() } +func file_BuoyantCombatDetailInfo_proto_init() { + if File_BuoyantCombatDetailInfo_proto != nil { + return + } + file_BuoyantCombatDailyInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BuoyantCombatDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuoyantCombatDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuoyantCombatDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuoyantCombatDetailInfo_proto_goTypes, + DependencyIndexes: file_BuoyantCombatDetailInfo_proto_depIdxs, + MessageInfos: file_BuoyantCombatDetailInfo_proto_msgTypes, + }.Build() + File_BuoyantCombatDetailInfo_proto = out.File + file_BuoyantCombatDetailInfo_proto_rawDesc = nil + file_BuoyantCombatDetailInfo_proto_goTypes = nil + file_BuoyantCombatDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuoyantCombatDetailInfo.proto b/gate-hk4e-api/proto/BuoyantCombatDetailInfo.proto new file mode 100644 index 00000000..b625dbbf --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BuoyantCombatDailyInfo.proto"; + +option go_package = "./;proto"; + +message BuoyantCombatDetailInfo { + repeated BuoyantCombatDailyInfo daily_info_list = 8; +} diff --git a/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.pb.go b/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.pb.go new file mode 100644 index 00000000..2e1966bc --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuoyantCombatGallerySettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BuoyantCombatGallerySettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryLevel uint32 `protobuf:"varint,12,opt,name=gallery_level,json=galleryLevel,proto3" json:"gallery_level,omitempty"` + FinalScore uint32 `protobuf:"varint,15,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + KillMonsterCount uint32 `protobuf:"varint,9,opt,name=kill_monster_count,json=killMonsterCount,proto3" json:"kill_monster_count,omitempty"` + KillTargetCount uint32 `protobuf:"varint,1,opt,name=kill_target_count,json=killTargetCount,proto3" json:"kill_target_count,omitempty"` + KillSpecialMonsterCount uint32 `protobuf:"varint,4,opt,name=kill_special_monster_count,json=killSpecialMonsterCount,proto3" json:"kill_special_monster_count,omitempty"` + GalleryId uint32 `protobuf:"varint,2,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + GalleryMultiple uint32 `protobuf:"varint,11,opt,name=gallery_multiple,json=galleryMultiple,proto3" json:"gallery_multiple,omitempty"` +} + +func (x *BuoyantCombatGallerySettleInfo) Reset() { + *x = BuoyantCombatGallerySettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BuoyantCombatGallerySettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuoyantCombatGallerySettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuoyantCombatGallerySettleInfo) ProtoMessage() {} + +func (x *BuoyantCombatGallerySettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BuoyantCombatGallerySettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuoyantCombatGallerySettleInfo.ProtoReflect.Descriptor instead. +func (*BuoyantCombatGallerySettleInfo) Descriptor() ([]byte, []int) { + return file_BuoyantCombatGallerySettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BuoyantCombatGallerySettleInfo) GetGalleryLevel() uint32 { + if x != nil { + return x.GalleryLevel + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetKillMonsterCount() uint32 { + if x != nil { + return x.KillMonsterCount + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetKillTargetCount() uint32 { + if x != nil { + return x.KillTargetCount + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetKillSpecialMonsterCount() uint32 { + if x != nil { + return x.KillSpecialMonsterCount + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *BuoyantCombatGallerySettleInfo) GetGalleryMultiple() uint32 { + if x != nil { + return x.GalleryMultiple + } + return 0 +} + +var File_BuoyantCombatGallerySettleInfo_proto protoreflect.FileDescriptor + +var file_BuoyantCombatGallerySettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x02, 0x0a, 0x1e, 0x42, 0x75, 0x6f, 0x79, 0x61, + 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1f, + 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, + 0x2c, 0x0a, 0x12, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6b, 0x69, 0x6c, + 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, + 0x11, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x1a, 0x6b, 0x69, 0x6c, + 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6b, + 0x69, 0x6c, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuoyantCombatGallerySettleInfo_proto_rawDescOnce sync.Once + file_BuoyantCombatGallerySettleInfo_proto_rawDescData = file_BuoyantCombatGallerySettleInfo_proto_rawDesc +) + +func file_BuoyantCombatGallerySettleInfo_proto_rawDescGZIP() []byte { + file_BuoyantCombatGallerySettleInfo_proto_rawDescOnce.Do(func() { + file_BuoyantCombatGallerySettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuoyantCombatGallerySettleInfo_proto_rawDescData) + }) + return file_BuoyantCombatGallerySettleInfo_proto_rawDescData +} + +var file_BuoyantCombatGallerySettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuoyantCombatGallerySettleInfo_proto_goTypes = []interface{}{ + (*BuoyantCombatGallerySettleInfo)(nil), // 0: BuoyantCombatGallerySettleInfo +} +var file_BuoyantCombatGallerySettleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuoyantCombatGallerySettleInfo_proto_init() } +func file_BuoyantCombatGallerySettleInfo_proto_init() { + if File_BuoyantCombatGallerySettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuoyantCombatGallerySettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuoyantCombatGallerySettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuoyantCombatGallerySettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuoyantCombatGallerySettleInfo_proto_goTypes, + DependencyIndexes: file_BuoyantCombatGallerySettleInfo_proto_depIdxs, + MessageInfos: file_BuoyantCombatGallerySettleInfo_proto_msgTypes, + }.Build() + File_BuoyantCombatGallerySettleInfo_proto = out.File + file_BuoyantCombatGallerySettleInfo_proto_rawDesc = nil + file_BuoyantCombatGallerySettleInfo_proto_goTypes = nil + file_BuoyantCombatGallerySettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.proto b/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.proto new file mode 100644 index 00000000..1312ac66 --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatGallerySettleInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message BuoyantCombatGallerySettleInfo { + uint32 gallery_level = 12; + uint32 final_score = 15; + uint32 kill_monster_count = 9; + uint32 kill_target_count = 1; + uint32 kill_special_monster_count = 4; + uint32 gallery_id = 2; + uint32 gallery_multiple = 11; +} diff --git a/gate-hk4e-api/proto/BuoyantCombatSettleInfo.pb.go b/gate-hk4e-api/proto/BuoyantCombatSettleInfo.pb.go new file mode 100644 index 00000000..c9f5eddd --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatSettleInfo.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuoyantCombatSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BuoyantCombatSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,1,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + SettleInfo *BuoyantCombatGallerySettleInfo `protobuf:"bytes,3,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *BuoyantCombatSettleInfo) Reset() { + *x = BuoyantCombatSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_BuoyantCombatSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuoyantCombatSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuoyantCombatSettleInfo) ProtoMessage() {} + +func (x *BuoyantCombatSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_BuoyantCombatSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuoyantCombatSettleInfo.ProtoReflect.Descriptor instead. +func (*BuoyantCombatSettleInfo) Descriptor() ([]byte, []int) { + return file_BuoyantCombatSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *BuoyantCombatSettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *BuoyantCombatSettleInfo) GetSettleInfo() *BuoyantCombatGallerySettleInfo { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_BuoyantCombatSettleInfo_proto protoreflect.FileDescriptor + +var file_BuoyantCombatSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x24, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x17, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, + 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x42, 0x75, 0x6f, 0x79, + 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuoyantCombatSettleInfo_proto_rawDescOnce sync.Once + file_BuoyantCombatSettleInfo_proto_rawDescData = file_BuoyantCombatSettleInfo_proto_rawDesc +) + +func file_BuoyantCombatSettleInfo_proto_rawDescGZIP() []byte { + file_BuoyantCombatSettleInfo_proto_rawDescOnce.Do(func() { + file_BuoyantCombatSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuoyantCombatSettleInfo_proto_rawDescData) + }) + return file_BuoyantCombatSettleInfo_proto_rawDescData +} + +var file_BuoyantCombatSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuoyantCombatSettleInfo_proto_goTypes = []interface{}{ + (*BuoyantCombatSettleInfo)(nil), // 0: BuoyantCombatSettleInfo + (*BuoyantCombatGallerySettleInfo)(nil), // 1: BuoyantCombatGallerySettleInfo +} +var file_BuoyantCombatSettleInfo_proto_depIdxs = []int32{ + 1, // 0: BuoyantCombatSettleInfo.settle_info:type_name -> BuoyantCombatGallerySettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BuoyantCombatSettleInfo_proto_init() } +func file_BuoyantCombatSettleInfo_proto_init() { + if File_BuoyantCombatSettleInfo_proto != nil { + return + } + file_BuoyantCombatGallerySettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BuoyantCombatSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuoyantCombatSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuoyantCombatSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuoyantCombatSettleInfo_proto_goTypes, + DependencyIndexes: file_BuoyantCombatSettleInfo_proto_depIdxs, + MessageInfos: file_BuoyantCombatSettleInfo_proto_msgTypes, + }.Build() + File_BuoyantCombatSettleInfo_proto = out.File + file_BuoyantCombatSettleInfo_proto_rawDesc = nil + file_BuoyantCombatSettleInfo_proto_goTypes = nil + file_BuoyantCombatSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuoyantCombatSettleInfo.proto b/gate-hk4e-api/proto/BuoyantCombatSettleInfo.proto new file mode 100644 index 00000000..6bea02e9 --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatSettleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BuoyantCombatGallerySettleInfo.proto"; + +option go_package = "./;proto"; + +message BuoyantCombatSettleInfo { + bool is_new_record = 1; + BuoyantCombatGallerySettleInfo settle_info = 3; +} diff --git a/gate-hk4e-api/proto/BuoyantCombatSettleNotify.pb.go b/gate-hk4e-api/proto/BuoyantCombatSettleNotify.pb.go new file mode 100644 index 00000000..c9c026c0 --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatSettleNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuoyantCombatSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8305 +// EnetChannelId: 0 +// EnetIsReliable: true +type BuoyantCombatSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,8,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *BuoyantCombatSettleInfo `protobuf:"bytes,11,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *BuoyantCombatSettleNotify) Reset() { + *x = BuoyantCombatSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_BuoyantCombatSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuoyantCombatSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuoyantCombatSettleNotify) ProtoMessage() {} + +func (x *BuoyantCombatSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_BuoyantCombatSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuoyantCombatSettleNotify.ProtoReflect.Descriptor instead. +func (*BuoyantCombatSettleNotify) Descriptor() ([]byte, []int) { + return file_BuoyantCombatSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *BuoyantCombatSettleNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *BuoyantCombatSettleNotify) GetSettleInfo() *BuoyantCombatSettleInfo { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_BuoyantCombatSettleNotify_proto protoreflect.FileDescriptor + +var file_BuoyantCombatSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x75, 0x0a, 0x19, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0b, + 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuoyantCombatSettleNotify_proto_rawDescOnce sync.Once + file_BuoyantCombatSettleNotify_proto_rawDescData = file_BuoyantCombatSettleNotify_proto_rawDesc +) + +func file_BuoyantCombatSettleNotify_proto_rawDescGZIP() []byte { + file_BuoyantCombatSettleNotify_proto_rawDescOnce.Do(func() { + file_BuoyantCombatSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuoyantCombatSettleNotify_proto_rawDescData) + }) + return file_BuoyantCombatSettleNotify_proto_rawDescData +} + +var file_BuoyantCombatSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuoyantCombatSettleNotify_proto_goTypes = []interface{}{ + (*BuoyantCombatSettleNotify)(nil), // 0: BuoyantCombatSettleNotify + (*BuoyantCombatSettleInfo)(nil), // 1: BuoyantCombatSettleInfo +} +var file_BuoyantCombatSettleNotify_proto_depIdxs = []int32{ + 1, // 0: BuoyantCombatSettleNotify.settle_info:type_name -> BuoyantCombatSettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BuoyantCombatSettleNotify_proto_init() } +func file_BuoyantCombatSettleNotify_proto_init() { + if File_BuoyantCombatSettleNotify_proto != nil { + return + } + file_BuoyantCombatSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_BuoyantCombatSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuoyantCombatSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuoyantCombatSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuoyantCombatSettleNotify_proto_goTypes, + DependencyIndexes: file_BuoyantCombatSettleNotify_proto_depIdxs, + MessageInfos: file_BuoyantCombatSettleNotify_proto_msgTypes, + }.Build() + File_BuoyantCombatSettleNotify_proto = out.File + file_BuoyantCombatSettleNotify_proto_rawDesc = nil + file_BuoyantCombatSettleNotify_proto_goTypes = nil + file_BuoyantCombatSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuoyantCombatSettleNotify.proto b/gate-hk4e-api/proto/BuoyantCombatSettleNotify.proto new file mode 100644 index 00000000..f364cfbf --- /dev/null +++ b/gate-hk4e-api/proto/BuoyantCombatSettleNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BuoyantCombatSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8305 +// EnetChannelId: 0 +// EnetIsReliable: true +message BuoyantCombatSettleNotify { + uint32 gallery_id = 8; + BuoyantCombatSettleInfo settle_info = 11; +} diff --git a/gate-hk4e-api/proto/BuyBattlePassLevelReq.pb.go b/gate-hk4e-api/proto/BuyBattlePassLevelReq.pb.go new file mode 100644 index 00000000..b8e654fb --- /dev/null +++ b/gate-hk4e-api/proto/BuyBattlePassLevelReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyBattlePassLevelReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BuyBattlePassLevelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuyLevel uint32 `protobuf:"varint,8,opt,name=buy_level,json=buyLevel,proto3" json:"buy_level,omitempty"` +} + +func (x *BuyBattlePassLevelReq) Reset() { + *x = BuyBattlePassLevelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyBattlePassLevelReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyBattlePassLevelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyBattlePassLevelReq) ProtoMessage() {} + +func (x *BuyBattlePassLevelReq) ProtoReflect() protoreflect.Message { + mi := &file_BuyBattlePassLevelReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyBattlePassLevelReq.ProtoReflect.Descriptor instead. +func (*BuyBattlePassLevelReq) Descriptor() ([]byte, []int) { + return file_BuyBattlePassLevelReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyBattlePassLevelReq) GetBuyLevel() uint32 { + if x != nil { + return x.BuyLevel + } + return 0 +} + +var File_BuyBattlePassLevelReq_proto protoreflect.FileDescriptor + +var file_BuyBattlePassLevelReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, + 0x15, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuyBattlePassLevelReq_proto_rawDescOnce sync.Once + file_BuyBattlePassLevelReq_proto_rawDescData = file_BuyBattlePassLevelReq_proto_rawDesc +) + +func file_BuyBattlePassLevelReq_proto_rawDescGZIP() []byte { + file_BuyBattlePassLevelReq_proto_rawDescOnce.Do(func() { + file_BuyBattlePassLevelReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyBattlePassLevelReq_proto_rawDescData) + }) + return file_BuyBattlePassLevelReq_proto_rawDescData +} + +var file_BuyBattlePassLevelReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyBattlePassLevelReq_proto_goTypes = []interface{}{ + (*BuyBattlePassLevelReq)(nil), // 0: BuyBattlePassLevelReq +} +var file_BuyBattlePassLevelReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuyBattlePassLevelReq_proto_init() } +func file_BuyBattlePassLevelReq_proto_init() { + if File_BuyBattlePassLevelReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuyBattlePassLevelReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyBattlePassLevelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyBattlePassLevelReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyBattlePassLevelReq_proto_goTypes, + DependencyIndexes: file_BuyBattlePassLevelReq_proto_depIdxs, + MessageInfos: file_BuyBattlePassLevelReq_proto_msgTypes, + }.Build() + File_BuyBattlePassLevelReq_proto = out.File + file_BuyBattlePassLevelReq_proto_rawDesc = nil + file_BuyBattlePassLevelReq_proto_goTypes = nil + file_BuyBattlePassLevelReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyBattlePassLevelReq.proto b/gate-hk4e-api/proto/BuyBattlePassLevelReq.proto new file mode 100644 index 00000000..8b507c36 --- /dev/null +++ b/gate-hk4e-api/proto/BuyBattlePassLevelReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BuyBattlePassLevelReq { + uint32 buy_level = 8; +} diff --git a/gate-hk4e-api/proto/BuyBattlePassLevelRsp.pb.go b/gate-hk4e-api/proto/BuyBattlePassLevelRsp.pb.go new file mode 100644 index 00000000..fc4ad223 --- /dev/null +++ b/gate-hk4e-api/proto/BuyBattlePassLevelRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyBattlePassLevelRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2637 +// EnetChannelId: 0 +// EnetIsReliable: true +type BuyBattlePassLevelRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + BuyLevel uint32 `protobuf:"varint,13,opt,name=buy_level,json=buyLevel,proto3" json:"buy_level,omitempty"` +} + +func (x *BuyBattlePassLevelRsp) Reset() { + *x = BuyBattlePassLevelRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyBattlePassLevelRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyBattlePassLevelRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyBattlePassLevelRsp) ProtoMessage() {} + +func (x *BuyBattlePassLevelRsp) ProtoReflect() protoreflect.Message { + mi := &file_BuyBattlePassLevelRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyBattlePassLevelRsp.ProtoReflect.Descriptor instead. +func (*BuyBattlePassLevelRsp) Descriptor() ([]byte, []int) { + return file_BuyBattlePassLevelRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyBattlePassLevelRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BuyBattlePassLevelRsp) GetBuyLevel() uint32 { + if x != nil { + return x.BuyLevel + } + return 0 +} + +var File_BuyBattlePassLevelRsp_proto protoreflect.FileDescriptor + +var file_BuyBattlePassLevelRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, + 0x15, 0x42, 0x75, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_BuyBattlePassLevelRsp_proto_rawDescOnce sync.Once + file_BuyBattlePassLevelRsp_proto_rawDescData = file_BuyBattlePassLevelRsp_proto_rawDesc +) + +func file_BuyBattlePassLevelRsp_proto_rawDescGZIP() []byte { + file_BuyBattlePassLevelRsp_proto_rawDescOnce.Do(func() { + file_BuyBattlePassLevelRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyBattlePassLevelRsp_proto_rawDescData) + }) + return file_BuyBattlePassLevelRsp_proto_rawDescData +} + +var file_BuyBattlePassLevelRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyBattlePassLevelRsp_proto_goTypes = []interface{}{ + (*BuyBattlePassLevelRsp)(nil), // 0: BuyBattlePassLevelRsp +} +var file_BuyBattlePassLevelRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuyBattlePassLevelRsp_proto_init() } +func file_BuyBattlePassLevelRsp_proto_init() { + if File_BuyBattlePassLevelRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuyBattlePassLevelRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyBattlePassLevelRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyBattlePassLevelRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyBattlePassLevelRsp_proto_goTypes, + DependencyIndexes: file_BuyBattlePassLevelRsp_proto_depIdxs, + MessageInfos: file_BuyBattlePassLevelRsp_proto_msgTypes, + }.Build() + File_BuyBattlePassLevelRsp_proto = out.File + file_BuyBattlePassLevelRsp_proto_rawDesc = nil + file_BuyBattlePassLevelRsp_proto_goTypes = nil + file_BuyBattlePassLevelRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyBattlePassLevelRsp.proto b/gate-hk4e-api/proto/BuyBattlePassLevelRsp.proto new file mode 100644 index 00000000..78e784f8 --- /dev/null +++ b/gate-hk4e-api/proto/BuyBattlePassLevelRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2637 +// EnetChannelId: 0 +// EnetIsReliable: true +message BuyBattlePassLevelRsp { + int32 retcode = 5; + uint32 buy_level = 13; +} diff --git a/gate-hk4e-api/proto/BuyGoodsReq.pb.go b/gate-hk4e-api/proto/BuyGoodsReq.pb.go new file mode 100644 index 00000000..eb8ee51d --- /dev/null +++ b/gate-hk4e-api/proto/BuyGoodsReq.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyGoodsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 712 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BuyGoodsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuyCount uint32 `protobuf:"varint,14,opt,name=buy_count,json=buyCount,proto3" json:"buy_count,omitempty"` + Goods *ShopGoods `protobuf:"bytes,15,opt,name=goods,proto3" json:"goods,omitempty"` + ShopType uint32 `protobuf:"varint,7,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` +} + +func (x *BuyGoodsReq) Reset() { + *x = BuyGoodsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyGoodsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyGoodsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyGoodsReq) ProtoMessage() {} + +func (x *BuyGoodsReq) ProtoReflect() protoreflect.Message { + mi := &file_BuyGoodsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyGoodsReq.ProtoReflect.Descriptor instead. +func (*BuyGoodsReq) Descriptor() ([]byte, []int) { + return file_BuyGoodsReq_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyGoodsReq) GetBuyCount() uint32 { + if x != nil { + return x.BuyCount + } + return 0 +} + +func (x *BuyGoodsReq) GetGoods() *ShopGoods { + if x != nil { + return x.Goods + } + return nil +} + +func (x *BuyGoodsReq) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +var File_BuyGoodsReq_proto protoreflect.FileDescriptor + +var file_BuyGoodsReq_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0b, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x20, 0x0a, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x05, 0x67, 0x6f, 0x6f, + 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_BuyGoodsReq_proto_rawDescOnce sync.Once + file_BuyGoodsReq_proto_rawDescData = file_BuyGoodsReq_proto_rawDesc +) + +func file_BuyGoodsReq_proto_rawDescGZIP() []byte { + file_BuyGoodsReq_proto_rawDescOnce.Do(func() { + file_BuyGoodsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyGoodsReq_proto_rawDescData) + }) + return file_BuyGoodsReq_proto_rawDescData +} + +var file_BuyGoodsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyGoodsReq_proto_goTypes = []interface{}{ + (*BuyGoodsReq)(nil), // 0: BuyGoodsReq + (*ShopGoods)(nil), // 1: ShopGoods +} +var file_BuyGoodsReq_proto_depIdxs = []int32{ + 1, // 0: BuyGoodsReq.goods:type_name -> ShopGoods + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_BuyGoodsReq_proto_init() } +func file_BuyGoodsReq_proto_init() { + if File_BuyGoodsReq_proto != nil { + return + } + file_ShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_BuyGoodsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyGoodsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyGoodsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyGoodsReq_proto_goTypes, + DependencyIndexes: file_BuyGoodsReq_proto_depIdxs, + MessageInfos: file_BuyGoodsReq_proto_msgTypes, + }.Build() + File_BuyGoodsReq_proto = out.File + file_BuyGoodsReq_proto_rawDesc = nil + file_BuyGoodsReq_proto_goTypes = nil + file_BuyGoodsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyGoodsReq.proto b/gate-hk4e-api/proto/BuyGoodsReq.proto new file mode 100644 index 00000000..3908b59b --- /dev/null +++ b/gate-hk4e-api/proto/BuyGoodsReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ShopGoods.proto"; + +option go_package = "./;proto"; + +// CmdId: 712 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BuyGoodsReq { + uint32 buy_count = 14; + ShopGoods goods = 15; + uint32 shop_type = 7; +} diff --git a/gate-hk4e-api/proto/BuyGoodsRsp.pb.go b/gate-hk4e-api/proto/BuyGoodsRsp.pb.go new file mode 100644 index 00000000..8e748166 --- /dev/null +++ b/gate-hk4e-api/proto/BuyGoodsRsp.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyGoodsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 735 +// EnetChannelId: 0 +// EnetIsReliable: true +type BuyGoodsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuyCount uint32 `protobuf:"varint,14,opt,name=buy_count,json=buyCount,proto3" json:"buy_count,omitempty"` + Goods *ShopGoods `protobuf:"bytes,12,opt,name=goods,proto3" json:"goods,omitempty"` + ShopType uint32 `protobuf:"varint,11,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + GoodsList []*ShopGoods `protobuf:"bytes,5,rep,name=goods_list,json=goodsList,proto3" json:"goods_list,omitempty"` +} + +func (x *BuyGoodsRsp) Reset() { + *x = BuyGoodsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyGoodsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyGoodsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyGoodsRsp) ProtoMessage() {} + +func (x *BuyGoodsRsp) ProtoReflect() protoreflect.Message { + mi := &file_BuyGoodsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyGoodsRsp.ProtoReflect.Descriptor instead. +func (*BuyGoodsRsp) Descriptor() ([]byte, []int) { + return file_BuyGoodsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyGoodsRsp) GetBuyCount() uint32 { + if x != nil { + return x.BuyCount + } + return 0 +} + +func (x *BuyGoodsRsp) GetGoods() *ShopGoods { + if x != nil { + return x.Goods + } + return nil +} + +func (x *BuyGoodsRsp) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +func (x *BuyGoodsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *BuyGoodsRsp) GetGoodsList() []*ShopGoods { + if x != nil { + return x.GoodsList + } + return nil +} + +var File_BuyGoodsRsp_proto protoreflect.FileDescriptor + +var file_BuyGoodsRsp_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x0b, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, + 0x73, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x20, 0x0a, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x05, 0x67, 0x6f, + 0x6f, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x0a, 0x67, 0x6f, + 0x6f, 0x64, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, + 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuyGoodsRsp_proto_rawDescOnce sync.Once + file_BuyGoodsRsp_proto_rawDescData = file_BuyGoodsRsp_proto_rawDesc +) + +func file_BuyGoodsRsp_proto_rawDescGZIP() []byte { + file_BuyGoodsRsp_proto_rawDescOnce.Do(func() { + file_BuyGoodsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyGoodsRsp_proto_rawDescData) + }) + return file_BuyGoodsRsp_proto_rawDescData +} + +var file_BuyGoodsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyGoodsRsp_proto_goTypes = []interface{}{ + (*BuyGoodsRsp)(nil), // 0: BuyGoodsRsp + (*ShopGoods)(nil), // 1: ShopGoods +} +var file_BuyGoodsRsp_proto_depIdxs = []int32{ + 1, // 0: BuyGoodsRsp.goods:type_name -> ShopGoods + 1, // 1: BuyGoodsRsp.goods_list:type_name -> ShopGoods + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_BuyGoodsRsp_proto_init() } +func file_BuyGoodsRsp_proto_init() { + if File_BuyGoodsRsp_proto != nil { + return + } + file_ShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_BuyGoodsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyGoodsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyGoodsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyGoodsRsp_proto_goTypes, + DependencyIndexes: file_BuyGoodsRsp_proto_depIdxs, + MessageInfos: file_BuyGoodsRsp_proto_msgTypes, + }.Build() + File_BuyGoodsRsp_proto = out.File + file_BuyGoodsRsp_proto_rawDesc = nil + file_BuyGoodsRsp_proto_goTypes = nil + file_BuyGoodsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyGoodsRsp.proto b/gate-hk4e-api/proto/BuyGoodsRsp.proto new file mode 100644 index 00000000..17389c46 --- /dev/null +++ b/gate-hk4e-api/proto/BuyGoodsRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ShopGoods.proto"; + +option go_package = "./;proto"; + +// CmdId: 735 +// EnetChannelId: 0 +// EnetIsReliable: true +message BuyGoodsRsp { + uint32 buy_count = 14; + ShopGoods goods = 12; + uint32 shop_type = 11; + int32 retcode = 2; + repeated ShopGoods goods_list = 5; +} diff --git a/gate-hk4e-api/proto/BuyResinReq.pb.go b/gate-hk4e-api/proto/BuyResinReq.pb.go new file mode 100644 index 00000000..52df0644 --- /dev/null +++ b/gate-hk4e-api/proto/BuyResinReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyResinReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BuyResinReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BuyResinReq) Reset() { + *x = BuyResinReq{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyResinReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyResinReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyResinReq) ProtoMessage() {} + +func (x *BuyResinReq) ProtoReflect() protoreflect.Message { + mi := &file_BuyResinReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyResinReq.ProtoReflect.Descriptor instead. +func (*BuyResinReq) Descriptor() ([]byte, []int) { + return file_BuyResinReq_proto_rawDescGZIP(), []int{0} +} + +var File_BuyResinReq_proto protoreflect.FileDescriptor + +var file_BuyResinReq_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x0d, 0x0a, 0x0b, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuyResinReq_proto_rawDescOnce sync.Once + file_BuyResinReq_proto_rawDescData = file_BuyResinReq_proto_rawDesc +) + +func file_BuyResinReq_proto_rawDescGZIP() []byte { + file_BuyResinReq_proto_rawDescOnce.Do(func() { + file_BuyResinReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyResinReq_proto_rawDescData) + }) + return file_BuyResinReq_proto_rawDescData +} + +var file_BuyResinReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyResinReq_proto_goTypes = []interface{}{ + (*BuyResinReq)(nil), // 0: BuyResinReq +} +var file_BuyResinReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuyResinReq_proto_init() } +func file_BuyResinReq_proto_init() { + if File_BuyResinReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuyResinReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyResinReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyResinReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyResinReq_proto_goTypes, + DependencyIndexes: file_BuyResinReq_proto_depIdxs, + MessageInfos: file_BuyResinReq_proto_msgTypes, + }.Build() + File_BuyResinReq_proto = out.File + file_BuyResinReq_proto_rawDesc = nil + file_BuyResinReq_proto_goTypes = nil + file_BuyResinReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyResinReq.proto b/gate-hk4e-api/proto/BuyResinReq.proto new file mode 100644 index 00000000..b3fc6993 --- /dev/null +++ b/gate-hk4e-api/proto/BuyResinReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BuyResinReq {} diff --git a/gate-hk4e-api/proto/BuyResinRsp.pb.go b/gate-hk4e-api/proto/BuyResinRsp.pb.go new file mode 100644 index 00000000..ab1ae23d --- /dev/null +++ b/gate-hk4e-api/proto/BuyResinRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: BuyResinRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 619 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type BuyResinRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurValue uint32 `protobuf:"varint,10,opt,name=cur_value,json=curValue,proto3" json:"cur_value,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *BuyResinRsp) Reset() { + *x = BuyResinRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_BuyResinRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyResinRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyResinRsp) ProtoMessage() {} + +func (x *BuyResinRsp) ProtoReflect() protoreflect.Message { + mi := &file_BuyResinRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyResinRsp.ProtoReflect.Descriptor instead. +func (*BuyResinRsp) Descriptor() ([]byte, []int) { + return file_BuyResinRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyResinRsp) GetCurValue() uint32 { + if x != nil { + return x.CurValue + } + return 0 +} + +func (x *BuyResinRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_BuyResinRsp_proto protoreflect.FileDescriptor + +var file_BuyResinRsp_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x0b, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x52, + 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_BuyResinRsp_proto_rawDescOnce sync.Once + file_BuyResinRsp_proto_rawDescData = file_BuyResinRsp_proto_rawDesc +) + +func file_BuyResinRsp_proto_rawDescGZIP() []byte { + file_BuyResinRsp_proto_rawDescOnce.Do(func() { + file_BuyResinRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_BuyResinRsp_proto_rawDescData) + }) + return file_BuyResinRsp_proto_rawDescData +} + +var file_BuyResinRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_BuyResinRsp_proto_goTypes = []interface{}{ + (*BuyResinRsp)(nil), // 0: BuyResinRsp +} +var file_BuyResinRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_BuyResinRsp_proto_init() } +func file_BuyResinRsp_proto_init() { + if File_BuyResinRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_BuyResinRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyResinRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_BuyResinRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_BuyResinRsp_proto_goTypes, + DependencyIndexes: file_BuyResinRsp_proto_depIdxs, + MessageInfos: file_BuyResinRsp_proto_msgTypes, + }.Build() + File_BuyResinRsp_proto = out.File + file_BuyResinRsp_proto_rawDesc = nil + file_BuyResinRsp_proto_goTypes = nil + file_BuyResinRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/BuyResinRsp.proto b/gate-hk4e-api/proto/BuyResinRsp.proto new file mode 100644 index 00000000..71485541 --- /dev/null +++ b/gate-hk4e-api/proto/BuyResinRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 619 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message BuyResinRsp { + uint32 cur_value = 10; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.pb.go b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.pb.go new file mode 100644 index 00000000..766fbb48 --- /dev/null +++ b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CalcWeaponUpgradeReturnItemsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 633 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CalcWeaponUpgradeReturnItemsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FoodWeaponGuidList []uint64 `protobuf:"varint,15,rep,packed,name=food_weapon_guid_list,json=foodWeaponGuidList,proto3" json:"food_weapon_guid_list,omitempty"` + TargetWeaponGuid uint64 `protobuf:"varint,12,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` + ItemParamList []*ItemParam `protobuf:"bytes,3,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` +} + +func (x *CalcWeaponUpgradeReturnItemsReq) Reset() { + *x = CalcWeaponUpgradeReturnItemsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CalcWeaponUpgradeReturnItemsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CalcWeaponUpgradeReturnItemsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CalcWeaponUpgradeReturnItemsReq) ProtoMessage() {} + +func (x *CalcWeaponUpgradeReturnItemsReq) ProtoReflect() protoreflect.Message { + mi := &file_CalcWeaponUpgradeReturnItemsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CalcWeaponUpgradeReturnItemsReq.ProtoReflect.Descriptor instead. +func (*CalcWeaponUpgradeReturnItemsReq) Descriptor() ([]byte, []int) { + return file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CalcWeaponUpgradeReturnItemsReq) GetFoodWeaponGuidList() []uint64 { + if x != nil { + return x.FoodWeaponGuidList + } + return nil +} + +func (x *CalcWeaponUpgradeReturnItemsReq) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +func (x *CalcWeaponUpgradeReturnItemsReq) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +var File_CalcWeaponUpgradeReturnItemsReq_proto protoreflect.FileDescriptor + +var file_CalcWeaponUpgradeReturnItemsReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x43, 0x61, 0x6c, 0x63, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x1f, 0x43, 0x61, 0x6c, + 0x63, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x31, 0x0a, 0x15, + 0x66, 0x6f, 0x6f, 0x64, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x66, 0x6f, 0x6f, + 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x12, 0x32, 0x0a, + 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescOnce sync.Once + file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescData = file_CalcWeaponUpgradeReturnItemsReq_proto_rawDesc +) + +func file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescGZIP() []byte { + file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescOnce.Do(func() { + file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescData) + }) + return file_CalcWeaponUpgradeReturnItemsReq_proto_rawDescData +} + +var file_CalcWeaponUpgradeReturnItemsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CalcWeaponUpgradeReturnItemsReq_proto_goTypes = []interface{}{ + (*CalcWeaponUpgradeReturnItemsReq)(nil), // 0: CalcWeaponUpgradeReturnItemsReq + (*ItemParam)(nil), // 1: ItemParam +} +var file_CalcWeaponUpgradeReturnItemsReq_proto_depIdxs = []int32{ + 1, // 0: CalcWeaponUpgradeReturnItemsReq.item_param_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CalcWeaponUpgradeReturnItemsReq_proto_init() } +func file_CalcWeaponUpgradeReturnItemsReq_proto_init() { + if File_CalcWeaponUpgradeReturnItemsReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_CalcWeaponUpgradeReturnItemsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalcWeaponUpgradeReturnItemsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CalcWeaponUpgradeReturnItemsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CalcWeaponUpgradeReturnItemsReq_proto_goTypes, + DependencyIndexes: file_CalcWeaponUpgradeReturnItemsReq_proto_depIdxs, + MessageInfos: file_CalcWeaponUpgradeReturnItemsReq_proto_msgTypes, + }.Build() + File_CalcWeaponUpgradeReturnItemsReq_proto = out.File + file_CalcWeaponUpgradeReturnItemsReq_proto_rawDesc = nil + file_CalcWeaponUpgradeReturnItemsReq_proto_goTypes = nil + file_CalcWeaponUpgradeReturnItemsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.proto b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.proto new file mode 100644 index 00000000..b956eabf --- /dev/null +++ b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 633 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CalcWeaponUpgradeReturnItemsReq { + repeated uint64 food_weapon_guid_list = 15; + uint64 target_weapon_guid = 12; + repeated ItemParam item_param_list = 3; +} diff --git a/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.pb.go b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.pb.go new file mode 100644 index 00000000..e9298b3a --- /dev/null +++ b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CalcWeaponUpgradeReturnItemsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 684 +// EnetChannelId: 0 +// EnetIsReliable: true +type CalcWeaponUpgradeReturnItemsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemParamList []*ItemParam `protobuf:"bytes,4,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetWeaponGuid uint64 `protobuf:"varint,8,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` +} + +func (x *CalcWeaponUpgradeReturnItemsRsp) Reset() { + *x = CalcWeaponUpgradeReturnItemsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CalcWeaponUpgradeReturnItemsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CalcWeaponUpgradeReturnItemsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CalcWeaponUpgradeReturnItemsRsp) ProtoMessage() {} + +func (x *CalcWeaponUpgradeReturnItemsRsp) ProtoReflect() protoreflect.Message { + mi := &file_CalcWeaponUpgradeReturnItemsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CalcWeaponUpgradeReturnItemsRsp.ProtoReflect.Descriptor instead. +func (*CalcWeaponUpgradeReturnItemsRsp) Descriptor() ([]byte, []int) { + return file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CalcWeaponUpgradeReturnItemsRsp) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *CalcWeaponUpgradeReturnItemsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *CalcWeaponUpgradeReturnItemsRsp) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +var File_CalcWeaponUpgradeReturnItemsRsp_proto protoreflect.FileDescriptor + +var file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x43, 0x61, 0x6c, 0x63, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x1f, 0x43, 0x61, 0x6c, + 0x63, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0f, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescOnce sync.Once + file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescData = file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDesc +) + +func file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescGZIP() []byte { + file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescOnce.Do(func() { + file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescData) + }) + return file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDescData +} + +var file_CalcWeaponUpgradeReturnItemsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CalcWeaponUpgradeReturnItemsRsp_proto_goTypes = []interface{}{ + (*CalcWeaponUpgradeReturnItemsRsp)(nil), // 0: CalcWeaponUpgradeReturnItemsRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_CalcWeaponUpgradeReturnItemsRsp_proto_depIdxs = []int32{ + 1, // 0: CalcWeaponUpgradeReturnItemsRsp.item_param_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CalcWeaponUpgradeReturnItemsRsp_proto_init() } +func file_CalcWeaponUpgradeReturnItemsRsp_proto_init() { + if File_CalcWeaponUpgradeReturnItemsRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_CalcWeaponUpgradeReturnItemsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalcWeaponUpgradeReturnItemsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CalcWeaponUpgradeReturnItemsRsp_proto_goTypes, + DependencyIndexes: file_CalcWeaponUpgradeReturnItemsRsp_proto_depIdxs, + MessageInfos: file_CalcWeaponUpgradeReturnItemsRsp_proto_msgTypes, + }.Build() + File_CalcWeaponUpgradeReturnItemsRsp_proto = out.File + file_CalcWeaponUpgradeReturnItemsRsp_proto_rawDesc = nil + file_CalcWeaponUpgradeReturnItemsRsp_proto_goTypes = nil + file_CalcWeaponUpgradeReturnItemsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.proto b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.proto new file mode 100644 index 00000000..f854c660 --- /dev/null +++ b/gate-hk4e-api/proto/CalcWeaponUpgradeReturnItemsRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 684 +// EnetChannelId: 0 +// EnetIsReliable: true +message CalcWeaponUpgradeReturnItemsRsp { + repeated ItemParam item_param_list = 4; + int32 retcode = 15; + uint64 target_weapon_guid = 8; +} diff --git a/gate-hk4e-api/proto/CanUseSkillNotify.pb.go b/gate-hk4e-api/proto/CanUseSkillNotify.pb.go new file mode 100644 index 00000000..27437d85 --- /dev/null +++ b/gate-hk4e-api/proto/CanUseSkillNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CanUseSkillNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1005 +// EnetChannelId: 0 +// EnetIsReliable: true +type CanUseSkillNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsCanUseSkill bool `protobuf:"varint,2,opt,name=is_can_use_skill,json=isCanUseSkill,proto3" json:"is_can_use_skill,omitempty"` +} + +func (x *CanUseSkillNotify) Reset() { + *x = CanUseSkillNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CanUseSkillNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUseSkillNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUseSkillNotify) ProtoMessage() {} + +func (x *CanUseSkillNotify) ProtoReflect() protoreflect.Message { + mi := &file_CanUseSkillNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CanUseSkillNotify.ProtoReflect.Descriptor instead. +func (*CanUseSkillNotify) Descriptor() ([]byte, []int) { + return file_CanUseSkillNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CanUseSkillNotify) GetIsCanUseSkill() bool { + if x != nil { + return x.IsCanUseSkill + } + return false +} + +var File_CanUseSkillNotify_proto protoreflect.FileDescriptor + +var file_CanUseSkillNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x11, 0x43, 0x61, 0x6e, + 0x55, 0x73, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, + 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x73, 0x6b, 0x69, + 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x61, 0x6e, 0x55, + 0x73, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CanUseSkillNotify_proto_rawDescOnce sync.Once + file_CanUseSkillNotify_proto_rawDescData = file_CanUseSkillNotify_proto_rawDesc +) + +func file_CanUseSkillNotify_proto_rawDescGZIP() []byte { + file_CanUseSkillNotify_proto_rawDescOnce.Do(func() { + file_CanUseSkillNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CanUseSkillNotify_proto_rawDescData) + }) + return file_CanUseSkillNotify_proto_rawDescData +} + +var file_CanUseSkillNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CanUseSkillNotify_proto_goTypes = []interface{}{ + (*CanUseSkillNotify)(nil), // 0: CanUseSkillNotify +} +var file_CanUseSkillNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CanUseSkillNotify_proto_init() } +func file_CanUseSkillNotify_proto_init() { + if File_CanUseSkillNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CanUseSkillNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUseSkillNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CanUseSkillNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CanUseSkillNotify_proto_goTypes, + DependencyIndexes: file_CanUseSkillNotify_proto_depIdxs, + MessageInfos: file_CanUseSkillNotify_proto_msgTypes, + }.Build() + File_CanUseSkillNotify_proto = out.File + file_CanUseSkillNotify_proto_rawDesc = nil + file_CanUseSkillNotify_proto_goTypes = nil + file_CanUseSkillNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CanUseSkillNotify.proto b/gate-hk4e-api/proto/CanUseSkillNotify.proto new file mode 100644 index 00000000..b4ba20ba --- /dev/null +++ b/gate-hk4e-api/proto/CanUseSkillNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1005 +// EnetChannelId: 0 +// EnetIsReliable: true +message CanUseSkillNotify { + bool is_can_use_skill = 2; +} diff --git a/gate-hk4e-api/proto/CancelCityReputationRequestReq.pb.go b/gate-hk4e-api/proto/CancelCityReputationRequestReq.pb.go new file mode 100644 index 00000000..fcc05561 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCityReputationRequestReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CancelCityReputationRequestReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2899 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CancelCityReputationRequestReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId uint32 `protobuf:"varint,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + CityId uint32 `protobuf:"varint,6,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *CancelCityReputationRequestReq) Reset() { + *x = CancelCityReputationRequestReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CancelCityReputationRequestReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelCityReputationRequestReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelCityReputationRequestReq) ProtoMessage() {} + +func (x *CancelCityReputationRequestReq) ProtoReflect() protoreflect.Message { + mi := &file_CancelCityReputationRequestReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelCityReputationRequestReq.ProtoReflect.Descriptor instead. +func (*CancelCityReputationRequestReq) Descriptor() ([]byte, []int) { + return file_CancelCityReputationRequestReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CancelCityReputationRequestReq) GetRequestId() uint32 { + if x != nil { + return x.RequestId + } + return 0 +} + +func (x *CancelCityReputationRequestReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_CancelCityReputationRequestReq_proto protoreflect.FileDescriptor + +var file_CancelCityReputationRequestReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CancelCityReputationRequestReq_proto_rawDescOnce sync.Once + file_CancelCityReputationRequestReq_proto_rawDescData = file_CancelCityReputationRequestReq_proto_rawDesc +) + +func file_CancelCityReputationRequestReq_proto_rawDescGZIP() []byte { + file_CancelCityReputationRequestReq_proto_rawDescOnce.Do(func() { + file_CancelCityReputationRequestReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CancelCityReputationRequestReq_proto_rawDescData) + }) + return file_CancelCityReputationRequestReq_proto_rawDescData +} + +var file_CancelCityReputationRequestReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CancelCityReputationRequestReq_proto_goTypes = []interface{}{ + (*CancelCityReputationRequestReq)(nil), // 0: CancelCityReputationRequestReq +} +var file_CancelCityReputationRequestReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CancelCityReputationRequestReq_proto_init() } +func file_CancelCityReputationRequestReq_proto_init() { + if File_CancelCityReputationRequestReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CancelCityReputationRequestReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelCityReputationRequestReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CancelCityReputationRequestReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CancelCityReputationRequestReq_proto_goTypes, + DependencyIndexes: file_CancelCityReputationRequestReq_proto_depIdxs, + MessageInfos: file_CancelCityReputationRequestReq_proto_msgTypes, + }.Build() + File_CancelCityReputationRequestReq_proto = out.File + file_CancelCityReputationRequestReq_proto_rawDesc = nil + file_CancelCityReputationRequestReq_proto_goTypes = nil + file_CancelCityReputationRequestReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CancelCityReputationRequestReq.proto b/gate-hk4e-api/proto/CancelCityReputationRequestReq.proto new file mode 100644 index 00000000..066a27b6 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCityReputationRequestReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2899 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CancelCityReputationRequestReq { + uint32 request_id = 10; + uint32 city_id = 6; +} diff --git a/gate-hk4e-api/proto/CancelCityReputationRequestRsp.pb.go b/gate-hk4e-api/proto/CancelCityReputationRequestRsp.pb.go new file mode 100644 index 00000000..4067f062 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCityReputationRequestRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CancelCityReputationRequestRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2831 +// EnetChannelId: 0 +// EnetIsReliable: true +type CancelCityReputationRequestRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,3,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + RequestId uint32 `protobuf:"varint,12,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *CancelCityReputationRequestRsp) Reset() { + *x = CancelCityReputationRequestRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CancelCityReputationRequestRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelCityReputationRequestRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelCityReputationRequestRsp) ProtoMessage() {} + +func (x *CancelCityReputationRequestRsp) ProtoReflect() protoreflect.Message { + mi := &file_CancelCityReputationRequestRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelCityReputationRequestRsp.ProtoReflect.Descriptor instead. +func (*CancelCityReputationRequestRsp) Descriptor() ([]byte, []int) { + return file_CancelCityReputationRequestRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CancelCityReputationRequestRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *CancelCityReputationRequestRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *CancelCityReputationRequestRsp) GetRequestId() uint32 { + if x != nil { + return x.RequestId + } + return 0 +} + +var File_CancelCityReputationRequestRsp_proto protoreflect.FileDescriptor + +var file_CancelCityReputationRequestRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CancelCityReputationRequestRsp_proto_rawDescOnce sync.Once + file_CancelCityReputationRequestRsp_proto_rawDescData = file_CancelCityReputationRequestRsp_proto_rawDesc +) + +func file_CancelCityReputationRequestRsp_proto_rawDescGZIP() []byte { + file_CancelCityReputationRequestRsp_proto_rawDescOnce.Do(func() { + file_CancelCityReputationRequestRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CancelCityReputationRequestRsp_proto_rawDescData) + }) + return file_CancelCityReputationRequestRsp_proto_rawDescData +} + +var file_CancelCityReputationRequestRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CancelCityReputationRequestRsp_proto_goTypes = []interface{}{ + (*CancelCityReputationRequestRsp)(nil), // 0: CancelCityReputationRequestRsp +} +var file_CancelCityReputationRequestRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CancelCityReputationRequestRsp_proto_init() } +func file_CancelCityReputationRequestRsp_proto_init() { + if File_CancelCityReputationRequestRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CancelCityReputationRequestRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelCityReputationRequestRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CancelCityReputationRequestRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CancelCityReputationRequestRsp_proto_goTypes, + DependencyIndexes: file_CancelCityReputationRequestRsp_proto_depIdxs, + MessageInfos: file_CancelCityReputationRequestRsp_proto_msgTypes, + }.Build() + File_CancelCityReputationRequestRsp_proto = out.File + file_CancelCityReputationRequestRsp_proto_rawDesc = nil + file_CancelCityReputationRequestRsp_proto_goTypes = nil + file_CancelCityReputationRequestRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CancelCityReputationRequestRsp.proto b/gate-hk4e-api/proto/CancelCityReputationRequestRsp.proto new file mode 100644 index 00000000..2af72af2 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCityReputationRequestRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2831 +// EnetChannelId: 0 +// EnetIsReliable: true +message CancelCityReputationRequestRsp { + uint32 city_id = 3; + int32 retcode = 2; + uint32 request_id = 12; +} diff --git a/gate-hk4e-api/proto/CancelCoopTaskReq.pb.go b/gate-hk4e-api/proto/CancelCoopTaskReq.pb.go new file mode 100644 index 00000000..30087e60 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCoopTaskReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CancelCoopTaskReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1997 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CancelCoopTaskReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,13,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *CancelCoopTaskReq) Reset() { + *x = CancelCoopTaskReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CancelCoopTaskReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelCoopTaskReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelCoopTaskReq) ProtoMessage() {} + +func (x *CancelCoopTaskReq) ProtoReflect() protoreflect.Message { + mi := &file_CancelCoopTaskReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelCoopTaskReq.ProtoReflect.Descriptor instead. +func (*CancelCoopTaskReq) Descriptor() ([]byte, []int) { + return file_CancelCoopTaskReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CancelCoopTaskReq) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_CancelCoopTaskReq_proto protoreflect.FileDescriptor + +var file_CancelCoopTaskReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6f, 0x70, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6f, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_CancelCoopTaskReq_proto_rawDescOnce sync.Once + file_CancelCoopTaskReq_proto_rawDescData = file_CancelCoopTaskReq_proto_rawDesc +) + +func file_CancelCoopTaskReq_proto_rawDescGZIP() []byte { + file_CancelCoopTaskReq_proto_rawDescOnce.Do(func() { + file_CancelCoopTaskReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CancelCoopTaskReq_proto_rawDescData) + }) + return file_CancelCoopTaskReq_proto_rawDescData +} + +var file_CancelCoopTaskReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CancelCoopTaskReq_proto_goTypes = []interface{}{ + (*CancelCoopTaskReq)(nil), // 0: CancelCoopTaskReq +} +var file_CancelCoopTaskReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CancelCoopTaskReq_proto_init() } +func file_CancelCoopTaskReq_proto_init() { + if File_CancelCoopTaskReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CancelCoopTaskReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelCoopTaskReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CancelCoopTaskReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CancelCoopTaskReq_proto_goTypes, + DependencyIndexes: file_CancelCoopTaskReq_proto_depIdxs, + MessageInfos: file_CancelCoopTaskReq_proto_msgTypes, + }.Build() + File_CancelCoopTaskReq_proto = out.File + file_CancelCoopTaskReq_proto_rawDesc = nil + file_CancelCoopTaskReq_proto_goTypes = nil + file_CancelCoopTaskReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CancelCoopTaskReq.proto b/gate-hk4e-api/proto/CancelCoopTaskReq.proto new file mode 100644 index 00000000..79a9ea30 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCoopTaskReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1997 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CancelCoopTaskReq { + uint32 chapter_id = 13; +} diff --git a/gate-hk4e-api/proto/CancelCoopTaskRsp.pb.go b/gate-hk4e-api/proto/CancelCoopTaskRsp.pb.go new file mode 100644 index 00000000..e3416ee0 --- /dev/null +++ b/gate-hk4e-api/proto/CancelCoopTaskRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CancelCoopTaskRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1987 +// EnetChannelId: 0 +// EnetIsReliable: true +type CancelCoopTaskRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,1,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *CancelCoopTaskRsp) Reset() { + *x = CancelCoopTaskRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CancelCoopTaskRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelCoopTaskRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelCoopTaskRsp) ProtoMessage() {} + +func (x *CancelCoopTaskRsp) ProtoReflect() protoreflect.Message { + mi := &file_CancelCoopTaskRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelCoopTaskRsp.ProtoReflect.Descriptor instead. +func (*CancelCoopTaskRsp) Descriptor() ([]byte, []int) { + return file_CancelCoopTaskRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CancelCoopTaskRsp) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *CancelCoopTaskRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_CancelCoopTaskRsp_proto protoreflect.FileDescriptor + +var file_CancelCoopTaskRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6f, 0x70, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x11, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6f, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CancelCoopTaskRsp_proto_rawDescOnce sync.Once + file_CancelCoopTaskRsp_proto_rawDescData = file_CancelCoopTaskRsp_proto_rawDesc +) + +func file_CancelCoopTaskRsp_proto_rawDescGZIP() []byte { + file_CancelCoopTaskRsp_proto_rawDescOnce.Do(func() { + file_CancelCoopTaskRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CancelCoopTaskRsp_proto_rawDescData) + }) + return file_CancelCoopTaskRsp_proto_rawDescData +} + +var file_CancelCoopTaskRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CancelCoopTaskRsp_proto_goTypes = []interface{}{ + (*CancelCoopTaskRsp)(nil), // 0: CancelCoopTaskRsp +} +var file_CancelCoopTaskRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CancelCoopTaskRsp_proto_init() } +func file_CancelCoopTaskRsp_proto_init() { + if File_CancelCoopTaskRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CancelCoopTaskRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelCoopTaskRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CancelCoopTaskRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CancelCoopTaskRsp_proto_goTypes, + DependencyIndexes: file_CancelCoopTaskRsp_proto_depIdxs, + MessageInfos: file_CancelCoopTaskRsp_proto_msgTypes, + }.Build() + File_CancelCoopTaskRsp_proto = out.File + file_CancelCoopTaskRsp_proto_rawDesc = nil + file_CancelCoopTaskRsp_proto_goTypes = nil + file_CancelCoopTaskRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CancelCoopTaskRsp.proto b/gate-hk4e-api/proto/CancelCoopTaskRsp.proto new file mode 100644 index 00000000..646c000d --- /dev/null +++ b/gate-hk4e-api/proto/CancelCoopTaskRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1987 +// EnetChannelId: 0 +// EnetIsReliable: true +message CancelCoopTaskRsp { + uint32 chapter_id = 1; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/CancelFinishParentQuestNotify.pb.go b/gate-hk4e-api/proto/CancelFinishParentQuestNotify.pb.go new file mode 100644 index 00000000..80767cc8 --- /dev/null +++ b/gate-hk4e-api/proto/CancelFinishParentQuestNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CancelFinishParentQuestNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 424 +// EnetChannelId: 0 +// EnetIsReliable: true +type CancelFinishParentQuestNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,6,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *CancelFinishParentQuestNotify) Reset() { + *x = CancelFinishParentQuestNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CancelFinishParentQuestNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelFinishParentQuestNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelFinishParentQuestNotify) ProtoMessage() {} + +func (x *CancelFinishParentQuestNotify) ProtoReflect() protoreflect.Message { + mi := &file_CancelFinishParentQuestNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelFinishParentQuestNotify.ProtoReflect.Descriptor instead. +func (*CancelFinishParentQuestNotify) Descriptor() ([]byte, []int) { + return file_CancelFinishParentQuestNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CancelFinishParentQuestNotify) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_CancelFinishParentQuestNotify_proto protoreflect.FileDescriptor + +var file_CancelFinishParentQuestNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x1d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_CancelFinishParentQuestNotify_proto_rawDescOnce sync.Once + file_CancelFinishParentQuestNotify_proto_rawDescData = file_CancelFinishParentQuestNotify_proto_rawDesc +) + +func file_CancelFinishParentQuestNotify_proto_rawDescGZIP() []byte { + file_CancelFinishParentQuestNotify_proto_rawDescOnce.Do(func() { + file_CancelFinishParentQuestNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CancelFinishParentQuestNotify_proto_rawDescData) + }) + return file_CancelFinishParentQuestNotify_proto_rawDescData +} + +var file_CancelFinishParentQuestNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CancelFinishParentQuestNotify_proto_goTypes = []interface{}{ + (*CancelFinishParentQuestNotify)(nil), // 0: CancelFinishParentQuestNotify +} +var file_CancelFinishParentQuestNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CancelFinishParentQuestNotify_proto_init() } +func file_CancelFinishParentQuestNotify_proto_init() { + if File_CancelFinishParentQuestNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CancelFinishParentQuestNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelFinishParentQuestNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CancelFinishParentQuestNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CancelFinishParentQuestNotify_proto_goTypes, + DependencyIndexes: file_CancelFinishParentQuestNotify_proto_depIdxs, + MessageInfos: file_CancelFinishParentQuestNotify_proto_msgTypes, + }.Build() + File_CancelFinishParentQuestNotify_proto = out.File + file_CancelFinishParentQuestNotify_proto_rawDesc = nil + file_CancelFinishParentQuestNotify_proto_goTypes = nil + file_CancelFinishParentQuestNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CancelFinishParentQuestNotify.proto b/gate-hk4e-api/proto/CancelFinishParentQuestNotify.proto new file mode 100644 index 00000000..e9bd3928 --- /dev/null +++ b/gate-hk4e-api/proto/CancelFinishParentQuestNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 424 +// EnetChannelId: 0 +// EnetIsReliable: true +message CancelFinishParentQuestNotify { + uint32 parent_quest_id = 6; +} diff --git a/gate-hk4e-api/proto/CardProductRewardNotify.pb.go b/gate-hk4e-api/proto/CardProductRewardNotify.pb.go new file mode 100644 index 00000000..615c426c --- /dev/null +++ b/gate-hk4e-api/proto/CardProductRewardNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CardProductRewardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4107 +// EnetChannelId: 0 +// EnetIsReliable: true +type CardProductRewardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hcoin uint32 `protobuf:"varint,6,opt,name=hcoin,proto3" json:"hcoin,omitempty"` + ProductId string `protobuf:"bytes,14,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + RemainDays uint32 `protobuf:"varint,1,opt,name=remain_days,json=remainDays,proto3" json:"remain_days,omitempty"` +} + +func (x *CardProductRewardNotify) Reset() { + *x = CardProductRewardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CardProductRewardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CardProductRewardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CardProductRewardNotify) ProtoMessage() {} + +func (x *CardProductRewardNotify) ProtoReflect() protoreflect.Message { + mi := &file_CardProductRewardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CardProductRewardNotify.ProtoReflect.Descriptor instead. +func (*CardProductRewardNotify) Descriptor() ([]byte, []int) { + return file_CardProductRewardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CardProductRewardNotify) GetHcoin() uint32 { + if x != nil { + return x.Hcoin + } + return 0 +} + +func (x *CardProductRewardNotify) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *CardProductRewardNotify) GetRemainDays() uint32 { + if x != nil { + return x.RemainDays + } + return 0 +} + +var File_CardProductRewardNotify_proto protoreflect.FileDescriptor + +var file_CardProductRewardNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6f, 0x0a, 0x17, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x63, + 0x6f, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x79, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CardProductRewardNotify_proto_rawDescOnce sync.Once + file_CardProductRewardNotify_proto_rawDescData = file_CardProductRewardNotify_proto_rawDesc +) + +func file_CardProductRewardNotify_proto_rawDescGZIP() []byte { + file_CardProductRewardNotify_proto_rawDescOnce.Do(func() { + file_CardProductRewardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CardProductRewardNotify_proto_rawDescData) + }) + return file_CardProductRewardNotify_proto_rawDescData +} + +var file_CardProductRewardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CardProductRewardNotify_proto_goTypes = []interface{}{ + (*CardProductRewardNotify)(nil), // 0: CardProductRewardNotify +} +var file_CardProductRewardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CardProductRewardNotify_proto_init() } +func file_CardProductRewardNotify_proto_init() { + if File_CardProductRewardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CardProductRewardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CardProductRewardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CardProductRewardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CardProductRewardNotify_proto_goTypes, + DependencyIndexes: file_CardProductRewardNotify_proto_depIdxs, + MessageInfos: file_CardProductRewardNotify_proto_msgTypes, + }.Build() + File_CardProductRewardNotify_proto = out.File + file_CardProductRewardNotify_proto_rawDesc = nil + file_CardProductRewardNotify_proto_goTypes = nil + file_CardProductRewardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CardProductRewardNotify.proto b/gate-hk4e-api/proto/CardProductRewardNotify.proto new file mode 100644 index 00000000..92ad6649 --- /dev/null +++ b/gate-hk4e-api/proto/CardProductRewardNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4107 +// EnetChannelId: 0 +// EnetIsReliable: true +message CardProductRewardNotify { + uint32 hcoin = 6; + string product_id = 14; + uint32 remain_days = 1; +} diff --git a/gate-hk4e-api/proto/CellInfo.pb.go b/gate-hk4e-api/proto/CellInfo.pb.go new file mode 100644 index 00000000..c877cbf6 --- /dev/null +++ b/gate-hk4e-api/proto/CellInfo.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CellInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CellInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type SceneSurfaceMaterial `protobuf:"varint,1,opt,name=type,proto3,enum=SceneSurfaceMaterial" json:"type,omitempty"` + Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` +} + +func (x *CellInfo) Reset() { + *x = CellInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CellInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CellInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CellInfo) ProtoMessage() {} + +func (x *CellInfo) ProtoReflect() protoreflect.Message { + mi := &file_CellInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CellInfo.ProtoReflect.Descriptor instead. +func (*CellInfo) Descriptor() ([]byte, []int) { + return file_CellInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CellInfo) GetType() SceneSurfaceMaterial { + if x != nil { + return x.Type + } + return SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_INVALID +} + +func (x *CellInfo) GetY() int32 { + if x != nil { + return x.Y + } + return 0 +} + +var File_CellInfo_proto protoreflect.FileDescriptor + +var file_CellInfo_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x08, + 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x53, 0x75, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, + 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CellInfo_proto_rawDescOnce sync.Once + file_CellInfo_proto_rawDescData = file_CellInfo_proto_rawDesc +) + +func file_CellInfo_proto_rawDescGZIP() []byte { + file_CellInfo_proto_rawDescOnce.Do(func() { + file_CellInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CellInfo_proto_rawDescData) + }) + return file_CellInfo_proto_rawDescData +} + +var file_CellInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CellInfo_proto_goTypes = []interface{}{ + (*CellInfo)(nil), // 0: CellInfo + (SceneSurfaceMaterial)(0), // 1: SceneSurfaceMaterial +} +var file_CellInfo_proto_depIdxs = []int32{ + 1, // 0: CellInfo.type:type_name -> SceneSurfaceMaterial + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CellInfo_proto_init() } +func file_CellInfo_proto_init() { + if File_CellInfo_proto != nil { + return + } + file_SceneSurfaceMaterial_proto_init() + if !protoimpl.UnsafeEnabled { + file_CellInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CellInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CellInfo_proto_goTypes, + DependencyIndexes: file_CellInfo_proto_depIdxs, + MessageInfos: file_CellInfo_proto_msgTypes, + }.Build() + File_CellInfo_proto = out.File + file_CellInfo_proto_rawDesc = nil + file_CellInfo_proto_goTypes = nil + file_CellInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CellInfo.proto b/gate-hk4e-api/proto/CellInfo.proto new file mode 100644 index 00000000..3e01e35c --- /dev/null +++ b/gate-hk4e-api/proto/CellInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneSurfaceMaterial.proto"; + +option go_package = "./;proto"; + +message CellInfo { + SceneSurfaceMaterial type = 1; + int32 y = 2; +} diff --git a/gate-hk4e-api/proto/ChallengeDataNotify.pb.go b/gate-hk4e-api/proto/ChallengeDataNotify.pb.go new file mode 100644 index 00000000..56eef3e7 --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeDataNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChallengeDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 953 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChallengeDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value uint32 `protobuf:"varint,8,opt,name=value,proto3" json:"value,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,2,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + ParamIndex uint32 `protobuf:"varint,9,opt,name=param_index,json=paramIndex,proto3" json:"param_index,omitempty"` +} + +func (x *ChallengeDataNotify) Reset() { + *x = ChallengeDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChallengeDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChallengeDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChallengeDataNotify) ProtoMessage() {} + +func (x *ChallengeDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChallengeDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChallengeDataNotify.ProtoReflect.Descriptor instead. +func (*ChallengeDataNotify) Descriptor() ([]byte, []int) { + return file_ChallengeDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChallengeDataNotify) GetValue() uint32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *ChallengeDataNotify) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *ChallengeDataNotify) GetParamIndex() uint32 { + if x != nil { + return x.ParamIndex + } + return 0 +} + +var File_ChallengeDataNotify_proto protoreflect.FileDescriptor + +var file_ChallengeDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x13, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChallengeDataNotify_proto_rawDescOnce sync.Once + file_ChallengeDataNotify_proto_rawDescData = file_ChallengeDataNotify_proto_rawDesc +) + +func file_ChallengeDataNotify_proto_rawDescGZIP() []byte { + file_ChallengeDataNotify_proto_rawDescOnce.Do(func() { + file_ChallengeDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChallengeDataNotify_proto_rawDescData) + }) + return file_ChallengeDataNotify_proto_rawDescData +} + +var file_ChallengeDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChallengeDataNotify_proto_goTypes = []interface{}{ + (*ChallengeDataNotify)(nil), // 0: ChallengeDataNotify +} +var file_ChallengeDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChallengeDataNotify_proto_init() } +func file_ChallengeDataNotify_proto_init() { + if File_ChallengeDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChallengeDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChallengeDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChallengeDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChallengeDataNotify_proto_goTypes, + DependencyIndexes: file_ChallengeDataNotify_proto_depIdxs, + MessageInfos: file_ChallengeDataNotify_proto_msgTypes, + }.Build() + File_ChallengeDataNotify_proto = out.File + file_ChallengeDataNotify_proto_rawDesc = nil + file_ChallengeDataNotify_proto_goTypes = nil + file_ChallengeDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChallengeDataNotify.proto b/gate-hk4e-api/proto/ChallengeDataNotify.proto new file mode 100644 index 00000000..43cebedb --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 953 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChallengeDataNotify { + uint32 value = 8; + uint32 challenge_index = 2; + uint32 param_index = 9; +} diff --git a/gate-hk4e-api/proto/ChallengeRecord.pb.go b/gate-hk4e-api/proto/ChallengeRecord.pb.go new file mode 100644 index 00000000..360271ac --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeRecord.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChallengeRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChallengeRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeRecordType uint32 `protobuf:"varint,14,opt,name=challenge_record_type,json=challengeRecordType,proto3" json:"challenge_record_type,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,15,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + ChallengeId uint32 `protobuf:"varint,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + BestValue uint32 `protobuf:"varint,8,opt,name=best_value,json=bestValue,proto3" json:"best_value,omitempty"` +} + +func (x *ChallengeRecord) Reset() { + *x = ChallengeRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_ChallengeRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChallengeRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChallengeRecord) ProtoMessage() {} + +func (x *ChallengeRecord) ProtoReflect() protoreflect.Message { + mi := &file_ChallengeRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChallengeRecord.ProtoReflect.Descriptor instead. +func (*ChallengeRecord) Descriptor() ([]byte, []int) { + return file_ChallengeRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *ChallengeRecord) GetChallengeRecordType() uint32 { + if x != nil { + return x.ChallengeRecordType + } + return 0 +} + +func (x *ChallengeRecord) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *ChallengeRecord) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *ChallengeRecord) GetBestValue() uint32 { + if x != nil { + return x.BestValue + } + return 0 +} + +var File_ChallengeRecord_proto protoreflect.FileDescriptor + +var file_ChallengeRecord_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x62, 0x65, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChallengeRecord_proto_rawDescOnce sync.Once + file_ChallengeRecord_proto_rawDescData = file_ChallengeRecord_proto_rawDesc +) + +func file_ChallengeRecord_proto_rawDescGZIP() []byte { + file_ChallengeRecord_proto_rawDescOnce.Do(func() { + file_ChallengeRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChallengeRecord_proto_rawDescData) + }) + return file_ChallengeRecord_proto_rawDescData +} + +var file_ChallengeRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChallengeRecord_proto_goTypes = []interface{}{ + (*ChallengeRecord)(nil), // 0: ChallengeRecord +} +var file_ChallengeRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChallengeRecord_proto_init() } +func file_ChallengeRecord_proto_init() { + if File_ChallengeRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChallengeRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChallengeRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChallengeRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChallengeRecord_proto_goTypes, + DependencyIndexes: file_ChallengeRecord_proto_depIdxs, + MessageInfos: file_ChallengeRecord_proto_msgTypes, + }.Build() + File_ChallengeRecord_proto = out.File + file_ChallengeRecord_proto_rawDesc = nil + file_ChallengeRecord_proto_goTypes = nil + file_ChallengeRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChallengeRecord.proto b/gate-hk4e-api/proto/ChallengeRecord.proto new file mode 100644 index 00000000..eea6551e --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeRecord.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChallengeRecord { + uint32 challenge_record_type = 14; + uint32 challenge_index = 15; + uint32 challenge_id = 1; + uint32 best_value = 8; +} diff --git a/gate-hk4e-api/proto/ChallengeRecordNotify.pb.go b/gate-hk4e-api/proto/ChallengeRecordNotify.pb.go new file mode 100644 index 00000000..0986b27f --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeRecordNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChallengeRecordNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 993 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChallengeRecordNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ChallengeRecordList []*ChallengeRecord `protobuf:"bytes,5,rep,name=challenge_record_list,json=challengeRecordList,proto3" json:"challenge_record_list,omitempty"` +} + +func (x *ChallengeRecordNotify) Reset() { + *x = ChallengeRecordNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChallengeRecordNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChallengeRecordNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChallengeRecordNotify) ProtoMessage() {} + +func (x *ChallengeRecordNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChallengeRecordNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChallengeRecordNotify.ProtoReflect.Descriptor instead. +func (*ChallengeRecordNotify) Descriptor() ([]byte, []int) { + return file_ChallengeRecordNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChallengeRecordNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *ChallengeRecordNotify) GetChallengeRecordList() []*ChallengeRecord { + if x != nil { + return x.ChallengeRecordList + } + return nil +} + +var File_ChallengeRecordNotify_proto protoreflect.FileDescriptor + +var file_ChallengeRecordNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, + 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x15, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChallengeRecordNotify_proto_rawDescOnce sync.Once + file_ChallengeRecordNotify_proto_rawDescData = file_ChallengeRecordNotify_proto_rawDesc +) + +func file_ChallengeRecordNotify_proto_rawDescGZIP() []byte { + file_ChallengeRecordNotify_proto_rawDescOnce.Do(func() { + file_ChallengeRecordNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChallengeRecordNotify_proto_rawDescData) + }) + return file_ChallengeRecordNotify_proto_rawDescData +} + +var file_ChallengeRecordNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChallengeRecordNotify_proto_goTypes = []interface{}{ + (*ChallengeRecordNotify)(nil), // 0: ChallengeRecordNotify + (*ChallengeRecord)(nil), // 1: ChallengeRecord +} +var file_ChallengeRecordNotify_proto_depIdxs = []int32{ + 1, // 0: ChallengeRecordNotify.challenge_record_list:type_name -> ChallengeRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChallengeRecordNotify_proto_init() } +func file_ChallengeRecordNotify_proto_init() { + if File_ChallengeRecordNotify_proto != nil { + return + } + file_ChallengeRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChallengeRecordNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChallengeRecordNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChallengeRecordNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChallengeRecordNotify_proto_goTypes, + DependencyIndexes: file_ChallengeRecordNotify_proto_depIdxs, + MessageInfos: file_ChallengeRecordNotify_proto_msgTypes, + }.Build() + File_ChallengeRecordNotify_proto = out.File + file_ChallengeRecordNotify_proto_rawDesc = nil + file_ChallengeRecordNotify_proto_goTypes = nil + file_ChallengeRecordNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChallengeRecordNotify.proto b/gate-hk4e-api/proto/ChallengeRecordNotify.proto new file mode 100644 index 00000000..c27546a2 --- /dev/null +++ b/gate-hk4e-api/proto/ChallengeRecordNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChallengeRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 993 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChallengeRecordNotify { + uint32 group_id = 2; + repeated ChallengeRecord challenge_record_list = 5; +} diff --git a/gate-hk4e-api/proto/ChangeAvatarReq.pb.go b/gate-hk4e-api/proto/ChangeAvatarReq.pb.go new file mode 100644 index 00000000..65e47527 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeAvatarReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MovePos *Vector `protobuf:"bytes,15,opt,name=move_pos,json=movePos,proto3" json:"move_pos,omitempty"` + SkillId uint32 `protobuf:"varint,2,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + Guid uint64 `protobuf:"varint,7,opt,name=guid,proto3" json:"guid,omitempty"` + IsMove bool `protobuf:"varint,10,opt,name=is_move,json=isMove,proto3" json:"is_move,omitempty"` +} + +func (x *ChangeAvatarReq) Reset() { + *x = ChangeAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeAvatarReq) ProtoMessage() {} + +func (x *ChangeAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_ChangeAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeAvatarReq.ProtoReflect.Descriptor instead. +func (*ChangeAvatarReq) Descriptor() ([]byte, []int) { + return file_ChangeAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeAvatarReq) GetMovePos() *Vector { + if x != nil { + return x.MovePos + } + return nil +} + +func (x *ChangeAvatarReq) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *ChangeAvatarReq) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *ChangeAvatarReq) GetIsMove() bool { + if x != nil { + return x.IsMove + } + return false +} + +var File_ChangeAvatarReq_proto protoreflect.FileDescriptor + +var file_ChangeAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x08, 0x6d, 0x6f, 0x76, 0x65, + 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, + 0x73, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, + 0x4d, 0x6f, 0x76, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeAvatarReq_proto_rawDescOnce sync.Once + file_ChangeAvatarReq_proto_rawDescData = file_ChangeAvatarReq_proto_rawDesc +) + +func file_ChangeAvatarReq_proto_rawDescGZIP() []byte { + file_ChangeAvatarReq_proto_rawDescOnce.Do(func() { + file_ChangeAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeAvatarReq_proto_rawDescData) + }) + return file_ChangeAvatarReq_proto_rawDescData +} + +var file_ChangeAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeAvatarReq_proto_goTypes = []interface{}{ + (*ChangeAvatarReq)(nil), // 0: ChangeAvatarReq + (*Vector)(nil), // 1: Vector +} +var file_ChangeAvatarReq_proto_depIdxs = []int32{ + 1, // 0: ChangeAvatarReq.move_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChangeAvatarReq_proto_init() } +func file_ChangeAvatarReq_proto_init() { + if File_ChangeAvatarReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChangeAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeAvatarReq_proto_goTypes, + DependencyIndexes: file_ChangeAvatarReq_proto_depIdxs, + MessageInfos: file_ChangeAvatarReq_proto_msgTypes, + }.Build() + File_ChangeAvatarReq_proto = out.File + file_ChangeAvatarReq_proto_rawDesc = nil + file_ChangeAvatarReq_proto_goTypes = nil + file_ChangeAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeAvatarReq.proto b/gate-hk4e-api/proto/ChangeAvatarReq.proto new file mode 100644 index 00000000..92923d55 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeAvatarReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 1640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeAvatarReq { + Vector move_pos = 15; + uint32 skill_id = 2; + uint64 guid = 7; + bool is_move = 10; +} diff --git a/gate-hk4e-api/proto/ChangeAvatarRsp.pb.go b/gate-hk4e-api/proto/ChangeAvatarRsp.pb.go new file mode 100644 index 00000000..5494f97d --- /dev/null +++ b/gate-hk4e-api/proto/ChangeAvatarRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1607 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChangeAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillId uint32 `protobuf:"varint,3,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurGuid uint64 `protobuf:"varint,4,opt,name=cur_guid,json=curGuid,proto3" json:"cur_guid,omitempty"` +} + +func (x *ChangeAvatarRsp) Reset() { + *x = ChangeAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeAvatarRsp) ProtoMessage() {} + +func (x *ChangeAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChangeAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeAvatarRsp.ProtoReflect.Descriptor instead. +func (*ChangeAvatarRsp) Descriptor() ([]byte, []int) { + return file_ChangeAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeAvatarRsp) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *ChangeAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChangeAvatarRsp) GetCurGuid() uint64 { + if x != nil { + return x.CurGuid + } + return 0 +} + +var File_ChangeAvatarRsp_proto protoreflect.FileDescriptor + +var file_ChangeAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x63, 0x75, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeAvatarRsp_proto_rawDescOnce sync.Once + file_ChangeAvatarRsp_proto_rawDescData = file_ChangeAvatarRsp_proto_rawDesc +) + +func file_ChangeAvatarRsp_proto_rawDescGZIP() []byte { + file_ChangeAvatarRsp_proto_rawDescOnce.Do(func() { + file_ChangeAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeAvatarRsp_proto_rawDescData) + }) + return file_ChangeAvatarRsp_proto_rawDescData +} + +var file_ChangeAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeAvatarRsp_proto_goTypes = []interface{}{ + (*ChangeAvatarRsp)(nil), // 0: ChangeAvatarRsp +} +var file_ChangeAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeAvatarRsp_proto_init() } +func file_ChangeAvatarRsp_proto_init() { + if File_ChangeAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeAvatarRsp_proto_goTypes, + DependencyIndexes: file_ChangeAvatarRsp_proto_depIdxs, + MessageInfos: file_ChangeAvatarRsp_proto_msgTypes, + }.Build() + File_ChangeAvatarRsp_proto = out.File + file_ChangeAvatarRsp_proto_rawDesc = nil + file_ChangeAvatarRsp_proto_goTypes = nil + file_ChangeAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeAvatarRsp.proto b/gate-hk4e-api/proto/ChangeAvatarRsp.proto new file mode 100644 index 00000000..b144f09e --- /dev/null +++ b/gate-hk4e-api/proto/ChangeAvatarRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1607 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChangeAvatarRsp { + uint32 skill_id = 3; + int32 retcode = 10; + uint64 cur_guid = 4; +} diff --git a/gate-hk4e-api/proto/ChangeEnergyReason.pb.go b/gate-hk4e-api/proto/ChangeEnergyReason.pb.go new file mode 100644 index 00000000..c0426628 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeEnergyReason.pb.go @@ -0,0 +1,146 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeEnergyReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChangeEnergyReason int32 + +const ( + ChangeEnergyReason_CHANGE_ENERGY_REASON_NONE ChangeEnergyReason = 0 + ChangeEnergyReason_CHANGE_ENERGY_REASON_SKILL_START ChangeEnergyReason = 1 +) + +// Enum value maps for ChangeEnergyReason. +var ( + ChangeEnergyReason_name = map[int32]string{ + 0: "CHANGE_ENERGY_REASON_NONE", + 1: "CHANGE_ENERGY_REASON_SKILL_START", + } + ChangeEnergyReason_value = map[string]int32{ + "CHANGE_ENERGY_REASON_NONE": 0, + "CHANGE_ENERGY_REASON_SKILL_START": 1, + } +) + +func (x ChangeEnergyReason) Enum() *ChangeEnergyReason { + p := new(ChangeEnergyReason) + *p = x + return p +} + +func (x ChangeEnergyReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChangeEnergyReason) Descriptor() protoreflect.EnumDescriptor { + return file_ChangeEnergyReason_proto_enumTypes[0].Descriptor() +} + +func (ChangeEnergyReason) Type() protoreflect.EnumType { + return &file_ChangeEnergyReason_proto_enumTypes[0] +} + +func (x ChangeEnergyReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChangeEnergyReason.Descriptor instead. +func (ChangeEnergyReason) EnumDescriptor() ([]byte, []int) { + return file_ChangeEnergyReason_proto_rawDescGZIP(), []int{0} +} + +var File_ChangeEnergyReason_proto protoreflect.FileDescriptor + +var file_ChangeEnergyReason_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x59, 0x0a, 0x12, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, + 0x59, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, + 0x24, 0x0a, 0x20, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x53, 0x54, + 0x41, 0x52, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeEnergyReason_proto_rawDescOnce sync.Once + file_ChangeEnergyReason_proto_rawDescData = file_ChangeEnergyReason_proto_rawDesc +) + +func file_ChangeEnergyReason_proto_rawDescGZIP() []byte { + file_ChangeEnergyReason_proto_rawDescOnce.Do(func() { + file_ChangeEnergyReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeEnergyReason_proto_rawDescData) + }) + return file_ChangeEnergyReason_proto_rawDescData +} + +var file_ChangeEnergyReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ChangeEnergyReason_proto_goTypes = []interface{}{ + (ChangeEnergyReason)(0), // 0: ChangeEnergyReason +} +var file_ChangeEnergyReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeEnergyReason_proto_init() } +func file_ChangeEnergyReason_proto_init() { + if File_ChangeEnergyReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeEnergyReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeEnergyReason_proto_goTypes, + DependencyIndexes: file_ChangeEnergyReason_proto_depIdxs, + EnumInfos: file_ChangeEnergyReason_proto_enumTypes, + }.Build() + File_ChangeEnergyReason_proto = out.File + file_ChangeEnergyReason_proto_rawDesc = nil + file_ChangeEnergyReason_proto_goTypes = nil + file_ChangeEnergyReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeEnergyReason.proto b/gate-hk4e-api/proto/ChangeEnergyReason.proto new file mode 100644 index 00000000..d0bcb0af --- /dev/null +++ b/gate-hk4e-api/proto/ChangeEnergyReason.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ChangeEnergyReason { + CHANGE_ENERGY_REASON_NONE = 0; + CHANGE_ENERGY_REASON_SKILL_START = 1; +} diff --git a/gate-hk4e-api/proto/ChangeGameTimeReq.pb.go b/gate-hk4e-api/proto/ChangeGameTimeReq.pb.go new file mode 100644 index 00000000..ee609888 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeGameTimeReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeGameTimeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 173 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeGameTimeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GameTime uint32 `protobuf:"varint,6,opt,name=game_time,json=gameTime,proto3" json:"game_time,omitempty"` + IsForceSet bool `protobuf:"varint,11,opt,name=is_force_set,json=isForceSet,proto3" json:"is_force_set,omitempty"` + ExtraDays uint32 `protobuf:"varint,12,opt,name=extra_days,json=extraDays,proto3" json:"extra_days,omitempty"` +} + +func (x *ChangeGameTimeReq) Reset() { + *x = ChangeGameTimeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeGameTimeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeGameTimeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeGameTimeReq) ProtoMessage() {} + +func (x *ChangeGameTimeReq) ProtoReflect() protoreflect.Message { + mi := &file_ChangeGameTimeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeGameTimeReq.ProtoReflect.Descriptor instead. +func (*ChangeGameTimeReq) Descriptor() ([]byte, []int) { + return file_ChangeGameTimeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeGameTimeReq) GetGameTime() uint32 { + if x != nil { + return x.GameTime + } + return 0 +} + +func (x *ChangeGameTimeReq) GetIsForceSet() bool { + if x != nil { + return x.IsForceSet + } + return false +} + +func (x *ChangeGameTimeReq) GetExtraDays() uint32 { + if x != nil { + return x.ExtraDays + } + return 0 +} + +var File_ChangeGameTimeReq_proto protoreflect.FileDescriptor + +var file_ChangeGameTimeReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x11, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, + 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x69, + 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x44, 0x61, 0x79, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeGameTimeReq_proto_rawDescOnce sync.Once + file_ChangeGameTimeReq_proto_rawDescData = file_ChangeGameTimeReq_proto_rawDesc +) + +func file_ChangeGameTimeReq_proto_rawDescGZIP() []byte { + file_ChangeGameTimeReq_proto_rawDescOnce.Do(func() { + file_ChangeGameTimeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeGameTimeReq_proto_rawDescData) + }) + return file_ChangeGameTimeReq_proto_rawDescData +} + +var file_ChangeGameTimeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeGameTimeReq_proto_goTypes = []interface{}{ + (*ChangeGameTimeReq)(nil), // 0: ChangeGameTimeReq +} +var file_ChangeGameTimeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeGameTimeReq_proto_init() } +func file_ChangeGameTimeReq_proto_init() { + if File_ChangeGameTimeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeGameTimeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeGameTimeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeGameTimeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeGameTimeReq_proto_goTypes, + DependencyIndexes: file_ChangeGameTimeReq_proto_depIdxs, + MessageInfos: file_ChangeGameTimeReq_proto_msgTypes, + }.Build() + File_ChangeGameTimeReq_proto = out.File + file_ChangeGameTimeReq_proto_rawDesc = nil + file_ChangeGameTimeReq_proto_goTypes = nil + file_ChangeGameTimeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeGameTimeReq.proto b/gate-hk4e-api/proto/ChangeGameTimeReq.proto new file mode 100644 index 00000000..48e6b1dc --- /dev/null +++ b/gate-hk4e-api/proto/ChangeGameTimeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 173 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeGameTimeReq { + uint32 game_time = 6; + bool is_force_set = 11; + uint32 extra_days = 12; +} diff --git a/gate-hk4e-api/proto/ChangeGameTimeRsp.pb.go b/gate-hk4e-api/proto/ChangeGameTimeRsp.pb.go new file mode 100644 index 00000000..f73f3499 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeGameTimeRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeGameTimeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 199 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChangeGameTimeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + ExtraDays uint32 `protobuf:"varint,5,opt,name=extra_days,json=extraDays,proto3" json:"extra_days,omitempty"` + CurGameTime uint32 `protobuf:"varint,14,opt,name=cur_game_time,json=curGameTime,proto3" json:"cur_game_time,omitempty"` +} + +func (x *ChangeGameTimeRsp) Reset() { + *x = ChangeGameTimeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeGameTimeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeGameTimeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeGameTimeRsp) ProtoMessage() {} + +func (x *ChangeGameTimeRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChangeGameTimeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeGameTimeRsp.ProtoReflect.Descriptor instead. +func (*ChangeGameTimeRsp) Descriptor() ([]byte, []int) { + return file_ChangeGameTimeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeGameTimeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChangeGameTimeRsp) GetExtraDays() uint32 { + if x != nil { + return x.ExtraDays + } + return 0 +} + +func (x *ChangeGameTimeRsp) GetCurGameTime() uint32 { + if x != nil { + return x.CurGameTime + } + return 0 +} + +var File_ChangeGameTimeRsp_proto protoreflect.FileDescriptor + +var file_ChangeGameTimeRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x11, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x72, + 0x61, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x78, + 0x74, 0x72, 0x61, 0x44, 0x61, 0x79, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x5f, 0x67, + 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x63, 0x75, 0x72, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeGameTimeRsp_proto_rawDescOnce sync.Once + file_ChangeGameTimeRsp_proto_rawDescData = file_ChangeGameTimeRsp_proto_rawDesc +) + +func file_ChangeGameTimeRsp_proto_rawDescGZIP() []byte { + file_ChangeGameTimeRsp_proto_rawDescOnce.Do(func() { + file_ChangeGameTimeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeGameTimeRsp_proto_rawDescData) + }) + return file_ChangeGameTimeRsp_proto_rawDescData +} + +var file_ChangeGameTimeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeGameTimeRsp_proto_goTypes = []interface{}{ + (*ChangeGameTimeRsp)(nil), // 0: ChangeGameTimeRsp +} +var file_ChangeGameTimeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeGameTimeRsp_proto_init() } +func file_ChangeGameTimeRsp_proto_init() { + if File_ChangeGameTimeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeGameTimeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeGameTimeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeGameTimeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeGameTimeRsp_proto_goTypes, + DependencyIndexes: file_ChangeGameTimeRsp_proto_depIdxs, + MessageInfos: file_ChangeGameTimeRsp_proto_msgTypes, + }.Build() + File_ChangeGameTimeRsp_proto = out.File + file_ChangeGameTimeRsp_proto_rawDesc = nil + file_ChangeGameTimeRsp_proto_goTypes = nil + file_ChangeGameTimeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeGameTimeRsp.proto b/gate-hk4e-api/proto/ChangeGameTimeRsp.proto new file mode 100644 index 00000000..9ba15d4b --- /dev/null +++ b/gate-hk4e-api/proto/ChangeGameTimeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 199 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChangeGameTimeRsp { + int32 retcode = 8; + uint32 extra_days = 5; + uint32 cur_game_time = 14; +} diff --git a/gate-hk4e-api/proto/ChangeHpReason.pb.go b/gate-hk4e-api/proto/ChangeHpReason.pb.go new file mode 100644 index 00000000..c7327c14 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeHpReason.pb.go @@ -0,0 +1,291 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeHpReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChangeHpReason int32 + +const ( + ChangeHpReason_CHANGE_HP_REASON_NONE ChangeHpReason = 0 + ChangeHpReason_CHANGE_HP_REASON_SUB_AVATAR ChangeHpReason = 1 + ChangeHpReason_CHANGE_HP_REASON_SUB_MONSTER ChangeHpReason = 2 + ChangeHpReason_CHANGE_HP_REASON_SUB_GEAR ChangeHpReason = 3 + ChangeHpReason_CHANGE_HP_REASON_SUB_ENVIR ChangeHpReason = 4 + ChangeHpReason_CHANGE_HP_REASON_SUB_FALL ChangeHpReason = 5 + ChangeHpReason_CHANGE_HP_REASON_SUB_DRAWN ChangeHpReason = 6 + ChangeHpReason_CHANGE_HP_REASON_SUB_ABYSS ChangeHpReason = 7 + ChangeHpReason_CHANGE_HP_REASON_SUB_ABILITY ChangeHpReason = 8 + ChangeHpReason_CHANGE_HP_REASON_SUB_SUMMON ChangeHpReason = 9 + ChangeHpReason_CHANGE_HP_REASON_SUB_SCRIPT ChangeHpReason = 10 + ChangeHpReason_CHANGE_HP_REASON_SUB_GM ChangeHpReason = 11 + ChangeHpReason_CHANGE_HP_REASON_SUB_KILL_SELF ChangeHpReason = 12 + ChangeHpReason_CHANGE_HP_REASON_SUB_CLIMATE_COLD ChangeHpReason = 13 + ChangeHpReason_CHANGE_HP_REASON_SUB_STORM_LIGHTNING ChangeHpReason = 14 + ChangeHpReason_CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET ChangeHpReason = 15 + ChangeHpReason_CHANGE_HP_REASON_SUB_REPLACE ChangeHpReason = 16 + ChangeHpReason_CHANGE_HP_REASON_SUB_PLAYER_LEAVE ChangeHpReason = 17 + ChangeHpReason_CHANGE_HP_REASON_Unk2700_CIKCDBOJGDK ChangeHpReason = 18 + ChangeHpReason_CHANGE_HP_REASON_Unk2700_HEKLBLFBJJK ChangeHpReason = 19 + ChangeHpReason_CHANGE_HP_REASON_BY_LUA ChangeHpReason = 51 + ChangeHpReason_CHANGE_HP_REASON_ADD_ABILITY ChangeHpReason = 101 + ChangeHpReason_CHANGE_HP_REASON_ADD_ITEM ChangeHpReason = 102 + ChangeHpReason_CHANGE_HP_REASON_ADD_REVIVE ChangeHpReason = 103 + ChangeHpReason_CHANGE_HP_REASON_ADD_UPGRADE ChangeHpReason = 104 + ChangeHpReason_CHANGE_HP_REASON_ADD_STATUE ChangeHpReason = 105 + ChangeHpReason_CHANGE_HP_REASON_ADD_BACKGROUND ChangeHpReason = 106 + ChangeHpReason_CHANGE_HP_REASON_ADD_GM ChangeHpReason = 107 + ChangeHpReason_CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY ChangeHpReason = 108 + ChangeHpReason_CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING ChangeHpReason = 109 +) + +// Enum value maps for ChangeHpReason. +var ( + ChangeHpReason_name = map[int32]string{ + 0: "CHANGE_HP_REASON_NONE", + 1: "CHANGE_HP_REASON_SUB_AVATAR", + 2: "CHANGE_HP_REASON_SUB_MONSTER", + 3: "CHANGE_HP_REASON_SUB_GEAR", + 4: "CHANGE_HP_REASON_SUB_ENVIR", + 5: "CHANGE_HP_REASON_SUB_FALL", + 6: "CHANGE_HP_REASON_SUB_DRAWN", + 7: "CHANGE_HP_REASON_SUB_ABYSS", + 8: "CHANGE_HP_REASON_SUB_ABILITY", + 9: "CHANGE_HP_REASON_SUB_SUMMON", + 10: "CHANGE_HP_REASON_SUB_SCRIPT", + 11: "CHANGE_HP_REASON_SUB_GM", + 12: "CHANGE_HP_REASON_SUB_KILL_SELF", + 13: "CHANGE_HP_REASON_SUB_CLIMATE_COLD", + 14: "CHANGE_HP_REASON_SUB_STORM_LIGHTNING", + 15: "CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET", + 16: "CHANGE_HP_REASON_SUB_REPLACE", + 17: "CHANGE_HP_REASON_SUB_PLAYER_LEAVE", + 18: "CHANGE_HP_REASON_Unk2700_CIKCDBOJGDK", + 19: "CHANGE_HP_REASON_Unk2700_HEKLBLFBJJK", + 51: "CHANGE_HP_REASON_BY_LUA", + 101: "CHANGE_HP_REASON_ADD_ABILITY", + 102: "CHANGE_HP_REASON_ADD_ITEM", + 103: "CHANGE_HP_REASON_ADD_REVIVE", + 104: "CHANGE_HP_REASON_ADD_UPGRADE", + 105: "CHANGE_HP_REASON_ADD_STATUE", + 106: "CHANGE_HP_REASON_ADD_BACKGROUND", + 107: "CHANGE_HP_REASON_ADD_GM", + 108: "CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY", + 109: "CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING", + } + ChangeHpReason_value = map[string]int32{ + "CHANGE_HP_REASON_NONE": 0, + "CHANGE_HP_REASON_SUB_AVATAR": 1, + "CHANGE_HP_REASON_SUB_MONSTER": 2, + "CHANGE_HP_REASON_SUB_GEAR": 3, + "CHANGE_HP_REASON_SUB_ENVIR": 4, + "CHANGE_HP_REASON_SUB_FALL": 5, + "CHANGE_HP_REASON_SUB_DRAWN": 6, + "CHANGE_HP_REASON_SUB_ABYSS": 7, + "CHANGE_HP_REASON_SUB_ABILITY": 8, + "CHANGE_HP_REASON_SUB_SUMMON": 9, + "CHANGE_HP_REASON_SUB_SCRIPT": 10, + "CHANGE_HP_REASON_SUB_GM": 11, + "CHANGE_HP_REASON_SUB_KILL_SELF": 12, + "CHANGE_HP_REASON_SUB_CLIMATE_COLD": 13, + "CHANGE_HP_REASON_SUB_STORM_LIGHTNING": 14, + "CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET": 15, + "CHANGE_HP_REASON_SUB_REPLACE": 16, + "CHANGE_HP_REASON_SUB_PLAYER_LEAVE": 17, + "CHANGE_HP_REASON_Unk2700_CIKCDBOJGDK": 18, + "CHANGE_HP_REASON_Unk2700_HEKLBLFBJJK": 19, + "CHANGE_HP_REASON_BY_LUA": 51, + "CHANGE_HP_REASON_ADD_ABILITY": 101, + "CHANGE_HP_REASON_ADD_ITEM": 102, + "CHANGE_HP_REASON_ADD_REVIVE": 103, + "CHANGE_HP_REASON_ADD_UPGRADE": 104, + "CHANGE_HP_REASON_ADD_STATUE": 105, + "CHANGE_HP_REASON_ADD_BACKGROUND": 106, + "CHANGE_HP_REASON_ADD_GM": 107, + "CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY": 108, + "CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING": 109, + } +) + +func (x ChangeHpReason) Enum() *ChangeHpReason { + p := new(ChangeHpReason) + *p = x + return p +} + +func (x ChangeHpReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChangeHpReason) Descriptor() protoreflect.EnumDescriptor { + return file_ChangeHpReason_proto_enumTypes[0].Descriptor() +} + +func (ChangeHpReason) Type() protoreflect.EnumType { + return &file_ChangeHpReason_proto_enumTypes[0] +} + +func (x ChangeHpReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChangeHpReason.Descriptor instead. +func (ChangeHpReason) EnumDescriptor() ([]byte, []int) { + return file_ChangeHpReason_proto_rawDescGZIP(), []int{0} +} + +var File_ChangeHpReason_proto protoreflect.FileDescriptor + +var file_ChangeHpReason_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xac, 0x08, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x48, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x48, 0x41, + 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, + 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x41, 0x56, 0x41, + 0x54, 0x41, 0x52, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x4d, 0x4f, + 0x4e, 0x53, 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, + 0x47, 0x45, 0x41, 0x52, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x45, + 0x4e, 0x56, 0x49, 0x52, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x46, + 0x41, 0x4c, 0x4c, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x44, 0x52, + 0x41, 0x57, 0x4e, 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x41, 0x42, + 0x59, 0x53, 0x53, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x08, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, + 0x53, 0x55, 0x4d, 0x4d, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x48, 0x41, 0x4e, + 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, + 0x5f, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, + 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, + 0x42, 0x5f, 0x47, 0x4d, 0x10, 0x0b, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x4b, + 0x49, 0x4c, 0x4c, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x0c, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, + 0x55, 0x42, 0x5f, 0x43, 0x4c, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x44, 0x10, + 0x0d, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x4d, 0x5f, + 0x4c, 0x49, 0x47, 0x48, 0x54, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x0e, 0x12, 0x2b, 0x0a, 0x27, 0x43, + 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x53, 0x55, 0x42, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, + 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x10, 0x0f, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x48, 0x41, 0x4e, + 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x42, + 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x10, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, + 0x55, 0x42, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, + 0x11, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x49, + 0x4b, 0x43, 0x44, 0x42, 0x4f, 0x4a, 0x47, 0x44, 0x4b, 0x10, 0x12, 0x12, 0x28, 0x0a, 0x24, 0x43, + 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4b, 0x4c, 0x42, 0x4c, 0x46, 0x42, + 0x4a, 0x4a, 0x4b, 0x10, 0x13, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, 0x4c, 0x55, 0x41, + 0x10, 0x33, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x10, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, + 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x49, 0x54, 0x45, + 0x4d, 0x10, 0x66, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x45, 0x56, 0x49, + 0x56, 0x45, 0x10, 0x67, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, + 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x55, 0x50, 0x47, + 0x52, 0x41, 0x44, 0x45, 0x10, 0x68, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x45, 0x10, 0x69, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x5f, + 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x6a, 0x12, 0x1b, 0x0a, 0x17, + 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x47, 0x4d, 0x10, 0x6b, 0x12, 0x2e, 0x0a, 0x2a, 0x43, 0x48, 0x41, + 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, + 0x44, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x6c, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x48, 0x41, + 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, + 0x44, 0x5f, 0x52, 0x4f, 0x55, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x53, 0x50, 0x52, + 0x49, 0x4e, 0x47, 0x10, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeHpReason_proto_rawDescOnce sync.Once + file_ChangeHpReason_proto_rawDescData = file_ChangeHpReason_proto_rawDesc +) + +func file_ChangeHpReason_proto_rawDescGZIP() []byte { + file_ChangeHpReason_proto_rawDescOnce.Do(func() { + file_ChangeHpReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeHpReason_proto_rawDescData) + }) + return file_ChangeHpReason_proto_rawDescData +} + +var file_ChangeHpReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ChangeHpReason_proto_goTypes = []interface{}{ + (ChangeHpReason)(0), // 0: ChangeHpReason +} +var file_ChangeHpReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeHpReason_proto_init() } +func file_ChangeHpReason_proto_init() { + if File_ChangeHpReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeHpReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeHpReason_proto_goTypes, + DependencyIndexes: file_ChangeHpReason_proto_depIdxs, + EnumInfos: file_ChangeHpReason_proto_enumTypes, + }.Build() + File_ChangeHpReason_proto = out.File + file_ChangeHpReason_proto_rawDesc = nil + file_ChangeHpReason_proto_goTypes = nil + file_ChangeHpReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeHpReason.proto b/gate-hk4e-api/proto/ChangeHpReason.proto new file mode 100644 index 00000000..eb4eb162 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeHpReason.proto @@ -0,0 +1,52 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ChangeHpReason { + CHANGE_HP_REASON_NONE = 0; + CHANGE_HP_REASON_SUB_AVATAR = 1; + CHANGE_HP_REASON_SUB_MONSTER = 2; + CHANGE_HP_REASON_SUB_GEAR = 3; + CHANGE_HP_REASON_SUB_ENVIR = 4; + CHANGE_HP_REASON_SUB_FALL = 5; + CHANGE_HP_REASON_SUB_DRAWN = 6; + CHANGE_HP_REASON_SUB_ABYSS = 7; + CHANGE_HP_REASON_SUB_ABILITY = 8; + CHANGE_HP_REASON_SUB_SUMMON = 9; + CHANGE_HP_REASON_SUB_SCRIPT = 10; + CHANGE_HP_REASON_SUB_GM = 11; + CHANGE_HP_REASON_SUB_KILL_SELF = 12; + CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13; + CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14; + CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15; + CHANGE_HP_REASON_SUB_REPLACE = 16; + CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17; + CHANGE_HP_REASON_Unk2700_CIKCDBOJGDK = 18; + CHANGE_HP_REASON_Unk2700_HEKLBLFBJJK = 19; + CHANGE_HP_REASON_BY_LUA = 51; + CHANGE_HP_REASON_ADD_ABILITY = 101; + CHANGE_HP_REASON_ADD_ITEM = 102; + CHANGE_HP_REASON_ADD_REVIVE = 103; + CHANGE_HP_REASON_ADD_UPGRADE = 104; + CHANGE_HP_REASON_ADD_STATUE = 105; + CHANGE_HP_REASON_ADD_BACKGROUND = 106; + CHANGE_HP_REASON_ADD_GM = 107; + CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108; + CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING = 109; +} diff --git a/gate-hk4e-api/proto/ChangeMailStarNotify.pb.go b/gate-hk4e-api/proto/ChangeMailStarNotify.pb.go new file mode 100644 index 00000000..e44f0dd8 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMailStarNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeMailStarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeMailStarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsStar bool `protobuf:"varint,14,opt,name=is_star,json=isStar,proto3" json:"is_star,omitempty"` + MailIdList []uint32 `protobuf:"varint,2,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` +} + +func (x *ChangeMailStarNotify) Reset() { + *x = ChangeMailStarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeMailStarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeMailStarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeMailStarNotify) ProtoMessage() {} + +func (x *ChangeMailStarNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChangeMailStarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeMailStarNotify.ProtoReflect.Descriptor instead. +func (*ChangeMailStarNotify) Descriptor() ([]byte, []int) { + return file_ChangeMailStarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeMailStarNotify) GetIsStar() bool { + if x != nil { + return x.IsStar + } + return false +} + +func (x *ChangeMailStarNotify) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +var File_ChangeMailStarNotify_proto protoreflect.FileDescriptor + +var file_ChangeMailStarNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x14, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, 0x74, 0x61, 0x72, 0x12, 0x20, 0x0a, + 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeMailStarNotify_proto_rawDescOnce sync.Once + file_ChangeMailStarNotify_proto_rawDescData = file_ChangeMailStarNotify_proto_rawDesc +) + +func file_ChangeMailStarNotify_proto_rawDescGZIP() []byte { + file_ChangeMailStarNotify_proto_rawDescOnce.Do(func() { + file_ChangeMailStarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeMailStarNotify_proto_rawDescData) + }) + return file_ChangeMailStarNotify_proto_rawDescData +} + +var file_ChangeMailStarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeMailStarNotify_proto_goTypes = []interface{}{ + (*ChangeMailStarNotify)(nil), // 0: ChangeMailStarNotify +} +var file_ChangeMailStarNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeMailStarNotify_proto_init() } +func file_ChangeMailStarNotify_proto_init() { + if File_ChangeMailStarNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeMailStarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeMailStarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeMailStarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeMailStarNotify_proto_goTypes, + DependencyIndexes: file_ChangeMailStarNotify_proto_depIdxs, + MessageInfos: file_ChangeMailStarNotify_proto_msgTypes, + }.Build() + File_ChangeMailStarNotify_proto = out.File + file_ChangeMailStarNotify_proto_rawDesc = nil + file_ChangeMailStarNotify_proto_goTypes = nil + file_ChangeMailStarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeMailStarNotify.proto b/gate-hk4e-api/proto/ChangeMailStarNotify.proto new file mode 100644 index 00000000..22f5e837 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMailStarNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeMailStarNotify { + bool is_star = 14; + repeated uint32 mail_id_list = 2; +} diff --git a/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.pb.go b/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.pb.go new file mode 100644 index 00000000..18bd6494 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeMpTeamAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1708 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeMpTeamAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurAvatarGuid uint64 `protobuf:"varint,4,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` + AvatarGuidList []uint64 `protobuf:"varint,8,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` +} + +func (x *ChangeMpTeamAvatarReq) Reset() { + *x = ChangeMpTeamAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeMpTeamAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeMpTeamAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeMpTeamAvatarReq) ProtoMessage() {} + +func (x *ChangeMpTeamAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_ChangeMpTeamAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeMpTeamAvatarReq.ProtoReflect.Descriptor instead. +func (*ChangeMpTeamAvatarReq) Descriptor() ([]byte, []int) { + return file_ChangeMpTeamAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeMpTeamAvatarReq) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +func (x *ChangeMpTeamAvatarReq) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +var File_ChangeMpTeamAvatarReq_proto protoreflect.FileDescriptor + +var file_ChangeMpTeamAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x70, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, + 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x70, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeMpTeamAvatarReq_proto_rawDescOnce sync.Once + file_ChangeMpTeamAvatarReq_proto_rawDescData = file_ChangeMpTeamAvatarReq_proto_rawDesc +) + +func file_ChangeMpTeamAvatarReq_proto_rawDescGZIP() []byte { + file_ChangeMpTeamAvatarReq_proto_rawDescOnce.Do(func() { + file_ChangeMpTeamAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeMpTeamAvatarReq_proto_rawDescData) + }) + return file_ChangeMpTeamAvatarReq_proto_rawDescData +} + +var file_ChangeMpTeamAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeMpTeamAvatarReq_proto_goTypes = []interface{}{ + (*ChangeMpTeamAvatarReq)(nil), // 0: ChangeMpTeamAvatarReq +} +var file_ChangeMpTeamAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeMpTeamAvatarReq_proto_init() } +func file_ChangeMpTeamAvatarReq_proto_init() { + if File_ChangeMpTeamAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeMpTeamAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeMpTeamAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeMpTeamAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeMpTeamAvatarReq_proto_goTypes, + DependencyIndexes: file_ChangeMpTeamAvatarReq_proto_depIdxs, + MessageInfos: file_ChangeMpTeamAvatarReq_proto_msgTypes, + }.Build() + File_ChangeMpTeamAvatarReq_proto = out.File + file_ChangeMpTeamAvatarReq_proto_rawDesc = nil + file_ChangeMpTeamAvatarReq_proto_goTypes = nil + file_ChangeMpTeamAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.proto b/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.proto new file mode 100644 index 00000000..4b1e7007 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMpTeamAvatarReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1708 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeMpTeamAvatarReq { + uint64 cur_avatar_guid = 4; + repeated uint64 avatar_guid_list = 8; +} diff --git a/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.pb.go b/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.pb.go new file mode 100644 index 00000000..0858d334 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeMpTeamAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1753 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChangeMpTeamAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarGuidList []uint64 `protobuf:"varint,3,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` + CurAvatarGuid uint64 `protobuf:"varint,13,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` +} + +func (x *ChangeMpTeamAvatarRsp) Reset() { + *x = ChangeMpTeamAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeMpTeamAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeMpTeamAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeMpTeamAvatarRsp) ProtoMessage() {} + +func (x *ChangeMpTeamAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChangeMpTeamAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeMpTeamAvatarRsp.ProtoReflect.Descriptor instead. +func (*ChangeMpTeamAvatarRsp) Descriptor() ([]byte, []int) { + return file_ChangeMpTeamAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeMpTeamAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChangeMpTeamAvatarRsp) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +func (x *ChangeMpTeamAvatarRsp) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +var File_ChangeMpTeamAvatarRsp_proto protoreflect.FileDescriptor + +var file_ChangeMpTeamAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x70, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, + 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x70, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, + 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeMpTeamAvatarRsp_proto_rawDescOnce sync.Once + file_ChangeMpTeamAvatarRsp_proto_rawDescData = file_ChangeMpTeamAvatarRsp_proto_rawDesc +) + +func file_ChangeMpTeamAvatarRsp_proto_rawDescGZIP() []byte { + file_ChangeMpTeamAvatarRsp_proto_rawDescOnce.Do(func() { + file_ChangeMpTeamAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeMpTeamAvatarRsp_proto_rawDescData) + }) + return file_ChangeMpTeamAvatarRsp_proto_rawDescData +} + +var file_ChangeMpTeamAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeMpTeamAvatarRsp_proto_goTypes = []interface{}{ + (*ChangeMpTeamAvatarRsp)(nil), // 0: ChangeMpTeamAvatarRsp +} +var file_ChangeMpTeamAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeMpTeamAvatarRsp_proto_init() } +func file_ChangeMpTeamAvatarRsp_proto_init() { + if File_ChangeMpTeamAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeMpTeamAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeMpTeamAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeMpTeamAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeMpTeamAvatarRsp_proto_goTypes, + DependencyIndexes: file_ChangeMpTeamAvatarRsp_proto_depIdxs, + MessageInfos: file_ChangeMpTeamAvatarRsp_proto_msgTypes, + }.Build() + File_ChangeMpTeamAvatarRsp_proto = out.File + file_ChangeMpTeamAvatarRsp_proto_rawDesc = nil + file_ChangeMpTeamAvatarRsp_proto_goTypes = nil + file_ChangeMpTeamAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.proto b/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.proto new file mode 100644 index 00000000..537139a4 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeMpTeamAvatarRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1753 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChangeMpTeamAvatarRsp { + int32 retcode = 4; + repeated uint64 avatar_guid_list = 3; + uint64 cur_avatar_guid = 13; +} diff --git a/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.pb.go b/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.pb.go new file mode 100644 index 00000000..d680cb46 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeServerGlobalValueNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 27 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeServerGlobalValueNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *ChangeServerGlobalValueNotify) Reset() { + *x = ChangeServerGlobalValueNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeServerGlobalValueNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeServerGlobalValueNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeServerGlobalValueNotify) ProtoMessage() {} + +func (x *ChangeServerGlobalValueNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChangeServerGlobalValueNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeServerGlobalValueNotify.ProtoReflect.Descriptor instead. +func (*ChangeServerGlobalValueNotify) Descriptor() ([]byte, []int) { + return file_ChangeServerGlobalValueNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeServerGlobalValueNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_ChangeServerGlobalValueNotify_proto protoreflect.FileDescriptor + +var file_ChangeServerGlobalValueNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeServerGlobalValueNotify_proto_rawDescOnce sync.Once + file_ChangeServerGlobalValueNotify_proto_rawDescData = file_ChangeServerGlobalValueNotify_proto_rawDesc +) + +func file_ChangeServerGlobalValueNotify_proto_rawDescGZIP() []byte { + file_ChangeServerGlobalValueNotify_proto_rawDescOnce.Do(func() { + file_ChangeServerGlobalValueNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeServerGlobalValueNotify_proto_rawDescData) + }) + return file_ChangeServerGlobalValueNotify_proto_rawDescData +} + +var file_ChangeServerGlobalValueNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeServerGlobalValueNotify_proto_goTypes = []interface{}{ + (*ChangeServerGlobalValueNotify)(nil), // 0: ChangeServerGlobalValueNotify +} +var file_ChangeServerGlobalValueNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeServerGlobalValueNotify_proto_init() } +func file_ChangeServerGlobalValueNotify_proto_init() { + if File_ChangeServerGlobalValueNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeServerGlobalValueNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeServerGlobalValueNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeServerGlobalValueNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeServerGlobalValueNotify_proto_goTypes, + DependencyIndexes: file_ChangeServerGlobalValueNotify_proto_depIdxs, + MessageInfos: file_ChangeServerGlobalValueNotify_proto_msgTypes, + }.Build() + File_ChangeServerGlobalValueNotify_proto = out.File + file_ChangeServerGlobalValueNotify_proto_rawDesc = nil + file_ChangeServerGlobalValueNotify_proto_goTypes = nil + file_ChangeServerGlobalValueNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.proto b/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.proto new file mode 100644 index 00000000..c275093b --- /dev/null +++ b/gate-hk4e-api/proto/ChangeServerGlobalValueNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 27 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeServerGlobalValueNotify { + uint32 entity_id = 4; +} diff --git a/gate-hk4e-api/proto/ChangeTeamNameReq.pb.go b/gate-hk4e-api/proto/ChangeTeamNameReq.pb.go new file mode 100644 index 00000000..d1b954be --- /dev/null +++ b/gate-hk4e-api/proto/ChangeTeamNameReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeTeamNameReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1603 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeTeamNameReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TeamId int32 `protobuf:"varint,8,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` + TeamName string `protobuf:"bytes,9,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` +} + +func (x *ChangeTeamNameReq) Reset() { + *x = ChangeTeamNameReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeTeamNameReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTeamNameReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTeamNameReq) ProtoMessage() {} + +func (x *ChangeTeamNameReq) ProtoReflect() protoreflect.Message { + mi := &file_ChangeTeamNameReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTeamNameReq.ProtoReflect.Descriptor instead. +func (*ChangeTeamNameReq) Descriptor() ([]byte, []int) { + return file_ChangeTeamNameReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeTeamNameReq) GetTeamId() int32 { + if x != nil { + return x.TeamId + } + return 0 +} + +func (x *ChangeTeamNameReq) GetTeamName() string { + if x != nil { + return x.TeamName + } + return "" +} + +var File_ChangeTeamNameReq_proto protoreflect.FileDescriptor + +var file_ChangeTeamNameReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x11, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x17, + 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, + 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeTeamNameReq_proto_rawDescOnce sync.Once + file_ChangeTeamNameReq_proto_rawDescData = file_ChangeTeamNameReq_proto_rawDesc +) + +func file_ChangeTeamNameReq_proto_rawDescGZIP() []byte { + file_ChangeTeamNameReq_proto_rawDescOnce.Do(func() { + file_ChangeTeamNameReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeTeamNameReq_proto_rawDescData) + }) + return file_ChangeTeamNameReq_proto_rawDescData +} + +var file_ChangeTeamNameReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeTeamNameReq_proto_goTypes = []interface{}{ + (*ChangeTeamNameReq)(nil), // 0: ChangeTeamNameReq +} +var file_ChangeTeamNameReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeTeamNameReq_proto_init() } +func file_ChangeTeamNameReq_proto_init() { + if File_ChangeTeamNameReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeTeamNameReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeTeamNameReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeTeamNameReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeTeamNameReq_proto_goTypes, + DependencyIndexes: file_ChangeTeamNameReq_proto_depIdxs, + MessageInfos: file_ChangeTeamNameReq_proto_msgTypes, + }.Build() + File_ChangeTeamNameReq_proto = out.File + file_ChangeTeamNameReq_proto_rawDesc = nil + file_ChangeTeamNameReq_proto_goTypes = nil + file_ChangeTeamNameReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeTeamNameReq.proto b/gate-hk4e-api/proto/ChangeTeamNameReq.proto new file mode 100644 index 00000000..456acd3e --- /dev/null +++ b/gate-hk4e-api/proto/ChangeTeamNameReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1603 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeTeamNameReq { + int32 team_id = 8; + string team_name = 9; +} diff --git a/gate-hk4e-api/proto/ChangeTeamNameRsp.pb.go b/gate-hk4e-api/proto/ChangeTeamNameRsp.pb.go new file mode 100644 index 00000000..b6fd8ade --- /dev/null +++ b/gate-hk4e-api/proto/ChangeTeamNameRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeTeamNameRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1666 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChangeTeamNameRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + TeamName string `protobuf:"bytes,2,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` + TeamId int32 `protobuf:"varint,4,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` +} + +func (x *ChangeTeamNameRsp) Reset() { + *x = ChangeTeamNameRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeTeamNameRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTeamNameRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTeamNameRsp) ProtoMessage() {} + +func (x *ChangeTeamNameRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChangeTeamNameRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTeamNameRsp.ProtoReflect.Descriptor instead. +func (*ChangeTeamNameRsp) Descriptor() ([]byte, []int) { + return file_ChangeTeamNameRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeTeamNameRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChangeTeamNameRsp) GetTeamName() string { + if x != nil { + return x.TeamName + } + return "" +} + +func (x *ChangeTeamNameRsp) GetTeamId() int32 { + if x != nil { + return x.TeamId + } + return 0 +} + +var File_ChangeTeamNameRsp_proto protoreflect.FileDescriptor + +var file_ChangeTeamNameRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x11, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, + 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChangeTeamNameRsp_proto_rawDescOnce sync.Once + file_ChangeTeamNameRsp_proto_rawDescData = file_ChangeTeamNameRsp_proto_rawDesc +) + +func file_ChangeTeamNameRsp_proto_rawDescGZIP() []byte { + file_ChangeTeamNameRsp_proto_rawDescOnce.Do(func() { + file_ChangeTeamNameRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeTeamNameRsp_proto_rawDescData) + }) + return file_ChangeTeamNameRsp_proto_rawDescData +} + +var file_ChangeTeamNameRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeTeamNameRsp_proto_goTypes = []interface{}{ + (*ChangeTeamNameRsp)(nil), // 0: ChangeTeamNameRsp +} +var file_ChangeTeamNameRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeTeamNameRsp_proto_init() } +func file_ChangeTeamNameRsp_proto_init() { + if File_ChangeTeamNameRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeTeamNameRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeTeamNameRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeTeamNameRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeTeamNameRsp_proto_goTypes, + DependencyIndexes: file_ChangeTeamNameRsp_proto_depIdxs, + MessageInfos: file_ChangeTeamNameRsp_proto_msgTypes, + }.Build() + File_ChangeTeamNameRsp_proto = out.File + file_ChangeTeamNameRsp_proto_rawDesc = nil + file_ChangeTeamNameRsp_proto_goTypes = nil + file_ChangeTeamNameRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeTeamNameRsp.proto b/gate-hk4e-api/proto/ChangeTeamNameRsp.proto new file mode 100644 index 00000000..ac16fb7e --- /dev/null +++ b/gate-hk4e-api/proto/ChangeTeamNameRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1666 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChangeTeamNameRsp { + int32 retcode = 11; + string team_name = 2; + int32 team_id = 4; +} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.pb.go b/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.pb.go new file mode 100644 index 00000000..0767f41f --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeWorldToSingleModeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3006 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeWorldToSingleModeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChangeWorldToSingleModeNotify) Reset() { + *x = ChangeWorldToSingleModeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeWorldToSingleModeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeWorldToSingleModeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeWorldToSingleModeNotify) ProtoMessage() {} + +func (x *ChangeWorldToSingleModeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChangeWorldToSingleModeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeWorldToSingleModeNotify.ProtoReflect.Descriptor instead. +func (*ChangeWorldToSingleModeNotify) Descriptor() ([]byte, []int) { + return file_ChangeWorldToSingleModeNotify_proto_rawDescGZIP(), []int{0} +} + +var File_ChangeWorldToSingleModeNotify_proto protoreflect.FileDescriptor + +var file_ChangeWorldToSingleModeNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, 0x53, + 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, + 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeWorldToSingleModeNotify_proto_rawDescOnce sync.Once + file_ChangeWorldToSingleModeNotify_proto_rawDescData = file_ChangeWorldToSingleModeNotify_proto_rawDesc +) + +func file_ChangeWorldToSingleModeNotify_proto_rawDescGZIP() []byte { + file_ChangeWorldToSingleModeNotify_proto_rawDescOnce.Do(func() { + file_ChangeWorldToSingleModeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeWorldToSingleModeNotify_proto_rawDescData) + }) + return file_ChangeWorldToSingleModeNotify_proto_rawDescData +} + +var file_ChangeWorldToSingleModeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeWorldToSingleModeNotify_proto_goTypes = []interface{}{ + (*ChangeWorldToSingleModeNotify)(nil), // 0: ChangeWorldToSingleModeNotify +} +var file_ChangeWorldToSingleModeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeWorldToSingleModeNotify_proto_init() } +func file_ChangeWorldToSingleModeNotify_proto_init() { + if File_ChangeWorldToSingleModeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeWorldToSingleModeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeWorldToSingleModeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeWorldToSingleModeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeWorldToSingleModeNotify_proto_goTypes, + DependencyIndexes: file_ChangeWorldToSingleModeNotify_proto_depIdxs, + MessageInfos: file_ChangeWorldToSingleModeNotify_proto_msgTypes, + }.Build() + File_ChangeWorldToSingleModeNotify_proto = out.File + file_ChangeWorldToSingleModeNotify_proto_rawDesc = nil + file_ChangeWorldToSingleModeNotify_proto_goTypes = nil + file_ChangeWorldToSingleModeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.proto b/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.proto new file mode 100644 index 00000000..dbc86551 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3006 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeWorldToSingleModeNotify {} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.pb.go b/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.pb.go new file mode 100644 index 00000000..425e4243 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeWorldToSingleModeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3066 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChangeWorldToSingleModeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChangeWorldToSingleModeReq) Reset() { + *x = ChangeWorldToSingleModeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeWorldToSingleModeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeWorldToSingleModeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeWorldToSingleModeReq) ProtoMessage() {} + +func (x *ChangeWorldToSingleModeReq) ProtoReflect() protoreflect.Message { + mi := &file_ChangeWorldToSingleModeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeWorldToSingleModeReq.ProtoReflect.Descriptor instead. +func (*ChangeWorldToSingleModeReq) Descriptor() ([]byte, []int) { + return file_ChangeWorldToSingleModeReq_proto_rawDescGZIP(), []int{0} +} + +var File_ChangeWorldToSingleModeReq_proto protoreflect.FileDescriptor + +var file_ChangeWorldToSingleModeReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, 0x53, + 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x54, 0x6f, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeWorldToSingleModeReq_proto_rawDescOnce sync.Once + file_ChangeWorldToSingleModeReq_proto_rawDescData = file_ChangeWorldToSingleModeReq_proto_rawDesc +) + +func file_ChangeWorldToSingleModeReq_proto_rawDescGZIP() []byte { + file_ChangeWorldToSingleModeReq_proto_rawDescOnce.Do(func() { + file_ChangeWorldToSingleModeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeWorldToSingleModeReq_proto_rawDescData) + }) + return file_ChangeWorldToSingleModeReq_proto_rawDescData +} + +var file_ChangeWorldToSingleModeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeWorldToSingleModeReq_proto_goTypes = []interface{}{ + (*ChangeWorldToSingleModeReq)(nil), // 0: ChangeWorldToSingleModeReq +} +var file_ChangeWorldToSingleModeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeWorldToSingleModeReq_proto_init() } +func file_ChangeWorldToSingleModeReq_proto_init() { + if File_ChangeWorldToSingleModeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeWorldToSingleModeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeWorldToSingleModeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeWorldToSingleModeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeWorldToSingleModeReq_proto_goTypes, + DependencyIndexes: file_ChangeWorldToSingleModeReq_proto_depIdxs, + MessageInfos: file_ChangeWorldToSingleModeReq_proto_msgTypes, + }.Build() + File_ChangeWorldToSingleModeReq_proto = out.File + file_ChangeWorldToSingleModeReq_proto_rawDesc = nil + file_ChangeWorldToSingleModeReq_proto_goTypes = nil + file_ChangeWorldToSingleModeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.proto b/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.proto new file mode 100644 index 00000000..41fad72b --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3066 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChangeWorldToSingleModeReq {} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.pb.go b/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.pb.go new file mode 100644 index 00000000..d1e3976a --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChangeWorldToSingleModeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3282 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChangeWorldToSingleModeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuitMpValidTime uint32 `protobuf:"varint,15,opt,name=quit_mp_valid_time,json=quitMpValidTime,proto3" json:"quit_mp_valid_time,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChangeWorldToSingleModeRsp) Reset() { + *x = ChangeWorldToSingleModeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChangeWorldToSingleModeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeWorldToSingleModeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeWorldToSingleModeRsp) ProtoMessage() {} + +func (x *ChangeWorldToSingleModeRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChangeWorldToSingleModeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeWorldToSingleModeRsp.ProtoReflect.Descriptor instead. +func (*ChangeWorldToSingleModeRsp) Descriptor() ([]byte, []int) { + return file_ChangeWorldToSingleModeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChangeWorldToSingleModeRsp) GetQuitMpValidTime() uint32 { + if x != nil { + return x.QuitMpValidTime + } + return 0 +} + +func (x *ChangeWorldToSingleModeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChangeWorldToSingleModeRsp_proto protoreflect.FileDescriptor + +var file_ChangeWorldToSingleModeRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, 0x53, + 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x54, 0x6f, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x2b, 0x0a, 0x12, 0x71, 0x75, 0x69, 0x74, 0x5f, 0x6d, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x71, 0x75, + 0x69, 0x74, 0x4d, 0x70, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChangeWorldToSingleModeRsp_proto_rawDescOnce sync.Once + file_ChangeWorldToSingleModeRsp_proto_rawDescData = file_ChangeWorldToSingleModeRsp_proto_rawDesc +) + +func file_ChangeWorldToSingleModeRsp_proto_rawDescGZIP() []byte { + file_ChangeWorldToSingleModeRsp_proto_rawDescOnce.Do(func() { + file_ChangeWorldToSingleModeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChangeWorldToSingleModeRsp_proto_rawDescData) + }) + return file_ChangeWorldToSingleModeRsp_proto_rawDescData +} + +var file_ChangeWorldToSingleModeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChangeWorldToSingleModeRsp_proto_goTypes = []interface{}{ + (*ChangeWorldToSingleModeRsp)(nil), // 0: ChangeWorldToSingleModeRsp +} +var file_ChangeWorldToSingleModeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChangeWorldToSingleModeRsp_proto_init() } +func file_ChangeWorldToSingleModeRsp_proto_init() { + if File_ChangeWorldToSingleModeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChangeWorldToSingleModeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeWorldToSingleModeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChangeWorldToSingleModeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChangeWorldToSingleModeRsp_proto_goTypes, + DependencyIndexes: file_ChangeWorldToSingleModeRsp_proto_depIdxs, + MessageInfos: file_ChangeWorldToSingleModeRsp_proto_msgTypes, + }.Build() + File_ChangeWorldToSingleModeRsp_proto = out.File + file_ChangeWorldToSingleModeRsp_proto_rawDesc = nil + file_ChangeWorldToSingleModeRsp_proto_goTypes = nil + file_ChangeWorldToSingleModeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.proto b/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.proto new file mode 100644 index 00000000..9794fc73 --- /dev/null +++ b/gate-hk4e-api/proto/ChangeWorldToSingleModeRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3282 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChangeWorldToSingleModeRsp { + uint32 quit_mp_valid_time = 15; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.pb.go new file mode 100644 index 00000000..8f82c9b4 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuffInfo *ChannelerSlabBuffInfo `protobuf:"bytes,1,opt,name=buff_info,json=buffInfo,proto3" json:"buff_info,omitempty"` + LoopDungeonStageInfo *ChannelerSlabLoopDungeonStageInfo `protobuf:"bytes,7,opt,name=loop_dungeon_stage_info,json=loopDungeonStageInfo,proto3" json:"loop_dungeon_stage_info,omitempty"` + StageList []*ChannelerSlabChallengeStage `protobuf:"bytes,15,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` + PlayEndTime uint32 `protobuf:"varint,3,opt,name=play_end_time,json=playEndTime,proto3" json:"play_end_time,omitempty"` +} + +func (x *ChannelerSlabActivityDetailInfo) Reset() { + *x = ChannelerSlabActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabActivityDetailInfo) ProtoMessage() {} + +func (x *ChannelerSlabActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabActivityDetailInfo) GetBuffInfo() *ChannelerSlabBuffInfo { + if x != nil { + return x.BuffInfo + } + return nil +} + +func (x *ChannelerSlabActivityDetailInfo) GetLoopDungeonStageInfo() *ChannelerSlabLoopDungeonStageInfo { + if x != nil { + return x.LoopDungeonStageInfo + } + return nil +} + +func (x *ChannelerSlabActivityDetailInfo) GetStageList() []*ChannelerSlabChallengeStage { + if x != nil { + return x.StageList + } + return nil +} + +func (x *ChannelerSlabActivityDetailInfo) GetPlayEndTime() uint32 { + if x != nil { + return x.PlayEndTime + } + return 0 +} + +var File_ChannelerSlabActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, + 0x6c, 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x92, 0x02, 0x0a, 0x1f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, + 0x61, 0x62, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x09, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x08, 0x62, 0x75, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x17, 0x6c, 0x6f, 0x6f, + 0x70, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, + 0x6c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x45, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabActivityDetailInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabActivityDetailInfo_proto_rawDescData = file_ChannelerSlabActivityDetailInfo_proto_rawDesc +) + +func file_ChannelerSlabActivityDetailInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabActivityDetailInfo_proto_rawDescData) + }) + return file_ChannelerSlabActivityDetailInfo_proto_rawDescData +} + +var file_ChannelerSlabActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabActivityDetailInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabActivityDetailInfo)(nil), // 0: ChannelerSlabActivityDetailInfo + (*ChannelerSlabBuffInfo)(nil), // 1: ChannelerSlabBuffInfo + (*ChannelerSlabLoopDungeonStageInfo)(nil), // 2: ChannelerSlabLoopDungeonStageInfo + (*ChannelerSlabChallengeStage)(nil), // 3: ChannelerSlabChallengeStage +} +var file_ChannelerSlabActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabActivityDetailInfo.buff_info:type_name -> ChannelerSlabBuffInfo + 2, // 1: ChannelerSlabActivityDetailInfo.loop_dungeon_stage_info:type_name -> ChannelerSlabLoopDungeonStageInfo + 3, // 2: ChannelerSlabActivityDetailInfo.stage_list:type_name -> ChannelerSlabChallengeStage + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabActivityDetailInfo_proto_init() } +func file_ChannelerSlabActivityDetailInfo_proto_init() { + if File_ChannelerSlabActivityDetailInfo_proto != nil { + return + } + file_ChannelerSlabBuffInfo_proto_init() + file_ChannelerSlabChallengeStage_proto_init() + file_ChannelerSlabLoopDungeonStageInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabActivityDetailInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabActivityDetailInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabActivityDetailInfo_proto = out.File + file_ChannelerSlabActivityDetailInfo_proto_rawDesc = nil + file_ChannelerSlabActivityDetailInfo_proto_goTypes = nil + file_ChannelerSlabActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.proto b/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.proto new file mode 100644 index 00000000..62c57773 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabActivityDetailInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabBuffInfo.proto"; +import "ChannelerSlabChallengeStage.proto"; +import "ChannelerSlabLoopDungeonStageInfo.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabActivityDetailInfo { + ChannelerSlabBuffInfo buff_info = 1; + ChannelerSlabLoopDungeonStageInfo loop_dungeon_stage_info = 7; + repeated ChannelerSlabChallengeStage stage_list = 15; + uint32 play_end_time = 3; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabAssistInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabAssistInfo.pb.go new file mode 100644 index 00000000..59b4c1a9 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabAssistInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabAssistInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabAssistInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty"` + AvatarLevel uint32 `protobuf:"varint,12,opt,name=avatar_level,json=avatarLevel,proto3" json:"avatar_level,omitempty"` + AvatarId uint32 `protobuf:"varint,6,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *ChannelerSlabAssistInfo) Reset() { + *x = ChannelerSlabAssistInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabAssistInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabAssistInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabAssistInfo) ProtoMessage() {} + +func (x *ChannelerSlabAssistInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabAssistInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabAssistInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabAssistInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabAssistInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabAssistInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *ChannelerSlabAssistInfo) GetAvatarLevel() uint32 { + if x != nil { + return x.AvatarLevel + } + return 0 +} + +func (x *ChannelerSlabAssistInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_ChannelerSlabAssistInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabAssistInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, + 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6b, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, + 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabAssistInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabAssistInfo_proto_rawDescData = file_ChannelerSlabAssistInfo_proto_rawDesc +) + +func file_ChannelerSlabAssistInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabAssistInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabAssistInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabAssistInfo_proto_rawDescData) + }) + return file_ChannelerSlabAssistInfo_proto_rawDescData +} + +var file_ChannelerSlabAssistInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabAssistInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabAssistInfo)(nil), // 0: ChannelerSlabAssistInfo +} +var file_ChannelerSlabAssistInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabAssistInfo_proto_init() } +func file_ChannelerSlabAssistInfo_proto_init() { + if File_ChannelerSlabAssistInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabAssistInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabAssistInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabAssistInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabAssistInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabAssistInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabAssistInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabAssistInfo_proto = out.File + file_ChannelerSlabAssistInfo_proto_rawDesc = nil + file_ChannelerSlabAssistInfo_proto_goTypes = nil + file_ChannelerSlabAssistInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabAssistInfo.proto b/gate-hk4e-api/proto/ChannelerSlabAssistInfo.proto new file mode 100644 index 00000000..d6225a48 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabAssistInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChannelerSlabAssistInfo { + uint32 uid = 10; + uint32 avatar_level = 12; + uint32 avatar_id = 6; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabBuffInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabBuffInfo.pb.go new file mode 100644 index 00000000..6027ec40 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabBuffInfo.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabBuffInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabBuffInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpBuffSchemeInfo *ChannelerSlabBuffSchemeInfo `protobuf:"bytes,6,opt,name=mp_buff_scheme_info,json=mpBuffSchemeInfo,proto3" json:"mp_buff_scheme_info,omitempty"` + BuffIdList []uint32 `protobuf:"varint,8,rep,packed,name=buff_id_list,json=buffIdList,proto3" json:"buff_id_list,omitempty"` + SingleBuffSchemeInfo *ChannelerSlabBuffSchemeInfo `protobuf:"bytes,7,opt,name=single_buff_scheme_info,json=singleBuffSchemeInfo,proto3" json:"single_buff_scheme_info,omitempty"` + AssistInfoList []*ChannelerSlabAssistInfo `protobuf:"bytes,15,rep,name=assist_info_list,json=assistInfoList,proto3" json:"assist_info_list,omitempty"` +} + +func (x *ChannelerSlabBuffInfo) Reset() { + *x = ChannelerSlabBuffInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabBuffInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabBuffInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabBuffInfo) ProtoMessage() {} + +func (x *ChannelerSlabBuffInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabBuffInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabBuffInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabBuffInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabBuffInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabBuffInfo) GetMpBuffSchemeInfo() *ChannelerSlabBuffSchemeInfo { + if x != nil { + return x.MpBuffSchemeInfo + } + return nil +} + +func (x *ChannelerSlabBuffInfo) GetBuffIdList() []uint32 { + if x != nil { + return x.BuffIdList + } + return nil +} + +func (x *ChannelerSlabBuffInfo) GetSingleBuffSchemeInfo() *ChannelerSlabBuffSchemeInfo { + if x != nil { + return x.SingleBuffSchemeInfo + } + return nil +} + +func (x *ChannelerSlabBuffInfo) GetAssistInfoList() []*ChannelerSlabAssistInfo { + if x != nil { + return x.AssistInfoList + } + return nil +} + +var File_ChannelerSlabBuffInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabBuffInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, + 0x75, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x73, 0x73, 0x69, + 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x9f, 0x02, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x62, 0x42, 0x75, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x13, 0x6d, 0x70, 0x5f, + 0x62, 0x75, 0x66, 0x66, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x6d, 0x70, 0x42, 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, + 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x17, 0x73, 0x69, 0x6e, 0x67, + 0x6c, 0x65, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, + 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, + 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabBuffInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabBuffInfo_proto_rawDescData = file_ChannelerSlabBuffInfo_proto_rawDesc +) + +func file_ChannelerSlabBuffInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabBuffInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabBuffInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabBuffInfo_proto_rawDescData) + }) + return file_ChannelerSlabBuffInfo_proto_rawDescData +} + +var file_ChannelerSlabBuffInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabBuffInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabBuffInfo)(nil), // 0: ChannelerSlabBuffInfo + (*ChannelerSlabBuffSchemeInfo)(nil), // 1: ChannelerSlabBuffSchemeInfo + (*ChannelerSlabAssistInfo)(nil), // 2: ChannelerSlabAssistInfo +} +var file_ChannelerSlabBuffInfo_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabBuffInfo.mp_buff_scheme_info:type_name -> ChannelerSlabBuffSchemeInfo + 1, // 1: ChannelerSlabBuffInfo.single_buff_scheme_info:type_name -> ChannelerSlabBuffSchemeInfo + 2, // 2: ChannelerSlabBuffInfo.assist_info_list:type_name -> ChannelerSlabAssistInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabBuffInfo_proto_init() } +func file_ChannelerSlabBuffInfo_proto_init() { + if File_ChannelerSlabBuffInfo_proto != nil { + return + } + file_ChannelerSlabAssistInfo_proto_init() + file_ChannelerSlabBuffSchemeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabBuffInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabBuffInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabBuffInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabBuffInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabBuffInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabBuffInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabBuffInfo_proto = out.File + file_ChannelerSlabBuffInfo_proto_rawDesc = nil + file_ChannelerSlabBuffInfo_proto_goTypes = nil + file_ChannelerSlabBuffInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabBuffInfo.proto b/gate-hk4e-api/proto/ChannelerSlabBuffInfo.proto new file mode 100644 index 00000000..d909d556 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabBuffInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabAssistInfo.proto"; +import "ChannelerSlabBuffSchemeInfo.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabBuffInfo { + ChannelerSlabBuffSchemeInfo mp_buff_scheme_info = 6; + repeated uint32 buff_id_list = 8; + ChannelerSlabBuffSchemeInfo single_buff_scheme_info = 7; + repeated ChannelerSlabAssistInfo assist_info_list = 15; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.pb.go new file mode 100644 index 00000000..33e5f02a --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabBuffSchemeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabBuffSchemeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlotMap map[uint32]uint32 `protobuf:"bytes,9,rep,name=slot_map,json=slotMap,proto3" json:"slot_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TotalEnergy uint32 `protobuf:"varint,13,opt,name=total_energy,json=totalEnergy,proto3" json:"total_energy,omitempty"` + SelfEnergy uint32 `protobuf:"varint,15,opt,name=self_energy,json=selfEnergy,proto3" json:"self_energy,omitempty"` +} + +func (x *ChannelerSlabBuffSchemeInfo) Reset() { + *x = ChannelerSlabBuffSchemeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabBuffSchemeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabBuffSchemeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabBuffSchemeInfo) ProtoMessage() {} + +func (x *ChannelerSlabBuffSchemeInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabBuffSchemeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabBuffSchemeInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabBuffSchemeInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabBuffSchemeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabBuffSchemeInfo) GetSlotMap() map[uint32]uint32 { + if x != nil { + return x.SlotMap + } + return nil +} + +func (x *ChannelerSlabBuffSchemeInfo) GetTotalEnergy() uint32 { + if x != nil { + return x.TotalEnergy + } + return 0 +} + +func (x *ChannelerSlabBuffSchemeInfo) GetSelfEnergy() uint32 { + if x != nil { + return x.SelfEnergy + } + return 0 +} + +var File_ChannelerSlabBuffSchemeInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabBuffSchemeInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, + 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x42, 0x75, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x66, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x1a, 0x3a, 0x0a, + 0x0c, 0x53, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabBuffSchemeInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabBuffSchemeInfo_proto_rawDescData = file_ChannelerSlabBuffSchemeInfo_proto_rawDesc +) + +func file_ChannelerSlabBuffSchemeInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabBuffSchemeInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabBuffSchemeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabBuffSchemeInfo_proto_rawDescData) + }) + return file_ChannelerSlabBuffSchemeInfo_proto_rawDescData +} + +var file_ChannelerSlabBuffSchemeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ChannelerSlabBuffSchemeInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabBuffSchemeInfo)(nil), // 0: ChannelerSlabBuffSchemeInfo + nil, // 1: ChannelerSlabBuffSchemeInfo.SlotMapEntry +} +var file_ChannelerSlabBuffSchemeInfo_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabBuffSchemeInfo.slot_map:type_name -> ChannelerSlabBuffSchemeInfo.SlotMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabBuffSchemeInfo_proto_init() } +func file_ChannelerSlabBuffSchemeInfo_proto_init() { + if File_ChannelerSlabBuffSchemeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabBuffSchemeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabBuffSchemeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabBuffSchemeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabBuffSchemeInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabBuffSchemeInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabBuffSchemeInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabBuffSchemeInfo_proto = out.File + file_ChannelerSlabBuffSchemeInfo_proto_rawDesc = nil + file_ChannelerSlabBuffSchemeInfo_proto_goTypes = nil + file_ChannelerSlabBuffSchemeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.proto b/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.proto new file mode 100644 index 00000000..79198388 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabBuffSchemeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChannelerSlabBuffSchemeInfo { + map slot_map = 9; + uint32 total_energy = 13; + uint32 self_energy = 15; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabCamp.pb.go b/gate-hk4e-api/proto/ChannelerSlabCamp.pb.go new file mode 100644 index 00000000..038a0b14 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCamp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabCamp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabCamp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,11,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Pos *Vector `protobuf:"bytes,8,opt,name=pos,proto3" json:"pos,omitempty"` + BuffNum uint32 `protobuf:"varint,7,opt,name=buff_num,json=buffNum,proto3" json:"buff_num,omitempty"` + GroupId uint32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *ChannelerSlabCamp) Reset() { + *x = ChannelerSlabCamp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabCamp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabCamp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabCamp) ProtoMessage() {} + +func (x *ChannelerSlabCamp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabCamp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabCamp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabCamp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabCamp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabCamp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *ChannelerSlabCamp) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *ChannelerSlabCamp) GetBuffNum() uint32 { + if x != nil { + return x.BuffNum + } + return 0 +} + +func (x *ChannelerSlabCamp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_ChannelerSlabCamp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabCamp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, + 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x75, 0x66, 0x66, 0x4e, 0x75, 0x6d, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabCamp_proto_rawDescOnce sync.Once + file_ChannelerSlabCamp_proto_rawDescData = file_ChannelerSlabCamp_proto_rawDesc +) + +func file_ChannelerSlabCamp_proto_rawDescGZIP() []byte { + file_ChannelerSlabCamp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabCamp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabCamp_proto_rawDescData) + }) + return file_ChannelerSlabCamp_proto_rawDescData +} + +var file_ChannelerSlabCamp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabCamp_proto_goTypes = []interface{}{ + (*ChannelerSlabCamp)(nil), // 0: ChannelerSlabCamp + (*Vector)(nil), // 1: Vector +} +var file_ChannelerSlabCamp_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabCamp.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabCamp_proto_init() } +func file_ChannelerSlabCamp_proto_init() { + if File_ChannelerSlabCamp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabCamp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabCamp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabCamp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabCamp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabCamp_proto_depIdxs, + MessageInfos: file_ChannelerSlabCamp_proto_msgTypes, + }.Build() + File_ChannelerSlabCamp_proto = out.File + file_ChannelerSlabCamp_proto_rawDesc = nil + file_ChannelerSlabCamp_proto_goTypes = nil + file_ChannelerSlabCamp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabCamp.proto b/gate-hk4e-api/proto/ChannelerSlabCamp.proto new file mode 100644 index 00000000..b020f1ee --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCamp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabCamp { + uint32 reward_id = 11; + Vector pos = 8; + uint32 buff_num = 7; + uint32 group_id = 3; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabChallenge.pb.go b/gate-hk4e-api/proto/ChannelerSlabChallenge.pb.go new file mode 100644 index 00000000..95d8d6b5 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabChallenge.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabChallenge.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabChallenge struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActiveCampIndex uint32 `protobuf:"varint,5,opt,name=active_camp_index,json=activeCampIndex,proto3" json:"active_camp_index,omitempty"` + CampList []*ChannelerSlabCamp `protobuf:"bytes,14,rep,name=camp_list,json=campList,proto3" json:"camp_list,omitempty"` +} + +func (x *ChannelerSlabChallenge) Reset() { + *x = ChannelerSlabChallenge{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabChallenge_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabChallenge) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabChallenge) ProtoMessage() {} + +func (x *ChannelerSlabChallenge) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabChallenge_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabChallenge.ProtoReflect.Descriptor instead. +func (*ChannelerSlabChallenge) Descriptor() ([]byte, []int) { + return file_ChannelerSlabChallenge_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabChallenge) GetActiveCampIndex() uint32 { + if x != nil { + return x.ActiveCampIndex + } + return 0 +} + +func (x *ChannelerSlabChallenge) GetCampList() []*ChannelerSlabCamp { + if x != nil { + return x.CampList + } + return nil +} + +var File_ChannelerSlabChallenge_proto protoreflect.FileDescriptor + +var file_ChannelerSlabChallenge_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, + 0x09, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, + 0x43, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x63, 0x61, 0x6d, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChannelerSlabChallenge_proto_rawDescOnce sync.Once + file_ChannelerSlabChallenge_proto_rawDescData = file_ChannelerSlabChallenge_proto_rawDesc +) + +func file_ChannelerSlabChallenge_proto_rawDescGZIP() []byte { + file_ChannelerSlabChallenge_proto_rawDescOnce.Do(func() { + file_ChannelerSlabChallenge_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabChallenge_proto_rawDescData) + }) + return file_ChannelerSlabChallenge_proto_rawDescData +} + +var file_ChannelerSlabChallenge_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabChallenge_proto_goTypes = []interface{}{ + (*ChannelerSlabChallenge)(nil), // 0: ChannelerSlabChallenge + (*ChannelerSlabCamp)(nil), // 1: ChannelerSlabCamp +} +var file_ChannelerSlabChallenge_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabChallenge.camp_list:type_name -> ChannelerSlabCamp + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabChallenge_proto_init() } +func file_ChannelerSlabChallenge_proto_init() { + if File_ChannelerSlabChallenge_proto != nil { + return + } + file_ChannelerSlabCamp_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabChallenge_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabChallenge); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabChallenge_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabChallenge_proto_goTypes, + DependencyIndexes: file_ChannelerSlabChallenge_proto_depIdxs, + MessageInfos: file_ChannelerSlabChallenge_proto_msgTypes, + }.Build() + File_ChannelerSlabChallenge_proto = out.File + file_ChannelerSlabChallenge_proto_rawDesc = nil + file_ChannelerSlabChallenge_proto_goTypes = nil + file_ChannelerSlabChallenge_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabChallenge.proto b/gate-hk4e-api/proto/ChannelerSlabChallenge.proto new file mode 100644 index 00000000..3283023e --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabChallenge.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabCamp.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabChallenge { + uint32 active_camp_index = 5; + repeated ChannelerSlabCamp camp_list = 14; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabChallengeStage.pb.go b/gate-hk4e-api/proto/ChannelerSlabChallengeStage.pb.go new file mode 100644 index 00000000..9a145dd2 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabChallengeStage.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabChallengeStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabChallengeStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,3,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + ChallengeList []*ChannelerSlabChallenge `protobuf:"bytes,14,rep,name=challenge_list,json=challengeList,proto3" json:"challenge_list,omitempty"` + IsOpen bool `protobuf:"varint,7,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + DungeonInfo *ChannelerSlabOneofDungeon `protobuf:"bytes,13,opt,name=dungeon_info,json=dungeonInfo,proto3" json:"dungeon_info,omitempty"` +} + +func (x *ChannelerSlabChallengeStage) Reset() { + *x = ChannelerSlabChallengeStage{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabChallengeStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabChallengeStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabChallengeStage) ProtoMessage() {} + +func (x *ChannelerSlabChallengeStage) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabChallengeStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabChallengeStage.ProtoReflect.Descriptor instead. +func (*ChannelerSlabChallengeStage) Descriptor() ([]byte, []int) { + return file_ChannelerSlabChallengeStage_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabChallengeStage) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *ChannelerSlabChallengeStage) GetChallengeList() []*ChannelerSlabChallenge { + if x != nil { + return x.ChallengeList + } + return nil +} + +func (x *ChannelerSlabChallengeStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *ChannelerSlabChallengeStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *ChannelerSlabChallengeStage) GetDungeonInfo() *ChannelerSlabOneofDungeon { + if x != nil { + return x.DungeonInfo + } + return nil +} + +var File_ChannelerSlabChallengeStage_proto protoreflect.FileDescriptor + +var file_ChannelerSlabChallengeStage_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, + 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, + 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x3e, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabChallengeStage_proto_rawDescOnce sync.Once + file_ChannelerSlabChallengeStage_proto_rawDescData = file_ChannelerSlabChallengeStage_proto_rawDesc +) + +func file_ChannelerSlabChallengeStage_proto_rawDescGZIP() []byte { + file_ChannelerSlabChallengeStage_proto_rawDescOnce.Do(func() { + file_ChannelerSlabChallengeStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabChallengeStage_proto_rawDescData) + }) + return file_ChannelerSlabChallengeStage_proto_rawDescData +} + +var file_ChannelerSlabChallengeStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabChallengeStage_proto_goTypes = []interface{}{ + (*ChannelerSlabChallengeStage)(nil), // 0: ChannelerSlabChallengeStage + (*ChannelerSlabChallenge)(nil), // 1: ChannelerSlabChallenge + (*ChannelerSlabOneofDungeon)(nil), // 2: ChannelerSlabOneofDungeon +} +var file_ChannelerSlabChallengeStage_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabChallengeStage.challenge_list:type_name -> ChannelerSlabChallenge + 2, // 1: ChannelerSlabChallengeStage.dungeon_info:type_name -> ChannelerSlabOneofDungeon + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabChallengeStage_proto_init() } +func file_ChannelerSlabChallengeStage_proto_init() { + if File_ChannelerSlabChallengeStage_proto != nil { + return + } + file_ChannelerSlabChallenge_proto_init() + file_ChannelerSlabOneofDungeon_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabChallengeStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabChallengeStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabChallengeStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabChallengeStage_proto_goTypes, + DependencyIndexes: file_ChannelerSlabChallengeStage_proto_depIdxs, + MessageInfos: file_ChannelerSlabChallengeStage_proto_msgTypes, + }.Build() + File_ChannelerSlabChallengeStage_proto = out.File + file_ChannelerSlabChallengeStage_proto_rawDesc = nil + file_ChannelerSlabChallengeStage_proto_goTypes = nil + file_ChannelerSlabChallengeStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabChallengeStage.proto b/gate-hk4e-api/proto/ChannelerSlabChallengeStage.proto new file mode 100644 index 00000000..1b3335f8 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabChallengeStage.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabChallenge.proto"; +import "ChannelerSlabOneofDungeon.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabChallengeStage { + uint32 open_time = 3; + repeated ChannelerSlabChallenge challenge_list = 14; + bool is_open = 7; + uint32 stage_id = 9; + ChannelerSlabOneofDungeon dungeon_info = 13; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.pb.go new file mode 100644 index 00000000..7c2a86c8 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.pb.go @@ -0,0 +1,154 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabCheckEnterLoopDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8745 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabCheckEnterLoopDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChannelerSlabCheckEnterLoopDungeonReq) Reset() { + *x = ChannelerSlabCheckEnterLoopDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabCheckEnterLoopDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabCheckEnterLoopDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabCheckEnterLoopDungeonReq) ProtoMessage() {} + +func (x *ChannelerSlabCheckEnterLoopDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabCheckEnterLoopDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabCheckEnterLoopDungeonReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabCheckEnterLoopDungeonReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescGZIP(), []int{0} +} + +var File_ChannelerSlabCheckEnterLoopDungeonReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, + 0x25, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescOnce sync.Once + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescData = file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDesc +) + +func file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescData) + }) + return file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDescData +} + +var file_ChannelerSlabCheckEnterLoopDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabCheckEnterLoopDungeonReq_proto_goTypes = []interface{}{ + (*ChannelerSlabCheckEnterLoopDungeonReq)(nil), // 0: ChannelerSlabCheckEnterLoopDungeonReq +} +var file_ChannelerSlabCheckEnterLoopDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabCheckEnterLoopDungeonReq_proto_init() } +func file_ChannelerSlabCheckEnterLoopDungeonReq_proto_init() { + if File_ChannelerSlabCheckEnterLoopDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabCheckEnterLoopDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabCheckEnterLoopDungeonReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabCheckEnterLoopDungeonReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabCheckEnterLoopDungeonReq_proto_msgTypes, + }.Build() + File_ChannelerSlabCheckEnterLoopDungeonReq_proto = out.File + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_rawDesc = nil + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_goTypes = nil + file_ChannelerSlabCheckEnterLoopDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.proto b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.proto new file mode 100644 index 00000000..d7c2d9c2 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8745 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabCheckEnterLoopDungeonReq {} diff --git a/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.pb.go new file mode 100644 index 00000000..e9903711 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabCheckEnterLoopDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8452 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabCheckEnterLoopDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChannelerSlabCheckEnterLoopDungeonRsp) Reset() { + *x = ChannelerSlabCheckEnterLoopDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabCheckEnterLoopDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabCheckEnterLoopDungeonRsp) ProtoMessage() {} + +func (x *ChannelerSlabCheckEnterLoopDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabCheckEnterLoopDungeonRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabCheckEnterLoopDungeonRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabCheckEnterLoopDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChannelerSlabCheckEnterLoopDungeonRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, + 0x25, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescData = file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDesc +) + +func file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescData) + }) + return file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDescData +} + +var file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabCheckEnterLoopDungeonRsp)(nil), // 0: ChannelerSlabCheckEnterLoopDungeonRsp +} +var file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_init() } +func file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_init() { + if File_ChannelerSlabCheckEnterLoopDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabCheckEnterLoopDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabCheckEnterLoopDungeonRsp_proto = out.File + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_rawDesc = nil + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_goTypes = nil + file_ChannelerSlabCheckEnterLoopDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.proto b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.proto new file mode 100644 index 00000000..d5194233 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabCheckEnterLoopDungeonRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8452 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabCheckEnterLoopDungeonRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.pb.go new file mode 100644 index 00000000..073583a1 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabEnterLoopDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8869 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabEnterLoopDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,9,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + DungeonIndex uint32 `protobuf:"varint,10,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,5,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + DifficultyId uint32 `protobuf:"varint,12,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *ChannelerSlabEnterLoopDungeonReq) Reset() { + *x = ChannelerSlabEnterLoopDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabEnterLoopDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabEnterLoopDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabEnterLoopDungeonReq) ProtoMessage() {} + +func (x *ChannelerSlabEnterLoopDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabEnterLoopDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabEnterLoopDungeonReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabEnterLoopDungeonReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabEnterLoopDungeonReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *ChannelerSlabEnterLoopDungeonReq) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabEnterLoopDungeonReq) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *ChannelerSlabEnterLoopDungeonReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_ChannelerSlabEnterLoopDungeonReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabEnterLoopDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x20, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, + 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, + 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescOnce sync.Once + file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescData = file_ChannelerSlabEnterLoopDungeonReq_proto_rawDesc +) + +func file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescData) + }) + return file_ChannelerSlabEnterLoopDungeonReq_proto_rawDescData +} + +var file_ChannelerSlabEnterLoopDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabEnterLoopDungeonReq_proto_goTypes = []interface{}{ + (*ChannelerSlabEnterLoopDungeonReq)(nil), // 0: ChannelerSlabEnterLoopDungeonReq +} +var file_ChannelerSlabEnterLoopDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabEnterLoopDungeonReq_proto_init() } +func file_ChannelerSlabEnterLoopDungeonReq_proto_init() { + if File_ChannelerSlabEnterLoopDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabEnterLoopDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabEnterLoopDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabEnterLoopDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabEnterLoopDungeonReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabEnterLoopDungeonReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabEnterLoopDungeonReq_proto_msgTypes, + }.Build() + File_ChannelerSlabEnterLoopDungeonReq_proto = out.File + file_ChannelerSlabEnterLoopDungeonReq_proto_rawDesc = nil + file_ChannelerSlabEnterLoopDungeonReq_proto_goTypes = nil + file_ChannelerSlabEnterLoopDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.proto b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.proto new file mode 100644 index 00000000..10aa6d34 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8869 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabEnterLoopDungeonReq { + uint32 point_id = 9; + uint32 dungeon_index = 10; + repeated uint32 condition_id_list = 5; + uint32 difficulty_id = 12; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.pb.go new file mode 100644 index 00000000..8613687b --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabEnterLoopDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8081 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabEnterLoopDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,6,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + DungeonIndex uint32 `protobuf:"varint,15,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + DifficultyId uint32 `protobuf:"varint,3,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) Reset() { + *x = ChannelerSlabEnterLoopDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabEnterLoopDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabEnterLoopDungeonRsp) ProtoMessage() {} + +func (x *ChannelerSlabEnterLoopDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabEnterLoopDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabEnterLoopDungeonRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabEnterLoopDungeonRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabEnterLoopDungeonRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_ChannelerSlabEnterLoopDungeonRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x20, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescData = file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDesc +) + +func file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescData) + }) + return file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDescData +} + +var file_ChannelerSlabEnterLoopDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabEnterLoopDungeonRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabEnterLoopDungeonRsp)(nil), // 0: ChannelerSlabEnterLoopDungeonRsp +} +var file_ChannelerSlabEnterLoopDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabEnterLoopDungeonRsp_proto_init() } +func file_ChannelerSlabEnterLoopDungeonRsp_proto_init() { + if File_ChannelerSlabEnterLoopDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabEnterLoopDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabEnterLoopDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabEnterLoopDungeonRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabEnterLoopDungeonRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabEnterLoopDungeonRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabEnterLoopDungeonRsp_proto = out.File + file_ChannelerSlabEnterLoopDungeonRsp_proto_rawDesc = nil + file_ChannelerSlabEnterLoopDungeonRsp_proto_goTypes = nil + file_ChannelerSlabEnterLoopDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.proto b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.proto new file mode 100644 index 00000000..bf6b8004 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabEnterLoopDungeonRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8081 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabEnterLoopDungeonRsp { + int32 retcode = 9; + uint32 point_id = 12; + repeated uint32 condition_id_list = 6; + uint32 dungeon_index = 15; + uint32 difficulty_id = 3; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.pb.go new file mode 100644 index 00000000..9754c1bd --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonChallengeInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8224 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabLoopDungeonChallengeInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonIndex uint32 `protobuf:"varint,12,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + ChallengeScore uint32 `protobuf:"varint,4,opt,name=challenge_score,json=challengeScore,proto3" json:"challenge_score,omitempty"` + DifficultyId uint32 `protobuf:"varint,2,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,3,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + SchemeBuffIdList []uint32 `protobuf:"varint,6,rep,packed,name=scheme_buff_id_list,json=schemeBuffIdList,proto3" json:"scheme_buff_id_list,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) Reset() { + *x = ChannelerSlabLoopDungeonChallengeInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonChallengeInfoNotify) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonChallengeInfoNotify.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonChallengeInfoNotify) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) GetChallengeScore() uint32 { + if x != nil { + return x.ChallengeScore + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonChallengeInfoNotify) GetSchemeBuffIdList() []uint32 { + if x != nil { + return x.SchemeBuffIdList + } + return nil +} + +var File_ChannelerSlabLoopDungeonChallengeInfoNotify_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x01, 0x0a, 0x2b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x5f, 0x62, 0x75, 0x66, + 0x66, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescData = file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonChallengeInfoNotify)(nil), // 0: ChannelerSlabLoopDungeonChallengeInfoNotify +} +var file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_init() } +func file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_init() { + if File_ChannelerSlabLoopDungeonChallengeInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonChallengeInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonChallengeInfoNotify_proto = out.File + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_goTypes = nil + file_ChannelerSlabLoopDungeonChallengeInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.proto new file mode 100644 index 00000000..1f5a34e8 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonChallengeInfoNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8224 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabLoopDungeonChallengeInfoNotify { + uint32 dungeon_index = 12; + uint32 challenge_score = 4; + uint32 difficulty_id = 2; + repeated uint32 condition_id_list = 3; + repeated uint32 scheme_buff_id_list = 6; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.pb.go new file mode 100644 index 00000000..d10eb2d4 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabLoopDungeonInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` + DungeonIndex uint32 `protobuf:"varint,4,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + OpenTime uint32 `protobuf:"varint,12,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsFirstPassRewardTaken bool `protobuf:"varint,9,opt,name=is_first_pass_reward_taken,json=isFirstPassRewardTaken,proto3" json:"is_first_pass_reward_taken,omitempty"` + LastConditionIdList []uint32 `protobuf:"varint,14,rep,packed,name=last_condition_id_list,json=lastConditionIdList,proto3" json:"last_condition_id_list,omitempty"` + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonInfo) Reset() { + *x = ChannelerSlabLoopDungeonInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonInfo) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonInfo) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonInfo) GetIsFirstPassRewardTaken() bool { + if x != nil { + return x.IsFirstPassRewardTaken + } + return false +} + +func (x *ChannelerSlabLoopDungeonInfo) GetLastConditionIdList() []uint32 { + if x != nil { + return x.LastConditionIdList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_ChannelerSlabLoopDungeonInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, 0x1c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, + 0x1a, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x16, 0x69, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonInfo_proto_rawDescData = file_ChannelerSlabLoopDungeonInfo_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonInfo_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonInfo_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonInfo)(nil), // 0: ChannelerSlabLoopDungeonInfo +} +var file_ChannelerSlabLoopDungeonInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonInfo_proto_init() } +func file_ChannelerSlabLoopDungeonInfo_proto_init() { + if File_ChannelerSlabLoopDungeonInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonInfo_proto = out.File + file_ChannelerSlabLoopDungeonInfo_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonInfo_proto_goTypes = nil + file_ChannelerSlabLoopDungeonInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.proto new file mode 100644 index 00000000..c83a5cfd --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChannelerSlabLoopDungeonInfo { + uint32 score = 7; + uint32 dungeon_index = 4; + uint32 open_time = 12; + bool is_first_pass_reward_taken = 9; + repeated uint32 last_condition_id_list = 14; + bool is_open = 1; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.pb.go new file mode 100644 index 00000000..0ff2f00c --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonResultInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabLoopDungeonResultInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,11,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChallengeMaxScore uint32 `protobuf:"varint,8,opt,name=challenge_max_score,json=challengeMaxScore,proto3" json:"challenge_max_score,omitempty"` + DungeonIndex uint32 `protobuf:"varint,7,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + IsInTimeLimit bool `protobuf:"varint,10,opt,name=is_in_time_limit,json=isInTimeLimit,proto3" json:"is_in_time_limit,omitempty"` + ChallengeScore uint32 `protobuf:"varint,12,opt,name=challenge_score,json=challengeScore,proto3" json:"challenge_score,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonResultInfo) Reset() { + *x = ChannelerSlabLoopDungeonResultInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonResultInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonResultInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonResultInfo) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonResultInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonResultInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonResultInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonResultInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonResultInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *ChannelerSlabLoopDungeonResultInfo) GetChallengeMaxScore() uint32 { + if x != nil { + return x.ChallengeMaxScore + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonResultInfo) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonResultInfo) GetIsInTimeLimit() bool { + if x != nil { + return x.IsInTimeLimit + } + return false +} + +func (x *ChannelerSlabLoopDungeonResultInfo) GetChallengeScore() uint32 { + if x != nil { + return x.ChallengeScore + } + return 0 +} + +var File_ChannelerSlabLoopDungeonResultInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonResultInfo_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x01, 0x0a, 0x22, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x69, 0x73, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescData = file_ChannelerSlabLoopDungeonResultInfo_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonResultInfo_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonResultInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonResultInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonResultInfo)(nil), // 0: ChannelerSlabLoopDungeonResultInfo +} +var file_ChannelerSlabLoopDungeonResultInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonResultInfo_proto_init() } +func file_ChannelerSlabLoopDungeonResultInfo_proto_init() { + if File_ChannelerSlabLoopDungeonResultInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonResultInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonResultInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonResultInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonResultInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonResultInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonResultInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonResultInfo_proto = out.File + file_ChannelerSlabLoopDungeonResultInfo_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonResultInfo_proto_goTypes = nil + file_ChannelerSlabLoopDungeonResultInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.proto new file mode 100644 index 00000000..20916807 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonResultInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChannelerSlabLoopDungeonResultInfo { + bool is_success = 11; + uint32 challenge_max_score = 8; + uint32 dungeon_index = 7; + bool is_in_time_limit = 10; + uint32 challenge_score = 12; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.pb.go new file mode 100644 index 00000000..dcd15c7d --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonSelectConditionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabLoopDungeonSelectConditionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonIndex uint32 `protobuf:"varint,4,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,3,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + DifficultyId uint32 `protobuf:"varint,8,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) Reset() { + *x = ChannelerSlabLoopDungeonSelectConditionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonSelectConditionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonSelectConditionReq) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonSelectConditionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonSelectConditionReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonSelectConditionReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonSelectConditionReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_ChannelerSlabLoopDungeonSelectConditionReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, + 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescData = file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonSelectConditionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonSelectConditionReq_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonSelectConditionReq)(nil), // 0: ChannelerSlabLoopDungeonSelectConditionReq +} +var file_ChannelerSlabLoopDungeonSelectConditionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonSelectConditionReq_proto_init() } +func file_ChannelerSlabLoopDungeonSelectConditionReq_proto_init() { + if File_ChannelerSlabLoopDungeonSelectConditionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonSelectConditionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonSelectConditionReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonSelectConditionReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonSelectConditionReq_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonSelectConditionReq_proto = out.File + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_goTypes = nil + file_ChannelerSlabLoopDungeonSelectConditionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.proto new file mode 100644 index 00000000..b259cf2f --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabLoopDungeonSelectConditionReq { + uint32 dungeon_index = 4; + repeated uint32 condition_id_list = 3; + uint32 difficulty_id = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.pb.go new file mode 100644 index 00000000..519ea452 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonSelectConditionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8509 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabLoopDungeonSelectConditionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + DungeonIndex uint32 `protobuf:"varint,5,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,13,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + DifficultyId uint32 `protobuf:"varint,14,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) Reset() { + *x = ChannelerSlabLoopDungeonSelectConditionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonSelectConditionRsp) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonSelectConditionRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonSelectConditionRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonSelectConditionRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_ChannelerSlabLoopDungeonSelectConditionRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescData = file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonSelectConditionRsp)(nil), // 0: ChannelerSlabLoopDungeonSelectConditionRsp +} +var file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_init() } +func file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_init() { + if File_ChannelerSlabLoopDungeonSelectConditionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonSelectConditionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonSelectConditionRsp_proto = out.File + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_goTypes = nil + file_ChannelerSlabLoopDungeonSelectConditionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.proto new file mode 100644 index 00000000..8bdba9b3 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonSelectConditionRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8509 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabLoopDungeonSelectConditionRsp { + int32 retcode = 9; + uint32 dungeon_index = 5; + repeated uint32 condition_id_list = 13; + uint32 difficulty_id = 14; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.pb.go new file mode 100644 index 00000000..7f93e788 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonStageInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabLoopDungeonStageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonInfoList []*ChannelerSlabLoopDungeonInfo `protobuf:"bytes,15,rep,name=dungeon_info_list,json=dungeonInfoList,proto3" json:"dungeon_info_list,omitempty"` + TakenRewardIndexList []uint32 `protobuf:"varint,5,rep,packed,name=taken_reward_index_list,json=takenRewardIndexList,proto3" json:"taken_reward_index_list,omitempty"` + IsOpen bool `protobuf:"varint,11,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + LastDifficultyId uint32 `protobuf:"varint,6,opt,name=last_difficulty_id,json=lastDifficultyId,proto3" json:"last_difficulty_id,omitempty"` + OpenTime uint32 `protobuf:"varint,3,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonStageInfo) Reset() { + *x = ChannelerSlabLoopDungeonStageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonStageInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonStageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonStageInfo) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonStageInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonStageInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonStageInfo.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonStageInfo) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonStageInfo) GetDungeonInfoList() []*ChannelerSlabLoopDungeonInfo { + if x != nil { + return x.DungeonInfoList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonStageInfo) GetTakenRewardIndexList() []uint32 { + if x != nil { + return x.TakenRewardIndexList + } + return nil +} + +func (x *ChannelerSlabLoopDungeonStageInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *ChannelerSlabLoopDungeonStageInfo) GetLastDifficultyId() uint32 { + if x != nil { + return x.LastDifficultyId + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonStageInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +var File_ChannelerSlabLoopDungeonStageInfo_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonStageInfo_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, + 0x0a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, + 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, + 0x0a, 0x17, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x14, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x2c, + 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, + 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescData = file_ChannelerSlabLoopDungeonStageInfo_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonStageInfo_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonStageInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonStageInfo_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonStageInfo)(nil), // 0: ChannelerSlabLoopDungeonStageInfo + (*ChannelerSlabLoopDungeonInfo)(nil), // 1: ChannelerSlabLoopDungeonInfo +} +var file_ChannelerSlabLoopDungeonStageInfo_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabLoopDungeonStageInfo.dungeon_info_list:type_name -> ChannelerSlabLoopDungeonInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonStageInfo_proto_init() } +func file_ChannelerSlabLoopDungeonStageInfo_proto_init() { + if File_ChannelerSlabLoopDungeonStageInfo_proto != nil { + return + } + file_ChannelerSlabLoopDungeonInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonStageInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonStageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonStageInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonStageInfo_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonStageInfo_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonStageInfo_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonStageInfo_proto = out.File + file_ChannelerSlabLoopDungeonStageInfo_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonStageInfo_proto_goTypes = nil + file_ChannelerSlabLoopDungeonStageInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.proto new file mode 100644 index 00000000..48fe16ce --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonStageInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabLoopDungeonInfo.proto"; + +option go_package = "./;proto"; + +message ChannelerSlabLoopDungeonStageInfo { + repeated ChannelerSlabLoopDungeonInfo dungeon_info_list = 15; + repeated uint32 taken_reward_index_list = 5; + bool is_open = 11; + uint32 last_difficulty_id = 6; + uint32 open_time = 3; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.pb.go new file mode 100644 index 00000000..352f3267 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonTakeFirstPassRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8589 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabLoopDungeonTakeFirstPassRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonIndex uint32 `protobuf:"varint,10,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardReq) Reset() { + *x = ChannelerSlabLoopDungeonTakeFirstPassRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonTakeFirstPassRewardReq) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonTakeFirstPassRewardReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonTakeFirstPassRewardReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardReq) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +var File_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, + 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescData = file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonTakeFirstPassRewardReq)(nil), // 0: ChannelerSlabLoopDungeonTakeFirstPassRewardReq +} +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_init() } +func file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_init() { + if File_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonTakeFirstPassRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto = out.File + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_goTypes = nil + file_ChannelerSlabLoopDungeonTakeFirstPassRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.proto new file mode 100644 index 00000000..5755c7d1 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8589 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabLoopDungeonTakeFirstPassRewardReq { + uint32 dungeon_index = 10; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.pb.go new file mode 100644 index 00000000..423ef00d --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8539 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabLoopDungeonTakeFirstPassRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + DungeonIndex uint32 `protobuf:"varint,8,opt,name=dungeon_index,json=dungeonIndex,proto3" json:"dungeon_index,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) Reset() { + *x = ChannelerSlabLoopDungeonTakeFirstPassRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonTakeFirstPassRewardRsp) GetDungeonIndex() uint32 { + if x != nil { + return x.DungeonIndex + } + return 0 +} + +var File_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, + 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescData = file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonTakeFirstPassRewardRsp)(nil), // 0: ChannelerSlabLoopDungeonTakeFirstPassRewardRsp +} +var file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_init() } +func file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_init() { + if File_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonTakeFirstPassRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto = out.File + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_goTypes = nil + file_ChannelerSlabLoopDungeonTakeFirstPassRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.proto new file mode 100644 index 00000000..ce1a8882 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeFirstPassRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8539 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabLoopDungeonTakeFirstPassRewardRsp { + int32 retcode = 10; + uint32 dungeon_index = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.pb.go new file mode 100644 index 00000000..ab062c8a --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonTakeScoreRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8684 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabLoopDungeonTakeScoreRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardIndex uint32 `protobuf:"varint,8,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardReq) Reset() { + *x = ChannelerSlabLoopDungeonTakeScoreRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonTakeScoreRewardReq) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonTakeScoreRewardReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonTakeScoreRewardReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardReq) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +var File_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, + 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, + 0x6b, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescData = file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonTakeScoreRewardReq)(nil), // 0: ChannelerSlabLoopDungeonTakeScoreRewardReq +} +var file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_init() } +func file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_init() { + if File_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonTakeScoreRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto = out.File + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_goTypes = nil + file_ChannelerSlabLoopDungeonTakeScoreRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.proto new file mode 100644 index 00000000..5f6cb4d3 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8684 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabLoopDungeonTakeScoreRewardReq { + uint32 reward_index = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.pb.go new file mode 100644 index 00000000..1ea27833 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabLoopDungeonTakeScoreRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8433 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabLoopDungeonTakeScoreRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardIndex uint32 `protobuf:"varint,12,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardRsp) Reset() { + *x = ChannelerSlabLoopDungeonTakeScoreRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabLoopDungeonTakeScoreRewardRsp) ProtoMessage() {} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabLoopDungeonTakeScoreRewardRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabLoopDungeonTakeScoreRewardRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardRsp) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +func (x *ChannelerSlabLoopDungeonTakeScoreRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, + 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, + 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x61, + 0x6b, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescData = file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDesc +) + +func file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescData) + }) + return file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDescData +} + +var file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabLoopDungeonTakeScoreRewardRsp)(nil), // 0: ChannelerSlabLoopDungeonTakeScoreRewardRsp +} +var file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_init() } +func file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_init() { + if File_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabLoopDungeonTakeScoreRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto = out.File + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_rawDesc = nil + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_goTypes = nil + file_ChannelerSlabLoopDungeonTakeScoreRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.proto b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.proto new file mode 100644 index 00000000..f2b20973 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabLoopDungeonTakeScoreRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8433 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabLoopDungeonTakeScoreRewardRsp { + uint32 reward_index = 12; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.pb.go b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.pb.go new file mode 100644 index 00000000..74dfb6f8 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabOneOffDungeonInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8729 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabOneOffDungeonInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SchemeBuffIdList []uint32 `protobuf:"varint,6,rep,packed,name=scheme_buff_id_list,json=schemeBuffIdList,proto3" json:"scheme_buff_id_list,omitempty"` +} + +func (x *ChannelerSlabOneOffDungeonInfoNotify) Reset() { + *x = ChannelerSlabOneOffDungeonInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabOneOffDungeonInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabOneOffDungeonInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabOneOffDungeonInfoNotify) ProtoMessage() {} + +func (x *ChannelerSlabOneOffDungeonInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabOneOffDungeonInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabOneOffDungeonInfoNotify.ProtoReflect.Descriptor instead. +func (*ChannelerSlabOneOffDungeonInfoNotify) Descriptor() ([]byte, []int) { + return file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabOneOffDungeonInfoNotify) GetSchemeBuffIdList() []uint32 { + if x != nil { + return x.SchemeBuffIdList + } + return nil +} + +var File_ChannelerSlabOneOffDungeonInfoNotify_proto protoreflect.FileDescriptor + +var file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, + 0x6e, 0x65, 0x4f, 0x66, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x24, + 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, 0x6e, 0x65, + 0x4f, 0x66, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x5f, 0x62, + 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescOnce sync.Once + file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescData = file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDesc +) + +func file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescGZIP() []byte { + file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescOnce.Do(func() { + file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescData) + }) + return file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDescData +} + +var file_ChannelerSlabOneOffDungeonInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabOneOffDungeonInfoNotify_proto_goTypes = []interface{}{ + (*ChannelerSlabOneOffDungeonInfoNotify)(nil), // 0: ChannelerSlabOneOffDungeonInfoNotify +} +var file_ChannelerSlabOneOffDungeonInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabOneOffDungeonInfoNotify_proto_init() } +func file_ChannelerSlabOneOffDungeonInfoNotify_proto_init() { + if File_ChannelerSlabOneOffDungeonInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabOneOffDungeonInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabOneOffDungeonInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabOneOffDungeonInfoNotify_proto_goTypes, + DependencyIndexes: file_ChannelerSlabOneOffDungeonInfoNotify_proto_depIdxs, + MessageInfos: file_ChannelerSlabOneOffDungeonInfoNotify_proto_msgTypes, + }.Build() + File_ChannelerSlabOneOffDungeonInfoNotify_proto = out.File + file_ChannelerSlabOneOffDungeonInfoNotify_proto_rawDesc = nil + file_ChannelerSlabOneOffDungeonInfoNotify_proto_goTypes = nil + file_ChannelerSlabOneOffDungeonInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.proto b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.proto new file mode 100644 index 00000000..53ea47e8 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8729 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabOneOffDungeonInfoNotify { + repeated uint32 scheme_buff_id_list = 6; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.pb.go new file mode 100644 index 00000000..08faf208 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.pb.go @@ -0,0 +1,154 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabOneOffDungeonInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8409 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabOneOffDungeonInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChannelerSlabOneOffDungeonInfoReq) Reset() { + *x = ChannelerSlabOneOffDungeonInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabOneOffDungeonInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabOneOffDungeonInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabOneOffDungeonInfoReq) ProtoMessage() {} + +func (x *ChannelerSlabOneOffDungeonInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabOneOffDungeonInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabOneOffDungeonInfoReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabOneOffDungeonInfoReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_ChannelerSlabOneOffDungeonInfoReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, + 0x6e, 0x65, 0x4f, 0x66, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x66, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescOnce sync.Once + file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescData = file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDesc +) + +func file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescData) + }) + return file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDescData +} + +var file_ChannelerSlabOneOffDungeonInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabOneOffDungeonInfoReq_proto_goTypes = []interface{}{ + (*ChannelerSlabOneOffDungeonInfoReq)(nil), // 0: ChannelerSlabOneOffDungeonInfoReq +} +var file_ChannelerSlabOneOffDungeonInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabOneOffDungeonInfoReq_proto_init() } +func file_ChannelerSlabOneOffDungeonInfoReq_proto_init() { + if File_ChannelerSlabOneOffDungeonInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabOneOffDungeonInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabOneOffDungeonInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabOneOffDungeonInfoReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabOneOffDungeonInfoReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabOneOffDungeonInfoReq_proto_msgTypes, + }.Build() + File_ChannelerSlabOneOffDungeonInfoReq_proto = out.File + file_ChannelerSlabOneOffDungeonInfoReq_proto_rawDesc = nil + file_ChannelerSlabOneOffDungeonInfoReq_proto_goTypes = nil + file_ChannelerSlabOneOffDungeonInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.proto b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.proto new file mode 100644 index 00000000..68a774ba --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8409 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabOneOffDungeonInfoReq {} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.pb.go new file mode 100644 index 00000000..8ac28390 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabOneOffDungeonInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8268 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabOneOffDungeonInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SchemeBuffIdList []uint32 `protobuf:"varint,3,rep,packed,name=scheme_buff_id_list,json=schemeBuffIdList,proto3" json:"scheme_buff_id_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChannelerSlabOneOffDungeonInfoRsp) Reset() { + *x = ChannelerSlabOneOffDungeonInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabOneOffDungeonInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabOneOffDungeonInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabOneOffDungeonInfoRsp) ProtoMessage() {} + +func (x *ChannelerSlabOneOffDungeonInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabOneOffDungeonInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabOneOffDungeonInfoRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabOneOffDungeonInfoRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabOneOffDungeonInfoRsp) GetSchemeBuffIdList() []uint32 { + if x != nil { + return x.SchemeBuffIdList + } + return nil +} + +func (x *ChannelerSlabOneOffDungeonInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChannelerSlabOneOffDungeonInfoRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, + 0x6e, 0x65, 0x4f, 0x66, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x21, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x66, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x2d, + 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x65, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescData = file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDesc +) + +func file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescData) + }) + return file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDescData +} + +var file_ChannelerSlabOneOffDungeonInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabOneOffDungeonInfoRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabOneOffDungeonInfoRsp)(nil), // 0: ChannelerSlabOneOffDungeonInfoRsp +} +var file_ChannelerSlabOneOffDungeonInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabOneOffDungeonInfoRsp_proto_init() } +func file_ChannelerSlabOneOffDungeonInfoRsp_proto_init() { + if File_ChannelerSlabOneOffDungeonInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabOneOffDungeonInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabOneOffDungeonInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabOneOffDungeonInfoRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabOneOffDungeonInfoRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabOneOffDungeonInfoRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabOneOffDungeonInfoRsp_proto = out.File + file_ChannelerSlabOneOffDungeonInfoRsp_proto_rawDesc = nil + file_ChannelerSlabOneOffDungeonInfoRsp_proto_goTypes = nil + file_ChannelerSlabOneOffDungeonInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.proto b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.proto new file mode 100644 index 00000000..3f41ba28 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneOffDungeonInfoRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8268 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabOneOffDungeonInfoRsp { + repeated uint32 scheme_buff_id_list = 3; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.pb.go b/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.pb.go new file mode 100644 index 00000000..ce0e6dac --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabOneofDungeon.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChannelerSlabOneofDungeon struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDone bool `protobuf:"varint,8,opt,name=is_done,json=isDone,proto3" json:"is_done,omitempty"` + DungeonId uint32 `protobuf:"varint,12,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + RewardId uint32 `protobuf:"varint,13,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *ChannelerSlabOneofDungeon) Reset() { + *x = ChannelerSlabOneofDungeon{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabOneofDungeon_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabOneofDungeon) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabOneofDungeon) ProtoMessage() {} + +func (x *ChannelerSlabOneofDungeon) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabOneofDungeon_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabOneofDungeon.ProtoReflect.Descriptor instead. +func (*ChannelerSlabOneofDungeon) Descriptor() ([]byte, []int) { + return file_ChannelerSlabOneofDungeon_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabOneofDungeon) GetIsDone() bool { + if x != nil { + return x.IsDone + } + return false +} + +func (x *ChannelerSlabOneofDungeon) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *ChannelerSlabOneofDungeon) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_ChannelerSlabOneofDungeon_proto protoreflect.FileDescriptor + +var file_ChannelerSlabOneofDungeon_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4f, + 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x70, 0x0a, 0x19, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, + 0x61, 0x62, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabOneofDungeon_proto_rawDescOnce sync.Once + file_ChannelerSlabOneofDungeon_proto_rawDescData = file_ChannelerSlabOneofDungeon_proto_rawDesc +) + +func file_ChannelerSlabOneofDungeon_proto_rawDescGZIP() []byte { + file_ChannelerSlabOneofDungeon_proto_rawDescOnce.Do(func() { + file_ChannelerSlabOneofDungeon_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabOneofDungeon_proto_rawDescData) + }) + return file_ChannelerSlabOneofDungeon_proto_rawDescData +} + +var file_ChannelerSlabOneofDungeon_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabOneofDungeon_proto_goTypes = []interface{}{ + (*ChannelerSlabOneofDungeon)(nil), // 0: ChannelerSlabOneofDungeon +} +var file_ChannelerSlabOneofDungeon_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabOneofDungeon_proto_init() } +func file_ChannelerSlabOneofDungeon_proto_init() { + if File_ChannelerSlabOneofDungeon_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabOneofDungeon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabOneofDungeon); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabOneofDungeon_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabOneofDungeon_proto_goTypes, + DependencyIndexes: file_ChannelerSlabOneofDungeon_proto_depIdxs, + MessageInfos: file_ChannelerSlabOneofDungeon_proto_msgTypes, + }.Build() + File_ChannelerSlabOneofDungeon_proto = out.File + file_ChannelerSlabOneofDungeon_proto_rawDesc = nil + file_ChannelerSlabOneofDungeon_proto_goTypes = nil + file_ChannelerSlabOneofDungeon_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.proto b/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.proto new file mode 100644 index 00000000..fe7a1fdd --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabOneofDungeon.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChannelerSlabOneofDungeon { + bool is_done = 8; + uint32 dungeon_id = 12; + uint32 reward_id = 13; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.pb.go new file mode 100644 index 00000000..a26c698c --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabSaveAssistInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8416 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabSaveAssistInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssistInfoList []*ChannelerSlabAssistInfo `protobuf:"bytes,8,rep,name=assist_info_list,json=assistInfoList,proto3" json:"assist_info_list,omitempty"` +} + +func (x *ChannelerSlabSaveAssistInfoReq) Reset() { + *x = ChannelerSlabSaveAssistInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabSaveAssistInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabSaveAssistInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabSaveAssistInfoReq) ProtoMessage() {} + +func (x *ChannelerSlabSaveAssistInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabSaveAssistInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabSaveAssistInfoReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabSaveAssistInfoReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabSaveAssistInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabSaveAssistInfoReq) GetAssistInfoList() []*ChannelerSlabAssistInfo { + if x != nil { + return x.AssistInfoList + } + return nil +} + +var File_ChannelerSlabSaveAssistInfoReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabSaveAssistInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, + 0x61, 0x76, 0x65, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, 0x61, 0x76, 0x65, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x42, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x62, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x61, 0x73, 0x73, + 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabSaveAssistInfoReq_proto_rawDescOnce sync.Once + file_ChannelerSlabSaveAssistInfoReq_proto_rawDescData = file_ChannelerSlabSaveAssistInfoReq_proto_rawDesc +) + +func file_ChannelerSlabSaveAssistInfoReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabSaveAssistInfoReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabSaveAssistInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabSaveAssistInfoReq_proto_rawDescData) + }) + return file_ChannelerSlabSaveAssistInfoReq_proto_rawDescData +} + +var file_ChannelerSlabSaveAssistInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabSaveAssistInfoReq_proto_goTypes = []interface{}{ + (*ChannelerSlabSaveAssistInfoReq)(nil), // 0: ChannelerSlabSaveAssistInfoReq + (*ChannelerSlabAssistInfo)(nil), // 1: ChannelerSlabAssistInfo +} +var file_ChannelerSlabSaveAssistInfoReq_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabSaveAssistInfoReq.assist_info_list:type_name -> ChannelerSlabAssistInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabSaveAssistInfoReq_proto_init() } +func file_ChannelerSlabSaveAssistInfoReq_proto_init() { + if File_ChannelerSlabSaveAssistInfoReq_proto != nil { + return + } + file_ChannelerSlabAssistInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabSaveAssistInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabSaveAssistInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabSaveAssistInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabSaveAssistInfoReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabSaveAssistInfoReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabSaveAssistInfoReq_proto_msgTypes, + }.Build() + File_ChannelerSlabSaveAssistInfoReq_proto = out.File + file_ChannelerSlabSaveAssistInfoReq_proto_rawDesc = nil + file_ChannelerSlabSaveAssistInfoReq_proto_goTypes = nil + file_ChannelerSlabSaveAssistInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.proto b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.proto new file mode 100644 index 00000000..91bca958 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabAssistInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8416 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabSaveAssistInfoReq { + repeated ChannelerSlabAssistInfo assist_info_list = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.pb.go new file mode 100644 index 00000000..eae0325e --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabSaveAssistInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8932 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabSaveAssistInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssistInfoList []*ChannelerSlabAssistInfo `protobuf:"bytes,8,rep,name=assist_info_list,json=assistInfoList,proto3" json:"assist_info_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChannelerSlabSaveAssistInfoRsp) Reset() { + *x = ChannelerSlabSaveAssistInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabSaveAssistInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabSaveAssistInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabSaveAssistInfoRsp) ProtoMessage() {} + +func (x *ChannelerSlabSaveAssistInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabSaveAssistInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabSaveAssistInfoRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabSaveAssistInfoRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabSaveAssistInfoRsp) GetAssistInfoList() []*ChannelerSlabAssistInfo { + if x != nil { + return x.AssistInfoList + } + return nil +} + +func (x *ChannelerSlabSaveAssistInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChannelerSlabSaveAssistInfoRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabSaveAssistInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, + 0x61, 0x76, 0x65, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x62, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, 0x61, 0x76, 0x65, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x62, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x61, 0x73, 0x73, + 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescData = file_ChannelerSlabSaveAssistInfoRsp_proto_rawDesc +) + +func file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescData) + }) + return file_ChannelerSlabSaveAssistInfoRsp_proto_rawDescData +} + +var file_ChannelerSlabSaveAssistInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabSaveAssistInfoRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabSaveAssistInfoRsp)(nil), // 0: ChannelerSlabSaveAssistInfoRsp + (*ChannelerSlabAssistInfo)(nil), // 1: ChannelerSlabAssistInfo +} +var file_ChannelerSlabSaveAssistInfoRsp_proto_depIdxs = []int32{ + 1, // 0: ChannelerSlabSaveAssistInfoRsp.assist_info_list:type_name -> ChannelerSlabAssistInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabSaveAssistInfoRsp_proto_init() } +func file_ChannelerSlabSaveAssistInfoRsp_proto_init() { + if File_ChannelerSlabSaveAssistInfoRsp_proto != nil { + return + } + file_ChannelerSlabAssistInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabSaveAssistInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabSaveAssistInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabSaveAssistInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabSaveAssistInfoRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabSaveAssistInfoRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabSaveAssistInfoRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabSaveAssistInfoRsp_proto = out.File + file_ChannelerSlabSaveAssistInfoRsp_proto_rawDesc = nil + file_ChannelerSlabSaveAssistInfoRsp_proto_goTypes = nil + file_ChannelerSlabSaveAssistInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.proto b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.proto new file mode 100644 index 00000000..ec2a50a9 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabSaveAssistInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabAssistInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8932 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabSaveAssistInfoRsp { + repeated ChannelerSlabAssistInfo assist_info_list = 8; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.pb.go b/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.pb.go new file mode 100644 index 00000000..28804efe --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabStageActiveChallengeIndexNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8734 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabStageActiveChallengeIndexNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,12,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + ActiveCampIndex uint32 `protobuf:"varint,6,opt,name=active_camp_index,json=activeCampIndex,proto3" json:"active_camp_index,omitempty"` +} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) Reset() { + *x = ChannelerSlabStageActiveChallengeIndexNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabStageActiveChallengeIndexNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabStageActiveChallengeIndexNotify) ProtoMessage() {} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabStageActiveChallengeIndexNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabStageActiveChallengeIndexNotify.ProtoReflect.Descriptor instead. +func (*ChannelerSlabStageActiveChallengeIndexNotify) Descriptor() ([]byte, []int) { + return file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *ChannelerSlabStageActiveChallengeIndexNotify) GetActiveCampIndex() uint32 { + if x != nil { + return x.ActiveCampIndex + } + return 0 +} + +var File_ChannelerSlabStageActiveChallengeIndexNotify_proto protoreflect.FileDescriptor + +var file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x2c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6d, 0x70, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescOnce sync.Once + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescData = file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDesc +) + +func file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescGZIP() []byte { + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescOnce.Do(func() { + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescData) + }) + return file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDescData +} + +var file_ChannelerSlabStageActiveChallengeIndexNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabStageActiveChallengeIndexNotify_proto_goTypes = []interface{}{ + (*ChannelerSlabStageActiveChallengeIndexNotify)(nil), // 0: ChannelerSlabStageActiveChallengeIndexNotify +} +var file_ChannelerSlabStageActiveChallengeIndexNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabStageActiveChallengeIndexNotify_proto_init() } +func file_ChannelerSlabStageActiveChallengeIndexNotify_proto_init() { + if File_ChannelerSlabStageActiveChallengeIndexNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabStageActiveChallengeIndexNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabStageActiveChallengeIndexNotify_proto_goTypes, + DependencyIndexes: file_ChannelerSlabStageActiveChallengeIndexNotify_proto_depIdxs, + MessageInfos: file_ChannelerSlabStageActiveChallengeIndexNotify_proto_msgTypes, + }.Build() + File_ChannelerSlabStageActiveChallengeIndexNotify_proto = out.File + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_rawDesc = nil + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_goTypes = nil + file_ChannelerSlabStageActiveChallengeIndexNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto b/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto new file mode 100644 index 00000000..31cd90cd --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8734 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabStageActiveChallengeIndexNotify { + uint32 stage_id = 15; + uint32 challenge_index = 12; + uint32 active_camp_index = 6; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.pb.go b/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.pb.go new file mode 100644 index 00000000..860ef778 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabStageOneofDungeonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8203 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabStageOneofDungeonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsDone bool `protobuf:"varint,8,opt,name=is_done,json=isDone,proto3" json:"is_done,omitempty"` +} + +func (x *ChannelerSlabStageOneofDungeonNotify) Reset() { + *x = ChannelerSlabStageOneofDungeonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabStageOneofDungeonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabStageOneofDungeonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabStageOneofDungeonNotify) ProtoMessage() {} + +func (x *ChannelerSlabStageOneofDungeonNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabStageOneofDungeonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabStageOneofDungeonNotify.ProtoReflect.Descriptor instead. +func (*ChannelerSlabStageOneofDungeonNotify) Descriptor() ([]byte, []int) { + return file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabStageOneofDungeonNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *ChannelerSlabStageOneofDungeonNotify) GetIsDone() bool { + if x != nil { + return x.IsDone + } + return false +} + +var File_ChannelerSlabStageOneofDungeonNotify_proto protoreflect.FileDescriptor + +var file_ChannelerSlabStageOneofDungeonNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x24, + 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescOnce sync.Once + file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescData = file_ChannelerSlabStageOneofDungeonNotify_proto_rawDesc +) + +func file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescGZIP() []byte { + file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescOnce.Do(func() { + file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescData) + }) + return file_ChannelerSlabStageOneofDungeonNotify_proto_rawDescData +} + +var file_ChannelerSlabStageOneofDungeonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabStageOneofDungeonNotify_proto_goTypes = []interface{}{ + (*ChannelerSlabStageOneofDungeonNotify)(nil), // 0: ChannelerSlabStageOneofDungeonNotify +} +var file_ChannelerSlabStageOneofDungeonNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabStageOneofDungeonNotify_proto_init() } +func file_ChannelerSlabStageOneofDungeonNotify_proto_init() { + if File_ChannelerSlabStageOneofDungeonNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabStageOneofDungeonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabStageOneofDungeonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabStageOneofDungeonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabStageOneofDungeonNotify_proto_goTypes, + DependencyIndexes: file_ChannelerSlabStageOneofDungeonNotify_proto_depIdxs, + MessageInfos: file_ChannelerSlabStageOneofDungeonNotify_proto_msgTypes, + }.Build() + File_ChannelerSlabStageOneofDungeonNotify_proto = out.File + file_ChannelerSlabStageOneofDungeonNotify_proto_rawDesc = nil + file_ChannelerSlabStageOneofDungeonNotify_proto_goTypes = nil + file_ChannelerSlabStageOneofDungeonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.proto b/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.proto new file mode 100644 index 00000000..0f35ec62 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabStageOneofDungeonNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8203 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabStageOneofDungeonNotify { + uint32 stage_id = 2; + bool is_done = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.pb.go new file mode 100644 index 00000000..4cbe9ee3 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabTakeoffBuffReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8516 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabTakeoffBuffReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsMp bool `protobuf:"varint,10,opt,name=is_mp,json=isMp,proto3" json:"is_mp,omitempty"` + SlotId uint32 `protobuf:"varint,12,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` + BuffId uint32 `protobuf:"varint,9,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` +} + +func (x *ChannelerSlabTakeoffBuffReq) Reset() { + *x = ChannelerSlabTakeoffBuffReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabTakeoffBuffReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabTakeoffBuffReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabTakeoffBuffReq) ProtoMessage() {} + +func (x *ChannelerSlabTakeoffBuffReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabTakeoffBuffReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabTakeoffBuffReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabTakeoffBuffReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabTakeoffBuffReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabTakeoffBuffReq) GetIsMp() bool { + if x != nil { + return x.IsMp + } + return false +} + +func (x *ChannelerSlabTakeoffBuffReq) GetSlotId() uint32 { + if x != nil { + return x.SlotId + } + return 0 +} + +func (x *ChannelerSlabTakeoffBuffReq) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +var File_ChannelerSlabTakeoffBuffReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabTakeoffBuffReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x54, + 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x42, 0x75, 0x66, 0x66, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x54, 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x42, 0x75, 0x66, 0x66, 0x52, + 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x04, 0x69, 0x73, 0x4d, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabTakeoffBuffReq_proto_rawDescOnce sync.Once + file_ChannelerSlabTakeoffBuffReq_proto_rawDescData = file_ChannelerSlabTakeoffBuffReq_proto_rawDesc +) + +func file_ChannelerSlabTakeoffBuffReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabTakeoffBuffReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabTakeoffBuffReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabTakeoffBuffReq_proto_rawDescData) + }) + return file_ChannelerSlabTakeoffBuffReq_proto_rawDescData +} + +var file_ChannelerSlabTakeoffBuffReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabTakeoffBuffReq_proto_goTypes = []interface{}{ + (*ChannelerSlabTakeoffBuffReq)(nil), // 0: ChannelerSlabTakeoffBuffReq +} +var file_ChannelerSlabTakeoffBuffReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabTakeoffBuffReq_proto_init() } +func file_ChannelerSlabTakeoffBuffReq_proto_init() { + if File_ChannelerSlabTakeoffBuffReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabTakeoffBuffReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabTakeoffBuffReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabTakeoffBuffReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabTakeoffBuffReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabTakeoffBuffReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabTakeoffBuffReq_proto_msgTypes, + }.Build() + File_ChannelerSlabTakeoffBuffReq_proto = out.File + file_ChannelerSlabTakeoffBuffReq_proto_rawDesc = nil + file_ChannelerSlabTakeoffBuffReq_proto_goTypes = nil + file_ChannelerSlabTakeoffBuffReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.proto b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.proto new file mode 100644 index 00000000..495b07d6 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8516 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabTakeoffBuffReq { + bool is_mp = 10; + uint32 slot_id = 12; + uint32 buff_id = 9; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.pb.go new file mode 100644 index 00000000..aa4ca375 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabTakeoffBuffRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8237 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabTakeoffBuffRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsMp bool `protobuf:"varint,13,opt,name=is_mp,json=isMp,proto3" json:"is_mp,omitempty"` + BuffId uint32 `protobuf:"varint,14,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` + SlotId uint32 `protobuf:"varint,8,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` +} + +func (x *ChannelerSlabTakeoffBuffRsp) Reset() { + *x = ChannelerSlabTakeoffBuffRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabTakeoffBuffRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabTakeoffBuffRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabTakeoffBuffRsp) ProtoMessage() {} + +func (x *ChannelerSlabTakeoffBuffRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabTakeoffBuffRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabTakeoffBuffRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabTakeoffBuffRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabTakeoffBuffRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabTakeoffBuffRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChannelerSlabTakeoffBuffRsp) GetIsMp() bool { + if x != nil { + return x.IsMp + } + return false +} + +func (x *ChannelerSlabTakeoffBuffRsp) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +func (x *ChannelerSlabTakeoffBuffRsp) GetSlotId() uint32 { + if x != nil { + return x.SlotId + } + return 0 +} + +var File_ChannelerSlabTakeoffBuffRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabTakeoffBuffRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x54, + 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x42, 0x75, 0x66, 0x66, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x54, 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x42, 0x75, 0x66, 0x66, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x0a, 0x05, + 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4d, + 0x70, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6c, + 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x6c, 0x6f, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabTakeoffBuffRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabTakeoffBuffRsp_proto_rawDescData = file_ChannelerSlabTakeoffBuffRsp_proto_rawDesc +) + +func file_ChannelerSlabTakeoffBuffRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabTakeoffBuffRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabTakeoffBuffRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabTakeoffBuffRsp_proto_rawDescData) + }) + return file_ChannelerSlabTakeoffBuffRsp_proto_rawDescData +} + +var file_ChannelerSlabTakeoffBuffRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabTakeoffBuffRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabTakeoffBuffRsp)(nil), // 0: ChannelerSlabTakeoffBuffRsp +} +var file_ChannelerSlabTakeoffBuffRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabTakeoffBuffRsp_proto_init() } +func file_ChannelerSlabTakeoffBuffRsp_proto_init() { + if File_ChannelerSlabTakeoffBuffRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabTakeoffBuffRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabTakeoffBuffRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabTakeoffBuffRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabTakeoffBuffRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabTakeoffBuffRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabTakeoffBuffRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabTakeoffBuffRsp_proto = out.File + file_ChannelerSlabTakeoffBuffRsp_proto_rawDesc = nil + file_ChannelerSlabTakeoffBuffRsp_proto_goTypes = nil + file_ChannelerSlabTakeoffBuffRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.proto b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.proto new file mode 100644 index 00000000..e939c270 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabTakeoffBuffRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8237 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabTakeoffBuffRsp { + int32 retcode = 3; + bool is_mp = 13; + uint32 buff_id = 14; + uint32 slot_id = 8; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.pb.go b/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.pb.go new file mode 100644 index 00000000..f61dd843 --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabWearBuffReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChannelerSlabWearBuffReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuffId uint32 `protobuf:"varint,3,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` + IsMp bool `protobuf:"varint,5,opt,name=is_mp,json=isMp,proto3" json:"is_mp,omitempty"` + SlotId uint32 `protobuf:"varint,13,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` +} + +func (x *ChannelerSlabWearBuffReq) Reset() { + *x = ChannelerSlabWearBuffReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabWearBuffReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabWearBuffReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabWearBuffReq) ProtoMessage() {} + +func (x *ChannelerSlabWearBuffReq) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabWearBuffReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabWearBuffReq.ProtoReflect.Descriptor instead. +func (*ChannelerSlabWearBuffReq) Descriptor() ([]byte, []int) { + return file_ChannelerSlabWearBuffReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabWearBuffReq) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +func (x *ChannelerSlabWearBuffReq) GetIsMp() bool { + if x != nil { + return x.IsMp + } + return false +} + +func (x *ChannelerSlabWearBuffReq) GetSlotId() uint32 { + if x != nil { + return x.SlotId + } + return 0 +} + +var File_ChannelerSlabWearBuffReq_proto protoreflect.FileDescriptor + +var file_ChannelerSlabWearBuffReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x57, + 0x65, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x61, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x62, 0x57, 0x65, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, + 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4d, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6c, + 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x6c, 0x6f, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChannelerSlabWearBuffReq_proto_rawDescOnce sync.Once + file_ChannelerSlabWearBuffReq_proto_rawDescData = file_ChannelerSlabWearBuffReq_proto_rawDesc +) + +func file_ChannelerSlabWearBuffReq_proto_rawDescGZIP() []byte { + file_ChannelerSlabWearBuffReq_proto_rawDescOnce.Do(func() { + file_ChannelerSlabWearBuffReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabWearBuffReq_proto_rawDescData) + }) + return file_ChannelerSlabWearBuffReq_proto_rawDescData +} + +var file_ChannelerSlabWearBuffReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabWearBuffReq_proto_goTypes = []interface{}{ + (*ChannelerSlabWearBuffReq)(nil), // 0: ChannelerSlabWearBuffReq +} +var file_ChannelerSlabWearBuffReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabWearBuffReq_proto_init() } +func file_ChannelerSlabWearBuffReq_proto_init() { + if File_ChannelerSlabWearBuffReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabWearBuffReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabWearBuffReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabWearBuffReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabWearBuffReq_proto_goTypes, + DependencyIndexes: file_ChannelerSlabWearBuffReq_proto_depIdxs, + MessageInfos: file_ChannelerSlabWearBuffReq_proto_msgTypes, + }.Build() + File_ChannelerSlabWearBuffReq_proto = out.File + file_ChannelerSlabWearBuffReq_proto_rawDesc = nil + file_ChannelerSlabWearBuffReq_proto_goTypes = nil + file_ChannelerSlabWearBuffReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.proto b/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.proto new file mode 100644 index 00000000..4d9f1eee --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabWearBuffReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChannelerSlabWearBuffReq { + uint32 buff_id = 3; + bool is_mp = 5; + uint32 slot_id = 13; +} diff --git a/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.pb.go b/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.pb.go new file mode 100644 index 00000000..f4fe3d8f --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChannelerSlabWearBuffRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8600 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChannelerSlabWearBuffRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuffId uint32 `protobuf:"varint,15,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsMp bool `protobuf:"varint,9,opt,name=is_mp,json=isMp,proto3" json:"is_mp,omitempty"` + SlotId uint32 `protobuf:"varint,8,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` +} + +func (x *ChannelerSlabWearBuffRsp) Reset() { + *x = ChannelerSlabWearBuffRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChannelerSlabWearBuffRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChannelerSlabWearBuffRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChannelerSlabWearBuffRsp) ProtoMessage() {} + +func (x *ChannelerSlabWearBuffRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChannelerSlabWearBuffRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChannelerSlabWearBuffRsp.ProtoReflect.Descriptor instead. +func (*ChannelerSlabWearBuffRsp) Descriptor() ([]byte, []int) { + return file_ChannelerSlabWearBuffRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChannelerSlabWearBuffRsp) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +func (x *ChannelerSlabWearBuffRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ChannelerSlabWearBuffRsp) GetIsMp() bool { + if x != nil { + return x.IsMp + } + return false +} + +func (x *ChannelerSlabWearBuffRsp) GetSlotId() uint32 { + if x != nil { + return x.SlotId + } + return 0 +} + +var File_ChannelerSlabWearBuffRsp_proto protoreflect.FileDescriptor + +var file_ChannelerSlabWearBuffRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x57, + 0x65, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x7b, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x62, 0x57, 0x65, 0x61, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, + 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, + 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x13, 0x0a, 0x05, 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, + 0x69, 0x73, 0x4d, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ChannelerSlabWearBuffRsp_proto_rawDescOnce sync.Once + file_ChannelerSlabWearBuffRsp_proto_rawDescData = file_ChannelerSlabWearBuffRsp_proto_rawDesc +) + +func file_ChannelerSlabWearBuffRsp_proto_rawDescGZIP() []byte { + file_ChannelerSlabWearBuffRsp_proto_rawDescOnce.Do(func() { + file_ChannelerSlabWearBuffRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChannelerSlabWearBuffRsp_proto_rawDescData) + }) + return file_ChannelerSlabWearBuffRsp_proto_rawDescData +} + +var file_ChannelerSlabWearBuffRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChannelerSlabWearBuffRsp_proto_goTypes = []interface{}{ + (*ChannelerSlabWearBuffRsp)(nil), // 0: ChannelerSlabWearBuffRsp +} +var file_ChannelerSlabWearBuffRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChannelerSlabWearBuffRsp_proto_init() } +func file_ChannelerSlabWearBuffRsp_proto_init() { + if File_ChannelerSlabWearBuffRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChannelerSlabWearBuffRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelerSlabWearBuffRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChannelerSlabWearBuffRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChannelerSlabWearBuffRsp_proto_goTypes, + DependencyIndexes: file_ChannelerSlabWearBuffRsp_proto_depIdxs, + MessageInfos: file_ChannelerSlabWearBuffRsp_proto_msgTypes, + }.Build() + File_ChannelerSlabWearBuffRsp_proto = out.File + file_ChannelerSlabWearBuffRsp_proto_rawDesc = nil + file_ChannelerSlabWearBuffRsp_proto_goTypes = nil + file_ChannelerSlabWearBuffRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.proto b/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.proto new file mode 100644 index 00000000..5c255e1d --- /dev/null +++ b/gate-hk4e-api/proto/ChannelerSlabWearBuffRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8600 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChannelerSlabWearBuffRsp { + uint32 buff_id = 15; + int32 retcode = 1; + bool is_mp = 9; + uint32 slot_id = 8; +} diff --git a/gate-hk4e-api/proto/ChapterState.pb.go b/gate-hk4e-api/proto/ChapterState.pb.go new file mode 100644 index 00000000..80d86d48 --- /dev/null +++ b/gate-hk4e-api/proto/ChapterState.pb.go @@ -0,0 +1,154 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChapterState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChapterState int32 + +const ( + ChapterState_CHAPTER_STATE_INVALID ChapterState = 0 + ChapterState_CHAPTER_STATE_UNABLE_TO_BEGIN ChapterState = 1 + ChapterState_CHAPTER_STATE_BEGIN ChapterState = 2 + ChapterState_CHAPTER_STATE_END ChapterState = 3 +) + +// Enum value maps for ChapterState. +var ( + ChapterState_name = map[int32]string{ + 0: "CHAPTER_STATE_INVALID", + 1: "CHAPTER_STATE_UNABLE_TO_BEGIN", + 2: "CHAPTER_STATE_BEGIN", + 3: "CHAPTER_STATE_END", + } + ChapterState_value = map[string]int32{ + "CHAPTER_STATE_INVALID": 0, + "CHAPTER_STATE_UNABLE_TO_BEGIN": 1, + "CHAPTER_STATE_BEGIN": 2, + "CHAPTER_STATE_END": 3, + } +) + +func (x ChapterState) Enum() *ChapterState { + p := new(ChapterState) + *p = x + return p +} + +func (x ChapterState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChapterState) Descriptor() protoreflect.EnumDescriptor { + return file_ChapterState_proto_enumTypes[0].Descriptor() +} + +func (ChapterState) Type() protoreflect.EnumType { + return &file_ChapterState_proto_enumTypes[0] +} + +func (x ChapterState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChapterState.Descriptor instead. +func (ChapterState) EnumDescriptor() ([]byte, []int) { + return file_ChapterState_proto_rawDescGZIP(), []int{0} +} + +var File_ChapterState_proto protoreflect.FileDescriptor + +var file_ChapterState_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x7c, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x48, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, + 0x21, 0x0a, 0x1d, 0x43, 0x48, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x55, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x42, 0x45, 0x47, 0x49, 0x4e, + 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x42, 0x45, 0x47, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, + 0x48, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x44, + 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChapterState_proto_rawDescOnce sync.Once + file_ChapterState_proto_rawDescData = file_ChapterState_proto_rawDesc +) + +func file_ChapterState_proto_rawDescGZIP() []byte { + file_ChapterState_proto_rawDescOnce.Do(func() { + file_ChapterState_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChapterState_proto_rawDescData) + }) + return file_ChapterState_proto_rawDescData +} + +var file_ChapterState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ChapterState_proto_goTypes = []interface{}{ + (ChapterState)(0), // 0: ChapterState +} +var file_ChapterState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChapterState_proto_init() } +func file_ChapterState_proto_init() { + if File_ChapterState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChapterState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChapterState_proto_goTypes, + DependencyIndexes: file_ChapterState_proto_depIdxs, + EnumInfos: file_ChapterState_proto_enumTypes, + }.Build() + File_ChapterState_proto = out.File + file_ChapterState_proto_rawDesc = nil + file_ChapterState_proto_goTypes = nil + file_ChapterState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChapterState.proto b/gate-hk4e-api/proto/ChapterState.proto new file mode 100644 index 00000000..74338d9a --- /dev/null +++ b/gate-hk4e-api/proto/ChapterState.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ChapterState { + CHAPTER_STATE_INVALID = 0; + CHAPTER_STATE_UNABLE_TO_BEGIN = 1; + CHAPTER_STATE_BEGIN = 2; + CHAPTER_STATE_END = 3; +} diff --git a/gate-hk4e-api/proto/ChapterStateNotify.pb.go b/gate-hk4e-api/proto/ChapterStateNotify.pb.go new file mode 100644 index 00000000..66f8909c --- /dev/null +++ b/gate-hk4e-api/proto/ChapterStateNotify.pb.go @@ -0,0 +1,353 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChapterStateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 405 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChapterStateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterState ChapterState `protobuf:"varint,9,opt,name=chapter_state,json=chapterState,proto3,enum=ChapterState" json:"chapter_state,omitempty"` + NeedPlayerLevel *ChapterStateNotify_NeedPlayerLevel `protobuf:"bytes,10,opt,name=need_player_level,json=needPlayerLevel,proto3" json:"need_player_level,omitempty"` + NeedBeginTime *ChapterStateNotify_NeedBeginTime `protobuf:"bytes,1,opt,name=need_begin_time,json=needBeginTime,proto3" json:"need_begin_time,omitempty"` + ChapterId uint32 `protobuf:"varint,2,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *ChapterStateNotify) Reset() { + *x = ChapterStateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChapterStateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChapterStateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChapterStateNotify) ProtoMessage() {} + +func (x *ChapterStateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChapterStateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChapterStateNotify.ProtoReflect.Descriptor instead. +func (*ChapterStateNotify) Descriptor() ([]byte, []int) { + return file_ChapterStateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChapterStateNotify) GetChapterState() ChapterState { + if x != nil { + return x.ChapterState + } + return ChapterState_CHAPTER_STATE_INVALID +} + +func (x *ChapterStateNotify) GetNeedPlayerLevel() *ChapterStateNotify_NeedPlayerLevel { + if x != nil { + return x.NeedPlayerLevel + } + return nil +} + +func (x *ChapterStateNotify) GetNeedBeginTime() *ChapterStateNotify_NeedBeginTime { + if x != nil { + return x.NeedBeginTime + } + return nil +} + +func (x *ChapterStateNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +type ChapterStateNotify_NeedPlayerLevel struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsLimit bool `protobuf:"varint,2,opt,name=is_limit,json=isLimit,proto3" json:"is_limit,omitempty"` + ConfigNeedPlayerLevel uint32 `protobuf:"varint,11,opt,name=config_need_player_level,json=configNeedPlayerLevel,proto3" json:"config_need_player_level,omitempty"` +} + +func (x *ChapterStateNotify_NeedPlayerLevel) Reset() { + *x = ChapterStateNotify_NeedPlayerLevel{} + if protoimpl.UnsafeEnabled { + mi := &file_ChapterStateNotify_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChapterStateNotify_NeedPlayerLevel) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChapterStateNotify_NeedPlayerLevel) ProtoMessage() {} + +func (x *ChapterStateNotify_NeedPlayerLevel) ProtoReflect() protoreflect.Message { + mi := &file_ChapterStateNotify_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChapterStateNotify_NeedPlayerLevel.ProtoReflect.Descriptor instead. +func (*ChapterStateNotify_NeedPlayerLevel) Descriptor() ([]byte, []int) { + return file_ChapterStateNotify_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ChapterStateNotify_NeedPlayerLevel) GetIsLimit() bool { + if x != nil { + return x.IsLimit + } + return false +} + +func (x *ChapterStateNotify_NeedPlayerLevel) GetConfigNeedPlayerLevel() uint32 { + if x != nil { + return x.ConfigNeedPlayerLevel + } + return 0 +} + +type ChapterStateNotify_NeedBeginTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigNeedBeginTime uint32 `protobuf:"varint,3,opt,name=config_need_begin_time,json=configNeedBeginTime,proto3" json:"config_need_begin_time,omitempty"` + IsLimit bool `protobuf:"varint,7,opt,name=is_limit,json=isLimit,proto3" json:"is_limit,omitempty"` +} + +func (x *ChapterStateNotify_NeedBeginTime) Reset() { + *x = ChapterStateNotify_NeedBeginTime{} + if protoimpl.UnsafeEnabled { + mi := &file_ChapterStateNotify_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChapterStateNotify_NeedBeginTime) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChapterStateNotify_NeedBeginTime) ProtoMessage() {} + +func (x *ChapterStateNotify_NeedBeginTime) ProtoReflect() protoreflect.Message { + mi := &file_ChapterStateNotify_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChapterStateNotify_NeedBeginTime.ProtoReflect.Descriptor instead. +func (*ChapterStateNotify_NeedBeginTime) Descriptor() ([]byte, []int) { + return file_ChapterStateNotify_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *ChapterStateNotify_NeedBeginTime) GetConfigNeedBeginTime() uint32 { + if x != nil { + return x.ConfigNeedBeginTime + } + return 0 +} + +func (x *ChapterStateNotify_NeedBeginTime) GetIsLimit() bool { + if x != nil { + return x.IsLimit + } + return false +} + +var File_ChapterStateNotify_proto protoreflect.FileDescriptor + +var file_ChapterStateNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x43, 0x68, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, + 0x03, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x32, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x43, + 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x63, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x11, 0x6e, 0x65, 0x65, + 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x4e, 0x65, 0x65, 0x64, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, 0x6e, 0x65, 0x65, 0x64, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x49, 0x0a, 0x0f, 0x6e, 0x65, + 0x65, 0x64, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x65, 0x67, + 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x6e, 0x65, 0x65, 0x64, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x1a, 0x65, 0x0a, 0x0f, 0x4e, 0x65, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6e, 0x65, 0x65, + 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x65, 0x65, 0x64, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x1a, 0x5f, 0x0a, 0x0d, 0x4e, + 0x65, 0x65, 0x64, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x62, 0x65, 0x67, 0x69, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChapterStateNotify_proto_rawDescOnce sync.Once + file_ChapterStateNotify_proto_rawDescData = file_ChapterStateNotify_proto_rawDesc +) + +func file_ChapterStateNotify_proto_rawDescGZIP() []byte { + file_ChapterStateNotify_proto_rawDescOnce.Do(func() { + file_ChapterStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChapterStateNotify_proto_rawDescData) + }) + return file_ChapterStateNotify_proto_rawDescData +} + +var file_ChapterStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_ChapterStateNotify_proto_goTypes = []interface{}{ + (*ChapterStateNotify)(nil), // 0: ChapterStateNotify + (*ChapterStateNotify_NeedPlayerLevel)(nil), // 1: ChapterStateNotify.NeedPlayerLevel + (*ChapterStateNotify_NeedBeginTime)(nil), // 2: ChapterStateNotify.NeedBeginTime + (ChapterState)(0), // 3: ChapterState +} +var file_ChapterStateNotify_proto_depIdxs = []int32{ + 3, // 0: ChapterStateNotify.chapter_state:type_name -> ChapterState + 1, // 1: ChapterStateNotify.need_player_level:type_name -> ChapterStateNotify.NeedPlayerLevel + 2, // 2: ChapterStateNotify.need_begin_time:type_name -> ChapterStateNotify.NeedBeginTime + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ChapterStateNotify_proto_init() } +func file_ChapterStateNotify_proto_init() { + if File_ChapterStateNotify_proto != nil { + return + } + file_ChapterState_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChapterStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChapterStateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ChapterStateNotify_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChapterStateNotify_NeedPlayerLevel); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ChapterStateNotify_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChapterStateNotify_NeedBeginTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChapterStateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChapterStateNotify_proto_goTypes, + DependencyIndexes: file_ChapterStateNotify_proto_depIdxs, + MessageInfos: file_ChapterStateNotify_proto_msgTypes, + }.Build() + File_ChapterStateNotify_proto = out.File + file_ChapterStateNotify_proto_rawDesc = nil + file_ChapterStateNotify_proto_goTypes = nil + file_ChapterStateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChapterStateNotify.proto b/gate-hk4e-api/proto/ChapterStateNotify.proto new file mode 100644 index 00000000..20df2e21 --- /dev/null +++ b/gate-hk4e-api/proto/ChapterStateNotify.proto @@ -0,0 +1,41 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChapterState.proto"; + +option go_package = "./;proto"; + +// CmdId: 405 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChapterStateNotify { + ChapterState chapter_state = 9; + NeedPlayerLevel need_player_level = 10; + NeedBeginTime need_begin_time = 1; + uint32 chapter_id = 2; + + message NeedPlayerLevel { + bool is_limit = 2; + uint32 config_need_player_level = 11; + } + + message NeedBeginTime { + uint32 config_need_begin_time = 3; + bool is_limit = 7; + } +} diff --git a/gate-hk4e-api/proto/ChatChannelDataNotify.pb.go b/gate-hk4e-api/proto/ChatChannelDataNotify.pb.go new file mode 100644 index 00000000..b0e02688 --- /dev/null +++ b/gate-hk4e-api/proto/ChatChannelDataNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChatChannelDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4998 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChatChannelDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChannelList []uint32 `protobuf:"varint,3,rep,packed,name=channel_list,json=channelList,proto3" json:"channel_list,omitempty"` +} + +func (x *ChatChannelDataNotify) Reset() { + *x = ChatChannelDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatChannelDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatChannelDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatChannelDataNotify) ProtoMessage() {} + +func (x *ChatChannelDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChatChannelDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatChannelDataNotify.ProtoReflect.Descriptor instead. +func (*ChatChannelDataNotify) Descriptor() ([]byte, []int) { + return file_ChatChannelDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatChannelDataNotify) GetChannelList() []uint32 { + if x != nil { + return x.ChannelList + } + return nil +} + +var File_ChatChannelDataNotify_proto protoreflect.FileDescriptor + +var file_ChatChannelDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, + 0x15, 0x43, 0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChatChannelDataNotify_proto_rawDescOnce sync.Once + file_ChatChannelDataNotify_proto_rawDescData = file_ChatChannelDataNotify_proto_rawDesc +) + +func file_ChatChannelDataNotify_proto_rawDescGZIP() []byte { + file_ChatChannelDataNotify_proto_rawDescOnce.Do(func() { + file_ChatChannelDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatChannelDataNotify_proto_rawDescData) + }) + return file_ChatChannelDataNotify_proto_rawDescData +} + +var file_ChatChannelDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChatChannelDataNotify_proto_goTypes = []interface{}{ + (*ChatChannelDataNotify)(nil), // 0: ChatChannelDataNotify +} +var file_ChatChannelDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChatChannelDataNotify_proto_init() } +func file_ChatChannelDataNotify_proto_init() { + if File_ChatChannelDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChatChannelDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatChannelDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChatChannelDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChatChannelDataNotify_proto_goTypes, + DependencyIndexes: file_ChatChannelDataNotify_proto_depIdxs, + MessageInfos: file_ChatChannelDataNotify_proto_msgTypes, + }.Build() + File_ChatChannelDataNotify_proto = out.File + file_ChatChannelDataNotify_proto_rawDesc = nil + file_ChatChannelDataNotify_proto_goTypes = nil + file_ChatChannelDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChatChannelDataNotify.proto b/gate-hk4e-api/proto/ChatChannelDataNotify.proto new file mode 100644 index 00000000..fea6ef70 --- /dev/null +++ b/gate-hk4e-api/proto/ChatChannelDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4998 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChatChannelDataNotify { + repeated uint32 channel_list = 3; +} diff --git a/gate-hk4e-api/proto/ChatChannelUpdateNotify.pb.go b/gate-hk4e-api/proto/ChatChannelUpdateNotify.pb.go new file mode 100644 index 00000000..7b66934a --- /dev/null +++ b/gate-hk4e-api/proto/ChatChannelUpdateNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChatChannelUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5025 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChatChannelUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + IsCreate bool `protobuf:"varint,15,opt,name=is_create,json=isCreate,proto3" json:"is_create,omitempty"` +} + +func (x *ChatChannelUpdateNotify) Reset() { + *x = ChatChannelUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatChannelUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatChannelUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatChannelUpdateNotify) ProtoMessage() {} + +func (x *ChatChannelUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChatChannelUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatChannelUpdateNotify.ProtoReflect.Descriptor instead. +func (*ChatChannelUpdateNotify) Descriptor() ([]byte, []int) { + return file_ChatChannelUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatChannelUpdateNotify) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +func (x *ChatChannelUpdateNotify) GetIsCreate() bool { + if x != nil { + return x.IsCreate + } + return false +} + +var File_ChatChannelUpdateNotify_proto protoreflect.FileDescriptor + +var file_ChatChannelUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x55, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChatChannelUpdateNotify_proto_rawDescOnce sync.Once + file_ChatChannelUpdateNotify_proto_rawDescData = file_ChatChannelUpdateNotify_proto_rawDesc +) + +func file_ChatChannelUpdateNotify_proto_rawDescGZIP() []byte { + file_ChatChannelUpdateNotify_proto_rawDescOnce.Do(func() { + file_ChatChannelUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatChannelUpdateNotify_proto_rawDescData) + }) + return file_ChatChannelUpdateNotify_proto_rawDescData +} + +var file_ChatChannelUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChatChannelUpdateNotify_proto_goTypes = []interface{}{ + (*ChatChannelUpdateNotify)(nil), // 0: ChatChannelUpdateNotify +} +var file_ChatChannelUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChatChannelUpdateNotify_proto_init() } +func file_ChatChannelUpdateNotify_proto_init() { + if File_ChatChannelUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChatChannelUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatChannelUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChatChannelUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChatChannelUpdateNotify_proto_goTypes, + DependencyIndexes: file_ChatChannelUpdateNotify_proto_depIdxs, + MessageInfos: file_ChatChannelUpdateNotify_proto_msgTypes, + }.Build() + File_ChatChannelUpdateNotify_proto = out.File + file_ChatChannelUpdateNotify_proto_rawDesc = nil + file_ChatChannelUpdateNotify_proto_goTypes = nil + file_ChatChannelUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChatChannelUpdateNotify.proto b/gate-hk4e-api/proto/ChatChannelUpdateNotify.proto new file mode 100644 index 00000000..0ecfa833 --- /dev/null +++ b/gate-hk4e-api/proto/ChatChannelUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5025 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChatChannelUpdateNotify { + uint32 channel_id = 3; + bool is_create = 15; +} diff --git a/gate-hk4e-api/proto/ChatEmojiCollectionData.pb.go b/gate-hk4e-api/proto/ChatEmojiCollectionData.pb.go new file mode 100644 index 00000000..44173404 --- /dev/null +++ b/gate-hk4e-api/proto/ChatEmojiCollectionData.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChatEmojiCollectionData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChatEmojiCollectionData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EmojiIdList []uint32 `protobuf:"varint,1,rep,packed,name=emoji_id_list,json=emojiIdList,proto3" json:"emoji_id_list,omitempty"` +} + +func (x *ChatEmojiCollectionData) Reset() { + *x = ChatEmojiCollectionData{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatEmojiCollectionData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatEmojiCollectionData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatEmojiCollectionData) ProtoMessage() {} + +func (x *ChatEmojiCollectionData) ProtoReflect() protoreflect.Message { + mi := &file_ChatEmojiCollectionData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatEmojiCollectionData.ProtoReflect.Descriptor instead. +func (*ChatEmojiCollectionData) Descriptor() ([]byte, []int) { + return file_ChatEmojiCollectionData_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatEmojiCollectionData) GetEmojiIdList() []uint32 { + if x != nil { + return x.EmojiIdList + } + return nil +} + +var File_ChatEmojiCollectionData_proto protoreflect.FileDescriptor + +var file_ChatEmojiCollectionData_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3d, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6d, + 0x6f, 0x6a, 0x69, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0b, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChatEmojiCollectionData_proto_rawDescOnce sync.Once + file_ChatEmojiCollectionData_proto_rawDescData = file_ChatEmojiCollectionData_proto_rawDesc +) + +func file_ChatEmojiCollectionData_proto_rawDescGZIP() []byte { + file_ChatEmojiCollectionData_proto_rawDescOnce.Do(func() { + file_ChatEmojiCollectionData_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatEmojiCollectionData_proto_rawDescData) + }) + return file_ChatEmojiCollectionData_proto_rawDescData +} + +var file_ChatEmojiCollectionData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChatEmojiCollectionData_proto_goTypes = []interface{}{ + (*ChatEmojiCollectionData)(nil), // 0: ChatEmojiCollectionData +} +var file_ChatEmojiCollectionData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChatEmojiCollectionData_proto_init() } +func file_ChatEmojiCollectionData_proto_init() { + if File_ChatEmojiCollectionData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChatEmojiCollectionData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatEmojiCollectionData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChatEmojiCollectionData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChatEmojiCollectionData_proto_goTypes, + DependencyIndexes: file_ChatEmojiCollectionData_proto_depIdxs, + MessageInfos: file_ChatEmojiCollectionData_proto_msgTypes, + }.Build() + File_ChatEmojiCollectionData_proto = out.File + file_ChatEmojiCollectionData_proto_rawDesc = nil + file_ChatEmojiCollectionData_proto_goTypes = nil + file_ChatEmojiCollectionData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChatEmojiCollectionData.proto b/gate-hk4e-api/proto/ChatEmojiCollectionData.proto new file mode 100644 index 00000000..e2e6f7bc --- /dev/null +++ b/gate-hk4e-api/proto/ChatEmojiCollectionData.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChatEmojiCollectionData { + repeated uint32 emoji_id_list = 1; +} diff --git a/gate-hk4e-api/proto/ChatHistoryNotify.pb.go b/gate-hk4e-api/proto/ChatHistoryNotify.pb.go new file mode 100644 index 00000000..a4d280cc --- /dev/null +++ b/gate-hk4e-api/proto/ChatHistoryNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChatHistoryNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3496 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChatHistoryNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatInfo []*ChatInfo `protobuf:"bytes,9,rep,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` + ChannelId uint32 `protobuf:"varint,12,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` +} + +func (x *ChatHistoryNotify) Reset() { + *x = ChatHistoryNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatHistoryNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatHistoryNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatHistoryNotify) ProtoMessage() {} + +func (x *ChatHistoryNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChatHistoryNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatHistoryNotify.ProtoReflect.Descriptor instead. +func (*ChatHistoryNotify) Descriptor() ([]byte, []int) { + return file_ChatHistoryNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatHistoryNotify) GetChatInfo() []*ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +func (x *ChatHistoryNotify) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +var File_ChatHistoryNotify_proto protoreflect.FileDescriptor + +var file_ChatHistoryNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x61, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x11, 0x43, 0x68, 0x61, + 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, + 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChatHistoryNotify_proto_rawDescOnce sync.Once + file_ChatHistoryNotify_proto_rawDescData = file_ChatHistoryNotify_proto_rawDesc +) + +func file_ChatHistoryNotify_proto_rawDescGZIP() []byte { + file_ChatHistoryNotify_proto_rawDescOnce.Do(func() { + file_ChatHistoryNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatHistoryNotify_proto_rawDescData) + }) + return file_ChatHistoryNotify_proto_rawDescData +} + +var file_ChatHistoryNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChatHistoryNotify_proto_goTypes = []interface{}{ + (*ChatHistoryNotify)(nil), // 0: ChatHistoryNotify + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_ChatHistoryNotify_proto_depIdxs = []int32{ + 1, // 0: ChatHistoryNotify.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChatHistoryNotify_proto_init() } +func file_ChatHistoryNotify_proto_init() { + if File_ChatHistoryNotify_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChatHistoryNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatHistoryNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChatHistoryNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChatHistoryNotify_proto_goTypes, + DependencyIndexes: file_ChatHistoryNotify_proto_depIdxs, + MessageInfos: file_ChatHistoryNotify_proto_msgTypes, + }.Build() + File_ChatHistoryNotify_proto = out.File + file_ChatHistoryNotify_proto_rawDesc = nil + file_ChatHistoryNotify_proto_goTypes = nil + file_ChatHistoryNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChatHistoryNotify.proto b/gate-hk4e-api/proto/ChatHistoryNotify.proto new file mode 100644 index 00000000..aed27b6b --- /dev/null +++ b/gate-hk4e-api/proto/ChatHistoryNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3496 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChatHistoryNotify { + repeated ChatInfo chat_info = 9; + uint32 channel_id = 12; +} diff --git a/gate-hk4e-api/proto/ChatInfo.pb.go b/gate-hk4e-api/proto/ChatInfo.pb.go new file mode 100644 index 00000000..5678cfd1 --- /dev/null +++ b/gate-hk4e-api/proto/ChatInfo.pb.go @@ -0,0 +1,385 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChatInfo_SystemHintType int32 + +const ( + ChatInfo_SYSTEM_HINT_TYPE_CHAT_NONE ChatInfo_SystemHintType = 0 + ChatInfo_SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD ChatInfo_SystemHintType = 1 + ChatInfo_SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD ChatInfo_SystemHintType = 2 +) + +// Enum value maps for ChatInfo_SystemHintType. +var ( + ChatInfo_SystemHintType_name = map[int32]string{ + 0: "SYSTEM_HINT_TYPE_CHAT_NONE", + 1: "SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD", + 2: "SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD", + } + ChatInfo_SystemHintType_value = map[string]int32{ + "SYSTEM_HINT_TYPE_CHAT_NONE": 0, + "SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD": 1, + "SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD": 2, + } +) + +func (x ChatInfo_SystemHintType) Enum() *ChatInfo_SystemHintType { + p := new(ChatInfo_SystemHintType) + *p = x + return p +} + +func (x ChatInfo_SystemHintType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChatInfo_SystemHintType) Descriptor() protoreflect.EnumDescriptor { + return file_ChatInfo_proto_enumTypes[0].Descriptor() +} + +func (ChatInfo_SystemHintType) Type() protoreflect.EnumType { + return &file_ChatInfo_proto_enumTypes[0] +} + +func (x ChatInfo_SystemHintType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChatInfo_SystemHintType.Descriptor instead. +func (ChatInfo_SystemHintType) EnumDescriptor() ([]byte, []int) { + return file_ChatInfo_proto_rawDescGZIP(), []int{0, 0} +} + +type ChatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Time uint32 `protobuf:"varint,13,opt,name=time,proto3" json:"time,omitempty"` + Sequence uint32 `protobuf:"varint,10,opt,name=sequence,proto3" json:"sequence,omitempty"` + ToUid uint32 `protobuf:"varint,7,opt,name=to_uid,json=toUid,proto3" json:"to_uid,omitempty"` + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + IsRead bool `protobuf:"varint,5,opt,name=is_read,json=isRead,proto3" json:"is_read,omitempty"` + // Types that are assignable to Content: + // *ChatInfo_Text + // *ChatInfo_Icon + // *ChatInfo_SystemHint_ + Content isChatInfo_Content `protobuf_oneof:"content"` +} + +func (x *ChatInfo) Reset() { + *x = ChatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatInfo) ProtoMessage() {} + +func (x *ChatInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatInfo.ProtoReflect.Descriptor instead. +func (*ChatInfo) Descriptor() ([]byte, []int) { + return file_ChatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatInfo) GetTime() uint32 { + if x != nil { + return x.Time + } + return 0 +} + +func (x *ChatInfo) GetSequence() uint32 { + if x != nil { + return x.Sequence + } + return 0 +} + +func (x *ChatInfo) GetToUid() uint32 { + if x != nil { + return x.ToUid + } + return 0 +} + +func (x *ChatInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *ChatInfo) GetIsRead() bool { + if x != nil { + return x.IsRead + } + return false +} + +func (m *ChatInfo) GetContent() isChatInfo_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *ChatInfo) GetText() string { + if x, ok := x.GetContent().(*ChatInfo_Text); ok { + return x.Text + } + return "" +} + +func (x *ChatInfo) GetIcon() uint32 { + if x, ok := x.GetContent().(*ChatInfo_Icon); ok { + return x.Icon + } + return 0 +} + +func (x *ChatInfo) GetSystemHint() *ChatInfo_SystemHint { + if x, ok := x.GetContent().(*ChatInfo_SystemHint_); ok { + return x.SystemHint + } + return nil +} + +type isChatInfo_Content interface { + isChatInfo_Content() +} + +type ChatInfo_Text struct { + Text string `protobuf:"bytes,1946,opt,name=text,proto3,oneof"` +} + +type ChatInfo_Icon struct { + Icon uint32 `protobuf:"varint,914,opt,name=icon,proto3,oneof"` +} + +type ChatInfo_SystemHint_ struct { + SystemHint *ChatInfo_SystemHint `protobuf:"bytes,1753,opt,name=system_hint,json=systemHint,proto3,oneof"` +} + +func (*ChatInfo_Text) isChatInfo_Content() {} + +func (*ChatInfo_Icon) isChatInfo_Content() {} + +func (*ChatInfo_SystemHint_) isChatInfo_Content() {} + +type ChatInfo_SystemHint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type uint32 `protobuf:"varint,14,opt,name=type,proto3" json:"type,omitempty"` +} + +func (x *ChatInfo_SystemHint) Reset() { + *x = ChatInfo_SystemHint{} + if protoimpl.UnsafeEnabled { + mi := &file_ChatInfo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatInfo_SystemHint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatInfo_SystemHint) ProtoMessage() {} + +func (x *ChatInfo_SystemHint) ProtoReflect() protoreflect.Message { + mi := &file_ChatInfo_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatInfo_SystemHint.ProtoReflect.Descriptor instead. +func (*ChatInfo_SystemHint) Descriptor() ([]byte, []int) { + return file_ChatInfo_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ChatInfo_SystemHint) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +var File_ChatInfo_proto protoreflect.FileDescriptor + +var file_ChatInfo_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x91, 0x03, 0x0a, 0x08, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x15, 0x0a, + 0x06, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, + 0x6f, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x61, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, + 0x15, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x9a, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x15, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x92, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x38, 0x0a, + 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0xd9, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x1a, 0x20, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7e, 0x0a, 0x0e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x53, + 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x43, 0x48, 0x41, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x53, + 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x43, 0x48, 0x41, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, + 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x48, 0x49, 0x4e, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x4c, 0x45, 0x41, 0x56, + 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChatInfo_proto_rawDescOnce sync.Once + file_ChatInfo_proto_rawDescData = file_ChatInfo_proto_rawDesc +) + +func file_ChatInfo_proto_rawDescGZIP() []byte { + file_ChatInfo_proto_rawDescOnce.Do(func() { + file_ChatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatInfo_proto_rawDescData) + }) + return file_ChatInfo_proto_rawDescData +} + +var file_ChatInfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ChatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ChatInfo_proto_goTypes = []interface{}{ + (ChatInfo_SystemHintType)(0), // 0: ChatInfo.SystemHintType + (*ChatInfo)(nil), // 1: ChatInfo + (*ChatInfo_SystemHint)(nil), // 2: ChatInfo.SystemHint +} +var file_ChatInfo_proto_depIdxs = []int32{ + 2, // 0: ChatInfo.system_hint:type_name -> ChatInfo.SystemHint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChatInfo_proto_init() } +func file_ChatInfo_proto_init() { + if File_ChatInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ChatInfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatInfo_SystemHint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ChatInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ChatInfo_Text)(nil), + (*ChatInfo_Icon)(nil), + (*ChatInfo_SystemHint_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChatInfo_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChatInfo_proto_goTypes, + DependencyIndexes: file_ChatInfo_proto_depIdxs, + EnumInfos: file_ChatInfo_proto_enumTypes, + MessageInfos: file_ChatInfo_proto_msgTypes, + }.Build() + File_ChatInfo_proto = out.File + file_ChatInfo_proto_rawDesc = nil + file_ChatInfo_proto_goTypes = nil + file_ChatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChatInfo.proto b/gate-hk4e-api/proto/ChatInfo.proto new file mode 100644 index 00000000..c8e464fe --- /dev/null +++ b/gate-hk4e-api/proto/ChatInfo.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChatInfo { + uint32 time = 13; + uint32 sequence = 10; + uint32 to_uid = 7; + uint32 uid = 15; + bool is_read = 5; + oneof content { + string text = 1946; + uint32 icon = 914; + SystemHint system_hint = 1753; + } + + enum SystemHintType { + SYSTEM_HINT_TYPE_CHAT_NONE = 0; + SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1; + SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2; + } + + message SystemHint { + uint32 type = 14; + } +} diff --git a/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.pb.go b/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.pb.go new file mode 100644 index 00000000..882f1206 --- /dev/null +++ b/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.pb.go @@ -0,0 +1,266 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CheckAddItemExceedLimitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType int32 + +const ( + CheckAddItemExceedLimitNotify_ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType = 0 + CheckAddItemExceedLimitNotify_ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType = 1 + CheckAddItemExceedLimitNotify_ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType = 2 + CheckAddItemExceedLimitNotify_ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType = 3 +) + +// Enum value maps for CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType. +var ( + CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType_name = map[int32]string{ + 0: "ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT", + 1: "ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT", + 2: "ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG", + 3: "ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF", + } + CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType_value = map[string]int32{ + "ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT": 0, + "ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT": 1, + "ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG": 2, + "ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF": 3, + } +) + +func (x CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) Enum() *CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType { + p := new(CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) + *p = x + return p +} + +func (x CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) Descriptor() protoreflect.EnumDescriptor { + return file_CheckAddItemExceedLimitNotify_proto_enumTypes[0].Descriptor() +} + +func (CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) Type() protoreflect.EnumType { + return &file_CheckAddItemExceedLimitNotify_proto_enumTypes[0] +} + +func (x CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType.Descriptor instead. +func (CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType) EnumDescriptor() ([]byte, []int) { + return file_CheckAddItemExceedLimitNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 692 +// EnetChannelId: 0 +// EnetIsReliable: true +type CheckAddItemExceedLimitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDrop bool `protobuf:"varint,5,opt,name=is_drop,json=isDrop,proto3" json:"is_drop,omitempty"` + ExceededItemTypeList []uint32 `protobuf:"varint,10,rep,packed,name=exceeded_item_type_list,json=exceededItemTypeList,proto3" json:"exceeded_item_type_list,omitempty"` + ExceededItemList []uint32 `protobuf:"varint,12,rep,packed,name=exceeded_item_list,json=exceededItemList,proto3" json:"exceeded_item_list,omitempty"` + MsgType CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType `protobuf:"varint,4,opt,name=msg_type,json=msgType,proto3,enum=CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType" json:"msg_type,omitempty"` +} + +func (x *CheckAddItemExceedLimitNotify) Reset() { + *x = CheckAddItemExceedLimitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CheckAddItemExceedLimitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckAddItemExceedLimitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckAddItemExceedLimitNotify) ProtoMessage() {} + +func (x *CheckAddItemExceedLimitNotify) ProtoReflect() protoreflect.Message { + mi := &file_CheckAddItemExceedLimitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckAddItemExceedLimitNotify.ProtoReflect.Descriptor instead. +func (*CheckAddItemExceedLimitNotify) Descriptor() ([]byte, []int) { + return file_CheckAddItemExceedLimitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CheckAddItemExceedLimitNotify) GetIsDrop() bool { + if x != nil { + return x.IsDrop + } + return false +} + +func (x *CheckAddItemExceedLimitNotify) GetExceededItemTypeList() []uint32 { + if x != nil { + return x.ExceededItemTypeList + } + return nil +} + +func (x *CheckAddItemExceedLimitNotify) GetExceededItemList() []uint32 { + if x != nil { + return x.ExceededItemList + } + return nil +} + +func (x *CheckAddItemExceedLimitNotify) GetMsgType() CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType { + if x != nil { + return x.MsgType + } + return CheckAddItemExceedLimitNotify_ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT +} + +var File_CheckAddItemExceedLimitNotify_proto protoreflect.FileDescriptor + +var file_CheckAddItemExceedLimitNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, + 0x63, 0x65, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x1d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, + 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x72, + 0x6f, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x72, 0x6f, 0x70, + 0x12, 0x35, 0x0a, 0x17, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x14, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x54, + 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x63, 0x65, 0x65, + 0x64, 0x65, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x49, 0x74, 0x65, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x08, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, + 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x78, 0x63, 0x65, + 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, + 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x16, 0x49, 0x74, 0x65, 0x6d, + 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x49, 0x54, + 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, + 0x4d, 0x53, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, + 0x25, 0x0a, 0x21, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, + 0x41, 0x4c, 0x4f, 0x47, 0x10, 0x02, 0x12, 0x32, 0x0a, 0x2e, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, + 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4d, 0x53, 0x47, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x4e, + 0x4c, 0x47, 0x45, 0x45, 0x45, 0x42, 0x42, 0x46, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CheckAddItemExceedLimitNotify_proto_rawDescOnce sync.Once + file_CheckAddItemExceedLimitNotify_proto_rawDescData = file_CheckAddItemExceedLimitNotify_proto_rawDesc +) + +func file_CheckAddItemExceedLimitNotify_proto_rawDescGZIP() []byte { + file_CheckAddItemExceedLimitNotify_proto_rawDescOnce.Do(func() { + file_CheckAddItemExceedLimitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CheckAddItemExceedLimitNotify_proto_rawDescData) + }) + return file_CheckAddItemExceedLimitNotify_proto_rawDescData +} + +var file_CheckAddItemExceedLimitNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CheckAddItemExceedLimitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CheckAddItemExceedLimitNotify_proto_goTypes = []interface{}{ + (CheckAddItemExceedLimitNotify_ItemExceedLimitMsgType)(0), // 0: CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType + (*CheckAddItemExceedLimitNotify)(nil), // 1: CheckAddItemExceedLimitNotify +} +var file_CheckAddItemExceedLimitNotify_proto_depIdxs = []int32{ + 0, // 0: CheckAddItemExceedLimitNotify.msg_type:type_name -> CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CheckAddItemExceedLimitNotify_proto_init() } +func file_CheckAddItemExceedLimitNotify_proto_init() { + if File_CheckAddItemExceedLimitNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CheckAddItemExceedLimitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckAddItemExceedLimitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CheckAddItemExceedLimitNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CheckAddItemExceedLimitNotify_proto_goTypes, + DependencyIndexes: file_CheckAddItemExceedLimitNotify_proto_depIdxs, + EnumInfos: file_CheckAddItemExceedLimitNotify_proto_enumTypes, + MessageInfos: file_CheckAddItemExceedLimitNotify_proto_msgTypes, + }.Build() + File_CheckAddItemExceedLimitNotify_proto = out.File + file_CheckAddItemExceedLimitNotify_proto_rawDesc = nil + file_CheckAddItemExceedLimitNotify_proto_goTypes = nil + file_CheckAddItemExceedLimitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.proto b/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.proto new file mode 100644 index 00000000..b2008583 --- /dev/null +++ b/gate-hk4e-api/proto/CheckAddItemExceedLimitNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 692 +// EnetChannelId: 0 +// EnetIsReliable: true +message CheckAddItemExceedLimitNotify { + bool is_drop = 5; + repeated uint32 exceeded_item_type_list = 10; + repeated uint32 exceeded_item_list = 12; + ItemExceedLimitMsgType msg_type = 4; + + enum ItemExceedLimitMsgType { + ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0; + ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1; + ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2; + ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF = 3; + } +} diff --git a/gate-hk4e-api/proto/CheckSegmentCRCNotify.pb.go b/gate-hk4e-api/proto/CheckSegmentCRCNotify.pb.go new file mode 100644 index 00000000..1c6cea2a --- /dev/null +++ b/gate-hk4e-api/proto/CheckSegmentCRCNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CheckSegmentCRCNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 39 +// EnetChannelId: 0 +// EnetIsReliable: true +type CheckSegmentCRCNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*SegmentInfo `protobuf:"bytes,6,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *CheckSegmentCRCNotify) Reset() { + *x = CheckSegmentCRCNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CheckSegmentCRCNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckSegmentCRCNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckSegmentCRCNotify) ProtoMessage() {} + +func (x *CheckSegmentCRCNotify) ProtoReflect() protoreflect.Message { + mi := &file_CheckSegmentCRCNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckSegmentCRCNotify.ProtoReflect.Descriptor instead. +func (*CheckSegmentCRCNotify) Descriptor() ([]byte, []int) { + return file_CheckSegmentCRCNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CheckSegmentCRCNotify) GetInfoList() []*SegmentInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_CheckSegmentCRCNotify_proto protoreflect.FileDescriptor + +var file_CheckSegmentCRCNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x52, + 0x43, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x42, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x52, 0x43, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x09, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CheckSegmentCRCNotify_proto_rawDescOnce sync.Once + file_CheckSegmentCRCNotify_proto_rawDescData = file_CheckSegmentCRCNotify_proto_rawDesc +) + +func file_CheckSegmentCRCNotify_proto_rawDescGZIP() []byte { + file_CheckSegmentCRCNotify_proto_rawDescOnce.Do(func() { + file_CheckSegmentCRCNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CheckSegmentCRCNotify_proto_rawDescData) + }) + return file_CheckSegmentCRCNotify_proto_rawDescData +} + +var file_CheckSegmentCRCNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CheckSegmentCRCNotify_proto_goTypes = []interface{}{ + (*CheckSegmentCRCNotify)(nil), // 0: CheckSegmentCRCNotify + (*SegmentInfo)(nil), // 1: SegmentInfo +} +var file_CheckSegmentCRCNotify_proto_depIdxs = []int32{ + 1, // 0: CheckSegmentCRCNotify.info_list:type_name -> SegmentInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CheckSegmentCRCNotify_proto_init() } +func file_CheckSegmentCRCNotify_proto_init() { + if File_CheckSegmentCRCNotify_proto != nil { + return + } + file_SegmentInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_CheckSegmentCRCNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckSegmentCRCNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CheckSegmentCRCNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CheckSegmentCRCNotify_proto_goTypes, + DependencyIndexes: file_CheckSegmentCRCNotify_proto_depIdxs, + MessageInfos: file_CheckSegmentCRCNotify_proto_msgTypes, + }.Build() + File_CheckSegmentCRCNotify_proto = out.File + file_CheckSegmentCRCNotify_proto_rawDesc = nil + file_CheckSegmentCRCNotify_proto_goTypes = nil + file_CheckSegmentCRCNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CheckSegmentCRCNotify.proto b/gate-hk4e-api/proto/CheckSegmentCRCNotify.proto new file mode 100644 index 00000000..4c116e2e --- /dev/null +++ b/gate-hk4e-api/proto/CheckSegmentCRCNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SegmentInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 39 +// EnetChannelId: 0 +// EnetIsReliable: true +message CheckSegmentCRCNotify { + repeated SegmentInfo info_list = 6; +} diff --git a/gate-hk4e-api/proto/CheckSegmentCRCReq.pb.go b/gate-hk4e-api/proto/CheckSegmentCRCReq.pb.go new file mode 100644 index 00000000..a897a32b --- /dev/null +++ b/gate-hk4e-api/proto/CheckSegmentCRCReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CheckSegmentCRCReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 53 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CheckSegmentCRCReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*SegmentCRCInfo `protobuf:"bytes,1,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *CheckSegmentCRCReq) Reset() { + *x = CheckSegmentCRCReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CheckSegmentCRCReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckSegmentCRCReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckSegmentCRCReq) ProtoMessage() {} + +func (x *CheckSegmentCRCReq) ProtoReflect() protoreflect.Message { + mi := &file_CheckSegmentCRCReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckSegmentCRCReq.ProtoReflect.Descriptor instead. +func (*CheckSegmentCRCReq) Descriptor() ([]byte, []int) { + return file_CheckSegmentCRCReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CheckSegmentCRCReq) GetInfoList() []*SegmentCRCInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_CheckSegmentCRCReq_proto protoreflect.FileDescriptor + +var file_CheckSegmentCRCReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x52, + 0x43, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x53, 0x65, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x43, 0x52, 0x43, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x42, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x52, 0x43, 0x52, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x53, 0x65, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x43, 0x52, 0x43, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CheckSegmentCRCReq_proto_rawDescOnce sync.Once + file_CheckSegmentCRCReq_proto_rawDescData = file_CheckSegmentCRCReq_proto_rawDesc +) + +func file_CheckSegmentCRCReq_proto_rawDescGZIP() []byte { + file_CheckSegmentCRCReq_proto_rawDescOnce.Do(func() { + file_CheckSegmentCRCReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CheckSegmentCRCReq_proto_rawDescData) + }) + return file_CheckSegmentCRCReq_proto_rawDescData +} + +var file_CheckSegmentCRCReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CheckSegmentCRCReq_proto_goTypes = []interface{}{ + (*CheckSegmentCRCReq)(nil), // 0: CheckSegmentCRCReq + (*SegmentCRCInfo)(nil), // 1: SegmentCRCInfo +} +var file_CheckSegmentCRCReq_proto_depIdxs = []int32{ + 1, // 0: CheckSegmentCRCReq.info_list:type_name -> SegmentCRCInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CheckSegmentCRCReq_proto_init() } +func file_CheckSegmentCRCReq_proto_init() { + if File_CheckSegmentCRCReq_proto != nil { + return + } + file_SegmentCRCInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_CheckSegmentCRCReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckSegmentCRCReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CheckSegmentCRCReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CheckSegmentCRCReq_proto_goTypes, + DependencyIndexes: file_CheckSegmentCRCReq_proto_depIdxs, + MessageInfos: file_CheckSegmentCRCReq_proto_msgTypes, + }.Build() + File_CheckSegmentCRCReq_proto = out.File + file_CheckSegmentCRCReq_proto_rawDesc = nil + file_CheckSegmentCRCReq_proto_goTypes = nil + file_CheckSegmentCRCReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CheckSegmentCRCReq.proto b/gate-hk4e-api/proto/CheckSegmentCRCReq.proto new file mode 100644 index 00000000..93816995 --- /dev/null +++ b/gate-hk4e-api/proto/CheckSegmentCRCReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SegmentCRCInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 53 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CheckSegmentCRCReq { + repeated SegmentCRCInfo info_list = 1; +} diff --git a/gate-hk4e-api/proto/ChessActivityDetailInfo.pb.go b/gate-hk4e-api/proto/ChessActivityDetailInfo.pb.go new file mode 100644 index 00000000..ec52f84e --- /dev/null +++ b/gate-hk4e-api/proto/ChessActivityDetailInfo.pb.go @@ -0,0 +1,243 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` + IsTeachDungeonFinished bool `protobuf:"varint,9,opt,name=is_teach_dungeon_finished,json=isTeachDungeonFinished,proto3" json:"is_teach_dungeon_finished,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,14,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + ObtainedExp uint32 `protobuf:"varint,8,opt,name=obtained_exp,json=obtainedExp,proto3" json:"obtained_exp,omitempty"` + IsContentClosed bool `protobuf:"varint,5,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + AvailableExp uint32 `protobuf:"varint,2,opt,name=available_exp,json=availableExp,proto3" json:"available_exp,omitempty"` + Exp uint32 `protobuf:"varint,13,opt,name=exp,proto3" json:"exp,omitempty"` + FinishedMapIdList []uint32 `protobuf:"varint,1,rep,packed,name=finished_map_id_list,json=finishedMapIdList,proto3" json:"finished_map_id_list,omitempty"` + PunishOverTime uint32 `protobuf:"varint,3,opt,name=punish_over_time,json=punishOverTime,proto3" json:"punish_over_time,omitempty"` +} + +func (x *ChessActivityDetailInfo) Reset() { + *x = ChessActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessActivityDetailInfo) ProtoMessage() {} + +func (x *ChessActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*ChessActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_ChessActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessActivityDetailInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *ChessActivityDetailInfo) GetIsTeachDungeonFinished() bool { + if x != nil { + return x.IsTeachDungeonFinished + } + return false +} + +func (x *ChessActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *ChessActivityDetailInfo) GetObtainedExp() uint32 { + if x != nil { + return x.ObtainedExp + } + return 0 +} + +func (x *ChessActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *ChessActivityDetailInfo) GetAvailableExp() uint32 { + if x != nil { + return x.AvailableExp + } + return 0 +} + +func (x *ChessActivityDetailInfo) GetExp() uint32 { + if x != nil { + return x.Exp + } + return 0 +} + +func (x *ChessActivityDetailInfo) GetFinishedMapIdList() []uint32 { + if x != nil { + return x.FinishedMapIdList + } + return nil +} + +func (x *ChessActivityDetailInfo) GetPunishOverTime() uint32 { + if x != nil { + return x.PunishOverTime + } + return 0 +} + +var File_ChessActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_ChessActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xf9, 0x02, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x61, 0x63, 0x68, 0x5f, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x54, 0x65, 0x61, 0x63, 0x68, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x62, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78, 0x70, 0x12, 0x2a, 0x0a, + 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, + 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x12, 0x10, + 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x65, 0x78, 0x70, + 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6d, 0x61, 0x70, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x6f, 0x76, 0x65, 0x72, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x75, 0x6e, + 0x69, 0x73, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessActivityDetailInfo_proto_rawDescOnce sync.Once + file_ChessActivityDetailInfo_proto_rawDescData = file_ChessActivityDetailInfo_proto_rawDesc +) + +func file_ChessActivityDetailInfo_proto_rawDescGZIP() []byte { + file_ChessActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_ChessActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessActivityDetailInfo_proto_rawDescData) + }) + return file_ChessActivityDetailInfo_proto_rawDescData +} + +var file_ChessActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessActivityDetailInfo_proto_goTypes = []interface{}{ + (*ChessActivityDetailInfo)(nil), // 0: ChessActivityDetailInfo +} +var file_ChessActivityDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessActivityDetailInfo_proto_init() } +func file_ChessActivityDetailInfo_proto_init() { + if File_ChessActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_ChessActivityDetailInfo_proto_depIdxs, + MessageInfos: file_ChessActivityDetailInfo_proto_msgTypes, + }.Build() + File_ChessActivityDetailInfo_proto = out.File + file_ChessActivityDetailInfo_proto_rawDesc = nil + file_ChessActivityDetailInfo_proto_goTypes = nil + file_ChessActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessActivityDetailInfo.proto b/gate-hk4e-api/proto/ChessActivityDetailInfo.proto new file mode 100644 index 00000000..fb19c55d --- /dev/null +++ b/gate-hk4e-api/proto/ChessActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChessActivityDetailInfo { + uint32 level = 4; + bool is_teach_dungeon_finished = 9; + uint32 content_close_time = 14; + uint32 obtained_exp = 8; + bool is_content_closed = 5; + uint32 available_exp = 2; + uint32 exp = 13; + repeated uint32 finished_map_id_list = 1; + uint32 punish_over_time = 3; +} diff --git a/gate-hk4e-api/proto/ChessCardInfo.pb.go b/gate-hk4e-api/proto/ChessCardInfo.pb.go new file mode 100644 index 00000000..8aaed392 --- /dev/null +++ b/gate-hk4e-api/proto/ChessCardInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessCardInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessCardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectStack uint32 `protobuf:"varint,12,opt,name=effect_stack,json=effectStack,proto3" json:"effect_stack,omitempty"` + CardId uint32 `protobuf:"varint,11,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *ChessCardInfo) Reset() { + *x = ChessCardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessCardInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessCardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessCardInfo) ProtoMessage() {} + +func (x *ChessCardInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessCardInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessCardInfo.ProtoReflect.Descriptor instead. +func (*ChessCardInfo) Descriptor() ([]byte, []int) { + return file_ChessCardInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessCardInfo) GetEffectStack() uint32 { + if x != nil { + return x.EffectStack + } + return 0 +} + +func (x *ChessCardInfo) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_ChessCardInfo_proto protoreflect.FileDescriptor + +var file_ChessCardInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x43, 0x68, 0x65, 0x73, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x73, 0x73, 0x43, 0x61, + 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessCardInfo_proto_rawDescOnce sync.Once + file_ChessCardInfo_proto_rawDescData = file_ChessCardInfo_proto_rawDesc +) + +func file_ChessCardInfo_proto_rawDescGZIP() []byte { + file_ChessCardInfo_proto_rawDescOnce.Do(func() { + file_ChessCardInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessCardInfo_proto_rawDescData) + }) + return file_ChessCardInfo_proto_rawDescData +} + +var file_ChessCardInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessCardInfo_proto_goTypes = []interface{}{ + (*ChessCardInfo)(nil), // 0: ChessCardInfo +} +var file_ChessCardInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessCardInfo_proto_init() } +func file_ChessCardInfo_proto_init() { + if File_ChessCardInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessCardInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessCardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessCardInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessCardInfo_proto_goTypes, + DependencyIndexes: file_ChessCardInfo_proto_depIdxs, + MessageInfos: file_ChessCardInfo_proto_msgTypes, + }.Build() + File_ChessCardInfo_proto = out.File + file_ChessCardInfo_proto_rawDesc = nil + file_ChessCardInfo_proto_goTypes = nil + file_ChessCardInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessCardInfo.proto b/gate-hk4e-api/proto/ChessCardInfo.proto new file mode 100644 index 00000000..73681484 --- /dev/null +++ b/gate-hk4e-api/proto/ChessCardInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChessCardInfo { + uint32 effect_stack = 12; + uint32 card_id = 11; +} diff --git a/gate-hk4e-api/proto/ChessEntranceDetailInfo.pb.go b/gate-hk4e-api/proto/ChessEntranceDetailInfo.pb.go new file mode 100644 index 00000000..11a21c5f --- /dev/null +++ b/gate-hk4e-api/proto/ChessEntranceDetailInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessEntranceDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessEntranceDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*ChessEntranceInfo `protobuf:"bytes,4,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *ChessEntranceDetailInfo) Reset() { + *x = ChessEntranceDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessEntranceDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessEntranceDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessEntranceDetailInfo) ProtoMessage() {} + +func (x *ChessEntranceDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessEntranceDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessEntranceDetailInfo.ProtoReflect.Descriptor instead. +func (*ChessEntranceDetailInfo) Descriptor() ([]byte, []int) { + return file_ChessEntranceDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessEntranceDetailInfo) GetInfoList() []*ChessEntranceInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_ChessEntranceDetailInfo_proto protoreflect.FileDescriptor + +var file_ChessEntranceDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessEntranceDetailInfo_proto_rawDescOnce sync.Once + file_ChessEntranceDetailInfo_proto_rawDescData = file_ChessEntranceDetailInfo_proto_rawDesc +) + +func file_ChessEntranceDetailInfo_proto_rawDescGZIP() []byte { + file_ChessEntranceDetailInfo_proto_rawDescOnce.Do(func() { + file_ChessEntranceDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessEntranceDetailInfo_proto_rawDescData) + }) + return file_ChessEntranceDetailInfo_proto_rawDescData +} + +var file_ChessEntranceDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessEntranceDetailInfo_proto_goTypes = []interface{}{ + (*ChessEntranceDetailInfo)(nil), // 0: ChessEntranceDetailInfo + (*ChessEntranceInfo)(nil), // 1: ChessEntranceInfo +} +var file_ChessEntranceDetailInfo_proto_depIdxs = []int32{ + 1, // 0: ChessEntranceDetailInfo.info_list:type_name -> ChessEntranceInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessEntranceDetailInfo_proto_init() } +func file_ChessEntranceDetailInfo_proto_init() { + if File_ChessEntranceDetailInfo_proto != nil { + return + } + file_ChessEntranceInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessEntranceDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessEntranceDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessEntranceDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessEntranceDetailInfo_proto_goTypes, + DependencyIndexes: file_ChessEntranceDetailInfo_proto_depIdxs, + MessageInfos: file_ChessEntranceDetailInfo_proto_msgTypes, + }.Build() + File_ChessEntranceDetailInfo_proto = out.File + file_ChessEntranceDetailInfo_proto_rawDesc = nil + file_ChessEntranceDetailInfo_proto_goTypes = nil + file_ChessEntranceDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessEntranceDetailInfo.proto b/gate-hk4e-api/proto/ChessEntranceDetailInfo.proto new file mode 100644 index 00000000..5cf3624d --- /dev/null +++ b/gate-hk4e-api/proto/ChessEntranceDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessEntranceInfo.proto"; + +option go_package = "./;proto"; + +message ChessEntranceDetailInfo { + repeated ChessEntranceInfo info_list = 4; +} diff --git a/gate-hk4e-api/proto/ChessEntranceInfo.pb.go b/gate-hk4e-api/proto/ChessEntranceInfo.pb.go new file mode 100644 index 00000000..bc29e7e9 --- /dev/null +++ b/gate-hk4e-api/proto/ChessEntranceInfo.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessEntranceInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessEntranceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterInfoList []*ChessMonsterInfo `protobuf:"bytes,14,rep,name=monster_info_list,json=monsterInfoList,proto3" json:"monster_info_list,omitempty"` + EntranceIndex uint32 `protobuf:"varint,15,opt,name=entrance_index,json=entranceIndex,proto3" json:"entrance_index,omitempty"` + EntrancePointId uint32 `protobuf:"varint,8,opt,name=entrance_point_id,json=entrancePointId,proto3" json:"entrance_point_id,omitempty"` +} + +func (x *ChessEntranceInfo) Reset() { + *x = ChessEntranceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessEntranceInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessEntranceInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessEntranceInfo) ProtoMessage() {} + +func (x *ChessEntranceInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessEntranceInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessEntranceInfo.ProtoReflect.Descriptor instead. +func (*ChessEntranceInfo) Descriptor() ([]byte, []int) { + return file_ChessEntranceInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessEntranceInfo) GetMonsterInfoList() []*ChessMonsterInfo { + if x != nil { + return x.MonsterInfoList + } + return nil +} + +func (x *ChessEntranceInfo) GetEntranceIndex() uint32 { + if x != nil { + return x.EntranceIndex + } + return 0 +} + +func (x *ChessEntranceInfo) GetEntrancePointId() uint32 { + if x != nil { + return x.EntrancePointId + } + return 0 +} + +var File_ChessEntranceInfo_proto protoreflect.FileDescriptor + +var file_ChessEntranceInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, + 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, + 0x11, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, + 0x63, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessEntranceInfo_proto_rawDescOnce sync.Once + file_ChessEntranceInfo_proto_rawDescData = file_ChessEntranceInfo_proto_rawDesc +) + +func file_ChessEntranceInfo_proto_rawDescGZIP() []byte { + file_ChessEntranceInfo_proto_rawDescOnce.Do(func() { + file_ChessEntranceInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessEntranceInfo_proto_rawDescData) + }) + return file_ChessEntranceInfo_proto_rawDescData +} + +var file_ChessEntranceInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessEntranceInfo_proto_goTypes = []interface{}{ + (*ChessEntranceInfo)(nil), // 0: ChessEntranceInfo + (*ChessMonsterInfo)(nil), // 1: ChessMonsterInfo +} +var file_ChessEntranceInfo_proto_depIdxs = []int32{ + 1, // 0: ChessEntranceInfo.monster_info_list:type_name -> ChessMonsterInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessEntranceInfo_proto_init() } +func file_ChessEntranceInfo_proto_init() { + if File_ChessEntranceInfo_proto != nil { + return + } + file_ChessMonsterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessEntranceInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessEntranceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessEntranceInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessEntranceInfo_proto_goTypes, + DependencyIndexes: file_ChessEntranceInfo_proto_depIdxs, + MessageInfos: file_ChessEntranceInfo_proto_msgTypes, + }.Build() + File_ChessEntranceInfo_proto = out.File + file_ChessEntranceInfo_proto_rawDesc = nil + file_ChessEntranceInfo_proto_goTypes = nil + file_ChessEntranceInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessEntranceInfo.proto b/gate-hk4e-api/proto/ChessEntranceInfo.proto new file mode 100644 index 00000000..fdcb03c7 --- /dev/null +++ b/gate-hk4e-api/proto/ChessEntranceInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessMonsterInfo.proto"; + +option go_package = "./;proto"; + +message ChessEntranceInfo { + repeated ChessMonsterInfo monster_info_list = 14; + uint32 entrance_index = 15; + uint32 entrance_point_id = 8; +} diff --git a/gate-hk4e-api/proto/ChessEscapedMonstersNotify.pb.go b/gate-hk4e-api/proto/ChessEscapedMonstersNotify.pb.go new file mode 100644 index 00000000..6032d0e6 --- /dev/null +++ b/gate-hk4e-api/proto/ChessEscapedMonstersNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessEscapedMonstersNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5314 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessEscapedMonstersNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EscapedMonsters uint32 `protobuf:"varint,14,opt,name=escaped_monsters,json=escapedMonsters,proto3" json:"escaped_monsters,omitempty"` +} + +func (x *ChessEscapedMonstersNotify) Reset() { + *x = ChessEscapedMonstersNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessEscapedMonstersNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessEscapedMonstersNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessEscapedMonstersNotify) ProtoMessage() {} + +func (x *ChessEscapedMonstersNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChessEscapedMonstersNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessEscapedMonstersNotify.ProtoReflect.Descriptor instead. +func (*ChessEscapedMonstersNotify) Descriptor() ([]byte, []int) { + return file_ChessEscapedMonstersNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessEscapedMonstersNotify) GetEscapedMonsters() uint32 { + if x != nil { + return x.EscapedMonsters + } + return 0 +} + +var File_ChessEscapedMonstersNotify_proto protoreflect.FileDescriptor + +var file_ChessEscapedMonstersNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x73, 0x63, 0x61, 0x70, + 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x29, 0x0a, 0x10, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x73, 0x63, 0x61, + 0x70, 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessEscapedMonstersNotify_proto_rawDescOnce sync.Once + file_ChessEscapedMonstersNotify_proto_rawDescData = file_ChessEscapedMonstersNotify_proto_rawDesc +) + +func file_ChessEscapedMonstersNotify_proto_rawDescGZIP() []byte { + file_ChessEscapedMonstersNotify_proto_rawDescOnce.Do(func() { + file_ChessEscapedMonstersNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessEscapedMonstersNotify_proto_rawDescData) + }) + return file_ChessEscapedMonstersNotify_proto_rawDescData +} + +var file_ChessEscapedMonstersNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessEscapedMonstersNotify_proto_goTypes = []interface{}{ + (*ChessEscapedMonstersNotify)(nil), // 0: ChessEscapedMonstersNotify +} +var file_ChessEscapedMonstersNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessEscapedMonstersNotify_proto_init() } +func file_ChessEscapedMonstersNotify_proto_init() { + if File_ChessEscapedMonstersNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessEscapedMonstersNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessEscapedMonstersNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessEscapedMonstersNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessEscapedMonstersNotify_proto_goTypes, + DependencyIndexes: file_ChessEscapedMonstersNotify_proto_depIdxs, + MessageInfos: file_ChessEscapedMonstersNotify_proto_msgTypes, + }.Build() + File_ChessEscapedMonstersNotify_proto = out.File + file_ChessEscapedMonstersNotify_proto_rawDesc = nil + file_ChessEscapedMonstersNotify_proto_goTypes = nil + file_ChessEscapedMonstersNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessEscapedMonstersNotify.proto b/gate-hk4e-api/proto/ChessEscapedMonstersNotify.proto new file mode 100644 index 00000000..0281a4a6 --- /dev/null +++ b/gate-hk4e-api/proto/ChessEscapedMonstersNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5314 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessEscapedMonstersNotify { + uint32 escaped_monsters = 14; +} diff --git a/gate-hk4e-api/proto/ChessLeftMonstersNotify.pb.go b/gate-hk4e-api/proto/ChessLeftMonstersNotify.pb.go new file mode 100644 index 00000000..332ab984 --- /dev/null +++ b/gate-hk4e-api/proto/ChessLeftMonstersNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessLeftMonstersNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5360 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessLeftMonstersNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftMonsters uint32 `protobuf:"varint,6,opt,name=left_monsters,json=leftMonsters,proto3" json:"left_monsters,omitempty"` +} + +func (x *ChessLeftMonstersNotify) Reset() { + *x = ChessLeftMonstersNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessLeftMonstersNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessLeftMonstersNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessLeftMonstersNotify) ProtoMessage() {} + +func (x *ChessLeftMonstersNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChessLeftMonstersNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessLeftMonstersNotify.ProtoReflect.Descriptor instead. +func (*ChessLeftMonstersNotify) Descriptor() ([]byte, []int) { + return file_ChessLeftMonstersNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessLeftMonstersNotify) GetLeftMonsters() uint32 { + if x != nil { + return x.LeftMonsters + } + return 0 +} + +var File_ChessLeftMonstersNotify_proto protoreflect.FileDescriptor + +var file_ChessLeftMonstersNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3e, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, + 0x66, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ChessLeftMonstersNotify_proto_rawDescOnce sync.Once + file_ChessLeftMonstersNotify_proto_rawDescData = file_ChessLeftMonstersNotify_proto_rawDesc +) + +func file_ChessLeftMonstersNotify_proto_rawDescGZIP() []byte { + file_ChessLeftMonstersNotify_proto_rawDescOnce.Do(func() { + file_ChessLeftMonstersNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessLeftMonstersNotify_proto_rawDescData) + }) + return file_ChessLeftMonstersNotify_proto_rawDescData +} + +var file_ChessLeftMonstersNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessLeftMonstersNotify_proto_goTypes = []interface{}{ + (*ChessLeftMonstersNotify)(nil), // 0: ChessLeftMonstersNotify +} +var file_ChessLeftMonstersNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessLeftMonstersNotify_proto_init() } +func file_ChessLeftMonstersNotify_proto_init() { + if File_ChessLeftMonstersNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessLeftMonstersNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessLeftMonstersNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessLeftMonstersNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessLeftMonstersNotify_proto_goTypes, + DependencyIndexes: file_ChessLeftMonstersNotify_proto_depIdxs, + MessageInfos: file_ChessLeftMonstersNotify_proto_msgTypes, + }.Build() + File_ChessLeftMonstersNotify_proto = out.File + file_ChessLeftMonstersNotify_proto_rawDesc = nil + file_ChessLeftMonstersNotify_proto_goTypes = nil + file_ChessLeftMonstersNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessLeftMonstersNotify.proto b/gate-hk4e-api/proto/ChessLeftMonstersNotify.proto new file mode 100644 index 00000000..8e125ca8 --- /dev/null +++ b/gate-hk4e-api/proto/ChessLeftMonstersNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5360 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessLeftMonstersNotify { + uint32 left_monsters = 6; +} diff --git a/gate-hk4e-api/proto/ChessManualRefreshCardsReq.pb.go b/gate-hk4e-api/proto/ChessManualRefreshCardsReq.pb.go new file mode 100644 index 00000000..cee29e5b --- /dev/null +++ b/gate-hk4e-api/proto/ChessManualRefreshCardsReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessManualRefreshCardsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5389 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChessManualRefreshCardsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChessManualRefreshCardsReq) Reset() { + *x = ChessManualRefreshCardsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessManualRefreshCardsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessManualRefreshCardsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessManualRefreshCardsReq) ProtoMessage() {} + +func (x *ChessManualRefreshCardsReq) ProtoReflect() protoreflect.Message { + mi := &file_ChessManualRefreshCardsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessManualRefreshCardsReq.ProtoReflect.Descriptor instead. +func (*ChessManualRefreshCardsReq) Descriptor() ([]byte, []int) { + return file_ChessManualRefreshCardsReq_proto_rawDescGZIP(), []int{0} +} + +var File_ChessManualRefreshCardsReq_proto protoreflect.FileDescriptor + +var file_ChessManualRefreshCardsReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x61, 0x6e, 0x75, 0x61, + 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessManualRefreshCardsReq_proto_rawDescOnce sync.Once + file_ChessManualRefreshCardsReq_proto_rawDescData = file_ChessManualRefreshCardsReq_proto_rawDesc +) + +func file_ChessManualRefreshCardsReq_proto_rawDescGZIP() []byte { + file_ChessManualRefreshCardsReq_proto_rawDescOnce.Do(func() { + file_ChessManualRefreshCardsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessManualRefreshCardsReq_proto_rawDescData) + }) + return file_ChessManualRefreshCardsReq_proto_rawDescData +} + +var file_ChessManualRefreshCardsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessManualRefreshCardsReq_proto_goTypes = []interface{}{ + (*ChessManualRefreshCardsReq)(nil), // 0: ChessManualRefreshCardsReq +} +var file_ChessManualRefreshCardsReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessManualRefreshCardsReq_proto_init() } +func file_ChessManualRefreshCardsReq_proto_init() { + if File_ChessManualRefreshCardsReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessManualRefreshCardsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessManualRefreshCardsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessManualRefreshCardsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessManualRefreshCardsReq_proto_goTypes, + DependencyIndexes: file_ChessManualRefreshCardsReq_proto_depIdxs, + MessageInfos: file_ChessManualRefreshCardsReq_proto_msgTypes, + }.Build() + File_ChessManualRefreshCardsReq_proto = out.File + file_ChessManualRefreshCardsReq_proto_rawDesc = nil + file_ChessManualRefreshCardsReq_proto_goTypes = nil + file_ChessManualRefreshCardsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessManualRefreshCardsReq.proto b/gate-hk4e-api/proto/ChessManualRefreshCardsReq.proto new file mode 100644 index 00000000..b10d80dd --- /dev/null +++ b/gate-hk4e-api/proto/ChessManualRefreshCardsReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5389 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChessManualRefreshCardsReq {} diff --git a/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.pb.go b/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.pb.go new file mode 100644 index 00000000..c3625f5a --- /dev/null +++ b/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessManualRefreshCardsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5359 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessManualRefreshCardsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChessManualRefreshCardsRsp) Reset() { + *x = ChessManualRefreshCardsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessManualRefreshCardsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessManualRefreshCardsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessManualRefreshCardsRsp) ProtoMessage() {} + +func (x *ChessManualRefreshCardsRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChessManualRefreshCardsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessManualRefreshCardsRsp.ProtoReflect.Descriptor instead. +func (*ChessManualRefreshCardsRsp) Descriptor() ([]byte, []int) { + return file_ChessManualRefreshCardsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessManualRefreshCardsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChessManualRefreshCardsRsp_proto protoreflect.FileDescriptor + +var file_ChessManualRefreshCardsRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x61, 0x6e, 0x75, 0x61, + 0x6c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x72, 0x64, 0x73, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessManualRefreshCardsRsp_proto_rawDescOnce sync.Once + file_ChessManualRefreshCardsRsp_proto_rawDescData = file_ChessManualRefreshCardsRsp_proto_rawDesc +) + +func file_ChessManualRefreshCardsRsp_proto_rawDescGZIP() []byte { + file_ChessManualRefreshCardsRsp_proto_rawDescOnce.Do(func() { + file_ChessManualRefreshCardsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessManualRefreshCardsRsp_proto_rawDescData) + }) + return file_ChessManualRefreshCardsRsp_proto_rawDescData +} + +var file_ChessManualRefreshCardsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessManualRefreshCardsRsp_proto_goTypes = []interface{}{ + (*ChessManualRefreshCardsRsp)(nil), // 0: ChessManualRefreshCardsRsp +} +var file_ChessManualRefreshCardsRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessManualRefreshCardsRsp_proto_init() } +func file_ChessManualRefreshCardsRsp_proto_init() { + if File_ChessManualRefreshCardsRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessManualRefreshCardsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessManualRefreshCardsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessManualRefreshCardsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessManualRefreshCardsRsp_proto_goTypes, + DependencyIndexes: file_ChessManualRefreshCardsRsp_proto_depIdxs, + MessageInfos: file_ChessManualRefreshCardsRsp_proto_msgTypes, + }.Build() + File_ChessManualRefreshCardsRsp_proto = out.File + file_ChessManualRefreshCardsRsp_proto_rawDesc = nil + file_ChessManualRefreshCardsRsp_proto_goTypes = nil + file_ChessManualRefreshCardsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.proto b/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.proto new file mode 100644 index 00000000..d7ab6e5d --- /dev/null +++ b/gate-hk4e-api/proto/ChessManualRefreshCardsRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5359 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessManualRefreshCardsRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/ChessMonsterInfo.pb.go b/gate-hk4e-api/proto/ChessMonsterInfo.pb.go new file mode 100644 index 00000000..fe530565 --- /dev/null +++ b/gate-hk4e-api/proto/ChessMonsterInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessMonsterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessMonsterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterId uint32 `protobuf:"varint,12,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` + AffixList []uint32 `protobuf:"varint,13,rep,packed,name=affix_list,json=affixList,proto3" json:"affix_list,omitempty"` +} + +func (x *ChessMonsterInfo) Reset() { + *x = ChessMonsterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessMonsterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessMonsterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessMonsterInfo) ProtoMessage() {} + +func (x *ChessMonsterInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessMonsterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessMonsterInfo.ProtoReflect.Descriptor instead. +func (*ChessMonsterInfo) Descriptor() ([]byte, []int) { + return file_ChessMonsterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessMonsterInfo) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *ChessMonsterInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *ChessMonsterInfo) GetAffixList() []uint32 { + if x != nil { + return x.AffixList + } + return nil +} + +var File_ChessMonsterInfo_proto protoreflect.FileDescriptor + +var file_ChessMonsterInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessMonsterInfo_proto_rawDescOnce sync.Once + file_ChessMonsterInfo_proto_rawDescData = file_ChessMonsterInfo_proto_rawDesc +) + +func file_ChessMonsterInfo_proto_rawDescGZIP() []byte { + file_ChessMonsterInfo_proto_rawDescOnce.Do(func() { + file_ChessMonsterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessMonsterInfo_proto_rawDescData) + }) + return file_ChessMonsterInfo_proto_rawDescData +} + +var file_ChessMonsterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessMonsterInfo_proto_goTypes = []interface{}{ + (*ChessMonsterInfo)(nil), // 0: ChessMonsterInfo +} +var file_ChessMonsterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessMonsterInfo_proto_init() } +func file_ChessMonsterInfo_proto_init() { + if File_ChessMonsterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessMonsterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessMonsterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessMonsterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessMonsterInfo_proto_goTypes, + DependencyIndexes: file_ChessMonsterInfo_proto_depIdxs, + MessageInfos: file_ChessMonsterInfo_proto_msgTypes, + }.Build() + File_ChessMonsterInfo_proto = out.File + file_ChessMonsterInfo_proto_rawDesc = nil + file_ChessMonsterInfo_proto_goTypes = nil + file_ChessMonsterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessMonsterInfo.proto b/gate-hk4e-api/proto/ChessMonsterInfo.proto new file mode 100644 index 00000000..1101a4c6 --- /dev/null +++ b/gate-hk4e-api/proto/ChessMonsterInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChessMonsterInfo { + uint32 monster_id = 12; + uint32 level = 2; + repeated uint32 affix_list = 13; +} diff --git a/gate-hk4e-api/proto/ChessMysteryInfo.pb.go b/gate-hk4e-api/proto/ChessMysteryInfo.pb.go new file mode 100644 index 00000000..a332896b --- /dev/null +++ b/gate-hk4e-api/proto/ChessMysteryInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessMysteryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessMysteryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntrancePointMap map[uint32]uint32 `protobuf:"bytes,13,rep,name=entrance_point_map,json=entrancePointMap,proto3" json:"entrance_point_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ExitPointIdList []uint32 `protobuf:"varint,3,rep,packed,name=exit_point_id_list,json=exitPointIdList,proto3" json:"exit_point_id_list,omitempty"` + DetailInfoMap map[uint32]*ChessEntranceDetailInfo `protobuf:"bytes,5,rep,name=detail_info_map,json=detailInfoMap,proto3" json:"detail_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ChessMysteryInfo) Reset() { + *x = ChessMysteryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessMysteryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessMysteryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessMysteryInfo) ProtoMessage() {} + +func (x *ChessMysteryInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessMysteryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessMysteryInfo.ProtoReflect.Descriptor instead. +func (*ChessMysteryInfo) Descriptor() ([]byte, []int) { + return file_ChessMysteryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessMysteryInfo) GetEntrancePointMap() map[uint32]uint32 { + if x != nil { + return x.EntrancePointMap + } + return nil +} + +func (x *ChessMysteryInfo) GetExitPointIdList() []uint32 { + if x != nil { + return x.ExitPointIdList + } + return nil +} + +func (x *ChessMysteryInfo) GetDetailInfoMap() map[uint32]*ChessEntranceDetailInfo { + if x != nil { + return x.DetailInfoMap + } + return nil +} + +var File_ChessMysteryInfo_proto protoreflect.FileDescriptor + +var file_ChessMysteryInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x03, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, 0x12, + 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x45, 0x6e, 0x74, 0x72, + 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x10, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x4d, 0x61, 0x70, 0x12, 0x2b, 0x0a, 0x12, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0f, 0x65, 0x78, 0x69, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x4c, 0x0a, 0x0f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x43, + 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x12, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x65, + 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ChessMysteryInfo_proto_rawDescOnce sync.Once + file_ChessMysteryInfo_proto_rawDescData = file_ChessMysteryInfo_proto_rawDesc +) + +func file_ChessMysteryInfo_proto_rawDescGZIP() []byte { + file_ChessMysteryInfo_proto_rawDescOnce.Do(func() { + file_ChessMysteryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessMysteryInfo_proto_rawDescData) + }) + return file_ChessMysteryInfo_proto_rawDescData +} + +var file_ChessMysteryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_ChessMysteryInfo_proto_goTypes = []interface{}{ + (*ChessMysteryInfo)(nil), // 0: ChessMysteryInfo + nil, // 1: ChessMysteryInfo.EntrancePointMapEntry + nil, // 2: ChessMysteryInfo.DetailInfoMapEntry + (*ChessEntranceDetailInfo)(nil), // 3: ChessEntranceDetailInfo +} +var file_ChessMysteryInfo_proto_depIdxs = []int32{ + 1, // 0: ChessMysteryInfo.entrance_point_map:type_name -> ChessMysteryInfo.EntrancePointMapEntry + 2, // 1: ChessMysteryInfo.detail_info_map:type_name -> ChessMysteryInfo.DetailInfoMapEntry + 3, // 2: ChessMysteryInfo.DetailInfoMapEntry.value:type_name -> ChessEntranceDetailInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ChessMysteryInfo_proto_init() } +func file_ChessMysteryInfo_proto_init() { + if File_ChessMysteryInfo_proto != nil { + return + } + file_ChessEntranceDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessMysteryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessMysteryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessMysteryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessMysteryInfo_proto_goTypes, + DependencyIndexes: file_ChessMysteryInfo_proto_depIdxs, + MessageInfos: file_ChessMysteryInfo_proto_msgTypes, + }.Build() + File_ChessMysteryInfo_proto = out.File + file_ChessMysteryInfo_proto_rawDesc = nil + file_ChessMysteryInfo_proto_goTypes = nil + file_ChessMysteryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessMysteryInfo.proto b/gate-hk4e-api/proto/ChessMysteryInfo.proto new file mode 100644 index 00000000..838f683f --- /dev/null +++ b/gate-hk4e-api/proto/ChessMysteryInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessEntranceDetailInfo.proto"; + +option go_package = "./;proto"; + +message ChessMysteryInfo { + map entrance_point_map = 13; + repeated uint32 exit_point_id_list = 3; + map detail_info_map = 5; +} diff --git a/gate-hk4e-api/proto/ChessNormalCardInfo.pb.go b/gate-hk4e-api/proto/ChessNormalCardInfo.pb.go new file mode 100644 index 00000000..48fe3d71 --- /dev/null +++ b/gate-hk4e-api/proto/ChessNormalCardInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessNormalCardInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessNormalCardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + CostPoints uint32 `protobuf:"varint,15,opt,name=cost_points,json=costPoints,proto3" json:"cost_points,omitempty"` + IsAttachCurse bool `protobuf:"varint,6,opt,name=is_attach_curse,json=isAttachCurse,proto3" json:"is_attach_curse,omitempty"` +} + +func (x *ChessNormalCardInfo) Reset() { + *x = ChessNormalCardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessNormalCardInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessNormalCardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessNormalCardInfo) ProtoMessage() {} + +func (x *ChessNormalCardInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessNormalCardInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessNormalCardInfo.ProtoReflect.Descriptor instead. +func (*ChessNormalCardInfo) Descriptor() ([]byte, []int) { + return file_ChessNormalCardInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessNormalCardInfo) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *ChessNormalCardInfo) GetCostPoints() uint32 { + if x != nil { + return x.CostPoints + } + return 0 +} + +func (x *ChessNormalCardInfo) GetIsAttachCurse() bool { + if x != nil { + return x.IsAttachCurse + } + return false +} + +var File_ChessNormalCardInfo_proto protoreflect.FileDescriptor + +var file_ChessNormalCardInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x43, + 0x68, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x69, 0x73, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x43, + 0x75, 0x72, 0x73, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessNormalCardInfo_proto_rawDescOnce sync.Once + file_ChessNormalCardInfo_proto_rawDescData = file_ChessNormalCardInfo_proto_rawDesc +) + +func file_ChessNormalCardInfo_proto_rawDescGZIP() []byte { + file_ChessNormalCardInfo_proto_rawDescOnce.Do(func() { + file_ChessNormalCardInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessNormalCardInfo_proto_rawDescData) + }) + return file_ChessNormalCardInfo_proto_rawDescData +} + +var file_ChessNormalCardInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessNormalCardInfo_proto_goTypes = []interface{}{ + (*ChessNormalCardInfo)(nil), // 0: ChessNormalCardInfo +} +var file_ChessNormalCardInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessNormalCardInfo_proto_init() } +func file_ChessNormalCardInfo_proto_init() { + if File_ChessNormalCardInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessNormalCardInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessNormalCardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessNormalCardInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessNormalCardInfo_proto_goTypes, + DependencyIndexes: file_ChessNormalCardInfo_proto_depIdxs, + MessageInfos: file_ChessNormalCardInfo_proto_msgTypes, + }.Build() + File_ChessNormalCardInfo_proto = out.File + file_ChessNormalCardInfo_proto_rawDesc = nil + file_ChessNormalCardInfo_proto_goTypes = nil + file_ChessNormalCardInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessNormalCardInfo.proto b/gate-hk4e-api/proto/ChessNormalCardInfo.proto new file mode 100644 index 00000000..cea84a21 --- /dev/null +++ b/gate-hk4e-api/proto/ChessNormalCardInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChessNormalCardInfo { + uint32 card_id = 2; + uint32 cost_points = 15; + bool is_attach_curse = 6; +} diff --git a/gate-hk4e-api/proto/ChessPickCardNotify.pb.go b/gate-hk4e-api/proto/ChessPickCardNotify.pb.go new file mode 100644 index 00000000..49c0fd26 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessPickCardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5380 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessPickCardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurseCardId uint32 `protobuf:"varint,13,opt,name=curse_card_id,json=curseCardId,proto3" json:"curse_card_id,omitempty"` + NormalCardInfo *ChessNormalCardInfo `protobuf:"bytes,1,opt,name=normal_card_info,json=normalCardInfo,proto3" json:"normal_card_info,omitempty"` +} + +func (x *ChessPickCardNotify) Reset() { + *x = ChessPickCardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessPickCardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessPickCardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessPickCardNotify) ProtoMessage() {} + +func (x *ChessPickCardNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChessPickCardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessPickCardNotify.ProtoReflect.Descriptor instead. +func (*ChessPickCardNotify) Descriptor() ([]byte, []int) { + return file_ChessPickCardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessPickCardNotify) GetCurseCardId() uint32 { + if x != nil { + return x.CurseCardId + } + return 0 +} + +func (x *ChessPickCardNotify) GetNormalCardInfo() *ChessNormalCardInfo { + if x != nil { + return x.NormalCardInfo + } + return nil +} + +var File_ChessPickCardNotify_proto protoreflect.FileDescriptor + +var file_ChessPickCardNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x43, 0x68, 0x65, + 0x73, 0x73, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, + 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, + 0x0d, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, + 0x64, 0x12, 0x3e, 0x0a, 0x10, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x68, + 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessPickCardNotify_proto_rawDescOnce sync.Once + file_ChessPickCardNotify_proto_rawDescData = file_ChessPickCardNotify_proto_rawDesc +) + +func file_ChessPickCardNotify_proto_rawDescGZIP() []byte { + file_ChessPickCardNotify_proto_rawDescOnce.Do(func() { + file_ChessPickCardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessPickCardNotify_proto_rawDescData) + }) + return file_ChessPickCardNotify_proto_rawDescData +} + +var file_ChessPickCardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessPickCardNotify_proto_goTypes = []interface{}{ + (*ChessPickCardNotify)(nil), // 0: ChessPickCardNotify + (*ChessNormalCardInfo)(nil), // 1: ChessNormalCardInfo +} +var file_ChessPickCardNotify_proto_depIdxs = []int32{ + 1, // 0: ChessPickCardNotify.normal_card_info:type_name -> ChessNormalCardInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessPickCardNotify_proto_init() } +func file_ChessPickCardNotify_proto_init() { + if File_ChessPickCardNotify_proto != nil { + return + } + file_ChessNormalCardInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessPickCardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessPickCardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessPickCardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessPickCardNotify_proto_goTypes, + DependencyIndexes: file_ChessPickCardNotify_proto_depIdxs, + MessageInfos: file_ChessPickCardNotify_proto_msgTypes, + }.Build() + File_ChessPickCardNotify_proto = out.File + file_ChessPickCardNotify_proto_rawDesc = nil + file_ChessPickCardNotify_proto_goTypes = nil + file_ChessPickCardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessPickCardNotify.proto b/gate-hk4e-api/proto/ChessPickCardNotify.proto new file mode 100644 index 00000000..6cad1eff --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessNormalCardInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5380 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessPickCardNotify { + uint32 curse_card_id = 13; + ChessNormalCardInfo normal_card_info = 1; +} diff --git a/gate-hk4e-api/proto/ChessPickCardReq.pb.go b/gate-hk4e-api/proto/ChessPickCardReq.pb.go new file mode 100644 index 00000000..96aa5a2a --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessPickCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5333 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChessPickCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + CardIndex uint32 `protobuf:"varint,4,opt,name=card_index,json=cardIndex,proto3" json:"card_index,omitempty"` +} + +func (x *ChessPickCardReq) Reset() { + *x = ChessPickCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessPickCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessPickCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessPickCardReq) ProtoMessage() {} + +func (x *ChessPickCardReq) ProtoReflect() protoreflect.Message { + mi := &file_ChessPickCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessPickCardReq.ProtoReflect.Descriptor instead. +func (*ChessPickCardReq) Descriptor() ([]byte, []int) { + return file_ChessPickCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessPickCardReq) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *ChessPickCardReq) GetCardIndex() uint32 { + if x != nil { + return x.CardIndex + } + return 0 +} + +var File_ChessPickCardReq_proto protoreflect.FileDescriptor + +var file_ChessPickCardReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x61, 0x72, 0x64, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessPickCardReq_proto_rawDescOnce sync.Once + file_ChessPickCardReq_proto_rawDescData = file_ChessPickCardReq_proto_rawDesc +) + +func file_ChessPickCardReq_proto_rawDescGZIP() []byte { + file_ChessPickCardReq_proto_rawDescOnce.Do(func() { + file_ChessPickCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessPickCardReq_proto_rawDescData) + }) + return file_ChessPickCardReq_proto_rawDescData +} + +var file_ChessPickCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessPickCardReq_proto_goTypes = []interface{}{ + (*ChessPickCardReq)(nil), // 0: ChessPickCardReq +} +var file_ChessPickCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessPickCardReq_proto_init() } +func file_ChessPickCardReq_proto_init() { + if File_ChessPickCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessPickCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessPickCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessPickCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessPickCardReq_proto_goTypes, + DependencyIndexes: file_ChessPickCardReq_proto_depIdxs, + MessageInfos: file_ChessPickCardReq_proto_msgTypes, + }.Build() + File_ChessPickCardReq_proto = out.File + file_ChessPickCardReq_proto_rawDesc = nil + file_ChessPickCardReq_proto_goTypes = nil + file_ChessPickCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessPickCardReq.proto b/gate-hk4e-api/proto/ChessPickCardReq.proto new file mode 100644 index 00000000..35ac4a68 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5333 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChessPickCardReq { + uint32 card_id = 1; + uint32 card_index = 4; +} diff --git a/gate-hk4e-api/proto/ChessPickCardRsp.pb.go b/gate-hk4e-api/proto/ChessPickCardRsp.pb.go new file mode 100644 index 00000000..9d377437 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessPickCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5384 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessPickCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardIndex uint32 `protobuf:"varint,11,opt,name=card_index,json=cardIndex,proto3" json:"card_index,omitempty"` + CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChessPickCardRsp) Reset() { + *x = ChessPickCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessPickCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessPickCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessPickCardRsp) ProtoMessage() {} + +func (x *ChessPickCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChessPickCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessPickCardRsp.ProtoReflect.Descriptor instead. +func (*ChessPickCardRsp) Descriptor() ([]byte, []int) { + return file_ChessPickCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessPickCardRsp) GetCardIndex() uint32 { + if x != nil { + return x.CardIndex + } + return 0 +} + +func (x *ChessPickCardRsp) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *ChessPickCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChessPickCardRsp_proto protoreflect.FileDescriptor + +var file_ChessPickCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x63, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x63, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ChessPickCardRsp_proto_rawDescOnce sync.Once + file_ChessPickCardRsp_proto_rawDescData = file_ChessPickCardRsp_proto_rawDesc +) + +func file_ChessPickCardRsp_proto_rawDescGZIP() []byte { + file_ChessPickCardRsp_proto_rawDescOnce.Do(func() { + file_ChessPickCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessPickCardRsp_proto_rawDescData) + }) + return file_ChessPickCardRsp_proto_rawDescData +} + +var file_ChessPickCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessPickCardRsp_proto_goTypes = []interface{}{ + (*ChessPickCardRsp)(nil), // 0: ChessPickCardRsp +} +var file_ChessPickCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChessPickCardRsp_proto_init() } +func file_ChessPickCardRsp_proto_init() { + if File_ChessPickCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChessPickCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessPickCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessPickCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessPickCardRsp_proto_goTypes, + DependencyIndexes: file_ChessPickCardRsp_proto_depIdxs, + MessageInfos: file_ChessPickCardRsp_proto_msgTypes, + }.Build() + File_ChessPickCardRsp_proto = out.File + file_ChessPickCardRsp_proto_rawDesc = nil + file_ChessPickCardRsp_proto_goTypes = nil + file_ChessPickCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessPickCardRsp.proto b/gate-hk4e-api/proto/ChessPickCardRsp.proto new file mode 100644 index 00000000..bb7eb164 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPickCardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5384 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessPickCardRsp { + uint32 card_index = 11; + uint32 card_id = 1; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/ChessPlayerInfo.pb.go b/gate-hk4e-api/proto/ChessPlayerInfo.pb.go new file mode 100644 index 00000000..62cfd230 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPlayerInfo.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessPlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChessPlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` + FreeRefreshLimit uint32 `protobuf:"varint,10,opt,name=free_refresh_limit,json=freeRefreshLimit,proto3" json:"free_refresh_limit,omitempty"` + CandidateCardInfoList []*ChessNormalCardInfo `protobuf:"bytes,3,rep,name=candidate_card_info_list,json=candidateCardInfoList,proto3" json:"candidate_card_info_list,omitempty"` + BuildingPoints uint32 `protobuf:"varint,12,opt,name=building_points,json=buildingPoints,proto3" json:"building_points,omitempty"` + CandidateIndex uint32 `protobuf:"varint,6,opt,name=candidate_index,json=candidateIndex,proto3" json:"candidate_index,omitempty"` + FreeRefreshCount uint32 `protobuf:"varint,13,opt,name=free_refresh_count,json=freeRefreshCount,proto3" json:"free_refresh_count,omitempty"` + RefreshCost uint32 `protobuf:"varint,7,opt,name=refresh_cost,json=refreshCost,proto3" json:"refresh_cost,omitempty"` +} + +func (x *ChessPlayerInfo) Reset() { + *x = ChessPlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessPlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessPlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessPlayerInfo) ProtoMessage() {} + +func (x *ChessPlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_ChessPlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessPlayerInfo.ProtoReflect.Descriptor instead. +func (*ChessPlayerInfo) Descriptor() ([]byte, []int) { + return file_ChessPlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessPlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *ChessPlayerInfo) GetFreeRefreshLimit() uint32 { + if x != nil { + return x.FreeRefreshLimit + } + return 0 +} + +func (x *ChessPlayerInfo) GetCandidateCardInfoList() []*ChessNormalCardInfo { + if x != nil { + return x.CandidateCardInfoList + } + return nil +} + +func (x *ChessPlayerInfo) GetBuildingPoints() uint32 { + if x != nil { + return x.BuildingPoints + } + return 0 +} + +func (x *ChessPlayerInfo) GetCandidateIndex() uint32 { + if x != nil { + return x.CandidateIndex + } + return 0 +} + +func (x *ChessPlayerInfo) GetFreeRefreshCount() uint32 { + if x != nil { + return x.FreeRefreshCount + } + return 0 +} + +func (x *ChessPlayerInfo) GetRefreshCost() uint32 { + if x != nil { + return x.RefreshCost + } + return 0 +} + +var File_ChessPlayerInfo_proto protoreflect.FileDescriptor + +var file_ChessPlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4e, 0x6f, + 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xc3, 0x02, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x72, 0x65, 0x65, + 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x72, 0x65, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x4d, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, + 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x27, + 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x72, 0x65, 0x65, 0x5f, + 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x72, 0x65, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessPlayerInfo_proto_rawDescOnce sync.Once + file_ChessPlayerInfo_proto_rawDescData = file_ChessPlayerInfo_proto_rawDesc +) + +func file_ChessPlayerInfo_proto_rawDescGZIP() []byte { + file_ChessPlayerInfo_proto_rawDescOnce.Do(func() { + file_ChessPlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessPlayerInfo_proto_rawDescData) + }) + return file_ChessPlayerInfo_proto_rawDescData +} + +var file_ChessPlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessPlayerInfo_proto_goTypes = []interface{}{ + (*ChessPlayerInfo)(nil), // 0: ChessPlayerInfo + (*ChessNormalCardInfo)(nil), // 1: ChessNormalCardInfo +} +var file_ChessPlayerInfo_proto_depIdxs = []int32{ + 1, // 0: ChessPlayerInfo.candidate_card_info_list:type_name -> ChessNormalCardInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessPlayerInfo_proto_init() } +func file_ChessPlayerInfo_proto_init() { + if File_ChessPlayerInfo_proto != nil { + return + } + file_ChessNormalCardInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessPlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessPlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessPlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessPlayerInfo_proto_goTypes, + DependencyIndexes: file_ChessPlayerInfo_proto_depIdxs, + MessageInfos: file_ChessPlayerInfo_proto_msgTypes, + }.Build() + File_ChessPlayerInfo_proto = out.File + file_ChessPlayerInfo_proto_rawDesc = nil + file_ChessPlayerInfo_proto_goTypes = nil + file_ChessPlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessPlayerInfo.proto b/gate-hk4e-api/proto/ChessPlayerInfo.proto new file mode 100644 index 00000000..b1e7b48f --- /dev/null +++ b/gate-hk4e-api/proto/ChessPlayerInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessNormalCardInfo.proto"; + +option go_package = "./;proto"; + +message ChessPlayerInfo { + uint32 uid = 5; + uint32 free_refresh_limit = 10; + repeated ChessNormalCardInfo candidate_card_info_list = 3; + uint32 building_points = 12; + uint32 candidate_index = 6; + uint32 free_refresh_count = 13; + uint32 refresh_cost = 7; +} diff --git a/gate-hk4e-api/proto/ChessPlayerInfoNotify.pb.go b/gate-hk4e-api/proto/ChessPlayerInfoNotify.pb.go new file mode 100644 index 00000000..46cf54c6 --- /dev/null +++ b/gate-hk4e-api/proto/ChessPlayerInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessPlayerInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5332 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessPlayerInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfo *ChessPlayerInfo `protobuf:"bytes,10,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *ChessPlayerInfoNotify) Reset() { + *x = ChessPlayerInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessPlayerInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessPlayerInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessPlayerInfoNotify) ProtoMessage() {} + +func (x *ChessPlayerInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChessPlayerInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessPlayerInfoNotify.ProtoReflect.Descriptor instead. +func (*ChessPlayerInfoNotify) Descriptor() ([]byte, []int) { + return file_ChessPlayerInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessPlayerInfoNotify) GetPlayerInfo() *ChessPlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_ChessPlayerInfoNotify_proto protoreflect.FileDescriptor + +var file_ChessPlayerInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x43, + 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, + 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessPlayerInfoNotify_proto_rawDescOnce sync.Once + file_ChessPlayerInfoNotify_proto_rawDescData = file_ChessPlayerInfoNotify_proto_rawDesc +) + +func file_ChessPlayerInfoNotify_proto_rawDescGZIP() []byte { + file_ChessPlayerInfoNotify_proto_rawDescOnce.Do(func() { + file_ChessPlayerInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessPlayerInfoNotify_proto_rawDescData) + }) + return file_ChessPlayerInfoNotify_proto_rawDescData +} + +var file_ChessPlayerInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessPlayerInfoNotify_proto_goTypes = []interface{}{ + (*ChessPlayerInfoNotify)(nil), // 0: ChessPlayerInfoNotify + (*ChessPlayerInfo)(nil), // 1: ChessPlayerInfo +} +var file_ChessPlayerInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ChessPlayerInfoNotify.player_info:type_name -> ChessPlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessPlayerInfoNotify_proto_init() } +func file_ChessPlayerInfoNotify_proto_init() { + if File_ChessPlayerInfoNotify_proto != nil { + return + } + file_ChessPlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessPlayerInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessPlayerInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessPlayerInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessPlayerInfoNotify_proto_goTypes, + DependencyIndexes: file_ChessPlayerInfoNotify_proto_depIdxs, + MessageInfos: file_ChessPlayerInfoNotify_proto_msgTypes, + }.Build() + File_ChessPlayerInfoNotify_proto = out.File + file_ChessPlayerInfoNotify_proto_rawDesc = nil + file_ChessPlayerInfoNotify_proto_goTypes = nil + file_ChessPlayerInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessPlayerInfoNotify.proto b/gate-hk4e-api/proto/ChessPlayerInfoNotify.proto new file mode 100644 index 00000000..8fed625d --- /dev/null +++ b/gate-hk4e-api/proto/ChessPlayerInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessPlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5332 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessPlayerInfoNotify { + ChessPlayerInfo player_info = 10; +} diff --git a/gate-hk4e-api/proto/ChessSelectedCardsNotify.pb.go b/gate-hk4e-api/proto/ChessSelectedCardsNotify.pb.go new file mode 100644 index 00000000..4af6ddfd --- /dev/null +++ b/gate-hk4e-api/proto/ChessSelectedCardsNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChessSelectedCardsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5392 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChessSelectedCardsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedCardInfoList []*ChessCardInfo `protobuf:"bytes,4,rep,name=selected_card_info_list,json=selectedCardInfoList,proto3" json:"selected_card_info_list,omitempty"` +} + +func (x *ChessSelectedCardsNotify) Reset() { + *x = ChessSelectedCardsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ChessSelectedCardsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChessSelectedCardsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChessSelectedCardsNotify) ProtoMessage() {} + +func (x *ChessSelectedCardsNotify) ProtoReflect() protoreflect.Message { + mi := &file_ChessSelectedCardsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChessSelectedCardsNotify.ProtoReflect.Descriptor instead. +func (*ChessSelectedCardsNotify) Descriptor() ([]byte, []int) { + return file_ChessSelectedCardsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ChessSelectedCardsNotify) GetSelectedCardInfoList() []*ChessCardInfo { + if x != nil { + return x.SelectedCardInfoList + } + return nil +} + +var File_ChessSelectedCardsNotify_proto protoreflect.FileDescriptor + +var file_ChessSelectedCardsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, + 0x61, 0x72, 0x64, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x13, 0x43, 0x68, 0x65, 0x73, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x45, 0x0a, 0x17, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x61, 0x72, 0x64, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChessSelectedCardsNotify_proto_rawDescOnce sync.Once + file_ChessSelectedCardsNotify_proto_rawDescData = file_ChessSelectedCardsNotify_proto_rawDesc +) + +func file_ChessSelectedCardsNotify_proto_rawDescGZIP() []byte { + file_ChessSelectedCardsNotify_proto_rawDescOnce.Do(func() { + file_ChessSelectedCardsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChessSelectedCardsNotify_proto_rawDescData) + }) + return file_ChessSelectedCardsNotify_proto_rawDescData +} + +var file_ChessSelectedCardsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChessSelectedCardsNotify_proto_goTypes = []interface{}{ + (*ChessSelectedCardsNotify)(nil), // 0: ChessSelectedCardsNotify + (*ChessCardInfo)(nil), // 1: ChessCardInfo +} +var file_ChessSelectedCardsNotify_proto_depIdxs = []int32{ + 1, // 0: ChessSelectedCardsNotify.selected_card_info_list:type_name -> ChessCardInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ChessSelectedCardsNotify_proto_init() } +func file_ChessSelectedCardsNotify_proto_init() { + if File_ChessSelectedCardsNotify_proto != nil { + return + } + file_ChessCardInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ChessSelectedCardsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChessSelectedCardsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChessSelectedCardsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChessSelectedCardsNotify_proto_goTypes, + DependencyIndexes: file_ChessSelectedCardsNotify_proto_depIdxs, + MessageInfos: file_ChessSelectedCardsNotify_proto_msgTypes, + }.Build() + File_ChessSelectedCardsNotify_proto = out.File + file_ChessSelectedCardsNotify_proto_rawDesc = nil + file_ChessSelectedCardsNotify_proto_goTypes = nil + file_ChessSelectedCardsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChessSelectedCardsNotify.proto b/gate-hk4e-api/proto/ChessSelectedCardsNotify.proto new file mode 100644 index 00000000..8258faee --- /dev/null +++ b/gate-hk4e-api/proto/ChessSelectedCardsNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessCardInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5392 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChessSelectedCardsNotify { + repeated ChessCardInfo selected_card_info_list = 4; +} diff --git a/gate-hk4e-api/proto/ChildQuest.pb.go b/gate-hk4e-api/proto/ChildQuest.pb.go new file mode 100644 index 00000000..3ecc96a1 --- /dev/null +++ b/gate-hk4e-api/proto/ChildQuest.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChildQuest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChildQuest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestConfigId uint32 `protobuf:"varint,8,opt,name=quest_config_id,json=questConfigId,proto3" json:"quest_config_id,omitempty"` + State uint32 `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"` + QuestId uint32 `protobuf:"varint,15,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *ChildQuest) Reset() { + *x = ChildQuest{} + if protoimpl.UnsafeEnabled { + mi := &file_ChildQuest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChildQuest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChildQuest) ProtoMessage() {} + +func (x *ChildQuest) ProtoReflect() protoreflect.Message { + mi := &file_ChildQuest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChildQuest.ProtoReflect.Descriptor instead. +func (*ChildQuest) Descriptor() ([]byte, []int) { + return file_ChildQuest_proto_rawDescGZIP(), []int{0} +} + +func (x *ChildQuest) GetQuestConfigId() uint32 { + if x != nil { + return x.QuestConfigId + } + return 0 +} + +func (x *ChildQuest) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *ChildQuest) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_ChildQuest_proto protoreflect.FileDescriptor + +var file_ChildQuest_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x0a, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x26, 0x0a, 0x0f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChildQuest_proto_rawDescOnce sync.Once + file_ChildQuest_proto_rawDescData = file_ChildQuest_proto_rawDesc +) + +func file_ChildQuest_proto_rawDescGZIP() []byte { + file_ChildQuest_proto_rawDescOnce.Do(func() { + file_ChildQuest_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChildQuest_proto_rawDescData) + }) + return file_ChildQuest_proto_rawDescData +} + +var file_ChildQuest_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChildQuest_proto_goTypes = []interface{}{ + (*ChildQuest)(nil), // 0: ChildQuest +} +var file_ChildQuest_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChildQuest_proto_init() } +func file_ChildQuest_proto_init() { + if File_ChildQuest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChildQuest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChildQuest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChildQuest_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChildQuest_proto_goTypes, + DependencyIndexes: file_ChildQuest_proto_depIdxs, + MessageInfos: file_ChildQuest_proto_msgTypes, + }.Build() + File_ChildQuest_proto = out.File + file_ChildQuest_proto_rawDesc = nil + file_ChildQuest_proto_goTypes = nil + file_ChildQuest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChildQuest.proto b/gate-hk4e-api/proto/ChildQuest.proto new file mode 100644 index 00000000..f27f8acb --- /dev/null +++ b/gate-hk4e-api/proto/ChildQuest.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ChildQuest { + uint32 quest_config_id = 8; + uint32 state = 4; + uint32 quest_id = 15; +} diff --git a/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.pb.go b/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.pb.go new file mode 100644 index 00000000..69ed514b --- /dev/null +++ b/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChooseCurAvatarTeamReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1796 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ChooseCurAvatarTeamReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TeamId uint32 `protobuf:"varint,9,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` +} + +func (x *ChooseCurAvatarTeamReq) Reset() { + *x = ChooseCurAvatarTeamReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ChooseCurAvatarTeamReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChooseCurAvatarTeamReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChooseCurAvatarTeamReq) ProtoMessage() {} + +func (x *ChooseCurAvatarTeamReq) ProtoReflect() protoreflect.Message { + mi := &file_ChooseCurAvatarTeamReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChooseCurAvatarTeamReq.ProtoReflect.Descriptor instead. +func (*ChooseCurAvatarTeamReq) Descriptor() ([]byte, []int) { + return file_ChooseCurAvatarTeamReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ChooseCurAvatarTeamReq) GetTeamId() uint32 { + if x != nil { + return x.TeamId + } + return 0 +} + +var File_ChooseCurAvatarTeamReq_proto protoreflect.FileDescriptor + +var file_ChooseCurAvatarTeamReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x43, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, + 0x0a, 0x16, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x43, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChooseCurAvatarTeamReq_proto_rawDescOnce sync.Once + file_ChooseCurAvatarTeamReq_proto_rawDescData = file_ChooseCurAvatarTeamReq_proto_rawDesc +) + +func file_ChooseCurAvatarTeamReq_proto_rawDescGZIP() []byte { + file_ChooseCurAvatarTeamReq_proto_rawDescOnce.Do(func() { + file_ChooseCurAvatarTeamReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChooseCurAvatarTeamReq_proto_rawDescData) + }) + return file_ChooseCurAvatarTeamReq_proto_rawDescData +} + +var file_ChooseCurAvatarTeamReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChooseCurAvatarTeamReq_proto_goTypes = []interface{}{ + (*ChooseCurAvatarTeamReq)(nil), // 0: ChooseCurAvatarTeamReq +} +var file_ChooseCurAvatarTeamReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChooseCurAvatarTeamReq_proto_init() } +func file_ChooseCurAvatarTeamReq_proto_init() { + if File_ChooseCurAvatarTeamReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChooseCurAvatarTeamReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChooseCurAvatarTeamReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChooseCurAvatarTeamReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChooseCurAvatarTeamReq_proto_goTypes, + DependencyIndexes: file_ChooseCurAvatarTeamReq_proto_depIdxs, + MessageInfos: file_ChooseCurAvatarTeamReq_proto_msgTypes, + }.Build() + File_ChooseCurAvatarTeamReq_proto = out.File + file_ChooseCurAvatarTeamReq_proto_rawDesc = nil + file_ChooseCurAvatarTeamReq_proto_goTypes = nil + file_ChooseCurAvatarTeamReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.proto b/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.proto new file mode 100644 index 00000000..6367c17f --- /dev/null +++ b/gate-hk4e-api/proto/ChooseCurAvatarTeamReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1796 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ChooseCurAvatarTeamReq { + uint32 team_id = 9; +} diff --git a/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.pb.go b/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.pb.go new file mode 100644 index 00000000..f51eaa95 --- /dev/null +++ b/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ChooseCurAvatarTeamRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1661 +// EnetChannelId: 0 +// EnetIsReliable: true +type ChooseCurAvatarTeamRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurTeamId uint32 `protobuf:"varint,1,opt,name=cur_team_id,json=curTeamId,proto3" json:"cur_team_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ChooseCurAvatarTeamRsp) Reset() { + *x = ChooseCurAvatarTeamRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ChooseCurAvatarTeamRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChooseCurAvatarTeamRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChooseCurAvatarTeamRsp) ProtoMessage() {} + +func (x *ChooseCurAvatarTeamRsp) ProtoReflect() protoreflect.Message { + mi := &file_ChooseCurAvatarTeamRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChooseCurAvatarTeamRsp.ProtoReflect.Descriptor instead. +func (*ChooseCurAvatarTeamRsp) Descriptor() ([]byte, []int) { + return file_ChooseCurAvatarTeamRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ChooseCurAvatarTeamRsp) GetCurTeamId() uint32 { + if x != nil { + return x.CurTeamId + } + return 0 +} + +func (x *ChooseCurAvatarTeamRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ChooseCurAvatarTeamRsp_proto protoreflect.FileDescriptor + +var file_ChooseCurAvatarTeamRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x43, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, + 0x0a, 0x16, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x43, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x5f, + 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, + 0x75, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ChooseCurAvatarTeamRsp_proto_rawDescOnce sync.Once + file_ChooseCurAvatarTeamRsp_proto_rawDescData = file_ChooseCurAvatarTeamRsp_proto_rawDesc +) + +func file_ChooseCurAvatarTeamRsp_proto_rawDescGZIP() []byte { + file_ChooseCurAvatarTeamRsp_proto_rawDescOnce.Do(func() { + file_ChooseCurAvatarTeamRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChooseCurAvatarTeamRsp_proto_rawDescData) + }) + return file_ChooseCurAvatarTeamRsp_proto_rawDescData +} + +var file_ChooseCurAvatarTeamRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ChooseCurAvatarTeamRsp_proto_goTypes = []interface{}{ + (*ChooseCurAvatarTeamRsp)(nil), // 0: ChooseCurAvatarTeamRsp +} +var file_ChooseCurAvatarTeamRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ChooseCurAvatarTeamRsp_proto_init() } +func file_ChooseCurAvatarTeamRsp_proto_init() { + if File_ChooseCurAvatarTeamRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ChooseCurAvatarTeamRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChooseCurAvatarTeamRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ChooseCurAvatarTeamRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ChooseCurAvatarTeamRsp_proto_goTypes, + DependencyIndexes: file_ChooseCurAvatarTeamRsp_proto_depIdxs, + MessageInfos: file_ChooseCurAvatarTeamRsp_proto_msgTypes, + }.Build() + File_ChooseCurAvatarTeamRsp_proto = out.File + file_ChooseCurAvatarTeamRsp_proto_rawDesc = nil + file_ChooseCurAvatarTeamRsp_proto_goTypes = nil + file_ChooseCurAvatarTeamRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.proto b/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.proto new file mode 100644 index 00000000..acae5355 --- /dev/null +++ b/gate-hk4e-api/proto/ChooseCurAvatarTeamRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1661 +// EnetChannelId: 0 +// EnetIsReliable: true +message ChooseCurAvatarTeamRsp { + uint32 cur_team_id = 1; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/CityInfo.pb.go b/gate-hk4e-api/proto/CityInfo.pb.go new file mode 100644 index 00000000..81bc80d5 --- /dev/null +++ b/gate-hk4e-api/proto/CityInfo.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,15,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + CrystalNum uint32 `protobuf:"varint,3,opt,name=crystal_num,json=crystalNum,proto3" json:"crystal_num,omitempty"` + Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *CityInfo) Reset() { + *x = CityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityInfo) ProtoMessage() {} + +func (x *CityInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityInfo.ProtoReflect.Descriptor instead. +func (*CityInfo) Descriptor() ([]byte, []int) { + return file_CityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityInfo) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *CityInfo) GetCrystalNum() uint32 { + if x != nil { + return x.CrystalNum + } + return 0 +} + +func (x *CityInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_CityInfo_proto protoreflect.FileDescriptor + +var file_CityInfo_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5a, 0x0a, 0x08, 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x72, 0x79, 0x73, + 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityInfo_proto_rawDescOnce sync.Once + file_CityInfo_proto_rawDescData = file_CityInfo_proto_rawDesc +) + +func file_CityInfo_proto_rawDescGZIP() []byte { + file_CityInfo_proto_rawDescOnce.Do(func() { + file_CityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityInfo_proto_rawDescData) + }) + return file_CityInfo_proto_rawDescData +} + +var file_CityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityInfo_proto_goTypes = []interface{}{ + (*CityInfo)(nil), // 0: CityInfo +} +var file_CityInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityInfo_proto_init() } +func file_CityInfo_proto_init() { + if File_CityInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityInfo_proto_goTypes, + DependencyIndexes: file_CityInfo_proto_depIdxs, + MessageInfos: file_CityInfo_proto_msgTypes, + }.Build() + File_CityInfo_proto = out.File + file_CityInfo_proto_rawDesc = nil + file_CityInfo_proto_goTypes = nil + file_CityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityInfo.proto b/gate-hk4e-api/proto/CityInfo.proto new file mode 100644 index 00000000..2c9f71b3 --- /dev/null +++ b/gate-hk4e-api/proto/CityInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityInfo { + uint32 city_id = 15; + uint32 crystal_num = 3; + uint32 level = 4; +} diff --git a/gate-hk4e-api/proto/CityReputationDataNotify.pb.go b/gate-hk4e-api/proto/CityReputationDataNotify.pb.go new file mode 100644 index 00000000..155b29f9 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationDataNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2805 +// EnetChannelId: 0 +// EnetIsReliable: true +type CityReputationDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SimpleInfoList []*CityReputationSimpleInfo `protobuf:"bytes,7,rep,name=simple_info_list,json=simpleInfoList,proto3" json:"simple_info_list,omitempty"` +} + +func (x *CityReputationDataNotify) Reset() { + *x = CityReputationDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationDataNotify) ProtoMessage() {} + +func (x *CityReputationDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationDataNotify.ProtoReflect.Descriptor instead. +func (*CityReputationDataNotify) Descriptor() ([]byte, []int) { + return file_CityReputationDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationDataNotify) GetSimpleInfoList() []*CityReputationSimpleInfo { + if x != nil { + return x.SimpleInfoList + } + return nil +} + +var File_CityReputationDataNotify_proto protoreflect.FileDescriptor + +var file_CityReputationDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5f, 0x0a, 0x18, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x43, 0x0a, 0x10, + 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationDataNotify_proto_rawDescOnce sync.Once + file_CityReputationDataNotify_proto_rawDescData = file_CityReputationDataNotify_proto_rawDesc +) + +func file_CityReputationDataNotify_proto_rawDescGZIP() []byte { + file_CityReputationDataNotify_proto_rawDescOnce.Do(func() { + file_CityReputationDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationDataNotify_proto_rawDescData) + }) + return file_CityReputationDataNotify_proto_rawDescData +} + +var file_CityReputationDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationDataNotify_proto_goTypes = []interface{}{ + (*CityReputationDataNotify)(nil), // 0: CityReputationDataNotify + (*CityReputationSimpleInfo)(nil), // 1: CityReputationSimpleInfo +} +var file_CityReputationDataNotify_proto_depIdxs = []int32{ + 1, // 0: CityReputationDataNotify.simple_info_list:type_name -> CityReputationSimpleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CityReputationDataNotify_proto_init() } +func file_CityReputationDataNotify_proto_init() { + if File_CityReputationDataNotify_proto != nil { + return + } + file_CityReputationSimpleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_CityReputationDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationDataNotify_proto_goTypes, + DependencyIndexes: file_CityReputationDataNotify_proto_depIdxs, + MessageInfos: file_CityReputationDataNotify_proto_msgTypes, + }.Build() + File_CityReputationDataNotify_proto = out.File + file_CityReputationDataNotify_proto_rawDesc = nil + file_CityReputationDataNotify_proto_goTypes = nil + file_CityReputationDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationDataNotify.proto b/gate-hk4e-api/proto/CityReputationDataNotify.proto new file mode 100644 index 00000000..9e23f5a5 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CityReputationSimpleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2805 +// EnetChannelId: 0 +// EnetIsReliable: true +message CityReputationDataNotify { + repeated CityReputationSimpleInfo simple_info_list = 7; +} diff --git a/gate-hk4e-api/proto/CityReputationExploreInfo.pb.go b/gate-hk4e-api/proto/CityReputationExploreInfo.pb.go new file mode 100644 index 00000000..1fa8aa5f --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationExploreInfo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationExploreInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationExploreInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TakenExploreRewardList []uint32 `protobuf:"varint,2,rep,packed,name=taken_explore_reward_list,json=takenExploreRewardList,proto3" json:"taken_explore_reward_list,omitempty"` + ExplorePercent uint32 `protobuf:"varint,14,opt,name=explore_percent,json=explorePercent,proto3" json:"explore_percent,omitempty"` + IsOpen bool `protobuf:"varint,15,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *CityReputationExploreInfo) Reset() { + *x = CityReputationExploreInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationExploreInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationExploreInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationExploreInfo) ProtoMessage() {} + +func (x *CityReputationExploreInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationExploreInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationExploreInfo.ProtoReflect.Descriptor instead. +func (*CityReputationExploreInfo) Descriptor() ([]byte, []int) { + return file_CityReputationExploreInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationExploreInfo) GetTakenExploreRewardList() []uint32 { + if x != nil { + return x.TakenExploreRewardList + } + return nil +} + +func (x *CityReputationExploreInfo) GetExplorePercent() uint32 { + if x != nil { + return x.ExplorePercent + } + return 0 +} + +func (x *CityReputationExploreInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_CityReputationExploreInfo_proto protoreflect.FileDescriptor + +var file_CityReputationExploreInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x19, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x39, 0x0a, 0x19, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x16, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, + 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x50, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationExploreInfo_proto_rawDescOnce sync.Once + file_CityReputationExploreInfo_proto_rawDescData = file_CityReputationExploreInfo_proto_rawDesc +) + +func file_CityReputationExploreInfo_proto_rawDescGZIP() []byte { + file_CityReputationExploreInfo_proto_rawDescOnce.Do(func() { + file_CityReputationExploreInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationExploreInfo_proto_rawDescData) + }) + return file_CityReputationExploreInfo_proto_rawDescData +} + +var file_CityReputationExploreInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationExploreInfo_proto_goTypes = []interface{}{ + (*CityReputationExploreInfo)(nil), // 0: CityReputationExploreInfo +} +var file_CityReputationExploreInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityReputationExploreInfo_proto_init() } +func file_CityReputationExploreInfo_proto_init() { + if File_CityReputationExploreInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationExploreInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationExploreInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationExploreInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationExploreInfo_proto_goTypes, + DependencyIndexes: file_CityReputationExploreInfo_proto_depIdxs, + MessageInfos: file_CityReputationExploreInfo_proto_msgTypes, + }.Build() + File_CityReputationExploreInfo_proto = out.File + file_CityReputationExploreInfo_proto_rawDesc = nil + file_CityReputationExploreInfo_proto_goTypes = nil + file_CityReputationExploreInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationExploreInfo.proto b/gate-hk4e-api/proto/CityReputationExploreInfo.proto new file mode 100644 index 00000000..68c3d115 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationExploreInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityReputationExploreInfo { + repeated uint32 taken_explore_reward_list = 2; + uint32 explore_percent = 14; + bool is_open = 15; +} diff --git a/gate-hk4e-api/proto/CityReputationHuntInfo.pb.go b/gate-hk4e-api/proto/CityReputationHuntInfo.pb.go new file mode 100644 index 00000000..3e317e90 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationHuntInfo.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationHuntInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationHuntInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,6,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + CurWeekFinishNum uint32 `protobuf:"varint,15,opt,name=cur_week_finish_num,json=curWeekFinishNum,proto3" json:"cur_week_finish_num,omitempty"` + HasReward bool `protobuf:"varint,5,opt,name=has_reward,json=hasReward,proto3" json:"has_reward,omitempty"` +} + +func (x *CityReputationHuntInfo) Reset() { + *x = CityReputationHuntInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationHuntInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationHuntInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationHuntInfo) ProtoMessage() {} + +func (x *CityReputationHuntInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationHuntInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationHuntInfo.ProtoReflect.Descriptor instead. +func (*CityReputationHuntInfo) Descriptor() ([]byte, []int) { + return file_CityReputationHuntInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationHuntInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *CityReputationHuntInfo) GetCurWeekFinishNum() uint32 { + if x != nil { + return x.CurWeekFinishNum + } + return 0 +} + +func (x *CityReputationHuntInfo) GetHasReward() bool { + if x != nil { + return x.HasReward + } + return false +} + +var File_CityReputationHuntInfo_proto protoreflect.FileDescriptor + +var file_CityReputationHuntInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, + 0x0a, 0x16, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, + 0x70, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, + 0x6e, 0x12, 0x2d, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x5f, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, + 0x63, 0x75, 0x72, 0x57, 0x65, 0x65, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, + 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x61, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationHuntInfo_proto_rawDescOnce sync.Once + file_CityReputationHuntInfo_proto_rawDescData = file_CityReputationHuntInfo_proto_rawDesc +) + +func file_CityReputationHuntInfo_proto_rawDescGZIP() []byte { + file_CityReputationHuntInfo_proto_rawDescOnce.Do(func() { + file_CityReputationHuntInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationHuntInfo_proto_rawDescData) + }) + return file_CityReputationHuntInfo_proto_rawDescData +} + +var file_CityReputationHuntInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationHuntInfo_proto_goTypes = []interface{}{ + (*CityReputationHuntInfo)(nil), // 0: CityReputationHuntInfo +} +var file_CityReputationHuntInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityReputationHuntInfo_proto_init() } +func file_CityReputationHuntInfo_proto_init() { + if File_CityReputationHuntInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationHuntInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationHuntInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationHuntInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationHuntInfo_proto_goTypes, + DependencyIndexes: file_CityReputationHuntInfo_proto_depIdxs, + MessageInfos: file_CityReputationHuntInfo_proto_msgTypes, + }.Build() + File_CityReputationHuntInfo_proto = out.File + file_CityReputationHuntInfo_proto_rawDesc = nil + file_CityReputationHuntInfo_proto_goTypes = nil + file_CityReputationHuntInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationHuntInfo.proto b/gate-hk4e-api/proto/CityReputationHuntInfo.proto new file mode 100644 index 00000000..e3bdf248 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationHuntInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityReputationHuntInfo { + bool is_open = 6; + uint32 cur_week_finish_num = 15; + bool has_reward = 5; +} diff --git a/gate-hk4e-api/proto/CityReputationInfo.pb.go b/gate-hk4e-api/proto/CityReputationInfo.pb.go new file mode 100644 index 00000000..da33242e --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationInfo.pb.go @@ -0,0 +1,268 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,3,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + HuntInfo *CityReputationHuntInfo `protobuf:"bytes,11,opt,name=hunt_info,json=huntInfo,proto3" json:"hunt_info,omitempty"` + TakenLevelRewardList []uint32 `protobuf:"varint,2,rep,packed,name=taken_level_reward_list,json=takenLevelRewardList,proto3" json:"taken_level_reward_list,omitempty"` + TotalAcceptRequestNum uint32 `protobuf:"varint,6,opt,name=total_accept_request_num,json=totalAcceptRequestNum,proto3" json:"total_accept_request_num,omitempty"` + RequestInfo *CityReputationRequestInfo `protobuf:"bytes,5,opt,name=request_info,json=requestInfo,proto3" json:"request_info,omitempty"` + QuestInfo *CityReputationQuestInfo `protobuf:"bytes,9,opt,name=quest_info,json=questInfo,proto3" json:"quest_info,omitempty"` + Exp uint32 `protobuf:"varint,13,opt,name=exp,proto3" json:"exp,omitempty"` + ExploreInfo *CityReputationExploreInfo `protobuf:"bytes,10,opt,name=explore_info,json=exploreInfo,proto3" json:"explore_info,omitempty"` +} + +func (x *CityReputationInfo) Reset() { + *x = CityReputationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationInfo) ProtoMessage() {} + +func (x *CityReputationInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationInfo.ProtoReflect.Descriptor instead. +func (*CityReputationInfo) Descriptor() ([]byte, []int) { + return file_CityReputationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *CityReputationInfo) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *CityReputationInfo) GetHuntInfo() *CityReputationHuntInfo { + if x != nil { + return x.HuntInfo + } + return nil +} + +func (x *CityReputationInfo) GetTakenLevelRewardList() []uint32 { + if x != nil { + return x.TakenLevelRewardList + } + return nil +} + +func (x *CityReputationInfo) GetTotalAcceptRequestNum() uint32 { + if x != nil { + return x.TotalAcceptRequestNum + } + return 0 +} + +func (x *CityReputationInfo) GetRequestInfo() *CityReputationRequestInfo { + if x != nil { + return x.RequestInfo + } + return nil +} + +func (x *CityReputationInfo) GetQuestInfo() *CityReputationQuestInfo { + if x != nil { + return x.QuestInfo + } + return nil +} + +func (x *CityReputationInfo) GetExp() uint32 { + if x != nil { + return x.Exp + } + return 0 +} + +func (x *CityReputationInfo) GetExploreInfo() *CityReputationExploreInfo { + if x != nil { + return x.ExploreInfo + } + return nil +} + +var File_CityReputationInfo_proto protoreflect.FileDescriptor + +var file_CityReputationInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x43, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x43, 0x69, 0x74, + 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x75, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x43, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x03, 0x0a, 0x12, 0x43, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x68, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x68, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, 0x6b, 0x65, + 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x61, 0x6b, 0x65, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x37, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x65, + 0x78, 0x70, 0x12, 0x3d, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationInfo_proto_rawDescOnce sync.Once + file_CityReputationInfo_proto_rawDescData = file_CityReputationInfo_proto_rawDesc +) + +func file_CityReputationInfo_proto_rawDescGZIP() []byte { + file_CityReputationInfo_proto_rawDescOnce.Do(func() { + file_CityReputationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationInfo_proto_rawDescData) + }) + return file_CityReputationInfo_proto_rawDescData +} + +var file_CityReputationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationInfo_proto_goTypes = []interface{}{ + (*CityReputationInfo)(nil), // 0: CityReputationInfo + (*CityReputationHuntInfo)(nil), // 1: CityReputationHuntInfo + (*CityReputationRequestInfo)(nil), // 2: CityReputationRequestInfo + (*CityReputationQuestInfo)(nil), // 3: CityReputationQuestInfo + (*CityReputationExploreInfo)(nil), // 4: CityReputationExploreInfo +} +var file_CityReputationInfo_proto_depIdxs = []int32{ + 1, // 0: CityReputationInfo.hunt_info:type_name -> CityReputationHuntInfo + 2, // 1: CityReputationInfo.request_info:type_name -> CityReputationRequestInfo + 3, // 2: CityReputationInfo.quest_info:type_name -> CityReputationQuestInfo + 4, // 3: CityReputationInfo.explore_info:type_name -> CityReputationExploreInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_CityReputationInfo_proto_init() } +func file_CityReputationInfo_proto_init() { + if File_CityReputationInfo_proto != nil { + return + } + file_CityReputationExploreInfo_proto_init() + file_CityReputationHuntInfo_proto_init() + file_CityReputationQuestInfo_proto_init() + file_CityReputationRequestInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_CityReputationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationInfo_proto_goTypes, + DependencyIndexes: file_CityReputationInfo_proto_depIdxs, + MessageInfos: file_CityReputationInfo_proto_msgTypes, + }.Build() + File_CityReputationInfo_proto = out.File + file_CityReputationInfo_proto_rawDesc = nil + file_CityReputationInfo_proto_goTypes = nil + file_CityReputationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationInfo.proto b/gate-hk4e-api/proto/CityReputationInfo.proto new file mode 100644 index 00000000..33713d91 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationInfo.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CityReputationExploreInfo.proto"; +import "CityReputationHuntInfo.proto"; +import "CityReputationQuestInfo.proto"; +import "CityReputationRequestInfo.proto"; + +option go_package = "./;proto"; + +message CityReputationInfo { + uint32 level = 4; + uint32 next_refresh_time = 3; + CityReputationHuntInfo hunt_info = 11; + repeated uint32 taken_level_reward_list = 2; + uint32 total_accept_request_num = 6; + CityReputationRequestInfo request_info = 5; + CityReputationQuestInfo quest_info = 9; + uint32 exp = 13; + CityReputationExploreInfo explore_info = 10; +} diff --git a/gate-hk4e-api/proto/CityReputationLevelupNotify.pb.go b/gate-hk4e-api/proto/CityReputationLevelupNotify.pb.go new file mode 100644 index 00000000..a4822d47 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationLevelupNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationLevelupNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2807 +// EnetChannelId: 0 +// EnetIsReliable: true +type CityReputationLevelupNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,12,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Level uint32 `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *CityReputationLevelupNotify) Reset() { + *x = CityReputationLevelupNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationLevelupNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationLevelupNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationLevelupNotify) ProtoMessage() {} + +func (x *CityReputationLevelupNotify) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationLevelupNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationLevelupNotify.ProtoReflect.Descriptor instead. +func (*CityReputationLevelupNotify) Descriptor() ([]byte, []int) { + return file_CityReputationLevelupNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationLevelupNotify) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *CityReputationLevelupNotify) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_CityReputationLevelupNotify_proto protoreflect.FileDescriptor + +var file_CityReputationLevelupNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x1b, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationLevelupNotify_proto_rawDescOnce sync.Once + file_CityReputationLevelupNotify_proto_rawDescData = file_CityReputationLevelupNotify_proto_rawDesc +) + +func file_CityReputationLevelupNotify_proto_rawDescGZIP() []byte { + file_CityReputationLevelupNotify_proto_rawDescOnce.Do(func() { + file_CityReputationLevelupNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationLevelupNotify_proto_rawDescData) + }) + return file_CityReputationLevelupNotify_proto_rawDescData +} + +var file_CityReputationLevelupNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationLevelupNotify_proto_goTypes = []interface{}{ + (*CityReputationLevelupNotify)(nil), // 0: CityReputationLevelupNotify +} +var file_CityReputationLevelupNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityReputationLevelupNotify_proto_init() } +func file_CityReputationLevelupNotify_proto_init() { + if File_CityReputationLevelupNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationLevelupNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationLevelupNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationLevelupNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationLevelupNotify_proto_goTypes, + DependencyIndexes: file_CityReputationLevelupNotify_proto_depIdxs, + MessageInfos: file_CityReputationLevelupNotify_proto_msgTypes, + }.Build() + File_CityReputationLevelupNotify_proto = out.File + file_CityReputationLevelupNotify_proto_rawDesc = nil + file_CityReputationLevelupNotify_proto_goTypes = nil + file_CityReputationLevelupNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationLevelupNotify.proto b/gate-hk4e-api/proto/CityReputationLevelupNotify.proto new file mode 100644 index 00000000..cfbdb442 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationLevelupNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2807 +// EnetChannelId: 0 +// EnetIsReliable: true +message CityReputationLevelupNotify { + uint32 city_id = 12; + uint32 level = 15; +} diff --git a/gate-hk4e-api/proto/CityReputationQuestInfo.pb.go b/gate-hk4e-api/proto/CityReputationQuestInfo.pb.go new file mode 100644 index 00000000..91d77e76 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationQuestInfo.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationQuestInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationQuestInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,2,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + TakenParentQuestRewardList []uint32 `protobuf:"varint,12,rep,packed,name=taken_parent_quest_reward_list,json=takenParentQuestRewardList,proto3" json:"taken_parent_quest_reward_list,omitempty"` + FinishedParentQuestList []uint32 `protobuf:"varint,7,rep,packed,name=finished_parent_quest_list,json=finishedParentQuestList,proto3" json:"finished_parent_quest_list,omitempty"` +} + +func (x *CityReputationQuestInfo) Reset() { + *x = CityReputationQuestInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationQuestInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationQuestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationQuestInfo) ProtoMessage() {} + +func (x *CityReputationQuestInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationQuestInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationQuestInfo.ProtoReflect.Descriptor instead. +func (*CityReputationQuestInfo) Descriptor() ([]byte, []int) { + return file_CityReputationQuestInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationQuestInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *CityReputationQuestInfo) GetTakenParentQuestRewardList() []uint32 { + if x != nil { + return x.TakenParentQuestRewardList + } + return nil +} + +func (x *CityReputationQuestInfo) GetFinishedParentQuestList() []uint32 { + if x != nil { + return x.FinishedParentQuestList + } + return nil +} + +var File_CityReputationQuestInfo_proto protoreflect.FileDescriptor + +var file_CityReputationQuestInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xb3, 0x01, 0x0a, 0x17, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, + 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, + 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x42, 0x0a, 0x1e, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1a, 0x74, 0x61, + 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x17, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationQuestInfo_proto_rawDescOnce sync.Once + file_CityReputationQuestInfo_proto_rawDescData = file_CityReputationQuestInfo_proto_rawDesc +) + +func file_CityReputationQuestInfo_proto_rawDescGZIP() []byte { + file_CityReputationQuestInfo_proto_rawDescOnce.Do(func() { + file_CityReputationQuestInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationQuestInfo_proto_rawDescData) + }) + return file_CityReputationQuestInfo_proto_rawDescData +} + +var file_CityReputationQuestInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationQuestInfo_proto_goTypes = []interface{}{ + (*CityReputationQuestInfo)(nil), // 0: CityReputationQuestInfo +} +var file_CityReputationQuestInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityReputationQuestInfo_proto_init() } +func file_CityReputationQuestInfo_proto_init() { + if File_CityReputationQuestInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationQuestInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationQuestInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationQuestInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationQuestInfo_proto_goTypes, + DependencyIndexes: file_CityReputationQuestInfo_proto_depIdxs, + MessageInfos: file_CityReputationQuestInfo_proto_msgTypes, + }.Build() + File_CityReputationQuestInfo_proto = out.File + file_CityReputationQuestInfo_proto_rawDesc = nil + file_CityReputationQuestInfo_proto_goTypes = nil + file_CityReputationQuestInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationQuestInfo.proto b/gate-hk4e-api/proto/CityReputationQuestInfo.proto new file mode 100644 index 00000000..d460d4ff --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationQuestInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityReputationQuestInfo { + bool is_open = 2; + repeated uint32 taken_parent_quest_reward_list = 12; + repeated uint32 finished_parent_quest_list = 7; +} diff --git a/gate-hk4e-api/proto/CityReputationRequestInfo.pb.go b/gate-hk4e-api/proto/CityReputationRequestInfo.pb.go new file mode 100644 index 00000000..5c0bd1e1 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationRequestInfo.pb.go @@ -0,0 +1,257 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationRequestInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationRequestInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,2,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + RequestInfoList []*CityReputationRequestInfo_RequestInfo `protobuf:"bytes,1,rep,name=request_info_list,json=requestInfoList,proto3" json:"request_info_list,omitempty"` +} + +func (x *CityReputationRequestInfo) Reset() { + *x = CityReputationRequestInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationRequestInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationRequestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationRequestInfo) ProtoMessage() {} + +func (x *CityReputationRequestInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationRequestInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationRequestInfo.ProtoReflect.Descriptor instead. +func (*CityReputationRequestInfo) Descriptor() ([]byte, []int) { + return file_CityReputationRequestInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationRequestInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *CityReputationRequestInfo) GetRequestInfoList() []*CityReputationRequestInfo_RequestInfo { + if x != nil { + return x.RequestInfoList + } + return nil +} + +type CityReputationRequestInfo_RequestInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + QuestId uint32 `protobuf:"varint,9,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + IsTakenReward bool `protobuf:"varint,6,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` +} + +func (x *CityReputationRequestInfo_RequestInfo) Reset() { + *x = CityReputationRequestInfo_RequestInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationRequestInfo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationRequestInfo_RequestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationRequestInfo_RequestInfo) ProtoMessage() {} + +func (x *CityReputationRequestInfo_RequestInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationRequestInfo_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationRequestInfo_RequestInfo.ProtoReflect.Descriptor instead. +func (*CityReputationRequestInfo_RequestInfo) Descriptor() ([]byte, []int) { + return file_CityReputationRequestInfo_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *CityReputationRequestInfo_RequestInfo) GetRequestId() uint32 { + if x != nil { + return x.RequestId + } + return 0 +} + +func (x *CityReputationRequestInfo_RequestInfo) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *CityReputationRequestInfo_RequestInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +var File_CityReputationRequestInfo_proto protoreflect.FileDescriptor + +var file_CityReputationRequestInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x19, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x52, 0x0a, 0x11, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x6f, 0x0a, 0x0b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, + 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_CityReputationRequestInfo_proto_rawDescOnce sync.Once + file_CityReputationRequestInfo_proto_rawDescData = file_CityReputationRequestInfo_proto_rawDesc +) + +func file_CityReputationRequestInfo_proto_rawDescGZIP() []byte { + file_CityReputationRequestInfo_proto_rawDescOnce.Do(func() { + file_CityReputationRequestInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationRequestInfo_proto_rawDescData) + }) + return file_CityReputationRequestInfo_proto_rawDescData +} + +var file_CityReputationRequestInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_CityReputationRequestInfo_proto_goTypes = []interface{}{ + (*CityReputationRequestInfo)(nil), // 0: CityReputationRequestInfo + (*CityReputationRequestInfo_RequestInfo)(nil), // 1: CityReputationRequestInfo.RequestInfo +} +var file_CityReputationRequestInfo_proto_depIdxs = []int32{ + 1, // 0: CityReputationRequestInfo.request_info_list:type_name -> CityReputationRequestInfo.RequestInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CityReputationRequestInfo_proto_init() } +func file_CityReputationRequestInfo_proto_init() { + if File_CityReputationRequestInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationRequestInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationRequestInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_CityReputationRequestInfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationRequestInfo_RequestInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationRequestInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationRequestInfo_proto_goTypes, + DependencyIndexes: file_CityReputationRequestInfo_proto_depIdxs, + MessageInfos: file_CityReputationRequestInfo_proto_msgTypes, + }.Build() + File_CityReputationRequestInfo_proto = out.File + file_CityReputationRequestInfo_proto_rawDesc = nil + file_CityReputationRequestInfo_proto_goTypes = nil + file_CityReputationRequestInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationRequestInfo.proto b/gate-hk4e-api/proto/CityReputationRequestInfo.proto new file mode 100644 index 00000000..5ce15374 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationRequestInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityReputationRequestInfo { + bool is_open = 2; + repeated RequestInfo request_info_list = 1; + + message RequestInfo { + uint32 request_id = 3; + uint32 quest_id = 9; + bool is_taken_reward = 6; + } +} diff --git a/gate-hk4e-api/proto/CityReputationSimpleInfo.pb.go b/gate-hk4e-api/proto/CityReputationSimpleInfo.pb.go new file mode 100644 index 00000000..7adb2873 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationSimpleInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CityReputationSimpleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CityReputationSimpleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"` + CityId uint32 `protobuf:"varint,9,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *CityReputationSimpleInfo) Reset() { + *x = CityReputationSimpleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CityReputationSimpleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CityReputationSimpleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CityReputationSimpleInfo) ProtoMessage() {} + +func (x *CityReputationSimpleInfo) ProtoReflect() protoreflect.Message { + mi := &file_CityReputationSimpleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CityReputationSimpleInfo.ProtoReflect.Descriptor instead. +func (*CityReputationSimpleInfo) Descriptor() ([]byte, []int) { + return file_CityReputationSimpleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CityReputationSimpleInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *CityReputationSimpleInfo) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_CityReputationSimpleInfo_proto protoreflect.FileDescriptor + +var file_CityReputationSimpleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x49, 0x0a, 0x18, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CityReputationSimpleInfo_proto_rawDescOnce sync.Once + file_CityReputationSimpleInfo_proto_rawDescData = file_CityReputationSimpleInfo_proto_rawDesc +) + +func file_CityReputationSimpleInfo_proto_rawDescGZIP() []byte { + file_CityReputationSimpleInfo_proto_rawDescOnce.Do(func() { + file_CityReputationSimpleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CityReputationSimpleInfo_proto_rawDescData) + }) + return file_CityReputationSimpleInfo_proto_rawDescData +} + +var file_CityReputationSimpleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CityReputationSimpleInfo_proto_goTypes = []interface{}{ + (*CityReputationSimpleInfo)(nil), // 0: CityReputationSimpleInfo +} +var file_CityReputationSimpleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CityReputationSimpleInfo_proto_init() } +func file_CityReputationSimpleInfo_proto_init() { + if File_CityReputationSimpleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CityReputationSimpleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CityReputationSimpleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CityReputationSimpleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CityReputationSimpleInfo_proto_goTypes, + DependencyIndexes: file_CityReputationSimpleInfo_proto_depIdxs, + MessageInfos: file_CityReputationSimpleInfo_proto_msgTypes, + }.Build() + File_CityReputationSimpleInfo_proto = out.File + file_CityReputationSimpleInfo_proto_rawDesc = nil + file_CityReputationSimpleInfo_proto_goTypes = nil + file_CityReputationSimpleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CityReputationSimpleInfo.proto b/gate-hk4e-api/proto/CityReputationSimpleInfo.proto new file mode 100644 index 00000000..53179111 --- /dev/null +++ b/gate-hk4e-api/proto/CityReputationSimpleInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CityReputationSimpleInfo { + uint32 level = 15; + uint32 city_id = 9; +} diff --git a/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.pb.go b/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.pb.go new file mode 100644 index 00000000..3a0b226d --- /dev/null +++ b/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClearRoguelikeCurseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8207 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClearRoguelikeCurseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClearCurseMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=clear_curse_map,json=clearCurseMap,proto3" json:"clear_curse_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsClearAll bool `protobuf:"varint,11,opt,name=is_clear_all,json=isClearAll,proto3" json:"is_clear_all,omitempty"` + CardId uint32 `protobuf:"varint,8,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + IsCurseAllClear bool `protobuf:"varint,1,opt,name=is_curse_all_clear,json=isCurseAllClear,proto3" json:"is_curse_all_clear,omitempty"` +} + +func (x *ClearRoguelikeCurseNotify) Reset() { + *x = ClearRoguelikeCurseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClearRoguelikeCurseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClearRoguelikeCurseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClearRoguelikeCurseNotify) ProtoMessage() {} + +func (x *ClearRoguelikeCurseNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClearRoguelikeCurseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClearRoguelikeCurseNotify.ProtoReflect.Descriptor instead. +func (*ClearRoguelikeCurseNotify) Descriptor() ([]byte, []int) { + return file_ClearRoguelikeCurseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClearRoguelikeCurseNotify) GetClearCurseMap() map[uint32]uint32 { + if x != nil { + return x.ClearCurseMap + } + return nil +} + +func (x *ClearRoguelikeCurseNotify) GetIsClearAll() bool { + if x != nil { + return x.IsClearAll + } + return false +} + +func (x *ClearRoguelikeCurseNotify) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *ClearRoguelikeCurseNotify) GetIsCurseAllClear() bool { + if x != nil { + return x.IsCurseAllClear + } + return false +} + +var File_ClearRoguelikeCurseNotify_proto protoreflect.FileDescriptor + +var file_ClearRoguelikeCurseNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, + 0x43, 0x75, 0x72, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9c, 0x02, 0x0a, 0x19, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x55, 0x0a, 0x0f, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x75, + 0x72, 0x73, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x65, + 0x61, 0x72, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, + 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x6c, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, + 0x64, 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x61, 0x6c, + 0x6c, 0x5f, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x43, 0x75, 0x72, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x1a, 0x40, + 0x0a, 0x12, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClearRoguelikeCurseNotify_proto_rawDescOnce sync.Once + file_ClearRoguelikeCurseNotify_proto_rawDescData = file_ClearRoguelikeCurseNotify_proto_rawDesc +) + +func file_ClearRoguelikeCurseNotify_proto_rawDescGZIP() []byte { + file_ClearRoguelikeCurseNotify_proto_rawDescOnce.Do(func() { + file_ClearRoguelikeCurseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClearRoguelikeCurseNotify_proto_rawDescData) + }) + return file_ClearRoguelikeCurseNotify_proto_rawDescData +} + +var file_ClearRoguelikeCurseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ClearRoguelikeCurseNotify_proto_goTypes = []interface{}{ + (*ClearRoguelikeCurseNotify)(nil), // 0: ClearRoguelikeCurseNotify + nil, // 1: ClearRoguelikeCurseNotify.ClearCurseMapEntry +} +var file_ClearRoguelikeCurseNotify_proto_depIdxs = []int32{ + 1, // 0: ClearRoguelikeCurseNotify.clear_curse_map:type_name -> ClearRoguelikeCurseNotify.ClearCurseMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClearRoguelikeCurseNotify_proto_init() } +func file_ClearRoguelikeCurseNotify_proto_init() { + if File_ClearRoguelikeCurseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClearRoguelikeCurseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClearRoguelikeCurseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClearRoguelikeCurseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClearRoguelikeCurseNotify_proto_goTypes, + DependencyIndexes: file_ClearRoguelikeCurseNotify_proto_depIdxs, + MessageInfos: file_ClearRoguelikeCurseNotify_proto_msgTypes, + }.Build() + File_ClearRoguelikeCurseNotify_proto = out.File + file_ClearRoguelikeCurseNotify_proto_rawDesc = nil + file_ClearRoguelikeCurseNotify_proto_goTypes = nil + file_ClearRoguelikeCurseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.proto b/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.proto new file mode 100644 index 00000000..554b7baa --- /dev/null +++ b/gate-hk4e-api/proto/ClearRoguelikeCurseNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8207 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClearRoguelikeCurseNotify { + map clear_curse_map = 10; + bool is_clear_all = 11; + uint32 card_id = 8; + bool is_curse_all_clear = 1; +} diff --git a/gate-hk4e-api/proto/ClientAIStateNotify.pb.go b/gate-hk4e-api/proto/ClientAIStateNotify.pb.go new file mode 100644 index 00000000..d7f7c56d --- /dev/null +++ b/gate-hk4e-api/proto/ClientAIStateNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientAIStateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1181 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientAIStateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + CurTactic uint32 `protobuf:"varint,15,opt,name=cur_tactic,json=curTactic,proto3" json:"cur_tactic,omitempty"` +} + +func (x *ClientAIStateNotify) Reset() { + *x = ClientAIStateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientAIStateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientAIStateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientAIStateNotify) ProtoMessage() {} + +func (x *ClientAIStateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientAIStateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientAIStateNotify.ProtoReflect.Descriptor instead. +func (*ClientAIStateNotify) Descriptor() ([]byte, []int) { + return file_ClientAIStateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientAIStateNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ClientAIStateNotify) GetCurTactic() uint32 { + if x != nil { + return x.CurTactic + } + return 0 +} + +var File_ClientAIStateNotify_proto protoreflect.FileDescriptor + +var file_ClientAIStateNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x49, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x5f, 0x74, 0x61, 0x63, 0x74, 0x69, 0x63, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x75, 0x72, 0x54, 0x61, 0x63, 0x74, 0x69, 0x63, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ClientAIStateNotify_proto_rawDescOnce sync.Once + file_ClientAIStateNotify_proto_rawDescData = file_ClientAIStateNotify_proto_rawDesc +) + +func file_ClientAIStateNotify_proto_rawDescGZIP() []byte { + file_ClientAIStateNotify_proto_rawDescOnce.Do(func() { + file_ClientAIStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientAIStateNotify_proto_rawDescData) + }) + return file_ClientAIStateNotify_proto_rawDescData +} + +var file_ClientAIStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientAIStateNotify_proto_goTypes = []interface{}{ + (*ClientAIStateNotify)(nil), // 0: ClientAIStateNotify +} +var file_ClientAIStateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientAIStateNotify_proto_init() } +func file_ClientAIStateNotify_proto_init() { + if File_ClientAIStateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientAIStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientAIStateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientAIStateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientAIStateNotify_proto_goTypes, + DependencyIndexes: file_ClientAIStateNotify_proto_depIdxs, + MessageInfos: file_ClientAIStateNotify_proto_msgTypes, + }.Build() + File_ClientAIStateNotify_proto = out.File + file_ClientAIStateNotify_proto_rawDesc = nil + file_ClientAIStateNotify_proto_goTypes = nil + file_ClientAIStateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientAIStateNotify.proto b/gate-hk4e-api/proto/ClientAIStateNotify.proto new file mode 100644 index 00000000..afa22912 --- /dev/null +++ b/gate-hk4e-api/proto/ClientAIStateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1181 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientAIStateNotify { + uint32 entity_id = 9; + uint32 cur_tactic = 15; +} diff --git a/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.pb.go b/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.pb.go new file mode 100644 index 00000000..3c29b8e5 --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientAbilitiesInitFinishCombineNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1103 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientAbilitiesInitFinishCombineNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityInvokeList []*EntityAbilityInvokeEntry `protobuf:"bytes,1,rep,name=entity_invoke_list,json=entityInvokeList,proto3" json:"entity_invoke_list,omitempty"` +} + +func (x *ClientAbilitiesInitFinishCombineNotify) Reset() { + *x = ClientAbilitiesInitFinishCombineNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientAbilitiesInitFinishCombineNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientAbilitiesInitFinishCombineNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientAbilitiesInitFinishCombineNotify) ProtoMessage() {} + +func (x *ClientAbilitiesInitFinishCombineNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientAbilitiesInitFinishCombineNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientAbilitiesInitFinishCombineNotify.ProtoReflect.Descriptor instead. +func (*ClientAbilitiesInitFinishCombineNotify) Descriptor() ([]byte, []int) { + return file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientAbilitiesInitFinishCombineNotify) GetEntityInvokeList() []*EntityAbilityInvokeEntry { + if x != nil { + return x.EntityInvokeList + } + return nil +} + +var File_ClientAbilitiesInitFinishCombineNotify_proto protoreflect.FileDescriptor + +var file_ClientAbilitiesInitFinishCombineNotify_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x62, 0x69, + 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, + 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, + 0x0a, 0x26, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x62, 0x69, + 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x47, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescOnce sync.Once + file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescData = file_ClientAbilitiesInitFinishCombineNotify_proto_rawDesc +) + +func file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescGZIP() []byte { + file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescOnce.Do(func() { + file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescData) + }) + return file_ClientAbilitiesInitFinishCombineNotify_proto_rawDescData +} + +var file_ClientAbilitiesInitFinishCombineNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientAbilitiesInitFinishCombineNotify_proto_goTypes = []interface{}{ + (*ClientAbilitiesInitFinishCombineNotify)(nil), // 0: ClientAbilitiesInitFinishCombineNotify + (*EntityAbilityInvokeEntry)(nil), // 1: EntityAbilityInvokeEntry +} +var file_ClientAbilitiesInitFinishCombineNotify_proto_depIdxs = []int32{ + 1, // 0: ClientAbilitiesInitFinishCombineNotify.entity_invoke_list:type_name -> EntityAbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientAbilitiesInitFinishCombineNotify_proto_init() } +func file_ClientAbilitiesInitFinishCombineNotify_proto_init() { + if File_ClientAbilitiesInitFinishCombineNotify_proto != nil { + return + } + file_EntityAbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientAbilitiesInitFinishCombineNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientAbilitiesInitFinishCombineNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientAbilitiesInitFinishCombineNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientAbilitiesInitFinishCombineNotify_proto_goTypes, + DependencyIndexes: file_ClientAbilitiesInitFinishCombineNotify_proto_depIdxs, + MessageInfos: file_ClientAbilitiesInitFinishCombineNotify_proto_msgTypes, + }.Build() + File_ClientAbilitiesInitFinishCombineNotify_proto = out.File + file_ClientAbilitiesInitFinishCombineNotify_proto_rawDesc = nil + file_ClientAbilitiesInitFinishCombineNotify_proto_goTypes = nil + file_ClientAbilitiesInitFinishCombineNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.proto b/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.proto new file mode 100644 index 00000000..763b2b0e --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilitiesInitFinishCombineNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityAbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1103 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientAbilitiesInitFinishCombineNotify { + repeated EntityAbilityInvokeEntry entity_invoke_list = 1; +} diff --git a/gate-hk4e-api/proto/ClientAbilityChangeNotify.pb.go b/gate-hk4e-api/proto/ClientAbilityChangeNotify.pb.go new file mode 100644 index 00000000..09f7204e --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityChangeNotify.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientAbilityChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1175 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientAbilityChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2200_FNAFDMAPLHP bool `protobuf:"varint,9,opt,name=Unk2200_FNAFDMAPLHP,json=Unk2200FNAFDMAPLHP,proto3" json:"Unk2200_FNAFDMAPLHP,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Invokes []*AbilityInvokeEntry `protobuf:"bytes,3,rep,name=invokes,proto3" json:"invokes,omitempty"` +} + +func (x *ClientAbilityChangeNotify) Reset() { + *x = ClientAbilityChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientAbilityChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientAbilityChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientAbilityChangeNotify) ProtoMessage() {} + +func (x *ClientAbilityChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientAbilityChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientAbilityChangeNotify.ProtoReflect.Descriptor instead. +func (*ClientAbilityChangeNotify) Descriptor() ([]byte, []int) { + return file_ClientAbilityChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientAbilityChangeNotify) GetUnk2200_FNAFDMAPLHP() bool { + if x != nil { + return x.Unk2200_FNAFDMAPLHP + } + return false +} + +func (x *ClientAbilityChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ClientAbilityChangeNotify) GetInvokes() []*AbilityInvokeEntry { + if x != nil { + return x.Invokes + } + return nil +} + +var File_ClientAbilityChangeNotify_proto protoreflect.FileDescriptor + +var file_ClientAbilityChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x19, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x32, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x41, 0x46, 0x44, 0x4d, 0x41, 0x50, 0x4c, 0x48, 0x50, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x32, 0x30, 0x30, 0x46, + 0x4e, 0x41, 0x46, 0x44, 0x4d, 0x41, 0x50, 0x4c, 0x48, 0x50, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x69, + 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientAbilityChangeNotify_proto_rawDescOnce sync.Once + file_ClientAbilityChangeNotify_proto_rawDescData = file_ClientAbilityChangeNotify_proto_rawDesc +) + +func file_ClientAbilityChangeNotify_proto_rawDescGZIP() []byte { + file_ClientAbilityChangeNotify_proto_rawDescOnce.Do(func() { + file_ClientAbilityChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientAbilityChangeNotify_proto_rawDescData) + }) + return file_ClientAbilityChangeNotify_proto_rawDescData +} + +var file_ClientAbilityChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientAbilityChangeNotify_proto_goTypes = []interface{}{ + (*ClientAbilityChangeNotify)(nil), // 0: ClientAbilityChangeNotify + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_ClientAbilityChangeNotify_proto_depIdxs = []int32{ + 1, // 0: ClientAbilityChangeNotify.invokes:type_name -> AbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientAbilityChangeNotify_proto_init() } +func file_ClientAbilityChangeNotify_proto_init() { + if File_ClientAbilityChangeNotify_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientAbilityChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientAbilityChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientAbilityChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientAbilityChangeNotify_proto_goTypes, + DependencyIndexes: file_ClientAbilityChangeNotify_proto_depIdxs, + MessageInfos: file_ClientAbilityChangeNotify_proto_msgTypes, + }.Build() + File_ClientAbilityChangeNotify_proto = out.File + file_ClientAbilityChangeNotify_proto_rawDesc = nil + file_ClientAbilityChangeNotify_proto_goTypes = nil + file_ClientAbilityChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientAbilityChangeNotify.proto b/gate-hk4e-api/proto/ClientAbilityChangeNotify.proto new file mode 100644 index 00000000..d6444a5a --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityChangeNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1175 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientAbilityChangeNotify { + bool Unk2200_FNAFDMAPLHP = 9; + uint32 entity_id = 2; + repeated AbilityInvokeEntry invokes = 3; +} diff --git a/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.pb.go b/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.pb.go new file mode 100644 index 00000000..1f97dab8 --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientAbilityInitBeginNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientAbilityInitBeginNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *ClientAbilityInitBeginNotify) Reset() { + *x = ClientAbilityInitBeginNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientAbilityInitBeginNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientAbilityInitBeginNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientAbilityInitBeginNotify) ProtoMessage() {} + +func (x *ClientAbilityInitBeginNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientAbilityInitBeginNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientAbilityInitBeginNotify.ProtoReflect.Descriptor instead. +func (*ClientAbilityInitBeginNotify) Descriptor() ([]byte, []int) { + return file_ClientAbilityInitBeginNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientAbilityInitBeginNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_ClientAbilityInitBeginNotify_proto protoreflect.FileDescriptor + +var file_ClientAbilityInitBeginNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x69, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x69, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientAbilityInitBeginNotify_proto_rawDescOnce sync.Once + file_ClientAbilityInitBeginNotify_proto_rawDescData = file_ClientAbilityInitBeginNotify_proto_rawDesc +) + +func file_ClientAbilityInitBeginNotify_proto_rawDescGZIP() []byte { + file_ClientAbilityInitBeginNotify_proto_rawDescOnce.Do(func() { + file_ClientAbilityInitBeginNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientAbilityInitBeginNotify_proto_rawDescData) + }) + return file_ClientAbilityInitBeginNotify_proto_rawDescData +} + +var file_ClientAbilityInitBeginNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientAbilityInitBeginNotify_proto_goTypes = []interface{}{ + (*ClientAbilityInitBeginNotify)(nil), // 0: ClientAbilityInitBeginNotify +} +var file_ClientAbilityInitBeginNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientAbilityInitBeginNotify_proto_init() } +func file_ClientAbilityInitBeginNotify_proto_init() { + if File_ClientAbilityInitBeginNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientAbilityInitBeginNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientAbilityInitBeginNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientAbilityInitBeginNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientAbilityInitBeginNotify_proto_goTypes, + DependencyIndexes: file_ClientAbilityInitBeginNotify_proto_depIdxs, + MessageInfos: file_ClientAbilityInitBeginNotify_proto_msgTypes, + }.Build() + File_ClientAbilityInitBeginNotify_proto = out.File + file_ClientAbilityInitBeginNotify_proto_rawDesc = nil + file_ClientAbilityInitBeginNotify_proto_goTypes = nil + file_ClientAbilityInitBeginNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.proto b/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.proto new file mode 100644 index 00000000..c66cabfa --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityInitBeginNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientAbilityInitBeginNotify { + uint32 entity_id = 1; +} diff --git a/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.pb.go b/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.pb.go new file mode 100644 index 00000000..5fe7fc8d --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientAbilityInitFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1135 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientAbilityInitFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Invokes []*AbilityInvokeEntry `protobuf:"bytes,14,rep,name=invokes,proto3" json:"invokes,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *ClientAbilityInitFinishNotify) Reset() { + *x = ClientAbilityInitFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientAbilityInitFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientAbilityInitFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientAbilityInitFinishNotify) ProtoMessage() {} + +func (x *ClientAbilityInitFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientAbilityInitFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientAbilityInitFinishNotify.ProtoReflect.Descriptor instead. +func (*ClientAbilityInitFinishNotify) Descriptor() ([]byte, []int) { + return file_ClientAbilityInitFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientAbilityInitFinishNotify) GetInvokes() []*AbilityInvokeEntry { + if x != nil { + return x.Invokes + } + return nil +} + +func (x *ClientAbilityInitFinishNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_ClientAbilityInitFinishNotify_proto protoreflect.FileDescriptor + +var file_ClientAbilityInitFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6b, 0x0a, 0x1d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x2d, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientAbilityInitFinishNotify_proto_rawDescOnce sync.Once + file_ClientAbilityInitFinishNotify_proto_rawDescData = file_ClientAbilityInitFinishNotify_proto_rawDesc +) + +func file_ClientAbilityInitFinishNotify_proto_rawDescGZIP() []byte { + file_ClientAbilityInitFinishNotify_proto_rawDescOnce.Do(func() { + file_ClientAbilityInitFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientAbilityInitFinishNotify_proto_rawDescData) + }) + return file_ClientAbilityInitFinishNotify_proto_rawDescData +} + +var file_ClientAbilityInitFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientAbilityInitFinishNotify_proto_goTypes = []interface{}{ + (*ClientAbilityInitFinishNotify)(nil), // 0: ClientAbilityInitFinishNotify + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_ClientAbilityInitFinishNotify_proto_depIdxs = []int32{ + 1, // 0: ClientAbilityInitFinishNotify.invokes:type_name -> AbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientAbilityInitFinishNotify_proto_init() } +func file_ClientAbilityInitFinishNotify_proto_init() { + if File_ClientAbilityInitFinishNotify_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientAbilityInitFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientAbilityInitFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientAbilityInitFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientAbilityInitFinishNotify_proto_goTypes, + DependencyIndexes: file_ClientAbilityInitFinishNotify_proto_depIdxs, + MessageInfos: file_ClientAbilityInitFinishNotify_proto_msgTypes, + }.Build() + File_ClientAbilityInitFinishNotify_proto = out.File + file_ClientAbilityInitFinishNotify_proto_rawDesc = nil + file_ClientAbilityInitFinishNotify_proto_goTypes = nil + file_ClientAbilityInitFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.proto b/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.proto new file mode 100644 index 00000000..b1f13d68 --- /dev/null +++ b/gate-hk4e-api/proto/ClientAbilityInitFinishNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 1135 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientAbilityInitFinishNotify { + repeated AbilityInvokeEntry invokes = 14; + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/ClientBulletCreateNotify.pb.go b/gate-hk4e-api/proto/ClientBulletCreateNotify.pb.go new file mode 100644 index 00000000..34f531cc --- /dev/null +++ b/gate-hk4e-api/proto/ClientBulletCreateNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientBulletCreateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientBulletCreateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,6,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *ClientBulletCreateNotify) Reset() { + *x = ClientBulletCreateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientBulletCreateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientBulletCreateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientBulletCreateNotify) ProtoMessage() {} + +func (x *ClientBulletCreateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientBulletCreateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientBulletCreateNotify.ProtoReflect.Descriptor instead. +func (*ClientBulletCreateNotify) Descriptor() ([]byte, []int) { + return file_ClientBulletCreateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientBulletCreateNotify) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_ClientBulletCreateNotify_proto protoreflect.FileDescriptor + +var file_ClientBulletCreateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x30, 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientBulletCreateNotify_proto_rawDescOnce sync.Once + file_ClientBulletCreateNotify_proto_rawDescData = file_ClientBulletCreateNotify_proto_rawDesc +) + +func file_ClientBulletCreateNotify_proto_rawDescGZIP() []byte { + file_ClientBulletCreateNotify_proto_rawDescOnce.Do(func() { + file_ClientBulletCreateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientBulletCreateNotify_proto_rawDescData) + }) + return file_ClientBulletCreateNotify_proto_rawDescData +} + +var file_ClientBulletCreateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientBulletCreateNotify_proto_goTypes = []interface{}{ + (*ClientBulletCreateNotify)(nil), // 0: ClientBulletCreateNotify +} +var file_ClientBulletCreateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientBulletCreateNotify_proto_init() } +func file_ClientBulletCreateNotify_proto_init() { + if File_ClientBulletCreateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientBulletCreateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientBulletCreateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientBulletCreateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientBulletCreateNotify_proto_goTypes, + DependencyIndexes: file_ClientBulletCreateNotify_proto_depIdxs, + MessageInfos: file_ClientBulletCreateNotify_proto_msgTypes, + }.Build() + File_ClientBulletCreateNotify_proto = out.File + file_ClientBulletCreateNotify_proto_rawDesc = nil + file_ClientBulletCreateNotify_proto_goTypes = nil + file_ClientBulletCreateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientBulletCreateNotify.proto b/gate-hk4e-api/proto/ClientBulletCreateNotify.proto new file mode 100644 index 00000000..67a7d81d --- /dev/null +++ b/gate-hk4e-api/proto/ClientBulletCreateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientBulletCreateNotify { + uint32 param = 6; +} diff --git a/gate-hk4e-api/proto/ClientCollectorData.pb.go b/gate-hk4e-api/proto/ClientCollectorData.pb.go new file mode 100644 index 00000000..c9f6b40f --- /dev/null +++ b/gate-hk4e-api/proto/ClientCollectorData.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientCollectorData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientCollectorData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialId uint32 `protobuf:"varint,10,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + MaxPoints uint32 `protobuf:"varint,8,opt,name=max_points,json=maxPoints,proto3" json:"max_points,omitempty"` + CurrPoints uint32 `protobuf:"varint,13,opt,name=curr_points,json=currPoints,proto3" json:"curr_points,omitempty"` +} + +func (x *ClientCollectorData) Reset() { + *x = ClientCollectorData{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientCollectorData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientCollectorData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientCollectorData) ProtoMessage() {} + +func (x *ClientCollectorData) ProtoReflect() protoreflect.Message { + mi := &file_ClientCollectorData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientCollectorData.ProtoReflect.Descriptor instead. +func (*ClientCollectorData) Descriptor() ([]byte, []int) { + return file_ClientCollectorData_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientCollectorData) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *ClientCollectorData) GetMaxPoints() uint32 { + if x != nil { + return x.MaxPoints + } + return 0 +} + +func (x *ClientCollectorData) GetCurrPoints() uint32 { + if x != nil { + return x.CurrPoints + } + return 0 +} + +var File_ClientCollectorData_proto protoreflect.FileDescriptor + +var file_ClientCollectorData_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x72, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientCollectorData_proto_rawDescOnce sync.Once + file_ClientCollectorData_proto_rawDescData = file_ClientCollectorData_proto_rawDesc +) + +func file_ClientCollectorData_proto_rawDescGZIP() []byte { + file_ClientCollectorData_proto_rawDescOnce.Do(func() { + file_ClientCollectorData_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientCollectorData_proto_rawDescData) + }) + return file_ClientCollectorData_proto_rawDescData +} + +var file_ClientCollectorData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientCollectorData_proto_goTypes = []interface{}{ + (*ClientCollectorData)(nil), // 0: ClientCollectorData +} +var file_ClientCollectorData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientCollectorData_proto_init() } +func file_ClientCollectorData_proto_init() { + if File_ClientCollectorData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientCollectorData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientCollectorData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientCollectorData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientCollectorData_proto_goTypes, + DependencyIndexes: file_ClientCollectorData_proto_depIdxs, + MessageInfos: file_ClientCollectorData_proto_msgTypes, + }.Build() + File_ClientCollectorData_proto = out.File + file_ClientCollectorData_proto_rawDesc = nil + file_ClientCollectorData_proto_goTypes = nil + file_ClientCollectorData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientCollectorData.proto b/gate-hk4e-api/proto/ClientCollectorData.proto new file mode 100644 index 00000000..23bbcc01 --- /dev/null +++ b/gate-hk4e-api/proto/ClientCollectorData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ClientCollectorData { + uint32 material_id = 10; + uint32 max_points = 8; + uint32 curr_points = 13; +} diff --git a/gate-hk4e-api/proto/ClientCollectorDataNotify.pb.go b/gate-hk4e-api/proto/ClientCollectorDataNotify.pb.go new file mode 100644 index 00000000..afa6c262 --- /dev/null +++ b/gate-hk4e-api/proto/ClientCollectorDataNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientCollectorDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4264 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClientCollectorDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientCollectorDataList []*ClientCollectorData `protobuf:"bytes,13,rep,name=client_collector_data_list,json=clientCollectorDataList,proto3" json:"client_collector_data_list,omitempty"` +} + +func (x *ClientCollectorDataNotify) Reset() { + *x = ClientCollectorDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientCollectorDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientCollectorDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientCollectorDataNotify) ProtoMessage() {} + +func (x *ClientCollectorDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientCollectorDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientCollectorDataNotify.ProtoReflect.Descriptor instead. +func (*ClientCollectorDataNotify) Descriptor() ([]byte, []int) { + return file_ClientCollectorDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientCollectorDataNotify) GetClientCollectorDataList() []*ClientCollectorData { + if x != nil { + return x.ClientCollectorDataList + } + return nil +} + +var File_ClientCollectorDataNotify_proto protoreflect.FileDescriptor + +var file_ClientCollectorDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x19, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x51, 0x0a, 0x1a, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x17, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientCollectorDataNotify_proto_rawDescOnce sync.Once + file_ClientCollectorDataNotify_proto_rawDescData = file_ClientCollectorDataNotify_proto_rawDesc +) + +func file_ClientCollectorDataNotify_proto_rawDescGZIP() []byte { + file_ClientCollectorDataNotify_proto_rawDescOnce.Do(func() { + file_ClientCollectorDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientCollectorDataNotify_proto_rawDescData) + }) + return file_ClientCollectorDataNotify_proto_rawDescData +} + +var file_ClientCollectorDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientCollectorDataNotify_proto_goTypes = []interface{}{ + (*ClientCollectorDataNotify)(nil), // 0: ClientCollectorDataNotify + (*ClientCollectorData)(nil), // 1: ClientCollectorData +} +var file_ClientCollectorDataNotify_proto_depIdxs = []int32{ + 1, // 0: ClientCollectorDataNotify.client_collector_data_list:type_name -> ClientCollectorData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientCollectorDataNotify_proto_init() } +func file_ClientCollectorDataNotify_proto_init() { + if File_ClientCollectorDataNotify_proto != nil { + return + } + file_ClientCollectorData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientCollectorDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientCollectorDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientCollectorDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientCollectorDataNotify_proto_goTypes, + DependencyIndexes: file_ClientCollectorDataNotify_proto_depIdxs, + MessageInfos: file_ClientCollectorDataNotify_proto_msgTypes, + }.Build() + File_ClientCollectorDataNotify_proto = out.File + file_ClientCollectorDataNotify_proto_rawDesc = nil + file_ClientCollectorDataNotify_proto_goTypes = nil + file_ClientCollectorDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientCollectorDataNotify.proto b/gate-hk4e-api/proto/ClientCollectorDataNotify.proto new file mode 100644 index 00000000..14a2485c --- /dev/null +++ b/gate-hk4e-api/proto/ClientCollectorDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ClientCollectorData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4264 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClientCollectorDataNotify { + repeated ClientCollectorData client_collector_data_list = 13; +} diff --git a/gate-hk4e-api/proto/ClientGadgetInfo.pb.go b/gate-hk4e-api/proto/ClientGadgetInfo.pb.go new file mode 100644 index 00000000..dfc66e3c --- /dev/null +++ b/gate-hk4e-api/proto/ClientGadgetInfo.pb.go @@ -0,0 +1,230 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CampId uint32 `protobuf:"varint,1,opt,name=camp_id,json=campId,proto3" json:"camp_id,omitempty"` + CampType uint32 `protobuf:"varint,2,opt,name=camp_type,json=campType,proto3" json:"camp_type,omitempty"` + Guid uint64 `protobuf:"varint,3,opt,name=guid,proto3" json:"guid,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,4,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` + TargetEntityId uint32 `protobuf:"varint,5,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` + AsyncLoad bool `protobuf:"varint,6,opt,name=async_load,json=asyncLoad,proto3" json:"async_load,omitempty"` + Unk2700_JBOPENAGGAF bool `protobuf:"varint,7,opt,name=Unk2700_JBOPENAGGAF,json=Unk2700JBOPENAGGAF,proto3" json:"Unk2700_JBOPENAGGAF,omitempty"` + Unk2700_BELOIHEIEAN []uint32 `protobuf:"varint,8,rep,packed,name=Unk2700_BELOIHEIEAN,json=Unk2700BELOIHEIEAN,proto3" json:"Unk2700_BELOIHEIEAN,omitempty"` +} + +func (x *ClientGadgetInfo) Reset() { + *x = ClientGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientGadgetInfo) ProtoMessage() {} + +func (x *ClientGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_ClientGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientGadgetInfo.ProtoReflect.Descriptor instead. +func (*ClientGadgetInfo) Descriptor() ([]byte, []int) { + return file_ClientGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientGadgetInfo) GetCampId() uint32 { + if x != nil { + return x.CampId + } + return 0 +} + +func (x *ClientGadgetInfo) GetCampType() uint32 { + if x != nil { + return x.CampType + } + return 0 +} + +func (x *ClientGadgetInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *ClientGadgetInfo) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +func (x *ClientGadgetInfo) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +func (x *ClientGadgetInfo) GetAsyncLoad() bool { + if x != nil { + return x.AsyncLoad + } + return false +} + +func (x *ClientGadgetInfo) GetUnk2700_JBOPENAGGAF() bool { + if x != nil { + return x.Unk2700_JBOPENAGGAF + } + return false +} + +func (x *ClientGadgetInfo) GetUnk2700_BELOIHEIEAN() []uint32 { + if x != nil { + return x.Unk2700_BELOIHEIEAN + } + return nil +} + +var File_ClientGadgetInfo_proto protoreflect.FileDescriptor + +var file_ClientGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x10, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, + 0x07, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x63, 0x61, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x61, 0x6d, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x5f, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x42, 0x4f, 0x50, 0x45, 0x4e, 0x41, 0x47, 0x47, 0x41, 0x46, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x42, + 0x4f, 0x50, 0x45, 0x4e, 0x41, 0x47, 0x47, 0x41, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4c, 0x4f, 0x49, 0x48, 0x45, 0x49, 0x45, 0x41, 0x4e, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, + 0x45, 0x4c, 0x4f, 0x49, 0x48, 0x45, 0x49, 0x45, 0x41, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientGadgetInfo_proto_rawDescOnce sync.Once + file_ClientGadgetInfo_proto_rawDescData = file_ClientGadgetInfo_proto_rawDesc +) + +func file_ClientGadgetInfo_proto_rawDescGZIP() []byte { + file_ClientGadgetInfo_proto_rawDescOnce.Do(func() { + file_ClientGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientGadgetInfo_proto_rawDescData) + }) + return file_ClientGadgetInfo_proto_rawDescData +} + +var file_ClientGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientGadgetInfo_proto_goTypes = []interface{}{ + (*ClientGadgetInfo)(nil), // 0: ClientGadgetInfo +} +var file_ClientGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientGadgetInfo_proto_init() } +func file_ClientGadgetInfo_proto_init() { + if File_ClientGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientGadgetInfo_proto_goTypes, + DependencyIndexes: file_ClientGadgetInfo_proto_depIdxs, + MessageInfos: file_ClientGadgetInfo_proto_msgTypes, + }.Build() + File_ClientGadgetInfo_proto = out.File + file_ClientGadgetInfo_proto_rawDesc = nil + file_ClientGadgetInfo_proto_goTypes = nil + file_ClientGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientGadgetInfo.proto b/gate-hk4e-api/proto/ClientGadgetInfo.proto new file mode 100644 index 00000000..f9c0ffee --- /dev/null +++ b/gate-hk4e-api/proto/ClientGadgetInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ClientGadgetInfo { + uint32 camp_id = 1; + uint32 camp_type = 2; + uint64 guid = 3; + uint32 owner_entity_id = 4; + uint32 target_entity_id = 5; + bool async_load = 6; + bool Unk2700_JBOPENAGGAF = 7; + repeated uint32 Unk2700_BELOIHEIEAN = 8; +} diff --git a/gate-hk4e-api/proto/ClientHashDebugNotify.pb.go b/gate-hk4e-api/proto/ClientHashDebugNotify.pb.go new file mode 100644 index 00000000..842c0ed3 --- /dev/null +++ b/gate-hk4e-api/proto/ClientHashDebugNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientHashDebugNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3086 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClientHashDebugNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId uint32 `protobuf:"varint,12,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` +} + +func (x *ClientHashDebugNotify) Reset() { + *x = ClientHashDebugNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientHashDebugNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientHashDebugNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientHashDebugNotify) ProtoMessage() {} + +func (x *ClientHashDebugNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientHashDebugNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientHashDebugNotify.ProtoReflect.Descriptor instead. +func (*ClientHashDebugNotify) Descriptor() ([]byte, []int) { + return file_ClientHashDebugNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientHashDebugNotify) GetJobId() uint32 { + if x != nil { + return x.JobId + } + return 0 +} + +var File_ClientHashDebugNotify_proto protoreflect.FileDescriptor + +var file_ClientHashDebugNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, + 0x15, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x44, 0x65, 0x62, 0x75, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ClientHashDebugNotify_proto_rawDescOnce sync.Once + file_ClientHashDebugNotify_proto_rawDescData = file_ClientHashDebugNotify_proto_rawDesc +) + +func file_ClientHashDebugNotify_proto_rawDescGZIP() []byte { + file_ClientHashDebugNotify_proto_rawDescOnce.Do(func() { + file_ClientHashDebugNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientHashDebugNotify_proto_rawDescData) + }) + return file_ClientHashDebugNotify_proto_rawDescData +} + +var file_ClientHashDebugNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientHashDebugNotify_proto_goTypes = []interface{}{ + (*ClientHashDebugNotify)(nil), // 0: ClientHashDebugNotify +} +var file_ClientHashDebugNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientHashDebugNotify_proto_init() } +func file_ClientHashDebugNotify_proto_init() { + if File_ClientHashDebugNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientHashDebugNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientHashDebugNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientHashDebugNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientHashDebugNotify_proto_goTypes, + DependencyIndexes: file_ClientHashDebugNotify_proto_depIdxs, + MessageInfos: file_ClientHashDebugNotify_proto_msgTypes, + }.Build() + File_ClientHashDebugNotify_proto = out.File + file_ClientHashDebugNotify_proto_rawDesc = nil + file_ClientHashDebugNotify_proto_goTypes = nil + file_ClientHashDebugNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientHashDebugNotify.proto b/gate-hk4e-api/proto/ClientHashDebugNotify.proto new file mode 100644 index 00000000..57e0539d --- /dev/null +++ b/gate-hk4e-api/proto/ClientHashDebugNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3086 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClientHashDebugNotify { + uint32 job_id = 12; +} diff --git a/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.pb.go b/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.pb.go new file mode 100644 index 00000000..0d474dcd --- /dev/null +++ b/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientLoadingCostumeVerificationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3487 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientLoadingCostumeVerificationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostumeId uint32 `protobuf:"varint,9,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + PrefabHash uint64 `protobuf:"varint,2,opt,name=prefab_hash,json=prefabHash,proto3" json:"prefab_hash,omitempty"` + Guid uint64 `protobuf:"varint,14,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *ClientLoadingCostumeVerificationNotify) Reset() { + *x = ClientLoadingCostumeVerificationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientLoadingCostumeVerificationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientLoadingCostumeVerificationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientLoadingCostumeVerificationNotify) ProtoMessage() {} + +func (x *ClientLoadingCostumeVerificationNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientLoadingCostumeVerificationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientLoadingCostumeVerificationNotify.ProtoReflect.Descriptor instead. +func (*ClientLoadingCostumeVerificationNotify) Descriptor() ([]byte, []int) { + return file_ClientLoadingCostumeVerificationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientLoadingCostumeVerificationNotify) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *ClientLoadingCostumeVerificationNotify) GetPrefabHash() uint64 { + if x != nil { + return x.PrefabHash + } + return 0 +} + +func (x *ClientLoadingCostumeVerificationNotify) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_ClientLoadingCostumeVerificationNotify_proto protoreflect.FileDescriptor + +var file_ClientLoadingCostumeVerificationNotify_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, + 0x0a, 0x26, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x61, + 0x62, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x70, 0x72, + 0x65, 0x66, 0x61, 0x62, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientLoadingCostumeVerificationNotify_proto_rawDescOnce sync.Once + file_ClientLoadingCostumeVerificationNotify_proto_rawDescData = file_ClientLoadingCostumeVerificationNotify_proto_rawDesc +) + +func file_ClientLoadingCostumeVerificationNotify_proto_rawDescGZIP() []byte { + file_ClientLoadingCostumeVerificationNotify_proto_rawDescOnce.Do(func() { + file_ClientLoadingCostumeVerificationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientLoadingCostumeVerificationNotify_proto_rawDescData) + }) + return file_ClientLoadingCostumeVerificationNotify_proto_rawDescData +} + +var file_ClientLoadingCostumeVerificationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientLoadingCostumeVerificationNotify_proto_goTypes = []interface{}{ + (*ClientLoadingCostumeVerificationNotify)(nil), // 0: ClientLoadingCostumeVerificationNotify +} +var file_ClientLoadingCostumeVerificationNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientLoadingCostumeVerificationNotify_proto_init() } +func file_ClientLoadingCostumeVerificationNotify_proto_init() { + if File_ClientLoadingCostumeVerificationNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientLoadingCostumeVerificationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientLoadingCostumeVerificationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientLoadingCostumeVerificationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientLoadingCostumeVerificationNotify_proto_goTypes, + DependencyIndexes: file_ClientLoadingCostumeVerificationNotify_proto_depIdxs, + MessageInfos: file_ClientLoadingCostumeVerificationNotify_proto_msgTypes, + }.Build() + File_ClientLoadingCostumeVerificationNotify_proto = out.File + file_ClientLoadingCostumeVerificationNotify_proto_rawDesc = nil + file_ClientLoadingCostumeVerificationNotify_proto_goTypes = nil + file_ClientLoadingCostumeVerificationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.proto b/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.proto new file mode 100644 index 00000000..88e26ea9 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLoadingCostumeVerificationNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3487 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientLoadingCostumeVerificationNotify { + uint32 costume_id = 9; + uint64 prefab_hash = 2; + uint64 guid = 14; +} diff --git a/gate-hk4e-api/proto/ClientLockGameTimeNotify.pb.go b/gate-hk4e-api/proto/ClientLockGameTimeNotify.pb.go new file mode 100644 index 00000000..1ccc5bd3 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLockGameTimeNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientLockGameTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 114 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientLockGameTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsLock bool `protobuf:"varint,5,opt,name=is_lock,json=isLock,proto3" json:"is_lock,omitempty"` +} + +func (x *ClientLockGameTimeNotify) Reset() { + *x = ClientLockGameTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientLockGameTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientLockGameTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientLockGameTimeNotify) ProtoMessage() {} + +func (x *ClientLockGameTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientLockGameTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientLockGameTimeNotify.ProtoReflect.Descriptor instead. +func (*ClientLockGameTimeNotify) Descriptor() ([]byte, []int) { + return file_ClientLockGameTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientLockGameTimeNotify) GetIsLock() bool { + if x != nil { + return x.IsLock + } + return false +} + +var File_ClientLockGameTimeNotify_proto protoreflect.FileDescriptor + +var file_ClientLockGameTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x47, 0x61, 0x6d, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x33, 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x47, 0x61, + 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientLockGameTimeNotify_proto_rawDescOnce sync.Once + file_ClientLockGameTimeNotify_proto_rawDescData = file_ClientLockGameTimeNotify_proto_rawDesc +) + +func file_ClientLockGameTimeNotify_proto_rawDescGZIP() []byte { + file_ClientLockGameTimeNotify_proto_rawDescOnce.Do(func() { + file_ClientLockGameTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientLockGameTimeNotify_proto_rawDescData) + }) + return file_ClientLockGameTimeNotify_proto_rawDescData +} + +var file_ClientLockGameTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientLockGameTimeNotify_proto_goTypes = []interface{}{ + (*ClientLockGameTimeNotify)(nil), // 0: ClientLockGameTimeNotify +} +var file_ClientLockGameTimeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientLockGameTimeNotify_proto_init() } +func file_ClientLockGameTimeNotify_proto_init() { + if File_ClientLockGameTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientLockGameTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientLockGameTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientLockGameTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientLockGameTimeNotify_proto_goTypes, + DependencyIndexes: file_ClientLockGameTimeNotify_proto_depIdxs, + MessageInfos: file_ClientLockGameTimeNotify_proto_msgTypes, + }.Build() + File_ClientLockGameTimeNotify_proto = out.File + file_ClientLockGameTimeNotify_proto_rawDesc = nil + file_ClientLockGameTimeNotify_proto_goTypes = nil + file_ClientLockGameTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientLockGameTimeNotify.proto b/gate-hk4e-api/proto/ClientLockGameTimeNotify.proto new file mode 100644 index 00000000..762d4750 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLockGameTimeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 114 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientLockGameTimeNotify { + bool is_lock = 5; +} diff --git a/gate-hk4e-api/proto/ClientLogBodyLogin.pb.go b/gate-hk4e-api/proto/ClientLogBodyLogin.pb.go new file mode 100644 index 00000000..4927d062 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogBodyLogin.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientLogBodyLogin.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientLogBodyLogin struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` + ActionResult string `protobuf:"bytes,2,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` + ActionTime uint32 `protobuf:"varint,3,opt,name=action_time,json=actionTime,proto3" json:"action_time,omitempty"` + Xg string `protobuf:"bytes,4,opt,name=xg,proto3" json:"xg,omitempty"` + SignalLevel uint32 `protobuf:"varint,5,opt,name=signal_level,json=signalLevel,proto3" json:"signal_level,omitempty"` + Dns string `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"` +} + +func (x *ClientLogBodyLogin) Reset() { + *x = ClientLogBodyLogin{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientLogBodyLogin_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientLogBodyLogin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientLogBodyLogin) ProtoMessage() {} + +func (x *ClientLogBodyLogin) ProtoReflect() protoreflect.Message { + mi := &file_ClientLogBodyLogin_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientLogBodyLogin.ProtoReflect.Descriptor instead. +func (*ClientLogBodyLogin) Descriptor() ([]byte, []int) { + return file_ClientLogBodyLogin_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientLogBodyLogin) GetActionType() string { + if x != nil { + return x.ActionType + } + return "" +} + +func (x *ClientLogBodyLogin) GetActionResult() string { + if x != nil { + return x.ActionResult + } + return "" +} + +func (x *ClientLogBodyLogin) GetActionTime() uint32 { + if x != nil { + return x.ActionTime + } + return 0 +} + +func (x *ClientLogBodyLogin) GetXg() string { + if x != nil { + return x.Xg + } + return "" +} + +func (x *ClientLogBodyLogin) GetSignalLevel() uint32 { + if x != nil { + return x.SignalLevel + } + return 0 +} + +func (x *ClientLogBodyLogin) GetDns() string { + if x != nil { + return x.Dns + } + return "" +} + +var File_ClientLogBodyLogin_proto protoreflect.FileDescriptor + +var file_ClientLogBodyLogin_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x4c, + 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x4c, 0x6f, 0x67, 0x69, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x78, 0x67, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x78, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, + 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ClientLogBodyLogin_proto_rawDescOnce sync.Once + file_ClientLogBodyLogin_proto_rawDescData = file_ClientLogBodyLogin_proto_rawDesc +) + +func file_ClientLogBodyLogin_proto_rawDescGZIP() []byte { + file_ClientLogBodyLogin_proto_rawDescOnce.Do(func() { + file_ClientLogBodyLogin_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientLogBodyLogin_proto_rawDescData) + }) + return file_ClientLogBodyLogin_proto_rawDescData +} + +var file_ClientLogBodyLogin_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientLogBodyLogin_proto_goTypes = []interface{}{ + (*ClientLogBodyLogin)(nil), // 0: ClientLogBodyLogin +} +var file_ClientLogBodyLogin_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientLogBodyLogin_proto_init() } +func file_ClientLogBodyLogin_proto_init() { + if File_ClientLogBodyLogin_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientLogBodyLogin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientLogBodyLogin); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientLogBodyLogin_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientLogBodyLogin_proto_goTypes, + DependencyIndexes: file_ClientLogBodyLogin_proto_depIdxs, + MessageInfos: file_ClientLogBodyLogin_proto_msgTypes, + }.Build() + File_ClientLogBodyLogin_proto = out.File + file_ClientLogBodyLogin_proto_rawDesc = nil + file_ClientLogBodyLogin_proto_goTypes = nil + file_ClientLogBodyLogin_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientLogBodyLogin.proto b/gate-hk4e-api/proto/ClientLogBodyLogin.proto new file mode 100644 index 00000000..15fd38c1 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogBodyLogin.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ClientLogBodyLogin { + string action_type = 1; + string action_result = 2; + uint32 action_time = 3; + string xg = 4; + uint32 signal_level = 5; + string dns = 6; +} diff --git a/gate-hk4e-api/proto/ClientLogBodyPing.pb.go b/gate-hk4e-api/proto/ClientLogBodyPing.pb.go new file mode 100644 index 00000000..eb4b1ead --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogBodyPing.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientLogBodyPing.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientLogBodyPing struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Xg string `protobuf:"bytes,1,opt,name=xg,proto3" json:"xg,omitempty"` + SignalLevel uint32 `protobuf:"varint,2,opt,name=signal_level,json=signalLevel,proto3" json:"signal_level,omitempty"` + Ping uint32 `protobuf:"varint,3,opt,name=ping,proto3" json:"ping,omitempty"` + Servertype string `protobuf:"bytes,4,opt,name=servertype,proto3" json:"servertype,omitempty"` + Serverip string `protobuf:"bytes,5,opt,name=serverip,proto3" json:"serverip,omitempty"` + Serverport string `protobuf:"bytes,6,opt,name=serverport,proto3" json:"serverport,omitempty"` + Pcount uint32 `protobuf:"varint,7,opt,name=pcount,proto3" json:"pcount,omitempty"` + Plost uint32 `protobuf:"varint,8,opt,name=plost,proto3" json:"plost,omitempty"` + Dns string `protobuf:"bytes,9,opt,name=dns,proto3" json:"dns,omitempty"` +} + +func (x *ClientLogBodyPing) Reset() { + *x = ClientLogBodyPing{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientLogBodyPing_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientLogBodyPing) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientLogBodyPing) ProtoMessage() {} + +func (x *ClientLogBodyPing) ProtoReflect() protoreflect.Message { + mi := &file_ClientLogBodyPing_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientLogBodyPing.ProtoReflect.Descriptor instead. +func (*ClientLogBodyPing) Descriptor() ([]byte, []int) { + return file_ClientLogBodyPing_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientLogBodyPing) GetXg() string { + if x != nil { + return x.Xg + } + return "" +} + +func (x *ClientLogBodyPing) GetSignalLevel() uint32 { + if x != nil { + return x.SignalLevel + } + return 0 +} + +func (x *ClientLogBodyPing) GetPing() uint32 { + if x != nil { + return x.Ping + } + return 0 +} + +func (x *ClientLogBodyPing) GetServertype() string { + if x != nil { + return x.Servertype + } + return "" +} + +func (x *ClientLogBodyPing) GetServerip() string { + if x != nil { + return x.Serverip + } + return "" +} + +func (x *ClientLogBodyPing) GetServerport() string { + if x != nil { + return x.Serverport + } + return "" +} + +func (x *ClientLogBodyPing) GetPcount() uint32 { + if x != nil { + return x.Pcount + } + return 0 +} + +func (x *ClientLogBodyPing) GetPlost() uint32 { + if x != nil { + return x.Plost + } + return 0 +} + +func (x *ClientLogBodyPing) GetDns() string { + if x != nil { + return x.Dns + } + return "" +} + +var File_ClientLogBodyPing_proto protoreflect.FileDescriptor + +var file_ClientLogBodyPing_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x50, + 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x01, 0x0a, 0x11, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x50, 0x69, 0x6e, 0x67, 0x12, + 0x0e, 0x0a, 0x02, 0x78, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x78, 0x67, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x69, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x70, 0x6f, 0x72, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x70, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6c, + 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x6c, 0x6f, 0x73, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, + 0x6e, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientLogBodyPing_proto_rawDescOnce sync.Once + file_ClientLogBodyPing_proto_rawDescData = file_ClientLogBodyPing_proto_rawDesc +) + +func file_ClientLogBodyPing_proto_rawDescGZIP() []byte { + file_ClientLogBodyPing_proto_rawDescOnce.Do(func() { + file_ClientLogBodyPing_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientLogBodyPing_proto_rawDescData) + }) + return file_ClientLogBodyPing_proto_rawDescData +} + +var file_ClientLogBodyPing_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientLogBodyPing_proto_goTypes = []interface{}{ + (*ClientLogBodyPing)(nil), // 0: ClientLogBodyPing +} +var file_ClientLogBodyPing_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientLogBodyPing_proto_init() } +func file_ClientLogBodyPing_proto_init() { + if File_ClientLogBodyPing_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientLogBodyPing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientLogBodyPing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientLogBodyPing_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientLogBodyPing_proto_goTypes, + DependencyIndexes: file_ClientLogBodyPing_proto_depIdxs, + MessageInfos: file_ClientLogBodyPing_proto_msgTypes, + }.Build() + File_ClientLogBodyPing_proto = out.File + file_ClientLogBodyPing_proto_rawDesc = nil + file_ClientLogBodyPing_proto_goTypes = nil + file_ClientLogBodyPing_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientLogBodyPing.proto b/gate-hk4e-api/proto/ClientLogBodyPing.proto new file mode 100644 index 00000000..68222a67 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogBodyPing.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ClientLogBodyPing { + string xg = 1; + uint32 signal_level = 2; + uint32 ping = 3; + string servertype = 4; + string serverip = 5; + string serverport = 6; + uint32 pcount = 7; + uint32 plost = 8; + string dns = 9; +} diff --git a/gate-hk4e-api/proto/ClientLogHead.pb.go b/gate-hk4e-api/proto/ClientLogHead.pb.go new file mode 100644 index 00000000..0611197b --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogHead.pb.go @@ -0,0 +1,289 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientLogHead.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientLogHead struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventTime string `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + LogSerialNumber string `protobuf:"bytes,2,opt,name=log_serial_number,json=logSerialNumber,proto3" json:"log_serial_number,omitempty"` + ActionId uint32 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + ActionName string `protobuf:"bytes,4,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` + UploadIp string `protobuf:"bytes,5,opt,name=upload_ip,json=uploadIp,proto3" json:"upload_ip,omitempty"` + ProductId string `protobuf:"bytes,6,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + ChannelId string `protobuf:"bytes,7,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + RegionName string `protobuf:"bytes,8,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"` + GameVersion string `protobuf:"bytes,9,opt,name=game_version,json=gameVersion,proto3" json:"game_version,omitempty"` + DeviceType string `protobuf:"bytes,10,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` + DeviceUuid string `protobuf:"bytes,11,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` + MacAddr string `protobuf:"bytes,12,opt,name=mac_addr,json=macAddr,proto3" json:"mac_addr,omitempty"` + AccountName string `protobuf:"bytes,13,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + AccountUuid string `protobuf:"bytes,14,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"` +} + +func (x *ClientLogHead) Reset() { + *x = ClientLogHead{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientLogHead_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientLogHead) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientLogHead) ProtoMessage() {} + +func (x *ClientLogHead) ProtoReflect() protoreflect.Message { + mi := &file_ClientLogHead_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientLogHead.ProtoReflect.Descriptor instead. +func (*ClientLogHead) Descriptor() ([]byte, []int) { + return file_ClientLogHead_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientLogHead) GetEventTime() string { + if x != nil { + return x.EventTime + } + return "" +} + +func (x *ClientLogHead) GetLogSerialNumber() string { + if x != nil { + return x.LogSerialNumber + } + return "" +} + +func (x *ClientLogHead) GetActionId() uint32 { + if x != nil { + return x.ActionId + } + return 0 +} + +func (x *ClientLogHead) GetActionName() string { + if x != nil { + return x.ActionName + } + return "" +} + +func (x *ClientLogHead) GetUploadIp() string { + if x != nil { + return x.UploadIp + } + return "" +} + +func (x *ClientLogHead) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *ClientLogHead) GetChannelId() string { + if x != nil { + return x.ChannelId + } + return "" +} + +func (x *ClientLogHead) GetRegionName() string { + if x != nil { + return x.RegionName + } + return "" +} + +func (x *ClientLogHead) GetGameVersion() string { + if x != nil { + return x.GameVersion + } + return "" +} + +func (x *ClientLogHead) GetDeviceType() string { + if x != nil { + return x.DeviceType + } + return "" +} + +func (x *ClientLogHead) GetDeviceUuid() string { + if x != nil { + return x.DeviceUuid + } + return "" +} + +func (x *ClientLogHead) GetMacAddr() string { + if x != nil { + return x.MacAddr + } + return "" +} + +func (x *ClientLogHead) GetAccountName() string { + if x != nil { + return x.AccountName + } + return "" +} + +func (x *ClientLogHead) GetAccountUuid() string { + if x != nil { + return x.AccountUuid + } + return "" +} + +var File_ClientLogHead_proto protoreflect.FileDescriptor + +var file_ClientLogHead_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x48, 0x65, 0x61, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x0d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x4c, 0x6f, 0x67, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x69, 0x70, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x67, 0x61, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x55, 0x75, 0x69, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64, 0x72, 0x12, 0x21, 0x0a, 0x0c, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientLogHead_proto_rawDescOnce sync.Once + file_ClientLogHead_proto_rawDescData = file_ClientLogHead_proto_rawDesc +) + +func file_ClientLogHead_proto_rawDescGZIP() []byte { + file_ClientLogHead_proto_rawDescOnce.Do(func() { + file_ClientLogHead_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientLogHead_proto_rawDescData) + }) + return file_ClientLogHead_proto_rawDescData +} + +var file_ClientLogHead_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientLogHead_proto_goTypes = []interface{}{ + (*ClientLogHead)(nil), // 0: ClientLogHead +} +var file_ClientLogHead_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientLogHead_proto_init() } +func file_ClientLogHead_proto_init() { + if File_ClientLogHead_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientLogHead_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientLogHead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientLogHead_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientLogHead_proto_goTypes, + DependencyIndexes: file_ClientLogHead_proto_depIdxs, + MessageInfos: file_ClientLogHead_proto_msgTypes, + }.Build() + File_ClientLogHead_proto = out.File + file_ClientLogHead_proto_rawDesc = nil + file_ClientLogHead_proto_goTypes = nil + file_ClientLogHead_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientLogHead.proto b/gate-hk4e-api/proto/ClientLogHead.proto new file mode 100644 index 00000000..77df7b16 --- /dev/null +++ b/gate-hk4e-api/proto/ClientLogHead.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ClientLogHead { + string event_time = 1; + string log_serial_number = 2; + uint32 action_id = 3; + string action_name = 4; + string upload_ip = 5; + string product_id = 6; + string channel_id = 7; + string region_name = 8; + string game_version = 9; + string device_type = 10; + string device_uuid = 11; + string mac_addr = 12; + string account_name = 13; + string account_uuid = 14; +} diff --git a/gate-hk4e-api/proto/ClientMassiveEntity.pb.go b/gate-hk4e-api/proto/ClientMassiveEntity.pb.go new file mode 100644 index 00000000..034b0fde --- /dev/null +++ b/gate-hk4e-api/proto/ClientMassiveEntity.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientMassiveEntity.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientMassiveEntity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityType uint32 `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + ObjId int64 `protobuf:"varint,3,opt,name=obj_id,json=objId,proto3" json:"obj_id,omitempty"` + // Types that are assignable to EntityInfo: + // *ClientMassiveEntity_WaterInfo + // *ClientMassiveEntity_GrassInfo + // *ClientMassiveEntity_BoxInfo + EntityInfo isClientMassiveEntity_EntityInfo `protobuf_oneof:"entity_info"` +} + +func (x *ClientMassiveEntity) Reset() { + *x = ClientMassiveEntity{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientMassiveEntity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientMassiveEntity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientMassiveEntity) ProtoMessage() {} + +func (x *ClientMassiveEntity) ProtoReflect() protoreflect.Message { + mi := &file_ClientMassiveEntity_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientMassiveEntity.ProtoReflect.Descriptor instead. +func (*ClientMassiveEntity) Descriptor() ([]byte, []int) { + return file_ClientMassiveEntity_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientMassiveEntity) GetEntityType() uint32 { + if x != nil { + return x.EntityType + } + return 0 +} + +func (x *ClientMassiveEntity) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *ClientMassiveEntity) GetObjId() int64 { + if x != nil { + return x.ObjId + } + return 0 +} + +func (m *ClientMassiveEntity) GetEntityInfo() isClientMassiveEntity_EntityInfo { + if m != nil { + return m.EntityInfo + } + return nil +} + +func (x *ClientMassiveEntity) GetWaterInfo() *MassiveWaterInfo { + if x, ok := x.GetEntityInfo().(*ClientMassiveEntity_WaterInfo); ok { + return x.WaterInfo + } + return nil +} + +func (x *ClientMassiveEntity) GetGrassInfo() *MassiveGrassInfo { + if x, ok := x.GetEntityInfo().(*ClientMassiveEntity_GrassInfo); ok { + return x.GrassInfo + } + return nil +} + +func (x *ClientMassiveEntity) GetBoxInfo() *MassiveBoxInfo { + if x, ok := x.GetEntityInfo().(*ClientMassiveEntity_BoxInfo); ok { + return x.BoxInfo + } + return nil +} + +type isClientMassiveEntity_EntityInfo interface { + isClientMassiveEntity_EntityInfo() +} + +type ClientMassiveEntity_WaterInfo struct { + WaterInfo *MassiveWaterInfo `protobuf:"bytes,4,opt,name=water_info,json=waterInfo,proto3,oneof"` +} + +type ClientMassiveEntity_GrassInfo struct { + GrassInfo *MassiveGrassInfo `protobuf:"bytes,5,opt,name=grass_info,json=grassInfo,proto3,oneof"` +} + +type ClientMassiveEntity_BoxInfo struct { + BoxInfo *MassiveBoxInfo `protobuf:"bytes,6,opt,name=box_info,json=boxInfo,proto3,oneof"` +} + +func (*ClientMassiveEntity_WaterInfo) isClientMassiveEntity_EntityInfo() {} + +func (*ClientMassiveEntity_GrassInfo) isClientMassiveEntity_EntityInfo() {} + +func (*ClientMassiveEntity_BoxInfo) isClientMassiveEntity_EntityInfo() {} + +var File_ClientMassiveEntity_proto protoreflect.FileDescriptor + +var file_ClientMassiveEntity_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x47, 0x72, 0x61, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x8f, 0x02, 0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x62, 0x6a, 0x49, 0x64, 0x12, 0x32, + 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x77, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x47, 0x72, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x67, 0x72, 0x61, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x62, 0x6f, 0x78, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x78, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0d, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientMassiveEntity_proto_rawDescOnce sync.Once + file_ClientMassiveEntity_proto_rawDescData = file_ClientMassiveEntity_proto_rawDesc +) + +func file_ClientMassiveEntity_proto_rawDescGZIP() []byte { + file_ClientMassiveEntity_proto_rawDescOnce.Do(func() { + file_ClientMassiveEntity_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientMassiveEntity_proto_rawDescData) + }) + return file_ClientMassiveEntity_proto_rawDescData +} + +var file_ClientMassiveEntity_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientMassiveEntity_proto_goTypes = []interface{}{ + (*ClientMassiveEntity)(nil), // 0: ClientMassiveEntity + (*MassiveWaterInfo)(nil), // 1: MassiveWaterInfo + (*MassiveGrassInfo)(nil), // 2: MassiveGrassInfo + (*MassiveBoxInfo)(nil), // 3: MassiveBoxInfo +} +var file_ClientMassiveEntity_proto_depIdxs = []int32{ + 1, // 0: ClientMassiveEntity.water_info:type_name -> MassiveWaterInfo + 2, // 1: ClientMassiveEntity.grass_info:type_name -> MassiveGrassInfo + 3, // 2: ClientMassiveEntity.box_info:type_name -> MassiveBoxInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ClientMassiveEntity_proto_init() } +func file_ClientMassiveEntity_proto_init() { + if File_ClientMassiveEntity_proto != nil { + return + } + file_MassiveBoxInfo_proto_init() + file_MassiveGrassInfo_proto_init() + file_MassiveWaterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientMassiveEntity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientMassiveEntity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ClientMassiveEntity_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ClientMassiveEntity_WaterInfo)(nil), + (*ClientMassiveEntity_GrassInfo)(nil), + (*ClientMassiveEntity_BoxInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientMassiveEntity_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientMassiveEntity_proto_goTypes, + DependencyIndexes: file_ClientMassiveEntity_proto_depIdxs, + MessageInfos: file_ClientMassiveEntity_proto_msgTypes, + }.Build() + File_ClientMassiveEntity_proto = out.File + file_ClientMassiveEntity_proto_rawDesc = nil + file_ClientMassiveEntity_proto_goTypes = nil + file_ClientMassiveEntity_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientMassiveEntity.proto b/gate-hk4e-api/proto/ClientMassiveEntity.proto new file mode 100644 index 00000000..7c2bf4c1 --- /dev/null +++ b/gate-hk4e-api/proto/ClientMassiveEntity.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassiveBoxInfo.proto"; +import "MassiveGrassInfo.proto"; +import "MassiveWaterInfo.proto"; + +option go_package = "./;proto"; + +message ClientMassiveEntity { + uint32 entity_type = 1; + uint32 config_id = 2; + int64 obj_id = 3; + oneof entity_info { + MassiveWaterInfo water_info = 4; + MassiveGrassInfo grass_info = 5; + MassiveBoxInfo box_info = 6; + } +} diff --git a/gate-hk4e-api/proto/ClientNewMailNotify.pb.go b/gate-hk4e-api/proto/ClientNewMailNotify.pb.go new file mode 100644 index 00000000..c69aa87a --- /dev/null +++ b/gate-hk4e-api/proto/ClientNewMailNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientNewMailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1499 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClientNewMailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NotReadNum uint32 `protobuf:"varint,7,opt,name=not_read_num,json=notReadNum,proto3" json:"not_read_num,omitempty"` + NotGotAttachmentNum uint32 `protobuf:"varint,2,opt,name=not_got_attachment_num,json=notGotAttachmentNum,proto3" json:"not_got_attachment_num,omitempty"` +} + +func (x *ClientNewMailNotify) Reset() { + *x = ClientNewMailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientNewMailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientNewMailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientNewMailNotify) ProtoMessage() {} + +func (x *ClientNewMailNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientNewMailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientNewMailNotify.ProtoReflect.Descriptor instead. +func (*ClientNewMailNotify) Descriptor() ([]byte, []int) { + return file_ClientNewMailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientNewMailNotify) GetNotReadNum() uint32 { + if x != nil { + return x.NotReadNum + } + return 0 +} + +func (x *ClientNewMailNotify) GetNotGotAttachmentNum() uint32 { + if x != nil { + return x.NotGotAttachmentNum + } + return 0 +} + +var File_ClientNewMailNotify_proto protoreflect.FileDescriptor + +var file_ClientNewMailNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x69, 0x6c, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x13, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6e, + 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x6f, 0x74, 0x52, 0x65, 0x61, + 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x6f, 0x74, 0x5f, 0x67, 0x6f, 0x74, 0x5f, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x6f, 0x74, 0x47, 0x6f, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientNewMailNotify_proto_rawDescOnce sync.Once + file_ClientNewMailNotify_proto_rawDescData = file_ClientNewMailNotify_proto_rawDesc +) + +func file_ClientNewMailNotify_proto_rawDescGZIP() []byte { + file_ClientNewMailNotify_proto_rawDescOnce.Do(func() { + file_ClientNewMailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientNewMailNotify_proto_rawDescData) + }) + return file_ClientNewMailNotify_proto_rawDescData +} + +var file_ClientNewMailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientNewMailNotify_proto_goTypes = []interface{}{ + (*ClientNewMailNotify)(nil), // 0: ClientNewMailNotify +} +var file_ClientNewMailNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientNewMailNotify_proto_init() } +func file_ClientNewMailNotify_proto_init() { + if File_ClientNewMailNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientNewMailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientNewMailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientNewMailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientNewMailNotify_proto_goTypes, + DependencyIndexes: file_ClientNewMailNotify_proto_depIdxs, + MessageInfos: file_ClientNewMailNotify_proto_msgTypes, + }.Build() + File_ClientNewMailNotify_proto = out.File + file_ClientNewMailNotify_proto_rawDesc = nil + file_ClientNewMailNotify_proto_goTypes = nil + file_ClientNewMailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientNewMailNotify.proto b/gate-hk4e-api/proto/ClientNewMailNotify.proto new file mode 100644 index 00000000..af4fb996 --- /dev/null +++ b/gate-hk4e-api/proto/ClientNewMailNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1499 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClientNewMailNotify { + uint32 not_read_num = 7; + uint32 not_got_attachment_num = 2; +} diff --git a/gate-hk4e-api/proto/ClientPauseNotify.pb.go b/gate-hk4e-api/proto/ClientPauseNotify.pb.go new file mode 100644 index 00000000..41be51fc --- /dev/null +++ b/gate-hk4e-api/proto/ClientPauseNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientPauseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 260 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientPauseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *ClientPauseNotify) Reset() { + *x = ClientPauseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientPauseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPauseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPauseNotify) ProtoMessage() {} + +func (x *ClientPauseNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientPauseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPauseNotify.ProtoReflect.Descriptor instead. +func (*ClientPauseNotify) Descriptor() ([]byte, []int) { + return file_ClientPauseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientPauseNotify) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_ClientPauseNotify_proto protoreflect.FileDescriptor + +var file_ClientPauseNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x11, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientPauseNotify_proto_rawDescOnce sync.Once + file_ClientPauseNotify_proto_rawDescData = file_ClientPauseNotify_proto_rawDesc +) + +func file_ClientPauseNotify_proto_rawDescGZIP() []byte { + file_ClientPauseNotify_proto_rawDescOnce.Do(func() { + file_ClientPauseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientPauseNotify_proto_rawDescData) + }) + return file_ClientPauseNotify_proto_rawDescData +} + +var file_ClientPauseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientPauseNotify_proto_goTypes = []interface{}{ + (*ClientPauseNotify)(nil), // 0: ClientPauseNotify +} +var file_ClientPauseNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientPauseNotify_proto_init() } +func file_ClientPauseNotify_proto_init() { + if File_ClientPauseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientPauseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPauseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientPauseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientPauseNotify_proto_goTypes, + DependencyIndexes: file_ClientPauseNotify_proto_depIdxs, + MessageInfos: file_ClientPauseNotify_proto_msgTypes, + }.Build() + File_ClientPauseNotify_proto = out.File + file_ClientPauseNotify_proto_rawDesc = nil + file_ClientPauseNotify_proto_goTypes = nil + file_ClientPauseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientPauseNotify.proto b/gate-hk4e-api/proto/ClientPauseNotify.proto new file mode 100644 index 00000000..0b3801c4 --- /dev/null +++ b/gate-hk4e-api/proto/ClientPauseNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 260 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientPauseNotify { + bool is_open = 1; +} diff --git a/gate-hk4e-api/proto/ClientReconnectNotify.pb.go b/gate-hk4e-api/proto/ClientReconnectNotify.pb.go new file mode 100644 index 00000000..a97778c4 --- /dev/null +++ b/gate-hk4e-api/proto/ClientReconnectNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientReconnectNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 75 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClientReconnectNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason ClientReconnectReason `protobuf:"varint,6,opt,name=reason,proto3,enum=ClientReconnectReason" json:"reason,omitempty"` +} + +func (x *ClientReconnectNotify) Reset() { + *x = ClientReconnectNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientReconnectNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientReconnectNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientReconnectNotify) ProtoMessage() {} + +func (x *ClientReconnectNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientReconnectNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientReconnectNotify.ProtoReflect.Descriptor instead. +func (*ClientReconnectNotify) Descriptor() ([]byte, []int) { + return file_ClientReconnectNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientReconnectNotify) GetReason() ClientReconnectReason { + if x != nil { + return x.Reason + } + return ClientReconnectReason_CLIENT_RECONNECT_REASON_RECONNNECT_NONE +} + +var File_ClientReconnectNotify_proto protoreflect.FileDescriptor + +var file_ClientReconnectNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x15, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientReconnectNotify_proto_rawDescOnce sync.Once + file_ClientReconnectNotify_proto_rawDescData = file_ClientReconnectNotify_proto_rawDesc +) + +func file_ClientReconnectNotify_proto_rawDescGZIP() []byte { + file_ClientReconnectNotify_proto_rawDescOnce.Do(func() { + file_ClientReconnectNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientReconnectNotify_proto_rawDescData) + }) + return file_ClientReconnectNotify_proto_rawDescData +} + +var file_ClientReconnectNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientReconnectNotify_proto_goTypes = []interface{}{ + (*ClientReconnectNotify)(nil), // 0: ClientReconnectNotify + (ClientReconnectReason)(0), // 1: ClientReconnectReason +} +var file_ClientReconnectNotify_proto_depIdxs = []int32{ + 1, // 0: ClientReconnectNotify.reason:type_name -> ClientReconnectReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientReconnectNotify_proto_init() } +func file_ClientReconnectNotify_proto_init() { + if File_ClientReconnectNotify_proto != nil { + return + } + file_ClientReconnectReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientReconnectNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientReconnectNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientReconnectNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientReconnectNotify_proto_goTypes, + DependencyIndexes: file_ClientReconnectNotify_proto_depIdxs, + MessageInfos: file_ClientReconnectNotify_proto_msgTypes, + }.Build() + File_ClientReconnectNotify_proto = out.File + file_ClientReconnectNotify_proto_rawDesc = nil + file_ClientReconnectNotify_proto_goTypes = nil + file_ClientReconnectNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientReconnectNotify.proto b/gate-hk4e-api/proto/ClientReconnectNotify.proto new file mode 100644 index 00000000..311e71f6 --- /dev/null +++ b/gate-hk4e-api/proto/ClientReconnectNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ClientReconnectReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 75 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClientReconnectNotify { + ClientReconnectReason reason = 6; +} diff --git a/gate-hk4e-api/proto/ClientReconnectReason.pb.go b/gate-hk4e-api/proto/ClientReconnectReason.pb.go new file mode 100644 index 00000000..20c14ca4 --- /dev/null +++ b/gate-hk4e-api/proto/ClientReconnectReason.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientReconnectReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientReconnectReason int32 + +const ( + ClientReconnectReason_CLIENT_RECONNECT_REASON_RECONNNECT_NONE ClientReconnectReason = 0 + ClientReconnectReason_CLIENT_RECONNECT_REASON_RECONNNECT_QUIT_MP ClientReconnectReason = 1 +) + +// Enum value maps for ClientReconnectReason. +var ( + ClientReconnectReason_name = map[int32]string{ + 0: "CLIENT_RECONNECT_REASON_RECONNNECT_NONE", + 1: "CLIENT_RECONNECT_REASON_RECONNNECT_QUIT_MP", + } + ClientReconnectReason_value = map[string]int32{ + "CLIENT_RECONNECT_REASON_RECONNNECT_NONE": 0, + "CLIENT_RECONNECT_REASON_RECONNNECT_QUIT_MP": 1, + } +) + +func (x ClientReconnectReason) Enum() *ClientReconnectReason { + p := new(ClientReconnectReason) + *p = x + return p +} + +func (x ClientReconnectReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientReconnectReason) Descriptor() protoreflect.EnumDescriptor { + return file_ClientReconnectReason_proto_enumTypes[0].Descriptor() +} + +func (ClientReconnectReason) Type() protoreflect.EnumType { + return &file_ClientReconnectReason_proto_enumTypes[0] +} + +func (x ClientReconnectReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientReconnectReason.Descriptor instead. +func (ClientReconnectReason) EnumDescriptor() ([]byte, []int) { + return file_ClientReconnectReason_proto_rawDescGZIP(), []int{0} +} + +var File_ClientReconnectReason_proto protoreflect.FileDescriptor + +var file_ClientReconnectReason_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x74, 0x0a, + 0x15, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x27, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, + 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x2e, 0x0a, 0x2a, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, + 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, + 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x4d, + 0x50, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientReconnectReason_proto_rawDescOnce sync.Once + file_ClientReconnectReason_proto_rawDescData = file_ClientReconnectReason_proto_rawDesc +) + +func file_ClientReconnectReason_proto_rawDescGZIP() []byte { + file_ClientReconnectReason_proto_rawDescOnce.Do(func() { + file_ClientReconnectReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientReconnectReason_proto_rawDescData) + }) + return file_ClientReconnectReason_proto_rawDescData +} + +var file_ClientReconnectReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ClientReconnectReason_proto_goTypes = []interface{}{ + (ClientReconnectReason)(0), // 0: ClientReconnectReason +} +var file_ClientReconnectReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientReconnectReason_proto_init() } +func file_ClientReconnectReason_proto_init() { + if File_ClientReconnectReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientReconnectReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientReconnectReason_proto_goTypes, + DependencyIndexes: file_ClientReconnectReason_proto_depIdxs, + EnumInfos: file_ClientReconnectReason_proto_enumTypes, + }.Build() + File_ClientReconnectReason_proto = out.File + file_ClientReconnectReason_proto_rawDesc = nil + file_ClientReconnectReason_proto_goTypes = nil + file_ClientReconnectReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientReconnectReason.proto b/gate-hk4e-api/proto/ClientReconnectReason.proto new file mode 100644 index 00000000..8bba6dfd --- /dev/null +++ b/gate-hk4e-api/proto/ClientReconnectReason.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ClientReconnectReason { + CLIENT_RECONNECT_REASON_RECONNNECT_NONE = 0; + CLIENT_RECONNECT_REASON_RECONNNECT_QUIT_MP = 1; +} diff --git a/gate-hk4e-api/proto/ClientReportNotify.pb.go b/gate-hk4e-api/proto/ClientReportNotify.pb.go new file mode 100644 index 00000000..e3684b10 --- /dev/null +++ b/gate-hk4e-api/proto/ClientReportNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientReportNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 81 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientReportNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReportType string `protobuf:"bytes,1,opt,name=report_type,json=reportType,proto3" json:"report_type,omitempty"` + ReportValue string `protobuf:"bytes,4,opt,name=report_value,json=reportValue,proto3" json:"report_value,omitempty"` +} + +func (x *ClientReportNotify) Reset() { + *x = ClientReportNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientReportNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientReportNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientReportNotify) ProtoMessage() {} + +func (x *ClientReportNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientReportNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientReportNotify.ProtoReflect.Descriptor instead. +func (*ClientReportNotify) Descriptor() ([]byte, []int) { + return file_ClientReportNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientReportNotify) GetReportType() string { + if x != nil { + return x.ReportType + } + return "" +} + +func (x *ClientReportNotify) GetReportValue() string { + if x != nil { + return x.ReportValue + } + return "" +} + +var File_ClientReportNotify_proto protoreflect.FileDescriptor + +var file_ClientReportNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x12, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientReportNotify_proto_rawDescOnce sync.Once + file_ClientReportNotify_proto_rawDescData = file_ClientReportNotify_proto_rawDesc +) + +func file_ClientReportNotify_proto_rawDescGZIP() []byte { + file_ClientReportNotify_proto_rawDescOnce.Do(func() { + file_ClientReportNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientReportNotify_proto_rawDescData) + }) + return file_ClientReportNotify_proto_rawDescData +} + +var file_ClientReportNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientReportNotify_proto_goTypes = []interface{}{ + (*ClientReportNotify)(nil), // 0: ClientReportNotify +} +var file_ClientReportNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientReportNotify_proto_init() } +func file_ClientReportNotify_proto_init() { + if File_ClientReportNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientReportNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientReportNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientReportNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientReportNotify_proto_goTypes, + DependencyIndexes: file_ClientReportNotify_proto_depIdxs, + MessageInfos: file_ClientReportNotify_proto_msgTypes, + }.Build() + File_ClientReportNotify_proto = out.File + file_ClientReportNotify_proto_rawDesc = nil + file_ClientReportNotify_proto_goTypes = nil + file_ClientReportNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientReportNotify.proto b/gate-hk4e-api/proto/ClientReportNotify.proto new file mode 100644 index 00000000..cbab928b --- /dev/null +++ b/gate-hk4e-api/proto/ClientReportNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 81 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientReportNotify { + string report_type = 1; + string report_value = 4; +} diff --git a/gate-hk4e-api/proto/ClientScriptEventNotify.pb.go b/gate-hk4e-api/proto/ClientScriptEventNotify.pb.go new file mode 100644 index 00000000..c669da7a --- /dev/null +++ b/gate-hk4e-api/proto/ClientScriptEventNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientScriptEventNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientScriptEventNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList []int32 `protobuf:"varint,9,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + SourceEntityId uint32 `protobuf:"varint,14,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` + EventType uint32 `protobuf:"varint,10,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + TargetEntityId uint32 `protobuf:"varint,13,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` +} + +func (x *ClientScriptEventNotify) Reset() { + *x = ClientScriptEventNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientScriptEventNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientScriptEventNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientScriptEventNotify) ProtoMessage() {} + +func (x *ClientScriptEventNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientScriptEventNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientScriptEventNotify.ProtoReflect.Descriptor instead. +func (*ClientScriptEventNotify) Descriptor() ([]byte, []int) { + return file_ClientScriptEventNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientScriptEventNotify) GetParamList() []int32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *ClientScriptEventNotify) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +func (x *ClientScriptEventNotify) GetEventType() uint32 { + if x != nil { + return x.EventType + } + return 0 +} + +func (x *ClientScriptEventNotify) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +var File_ClientScriptEventNotify_proto protoreflect.FileDescriptor + +var file_ClientScriptEventNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xab, 0x01, 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x05, 0x52, + 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ClientScriptEventNotify_proto_rawDescOnce sync.Once + file_ClientScriptEventNotify_proto_rawDescData = file_ClientScriptEventNotify_proto_rawDesc +) + +func file_ClientScriptEventNotify_proto_rawDescGZIP() []byte { + file_ClientScriptEventNotify_proto_rawDescOnce.Do(func() { + file_ClientScriptEventNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientScriptEventNotify_proto_rawDescData) + }) + return file_ClientScriptEventNotify_proto_rawDescData +} + +var file_ClientScriptEventNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientScriptEventNotify_proto_goTypes = []interface{}{ + (*ClientScriptEventNotify)(nil), // 0: ClientScriptEventNotify +} +var file_ClientScriptEventNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClientScriptEventNotify_proto_init() } +func file_ClientScriptEventNotify_proto_init() { + if File_ClientScriptEventNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClientScriptEventNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientScriptEventNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientScriptEventNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientScriptEventNotify_proto_goTypes, + DependencyIndexes: file_ClientScriptEventNotify_proto_depIdxs, + MessageInfos: file_ClientScriptEventNotify_proto_msgTypes, + }.Build() + File_ClientScriptEventNotify_proto = out.File + file_ClientScriptEventNotify_proto_rawDesc = nil + file_ClientScriptEventNotify_proto_goTypes = nil + file_ClientScriptEventNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientScriptEventNotify.proto b/gate-hk4e-api/proto/ClientScriptEventNotify.proto new file mode 100644 index 00000000..4b56b5c6 --- /dev/null +++ b/gate-hk4e-api/proto/ClientScriptEventNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientScriptEventNotify { + repeated int32 param_list = 9; + uint32 source_entity_id = 14; + uint32 event_type = 10; + uint32 target_entity_id = 13; +} diff --git a/gate-hk4e-api/proto/ClientTransmitReq.pb.go b/gate-hk4e-api/proto/ClientTransmitReq.pb.go new file mode 100644 index 00000000..723fa4b1 --- /dev/null +++ b/gate-hk4e-api/proto/ClientTransmitReq.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientTransmitReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 291 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientTransmitReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Reason TransmitReason `protobuf:"varint,14,opt,name=reason,proto3,enum=TransmitReason" json:"reason,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,9,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *ClientTransmitReq) Reset() { + *x = ClientTransmitReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientTransmitReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientTransmitReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientTransmitReq) ProtoMessage() {} + +func (x *ClientTransmitReq) ProtoReflect() protoreflect.Message { + mi := &file_ClientTransmitReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientTransmitReq.ProtoReflect.Descriptor instead. +func (*ClientTransmitReq) Descriptor() ([]byte, []int) { + return file_ClientTransmitReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientTransmitReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *ClientTransmitReq) GetReason() TransmitReason { + if x != nil { + return x.Reason + } + return TransmitReason_TRANSMIT_REASON_NONE +} + +func (x *ClientTransmitReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *ClientTransmitReq) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_ClientTransmitReq_proto protoreflect.FileDescriptor + +var file_ClientTransmitReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, + 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x27, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, + 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ClientTransmitReq_proto_rawDescOnce sync.Once + file_ClientTransmitReq_proto_rawDescData = file_ClientTransmitReq_proto_rawDesc +) + +func file_ClientTransmitReq_proto_rawDescGZIP() []byte { + file_ClientTransmitReq_proto_rawDescOnce.Do(func() { + file_ClientTransmitReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientTransmitReq_proto_rawDescData) + }) + return file_ClientTransmitReq_proto_rawDescData +} + +var file_ClientTransmitReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientTransmitReq_proto_goTypes = []interface{}{ + (*ClientTransmitReq)(nil), // 0: ClientTransmitReq + (TransmitReason)(0), // 1: TransmitReason + (*Vector)(nil), // 2: Vector +} +var file_ClientTransmitReq_proto_depIdxs = []int32{ + 1, // 0: ClientTransmitReq.reason:type_name -> TransmitReason + 2, // 1: ClientTransmitReq.pos:type_name -> Vector + 2, // 2: ClientTransmitReq.rot:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ClientTransmitReq_proto_init() } +func file_ClientTransmitReq_proto_init() { + if File_ClientTransmitReq_proto != nil { + return + } + file_TransmitReason_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientTransmitReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientTransmitReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientTransmitReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientTransmitReq_proto_goTypes, + DependencyIndexes: file_ClientTransmitReq_proto_depIdxs, + MessageInfos: file_ClientTransmitReq_proto_msgTypes, + }.Build() + File_ClientTransmitReq_proto = out.File + file_ClientTransmitReq_proto_rawDesc = nil + file_ClientTransmitReq_proto_goTypes = nil + file_ClientTransmitReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientTransmitReq.proto b/gate-hk4e-api/proto/ClientTransmitReq.proto new file mode 100644 index 00000000..386ddd08 --- /dev/null +++ b/gate-hk4e-api/proto/ClientTransmitReq.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TransmitReason.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 291 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientTransmitReq { + uint32 scene_id = 2; + TransmitReason reason = 14; + Vector pos = 1; + Vector rot = 9; +} diff --git a/gate-hk4e-api/proto/ClientTransmitRsp.pb.go b/gate-hk4e-api/proto/ClientTransmitRsp.pb.go new file mode 100644 index 00000000..a35f246d --- /dev/null +++ b/gate-hk4e-api/proto/ClientTransmitRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientTransmitRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 224 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClientTransmitRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason TransmitReason `protobuf:"varint,3,opt,name=reason,proto3,enum=TransmitReason" json:"reason,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ClientTransmitRsp) Reset() { + *x = ClientTransmitRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientTransmitRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientTransmitRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientTransmitRsp) ProtoMessage() {} + +func (x *ClientTransmitRsp) ProtoReflect() protoreflect.Message { + mi := &file_ClientTransmitRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientTransmitRsp.ProtoReflect.Descriptor instead. +func (*ClientTransmitRsp) Descriptor() ([]byte, []int) { + return file_ClientTransmitRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientTransmitRsp) GetReason() TransmitReason { + if x != nil { + return x.Reason + } + return TransmitReason_TRANSMIT_REASON_NONE +} + +func (x *ClientTransmitRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ClientTransmitRsp_proto protoreflect.FileDescriptor + +var file_ClientTransmitRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x56, 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, + 0x74, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientTransmitRsp_proto_rawDescOnce sync.Once + file_ClientTransmitRsp_proto_rawDescData = file_ClientTransmitRsp_proto_rawDesc +) + +func file_ClientTransmitRsp_proto_rawDescGZIP() []byte { + file_ClientTransmitRsp_proto_rawDescOnce.Do(func() { + file_ClientTransmitRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientTransmitRsp_proto_rawDescData) + }) + return file_ClientTransmitRsp_proto_rawDescData +} + +var file_ClientTransmitRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientTransmitRsp_proto_goTypes = []interface{}{ + (*ClientTransmitRsp)(nil), // 0: ClientTransmitRsp + (TransmitReason)(0), // 1: TransmitReason +} +var file_ClientTransmitRsp_proto_depIdxs = []int32{ + 1, // 0: ClientTransmitRsp.reason:type_name -> TransmitReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientTransmitRsp_proto_init() } +func file_ClientTransmitRsp_proto_init() { + if File_ClientTransmitRsp_proto != nil { + return + } + file_TransmitReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientTransmitRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientTransmitRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientTransmitRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientTransmitRsp_proto_goTypes, + DependencyIndexes: file_ClientTransmitRsp_proto_depIdxs, + MessageInfos: file_ClientTransmitRsp_proto_msgTypes, + }.Build() + File_ClientTransmitRsp_proto = out.File + file_ClientTransmitRsp_proto_rawDesc = nil + file_ClientTransmitRsp_proto_goTypes = nil + file_ClientTransmitRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientTransmitRsp.proto b/gate-hk4e-api/proto/ClientTransmitRsp.proto new file mode 100644 index 00000000..a08fba39 --- /dev/null +++ b/gate-hk4e-api/proto/ClientTransmitRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TransmitReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 224 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClientTransmitRsp { + TransmitReason reason = 3; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/ClientTriggerEventNotify.pb.go b/gate-hk4e-api/proto/ClientTriggerEventNotify.pb.go new file mode 100644 index 00000000..8aab7904 --- /dev/null +++ b/gate-hk4e-api/proto/ClientTriggerEventNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClientTriggerEventNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ClientTriggerEventNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForceId uint32 `protobuf:"varint,3,opt,name=force_id,json=forceId,proto3" json:"force_id,omitempty"` + EventType EventTriggerType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=EventTriggerType" json:"event_type,omitempty"` +} + +func (x *ClientTriggerEventNotify) Reset() { + *x = ClientTriggerEventNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClientTriggerEventNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientTriggerEventNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientTriggerEventNotify) ProtoMessage() {} + +func (x *ClientTriggerEventNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClientTriggerEventNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientTriggerEventNotify.ProtoReflect.Descriptor instead. +func (*ClientTriggerEventNotify) Descriptor() ([]byte, []int) { + return file_ClientTriggerEventNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientTriggerEventNotify) GetForceId() uint32 { + if x != nil { + return x.ForceId + } + return 0 +} + +func (x *ClientTriggerEventNotify) GetEventType() EventTriggerType { + if x != nil { + return x.EventType + } + return EventTriggerType_EVENT_TRIGGER_TYPE_NONE +} + +var File_ClientTriggerEventNotify_proto protoreflect.FileDescriptor + +var file_ClientTriggerEventNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ClientTriggerEventNotify_proto_rawDescOnce sync.Once + file_ClientTriggerEventNotify_proto_rawDescData = file_ClientTriggerEventNotify_proto_rawDesc +) + +func file_ClientTriggerEventNotify_proto_rawDescGZIP() []byte { + file_ClientTriggerEventNotify_proto_rawDescOnce.Do(func() { + file_ClientTriggerEventNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientTriggerEventNotify_proto_rawDescData) + }) + return file_ClientTriggerEventNotify_proto_rawDescData +} + +var file_ClientTriggerEventNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClientTriggerEventNotify_proto_goTypes = []interface{}{ + (*ClientTriggerEventNotify)(nil), // 0: ClientTriggerEventNotify + (EventTriggerType)(0), // 1: EventTriggerType +} +var file_ClientTriggerEventNotify_proto_depIdxs = []int32{ + 1, // 0: ClientTriggerEventNotify.event_type:type_name -> EventTriggerType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ClientTriggerEventNotify_proto_init() } +func file_ClientTriggerEventNotify_proto_init() { + if File_ClientTriggerEventNotify_proto != nil { + return + } + file_EventTriggerType_proto_init() + if !protoimpl.UnsafeEnabled { + file_ClientTriggerEventNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientTriggerEventNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClientTriggerEventNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClientTriggerEventNotify_proto_goTypes, + DependencyIndexes: file_ClientTriggerEventNotify_proto_depIdxs, + MessageInfos: file_ClientTriggerEventNotify_proto_msgTypes, + }.Build() + File_ClientTriggerEventNotify_proto = out.File + file_ClientTriggerEventNotify_proto_rawDesc = nil + file_ClientTriggerEventNotify_proto_goTypes = nil + file_ClientTriggerEventNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClientTriggerEventNotify.proto b/gate-hk4e-api/proto/ClientTriggerEventNotify.proto new file mode 100644 index 00000000..c2b30d5e --- /dev/null +++ b/gate-hk4e-api/proto/ClientTriggerEventNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EventTriggerType.proto"; + +option go_package = "./;proto"; + +// CmdId: 148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ClientTriggerEventNotify { + uint32 force_id = 3; + EventTriggerType event_type = 2; +} diff --git a/gate-hk4e-api/proto/CloseCommonTipsNotify.pb.go b/gate-hk4e-api/proto/CloseCommonTipsNotify.pb.go new file mode 100644 index 00000000..f3af7a8d --- /dev/null +++ b/gate-hk4e-api/proto/CloseCommonTipsNotify.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CloseCommonTipsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3194 +// EnetChannelId: 0 +// EnetIsReliable: true +type CloseCommonTipsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CloseCommonTipsNotify) Reset() { + *x = CloseCommonTipsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CloseCommonTipsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseCommonTipsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseCommonTipsNotify) ProtoMessage() {} + +func (x *CloseCommonTipsNotify) ProtoReflect() protoreflect.Message { + mi := &file_CloseCommonTipsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseCommonTipsNotify.ProtoReflect.Descriptor instead. +func (*CloseCommonTipsNotify) Descriptor() ([]byte, []int) { + return file_CloseCommonTipsNotify_proto_rawDescGZIP(), []int{0} +} + +var File_CloseCommonTipsNotify_proto protoreflect.FileDescriptor + +var file_CloseCommonTipsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x69, 0x70, + 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x69, 0x70, 0x73, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CloseCommonTipsNotify_proto_rawDescOnce sync.Once + file_CloseCommonTipsNotify_proto_rawDescData = file_CloseCommonTipsNotify_proto_rawDesc +) + +func file_CloseCommonTipsNotify_proto_rawDescGZIP() []byte { + file_CloseCommonTipsNotify_proto_rawDescOnce.Do(func() { + file_CloseCommonTipsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CloseCommonTipsNotify_proto_rawDescData) + }) + return file_CloseCommonTipsNotify_proto_rawDescData +} + +var file_CloseCommonTipsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CloseCommonTipsNotify_proto_goTypes = []interface{}{ + (*CloseCommonTipsNotify)(nil), // 0: CloseCommonTipsNotify +} +var file_CloseCommonTipsNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CloseCommonTipsNotify_proto_init() } +func file_CloseCommonTipsNotify_proto_init() { + if File_CloseCommonTipsNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CloseCommonTipsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseCommonTipsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CloseCommonTipsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CloseCommonTipsNotify_proto_goTypes, + DependencyIndexes: file_CloseCommonTipsNotify_proto_depIdxs, + MessageInfos: file_CloseCommonTipsNotify_proto_msgTypes, + }.Build() + File_CloseCommonTipsNotify_proto = out.File + file_CloseCommonTipsNotify_proto_rawDesc = nil + file_CloseCommonTipsNotify_proto_goTypes = nil + file_CloseCommonTipsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CloseCommonTipsNotify.proto b/gate-hk4e-api/proto/CloseCommonTipsNotify.proto new file mode 100644 index 00000000..890747ce --- /dev/null +++ b/gate-hk4e-api/proto/CloseCommonTipsNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3194 +// EnetChannelId: 0 +// EnetIsReliable: true +message CloseCommonTipsNotify {} diff --git a/gate-hk4e-api/proto/ClosedItemNotify.pb.go b/gate-hk4e-api/proto/ClosedItemNotify.pb.go new file mode 100644 index 00000000..512baf22 --- /dev/null +++ b/gate-hk4e-api/proto/ClosedItemNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ClosedItemNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 614 +// EnetChannelId: 0 +// EnetIsReliable: true +type ClosedItemNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemIdList []uint32 `protobuf:"varint,8,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *ClosedItemNotify) Reset() { + *x = ClosedItemNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ClosedItemNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClosedItemNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClosedItemNotify) ProtoMessage() {} + +func (x *ClosedItemNotify) ProtoReflect() protoreflect.Message { + mi := &file_ClosedItemNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClosedItemNotify.ProtoReflect.Descriptor instead. +func (*ClosedItemNotify) Descriptor() ([]byte, []int) { + return file_ClosedItemNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ClosedItemNotify) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_ClosedItemNotify_proto protoreflect.FileDescriptor + +var file_ClosedItemNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x73, + 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ClosedItemNotify_proto_rawDescOnce sync.Once + file_ClosedItemNotify_proto_rawDescData = file_ClosedItemNotify_proto_rawDesc +) + +func file_ClosedItemNotify_proto_rawDescGZIP() []byte { + file_ClosedItemNotify_proto_rawDescOnce.Do(func() { + file_ClosedItemNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClosedItemNotify_proto_rawDescData) + }) + return file_ClosedItemNotify_proto_rawDescData +} + +var file_ClosedItemNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ClosedItemNotify_proto_goTypes = []interface{}{ + (*ClosedItemNotify)(nil), // 0: ClosedItemNotify +} +var file_ClosedItemNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ClosedItemNotify_proto_init() } +func file_ClosedItemNotify_proto_init() { + if File_ClosedItemNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ClosedItemNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClosedItemNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ClosedItemNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ClosedItemNotify_proto_goTypes, + DependencyIndexes: file_ClosedItemNotify_proto_depIdxs, + MessageInfos: file_ClosedItemNotify_proto_msgTypes, + }.Build() + File_ClosedItemNotify_proto = out.File + file_ClosedItemNotify_proto_rawDesc = nil + file_ClosedItemNotify_proto_goTypes = nil + file_ClosedItemNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ClosedItemNotify.proto b/gate-hk4e-api/proto/ClosedItemNotify.proto new file mode 100644 index 00000000..ee4d65a4 --- /dev/null +++ b/gate-hk4e-api/proto/ClosedItemNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 614 +// EnetChannelId: 0 +// EnetIsReliable: true +message ClosedItemNotify { + repeated uint32 item_id_list = 8; +} diff --git a/gate-hk4e-api/proto/CodexDataFullNotify.pb.go b/gate-hk4e-api/proto/CodexDataFullNotify.pb.go new file mode 100644 index 00000000..b45fd731 --- /dev/null +++ b/gate-hk4e-api/proto/CodexDataFullNotify.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CodexDataFullNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4205 +// EnetChannelId: 0 +// EnetIsReliable: true +type CodexDataFullNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BPKOLHOOGFO uint32 `protobuf:"varint,4,opt,name=Unk2700_BPKOLHOOGFO,json=Unk2700BPKOLHOOGFO,proto3" json:"Unk2700_BPKOLHOOGFO,omitempty"` + Unk2700_DFJJHFHHIHF []uint32 `protobuf:"varint,2,rep,packed,name=Unk2700_DFJJHFHHIHF,json=Unk2700DFJJHFHHIHF,proto3" json:"Unk2700_DFJJHFHHIHF,omitempty"` + Unk2700_HJDNBBPMOAP uint32 `protobuf:"varint,3,opt,name=Unk2700_HJDNBBPMOAP,json=Unk2700HJDNBBPMOAP,proto3" json:"Unk2700_HJDNBBPMOAP,omitempty"` + TypeDataList []*CodexTypeData `protobuf:"bytes,6,rep,name=type_data_list,json=typeDataList,proto3" json:"type_data_list,omitempty"` +} + +func (x *CodexDataFullNotify) Reset() { + *x = CodexDataFullNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CodexDataFullNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CodexDataFullNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CodexDataFullNotify) ProtoMessage() {} + +func (x *CodexDataFullNotify) ProtoReflect() protoreflect.Message { + mi := &file_CodexDataFullNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CodexDataFullNotify.ProtoReflect.Descriptor instead. +func (*CodexDataFullNotify) Descriptor() ([]byte, []int) { + return file_CodexDataFullNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CodexDataFullNotify) GetUnk2700_BPKOLHOOGFO() uint32 { + if x != nil { + return x.Unk2700_BPKOLHOOGFO + } + return 0 +} + +func (x *CodexDataFullNotify) GetUnk2700_DFJJHFHHIHF() []uint32 { + if x != nil { + return x.Unk2700_DFJJHFHHIHF + } + return nil +} + +func (x *CodexDataFullNotify) GetUnk2700_HJDNBBPMOAP() uint32 { + if x != nil { + return x.Unk2700_HJDNBBPMOAP + } + return 0 +} + +func (x *CodexDataFullNotify) GetTypeDataList() []*CodexTypeData { + if x != nil { + return x.TypeDataList + } + return nil +} + +var File_CodexDataFullNotify_proto protoreflect.FileDescriptor + +var file_CodexDataFullNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x44, 0x61, 0x74, 0x61, 0x46, 0x75, 0x6c, 0x6c, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x43, 0x6f, 0x64, + 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xde, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x44, 0x61, 0x74, 0x61, 0x46, 0x75, + 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4b, 0x4f, 0x4c, 0x48, 0x4f, 0x4f, 0x47, 0x46, 0x4f, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, + 0x4b, 0x4f, 0x4c, 0x48, 0x4f, 0x4f, 0x47, 0x46, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x4a, 0x4a, 0x48, 0x46, 0x48, 0x48, 0x49, 0x48, 0x46, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, + 0x46, 0x4a, 0x4a, 0x48, 0x46, 0x48, 0x48, 0x49, 0x48, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x44, 0x4e, 0x42, 0x42, 0x50, 0x4d, 0x4f, 0x41, + 0x50, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x48, 0x4a, 0x44, 0x4e, 0x42, 0x42, 0x50, 0x4d, 0x4f, 0x41, 0x50, 0x12, 0x34, 0x0a, 0x0e, 0x74, + 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CodexDataFullNotify_proto_rawDescOnce sync.Once + file_CodexDataFullNotify_proto_rawDescData = file_CodexDataFullNotify_proto_rawDesc +) + +func file_CodexDataFullNotify_proto_rawDescGZIP() []byte { + file_CodexDataFullNotify_proto_rawDescOnce.Do(func() { + file_CodexDataFullNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CodexDataFullNotify_proto_rawDescData) + }) + return file_CodexDataFullNotify_proto_rawDescData +} + +var file_CodexDataFullNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CodexDataFullNotify_proto_goTypes = []interface{}{ + (*CodexDataFullNotify)(nil), // 0: CodexDataFullNotify + (*CodexTypeData)(nil), // 1: CodexTypeData +} +var file_CodexDataFullNotify_proto_depIdxs = []int32{ + 1, // 0: CodexDataFullNotify.type_data_list:type_name -> CodexTypeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CodexDataFullNotify_proto_init() } +func file_CodexDataFullNotify_proto_init() { + if File_CodexDataFullNotify_proto != nil { + return + } + file_CodexTypeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_CodexDataFullNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodexDataFullNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CodexDataFullNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CodexDataFullNotify_proto_goTypes, + DependencyIndexes: file_CodexDataFullNotify_proto_depIdxs, + MessageInfos: file_CodexDataFullNotify_proto_msgTypes, + }.Build() + File_CodexDataFullNotify_proto = out.File + file_CodexDataFullNotify_proto_rawDesc = nil + file_CodexDataFullNotify_proto_goTypes = nil + file_CodexDataFullNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CodexDataFullNotify.proto b/gate-hk4e-api/proto/CodexDataFullNotify.proto new file mode 100644 index 00000000..7e2e32cf --- /dev/null +++ b/gate-hk4e-api/proto/CodexDataFullNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CodexTypeData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4205 +// EnetChannelId: 0 +// EnetIsReliable: true +message CodexDataFullNotify { + uint32 Unk2700_BPKOLHOOGFO = 4; + repeated uint32 Unk2700_DFJJHFHHIHF = 2; + uint32 Unk2700_HJDNBBPMOAP = 3; + repeated CodexTypeData type_data_list = 6; +} diff --git a/gate-hk4e-api/proto/CodexDataUpdateNotify.pb.go b/gate-hk4e-api/proto/CodexDataUpdateNotify.pb.go new file mode 100644 index 00000000..628dba2f --- /dev/null +++ b/gate-hk4e-api/proto/CodexDataUpdateNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CodexDataUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4207 +// EnetChannelId: 0 +// EnetIsReliable: true +type CodexDataUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,8,opt,name=id,proto3" json:"id,omitempty"` + WeaponMaxPromoteLevel uint32 `protobuf:"varint,15,opt,name=weapon_max_promote_level,json=weaponMaxPromoteLevel,proto3" json:"weapon_max_promote_level,omitempty"` + Type CodexType `protobuf:"varint,11,opt,name=type,proto3,enum=CodexType" json:"type,omitempty"` +} + +func (x *CodexDataUpdateNotify) Reset() { + *x = CodexDataUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CodexDataUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CodexDataUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CodexDataUpdateNotify) ProtoMessage() {} + +func (x *CodexDataUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CodexDataUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CodexDataUpdateNotify.ProtoReflect.Descriptor instead. +func (*CodexDataUpdateNotify) Descriptor() ([]byte, []int) { + return file_CodexDataUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CodexDataUpdateNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *CodexDataUpdateNotify) GetWeaponMaxPromoteLevel() uint32 { + if x != nil { + return x.WeaponMaxPromoteLevel + } + return 0 +} + +func (x *CodexDataUpdateNotify) GetType() CodexType { + if x != nil { + return x.Type + } + return CodexType_CODEX_TYPE_NONE +} + +var File_CodexDataUpdateNotify_proto protoreflect.FileDescriptor + +var file_CodexDataUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x43, + 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, + 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x77, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x77, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0a, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CodexDataUpdateNotify_proto_rawDescOnce sync.Once + file_CodexDataUpdateNotify_proto_rawDescData = file_CodexDataUpdateNotify_proto_rawDesc +) + +func file_CodexDataUpdateNotify_proto_rawDescGZIP() []byte { + file_CodexDataUpdateNotify_proto_rawDescOnce.Do(func() { + file_CodexDataUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CodexDataUpdateNotify_proto_rawDescData) + }) + return file_CodexDataUpdateNotify_proto_rawDescData +} + +var file_CodexDataUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CodexDataUpdateNotify_proto_goTypes = []interface{}{ + (*CodexDataUpdateNotify)(nil), // 0: CodexDataUpdateNotify + (CodexType)(0), // 1: CodexType +} +var file_CodexDataUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: CodexDataUpdateNotify.type:type_name -> CodexType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CodexDataUpdateNotify_proto_init() } +func file_CodexDataUpdateNotify_proto_init() { + if File_CodexDataUpdateNotify_proto != nil { + return + } + file_CodexType_proto_init() + if !protoimpl.UnsafeEnabled { + file_CodexDataUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodexDataUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CodexDataUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CodexDataUpdateNotify_proto_goTypes, + DependencyIndexes: file_CodexDataUpdateNotify_proto_depIdxs, + MessageInfos: file_CodexDataUpdateNotify_proto_msgTypes, + }.Build() + File_CodexDataUpdateNotify_proto = out.File + file_CodexDataUpdateNotify_proto_rawDesc = nil + file_CodexDataUpdateNotify_proto_goTypes = nil + file_CodexDataUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CodexDataUpdateNotify.proto b/gate-hk4e-api/proto/CodexDataUpdateNotify.proto new file mode 100644 index 00000000..d6e610c9 --- /dev/null +++ b/gate-hk4e-api/proto/CodexDataUpdateNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CodexType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4207 +// EnetChannelId: 0 +// EnetIsReliable: true +message CodexDataUpdateNotify { + uint32 id = 8; + uint32 weapon_max_promote_level = 15; + CodexType type = 11; +} diff --git a/gate-hk4e-api/proto/CodexType.pb.go b/gate-hk4e-api/proto/CodexType.pb.go new file mode 100644 index 00000000..82d0d36d --- /dev/null +++ b/gate-hk4e-api/proto/CodexType.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CodexType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CodexType int32 + +const ( + CodexType_CODEX_TYPE_NONE CodexType = 0 + CodexType_CODEX_TYPE_QUEST CodexType = 1 + CodexType_CODEX_TYPE_WEAPON CodexType = 2 + CodexType_CODEX_TYPE_ANIMAL CodexType = 3 + CodexType_CODEX_TYPE_MATERIAL CodexType = 4 + CodexType_CODEX_TYPE_BOOKS CodexType = 5 + CodexType_CODEX_TYPE_PUSHTIPS CodexType = 6 + CodexType_CODEX_TYPE_VIEW CodexType = 7 + CodexType_CODEX_TYPE_RELIQUARY CodexType = 8 +) + +// Enum value maps for CodexType. +var ( + CodexType_name = map[int32]string{ + 0: "CODEX_TYPE_NONE", + 1: "CODEX_TYPE_QUEST", + 2: "CODEX_TYPE_WEAPON", + 3: "CODEX_TYPE_ANIMAL", + 4: "CODEX_TYPE_MATERIAL", + 5: "CODEX_TYPE_BOOKS", + 6: "CODEX_TYPE_PUSHTIPS", + 7: "CODEX_TYPE_VIEW", + 8: "CODEX_TYPE_RELIQUARY", + } + CodexType_value = map[string]int32{ + "CODEX_TYPE_NONE": 0, + "CODEX_TYPE_QUEST": 1, + "CODEX_TYPE_WEAPON": 2, + "CODEX_TYPE_ANIMAL": 3, + "CODEX_TYPE_MATERIAL": 4, + "CODEX_TYPE_BOOKS": 5, + "CODEX_TYPE_PUSHTIPS": 6, + "CODEX_TYPE_VIEW": 7, + "CODEX_TYPE_RELIQUARY": 8, + } +) + +func (x CodexType) Enum() *CodexType { + p := new(CodexType) + *p = x + return p +} + +func (x CodexType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CodexType) Descriptor() protoreflect.EnumDescriptor { + return file_CodexType_proto_enumTypes[0].Descriptor() +} + +func (CodexType) Type() protoreflect.EnumType { + return &file_CodexType_proto_enumTypes[0] +} + +func (x CodexType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CodexType.Descriptor instead. +func (CodexType) EnumDescriptor() ([]byte, []int) { + return file_CodexType_proto_rawDescGZIP(), []int{0} +} + +var File_CodexType_proto protoreflect.FileDescriptor + +var file_CodexType_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2a, 0xdb, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, + 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x41, 0x50, 0x4f, 0x4e, 0x10, + 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x44, 0x45, + 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x10, + 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x42, 0x4f, 0x4f, 0x4b, 0x53, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x44, 0x45, 0x58, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x54, 0x49, 0x50, 0x53, 0x10, 0x06, + 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, + 0x49, 0x45, 0x57, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x44, 0x45, 0x58, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x4c, 0x49, 0x51, 0x55, 0x41, 0x52, 0x59, 0x10, 0x08, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_CodexType_proto_rawDescOnce sync.Once + file_CodexType_proto_rawDescData = file_CodexType_proto_rawDesc +) + +func file_CodexType_proto_rawDescGZIP() []byte { + file_CodexType_proto_rawDescOnce.Do(func() { + file_CodexType_proto_rawDescData = protoimpl.X.CompressGZIP(file_CodexType_proto_rawDescData) + }) + return file_CodexType_proto_rawDescData +} + +var file_CodexType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CodexType_proto_goTypes = []interface{}{ + (CodexType)(0), // 0: CodexType +} +var file_CodexType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CodexType_proto_init() } +func file_CodexType_proto_init() { + if File_CodexType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CodexType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CodexType_proto_goTypes, + DependencyIndexes: file_CodexType_proto_depIdxs, + EnumInfos: file_CodexType_proto_enumTypes, + }.Build() + File_CodexType_proto = out.File + file_CodexType_proto_rawDesc = nil + file_CodexType_proto_goTypes = nil + file_CodexType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CodexType.proto b/gate-hk4e-api/proto/CodexType.proto new file mode 100644 index 00000000..39b68656 --- /dev/null +++ b/gate-hk4e-api/proto/CodexType.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum CodexType { + CODEX_TYPE_NONE = 0; + CODEX_TYPE_QUEST = 1; + CODEX_TYPE_WEAPON = 2; + CODEX_TYPE_ANIMAL = 3; + CODEX_TYPE_MATERIAL = 4; + CODEX_TYPE_BOOKS = 5; + CODEX_TYPE_PUSHTIPS = 6; + CODEX_TYPE_VIEW = 7; + CODEX_TYPE_RELIQUARY = 8; +} diff --git a/gate-hk4e-api/proto/CodexTypeData.pb.go b/gate-hk4e-api/proto/CodexTypeData.pb.go new file mode 100644 index 00000000..4418a5d2 --- /dev/null +++ b/gate-hk4e-api/proto/CodexTypeData.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CodexTypeData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CodexTypeData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CodexIdList []uint32 `protobuf:"varint,14,rep,packed,name=codex_id_list,json=codexIdList,proto3" json:"codex_id_list,omitempty"` + WeaponMaxPromoteLevelMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=weapon_max_promote_level_map,json=weaponMaxPromoteLevelMap,proto3" json:"weapon_max_promote_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Type CodexType `protobuf:"varint,13,opt,name=type,proto3,enum=CodexType" json:"type,omitempty"` + HaveViewedList []bool `protobuf:"varint,5,rep,packed,name=have_viewed_list,json=haveViewedList,proto3" json:"have_viewed_list,omitempty"` +} + +func (x *CodexTypeData) Reset() { + *x = CodexTypeData{} + if protoimpl.UnsafeEnabled { + mi := &file_CodexTypeData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CodexTypeData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CodexTypeData) ProtoMessage() {} + +func (x *CodexTypeData) ProtoReflect() protoreflect.Message { + mi := &file_CodexTypeData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CodexTypeData.ProtoReflect.Descriptor instead. +func (*CodexTypeData) Descriptor() ([]byte, []int) { + return file_CodexTypeData_proto_rawDescGZIP(), []int{0} +} + +func (x *CodexTypeData) GetCodexIdList() []uint32 { + if x != nil { + return x.CodexIdList + } + return nil +} + +func (x *CodexTypeData) GetWeaponMaxPromoteLevelMap() map[uint32]uint32 { + if x != nil { + return x.WeaponMaxPromoteLevelMap + } + return nil +} + +func (x *CodexTypeData) GetType() CodexType { + if x != nil { + return x.Type + } + return CodexType_CODEX_TYPE_NONE +} + +func (x *CodexTypeData) GetHaveViewedList() []bool { + if x != nil { + return x.HaveViewedList + } + return nil +} + +var File_CodexTypeData_proto protoreflect.FileDescriptor + +var file_CodexTypeData_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x64, 0x65, 0x78, + 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6f, 0x64, 0x65, + 0x78, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x78, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x6c, 0x0a, 0x1c, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x18, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x61, + 0x76, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x08, 0x52, 0x0e, 0x68, 0x61, 0x76, 0x65, 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x4b, 0x0a, 0x1d, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x4d, 0x61, + 0x78, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CodexTypeData_proto_rawDescOnce sync.Once + file_CodexTypeData_proto_rawDescData = file_CodexTypeData_proto_rawDesc +) + +func file_CodexTypeData_proto_rawDescGZIP() []byte { + file_CodexTypeData_proto_rawDescOnce.Do(func() { + file_CodexTypeData_proto_rawDescData = protoimpl.X.CompressGZIP(file_CodexTypeData_proto_rawDescData) + }) + return file_CodexTypeData_proto_rawDescData +} + +var file_CodexTypeData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_CodexTypeData_proto_goTypes = []interface{}{ + (*CodexTypeData)(nil), // 0: CodexTypeData + nil, // 1: CodexTypeData.WeaponMaxPromoteLevelMapEntry + (CodexType)(0), // 2: CodexType +} +var file_CodexTypeData_proto_depIdxs = []int32{ + 1, // 0: CodexTypeData.weapon_max_promote_level_map:type_name -> CodexTypeData.WeaponMaxPromoteLevelMapEntry + 2, // 1: CodexTypeData.type:type_name -> CodexType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CodexTypeData_proto_init() } +func file_CodexTypeData_proto_init() { + if File_CodexTypeData_proto != nil { + return + } + file_CodexType_proto_init() + if !protoimpl.UnsafeEnabled { + file_CodexTypeData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodexTypeData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CodexTypeData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CodexTypeData_proto_goTypes, + DependencyIndexes: file_CodexTypeData_proto_depIdxs, + MessageInfos: file_CodexTypeData_proto_msgTypes, + }.Build() + File_CodexTypeData_proto = out.File + file_CodexTypeData_proto_rawDesc = nil + file_CodexTypeData_proto_goTypes = nil + file_CodexTypeData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CodexTypeData.proto b/gate-hk4e-api/proto/CodexTypeData.proto new file mode 100644 index 00000000..3edbb969 --- /dev/null +++ b/gate-hk4e-api/proto/CodexTypeData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CodexType.proto"; + +option go_package = "./;proto"; + +message CodexTypeData { + repeated uint32 codex_id_list = 14; + map weapon_max_promote_level_map = 4; + CodexType type = 13; + repeated bool have_viewed_list = 5; +} diff --git a/gate-hk4e-api/proto/CombatInvocationsNotify.pb.go b/gate-hk4e-api/proto/CombatInvocationsNotify.pb.go new file mode 100644 index 00000000..97d1e66f --- /dev/null +++ b/gate-hk4e-api/proto/CombatInvocationsNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombatInvocationsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 319 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CombatInvocationsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InvokeList []*CombatInvokeEntry `protobuf:"bytes,14,rep,name=invoke_list,json=invokeList,proto3" json:"invoke_list,omitempty"` +} + +func (x *CombatInvocationsNotify) Reset() { + *x = CombatInvocationsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CombatInvocationsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombatInvocationsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombatInvocationsNotify) ProtoMessage() {} + +func (x *CombatInvocationsNotify) ProtoReflect() protoreflect.Message { + mi := &file_CombatInvocationsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombatInvocationsNotify.ProtoReflect.Descriptor instead. +func (*CombatInvocationsNotify) Descriptor() ([]byte, []int) { + return file_CombatInvocationsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CombatInvocationsNotify) GetInvokeList() []*CombatInvokeEntry { + if x != nil { + return x.InvokeList + } + return nil +} + +var File_CombatInvocationsNotify_proto protoreflect.FileDescriptor + +var file_CombatInvocationsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x62, + 0x61, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, + 0x76, 0x6f, 0x6b, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombatInvocationsNotify_proto_rawDescOnce sync.Once + file_CombatInvocationsNotify_proto_rawDescData = file_CombatInvocationsNotify_proto_rawDesc +) + +func file_CombatInvocationsNotify_proto_rawDescGZIP() []byte { + file_CombatInvocationsNotify_proto_rawDescOnce.Do(func() { + file_CombatInvocationsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombatInvocationsNotify_proto_rawDescData) + }) + return file_CombatInvocationsNotify_proto_rawDescData +} + +var file_CombatInvocationsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombatInvocationsNotify_proto_goTypes = []interface{}{ + (*CombatInvocationsNotify)(nil), // 0: CombatInvocationsNotify + (*CombatInvokeEntry)(nil), // 1: CombatInvokeEntry +} +var file_CombatInvocationsNotify_proto_depIdxs = []int32{ + 1, // 0: CombatInvocationsNotify.invoke_list:type_name -> CombatInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CombatInvocationsNotify_proto_init() } +func file_CombatInvocationsNotify_proto_init() { + if File_CombatInvocationsNotify_proto != nil { + return + } + file_CombatInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_CombatInvocationsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombatInvocationsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombatInvocationsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombatInvocationsNotify_proto_goTypes, + DependencyIndexes: file_CombatInvocationsNotify_proto_depIdxs, + MessageInfos: file_CombatInvocationsNotify_proto_msgTypes, + }.Build() + File_CombatInvocationsNotify_proto = out.File + file_CombatInvocationsNotify_proto_rawDesc = nil + file_CombatInvocationsNotify_proto_goTypes = nil + file_CombatInvocationsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombatInvocationsNotify.proto b/gate-hk4e-api/proto/CombatInvocationsNotify.proto new file mode 100644 index 00000000..d3f78561 --- /dev/null +++ b/gate-hk4e-api/proto/CombatInvocationsNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CombatInvokeEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 319 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CombatInvocationsNotify { + repeated CombatInvokeEntry invoke_list = 14; +} diff --git a/gate-hk4e-api/proto/CombatInvokeEntry.pb.go b/gate-hk4e-api/proto/CombatInvokeEntry.pb.go new file mode 100644 index 00000000..e61e75d4 --- /dev/null +++ b/gate-hk4e-api/proto/CombatInvokeEntry.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombatInvokeEntry.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CombatInvokeEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CombatData []byte `protobuf:"bytes,12,opt,name=combat_data,json=combatData,proto3" json:"combat_data,omitempty"` + ForwardType ForwardType `protobuf:"varint,10,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + ArgumentType CombatTypeArgument `protobuf:"varint,11,opt,name=argument_type,json=argumentType,proto3,enum=CombatTypeArgument" json:"argument_type,omitempty"` +} + +func (x *CombatInvokeEntry) Reset() { + *x = CombatInvokeEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_CombatInvokeEntry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombatInvokeEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombatInvokeEntry) ProtoMessage() {} + +func (x *CombatInvokeEntry) ProtoReflect() protoreflect.Message { + mi := &file_CombatInvokeEntry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombatInvokeEntry.ProtoReflect.Descriptor instead. +func (*CombatInvokeEntry) Descriptor() ([]byte, []int) { + return file_CombatInvokeEntry_proto_rawDescGZIP(), []int{0} +} + +func (x *CombatInvokeEntry) GetCombatData() []byte { + if x != nil { + return x.CombatData + } + return nil +} + +func (x *CombatInvokeEntry) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *CombatInvokeEntry) GetArgumentType() CombatTypeArgument { + if x != nil { + return x.ArgumentType + } + return CombatTypeArgument_COMBAT_TYPE_ARGUMENT_NONE +} + +var File_CombatInvokeEntry_proto protoreflect.FileDescriptor + +var file_CombatInvokeEntry_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, + 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, + 0x0a, 0x0d, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x72, 0x67, 0x75, + 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombatInvokeEntry_proto_rawDescOnce sync.Once + file_CombatInvokeEntry_proto_rawDescData = file_CombatInvokeEntry_proto_rawDesc +) + +func file_CombatInvokeEntry_proto_rawDescGZIP() []byte { + file_CombatInvokeEntry_proto_rawDescOnce.Do(func() { + file_CombatInvokeEntry_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombatInvokeEntry_proto_rawDescData) + }) + return file_CombatInvokeEntry_proto_rawDescData +} + +var file_CombatInvokeEntry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombatInvokeEntry_proto_goTypes = []interface{}{ + (*CombatInvokeEntry)(nil), // 0: CombatInvokeEntry + (ForwardType)(0), // 1: ForwardType + (CombatTypeArgument)(0), // 2: CombatTypeArgument +} +var file_CombatInvokeEntry_proto_depIdxs = []int32{ + 1, // 0: CombatInvokeEntry.forward_type:type_name -> ForwardType + 2, // 1: CombatInvokeEntry.argument_type:type_name -> CombatTypeArgument + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CombatInvokeEntry_proto_init() } +func file_CombatInvokeEntry_proto_init() { + if File_CombatInvokeEntry_proto != nil { + return + } + file_CombatTypeArgument_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_CombatInvokeEntry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombatInvokeEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombatInvokeEntry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombatInvokeEntry_proto_goTypes, + DependencyIndexes: file_CombatInvokeEntry_proto_depIdxs, + MessageInfos: file_CombatInvokeEntry_proto_msgTypes, + }.Build() + File_CombatInvokeEntry_proto = out.File + file_CombatInvokeEntry_proto_rawDesc = nil + file_CombatInvokeEntry_proto_goTypes = nil + file_CombatInvokeEntry_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombatInvokeEntry.proto b/gate-hk4e-api/proto/CombatInvokeEntry.proto new file mode 100644 index 00000000..44de2437 --- /dev/null +++ b/gate-hk4e-api/proto/CombatInvokeEntry.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CombatTypeArgument.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +message CombatInvokeEntry { + bytes combat_data = 12; + ForwardType forward_type = 10; + CombatTypeArgument argument_type = 11; +} diff --git a/gate-hk4e-api/proto/CombatTypeArgument.pb.go b/gate-hk4e-api/proto/CombatTypeArgument.pb.go new file mode 100644 index 00000000..321aade9 --- /dev/null +++ b/gate-hk4e-api/proto/CombatTypeArgument.pb.go @@ -0,0 +1,244 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombatTypeArgument.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CombatTypeArgument int32 + +const ( + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_NONE CombatTypeArgument = 0 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT CombatTypeArgument = 1 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED CombatTypeArgument = 2 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_FACE_TO_DIR CombatTypeArgument = 3 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET CombatTypeArgument = 4 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_RUSH_MOVE CombatTypeArgument = 5 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED CombatTypeArgument = 6 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_ENTITY_MOVE CombatTypeArgument = 7 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION CombatTypeArgument = 8 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO CombatTypeArgument = 9 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO CombatTypeArgument = 10 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF CombatTypeArgument = 11 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK CombatTypeArgument = 12 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE CombatTypeArgument = 13 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM CombatTypeArgument = 14 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE CombatTypeArgument = 15 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_Unk2700_KPDNFKCMKPG CombatTypeArgument = 16 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_Unk2700_KPLOMOIALGF CombatTypeArgument = 17 + CombatTypeArgument_COMBAT_TYPE_ARGUMENT_Unk3000_BJEHMPLCFHN CombatTypeArgument = 18 +) + +// Enum value maps for CombatTypeArgument. +var ( + CombatTypeArgument_name = map[int32]string{ + 0: "COMBAT_TYPE_ARGUMENT_NONE", + 1: "COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT", + 2: "COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED", + 3: "COMBAT_TYPE_ARGUMENT_FACE_TO_DIR", + 4: "COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET", + 5: "COMBAT_TYPE_ARGUMENT_RUSH_MOVE", + 6: "COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED", + 7: "COMBAT_TYPE_ARGUMENT_ENTITY_MOVE", + 8: "COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION", + 9: "COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO", + 10: "COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO", + 11: "COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF", + 12: "COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK", + 13: "COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE", + 14: "COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM", + 15: "COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE", + 16: "COMBAT_TYPE_ARGUMENT_Unk2700_KPDNFKCMKPG", + 17: "COMBAT_TYPE_ARGUMENT_Unk2700_KPLOMOIALGF", + 18: "COMBAT_TYPE_ARGUMENT_Unk3000_BJEHMPLCFHN", + } + CombatTypeArgument_value = map[string]int32{ + "COMBAT_TYPE_ARGUMENT_NONE": 0, + "COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT": 1, + "COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED": 2, + "COMBAT_TYPE_ARGUMENT_FACE_TO_DIR": 3, + "COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET": 4, + "COMBAT_TYPE_ARGUMENT_RUSH_MOVE": 5, + "COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED": 6, + "COMBAT_TYPE_ARGUMENT_ENTITY_MOVE": 7, + "COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION": 8, + "COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO": 9, + "COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO": 10, + "COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF": 11, + "COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK": 12, + "COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE": 13, + "COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM": 14, + "COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE": 15, + "COMBAT_TYPE_ARGUMENT_Unk2700_KPDNFKCMKPG": 16, + "COMBAT_TYPE_ARGUMENT_Unk2700_KPLOMOIALGF": 17, + "COMBAT_TYPE_ARGUMENT_Unk3000_BJEHMPLCFHN": 18, + } +) + +func (x CombatTypeArgument) Enum() *CombatTypeArgument { + p := new(CombatTypeArgument) + *p = x + return p +} + +func (x CombatTypeArgument) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CombatTypeArgument) Descriptor() protoreflect.EnumDescriptor { + return file_CombatTypeArgument_proto_enumTypes[0].Descriptor() +} + +func (CombatTypeArgument) Type() protoreflect.EnumType { + return &file_CombatTypeArgument_proto_enumTypes[0] +} + +func (x CombatTypeArgument) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CombatTypeArgument.Descriptor instead. +func (CombatTypeArgument) EnumDescriptor() ([]byte, []int) { + return file_CombatTypeArgument_proto_rawDescGZIP(), []int{0} +} + +var File_CombatTypeArgument_proto protoreflect.FileDescriptor + +var file_CombatTypeArgument_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x75, + 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc5, 0x06, 0x0a, 0x12, 0x43, + 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x26, 0x0a, 0x22, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x56, 0x54, 0x5f, 0x42, 0x45, 0x49, + 0x4e, 0x47, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x01, 0x12, 0x2f, 0x0a, 0x2b, 0x43, 0x4f, 0x4d, 0x42, + 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, + 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x44, 0x49, 0x52, 0x10, 0x03, 0x12, + 0x2a, 0x0a, 0x26, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, + 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x41, 0x54, 0x54, 0x41, + 0x43, 0x4b, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e, 0x43, + 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x05, 0x12, + 0x33, 0x0a, 0x2f, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, + 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x54, 0x4f, 0x52, + 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x44, 0x10, 0x06, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x4e, 0x54, + 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x07, 0x12, 0x2d, 0x0a, 0x29, 0x43, 0x4f, + 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, + 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f, 0x4d, + 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x53, 0x54, 0x45, 0x45, 0x52, 0x5f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, + 0x4e, 0x46, 0x4f, 0x10, 0x09, 0x12, 0x2b, 0x0a, 0x27, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x4f, + 0x52, 0x43, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x53, 0x5f, 0x49, 0x4e, 0x46, 0x4f, + 0x10, 0x0a, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x45, + 0x4e, 0x53, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x53, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x10, 0x0b, + 0x12, 0x29, 0x0a, 0x25, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, + 0x5f, 0x44, 0x4f, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x0c, 0x12, 0x28, 0x0a, 0x24, 0x43, + 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x5f, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x4d, + 0x4f, 0x56, 0x45, 0x10, 0x0d, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x59, + 0x4e, 0x43, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x0e, 0x12, 0x28, + 0x0a, 0x24, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, + 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4f, 0x52, + 0x45, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x0f, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x42, + 0x41, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x44, 0x4e, 0x46, 0x4b, 0x43, + 0x4d, 0x4b, 0x50, 0x47, 0x10, 0x10, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4c, 0x4f, 0x4d, 0x4f, 0x49, 0x41, 0x4c, + 0x47, 0x46, 0x10, 0x11, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x45, 0x48, 0x4d, 0x50, 0x4c, 0x43, 0x46, 0x48, 0x4e, + 0x10, 0x12, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombatTypeArgument_proto_rawDescOnce sync.Once + file_CombatTypeArgument_proto_rawDescData = file_CombatTypeArgument_proto_rawDesc +) + +func file_CombatTypeArgument_proto_rawDescGZIP() []byte { + file_CombatTypeArgument_proto_rawDescOnce.Do(func() { + file_CombatTypeArgument_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombatTypeArgument_proto_rawDescData) + }) + return file_CombatTypeArgument_proto_rawDescData +} + +var file_CombatTypeArgument_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CombatTypeArgument_proto_goTypes = []interface{}{ + (CombatTypeArgument)(0), // 0: CombatTypeArgument +} +var file_CombatTypeArgument_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CombatTypeArgument_proto_init() } +func file_CombatTypeArgument_proto_init() { + if File_CombatTypeArgument_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombatTypeArgument_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombatTypeArgument_proto_goTypes, + DependencyIndexes: file_CombatTypeArgument_proto_depIdxs, + EnumInfos: file_CombatTypeArgument_proto_enumTypes, + }.Build() + File_CombatTypeArgument_proto = out.File + file_CombatTypeArgument_proto_rawDesc = nil + file_CombatTypeArgument_proto_goTypes = nil + file_CombatTypeArgument_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombatTypeArgument.proto b/gate-hk4e-api/proto/CombatTypeArgument.proto new file mode 100644 index 00000000..7cc5817a --- /dev/null +++ b/gate-hk4e-api/proto/CombatTypeArgument.proto @@ -0,0 +1,41 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum CombatTypeArgument { + COMBAT_TYPE_ARGUMENT_NONE = 0; + COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT = 1; + COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED = 2; + COMBAT_TYPE_ARGUMENT_FACE_TO_DIR = 3; + COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET = 4; + COMBAT_TYPE_ARGUMENT_RUSH_MOVE = 5; + COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED = 6; + COMBAT_TYPE_ARGUMENT_ENTITY_MOVE = 7; + COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION = 8; + COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO = 9; + COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO = 10; + COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF = 11; + COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK = 12; + COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13; + COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14; + COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15; + COMBAT_TYPE_ARGUMENT_Unk2700_KPDNFKCMKPG = 16; + COMBAT_TYPE_ARGUMENT_Unk2700_KPLOMOIALGF = 17; + COMBAT_TYPE_ARGUMENT_Unk3000_BJEHMPLCFHN = 18; +} diff --git a/gate-hk4e-api/proto/CombineDataNotify.pb.go b/gate-hk4e-api/proto/CombineDataNotify.pb.go new file mode 100644 index 00000000..3fd28529 --- /dev/null +++ b/gate-hk4e-api/proto/CombineDataNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombineDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 659 +// EnetChannelId: 0 +// EnetIsReliable: true +type CombineDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CombineIdList []uint32 `protobuf:"varint,5,rep,packed,name=combine_id_list,json=combineIdList,proto3" json:"combine_id_list,omitempty"` +} + +func (x *CombineDataNotify) Reset() { + *x = CombineDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CombineDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombineDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombineDataNotify) ProtoMessage() {} + +func (x *CombineDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CombineDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombineDataNotify.ProtoReflect.Descriptor instead. +func (*CombineDataNotify) Descriptor() ([]byte, []int) { + return file_CombineDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CombineDataNotify) GetCombineIdList() []uint32 { + if x != nil { + return x.CombineIdList + } + return nil +} + +var File_CombineDataNotify_proto protoreflect.FileDescriptor + +var file_CombineDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x11, 0x43, 0x6f, 0x6d, + 0x62, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, + 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombineDataNotify_proto_rawDescOnce sync.Once + file_CombineDataNotify_proto_rawDescData = file_CombineDataNotify_proto_rawDesc +) + +func file_CombineDataNotify_proto_rawDescGZIP() []byte { + file_CombineDataNotify_proto_rawDescOnce.Do(func() { + file_CombineDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombineDataNotify_proto_rawDescData) + }) + return file_CombineDataNotify_proto_rawDescData +} + +var file_CombineDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombineDataNotify_proto_goTypes = []interface{}{ + (*CombineDataNotify)(nil), // 0: CombineDataNotify +} +var file_CombineDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CombineDataNotify_proto_init() } +func file_CombineDataNotify_proto_init() { + if File_CombineDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CombineDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombineDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombineDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombineDataNotify_proto_goTypes, + DependencyIndexes: file_CombineDataNotify_proto_depIdxs, + MessageInfos: file_CombineDataNotify_proto_msgTypes, + }.Build() + File_CombineDataNotify_proto = out.File + file_CombineDataNotify_proto_rawDesc = nil + file_CombineDataNotify_proto_goTypes = nil + file_CombineDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombineDataNotify.proto b/gate-hk4e-api/proto/CombineDataNotify.proto new file mode 100644 index 00000000..304f0d6b --- /dev/null +++ b/gate-hk4e-api/proto/CombineDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 659 +// EnetChannelId: 0 +// EnetIsReliable: true +message CombineDataNotify { + repeated uint32 combine_id_list = 5; +} diff --git a/gate-hk4e-api/proto/CombineFormulaDataNotify.pb.go b/gate-hk4e-api/proto/CombineFormulaDataNotify.pb.go new file mode 100644 index 00000000..dd9eeb50 --- /dev/null +++ b/gate-hk4e-api/proto/CombineFormulaDataNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombineFormulaDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 632 +// EnetChannelId: 0 +// EnetIsReliable: true +type CombineFormulaDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CombineId uint32 `protobuf:"varint,6,opt,name=combine_id,json=combineId,proto3" json:"combine_id,omitempty"` + IsLocked bool `protobuf:"varint,3,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` +} + +func (x *CombineFormulaDataNotify) Reset() { + *x = CombineFormulaDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CombineFormulaDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombineFormulaDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombineFormulaDataNotify) ProtoMessage() {} + +func (x *CombineFormulaDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CombineFormulaDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombineFormulaDataNotify.ProtoReflect.Descriptor instead. +func (*CombineFormulaDataNotify) Descriptor() ([]byte, []int) { + return file_CombineFormulaDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CombineFormulaDataNotify) GetCombineId() uint32 { + if x != nil { + return x.CombineId + } + return 0 +} + +func (x *CombineFormulaDataNotify) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +var File_CombineFormulaDataNotify_proto protoreflect.FileDescriptor + +var file_CombineFormulaDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x56, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x75, + 0x6c, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, + 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombineFormulaDataNotify_proto_rawDescOnce sync.Once + file_CombineFormulaDataNotify_proto_rawDescData = file_CombineFormulaDataNotify_proto_rawDesc +) + +func file_CombineFormulaDataNotify_proto_rawDescGZIP() []byte { + file_CombineFormulaDataNotify_proto_rawDescOnce.Do(func() { + file_CombineFormulaDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombineFormulaDataNotify_proto_rawDescData) + }) + return file_CombineFormulaDataNotify_proto_rawDescData +} + +var file_CombineFormulaDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombineFormulaDataNotify_proto_goTypes = []interface{}{ + (*CombineFormulaDataNotify)(nil), // 0: CombineFormulaDataNotify +} +var file_CombineFormulaDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CombineFormulaDataNotify_proto_init() } +func file_CombineFormulaDataNotify_proto_init() { + if File_CombineFormulaDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CombineFormulaDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombineFormulaDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombineFormulaDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombineFormulaDataNotify_proto_goTypes, + DependencyIndexes: file_CombineFormulaDataNotify_proto_depIdxs, + MessageInfos: file_CombineFormulaDataNotify_proto_msgTypes, + }.Build() + File_CombineFormulaDataNotify_proto = out.File + file_CombineFormulaDataNotify_proto_rawDesc = nil + file_CombineFormulaDataNotify_proto_goTypes = nil + file_CombineFormulaDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombineFormulaDataNotify.proto b/gate-hk4e-api/proto/CombineFormulaDataNotify.proto new file mode 100644 index 00000000..ab9ce35a --- /dev/null +++ b/gate-hk4e-api/proto/CombineFormulaDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 632 +// EnetChannelId: 0 +// EnetIsReliable: true +message CombineFormulaDataNotify { + uint32 combine_id = 6; + bool is_locked = 3; +} diff --git a/gate-hk4e-api/proto/CombineReq.pb.go b/gate-hk4e-api/proto/CombineReq.pb.go new file mode 100644 index 00000000..7730504f --- /dev/null +++ b/gate-hk4e-api/proto/CombineReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombineReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 643 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CombineReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CombineCount uint32 `protobuf:"varint,12,opt,name=combine_count,json=combineCount,proto3" json:"combine_count,omitempty"` + CombineId uint32 `protobuf:"varint,9,opt,name=combine_id,json=combineId,proto3" json:"combine_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,14,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *CombineReq) Reset() { + *x = CombineReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CombineReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombineReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombineReq) ProtoMessage() {} + +func (x *CombineReq) ProtoReflect() protoreflect.Message { + mi := &file_CombineReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombineReq.ProtoReflect.Descriptor instead. +func (*CombineReq) Descriptor() ([]byte, []int) { + return file_CombineReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CombineReq) GetCombineCount() uint32 { + if x != nil { + return x.CombineCount + } + return 0 +} + +func (x *CombineReq) GetCombineId() uint32 { + if x != nil { + return x.CombineId + } + return 0 +} + +func (x *CombineReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_CombineReq_proto protoreflect.FileDescriptor + +var file_CombineReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x62, 0x69, + 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombineReq_proto_rawDescOnce sync.Once + file_CombineReq_proto_rawDescData = file_CombineReq_proto_rawDesc +) + +func file_CombineReq_proto_rawDescGZIP() []byte { + file_CombineReq_proto_rawDescOnce.Do(func() { + file_CombineReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombineReq_proto_rawDescData) + }) + return file_CombineReq_proto_rawDescData +} + +var file_CombineReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombineReq_proto_goTypes = []interface{}{ + (*CombineReq)(nil), // 0: CombineReq +} +var file_CombineReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CombineReq_proto_init() } +func file_CombineReq_proto_init() { + if File_CombineReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CombineReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombineReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombineReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombineReq_proto_goTypes, + DependencyIndexes: file_CombineReq_proto_depIdxs, + MessageInfos: file_CombineReq_proto_msgTypes, + }.Build() + File_CombineReq_proto = out.File + file_CombineReq_proto_rawDesc = nil + file_CombineReq_proto_goTypes = nil + file_CombineReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombineReq.proto b/gate-hk4e-api/proto/CombineReq.proto new file mode 100644 index 00000000..92ce09ff --- /dev/null +++ b/gate-hk4e-api/proto/CombineReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 643 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CombineReq { + uint32 combine_count = 12; + uint32 combine_id = 9; + uint64 avatar_guid = 14; +} diff --git a/gate-hk4e-api/proto/CombineRsp.pb.go b/gate-hk4e-api/proto/CombineRsp.pb.go new file mode 100644 index 00000000..6824468e --- /dev/null +++ b/gate-hk4e-api/proto/CombineRsp.pb.go @@ -0,0 +1,257 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CombineRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 674 +// EnetChannelId: 0 +// EnetIsReliable: true +type CombineRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostItemList []*ItemParam `protobuf:"bytes,3,rep,name=cost_item_list,json=costItemList,proto3" json:"cost_item_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + TotalExtraItemList []*ItemParam `protobuf:"bytes,6,rep,name=total_extra_item_list,json=totalExtraItemList,proto3" json:"total_extra_item_list,omitempty"` + CombineId uint32 `protobuf:"varint,11,opt,name=combine_id,json=combineId,proto3" json:"combine_id,omitempty"` + TotalRandomItemList []*ItemParam `protobuf:"bytes,9,rep,name=total_random_item_list,json=totalRandomItemList,proto3" json:"total_random_item_list,omitempty"` + ResultItemList []*ItemParam `protobuf:"bytes,2,rep,name=result_item_list,json=resultItemList,proto3" json:"result_item_list,omitempty"` + CombineCount uint32 `protobuf:"varint,13,opt,name=combine_count,json=combineCount,proto3" json:"combine_count,omitempty"` + TotalReturnItemList []*ItemParam `protobuf:"bytes,12,rep,name=total_return_item_list,json=totalReturnItemList,proto3" json:"total_return_item_list,omitempty"` + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *CombineRsp) Reset() { + *x = CombineRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CombineRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CombineRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CombineRsp) ProtoMessage() {} + +func (x *CombineRsp) ProtoReflect() protoreflect.Message { + mi := &file_CombineRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CombineRsp.ProtoReflect.Descriptor instead. +func (*CombineRsp) Descriptor() ([]byte, []int) { + return file_CombineRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CombineRsp) GetCostItemList() []*ItemParam { + if x != nil { + return x.CostItemList + } + return nil +} + +func (x *CombineRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *CombineRsp) GetTotalExtraItemList() []*ItemParam { + if x != nil { + return x.TotalExtraItemList + } + return nil +} + +func (x *CombineRsp) GetCombineId() uint32 { + if x != nil { + return x.CombineId + } + return 0 +} + +func (x *CombineRsp) GetTotalRandomItemList() []*ItemParam { + if x != nil { + return x.TotalRandomItemList + } + return nil +} + +func (x *CombineRsp) GetResultItemList() []*ItemParam { + if x != nil { + return x.ResultItemList + } + return nil +} + +func (x *CombineRsp) GetCombineCount() uint32 { + if x != nil { + return x.CombineCount + } + return 0 +} + +func (x *CombineRsp) GetTotalReturnItemList() []*ItemParam { + if x != nil { + return x.TotalReturnItemList + } + return nil +} + +func (x *CombineRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_CombineRsp_proto protoreflect.FileDescriptor + +var file_CombineRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x03, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0e, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3d, + 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x45, 0x78, 0x74, 0x72, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x16, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, + 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, + 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x62, + 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x16, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CombineRsp_proto_rawDescOnce sync.Once + file_CombineRsp_proto_rawDescData = file_CombineRsp_proto_rawDesc +) + +func file_CombineRsp_proto_rawDescGZIP() []byte { + file_CombineRsp_proto_rawDescOnce.Do(func() { + file_CombineRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CombineRsp_proto_rawDescData) + }) + return file_CombineRsp_proto_rawDescData +} + +var file_CombineRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CombineRsp_proto_goTypes = []interface{}{ + (*CombineRsp)(nil), // 0: CombineRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_CombineRsp_proto_depIdxs = []int32{ + 1, // 0: CombineRsp.cost_item_list:type_name -> ItemParam + 1, // 1: CombineRsp.total_extra_item_list:type_name -> ItemParam + 1, // 2: CombineRsp.total_random_item_list:type_name -> ItemParam + 1, // 3: CombineRsp.result_item_list:type_name -> ItemParam + 1, // 4: CombineRsp.total_return_item_list:type_name -> ItemParam + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_CombineRsp_proto_init() } +func file_CombineRsp_proto_init() { + if File_CombineRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_CombineRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CombineRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CombineRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CombineRsp_proto_goTypes, + DependencyIndexes: file_CombineRsp_proto_depIdxs, + MessageInfos: file_CombineRsp_proto_msgTypes, + }.Build() + File_CombineRsp_proto = out.File + file_CombineRsp_proto_rawDesc = nil + file_CombineRsp_proto_goTypes = nil + file_CombineRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CombineRsp.proto b/gate-hk4e-api/proto/CombineRsp.proto new file mode 100644 index 00000000..e68583d9 --- /dev/null +++ b/gate-hk4e-api/proto/CombineRsp.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 674 +// EnetChannelId: 0 +// EnetIsReliable: true +message CombineRsp { + repeated ItemParam cost_item_list = 3; + int32 retcode = 7; + repeated ItemParam total_extra_item_list = 6; + uint32 combine_id = 11; + repeated ItemParam total_random_item_list = 9; + repeated ItemParam result_item_list = 2; + uint32 combine_count = 13; + repeated ItemParam total_return_item_list = 12; + uint64 avatar_guid = 10; +} diff --git a/gate-hk4e-api/proto/CommonPlayerTipsNotify.pb.go b/gate-hk4e-api/proto/CommonPlayerTipsNotify.pb.go new file mode 100644 index 00000000..314303b4 --- /dev/null +++ b/gate-hk4e-api/proto/CommonPlayerTipsNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CommonPlayerTipsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8466 +// EnetChannelId: 0 +// EnetIsReliable: true +type CommonPlayerTipsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NotifyType uint32 `protobuf:"varint,3,opt,name=notify_type,json=notifyType,proto3" json:"notify_type,omitempty"` + TextMapIdList []string `protobuf:"bytes,9,rep,name=text_map_id_list,json=textMapIdList,proto3" json:"text_map_id_list,omitempty"` +} + +func (x *CommonPlayerTipsNotify) Reset() { + *x = CommonPlayerTipsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CommonPlayerTipsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommonPlayerTipsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommonPlayerTipsNotify) ProtoMessage() {} + +func (x *CommonPlayerTipsNotify) ProtoReflect() protoreflect.Message { + mi := &file_CommonPlayerTipsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommonPlayerTipsNotify.ProtoReflect.Descriptor instead. +func (*CommonPlayerTipsNotify) Descriptor() ([]byte, []int) { + return file_CommonPlayerTipsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CommonPlayerTipsNotify) GetNotifyType() uint32 { + if x != nil { + return x.NotifyType + } + return 0 +} + +func (x *CommonPlayerTipsNotify) GetTextMapIdList() []string { + if x != nil { + return x.TextMapIdList + } + return nil +} + +var File_CommonPlayerTipsNotify_proto protoreflect.FileDescriptor + +var file_CommonPlayerTipsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x69, + 0x70, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, + 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x69, + 0x70, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CommonPlayerTipsNotify_proto_rawDescOnce sync.Once + file_CommonPlayerTipsNotify_proto_rawDescData = file_CommonPlayerTipsNotify_proto_rawDesc +) + +func file_CommonPlayerTipsNotify_proto_rawDescGZIP() []byte { + file_CommonPlayerTipsNotify_proto_rawDescOnce.Do(func() { + file_CommonPlayerTipsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CommonPlayerTipsNotify_proto_rawDescData) + }) + return file_CommonPlayerTipsNotify_proto_rawDescData +} + +var file_CommonPlayerTipsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CommonPlayerTipsNotify_proto_goTypes = []interface{}{ + (*CommonPlayerTipsNotify)(nil), // 0: CommonPlayerTipsNotify +} +var file_CommonPlayerTipsNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CommonPlayerTipsNotify_proto_init() } +func file_CommonPlayerTipsNotify_proto_init() { + if File_CommonPlayerTipsNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CommonPlayerTipsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommonPlayerTipsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CommonPlayerTipsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CommonPlayerTipsNotify_proto_goTypes, + DependencyIndexes: file_CommonPlayerTipsNotify_proto_depIdxs, + MessageInfos: file_CommonPlayerTipsNotify_proto_msgTypes, + }.Build() + File_CommonPlayerTipsNotify_proto = out.File + file_CommonPlayerTipsNotify_proto_rawDesc = nil + file_CommonPlayerTipsNotify_proto_goTypes = nil + file_CommonPlayerTipsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CommonPlayerTipsNotify.proto b/gate-hk4e-api/proto/CommonPlayerTipsNotify.proto new file mode 100644 index 00000000..b8b84597 --- /dev/null +++ b/gate-hk4e-api/proto/CommonPlayerTipsNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8466 +// EnetChannelId: 0 +// EnetIsReliable: true +message CommonPlayerTipsNotify { + uint32 notify_type = 3; + repeated string text_map_id_list = 9; +} diff --git a/gate-hk4e-api/proto/CompoundDataNotify.pb.go b/gate-hk4e-api/proto/CompoundDataNotify.pb.go new file mode 100644 index 00000000..43dc9343 --- /dev/null +++ b/gate-hk4e-api/proto/CompoundDataNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CompoundDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 146 +// EnetChannelId: 0 +// EnetIsReliable: true +type CompoundDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnlockCompoundList []uint32 `protobuf:"varint,1,rep,packed,name=unlock_compound_list,json=unlockCompoundList,proto3" json:"unlock_compound_list,omitempty"` + CompoundQueDataList []*CompoundQueueData `protobuf:"bytes,9,rep,name=compound_que_data_list,json=compoundQueDataList,proto3" json:"compound_que_data_list,omitempty"` +} + +func (x *CompoundDataNotify) Reset() { + *x = CompoundDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CompoundDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompoundDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompoundDataNotify) ProtoMessage() {} + +func (x *CompoundDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CompoundDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompoundDataNotify.ProtoReflect.Descriptor instead. +func (*CompoundDataNotify) Descriptor() ([]byte, []int) { + return file_CompoundDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CompoundDataNotify) GetUnlockCompoundList() []uint32 { + if x != nil { + return x.UnlockCompoundList + } + return nil +} + +func (x *CompoundDataNotify) GetCompoundQueDataList() []*CompoundQueueData { + if x != nil { + return x.CompoundQueDataList + } + return nil +} + +var File_CompoundDataNotify_proto protoreflect.FileDescriptor + +var file_CompoundDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x16, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CompoundDataNotify_proto_rawDescOnce sync.Once + file_CompoundDataNotify_proto_rawDescData = file_CompoundDataNotify_proto_rawDesc +) + +func file_CompoundDataNotify_proto_rawDescGZIP() []byte { + file_CompoundDataNotify_proto_rawDescOnce.Do(func() { + file_CompoundDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CompoundDataNotify_proto_rawDescData) + }) + return file_CompoundDataNotify_proto_rawDescData +} + +var file_CompoundDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CompoundDataNotify_proto_goTypes = []interface{}{ + (*CompoundDataNotify)(nil), // 0: CompoundDataNotify + (*CompoundQueueData)(nil), // 1: CompoundQueueData +} +var file_CompoundDataNotify_proto_depIdxs = []int32{ + 1, // 0: CompoundDataNotify.compound_que_data_list:type_name -> CompoundQueueData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CompoundDataNotify_proto_init() } +func file_CompoundDataNotify_proto_init() { + if File_CompoundDataNotify_proto != nil { + return + } + file_CompoundQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_CompoundDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompoundDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CompoundDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CompoundDataNotify_proto_goTypes, + DependencyIndexes: file_CompoundDataNotify_proto_depIdxs, + MessageInfos: file_CompoundDataNotify_proto_msgTypes, + }.Build() + File_CompoundDataNotify_proto = out.File + file_CompoundDataNotify_proto_rawDesc = nil + file_CompoundDataNotify_proto_goTypes = nil + file_CompoundDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CompoundDataNotify.proto b/gate-hk4e-api/proto/CompoundDataNotify.proto new file mode 100644 index 00000000..b3050510 --- /dev/null +++ b/gate-hk4e-api/proto/CompoundDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CompoundQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 146 +// EnetChannelId: 0 +// EnetIsReliable: true +message CompoundDataNotify { + repeated uint32 unlock_compound_list = 1; + repeated CompoundQueueData compound_que_data_list = 9; +} diff --git a/gate-hk4e-api/proto/CompoundQueueData.pb.go b/gate-hk4e-api/proto/CompoundQueueData.pb.go new file mode 100644 index 00000000..36c9ac53 --- /dev/null +++ b/gate-hk4e-api/proto/CompoundQueueData.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CompoundQueueData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CompoundQueueData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OutputCount uint32 `protobuf:"varint,1,opt,name=output_count,json=outputCount,proto3" json:"output_count,omitempty"` + CompoundId uint32 `protobuf:"varint,4,opt,name=compound_id,json=compoundId,proto3" json:"compound_id,omitempty"` + OutputTime uint32 `protobuf:"varint,14,opt,name=output_time,json=outputTime,proto3" json:"output_time,omitempty"` + WaitCount uint32 `protobuf:"varint,8,opt,name=wait_count,json=waitCount,proto3" json:"wait_count,omitempty"` +} + +func (x *CompoundQueueData) Reset() { + *x = CompoundQueueData{} + if protoimpl.UnsafeEnabled { + mi := &file_CompoundQueueData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompoundQueueData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompoundQueueData) ProtoMessage() {} + +func (x *CompoundQueueData) ProtoReflect() protoreflect.Message { + mi := &file_CompoundQueueData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompoundQueueData.ProtoReflect.Descriptor instead. +func (*CompoundQueueData) Descriptor() ([]byte, []int) { + return file_CompoundQueueData_proto_rawDescGZIP(), []int{0} +} + +func (x *CompoundQueueData) GetOutputCount() uint32 { + if x != nil { + return x.OutputCount + } + return 0 +} + +func (x *CompoundQueueData) GetCompoundId() uint32 { + if x != nil { + return x.CompoundId + } + return 0 +} + +func (x *CompoundQueueData) GetOutputTime() uint32 { + if x != nil { + return x.OutputTime + } + return 0 +} + +func (x *CompoundQueueData) GetWaitCount() uint32 { + if x != nil { + return x.WaitCount + } + return 0 +} + +var File_CompoundQueueData_proto protoreflect.FileDescriptor + +var file_CompoundQueueData_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x11, 0x43, 0x6f, + 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, + 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x69, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CompoundQueueData_proto_rawDescOnce sync.Once + file_CompoundQueueData_proto_rawDescData = file_CompoundQueueData_proto_rawDesc +) + +func file_CompoundQueueData_proto_rawDescGZIP() []byte { + file_CompoundQueueData_proto_rawDescOnce.Do(func() { + file_CompoundQueueData_proto_rawDescData = protoimpl.X.CompressGZIP(file_CompoundQueueData_proto_rawDescData) + }) + return file_CompoundQueueData_proto_rawDescData +} + +var file_CompoundQueueData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CompoundQueueData_proto_goTypes = []interface{}{ + (*CompoundQueueData)(nil), // 0: CompoundQueueData +} +var file_CompoundQueueData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CompoundQueueData_proto_init() } +func file_CompoundQueueData_proto_init() { + if File_CompoundQueueData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CompoundQueueData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompoundQueueData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CompoundQueueData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CompoundQueueData_proto_goTypes, + DependencyIndexes: file_CompoundQueueData_proto_depIdxs, + MessageInfos: file_CompoundQueueData_proto_msgTypes, + }.Build() + File_CompoundQueueData_proto = out.File + file_CompoundQueueData_proto_rawDesc = nil + file_CompoundQueueData_proto_goTypes = nil + file_CompoundQueueData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CompoundQueueData.proto b/gate-hk4e-api/proto/CompoundQueueData.proto new file mode 100644 index 00000000..b2ba2b7d --- /dev/null +++ b/gate-hk4e-api/proto/CompoundQueueData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CompoundQueueData { + uint32 output_count = 1; + uint32 compound_id = 4; + uint32 output_time = 14; + uint32 wait_count = 8; +} diff --git a/gate-hk4e-api/proto/CompoundUnlockNotify.pb.go b/gate-hk4e-api/proto/CompoundUnlockNotify.pb.go new file mode 100644 index 00000000..821c4947 --- /dev/null +++ b/gate-hk4e-api/proto/CompoundUnlockNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CompoundUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 128 +// EnetChannelId: 0 +// EnetIsReliable: true +type CompoundUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CompoundId uint32 `protobuf:"varint,3,opt,name=compound_id,json=compoundId,proto3" json:"compound_id,omitempty"` +} + +func (x *CompoundUnlockNotify) Reset() { + *x = CompoundUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CompoundUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompoundUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompoundUnlockNotify) ProtoMessage() {} + +func (x *CompoundUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_CompoundUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompoundUnlockNotify.ProtoReflect.Descriptor instead. +func (*CompoundUnlockNotify) Descriptor() ([]byte, []int) { + return file_CompoundUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CompoundUnlockNotify) GetCompoundId() uint32 { + if x != nil { + return x.CompoundId + } + return 0 +} + +var File_CompoundUnlockNotify_proto protoreflect.FileDescriptor + +var file_CompoundUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x14, + 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x75, 0x6e, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CompoundUnlockNotify_proto_rawDescOnce sync.Once + file_CompoundUnlockNotify_proto_rawDescData = file_CompoundUnlockNotify_proto_rawDesc +) + +func file_CompoundUnlockNotify_proto_rawDescGZIP() []byte { + file_CompoundUnlockNotify_proto_rawDescOnce.Do(func() { + file_CompoundUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CompoundUnlockNotify_proto_rawDescData) + }) + return file_CompoundUnlockNotify_proto_rawDescData +} + +var file_CompoundUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CompoundUnlockNotify_proto_goTypes = []interface{}{ + (*CompoundUnlockNotify)(nil), // 0: CompoundUnlockNotify +} +var file_CompoundUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CompoundUnlockNotify_proto_init() } +func file_CompoundUnlockNotify_proto_init() { + if File_CompoundUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CompoundUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompoundUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CompoundUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CompoundUnlockNotify_proto_goTypes, + DependencyIndexes: file_CompoundUnlockNotify_proto_depIdxs, + MessageInfos: file_CompoundUnlockNotify_proto_msgTypes, + }.Build() + File_CompoundUnlockNotify_proto = out.File + file_CompoundUnlockNotify_proto_rawDesc = nil + file_CompoundUnlockNotify_proto_goTypes = nil + file_CompoundUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CompoundUnlockNotify.proto b/gate-hk4e-api/proto/CompoundUnlockNotify.proto new file mode 100644 index 00000000..92cb08be --- /dev/null +++ b/gate-hk4e-api/proto/CompoundUnlockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 128 +// EnetChannelId: 0 +// EnetIsReliable: true +message CompoundUnlockNotify { + uint32 compound_id = 3; +} diff --git a/gate-hk4e-api/proto/CookDataNotify.pb.go b/gate-hk4e-api/proto/CookDataNotify.pb.go new file mode 100644 index 00000000..cf043efd --- /dev/null +++ b/gate-hk4e-api/proto/CookDataNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CookDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 195 +// EnetChannelId: 0 +// EnetIsReliable: true +type CookDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecipeDataList []*CookRecipeData `protobuf:"bytes,2,rep,name=recipe_data_list,json=recipeDataList,proto3" json:"recipe_data_list,omitempty"` + Grade uint32 `protobuf:"varint,11,opt,name=grade,proto3" json:"grade,omitempty"` +} + +func (x *CookDataNotify) Reset() { + *x = CookDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CookDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CookDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CookDataNotify) ProtoMessage() {} + +func (x *CookDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CookDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CookDataNotify.ProtoReflect.Descriptor instead. +func (*CookDataNotify) Descriptor() ([]byte, []int) { + return file_CookDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CookDataNotify) GetRecipeDataList() []*CookRecipeData { + if x != nil { + return x.RecipeDataList + } + return nil +} + +func (x *CookDataNotify) GetGrade() uint32 { + if x != nil { + return x.Grade + } + return 0 +} + +var File_CookDataNotify_proto protoreflect.FileDescriptor + +var file_CookDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x43, 0x6f, 0x6f, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, + 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0e, + 0x43, 0x6f, 0x6f, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, + 0x0a, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x69, 0x70, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_CookDataNotify_proto_rawDescOnce sync.Once + file_CookDataNotify_proto_rawDescData = file_CookDataNotify_proto_rawDesc +) + +func file_CookDataNotify_proto_rawDescGZIP() []byte { + file_CookDataNotify_proto_rawDescOnce.Do(func() { + file_CookDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CookDataNotify_proto_rawDescData) + }) + return file_CookDataNotify_proto_rawDescData +} + +var file_CookDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CookDataNotify_proto_goTypes = []interface{}{ + (*CookDataNotify)(nil), // 0: CookDataNotify + (*CookRecipeData)(nil), // 1: CookRecipeData +} +var file_CookDataNotify_proto_depIdxs = []int32{ + 1, // 0: CookDataNotify.recipe_data_list:type_name -> CookRecipeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CookDataNotify_proto_init() } +func file_CookDataNotify_proto_init() { + if File_CookDataNotify_proto != nil { + return + } + file_CookRecipeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_CookDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CookDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CookDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CookDataNotify_proto_goTypes, + DependencyIndexes: file_CookDataNotify_proto_depIdxs, + MessageInfos: file_CookDataNotify_proto_msgTypes, + }.Build() + File_CookDataNotify_proto = out.File + file_CookDataNotify_proto_rawDesc = nil + file_CookDataNotify_proto_goTypes = nil + file_CookDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CookDataNotify.proto b/gate-hk4e-api/proto/CookDataNotify.proto new file mode 100644 index 00000000..57a84d4f --- /dev/null +++ b/gate-hk4e-api/proto/CookDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CookRecipeData.proto"; + +option go_package = "./;proto"; + +// CmdId: 195 +// EnetChannelId: 0 +// EnetIsReliable: true +message CookDataNotify { + repeated CookRecipeData recipe_data_list = 2; + uint32 grade = 11; +} diff --git a/gate-hk4e-api/proto/CookGradeDataNotify.pb.go b/gate-hk4e-api/proto/CookGradeDataNotify.pb.go new file mode 100644 index 00000000..1bbdd64a --- /dev/null +++ b/gate-hk4e-api/proto/CookGradeDataNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CookGradeDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 134 +// EnetChannelId: 0 +// EnetIsReliable: true +type CookGradeDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Grade uint32 `protobuf:"varint,12,opt,name=grade,proto3" json:"grade,omitempty"` +} + +func (x *CookGradeDataNotify) Reset() { + *x = CookGradeDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CookGradeDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CookGradeDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CookGradeDataNotify) ProtoMessage() {} + +func (x *CookGradeDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CookGradeDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CookGradeDataNotify.ProtoReflect.Descriptor instead. +func (*CookGradeDataNotify) Descriptor() ([]byte, []int) { + return file_CookGradeDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CookGradeDataNotify) GetGrade() uint32 { + if x != nil { + return x.Grade + } + return 0 +} + +var File_CookGradeDataNotify_proto protoreflect.FileDescriptor + +var file_CookGradeDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x6f, 0x6f, 0x6b, 0x47, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x43, + 0x6f, 0x6f, 0x6b, 0x47, 0x72, 0x61, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CookGradeDataNotify_proto_rawDescOnce sync.Once + file_CookGradeDataNotify_proto_rawDescData = file_CookGradeDataNotify_proto_rawDesc +) + +func file_CookGradeDataNotify_proto_rawDescGZIP() []byte { + file_CookGradeDataNotify_proto_rawDescOnce.Do(func() { + file_CookGradeDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CookGradeDataNotify_proto_rawDescData) + }) + return file_CookGradeDataNotify_proto_rawDescData +} + +var file_CookGradeDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CookGradeDataNotify_proto_goTypes = []interface{}{ + (*CookGradeDataNotify)(nil), // 0: CookGradeDataNotify +} +var file_CookGradeDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CookGradeDataNotify_proto_init() } +func file_CookGradeDataNotify_proto_init() { + if File_CookGradeDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CookGradeDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CookGradeDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CookGradeDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CookGradeDataNotify_proto_goTypes, + DependencyIndexes: file_CookGradeDataNotify_proto_depIdxs, + MessageInfos: file_CookGradeDataNotify_proto_msgTypes, + }.Build() + File_CookGradeDataNotify_proto = out.File + file_CookGradeDataNotify_proto_rawDesc = nil + file_CookGradeDataNotify_proto_goTypes = nil + file_CookGradeDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CookGradeDataNotify.proto b/gate-hk4e-api/proto/CookGradeDataNotify.proto new file mode 100644 index 00000000..356d145d --- /dev/null +++ b/gate-hk4e-api/proto/CookGradeDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 134 +// EnetChannelId: 0 +// EnetIsReliable: true +message CookGradeDataNotify { + uint32 grade = 12; +} diff --git a/gate-hk4e-api/proto/CookRecipeData.pb.go b/gate-hk4e-api/proto/CookRecipeData.pb.go new file mode 100644 index 00000000..21946353 --- /dev/null +++ b/gate-hk4e-api/proto/CookRecipeData.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CookRecipeData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CookRecipeData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proficiency uint32 `protobuf:"varint,13,opt,name=proficiency,proto3" json:"proficiency,omitempty"` + RecipeId uint32 `protobuf:"varint,9,opt,name=recipe_id,json=recipeId,proto3" json:"recipe_id,omitempty"` +} + +func (x *CookRecipeData) Reset() { + *x = CookRecipeData{} + if protoimpl.UnsafeEnabled { + mi := &file_CookRecipeData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CookRecipeData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CookRecipeData) ProtoMessage() {} + +func (x *CookRecipeData) ProtoReflect() protoreflect.Message { + mi := &file_CookRecipeData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CookRecipeData.ProtoReflect.Descriptor instead. +func (*CookRecipeData) Descriptor() ([]byte, []int) { + return file_CookRecipeData_proto_rawDescGZIP(), []int{0} +} + +func (x *CookRecipeData) GetProficiency() uint32 { + if x != nil { + return x.Proficiency + } + return 0 +} + +func (x *CookRecipeData) GetRecipeId() uint32 { + if x != nil { + return x.RecipeId + } + return 0 +} + +var File_CookRecipeData_proto protoreflect.FileDescriptor + +var file_CookRecipeData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x63, 0x69, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, + 0x72, 0x6f, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, + 0x63, 0x69, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, + 0x65, 0x63, 0x69, 0x70, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CookRecipeData_proto_rawDescOnce sync.Once + file_CookRecipeData_proto_rawDescData = file_CookRecipeData_proto_rawDesc +) + +func file_CookRecipeData_proto_rawDescGZIP() []byte { + file_CookRecipeData_proto_rawDescOnce.Do(func() { + file_CookRecipeData_proto_rawDescData = protoimpl.X.CompressGZIP(file_CookRecipeData_proto_rawDescData) + }) + return file_CookRecipeData_proto_rawDescData +} + +var file_CookRecipeData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CookRecipeData_proto_goTypes = []interface{}{ + (*CookRecipeData)(nil), // 0: CookRecipeData +} +var file_CookRecipeData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CookRecipeData_proto_init() } +func file_CookRecipeData_proto_init() { + if File_CookRecipeData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CookRecipeData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CookRecipeData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CookRecipeData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CookRecipeData_proto_goTypes, + DependencyIndexes: file_CookRecipeData_proto_depIdxs, + MessageInfos: file_CookRecipeData_proto_msgTypes, + }.Build() + File_CookRecipeData_proto = out.File + file_CookRecipeData_proto_rawDesc = nil + file_CookRecipeData_proto_goTypes = nil + file_CookRecipeData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CookRecipeData.proto b/gate-hk4e-api/proto/CookRecipeData.proto new file mode 100644 index 00000000..94abf3d2 --- /dev/null +++ b/gate-hk4e-api/proto/CookRecipeData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CookRecipeData { + uint32 proficiency = 13; + uint32 recipe_id = 9; +} diff --git a/gate-hk4e-api/proto/CookRecipeDataNotify.pb.go b/gate-hk4e-api/proto/CookRecipeDataNotify.pb.go new file mode 100644 index 00000000..41fb7078 --- /dev/null +++ b/gate-hk4e-api/proto/CookRecipeDataNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CookRecipeDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 106 +// EnetChannelId: 0 +// EnetIsReliable: true +type CookRecipeDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecipeData *CookRecipeData `protobuf:"bytes,4,opt,name=recipe_data,json=recipeData,proto3" json:"recipe_data,omitempty"` +} + +func (x *CookRecipeDataNotify) Reset() { + *x = CookRecipeDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CookRecipeDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CookRecipeDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CookRecipeDataNotify) ProtoMessage() {} + +func (x *CookRecipeDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CookRecipeDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CookRecipeDataNotify.ProtoReflect.Descriptor instead. +func (*CookRecipeDataNotify) Descriptor() ([]byte, []int) { + return file_CookRecipeDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CookRecipeDataNotify) GetRecipeData() *CookRecipeData { + if x != nil { + return x.RecipeData + } + return nil +} + +var File_CookRecipeDataNotify_proto protoreflect.FileDescriptor + +var file_CookRecipeDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x43, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x14, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, + 0x63, 0x69, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x0a, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CookRecipeDataNotify_proto_rawDescOnce sync.Once + file_CookRecipeDataNotify_proto_rawDescData = file_CookRecipeDataNotify_proto_rawDesc +) + +func file_CookRecipeDataNotify_proto_rawDescGZIP() []byte { + file_CookRecipeDataNotify_proto_rawDescOnce.Do(func() { + file_CookRecipeDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CookRecipeDataNotify_proto_rawDescData) + }) + return file_CookRecipeDataNotify_proto_rawDescData +} + +var file_CookRecipeDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CookRecipeDataNotify_proto_goTypes = []interface{}{ + (*CookRecipeDataNotify)(nil), // 0: CookRecipeDataNotify + (*CookRecipeData)(nil), // 1: CookRecipeData +} +var file_CookRecipeDataNotify_proto_depIdxs = []int32{ + 1, // 0: CookRecipeDataNotify.recipe_data:type_name -> CookRecipeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CookRecipeDataNotify_proto_init() } +func file_CookRecipeDataNotify_proto_init() { + if File_CookRecipeDataNotify_proto != nil { + return + } + file_CookRecipeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_CookRecipeDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CookRecipeDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CookRecipeDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CookRecipeDataNotify_proto_goTypes, + DependencyIndexes: file_CookRecipeDataNotify_proto_depIdxs, + MessageInfos: file_CookRecipeDataNotify_proto_msgTypes, + }.Build() + File_CookRecipeDataNotify_proto = out.File + file_CookRecipeDataNotify_proto_rawDesc = nil + file_CookRecipeDataNotify_proto_goTypes = nil + file_CookRecipeDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CookRecipeDataNotify.proto b/gate-hk4e-api/proto/CookRecipeDataNotify.proto new file mode 100644 index 00000000..f3eec1aa --- /dev/null +++ b/gate-hk4e-api/proto/CookRecipeDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CookRecipeData.proto"; + +option go_package = "./;proto"; + +// CmdId: 106 +// EnetChannelId: 0 +// EnetIsReliable: true +message CookRecipeDataNotify { + CookRecipeData recipe_data = 4; +} diff --git a/gate-hk4e-api/proto/CoopCg.pb.go b/gate-hk4e-api/proto/CoopCg.pb.go new file mode 100644 index 00000000..a7b09945 --- /dev/null +++ b/gate-hk4e-api/proto/CoopCg.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopCg.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CoopCg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsUnlock bool `protobuf:"varint,14,opt,name=is_unlock,json=isUnlock,proto3" json:"is_unlock,omitempty"` + Id uint32 `protobuf:"varint,8,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *CoopCg) Reset() { + *x = CoopCg{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopCg_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopCg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopCg) ProtoMessage() {} + +func (x *CoopCg) ProtoReflect() protoreflect.Message { + mi := &file_CoopCg_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopCg.ProtoReflect.Descriptor instead. +func (*CoopCg) Descriptor() ([]byte, []int) { + return file_CoopCg_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopCg) GetIsUnlock() bool { + if x != nil { + return x.IsUnlock + } + return false +} + +func (x *CoopCg) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_CoopCg_proto protoreflect.FileDescriptor + +var file_CoopCg_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, + 0x0a, 0x06, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x75, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopCg_proto_rawDescOnce sync.Once + file_CoopCg_proto_rawDescData = file_CoopCg_proto_rawDesc +) + +func file_CoopCg_proto_rawDescGZIP() []byte { + file_CoopCg_proto_rawDescOnce.Do(func() { + file_CoopCg_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopCg_proto_rawDescData) + }) + return file_CoopCg_proto_rawDescData +} + +var file_CoopCg_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopCg_proto_goTypes = []interface{}{ + (*CoopCg)(nil), // 0: CoopCg +} +var file_CoopCg_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CoopCg_proto_init() } +func file_CoopCg_proto_init() { + if File_CoopCg_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopCg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopCg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopCg_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopCg_proto_goTypes, + DependencyIndexes: file_CoopCg_proto_depIdxs, + MessageInfos: file_CoopCg_proto_msgTypes, + }.Build() + File_CoopCg_proto = out.File + file_CoopCg_proto_rawDesc = nil + file_CoopCg_proto_goTypes = nil + file_CoopCg_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopCg.proto b/gate-hk4e-api/proto/CoopCg.proto new file mode 100644 index 00000000..159f26bc --- /dev/null +++ b/gate-hk4e-api/proto/CoopCg.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CoopCg { + bool is_unlock = 14; + uint32 id = 8; +} diff --git a/gate-hk4e-api/proto/CoopCgShowNotify.pb.go b/gate-hk4e-api/proto/CoopCgShowNotify.pb.go new file mode 100644 index 00000000..18b3b2a7 --- /dev/null +++ b/gate-hk4e-api/proto/CoopCgShowNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopCgShowNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1983 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopCgShowNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CgList []uint32 `protobuf:"varint,10,rep,packed,name=cg_list,json=cgList,proto3" json:"cg_list,omitempty"` +} + +func (x *CoopCgShowNotify) Reset() { + *x = CoopCgShowNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopCgShowNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopCgShowNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopCgShowNotify) ProtoMessage() {} + +func (x *CoopCgShowNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopCgShowNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopCgShowNotify.ProtoReflect.Descriptor instead. +func (*CoopCgShowNotify) Descriptor() ([]byte, []int) { + return file_CoopCgShowNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopCgShowNotify) GetCgList() []uint32 { + if x != nil { + return x.CgList + } + return nil +} + +var File_CoopCgShowNotify_proto protoreflect.FileDescriptor + +var file_CoopCgShowNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x10, 0x43, 0x6f, 0x6f, 0x70, + 0x43, 0x67, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopCgShowNotify_proto_rawDescOnce sync.Once + file_CoopCgShowNotify_proto_rawDescData = file_CoopCgShowNotify_proto_rawDesc +) + +func file_CoopCgShowNotify_proto_rawDescGZIP() []byte { + file_CoopCgShowNotify_proto_rawDescOnce.Do(func() { + file_CoopCgShowNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopCgShowNotify_proto_rawDescData) + }) + return file_CoopCgShowNotify_proto_rawDescData +} + +var file_CoopCgShowNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopCgShowNotify_proto_goTypes = []interface{}{ + (*CoopCgShowNotify)(nil), // 0: CoopCgShowNotify +} +var file_CoopCgShowNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CoopCgShowNotify_proto_init() } +func file_CoopCgShowNotify_proto_init() { + if File_CoopCgShowNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopCgShowNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopCgShowNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopCgShowNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopCgShowNotify_proto_goTypes, + DependencyIndexes: file_CoopCgShowNotify_proto_depIdxs, + MessageInfos: file_CoopCgShowNotify_proto_msgTypes, + }.Build() + File_CoopCgShowNotify_proto = out.File + file_CoopCgShowNotify_proto_rawDesc = nil + file_CoopCgShowNotify_proto_goTypes = nil + file_CoopCgShowNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopCgShowNotify.proto b/gate-hk4e-api/proto/CoopCgShowNotify.proto new file mode 100644 index 00000000..f1932dab --- /dev/null +++ b/gate-hk4e-api/proto/CoopCgShowNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1983 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopCgShowNotify { + repeated uint32 cg_list = 10; +} diff --git a/gate-hk4e-api/proto/CoopCgUpdateNotify.pb.go b/gate-hk4e-api/proto/CoopCgUpdateNotify.pb.go new file mode 100644 index 00000000..7b627b6e --- /dev/null +++ b/gate-hk4e-api/proto/CoopCgUpdateNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopCgUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1994 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopCgUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CgList []uint32 `protobuf:"varint,13,rep,packed,name=cg_list,json=cgList,proto3" json:"cg_list,omitempty"` +} + +func (x *CoopCgUpdateNotify) Reset() { + *x = CoopCgUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopCgUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopCgUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopCgUpdateNotify) ProtoMessage() {} + +func (x *CoopCgUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopCgUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopCgUpdateNotify.ProtoReflect.Descriptor instead. +func (*CoopCgUpdateNotify) Descriptor() ([]byte, []int) { + return file_CoopCgUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopCgUpdateNotify) GetCgList() []uint32 { + if x != nil { + return x.CgList + } + return nil +} + +var File_CoopCgUpdateNotify_proto protoreflect.FileDescriptor + +var file_CoopCgUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x12, 0x43, 0x6f, + 0x6f, 0x70, 0x43, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopCgUpdateNotify_proto_rawDescOnce sync.Once + file_CoopCgUpdateNotify_proto_rawDescData = file_CoopCgUpdateNotify_proto_rawDesc +) + +func file_CoopCgUpdateNotify_proto_rawDescGZIP() []byte { + file_CoopCgUpdateNotify_proto_rawDescOnce.Do(func() { + file_CoopCgUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopCgUpdateNotify_proto_rawDescData) + }) + return file_CoopCgUpdateNotify_proto_rawDescData +} + +var file_CoopCgUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopCgUpdateNotify_proto_goTypes = []interface{}{ + (*CoopCgUpdateNotify)(nil), // 0: CoopCgUpdateNotify +} +var file_CoopCgUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CoopCgUpdateNotify_proto_init() } +func file_CoopCgUpdateNotify_proto_init() { + if File_CoopCgUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopCgUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopCgUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopCgUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopCgUpdateNotify_proto_goTypes, + DependencyIndexes: file_CoopCgUpdateNotify_proto_depIdxs, + MessageInfos: file_CoopCgUpdateNotify_proto_msgTypes, + }.Build() + File_CoopCgUpdateNotify_proto = out.File + file_CoopCgUpdateNotify_proto_rawDesc = nil + file_CoopCgUpdateNotify_proto_goTypes = nil + file_CoopCgUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopCgUpdateNotify.proto b/gate-hk4e-api/proto/CoopCgUpdateNotify.proto new file mode 100644 index 00000000..36af71a3 --- /dev/null +++ b/gate-hk4e-api/proto/CoopCgUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1994 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopCgUpdateNotify { + repeated uint32 cg_list = 13; +} diff --git a/gate-hk4e-api/proto/CoopChapter.pb.go b/gate-hk4e-api/proto/CoopChapter.pb.go new file mode 100644 index 00000000..0578ccbe --- /dev/null +++ b/gate-hk4e-api/proto/CoopChapter.pb.go @@ -0,0 +1,336 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopChapter.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CoopChapter_State int32 + +const ( + CoopChapter_STATE_CLOSE CoopChapter_State = 0 + CoopChapter_STATE_COND_NOT_MEET CoopChapter_State = 1 + CoopChapter_STATE_COND_MEET CoopChapter_State = 2 + CoopChapter_STATE_ACCEPT CoopChapter_State = 3 +) + +// Enum value maps for CoopChapter_State. +var ( + CoopChapter_State_name = map[int32]string{ + 0: "STATE_CLOSE", + 1: "STATE_COND_NOT_MEET", + 2: "STATE_COND_MEET", + 3: "STATE_ACCEPT", + } + CoopChapter_State_value = map[string]int32{ + "STATE_CLOSE": 0, + "STATE_COND_NOT_MEET": 1, + "STATE_COND_MEET": 2, + "STATE_ACCEPT": 3, + } +) + +func (x CoopChapter_State) Enum() *CoopChapter_State { + p := new(CoopChapter_State) + *p = x + return p +} + +func (x CoopChapter_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CoopChapter_State) Descriptor() protoreflect.EnumDescriptor { + return file_CoopChapter_proto_enumTypes[0].Descriptor() +} + +func (CoopChapter_State) Type() protoreflect.EnumType { + return &file_CoopChapter_proto_enumTypes[0] +} + +func (x CoopChapter_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CoopChapter_State.Descriptor instead. +func (CoopChapter_State) EnumDescriptor() ([]byte, []int) { + return file_CoopChapter_proto_rawDescGZIP(), []int{0, 0} +} + +type CoopChapter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CoopCgList []*CoopCg `protobuf:"bytes,1,rep,name=coop_cg_list,json=coopCgList,proto3" json:"coop_cg_list,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + CoopPointList []*CoopPoint `protobuf:"bytes,11,rep,name=coop_point_list,json=coopPointList,proto3" json:"coop_point_list,omitempty"` + FinishDialogList []uint32 `protobuf:"varint,10,rep,packed,name=finish_dialog_list,json=finishDialogList,proto3" json:"finish_dialog_list,omitempty"` + FinishedEndCount uint32 `protobuf:"varint,14,opt,name=finished_end_count,json=finishedEndCount,proto3" json:"finished_end_count,omitempty"` + TotalEndCount uint32 `protobuf:"varint,7,opt,name=total_end_count,json=totalEndCount,proto3" json:"total_end_count,omitempty"` + CoopRewardList []*CoopReward `protobuf:"bytes,5,rep,name=coop_reward_list,json=coopRewardList,proto3" json:"coop_reward_list,omitempty"` + LockReasonList []uint32 `protobuf:"varint,12,rep,packed,name=lock_reason_list,json=lockReasonList,proto3" json:"lock_reason_list,omitempty"` + State CoopChapter_State `protobuf:"varint,4,opt,name=state,proto3,enum=CoopChapter_State" json:"state,omitempty"` + SeenEndingMap map[uint32]uint32 `protobuf:"bytes,9,rep,name=seen_ending_map,json=seenEndingMap,proto3" json:"seen_ending_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *CoopChapter) Reset() { + *x = CoopChapter{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopChapter_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopChapter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopChapter) ProtoMessage() {} + +func (x *CoopChapter) ProtoReflect() protoreflect.Message { + mi := &file_CoopChapter_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopChapter.ProtoReflect.Descriptor instead. +func (*CoopChapter) Descriptor() ([]byte, []int) { + return file_CoopChapter_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopChapter) GetCoopCgList() []*CoopCg { + if x != nil { + return x.CoopCgList + } + return nil +} + +func (x *CoopChapter) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *CoopChapter) GetCoopPointList() []*CoopPoint { + if x != nil { + return x.CoopPointList + } + return nil +} + +func (x *CoopChapter) GetFinishDialogList() []uint32 { + if x != nil { + return x.FinishDialogList + } + return nil +} + +func (x *CoopChapter) GetFinishedEndCount() uint32 { + if x != nil { + return x.FinishedEndCount + } + return 0 +} + +func (x *CoopChapter) GetTotalEndCount() uint32 { + if x != nil { + return x.TotalEndCount + } + return 0 +} + +func (x *CoopChapter) GetCoopRewardList() []*CoopReward { + if x != nil { + return x.CoopRewardList + } + return nil +} + +func (x *CoopChapter) GetLockReasonList() []uint32 { + if x != nil { + return x.LockReasonList + } + return nil +} + +func (x *CoopChapter) GetState() CoopChapter_State { + if x != nil { + return x.State + } + return CoopChapter_STATE_CLOSE +} + +func (x *CoopChapter) GetSeenEndingMap() map[uint32]uint32 { + if x != nil { + return x.SeenEndingMap + } + return nil +} + +var File_CoopChapter_proto protoreflect.FileDescriptor + +var file_CoopChapter_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0f, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x04, 0x0a, 0x0b, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0c, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x67, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x43, 0x6f, 0x6f, + 0x70, 0x43, 0x67, 0x52, 0x0a, 0x63, 0x6f, 0x6f, 0x70, 0x43, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x32, 0x0a, 0x0f, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0d, 0x63, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x64, 0x69, + 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x10, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x65, 0x6e, + 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x26, 0x0a, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, + 0x6e, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x10, 0x63, 0x6f, 0x6f, 0x70, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x0e, + 0x63, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, + 0x0a, 0x10, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x43, 0x6f, + 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, + 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x1a, 0x40, 0x0a, 0x12, 0x53, + 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, + 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x01, + 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4d, + 0x45, 0x45, 0x54, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, + 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopChapter_proto_rawDescOnce sync.Once + file_CoopChapter_proto_rawDescData = file_CoopChapter_proto_rawDesc +) + +func file_CoopChapter_proto_rawDescGZIP() []byte { + file_CoopChapter_proto_rawDescOnce.Do(func() { + file_CoopChapter_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopChapter_proto_rawDescData) + }) + return file_CoopChapter_proto_rawDescData +} + +var file_CoopChapter_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CoopChapter_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_CoopChapter_proto_goTypes = []interface{}{ + (CoopChapter_State)(0), // 0: CoopChapter.State + (*CoopChapter)(nil), // 1: CoopChapter + nil, // 2: CoopChapter.SeenEndingMapEntry + (*CoopCg)(nil), // 3: CoopCg + (*CoopPoint)(nil), // 4: CoopPoint + (*CoopReward)(nil), // 5: CoopReward +} +var file_CoopChapter_proto_depIdxs = []int32{ + 3, // 0: CoopChapter.coop_cg_list:type_name -> CoopCg + 4, // 1: CoopChapter.coop_point_list:type_name -> CoopPoint + 5, // 2: CoopChapter.coop_reward_list:type_name -> CoopReward + 0, // 3: CoopChapter.state:type_name -> CoopChapter.State + 2, // 4: CoopChapter.seen_ending_map:type_name -> CoopChapter.SeenEndingMapEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_CoopChapter_proto_init() } +func file_CoopChapter_proto_init() { + if File_CoopChapter_proto != nil { + return + } + file_CoopCg_proto_init() + file_CoopPoint_proto_init() + file_CoopReward_proto_init() + if !protoimpl.UnsafeEnabled { + file_CoopChapter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopChapter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopChapter_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopChapter_proto_goTypes, + DependencyIndexes: file_CoopChapter_proto_depIdxs, + EnumInfos: file_CoopChapter_proto_enumTypes, + MessageInfos: file_CoopChapter_proto_msgTypes, + }.Build() + File_CoopChapter_proto = out.File + file_CoopChapter_proto_rawDesc = nil + file_CoopChapter_proto_goTypes = nil + file_CoopChapter_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopChapter.proto b/gate-hk4e-api/proto/CoopChapter.proto new file mode 100644 index 00000000..49e946eb --- /dev/null +++ b/gate-hk4e-api/proto/CoopChapter.proto @@ -0,0 +1,43 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CoopCg.proto"; +import "CoopPoint.proto"; +import "CoopReward.proto"; + +option go_package = "./;proto"; + +message CoopChapter { + repeated CoopCg coop_cg_list = 1; + uint32 id = 2; + repeated CoopPoint coop_point_list = 11; + repeated uint32 finish_dialog_list = 10; + uint32 finished_end_count = 14; + uint32 total_end_count = 7; + repeated CoopReward coop_reward_list = 5; + repeated uint32 lock_reason_list = 12; + State state = 4; + map seen_ending_map = 9; + + enum State { + STATE_CLOSE = 0; + STATE_COND_NOT_MEET = 1; + STATE_COND_MEET = 2; + STATE_ACCEPT = 3; + } +} diff --git a/gate-hk4e-api/proto/CoopChapterUpdateNotify.pb.go b/gate-hk4e-api/proto/CoopChapterUpdateNotify.pb.go new file mode 100644 index 00000000..e3ffded3 --- /dev/null +++ b/gate-hk4e-api/proto/CoopChapterUpdateNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopChapterUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1972 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopChapterUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterList []*CoopChapter `protobuf:"bytes,14,rep,name=chapter_list,json=chapterList,proto3" json:"chapter_list,omitempty"` +} + +func (x *CoopChapterUpdateNotify) Reset() { + *x = CoopChapterUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopChapterUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopChapterUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopChapterUpdateNotify) ProtoMessage() {} + +func (x *CoopChapterUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopChapterUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopChapterUpdateNotify.ProtoReflect.Descriptor instead. +func (*CoopChapterUpdateNotify) Descriptor() ([]byte, []int) { + return file_CoopChapterUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopChapterUpdateNotify) GetChapterList() []*CoopChapter { + if x != nil { + return x.ChapterList + } + return nil +} + +var File_CoopChapterUpdateNotify_proto protoreflect.FileDescriptor + +var file_CoopChapterUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x17, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_CoopChapterUpdateNotify_proto_rawDescOnce sync.Once + file_CoopChapterUpdateNotify_proto_rawDescData = file_CoopChapterUpdateNotify_proto_rawDesc +) + +func file_CoopChapterUpdateNotify_proto_rawDescGZIP() []byte { + file_CoopChapterUpdateNotify_proto_rawDescOnce.Do(func() { + file_CoopChapterUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopChapterUpdateNotify_proto_rawDescData) + }) + return file_CoopChapterUpdateNotify_proto_rawDescData +} + +var file_CoopChapterUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopChapterUpdateNotify_proto_goTypes = []interface{}{ + (*CoopChapterUpdateNotify)(nil), // 0: CoopChapterUpdateNotify + (*CoopChapter)(nil), // 1: CoopChapter +} +var file_CoopChapterUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: CoopChapterUpdateNotify.chapter_list:type_name -> CoopChapter + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopChapterUpdateNotify_proto_init() } +func file_CoopChapterUpdateNotify_proto_init() { + if File_CoopChapterUpdateNotify_proto != nil { + return + } + file_CoopChapter_proto_init() + if !protoimpl.UnsafeEnabled { + file_CoopChapterUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopChapterUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopChapterUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopChapterUpdateNotify_proto_goTypes, + DependencyIndexes: file_CoopChapterUpdateNotify_proto_depIdxs, + MessageInfos: file_CoopChapterUpdateNotify_proto_msgTypes, + }.Build() + File_CoopChapterUpdateNotify_proto = out.File + file_CoopChapterUpdateNotify_proto_rawDesc = nil + file_CoopChapterUpdateNotify_proto_goTypes = nil + file_CoopChapterUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopChapterUpdateNotify.proto b/gate-hk4e-api/proto/CoopChapterUpdateNotify.proto new file mode 100644 index 00000000..beaebec2 --- /dev/null +++ b/gate-hk4e-api/proto/CoopChapterUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CoopChapter.proto"; + +option go_package = "./;proto"; + +// CmdId: 1972 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopChapterUpdateNotify { + repeated CoopChapter chapter_list = 14; +} diff --git a/gate-hk4e-api/proto/CoopDataNotify.pb.go b/gate-hk4e-api/proto/CoopDataNotify.pb.go new file mode 100644 index 00000000..4dbd2d7b --- /dev/null +++ b/gate-hk4e-api/proto/CoopDataNotify.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1979 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterList []*CoopChapter `protobuf:"bytes,15,rep,name=chapter_list,json=chapterList,proto3" json:"chapter_list,omitempty"` + ViewedChapterList []uint32 `protobuf:"varint,7,rep,packed,name=viewed_chapter_list,json=viewedChapterList,proto3" json:"viewed_chapter_list,omitempty"` + IsHaveProgress bool `protobuf:"varint,10,opt,name=is_have_progress,json=isHaveProgress,proto3" json:"is_have_progress,omitempty"` + CurCoopPoint uint32 `protobuf:"varint,5,opt,name=cur_coop_point,json=curCoopPoint,proto3" json:"cur_coop_point,omitempty"` +} + +func (x *CoopDataNotify) Reset() { + *x = CoopDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopDataNotify) ProtoMessage() {} + +func (x *CoopDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopDataNotify.ProtoReflect.Descriptor instead. +func (*CoopDataNotify) Descriptor() ([]byte, []int) { + return file_CoopDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopDataNotify) GetChapterList() []*CoopChapter { + if x != nil { + return x.ChapterList + } + return nil +} + +func (x *CoopDataNotify) GetViewedChapterList() []uint32 { + if x != nil { + return x.ViewedChapterList + } + return nil +} + +func (x *CoopDataNotify) GetIsHaveProgress() bool { + if x != nil { + return x.IsHaveProgress + } + return false +} + +func (x *CoopDataNotify) GetCurCoopPoint() uint32 { + if x != nil { + return x.CurCoopPoint + } + return 0 +} + +var File_CoopDataNotify_proto protoreflect.FileDescriptor + +var file_CoopDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x43, 0x6f, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x43, 0x6f, + 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x52, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, + 0x13, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x76, 0x69, 0x65, 0x77, + 0x65, 0x64, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, + 0x10, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x48, 0x61, 0x76, 0x65, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x5f, 0x63, + 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x63, 0x75, 0x72, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_CoopDataNotify_proto_rawDescOnce sync.Once + file_CoopDataNotify_proto_rawDescData = file_CoopDataNotify_proto_rawDesc +) + +func file_CoopDataNotify_proto_rawDescGZIP() []byte { + file_CoopDataNotify_proto_rawDescOnce.Do(func() { + file_CoopDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopDataNotify_proto_rawDescData) + }) + return file_CoopDataNotify_proto_rawDescData +} + +var file_CoopDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopDataNotify_proto_goTypes = []interface{}{ + (*CoopDataNotify)(nil), // 0: CoopDataNotify + (*CoopChapter)(nil), // 1: CoopChapter +} +var file_CoopDataNotify_proto_depIdxs = []int32{ + 1, // 0: CoopDataNotify.chapter_list:type_name -> CoopChapter + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopDataNotify_proto_init() } +func file_CoopDataNotify_proto_init() { + if File_CoopDataNotify_proto != nil { + return + } + file_CoopChapter_proto_init() + if !protoimpl.UnsafeEnabled { + file_CoopDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopDataNotify_proto_goTypes, + DependencyIndexes: file_CoopDataNotify_proto_depIdxs, + MessageInfos: file_CoopDataNotify_proto_msgTypes, + }.Build() + File_CoopDataNotify_proto = out.File + file_CoopDataNotify_proto_rawDesc = nil + file_CoopDataNotify_proto_goTypes = nil + file_CoopDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopDataNotify.proto b/gate-hk4e-api/proto/CoopDataNotify.proto new file mode 100644 index 00000000..6e5196ef --- /dev/null +++ b/gate-hk4e-api/proto/CoopDataNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CoopChapter.proto"; + +option go_package = "./;proto"; + +// CmdId: 1979 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopDataNotify { + repeated CoopChapter chapter_list = 15; + repeated uint32 viewed_chapter_list = 7; + bool is_have_progress = 10; + uint32 cur_coop_point = 5; +} diff --git a/gate-hk4e-api/proto/CoopPoint.pb.go b/gate-hk4e-api/proto/CoopPoint.pb.go new file mode 100644 index 00000000..e53f8eb2 --- /dev/null +++ b/gate-hk4e-api/proto/CoopPoint.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopPoint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CoopPoint_State int32 + +const ( + CoopPoint_STATE_UNSTARTED CoopPoint_State = 0 + CoopPoint_STATE_STARTED CoopPoint_State = 1 + CoopPoint_STATE_FINISHED CoopPoint_State = 2 +) + +// Enum value maps for CoopPoint_State. +var ( + CoopPoint_State_name = map[int32]string{ + 0: "STATE_UNSTARTED", + 1: "STATE_STARTED", + 2: "STATE_FINISHED", + } + CoopPoint_State_value = map[string]int32{ + "STATE_UNSTARTED": 0, + "STATE_STARTED": 1, + "STATE_FINISHED": 2, + } +) + +func (x CoopPoint_State) Enum() *CoopPoint_State { + p := new(CoopPoint_State) + *p = x + return p +} + +func (x CoopPoint_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CoopPoint_State) Descriptor() protoreflect.EnumDescriptor { + return file_CoopPoint_proto_enumTypes[0].Descriptor() +} + +func (CoopPoint_State) Type() protoreflect.EnumType { + return &file_CoopPoint_proto_enumTypes[0] +} + +func (x CoopPoint_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CoopPoint_State.Descriptor instead. +func (CoopPoint_State) EnumDescriptor() ([]byte, []int) { + return file_CoopPoint_proto_rawDescGZIP(), []int{0, 0} +} + +type CoopPoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelfConfidence uint32 `protobuf:"varint,15,opt,name=self_confidence,json=selfConfidence,proto3" json:"self_confidence,omitempty"` + State CoopPoint_State `protobuf:"varint,10,opt,name=state,proto3,enum=CoopPoint_State" json:"state,omitempty"` + Id uint32 `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *CoopPoint) Reset() { + *x = CoopPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopPoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopPoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopPoint) ProtoMessage() {} + +func (x *CoopPoint) ProtoReflect() protoreflect.Message { + mi := &file_CoopPoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopPoint.ProtoReflect.Descriptor instead. +func (*CoopPoint) Descriptor() ([]byte, []int) { + return file_CoopPoint_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopPoint) GetSelfConfidence() uint32 { + if x != nil { + return x.SelfConfidence + } + return 0 +} + +func (x *CoopPoint) GetState() CoopPoint_State { + if x != nil { + return x.State + } + return CoopPoint_STATE_UNSTARTED +} + +func (x *CoopPoint) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_CoopPoint_proto protoreflect.FileDescriptor + +var file_CoopPoint_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x66, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x43, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, + 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopPoint_proto_rawDescOnce sync.Once + file_CoopPoint_proto_rawDescData = file_CoopPoint_proto_rawDesc +) + +func file_CoopPoint_proto_rawDescGZIP() []byte { + file_CoopPoint_proto_rawDescOnce.Do(func() { + file_CoopPoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopPoint_proto_rawDescData) + }) + return file_CoopPoint_proto_rawDescData +} + +var file_CoopPoint_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CoopPoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopPoint_proto_goTypes = []interface{}{ + (CoopPoint_State)(0), // 0: CoopPoint.State + (*CoopPoint)(nil), // 1: CoopPoint +} +var file_CoopPoint_proto_depIdxs = []int32{ + 0, // 0: CoopPoint.state:type_name -> CoopPoint.State + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopPoint_proto_init() } +func file_CoopPoint_proto_init() { + if File_CoopPoint_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopPoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopPoint_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopPoint_proto_goTypes, + DependencyIndexes: file_CoopPoint_proto_depIdxs, + EnumInfos: file_CoopPoint_proto_enumTypes, + MessageInfos: file_CoopPoint_proto_msgTypes, + }.Build() + File_CoopPoint_proto = out.File + file_CoopPoint_proto_rawDesc = nil + file_CoopPoint_proto_goTypes = nil + file_CoopPoint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopPoint.proto b/gate-hk4e-api/proto/CoopPoint.proto new file mode 100644 index 00000000..2c5042c1 --- /dev/null +++ b/gate-hk4e-api/proto/CoopPoint.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CoopPoint { + uint32 self_confidence = 15; + State state = 10; + uint32 id = 14; + + enum State { + STATE_UNSTARTED = 0; + STATE_STARTED = 1; + STATE_FINISHED = 2; + } +} diff --git a/gate-hk4e-api/proto/CoopPointUpdateNotify.pb.go b/gate-hk4e-api/proto/CoopPointUpdateNotify.pb.go new file mode 100644 index 00000000..63cce131 --- /dev/null +++ b/gate-hk4e-api/proto/CoopPointUpdateNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopPointUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1991 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopPointUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CoopPoint *CoopPoint `protobuf:"bytes,13,opt,name=coop_point,json=coopPoint,proto3" json:"coop_point,omitempty"` +} + +func (x *CoopPointUpdateNotify) Reset() { + *x = CoopPointUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopPointUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopPointUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopPointUpdateNotify) ProtoMessage() {} + +func (x *CoopPointUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopPointUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopPointUpdateNotify.ProtoReflect.Descriptor instead. +func (*CoopPointUpdateNotify) Descriptor() ([]byte, []int) { + return file_CoopPointUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopPointUpdateNotify) GetCoopPoint() *CoopPoint { + if x != nil { + return x.CoopPoint + } + return nil +} + +var File_CoopPointUpdateNotify_proto protoreflect.FileDescriptor + +var file_CoopPointUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x43, + 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, + 0x0a, 0x15, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x70, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x6f, + 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopPointUpdateNotify_proto_rawDescOnce sync.Once + file_CoopPointUpdateNotify_proto_rawDescData = file_CoopPointUpdateNotify_proto_rawDesc +) + +func file_CoopPointUpdateNotify_proto_rawDescGZIP() []byte { + file_CoopPointUpdateNotify_proto_rawDescOnce.Do(func() { + file_CoopPointUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopPointUpdateNotify_proto_rawDescData) + }) + return file_CoopPointUpdateNotify_proto_rawDescData +} + +var file_CoopPointUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopPointUpdateNotify_proto_goTypes = []interface{}{ + (*CoopPointUpdateNotify)(nil), // 0: CoopPointUpdateNotify + (*CoopPoint)(nil), // 1: CoopPoint +} +var file_CoopPointUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: CoopPointUpdateNotify.coop_point:type_name -> CoopPoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopPointUpdateNotify_proto_init() } +func file_CoopPointUpdateNotify_proto_init() { + if File_CoopPointUpdateNotify_proto != nil { + return + } + file_CoopPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_CoopPointUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopPointUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopPointUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopPointUpdateNotify_proto_goTypes, + DependencyIndexes: file_CoopPointUpdateNotify_proto_depIdxs, + MessageInfos: file_CoopPointUpdateNotify_proto_msgTypes, + }.Build() + File_CoopPointUpdateNotify_proto = out.File + file_CoopPointUpdateNotify_proto_rawDesc = nil + file_CoopPointUpdateNotify_proto_goTypes = nil + file_CoopPointUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopPointUpdateNotify.proto b/gate-hk4e-api/proto/CoopPointUpdateNotify.proto new file mode 100644 index 00000000..2ca3f139 --- /dev/null +++ b/gate-hk4e-api/proto/CoopPointUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CoopPoint.proto"; + +option go_package = "./;proto"; + +// CmdId: 1991 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopPointUpdateNotify { + CoopPoint coop_point = 13; +} diff --git a/gate-hk4e-api/proto/CoopProgressUpdateNotify.pb.go b/gate-hk4e-api/proto/CoopProgressUpdateNotify.pb.go new file mode 100644 index 00000000..2d7820c8 --- /dev/null +++ b/gate-hk4e-api/proto/CoopProgressUpdateNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopProgressUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1998 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopProgressUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurCoopPoint uint32 `protobuf:"varint,11,opt,name=cur_coop_point,json=curCoopPoint,proto3" json:"cur_coop_point,omitempty"` + IsHaveProgress bool `protobuf:"varint,12,opt,name=is_have_progress,json=isHaveProgress,proto3" json:"is_have_progress,omitempty"` +} + +func (x *CoopProgressUpdateNotify) Reset() { + *x = CoopProgressUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopProgressUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopProgressUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopProgressUpdateNotify) ProtoMessage() {} + +func (x *CoopProgressUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopProgressUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopProgressUpdateNotify.ProtoReflect.Descriptor instead. +func (*CoopProgressUpdateNotify) Descriptor() ([]byte, []int) { + return file_CoopProgressUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopProgressUpdateNotify) GetCurCoopPoint() uint32 { + if x != nil { + return x.CurCoopPoint + } + return 0 +} + +func (x *CoopProgressUpdateNotify) GetIsHaveProgress() bool { + if x != nil { + return x.IsHaveProgress + } + return false +} + +var File_CoopProgressUpdateNotify_proto protoreflect.FileDescriptor + +var file_CoopProgressUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6a, 0x0a, 0x18, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, + 0x63, 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, + 0x48, 0x61, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopProgressUpdateNotify_proto_rawDescOnce sync.Once + file_CoopProgressUpdateNotify_proto_rawDescData = file_CoopProgressUpdateNotify_proto_rawDesc +) + +func file_CoopProgressUpdateNotify_proto_rawDescGZIP() []byte { + file_CoopProgressUpdateNotify_proto_rawDescOnce.Do(func() { + file_CoopProgressUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopProgressUpdateNotify_proto_rawDescData) + }) + return file_CoopProgressUpdateNotify_proto_rawDescData +} + +var file_CoopProgressUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopProgressUpdateNotify_proto_goTypes = []interface{}{ + (*CoopProgressUpdateNotify)(nil), // 0: CoopProgressUpdateNotify +} +var file_CoopProgressUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CoopProgressUpdateNotify_proto_init() } +func file_CoopProgressUpdateNotify_proto_init() { + if File_CoopProgressUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopProgressUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopProgressUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopProgressUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopProgressUpdateNotify_proto_goTypes, + DependencyIndexes: file_CoopProgressUpdateNotify_proto_depIdxs, + MessageInfos: file_CoopProgressUpdateNotify_proto_msgTypes, + }.Build() + File_CoopProgressUpdateNotify_proto = out.File + file_CoopProgressUpdateNotify_proto_rawDesc = nil + file_CoopProgressUpdateNotify_proto_goTypes = nil + file_CoopProgressUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopProgressUpdateNotify.proto b/gate-hk4e-api/proto/CoopProgressUpdateNotify.proto new file mode 100644 index 00000000..1a648850 --- /dev/null +++ b/gate-hk4e-api/proto/CoopProgressUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1998 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopProgressUpdateNotify { + uint32 cur_coop_point = 11; + bool is_have_progress = 12; +} diff --git a/gate-hk4e-api/proto/CoopReward.pb.go b/gate-hk4e-api/proto/CoopReward.pb.go new file mode 100644 index 00000000..5582be59 --- /dev/null +++ b/gate-hk4e-api/proto/CoopReward.pb.go @@ -0,0 +1,224 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopReward.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CoopReward_State int32 + +const ( + CoopReward_STATE_UNLOCK CoopReward_State = 0 + CoopReward_STATE_LOCK CoopReward_State = 1 + CoopReward_STATE_TAKEN CoopReward_State = 2 +) + +// Enum value maps for CoopReward_State. +var ( + CoopReward_State_name = map[int32]string{ + 0: "STATE_UNLOCK", + 1: "STATE_LOCK", + 2: "STATE_TAKEN", + } + CoopReward_State_value = map[string]int32{ + "STATE_UNLOCK": 0, + "STATE_LOCK": 1, + "STATE_TAKEN": 2, + } +) + +func (x CoopReward_State) Enum() *CoopReward_State { + p := new(CoopReward_State) + *p = x + return p +} + +func (x CoopReward_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CoopReward_State) Descriptor() protoreflect.EnumDescriptor { + return file_CoopReward_proto_enumTypes[0].Descriptor() +} + +func (CoopReward_State) Type() protoreflect.EnumType { + return &file_CoopReward_proto_enumTypes[0] +} + +func (x CoopReward_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CoopReward_State.Descriptor instead. +func (CoopReward_State) EnumDescriptor() ([]byte, []int) { + return file_CoopReward_proto_rawDescGZIP(), []int{0, 0} +} + +type CoopReward struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + State CoopReward_State `protobuf:"varint,6,opt,name=state,proto3,enum=CoopReward_State" json:"state,omitempty"` +} + +func (x *CoopReward) Reset() { + *x = CoopReward{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopReward_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopReward) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopReward) ProtoMessage() {} + +func (x *CoopReward) ProtoReflect() protoreflect.Message { + mi := &file_CoopReward_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopReward.ProtoReflect.Descriptor instead. +func (*CoopReward) Descriptor() ([]byte, []int) { + return file_CoopReward_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopReward) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *CoopReward) GetState() CoopReward_State { + if x != nil { + return x.State + } + return CoopReward_STATE_UNLOCK +} + +var File_CoopReward_proto protoreflect.FileDescriptor + +var file_CoopReward_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x11, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3a, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x4c, + 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, + 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x54, + 0x41, 0x4b, 0x45, 0x4e, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopReward_proto_rawDescOnce sync.Once + file_CoopReward_proto_rawDescData = file_CoopReward_proto_rawDesc +) + +func file_CoopReward_proto_rawDescGZIP() []byte { + file_CoopReward_proto_rawDescOnce.Do(func() { + file_CoopReward_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopReward_proto_rawDescData) + }) + return file_CoopReward_proto_rawDescData +} + +var file_CoopReward_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CoopReward_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopReward_proto_goTypes = []interface{}{ + (CoopReward_State)(0), // 0: CoopReward.State + (*CoopReward)(nil), // 1: CoopReward +} +var file_CoopReward_proto_depIdxs = []int32{ + 0, // 0: CoopReward.state:type_name -> CoopReward.State + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopReward_proto_init() } +func file_CoopReward_proto_init() { + if File_CoopReward_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CoopReward_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopReward); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopReward_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopReward_proto_goTypes, + DependencyIndexes: file_CoopReward_proto_depIdxs, + EnumInfos: file_CoopReward_proto_enumTypes, + MessageInfos: file_CoopReward_proto_msgTypes, + }.Build() + File_CoopReward_proto = out.File + file_CoopReward_proto_rawDesc = nil + file_CoopReward_proto_goTypes = nil + file_CoopReward_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopReward.proto b/gate-hk4e-api/proto/CoopReward.proto new file mode 100644 index 00000000..1d827722 --- /dev/null +++ b/gate-hk4e-api/proto/CoopReward.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CoopReward { + uint32 id = 5; + State state = 6; + + enum State { + STATE_UNLOCK = 0; + STATE_LOCK = 1; + STATE_TAKEN = 2; + } +} diff --git a/gate-hk4e-api/proto/CoopRewardUpdateNotify.pb.go b/gate-hk4e-api/proto/CoopRewardUpdateNotify.pb.go new file mode 100644 index 00000000..08c837ba --- /dev/null +++ b/gate-hk4e-api/proto/CoopRewardUpdateNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CoopRewardUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1999 +// EnetChannelId: 0 +// EnetIsReliable: true +type CoopRewardUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardList []*CoopReward `protobuf:"bytes,7,rep,name=reward_list,json=rewardList,proto3" json:"reward_list,omitempty"` +} + +func (x *CoopRewardUpdateNotify) Reset() { + *x = CoopRewardUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CoopRewardUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CoopRewardUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CoopRewardUpdateNotify) ProtoMessage() {} + +func (x *CoopRewardUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_CoopRewardUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CoopRewardUpdateNotify.ProtoReflect.Descriptor instead. +func (*CoopRewardUpdateNotify) Descriptor() ([]byte, []int) { + return file_CoopRewardUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CoopRewardUpdateNotify) GetRewardList() []*CoopReward { + if x != nil { + return x.RewardList + } + return nil +} + +var File_CoopRewardUpdateNotify_proto protoreflect.FileDescriptor + +var file_CoopRewardUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x46, 0x0a, 0x16, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x0b, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x0a, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CoopRewardUpdateNotify_proto_rawDescOnce sync.Once + file_CoopRewardUpdateNotify_proto_rawDescData = file_CoopRewardUpdateNotify_proto_rawDesc +) + +func file_CoopRewardUpdateNotify_proto_rawDescGZIP() []byte { + file_CoopRewardUpdateNotify_proto_rawDescOnce.Do(func() { + file_CoopRewardUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CoopRewardUpdateNotify_proto_rawDescData) + }) + return file_CoopRewardUpdateNotify_proto_rawDescData +} + +var file_CoopRewardUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CoopRewardUpdateNotify_proto_goTypes = []interface{}{ + (*CoopRewardUpdateNotify)(nil), // 0: CoopRewardUpdateNotify + (*CoopReward)(nil), // 1: CoopReward +} +var file_CoopRewardUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: CoopRewardUpdateNotify.reward_list:type_name -> CoopReward + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CoopRewardUpdateNotify_proto_init() } +func file_CoopRewardUpdateNotify_proto_init() { + if File_CoopRewardUpdateNotify_proto != nil { + return + } + file_CoopReward_proto_init() + if !protoimpl.UnsafeEnabled { + file_CoopRewardUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CoopRewardUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CoopRewardUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CoopRewardUpdateNotify_proto_goTypes, + DependencyIndexes: file_CoopRewardUpdateNotify_proto_depIdxs, + MessageInfos: file_CoopRewardUpdateNotify_proto_msgTypes, + }.Build() + File_CoopRewardUpdateNotify_proto = out.File + file_CoopRewardUpdateNotify_proto_rawDesc = nil + file_CoopRewardUpdateNotify_proto_goTypes = nil + file_CoopRewardUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CoopRewardUpdateNotify.proto b/gate-hk4e-api/proto/CoopRewardUpdateNotify.proto new file mode 100644 index 00000000..4d935256 --- /dev/null +++ b/gate-hk4e-api/proto/CoopRewardUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CoopReward.proto"; + +option go_package = "./;proto"; + +// CmdId: 1999 +// EnetChannelId: 0 +// EnetIsReliable: true +message CoopRewardUpdateNotify { + repeated CoopReward reward_list = 7; +} diff --git a/gate-hk4e-api/proto/CreateEntityInfo.pb.go b/gate-hk4e-api/proto/CreateEntityInfo.pb.go new file mode 100644 index 00000000..3e35aea3 --- /dev/null +++ b/gate-hk4e-api/proto/CreateEntityInfo.pb.go @@ -0,0 +1,332 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateEntityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CreateEntityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` + Pos *Vector `protobuf:"bytes,6,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,7,opt,name=rot,proto3" json:"rot,omitempty"` + SceneId uint32 `protobuf:"varint,10,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + RoomId uint32 `protobuf:"varint,11,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + ClientUniqueId uint32 `protobuf:"varint,12,opt,name=client_unique_id,json=clientUniqueId,proto3" json:"client_unique_id,omitempty"` + // Types that are assignable to Entity: + // *CreateEntityInfo_MonsterId + // *CreateEntityInfo_NpcId + // *CreateEntityInfo_GadgetId + // *CreateEntityInfo_ItemId + Entity isCreateEntityInfo_Entity `protobuf_oneof:"entity"` + // Types that are assignable to EntityCreateInfo: + // *CreateEntityInfo_Gadget + EntityCreateInfo isCreateEntityInfo_EntityCreateInfo `protobuf_oneof:"entity_create_info"` +} + +func (x *CreateEntityInfo) Reset() { + *x = CreateEntityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateEntityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateEntityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateEntityInfo) ProtoMessage() {} + +func (x *CreateEntityInfo) ProtoReflect() protoreflect.Message { + mi := &file_CreateEntityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateEntityInfo.ProtoReflect.Descriptor instead. +func (*CreateEntityInfo) Descriptor() ([]byte, []int) { + return file_CreateEntityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateEntityInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *CreateEntityInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *CreateEntityInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *CreateEntityInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *CreateEntityInfo) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *CreateEntityInfo) GetClientUniqueId() uint32 { + if x != nil { + return x.ClientUniqueId + } + return 0 +} + +func (m *CreateEntityInfo) GetEntity() isCreateEntityInfo_Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (x *CreateEntityInfo) GetMonsterId() uint32 { + if x, ok := x.GetEntity().(*CreateEntityInfo_MonsterId); ok { + return x.MonsterId + } + return 0 +} + +func (x *CreateEntityInfo) GetNpcId() uint32 { + if x, ok := x.GetEntity().(*CreateEntityInfo_NpcId); ok { + return x.NpcId + } + return 0 +} + +func (x *CreateEntityInfo) GetGadgetId() uint32 { + if x, ok := x.GetEntity().(*CreateEntityInfo_GadgetId); ok { + return x.GadgetId + } + return 0 +} + +func (x *CreateEntityInfo) GetItemId() uint32 { + if x, ok := x.GetEntity().(*CreateEntityInfo_ItemId); ok { + return x.ItemId + } + return 0 +} + +func (m *CreateEntityInfo) GetEntityCreateInfo() isCreateEntityInfo_EntityCreateInfo { + if m != nil { + return m.EntityCreateInfo + } + return nil +} + +func (x *CreateEntityInfo) GetGadget() *CreateGadgetInfo { + if x, ok := x.GetEntityCreateInfo().(*CreateEntityInfo_Gadget); ok { + return x.Gadget + } + return nil +} + +type isCreateEntityInfo_Entity interface { + isCreateEntityInfo_Entity() +} + +type CreateEntityInfo_MonsterId struct { + MonsterId uint32 `protobuf:"varint,1,opt,name=monster_id,json=monsterId,proto3,oneof"` +} + +type CreateEntityInfo_NpcId struct { + NpcId uint32 `protobuf:"varint,2,opt,name=npc_id,json=npcId,proto3,oneof"` +} + +type CreateEntityInfo_GadgetId struct { + GadgetId uint32 `protobuf:"varint,3,opt,name=gadget_id,json=gadgetId,proto3,oneof"` +} + +type CreateEntityInfo_ItemId struct { + ItemId uint32 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3,oneof"` +} + +func (*CreateEntityInfo_MonsterId) isCreateEntityInfo_Entity() {} + +func (*CreateEntityInfo_NpcId) isCreateEntityInfo_Entity() {} + +func (*CreateEntityInfo_GadgetId) isCreateEntityInfo_Entity() {} + +func (*CreateEntityInfo_ItemId) isCreateEntityInfo_Entity() {} + +type isCreateEntityInfo_EntityCreateInfo interface { + isCreateEntityInfo_EntityCreateInfo() +} + +type CreateEntityInfo_Gadget struct { + Gadget *CreateGadgetInfo `protobuf:"bytes,13,opt,name=gadget,proto3,oneof"` +} + +func (*CreateEntityInfo_Gadget) isCreateEntityInfo_EntityCreateInfo() {} + +var File_CreateEntityInfo_proto protoreflect.FileDescriptor + +var file_CreateEntityInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, + 0x02, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, + 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, + 0x6d, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x6e, + 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, + 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, + 0x64, 0x12, 0x2b, 0x0a, 0x06, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x01, 0x52, 0x06, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x42, 0x08, + 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x14, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_CreateEntityInfo_proto_rawDescOnce sync.Once + file_CreateEntityInfo_proto_rawDescData = file_CreateEntityInfo_proto_rawDesc +) + +func file_CreateEntityInfo_proto_rawDescGZIP() []byte { + file_CreateEntityInfo_proto_rawDescOnce.Do(func() { + file_CreateEntityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateEntityInfo_proto_rawDescData) + }) + return file_CreateEntityInfo_proto_rawDescData +} + +var file_CreateEntityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateEntityInfo_proto_goTypes = []interface{}{ + (*CreateEntityInfo)(nil), // 0: CreateEntityInfo + (*Vector)(nil), // 1: Vector + (*CreateGadgetInfo)(nil), // 2: CreateGadgetInfo +} +var file_CreateEntityInfo_proto_depIdxs = []int32{ + 1, // 0: CreateEntityInfo.pos:type_name -> Vector + 1, // 1: CreateEntityInfo.rot:type_name -> Vector + 2, // 2: CreateEntityInfo.gadget:type_name -> CreateGadgetInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_CreateEntityInfo_proto_init() } +func file_CreateEntityInfo_proto_init() { + if File_CreateEntityInfo_proto != nil { + return + } + file_CreateGadgetInfo_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_CreateEntityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateEntityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_CreateEntityInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*CreateEntityInfo_MonsterId)(nil), + (*CreateEntityInfo_NpcId)(nil), + (*CreateEntityInfo_GadgetId)(nil), + (*CreateEntityInfo_ItemId)(nil), + (*CreateEntityInfo_Gadget)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateEntityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateEntityInfo_proto_goTypes, + DependencyIndexes: file_CreateEntityInfo_proto_depIdxs, + MessageInfos: file_CreateEntityInfo_proto_msgTypes, + }.Build() + File_CreateEntityInfo_proto = out.File + file_CreateEntityInfo_proto_rawDesc = nil + file_CreateEntityInfo_proto_goTypes = nil + file_CreateEntityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateEntityInfo.proto b/gate-hk4e-api/proto/CreateEntityInfo.proto new file mode 100644 index 00000000..1382fe84 --- /dev/null +++ b/gate-hk4e-api/proto/CreateEntityInfo.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CreateGadgetInfo.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message CreateEntityInfo { + uint32 level = 5; + Vector pos = 6; + Vector rot = 7; + uint32 scene_id = 10; + uint32 room_id = 11; + uint32 client_unique_id = 12; + oneof entity { + uint32 monster_id = 1; + uint32 npc_id = 2; + uint32 gadget_id = 3; + uint32 item_id = 4; + } + oneof entity_create_info { + CreateGadgetInfo gadget = 13; + } +} diff --git a/gate-hk4e-api/proto/CreateGadgetInfo.pb.go b/gate-hk4e-api/proto/CreateGadgetInfo.pb.go new file mode 100644 index 00000000..4dda696c --- /dev/null +++ b/gate-hk4e-api/proto/CreateGadgetInfo.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CreateGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BornType GadgetBornType `protobuf:"varint,1,opt,name=born_type,json=bornType,proto3,enum=GadgetBornType" json:"born_type,omitempty"` + Chest *CreateGadgetInfo_Chest `protobuf:"bytes,2,opt,name=chest,proto3" json:"chest,omitempty"` +} + +func (x *CreateGadgetInfo) Reset() { + *x = CreateGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateGadgetInfo) ProtoMessage() {} + +func (x *CreateGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_CreateGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateGadgetInfo.ProtoReflect.Descriptor instead. +func (*CreateGadgetInfo) Descriptor() ([]byte, []int) { + return file_CreateGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateGadgetInfo) GetBornType() GadgetBornType { + if x != nil { + return x.BornType + } + return GadgetBornType_GADGET_BORN_TYPE_NONE +} + +func (x *CreateGadgetInfo) GetChest() *CreateGadgetInfo_Chest { + if x != nil { + return x.Chest + } + return nil +} + +type CreateGadgetInfo_Chest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChestDropId uint32 `protobuf:"varint,1,opt,name=chest_drop_id,json=chestDropId,proto3" json:"chest_drop_id,omitempty"` + IsShowCutscene bool `protobuf:"varint,2,opt,name=is_show_cutscene,json=isShowCutscene,proto3" json:"is_show_cutscene,omitempty"` +} + +func (x *CreateGadgetInfo_Chest) Reset() { + *x = CreateGadgetInfo_Chest{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateGadgetInfo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateGadgetInfo_Chest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateGadgetInfo_Chest) ProtoMessage() {} + +func (x *CreateGadgetInfo_Chest) ProtoReflect() protoreflect.Message { + mi := &file_CreateGadgetInfo_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateGadgetInfo_Chest.ProtoReflect.Descriptor instead. +func (*CreateGadgetInfo_Chest) Descriptor() ([]byte, []int) { + return file_CreateGadgetInfo_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *CreateGadgetInfo_Chest) GetChestDropId() uint32 { + if x != nil { + return x.ChestDropId + } + return 0 +} + +func (x *CreateGadgetInfo_Chest) GetIsShowCutscene() bool { + if x != nil { + return x.IsShowCutscene + } + return false +} + +var File_CreateGadgetInfo_proto protoreflect.FileDescriptor + +var file_CreateGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, + 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x42, + 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x63, 0x68, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x74, 0x52, 0x05, 0x63, 0x68, 0x65, 0x73, 0x74, + 0x1a, 0x55, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x68, 0x65, + 0x73, 0x74, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x68, 0x65, 0x73, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x28, 0x0a, + 0x10, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x63, 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, + 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CreateGadgetInfo_proto_rawDescOnce sync.Once + file_CreateGadgetInfo_proto_rawDescData = file_CreateGadgetInfo_proto_rawDesc +) + +func file_CreateGadgetInfo_proto_rawDescGZIP() []byte { + file_CreateGadgetInfo_proto_rawDescOnce.Do(func() { + file_CreateGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateGadgetInfo_proto_rawDescData) + }) + return file_CreateGadgetInfo_proto_rawDescData +} + +var file_CreateGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_CreateGadgetInfo_proto_goTypes = []interface{}{ + (*CreateGadgetInfo)(nil), // 0: CreateGadgetInfo + (*CreateGadgetInfo_Chest)(nil), // 1: CreateGadgetInfo.Chest + (GadgetBornType)(0), // 2: GadgetBornType +} +var file_CreateGadgetInfo_proto_depIdxs = []int32{ + 2, // 0: CreateGadgetInfo.born_type:type_name -> GadgetBornType + 1, // 1: CreateGadgetInfo.chest:type_name -> CreateGadgetInfo.Chest + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CreateGadgetInfo_proto_init() } +func file_CreateGadgetInfo_proto_init() { + if File_CreateGadgetInfo_proto != nil { + return + } + file_GadgetBornType_proto_init() + if !protoimpl.UnsafeEnabled { + file_CreateGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_CreateGadgetInfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateGadgetInfo_Chest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateGadgetInfo_proto_goTypes, + DependencyIndexes: file_CreateGadgetInfo_proto_depIdxs, + MessageInfos: file_CreateGadgetInfo_proto_msgTypes, + }.Build() + File_CreateGadgetInfo_proto = out.File + file_CreateGadgetInfo_proto_rawDesc = nil + file_CreateGadgetInfo_proto_goTypes = nil + file_CreateGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateGadgetInfo.proto b/gate-hk4e-api/proto/CreateGadgetInfo.proto new file mode 100644 index 00000000..d0fa9e4f --- /dev/null +++ b/gate-hk4e-api/proto/CreateGadgetInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GadgetBornType.proto"; + +option go_package = "./;proto"; + +message CreateGadgetInfo { + GadgetBornType born_type = 1; + Chest chest = 2; + + message Chest { + uint32 chest_drop_id = 1; + bool is_show_cutscene = 2; + } +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityNotify.pb.go b/gate-hk4e-api/proto/CreateMassiveEntityNotify.pb.go new file mode 100644 index 00000000..79ec84f3 --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateMassiveEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 367 +// EnetChannelId: 0 +// EnetIsReliable: true +type CreateMassiveEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MassiveEntityList []*ServerMassiveEntity `protobuf:"bytes,15,rep,name=massive_entity_list,json=massiveEntityList,proto3" json:"massive_entity_list,omitempty"` +} + +func (x *CreateMassiveEntityNotify) Reset() { + *x = CreateMassiveEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateMassiveEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateMassiveEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateMassiveEntityNotify) ProtoMessage() {} + +func (x *CreateMassiveEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_CreateMassiveEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateMassiveEntityNotify.ProtoReflect.Descriptor instead. +func (*CreateMassiveEntityNotify) Descriptor() ([]byte, []int) { + return file_CreateMassiveEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateMassiveEntityNotify) GetMassiveEntityList() []*ServerMassiveEntity { + if x != nil { + return x.MassiveEntityList + } + return nil +} + +var File_CreateMassiveEntityNotify_proto protoreflect.FileDescriptor + +var file_CreateMassiveEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x19, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x13, 0x6d, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, + 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x11, 0x6d, 0x61, + 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_CreateMassiveEntityNotify_proto_rawDescOnce sync.Once + file_CreateMassiveEntityNotify_proto_rawDescData = file_CreateMassiveEntityNotify_proto_rawDesc +) + +func file_CreateMassiveEntityNotify_proto_rawDescGZIP() []byte { + file_CreateMassiveEntityNotify_proto_rawDescOnce.Do(func() { + file_CreateMassiveEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateMassiveEntityNotify_proto_rawDescData) + }) + return file_CreateMassiveEntityNotify_proto_rawDescData +} + +var file_CreateMassiveEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateMassiveEntityNotify_proto_goTypes = []interface{}{ + (*CreateMassiveEntityNotify)(nil), // 0: CreateMassiveEntityNotify + (*ServerMassiveEntity)(nil), // 1: ServerMassiveEntity +} +var file_CreateMassiveEntityNotify_proto_depIdxs = []int32{ + 1, // 0: CreateMassiveEntityNotify.massive_entity_list:type_name -> ServerMassiveEntity + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CreateMassiveEntityNotify_proto_init() } +func file_CreateMassiveEntityNotify_proto_init() { + if File_CreateMassiveEntityNotify_proto != nil { + return + } + file_ServerMassiveEntity_proto_init() + if !protoimpl.UnsafeEnabled { + file_CreateMassiveEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateMassiveEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateMassiveEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateMassiveEntityNotify_proto_goTypes, + DependencyIndexes: file_CreateMassiveEntityNotify_proto_depIdxs, + MessageInfos: file_CreateMassiveEntityNotify_proto_msgTypes, + }.Build() + File_CreateMassiveEntityNotify_proto = out.File + file_CreateMassiveEntityNotify_proto_rawDesc = nil + file_CreateMassiveEntityNotify_proto_goTypes = nil + file_CreateMassiveEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityNotify.proto b/gate-hk4e-api/proto/CreateMassiveEntityNotify.proto new file mode 100644 index 00000000..e785e7dd --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ServerMassiveEntity.proto"; + +option go_package = "./;proto"; + +// CmdId: 367 +// EnetChannelId: 0 +// EnetIsReliable: true +message CreateMassiveEntityNotify { + repeated ServerMassiveEntity massive_entity_list = 15; +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityReq.pb.go b/gate-hk4e-api/proto/CreateMassiveEntityReq.pb.go new file mode 100644 index 00000000..a5a91a69 --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityReq.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateMassiveEntityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 342 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CreateMassiveEntityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MassiveEntityList []*ClientMassiveEntity `protobuf:"bytes,1,rep,name=massive_entity_list,json=massiveEntityList,proto3" json:"massive_entity_list,omitempty"` +} + +func (x *CreateMassiveEntityReq) Reset() { + *x = CreateMassiveEntityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateMassiveEntityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateMassiveEntityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateMassiveEntityReq) ProtoMessage() {} + +func (x *CreateMassiveEntityReq) ProtoReflect() protoreflect.Message { + mi := &file_CreateMassiveEntityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateMassiveEntityReq.ProtoReflect.Descriptor instead. +func (*CreateMassiveEntityReq) Descriptor() ([]byte, []int) { + return file_CreateMassiveEntityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateMassiveEntityReq) GetMassiveEntityList() []*ClientMassiveEntity { + if x != nil { + return x.MassiveEntityList + } + return nil +} + +var File_CreateMassiveEntityReq_proto protoreflect.FileDescriptor + +var file_CreateMassiveEntityReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x16, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x71, 0x12, 0x44, 0x0a, 0x13, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x11, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CreateMassiveEntityReq_proto_rawDescOnce sync.Once + file_CreateMassiveEntityReq_proto_rawDescData = file_CreateMassiveEntityReq_proto_rawDesc +) + +func file_CreateMassiveEntityReq_proto_rawDescGZIP() []byte { + file_CreateMassiveEntityReq_proto_rawDescOnce.Do(func() { + file_CreateMassiveEntityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateMassiveEntityReq_proto_rawDescData) + }) + return file_CreateMassiveEntityReq_proto_rawDescData +} + +var file_CreateMassiveEntityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateMassiveEntityReq_proto_goTypes = []interface{}{ + (*CreateMassiveEntityReq)(nil), // 0: CreateMassiveEntityReq + (*ClientMassiveEntity)(nil), // 1: ClientMassiveEntity +} +var file_CreateMassiveEntityReq_proto_depIdxs = []int32{ + 1, // 0: CreateMassiveEntityReq.massive_entity_list:type_name -> ClientMassiveEntity + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CreateMassiveEntityReq_proto_init() } +func file_CreateMassiveEntityReq_proto_init() { + if File_CreateMassiveEntityReq_proto != nil { + return + } + file_ClientMassiveEntity_proto_init() + if !protoimpl.UnsafeEnabled { + file_CreateMassiveEntityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateMassiveEntityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateMassiveEntityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateMassiveEntityReq_proto_goTypes, + DependencyIndexes: file_CreateMassiveEntityReq_proto_depIdxs, + MessageInfos: file_CreateMassiveEntityReq_proto_msgTypes, + }.Build() + File_CreateMassiveEntityReq_proto = out.File + file_CreateMassiveEntityReq_proto_rawDesc = nil + file_CreateMassiveEntityReq_proto_goTypes = nil + file_CreateMassiveEntityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityReq.proto b/gate-hk4e-api/proto/CreateMassiveEntityReq.proto new file mode 100644 index 00000000..4c212f34 --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ClientMassiveEntity.proto"; + +option go_package = "./;proto"; + +// CmdId: 342 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CreateMassiveEntityReq { + repeated ClientMassiveEntity massive_entity_list = 1; +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityRsp.pb.go b/gate-hk4e-api/proto/CreateMassiveEntityRsp.pb.go new file mode 100644 index 00000000..7ceb69ea --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateMassiveEntityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 330 +// EnetChannelId: 0 +// EnetIsReliable: true +type CreateMassiveEntityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *CreateMassiveEntityRsp) Reset() { + *x = CreateMassiveEntityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateMassiveEntityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateMassiveEntityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateMassiveEntityRsp) ProtoMessage() {} + +func (x *CreateMassiveEntityRsp) ProtoReflect() protoreflect.Message { + mi := &file_CreateMassiveEntityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateMassiveEntityRsp.ProtoReflect.Descriptor instead. +func (*CreateMassiveEntityRsp) Descriptor() ([]byte, []int) { + return file_CreateMassiveEntityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateMassiveEntityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_CreateMassiveEntityRsp_proto protoreflect.FileDescriptor + +var file_CreateMassiveEntityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CreateMassiveEntityRsp_proto_rawDescOnce sync.Once + file_CreateMassiveEntityRsp_proto_rawDescData = file_CreateMassiveEntityRsp_proto_rawDesc +) + +func file_CreateMassiveEntityRsp_proto_rawDescGZIP() []byte { + file_CreateMassiveEntityRsp_proto_rawDescOnce.Do(func() { + file_CreateMassiveEntityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateMassiveEntityRsp_proto_rawDescData) + }) + return file_CreateMassiveEntityRsp_proto_rawDescData +} + +var file_CreateMassiveEntityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateMassiveEntityRsp_proto_goTypes = []interface{}{ + (*CreateMassiveEntityRsp)(nil), // 0: CreateMassiveEntityRsp +} +var file_CreateMassiveEntityRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CreateMassiveEntityRsp_proto_init() } +func file_CreateMassiveEntityRsp_proto_init() { + if File_CreateMassiveEntityRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CreateMassiveEntityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateMassiveEntityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateMassiveEntityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateMassiveEntityRsp_proto_goTypes, + DependencyIndexes: file_CreateMassiveEntityRsp_proto_depIdxs, + MessageInfos: file_CreateMassiveEntityRsp_proto_msgTypes, + }.Build() + File_CreateMassiveEntityRsp_proto = out.File + file_CreateMassiveEntityRsp_proto_rawDesc = nil + file_CreateMassiveEntityRsp_proto_goTypes = nil + file_CreateMassiveEntityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateMassiveEntityRsp.proto b/gate-hk4e-api/proto/CreateMassiveEntityRsp.proto new file mode 100644 index 00000000..42e167f7 --- /dev/null +++ b/gate-hk4e-api/proto/CreateMassiveEntityRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 330 +// EnetChannelId: 0 +// EnetIsReliable: true +message CreateMassiveEntityRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/CreateReason.pb.go b/gate-hk4e-api/proto/CreateReason.pb.go new file mode 100644 index 00000000..0114c650 --- /dev/null +++ b/gate-hk4e-api/proto/CreateReason.pb.go @@ -0,0 +1,149 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CreateReason int32 + +const ( + CreateReason_CREATE_REASON_NONE CreateReason = 0 + CreateReason_CREATE_REASON_QUEST CreateReason = 1 + CreateReason_CREATE_REASON_ENERGY CreateReason = 2 +) + +// Enum value maps for CreateReason. +var ( + CreateReason_name = map[int32]string{ + 0: "CREATE_REASON_NONE", + 1: "CREATE_REASON_QUEST", + 2: "CREATE_REASON_ENERGY", + } + CreateReason_value = map[string]int32{ + "CREATE_REASON_NONE": 0, + "CREATE_REASON_QUEST": 1, + "CREATE_REASON_ENERGY": 2, + } +) + +func (x CreateReason) Enum() *CreateReason { + p := new(CreateReason) + *p = x + return p +} + +func (x CreateReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CreateReason) Descriptor() protoreflect.EnumDescriptor { + return file_CreateReason_proto_enumTypes[0].Descriptor() +} + +func (CreateReason) Type() protoreflect.EnumType { + return &file_CreateReason_proto_enumTypes[0] +} + +func (x CreateReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CreateReason.Descriptor instead. +func (CreateReason) EnumDescriptor() ([]byte, []int) { + return file_CreateReason_proto_rawDescGZIP(), []int{0} +} + +var File_CreateReason_proto protoreflect.FileDescriptor + +var file_CreateReason_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x59, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, + 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x51, 0x55, + 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x02, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_CreateReason_proto_rawDescOnce sync.Once + file_CreateReason_proto_rawDescData = file_CreateReason_proto_rawDesc +) + +func file_CreateReason_proto_rawDescGZIP() []byte { + file_CreateReason_proto_rawDescOnce.Do(func() { + file_CreateReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateReason_proto_rawDescData) + }) + return file_CreateReason_proto_rawDescData +} + +var file_CreateReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_CreateReason_proto_goTypes = []interface{}{ + (CreateReason)(0), // 0: CreateReason +} +var file_CreateReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CreateReason_proto_init() } +func file_CreateReason_proto_init() { + if File_CreateReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateReason_proto_goTypes, + DependencyIndexes: file_CreateReason_proto_depIdxs, + EnumInfos: file_CreateReason_proto_enumTypes, + }.Build() + File_CreateReason_proto = out.File + file_CreateReason_proto_rawDesc = nil + file_CreateReason_proto_goTypes = nil + file_CreateReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateReason.proto b/gate-hk4e-api/proto/CreateReason.proto new file mode 100644 index 00000000..716546ed --- /dev/null +++ b/gate-hk4e-api/proto/CreateReason.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum CreateReason { + CREATE_REASON_NONE = 0; + CREATE_REASON_QUEST = 1; + CREATE_REASON_ENERGY = 2; +} diff --git a/gate-hk4e-api/proto/CreateVehicleReq.pb.go b/gate-hk4e-api/proto/CreateVehicleReq.pb.go new file mode 100644 index 00000000..96050ea1 --- /dev/null +++ b/gate-hk4e-api/proto/CreateVehicleReq.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateVehicleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 893 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CreateVehicleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,11,opt,name=pos,proto3" json:"pos,omitempty"` + VehicleId uint32 `protobuf:"varint,2,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"` + ScenePointId uint32 `protobuf:"varint,7,opt,name=scene_point_id,json=scenePointId,proto3" json:"scene_point_id,omitempty"` + Rot *Vector `protobuf:"bytes,5,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *CreateVehicleReq) Reset() { + *x = CreateVehicleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateVehicleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateVehicleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateVehicleReq) ProtoMessage() {} + +func (x *CreateVehicleReq) ProtoReflect() protoreflect.Message { + mi := &file_CreateVehicleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateVehicleReq.ProtoReflect.Descriptor instead. +func (*CreateVehicleReq) Descriptor() ([]byte, []int) { + return file_CreateVehicleReq_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateVehicleReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *CreateVehicleReq) GetVehicleId() uint32 { + if x != nil { + return x.VehicleId + } + return 0 +} + +func (x *CreateVehicleReq) GetScenePointId() uint32 { + if x != nil { + return x.ScenePointId + } + return 0 +} + +func (x *CreateVehicleReq) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_CreateVehicleReq_proto protoreflect.FileDescriptor + +var file_CreateVehicleReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x65, 0x68, 0x69, + 0x63, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x72, + 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CreateVehicleReq_proto_rawDescOnce sync.Once + file_CreateVehicleReq_proto_rawDescData = file_CreateVehicleReq_proto_rawDesc +) + +func file_CreateVehicleReq_proto_rawDescGZIP() []byte { + file_CreateVehicleReq_proto_rawDescOnce.Do(func() { + file_CreateVehicleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateVehicleReq_proto_rawDescData) + }) + return file_CreateVehicleReq_proto_rawDescData +} + +var file_CreateVehicleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateVehicleReq_proto_goTypes = []interface{}{ + (*CreateVehicleReq)(nil), // 0: CreateVehicleReq + (*Vector)(nil), // 1: Vector +} +var file_CreateVehicleReq_proto_depIdxs = []int32{ + 1, // 0: CreateVehicleReq.pos:type_name -> Vector + 1, // 1: CreateVehicleReq.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CreateVehicleReq_proto_init() } +func file_CreateVehicleReq_proto_init() { + if File_CreateVehicleReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_CreateVehicleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateVehicleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateVehicleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateVehicleReq_proto_goTypes, + DependencyIndexes: file_CreateVehicleReq_proto_depIdxs, + MessageInfos: file_CreateVehicleReq_proto_msgTypes, + }.Build() + File_CreateVehicleReq_proto = out.File + file_CreateVehicleReq_proto_rawDesc = nil + file_CreateVehicleReq_proto_goTypes = nil + file_CreateVehicleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateVehicleReq.proto b/gate-hk4e-api/proto/CreateVehicleReq.proto new file mode 100644 index 00000000..63d8f88f --- /dev/null +++ b/gate-hk4e-api/proto/CreateVehicleReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 893 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CreateVehicleReq { + Vector pos = 11; + uint32 vehicle_id = 2; + uint32 scene_point_id = 7; + Vector rot = 5; +} diff --git a/gate-hk4e-api/proto/CreateVehicleRsp.pb.go b/gate-hk4e-api/proto/CreateVehicleRsp.pb.go new file mode 100644 index 00000000..f566da69 --- /dev/null +++ b/gate-hk4e-api/proto/CreateVehicleRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CreateVehicleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 827 +// EnetChannelId: 0 +// EnetIsReliable: true +type CreateVehicleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + VehicleId uint32 `protobuf:"varint,9,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *CreateVehicleRsp) Reset() { + *x = CreateVehicleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_CreateVehicleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateVehicleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateVehicleRsp) ProtoMessage() {} + +func (x *CreateVehicleRsp) ProtoReflect() protoreflect.Message { + mi := &file_CreateVehicleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateVehicleRsp.ProtoReflect.Descriptor instead. +func (*CreateVehicleRsp) Descriptor() ([]byte, []int) { + return file_CreateVehicleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateVehicleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *CreateVehicleRsp) GetVehicleId() uint32 { + if x != nil { + return x.VehicleId + } + return 0 +} + +func (x *CreateVehicleRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_CreateVehicleRsp_proto protoreflect.FileDescriptor + +var file_CreateVehicleRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x65, 0x68, 0x69, + 0x63, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CreateVehicleRsp_proto_rawDescOnce sync.Once + file_CreateVehicleRsp_proto_rawDescData = file_CreateVehicleRsp_proto_rawDesc +) + +func file_CreateVehicleRsp_proto_rawDescGZIP() []byte { + file_CreateVehicleRsp_proto_rawDescOnce.Do(func() { + file_CreateVehicleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_CreateVehicleRsp_proto_rawDescData) + }) + return file_CreateVehicleRsp_proto_rawDescData +} + +var file_CreateVehicleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CreateVehicleRsp_proto_goTypes = []interface{}{ + (*CreateVehicleRsp)(nil), // 0: CreateVehicleRsp +} +var file_CreateVehicleRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CreateVehicleRsp_proto_init() } +func file_CreateVehicleRsp_proto_init() { + if File_CreateVehicleRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CreateVehicleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateVehicleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CreateVehicleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CreateVehicleRsp_proto_goTypes, + DependencyIndexes: file_CreateVehicleRsp_proto_depIdxs, + MessageInfos: file_CreateVehicleRsp_proto_msgTypes, + }.Build() + File_CreateVehicleRsp_proto = out.File + file_CreateVehicleRsp_proto_rawDesc = nil + file_CreateVehicleRsp_proto_goTypes = nil + file_CreateVehicleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CreateVehicleRsp.proto b/gate-hk4e-api/proto/CreateVehicleRsp.proto new file mode 100644 index 00000000..1542b272 --- /dev/null +++ b/gate-hk4e-api/proto/CreateVehicleRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 827 +// EnetChannelId: 0 +// EnetIsReliable: true +message CreateVehicleRsp { + int32 retcode = 10; + uint32 vehicle_id = 9; + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/CrucibleActivityDetailInfo.pb.go b/gate-hk4e-api/proto/CrucibleActivityDetailInfo.pb.go new file mode 100644 index 00000000..1b137282 --- /dev/null +++ b/gate-hk4e-api/proto/CrucibleActivityDetailInfo.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CrucibleActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CrucibleActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostTime uint32 `protobuf:"varint,5,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` + BattleWorldLevel uint32 `protobuf:"varint,12,opt,name=battle_world_level,json=battleWorldLevel,proto3" json:"battle_world_level,omitempty"` + UidInfoList []*CrucibleBattleUidInfo `protobuf:"bytes,3,rep,name=uid_info_list,json=uidInfoList,proto3" json:"uid_info_list,omitempty"` + Pos *Vector `protobuf:"bytes,9,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *CrucibleActivityDetailInfo) Reset() { + *x = CrucibleActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CrucibleActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CrucibleActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CrucibleActivityDetailInfo) ProtoMessage() {} + +func (x *CrucibleActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_CrucibleActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CrucibleActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*CrucibleActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_CrucibleActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CrucibleActivityDetailInfo) GetCostTime() uint32 { + if x != nil { + return x.CostTime + } + return 0 +} + +func (x *CrucibleActivityDetailInfo) GetBattleWorldLevel() uint32 { + if x != nil { + return x.BattleWorldLevel + } + return 0 +} + +func (x *CrucibleActivityDetailInfo) GetUidInfoList() []*CrucibleBattleUidInfo { + if x != nil { + return x.UidInfoList + } + return nil +} + +func (x *CrucibleActivityDetailInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_CrucibleActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_CrucibleActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1b, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x55, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, + 0x0a, 0x1a, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x6f, 0x72, + 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3a, 0x0a, 0x0d, 0x75, 0x69, 0x64, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x55, + 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x75, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_CrucibleActivityDetailInfo_proto_rawDescOnce sync.Once + file_CrucibleActivityDetailInfo_proto_rawDescData = file_CrucibleActivityDetailInfo_proto_rawDesc +) + +func file_CrucibleActivityDetailInfo_proto_rawDescGZIP() []byte { + file_CrucibleActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_CrucibleActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CrucibleActivityDetailInfo_proto_rawDescData) + }) + return file_CrucibleActivityDetailInfo_proto_rawDescData +} + +var file_CrucibleActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CrucibleActivityDetailInfo_proto_goTypes = []interface{}{ + (*CrucibleActivityDetailInfo)(nil), // 0: CrucibleActivityDetailInfo + (*CrucibleBattleUidInfo)(nil), // 1: CrucibleBattleUidInfo + (*Vector)(nil), // 2: Vector +} +var file_CrucibleActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: CrucibleActivityDetailInfo.uid_info_list:type_name -> CrucibleBattleUidInfo + 2, // 1: CrucibleActivityDetailInfo.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CrucibleActivityDetailInfo_proto_init() } +func file_CrucibleActivityDetailInfo_proto_init() { + if File_CrucibleActivityDetailInfo_proto != nil { + return + } + file_CrucibleBattleUidInfo_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_CrucibleActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CrucibleActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CrucibleActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CrucibleActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_CrucibleActivityDetailInfo_proto_depIdxs, + MessageInfos: file_CrucibleActivityDetailInfo_proto_msgTypes, + }.Build() + File_CrucibleActivityDetailInfo_proto = out.File + file_CrucibleActivityDetailInfo_proto_rawDesc = nil + file_CrucibleActivityDetailInfo_proto_goTypes = nil + file_CrucibleActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CrucibleActivityDetailInfo.proto b/gate-hk4e-api/proto/CrucibleActivityDetailInfo.proto new file mode 100644 index 00000000..2b0e6745 --- /dev/null +++ b/gate-hk4e-api/proto/CrucibleActivityDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CrucibleBattleUidInfo.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message CrucibleActivityDetailInfo { + uint32 cost_time = 5; + uint32 battle_world_level = 12; + repeated CrucibleBattleUidInfo uid_info_list = 3; + Vector pos = 9; +} diff --git a/gate-hk4e-api/proto/CrucibleBattleUidInfo.pb.go b/gate-hk4e-api/proto/CrucibleBattleUidInfo.pb.go new file mode 100644 index 00000000..4e036e78 --- /dev/null +++ b/gate-hk4e-api/proto/CrucibleBattleUidInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CrucibleBattleUidInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CrucibleBattleUidInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,15,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` + OnlineId string `protobuf:"bytes,13,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + Icon uint32 `protobuf:"varint,11,opt,name=icon,proto3" json:"icon,omitempty"` +} + +func (x *CrucibleBattleUidInfo) Reset() { + *x = CrucibleBattleUidInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CrucibleBattleUidInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CrucibleBattleUidInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CrucibleBattleUidInfo) ProtoMessage() {} + +func (x *CrucibleBattleUidInfo) ProtoReflect() protoreflect.Message { + mi := &file_CrucibleBattleUidInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CrucibleBattleUidInfo.ProtoReflect.Descriptor instead. +func (*CrucibleBattleUidInfo) Descriptor() ([]byte, []int) { + return file_CrucibleBattleUidInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CrucibleBattleUidInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *CrucibleBattleUidInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *CrucibleBattleUidInfo) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *CrucibleBattleUidInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *CrucibleBattleUidInfo) GetIcon() uint32 { + if x != nil { + return x.Icon + } + return 0 +} + +var File_CrucibleBattleUidInfo_proto protoreflect.FileDescriptor + +var file_CrucibleBattleUidInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x55, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, + 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CrucibleBattleUidInfo_proto_rawDescOnce sync.Once + file_CrucibleBattleUidInfo_proto_rawDescData = file_CrucibleBattleUidInfo_proto_rawDesc +) + +func file_CrucibleBattleUidInfo_proto_rawDescGZIP() []byte { + file_CrucibleBattleUidInfo_proto_rawDescOnce.Do(func() { + file_CrucibleBattleUidInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CrucibleBattleUidInfo_proto_rawDescData) + }) + return file_CrucibleBattleUidInfo_proto_rawDescData +} + +var file_CrucibleBattleUidInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CrucibleBattleUidInfo_proto_goTypes = []interface{}{ + (*CrucibleBattleUidInfo)(nil), // 0: CrucibleBattleUidInfo + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_CrucibleBattleUidInfo_proto_depIdxs = []int32{ + 1, // 0: CrucibleBattleUidInfo.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CrucibleBattleUidInfo_proto_init() } +func file_CrucibleBattleUidInfo_proto_init() { + if File_CrucibleBattleUidInfo_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_CrucibleBattleUidInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CrucibleBattleUidInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CrucibleBattleUidInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CrucibleBattleUidInfo_proto_goTypes, + DependencyIndexes: file_CrucibleBattleUidInfo_proto_depIdxs, + MessageInfos: file_CrucibleBattleUidInfo_proto_msgTypes, + }.Build() + File_CrucibleBattleUidInfo_proto = out.File + file_CrucibleBattleUidInfo_proto_rawDesc = nil + file_CrucibleBattleUidInfo_proto_goTypes = nil + file_CrucibleBattleUidInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CrucibleBattleUidInfo.proto b/gate-hk4e-api/proto/CrucibleBattleUidInfo.proto new file mode 100644 index 00000000..40aa64fd --- /dev/null +++ b/gate-hk4e-api/proto/CrucibleBattleUidInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message CrucibleBattleUidInfo { + ProfilePicture profile_picture = 15; + uint32 uid = 4; + string nickname = 5; + string online_id = 13; + uint32 icon = 11; +} diff --git a/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.pb.go b/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.pb.go new file mode 100644 index 00000000..10f0dc94 --- /dev/null +++ b/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CrystalLinkActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CrystalLinkActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FIKHCFMEOAJ []*Unk2700_IOLMLCCBAKP `protobuf:"bytes,3,rep,name=Unk2700_FIKHCFMEOAJ,json=Unk2700FIKHCFMEOAJ,proto3" json:"Unk2700_FIKHCFMEOAJ,omitempty"` + DifficultyId uint32 `protobuf:"varint,7,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *CrystalLinkActivityDetailInfo) Reset() { + *x = CrystalLinkActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CrystalLinkActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CrystalLinkActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CrystalLinkActivityDetailInfo) ProtoMessage() {} + +func (x *CrystalLinkActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_CrystalLinkActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CrystalLinkActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*CrystalLinkActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_CrystalLinkActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CrystalLinkActivityDetailInfo) GetUnk2700_FIKHCFMEOAJ() []*Unk2700_IOLMLCCBAKP { + if x != nil { + return x.Unk2700_FIKHCFMEOAJ + } + return nil +} + +func (x *CrystalLinkActivityDetailInfo) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_CrystalLinkActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_CrystalLinkActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x4f, 0x4c, 0x4d, 0x4c, 0x43, 0x43, 0x42, 0x41, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8b, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x49, + 0x4b, 0x48, 0x43, 0x46, 0x4d, 0x45, 0x4f, 0x41, 0x4a, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4c, 0x4d, 0x4c, 0x43, + 0x43, 0x42, 0x41, 0x4b, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x49, + 0x4b, 0x48, 0x43, 0x46, 0x4d, 0x45, 0x4f, 0x41, 0x4a, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_CrystalLinkActivityDetailInfo_proto_rawDescOnce sync.Once + file_CrystalLinkActivityDetailInfo_proto_rawDescData = file_CrystalLinkActivityDetailInfo_proto_rawDesc +) + +func file_CrystalLinkActivityDetailInfo_proto_rawDescGZIP() []byte { + file_CrystalLinkActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_CrystalLinkActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CrystalLinkActivityDetailInfo_proto_rawDescData) + }) + return file_CrystalLinkActivityDetailInfo_proto_rawDescData +} + +var file_CrystalLinkActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CrystalLinkActivityDetailInfo_proto_goTypes = []interface{}{ + (*CrystalLinkActivityDetailInfo)(nil), // 0: CrystalLinkActivityDetailInfo + (*Unk2700_IOLMLCCBAKP)(nil), // 1: Unk2700_IOLMLCCBAKP +} +var file_CrystalLinkActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: CrystalLinkActivityDetailInfo.Unk2700_FIKHCFMEOAJ:type_name -> Unk2700_IOLMLCCBAKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CrystalLinkActivityDetailInfo_proto_init() } +func file_CrystalLinkActivityDetailInfo_proto_init() { + if File_CrystalLinkActivityDetailInfo_proto != nil { + return + } + file_Unk2700_IOLMLCCBAKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_CrystalLinkActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CrystalLinkActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CrystalLinkActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CrystalLinkActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_CrystalLinkActivityDetailInfo_proto_depIdxs, + MessageInfos: file_CrystalLinkActivityDetailInfo_proto_msgTypes, + }.Build() + File_CrystalLinkActivityDetailInfo_proto = out.File + file_CrystalLinkActivityDetailInfo_proto_rawDesc = nil + file_CrystalLinkActivityDetailInfo_proto_goTypes = nil + file_CrystalLinkActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.proto b/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.proto new file mode 100644 index 00000000..54dade7c --- /dev/null +++ b/gate-hk4e-api/proto/CrystalLinkActivityDetailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IOLMLCCBAKP.proto"; + +option go_package = "./;proto"; + +message CrystalLinkActivityDetailInfo { + repeated Unk2700_IOLMLCCBAKP Unk2700_FIKHCFMEOAJ = 3; + uint32 difficulty_id = 7; +} diff --git a/gate-hk4e-api/proto/CrystalLinkSettleInfo.pb.go b/gate-hk4e-api/proto/CrystalLinkSettleInfo.pb.go new file mode 100644 index 00000000..97b61cf6 --- /dev/null +++ b/gate-hk4e-api/proto/CrystalLinkSettleInfo.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CrystalLinkSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CrystalLinkSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KillEliteMonsterNum uint32 `protobuf:"varint,2,opt,name=kill_elite_monster_num,json=killEliteMonsterNum,proto3" json:"kill_elite_monster_num,omitempty"` + FinalScore uint32 `protobuf:"varint,6,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + LevelId uint32 `protobuf:"varint,12,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + IsNewRecord bool `protobuf:"varint,13,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + DifficultyId uint32 `protobuf:"varint,9,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + KillNormalMosnterNum uint32 `protobuf:"varint,3,opt,name=kill_normal_mosnter_num,json=killNormalMosnterNum,proto3" json:"kill_normal_mosnter_num,omitempty"` +} + +func (x *CrystalLinkSettleInfo) Reset() { + *x = CrystalLinkSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CrystalLinkSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CrystalLinkSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CrystalLinkSettleInfo) ProtoMessage() {} + +func (x *CrystalLinkSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_CrystalLinkSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CrystalLinkSettleInfo.ProtoReflect.Descriptor instead. +func (*CrystalLinkSettleInfo) Descriptor() ([]byte, []int) { + return file_CrystalLinkSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CrystalLinkSettleInfo) GetKillEliteMonsterNum() uint32 { + if x != nil { + return x.KillEliteMonsterNum + } + return 0 +} + +func (x *CrystalLinkSettleInfo) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *CrystalLinkSettleInfo) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *CrystalLinkSettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *CrystalLinkSettleInfo) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *CrystalLinkSettleInfo) GetKillNormalMosnterNum() uint32 { + if x != nil { + return x.KillNormalMosnterNum + } + return 0 +} + +var File_CrystalLinkSettleInfo_proto protoreflect.FileDescriptor + +var file_CrystalLinkSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x02, + 0x0a, 0x15, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x16, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, + 0x65, 0x6c, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6c, 0x69, + 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, + 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, + 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x35, 0x0a, 0x17, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x5f, 0x6d, 0x6f, 0x73, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x14, 0x6b, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4d, 0x6f, + 0x73, 0x6e, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CrystalLinkSettleInfo_proto_rawDescOnce sync.Once + file_CrystalLinkSettleInfo_proto_rawDescData = file_CrystalLinkSettleInfo_proto_rawDesc +) + +func file_CrystalLinkSettleInfo_proto_rawDescGZIP() []byte { + file_CrystalLinkSettleInfo_proto_rawDescOnce.Do(func() { + file_CrystalLinkSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CrystalLinkSettleInfo_proto_rawDescData) + }) + return file_CrystalLinkSettleInfo_proto_rawDescData +} + +var file_CrystalLinkSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CrystalLinkSettleInfo_proto_goTypes = []interface{}{ + (*CrystalLinkSettleInfo)(nil), // 0: CrystalLinkSettleInfo +} +var file_CrystalLinkSettleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CrystalLinkSettleInfo_proto_init() } +func file_CrystalLinkSettleInfo_proto_init() { + if File_CrystalLinkSettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CrystalLinkSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CrystalLinkSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CrystalLinkSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CrystalLinkSettleInfo_proto_goTypes, + DependencyIndexes: file_CrystalLinkSettleInfo_proto_depIdxs, + MessageInfos: file_CrystalLinkSettleInfo_proto_msgTypes, + }.Build() + File_CrystalLinkSettleInfo_proto = out.File + file_CrystalLinkSettleInfo_proto_rawDesc = nil + file_CrystalLinkSettleInfo_proto_goTypes = nil + file_CrystalLinkSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CrystalLinkSettleInfo.proto b/gate-hk4e-api/proto/CrystalLinkSettleInfo.proto new file mode 100644 index 00000000..02773fe2 --- /dev/null +++ b/gate-hk4e-api/proto/CrystalLinkSettleInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CrystalLinkSettleInfo { + uint32 kill_elite_monster_num = 2; + uint32 final_score = 6; + uint32 level_id = 12; + bool is_new_record = 13; + uint32 difficulty_id = 9; + uint32 kill_normal_mosnter_num = 3; +} diff --git a/gate-hk4e-api/proto/CurVehicleInfo.pb.go b/gate-hk4e-api/proto/CurVehicleInfo.pb.go new file mode 100644 index 00000000..1e915688 --- /dev/null +++ b/gate-hk4e-api/proto/CurVehicleInfo.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CurVehicleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CurVehicleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Pos uint32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *CurVehicleInfo) Reset() { + *x = CurVehicleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CurVehicleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CurVehicleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CurVehicleInfo) ProtoMessage() {} + +func (x *CurVehicleInfo) ProtoReflect() protoreflect.Message { + mi := &file_CurVehicleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CurVehicleInfo.ProtoReflect.Descriptor instead. +func (*CurVehicleInfo) Descriptor() ([]byte, []int) { + return file_CurVehicleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CurVehicleInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *CurVehicleInfo) GetPos() uint32 { + if x != nil { + return x.Pos + } + return 0 +} + +var File_CurVehicleInfo_proto protoreflect.FileDescriptor + +var file_CurVehicleInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x43, 0x75, 0x72, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x0e, 0x43, 0x75, 0x72, 0x56, 0x65, 0x68, + 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CurVehicleInfo_proto_rawDescOnce sync.Once + file_CurVehicleInfo_proto_rawDescData = file_CurVehicleInfo_proto_rawDesc +) + +func file_CurVehicleInfo_proto_rawDescGZIP() []byte { + file_CurVehicleInfo_proto_rawDescOnce.Do(func() { + file_CurVehicleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CurVehicleInfo_proto_rawDescData) + }) + return file_CurVehicleInfo_proto_rawDescData +} + +var file_CurVehicleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CurVehicleInfo_proto_goTypes = []interface{}{ + (*CurVehicleInfo)(nil), // 0: CurVehicleInfo +} +var file_CurVehicleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CurVehicleInfo_proto_init() } +func file_CurVehicleInfo_proto_init() { + if File_CurVehicleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CurVehicleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CurVehicleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CurVehicleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CurVehicleInfo_proto_goTypes, + DependencyIndexes: file_CurVehicleInfo_proto_depIdxs, + MessageInfos: file_CurVehicleInfo_proto_msgTypes, + }.Build() + File_CurVehicleInfo_proto = out.File + file_CurVehicleInfo_proto_rawDesc = nil + file_CurVehicleInfo_proto_goTypes = nil + file_CurVehicleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CurVehicleInfo.proto b/gate-hk4e-api/proto/CurVehicleInfo.proto new file mode 100644 index 00000000..cc534a16 --- /dev/null +++ b/gate-hk4e-api/proto/CurVehicleInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CurVehicleInfo { + uint32 entity_id = 1; + uint32 pos = 2; +} diff --git a/gate-hk4e-api/proto/CustomCommonNodeInfo.pb.go b/gate-hk4e-api/proto/CustomCommonNodeInfo.pb.go new file mode 100644 index 00000000..a380b9b7 --- /dev/null +++ b/gate-hk4e-api/proto/CustomCommonNodeInfo.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CustomCommonNodeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CustomCommonNodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentIndex int32 `protobuf:"varint,1,opt,name=parent_index,json=parentIndex,proto3" json:"parent_index,omitempty"` + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + SlotIdentifier string `protobuf:"bytes,3,opt,name=slot_identifier,json=slotIdentifier,proto3" json:"slot_identifier,omitempty"` +} + +func (x *CustomCommonNodeInfo) Reset() { + *x = CustomCommonNodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CustomCommonNodeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomCommonNodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomCommonNodeInfo) ProtoMessage() {} + +func (x *CustomCommonNodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_CustomCommonNodeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomCommonNodeInfo.ProtoReflect.Descriptor instead. +func (*CustomCommonNodeInfo) Descriptor() ([]byte, []int) { + return file_CustomCommonNodeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CustomCommonNodeInfo) GetParentIndex() int32 { + if x != nil { + return x.ParentIndex + } + return 0 +} + +func (x *CustomCommonNodeInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *CustomCommonNodeInfo) GetSlotIdentifier() string { + if x != nil { + return x.SlotIdentifier + } + return "" +} + +var File_CustomCommonNodeInfo_proto protoreflect.FileDescriptor + +var file_CustomCommonNodeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x14, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, + 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_CustomCommonNodeInfo_proto_rawDescOnce sync.Once + file_CustomCommonNodeInfo_proto_rawDescData = file_CustomCommonNodeInfo_proto_rawDesc +) + +func file_CustomCommonNodeInfo_proto_rawDescGZIP() []byte { + file_CustomCommonNodeInfo_proto_rawDescOnce.Do(func() { + file_CustomCommonNodeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CustomCommonNodeInfo_proto_rawDescData) + }) + return file_CustomCommonNodeInfo_proto_rawDescData +} + +var file_CustomCommonNodeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CustomCommonNodeInfo_proto_goTypes = []interface{}{ + (*CustomCommonNodeInfo)(nil), // 0: CustomCommonNodeInfo +} +var file_CustomCommonNodeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CustomCommonNodeInfo_proto_init() } +func file_CustomCommonNodeInfo_proto_init() { + if File_CustomCommonNodeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CustomCommonNodeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomCommonNodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CustomCommonNodeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CustomCommonNodeInfo_proto_goTypes, + DependencyIndexes: file_CustomCommonNodeInfo_proto_depIdxs, + MessageInfos: file_CustomCommonNodeInfo_proto_msgTypes, + }.Build() + File_CustomCommonNodeInfo_proto = out.File + file_CustomCommonNodeInfo_proto_rawDesc = nil + file_CustomCommonNodeInfo_proto_goTypes = nil + file_CustomCommonNodeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CustomCommonNodeInfo.proto b/gate-hk4e-api/proto/CustomCommonNodeInfo.proto new file mode 100644 index 00000000..b0382be3 --- /dev/null +++ b/gate-hk4e-api/proto/CustomCommonNodeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CustomCommonNodeInfo { + int32 parent_index = 1; + uint32 config_id = 2; + string slot_identifier = 3; +} diff --git a/gate-hk4e-api/proto/CustomDungeonResultInfo.pb.go b/gate-hk4e-api/proto/CustomDungeonResultInfo.pb.go new file mode 100644 index 00000000..3e59fb9c --- /dev/null +++ b/gate-hk4e-api/proto/CustomDungeonResultInfo.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CustomDungeonResultInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CustomDungeonResultInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BONNHGKDLFO bool `protobuf:"varint,12,opt,name=Unk2700_BONNHGKDLFO,json=Unk2700BONNHGKDLFO,proto3" json:"Unk2700_BONNHGKDLFO,omitempty"` + Unk2700_FBBEJKCDMEI uint32 `protobuf:"varint,9,opt,name=Unk2700_FBBEJKCDMEI,json=Unk2700FBBEJKCDMEI,proto3" json:"Unk2700_FBBEJKCDMEI,omitempty"` + ChildChallengeList []*Unk2700_FDEGJOCDDGH `protobuf:"bytes,6,rep,name=child_challenge_list,json=childChallengeList,proto3" json:"child_challenge_list,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,3,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + Unk2700_ONCDLPDHFAB Unk2700_OCOKILBJIPJ `protobuf:"varint,7,opt,name=Unk2700_ONCDLPDHFAB,json=Unk2700ONCDLPDHFAB,proto3,enum=Unk2700_OCOKILBJIPJ" json:"Unk2700_ONCDLPDHFAB,omitempty"` + TimeCost uint32 `protobuf:"varint,11,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"` + Unk2700_IBDCFAMBGOK bool `protobuf:"varint,2,opt,name=Unk2700_IBDCFAMBGOK,json=Unk2700IBDCFAMBGOK,proto3" json:"Unk2700_IBDCFAMBGOK,omitempty"` + Unk2700_HBFLKFOCKBF bool `protobuf:"varint,14,opt,name=Unk2700_HBFLKFOCKBF,json=Unk2700HBFLKFOCKBF,proto3" json:"Unk2700_HBFLKFOCKBF,omitempty"` +} + +func (x *CustomDungeonResultInfo) Reset() { + *x = CustomDungeonResultInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CustomDungeonResultInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomDungeonResultInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomDungeonResultInfo) ProtoMessage() {} + +func (x *CustomDungeonResultInfo) ProtoReflect() protoreflect.Message { + mi := &file_CustomDungeonResultInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomDungeonResultInfo.ProtoReflect.Descriptor instead. +func (*CustomDungeonResultInfo) Descriptor() ([]byte, []int) { + return file_CustomDungeonResultInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CustomDungeonResultInfo) GetUnk2700_BONNHGKDLFO() bool { + if x != nil { + return x.Unk2700_BONNHGKDLFO + } + return false +} + +func (x *CustomDungeonResultInfo) GetUnk2700_FBBEJKCDMEI() uint32 { + if x != nil { + return x.Unk2700_FBBEJKCDMEI + } + return 0 +} + +func (x *CustomDungeonResultInfo) GetChildChallengeList() []*Unk2700_FDEGJOCDDGH { + if x != nil { + return x.ChildChallengeList + } + return nil +} + +func (x *CustomDungeonResultInfo) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *CustomDungeonResultInfo) GetUnk2700_ONCDLPDHFAB() Unk2700_OCOKILBJIPJ { + if x != nil { + return x.Unk2700_ONCDLPDHFAB + } + return Unk2700_OCOKILBJIPJ_Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH +} + +func (x *CustomDungeonResultInfo) GetTimeCost() uint32 { + if x != nil { + return x.TimeCost + } + return 0 +} + +func (x *CustomDungeonResultInfo) GetUnk2700_IBDCFAMBGOK() bool { + if x != nil { + return x.Unk2700_IBDCFAMBGOK + } + return false +} + +func (x *CustomDungeonResultInfo) GetUnk2700_HBFLKFOCKBF() bool { + if x != nil { + return x.Unk2700_HBFLKFOCKBF + } + return false +} + +var File_CustomDungeonResultInfo_proto protoreflect.FileDescriptor + +var file_CustomDungeonResultInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x45, 0x47, 0x4a, 0x4f, 0x43, + 0x44, 0x44, 0x47, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, 0x4a, 0x49, 0x50, 0x4a, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x03, 0x0a, 0x17, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x4e, + 0x4e, 0x48, 0x47, 0x4b, 0x44, 0x4c, 0x46, 0x4f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4f, 0x4e, 0x4e, 0x48, 0x47, 0x4b, 0x44, 0x4c, + 0x46, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x42, + 0x42, 0x45, 0x4a, 0x4b, 0x43, 0x44, 0x4d, 0x45, 0x49, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x42, 0x42, 0x45, 0x4a, 0x4b, 0x43, 0x44, + 0x4d, 0x45, 0x49, 0x12, 0x46, 0x0a, 0x14, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x45, 0x47, + 0x4a, 0x4f, 0x43, 0x44, 0x44, 0x47, 0x48, 0x52, 0x12, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, + 0x4f, 0x45, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, 0x44, 0x4c, 0x50, 0x44, 0x48, + 0x46, 0x41, 0x42, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, 0x4a, 0x49, 0x50, 0x4a, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x43, 0x44, 0x4c, 0x50, 0x44, 0x48, + 0x46, 0x41, 0x42, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x73, 0x74, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x73, 0x74, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x44, 0x43, + 0x46, 0x41, 0x4d, 0x42, 0x47, 0x4f, 0x4b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x42, 0x44, 0x43, 0x46, 0x41, 0x4d, 0x42, 0x47, 0x4f, + 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x42, 0x46, + 0x4c, 0x4b, 0x46, 0x4f, 0x43, 0x4b, 0x42, 0x46, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x42, 0x46, 0x4c, 0x4b, 0x46, 0x4f, 0x43, 0x4b, + 0x42, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CustomDungeonResultInfo_proto_rawDescOnce sync.Once + file_CustomDungeonResultInfo_proto_rawDescData = file_CustomDungeonResultInfo_proto_rawDesc +) + +func file_CustomDungeonResultInfo_proto_rawDescGZIP() []byte { + file_CustomDungeonResultInfo_proto_rawDescOnce.Do(func() { + file_CustomDungeonResultInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CustomDungeonResultInfo_proto_rawDescData) + }) + return file_CustomDungeonResultInfo_proto_rawDescData +} + +var file_CustomDungeonResultInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CustomDungeonResultInfo_proto_goTypes = []interface{}{ + (*CustomDungeonResultInfo)(nil), // 0: CustomDungeonResultInfo + (*Unk2700_FDEGJOCDDGH)(nil), // 1: Unk2700_FDEGJOCDDGH + (Unk2700_OCOKILBJIPJ)(0), // 2: Unk2700_OCOKILBJIPJ +} +var file_CustomDungeonResultInfo_proto_depIdxs = []int32{ + 1, // 0: CustomDungeonResultInfo.child_challenge_list:type_name -> Unk2700_FDEGJOCDDGH + 2, // 1: CustomDungeonResultInfo.Unk2700_ONCDLPDHFAB:type_name -> Unk2700_OCOKILBJIPJ + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_CustomDungeonResultInfo_proto_init() } +func file_CustomDungeonResultInfo_proto_init() { + if File_CustomDungeonResultInfo_proto != nil { + return + } + file_Unk2700_FDEGJOCDDGH_proto_init() + file_Unk2700_OCOKILBJIPJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_CustomDungeonResultInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomDungeonResultInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CustomDungeonResultInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CustomDungeonResultInfo_proto_goTypes, + DependencyIndexes: file_CustomDungeonResultInfo_proto_depIdxs, + MessageInfos: file_CustomDungeonResultInfo_proto_msgTypes, + }.Build() + File_CustomDungeonResultInfo_proto = out.File + file_CustomDungeonResultInfo_proto_rawDesc = nil + file_CustomDungeonResultInfo_proto_goTypes = nil + file_CustomDungeonResultInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CustomDungeonResultInfo.proto b/gate-hk4e-api/proto/CustomDungeonResultInfo.proto new file mode 100644 index 00000000..8eb0cf67 --- /dev/null +++ b/gate-hk4e-api/proto/CustomDungeonResultInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_FDEGJOCDDGH.proto"; +import "Unk2700_OCOKILBJIPJ.proto"; + +option go_package = "./;proto"; + +message CustomDungeonResultInfo { + bool Unk2700_BONNHGKDLFO = 12; + uint32 Unk2700_FBBEJKCDMEI = 9; + repeated Unk2700_FDEGJOCDDGH child_challenge_list = 6; + uint64 Unk2700_ONOOJBEABOE = 3; + Unk2700_OCOKILBJIPJ Unk2700_ONCDLPDHFAB = 7; + uint32 time_cost = 11; + bool Unk2700_IBDCFAMBGOK = 2; + bool Unk2700_HBFLKFOCKBF = 14; +} diff --git a/gate-hk4e-api/proto/CustomGadgetTreeInfo.pb.go b/gate-hk4e-api/proto/CustomGadgetTreeInfo.pb.go new file mode 100644 index 00000000..4b3b1745 --- /dev/null +++ b/gate-hk4e-api/proto/CustomGadgetTreeInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CustomGadgetTreeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CustomGadgetTreeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NodeList []*CustomCommonNodeInfo `protobuf:"bytes,1,rep,name=node_list,json=nodeList,proto3" json:"node_list,omitempty"` +} + +func (x *CustomGadgetTreeInfo) Reset() { + *x = CustomGadgetTreeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_CustomGadgetTreeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomGadgetTreeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomGadgetTreeInfo) ProtoMessage() {} + +func (x *CustomGadgetTreeInfo) ProtoReflect() protoreflect.Message { + mi := &file_CustomGadgetTreeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomGadgetTreeInfo.ProtoReflect.Descriptor instead. +func (*CustomGadgetTreeInfo) Descriptor() ([]byte, []int) { + return file_CustomGadgetTreeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *CustomGadgetTreeInfo) GetNodeList() []*CustomCommonNodeInfo { + if x != nil { + return x.NodeList + } + return nil +} + +var File_CustomGadgetTreeInfo_proto protoreflect.FileDescriptor + +var file_CustomGadgetTreeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, + 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x14, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x32, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CustomGadgetTreeInfo_proto_rawDescOnce sync.Once + file_CustomGadgetTreeInfo_proto_rawDescData = file_CustomGadgetTreeInfo_proto_rawDesc +) + +func file_CustomGadgetTreeInfo_proto_rawDescGZIP() []byte { + file_CustomGadgetTreeInfo_proto_rawDescOnce.Do(func() { + file_CustomGadgetTreeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_CustomGadgetTreeInfo_proto_rawDescData) + }) + return file_CustomGadgetTreeInfo_proto_rawDescData +} + +var file_CustomGadgetTreeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CustomGadgetTreeInfo_proto_goTypes = []interface{}{ + (*CustomGadgetTreeInfo)(nil), // 0: CustomGadgetTreeInfo + (*CustomCommonNodeInfo)(nil), // 1: CustomCommonNodeInfo +} +var file_CustomGadgetTreeInfo_proto_depIdxs = []int32{ + 1, // 0: CustomGadgetTreeInfo.node_list:type_name -> CustomCommonNodeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_CustomGadgetTreeInfo_proto_init() } +func file_CustomGadgetTreeInfo_proto_init() { + if File_CustomGadgetTreeInfo_proto != nil { + return + } + file_CustomCommonNodeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_CustomGadgetTreeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomGadgetTreeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CustomGadgetTreeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CustomGadgetTreeInfo_proto_goTypes, + DependencyIndexes: file_CustomGadgetTreeInfo_proto_depIdxs, + MessageInfos: file_CustomGadgetTreeInfo_proto_msgTypes, + }.Build() + File_CustomGadgetTreeInfo_proto = out.File + file_CustomGadgetTreeInfo_proto_rawDesc = nil + file_CustomGadgetTreeInfo_proto_goTypes = nil + file_CustomGadgetTreeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CustomGadgetTreeInfo.proto b/gate-hk4e-api/proto/CustomGadgetTreeInfo.proto new file mode 100644 index 00000000..dfe15370 --- /dev/null +++ b/gate-hk4e-api/proto/CustomGadgetTreeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomCommonNodeInfo.proto"; + +option go_package = "./;proto"; + +message CustomGadgetTreeInfo { + repeated CustomCommonNodeInfo node_list = 1; +} diff --git a/gate-hk4e-api/proto/CutSceneBeginNotify.pb.go b/gate-hk4e-api/proto/CutSceneBeginNotify.pb.go new file mode 100644 index 00000000..96396c8f --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneBeginNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CutSceneBeginNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 296 +// EnetChannelId: 0 +// EnetIsReliable: true +type CutSceneBeginNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CutsceneId uint32 `protobuf:"varint,14,opt,name=cutscene_id,json=cutsceneId,proto3" json:"cutscene_id,omitempty"` + IsWaitOthers bool `protobuf:"varint,9,opt,name=is_wait_others,json=isWaitOthers,proto3" json:"is_wait_others,omitempty"` +} + +func (x *CutSceneBeginNotify) Reset() { + *x = CutSceneBeginNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CutSceneBeginNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CutSceneBeginNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CutSceneBeginNotify) ProtoMessage() {} + +func (x *CutSceneBeginNotify) ProtoReflect() protoreflect.Message { + mi := &file_CutSceneBeginNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CutSceneBeginNotify.ProtoReflect.Descriptor instead. +func (*CutSceneBeginNotify) Descriptor() ([]byte, []int) { + return file_CutSceneBeginNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CutSceneBeginNotify) GetCutsceneId() uint32 { + if x != nil { + return x.CutsceneId + } + return 0 +} + +func (x *CutSceneBeginNotify) GetIsWaitOthers() bool { + if x != nil { + return x.IsWaitOthers + } + return false +} + +var File_CutSceneBeginNotify_proto protoreflect.FileDescriptor + +var file_CutSceneBeginNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x43, 0x75, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x43, + 0x75, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x6f, + 0x74, 0x68, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x57, + 0x61, 0x69, 0x74, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CutSceneBeginNotify_proto_rawDescOnce sync.Once + file_CutSceneBeginNotify_proto_rawDescData = file_CutSceneBeginNotify_proto_rawDesc +) + +func file_CutSceneBeginNotify_proto_rawDescGZIP() []byte { + file_CutSceneBeginNotify_proto_rawDescOnce.Do(func() { + file_CutSceneBeginNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CutSceneBeginNotify_proto_rawDescData) + }) + return file_CutSceneBeginNotify_proto_rawDescData +} + +var file_CutSceneBeginNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CutSceneBeginNotify_proto_goTypes = []interface{}{ + (*CutSceneBeginNotify)(nil), // 0: CutSceneBeginNotify +} +var file_CutSceneBeginNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CutSceneBeginNotify_proto_init() } +func file_CutSceneBeginNotify_proto_init() { + if File_CutSceneBeginNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CutSceneBeginNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CutSceneBeginNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CutSceneBeginNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CutSceneBeginNotify_proto_goTypes, + DependencyIndexes: file_CutSceneBeginNotify_proto_depIdxs, + MessageInfos: file_CutSceneBeginNotify_proto_msgTypes, + }.Build() + File_CutSceneBeginNotify_proto = out.File + file_CutSceneBeginNotify_proto_rawDesc = nil + file_CutSceneBeginNotify_proto_goTypes = nil + file_CutSceneBeginNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CutSceneBeginNotify.proto b/gate-hk4e-api/proto/CutSceneBeginNotify.proto new file mode 100644 index 00000000..2eb6dd0c --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneBeginNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 296 +// EnetChannelId: 0 +// EnetIsReliable: true +message CutSceneBeginNotify { + uint32 cutscene_id = 14; + bool is_wait_others = 9; +} diff --git a/gate-hk4e-api/proto/CutSceneEndNotify.pb.go b/gate-hk4e-api/proto/CutSceneEndNotify.pb.go new file mode 100644 index 00000000..29b8ec46 --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneEndNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CutSceneEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 215 +// EnetChannelId: 0 +// EnetIsReliable: true +type CutSceneEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + CutsceneId uint32 `protobuf:"varint,14,opt,name=cutscene_id,json=cutsceneId,proto3" json:"cutscene_id,omitempty"` +} + +func (x *CutSceneEndNotify) Reset() { + *x = CutSceneEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CutSceneEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CutSceneEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CutSceneEndNotify) ProtoMessage() {} + +func (x *CutSceneEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_CutSceneEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CutSceneEndNotify.ProtoReflect.Descriptor instead. +func (*CutSceneEndNotify) Descriptor() ([]byte, []int) { + return file_CutSceneEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CutSceneEndNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *CutSceneEndNotify) GetCutsceneId() uint32 { + if x != nil { + return x.CutsceneId + } + return 0 +} + +var File_CutSceneEndNotify_proto protoreflect.FileDescriptor + +var file_CutSceneEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x43, 0x75, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x11, 0x43, 0x75, 0x74, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x74, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, + 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CutSceneEndNotify_proto_rawDescOnce sync.Once + file_CutSceneEndNotify_proto_rawDescData = file_CutSceneEndNotify_proto_rawDesc +) + +func file_CutSceneEndNotify_proto_rawDescGZIP() []byte { + file_CutSceneEndNotify_proto_rawDescOnce.Do(func() { + file_CutSceneEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CutSceneEndNotify_proto_rawDescData) + }) + return file_CutSceneEndNotify_proto_rawDescData +} + +var file_CutSceneEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CutSceneEndNotify_proto_goTypes = []interface{}{ + (*CutSceneEndNotify)(nil), // 0: CutSceneEndNotify +} +var file_CutSceneEndNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CutSceneEndNotify_proto_init() } +func file_CutSceneEndNotify_proto_init() { + if File_CutSceneEndNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CutSceneEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CutSceneEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CutSceneEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CutSceneEndNotify_proto_goTypes, + DependencyIndexes: file_CutSceneEndNotify_proto_depIdxs, + MessageInfos: file_CutSceneEndNotify_proto_msgTypes, + }.Build() + File_CutSceneEndNotify_proto = out.File + file_CutSceneEndNotify_proto_rawDesc = nil + file_CutSceneEndNotify_proto_goTypes = nil + file_CutSceneEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CutSceneEndNotify.proto b/gate-hk4e-api/proto/CutSceneEndNotify.proto new file mode 100644 index 00000000..d621a696 --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneEndNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 215 +// EnetChannelId: 0 +// EnetIsReliable: true +message CutSceneEndNotify { + int32 retcode = 5; + uint32 cutscene_id = 14; +} diff --git a/gate-hk4e-api/proto/CutSceneFinishNotify.pb.go b/gate-hk4e-api/proto/CutSceneFinishNotify.pb.go new file mode 100644 index 00000000..a47cef0d --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneFinishNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CutSceneFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 262 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type CutSceneFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CutsceneId uint32 `protobuf:"varint,12,opt,name=cutscene_id,json=cutsceneId,proto3" json:"cutscene_id,omitempty"` +} + +func (x *CutSceneFinishNotify) Reset() { + *x = CutSceneFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_CutSceneFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CutSceneFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CutSceneFinishNotify) ProtoMessage() {} + +func (x *CutSceneFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_CutSceneFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CutSceneFinishNotify.ProtoReflect.Descriptor instead. +func (*CutSceneFinishNotify) Descriptor() ([]byte, []int) { + return file_CutSceneFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *CutSceneFinishNotify) GetCutsceneId() uint32 { + if x != nil { + return x.CutsceneId + } + return 0 +} + +var File_CutSceneFinishNotify_proto protoreflect.FileDescriptor + +var file_CutSceneFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x43, 0x75, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x14, + 0x43, 0x75, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x74, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CutSceneFinishNotify_proto_rawDescOnce sync.Once + file_CutSceneFinishNotify_proto_rawDescData = file_CutSceneFinishNotify_proto_rawDesc +) + +func file_CutSceneFinishNotify_proto_rawDescGZIP() []byte { + file_CutSceneFinishNotify_proto_rawDescOnce.Do(func() { + file_CutSceneFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_CutSceneFinishNotify_proto_rawDescData) + }) + return file_CutSceneFinishNotify_proto_rawDescData +} + +var file_CutSceneFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CutSceneFinishNotify_proto_goTypes = []interface{}{ + (*CutSceneFinishNotify)(nil), // 0: CutSceneFinishNotify +} +var file_CutSceneFinishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CutSceneFinishNotify_proto_init() } +func file_CutSceneFinishNotify_proto_init() { + if File_CutSceneFinishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CutSceneFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CutSceneFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CutSceneFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CutSceneFinishNotify_proto_goTypes, + DependencyIndexes: file_CutSceneFinishNotify_proto_depIdxs, + MessageInfos: file_CutSceneFinishNotify_proto_msgTypes, + }.Build() + File_CutSceneFinishNotify_proto = out.File + file_CutSceneFinishNotify_proto_rawDesc = nil + file_CutSceneFinishNotify_proto_goTypes = nil + file_CutSceneFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CutSceneFinishNotify.proto b/gate-hk4e-api/proto/CutSceneFinishNotify.proto new file mode 100644 index 00000000..246eaec4 --- /dev/null +++ b/gate-hk4e-api/proto/CutSceneFinishNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 262 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message CutSceneFinishNotify { + uint32 cutscene_id = 12; +} diff --git a/gate-hk4e-api/proto/CylinderRegionSize.pb.go b/gate-hk4e-api/proto/CylinderRegionSize.pb.go new file mode 100644 index 00000000..2223cd1d --- /dev/null +++ b/gate-hk4e-api/proto/CylinderRegionSize.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: CylinderRegionSize.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CylinderRegionSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Radius float32 `protobuf:"fixed32,8,opt,name=radius,proto3" json:"radius,omitempty"` + Height float32 `protobuf:"fixed32,7,opt,name=height,proto3" json:"height,omitempty"` +} + +func (x *CylinderRegionSize) Reset() { + *x = CylinderRegionSize{} + if protoimpl.UnsafeEnabled { + mi := &file_CylinderRegionSize_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CylinderRegionSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CylinderRegionSize) ProtoMessage() {} + +func (x *CylinderRegionSize) ProtoReflect() protoreflect.Message { + mi := &file_CylinderRegionSize_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CylinderRegionSize.ProtoReflect.Descriptor instead. +func (*CylinderRegionSize) Descriptor() ([]byte, []int) { + return file_CylinderRegionSize_proto_rawDescGZIP(), []int{0} +} + +func (x *CylinderRegionSize) GetRadius() float32 { + if x != nil { + return x.Radius + } + return 0 +} + +func (x *CylinderRegionSize) GetHeight() float32 { + if x != nil { + return x.Height + } + return 0 +} + +var File_CylinderRegionSize_proto protoreflect.FileDescriptor + +var file_CylinderRegionSize_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x43, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x12, 0x43, 0x79, + 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_CylinderRegionSize_proto_rawDescOnce sync.Once + file_CylinderRegionSize_proto_rawDescData = file_CylinderRegionSize_proto_rawDesc +) + +func file_CylinderRegionSize_proto_rawDescGZIP() []byte { + file_CylinderRegionSize_proto_rawDescOnce.Do(func() { + file_CylinderRegionSize_proto_rawDescData = protoimpl.X.CompressGZIP(file_CylinderRegionSize_proto_rawDescData) + }) + return file_CylinderRegionSize_proto_rawDescData +} + +var file_CylinderRegionSize_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_CylinderRegionSize_proto_goTypes = []interface{}{ + (*CylinderRegionSize)(nil), // 0: CylinderRegionSize +} +var file_CylinderRegionSize_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_CylinderRegionSize_proto_init() } +func file_CylinderRegionSize_proto_init() { + if File_CylinderRegionSize_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_CylinderRegionSize_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CylinderRegionSize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_CylinderRegionSize_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_CylinderRegionSize_proto_goTypes, + DependencyIndexes: file_CylinderRegionSize_proto_depIdxs, + MessageInfos: file_CylinderRegionSize_proto_msgTypes, + }.Build() + File_CylinderRegionSize_proto = out.File + file_CylinderRegionSize_proto_rawDesc = nil + file_CylinderRegionSize_proto_goTypes = nil + file_CylinderRegionSize_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/CylinderRegionSize.proto b/gate-hk4e-api/proto/CylinderRegionSize.proto new file mode 100644 index 00000000..b3ab2627 --- /dev/null +++ b/gate-hk4e-api/proto/CylinderRegionSize.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message CylinderRegionSize { + float radius = 8; + float height = 7; +} diff --git a/gate-hk4e-api/proto/DailyDungeonEntryInfo.pb.go b/gate-hk4e-api/proto/DailyDungeonEntryInfo.pb.go new file mode 100644 index 00000000..6f0c45f6 --- /dev/null +++ b/gate-hk4e-api/proto/DailyDungeonEntryInfo.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyDungeonEntryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DailyDungeonEntryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonEntryConfigId uint32 `protobuf:"varint,12,opt,name=dungeon_entry_config_id,json=dungeonEntryConfigId,proto3" json:"dungeon_entry_config_id,omitempty"` + DungeonEntryId uint32 `protobuf:"varint,15,opt,name=dungeon_entry_id,json=dungeonEntryId,proto3" json:"dungeon_entry_id,omitempty"` + RecommendDungeonEntryInfo *DungeonEntryInfo `protobuf:"bytes,1,opt,name=recommend_dungeon_entry_info,json=recommendDungeonEntryInfo,proto3" json:"recommend_dungeon_entry_info,omitempty"` + RecommendDungeonId uint32 `protobuf:"varint,4,opt,name=recommend_dungeon_id,json=recommendDungeonId,proto3" json:"recommend_dungeon_id,omitempty"` +} + +func (x *DailyDungeonEntryInfo) Reset() { + *x = DailyDungeonEntryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyDungeonEntryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyDungeonEntryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyDungeonEntryInfo) ProtoMessage() {} + +func (x *DailyDungeonEntryInfo) ProtoReflect() protoreflect.Message { + mi := &file_DailyDungeonEntryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyDungeonEntryInfo.ProtoReflect.Descriptor instead. +func (*DailyDungeonEntryInfo) Descriptor() ([]byte, []int) { + return file_DailyDungeonEntryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyDungeonEntryInfo) GetDungeonEntryConfigId() uint32 { + if x != nil { + return x.DungeonEntryConfigId + } + return 0 +} + +func (x *DailyDungeonEntryInfo) GetDungeonEntryId() uint32 { + if x != nil { + return x.DungeonEntryId + } + return 0 +} + +func (x *DailyDungeonEntryInfo) GetRecommendDungeonEntryInfo() *DungeonEntryInfo { + if x != nil { + return x.RecommendDungeonEntryInfo + } + return nil +} + +func (x *DailyDungeonEntryInfo) GetRecommendDungeonId() uint32 { + if x != nil { + return x.RecommendDungeonId + } + return 0 +} + +var File_DailyDungeonEntryInfo_proto protoreflect.FileDescriptor + +var file_DailyDungeonEntryInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x01, 0x0a, 0x15, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x35, 0x0a, 0x17, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x14, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x64, + 0x12, 0x52, 0x0a, 0x1c, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x19, 0x72, 0x65, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x64, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyDungeonEntryInfo_proto_rawDescOnce sync.Once + file_DailyDungeonEntryInfo_proto_rawDescData = file_DailyDungeonEntryInfo_proto_rawDesc +) + +func file_DailyDungeonEntryInfo_proto_rawDescGZIP() []byte { + file_DailyDungeonEntryInfo_proto_rawDescOnce.Do(func() { + file_DailyDungeonEntryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyDungeonEntryInfo_proto_rawDescData) + }) + return file_DailyDungeonEntryInfo_proto_rawDescData +} + +var file_DailyDungeonEntryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyDungeonEntryInfo_proto_goTypes = []interface{}{ + (*DailyDungeonEntryInfo)(nil), // 0: DailyDungeonEntryInfo + (*DungeonEntryInfo)(nil), // 1: DungeonEntryInfo +} +var file_DailyDungeonEntryInfo_proto_depIdxs = []int32{ + 1, // 0: DailyDungeonEntryInfo.recommend_dungeon_entry_info:type_name -> DungeonEntryInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DailyDungeonEntryInfo_proto_init() } +func file_DailyDungeonEntryInfo_proto_init() { + if File_DailyDungeonEntryInfo_proto != nil { + return + } + file_DungeonEntryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DailyDungeonEntryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyDungeonEntryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyDungeonEntryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyDungeonEntryInfo_proto_goTypes, + DependencyIndexes: file_DailyDungeonEntryInfo_proto_depIdxs, + MessageInfos: file_DailyDungeonEntryInfo_proto_msgTypes, + }.Build() + File_DailyDungeonEntryInfo_proto = out.File + file_DailyDungeonEntryInfo_proto_rawDesc = nil + file_DailyDungeonEntryInfo_proto_goTypes = nil + file_DailyDungeonEntryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyDungeonEntryInfo.proto b/gate-hk4e-api/proto/DailyDungeonEntryInfo.proto new file mode 100644 index 00000000..561ce1a1 --- /dev/null +++ b/gate-hk4e-api/proto/DailyDungeonEntryInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryInfo.proto"; + +option go_package = "./;proto"; + +message DailyDungeonEntryInfo { + uint32 dungeon_entry_config_id = 12; + uint32 dungeon_entry_id = 15; + DungeonEntryInfo recommend_dungeon_entry_info = 1; + uint32 recommend_dungeon_id = 4; +} diff --git a/gate-hk4e-api/proto/DailyTaskDataNotify.pb.go b/gate-hk4e-api/proto/DailyTaskDataNotify.pb.go new file mode 100644 index 00000000..11d3e68b --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskDataNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 158 +// EnetChannelId: 0 +// EnetIsReliable: true +type DailyTaskDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScoreRewardId uint32 `protobuf:"varint,11,opt,name=score_reward_id,json=scoreRewardId,proto3" json:"score_reward_id,omitempty"` + FinishedNum uint32 `protobuf:"varint,4,opt,name=finished_num,json=finishedNum,proto3" json:"finished_num,omitempty"` + IsTakenScoreReward bool `protobuf:"varint,9,opt,name=is_taken_score_reward,json=isTakenScoreReward,proto3" json:"is_taken_score_reward,omitempty"` +} + +func (x *DailyTaskDataNotify) Reset() { + *x = DailyTaskDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskDataNotify) ProtoMessage() {} + +func (x *DailyTaskDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskDataNotify.ProtoReflect.Descriptor instead. +func (*DailyTaskDataNotify) Descriptor() ([]byte, []int) { + return file_DailyTaskDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskDataNotify) GetScoreRewardId() uint32 { + if x != nil { + return x.ScoreRewardId + } + return 0 +} + +func (x *DailyTaskDataNotify) GetFinishedNum() uint32 { + if x != nil { + return x.FinishedNum + } + return 0 +} + +func (x *DailyTaskDataNotify) GetIsTakenScoreReward() bool { + if x != nil { + return x.IsTakenScoreReward + } + return false +} + +var File_DailyTaskDataNotify_proto protoreflect.FileDescriptor + +var file_DailyTaskDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x13, + 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x31, + 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, + 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyTaskDataNotify_proto_rawDescOnce sync.Once + file_DailyTaskDataNotify_proto_rawDescData = file_DailyTaskDataNotify_proto_rawDesc +) + +func file_DailyTaskDataNotify_proto_rawDescGZIP() []byte { + file_DailyTaskDataNotify_proto_rawDescOnce.Do(func() { + file_DailyTaskDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskDataNotify_proto_rawDescData) + }) + return file_DailyTaskDataNotify_proto_rawDescData +} + +var file_DailyTaskDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskDataNotify_proto_goTypes = []interface{}{ + (*DailyTaskDataNotify)(nil), // 0: DailyTaskDataNotify +} +var file_DailyTaskDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskDataNotify_proto_init() } +func file_DailyTaskDataNotify_proto_init() { + if File_DailyTaskDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskDataNotify_proto_goTypes, + DependencyIndexes: file_DailyTaskDataNotify_proto_depIdxs, + MessageInfos: file_DailyTaskDataNotify_proto_msgTypes, + }.Build() + File_DailyTaskDataNotify_proto = out.File + file_DailyTaskDataNotify_proto_rawDesc = nil + file_DailyTaskDataNotify_proto_goTypes = nil + file_DailyTaskDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskDataNotify.proto b/gate-hk4e-api/proto/DailyTaskDataNotify.proto new file mode 100644 index 00000000..434f1ca4 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 158 +// EnetChannelId: 0 +// EnetIsReliable: true +message DailyTaskDataNotify { + uint32 score_reward_id = 11; + uint32 finished_num = 4; + bool is_taken_score_reward = 9; +} diff --git a/gate-hk4e-api/proto/DailyTaskFilterCityReq.pb.go b/gate-hk4e-api/proto/DailyTaskFilterCityReq.pb.go new file mode 100644 index 00000000..bb3551df --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskFilterCityReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskFilterCityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 111 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DailyTaskFilterCityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,8,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *DailyTaskFilterCityReq) Reset() { + *x = DailyTaskFilterCityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskFilterCityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskFilterCityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskFilterCityReq) ProtoMessage() {} + +func (x *DailyTaskFilterCityReq) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskFilterCityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskFilterCityReq.ProtoReflect.Descriptor instead. +func (*DailyTaskFilterCityReq) Descriptor() ([]byte, []int) { + return file_DailyTaskFilterCityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskFilterCityReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_DailyTaskFilterCityReq_proto protoreflect.FileDescriptor + +var file_DailyTaskFilterCityReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, + 0x0a, 0x16, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyTaskFilterCityReq_proto_rawDescOnce sync.Once + file_DailyTaskFilterCityReq_proto_rawDescData = file_DailyTaskFilterCityReq_proto_rawDesc +) + +func file_DailyTaskFilterCityReq_proto_rawDescGZIP() []byte { + file_DailyTaskFilterCityReq_proto_rawDescOnce.Do(func() { + file_DailyTaskFilterCityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskFilterCityReq_proto_rawDescData) + }) + return file_DailyTaskFilterCityReq_proto_rawDescData +} + +var file_DailyTaskFilterCityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskFilterCityReq_proto_goTypes = []interface{}{ + (*DailyTaskFilterCityReq)(nil), // 0: DailyTaskFilterCityReq +} +var file_DailyTaskFilterCityReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskFilterCityReq_proto_init() } +func file_DailyTaskFilterCityReq_proto_init() { + if File_DailyTaskFilterCityReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskFilterCityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskFilterCityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskFilterCityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskFilterCityReq_proto_goTypes, + DependencyIndexes: file_DailyTaskFilterCityReq_proto_depIdxs, + MessageInfos: file_DailyTaskFilterCityReq_proto_msgTypes, + }.Build() + File_DailyTaskFilterCityReq_proto = out.File + file_DailyTaskFilterCityReq_proto_rawDesc = nil + file_DailyTaskFilterCityReq_proto_goTypes = nil + file_DailyTaskFilterCityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskFilterCityReq.proto b/gate-hk4e-api/proto/DailyTaskFilterCityReq.proto new file mode 100644 index 00000000..d1fd0e7a --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskFilterCityReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 111 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DailyTaskFilterCityReq { + uint32 city_id = 8; +} diff --git a/gate-hk4e-api/proto/DailyTaskFilterCityRsp.pb.go b/gate-hk4e-api/proto/DailyTaskFilterCityRsp.pb.go new file mode 100644 index 00000000..98f95fdf --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskFilterCityRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskFilterCityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 144 +// EnetChannelId: 0 +// EnetIsReliable: true +type DailyTaskFilterCityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + CityId uint32 `protobuf:"varint,9,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *DailyTaskFilterCityRsp) Reset() { + *x = DailyTaskFilterCityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskFilterCityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskFilterCityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskFilterCityRsp) ProtoMessage() {} + +func (x *DailyTaskFilterCityRsp) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskFilterCityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskFilterCityRsp.ProtoReflect.Descriptor instead. +func (*DailyTaskFilterCityRsp) Descriptor() ([]byte, []int) { + return file_DailyTaskFilterCityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskFilterCityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DailyTaskFilterCityRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_DailyTaskFilterCityRsp_proto protoreflect.FileDescriptor + +var file_DailyTaskFilterCityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x43, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, + 0x0a, 0x16, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x43, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyTaskFilterCityRsp_proto_rawDescOnce sync.Once + file_DailyTaskFilterCityRsp_proto_rawDescData = file_DailyTaskFilterCityRsp_proto_rawDesc +) + +func file_DailyTaskFilterCityRsp_proto_rawDescGZIP() []byte { + file_DailyTaskFilterCityRsp_proto_rawDescOnce.Do(func() { + file_DailyTaskFilterCityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskFilterCityRsp_proto_rawDescData) + }) + return file_DailyTaskFilterCityRsp_proto_rawDescData +} + +var file_DailyTaskFilterCityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskFilterCityRsp_proto_goTypes = []interface{}{ + (*DailyTaskFilterCityRsp)(nil), // 0: DailyTaskFilterCityRsp +} +var file_DailyTaskFilterCityRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskFilterCityRsp_proto_init() } +func file_DailyTaskFilterCityRsp_proto_init() { + if File_DailyTaskFilterCityRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskFilterCityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskFilterCityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskFilterCityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskFilterCityRsp_proto_goTypes, + DependencyIndexes: file_DailyTaskFilterCityRsp_proto_depIdxs, + MessageInfos: file_DailyTaskFilterCityRsp_proto_msgTypes, + }.Build() + File_DailyTaskFilterCityRsp_proto = out.File + file_DailyTaskFilterCityRsp_proto_rawDesc = nil + file_DailyTaskFilterCityRsp_proto_goTypes = nil + file_DailyTaskFilterCityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskFilterCityRsp.proto b/gate-hk4e-api/proto/DailyTaskFilterCityRsp.proto new file mode 100644 index 00000000..aa809b41 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskFilterCityRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 144 +// EnetChannelId: 0 +// EnetIsReliable: true +message DailyTaskFilterCityRsp { + int32 retcode = 5; + uint32 city_id = 9; +} diff --git a/gate-hk4e-api/proto/DailyTaskInfo.pb.go b/gate-hk4e-api/proto/DailyTaskInfo.pb.go new file mode 100644 index 00000000..288920a5 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DailyTaskInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,3,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Progress uint32 `protobuf:"varint,13,opt,name=progress,proto3" json:"progress,omitempty"` + FinishProgress uint32 `protobuf:"varint,10,opt,name=finish_progress,json=finishProgress,proto3" json:"finish_progress,omitempty"` + DailyTaskId uint32 `protobuf:"varint,4,opt,name=daily_task_id,json=dailyTaskId,proto3" json:"daily_task_id,omitempty"` + IsFinished bool `protobuf:"varint,14,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` +} + +func (x *DailyTaskInfo) Reset() { + *x = DailyTaskInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskInfo) ProtoMessage() {} + +func (x *DailyTaskInfo) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskInfo.ProtoReflect.Descriptor instead. +func (*DailyTaskInfo) Descriptor() ([]byte, []int) { + return file_DailyTaskInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskInfo) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *DailyTaskInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *DailyTaskInfo) GetFinishProgress() uint32 { + if x != nil { + return x.FinishProgress + } + return 0 +} + +func (x *DailyTaskInfo) GetDailyTaskId() uint32 { + if x != nil { + return x.DailyTaskId + } + return 0 +} + +func (x *DailyTaskInfo) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +var File_DailyTaskInfo_proto protoreflect.FileDescriptor + +var file_DailyTaskInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x61, 0x69, + 0x6c, 0x79, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DailyTaskInfo_proto_rawDescOnce sync.Once + file_DailyTaskInfo_proto_rawDescData = file_DailyTaskInfo_proto_rawDesc +) + +func file_DailyTaskInfo_proto_rawDescGZIP() []byte { + file_DailyTaskInfo_proto_rawDescOnce.Do(func() { + file_DailyTaskInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskInfo_proto_rawDescData) + }) + return file_DailyTaskInfo_proto_rawDescData +} + +var file_DailyTaskInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskInfo_proto_goTypes = []interface{}{ + (*DailyTaskInfo)(nil), // 0: DailyTaskInfo +} +var file_DailyTaskInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskInfo_proto_init() } +func file_DailyTaskInfo_proto_init() { + if File_DailyTaskInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskInfo_proto_goTypes, + DependencyIndexes: file_DailyTaskInfo_proto_depIdxs, + MessageInfos: file_DailyTaskInfo_proto_msgTypes, + }.Build() + File_DailyTaskInfo_proto = out.File + file_DailyTaskInfo_proto_rawDesc = nil + file_DailyTaskInfo_proto_goTypes = nil + file_DailyTaskInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskInfo.proto b/gate-hk4e-api/proto/DailyTaskInfo.proto new file mode 100644 index 00000000..896ba627 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message DailyTaskInfo { + uint32 reward_id = 3; + uint32 progress = 13; + uint32 finish_progress = 10; + uint32 daily_task_id = 4; + bool is_finished = 14; +} diff --git a/gate-hk4e-api/proto/DailyTaskProgressNotify.pb.go b/gate-hk4e-api/proto/DailyTaskProgressNotify.pb.go new file mode 100644 index 00000000..7205c92f --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskProgressNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskProgressNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 170 +// EnetChannelId: 0 +// EnetIsReliable: true +type DailyTaskProgressNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *DailyTaskInfo `protobuf:"bytes,12,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *DailyTaskProgressNotify) Reset() { + *x = DailyTaskProgressNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskProgressNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskProgressNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskProgressNotify) ProtoMessage() {} + +func (x *DailyTaskProgressNotify) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskProgressNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskProgressNotify.ProtoReflect.Descriptor instead. +func (*DailyTaskProgressNotify) Descriptor() ([]byte, []int) { + return file_DailyTaskProgressNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskProgressNotify) GetInfo() *DailyTaskInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_DailyTaskProgressNotify_proto protoreflect.FileDescriptor + +var file_DailyTaskProgressNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x13, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x17, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, + 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x22, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyTaskProgressNotify_proto_rawDescOnce sync.Once + file_DailyTaskProgressNotify_proto_rawDescData = file_DailyTaskProgressNotify_proto_rawDesc +) + +func file_DailyTaskProgressNotify_proto_rawDescGZIP() []byte { + file_DailyTaskProgressNotify_proto_rawDescOnce.Do(func() { + file_DailyTaskProgressNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskProgressNotify_proto_rawDescData) + }) + return file_DailyTaskProgressNotify_proto_rawDescData +} + +var file_DailyTaskProgressNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskProgressNotify_proto_goTypes = []interface{}{ + (*DailyTaskProgressNotify)(nil), // 0: DailyTaskProgressNotify + (*DailyTaskInfo)(nil), // 1: DailyTaskInfo +} +var file_DailyTaskProgressNotify_proto_depIdxs = []int32{ + 1, // 0: DailyTaskProgressNotify.info:type_name -> DailyTaskInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DailyTaskProgressNotify_proto_init() } +func file_DailyTaskProgressNotify_proto_init() { + if File_DailyTaskProgressNotify_proto != nil { + return + } + file_DailyTaskInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DailyTaskProgressNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskProgressNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskProgressNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskProgressNotify_proto_goTypes, + DependencyIndexes: file_DailyTaskProgressNotify_proto_depIdxs, + MessageInfos: file_DailyTaskProgressNotify_proto_msgTypes, + }.Build() + File_DailyTaskProgressNotify_proto = out.File + file_DailyTaskProgressNotify_proto_rawDesc = nil + file_DailyTaskProgressNotify_proto_goTypes = nil + file_DailyTaskProgressNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskProgressNotify.proto b/gate-hk4e-api/proto/DailyTaskProgressNotify.proto new file mode 100644 index 00000000..75219ccc --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskProgressNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DailyTaskInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 170 +// EnetChannelId: 0 +// EnetIsReliable: true +message DailyTaskProgressNotify { + DailyTaskInfo info = 12; +} diff --git a/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.pb.go b/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.pb.go new file mode 100644 index 00000000..97591b98 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskScoreRewardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 117 +// EnetChannelId: 0 +// EnetIsReliable: true +type DailyTaskScoreRewardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,14,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *DailyTaskScoreRewardNotify) Reset() { + *x = DailyTaskScoreRewardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskScoreRewardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskScoreRewardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskScoreRewardNotify) ProtoMessage() {} + +func (x *DailyTaskScoreRewardNotify) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskScoreRewardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskScoreRewardNotify.ProtoReflect.Descriptor instead. +func (*DailyTaskScoreRewardNotify) Descriptor() ([]byte, []int) { + return file_DailyTaskScoreRewardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskScoreRewardNotify) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_DailyTaskScoreRewardNotify_proto protoreflect.FileDescriptor + +var file_DailyTaskScoreRewardNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1a, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_DailyTaskScoreRewardNotify_proto_rawDescOnce sync.Once + file_DailyTaskScoreRewardNotify_proto_rawDescData = file_DailyTaskScoreRewardNotify_proto_rawDesc +) + +func file_DailyTaskScoreRewardNotify_proto_rawDescGZIP() []byte { + file_DailyTaskScoreRewardNotify_proto_rawDescOnce.Do(func() { + file_DailyTaskScoreRewardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskScoreRewardNotify_proto_rawDescData) + }) + return file_DailyTaskScoreRewardNotify_proto_rawDescData +} + +var file_DailyTaskScoreRewardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskScoreRewardNotify_proto_goTypes = []interface{}{ + (*DailyTaskScoreRewardNotify)(nil), // 0: DailyTaskScoreRewardNotify +} +var file_DailyTaskScoreRewardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskScoreRewardNotify_proto_init() } +func file_DailyTaskScoreRewardNotify_proto_init() { + if File_DailyTaskScoreRewardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskScoreRewardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskScoreRewardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskScoreRewardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskScoreRewardNotify_proto_goTypes, + DependencyIndexes: file_DailyTaskScoreRewardNotify_proto_depIdxs, + MessageInfos: file_DailyTaskScoreRewardNotify_proto_msgTypes, + }.Build() + File_DailyTaskScoreRewardNotify_proto = out.File + file_DailyTaskScoreRewardNotify_proto_rawDesc = nil + file_DailyTaskScoreRewardNotify_proto_goTypes = nil + file_DailyTaskScoreRewardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.proto b/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.proto new file mode 100644 index 00000000..35b77819 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskScoreRewardNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 117 +// EnetChannelId: 0 +// EnetIsReliable: true +message DailyTaskScoreRewardNotify { + uint32 reward_id = 14; +} diff --git a/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.pb.go b/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.pb.go new file mode 100644 index 00000000..5d9ff7d8 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DailyTaskUnlockedCitiesNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 186 +// EnetChannelId: 0 +// EnetIsReliable: true +type DailyTaskUnlockedCitiesNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnlockedCityList []uint32 `protobuf:"varint,12,rep,packed,name=unlocked_city_list,json=unlockedCityList,proto3" json:"unlocked_city_list,omitempty"` +} + +func (x *DailyTaskUnlockedCitiesNotify) Reset() { + *x = DailyTaskUnlockedCitiesNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DailyTaskUnlockedCitiesNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DailyTaskUnlockedCitiesNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DailyTaskUnlockedCitiesNotify) ProtoMessage() {} + +func (x *DailyTaskUnlockedCitiesNotify) ProtoReflect() protoreflect.Message { + mi := &file_DailyTaskUnlockedCitiesNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DailyTaskUnlockedCitiesNotify.ProtoReflect.Descriptor instead. +func (*DailyTaskUnlockedCitiesNotify) Descriptor() ([]byte, []int) { + return file_DailyTaskUnlockedCitiesNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DailyTaskUnlockedCitiesNotify) GetUnlockedCityList() []uint32 { + if x != nil { + return x.UnlockedCityList + } + return nil +} + +var File_DailyTaskUnlockedCitiesNotify_proto protoreflect.FileDescriptor + +var file_DailyTaskUnlockedCitiesNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x65, 0x64, 0x43, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x1d, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, + 0x73, 0x6b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x43, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x5f, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x10, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x43, 0x69, 0x74, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DailyTaskUnlockedCitiesNotify_proto_rawDescOnce sync.Once + file_DailyTaskUnlockedCitiesNotify_proto_rawDescData = file_DailyTaskUnlockedCitiesNotify_proto_rawDesc +) + +func file_DailyTaskUnlockedCitiesNotify_proto_rawDescGZIP() []byte { + file_DailyTaskUnlockedCitiesNotify_proto_rawDescOnce.Do(func() { + file_DailyTaskUnlockedCitiesNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DailyTaskUnlockedCitiesNotify_proto_rawDescData) + }) + return file_DailyTaskUnlockedCitiesNotify_proto_rawDescData +} + +var file_DailyTaskUnlockedCitiesNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DailyTaskUnlockedCitiesNotify_proto_goTypes = []interface{}{ + (*DailyTaskUnlockedCitiesNotify)(nil), // 0: DailyTaskUnlockedCitiesNotify +} +var file_DailyTaskUnlockedCitiesNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DailyTaskUnlockedCitiesNotify_proto_init() } +func file_DailyTaskUnlockedCitiesNotify_proto_init() { + if File_DailyTaskUnlockedCitiesNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DailyTaskUnlockedCitiesNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DailyTaskUnlockedCitiesNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DailyTaskUnlockedCitiesNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DailyTaskUnlockedCitiesNotify_proto_goTypes, + DependencyIndexes: file_DailyTaskUnlockedCitiesNotify_proto_depIdxs, + MessageInfos: file_DailyTaskUnlockedCitiesNotify_proto_msgTypes, + }.Build() + File_DailyTaskUnlockedCitiesNotify_proto = out.File + file_DailyTaskUnlockedCitiesNotify_proto_rawDesc = nil + file_DailyTaskUnlockedCitiesNotify_proto_goTypes = nil + file_DailyTaskUnlockedCitiesNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.proto b/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.proto new file mode 100644 index 00000000..6d959ea2 --- /dev/null +++ b/gate-hk4e-api/proto/DailyTaskUnlockedCitiesNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 186 +// EnetChannelId: 0 +// EnetIsReliable: true +message DailyTaskUnlockedCitiesNotify { + repeated uint32 unlocked_city_list = 12; +} diff --git a/gate-hk4e-api/proto/DataResVersionNotify.pb.go b/gate-hk4e-api/proto/DataResVersionNotify.pb.go new file mode 100644 index 00000000..8c8dd6cf --- /dev/null +++ b/gate-hk4e-api/proto/DataResVersionNotify.pb.go @@ -0,0 +1,321 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DataResVersionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DataResVersionNotify_DataResVersionOpType int32 + +const ( + DataResVersionNotify_DATA_RES_VERSION_OP_TYPE_NONE DataResVersionNotify_DataResVersionOpType = 0 + DataResVersionNotify_DATA_RES_VERSION_OP_TYPE_RELOGIN DataResVersionNotify_DataResVersionOpType = 1 + DataResVersionNotify_DATA_RES_VERSION_OP_TYPE_MP_RELOGIN DataResVersionNotify_DataResVersionOpType = 2 +) + +// Enum value maps for DataResVersionNotify_DataResVersionOpType. +var ( + DataResVersionNotify_DataResVersionOpType_name = map[int32]string{ + 0: "DATA_RES_VERSION_OP_TYPE_NONE", + 1: "DATA_RES_VERSION_OP_TYPE_RELOGIN", + 2: "DATA_RES_VERSION_OP_TYPE_MP_RELOGIN", + } + DataResVersionNotify_DataResVersionOpType_value = map[string]int32{ + "DATA_RES_VERSION_OP_TYPE_NONE": 0, + "DATA_RES_VERSION_OP_TYPE_RELOGIN": 1, + "DATA_RES_VERSION_OP_TYPE_MP_RELOGIN": 2, + } +) + +func (x DataResVersionNotify_DataResVersionOpType) Enum() *DataResVersionNotify_DataResVersionOpType { + p := new(DataResVersionNotify_DataResVersionOpType) + *p = x + return p +} + +func (x DataResVersionNotify_DataResVersionOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DataResVersionNotify_DataResVersionOpType) Descriptor() protoreflect.EnumDescriptor { + return file_DataResVersionNotify_proto_enumTypes[0].Descriptor() +} + +func (DataResVersionNotify_DataResVersionOpType) Type() protoreflect.EnumType { + return &file_DataResVersionNotify_proto_enumTypes[0] +} + +func (x DataResVersionNotify_DataResVersionOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DataResVersionNotify_DataResVersionOpType.Descriptor instead. +func (DataResVersionNotify_DataResVersionOpType) EnumDescriptor() ([]byte, []int) { + return file_DataResVersionNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 167 +// EnetChannelId: 0 +// EnetIsReliable: true +type DataResVersionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientSilenceMd5 string `protobuf:"bytes,10,opt,name=client_silence_md5,json=clientSilenceMd5,proto3" json:"client_silence_md5,omitempty"` + ClientSilenceVersionSuffix string `protobuf:"bytes,15,opt,name=client_silence_version_suffix,json=clientSilenceVersionSuffix,proto3" json:"client_silence_version_suffix,omitempty"` + ResVersionConfig *ResVersionConfig `protobuf:"bytes,9,opt,name=res_version_config,json=resVersionConfig,proto3" json:"res_version_config,omitempty"` + IsDataNeedRelogin bool `protobuf:"varint,7,opt,name=is_data_need_relogin,json=isDataNeedRelogin,proto3" json:"is_data_need_relogin,omitempty"` + OpType DataResVersionNotify_DataResVersionOpType `protobuf:"varint,12,opt,name=op_type,json=opType,proto3,enum=DataResVersionNotify_DataResVersionOpType" json:"op_type,omitempty"` + ClientDataVersion uint32 `protobuf:"varint,2,opt,name=client_data_version,json=clientDataVersion,proto3" json:"client_data_version,omitempty"` + ClientVersionSuffix string `protobuf:"bytes,5,opt,name=client_version_suffix,json=clientVersionSuffix,proto3" json:"client_version_suffix,omitempty"` + ClientSilenceDataVersion uint32 `protobuf:"varint,1,opt,name=client_silence_data_version,json=clientSilenceDataVersion,proto3" json:"client_silence_data_version,omitempty"` + ClientMd5 string `protobuf:"bytes,14,opt,name=client_md5,json=clientMd5,proto3" json:"client_md5,omitempty"` +} + +func (x *DataResVersionNotify) Reset() { + *x = DataResVersionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DataResVersionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DataResVersionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataResVersionNotify) ProtoMessage() {} + +func (x *DataResVersionNotify) ProtoReflect() protoreflect.Message { + mi := &file_DataResVersionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataResVersionNotify.ProtoReflect.Descriptor instead. +func (*DataResVersionNotify) Descriptor() ([]byte, []int) { + return file_DataResVersionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DataResVersionNotify) GetClientSilenceMd5() string { + if x != nil { + return x.ClientSilenceMd5 + } + return "" +} + +func (x *DataResVersionNotify) GetClientSilenceVersionSuffix() string { + if x != nil { + return x.ClientSilenceVersionSuffix + } + return "" +} + +func (x *DataResVersionNotify) GetResVersionConfig() *ResVersionConfig { + if x != nil { + return x.ResVersionConfig + } + return nil +} + +func (x *DataResVersionNotify) GetIsDataNeedRelogin() bool { + if x != nil { + return x.IsDataNeedRelogin + } + return false +} + +func (x *DataResVersionNotify) GetOpType() DataResVersionNotify_DataResVersionOpType { + if x != nil { + return x.OpType + } + return DataResVersionNotify_DATA_RES_VERSION_OP_TYPE_NONE +} + +func (x *DataResVersionNotify) GetClientDataVersion() uint32 { + if x != nil { + return x.ClientDataVersion + } + return 0 +} + +func (x *DataResVersionNotify) GetClientVersionSuffix() string { + if x != nil { + return x.ClientVersionSuffix + } + return "" +} + +func (x *DataResVersionNotify) GetClientSilenceDataVersion() uint32 { + if x != nil { + return x.ClientSilenceDataVersion + } + return 0 +} + +func (x *DataResVersionNotify) GetClientMd5() string { + if x != nil { + return x.ClientMd5 + } + return "" +} + +var File_DataResVersionNotify_proto protoreflect.FileDescriptor + +var file_DataResVersionNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, + 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x05, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, + 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, + 0x6d, 0x64, 0x35, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x64, 0x35, 0x12, 0x41, 0x0a, 0x1d, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x1a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x3f, + 0x0a, 0x12, 0x72, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x73, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x72, + 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x65, 0x65, 0x64, 0x5f, + 0x72, 0x65, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, + 0x73, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x6c, 0x6f, 0x67, 0x69, 0x6e, + 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2a, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x6d, 0x64, 0x35, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x64, 0x35, 0x22, 0x88, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x21, 0x0a, 0x1d, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x53, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x53, 0x5f, + 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x52, 0x45, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x44, 0x41, 0x54, + 0x41, 0x5f, 0x52, 0x45, 0x53, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x50, 0x5f, 0x52, 0x45, 0x4c, 0x4f, 0x47, 0x49, 0x4e, + 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DataResVersionNotify_proto_rawDescOnce sync.Once + file_DataResVersionNotify_proto_rawDescData = file_DataResVersionNotify_proto_rawDesc +) + +func file_DataResVersionNotify_proto_rawDescGZIP() []byte { + file_DataResVersionNotify_proto_rawDescOnce.Do(func() { + file_DataResVersionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DataResVersionNotify_proto_rawDescData) + }) + return file_DataResVersionNotify_proto_rawDescData +} + +var file_DataResVersionNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DataResVersionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DataResVersionNotify_proto_goTypes = []interface{}{ + (DataResVersionNotify_DataResVersionOpType)(0), // 0: DataResVersionNotify.DataResVersionOpType + (*DataResVersionNotify)(nil), // 1: DataResVersionNotify + (*ResVersionConfig)(nil), // 2: ResVersionConfig +} +var file_DataResVersionNotify_proto_depIdxs = []int32{ + 2, // 0: DataResVersionNotify.res_version_config:type_name -> ResVersionConfig + 0, // 1: DataResVersionNotify.op_type:type_name -> DataResVersionNotify.DataResVersionOpType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_DataResVersionNotify_proto_init() } +func file_DataResVersionNotify_proto_init() { + if File_DataResVersionNotify_proto != nil { + return + } + file_ResVersionConfig_proto_init() + if !protoimpl.UnsafeEnabled { + file_DataResVersionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataResVersionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DataResVersionNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DataResVersionNotify_proto_goTypes, + DependencyIndexes: file_DataResVersionNotify_proto_depIdxs, + EnumInfos: file_DataResVersionNotify_proto_enumTypes, + MessageInfos: file_DataResVersionNotify_proto_msgTypes, + }.Build() + File_DataResVersionNotify_proto = out.File + file_DataResVersionNotify_proto_rawDesc = nil + file_DataResVersionNotify_proto_goTypes = nil + file_DataResVersionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DataResVersionNotify.proto b/gate-hk4e-api/proto/DataResVersionNotify.proto new file mode 100644 index 00000000..8eee7584 --- /dev/null +++ b/gate-hk4e-api/proto/DataResVersionNotify.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ResVersionConfig.proto"; + +option go_package = "./;proto"; + +// CmdId: 167 +// EnetChannelId: 0 +// EnetIsReliable: true +message DataResVersionNotify { + string client_silence_md5 = 10; + string client_silence_version_suffix = 15; + ResVersionConfig res_version_config = 9; + bool is_data_need_relogin = 7; + DataResVersionOpType op_type = 12; + uint32 client_data_version = 2; + string client_version_suffix = 5; + uint32 client_silence_data_version = 1; + string client_md5 = 14; + + enum DataResVersionOpType { + DATA_RES_VERSION_OP_TYPE_NONE = 0; + DATA_RES_VERSION_OP_TYPE_RELOGIN = 1; + DATA_RES_VERSION_OP_TYPE_MP_RELOGIN = 2; + } +} diff --git a/gate-hk4e-api/proto/DealAddFriendReq.pb.go b/gate-hk4e-api/proto/DealAddFriendReq.pb.go new file mode 100644 index 00000000..00a68543 --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendReq.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DealAddFriendReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4003 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DealAddFriendReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DealAddFriendResult DealAddFriendResultType `protobuf:"varint,12,opt,name=deal_add_friend_result,json=dealAddFriendResult,proto3,enum=DealAddFriendResultType" json:"deal_add_friend_result,omitempty"` + TargetUid uint32 `protobuf:"varint,10,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *DealAddFriendReq) Reset() { + *x = DealAddFriendReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DealAddFriendReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DealAddFriendReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DealAddFriendReq) ProtoMessage() {} + +func (x *DealAddFriendReq) ProtoReflect() protoreflect.Message { + mi := &file_DealAddFriendReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DealAddFriendReq.ProtoReflect.Descriptor instead. +func (*DealAddFriendReq) Descriptor() ([]byte, []int) { + return file_DealAddFriendReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DealAddFriendReq) GetDealAddFriendResult() DealAddFriendResultType { + if x != nil { + return x.DealAddFriendResult + } + return DealAddFriendResultType_DEAL_ADD_FRIEND_RESULT_TYPE_REJECT +} + +func (x *DealAddFriendReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_DealAddFriendReq_proto protoreflect.FileDescriptor + +var file_DealAddFriendReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, + 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x4d, 0x0a, 0x16, + 0x64, 0x65, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x44, + 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x64, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DealAddFriendReq_proto_rawDescOnce sync.Once + file_DealAddFriendReq_proto_rawDescData = file_DealAddFriendReq_proto_rawDesc +) + +func file_DealAddFriendReq_proto_rawDescGZIP() []byte { + file_DealAddFriendReq_proto_rawDescOnce.Do(func() { + file_DealAddFriendReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DealAddFriendReq_proto_rawDescData) + }) + return file_DealAddFriendReq_proto_rawDescData +} + +var file_DealAddFriendReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DealAddFriendReq_proto_goTypes = []interface{}{ + (*DealAddFriendReq)(nil), // 0: DealAddFriendReq + (DealAddFriendResultType)(0), // 1: DealAddFriendResultType +} +var file_DealAddFriendReq_proto_depIdxs = []int32{ + 1, // 0: DealAddFriendReq.deal_add_friend_result:type_name -> DealAddFriendResultType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DealAddFriendReq_proto_init() } +func file_DealAddFriendReq_proto_init() { + if File_DealAddFriendReq_proto != nil { + return + } + file_DealAddFriendResultType_proto_init() + if !protoimpl.UnsafeEnabled { + file_DealAddFriendReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DealAddFriendReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DealAddFriendReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DealAddFriendReq_proto_goTypes, + DependencyIndexes: file_DealAddFriendReq_proto_depIdxs, + MessageInfos: file_DealAddFriendReq_proto_msgTypes, + }.Build() + File_DealAddFriendReq_proto = out.File + file_DealAddFriendReq_proto_rawDesc = nil + file_DealAddFriendReq_proto_goTypes = nil + file_DealAddFriendReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DealAddFriendReq.proto b/gate-hk4e-api/proto/DealAddFriendReq.proto new file mode 100644 index 00000000..681ea39a --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DealAddFriendResultType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4003 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DealAddFriendReq { + DealAddFriendResultType deal_add_friend_result = 12; + uint32 target_uid = 10; +} diff --git a/gate-hk4e-api/proto/DealAddFriendResultType.pb.go b/gate-hk4e-api/proto/DealAddFriendResultType.pb.go new file mode 100644 index 00000000..c9f815dd --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendResultType.pb.go @@ -0,0 +1,147 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DealAddFriendResultType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DealAddFriendResultType int32 + +const ( + DealAddFriendResultType_DEAL_ADD_FRIEND_RESULT_TYPE_REJECT DealAddFriendResultType = 0 + DealAddFriendResultType_DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT DealAddFriendResultType = 1 +) + +// Enum value maps for DealAddFriendResultType. +var ( + DealAddFriendResultType_name = map[int32]string{ + 0: "DEAL_ADD_FRIEND_RESULT_TYPE_REJECT", + 1: "DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT", + } + DealAddFriendResultType_value = map[string]int32{ + "DEAL_ADD_FRIEND_RESULT_TYPE_REJECT": 0, + "DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT": 1, + } +) + +func (x DealAddFriendResultType) Enum() *DealAddFriendResultType { + p := new(DealAddFriendResultType) + *p = x + return p +} + +func (x DealAddFriendResultType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DealAddFriendResultType) Descriptor() protoreflect.EnumDescriptor { + return file_DealAddFriendResultType_proto_enumTypes[0].Descriptor() +} + +func (DealAddFriendResultType) Type() protoreflect.EnumType { + return &file_DealAddFriendResultType_proto_enumTypes[0] +} + +func (x DealAddFriendResultType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DealAddFriendResultType.Descriptor instead. +func (DealAddFriendResultType) EnumDescriptor() ([]byte, []int) { + return file_DealAddFriendResultType_proto_rawDescGZIP(), []int{0} +} + +var File_DealAddFriendResultType_proto protoreflect.FileDescriptor + +var file_DealAddFriendResultType_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, + 0x69, 0x0a, 0x17, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x44, 0x45, + 0x41, 0x4c, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x52, 0x45, + 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, + 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x44, 0x45, 0x41, 0x4c, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, + 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DealAddFriendResultType_proto_rawDescOnce sync.Once + file_DealAddFriendResultType_proto_rawDescData = file_DealAddFriendResultType_proto_rawDesc +) + +func file_DealAddFriendResultType_proto_rawDescGZIP() []byte { + file_DealAddFriendResultType_proto_rawDescOnce.Do(func() { + file_DealAddFriendResultType_proto_rawDescData = protoimpl.X.CompressGZIP(file_DealAddFriendResultType_proto_rawDescData) + }) + return file_DealAddFriendResultType_proto_rawDescData +} + +var file_DealAddFriendResultType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DealAddFriendResultType_proto_goTypes = []interface{}{ + (DealAddFriendResultType)(0), // 0: DealAddFriendResultType +} +var file_DealAddFriendResultType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DealAddFriendResultType_proto_init() } +func file_DealAddFriendResultType_proto_init() { + if File_DealAddFriendResultType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DealAddFriendResultType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DealAddFriendResultType_proto_goTypes, + DependencyIndexes: file_DealAddFriendResultType_proto_depIdxs, + EnumInfos: file_DealAddFriendResultType_proto_enumTypes, + }.Build() + File_DealAddFriendResultType_proto = out.File + file_DealAddFriendResultType_proto_rawDesc = nil + file_DealAddFriendResultType_proto_goTypes = nil + file_DealAddFriendResultType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DealAddFriendResultType.proto b/gate-hk4e-api/proto/DealAddFriendResultType.proto new file mode 100644 index 00000000..1b9a7a47 --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendResultType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DealAddFriendResultType { + DEAL_ADD_FRIEND_RESULT_TYPE_REJECT = 0; + DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT = 1; +} diff --git a/gate-hk4e-api/proto/DealAddFriendRsp.pb.go b/gate-hk4e-api/proto/DealAddFriendRsp.pb.go new file mode 100644 index 00000000..7be392f5 --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DealAddFriendRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4090 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DealAddFriendRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,5,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + DealAddFriendResult DealAddFriendResultType `protobuf:"varint,6,opt,name=deal_add_friend_result,json=dealAddFriendResult,proto3,enum=DealAddFriendResultType" json:"deal_add_friend_result,omitempty"` +} + +func (x *DealAddFriendRsp) Reset() { + *x = DealAddFriendRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DealAddFriendRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DealAddFriendRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DealAddFriendRsp) ProtoMessage() {} + +func (x *DealAddFriendRsp) ProtoReflect() protoreflect.Message { + mi := &file_DealAddFriendRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DealAddFriendRsp.ProtoReflect.Descriptor instead. +func (*DealAddFriendRsp) Descriptor() ([]byte, []int) { + return file_DealAddFriendRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DealAddFriendRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DealAddFriendRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *DealAddFriendRsp) GetDealAddFriendResult() DealAddFriendResultType { + if x != nil { + return x.DealAddFriendResult + } + return DealAddFriendResultType_DEAL_ADD_FRIEND_RESULT_TYPE_REJECT +} + +var File_DealAddFriendRsp_proto protoreflect.FileDescriptor + +var file_DealAddFriendRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, + 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x16, 0x64, 0x65, 0x61, 0x6c, 0x5f, 0x61, 0x64, + 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x44, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x13, 0x64, 0x65, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DealAddFriendRsp_proto_rawDescOnce sync.Once + file_DealAddFriendRsp_proto_rawDescData = file_DealAddFriendRsp_proto_rawDesc +) + +func file_DealAddFriendRsp_proto_rawDescGZIP() []byte { + file_DealAddFriendRsp_proto_rawDescOnce.Do(func() { + file_DealAddFriendRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DealAddFriendRsp_proto_rawDescData) + }) + return file_DealAddFriendRsp_proto_rawDescData +} + +var file_DealAddFriendRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DealAddFriendRsp_proto_goTypes = []interface{}{ + (*DealAddFriendRsp)(nil), // 0: DealAddFriendRsp + (DealAddFriendResultType)(0), // 1: DealAddFriendResultType +} +var file_DealAddFriendRsp_proto_depIdxs = []int32{ + 1, // 0: DealAddFriendRsp.deal_add_friend_result:type_name -> DealAddFriendResultType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DealAddFriendRsp_proto_init() } +func file_DealAddFriendRsp_proto_init() { + if File_DealAddFriendRsp_proto != nil { + return + } + file_DealAddFriendResultType_proto_init() + if !protoimpl.UnsafeEnabled { + file_DealAddFriendRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DealAddFriendRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DealAddFriendRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DealAddFriendRsp_proto_goTypes, + DependencyIndexes: file_DealAddFriendRsp_proto_depIdxs, + MessageInfos: file_DealAddFriendRsp_proto_msgTypes, + }.Build() + File_DealAddFriendRsp_proto = out.File + file_DealAddFriendRsp_proto_rawDesc = nil + file_DealAddFriendRsp_proto_goTypes = nil + file_DealAddFriendRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DealAddFriendRsp.proto b/gate-hk4e-api/proto/DealAddFriendRsp.proto new file mode 100644 index 00000000..d3654778 --- /dev/null +++ b/gate-hk4e-api/proto/DealAddFriendRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DealAddFriendResultType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4090 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DealAddFriendRsp { + int32 retcode = 1; + uint32 target_uid = 5; + DealAddFriendResultType deal_add_friend_result = 6; +} diff --git a/gate-hk4e-api/proto/DebugNotify.pb.go b/gate-hk4e-api/proto/DebugNotify.pb.go new file mode 100644 index 00000000..59e7c82b --- /dev/null +++ b/gate-hk4e-api/proto/DebugNotify.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DebugNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DebugNotify_Retcode int32 + +const ( + DebugNotify_RETCODE_SUCC DebugNotify_Retcode = 0 + DebugNotify_RETCODE_FAIL DebugNotify_Retcode = 1 +) + +// Enum value maps for DebugNotify_Retcode. +var ( + DebugNotify_Retcode_name = map[int32]string{ + 0: "RETCODE_SUCC", + 1: "RETCODE_FAIL", + } + DebugNotify_Retcode_value = map[string]int32{ + "RETCODE_SUCC": 0, + "RETCODE_FAIL": 1, + } +) + +func (x DebugNotify_Retcode) Enum() *DebugNotify_Retcode { + p := new(DebugNotify_Retcode) + *p = x + return p +} + +func (x DebugNotify_Retcode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DebugNotify_Retcode) Descriptor() protoreflect.EnumDescriptor { + return file_DebugNotify_proto_enumTypes[0].Descriptor() +} + +func (DebugNotify_Retcode) Type() protoreflect.EnumType { + return &file_DebugNotify_proto_enumTypes[0] +} + +func (x DebugNotify_Retcode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DebugNotify_Retcode.Descriptor instead. +func (DebugNotify_Retcode) EnumDescriptor() ([]byte, []int) { + return file_DebugNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 101 +// TargetService: 101 +// EnetChannelId: 2 +// EnetIsReliable: true +type DebugNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Retcode DebugNotify_Retcode `protobuf:"varint,3,opt,name=retcode,proto3,enum=DebugNotify_Retcode" json:"retcode,omitempty"` +} + +func (x *DebugNotify) Reset() { + *x = DebugNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DebugNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DebugNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DebugNotify) ProtoMessage() {} + +func (x *DebugNotify) ProtoReflect() protoreflect.Message { + mi := &file_DebugNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DebugNotify.ProtoReflect.Descriptor instead. +func (*DebugNotify) Descriptor() ([]byte, []int) { + return file_DebugNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DebugNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *DebugNotify) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DebugNotify) GetRetcode() DebugNotify_Retcode { + if x != nil { + return x.Retcode + } + return DebugNotify_RETCODE_SUCC +} + +var File_DebugNotify_proto protoreflect.FileDescriptor + +var file_DebugNotify_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x52, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x2d, 0x0a, 0x07, 0x52, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x55, + 0x43, 0x43, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DebugNotify_proto_rawDescOnce sync.Once + file_DebugNotify_proto_rawDescData = file_DebugNotify_proto_rawDesc +) + +func file_DebugNotify_proto_rawDescGZIP() []byte { + file_DebugNotify_proto_rawDescOnce.Do(func() { + file_DebugNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DebugNotify_proto_rawDescData) + }) + return file_DebugNotify_proto_rawDescData +} + +var file_DebugNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DebugNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DebugNotify_proto_goTypes = []interface{}{ + (DebugNotify_Retcode)(0), // 0: DebugNotify.Retcode + (*DebugNotify)(nil), // 1: DebugNotify +} +var file_DebugNotify_proto_depIdxs = []int32{ + 0, // 0: DebugNotify.retcode:type_name -> DebugNotify.Retcode + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DebugNotify_proto_init() } +func file_DebugNotify_proto_init() { + if File_DebugNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DebugNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DebugNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DebugNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DebugNotify_proto_goTypes, + DependencyIndexes: file_DebugNotify_proto_depIdxs, + EnumInfos: file_DebugNotify_proto_enumTypes, + MessageInfos: file_DebugNotify_proto_msgTypes, + }.Build() + File_DebugNotify_proto = out.File + file_DebugNotify_proto_rawDesc = nil + file_DebugNotify_proto_goTypes = nil + file_DebugNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DebugNotify.proto b/gate-hk4e-api/proto/DebugNotify.proto new file mode 100644 index 00000000..68659611 --- /dev/null +++ b/gate-hk4e-api/proto/DebugNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 101 +// TargetService: 101 +// EnetChannelId: 2 +// EnetIsReliable: true +message DebugNotify { + uint32 id = 1; + string name = 2; + Retcode retcode = 3; + + enum Retcode { + RETCODE_SUCC = 0; + RETCODE_FAIL = 1; + } +} diff --git a/gate-hk4e-api/proto/DelMailReq.pb.go b/gate-hk4e-api/proto/DelMailReq.pb.go new file mode 100644 index 00000000..e25fe1d0 --- /dev/null +++ b/gate-hk4e-api/proto/DelMailReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DelMailReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DelMailReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MailIdList []uint32 `protobuf:"varint,12,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` +} + +func (x *DelMailReq) Reset() { + *x = DelMailReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DelMailReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelMailReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelMailReq) ProtoMessage() {} + +func (x *DelMailReq) ProtoReflect() protoreflect.Message { + mi := &file_DelMailReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelMailReq.ProtoReflect.Descriptor instead. +func (*DelMailReq) Descriptor() ([]byte, []int) { + return file_DelMailReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DelMailReq) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +var File_DelMailReq_proto protoreflect.FileDescriptor + +var file_DelMailReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, + 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DelMailReq_proto_rawDescOnce sync.Once + file_DelMailReq_proto_rawDescData = file_DelMailReq_proto_rawDesc +) + +func file_DelMailReq_proto_rawDescGZIP() []byte { + file_DelMailReq_proto_rawDescOnce.Do(func() { + file_DelMailReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DelMailReq_proto_rawDescData) + }) + return file_DelMailReq_proto_rawDescData +} + +var file_DelMailReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DelMailReq_proto_goTypes = []interface{}{ + (*DelMailReq)(nil), // 0: DelMailReq +} +var file_DelMailReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DelMailReq_proto_init() } +func file_DelMailReq_proto_init() { + if File_DelMailReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DelMailReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelMailReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DelMailReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DelMailReq_proto_goTypes, + DependencyIndexes: file_DelMailReq_proto_depIdxs, + MessageInfos: file_DelMailReq_proto_msgTypes, + }.Build() + File_DelMailReq_proto = out.File + file_DelMailReq_proto_rawDesc = nil + file_DelMailReq_proto_goTypes = nil + file_DelMailReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DelMailReq.proto b/gate-hk4e-api/proto/DelMailReq.proto new file mode 100644 index 00000000..4d6936fc --- /dev/null +++ b/gate-hk4e-api/proto/DelMailReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DelMailReq { + repeated uint32 mail_id_list = 12; +} diff --git a/gate-hk4e-api/proto/DelMailRsp.pb.go b/gate-hk4e-api/proto/DelMailRsp.pb.go new file mode 100644 index 00000000..e69b7304 --- /dev/null +++ b/gate-hk4e-api/proto/DelMailRsp.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DelMailRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1403 +// EnetChannelId: 0 +// EnetIsReliable: true +type DelMailRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + MailIdList []uint32 `protobuf:"varint,5,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` +} + +func (x *DelMailRsp) Reset() { + *x = DelMailRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DelMailRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelMailRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelMailRsp) ProtoMessage() {} + +func (x *DelMailRsp) ProtoReflect() protoreflect.Message { + mi := &file_DelMailRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelMailRsp.ProtoReflect.Descriptor instead. +func (*DelMailRsp) Descriptor() ([]byte, []int) { + return file_DelMailRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DelMailRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DelMailRsp) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +var File_DelMailRsp_proto protoreflect.FileDescriptor + +var file_DelMailRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, + 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DelMailRsp_proto_rawDescOnce sync.Once + file_DelMailRsp_proto_rawDescData = file_DelMailRsp_proto_rawDesc +) + +func file_DelMailRsp_proto_rawDescGZIP() []byte { + file_DelMailRsp_proto_rawDescOnce.Do(func() { + file_DelMailRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DelMailRsp_proto_rawDescData) + }) + return file_DelMailRsp_proto_rawDescData +} + +var file_DelMailRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DelMailRsp_proto_goTypes = []interface{}{ + (*DelMailRsp)(nil), // 0: DelMailRsp +} +var file_DelMailRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DelMailRsp_proto_init() } +func file_DelMailRsp_proto_init() { + if File_DelMailRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DelMailRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelMailRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DelMailRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DelMailRsp_proto_goTypes, + DependencyIndexes: file_DelMailRsp_proto_depIdxs, + MessageInfos: file_DelMailRsp_proto_msgTypes, + }.Build() + File_DelMailRsp_proto = out.File + file_DelMailRsp_proto_rawDesc = nil + file_DelMailRsp_proto_goTypes = nil + file_DelMailRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DelMailRsp.proto b/gate-hk4e-api/proto/DelMailRsp.proto new file mode 100644 index 00000000..0e0bec86 --- /dev/null +++ b/gate-hk4e-api/proto/DelMailRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1403 +// EnetChannelId: 0 +// EnetIsReliable: true +message DelMailRsp { + int32 retcode = 11; + repeated uint32 mail_id_list = 5; +} diff --git a/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.pb.go b/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.pb.go new file mode 100644 index 00000000..df61443f --- /dev/null +++ b/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DelScenePlayTeamEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3318 +// EnetChannelId: 0 +// EnetIsReliable: true +type DelScenePlayTeamEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelEntityIdList []uint32 `protobuf:"varint,2,rep,packed,name=del_entity_id_list,json=delEntityIdList,proto3" json:"del_entity_id_list,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *DelScenePlayTeamEntityNotify) Reset() { + *x = DelScenePlayTeamEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DelScenePlayTeamEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelScenePlayTeamEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelScenePlayTeamEntityNotify) ProtoMessage() {} + +func (x *DelScenePlayTeamEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_DelScenePlayTeamEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelScenePlayTeamEntityNotify.ProtoReflect.Descriptor instead. +func (*DelScenePlayTeamEntityNotify) Descriptor() ([]byte, []int) { + return file_DelScenePlayTeamEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DelScenePlayTeamEntityNotify) GetDelEntityIdList() []uint32 { + if x != nil { + return x.DelEntityIdList + } + return nil +} + +func (x *DelScenePlayTeamEntityNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_DelScenePlayTeamEntityNotify_proto protoreflect.FileDescriptor + +var file_DelScenePlayTeamEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x65, + 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2b, 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DelScenePlayTeamEntityNotify_proto_rawDescOnce sync.Once + file_DelScenePlayTeamEntityNotify_proto_rawDescData = file_DelScenePlayTeamEntityNotify_proto_rawDesc +) + +func file_DelScenePlayTeamEntityNotify_proto_rawDescGZIP() []byte { + file_DelScenePlayTeamEntityNotify_proto_rawDescOnce.Do(func() { + file_DelScenePlayTeamEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DelScenePlayTeamEntityNotify_proto_rawDescData) + }) + return file_DelScenePlayTeamEntityNotify_proto_rawDescData +} + +var file_DelScenePlayTeamEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DelScenePlayTeamEntityNotify_proto_goTypes = []interface{}{ + (*DelScenePlayTeamEntityNotify)(nil), // 0: DelScenePlayTeamEntityNotify +} +var file_DelScenePlayTeamEntityNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DelScenePlayTeamEntityNotify_proto_init() } +func file_DelScenePlayTeamEntityNotify_proto_init() { + if File_DelScenePlayTeamEntityNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DelScenePlayTeamEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelScenePlayTeamEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DelScenePlayTeamEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DelScenePlayTeamEntityNotify_proto_goTypes, + DependencyIndexes: file_DelScenePlayTeamEntityNotify_proto_depIdxs, + MessageInfos: file_DelScenePlayTeamEntityNotify_proto_msgTypes, + }.Build() + File_DelScenePlayTeamEntityNotify_proto = out.File + file_DelScenePlayTeamEntityNotify_proto_rawDesc = nil + file_DelScenePlayTeamEntityNotify_proto_goTypes = nil + file_DelScenePlayTeamEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.proto b/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.proto new file mode 100644 index 00000000..2c3cdafe --- /dev/null +++ b/gate-hk4e-api/proto/DelScenePlayTeamEntityNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3318 +// EnetChannelId: 0 +// EnetIsReliable: true +message DelScenePlayTeamEntityNotify { + repeated uint32 del_entity_id_list = 2; + uint32 scene_id = 4; +} diff --git a/gate-hk4e-api/proto/DelTeamEntityNotify.pb.go b/gate-hk4e-api/proto/DelTeamEntityNotify.pb.go new file mode 100644 index 00000000..ebd185b1 --- /dev/null +++ b/gate-hk4e-api/proto/DelTeamEntityNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DelTeamEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 302 +// EnetChannelId: 0 +// EnetIsReliable: true +type DelTeamEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelEntityIdList []uint32 `protobuf:"varint,15,rep,packed,name=del_entity_id_list,json=delEntityIdList,proto3" json:"del_entity_id_list,omitempty"` + SceneId uint32 `protobuf:"varint,8,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *DelTeamEntityNotify) Reset() { + *x = DelTeamEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DelTeamEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelTeamEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelTeamEntityNotify) ProtoMessage() {} + +func (x *DelTeamEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_DelTeamEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelTeamEntityNotify.ProtoReflect.Descriptor instead. +func (*DelTeamEntityNotify) Descriptor() ([]byte, []int) { + return file_DelTeamEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DelTeamEntityNotify) GetDelEntityIdList() []uint32 { + if x != nil { + return x.DelEntityIdList + } + return nil +} + +func (x *DelTeamEntityNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_DelTeamEntityNotify_proto protoreflect.FileDescriptor + +var file_DelTeamEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x13, 0x44, + 0x65, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x2b, 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, + 0x64, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DelTeamEntityNotify_proto_rawDescOnce sync.Once + file_DelTeamEntityNotify_proto_rawDescData = file_DelTeamEntityNotify_proto_rawDesc +) + +func file_DelTeamEntityNotify_proto_rawDescGZIP() []byte { + file_DelTeamEntityNotify_proto_rawDescOnce.Do(func() { + file_DelTeamEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DelTeamEntityNotify_proto_rawDescData) + }) + return file_DelTeamEntityNotify_proto_rawDescData +} + +var file_DelTeamEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DelTeamEntityNotify_proto_goTypes = []interface{}{ + (*DelTeamEntityNotify)(nil), // 0: DelTeamEntityNotify +} +var file_DelTeamEntityNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DelTeamEntityNotify_proto_init() } +func file_DelTeamEntityNotify_proto_init() { + if File_DelTeamEntityNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DelTeamEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelTeamEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DelTeamEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DelTeamEntityNotify_proto_goTypes, + DependencyIndexes: file_DelTeamEntityNotify_proto_depIdxs, + MessageInfos: file_DelTeamEntityNotify_proto_msgTypes, + }.Build() + File_DelTeamEntityNotify_proto = out.File + file_DelTeamEntityNotify_proto_rawDesc = nil + file_DelTeamEntityNotify_proto_goTypes = nil + file_DelTeamEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DelTeamEntityNotify.proto b/gate-hk4e-api/proto/DelTeamEntityNotify.proto new file mode 100644 index 00000000..694ac552 --- /dev/null +++ b/gate-hk4e-api/proto/DelTeamEntityNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 302 +// EnetChannelId: 0 +// EnetIsReliable: true +message DelTeamEntityNotify { + repeated uint32 del_entity_id_list = 15; + uint32 scene_id = 8; +} diff --git a/gate-hk4e-api/proto/DeleteFriendNotify.pb.go b/gate-hk4e-api/proto/DeleteFriendNotify.pb.go new file mode 100644 index 00000000..67427ef1 --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DeleteFriendNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4053 +// EnetChannelId: 0 +// EnetIsReliable: true +type DeleteFriendNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,12,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *DeleteFriendNotify) Reset() { + *x = DeleteFriendNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DeleteFriendNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteFriendNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteFriendNotify) ProtoMessage() {} + +func (x *DeleteFriendNotify) ProtoReflect() protoreflect.Message { + mi := &file_DeleteFriendNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteFriendNotify.ProtoReflect.Descriptor instead. +func (*DeleteFriendNotify) Descriptor() ([]byte, []int) { + return file_DeleteFriendNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DeleteFriendNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_DeleteFriendNotify_proto protoreflect.FileDescriptor + +var file_DeleteFriendNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_DeleteFriendNotify_proto_rawDescOnce sync.Once + file_DeleteFriendNotify_proto_rawDescData = file_DeleteFriendNotify_proto_rawDesc +) + +func file_DeleteFriendNotify_proto_rawDescGZIP() []byte { + file_DeleteFriendNotify_proto_rawDescOnce.Do(func() { + file_DeleteFriendNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeleteFriendNotify_proto_rawDescData) + }) + return file_DeleteFriendNotify_proto_rawDescData +} + +var file_DeleteFriendNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DeleteFriendNotify_proto_goTypes = []interface{}{ + (*DeleteFriendNotify)(nil), // 0: DeleteFriendNotify +} +var file_DeleteFriendNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DeleteFriendNotify_proto_init() } +func file_DeleteFriendNotify_proto_init() { + if File_DeleteFriendNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DeleteFriendNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteFriendNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DeleteFriendNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DeleteFriendNotify_proto_goTypes, + DependencyIndexes: file_DeleteFriendNotify_proto_depIdxs, + MessageInfos: file_DeleteFriendNotify_proto_msgTypes, + }.Build() + File_DeleteFriendNotify_proto = out.File + file_DeleteFriendNotify_proto_rawDesc = nil + file_DeleteFriendNotify_proto_goTypes = nil + file_DeleteFriendNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DeleteFriendNotify.proto b/gate-hk4e-api/proto/DeleteFriendNotify.proto new file mode 100644 index 00000000..ba014809 --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4053 +// EnetChannelId: 0 +// EnetIsReliable: true +message DeleteFriendNotify { + uint32 target_uid = 12; +} diff --git a/gate-hk4e-api/proto/DeleteFriendReq.pb.go b/gate-hk4e-api/proto/DeleteFriendReq.pb.go new file mode 100644 index 00000000..81e3f1fc --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DeleteFriendReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4031 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DeleteFriendReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,13,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *DeleteFriendReq) Reset() { + *x = DeleteFriendReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DeleteFriendReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteFriendReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteFriendReq) ProtoMessage() {} + +func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message { + mi := &file_DeleteFriendReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead. +func (*DeleteFriendReq) Descriptor() ([]byte, []int) { + return file_DeleteFriendReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DeleteFriendReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_DeleteFriendReq_proto protoreflect.FileDescriptor + +var file_DeleteFriendReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DeleteFriendReq_proto_rawDescOnce sync.Once + file_DeleteFriendReq_proto_rawDescData = file_DeleteFriendReq_proto_rawDesc +) + +func file_DeleteFriendReq_proto_rawDescGZIP() []byte { + file_DeleteFriendReq_proto_rawDescOnce.Do(func() { + file_DeleteFriendReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeleteFriendReq_proto_rawDescData) + }) + return file_DeleteFriendReq_proto_rawDescData +} + +var file_DeleteFriendReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DeleteFriendReq_proto_goTypes = []interface{}{ + (*DeleteFriendReq)(nil), // 0: DeleteFriendReq +} +var file_DeleteFriendReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DeleteFriendReq_proto_init() } +func file_DeleteFriendReq_proto_init() { + if File_DeleteFriendReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DeleteFriendReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteFriendReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DeleteFriendReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DeleteFriendReq_proto_goTypes, + DependencyIndexes: file_DeleteFriendReq_proto_depIdxs, + MessageInfos: file_DeleteFriendReq_proto_msgTypes, + }.Build() + File_DeleteFriendReq_proto = out.File + file_DeleteFriendReq_proto_rawDesc = nil + file_DeleteFriendReq_proto_goTypes = nil + file_DeleteFriendReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DeleteFriendReq.proto b/gate-hk4e-api/proto/DeleteFriendReq.proto new file mode 100644 index 00000000..48b7ba44 --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4031 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DeleteFriendReq { + uint32 target_uid = 13; +} diff --git a/gate-hk4e-api/proto/DeleteFriendRsp.pb.go b/gate-hk4e-api/proto/DeleteFriendRsp.pb.go new file mode 100644 index 00000000..55e851e9 --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DeleteFriendRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4075 +// EnetChannelId: 0 +// EnetIsReliable: true +type DeleteFriendRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,14,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DeleteFriendRsp) Reset() { + *x = DeleteFriendRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DeleteFriendRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteFriendRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteFriendRsp) ProtoMessage() {} + +func (x *DeleteFriendRsp) ProtoReflect() protoreflect.Message { + mi := &file_DeleteFriendRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteFriendRsp.ProtoReflect.Descriptor instead. +func (*DeleteFriendRsp) Descriptor() ([]byte, []int) { + return file_DeleteFriendRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DeleteFriendRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *DeleteFriendRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DeleteFriendRsp_proto protoreflect.FileDescriptor + +var file_DeleteFriendRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DeleteFriendRsp_proto_rawDescOnce sync.Once + file_DeleteFriendRsp_proto_rawDescData = file_DeleteFriendRsp_proto_rawDesc +) + +func file_DeleteFriendRsp_proto_rawDescGZIP() []byte { + file_DeleteFriendRsp_proto_rawDescOnce.Do(func() { + file_DeleteFriendRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeleteFriendRsp_proto_rawDescData) + }) + return file_DeleteFriendRsp_proto_rawDescData +} + +var file_DeleteFriendRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DeleteFriendRsp_proto_goTypes = []interface{}{ + (*DeleteFriendRsp)(nil), // 0: DeleteFriendRsp +} +var file_DeleteFriendRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DeleteFriendRsp_proto_init() } +func file_DeleteFriendRsp_proto_init() { + if File_DeleteFriendRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DeleteFriendRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteFriendRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DeleteFriendRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DeleteFriendRsp_proto_goTypes, + DependencyIndexes: file_DeleteFriendRsp_proto_depIdxs, + MessageInfos: file_DeleteFriendRsp_proto_msgTypes, + }.Build() + File_DeleteFriendRsp_proto = out.File + file_DeleteFriendRsp_proto_rawDesc = nil + file_DeleteFriendRsp_proto_goTypes = nil + file_DeleteFriendRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DeleteFriendRsp.proto b/gate-hk4e-api/proto/DeleteFriendRsp.proto new file mode 100644 index 00000000..3aed9953 --- /dev/null +++ b/gate-hk4e-api/proto/DeleteFriendRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4075 +// EnetChannelId: 0 +// EnetIsReliable: true +message DeleteFriendRsp { + uint32 target_uid = 14; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/DeliveryActivityDetailInfo.pb.go b/gate-hk4e-api/proto/DeliveryActivityDetailInfo.pb.go new file mode 100644 index 00000000..efe20b60 --- /dev/null +++ b/gate-hk4e-api/proto/DeliveryActivityDetailInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DeliveryActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DeliveryActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DayIndex uint32 `protobuf:"varint,14,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` + IsTakenReward bool `protobuf:"varint,13,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` + FinishedDeliveryQuestIndex []uint32 `protobuf:"varint,4,rep,packed,name=finished_delivery_quest_index,json=finishedDeliveryQuestIndex,proto3" json:"finished_delivery_quest_index,omitempty"` +} + +func (x *DeliveryActivityDetailInfo) Reset() { + *x = DeliveryActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DeliveryActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeliveryActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeliveryActivityDetailInfo) ProtoMessage() {} + +func (x *DeliveryActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_DeliveryActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeliveryActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*DeliveryActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_DeliveryActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DeliveryActivityDetailInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +func (x *DeliveryActivityDetailInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +func (x *DeliveryActivityDetailInfo) GetFinishedDeliveryQuestIndex() []uint32 { + if x != nil { + return x.FinishedDeliveryQuestIndex + } + return nil +} + +var File_DeliveryActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_DeliveryActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, + 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x41, 0x0a, 0x1d, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1a, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DeliveryActivityDetailInfo_proto_rawDescOnce sync.Once + file_DeliveryActivityDetailInfo_proto_rawDescData = file_DeliveryActivityDetailInfo_proto_rawDesc +) + +func file_DeliveryActivityDetailInfo_proto_rawDescGZIP() []byte { + file_DeliveryActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_DeliveryActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeliveryActivityDetailInfo_proto_rawDescData) + }) + return file_DeliveryActivityDetailInfo_proto_rawDescData +} + +var file_DeliveryActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DeliveryActivityDetailInfo_proto_goTypes = []interface{}{ + (*DeliveryActivityDetailInfo)(nil), // 0: DeliveryActivityDetailInfo +} +var file_DeliveryActivityDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DeliveryActivityDetailInfo_proto_init() } +func file_DeliveryActivityDetailInfo_proto_init() { + if File_DeliveryActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DeliveryActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeliveryActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DeliveryActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DeliveryActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_DeliveryActivityDetailInfo_proto_depIdxs, + MessageInfos: file_DeliveryActivityDetailInfo_proto_msgTypes, + }.Build() + File_DeliveryActivityDetailInfo_proto = out.File + file_DeliveryActivityDetailInfo_proto_rawDesc = nil + file_DeliveryActivityDetailInfo_proto_goTypes = nil + file_DeliveryActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DeliveryActivityDetailInfo.proto b/gate-hk4e-api/proto/DeliveryActivityDetailInfo.proto new file mode 100644 index 00000000..0fbe8801 --- /dev/null +++ b/gate-hk4e-api/proto/DeliveryActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message DeliveryActivityDetailInfo { + uint32 day_index = 14; + bool is_taken_reward = 13; + repeated uint32 finished_delivery_quest_index = 4; +} diff --git a/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.pb.go b/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.pb.go new file mode 100644 index 00000000..7518803a --- /dev/null +++ b/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DeshretObeliskGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DeshretObeliskGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArgumentList []uint32 `protobuf:"varint,1,rep,packed,name=argument_list,json=argumentList,proto3" json:"argument_list,omitempty"` +} + +func (x *DeshretObeliskGadgetInfo) Reset() { + *x = DeshretObeliskGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DeshretObeliskGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeshretObeliskGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeshretObeliskGadgetInfo) ProtoMessage() {} + +func (x *DeshretObeliskGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_DeshretObeliskGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeshretObeliskGadgetInfo.ProtoReflect.Descriptor instead. +func (*DeshretObeliskGadgetInfo) Descriptor() ([]byte, []int) { + return file_DeshretObeliskGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DeshretObeliskGadgetInfo) GetArgumentList() []uint32 { + if x != nil { + return x.ArgumentList + } + return nil +} + +var File_DeshretObeliskGadgetInfo_proto protoreflect.FileDescriptor + +var file_DeshretObeliskGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x65, 0x73, 0x68, 0x72, 0x65, 0x74, 0x4f, 0x62, 0x65, 0x6c, 0x69, 0x73, 0x6b, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x3f, 0x0a, 0x18, 0x44, 0x65, 0x73, 0x68, 0x72, 0x65, 0x74, 0x4f, 0x62, 0x65, 0x6c, 0x69, + 0x73, 0x6b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, + 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DeshretObeliskGadgetInfo_proto_rawDescOnce sync.Once + file_DeshretObeliskGadgetInfo_proto_rawDescData = file_DeshretObeliskGadgetInfo_proto_rawDesc +) + +func file_DeshretObeliskGadgetInfo_proto_rawDescGZIP() []byte { + file_DeshretObeliskGadgetInfo_proto_rawDescOnce.Do(func() { + file_DeshretObeliskGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeshretObeliskGadgetInfo_proto_rawDescData) + }) + return file_DeshretObeliskGadgetInfo_proto_rawDescData +} + +var file_DeshretObeliskGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DeshretObeliskGadgetInfo_proto_goTypes = []interface{}{ + (*DeshretObeliskGadgetInfo)(nil), // 0: DeshretObeliskGadgetInfo +} +var file_DeshretObeliskGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DeshretObeliskGadgetInfo_proto_init() } +func file_DeshretObeliskGadgetInfo_proto_init() { + if File_DeshretObeliskGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DeshretObeliskGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeshretObeliskGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DeshretObeliskGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DeshretObeliskGadgetInfo_proto_goTypes, + DependencyIndexes: file_DeshretObeliskGadgetInfo_proto_depIdxs, + MessageInfos: file_DeshretObeliskGadgetInfo_proto_msgTypes, + }.Build() + File_DeshretObeliskGadgetInfo_proto = out.File + file_DeshretObeliskGadgetInfo_proto_rawDesc = nil + file_DeshretObeliskGadgetInfo_proto_goTypes = nil + file_DeshretObeliskGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.proto b/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.proto new file mode 100644 index 00000000..48dba539 --- /dev/null +++ b/gate-hk4e-api/proto/DeshretObeliskGadgetInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message DeshretObeliskGadgetInfo { + repeated uint32 argument_list = 1; +} diff --git a/gate-hk4e-api/proto/DestroyMassiveEntityNotify.pb.go b/gate-hk4e-api/proto/DestroyMassiveEntityNotify.pb.go new file mode 100644 index 00000000..7b352ea7 --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMassiveEntityNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DestroyMassiveEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 358 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DestroyMassiveEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MassiveEntityList []*ClientMassiveEntity `protobuf:"bytes,7,rep,name=massive_entity_list,json=massiveEntityList,proto3" json:"massive_entity_list,omitempty"` +} + +func (x *DestroyMassiveEntityNotify) Reset() { + *x = DestroyMassiveEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DestroyMassiveEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DestroyMassiveEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DestroyMassiveEntityNotify) ProtoMessage() {} + +func (x *DestroyMassiveEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_DestroyMassiveEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DestroyMassiveEntityNotify.ProtoReflect.Descriptor instead. +func (*DestroyMassiveEntityNotify) Descriptor() ([]byte, []int) { + return file_DestroyMassiveEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DestroyMassiveEntityNotify) GetMassiveEntityList() []*ClientMassiveEntity { + if x != nil { + return x.MassiveEntityList + } + return nil +} + +var File_DestroyMassiveEntityNotify_proto protoreflect.FileDescriptor + +var file_DestroyMassiveEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, + 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, + 0x1a, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x13, 0x6d, + 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x11, + 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DestroyMassiveEntityNotify_proto_rawDescOnce sync.Once + file_DestroyMassiveEntityNotify_proto_rawDescData = file_DestroyMassiveEntityNotify_proto_rawDesc +) + +func file_DestroyMassiveEntityNotify_proto_rawDescGZIP() []byte { + file_DestroyMassiveEntityNotify_proto_rawDescOnce.Do(func() { + file_DestroyMassiveEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DestroyMassiveEntityNotify_proto_rawDescData) + }) + return file_DestroyMassiveEntityNotify_proto_rawDescData +} + +var file_DestroyMassiveEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DestroyMassiveEntityNotify_proto_goTypes = []interface{}{ + (*DestroyMassiveEntityNotify)(nil), // 0: DestroyMassiveEntityNotify + (*ClientMassiveEntity)(nil), // 1: ClientMassiveEntity +} +var file_DestroyMassiveEntityNotify_proto_depIdxs = []int32{ + 1, // 0: DestroyMassiveEntityNotify.massive_entity_list:type_name -> ClientMassiveEntity + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DestroyMassiveEntityNotify_proto_init() } +func file_DestroyMassiveEntityNotify_proto_init() { + if File_DestroyMassiveEntityNotify_proto != nil { + return + } + file_ClientMassiveEntity_proto_init() + if !protoimpl.UnsafeEnabled { + file_DestroyMassiveEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyMassiveEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DestroyMassiveEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DestroyMassiveEntityNotify_proto_goTypes, + DependencyIndexes: file_DestroyMassiveEntityNotify_proto_depIdxs, + MessageInfos: file_DestroyMassiveEntityNotify_proto_msgTypes, + }.Build() + File_DestroyMassiveEntityNotify_proto = out.File + file_DestroyMassiveEntityNotify_proto_rawDesc = nil + file_DestroyMassiveEntityNotify_proto_goTypes = nil + file_DestroyMassiveEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DestroyMassiveEntityNotify.proto b/gate-hk4e-api/proto/DestroyMassiveEntityNotify.proto new file mode 100644 index 00000000..4aef7942 --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMassiveEntityNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ClientMassiveEntity.proto"; + +option go_package = "./;proto"; + +// CmdId: 358 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DestroyMassiveEntityNotify { + repeated ClientMassiveEntity massive_entity_list = 7; +} diff --git a/gate-hk4e-api/proto/DestroyMaterialReq.pb.go b/gate-hk4e-api/proto/DestroyMaterialReq.pb.go new file mode 100644 index 00000000..8af5605f --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMaterialReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DestroyMaterialReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DestroyMaterialReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialList []*MaterialInfo `protobuf:"bytes,5,rep,name=material_list,json=materialList,proto3" json:"material_list,omitempty"` +} + +func (x *DestroyMaterialReq) Reset() { + *x = DestroyMaterialReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DestroyMaterialReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DestroyMaterialReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DestroyMaterialReq) ProtoMessage() {} + +func (x *DestroyMaterialReq) ProtoReflect() protoreflect.Message { + mi := &file_DestroyMaterialReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DestroyMaterialReq.ProtoReflect.Descriptor instead. +func (*DestroyMaterialReq) Descriptor() ([]byte, []int) { + return file_DestroyMaterialReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DestroyMaterialReq) GetMaterialList() []*MaterialInfo { + if x != nil { + return x.MaterialList + } + return nil +} + +var File_DestroyMaterialReq_proto protoreflect.FileDescriptor + +var file_DestroyMaterialReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, + 0x0a, 0x12, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x52, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DestroyMaterialReq_proto_rawDescOnce sync.Once + file_DestroyMaterialReq_proto_rawDescData = file_DestroyMaterialReq_proto_rawDesc +) + +func file_DestroyMaterialReq_proto_rawDescGZIP() []byte { + file_DestroyMaterialReq_proto_rawDescOnce.Do(func() { + file_DestroyMaterialReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DestroyMaterialReq_proto_rawDescData) + }) + return file_DestroyMaterialReq_proto_rawDescData +} + +var file_DestroyMaterialReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DestroyMaterialReq_proto_goTypes = []interface{}{ + (*DestroyMaterialReq)(nil), // 0: DestroyMaterialReq + (*MaterialInfo)(nil), // 1: MaterialInfo +} +var file_DestroyMaterialReq_proto_depIdxs = []int32{ + 1, // 0: DestroyMaterialReq.material_list:type_name -> MaterialInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DestroyMaterialReq_proto_init() } +func file_DestroyMaterialReq_proto_init() { + if File_DestroyMaterialReq_proto != nil { + return + } + file_MaterialInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DestroyMaterialReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyMaterialReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DestroyMaterialReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DestroyMaterialReq_proto_goTypes, + DependencyIndexes: file_DestroyMaterialReq_proto_depIdxs, + MessageInfos: file_DestroyMaterialReq_proto_msgTypes, + }.Build() + File_DestroyMaterialReq_proto = out.File + file_DestroyMaterialReq_proto_rawDesc = nil + file_DestroyMaterialReq_proto_goTypes = nil + file_DestroyMaterialReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DestroyMaterialReq.proto b/gate-hk4e-api/proto/DestroyMaterialReq.proto new file mode 100644 index 00000000..e3a661a7 --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMaterialReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MaterialInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DestroyMaterialReq { + repeated MaterialInfo material_list = 5; +} diff --git a/gate-hk4e-api/proto/DestroyMaterialRsp.pb.go b/gate-hk4e-api/proto/DestroyMaterialRsp.pb.go new file mode 100644 index 00000000..ce1c4bf5 --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMaterialRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DestroyMaterialRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 618 +// EnetChannelId: 0 +// EnetIsReliable: true +type DestroyMaterialRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemCountList []uint32 `protobuf:"varint,12,rep,packed,name=item_count_list,json=itemCountList,proto3" json:"item_count_list,omitempty"` + ItemIdList []uint32 `protobuf:"varint,13,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DestroyMaterialRsp) Reset() { + *x = DestroyMaterialRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DestroyMaterialRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DestroyMaterialRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DestroyMaterialRsp) ProtoMessage() {} + +func (x *DestroyMaterialRsp) ProtoReflect() protoreflect.Message { + mi := &file_DestroyMaterialRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DestroyMaterialRsp.ProtoReflect.Descriptor instead. +func (*DestroyMaterialRsp) Descriptor() ([]byte, []int) { + return file_DestroyMaterialRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DestroyMaterialRsp) GetItemCountList() []uint32 { + if x != nil { + return x.ItemCountList + } + return nil +} + +func (x *DestroyMaterialRsp) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +func (x *DestroyMaterialRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DestroyMaterialRsp_proto protoreflect.FileDescriptor + +var file_DestroyMaterialRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x12, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x73, 0x70, + 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DestroyMaterialRsp_proto_rawDescOnce sync.Once + file_DestroyMaterialRsp_proto_rawDescData = file_DestroyMaterialRsp_proto_rawDesc +) + +func file_DestroyMaterialRsp_proto_rawDescGZIP() []byte { + file_DestroyMaterialRsp_proto_rawDescOnce.Do(func() { + file_DestroyMaterialRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DestroyMaterialRsp_proto_rawDescData) + }) + return file_DestroyMaterialRsp_proto_rawDescData +} + +var file_DestroyMaterialRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DestroyMaterialRsp_proto_goTypes = []interface{}{ + (*DestroyMaterialRsp)(nil), // 0: DestroyMaterialRsp +} +var file_DestroyMaterialRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DestroyMaterialRsp_proto_init() } +func file_DestroyMaterialRsp_proto_init() { + if File_DestroyMaterialRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DestroyMaterialRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyMaterialRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DestroyMaterialRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DestroyMaterialRsp_proto_goTypes, + DependencyIndexes: file_DestroyMaterialRsp_proto_depIdxs, + MessageInfos: file_DestroyMaterialRsp_proto_msgTypes, + }.Build() + File_DestroyMaterialRsp_proto = out.File + file_DestroyMaterialRsp_proto_rawDesc = nil + file_DestroyMaterialRsp_proto_goTypes = nil + file_DestroyMaterialRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DestroyMaterialRsp.proto b/gate-hk4e-api/proto/DestroyMaterialRsp.proto new file mode 100644 index 00000000..6e4567ad --- /dev/null +++ b/gate-hk4e-api/proto/DestroyMaterialRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 618 +// EnetChannelId: 0 +// EnetIsReliable: true +message DestroyMaterialRsp { + repeated uint32 item_count_list = 12; + repeated uint32 item_id_list = 13; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.pb.go b/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.pb.go new file mode 100644 index 00000000..2453ec02 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DigActivityChangeGadgetStateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8464 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DigActivityChangeGadgetStateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *DigActivityChangeGadgetStateReq) Reset() { + *x = DigActivityChangeGadgetStateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DigActivityChangeGadgetStateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DigActivityChangeGadgetStateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DigActivityChangeGadgetStateReq) ProtoMessage() {} + +func (x *DigActivityChangeGadgetStateReq) ProtoReflect() protoreflect.Message { + mi := &file_DigActivityChangeGadgetStateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DigActivityChangeGadgetStateReq.ProtoReflect.Descriptor instead. +func (*DigActivityChangeGadgetStateReq) Descriptor() ([]byte, []int) { + return file_DigActivityChangeGadgetStateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DigActivityChangeGadgetStateReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_DigActivityChangeGadgetStateReq_proto protoreflect.FileDescriptor + +var file_DigActivityChangeGadgetStateReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1f, 0x44, 0x69, 0x67, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DigActivityChangeGadgetStateReq_proto_rawDescOnce sync.Once + file_DigActivityChangeGadgetStateReq_proto_rawDescData = file_DigActivityChangeGadgetStateReq_proto_rawDesc +) + +func file_DigActivityChangeGadgetStateReq_proto_rawDescGZIP() []byte { + file_DigActivityChangeGadgetStateReq_proto_rawDescOnce.Do(func() { + file_DigActivityChangeGadgetStateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DigActivityChangeGadgetStateReq_proto_rawDescData) + }) + return file_DigActivityChangeGadgetStateReq_proto_rawDescData +} + +var file_DigActivityChangeGadgetStateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DigActivityChangeGadgetStateReq_proto_goTypes = []interface{}{ + (*DigActivityChangeGadgetStateReq)(nil), // 0: DigActivityChangeGadgetStateReq +} +var file_DigActivityChangeGadgetStateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DigActivityChangeGadgetStateReq_proto_init() } +func file_DigActivityChangeGadgetStateReq_proto_init() { + if File_DigActivityChangeGadgetStateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DigActivityChangeGadgetStateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DigActivityChangeGadgetStateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DigActivityChangeGadgetStateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DigActivityChangeGadgetStateReq_proto_goTypes, + DependencyIndexes: file_DigActivityChangeGadgetStateReq_proto_depIdxs, + MessageInfos: file_DigActivityChangeGadgetStateReq_proto_msgTypes, + }.Build() + File_DigActivityChangeGadgetStateReq_proto = out.File + file_DigActivityChangeGadgetStateReq_proto_rawDesc = nil + file_DigActivityChangeGadgetStateReq_proto_goTypes = nil + file_DigActivityChangeGadgetStateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.proto b/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.proto new file mode 100644 index 00000000..db46dd5d --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityChangeGadgetStateReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8464 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DigActivityChangeGadgetStateReq { + uint32 entity_id = 10; +} diff --git a/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.pb.go b/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.pb.go new file mode 100644 index 00000000..292ecf40 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DigActivityChangeGadgetStateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8430 +// EnetChannelId: 0 +// EnetIsReliable: true +type DigActivityChangeGadgetStateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DigActivityChangeGadgetStateRsp) Reset() { + *x = DigActivityChangeGadgetStateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DigActivityChangeGadgetStateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DigActivityChangeGadgetStateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DigActivityChangeGadgetStateRsp) ProtoMessage() {} + +func (x *DigActivityChangeGadgetStateRsp) ProtoReflect() protoreflect.Message { + mi := &file_DigActivityChangeGadgetStateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DigActivityChangeGadgetStateRsp.ProtoReflect.Descriptor instead. +func (*DigActivityChangeGadgetStateRsp) Descriptor() ([]byte, []int) { + return file_DigActivityChangeGadgetStateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DigActivityChangeGadgetStateRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *DigActivityChangeGadgetStateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DigActivityChangeGadgetStateRsp_proto protoreflect.FileDescriptor + +var file_DigActivityChangeGadgetStateRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1f, 0x44, 0x69, 0x67, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DigActivityChangeGadgetStateRsp_proto_rawDescOnce sync.Once + file_DigActivityChangeGadgetStateRsp_proto_rawDescData = file_DigActivityChangeGadgetStateRsp_proto_rawDesc +) + +func file_DigActivityChangeGadgetStateRsp_proto_rawDescGZIP() []byte { + file_DigActivityChangeGadgetStateRsp_proto_rawDescOnce.Do(func() { + file_DigActivityChangeGadgetStateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DigActivityChangeGadgetStateRsp_proto_rawDescData) + }) + return file_DigActivityChangeGadgetStateRsp_proto_rawDescData +} + +var file_DigActivityChangeGadgetStateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DigActivityChangeGadgetStateRsp_proto_goTypes = []interface{}{ + (*DigActivityChangeGadgetStateRsp)(nil), // 0: DigActivityChangeGadgetStateRsp +} +var file_DigActivityChangeGadgetStateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DigActivityChangeGadgetStateRsp_proto_init() } +func file_DigActivityChangeGadgetStateRsp_proto_init() { + if File_DigActivityChangeGadgetStateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DigActivityChangeGadgetStateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DigActivityChangeGadgetStateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DigActivityChangeGadgetStateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DigActivityChangeGadgetStateRsp_proto_goTypes, + DependencyIndexes: file_DigActivityChangeGadgetStateRsp_proto_depIdxs, + MessageInfos: file_DigActivityChangeGadgetStateRsp_proto_msgTypes, + }.Build() + File_DigActivityChangeGadgetStateRsp_proto = out.File + file_DigActivityChangeGadgetStateRsp_proto_rawDesc = nil + file_DigActivityChangeGadgetStateRsp_proto_goTypes = nil + file_DigActivityChangeGadgetStateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.proto b/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.proto new file mode 100644 index 00000000..8d4a42ae --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityChangeGadgetStateRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8430 +// EnetChannelId: 0 +// EnetIsReliable: true +message DigActivityChangeGadgetStateRsp { + uint32 entity_id = 15; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/DigActivityDetailInfo.pb.go b/gate-hk4e-api/proto/DigActivityDetailInfo.pb.go new file mode 100644 index 00000000..970e2490 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityDetailInfo.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DigActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DigActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageIdList []uint32 `protobuf:"varint,15,rep,packed,name=stage_id_list,json=stageIdList,proto3" json:"stage_id_list,omitempty"` + DigMarkPointList []*DigMarkPoint `protobuf:"bytes,11,rep,name=dig_mark_point_list,json=digMarkPointList,proto3" json:"dig_mark_point_list,omitempty"` + StageId uint32 `protobuf:"varint,8,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *DigActivityDetailInfo) Reset() { + *x = DigActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DigActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DigActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DigActivityDetailInfo) ProtoMessage() {} + +func (x *DigActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_DigActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DigActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*DigActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_DigActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DigActivityDetailInfo) GetStageIdList() []uint32 { + if x != nil { + return x.StageIdList + } + return nil +} + +func (x *DigActivityDetailInfo) GetDigMarkPointList() []*DigMarkPoint { + if x != nil { + return x.DigMarkPointList + } + return nil +} + +func (x *DigActivityDetailInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_DigActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_DigActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x44, + 0x69, 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x3c, 0x0a, 0x13, 0x64, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, + 0x69, 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x10, 0x64, 0x69, 0x67, + 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DigActivityDetailInfo_proto_rawDescOnce sync.Once + file_DigActivityDetailInfo_proto_rawDescData = file_DigActivityDetailInfo_proto_rawDesc +) + +func file_DigActivityDetailInfo_proto_rawDescGZIP() []byte { + file_DigActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_DigActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DigActivityDetailInfo_proto_rawDescData) + }) + return file_DigActivityDetailInfo_proto_rawDescData +} + +var file_DigActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DigActivityDetailInfo_proto_goTypes = []interface{}{ + (*DigActivityDetailInfo)(nil), // 0: DigActivityDetailInfo + (*DigMarkPoint)(nil), // 1: DigMarkPoint +} +var file_DigActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: DigActivityDetailInfo.dig_mark_point_list:type_name -> DigMarkPoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DigActivityDetailInfo_proto_init() } +func file_DigActivityDetailInfo_proto_init() { + if File_DigActivityDetailInfo_proto != nil { + return + } + file_DigMarkPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_DigActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DigActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DigActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DigActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_DigActivityDetailInfo_proto_depIdxs, + MessageInfos: file_DigActivityDetailInfo_proto_msgTypes, + }.Build() + File_DigActivityDetailInfo_proto = out.File + file_DigActivityDetailInfo_proto_rawDesc = nil + file_DigActivityDetailInfo_proto_goTypes = nil + file_DigActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DigActivityDetailInfo.proto b/gate-hk4e-api/proto/DigActivityDetailInfo.proto new file mode 100644 index 00000000..ae750896 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DigMarkPoint.proto"; + +option go_package = "./;proto"; + +message DigActivityDetailInfo { + repeated uint32 stage_id_list = 15; + repeated DigMarkPoint dig_mark_point_list = 11; + uint32 stage_id = 8; +} diff --git a/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.pb.go b/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.pb.go new file mode 100644 index 00000000..f925fc16 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DigActivityMarkPointChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8109 +// EnetChannelId: 0 +// EnetIsReliable: true +type DigActivityMarkPointChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DigMarkPointList []*DigMarkPoint `protobuf:"bytes,11,rep,name=dig_mark_point_list,json=digMarkPointList,proto3" json:"dig_mark_point_list,omitempty"` +} + +func (x *DigActivityMarkPointChangeNotify) Reset() { + *x = DigActivityMarkPointChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DigActivityMarkPointChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DigActivityMarkPointChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DigActivityMarkPointChangeNotify) ProtoMessage() {} + +func (x *DigActivityMarkPointChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_DigActivityMarkPointChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DigActivityMarkPointChangeNotify.ProtoReflect.Descriptor instead. +func (*DigActivityMarkPointChangeNotify) Descriptor() ([]byte, []int) { + return file_DigActivityMarkPointChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DigActivityMarkPointChangeNotify) GetDigMarkPointList() []*DigMarkPoint { + if x != nil { + return x.DigMarkPointList + } + return nil +} + +var File_DigActivityMarkPointChangeNotify_proto protoreflect.FileDescriptor + +var file_DigActivityMarkPointChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x44, 0x69, 0x67, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x20, + 0x44, 0x69, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x3c, 0x0a, 0x13, 0x64, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x44, 0x69, 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x10, 0x64, 0x69, + 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DigActivityMarkPointChangeNotify_proto_rawDescOnce sync.Once + file_DigActivityMarkPointChangeNotify_proto_rawDescData = file_DigActivityMarkPointChangeNotify_proto_rawDesc +) + +func file_DigActivityMarkPointChangeNotify_proto_rawDescGZIP() []byte { + file_DigActivityMarkPointChangeNotify_proto_rawDescOnce.Do(func() { + file_DigActivityMarkPointChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DigActivityMarkPointChangeNotify_proto_rawDescData) + }) + return file_DigActivityMarkPointChangeNotify_proto_rawDescData +} + +var file_DigActivityMarkPointChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DigActivityMarkPointChangeNotify_proto_goTypes = []interface{}{ + (*DigActivityMarkPointChangeNotify)(nil), // 0: DigActivityMarkPointChangeNotify + (*DigMarkPoint)(nil), // 1: DigMarkPoint +} +var file_DigActivityMarkPointChangeNotify_proto_depIdxs = []int32{ + 1, // 0: DigActivityMarkPointChangeNotify.dig_mark_point_list:type_name -> DigMarkPoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DigActivityMarkPointChangeNotify_proto_init() } +func file_DigActivityMarkPointChangeNotify_proto_init() { + if File_DigActivityMarkPointChangeNotify_proto != nil { + return + } + file_DigMarkPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_DigActivityMarkPointChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DigActivityMarkPointChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DigActivityMarkPointChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DigActivityMarkPointChangeNotify_proto_goTypes, + DependencyIndexes: file_DigActivityMarkPointChangeNotify_proto_depIdxs, + MessageInfos: file_DigActivityMarkPointChangeNotify_proto_msgTypes, + }.Build() + File_DigActivityMarkPointChangeNotify_proto = out.File + file_DigActivityMarkPointChangeNotify_proto_rawDesc = nil + file_DigActivityMarkPointChangeNotify_proto_goTypes = nil + file_DigActivityMarkPointChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.proto b/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.proto new file mode 100644 index 00000000..b088a909 --- /dev/null +++ b/gate-hk4e-api/proto/DigActivityMarkPointChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DigMarkPoint.proto"; + +option go_package = "./;proto"; + +// CmdId: 8109 +// EnetChannelId: 0 +// EnetIsReliable: true +message DigActivityMarkPointChangeNotify { + repeated DigMarkPoint dig_mark_point_list = 11; +} diff --git a/gate-hk4e-api/proto/DigMarkPoint.pb.go b/gate-hk4e-api/proto/DigMarkPoint.pb.go new file mode 100644 index 00000000..f8fe535a --- /dev/null +++ b/gate-hk4e-api/proto/DigMarkPoint.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DigMarkPoint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DigMarkPoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + BundleId uint32 `protobuf:"varint,13,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` + Rot *Vector `protobuf:"bytes,3,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *DigMarkPoint) Reset() { + *x = DigMarkPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_DigMarkPoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DigMarkPoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DigMarkPoint) ProtoMessage() {} + +func (x *DigMarkPoint) ProtoReflect() protoreflect.Message { + mi := &file_DigMarkPoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DigMarkPoint.ProtoReflect.Descriptor instead. +func (*DigMarkPoint) Descriptor() ([]byte, []int) { + return file_DigMarkPoint_proto_rawDescGZIP(), []int{0} +} + +func (x *DigMarkPoint) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *DigMarkPoint) GetBundleId() uint32 { + if x != nil { + return x.BundleId + } + return 0 +} + +func (x *DigMarkPoint) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_DigMarkPoint_proto protoreflect.FileDescriptor + +var file_DigMarkPoint_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x44, 0x69, 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0c, 0x44, 0x69, 0x67, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, + 0x09, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DigMarkPoint_proto_rawDescOnce sync.Once + file_DigMarkPoint_proto_rawDescData = file_DigMarkPoint_proto_rawDesc +) + +func file_DigMarkPoint_proto_rawDescGZIP() []byte { + file_DigMarkPoint_proto_rawDescOnce.Do(func() { + file_DigMarkPoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_DigMarkPoint_proto_rawDescData) + }) + return file_DigMarkPoint_proto_rawDescData +} + +var file_DigMarkPoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DigMarkPoint_proto_goTypes = []interface{}{ + (*DigMarkPoint)(nil), // 0: DigMarkPoint + (*Vector)(nil), // 1: Vector +} +var file_DigMarkPoint_proto_depIdxs = []int32{ + 1, // 0: DigMarkPoint.pos:type_name -> Vector + 1, // 1: DigMarkPoint.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_DigMarkPoint_proto_init() } +func file_DigMarkPoint_proto_init() { + if File_DigMarkPoint_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_DigMarkPoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DigMarkPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DigMarkPoint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DigMarkPoint_proto_goTypes, + DependencyIndexes: file_DigMarkPoint_proto_depIdxs, + MessageInfos: file_DigMarkPoint_proto_msgTypes, + }.Build() + File_DigMarkPoint_proto = out.File + file_DigMarkPoint_proto_rawDesc = nil + file_DigMarkPoint_proto_goTypes = nil + file_DigMarkPoint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DigMarkPoint.proto b/gate-hk4e-api/proto/DigMarkPoint.proto new file mode 100644 index 00000000..1318b0c3 --- /dev/null +++ b/gate-hk4e-api/proto/DigMarkPoint.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message DigMarkPoint { + Vector pos = 1; + uint32 bundle_id = 13; + Vector rot = 3; +} diff --git a/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.pb.go b/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.pb.go new file mode 100644 index 00000000..8283a875 --- /dev/null +++ b/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DisableRoguelikeTrapNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8259 +// EnetChannelId: 0 +// EnetIsReliable: true +type DisableRoguelikeTrapNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,13,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *DisableRoguelikeTrapNotify) Reset() { + *x = DisableRoguelikeTrapNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DisableRoguelikeTrapNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableRoguelikeTrapNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableRoguelikeTrapNotify) ProtoMessage() {} + +func (x *DisableRoguelikeTrapNotify) ProtoReflect() protoreflect.Message { + mi := &file_DisableRoguelikeTrapNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisableRoguelikeTrapNotify.ProtoReflect.Descriptor instead. +func (*DisableRoguelikeTrapNotify) Descriptor() ([]byte, []int) { + return file_DisableRoguelikeTrapNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DisableRoguelikeTrapNotify) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_DisableRoguelikeTrapNotify_proto protoreflect.FileDescriptor + +var file_DisableRoguelikeTrapNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x54, 0x72, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x54, 0x72, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DisableRoguelikeTrapNotify_proto_rawDescOnce sync.Once + file_DisableRoguelikeTrapNotify_proto_rawDescData = file_DisableRoguelikeTrapNotify_proto_rawDesc +) + +func file_DisableRoguelikeTrapNotify_proto_rawDescGZIP() []byte { + file_DisableRoguelikeTrapNotify_proto_rawDescOnce.Do(func() { + file_DisableRoguelikeTrapNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DisableRoguelikeTrapNotify_proto_rawDescData) + }) + return file_DisableRoguelikeTrapNotify_proto_rawDescData +} + +var file_DisableRoguelikeTrapNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DisableRoguelikeTrapNotify_proto_goTypes = []interface{}{ + (*DisableRoguelikeTrapNotify)(nil), // 0: DisableRoguelikeTrapNotify +} +var file_DisableRoguelikeTrapNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DisableRoguelikeTrapNotify_proto_init() } +func file_DisableRoguelikeTrapNotify_proto_init() { + if File_DisableRoguelikeTrapNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DisableRoguelikeTrapNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableRoguelikeTrapNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DisableRoguelikeTrapNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DisableRoguelikeTrapNotify_proto_goTypes, + DependencyIndexes: file_DisableRoguelikeTrapNotify_proto_depIdxs, + MessageInfos: file_DisableRoguelikeTrapNotify_proto_msgTypes, + }.Build() + File_DisableRoguelikeTrapNotify_proto = out.File + file_DisableRoguelikeTrapNotify_proto_rawDesc = nil + file_DisableRoguelikeTrapNotify_proto_goTypes = nil + file_DisableRoguelikeTrapNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.proto b/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.proto new file mode 100644 index 00000000..5282600a --- /dev/null +++ b/gate-hk4e-api/proto/DisableRoguelikeTrapNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8259 +// EnetChannelId: 0 +// EnetIsReliable: true +message DisableRoguelikeTrapNotify { + uint32 card_id = 13; +} diff --git a/gate-hk4e-api/proto/DoGachaReq.pb.go b/gate-hk4e-api/proto/DoGachaReq.pb.go new file mode 100644 index 00000000..98d11f2c --- /dev/null +++ b/gate-hk4e-api/proto/DoGachaReq.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DoGachaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1512 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DoGachaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaTimes uint32 `protobuf:"varint,10,opt,name=gacha_times,json=gachaTimes,proto3" json:"gacha_times,omitempty"` + GachaScheduleId uint32 `protobuf:"varint,7,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` + GachaType uint32 `protobuf:"varint,14,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + GachaRandom uint32 `protobuf:"varint,13,opt,name=gacha_random,json=gachaRandom,proto3" json:"gacha_random,omitempty"` + GachaTag string `protobuf:"bytes,4,opt,name=gacha_tag,json=gachaTag,proto3" json:"gacha_tag,omitempty"` +} + +func (x *DoGachaReq) Reset() { + *x = DoGachaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DoGachaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DoGachaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoGachaReq) ProtoMessage() {} + +func (x *DoGachaReq) ProtoReflect() protoreflect.Message { + mi := &file_DoGachaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoGachaReq.ProtoReflect.Descriptor instead. +func (*DoGachaReq) Descriptor() ([]byte, []int) { + return file_DoGachaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DoGachaReq) GetGachaTimes() uint32 { + if x != nil { + return x.GachaTimes + } + return 0 +} + +func (x *DoGachaReq) GetGachaScheduleId() uint32 { + if x != nil { + return x.GachaScheduleId + } + return 0 +} + +func (x *DoGachaReq) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *DoGachaReq) GetGachaRandom() uint32 { + if x != nil { + return x.GachaRandom + } + return 0 +} + +func (x *DoGachaReq) GetGachaTag() string { + if x != nil { + return x.GachaTag + } + return "" +} + +var File_DoGachaReq_proto protoreflect.FileDescriptor + +var file_DoGachaReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x0a, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x65, + 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, + 0x61, 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x61, 0x63, 0x68, 0x61, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, + 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x61, 0x67, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_DoGachaReq_proto_rawDescOnce sync.Once + file_DoGachaReq_proto_rawDescData = file_DoGachaReq_proto_rawDesc +) + +func file_DoGachaReq_proto_rawDescGZIP() []byte { + file_DoGachaReq_proto_rawDescOnce.Do(func() { + file_DoGachaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoGachaReq_proto_rawDescData) + }) + return file_DoGachaReq_proto_rawDescData +} + +var file_DoGachaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DoGachaReq_proto_goTypes = []interface{}{ + (*DoGachaReq)(nil), // 0: DoGachaReq +} +var file_DoGachaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DoGachaReq_proto_init() } +func file_DoGachaReq_proto_init() { + if File_DoGachaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DoGachaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoGachaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DoGachaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DoGachaReq_proto_goTypes, + DependencyIndexes: file_DoGachaReq_proto_depIdxs, + MessageInfos: file_DoGachaReq_proto_msgTypes, + }.Build() + File_DoGachaReq_proto = out.File + file_DoGachaReq_proto_rawDesc = nil + file_DoGachaReq_proto_goTypes = nil + file_DoGachaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DoGachaReq.proto b/gate-hk4e-api/proto/DoGachaReq.proto new file mode 100644 index 00000000..e1ac72cb --- /dev/null +++ b/gate-hk4e-api/proto/DoGachaReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1512 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DoGachaReq { + uint32 gacha_times = 10; + uint32 gacha_schedule_id = 7; + uint32 gacha_type = 14; + uint32 gacha_random = 13; + string gacha_tag = 4; +} diff --git a/gate-hk4e-api/proto/DoGachaRsp.pb.go b/gate-hk4e-api/proto/DoGachaRsp.pb.go new file mode 100644 index 00000000..960c1a77 --- /dev/null +++ b/gate-hk4e-api/proto/DoGachaRsp.pb.go @@ -0,0 +1,334 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DoGachaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1535 +// EnetChannelId: 0 +// EnetIsReliable: true +type DoGachaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LEEPELHDING bool `protobuf:"varint,1435,opt,name=Unk2700_LEEPELHDING,json=Unk2700LEEPELHDING,proto3" json:"Unk2700_LEEPELHDING,omitempty"` + GachaScheduleId uint32 `protobuf:"varint,5,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` + WishItemId uint32 `protobuf:"varint,8,opt,name=wish_item_id,json=wishItemId,proto3" json:"wish_item_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + CostItemNum uint32 `protobuf:"varint,10,opt,name=cost_item_num,json=costItemNum,proto3" json:"cost_item_num,omitempty"` + GachaTimesLimit uint32 `protobuf:"varint,1,opt,name=gacha_times_limit,json=gachaTimesLimit,proto3" json:"gacha_times_limit,omitempty"` + CostItemId uint32 `protobuf:"varint,14,opt,name=cost_item_id,json=costItemId,proto3" json:"cost_item_id,omitempty"` + GachaType uint32 `protobuf:"varint,12,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + TenCostItemId uint32 `protobuf:"varint,7,opt,name=ten_cost_item_id,json=tenCostItemId,proto3" json:"ten_cost_item_id,omitempty"` + WishMaxProgress uint32 `protobuf:"varint,9,opt,name=wish_max_progress,json=wishMaxProgress,proto3" json:"wish_max_progress,omitempty"` + Unk2700_OJKKHDLEDCI uint32 `protobuf:"varint,1240,opt,name=Unk2700_OJKKHDLEDCI,json=Unk2700OJKKHDLEDCI,proto3" json:"Unk2700_OJKKHDLEDCI,omitempty"` + TenCostItemNum uint32 `protobuf:"varint,3,opt,name=ten_cost_item_num,json=tenCostItemNum,proto3" json:"ten_cost_item_num,omitempty"` + LeftGachaTimes uint32 `protobuf:"varint,6,opt,name=left_gacha_times,json=leftGachaTimes,proto3" json:"left_gacha_times,omitempty"` + WishProgress uint32 `protobuf:"varint,2,opt,name=wish_progress,json=wishProgress,proto3" json:"wish_progress,omitempty"` + GachaTimes uint32 `protobuf:"varint,4,opt,name=gacha_times,json=gachaTimes,proto3" json:"gacha_times,omitempty"` + GachaItemList []*GachaItem `protobuf:"bytes,15,rep,name=gacha_item_list,json=gachaItemList,proto3" json:"gacha_item_list,omitempty"` + NewGachaRandom uint32 `protobuf:"varint,11,opt,name=new_gacha_random,json=newGachaRandom,proto3" json:"new_gacha_random,omitempty"` +} + +func (x *DoGachaRsp) Reset() { + *x = DoGachaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DoGachaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DoGachaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoGachaRsp) ProtoMessage() {} + +func (x *DoGachaRsp) ProtoReflect() protoreflect.Message { + mi := &file_DoGachaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoGachaRsp.ProtoReflect.Descriptor instead. +func (*DoGachaRsp) Descriptor() ([]byte, []int) { + return file_DoGachaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DoGachaRsp) GetUnk2700_LEEPELHDING() bool { + if x != nil { + return x.Unk2700_LEEPELHDING + } + return false +} + +func (x *DoGachaRsp) GetGachaScheduleId() uint32 { + if x != nil { + return x.GachaScheduleId + } + return 0 +} + +func (x *DoGachaRsp) GetWishItemId() uint32 { + if x != nil { + return x.WishItemId + } + return 0 +} + +func (x *DoGachaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DoGachaRsp) GetCostItemNum() uint32 { + if x != nil { + return x.CostItemNum + } + return 0 +} + +func (x *DoGachaRsp) GetGachaTimesLimit() uint32 { + if x != nil { + return x.GachaTimesLimit + } + return 0 +} + +func (x *DoGachaRsp) GetCostItemId() uint32 { + if x != nil { + return x.CostItemId + } + return 0 +} + +func (x *DoGachaRsp) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *DoGachaRsp) GetTenCostItemId() uint32 { + if x != nil { + return x.TenCostItemId + } + return 0 +} + +func (x *DoGachaRsp) GetWishMaxProgress() uint32 { + if x != nil { + return x.WishMaxProgress + } + return 0 +} + +func (x *DoGachaRsp) GetUnk2700_OJKKHDLEDCI() uint32 { + if x != nil { + return x.Unk2700_OJKKHDLEDCI + } + return 0 +} + +func (x *DoGachaRsp) GetTenCostItemNum() uint32 { + if x != nil { + return x.TenCostItemNum + } + return 0 +} + +func (x *DoGachaRsp) GetLeftGachaTimes() uint32 { + if x != nil { + return x.LeftGachaTimes + } + return 0 +} + +func (x *DoGachaRsp) GetWishProgress() uint32 { + if x != nil { + return x.WishProgress + } + return 0 +} + +func (x *DoGachaRsp) GetGachaTimes() uint32 { + if x != nil { + return x.GachaTimes + } + return 0 +} + +func (x *DoGachaRsp) GetGachaItemList() []*GachaItem { + if x != nil { + return x.GachaItemList + } + return nil +} + +func (x *DoGachaRsp) GetNewGachaRandom() uint32 { + if x != nil { + return x.NewGachaRandom + } + return 0 +} + +var File_DoGachaRsp_proto protoreflect.FileDescriptor + +var file_DoGachaRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x05, 0x0a, 0x0a, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, + 0x73, 0x70, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, + 0x45, 0x50, 0x45, 0x4c, 0x48, 0x44, 0x49, 0x4e, 0x47, 0x18, 0x9b, 0x0b, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x45, 0x45, 0x50, 0x45, 0x4c, 0x48, + 0x44, 0x49, 0x4e, 0x47, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x69, 0x73, 0x68, 0x49, 0x74, 0x65, 0x6d, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0d, + 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, + 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, 0x63, + 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0c, + 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, + 0x10, 0x74, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, + 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x6d, + 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, + 0x4b, 0x4b, 0x48, 0x44, 0x4c, 0x45, 0x44, 0x43, 0x49, 0x18, 0xd8, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4a, 0x4b, 0x4b, 0x48, 0x44, 0x4c, + 0x45, 0x44, 0x43, 0x49, 0x12, 0x29, 0x0a, 0x11, 0x74, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, + 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, + 0x28, 0x0a, 0x10, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x47, + 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x69, 0x73, + 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, + 0x0a, 0x0b, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, + 0x32, 0x0a, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x67, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, + 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, + 0x65, 0x77, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_DoGachaRsp_proto_rawDescOnce sync.Once + file_DoGachaRsp_proto_rawDescData = file_DoGachaRsp_proto_rawDesc +) + +func file_DoGachaRsp_proto_rawDescGZIP() []byte { + file_DoGachaRsp_proto_rawDescOnce.Do(func() { + file_DoGachaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoGachaRsp_proto_rawDescData) + }) + return file_DoGachaRsp_proto_rawDescData +} + +var file_DoGachaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DoGachaRsp_proto_goTypes = []interface{}{ + (*DoGachaRsp)(nil), // 0: DoGachaRsp + (*GachaItem)(nil), // 1: GachaItem +} +var file_DoGachaRsp_proto_depIdxs = []int32{ + 1, // 0: DoGachaRsp.gacha_item_list:type_name -> GachaItem + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DoGachaRsp_proto_init() } +func file_DoGachaRsp_proto_init() { + if File_DoGachaRsp_proto != nil { + return + } + file_GachaItem_proto_init() + if !protoimpl.UnsafeEnabled { + file_DoGachaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoGachaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DoGachaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DoGachaRsp_proto_goTypes, + DependencyIndexes: file_DoGachaRsp_proto_depIdxs, + MessageInfos: file_DoGachaRsp_proto_msgTypes, + }.Build() + File_DoGachaRsp_proto = out.File + file_DoGachaRsp_proto_rawDesc = nil + file_DoGachaRsp_proto_goTypes = nil + file_DoGachaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DoGachaRsp.proto b/gate-hk4e-api/proto/DoGachaRsp.proto new file mode 100644 index 00000000..32dead3c --- /dev/null +++ b/gate-hk4e-api/proto/DoGachaRsp.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GachaItem.proto"; + +option go_package = "./;proto"; + +// CmdId: 1535 +// EnetChannelId: 0 +// EnetIsReliable: true +message DoGachaRsp { + bool Unk2700_LEEPELHDING = 1435; + uint32 gacha_schedule_id = 5; + uint32 wish_item_id = 8; + int32 retcode = 13; + uint32 cost_item_num = 10; + uint32 gacha_times_limit = 1; + uint32 cost_item_id = 14; + uint32 gacha_type = 12; + uint32 ten_cost_item_id = 7; + uint32 wish_max_progress = 9; + uint32 Unk2700_OJKKHDLEDCI = 1240; + uint32 ten_cost_item_num = 3; + uint32 left_gacha_times = 6; + uint32 wish_progress = 2; + uint32 gacha_times = 4; + repeated GachaItem gacha_item_list = 15; + uint32 new_gacha_random = 11; +} diff --git a/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.pb.go b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.pb.go new file mode 100644 index 00000000..1a5c2705 --- /dev/null +++ b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DoRoguelikeDungeonCardGachaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DoRoguelikeDungeonCardGachaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,13,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,6,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *DoRoguelikeDungeonCardGachaReq) Reset() { + *x = DoRoguelikeDungeonCardGachaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DoRoguelikeDungeonCardGachaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DoRoguelikeDungeonCardGachaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoRoguelikeDungeonCardGachaReq) ProtoMessage() {} + +func (x *DoRoguelikeDungeonCardGachaReq) ProtoReflect() protoreflect.Message { + mi := &file_DoRoguelikeDungeonCardGachaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoRoguelikeDungeonCardGachaReq.ProtoReflect.Descriptor instead. +func (*DoRoguelikeDungeonCardGachaReq) Descriptor() ([]byte, []int) { + return file_DoRoguelikeDungeonCardGachaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DoRoguelikeDungeonCardGachaReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DoRoguelikeDungeonCardGachaReq) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_DoRoguelikeDungeonCardGachaReq_proto protoreflect.FileDescriptor + +var file_DoRoguelikeDungeonCardGachaReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x6f, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1e, 0x44, 0x6f, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, + 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DoRoguelikeDungeonCardGachaReq_proto_rawDescOnce sync.Once + file_DoRoguelikeDungeonCardGachaReq_proto_rawDescData = file_DoRoguelikeDungeonCardGachaReq_proto_rawDesc +) + +func file_DoRoguelikeDungeonCardGachaReq_proto_rawDescGZIP() []byte { + file_DoRoguelikeDungeonCardGachaReq_proto_rawDescOnce.Do(func() { + file_DoRoguelikeDungeonCardGachaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoRoguelikeDungeonCardGachaReq_proto_rawDescData) + }) + return file_DoRoguelikeDungeonCardGachaReq_proto_rawDescData +} + +var file_DoRoguelikeDungeonCardGachaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DoRoguelikeDungeonCardGachaReq_proto_goTypes = []interface{}{ + (*DoRoguelikeDungeonCardGachaReq)(nil), // 0: DoRoguelikeDungeonCardGachaReq +} +var file_DoRoguelikeDungeonCardGachaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DoRoguelikeDungeonCardGachaReq_proto_init() } +func file_DoRoguelikeDungeonCardGachaReq_proto_init() { + if File_DoRoguelikeDungeonCardGachaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DoRoguelikeDungeonCardGachaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoRoguelikeDungeonCardGachaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DoRoguelikeDungeonCardGachaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DoRoguelikeDungeonCardGachaReq_proto_goTypes, + DependencyIndexes: file_DoRoguelikeDungeonCardGachaReq_proto_depIdxs, + MessageInfos: file_DoRoguelikeDungeonCardGachaReq_proto_msgTypes, + }.Build() + File_DoRoguelikeDungeonCardGachaReq_proto = out.File + file_DoRoguelikeDungeonCardGachaReq_proto_rawDesc = nil + file_DoRoguelikeDungeonCardGachaReq_proto_goTypes = nil + file_DoRoguelikeDungeonCardGachaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.proto b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.proto new file mode 100644 index 00000000..56ac699d --- /dev/null +++ b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DoRoguelikeDungeonCardGachaReq { + uint32 dungeon_id = 13; + uint32 cell_id = 6; +} diff --git a/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.pb.go b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.pb.go new file mode 100644 index 00000000..ef4375f2 --- /dev/null +++ b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DoRoguelikeDungeonCardGachaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8472 +// EnetChannelId: 0 +// EnetIsReliable: true +type DoRoguelikeDungeonCardGachaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsCanRefresh bool `protobuf:"varint,8,opt,name=is_can_refresh,json=isCanRefresh,proto3" json:"is_can_refresh,omitempty"` + CardList []uint32 `protobuf:"varint,15,rep,packed,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DoRoguelikeDungeonCardGachaRsp) Reset() { + *x = DoRoguelikeDungeonCardGachaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DoRoguelikeDungeonCardGachaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DoRoguelikeDungeonCardGachaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoRoguelikeDungeonCardGachaRsp) ProtoMessage() {} + +func (x *DoRoguelikeDungeonCardGachaRsp) ProtoReflect() protoreflect.Message { + mi := &file_DoRoguelikeDungeonCardGachaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoRoguelikeDungeonCardGachaRsp.ProtoReflect.Descriptor instead. +func (*DoRoguelikeDungeonCardGachaRsp) Descriptor() ([]byte, []int) { + return file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DoRoguelikeDungeonCardGachaRsp) GetIsCanRefresh() bool { + if x != nil { + return x.IsCanRefresh + } + return false +} + +func (x *DoRoguelikeDungeonCardGachaRsp) GetCardList() []uint32 { + if x != nil { + return x.CardList + } + return nil +} + +func (x *DoRoguelikeDungeonCardGachaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DoRoguelikeDungeonCardGachaRsp_proto protoreflect.FileDescriptor + +var file_DoRoguelikeDungeonCardGachaRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x6f, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x1e, 0x44, 0x6f, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, + 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, + 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0c, 0x69, 0x73, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescOnce sync.Once + file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescData = file_DoRoguelikeDungeonCardGachaRsp_proto_rawDesc +) + +func file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescGZIP() []byte { + file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescOnce.Do(func() { + file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescData) + }) + return file_DoRoguelikeDungeonCardGachaRsp_proto_rawDescData +} + +var file_DoRoguelikeDungeonCardGachaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DoRoguelikeDungeonCardGachaRsp_proto_goTypes = []interface{}{ + (*DoRoguelikeDungeonCardGachaRsp)(nil), // 0: DoRoguelikeDungeonCardGachaRsp +} +var file_DoRoguelikeDungeonCardGachaRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DoRoguelikeDungeonCardGachaRsp_proto_init() } +func file_DoRoguelikeDungeonCardGachaRsp_proto_init() { + if File_DoRoguelikeDungeonCardGachaRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DoRoguelikeDungeonCardGachaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoRoguelikeDungeonCardGachaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DoRoguelikeDungeonCardGachaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DoRoguelikeDungeonCardGachaRsp_proto_goTypes, + DependencyIndexes: file_DoRoguelikeDungeonCardGachaRsp_proto_depIdxs, + MessageInfos: file_DoRoguelikeDungeonCardGachaRsp_proto_msgTypes, + }.Build() + File_DoRoguelikeDungeonCardGachaRsp_proto = out.File + file_DoRoguelikeDungeonCardGachaRsp_proto_rawDesc = nil + file_DoRoguelikeDungeonCardGachaRsp_proto_goTypes = nil + file_DoRoguelikeDungeonCardGachaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.proto b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.proto new file mode 100644 index 00000000..f96e58c1 --- /dev/null +++ b/gate-hk4e-api/proto/DoRoguelikeDungeonCardGachaRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8472 +// EnetChannelId: 0 +// EnetIsReliable: true +message DoRoguelikeDungeonCardGachaRsp { + bool is_can_refresh = 8; + repeated uint32 card_list = 15; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.pb.go b/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.pb.go new file mode 100644 index 00000000..cabbd047 --- /dev/null +++ b/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DoSetPlayerBornDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 147 +// EnetChannelId: 0 +// EnetIsReliable: true +type DoSetPlayerBornDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DoSetPlayerBornDataNotify) Reset() { + *x = DoSetPlayerBornDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DoSetPlayerBornDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DoSetPlayerBornDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoSetPlayerBornDataNotify) ProtoMessage() {} + +func (x *DoSetPlayerBornDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_DoSetPlayerBornDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoSetPlayerBornDataNotify.ProtoReflect.Descriptor instead. +func (*DoSetPlayerBornDataNotify) Descriptor() ([]byte, []int) { + return file_DoSetPlayerBornDataNotify_proto_rawDescGZIP(), []int{0} +} + +var File_DoSetPlayerBornDataNotify_proto protoreflect.FileDescriptor + +var file_DoSetPlayerBornDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x44, 0x6f, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6f, 0x72, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x6f, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x42, 0x6f, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DoSetPlayerBornDataNotify_proto_rawDescOnce sync.Once + file_DoSetPlayerBornDataNotify_proto_rawDescData = file_DoSetPlayerBornDataNotify_proto_rawDesc +) + +func file_DoSetPlayerBornDataNotify_proto_rawDescGZIP() []byte { + file_DoSetPlayerBornDataNotify_proto_rawDescOnce.Do(func() { + file_DoSetPlayerBornDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoSetPlayerBornDataNotify_proto_rawDescData) + }) + return file_DoSetPlayerBornDataNotify_proto_rawDescData +} + +var file_DoSetPlayerBornDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DoSetPlayerBornDataNotify_proto_goTypes = []interface{}{ + (*DoSetPlayerBornDataNotify)(nil), // 0: DoSetPlayerBornDataNotify +} +var file_DoSetPlayerBornDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DoSetPlayerBornDataNotify_proto_init() } +func file_DoSetPlayerBornDataNotify_proto_init() { + if File_DoSetPlayerBornDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DoSetPlayerBornDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoSetPlayerBornDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DoSetPlayerBornDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DoSetPlayerBornDataNotify_proto_goTypes, + DependencyIndexes: file_DoSetPlayerBornDataNotify_proto_depIdxs, + MessageInfos: file_DoSetPlayerBornDataNotify_proto_msgTypes, + }.Build() + File_DoSetPlayerBornDataNotify_proto = out.File + file_DoSetPlayerBornDataNotify_proto_rawDesc = nil + file_DoSetPlayerBornDataNotify_proto_goTypes = nil + file_DoSetPlayerBornDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.proto b/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.proto new file mode 100644 index 00000000..c92a3ae5 --- /dev/null +++ b/gate-hk4e-api/proto/DoSetPlayerBornDataNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 147 +// EnetChannelId: 0 +// EnetIsReliable: true +message DoSetPlayerBornDataNotify {} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.pb.go b/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.pb.go new file mode 100644 index 00000000..d8b9291d --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5490 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftGuestReplyInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,5,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + IsAgree bool `protobuf:"varint,9,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + GuestUid uint32 `protobuf:"varint,10,opt,name=guest_uid,json=guestUid,proto3" json:"guest_uid,omitempty"` +} + +func (x *DraftGuestReplyInviteNotify) Reset() { + *x = DraftGuestReplyInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyInviteNotify) ProtoMessage() {} + +func (x *DraftGuestReplyInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyInviteNotify.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyInviteNotify) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyInviteNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftGuestReplyInviteNotify) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *DraftGuestReplyInviteNotify) GetGuestUid() uint32 { + if x != nil { + return x.GuestUid + } + return 0 +} + +var File_DraftGuestReplyInviteNotify_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x1b, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x75, 0x65, + 0x73, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyInviteNotify_proto_rawDescOnce sync.Once + file_DraftGuestReplyInviteNotify_proto_rawDescData = file_DraftGuestReplyInviteNotify_proto_rawDesc +) + +func file_DraftGuestReplyInviteNotify_proto_rawDescGZIP() []byte { + file_DraftGuestReplyInviteNotify_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyInviteNotify_proto_rawDescData) + }) + return file_DraftGuestReplyInviteNotify_proto_rawDescData +} + +var file_DraftGuestReplyInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyInviteNotify_proto_goTypes = []interface{}{ + (*DraftGuestReplyInviteNotify)(nil), // 0: DraftGuestReplyInviteNotify +} +var file_DraftGuestReplyInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyInviteNotify_proto_init() } +func file_DraftGuestReplyInviteNotify_proto_init() { + if File_DraftGuestReplyInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyInviteNotify_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyInviteNotify_proto_depIdxs, + MessageInfos: file_DraftGuestReplyInviteNotify_proto_msgTypes, + }.Build() + File_DraftGuestReplyInviteNotify_proto = out.File + file_DraftGuestReplyInviteNotify_proto_rawDesc = nil + file_DraftGuestReplyInviteNotify_proto_goTypes = nil + file_DraftGuestReplyInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.proto b/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.proto new file mode 100644 index 00000000..9342c1e5 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5490 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftGuestReplyInviteNotify { + uint32 draft_id = 5; + bool is_agree = 9; + uint32 guest_uid = 10; +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteReq.pb.go b/gate-hk4e-api/proto/DraftGuestReplyInviteReq.pb.go new file mode 100644 index 00000000..a85c0601 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DraftGuestReplyInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,10,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + IsAgree bool `protobuf:"varint,3,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` +} + +func (x *DraftGuestReplyInviteReq) Reset() { + *x = DraftGuestReplyInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyInviteReq) ProtoMessage() {} + +func (x *DraftGuestReplyInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyInviteReq.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyInviteReq) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyInviteReq) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftGuestReplyInviteReq) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +var File_DraftGuestReplyInviteReq_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x50, 0x0a, 0x18, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, + 0x72, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyInviteReq_proto_rawDescOnce sync.Once + file_DraftGuestReplyInviteReq_proto_rawDescData = file_DraftGuestReplyInviteReq_proto_rawDesc +) + +func file_DraftGuestReplyInviteReq_proto_rawDescGZIP() []byte { + file_DraftGuestReplyInviteReq_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyInviteReq_proto_rawDescData) + }) + return file_DraftGuestReplyInviteReq_proto_rawDescData +} + +var file_DraftGuestReplyInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyInviteReq_proto_goTypes = []interface{}{ + (*DraftGuestReplyInviteReq)(nil), // 0: DraftGuestReplyInviteReq +} +var file_DraftGuestReplyInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyInviteReq_proto_init() } +func file_DraftGuestReplyInviteReq_proto_init() { + if File_DraftGuestReplyInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyInviteReq_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyInviteReq_proto_depIdxs, + MessageInfos: file_DraftGuestReplyInviteReq_proto_msgTypes, + }.Build() + File_DraftGuestReplyInviteReq_proto = out.File + file_DraftGuestReplyInviteReq_proto_rawDesc = nil + file_DraftGuestReplyInviteReq_proto_goTypes = nil + file_DraftGuestReplyInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteReq.proto b/gate-hk4e-api/proto/DraftGuestReplyInviteReq.proto new file mode 100644 index 00000000..8e1047e0 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DraftGuestReplyInviteReq { + uint32 draft_id = 10; + bool is_agree = 3; +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.pb.go b/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.pb.go new file mode 100644 index 00000000..8d62bbe6 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5403 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftGuestReplyInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,3,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsAgree bool `protobuf:"varint,10,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` +} + +func (x *DraftGuestReplyInviteRsp) Reset() { + *x = DraftGuestReplyInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyInviteRsp) ProtoMessage() {} + +func (x *DraftGuestReplyInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyInviteRsp.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyInviteRsp) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyInviteRsp) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftGuestReplyInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DraftGuestReplyInviteRsp) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +var File_DraftGuestReplyInviteRsp_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6a, 0x0a, 0x18, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyInviteRsp_proto_rawDescOnce sync.Once + file_DraftGuestReplyInviteRsp_proto_rawDescData = file_DraftGuestReplyInviteRsp_proto_rawDesc +) + +func file_DraftGuestReplyInviteRsp_proto_rawDescGZIP() []byte { + file_DraftGuestReplyInviteRsp_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyInviteRsp_proto_rawDescData) + }) + return file_DraftGuestReplyInviteRsp_proto_rawDescData +} + +var file_DraftGuestReplyInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyInviteRsp_proto_goTypes = []interface{}{ + (*DraftGuestReplyInviteRsp)(nil), // 0: DraftGuestReplyInviteRsp +} +var file_DraftGuestReplyInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyInviteRsp_proto_init() } +func file_DraftGuestReplyInviteRsp_proto_init() { + if File_DraftGuestReplyInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyInviteRsp_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyInviteRsp_proto_depIdxs, + MessageInfos: file_DraftGuestReplyInviteRsp_proto_msgTypes, + }.Build() + File_DraftGuestReplyInviteRsp_proto = out.File + file_DraftGuestReplyInviteRsp_proto_rawDesc = nil + file_DraftGuestReplyInviteRsp_proto_goTypes = nil + file_DraftGuestReplyInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.proto b/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.proto new file mode 100644 index 00000000..65d34160 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyInviteRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5403 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftGuestReplyInviteRsp { + uint32 draft_id = 3; + int32 retcode = 1; + bool is_agree = 10; +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.pb.go b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.pb.go new file mode 100644 index 00000000..36fe63f0 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyTwiceConfirmNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5497 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftGuestReplyTwiceConfirmNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgree bool `protobuf:"varint,14,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + DraftId uint32 `protobuf:"varint,15,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + GuestUid uint32 `protobuf:"varint,7,opt,name=guest_uid,json=guestUid,proto3" json:"guest_uid,omitempty"` +} + +func (x *DraftGuestReplyTwiceConfirmNotify) Reset() { + *x = DraftGuestReplyTwiceConfirmNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyTwiceConfirmNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyTwiceConfirmNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyTwiceConfirmNotify) ProtoMessage() {} + +func (x *DraftGuestReplyTwiceConfirmNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyTwiceConfirmNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyTwiceConfirmNotify.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyTwiceConfirmNotify) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyTwiceConfirmNotify) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *DraftGuestReplyTwiceConfirmNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftGuestReplyTwiceConfirmNotify) GetGuestUid() uint32 { + if x != nil { + return x.GuestUid + } + return 0 +} + +var File_DraftGuestReplyTwiceConfirmNotify_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyTwiceConfirmNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x21, 0x44, 0x72, 0x61, + 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x54, 0x77, 0x69, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, + 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, + 0x66, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x75, 0x65, 0x73, 0x74, 0x55, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescOnce sync.Once + file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescData = file_DraftGuestReplyTwiceConfirmNotify_proto_rawDesc +) + +func file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescGZIP() []byte { + file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescData) + }) + return file_DraftGuestReplyTwiceConfirmNotify_proto_rawDescData +} + +var file_DraftGuestReplyTwiceConfirmNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyTwiceConfirmNotify_proto_goTypes = []interface{}{ + (*DraftGuestReplyTwiceConfirmNotify)(nil), // 0: DraftGuestReplyTwiceConfirmNotify +} +var file_DraftGuestReplyTwiceConfirmNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyTwiceConfirmNotify_proto_init() } +func file_DraftGuestReplyTwiceConfirmNotify_proto_init() { + if File_DraftGuestReplyTwiceConfirmNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyTwiceConfirmNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyTwiceConfirmNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyTwiceConfirmNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyTwiceConfirmNotify_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyTwiceConfirmNotify_proto_depIdxs, + MessageInfos: file_DraftGuestReplyTwiceConfirmNotify_proto_msgTypes, + }.Build() + File_DraftGuestReplyTwiceConfirmNotify_proto = out.File + file_DraftGuestReplyTwiceConfirmNotify_proto_rawDesc = nil + file_DraftGuestReplyTwiceConfirmNotify_proto_goTypes = nil + file_DraftGuestReplyTwiceConfirmNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.proto b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.proto new file mode 100644 index 00000000..647adacf --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5497 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftGuestReplyTwiceConfirmNotify { + bool is_agree = 14; + uint32 draft_id = 15; + uint32 guest_uid = 7; +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.pb.go b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.pb.go new file mode 100644 index 00000000..7af53544 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyTwiceConfirmReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DraftGuestReplyTwiceConfirmReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgree bool `protobuf:"varint,15,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + DraftId uint32 `protobuf:"varint,14,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftGuestReplyTwiceConfirmReq) Reset() { + *x = DraftGuestReplyTwiceConfirmReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyTwiceConfirmReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyTwiceConfirmReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyTwiceConfirmReq) ProtoMessage() {} + +func (x *DraftGuestReplyTwiceConfirmReq) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyTwiceConfirmReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyTwiceConfirmReq.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyTwiceConfirmReq) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyTwiceConfirmReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyTwiceConfirmReq) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *DraftGuestReplyTwiceConfirmReq) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftGuestReplyTwiceConfirmReq_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyTwiceConfirmReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, + 0x67, 0x72, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyTwiceConfirmReq_proto_rawDescOnce sync.Once + file_DraftGuestReplyTwiceConfirmReq_proto_rawDescData = file_DraftGuestReplyTwiceConfirmReq_proto_rawDesc +) + +func file_DraftGuestReplyTwiceConfirmReq_proto_rawDescGZIP() []byte { + file_DraftGuestReplyTwiceConfirmReq_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyTwiceConfirmReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyTwiceConfirmReq_proto_rawDescData) + }) + return file_DraftGuestReplyTwiceConfirmReq_proto_rawDescData +} + +var file_DraftGuestReplyTwiceConfirmReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyTwiceConfirmReq_proto_goTypes = []interface{}{ + (*DraftGuestReplyTwiceConfirmReq)(nil), // 0: DraftGuestReplyTwiceConfirmReq +} +var file_DraftGuestReplyTwiceConfirmReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyTwiceConfirmReq_proto_init() } +func file_DraftGuestReplyTwiceConfirmReq_proto_init() { + if File_DraftGuestReplyTwiceConfirmReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyTwiceConfirmReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyTwiceConfirmReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyTwiceConfirmReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyTwiceConfirmReq_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyTwiceConfirmReq_proto_depIdxs, + MessageInfos: file_DraftGuestReplyTwiceConfirmReq_proto_msgTypes, + }.Build() + File_DraftGuestReplyTwiceConfirmReq_proto = out.File + file_DraftGuestReplyTwiceConfirmReq_proto_rawDesc = nil + file_DraftGuestReplyTwiceConfirmReq_proto_goTypes = nil + file_DraftGuestReplyTwiceConfirmReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.proto b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.proto new file mode 100644 index 00000000..ae1ba754 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DraftGuestReplyTwiceConfirmReq { + bool is_agree = 15; + uint32 draft_id = 14; +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.pb.go b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.pb.go new file mode 100644 index 00000000..a5c09940 --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftGuestReplyTwiceConfirmRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5475 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftGuestReplyTwiceConfirmRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,5,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + IsAgree bool `protobuf:"varint,13,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DraftGuestReplyTwiceConfirmRsp) Reset() { + *x = DraftGuestReplyTwiceConfirmRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftGuestReplyTwiceConfirmRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftGuestReplyTwiceConfirmRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftGuestReplyTwiceConfirmRsp) ProtoMessage() {} + +func (x *DraftGuestReplyTwiceConfirmRsp) ProtoReflect() protoreflect.Message { + mi := &file_DraftGuestReplyTwiceConfirmRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftGuestReplyTwiceConfirmRsp.ProtoReflect.Descriptor instead. +func (*DraftGuestReplyTwiceConfirmRsp) Descriptor() ([]byte, []int) { + return file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftGuestReplyTwiceConfirmRsp) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftGuestReplyTwiceConfirmRsp) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *DraftGuestReplyTwiceConfirmRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DraftGuestReplyTwiceConfirmRsp_proto protoreflect.FileDescriptor + +var file_DraftGuestReplyTwiceConfirmRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x47, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescOnce sync.Once + file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescData = file_DraftGuestReplyTwiceConfirmRsp_proto_rawDesc +) + +func file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescGZIP() []byte { + file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescOnce.Do(func() { + file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescData) + }) + return file_DraftGuestReplyTwiceConfirmRsp_proto_rawDescData +} + +var file_DraftGuestReplyTwiceConfirmRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftGuestReplyTwiceConfirmRsp_proto_goTypes = []interface{}{ + (*DraftGuestReplyTwiceConfirmRsp)(nil), // 0: DraftGuestReplyTwiceConfirmRsp +} +var file_DraftGuestReplyTwiceConfirmRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftGuestReplyTwiceConfirmRsp_proto_init() } +func file_DraftGuestReplyTwiceConfirmRsp_proto_init() { + if File_DraftGuestReplyTwiceConfirmRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftGuestReplyTwiceConfirmRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftGuestReplyTwiceConfirmRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftGuestReplyTwiceConfirmRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftGuestReplyTwiceConfirmRsp_proto_goTypes, + DependencyIndexes: file_DraftGuestReplyTwiceConfirmRsp_proto_depIdxs, + MessageInfos: file_DraftGuestReplyTwiceConfirmRsp_proto_msgTypes, + }.Build() + File_DraftGuestReplyTwiceConfirmRsp_proto = out.File + file_DraftGuestReplyTwiceConfirmRsp_proto_rawDesc = nil + file_DraftGuestReplyTwiceConfirmRsp_proto_goTypes = nil + file_DraftGuestReplyTwiceConfirmRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.proto b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.proto new file mode 100644 index 00000000..8feef1fb --- /dev/null +++ b/gate-hk4e-api/proto/DraftGuestReplyTwiceConfirmRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5475 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftGuestReplyTwiceConfirmRsp { + uint32 draft_id = 5; + bool is_agree = 13; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/DraftInviteFailInfo.pb.go b/gate-hk4e-api/proto/DraftInviteFailInfo.pb.go new file mode 100644 index 00000000..9c5c9421 --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteFailInfo.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftInviteFailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DraftInviteFailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` + Reason DraftInviteFailReason `protobuf:"varint,5,opt,name=reason,proto3,enum=DraftInviteFailReason" json:"reason,omitempty"` +} + +func (x *DraftInviteFailInfo) Reset() { + *x = DraftInviteFailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftInviteFailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftInviteFailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftInviteFailInfo) ProtoMessage() {} + +func (x *DraftInviteFailInfo) ProtoReflect() protoreflect.Message { + mi := &file_DraftInviteFailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftInviteFailInfo.ProtoReflect.Descriptor instead. +func (*DraftInviteFailInfo) Descriptor() ([]byte, []int) { + return file_DraftInviteFailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftInviteFailInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *DraftInviteFailInfo) GetReason() DraftInviteFailReason { + if x != nil { + return x.Reason + } + return DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_UNKNOWN +} + +var File_DraftInviteFailInfo_proto protoreflect.FileDescriptor + +var file_DraftInviteFailInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x44, 0x72, 0x61, + 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x13, 0x44, 0x72, 0x61, 0x66, + 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, + 0x61, 0x69, 0x6c, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftInviteFailInfo_proto_rawDescOnce sync.Once + file_DraftInviteFailInfo_proto_rawDescData = file_DraftInviteFailInfo_proto_rawDesc +) + +func file_DraftInviteFailInfo_proto_rawDescGZIP() []byte { + file_DraftInviteFailInfo_proto_rawDescOnce.Do(func() { + file_DraftInviteFailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftInviteFailInfo_proto_rawDescData) + }) + return file_DraftInviteFailInfo_proto_rawDescData +} + +var file_DraftInviteFailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftInviteFailInfo_proto_goTypes = []interface{}{ + (*DraftInviteFailInfo)(nil), // 0: DraftInviteFailInfo + (DraftInviteFailReason)(0), // 1: DraftInviteFailReason +} +var file_DraftInviteFailInfo_proto_depIdxs = []int32{ + 1, // 0: DraftInviteFailInfo.reason:type_name -> DraftInviteFailReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DraftInviteFailInfo_proto_init() } +func file_DraftInviteFailInfo_proto_init() { + if File_DraftInviteFailInfo_proto != nil { + return + } + file_DraftInviteFailReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_DraftInviteFailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftInviteFailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftInviteFailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftInviteFailInfo_proto_goTypes, + DependencyIndexes: file_DraftInviteFailInfo_proto_depIdxs, + MessageInfos: file_DraftInviteFailInfo_proto_msgTypes, + }.Build() + File_DraftInviteFailInfo_proto = out.File + file_DraftInviteFailInfo_proto_rawDesc = nil + file_DraftInviteFailInfo_proto_goTypes = nil + file_DraftInviteFailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftInviteFailInfo.proto b/gate-hk4e-api/proto/DraftInviteFailInfo.proto new file mode 100644 index 00000000..cc110186 --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteFailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DraftInviteFailReason.proto"; + +option go_package = "./;proto"; + +message DraftInviteFailInfo { + uint32 uid = 8; + DraftInviteFailReason reason = 5; +} diff --git a/gate-hk4e-api/proto/DraftInviteFailReason.pb.go b/gate-hk4e-api/proto/DraftInviteFailReason.pb.go new file mode 100644 index 00000000..bd699acd --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteFailReason.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftInviteFailReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DraftInviteFailReason int32 + +const ( + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_UNKNOWN DraftInviteFailReason = 0 + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_ACTIVITY_NOT_OPEN DraftInviteFailReason = 1 + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_ACTIVITY_PLAY_NOT_OPEN DraftInviteFailReason = 2 + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_SCENE_NOT_MEET DraftInviteFailReason = 3 + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_WORLD_NOT_MEET DraftInviteFailReason = 4 + DraftInviteFailReason_DRAFT_INVITE_FAIL_REASON_PLAY_LIMIT_NOT_MEET DraftInviteFailReason = 5 +) + +// Enum value maps for DraftInviteFailReason. +var ( + DraftInviteFailReason_name = map[int32]string{ + 0: "DRAFT_INVITE_FAIL_REASON_UNKNOWN", + 1: "DRAFT_INVITE_FAIL_REASON_ACTIVITY_NOT_OPEN", + 2: "DRAFT_INVITE_FAIL_REASON_ACTIVITY_PLAY_NOT_OPEN", + 3: "DRAFT_INVITE_FAIL_REASON_SCENE_NOT_MEET", + 4: "DRAFT_INVITE_FAIL_REASON_WORLD_NOT_MEET", + 5: "DRAFT_INVITE_FAIL_REASON_PLAY_LIMIT_NOT_MEET", + } + DraftInviteFailReason_value = map[string]int32{ + "DRAFT_INVITE_FAIL_REASON_UNKNOWN": 0, + "DRAFT_INVITE_FAIL_REASON_ACTIVITY_NOT_OPEN": 1, + "DRAFT_INVITE_FAIL_REASON_ACTIVITY_PLAY_NOT_OPEN": 2, + "DRAFT_INVITE_FAIL_REASON_SCENE_NOT_MEET": 3, + "DRAFT_INVITE_FAIL_REASON_WORLD_NOT_MEET": 4, + "DRAFT_INVITE_FAIL_REASON_PLAY_LIMIT_NOT_MEET": 5, + } +) + +func (x DraftInviteFailReason) Enum() *DraftInviteFailReason { + p := new(DraftInviteFailReason) + *p = x + return p +} + +func (x DraftInviteFailReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DraftInviteFailReason) Descriptor() protoreflect.EnumDescriptor { + return file_DraftInviteFailReason_proto_enumTypes[0].Descriptor() +} + +func (DraftInviteFailReason) Type() protoreflect.EnumType { + return &file_DraftInviteFailReason_proto_enumTypes[0] +} + +func (x DraftInviteFailReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DraftInviteFailReason.Descriptor instead. +func (DraftInviteFailReason) EnumDescriptor() ([]byte, []int) { + return file_DraftInviteFailReason_proto_rawDescGZIP(), []int{0} +} + +var File_DraftInviteFailReason_proto protoreflect.FileDescriptor + +var file_DraftInviteFailReason_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, + 0x6c, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xae, 0x02, + 0x0a, 0x15, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, + 0x6c, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x52, 0x41, 0x46, 0x54, + 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x2e, 0x0a, + 0x2a, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, + 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x33, 0x0a, + 0x2f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, + 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, + 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, + 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x03, 0x12, + 0x2b, 0x0a, 0x27, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x04, 0x12, 0x30, 0x0a, 0x2c, + 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x05, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DraftInviteFailReason_proto_rawDescOnce sync.Once + file_DraftInviteFailReason_proto_rawDescData = file_DraftInviteFailReason_proto_rawDesc +) + +func file_DraftInviteFailReason_proto_rawDescGZIP() []byte { + file_DraftInviteFailReason_proto_rawDescOnce.Do(func() { + file_DraftInviteFailReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftInviteFailReason_proto_rawDescData) + }) + return file_DraftInviteFailReason_proto_rawDescData +} + +var file_DraftInviteFailReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DraftInviteFailReason_proto_goTypes = []interface{}{ + (DraftInviteFailReason)(0), // 0: DraftInviteFailReason +} +var file_DraftInviteFailReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftInviteFailReason_proto_init() } +func file_DraftInviteFailReason_proto_init() { + if File_DraftInviteFailReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftInviteFailReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftInviteFailReason_proto_goTypes, + DependencyIndexes: file_DraftInviteFailReason_proto_depIdxs, + EnumInfos: file_DraftInviteFailReason_proto_enumTypes, + }.Build() + File_DraftInviteFailReason_proto = out.File + file_DraftInviteFailReason_proto_rawDesc = nil + file_DraftInviteFailReason_proto_goTypes = nil + file_DraftInviteFailReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftInviteFailReason.proto b/gate-hk4e-api/proto/DraftInviteFailReason.proto new file mode 100644 index 00000000..f56cb506 --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteFailReason.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DraftInviteFailReason { + DRAFT_INVITE_FAIL_REASON_UNKNOWN = 0; + DRAFT_INVITE_FAIL_REASON_ACTIVITY_NOT_OPEN = 1; + DRAFT_INVITE_FAIL_REASON_ACTIVITY_PLAY_NOT_OPEN = 2; + DRAFT_INVITE_FAIL_REASON_SCENE_NOT_MEET = 3; + DRAFT_INVITE_FAIL_REASON_WORLD_NOT_MEET = 4; + DRAFT_INVITE_FAIL_REASON_PLAY_LIMIT_NOT_MEET = 5; +} diff --git a/gate-hk4e-api/proto/DraftInviteResultNotify.pb.go b/gate-hk4e-api/proto/DraftInviteResultNotify.pb.go new file mode 100644 index 00000000..8b597b63 --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteResultNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftInviteResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5473 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftInviteResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAllArgee bool `protobuf:"varint,9,opt,name=is_all_argee,json=isAllArgee,proto3" json:"is_all_argee,omitempty"` + DraftId uint32 `protobuf:"varint,13,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftInviteResultNotify) Reset() { + *x = DraftInviteResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftInviteResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftInviteResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftInviteResultNotify) ProtoMessage() {} + +func (x *DraftInviteResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftInviteResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftInviteResultNotify.ProtoReflect.Descriptor instead. +func (*DraftInviteResultNotify) Descriptor() ([]byte, []int) { + return file_DraftInviteResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftInviteResultNotify) GetIsAllArgee() bool { + if x != nil { + return x.IsAllArgee + } + return false +} + +func (x *DraftInviteResultNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftInviteResultNotify_proto protoreflect.FileDescriptor + +var file_DraftInviteResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x56, 0x0a, 0x17, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, + 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0a, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x41, 0x72, 0x67, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftInviteResultNotify_proto_rawDescOnce sync.Once + file_DraftInviteResultNotify_proto_rawDescData = file_DraftInviteResultNotify_proto_rawDesc +) + +func file_DraftInviteResultNotify_proto_rawDescGZIP() []byte { + file_DraftInviteResultNotify_proto_rawDescOnce.Do(func() { + file_DraftInviteResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftInviteResultNotify_proto_rawDescData) + }) + return file_DraftInviteResultNotify_proto_rawDescData +} + +var file_DraftInviteResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftInviteResultNotify_proto_goTypes = []interface{}{ + (*DraftInviteResultNotify)(nil), // 0: DraftInviteResultNotify +} +var file_DraftInviteResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftInviteResultNotify_proto_init() } +func file_DraftInviteResultNotify_proto_init() { + if File_DraftInviteResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftInviteResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftInviteResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftInviteResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftInviteResultNotify_proto_goTypes, + DependencyIndexes: file_DraftInviteResultNotify_proto_depIdxs, + MessageInfos: file_DraftInviteResultNotify_proto_msgTypes, + }.Build() + File_DraftInviteResultNotify_proto = out.File + file_DraftInviteResultNotify_proto_rawDesc = nil + file_DraftInviteResultNotify_proto_goTypes = nil + file_DraftInviteResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftInviteResultNotify.proto b/gate-hk4e-api/proto/DraftInviteResultNotify.proto new file mode 100644 index 00000000..4b78ec72 --- /dev/null +++ b/gate-hk4e-api/proto/DraftInviteResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5473 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftInviteResultNotify { + bool is_all_argee = 9; + uint32 draft_id = 13; +} diff --git a/gate-hk4e-api/proto/DraftOwnerInviteNotify.pb.go b/gate-hk4e-api/proto/DraftOwnerInviteNotify.pb.go new file mode 100644 index 00000000..a1c6fc99 --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerInviteNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftOwnerInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5407 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftOwnerInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,4,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + InviteDeadlineTime uint32 `protobuf:"varint,15,opt,name=invite_deadline_time,json=inviteDeadlineTime,proto3" json:"invite_deadline_time,omitempty"` +} + +func (x *DraftOwnerInviteNotify) Reset() { + *x = DraftOwnerInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftOwnerInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftOwnerInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftOwnerInviteNotify) ProtoMessage() {} + +func (x *DraftOwnerInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftOwnerInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftOwnerInviteNotify.ProtoReflect.Descriptor instead. +func (*DraftOwnerInviteNotify) Descriptor() ([]byte, []int) { + return file_DraftOwnerInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftOwnerInviteNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *DraftOwnerInviteNotify) GetInviteDeadlineTime() uint32 { + if x != nil { + return x.InviteDeadlineTime + } + return 0 +} + +var File_DraftOwnerInviteNotify_proto protoreflect.FileDescriptor + +var file_DraftOwnerInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, + 0x0a, 0x16, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x64, 0x65, + 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftOwnerInviteNotify_proto_rawDescOnce sync.Once + file_DraftOwnerInviteNotify_proto_rawDescData = file_DraftOwnerInviteNotify_proto_rawDesc +) + +func file_DraftOwnerInviteNotify_proto_rawDescGZIP() []byte { + file_DraftOwnerInviteNotify_proto_rawDescOnce.Do(func() { + file_DraftOwnerInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftOwnerInviteNotify_proto_rawDescData) + }) + return file_DraftOwnerInviteNotify_proto_rawDescData +} + +var file_DraftOwnerInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftOwnerInviteNotify_proto_goTypes = []interface{}{ + (*DraftOwnerInviteNotify)(nil), // 0: DraftOwnerInviteNotify +} +var file_DraftOwnerInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftOwnerInviteNotify_proto_init() } +func file_DraftOwnerInviteNotify_proto_init() { + if File_DraftOwnerInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftOwnerInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftOwnerInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftOwnerInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftOwnerInviteNotify_proto_goTypes, + DependencyIndexes: file_DraftOwnerInviteNotify_proto_depIdxs, + MessageInfos: file_DraftOwnerInviteNotify_proto_msgTypes, + }.Build() + File_DraftOwnerInviteNotify_proto = out.File + file_DraftOwnerInviteNotify_proto_rawDesc = nil + file_DraftOwnerInviteNotify_proto_goTypes = nil + file_DraftOwnerInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftOwnerInviteNotify.proto b/gate-hk4e-api/proto/DraftOwnerInviteNotify.proto new file mode 100644 index 00000000..d27f7b8f --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerInviteNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5407 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftOwnerInviteNotify { + uint32 draft_id = 4; + uint32 invite_deadline_time = 15; +} diff --git a/gate-hk4e-api/proto/DraftOwnerStartInviteReq.pb.go b/gate-hk4e-api/proto/DraftOwnerStartInviteReq.pb.go new file mode 100644 index 00000000..d4503db7 --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerStartInviteReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftOwnerStartInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5412 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DraftOwnerStartInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DraftId uint32 `protobuf:"varint,14,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftOwnerStartInviteReq) Reset() { + *x = DraftOwnerStartInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftOwnerStartInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftOwnerStartInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftOwnerStartInviteReq) ProtoMessage() {} + +func (x *DraftOwnerStartInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_DraftOwnerStartInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftOwnerStartInviteReq.ProtoReflect.Descriptor instead. +func (*DraftOwnerStartInviteReq) Descriptor() ([]byte, []int) { + return file_DraftOwnerStartInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftOwnerStartInviteReq) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftOwnerStartInviteReq_proto protoreflect.FileDescriptor + +var file_DraftOwnerStartInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x35, 0x0a, 0x18, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftOwnerStartInviteReq_proto_rawDescOnce sync.Once + file_DraftOwnerStartInviteReq_proto_rawDescData = file_DraftOwnerStartInviteReq_proto_rawDesc +) + +func file_DraftOwnerStartInviteReq_proto_rawDescGZIP() []byte { + file_DraftOwnerStartInviteReq_proto_rawDescOnce.Do(func() { + file_DraftOwnerStartInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftOwnerStartInviteReq_proto_rawDescData) + }) + return file_DraftOwnerStartInviteReq_proto_rawDescData +} + +var file_DraftOwnerStartInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftOwnerStartInviteReq_proto_goTypes = []interface{}{ + (*DraftOwnerStartInviteReq)(nil), // 0: DraftOwnerStartInviteReq +} +var file_DraftOwnerStartInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftOwnerStartInviteReq_proto_init() } +func file_DraftOwnerStartInviteReq_proto_init() { + if File_DraftOwnerStartInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftOwnerStartInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftOwnerStartInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftOwnerStartInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftOwnerStartInviteReq_proto_goTypes, + DependencyIndexes: file_DraftOwnerStartInviteReq_proto_depIdxs, + MessageInfos: file_DraftOwnerStartInviteReq_proto_msgTypes, + }.Build() + File_DraftOwnerStartInviteReq_proto = out.File + file_DraftOwnerStartInviteReq_proto_rawDesc = nil + file_DraftOwnerStartInviteReq_proto_goTypes = nil + file_DraftOwnerStartInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftOwnerStartInviteReq.proto b/gate-hk4e-api/proto/DraftOwnerStartInviteReq.proto new file mode 100644 index 00000000..a97b0218 --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerStartInviteReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5412 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DraftOwnerStartInviteReq { + uint32 draft_id = 14; +} diff --git a/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.pb.go b/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.pb.go new file mode 100644 index 00000000..0c09a5ee --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftOwnerStartInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5435 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DraftOwnerStartInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InviteFailInfoList []*DraftInviteFailInfo `protobuf:"bytes,15,rep,name=invite_fail_info_list,json=inviteFailInfoList,proto3" json:"invite_fail_info_list,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + WrongUid uint32 `protobuf:"varint,3,opt,name=wrong_uid,json=wrongUid,proto3" json:"wrong_uid,omitempty"` + DraftId uint32 `protobuf:"varint,14,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftOwnerStartInviteRsp) Reset() { + *x = DraftOwnerStartInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftOwnerStartInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftOwnerStartInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftOwnerStartInviteRsp) ProtoMessage() {} + +func (x *DraftOwnerStartInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_DraftOwnerStartInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftOwnerStartInviteRsp.ProtoReflect.Descriptor instead. +func (*DraftOwnerStartInviteRsp) Descriptor() ([]byte, []int) { + return file_DraftOwnerStartInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftOwnerStartInviteRsp) GetInviteFailInfoList() []*DraftInviteFailInfo { + if x != nil { + return x.InviteFailInfoList + } + return nil +} + +func (x *DraftOwnerStartInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DraftOwnerStartInviteRsp) GetWrongUid() uint32 { + if x != nil { + return x.WrongUid + } + return 0 +} + +func (x *DraftOwnerStartInviteRsp) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftOwnerStartInviteRsp_proto protoreflect.FileDescriptor + +var file_DraftOwnerStartInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, 0x18, + 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x15, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x72, 0x61, 0x66, 0x74, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x69, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x77, + 0x72, 0x6f, 0x6e, 0x67, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftOwnerStartInviteRsp_proto_rawDescOnce sync.Once + file_DraftOwnerStartInviteRsp_proto_rawDescData = file_DraftOwnerStartInviteRsp_proto_rawDesc +) + +func file_DraftOwnerStartInviteRsp_proto_rawDescGZIP() []byte { + file_DraftOwnerStartInviteRsp_proto_rawDescOnce.Do(func() { + file_DraftOwnerStartInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftOwnerStartInviteRsp_proto_rawDescData) + }) + return file_DraftOwnerStartInviteRsp_proto_rawDescData +} + +var file_DraftOwnerStartInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftOwnerStartInviteRsp_proto_goTypes = []interface{}{ + (*DraftOwnerStartInviteRsp)(nil), // 0: DraftOwnerStartInviteRsp + (*DraftInviteFailInfo)(nil), // 1: DraftInviteFailInfo +} +var file_DraftOwnerStartInviteRsp_proto_depIdxs = []int32{ + 1, // 0: DraftOwnerStartInviteRsp.invite_fail_info_list:type_name -> DraftInviteFailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DraftOwnerStartInviteRsp_proto_init() } +func file_DraftOwnerStartInviteRsp_proto_init() { + if File_DraftOwnerStartInviteRsp_proto != nil { + return + } + file_DraftInviteFailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DraftOwnerStartInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftOwnerStartInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftOwnerStartInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftOwnerStartInviteRsp_proto_goTypes, + DependencyIndexes: file_DraftOwnerStartInviteRsp_proto_depIdxs, + MessageInfos: file_DraftOwnerStartInviteRsp_proto_msgTypes, + }.Build() + File_DraftOwnerStartInviteRsp_proto = out.File + file_DraftOwnerStartInviteRsp_proto_rawDesc = nil + file_DraftOwnerStartInviteRsp_proto_goTypes = nil + file_DraftOwnerStartInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.proto b/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.proto new file mode 100644 index 00000000..12331355 --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerStartInviteRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DraftInviteFailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5435 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DraftOwnerStartInviteRsp { + repeated DraftInviteFailInfo invite_fail_info_list = 15; + int32 retcode = 9; + uint32 wrong_uid = 3; + uint32 draft_id = 14; +} diff --git a/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.pb.go b/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.pb.go new file mode 100644 index 00000000..1d75e8ff --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftOwnerTwiceConfirmNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5499 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftOwnerTwiceConfirmNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TwiceConfirmDeadlineTime uint32 `protobuf:"varint,15,opt,name=twice_confirm_deadline_time,json=twiceConfirmDeadlineTime,proto3" json:"twice_confirm_deadline_time,omitempty"` + DraftId uint32 `protobuf:"varint,14,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftOwnerTwiceConfirmNotify) Reset() { + *x = DraftOwnerTwiceConfirmNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftOwnerTwiceConfirmNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftOwnerTwiceConfirmNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftOwnerTwiceConfirmNotify) ProtoMessage() {} + +func (x *DraftOwnerTwiceConfirmNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftOwnerTwiceConfirmNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftOwnerTwiceConfirmNotify.ProtoReflect.Descriptor instead. +func (*DraftOwnerTwiceConfirmNotify) Descriptor() ([]byte, []int) { + return file_DraftOwnerTwiceConfirmNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftOwnerTwiceConfirmNotify) GetTwiceConfirmDeadlineTime() uint32 { + if x != nil { + return x.TwiceConfirmDeadlineTime + } + return 0 +} + +func (x *DraftOwnerTwiceConfirmNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftOwnerTwiceConfirmNotify_proto protoreflect.FileDescriptor + +var file_DraftOwnerTwiceConfirmNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x77, 0x69, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1c, 0x44, 0x72, 0x61, 0x66, 0x74, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x3d, 0x0a, 0x1b, 0x74, 0x77, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x74, 0x77, 0x69, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DraftOwnerTwiceConfirmNotify_proto_rawDescOnce sync.Once + file_DraftOwnerTwiceConfirmNotify_proto_rawDescData = file_DraftOwnerTwiceConfirmNotify_proto_rawDesc +) + +func file_DraftOwnerTwiceConfirmNotify_proto_rawDescGZIP() []byte { + file_DraftOwnerTwiceConfirmNotify_proto_rawDescOnce.Do(func() { + file_DraftOwnerTwiceConfirmNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftOwnerTwiceConfirmNotify_proto_rawDescData) + }) + return file_DraftOwnerTwiceConfirmNotify_proto_rawDescData +} + +var file_DraftOwnerTwiceConfirmNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftOwnerTwiceConfirmNotify_proto_goTypes = []interface{}{ + (*DraftOwnerTwiceConfirmNotify)(nil), // 0: DraftOwnerTwiceConfirmNotify +} +var file_DraftOwnerTwiceConfirmNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftOwnerTwiceConfirmNotify_proto_init() } +func file_DraftOwnerTwiceConfirmNotify_proto_init() { + if File_DraftOwnerTwiceConfirmNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftOwnerTwiceConfirmNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftOwnerTwiceConfirmNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftOwnerTwiceConfirmNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftOwnerTwiceConfirmNotify_proto_goTypes, + DependencyIndexes: file_DraftOwnerTwiceConfirmNotify_proto_depIdxs, + MessageInfos: file_DraftOwnerTwiceConfirmNotify_proto_msgTypes, + }.Build() + File_DraftOwnerTwiceConfirmNotify_proto = out.File + file_DraftOwnerTwiceConfirmNotify_proto_rawDesc = nil + file_DraftOwnerTwiceConfirmNotify_proto_goTypes = nil + file_DraftOwnerTwiceConfirmNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.proto b/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.proto new file mode 100644 index 00000000..4a20b495 --- /dev/null +++ b/gate-hk4e-api/proto/DraftOwnerTwiceConfirmNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5499 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftOwnerTwiceConfirmNotify { + uint32 twice_confirm_deadline_time = 15; + uint32 draft_id = 14; +} diff --git a/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.pb.go b/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.pb.go new file mode 100644 index 00000000..a93606d5 --- /dev/null +++ b/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DraftTwiceConfirmResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5448 +// EnetChannelId: 0 +// EnetIsReliable: true +type DraftTwiceConfirmResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAllArgee bool `protobuf:"varint,7,opt,name=is_all_argee,json=isAllArgee,proto3" json:"is_all_argee,omitempty"` + DraftId uint32 `protobuf:"varint,1,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` +} + +func (x *DraftTwiceConfirmResultNotify) Reset() { + *x = DraftTwiceConfirmResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DraftTwiceConfirmResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DraftTwiceConfirmResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DraftTwiceConfirmResultNotify) ProtoMessage() {} + +func (x *DraftTwiceConfirmResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_DraftTwiceConfirmResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DraftTwiceConfirmResultNotify.ProtoReflect.Descriptor instead. +func (*DraftTwiceConfirmResultNotify) Descriptor() ([]byte, []int) { + return file_DraftTwiceConfirmResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DraftTwiceConfirmResultNotify) GetIsAllArgee() bool { + if x != nil { + return x.IsAllArgee + } + return false +} + +func (x *DraftTwiceConfirmResultNotify) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +var File_DraftTwiceConfirmResultNotify_proto protoreflect.FileDescriptor + +var file_DraftTwiceConfirmResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x72, 0x61, 0x66, 0x74, 0x54, 0x77, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x1d, 0x44, 0x72, 0x61, 0x66, 0x74, 0x54, 0x77, + 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, + 0x5f, 0x61, 0x72, 0x67, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, + 0x41, 0x6c, 0x6c, 0x41, 0x72, 0x67, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DraftTwiceConfirmResultNotify_proto_rawDescOnce sync.Once + file_DraftTwiceConfirmResultNotify_proto_rawDescData = file_DraftTwiceConfirmResultNotify_proto_rawDesc +) + +func file_DraftTwiceConfirmResultNotify_proto_rawDescGZIP() []byte { + file_DraftTwiceConfirmResultNotify_proto_rawDescOnce.Do(func() { + file_DraftTwiceConfirmResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DraftTwiceConfirmResultNotify_proto_rawDescData) + }) + return file_DraftTwiceConfirmResultNotify_proto_rawDescData +} + +var file_DraftTwiceConfirmResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DraftTwiceConfirmResultNotify_proto_goTypes = []interface{}{ + (*DraftTwiceConfirmResultNotify)(nil), // 0: DraftTwiceConfirmResultNotify +} +var file_DraftTwiceConfirmResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DraftTwiceConfirmResultNotify_proto_init() } +func file_DraftTwiceConfirmResultNotify_proto_init() { + if File_DraftTwiceConfirmResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DraftTwiceConfirmResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DraftTwiceConfirmResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DraftTwiceConfirmResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DraftTwiceConfirmResultNotify_proto_goTypes, + DependencyIndexes: file_DraftTwiceConfirmResultNotify_proto_depIdxs, + MessageInfos: file_DraftTwiceConfirmResultNotify_proto_msgTypes, + }.Build() + File_DraftTwiceConfirmResultNotify_proto = out.File + file_DraftTwiceConfirmResultNotify_proto_rawDesc = nil + file_DraftTwiceConfirmResultNotify_proto_goTypes = nil + file_DraftTwiceConfirmResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.proto b/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.proto new file mode 100644 index 00000000..14c12366 --- /dev/null +++ b/gate-hk4e-api/proto/DraftTwiceConfirmResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5448 +// EnetChannelId: 0 +// EnetIsReliable: true +message DraftTwiceConfirmResultNotify { + bool is_all_argee = 7; + uint32 draft_id = 1; +} diff --git a/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.pb.go b/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.pb.go new file mode 100644 index 00000000..7f98c065 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DragonSpineActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsContentClosed bool `protobuf:"varint,10,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + ChapterInfoList []*DragonSpineChapterInfo `protobuf:"bytes,4,rep,name=chapter_info_list,json=chapterInfoList,proto3" json:"chapter_info_list,omitempty"` + WeaponEnhanceLevel uint32 `protobuf:"varint,2,opt,name=weapon_enhance_level,json=weaponEnhanceLevel,proto3" json:"weapon_enhance_level,omitempty"` + ContentFinishTime uint32 `protobuf:"varint,15,opt,name=content_finish_time,json=contentFinishTime,proto3" json:"content_finish_time,omitempty"` + ShimmeringEssence uint32 `protobuf:"varint,13,opt,name=shimmering_essence,json=shimmeringEssence,proto3" json:"shimmering_essence,omitempty"` + WarmEssence uint32 `protobuf:"varint,11,opt,name=warm_essence,json=warmEssence,proto3" json:"warm_essence,omitempty"` + WondrousEssence uint32 `protobuf:"varint,7,opt,name=wondrous_essence,json=wondrousEssence,proto3" json:"wondrous_essence,omitempty"` +} + +func (x *DragonSpineActivityDetailInfo) Reset() { + *x = DragonSpineActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineActivityDetailInfo) ProtoMessage() {} + +func (x *DragonSpineActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*DragonSpineActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_DragonSpineActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *DragonSpineActivityDetailInfo) GetChapterInfoList() []*DragonSpineChapterInfo { + if x != nil { + return x.ChapterInfoList + } + return nil +} + +func (x *DragonSpineActivityDetailInfo) GetWeaponEnhanceLevel() uint32 { + if x != nil { + return x.WeaponEnhanceLevel + } + return 0 +} + +func (x *DragonSpineActivityDetailInfo) GetContentFinishTime() uint32 { + if x != nil { + return x.ContentFinishTime + } + return 0 +} + +func (x *DragonSpineActivityDetailInfo) GetShimmeringEssence() uint32 { + if x != nil { + return x.ShimmeringEssence + } + return 0 +} + +func (x *DragonSpineActivityDetailInfo) GetWarmEssence() uint32 { + if x != nil { + return x.WarmEssence + } + return 0 +} + +func (x *DragonSpineActivityDetailInfo) GetWondrousEssence() uint32 { + if x != nil { + return x.WondrousEssence + } + return 0 +} + +var File_DragonSpineActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_DragonSpineActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, + 0x6e, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x02, 0x0a, 0x1d, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, + 0x69, 0x6e, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x64, 0x12, 0x43, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x44, + 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x5f, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x45, 0x6e, 0x68, 0x61, + 0x6e, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x68, 0x69, 0x6d, + 0x6d, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x68, 0x69, 0x6d, 0x6d, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x45, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x72, 0x6d, 0x5f, + 0x65, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x77, + 0x61, 0x72, 0x6d, 0x45, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x6f, + 0x6e, 0x64, 0x72, 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x6f, 0x6e, 0x64, 0x72, 0x6f, 0x75, 0x73, 0x45, 0x73, + 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineActivityDetailInfo_proto_rawDescOnce sync.Once + file_DragonSpineActivityDetailInfo_proto_rawDescData = file_DragonSpineActivityDetailInfo_proto_rawDesc +) + +func file_DragonSpineActivityDetailInfo_proto_rawDescGZIP() []byte { + file_DragonSpineActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_DragonSpineActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineActivityDetailInfo_proto_rawDescData) + }) + return file_DragonSpineActivityDetailInfo_proto_rawDescData +} + +var file_DragonSpineActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineActivityDetailInfo_proto_goTypes = []interface{}{ + (*DragonSpineActivityDetailInfo)(nil), // 0: DragonSpineActivityDetailInfo + (*DragonSpineChapterInfo)(nil), // 1: DragonSpineChapterInfo +} +var file_DragonSpineActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: DragonSpineActivityDetailInfo.chapter_info_list:type_name -> DragonSpineChapterInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DragonSpineActivityDetailInfo_proto_init() } +func file_DragonSpineActivityDetailInfo_proto_init() { + if File_DragonSpineActivityDetailInfo_proto != nil { + return + } + file_DragonSpineChapterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DragonSpineActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_DragonSpineActivityDetailInfo_proto_depIdxs, + MessageInfos: file_DragonSpineActivityDetailInfo_proto_msgTypes, + }.Build() + File_DragonSpineActivityDetailInfo_proto = out.File + file_DragonSpineActivityDetailInfo_proto_rawDesc = nil + file_DragonSpineActivityDetailInfo_proto_goTypes = nil + file_DragonSpineActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.proto b/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.proto new file mode 100644 index 00000000..1f5fd86b --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DragonSpineChapterInfo.proto"; + +option go_package = "./;proto"; + +message DragonSpineActivityDetailInfo { + bool is_content_closed = 10; + repeated DragonSpineChapterInfo chapter_info_list = 4; + uint32 weapon_enhance_level = 2; + uint32 content_finish_time = 15; + uint32 shimmering_essence = 13; + uint32 warm_essence = 11; + uint32 wondrous_essence = 7; +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.pb.go b/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.pb.go new file mode 100644 index 00000000..9da96ecf --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineChapterFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2069 +// EnetChannelId: 0 +// EnetIsReliable: true +type DragonSpineChapterFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ChapterId uint32 `protobuf:"varint,11,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + WeaponEnhanceLevel uint32 `protobuf:"varint,14,opt,name=weapon_enhance_level,json=weaponEnhanceLevel,proto3" json:"weapon_enhance_level,omitempty"` +} + +func (x *DragonSpineChapterFinishNotify) Reset() { + *x = DragonSpineChapterFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineChapterFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineChapterFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineChapterFinishNotify) ProtoMessage() {} + +func (x *DragonSpineChapterFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineChapterFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineChapterFinishNotify.ProtoReflect.Descriptor instead. +func (*DragonSpineChapterFinishNotify) Descriptor() ([]byte, []int) { + return file_DragonSpineChapterFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineChapterFinishNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *DragonSpineChapterFinishNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *DragonSpineChapterFinishNotify) GetWeaponEnhanceLevel() uint32 { + if x != nil { + return x.WeaponEnhanceLevel + } + return 0 +} + +var File_DragonSpineChapterFinishNotify_proto protoreflect.FileDescriptor + +var file_DragonSpineChapterFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1e, 0x44, 0x72, 0x61, 0x67, 0x6f, + 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x77, 0x65, 0x61, + 0x70, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x45, + 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineChapterFinishNotify_proto_rawDescOnce sync.Once + file_DragonSpineChapterFinishNotify_proto_rawDescData = file_DragonSpineChapterFinishNotify_proto_rawDesc +) + +func file_DragonSpineChapterFinishNotify_proto_rawDescGZIP() []byte { + file_DragonSpineChapterFinishNotify_proto_rawDescOnce.Do(func() { + file_DragonSpineChapterFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineChapterFinishNotify_proto_rawDescData) + }) + return file_DragonSpineChapterFinishNotify_proto_rawDescData +} + +var file_DragonSpineChapterFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineChapterFinishNotify_proto_goTypes = []interface{}{ + (*DragonSpineChapterFinishNotify)(nil), // 0: DragonSpineChapterFinishNotify +} +var file_DragonSpineChapterFinishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DragonSpineChapterFinishNotify_proto_init() } +func file_DragonSpineChapterFinishNotify_proto_init() { + if File_DragonSpineChapterFinishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DragonSpineChapterFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineChapterFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineChapterFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineChapterFinishNotify_proto_goTypes, + DependencyIndexes: file_DragonSpineChapterFinishNotify_proto_depIdxs, + MessageInfos: file_DragonSpineChapterFinishNotify_proto_msgTypes, + }.Build() + File_DragonSpineChapterFinishNotify_proto = out.File + file_DragonSpineChapterFinishNotify_proto_rawDesc = nil + file_DragonSpineChapterFinishNotify_proto_goTypes = nil + file_DragonSpineChapterFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.proto b/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.proto new file mode 100644 index 00000000..eda532b3 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterFinishNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2069 +// EnetChannelId: 0 +// EnetIsReliable: true +message DragonSpineChapterFinishNotify { + uint32 schedule_id = 13; + uint32 chapter_id = 11; + uint32 weapon_enhance_level = 14; +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterInfo.pb.go b/gate-hk4e-api/proto/DragonSpineChapterInfo.pb.go new file mode 100644 index 00000000..7eedde2f --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineChapterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DragonSpineChapterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Progress uint32 `protobuf:"varint,14,opt,name=progress,proto3" json:"progress,omitempty"` + OpenTime uint32 `protobuf:"varint,6,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsOpen bool `protobuf:"varint,11,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + ChapterId uint32 `protobuf:"varint,9,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + FinishedMissionNum uint32 `protobuf:"varint,10,opt,name=finished_mission_num,json=finishedMissionNum,proto3" json:"finished_mission_num,omitempty"` +} + +func (x *DragonSpineChapterInfo) Reset() { + *x = DragonSpineChapterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineChapterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineChapterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineChapterInfo) ProtoMessage() {} + +func (x *DragonSpineChapterInfo) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineChapterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineChapterInfo.ProtoReflect.Descriptor instead. +func (*DragonSpineChapterInfo) Descriptor() ([]byte, []int) { + return file_DragonSpineChapterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineChapterInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *DragonSpineChapterInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *DragonSpineChapterInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *DragonSpineChapterInfo) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *DragonSpineChapterInfo) GetFinishedMissionNum() uint32 { + if x != nil { + return x.FinishedMissionNum + } + return 0 +} + +var File_DragonSpineChapterInfo_proto protoreflect.FileDescriptor + +var file_DragonSpineChapterInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, + 0x01, 0x0a, 0x16, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, + 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineChapterInfo_proto_rawDescOnce sync.Once + file_DragonSpineChapterInfo_proto_rawDescData = file_DragonSpineChapterInfo_proto_rawDesc +) + +func file_DragonSpineChapterInfo_proto_rawDescGZIP() []byte { + file_DragonSpineChapterInfo_proto_rawDescOnce.Do(func() { + file_DragonSpineChapterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineChapterInfo_proto_rawDescData) + }) + return file_DragonSpineChapterInfo_proto_rawDescData +} + +var file_DragonSpineChapterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineChapterInfo_proto_goTypes = []interface{}{ + (*DragonSpineChapterInfo)(nil), // 0: DragonSpineChapterInfo +} +var file_DragonSpineChapterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DragonSpineChapterInfo_proto_init() } +func file_DragonSpineChapterInfo_proto_init() { + if File_DragonSpineChapterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DragonSpineChapterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineChapterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineChapterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineChapterInfo_proto_goTypes, + DependencyIndexes: file_DragonSpineChapterInfo_proto_depIdxs, + MessageInfos: file_DragonSpineChapterInfo_proto_msgTypes, + }.Build() + File_DragonSpineChapterInfo_proto = out.File + file_DragonSpineChapterInfo_proto_rawDesc = nil + file_DragonSpineChapterInfo_proto_goTypes = nil + file_DragonSpineChapterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterInfo.proto b/gate-hk4e-api/proto/DragonSpineChapterInfo.proto new file mode 100644 index 00000000..a30f5573 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message DragonSpineChapterInfo { + uint32 progress = 14; + uint32 open_time = 6; + bool is_open = 11; + uint32 chapter_id = 9; + uint32 finished_mission_num = 10; +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.pb.go b/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.pb.go new file mode 100644 index 00000000..c72e2ae6 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineChapterOpenNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2022 +// EnetChannelId: 0 +// EnetIsReliable: true +type DragonSpineChapterOpenNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,12,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ChapterId uint32 `protobuf:"varint,10,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *DragonSpineChapterOpenNotify) Reset() { + *x = DragonSpineChapterOpenNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineChapterOpenNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineChapterOpenNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineChapterOpenNotify) ProtoMessage() {} + +func (x *DragonSpineChapterOpenNotify) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineChapterOpenNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineChapterOpenNotify.ProtoReflect.Descriptor instead. +func (*DragonSpineChapterOpenNotify) Descriptor() ([]byte, []int) { + return file_DragonSpineChapterOpenNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineChapterOpenNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *DragonSpineChapterOpenNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_DragonSpineChapterOpenNotify_proto protoreflect.FileDescriptor + +var file_DragonSpineChapterOpenNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x1c, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, + 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineChapterOpenNotify_proto_rawDescOnce sync.Once + file_DragonSpineChapterOpenNotify_proto_rawDescData = file_DragonSpineChapterOpenNotify_proto_rawDesc +) + +func file_DragonSpineChapterOpenNotify_proto_rawDescGZIP() []byte { + file_DragonSpineChapterOpenNotify_proto_rawDescOnce.Do(func() { + file_DragonSpineChapterOpenNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineChapterOpenNotify_proto_rawDescData) + }) + return file_DragonSpineChapterOpenNotify_proto_rawDescData +} + +var file_DragonSpineChapterOpenNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineChapterOpenNotify_proto_goTypes = []interface{}{ + (*DragonSpineChapterOpenNotify)(nil), // 0: DragonSpineChapterOpenNotify +} +var file_DragonSpineChapterOpenNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DragonSpineChapterOpenNotify_proto_init() } +func file_DragonSpineChapterOpenNotify_proto_init() { + if File_DragonSpineChapterOpenNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DragonSpineChapterOpenNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineChapterOpenNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineChapterOpenNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineChapterOpenNotify_proto_goTypes, + DependencyIndexes: file_DragonSpineChapterOpenNotify_proto_depIdxs, + MessageInfos: file_DragonSpineChapterOpenNotify_proto_msgTypes, + }.Build() + File_DragonSpineChapterOpenNotify_proto = out.File + file_DragonSpineChapterOpenNotify_proto_rawDesc = nil + file_DragonSpineChapterOpenNotify_proto_goTypes = nil + file_DragonSpineChapterOpenNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.proto b/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.proto new file mode 100644 index 00000000..efc05c92 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterOpenNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2022 +// EnetChannelId: 0 +// EnetIsReliable: true +message DragonSpineChapterOpenNotify { + uint32 schedule_id = 12; + uint32 chapter_id = 10; +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.pb.go b/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.pb.go new file mode 100644 index 00000000..88145690 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineChapterProgressChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2065 +// EnetChannelId: 0 +// EnetIsReliable: true +type DragonSpineChapterProgressChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ChapterId uint32 `protobuf:"varint,11,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + CurProgress uint32 `protobuf:"varint,5,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` +} + +func (x *DragonSpineChapterProgressChangeNotify) Reset() { + *x = DragonSpineChapterProgressChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineChapterProgressChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineChapterProgressChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineChapterProgressChangeNotify) ProtoMessage() {} + +func (x *DragonSpineChapterProgressChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineChapterProgressChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineChapterProgressChangeNotify.ProtoReflect.Descriptor instead. +func (*DragonSpineChapterProgressChangeNotify) Descriptor() ([]byte, []int) { + return file_DragonSpineChapterProgressChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineChapterProgressChangeNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *DragonSpineChapterProgressChangeNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *DragonSpineChapterProgressChangeNotify) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +var File_DragonSpineChapterProgressChangeNotify_proto protoreflect.FileDescriptor + +var file_DragonSpineChapterProgressChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, + 0x01, 0x0a, 0x26, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineChapterProgressChangeNotify_proto_rawDescOnce sync.Once + file_DragonSpineChapterProgressChangeNotify_proto_rawDescData = file_DragonSpineChapterProgressChangeNotify_proto_rawDesc +) + +func file_DragonSpineChapterProgressChangeNotify_proto_rawDescGZIP() []byte { + file_DragonSpineChapterProgressChangeNotify_proto_rawDescOnce.Do(func() { + file_DragonSpineChapterProgressChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineChapterProgressChangeNotify_proto_rawDescData) + }) + return file_DragonSpineChapterProgressChangeNotify_proto_rawDescData +} + +var file_DragonSpineChapterProgressChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineChapterProgressChangeNotify_proto_goTypes = []interface{}{ + (*DragonSpineChapterProgressChangeNotify)(nil), // 0: DragonSpineChapterProgressChangeNotify +} +var file_DragonSpineChapterProgressChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DragonSpineChapterProgressChangeNotify_proto_init() } +func file_DragonSpineChapterProgressChangeNotify_proto_init() { + if File_DragonSpineChapterProgressChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DragonSpineChapterProgressChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineChapterProgressChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineChapterProgressChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineChapterProgressChangeNotify_proto_goTypes, + DependencyIndexes: file_DragonSpineChapterProgressChangeNotify_proto_depIdxs, + MessageInfos: file_DragonSpineChapterProgressChangeNotify_proto_msgTypes, + }.Build() + File_DragonSpineChapterProgressChangeNotify_proto = out.File + file_DragonSpineChapterProgressChangeNotify_proto_rawDesc = nil + file_DragonSpineChapterProgressChangeNotify_proto_goTypes = nil + file_DragonSpineChapterProgressChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.proto b/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.proto new file mode 100644 index 00000000..d308aa03 --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineChapterProgressChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2065 +// EnetChannelId: 0 +// EnetIsReliable: true +message DragonSpineChapterProgressChangeNotify { + uint32 schedule_id = 7; + uint32 chapter_id = 11; + uint32 cur_progress = 5; +} diff --git a/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.pb.go b/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.pb.go new file mode 100644 index 00000000..16ffed2e --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DragonSpineCoinChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2088 +// EnetChannelId: 0 +// EnetIsReliable: true +type DragonSpineCoinChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShimmeringEssence uint32 `protobuf:"varint,4,opt,name=shimmering_essence,json=shimmeringEssence,proto3" json:"shimmering_essence,omitempty"` + WarmEssence uint32 `protobuf:"varint,13,opt,name=warm_essence,json=warmEssence,proto3" json:"warm_essence,omitempty"` + ScheduleId uint32 `protobuf:"varint,12,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + WondrousEssence uint32 `protobuf:"varint,11,opt,name=wondrous_essence,json=wondrousEssence,proto3" json:"wondrous_essence,omitempty"` +} + +func (x *DragonSpineCoinChangeNotify) Reset() { + *x = DragonSpineCoinChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DragonSpineCoinChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DragonSpineCoinChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DragonSpineCoinChangeNotify) ProtoMessage() {} + +func (x *DragonSpineCoinChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_DragonSpineCoinChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DragonSpineCoinChangeNotify.ProtoReflect.Descriptor instead. +func (*DragonSpineCoinChangeNotify) Descriptor() ([]byte, []int) { + return file_DragonSpineCoinChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DragonSpineCoinChangeNotify) GetShimmeringEssence() uint32 { + if x != nil { + return x.ShimmeringEssence + } + return 0 +} + +func (x *DragonSpineCoinChangeNotify) GetWarmEssence() uint32 { + if x != nil { + return x.WarmEssence + } + return 0 +} + +func (x *DragonSpineCoinChangeNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *DragonSpineCoinChangeNotify) GetWondrousEssence() uint32 { + if x != nil { + return x.WondrousEssence + } + return 0 +} + +var File_DragonSpineCoinChangeNotify_proto protoreflect.FileDescriptor + +var file_DragonSpineCoinChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x69, + 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x1b, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x53, 0x70, + 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x68, 0x69, 0x6d, 0x6d, 0x65, 0x72, 0x69, 0x6e, + 0x67, 0x5f, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x11, 0x73, 0x68, 0x69, 0x6d, 0x6d, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x73, 0x73, 0x65, 0x6e, + 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x72, 0x6d, 0x5f, 0x65, 0x73, 0x73, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x77, 0x61, 0x72, 0x6d, 0x45, 0x73, + 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x6f, 0x6e, 0x64, 0x72, 0x6f, + 0x75, 0x73, 0x5f, 0x65, 0x73, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x77, 0x6f, 0x6e, 0x64, 0x72, 0x6f, 0x75, 0x73, 0x45, 0x73, 0x73, 0x65, 0x6e, 0x63, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DragonSpineCoinChangeNotify_proto_rawDescOnce sync.Once + file_DragonSpineCoinChangeNotify_proto_rawDescData = file_DragonSpineCoinChangeNotify_proto_rawDesc +) + +func file_DragonSpineCoinChangeNotify_proto_rawDescGZIP() []byte { + file_DragonSpineCoinChangeNotify_proto_rawDescOnce.Do(func() { + file_DragonSpineCoinChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DragonSpineCoinChangeNotify_proto_rawDescData) + }) + return file_DragonSpineCoinChangeNotify_proto_rawDescData +} + +var file_DragonSpineCoinChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DragonSpineCoinChangeNotify_proto_goTypes = []interface{}{ + (*DragonSpineCoinChangeNotify)(nil), // 0: DragonSpineCoinChangeNotify +} +var file_DragonSpineCoinChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DragonSpineCoinChangeNotify_proto_init() } +func file_DragonSpineCoinChangeNotify_proto_init() { + if File_DragonSpineCoinChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DragonSpineCoinChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DragonSpineCoinChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DragonSpineCoinChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DragonSpineCoinChangeNotify_proto_goTypes, + DependencyIndexes: file_DragonSpineCoinChangeNotify_proto_depIdxs, + MessageInfos: file_DragonSpineCoinChangeNotify_proto_msgTypes, + }.Build() + File_DragonSpineCoinChangeNotify_proto = out.File + file_DragonSpineCoinChangeNotify_proto_rawDesc = nil + file_DragonSpineCoinChangeNotify_proto_goTypes = nil + file_DragonSpineCoinChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.proto b/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.proto new file mode 100644 index 00000000..2db0d5af --- /dev/null +++ b/gate-hk4e-api/proto/DragonSpineCoinChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2088 +// EnetChannelId: 0 +// EnetIsReliable: true +message DragonSpineCoinChangeNotify { + uint32 shimmering_essence = 4; + uint32 warm_essence = 13; + uint32 schedule_id = 12; + uint32 wondrous_essence = 11; +} diff --git a/gate-hk4e-api/proto/DropHintNotify.pb.go b/gate-hk4e-api/proto/DropHintNotify.pb.go new file mode 100644 index 00000000..27553af6 --- /dev/null +++ b/gate-hk4e-api/proto/DropHintNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DropHintNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 650 +// EnetChannelId: 0 +// EnetIsReliable: true +type DropHintNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,7,opt,name=position,proto3" json:"position,omitempty"` + ItemIdList []uint32 `protobuf:"varint,14,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *DropHintNotify) Reset() { + *x = DropHintNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DropHintNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropHintNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropHintNotify) ProtoMessage() {} + +func (x *DropHintNotify) ProtoReflect() protoreflect.Message { + mi := &file_DropHintNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DropHintNotify.ProtoReflect.Descriptor instead. +func (*DropHintNotify) Descriptor() ([]byte, []int) { + return file_DropHintNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DropHintNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *DropHintNotify) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_DropHintNotify_proto protoreflect.FileDescriptor + +var file_DropHintNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x44, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x0e, 0x44, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0c, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_DropHintNotify_proto_rawDescOnce sync.Once + file_DropHintNotify_proto_rawDescData = file_DropHintNotify_proto_rawDesc +) + +func file_DropHintNotify_proto_rawDescGZIP() []byte { + file_DropHintNotify_proto_rawDescOnce.Do(func() { + file_DropHintNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DropHintNotify_proto_rawDescData) + }) + return file_DropHintNotify_proto_rawDescData +} + +var file_DropHintNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DropHintNotify_proto_goTypes = []interface{}{ + (*DropHintNotify)(nil), // 0: DropHintNotify + (*Vector)(nil), // 1: Vector +} +var file_DropHintNotify_proto_depIdxs = []int32{ + 1, // 0: DropHintNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DropHintNotify_proto_init() } +func file_DropHintNotify_proto_init() { + if File_DropHintNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_DropHintNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropHintNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DropHintNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DropHintNotify_proto_goTypes, + DependencyIndexes: file_DropHintNotify_proto_depIdxs, + MessageInfos: file_DropHintNotify_proto_msgTypes, + }.Build() + File_DropHintNotify_proto = out.File + file_DropHintNotify_proto_rawDesc = nil + file_DropHintNotify_proto_goTypes = nil + file_DropHintNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DropHintNotify.proto b/gate-hk4e-api/proto/DropHintNotify.proto new file mode 100644 index 00000000..af8dd1d2 --- /dev/null +++ b/gate-hk4e-api/proto/DropHintNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 650 +// EnetChannelId: 0 +// EnetIsReliable: true +message DropHintNotify { + Vector position = 7; + repeated uint32 item_id_list = 14; +} diff --git a/gate-hk4e-api/proto/DropItemReq.pb.go b/gate-hk4e-api/proto/DropItemReq.pb.go new file mode 100644 index 00000000..dc434991 --- /dev/null +++ b/gate-hk4e-api/proto/DropItemReq.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DropItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 699 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DropItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,11,opt,name=pos,proto3" json:"pos,omitempty"` + StoreType StoreType `protobuf:"varint,1,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` + Guid uint64 `protobuf:"varint,13,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *DropItemReq) Reset() { + *x = DropItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DropItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropItemReq) ProtoMessage() {} + +func (x *DropItemReq) ProtoReflect() protoreflect.Message { + mi := &file_DropItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DropItemReq.ProtoReflect.Descriptor instead. +func (*DropItemReq) Descriptor() ([]byte, []int) { + return file_DropItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DropItemReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *DropItemReq) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +func (x *DropItemReq) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *DropItemReq) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_DropItemReq_proto protoreflect.FileDescriptor + +var file_DropItemReq_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x71, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x29, 0x0a, 0x0a, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DropItemReq_proto_rawDescOnce sync.Once + file_DropItemReq_proto_rawDescData = file_DropItemReq_proto_rawDesc +) + +func file_DropItemReq_proto_rawDescGZIP() []byte { + file_DropItemReq_proto_rawDescOnce.Do(func() { + file_DropItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DropItemReq_proto_rawDescData) + }) + return file_DropItemReq_proto_rawDescData +} + +var file_DropItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DropItemReq_proto_goTypes = []interface{}{ + (*DropItemReq)(nil), // 0: DropItemReq + (*Vector)(nil), // 1: Vector + (StoreType)(0), // 2: StoreType +} +var file_DropItemReq_proto_depIdxs = []int32{ + 1, // 0: DropItemReq.pos:type_name -> Vector + 2, // 1: DropItemReq.store_type:type_name -> StoreType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_DropItemReq_proto_init() } +func file_DropItemReq_proto_init() { + if File_DropItemReq_proto != nil { + return + } + file_StoreType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_DropItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DropItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DropItemReq_proto_goTypes, + DependencyIndexes: file_DropItemReq_proto_depIdxs, + MessageInfos: file_DropItemReq_proto_msgTypes, + }.Build() + File_DropItemReq_proto = out.File + file_DropItemReq_proto_rawDesc = nil + file_DropItemReq_proto_goTypes = nil + file_DropItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DropItemReq.proto b/gate-hk4e-api/proto/DropItemReq.proto new file mode 100644 index 00000000..67122a2e --- /dev/null +++ b/gate-hk4e-api/proto/DropItemReq.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "StoreType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 699 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DropItemReq { + Vector pos = 11; + StoreType store_type = 1; + uint32 count = 2; + uint64 guid = 13; +} diff --git a/gate-hk4e-api/proto/DropItemRsp.pb.go b/gate-hk4e-api/proto/DropItemRsp.pb.go new file mode 100644 index 00000000..d588f61f --- /dev/null +++ b/gate-hk4e-api/proto/DropItemRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DropItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 631 +// EnetChannelId: 0 +// EnetIsReliable: true +type DropItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + Guid uint64 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"` + StoreType StoreType `protobuf:"varint,15,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` +} + +func (x *DropItemRsp) Reset() { + *x = DropItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DropItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropItemRsp) ProtoMessage() {} + +func (x *DropItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_DropItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DropItemRsp.ProtoReflect.Descriptor instead. +func (*DropItemRsp) Descriptor() ([]byte, []int) { + return file_DropItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DropItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DropItemRsp) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *DropItemRsp) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +var File_DropItemRsp_proto protoreflect.FileDescriptor + +var file_DropItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, + 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DropItemRsp_proto_rawDescOnce sync.Once + file_DropItemRsp_proto_rawDescData = file_DropItemRsp_proto_rawDesc +) + +func file_DropItemRsp_proto_rawDescGZIP() []byte { + file_DropItemRsp_proto_rawDescOnce.Do(func() { + file_DropItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DropItemRsp_proto_rawDescData) + }) + return file_DropItemRsp_proto_rawDescData +} + +var file_DropItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DropItemRsp_proto_goTypes = []interface{}{ + (*DropItemRsp)(nil), // 0: DropItemRsp + (StoreType)(0), // 1: StoreType +} +var file_DropItemRsp_proto_depIdxs = []int32{ + 1, // 0: DropItemRsp.store_type:type_name -> StoreType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DropItemRsp_proto_init() } +func file_DropItemRsp_proto_init() { + if File_DropItemRsp_proto != nil { + return + } + file_StoreType_proto_init() + if !protoimpl.UnsafeEnabled { + file_DropItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DropItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DropItemRsp_proto_goTypes, + DependencyIndexes: file_DropItemRsp_proto_depIdxs, + MessageInfos: file_DropItemRsp_proto_msgTypes, + }.Build() + File_DropItemRsp_proto = out.File + file_DropItemRsp_proto_rawDesc = nil + file_DropItemRsp_proto_goTypes = nil + file_DropItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DropItemRsp.proto b/gate-hk4e-api/proto/DropItemRsp.proto new file mode 100644 index 00000000..38f9ddef --- /dev/null +++ b/gate-hk4e-api/proto/DropItemRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "StoreType.proto"; + +option go_package = "./;proto"; + +// CmdId: 631 +// EnetChannelId: 0 +// EnetIsReliable: true +message DropItemRsp { + int32 retcode = 9; + uint64 guid = 1; + StoreType store_type = 15; +} diff --git a/gate-hk4e-api/proto/DropSubfieldType.pb.go b/gate-hk4e-api/proto/DropSubfieldType.pb.go new file mode 100644 index 00000000..7124315b --- /dev/null +++ b/gate-hk4e-api/proto/DropSubfieldType.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DropSubfieldType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DropSubfieldType int32 + +const ( + DropSubfieldType_DROP_SUBFIELD_TYPE_NONE DropSubfieldType = 0 + DropSubfieldType_DROP_SUBFIELD_TYPE_ONE DropSubfieldType = 1 + DropSubfieldType_DROP_SUBFIELD_TYPE_Unk2700_NNGMHCEADHE DropSubfieldType = 2 + DropSubfieldType_DROP_SUBFIELD_TYPE_Unk2700_MKIJPEHKAJI DropSubfieldType = 3 + DropSubfieldType_DROP_SUBFIELD_TYPE_Unk2700_DJDNENLGIEB DropSubfieldType = 4 +) + +// Enum value maps for DropSubfieldType. +var ( + DropSubfieldType_name = map[int32]string{ + 0: "DROP_SUBFIELD_TYPE_NONE", + 1: "DROP_SUBFIELD_TYPE_ONE", + 2: "DROP_SUBFIELD_TYPE_Unk2700_NNGMHCEADHE", + 3: "DROP_SUBFIELD_TYPE_Unk2700_MKIJPEHKAJI", + 4: "DROP_SUBFIELD_TYPE_Unk2700_DJDNENLGIEB", + } + DropSubfieldType_value = map[string]int32{ + "DROP_SUBFIELD_TYPE_NONE": 0, + "DROP_SUBFIELD_TYPE_ONE": 1, + "DROP_SUBFIELD_TYPE_Unk2700_NNGMHCEADHE": 2, + "DROP_SUBFIELD_TYPE_Unk2700_MKIJPEHKAJI": 3, + "DROP_SUBFIELD_TYPE_Unk2700_DJDNENLGIEB": 4, + } +) + +func (x DropSubfieldType) Enum() *DropSubfieldType { + p := new(DropSubfieldType) + *p = x + return p +} + +func (x DropSubfieldType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DropSubfieldType) Descriptor() protoreflect.EnumDescriptor { + return file_DropSubfieldType_proto_enumTypes[0].Descriptor() +} + +func (DropSubfieldType) Type() protoreflect.EnumType { + return &file_DropSubfieldType_proto_enumTypes[0] +} + +func (x DropSubfieldType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DropSubfieldType.Descriptor instead. +func (DropSubfieldType) EnumDescriptor() ([]byte, []int) { + return file_DropSubfieldType_proto_rawDescGZIP(), []int{0} +} + +var File_DropSubfieldType_proto protoreflect.FileDescriptor + +var file_DropSubfieldType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xcf, 0x01, 0x0a, 0x10, 0x44, 0x72, 0x6f, + 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, + 0x17, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x53, 0x55, 0x42, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x52, + 0x4f, 0x50, 0x5f, 0x53, 0x55, 0x42, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x2a, 0x0a, 0x26, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x53, + 0x55, 0x42, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x47, 0x4d, 0x48, 0x43, 0x45, 0x41, 0x44, 0x48, 0x45, + 0x10, 0x02, 0x12, 0x2a, 0x0a, 0x26, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x53, 0x55, 0x42, 0x46, 0x49, + 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x4b, 0x49, 0x4a, 0x50, 0x45, 0x48, 0x4b, 0x41, 0x4a, 0x49, 0x10, 0x03, 0x12, 0x2a, + 0x0a, 0x26, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x53, 0x55, 0x42, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x44, + 0x4e, 0x45, 0x4e, 0x4c, 0x47, 0x49, 0x45, 0x42, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DropSubfieldType_proto_rawDescOnce sync.Once + file_DropSubfieldType_proto_rawDescData = file_DropSubfieldType_proto_rawDesc +) + +func file_DropSubfieldType_proto_rawDescGZIP() []byte { + file_DropSubfieldType_proto_rawDescOnce.Do(func() { + file_DropSubfieldType_proto_rawDescData = protoimpl.X.CompressGZIP(file_DropSubfieldType_proto_rawDescData) + }) + return file_DropSubfieldType_proto_rawDescData +} + +var file_DropSubfieldType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DropSubfieldType_proto_goTypes = []interface{}{ + (DropSubfieldType)(0), // 0: DropSubfieldType +} +var file_DropSubfieldType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DropSubfieldType_proto_init() } +func file_DropSubfieldType_proto_init() { + if File_DropSubfieldType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DropSubfieldType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DropSubfieldType_proto_goTypes, + DependencyIndexes: file_DropSubfieldType_proto_depIdxs, + EnumInfos: file_DropSubfieldType_proto_enumTypes, + }.Build() + File_DropSubfieldType_proto = out.File + file_DropSubfieldType_proto_rawDesc = nil + file_DropSubfieldType_proto_goTypes = nil + file_DropSubfieldType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DropSubfieldType.proto b/gate-hk4e-api/proto/DropSubfieldType.proto new file mode 100644 index 00000000..dde74eeb --- /dev/null +++ b/gate-hk4e-api/proto/DropSubfieldType.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DropSubfieldType { + DROP_SUBFIELD_TYPE_NONE = 0; + DROP_SUBFIELD_TYPE_ONE = 1; + DROP_SUBFIELD_TYPE_Unk2700_NNGMHCEADHE = 2; + DROP_SUBFIELD_TYPE_Unk2700_MKIJPEHKAJI = 3; + DROP_SUBFIELD_TYPE_Unk2700_DJDNENLGIEB = 4; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.pb.go new file mode 100644 index 00000000..5cca9aa3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamAvatar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonCandidateTeamAvatar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,2,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + AvatarInfo *AvatarInfo `protobuf:"bytes,6,opt,name=avatar_info,json=avatarInfo,proto3" json:"avatar_info,omitempty"` +} + +func (x *DungeonCandidateTeamAvatar) Reset() { + *x = DungeonCandidateTeamAvatar{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamAvatar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamAvatar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamAvatar) ProtoMessage() {} + +func (x *DungeonCandidateTeamAvatar) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamAvatar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamAvatar.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamAvatar) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamAvatar_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamAvatar) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *DungeonCandidateTeamAvatar) GetAvatarInfo() *AvatarInfo { + if x != nil { + return x.AvatarInfo + } + return nil +} + +var File_DungeonCandidateTeamAvatar_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamAvatar_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x1a, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, + 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamAvatar_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamAvatar_proto_rawDescData = file_DungeonCandidateTeamAvatar_proto_rawDesc +) + +func file_DungeonCandidateTeamAvatar_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamAvatar_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamAvatar_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamAvatar_proto_rawDescData) + }) + return file_DungeonCandidateTeamAvatar_proto_rawDescData +} + +var file_DungeonCandidateTeamAvatar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamAvatar_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamAvatar)(nil), // 0: DungeonCandidateTeamAvatar + (*AvatarInfo)(nil), // 1: AvatarInfo +} +var file_DungeonCandidateTeamAvatar_proto_depIdxs = []int32{ + 1, // 0: DungeonCandidateTeamAvatar.avatar_info:type_name -> AvatarInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamAvatar_proto_init() } +func file_DungeonCandidateTeamAvatar_proto_init() { + if File_DungeonCandidateTeamAvatar_proto != nil { + return + } + file_AvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamAvatar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamAvatar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamAvatar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamAvatar_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamAvatar_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamAvatar_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamAvatar_proto = out.File + file_DungeonCandidateTeamAvatar_proto_rawDesc = nil + file_DungeonCandidateTeamAvatar_proto_goTypes = nil + file_DungeonCandidateTeamAvatar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.proto b/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.proto new file mode 100644 index 00000000..9fc3deab --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamAvatar.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarInfo.proto"; + +option go_package = "./;proto"; + +message DungeonCandidateTeamAvatar { + uint32 player_uid = 2; + AvatarInfo avatar_info = 6; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.pb.go new file mode 100644 index 00000000..9ee40ce3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamChangeAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 956 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamChangeAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuidList []uint64 `protobuf:"varint,5,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` +} + +func (x *DungeonCandidateTeamChangeAvatarReq) Reset() { + *x = DungeonCandidateTeamChangeAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamChangeAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamChangeAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamChangeAvatarReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamChangeAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamChangeAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamChangeAvatarReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamChangeAvatarReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamChangeAvatarReq) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +var File_DungeonCandidateTeamChangeAvatarReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamChangeAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x23, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, + 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescData = file_DungeonCandidateTeamChangeAvatarReq_proto_rawDesc +) + +func file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamChangeAvatarReq_proto_rawDescData +} + +var file_DungeonCandidateTeamChangeAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamChangeAvatarReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamChangeAvatarReq)(nil), // 0: DungeonCandidateTeamChangeAvatarReq +} +var file_DungeonCandidateTeamChangeAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamChangeAvatarReq_proto_init() } +func file_DungeonCandidateTeamChangeAvatarReq_proto_init() { + if File_DungeonCandidateTeamChangeAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamChangeAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamChangeAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamChangeAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamChangeAvatarReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamChangeAvatarReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamChangeAvatarReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamChangeAvatarReq_proto = out.File + file_DungeonCandidateTeamChangeAvatarReq_proto_rawDesc = nil + file_DungeonCandidateTeamChangeAvatarReq_proto_goTypes = nil + file_DungeonCandidateTeamChangeAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.proto new file mode 100644 index 00000000..7e4263d3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 956 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamChangeAvatarReq { + repeated uint64 avatar_guid_list = 5; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.pb.go new file mode 100644 index 00000000..5caa9656 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamChangeAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 942 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamChangeAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamChangeAvatarRsp) Reset() { + *x = DungeonCandidateTeamChangeAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamChangeAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamChangeAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamChangeAvatarRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamChangeAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamChangeAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamChangeAvatarRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamChangeAvatarRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamChangeAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamChangeAvatarRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x23, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescData = file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamChangeAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamChangeAvatarRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamChangeAvatarRsp)(nil), // 0: DungeonCandidateTeamChangeAvatarRsp +} +var file_DungeonCandidateTeamChangeAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamChangeAvatarRsp_proto_init() } +func file_DungeonCandidateTeamChangeAvatarRsp_proto_init() { + if File_DungeonCandidateTeamChangeAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamChangeAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamChangeAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamChangeAvatarRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamChangeAvatarRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamChangeAvatarRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamChangeAvatarRsp_proto = out.File + file_DungeonCandidateTeamChangeAvatarRsp_proto_rawDesc = nil + file_DungeonCandidateTeamChangeAvatarRsp_proto_goTypes = nil + file_DungeonCandidateTeamChangeAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.proto new file mode 100644 index 00000000..2bd8b224 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamChangeAvatarRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 942 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamChangeAvatarRsp { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.pb.go new file mode 100644 index 00000000..7061c754 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamCreateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 995 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamCreateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,7,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + DungeonId uint32 `protobuf:"varint,6,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *DungeonCandidateTeamCreateReq) Reset() { + *x = DungeonCandidateTeamCreateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamCreateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamCreateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamCreateReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamCreateReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamCreateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamCreateReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamCreateReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamCreateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamCreateReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *DungeonCandidateTeamCreateReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_DungeonCandidateTeamCreateReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamCreateReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamCreateReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamCreateReq_proto_rawDescData = file_DungeonCandidateTeamCreateReq_proto_rawDesc +) + +func file_DungeonCandidateTeamCreateReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamCreateReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamCreateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamCreateReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamCreateReq_proto_rawDescData +} + +var file_DungeonCandidateTeamCreateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamCreateReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamCreateReq)(nil), // 0: DungeonCandidateTeamCreateReq +} +var file_DungeonCandidateTeamCreateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamCreateReq_proto_init() } +func file_DungeonCandidateTeamCreateReq_proto_init() { + if File_DungeonCandidateTeamCreateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamCreateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamCreateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamCreateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamCreateReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamCreateReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamCreateReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamCreateReq_proto = out.File + file_DungeonCandidateTeamCreateReq_proto_rawDesc = nil + file_DungeonCandidateTeamCreateReq_proto_goTypes = nil + file_DungeonCandidateTeamCreateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.proto new file mode 100644 index 00000000..87e1c50e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamCreateReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 995 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamCreateReq { + uint32 point_id = 7; + uint32 dungeon_id = 6; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.pb.go new file mode 100644 index 00000000..d728090d --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamCreateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 906 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamCreateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamCreateRsp) Reset() { + *x = DungeonCandidateTeamCreateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamCreateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamCreateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamCreateRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamCreateRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamCreateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamCreateRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamCreateRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamCreateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamCreateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamCreateRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamCreateRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamCreateRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamCreateRsp_proto_rawDescData = file_DungeonCandidateTeamCreateRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamCreateRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamCreateRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamCreateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamCreateRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamCreateRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamCreateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamCreateRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamCreateRsp)(nil), // 0: DungeonCandidateTeamCreateRsp +} +var file_DungeonCandidateTeamCreateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamCreateRsp_proto_init() } +func file_DungeonCandidateTeamCreateRsp_proto_init() { + if File_DungeonCandidateTeamCreateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamCreateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamCreateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamCreateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamCreateRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamCreateRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamCreateRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamCreateRsp_proto = out.File + file_DungeonCandidateTeamCreateRsp_proto_rawDesc = nil + file_DungeonCandidateTeamCreateRsp_proto_goTypes = nil + file_DungeonCandidateTeamCreateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.proto new file mode 100644 index 00000000..a0d8718e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamCreateRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 906 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamCreateRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.pb.go new file mode 100644 index 00000000..595850d8 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamDismissNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 963 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamDismissNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason DungeonCandidateTeamDismissReason `protobuf:"varint,9,opt,name=reason,proto3,enum=DungeonCandidateTeamDismissReason" json:"reason,omitempty"` + PlayerUid uint32 `protobuf:"varint,12,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *DungeonCandidateTeamDismissNotify) Reset() { + *x = DungeonCandidateTeamDismissNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamDismissNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamDismissNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamDismissNotify) ProtoMessage() {} + +func (x *DungeonCandidateTeamDismissNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamDismissNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamDismissNotify.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamDismissNotify) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamDismissNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamDismissNotify) GetReason() DungeonCandidateTeamDismissReason { + if x != nil { + return x.Reason + } + return DungeonCandidateTeamDismissReason_DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_NORMAL +} + +func (x *DungeonCandidateTeamDismissNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_DungeonCandidateTeamDismissNotify_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamDismissNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x44, + 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, + 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, + 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3a, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x69, + 0x73, 0x6d, 0x69, 0x73, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamDismissNotify_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamDismissNotify_proto_rawDescData = file_DungeonCandidateTeamDismissNotify_proto_rawDesc +) + +func file_DungeonCandidateTeamDismissNotify_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamDismissNotify_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamDismissNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamDismissNotify_proto_rawDescData) + }) + return file_DungeonCandidateTeamDismissNotify_proto_rawDescData +} + +var file_DungeonCandidateTeamDismissNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamDismissNotify_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamDismissNotify)(nil), // 0: DungeonCandidateTeamDismissNotify + (DungeonCandidateTeamDismissReason)(0), // 1: DungeonCandidateTeamDismissReason +} +var file_DungeonCandidateTeamDismissNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonCandidateTeamDismissNotify.reason:type_name -> DungeonCandidateTeamDismissReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamDismissNotify_proto_init() } +func file_DungeonCandidateTeamDismissNotify_proto_init() { + if File_DungeonCandidateTeamDismissNotify_proto != nil { + return + } + file_DungeonCandidateTeamDismissReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamDismissNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamDismissNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamDismissNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamDismissNotify_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamDismissNotify_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamDismissNotify_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamDismissNotify_proto = out.File + file_DungeonCandidateTeamDismissNotify_proto_rawDesc = nil + file_DungeonCandidateTeamDismissNotify_proto_goTypes = nil + file_DungeonCandidateTeamDismissNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.proto b/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.proto new file mode 100644 index 00000000..780a2452 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamDismissNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonCandidateTeamDismissReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 963 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamDismissNotify { + DungeonCandidateTeamDismissReason reason = 9; + uint32 player_uid = 12; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.pb.go new file mode 100644 index 00000000..075b127f --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.pb.go @@ -0,0 +1,157 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamDismissReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonCandidateTeamDismissReason int32 + +const ( + DungeonCandidateTeamDismissReason_DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_NORMAL DungeonCandidateTeamDismissReason = 0 + DungeonCandidateTeamDismissReason_DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DIE DungeonCandidateTeamDismissReason = 1 + DungeonCandidateTeamDismissReason_DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DISCONNECT DungeonCandidateTeamDismissReason = 2 +) + +// Enum value maps for DungeonCandidateTeamDismissReason. +var ( + DungeonCandidateTeamDismissReason_name = map[int32]string{ + 0: "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_NORMAL", + 1: "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DIE", + 2: "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DISCONNECT", + } + DungeonCandidateTeamDismissReason_value = map[string]int32{ + "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_NORMAL": 0, + "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DIE": 1, + "DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DISCONNECT": 2, + } +) + +func (x DungeonCandidateTeamDismissReason) Enum() *DungeonCandidateTeamDismissReason { + p := new(DungeonCandidateTeamDismissReason) + *p = x + return p +} + +func (x DungeonCandidateTeamDismissReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DungeonCandidateTeamDismissReason) Descriptor() protoreflect.EnumDescriptor { + return file_DungeonCandidateTeamDismissReason_proto_enumTypes[0].Descriptor() +} + +func (DungeonCandidateTeamDismissReason) Type() protoreflect.EnumType { + return &file_DungeonCandidateTeamDismissReason_proto_enumTypes[0] +} + +func (x DungeonCandidateTeamDismissReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DungeonCandidateTeamDismissReason.Descriptor instead. +func (DungeonCandidateTeamDismissReason) EnumDescriptor() ([]byte, []int) { + return file_DungeonCandidateTeamDismissReason_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonCandidateTeamDismissReason_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamDismissReason_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x21, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, + 0x61, 0x6d, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x35, 0x0a, 0x31, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, + 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x44, 0x49, 0x53, 0x4d, 0x49, 0x53, + 0x53, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x50, 0x44, 0x52, 0x5f, 0x4e, 0x4f, + 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x32, 0x0a, 0x2e, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, + 0x5f, 0x44, 0x49, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x54, 0x50, 0x44, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x10, 0x01, 0x12, 0x39, 0x0a, 0x35, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, + 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x44, 0x49, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x50, 0x44, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamDismissReason_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamDismissReason_proto_rawDescData = file_DungeonCandidateTeamDismissReason_proto_rawDesc +) + +func file_DungeonCandidateTeamDismissReason_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamDismissReason_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamDismissReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamDismissReason_proto_rawDescData) + }) + return file_DungeonCandidateTeamDismissReason_proto_rawDescData +} + +var file_DungeonCandidateTeamDismissReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DungeonCandidateTeamDismissReason_proto_goTypes = []interface{}{ + (DungeonCandidateTeamDismissReason)(0), // 0: DungeonCandidateTeamDismissReason +} +var file_DungeonCandidateTeamDismissReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamDismissReason_proto_init() } +func file_DungeonCandidateTeamDismissReason_proto_init() { + if File_DungeonCandidateTeamDismissReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamDismissReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamDismissReason_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamDismissReason_proto_depIdxs, + EnumInfos: file_DungeonCandidateTeamDismissReason_proto_enumTypes, + }.Build() + File_DungeonCandidateTeamDismissReason_proto = out.File + file_DungeonCandidateTeamDismissReason_proto_rawDesc = nil + file_DungeonCandidateTeamDismissReason_proto_goTypes = nil + file_DungeonCandidateTeamDismissReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.proto b/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.proto new file mode 100644 index 00000000..b4dee8b9 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamDismissReason.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DungeonCandidateTeamDismissReason { + DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_NORMAL = 0; + DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DIE = 1; + DUNGEON_CANDIDATE_TEAM_DISMISS_REASON_TPDR_DISCONNECT = 2; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.pb.go new file mode 100644 index 00000000..b4a63395 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 927 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerStateMap map[uint32]DungeonCandidateTeamPlayerState `protobuf:"bytes,10,rep,name=player_state_map,json=playerStateMap,proto3" json:"player_state_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=DungeonCandidateTeamPlayerState"` + DungeonId uint32 `protobuf:"varint,9,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + ReadyPlayerUid []uint32 `protobuf:"varint,13,rep,packed,name=ready_player_uid,json=readyPlayerUid,proto3" json:"ready_player_uid,omitempty"` + MatchType uint32 `protobuf:"varint,2,opt,name=match_type,json=matchType,proto3" json:"match_type,omitempty"` + AvatarList []*DungeonCandidateTeamAvatar `protobuf:"bytes,4,rep,name=avatar_list,json=avatarList,proto3" json:"avatar_list,omitempty"` +} + +func (x *DungeonCandidateTeamInfoNotify) Reset() { + *x = DungeonCandidateTeamInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamInfoNotify) ProtoMessage() {} + +func (x *DungeonCandidateTeamInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamInfoNotify.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamInfoNotify) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamInfoNotify) GetPlayerStateMap() map[uint32]DungeonCandidateTeamPlayerState { + if x != nil { + return x.PlayerStateMap + } + return nil +} + +func (x *DungeonCandidateTeamInfoNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DungeonCandidateTeamInfoNotify) GetReadyPlayerUid() []uint32 { + if x != nil { + return x.ReadyPlayerUid + } + return nil +} + +func (x *DungeonCandidateTeamInfoNotify) GetMatchType() uint32 { + if x != nil { + return x.MatchType + } + return 0 +} + +func (x *DungeonCandidateTeamInfoNotify) GetAvatarList() []*DungeonCandidateTeamAvatar { + if x != nil { + return x.AvatarList + } + return nil +} + +var File_DungeonCandidateTeamInfoNotify_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x8a, 0x03, 0x0a, 0x1e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x5d, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x63, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x20, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamInfoNotify_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamInfoNotify_proto_rawDescData = file_DungeonCandidateTeamInfoNotify_proto_rawDesc +) + +func file_DungeonCandidateTeamInfoNotify_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamInfoNotify_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamInfoNotify_proto_rawDescData) + }) + return file_DungeonCandidateTeamInfoNotify_proto_rawDescData +} + +var file_DungeonCandidateTeamInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_DungeonCandidateTeamInfoNotify_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamInfoNotify)(nil), // 0: DungeonCandidateTeamInfoNotify + nil, // 1: DungeonCandidateTeamInfoNotify.PlayerStateMapEntry + (*DungeonCandidateTeamAvatar)(nil), // 2: DungeonCandidateTeamAvatar + (DungeonCandidateTeamPlayerState)(0), // 3: DungeonCandidateTeamPlayerState +} +var file_DungeonCandidateTeamInfoNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonCandidateTeamInfoNotify.player_state_map:type_name -> DungeonCandidateTeamInfoNotify.PlayerStateMapEntry + 2, // 1: DungeonCandidateTeamInfoNotify.avatar_list:type_name -> DungeonCandidateTeamAvatar + 3, // 2: DungeonCandidateTeamInfoNotify.PlayerStateMapEntry.value:type_name -> DungeonCandidateTeamPlayerState + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamInfoNotify_proto_init() } +func file_DungeonCandidateTeamInfoNotify_proto_init() { + if File_DungeonCandidateTeamInfoNotify_proto != nil { + return + } + file_DungeonCandidateTeamAvatar_proto_init() + file_DungeonCandidateTeamPlayerState_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamInfoNotify_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamInfoNotify_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamInfoNotify_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamInfoNotify_proto = out.File + file_DungeonCandidateTeamInfoNotify_proto_rawDesc = nil + file_DungeonCandidateTeamInfoNotify_proto_goTypes = nil + file_DungeonCandidateTeamInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.proto b/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.proto new file mode 100644 index 00000000..43ac72a7 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInfoNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonCandidateTeamAvatar.proto"; +import "DungeonCandidateTeamPlayerState.proto"; + +option go_package = "./;proto"; + +// CmdId: 927 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamInfoNotify { + map player_state_map = 10; + uint32 dungeon_id = 9; + repeated uint32 ready_player_uid = 13; + uint32 match_type = 2; + repeated DungeonCandidateTeamAvatar avatar_list = 4; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.pb.go new file mode 100644 index 00000000..acff2026 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 994 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,5,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + VaildDeadlineTimeSec uint32 `protobuf:"varint,9,opt,name=vaild_deadline_time_sec,json=vaildDeadlineTimeSec,proto3" json:"vaild_deadline_time_sec,omitempty"` + DungeonId uint32 `protobuf:"varint,6,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *DungeonCandidateTeamInviteNotify) Reset() { + *x = DungeonCandidateTeamInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamInviteNotify) ProtoMessage() {} + +func (x *DungeonCandidateTeamInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamInviteNotify.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamInviteNotify) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamInviteNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *DungeonCandidateTeamInviteNotify) GetVaildDeadlineTimeSec() uint32 { + if x != nil { + return x.VaildDeadlineTimeSec + } + return 0 +} + +func (x *DungeonCandidateTeamInviteNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_DungeonCandidateTeamInviteNotify_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x20, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, + 0x6d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x17, + 0x76, 0x61, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x76, + 0x61, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamInviteNotify_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamInviteNotify_proto_rawDescData = file_DungeonCandidateTeamInviteNotify_proto_rawDesc +) + +func file_DungeonCandidateTeamInviteNotify_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamInviteNotify_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamInviteNotify_proto_rawDescData) + }) + return file_DungeonCandidateTeamInviteNotify_proto_rawDescData +} + +var file_DungeonCandidateTeamInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamInviteNotify_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamInviteNotify)(nil), // 0: DungeonCandidateTeamInviteNotify +} +var file_DungeonCandidateTeamInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamInviteNotify_proto_init() } +func file_DungeonCandidateTeamInviteNotify_proto_init() { + if File_DungeonCandidateTeamInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamInviteNotify_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamInviteNotify_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamInviteNotify_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamInviteNotify_proto = out.File + file_DungeonCandidateTeamInviteNotify_proto_rawDesc = nil + file_DungeonCandidateTeamInviteNotify_proto_goTypes = nil + file_DungeonCandidateTeamInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.proto b/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.proto new file mode 100644 index 00000000..f1aa441a --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 994 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamInviteNotify { + uint32 player_uid = 5; + uint32 vaild_deadline_time_sec = 9; + uint32 dungeon_id = 6; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.pb.go new file mode 100644 index 00000000..1568249f --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 934 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUids []uint32 `protobuf:"varint,5,rep,packed,name=player_uids,json=playerUids,proto3" json:"player_uids,omitempty"` +} + +func (x *DungeonCandidateTeamInviteReq) Reset() { + *x = DungeonCandidateTeamInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamInviteReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamInviteReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamInviteReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamInviteReq) GetPlayerUids() []uint32 { + if x != nil { + return x.PlayerUids + } + return nil +} + +var File_DungeonCandidateTeamInviteReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5f, 0x75, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamInviteReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamInviteReq_proto_rawDescData = file_DungeonCandidateTeamInviteReq_proto_rawDesc +) + +func file_DungeonCandidateTeamInviteReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamInviteReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamInviteReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamInviteReq_proto_rawDescData +} + +var file_DungeonCandidateTeamInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamInviteReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamInviteReq)(nil), // 0: DungeonCandidateTeamInviteReq +} +var file_DungeonCandidateTeamInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamInviteReq_proto_init() } +func file_DungeonCandidateTeamInviteReq_proto_init() { + if File_DungeonCandidateTeamInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamInviteReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamInviteReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamInviteReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamInviteReq_proto = out.File + file_DungeonCandidateTeamInviteReq_proto_rawDesc = nil + file_DungeonCandidateTeamInviteReq_proto_goTypes = nil + file_DungeonCandidateTeamInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.proto new file mode 100644 index 00000000..32ce9ce3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 934 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamInviteReq { + repeated uint32 player_uids = 5; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.pb.go new file mode 100644 index 00000000..336c56ba --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 950 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_OJEGACKKJAE []uint32 `protobuf:"varint,7,rep,packed,name=Unk2700_OJEGACKKJAE,json=Unk2700OJEGACKKJAE,proto3" json:"Unk2700_OJEGACKKJAE,omitempty"` +} + +func (x *DungeonCandidateTeamInviteRsp) Reset() { + *x = DungeonCandidateTeamInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamInviteRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamInviteRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamInviteRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DungeonCandidateTeamInviteRsp) GetUnk2700_OJEGACKKJAE() []uint32 { + if x != nil { + return x.Unk2700_OJEGACKKJAE + } + return nil +} + +var File_DungeonCandidateTeamInviteRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x45, 0x47, + 0x41, 0x43, 0x4b, 0x4b, 0x4a, 0x41, 0x45, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4a, 0x45, 0x47, 0x41, 0x43, 0x4b, 0x4b, 0x4a, 0x41, + 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamInviteRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamInviteRsp_proto_rawDescData = file_DungeonCandidateTeamInviteRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamInviteRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamInviteRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamInviteRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamInviteRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamInviteRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamInviteRsp)(nil), // 0: DungeonCandidateTeamInviteRsp +} +var file_DungeonCandidateTeamInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamInviteRsp_proto_init() } +func file_DungeonCandidateTeamInviteRsp_proto_init() { + if File_DungeonCandidateTeamInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamInviteRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamInviteRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamInviteRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamInviteRsp_proto = out.File + file_DungeonCandidateTeamInviteRsp_proto_rawDesc = nil + file_DungeonCandidateTeamInviteRsp_proto_goTypes = nil + file_DungeonCandidateTeamInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.proto new file mode 100644 index 00000000..04ea0e1f --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamInviteRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 950 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamInviteRsp { + int32 retcode = 12; + repeated uint32 Unk2700_OJEGACKKJAE = 7; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.pb.go new file mode 100644 index 00000000..82603206 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamKickReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 943 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamKickReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,9,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *DungeonCandidateTeamKickReq) Reset() { + *x = DungeonCandidateTeamKickReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamKickReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamKickReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamKickReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamKickReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamKickReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamKickReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamKickReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamKickReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamKickReq) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_DungeonCandidateTeamKickReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamKickReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4b, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, + 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4b, 0x69, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamKickReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamKickReq_proto_rawDescData = file_DungeonCandidateTeamKickReq_proto_rawDesc +) + +func file_DungeonCandidateTeamKickReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamKickReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamKickReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamKickReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamKickReq_proto_rawDescData +} + +var file_DungeonCandidateTeamKickReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamKickReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamKickReq)(nil), // 0: DungeonCandidateTeamKickReq +} +var file_DungeonCandidateTeamKickReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamKickReq_proto_init() } +func file_DungeonCandidateTeamKickReq_proto_init() { + if File_DungeonCandidateTeamKickReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamKickReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamKickReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamKickReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamKickReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamKickReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamKickReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamKickReq_proto = out.File + file_DungeonCandidateTeamKickReq_proto_rawDesc = nil + file_DungeonCandidateTeamKickReq_proto_goTypes = nil + file_DungeonCandidateTeamKickReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.proto new file mode 100644 index 00000000..25b4688d --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamKickReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 943 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamKickReq { + uint32 player_uid = 9; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.pb.go new file mode 100644 index 00000000..70f73fc5 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamKickRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 974 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamKickRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamKickRsp) Reset() { + *x = DungeonCandidateTeamKickRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamKickRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamKickRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamKickRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamKickRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamKickRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamKickRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamKickRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamKickRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamKickRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamKickRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamKickRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4b, 0x69, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x1b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, + 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4b, 0x69, 0x63, 0x6b, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamKickRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamKickRsp_proto_rawDescData = file_DungeonCandidateTeamKickRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamKickRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamKickRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamKickRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamKickRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamKickRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamKickRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamKickRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamKickRsp)(nil), // 0: DungeonCandidateTeamKickRsp +} +var file_DungeonCandidateTeamKickRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamKickRsp_proto_init() } +func file_DungeonCandidateTeamKickRsp_proto_init() { + if File_DungeonCandidateTeamKickRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamKickRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamKickRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamKickRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamKickRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamKickRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamKickRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamKickRsp_proto = out.File + file_DungeonCandidateTeamKickRsp_proto_rawDesc = nil + file_DungeonCandidateTeamKickRsp_proto_goTypes = nil + file_DungeonCandidateTeamKickRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.proto new file mode 100644 index 00000000..2b9e8173 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamKickRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 974 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamKickRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.pb.go new file mode 100644 index 00000000..064f5c7c --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamLeaveReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 976 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamLeaveReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DungeonCandidateTeamLeaveReq) Reset() { + *x = DungeonCandidateTeamLeaveReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamLeaveReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamLeaveReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamLeaveReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamLeaveReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamLeaveReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamLeaveReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamLeaveReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamLeaveReq_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonCandidateTeamLeaveReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamLeaveReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamLeaveReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamLeaveReq_proto_rawDescData = file_DungeonCandidateTeamLeaveReq_proto_rawDesc +) + +func file_DungeonCandidateTeamLeaveReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamLeaveReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamLeaveReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamLeaveReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamLeaveReq_proto_rawDescData +} + +var file_DungeonCandidateTeamLeaveReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamLeaveReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamLeaveReq)(nil), // 0: DungeonCandidateTeamLeaveReq +} +var file_DungeonCandidateTeamLeaveReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamLeaveReq_proto_init() } +func file_DungeonCandidateTeamLeaveReq_proto_init() { + if File_DungeonCandidateTeamLeaveReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamLeaveReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamLeaveReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamLeaveReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamLeaveReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamLeaveReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamLeaveReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamLeaveReq_proto = out.File + file_DungeonCandidateTeamLeaveReq_proto_rawDesc = nil + file_DungeonCandidateTeamLeaveReq_proto_goTypes = nil + file_DungeonCandidateTeamLeaveReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.proto new file mode 100644 index 00000000..6f9a227a --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 976 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamLeaveReq {} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.pb.go new file mode 100644 index 00000000..c071927a --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamLeaveRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 946 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamLeaveRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamLeaveRsp) Reset() { + *x = DungeonCandidateTeamLeaveRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamLeaveRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamLeaveRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamLeaveRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamLeaveRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamLeaveRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamLeaveRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamLeaveRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamLeaveRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamLeaveRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamLeaveRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamLeaveRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamLeaveRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamLeaveRsp_proto_rawDescData = file_DungeonCandidateTeamLeaveRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamLeaveRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamLeaveRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamLeaveRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamLeaveRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamLeaveRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamLeaveRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamLeaveRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamLeaveRsp)(nil), // 0: DungeonCandidateTeamLeaveRsp +} +var file_DungeonCandidateTeamLeaveRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamLeaveRsp_proto_init() } +func file_DungeonCandidateTeamLeaveRsp_proto_init() { + if File_DungeonCandidateTeamLeaveRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamLeaveRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamLeaveRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamLeaveRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamLeaveRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamLeaveRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamLeaveRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamLeaveRsp_proto = out.File + file_DungeonCandidateTeamLeaveRsp_proto_rawDesc = nil + file_DungeonCandidateTeamLeaveRsp_proto_goTypes = nil + file_DungeonCandidateTeamLeaveRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.proto new file mode 100644 index 00000000..7f86ad92 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamLeaveRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 946 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamLeaveRsp { + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.pb.go new file mode 100644 index 00000000..d35dccc1 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamPlayerLeaveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 926 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamPlayerLeaveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason DungeonCandidateTeamPlayerLeaveReason `protobuf:"varint,3,opt,name=reason,proto3,enum=DungeonCandidateTeamPlayerLeaveReason" json:"reason,omitempty"` + PlayerUid uint32 `protobuf:"varint,13,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *DungeonCandidateTeamPlayerLeaveNotify) Reset() { + *x = DungeonCandidateTeamPlayerLeaveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamPlayerLeaveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamPlayerLeaveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamPlayerLeaveNotify) ProtoMessage() {} + +func (x *DungeonCandidateTeamPlayerLeaveNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamPlayerLeaveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamPlayerLeaveNotify.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamPlayerLeaveNotify) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamPlayerLeaveNotify) GetReason() DungeonCandidateTeamPlayerLeaveReason { + if x != nil { + return x.Reason + } + return DungeonCandidateTeamPlayerLeaveReason_DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL +} + +func (x *DungeonCandidateTeamPlayerLeaveNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_DungeonCandidateTeamPlayerLeaveNotify_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x25, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, + 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescData = file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDesc +) + +func file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescData) + }) + return file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDescData +} + +var file_DungeonCandidateTeamPlayerLeaveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamPlayerLeaveNotify_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamPlayerLeaveNotify)(nil), // 0: DungeonCandidateTeamPlayerLeaveNotify + (DungeonCandidateTeamPlayerLeaveReason)(0), // 1: DungeonCandidateTeamPlayerLeaveReason +} +var file_DungeonCandidateTeamPlayerLeaveNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonCandidateTeamPlayerLeaveNotify.reason:type_name -> DungeonCandidateTeamPlayerLeaveReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamPlayerLeaveNotify_proto_init() } +func file_DungeonCandidateTeamPlayerLeaveNotify_proto_init() { + if File_DungeonCandidateTeamPlayerLeaveNotify_proto != nil { + return + } + file_DungeonCandidateTeamPlayerLeaveReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamPlayerLeaveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamPlayerLeaveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamPlayerLeaveNotify_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamPlayerLeaveNotify_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamPlayerLeaveNotify_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamPlayerLeaveNotify_proto = out.File + file_DungeonCandidateTeamPlayerLeaveNotify_proto_rawDesc = nil + file_DungeonCandidateTeamPlayerLeaveNotify_proto_goTypes = nil + file_DungeonCandidateTeamPlayerLeaveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.proto b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.proto new file mode 100644 index 00000000..7af110a3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonCandidateTeamPlayerLeaveReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 926 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamPlayerLeaveNotify { + DungeonCandidateTeamPlayerLeaveReason reason = 3; + uint32 player_uid = 13; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.pb.go new file mode 100644 index 00000000..c42b54d6 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamPlayerLeaveReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonCandidateTeamPlayerLeaveReason int32 + +const ( + DungeonCandidateTeamPlayerLeaveReason_DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL DungeonCandidateTeamPlayerLeaveReason = 0 + DungeonCandidateTeamPlayerLeaveReason_DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE DungeonCandidateTeamPlayerLeaveReason = 1 + DungeonCandidateTeamPlayerLeaveReason_DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK DungeonCandidateTeamPlayerLeaveReason = 2 + DungeonCandidateTeamPlayerLeaveReason_DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_DISCONNECT DungeonCandidateTeamPlayerLeaveReason = 3 +) + +// Enum value maps for DungeonCandidateTeamPlayerLeaveReason. +var ( + DungeonCandidateTeamPlayerLeaveReason_name = map[int32]string{ + 0: "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL", + 1: "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE", + 2: "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK", + 3: "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_DISCONNECT", + } + DungeonCandidateTeamPlayerLeaveReason_value = map[string]int32{ + "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL": 0, + "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE": 1, + "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK": 2, + "DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_DISCONNECT": 3, + } +) + +func (x DungeonCandidateTeamPlayerLeaveReason) Enum() *DungeonCandidateTeamPlayerLeaveReason { + p := new(DungeonCandidateTeamPlayerLeaveReason) + *p = x + return p +} + +func (x DungeonCandidateTeamPlayerLeaveReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DungeonCandidateTeamPlayerLeaveReason) Descriptor() protoreflect.EnumDescriptor { + return file_DungeonCandidateTeamPlayerLeaveReason_proto_enumTypes[0].Descriptor() +} + +func (DungeonCandidateTeamPlayerLeaveReason) Type() protoreflect.EnumType { + return &file_DungeonCandidateTeamPlayerLeaveReason_proto_enumTypes[0] +} + +func (x DungeonCandidateTeamPlayerLeaveReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DungeonCandidateTeamPlayerLeaveReason.Descriptor instead. +func (DungeonCandidateTeamPlayerLeaveReason) EnumDescriptor() ([]byte, []int) { + return file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonCandidateTeamPlayerLeaveReason_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x94, 0x02, + 0x0a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x36, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, + 0x4d, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x50, 0x4c, 0x52, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, + 0x4c, 0x10, 0x00, 0x12, 0x37, 0x0a, 0x33, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, + 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x54, 0x50, 0x4c, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x10, 0x01, 0x12, 0x3b, 0x0a, 0x37, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, + 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, + 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x50, 0x4c, 0x52, 0x5f, + 0x42, 0x45, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x39, 0x0a, 0x35, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, + 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, + 0x43, 0x54, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescData = file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDesc +) + +func file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescData) + }) + return file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDescData +} + +var file_DungeonCandidateTeamPlayerLeaveReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DungeonCandidateTeamPlayerLeaveReason_proto_goTypes = []interface{}{ + (DungeonCandidateTeamPlayerLeaveReason)(0), // 0: DungeonCandidateTeamPlayerLeaveReason +} +var file_DungeonCandidateTeamPlayerLeaveReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamPlayerLeaveReason_proto_init() } +func file_DungeonCandidateTeamPlayerLeaveReason_proto_init() { + if File_DungeonCandidateTeamPlayerLeaveReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamPlayerLeaveReason_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamPlayerLeaveReason_proto_depIdxs, + EnumInfos: file_DungeonCandidateTeamPlayerLeaveReason_proto_enumTypes, + }.Build() + File_DungeonCandidateTeamPlayerLeaveReason_proto = out.File + file_DungeonCandidateTeamPlayerLeaveReason_proto_rawDesc = nil + file_DungeonCandidateTeamPlayerLeaveReason_proto_goTypes = nil + file_DungeonCandidateTeamPlayerLeaveReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.proto b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.proto new file mode 100644 index 00000000..b1157e43 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerLeaveReason.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DungeonCandidateTeamPlayerLeaveReason { + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL = 0; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE = 1; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK = 2; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_DISCONNECT = 3; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.pb.go new file mode 100644 index 00000000..10218207 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamPlayerState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonCandidateTeamPlayerState int32 + +const ( + DungeonCandidateTeamPlayerState_DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE DungeonCandidateTeamPlayerState = 0 + DungeonCandidateTeamPlayerState_DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AVATAR DungeonCandidateTeamPlayerState = 1 + DungeonCandidateTeamPlayerState_DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY DungeonCandidateTeamPlayerState = 2 +) + +// Enum value maps for DungeonCandidateTeamPlayerState. +var ( + DungeonCandidateTeamPlayerState_name = map[int32]string{ + 0: "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE", + 1: "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AVATAR", + 2: "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY", + } + DungeonCandidateTeamPlayerState_value = map[string]int32{ + "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE": 0, + "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AVATAR": 1, + "DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY": 2, + } +) + +func (x DungeonCandidateTeamPlayerState) Enum() *DungeonCandidateTeamPlayerState { + p := new(DungeonCandidateTeamPlayerState) + *p = x + return p +} + +func (x DungeonCandidateTeamPlayerState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DungeonCandidateTeamPlayerState) Descriptor() protoreflect.EnumDescriptor { + return file_DungeonCandidateTeamPlayerState_proto_enumTypes[0].Descriptor() +} + +func (DungeonCandidateTeamPlayerState) Type() protoreflect.EnumType { + return &file_DungeonCandidateTeamPlayerState_proto_enumTypes[0] +} + +func (x DungeonCandidateTeamPlayerState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DungeonCandidateTeamPlayerState.Descriptor instead. +func (DungeonCandidateTeamPlayerState) EnumDescriptor() ([]byte, []int) { + return file_DungeonCandidateTeamPlayerState_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonCandidateTeamPlayerState_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamPlayerState_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xb7, 0x01, 0x0a, 0x1f, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x28, 0x44, + 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, + 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x37, 0x0a, 0x33, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, + 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x10, 0x01, 0x12, 0x2d, 0x0a, 0x29, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, + 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x4c, 0x41, + 0x59, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, + 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamPlayerState_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamPlayerState_proto_rawDescData = file_DungeonCandidateTeamPlayerState_proto_rawDesc +) + +func file_DungeonCandidateTeamPlayerState_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamPlayerState_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamPlayerState_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamPlayerState_proto_rawDescData) + }) + return file_DungeonCandidateTeamPlayerState_proto_rawDescData +} + +var file_DungeonCandidateTeamPlayerState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DungeonCandidateTeamPlayerState_proto_goTypes = []interface{}{ + (DungeonCandidateTeamPlayerState)(0), // 0: DungeonCandidateTeamPlayerState +} +var file_DungeonCandidateTeamPlayerState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamPlayerState_proto_init() } +func file_DungeonCandidateTeamPlayerState_proto_init() { + if File_DungeonCandidateTeamPlayerState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamPlayerState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamPlayerState_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamPlayerState_proto_depIdxs, + EnumInfos: file_DungeonCandidateTeamPlayerState_proto_enumTypes, + }.Build() + File_DungeonCandidateTeamPlayerState_proto = out.File + file_DungeonCandidateTeamPlayerState_proto_rawDesc = nil + file_DungeonCandidateTeamPlayerState_proto_goTypes = nil + file_DungeonCandidateTeamPlayerState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.proto b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.proto new file mode 100644 index 00000000..5330f333 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamPlayerState.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DungeonCandidateTeamPlayerState { + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE = 0; + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AVATAR = 1; + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY = 2; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.pb.go new file mode 100644 index 00000000..dbe955de --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamRefuseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 988 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamRefuseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,3,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *DungeonCandidateTeamRefuseNotify) Reset() { + *x = DungeonCandidateTeamRefuseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamRefuseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamRefuseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamRefuseNotify) ProtoMessage() {} + +func (x *DungeonCandidateTeamRefuseNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamRefuseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamRefuseNotify.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamRefuseNotify) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamRefuseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamRefuseNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_DungeonCandidateTeamRefuseNotify_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamRefuseNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x66, 0x75, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x66, 0x75, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamRefuseNotify_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamRefuseNotify_proto_rawDescData = file_DungeonCandidateTeamRefuseNotify_proto_rawDesc +) + +func file_DungeonCandidateTeamRefuseNotify_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamRefuseNotify_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamRefuseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamRefuseNotify_proto_rawDescData) + }) + return file_DungeonCandidateTeamRefuseNotify_proto_rawDescData +} + +var file_DungeonCandidateTeamRefuseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamRefuseNotify_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamRefuseNotify)(nil), // 0: DungeonCandidateTeamRefuseNotify +} +var file_DungeonCandidateTeamRefuseNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamRefuseNotify_proto_init() } +func file_DungeonCandidateTeamRefuseNotify_proto_init() { + if File_DungeonCandidateTeamRefuseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamRefuseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamRefuseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamRefuseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamRefuseNotify_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamRefuseNotify_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamRefuseNotify_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamRefuseNotify_proto = out.File + file_DungeonCandidateTeamRefuseNotify_proto_rawDesc = nil + file_DungeonCandidateTeamRefuseNotify_proto_goTypes = nil + file_DungeonCandidateTeamRefuseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.proto b/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.proto new file mode 100644 index 00000000..51c6b7a5 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamRefuseNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 988 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamRefuseNotify { + uint32 player_uid = 3; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.pb.go new file mode 100644 index 00000000..53e796ae --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamReplyInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 941 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamReplyInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAccept bool `protobuf:"varint,5,opt,name=is_accept,json=isAccept,proto3" json:"is_accept,omitempty"` +} + +func (x *DungeonCandidateTeamReplyInviteReq) Reset() { + *x = DungeonCandidateTeamReplyInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamReplyInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamReplyInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamReplyInviteReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamReplyInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamReplyInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamReplyInviteReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamReplyInviteReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamReplyInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamReplyInviteReq) GetIsAccept() bool { + if x != nil { + return x.IsAccept + } + return false +} + +var File_DungeonCandidateTeamReplyInviteReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamReplyInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x22, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_DungeonCandidateTeamReplyInviteReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamReplyInviteReq_proto_rawDescData = file_DungeonCandidateTeamReplyInviteReq_proto_rawDesc +) + +func file_DungeonCandidateTeamReplyInviteReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamReplyInviteReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamReplyInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamReplyInviteReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamReplyInviteReq_proto_rawDescData +} + +var file_DungeonCandidateTeamReplyInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamReplyInviteReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamReplyInviteReq)(nil), // 0: DungeonCandidateTeamReplyInviteReq +} +var file_DungeonCandidateTeamReplyInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamReplyInviteReq_proto_init() } +func file_DungeonCandidateTeamReplyInviteReq_proto_init() { + if File_DungeonCandidateTeamReplyInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamReplyInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamReplyInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamReplyInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamReplyInviteReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamReplyInviteReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamReplyInviteReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamReplyInviteReq_proto = out.File + file_DungeonCandidateTeamReplyInviteReq_proto_rawDesc = nil + file_DungeonCandidateTeamReplyInviteReq_proto_goTypes = nil + file_DungeonCandidateTeamReplyInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.proto new file mode 100644 index 00000000..e7127b75 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 941 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamReplyInviteReq { + bool is_accept = 5; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.pb.go new file mode 100644 index 00000000..d59087bb --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamReplyInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 949 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamReplyInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTransPoint bool `protobuf:"varint,4,opt,name=is_trans_point,json=isTransPoint,proto3" json:"is_trans_point,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamReplyInviteRsp) Reset() { + *x = DungeonCandidateTeamReplyInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamReplyInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamReplyInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamReplyInviteRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamReplyInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamReplyInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamReplyInviteRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamReplyInviteRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamReplyInviteRsp) GetIsTransPoint() bool { + if x != nil { + return x.IsTransPoint + } + return false +} + +func (x *DungeonCandidateTeamReplyInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamReplyInviteRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamReplyInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x22, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescData = file_DungeonCandidateTeamReplyInviteRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamReplyInviteRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamReplyInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamReplyInviteRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamReplyInviteRsp)(nil), // 0: DungeonCandidateTeamReplyInviteRsp +} +var file_DungeonCandidateTeamReplyInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamReplyInviteRsp_proto_init() } +func file_DungeonCandidateTeamReplyInviteRsp_proto_init() { + if File_DungeonCandidateTeamReplyInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamReplyInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamReplyInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamReplyInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamReplyInviteRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamReplyInviteRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamReplyInviteRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamReplyInviteRsp_proto = out.File + file_DungeonCandidateTeamReplyInviteRsp_proto_rawDesc = nil + file_DungeonCandidateTeamReplyInviteRsp_proto_goTypes = nil + file_DungeonCandidateTeamReplyInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.proto new file mode 100644 index 00000000..433f8393 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamReplyInviteRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 949 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamReplyInviteRsp { + bool is_trans_point = 4; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.pb.go new file mode 100644 index 00000000..9e99fbc4 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamSetChangingAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamSetChangingAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsChangingAvatar bool `protobuf:"varint,12,opt,name=is_changing_avatar,json=isChangingAvatar,proto3" json:"is_changing_avatar,omitempty"` +} + +func (x *DungeonCandidateTeamSetChangingAvatarReq) Reset() { + *x = DungeonCandidateTeamSetChangingAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamSetChangingAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamSetChangingAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamSetChangingAvatarReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamSetChangingAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamSetChangingAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamSetChangingAvatarReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamSetChangingAvatarReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamSetChangingAvatarReq) GetIsChangingAvatar() bool { + if x != nil { + return x.IsChangingAvatar + } + return false +} + +var File_DungeonCandidateTeamSetChangingAvatarReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x69, 0x6e, + 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x58, 0x0a, 0x28, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x69, 0x6e, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x12, + 0x69, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x69, 0x6e, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescData = file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDesc +) + +func file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDescData +} + +var file_DungeonCandidateTeamSetChangingAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamSetChangingAvatarReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamSetChangingAvatarReq)(nil), // 0: DungeonCandidateTeamSetChangingAvatarReq +} +var file_DungeonCandidateTeamSetChangingAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamSetChangingAvatarReq_proto_init() } +func file_DungeonCandidateTeamSetChangingAvatarReq_proto_init() { + if File_DungeonCandidateTeamSetChangingAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamSetChangingAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamSetChangingAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamSetChangingAvatarReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamSetChangingAvatarReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamSetChangingAvatarReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamSetChangingAvatarReq_proto = out.File + file_DungeonCandidateTeamSetChangingAvatarReq_proto_rawDesc = nil + file_DungeonCandidateTeamSetChangingAvatarReq_proto_goTypes = nil + file_DungeonCandidateTeamSetChangingAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.proto new file mode 100644 index 00000000..f082e41d --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamSetChangingAvatarReq { + bool is_changing_avatar = 12; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.pb.go new file mode 100644 index 00000000..0ab89c59 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamSetChangingAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 966 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamSetChangingAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamSetChangingAvatarRsp) Reset() { + *x = DungeonCandidateTeamSetChangingAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamSetChangingAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamSetChangingAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamSetChangingAvatarRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamSetChangingAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamSetChangingAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamSetChangingAvatarRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamSetChangingAvatarRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamSetChangingAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamSetChangingAvatarRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x69, 0x6e, + 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x44, 0x0a, 0x28, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x69, 0x6e, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescData = file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamSetChangingAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamSetChangingAvatarRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamSetChangingAvatarRsp)(nil), // 0: DungeonCandidateTeamSetChangingAvatarRsp +} +var file_DungeonCandidateTeamSetChangingAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamSetChangingAvatarRsp_proto_init() } +func file_DungeonCandidateTeamSetChangingAvatarRsp_proto_init() { + if File_DungeonCandidateTeamSetChangingAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamSetChangingAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamSetChangingAvatarRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamSetChangingAvatarRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamSetChangingAvatarRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamSetChangingAvatarRsp_proto = out.File + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_rawDesc = nil + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_goTypes = nil + file_DungeonCandidateTeamSetChangingAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto new file mode 100644 index 00000000..abe030a5 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 966 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamSetChangingAvatarRsp { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.pb.go new file mode 100644 index 00000000..e58960d7 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamSetReadyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 991 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonCandidateTeamSetReadyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsReady bool `protobuf:"varint,15,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"` +} + +func (x *DungeonCandidateTeamSetReadyReq) Reset() { + *x = DungeonCandidateTeamSetReadyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamSetReadyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamSetReadyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamSetReadyReq) ProtoMessage() {} + +func (x *DungeonCandidateTeamSetReadyReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamSetReadyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamSetReadyReq.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamSetReadyReq) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamSetReadyReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamSetReadyReq) GetIsReady() bool { + if x != nil { + return x.IsReady + } + return false +} + +var File_DungeonCandidateTeamSetReadyReq_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamSetReadyReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1f, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, + 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamSetReadyReq_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamSetReadyReq_proto_rawDescData = file_DungeonCandidateTeamSetReadyReq_proto_rawDesc +) + +func file_DungeonCandidateTeamSetReadyReq_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamSetReadyReq_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamSetReadyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamSetReadyReq_proto_rawDescData) + }) + return file_DungeonCandidateTeamSetReadyReq_proto_rawDescData +} + +var file_DungeonCandidateTeamSetReadyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamSetReadyReq_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamSetReadyReq)(nil), // 0: DungeonCandidateTeamSetReadyReq +} +var file_DungeonCandidateTeamSetReadyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamSetReadyReq_proto_init() } +func file_DungeonCandidateTeamSetReadyReq_proto_init() { + if File_DungeonCandidateTeamSetReadyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamSetReadyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamSetReadyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamSetReadyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamSetReadyReq_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamSetReadyReq_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamSetReadyReq_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamSetReadyReq_proto = out.File + file_DungeonCandidateTeamSetReadyReq_proto_rawDesc = nil + file_DungeonCandidateTeamSetReadyReq_proto_goTypes = nil + file_DungeonCandidateTeamSetReadyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.proto b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.proto new file mode 100644 index 00000000..69f38fe5 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 991 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonCandidateTeamSetReadyReq { + bool is_ready = 15; +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.pb.go b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.pb.go new file mode 100644 index 00000000..82d95385 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonCandidateTeamSetReadyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 924 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonCandidateTeamSetReadyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonCandidateTeamSetReadyRsp) Reset() { + *x = DungeonCandidateTeamSetReadyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonCandidateTeamSetReadyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonCandidateTeamSetReadyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonCandidateTeamSetReadyRsp) ProtoMessage() {} + +func (x *DungeonCandidateTeamSetReadyRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonCandidateTeamSetReadyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonCandidateTeamSetReadyRsp.ProtoReflect.Descriptor instead. +func (*DungeonCandidateTeamSetReadyRsp) Descriptor() ([]byte, []int) { + return file_DungeonCandidateTeamSetReadyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonCandidateTeamSetReadyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonCandidateTeamSetReadyRsp_proto protoreflect.FileDescriptor + +var file_DungeonCandidateTeamSetReadyRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1f, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonCandidateTeamSetReadyRsp_proto_rawDescOnce sync.Once + file_DungeonCandidateTeamSetReadyRsp_proto_rawDescData = file_DungeonCandidateTeamSetReadyRsp_proto_rawDesc +) + +func file_DungeonCandidateTeamSetReadyRsp_proto_rawDescGZIP() []byte { + file_DungeonCandidateTeamSetReadyRsp_proto_rawDescOnce.Do(func() { + file_DungeonCandidateTeamSetReadyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonCandidateTeamSetReadyRsp_proto_rawDescData) + }) + return file_DungeonCandidateTeamSetReadyRsp_proto_rawDescData +} + +var file_DungeonCandidateTeamSetReadyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonCandidateTeamSetReadyRsp_proto_goTypes = []interface{}{ + (*DungeonCandidateTeamSetReadyRsp)(nil), // 0: DungeonCandidateTeamSetReadyRsp +} +var file_DungeonCandidateTeamSetReadyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonCandidateTeamSetReadyRsp_proto_init() } +func file_DungeonCandidateTeamSetReadyRsp_proto_init() { + if File_DungeonCandidateTeamSetReadyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonCandidateTeamSetReadyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonCandidateTeamSetReadyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonCandidateTeamSetReadyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonCandidateTeamSetReadyRsp_proto_goTypes, + DependencyIndexes: file_DungeonCandidateTeamSetReadyRsp_proto_depIdxs, + MessageInfos: file_DungeonCandidateTeamSetReadyRsp_proto_msgTypes, + }.Build() + File_DungeonCandidateTeamSetReadyRsp_proto = out.File + file_DungeonCandidateTeamSetReadyRsp_proto_rawDesc = nil + file_DungeonCandidateTeamSetReadyRsp_proto_goTypes = nil + file_DungeonCandidateTeamSetReadyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.proto b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.proto new file mode 100644 index 00000000..20181b64 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonCandidateTeamSetReadyRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 924 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonCandidateTeamSetReadyRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/DungeonChallengeBeginNotify.pb.go b/gate-hk4e-api/proto/DungeonChallengeBeginNotify.pb.go new file mode 100644 index 00000000..1194dece --- /dev/null +++ b/gate-hk4e-api/proto/DungeonChallengeBeginNotify.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonChallengeBeginNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 947 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonChallengeBeginNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FatherIndex uint32 `protobuf:"varint,5,opt,name=father_index,json=fatherIndex,proto3" json:"father_index,omitempty"` + ParamList []uint32 `protobuf:"varint,14,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,6,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + ChallengeId uint32 `protobuf:"varint,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + UidList []uint32 `protobuf:"varint,12,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` +} + +func (x *DungeonChallengeBeginNotify) Reset() { + *x = DungeonChallengeBeginNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonChallengeBeginNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonChallengeBeginNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonChallengeBeginNotify) ProtoMessage() {} + +func (x *DungeonChallengeBeginNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonChallengeBeginNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonChallengeBeginNotify.ProtoReflect.Descriptor instead. +func (*DungeonChallengeBeginNotify) Descriptor() ([]byte, []int) { + return file_DungeonChallengeBeginNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonChallengeBeginNotify) GetFatherIndex() uint32 { + if x != nil { + return x.FatherIndex + } + return 0 +} + +func (x *DungeonChallengeBeginNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *DungeonChallengeBeginNotify) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *DungeonChallengeBeginNotify) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *DungeonChallengeBeginNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *DungeonChallengeBeginNotify) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +var File_DungeonChallengeBeginNotify_proto protoreflect.FileDescriptor + +var file_DungeonChallengeBeginNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x1b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, + 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonChallengeBeginNotify_proto_rawDescOnce sync.Once + file_DungeonChallengeBeginNotify_proto_rawDescData = file_DungeonChallengeBeginNotify_proto_rawDesc +) + +func file_DungeonChallengeBeginNotify_proto_rawDescGZIP() []byte { + file_DungeonChallengeBeginNotify_proto_rawDescOnce.Do(func() { + file_DungeonChallengeBeginNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonChallengeBeginNotify_proto_rawDescData) + }) + return file_DungeonChallengeBeginNotify_proto_rawDescData +} + +var file_DungeonChallengeBeginNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonChallengeBeginNotify_proto_goTypes = []interface{}{ + (*DungeonChallengeBeginNotify)(nil), // 0: DungeonChallengeBeginNotify +} +var file_DungeonChallengeBeginNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonChallengeBeginNotify_proto_init() } +func file_DungeonChallengeBeginNotify_proto_init() { + if File_DungeonChallengeBeginNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonChallengeBeginNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonChallengeBeginNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonChallengeBeginNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonChallengeBeginNotify_proto_goTypes, + DependencyIndexes: file_DungeonChallengeBeginNotify_proto_depIdxs, + MessageInfos: file_DungeonChallengeBeginNotify_proto_msgTypes, + }.Build() + File_DungeonChallengeBeginNotify_proto = out.File + file_DungeonChallengeBeginNotify_proto_rawDesc = nil + file_DungeonChallengeBeginNotify_proto_goTypes = nil + file_DungeonChallengeBeginNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonChallengeBeginNotify.proto b/gate-hk4e-api/proto/DungeonChallengeBeginNotify.proto new file mode 100644 index 00000000..0cf1e9d7 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonChallengeBeginNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 947 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonChallengeBeginNotify { + uint32 father_index = 5; + repeated uint32 param_list = 14; + uint32 challenge_index = 6; + uint32 challenge_id = 1; + uint32 group_id = 4; + repeated uint32 uid_list = 12; +} diff --git a/gate-hk4e-api/proto/DungeonChallengeFinishNotify.pb.go b/gate-hk4e-api/proto/DungeonChallengeFinishNotify.pb.go new file mode 100644 index 00000000..e72c71d6 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonChallengeFinishNotify.pb.go @@ -0,0 +1,386 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonChallengeFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 939 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonChallengeFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StrengthenPointDataMap map[uint32]*StrengthenPointData `protobuf:"bytes,13,rep,name=strengthen_point_data_map,json=strengthenPointDataMap,proto3" json:"strengthen_point_data_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Unk2700_ONCDLPDHFAB Unk2700_FHOKHHBGPEG `protobuf:"varint,9,opt,name=Unk2700_ONCDLPDHFAB,json=Unk2700ONCDLPDHFAB,proto3,enum=Unk2700_FHOKHHBGPEG" json:"Unk2700_ONCDLPDHFAB,omitempty"` + IsNewRecord bool `protobuf:"varint,10,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + ChallengeRecordType uint32 `protobuf:"varint,7,opt,name=challenge_record_type,json=challengeRecordType,proto3" json:"challenge_record_type,omitempty"` + TimeCost uint32 `protobuf:"varint,4,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"` + CurrentValue uint32 `protobuf:"varint,15,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"` + IsSuccess bool `protobuf:"varint,3,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,5,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + // Types that are assignable to Detail: + // *DungeonChallengeFinishNotify_ChannellerSlabLoopDungeonResultInfo + // *DungeonChallengeFinishNotify_EffigyChallengeDungeonResultInfo + // *DungeonChallengeFinishNotify_PotionDungeonResultInfo + // *DungeonChallengeFinishNotify_CustomDungeonResultInfo + Detail isDungeonChallengeFinishNotify_Detail `protobuf_oneof:"detail"` +} + +func (x *DungeonChallengeFinishNotify) Reset() { + *x = DungeonChallengeFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonChallengeFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonChallengeFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonChallengeFinishNotify) ProtoMessage() {} + +func (x *DungeonChallengeFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonChallengeFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonChallengeFinishNotify.ProtoReflect.Descriptor instead. +func (*DungeonChallengeFinishNotify) Descriptor() ([]byte, []int) { + return file_DungeonChallengeFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonChallengeFinishNotify) GetStrengthenPointDataMap() map[uint32]*StrengthenPointData { + if x != nil { + return x.StrengthenPointDataMap + } + return nil +} + +func (x *DungeonChallengeFinishNotify) GetUnk2700_ONCDLPDHFAB() Unk2700_FHOKHHBGPEG { + if x != nil { + return x.Unk2700_ONCDLPDHFAB + } + return Unk2700_FHOKHHBGPEG_Unk2700_FHOKHHBGPEG_NONE +} + +func (x *DungeonChallengeFinishNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *DungeonChallengeFinishNotify) GetChallengeRecordType() uint32 { + if x != nil { + return x.ChallengeRecordType + } + return 0 +} + +func (x *DungeonChallengeFinishNotify) GetTimeCost() uint32 { + if x != nil { + return x.TimeCost + } + return 0 +} + +func (x *DungeonChallengeFinishNotify) GetCurrentValue() uint32 { + if x != nil { + return x.CurrentValue + } + return 0 +} + +func (x *DungeonChallengeFinishNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *DungeonChallengeFinishNotify) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (m *DungeonChallengeFinishNotify) GetDetail() isDungeonChallengeFinishNotify_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *DungeonChallengeFinishNotify) GetChannellerSlabLoopDungeonResultInfo() *ChannelerSlabLoopDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonChallengeFinishNotify_ChannellerSlabLoopDungeonResultInfo); ok { + return x.ChannellerSlabLoopDungeonResultInfo + } + return nil +} + +func (x *DungeonChallengeFinishNotify) GetEffigyChallengeDungeonResultInfo() *EffigyChallengeDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonChallengeFinishNotify_EffigyChallengeDungeonResultInfo); ok { + return x.EffigyChallengeDungeonResultInfo + } + return nil +} + +func (x *DungeonChallengeFinishNotify) GetPotionDungeonResultInfo() *PotionDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonChallengeFinishNotify_PotionDungeonResultInfo); ok { + return x.PotionDungeonResultInfo + } + return nil +} + +func (x *DungeonChallengeFinishNotify) GetCustomDungeonResultInfo() *CustomDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonChallengeFinishNotify_CustomDungeonResultInfo); ok { + return x.CustomDungeonResultInfo + } + return nil +} + +type isDungeonChallengeFinishNotify_Detail interface { + isDungeonChallengeFinishNotify_Detail() +} + +type DungeonChallengeFinishNotify_ChannellerSlabLoopDungeonResultInfo struct { + ChannellerSlabLoopDungeonResultInfo *ChannelerSlabLoopDungeonResultInfo `protobuf:"bytes,1521,opt,name=channeller_slab_loop_dungeon_result_info,json=channellerSlabLoopDungeonResultInfo,proto3,oneof"` +} + +type DungeonChallengeFinishNotify_EffigyChallengeDungeonResultInfo struct { + EffigyChallengeDungeonResultInfo *EffigyChallengeDungeonResultInfo `protobuf:"bytes,1627,opt,name=effigy_challenge_dungeon_result_info,json=effigyChallengeDungeonResultInfo,proto3,oneof"` +} + +type DungeonChallengeFinishNotify_PotionDungeonResultInfo struct { + PotionDungeonResultInfo *PotionDungeonResultInfo `protobuf:"bytes,1824,opt,name=potion_dungeon_result_info,json=potionDungeonResultInfo,proto3,oneof"` +} + +type DungeonChallengeFinishNotify_CustomDungeonResultInfo struct { + CustomDungeonResultInfo *CustomDungeonResultInfo `protobuf:"bytes,1664,opt,name=custom_dungeon_result_info,json=customDungeonResultInfo,proto3,oneof"` +} + +func (*DungeonChallengeFinishNotify_ChannellerSlabLoopDungeonResultInfo) isDungeonChallengeFinishNotify_Detail() { +} + +func (*DungeonChallengeFinishNotify_EffigyChallengeDungeonResultInfo) isDungeonChallengeFinishNotify_Detail() { +} + +func (*DungeonChallengeFinishNotify_PotionDungeonResultInfo) isDungeonChallengeFinishNotify_Detail() {} + +func (*DungeonChallengeFinishNotify_CustomDungeonResultInfo) isDungeonChallengeFinishNotify_Detail() {} + +var File_DungeonChallengeFinishNotify_proto protoreflect.FileDescriptor + +var file_DungeonChallengeFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, + 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x45, + 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, 0x48, 0x42, + 0x47, 0x50, 0x45, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x07, 0x0a, 0x1c, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x74, 0x0a, 0x19, 0x73, + 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x74, + 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x73, 0x74, 0x72, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, + 0x70, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, + 0x44, 0x4c, 0x50, 0x44, 0x48, 0x46, 0x41, 0x42, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, 0x48, 0x42, + 0x47, 0x50, 0x45, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x43, + 0x44, 0x4c, 0x50, 0x44, 0x48, 0x46, 0x41, 0x42, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, + 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x15, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x7d, 0x0a, 0x28, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x62, 0x5f, 0x6c, 0x6f, + 0x6f, 0x70, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xf1, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, + 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x23, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x6c, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x74, 0x0a, 0x24, 0x65, 0x66, 0x66, + 0x69, 0x67, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0xdb, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x45, 0x66, 0x66, 0x69, 0x67, + 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x20, 0x65, + 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x58, 0x0a, 0x1a, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xa0, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x17, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x58, 0x0a, 0x1a, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x80, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x17, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x1a, 0x5f, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, + 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DungeonChallengeFinishNotify_proto_rawDescOnce sync.Once + file_DungeonChallengeFinishNotify_proto_rawDescData = file_DungeonChallengeFinishNotify_proto_rawDesc +) + +func file_DungeonChallengeFinishNotify_proto_rawDescGZIP() []byte { + file_DungeonChallengeFinishNotify_proto_rawDescOnce.Do(func() { + file_DungeonChallengeFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonChallengeFinishNotify_proto_rawDescData) + }) + return file_DungeonChallengeFinishNotify_proto_rawDescData +} + +var file_DungeonChallengeFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_DungeonChallengeFinishNotify_proto_goTypes = []interface{}{ + (*DungeonChallengeFinishNotify)(nil), // 0: DungeonChallengeFinishNotify + nil, // 1: DungeonChallengeFinishNotify.StrengthenPointDataMapEntry + (Unk2700_FHOKHHBGPEG)(0), // 2: Unk2700_FHOKHHBGPEG + (*ChannelerSlabLoopDungeonResultInfo)(nil), // 3: ChannelerSlabLoopDungeonResultInfo + (*EffigyChallengeDungeonResultInfo)(nil), // 4: EffigyChallengeDungeonResultInfo + (*PotionDungeonResultInfo)(nil), // 5: PotionDungeonResultInfo + (*CustomDungeonResultInfo)(nil), // 6: CustomDungeonResultInfo + (*StrengthenPointData)(nil), // 7: StrengthenPointData +} +var file_DungeonChallengeFinishNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonChallengeFinishNotify.strengthen_point_data_map:type_name -> DungeonChallengeFinishNotify.StrengthenPointDataMapEntry + 2, // 1: DungeonChallengeFinishNotify.Unk2700_ONCDLPDHFAB:type_name -> Unk2700_FHOKHHBGPEG + 3, // 2: DungeonChallengeFinishNotify.channeller_slab_loop_dungeon_result_info:type_name -> ChannelerSlabLoopDungeonResultInfo + 4, // 3: DungeonChallengeFinishNotify.effigy_challenge_dungeon_result_info:type_name -> EffigyChallengeDungeonResultInfo + 5, // 4: DungeonChallengeFinishNotify.potion_dungeon_result_info:type_name -> PotionDungeonResultInfo + 6, // 5: DungeonChallengeFinishNotify.custom_dungeon_result_info:type_name -> CustomDungeonResultInfo + 7, // 6: DungeonChallengeFinishNotify.StrengthenPointDataMapEntry.value:type_name -> StrengthenPointData + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_DungeonChallengeFinishNotify_proto_init() } +func file_DungeonChallengeFinishNotify_proto_init() { + if File_DungeonChallengeFinishNotify_proto != nil { + return + } + file_ChannelerSlabLoopDungeonResultInfo_proto_init() + file_CustomDungeonResultInfo_proto_init() + file_EffigyChallengeDungeonResultInfo_proto_init() + file_PotionDungeonResultInfo_proto_init() + file_StrengthenPointData_proto_init() + file_Unk2700_FHOKHHBGPEG_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonChallengeFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonChallengeFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_DungeonChallengeFinishNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*DungeonChallengeFinishNotify_ChannellerSlabLoopDungeonResultInfo)(nil), + (*DungeonChallengeFinishNotify_EffigyChallengeDungeonResultInfo)(nil), + (*DungeonChallengeFinishNotify_PotionDungeonResultInfo)(nil), + (*DungeonChallengeFinishNotify_CustomDungeonResultInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonChallengeFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonChallengeFinishNotify_proto_goTypes, + DependencyIndexes: file_DungeonChallengeFinishNotify_proto_depIdxs, + MessageInfos: file_DungeonChallengeFinishNotify_proto_msgTypes, + }.Build() + File_DungeonChallengeFinishNotify_proto = out.File + file_DungeonChallengeFinishNotify_proto_rawDesc = nil + file_DungeonChallengeFinishNotify_proto_goTypes = nil + file_DungeonChallengeFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonChallengeFinishNotify.proto b/gate-hk4e-api/proto/DungeonChallengeFinishNotify.proto new file mode 100644 index 00000000..93cf1e79 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonChallengeFinishNotify.proto @@ -0,0 +1,46 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabLoopDungeonResultInfo.proto"; +import "CustomDungeonResultInfo.proto"; +import "EffigyChallengeDungeonResultInfo.proto"; +import "PotionDungeonResultInfo.proto"; +import "StrengthenPointData.proto"; +import "Unk2700_FHOKHHBGPEG.proto"; + +option go_package = "./;proto"; + +// CmdId: 939 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonChallengeFinishNotify { + map strengthen_point_data_map = 13; + Unk2700_FHOKHHBGPEG Unk2700_ONCDLPDHFAB = 9; + bool is_new_record = 10; + uint32 challenge_record_type = 7; + uint32 time_cost = 4; + uint32 current_value = 15; + bool is_success = 3; + uint32 challenge_index = 5; + oneof detail { + ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1521; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 1627; + PotionDungeonResultInfo potion_dungeon_result_info = 1824; + CustomDungeonResultInfo custom_dungeon_result_info = 1664; + } +} diff --git a/gate-hk4e-api/proto/DungeonDataNotify.pb.go b/gate-hk4e-api/proto/DungeonDataNotify.pb.go new file mode 100644 index 00000000..8652505d --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDataNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 982 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonDataMap map[uint32]uint32 `protobuf:"bytes,1,rep,name=dungeon_data_map,json=dungeonDataMap,proto3" json:"dungeon_data_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *DungeonDataNotify) Reset() { + *x = DungeonDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonDataNotify) ProtoMessage() {} + +func (x *DungeonDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonDataNotify.ProtoReflect.Descriptor instead. +func (*DungeonDataNotify) Descriptor() ([]byte, []int) { + return file_DungeonDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonDataNotify) GetDungeonDataMap() map[uint32]uint32 { + if x != nil { + return x.DungeonDataMap + } + return nil +} + +var File_DungeonDataNotify_proto protoreflect.FileDescriptor + +var file_DungeonDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x50, 0x0a, 0x10, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0e, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, + 0x70, 0x1a, 0x41, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonDataNotify_proto_rawDescOnce sync.Once + file_DungeonDataNotify_proto_rawDescData = file_DungeonDataNotify_proto_rawDesc +) + +func file_DungeonDataNotify_proto_rawDescGZIP() []byte { + file_DungeonDataNotify_proto_rawDescOnce.Do(func() { + file_DungeonDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonDataNotify_proto_rawDescData) + }) + return file_DungeonDataNotify_proto_rawDescData +} + +var file_DungeonDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_DungeonDataNotify_proto_goTypes = []interface{}{ + (*DungeonDataNotify)(nil), // 0: DungeonDataNotify + nil, // 1: DungeonDataNotify.DungeonDataMapEntry +} +var file_DungeonDataNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonDataNotify.dungeon_data_map:type_name -> DungeonDataNotify.DungeonDataMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonDataNotify_proto_init() } +func file_DungeonDataNotify_proto_init() { + if File_DungeonDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonDataNotify_proto_goTypes, + DependencyIndexes: file_DungeonDataNotify_proto_depIdxs, + MessageInfos: file_DungeonDataNotify_proto_msgTypes, + }.Build() + File_DungeonDataNotify_proto = out.File + file_DungeonDataNotify_proto_rawDesc = nil + file_DungeonDataNotify_proto_goTypes = nil + file_DungeonDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonDataNotify.proto b/gate-hk4e-api/proto/DungeonDataNotify.proto new file mode 100644 index 00000000..08dfd3b6 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 982 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonDataNotify { + map dungeon_data_map = 1; +} diff --git a/gate-hk4e-api/proto/DungeonDieOptionReq.pb.go b/gate-hk4e-api/proto/DungeonDieOptionReq.pb.go new file mode 100644 index 00000000..d933ade8 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDieOptionReq.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonDieOptionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 975 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonDieOptionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DieOption PlayerDieOption `protobuf:"varint,11,opt,name=die_option,json=dieOption,proto3,enum=PlayerDieOption" json:"die_option,omitempty"` + IsQuitImmediately bool `protobuf:"varint,14,opt,name=is_quit_immediately,json=isQuitImmediately,proto3" json:"is_quit_immediately,omitempty"` +} + +func (x *DungeonDieOptionReq) Reset() { + *x = DungeonDieOptionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonDieOptionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonDieOptionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonDieOptionReq) ProtoMessage() {} + +func (x *DungeonDieOptionReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonDieOptionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonDieOptionReq.ProtoReflect.Descriptor instead. +func (*DungeonDieOptionReq) Descriptor() ([]byte, []int) { + return file_DungeonDieOptionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonDieOptionReq) GetDieOption() PlayerDieOption { + if x != nil { + return x.DieOption + } + return PlayerDieOption_PLAYER_DIE_OPTION_OPT_NONE +} + +func (x *DungeonDieOptionReq) GetIsQuitImmediately() bool { + if x != nil { + return x.IsQuitImmediately + } + return false +} + +var File_DungeonDieOptionReq_proto protoreflect.FileDescriptor + +var file_DungeonDieOptionReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x69, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x0a, 0x64, 0x69, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x09, 0x64, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x73, + 0x5f, 0x71, 0x75, 0x69, 0x74, 0x5f, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x6c, + 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x51, 0x75, 0x69, 0x74, 0x49, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x6c, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonDieOptionReq_proto_rawDescOnce sync.Once + file_DungeonDieOptionReq_proto_rawDescData = file_DungeonDieOptionReq_proto_rawDesc +) + +func file_DungeonDieOptionReq_proto_rawDescGZIP() []byte { + file_DungeonDieOptionReq_proto_rawDescOnce.Do(func() { + file_DungeonDieOptionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonDieOptionReq_proto_rawDescData) + }) + return file_DungeonDieOptionReq_proto_rawDescData +} + +var file_DungeonDieOptionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonDieOptionReq_proto_goTypes = []interface{}{ + (*DungeonDieOptionReq)(nil), // 0: DungeonDieOptionReq + (PlayerDieOption)(0), // 1: PlayerDieOption +} +var file_DungeonDieOptionReq_proto_depIdxs = []int32{ + 1, // 0: DungeonDieOptionReq.die_option:type_name -> PlayerDieOption + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonDieOptionReq_proto_init() } +func file_DungeonDieOptionReq_proto_init() { + if File_DungeonDieOptionReq_proto != nil { + return + } + file_PlayerDieOption_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonDieOptionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonDieOptionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonDieOptionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonDieOptionReq_proto_goTypes, + DependencyIndexes: file_DungeonDieOptionReq_proto_depIdxs, + MessageInfos: file_DungeonDieOptionReq_proto_msgTypes, + }.Build() + File_DungeonDieOptionReq_proto = out.File + file_DungeonDieOptionReq_proto_rawDesc = nil + file_DungeonDieOptionReq_proto_goTypes = nil + file_DungeonDieOptionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonDieOptionReq.proto b/gate-hk4e-api/proto/DungeonDieOptionReq.proto new file mode 100644 index 00000000..3b973bae --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDieOptionReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieOption.proto"; + +option go_package = "./;proto"; + +// CmdId: 975 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonDieOptionReq { + PlayerDieOption die_option = 11; + bool is_quit_immediately = 14; +} diff --git a/gate-hk4e-api/proto/DungeonDieOptionRsp.pb.go b/gate-hk4e-api/proto/DungeonDieOptionRsp.pb.go new file mode 100644 index 00000000..0bc6c951 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDieOptionRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonDieOptionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 948 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonDieOptionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + ReviveCount uint32 `protobuf:"varint,10,opt,name=revive_count,json=reviveCount,proto3" json:"revive_count,omitempty"` + DieOption PlayerDieOption `protobuf:"varint,6,opt,name=die_option,json=dieOption,proto3,enum=PlayerDieOption" json:"die_option,omitempty"` +} + +func (x *DungeonDieOptionRsp) Reset() { + *x = DungeonDieOptionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonDieOptionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonDieOptionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonDieOptionRsp) ProtoMessage() {} + +func (x *DungeonDieOptionRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonDieOptionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonDieOptionRsp.ProtoReflect.Descriptor instead. +func (*DungeonDieOptionRsp) Descriptor() ([]byte, []int) { + return file_DungeonDieOptionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonDieOptionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DungeonDieOptionRsp) GetReviveCount() uint32 { + if x != nil { + return x.ReviveCount + } + return 0 +} + +func (x *DungeonDieOptionRsp) GetDieOption() PlayerDieOption { + if x != nil { + return x.DieOption + } + return PlayerDieOption_PLAYER_DIE_OPTION_OPT_NONE +} + +var File_DungeonDieOptionRsp_proto protoreflect.FileDescriptor + +var file_DungeonDieOptionRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x44, 0x69, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x76, 0x65, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x76, 0x69, + 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x64, 0x69, 0x65, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, + 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonDieOptionRsp_proto_rawDescOnce sync.Once + file_DungeonDieOptionRsp_proto_rawDescData = file_DungeonDieOptionRsp_proto_rawDesc +) + +func file_DungeonDieOptionRsp_proto_rawDescGZIP() []byte { + file_DungeonDieOptionRsp_proto_rawDescOnce.Do(func() { + file_DungeonDieOptionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonDieOptionRsp_proto_rawDescData) + }) + return file_DungeonDieOptionRsp_proto_rawDescData +} + +var file_DungeonDieOptionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonDieOptionRsp_proto_goTypes = []interface{}{ + (*DungeonDieOptionRsp)(nil), // 0: DungeonDieOptionRsp + (PlayerDieOption)(0), // 1: PlayerDieOption +} +var file_DungeonDieOptionRsp_proto_depIdxs = []int32{ + 1, // 0: DungeonDieOptionRsp.die_option:type_name -> PlayerDieOption + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonDieOptionRsp_proto_init() } +func file_DungeonDieOptionRsp_proto_init() { + if File_DungeonDieOptionRsp_proto != nil { + return + } + file_PlayerDieOption_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonDieOptionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonDieOptionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonDieOptionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonDieOptionRsp_proto_goTypes, + DependencyIndexes: file_DungeonDieOptionRsp_proto_depIdxs, + MessageInfos: file_DungeonDieOptionRsp_proto_msgTypes, + }.Build() + File_DungeonDieOptionRsp_proto = out.File + file_DungeonDieOptionRsp_proto_rawDesc = nil + file_DungeonDieOptionRsp_proto_goTypes = nil + file_DungeonDieOptionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonDieOptionRsp.proto b/gate-hk4e-api/proto/DungeonDieOptionRsp.proto new file mode 100644 index 00000000..afe78231 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonDieOptionRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieOption.proto"; + +option go_package = "./;proto"; + +// CmdId: 948 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonDieOptionRsp { + int32 retcode = 5; + uint32 revive_count = 10; + PlayerDieOption die_option = 6; +} diff --git a/gate-hk4e-api/proto/DungeonEntryBlockReason.pb.go b/gate-hk4e-api/proto/DungeonEntryBlockReason.pb.go new file mode 100644 index 00000000..95a130ac --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryBlockReason.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryBlockReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonEntryBlockReason int32 + +const ( + DungeonEntryBlockReason_DUNGEON_ENTRY_BLOCK_REASON_NONE DungeonEntryBlockReason = 0 + DungeonEntryBlockReason_DUNGEON_ENTRY_BLOCK_REASON_LEVEL DungeonEntryBlockReason = 1 + DungeonEntryBlockReason_DUNGEON_ENTRY_BLOCK_REASON_QUEST DungeonEntryBlockReason = 2 + DungeonEntryBlockReason_DUNGEON_ENTRY_BLOCK_REASON_MULIPLE DungeonEntryBlockReason = 3 +) + +// Enum value maps for DungeonEntryBlockReason. +var ( + DungeonEntryBlockReason_name = map[int32]string{ + 0: "DUNGEON_ENTRY_BLOCK_REASON_NONE", + 1: "DUNGEON_ENTRY_BLOCK_REASON_LEVEL", + 2: "DUNGEON_ENTRY_BLOCK_REASON_QUEST", + 3: "DUNGEON_ENTRY_BLOCK_REASON_MULIPLE", + } + DungeonEntryBlockReason_value = map[string]int32{ + "DUNGEON_ENTRY_BLOCK_REASON_NONE": 0, + "DUNGEON_ENTRY_BLOCK_REASON_LEVEL": 1, + "DUNGEON_ENTRY_BLOCK_REASON_QUEST": 2, + "DUNGEON_ENTRY_BLOCK_REASON_MULIPLE": 3, + } +) + +func (x DungeonEntryBlockReason) Enum() *DungeonEntryBlockReason { + p := new(DungeonEntryBlockReason) + *p = x + return p +} + +func (x DungeonEntryBlockReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DungeonEntryBlockReason) Descriptor() protoreflect.EnumDescriptor { + return file_DungeonEntryBlockReason_proto_enumTypes[0].Descriptor() +} + +func (DungeonEntryBlockReason) Type() protoreflect.EnumType { + return &file_DungeonEntryBlockReason_proto_enumTypes[0] +} + +func (x DungeonEntryBlockReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DungeonEntryBlockReason.Descriptor instead. +func (DungeonEntryBlockReason) EnumDescriptor() ([]byte, []int) { + return file_DungeonEntryBlockReason_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonEntryBlockReason_proto protoreflect.FileDescriptor + +var file_DungeonEntryBlockReason_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, + 0xb2, 0x01, 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x1f, 0x44, + 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x42, 0x4c, 0x4f, + 0x43, 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x24, 0x0a, 0x20, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, + 0x59, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x26, 0x0a, 0x22, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x42, 0x4c, + 0x4f, 0x43, 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d, 0x55, 0x4c, 0x49, 0x50, + 0x4c, 0x45, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonEntryBlockReason_proto_rawDescOnce sync.Once + file_DungeonEntryBlockReason_proto_rawDescData = file_DungeonEntryBlockReason_proto_rawDesc +) + +func file_DungeonEntryBlockReason_proto_rawDescGZIP() []byte { + file_DungeonEntryBlockReason_proto_rawDescOnce.Do(func() { + file_DungeonEntryBlockReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryBlockReason_proto_rawDescData) + }) + return file_DungeonEntryBlockReason_proto_rawDescData +} + +var file_DungeonEntryBlockReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_DungeonEntryBlockReason_proto_goTypes = []interface{}{ + (DungeonEntryBlockReason)(0), // 0: DungeonEntryBlockReason +} +var file_DungeonEntryBlockReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonEntryBlockReason_proto_init() } +func file_DungeonEntryBlockReason_proto_init() { + if File_DungeonEntryBlockReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryBlockReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryBlockReason_proto_goTypes, + DependencyIndexes: file_DungeonEntryBlockReason_proto_depIdxs, + EnumInfos: file_DungeonEntryBlockReason_proto_enumTypes, + }.Build() + File_DungeonEntryBlockReason_proto = out.File + file_DungeonEntryBlockReason_proto_rawDesc = nil + file_DungeonEntryBlockReason_proto_goTypes = nil + file_DungeonEntryBlockReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryBlockReason.proto b/gate-hk4e-api/proto/DungeonEntryBlockReason.proto new file mode 100644 index 00000000..1474bcdf --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryBlockReason.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum DungeonEntryBlockReason { + DUNGEON_ENTRY_BLOCK_REASON_NONE = 0; + DUNGEON_ENTRY_BLOCK_REASON_LEVEL = 1; + DUNGEON_ENTRY_BLOCK_REASON_QUEST = 2; + DUNGEON_ENTRY_BLOCK_REASON_MULIPLE = 3; +} diff --git a/gate-hk4e-api/proto/DungeonEntryCond.pb.go b/gate-hk4e-api/proto/DungeonEntryCond.pb.go new file mode 100644 index 00000000..967e732f --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryCond.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryCond.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonEntryCond struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CondReason DungeonEntryBlockReason `protobuf:"varint,7,opt,name=cond_reason,json=condReason,proto3,enum=DungeonEntryBlockReason" json:"cond_reason,omitempty"` + Param1 uint32 `protobuf:"varint,8,opt,name=param1,proto3" json:"param1,omitempty"` +} + +func (x *DungeonEntryCond) Reset() { + *x = DungeonEntryCond{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonEntryCond_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonEntryCond) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonEntryCond) ProtoMessage() {} + +func (x *DungeonEntryCond) ProtoReflect() protoreflect.Message { + mi := &file_DungeonEntryCond_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonEntryCond.ProtoReflect.Descriptor instead. +func (*DungeonEntryCond) Descriptor() ([]byte, []int) { + return file_DungeonEntryCond_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonEntryCond) GetCondReason() DungeonEntryBlockReason { + if x != nil { + return x.CondReason + } + return DungeonEntryBlockReason_DUNGEON_ENTRY_BLOCK_REASON_NONE +} + +func (x *DungeonEntryCond) GetParam1() uint32 { + if x != nil { + return x.Param1 + } + return 0 +} + +var File_DungeonEntryCond_proto protoreflect.FileDescriptor + +var file_DungeonEntryCond_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, + 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x10, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x12, 0x39, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DungeonEntryCond_proto_rawDescOnce sync.Once + file_DungeonEntryCond_proto_rawDescData = file_DungeonEntryCond_proto_rawDesc +) + +func file_DungeonEntryCond_proto_rawDescGZIP() []byte { + file_DungeonEntryCond_proto_rawDescOnce.Do(func() { + file_DungeonEntryCond_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryCond_proto_rawDescData) + }) + return file_DungeonEntryCond_proto_rawDescData +} + +var file_DungeonEntryCond_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonEntryCond_proto_goTypes = []interface{}{ + (*DungeonEntryCond)(nil), // 0: DungeonEntryCond + (DungeonEntryBlockReason)(0), // 1: DungeonEntryBlockReason +} +var file_DungeonEntryCond_proto_depIdxs = []int32{ + 1, // 0: DungeonEntryCond.cond_reason:type_name -> DungeonEntryBlockReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonEntryCond_proto_init() } +func file_DungeonEntryCond_proto_init() { + if File_DungeonEntryCond_proto != nil { + return + } + file_DungeonEntryBlockReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonEntryCond_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonEntryCond); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryCond_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryCond_proto_goTypes, + DependencyIndexes: file_DungeonEntryCond_proto_depIdxs, + MessageInfos: file_DungeonEntryCond_proto_msgTypes, + }.Build() + File_DungeonEntryCond_proto = out.File + file_DungeonEntryCond_proto_rawDesc = nil + file_DungeonEntryCond_proto_goTypes = nil + file_DungeonEntryCond_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryCond.proto b/gate-hk4e-api/proto/DungeonEntryCond.proto new file mode 100644 index 00000000..2b009c28 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryCond.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryBlockReason.proto"; + +option go_package = "./;proto"; + +message DungeonEntryCond { + DungeonEntryBlockReason cond_reason = 7; + uint32 param1 = 8; +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfo.pb.go b/gate-hk4e-api/proto/DungeonEntryInfo.pb.go new file mode 100644 index 00000000..0abda24e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfo.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonEntryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + DungeonId uint32 `protobuf:"varint,5,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + BossChestNum uint32 `protobuf:"varint,12,opt,name=boss_chest_num,json=bossChestNum,proto3" json:"boss_chest_num,omitempty"` + MaxBossChestNum uint32 `protobuf:"varint,13,opt,name=max_boss_chest_num,json=maxBossChestNum,proto3" json:"max_boss_chest_num,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,11,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + WeeklyBossResinDiscountInfo *WeeklyBossResinDiscountInfo `protobuf:"bytes,9,opt,name=weekly_boss_resin_discount_info,json=weeklyBossResinDiscountInfo,proto3" json:"weekly_boss_resin_discount_info,omitempty"` + StartTime uint32 `protobuf:"varint,15,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + IsPassed bool `protobuf:"varint,4,opt,name=is_passed,json=isPassed,proto3" json:"is_passed,omitempty"` + LeftTimes uint32 `protobuf:"varint,7,opt,name=left_times,json=leftTimes,proto3" json:"left_times,omitempty"` +} + +func (x *DungeonEntryInfo) Reset() { + *x = DungeonEntryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonEntryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonEntryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonEntryInfo) ProtoMessage() {} + +func (x *DungeonEntryInfo) ProtoReflect() protoreflect.Message { + mi := &file_DungeonEntryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonEntryInfo.ProtoReflect.Descriptor instead. +func (*DungeonEntryInfo) Descriptor() ([]byte, []int) { + return file_DungeonEntryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonEntryInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *DungeonEntryInfo) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DungeonEntryInfo) GetBossChestNum() uint32 { + if x != nil { + return x.BossChestNum + } + return 0 +} + +func (x *DungeonEntryInfo) GetMaxBossChestNum() uint32 { + if x != nil { + return x.MaxBossChestNum + } + return 0 +} + +func (x *DungeonEntryInfo) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *DungeonEntryInfo) GetWeeklyBossResinDiscountInfo() *WeeklyBossResinDiscountInfo { + if x != nil { + return x.WeeklyBossResinDiscountInfo + } + return nil +} + +func (x *DungeonEntryInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *DungeonEntryInfo) GetIsPassed() bool { + if x != nil { + return x.IsPassed + } + return false +} + +func (x *DungeonEntryInfo) GetLeftTimes() uint32 { + if x != nil { + return x.LeftTimes + } + return 0 +} + +var File_DungeonEntryInfo_proto protoreflect.FileDescriptor + +var file_DungeonEntryInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, + 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x10, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x6f, + 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x62, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, + 0x12, 0x2b, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, + 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x61, + 0x78, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, + 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x62, 0x0a, 0x1f, 0x77, 0x65, 0x65, + 0x6b, 0x6c, 0x79, 0x5f, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, + 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x1b, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, + 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x69, 0x73, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x66, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, + 0x65, 0x66, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonEntryInfo_proto_rawDescOnce sync.Once + file_DungeonEntryInfo_proto_rawDescData = file_DungeonEntryInfo_proto_rawDesc +) + +func file_DungeonEntryInfo_proto_rawDescGZIP() []byte { + file_DungeonEntryInfo_proto_rawDescOnce.Do(func() { + file_DungeonEntryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryInfo_proto_rawDescData) + }) + return file_DungeonEntryInfo_proto_rawDescData +} + +var file_DungeonEntryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonEntryInfo_proto_goTypes = []interface{}{ + (*DungeonEntryInfo)(nil), // 0: DungeonEntryInfo + (*WeeklyBossResinDiscountInfo)(nil), // 1: WeeklyBossResinDiscountInfo +} +var file_DungeonEntryInfo_proto_depIdxs = []int32{ + 1, // 0: DungeonEntryInfo.weekly_boss_resin_discount_info:type_name -> WeeklyBossResinDiscountInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonEntryInfo_proto_init() } +func file_DungeonEntryInfo_proto_init() { + if File_DungeonEntryInfo_proto != nil { + return + } + file_WeeklyBossResinDiscountInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonEntryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonEntryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryInfo_proto_goTypes, + DependencyIndexes: file_DungeonEntryInfo_proto_depIdxs, + MessageInfos: file_DungeonEntryInfo_proto_msgTypes, + }.Build() + File_DungeonEntryInfo_proto = out.File + file_DungeonEntryInfo_proto_rawDesc = nil + file_DungeonEntryInfo_proto_goTypes = nil + file_DungeonEntryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfo.proto b/gate-hk4e-api/proto/DungeonEntryInfo.proto new file mode 100644 index 00000000..9c684a9c --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WeeklyBossResinDiscountInfo.proto"; + +option go_package = "./;proto"; + +message DungeonEntryInfo { + uint32 end_time = 6; + uint32 dungeon_id = 5; + uint32 boss_chest_num = 12; + uint32 max_boss_chest_num = 13; + uint32 next_refresh_time = 11; + WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9; + uint32 start_time = 15; + bool is_passed = 4; + uint32 left_times = 7; +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfoReq.pb.go b/gate-hk4e-api/proto/DungeonEntryInfoReq.pb.go new file mode 100644 index 00000000..45813a34 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfoReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 972 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonEntryInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,2,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Unk2800_GGAMJDFELPH []*Uint32Pair `protobuf:"bytes,4,rep,name=Unk2800_GGAMJDFELPH,json=Unk2800GGAMJDFELPH,proto3" json:"Unk2800_GGAMJDFELPH,omitempty"` +} + +func (x *DungeonEntryInfoReq) Reset() { + *x = DungeonEntryInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonEntryInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonEntryInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonEntryInfoReq) ProtoMessage() {} + +func (x *DungeonEntryInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonEntryInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonEntryInfoReq.ProtoReflect.Descriptor instead. +func (*DungeonEntryInfoReq) Descriptor() ([]byte, []int) { + return file_DungeonEntryInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonEntryInfoReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *DungeonEntryInfoReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *DungeonEntryInfoReq) GetUnk2800_GGAMJDFELPH() []*Uint32Pair { + if x != nil { + return x.Unk2800_GGAMJDFELPH + } + return nil +} + +var File_DungeonEntryInfoReq_proto protoreflect.FileDescriptor + +var file_DungeonEntryInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, 0x6e, + 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, + 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x47, 0x41, 0x4d, 0x4a, 0x44, 0x46, 0x45, 0x4c, + 0x50, 0x48, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x33, + 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x47, 0x47, + 0x41, 0x4d, 0x4a, 0x44, 0x46, 0x45, 0x4c, 0x50, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonEntryInfoReq_proto_rawDescOnce sync.Once + file_DungeonEntryInfoReq_proto_rawDescData = file_DungeonEntryInfoReq_proto_rawDesc +) + +func file_DungeonEntryInfoReq_proto_rawDescGZIP() []byte { + file_DungeonEntryInfoReq_proto_rawDescOnce.Do(func() { + file_DungeonEntryInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryInfoReq_proto_rawDescData) + }) + return file_DungeonEntryInfoReq_proto_rawDescData +} + +var file_DungeonEntryInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonEntryInfoReq_proto_goTypes = []interface{}{ + (*DungeonEntryInfoReq)(nil), // 0: DungeonEntryInfoReq + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_DungeonEntryInfoReq_proto_depIdxs = []int32{ + 1, // 0: DungeonEntryInfoReq.Unk2800_GGAMJDFELPH:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonEntryInfoReq_proto_init() } +func file_DungeonEntryInfoReq_proto_init() { + if File_DungeonEntryInfoReq_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonEntryInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonEntryInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryInfoReq_proto_goTypes, + DependencyIndexes: file_DungeonEntryInfoReq_proto_depIdxs, + MessageInfos: file_DungeonEntryInfoReq_proto_msgTypes, + }.Build() + File_DungeonEntryInfoReq_proto = out.File + file_DungeonEntryInfoReq_proto_rawDesc = nil + file_DungeonEntryInfoReq_proto_goTypes = nil + file_DungeonEntryInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfoReq.proto b/gate-hk4e-api/proto/DungeonEntryInfoReq.proto new file mode 100644 index 00000000..451b91fd --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfoReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +// CmdId: 972 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonEntryInfoReq { + uint32 point_id = 2; + uint32 scene_id = 9; + repeated Uint32Pair Unk2800_GGAMJDFELPH = 4; +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfoRsp.pb.go b/gate-hk4e-api/proto/DungeonEntryInfoRsp.pb.go new file mode 100644 index 00000000..a3c7a828 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfoRsp.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 998 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonEntryInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonEntryList []*DungeonEntryInfo `protobuf:"bytes,12,rep,name=dungeon_entry_list,json=dungeonEntryList,proto3" json:"dungeon_entry_list,omitempty"` + PointId uint32 `protobuf:"varint,15,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Unk2800_JJFLDCLMEHD []*Unk2800_MHCFAGCKGIB `protobuf:"bytes,4,rep,name=Unk2800_JJFLDCLMEHD,json=Unk2800JJFLDCLMEHD,proto3" json:"Unk2800_JJFLDCLMEHD,omitempty"` + RecommendDungeonId uint32 `protobuf:"varint,14,opt,name=recommend_dungeon_id,json=recommendDungeonId,proto3" json:"recommend_dungeon_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonEntryInfoRsp) Reset() { + *x = DungeonEntryInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonEntryInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonEntryInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonEntryInfoRsp) ProtoMessage() {} + +func (x *DungeonEntryInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonEntryInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonEntryInfoRsp.ProtoReflect.Descriptor instead. +func (*DungeonEntryInfoRsp) Descriptor() ([]byte, []int) { + return file_DungeonEntryInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonEntryInfoRsp) GetDungeonEntryList() []*DungeonEntryInfo { + if x != nil { + return x.DungeonEntryList + } + return nil +} + +func (x *DungeonEntryInfoRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *DungeonEntryInfoRsp) GetUnk2800_JJFLDCLMEHD() []*Unk2800_MHCFAGCKGIB { + if x != nil { + return x.Unk2800_JJFLDCLMEHD + } + return nil +} + +func (x *DungeonEntryInfoRsp) GetRecommendDungeonId() uint32 { + if x != nil { + return x.RecommendDungeonId + } + return 0 +} + +func (x *DungeonEntryInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonEntryInfoRsp_proto protoreflect.FileDescriptor + +var file_DungeonEntryInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x43, + 0x46, 0x41, 0x47, 0x43, 0x4b, 0x47, 0x49, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, + 0x02, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x12, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4a, + 0x46, 0x4c, 0x44, 0x43, 0x4c, 0x4d, 0x45, 0x48, 0x44, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x43, 0x46, 0x41, 0x47, + 0x43, 0x4b, 0x47, 0x49, 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4a, 0x4a, + 0x46, 0x4c, 0x44, 0x43, 0x4c, 0x4d, 0x45, 0x48, 0x44, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x63, + 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x64, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonEntryInfoRsp_proto_rawDescOnce sync.Once + file_DungeonEntryInfoRsp_proto_rawDescData = file_DungeonEntryInfoRsp_proto_rawDesc +) + +func file_DungeonEntryInfoRsp_proto_rawDescGZIP() []byte { + file_DungeonEntryInfoRsp_proto_rawDescOnce.Do(func() { + file_DungeonEntryInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryInfoRsp_proto_rawDescData) + }) + return file_DungeonEntryInfoRsp_proto_rawDescData +} + +var file_DungeonEntryInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonEntryInfoRsp_proto_goTypes = []interface{}{ + (*DungeonEntryInfoRsp)(nil), // 0: DungeonEntryInfoRsp + (*DungeonEntryInfo)(nil), // 1: DungeonEntryInfo + (*Unk2800_MHCFAGCKGIB)(nil), // 2: Unk2800_MHCFAGCKGIB +} +var file_DungeonEntryInfoRsp_proto_depIdxs = []int32{ + 1, // 0: DungeonEntryInfoRsp.dungeon_entry_list:type_name -> DungeonEntryInfo + 2, // 1: DungeonEntryInfoRsp.Unk2800_JJFLDCLMEHD:type_name -> Unk2800_MHCFAGCKGIB + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_DungeonEntryInfoRsp_proto_init() } +func file_DungeonEntryInfoRsp_proto_init() { + if File_DungeonEntryInfoRsp_proto != nil { + return + } + file_DungeonEntryInfo_proto_init() + file_Unk2800_MHCFAGCKGIB_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonEntryInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonEntryInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryInfoRsp_proto_goTypes, + DependencyIndexes: file_DungeonEntryInfoRsp_proto_depIdxs, + MessageInfos: file_DungeonEntryInfoRsp_proto_msgTypes, + }.Build() + File_DungeonEntryInfoRsp_proto = out.File + file_DungeonEntryInfoRsp_proto_rawDesc = nil + file_DungeonEntryInfoRsp_proto_goTypes = nil + file_DungeonEntryInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryInfoRsp.proto b/gate-hk4e-api/proto/DungeonEntryInfoRsp.proto new file mode 100644 index 00000000..96e00c25 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryInfoRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryInfo.proto"; +import "Unk2800_MHCFAGCKGIB.proto"; + +option go_package = "./;proto"; + +// CmdId: 998 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonEntryInfoRsp { + repeated DungeonEntryInfo dungeon_entry_list = 12; + uint32 point_id = 15; + repeated Unk2800_MHCFAGCKGIB Unk2800_JJFLDCLMEHD = 4; + uint32 recommend_dungeon_id = 14; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.pb.go b/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.pb.go new file mode 100644 index 00000000..dee34fed --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonEntryToBeExploreNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3147 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonEntryToBeExploreNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonEntryScenePointId uint32 `protobuf:"varint,2,opt,name=dungeon_entry_scene_point_id,json=dungeonEntryScenePointId,proto3" json:"dungeon_entry_scene_point_id,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + DungeonEntryConfigId uint32 `protobuf:"varint,10,opt,name=dungeon_entry_config_id,json=dungeonEntryConfigId,proto3" json:"dungeon_entry_config_id,omitempty"` +} + +func (x *DungeonEntryToBeExploreNotify) Reset() { + *x = DungeonEntryToBeExploreNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonEntryToBeExploreNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonEntryToBeExploreNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonEntryToBeExploreNotify) ProtoMessage() {} + +func (x *DungeonEntryToBeExploreNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonEntryToBeExploreNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonEntryToBeExploreNotify.ProtoReflect.Descriptor instead. +func (*DungeonEntryToBeExploreNotify) Descriptor() ([]byte, []int) { + return file_DungeonEntryToBeExploreNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonEntryToBeExploreNotify) GetDungeonEntryScenePointId() uint32 { + if x != nil { + return x.DungeonEntryScenePointId + } + return 0 +} + +func (x *DungeonEntryToBeExploreNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *DungeonEntryToBeExploreNotify) GetDungeonEntryConfigId() uint32 { + if x != nil { + return x.DungeonEntryConfigId + } + return 0 +} + +var File_DungeonEntryToBeExploreNotify_proto protoreflect.FileDescriptor + +var file_DungeonEntryToBeExploreNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x6f, + 0x42, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x6f, 0x42, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x1c, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, + 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x14, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonEntryToBeExploreNotify_proto_rawDescOnce sync.Once + file_DungeonEntryToBeExploreNotify_proto_rawDescData = file_DungeonEntryToBeExploreNotify_proto_rawDesc +) + +func file_DungeonEntryToBeExploreNotify_proto_rawDescGZIP() []byte { + file_DungeonEntryToBeExploreNotify_proto_rawDescOnce.Do(func() { + file_DungeonEntryToBeExploreNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonEntryToBeExploreNotify_proto_rawDescData) + }) + return file_DungeonEntryToBeExploreNotify_proto_rawDescData +} + +var file_DungeonEntryToBeExploreNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonEntryToBeExploreNotify_proto_goTypes = []interface{}{ + (*DungeonEntryToBeExploreNotify)(nil), // 0: DungeonEntryToBeExploreNotify +} +var file_DungeonEntryToBeExploreNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonEntryToBeExploreNotify_proto_init() } +func file_DungeonEntryToBeExploreNotify_proto_init() { + if File_DungeonEntryToBeExploreNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonEntryToBeExploreNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonEntryToBeExploreNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonEntryToBeExploreNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonEntryToBeExploreNotify_proto_goTypes, + DependencyIndexes: file_DungeonEntryToBeExploreNotify_proto_depIdxs, + MessageInfos: file_DungeonEntryToBeExploreNotify_proto_msgTypes, + }.Build() + File_DungeonEntryToBeExploreNotify_proto = out.File + file_DungeonEntryToBeExploreNotify_proto_rawDesc = nil + file_DungeonEntryToBeExploreNotify_proto_goTypes = nil + file_DungeonEntryToBeExploreNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.proto b/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.proto new file mode 100644 index 00000000..b54ea1ad --- /dev/null +++ b/gate-hk4e-api/proto/DungeonEntryToBeExploreNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3147 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonEntryToBeExploreNotify { + uint32 dungeon_entry_scene_point_id = 2; + uint32 scene_id = 4; + uint32 dungeon_entry_config_id = 10; +} diff --git a/gate-hk4e-api/proto/DungeonFollowNotify.pb.go b/gate-hk4e-api/proto/DungeonFollowNotify.pb.go new file mode 100644 index 00000000..38128241 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonFollowNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonFollowNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 922 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonFollowNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,8,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *DungeonFollowNotify) Reset() { + *x = DungeonFollowNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonFollowNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonFollowNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonFollowNotify) ProtoMessage() {} + +func (x *DungeonFollowNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonFollowNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonFollowNotify.ProtoReflect.Descriptor instead. +func (*DungeonFollowNotify) Descriptor() ([]byte, []int) { + return file_DungeonFollowNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonFollowNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_DungeonFollowNotify_proto protoreflect.FileDescriptor + +var file_DungeonFollowNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonFollowNotify_proto_rawDescOnce sync.Once + file_DungeonFollowNotify_proto_rawDescData = file_DungeonFollowNotify_proto_rawDesc +) + +func file_DungeonFollowNotify_proto_rawDescGZIP() []byte { + file_DungeonFollowNotify_proto_rawDescOnce.Do(func() { + file_DungeonFollowNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonFollowNotify_proto_rawDescData) + }) + return file_DungeonFollowNotify_proto_rawDescData +} + +var file_DungeonFollowNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonFollowNotify_proto_goTypes = []interface{}{ + (*DungeonFollowNotify)(nil), // 0: DungeonFollowNotify +} +var file_DungeonFollowNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonFollowNotify_proto_init() } +func file_DungeonFollowNotify_proto_init() { + if File_DungeonFollowNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonFollowNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonFollowNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonFollowNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonFollowNotify_proto_goTypes, + DependencyIndexes: file_DungeonFollowNotify_proto_depIdxs, + MessageInfos: file_DungeonFollowNotify_proto_msgTypes, + }.Build() + File_DungeonFollowNotify_proto = out.File + file_DungeonFollowNotify_proto_rawDesc = nil + file_DungeonFollowNotify_proto_goTypes = nil + file_DungeonFollowNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonFollowNotify.proto b/gate-hk4e-api/proto/DungeonFollowNotify.proto new file mode 100644 index 00000000..1e5ebb1f --- /dev/null +++ b/gate-hk4e-api/proto/DungeonFollowNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 922 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonFollowNotify { + uint32 target_uid = 8; +} diff --git a/gate-hk4e-api/proto/DungeonGetStatueDropReq.pb.go b/gate-hk4e-api/proto/DungeonGetStatueDropReq.pb.go new file mode 100644 index 00000000..3cd43bdc --- /dev/null +++ b/gate-hk4e-api/proto/DungeonGetStatueDropReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonGetStatueDropReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 965 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonGetStatueDropReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DungeonGetStatueDropReq) Reset() { + *x = DungeonGetStatueDropReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonGetStatueDropReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonGetStatueDropReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonGetStatueDropReq) ProtoMessage() {} + +func (x *DungeonGetStatueDropReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonGetStatueDropReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonGetStatueDropReq.ProtoReflect.Descriptor instead. +func (*DungeonGetStatueDropReq) Descriptor() ([]byte, []int) { + return file_DungeonGetStatueDropReq_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonGetStatueDropReq_proto protoreflect.FileDescriptor + +var file_DungeonGetStatueDropReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x65, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x19, 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x65, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonGetStatueDropReq_proto_rawDescOnce sync.Once + file_DungeonGetStatueDropReq_proto_rawDescData = file_DungeonGetStatueDropReq_proto_rawDesc +) + +func file_DungeonGetStatueDropReq_proto_rawDescGZIP() []byte { + file_DungeonGetStatueDropReq_proto_rawDescOnce.Do(func() { + file_DungeonGetStatueDropReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonGetStatueDropReq_proto_rawDescData) + }) + return file_DungeonGetStatueDropReq_proto_rawDescData +} + +var file_DungeonGetStatueDropReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonGetStatueDropReq_proto_goTypes = []interface{}{ + (*DungeonGetStatueDropReq)(nil), // 0: DungeonGetStatueDropReq +} +var file_DungeonGetStatueDropReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonGetStatueDropReq_proto_init() } +func file_DungeonGetStatueDropReq_proto_init() { + if File_DungeonGetStatueDropReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonGetStatueDropReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonGetStatueDropReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonGetStatueDropReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonGetStatueDropReq_proto_goTypes, + DependencyIndexes: file_DungeonGetStatueDropReq_proto_depIdxs, + MessageInfos: file_DungeonGetStatueDropReq_proto_msgTypes, + }.Build() + File_DungeonGetStatueDropReq_proto = out.File + file_DungeonGetStatueDropReq_proto_rawDesc = nil + file_DungeonGetStatueDropReq_proto_goTypes = nil + file_DungeonGetStatueDropReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonGetStatueDropReq.proto b/gate-hk4e-api/proto/DungeonGetStatueDropReq.proto new file mode 100644 index 00000000..ee43b47b --- /dev/null +++ b/gate-hk4e-api/proto/DungeonGetStatueDropReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 965 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonGetStatueDropReq {} diff --git a/gate-hk4e-api/proto/DungeonGetStatueDropRsp.pb.go b/gate-hk4e-api/proto/DungeonGetStatueDropRsp.pb.go new file mode 100644 index 00000000..b5ec5ca3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonGetStatueDropRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonGetStatueDropRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 904 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonGetStatueDropRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonGetStatueDropRsp) Reset() { + *x = DungeonGetStatueDropRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonGetStatueDropRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonGetStatueDropRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonGetStatueDropRsp) ProtoMessage() {} + +func (x *DungeonGetStatueDropRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonGetStatueDropRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonGetStatueDropRsp.ProtoReflect.Descriptor instead. +func (*DungeonGetStatueDropRsp) Descriptor() ([]byte, []int) { + return file_DungeonGetStatueDropRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonGetStatueDropRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonGetStatueDropRsp_proto protoreflect.FileDescriptor + +var file_DungeonGetStatueDropRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x65, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x33, 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x65, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonGetStatueDropRsp_proto_rawDescOnce sync.Once + file_DungeonGetStatueDropRsp_proto_rawDescData = file_DungeonGetStatueDropRsp_proto_rawDesc +) + +func file_DungeonGetStatueDropRsp_proto_rawDescGZIP() []byte { + file_DungeonGetStatueDropRsp_proto_rawDescOnce.Do(func() { + file_DungeonGetStatueDropRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonGetStatueDropRsp_proto_rawDescData) + }) + return file_DungeonGetStatueDropRsp_proto_rawDescData +} + +var file_DungeonGetStatueDropRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonGetStatueDropRsp_proto_goTypes = []interface{}{ + (*DungeonGetStatueDropRsp)(nil), // 0: DungeonGetStatueDropRsp +} +var file_DungeonGetStatueDropRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonGetStatueDropRsp_proto_init() } +func file_DungeonGetStatueDropRsp_proto_init() { + if File_DungeonGetStatueDropRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonGetStatueDropRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonGetStatueDropRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonGetStatueDropRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonGetStatueDropRsp_proto_goTypes, + DependencyIndexes: file_DungeonGetStatueDropRsp_proto_depIdxs, + MessageInfos: file_DungeonGetStatueDropRsp_proto_msgTypes, + }.Build() + File_DungeonGetStatueDropRsp_proto = out.File + file_DungeonGetStatueDropRsp_proto_rawDesc = nil + file_DungeonGetStatueDropRsp_proto_goTypes = nil + file_DungeonGetStatueDropRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonGetStatueDropRsp.proto b/gate-hk4e-api/proto/DungeonGetStatueDropRsp.proto new file mode 100644 index 00000000..16953d36 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonGetStatueDropRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 904 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonGetStatueDropRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/DungeonInterruptChallengeReq.pb.go b/gate-hk4e-api/proto/DungeonInterruptChallengeReq.pb.go new file mode 100644 index 00000000..abf10fbf --- /dev/null +++ b/gate-hk4e-api/proto/DungeonInterruptChallengeReq.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonInterruptChallengeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 917 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonInterruptChallengeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeIndex uint32 `protobuf:"varint,14,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + GroupId uint32 `protobuf:"varint,13,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,11,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *DungeonInterruptChallengeReq) Reset() { + *x = DungeonInterruptChallengeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonInterruptChallengeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonInterruptChallengeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonInterruptChallengeReq) ProtoMessage() {} + +func (x *DungeonInterruptChallengeReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonInterruptChallengeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonInterruptChallengeReq.ProtoReflect.Descriptor instead. +func (*DungeonInterruptChallengeReq) Descriptor() ([]byte, []int) { + return file_DungeonInterruptChallengeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonInterruptChallengeReq) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *DungeonInterruptChallengeReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *DungeonInterruptChallengeReq) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_DungeonInterruptChallengeReq_proto protoreflect.FileDescriptor + +var file_DungeonInterruptChallengeReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, + 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonInterruptChallengeReq_proto_rawDescOnce sync.Once + file_DungeonInterruptChallengeReq_proto_rawDescData = file_DungeonInterruptChallengeReq_proto_rawDesc +) + +func file_DungeonInterruptChallengeReq_proto_rawDescGZIP() []byte { + file_DungeonInterruptChallengeReq_proto_rawDescOnce.Do(func() { + file_DungeonInterruptChallengeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonInterruptChallengeReq_proto_rawDescData) + }) + return file_DungeonInterruptChallengeReq_proto_rawDescData +} + +var file_DungeonInterruptChallengeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonInterruptChallengeReq_proto_goTypes = []interface{}{ + (*DungeonInterruptChallengeReq)(nil), // 0: DungeonInterruptChallengeReq +} +var file_DungeonInterruptChallengeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonInterruptChallengeReq_proto_init() } +func file_DungeonInterruptChallengeReq_proto_init() { + if File_DungeonInterruptChallengeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonInterruptChallengeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonInterruptChallengeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonInterruptChallengeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonInterruptChallengeReq_proto_goTypes, + DependencyIndexes: file_DungeonInterruptChallengeReq_proto_depIdxs, + MessageInfos: file_DungeonInterruptChallengeReq_proto_msgTypes, + }.Build() + File_DungeonInterruptChallengeReq_proto = out.File + file_DungeonInterruptChallengeReq_proto_rawDesc = nil + file_DungeonInterruptChallengeReq_proto_goTypes = nil + file_DungeonInterruptChallengeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonInterruptChallengeReq.proto b/gate-hk4e-api/proto/DungeonInterruptChallengeReq.proto new file mode 100644 index 00000000..f8e6c9ef --- /dev/null +++ b/gate-hk4e-api/proto/DungeonInterruptChallengeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 917 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonInterruptChallengeReq { + uint32 challenge_index = 14; + uint32 group_id = 13; + uint32 challenge_id = 11; +} diff --git a/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.pb.go b/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.pb.go new file mode 100644 index 00000000..53d06937 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonInterruptChallengeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 902 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonInterruptChallengeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,2,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + GroupId uint32 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,11,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *DungeonInterruptChallengeRsp) Reset() { + *x = DungeonInterruptChallengeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonInterruptChallengeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonInterruptChallengeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonInterruptChallengeRsp) ProtoMessage() {} + +func (x *DungeonInterruptChallengeRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonInterruptChallengeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonInterruptChallengeRsp.ProtoReflect.Descriptor instead. +func (*DungeonInterruptChallengeRsp) Descriptor() ([]byte, []int) { + return file_DungeonInterruptChallengeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonInterruptChallengeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DungeonInterruptChallengeRsp) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *DungeonInterruptChallengeRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *DungeonInterruptChallengeRsp) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_DungeonInterruptChallengeRsp_proto protoreflect.FileDescriptor + +var file_DungeonInterruptChallengeRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonInterruptChallengeRsp_proto_rawDescOnce sync.Once + file_DungeonInterruptChallengeRsp_proto_rawDescData = file_DungeonInterruptChallengeRsp_proto_rawDesc +) + +func file_DungeonInterruptChallengeRsp_proto_rawDescGZIP() []byte { + file_DungeonInterruptChallengeRsp_proto_rawDescOnce.Do(func() { + file_DungeonInterruptChallengeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonInterruptChallengeRsp_proto_rawDescData) + }) + return file_DungeonInterruptChallengeRsp_proto_rawDescData +} + +var file_DungeonInterruptChallengeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonInterruptChallengeRsp_proto_goTypes = []interface{}{ + (*DungeonInterruptChallengeRsp)(nil), // 0: DungeonInterruptChallengeRsp +} +var file_DungeonInterruptChallengeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonInterruptChallengeRsp_proto_init() } +func file_DungeonInterruptChallengeRsp_proto_init() { + if File_DungeonInterruptChallengeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonInterruptChallengeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonInterruptChallengeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonInterruptChallengeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonInterruptChallengeRsp_proto_goTypes, + DependencyIndexes: file_DungeonInterruptChallengeRsp_proto_depIdxs, + MessageInfos: file_DungeonInterruptChallengeRsp_proto_msgTypes, + }.Build() + File_DungeonInterruptChallengeRsp_proto = out.File + file_DungeonInterruptChallengeRsp_proto_rawDesc = nil + file_DungeonInterruptChallengeRsp_proto_goTypes = nil + file_DungeonInterruptChallengeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.proto b/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.proto new file mode 100644 index 00000000..081ac9aa --- /dev/null +++ b/gate-hk4e-api/proto/DungeonInterruptChallengeRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 902 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonInterruptChallengeRsp { + int32 retcode = 1; + uint32 challenge_index = 2; + uint32 group_id = 15; + uint32 challenge_id = 11; +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieNotify.pb.go b/gate-hk4e-api/proto/DungeonPlayerDieNotify.pb.go new file mode 100644 index 00000000..0771209c --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieNotify.pb.go @@ -0,0 +1,285 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonPlayerDieNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 931 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonPlayerDieNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StrengthenPointDataMap map[uint32]*StrengthenPointData `protobuf:"bytes,15,rep,name=strengthen_point_data_map,json=strengthenPointDataMap,proto3" json:"strengthen_point_data_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + WaitTime uint32 `protobuf:"varint,1,opt,name=wait_time,json=waitTime,proto3" json:"wait_time,omitempty"` + DungeonId uint32 `protobuf:"varint,9,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + MurdererEntityId uint32 `protobuf:"varint,13,opt,name=murderer_entity_id,json=murdererEntityId,proto3" json:"murderer_entity_id,omitempty"` + DieType PlayerDieType `protobuf:"varint,3,opt,name=die_type,json=dieType,proto3,enum=PlayerDieType" json:"die_type,omitempty"` + ReviveCount uint32 `protobuf:"varint,6,opt,name=revive_count,json=reviveCount,proto3" json:"revive_count,omitempty"` + // Types that are assignable to Entity: + // *DungeonPlayerDieNotify_MonsterId + // *DungeonPlayerDieNotify_GadgetId + Entity isDungeonPlayerDieNotify_Entity `protobuf_oneof:"entity"` +} + +func (x *DungeonPlayerDieNotify) Reset() { + *x = DungeonPlayerDieNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonPlayerDieNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonPlayerDieNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonPlayerDieNotify) ProtoMessage() {} + +func (x *DungeonPlayerDieNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonPlayerDieNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonPlayerDieNotify.ProtoReflect.Descriptor instead. +func (*DungeonPlayerDieNotify) Descriptor() ([]byte, []int) { + return file_DungeonPlayerDieNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonPlayerDieNotify) GetStrengthenPointDataMap() map[uint32]*StrengthenPointData { + if x != nil { + return x.StrengthenPointDataMap + } + return nil +} + +func (x *DungeonPlayerDieNotify) GetWaitTime() uint32 { + if x != nil { + return x.WaitTime + } + return 0 +} + +func (x *DungeonPlayerDieNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DungeonPlayerDieNotify) GetMurdererEntityId() uint32 { + if x != nil { + return x.MurdererEntityId + } + return 0 +} + +func (x *DungeonPlayerDieNotify) GetDieType() PlayerDieType { + if x != nil { + return x.DieType + } + return PlayerDieType_PLAYER_DIE_TYPE_NONE +} + +func (x *DungeonPlayerDieNotify) GetReviveCount() uint32 { + if x != nil { + return x.ReviveCount + } + return 0 +} + +func (m *DungeonPlayerDieNotify) GetEntity() isDungeonPlayerDieNotify_Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (x *DungeonPlayerDieNotify) GetMonsterId() uint32 { + if x, ok := x.GetEntity().(*DungeonPlayerDieNotify_MonsterId); ok { + return x.MonsterId + } + return 0 +} + +func (x *DungeonPlayerDieNotify) GetGadgetId() uint32 { + if x, ok := x.GetEntity().(*DungeonPlayerDieNotify_GadgetId); ok { + return x.GadgetId + } + return 0 +} + +type isDungeonPlayerDieNotify_Entity interface { + isDungeonPlayerDieNotify_Entity() +} + +type DungeonPlayerDieNotify_MonsterId struct { + MonsterId uint32 `protobuf:"varint,4,opt,name=monster_id,json=monsterId,proto3,oneof"` +} + +type DungeonPlayerDieNotify_GadgetId struct { + GadgetId uint32 `protobuf:"varint,8,opt,name=gadget_id,json=gadgetId,proto3,oneof"` +} + +func (*DungeonPlayerDieNotify_MonsterId) isDungeonPlayerDieNotify_Entity() {} + +func (*DungeonPlayerDieNotify_GadgetId) isDungeonPlayerDieNotify_Entity() {} + +var File_DungeonPlayerDieNotify_proto protoreflect.FileDescriptor + +var file_DungeonPlayerDieNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, + 0x69, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, + 0x03, 0x0a, 0x16, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x44, 0x69, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6e, 0x0a, 0x19, 0x73, 0x74, 0x72, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x16, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x77, 0x61, + 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x75, 0x72, 0x64, 0x65, 0x72, 0x65, + 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x10, 0x6d, 0x75, 0x72, 0x64, 0x65, 0x72, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x08, 0x64, 0x69, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x64, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1f, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x64, 0x1a, 0x5f, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonPlayerDieNotify_proto_rawDescOnce sync.Once + file_DungeonPlayerDieNotify_proto_rawDescData = file_DungeonPlayerDieNotify_proto_rawDesc +) + +func file_DungeonPlayerDieNotify_proto_rawDescGZIP() []byte { + file_DungeonPlayerDieNotify_proto_rawDescOnce.Do(func() { + file_DungeonPlayerDieNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonPlayerDieNotify_proto_rawDescData) + }) + return file_DungeonPlayerDieNotify_proto_rawDescData +} + +var file_DungeonPlayerDieNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_DungeonPlayerDieNotify_proto_goTypes = []interface{}{ + (*DungeonPlayerDieNotify)(nil), // 0: DungeonPlayerDieNotify + nil, // 1: DungeonPlayerDieNotify.StrengthenPointDataMapEntry + (PlayerDieType)(0), // 2: PlayerDieType + (*StrengthenPointData)(nil), // 3: StrengthenPointData +} +var file_DungeonPlayerDieNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonPlayerDieNotify.strengthen_point_data_map:type_name -> DungeonPlayerDieNotify.StrengthenPointDataMapEntry + 2, // 1: DungeonPlayerDieNotify.die_type:type_name -> PlayerDieType + 3, // 2: DungeonPlayerDieNotify.StrengthenPointDataMapEntry.value:type_name -> StrengthenPointData + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_DungeonPlayerDieNotify_proto_init() } +func file_DungeonPlayerDieNotify_proto_init() { + if File_DungeonPlayerDieNotify_proto != nil { + return + } + file_PlayerDieType_proto_init() + file_StrengthenPointData_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonPlayerDieNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonPlayerDieNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_DungeonPlayerDieNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*DungeonPlayerDieNotify_MonsterId)(nil), + (*DungeonPlayerDieNotify_GadgetId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonPlayerDieNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonPlayerDieNotify_proto_goTypes, + DependencyIndexes: file_DungeonPlayerDieNotify_proto_depIdxs, + MessageInfos: file_DungeonPlayerDieNotify_proto_msgTypes, + }.Build() + File_DungeonPlayerDieNotify_proto = out.File + file_DungeonPlayerDieNotify_proto_rawDesc = nil + file_DungeonPlayerDieNotify_proto_goTypes = nil + file_DungeonPlayerDieNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieNotify.proto b/gate-hk4e-api/proto/DungeonPlayerDieNotify.proto new file mode 100644 index 00000000..35a9563e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieNotify.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieType.proto"; +import "StrengthenPointData.proto"; + +option go_package = "./;proto"; + +// CmdId: 931 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonPlayerDieNotify { + map strengthen_point_data_map = 15; + uint32 wait_time = 1; + uint32 dungeon_id = 9; + uint32 murderer_entity_id = 13; + PlayerDieType die_type = 3; + uint32 revive_count = 6; + oneof entity { + uint32 monster_id = 4; + uint32 gadget_id = 8; + } +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieReq.pb.go b/gate-hk4e-api/proto/DungeonPlayerDieReq.pb.go new file mode 100644 index 00000000..0307fbd3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonPlayerDieReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 981 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonPlayerDieReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DieType PlayerDieType `protobuf:"varint,6,opt,name=die_type,json=dieType,proto3,enum=PlayerDieType" json:"die_type,omitempty"` + DungeonId uint32 `protobuf:"varint,8,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *DungeonPlayerDieReq) Reset() { + *x = DungeonPlayerDieReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonPlayerDieReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonPlayerDieReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonPlayerDieReq) ProtoMessage() {} + +func (x *DungeonPlayerDieReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonPlayerDieReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonPlayerDieReq.ProtoReflect.Descriptor instead. +func (*DungeonPlayerDieReq) Descriptor() ([]byte, []int) { + return file_DungeonPlayerDieReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonPlayerDieReq) GetDieType() PlayerDieType { + if x != nil { + return x.DieType + } + return PlayerDieType_PLAYER_DIE_TYPE_NONE +} + +func (x *DungeonPlayerDieReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_DungeonPlayerDieReq_proto protoreflect.FileDescriptor + +var file_DungeonPlayerDieReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, + 0x69, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5f, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x44, 0x69, 0x65, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x08, 0x64, 0x69, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x64, 0x69, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonPlayerDieReq_proto_rawDescOnce sync.Once + file_DungeonPlayerDieReq_proto_rawDescData = file_DungeonPlayerDieReq_proto_rawDesc +) + +func file_DungeonPlayerDieReq_proto_rawDescGZIP() []byte { + file_DungeonPlayerDieReq_proto_rawDescOnce.Do(func() { + file_DungeonPlayerDieReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonPlayerDieReq_proto_rawDescData) + }) + return file_DungeonPlayerDieReq_proto_rawDescData +} + +var file_DungeonPlayerDieReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonPlayerDieReq_proto_goTypes = []interface{}{ + (*DungeonPlayerDieReq)(nil), // 0: DungeonPlayerDieReq + (PlayerDieType)(0), // 1: PlayerDieType +} +var file_DungeonPlayerDieReq_proto_depIdxs = []int32{ + 1, // 0: DungeonPlayerDieReq.die_type:type_name -> PlayerDieType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_DungeonPlayerDieReq_proto_init() } +func file_DungeonPlayerDieReq_proto_init() { + if File_DungeonPlayerDieReq_proto != nil { + return + } + file_PlayerDieType_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonPlayerDieReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonPlayerDieReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonPlayerDieReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonPlayerDieReq_proto_goTypes, + DependencyIndexes: file_DungeonPlayerDieReq_proto_depIdxs, + MessageInfos: file_DungeonPlayerDieReq_proto_msgTypes, + }.Build() + File_DungeonPlayerDieReq_proto = out.File + file_DungeonPlayerDieReq_proto_rawDesc = nil + file_DungeonPlayerDieReq_proto_goTypes = nil + file_DungeonPlayerDieReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieReq.proto b/gate-hk4e-api/proto/DungeonPlayerDieReq.proto new file mode 100644 index 00000000..03e2144e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieType.proto"; + +option go_package = "./;proto"; + +// CmdId: 981 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonPlayerDieReq { + PlayerDieType die_type = 6; + uint32 dungeon_id = 8; +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieRsp.pb.go b/gate-hk4e-api/proto/DungeonPlayerDieRsp.pb.go new file mode 100644 index 00000000..b4d9bea9 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonPlayerDieRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 905 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonPlayerDieRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonPlayerDieRsp) Reset() { + *x = DungeonPlayerDieRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonPlayerDieRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonPlayerDieRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonPlayerDieRsp) ProtoMessage() {} + +func (x *DungeonPlayerDieRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonPlayerDieRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonPlayerDieRsp.ProtoReflect.Descriptor instead. +func (*DungeonPlayerDieRsp) Descriptor() ([]byte, []int) { + return file_DungeonPlayerDieRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonPlayerDieRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonPlayerDieRsp_proto protoreflect.FileDescriptor + +var file_DungeonPlayerDieRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, + 0x69, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonPlayerDieRsp_proto_rawDescOnce sync.Once + file_DungeonPlayerDieRsp_proto_rawDescData = file_DungeonPlayerDieRsp_proto_rawDesc +) + +func file_DungeonPlayerDieRsp_proto_rawDescGZIP() []byte { + file_DungeonPlayerDieRsp_proto_rawDescOnce.Do(func() { + file_DungeonPlayerDieRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonPlayerDieRsp_proto_rawDescData) + }) + return file_DungeonPlayerDieRsp_proto_rawDescData +} + +var file_DungeonPlayerDieRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonPlayerDieRsp_proto_goTypes = []interface{}{ + (*DungeonPlayerDieRsp)(nil), // 0: DungeonPlayerDieRsp +} +var file_DungeonPlayerDieRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonPlayerDieRsp_proto_init() } +func file_DungeonPlayerDieRsp_proto_init() { + if File_DungeonPlayerDieRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonPlayerDieRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonPlayerDieRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonPlayerDieRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonPlayerDieRsp_proto_goTypes, + DependencyIndexes: file_DungeonPlayerDieRsp_proto_depIdxs, + MessageInfos: file_DungeonPlayerDieRsp_proto_msgTypes, + }.Build() + File_DungeonPlayerDieRsp_proto = out.File + file_DungeonPlayerDieRsp_proto_rawDesc = nil + file_DungeonPlayerDieRsp_proto_goTypes = nil + file_DungeonPlayerDieRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonPlayerDieRsp.proto b/gate-hk4e-api/proto/DungeonPlayerDieRsp.proto new file mode 100644 index 00000000..92a4c682 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonPlayerDieRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 905 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonPlayerDieRsp { + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteNotify.pb.go b/gate-hk4e-api/proto/DungeonRestartInviteNotify.pb.go new file mode 100644 index 00000000..476282c3 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 957 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonRestartInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,3,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + Cd uint32 `protobuf:"varint,15,opt,name=cd,proto3" json:"cd,omitempty"` + PointId uint32 `protobuf:"varint,13,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + DungeonId uint32 `protobuf:"varint,10,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *DungeonRestartInviteNotify) Reset() { + *x = DungeonRestartInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartInviteNotify) ProtoMessage() {} + +func (x *DungeonRestartInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartInviteNotify.ProtoReflect.Descriptor instead. +func (*DungeonRestartInviteNotify) Descriptor() ([]byte, []int) { + return file_DungeonRestartInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartInviteNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *DungeonRestartInviteNotify) GetCd() uint32 { + if x != nil { + return x.Cd + } + return 0 +} + +func (x *DungeonRestartInviteNotify) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *DungeonRestartInviteNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_DungeonRestartInviteNotify_proto protoreflect.FileDescriptor + +var file_DungeonRestartInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x1a, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, + 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x63, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartInviteNotify_proto_rawDescOnce sync.Once + file_DungeonRestartInviteNotify_proto_rawDescData = file_DungeonRestartInviteNotify_proto_rawDesc +) + +func file_DungeonRestartInviteNotify_proto_rawDescGZIP() []byte { + file_DungeonRestartInviteNotify_proto_rawDescOnce.Do(func() { + file_DungeonRestartInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartInviteNotify_proto_rawDescData) + }) + return file_DungeonRestartInviteNotify_proto_rawDescData +} + +var file_DungeonRestartInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartInviteNotify_proto_goTypes = []interface{}{ + (*DungeonRestartInviteNotify)(nil), // 0: DungeonRestartInviteNotify +} +var file_DungeonRestartInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartInviteNotify_proto_init() } +func file_DungeonRestartInviteNotify_proto_init() { + if File_DungeonRestartInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartInviteNotify_proto_goTypes, + DependencyIndexes: file_DungeonRestartInviteNotify_proto_depIdxs, + MessageInfos: file_DungeonRestartInviteNotify_proto_msgTypes, + }.Build() + File_DungeonRestartInviteNotify_proto = out.File + file_DungeonRestartInviteNotify_proto_rawDesc = nil + file_DungeonRestartInviteNotify_proto_goTypes = nil + file_DungeonRestartInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteNotify.proto b/gate-hk4e-api/proto/DungeonRestartInviteNotify.proto new file mode 100644 index 00000000..5a220fcc --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 957 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonRestartInviteNotify { + uint32 player_uid = 3; + uint32 cd = 15; + uint32 point_id = 13; + uint32 dungeon_id = 10; +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.pb.go b/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.pb.go new file mode 100644 index 00000000..7b1d1551 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartInviteReplyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 987 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonRestartInviteReplyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAccept bool `protobuf:"varint,6,opt,name=is_accept,json=isAccept,proto3" json:"is_accept,omitempty"` + PlayerUid uint32 `protobuf:"varint,9,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *DungeonRestartInviteReplyNotify) Reset() { + *x = DungeonRestartInviteReplyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartInviteReplyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartInviteReplyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartInviteReplyNotify) ProtoMessage() {} + +func (x *DungeonRestartInviteReplyNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartInviteReplyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartInviteReplyNotify.ProtoReflect.Descriptor instead. +func (*DungeonRestartInviteReplyNotify) Descriptor() ([]byte, []int) { + return file_DungeonRestartInviteReplyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartInviteReplyNotify) GetIsAccept() bool { + if x != nil { + return x.IsAccept + } + return false +} + +func (x *DungeonRestartInviteReplyNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_DungeonRestartInviteReplyNotify_proto protoreflect.FileDescriptor + +var file_DungeonRestartInviteReplyNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x1f, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartInviteReplyNotify_proto_rawDescOnce sync.Once + file_DungeonRestartInviteReplyNotify_proto_rawDescData = file_DungeonRestartInviteReplyNotify_proto_rawDesc +) + +func file_DungeonRestartInviteReplyNotify_proto_rawDescGZIP() []byte { + file_DungeonRestartInviteReplyNotify_proto_rawDescOnce.Do(func() { + file_DungeonRestartInviteReplyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartInviteReplyNotify_proto_rawDescData) + }) + return file_DungeonRestartInviteReplyNotify_proto_rawDescData +} + +var file_DungeonRestartInviteReplyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartInviteReplyNotify_proto_goTypes = []interface{}{ + (*DungeonRestartInviteReplyNotify)(nil), // 0: DungeonRestartInviteReplyNotify +} +var file_DungeonRestartInviteReplyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartInviteReplyNotify_proto_init() } +func file_DungeonRestartInviteReplyNotify_proto_init() { + if File_DungeonRestartInviteReplyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartInviteReplyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartInviteReplyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartInviteReplyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartInviteReplyNotify_proto_goTypes, + DependencyIndexes: file_DungeonRestartInviteReplyNotify_proto_depIdxs, + MessageInfos: file_DungeonRestartInviteReplyNotify_proto_msgTypes, + }.Build() + File_DungeonRestartInviteReplyNotify_proto = out.File + file_DungeonRestartInviteReplyNotify_proto_rawDesc = nil + file_DungeonRestartInviteReplyNotify_proto_goTypes = nil + file_DungeonRestartInviteReplyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.proto b/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.proto new file mode 100644 index 00000000..b66fba51 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 987 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonRestartInviteReplyNotify { + bool is_accept = 6; + uint32 player_uid = 9; +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.pb.go b/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.pb.go new file mode 100644 index 00000000..af5417b8 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartInviteReplyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonRestartInviteReplyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAccept bool `protobuf:"varint,11,opt,name=is_accept,json=isAccept,proto3" json:"is_accept,omitempty"` +} + +func (x *DungeonRestartInviteReplyReq) Reset() { + *x = DungeonRestartInviteReplyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartInviteReplyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartInviteReplyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartInviteReplyReq) ProtoMessage() {} + +func (x *DungeonRestartInviteReplyReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartInviteReplyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartInviteReplyReq.ProtoReflect.Descriptor instead. +func (*DungeonRestartInviteReplyReq) Descriptor() ([]byte, []int) { + return file_DungeonRestartInviteReplyReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartInviteReplyReq) GetIsAccept() bool { + if x != nil { + return x.IsAccept + } + return false +} + +var File_DungeonRestartInviteReplyReq_proto protoreflect.FileDescriptor + +var file_DungeonRestartInviteReplyReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartInviteReplyReq_proto_rawDescOnce sync.Once + file_DungeonRestartInviteReplyReq_proto_rawDescData = file_DungeonRestartInviteReplyReq_proto_rawDesc +) + +func file_DungeonRestartInviteReplyReq_proto_rawDescGZIP() []byte { + file_DungeonRestartInviteReplyReq_proto_rawDescOnce.Do(func() { + file_DungeonRestartInviteReplyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartInviteReplyReq_proto_rawDescData) + }) + return file_DungeonRestartInviteReplyReq_proto_rawDescData +} + +var file_DungeonRestartInviteReplyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartInviteReplyReq_proto_goTypes = []interface{}{ + (*DungeonRestartInviteReplyReq)(nil), // 0: DungeonRestartInviteReplyReq +} +var file_DungeonRestartInviteReplyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartInviteReplyReq_proto_init() } +func file_DungeonRestartInviteReplyReq_proto_init() { + if File_DungeonRestartInviteReplyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartInviteReplyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartInviteReplyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartInviteReplyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartInviteReplyReq_proto_goTypes, + DependencyIndexes: file_DungeonRestartInviteReplyReq_proto_depIdxs, + MessageInfos: file_DungeonRestartInviteReplyReq_proto_msgTypes, + }.Build() + File_DungeonRestartInviteReplyReq_proto = out.File + file_DungeonRestartInviteReplyReq_proto_rawDesc = nil + file_DungeonRestartInviteReplyReq_proto_goTypes = nil + file_DungeonRestartInviteReplyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.proto b/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.proto new file mode 100644 index 00000000..53a197b7 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonRestartInviteReplyReq { + bool is_accept = 11; +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.pb.go b/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.pb.go new file mode 100644 index 00000000..0991b63c --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartInviteReplyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 916 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonRestartInviteReplyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAccept bool `protobuf:"varint,10,opt,name=is_accept,json=isAccept,proto3" json:"is_accept,omitempty"` + IsTransPoint bool `protobuf:"varint,1,opt,name=is_trans_point,json=isTransPoint,proto3" json:"is_trans_point,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonRestartInviteReplyRsp) Reset() { + *x = DungeonRestartInviteReplyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartInviteReplyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartInviteReplyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartInviteReplyRsp) ProtoMessage() {} + +func (x *DungeonRestartInviteReplyRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartInviteReplyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartInviteReplyRsp.ProtoReflect.Descriptor instead. +func (*DungeonRestartInviteReplyRsp) Descriptor() ([]byte, []int) { + return file_DungeonRestartInviteReplyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartInviteReplyRsp) GetIsAccept() bool { + if x != nil { + return x.IsAccept + } + return false +} + +func (x *DungeonRestartInviteReplyRsp) GetIsTransPoint() bool { + if x != nil { + return x.IsTransPoint + } + return false +} + +func (x *DungeonRestartInviteReplyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonRestartInviteReplyRsp_proto protoreflect.FileDescriptor + +var file_DungeonRestartInviteReplyRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1c, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x79, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartInviteReplyRsp_proto_rawDescOnce sync.Once + file_DungeonRestartInviteReplyRsp_proto_rawDescData = file_DungeonRestartInviteReplyRsp_proto_rawDesc +) + +func file_DungeonRestartInviteReplyRsp_proto_rawDescGZIP() []byte { + file_DungeonRestartInviteReplyRsp_proto_rawDescOnce.Do(func() { + file_DungeonRestartInviteReplyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartInviteReplyRsp_proto_rawDescData) + }) + return file_DungeonRestartInviteReplyRsp_proto_rawDescData +} + +var file_DungeonRestartInviteReplyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartInviteReplyRsp_proto_goTypes = []interface{}{ + (*DungeonRestartInviteReplyRsp)(nil), // 0: DungeonRestartInviteReplyRsp +} +var file_DungeonRestartInviteReplyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartInviteReplyRsp_proto_init() } +func file_DungeonRestartInviteReplyRsp_proto_init() { + if File_DungeonRestartInviteReplyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartInviteReplyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartInviteReplyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartInviteReplyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartInviteReplyRsp_proto_goTypes, + DependencyIndexes: file_DungeonRestartInviteReplyRsp_proto_depIdxs, + MessageInfos: file_DungeonRestartInviteReplyRsp_proto_msgTypes, + }.Build() + File_DungeonRestartInviteReplyRsp_proto = out.File + file_DungeonRestartInviteReplyRsp_proto_rawDesc = nil + file_DungeonRestartInviteReplyRsp_proto_goTypes = nil + file_DungeonRestartInviteReplyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.proto b/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.proto new file mode 100644 index 00000000..c37c5baa --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartInviteReplyRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 916 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonRestartInviteReplyRsp { + bool is_accept = 10; + bool is_trans_point = 1; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/DungeonRestartReq.pb.go b/gate-hk4e-api/proto/DungeonRestartReq.pb.go new file mode 100644 index 00000000..903e1f68 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 961 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonRestartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DungeonRestartReq) Reset() { + *x = DungeonRestartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartReq) ProtoMessage() {} + +func (x *DungeonRestartReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartReq.ProtoReflect.Descriptor instead. +func (*DungeonRestartReq) Descriptor() ([]byte, []int) { + return file_DungeonRestartReq_proto_rawDescGZIP(), []int{0} +} + +var File_DungeonRestartReq_proto protoreflect.FileDescriptor + +var file_DungeonRestartReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DungeonRestartReq_proto_rawDescOnce sync.Once + file_DungeonRestartReq_proto_rawDescData = file_DungeonRestartReq_proto_rawDesc +) + +func file_DungeonRestartReq_proto_rawDescGZIP() []byte { + file_DungeonRestartReq_proto_rawDescOnce.Do(func() { + file_DungeonRestartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartReq_proto_rawDescData) + }) + return file_DungeonRestartReq_proto_rawDescData +} + +var file_DungeonRestartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartReq_proto_goTypes = []interface{}{ + (*DungeonRestartReq)(nil), // 0: DungeonRestartReq +} +var file_DungeonRestartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartReq_proto_init() } +func file_DungeonRestartReq_proto_init() { + if File_DungeonRestartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartReq_proto_goTypes, + DependencyIndexes: file_DungeonRestartReq_proto_depIdxs, + MessageInfos: file_DungeonRestartReq_proto_msgTypes, + }.Build() + File_DungeonRestartReq_proto = out.File + file_DungeonRestartReq_proto_rawDesc = nil + file_DungeonRestartReq_proto_goTypes = nil + file_DungeonRestartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartReq.proto b/gate-hk4e-api/proto/DungeonRestartReq.proto new file mode 100644 index 00000000..a67f7f6a --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 961 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonRestartReq {} diff --git a/gate-hk4e-api/proto/DungeonRestartResultNotify.pb.go b/gate-hk4e-api/proto/DungeonRestartResultNotify.pb.go new file mode 100644 index 00000000..5417ceda --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartResultNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 940 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonRestartResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAddAccpet bool `protobuf:"varint,9,opt,name=is_add_accpet,json=isAddAccpet,proto3" json:"is_add_accpet,omitempty"` +} + +func (x *DungeonRestartResultNotify) Reset() { + *x = DungeonRestartResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartResultNotify) ProtoMessage() {} + +func (x *DungeonRestartResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartResultNotify.ProtoReflect.Descriptor instead. +func (*DungeonRestartResultNotify) Descriptor() ([]byte, []int) { + return file_DungeonRestartResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartResultNotify) GetIsAddAccpet() bool { + if x != nil { + return x.IsAddAccpet + } + return false +} + +var File_DungeonRestartResultNotify_proto protoreflect.FileDescriptor + +var file_DungeonRestartResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x1a, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x70, 0x65, + 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x64, 0x64, 0x41, 0x63, + 0x63, 0x70, 0x65, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartResultNotify_proto_rawDescOnce sync.Once + file_DungeonRestartResultNotify_proto_rawDescData = file_DungeonRestartResultNotify_proto_rawDesc +) + +func file_DungeonRestartResultNotify_proto_rawDescGZIP() []byte { + file_DungeonRestartResultNotify_proto_rawDescOnce.Do(func() { + file_DungeonRestartResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartResultNotify_proto_rawDescData) + }) + return file_DungeonRestartResultNotify_proto_rawDescData +} + +var file_DungeonRestartResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartResultNotify_proto_goTypes = []interface{}{ + (*DungeonRestartResultNotify)(nil), // 0: DungeonRestartResultNotify +} +var file_DungeonRestartResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartResultNotify_proto_init() } +func file_DungeonRestartResultNotify_proto_init() { + if File_DungeonRestartResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartResultNotify_proto_goTypes, + DependencyIndexes: file_DungeonRestartResultNotify_proto_depIdxs, + MessageInfos: file_DungeonRestartResultNotify_proto_msgTypes, + }.Build() + File_DungeonRestartResultNotify_proto = out.File + file_DungeonRestartResultNotify_proto_rawDesc = nil + file_DungeonRestartResultNotify_proto_goTypes = nil + file_DungeonRestartResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartResultNotify.proto b/gate-hk4e-api/proto/DungeonRestartResultNotify.proto new file mode 100644 index 00000000..5055c768 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 940 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonRestartResultNotify { + bool is_add_accpet = 9; +} diff --git a/gate-hk4e-api/proto/DungeonRestartRsp.pb.go b/gate-hk4e-api/proto/DungeonRestartRsp.pb.go new file mode 100644 index 00000000..b058fee5 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonRestartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 929 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonRestartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,15,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + PointId uint32 `protobuf:"varint,14,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *DungeonRestartRsp) Reset() { + *x = DungeonRestartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonRestartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonRestartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonRestartRsp) ProtoMessage() {} + +func (x *DungeonRestartRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonRestartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonRestartRsp.ProtoReflect.Descriptor instead. +func (*DungeonRestartRsp) Descriptor() ([]byte, []int) { + return file_DungeonRestartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonRestartRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DungeonRestartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DungeonRestartRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_DungeonRestartRsp_proto protoreflect.FileDescriptor + +var file_DungeonRestartRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x11, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1d, + 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonRestartRsp_proto_rawDescOnce sync.Once + file_DungeonRestartRsp_proto_rawDescData = file_DungeonRestartRsp_proto_rawDesc +) + +func file_DungeonRestartRsp_proto_rawDescGZIP() []byte { + file_DungeonRestartRsp_proto_rawDescOnce.Do(func() { + file_DungeonRestartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonRestartRsp_proto_rawDescData) + }) + return file_DungeonRestartRsp_proto_rawDescData +} + +var file_DungeonRestartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonRestartRsp_proto_goTypes = []interface{}{ + (*DungeonRestartRsp)(nil), // 0: DungeonRestartRsp +} +var file_DungeonRestartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonRestartRsp_proto_init() } +func file_DungeonRestartRsp_proto_init() { + if File_DungeonRestartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonRestartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonRestartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonRestartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonRestartRsp_proto_goTypes, + DependencyIndexes: file_DungeonRestartRsp_proto_depIdxs, + MessageInfos: file_DungeonRestartRsp_proto_msgTypes, + }.Build() + File_DungeonRestartRsp_proto = out.File + file_DungeonRestartRsp_proto_rawDesc = nil + file_DungeonRestartRsp_proto_goTypes = nil + file_DungeonRestartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonRestartRsp.proto b/gate-hk4e-api/proto/DungeonRestartRsp.proto new file mode 100644 index 00000000..1c3a8821 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonRestartRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 929 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonRestartRsp { + uint32 dungeon_id = 15; + int32 retcode = 9; + uint32 point_id = 14; +} diff --git a/gate-hk4e-api/proto/DungeonReviseLevelNotify.pb.go b/gate-hk4e-api/proto/DungeonReviseLevelNotify.pb.go new file mode 100644 index 00000000..623b4b80 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonReviseLevelNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonReviseLevelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 968 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonReviseLevelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReviseLevel uint32 `protobuf:"varint,7,opt,name=revise_level,json=reviseLevel,proto3" json:"revise_level,omitempty"` + DungeonId uint32 `protobuf:"varint,14,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *DungeonReviseLevelNotify) Reset() { + *x = DungeonReviseLevelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonReviseLevelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonReviseLevelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonReviseLevelNotify) ProtoMessage() {} + +func (x *DungeonReviseLevelNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonReviseLevelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonReviseLevelNotify.ProtoReflect.Descriptor instead. +func (*DungeonReviseLevelNotify) Descriptor() ([]byte, []int) { + return file_DungeonReviseLevelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonReviseLevelNotify) GetReviseLevel() uint32 { + if x != nil { + return x.ReviseLevel + } + return 0 +} + +func (x *DungeonReviseLevelNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_DungeonReviseLevelNotify_proto protoreflect.FileDescriptor + +var file_DungeonReviseLevelNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x65, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5c, 0x0a, 0x18, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, + 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_DungeonReviseLevelNotify_proto_rawDescOnce sync.Once + file_DungeonReviseLevelNotify_proto_rawDescData = file_DungeonReviseLevelNotify_proto_rawDesc +) + +func file_DungeonReviseLevelNotify_proto_rawDescGZIP() []byte { + file_DungeonReviseLevelNotify_proto_rawDescOnce.Do(func() { + file_DungeonReviseLevelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonReviseLevelNotify_proto_rawDescData) + }) + return file_DungeonReviseLevelNotify_proto_rawDescData +} + +var file_DungeonReviseLevelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonReviseLevelNotify_proto_goTypes = []interface{}{ + (*DungeonReviseLevelNotify)(nil), // 0: DungeonReviseLevelNotify +} +var file_DungeonReviseLevelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonReviseLevelNotify_proto_init() } +func file_DungeonReviseLevelNotify_proto_init() { + if File_DungeonReviseLevelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonReviseLevelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonReviseLevelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonReviseLevelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonReviseLevelNotify_proto_goTypes, + DependencyIndexes: file_DungeonReviseLevelNotify_proto_depIdxs, + MessageInfos: file_DungeonReviseLevelNotify_proto_msgTypes, + }.Build() + File_DungeonReviseLevelNotify_proto = out.File + file_DungeonReviseLevelNotify_proto_rawDesc = nil + file_DungeonReviseLevelNotify_proto_goTypes = nil + file_DungeonReviseLevelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonReviseLevelNotify.proto b/gate-hk4e-api/proto/DungeonReviseLevelNotify.proto new file mode 100644 index 00000000..a06dd3bb --- /dev/null +++ b/gate-hk4e-api/proto/DungeonReviseLevelNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 968 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonReviseLevelNotify { + uint32 revise_level = 7; + uint32 dungeon_id = 14; +} diff --git a/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.pb.go b/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.pb.go new file mode 100644 index 00000000..f5f14ea4 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonSettleExhibitionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DungeonSettleExhibitionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,3,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` + CardList []*ExhibitionDisplayInfo `protobuf:"bytes,13,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` +} + +func (x *DungeonSettleExhibitionInfo) Reset() { + *x = DungeonSettleExhibitionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonSettleExhibitionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonSettleExhibitionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonSettleExhibitionInfo) ProtoMessage() {} + +func (x *DungeonSettleExhibitionInfo) ProtoReflect() protoreflect.Message { + mi := &file_DungeonSettleExhibitionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonSettleExhibitionInfo.ProtoReflect.Descriptor instead. +func (*DungeonSettleExhibitionInfo) Descriptor() ([]byte, []int) { + return file_DungeonSettleExhibitionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonSettleExhibitionInfo) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +func (x *DungeonSettleExhibitionInfo) GetCardList() []*ExhibitionDisplayInfo { + if x != nil { + return x.CardList + } + return nil +} + +var File_DungeonSettleExhibitionInfo_proto protoreflect.FileDescriptor + +var file_DungeonSettleExhibitionInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x45, + 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x1b, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x09, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonSettleExhibitionInfo_proto_rawDescOnce sync.Once + file_DungeonSettleExhibitionInfo_proto_rawDescData = file_DungeonSettleExhibitionInfo_proto_rawDesc +) + +func file_DungeonSettleExhibitionInfo_proto_rawDescGZIP() []byte { + file_DungeonSettleExhibitionInfo_proto_rawDescOnce.Do(func() { + file_DungeonSettleExhibitionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonSettleExhibitionInfo_proto_rawDescData) + }) + return file_DungeonSettleExhibitionInfo_proto_rawDescData +} + +var file_DungeonSettleExhibitionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonSettleExhibitionInfo_proto_goTypes = []interface{}{ + (*DungeonSettleExhibitionInfo)(nil), // 0: DungeonSettleExhibitionInfo + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo + (*ExhibitionDisplayInfo)(nil), // 2: ExhibitionDisplayInfo +} +var file_DungeonSettleExhibitionInfo_proto_depIdxs = []int32{ + 1, // 0: DungeonSettleExhibitionInfo.player_info:type_name -> OnlinePlayerInfo + 2, // 1: DungeonSettleExhibitionInfo.card_list:type_name -> ExhibitionDisplayInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_DungeonSettleExhibitionInfo_proto_init() } +func file_DungeonSettleExhibitionInfo_proto_init() { + if File_DungeonSettleExhibitionInfo_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonSettleExhibitionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonSettleExhibitionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonSettleExhibitionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonSettleExhibitionInfo_proto_goTypes, + DependencyIndexes: file_DungeonSettleExhibitionInfo_proto_depIdxs, + MessageInfos: file_DungeonSettleExhibitionInfo_proto_msgTypes, + }.Build() + File_DungeonSettleExhibitionInfo_proto = out.File + file_DungeonSettleExhibitionInfo_proto_rawDesc = nil + file_DungeonSettleExhibitionInfo_proto_goTypes = nil + file_DungeonSettleExhibitionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.proto b/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.proto new file mode 100644 index 00000000..ac370305 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSettleExhibitionInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message DungeonSettleExhibitionInfo { + OnlinePlayerInfo player_info = 3; + repeated ExhibitionDisplayInfo card_list = 13; +} diff --git a/gate-hk4e-api/proto/DungeonSettleNotify.pb.go b/gate-hk4e-api/proto/DungeonSettleNotify.pb.go new file mode 100644 index 00000000..fe3de52d --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSettleNotify.pb.go @@ -0,0 +1,510 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 999 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StrengthenPointDataMap map[uint32]*StrengthenPointData `protobuf:"bytes,14,rep,name=strengthen_point_data_map,json=strengthenPointDataMap,proto3" json:"strengthen_point_data_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + IsSuccess bool `protobuf:"varint,7,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + CloseTime uint32 `protobuf:"varint,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` + Unk2700_OMCCFBBDJMI uint32 `protobuf:"varint,1,opt,name=Unk2700_OMCCFBBDJMI,json=Unk2700OMCCFBBDJMI,proto3" json:"Unk2700_OMCCFBBDJMI,omitempty"` + SettleShow map[uint32]*ParamList `protobuf:"bytes,5,rep,name=settle_show,json=settleShow,proto3" json:"settle_show,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ExhibitionInfoList []*DungeonSettleExhibitionInfo `protobuf:"bytes,8,rep,name=exhibition_info_list,json=exhibitionInfoList,proto3" json:"exhibition_info_list,omitempty"` + FailCondList []uint32 `protobuf:"varint,11,rep,packed,name=fail_cond_list,json=failCondList,proto3" json:"fail_cond_list,omitempty"` + DungeonId uint32 `protobuf:"varint,13,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Result uint32 `protobuf:"varint,10,opt,name=result,proto3" json:"result,omitempty"` + // Types that are assignable to Detail: + // *DungeonSettleNotify_TowerLevelEndNotify + // *DungeonSettleNotify_TrialAvatarFirstPassDungeonNotify + // *DungeonSettleNotify_ChannellerSlabLoopDungeonResultInfo + // *DungeonSettleNotify_EffigyChallengeDungeonResultInfo + // *DungeonSettleNotify_RoguelikeDungeonSettleInfo + // *DungeonSettleNotify_CrystalLinkSettleInfo + // *DungeonSettleNotify_SummerTimeV2DungeonSettleInfo + // *DungeonSettleNotify_InstableSpraySettleInfo + Detail isDungeonSettleNotify_Detail `protobuf_oneof:"detail"` +} + +func (x *DungeonSettleNotify) Reset() { + *x = DungeonSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonSettleNotify) ProtoMessage() {} + +func (x *DungeonSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonSettleNotify.ProtoReflect.Descriptor instead. +func (*DungeonSettleNotify) Descriptor() ([]byte, []int) { + return file_DungeonSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonSettleNotify) GetStrengthenPointDataMap() map[uint32]*StrengthenPointData { + if x != nil { + return x.StrengthenPointDataMap + } + return nil +} + +func (x *DungeonSettleNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *DungeonSettleNotify) GetCloseTime() uint32 { + if x != nil { + return x.CloseTime + } + return 0 +} + +func (x *DungeonSettleNotify) GetUnk2700_OMCCFBBDJMI() uint32 { + if x != nil { + return x.Unk2700_OMCCFBBDJMI + } + return 0 +} + +func (x *DungeonSettleNotify) GetSettleShow() map[uint32]*ParamList { + if x != nil { + return x.SettleShow + } + return nil +} + +func (x *DungeonSettleNotify) GetExhibitionInfoList() []*DungeonSettleExhibitionInfo { + if x != nil { + return x.ExhibitionInfoList + } + return nil +} + +func (x *DungeonSettleNotify) GetFailCondList() []uint32 { + if x != nil { + return x.FailCondList + } + return nil +} + +func (x *DungeonSettleNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *DungeonSettleNotify) GetResult() uint32 { + if x != nil { + return x.Result + } + return 0 +} + +func (m *DungeonSettleNotify) GetDetail() isDungeonSettleNotify_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *DungeonSettleNotify) GetTowerLevelEndNotify() *TowerLevelEndNotify { + if x, ok := x.GetDetail().(*DungeonSettleNotify_TowerLevelEndNotify); ok { + return x.TowerLevelEndNotify + } + return nil +} + +func (x *DungeonSettleNotify) GetTrialAvatarFirstPassDungeonNotify() *TrialAvatarFirstPassDungeonNotify { + if x, ok := x.GetDetail().(*DungeonSettleNotify_TrialAvatarFirstPassDungeonNotify); ok { + return x.TrialAvatarFirstPassDungeonNotify + } + return nil +} + +func (x *DungeonSettleNotify) GetChannellerSlabLoopDungeonResultInfo() *ChannelerSlabLoopDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_ChannellerSlabLoopDungeonResultInfo); ok { + return x.ChannellerSlabLoopDungeonResultInfo + } + return nil +} + +func (x *DungeonSettleNotify) GetEffigyChallengeDungeonResultInfo() *EffigyChallengeDungeonResultInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_EffigyChallengeDungeonResultInfo); ok { + return x.EffigyChallengeDungeonResultInfo + } + return nil +} + +func (x *DungeonSettleNotify) GetRoguelikeDungeonSettleInfo() *RoguelikeDungeonSettleInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_RoguelikeDungeonSettleInfo); ok { + return x.RoguelikeDungeonSettleInfo + } + return nil +} + +func (x *DungeonSettleNotify) GetCrystalLinkSettleInfo() *CrystalLinkSettleInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_CrystalLinkSettleInfo); ok { + return x.CrystalLinkSettleInfo + } + return nil +} + +func (x *DungeonSettleNotify) GetSummerTimeV2DungeonSettleInfo() *SummerTimeV2DungeonSettleInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_SummerTimeV2DungeonSettleInfo); ok { + return x.SummerTimeV2DungeonSettleInfo + } + return nil +} + +func (x *DungeonSettleNotify) GetInstableSpraySettleInfo() *InstableSpraySettleInfo { + if x, ok := x.GetDetail().(*DungeonSettleNotify_InstableSpraySettleInfo); ok { + return x.InstableSpraySettleInfo + } + return nil +} + +type isDungeonSettleNotify_Detail interface { + isDungeonSettleNotify_Detail() +} + +type DungeonSettleNotify_TowerLevelEndNotify struct { + TowerLevelEndNotify *TowerLevelEndNotify `protobuf:"bytes,351,opt,name=tower_level_end_notify,json=towerLevelEndNotify,proto3,oneof"` +} + +type DungeonSettleNotify_TrialAvatarFirstPassDungeonNotify struct { + TrialAvatarFirstPassDungeonNotify *TrialAvatarFirstPassDungeonNotify `protobuf:"bytes,635,opt,name=trial_avatar_first_pass_dungeon_notify,json=trialAvatarFirstPassDungeonNotify,proto3,oneof"` +} + +type DungeonSettleNotify_ChannellerSlabLoopDungeonResultInfo struct { + ChannellerSlabLoopDungeonResultInfo *ChannelerSlabLoopDungeonResultInfo `protobuf:"bytes,686,opt,name=channeller_slab_loop_dungeon_result_info,json=channellerSlabLoopDungeonResultInfo,proto3,oneof"` +} + +type DungeonSettleNotify_EffigyChallengeDungeonResultInfo struct { + EffigyChallengeDungeonResultInfo *EffigyChallengeDungeonResultInfo `protobuf:"bytes,328,opt,name=effigy_challenge_dungeon_result_info,json=effigyChallengeDungeonResultInfo,proto3,oneof"` +} + +type DungeonSettleNotify_RoguelikeDungeonSettleInfo struct { + RoguelikeDungeonSettleInfo *RoguelikeDungeonSettleInfo `protobuf:"bytes,1482,opt,name=roguelike_dungeon_settle_info,json=roguelikeDungeonSettleInfo,proto3,oneof"` +} + +type DungeonSettleNotify_CrystalLinkSettleInfo struct { + CrystalLinkSettleInfo *CrystalLinkSettleInfo `protobuf:"bytes,112,opt,name=crystal_link_settle_info,json=crystalLinkSettleInfo,proto3,oneof"` +} + +type DungeonSettleNotify_SummerTimeV2DungeonSettleInfo struct { + SummerTimeV2DungeonSettleInfo *SummerTimeV2DungeonSettleInfo `protobuf:"bytes,1882,opt,name=summer_time_v2_dungeon_settle_info,json=summerTimeV2DungeonSettleInfo,proto3,oneof"` +} + +type DungeonSettleNotify_InstableSpraySettleInfo struct { + InstableSpraySettleInfo *InstableSpraySettleInfo `protobuf:"bytes,193,opt,name=instable_spray_settle_info,json=instableSpraySettleInfo,proto3,oneof"` +} + +func (*DungeonSettleNotify_TowerLevelEndNotify) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_TrialAvatarFirstPassDungeonNotify) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_ChannellerSlabLoopDungeonResultInfo) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_EffigyChallengeDungeonResultInfo) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_RoguelikeDungeonSettleInfo) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_CrystalLinkSettleInfo) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_SummerTimeV2DungeonSettleInfo) isDungeonSettleNotify_Detail() {} + +func (*DungeonSettleNotify_InstableSpraySettleInfo) isDungeonSettleNotify_Detail() {} + +var File_DungeonSettleNotify_proto protoreflect.FileDescriptor + +var file_DungeonSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, + 0x6e, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x21, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x53, 0x75, 0x6d, 0x6d, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x54, 0x72, 0x69, 0x61, + 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x0b, 0x0a, 0x13, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6b, 0x0a, 0x19, 0x73, + 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, + 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x16, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x4d, 0x43, 0x43, 0x46, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x49, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4d, 0x43, 0x43, + 0x46, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x49, 0x12, 0x45, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x4e, + 0x0a, 0x14, 0x65, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x68, 0x69, + 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x65, 0x78, 0x68, 0x69, + 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, + 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x6e, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x16, 0x74, + 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0xdf, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x54, + 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x48, 0x00, 0x52, 0x13, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x78, 0x0a, 0x26, 0x74, 0x72, 0x69, + 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x70, 0x61, 0x73, 0x73, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x18, 0xfb, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x54, 0x72, 0x69, + 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, + 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x00, + 0x52, 0x21, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x7d, 0x0a, 0x28, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x62, 0x5f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0xae, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x23, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x62, 0x4c, 0x6f, 0x6f, + 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x74, 0x0a, 0x24, 0x65, 0x66, 0x66, 0x69, 0x67, 0x79, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc8, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x20, 0x65, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x61, 0x0a, 0x1d, 0x72, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x73, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xca, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x1a, 0x72, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x18, 0x63, + 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x70, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x15, 0x63, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, + 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x6c, + 0x0a, 0x22, 0x73, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x32, + 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xda, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x1d, 0x73, + 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x58, 0x0a, 0x1a, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x72, 0x61, 0x79, 0x5f, 0x73, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc1, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, + 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x17, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x5f, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x49, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonSettleNotify_proto_rawDescOnce sync.Once + file_DungeonSettleNotify_proto_rawDescData = file_DungeonSettleNotify_proto_rawDesc +) + +func file_DungeonSettleNotify_proto_rawDescGZIP() []byte { + file_DungeonSettleNotify_proto_rawDescOnce.Do(func() { + file_DungeonSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonSettleNotify_proto_rawDescData) + }) + return file_DungeonSettleNotify_proto_rawDescData +} + +var file_DungeonSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_DungeonSettleNotify_proto_goTypes = []interface{}{ + (*DungeonSettleNotify)(nil), // 0: DungeonSettleNotify + nil, // 1: DungeonSettleNotify.StrengthenPointDataMapEntry + nil, // 2: DungeonSettleNotify.SettleShowEntry + (*DungeonSettleExhibitionInfo)(nil), // 3: DungeonSettleExhibitionInfo + (*TowerLevelEndNotify)(nil), // 4: TowerLevelEndNotify + (*TrialAvatarFirstPassDungeonNotify)(nil), // 5: TrialAvatarFirstPassDungeonNotify + (*ChannelerSlabLoopDungeonResultInfo)(nil), // 6: ChannelerSlabLoopDungeonResultInfo + (*EffigyChallengeDungeonResultInfo)(nil), // 7: EffigyChallengeDungeonResultInfo + (*RoguelikeDungeonSettleInfo)(nil), // 8: RoguelikeDungeonSettleInfo + (*CrystalLinkSettleInfo)(nil), // 9: CrystalLinkSettleInfo + (*SummerTimeV2DungeonSettleInfo)(nil), // 10: SummerTimeV2DungeonSettleInfo + (*InstableSpraySettleInfo)(nil), // 11: InstableSpraySettleInfo + (*StrengthenPointData)(nil), // 12: StrengthenPointData + (*ParamList)(nil), // 13: ParamList +} +var file_DungeonSettleNotify_proto_depIdxs = []int32{ + 1, // 0: DungeonSettleNotify.strengthen_point_data_map:type_name -> DungeonSettleNotify.StrengthenPointDataMapEntry + 2, // 1: DungeonSettleNotify.settle_show:type_name -> DungeonSettleNotify.SettleShowEntry + 3, // 2: DungeonSettleNotify.exhibition_info_list:type_name -> DungeonSettleExhibitionInfo + 4, // 3: DungeonSettleNotify.tower_level_end_notify:type_name -> TowerLevelEndNotify + 5, // 4: DungeonSettleNotify.trial_avatar_first_pass_dungeon_notify:type_name -> TrialAvatarFirstPassDungeonNotify + 6, // 5: DungeonSettleNotify.channeller_slab_loop_dungeon_result_info:type_name -> ChannelerSlabLoopDungeonResultInfo + 7, // 6: DungeonSettleNotify.effigy_challenge_dungeon_result_info:type_name -> EffigyChallengeDungeonResultInfo + 8, // 7: DungeonSettleNotify.roguelike_dungeon_settle_info:type_name -> RoguelikeDungeonSettleInfo + 9, // 8: DungeonSettleNotify.crystal_link_settle_info:type_name -> CrystalLinkSettleInfo + 10, // 9: DungeonSettleNotify.summer_time_v2_dungeon_settle_info:type_name -> SummerTimeV2DungeonSettleInfo + 11, // 10: DungeonSettleNotify.instable_spray_settle_info:type_name -> InstableSpraySettleInfo + 12, // 11: DungeonSettleNotify.StrengthenPointDataMapEntry.value:type_name -> StrengthenPointData + 13, // 12: DungeonSettleNotify.SettleShowEntry.value:type_name -> ParamList + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_DungeonSettleNotify_proto_init() } +func file_DungeonSettleNotify_proto_init() { + if File_DungeonSettleNotify_proto != nil { + return + } + file_ChannelerSlabLoopDungeonResultInfo_proto_init() + file_CrystalLinkSettleInfo_proto_init() + file_DungeonSettleExhibitionInfo_proto_init() + file_EffigyChallengeDungeonResultInfo_proto_init() + file_InstableSpraySettleInfo_proto_init() + file_ParamList_proto_init() + file_RoguelikeDungeonSettleInfo_proto_init() + file_StrengthenPointData_proto_init() + file_SummerTimeV2DungeonSettleInfo_proto_init() + file_TowerLevelEndNotify_proto_init() + file_TrialAvatarFirstPassDungeonNotify_proto_init() + if !protoimpl.UnsafeEnabled { + file_DungeonSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_DungeonSettleNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*DungeonSettleNotify_TowerLevelEndNotify)(nil), + (*DungeonSettleNotify_TrialAvatarFirstPassDungeonNotify)(nil), + (*DungeonSettleNotify_ChannellerSlabLoopDungeonResultInfo)(nil), + (*DungeonSettleNotify_EffigyChallengeDungeonResultInfo)(nil), + (*DungeonSettleNotify_RoguelikeDungeonSettleInfo)(nil), + (*DungeonSettleNotify_CrystalLinkSettleInfo)(nil), + (*DungeonSettleNotify_SummerTimeV2DungeonSettleInfo)(nil), + (*DungeonSettleNotify_InstableSpraySettleInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonSettleNotify_proto_goTypes, + DependencyIndexes: file_DungeonSettleNotify_proto_depIdxs, + MessageInfos: file_DungeonSettleNotify_proto_msgTypes, + }.Build() + File_DungeonSettleNotify_proto = out.File + file_DungeonSettleNotify_proto_rawDesc = nil + file_DungeonSettleNotify_proto_goTypes = nil + file_DungeonSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonSettleNotify.proto b/gate-hk4e-api/proto/DungeonSettleNotify.proto new file mode 100644 index 00000000..ddb24aaa --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSettleNotify.proto @@ -0,0 +1,56 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChannelerSlabLoopDungeonResultInfo.proto"; +import "CrystalLinkSettleInfo.proto"; +import "DungeonSettleExhibitionInfo.proto"; +import "EffigyChallengeDungeonResultInfo.proto"; +import "InstableSpraySettleInfo.proto"; +import "ParamList.proto"; +import "RoguelikeDungeonSettleInfo.proto"; +import "StrengthenPointData.proto"; +import "SummerTimeV2DungeonSettleInfo.proto"; +import "TowerLevelEndNotify.proto"; +import "TrialAvatarFirstPassDungeonNotify.proto"; + +option go_package = "./;proto"; + +// CmdId: 999 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonSettleNotify { + map strengthen_point_data_map = 14; + bool is_success = 7; + uint32 close_time = 4; + uint32 Unk2700_OMCCFBBDJMI = 1; + map settle_show = 5; + repeated DungeonSettleExhibitionInfo exhibition_info_list = 8; + repeated uint32 fail_cond_list = 11; + uint32 dungeon_id = 13; + uint32 result = 10; + oneof detail { + TowerLevelEndNotify tower_level_end_notify = 351; + TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 635; + ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 686; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 328; + RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 1482; + CrystalLinkSettleInfo crystal_link_settle_info = 112; + SummerTimeV2DungeonSettleInfo summer_time_v2_dungeon_settle_info = 1882; + InstableSpraySettleInfo instable_spray_settle_info = 193; + } +} diff --git a/gate-hk4e-api/proto/DungeonShowReminderNotify.pb.go b/gate-hk4e-api/proto/DungeonShowReminderNotify.pb.go new file mode 100644 index 00000000..02542fed --- /dev/null +++ b/gate-hk4e-api/proto/DungeonShowReminderNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonShowReminderNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 997 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonShowReminderNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReminderId uint32 `protobuf:"varint,9,opt,name=reminder_id,json=reminderId,proto3" json:"reminder_id,omitempty"` +} + +func (x *DungeonShowReminderNotify) Reset() { + *x = DungeonShowReminderNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonShowReminderNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonShowReminderNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonShowReminderNotify) ProtoMessage() {} + +func (x *DungeonShowReminderNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonShowReminderNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonShowReminderNotify.ProtoReflect.Descriptor instead. +func (*DungeonShowReminderNotify) Descriptor() ([]byte, []int) { + return file_DungeonShowReminderNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonShowReminderNotify) GetReminderId() uint32 { + if x != nil { + return x.ReminderId + } + return 0 +} + +var File_DungeonShowReminderNotify_proto protoreflect.FileDescriptor + +var file_DungeonShowReminderNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x6d, + 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3c, 0x0a, 0x19, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x68, 0x6f, 0x77, + 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonShowReminderNotify_proto_rawDescOnce sync.Once + file_DungeonShowReminderNotify_proto_rawDescData = file_DungeonShowReminderNotify_proto_rawDesc +) + +func file_DungeonShowReminderNotify_proto_rawDescGZIP() []byte { + file_DungeonShowReminderNotify_proto_rawDescOnce.Do(func() { + file_DungeonShowReminderNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonShowReminderNotify_proto_rawDescData) + }) + return file_DungeonShowReminderNotify_proto_rawDescData +} + +var file_DungeonShowReminderNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonShowReminderNotify_proto_goTypes = []interface{}{ + (*DungeonShowReminderNotify)(nil), // 0: DungeonShowReminderNotify +} +var file_DungeonShowReminderNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonShowReminderNotify_proto_init() } +func file_DungeonShowReminderNotify_proto_init() { + if File_DungeonShowReminderNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonShowReminderNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonShowReminderNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonShowReminderNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonShowReminderNotify_proto_goTypes, + DependencyIndexes: file_DungeonShowReminderNotify_proto_depIdxs, + MessageInfos: file_DungeonShowReminderNotify_proto_msgTypes, + }.Build() + File_DungeonShowReminderNotify_proto = out.File + file_DungeonShowReminderNotify_proto_rawDesc = nil + file_DungeonShowReminderNotify_proto_goTypes = nil + file_DungeonShowReminderNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonShowReminderNotify.proto b/gate-hk4e-api/proto/DungeonShowReminderNotify.proto new file mode 100644 index 00000000..1ace0190 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonShowReminderNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 997 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonShowReminderNotify { + uint32 reminder_id = 9; +} diff --git a/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.pb.go b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.pb.go new file mode 100644 index 00000000..4f5c25df --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonSlipRevivePointActivateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 958 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonSlipRevivePointActivateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlipRevivePointId uint32 `protobuf:"varint,9,opt,name=slip_revive_point_id,json=slipRevivePointId,proto3" json:"slip_revive_point_id,omitempty"` +} + +func (x *DungeonSlipRevivePointActivateReq) Reset() { + *x = DungeonSlipRevivePointActivateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonSlipRevivePointActivateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonSlipRevivePointActivateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonSlipRevivePointActivateReq) ProtoMessage() {} + +func (x *DungeonSlipRevivePointActivateReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonSlipRevivePointActivateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonSlipRevivePointActivateReq.ProtoReflect.Descriptor instead. +func (*DungeonSlipRevivePointActivateReq) Descriptor() ([]byte, []int) { + return file_DungeonSlipRevivePointActivateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonSlipRevivePointActivateReq) GetSlipRevivePointId() uint32 { + if x != nil { + return x.SlipRevivePointId + } + return 0 +} + +var File_DungeonSlipRevivePointActivateReq_proto protoreflect.FileDescriptor + +var file_DungeonSlipRevivePointActivateReq_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x70, 0x52, 0x65, 0x76, + 0x69, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x21, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x70, 0x52, 0x65, 0x76, 0x69, 0x76, 0x65, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x2f, + 0x0a, 0x14, 0x73, 0x6c, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x6c, + 0x69, 0x70, 0x52, 0x65, 0x76, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonSlipRevivePointActivateReq_proto_rawDescOnce sync.Once + file_DungeonSlipRevivePointActivateReq_proto_rawDescData = file_DungeonSlipRevivePointActivateReq_proto_rawDesc +) + +func file_DungeonSlipRevivePointActivateReq_proto_rawDescGZIP() []byte { + file_DungeonSlipRevivePointActivateReq_proto_rawDescOnce.Do(func() { + file_DungeonSlipRevivePointActivateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonSlipRevivePointActivateReq_proto_rawDescData) + }) + return file_DungeonSlipRevivePointActivateReq_proto_rawDescData +} + +var file_DungeonSlipRevivePointActivateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonSlipRevivePointActivateReq_proto_goTypes = []interface{}{ + (*DungeonSlipRevivePointActivateReq)(nil), // 0: DungeonSlipRevivePointActivateReq +} +var file_DungeonSlipRevivePointActivateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonSlipRevivePointActivateReq_proto_init() } +func file_DungeonSlipRevivePointActivateReq_proto_init() { + if File_DungeonSlipRevivePointActivateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonSlipRevivePointActivateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonSlipRevivePointActivateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonSlipRevivePointActivateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonSlipRevivePointActivateReq_proto_goTypes, + DependencyIndexes: file_DungeonSlipRevivePointActivateReq_proto_depIdxs, + MessageInfos: file_DungeonSlipRevivePointActivateReq_proto_msgTypes, + }.Build() + File_DungeonSlipRevivePointActivateReq_proto = out.File + file_DungeonSlipRevivePointActivateReq_proto_rawDesc = nil + file_DungeonSlipRevivePointActivateReq_proto_goTypes = nil + file_DungeonSlipRevivePointActivateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.proto b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.proto new file mode 100644 index 00000000..2e7cde56 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 958 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonSlipRevivePointActivateReq { + uint32 slip_revive_point_id = 9; +} diff --git a/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.pb.go b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.pb.go new file mode 100644 index 00000000..f11d79e8 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonSlipRevivePointActivateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 970 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonSlipRevivePointActivateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlipRevivePointId uint32 `protobuf:"varint,14,opt,name=slip_revive_point_id,json=slipRevivePointId,proto3" json:"slip_revive_point_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *DungeonSlipRevivePointActivateRsp) Reset() { + *x = DungeonSlipRevivePointActivateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonSlipRevivePointActivateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonSlipRevivePointActivateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonSlipRevivePointActivateRsp) ProtoMessage() {} + +func (x *DungeonSlipRevivePointActivateRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonSlipRevivePointActivateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonSlipRevivePointActivateRsp.ProtoReflect.Descriptor instead. +func (*DungeonSlipRevivePointActivateRsp) Descriptor() ([]byte, []int) { + return file_DungeonSlipRevivePointActivateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonSlipRevivePointActivateRsp) GetSlipRevivePointId() uint32 { + if x != nil { + return x.SlipRevivePointId + } + return 0 +} + +func (x *DungeonSlipRevivePointActivateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_DungeonSlipRevivePointActivateRsp_proto protoreflect.FileDescriptor + +var file_DungeonSlipRevivePointActivateRsp_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x70, 0x52, 0x65, 0x76, + 0x69, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x21, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x70, 0x52, 0x65, 0x76, 0x69, 0x76, 0x65, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x2f, + 0x0a, 0x14, 0x73, 0x6c, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x6c, + 0x69, 0x70, 0x52, 0x65, 0x76, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonSlipRevivePointActivateRsp_proto_rawDescOnce sync.Once + file_DungeonSlipRevivePointActivateRsp_proto_rawDescData = file_DungeonSlipRevivePointActivateRsp_proto_rawDesc +) + +func file_DungeonSlipRevivePointActivateRsp_proto_rawDescGZIP() []byte { + file_DungeonSlipRevivePointActivateRsp_proto_rawDescOnce.Do(func() { + file_DungeonSlipRevivePointActivateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonSlipRevivePointActivateRsp_proto_rawDescData) + }) + return file_DungeonSlipRevivePointActivateRsp_proto_rawDescData +} + +var file_DungeonSlipRevivePointActivateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonSlipRevivePointActivateRsp_proto_goTypes = []interface{}{ + (*DungeonSlipRevivePointActivateRsp)(nil), // 0: DungeonSlipRevivePointActivateRsp +} +var file_DungeonSlipRevivePointActivateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonSlipRevivePointActivateRsp_proto_init() } +func file_DungeonSlipRevivePointActivateRsp_proto_init() { + if File_DungeonSlipRevivePointActivateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonSlipRevivePointActivateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonSlipRevivePointActivateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonSlipRevivePointActivateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonSlipRevivePointActivateRsp_proto_goTypes, + DependencyIndexes: file_DungeonSlipRevivePointActivateRsp_proto_depIdxs, + MessageInfos: file_DungeonSlipRevivePointActivateRsp_proto_msgTypes, + }.Build() + File_DungeonSlipRevivePointActivateRsp_proto = out.File + file_DungeonSlipRevivePointActivateRsp_proto_rawDesc = nil + file_DungeonSlipRevivePointActivateRsp_proto_goTypes = nil + file_DungeonSlipRevivePointActivateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.proto b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.proto new file mode 100644 index 00000000..79a44ceb --- /dev/null +++ b/gate-hk4e-api/proto/DungeonSlipRevivePointActivateRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 970 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonSlipRevivePointActivateRsp { + uint32 slip_revive_point_id = 14; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/DungeonWayPointActivateReq.pb.go b/gate-hk4e-api/proto/DungeonWayPointActivateReq.pb.go new file mode 100644 index 00000000..839f0535 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointActivateReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonWayPointActivateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 990 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type DungeonWayPointActivateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WayPointId uint32 `protobuf:"varint,3,opt,name=way_point_id,json=wayPointId,proto3" json:"way_point_id,omitempty"` +} + +func (x *DungeonWayPointActivateReq) Reset() { + *x = DungeonWayPointActivateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonWayPointActivateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonWayPointActivateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonWayPointActivateReq) ProtoMessage() {} + +func (x *DungeonWayPointActivateReq) ProtoReflect() protoreflect.Message { + mi := &file_DungeonWayPointActivateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonWayPointActivateReq.ProtoReflect.Descriptor instead. +func (*DungeonWayPointActivateReq) Descriptor() ([]byte, []int) { + return file_DungeonWayPointActivateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonWayPointActivateReq) GetWayPointId() uint32 { + if x != nil { + return x.WayPointId + } + return 0 +} + +var File_DungeonWayPointActivateReq_proto protoreflect.FileDescriptor + +var file_DungeonWayPointActivateReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1a, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x61, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonWayPointActivateReq_proto_rawDescOnce sync.Once + file_DungeonWayPointActivateReq_proto_rawDescData = file_DungeonWayPointActivateReq_proto_rawDesc +) + +func file_DungeonWayPointActivateReq_proto_rawDescGZIP() []byte { + file_DungeonWayPointActivateReq_proto_rawDescOnce.Do(func() { + file_DungeonWayPointActivateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonWayPointActivateReq_proto_rawDescData) + }) + return file_DungeonWayPointActivateReq_proto_rawDescData +} + +var file_DungeonWayPointActivateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonWayPointActivateReq_proto_goTypes = []interface{}{ + (*DungeonWayPointActivateReq)(nil), // 0: DungeonWayPointActivateReq +} +var file_DungeonWayPointActivateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonWayPointActivateReq_proto_init() } +func file_DungeonWayPointActivateReq_proto_init() { + if File_DungeonWayPointActivateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonWayPointActivateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonWayPointActivateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonWayPointActivateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonWayPointActivateReq_proto_goTypes, + DependencyIndexes: file_DungeonWayPointActivateReq_proto_depIdxs, + MessageInfos: file_DungeonWayPointActivateReq_proto_msgTypes, + }.Build() + File_DungeonWayPointActivateReq_proto = out.File + file_DungeonWayPointActivateReq_proto_rawDesc = nil + file_DungeonWayPointActivateReq_proto_goTypes = nil + file_DungeonWayPointActivateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonWayPointActivateReq.proto b/gate-hk4e-api/proto/DungeonWayPointActivateReq.proto new file mode 100644 index 00000000..47415d2e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointActivateReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 990 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message DungeonWayPointActivateReq { + uint32 way_point_id = 3; +} diff --git a/gate-hk4e-api/proto/DungeonWayPointActivateRsp.pb.go b/gate-hk4e-api/proto/DungeonWayPointActivateRsp.pb.go new file mode 100644 index 00000000..9c0b1deb --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointActivateRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonWayPointActivateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 973 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonWayPointActivateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + WayPointId uint32 `protobuf:"varint,7,opt,name=way_point_id,json=wayPointId,proto3" json:"way_point_id,omitempty"` +} + +func (x *DungeonWayPointActivateRsp) Reset() { + *x = DungeonWayPointActivateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonWayPointActivateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonWayPointActivateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonWayPointActivateRsp) ProtoMessage() {} + +func (x *DungeonWayPointActivateRsp) ProtoReflect() protoreflect.Message { + mi := &file_DungeonWayPointActivateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonWayPointActivateRsp.ProtoReflect.Descriptor instead. +func (*DungeonWayPointActivateRsp) Descriptor() ([]byte, []int) { + return file_DungeonWayPointActivateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonWayPointActivateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *DungeonWayPointActivateRsp) GetWayPointId() uint32 { + if x != nil { + return x.WayPointId + } + return 0 +} + +var File_DungeonWayPointActivateRsp_proto protoreflect.FileDescriptor + +var file_DungeonWayPointActivateRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1a, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x61, + 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x77, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonWayPointActivateRsp_proto_rawDescOnce sync.Once + file_DungeonWayPointActivateRsp_proto_rawDescData = file_DungeonWayPointActivateRsp_proto_rawDesc +) + +func file_DungeonWayPointActivateRsp_proto_rawDescGZIP() []byte { + file_DungeonWayPointActivateRsp_proto_rawDescOnce.Do(func() { + file_DungeonWayPointActivateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonWayPointActivateRsp_proto_rawDescData) + }) + return file_DungeonWayPointActivateRsp_proto_rawDescData +} + +var file_DungeonWayPointActivateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonWayPointActivateRsp_proto_goTypes = []interface{}{ + (*DungeonWayPointActivateRsp)(nil), // 0: DungeonWayPointActivateRsp +} +var file_DungeonWayPointActivateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonWayPointActivateRsp_proto_init() } +func file_DungeonWayPointActivateRsp_proto_init() { + if File_DungeonWayPointActivateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonWayPointActivateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonWayPointActivateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonWayPointActivateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonWayPointActivateRsp_proto_goTypes, + DependencyIndexes: file_DungeonWayPointActivateRsp_proto_depIdxs, + MessageInfos: file_DungeonWayPointActivateRsp_proto_msgTypes, + }.Build() + File_DungeonWayPointActivateRsp_proto = out.File + file_DungeonWayPointActivateRsp_proto_rawDesc = nil + file_DungeonWayPointActivateRsp_proto_goTypes = nil + file_DungeonWayPointActivateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonWayPointActivateRsp.proto b/gate-hk4e-api/proto/DungeonWayPointActivateRsp.proto new file mode 100644 index 00000000..13d678fc --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointActivateRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 973 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonWayPointActivateRsp { + int32 retcode = 6; + uint32 way_point_id = 7; +} diff --git a/gate-hk4e-api/proto/DungeonWayPointNotify.pb.go b/gate-hk4e-api/proto/DungeonWayPointNotify.pb.go new file mode 100644 index 00000000..c3488d69 --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: DungeonWayPointNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 903 +// EnetChannelId: 0 +// EnetIsReliable: true +type DungeonWayPointNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAdd bool `protobuf:"varint,9,opt,name=is_add,json=isAdd,proto3" json:"is_add,omitempty"` + ActiveWayPointList []uint32 `protobuf:"varint,4,rep,packed,name=active_way_point_list,json=activeWayPointList,proto3" json:"active_way_point_list,omitempty"` +} + +func (x *DungeonWayPointNotify) Reset() { + *x = DungeonWayPointNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_DungeonWayPointNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DungeonWayPointNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DungeonWayPointNotify) ProtoMessage() {} + +func (x *DungeonWayPointNotify) ProtoReflect() protoreflect.Message { + mi := &file_DungeonWayPointNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DungeonWayPointNotify.ProtoReflect.Descriptor instead. +func (*DungeonWayPointNotify) Descriptor() ([]byte, []int) { + return file_DungeonWayPointNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *DungeonWayPointNotify) GetIsAdd() bool { + if x != nil { + return x.IsAdd + } + return false +} + +func (x *DungeonWayPointNotify) GetActiveWayPointList() []uint32 { + if x != nil { + return x.ActiveWayPointList + } + return nil +} + +var File_DungeonWayPointNotify_proto protoreflect.FileDescriptor + +var file_DungeonWayPointNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, + 0x15, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x57, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x41, 0x64, 0x64, 0x12, 0x31, 0x0a, + 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x61, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x57, 0x61, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_DungeonWayPointNotify_proto_rawDescOnce sync.Once + file_DungeonWayPointNotify_proto_rawDescData = file_DungeonWayPointNotify_proto_rawDesc +) + +func file_DungeonWayPointNotify_proto_rawDescGZIP() []byte { + file_DungeonWayPointNotify_proto_rawDescOnce.Do(func() { + file_DungeonWayPointNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_DungeonWayPointNotify_proto_rawDescData) + }) + return file_DungeonWayPointNotify_proto_rawDescData +} + +var file_DungeonWayPointNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_DungeonWayPointNotify_proto_goTypes = []interface{}{ + (*DungeonWayPointNotify)(nil), // 0: DungeonWayPointNotify +} +var file_DungeonWayPointNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_DungeonWayPointNotify_proto_init() } +func file_DungeonWayPointNotify_proto_init() { + if File_DungeonWayPointNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_DungeonWayPointNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DungeonWayPointNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_DungeonWayPointNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_DungeonWayPointNotify_proto_goTypes, + DependencyIndexes: file_DungeonWayPointNotify_proto_depIdxs, + MessageInfos: file_DungeonWayPointNotify_proto_msgTypes, + }.Build() + File_DungeonWayPointNotify_proto = out.File + file_DungeonWayPointNotify_proto_rawDesc = nil + file_DungeonWayPointNotify_proto_goTypes = nil + file_DungeonWayPointNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/DungeonWayPointNotify.proto b/gate-hk4e-api/proto/DungeonWayPointNotify.proto new file mode 100644 index 00000000..012df65e --- /dev/null +++ b/gate-hk4e-api/proto/DungeonWayPointNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 903 +// EnetChannelId: 0 +// EnetIsReliable: true +message DungeonWayPointNotify { + bool is_add = 9; + repeated uint32 active_way_point_list = 4; +} diff --git a/gate-hk4e-api/proto/EchoNotify.pb.go b/gate-hk4e-api/proto/EchoNotify.pb.go new file mode 100644 index 00000000..7fc3663d --- /dev/null +++ b/gate-hk4e-api/proto/EchoNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 65 +// EnetChannelId: 0 +// EnetIsReliable: true +type EchoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeqId uint32 `protobuf:"varint,4,opt,name=seq_id,json=seqId,proto3" json:"seq_id,omitempty"` + Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *EchoNotify) Reset() { + *x = EchoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoNotify) ProtoMessage() {} + +func (x *EchoNotify) ProtoReflect() protoreflect.Message { + mi := &file_EchoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoNotify.ProtoReflect.Descriptor instead. +func (*EchoNotify) Descriptor() ([]byte, []int) { + return file_EchoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoNotify) GetSeqId() uint32 { + if x != nil { + return x.SeqId + } + return 0 +} + +func (x *EchoNotify) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +var File_EchoNotify_proto protoreflect.FileDescriptor + +var file_EchoNotify_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x45, 0x63, 0x68, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x15, 0x0a, 0x06, 0x73, 0x65, 0x71, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x73, 0x65, 0x71, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EchoNotify_proto_rawDescOnce sync.Once + file_EchoNotify_proto_rawDescData = file_EchoNotify_proto_rawDesc +) + +func file_EchoNotify_proto_rawDescGZIP() []byte { + file_EchoNotify_proto_rawDescOnce.Do(func() { + file_EchoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoNotify_proto_rawDescData) + }) + return file_EchoNotify_proto_rawDescData +} + +var file_EchoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoNotify_proto_goTypes = []interface{}{ + (*EchoNotify)(nil), // 0: EchoNotify +} +var file_EchoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EchoNotify_proto_init() } +func file_EchoNotify_proto_init() { + if File_EchoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EchoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoNotify_proto_goTypes, + DependencyIndexes: file_EchoNotify_proto_depIdxs, + MessageInfos: file_EchoNotify_proto_msgTypes, + }.Build() + File_EchoNotify_proto = out.File + file_EchoNotify_proto_rawDesc = nil + file_EchoNotify_proto_goTypes = nil + file_EchoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoNotify.proto b/gate-hk4e-api/proto/EchoNotify.proto new file mode 100644 index 00000000..64738dd3 --- /dev/null +++ b/gate-hk4e-api/proto/EchoNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 65 +// EnetChannelId: 0 +// EnetIsReliable: true +message EchoNotify { + uint32 seq_id = 4; + string content = 9; +} diff --git a/gate-hk4e-api/proto/EchoShellDetailInfo.pb.go b/gate-hk4e-api/proto/EchoShellDetailInfo.pb.go new file mode 100644 index 00000000..f6b8c6aa --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellDetailInfo.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoShellDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EchoShellDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_KEMCFBCAMMM []*Unk2800_CEAECGGBOKL `protobuf:"bytes,8,rep,name=Unk2800_KEMCFBCAMMM,json=Unk2800KEMCFBCAMMM,proto3" json:"Unk2800_KEMCFBCAMMM,omitempty"` + ShellList []uint32 `protobuf:"varint,13,rep,packed,name=shell_list,json=shellList,proto3" json:"shell_list,omitempty"` + Unk2800_BFONDMJGNKL []uint32 `protobuf:"varint,4,rep,packed,name=Unk2800_BFONDMJGNKL,json=Unk2800BFONDMJGNKL,proto3" json:"Unk2800_BFONDMJGNKL,omitempty"` + TakenRewardList []uint32 `protobuf:"varint,2,rep,packed,name=taken_reward_list,json=takenRewardList,proto3" json:"taken_reward_list,omitempty"` +} + +func (x *EchoShellDetailInfo) Reset() { + *x = EchoShellDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoShellDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoShellDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoShellDetailInfo) ProtoMessage() {} + +func (x *EchoShellDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_EchoShellDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoShellDetailInfo.ProtoReflect.Descriptor instead. +func (*EchoShellDetailInfo) Descriptor() ([]byte, []int) { + return file_EchoShellDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoShellDetailInfo) GetUnk2800_KEMCFBCAMMM() []*Unk2800_CEAECGGBOKL { + if x != nil { + return x.Unk2800_KEMCFBCAMMM + } + return nil +} + +func (x *EchoShellDetailInfo) GetShellList() []uint32 { + if x != nil { + return x.ShellList + } + return nil +} + +func (x *EchoShellDetailInfo) GetUnk2800_BFONDMJGNKL() []uint32 { + if x != nil { + return x.Unk2800_BFONDMJGNKL + } + return nil +} + +func (x *EchoShellDetailInfo) GetTakenRewardList() []uint32 { + if x != nil { + return x.TakenRewardList + } + return nil +} + +var File_EchoShellDetailInfo_proto protoreflect.FileDescriptor + +var file_EchoShellDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x41, 0x45, 0x43, 0x47, 0x47, 0x42, 0x4f, 0x4b, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x13, 0x45, 0x63, 0x68, 0x6f, 0x53, + 0x68, 0x65, 0x6c, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4d, 0x43, 0x46, 0x42, + 0x43, 0x41, 0x4d, 0x4d, 0x4d, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x41, 0x45, 0x43, 0x47, 0x47, 0x42, 0x4f, 0x4b, + 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4b, 0x45, 0x4d, 0x43, 0x46, 0x42, + 0x43, 0x41, 0x4d, 0x4d, 0x4d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x68, 0x65, 0x6c, 0x6c, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x42, 0x46, 0x4f, 0x4e, 0x44, 0x4d, 0x4a, 0x47, 0x4e, 0x4b, 0x4c, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x42, 0x46, 0x4f, 0x4e, 0x44, 0x4d, + 0x4a, 0x47, 0x4e, 0x4b, 0x4c, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EchoShellDetailInfo_proto_rawDescOnce sync.Once + file_EchoShellDetailInfo_proto_rawDescData = file_EchoShellDetailInfo_proto_rawDesc +) + +func file_EchoShellDetailInfo_proto_rawDescGZIP() []byte { + file_EchoShellDetailInfo_proto_rawDescOnce.Do(func() { + file_EchoShellDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoShellDetailInfo_proto_rawDescData) + }) + return file_EchoShellDetailInfo_proto_rawDescData +} + +var file_EchoShellDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoShellDetailInfo_proto_goTypes = []interface{}{ + (*EchoShellDetailInfo)(nil), // 0: EchoShellDetailInfo + (*Unk2800_CEAECGGBOKL)(nil), // 1: Unk2800_CEAECGGBOKL +} +var file_EchoShellDetailInfo_proto_depIdxs = []int32{ + 1, // 0: EchoShellDetailInfo.Unk2800_KEMCFBCAMMM:type_name -> Unk2800_CEAECGGBOKL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EchoShellDetailInfo_proto_init() } +func file_EchoShellDetailInfo_proto_init() { + if File_EchoShellDetailInfo_proto != nil { + return + } + file_Unk2800_CEAECGGBOKL_proto_init() + if !protoimpl.UnsafeEnabled { + file_EchoShellDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoShellDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoShellDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoShellDetailInfo_proto_goTypes, + DependencyIndexes: file_EchoShellDetailInfo_proto_depIdxs, + MessageInfos: file_EchoShellDetailInfo_proto_msgTypes, + }.Build() + File_EchoShellDetailInfo_proto = out.File + file_EchoShellDetailInfo_proto_rawDesc = nil + file_EchoShellDetailInfo_proto_goTypes = nil + file_EchoShellDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoShellDetailInfo.proto b/gate-hk4e-api/proto/EchoShellDetailInfo.proto new file mode 100644 index 00000000..4d265cc7 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_CEAECGGBOKL.proto"; + +option go_package = "./;proto"; + +message EchoShellDetailInfo { + repeated Unk2800_CEAECGGBOKL Unk2800_KEMCFBCAMMM = 8; + repeated uint32 shell_list = 13; + repeated uint32 Unk2800_BFONDMJGNKL = 4; + repeated uint32 taken_reward_list = 2; +} diff --git a/gate-hk4e-api/proto/EchoShellInfo.pb.go b/gate-hk4e-api/proto/EchoShellInfo.pb.go new file mode 100644 index 00000000..41b27de6 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellInfo.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoShellInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EchoShellInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShellId uint32 `protobuf:"varint,1,opt,name=shell_id,json=shellId,proto3" json:"shell_id,omitempty"` +} + +func (x *EchoShellInfo) Reset() { + *x = EchoShellInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoShellInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoShellInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoShellInfo) ProtoMessage() {} + +func (x *EchoShellInfo) ProtoReflect() protoreflect.Message { + mi := &file_EchoShellInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoShellInfo.ProtoReflect.Descriptor instead. +func (*EchoShellInfo) Descriptor() ([]byte, []int) { + return file_EchoShellInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoShellInfo) GetShellId() uint32 { + if x != nil { + return x.ShellId + } + return 0 +} + +var File_EchoShellInfo_proto protoreflect.FileDescriptor + +var file_EchoShellInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0d, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EchoShellInfo_proto_rawDescOnce sync.Once + file_EchoShellInfo_proto_rawDescData = file_EchoShellInfo_proto_rawDesc +) + +func file_EchoShellInfo_proto_rawDescGZIP() []byte { + file_EchoShellInfo_proto_rawDescOnce.Do(func() { + file_EchoShellInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoShellInfo_proto_rawDescData) + }) + return file_EchoShellInfo_proto_rawDescData +} + +var file_EchoShellInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoShellInfo_proto_goTypes = []interface{}{ + (*EchoShellInfo)(nil), // 0: EchoShellInfo +} +var file_EchoShellInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EchoShellInfo_proto_init() } +func file_EchoShellInfo_proto_init() { + if File_EchoShellInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EchoShellInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoShellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoShellInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoShellInfo_proto_goTypes, + DependencyIndexes: file_EchoShellInfo_proto_depIdxs, + MessageInfos: file_EchoShellInfo_proto_msgTypes, + }.Build() + File_EchoShellInfo_proto = out.File + file_EchoShellInfo_proto_rawDesc = nil + file_EchoShellInfo_proto_goTypes = nil + file_EchoShellInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoShellInfo.proto b/gate-hk4e-api/proto/EchoShellInfo.proto new file mode 100644 index 00000000..fb846101 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EchoShellInfo { + uint32 shell_id = 1; +} diff --git a/gate-hk4e-api/proto/EchoShellTakeRewardReq.pb.go b/gate-hk4e-api/proto/EchoShellTakeRewardReq.pb.go new file mode 100644 index 00000000..cacf7191 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellTakeRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoShellTakeRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8114 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EchoShellTakeRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,10,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *EchoShellTakeRewardReq) Reset() { + *x = EchoShellTakeRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoShellTakeRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoShellTakeRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoShellTakeRewardReq) ProtoMessage() {} + +func (x *EchoShellTakeRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_EchoShellTakeRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoShellTakeRewardReq.ProtoReflect.Descriptor instead. +func (*EchoShellTakeRewardReq) Descriptor() ([]byte, []int) { + return file_EchoShellTakeRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoShellTakeRewardReq) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_EchoShellTakeRewardReq_proto protoreflect.FileDescriptor + +var file_EchoShellTakeRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x54, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, + 0x0a, 0x16, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x54, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EchoShellTakeRewardReq_proto_rawDescOnce sync.Once + file_EchoShellTakeRewardReq_proto_rawDescData = file_EchoShellTakeRewardReq_proto_rawDesc +) + +func file_EchoShellTakeRewardReq_proto_rawDescGZIP() []byte { + file_EchoShellTakeRewardReq_proto_rawDescOnce.Do(func() { + file_EchoShellTakeRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoShellTakeRewardReq_proto_rawDescData) + }) + return file_EchoShellTakeRewardReq_proto_rawDescData +} + +var file_EchoShellTakeRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoShellTakeRewardReq_proto_goTypes = []interface{}{ + (*EchoShellTakeRewardReq)(nil), // 0: EchoShellTakeRewardReq +} +var file_EchoShellTakeRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EchoShellTakeRewardReq_proto_init() } +func file_EchoShellTakeRewardReq_proto_init() { + if File_EchoShellTakeRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EchoShellTakeRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoShellTakeRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoShellTakeRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoShellTakeRewardReq_proto_goTypes, + DependencyIndexes: file_EchoShellTakeRewardReq_proto_depIdxs, + MessageInfos: file_EchoShellTakeRewardReq_proto_msgTypes, + }.Build() + File_EchoShellTakeRewardReq_proto = out.File + file_EchoShellTakeRewardReq_proto_rawDesc = nil + file_EchoShellTakeRewardReq_proto_goTypes = nil + file_EchoShellTakeRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoShellTakeRewardReq.proto b/gate-hk4e-api/proto/EchoShellTakeRewardReq.proto new file mode 100644 index 00000000..cb783ac9 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellTakeRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8114 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EchoShellTakeRewardReq { + uint32 reward_id = 10; +} diff --git a/gate-hk4e-api/proto/EchoShellTakeRewardRsp.pb.go b/gate-hk4e-api/proto/EchoShellTakeRewardRsp.pb.go new file mode 100644 index 00000000..db0aa720 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellTakeRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoShellTakeRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8797 +// EnetChannelId: 0 +// EnetIsReliable: true +type EchoShellTakeRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,6,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EchoShellTakeRewardRsp) Reset() { + *x = EchoShellTakeRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoShellTakeRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoShellTakeRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoShellTakeRewardRsp) ProtoMessage() {} + +func (x *EchoShellTakeRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_EchoShellTakeRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoShellTakeRewardRsp.ProtoReflect.Descriptor instead. +func (*EchoShellTakeRewardRsp) Descriptor() ([]byte, []int) { + return file_EchoShellTakeRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoShellTakeRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *EchoShellTakeRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EchoShellTakeRewardRsp_proto protoreflect.FileDescriptor + +var file_EchoShellTakeRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x54, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, + 0x0a, 0x16, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x54, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_EchoShellTakeRewardRsp_proto_rawDescOnce sync.Once + file_EchoShellTakeRewardRsp_proto_rawDescData = file_EchoShellTakeRewardRsp_proto_rawDesc +) + +func file_EchoShellTakeRewardRsp_proto_rawDescGZIP() []byte { + file_EchoShellTakeRewardRsp_proto_rawDescOnce.Do(func() { + file_EchoShellTakeRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoShellTakeRewardRsp_proto_rawDescData) + }) + return file_EchoShellTakeRewardRsp_proto_rawDescData +} + +var file_EchoShellTakeRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoShellTakeRewardRsp_proto_goTypes = []interface{}{ + (*EchoShellTakeRewardRsp)(nil), // 0: EchoShellTakeRewardRsp +} +var file_EchoShellTakeRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EchoShellTakeRewardRsp_proto_init() } +func file_EchoShellTakeRewardRsp_proto_init() { + if File_EchoShellTakeRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EchoShellTakeRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoShellTakeRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoShellTakeRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoShellTakeRewardRsp_proto_goTypes, + DependencyIndexes: file_EchoShellTakeRewardRsp_proto_depIdxs, + MessageInfos: file_EchoShellTakeRewardRsp_proto_msgTypes, + }.Build() + File_EchoShellTakeRewardRsp_proto = out.File + file_EchoShellTakeRewardRsp_proto_rawDesc = nil + file_EchoShellTakeRewardRsp_proto_goTypes = nil + file_EchoShellTakeRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoShellTakeRewardRsp.proto b/gate-hk4e-api/proto/EchoShellTakeRewardRsp.proto new file mode 100644 index 00000000..dc12fa48 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellTakeRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8797 +// EnetChannelId: 0 +// EnetIsReliable: true +message EchoShellTakeRewardRsp { + uint32 reward_id = 6; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/EchoShellUpdateNotify.pb.go b/gate-hk4e-api/proto/EchoShellUpdateNotify.pb.go new file mode 100644 index 00000000..35ef36c6 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellUpdateNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EchoShellUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8150 +// EnetChannelId: 0 +// EnetIsReliable: true +type EchoShellUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShellId uint32 `protobuf:"varint,1,opt,name=shell_id,json=shellId,proto3" json:"shell_id,omitempty"` +} + +func (x *EchoShellUpdateNotify) Reset() { + *x = EchoShellUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EchoShellUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EchoShellUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EchoShellUpdateNotify) ProtoMessage() {} + +func (x *EchoShellUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_EchoShellUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EchoShellUpdateNotify.ProtoReflect.Descriptor instead. +func (*EchoShellUpdateNotify) Descriptor() ([]byte, []int) { + return file_EchoShellUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EchoShellUpdateNotify) GetShellId() uint32 { + if x != nil { + return x.ShellId + } + return 0 +} + +var File_EchoShellUpdateNotify_proto protoreflect.FileDescriptor + +var file_EchoShellUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, + 0x15, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EchoShellUpdateNotify_proto_rawDescOnce sync.Once + file_EchoShellUpdateNotify_proto_rawDescData = file_EchoShellUpdateNotify_proto_rawDesc +) + +func file_EchoShellUpdateNotify_proto_rawDescGZIP() []byte { + file_EchoShellUpdateNotify_proto_rawDescOnce.Do(func() { + file_EchoShellUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EchoShellUpdateNotify_proto_rawDescData) + }) + return file_EchoShellUpdateNotify_proto_rawDescData +} + +var file_EchoShellUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EchoShellUpdateNotify_proto_goTypes = []interface{}{ + (*EchoShellUpdateNotify)(nil), // 0: EchoShellUpdateNotify +} +var file_EchoShellUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EchoShellUpdateNotify_proto_init() } +func file_EchoShellUpdateNotify_proto_init() { + if File_EchoShellUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EchoShellUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoShellUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EchoShellUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EchoShellUpdateNotify_proto_goTypes, + DependencyIndexes: file_EchoShellUpdateNotify_proto_depIdxs, + MessageInfos: file_EchoShellUpdateNotify_proto_msgTypes, + }.Build() + File_EchoShellUpdateNotify_proto = out.File + file_EchoShellUpdateNotify_proto_rawDesc = nil + file_EchoShellUpdateNotify_proto_goTypes = nil + file_EchoShellUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EchoShellUpdateNotify.proto b/gate-hk4e-api/proto/EchoShellUpdateNotify.proto new file mode 100644 index 00000000..b9b933b7 --- /dev/null +++ b/gate-hk4e-api/proto/EchoShellUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8150 +// EnetChannelId: 0 +// EnetIsReliable: true +message EchoShellUpdateNotify { + uint32 shell_id = 1; +} diff --git a/gate-hk4e-api/proto/EffigyActivityDetailInfo.pb.go b/gate-hk4e-api/proto/EffigyActivityDetailInfo.pb.go new file mode 100644 index 00000000..140ea8fd --- /dev/null +++ b/gate-hk4e-api/proto/EffigyActivityDetailInfo.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EffigyActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EffigyActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurScore uint32 `protobuf:"varint,5,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + DailyInfoList []*EffigyDailyInfo `protobuf:"bytes,14,rep,name=daily_info_list,json=dailyInfoList,proto3" json:"daily_info_list,omitempty"` + LastDifficultyId uint32 `protobuf:"varint,9,opt,name=last_difficulty_id,json=lastDifficultyId,proto3" json:"last_difficulty_id,omitempty"` + TakenRewardIndexList []uint32 `protobuf:"varint,2,rep,packed,name=taken_reward_index_list,json=takenRewardIndexList,proto3" json:"taken_reward_index_list,omitempty"` +} + +func (x *EffigyActivityDetailInfo) Reset() { + *x = EffigyActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EffigyActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EffigyActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EffigyActivityDetailInfo) ProtoMessage() {} + +func (x *EffigyActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_EffigyActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EffigyActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*EffigyActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_EffigyActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EffigyActivityDetailInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *EffigyActivityDetailInfo) GetDailyInfoList() []*EffigyDailyInfo { + if x != nil { + return x.DailyInfoList + } + return nil +} + +func (x *EffigyActivityDetailInfo) GetLastDifficultyId() uint32 { + if x != nil { + return x.LastDifficultyId + } + return 0 +} + +func (x *EffigyActivityDetailInfo) GetTakenRewardIndexList() []uint32 { + if x != nil { + return x.TakenRewardIndexList + } + return nil +} + +var File_EffigyActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_EffigyActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x15, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x18, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x38, 0x0a, 0x0f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x45, 0x66, 0x66, + 0x69, 0x67, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x64, 0x61, + 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, 0x6b, + 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x61, 0x6b, 0x65, + 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EffigyActivityDetailInfo_proto_rawDescOnce sync.Once + file_EffigyActivityDetailInfo_proto_rawDescData = file_EffigyActivityDetailInfo_proto_rawDesc +) + +func file_EffigyActivityDetailInfo_proto_rawDescGZIP() []byte { + file_EffigyActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_EffigyActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EffigyActivityDetailInfo_proto_rawDescData) + }) + return file_EffigyActivityDetailInfo_proto_rawDescData +} + +var file_EffigyActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EffigyActivityDetailInfo_proto_goTypes = []interface{}{ + (*EffigyActivityDetailInfo)(nil), // 0: EffigyActivityDetailInfo + (*EffigyDailyInfo)(nil), // 1: EffigyDailyInfo +} +var file_EffigyActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: EffigyActivityDetailInfo.daily_info_list:type_name -> EffigyDailyInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EffigyActivityDetailInfo_proto_init() } +func file_EffigyActivityDetailInfo_proto_init() { + if File_EffigyActivityDetailInfo_proto != nil { + return + } + file_EffigyDailyInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EffigyActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EffigyActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EffigyActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EffigyActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_EffigyActivityDetailInfo_proto_depIdxs, + MessageInfos: file_EffigyActivityDetailInfo_proto_msgTypes, + }.Build() + File_EffigyActivityDetailInfo_proto = out.File + file_EffigyActivityDetailInfo_proto_rawDesc = nil + file_EffigyActivityDetailInfo_proto_goTypes = nil + file_EffigyActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EffigyActivityDetailInfo.proto b/gate-hk4e-api/proto/EffigyActivityDetailInfo.proto new file mode 100644 index 00000000..04b4c3f9 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EffigyDailyInfo.proto"; + +option go_package = "./;proto"; + +message EffigyActivityDetailInfo { + uint32 cur_score = 5; + repeated EffigyDailyInfo daily_info_list = 14; + uint32 last_difficulty_id = 9; + repeated uint32 taken_reward_index_list = 2; +} diff --git a/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.pb.go b/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.pb.go new file mode 100644 index 00000000..97441364 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EffigyChallengeDungeonResultInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EffigyChallengeDungeonResultInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeScore uint32 `protobuf:"varint,7,opt,name=challenge_score,json=challengeScore,proto3" json:"challenge_score,omitempty"` + IsInTimeLimit bool `protobuf:"varint,8,opt,name=is_in_time_limit,json=isInTimeLimit,proto3" json:"is_in_time_limit,omitempty"` + ChallengeId uint32 `protobuf:"varint,6,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + IsSuccess bool `protobuf:"varint,15,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChallengeMaxScore uint32 `protobuf:"varint,13,opt,name=challenge_max_score,json=challengeMaxScore,proto3" json:"challenge_max_score,omitempty"` +} + +func (x *EffigyChallengeDungeonResultInfo) Reset() { + *x = EffigyChallengeDungeonResultInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EffigyChallengeDungeonResultInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EffigyChallengeDungeonResultInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EffigyChallengeDungeonResultInfo) ProtoMessage() {} + +func (x *EffigyChallengeDungeonResultInfo) ProtoReflect() protoreflect.Message { + mi := &file_EffigyChallengeDungeonResultInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EffigyChallengeDungeonResultInfo.ProtoReflect.Descriptor instead. +func (*EffigyChallengeDungeonResultInfo) Descriptor() ([]byte, []int) { + return file_EffigyChallengeDungeonResultInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EffigyChallengeDungeonResultInfo) GetChallengeScore() uint32 { + if x != nil { + return x.ChallengeScore + } + return 0 +} + +func (x *EffigyChallengeDungeonResultInfo) GetIsInTimeLimit() bool { + if x != nil { + return x.IsInTimeLimit + } + return false +} + +func (x *EffigyChallengeDungeonResultInfo) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *EffigyChallengeDungeonResultInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *EffigyChallengeDungeonResultInfo) GetChallengeMaxScore() uint32 { + if x != nil { + return x.ChallengeMaxScore + } + return 0 +} + +var File_EffigyChallengeDungeonResultInfo_proto protoreflect.FileDescriptor + +var file_EffigyChallengeDungeonResultInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x20, 0x45, 0x66, 0x66, + 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, + 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0d, 0x69, 0x73, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EffigyChallengeDungeonResultInfo_proto_rawDescOnce sync.Once + file_EffigyChallengeDungeonResultInfo_proto_rawDescData = file_EffigyChallengeDungeonResultInfo_proto_rawDesc +) + +func file_EffigyChallengeDungeonResultInfo_proto_rawDescGZIP() []byte { + file_EffigyChallengeDungeonResultInfo_proto_rawDescOnce.Do(func() { + file_EffigyChallengeDungeonResultInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EffigyChallengeDungeonResultInfo_proto_rawDescData) + }) + return file_EffigyChallengeDungeonResultInfo_proto_rawDescData +} + +var file_EffigyChallengeDungeonResultInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EffigyChallengeDungeonResultInfo_proto_goTypes = []interface{}{ + (*EffigyChallengeDungeonResultInfo)(nil), // 0: EffigyChallengeDungeonResultInfo +} +var file_EffigyChallengeDungeonResultInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EffigyChallengeDungeonResultInfo_proto_init() } +func file_EffigyChallengeDungeonResultInfo_proto_init() { + if File_EffigyChallengeDungeonResultInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EffigyChallengeDungeonResultInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EffigyChallengeDungeonResultInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EffigyChallengeDungeonResultInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EffigyChallengeDungeonResultInfo_proto_goTypes, + DependencyIndexes: file_EffigyChallengeDungeonResultInfo_proto_depIdxs, + MessageInfos: file_EffigyChallengeDungeonResultInfo_proto_msgTypes, + }.Build() + File_EffigyChallengeDungeonResultInfo_proto = out.File + file_EffigyChallengeDungeonResultInfo_proto_rawDesc = nil + file_EffigyChallengeDungeonResultInfo_proto_goTypes = nil + file_EffigyChallengeDungeonResultInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.proto b/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.proto new file mode 100644 index 00000000..303d2658 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeDungeonResultInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EffigyChallengeDungeonResultInfo { + uint32 challenge_score = 7; + bool is_in_time_limit = 8; + uint32 challenge_id = 6; + bool is_success = 15; + uint32 challenge_max_score = 13; +} diff --git a/gate-hk4e-api/proto/EffigyChallengeInfoNotify.pb.go b/gate-hk4e-api/proto/EffigyChallengeInfoNotify.pb.go new file mode 100644 index 00000000..d7464668 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeInfoNotify.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EffigyChallengeInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2090 +// EnetChannelId: 0 +// EnetIsReliable: true +type EffigyChallengeInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultyId uint32 `protobuf:"varint,9,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,11,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + ChallengeScore uint32 `protobuf:"varint,14,opt,name=challenge_score,json=challengeScore,proto3" json:"challenge_score,omitempty"` + ChallengeId uint32 `protobuf:"varint,8,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *EffigyChallengeInfoNotify) Reset() { + *x = EffigyChallengeInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EffigyChallengeInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EffigyChallengeInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EffigyChallengeInfoNotify) ProtoMessage() {} + +func (x *EffigyChallengeInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_EffigyChallengeInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EffigyChallengeInfoNotify.ProtoReflect.Descriptor instead. +func (*EffigyChallengeInfoNotify) Descriptor() ([]byte, []int) { + return file_EffigyChallengeInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EffigyChallengeInfoNotify) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *EffigyChallengeInfoNotify) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *EffigyChallengeInfoNotify) GetChallengeScore() uint32 { + if x != nil { + return x.ChallengeScore + } + return 0 +} + +func (x *EffigyChallengeInfoNotify) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_EffigyChallengeInfoNotify_proto protoreflect.FileDescriptor + +var file_EffigyChallengeInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x19, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EffigyChallengeInfoNotify_proto_rawDescOnce sync.Once + file_EffigyChallengeInfoNotify_proto_rawDescData = file_EffigyChallengeInfoNotify_proto_rawDesc +) + +func file_EffigyChallengeInfoNotify_proto_rawDescGZIP() []byte { + file_EffigyChallengeInfoNotify_proto_rawDescOnce.Do(func() { + file_EffigyChallengeInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EffigyChallengeInfoNotify_proto_rawDescData) + }) + return file_EffigyChallengeInfoNotify_proto_rawDescData +} + +var file_EffigyChallengeInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EffigyChallengeInfoNotify_proto_goTypes = []interface{}{ + (*EffigyChallengeInfoNotify)(nil), // 0: EffigyChallengeInfoNotify +} +var file_EffigyChallengeInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EffigyChallengeInfoNotify_proto_init() } +func file_EffigyChallengeInfoNotify_proto_init() { + if File_EffigyChallengeInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EffigyChallengeInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EffigyChallengeInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EffigyChallengeInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EffigyChallengeInfoNotify_proto_goTypes, + DependencyIndexes: file_EffigyChallengeInfoNotify_proto_depIdxs, + MessageInfos: file_EffigyChallengeInfoNotify_proto_msgTypes, + }.Build() + File_EffigyChallengeInfoNotify_proto = out.File + file_EffigyChallengeInfoNotify_proto_rawDesc = nil + file_EffigyChallengeInfoNotify_proto_goTypes = nil + file_EffigyChallengeInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EffigyChallengeInfoNotify.proto b/gate-hk4e-api/proto/EffigyChallengeInfoNotify.proto new file mode 100644 index 00000000..d6e8d778 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2090 +// EnetChannelId: 0 +// EnetIsReliable: true +message EffigyChallengeInfoNotify { + uint32 difficulty_id = 9; + repeated uint32 condition_id_list = 11; + uint32 challenge_score = 14; + uint32 challenge_id = 8; +} diff --git a/gate-hk4e-api/proto/EffigyChallengeResultNotify.pb.go b/gate-hk4e-api/proto/EffigyChallengeResultNotify.pb.go new file mode 100644 index 00000000..9a2b47f6 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeResultNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EffigyChallengeResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2046 +// EnetChannelId: 0 +// EnetIsReliable: true +type EffigyChallengeResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,5,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChallengeMaxScore uint32 `protobuf:"varint,12,opt,name=challenge_max_score,json=challengeMaxScore,proto3" json:"challenge_max_score,omitempty"` + ChallengeScore uint32 `protobuf:"varint,3,opt,name=challenge_score,json=challengeScore,proto3" json:"challenge_score,omitempty"` + ChallengeId uint32 `protobuf:"varint,7,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *EffigyChallengeResultNotify) Reset() { + *x = EffigyChallengeResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EffigyChallengeResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EffigyChallengeResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EffigyChallengeResultNotify) ProtoMessage() {} + +func (x *EffigyChallengeResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_EffigyChallengeResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EffigyChallengeResultNotify.ProtoReflect.Descriptor instead. +func (*EffigyChallengeResultNotify) Descriptor() ([]byte, []int) { + return file_EffigyChallengeResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EffigyChallengeResultNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *EffigyChallengeResultNotify) GetChallengeMaxScore() uint32 { + if x != nil { + return x.ChallengeMaxScore + } + return 0 +} + +func (x *EffigyChallengeResultNotify) GetChallengeScore() uint32 { + if x != nil { + return x.ChallengeScore + } + return 0 +} + +func (x *EffigyChallengeResultNotify) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_EffigyChallengeResultNotify_proto protoreflect.FileDescriptor + +var file_EffigyChallengeResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x1b, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x11, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EffigyChallengeResultNotify_proto_rawDescOnce sync.Once + file_EffigyChallengeResultNotify_proto_rawDescData = file_EffigyChallengeResultNotify_proto_rawDesc +) + +func file_EffigyChallengeResultNotify_proto_rawDescGZIP() []byte { + file_EffigyChallengeResultNotify_proto_rawDescOnce.Do(func() { + file_EffigyChallengeResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EffigyChallengeResultNotify_proto_rawDescData) + }) + return file_EffigyChallengeResultNotify_proto_rawDescData +} + +var file_EffigyChallengeResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EffigyChallengeResultNotify_proto_goTypes = []interface{}{ + (*EffigyChallengeResultNotify)(nil), // 0: EffigyChallengeResultNotify +} +var file_EffigyChallengeResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EffigyChallengeResultNotify_proto_init() } +func file_EffigyChallengeResultNotify_proto_init() { + if File_EffigyChallengeResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EffigyChallengeResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EffigyChallengeResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EffigyChallengeResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EffigyChallengeResultNotify_proto_goTypes, + DependencyIndexes: file_EffigyChallengeResultNotify_proto_depIdxs, + MessageInfos: file_EffigyChallengeResultNotify_proto_msgTypes, + }.Build() + File_EffigyChallengeResultNotify_proto = out.File + file_EffigyChallengeResultNotify_proto_rawDesc = nil + file_EffigyChallengeResultNotify_proto_goTypes = nil + file_EffigyChallengeResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EffigyChallengeResultNotify.proto b/gate-hk4e-api/proto/EffigyChallengeResultNotify.proto new file mode 100644 index 00000000..75cef308 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyChallengeResultNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2046 +// EnetChannelId: 0 +// EnetIsReliable: true +message EffigyChallengeResultNotify { + bool is_success = 5; + uint32 challenge_max_score = 12; + uint32 challenge_score = 3; + uint32 challenge_id = 7; +} diff --git a/gate-hk4e-api/proto/EffigyDailyInfo.pb.go b/gate-hk4e-api/proto/EffigyDailyInfo.pb.go new file mode 100644 index 00000000..f485eda8 --- /dev/null +++ b/gate-hk4e-api/proto/EffigyDailyInfo.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EffigyDailyInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EffigyDailyInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeMaxScore uint32 `protobuf:"varint,6,opt,name=challenge_max_score,json=challengeMaxScore,proto3" json:"challenge_max_score,omitempty"` + IsFirstPassRewardTaken bool `protobuf:"varint,12,opt,name=is_first_pass_reward_taken,json=isFirstPassRewardTaken,proto3" json:"is_first_pass_reward_taken,omitempty"` + ChallengeTotalScore uint32 `protobuf:"varint,15,opt,name=challenge_total_score,json=challengeTotalScore,proto3" json:"challenge_total_score,omitempty"` + ChallengeId uint32 `protobuf:"varint,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + ChallengeCount uint32 `protobuf:"varint,3,opt,name=challenge_count,json=challengeCount,proto3" json:"challenge_count,omitempty"` + DayIndex uint32 `protobuf:"varint,14,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` + BeginTime uint32 `protobuf:"varint,2,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *EffigyDailyInfo) Reset() { + *x = EffigyDailyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EffigyDailyInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EffigyDailyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EffigyDailyInfo) ProtoMessage() {} + +func (x *EffigyDailyInfo) ProtoReflect() protoreflect.Message { + mi := &file_EffigyDailyInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EffigyDailyInfo.ProtoReflect.Descriptor instead. +func (*EffigyDailyInfo) Descriptor() ([]byte, []int) { + return file_EffigyDailyInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EffigyDailyInfo) GetChallengeMaxScore() uint32 { + if x != nil { + return x.ChallengeMaxScore + } + return 0 +} + +func (x *EffigyDailyInfo) GetIsFirstPassRewardTaken() bool { + if x != nil { + return x.IsFirstPassRewardTaken + } + return false +} + +func (x *EffigyDailyInfo) GetChallengeTotalScore() uint32 { + if x != nil { + return x.ChallengeTotalScore + } + return 0 +} + +func (x *EffigyDailyInfo) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *EffigyDailyInfo) GetChallengeCount() uint32 { + if x != nil { + return x.ChallengeCount + } + return 0 +} + +func (x *EffigyDailyInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +func (x *EffigyDailyInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_EffigyDailyInfo_proto protoreflect.FileDescriptor + +var file_EffigyDailyInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x02, 0x0a, 0x0f, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x3a, 0x0a, 0x1a, 0x69, + 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x16, 0x69, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x27, + 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x79, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EffigyDailyInfo_proto_rawDescOnce sync.Once + file_EffigyDailyInfo_proto_rawDescData = file_EffigyDailyInfo_proto_rawDesc +) + +func file_EffigyDailyInfo_proto_rawDescGZIP() []byte { + file_EffigyDailyInfo_proto_rawDescOnce.Do(func() { + file_EffigyDailyInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EffigyDailyInfo_proto_rawDescData) + }) + return file_EffigyDailyInfo_proto_rawDescData +} + +var file_EffigyDailyInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EffigyDailyInfo_proto_goTypes = []interface{}{ + (*EffigyDailyInfo)(nil), // 0: EffigyDailyInfo +} +var file_EffigyDailyInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EffigyDailyInfo_proto_init() } +func file_EffigyDailyInfo_proto_init() { + if File_EffigyDailyInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EffigyDailyInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EffigyDailyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EffigyDailyInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EffigyDailyInfo_proto_goTypes, + DependencyIndexes: file_EffigyDailyInfo_proto_depIdxs, + MessageInfos: file_EffigyDailyInfo_proto_msgTypes, + }.Build() + File_EffigyDailyInfo_proto = out.File + file_EffigyDailyInfo_proto_rawDesc = nil + file_EffigyDailyInfo_proto_goTypes = nil + file_EffigyDailyInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EffigyDailyInfo.proto b/gate-hk4e-api/proto/EffigyDailyInfo.proto new file mode 100644 index 00000000..0a18ef1e --- /dev/null +++ b/gate-hk4e-api/proto/EffigyDailyInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EffigyDailyInfo { + uint32 challenge_max_score = 6; + bool is_first_pass_reward_taken = 12; + uint32 challenge_total_score = 15; + uint32 challenge_id = 1; + uint32 challenge_count = 3; + uint32 day_index = 14; + uint32 begin_time = 2; +} diff --git a/gate-hk4e-api/proto/ElementReliquaryRequest.pb.go b/gate-hk4e-api/proto/ElementReliquaryRequest.pb.go new file mode 100644 index 00000000..4e699bc5 --- /dev/null +++ b/gate-hk4e-api/proto/ElementReliquaryRequest.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ElementReliquaryRequest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ElementReliquaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EquipType uint32 `protobuf:"varint,9,opt,name=equip_type,json=equipType,proto3" json:"equip_type,omitempty"` + ElementType uint32 `protobuf:"varint,12,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"` +} + +func (x *ElementReliquaryRequest) Reset() { + *x = ElementReliquaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ElementReliquaryRequest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ElementReliquaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ElementReliquaryRequest) ProtoMessage() {} + +func (x *ElementReliquaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_ElementReliquaryRequest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ElementReliquaryRequest.ProtoReflect.Descriptor instead. +func (*ElementReliquaryRequest) Descriptor() ([]byte, []int) { + return file_ElementReliquaryRequest_proto_rawDescGZIP(), []int{0} +} + +func (x *ElementReliquaryRequest) GetEquipType() uint32 { + if x != nil { + return x.EquipType + } + return 0 +} + +func (x *ElementReliquaryRequest) GetElementType() uint32 { + if x != nil { + return x.ElementType + } + return 0 +} + +var File_ElementReliquaryRequest_proto protoreflect.FileDescriptor + +var file_ElementReliquaryRequest_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5b, 0x0a, 0x17, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, + 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x71, + 0x75, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ElementReliquaryRequest_proto_rawDescOnce sync.Once + file_ElementReliquaryRequest_proto_rawDescData = file_ElementReliquaryRequest_proto_rawDesc +) + +func file_ElementReliquaryRequest_proto_rawDescGZIP() []byte { + file_ElementReliquaryRequest_proto_rawDescOnce.Do(func() { + file_ElementReliquaryRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_ElementReliquaryRequest_proto_rawDescData) + }) + return file_ElementReliquaryRequest_proto_rawDescData +} + +var file_ElementReliquaryRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ElementReliquaryRequest_proto_goTypes = []interface{}{ + (*ElementReliquaryRequest)(nil), // 0: ElementReliquaryRequest +} +var file_ElementReliquaryRequest_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ElementReliquaryRequest_proto_init() } +func file_ElementReliquaryRequest_proto_init() { + if File_ElementReliquaryRequest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ElementReliquaryRequest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ElementReliquaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ElementReliquaryRequest_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ElementReliquaryRequest_proto_goTypes, + DependencyIndexes: file_ElementReliquaryRequest_proto_depIdxs, + MessageInfos: file_ElementReliquaryRequest_proto_msgTypes, + }.Build() + File_ElementReliquaryRequest_proto = out.File + file_ElementReliquaryRequest_proto_rawDesc = nil + file_ElementReliquaryRequest_proto_goTypes = nil + file_ElementReliquaryRequest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ElementReliquaryRequest.proto b/gate-hk4e-api/proto/ElementReliquaryRequest.proto new file mode 100644 index 00000000..494f7d97 --- /dev/null +++ b/gate-hk4e-api/proto/ElementReliquaryRequest.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ElementReliquaryRequest { + uint32 equip_type = 9; + uint32 element_type = 12; +} diff --git a/gate-hk4e-api/proto/ElementReliquaryResponse.pb.go b/gate-hk4e-api/proto/ElementReliquaryResponse.pb.go new file mode 100644 index 00000000..a45d5d8b --- /dev/null +++ b/gate-hk4e-api/proto/ElementReliquaryResponse.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ElementReliquaryResponse.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ElementReliquaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ElementType uint32 `protobuf:"varint,11,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"` + Unk2700_DMDHDIHGPFA []*Unk2700_GBBDJMDIDEI `protobuf:"bytes,5,rep,name=Unk2700_DMDHDIHGPFA,json=Unk2700DMDHDIHGPFA,proto3" json:"Unk2700_DMDHDIHGPFA,omitempty"` + EquipType uint32 `protobuf:"varint,15,opt,name=equip_type,json=equipType,proto3" json:"equip_type,omitempty"` +} + +func (x *ElementReliquaryResponse) Reset() { + *x = ElementReliquaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ElementReliquaryResponse_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ElementReliquaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ElementReliquaryResponse) ProtoMessage() {} + +func (x *ElementReliquaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_ElementReliquaryResponse_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ElementReliquaryResponse.ProtoReflect.Descriptor instead. +func (*ElementReliquaryResponse) Descriptor() ([]byte, []int) { + return file_ElementReliquaryResponse_proto_rawDescGZIP(), []int{0} +} + +func (x *ElementReliquaryResponse) GetElementType() uint32 { + if x != nil { + return x.ElementType + } + return 0 +} + +func (x *ElementReliquaryResponse) GetUnk2700_DMDHDIHGPFA() []*Unk2700_GBBDJMDIDEI { + if x != nil { + return x.Unk2700_DMDHDIHGPFA + } + return nil +} + +func (x *ElementReliquaryResponse) GetEquipType() uint32 { + if x != nil { + return x.EquipType + } + return 0 +} + +var File_ElementReliquaryResponse_proto protoreflect.FileDescriptor + +var file_ElementReliquaryResponse_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, + 0x44, 0x49, 0x44, 0x45, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x18, + 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x44, 0x48, 0x44, 0x49, 0x48, 0x47, 0x50, + 0x46, 0x41, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x44, 0x49, 0x44, 0x45, 0x49, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4d, 0x44, 0x48, 0x44, 0x49, 0x48, 0x47, 0x50, + 0x46, 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ElementReliquaryResponse_proto_rawDescOnce sync.Once + file_ElementReliquaryResponse_proto_rawDescData = file_ElementReliquaryResponse_proto_rawDesc +) + +func file_ElementReliquaryResponse_proto_rawDescGZIP() []byte { + file_ElementReliquaryResponse_proto_rawDescOnce.Do(func() { + file_ElementReliquaryResponse_proto_rawDescData = protoimpl.X.CompressGZIP(file_ElementReliquaryResponse_proto_rawDescData) + }) + return file_ElementReliquaryResponse_proto_rawDescData +} + +var file_ElementReliquaryResponse_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ElementReliquaryResponse_proto_goTypes = []interface{}{ + (*ElementReliquaryResponse)(nil), // 0: ElementReliquaryResponse + (*Unk2700_GBBDJMDIDEI)(nil), // 1: Unk2700_GBBDJMDIDEI +} +var file_ElementReliquaryResponse_proto_depIdxs = []int32{ + 1, // 0: ElementReliquaryResponse.Unk2700_DMDHDIHGPFA:type_name -> Unk2700_GBBDJMDIDEI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ElementReliquaryResponse_proto_init() } +func file_ElementReliquaryResponse_proto_init() { + if File_ElementReliquaryResponse_proto != nil { + return + } + file_Unk2700_GBBDJMDIDEI_proto_init() + if !protoimpl.UnsafeEnabled { + file_ElementReliquaryResponse_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ElementReliquaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ElementReliquaryResponse_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ElementReliquaryResponse_proto_goTypes, + DependencyIndexes: file_ElementReliquaryResponse_proto_depIdxs, + MessageInfos: file_ElementReliquaryResponse_proto_msgTypes, + }.Build() + File_ElementReliquaryResponse_proto = out.File + file_ElementReliquaryResponse_proto_rawDesc = nil + file_ElementReliquaryResponse_proto_goTypes = nil + file_ElementReliquaryResponse_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ElementReliquaryResponse.proto b/gate-hk4e-api/proto/ElementReliquaryResponse.proto new file mode 100644 index 00000000..f3734c30 --- /dev/null +++ b/gate-hk4e-api/proto/ElementReliquaryResponse.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GBBDJMDIDEI.proto"; + +option go_package = "./;proto"; + +message ElementReliquaryResponse { + uint32 element_type = 11; + repeated Unk2700_GBBDJMDIDEI Unk2700_DMDHDIHGPFA = 5; + uint32 equip_type = 15; +} diff --git a/gate-hk4e-api/proto/EndCameraSceneLookNotify.pb.go b/gate-hk4e-api/proto/EndCameraSceneLookNotify.pb.go new file mode 100644 index 00000000..09309fa9 --- /dev/null +++ b/gate-hk4e-api/proto/EndCameraSceneLookNotify.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EndCameraSceneLookNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 217 +// EnetChannelId: 0 +// EnetIsReliable: true +type EndCameraSceneLookNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *EndCameraSceneLookNotify) Reset() { + *x = EndCameraSceneLookNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EndCameraSceneLookNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EndCameraSceneLookNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EndCameraSceneLookNotify) ProtoMessage() {} + +func (x *EndCameraSceneLookNotify) ProtoReflect() protoreflect.Message { + mi := &file_EndCameraSceneLookNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EndCameraSceneLookNotify.ProtoReflect.Descriptor instead. +func (*EndCameraSceneLookNotify) Descriptor() ([]byte, []int) { + return file_EndCameraSceneLookNotify_proto_rawDescGZIP(), []int{0} +} + +var File_EndCameraSceneLookNotify_proto protoreflect.FileDescriptor + +var file_EndCameraSceneLookNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x6e, 0x64, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x4c, 0x6f, 0x6f, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x1a, 0x0a, 0x18, 0x45, 0x6e, 0x64, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EndCameraSceneLookNotify_proto_rawDescOnce sync.Once + file_EndCameraSceneLookNotify_proto_rawDescData = file_EndCameraSceneLookNotify_proto_rawDesc +) + +func file_EndCameraSceneLookNotify_proto_rawDescGZIP() []byte { + file_EndCameraSceneLookNotify_proto_rawDescOnce.Do(func() { + file_EndCameraSceneLookNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EndCameraSceneLookNotify_proto_rawDescData) + }) + return file_EndCameraSceneLookNotify_proto_rawDescData +} + +var file_EndCameraSceneLookNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EndCameraSceneLookNotify_proto_goTypes = []interface{}{ + (*EndCameraSceneLookNotify)(nil), // 0: EndCameraSceneLookNotify +} +var file_EndCameraSceneLookNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EndCameraSceneLookNotify_proto_init() } +func file_EndCameraSceneLookNotify_proto_init() { + if File_EndCameraSceneLookNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EndCameraSceneLookNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndCameraSceneLookNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EndCameraSceneLookNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EndCameraSceneLookNotify_proto_goTypes, + DependencyIndexes: file_EndCameraSceneLookNotify_proto_depIdxs, + MessageInfos: file_EndCameraSceneLookNotify_proto_msgTypes, + }.Build() + File_EndCameraSceneLookNotify_proto = out.File + file_EndCameraSceneLookNotify_proto_rawDesc = nil + file_EndCameraSceneLookNotify_proto_goTypes = nil + file_EndCameraSceneLookNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EndCameraSceneLookNotify.proto b/gate-hk4e-api/proto/EndCameraSceneLookNotify.proto new file mode 100644 index 00000000..9d3189fe --- /dev/null +++ b/gate-hk4e-api/proto/EndCameraSceneLookNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 217 +// EnetChannelId: 0 +// EnetIsReliable: true +message EndCameraSceneLookNotify {} diff --git a/gate-hk4e-api/proto/EnterChessDungeonReq.pb.go b/gate-hk4e-api/proto/EnterChessDungeonReq.pb.go new file mode 100644 index 00000000..253cfd55 --- /dev/null +++ b/gate-hk4e-api/proto/EnterChessDungeonReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterChessDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8191 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterChessDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MapId uint32 `protobuf:"varint,12,opt,name=map_id,json=mapId,proto3" json:"map_id,omitempty"` +} + +func (x *EnterChessDungeonReq) Reset() { + *x = EnterChessDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterChessDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterChessDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterChessDungeonReq) ProtoMessage() {} + +func (x *EnterChessDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterChessDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterChessDungeonReq.ProtoReflect.Descriptor instead. +func (*EnterChessDungeonReq) Descriptor() ([]byte, []int) { + return file_EnterChessDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterChessDungeonReq) GetMapId() uint32 { + if x != nil { + return x.MapId + } + return 0 +} + +var File_EnterChessDungeonReq_proto protoreflect.FileDescriptor + +var file_EnterChessDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x68, 0x65, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x14, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x68, 0x65, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterChessDungeonReq_proto_rawDescOnce sync.Once + file_EnterChessDungeonReq_proto_rawDescData = file_EnterChessDungeonReq_proto_rawDesc +) + +func file_EnterChessDungeonReq_proto_rawDescGZIP() []byte { + file_EnterChessDungeonReq_proto_rawDescOnce.Do(func() { + file_EnterChessDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterChessDungeonReq_proto_rawDescData) + }) + return file_EnterChessDungeonReq_proto_rawDescData +} + +var file_EnterChessDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterChessDungeonReq_proto_goTypes = []interface{}{ + (*EnterChessDungeonReq)(nil), // 0: EnterChessDungeonReq +} +var file_EnterChessDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterChessDungeonReq_proto_init() } +func file_EnterChessDungeonReq_proto_init() { + if File_EnterChessDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterChessDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterChessDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterChessDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterChessDungeonReq_proto_goTypes, + DependencyIndexes: file_EnterChessDungeonReq_proto_depIdxs, + MessageInfos: file_EnterChessDungeonReq_proto_msgTypes, + }.Build() + File_EnterChessDungeonReq_proto = out.File + file_EnterChessDungeonReq_proto_rawDesc = nil + file_EnterChessDungeonReq_proto_goTypes = nil + file_EnterChessDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterChessDungeonReq.proto b/gate-hk4e-api/proto/EnterChessDungeonReq.proto new file mode 100644 index 00000000..deb34884 --- /dev/null +++ b/gate-hk4e-api/proto/EnterChessDungeonReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8191 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterChessDungeonReq { + uint32 map_id = 12; +} diff --git a/gate-hk4e-api/proto/EnterChessDungeonRsp.pb.go b/gate-hk4e-api/proto/EnterChessDungeonRsp.pb.go new file mode 100644 index 00000000..a0fd7956 --- /dev/null +++ b/gate-hk4e-api/proto/EnterChessDungeonRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterChessDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8592 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterChessDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + MapId uint32 `protobuf:"varint,13,opt,name=map_id,json=mapId,proto3" json:"map_id,omitempty"` +} + +func (x *EnterChessDungeonRsp) Reset() { + *x = EnterChessDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterChessDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterChessDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterChessDungeonRsp) ProtoMessage() {} + +func (x *EnterChessDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterChessDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterChessDungeonRsp.ProtoReflect.Descriptor instead. +func (*EnterChessDungeonRsp) Descriptor() ([]byte, []int) { + return file_EnterChessDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterChessDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EnterChessDungeonRsp) GetMapId() uint32 { + if x != nil { + return x.MapId + } + return 0 +} + +var File_EnterChessDungeonRsp_proto protoreflect.FileDescriptor + +var file_EnterChessDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x68, 0x65, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x14, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x68, 0x65, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x15, + 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6d, 0x61, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterChessDungeonRsp_proto_rawDescOnce sync.Once + file_EnterChessDungeonRsp_proto_rawDescData = file_EnterChessDungeonRsp_proto_rawDesc +) + +func file_EnterChessDungeonRsp_proto_rawDescGZIP() []byte { + file_EnterChessDungeonRsp_proto_rawDescOnce.Do(func() { + file_EnterChessDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterChessDungeonRsp_proto_rawDescData) + }) + return file_EnterChessDungeonRsp_proto_rawDescData +} + +var file_EnterChessDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterChessDungeonRsp_proto_goTypes = []interface{}{ + (*EnterChessDungeonRsp)(nil), // 0: EnterChessDungeonRsp +} +var file_EnterChessDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterChessDungeonRsp_proto_init() } +func file_EnterChessDungeonRsp_proto_init() { + if File_EnterChessDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterChessDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterChessDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterChessDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterChessDungeonRsp_proto_goTypes, + DependencyIndexes: file_EnterChessDungeonRsp_proto_depIdxs, + MessageInfos: file_EnterChessDungeonRsp_proto_msgTypes, + }.Build() + File_EnterChessDungeonRsp_proto = out.File + file_EnterChessDungeonRsp_proto_rawDesc = nil + file_EnterChessDungeonRsp_proto_goTypes = nil + file_EnterChessDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterChessDungeonRsp.proto b/gate-hk4e-api/proto/EnterChessDungeonRsp.proto new file mode 100644 index 00000000..7dd83c37 --- /dev/null +++ b/gate-hk4e-api/proto/EnterChessDungeonRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8592 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterChessDungeonRsp { + int32 retcode = 8; + uint32 map_id = 13; +} diff --git a/gate-hk4e-api/proto/EnterFishingReq.pb.go b/gate-hk4e-api/proto/EnterFishingReq.pb.go new file mode 100644 index 00000000..590bc18e --- /dev/null +++ b/gate-hk4e-api/proto/EnterFishingReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterFishingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5826 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterFishingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishPoolId uint32 `protobuf:"varint,3,opt,name=fish_pool_id,json=fishPoolId,proto3" json:"fish_pool_id,omitempty"` +} + +func (x *EnterFishingReq) Reset() { + *x = EnterFishingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterFishingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterFishingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterFishingReq) ProtoMessage() {} + +func (x *EnterFishingReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterFishingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterFishingReq.ProtoReflect.Descriptor instead. +func (*EnterFishingReq) Descriptor() ([]byte, []int) { + return file_EnterFishingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterFishingReq) GetFishPoolId() uint32 { + if x != nil { + return x.FishPoolId + } + return 0 +} + +var File_EnterFishingReq_proto protoreflect.FileDescriptor + +var file_EnterFishingReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x69, + 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterFishingReq_proto_rawDescOnce sync.Once + file_EnterFishingReq_proto_rawDescData = file_EnterFishingReq_proto_rawDesc +) + +func file_EnterFishingReq_proto_rawDescGZIP() []byte { + file_EnterFishingReq_proto_rawDescOnce.Do(func() { + file_EnterFishingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterFishingReq_proto_rawDescData) + }) + return file_EnterFishingReq_proto_rawDescData +} + +var file_EnterFishingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterFishingReq_proto_goTypes = []interface{}{ + (*EnterFishingReq)(nil), // 0: EnterFishingReq +} +var file_EnterFishingReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterFishingReq_proto_init() } +func file_EnterFishingReq_proto_init() { + if File_EnterFishingReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterFishingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterFishingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterFishingReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterFishingReq_proto_goTypes, + DependencyIndexes: file_EnterFishingReq_proto_depIdxs, + MessageInfos: file_EnterFishingReq_proto_msgTypes, + }.Build() + File_EnterFishingReq_proto = out.File + file_EnterFishingReq_proto_rawDesc = nil + file_EnterFishingReq_proto_goTypes = nil + file_EnterFishingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterFishingReq.proto b/gate-hk4e-api/proto/EnterFishingReq.proto new file mode 100644 index 00000000..437425d0 --- /dev/null +++ b/gate-hk4e-api/proto/EnterFishingReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5826 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterFishingReq { + uint32 fish_pool_id = 3; +} diff --git a/gate-hk4e-api/proto/EnterFishingRsp.pb.go b/gate-hk4e-api/proto/EnterFishingRsp.pb.go new file mode 100644 index 00000000..13adb59c --- /dev/null +++ b/gate-hk4e-api/proto/EnterFishingRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterFishingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5818 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterFishingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + FishPoolId uint32 `protobuf:"varint,9,opt,name=fish_pool_id,json=fishPoolId,proto3" json:"fish_pool_id,omitempty"` +} + +func (x *EnterFishingRsp) Reset() { + *x = EnterFishingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterFishingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterFishingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterFishingRsp) ProtoMessage() {} + +func (x *EnterFishingRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterFishingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterFishingRsp.ProtoReflect.Descriptor instead. +func (*EnterFishingRsp) Descriptor() ([]byte, []int) { + return file_EnterFishingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterFishingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EnterFishingRsp) GetFishPoolId() uint32 { + if x != nil { + return x.FishPoolId + } + return 0 +} + +var File_EnterFishingRsp_proto protoreflect.FileDescriptor + +var file_EnterFishingRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, + 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterFishingRsp_proto_rawDescOnce sync.Once + file_EnterFishingRsp_proto_rawDescData = file_EnterFishingRsp_proto_rawDesc +) + +func file_EnterFishingRsp_proto_rawDescGZIP() []byte { + file_EnterFishingRsp_proto_rawDescOnce.Do(func() { + file_EnterFishingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterFishingRsp_proto_rawDescData) + }) + return file_EnterFishingRsp_proto_rawDescData +} + +var file_EnterFishingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterFishingRsp_proto_goTypes = []interface{}{ + (*EnterFishingRsp)(nil), // 0: EnterFishingRsp +} +var file_EnterFishingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterFishingRsp_proto_init() } +func file_EnterFishingRsp_proto_init() { + if File_EnterFishingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterFishingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterFishingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterFishingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterFishingRsp_proto_goTypes, + DependencyIndexes: file_EnterFishingRsp_proto_depIdxs, + MessageInfos: file_EnterFishingRsp_proto_msgTypes, + }.Build() + File_EnterFishingRsp_proto = out.File + file_EnterFishingRsp_proto_rawDesc = nil + file_EnterFishingRsp_proto_goTypes = nil + file_EnterFishingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterFishingRsp.proto b/gate-hk4e-api/proto/EnterFishingRsp.proto new file mode 100644 index 00000000..135a6446 --- /dev/null +++ b/gate-hk4e-api/proto/EnterFishingRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5818 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterFishingRsp { + int32 retcode = 7; + uint32 fish_pool_id = 9; +} diff --git a/gate-hk4e-api/proto/EnterMechanicusDungeonReq.pb.go b/gate-hk4e-api/proto/EnterMechanicusDungeonReq.pb.go new file mode 100644 index 00000000..3e26c73f --- /dev/null +++ b/gate-hk4e-api/proto/EnterMechanicusDungeonReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterMechanicusDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3931 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterMechanicusDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultLevel uint32 `protobuf:"varint,7,opt,name=difficult_level,json=difficultLevel,proto3" json:"difficult_level,omitempty"` +} + +func (x *EnterMechanicusDungeonReq) Reset() { + *x = EnterMechanicusDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterMechanicusDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterMechanicusDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterMechanicusDungeonReq) ProtoMessage() {} + +func (x *EnterMechanicusDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterMechanicusDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterMechanicusDungeonReq.ProtoReflect.Descriptor instead. +func (*EnterMechanicusDungeonReq) Descriptor() ([]byte, []int) { + return file_EnterMechanicusDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterMechanicusDungeonReq) GetDifficultLevel() uint32 { + if x != nil { + return x.DifficultLevel + } + return 0 +} + +var File_EnterMechanicusDungeonReq_proto protoreflect.FileDescriptor + +var file_EnterMechanicusDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, + 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x44, 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x27, + 0x0a, 0x0f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterMechanicusDungeonReq_proto_rawDescOnce sync.Once + file_EnterMechanicusDungeonReq_proto_rawDescData = file_EnterMechanicusDungeonReq_proto_rawDesc +) + +func file_EnterMechanicusDungeonReq_proto_rawDescGZIP() []byte { + file_EnterMechanicusDungeonReq_proto_rawDescOnce.Do(func() { + file_EnterMechanicusDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterMechanicusDungeonReq_proto_rawDescData) + }) + return file_EnterMechanicusDungeonReq_proto_rawDescData +} + +var file_EnterMechanicusDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterMechanicusDungeonReq_proto_goTypes = []interface{}{ + (*EnterMechanicusDungeonReq)(nil), // 0: EnterMechanicusDungeonReq +} +var file_EnterMechanicusDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterMechanicusDungeonReq_proto_init() } +func file_EnterMechanicusDungeonReq_proto_init() { + if File_EnterMechanicusDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterMechanicusDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterMechanicusDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterMechanicusDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterMechanicusDungeonReq_proto_goTypes, + DependencyIndexes: file_EnterMechanicusDungeonReq_proto_depIdxs, + MessageInfos: file_EnterMechanicusDungeonReq_proto_msgTypes, + }.Build() + File_EnterMechanicusDungeonReq_proto = out.File + file_EnterMechanicusDungeonReq_proto_rawDesc = nil + file_EnterMechanicusDungeonReq_proto_goTypes = nil + file_EnterMechanicusDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterMechanicusDungeonReq.proto b/gate-hk4e-api/proto/EnterMechanicusDungeonReq.proto new file mode 100644 index 00000000..3ebbab83 --- /dev/null +++ b/gate-hk4e-api/proto/EnterMechanicusDungeonReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3931 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterMechanicusDungeonReq { + uint32 difficult_level = 7; +} diff --git a/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.pb.go b/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.pb.go new file mode 100644 index 00000000..7827bf3d --- /dev/null +++ b/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterMechanicusDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3975 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterMechanicusDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WrongUid uint32 `protobuf:"varint,12,opt,name=wrong_uid,json=wrongUid,proto3" json:"wrong_uid,omitempty"` + DifficultLevel uint32 `protobuf:"varint,13,opt,name=difficult_level,json=difficultLevel,proto3" json:"difficult_level,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + DungeonId uint32 `protobuf:"varint,11,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *EnterMechanicusDungeonRsp) Reset() { + *x = EnterMechanicusDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterMechanicusDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterMechanicusDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterMechanicusDungeonRsp) ProtoMessage() {} + +func (x *EnterMechanicusDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterMechanicusDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterMechanicusDungeonRsp.ProtoReflect.Descriptor instead. +func (*EnterMechanicusDungeonRsp) Descriptor() ([]byte, []int) { + return file_EnterMechanicusDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterMechanicusDungeonRsp) GetWrongUid() uint32 { + if x != nil { + return x.WrongUid + } + return 0 +} + +func (x *EnterMechanicusDungeonRsp) GetDifficultLevel() uint32 { + if x != nil { + return x.DifficultLevel + } + return 0 +} + +func (x *EnterMechanicusDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EnterMechanicusDungeonRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_EnterMechanicusDungeonRsp_proto protoreflect.FileDescriptor + +var file_EnterMechanicusDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, + 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x63, 0x68, 0x61, + 0x6e, 0x69, 0x63, 0x75, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, + 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x55, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EnterMechanicusDungeonRsp_proto_rawDescOnce sync.Once + file_EnterMechanicusDungeonRsp_proto_rawDescData = file_EnterMechanicusDungeonRsp_proto_rawDesc +) + +func file_EnterMechanicusDungeonRsp_proto_rawDescGZIP() []byte { + file_EnterMechanicusDungeonRsp_proto_rawDescOnce.Do(func() { + file_EnterMechanicusDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterMechanicusDungeonRsp_proto_rawDescData) + }) + return file_EnterMechanicusDungeonRsp_proto_rawDescData +} + +var file_EnterMechanicusDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterMechanicusDungeonRsp_proto_goTypes = []interface{}{ + (*EnterMechanicusDungeonRsp)(nil), // 0: EnterMechanicusDungeonRsp +} +var file_EnterMechanicusDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterMechanicusDungeonRsp_proto_init() } +func file_EnterMechanicusDungeonRsp_proto_init() { + if File_EnterMechanicusDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterMechanicusDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterMechanicusDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterMechanicusDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterMechanicusDungeonRsp_proto_goTypes, + DependencyIndexes: file_EnterMechanicusDungeonRsp_proto_depIdxs, + MessageInfos: file_EnterMechanicusDungeonRsp_proto_msgTypes, + }.Build() + File_EnterMechanicusDungeonRsp_proto = out.File + file_EnterMechanicusDungeonRsp_proto_rawDesc = nil + file_EnterMechanicusDungeonRsp_proto_goTypes = nil + file_EnterMechanicusDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.proto b/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.proto new file mode 100644 index 00000000..8e87f9b8 --- /dev/null +++ b/gate-hk4e-api/proto/EnterMechanicusDungeonRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3975 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterMechanicusDungeonRsp { + uint32 wrong_uid = 12; + uint32 difficult_level = 13; + int32 retcode = 6; + uint32 dungeon_id = 11; +} diff --git a/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.pb.go b/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.pb.go new file mode 100644 index 00000000..cb71f64a --- /dev/null +++ b/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.pb.go @@ -0,0 +1,345 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterRoguelikeDungeonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8652 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterRoguelikeDungeonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsMistClear bool `protobuf:"varint,14,opt,name=is_mist_clear,json=isMistClear,proto3" json:"is_mist_clear,omitempty"` + DungeonWeightConfigId uint32 `protobuf:"varint,2,opt,name=dungeon_weight_config_id,json=dungeonWeightConfigId,proto3" json:"dungeon_weight_config_id,omitempty"` + RuneRecordList []*RoguelikeRuneRecord `protobuf:"bytes,6,rep,name=rune_record_list,json=runeRecordList,proto3" json:"rune_record_list,omitempty"` + OnstageAvatarGuidList []uint64 `protobuf:"varint,9,rep,packed,name=onstage_avatar_guid_list,json=onstageAvatarGuidList,proto3" json:"onstage_avatar_guid_list,omitempty"` + IsFirstEnter bool `protobuf:"varint,205,opt,name=is_first_enter,json=isFirstEnter,proto3" json:"is_first_enter,omitempty"` + ExploredCellList []uint32 `protobuf:"varint,3,rep,packed,name=explored_cell_list,json=exploredCellList,proto3" json:"explored_cell_list,omitempty"` + CellInfoMap map[uint32]*RogueCellInfo `protobuf:"bytes,11,rep,name=cell_info_map,json=cellInfoMap,proto3" json:"cell_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DungeonId uint32 `protobuf:"varint,1,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + RefreshCostItemCount uint32 `protobuf:"varint,1999,opt,name=refresh_cost_item_count,json=refreshCostItemCount,proto3" json:"refresh_cost_item_count,omitempty"` + BonusResourceProp float32 `protobuf:"fixed32,13,opt,name=bonus_resource_prop,json=bonusResourceProp,proto3" json:"bonus_resource_prop,omitempty"` + ReviseMonsterLevel uint32 `protobuf:"varint,1541,opt,name=revise_monster_level,json=reviseMonsterLevel,proto3" json:"revise_monster_level,omitempty"` + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + BackstageAvatarGuidList []uint64 `protobuf:"varint,10,rep,packed,name=backstage_avatar_guid_list,json=backstageAvatarGuidList,proto3" json:"backstage_avatar_guid_list,omitempty"` + CurCellId uint32 `protobuf:"varint,12,opt,name=cur_cell_id,json=curCellId,proto3" json:"cur_cell_id,omitempty"` + RefreshCostItemId uint32 `protobuf:"varint,7,opt,name=refresh_cost_item_id,json=refreshCostItemId,proto3" json:"refresh_cost_item_id,omitempty"` + CurLevel uint32 `protobuf:"varint,8,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` +} + +func (x *EnterRoguelikeDungeonNotify) Reset() { + *x = EnterRoguelikeDungeonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterRoguelikeDungeonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterRoguelikeDungeonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterRoguelikeDungeonNotify) ProtoMessage() {} + +func (x *EnterRoguelikeDungeonNotify) ProtoReflect() protoreflect.Message { + mi := &file_EnterRoguelikeDungeonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterRoguelikeDungeonNotify.ProtoReflect.Descriptor instead. +func (*EnterRoguelikeDungeonNotify) Descriptor() ([]byte, []int) { + return file_EnterRoguelikeDungeonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterRoguelikeDungeonNotify) GetIsMistClear() bool { + if x != nil { + return x.IsMistClear + } + return false +} + +func (x *EnterRoguelikeDungeonNotify) GetDungeonWeightConfigId() uint32 { + if x != nil { + return x.DungeonWeightConfigId + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetRuneRecordList() []*RoguelikeRuneRecord { + if x != nil { + return x.RuneRecordList + } + return nil +} + +func (x *EnterRoguelikeDungeonNotify) GetOnstageAvatarGuidList() []uint64 { + if x != nil { + return x.OnstageAvatarGuidList + } + return nil +} + +func (x *EnterRoguelikeDungeonNotify) GetIsFirstEnter() bool { + if x != nil { + return x.IsFirstEnter + } + return false +} + +func (x *EnterRoguelikeDungeonNotify) GetExploredCellList() []uint32 { + if x != nil { + return x.ExploredCellList + } + return nil +} + +func (x *EnterRoguelikeDungeonNotify) GetCellInfoMap() map[uint32]*RogueCellInfo { + if x != nil { + return x.CellInfoMap + } + return nil +} + +func (x *EnterRoguelikeDungeonNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetRefreshCostItemCount() uint32 { + if x != nil { + return x.RefreshCostItemCount + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetBonusResourceProp() float32 { + if x != nil { + return x.BonusResourceProp + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetReviseMonsterLevel() uint32 { + if x != nil { + return x.ReviseMonsterLevel + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetBackstageAvatarGuidList() []uint64 { + if x != nil { + return x.BackstageAvatarGuidList + } + return nil +} + +func (x *EnterRoguelikeDungeonNotify) GetCurCellId() uint32 { + if x != nil { + return x.CurCellId + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetRefreshCostItemId() uint32 { + if x != nil { + return x.RefreshCostItemId + } + return 0 +} + +func (x *EnterRoguelikeDungeonNotify) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +var File_EnterRoguelikeDungeonNotify_proto protoreflect.FileDescriptor + +var file_EnterRoguelikeDungeonNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, + 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x06, 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6d, 0x69, 0x73, 0x74, 0x5f, 0x63, + 0x6c, 0x65, 0x61, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4d, 0x69, + 0x73, 0x74, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x12, 0x37, 0x0a, 0x18, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, + 0x12, 0x3e, 0x0a, 0x10, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x52, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x37, 0x0a, 0x18, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x04, 0x52, 0x15, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0xcd, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x78, + 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x51, + 0x0a, 0x0d, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x73, 0x74, + 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0xcf, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x14, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x73, 0x74, 0x49, + 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x6f, 0x6e, 0x75, + 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x85, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x72, 0x65, 0x76, 0x69, 0x73, 0x65, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x04, 0x52, 0x17, 0x62, 0x61, 0x63, 0x6b, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x75, 0x72, 0x43, 0x65, 0x6c, + 0x6c, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x63, + 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, + 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x1a, 0x4e, 0x0a, 0x10, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterRoguelikeDungeonNotify_proto_rawDescOnce sync.Once + file_EnterRoguelikeDungeonNotify_proto_rawDescData = file_EnterRoguelikeDungeonNotify_proto_rawDesc +) + +func file_EnterRoguelikeDungeonNotify_proto_rawDescGZIP() []byte { + file_EnterRoguelikeDungeonNotify_proto_rawDescOnce.Do(func() { + file_EnterRoguelikeDungeonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterRoguelikeDungeonNotify_proto_rawDescData) + }) + return file_EnterRoguelikeDungeonNotify_proto_rawDescData +} + +var file_EnterRoguelikeDungeonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EnterRoguelikeDungeonNotify_proto_goTypes = []interface{}{ + (*EnterRoguelikeDungeonNotify)(nil), // 0: EnterRoguelikeDungeonNotify + nil, // 1: EnterRoguelikeDungeonNotify.CellInfoMapEntry + (*RoguelikeRuneRecord)(nil), // 2: RoguelikeRuneRecord + (*RogueCellInfo)(nil), // 3: RogueCellInfo +} +var file_EnterRoguelikeDungeonNotify_proto_depIdxs = []int32{ + 2, // 0: EnterRoguelikeDungeonNotify.rune_record_list:type_name -> RoguelikeRuneRecord + 1, // 1: EnterRoguelikeDungeonNotify.cell_info_map:type_name -> EnterRoguelikeDungeonNotify.CellInfoMapEntry + 3, // 2: EnterRoguelikeDungeonNotify.CellInfoMapEntry.value:type_name -> RogueCellInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EnterRoguelikeDungeonNotify_proto_init() } +func file_EnterRoguelikeDungeonNotify_proto_init() { + if File_EnterRoguelikeDungeonNotify_proto != nil { + return + } + file_RogueCellInfo_proto_init() + file_RoguelikeRuneRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_EnterRoguelikeDungeonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterRoguelikeDungeonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterRoguelikeDungeonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterRoguelikeDungeonNotify_proto_goTypes, + DependencyIndexes: file_EnterRoguelikeDungeonNotify_proto_depIdxs, + MessageInfos: file_EnterRoguelikeDungeonNotify_proto_msgTypes, + }.Build() + File_EnterRoguelikeDungeonNotify_proto = out.File + file_EnterRoguelikeDungeonNotify_proto_rawDesc = nil + file_EnterRoguelikeDungeonNotify_proto_goTypes = nil + file_EnterRoguelikeDungeonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.proto b/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.proto new file mode 100644 index 00000000..e05c4d4c --- /dev/null +++ b/gate-hk4e-api/proto/EnterRoguelikeDungeonNotify.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueCellInfo.proto"; +import "RoguelikeRuneRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 8652 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterRoguelikeDungeonNotify { + bool is_mist_clear = 14; + uint32 dungeon_weight_config_id = 2; + repeated RoguelikeRuneRecord rune_record_list = 6; + repeated uint64 onstage_avatar_guid_list = 9; + bool is_first_enter = 205; + repeated uint32 explored_cell_list = 3; + map cell_info_map = 11; + uint32 dungeon_id = 1; + uint32 refresh_cost_item_count = 1999; + float bonus_resource_prop = 13; + uint32 revise_monster_level = 1541; + uint32 stage_id = 15; + repeated uint64 backstage_avatar_guid_list = 10; + uint32 cur_cell_id = 12; + uint32 refresh_cost_item_id = 7; + uint32 cur_level = 8; +} diff --git a/gate-hk4e-api/proto/EnterSceneDoneReq.pb.go b/gate-hk4e-api/proto/EnterSceneDoneReq.pb.go new file mode 100644 index 00000000..51aa5ce1 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneDoneReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterSceneDoneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 277 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterSceneDoneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,11,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *EnterSceneDoneReq) Reset() { + *x = EnterSceneDoneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterSceneDoneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterSceneDoneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterSceneDoneReq) ProtoMessage() {} + +func (x *EnterSceneDoneReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterSceneDoneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterSceneDoneReq.ProtoReflect.Descriptor instead. +func (*EnterSceneDoneReq) Descriptor() ([]byte, []int) { + return file_EnterSceneDoneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterSceneDoneReq) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_EnterSceneDoneReq_proto protoreflect.FileDescriptor + +var file_EnterSceneDoneReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x6f, 0x6e, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x11, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x2a, + 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterSceneDoneReq_proto_rawDescOnce sync.Once + file_EnterSceneDoneReq_proto_rawDescData = file_EnterSceneDoneReq_proto_rawDesc +) + +func file_EnterSceneDoneReq_proto_rawDescGZIP() []byte { + file_EnterSceneDoneReq_proto_rawDescOnce.Do(func() { + file_EnterSceneDoneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterSceneDoneReq_proto_rawDescData) + }) + return file_EnterSceneDoneReq_proto_rawDescData +} + +var file_EnterSceneDoneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterSceneDoneReq_proto_goTypes = []interface{}{ + (*EnterSceneDoneReq)(nil), // 0: EnterSceneDoneReq +} +var file_EnterSceneDoneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterSceneDoneReq_proto_init() } +func file_EnterSceneDoneReq_proto_init() { + if File_EnterSceneDoneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterSceneDoneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterSceneDoneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterSceneDoneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterSceneDoneReq_proto_goTypes, + DependencyIndexes: file_EnterSceneDoneReq_proto_depIdxs, + MessageInfos: file_EnterSceneDoneReq_proto_msgTypes, + }.Build() + File_EnterSceneDoneReq_proto = out.File + file_EnterSceneDoneReq_proto_rawDesc = nil + file_EnterSceneDoneReq_proto_goTypes = nil + file_EnterSceneDoneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterSceneDoneReq.proto b/gate-hk4e-api/proto/EnterSceneDoneReq.proto new file mode 100644 index 00000000..21613d25 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneDoneReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 277 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterSceneDoneReq { + uint32 enter_scene_token = 11; +} diff --git a/gate-hk4e-api/proto/EnterSceneDoneRsp.pb.go b/gate-hk4e-api/proto/EnterSceneDoneRsp.pb.go new file mode 100644 index 00000000..a1cbddc7 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneDoneRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterSceneDoneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 237 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterSceneDoneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,15,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EnterSceneDoneRsp) Reset() { + *x = EnterSceneDoneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterSceneDoneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterSceneDoneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterSceneDoneRsp) ProtoMessage() {} + +func (x *EnterSceneDoneRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterSceneDoneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterSceneDoneRsp.ProtoReflect.Descriptor instead. +func (*EnterSceneDoneRsp) Descriptor() ([]byte, []int) { + return file_EnterSceneDoneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterSceneDoneRsp) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +func (x *EnterSceneDoneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EnterSceneDoneRsp_proto protoreflect.FileDescriptor + +var file_EnterSceneDoneRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x6f, 0x6e, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x11, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x2a, + 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterSceneDoneRsp_proto_rawDescOnce sync.Once + file_EnterSceneDoneRsp_proto_rawDescData = file_EnterSceneDoneRsp_proto_rawDesc +) + +func file_EnterSceneDoneRsp_proto_rawDescGZIP() []byte { + file_EnterSceneDoneRsp_proto_rawDescOnce.Do(func() { + file_EnterSceneDoneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterSceneDoneRsp_proto_rawDescData) + }) + return file_EnterSceneDoneRsp_proto_rawDescData +} + +var file_EnterSceneDoneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterSceneDoneRsp_proto_goTypes = []interface{}{ + (*EnterSceneDoneRsp)(nil), // 0: EnterSceneDoneRsp +} +var file_EnterSceneDoneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterSceneDoneRsp_proto_init() } +func file_EnterSceneDoneRsp_proto_init() { + if File_EnterSceneDoneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterSceneDoneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterSceneDoneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterSceneDoneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterSceneDoneRsp_proto_goTypes, + DependencyIndexes: file_EnterSceneDoneRsp_proto_depIdxs, + MessageInfos: file_EnterSceneDoneRsp_proto_msgTypes, + }.Build() + File_EnterSceneDoneRsp_proto = out.File + file_EnterSceneDoneRsp_proto_rawDesc = nil + file_EnterSceneDoneRsp_proto_goTypes = nil + file_EnterSceneDoneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterSceneDoneRsp.proto b/gate-hk4e-api/proto/EnterSceneDoneRsp.proto new file mode 100644 index 00000000..7ee98967 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneDoneRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 237 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterSceneDoneRsp { + uint32 enter_scene_token = 15; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/EnterScenePeerNotify.pb.go b/gate-hk4e-api/proto/EnterScenePeerNotify.pb.go new file mode 100644 index 00000000..8973277a --- /dev/null +++ b/gate-hk4e-api/proto/EnterScenePeerNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterScenePeerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 252 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterScenePeerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DestSceneId uint32 `protobuf:"varint,12,opt,name=dest_scene_id,json=destSceneId,proto3" json:"dest_scene_id,omitempty"` + EnterSceneToken uint32 `protobuf:"varint,11,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` + HostPeerId uint32 `protobuf:"varint,14,opt,name=host_peer_id,json=hostPeerId,proto3" json:"host_peer_id,omitempty"` + PeerId uint32 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` +} + +func (x *EnterScenePeerNotify) Reset() { + *x = EnterScenePeerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterScenePeerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterScenePeerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterScenePeerNotify) ProtoMessage() {} + +func (x *EnterScenePeerNotify) ProtoReflect() protoreflect.Message { + mi := &file_EnterScenePeerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterScenePeerNotify.ProtoReflect.Descriptor instead. +func (*EnterScenePeerNotify) Descriptor() ([]byte, []int) { + return file_EnterScenePeerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterScenePeerNotify) GetDestSceneId() uint32 { + if x != nil { + return x.DestSceneId + } + return 0 +} + +func (x *EnterScenePeerNotify) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +func (x *EnterScenePeerNotify) GetHostPeerId() uint32 { + if x != nil { + return x.HostPeerId + } + return 0 +} + +func (x *EnterScenePeerNotify) GetPeerId() uint32 { + if x != nil { + return x.PeerId + } + return 0 +} + +var File_EnterScenePeerNotify_proto protoreflect.FileDescriptor + +var file_EnterScenePeerNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, + 0x14, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x65, 0x72, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x6f, 0x73, + 0x74, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterScenePeerNotify_proto_rawDescOnce sync.Once + file_EnterScenePeerNotify_proto_rawDescData = file_EnterScenePeerNotify_proto_rawDesc +) + +func file_EnterScenePeerNotify_proto_rawDescGZIP() []byte { + file_EnterScenePeerNotify_proto_rawDescOnce.Do(func() { + file_EnterScenePeerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterScenePeerNotify_proto_rawDescData) + }) + return file_EnterScenePeerNotify_proto_rawDescData +} + +var file_EnterScenePeerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterScenePeerNotify_proto_goTypes = []interface{}{ + (*EnterScenePeerNotify)(nil), // 0: EnterScenePeerNotify +} +var file_EnterScenePeerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterScenePeerNotify_proto_init() } +func file_EnterScenePeerNotify_proto_init() { + if File_EnterScenePeerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterScenePeerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterScenePeerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterScenePeerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterScenePeerNotify_proto_goTypes, + DependencyIndexes: file_EnterScenePeerNotify_proto_depIdxs, + MessageInfos: file_EnterScenePeerNotify_proto_msgTypes, + }.Build() + File_EnterScenePeerNotify_proto = out.File + file_EnterScenePeerNotify_proto_rawDesc = nil + file_EnterScenePeerNotify_proto_goTypes = nil + file_EnterScenePeerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterScenePeerNotify.proto b/gate-hk4e-api/proto/EnterScenePeerNotify.proto new file mode 100644 index 00000000..3f9e9850 --- /dev/null +++ b/gate-hk4e-api/proto/EnterScenePeerNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 252 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterScenePeerNotify { + uint32 dest_scene_id = 12; + uint32 enter_scene_token = 11; + uint32 host_peer_id = 14; + uint32 peer_id = 1; +} diff --git a/gate-hk4e-api/proto/EnterSceneReadyReq.pb.go b/gate-hk4e-api/proto/EnterSceneReadyReq.pb.go new file mode 100644 index 00000000..964a0080 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneReadyReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterSceneReadyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 208 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterSceneReadyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,9,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *EnterSceneReadyReq) Reset() { + *x = EnterSceneReadyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterSceneReadyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterSceneReadyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterSceneReadyReq) ProtoMessage() {} + +func (x *EnterSceneReadyReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterSceneReadyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterSceneReadyReq.ProtoReflect.Descriptor instead. +func (*EnterSceneReadyReq) Descriptor() ([]byte, []int) { + return file_EnterSceneReadyReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterSceneReadyReq) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_EnterSceneReadyReq_proto protoreflect.FileDescriptor + +var file_EnterSceneReadyReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, + 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x12, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, + 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterSceneReadyReq_proto_rawDescOnce sync.Once + file_EnterSceneReadyReq_proto_rawDescData = file_EnterSceneReadyReq_proto_rawDesc +) + +func file_EnterSceneReadyReq_proto_rawDescGZIP() []byte { + file_EnterSceneReadyReq_proto_rawDescOnce.Do(func() { + file_EnterSceneReadyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterSceneReadyReq_proto_rawDescData) + }) + return file_EnterSceneReadyReq_proto_rawDescData +} + +var file_EnterSceneReadyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterSceneReadyReq_proto_goTypes = []interface{}{ + (*EnterSceneReadyReq)(nil), // 0: EnterSceneReadyReq +} +var file_EnterSceneReadyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterSceneReadyReq_proto_init() } +func file_EnterSceneReadyReq_proto_init() { + if File_EnterSceneReadyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterSceneReadyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterSceneReadyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterSceneReadyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterSceneReadyReq_proto_goTypes, + DependencyIndexes: file_EnterSceneReadyReq_proto_depIdxs, + MessageInfos: file_EnterSceneReadyReq_proto_msgTypes, + }.Build() + File_EnterSceneReadyReq_proto = out.File + file_EnterSceneReadyReq_proto_rawDesc = nil + file_EnterSceneReadyReq_proto_goTypes = nil + file_EnterSceneReadyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterSceneReadyReq.proto b/gate-hk4e-api/proto/EnterSceneReadyReq.proto new file mode 100644 index 00000000..ecb5f290 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneReadyReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 208 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterSceneReadyReq { + uint32 enter_scene_token = 9; +} diff --git a/gate-hk4e-api/proto/EnterSceneReadyRsp.pb.go b/gate-hk4e-api/proto/EnterSceneReadyRsp.pb.go new file mode 100644 index 00000000..d33cadb9 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneReadyRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterSceneReadyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 209 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterSceneReadyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,1,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EnterSceneReadyRsp) Reset() { + *x = EnterSceneReadyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterSceneReadyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterSceneReadyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterSceneReadyRsp) ProtoMessage() {} + +func (x *EnterSceneReadyRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterSceneReadyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterSceneReadyRsp.ProtoReflect.Descriptor instead. +func (*EnterSceneReadyRsp) Descriptor() ([]byte, []int) { + return file_EnterSceneReadyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterSceneReadyRsp) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +func (x *EnterSceneReadyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EnterSceneReadyRsp_proto protoreflect.FileDescriptor + +var file_EnterSceneReadyRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, + 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x12, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x73, 0x70, + 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterSceneReadyRsp_proto_rawDescOnce sync.Once + file_EnterSceneReadyRsp_proto_rawDescData = file_EnterSceneReadyRsp_proto_rawDesc +) + +func file_EnterSceneReadyRsp_proto_rawDescGZIP() []byte { + file_EnterSceneReadyRsp_proto_rawDescOnce.Do(func() { + file_EnterSceneReadyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterSceneReadyRsp_proto_rawDescData) + }) + return file_EnterSceneReadyRsp_proto_rawDescData +} + +var file_EnterSceneReadyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterSceneReadyRsp_proto_goTypes = []interface{}{ + (*EnterSceneReadyRsp)(nil), // 0: EnterSceneReadyRsp +} +var file_EnterSceneReadyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterSceneReadyRsp_proto_init() } +func file_EnterSceneReadyRsp_proto_init() { + if File_EnterSceneReadyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterSceneReadyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterSceneReadyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterSceneReadyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterSceneReadyRsp_proto_goTypes, + DependencyIndexes: file_EnterSceneReadyRsp_proto_depIdxs, + MessageInfos: file_EnterSceneReadyRsp_proto_msgTypes, + }.Build() + File_EnterSceneReadyRsp_proto = out.File + file_EnterSceneReadyRsp_proto_rawDesc = nil + file_EnterSceneReadyRsp_proto_goTypes = nil + file_EnterSceneReadyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterSceneReadyRsp.proto b/gate-hk4e-api/proto/EnterSceneReadyRsp.proto new file mode 100644 index 00000000..1bf41cf3 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneReadyRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 209 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterSceneReadyRsp { + uint32 enter_scene_token = 1; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.pb.go b/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.pb.go new file mode 100644 index 00000000..6fe0be35 --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterSceneWeatherAreaNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 256 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterSceneWeatherAreaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherGadgetId uint32 `protobuf:"varint,13,opt,name=weather_gadget_id,json=weatherGadgetId,proto3" json:"weather_gadget_id,omitempty"` +} + +func (x *EnterSceneWeatherAreaNotify) Reset() { + *x = EnterSceneWeatherAreaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterSceneWeatherAreaNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterSceneWeatherAreaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterSceneWeatherAreaNotify) ProtoMessage() {} + +func (x *EnterSceneWeatherAreaNotify) ProtoReflect() protoreflect.Message { + mi := &file_EnterSceneWeatherAreaNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterSceneWeatherAreaNotify.ProtoReflect.Descriptor instead. +func (*EnterSceneWeatherAreaNotify) Descriptor() ([]byte, []int) { + return file_EnterSceneWeatherAreaNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterSceneWeatherAreaNotify) GetWeatherGadgetId() uint32 { + if x != nil { + return x.WeatherGadgetId + } + return 0 +} + +var File_EnterSceneWeatherAreaNotify_proto protoreflect.FileDescriptor + +var file_EnterSceneWeatherAreaNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, + 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, + 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EnterSceneWeatherAreaNotify_proto_rawDescOnce sync.Once + file_EnterSceneWeatherAreaNotify_proto_rawDescData = file_EnterSceneWeatherAreaNotify_proto_rawDesc +) + +func file_EnterSceneWeatherAreaNotify_proto_rawDescGZIP() []byte { + file_EnterSceneWeatherAreaNotify_proto_rawDescOnce.Do(func() { + file_EnterSceneWeatherAreaNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterSceneWeatherAreaNotify_proto_rawDescData) + }) + return file_EnterSceneWeatherAreaNotify_proto_rawDescData +} + +var file_EnterSceneWeatherAreaNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterSceneWeatherAreaNotify_proto_goTypes = []interface{}{ + (*EnterSceneWeatherAreaNotify)(nil), // 0: EnterSceneWeatherAreaNotify +} +var file_EnterSceneWeatherAreaNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterSceneWeatherAreaNotify_proto_init() } +func file_EnterSceneWeatherAreaNotify_proto_init() { + if File_EnterSceneWeatherAreaNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterSceneWeatherAreaNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterSceneWeatherAreaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterSceneWeatherAreaNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterSceneWeatherAreaNotify_proto_goTypes, + DependencyIndexes: file_EnterSceneWeatherAreaNotify_proto_depIdxs, + MessageInfos: file_EnterSceneWeatherAreaNotify_proto_msgTypes, + }.Build() + File_EnterSceneWeatherAreaNotify_proto = out.File + file_EnterSceneWeatherAreaNotify_proto_rawDesc = nil + file_EnterSceneWeatherAreaNotify_proto_goTypes = nil + file_EnterSceneWeatherAreaNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.proto b/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.proto new file mode 100644 index 00000000..6b472c9b --- /dev/null +++ b/gate-hk4e-api/proto/EnterSceneWeatherAreaNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 256 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterSceneWeatherAreaNotify { + uint32 weather_gadget_id = 13; +} diff --git a/gate-hk4e-api/proto/EnterTransPointRegionNotify.pb.go b/gate-hk4e-api/proto/EnterTransPointRegionNotify.pb.go new file mode 100644 index 00000000..3ebe62b2 --- /dev/null +++ b/gate-hk4e-api/proto/EnterTransPointRegionNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterTransPointRegionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 205 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterTransPointRegionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,8,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PointId uint32 `protobuf:"varint,6,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *EnterTransPointRegionNotify) Reset() { + *x = EnterTransPointRegionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterTransPointRegionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterTransPointRegionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterTransPointRegionNotify) ProtoMessage() {} + +func (x *EnterTransPointRegionNotify) ProtoReflect() protoreflect.Message { + mi := &file_EnterTransPointRegionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterTransPointRegionNotify.ProtoReflect.Descriptor instead. +func (*EnterTransPointRegionNotify) Descriptor() ([]byte, []int) { + return file_EnterTransPointRegionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterTransPointRegionNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *EnterTransPointRegionNotify) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_EnterTransPointRegionNotify_proto protoreflect.FileDescriptor + +var file_EnterTransPointRegionNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterTransPointRegionNotify_proto_rawDescOnce sync.Once + file_EnterTransPointRegionNotify_proto_rawDescData = file_EnterTransPointRegionNotify_proto_rawDesc +) + +func file_EnterTransPointRegionNotify_proto_rawDescGZIP() []byte { + file_EnterTransPointRegionNotify_proto_rawDescOnce.Do(func() { + file_EnterTransPointRegionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterTransPointRegionNotify_proto_rawDescData) + }) + return file_EnterTransPointRegionNotify_proto_rawDescData +} + +var file_EnterTransPointRegionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterTransPointRegionNotify_proto_goTypes = []interface{}{ + (*EnterTransPointRegionNotify)(nil), // 0: EnterTransPointRegionNotify +} +var file_EnterTransPointRegionNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterTransPointRegionNotify_proto_init() } +func file_EnterTransPointRegionNotify_proto_init() { + if File_EnterTransPointRegionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterTransPointRegionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterTransPointRegionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterTransPointRegionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterTransPointRegionNotify_proto_goTypes, + DependencyIndexes: file_EnterTransPointRegionNotify_proto_depIdxs, + MessageInfos: file_EnterTransPointRegionNotify_proto_msgTypes, + }.Build() + File_EnterTransPointRegionNotify_proto = out.File + file_EnterTransPointRegionNotify_proto_rawDesc = nil + file_EnterTransPointRegionNotify_proto_goTypes = nil + file_EnterTransPointRegionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterTransPointRegionNotify.proto b/gate-hk4e-api/proto/EnterTransPointRegionNotify.proto new file mode 100644 index 00000000..dfbb2465 --- /dev/null +++ b/gate-hk4e-api/proto/EnterTransPointRegionNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 205 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterTransPointRegionNotify { + uint32 scene_id = 8; + uint32 point_id = 6; +} diff --git a/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.pb.go b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.pb.go new file mode 100644 index 00000000..4e560a56 --- /dev/null +++ b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterTrialAvatarActivityDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2118 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterTrialAvatarActivityDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterPointId uint32 `protobuf:"varint,10,opt,name=enter_point_id,json=enterPointId,proto3" json:"enter_point_id,omitempty"` + TrialAvatarIndexId uint32 `protobuf:"varint,5,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` + ActivityId uint32 `protobuf:"varint,14,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *EnterTrialAvatarActivityDungeonReq) Reset() { + *x = EnterTrialAvatarActivityDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterTrialAvatarActivityDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterTrialAvatarActivityDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterTrialAvatarActivityDungeonReq) ProtoMessage() {} + +func (x *EnterTrialAvatarActivityDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterTrialAvatarActivityDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterTrialAvatarActivityDungeonReq.ProtoReflect.Descriptor instead. +func (*EnterTrialAvatarActivityDungeonReq) Descriptor() ([]byte, []int) { + return file_EnterTrialAvatarActivityDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterTrialAvatarActivityDungeonReq) GetEnterPointId() uint32 { + if x != nil { + return x.EnterPointId + } + return 0 +} + +func (x *EnterTrialAvatarActivityDungeonReq) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +func (x *EnterTrialAvatarActivityDungeonReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_EnterTrialAvatarActivityDungeonReq_proto protoreflect.FileDescriptor + +var file_EnterTrialAvatarActivityDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x22, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x72, 0x69, 0x61, 0x6c, + 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterTrialAvatarActivityDungeonReq_proto_rawDescOnce sync.Once + file_EnterTrialAvatarActivityDungeonReq_proto_rawDescData = file_EnterTrialAvatarActivityDungeonReq_proto_rawDesc +) + +func file_EnterTrialAvatarActivityDungeonReq_proto_rawDescGZIP() []byte { + file_EnterTrialAvatarActivityDungeonReq_proto_rawDescOnce.Do(func() { + file_EnterTrialAvatarActivityDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterTrialAvatarActivityDungeonReq_proto_rawDescData) + }) + return file_EnterTrialAvatarActivityDungeonReq_proto_rawDescData +} + +var file_EnterTrialAvatarActivityDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterTrialAvatarActivityDungeonReq_proto_goTypes = []interface{}{ + (*EnterTrialAvatarActivityDungeonReq)(nil), // 0: EnterTrialAvatarActivityDungeonReq +} +var file_EnterTrialAvatarActivityDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterTrialAvatarActivityDungeonReq_proto_init() } +func file_EnterTrialAvatarActivityDungeonReq_proto_init() { + if File_EnterTrialAvatarActivityDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterTrialAvatarActivityDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterTrialAvatarActivityDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterTrialAvatarActivityDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterTrialAvatarActivityDungeonReq_proto_goTypes, + DependencyIndexes: file_EnterTrialAvatarActivityDungeonReq_proto_depIdxs, + MessageInfos: file_EnterTrialAvatarActivityDungeonReq_proto_msgTypes, + }.Build() + File_EnterTrialAvatarActivityDungeonReq_proto = out.File + file_EnterTrialAvatarActivityDungeonReq_proto_rawDesc = nil + file_EnterTrialAvatarActivityDungeonReq_proto_goTypes = nil + file_EnterTrialAvatarActivityDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.proto b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.proto new file mode 100644 index 00000000..9e57635c --- /dev/null +++ b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2118 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterTrialAvatarActivityDungeonReq { + uint32 enter_point_id = 10; + uint32 trial_avatar_index_id = 5; + uint32 activity_id = 14; +} diff --git a/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.pb.go b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.pb.go new file mode 100644 index 00000000..4c66a321 --- /dev/null +++ b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterTrialAvatarActivityDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2183 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterTrialAvatarActivityDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + TrialAvatarIndexId uint32 `protobuf:"varint,13,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` + ActivityId uint32 `protobuf:"varint,10,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *EnterTrialAvatarActivityDungeonRsp) Reset() { + *x = EnterTrialAvatarActivityDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterTrialAvatarActivityDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterTrialAvatarActivityDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterTrialAvatarActivityDungeonRsp) ProtoMessage() {} + +func (x *EnterTrialAvatarActivityDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterTrialAvatarActivityDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterTrialAvatarActivityDungeonRsp.ProtoReflect.Descriptor instead. +func (*EnterTrialAvatarActivityDungeonRsp) Descriptor() ([]byte, []int) { + return file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterTrialAvatarActivityDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EnterTrialAvatarActivityDungeonRsp) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +func (x *EnterTrialAvatarActivityDungeonRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_EnterTrialAvatarActivityDungeonRsp_proto protoreflect.FileDescriptor + +var file_EnterTrialAvatarActivityDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x22, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, + 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescOnce sync.Once + file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescData = file_EnterTrialAvatarActivityDungeonRsp_proto_rawDesc +) + +func file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescGZIP() []byte { + file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescOnce.Do(func() { + file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescData) + }) + return file_EnterTrialAvatarActivityDungeonRsp_proto_rawDescData +} + +var file_EnterTrialAvatarActivityDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterTrialAvatarActivityDungeonRsp_proto_goTypes = []interface{}{ + (*EnterTrialAvatarActivityDungeonRsp)(nil), // 0: EnterTrialAvatarActivityDungeonRsp +} +var file_EnterTrialAvatarActivityDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterTrialAvatarActivityDungeonRsp_proto_init() } +func file_EnterTrialAvatarActivityDungeonRsp_proto_init() { + if File_EnterTrialAvatarActivityDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterTrialAvatarActivityDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterTrialAvatarActivityDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterTrialAvatarActivityDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterTrialAvatarActivityDungeonRsp_proto_goTypes, + DependencyIndexes: file_EnterTrialAvatarActivityDungeonRsp_proto_depIdxs, + MessageInfos: file_EnterTrialAvatarActivityDungeonRsp_proto_msgTypes, + }.Build() + File_EnterTrialAvatarActivityDungeonRsp_proto = out.File + file_EnterTrialAvatarActivityDungeonRsp_proto_rawDesc = nil + file_EnterTrialAvatarActivityDungeonRsp_proto_goTypes = nil + file_EnterTrialAvatarActivityDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.proto b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.proto new file mode 100644 index 00000000..3c31cc74 --- /dev/null +++ b/gate-hk4e-api/proto/EnterTrialAvatarActivityDungeonRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2183 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterTrialAvatarActivityDungeonRsp { + int32 retcode = 11; + uint32 trial_avatar_index_id = 13; + uint32 activity_id = 10; +} diff --git a/gate-hk4e-api/proto/EnterType.pb.go b/gate-hk4e-api/proto/EnterType.pb.go new file mode 100644 index 00000000..7546a3df --- /dev/null +++ b/gate-hk4e-api/proto/EnterType.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EnterType int32 + +const ( + EnterType_ENTER_TYPE_NONE EnterType = 0 + EnterType_ENTER_TYPE_SELF EnterType = 1 + EnterType_ENTER_TYPE_GOTO EnterType = 2 + EnterType_ENTER_TYPE_JUMP EnterType = 3 + EnterType_ENTER_TYPE_OTHER EnterType = 4 + EnterType_ENTER_TYPE_BACK EnterType = 5 + EnterType_ENTER_TYPE_DUNGEON EnterType = 6 + EnterType_ENTER_TYPE_DUNGEON_REPLAY EnterType = 7 + EnterType_ENTER_TYPE_GOTO_BY_PORTAL EnterType = 8 + EnterType_ENTER_TYPE_SELF_HOME EnterType = 9 + EnterType_ENTER_TYPE_OTHER_HOME EnterType = 10 + EnterType_ENTER_TYPE_GOTO_RECREATE EnterType = 11 +) + +// Enum value maps for EnterType. +var ( + EnterType_name = map[int32]string{ + 0: "ENTER_TYPE_NONE", + 1: "ENTER_TYPE_SELF", + 2: "ENTER_TYPE_GOTO", + 3: "ENTER_TYPE_JUMP", + 4: "ENTER_TYPE_OTHER", + 5: "ENTER_TYPE_BACK", + 6: "ENTER_TYPE_DUNGEON", + 7: "ENTER_TYPE_DUNGEON_REPLAY", + 8: "ENTER_TYPE_GOTO_BY_PORTAL", + 9: "ENTER_TYPE_SELF_HOME", + 10: "ENTER_TYPE_OTHER_HOME", + 11: "ENTER_TYPE_GOTO_RECREATE", + } + EnterType_value = map[string]int32{ + "ENTER_TYPE_NONE": 0, + "ENTER_TYPE_SELF": 1, + "ENTER_TYPE_GOTO": 2, + "ENTER_TYPE_JUMP": 3, + "ENTER_TYPE_OTHER": 4, + "ENTER_TYPE_BACK": 5, + "ENTER_TYPE_DUNGEON": 6, + "ENTER_TYPE_DUNGEON_REPLAY": 7, + "ENTER_TYPE_GOTO_BY_PORTAL": 8, + "ENTER_TYPE_SELF_HOME": 9, + "ENTER_TYPE_OTHER_HOME": 10, + "ENTER_TYPE_GOTO_RECREATE": 11, + } +) + +func (x EnterType) Enum() *EnterType { + p := new(EnterType) + *p = x + return p +} + +func (x EnterType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EnterType) Descriptor() protoreflect.EnumDescriptor { + return file_EnterType_proto_enumTypes[0].Descriptor() +} + +func (EnterType) Type() protoreflect.EnumType { + return &file_EnterType_proto_enumTypes[0] +} + +func (x EnterType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EnterType.Descriptor instead. +func (EnterType) EnumDescriptor() ([]byte, []int) { + return file_EnterType_proto_rawDescGZIP(), []int{0} +} + +var File_EnterType_proto protoreflect.FileDescriptor + +var file_EnterType_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2a, 0xb3, 0x02, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4f, 0x54, 0x4f, 0x10, 0x02, 0x12, 0x13, + 0x0a, 0x0f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x55, 0x4d, + 0x50, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x05, 0x12, 0x16, + 0x0a, 0x12, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x50, + 0x4c, 0x41, 0x59, 0x10, 0x07, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4f, 0x54, 0x4f, 0x5f, 0x42, 0x59, 0x5f, 0x50, 0x4f, 0x52, 0x54, + 0x41, 0x4c, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x09, 0x12, 0x19, + 0x0a, 0x15, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x48, + 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4f, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x0b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterType_proto_rawDescOnce sync.Once + file_EnterType_proto_rawDescData = file_EnterType_proto_rawDesc +) + +func file_EnterType_proto_rawDescGZIP() []byte { + file_EnterType_proto_rawDescOnce.Do(func() { + file_EnterType_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterType_proto_rawDescData) + }) + return file_EnterType_proto_rawDescData +} + +var file_EnterType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_EnterType_proto_goTypes = []interface{}{ + (EnterType)(0), // 0: EnterType +} +var file_EnterType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterType_proto_init() } +func file_EnterType_proto_init() { + if File_EnterType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterType_proto_goTypes, + DependencyIndexes: file_EnterType_proto_depIdxs, + EnumInfos: file_EnterType_proto_enumTypes, + }.Build() + File_EnterType_proto = out.File + file_EnterType_proto_rawDesc = nil + file_EnterType_proto_goTypes = nil + file_EnterType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterType.proto b/gate-hk4e-api/proto/EnterType.proto new file mode 100644 index 00000000..ad88bf1b --- /dev/null +++ b/gate-hk4e-api/proto/EnterType.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum EnterType { + ENTER_TYPE_NONE = 0; + ENTER_TYPE_SELF = 1; + ENTER_TYPE_GOTO = 2; + ENTER_TYPE_JUMP = 3; + ENTER_TYPE_OTHER = 4; + ENTER_TYPE_BACK = 5; + ENTER_TYPE_DUNGEON = 6; + ENTER_TYPE_DUNGEON_REPLAY = 7; + ENTER_TYPE_GOTO_BY_PORTAL = 8; + ENTER_TYPE_SELF_HOME = 9; + ENTER_TYPE_OTHER_HOME = 10; + ENTER_TYPE_GOTO_RECREATE = 11; +} diff --git a/gate-hk4e-api/proto/EnterWorldAreaReq.pb.go b/gate-hk4e-api/proto/EnterWorldAreaReq.pb.go new file mode 100644 index 00000000..2ce0af67 --- /dev/null +++ b/gate-hk4e-api/proto/EnterWorldAreaReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterWorldAreaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 250 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EnterWorldAreaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaType uint32 `protobuf:"varint,8,opt,name=area_type,json=areaType,proto3" json:"area_type,omitempty"` + AreaId uint32 `protobuf:"varint,1,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` +} + +func (x *EnterWorldAreaReq) Reset() { + *x = EnterWorldAreaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterWorldAreaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterWorldAreaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterWorldAreaReq) ProtoMessage() {} + +func (x *EnterWorldAreaReq) ProtoReflect() protoreflect.Message { + mi := &file_EnterWorldAreaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterWorldAreaReq.ProtoReflect.Descriptor instead. +func (*EnterWorldAreaReq) Descriptor() ([]byte, []int) { + return file_EnterWorldAreaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterWorldAreaReq) GetAreaType() uint32 { + if x != nil { + return x.AreaType + } + return 0 +} + +func (x *EnterWorldAreaReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +var File_EnterWorldAreaReq_proto protoreflect.FileDescriptor + +var file_EnterWorldAreaReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x72, 0x65, 0x61, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x11, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x61, + 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, + 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EnterWorldAreaReq_proto_rawDescOnce sync.Once + file_EnterWorldAreaReq_proto_rawDescData = file_EnterWorldAreaReq_proto_rawDesc +) + +func file_EnterWorldAreaReq_proto_rawDescGZIP() []byte { + file_EnterWorldAreaReq_proto_rawDescOnce.Do(func() { + file_EnterWorldAreaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterWorldAreaReq_proto_rawDescData) + }) + return file_EnterWorldAreaReq_proto_rawDescData +} + +var file_EnterWorldAreaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterWorldAreaReq_proto_goTypes = []interface{}{ + (*EnterWorldAreaReq)(nil), // 0: EnterWorldAreaReq +} +var file_EnterWorldAreaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterWorldAreaReq_proto_init() } +func file_EnterWorldAreaReq_proto_init() { + if File_EnterWorldAreaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterWorldAreaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterWorldAreaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterWorldAreaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterWorldAreaReq_proto_goTypes, + DependencyIndexes: file_EnterWorldAreaReq_proto_depIdxs, + MessageInfos: file_EnterWorldAreaReq_proto_msgTypes, + }.Build() + File_EnterWorldAreaReq_proto = out.File + file_EnterWorldAreaReq_proto_rawDesc = nil + file_EnterWorldAreaReq_proto_goTypes = nil + file_EnterWorldAreaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterWorldAreaReq.proto b/gate-hk4e-api/proto/EnterWorldAreaReq.proto new file mode 100644 index 00000000..26db307f --- /dev/null +++ b/gate-hk4e-api/proto/EnterWorldAreaReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 250 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EnterWorldAreaReq { + uint32 area_type = 8; + uint32 area_id = 1; +} diff --git a/gate-hk4e-api/proto/EnterWorldAreaRsp.pb.go b/gate-hk4e-api/proto/EnterWorldAreaRsp.pb.go new file mode 100644 index 00000000..49696887 --- /dev/null +++ b/gate-hk4e-api/proto/EnterWorldAreaRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EnterWorldAreaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 243 +// EnetChannelId: 0 +// EnetIsReliable: true +type EnterWorldAreaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaType uint32 `protobuf:"varint,1,opt,name=area_type,json=areaType,proto3" json:"area_type,omitempty"` + AreaId uint32 `protobuf:"varint,7,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EnterWorldAreaRsp) Reset() { + *x = EnterWorldAreaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EnterWorldAreaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnterWorldAreaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnterWorldAreaRsp) ProtoMessage() {} + +func (x *EnterWorldAreaRsp) ProtoReflect() protoreflect.Message { + mi := &file_EnterWorldAreaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnterWorldAreaRsp.ProtoReflect.Descriptor instead. +func (*EnterWorldAreaRsp) Descriptor() ([]byte, []int) { + return file_EnterWorldAreaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EnterWorldAreaRsp) GetAreaType() uint32 { + if x != nil { + return x.AreaType + } + return 0 +} + +func (x *EnterWorldAreaRsp) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *EnterWorldAreaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EnterWorldAreaRsp_proto protoreflect.FileDescriptor + +var file_EnterWorldAreaRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x72, 0x65, 0x61, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x11, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x61, + 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, + 0x65, 0x61, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EnterWorldAreaRsp_proto_rawDescOnce sync.Once + file_EnterWorldAreaRsp_proto_rawDescData = file_EnterWorldAreaRsp_proto_rawDesc +) + +func file_EnterWorldAreaRsp_proto_rawDescGZIP() []byte { + file_EnterWorldAreaRsp_proto_rawDescOnce.Do(func() { + file_EnterWorldAreaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EnterWorldAreaRsp_proto_rawDescData) + }) + return file_EnterWorldAreaRsp_proto_rawDescData +} + +var file_EnterWorldAreaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EnterWorldAreaRsp_proto_goTypes = []interface{}{ + (*EnterWorldAreaRsp)(nil), // 0: EnterWorldAreaRsp +} +var file_EnterWorldAreaRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EnterWorldAreaRsp_proto_init() } +func file_EnterWorldAreaRsp_proto_init() { + if File_EnterWorldAreaRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EnterWorldAreaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnterWorldAreaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EnterWorldAreaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EnterWorldAreaRsp_proto_goTypes, + DependencyIndexes: file_EnterWorldAreaRsp_proto_depIdxs, + MessageInfos: file_EnterWorldAreaRsp_proto_msgTypes, + }.Build() + File_EnterWorldAreaRsp_proto = out.File + file_EnterWorldAreaRsp_proto_rawDesc = nil + file_EnterWorldAreaRsp_proto_goTypes = nil + file_EnterWorldAreaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EnterWorldAreaRsp.proto b/gate-hk4e-api/proto/EnterWorldAreaRsp.proto new file mode 100644 index 00000000..a35d98f8 --- /dev/null +++ b/gate-hk4e-api/proto/EnterWorldAreaRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 243 +// EnetChannelId: 0 +// EnetIsReliable: true +message EnterWorldAreaRsp { + uint32 area_type = 1; + uint32 area_id = 7; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/EntityAbilityInvokeEntry.pb.go b/gate-hk4e-api/proto/EntityAbilityInvokeEntry.pb.go new file mode 100644 index 00000000..b4261a75 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAbilityInvokeEntry.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityAbilityInvokeEntry.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityAbilityInvokeEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Invokes []*AbilityInvokeEntry `protobuf:"bytes,1,rep,name=invokes,proto3" json:"invokes,omitempty"` +} + +func (x *EntityAbilityInvokeEntry) Reset() { + *x = EntityAbilityInvokeEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityAbilityInvokeEntry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityAbilityInvokeEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityAbilityInvokeEntry) ProtoMessage() {} + +func (x *EntityAbilityInvokeEntry) ProtoReflect() protoreflect.Message { + mi := &file_EntityAbilityInvokeEntry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityAbilityInvokeEntry.ProtoReflect.Descriptor instead. +func (*EntityAbilityInvokeEntry) Descriptor() ([]byte, []int) { + return file_EntityAbilityInvokeEntry_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityAbilityInvokeEntry) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityAbilityInvokeEntry) GetInvokes() []*AbilityInvokeEntry { + if x != nil { + return x.Invokes + } + return nil +} + +var File_EntityAbilityInvokeEntry_proto protoreflect.FileDescriptor + +var file_EntityAbilityInvokeEntry_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x18, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x76, 0x6f, 0x6b, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x6b, + 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityAbilityInvokeEntry_proto_rawDescOnce sync.Once + file_EntityAbilityInvokeEntry_proto_rawDescData = file_EntityAbilityInvokeEntry_proto_rawDesc +) + +func file_EntityAbilityInvokeEntry_proto_rawDescGZIP() []byte { + file_EntityAbilityInvokeEntry_proto_rawDescOnce.Do(func() { + file_EntityAbilityInvokeEntry_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityAbilityInvokeEntry_proto_rawDescData) + }) + return file_EntityAbilityInvokeEntry_proto_rawDescData +} + +var file_EntityAbilityInvokeEntry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityAbilityInvokeEntry_proto_goTypes = []interface{}{ + (*EntityAbilityInvokeEntry)(nil), // 0: EntityAbilityInvokeEntry + (*AbilityInvokeEntry)(nil), // 1: AbilityInvokeEntry +} +var file_EntityAbilityInvokeEntry_proto_depIdxs = []int32{ + 1, // 0: EntityAbilityInvokeEntry.invokes:type_name -> AbilityInvokeEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityAbilityInvokeEntry_proto_init() } +func file_EntityAbilityInvokeEntry_proto_init() { + if File_EntityAbilityInvokeEntry_proto != nil { + return + } + file_AbilityInvokeEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityAbilityInvokeEntry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityAbilityInvokeEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityAbilityInvokeEntry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityAbilityInvokeEntry_proto_goTypes, + DependencyIndexes: file_EntityAbilityInvokeEntry_proto_depIdxs, + MessageInfos: file_EntityAbilityInvokeEntry_proto_msgTypes, + }.Build() + File_EntityAbilityInvokeEntry_proto = out.File + file_EntityAbilityInvokeEntry_proto_rawDesc = nil + file_EntityAbilityInvokeEntry_proto_goTypes = nil + file_EntityAbilityInvokeEntry_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityAbilityInvokeEntry.proto b/gate-hk4e-api/proto/EntityAbilityInvokeEntry.proto new file mode 100644 index 00000000..30c298b4 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAbilityInvokeEntry.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityInvokeEntry.proto"; + +option go_package = "./;proto"; + +message EntityAbilityInvokeEntry { + uint32 entity_id = 8; + repeated AbilityInvokeEntry invokes = 1; +} diff --git a/gate-hk4e-api/proto/EntityAiKillSelfNotify.pb.go b/gate-hk4e-api/proto/EntityAiKillSelfNotify.pb.go new file mode 100644 index 00000000..8c399107 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAiKillSelfNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityAiKillSelfNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 340 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityAiKillSelfNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityAiKillSelfNotify) Reset() { + *x = EntityAiKillSelfNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityAiKillSelfNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityAiKillSelfNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityAiKillSelfNotify) ProtoMessage() {} + +func (x *EntityAiKillSelfNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityAiKillSelfNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityAiKillSelfNotify.ProtoReflect.Descriptor instead. +func (*EntityAiKillSelfNotify) Descriptor() ([]byte, []int) { + return file_EntityAiKillSelfNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityAiKillSelfNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityAiKillSelfNotify_proto protoreflect.FileDescriptor + +var file_EntityAiKillSelfNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x65, + 0x6c, 0x66, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, + 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x65, + 0x6c, 0x66, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityAiKillSelfNotify_proto_rawDescOnce sync.Once + file_EntityAiKillSelfNotify_proto_rawDescData = file_EntityAiKillSelfNotify_proto_rawDesc +) + +func file_EntityAiKillSelfNotify_proto_rawDescGZIP() []byte { + file_EntityAiKillSelfNotify_proto_rawDescOnce.Do(func() { + file_EntityAiKillSelfNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityAiKillSelfNotify_proto_rawDescData) + }) + return file_EntityAiKillSelfNotify_proto_rawDescData +} + +var file_EntityAiKillSelfNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityAiKillSelfNotify_proto_goTypes = []interface{}{ + (*EntityAiKillSelfNotify)(nil), // 0: EntityAiKillSelfNotify +} +var file_EntityAiKillSelfNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityAiKillSelfNotify_proto_init() } +func file_EntityAiKillSelfNotify_proto_init() { + if File_EntityAiKillSelfNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityAiKillSelfNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityAiKillSelfNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityAiKillSelfNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityAiKillSelfNotify_proto_goTypes, + DependencyIndexes: file_EntityAiKillSelfNotify_proto_depIdxs, + MessageInfos: file_EntityAiKillSelfNotify_proto_msgTypes, + }.Build() + File_EntityAiKillSelfNotify_proto = out.File + file_EntityAiKillSelfNotify_proto_rawDesc = nil + file_EntityAiKillSelfNotify_proto_goTypes = nil + file_EntityAiKillSelfNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityAiKillSelfNotify.proto b/gate-hk4e-api/proto/EntityAiKillSelfNotify.proto new file mode 100644 index 00000000..5c93d26e --- /dev/null +++ b/gate-hk4e-api/proto/EntityAiKillSelfNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 340 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityAiKillSelfNotify { + uint32 entity_id = 12; +} diff --git a/gate-hk4e-api/proto/EntityAiSyncNotify.pb.go b/gate-hk4e-api/proto/EntityAiSyncNotify.pb.go new file mode 100644 index 00000000..f55d620d --- /dev/null +++ b/gate-hk4e-api/proto/EntityAiSyncNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityAiSyncNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 400 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityAiSyncNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalAvatarAlertedMonsterList []uint32 `protobuf:"varint,15,rep,packed,name=local_avatar_alerted_monster_list,json=localAvatarAlertedMonsterList,proto3" json:"local_avatar_alerted_monster_list,omitempty"` + InfoList []*AiSyncInfo `protobuf:"bytes,1,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *EntityAiSyncNotify) Reset() { + *x = EntityAiSyncNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityAiSyncNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityAiSyncNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityAiSyncNotify) ProtoMessage() {} + +func (x *EntityAiSyncNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityAiSyncNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityAiSyncNotify.ProtoReflect.Descriptor instead. +func (*EntityAiSyncNotify) Descriptor() ([]byte, []int) { + return file_EntityAiSyncNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityAiSyncNotify) GetLocalAvatarAlertedMonsterList() []uint32 { + if x != nil { + return x.LocalAvatarAlertedMonsterList + } + return nil +} + +func (x *EntityAiSyncNotify) GetInfoList() []*AiSyncInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_EntityAiSyncNotify_proto protoreflect.FileDescriptor + +var file_EntityAiSyncNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, + 0x12, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x48, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1d, + 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6c, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, + 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0b, 0x2e, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x69, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityAiSyncNotify_proto_rawDescOnce sync.Once + file_EntityAiSyncNotify_proto_rawDescData = file_EntityAiSyncNotify_proto_rawDesc +) + +func file_EntityAiSyncNotify_proto_rawDescGZIP() []byte { + file_EntityAiSyncNotify_proto_rawDescOnce.Do(func() { + file_EntityAiSyncNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityAiSyncNotify_proto_rawDescData) + }) + return file_EntityAiSyncNotify_proto_rawDescData +} + +var file_EntityAiSyncNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityAiSyncNotify_proto_goTypes = []interface{}{ + (*EntityAiSyncNotify)(nil), // 0: EntityAiSyncNotify + (*AiSyncInfo)(nil), // 1: AiSyncInfo +} +var file_EntityAiSyncNotify_proto_depIdxs = []int32{ + 1, // 0: EntityAiSyncNotify.info_list:type_name -> AiSyncInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityAiSyncNotify_proto_init() } +func file_EntityAiSyncNotify_proto_init() { + if File_EntityAiSyncNotify_proto != nil { + return + } + file_AiSyncInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityAiSyncNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityAiSyncNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityAiSyncNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityAiSyncNotify_proto_goTypes, + DependencyIndexes: file_EntityAiSyncNotify_proto_depIdxs, + MessageInfos: file_EntityAiSyncNotify_proto_msgTypes, + }.Build() + File_EntityAiSyncNotify_proto = out.File + file_EntityAiSyncNotify_proto_rawDesc = nil + file_EntityAiSyncNotify_proto_goTypes = nil + file_EntityAiSyncNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityAiSyncNotify.proto b/gate-hk4e-api/proto/EntityAiSyncNotify.proto new file mode 100644 index 00000000..002d1f8d --- /dev/null +++ b/gate-hk4e-api/proto/EntityAiSyncNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AiSyncInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 400 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityAiSyncNotify { + repeated uint32 local_avatar_alerted_monster_list = 15; + repeated AiSyncInfo info_list = 1; +} diff --git a/gate-hk4e-api/proto/EntityAuthorityChangeNotify.pb.go b/gate-hk4e-api/proto/EntityAuthorityChangeNotify.pb.go new file mode 100644 index 00000000..3b932a81 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAuthorityChangeNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityAuthorityChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 394 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityAuthorityChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthorityChangeList []*AuthorityChange `protobuf:"bytes,15,rep,name=authority_change_list,json=authorityChangeList,proto3" json:"authority_change_list,omitempty"` +} + +func (x *EntityAuthorityChangeNotify) Reset() { + *x = EntityAuthorityChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityAuthorityChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityAuthorityChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityAuthorityChangeNotify) ProtoMessage() {} + +func (x *EntityAuthorityChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityAuthorityChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityAuthorityChangeNotify.ProtoReflect.Descriptor instead. +func (*EntityAuthorityChangeNotify) Descriptor() ([]byte, []int) { + return file_EntityAuthorityChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityAuthorityChangeNotify) GetAuthorityChangeList() []*AuthorityChange { + if x != nil { + return x.AuthorityChangeList + } + return nil +} + +var File_EntityAuthorityChangeNotify_proto protoreflect.FileDescriptor + +var file_EntityAuthorityChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1b, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x15, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_EntityAuthorityChangeNotify_proto_rawDescOnce sync.Once + file_EntityAuthorityChangeNotify_proto_rawDescData = file_EntityAuthorityChangeNotify_proto_rawDesc +) + +func file_EntityAuthorityChangeNotify_proto_rawDescGZIP() []byte { + file_EntityAuthorityChangeNotify_proto_rawDescOnce.Do(func() { + file_EntityAuthorityChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityAuthorityChangeNotify_proto_rawDescData) + }) + return file_EntityAuthorityChangeNotify_proto_rawDescData +} + +var file_EntityAuthorityChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityAuthorityChangeNotify_proto_goTypes = []interface{}{ + (*EntityAuthorityChangeNotify)(nil), // 0: EntityAuthorityChangeNotify + (*AuthorityChange)(nil), // 1: AuthorityChange +} +var file_EntityAuthorityChangeNotify_proto_depIdxs = []int32{ + 1, // 0: EntityAuthorityChangeNotify.authority_change_list:type_name -> AuthorityChange + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityAuthorityChangeNotify_proto_init() } +func file_EntityAuthorityChangeNotify_proto_init() { + if File_EntityAuthorityChangeNotify_proto != nil { + return + } + file_AuthorityChange_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityAuthorityChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityAuthorityChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityAuthorityChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityAuthorityChangeNotify_proto_goTypes, + DependencyIndexes: file_EntityAuthorityChangeNotify_proto_depIdxs, + MessageInfos: file_EntityAuthorityChangeNotify_proto_msgTypes, + }.Build() + File_EntityAuthorityChangeNotify_proto = out.File + file_EntityAuthorityChangeNotify_proto_rawDesc = nil + file_EntityAuthorityChangeNotify_proto_goTypes = nil + file_EntityAuthorityChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityAuthorityChangeNotify.proto b/gate-hk4e-api/proto/EntityAuthorityChangeNotify.proto new file mode 100644 index 00000000..ea29431d --- /dev/null +++ b/gate-hk4e-api/proto/EntityAuthorityChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AuthorityChange.proto"; + +option go_package = "./;proto"; + +// CmdId: 394 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityAuthorityChangeNotify { + repeated AuthorityChange authority_change_list = 15; +} diff --git a/gate-hk4e-api/proto/EntityAuthorityInfo.pb.go b/gate-hk4e-api/proto/EntityAuthorityInfo.pb.go new file mode 100644 index 00000000..da38aa83 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAuthorityInfo.pb.go @@ -0,0 +1,248 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityAuthorityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityAuthorityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,1,opt,name=ability_info,json=abilityInfo,proto3" json:"ability_info,omitempty"` + RendererChangedInfo *EntityRendererChangedInfo `protobuf:"bytes,2,opt,name=renderer_changed_info,json=rendererChangedInfo,proto3" json:"renderer_changed_info,omitempty"` + AiInfo *SceneEntityAiInfo `protobuf:"bytes,3,opt,name=ai_info,json=aiInfo,proto3" json:"ai_info,omitempty"` + BornPos *Vector `protobuf:"bytes,4,opt,name=born_pos,json=bornPos,proto3" json:"born_pos,omitempty"` + PoseParaList []*AnimatorParameterValueInfoPair `protobuf:"bytes,5,rep,name=pose_para_list,json=poseParaList,proto3" json:"pose_para_list,omitempty"` + Unk2700_KDGMOPELHNE *Unk2700_HFMDKDHCJCM `protobuf:"bytes,6,opt,name=Unk2700_KDGMOPELHNE,json=Unk2700KDGMOPELHNE,proto3" json:"Unk2700_KDGMOPELHNE,omitempty"` +} + +func (x *EntityAuthorityInfo) Reset() { + *x = EntityAuthorityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityAuthorityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityAuthorityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityAuthorityInfo) ProtoMessage() {} + +func (x *EntityAuthorityInfo) ProtoReflect() protoreflect.Message { + mi := &file_EntityAuthorityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityAuthorityInfo.ProtoReflect.Descriptor instead. +func (*EntityAuthorityInfo) Descriptor() ([]byte, []int) { + return file_EntityAuthorityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityAuthorityInfo) GetAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AbilityInfo + } + return nil +} + +func (x *EntityAuthorityInfo) GetRendererChangedInfo() *EntityRendererChangedInfo { + if x != nil { + return x.RendererChangedInfo + } + return nil +} + +func (x *EntityAuthorityInfo) GetAiInfo() *SceneEntityAiInfo { + if x != nil { + return x.AiInfo + } + return nil +} + +func (x *EntityAuthorityInfo) GetBornPos() *Vector { + if x != nil { + return x.BornPos + } + return nil +} + +func (x *EntityAuthorityInfo) GetPoseParaList() []*AnimatorParameterValueInfoPair { + if x != nil { + return x.PoseParaList + } + return nil +} + +func (x *EntityAuthorityInfo) GetUnk2700_KDGMOPELHNE() *Unk2700_HFMDKDHCJCM { + if x != nil { + return x.Unk2700_KDGMOPELHNE + } + return nil +} + +var File_EntityAuthorityInfo_proto protoreflect.FileDescriptor + +var file_EntityAuthorityInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x46, 0x4d, 0x44, 0x4b, 0x44, 0x48, 0x43, 0x4a, 0x43, 0x4d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xfe, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0c, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x15, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x72, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x69, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x41, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x61, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x22, 0x0a, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x62, 0x6f, 0x72, 0x6e, + 0x50, 0x6f, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x6e, + 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0c, 0x70, 0x6f, + 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x47, 0x4d, 0x4f, 0x50, 0x45, 0x4c, 0x48, 0x4e, + 0x45, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x48, 0x46, 0x4d, 0x44, 0x4b, 0x44, 0x48, 0x43, 0x4a, 0x43, 0x4d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x44, 0x47, 0x4d, 0x4f, 0x50, 0x45, 0x4c, 0x48, 0x4e, + 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityAuthorityInfo_proto_rawDescOnce sync.Once + file_EntityAuthorityInfo_proto_rawDescData = file_EntityAuthorityInfo_proto_rawDesc +) + +func file_EntityAuthorityInfo_proto_rawDescGZIP() []byte { + file_EntityAuthorityInfo_proto_rawDescOnce.Do(func() { + file_EntityAuthorityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityAuthorityInfo_proto_rawDescData) + }) + return file_EntityAuthorityInfo_proto_rawDescData +} + +var file_EntityAuthorityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityAuthorityInfo_proto_goTypes = []interface{}{ + (*EntityAuthorityInfo)(nil), // 0: EntityAuthorityInfo + (*AbilitySyncStateInfo)(nil), // 1: AbilitySyncStateInfo + (*EntityRendererChangedInfo)(nil), // 2: EntityRendererChangedInfo + (*SceneEntityAiInfo)(nil), // 3: SceneEntityAiInfo + (*Vector)(nil), // 4: Vector + (*AnimatorParameterValueInfoPair)(nil), // 5: AnimatorParameterValueInfoPair + (*Unk2700_HFMDKDHCJCM)(nil), // 6: Unk2700_HFMDKDHCJCM +} +var file_EntityAuthorityInfo_proto_depIdxs = []int32{ + 1, // 0: EntityAuthorityInfo.ability_info:type_name -> AbilitySyncStateInfo + 2, // 1: EntityAuthorityInfo.renderer_changed_info:type_name -> EntityRendererChangedInfo + 3, // 2: EntityAuthorityInfo.ai_info:type_name -> SceneEntityAiInfo + 4, // 3: EntityAuthorityInfo.born_pos:type_name -> Vector + 5, // 4: EntityAuthorityInfo.pose_para_list:type_name -> AnimatorParameterValueInfoPair + 6, // 5: EntityAuthorityInfo.Unk2700_KDGMOPELHNE:type_name -> Unk2700_HFMDKDHCJCM + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_EntityAuthorityInfo_proto_init() } +func file_EntityAuthorityInfo_proto_init() { + if File_EntityAuthorityInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + file_AnimatorParameterValueInfoPair_proto_init() + file_EntityRendererChangedInfo_proto_init() + file_SceneEntityAiInfo_proto_init() + file_Unk2700_HFMDKDHCJCM_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityAuthorityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityAuthorityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityAuthorityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityAuthorityInfo_proto_goTypes, + DependencyIndexes: file_EntityAuthorityInfo_proto_depIdxs, + MessageInfos: file_EntityAuthorityInfo_proto_msgTypes, + }.Build() + File_EntityAuthorityInfo_proto = out.File + file_EntityAuthorityInfo_proto_rawDesc = nil + file_EntityAuthorityInfo_proto_goTypes = nil + file_EntityAuthorityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityAuthorityInfo.proto b/gate-hk4e-api/proto/EntityAuthorityInfo.proto new file mode 100644 index 00000000..8d85c754 --- /dev/null +++ b/gate-hk4e-api/proto/EntityAuthorityInfo.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; +import "AnimatorParameterValueInfoPair.proto"; +import "EntityRendererChangedInfo.proto"; +import "SceneEntityAiInfo.proto"; +import "Unk2700_HFMDKDHCJCM.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message EntityAuthorityInfo { + AbilitySyncStateInfo ability_info = 1; + EntityRendererChangedInfo renderer_changed_info = 2; + SceneEntityAiInfo ai_info = 3; + Vector born_pos = 4; + repeated AnimatorParameterValueInfoPair pose_para_list = 5; + Unk2700_HFMDKDHCJCM Unk2700_KDGMOPELHNE = 6; +} diff --git a/gate-hk4e-api/proto/EntityClientData.pb.go b/gate-hk4e-api/proto/EntityClientData.pb.go new file mode 100644 index 00000000..b92c1c79 --- /dev/null +++ b/gate-hk4e-api/proto/EntityClientData.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityClientData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityClientData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WindChangeSceneTime uint32 `protobuf:"varint,1,opt,name=wind_change_scene_time,json=windChangeSceneTime,proto3" json:"wind_change_scene_time,omitempty"` + WindmillSyncAngle float32 `protobuf:"fixed32,2,opt,name=windmill_sync_angle,json=windmillSyncAngle,proto3" json:"windmill_sync_angle,omitempty"` + WindChangeTargetLevel int32 `protobuf:"varint,3,opt,name=wind_change_target_level,json=windChangeTargetLevel,proto3" json:"wind_change_target_level,omitempty"` +} + +func (x *EntityClientData) Reset() { + *x = EntityClientData{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityClientData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityClientData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityClientData) ProtoMessage() {} + +func (x *EntityClientData) ProtoReflect() protoreflect.Message { + mi := &file_EntityClientData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityClientData.ProtoReflect.Descriptor instead. +func (*EntityClientData) Descriptor() ([]byte, []int) { + return file_EntityClientData_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityClientData) GetWindChangeSceneTime() uint32 { + if x != nil { + return x.WindChangeSceneTime + } + return 0 +} + +func (x *EntityClientData) GetWindmillSyncAngle() float32 { + if x != nil { + return x.WindmillSyncAngle + } + return 0 +} + +func (x *EntityClientData) GetWindChangeTargetLevel() int32 { + if x != nil { + return x.WindChangeTargetLevel + } + return 0 +} + +var File_EntityClientData_proto protoreflect.FileDescriptor + +var file_EntityClientData_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x10, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, + 0x16, 0x77, 0x69, 0x6e, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x77, + 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x77, 0x69, 0x6e, 0x64, 0x6d, 0x69, 0x6c, 0x6c, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x11, 0x77, 0x69, 0x6e, 0x64, 0x6d, 0x69, 0x6c, 0x6c, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x6e, 0x67, + 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x77, 0x69, 0x6e, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x77, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityClientData_proto_rawDescOnce sync.Once + file_EntityClientData_proto_rawDescData = file_EntityClientData_proto_rawDesc +) + +func file_EntityClientData_proto_rawDescGZIP() []byte { + file_EntityClientData_proto_rawDescOnce.Do(func() { + file_EntityClientData_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityClientData_proto_rawDescData) + }) + return file_EntityClientData_proto_rawDescData +} + +var file_EntityClientData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityClientData_proto_goTypes = []interface{}{ + (*EntityClientData)(nil), // 0: EntityClientData +} +var file_EntityClientData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityClientData_proto_init() } +func file_EntityClientData_proto_init() { + if File_EntityClientData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityClientData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityClientData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityClientData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityClientData_proto_goTypes, + DependencyIndexes: file_EntityClientData_proto_depIdxs, + MessageInfos: file_EntityClientData_proto_msgTypes, + }.Build() + File_EntityClientData_proto = out.File + file_EntityClientData_proto_rawDesc = nil + file_EntityClientData_proto_goTypes = nil + file_EntityClientData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityClientData.proto b/gate-hk4e-api/proto/EntityClientData.proto new file mode 100644 index 00000000..ab4e4e22 --- /dev/null +++ b/gate-hk4e-api/proto/EntityClientData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EntityClientData { + uint32 wind_change_scene_time = 1; + float windmill_sync_angle = 2; + int32 wind_change_target_level = 3; +} diff --git a/gate-hk4e-api/proto/EntityConfigHashEntry.pb.go b/gate-hk4e-api/proto/EntityConfigHashEntry.pb.go new file mode 100644 index 00000000..7d17e287 --- /dev/null +++ b/gate-hk4e-api/proto/EntityConfigHashEntry.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityConfigHashEntry.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityConfigHashEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId uint32 `protobuf:"varint,13,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + HashValue int32 `protobuf:"varint,6,opt,name=hash_value,json=hashValue,proto3" json:"hash_value,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityConfigHashEntry) Reset() { + *x = EntityConfigHashEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityConfigHashEntry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityConfigHashEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityConfigHashEntry) ProtoMessage() {} + +func (x *EntityConfigHashEntry) ProtoReflect() protoreflect.Message { + mi := &file_EntityConfigHashEntry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityConfigHashEntry.ProtoReflect.Descriptor instead. +func (*EntityConfigHashEntry) Descriptor() ([]byte, []int) { + return file_EntityConfigHashEntry_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityConfigHashEntry) GetJobId() uint32 { + if x != nil { + return x.JobId + } + return 0 +} + +func (x *EntityConfigHashEntry) GetHashValue() int32 { + if x != nil { + return x.HashValue + } + return 0 +} + +func (x *EntityConfigHashEntry) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityConfigHashEntry_proto protoreflect.FileDescriptor + +var file_EntityConfigHashEntry_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, + 0x73, 0x68, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, + 0x15, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, + 0x68, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x09, 0x68, 0x61, 0x73, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityConfigHashEntry_proto_rawDescOnce sync.Once + file_EntityConfigHashEntry_proto_rawDescData = file_EntityConfigHashEntry_proto_rawDesc +) + +func file_EntityConfigHashEntry_proto_rawDescGZIP() []byte { + file_EntityConfigHashEntry_proto_rawDescOnce.Do(func() { + file_EntityConfigHashEntry_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityConfigHashEntry_proto_rawDescData) + }) + return file_EntityConfigHashEntry_proto_rawDescData +} + +var file_EntityConfigHashEntry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityConfigHashEntry_proto_goTypes = []interface{}{ + (*EntityConfigHashEntry)(nil), // 0: EntityConfigHashEntry +} +var file_EntityConfigHashEntry_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityConfigHashEntry_proto_init() } +func file_EntityConfigHashEntry_proto_init() { + if File_EntityConfigHashEntry_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityConfigHashEntry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityConfigHashEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityConfigHashEntry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityConfigHashEntry_proto_goTypes, + DependencyIndexes: file_EntityConfigHashEntry_proto_depIdxs, + MessageInfos: file_EntityConfigHashEntry_proto_msgTypes, + }.Build() + File_EntityConfigHashEntry_proto = out.File + file_EntityConfigHashEntry_proto_rawDesc = nil + file_EntityConfigHashEntry_proto_goTypes = nil + file_EntityConfigHashEntry_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityConfigHashEntry.proto b/gate-hk4e-api/proto/EntityConfigHashEntry.proto new file mode 100644 index 00000000..045ff380 --- /dev/null +++ b/gate-hk4e-api/proto/EntityConfigHashEntry.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EntityConfigHashEntry { + uint32 job_id = 13; + int32 hash_value = 6; + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/EntityConfigHashNotify.pb.go b/gate-hk4e-api/proto/EntityConfigHashNotify.pb.go new file mode 100644 index 00000000..6ba71212 --- /dev/null +++ b/gate-hk4e-api/proto/EntityConfigHashNotify.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityConfigHashNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3189 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityConfigHashNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityEntryList []*EntityConfigHashEntry `protobuf:"bytes,3,rep,name=ability_entry_list,json=abilityEntryList,proto3" json:"ability_entry_list,omitempty"` + AvatarEntryList []*EntityConfigHashEntry `protobuf:"bytes,15,rep,name=avatar_entry_list,json=avatarEntryList,proto3" json:"avatar_entry_list,omitempty"` + CombatEntryList []*EntityConfigHashEntry `protobuf:"bytes,8,rep,name=combat_entry_list,json=combatEntryList,proto3" json:"combat_entry_list,omitempty"` +} + +func (x *EntityConfigHashNotify) Reset() { + *x = EntityConfigHashNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityConfigHashNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityConfigHashNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityConfigHashNotify) ProtoMessage() {} + +func (x *EntityConfigHashNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityConfigHashNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityConfigHashNotify.ProtoReflect.Descriptor instead. +func (*EntityConfigHashNotify) Descriptor() ([]byte, []int) { + return file_EntityConfigHashNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityConfigHashNotify) GetAbilityEntryList() []*EntityConfigHashEntry { + if x != nil { + return x.AbilityEntryList + } + return nil +} + +func (x *EntityConfigHashNotify) GetAvatarEntryList() []*EntityConfigHashEntry { + if x != nil { + return x.AvatarEntryList + } + return nil +} + +func (x *EntityConfigHashNotify) GetCombatEntryList() []*EntityConfigHashEntry { + if x != nil { + return x.CombatEntryList + } + return nil +} + +var File_EntityConfigHashNotify_proto protoreflect.FileDescriptor + +var file_EntityConfigHashNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, + 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x16, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x12, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x48, 0x61, 0x73, 0x68, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x11, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x42, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityConfigHashNotify_proto_rawDescOnce sync.Once + file_EntityConfigHashNotify_proto_rawDescData = file_EntityConfigHashNotify_proto_rawDesc +) + +func file_EntityConfigHashNotify_proto_rawDescGZIP() []byte { + file_EntityConfigHashNotify_proto_rawDescOnce.Do(func() { + file_EntityConfigHashNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityConfigHashNotify_proto_rawDescData) + }) + return file_EntityConfigHashNotify_proto_rawDescData +} + +var file_EntityConfigHashNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityConfigHashNotify_proto_goTypes = []interface{}{ + (*EntityConfigHashNotify)(nil), // 0: EntityConfigHashNotify + (*EntityConfigHashEntry)(nil), // 1: EntityConfigHashEntry +} +var file_EntityConfigHashNotify_proto_depIdxs = []int32{ + 1, // 0: EntityConfigHashNotify.ability_entry_list:type_name -> EntityConfigHashEntry + 1, // 1: EntityConfigHashNotify.avatar_entry_list:type_name -> EntityConfigHashEntry + 1, // 2: EntityConfigHashNotify.combat_entry_list:type_name -> EntityConfigHashEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EntityConfigHashNotify_proto_init() } +func file_EntityConfigHashNotify_proto_init() { + if File_EntityConfigHashNotify_proto != nil { + return + } + file_EntityConfigHashEntry_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityConfigHashNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityConfigHashNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityConfigHashNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityConfigHashNotify_proto_goTypes, + DependencyIndexes: file_EntityConfigHashNotify_proto_depIdxs, + MessageInfos: file_EntityConfigHashNotify_proto_msgTypes, + }.Build() + File_EntityConfigHashNotify_proto = out.File + file_EntityConfigHashNotify_proto_rawDesc = nil + file_EntityConfigHashNotify_proto_goTypes = nil + file_EntityConfigHashNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityConfigHashNotify.proto b/gate-hk4e-api/proto/EntityConfigHashNotify.proto new file mode 100644 index 00000000..ca5823bb --- /dev/null +++ b/gate-hk4e-api/proto/EntityConfigHashNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityConfigHashEntry.proto"; + +option go_package = "./;proto"; + +// CmdId: 3189 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityConfigHashNotify { + repeated EntityConfigHashEntry ability_entry_list = 3; + repeated EntityConfigHashEntry avatar_entry_list = 15; + repeated EntityConfigHashEntry combat_entry_list = 8; +} diff --git a/gate-hk4e-api/proto/EntityEnvironmentInfo.pb.go b/gate-hk4e-api/proto/EntityEnvironmentInfo.pb.go new file mode 100644 index 00000000..077d02d0 --- /dev/null +++ b/gate-hk4e-api/proto/EntityEnvironmentInfo.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityEnvironmentInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityEnvironmentInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JsonClimateType uint32 `protobuf:"varint,1,opt,name=json_climate_type,json=jsonClimateType,proto3" json:"json_climate_type,omitempty"` + ClimateAreaId uint32 `protobuf:"varint,2,opt,name=climate_area_id,json=climateAreaId,proto3" json:"climate_area_id,omitempty"` +} + +func (x *EntityEnvironmentInfo) Reset() { + *x = EntityEnvironmentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityEnvironmentInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityEnvironmentInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityEnvironmentInfo) ProtoMessage() {} + +func (x *EntityEnvironmentInfo) ProtoReflect() protoreflect.Message { + mi := &file_EntityEnvironmentInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityEnvironmentInfo.ProtoReflect.Descriptor instead. +func (*EntityEnvironmentInfo) Descriptor() ([]byte, []int) { + return file_EntityEnvironmentInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityEnvironmentInfo) GetJsonClimateType() uint32 { + if x != nil { + return x.JsonClimateType + } + return 0 +} + +func (x *EntityEnvironmentInfo) GetClimateAreaId() uint32 { + if x != nil { + return x.ClimateAreaId + } + return 0 +} + +var File_EntityEnvironmentInfo_proto protoreflect.FileDescriptor + +var file_EntityEnvironmentInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, + 0x15, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x63, + 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x6a, 0x73, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x72, + 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6c, 0x69, + 0x6d, 0x61, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityEnvironmentInfo_proto_rawDescOnce sync.Once + file_EntityEnvironmentInfo_proto_rawDescData = file_EntityEnvironmentInfo_proto_rawDesc +) + +func file_EntityEnvironmentInfo_proto_rawDescGZIP() []byte { + file_EntityEnvironmentInfo_proto_rawDescOnce.Do(func() { + file_EntityEnvironmentInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityEnvironmentInfo_proto_rawDescData) + }) + return file_EntityEnvironmentInfo_proto_rawDescData +} + +var file_EntityEnvironmentInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityEnvironmentInfo_proto_goTypes = []interface{}{ + (*EntityEnvironmentInfo)(nil), // 0: EntityEnvironmentInfo +} +var file_EntityEnvironmentInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityEnvironmentInfo_proto_init() } +func file_EntityEnvironmentInfo_proto_init() { + if File_EntityEnvironmentInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityEnvironmentInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityEnvironmentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityEnvironmentInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityEnvironmentInfo_proto_goTypes, + DependencyIndexes: file_EntityEnvironmentInfo_proto_depIdxs, + MessageInfos: file_EntityEnvironmentInfo_proto_msgTypes, + }.Build() + File_EntityEnvironmentInfo_proto = out.File + file_EntityEnvironmentInfo_proto_rawDesc = nil + file_EntityEnvironmentInfo_proto_goTypes = nil + file_EntityEnvironmentInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityEnvironmentInfo.proto b/gate-hk4e-api/proto/EntityEnvironmentInfo.proto new file mode 100644 index 00000000..2fedaee1 --- /dev/null +++ b/gate-hk4e-api/proto/EntityEnvironmentInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EntityEnvironmentInfo { + uint32 json_climate_type = 1; + uint32 climate_area_id = 2; +} diff --git a/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.pb.go b/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.pb.go new file mode 100644 index 00000000..549b4463 --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.pb.go @@ -0,0 +1,241 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityFightPropChangeReasonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1203 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityFightPropChangeReasonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList []uint32 `protobuf:"varint,10,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + PropDelta float32 `protobuf:"fixed32,1,opt,name=prop_delta,json=propDelta,proto3" json:"prop_delta,omitempty"` + ChangeHpReason ChangeHpReason `protobuf:"varint,14,opt,name=change_hp_reason,json=changeHpReason,proto3,enum=ChangeHpReason" json:"change_hp_reason,omitempty"` + Reason PropChangeReason `protobuf:"varint,6,opt,name=reason,proto3,enum=PropChangeReason" json:"reason,omitempty"` + EntityId uint32 `protobuf:"varint,5,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ChangeEnergyReson ChangeEnergyReason `protobuf:"varint,15,opt,name=change_energy_reson,json=changeEnergyReson,proto3,enum=ChangeEnergyReason" json:"change_energy_reson,omitempty"` + PropType uint32 `protobuf:"varint,13,opt,name=prop_type,json=propType,proto3" json:"prop_type,omitempty"` +} + +func (x *EntityFightPropChangeReasonNotify) Reset() { + *x = EntityFightPropChangeReasonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityFightPropChangeReasonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityFightPropChangeReasonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityFightPropChangeReasonNotify) ProtoMessage() {} + +func (x *EntityFightPropChangeReasonNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityFightPropChangeReasonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityFightPropChangeReasonNotify.ProtoReflect.Descriptor instead. +func (*EntityFightPropChangeReasonNotify) Descriptor() ([]byte, []int) { + return file_EntityFightPropChangeReasonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityFightPropChangeReasonNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *EntityFightPropChangeReasonNotify) GetPropDelta() float32 { + if x != nil { + return x.PropDelta + } + return 0 +} + +func (x *EntityFightPropChangeReasonNotify) GetChangeHpReason() ChangeHpReason { + if x != nil { + return x.ChangeHpReason + } + return ChangeHpReason_CHANGE_HP_REASON_NONE +} + +func (x *EntityFightPropChangeReasonNotify) GetReason() PropChangeReason { + if x != nil { + return x.Reason + } + return PropChangeReason_PROP_CHANGE_REASON_NONE +} + +func (x *EntityFightPropChangeReasonNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityFightPropChangeReasonNotify) GetChangeEnergyReson() ChangeEnergyReason { + if x != nil { + return x.ChangeEnergyReson + } + return ChangeEnergyReason_CHANGE_ENERGY_REASON_NONE +} + +func (x *EntityFightPropChangeReasonNotify) GetPropType() uint32 { + if x != nil { + return x.PropType + } + return 0 +} + +var File_EntityFightPropChangeReasonNotify_proto protoreflect.FileDescriptor + +var file_EntityFightPropChangeReasonNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x70, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc6, 0x02, 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, + 0x74, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x64, + 0x65, 0x6c, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, + 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, + 0x68, 0x70, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0f, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x11, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityFightPropChangeReasonNotify_proto_rawDescOnce sync.Once + file_EntityFightPropChangeReasonNotify_proto_rawDescData = file_EntityFightPropChangeReasonNotify_proto_rawDesc +) + +func file_EntityFightPropChangeReasonNotify_proto_rawDescGZIP() []byte { + file_EntityFightPropChangeReasonNotify_proto_rawDescOnce.Do(func() { + file_EntityFightPropChangeReasonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityFightPropChangeReasonNotify_proto_rawDescData) + }) + return file_EntityFightPropChangeReasonNotify_proto_rawDescData +} + +var file_EntityFightPropChangeReasonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityFightPropChangeReasonNotify_proto_goTypes = []interface{}{ + (*EntityFightPropChangeReasonNotify)(nil), // 0: EntityFightPropChangeReasonNotify + (ChangeHpReason)(0), // 1: ChangeHpReason + (PropChangeReason)(0), // 2: PropChangeReason + (ChangeEnergyReason)(0), // 3: ChangeEnergyReason +} +var file_EntityFightPropChangeReasonNotify_proto_depIdxs = []int32{ + 1, // 0: EntityFightPropChangeReasonNotify.change_hp_reason:type_name -> ChangeHpReason + 2, // 1: EntityFightPropChangeReasonNotify.reason:type_name -> PropChangeReason + 3, // 2: EntityFightPropChangeReasonNotify.change_energy_reson:type_name -> ChangeEnergyReason + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EntityFightPropChangeReasonNotify_proto_init() } +func file_EntityFightPropChangeReasonNotify_proto_init() { + if File_EntityFightPropChangeReasonNotify_proto != nil { + return + } + file_ChangeEnergyReason_proto_init() + file_ChangeHpReason_proto_init() + file_PropChangeReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityFightPropChangeReasonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityFightPropChangeReasonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityFightPropChangeReasonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityFightPropChangeReasonNotify_proto_goTypes, + DependencyIndexes: file_EntityFightPropChangeReasonNotify_proto_depIdxs, + MessageInfos: file_EntityFightPropChangeReasonNotify_proto_msgTypes, + }.Build() + File_EntityFightPropChangeReasonNotify_proto = out.File + file_EntityFightPropChangeReasonNotify_proto_rawDesc = nil + file_EntityFightPropChangeReasonNotify_proto_goTypes = nil + file_EntityFightPropChangeReasonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.proto b/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.proto new file mode 100644 index 00000000..bbe44357 --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropChangeReasonNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChangeEnergyReason.proto"; +import "ChangeHpReason.proto"; +import "PropChangeReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 1203 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityFightPropChangeReasonNotify { + repeated uint32 param_list = 10; + float prop_delta = 1; + ChangeHpReason change_hp_reason = 14; + PropChangeReason reason = 6; + uint32 entity_id = 5; + ChangeEnergyReason change_energy_reson = 15; + uint32 prop_type = 13; +} diff --git a/gate-hk4e-api/proto/EntityFightPropNotify.pb.go b/gate-hk4e-api/proto/EntityFightPropNotify.pb.go new file mode 100644 index 00000000..e1de4563 --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityFightPropNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1212 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityFightPropNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FightPropMap map[uint32]float32 `protobuf:"bytes,8,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` +} + +func (x *EntityFightPropNotify) Reset() { + *x = EntityFightPropNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityFightPropNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityFightPropNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityFightPropNotify) ProtoMessage() {} + +func (x *EntityFightPropNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityFightPropNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityFightPropNotify.ProtoReflect.Descriptor instead. +func (*EntityFightPropNotify) Descriptor() ([]byte, []int) { + return file_EntityFightPropNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityFightPropNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityFightPropNotify) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +var File_EntityFightPropNotify_proto protoreflect.FileDescriptor + +var file_EntityFightPropNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, + 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x0e, 0x66, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, + 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityFightPropNotify_proto_rawDescOnce sync.Once + file_EntityFightPropNotify_proto_rawDescData = file_EntityFightPropNotify_proto_rawDesc +) + +func file_EntityFightPropNotify_proto_rawDescGZIP() []byte { + file_EntityFightPropNotify_proto_rawDescOnce.Do(func() { + file_EntityFightPropNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityFightPropNotify_proto_rawDescData) + }) + return file_EntityFightPropNotify_proto_rawDescData +} + +var file_EntityFightPropNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EntityFightPropNotify_proto_goTypes = []interface{}{ + (*EntityFightPropNotify)(nil), // 0: EntityFightPropNotify + nil, // 1: EntityFightPropNotify.FightPropMapEntry +} +var file_EntityFightPropNotify_proto_depIdxs = []int32{ + 1, // 0: EntityFightPropNotify.fight_prop_map:type_name -> EntityFightPropNotify.FightPropMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityFightPropNotify_proto_init() } +func file_EntityFightPropNotify_proto_init() { + if File_EntityFightPropNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityFightPropNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityFightPropNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityFightPropNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityFightPropNotify_proto_goTypes, + DependencyIndexes: file_EntityFightPropNotify_proto_depIdxs, + MessageInfos: file_EntityFightPropNotify_proto_msgTypes, + }.Build() + File_EntityFightPropNotify_proto = out.File + file_EntityFightPropNotify_proto_rawDesc = nil + file_EntityFightPropNotify_proto_goTypes = nil + file_EntityFightPropNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityFightPropNotify.proto b/gate-hk4e-api/proto/EntityFightPropNotify.proto new file mode 100644 index 00000000..99e1407d --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1212 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityFightPropNotify { + uint32 entity_id = 4; + map fight_prop_map = 8; +} diff --git a/gate-hk4e-api/proto/EntityFightPropUpdateNotify.pb.go b/gate-hk4e-api/proto/EntityFightPropUpdateNotify.pb.go new file mode 100644 index 00000000..0d7d5aaf --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropUpdateNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityFightPropUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1235 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityFightPropUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FightPropMap map[uint32]float32 `protobuf:"bytes,15,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityFightPropUpdateNotify) Reset() { + *x = EntityFightPropUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityFightPropUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityFightPropUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityFightPropUpdateNotify) ProtoMessage() {} + +func (x *EntityFightPropUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityFightPropUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityFightPropUpdateNotify.ProtoReflect.Descriptor instead. +func (*EntityFightPropUpdateNotify) Descriptor() ([]byte, []int) { + return file_EntityFightPropUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityFightPropUpdateNotify) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +func (x *EntityFightPropUpdateNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityFightPropUpdateNotify_proto protoreflect.FileDescriptor + +var file_EntityFightPropUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, + 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x54, 0x0a, 0x0e, 0x66, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, + 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, + 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityFightPropUpdateNotify_proto_rawDescOnce sync.Once + file_EntityFightPropUpdateNotify_proto_rawDescData = file_EntityFightPropUpdateNotify_proto_rawDesc +) + +func file_EntityFightPropUpdateNotify_proto_rawDescGZIP() []byte { + file_EntityFightPropUpdateNotify_proto_rawDescOnce.Do(func() { + file_EntityFightPropUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityFightPropUpdateNotify_proto_rawDescData) + }) + return file_EntityFightPropUpdateNotify_proto_rawDescData +} + +var file_EntityFightPropUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EntityFightPropUpdateNotify_proto_goTypes = []interface{}{ + (*EntityFightPropUpdateNotify)(nil), // 0: EntityFightPropUpdateNotify + nil, // 1: EntityFightPropUpdateNotify.FightPropMapEntry +} +var file_EntityFightPropUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: EntityFightPropUpdateNotify.fight_prop_map:type_name -> EntityFightPropUpdateNotify.FightPropMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityFightPropUpdateNotify_proto_init() } +func file_EntityFightPropUpdateNotify_proto_init() { + if File_EntityFightPropUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityFightPropUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityFightPropUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityFightPropUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityFightPropUpdateNotify_proto_goTypes, + DependencyIndexes: file_EntityFightPropUpdateNotify_proto_depIdxs, + MessageInfos: file_EntityFightPropUpdateNotify_proto_msgTypes, + }.Build() + File_EntityFightPropUpdateNotify_proto = out.File + file_EntityFightPropUpdateNotify_proto_rawDesc = nil + file_EntityFightPropUpdateNotify_proto_goTypes = nil + file_EntityFightPropUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityFightPropUpdateNotify.proto b/gate-hk4e-api/proto/EntityFightPropUpdateNotify.proto new file mode 100644 index 00000000..a324e7e0 --- /dev/null +++ b/gate-hk4e-api/proto/EntityFightPropUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1235 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityFightPropUpdateNotify { + map fight_prop_map = 15; + uint32 entity_id = 13; +} diff --git a/gate-hk4e-api/proto/EntityForceSyncReq.pb.go b/gate-hk4e-api/proto/EntityForceSyncReq.pb.go new file mode 100644 index 00000000..61f446e8 --- /dev/null +++ b/gate-hk4e-api/proto/EntityForceSyncReq.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityForceSyncReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 274 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityForceSyncReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + MotionInfo *MotionInfo `protobuf:"bytes,11,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + SceneTime uint32 `protobuf:"varint,12,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` +} + +func (x *EntityForceSyncReq) Reset() { + *x = EntityForceSyncReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityForceSyncReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityForceSyncReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityForceSyncReq) ProtoMessage() {} + +func (x *EntityForceSyncReq) ProtoReflect() protoreflect.Message { + mi := &file_EntityForceSyncReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityForceSyncReq.ProtoReflect.Descriptor instead. +func (*EntityForceSyncReq) Descriptor() ([]byte, []int) { + return file_EntityForceSyncReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityForceSyncReq) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *EntityForceSyncReq) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *EntityForceSyncReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityForceSyncReq) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +var File_EntityForceSyncReq_proto protoreflect.FileDescriptor + +var file_EntityForceSyncReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x79, 0x6e, + 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, + 0x12, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x79, 0x6e, 0x63, + 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0b, + 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, + 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityForceSyncReq_proto_rawDescOnce sync.Once + file_EntityForceSyncReq_proto_rawDescData = file_EntityForceSyncReq_proto_rawDesc +) + +func file_EntityForceSyncReq_proto_rawDescGZIP() []byte { + file_EntityForceSyncReq_proto_rawDescOnce.Do(func() { + file_EntityForceSyncReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityForceSyncReq_proto_rawDescData) + }) + return file_EntityForceSyncReq_proto_rawDescData +} + +var file_EntityForceSyncReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityForceSyncReq_proto_goTypes = []interface{}{ + (*EntityForceSyncReq)(nil), // 0: EntityForceSyncReq + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_EntityForceSyncReq_proto_depIdxs = []int32{ + 1, // 0: EntityForceSyncReq.motion_info:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityForceSyncReq_proto_init() } +func file_EntityForceSyncReq_proto_init() { + if File_EntityForceSyncReq_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityForceSyncReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityForceSyncReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityForceSyncReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityForceSyncReq_proto_goTypes, + DependencyIndexes: file_EntityForceSyncReq_proto_depIdxs, + MessageInfos: file_EntityForceSyncReq_proto_msgTypes, + }.Build() + File_EntityForceSyncReq_proto = out.File + file_EntityForceSyncReq_proto_rawDesc = nil + file_EntityForceSyncReq_proto_goTypes = nil + file_EntityForceSyncReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityForceSyncReq.proto b/gate-hk4e-api/proto/EntityForceSyncReq.proto new file mode 100644 index 00000000..46b4fd80 --- /dev/null +++ b/gate-hk4e-api/proto/EntityForceSyncReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 274 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityForceSyncReq { + uint32 room_id = 1; + MotionInfo motion_info = 11; + uint32 entity_id = 13; + uint32 scene_time = 12; +} diff --git a/gate-hk4e-api/proto/EntityForceSyncRsp.pb.go b/gate-hk4e-api/proto/EntityForceSyncRsp.pb.go new file mode 100644 index 00000000..78258528 --- /dev/null +++ b/gate-hk4e-api/proto/EntityForceSyncRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityForceSyncRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 276 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityForceSyncRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTime uint32 `protobuf:"varint,14,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FailMotion *MotionInfo `protobuf:"bytes,8,opt,name=fail_motion,json=failMotion,proto3" json:"fail_motion,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EntityForceSyncRsp) Reset() { + *x = EntityForceSyncRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityForceSyncRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityForceSyncRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityForceSyncRsp) ProtoMessage() {} + +func (x *EntityForceSyncRsp) ProtoReflect() protoreflect.Message { + mi := &file_EntityForceSyncRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityForceSyncRsp.ProtoReflect.Descriptor instead. +func (*EntityForceSyncRsp) Descriptor() ([]byte, []int) { + return file_EntityForceSyncRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityForceSyncRsp) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *EntityForceSyncRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityForceSyncRsp) GetFailMotion() *MotionInfo { + if x != nil { + return x.FailMotion + } + return nil +} + +func (x *EntityForceSyncRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EntityForceSyncRsp_proto protoreflect.FileDescriptor + +var file_EntityForceSyncRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x79, 0x6e, + 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, + 0x12, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x79, 0x6e, 0x63, + 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x2c, 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityForceSyncRsp_proto_rawDescOnce sync.Once + file_EntityForceSyncRsp_proto_rawDescData = file_EntityForceSyncRsp_proto_rawDesc +) + +func file_EntityForceSyncRsp_proto_rawDescGZIP() []byte { + file_EntityForceSyncRsp_proto_rawDescOnce.Do(func() { + file_EntityForceSyncRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityForceSyncRsp_proto_rawDescData) + }) + return file_EntityForceSyncRsp_proto_rawDescData +} + +var file_EntityForceSyncRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityForceSyncRsp_proto_goTypes = []interface{}{ + (*EntityForceSyncRsp)(nil), // 0: EntityForceSyncRsp + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_EntityForceSyncRsp_proto_depIdxs = []int32{ + 1, // 0: EntityForceSyncRsp.fail_motion:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityForceSyncRsp_proto_init() } +func file_EntityForceSyncRsp_proto_init() { + if File_EntityForceSyncRsp_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityForceSyncRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityForceSyncRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityForceSyncRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityForceSyncRsp_proto_goTypes, + DependencyIndexes: file_EntityForceSyncRsp_proto_depIdxs, + MessageInfos: file_EntityForceSyncRsp_proto_msgTypes, + }.Build() + File_EntityForceSyncRsp_proto = out.File + file_EntityForceSyncRsp_proto_rawDesc = nil + file_EntityForceSyncRsp_proto_goTypes = nil + file_EntityForceSyncRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityForceSyncRsp.proto b/gate-hk4e-api/proto/EntityForceSyncRsp.proto new file mode 100644 index 00000000..36b867c4 --- /dev/null +++ b/gate-hk4e-api/proto/EntityForceSyncRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 276 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityForceSyncRsp { + uint32 scene_time = 14; + uint32 entity_id = 6; + MotionInfo fail_motion = 8; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/EntityJumpNotify.pb.go b/gate-hk4e-api/proto/EntityJumpNotify.pb.go new file mode 100644 index 00000000..d3c583bb --- /dev/null +++ b/gate-hk4e-api/proto/EntityJumpNotify.pb.go @@ -0,0 +1,254 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityJumpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityJumpNotify_Type int32 + +const ( + EntityJumpNotify_TYPE_NULL EntityJumpNotify_Type = 0 + EntityJumpNotify_TYPE_ACTIVE EntityJumpNotify_Type = 1 + EntityJumpNotify_TYPE_PASSIVE EntityJumpNotify_Type = 2 +) + +// Enum value maps for EntityJumpNotify_Type. +var ( + EntityJumpNotify_Type_name = map[int32]string{ + 0: "TYPE_NULL", + 1: "TYPE_ACTIVE", + 2: "TYPE_PASSIVE", + } + EntityJumpNotify_Type_value = map[string]int32{ + "TYPE_NULL": 0, + "TYPE_ACTIVE": 1, + "TYPE_PASSIVE": 2, + } +) + +func (x EntityJumpNotify_Type) Enum() *EntityJumpNotify_Type { + p := new(EntityJumpNotify_Type) + *p = x + return p +} + +func (x EntityJumpNotify_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EntityJumpNotify_Type) Descriptor() protoreflect.EnumDescriptor { + return file_EntityJumpNotify_proto_enumTypes[0].Descriptor() +} + +func (EntityJumpNotify_Type) Type() protoreflect.EnumType { + return &file_EntityJumpNotify_proto_enumTypes[0] +} + +func (x EntityJumpNotify_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EntityJumpNotify_Type.Descriptor instead. +func (EntityJumpNotify_Type) EnumDescriptor() ([]byte, []int) { + return file_EntityJumpNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 222 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityJumpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JumpType EntityJumpNotify_Type `protobuf:"varint,9,opt,name=jump_type,json=jumpType,proto3,enum=EntityJumpNotify_Type" json:"jump_type,omitempty"` + Rot *Vector `protobuf:"bytes,8,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityJumpNotify) Reset() { + *x = EntityJumpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityJumpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityJumpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityJumpNotify) ProtoMessage() {} + +func (x *EntityJumpNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityJumpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityJumpNotify.ProtoReflect.Descriptor instead. +func (*EntityJumpNotify) Descriptor() ([]byte, []int) { + return file_EntityJumpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityJumpNotify) GetJumpType() EntityJumpNotify_Type { + if x != nil { + return x.JumpType + } + return EntityJumpNotify_TYPE_NULL +} + +func (x *EntityJumpNotify) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *EntityJumpNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *EntityJumpNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityJumpNotify_proto protoreflect.FileDescriptor + +var file_EntityJumpNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4a, 0x75, 0x6d, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01, 0x0a, 0x10, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x4a, 0x75, 0x6d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x09, 0x6a, + 0x75, 0x6d, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, + 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4a, 0x75, 0x6d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6a, 0x75, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x02, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_EntityJumpNotify_proto_rawDescOnce sync.Once + file_EntityJumpNotify_proto_rawDescData = file_EntityJumpNotify_proto_rawDesc +) + +func file_EntityJumpNotify_proto_rawDescGZIP() []byte { + file_EntityJumpNotify_proto_rawDescOnce.Do(func() { + file_EntityJumpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityJumpNotify_proto_rawDescData) + }) + return file_EntityJumpNotify_proto_rawDescData +} + +var file_EntityJumpNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_EntityJumpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityJumpNotify_proto_goTypes = []interface{}{ + (EntityJumpNotify_Type)(0), // 0: EntityJumpNotify.Type + (*EntityJumpNotify)(nil), // 1: EntityJumpNotify + (*Vector)(nil), // 2: Vector +} +var file_EntityJumpNotify_proto_depIdxs = []int32{ + 0, // 0: EntityJumpNotify.jump_type:type_name -> EntityJumpNotify.Type + 2, // 1: EntityJumpNotify.rot:type_name -> Vector + 2, // 2: EntityJumpNotify.pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EntityJumpNotify_proto_init() } +func file_EntityJumpNotify_proto_init() { + if File_EntityJumpNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityJumpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityJumpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityJumpNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityJumpNotify_proto_goTypes, + DependencyIndexes: file_EntityJumpNotify_proto_depIdxs, + EnumInfos: file_EntityJumpNotify_proto_enumTypes, + MessageInfos: file_EntityJumpNotify_proto_msgTypes, + }.Build() + File_EntityJumpNotify_proto = out.File + file_EntityJumpNotify_proto_rawDesc = nil + file_EntityJumpNotify_proto_goTypes = nil + file_EntityJumpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityJumpNotify.proto b/gate-hk4e-api/proto/EntityJumpNotify.proto new file mode 100644 index 00000000..1fe648c6 --- /dev/null +++ b/gate-hk4e-api/proto/EntityJumpNotify.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 222 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityJumpNotify { + Type jump_type = 9; + Vector rot = 8; + Vector pos = 10; + uint32 entity_id = 12; + + enum Type { + TYPE_NULL = 0; + TYPE_ACTIVE = 1; + TYPE_PASSIVE = 2; + } +} diff --git a/gate-hk4e-api/proto/EntityMoveFailInfo.pb.go b/gate-hk4e-api/proto/EntityMoveFailInfo.pb.go new file mode 100644 index 00000000..37d26d09 --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveFailInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityMoveFailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityMoveFailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + SceneTime uint32 `protobuf:"varint,9,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + FailMotion *MotionInfo `protobuf:"bytes,14,opt,name=fail_motion,json=failMotion,proto3" json:"fail_motion,omitempty"` + ReliableSeq uint32 `protobuf:"varint,4,opt,name=reliable_seq,json=reliableSeq,proto3" json:"reliable_seq,omitempty"` + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityMoveFailInfo) Reset() { + *x = EntityMoveFailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityMoveFailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityMoveFailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityMoveFailInfo) ProtoMessage() {} + +func (x *EntityMoveFailInfo) ProtoReflect() protoreflect.Message { + mi := &file_EntityMoveFailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityMoveFailInfo.ProtoReflect.Descriptor instead. +func (*EntityMoveFailInfo) Descriptor() ([]byte, []int) { + return file_EntityMoveFailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityMoveFailInfo) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EntityMoveFailInfo) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *EntityMoveFailInfo) GetFailMotion() *MotionInfo { + if x != nil { + return x.FailMotion + } + return nil +} + +func (x *EntityMoveFailInfo) GetReliableSeq() uint32 { + if x != nil { + return x.ReliableSeq + } + return 0 +} + +func (x *EntityMoveFailInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityMoveFailInfo_proto protoreflect.FileDescriptor + +var file_EntityMoveFailInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, + 0x12, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x0b, + 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, + 0x66, 0x61, 0x69, 0x6c, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, + 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityMoveFailInfo_proto_rawDescOnce sync.Once + file_EntityMoveFailInfo_proto_rawDescData = file_EntityMoveFailInfo_proto_rawDesc +) + +func file_EntityMoveFailInfo_proto_rawDescGZIP() []byte { + file_EntityMoveFailInfo_proto_rawDescOnce.Do(func() { + file_EntityMoveFailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityMoveFailInfo_proto_rawDescData) + }) + return file_EntityMoveFailInfo_proto_rawDescData +} + +var file_EntityMoveFailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityMoveFailInfo_proto_goTypes = []interface{}{ + (*EntityMoveFailInfo)(nil), // 0: EntityMoveFailInfo + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_EntityMoveFailInfo_proto_depIdxs = []int32{ + 1, // 0: EntityMoveFailInfo.fail_motion:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityMoveFailInfo_proto_init() } +func file_EntityMoveFailInfo_proto_init() { + if File_EntityMoveFailInfo_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityMoveFailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityMoveFailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityMoveFailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityMoveFailInfo_proto_goTypes, + DependencyIndexes: file_EntityMoveFailInfo_proto_depIdxs, + MessageInfos: file_EntityMoveFailInfo_proto_msgTypes, + }.Build() + File_EntityMoveFailInfo_proto = out.File + file_EntityMoveFailInfo_proto_rawDesc = nil + file_EntityMoveFailInfo_proto_goTypes = nil + file_EntityMoveFailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityMoveFailInfo.proto b/gate-hk4e-api/proto/EntityMoveFailInfo.proto new file mode 100644 index 00000000..9f9b6b24 --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveFailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +message EntityMoveFailInfo { + int32 retcode = 12; + uint32 scene_time = 9; + MotionInfo fail_motion = 14; + uint32 reliable_seq = 4; + uint32 entity_id = 10; +} diff --git a/gate-hk4e-api/proto/EntityMoveInfo.pb.go b/gate-hk4e-api/proto/EntityMoveInfo.pb.go new file mode 100644 index 00000000..89e072ac --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityMoveInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityMoveInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MotionInfo *MotionInfo `protobuf:"bytes,2,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + SceneTime uint32 `protobuf:"varint,3,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + ReliableSeq uint32 `protobuf:"varint,4,opt,name=reliable_seq,json=reliableSeq,proto3" json:"reliable_seq,omitempty"` + IsReliable bool `protobuf:"varint,5,opt,name=is_reliable,json=isReliable,proto3" json:"is_reliable,omitempty"` +} + +func (x *EntityMoveInfo) Reset() { + *x = EntityMoveInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityMoveInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityMoveInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityMoveInfo) ProtoMessage() {} + +func (x *EntityMoveInfo) ProtoReflect() protoreflect.Message { + mi := &file_EntityMoveInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityMoveInfo.ProtoReflect.Descriptor instead. +func (*EntityMoveInfo) Descriptor() ([]byte, []int) { + return file_EntityMoveInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityMoveInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityMoveInfo) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *EntityMoveInfo) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *EntityMoveInfo) GetReliableSeq() uint32 { + if x != nil { + return x.ReliableSeq + } + return 0 +} + +func (x *EntityMoveInfo) GetIsReliable() bool { + if x != nil { + return x.IsReliable + } + return false +} + +var File_EntityMoveInfo_proto protoreflect.FileDescriptor + +var file_EntityMoveInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x6d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x6c, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, + 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, + 0x73, 0x52, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityMoveInfo_proto_rawDescOnce sync.Once + file_EntityMoveInfo_proto_rawDescData = file_EntityMoveInfo_proto_rawDesc +) + +func file_EntityMoveInfo_proto_rawDescGZIP() []byte { + file_EntityMoveInfo_proto_rawDescOnce.Do(func() { + file_EntityMoveInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityMoveInfo_proto_rawDescData) + }) + return file_EntityMoveInfo_proto_rawDescData +} + +var file_EntityMoveInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityMoveInfo_proto_goTypes = []interface{}{ + (*EntityMoveInfo)(nil), // 0: EntityMoveInfo + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_EntityMoveInfo_proto_depIdxs = []int32{ + 1, // 0: EntityMoveInfo.motion_info:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityMoveInfo_proto_init() } +func file_EntityMoveInfo_proto_init() { + if File_EntityMoveInfo_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityMoveInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityMoveInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityMoveInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityMoveInfo_proto_goTypes, + DependencyIndexes: file_EntityMoveInfo_proto_depIdxs, + MessageInfos: file_EntityMoveInfo_proto_msgTypes, + }.Build() + File_EntityMoveInfo_proto = out.File + file_EntityMoveInfo_proto_rawDesc = nil + file_EntityMoveInfo_proto_goTypes = nil + file_EntityMoveInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityMoveInfo.proto b/gate-hk4e-api/proto/EntityMoveInfo.proto new file mode 100644 index 00000000..c83a5d56 --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +message EntityMoveInfo { + uint32 entity_id = 1; + MotionInfo motion_info = 2; + uint32 scene_time = 3; + uint32 reliable_seq = 4; + bool is_reliable = 5; +} diff --git a/gate-hk4e-api/proto/EntityMoveRoomNotify.pb.go b/gate-hk4e-api/proto/EntityMoveRoomNotify.pb.go new file mode 100644 index 00000000..3ceaeb84 --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveRoomNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityMoveRoomNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3178 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EntityMoveRoomNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + DestRoomId uint32 `protobuf:"varint,9,opt,name=dest_room_id,json=destRoomId,proto3" json:"dest_room_id,omitempty"` +} + +func (x *EntityMoveRoomNotify) Reset() { + *x = EntityMoveRoomNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityMoveRoomNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityMoveRoomNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityMoveRoomNotify) ProtoMessage() {} + +func (x *EntityMoveRoomNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityMoveRoomNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityMoveRoomNotify.ProtoReflect.Descriptor instead. +func (*EntityMoveRoomNotify) Descriptor() ([]byte, []int) { + return file_EntityMoveRoomNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityMoveRoomNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityMoveRoomNotify) GetDestRoomId() uint32 { + if x != nil { + return x.DestRoomId + } + return 0 +} + +var File_EntityMoveRoomNotify_proto protoreflect.FileDescriptor + +var file_EntityMoveRoomNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x14, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityMoveRoomNotify_proto_rawDescOnce sync.Once + file_EntityMoveRoomNotify_proto_rawDescData = file_EntityMoveRoomNotify_proto_rawDesc +) + +func file_EntityMoveRoomNotify_proto_rawDescGZIP() []byte { + file_EntityMoveRoomNotify_proto_rawDescOnce.Do(func() { + file_EntityMoveRoomNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityMoveRoomNotify_proto_rawDescData) + }) + return file_EntityMoveRoomNotify_proto_rawDescData +} + +var file_EntityMoveRoomNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityMoveRoomNotify_proto_goTypes = []interface{}{ + (*EntityMoveRoomNotify)(nil), // 0: EntityMoveRoomNotify +} +var file_EntityMoveRoomNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityMoveRoomNotify_proto_init() } +func file_EntityMoveRoomNotify_proto_init() { + if File_EntityMoveRoomNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityMoveRoomNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityMoveRoomNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityMoveRoomNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityMoveRoomNotify_proto_goTypes, + DependencyIndexes: file_EntityMoveRoomNotify_proto_depIdxs, + MessageInfos: file_EntityMoveRoomNotify_proto_msgTypes, + }.Build() + File_EntityMoveRoomNotify_proto = out.File + file_EntityMoveRoomNotify_proto_rawDesc = nil + file_EntityMoveRoomNotify_proto_goTypes = nil + file_EntityMoveRoomNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityMoveRoomNotify.proto b/gate-hk4e-api/proto/EntityMoveRoomNotify.proto new file mode 100644 index 00000000..c9649f5f --- /dev/null +++ b/gate-hk4e-api/proto/EntityMoveRoomNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3178 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EntityMoveRoomNotify { + uint32 entity_id = 11; + uint32 dest_room_id = 9; +} diff --git a/gate-hk4e-api/proto/EntityPropNotify.pb.go b/gate-hk4e-api/proto/EntityPropNotify.pb.go new file mode 100644 index 00000000..4d52322d --- /dev/null +++ b/gate-hk4e-api/proto/EntityPropNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityPropNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1272 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityPropNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropMap map[uint32]*PropValue `protobuf:"bytes,1,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EntityPropNotify) Reset() { + *x = EntityPropNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityPropNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityPropNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityPropNotify) ProtoMessage() {} + +func (x *EntityPropNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityPropNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityPropNotify.ProtoReflect.Descriptor instead. +func (*EntityPropNotify) Descriptor() ([]byte, []int) { + return file_EntityPropNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityPropNotify) GetPropMap() map[uint32]*PropValue { + if x != nil { + return x.PropMap + } + return nil +} + +func (x *EntityPropNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EntityPropNotify_proto protoreflect.FileDescriptor + +var file_EntityPropNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x1a, 0x46, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EntityPropNotify_proto_rawDescOnce sync.Once + file_EntityPropNotify_proto_rawDescData = file_EntityPropNotify_proto_rawDesc +) + +func file_EntityPropNotify_proto_rawDescGZIP() []byte { + file_EntityPropNotify_proto_rawDescOnce.Do(func() { + file_EntityPropNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityPropNotify_proto_rawDescData) + }) + return file_EntityPropNotify_proto_rawDescData +} + +var file_EntityPropNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EntityPropNotify_proto_goTypes = []interface{}{ + (*EntityPropNotify)(nil), // 0: EntityPropNotify + nil, // 1: EntityPropNotify.PropMapEntry + (*PropValue)(nil), // 2: PropValue +} +var file_EntityPropNotify_proto_depIdxs = []int32{ + 1, // 0: EntityPropNotify.prop_map:type_name -> EntityPropNotify.PropMapEntry + 2, // 1: EntityPropNotify.PropMapEntry.value:type_name -> PropValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EntityPropNotify_proto_init() } +func file_EntityPropNotify_proto_init() { + if File_EntityPropNotify_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_EntityPropNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityPropNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityPropNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityPropNotify_proto_goTypes, + DependencyIndexes: file_EntityPropNotify_proto_depIdxs, + MessageInfos: file_EntityPropNotify_proto_msgTypes, + }.Build() + File_EntityPropNotify_proto = out.File + file_EntityPropNotify_proto_rawDesc = nil + file_EntityPropNotify_proto_goTypes = nil + file_EntityPropNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityPropNotify.proto b/gate-hk4e-api/proto/EntityPropNotify.proto new file mode 100644 index 00000000..ccfd5e99 --- /dev/null +++ b/gate-hk4e-api/proto/EntityPropNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +// CmdId: 1272 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityPropNotify { + map prop_map = 1; + uint32 entity_id = 14; +} diff --git a/gate-hk4e-api/proto/EntityRendererChangedInfo.pb.go b/gate-hk4e-api/proto/EntityRendererChangedInfo.pb.go new file mode 100644 index 00000000..fc5efd4f --- /dev/null +++ b/gate-hk4e-api/proto/EntityRendererChangedInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityRendererChangedInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EntityRendererChangedInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChangedRenderers map[string]uint32 `protobuf:"bytes,1,rep,name=changed_renderers,json=changedRenderers,proto3" json:"changed_renderers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + VisibilityCount uint32 `protobuf:"varint,2,opt,name=visibility_count,json=visibilityCount,proto3" json:"visibility_count,omitempty"` + IsCached bool `protobuf:"varint,3,opt,name=is_cached,json=isCached,proto3" json:"is_cached,omitempty"` +} + +func (x *EntityRendererChangedInfo) Reset() { + *x = EntityRendererChangedInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityRendererChangedInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityRendererChangedInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityRendererChangedInfo) ProtoMessage() {} + +func (x *EntityRendererChangedInfo) ProtoReflect() protoreflect.Message { + mi := &file_EntityRendererChangedInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityRendererChangedInfo.ProtoReflect.Descriptor instead. +func (*EntityRendererChangedInfo) Descriptor() ([]byte, []int) { + return file_EntityRendererChangedInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityRendererChangedInfo) GetChangedRenderers() map[string]uint32 { + if x != nil { + return x.ChangedRenderers + } + return nil +} + +func (x *EntityRendererChangedInfo) GetVisibilityCount() uint32 { + if x != nil { + return x.VisibilityCount + } + return 0 +} + +func (x *EntityRendererChangedInfo) GetIsCached() bool { + if x != nil { + return x.IsCached + } + return false +} + +var File_EntityRendererChangedInfo_proto protoreflect.FileDescriptor + +var file_EntityRendererChangedInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x87, 0x02, 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x5d, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x73, 0x12, 0x29, + 0x0a, 0x10, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, + 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x64, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityRendererChangedInfo_proto_rawDescOnce sync.Once + file_EntityRendererChangedInfo_proto_rawDescData = file_EntityRendererChangedInfo_proto_rawDesc +) + +func file_EntityRendererChangedInfo_proto_rawDescGZIP() []byte { + file_EntityRendererChangedInfo_proto_rawDescOnce.Do(func() { + file_EntityRendererChangedInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityRendererChangedInfo_proto_rawDescData) + }) + return file_EntityRendererChangedInfo_proto_rawDescData +} + +var file_EntityRendererChangedInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EntityRendererChangedInfo_proto_goTypes = []interface{}{ + (*EntityRendererChangedInfo)(nil), // 0: EntityRendererChangedInfo + nil, // 1: EntityRendererChangedInfo.ChangedRenderersEntry +} +var file_EntityRendererChangedInfo_proto_depIdxs = []int32{ + 1, // 0: EntityRendererChangedInfo.changed_renderers:type_name -> EntityRendererChangedInfo.ChangedRenderersEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EntityRendererChangedInfo_proto_init() } +func file_EntityRendererChangedInfo_proto_init() { + if File_EntityRendererChangedInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityRendererChangedInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityRendererChangedInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityRendererChangedInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityRendererChangedInfo_proto_goTypes, + DependencyIndexes: file_EntityRendererChangedInfo_proto_depIdxs, + MessageInfos: file_EntityRendererChangedInfo_proto_msgTypes, + }.Build() + File_EntityRendererChangedInfo_proto = out.File + file_EntityRendererChangedInfo_proto_rawDesc = nil + file_EntityRendererChangedInfo_proto_goTypes = nil + file_EntityRendererChangedInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityRendererChangedInfo.proto b/gate-hk4e-api/proto/EntityRendererChangedInfo.proto new file mode 100644 index 00000000..00e017db --- /dev/null +++ b/gate-hk4e-api/proto/EntityRendererChangedInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EntityRendererChangedInfo { + map changed_renderers = 1; + uint32 visibility_count = 2; + bool is_cached = 3; +} diff --git a/gate-hk4e-api/proto/EntityTagChangeNotify.pb.go b/gate-hk4e-api/proto/EntityTagChangeNotify.pb.go new file mode 100644 index 00000000..ccfacd90 --- /dev/null +++ b/gate-hk4e-api/proto/EntityTagChangeNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EntityTagChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3316 +// EnetChannelId: 0 +// EnetIsReliable: true +type EntityTagChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + IsAdd bool `protobuf:"varint,10,opt,name=is_add,json=isAdd,proto3" json:"is_add,omitempty"` +} + +func (x *EntityTagChangeNotify) Reset() { + *x = EntityTagChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EntityTagChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntityTagChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntityTagChangeNotify) ProtoMessage() {} + +func (x *EntityTagChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_EntityTagChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntityTagChangeNotify.ProtoReflect.Descriptor instead. +func (*EntityTagChangeNotify) Descriptor() ([]byte, []int) { + return file_EntityTagChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EntityTagChangeNotify) GetTag() string { + if x != nil { + return x.Tag + } + return "" +} + +func (x *EntityTagChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EntityTagChangeNotify) GetIsAdd() bool { + if x != nil { + return x.IsAdd + } + return false +} + +var File_EntityTagChangeNotify_proto protoreflect.FileDescriptor + +var file_EntityTagChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x61, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, + 0x15, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x61, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x41, 0x64, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EntityTagChangeNotify_proto_rawDescOnce sync.Once + file_EntityTagChangeNotify_proto_rawDescData = file_EntityTagChangeNotify_proto_rawDesc +) + +func file_EntityTagChangeNotify_proto_rawDescGZIP() []byte { + file_EntityTagChangeNotify_proto_rawDescOnce.Do(func() { + file_EntityTagChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EntityTagChangeNotify_proto_rawDescData) + }) + return file_EntityTagChangeNotify_proto_rawDescData +} + +var file_EntityTagChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EntityTagChangeNotify_proto_goTypes = []interface{}{ + (*EntityTagChangeNotify)(nil), // 0: EntityTagChangeNotify +} +var file_EntityTagChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EntityTagChangeNotify_proto_init() } +func file_EntityTagChangeNotify_proto_init() { + if File_EntityTagChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EntityTagChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntityTagChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EntityTagChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EntityTagChangeNotify_proto_goTypes, + DependencyIndexes: file_EntityTagChangeNotify_proto_depIdxs, + MessageInfos: file_EntityTagChangeNotify_proto_msgTypes, + }.Build() + File_EntityTagChangeNotify_proto = out.File + file_EntityTagChangeNotify_proto_rawDesc = nil + file_EntityTagChangeNotify_proto_goTypes = nil + file_EntityTagChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EntityTagChangeNotify.proto b/gate-hk4e-api/proto/EntityTagChangeNotify.proto new file mode 100644 index 00000000..88b39ed7 --- /dev/null +++ b/gate-hk4e-api/proto/EntityTagChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3316 +// EnetChannelId: 0 +// EnetIsReliable: true +message EntityTagChangeNotify { + string tag = 2; + uint32 entity_id = 8; + bool is_add = 10; +} diff --git a/gate-hk4e-api/proto/Equip.pb.go b/gate-hk4e-api/proto/Equip.pb.go new file mode 100644 index 00000000..d9498f05 --- /dev/null +++ b/gate-hk4e-api/proto/Equip.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Equip.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Equip struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsLocked bool `protobuf:"varint,3,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` + // Types that are assignable to Detail: + // *Equip_Reliquary + // *Equip_Weapon + Detail isEquip_Detail `protobuf_oneof:"detail"` +} + +func (x *Equip) Reset() { + *x = Equip{} + if protoimpl.UnsafeEnabled { + mi := &file_Equip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Equip) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Equip) ProtoMessage() {} + +func (x *Equip) ProtoReflect() protoreflect.Message { + mi := &file_Equip_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Equip.ProtoReflect.Descriptor instead. +func (*Equip) Descriptor() ([]byte, []int) { + return file_Equip_proto_rawDescGZIP(), []int{0} +} + +func (x *Equip) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +func (m *Equip) GetDetail() isEquip_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *Equip) GetReliquary() *Reliquary { + if x, ok := x.GetDetail().(*Equip_Reliquary); ok { + return x.Reliquary + } + return nil +} + +func (x *Equip) GetWeapon() *Weapon { + if x, ok := x.GetDetail().(*Equip_Weapon); ok { + return x.Weapon + } + return nil +} + +type isEquip_Detail interface { + isEquip_Detail() +} + +type Equip_Reliquary struct { + Reliquary *Reliquary `protobuf:"bytes,1,opt,name=reliquary,proto3,oneof"` +} + +type Equip_Weapon struct { + Weapon *Weapon `protobuf:"bytes,2,opt,name=weapon,proto3,oneof"` +} + +func (*Equip_Reliquary) isEquip_Detail() {} + +func (*Equip_Weapon) isEquip_Detail() {} + +var File_Equip_proto protoreflect.FileDescriptor + +var file_Equip_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x52, + 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x05, + 0x45, 0x71, 0x75, 0x69, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, + 0x79, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x12, 0x21, + 0x0a, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, + 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Equip_proto_rawDescOnce sync.Once + file_Equip_proto_rawDescData = file_Equip_proto_rawDesc +) + +func file_Equip_proto_rawDescGZIP() []byte { + file_Equip_proto_rawDescOnce.Do(func() { + file_Equip_proto_rawDescData = protoimpl.X.CompressGZIP(file_Equip_proto_rawDescData) + }) + return file_Equip_proto_rawDescData +} + +var file_Equip_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Equip_proto_goTypes = []interface{}{ + (*Equip)(nil), // 0: Equip + (*Reliquary)(nil), // 1: Reliquary + (*Weapon)(nil), // 2: Weapon +} +var file_Equip_proto_depIdxs = []int32{ + 1, // 0: Equip.reliquary:type_name -> Reliquary + 2, // 1: Equip.weapon:type_name -> Weapon + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Equip_proto_init() } +func file_Equip_proto_init() { + if File_Equip_proto != nil { + return + } + file_Reliquary_proto_init() + file_Weapon_proto_init() + if !protoimpl.UnsafeEnabled { + file_Equip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Equip); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Equip_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Equip_Reliquary)(nil), + (*Equip_Weapon)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Equip_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Equip_proto_goTypes, + DependencyIndexes: file_Equip_proto_depIdxs, + MessageInfos: file_Equip_proto_msgTypes, + }.Build() + File_Equip_proto = out.File + file_Equip_proto_rawDesc = nil + file_Equip_proto_goTypes = nil + file_Equip_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Equip.proto b/gate-hk4e-api/proto/Equip.proto new file mode 100644 index 00000000..b40efd70 --- /dev/null +++ b/gate-hk4e-api/proto/Equip.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Reliquary.proto"; +import "Weapon.proto"; + +option go_package = "./;proto"; + +message Equip { + bool is_locked = 3; + oneof detail { + Reliquary reliquary = 1; + Weapon weapon = 2; + } +} diff --git a/gate-hk4e-api/proto/EquipParam.pb.go b/gate-hk4e-api/proto/EquipParam.pb.go new file mode 100644 index 00000000..736c60cc --- /dev/null +++ b/gate-hk4e-api/proto/EquipParam.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EquipParam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EquipParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + ItemNum uint32 `protobuf:"varint,2,opt,name=item_num,json=itemNum,proto3" json:"item_num,omitempty"` + ItemLevel uint32 `protobuf:"varint,3,opt,name=item_level,json=itemLevel,proto3" json:"item_level,omitempty"` + PromoteLevel uint32 `protobuf:"varint,4,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` +} + +func (x *EquipParam) Reset() { + *x = EquipParam{} + if protoimpl.UnsafeEnabled { + mi := &file_EquipParam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EquipParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EquipParam) ProtoMessage() {} + +func (x *EquipParam) ProtoReflect() protoreflect.Message { + mi := &file_EquipParam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EquipParam.ProtoReflect.Descriptor instead. +func (*EquipParam) Descriptor() ([]byte, []int) { + return file_EquipParam_proto_rawDescGZIP(), []int{0} +} + +func (x *EquipParam) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *EquipParam) GetItemNum() uint32 { + if x != nil { + return x.ItemNum + } + return 0 +} + +func (x *EquipParam) GetItemLevel() uint32 { + if x != nil { + return x.ItemLevel + } + return 0 +} + +func (x *EquipParam) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +var File_EquipParam_proto protoreflect.FileDescriptor + +var file_EquipParam_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x74, + 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, + 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EquipParam_proto_rawDescOnce sync.Once + file_EquipParam_proto_rawDescData = file_EquipParam_proto_rawDesc +) + +func file_EquipParam_proto_rawDescGZIP() []byte { + file_EquipParam_proto_rawDescOnce.Do(func() { + file_EquipParam_proto_rawDescData = protoimpl.X.CompressGZIP(file_EquipParam_proto_rawDescData) + }) + return file_EquipParam_proto_rawDescData +} + +var file_EquipParam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EquipParam_proto_goTypes = []interface{}{ + (*EquipParam)(nil), // 0: EquipParam +} +var file_EquipParam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EquipParam_proto_init() } +func file_EquipParam_proto_init() { + if File_EquipParam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EquipParam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EquipParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EquipParam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EquipParam_proto_goTypes, + DependencyIndexes: file_EquipParam_proto_depIdxs, + MessageInfos: file_EquipParam_proto_msgTypes, + }.Build() + File_EquipParam_proto = out.File + file_EquipParam_proto_rawDesc = nil + file_EquipParam_proto_goTypes = nil + file_EquipParam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EquipParam.proto b/gate-hk4e-api/proto/EquipParam.proto new file mode 100644 index 00000000..e3ba2376 --- /dev/null +++ b/gate-hk4e-api/proto/EquipParam.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EquipParam { + uint32 item_id = 1; + uint32 item_num = 2; + uint32 item_level = 3; + uint32 promote_level = 4; +} diff --git a/gate-hk4e-api/proto/EquipParamList.pb.go b/gate-hk4e-api/proto/EquipParamList.pb.go new file mode 100644 index 00000000..2b8d92ce --- /dev/null +++ b/gate-hk4e-api/proto/EquipParamList.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EquipParamList.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EquipParamList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*EquipParam `protobuf:"bytes,1,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *EquipParamList) Reset() { + *x = EquipParamList{} + if protoimpl.UnsafeEnabled { + mi := &file_EquipParamList_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EquipParamList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EquipParamList) ProtoMessage() {} + +func (x *EquipParamList) ProtoReflect() protoreflect.Message { + mi := &file_EquipParamList_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EquipParamList.ProtoReflect.Descriptor instead. +func (*EquipParamList) Descriptor() ([]byte, []int) { + return file_EquipParamList_proto_rawDescGZIP(), []int{0} +} + +func (x *EquipParamList) GetItemList() []*EquipParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_EquipParamList_proto protoreflect.FileDescriptor + +var file_EquipParamList_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x0e, 0x45, 0x71, 0x75, 0x69, + 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x09, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EquipParamList_proto_rawDescOnce sync.Once + file_EquipParamList_proto_rawDescData = file_EquipParamList_proto_rawDesc +) + +func file_EquipParamList_proto_rawDescGZIP() []byte { + file_EquipParamList_proto_rawDescOnce.Do(func() { + file_EquipParamList_proto_rawDescData = protoimpl.X.CompressGZIP(file_EquipParamList_proto_rawDescData) + }) + return file_EquipParamList_proto_rawDescData +} + +var file_EquipParamList_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EquipParamList_proto_goTypes = []interface{}{ + (*EquipParamList)(nil), // 0: EquipParamList + (*EquipParam)(nil), // 1: EquipParam +} +var file_EquipParamList_proto_depIdxs = []int32{ + 1, // 0: EquipParamList.item_list:type_name -> EquipParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EquipParamList_proto_init() } +func file_EquipParamList_proto_init() { + if File_EquipParamList_proto != nil { + return + } + file_EquipParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_EquipParamList_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EquipParamList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EquipParamList_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EquipParamList_proto_goTypes, + DependencyIndexes: file_EquipParamList_proto_depIdxs, + MessageInfos: file_EquipParamList_proto_msgTypes, + }.Build() + File_EquipParamList_proto = out.File + file_EquipParamList_proto_rawDesc = nil + file_EquipParamList_proto_goTypes = nil + file_EquipParamList_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EquipParamList.proto b/gate-hk4e-api/proto/EquipParamList.proto new file mode 100644 index 00000000..66757921 --- /dev/null +++ b/gate-hk4e-api/proto/EquipParamList.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EquipParam.proto"; + +option go_package = "./;proto"; + +message EquipParamList { + repeated EquipParam item_list = 1; +} diff --git a/gate-hk4e-api/proto/EquipRoguelikeRuneReq.pb.go b/gate-hk4e-api/proto/EquipRoguelikeRuneReq.pb.go new file mode 100644 index 00000000..316ae32a --- /dev/null +++ b/gate-hk4e-api/proto/EquipRoguelikeRuneReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EquipRoguelikeRuneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8306 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EquipRoguelikeRuneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RuneList []uint32 `protobuf:"varint,3,rep,packed,name=rune_list,json=runeList,proto3" json:"rune_list,omitempty"` +} + +func (x *EquipRoguelikeRuneReq) Reset() { + *x = EquipRoguelikeRuneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EquipRoguelikeRuneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EquipRoguelikeRuneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EquipRoguelikeRuneReq) ProtoMessage() {} + +func (x *EquipRoguelikeRuneReq) ProtoReflect() protoreflect.Message { + mi := &file_EquipRoguelikeRuneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EquipRoguelikeRuneReq.ProtoReflect.Descriptor instead. +func (*EquipRoguelikeRuneReq) Descriptor() ([]byte, []int) { + return file_EquipRoguelikeRuneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EquipRoguelikeRuneReq) GetRuneList() []uint32 { + if x != nil { + return x.RuneList + } + return nil +} + +var File_EquipRoguelikeRuneReq_proto protoreflect.FileDescriptor + +var file_EquipRoguelikeRuneReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, + 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, + 0x15, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, + 0x75, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x75, 0x6e, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EquipRoguelikeRuneReq_proto_rawDescOnce sync.Once + file_EquipRoguelikeRuneReq_proto_rawDescData = file_EquipRoguelikeRuneReq_proto_rawDesc +) + +func file_EquipRoguelikeRuneReq_proto_rawDescGZIP() []byte { + file_EquipRoguelikeRuneReq_proto_rawDescOnce.Do(func() { + file_EquipRoguelikeRuneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EquipRoguelikeRuneReq_proto_rawDescData) + }) + return file_EquipRoguelikeRuneReq_proto_rawDescData +} + +var file_EquipRoguelikeRuneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EquipRoguelikeRuneReq_proto_goTypes = []interface{}{ + (*EquipRoguelikeRuneReq)(nil), // 0: EquipRoguelikeRuneReq +} +var file_EquipRoguelikeRuneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EquipRoguelikeRuneReq_proto_init() } +func file_EquipRoguelikeRuneReq_proto_init() { + if File_EquipRoguelikeRuneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EquipRoguelikeRuneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EquipRoguelikeRuneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EquipRoguelikeRuneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EquipRoguelikeRuneReq_proto_goTypes, + DependencyIndexes: file_EquipRoguelikeRuneReq_proto_depIdxs, + MessageInfos: file_EquipRoguelikeRuneReq_proto_msgTypes, + }.Build() + File_EquipRoguelikeRuneReq_proto = out.File + file_EquipRoguelikeRuneReq_proto_rawDesc = nil + file_EquipRoguelikeRuneReq_proto_goTypes = nil + file_EquipRoguelikeRuneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EquipRoguelikeRuneReq.proto b/gate-hk4e-api/proto/EquipRoguelikeRuneReq.proto new file mode 100644 index 00000000..e9453347 --- /dev/null +++ b/gate-hk4e-api/proto/EquipRoguelikeRuneReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8306 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EquipRoguelikeRuneReq { + repeated uint32 rune_list = 3; +} diff --git a/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.pb.go b/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.pb.go new file mode 100644 index 00000000..b5e03cb8 --- /dev/null +++ b/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EquipRoguelikeRuneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8705 +// EnetChannelId: 0 +// EnetIsReliable: true +type EquipRoguelikeRuneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + RuneList []uint32 `protobuf:"varint,1,rep,packed,name=rune_list,json=runeList,proto3" json:"rune_list,omitempty"` +} + +func (x *EquipRoguelikeRuneRsp) Reset() { + *x = EquipRoguelikeRuneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EquipRoguelikeRuneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EquipRoguelikeRuneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EquipRoguelikeRuneRsp) ProtoMessage() {} + +func (x *EquipRoguelikeRuneRsp) ProtoReflect() protoreflect.Message { + mi := &file_EquipRoguelikeRuneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EquipRoguelikeRuneRsp.ProtoReflect.Descriptor instead. +func (*EquipRoguelikeRuneRsp) Descriptor() ([]byte, []int) { + return file_EquipRoguelikeRuneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EquipRoguelikeRuneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *EquipRoguelikeRuneRsp) GetRuneList() []uint32 { + if x != nil { + return x.RuneList + } + return nil +} + +var File_EquipRoguelikeRuneRsp_proto protoreflect.FileDescriptor + +var file_EquipRoguelikeRuneRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, + 0x52, 0x75, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, + 0x15, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, + 0x75, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x75, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_EquipRoguelikeRuneRsp_proto_rawDescOnce sync.Once + file_EquipRoguelikeRuneRsp_proto_rawDescData = file_EquipRoguelikeRuneRsp_proto_rawDesc +) + +func file_EquipRoguelikeRuneRsp_proto_rawDescGZIP() []byte { + file_EquipRoguelikeRuneRsp_proto_rawDescOnce.Do(func() { + file_EquipRoguelikeRuneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EquipRoguelikeRuneRsp_proto_rawDescData) + }) + return file_EquipRoguelikeRuneRsp_proto_rawDescData +} + +var file_EquipRoguelikeRuneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EquipRoguelikeRuneRsp_proto_goTypes = []interface{}{ + (*EquipRoguelikeRuneRsp)(nil), // 0: EquipRoguelikeRuneRsp +} +var file_EquipRoguelikeRuneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EquipRoguelikeRuneRsp_proto_init() } +func file_EquipRoguelikeRuneRsp_proto_init() { + if File_EquipRoguelikeRuneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EquipRoguelikeRuneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EquipRoguelikeRuneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EquipRoguelikeRuneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EquipRoguelikeRuneRsp_proto_goTypes, + DependencyIndexes: file_EquipRoguelikeRuneRsp_proto_depIdxs, + MessageInfos: file_EquipRoguelikeRuneRsp_proto_msgTypes, + }.Build() + File_EquipRoguelikeRuneRsp_proto = out.File + file_EquipRoguelikeRuneRsp_proto_rawDesc = nil + file_EquipRoguelikeRuneRsp_proto_goTypes = nil + file_EquipRoguelikeRuneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.proto b/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.proto new file mode 100644 index 00000000..09586cad --- /dev/null +++ b/gate-hk4e-api/proto/EquipRoguelikeRuneRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8705 +// EnetChannelId: 0 +// EnetIsReliable: true +message EquipRoguelikeRuneRsp { + int32 retcode = 14; + repeated uint32 rune_list = 1; +} diff --git a/gate-hk4e-api/proto/EventTriggerType.pb.go b/gate-hk4e-api/proto/EventTriggerType.pb.go new file mode 100644 index 00000000..6415879d --- /dev/null +++ b/gate-hk4e-api/proto/EventTriggerType.pb.go @@ -0,0 +1,146 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EventTriggerType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EventTriggerType int32 + +const ( + EventTriggerType_EVENT_TRIGGER_TYPE_NONE EventTriggerType = 0 + EventTriggerType_EVENT_TRIGGER_TYPE_ENTER_FORCE EventTriggerType = 1 +) + +// Enum value maps for EventTriggerType. +var ( + EventTriggerType_name = map[int32]string{ + 0: "EVENT_TRIGGER_TYPE_NONE", + 1: "EVENT_TRIGGER_TYPE_ENTER_FORCE", + } + EventTriggerType_value = map[string]int32{ + "EVENT_TRIGGER_TYPE_NONE": 0, + "EVENT_TRIGGER_TYPE_ENTER_FORCE": 1, + } +) + +func (x EventTriggerType) Enum() *EventTriggerType { + p := new(EventTriggerType) + *p = x + return p +} + +func (x EventTriggerType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EventTriggerType) Descriptor() protoreflect.EnumDescriptor { + return file_EventTriggerType_proto_enumTypes[0].Descriptor() +} + +func (EventTriggerType) Type() protoreflect.EnumType { + return &file_EventTriggerType_proto_enumTypes[0] +} + +func (x EventTriggerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EventTriggerType.Descriptor instead. +func (EventTriggerType) EnumDescriptor() ([]byte, []int) { + return file_EventTriggerType_proto_rawDescGZIP(), []int{0} +} + +var File_EventTriggerType_proto protoreflect.FileDescriptor + +var file_EventTriggerType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x53, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, + 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x45, 0x56, 0x45, + 0x4e, 0x54, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x10, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_EventTriggerType_proto_rawDescOnce sync.Once + file_EventTriggerType_proto_rawDescData = file_EventTriggerType_proto_rawDesc +) + +func file_EventTriggerType_proto_rawDescGZIP() []byte { + file_EventTriggerType_proto_rawDescOnce.Do(func() { + file_EventTriggerType_proto_rawDescData = protoimpl.X.CompressGZIP(file_EventTriggerType_proto_rawDescData) + }) + return file_EventTriggerType_proto_rawDescData +} + +var file_EventTriggerType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_EventTriggerType_proto_goTypes = []interface{}{ + (EventTriggerType)(0), // 0: EventTriggerType +} +var file_EventTriggerType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EventTriggerType_proto_init() } +func file_EventTriggerType_proto_init() { + if File_EventTriggerType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EventTriggerType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EventTriggerType_proto_goTypes, + DependencyIndexes: file_EventTriggerType_proto_depIdxs, + EnumInfos: file_EventTriggerType_proto_enumTypes, + }.Build() + File_EventTriggerType_proto = out.File + file_EventTriggerType_proto_rawDesc = nil + file_EventTriggerType_proto_goTypes = nil + file_EventTriggerType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EventTriggerType.proto b/gate-hk4e-api/proto/EventTriggerType.proto new file mode 100644 index 00000000..57ed2514 --- /dev/null +++ b/gate-hk4e-api/proto/EventTriggerType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum EventTriggerType { + EVENT_TRIGGER_TYPE_NONE = 0; + EVENT_TRIGGER_TYPE_ENTER_FORCE = 1; +} diff --git a/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.pb.go b/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.pb.go new file mode 100644 index 00000000..ba9f35dd --- /dev/null +++ b/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAiSyncCombatThreatInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 329 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAiSyncCombatThreatInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CombatThreatInfoMap map[uint32]*AiThreatInfo `protobuf:"bytes,8,rep,name=combat_threat_info_map,json=combatThreatInfoMap,proto3" json:"combat_threat_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EvtAiSyncCombatThreatInfoNotify) Reset() { + *x = EvtAiSyncCombatThreatInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAiSyncCombatThreatInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAiSyncCombatThreatInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAiSyncCombatThreatInfoNotify) ProtoMessage() {} + +func (x *EvtAiSyncCombatThreatInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAiSyncCombatThreatInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAiSyncCombatThreatInfoNotify.ProtoReflect.Descriptor instead. +func (*EvtAiSyncCombatThreatInfoNotify) Descriptor() ([]byte, []int) { + return file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAiSyncCombatThreatInfoNotify) GetCombatThreatInfoMap() map[uint32]*AiThreatInfo { + if x != nil { + return x.CombatThreatInfoMap + } + return nil +} + +var File_EvtAiSyncCombatThreatInfoNotify_proto protoreflect.FileDescriptor + +var file_EvtAiSyncCombatThreatInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x1f, + 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, + 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x6e, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x39, 0x2e, 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x62, 0x61, + 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x63, 0x6f, 0x6d, 0x62, + 0x61, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, + 0x55, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, + 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescOnce sync.Once + file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescData = file_EvtAiSyncCombatThreatInfoNotify_proto_rawDesc +) + +func file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescGZIP() []byte { + file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescOnce.Do(func() { + file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescData) + }) + return file_EvtAiSyncCombatThreatInfoNotify_proto_rawDescData +} + +var file_EvtAiSyncCombatThreatInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EvtAiSyncCombatThreatInfoNotify_proto_goTypes = []interface{}{ + (*EvtAiSyncCombatThreatInfoNotify)(nil), // 0: EvtAiSyncCombatThreatInfoNotify + nil, // 1: EvtAiSyncCombatThreatInfoNotify.CombatThreatInfoMapEntry + (*AiThreatInfo)(nil), // 2: AiThreatInfo +} +var file_EvtAiSyncCombatThreatInfoNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAiSyncCombatThreatInfoNotify.combat_threat_info_map:type_name -> EvtAiSyncCombatThreatInfoNotify.CombatThreatInfoMapEntry + 2, // 1: EvtAiSyncCombatThreatInfoNotify.CombatThreatInfoMapEntry.value:type_name -> AiThreatInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAiSyncCombatThreatInfoNotify_proto_init() } +func file_EvtAiSyncCombatThreatInfoNotify_proto_init() { + if File_EvtAiSyncCombatThreatInfoNotify_proto != nil { + return + } + file_AiThreatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAiSyncCombatThreatInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAiSyncCombatThreatInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAiSyncCombatThreatInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAiSyncCombatThreatInfoNotify_proto_goTypes, + DependencyIndexes: file_EvtAiSyncCombatThreatInfoNotify_proto_depIdxs, + MessageInfos: file_EvtAiSyncCombatThreatInfoNotify_proto_msgTypes, + }.Build() + File_EvtAiSyncCombatThreatInfoNotify_proto = out.File + file_EvtAiSyncCombatThreatInfoNotify_proto_rawDesc = nil + file_EvtAiSyncCombatThreatInfoNotify_proto_goTypes = nil + file_EvtAiSyncCombatThreatInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.proto b/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.proto new file mode 100644 index 00000000..e83f7bcc --- /dev/null +++ b/gate-hk4e-api/proto/EvtAiSyncCombatThreatInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AiThreatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 329 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAiSyncCombatThreatInfoNotify { + map combat_threat_info_map = 8; +} diff --git a/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.pb.go b/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.pb.go new file mode 100644 index 00000000..fa0e2893 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAiSyncSkillCdNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 376 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAiSyncSkillCdNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AiCdMap map[uint32]*AiSkillCdInfo `protobuf:"bytes,7,rep,name=ai_cd_map,json=aiCdMap,proto3" json:"ai_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EvtAiSyncSkillCdNotify) Reset() { + *x = EvtAiSyncSkillCdNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAiSyncSkillCdNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAiSyncSkillCdNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAiSyncSkillCdNotify) ProtoMessage() {} + +func (x *EvtAiSyncSkillCdNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAiSyncSkillCdNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAiSyncSkillCdNotify.ProtoReflect.Descriptor instead. +func (*EvtAiSyncSkillCdNotify) Descriptor() ([]byte, []int) { + return file_EvtAiSyncSkillCdNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAiSyncSkillCdNotify) GetAiCdMap() map[uint32]*AiSkillCdInfo { + if x != nil { + return x.AiCdMap + } + return nil +} + +var File_EvtAiSyncSkillCdNotify_proto protoreflect.FileDescriptor + +var file_EvtAiSyncSkillCdNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6b, 0x69, 0x6c, 0x6c, + 0x43, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, + 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, + 0x63, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x40, + 0x0a, 0x09, 0x61, 0x69, 0x5f, 0x63, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x45, 0x76, 0x74, 0x41, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6b, 0x69, + 0x6c, 0x6c, 0x43, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x41, 0x69, 0x43, 0x64, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x69, 0x43, 0x64, 0x4d, 0x61, 0x70, + 0x1a, 0x4a, 0x0a, 0x0c, 0x41, 0x69, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x69, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAiSyncSkillCdNotify_proto_rawDescOnce sync.Once + file_EvtAiSyncSkillCdNotify_proto_rawDescData = file_EvtAiSyncSkillCdNotify_proto_rawDesc +) + +func file_EvtAiSyncSkillCdNotify_proto_rawDescGZIP() []byte { + file_EvtAiSyncSkillCdNotify_proto_rawDescOnce.Do(func() { + file_EvtAiSyncSkillCdNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAiSyncSkillCdNotify_proto_rawDescData) + }) + return file_EvtAiSyncSkillCdNotify_proto_rawDescData +} + +var file_EvtAiSyncSkillCdNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_EvtAiSyncSkillCdNotify_proto_goTypes = []interface{}{ + (*EvtAiSyncSkillCdNotify)(nil), // 0: EvtAiSyncSkillCdNotify + nil, // 1: EvtAiSyncSkillCdNotify.AiCdMapEntry + (*AiSkillCdInfo)(nil), // 2: AiSkillCdInfo +} +var file_EvtAiSyncSkillCdNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAiSyncSkillCdNotify.ai_cd_map:type_name -> EvtAiSyncSkillCdNotify.AiCdMapEntry + 2, // 1: EvtAiSyncSkillCdNotify.AiCdMapEntry.value:type_name -> AiSkillCdInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAiSyncSkillCdNotify_proto_init() } +func file_EvtAiSyncSkillCdNotify_proto_init() { + if File_EvtAiSyncSkillCdNotify_proto != nil { + return + } + file_AiSkillCdInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAiSyncSkillCdNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAiSyncSkillCdNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAiSyncSkillCdNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAiSyncSkillCdNotify_proto_goTypes, + DependencyIndexes: file_EvtAiSyncSkillCdNotify_proto_depIdxs, + MessageInfos: file_EvtAiSyncSkillCdNotify_proto_msgTypes, + }.Build() + File_EvtAiSyncSkillCdNotify_proto = out.File + file_EvtAiSyncSkillCdNotify_proto_rawDesc = nil + file_EvtAiSyncSkillCdNotify_proto_goTypes = nil + file_EvtAiSyncSkillCdNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.proto b/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.proto new file mode 100644 index 00000000..4302b42a --- /dev/null +++ b/gate-hk4e-api/proto/EvtAiSyncSkillCdNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AiSkillCdInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 376 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAiSyncSkillCdNotify { + map ai_cd_map = 7; +} diff --git a/gate-hk4e-api/proto/EvtAnimatorParameterInfo.pb.go b/gate-hk4e-api/proto/EvtAnimatorParameterInfo.pb.go new file mode 100644 index 00000000..241c9a55 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorParameterInfo.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAnimatorParameterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtAnimatorParameterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + IsServerCache bool `protobuf:"varint,5,opt,name=is_server_cache,json=isServerCache,proto3" json:"is_server_cache,omitempty"` + Value *AnimatorParameterValueInfo `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` + NameId int32 `protobuf:"varint,15,opt,name=name_id,json=nameId,proto3" json:"name_id,omitempty"` +} + +func (x *EvtAnimatorParameterInfo) Reset() { + *x = EvtAnimatorParameterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAnimatorParameterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAnimatorParameterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAnimatorParameterInfo) ProtoMessage() {} + +func (x *EvtAnimatorParameterInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtAnimatorParameterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAnimatorParameterInfo.ProtoReflect.Descriptor instead. +func (*EvtAnimatorParameterInfo) Descriptor() ([]byte, []int) { + return file_EvtAnimatorParameterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAnimatorParameterInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtAnimatorParameterInfo) GetIsServerCache() bool { + if x != nil { + return x.IsServerCache + } + return false +} + +func (x *EvtAnimatorParameterInfo) GetValue() *AnimatorParameterValueInfo { + if x != nil { + return x.Value + } + return nil +} + +func (x *EvtAnimatorParameterInfo) GetNameId() int32 { + if x != nil { + return x.NameId + } + return 0 +} + +var File_EvtAnimatorParameterInfo_proto protoreflect.FileDescriptor + +var file_EvtAnimatorParameterInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x20, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xab, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, + 0x61, 0x63, 0x68, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x61, 0x6d, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x61, 0x6d, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAnimatorParameterInfo_proto_rawDescOnce sync.Once + file_EvtAnimatorParameterInfo_proto_rawDescData = file_EvtAnimatorParameterInfo_proto_rawDesc +) + +func file_EvtAnimatorParameterInfo_proto_rawDescGZIP() []byte { + file_EvtAnimatorParameterInfo_proto_rawDescOnce.Do(func() { + file_EvtAnimatorParameterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAnimatorParameterInfo_proto_rawDescData) + }) + return file_EvtAnimatorParameterInfo_proto_rawDescData +} + +var file_EvtAnimatorParameterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAnimatorParameterInfo_proto_goTypes = []interface{}{ + (*EvtAnimatorParameterInfo)(nil), // 0: EvtAnimatorParameterInfo + (*AnimatorParameterValueInfo)(nil), // 1: AnimatorParameterValueInfo +} +var file_EvtAnimatorParameterInfo_proto_depIdxs = []int32{ + 1, // 0: EvtAnimatorParameterInfo.value:type_name -> AnimatorParameterValueInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtAnimatorParameterInfo_proto_init() } +func file_EvtAnimatorParameterInfo_proto_init() { + if File_EvtAnimatorParameterInfo_proto != nil { + return + } + file_AnimatorParameterValueInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAnimatorParameterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAnimatorParameterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAnimatorParameterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAnimatorParameterInfo_proto_goTypes, + DependencyIndexes: file_EvtAnimatorParameterInfo_proto_depIdxs, + MessageInfos: file_EvtAnimatorParameterInfo_proto_msgTypes, + }.Build() + File_EvtAnimatorParameterInfo_proto = out.File + file_EvtAnimatorParameterInfo_proto_rawDesc = nil + file_EvtAnimatorParameterInfo_proto_goTypes = nil + file_EvtAnimatorParameterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAnimatorParameterInfo.proto b/gate-hk4e-api/proto/EvtAnimatorParameterInfo.proto new file mode 100644 index 00000000..11ca9674 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorParameterInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnimatorParameterValueInfo.proto"; + +option go_package = "./;proto"; + +message EvtAnimatorParameterInfo { + uint32 entity_id = 4; + bool is_server_cache = 5; + AnimatorParameterValueInfo value = 7; + int32 name_id = 15; +} diff --git a/gate-hk4e-api/proto/EvtAnimatorParameterNotify.pb.go b/gate-hk4e-api/proto/EvtAnimatorParameterNotify.pb.go new file mode 100644 index 00000000..a739cd2d --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorParameterNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAnimatorParameterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAnimatorParameterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnimatorParamInfo *EvtAnimatorParameterInfo `protobuf:"bytes,12,opt,name=animator_param_info,json=animatorParamInfo,proto3" json:"animator_param_info,omitempty"` + ForwardType ForwardType `protobuf:"varint,14,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` +} + +func (x *EvtAnimatorParameterNotify) Reset() { + *x = EvtAnimatorParameterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAnimatorParameterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAnimatorParameterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAnimatorParameterNotify) ProtoMessage() {} + +func (x *EvtAnimatorParameterNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAnimatorParameterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAnimatorParameterNotify.ProtoReflect.Descriptor instead. +func (*EvtAnimatorParameterNotify) Descriptor() ([]byte, []int) { + return file_EvtAnimatorParameterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAnimatorParameterNotify) GetAnimatorParamInfo() *EvtAnimatorParameterInfo { + if x != nil { + return x.AnimatorParamInfo + } + return nil +} + +func (x *EvtAnimatorParameterNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +var File_EvtAnimatorParameterNotify_proto protoreflect.FileDescriptor + +var file_EvtAnimatorParameterNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x1a, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, + 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, + 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x61, 0x6e, + 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAnimatorParameterNotify_proto_rawDescOnce sync.Once + file_EvtAnimatorParameterNotify_proto_rawDescData = file_EvtAnimatorParameterNotify_proto_rawDesc +) + +func file_EvtAnimatorParameterNotify_proto_rawDescGZIP() []byte { + file_EvtAnimatorParameterNotify_proto_rawDescOnce.Do(func() { + file_EvtAnimatorParameterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAnimatorParameterNotify_proto_rawDescData) + }) + return file_EvtAnimatorParameterNotify_proto_rawDescData +} + +var file_EvtAnimatorParameterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAnimatorParameterNotify_proto_goTypes = []interface{}{ + (*EvtAnimatorParameterNotify)(nil), // 0: EvtAnimatorParameterNotify + (*EvtAnimatorParameterInfo)(nil), // 1: EvtAnimatorParameterInfo + (ForwardType)(0), // 2: ForwardType +} +var file_EvtAnimatorParameterNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAnimatorParameterNotify.animator_param_info:type_name -> EvtAnimatorParameterInfo + 2, // 1: EvtAnimatorParameterNotify.forward_type:type_name -> ForwardType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAnimatorParameterNotify_proto_init() } +func file_EvtAnimatorParameterNotify_proto_init() { + if File_EvtAnimatorParameterNotify_proto != nil { + return + } + file_EvtAnimatorParameterInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAnimatorParameterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAnimatorParameterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAnimatorParameterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAnimatorParameterNotify_proto_goTypes, + DependencyIndexes: file_EvtAnimatorParameterNotify_proto_depIdxs, + MessageInfos: file_EvtAnimatorParameterNotify_proto_msgTypes, + }.Build() + File_EvtAnimatorParameterNotify_proto = out.File + file_EvtAnimatorParameterNotify_proto_rawDesc = nil + file_EvtAnimatorParameterNotify_proto_goTypes = nil + file_EvtAnimatorParameterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAnimatorParameterNotify.proto b/gate-hk4e-api/proto/EvtAnimatorParameterNotify.proto new file mode 100644 index 00000000..dc8c725b --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorParameterNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtAnimatorParameterInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAnimatorParameterNotify { + EvtAnimatorParameterInfo animator_param_info = 12; + ForwardType forward_type = 14; +} diff --git a/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.pb.go b/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.pb.go new file mode 100644 index 00000000..42b21e98 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAnimatorStateChangedInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtAnimatorStateChangedInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FaceAngleCompact int32 `protobuf:"varint,14,opt,name=face_angle_compact,json=faceAngleCompact,proto3" json:"face_angle_compact,omitempty"` + ToStateHash uint32 `protobuf:"varint,5,opt,name=to_state_hash,json=toStateHash,proto3" json:"to_state_hash,omitempty"` + NormalizedTimeCompact uint32 `protobuf:"varint,9,opt,name=normalized_time_compact,json=normalizedTimeCompact,proto3" json:"normalized_time_compact,omitempty"` + Unk2700_HEMGNDKMAFO uint32 `protobuf:"varint,2,opt,name=Unk2700_HEMGNDKMAFO,json=Unk2700HEMGNDKMAFO,proto3" json:"Unk2700_HEMGNDKMAFO,omitempty"` + Pos *Vector `protobuf:"bytes,13,opt,name=pos,proto3" json:"pos,omitempty"` + FadeDuration float32 `protobuf:"fixed32,3,opt,name=fade_duration,json=fadeDuration,proto3" json:"fade_duration,omitempty"` + Unk2700_CJCJLGHIBPK bool `protobuf:"varint,1,opt,name=Unk2700_CJCJLGHIBPK,json=Unk2700CJCJLGHIBPK,proto3" json:"Unk2700_CJCJLGHIBPK,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_JECBLPNLJMJ bool `protobuf:"varint,7,opt,name=Unk2700_JECBLPNLJMJ,json=Unk2700JECBLPNLJMJ,proto3" json:"Unk2700_JECBLPNLJMJ,omitempty"` +} + +func (x *EvtAnimatorStateChangedInfo) Reset() { + *x = EvtAnimatorStateChangedInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAnimatorStateChangedInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAnimatorStateChangedInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAnimatorStateChangedInfo) ProtoMessage() {} + +func (x *EvtAnimatorStateChangedInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtAnimatorStateChangedInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAnimatorStateChangedInfo.ProtoReflect.Descriptor instead. +func (*EvtAnimatorStateChangedInfo) Descriptor() ([]byte, []int) { + return file_EvtAnimatorStateChangedInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAnimatorStateChangedInfo) GetFaceAngleCompact() int32 { + if x != nil { + return x.FaceAngleCompact + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetToStateHash() uint32 { + if x != nil { + return x.ToStateHash + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetNormalizedTimeCompact() uint32 { + if x != nil { + return x.NormalizedTimeCompact + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetUnk2700_HEMGNDKMAFO() uint32 { + if x != nil { + return x.Unk2700_HEMGNDKMAFO + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *EvtAnimatorStateChangedInfo) GetFadeDuration() float32 { + if x != nil { + return x.FadeDuration + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetUnk2700_CJCJLGHIBPK() bool { + if x != nil { + return x.Unk2700_CJCJLGHIBPK + } + return false +} + +func (x *EvtAnimatorStateChangedInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtAnimatorStateChangedInfo) GetUnk2700_JECBLPNLJMJ() bool { + if x != nil { + return x.Unk2700_JECBLPNLJMJ + } + return false +} + +var File_EvtAnimatorStateChangedInfo_proto protoreflect.FileDescriptor + +var file_EvtAnimatorStateChangedInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x97, 0x03, 0x0a, 0x1b, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x66, + 0x61, 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, + 0x22, 0x0a, 0x0d, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x17, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x47, 0x4e, 0x44, 0x4b, 0x4d, 0x41, + 0x46, 0x4f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x48, 0x45, 0x4d, 0x47, 0x4e, 0x44, 0x4b, 0x4d, 0x41, 0x46, 0x4f, 0x12, 0x19, 0x0a, 0x03, + 0x70, 0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x64, 0x65, 0x5f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, + 0x66, 0x61, 0x64, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4a, 0x43, 0x4a, 0x4c, 0x47, 0x48, 0x49, + 0x42, 0x50, 0x4b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x4a, 0x43, 0x4a, 0x4c, 0x47, 0x48, 0x49, 0x42, 0x50, 0x4b, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x43, 0x42, 0x4c, 0x50, 0x4e, 0x4c, 0x4a, 0x4d, + 0x4a, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4a, 0x45, 0x43, 0x42, 0x4c, 0x50, 0x4e, 0x4c, 0x4a, 0x4d, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAnimatorStateChangedInfo_proto_rawDescOnce sync.Once + file_EvtAnimatorStateChangedInfo_proto_rawDescData = file_EvtAnimatorStateChangedInfo_proto_rawDesc +) + +func file_EvtAnimatorStateChangedInfo_proto_rawDescGZIP() []byte { + file_EvtAnimatorStateChangedInfo_proto_rawDescOnce.Do(func() { + file_EvtAnimatorStateChangedInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAnimatorStateChangedInfo_proto_rawDescData) + }) + return file_EvtAnimatorStateChangedInfo_proto_rawDescData +} + +var file_EvtAnimatorStateChangedInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAnimatorStateChangedInfo_proto_goTypes = []interface{}{ + (*EvtAnimatorStateChangedInfo)(nil), // 0: EvtAnimatorStateChangedInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtAnimatorStateChangedInfo_proto_depIdxs = []int32{ + 1, // 0: EvtAnimatorStateChangedInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtAnimatorStateChangedInfo_proto_init() } +func file_EvtAnimatorStateChangedInfo_proto_init() { + if File_EvtAnimatorStateChangedInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAnimatorStateChangedInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAnimatorStateChangedInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAnimatorStateChangedInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAnimatorStateChangedInfo_proto_goTypes, + DependencyIndexes: file_EvtAnimatorStateChangedInfo_proto_depIdxs, + MessageInfos: file_EvtAnimatorStateChangedInfo_proto_msgTypes, + }.Build() + File_EvtAnimatorStateChangedInfo_proto = out.File + file_EvtAnimatorStateChangedInfo_proto_rawDesc = nil + file_EvtAnimatorStateChangedInfo_proto_goTypes = nil + file_EvtAnimatorStateChangedInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.proto b/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.proto new file mode 100644 index 00000000..ad012acf --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorStateChangedInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtAnimatorStateChangedInfo { + int32 face_angle_compact = 14; + uint32 to_state_hash = 5; + uint32 normalized_time_compact = 9; + uint32 Unk2700_HEMGNDKMAFO = 2; + Vector pos = 13; + float fade_duration = 3; + bool Unk2700_CJCJLGHIBPK = 1; + uint32 entity_id = 15; + bool Unk2700_JECBLPNLJMJ = 7; +} diff --git a/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.pb.go b/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.pb.go new file mode 100644 index 00000000..9d4392a9 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAnimatorStateChangedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 331 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAnimatorStateChangedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,3,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EvtAnimatorStateChangedInfo *EvtAnimatorStateChangedInfo `protobuf:"bytes,10,opt,name=evt_animator_state_changed_info,json=evtAnimatorStateChangedInfo,proto3" json:"evt_animator_state_changed_info,omitempty"` +} + +func (x *EvtAnimatorStateChangedNotify) Reset() { + *x = EvtAnimatorStateChangedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAnimatorStateChangedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAnimatorStateChangedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAnimatorStateChangedNotify) ProtoMessage() {} + +func (x *EvtAnimatorStateChangedNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAnimatorStateChangedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAnimatorStateChangedNotify.ProtoReflect.Descriptor instead. +func (*EvtAnimatorStateChangedNotify) Descriptor() ([]byte, []int) { + return file_EvtAnimatorStateChangedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAnimatorStateChangedNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtAnimatorStateChangedNotify) GetEvtAnimatorStateChangedInfo() *EvtAnimatorStateChangedInfo { + if x != nil { + return x.EvtAnimatorStateChangedInfo + } + return nil +} + +var File_EvtAnimatorStateChangedNotify_proto protoreflect.FileDescriptor + +var file_EvtAnimatorStateChangedNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x1d, + 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, + 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x62, + 0x0a, 0x1f, 0x65, 0x76, 0x74, 0x5f, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x45, 0x76, 0x74, 0x41, 0x6e, 0x69, + 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x1b, 0x65, 0x76, 0x74, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, + 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAnimatorStateChangedNotify_proto_rawDescOnce sync.Once + file_EvtAnimatorStateChangedNotify_proto_rawDescData = file_EvtAnimatorStateChangedNotify_proto_rawDesc +) + +func file_EvtAnimatorStateChangedNotify_proto_rawDescGZIP() []byte { + file_EvtAnimatorStateChangedNotify_proto_rawDescOnce.Do(func() { + file_EvtAnimatorStateChangedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAnimatorStateChangedNotify_proto_rawDescData) + }) + return file_EvtAnimatorStateChangedNotify_proto_rawDescData +} + +var file_EvtAnimatorStateChangedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAnimatorStateChangedNotify_proto_goTypes = []interface{}{ + (*EvtAnimatorStateChangedNotify)(nil), // 0: EvtAnimatorStateChangedNotify + (ForwardType)(0), // 1: ForwardType + (*EvtAnimatorStateChangedInfo)(nil), // 2: EvtAnimatorStateChangedInfo +} +var file_EvtAnimatorStateChangedNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAnimatorStateChangedNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtAnimatorStateChangedNotify.evt_animator_state_changed_info:type_name -> EvtAnimatorStateChangedInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAnimatorStateChangedNotify_proto_init() } +func file_EvtAnimatorStateChangedNotify_proto_init() { + if File_EvtAnimatorStateChangedNotify_proto != nil { + return + } + file_EvtAnimatorStateChangedInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAnimatorStateChangedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAnimatorStateChangedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAnimatorStateChangedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAnimatorStateChangedNotify_proto_goTypes, + DependencyIndexes: file_EvtAnimatorStateChangedNotify_proto_depIdxs, + MessageInfos: file_EvtAnimatorStateChangedNotify_proto_msgTypes, + }.Build() + File_EvtAnimatorStateChangedNotify_proto = out.File + file_EvtAnimatorStateChangedNotify_proto_rawDesc = nil + file_EvtAnimatorStateChangedNotify_proto_goTypes = nil + file_EvtAnimatorStateChangedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.proto b/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.proto new file mode 100644 index 00000000..9e1386f5 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAnimatorStateChangedNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtAnimatorStateChangedInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 331 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAnimatorStateChangedNotify { + ForwardType forward_type = 3; + EvtAnimatorStateChangedInfo evt_animator_state_changed_info = 10; +} diff --git a/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.pb.go b/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.pb.go new file mode 100644 index 00000000..c04d7c7f --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.pb.go @@ -0,0 +1,299 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarEnterFocusNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 304 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarEnterFocusNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + CanMove bool `protobuf:"varint,10,opt,name=can_move,json=canMove,proto3" json:"can_move,omitempty"` + EnterHoldingFocusShoot bool `protobuf:"varint,13,opt,name=enter_holding_focus_shoot,json=enterHoldingFocusShoot,proto3" json:"enter_holding_focus_shoot,omitempty"` + Unk2700_GACKGHEHEIK bool `protobuf:"varint,6,opt,name=Unk2700_GACKGHEHEIK,json=Unk2700GACKGHEHEIK,proto3" json:"Unk2700_GACKGHEHEIK,omitempty"` + UseAutoFocus bool `protobuf:"varint,5,opt,name=use_auto_focus,json=useAutoFocus,proto3" json:"use_auto_focus,omitempty"` + FastFocus bool `protobuf:"varint,3,opt,name=fast_focus,json=fastFocus,proto3" json:"fast_focus,omitempty"` + ShowCrossHair bool `protobuf:"varint,12,opt,name=show_cross_hair,json=showCrossHair,proto3" json:"show_cross_hair,omitempty"` + EnterNormalFocusShoot bool `protobuf:"varint,14,opt,name=enter_normal_focus_shoot,json=enterNormalFocusShoot,proto3" json:"enter_normal_focus_shoot,omitempty"` + ForwardType ForwardType `protobuf:"varint,8,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + FocusForward *Vector `protobuf:"bytes,7,opt,name=focus_forward,json=focusForward,proto3" json:"focus_forward,omitempty"` + DisableAnim bool `protobuf:"varint,9,opt,name=disable_anim,json=disableAnim,proto3" json:"disable_anim,omitempty"` + UseFocusSticky bool `protobuf:"varint,15,opt,name=use_focus_sticky,json=useFocusSticky,proto3" json:"use_focus_sticky,omitempty"` + UseGyro bool `protobuf:"varint,11,opt,name=use_gyro,json=useGyro,proto3" json:"use_gyro,omitempty"` +} + +func (x *EvtAvatarEnterFocusNotify) Reset() { + *x = EvtAvatarEnterFocusNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarEnterFocusNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarEnterFocusNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarEnterFocusNotify) ProtoMessage() {} + +func (x *EvtAvatarEnterFocusNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarEnterFocusNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarEnterFocusNotify.ProtoReflect.Descriptor instead. +func (*EvtAvatarEnterFocusNotify) Descriptor() ([]byte, []int) { + return file_EvtAvatarEnterFocusNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarEnterFocusNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtAvatarEnterFocusNotify) GetCanMove() bool { + if x != nil { + return x.CanMove + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetEnterHoldingFocusShoot() bool { + if x != nil { + return x.EnterHoldingFocusShoot + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetUnk2700_GACKGHEHEIK() bool { + if x != nil { + return x.Unk2700_GACKGHEHEIK + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetUseAutoFocus() bool { + if x != nil { + return x.UseAutoFocus + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetFastFocus() bool { + if x != nil { + return x.FastFocus + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetShowCrossHair() bool { + if x != nil { + return x.ShowCrossHair + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetEnterNormalFocusShoot() bool { + if x != nil { + return x.EnterNormalFocusShoot + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtAvatarEnterFocusNotify) GetFocusForward() *Vector { + if x != nil { + return x.FocusForward + } + return nil +} + +func (x *EvtAvatarEnterFocusNotify) GetDisableAnim() bool { + if x != nil { + return x.DisableAnim + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetUseFocusSticky() bool { + if x != nil { + return x.UseFocusSticky + } + return false +} + +func (x *EvtAvatarEnterFocusNotify) GetUseGyro() bool { + if x != nil { + return x.UseGyro + } + return false +} + +var File_EvtAvatarEnterFocusNotify_proto protoreflect.FileDescriptor + +var file_EvtAvatarEnterFocusNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x46, 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xac, 0x04, 0x0a, 0x19, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x63, 0x61, 0x6e, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x63, 0x61, 0x6e, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x5f, 0x68, 0x6f, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x5f, + 0x73, 0x68, 0x6f, 0x6f, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x53, 0x68, + 0x6f, 0x6f, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x41, 0x43, 0x4b, 0x47, 0x48, 0x45, 0x48, 0x45, 0x49, 0x4b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x41, 0x43, 0x4b, 0x47, 0x48, 0x45, + 0x48, 0x45, 0x49, 0x4b, 0x12, 0x24, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, + 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x75, 0x73, + 0x65, 0x41, 0x75, 0x74, 0x6f, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61, + 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x61, 0x73, 0x74, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x68, 0x6f, + 0x77, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x68, 0x61, 0x69, 0x72, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0d, 0x73, 0x68, 0x6f, 0x77, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x48, 0x61, 0x69, + 0x72, 0x12, 0x37, 0x0a, 0x18, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, + 0x6c, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x6f, 0x74, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x46, 0x6f, 0x63, 0x75, 0x73, 0x53, 0x68, 0x6f, 0x6f, 0x74, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x0d, 0x66, + 0x6f, 0x63, 0x75, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x66, 0x6f, 0x63, + 0x75, 0x73, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6e, 0x69, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x12, 0x28, 0x0a, 0x10, + 0x75, 0x73, 0x65, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x5f, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x46, 0x6f, 0x63, 0x75, 0x73, + 0x53, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x79, + 0x72, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x73, 0x65, 0x47, 0x79, 0x72, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAvatarEnterFocusNotify_proto_rawDescOnce sync.Once + file_EvtAvatarEnterFocusNotify_proto_rawDescData = file_EvtAvatarEnterFocusNotify_proto_rawDesc +) + +func file_EvtAvatarEnterFocusNotify_proto_rawDescGZIP() []byte { + file_EvtAvatarEnterFocusNotify_proto_rawDescOnce.Do(func() { + file_EvtAvatarEnterFocusNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarEnterFocusNotify_proto_rawDescData) + }) + return file_EvtAvatarEnterFocusNotify_proto_rawDescData +} + +var file_EvtAvatarEnterFocusNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarEnterFocusNotify_proto_goTypes = []interface{}{ + (*EvtAvatarEnterFocusNotify)(nil), // 0: EvtAvatarEnterFocusNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtAvatarEnterFocusNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarEnterFocusNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtAvatarEnterFocusNotify.focus_forward:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAvatarEnterFocusNotify_proto_init() } +func file_EvtAvatarEnterFocusNotify_proto_init() { + if File_EvtAvatarEnterFocusNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarEnterFocusNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarEnterFocusNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarEnterFocusNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarEnterFocusNotify_proto_goTypes, + DependencyIndexes: file_EvtAvatarEnterFocusNotify_proto_depIdxs, + MessageInfos: file_EvtAvatarEnterFocusNotify_proto_msgTypes, + }.Build() + File_EvtAvatarEnterFocusNotify_proto = out.File + file_EvtAvatarEnterFocusNotify_proto_rawDesc = nil + file_EvtAvatarEnterFocusNotify_proto_goTypes = nil + file_EvtAvatarEnterFocusNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.proto b/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.proto new file mode 100644 index 00000000..affc0972 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarEnterFocusNotify.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 304 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarEnterFocusNotify { + uint32 entity_id = 1; + bool can_move = 10; + bool enter_holding_focus_shoot = 13; + bool Unk2700_GACKGHEHEIK = 6; + bool use_auto_focus = 5; + bool fast_focus = 3; + bool show_cross_hair = 12; + bool enter_normal_focus_shoot = 14; + ForwardType forward_type = 8; + Vector focus_forward = 7; + bool disable_anim = 9; + bool use_focus_sticky = 15; + bool use_gyro = 11; +} diff --git a/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.pb.go b/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.pb.go new file mode 100644 index 00000000..c7cde4d4 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarExitFocusNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 393 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarExitFocusNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishForward *Vector `protobuf:"bytes,12,opt,name=finish_forward,json=finishForward,proto3" json:"finish_forward,omitempty"` + ForwardType ForwardType `protobuf:"varint,11,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtAvatarExitFocusNotify) Reset() { + *x = EvtAvatarExitFocusNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarExitFocusNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarExitFocusNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarExitFocusNotify) ProtoMessage() {} + +func (x *EvtAvatarExitFocusNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarExitFocusNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarExitFocusNotify.ProtoReflect.Descriptor instead. +func (*EvtAvatarExitFocusNotify) Descriptor() ([]byte, []int) { + return file_EvtAvatarExitFocusNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarExitFocusNotify) GetFinishForward() *Vector { + if x != nil { + return x.FinishForward + } + return nil +} + +func (x *EvtAvatarExitFocusNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtAvatarExitFocusNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtAvatarExitFocusNotify_proto protoreflect.FileDescriptor + +var file_EvtAvatarExitFocusNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x69, 0x74, 0x46, + 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, + 0x78, 0x69, 0x74, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2e, + 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x0d, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x12, 0x2f, + 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAvatarExitFocusNotify_proto_rawDescOnce sync.Once + file_EvtAvatarExitFocusNotify_proto_rawDescData = file_EvtAvatarExitFocusNotify_proto_rawDesc +) + +func file_EvtAvatarExitFocusNotify_proto_rawDescGZIP() []byte { + file_EvtAvatarExitFocusNotify_proto_rawDescOnce.Do(func() { + file_EvtAvatarExitFocusNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarExitFocusNotify_proto_rawDescData) + }) + return file_EvtAvatarExitFocusNotify_proto_rawDescData +} + +var file_EvtAvatarExitFocusNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarExitFocusNotify_proto_goTypes = []interface{}{ + (*EvtAvatarExitFocusNotify)(nil), // 0: EvtAvatarExitFocusNotify + (*Vector)(nil), // 1: Vector + (ForwardType)(0), // 2: ForwardType +} +var file_EvtAvatarExitFocusNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarExitFocusNotify.finish_forward:type_name -> Vector + 2, // 1: EvtAvatarExitFocusNotify.forward_type:type_name -> ForwardType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAvatarExitFocusNotify_proto_init() } +func file_EvtAvatarExitFocusNotify_proto_init() { + if File_EvtAvatarExitFocusNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarExitFocusNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarExitFocusNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarExitFocusNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarExitFocusNotify_proto_goTypes, + DependencyIndexes: file_EvtAvatarExitFocusNotify_proto_depIdxs, + MessageInfos: file_EvtAvatarExitFocusNotify_proto_msgTypes, + }.Build() + File_EvtAvatarExitFocusNotify_proto = out.File + file_EvtAvatarExitFocusNotify_proto_rawDesc = nil + file_EvtAvatarExitFocusNotify_proto_goTypes = nil + file_EvtAvatarExitFocusNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.proto b/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.proto new file mode 100644 index 00000000..9d1dc8f2 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarExitFocusNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 393 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarExitFocusNotify { + Vector finish_forward = 12; + ForwardType forward_type = 11; + uint32 entity_id = 14; +} diff --git a/gate-hk4e-api/proto/EvtAvatarLockChairReq.pb.go b/gate-hk4e-api/proto/EvtAvatarLockChairReq.pb.go new file mode 100644 index 00000000..d151311e --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarLockChairReq.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarLockChairReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 318 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarLockChairReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChairId uint64 `protobuf:"varint,5,opt,name=chair_id,json=chairId,proto3" json:"chair_id,omitempty"` + Position *Vector `protobuf:"bytes,8,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *EvtAvatarLockChairReq) Reset() { + *x = EvtAvatarLockChairReq{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarLockChairReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarLockChairReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarLockChairReq) ProtoMessage() {} + +func (x *EvtAvatarLockChairReq) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarLockChairReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarLockChairReq.ProtoReflect.Descriptor instead. +func (*EvtAvatarLockChairReq) Descriptor() ([]byte, []int) { + return file_EvtAvatarLockChairReq_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarLockChairReq) GetChairId() uint64 { + if x != nil { + return x.ChairId + } + return 0 +} + +func (x *EvtAvatarLockChairReq) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +var File_EvtAvatarLockChairReq_proto protoreflect.FileDescriptor + +var file_EvtAvatarLockChairReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x43, + 0x68, 0x61, 0x69, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x15, 0x45, + 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, + 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x72, 0x49, 0x64, 0x12, + 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAvatarLockChairReq_proto_rawDescOnce sync.Once + file_EvtAvatarLockChairReq_proto_rawDescData = file_EvtAvatarLockChairReq_proto_rawDesc +) + +func file_EvtAvatarLockChairReq_proto_rawDescGZIP() []byte { + file_EvtAvatarLockChairReq_proto_rawDescOnce.Do(func() { + file_EvtAvatarLockChairReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarLockChairReq_proto_rawDescData) + }) + return file_EvtAvatarLockChairReq_proto_rawDescData +} + +var file_EvtAvatarLockChairReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarLockChairReq_proto_goTypes = []interface{}{ + (*EvtAvatarLockChairReq)(nil), // 0: EvtAvatarLockChairReq + (*Vector)(nil), // 1: Vector +} +var file_EvtAvatarLockChairReq_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarLockChairReq.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtAvatarLockChairReq_proto_init() } +func file_EvtAvatarLockChairReq_proto_init() { + if File_EvtAvatarLockChairReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarLockChairReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarLockChairReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarLockChairReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarLockChairReq_proto_goTypes, + DependencyIndexes: file_EvtAvatarLockChairReq_proto_depIdxs, + MessageInfos: file_EvtAvatarLockChairReq_proto_msgTypes, + }.Build() + File_EvtAvatarLockChairReq_proto = out.File + file_EvtAvatarLockChairReq_proto_rawDesc = nil + file_EvtAvatarLockChairReq_proto_goTypes = nil + file_EvtAvatarLockChairReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarLockChairReq.proto b/gate-hk4e-api/proto/EvtAvatarLockChairReq.proto new file mode 100644 index 00000000..b28ef9c6 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarLockChairReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 318 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarLockChairReq { + uint64 chair_id = 5; + Vector position = 8; +} diff --git a/gate-hk4e-api/proto/EvtAvatarLockChairRsp.pb.go b/gate-hk4e-api/proto/EvtAvatarLockChairRsp.pb.go new file mode 100644 index 00000000..30b3ef9c --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarLockChairRsp.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarLockChairRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 366 +// EnetChannelId: 0 +// EnetIsReliable: true +type EvtAvatarLockChairRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChairId uint64 `protobuf:"varint,14,opt,name=chair_id,json=chairId,proto3" json:"chair_id,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Position *Vector `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *EvtAvatarLockChairRsp) Reset() { + *x = EvtAvatarLockChairRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarLockChairRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarLockChairRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarLockChairRsp) ProtoMessage() {} + +func (x *EvtAvatarLockChairRsp) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarLockChairRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarLockChairRsp.ProtoReflect.Descriptor instead. +func (*EvtAvatarLockChairRsp) Descriptor() ([]byte, []int) { + return file_EvtAvatarLockChairRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarLockChairRsp) GetChairId() uint64 { + if x != nil { + return x.ChairId + } + return 0 +} + +func (x *EvtAvatarLockChairRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtAvatarLockChairRsp) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *EvtAvatarLockChairRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_EvtAvatarLockChairRsp_proto protoreflect.FileDescriptor + +var file_EvtAvatarLockChairRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x43, + 0x68, 0x61, 0x69, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x15, + 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, + 0x69, 0x72, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x72, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAvatarLockChairRsp_proto_rawDescOnce sync.Once + file_EvtAvatarLockChairRsp_proto_rawDescData = file_EvtAvatarLockChairRsp_proto_rawDesc +) + +func file_EvtAvatarLockChairRsp_proto_rawDescGZIP() []byte { + file_EvtAvatarLockChairRsp_proto_rawDescOnce.Do(func() { + file_EvtAvatarLockChairRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarLockChairRsp_proto_rawDescData) + }) + return file_EvtAvatarLockChairRsp_proto_rawDescData +} + +var file_EvtAvatarLockChairRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarLockChairRsp_proto_goTypes = []interface{}{ + (*EvtAvatarLockChairRsp)(nil), // 0: EvtAvatarLockChairRsp + (*Vector)(nil), // 1: Vector +} +var file_EvtAvatarLockChairRsp_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarLockChairRsp.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtAvatarLockChairRsp_proto_init() } +func file_EvtAvatarLockChairRsp_proto_init() { + if File_EvtAvatarLockChairRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarLockChairRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarLockChairRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarLockChairRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarLockChairRsp_proto_goTypes, + DependencyIndexes: file_EvtAvatarLockChairRsp_proto_depIdxs, + MessageInfos: file_EvtAvatarLockChairRsp_proto_msgTypes, + }.Build() + File_EvtAvatarLockChairRsp_proto = out.File + file_EvtAvatarLockChairRsp_proto_rawDesc = nil + file_EvtAvatarLockChairRsp_proto_goTypes = nil + file_EvtAvatarLockChairRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarLockChairRsp.proto b/gate-hk4e-api/proto/EvtAvatarLockChairRsp.proto new file mode 100644 index 00000000..1abc77a3 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarLockChairRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 366 +// EnetChannelId: 0 +// EnetIsReliable: true +message EvtAvatarLockChairRsp { + uint64 chair_id = 14; + uint32 entity_id = 15; + Vector position = 4; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/EvtAvatarSitDownNotify.pb.go b/gate-hk4e-api/proto/EvtAvatarSitDownNotify.pb.go new file mode 100644 index 00000000..3d783830 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarSitDownNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarSitDownNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 324 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarSitDownNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,9,opt,name=position,proto3" json:"position,omitempty"` + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ChairId uint64 `protobuf:"varint,6,opt,name=chair_id,json=chairId,proto3" json:"chair_id,omitempty"` +} + +func (x *EvtAvatarSitDownNotify) Reset() { + *x = EvtAvatarSitDownNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarSitDownNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarSitDownNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarSitDownNotify) ProtoMessage() {} + +func (x *EvtAvatarSitDownNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarSitDownNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarSitDownNotify.ProtoReflect.Descriptor instead. +func (*EvtAvatarSitDownNotify) Descriptor() ([]byte, []int) { + return file_EvtAvatarSitDownNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarSitDownNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *EvtAvatarSitDownNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtAvatarSitDownNotify) GetChairId() uint64 { + if x != nil { + return x.ChairId + } + return 0 +} + +var File_EvtAvatarSitDownNotify_proto protoreflect.FileDescriptor + +var file_EvtAvatarSitDownNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x69, 0x74, 0x44, 0x6f, + 0x77, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x16, + 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x69, 0x74, 0x44, 0x6f, 0x77, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtAvatarSitDownNotify_proto_rawDescOnce sync.Once + file_EvtAvatarSitDownNotify_proto_rawDescData = file_EvtAvatarSitDownNotify_proto_rawDesc +) + +func file_EvtAvatarSitDownNotify_proto_rawDescGZIP() []byte { + file_EvtAvatarSitDownNotify_proto_rawDescOnce.Do(func() { + file_EvtAvatarSitDownNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarSitDownNotify_proto_rawDescData) + }) + return file_EvtAvatarSitDownNotify_proto_rawDescData +} + +var file_EvtAvatarSitDownNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarSitDownNotify_proto_goTypes = []interface{}{ + (*EvtAvatarSitDownNotify)(nil), // 0: EvtAvatarSitDownNotify + (*Vector)(nil), // 1: Vector +} +var file_EvtAvatarSitDownNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarSitDownNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtAvatarSitDownNotify_proto_init() } +func file_EvtAvatarSitDownNotify_proto_init() { + if File_EvtAvatarSitDownNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarSitDownNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarSitDownNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarSitDownNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarSitDownNotify_proto_goTypes, + DependencyIndexes: file_EvtAvatarSitDownNotify_proto_depIdxs, + MessageInfos: file_EvtAvatarSitDownNotify_proto_msgTypes, + }.Build() + File_EvtAvatarSitDownNotify_proto = out.File + file_EvtAvatarSitDownNotify_proto_rawDesc = nil + file_EvtAvatarSitDownNotify_proto_goTypes = nil + file_EvtAvatarSitDownNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarSitDownNotify.proto b/gate-hk4e-api/proto/EvtAvatarSitDownNotify.proto new file mode 100644 index 00000000..31fd8c2e --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarSitDownNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 324 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarSitDownNotify { + Vector position = 9; + uint32 entity_id = 4; + uint64 chair_id = 6; +} diff --git a/gate-hk4e-api/proto/EvtAvatarStandUpNotify.pb.go b/gate-hk4e-api/proto/EvtAvatarStandUpNotify.pb.go new file mode 100644 index 00000000..94ad3cea --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarStandUpNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarStandUpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 356 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarStandUpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChairId uint64 `protobuf:"varint,11,opt,name=chair_id,json=chairId,proto3" json:"chair_id,omitempty"` + PerformId int32 `protobuf:"varint,6,opt,name=perform_id,json=performId,proto3" json:"perform_id,omitempty"` + Direction int32 `protobuf:"varint,1,opt,name=direction,proto3" json:"direction,omitempty"` + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtAvatarStandUpNotify) Reset() { + *x = EvtAvatarStandUpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarStandUpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarStandUpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarStandUpNotify) ProtoMessage() {} + +func (x *EvtAvatarStandUpNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarStandUpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarStandUpNotify.ProtoReflect.Descriptor instead. +func (*EvtAvatarStandUpNotify) Descriptor() ([]byte, []int) { + return file_EvtAvatarStandUpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarStandUpNotify) GetChairId() uint64 { + if x != nil { + return x.ChairId + } + return 0 +} + +func (x *EvtAvatarStandUpNotify) GetPerformId() int32 { + if x != nil { + return x.PerformId + } + return 0 +} + +func (x *EvtAvatarStandUpNotify) GetDirection() int32 { + if x != nil { + return x.Direction + } + return 0 +} + +func (x *EvtAvatarStandUpNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtAvatarStandUpNotify_proto protoreflect.FileDescriptor + +var file_EvtAvatarStandUpNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, + 0x55, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, + 0x01, 0x0a, 0x16, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x61, 0x6e, + 0x64, 0x55, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, + 0x69, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, + 0x69, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, + 0x6d, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EvtAvatarStandUpNotify_proto_rawDescOnce sync.Once + file_EvtAvatarStandUpNotify_proto_rawDescData = file_EvtAvatarStandUpNotify_proto_rawDesc +) + +func file_EvtAvatarStandUpNotify_proto_rawDescGZIP() []byte { + file_EvtAvatarStandUpNotify_proto_rawDescOnce.Do(func() { + file_EvtAvatarStandUpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarStandUpNotify_proto_rawDescData) + }) + return file_EvtAvatarStandUpNotify_proto_rawDescData +} + +var file_EvtAvatarStandUpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarStandUpNotify_proto_goTypes = []interface{}{ + (*EvtAvatarStandUpNotify)(nil), // 0: EvtAvatarStandUpNotify +} +var file_EvtAvatarStandUpNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EvtAvatarStandUpNotify_proto_init() } +func file_EvtAvatarStandUpNotify_proto_init() { + if File_EvtAvatarStandUpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EvtAvatarStandUpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarStandUpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarStandUpNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarStandUpNotify_proto_goTypes, + DependencyIndexes: file_EvtAvatarStandUpNotify_proto_depIdxs, + MessageInfos: file_EvtAvatarStandUpNotify_proto_msgTypes, + }.Build() + File_EvtAvatarStandUpNotify_proto = out.File + file_EvtAvatarStandUpNotify_proto_rawDesc = nil + file_EvtAvatarStandUpNotify_proto_goTypes = nil + file_EvtAvatarStandUpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarStandUpNotify.proto b/gate-hk4e-api/proto/EvtAvatarStandUpNotify.proto new file mode 100644 index 00000000..4feb4b0c --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarStandUpNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 356 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarStandUpNotify { + uint64 chair_id = 11; + int32 perform_id = 6; + int32 direction = 1; + uint32 entity_id = 9; +} diff --git a/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.pb.go b/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.pb.go new file mode 100644 index 00000000..746d6e84 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtAvatarUpdateFocusNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 327 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtAvatarUpdateFocusNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,7,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + FocusForward *Vector `protobuf:"bytes,11,opt,name=focus_forward,json=focusForward,proto3" json:"focus_forward,omitempty"` + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtAvatarUpdateFocusNotify) Reset() { + *x = EvtAvatarUpdateFocusNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtAvatarUpdateFocusNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtAvatarUpdateFocusNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtAvatarUpdateFocusNotify) ProtoMessage() {} + +func (x *EvtAvatarUpdateFocusNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtAvatarUpdateFocusNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtAvatarUpdateFocusNotify.ProtoReflect.Descriptor instead. +func (*EvtAvatarUpdateFocusNotify) Descriptor() ([]byte, []int) { + return file_EvtAvatarUpdateFocusNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtAvatarUpdateFocusNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtAvatarUpdateFocusNotify) GetFocusForward() *Vector { + if x != nil { + return x.FocusForward + } + return nil +} + +func (x *EvtAvatarUpdateFocusNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtAvatarUpdateFocusNotify_proto protoreflect.FileDescriptor + +var file_EvtAvatarUpdateFocusNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x1a, 0x45, 0x76, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x0d, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x5f, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EvtAvatarUpdateFocusNotify_proto_rawDescOnce sync.Once + file_EvtAvatarUpdateFocusNotify_proto_rawDescData = file_EvtAvatarUpdateFocusNotify_proto_rawDesc +) + +func file_EvtAvatarUpdateFocusNotify_proto_rawDescGZIP() []byte { + file_EvtAvatarUpdateFocusNotify_proto_rawDescOnce.Do(func() { + file_EvtAvatarUpdateFocusNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtAvatarUpdateFocusNotify_proto_rawDescData) + }) + return file_EvtAvatarUpdateFocusNotify_proto_rawDescData +} + +var file_EvtAvatarUpdateFocusNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtAvatarUpdateFocusNotify_proto_goTypes = []interface{}{ + (*EvtAvatarUpdateFocusNotify)(nil), // 0: EvtAvatarUpdateFocusNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtAvatarUpdateFocusNotify_proto_depIdxs = []int32{ + 1, // 0: EvtAvatarUpdateFocusNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtAvatarUpdateFocusNotify.focus_forward:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtAvatarUpdateFocusNotify_proto_init() } +func file_EvtAvatarUpdateFocusNotify_proto_init() { + if File_EvtAvatarUpdateFocusNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtAvatarUpdateFocusNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtAvatarUpdateFocusNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtAvatarUpdateFocusNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtAvatarUpdateFocusNotify_proto_goTypes, + DependencyIndexes: file_EvtAvatarUpdateFocusNotify_proto_depIdxs, + MessageInfos: file_EvtAvatarUpdateFocusNotify_proto_msgTypes, + }.Build() + File_EvtAvatarUpdateFocusNotify_proto = out.File + file_EvtAvatarUpdateFocusNotify_proto_rawDesc = nil + file_EvtAvatarUpdateFocusNotify_proto_goTypes = nil + file_EvtAvatarUpdateFocusNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.proto b/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.proto new file mode 100644 index 00000000..ba79e753 --- /dev/null +++ b/gate-hk4e-api/proto/EvtAvatarUpdateFocusNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 327 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtAvatarUpdateFocusNotify { + ForwardType forward_type = 7; + Vector focus_forward = 11; + uint32 entity_id = 10; +} diff --git a/gate-hk4e-api/proto/EvtBeingHitInfo.pb.go b/gate-hk4e-api/proto/EvtBeingHitInfo.pb.go new file mode 100644 index 00000000..38a854d6 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitInfo.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBeingHitInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtBeingHitInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerId uint32 `protobuf:"varint,6,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + AttackResult *AttackResult `protobuf:"bytes,7,opt,name=attack_result,json=attackResult,proto3" json:"attack_result,omitempty"` + FrameNum uint32 `protobuf:"varint,4,opt,name=frame_num,json=frameNum,proto3" json:"frame_num,omitempty"` +} + +func (x *EvtBeingHitInfo) Reset() { + *x = EvtBeingHitInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBeingHitInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBeingHitInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBeingHitInfo) ProtoMessage() {} + +func (x *EvtBeingHitInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtBeingHitInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBeingHitInfo.ProtoReflect.Descriptor instead. +func (*EvtBeingHitInfo) Descriptor() ([]byte, []int) { + return file_EvtBeingHitInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBeingHitInfo) GetPeerId() uint32 { + if x != nil { + return x.PeerId + } + return 0 +} + +func (x *EvtBeingHitInfo) GetAttackResult() *AttackResult { + if x != nil { + return x.AttackResult + } + return nil +} + +func (x *EvtBeingHitInfo) GetFrameNum() uint32 { + if x != nil { + return x.FrameNum + } + return 0 +} + +var File_EvtBeingHitInfo_proto protoreflect.FileDescriptor + +var file_EvtBeingHitInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x0f, 0x45, + 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, + 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, + 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x61, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x66, 0x72, 0x61, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBeingHitInfo_proto_rawDescOnce sync.Once + file_EvtBeingHitInfo_proto_rawDescData = file_EvtBeingHitInfo_proto_rawDesc +) + +func file_EvtBeingHitInfo_proto_rawDescGZIP() []byte { + file_EvtBeingHitInfo_proto_rawDescOnce.Do(func() { + file_EvtBeingHitInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBeingHitInfo_proto_rawDescData) + }) + return file_EvtBeingHitInfo_proto_rawDescData +} + +var file_EvtBeingHitInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBeingHitInfo_proto_goTypes = []interface{}{ + (*EvtBeingHitInfo)(nil), // 0: EvtBeingHitInfo + (*AttackResult)(nil), // 1: AttackResult +} +var file_EvtBeingHitInfo_proto_depIdxs = []int32{ + 1, // 0: EvtBeingHitInfo.attack_result:type_name -> AttackResult + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtBeingHitInfo_proto_init() } +func file_EvtBeingHitInfo_proto_init() { + if File_EvtBeingHitInfo_proto != nil { + return + } + file_AttackResult_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBeingHitInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBeingHitInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBeingHitInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBeingHitInfo_proto_goTypes, + DependencyIndexes: file_EvtBeingHitInfo_proto_depIdxs, + MessageInfos: file_EvtBeingHitInfo_proto_msgTypes, + }.Build() + File_EvtBeingHitInfo_proto = out.File + file_EvtBeingHitInfo_proto_rawDesc = nil + file_EvtBeingHitInfo_proto_goTypes = nil + file_EvtBeingHitInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBeingHitInfo.proto b/gate-hk4e-api/proto/EvtBeingHitInfo.proto new file mode 100644 index 00000000..8de964dc --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AttackResult.proto"; + +option go_package = "./;proto"; + +message EvtBeingHitInfo { + uint32 peer_id = 6; + AttackResult attack_result = 7; + uint32 frame_num = 4; +} diff --git a/gate-hk4e-api/proto/EvtBeingHitNotify.pb.go b/gate-hk4e-api/proto/EvtBeingHitNotify.pb.go new file mode 100644 index 00000000..c9fc9fd0 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBeingHitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtBeingHitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,6,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + BeingHitInfo *EvtBeingHitInfo `protobuf:"bytes,3,opt,name=being_hit_info,json=beingHitInfo,proto3" json:"being_hit_info,omitempty"` +} + +func (x *EvtBeingHitNotify) Reset() { + *x = EvtBeingHitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBeingHitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBeingHitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBeingHitNotify) ProtoMessage() {} + +func (x *EvtBeingHitNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtBeingHitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBeingHitNotify.ProtoReflect.Descriptor instead. +func (*EvtBeingHitNotify) Descriptor() ([]byte, []int) { + return file_EvtBeingHitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBeingHitNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtBeingHitNotify) GetBeingHitInfo() *EvtBeingHitInfo { + if x != nil { + return x.BeingHitInfo + } + return nil +} + +var File_EvtBeingHitNotify_proto protoreflect.FileDescriptor + +var file_EvtBeingHitNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x45, 0x76, 0x74, 0x42, 0x65, + 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x11, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, + 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, + 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x0e, 0x62, 0x65, 0x69, + 0x6e, 0x67, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x62, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBeingHitNotify_proto_rawDescOnce sync.Once + file_EvtBeingHitNotify_proto_rawDescData = file_EvtBeingHitNotify_proto_rawDesc +) + +func file_EvtBeingHitNotify_proto_rawDescGZIP() []byte { + file_EvtBeingHitNotify_proto_rawDescOnce.Do(func() { + file_EvtBeingHitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBeingHitNotify_proto_rawDescData) + }) + return file_EvtBeingHitNotify_proto_rawDescData +} + +var file_EvtBeingHitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBeingHitNotify_proto_goTypes = []interface{}{ + (*EvtBeingHitNotify)(nil), // 0: EvtBeingHitNotify + (ForwardType)(0), // 1: ForwardType + (*EvtBeingHitInfo)(nil), // 2: EvtBeingHitInfo +} +var file_EvtBeingHitNotify_proto_depIdxs = []int32{ + 1, // 0: EvtBeingHitNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtBeingHitNotify.being_hit_info:type_name -> EvtBeingHitInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtBeingHitNotify_proto_init() } +func file_EvtBeingHitNotify_proto_init() { + if File_EvtBeingHitNotify_proto != nil { + return + } + file_EvtBeingHitInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBeingHitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBeingHitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBeingHitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBeingHitNotify_proto_goTypes, + DependencyIndexes: file_EvtBeingHitNotify_proto_depIdxs, + MessageInfos: file_EvtBeingHitNotify_proto_msgTypes, + }.Build() + File_EvtBeingHitNotify_proto = out.File + file_EvtBeingHitNotify_proto_rawDesc = nil + file_EvtBeingHitNotify_proto_goTypes = nil + file_EvtBeingHitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBeingHitNotify.proto b/gate-hk4e-api/proto/EvtBeingHitNotify.proto new file mode 100644 index 00000000..303a069b --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtBeingHitInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtBeingHitNotify { + ForwardType forward_type = 6; + EvtBeingHitInfo being_hit_info = 3; +} diff --git a/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.pb.go b/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.pb.go new file mode 100644 index 00000000..08d863d8 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBeingHitsCombineNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 346 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtBeingHitsCombineNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,11,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EvtBeingHitInfoList []*EvtBeingHitInfo `protobuf:"bytes,7,rep,name=evt_being_hit_info_list,json=evtBeingHitInfoList,proto3" json:"evt_being_hit_info_list,omitempty"` +} + +func (x *EvtBeingHitsCombineNotify) Reset() { + *x = EvtBeingHitsCombineNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBeingHitsCombineNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBeingHitsCombineNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBeingHitsCombineNotify) ProtoMessage() {} + +func (x *EvtBeingHitsCombineNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtBeingHitsCombineNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBeingHitsCombineNotify.ProtoReflect.Descriptor instead. +func (*EvtBeingHitsCombineNotify) Descriptor() ([]byte, []int) { + return file_EvtBeingHitsCombineNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBeingHitsCombineNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtBeingHitsCombineNotify) GetEvtBeingHitInfoList() []*EvtBeingHitInfo { + if x != nil { + return x.EvtBeingHitInfoList + } + return nil +} + +var File_EvtBeingHitsCombineNotify_proto protoreflect.FileDescriptor + +var file_EvtBeingHitsCombineNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x73, 0x43, 0x6f, + 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x15, 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x19, + 0x45, 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x73, 0x43, 0x6f, 0x6d, 0x62, + 0x69, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x17, 0x65, 0x76, + 0x74, 0x5f, 0x62, 0x65, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x45, 0x76, + 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x65, + 0x76, 0x74, 0x42, 0x65, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBeingHitsCombineNotify_proto_rawDescOnce sync.Once + file_EvtBeingHitsCombineNotify_proto_rawDescData = file_EvtBeingHitsCombineNotify_proto_rawDesc +) + +func file_EvtBeingHitsCombineNotify_proto_rawDescGZIP() []byte { + file_EvtBeingHitsCombineNotify_proto_rawDescOnce.Do(func() { + file_EvtBeingHitsCombineNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBeingHitsCombineNotify_proto_rawDescData) + }) + return file_EvtBeingHitsCombineNotify_proto_rawDescData +} + +var file_EvtBeingHitsCombineNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBeingHitsCombineNotify_proto_goTypes = []interface{}{ + (*EvtBeingHitsCombineNotify)(nil), // 0: EvtBeingHitsCombineNotify + (ForwardType)(0), // 1: ForwardType + (*EvtBeingHitInfo)(nil), // 2: EvtBeingHitInfo +} +var file_EvtBeingHitsCombineNotify_proto_depIdxs = []int32{ + 1, // 0: EvtBeingHitsCombineNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtBeingHitsCombineNotify.evt_being_hit_info_list:type_name -> EvtBeingHitInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtBeingHitsCombineNotify_proto_init() } +func file_EvtBeingHitsCombineNotify_proto_init() { + if File_EvtBeingHitsCombineNotify_proto != nil { + return + } + file_EvtBeingHitInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBeingHitsCombineNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBeingHitsCombineNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBeingHitsCombineNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBeingHitsCombineNotify_proto_goTypes, + DependencyIndexes: file_EvtBeingHitsCombineNotify_proto_depIdxs, + MessageInfos: file_EvtBeingHitsCombineNotify_proto_msgTypes, + }.Build() + File_EvtBeingHitsCombineNotify_proto = out.File + file_EvtBeingHitsCombineNotify_proto_rawDesc = nil + file_EvtBeingHitsCombineNotify_proto_goTypes = nil + file_EvtBeingHitsCombineNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.proto b/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.proto new file mode 100644 index 00000000..69134eba --- /dev/null +++ b/gate-hk4e-api/proto/EvtBeingHitsCombineNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtBeingHitInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 346 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtBeingHitsCombineNotify { + ForwardType forward_type = 11; + repeated EvtBeingHitInfo evt_being_hit_info_list = 7; +} diff --git a/gate-hk4e-api/proto/EvtBulletDeactiveNotify.pb.go b/gate-hk4e-api/proto/EvtBulletDeactiveNotify.pb.go new file mode 100644 index 00000000..3014375e --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletDeactiveNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBulletDeactiveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 397 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtBulletDeactiveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,6,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + DisappearPos *Vector `protobuf:"bytes,4,opt,name=disappear_pos,json=disappearPos,proto3" json:"disappear_pos,omitempty"` +} + +func (x *EvtBulletDeactiveNotify) Reset() { + *x = EvtBulletDeactiveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBulletDeactiveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBulletDeactiveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBulletDeactiveNotify) ProtoMessage() {} + +func (x *EvtBulletDeactiveNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtBulletDeactiveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBulletDeactiveNotify.ProtoReflect.Descriptor instead. +func (*EvtBulletDeactiveNotify) Descriptor() ([]byte, []int) { + return file_EvtBulletDeactiveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBulletDeactiveNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtBulletDeactiveNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtBulletDeactiveNotify) GetDisappearPos() *Vector { + if x != nil { + return x.DisappearPos + } + return nil +} + +var File_EvtBulletDeactiveNotify_proto protoreflect.FileDescriptor + +var file_EvtBulletDeactiveNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x95, 0x01, 0x0a, 0x17, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x44, 0x65, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0d, 0x64, 0x69, + 0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, + 0x70, 0x70, 0x65, 0x61, 0x72, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBulletDeactiveNotify_proto_rawDescOnce sync.Once + file_EvtBulletDeactiveNotify_proto_rawDescData = file_EvtBulletDeactiveNotify_proto_rawDesc +) + +func file_EvtBulletDeactiveNotify_proto_rawDescGZIP() []byte { + file_EvtBulletDeactiveNotify_proto_rawDescOnce.Do(func() { + file_EvtBulletDeactiveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBulletDeactiveNotify_proto_rawDescData) + }) + return file_EvtBulletDeactiveNotify_proto_rawDescData +} + +var file_EvtBulletDeactiveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBulletDeactiveNotify_proto_goTypes = []interface{}{ + (*EvtBulletDeactiveNotify)(nil), // 0: EvtBulletDeactiveNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtBulletDeactiveNotify_proto_depIdxs = []int32{ + 1, // 0: EvtBulletDeactiveNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtBulletDeactiveNotify.disappear_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtBulletDeactiveNotify_proto_init() } +func file_EvtBulletDeactiveNotify_proto_init() { + if File_EvtBulletDeactiveNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBulletDeactiveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBulletDeactiveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBulletDeactiveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBulletDeactiveNotify_proto_goTypes, + DependencyIndexes: file_EvtBulletDeactiveNotify_proto_depIdxs, + MessageInfos: file_EvtBulletDeactiveNotify_proto_msgTypes, + }.Build() + File_EvtBulletDeactiveNotify_proto = out.File + file_EvtBulletDeactiveNotify_proto_rawDesc = nil + file_EvtBulletDeactiveNotify_proto_goTypes = nil + file_EvtBulletDeactiveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBulletDeactiveNotify.proto b/gate-hk4e-api/proto/EvtBulletDeactiveNotify.proto new file mode 100644 index 00000000..e4706d1e --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletDeactiveNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 397 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtBulletDeactiveNotify { + ForwardType forward_type = 6; + uint32 entity_id = 9; + Vector disappear_pos = 4; +} diff --git a/gate-hk4e-api/proto/EvtBulletHitNotify.pb.go b/gate-hk4e-api/proto/EvtBulletHitNotify.pb.go new file mode 100644 index 00000000..9e05b0d0 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletHitNotify.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBulletHitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 348 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtBulletHitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FEALLBIBHOL uint32 `protobuf:"varint,8,opt,name=Unk2700_FEALLBIBHOL,json=Unk2700FEALLBIBHOL,proto3" json:"Unk2700_FEALLBIBHOL,omitempty"` + HitPoint *Vector `protobuf:"bytes,15,opt,name=hit_point,json=hitPoint,proto3" json:"hit_point,omitempty"` + HitNormal *Vector `protobuf:"bytes,11,opt,name=hit_normal,json=hitNormal,proto3" json:"hit_normal,omitempty"` + HitBoxIndex int32 `protobuf:"varint,9,opt,name=hit_box_index,json=hitBoxIndex,proto3" json:"hit_box_index,omitempty"` + HitEntityId uint32 `protobuf:"varint,3,opt,name=hit_entity_id,json=hitEntityId,proto3" json:"hit_entity_id,omitempty"` + EntityId uint32 `protobuf:"varint,5,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ForwardPeer uint32 `protobuf:"varint,7,opt,name=forward_peer,json=forwardPeer,proto3" json:"forward_peer,omitempty"` + ForwardType ForwardType `protobuf:"varint,2,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + HitColliderType HitColliderType `protobuf:"varint,6,opt,name=hit_collider_type,json=hitColliderType,proto3,enum=HitColliderType" json:"hit_collider_type,omitempty"` +} + +func (x *EvtBulletHitNotify) Reset() { + *x = EvtBulletHitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBulletHitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBulletHitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBulletHitNotify) ProtoMessage() {} + +func (x *EvtBulletHitNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtBulletHitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBulletHitNotify.ProtoReflect.Descriptor instead. +func (*EvtBulletHitNotify) Descriptor() ([]byte, []int) { + return file_EvtBulletHitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBulletHitNotify) GetUnk2700_FEALLBIBHOL() uint32 { + if x != nil { + return x.Unk2700_FEALLBIBHOL + } + return 0 +} + +func (x *EvtBulletHitNotify) GetHitPoint() *Vector { + if x != nil { + return x.HitPoint + } + return nil +} + +func (x *EvtBulletHitNotify) GetHitNormal() *Vector { + if x != nil { + return x.HitNormal + } + return nil +} + +func (x *EvtBulletHitNotify) GetHitBoxIndex() int32 { + if x != nil { + return x.HitBoxIndex + } + return 0 +} + +func (x *EvtBulletHitNotify) GetHitEntityId() uint32 { + if x != nil { + return x.HitEntityId + } + return 0 +} + +func (x *EvtBulletHitNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtBulletHitNotify) GetForwardPeer() uint32 { + if x != nil { + return x.ForwardPeer + } + return 0 +} + +func (x *EvtBulletHitNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtBulletHitNotify) GetHitColliderType() HitColliderType { + if x != nil { + return x.HitColliderType + } + return HitColliderType_HIT_COLLIDER_TYPE_INVALID +} + +var File_EvtBulletHitNotify_proto protoreflect.FileDescriptor + +var file_EvtBulletHitNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x48, 0x69, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x48, + 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x12, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, + 0x48, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x41, 0x4c, 0x4c, 0x42, 0x49, 0x42, 0x48, 0x4f, 0x4c, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, + 0x45, 0x41, 0x4c, 0x4c, 0x42, 0x49, 0x42, 0x48, 0x4f, 0x4c, 0x12, 0x24, 0x0a, 0x09, 0x68, 0x69, + 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x68, 0x69, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x26, 0x0a, 0x0a, 0x68, 0x69, 0x74, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x68, + 0x69, 0x74, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x5f, + 0x62, 0x6f, 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0b, 0x68, 0x69, 0x74, 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0d, + 0x68, 0x69, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x68, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x65, 0x72, + 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x3c, 0x0a, 0x11, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, + 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x48, + 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, + 0x68, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBulletHitNotify_proto_rawDescOnce sync.Once + file_EvtBulletHitNotify_proto_rawDescData = file_EvtBulletHitNotify_proto_rawDesc +) + +func file_EvtBulletHitNotify_proto_rawDescGZIP() []byte { + file_EvtBulletHitNotify_proto_rawDescOnce.Do(func() { + file_EvtBulletHitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBulletHitNotify_proto_rawDescData) + }) + return file_EvtBulletHitNotify_proto_rawDescData +} + +var file_EvtBulletHitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBulletHitNotify_proto_goTypes = []interface{}{ + (*EvtBulletHitNotify)(nil), // 0: EvtBulletHitNotify + (*Vector)(nil), // 1: Vector + (ForwardType)(0), // 2: ForwardType + (HitColliderType)(0), // 3: HitColliderType +} +var file_EvtBulletHitNotify_proto_depIdxs = []int32{ + 1, // 0: EvtBulletHitNotify.hit_point:type_name -> Vector + 1, // 1: EvtBulletHitNotify.hit_normal:type_name -> Vector + 2, // 2: EvtBulletHitNotify.forward_type:type_name -> ForwardType + 3, // 3: EvtBulletHitNotify.hit_collider_type:type_name -> HitColliderType + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_EvtBulletHitNotify_proto_init() } +func file_EvtBulletHitNotify_proto_init() { + if File_EvtBulletHitNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_HitColliderType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBulletHitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBulletHitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBulletHitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBulletHitNotify_proto_goTypes, + DependencyIndexes: file_EvtBulletHitNotify_proto_depIdxs, + MessageInfos: file_EvtBulletHitNotify_proto_msgTypes, + }.Build() + File_EvtBulletHitNotify_proto = out.File + file_EvtBulletHitNotify_proto_rawDesc = nil + file_EvtBulletHitNotify_proto_goTypes = nil + file_EvtBulletHitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBulletHitNotify.proto b/gate-hk4e-api/proto/EvtBulletHitNotify.proto new file mode 100644 index 00000000..0b522c19 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletHitNotify.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "HitColliderType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 348 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtBulletHitNotify { + uint32 Unk2700_FEALLBIBHOL = 8; + Vector hit_point = 15; + Vector hit_normal = 11; + int32 hit_box_index = 9; + uint32 hit_entity_id = 3; + uint32 entity_id = 5; + uint32 forward_peer = 7; + ForwardType forward_type = 2; + HitColliderType hit_collider_type = 6; +} diff --git a/gate-hk4e-api/proto/EvtBulletMoveNotify.pb.go b/gate-hk4e-api/proto/EvtBulletMoveNotify.pb.go new file mode 100644 index 00000000..3f3ae603 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletMoveNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtBulletMoveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 365 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtBulletMoveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,14,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + CurPos *Vector `protobuf:"bytes,1,opt,name=cur_pos,json=curPos,proto3" json:"cur_pos,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtBulletMoveNotify) Reset() { + *x = EvtBulletMoveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtBulletMoveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtBulletMoveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtBulletMoveNotify) ProtoMessage() {} + +func (x *EvtBulletMoveNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtBulletMoveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtBulletMoveNotify.ProtoReflect.Descriptor instead. +func (*EvtBulletMoveNotify) Descriptor() ([]byte, []int) { + return file_EvtBulletMoveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtBulletMoveNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtBulletMoveNotify) GetCurPos() *Vector { + if x != nil { + return x.CurPos + } + return nil +} + +func (x *EvtBulletMoveNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtBulletMoveNotify_proto protoreflect.FileDescriptor + +var file_EvtBulletMoveNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, + 0x13, 0x45, 0x76, 0x74, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x6f, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x06, 0x63, 0x75, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtBulletMoveNotify_proto_rawDescOnce sync.Once + file_EvtBulletMoveNotify_proto_rawDescData = file_EvtBulletMoveNotify_proto_rawDesc +) + +func file_EvtBulletMoveNotify_proto_rawDescGZIP() []byte { + file_EvtBulletMoveNotify_proto_rawDescOnce.Do(func() { + file_EvtBulletMoveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtBulletMoveNotify_proto_rawDescData) + }) + return file_EvtBulletMoveNotify_proto_rawDescData +} + +var file_EvtBulletMoveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtBulletMoveNotify_proto_goTypes = []interface{}{ + (*EvtBulletMoveNotify)(nil), // 0: EvtBulletMoveNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtBulletMoveNotify_proto_depIdxs = []int32{ + 1, // 0: EvtBulletMoveNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtBulletMoveNotify.cur_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtBulletMoveNotify_proto_init() } +func file_EvtBulletMoveNotify_proto_init() { + if File_EvtBulletMoveNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtBulletMoveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtBulletMoveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtBulletMoveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtBulletMoveNotify_proto_goTypes, + DependencyIndexes: file_EvtBulletMoveNotify_proto_depIdxs, + MessageInfos: file_EvtBulletMoveNotify_proto_msgTypes, + }.Build() + File_EvtBulletMoveNotify_proto = out.File + file_EvtBulletMoveNotify_proto_rawDesc = nil + file_EvtBulletMoveNotify_proto_goTypes = nil + file_EvtBulletMoveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtBulletMoveNotify.proto b/gate-hk4e-api/proto/EvtBulletMoveNotify.proto new file mode 100644 index 00000000..f2988b22 --- /dev/null +++ b/gate-hk4e-api/proto/EvtBulletMoveNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 365 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtBulletMoveNotify { + ForwardType forward_type = 14; + Vector cur_pos = 1; + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.pb.go b/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.pb.go new file mode 100644 index 00000000..30c583da --- /dev/null +++ b/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtCombatForceSetPosInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtCombatForceSetPosInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IceId uint32 `protobuf:"varint,9,opt,name=ice_id,json=iceId,proto3" json:"ice_id,omitempty"` + ColliderEntityId uint32 `protobuf:"varint,10,opt,name=collider_entity_id,json=colliderEntityId,proto3" json:"collider_entity_id,omitempty"` + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + TargetPos *Vector `protobuf:"bytes,1,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` +} + +func (x *EvtCombatForceSetPosInfo) Reset() { + *x = EvtCombatForceSetPosInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtCombatForceSetPosInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtCombatForceSetPosInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtCombatForceSetPosInfo) ProtoMessage() {} + +func (x *EvtCombatForceSetPosInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtCombatForceSetPosInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtCombatForceSetPosInfo.ProtoReflect.Descriptor instead. +func (*EvtCombatForceSetPosInfo) Descriptor() ([]byte, []int) { + return file_EvtCombatForceSetPosInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtCombatForceSetPosInfo) GetIceId() uint32 { + if x != nil { + return x.IceId + } + return 0 +} + +func (x *EvtCombatForceSetPosInfo) GetColliderEntityId() uint32 { + if x != nil { + return x.ColliderEntityId + } + return 0 +} + +func (x *EvtCombatForceSetPosInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtCombatForceSetPosInfo) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +var File_EvtCombatForceSetPosInfo_proto protoreflect.FileDescriptor + +var file_EvtCombatForceSetPosInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, + 0x53, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, + 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x46, 0x6f, 0x72, 0x63, + 0x65, 0x53, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x69, + 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x63, 0x65, + 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, + 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtCombatForceSetPosInfo_proto_rawDescOnce sync.Once + file_EvtCombatForceSetPosInfo_proto_rawDescData = file_EvtCombatForceSetPosInfo_proto_rawDesc +) + +func file_EvtCombatForceSetPosInfo_proto_rawDescGZIP() []byte { + file_EvtCombatForceSetPosInfo_proto_rawDescOnce.Do(func() { + file_EvtCombatForceSetPosInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtCombatForceSetPosInfo_proto_rawDescData) + }) + return file_EvtCombatForceSetPosInfo_proto_rawDescData +} + +var file_EvtCombatForceSetPosInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtCombatForceSetPosInfo_proto_goTypes = []interface{}{ + (*EvtCombatForceSetPosInfo)(nil), // 0: EvtCombatForceSetPosInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtCombatForceSetPosInfo_proto_depIdxs = []int32{ + 1, // 0: EvtCombatForceSetPosInfo.target_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtCombatForceSetPosInfo_proto_init() } +func file_EvtCombatForceSetPosInfo_proto_init() { + if File_EvtCombatForceSetPosInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtCombatForceSetPosInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtCombatForceSetPosInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtCombatForceSetPosInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtCombatForceSetPosInfo_proto_goTypes, + DependencyIndexes: file_EvtCombatForceSetPosInfo_proto_depIdxs, + MessageInfos: file_EvtCombatForceSetPosInfo_proto_msgTypes, + }.Build() + File_EvtCombatForceSetPosInfo_proto = out.File + file_EvtCombatForceSetPosInfo_proto_rawDesc = nil + file_EvtCombatForceSetPosInfo_proto_goTypes = nil + file_EvtCombatForceSetPosInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.proto b/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.proto new file mode 100644 index 00000000..7170df9f --- /dev/null +++ b/gate-hk4e-api/proto/EvtCombatForceSetPosInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtCombatForceSetPosInfo { + uint32 ice_id = 9; + uint32 collider_entity_id = 10; + uint32 entity_id = 6; + Vector target_pos = 1; +} diff --git a/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.pb.go b/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.pb.go new file mode 100644 index 00000000..bcff92bb --- /dev/null +++ b/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtCombatSteerMotionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtCombatSteerMotionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,12,opt,name=pos,proto3" json:"pos,omitempty"` + Velocity *Vector `protobuf:"bytes,10,opt,name=velocity,proto3" json:"velocity,omitempty"` + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FaceDir *Vector `protobuf:"bytes,1,opt,name=face_dir,json=faceDir,proto3" json:"face_dir,omitempty"` +} + +func (x *EvtCombatSteerMotionInfo) Reset() { + *x = EvtCombatSteerMotionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtCombatSteerMotionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtCombatSteerMotionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtCombatSteerMotionInfo) ProtoMessage() {} + +func (x *EvtCombatSteerMotionInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtCombatSteerMotionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtCombatSteerMotionInfo.ProtoReflect.Descriptor instead. +func (*EvtCombatSteerMotionInfo) Descriptor() ([]byte, []int) { + return file_EvtCombatSteerMotionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtCombatSteerMotionInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *EvtCombatSteerMotionInfo) GetVelocity() *Vector { + if x != nil { + return x.Velocity + } + return nil +} + +func (x *EvtCombatSteerMotionInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtCombatSteerMotionInfo) GetFaceDir() *Vector { + if x != nil { + return x.FaceDir + } + return nil +} + +var File_EvtCombatSteerMotionInfo_proto protoreflect.FileDescriptor + +var file_EvtCombatSteerMotionInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x53, 0x74, 0x65, 0x65, 0x72, + 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, + 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x53, 0x74, 0x65, 0x65, + 0x72, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x23, 0x0a, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, + 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x08, 0x66, 0x61, 0x63, 0x65, + 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x44, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtCombatSteerMotionInfo_proto_rawDescOnce sync.Once + file_EvtCombatSteerMotionInfo_proto_rawDescData = file_EvtCombatSteerMotionInfo_proto_rawDesc +) + +func file_EvtCombatSteerMotionInfo_proto_rawDescGZIP() []byte { + file_EvtCombatSteerMotionInfo_proto_rawDescOnce.Do(func() { + file_EvtCombatSteerMotionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtCombatSteerMotionInfo_proto_rawDescData) + }) + return file_EvtCombatSteerMotionInfo_proto_rawDescData +} + +var file_EvtCombatSteerMotionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtCombatSteerMotionInfo_proto_goTypes = []interface{}{ + (*EvtCombatSteerMotionInfo)(nil), // 0: EvtCombatSteerMotionInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtCombatSteerMotionInfo_proto_depIdxs = []int32{ + 1, // 0: EvtCombatSteerMotionInfo.pos:type_name -> Vector + 1, // 1: EvtCombatSteerMotionInfo.velocity:type_name -> Vector + 1, // 2: EvtCombatSteerMotionInfo.face_dir:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EvtCombatSteerMotionInfo_proto_init() } +func file_EvtCombatSteerMotionInfo_proto_init() { + if File_EvtCombatSteerMotionInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtCombatSteerMotionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtCombatSteerMotionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtCombatSteerMotionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtCombatSteerMotionInfo_proto_goTypes, + DependencyIndexes: file_EvtCombatSteerMotionInfo_proto_depIdxs, + MessageInfos: file_EvtCombatSteerMotionInfo_proto_msgTypes, + }.Build() + File_EvtCombatSteerMotionInfo_proto = out.File + file_EvtCombatSteerMotionInfo_proto_rawDesc = nil + file_EvtCombatSteerMotionInfo_proto_goTypes = nil + file_EvtCombatSteerMotionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.proto b/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.proto new file mode 100644 index 00000000..f55471e3 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCombatSteerMotionInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtCombatSteerMotionInfo { + Vector pos = 12; + Vector velocity = 10; + uint32 entity_id = 4; + Vector face_dir = 1; +} diff --git a/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.pb.go b/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.pb.go new file mode 100644 index 00000000..7a82f863 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtCompensatePosDiffInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtCompensatePosDiffInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurPos *Vector `protobuf:"bytes,14,opt,name=cur_pos,json=curPos,proto3" json:"cur_pos,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FaceAngleCompact int32 `protobuf:"varint,10,opt,name=face_angle_compact,json=faceAngleCompact,proto3" json:"face_angle_compact,omitempty"` + CurHash uint32 `protobuf:"varint,4,opt,name=cur_hash,json=curHash,proto3" json:"cur_hash,omitempty"` + NormalizedTimeCompact uint32 `protobuf:"varint,3,opt,name=normalized_time_compact,json=normalizedTimeCompact,proto3" json:"normalized_time_compact,omitempty"` +} + +func (x *EvtCompensatePosDiffInfo) Reset() { + *x = EvtCompensatePosDiffInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtCompensatePosDiffInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtCompensatePosDiffInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtCompensatePosDiffInfo) ProtoMessage() {} + +func (x *EvtCompensatePosDiffInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtCompensatePosDiffInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtCompensatePosDiffInfo.ProtoReflect.Descriptor instead. +func (*EvtCompensatePosDiffInfo) Descriptor() ([]byte, []int) { + return file_EvtCompensatePosDiffInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtCompensatePosDiffInfo) GetCurPos() *Vector { + if x != nil { + return x.CurPos + } + return nil +} + +func (x *EvtCompensatePosDiffInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtCompensatePosDiffInfo) GetFaceAngleCompact() int32 { + if x != nil { + return x.FaceAngleCompact + } + return 0 +} + +func (x *EvtCompensatePosDiffInfo) GetCurHash() uint32 { + if x != nil { + return x.CurHash + } + return 0 +} + +func (x *EvtCompensatePosDiffInfo) GetNormalizedTimeCompact() uint32 { + if x != nil { + return x.NormalizedTimeCompact + } + return 0 +} + +var File_EvtCompensatePosDiffInfo_proto protoreflect.FileDescriptor + +var file_EvtCompensatePosDiffInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, 0x74, 0x65, 0x50, + 0x6f, 0x73, 0x44, 0x69, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, + 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x65, 0x6e, 0x73, 0x61, 0x74, 0x65, + 0x50, 0x6f, 0x73, 0x44, 0x69, 0x66, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x07, 0x63, + 0x75, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x75, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, + 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x66, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, + 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x75, 0x72, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x17, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtCompensatePosDiffInfo_proto_rawDescOnce sync.Once + file_EvtCompensatePosDiffInfo_proto_rawDescData = file_EvtCompensatePosDiffInfo_proto_rawDesc +) + +func file_EvtCompensatePosDiffInfo_proto_rawDescGZIP() []byte { + file_EvtCompensatePosDiffInfo_proto_rawDescOnce.Do(func() { + file_EvtCompensatePosDiffInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtCompensatePosDiffInfo_proto_rawDescData) + }) + return file_EvtCompensatePosDiffInfo_proto_rawDescData +} + +var file_EvtCompensatePosDiffInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtCompensatePosDiffInfo_proto_goTypes = []interface{}{ + (*EvtCompensatePosDiffInfo)(nil), // 0: EvtCompensatePosDiffInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtCompensatePosDiffInfo_proto_depIdxs = []int32{ + 1, // 0: EvtCompensatePosDiffInfo.cur_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtCompensatePosDiffInfo_proto_init() } +func file_EvtCompensatePosDiffInfo_proto_init() { + if File_EvtCompensatePosDiffInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtCompensatePosDiffInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtCompensatePosDiffInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtCompensatePosDiffInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtCompensatePosDiffInfo_proto_goTypes, + DependencyIndexes: file_EvtCompensatePosDiffInfo_proto_depIdxs, + MessageInfos: file_EvtCompensatePosDiffInfo_proto_msgTypes, + }.Build() + File_EvtCompensatePosDiffInfo_proto = out.File + file_EvtCompensatePosDiffInfo_proto_rawDesc = nil + file_EvtCompensatePosDiffInfo_proto_goTypes = nil + file_EvtCompensatePosDiffInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.proto b/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.proto new file mode 100644 index 00000000..79f894e3 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCompensatePosDiffInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtCompensatePosDiffInfo { + Vector cur_pos = 14; + uint32 entity_id = 11; + int32 face_angle_compact = 10; + uint32 cur_hash = 4; + uint32 normalized_time_compact = 3; +} diff --git a/gate-hk4e-api/proto/EvtCostStaminaNotify.pb.go b/gate-hk4e-api/proto/EvtCostStaminaNotify.pb.go new file mode 100644 index 00000000..4323b1ab --- /dev/null +++ b/gate-hk4e-api/proto/EvtCostStaminaNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtCostStaminaNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 373 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtCostStaminaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillId uint32 `protobuf:"varint,6,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + CostStamina float32 `protobuf:"fixed32,11,opt,name=cost_stamina,json=costStamina,proto3" json:"cost_stamina,omitempty"` +} + +func (x *EvtCostStaminaNotify) Reset() { + *x = EvtCostStaminaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtCostStaminaNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtCostStaminaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtCostStaminaNotify) ProtoMessage() {} + +func (x *EvtCostStaminaNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtCostStaminaNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtCostStaminaNotify.ProtoReflect.Descriptor instead. +func (*EvtCostStaminaNotify) Descriptor() ([]byte, []int) { + return file_EvtCostStaminaNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtCostStaminaNotify) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *EvtCostStaminaNotify) GetCostStamina() float32 { + if x != nil { + return x.CostStamina + } + return 0 +} + +var File_EvtCostStaminaNotify_proto protoreflect.FileDescriptor + +var file_EvtCostStaminaNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x76, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x14, + 0x45, 0x76, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x6d, 0x69, + 0x6e, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtCostStaminaNotify_proto_rawDescOnce sync.Once + file_EvtCostStaminaNotify_proto_rawDescData = file_EvtCostStaminaNotify_proto_rawDesc +) + +func file_EvtCostStaminaNotify_proto_rawDescGZIP() []byte { + file_EvtCostStaminaNotify_proto_rawDescOnce.Do(func() { + file_EvtCostStaminaNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtCostStaminaNotify_proto_rawDescData) + }) + return file_EvtCostStaminaNotify_proto_rawDescData +} + +var file_EvtCostStaminaNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtCostStaminaNotify_proto_goTypes = []interface{}{ + (*EvtCostStaminaNotify)(nil), // 0: EvtCostStaminaNotify +} +var file_EvtCostStaminaNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EvtCostStaminaNotify_proto_init() } +func file_EvtCostStaminaNotify_proto_init() { + if File_EvtCostStaminaNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EvtCostStaminaNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtCostStaminaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtCostStaminaNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtCostStaminaNotify_proto_goTypes, + DependencyIndexes: file_EvtCostStaminaNotify_proto_depIdxs, + MessageInfos: file_EvtCostStaminaNotify_proto_msgTypes, + }.Build() + File_EvtCostStaminaNotify_proto = out.File + file_EvtCostStaminaNotify_proto_rawDesc = nil + file_EvtCostStaminaNotify_proto_goTypes = nil + file_EvtCostStaminaNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtCostStaminaNotify.proto b/gate-hk4e-api/proto/EvtCostStaminaNotify.proto new file mode 100644 index 00000000..753f5a34 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCostStaminaNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 373 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtCostStaminaNotify { + uint32 skill_id = 6; + float cost_stamina = 11; +} diff --git a/gate-hk4e-api/proto/EvtCreateGadgetNotify.pb.go b/gate-hk4e-api/proto/EvtCreateGadgetNotify.pb.go new file mode 100644 index 00000000..71a33518 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCreateGadgetNotify.pb.go @@ -0,0 +1,362 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtCreateGadgetNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 307 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtCreateGadgetNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAsyncLoad bool `protobuf:"varint,8,opt,name=is_async_load,json=isAsyncLoad,proto3" json:"is_async_load,omitempty"` + CampType uint32 `protobuf:"varint,5,opt,name=camp_type,json=campType,proto3" json:"camp_type,omitempty"` + SightGroupWithOwner bool `protobuf:"varint,10,opt,name=sight_group_with_owner,json=sightGroupWithOwner,proto3" json:"sight_group_with_owner,omitempty"` + Unk2700_BELOIHEIEAN []uint32 `protobuf:"varint,889,rep,packed,name=Unk2700_BELOIHEIEAN,json=Unk2700BELOIHEIEAN,proto3" json:"Unk2700_BELOIHEIEAN,omitempty"` + ForwardType ForwardType `protobuf:"varint,12,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + TargetEntityId uint32 `protobuf:"varint,3,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` + CampId uint32 `protobuf:"varint,15,opt,name=camp_id,json=campId,proto3" json:"camp_id,omitempty"` + Guid uint64 `protobuf:"varint,6,opt,name=guid,proto3" json:"guid,omitempty"` + InitEulerAngles *Vector `protobuf:"bytes,13,opt,name=init_euler_angles,json=initEulerAngles,proto3" json:"init_euler_angles,omitempty"` + TargetLockPointIndex uint32 `protobuf:"varint,11,opt,name=target_lock_point_index,json=targetLockPointIndex,proto3" json:"target_lock_point_index,omitempty"` + Unk2700_JDNFLLGJBGA []uint32 `protobuf:"varint,1920,rep,packed,name=Unk2700_JDNFLLGJBGA,json=Unk2700JDNFLLGJBGA,proto3" json:"Unk2700_JDNFLLGJBGA,omitempty"` + InitPos *Vector `protobuf:"bytes,4,opt,name=init_pos,json=initPos,proto3" json:"init_pos,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,9,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` + RoomId uint32 `protobuf:"varint,7,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Unk2700_JBOPENAGGAF bool `protobuf:"varint,25,opt,name=Unk2700_JBOPENAGGAF,json=Unk2700JBOPENAGGAF,proto3" json:"Unk2700_JBOPENAGGAF,omitempty"` + PropOwnerEntityId uint32 `protobuf:"varint,1,opt,name=prop_owner_entity_id,json=propOwnerEntityId,proto3" json:"prop_owner_entity_id,omitempty"` + Unk2700_IHIDGKPHFME bool `protobuf:"varint,379,opt,name=Unk2700_IHIDGKPHFME,json=Unk2700IHIDGKPHFME,proto3" json:"Unk2700_IHIDGKPHFME,omitempty"` + ConfigId uint32 `protobuf:"varint,14,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *EvtCreateGadgetNotify) Reset() { + *x = EvtCreateGadgetNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtCreateGadgetNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtCreateGadgetNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtCreateGadgetNotify) ProtoMessage() {} + +func (x *EvtCreateGadgetNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtCreateGadgetNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtCreateGadgetNotify.ProtoReflect.Descriptor instead. +func (*EvtCreateGadgetNotify) Descriptor() ([]byte, []int) { + return file_EvtCreateGadgetNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtCreateGadgetNotify) GetIsAsyncLoad() bool { + if x != nil { + return x.IsAsyncLoad + } + return false +} + +func (x *EvtCreateGadgetNotify) GetCampType() uint32 { + if x != nil { + return x.CampType + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetSightGroupWithOwner() bool { + if x != nil { + return x.SightGroupWithOwner + } + return false +} + +func (x *EvtCreateGadgetNotify) GetUnk2700_BELOIHEIEAN() []uint32 { + if x != nil { + return x.Unk2700_BELOIHEIEAN + } + return nil +} + +func (x *EvtCreateGadgetNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtCreateGadgetNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetCampId() uint32 { + if x != nil { + return x.CampId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetInitEulerAngles() *Vector { + if x != nil { + return x.InitEulerAngles + } + return nil +} + +func (x *EvtCreateGadgetNotify) GetTargetLockPointIndex() uint32 { + if x != nil { + return x.TargetLockPointIndex + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetUnk2700_JDNFLLGJBGA() []uint32 { + if x != nil { + return x.Unk2700_JDNFLLGJBGA + } + return nil +} + +func (x *EvtCreateGadgetNotify) GetInitPos() *Vector { + if x != nil { + return x.InitPos + } + return nil +} + +func (x *EvtCreateGadgetNotify) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetUnk2700_JBOPENAGGAF() bool { + if x != nil { + return x.Unk2700_JBOPENAGGAF + } + return false +} + +func (x *EvtCreateGadgetNotify) GetPropOwnerEntityId() uint32 { + if x != nil { + return x.PropOwnerEntityId + } + return 0 +} + +func (x *EvtCreateGadgetNotify) GetUnk2700_IHIDGKPHFME() bool { + if x != nil { + return x.Unk2700_IHIDGKPHFME + } + return false +} + +func (x *EvtCreateGadgetNotify) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_EvtCreateGadgetNotify_proto protoreflect.FileDescriptor + +var file_EvtCreateGadgetNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x76, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, + 0x06, 0x0a, 0x15, 0x45, 0x76, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x73, 0x69, 0x67, + 0x68, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x73, 0x69, 0x67, 0x68, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x30, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4c, 0x4f, 0x49, 0x48, + 0x45, 0x49, 0x45, 0x41, 0x4e, 0x18, 0xf9, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x45, 0x4c, 0x4f, 0x49, 0x48, 0x45, 0x49, 0x45, 0x41, 0x4e, + 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6d, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x6d, 0x70, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x33, 0x0a, 0x11, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x65, 0x75, + 0x6c, 0x65, 0x72, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0f, 0x69, 0x6e, 0x69, 0x74, 0x45, + 0x75, 0x6c, 0x65, 0x72, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x4e, + 0x46, 0x4c, 0x4c, 0x47, 0x4a, 0x42, 0x47, 0x41, 0x18, 0x80, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x44, 0x4e, 0x46, 0x4c, 0x4c, 0x47, 0x4a, + 0x42, 0x47, 0x41, 0x12, 0x22, 0x0a, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, + 0x69, 0x6e, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x42, 0x4f, 0x50, 0x45, 0x4e, 0x41, 0x47, 0x47, 0x41, 0x46, 0x18, + 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x42, + 0x4f, 0x50, 0x45, 0x4e, 0x41, 0x47, 0x47, 0x41, 0x46, 0x12, 0x2f, 0x0a, 0x14, 0x70, 0x72, 0x6f, + 0x70, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x49, 0x44, 0x47, 0x4b, 0x50, 0x48, 0x46, 0x4d, + 0x45, 0x18, 0xfb, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x49, 0x48, 0x49, 0x44, 0x47, 0x4b, 0x50, 0x48, 0x46, 0x4d, 0x45, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtCreateGadgetNotify_proto_rawDescOnce sync.Once + file_EvtCreateGadgetNotify_proto_rawDescData = file_EvtCreateGadgetNotify_proto_rawDesc +) + +func file_EvtCreateGadgetNotify_proto_rawDescGZIP() []byte { + file_EvtCreateGadgetNotify_proto_rawDescOnce.Do(func() { + file_EvtCreateGadgetNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtCreateGadgetNotify_proto_rawDescData) + }) + return file_EvtCreateGadgetNotify_proto_rawDescData +} + +var file_EvtCreateGadgetNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtCreateGadgetNotify_proto_goTypes = []interface{}{ + (*EvtCreateGadgetNotify)(nil), // 0: EvtCreateGadgetNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtCreateGadgetNotify_proto_depIdxs = []int32{ + 1, // 0: EvtCreateGadgetNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtCreateGadgetNotify.init_euler_angles:type_name -> Vector + 2, // 2: EvtCreateGadgetNotify.init_pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EvtCreateGadgetNotify_proto_init() } +func file_EvtCreateGadgetNotify_proto_init() { + if File_EvtCreateGadgetNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtCreateGadgetNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtCreateGadgetNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtCreateGadgetNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtCreateGadgetNotify_proto_goTypes, + DependencyIndexes: file_EvtCreateGadgetNotify_proto_depIdxs, + MessageInfos: file_EvtCreateGadgetNotify_proto_msgTypes, + }.Build() + File_EvtCreateGadgetNotify_proto = out.File + file_EvtCreateGadgetNotify_proto_rawDesc = nil + file_EvtCreateGadgetNotify_proto_goTypes = nil + file_EvtCreateGadgetNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtCreateGadgetNotify.proto b/gate-hk4e-api/proto/EvtCreateGadgetNotify.proto new file mode 100644 index 00000000..b1a30907 --- /dev/null +++ b/gate-hk4e-api/proto/EvtCreateGadgetNotify.proto @@ -0,0 +1,48 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 307 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtCreateGadgetNotify { + bool is_async_load = 8; + uint32 camp_type = 5; + bool sight_group_with_owner = 10; + repeated uint32 Unk2700_BELOIHEIEAN = 889; + ForwardType forward_type = 12; + uint32 entity_id = 2; + uint32 target_entity_id = 3; + uint32 camp_id = 15; + uint64 guid = 6; + Vector init_euler_angles = 13; + uint32 target_lock_point_index = 11; + repeated uint32 Unk2700_JDNFLLGJBGA = 1920; + Vector init_pos = 4; + uint32 owner_entity_id = 9; + uint32 room_id = 7; + bool Unk2700_JBOPENAGGAF = 25; + uint32 prop_owner_entity_id = 1; + bool Unk2700_IHIDGKPHFME = 379; + uint32 config_id = 14; +} diff --git a/gate-hk4e-api/proto/EvtDestroyGadgetNotify.pb.go b/gate-hk4e-api/proto/EvtDestroyGadgetNotify.pb.go new file mode 100644 index 00000000..d61f29ca --- /dev/null +++ b/gate-hk4e-api/proto/EvtDestroyGadgetNotify.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtDestroyGadgetNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 321 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtDestroyGadgetNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,5,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EntityId uint32 `protobuf:"varint,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtDestroyGadgetNotify) Reset() { + *x = EvtDestroyGadgetNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtDestroyGadgetNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtDestroyGadgetNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtDestroyGadgetNotify) ProtoMessage() {} + +func (x *EvtDestroyGadgetNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtDestroyGadgetNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtDestroyGadgetNotify.ProtoReflect.Descriptor instead. +func (*EvtDestroyGadgetNotify) Descriptor() ([]byte, []int) { + return file_EvtDestroyGadgetNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtDestroyGadgetNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtDestroyGadgetNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtDestroyGadgetNotify_proto protoreflect.FileDescriptor + +var file_EvtDestroyGadgetNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x66, 0x0a, 0x16, 0x45, 0x76, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x47, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtDestroyGadgetNotify_proto_rawDescOnce sync.Once + file_EvtDestroyGadgetNotify_proto_rawDescData = file_EvtDestroyGadgetNotify_proto_rawDesc +) + +func file_EvtDestroyGadgetNotify_proto_rawDescGZIP() []byte { + file_EvtDestroyGadgetNotify_proto_rawDescOnce.Do(func() { + file_EvtDestroyGadgetNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtDestroyGadgetNotify_proto_rawDescData) + }) + return file_EvtDestroyGadgetNotify_proto_rawDescData +} + +var file_EvtDestroyGadgetNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtDestroyGadgetNotify_proto_goTypes = []interface{}{ + (*EvtDestroyGadgetNotify)(nil), // 0: EvtDestroyGadgetNotify + (ForwardType)(0), // 1: ForwardType +} +var file_EvtDestroyGadgetNotify_proto_depIdxs = []int32{ + 1, // 0: EvtDestroyGadgetNotify.forward_type:type_name -> ForwardType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtDestroyGadgetNotify_proto_init() } +func file_EvtDestroyGadgetNotify_proto_init() { + if File_EvtDestroyGadgetNotify_proto != nil { + return + } + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtDestroyGadgetNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtDestroyGadgetNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtDestroyGadgetNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtDestroyGadgetNotify_proto_goTypes, + DependencyIndexes: file_EvtDestroyGadgetNotify_proto_depIdxs, + MessageInfos: file_EvtDestroyGadgetNotify_proto_msgTypes, + }.Build() + File_EvtDestroyGadgetNotify_proto = out.File + file_EvtDestroyGadgetNotify_proto_rawDesc = nil + file_EvtDestroyGadgetNotify_proto_goTypes = nil + file_EvtDestroyGadgetNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtDestroyGadgetNotify.proto b/gate-hk4e-api/proto/EvtDestroyGadgetNotify.proto new file mode 100644 index 00000000..f396ada6 --- /dev/null +++ b/gate-hk4e-api/proto/EvtDestroyGadgetNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 321 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtDestroyGadgetNotify { + ForwardType forward_type = 5; + uint32 entity_id = 3; +} diff --git a/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.pb.go b/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.pb.go new file mode 100644 index 00000000..54c9fd36 --- /dev/null +++ b/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtDestroyServerGadgetNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 387 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtDestroyServerGadgetNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtDestroyServerGadgetNotify) Reset() { + *x = EvtDestroyServerGadgetNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtDestroyServerGadgetNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtDestroyServerGadgetNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtDestroyServerGadgetNotify) ProtoMessage() {} + +func (x *EvtDestroyServerGadgetNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtDestroyServerGadgetNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtDestroyServerGadgetNotify.ProtoReflect.Descriptor instead. +func (*EvtDestroyServerGadgetNotify) Descriptor() ([]byte, []int) { + return file_EvtDestroyServerGadgetNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtDestroyServerGadgetNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtDestroyServerGadgetNotify_proto protoreflect.FileDescriptor + +var file_EvtDestroyServerGadgetNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x45, 0x76, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, + 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtDestroyServerGadgetNotify_proto_rawDescOnce sync.Once + file_EvtDestroyServerGadgetNotify_proto_rawDescData = file_EvtDestroyServerGadgetNotify_proto_rawDesc +) + +func file_EvtDestroyServerGadgetNotify_proto_rawDescGZIP() []byte { + file_EvtDestroyServerGadgetNotify_proto_rawDescOnce.Do(func() { + file_EvtDestroyServerGadgetNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtDestroyServerGadgetNotify_proto_rawDescData) + }) + return file_EvtDestroyServerGadgetNotify_proto_rawDescData +} + +var file_EvtDestroyServerGadgetNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtDestroyServerGadgetNotify_proto_goTypes = []interface{}{ + (*EvtDestroyServerGadgetNotify)(nil), // 0: EvtDestroyServerGadgetNotify +} +var file_EvtDestroyServerGadgetNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EvtDestroyServerGadgetNotify_proto_init() } +func file_EvtDestroyServerGadgetNotify_proto_init() { + if File_EvtDestroyServerGadgetNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EvtDestroyServerGadgetNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtDestroyServerGadgetNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtDestroyServerGadgetNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtDestroyServerGadgetNotify_proto_goTypes, + DependencyIndexes: file_EvtDestroyServerGadgetNotify_proto_depIdxs, + MessageInfos: file_EvtDestroyServerGadgetNotify_proto_msgTypes, + }.Build() + File_EvtDestroyServerGadgetNotify_proto = out.File + file_EvtDestroyServerGadgetNotify_proto_rawDesc = nil + file_EvtDestroyServerGadgetNotify_proto_goTypes = nil + file_EvtDestroyServerGadgetNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.proto b/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.proto new file mode 100644 index 00000000..71aacedd --- /dev/null +++ b/gate-hk4e-api/proto/EvtDestroyServerGadgetNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 387 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtDestroyServerGadgetNotify { + uint32 entity_id = 7; +} diff --git a/gate-hk4e-api/proto/EvtDoSkillSuccNotify.pb.go b/gate-hk4e-api/proto/EvtDoSkillSuccNotify.pb.go new file mode 100644 index 00000000..c1c98569 --- /dev/null +++ b/gate-hk4e-api/proto/EvtDoSkillSuccNotify.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtDoSkillSuccNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 335 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtDoSkillSuccNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CasterId uint32 `protobuf:"varint,13,opt,name=caster_id,json=casterId,proto3" json:"caster_id,omitempty"` + ForwardType ForwardType `protobuf:"varint,10,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + Forward *Vector `protobuf:"bytes,15,opt,name=forward,proto3" json:"forward,omitempty"` + SkillId uint32 `protobuf:"varint,7,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` +} + +func (x *EvtDoSkillSuccNotify) Reset() { + *x = EvtDoSkillSuccNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtDoSkillSuccNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtDoSkillSuccNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtDoSkillSuccNotify) ProtoMessage() {} + +func (x *EvtDoSkillSuccNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtDoSkillSuccNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtDoSkillSuccNotify.ProtoReflect.Descriptor instead. +func (*EvtDoSkillSuccNotify) Descriptor() ([]byte, []int) { + return file_EvtDoSkillSuccNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtDoSkillSuccNotify) GetCasterId() uint32 { + if x != nil { + return x.CasterId + } + return 0 +} + +func (x *EvtDoSkillSuccNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtDoSkillSuccNotify) GetForward() *Vector { + if x != nil { + return x.Forward + } + return nil +} + +func (x *EvtDoSkillSuccNotify) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +var File_EvtDoSkillSuccNotify_proto protoreflect.FileDescriptor + +var file_EvtDoSkillSuccNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x76, 0x74, 0x44, 0x6f, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x75, 0x63, 0x63, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, + 0x0a, 0x14, 0x45, 0x76, 0x74, 0x44, 0x6f, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x75, 0x63, 0x63, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtDoSkillSuccNotify_proto_rawDescOnce sync.Once + file_EvtDoSkillSuccNotify_proto_rawDescData = file_EvtDoSkillSuccNotify_proto_rawDesc +) + +func file_EvtDoSkillSuccNotify_proto_rawDescGZIP() []byte { + file_EvtDoSkillSuccNotify_proto_rawDescOnce.Do(func() { + file_EvtDoSkillSuccNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtDoSkillSuccNotify_proto_rawDescData) + }) + return file_EvtDoSkillSuccNotify_proto_rawDescData +} + +var file_EvtDoSkillSuccNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtDoSkillSuccNotify_proto_goTypes = []interface{}{ + (*EvtDoSkillSuccNotify)(nil), // 0: EvtDoSkillSuccNotify + (ForwardType)(0), // 1: ForwardType + (*Vector)(nil), // 2: Vector +} +var file_EvtDoSkillSuccNotify_proto_depIdxs = []int32{ + 1, // 0: EvtDoSkillSuccNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtDoSkillSuccNotify.forward:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtDoSkillSuccNotify_proto_init() } +func file_EvtDoSkillSuccNotify_proto_init() { + if File_EvtDoSkillSuccNotify_proto != nil { + return + } + file_ForwardType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtDoSkillSuccNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtDoSkillSuccNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtDoSkillSuccNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtDoSkillSuccNotify_proto_goTypes, + DependencyIndexes: file_EvtDoSkillSuccNotify_proto_depIdxs, + MessageInfos: file_EvtDoSkillSuccNotify_proto_msgTypes, + }.Build() + File_EvtDoSkillSuccNotify_proto = out.File + file_EvtDoSkillSuccNotify_proto_rawDesc = nil + file_EvtDoSkillSuccNotify_proto_goTypes = nil + file_EvtDoSkillSuccNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtDoSkillSuccNotify.proto b/gate-hk4e-api/proto/EvtDoSkillSuccNotify.proto new file mode 100644 index 00000000..abb36190 --- /dev/null +++ b/gate-hk4e-api/proto/EvtDoSkillSuccNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 335 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtDoSkillSuccNotify { + uint32 caster_id = 13; + ForwardType forward_type = 10; + Vector forward = 15; + uint32 skill_id = 7; +} diff --git a/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.pb.go b/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.pb.go new file mode 100644 index 00000000..597151f9 --- /dev/null +++ b/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtEntityRenderersChangedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 343 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtEntityRenderersChangedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,8,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + IsServerCache bool `protobuf:"varint,3,opt,name=is_server_cache,json=isServerCache,proto3" json:"is_server_cache,omitempty"` + RendererChangedInfo *EntityRendererChangedInfo `protobuf:"bytes,5,opt,name=renderer_changed_info,json=rendererChangedInfo,proto3" json:"renderer_changed_info,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtEntityRenderersChangedNotify) Reset() { + *x = EvtEntityRenderersChangedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtEntityRenderersChangedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtEntityRenderersChangedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtEntityRenderersChangedNotify) ProtoMessage() {} + +func (x *EvtEntityRenderersChangedNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtEntityRenderersChangedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtEntityRenderersChangedNotify.ProtoReflect.Descriptor instead. +func (*EvtEntityRenderersChangedNotify) Descriptor() ([]byte, []int) { + return file_EvtEntityRenderersChangedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtEntityRenderersChangedNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtEntityRenderersChangedNotify) GetIsServerCache() bool { + if x != nil { + return x.IsServerCache + } + return false +} + +func (x *EvtEntityRenderersChangedNotify) GetRendererChangedInfo() *EntityRendererChangedInfo { + if x != nil { + return x.RendererChangedInfo + } + return nil +} + +func (x *EvtEntityRenderersChangedNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtEntityRenderersChangedNotify_proto protoreflect.FileDescriptor + +var file_EvtEntityRenderersChangedNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x45, 0x76, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x01, 0x0a, 0x1f, + 0x45, 0x76, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, + 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x61, + 0x63, 0x68, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x4e, 0x0a, 0x15, 0x72, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtEntityRenderersChangedNotify_proto_rawDescOnce sync.Once + file_EvtEntityRenderersChangedNotify_proto_rawDescData = file_EvtEntityRenderersChangedNotify_proto_rawDesc +) + +func file_EvtEntityRenderersChangedNotify_proto_rawDescGZIP() []byte { + file_EvtEntityRenderersChangedNotify_proto_rawDescOnce.Do(func() { + file_EvtEntityRenderersChangedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtEntityRenderersChangedNotify_proto_rawDescData) + }) + return file_EvtEntityRenderersChangedNotify_proto_rawDescData +} + +var file_EvtEntityRenderersChangedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtEntityRenderersChangedNotify_proto_goTypes = []interface{}{ + (*EvtEntityRenderersChangedNotify)(nil), // 0: EvtEntityRenderersChangedNotify + (ForwardType)(0), // 1: ForwardType + (*EntityRendererChangedInfo)(nil), // 2: EntityRendererChangedInfo +} +var file_EvtEntityRenderersChangedNotify_proto_depIdxs = []int32{ + 1, // 0: EvtEntityRenderersChangedNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtEntityRenderersChangedNotify.renderer_changed_info:type_name -> EntityRendererChangedInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtEntityRenderersChangedNotify_proto_init() } +func file_EvtEntityRenderersChangedNotify_proto_init() { + if File_EvtEntityRenderersChangedNotify_proto != nil { + return + } + file_EntityRendererChangedInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtEntityRenderersChangedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtEntityRenderersChangedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtEntityRenderersChangedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtEntityRenderersChangedNotify_proto_goTypes, + DependencyIndexes: file_EvtEntityRenderersChangedNotify_proto_depIdxs, + MessageInfos: file_EvtEntityRenderersChangedNotify_proto_msgTypes, + }.Build() + File_EvtEntityRenderersChangedNotify_proto = out.File + file_EvtEntityRenderersChangedNotify_proto_rawDesc = nil + file_EvtEntityRenderersChangedNotify_proto_goTypes = nil + file_EvtEntityRenderersChangedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.proto b/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.proto new file mode 100644 index 00000000..0c224363 --- /dev/null +++ b/gate-hk4e-api/proto/EvtEntityRenderersChangedNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityRendererChangedInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 343 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtEntityRenderersChangedNotify { + ForwardType forward_type = 8; + bool is_server_cache = 3; + EntityRendererChangedInfo renderer_changed_info = 5; + uint32 entity_id = 15; +} diff --git a/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.pb.go b/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.pb.go new file mode 100644 index 00000000..3a11f9c4 --- /dev/null +++ b/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtEntityStartDieEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 381 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtEntityStartDieEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Immediately bool `protobuf:"varint,15,opt,name=immediately,proto3" json:"immediately,omitempty"` + DieStateFlag uint32 `protobuf:"varint,12,opt,name=die_state_flag,json=dieStateFlag,proto3" json:"die_state_flag,omitempty"` + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ForwardType ForwardType `protobuf:"varint,11,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` +} + +func (x *EvtEntityStartDieEndNotify) Reset() { + *x = EvtEntityStartDieEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtEntityStartDieEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtEntityStartDieEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtEntityStartDieEndNotify) ProtoMessage() {} + +func (x *EvtEntityStartDieEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtEntityStartDieEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtEntityStartDieEndNotify.ProtoReflect.Descriptor instead. +func (*EvtEntityStartDieEndNotify) Descriptor() ([]byte, []int) { + return file_EvtEntityStartDieEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtEntityStartDieEndNotify) GetImmediately() bool { + if x != nil { + return x.Immediately + } + return false +} + +func (x *EvtEntityStartDieEndNotify) GetDieStateFlag() uint32 { + if x != nil { + return x.DieStateFlag + } + return 0 +} + +func (x *EvtEntityStartDieEndNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtEntityStartDieEndNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +var File_EvtEntityStartDieEndNotify_proto protoreflect.FileDescriptor + +var file_EvtEntityStartDieEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x45, 0x76, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x44, 0x69, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x1a, 0x45, 0x76, 0x74, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x69, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x6c, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6d, 0x6d, 0x65, 0x64, + 0x69, 0x61, 0x74, 0x65, 0x6c, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x69, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x64, 0x69, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtEntityStartDieEndNotify_proto_rawDescOnce sync.Once + file_EvtEntityStartDieEndNotify_proto_rawDescData = file_EvtEntityStartDieEndNotify_proto_rawDesc +) + +func file_EvtEntityStartDieEndNotify_proto_rawDescGZIP() []byte { + file_EvtEntityStartDieEndNotify_proto_rawDescOnce.Do(func() { + file_EvtEntityStartDieEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtEntityStartDieEndNotify_proto_rawDescData) + }) + return file_EvtEntityStartDieEndNotify_proto_rawDescData +} + +var file_EvtEntityStartDieEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtEntityStartDieEndNotify_proto_goTypes = []interface{}{ + (*EvtEntityStartDieEndNotify)(nil), // 0: EvtEntityStartDieEndNotify + (ForwardType)(0), // 1: ForwardType +} +var file_EvtEntityStartDieEndNotify_proto_depIdxs = []int32{ + 1, // 0: EvtEntityStartDieEndNotify.forward_type:type_name -> ForwardType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtEntityStartDieEndNotify_proto_init() } +func file_EvtEntityStartDieEndNotify_proto_init() { + if File_EvtEntityStartDieEndNotify_proto != nil { + return + } + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtEntityStartDieEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtEntityStartDieEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtEntityStartDieEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtEntityStartDieEndNotify_proto_goTypes, + DependencyIndexes: file_EvtEntityStartDieEndNotify_proto_depIdxs, + MessageInfos: file_EvtEntityStartDieEndNotify_proto_msgTypes, + }.Build() + File_EvtEntityStartDieEndNotify_proto = out.File + file_EvtEntityStartDieEndNotify_proto_rawDesc = nil + file_EvtEntityStartDieEndNotify_proto_goTypes = nil + file_EvtEntityStartDieEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.proto b/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.proto new file mode 100644 index 00000000..0844f552 --- /dev/null +++ b/gate-hk4e-api/proto/EvtEntityStartDieEndNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 381 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtEntityStartDieEndNotify { + bool immediately = 15; + uint32 die_state_flag = 12; + uint32 entity_id = 8; + ForwardType forward_type = 11; +} diff --git a/gate-hk4e-api/proto/EvtFaceToDirInfo.pb.go b/gate-hk4e-api/proto/EvtFaceToDirInfo.pb.go new file mode 100644 index 00000000..63ff88e3 --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToDirInfo.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtFaceToDirInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtFaceToDirInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FaceDir *Vector `protobuf:"bytes,14,opt,name=face_dir,json=faceDir,proto3" json:"face_dir,omitempty"` +} + +func (x *EvtFaceToDirInfo) Reset() { + *x = EvtFaceToDirInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtFaceToDirInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtFaceToDirInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtFaceToDirInfo) ProtoMessage() {} + +func (x *EvtFaceToDirInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtFaceToDirInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtFaceToDirInfo.ProtoReflect.Descriptor instead. +func (*EvtFaceToDirInfo) Descriptor() ([]byte, []int) { + return file_EvtFaceToDirInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtFaceToDirInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtFaceToDirInfo) GetFaceDir() *Vector { + if x != nil { + return x.FaceDir + } + return nil +} + +var File_EvtFaceToDirInfo_proto protoreflect.FileDescriptor + +var file_EvtFaceToDirInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x10, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, + 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x08, 0x66, 0x61, 0x63, 0x65, 0x5f, + 0x64, 0x69, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x44, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtFaceToDirInfo_proto_rawDescOnce sync.Once + file_EvtFaceToDirInfo_proto_rawDescData = file_EvtFaceToDirInfo_proto_rawDesc +) + +func file_EvtFaceToDirInfo_proto_rawDescGZIP() []byte { + file_EvtFaceToDirInfo_proto_rawDescOnce.Do(func() { + file_EvtFaceToDirInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtFaceToDirInfo_proto_rawDescData) + }) + return file_EvtFaceToDirInfo_proto_rawDescData +} + +var file_EvtFaceToDirInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtFaceToDirInfo_proto_goTypes = []interface{}{ + (*EvtFaceToDirInfo)(nil), // 0: EvtFaceToDirInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtFaceToDirInfo_proto_depIdxs = []int32{ + 1, // 0: EvtFaceToDirInfo.face_dir:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtFaceToDirInfo_proto_init() } +func file_EvtFaceToDirInfo_proto_init() { + if File_EvtFaceToDirInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtFaceToDirInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtFaceToDirInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtFaceToDirInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtFaceToDirInfo_proto_goTypes, + DependencyIndexes: file_EvtFaceToDirInfo_proto_depIdxs, + MessageInfos: file_EvtFaceToDirInfo_proto_msgTypes, + }.Build() + File_EvtFaceToDirInfo_proto = out.File + file_EvtFaceToDirInfo_proto_rawDesc = nil + file_EvtFaceToDirInfo_proto_goTypes = nil + file_EvtFaceToDirInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtFaceToDirInfo.proto b/gate-hk4e-api/proto/EvtFaceToDirInfo.proto new file mode 100644 index 00000000..b33c67ff --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToDirInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtFaceToDirInfo { + uint32 entity_id = 12; + Vector face_dir = 14; +} diff --git a/gate-hk4e-api/proto/EvtFaceToDirNotify.pb.go b/gate-hk4e-api/proto/EvtFaceToDirNotify.pb.go new file mode 100644 index 00000000..d88fe984 --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToDirNotify.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtFaceToDirNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 390 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtFaceToDirNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,13,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EvtFaceToDirInfo *EvtFaceToDirInfo `protobuf:"bytes,5,opt,name=evt_face_to_dir_info,json=evtFaceToDirInfo,proto3" json:"evt_face_to_dir_info,omitempty"` +} + +func (x *EvtFaceToDirNotify) Reset() { + *x = EvtFaceToDirNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtFaceToDirNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtFaceToDirNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtFaceToDirNotify) ProtoMessage() {} + +func (x *EvtFaceToDirNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtFaceToDirNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtFaceToDirNotify.ProtoReflect.Descriptor instead. +func (*EvtFaceToDirNotify) Descriptor() ([]byte, []int) { + return file_EvtFaceToDirNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtFaceToDirNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtFaceToDirNotify) GetEvtFaceToDirInfo() *EvtFaceToDirInfo { + if x != nil { + return x.EvtFaceToDirInfo + } + return nil +} + +var File_EvtFaceToDirNotify_proto protoreflect.FileDescriptor + +var file_EvtFaceToDirNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x45, 0x76, 0x74, 0x46, + 0x61, 0x63, 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, + 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, + 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, + 0x14, 0x65, 0x76, 0x74, 0x5f, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x69, 0x72, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x45, 0x76, + 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, + 0x65, 0x76, 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x44, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtFaceToDirNotify_proto_rawDescOnce sync.Once + file_EvtFaceToDirNotify_proto_rawDescData = file_EvtFaceToDirNotify_proto_rawDesc +) + +func file_EvtFaceToDirNotify_proto_rawDescGZIP() []byte { + file_EvtFaceToDirNotify_proto_rawDescOnce.Do(func() { + file_EvtFaceToDirNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtFaceToDirNotify_proto_rawDescData) + }) + return file_EvtFaceToDirNotify_proto_rawDescData +} + +var file_EvtFaceToDirNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtFaceToDirNotify_proto_goTypes = []interface{}{ + (*EvtFaceToDirNotify)(nil), // 0: EvtFaceToDirNotify + (ForwardType)(0), // 1: ForwardType + (*EvtFaceToDirInfo)(nil), // 2: EvtFaceToDirInfo +} +var file_EvtFaceToDirNotify_proto_depIdxs = []int32{ + 1, // 0: EvtFaceToDirNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtFaceToDirNotify.evt_face_to_dir_info:type_name -> EvtFaceToDirInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtFaceToDirNotify_proto_init() } +func file_EvtFaceToDirNotify_proto_init() { + if File_EvtFaceToDirNotify_proto != nil { + return + } + file_EvtFaceToDirInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtFaceToDirNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtFaceToDirNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtFaceToDirNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtFaceToDirNotify_proto_goTypes, + DependencyIndexes: file_EvtFaceToDirNotify_proto_depIdxs, + MessageInfos: file_EvtFaceToDirNotify_proto_msgTypes, + }.Build() + File_EvtFaceToDirNotify_proto = out.File + file_EvtFaceToDirNotify_proto_rawDesc = nil + file_EvtFaceToDirNotify_proto_goTypes = nil + file_EvtFaceToDirNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtFaceToDirNotify.proto b/gate-hk4e-api/proto/EvtFaceToDirNotify.proto new file mode 100644 index 00000000..9b2c72fb --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToDirNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtFaceToDirInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 390 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtFaceToDirNotify { + ForwardType forward_type = 13; + EvtFaceToDirInfo evt_face_to_dir_info = 5; +} diff --git a/gate-hk4e-api/proto/EvtFaceToEntityNotify.pb.go b/gate-hk4e-api/proto/EvtFaceToEntityNotify.pb.go new file mode 100644 index 00000000..b5bca4d1 --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToEntityNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtFaceToEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 303 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtFaceToEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FaceEntityId uint32 `protobuf:"varint,5,opt,name=face_entity_id,json=faceEntityId,proto3" json:"face_entity_id,omitempty"` + ForwardType ForwardType `protobuf:"varint,9,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtFaceToEntityNotify) Reset() { + *x = EvtFaceToEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtFaceToEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtFaceToEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtFaceToEntityNotify) ProtoMessage() {} + +func (x *EvtFaceToEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtFaceToEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtFaceToEntityNotify.ProtoReflect.Descriptor instead. +func (*EvtFaceToEntityNotify) Descriptor() ([]byte, []int) { + return file_EvtFaceToEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtFaceToEntityNotify) GetFaceEntityId() uint32 { + if x != nil { + return x.FaceEntityId + } + return 0 +} + +func (x *EvtFaceToEntityNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtFaceToEntityNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtFaceToEntityNotify_proto protoreflect.FileDescriptor + +var file_EvtFaceToEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8b, 0x01, 0x0a, 0x15, 0x45, 0x76, 0x74, 0x46, 0x61, 0x63, 0x65, 0x54, 0x6f, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x61, + 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_EvtFaceToEntityNotify_proto_rawDescOnce sync.Once + file_EvtFaceToEntityNotify_proto_rawDescData = file_EvtFaceToEntityNotify_proto_rawDesc +) + +func file_EvtFaceToEntityNotify_proto_rawDescGZIP() []byte { + file_EvtFaceToEntityNotify_proto_rawDescOnce.Do(func() { + file_EvtFaceToEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtFaceToEntityNotify_proto_rawDescData) + }) + return file_EvtFaceToEntityNotify_proto_rawDescData +} + +var file_EvtFaceToEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtFaceToEntityNotify_proto_goTypes = []interface{}{ + (*EvtFaceToEntityNotify)(nil), // 0: EvtFaceToEntityNotify + (ForwardType)(0), // 1: ForwardType +} +var file_EvtFaceToEntityNotify_proto_depIdxs = []int32{ + 1, // 0: EvtFaceToEntityNotify.forward_type:type_name -> ForwardType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtFaceToEntityNotify_proto_init() } +func file_EvtFaceToEntityNotify_proto_init() { + if File_EvtFaceToEntityNotify_proto != nil { + return + } + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtFaceToEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtFaceToEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtFaceToEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtFaceToEntityNotify_proto_goTypes, + DependencyIndexes: file_EvtFaceToEntityNotify_proto_depIdxs, + MessageInfos: file_EvtFaceToEntityNotify_proto_msgTypes, + }.Build() + File_EvtFaceToEntityNotify_proto = out.File + file_EvtFaceToEntityNotify_proto_rawDesc = nil + file_EvtFaceToEntityNotify_proto_goTypes = nil + file_EvtFaceToEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtFaceToEntityNotify.proto b/gate-hk4e-api/proto/EvtFaceToEntityNotify.proto new file mode 100644 index 00000000..5683411e --- /dev/null +++ b/gate-hk4e-api/proto/EvtFaceToEntityNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 303 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtFaceToEntityNotify { + uint32 face_entity_id = 5; + ForwardType forward_type = 9; + uint32 entity_id = 1; +} diff --git a/gate-hk4e-api/proto/EvtFixedRushMove.pb.go b/gate-hk4e-api/proto/EvtFixedRushMove.pb.go new file mode 100644 index 00000000..a52a551e --- /dev/null +++ b/gate-hk4e-api/proto/EvtFixedRushMove.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtFixedRushMove.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtFixedRushMove struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Speed float32 `protobuf:"fixed32,3,opt,name=speed,proto3" json:"speed,omitempty"` + NeedSetIsInAir bool `protobuf:"varint,7,opt,name=need_set_is_in_air,json=needSetIsInAir,proto3" json:"need_set_is_in_air,omitempty"` + AnimatorStateIdList []uint32 `protobuf:"varint,2,rep,packed,name=animator_state_id_list,json=animatorStateIdList,proto3" json:"animator_state_id_list,omitempty"` + TargetPos *Vector `protobuf:"bytes,9,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` + CheckAnimatorStateOnExitOnly bool `protobuf:"varint,6,opt,name=check_animator_state_on_exit_only,json=checkAnimatorStateOnExitOnly,proto3" json:"check_animator_state_on_exit_only,omitempty"` + OverrideCollider string `protobuf:"bytes,13,opt,name=override_collider,json=overrideCollider,proto3" json:"override_collider,omitempty"` +} + +func (x *EvtFixedRushMove) Reset() { + *x = EvtFixedRushMove{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtFixedRushMove_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtFixedRushMove) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtFixedRushMove) ProtoMessage() {} + +func (x *EvtFixedRushMove) ProtoReflect() protoreflect.Message { + mi := &file_EvtFixedRushMove_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtFixedRushMove.ProtoReflect.Descriptor instead. +func (*EvtFixedRushMove) Descriptor() ([]byte, []int) { + return file_EvtFixedRushMove_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtFixedRushMove) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtFixedRushMove) GetSpeed() float32 { + if x != nil { + return x.Speed + } + return 0 +} + +func (x *EvtFixedRushMove) GetNeedSetIsInAir() bool { + if x != nil { + return x.NeedSetIsInAir + } + return false +} + +func (x *EvtFixedRushMove) GetAnimatorStateIdList() []uint32 { + if x != nil { + return x.AnimatorStateIdList + } + return nil +} + +func (x *EvtFixedRushMove) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +func (x *EvtFixedRushMove) GetCheckAnimatorStateOnExitOnly() bool { + if x != nil { + return x.CheckAnimatorStateOnExitOnly + } + return false +} + +func (x *EvtFixedRushMove) GetOverrideCollider() string { + if x != nil { + return x.OverrideCollider + } + return "" +} + +var File_EvtFixedRushMove_proto protoreflect.FileDescriptor + +var file_EvtFixedRushMove_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x76, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x75, 0x73, 0x68, 0x4d, 0x6f, + 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x02, 0x0a, 0x10, 0x45, 0x76, 0x74, 0x46, 0x69, + 0x78, 0x65, 0x64, 0x52, 0x75, 0x73, 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2a, + 0x0a, 0x12, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x5f, 0x69, 0x6e, + 0x5f, 0x61, 0x69, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, + 0x53, 0x65, 0x74, 0x49, 0x73, 0x49, 0x6e, 0x41, 0x69, 0x72, 0x12, 0x33, 0x0a, 0x16, 0x61, 0x6e, + 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x61, 0x6e, 0x69, 0x6d, + 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x26, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x47, 0x0a, 0x21, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, + 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x1c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x45, 0x78, 0x69, 0x74, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6c, + 0x6c, 0x69, 0x64, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x76, 0x65, + 0x72, 0x72, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_EvtFixedRushMove_proto_rawDescOnce sync.Once + file_EvtFixedRushMove_proto_rawDescData = file_EvtFixedRushMove_proto_rawDesc +) + +func file_EvtFixedRushMove_proto_rawDescGZIP() []byte { + file_EvtFixedRushMove_proto_rawDescOnce.Do(func() { + file_EvtFixedRushMove_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtFixedRushMove_proto_rawDescData) + }) + return file_EvtFixedRushMove_proto_rawDescData +} + +var file_EvtFixedRushMove_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtFixedRushMove_proto_goTypes = []interface{}{ + (*EvtFixedRushMove)(nil), // 0: EvtFixedRushMove + (*Vector)(nil), // 1: Vector +} +var file_EvtFixedRushMove_proto_depIdxs = []int32{ + 1, // 0: EvtFixedRushMove.target_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtFixedRushMove_proto_init() } +func file_EvtFixedRushMove_proto_init() { + if File_EvtFixedRushMove_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtFixedRushMove_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtFixedRushMove); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtFixedRushMove_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtFixedRushMove_proto_goTypes, + DependencyIndexes: file_EvtFixedRushMove_proto_depIdxs, + MessageInfos: file_EvtFixedRushMove_proto_msgTypes, + }.Build() + File_EvtFixedRushMove_proto = out.File + file_EvtFixedRushMove_proto_rawDesc = nil + file_EvtFixedRushMove_proto_goTypes = nil + file_EvtFixedRushMove_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtFixedRushMove.proto b/gate-hk4e-api/proto/EvtFixedRushMove.proto new file mode 100644 index 00000000..c976236b --- /dev/null +++ b/gate-hk4e-api/proto/EvtFixedRushMove.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtFixedRushMove { + uint32 entity_id = 15; + float speed = 3; + bool need_set_is_in_air = 7; + repeated uint32 animator_state_id_list = 2; + Vector target_pos = 9; + bool check_animator_state_on_exit_only = 6; + string override_collider = 13; +} diff --git a/gate-hk4e-api/proto/EvtHittingOtherInfo.pb.go b/gate-hk4e-api/proto/EvtHittingOtherInfo.pb.go new file mode 100644 index 00000000..b86804d8 --- /dev/null +++ b/gate-hk4e-api/proto/EvtHittingOtherInfo.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtHittingOtherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtHittingOtherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttackResult *AttackResult `protobuf:"bytes,2,opt,name=attack_result,json=attackResult,proto3" json:"attack_result,omitempty"` + PeerId uint32 `protobuf:"varint,8,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` +} + +func (x *EvtHittingOtherInfo) Reset() { + *x = EvtHittingOtherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtHittingOtherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtHittingOtherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtHittingOtherInfo) ProtoMessage() {} + +func (x *EvtHittingOtherInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtHittingOtherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtHittingOtherInfo.ProtoReflect.Descriptor instead. +func (*EvtHittingOtherInfo) Descriptor() ([]byte, []int) { + return file_EvtHittingOtherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtHittingOtherInfo) GetAttackResult() *AttackResult { + if x != nil { + return x.AttackResult + } + return nil +} + +func (x *EvtHittingOtherInfo) GetPeerId() uint32 { + if x != nil { + return x.PeerId + } + return 0 +} + +var File_EvtHittingOtherInfo_proto protoreflect.FileDescriptor + +var file_EvtHittingOtherInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x76, 0x74, 0x48, 0x69, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x74, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x62, 0x0a, 0x13, 0x45, 0x76, 0x74, 0x48, 0x69, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x74, 0x68, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x61, 0x74, + 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x65, 0x65, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtHittingOtherInfo_proto_rawDescOnce sync.Once + file_EvtHittingOtherInfo_proto_rawDescData = file_EvtHittingOtherInfo_proto_rawDesc +) + +func file_EvtHittingOtherInfo_proto_rawDescGZIP() []byte { + file_EvtHittingOtherInfo_proto_rawDescOnce.Do(func() { + file_EvtHittingOtherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtHittingOtherInfo_proto_rawDescData) + }) + return file_EvtHittingOtherInfo_proto_rawDescData +} + +var file_EvtHittingOtherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtHittingOtherInfo_proto_goTypes = []interface{}{ + (*EvtHittingOtherInfo)(nil), // 0: EvtHittingOtherInfo + (*AttackResult)(nil), // 1: AttackResult +} +var file_EvtHittingOtherInfo_proto_depIdxs = []int32{ + 1, // 0: EvtHittingOtherInfo.attack_result:type_name -> AttackResult + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtHittingOtherInfo_proto_init() } +func file_EvtHittingOtherInfo_proto_init() { + if File_EvtHittingOtherInfo_proto != nil { + return + } + file_AttackResult_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtHittingOtherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtHittingOtherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtHittingOtherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtHittingOtherInfo_proto_goTypes, + DependencyIndexes: file_EvtHittingOtherInfo_proto_depIdxs, + MessageInfos: file_EvtHittingOtherInfo_proto_msgTypes, + }.Build() + File_EvtHittingOtherInfo_proto = out.File + file_EvtHittingOtherInfo_proto_rawDesc = nil + file_EvtHittingOtherInfo_proto_goTypes = nil + file_EvtHittingOtherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtHittingOtherInfo.proto b/gate-hk4e-api/proto/EvtHittingOtherInfo.proto new file mode 100644 index 00000000..c7a2eef2 --- /dev/null +++ b/gate-hk4e-api/proto/EvtHittingOtherInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AttackResult.proto"; + +option go_package = "./;proto"; + +message EvtHittingOtherInfo { + AttackResult attack_result = 2; + uint32 peer_id = 8; +} diff --git a/gate-hk4e-api/proto/EvtLightCoreMove.pb.go b/gate-hk4e-api/proto/EvtLightCoreMove.pb.go new file mode 100644 index 00000000..973bed31 --- /dev/null +++ b/gate-hk4e-api/proto/EvtLightCoreMove.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtLightCoreMove.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtLightCoreMove struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetPos *Vector `protobuf:"bytes,15,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` + Acelerate float32 `protobuf:"fixed32,11,opt,name=acelerate,proto3" json:"acelerate,omitempty"` + EntityId uint32 `protobuf:"varint,5,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MaxAbsorbTime float32 `protobuf:"fixed32,10,opt,name=max_absorb_time,json=maxAbsorbTime,proto3" json:"max_absorb_time,omitempty"` + Speed float32 `protobuf:"fixed32,14,opt,name=speed,proto3" json:"speed,omitempty"` +} + +func (x *EvtLightCoreMove) Reset() { + *x = EvtLightCoreMove{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtLightCoreMove_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtLightCoreMove) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtLightCoreMove) ProtoMessage() {} + +func (x *EvtLightCoreMove) ProtoReflect() protoreflect.Message { + mi := &file_EvtLightCoreMove_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtLightCoreMove.ProtoReflect.Descriptor instead. +func (*EvtLightCoreMove) Descriptor() ([]byte, []int) { + return file_EvtLightCoreMove_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtLightCoreMove) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +func (x *EvtLightCoreMove) GetAcelerate() float32 { + if x != nil { + return x.Acelerate + } + return 0 +} + +func (x *EvtLightCoreMove) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtLightCoreMove) GetMaxAbsorbTime() float32 { + if x != nil { + return x.MaxAbsorbTime + } + return 0 +} + +func (x *EvtLightCoreMove) GetSpeed() float32 { + if x != nil { + return x.Speed + } + return 0 +} + +var File_EvtLightCoreMove_proto protoreflect.FileDescriptor + +var file_EvtLightCoreMove_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x76, 0x74, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x72, 0x65, 0x4d, 0x6f, + 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x10, 0x45, 0x76, 0x74, 0x4c, 0x69, + 0x67, 0x68, 0x74, 0x43, 0x6f, 0x72, 0x65, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x26, 0x0a, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x50, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x61, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, + 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x62, 0x73, 0x6f, 0x72, 0x62, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x41, 0x62, 0x73, 0x6f, + 0x72, 0x62, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtLightCoreMove_proto_rawDescOnce sync.Once + file_EvtLightCoreMove_proto_rawDescData = file_EvtLightCoreMove_proto_rawDesc +) + +func file_EvtLightCoreMove_proto_rawDescGZIP() []byte { + file_EvtLightCoreMove_proto_rawDescOnce.Do(func() { + file_EvtLightCoreMove_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtLightCoreMove_proto_rawDescData) + }) + return file_EvtLightCoreMove_proto_rawDescData +} + +var file_EvtLightCoreMove_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtLightCoreMove_proto_goTypes = []interface{}{ + (*EvtLightCoreMove)(nil), // 0: EvtLightCoreMove + (*Vector)(nil), // 1: Vector +} +var file_EvtLightCoreMove_proto_depIdxs = []int32{ + 1, // 0: EvtLightCoreMove.target_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtLightCoreMove_proto_init() } +func file_EvtLightCoreMove_proto_init() { + if File_EvtLightCoreMove_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtLightCoreMove_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtLightCoreMove); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtLightCoreMove_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtLightCoreMove_proto_goTypes, + DependencyIndexes: file_EvtLightCoreMove_proto_depIdxs, + MessageInfos: file_EvtLightCoreMove_proto_msgTypes, + }.Build() + File_EvtLightCoreMove_proto = out.File + file_EvtLightCoreMove_proto_rawDesc = nil + file_EvtLightCoreMove_proto_goTypes = nil + file_EvtLightCoreMove_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtLightCoreMove.proto b/gate-hk4e-api/proto/EvtLightCoreMove.proto new file mode 100644 index 00000000..486b88e6 --- /dev/null +++ b/gate-hk4e-api/proto/EvtLightCoreMove.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtLightCoreMove { + Vector target_pos = 15; + float acelerate = 11; + uint32 entity_id = 5; + float max_absorb_time = 10; + float speed = 14; +} diff --git a/gate-hk4e-api/proto/EvtMonsterDoBlink.pb.go b/gate-hk4e-api/proto/EvtMonsterDoBlink.pb.go new file mode 100644 index 00000000..af1e922c --- /dev/null +++ b/gate-hk4e-api/proto/EvtMonsterDoBlink.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtMonsterDoBlink.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtMonsterDoBlink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetRot *Vector `protobuf:"bytes,3,opt,name=target_rot,json=targetRot,proto3" json:"target_rot,omitempty"` + TargetPos *Vector `protobuf:"bytes,7,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtMonsterDoBlink) Reset() { + *x = EvtMonsterDoBlink{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtMonsterDoBlink_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtMonsterDoBlink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtMonsterDoBlink) ProtoMessage() {} + +func (x *EvtMonsterDoBlink) ProtoReflect() protoreflect.Message { + mi := &file_EvtMonsterDoBlink_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtMonsterDoBlink.ProtoReflect.Descriptor instead. +func (*EvtMonsterDoBlink) Descriptor() ([]byte, []int) { + return file_EvtMonsterDoBlink_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtMonsterDoBlink) GetTargetRot() *Vector { + if x != nil { + return x.TargetRot + } + return nil +} + +func (x *EvtMonsterDoBlink) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +func (x *EvtMonsterDoBlink) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtMonsterDoBlink_proto protoreflect.FileDescriptor + +var file_EvtMonsterDoBlink_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x76, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x44, 0x6f, 0x42, 0x6c, + 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x11, 0x45, 0x76, 0x74, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x44, 0x6f, 0x42, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x26, 0x0a, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x6f, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtMonsterDoBlink_proto_rawDescOnce sync.Once + file_EvtMonsterDoBlink_proto_rawDescData = file_EvtMonsterDoBlink_proto_rawDesc +) + +func file_EvtMonsterDoBlink_proto_rawDescGZIP() []byte { + file_EvtMonsterDoBlink_proto_rawDescOnce.Do(func() { + file_EvtMonsterDoBlink_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtMonsterDoBlink_proto_rawDescData) + }) + return file_EvtMonsterDoBlink_proto_rawDescData +} + +var file_EvtMonsterDoBlink_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtMonsterDoBlink_proto_goTypes = []interface{}{ + (*EvtMonsterDoBlink)(nil), // 0: EvtMonsterDoBlink + (*Vector)(nil), // 1: Vector +} +var file_EvtMonsterDoBlink_proto_depIdxs = []int32{ + 1, // 0: EvtMonsterDoBlink.target_rot:type_name -> Vector + 1, // 1: EvtMonsterDoBlink.target_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtMonsterDoBlink_proto_init() } +func file_EvtMonsterDoBlink_proto_init() { + if File_EvtMonsterDoBlink_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtMonsterDoBlink_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtMonsterDoBlink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtMonsterDoBlink_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtMonsterDoBlink_proto_goTypes, + DependencyIndexes: file_EvtMonsterDoBlink_proto_depIdxs, + MessageInfos: file_EvtMonsterDoBlink_proto_msgTypes, + }.Build() + File_EvtMonsterDoBlink_proto = out.File + file_EvtMonsterDoBlink_proto_rawDesc = nil + file_EvtMonsterDoBlink_proto_goTypes = nil + file_EvtMonsterDoBlink_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtMonsterDoBlink.proto b/gate-hk4e-api/proto/EvtMonsterDoBlink.proto new file mode 100644 index 00000000..0f0a94b1 --- /dev/null +++ b/gate-hk4e-api/proto/EvtMonsterDoBlink.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtMonsterDoBlink { + Vector target_rot = 3; + Vector target_pos = 7; + uint32 entity_id = 2; +} diff --git a/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.pb.go b/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.pb.go new file mode 100644 index 00000000..7b036c8b --- /dev/null +++ b/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtMotionInfoDuringSteerAttack.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtMotionInfoDuringSteerAttack struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FaceDir *Vector `protobuf:"bytes,4,opt,name=face_dir,json=faceDir,proto3" json:"face_dir,omitempty"` + Velocity *Vector `protobuf:"bytes,3,opt,name=velocity,proto3" json:"velocity,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *EvtMotionInfoDuringSteerAttack) Reset() { + *x = EvtMotionInfoDuringSteerAttack{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtMotionInfoDuringSteerAttack_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtMotionInfoDuringSteerAttack) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtMotionInfoDuringSteerAttack) ProtoMessage() {} + +func (x *EvtMotionInfoDuringSteerAttack) ProtoReflect() protoreflect.Message { + mi := &file_EvtMotionInfoDuringSteerAttack_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtMotionInfoDuringSteerAttack.ProtoReflect.Descriptor instead. +func (*EvtMotionInfoDuringSteerAttack) Descriptor() ([]byte, []int) { + return file_EvtMotionInfoDuringSteerAttack_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtMotionInfoDuringSteerAttack) GetFaceDir() *Vector { + if x != nil { + return x.FaceDir + } + return nil +} + +func (x *EvtMotionInfoDuringSteerAttack) GetVelocity() *Vector { + if x != nil { + return x.Velocity + } + return nil +} + +func (x *EvtMotionInfoDuringSteerAttack) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *EvtMotionInfoDuringSteerAttack) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_EvtMotionInfoDuringSteerAttack_proto protoreflect.FileDescriptor + +var file_EvtMotionInfoDuringSteerAttack_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x45, 0x76, 0x74, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x44, + 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x65, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x65, 0x65, + 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x08, 0x66, 0x61, 0x63, 0x65, 0x5f, + 0x64, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x44, 0x69, 0x72, 0x12, 0x23, 0x0a, 0x08, 0x76, + 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, + 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtMotionInfoDuringSteerAttack_proto_rawDescOnce sync.Once + file_EvtMotionInfoDuringSteerAttack_proto_rawDescData = file_EvtMotionInfoDuringSteerAttack_proto_rawDesc +) + +func file_EvtMotionInfoDuringSteerAttack_proto_rawDescGZIP() []byte { + file_EvtMotionInfoDuringSteerAttack_proto_rawDescOnce.Do(func() { + file_EvtMotionInfoDuringSteerAttack_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtMotionInfoDuringSteerAttack_proto_rawDescData) + }) + return file_EvtMotionInfoDuringSteerAttack_proto_rawDescData +} + +var file_EvtMotionInfoDuringSteerAttack_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtMotionInfoDuringSteerAttack_proto_goTypes = []interface{}{ + (*EvtMotionInfoDuringSteerAttack)(nil), // 0: EvtMotionInfoDuringSteerAttack + (*Vector)(nil), // 1: Vector +} +var file_EvtMotionInfoDuringSteerAttack_proto_depIdxs = []int32{ + 1, // 0: EvtMotionInfoDuringSteerAttack.face_dir:type_name -> Vector + 1, // 1: EvtMotionInfoDuringSteerAttack.velocity:type_name -> Vector + 1, // 2: EvtMotionInfoDuringSteerAttack.pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_EvtMotionInfoDuringSteerAttack_proto_init() } +func file_EvtMotionInfoDuringSteerAttack_proto_init() { + if File_EvtMotionInfoDuringSteerAttack_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtMotionInfoDuringSteerAttack_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtMotionInfoDuringSteerAttack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtMotionInfoDuringSteerAttack_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtMotionInfoDuringSteerAttack_proto_goTypes, + DependencyIndexes: file_EvtMotionInfoDuringSteerAttack_proto_depIdxs, + MessageInfos: file_EvtMotionInfoDuringSteerAttack_proto_msgTypes, + }.Build() + File_EvtMotionInfoDuringSteerAttack_proto = out.File + file_EvtMotionInfoDuringSteerAttack_proto_rawDesc = nil + file_EvtMotionInfoDuringSteerAttack_proto_goTypes = nil + file_EvtMotionInfoDuringSteerAttack_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.proto b/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.proto new file mode 100644 index 00000000..22b86074 --- /dev/null +++ b/gate-hk4e-api/proto/EvtMotionInfoDuringSteerAttack.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtMotionInfoDuringSteerAttack { + Vector face_dir = 4; + Vector velocity = 3; + Vector pos = 1; + uint32 entity_id = 6; +} diff --git a/gate-hk4e-api/proto/EvtRushMoveInfo.pb.go b/gate-hk4e-api/proto/EvtRushMoveInfo.pb.go new file mode 100644 index 00000000..2318cc50 --- /dev/null +++ b/gate-hk4e-api/proto/EvtRushMoveInfo.pb.go @@ -0,0 +1,239 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtRushMoveInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtRushMoveInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateNameHash int32 `protobuf:"varint,11,opt,name=state_name_hash,json=stateNameHash,proto3" json:"state_name_hash,omitempty"` + RushToPos *Vector `protobuf:"bytes,9,opt,name=rush_to_pos,json=rushToPos,proto3" json:"rush_to_pos,omitempty"` + RushAttackTargetPos *Vector `protobuf:"bytes,8,opt,name=rush_attack_target_pos,json=rushAttackTargetPos,proto3" json:"rush_attack_target_pos,omitempty"` + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + TimeRange float32 `protobuf:"fixed32,15,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` + Velocity *Vector `protobuf:"bytes,6,opt,name=velocity,proto3" json:"velocity,omitempty"` + Pos *Vector `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` + FaceAngleCompact int32 `protobuf:"varint,10,opt,name=face_angle_compact,json=faceAngleCompact,proto3" json:"face_angle_compact,omitempty"` +} + +func (x *EvtRushMoveInfo) Reset() { + *x = EvtRushMoveInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtRushMoveInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtRushMoveInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtRushMoveInfo) ProtoMessage() {} + +func (x *EvtRushMoveInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtRushMoveInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtRushMoveInfo.ProtoReflect.Descriptor instead. +func (*EvtRushMoveInfo) Descriptor() ([]byte, []int) { + return file_EvtRushMoveInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtRushMoveInfo) GetStateNameHash() int32 { + if x != nil { + return x.StateNameHash + } + return 0 +} + +func (x *EvtRushMoveInfo) GetRushToPos() *Vector { + if x != nil { + return x.RushToPos + } + return nil +} + +func (x *EvtRushMoveInfo) GetRushAttackTargetPos() *Vector { + if x != nil { + return x.RushAttackTargetPos + } + return nil +} + +func (x *EvtRushMoveInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtRushMoveInfo) GetTimeRange() float32 { + if x != nil { + return x.TimeRange + } + return 0 +} + +func (x *EvtRushMoveInfo) GetVelocity() *Vector { + if x != nil { + return x.Velocity + } + return nil +} + +func (x *EvtRushMoveInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *EvtRushMoveInfo) GetFaceAngleCompact() int32 { + if x != nil { + return x.FaceAngleCompact + } + return 0 +} + +var File_EvtRushMoveInfo_proto protoreflect.FileDescriptor + +var file_EvtRushMoveInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x76, 0x74, 0x52, 0x75, 0x73, 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x02, 0x0a, 0x0f, 0x45, 0x76, 0x74, 0x52, 0x75, 0x73, + 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x27, 0x0a, 0x0b, 0x72, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x09, 0x72, 0x75, 0x73, 0x68, 0x54, 0x6f, 0x50, 0x6f, 0x73, 0x12, 0x3c, 0x0a, 0x16, 0x72, 0x75, + 0x73, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x13, 0x72, 0x75, 0x73, 0x68, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x03, 0x70, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, + 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x10, 0x66, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, + 0x63, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtRushMoveInfo_proto_rawDescOnce sync.Once + file_EvtRushMoveInfo_proto_rawDescData = file_EvtRushMoveInfo_proto_rawDesc +) + +func file_EvtRushMoveInfo_proto_rawDescGZIP() []byte { + file_EvtRushMoveInfo_proto_rawDescOnce.Do(func() { + file_EvtRushMoveInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtRushMoveInfo_proto_rawDescData) + }) + return file_EvtRushMoveInfo_proto_rawDescData +} + +var file_EvtRushMoveInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtRushMoveInfo_proto_goTypes = []interface{}{ + (*EvtRushMoveInfo)(nil), // 0: EvtRushMoveInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtRushMoveInfo_proto_depIdxs = []int32{ + 1, // 0: EvtRushMoveInfo.rush_to_pos:type_name -> Vector + 1, // 1: EvtRushMoveInfo.rush_attack_target_pos:type_name -> Vector + 1, // 2: EvtRushMoveInfo.velocity:type_name -> Vector + 1, // 3: EvtRushMoveInfo.pos:type_name -> Vector + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_EvtRushMoveInfo_proto_init() } +func file_EvtRushMoveInfo_proto_init() { + if File_EvtRushMoveInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtRushMoveInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtRushMoveInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtRushMoveInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtRushMoveInfo_proto_goTypes, + DependencyIndexes: file_EvtRushMoveInfo_proto_depIdxs, + MessageInfos: file_EvtRushMoveInfo_proto_msgTypes, + }.Build() + File_EvtRushMoveInfo_proto = out.File + file_EvtRushMoveInfo_proto_rawDesc = nil + file_EvtRushMoveInfo_proto_goTypes = nil + file_EvtRushMoveInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtRushMoveInfo.proto b/gate-hk4e-api/proto/EvtRushMoveInfo.proto new file mode 100644 index 00000000..86d2c2d0 --- /dev/null +++ b/gate-hk4e-api/proto/EvtRushMoveInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtRushMoveInfo { + int32 state_name_hash = 11; + Vector rush_to_pos = 9; + Vector rush_attack_target_pos = 8; + uint32 entity_id = 4; + float time_range = 15; + Vector velocity = 6; + Vector pos = 2; + int32 face_angle_compact = 10; +} diff --git a/gate-hk4e-api/proto/EvtRushMoveNotify.pb.go b/gate-hk4e-api/proto/EvtRushMoveNotify.pb.go new file mode 100644 index 00000000..f89e1c3f --- /dev/null +++ b/gate-hk4e-api/proto/EvtRushMoveNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtRushMoveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 375 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtRushMoveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,1,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EvtRushMoveInfo *EvtRushMoveInfo `protobuf:"bytes,15,opt,name=evt_rush_move_info,json=evtRushMoveInfo,proto3" json:"evt_rush_move_info,omitempty"` +} + +func (x *EvtRushMoveNotify) Reset() { + *x = EvtRushMoveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtRushMoveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtRushMoveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtRushMoveNotify) ProtoMessage() {} + +func (x *EvtRushMoveNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtRushMoveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtRushMoveNotify.ProtoReflect.Descriptor instead. +func (*EvtRushMoveNotify) Descriptor() ([]byte, []int) { + return file_EvtRushMoveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtRushMoveNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtRushMoveNotify) GetEvtRushMoveInfo() *EvtRushMoveInfo { + if x != nil { + return x.EvtRushMoveInfo + } + return nil +} + +var File_EvtRushMoveNotify_proto protoreflect.FileDescriptor + +var file_EvtRushMoveNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x76, 0x74, 0x52, 0x75, 0x73, 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x45, 0x76, 0x74, 0x52, 0x75, + 0x73, 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x11, 0x45, 0x76, 0x74, 0x52, 0x75, 0x73, 0x68, 0x4d, + 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x66, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x12, 0x65, 0x76, + 0x74, 0x5f, 0x72, 0x75, 0x73, 0x68, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x45, 0x76, 0x74, 0x52, 0x75, 0x73, 0x68, + 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x65, 0x76, 0x74, 0x52, 0x75, 0x73, + 0x68, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtRushMoveNotify_proto_rawDescOnce sync.Once + file_EvtRushMoveNotify_proto_rawDescData = file_EvtRushMoveNotify_proto_rawDesc +) + +func file_EvtRushMoveNotify_proto_rawDescGZIP() []byte { + file_EvtRushMoveNotify_proto_rawDescOnce.Do(func() { + file_EvtRushMoveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtRushMoveNotify_proto_rawDescData) + }) + return file_EvtRushMoveNotify_proto_rawDescData +} + +var file_EvtRushMoveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtRushMoveNotify_proto_goTypes = []interface{}{ + (*EvtRushMoveNotify)(nil), // 0: EvtRushMoveNotify + (ForwardType)(0), // 1: ForwardType + (*EvtRushMoveInfo)(nil), // 2: EvtRushMoveInfo +} +var file_EvtRushMoveNotify_proto_depIdxs = []int32{ + 1, // 0: EvtRushMoveNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtRushMoveNotify.evt_rush_move_info:type_name -> EvtRushMoveInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtRushMoveNotify_proto_init() } +func file_EvtRushMoveNotify_proto_init() { + if File_EvtRushMoveNotify_proto != nil { + return + } + file_EvtRushMoveInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtRushMoveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtRushMoveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtRushMoveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtRushMoveNotify_proto_goTypes, + DependencyIndexes: file_EvtRushMoveNotify_proto_depIdxs, + MessageInfos: file_EvtRushMoveNotify_proto_msgTypes, + }.Build() + File_EvtRushMoveNotify_proto = out.File + file_EvtRushMoveNotify_proto_rawDesc = nil + file_EvtRushMoveNotify_proto_goTypes = nil + file_EvtRushMoveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtRushMoveNotify.proto b/gate-hk4e-api/proto/EvtRushMoveNotify.proto new file mode 100644 index 00000000..1049a6bd --- /dev/null +++ b/gate-hk4e-api/proto/EvtRushMoveNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtRushMoveInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 375 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtRushMoveNotify { + ForwardType forward_type = 1; + EvtRushMoveInfo evt_rush_move_info = 15; +} diff --git a/gate-hk4e-api/proto/EvtSetAttackTargetInfo.pb.go b/gate-hk4e-api/proto/EvtSetAttackTargetInfo.pb.go new file mode 100644 index 00000000..244abaa8 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSetAttackTargetInfo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtSetAttackTargetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtSetAttackTargetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_MPONBCMPCIH uint32 `protobuf:"varint,6,opt,name=Unk2700_MPONBCMPCIH,json=Unk2700MPONBCMPCIH,proto3" json:"Unk2700_MPONBCMPCIH,omitempty"` + AttackTargetId uint32 `protobuf:"varint,7,opt,name=attack_target_id,json=attackTargetId,proto3" json:"attack_target_id,omitempty"` +} + +func (x *EvtSetAttackTargetInfo) Reset() { + *x = EvtSetAttackTargetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtSetAttackTargetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtSetAttackTargetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtSetAttackTargetInfo) ProtoMessage() {} + +func (x *EvtSetAttackTargetInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtSetAttackTargetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtSetAttackTargetInfo.ProtoReflect.Descriptor instead. +func (*EvtSetAttackTargetInfo) Descriptor() ([]byte, []int) { + return file_EvtSetAttackTargetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtSetAttackTargetInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtSetAttackTargetInfo) GetUnk2700_MPONBCMPCIH() uint32 { + if x != nil { + return x.Unk2700_MPONBCMPCIH + } + return 0 +} + +func (x *EvtSetAttackTargetInfo) GetAttackTargetId() uint32 { + if x != nil { + return x.AttackTargetId + } + return 0 +} + +var File_EvtSetAttackTargetInfo_proto protoreflect.FileDescriptor + +var file_EvtSetAttackTargetInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, + 0x01, 0x0a, 0x16, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x50, 0x4f, 0x4e, 0x42, 0x43, 0x4d, 0x50, 0x43, 0x49, 0x48, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x50, 0x4f, 0x4e, + 0x42, 0x43, 0x4d, 0x50, 0x43, 0x49, 0x48, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtSetAttackTargetInfo_proto_rawDescOnce sync.Once + file_EvtSetAttackTargetInfo_proto_rawDescData = file_EvtSetAttackTargetInfo_proto_rawDesc +) + +func file_EvtSetAttackTargetInfo_proto_rawDescGZIP() []byte { + file_EvtSetAttackTargetInfo_proto_rawDescOnce.Do(func() { + file_EvtSetAttackTargetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtSetAttackTargetInfo_proto_rawDescData) + }) + return file_EvtSetAttackTargetInfo_proto_rawDescData +} + +var file_EvtSetAttackTargetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtSetAttackTargetInfo_proto_goTypes = []interface{}{ + (*EvtSetAttackTargetInfo)(nil), // 0: EvtSetAttackTargetInfo +} +var file_EvtSetAttackTargetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_EvtSetAttackTargetInfo_proto_init() } +func file_EvtSetAttackTargetInfo_proto_init() { + if File_EvtSetAttackTargetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_EvtSetAttackTargetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtSetAttackTargetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtSetAttackTargetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtSetAttackTargetInfo_proto_goTypes, + DependencyIndexes: file_EvtSetAttackTargetInfo_proto_depIdxs, + MessageInfos: file_EvtSetAttackTargetInfo_proto_msgTypes, + }.Build() + File_EvtSetAttackTargetInfo_proto = out.File + file_EvtSetAttackTargetInfo_proto_rawDesc = nil + file_EvtSetAttackTargetInfo_proto_goTypes = nil + file_EvtSetAttackTargetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtSetAttackTargetInfo.proto b/gate-hk4e-api/proto/EvtSetAttackTargetInfo.proto new file mode 100644 index 00000000..89cde1f7 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSetAttackTargetInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message EvtSetAttackTargetInfo { + uint32 entity_id = 11; + uint32 Unk2700_MPONBCMPCIH = 6; + uint32 attack_target_id = 7; +} diff --git a/gate-hk4e-api/proto/EvtSetAttackTargetNotify.pb.go b/gate-hk4e-api/proto/EvtSetAttackTargetNotify.pb.go new file mode 100644 index 00000000..f2ac6cf5 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSetAttackTargetNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtSetAttackTargetNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 399 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type EvtSetAttackTargetNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForwardType ForwardType `protobuf:"varint,1,opt,name=forward_type,json=forwardType,proto3,enum=ForwardType" json:"forward_type,omitempty"` + EvtSetAttackTargetInfo *EvtSetAttackTargetInfo `protobuf:"bytes,11,opt,name=evt_set_attack_target_info,json=evtSetAttackTargetInfo,proto3" json:"evt_set_attack_target_info,omitempty"` +} + +func (x *EvtSetAttackTargetNotify) Reset() { + *x = EvtSetAttackTargetNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtSetAttackTargetNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtSetAttackTargetNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtSetAttackTargetNotify) ProtoMessage() {} + +func (x *EvtSetAttackTargetNotify) ProtoReflect() protoreflect.Message { + mi := &file_EvtSetAttackTargetNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtSetAttackTargetNotify.ProtoReflect.Descriptor instead. +func (*EvtSetAttackTargetNotify) Descriptor() ([]byte, []int) { + return file_EvtSetAttackTargetNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtSetAttackTargetNotify) GetForwardType() ForwardType { + if x != nil { + return x.ForwardType + } + return ForwardType_FORWARD_TYPE_LOCAL +} + +func (x *EvtSetAttackTargetNotify) GetEvtSetAttackTargetInfo() *EvtSetAttackTargetInfo { + if x != nil { + return x.EvtSetAttackTargetInfo + } + return nil +} + +var File_EvtSetAttackTargetNotify_proto protoreflect.FileDescriptor + +var file_EvtSetAttackTargetNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, + 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x53, 0x0a, 0x1a, 0x65, 0x76, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x45, 0x76, 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x65, 0x76, + 0x74, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtSetAttackTargetNotify_proto_rawDescOnce sync.Once + file_EvtSetAttackTargetNotify_proto_rawDescData = file_EvtSetAttackTargetNotify_proto_rawDesc +) + +func file_EvtSetAttackTargetNotify_proto_rawDescGZIP() []byte { + file_EvtSetAttackTargetNotify_proto_rawDescOnce.Do(func() { + file_EvtSetAttackTargetNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtSetAttackTargetNotify_proto_rawDescData) + }) + return file_EvtSetAttackTargetNotify_proto_rawDescData +} + +var file_EvtSetAttackTargetNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtSetAttackTargetNotify_proto_goTypes = []interface{}{ + (*EvtSetAttackTargetNotify)(nil), // 0: EvtSetAttackTargetNotify + (ForwardType)(0), // 1: ForwardType + (*EvtSetAttackTargetInfo)(nil), // 2: EvtSetAttackTargetInfo +} +var file_EvtSetAttackTargetNotify_proto_depIdxs = []int32{ + 1, // 0: EvtSetAttackTargetNotify.forward_type:type_name -> ForwardType + 2, // 1: EvtSetAttackTargetNotify.evt_set_attack_target_info:type_name -> EvtSetAttackTargetInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtSetAttackTargetNotify_proto_init() } +func file_EvtSetAttackTargetNotify_proto_init() { + if File_EvtSetAttackTargetNotify_proto != nil { + return + } + file_EvtSetAttackTargetInfo_proto_init() + file_ForwardType_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtSetAttackTargetNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtSetAttackTargetNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtSetAttackTargetNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtSetAttackTargetNotify_proto_goTypes, + DependencyIndexes: file_EvtSetAttackTargetNotify_proto_depIdxs, + MessageInfos: file_EvtSetAttackTargetNotify_proto_msgTypes, + }.Build() + File_EvtSetAttackTargetNotify_proto = out.File + file_EvtSetAttackTargetNotify_proto_rawDesc = nil + file_EvtSetAttackTargetNotify_proto_goTypes = nil + file_EvtSetAttackTargetNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtSetAttackTargetNotify.proto b/gate-hk4e-api/proto/EvtSetAttackTargetNotify.proto new file mode 100644 index 00000000..911c8732 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSetAttackTargetNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EvtSetAttackTargetInfo.proto"; +import "ForwardType.proto"; + +option go_package = "./;proto"; + +// CmdId: 399 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message EvtSetAttackTargetNotify { + ForwardType forward_type = 1; + EvtSetAttackTargetInfo evt_set_attack_target_info = 11; +} diff --git a/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.pb.go b/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.pb.go new file mode 100644 index 00000000..11a3f80d --- /dev/null +++ b/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtSyncEntityPositionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtSyncEntityPositionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + NormalizedTimeCompact uint32 `protobuf:"varint,13,opt,name=normalized_time_compact,json=normalizedTimeCompact,proto3" json:"normalized_time_compact,omitempty"` + StateHash uint32 `protobuf:"varint,8,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"` + FaceAngleCompact int32 `protobuf:"varint,7,opt,name=face_angle_compact,json=faceAngleCompact,proto3" json:"face_angle_compact,omitempty"` + Pos *Vector `protobuf:"bytes,15,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *EvtSyncEntityPositionInfo) Reset() { + *x = EvtSyncEntityPositionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtSyncEntityPositionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtSyncEntityPositionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtSyncEntityPositionInfo) ProtoMessage() {} + +func (x *EvtSyncEntityPositionInfo) ProtoReflect() protoreflect.Message { + mi := &file_EvtSyncEntityPositionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtSyncEntityPositionInfo.ProtoReflect.Descriptor instead. +func (*EvtSyncEntityPositionInfo) Descriptor() ([]byte, []int) { + return file_EvtSyncEntityPositionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtSyncEntityPositionInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtSyncEntityPositionInfo) GetNormalizedTimeCompact() uint32 { + if x != nil { + return x.NormalizedTimeCompact + } + return 0 +} + +func (x *EvtSyncEntityPositionInfo) GetStateHash() uint32 { + if x != nil { + return x.StateHash + } + return 0 +} + +func (x *EvtSyncEntityPositionInfo) GetFaceAngleCompact() int32 { + if x != nil { + return x.FaceAngleCompact + } + return 0 +} + +func (x *EvtSyncEntityPositionInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_EvtSyncEntityPositionInfo_proto protoreflect.FileDescriptor + +var file_EvtSyncEntityPositionInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x45, 0x76, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xd8, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x6e, 0x6f, + 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, + 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x6e, 0x6f, 0x72, + 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, + 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x66, + 0x61, 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, + 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtSyncEntityPositionInfo_proto_rawDescOnce sync.Once + file_EvtSyncEntityPositionInfo_proto_rawDescData = file_EvtSyncEntityPositionInfo_proto_rawDesc +) + +func file_EvtSyncEntityPositionInfo_proto_rawDescGZIP() []byte { + file_EvtSyncEntityPositionInfo_proto_rawDescOnce.Do(func() { + file_EvtSyncEntityPositionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtSyncEntityPositionInfo_proto_rawDescData) + }) + return file_EvtSyncEntityPositionInfo_proto_rawDescData +} + +var file_EvtSyncEntityPositionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtSyncEntityPositionInfo_proto_goTypes = []interface{}{ + (*EvtSyncEntityPositionInfo)(nil), // 0: EvtSyncEntityPositionInfo + (*Vector)(nil), // 1: Vector +} +var file_EvtSyncEntityPositionInfo_proto_depIdxs = []int32{ + 1, // 0: EvtSyncEntityPositionInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_EvtSyncEntityPositionInfo_proto_init() } +func file_EvtSyncEntityPositionInfo_proto_init() { + if File_EvtSyncEntityPositionInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtSyncEntityPositionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtSyncEntityPositionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtSyncEntityPositionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtSyncEntityPositionInfo_proto_goTypes, + DependencyIndexes: file_EvtSyncEntityPositionInfo_proto_depIdxs, + MessageInfos: file_EvtSyncEntityPositionInfo_proto_msgTypes, + }.Build() + File_EvtSyncEntityPositionInfo_proto = out.File + file_EvtSyncEntityPositionInfo_proto_rawDesc = nil + file_EvtSyncEntityPositionInfo_proto_goTypes = nil + file_EvtSyncEntityPositionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.proto b/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.proto new file mode 100644 index 00000000..0283483a --- /dev/null +++ b/gate-hk4e-api/proto/EvtSyncEntityPositionInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtSyncEntityPositionInfo { + uint32 entity_id = 10; + uint32 normalized_time_compact = 13; + uint32 state_hash = 8; + int32 face_angle_compact = 7; + Vector pos = 15; +} diff --git a/gate-hk4e-api/proto/EvtSyncTransform.pb.go b/gate-hk4e-api/proto/EvtSyncTransform.pb.go new file mode 100644 index 00000000..ee266df5 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSyncTransform.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: EvtSyncTransform.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EvtSyncTransform struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + EntityPos *Vector `protobuf:"bytes,6,opt,name=entity_pos,json=entityPos,proto3" json:"entity_pos,omitempty"` + EntityRot *Vector `protobuf:"bytes,1,opt,name=entity_rot,json=entityRot,proto3" json:"entity_rot,omitempty"` +} + +func (x *EvtSyncTransform) Reset() { + *x = EvtSyncTransform{} + if protoimpl.UnsafeEnabled { + mi := &file_EvtSyncTransform_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EvtSyncTransform) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EvtSyncTransform) ProtoMessage() {} + +func (x *EvtSyncTransform) ProtoReflect() protoreflect.Message { + mi := &file_EvtSyncTransform_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EvtSyncTransform.ProtoReflect.Descriptor instead. +func (*EvtSyncTransform) Descriptor() ([]byte, []int) { + return file_EvtSyncTransform_proto_rawDescGZIP(), []int{0} +} + +func (x *EvtSyncTransform) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *EvtSyncTransform) GetEntityPos() *Vector { + if x != nil { + return x.EntityPos + } + return nil +} + +func (x *EvtSyncTransform) GetEntityRot() *Vector { + if x != nil { + return x.EntityRot + } + return nil +} + +var File_EvtSyncTransform_proto protoreflect.FileDescriptor + +var file_EvtSyncTransform_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x45, 0x76, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x10, 0x45, 0x76, 0x74, 0x53, 0x79, 0x6e, + 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x73, 0x12, + 0x26, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x6f, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_EvtSyncTransform_proto_rawDescOnce sync.Once + file_EvtSyncTransform_proto_rawDescData = file_EvtSyncTransform_proto_rawDesc +) + +func file_EvtSyncTransform_proto_rawDescGZIP() []byte { + file_EvtSyncTransform_proto_rawDescOnce.Do(func() { + file_EvtSyncTransform_proto_rawDescData = protoimpl.X.CompressGZIP(file_EvtSyncTransform_proto_rawDescData) + }) + return file_EvtSyncTransform_proto_rawDescData +} + +var file_EvtSyncTransform_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_EvtSyncTransform_proto_goTypes = []interface{}{ + (*EvtSyncTransform)(nil), // 0: EvtSyncTransform + (*Vector)(nil), // 1: Vector +} +var file_EvtSyncTransform_proto_depIdxs = []int32{ + 1, // 0: EvtSyncTransform.entity_pos:type_name -> Vector + 1, // 1: EvtSyncTransform.entity_rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_EvtSyncTransform_proto_init() } +func file_EvtSyncTransform_proto_init() { + if File_EvtSyncTransform_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_EvtSyncTransform_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvtSyncTransform); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_EvtSyncTransform_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_EvtSyncTransform_proto_goTypes, + DependencyIndexes: file_EvtSyncTransform_proto_depIdxs, + MessageInfos: file_EvtSyncTransform_proto_msgTypes, + }.Build() + File_EvtSyncTransform_proto = out.File + file_EvtSyncTransform_proto_rawDesc = nil + file_EvtSyncTransform_proto_goTypes = nil + file_EvtSyncTransform_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/EvtSyncTransform.proto b/gate-hk4e-api/proto/EvtSyncTransform.proto new file mode 100644 index 00000000..7d37f425 --- /dev/null +++ b/gate-hk4e-api/proto/EvtSyncTransform.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message EvtSyncTransform { + uint32 entity_id = 15; + Vector entity_pos = 6; + Vector entity_rot = 1; +} diff --git a/gate-hk4e-api/proto/ExclusiveRuleInfo.pb.go b/gate-hk4e-api/proto/ExclusiveRuleInfo.pb.go new file mode 100644 index 00000000..dc9b5d46 --- /dev/null +++ b/gate-hk4e-api/proto/ExclusiveRuleInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExclusiveRuleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExclusiveRuleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ObjectIdList []uint32 `protobuf:"varint,1,rep,packed,name=object_id_list,json=objectIdList,proto3" json:"object_id_list,omitempty"` + RuleType uint32 `protobuf:"varint,10,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"` +} + +func (x *ExclusiveRuleInfo) Reset() { + *x = ExclusiveRuleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExclusiveRuleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExclusiveRuleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExclusiveRuleInfo) ProtoMessage() {} + +func (x *ExclusiveRuleInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExclusiveRuleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExclusiveRuleInfo.ProtoReflect.Descriptor instead. +func (*ExclusiveRuleInfo) Descriptor() ([]byte, []int) { + return file_ExclusiveRuleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExclusiveRuleInfo) GetObjectIdList() []uint32 { + if x != nil { + return x.ObjectIdList + } + return nil +} + +func (x *ExclusiveRuleInfo) GetRuleType() uint32 { + if x != nil { + return x.RuleType + } + return 0 +} + +var File_ExclusiveRuleInfo_proto protoreflect.FileDescriptor + +var file_ExclusiveRuleInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x11, 0x45, 0x78, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, + 0x0a, 0x0e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExclusiveRuleInfo_proto_rawDescOnce sync.Once + file_ExclusiveRuleInfo_proto_rawDescData = file_ExclusiveRuleInfo_proto_rawDesc +) + +func file_ExclusiveRuleInfo_proto_rawDescGZIP() []byte { + file_ExclusiveRuleInfo_proto_rawDescOnce.Do(func() { + file_ExclusiveRuleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExclusiveRuleInfo_proto_rawDescData) + }) + return file_ExclusiveRuleInfo_proto_rawDescData +} + +var file_ExclusiveRuleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExclusiveRuleInfo_proto_goTypes = []interface{}{ + (*ExclusiveRuleInfo)(nil), // 0: ExclusiveRuleInfo +} +var file_ExclusiveRuleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExclusiveRuleInfo_proto_init() } +func file_ExclusiveRuleInfo_proto_init() { + if File_ExclusiveRuleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExclusiveRuleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExclusiveRuleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExclusiveRuleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExclusiveRuleInfo_proto_goTypes, + DependencyIndexes: file_ExclusiveRuleInfo_proto_depIdxs, + MessageInfos: file_ExclusiveRuleInfo_proto_msgTypes, + }.Build() + File_ExclusiveRuleInfo_proto = out.File + file_ExclusiveRuleInfo_proto_rawDesc = nil + file_ExclusiveRuleInfo_proto_goTypes = nil + file_ExclusiveRuleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExclusiveRuleInfo.proto b/gate-hk4e-api/proto/ExclusiveRuleInfo.proto new file mode 100644 index 00000000..419b058c --- /dev/null +++ b/gate-hk4e-api/proto/ExclusiveRuleInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ExclusiveRuleInfo { + repeated uint32 object_id_list = 1; + uint32 rule_type = 10; +} diff --git a/gate-hk4e-api/proto/ExclusiveRuleNotify.pb.go b/gate-hk4e-api/proto/ExclusiveRuleNotify.pb.go new file mode 100644 index 00000000..02bcf9cc --- /dev/null +++ b/gate-hk4e-api/proto/ExclusiveRuleNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExclusiveRuleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 101 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExclusiveRuleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RuleInfoList []*ExclusiveRuleInfo `protobuf:"bytes,5,rep,name=rule_info_list,json=ruleInfoList,proto3" json:"rule_info_list,omitempty"` +} + +func (x *ExclusiveRuleNotify) Reset() { + *x = ExclusiveRuleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ExclusiveRuleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExclusiveRuleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExclusiveRuleNotify) ProtoMessage() {} + +func (x *ExclusiveRuleNotify) ProtoReflect() protoreflect.Message { + mi := &file_ExclusiveRuleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExclusiveRuleNotify.ProtoReflect.Descriptor instead. +func (*ExclusiveRuleNotify) Descriptor() ([]byte, []int) { + return file_ExclusiveRuleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ExclusiveRuleNotify) GetRuleInfoList() []*ExclusiveRuleInfo { + if x != nil { + return x.RuleInfoList + } + return nil +} + +var File_ExclusiveRuleNotify_proto protoreflect.FileDescriptor + +var file_ExclusiveRuleNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x45, 0x78, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, + 0x65, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x38, 0x0a, 0x0e, 0x72, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, + 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExclusiveRuleNotify_proto_rawDescOnce sync.Once + file_ExclusiveRuleNotify_proto_rawDescData = file_ExclusiveRuleNotify_proto_rawDesc +) + +func file_ExclusiveRuleNotify_proto_rawDescGZIP() []byte { + file_ExclusiveRuleNotify_proto_rawDescOnce.Do(func() { + file_ExclusiveRuleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExclusiveRuleNotify_proto_rawDescData) + }) + return file_ExclusiveRuleNotify_proto_rawDescData +} + +var file_ExclusiveRuleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExclusiveRuleNotify_proto_goTypes = []interface{}{ + (*ExclusiveRuleNotify)(nil), // 0: ExclusiveRuleNotify + (*ExclusiveRuleInfo)(nil), // 1: ExclusiveRuleInfo +} +var file_ExclusiveRuleNotify_proto_depIdxs = []int32{ + 1, // 0: ExclusiveRuleNotify.rule_info_list:type_name -> ExclusiveRuleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ExclusiveRuleNotify_proto_init() } +func file_ExclusiveRuleNotify_proto_init() { + if File_ExclusiveRuleNotify_proto != nil { + return + } + file_ExclusiveRuleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ExclusiveRuleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExclusiveRuleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExclusiveRuleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExclusiveRuleNotify_proto_goTypes, + DependencyIndexes: file_ExclusiveRuleNotify_proto_depIdxs, + MessageInfos: file_ExclusiveRuleNotify_proto_msgTypes, + }.Build() + File_ExclusiveRuleNotify_proto = out.File + file_ExclusiveRuleNotify_proto_rawDesc = nil + file_ExclusiveRuleNotify_proto_goTypes = nil + file_ExclusiveRuleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExclusiveRuleNotify.proto b/gate-hk4e-api/proto/ExclusiveRuleNotify.proto new file mode 100644 index 00000000..df5153e9 --- /dev/null +++ b/gate-hk4e-api/proto/ExclusiveRuleNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExclusiveRuleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 101 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExclusiveRuleNotify { + repeated ExclusiveRuleInfo rule_info_list = 5; +} diff --git a/gate-hk4e-api/proto/ExecuteGadgetLuaReq.pb.go b/gate-hk4e-api/proto/ExecuteGadgetLuaReq.pb.go new file mode 100644 index 00000000..2004c24c --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGadgetLuaReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExecuteGadgetLuaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 269 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExecuteGadgetLuaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SourceEntityId uint32 `protobuf:"varint,12,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` + Param3 int32 `protobuf:"varint,1,opt,name=param3,proto3" json:"param3,omitempty"` + Param1 int32 `protobuf:"varint,5,opt,name=param1,proto3" json:"param1,omitempty"` + Param2 int32 `protobuf:"varint,14,opt,name=param2,proto3" json:"param2,omitempty"` +} + +func (x *ExecuteGadgetLuaReq) Reset() { + *x = ExecuteGadgetLuaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExecuteGadgetLuaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteGadgetLuaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteGadgetLuaReq) ProtoMessage() {} + +func (x *ExecuteGadgetLuaReq) ProtoReflect() protoreflect.Message { + mi := &file_ExecuteGadgetLuaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteGadgetLuaReq.ProtoReflect.Descriptor instead. +func (*ExecuteGadgetLuaReq) Descriptor() ([]byte, []int) { + return file_ExecuteGadgetLuaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ExecuteGadgetLuaReq) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +func (x *ExecuteGadgetLuaReq) GetParam3() int32 { + if x != nil { + return x.Param3 + } + return 0 +} + +func (x *ExecuteGadgetLuaReq) GetParam1() int32 { + if x != nil { + return x.Param1 + } + return 0 +} + +func (x *ExecuteGadgetLuaReq) GetParam2() int32 { + if x != nil { + return x.Param2 + } + return 0 +} + +var File_ExecuteGadgetLuaReq_proto protoreflect.FileDescriptor + +var file_ExecuteGadgetLuaReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4c, + 0x75, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x13, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4c, 0x75, 0x61, + 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x32, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExecuteGadgetLuaReq_proto_rawDescOnce sync.Once + file_ExecuteGadgetLuaReq_proto_rawDescData = file_ExecuteGadgetLuaReq_proto_rawDesc +) + +func file_ExecuteGadgetLuaReq_proto_rawDescGZIP() []byte { + file_ExecuteGadgetLuaReq_proto_rawDescOnce.Do(func() { + file_ExecuteGadgetLuaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExecuteGadgetLuaReq_proto_rawDescData) + }) + return file_ExecuteGadgetLuaReq_proto_rawDescData +} + +var file_ExecuteGadgetLuaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExecuteGadgetLuaReq_proto_goTypes = []interface{}{ + (*ExecuteGadgetLuaReq)(nil), // 0: ExecuteGadgetLuaReq +} +var file_ExecuteGadgetLuaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExecuteGadgetLuaReq_proto_init() } +func file_ExecuteGadgetLuaReq_proto_init() { + if File_ExecuteGadgetLuaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExecuteGadgetLuaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteGadgetLuaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExecuteGadgetLuaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExecuteGadgetLuaReq_proto_goTypes, + DependencyIndexes: file_ExecuteGadgetLuaReq_proto_depIdxs, + MessageInfos: file_ExecuteGadgetLuaReq_proto_msgTypes, + }.Build() + File_ExecuteGadgetLuaReq_proto = out.File + file_ExecuteGadgetLuaReq_proto_rawDesc = nil + file_ExecuteGadgetLuaReq_proto_goTypes = nil + file_ExecuteGadgetLuaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExecuteGadgetLuaReq.proto b/gate-hk4e-api/proto/ExecuteGadgetLuaReq.proto new file mode 100644 index 00000000..afd4b1a5 --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGadgetLuaReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 269 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExecuteGadgetLuaReq { + uint32 source_entity_id = 12; + int32 param3 = 1; + int32 param1 = 5; + int32 param2 = 14; +} diff --git a/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.pb.go b/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.pb.go new file mode 100644 index 00000000..26c96aad --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExecuteGadgetLuaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 210 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExecuteGadgetLuaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ExecuteGadgetLuaRsp) Reset() { + *x = ExecuteGadgetLuaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExecuteGadgetLuaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteGadgetLuaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteGadgetLuaRsp) ProtoMessage() {} + +func (x *ExecuteGadgetLuaRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExecuteGadgetLuaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteGadgetLuaRsp.ProtoReflect.Descriptor instead. +func (*ExecuteGadgetLuaRsp) Descriptor() ([]byte, []int) { + return file_ExecuteGadgetLuaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExecuteGadgetLuaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ExecuteGadgetLuaRsp_proto protoreflect.FileDescriptor + +var file_ExecuteGadgetLuaRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4c, + 0x75, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x4c, 0x75, 0x61, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExecuteGadgetLuaRsp_proto_rawDescOnce sync.Once + file_ExecuteGadgetLuaRsp_proto_rawDescData = file_ExecuteGadgetLuaRsp_proto_rawDesc +) + +func file_ExecuteGadgetLuaRsp_proto_rawDescGZIP() []byte { + file_ExecuteGadgetLuaRsp_proto_rawDescOnce.Do(func() { + file_ExecuteGadgetLuaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExecuteGadgetLuaRsp_proto_rawDescData) + }) + return file_ExecuteGadgetLuaRsp_proto_rawDescData +} + +var file_ExecuteGadgetLuaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExecuteGadgetLuaRsp_proto_goTypes = []interface{}{ + (*ExecuteGadgetLuaRsp)(nil), // 0: ExecuteGadgetLuaRsp +} +var file_ExecuteGadgetLuaRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExecuteGadgetLuaRsp_proto_init() } +func file_ExecuteGadgetLuaRsp_proto_init() { + if File_ExecuteGadgetLuaRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExecuteGadgetLuaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteGadgetLuaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExecuteGadgetLuaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExecuteGadgetLuaRsp_proto_goTypes, + DependencyIndexes: file_ExecuteGadgetLuaRsp_proto_depIdxs, + MessageInfos: file_ExecuteGadgetLuaRsp_proto_msgTypes, + }.Build() + File_ExecuteGadgetLuaRsp_proto = out.File + file_ExecuteGadgetLuaRsp_proto_rawDesc = nil + file_ExecuteGadgetLuaRsp_proto_goTypes = nil + file_ExecuteGadgetLuaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.proto b/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.proto new file mode 100644 index 00000000..8643ead4 --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGadgetLuaRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 210 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExecuteGadgetLuaRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/ExecuteGroupTriggerReq.pb.go b/gate-hk4e-api/proto/ExecuteGroupTriggerReq.pb.go new file mode 100644 index 00000000..37b43495 --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGroupTriggerReq.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExecuteGroupTriggerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExecuteGroupTriggerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SourceName string `protobuf:"bytes,15,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` + TargetEntityId uint32 `protobuf:"varint,12,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` + Param2 int32 `protobuf:"varint,8,opt,name=param2,proto3" json:"param2,omitempty"` + SourceEntityId uint32 `protobuf:"varint,4,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` + Param3 int32 `protobuf:"varint,10,opt,name=param3,proto3" json:"param3,omitempty"` + Param1 int32 `protobuf:"varint,9,opt,name=param1,proto3" json:"param1,omitempty"` +} + +func (x *ExecuteGroupTriggerReq) Reset() { + *x = ExecuteGroupTriggerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExecuteGroupTriggerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteGroupTriggerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteGroupTriggerReq) ProtoMessage() {} + +func (x *ExecuteGroupTriggerReq) ProtoReflect() protoreflect.Message { + mi := &file_ExecuteGroupTriggerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteGroupTriggerReq.ProtoReflect.Descriptor instead. +func (*ExecuteGroupTriggerReq) Descriptor() ([]byte, []int) { + return file_ExecuteGroupTriggerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ExecuteGroupTriggerReq) GetSourceName() string { + if x != nil { + return x.SourceName + } + return "" +} + +func (x *ExecuteGroupTriggerReq) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +func (x *ExecuteGroupTriggerReq) GetParam2() int32 { + if x != nil { + return x.Param2 + } + return 0 +} + +func (x *ExecuteGroupTriggerReq) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +func (x *ExecuteGroupTriggerReq) GetParam3() int32 { + if x != nil { + return x.Param3 + } + return 0 +} + +func (x *ExecuteGroupTriggerReq) GetParam1() int32 { + if x != nil { + return x.Param1 + } + return 0 +} + +var File_ExecuteGroupTriggerReq_proto protoreflect.FileDescriptor + +var file_ExecuteGroupTriggerReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, + 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x12, 0x16, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExecuteGroupTriggerReq_proto_rawDescOnce sync.Once + file_ExecuteGroupTriggerReq_proto_rawDescData = file_ExecuteGroupTriggerReq_proto_rawDesc +) + +func file_ExecuteGroupTriggerReq_proto_rawDescGZIP() []byte { + file_ExecuteGroupTriggerReq_proto_rawDescOnce.Do(func() { + file_ExecuteGroupTriggerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExecuteGroupTriggerReq_proto_rawDescData) + }) + return file_ExecuteGroupTriggerReq_proto_rawDescData +} + +var file_ExecuteGroupTriggerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExecuteGroupTriggerReq_proto_goTypes = []interface{}{ + (*ExecuteGroupTriggerReq)(nil), // 0: ExecuteGroupTriggerReq +} +var file_ExecuteGroupTriggerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExecuteGroupTriggerReq_proto_init() } +func file_ExecuteGroupTriggerReq_proto_init() { + if File_ExecuteGroupTriggerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExecuteGroupTriggerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteGroupTriggerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExecuteGroupTriggerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExecuteGroupTriggerReq_proto_goTypes, + DependencyIndexes: file_ExecuteGroupTriggerReq_proto_depIdxs, + MessageInfos: file_ExecuteGroupTriggerReq_proto_msgTypes, + }.Build() + File_ExecuteGroupTriggerReq_proto = out.File + file_ExecuteGroupTriggerReq_proto_rawDesc = nil + file_ExecuteGroupTriggerReq_proto_goTypes = nil + file_ExecuteGroupTriggerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExecuteGroupTriggerReq.proto b/gate-hk4e-api/proto/ExecuteGroupTriggerReq.proto new file mode 100644 index 00000000..ea1a6ddb --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGroupTriggerReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExecuteGroupTriggerReq { + string source_name = 15; + uint32 target_entity_id = 12; + int32 param2 = 8; + uint32 source_entity_id = 4; + int32 param3 = 10; + int32 param1 = 9; +} diff --git a/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.pb.go b/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.pb.go new file mode 100644 index 00000000..3257c33d --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExecuteGroupTriggerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 300 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExecuteGroupTriggerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ExecuteGroupTriggerRsp) Reset() { + *x = ExecuteGroupTriggerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExecuteGroupTriggerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteGroupTriggerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteGroupTriggerRsp) ProtoMessage() {} + +func (x *ExecuteGroupTriggerRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExecuteGroupTriggerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteGroupTriggerRsp.ProtoReflect.Descriptor instead. +func (*ExecuteGroupTriggerRsp) Descriptor() ([]byte, []int) { + return file_ExecuteGroupTriggerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExecuteGroupTriggerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ExecuteGroupTriggerRsp_proto protoreflect.FileDescriptor + +var file_ExecuteGroupTriggerRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExecuteGroupTriggerRsp_proto_rawDescOnce sync.Once + file_ExecuteGroupTriggerRsp_proto_rawDescData = file_ExecuteGroupTriggerRsp_proto_rawDesc +) + +func file_ExecuteGroupTriggerRsp_proto_rawDescGZIP() []byte { + file_ExecuteGroupTriggerRsp_proto_rawDescOnce.Do(func() { + file_ExecuteGroupTriggerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExecuteGroupTriggerRsp_proto_rawDescData) + }) + return file_ExecuteGroupTriggerRsp_proto_rawDescData +} + +var file_ExecuteGroupTriggerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExecuteGroupTriggerRsp_proto_goTypes = []interface{}{ + (*ExecuteGroupTriggerRsp)(nil), // 0: ExecuteGroupTriggerRsp +} +var file_ExecuteGroupTriggerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExecuteGroupTriggerRsp_proto_init() } +func file_ExecuteGroupTriggerRsp_proto_init() { + if File_ExecuteGroupTriggerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExecuteGroupTriggerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteGroupTriggerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExecuteGroupTriggerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExecuteGroupTriggerRsp_proto_goTypes, + DependencyIndexes: file_ExecuteGroupTriggerRsp_proto_depIdxs, + MessageInfos: file_ExecuteGroupTriggerRsp_proto_msgTypes, + }.Build() + File_ExecuteGroupTriggerRsp_proto = out.File + file_ExecuteGroupTriggerRsp_proto_rawDesc = nil + file_ExecuteGroupTriggerRsp_proto_goTypes = nil + file_ExecuteGroupTriggerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.proto b/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.proto new file mode 100644 index 00000000..9accd36c --- /dev/null +++ b/gate-hk4e-api/proto/ExecuteGroupTriggerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 300 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExecuteGroupTriggerRsp { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/ExhibitionDisplayInfo.pb.go b/gate-hk4e-api/proto/ExhibitionDisplayInfo.pb.go new file mode 100644 index 00000000..95680bba --- /dev/null +++ b/gate-hk4e-api/proto/ExhibitionDisplayInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExhibitionDisplayInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExhibitionDisplayInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Param uint32 `protobuf:"varint,2,opt,name=param,proto3" json:"param,omitempty"` + DetailParam uint32 `protobuf:"varint,3,opt,name=detail_param,json=detailParam,proto3" json:"detail_param,omitempty"` +} + +func (x *ExhibitionDisplayInfo) Reset() { + *x = ExhibitionDisplayInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExhibitionDisplayInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExhibitionDisplayInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExhibitionDisplayInfo) ProtoMessage() {} + +func (x *ExhibitionDisplayInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExhibitionDisplayInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExhibitionDisplayInfo.ProtoReflect.Descriptor instead. +func (*ExhibitionDisplayInfo) Descriptor() ([]byte, []int) { + return file_ExhibitionDisplayInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExhibitionDisplayInfo) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ExhibitionDisplayInfo) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *ExhibitionDisplayInfo) GetDetailParam() uint32 { + if x != nil { + return x.DetailParam + } + return 0 +} + +var File_ExhibitionDisplayInfo_proto protoreflect.FileDescriptor + +var file_ExhibitionDisplayInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, + 0x15, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ExhibitionDisplayInfo_proto_rawDescOnce sync.Once + file_ExhibitionDisplayInfo_proto_rawDescData = file_ExhibitionDisplayInfo_proto_rawDesc +) + +func file_ExhibitionDisplayInfo_proto_rawDescGZIP() []byte { + file_ExhibitionDisplayInfo_proto_rawDescOnce.Do(func() { + file_ExhibitionDisplayInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExhibitionDisplayInfo_proto_rawDescData) + }) + return file_ExhibitionDisplayInfo_proto_rawDescData +} + +var file_ExhibitionDisplayInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExhibitionDisplayInfo_proto_goTypes = []interface{}{ + (*ExhibitionDisplayInfo)(nil), // 0: ExhibitionDisplayInfo +} +var file_ExhibitionDisplayInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExhibitionDisplayInfo_proto_init() } +func file_ExhibitionDisplayInfo_proto_init() { + if File_ExhibitionDisplayInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExhibitionDisplayInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExhibitionDisplayInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExhibitionDisplayInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExhibitionDisplayInfo_proto_goTypes, + DependencyIndexes: file_ExhibitionDisplayInfo_proto_depIdxs, + MessageInfos: file_ExhibitionDisplayInfo_proto_msgTypes, + }.Build() + File_ExhibitionDisplayInfo_proto = out.File + file_ExhibitionDisplayInfo_proto_rawDesc = nil + file_ExhibitionDisplayInfo_proto_goTypes = nil + file_ExhibitionDisplayInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExhibitionDisplayInfo.proto b/gate-hk4e-api/proto/ExhibitionDisplayInfo.proto new file mode 100644 index 00000000..208bfc42 --- /dev/null +++ b/gate-hk4e-api/proto/ExhibitionDisplayInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ExhibitionDisplayInfo { + uint32 id = 1; + uint32 param = 2; + uint32 detail_param = 3; +} diff --git a/gate-hk4e-api/proto/ExitFishingReq.pb.go b/gate-hk4e-api/proto/ExitFishingReq.pb.go new file mode 100644 index 00000000..50c1e120 --- /dev/null +++ b/gate-hk4e-api/proto/ExitFishingReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExitFishingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5814 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExitFishingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ExitFishingReq) Reset() { + *x = ExitFishingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExitFishingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitFishingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitFishingReq) ProtoMessage() {} + +func (x *ExitFishingReq) ProtoReflect() protoreflect.Message { + mi := &file_ExitFishingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitFishingReq.ProtoReflect.Descriptor instead. +func (*ExitFishingReq) Descriptor() ([]byte, []int) { + return file_ExitFishingReq_proto_rawDescGZIP(), []int{0} +} + +var File_ExitFishingReq_proto protoreflect.FileDescriptor + +var file_ExitFishingReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x45, 0x78, 0x69, 0x74, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x10, 0x0a, 0x0e, 0x45, 0x78, 0x69, 0x74, 0x46, 0x69, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExitFishingReq_proto_rawDescOnce sync.Once + file_ExitFishingReq_proto_rawDescData = file_ExitFishingReq_proto_rawDesc +) + +func file_ExitFishingReq_proto_rawDescGZIP() []byte { + file_ExitFishingReq_proto_rawDescOnce.Do(func() { + file_ExitFishingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExitFishingReq_proto_rawDescData) + }) + return file_ExitFishingReq_proto_rawDescData +} + +var file_ExitFishingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExitFishingReq_proto_goTypes = []interface{}{ + (*ExitFishingReq)(nil), // 0: ExitFishingReq +} +var file_ExitFishingReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExitFishingReq_proto_init() } +func file_ExitFishingReq_proto_init() { + if File_ExitFishingReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExitFishingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitFishingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExitFishingReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExitFishingReq_proto_goTypes, + DependencyIndexes: file_ExitFishingReq_proto_depIdxs, + MessageInfos: file_ExitFishingReq_proto_msgTypes, + }.Build() + File_ExitFishingReq_proto = out.File + file_ExitFishingReq_proto_rawDesc = nil + file_ExitFishingReq_proto_goTypes = nil + file_ExitFishingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExitFishingReq.proto b/gate-hk4e-api/proto/ExitFishingReq.proto new file mode 100644 index 00000000..fd23d582 --- /dev/null +++ b/gate-hk4e-api/proto/ExitFishingReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5814 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExitFishingReq {} diff --git a/gate-hk4e-api/proto/ExitFishingRsp.pb.go b/gate-hk4e-api/proto/ExitFishingRsp.pb.go new file mode 100644 index 00000000..01624cf9 --- /dev/null +++ b/gate-hk4e-api/proto/ExitFishingRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExitFishingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5847 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExitFishingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ExitFishingRsp) Reset() { + *x = ExitFishingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExitFishingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitFishingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitFishingRsp) ProtoMessage() {} + +func (x *ExitFishingRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExitFishingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitFishingRsp.ProtoReflect.Descriptor instead. +func (*ExitFishingRsp) Descriptor() ([]byte, []int) { + return file_ExitFishingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExitFishingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ExitFishingRsp_proto protoreflect.FileDescriptor + +var file_ExitFishingRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x45, 0x78, 0x69, 0x74, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0e, 0x45, 0x78, 0x69, 0x74, 0x46, 0x69, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExitFishingRsp_proto_rawDescOnce sync.Once + file_ExitFishingRsp_proto_rawDescData = file_ExitFishingRsp_proto_rawDesc +) + +func file_ExitFishingRsp_proto_rawDescGZIP() []byte { + file_ExitFishingRsp_proto_rawDescOnce.Do(func() { + file_ExitFishingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExitFishingRsp_proto_rawDescData) + }) + return file_ExitFishingRsp_proto_rawDescData +} + +var file_ExitFishingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExitFishingRsp_proto_goTypes = []interface{}{ + (*ExitFishingRsp)(nil), // 0: ExitFishingRsp +} +var file_ExitFishingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExitFishingRsp_proto_init() } +func file_ExitFishingRsp_proto_init() { + if File_ExitFishingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExitFishingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitFishingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExitFishingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExitFishingRsp_proto_goTypes, + DependencyIndexes: file_ExitFishingRsp_proto_depIdxs, + MessageInfos: file_ExitFishingRsp_proto_msgTypes, + }.Build() + File_ExitFishingRsp_proto = out.File + file_ExitFishingRsp_proto_rawDesc = nil + file_ExitFishingRsp_proto_goTypes = nil + file_ExitFishingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExitFishingRsp.proto b/gate-hk4e-api/proto/ExitFishingRsp.proto new file mode 100644 index 00000000..dc3107a2 --- /dev/null +++ b/gate-hk4e-api/proto/ExitFishingRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5847 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExitFishingRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.pb.go b/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.pb.go new file mode 100644 index 00000000..9ada909c --- /dev/null +++ b/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExitSceneWeatherAreaNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExitSceneWeatherAreaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherGadgetId uint32 `protobuf:"varint,2,opt,name=weather_gadget_id,json=weatherGadgetId,proto3" json:"weather_gadget_id,omitempty"` +} + +func (x *ExitSceneWeatherAreaNotify) Reset() { + *x = ExitSceneWeatherAreaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ExitSceneWeatherAreaNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitSceneWeatherAreaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitSceneWeatherAreaNotify) ProtoMessage() {} + +func (x *ExitSceneWeatherAreaNotify) ProtoReflect() protoreflect.Message { + mi := &file_ExitSceneWeatherAreaNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitSceneWeatherAreaNotify.ProtoReflect.Descriptor instead. +func (*ExitSceneWeatherAreaNotify) Descriptor() ([]byte, []int) { + return file_ExitSceneWeatherAreaNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ExitSceneWeatherAreaNotify) GetWeatherGadgetId() uint32 { + if x != nil { + return x.WeatherGadgetId + } + return 0 +} + +var File_ExitSceneWeatherAreaNotify_proto protoreflect.FileDescriptor + +var file_ExitSceneWeatherAreaNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x45, 0x78, 0x69, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x1a, 0x45, 0x78, 0x69, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, + 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x65, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExitSceneWeatherAreaNotify_proto_rawDescOnce sync.Once + file_ExitSceneWeatherAreaNotify_proto_rawDescData = file_ExitSceneWeatherAreaNotify_proto_rawDesc +) + +func file_ExitSceneWeatherAreaNotify_proto_rawDescGZIP() []byte { + file_ExitSceneWeatherAreaNotify_proto_rawDescOnce.Do(func() { + file_ExitSceneWeatherAreaNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExitSceneWeatherAreaNotify_proto_rawDescData) + }) + return file_ExitSceneWeatherAreaNotify_proto_rawDescData +} + +var file_ExitSceneWeatherAreaNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExitSceneWeatherAreaNotify_proto_goTypes = []interface{}{ + (*ExitSceneWeatherAreaNotify)(nil), // 0: ExitSceneWeatherAreaNotify +} +var file_ExitSceneWeatherAreaNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExitSceneWeatherAreaNotify_proto_init() } +func file_ExitSceneWeatherAreaNotify_proto_init() { + if File_ExitSceneWeatherAreaNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExitSceneWeatherAreaNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitSceneWeatherAreaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExitSceneWeatherAreaNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExitSceneWeatherAreaNotify_proto_goTypes, + DependencyIndexes: file_ExitSceneWeatherAreaNotify_proto_depIdxs, + MessageInfos: file_ExitSceneWeatherAreaNotify_proto_msgTypes, + }.Build() + File_ExitSceneWeatherAreaNotify_proto = out.File + file_ExitSceneWeatherAreaNotify_proto_rawDesc = nil + file_ExitSceneWeatherAreaNotify_proto_goTypes = nil + file_ExitSceneWeatherAreaNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.proto b/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.proto new file mode 100644 index 00000000..5aa54f41 --- /dev/null +++ b/gate-hk4e-api/proto/ExitSceneWeatherAreaNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExitSceneWeatherAreaNotify { + uint32 weather_gadget_id = 2; +} diff --git a/gate-hk4e-api/proto/ExitTransPointRegionNotify.pb.go b/gate-hk4e-api/proto/ExitTransPointRegionNotify.pb.go new file mode 100644 index 00000000..c4e88b6f --- /dev/null +++ b/gate-hk4e-api/proto/ExitTransPointRegionNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExitTransPointRegionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 282 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExitTransPointRegionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,1,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + SceneId uint32 `protobuf:"varint,7,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *ExitTransPointRegionNotify) Reset() { + *x = ExitTransPointRegionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ExitTransPointRegionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitTransPointRegionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitTransPointRegionNotify) ProtoMessage() {} + +func (x *ExitTransPointRegionNotify) ProtoReflect() protoreflect.Message { + mi := &file_ExitTransPointRegionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitTransPointRegionNotify.ProtoReflect.Descriptor instead. +func (*ExitTransPointRegionNotify) Descriptor() ([]byte, []int) { + return file_ExitTransPointRegionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ExitTransPointRegionNotify) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *ExitTransPointRegionNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_ExitTransPointRegionNotify_proto protoreflect.FileDescriptor + +var file_ExitTransPointRegionNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x45, 0x78, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x69, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExitTransPointRegionNotify_proto_rawDescOnce sync.Once + file_ExitTransPointRegionNotify_proto_rawDescData = file_ExitTransPointRegionNotify_proto_rawDesc +) + +func file_ExitTransPointRegionNotify_proto_rawDescGZIP() []byte { + file_ExitTransPointRegionNotify_proto_rawDescOnce.Do(func() { + file_ExitTransPointRegionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExitTransPointRegionNotify_proto_rawDescData) + }) + return file_ExitTransPointRegionNotify_proto_rawDescData +} + +var file_ExitTransPointRegionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExitTransPointRegionNotify_proto_goTypes = []interface{}{ + (*ExitTransPointRegionNotify)(nil), // 0: ExitTransPointRegionNotify +} +var file_ExitTransPointRegionNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExitTransPointRegionNotify_proto_init() } +func file_ExitTransPointRegionNotify_proto_init() { + if File_ExitTransPointRegionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExitTransPointRegionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitTransPointRegionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExitTransPointRegionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExitTransPointRegionNotify_proto_goTypes, + DependencyIndexes: file_ExitTransPointRegionNotify_proto_depIdxs, + MessageInfos: file_ExitTransPointRegionNotify_proto_msgTypes, + }.Build() + File_ExitTransPointRegionNotify_proto = out.File + file_ExitTransPointRegionNotify_proto_rawDesc = nil + file_ExitTransPointRegionNotify_proto_goTypes = nil + file_ExitTransPointRegionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExitTransPointRegionNotify.proto b/gate-hk4e-api/proto/ExitTransPointRegionNotify.proto new file mode 100644 index 00000000..2bdf2e56 --- /dev/null +++ b/gate-hk4e-api/proto/ExitTransPointRegionNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 282 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExitTransPointRegionNotify { + uint32 point_id = 1; + uint32 scene_id = 7; +} diff --git a/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.pb.go b/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.pb.go new file mode 100644 index 00000000..6eb8531a --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.pb.go @@ -0,0 +1,227 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExpeditionActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurChallengeId uint32 `protobuf:"varint,5,opt,name=cur_challenge_id,json=curChallengeId,proto3" json:"cur_challenge_id,omitempty"` + ChallengeInfoList []*ExpeditionChallengeInfo `protobuf:"bytes,10,rep,name=challenge_info_list,json=challengeInfoList,proto3" json:"challenge_info_list,omitempty"` + ExpeditionCount uint32 `protobuf:"varint,2,opt,name=expedition_count,json=expeditionCount,proto3" json:"expedition_count,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,4,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,8,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + PathInfoList []*ExpeditionPathInfo `protobuf:"bytes,15,rep,name=path_info_list,json=pathInfoList,proto3" json:"path_info_list,omitempty"` +} + +func (x *ExpeditionActivityDetailInfo) Reset() { + *x = ExpeditionActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionActivityDetailInfo) ProtoMessage() {} + +func (x *ExpeditionActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*ExpeditionActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_ExpeditionActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionActivityDetailInfo) GetCurChallengeId() uint32 { + if x != nil { + return x.CurChallengeId + } + return 0 +} + +func (x *ExpeditionActivityDetailInfo) GetChallengeInfoList() []*ExpeditionChallengeInfo { + if x != nil { + return x.ChallengeInfoList + } + return nil +} + +func (x *ExpeditionActivityDetailInfo) GetExpeditionCount() uint32 { + if x != nil { + return x.ExpeditionCount + } + return 0 +} + +func (x *ExpeditionActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *ExpeditionActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *ExpeditionActivityDetailInfo) GetPathInfoList() []*ExpeditionPathInfo { + if x != nil { + return x.PathInfoList + } + return nil +} + +var File_ExpeditionActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_ExpeditionActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, 0x02, + 0x0a, 0x1c, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, + 0x0a, 0x10, 0x63, 0x75, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x43, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x11, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x78, + 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, + 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x0e, 0x70, 0x61, 0x74, 0x68, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionActivityDetailInfo_proto_rawDescOnce sync.Once + file_ExpeditionActivityDetailInfo_proto_rawDescData = file_ExpeditionActivityDetailInfo_proto_rawDesc +) + +func file_ExpeditionActivityDetailInfo_proto_rawDescGZIP() []byte { + file_ExpeditionActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_ExpeditionActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionActivityDetailInfo_proto_rawDescData) + }) + return file_ExpeditionActivityDetailInfo_proto_rawDescData +} + +var file_ExpeditionActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionActivityDetailInfo_proto_goTypes = []interface{}{ + (*ExpeditionActivityDetailInfo)(nil), // 0: ExpeditionActivityDetailInfo + (*ExpeditionChallengeInfo)(nil), // 1: ExpeditionChallengeInfo + (*ExpeditionPathInfo)(nil), // 2: ExpeditionPathInfo +} +var file_ExpeditionActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: ExpeditionActivityDetailInfo.challenge_info_list:type_name -> ExpeditionChallengeInfo + 2, // 1: ExpeditionActivityDetailInfo.path_info_list:type_name -> ExpeditionPathInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ExpeditionActivityDetailInfo_proto_init() } +func file_ExpeditionActivityDetailInfo_proto_init() { + if File_ExpeditionActivityDetailInfo_proto != nil { + return + } + file_ExpeditionChallengeInfo_proto_init() + file_ExpeditionPathInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ExpeditionActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_ExpeditionActivityDetailInfo_proto_depIdxs, + MessageInfos: file_ExpeditionActivityDetailInfo_proto_msgTypes, + }.Build() + File_ExpeditionActivityDetailInfo_proto = out.File + file_ExpeditionActivityDetailInfo_proto_rawDesc = nil + file_ExpeditionActivityDetailInfo_proto_goTypes = nil + file_ExpeditionActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.proto b/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.proto new file mode 100644 index 00000000..c1f0a2b5 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExpeditionChallengeInfo.proto"; +import "ExpeditionPathInfo.proto"; + +option go_package = "./;proto"; + +message ExpeditionActivityDetailInfo { + uint32 cur_challenge_id = 5; + repeated ExpeditionChallengeInfo challenge_info_list = 10; + uint32 expedition_count = 2; + uint32 content_close_time = 4; + bool is_content_closed = 8; + repeated ExpeditionPathInfo path_info_list = 15; +} diff --git a/gate-hk4e-api/proto/ExpeditionAssistInfo.pb.go b/gate-hk4e-api/proto/ExpeditionAssistInfo.pb.go new file mode 100644 index 00000000..02f415bb --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionAssistInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionAssistInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExpeditionAssistInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnlineId string `protobuf:"bytes,14,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + AssistTime uint32 `protobuf:"varint,1,opt,name=assist_time,json=assistTime,proto3" json:"assist_time,omitempty"` + CostumeId uint32 `protobuf:"varint,6,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + TargetNickName string `protobuf:"bytes,4,opt,name=target_nick_name,json=targetNickName,proto3" json:"target_nick_name,omitempty"` + AvatarId uint32 `protobuf:"varint,12,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *ExpeditionAssistInfo) Reset() { + *x = ExpeditionAssistInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionAssistInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionAssistInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionAssistInfo) ProtoMessage() {} + +func (x *ExpeditionAssistInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionAssistInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionAssistInfo.ProtoReflect.Descriptor instead. +func (*ExpeditionAssistInfo) Descriptor() ([]byte, []int) { + return file_ExpeditionAssistInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionAssistInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *ExpeditionAssistInfo) GetAssistTime() uint32 { + if x != nil { + return x.AssistTime + } + return 0 +} + +func (x *ExpeditionAssistInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *ExpeditionAssistInfo) GetTargetNickName() string { + if x != nil { + return x.TargetNickName + } + return "" +} + +func (x *ExpeditionAssistInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_ExpeditionAssistInfo_proto protoreflect.FileDescriptor + +var file_ExpeditionAssistInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, + 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, + 0x14, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x73, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x69, 0x63, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionAssistInfo_proto_rawDescOnce sync.Once + file_ExpeditionAssistInfo_proto_rawDescData = file_ExpeditionAssistInfo_proto_rawDesc +) + +func file_ExpeditionAssistInfo_proto_rawDescGZIP() []byte { + file_ExpeditionAssistInfo_proto_rawDescOnce.Do(func() { + file_ExpeditionAssistInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionAssistInfo_proto_rawDescData) + }) + return file_ExpeditionAssistInfo_proto_rawDescData +} + +var file_ExpeditionAssistInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionAssistInfo_proto_goTypes = []interface{}{ + (*ExpeditionAssistInfo)(nil), // 0: ExpeditionAssistInfo +} +var file_ExpeditionAssistInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionAssistInfo_proto_init() } +func file_ExpeditionAssistInfo_proto_init() { + if File_ExpeditionAssistInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionAssistInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionAssistInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionAssistInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionAssistInfo_proto_goTypes, + DependencyIndexes: file_ExpeditionAssistInfo_proto_depIdxs, + MessageInfos: file_ExpeditionAssistInfo_proto_msgTypes, + }.Build() + File_ExpeditionAssistInfo_proto = out.File + file_ExpeditionAssistInfo_proto_rawDesc = nil + file_ExpeditionAssistInfo_proto_goTypes = nil + file_ExpeditionAssistInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionAssistInfo.proto b/gate-hk4e-api/proto/ExpeditionAssistInfo.proto new file mode 100644 index 00000000..ee68d949 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionAssistInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ExpeditionAssistInfo { + string online_id = 14; + uint32 assist_time = 1; + uint32 costume_id = 6; + string target_nick_name = 4; + uint32 avatar_id = 12; +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.pb.go b/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.pb.go new file mode 100644 index 00000000..55b54682 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionChallengeEnterRegionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2154 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExpeditionChallengeEnterRegionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + IsPuzzleFinished bool `protobuf:"varint,10,opt,name=is_puzzle_finished,json=isPuzzleFinished,proto3" json:"is_puzzle_finished,omitempty"` +} + +func (x *ExpeditionChallengeEnterRegionNotify) Reset() { + *x = ExpeditionChallengeEnterRegionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionChallengeEnterRegionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionChallengeEnterRegionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionChallengeEnterRegionNotify) ProtoMessage() {} + +func (x *ExpeditionChallengeEnterRegionNotify) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionChallengeEnterRegionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionChallengeEnterRegionNotify.ProtoReflect.Descriptor instead. +func (*ExpeditionChallengeEnterRegionNotify) Descriptor() ([]byte, []int) { + return file_ExpeditionChallengeEnterRegionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionChallengeEnterRegionNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ExpeditionChallengeEnterRegionNotify) GetIsPuzzleFinished() bool { + if x != nil { + return x.IsPuzzleFinished + } + return false +} + +var File_ExpeditionChallengeEnterRegionNotify_proto protoreflect.FileDescriptor + +var file_ExpeditionChallengeEnterRegionNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x24, + 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x70, 0x75, 0x7a, 0x7a, 0x6c, + 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x10, 0x69, 0x73, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionChallengeEnterRegionNotify_proto_rawDescOnce sync.Once + file_ExpeditionChallengeEnterRegionNotify_proto_rawDescData = file_ExpeditionChallengeEnterRegionNotify_proto_rawDesc +) + +func file_ExpeditionChallengeEnterRegionNotify_proto_rawDescGZIP() []byte { + file_ExpeditionChallengeEnterRegionNotify_proto_rawDescOnce.Do(func() { + file_ExpeditionChallengeEnterRegionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionChallengeEnterRegionNotify_proto_rawDescData) + }) + return file_ExpeditionChallengeEnterRegionNotify_proto_rawDescData +} + +var file_ExpeditionChallengeEnterRegionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionChallengeEnterRegionNotify_proto_goTypes = []interface{}{ + (*ExpeditionChallengeEnterRegionNotify)(nil), // 0: ExpeditionChallengeEnterRegionNotify +} +var file_ExpeditionChallengeEnterRegionNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionChallengeEnterRegionNotify_proto_init() } +func file_ExpeditionChallengeEnterRegionNotify_proto_init() { + if File_ExpeditionChallengeEnterRegionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionChallengeEnterRegionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionChallengeEnterRegionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionChallengeEnterRegionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionChallengeEnterRegionNotify_proto_goTypes, + DependencyIndexes: file_ExpeditionChallengeEnterRegionNotify_proto_depIdxs, + MessageInfos: file_ExpeditionChallengeEnterRegionNotify_proto_msgTypes, + }.Build() + File_ExpeditionChallengeEnterRegionNotify_proto = out.File + file_ExpeditionChallengeEnterRegionNotify_proto_rawDesc = nil + file_ExpeditionChallengeEnterRegionNotify_proto_goTypes = nil + file_ExpeditionChallengeEnterRegionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.proto b/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.proto new file mode 100644 index 00000000..756056e1 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeEnterRegionNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2154 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExpeditionChallengeEnterRegionNotify { + uint32 id = 5; + bool is_puzzle_finished = 10; +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.pb.go b/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.pb.go new file mode 100644 index 00000000..d2fe10c3 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionChallengeFinishedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2091 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExpeditionChallengeFinishedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *ExpeditionChallengeFinishedNotify) Reset() { + *x = ExpeditionChallengeFinishedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionChallengeFinishedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionChallengeFinishedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionChallengeFinishedNotify) ProtoMessage() {} + +func (x *ExpeditionChallengeFinishedNotify) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionChallengeFinishedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionChallengeFinishedNotify.ProtoReflect.Descriptor instead. +func (*ExpeditionChallengeFinishedNotify) Descriptor() ([]byte, []int) { + return file_ExpeditionChallengeFinishedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionChallengeFinishedNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_ExpeditionChallengeFinishedNotify_proto protoreflect.FileDescriptor + +var file_ExpeditionChallengeFinishedNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x21, 0x45, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ExpeditionChallengeFinishedNotify_proto_rawDescOnce sync.Once + file_ExpeditionChallengeFinishedNotify_proto_rawDescData = file_ExpeditionChallengeFinishedNotify_proto_rawDesc +) + +func file_ExpeditionChallengeFinishedNotify_proto_rawDescGZIP() []byte { + file_ExpeditionChallengeFinishedNotify_proto_rawDescOnce.Do(func() { + file_ExpeditionChallengeFinishedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionChallengeFinishedNotify_proto_rawDescData) + }) + return file_ExpeditionChallengeFinishedNotify_proto_rawDescData +} + +var file_ExpeditionChallengeFinishedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionChallengeFinishedNotify_proto_goTypes = []interface{}{ + (*ExpeditionChallengeFinishedNotify)(nil), // 0: ExpeditionChallengeFinishedNotify +} +var file_ExpeditionChallengeFinishedNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionChallengeFinishedNotify_proto_init() } +func file_ExpeditionChallengeFinishedNotify_proto_init() { + if File_ExpeditionChallengeFinishedNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionChallengeFinishedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionChallengeFinishedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionChallengeFinishedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionChallengeFinishedNotify_proto_goTypes, + DependencyIndexes: file_ExpeditionChallengeFinishedNotify_proto_depIdxs, + MessageInfos: file_ExpeditionChallengeFinishedNotify_proto_msgTypes, + }.Build() + File_ExpeditionChallengeFinishedNotify_proto = out.File + file_ExpeditionChallengeFinishedNotify_proto_rawDesc = nil + file_ExpeditionChallengeFinishedNotify_proto_goTypes = nil + file_ExpeditionChallengeFinishedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.proto b/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.proto new file mode 100644 index 00000000..0b9f1177 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeFinishedNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2091 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExpeditionChallengeFinishedNotify { + uint32 id = 13; +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeInfo.pb.go b/gate-hk4e-api/proto/ExpeditionChallengeInfo.pb.go new file mode 100644 index 00000000..a5bae3ef --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionChallengeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExpeditionChallengeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinished bool `protobuf:"varint,5,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + Id uint32 `protobuf:"varint,11,opt,name=id,proto3" json:"id,omitempty"` + OpenTime uint32 `protobuf:"varint,9,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` +} + +func (x *ExpeditionChallengeInfo) Reset() { + *x = ExpeditionChallengeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionChallengeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionChallengeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionChallengeInfo) ProtoMessage() {} + +func (x *ExpeditionChallengeInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionChallengeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionChallengeInfo.ProtoReflect.Descriptor instead. +func (*ExpeditionChallengeInfo) Descriptor() ([]byte, []int) { + return file_ExpeditionChallengeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionChallengeInfo) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *ExpeditionChallengeInfo) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ExpeditionChallengeInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +var File_ExpeditionChallengeInfo_proto protoreflect.FileDescriptor + +var file_ExpeditionChallengeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x67, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, + 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, + 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionChallengeInfo_proto_rawDescOnce sync.Once + file_ExpeditionChallengeInfo_proto_rawDescData = file_ExpeditionChallengeInfo_proto_rawDesc +) + +func file_ExpeditionChallengeInfo_proto_rawDescGZIP() []byte { + file_ExpeditionChallengeInfo_proto_rawDescOnce.Do(func() { + file_ExpeditionChallengeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionChallengeInfo_proto_rawDescData) + }) + return file_ExpeditionChallengeInfo_proto_rawDescData +} + +var file_ExpeditionChallengeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionChallengeInfo_proto_goTypes = []interface{}{ + (*ExpeditionChallengeInfo)(nil), // 0: ExpeditionChallengeInfo +} +var file_ExpeditionChallengeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionChallengeInfo_proto_init() } +func file_ExpeditionChallengeInfo_proto_init() { + if File_ExpeditionChallengeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionChallengeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionChallengeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionChallengeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionChallengeInfo_proto_goTypes, + DependencyIndexes: file_ExpeditionChallengeInfo_proto_depIdxs, + MessageInfos: file_ExpeditionChallengeInfo_proto_msgTypes, + }.Build() + File_ExpeditionChallengeInfo_proto = out.File + file_ExpeditionChallengeInfo_proto_rawDesc = nil + file_ExpeditionChallengeInfo_proto_goTypes = nil + file_ExpeditionChallengeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionChallengeInfo.proto b/gate-hk4e-api/proto/ExpeditionChallengeInfo.proto new file mode 100644 index 00000000..2c22682c --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionChallengeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ExpeditionChallengeInfo { + bool is_finished = 5; + uint32 id = 11; + uint32 open_time = 9; +} diff --git a/gate-hk4e-api/proto/ExpeditionPathInfo.pb.go b/gate-hk4e-api/proto/ExpeditionPathInfo.pb.go new file mode 100644 index 00000000..2e423d5b --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionPathInfo.pb.go @@ -0,0 +1,255 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionPathInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExpeditionPathInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MarkId uint32 `protobuf:"varint,12,opt,name=mark_id,json=markId,proto3" json:"mark_id,omitempty"` + StartTime uint32 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + AssistAvatarId uint32 `protobuf:"varint,7,opt,name=assist_avatar_id,json=assistAvatarId,proto3" json:"assist_avatar_id,omitempty"` + BonusProbability float32 `protobuf:"fixed32,4,opt,name=bonus_probability,json=bonusProbability,proto3" json:"bonus_probability,omitempty"` + State ExpeditionState `protobuf:"varint,15,opt,name=state,proto3,enum=ExpeditionState" json:"state,omitempty"` + AvatarIdList []uint32 `protobuf:"varint,2,rep,packed,name=avatar_id_list,json=avatarIdList,proto3" json:"avatar_id_list,omitempty"` + AssistCostumeId uint32 `protobuf:"varint,5,opt,name=assist_costume_id,json=assistCostumeId,proto3" json:"assist_costume_id,omitempty"` + PathId uint32 `protobuf:"varint,8,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,11,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + AssistUid uint32 `protobuf:"varint,10,opt,name=assist_uid,json=assistUid,proto3" json:"assist_uid,omitempty"` +} + +func (x *ExpeditionPathInfo) Reset() { + *x = ExpeditionPathInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionPathInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionPathInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionPathInfo) ProtoMessage() {} + +func (x *ExpeditionPathInfo) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionPathInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionPathInfo.ProtoReflect.Descriptor instead. +func (*ExpeditionPathInfo) Descriptor() ([]byte, []int) { + return file_ExpeditionPathInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionPathInfo) GetMarkId() uint32 { + if x != nil { + return x.MarkId + } + return 0 +} + +func (x *ExpeditionPathInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *ExpeditionPathInfo) GetAssistAvatarId() uint32 { + if x != nil { + return x.AssistAvatarId + } + return 0 +} + +func (x *ExpeditionPathInfo) GetBonusProbability() float32 { + if x != nil { + return x.BonusProbability + } + return 0 +} + +func (x *ExpeditionPathInfo) GetState() ExpeditionState { + if x != nil { + return x.State + } + return ExpeditionState_EXPEDITION_STATE_NONE +} + +func (x *ExpeditionPathInfo) GetAvatarIdList() []uint32 { + if x != nil { + return x.AvatarIdList + } + return nil +} + +func (x *ExpeditionPathInfo) GetAssistCostumeId() uint32 { + if x != nil { + return x.AssistCostumeId + } + return 0 +} + +func (x *ExpeditionPathInfo) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +func (x *ExpeditionPathInfo) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *ExpeditionPathInfo) GetAssistUid() uint32 { + if x != nil { + return x.AssistUid + } + return 0 +} + +var File_ExpeditionPathInfo_proto protoreflect.FileDescriptor + +var file_ExpeditionPathInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf8, 0x02, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, + 0x73, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x62, 0x6f, + 0x6e, 0x75, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x62, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x24, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, + 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionPathInfo_proto_rawDescOnce sync.Once + file_ExpeditionPathInfo_proto_rawDescData = file_ExpeditionPathInfo_proto_rawDesc +) + +func file_ExpeditionPathInfo_proto_rawDescGZIP() []byte { + file_ExpeditionPathInfo_proto_rawDescOnce.Do(func() { + file_ExpeditionPathInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionPathInfo_proto_rawDescData) + }) + return file_ExpeditionPathInfo_proto_rawDescData +} + +var file_ExpeditionPathInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionPathInfo_proto_goTypes = []interface{}{ + (*ExpeditionPathInfo)(nil), // 0: ExpeditionPathInfo + (ExpeditionState)(0), // 1: ExpeditionState +} +var file_ExpeditionPathInfo_proto_depIdxs = []int32{ + 1, // 0: ExpeditionPathInfo.state:type_name -> ExpeditionState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ExpeditionPathInfo_proto_init() } +func file_ExpeditionPathInfo_proto_init() { + if File_ExpeditionPathInfo_proto != nil { + return + } + file_ExpeditionState_proto_init() + if !protoimpl.UnsafeEnabled { + file_ExpeditionPathInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionPathInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionPathInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionPathInfo_proto_goTypes, + DependencyIndexes: file_ExpeditionPathInfo_proto_depIdxs, + MessageInfos: file_ExpeditionPathInfo_proto_msgTypes, + }.Build() + File_ExpeditionPathInfo_proto = out.File + file_ExpeditionPathInfo_proto_rawDesc = nil + file_ExpeditionPathInfo_proto_goTypes = nil + file_ExpeditionPathInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionPathInfo.proto b/gate-hk4e-api/proto/ExpeditionPathInfo.proto new file mode 100644 index 00000000..76624614 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionPathInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExpeditionState.proto"; + +option go_package = "./;proto"; + +message ExpeditionPathInfo { + uint32 mark_id = 12; + uint32 start_time = 9; + uint32 assist_avatar_id = 7; + float bonus_probability = 4; + ExpeditionState state = 15; + repeated uint32 avatar_id_list = 2; + uint32 assist_costume_id = 5; + uint32 path_id = 8; + uint32 challenge_id = 11; + uint32 assist_uid = 10; +} diff --git a/gate-hk4e-api/proto/ExpeditionRecallReq.pb.go b/gate-hk4e-api/proto/ExpeditionRecallReq.pb.go new file mode 100644 index 00000000..1b6e9773 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionRecallReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionRecallReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExpeditionRecallReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PathId uint32 `protobuf:"varint,13,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` +} + +func (x *ExpeditionRecallReq) Reset() { + *x = ExpeditionRecallReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionRecallReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionRecallReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionRecallReq) ProtoMessage() {} + +func (x *ExpeditionRecallReq) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionRecallReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionRecallReq.ProtoReflect.Descriptor instead. +func (*ExpeditionRecallReq) Descriptor() ([]byte, []int) { + return file_ExpeditionRecallReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionRecallReq) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +var File_ExpeditionRecallReq_proto protoreflect.FileDescriptor + +var file_ExpeditionRecallReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x13, 0x45, + 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x52, + 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionRecallReq_proto_rawDescOnce sync.Once + file_ExpeditionRecallReq_proto_rawDescData = file_ExpeditionRecallReq_proto_rawDesc +) + +func file_ExpeditionRecallReq_proto_rawDescGZIP() []byte { + file_ExpeditionRecallReq_proto_rawDescOnce.Do(func() { + file_ExpeditionRecallReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionRecallReq_proto_rawDescData) + }) + return file_ExpeditionRecallReq_proto_rawDescData +} + +var file_ExpeditionRecallReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionRecallReq_proto_goTypes = []interface{}{ + (*ExpeditionRecallReq)(nil), // 0: ExpeditionRecallReq +} +var file_ExpeditionRecallReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionRecallReq_proto_init() } +func file_ExpeditionRecallReq_proto_init() { + if File_ExpeditionRecallReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionRecallReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionRecallReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionRecallReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionRecallReq_proto_goTypes, + DependencyIndexes: file_ExpeditionRecallReq_proto_depIdxs, + MessageInfos: file_ExpeditionRecallReq_proto_msgTypes, + }.Build() + File_ExpeditionRecallReq_proto = out.File + file_ExpeditionRecallReq_proto_rawDesc = nil + file_ExpeditionRecallReq_proto_goTypes = nil + file_ExpeditionRecallReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionRecallReq.proto b/gate-hk4e-api/proto/ExpeditionRecallReq.proto new file mode 100644 index 00000000..bdf9c4a9 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionRecallReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExpeditionRecallReq { + uint32 path_id = 13; +} diff --git a/gate-hk4e-api/proto/ExpeditionRecallRsp.pb.go b/gate-hk4e-api/proto/ExpeditionRecallRsp.pb.go new file mode 100644 index 00000000..e04f32c6 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionRecallRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionRecallRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2129 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExpeditionRecallRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PathId uint32 `protobuf:"varint,1,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ExpeditionRecallRsp) Reset() { + *x = ExpeditionRecallRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionRecallRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionRecallRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionRecallRsp) ProtoMessage() {} + +func (x *ExpeditionRecallRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionRecallRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionRecallRsp.ProtoReflect.Descriptor instead. +func (*ExpeditionRecallRsp) Descriptor() ([]byte, []int) { + return file_ExpeditionRecallRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionRecallRsp) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +func (x *ExpeditionRecallRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ExpeditionRecallRsp_proto protoreflect.FileDescriptor + +var file_ExpeditionRecallRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x61, + 0x6c, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x13, 0x45, + 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x52, + 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionRecallRsp_proto_rawDescOnce sync.Once + file_ExpeditionRecallRsp_proto_rawDescData = file_ExpeditionRecallRsp_proto_rawDesc +) + +func file_ExpeditionRecallRsp_proto_rawDescGZIP() []byte { + file_ExpeditionRecallRsp_proto_rawDescOnce.Do(func() { + file_ExpeditionRecallRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionRecallRsp_proto_rawDescData) + }) + return file_ExpeditionRecallRsp_proto_rawDescData +} + +var file_ExpeditionRecallRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionRecallRsp_proto_goTypes = []interface{}{ + (*ExpeditionRecallRsp)(nil), // 0: ExpeditionRecallRsp +} +var file_ExpeditionRecallRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionRecallRsp_proto_init() } +func file_ExpeditionRecallRsp_proto_init() { + if File_ExpeditionRecallRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionRecallRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionRecallRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionRecallRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionRecallRsp_proto_goTypes, + DependencyIndexes: file_ExpeditionRecallRsp_proto_depIdxs, + MessageInfos: file_ExpeditionRecallRsp_proto_msgTypes, + }.Build() + File_ExpeditionRecallRsp_proto = out.File + file_ExpeditionRecallRsp_proto_rawDesc = nil + file_ExpeditionRecallRsp_proto_goTypes = nil + file_ExpeditionRecallRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionRecallRsp.proto b/gate-hk4e-api/proto/ExpeditionRecallRsp.proto new file mode 100644 index 00000000..dbc46815 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionRecallRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2129 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExpeditionRecallRsp { + uint32 path_id = 1; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/ExpeditionStartReq.pb.go b/gate-hk4e-api/proto/ExpeditionStartReq.pb.go new file mode 100644 index 00000000..1d34b88f --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionStartReq.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2087 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExpeditionStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarIdList []uint32 `protobuf:"varint,1,rep,packed,name=avatar_id_list,json=avatarIdList,proto3" json:"avatar_id_list,omitempty"` + AssistUid uint32 `protobuf:"varint,5,opt,name=assist_uid,json=assistUid,proto3" json:"assist_uid,omitempty"` + AssistAvatarId uint32 `protobuf:"varint,8,opt,name=assist_avatar_id,json=assistAvatarId,proto3" json:"assist_avatar_id,omitempty"` + PathId uint32 `protobuf:"varint,7,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` +} + +func (x *ExpeditionStartReq) Reset() { + *x = ExpeditionStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionStartReq) ProtoMessage() {} + +func (x *ExpeditionStartReq) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionStartReq.ProtoReflect.Descriptor instead. +func (*ExpeditionStartReq) Descriptor() ([]byte, []int) { + return file_ExpeditionStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionStartReq) GetAvatarIdList() []uint32 { + if x != nil { + return x.AvatarIdList + } + return nil +} + +func (x *ExpeditionStartReq) GetAssistUid() uint32 { + if x != nil { + return x.AssistUid + } + return 0 +} + +func (x *ExpeditionStartReq) GetAssistAvatarId() uint32 { + if x != nil { + return x.AssistAvatarId + } + return 0 +} + +func (x *ExpeditionStartReq) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +var File_ExpeditionStartReq_proto protoreflect.FileDescriptor + +var file_ExpeditionStartReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x45, + 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x73, 0x73, + 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, + 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionStartReq_proto_rawDescOnce sync.Once + file_ExpeditionStartReq_proto_rawDescData = file_ExpeditionStartReq_proto_rawDesc +) + +func file_ExpeditionStartReq_proto_rawDescGZIP() []byte { + file_ExpeditionStartReq_proto_rawDescOnce.Do(func() { + file_ExpeditionStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionStartReq_proto_rawDescData) + }) + return file_ExpeditionStartReq_proto_rawDescData +} + +var file_ExpeditionStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionStartReq_proto_goTypes = []interface{}{ + (*ExpeditionStartReq)(nil), // 0: ExpeditionStartReq +} +var file_ExpeditionStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionStartReq_proto_init() } +func file_ExpeditionStartReq_proto_init() { + if File_ExpeditionStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionStartReq_proto_goTypes, + DependencyIndexes: file_ExpeditionStartReq_proto_depIdxs, + MessageInfos: file_ExpeditionStartReq_proto_msgTypes, + }.Build() + File_ExpeditionStartReq_proto = out.File + file_ExpeditionStartReq_proto_rawDesc = nil + file_ExpeditionStartReq_proto_goTypes = nil + file_ExpeditionStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionStartReq.proto b/gate-hk4e-api/proto/ExpeditionStartReq.proto new file mode 100644 index 00000000..85cc6b83 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionStartReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2087 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExpeditionStartReq { + repeated uint32 avatar_id_list = 1; + uint32 assist_uid = 5; + uint32 assist_avatar_id = 8; + uint32 path_id = 7; +} diff --git a/gate-hk4e-api/proto/ExpeditionStartRsp.pb.go b/gate-hk4e-api/proto/ExpeditionStartRsp.pb.go new file mode 100644 index 00000000..c969114f --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionStartRsp.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2135 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExpeditionStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssistUid uint32 `protobuf:"varint,1,opt,name=assist_uid,json=assistUid,proto3" json:"assist_uid,omitempty"` + PathId uint32 `protobuf:"varint,7,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` + AvatarIdList []uint32 `protobuf:"varint,4,rep,packed,name=avatar_id_list,json=avatarIdList,proto3" json:"avatar_id_list,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + AssistAvatarId uint32 `protobuf:"varint,2,opt,name=assist_avatar_id,json=assistAvatarId,proto3" json:"assist_avatar_id,omitempty"` +} + +func (x *ExpeditionStartRsp) Reset() { + *x = ExpeditionStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionStartRsp) ProtoMessage() {} + +func (x *ExpeditionStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionStartRsp.ProtoReflect.Descriptor instead. +func (*ExpeditionStartRsp) Descriptor() ([]byte, []int) { + return file_ExpeditionStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionStartRsp) GetAssistUid() uint32 { + if x != nil { + return x.AssistUid + } + return 0 +} + +func (x *ExpeditionStartRsp) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +func (x *ExpeditionStartRsp) GetAvatarIdList() []uint32 { + if x != nil { + return x.AvatarIdList + } + return nil +} + +func (x *ExpeditionStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ExpeditionStartRsp) GetAssistAvatarId() uint32 { + if x != nil { + return x.AssistAvatarId + } + return 0 +} + +var File_ExpeditionStartRsp_proto protoreflect.FileDescriptor + +var file_ExpeditionStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x12, 0x45, + 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, + 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, + 0x69, 0x73, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionStartRsp_proto_rawDescOnce sync.Once + file_ExpeditionStartRsp_proto_rawDescData = file_ExpeditionStartRsp_proto_rawDesc +) + +func file_ExpeditionStartRsp_proto_rawDescGZIP() []byte { + file_ExpeditionStartRsp_proto_rawDescOnce.Do(func() { + file_ExpeditionStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionStartRsp_proto_rawDescData) + }) + return file_ExpeditionStartRsp_proto_rawDescData +} + +var file_ExpeditionStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionStartRsp_proto_goTypes = []interface{}{ + (*ExpeditionStartRsp)(nil), // 0: ExpeditionStartRsp +} +var file_ExpeditionStartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionStartRsp_proto_init() } +func file_ExpeditionStartRsp_proto_init() { + if File_ExpeditionStartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionStartRsp_proto_goTypes, + DependencyIndexes: file_ExpeditionStartRsp_proto_depIdxs, + MessageInfos: file_ExpeditionStartRsp_proto_msgTypes, + }.Build() + File_ExpeditionStartRsp_proto = out.File + file_ExpeditionStartRsp_proto_rawDesc = nil + file_ExpeditionStartRsp_proto_goTypes = nil + file_ExpeditionStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionStartRsp.proto b/gate-hk4e-api/proto/ExpeditionStartRsp.proto new file mode 100644 index 00000000..77437833 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionStartRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2135 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExpeditionStartRsp { + uint32 assist_uid = 1; + uint32 path_id = 7; + repeated uint32 avatar_id_list = 4; + int32 retcode = 12; + uint32 assist_avatar_id = 2; +} diff --git a/gate-hk4e-api/proto/ExpeditionState.pb.go b/gate-hk4e-api/proto/ExpeditionState.pb.go new file mode 100644 index 00000000..fe4f069a --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionState.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExpeditionState int32 + +const ( + ExpeditionState_EXPEDITION_STATE_NONE ExpeditionState = 0 + ExpeditionState_EXPEDITION_STATE_STARTED ExpeditionState = 1 + ExpeditionState_EXPEDITION_STATE_FINISHED ExpeditionState = 2 + ExpeditionState_EXPEDITION_STATE_REWARDED ExpeditionState = 3 + ExpeditionState_EXPEDITION_STATE_LOCKED ExpeditionState = 4 +) + +// Enum value maps for ExpeditionState. +var ( + ExpeditionState_name = map[int32]string{ + 0: "EXPEDITION_STATE_NONE", + 1: "EXPEDITION_STATE_STARTED", + 2: "EXPEDITION_STATE_FINISHED", + 3: "EXPEDITION_STATE_REWARDED", + 4: "EXPEDITION_STATE_LOCKED", + } + ExpeditionState_value = map[string]int32{ + "EXPEDITION_STATE_NONE": 0, + "EXPEDITION_STATE_STARTED": 1, + "EXPEDITION_STATE_FINISHED": 2, + "EXPEDITION_STATE_REWARDED": 3, + "EXPEDITION_STATE_LOCKED": 4, + } +) + +func (x ExpeditionState) Enum() *ExpeditionState { + p := new(ExpeditionState) + *p = x + return p +} + +func (x ExpeditionState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExpeditionState) Descriptor() protoreflect.EnumDescriptor { + return file_ExpeditionState_proto_enumTypes[0].Descriptor() +} + +func (ExpeditionState) Type() protoreflect.EnumType { + return &file_ExpeditionState_proto_enumTypes[0] +} + +func (x ExpeditionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExpeditionState.Descriptor instead. +func (ExpeditionState) EnumDescriptor() ([]byte, []int) { + return file_ExpeditionState_proto_rawDescGZIP(), []int{0} +} + +var File_ExpeditionState_proto protoreflect.FileDescriptor + +var file_ExpeditionState_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xa5, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x45, + 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, + 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, + 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionState_proto_rawDescOnce sync.Once + file_ExpeditionState_proto_rawDescData = file_ExpeditionState_proto_rawDesc +) + +func file_ExpeditionState_proto_rawDescGZIP() []byte { + file_ExpeditionState_proto_rawDescOnce.Do(func() { + file_ExpeditionState_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionState_proto_rawDescData) + }) + return file_ExpeditionState_proto_rawDescData +} + +var file_ExpeditionState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ExpeditionState_proto_goTypes = []interface{}{ + (ExpeditionState)(0), // 0: ExpeditionState +} +var file_ExpeditionState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionState_proto_init() } +func file_ExpeditionState_proto_init() { + if File_ExpeditionState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionState_proto_goTypes, + DependencyIndexes: file_ExpeditionState_proto_depIdxs, + EnumInfos: file_ExpeditionState_proto_enumTypes, + }.Build() + File_ExpeditionState_proto = out.File + file_ExpeditionState_proto_rawDesc = nil + file_ExpeditionState_proto_goTypes = nil + file_ExpeditionState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionState.proto b/gate-hk4e-api/proto/ExpeditionState.proto new file mode 100644 index 00000000..0ac6187b --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionState.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ExpeditionState { + EXPEDITION_STATE_NONE = 0; + EXPEDITION_STATE_STARTED = 1; + EXPEDITION_STATE_FINISHED = 2; + EXPEDITION_STATE_REWARDED = 3; + EXPEDITION_STATE_LOCKED = 4; +} diff --git a/gate-hk4e-api/proto/ExpeditionTakeRewardReq.pb.go b/gate-hk4e-api/proto/ExpeditionTakeRewardReq.pb.go new file mode 100644 index 00000000..d7bd784e --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionTakeRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionTakeRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2149 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ExpeditionTakeRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PathId uint32 `protobuf:"varint,3,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` +} + +func (x *ExpeditionTakeRewardReq) Reset() { + *x = ExpeditionTakeRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionTakeRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionTakeRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionTakeRewardReq) ProtoMessage() {} + +func (x *ExpeditionTakeRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionTakeRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionTakeRewardReq.ProtoReflect.Descriptor instead. +func (*ExpeditionTakeRewardReq) Descriptor() ([]byte, []int) { + return file_ExpeditionTakeRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionTakeRewardReq) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +var File_ExpeditionTakeRewardReq_proto protoreflect.FileDescriptor + +var file_ExpeditionTakeRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x32, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, + 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, + 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionTakeRewardReq_proto_rawDescOnce sync.Once + file_ExpeditionTakeRewardReq_proto_rawDescData = file_ExpeditionTakeRewardReq_proto_rawDesc +) + +func file_ExpeditionTakeRewardReq_proto_rawDescGZIP() []byte { + file_ExpeditionTakeRewardReq_proto_rawDescOnce.Do(func() { + file_ExpeditionTakeRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionTakeRewardReq_proto_rawDescData) + }) + return file_ExpeditionTakeRewardReq_proto_rawDescData +} + +var file_ExpeditionTakeRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionTakeRewardReq_proto_goTypes = []interface{}{ + (*ExpeditionTakeRewardReq)(nil), // 0: ExpeditionTakeRewardReq +} +var file_ExpeditionTakeRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionTakeRewardReq_proto_init() } +func file_ExpeditionTakeRewardReq_proto_init() { + if File_ExpeditionTakeRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionTakeRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionTakeRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionTakeRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionTakeRewardReq_proto_goTypes, + DependencyIndexes: file_ExpeditionTakeRewardReq_proto_depIdxs, + MessageInfos: file_ExpeditionTakeRewardReq_proto_msgTypes, + }.Build() + File_ExpeditionTakeRewardReq_proto = out.File + file_ExpeditionTakeRewardReq_proto_rawDesc = nil + file_ExpeditionTakeRewardReq_proto_goTypes = nil + file_ExpeditionTakeRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionTakeRewardReq.proto b/gate-hk4e-api/proto/ExpeditionTakeRewardReq.proto new file mode 100644 index 00000000..97851522 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionTakeRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2149 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ExpeditionTakeRewardReq { + uint32 path_id = 3; +} diff --git a/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.pb.go b/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.pb.go new file mode 100644 index 00000000..60217cdf --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ExpeditionTakeRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2080 +// EnetChannelId: 0 +// EnetIsReliable: true +type ExpeditionTakeRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsBonus bool `protobuf:"varint,11,opt,name=is_bonus,json=isBonus,proto3" json:"is_bonus,omitempty"` + RewardLevel uint32 `protobuf:"varint,1,opt,name=reward_level,json=rewardLevel,proto3" json:"reward_level,omitempty"` + PathId uint32 `protobuf:"varint,9,opt,name=path_id,json=pathId,proto3" json:"path_id,omitempty"` +} + +func (x *ExpeditionTakeRewardRsp) Reset() { + *x = ExpeditionTakeRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ExpeditionTakeRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpeditionTakeRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpeditionTakeRewardRsp) ProtoMessage() {} + +func (x *ExpeditionTakeRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ExpeditionTakeRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpeditionTakeRewardRsp.ProtoReflect.Descriptor instead. +func (*ExpeditionTakeRewardRsp) Descriptor() ([]byte, []int) { + return file_ExpeditionTakeRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ExpeditionTakeRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ExpeditionTakeRewardRsp) GetIsBonus() bool { + if x != nil { + return x.IsBonus + } + return false +} + +func (x *ExpeditionTakeRewardRsp) GetRewardLevel() uint32 { + if x != nil { + return x.RewardLevel + } + return 0 +} + +func (x *ExpeditionTakeRewardRsp) GetPathId() uint32 { + if x != nil { + return x.PathId + } + return 0 +} + +var File_ExpeditionTakeRewardRsp_proto protoreflect.FileDescriptor + +var file_ExpeditionTakeRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x8a, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x62, 0x6f, 0x6e, 0x75, + 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x42, 0x6f, 0x6e, 0x75, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x74, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ExpeditionTakeRewardRsp_proto_rawDescOnce sync.Once + file_ExpeditionTakeRewardRsp_proto_rawDescData = file_ExpeditionTakeRewardRsp_proto_rawDesc +) + +func file_ExpeditionTakeRewardRsp_proto_rawDescGZIP() []byte { + file_ExpeditionTakeRewardRsp_proto_rawDescOnce.Do(func() { + file_ExpeditionTakeRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ExpeditionTakeRewardRsp_proto_rawDescData) + }) + return file_ExpeditionTakeRewardRsp_proto_rawDescData +} + +var file_ExpeditionTakeRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ExpeditionTakeRewardRsp_proto_goTypes = []interface{}{ + (*ExpeditionTakeRewardRsp)(nil), // 0: ExpeditionTakeRewardRsp +} +var file_ExpeditionTakeRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ExpeditionTakeRewardRsp_proto_init() } +func file_ExpeditionTakeRewardRsp_proto_init() { + if File_ExpeditionTakeRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ExpeditionTakeRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpeditionTakeRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ExpeditionTakeRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ExpeditionTakeRewardRsp_proto_goTypes, + DependencyIndexes: file_ExpeditionTakeRewardRsp_proto_depIdxs, + MessageInfos: file_ExpeditionTakeRewardRsp_proto_msgTypes, + }.Build() + File_ExpeditionTakeRewardRsp_proto = out.File + file_ExpeditionTakeRewardRsp_proto_rawDesc = nil + file_ExpeditionTakeRewardRsp_proto_goTypes = nil + file_ExpeditionTakeRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.proto b/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.proto new file mode 100644 index 00000000..e9c5b8e4 --- /dev/null +++ b/gate-hk4e-api/proto/ExpeditionTakeRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2080 +// EnetChannelId: 0 +// EnetIsReliable: true +message ExpeditionTakeRewardRsp { + int32 retcode = 13; + bool is_bonus = 11; + uint32 reward_level = 1; + uint32 path_id = 9; +} diff --git a/gate-hk4e-api/proto/FallPlayerBrief.pb.go b/gate-hk4e-api/proto/FallPlayerBrief.pb.go new file mode 100644 index 00000000..7a3aacb1 --- /dev/null +++ b/gate-hk4e-api/proto/FallPlayerBrief.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FallPlayerBrief.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FallPlayerBrief struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"` + IsGround bool `protobuf:"varint,5,opt,name=is_ground,json=isGround,proto3" json:"is_ground,omitempty"` + Score uint32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *FallPlayerBrief) Reset() { + *x = FallPlayerBrief{} + if protoimpl.UnsafeEnabled { + mi := &file_FallPlayerBrief_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FallPlayerBrief) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FallPlayerBrief) ProtoMessage() {} + +func (x *FallPlayerBrief) ProtoReflect() protoreflect.Message { + mi := &file_FallPlayerBrief_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FallPlayerBrief.ProtoReflect.Descriptor instead. +func (*FallPlayerBrief) Descriptor() ([]byte, []int) { + return file_FallPlayerBrief_proto_rawDescGZIP(), []int{0} +} + +func (x *FallPlayerBrief) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FallPlayerBrief) GetIsGround() bool { + if x != nil { + return x.IsGround + } + return false +} + +func (x *FallPlayerBrief) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +var File_FallPlayerBrief_proto protoreflect.FileDescriptor + +var file_FallPlayerBrief_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x0f, 0x46, 0x61, 0x6c, 0x6c, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x69, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x69, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_FallPlayerBrief_proto_rawDescOnce sync.Once + file_FallPlayerBrief_proto_rawDescData = file_FallPlayerBrief_proto_rawDesc +) + +func file_FallPlayerBrief_proto_rawDescGZIP() []byte { + file_FallPlayerBrief_proto_rawDescOnce.Do(func() { + file_FallPlayerBrief_proto_rawDescData = protoimpl.X.CompressGZIP(file_FallPlayerBrief_proto_rawDescData) + }) + return file_FallPlayerBrief_proto_rawDescData +} + +var file_FallPlayerBrief_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FallPlayerBrief_proto_goTypes = []interface{}{ + (*FallPlayerBrief)(nil), // 0: FallPlayerBrief +} +var file_FallPlayerBrief_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FallPlayerBrief_proto_init() } +func file_FallPlayerBrief_proto_init() { + if File_FallPlayerBrief_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FallPlayerBrief_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FallPlayerBrief); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FallPlayerBrief_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FallPlayerBrief_proto_goTypes, + DependencyIndexes: file_FallPlayerBrief_proto_depIdxs, + MessageInfos: file_FallPlayerBrief_proto_msgTypes, + }.Build() + File_FallPlayerBrief_proto = out.File + file_FallPlayerBrief_proto_rawDesc = nil + file_FallPlayerBrief_proto_goTypes = nil + file_FallPlayerBrief_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FallPlayerBrief.proto b/gate-hk4e-api/proto/FallPlayerBrief.proto new file mode 100644 index 00000000..da181d02 --- /dev/null +++ b/gate-hk4e-api/proto/FallPlayerBrief.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FallPlayerBrief { + uint32 uid = 13; + bool is_ground = 5; + uint32 score = 10; +} diff --git a/gate-hk4e-api/proto/FallPlayerInfo.pb.go b/gate-hk4e-api/proto/FallPlayerInfo.pb.go new file mode 100644 index 00000000..b25d47b0 --- /dev/null +++ b/gate-hk4e-api/proto/FallPlayerInfo.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FallPlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FallPlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeCost uint32 `protobuf:"varint,11,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"` + Uid uint32 `protobuf:"varint,9,opt,name=uid,proto3" json:"uid,omitempty"` + BallCatchCountMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=ball_catch_count_map,json=ballCatchCountMap,proto3" json:"ball_catch_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CurScore uint32 `protobuf:"varint,7,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + IsGround bool `protobuf:"varint,15,opt,name=is_ground,json=isGround,proto3" json:"is_ground,omitempty"` +} + +func (x *FallPlayerInfo) Reset() { + *x = FallPlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FallPlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FallPlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FallPlayerInfo) ProtoMessage() {} + +func (x *FallPlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_FallPlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FallPlayerInfo.ProtoReflect.Descriptor instead. +func (*FallPlayerInfo) Descriptor() ([]byte, []int) { + return file_FallPlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FallPlayerInfo) GetTimeCost() uint32 { + if x != nil { + return x.TimeCost + } + return 0 +} + +func (x *FallPlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FallPlayerInfo) GetBallCatchCountMap() map[uint32]uint32 { + if x != nil { + return x.BallCatchCountMap + } + return nil +} + +func (x *FallPlayerInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *FallPlayerInfo) GetIsGround() bool { + if x != nil { + return x.IsGround + } + return false +} + +var File_FallPlayerInfo_proto protoreflect.FileDescriptor + +var file_FallPlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x0e, 0x46, 0x61, 0x6c, 0x6c, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x69, + 0x6d, 0x65, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x57, 0x0a, 0x14, 0x62, 0x61, 0x6c, 0x6c, + 0x5f, 0x63, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x63, + 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, + 0x62, 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, + 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x44, 0x0a, 0x16, 0x42, + 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FallPlayerInfo_proto_rawDescOnce sync.Once + file_FallPlayerInfo_proto_rawDescData = file_FallPlayerInfo_proto_rawDesc +) + +func file_FallPlayerInfo_proto_rawDescGZIP() []byte { + file_FallPlayerInfo_proto_rawDescOnce.Do(func() { + file_FallPlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FallPlayerInfo_proto_rawDescData) + }) + return file_FallPlayerInfo_proto_rawDescData +} + +var file_FallPlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FallPlayerInfo_proto_goTypes = []interface{}{ + (*FallPlayerInfo)(nil), // 0: FallPlayerInfo + nil, // 1: FallPlayerInfo.BallCatchCountMapEntry +} +var file_FallPlayerInfo_proto_depIdxs = []int32{ + 1, // 0: FallPlayerInfo.ball_catch_count_map:type_name -> FallPlayerInfo.BallCatchCountMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FallPlayerInfo_proto_init() } +func file_FallPlayerInfo_proto_init() { + if File_FallPlayerInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FallPlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FallPlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FallPlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FallPlayerInfo_proto_goTypes, + DependencyIndexes: file_FallPlayerInfo_proto_depIdxs, + MessageInfos: file_FallPlayerInfo_proto_msgTypes, + }.Build() + File_FallPlayerInfo_proto = out.File + file_FallPlayerInfo_proto_rawDesc = nil + file_FallPlayerInfo_proto_goTypes = nil + file_FallPlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FallPlayerInfo.proto b/gate-hk4e-api/proto/FallPlayerInfo.proto new file mode 100644 index 00000000..4612d424 --- /dev/null +++ b/gate-hk4e-api/proto/FallPlayerInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FallPlayerInfo { + uint32 time_cost = 11; + uint32 uid = 9; + map ball_catch_count_map = 6; + uint32 cur_score = 7; + bool is_ground = 15; +} diff --git a/gate-hk4e-api/proto/FallSettleInfo.pb.go b/gate-hk4e-api/proto/FallSettleInfo.pb.go new file mode 100644 index 00000000..b4a2cb22 --- /dev/null +++ b/gate-hk4e-api/proto/FallSettleInfo.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FallSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FallSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatchCount uint32 `protobuf:"varint,15,opt,name=catch_count,json=catchCount,proto3" json:"catch_count,omitempty"` + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,13,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` + FlowerRingCatchCountMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=flower_ring_catch_count_map,json=flowerRingCatchCountMap,proto3" json:"flower_ring_catch_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + RemainTime uint32 `protobuf:"varint,10,opt,name=remain_time,json=remainTime,proto3" json:"remain_time,omitempty"` + FinalScore uint32 `protobuf:"varint,1,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` +} + +func (x *FallSettleInfo) Reset() { + *x = FallSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FallSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FallSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FallSettleInfo) ProtoMessage() {} + +func (x *FallSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FallSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FallSettleInfo.ProtoReflect.Descriptor instead. +func (*FallSettleInfo) Descriptor() ([]byte, []int) { + return file_FallSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FallSettleInfo) GetCatchCount() uint32 { + if x != nil { + return x.CatchCount + } + return 0 +} + +func (x *FallSettleInfo) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +func (x *FallSettleInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FallSettleInfo) GetFlowerRingCatchCountMap() map[uint32]uint32 { + if x != nil { + return x.FlowerRingCatchCountMap + } + return nil +} + +func (x *FallSettleInfo) GetRemainTime() uint32 { + if x != nil { + return x.RemainTime + } + return 0 +} + +func (x *FallSettleInfo) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +var File_FallSettleInfo_proto protoreflect.FileDescriptor + +var file_FallSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, + 0x02, 0x0a, 0x0e, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x6a, 0x0a, 0x1b, 0x66, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x66, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x52, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x69, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, + 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x4a, 0x0a, 0x1c, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x52, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FallSettleInfo_proto_rawDescOnce sync.Once + file_FallSettleInfo_proto_rawDescData = file_FallSettleInfo_proto_rawDesc +) + +func file_FallSettleInfo_proto_rawDescGZIP() []byte { + file_FallSettleInfo_proto_rawDescOnce.Do(func() { + file_FallSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FallSettleInfo_proto_rawDescData) + }) + return file_FallSettleInfo_proto_rawDescData +} + +var file_FallSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FallSettleInfo_proto_goTypes = []interface{}{ + (*FallSettleInfo)(nil), // 0: FallSettleInfo + nil, // 1: FallSettleInfo.FlowerRingCatchCountMapEntry + (*OnlinePlayerInfo)(nil), // 2: OnlinePlayerInfo +} +var file_FallSettleInfo_proto_depIdxs = []int32{ + 2, // 0: FallSettleInfo.player_info:type_name -> OnlinePlayerInfo + 1, // 1: FallSettleInfo.flower_ring_catch_count_map:type_name -> FallSettleInfo.FlowerRingCatchCountMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FallSettleInfo_proto_init() } +func file_FallSettleInfo_proto_init() { + if File_FallSettleInfo_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FallSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FallSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FallSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FallSettleInfo_proto_goTypes, + DependencyIndexes: file_FallSettleInfo_proto_depIdxs, + MessageInfos: file_FallSettleInfo_proto_msgTypes, + }.Build() + File_FallSettleInfo_proto = out.File + file_FallSettleInfo_proto_rawDesc = nil + file_FallSettleInfo_proto_goTypes = nil + file_FallSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FallSettleInfo.proto b/gate-hk4e-api/proto/FallSettleInfo.proto new file mode 100644 index 00000000..71bc66c8 --- /dev/null +++ b/gate-hk4e-api/proto/FallSettleInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message FallSettleInfo { + uint32 catch_count = 15; + OnlinePlayerInfo player_info = 13; + uint32 uid = 14; + map flower_ring_catch_count_map = 3; + uint32 remain_time = 10; + uint32 final_score = 1; +} diff --git a/gate-hk4e-api/proto/FeatureBlockInfo.pb.go b/gate-hk4e-api/proto/FeatureBlockInfo.pb.go new file mode 100644 index 00000000..704fc268 --- /dev/null +++ b/gate-hk4e-api/proto/FeatureBlockInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FeatureBlockInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FeatureBlockInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FeatureType uint32 `protobuf:"varint,1,opt,name=feature_type,json=featureType,proto3" json:"feature_type,omitempty"` + EndTime uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *FeatureBlockInfo) Reset() { + *x = FeatureBlockInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FeatureBlockInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FeatureBlockInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FeatureBlockInfo) ProtoMessage() {} + +func (x *FeatureBlockInfo) ProtoReflect() protoreflect.Message { + mi := &file_FeatureBlockInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FeatureBlockInfo.ProtoReflect.Descriptor instead. +func (*FeatureBlockInfo) Descriptor() ([]byte, []int) { + return file_FeatureBlockInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FeatureBlockInfo) GetFeatureType() uint32 { + if x != nil { + return x.FeatureType + } + return 0 +} + +func (x *FeatureBlockInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_FeatureBlockInfo_proto protoreflect.FileDescriptor + +var file_FeatureBlockInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x10, 0x46, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FeatureBlockInfo_proto_rawDescOnce sync.Once + file_FeatureBlockInfo_proto_rawDescData = file_FeatureBlockInfo_proto_rawDesc +) + +func file_FeatureBlockInfo_proto_rawDescGZIP() []byte { + file_FeatureBlockInfo_proto_rawDescOnce.Do(func() { + file_FeatureBlockInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FeatureBlockInfo_proto_rawDescData) + }) + return file_FeatureBlockInfo_proto_rawDescData +} + +var file_FeatureBlockInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FeatureBlockInfo_proto_goTypes = []interface{}{ + (*FeatureBlockInfo)(nil), // 0: FeatureBlockInfo +} +var file_FeatureBlockInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FeatureBlockInfo_proto_init() } +func file_FeatureBlockInfo_proto_init() { + if File_FeatureBlockInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FeatureBlockInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureBlockInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FeatureBlockInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FeatureBlockInfo_proto_goTypes, + DependencyIndexes: file_FeatureBlockInfo_proto_depIdxs, + MessageInfos: file_FeatureBlockInfo_proto_msgTypes, + }.Build() + File_FeatureBlockInfo_proto = out.File + file_FeatureBlockInfo_proto_rawDesc = nil + file_FeatureBlockInfo_proto_goTypes = nil + file_FeatureBlockInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FeatureBlockInfo.proto b/gate-hk4e-api/proto/FeatureBlockInfo.proto new file mode 100644 index 00000000..61a04a89 --- /dev/null +++ b/gate-hk4e-api/proto/FeatureBlockInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FeatureBlockInfo { + uint32 feature_type = 1; + uint32 end_time = 2; +} diff --git a/gate-hk4e-api/proto/FetterData.pb.go b/gate-hk4e-api/proto/FetterData.pb.go new file mode 100644 index 00000000..1db32e73 --- /dev/null +++ b/gate-hk4e-api/proto/FetterData.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FetterData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FetterData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FetterId uint32 `protobuf:"varint,1,opt,name=fetter_id,json=fetterId,proto3" json:"fetter_id,omitempty"` + FetterState uint32 `protobuf:"varint,2,opt,name=fetter_state,json=fetterState,proto3" json:"fetter_state,omitempty"` + CondIndexList []uint32 `protobuf:"varint,3,rep,packed,name=cond_index_list,json=condIndexList,proto3" json:"cond_index_list,omitempty"` +} + +func (x *FetterData) Reset() { + *x = FetterData{} + if protoimpl.UnsafeEnabled { + mi := &file_FetterData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetterData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetterData) ProtoMessage() {} + +func (x *FetterData) ProtoReflect() protoreflect.Message { + mi := &file_FetterData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetterData.ProtoReflect.Descriptor instead. +func (*FetterData) Descriptor() ([]byte, []int) { + return file_FetterData_proto_rawDescGZIP(), []int{0} +} + +func (x *FetterData) GetFetterId() uint32 { + if x != nil { + return x.FetterId + } + return 0 +} + +func (x *FetterData) GetFetterState() uint32 { + if x != nil { + return x.FetterState + } + return 0 +} + +func (x *FetterData) GetCondIndexList() []uint32 { + if x != nil { + return x.CondIndexList + } + return nil +} + +var File_FetterData_proto protoreflect.FileDescriptor + +var file_FetterData_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x0a, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x64, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FetterData_proto_rawDescOnce sync.Once + file_FetterData_proto_rawDescData = file_FetterData_proto_rawDesc +) + +func file_FetterData_proto_rawDescGZIP() []byte { + file_FetterData_proto_rawDescOnce.Do(func() { + file_FetterData_proto_rawDescData = protoimpl.X.CompressGZIP(file_FetterData_proto_rawDescData) + }) + return file_FetterData_proto_rawDescData +} + +var file_FetterData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FetterData_proto_goTypes = []interface{}{ + (*FetterData)(nil), // 0: FetterData +} +var file_FetterData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FetterData_proto_init() } +func file_FetterData_proto_init() { + if File_FetterData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FetterData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetterData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FetterData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FetterData_proto_goTypes, + DependencyIndexes: file_FetterData_proto_depIdxs, + MessageInfos: file_FetterData_proto_msgTypes, + }.Build() + File_FetterData_proto = out.File + file_FetterData_proto_rawDesc = nil + file_FetterData_proto_goTypes = nil + file_FetterData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FetterData.proto b/gate-hk4e-api/proto/FetterData.proto new file mode 100644 index 00000000..8abf8cf0 --- /dev/null +++ b/gate-hk4e-api/proto/FetterData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FetterData { + uint32 fetter_id = 1; + uint32 fetter_state = 2; + repeated uint32 cond_index_list = 3; +} diff --git a/gate-hk4e-api/proto/FightPropPair.pb.go b/gate-hk4e-api/proto/FightPropPair.pb.go new file mode 100644 index 00000000..7c5f45ef --- /dev/null +++ b/gate-hk4e-api/proto/FightPropPair.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FightPropPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FightPropPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropType uint32 `protobuf:"varint,1,opt,name=prop_type,json=propType,proto3" json:"prop_type,omitempty"` + PropValue float32 `protobuf:"fixed32,2,opt,name=prop_value,json=propValue,proto3" json:"prop_value,omitempty"` +} + +func (x *FightPropPair) Reset() { + *x = FightPropPair{} + if protoimpl.UnsafeEnabled { + mi := &file_FightPropPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FightPropPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FightPropPair) ProtoMessage() {} + +func (x *FightPropPair) ProtoReflect() protoreflect.Message { + mi := &file_FightPropPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FightPropPair.ProtoReflect.Descriptor instead. +func (*FightPropPair) Descriptor() ([]byte, []int) { + return file_FightPropPair_proto_rawDescGZIP(), []int{0} +} + +func (x *FightPropPair) GetPropType() uint32 { + if x != nil { + return x.PropType + } + return 0 +} + +func (x *FightPropPair) GetPropValue() float32 { + if x != nil { + return x.PropValue + } + return 0 +} + +var File_FightPropPair_proto protoreflect.FileDescriptor + +var file_FightPropPair_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0d, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, + 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FightPropPair_proto_rawDescOnce sync.Once + file_FightPropPair_proto_rawDescData = file_FightPropPair_proto_rawDesc +) + +func file_FightPropPair_proto_rawDescGZIP() []byte { + file_FightPropPair_proto_rawDescOnce.Do(func() { + file_FightPropPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_FightPropPair_proto_rawDescData) + }) + return file_FightPropPair_proto_rawDescData +} + +var file_FightPropPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FightPropPair_proto_goTypes = []interface{}{ + (*FightPropPair)(nil), // 0: FightPropPair +} +var file_FightPropPair_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FightPropPair_proto_init() } +func file_FightPropPair_proto_init() { + if File_FightPropPair_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FightPropPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FightPropPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FightPropPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FightPropPair_proto_goTypes, + DependencyIndexes: file_FightPropPair_proto_depIdxs, + MessageInfos: file_FightPropPair_proto_msgTypes, + }.Build() + File_FightPropPair_proto = out.File + file_FightPropPair_proto_rawDesc = nil + file_FightPropPair_proto_goTypes = nil + file_FightPropPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FightPropPair.proto b/gate-hk4e-api/proto/FightPropPair.proto new file mode 100644 index 00000000..1397d7c1 --- /dev/null +++ b/gate-hk4e-api/proto/FightPropPair.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FightPropPair { + uint32 prop_type = 1; + float prop_value = 2; +} diff --git a/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.pb.go b/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.pb.go new file mode 100644 index 00000000..5d406168 --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FindHilichurlAcceptQuestNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8659 +// EnetChannelId: 0 +// EnetIsReliable: true +type FindHilichurlAcceptQuestNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FindHilichurlAcceptQuestNotify) Reset() { + *x = FindHilichurlAcceptQuestNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FindHilichurlAcceptQuestNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindHilichurlAcceptQuestNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindHilichurlAcceptQuestNotify) ProtoMessage() {} + +func (x *FindHilichurlAcceptQuestNotify) ProtoReflect() protoreflect.Message { + mi := &file_FindHilichurlAcceptQuestNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindHilichurlAcceptQuestNotify.ProtoReflect.Descriptor instead. +func (*FindHilichurlAcceptQuestNotify) Descriptor() ([]byte, []int) { + return file_FindHilichurlAcceptQuestNotify_proto_rawDescGZIP(), []int{0} +} + +var File_FindHilichurlAcceptQuestNotify_proto protoreflect.FileDescriptor + +var file_FindHilichurlAcceptQuestNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, + 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FindHilichurlAcceptQuestNotify_proto_rawDescOnce sync.Once + file_FindHilichurlAcceptQuestNotify_proto_rawDescData = file_FindHilichurlAcceptQuestNotify_proto_rawDesc +) + +func file_FindHilichurlAcceptQuestNotify_proto_rawDescGZIP() []byte { + file_FindHilichurlAcceptQuestNotify_proto_rawDescOnce.Do(func() { + file_FindHilichurlAcceptQuestNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FindHilichurlAcceptQuestNotify_proto_rawDescData) + }) + return file_FindHilichurlAcceptQuestNotify_proto_rawDescData +} + +var file_FindHilichurlAcceptQuestNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FindHilichurlAcceptQuestNotify_proto_goTypes = []interface{}{ + (*FindHilichurlAcceptQuestNotify)(nil), // 0: FindHilichurlAcceptQuestNotify +} +var file_FindHilichurlAcceptQuestNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FindHilichurlAcceptQuestNotify_proto_init() } +func file_FindHilichurlAcceptQuestNotify_proto_init() { + if File_FindHilichurlAcceptQuestNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FindHilichurlAcceptQuestNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindHilichurlAcceptQuestNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FindHilichurlAcceptQuestNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FindHilichurlAcceptQuestNotify_proto_goTypes, + DependencyIndexes: file_FindHilichurlAcceptQuestNotify_proto_depIdxs, + MessageInfos: file_FindHilichurlAcceptQuestNotify_proto_msgTypes, + }.Build() + File_FindHilichurlAcceptQuestNotify_proto = out.File + file_FindHilichurlAcceptQuestNotify_proto_rawDesc = nil + file_FindHilichurlAcceptQuestNotify_proto_goTypes = nil + file_FindHilichurlAcceptQuestNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.proto b/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.proto new file mode 100644 index 00000000..48fa51f1 --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlAcceptQuestNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8659 +// EnetChannelId: 0 +// EnetIsReliable: true +message FindHilichurlAcceptQuestNotify {} diff --git a/gate-hk4e-api/proto/FindHilichurlDayContentInfo.pb.go b/gate-hk4e-api/proto/FindHilichurlDayContentInfo.pb.go new file mode 100644 index 00000000..05974389 --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlDayContentInfo.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FindHilichurlDayContentInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FindHilichurlDayContentInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime uint32 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` +} + +func (x *FindHilichurlDayContentInfo) Reset() { + *x = FindHilichurlDayContentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FindHilichurlDayContentInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindHilichurlDayContentInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindHilichurlDayContentInfo) ProtoMessage() {} + +func (x *FindHilichurlDayContentInfo) ProtoReflect() protoreflect.Message { + mi := &file_FindHilichurlDayContentInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindHilichurlDayContentInfo.ProtoReflect.Descriptor instead. +func (*FindHilichurlDayContentInfo) Descriptor() ([]byte, []int) { + return file_FindHilichurlDayContentInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FindHilichurlDayContentInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +var File_FindHilichurlDayContentInfo_proto protoreflect.FileDescriptor + +var file_FindHilichurlDayContentInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, + 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, + 0x68, 0x75, 0x72, 0x6c, 0x44, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FindHilichurlDayContentInfo_proto_rawDescOnce sync.Once + file_FindHilichurlDayContentInfo_proto_rawDescData = file_FindHilichurlDayContentInfo_proto_rawDesc +) + +func file_FindHilichurlDayContentInfo_proto_rawDescGZIP() []byte { + file_FindHilichurlDayContentInfo_proto_rawDescOnce.Do(func() { + file_FindHilichurlDayContentInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FindHilichurlDayContentInfo_proto_rawDescData) + }) + return file_FindHilichurlDayContentInfo_proto_rawDescData +} + +var file_FindHilichurlDayContentInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FindHilichurlDayContentInfo_proto_goTypes = []interface{}{ + (*FindHilichurlDayContentInfo)(nil), // 0: FindHilichurlDayContentInfo +} +var file_FindHilichurlDayContentInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FindHilichurlDayContentInfo_proto_init() } +func file_FindHilichurlDayContentInfo_proto_init() { + if File_FindHilichurlDayContentInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FindHilichurlDayContentInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindHilichurlDayContentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FindHilichurlDayContentInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FindHilichurlDayContentInfo_proto_goTypes, + DependencyIndexes: file_FindHilichurlDayContentInfo_proto_depIdxs, + MessageInfos: file_FindHilichurlDayContentInfo_proto_msgTypes, + }.Build() + File_FindHilichurlDayContentInfo_proto = out.File + file_FindHilichurlDayContentInfo_proto_rawDesc = nil + file_FindHilichurlDayContentInfo_proto_goTypes = nil + file_FindHilichurlDayContentInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FindHilichurlDayContentInfo.proto b/gate-hk4e-api/proto/FindHilichurlDayContentInfo.proto new file mode 100644 index 00000000..9c5e755a --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlDayContentInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FindHilichurlDayContentInfo { + uint32 start_time = 1; +} diff --git a/gate-hk4e-api/proto/FindHilichurlDetailInfo.pb.go b/gate-hk4e-api/proto/FindHilichurlDetailInfo.pb.go new file mode 100644 index 00000000..09321934 --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlDetailInfo.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FindHilichurlDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FindHilichurlDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DayContentInfoList []*FindHilichurlDayContentInfo `protobuf:"bytes,1,rep,name=day_content_info_list,json=dayContentInfoList,proto3" json:"day_content_info_list,omitempty"` + MinOpenPlayerLevel uint32 `protobuf:"varint,12,opt,name=min_open_player_level,json=minOpenPlayerLevel,proto3" json:"min_open_player_level,omitempty"` + IsEndQuestAccept bool `protobuf:"varint,7,opt,name=is_end_quest_accept,json=isEndQuestAccept,proto3" json:"is_end_quest_accept,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,6,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,9,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + PlayerDayIndex uint32 `protobuf:"varint,4,opt,name=player_day_index,json=playerDayIndex,proto3" json:"player_day_index,omitempty"` + DayIndex uint32 `protobuf:"varint,15,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` +} + +func (x *FindHilichurlDetailInfo) Reset() { + *x = FindHilichurlDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FindHilichurlDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindHilichurlDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindHilichurlDetailInfo) ProtoMessage() {} + +func (x *FindHilichurlDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_FindHilichurlDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindHilichurlDetailInfo.ProtoReflect.Descriptor instead. +func (*FindHilichurlDetailInfo) Descriptor() ([]byte, []int) { + return file_FindHilichurlDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FindHilichurlDetailInfo) GetDayContentInfoList() []*FindHilichurlDayContentInfo { + if x != nil { + return x.DayContentInfoList + } + return nil +} + +func (x *FindHilichurlDetailInfo) GetMinOpenPlayerLevel() uint32 { + if x != nil { + return x.MinOpenPlayerLevel + } + return 0 +} + +func (x *FindHilichurlDetailInfo) GetIsEndQuestAccept() bool { + if x != nil { + return x.IsEndQuestAccept + } + return false +} + +func (x *FindHilichurlDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *FindHilichurlDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *FindHilichurlDetailInfo) GetPlayerDayIndex() uint32 { + if x != nil { + return x.PlayerDayIndex + } + return 0 +} + +func (x *FindHilichurlDetailInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +var File_FindHilichurlDetailInfo_proto protoreflect.FileDescriptor + +var file_FindHilichurlDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x21, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, 0x61, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xed, 0x02, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, + 0x68, 0x75, 0x72, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4f, + 0x0a, 0x15, 0x64, 0x61, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x44, 0x61, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x64, 0x61, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x6d, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x2d, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x10, 0x69, 0x73, 0x45, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x41, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, + 0x6f, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x79, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x79, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FindHilichurlDetailInfo_proto_rawDescOnce sync.Once + file_FindHilichurlDetailInfo_proto_rawDescData = file_FindHilichurlDetailInfo_proto_rawDesc +) + +func file_FindHilichurlDetailInfo_proto_rawDescGZIP() []byte { + file_FindHilichurlDetailInfo_proto_rawDescOnce.Do(func() { + file_FindHilichurlDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FindHilichurlDetailInfo_proto_rawDescData) + }) + return file_FindHilichurlDetailInfo_proto_rawDescData +} + +var file_FindHilichurlDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FindHilichurlDetailInfo_proto_goTypes = []interface{}{ + (*FindHilichurlDetailInfo)(nil), // 0: FindHilichurlDetailInfo + (*FindHilichurlDayContentInfo)(nil), // 1: FindHilichurlDayContentInfo +} +var file_FindHilichurlDetailInfo_proto_depIdxs = []int32{ + 1, // 0: FindHilichurlDetailInfo.day_content_info_list:type_name -> FindHilichurlDayContentInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FindHilichurlDetailInfo_proto_init() } +func file_FindHilichurlDetailInfo_proto_init() { + if File_FindHilichurlDetailInfo_proto != nil { + return + } + file_FindHilichurlDayContentInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FindHilichurlDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindHilichurlDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FindHilichurlDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FindHilichurlDetailInfo_proto_goTypes, + DependencyIndexes: file_FindHilichurlDetailInfo_proto_depIdxs, + MessageInfos: file_FindHilichurlDetailInfo_proto_msgTypes, + }.Build() + File_FindHilichurlDetailInfo_proto = out.File + file_FindHilichurlDetailInfo_proto_rawDesc = nil + file_FindHilichurlDetailInfo_proto_goTypes = nil + file_FindHilichurlDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FindHilichurlDetailInfo.proto b/gate-hk4e-api/proto/FindHilichurlDetailInfo.proto new file mode 100644 index 00000000..460a8b2b --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FindHilichurlDayContentInfo.proto"; + +option go_package = "./;proto"; + +message FindHilichurlDetailInfo { + repeated FindHilichurlDayContentInfo day_content_info_list = 1; + uint32 min_open_player_level = 12; + bool is_end_quest_accept = 7; + uint32 content_close_time = 6; + bool is_content_closed = 9; + uint32 player_day_index = 4; + uint32 day_index = 15; +} diff --git a/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.pb.go b/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.pb.go new file mode 100644 index 00000000..6058b23e --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FindHilichurlFinishSecondQuestNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8901 +// EnetChannelId: 0 +// EnetIsReliable: true +type FindHilichurlFinishSecondQuestNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DayIndex uint32 `protobuf:"varint,11,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` +} + +func (x *FindHilichurlFinishSecondQuestNotify) Reset() { + *x = FindHilichurlFinishSecondQuestNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FindHilichurlFinishSecondQuestNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindHilichurlFinishSecondQuestNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindHilichurlFinishSecondQuestNotify) ProtoMessage() {} + +func (x *FindHilichurlFinishSecondQuestNotify) ProtoReflect() protoreflect.Message { + mi := &file_FindHilichurlFinishSecondQuestNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindHilichurlFinishSecondQuestNotify.ProtoReflect.Descriptor instead. +func (*FindHilichurlFinishSecondQuestNotify) Descriptor() ([]byte, []int) { + return file_FindHilichurlFinishSecondQuestNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FindHilichurlFinishSecondQuestNotify) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +var File_FindHilichurlFinishSecondQuestNotify_proto protoreflect.FileDescriptor + +var file_FindHilichurlFinishSecondQuestNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x24, + 0x46, 0x69, 0x6e, 0x64, 0x48, 0x69, 0x6c, 0x69, 0x63, 0x68, 0x75, 0x72, 0x6c, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FindHilichurlFinishSecondQuestNotify_proto_rawDescOnce sync.Once + file_FindHilichurlFinishSecondQuestNotify_proto_rawDescData = file_FindHilichurlFinishSecondQuestNotify_proto_rawDesc +) + +func file_FindHilichurlFinishSecondQuestNotify_proto_rawDescGZIP() []byte { + file_FindHilichurlFinishSecondQuestNotify_proto_rawDescOnce.Do(func() { + file_FindHilichurlFinishSecondQuestNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FindHilichurlFinishSecondQuestNotify_proto_rawDescData) + }) + return file_FindHilichurlFinishSecondQuestNotify_proto_rawDescData +} + +var file_FindHilichurlFinishSecondQuestNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FindHilichurlFinishSecondQuestNotify_proto_goTypes = []interface{}{ + (*FindHilichurlFinishSecondQuestNotify)(nil), // 0: FindHilichurlFinishSecondQuestNotify +} +var file_FindHilichurlFinishSecondQuestNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FindHilichurlFinishSecondQuestNotify_proto_init() } +func file_FindHilichurlFinishSecondQuestNotify_proto_init() { + if File_FindHilichurlFinishSecondQuestNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FindHilichurlFinishSecondQuestNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindHilichurlFinishSecondQuestNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FindHilichurlFinishSecondQuestNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FindHilichurlFinishSecondQuestNotify_proto_goTypes, + DependencyIndexes: file_FindHilichurlFinishSecondQuestNotify_proto_depIdxs, + MessageInfos: file_FindHilichurlFinishSecondQuestNotify_proto_msgTypes, + }.Build() + File_FindHilichurlFinishSecondQuestNotify_proto = out.File + file_FindHilichurlFinishSecondQuestNotify_proto_rawDesc = nil + file_FindHilichurlFinishSecondQuestNotify_proto_goTypes = nil + file_FindHilichurlFinishSecondQuestNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.proto b/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.proto new file mode 100644 index 00000000..54eca028 --- /dev/null +++ b/gate-hk4e-api/proto/FindHilichurlFinishSecondQuestNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8901 +// EnetChannelId: 0 +// EnetIsReliable: true +message FindHilichurlFinishSecondQuestNotify { + uint32 day_index = 11; +} diff --git a/gate-hk4e-api/proto/FinishDeliveryNotify.pb.go b/gate-hk4e-api/proto/FinishDeliveryNotify.pb.go new file mode 100644 index 00000000..6cf602a5 --- /dev/null +++ b/gate-hk4e-api/proto/FinishDeliveryNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FinishDeliveryNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2089 +// EnetChannelId: 0 +// EnetIsReliable: true +type FinishDeliveryNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishedQuestIndex uint32 `protobuf:"varint,1,opt,name=finished_quest_index,json=finishedQuestIndex,proto3" json:"finished_quest_index,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + DayIndex uint32 `protobuf:"varint,12,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` +} + +func (x *FinishDeliveryNotify) Reset() { + *x = FinishDeliveryNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FinishDeliveryNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinishDeliveryNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinishDeliveryNotify) ProtoMessage() {} + +func (x *FinishDeliveryNotify) ProtoReflect() protoreflect.Message { + mi := &file_FinishDeliveryNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FinishDeliveryNotify.ProtoReflect.Descriptor instead. +func (*FinishDeliveryNotify) Descriptor() ([]byte, []int) { + return file_FinishDeliveryNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FinishDeliveryNotify) GetFinishedQuestIndex() uint32 { + if x != nil { + return x.FinishedQuestIndex + } + return 0 +} + +func (x *FinishDeliveryNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *FinishDeliveryNotify) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +var File_FinishDeliveryNotify_proto protoreflect.FileDescriptor + +var file_FinishDeliveryNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, + 0x14, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, 0x79, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FinishDeliveryNotify_proto_rawDescOnce sync.Once + file_FinishDeliveryNotify_proto_rawDescData = file_FinishDeliveryNotify_proto_rawDesc +) + +func file_FinishDeliveryNotify_proto_rawDescGZIP() []byte { + file_FinishDeliveryNotify_proto_rawDescOnce.Do(func() { + file_FinishDeliveryNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FinishDeliveryNotify_proto_rawDescData) + }) + return file_FinishDeliveryNotify_proto_rawDescData +} + +var file_FinishDeliveryNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FinishDeliveryNotify_proto_goTypes = []interface{}{ + (*FinishDeliveryNotify)(nil), // 0: FinishDeliveryNotify +} +var file_FinishDeliveryNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FinishDeliveryNotify_proto_init() } +func file_FinishDeliveryNotify_proto_init() { + if File_FinishDeliveryNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FinishDeliveryNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinishDeliveryNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FinishDeliveryNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FinishDeliveryNotify_proto_goTypes, + DependencyIndexes: file_FinishDeliveryNotify_proto_depIdxs, + MessageInfos: file_FinishDeliveryNotify_proto_msgTypes, + }.Build() + File_FinishDeliveryNotify_proto = out.File + file_FinishDeliveryNotify_proto_rawDesc = nil + file_FinishDeliveryNotify_proto_goTypes = nil + file_FinishDeliveryNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FinishDeliveryNotify.proto b/gate-hk4e-api/proto/FinishDeliveryNotify.proto new file mode 100644 index 00000000..55129149 --- /dev/null +++ b/gate-hk4e-api/proto/FinishDeliveryNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2089 +// EnetChannelId: 0 +// EnetIsReliable: true +message FinishDeliveryNotify { + uint32 finished_quest_index = 1; + uint32 schedule_id = 10; + uint32 day_index = 12; +} diff --git a/gate-hk4e-api/proto/FinishMainCoopReq.pb.go b/gate-hk4e-api/proto/FinishMainCoopReq.pb.go new file mode 100644 index 00000000..e1deab75 --- /dev/null +++ b/gate-hk4e-api/proto/FinishMainCoopReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FinishMainCoopReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1952 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FinishMainCoopReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"` + EndingSavePointId uint32 `protobuf:"varint,1,opt,name=ending_save_point_id,json=endingSavePointId,proto3" json:"ending_save_point_id,omitempty"` +} + +func (x *FinishMainCoopReq) Reset() { + *x = FinishMainCoopReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FinishMainCoopReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinishMainCoopReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinishMainCoopReq) ProtoMessage() {} + +func (x *FinishMainCoopReq) ProtoReflect() protoreflect.Message { + mi := &file_FinishMainCoopReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FinishMainCoopReq.ProtoReflect.Descriptor instead. +func (*FinishMainCoopReq) Descriptor() ([]byte, []int) { + return file_FinishMainCoopReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FinishMainCoopReq) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *FinishMainCoopReq) GetEndingSavePointId() uint32 { + if x != nil { + return x.EndingSavePointId + } + return 0 +} + +var File_FinishMainCoopReq_proto protoreflect.FileDescriptor + +var file_FinishMainCoopReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x11, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, + 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x53, 0x61, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_FinishMainCoopReq_proto_rawDescOnce sync.Once + file_FinishMainCoopReq_proto_rawDescData = file_FinishMainCoopReq_proto_rawDesc +) + +func file_FinishMainCoopReq_proto_rawDescGZIP() []byte { + file_FinishMainCoopReq_proto_rawDescOnce.Do(func() { + file_FinishMainCoopReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FinishMainCoopReq_proto_rawDescData) + }) + return file_FinishMainCoopReq_proto_rawDescData +} + +var file_FinishMainCoopReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FinishMainCoopReq_proto_goTypes = []interface{}{ + (*FinishMainCoopReq)(nil), // 0: FinishMainCoopReq +} +var file_FinishMainCoopReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FinishMainCoopReq_proto_init() } +func file_FinishMainCoopReq_proto_init() { + if File_FinishMainCoopReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FinishMainCoopReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinishMainCoopReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FinishMainCoopReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FinishMainCoopReq_proto_goTypes, + DependencyIndexes: file_FinishMainCoopReq_proto_depIdxs, + MessageInfos: file_FinishMainCoopReq_proto_msgTypes, + }.Build() + File_FinishMainCoopReq_proto = out.File + file_FinishMainCoopReq_proto_rawDesc = nil + file_FinishMainCoopReq_proto_goTypes = nil + file_FinishMainCoopReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FinishMainCoopReq.proto b/gate-hk4e-api/proto/FinishMainCoopReq.proto new file mode 100644 index 00000000..967e1c7d --- /dev/null +++ b/gate-hk4e-api/proto/FinishMainCoopReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1952 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FinishMainCoopReq { + uint32 id = 10; + uint32 ending_save_point_id = 1; +} diff --git a/gate-hk4e-api/proto/FinishMainCoopRsp.pb.go b/gate-hk4e-api/proto/FinishMainCoopRsp.pb.go new file mode 100644 index 00000000..06fb987a --- /dev/null +++ b/gate-hk4e-api/proto/FinishMainCoopRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FinishMainCoopRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1981 +// EnetChannelId: 0 +// EnetIsReliable: true +type FinishMainCoopRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + EndingSavePointId uint32 `protobuf:"varint,6,opt,name=ending_save_point_id,json=endingSavePointId,proto3" json:"ending_save_point_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FinishMainCoopRsp) Reset() { + *x = FinishMainCoopRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FinishMainCoopRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinishMainCoopRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinishMainCoopRsp) ProtoMessage() {} + +func (x *FinishMainCoopRsp) ProtoReflect() protoreflect.Message { + mi := &file_FinishMainCoopRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FinishMainCoopRsp.ProtoReflect.Descriptor instead. +func (*FinishMainCoopRsp) Descriptor() ([]byte, []int) { + return file_FinishMainCoopRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FinishMainCoopRsp) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *FinishMainCoopRsp) GetEndingSavePointId() uint32 { + if x != nil { + return x.EndingSavePointId + } + return 0 +} + +func (x *FinishMainCoopRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FinishMainCoopRsp_proto protoreflect.FileDescriptor + +var file_FinishMainCoopRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x11, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, + 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x53, 0x61, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FinishMainCoopRsp_proto_rawDescOnce sync.Once + file_FinishMainCoopRsp_proto_rawDescData = file_FinishMainCoopRsp_proto_rawDesc +) + +func file_FinishMainCoopRsp_proto_rawDescGZIP() []byte { + file_FinishMainCoopRsp_proto_rawDescOnce.Do(func() { + file_FinishMainCoopRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FinishMainCoopRsp_proto_rawDescData) + }) + return file_FinishMainCoopRsp_proto_rawDescData +} + +var file_FinishMainCoopRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FinishMainCoopRsp_proto_goTypes = []interface{}{ + (*FinishMainCoopRsp)(nil), // 0: FinishMainCoopRsp +} +var file_FinishMainCoopRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FinishMainCoopRsp_proto_init() } +func file_FinishMainCoopRsp_proto_init() { + if File_FinishMainCoopRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FinishMainCoopRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinishMainCoopRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FinishMainCoopRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FinishMainCoopRsp_proto_goTypes, + DependencyIndexes: file_FinishMainCoopRsp_proto_depIdxs, + MessageInfos: file_FinishMainCoopRsp_proto_msgTypes, + }.Build() + File_FinishMainCoopRsp_proto = out.File + file_FinishMainCoopRsp_proto_rawDesc = nil + file_FinishMainCoopRsp_proto_goTypes = nil + file_FinishMainCoopRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FinishMainCoopRsp.proto b/gate-hk4e-api/proto/FinishMainCoopRsp.proto new file mode 100644 index 00000000..4f1abb88 --- /dev/null +++ b/gate-hk4e-api/proto/FinishMainCoopRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1981 +// EnetChannelId: 0 +// EnetIsReliable: true +message FinishMainCoopRsp { + uint32 id = 2; + uint32 ending_save_point_id = 6; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/FinishedParentQuestNotify.pb.go b/gate-hk4e-api/proto/FinishedParentQuestNotify.pb.go new file mode 100644 index 00000000..a8906c37 --- /dev/null +++ b/gate-hk4e-api/proto/FinishedParentQuestNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FinishedParentQuestNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 435 +// EnetChannelId: 0 +// EnetIsReliable: true +type FinishedParentQuestNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestList []*ParentQuest `protobuf:"bytes,2,rep,name=parent_quest_list,json=parentQuestList,proto3" json:"parent_quest_list,omitempty"` +} + +func (x *FinishedParentQuestNotify) Reset() { + *x = FinishedParentQuestNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FinishedParentQuestNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinishedParentQuestNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinishedParentQuestNotify) ProtoMessage() {} + +func (x *FinishedParentQuestNotify) ProtoReflect() protoreflect.Message { + mi := &file_FinishedParentQuestNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FinishedParentQuestNotify.ProtoReflect.Descriptor instead. +func (*FinishedParentQuestNotify) Descriptor() ([]byte, []int) { + return file_FinishedParentQuestNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FinishedParentQuestNotify) GetParentQuestList() []*ParentQuest { + if x != nil { + return x.ParentQuestList + } + return nil +} + +var File_FinishedParentQuestNotify_proto protoreflect.FileDescriptor + +var file_FinishedParentQuestNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x38, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FinishedParentQuestNotify_proto_rawDescOnce sync.Once + file_FinishedParentQuestNotify_proto_rawDescData = file_FinishedParentQuestNotify_proto_rawDesc +) + +func file_FinishedParentQuestNotify_proto_rawDescGZIP() []byte { + file_FinishedParentQuestNotify_proto_rawDescOnce.Do(func() { + file_FinishedParentQuestNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FinishedParentQuestNotify_proto_rawDescData) + }) + return file_FinishedParentQuestNotify_proto_rawDescData +} + +var file_FinishedParentQuestNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FinishedParentQuestNotify_proto_goTypes = []interface{}{ + (*FinishedParentQuestNotify)(nil), // 0: FinishedParentQuestNotify + (*ParentQuest)(nil), // 1: ParentQuest +} +var file_FinishedParentQuestNotify_proto_depIdxs = []int32{ + 1, // 0: FinishedParentQuestNotify.parent_quest_list:type_name -> ParentQuest + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FinishedParentQuestNotify_proto_init() } +func file_FinishedParentQuestNotify_proto_init() { + if File_FinishedParentQuestNotify_proto != nil { + return + } + file_ParentQuest_proto_init() + if !protoimpl.UnsafeEnabled { + file_FinishedParentQuestNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinishedParentQuestNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FinishedParentQuestNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FinishedParentQuestNotify_proto_goTypes, + DependencyIndexes: file_FinishedParentQuestNotify_proto_depIdxs, + MessageInfos: file_FinishedParentQuestNotify_proto_msgTypes, + }.Build() + File_FinishedParentQuestNotify_proto = out.File + file_FinishedParentQuestNotify_proto_rawDesc = nil + file_FinishedParentQuestNotify_proto_goTypes = nil + file_FinishedParentQuestNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FinishedParentQuestNotify.proto b/gate-hk4e-api/proto/FinishedParentQuestNotify.proto new file mode 100644 index 00000000..5a21b90e --- /dev/null +++ b/gate-hk4e-api/proto/FinishedParentQuestNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ParentQuest.proto"; + +option go_package = "./;proto"; + +// CmdId: 435 +// EnetChannelId: 0 +// EnetIsReliable: true +message FinishedParentQuestNotify { + repeated ParentQuest parent_quest_list = 2; +} diff --git a/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.pb.go b/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.pb.go new file mode 100644 index 00000000..26c0feda --- /dev/null +++ b/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FinishedParentQuestUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 407 +// EnetChannelId: 0 +// EnetIsReliable: true +type FinishedParentQuestUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestList []*ParentQuest `protobuf:"bytes,9,rep,name=parent_quest_list,json=parentQuestList,proto3" json:"parent_quest_list,omitempty"` +} + +func (x *FinishedParentQuestUpdateNotify) Reset() { + *x = FinishedParentQuestUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FinishedParentQuestUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinishedParentQuestUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinishedParentQuestUpdateNotify) ProtoMessage() {} + +func (x *FinishedParentQuestUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_FinishedParentQuestUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FinishedParentQuestUpdateNotify.ProtoReflect.Descriptor instead. +func (*FinishedParentQuestUpdateNotify) Descriptor() ([]byte, []int) { + return file_FinishedParentQuestUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FinishedParentQuestUpdateNotify) GetParentQuestList() []*ParentQuest { + if x != nil { + return x.ParentQuestList + } + return nil +} + +var File_FinishedParentQuestUpdateNotify_proto protoreflect.FileDescriptor + +var file_FinishedParentQuestUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1f, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x38, 0x0a, + 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FinishedParentQuestUpdateNotify_proto_rawDescOnce sync.Once + file_FinishedParentQuestUpdateNotify_proto_rawDescData = file_FinishedParentQuestUpdateNotify_proto_rawDesc +) + +func file_FinishedParentQuestUpdateNotify_proto_rawDescGZIP() []byte { + file_FinishedParentQuestUpdateNotify_proto_rawDescOnce.Do(func() { + file_FinishedParentQuestUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FinishedParentQuestUpdateNotify_proto_rawDescData) + }) + return file_FinishedParentQuestUpdateNotify_proto_rawDescData +} + +var file_FinishedParentQuestUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FinishedParentQuestUpdateNotify_proto_goTypes = []interface{}{ + (*FinishedParentQuestUpdateNotify)(nil), // 0: FinishedParentQuestUpdateNotify + (*ParentQuest)(nil), // 1: ParentQuest +} +var file_FinishedParentQuestUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: FinishedParentQuestUpdateNotify.parent_quest_list:type_name -> ParentQuest + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FinishedParentQuestUpdateNotify_proto_init() } +func file_FinishedParentQuestUpdateNotify_proto_init() { + if File_FinishedParentQuestUpdateNotify_proto != nil { + return + } + file_ParentQuest_proto_init() + if !protoimpl.UnsafeEnabled { + file_FinishedParentQuestUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinishedParentQuestUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FinishedParentQuestUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FinishedParentQuestUpdateNotify_proto_goTypes, + DependencyIndexes: file_FinishedParentQuestUpdateNotify_proto_depIdxs, + MessageInfos: file_FinishedParentQuestUpdateNotify_proto_msgTypes, + }.Build() + File_FinishedParentQuestUpdateNotify_proto = out.File + file_FinishedParentQuestUpdateNotify_proto_rawDesc = nil + file_FinishedParentQuestUpdateNotify_proto_goTypes = nil + file_FinishedParentQuestUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.proto b/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.proto new file mode 100644 index 00000000..76c81860 --- /dev/null +++ b/gate-hk4e-api/proto/FinishedParentQuestUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ParentQuest.proto"; + +option go_package = "./;proto"; + +// CmdId: 407 +// EnetChannelId: 0 +// EnetIsReliable: true +message FinishedParentQuestUpdateNotify { + repeated ParentQuest parent_quest_list = 9; +} diff --git a/gate-hk4e-api/proto/FishAttractNotify.pb.go b/gate-hk4e-api/proto/FishAttractNotify.pb.go new file mode 100644 index 00000000..740f7631 --- /dev/null +++ b/gate-hk4e-api/proto/FishAttractNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishAttractNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5837 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishAttractNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishIdList []uint32 `protobuf:"varint,3,rep,packed,name=fish_id_list,json=fishIdList,proto3" json:"fish_id_list,omitempty"` + Pos *Vector `protobuf:"bytes,9,opt,name=pos,proto3" json:"pos,omitempty"` + Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *FishAttractNotify) Reset() { + *x = FishAttractNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishAttractNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishAttractNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishAttractNotify) ProtoMessage() {} + +func (x *FishAttractNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishAttractNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishAttractNotify.ProtoReflect.Descriptor instead. +func (*FishAttractNotify) Descriptor() ([]byte, []int) { + return file_FishAttractNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishAttractNotify) GetFishIdList() []uint32 { + if x != nil { + return x.FishIdList + } + return nil +} + +func (x *FishAttractNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *FishAttractNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_FishAttractNotify_proto protoreflect.FileDescriptor + +var file_FishAttractNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x69, 0x73, 0x68, 0x41, 0x74, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x73, 0x68, 0x41, + 0x74, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, + 0x66, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, + 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishAttractNotify_proto_rawDescOnce sync.Once + file_FishAttractNotify_proto_rawDescData = file_FishAttractNotify_proto_rawDesc +) + +func file_FishAttractNotify_proto_rawDescGZIP() []byte { + file_FishAttractNotify_proto_rawDescOnce.Do(func() { + file_FishAttractNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishAttractNotify_proto_rawDescData) + }) + return file_FishAttractNotify_proto_rawDescData +} + +var file_FishAttractNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishAttractNotify_proto_goTypes = []interface{}{ + (*FishAttractNotify)(nil), // 0: FishAttractNotify + (*Vector)(nil), // 1: Vector +} +var file_FishAttractNotify_proto_depIdxs = []int32{ + 1, // 0: FishAttractNotify.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FishAttractNotify_proto_init() } +func file_FishAttractNotify_proto_init() { + if File_FishAttractNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishAttractNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishAttractNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishAttractNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishAttractNotify_proto_goTypes, + DependencyIndexes: file_FishAttractNotify_proto_depIdxs, + MessageInfos: file_FishAttractNotify_proto_msgTypes, + }.Build() + File_FishAttractNotify_proto = out.File + file_FishAttractNotify_proto_rawDesc = nil + file_FishAttractNotify_proto_goTypes = nil + file_FishAttractNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishAttractNotify.proto b/gate-hk4e-api/proto/FishAttractNotify.proto new file mode 100644 index 00000000..802507b3 --- /dev/null +++ b/gate-hk4e-api/proto/FishAttractNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 5837 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishAttractNotify { + repeated uint32 fish_id_list = 3; + Vector pos = 9; + uint32 uid = 2; +} diff --git a/gate-hk4e-api/proto/FishBaitGoneNotify.pb.go b/gate-hk4e-api/proto/FishBaitGoneNotify.pb.go new file mode 100644 index 00000000..11076177 --- /dev/null +++ b/gate-hk4e-api/proto/FishBaitGoneNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBaitGoneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5823 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishBaitGoneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *FishBaitGoneNotify) Reset() { + *x = FishBaitGoneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBaitGoneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBaitGoneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBaitGoneNotify) ProtoMessage() {} + +func (x *FishBaitGoneNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishBaitGoneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBaitGoneNotify.ProtoReflect.Descriptor instead. +func (*FishBaitGoneNotify) Descriptor() ([]byte, []int) { + return file_FishBaitGoneNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishBaitGoneNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_FishBaitGoneNotify_proto protoreflect.FileDescriptor + +var file_FishBaitGoneNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x69, 0x74, 0x47, 0x6f, 0x6e, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x12, 0x46, 0x69, + 0x73, 0x68, 0x42, 0x61, 0x69, 0x74, 0x47, 0x6f, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBaitGoneNotify_proto_rawDescOnce sync.Once + file_FishBaitGoneNotify_proto_rawDescData = file_FishBaitGoneNotify_proto_rawDesc +) + +func file_FishBaitGoneNotify_proto_rawDescGZIP() []byte { + file_FishBaitGoneNotify_proto_rawDescOnce.Do(func() { + file_FishBaitGoneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBaitGoneNotify_proto_rawDescData) + }) + return file_FishBaitGoneNotify_proto_rawDescData +} + +var file_FishBaitGoneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBaitGoneNotify_proto_goTypes = []interface{}{ + (*FishBaitGoneNotify)(nil), // 0: FishBaitGoneNotify +} +var file_FishBaitGoneNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBaitGoneNotify_proto_init() } +func file_FishBaitGoneNotify_proto_init() { + if File_FishBaitGoneNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishBaitGoneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBaitGoneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBaitGoneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBaitGoneNotify_proto_goTypes, + DependencyIndexes: file_FishBaitGoneNotify_proto_depIdxs, + MessageInfos: file_FishBaitGoneNotify_proto_msgTypes, + }.Build() + File_FishBaitGoneNotify_proto = out.File + file_FishBaitGoneNotify_proto_rawDesc = nil + file_FishBaitGoneNotify_proto_goTypes = nil + file_FishBaitGoneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBaitGoneNotify.proto b/gate-hk4e-api/proto/FishBaitGoneNotify.proto new file mode 100644 index 00000000..46d83239 --- /dev/null +++ b/gate-hk4e-api/proto/FishBaitGoneNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5823 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishBaitGoneNotify { + uint32 uid = 8; +} diff --git a/gate-hk4e-api/proto/FishBattleBeginReq.pb.go b/gate-hk4e-api/proto/FishBattleBeginReq.pb.go new file mode 100644 index 00000000..0d291c69 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleBeginReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBattleBeginReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FishBattleBeginReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FishBattleBeginReq) Reset() { + *x = FishBattleBeginReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBattleBeginReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBattleBeginReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBattleBeginReq) ProtoMessage() {} + +func (x *FishBattleBeginReq) ProtoReflect() protoreflect.Message { + mi := &file_FishBattleBeginReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBattleBeginReq.ProtoReflect.Descriptor instead. +func (*FishBattleBeginReq) Descriptor() ([]byte, []int) { + return file_FishBattleBeginReq_proto_rawDescGZIP(), []int{0} +} + +var File_FishBattleBeginReq_proto protoreflect.FileDescriptor + +var file_FishBattleBeginReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x46, 0x69, + 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBattleBeginReq_proto_rawDescOnce sync.Once + file_FishBattleBeginReq_proto_rawDescData = file_FishBattleBeginReq_proto_rawDesc +) + +func file_FishBattleBeginReq_proto_rawDescGZIP() []byte { + file_FishBattleBeginReq_proto_rawDescOnce.Do(func() { + file_FishBattleBeginReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBattleBeginReq_proto_rawDescData) + }) + return file_FishBattleBeginReq_proto_rawDescData +} + +var file_FishBattleBeginReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBattleBeginReq_proto_goTypes = []interface{}{ + (*FishBattleBeginReq)(nil), // 0: FishBattleBeginReq +} +var file_FishBattleBeginReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBattleBeginReq_proto_init() } +func file_FishBattleBeginReq_proto_init() { + if File_FishBattleBeginReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishBattleBeginReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBattleBeginReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBattleBeginReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBattleBeginReq_proto_goTypes, + DependencyIndexes: file_FishBattleBeginReq_proto_depIdxs, + MessageInfos: file_FishBattleBeginReq_proto_msgTypes, + }.Build() + File_FishBattleBeginReq_proto = out.File + file_FishBattleBeginReq_proto_rawDesc = nil + file_FishBattleBeginReq_proto_goTypes = nil + file_FishBattleBeginReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBattleBeginReq.proto b/gate-hk4e-api/proto/FishBattleBeginReq.proto new file mode 100644 index 00000000..ad72209e --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleBeginReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FishBattleBeginReq {} diff --git a/gate-hk4e-api/proto/FishBattleBeginRsp.pb.go b/gate-hk4e-api/proto/FishBattleBeginRsp.pb.go new file mode 100644 index 00000000..334ad8c1 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleBeginRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBattleBeginRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5845 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishBattleBeginRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FishBattleBeginRsp) Reset() { + *x = FishBattleBeginRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBattleBeginRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBattleBeginRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBattleBeginRsp) ProtoMessage() {} + +func (x *FishBattleBeginRsp) ProtoReflect() protoreflect.Message { + mi := &file_FishBattleBeginRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBattleBeginRsp.ProtoReflect.Descriptor instead. +func (*FishBattleBeginRsp) Descriptor() ([]byte, []int) { + return file_FishBattleBeginRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FishBattleBeginRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FishBattleBeginRsp_proto protoreflect.FileDescriptor + +var file_FishBattleBeginRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x46, 0x69, + 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBattleBeginRsp_proto_rawDescOnce sync.Once + file_FishBattleBeginRsp_proto_rawDescData = file_FishBattleBeginRsp_proto_rawDesc +) + +func file_FishBattleBeginRsp_proto_rawDescGZIP() []byte { + file_FishBattleBeginRsp_proto_rawDescOnce.Do(func() { + file_FishBattleBeginRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBattleBeginRsp_proto_rawDescData) + }) + return file_FishBattleBeginRsp_proto_rawDescData +} + +var file_FishBattleBeginRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBattleBeginRsp_proto_goTypes = []interface{}{ + (*FishBattleBeginRsp)(nil), // 0: FishBattleBeginRsp +} +var file_FishBattleBeginRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBattleBeginRsp_proto_init() } +func file_FishBattleBeginRsp_proto_init() { + if File_FishBattleBeginRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishBattleBeginRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBattleBeginRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBattleBeginRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBattleBeginRsp_proto_goTypes, + DependencyIndexes: file_FishBattleBeginRsp_proto_depIdxs, + MessageInfos: file_FishBattleBeginRsp_proto_msgTypes, + }.Build() + File_FishBattleBeginRsp_proto = out.File + file_FishBattleBeginRsp_proto_rawDesc = nil + file_FishBattleBeginRsp_proto_goTypes = nil + file_FishBattleBeginRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBattleBeginRsp.proto b/gate-hk4e-api/proto/FishBattleBeginRsp.proto new file mode 100644 index 00000000..c9543be6 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleBeginRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5845 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishBattleBeginRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/FishBattleEndReq.pb.go b/gate-hk4e-api/proto/FishBattleEndReq.pb.go new file mode 100644 index 00000000..57511164 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleEndReq.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBattleEndReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5841 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FishBattleEndReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxBonusTime uint32 `protobuf:"varint,3,opt,name=max_bonus_time,json=maxBonusTime,proto3" json:"max_bonus_time,omitempty"` + BattleResult FishBattleResult `protobuf:"varint,10,opt,name=battle_result,json=battleResult,proto3,enum=FishBattleResult" json:"battle_result,omitempty"` + IsAlwaysBonus bool `protobuf:"varint,11,opt,name=is_always_bonus,json=isAlwaysBonus,proto3" json:"is_always_bonus,omitempty"` +} + +func (x *FishBattleEndReq) Reset() { + *x = FishBattleEndReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBattleEndReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBattleEndReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBattleEndReq) ProtoMessage() {} + +func (x *FishBattleEndReq) ProtoReflect() protoreflect.Message { + mi := &file_FishBattleEndReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBattleEndReq.ProtoReflect.Descriptor instead. +func (*FishBattleEndReq) Descriptor() ([]byte, []int) { + return file_FishBattleEndReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FishBattleEndReq) GetMaxBonusTime() uint32 { + if x != nil { + return x.MaxBonusTime + } + return 0 +} + +func (x *FishBattleEndReq) GetBattleResult() FishBattleResult { + if x != nil { + return x.BattleResult + } + return FishBattleResult_FISH_BATTLE_RESULT_NONE +} + +func (x *FishBattleEndReq) GetIsAlwaysBonus() bool { + if x != nil { + return x.IsAlwaysBonus + } + return false +} + +var File_FishBattleEndReq_proto protoreflect.FileDescriptor + +var file_FishBattleEndReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x98, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, + 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6f, 0x6e, + 0x75, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, + 0x61, 0x78, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x62, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, + 0x5f, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBattleEndReq_proto_rawDescOnce sync.Once + file_FishBattleEndReq_proto_rawDescData = file_FishBattleEndReq_proto_rawDesc +) + +func file_FishBattleEndReq_proto_rawDescGZIP() []byte { + file_FishBattleEndReq_proto_rawDescOnce.Do(func() { + file_FishBattleEndReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBattleEndReq_proto_rawDescData) + }) + return file_FishBattleEndReq_proto_rawDescData +} + +var file_FishBattleEndReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBattleEndReq_proto_goTypes = []interface{}{ + (*FishBattleEndReq)(nil), // 0: FishBattleEndReq + (FishBattleResult)(0), // 1: FishBattleResult +} +var file_FishBattleEndReq_proto_depIdxs = []int32{ + 1, // 0: FishBattleEndReq.battle_result:type_name -> FishBattleResult + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FishBattleEndReq_proto_init() } +func file_FishBattleEndReq_proto_init() { + if File_FishBattleEndReq_proto != nil { + return + } + file_FishBattleResult_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishBattleEndReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBattleEndReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBattleEndReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBattleEndReq_proto_goTypes, + DependencyIndexes: file_FishBattleEndReq_proto_depIdxs, + MessageInfos: file_FishBattleEndReq_proto_msgTypes, + }.Build() + File_FishBattleEndReq_proto = out.File + file_FishBattleEndReq_proto_rawDesc = nil + file_FishBattleEndReq_proto_goTypes = nil + file_FishBattleEndReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBattleEndReq.proto b/gate-hk4e-api/proto/FishBattleEndReq.proto new file mode 100644 index 00000000..35f0c42f --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleEndReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishBattleResult.proto"; + +option go_package = "./;proto"; + +// CmdId: 5841 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FishBattleEndReq { + uint32 max_bonus_time = 3; + FishBattleResult battle_result = 10; + bool is_always_bonus = 11; +} diff --git a/gate-hk4e-api/proto/FishBattleEndRsp.pb.go b/gate-hk4e-api/proto/FishBattleEndRsp.pb.go new file mode 100644 index 00000000..5659a4e4 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleEndRsp.pb.go @@ -0,0 +1,307 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBattleEndRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishBattleEndRsp_FishNoRewardReason int32 + +const ( + FishBattleEndRsp_FISH_NO_REWARD_REASON_NONE FishBattleEndRsp_FishNoRewardReason = 0 + FishBattleEndRsp_FISH_NO_REWARD_REASON_ACTIVITY_LIMIT FishBattleEndRsp_FishNoRewardReason = 1 + FishBattleEndRsp_FISH_NO_REWARD_REASON_BAG_LIMIT FishBattleEndRsp_FishNoRewardReason = 2 + FishBattleEndRsp_FISH_NO_REWARD_REASON_POOL_LIMIT FishBattleEndRsp_FishNoRewardReason = 3 +) + +// Enum value maps for FishBattleEndRsp_FishNoRewardReason. +var ( + FishBattleEndRsp_FishNoRewardReason_name = map[int32]string{ + 0: "FISH_NO_REWARD_REASON_NONE", + 1: "FISH_NO_REWARD_REASON_ACTIVITY_LIMIT", + 2: "FISH_NO_REWARD_REASON_BAG_LIMIT", + 3: "FISH_NO_REWARD_REASON_POOL_LIMIT", + } + FishBattleEndRsp_FishNoRewardReason_value = map[string]int32{ + "FISH_NO_REWARD_REASON_NONE": 0, + "FISH_NO_REWARD_REASON_ACTIVITY_LIMIT": 1, + "FISH_NO_REWARD_REASON_BAG_LIMIT": 2, + "FISH_NO_REWARD_REASON_POOL_LIMIT": 3, + } +) + +func (x FishBattleEndRsp_FishNoRewardReason) Enum() *FishBattleEndRsp_FishNoRewardReason { + p := new(FishBattleEndRsp_FishNoRewardReason) + *p = x + return p +} + +func (x FishBattleEndRsp_FishNoRewardReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FishBattleEndRsp_FishNoRewardReason) Descriptor() protoreflect.EnumDescriptor { + return file_FishBattleEndRsp_proto_enumTypes[0].Descriptor() +} + +func (FishBattleEndRsp_FishNoRewardReason) Type() protoreflect.EnumType { + return &file_FishBattleEndRsp_proto_enumTypes[0] +} + +func (x FishBattleEndRsp_FishNoRewardReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FishBattleEndRsp_FishNoRewardReason.Descriptor instead. +func (FishBattleEndRsp_FishNoRewardReason) EnumDescriptor() ([]byte, []int) { + return file_FishBattleEndRsp_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 5842 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishBattleEndRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsGotReward bool `protobuf:"varint,10,opt,name=is_got_reward,json=isGotReward,proto3" json:"is_got_reward,omitempty"` + RewardItemList []*ItemParam `protobuf:"bytes,11,rep,name=reward_item_list,json=rewardItemList,proto3" json:"reward_item_list,omitempty"` + TalentItemList []*ItemParam `protobuf:"bytes,13,rep,name=talent_item_list,json=talentItemList,proto3" json:"talent_item_list,omitempty"` + DropItemList []*ItemParam `protobuf:"bytes,9,rep,name=drop_item_list,json=dropItemList,proto3" json:"drop_item_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + NoRewardReason FishBattleEndRsp_FishNoRewardReason `protobuf:"varint,14,opt,name=no_reward_reason,json=noRewardReason,proto3,enum=FishBattleEndRsp_FishNoRewardReason" json:"no_reward_reason,omitempty"` + BattleResult FishBattleResult `protobuf:"varint,6,opt,name=battle_result,json=battleResult,proto3,enum=FishBattleResult" json:"battle_result,omitempty"` +} + +func (x *FishBattleEndRsp) Reset() { + *x = FishBattleEndRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBattleEndRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBattleEndRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBattleEndRsp) ProtoMessage() {} + +func (x *FishBattleEndRsp) ProtoReflect() protoreflect.Message { + mi := &file_FishBattleEndRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBattleEndRsp.ProtoReflect.Descriptor instead. +func (*FishBattleEndRsp) Descriptor() ([]byte, []int) { + return file_FishBattleEndRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FishBattleEndRsp) GetIsGotReward() bool { + if x != nil { + return x.IsGotReward + } + return false +} + +func (x *FishBattleEndRsp) GetRewardItemList() []*ItemParam { + if x != nil { + return x.RewardItemList + } + return nil +} + +func (x *FishBattleEndRsp) GetTalentItemList() []*ItemParam { + if x != nil { + return x.TalentItemList + } + return nil +} + +func (x *FishBattleEndRsp) GetDropItemList() []*ItemParam { + if x != nil { + return x.DropItemList + } + return nil +} + +func (x *FishBattleEndRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FishBattleEndRsp) GetNoRewardReason() FishBattleEndRsp_FishNoRewardReason { + if x != nil { + return x.NoRewardReason + } + return FishBattleEndRsp_FISH_NO_REWARD_REASON_NONE +} + +func (x *FishBattleEndRsp) GetBattleResult() FishBattleResult { + if x != nil { + return x.BattleResult + } + return FishBattleResult_FISH_BATTLE_RESULT_NONE +} + +var File_FishBattleEndRsp_proto protoreflect.FileDescriptor + +var file_FishBattleEndRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa2, 0x04, 0x0a, 0x10, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x45, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x67, 0x6f, 0x74, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x47, 0x6f, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x34, 0x0a, 0x10, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x49, 0x74, + 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, + 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x46, + 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x46, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x52, 0x0e, 0x6e, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x0d, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x46, 0x69, 0x73, 0x68, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x62, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x12, 0x46, + 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x57, + 0x41, 0x52, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x57, + 0x41, 0x52, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x46, + 0x49, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x41, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x02, + 0x12, 0x24, 0x0a, 0x20, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x57, 0x41, + 0x52, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBattleEndRsp_proto_rawDescOnce sync.Once + file_FishBattleEndRsp_proto_rawDescData = file_FishBattleEndRsp_proto_rawDesc +) + +func file_FishBattleEndRsp_proto_rawDescGZIP() []byte { + file_FishBattleEndRsp_proto_rawDescOnce.Do(func() { + file_FishBattleEndRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBattleEndRsp_proto_rawDescData) + }) + return file_FishBattleEndRsp_proto_rawDescData +} + +var file_FishBattleEndRsp_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FishBattleEndRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBattleEndRsp_proto_goTypes = []interface{}{ + (FishBattleEndRsp_FishNoRewardReason)(0), // 0: FishBattleEndRsp.FishNoRewardReason + (*FishBattleEndRsp)(nil), // 1: FishBattleEndRsp + (*ItemParam)(nil), // 2: ItemParam + (FishBattleResult)(0), // 3: FishBattleResult +} +var file_FishBattleEndRsp_proto_depIdxs = []int32{ + 2, // 0: FishBattleEndRsp.reward_item_list:type_name -> ItemParam + 2, // 1: FishBattleEndRsp.talent_item_list:type_name -> ItemParam + 2, // 2: FishBattleEndRsp.drop_item_list:type_name -> ItemParam + 0, // 3: FishBattleEndRsp.no_reward_reason:type_name -> FishBattleEndRsp.FishNoRewardReason + 3, // 4: FishBattleEndRsp.battle_result:type_name -> FishBattleResult + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_FishBattleEndRsp_proto_init() } +func file_FishBattleEndRsp_proto_init() { + if File_FishBattleEndRsp_proto != nil { + return + } + file_FishBattleResult_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishBattleEndRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBattleEndRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBattleEndRsp_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBattleEndRsp_proto_goTypes, + DependencyIndexes: file_FishBattleEndRsp_proto_depIdxs, + EnumInfos: file_FishBattleEndRsp_proto_enumTypes, + MessageInfos: file_FishBattleEndRsp_proto_msgTypes, + }.Build() + File_FishBattleEndRsp_proto = out.File + file_FishBattleEndRsp_proto_rawDesc = nil + file_FishBattleEndRsp_proto_goTypes = nil + file_FishBattleEndRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBattleEndRsp.proto b/gate-hk4e-api/proto/FishBattleEndRsp.proto new file mode 100644 index 00000000..2a85ecc2 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleEndRsp.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishBattleResult.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 5842 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishBattleEndRsp { + bool is_got_reward = 10; + repeated ItemParam reward_item_list = 11; + repeated ItemParam talent_item_list = 13; + repeated ItemParam drop_item_list = 9; + int32 retcode = 7; + FishNoRewardReason no_reward_reason = 14; + FishBattleResult battle_result = 6; + + enum FishNoRewardReason { + FISH_NO_REWARD_REASON_NONE = 0; + FISH_NO_REWARD_REASON_ACTIVITY_LIMIT = 1; + FISH_NO_REWARD_REASON_BAG_LIMIT = 2; + FISH_NO_REWARD_REASON_POOL_LIMIT = 3; + } +} diff --git a/gate-hk4e-api/proto/FishBattleResult.pb.go b/gate-hk4e-api/proto/FishBattleResult.pb.go new file mode 100644 index 00000000..860f493e --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleResult.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBattleResult.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishBattleResult int32 + +const ( + FishBattleResult_FISH_BATTLE_RESULT_NONE FishBattleResult = 0 + FishBattleResult_FISH_BATTLE_RESULT_SUCC FishBattleResult = 1 + FishBattleResult_FISH_BATTLE_RESULT_FAIL FishBattleResult = 2 + FishBattleResult_FISH_BATTLE_RESULT_TIMEOUT FishBattleResult = 3 + FishBattleResult_FISH_BATTLE_RESULT_CANCEL FishBattleResult = 4 + FishBattleResult_FISH_BATTLE_RESULT_EXIT FishBattleResult = 5 +) + +// Enum value maps for FishBattleResult. +var ( + FishBattleResult_name = map[int32]string{ + 0: "FISH_BATTLE_RESULT_NONE", + 1: "FISH_BATTLE_RESULT_SUCC", + 2: "FISH_BATTLE_RESULT_FAIL", + 3: "FISH_BATTLE_RESULT_TIMEOUT", + 4: "FISH_BATTLE_RESULT_CANCEL", + 5: "FISH_BATTLE_RESULT_EXIT", + } + FishBattleResult_value = map[string]int32{ + "FISH_BATTLE_RESULT_NONE": 0, + "FISH_BATTLE_RESULT_SUCC": 1, + "FISH_BATTLE_RESULT_FAIL": 2, + "FISH_BATTLE_RESULT_TIMEOUT": 3, + "FISH_BATTLE_RESULT_CANCEL": 4, + "FISH_BATTLE_RESULT_EXIT": 5, + } +) + +func (x FishBattleResult) Enum() *FishBattleResult { + p := new(FishBattleResult) + *p = x + return p +} + +func (x FishBattleResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FishBattleResult) Descriptor() protoreflect.EnumDescriptor { + return file_FishBattleResult_proto_enumTypes[0].Descriptor() +} + +func (FishBattleResult) Type() protoreflect.EnumType { + return &file_FishBattleResult_proto_enumTypes[0] +} + +func (x FishBattleResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FishBattleResult.Descriptor instead. +func (FishBattleResult) EnumDescriptor() ([]byte, []int) { + return file_FishBattleResult_proto_rawDescGZIP(), []int{0} +} + +var File_FishBattleResult_proto protoreflect.FileDescriptor + +var file_FishBattleResult_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc5, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x73, + 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1b, 0x0a, + 0x17, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, + 0x55, 0x4c, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, + 0x53, 0x48, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, + 0x5f, 0x53, 0x55, 0x43, 0x43, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x53, 0x48, 0x5f, + 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x41, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, + 0x55, 0x54, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x41, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, + 0x4c, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x41, 0x54, 0x54, + 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x10, 0x05, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBattleResult_proto_rawDescOnce sync.Once + file_FishBattleResult_proto_rawDescData = file_FishBattleResult_proto_rawDesc +) + +func file_FishBattleResult_proto_rawDescGZIP() []byte { + file_FishBattleResult_proto_rawDescOnce.Do(func() { + file_FishBattleResult_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBattleResult_proto_rawDescData) + }) + return file_FishBattleResult_proto_rawDescData +} + +var file_FishBattleResult_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FishBattleResult_proto_goTypes = []interface{}{ + (FishBattleResult)(0), // 0: FishBattleResult +} +var file_FishBattleResult_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBattleResult_proto_init() } +func file_FishBattleResult_proto_init() { + if File_FishBattleResult_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBattleResult_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBattleResult_proto_goTypes, + DependencyIndexes: file_FishBattleResult_proto_depIdxs, + EnumInfos: file_FishBattleResult_proto_enumTypes, + }.Build() + File_FishBattleResult_proto = out.File + file_FishBattleResult_proto_rawDesc = nil + file_FishBattleResult_proto_goTypes = nil + file_FishBattleResult_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBattleResult.proto b/gate-hk4e-api/proto/FishBattleResult.proto new file mode 100644 index 00000000..c6bcdfb8 --- /dev/null +++ b/gate-hk4e-api/proto/FishBattleResult.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FishBattleResult { + FISH_BATTLE_RESULT_NONE = 0; + FISH_BATTLE_RESULT_SUCC = 1; + FISH_BATTLE_RESULT_FAIL = 2; + FISH_BATTLE_RESULT_TIMEOUT = 3; + FISH_BATTLE_RESULT_CANCEL = 4; + FISH_BATTLE_RESULT_EXIT = 5; +} diff --git a/gate-hk4e-api/proto/FishBiteReq.pb.go b/gate-hk4e-api/proto/FishBiteReq.pb.go new file mode 100644 index 00000000..6d46eb96 --- /dev/null +++ b/gate-hk4e-api/proto/FishBiteReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBiteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FishBiteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FishBiteReq) Reset() { + *x = FishBiteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBiteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBiteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBiteReq) ProtoMessage() {} + +func (x *FishBiteReq) ProtoReflect() protoreflect.Message { + mi := &file_FishBiteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBiteReq.ProtoReflect.Descriptor instead. +func (*FishBiteReq) Descriptor() ([]byte, []int) { + return file_FishBiteReq_proto_rawDescGZIP(), []int{0} +} + +var File_FishBiteReq_proto protoreflect.FileDescriptor + +var file_FishBiteReq_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x46, 0x69, 0x73, 0x68, 0x42, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x0d, 0x0a, 0x0b, 0x46, 0x69, 0x73, 0x68, 0x42, 0x69, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBiteReq_proto_rawDescOnce sync.Once + file_FishBiteReq_proto_rawDescData = file_FishBiteReq_proto_rawDesc +) + +func file_FishBiteReq_proto_rawDescGZIP() []byte { + file_FishBiteReq_proto_rawDescOnce.Do(func() { + file_FishBiteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBiteReq_proto_rawDescData) + }) + return file_FishBiteReq_proto_rawDescData +} + +var file_FishBiteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBiteReq_proto_goTypes = []interface{}{ + (*FishBiteReq)(nil), // 0: FishBiteReq +} +var file_FishBiteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBiteReq_proto_init() } +func file_FishBiteReq_proto_init() { + if File_FishBiteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishBiteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBiteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBiteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBiteReq_proto_goTypes, + DependencyIndexes: file_FishBiteReq_proto_depIdxs, + MessageInfos: file_FishBiteReq_proto_msgTypes, + }.Build() + File_FishBiteReq_proto = out.File + file_FishBiteReq_proto_rawDesc = nil + file_FishBiteReq_proto_goTypes = nil + file_FishBiteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBiteReq.proto b/gate-hk4e-api/proto/FishBiteReq.proto new file mode 100644 index 00000000..cee5382c --- /dev/null +++ b/gate-hk4e-api/proto/FishBiteReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FishBiteReq {} diff --git a/gate-hk4e-api/proto/FishBiteRsp.pb.go b/gate-hk4e-api/proto/FishBiteRsp.pb.go new file mode 100644 index 00000000..244a7f5c --- /dev/null +++ b/gate-hk4e-api/proto/FishBiteRsp.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishBiteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5849 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishBiteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FishBiteRsp) Reset() { + *x = FishBiteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FishBiteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishBiteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishBiteRsp) ProtoMessage() {} + +func (x *FishBiteRsp) ProtoReflect() protoreflect.Message { + mi := &file_FishBiteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishBiteRsp.ProtoReflect.Descriptor instead. +func (*FishBiteRsp) Descriptor() ([]byte, []int) { + return file_FishBiteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FishBiteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FishBiteRsp_proto protoreflect.FileDescriptor + +var file_FishBiteRsp_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x46, 0x69, 0x73, 0x68, 0x42, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0b, 0x46, 0x69, 0x73, 0x68, 0x42, 0x69, 0x74, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishBiteRsp_proto_rawDescOnce sync.Once + file_FishBiteRsp_proto_rawDescData = file_FishBiteRsp_proto_rawDesc +) + +func file_FishBiteRsp_proto_rawDescGZIP() []byte { + file_FishBiteRsp_proto_rawDescOnce.Do(func() { + file_FishBiteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishBiteRsp_proto_rawDescData) + }) + return file_FishBiteRsp_proto_rawDescData +} + +var file_FishBiteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishBiteRsp_proto_goTypes = []interface{}{ + (*FishBiteRsp)(nil), // 0: FishBiteRsp +} +var file_FishBiteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishBiteRsp_proto_init() } +func file_FishBiteRsp_proto_init() { + if File_FishBiteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishBiteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishBiteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishBiteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishBiteRsp_proto_goTypes, + DependencyIndexes: file_FishBiteRsp_proto_depIdxs, + MessageInfos: file_FishBiteRsp_proto_msgTypes, + }.Build() + File_FishBiteRsp_proto = out.File + file_FishBiteRsp_proto_rawDesc = nil + file_FishBiteRsp_proto_goTypes = nil + file_FishBiteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishBiteRsp.proto b/gate-hk4e-api/proto/FishBiteRsp.proto new file mode 100644 index 00000000..e925431f --- /dev/null +++ b/gate-hk4e-api/proto/FishBiteRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5849 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishBiteRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/FishCastRodReq.pb.go b/gate-hk4e-api/proto/FishCastRodReq.pb.go new file mode 100644 index 00000000..f2742d27 --- /dev/null +++ b/gate-hk4e-api/proto/FishCastRodReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishCastRodReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5802 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FishCastRodReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BaitId uint32 `protobuf:"varint,14,opt,name=bait_id,json=baitId,proto3" json:"bait_id,omitempty"` + RodId uint32 `protobuf:"varint,4,opt,name=rod_id,json=rodId,proto3" json:"rod_id,omitempty"` + RodEntityId uint32 `protobuf:"varint,7,opt,name=rod_entity_id,json=rodEntityId,proto3" json:"rod_entity_id,omitempty"` + Pos *Vector `protobuf:"bytes,12,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *FishCastRodReq) Reset() { + *x = FishCastRodReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FishCastRodReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishCastRodReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishCastRodReq) ProtoMessage() {} + +func (x *FishCastRodReq) ProtoReflect() protoreflect.Message { + mi := &file_FishCastRodReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishCastRodReq.ProtoReflect.Descriptor instead. +func (*FishCastRodReq) Descriptor() ([]byte, []int) { + return file_FishCastRodReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FishCastRodReq) GetBaitId() uint32 { + if x != nil { + return x.BaitId + } + return 0 +} + +func (x *FishCastRodReq) GetRodId() uint32 { + if x != nil { + return x.RodId + } + return 0 +} + +func (x *FishCastRodReq) GetRodEntityId() uint32 { + if x != nil { + return x.RodEntityId + } + return 0 +} + +func (x *FishCastRodReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_FishCastRodReq_proto protoreflect.FileDescriptor + +var file_FishCastRodReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x69, 0x73, 0x68, 0x43, 0x61, 0x73, 0x74, 0x52, 0x6f, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x0e, 0x46, 0x69, 0x73, 0x68, 0x43, 0x61, 0x73, 0x74, + 0x52, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x61, 0x69, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, 0x61, 0x69, 0x74, 0x49, 0x64, 0x12, + 0x15, 0x0a, 0x06, 0x72, 0x6f, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x72, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x6f, 0x64, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, + 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishCastRodReq_proto_rawDescOnce sync.Once + file_FishCastRodReq_proto_rawDescData = file_FishCastRodReq_proto_rawDesc +) + +func file_FishCastRodReq_proto_rawDescGZIP() []byte { + file_FishCastRodReq_proto_rawDescOnce.Do(func() { + file_FishCastRodReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishCastRodReq_proto_rawDescData) + }) + return file_FishCastRodReq_proto_rawDescData +} + +var file_FishCastRodReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishCastRodReq_proto_goTypes = []interface{}{ + (*FishCastRodReq)(nil), // 0: FishCastRodReq + (*Vector)(nil), // 1: Vector +} +var file_FishCastRodReq_proto_depIdxs = []int32{ + 1, // 0: FishCastRodReq.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FishCastRodReq_proto_init() } +func file_FishCastRodReq_proto_init() { + if File_FishCastRodReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishCastRodReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishCastRodReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishCastRodReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishCastRodReq_proto_goTypes, + DependencyIndexes: file_FishCastRodReq_proto_depIdxs, + MessageInfos: file_FishCastRodReq_proto_msgTypes, + }.Build() + File_FishCastRodReq_proto = out.File + file_FishCastRodReq_proto_rawDesc = nil + file_FishCastRodReq_proto_goTypes = nil + file_FishCastRodReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishCastRodReq.proto b/gate-hk4e-api/proto/FishCastRodReq.proto new file mode 100644 index 00000000..cada2012 --- /dev/null +++ b/gate-hk4e-api/proto/FishCastRodReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 5802 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FishCastRodReq { + uint32 bait_id = 14; + uint32 rod_id = 4; + uint32 rod_entity_id = 7; + Vector pos = 12; +} diff --git a/gate-hk4e-api/proto/FishCastRodRsp.pb.go b/gate-hk4e-api/proto/FishCastRodRsp.pb.go new file mode 100644 index 00000000..85efe9bb --- /dev/null +++ b/gate-hk4e-api/proto/FishCastRodRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishCastRodRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5831 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishCastRodRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FishCastRodRsp) Reset() { + *x = FishCastRodRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FishCastRodRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishCastRodRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishCastRodRsp) ProtoMessage() {} + +func (x *FishCastRodRsp) ProtoReflect() protoreflect.Message { + mi := &file_FishCastRodRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishCastRodRsp.ProtoReflect.Descriptor instead. +func (*FishCastRodRsp) Descriptor() ([]byte, []int) { + return file_FishCastRodRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FishCastRodRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FishCastRodRsp_proto protoreflect.FileDescriptor + +var file_FishCastRodRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x69, 0x73, 0x68, 0x43, 0x61, 0x73, 0x74, 0x52, 0x6f, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0e, 0x46, 0x69, 0x73, 0x68, 0x43, 0x61, + 0x73, 0x74, 0x52, 0x6f, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishCastRodRsp_proto_rawDescOnce sync.Once + file_FishCastRodRsp_proto_rawDescData = file_FishCastRodRsp_proto_rawDesc +) + +func file_FishCastRodRsp_proto_rawDescGZIP() []byte { + file_FishCastRodRsp_proto_rawDescOnce.Do(func() { + file_FishCastRodRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishCastRodRsp_proto_rawDescData) + }) + return file_FishCastRodRsp_proto_rawDescData +} + +var file_FishCastRodRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishCastRodRsp_proto_goTypes = []interface{}{ + (*FishCastRodRsp)(nil), // 0: FishCastRodRsp +} +var file_FishCastRodRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishCastRodRsp_proto_init() } +func file_FishCastRodRsp_proto_init() { + if File_FishCastRodRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishCastRodRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishCastRodRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishCastRodRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishCastRodRsp_proto_goTypes, + DependencyIndexes: file_FishCastRodRsp_proto_depIdxs, + MessageInfos: file_FishCastRodRsp_proto_msgTypes, + }.Build() + File_FishCastRodRsp_proto = out.File + file_FishCastRodRsp_proto_rawDesc = nil + file_FishCastRodRsp_proto_goTypes = nil + file_FishCastRodRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishCastRodRsp.proto b/gate-hk4e-api/proto/FishCastRodRsp.proto new file mode 100644 index 00000000..84ce1385 --- /dev/null +++ b/gate-hk4e-api/proto/FishCastRodRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5831 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishCastRodRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/FishChosenNotify.pb.go b/gate-hk4e-api/proto/FishChosenNotify.pb.go new file mode 100644 index 00000000..dd00d041 --- /dev/null +++ b/gate-hk4e-api/proto/FishChosenNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishChosenNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5829 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishChosenNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishId uint32 `protobuf:"varint,12,opt,name=fish_id,json=fishId,proto3" json:"fish_id,omitempty"` +} + +func (x *FishChosenNotify) Reset() { + *x = FishChosenNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishChosenNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishChosenNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishChosenNotify) ProtoMessage() {} + +func (x *FishChosenNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishChosenNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishChosenNotify.ProtoReflect.Descriptor instead. +func (*FishChosenNotify) Descriptor() ([]byte, []int) { + return file_FishChosenNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishChosenNotify) GetFishId() uint32 { + if x != nil { + return x.FishId + } + return 0 +} + +var File_FishChosenNotify_proto protoreflect.FileDescriptor + +var file_FishChosenNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x43, 0x68, 0x6f, 0x73, 0x65, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x10, 0x46, 0x69, 0x73, 0x68, + 0x43, 0x68, 0x6f, 0x73, 0x65, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x66, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, + 0x69, 0x73, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishChosenNotify_proto_rawDescOnce sync.Once + file_FishChosenNotify_proto_rawDescData = file_FishChosenNotify_proto_rawDesc +) + +func file_FishChosenNotify_proto_rawDescGZIP() []byte { + file_FishChosenNotify_proto_rawDescOnce.Do(func() { + file_FishChosenNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishChosenNotify_proto_rawDescData) + }) + return file_FishChosenNotify_proto_rawDescData +} + +var file_FishChosenNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishChosenNotify_proto_goTypes = []interface{}{ + (*FishChosenNotify)(nil), // 0: FishChosenNotify +} +var file_FishChosenNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishChosenNotify_proto_init() } +func file_FishChosenNotify_proto_init() { + if File_FishChosenNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishChosenNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishChosenNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishChosenNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishChosenNotify_proto_goTypes, + DependencyIndexes: file_FishChosenNotify_proto_depIdxs, + MessageInfos: file_FishChosenNotify_proto_msgTypes, + }.Build() + File_FishChosenNotify_proto = out.File + file_FishChosenNotify_proto_rawDesc = nil + file_FishChosenNotify_proto_goTypes = nil + file_FishChosenNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishChosenNotify.proto b/gate-hk4e-api/proto/FishChosenNotify.proto new file mode 100644 index 00000000..fda713d2 --- /dev/null +++ b/gate-hk4e-api/proto/FishChosenNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5829 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishChosenNotify { + uint32 fish_id = 12; +} diff --git a/gate-hk4e-api/proto/FishEscapeNotify.pb.go b/gate-hk4e-api/proto/FishEscapeNotify.pb.go new file mode 100644 index 00000000..e9d07cc8 --- /dev/null +++ b/gate-hk4e-api/proto/FishEscapeNotify.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishEscapeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5822 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishEscapeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason FishEscapeReason `protobuf:"varint,4,opt,name=reason,proto3,enum=FishEscapeReason" json:"reason,omitempty"` + Pos *Vector `protobuf:"bytes,7,opt,name=pos,proto3" json:"pos,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` + FishIdList []uint32 `protobuf:"varint,6,rep,packed,name=fish_id_list,json=fishIdList,proto3" json:"fish_id_list,omitempty"` +} + +func (x *FishEscapeNotify) Reset() { + *x = FishEscapeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishEscapeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishEscapeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishEscapeNotify) ProtoMessage() {} + +func (x *FishEscapeNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishEscapeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishEscapeNotify.ProtoReflect.Descriptor instead. +func (*FishEscapeNotify) Descriptor() ([]byte, []int) { + return file_FishEscapeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishEscapeNotify) GetReason() FishEscapeReason { + if x != nil { + return x.Reason + } + return FishEscapeReason_FISH_ESCAPE_REASON_FISN_ESCAPE_NONE +} + +func (x *FishEscapeNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *FishEscapeNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FishEscapeNotify) GetFishIdList() []uint32 { + if x != nil { + return x.FishIdList + } + return nil +} + +var File_FishEscapeNotify_proto protoreflect.FileDescriptor + +var file_FishEscapeNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x45, 0x73, + 0x63, 0x61, 0x70, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, + 0x01, 0x0a, 0x10, 0x46, 0x69, 0x73, 0x68, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, + 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x66, + 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_FishEscapeNotify_proto_rawDescOnce sync.Once + file_FishEscapeNotify_proto_rawDescData = file_FishEscapeNotify_proto_rawDesc +) + +func file_FishEscapeNotify_proto_rawDescGZIP() []byte { + file_FishEscapeNotify_proto_rawDescOnce.Do(func() { + file_FishEscapeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishEscapeNotify_proto_rawDescData) + }) + return file_FishEscapeNotify_proto_rawDescData +} + +var file_FishEscapeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishEscapeNotify_proto_goTypes = []interface{}{ + (*FishEscapeNotify)(nil), // 0: FishEscapeNotify + (FishEscapeReason)(0), // 1: FishEscapeReason + (*Vector)(nil), // 2: Vector +} +var file_FishEscapeNotify_proto_depIdxs = []int32{ + 1, // 0: FishEscapeNotify.reason:type_name -> FishEscapeReason + 2, // 1: FishEscapeNotify.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FishEscapeNotify_proto_init() } +func file_FishEscapeNotify_proto_init() { + if File_FishEscapeNotify_proto != nil { + return + } + file_FishEscapeReason_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishEscapeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishEscapeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishEscapeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishEscapeNotify_proto_goTypes, + DependencyIndexes: file_FishEscapeNotify_proto_depIdxs, + MessageInfos: file_FishEscapeNotify_proto_msgTypes, + }.Build() + File_FishEscapeNotify_proto = out.File + file_FishEscapeNotify_proto_rawDesc = nil + file_FishEscapeNotify_proto_goTypes = nil + file_FishEscapeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishEscapeNotify.proto b/gate-hk4e-api/proto/FishEscapeNotify.proto new file mode 100644 index 00000000..adaca5a2 --- /dev/null +++ b/gate-hk4e-api/proto/FishEscapeNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishEscapeReason.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 5822 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishEscapeNotify { + FishEscapeReason reason = 4; + Vector pos = 7; + uint32 uid = 14; + repeated uint32 fish_id_list = 6; +} diff --git a/gate-hk4e-api/proto/FishEscapeReason.pb.go b/gate-hk4e-api/proto/FishEscapeReason.pb.go new file mode 100644 index 00000000..86432969 --- /dev/null +++ b/gate-hk4e-api/proto/FishEscapeReason.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishEscapeReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishEscapeReason int32 + +const ( + FishEscapeReason_FISH_ESCAPE_REASON_FISN_ESCAPE_NONE FishEscapeReason = 0 + FishEscapeReason_FISH_ESCAPE_REASON_SHOCKED FishEscapeReason = 1 + FishEscapeReason_FISH_ESCAPE_REASON_UNHOOK FishEscapeReason = 2 +) + +// Enum value maps for FishEscapeReason. +var ( + FishEscapeReason_name = map[int32]string{ + 0: "FISH_ESCAPE_REASON_FISN_ESCAPE_NONE", + 1: "FISH_ESCAPE_REASON_SHOCKED", + 2: "FISH_ESCAPE_REASON_UNHOOK", + } + FishEscapeReason_value = map[string]int32{ + "FISH_ESCAPE_REASON_FISN_ESCAPE_NONE": 0, + "FISH_ESCAPE_REASON_SHOCKED": 1, + "FISH_ESCAPE_REASON_UNHOOK": 2, + } +) + +func (x FishEscapeReason) Enum() *FishEscapeReason { + p := new(FishEscapeReason) + *p = x + return p +} + +func (x FishEscapeReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FishEscapeReason) Descriptor() protoreflect.EnumDescriptor { + return file_FishEscapeReason_proto_enumTypes[0].Descriptor() +} + +func (FishEscapeReason) Type() protoreflect.EnumType { + return &file_FishEscapeReason_proto_enumTypes[0] +} + +func (x FishEscapeReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FishEscapeReason.Descriptor instead. +func (FishEscapeReason) EnumDescriptor() ([]byte, []int) { + return file_FishEscapeReason_proto_rawDescGZIP(), []int{0} +} + +var File_FishEscapeReason_proto protoreflect.FileDescriptor + +var file_FishEscapeReason_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x7a, 0x0a, 0x10, 0x46, 0x69, 0x73, 0x68, + 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x23, + 0x46, 0x49, 0x53, 0x48, 0x5f, 0x45, 0x53, 0x43, 0x41, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x53, 0x4e, 0x5f, 0x45, 0x53, 0x43, 0x41, 0x50, 0x45, 0x5f, 0x4e, + 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x45, 0x53, + 0x43, 0x41, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x48, 0x4f, 0x43, + 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x45, 0x53, + 0x43, 0x41, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x48, 0x4f, + 0x4f, 0x4b, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishEscapeReason_proto_rawDescOnce sync.Once + file_FishEscapeReason_proto_rawDescData = file_FishEscapeReason_proto_rawDesc +) + +func file_FishEscapeReason_proto_rawDescGZIP() []byte { + file_FishEscapeReason_proto_rawDescOnce.Do(func() { + file_FishEscapeReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishEscapeReason_proto_rawDescData) + }) + return file_FishEscapeReason_proto_rawDescData +} + +var file_FishEscapeReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FishEscapeReason_proto_goTypes = []interface{}{ + (FishEscapeReason)(0), // 0: FishEscapeReason +} +var file_FishEscapeReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishEscapeReason_proto_init() } +func file_FishEscapeReason_proto_init() { + if File_FishEscapeReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishEscapeReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishEscapeReason_proto_goTypes, + DependencyIndexes: file_FishEscapeReason_proto_depIdxs, + EnumInfos: file_FishEscapeReason_proto_enumTypes, + }.Build() + File_FishEscapeReason_proto = out.File + file_FishEscapeReason_proto_rawDesc = nil + file_FishEscapeReason_proto_goTypes = nil + file_FishEscapeReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishEscapeReason.proto b/gate-hk4e-api/proto/FishEscapeReason.proto new file mode 100644 index 00000000..138b3f6c --- /dev/null +++ b/gate-hk4e-api/proto/FishEscapeReason.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FishEscapeReason { + FISH_ESCAPE_REASON_FISN_ESCAPE_NONE = 0; + FISH_ESCAPE_REASON_SHOCKED = 1; + FISH_ESCAPE_REASON_UNHOOK = 2; +} diff --git a/gate-hk4e-api/proto/FishInfo.pb.go b/gate-hk4e-api/proto/FishInfo.pb.go new file mode 100644 index 00000000..f46b7e29 --- /dev/null +++ b/gate-hk4e-api/proto/FishInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FreeCount uint32 `protobuf:"varint,11,opt,name=free_count,json=freeCount,proto3" json:"free_count,omitempty"` + IntoBagCount uint32 `protobuf:"varint,12,opt,name=into_bag_count,json=intoBagCount,proto3" json:"into_bag_count,omitempty"` +} + +func (x *FishInfo) Reset() { + *x = FishInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FishInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishInfo) ProtoMessage() {} + +func (x *FishInfo) ProtoReflect() protoreflect.Message { + mi := &file_FishInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishInfo.ProtoReflect.Descriptor instead. +func (*FishInfo) Descriptor() ([]byte, []int) { + return file_FishInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FishInfo) GetFreeCount() uint32 { + if x != nil { + return x.FreeCount + } + return 0 +} + +func (x *FishInfo) GetIntoBagCount() uint32 { + if x != nil { + return x.IntoBagCount + } + return 0 +} + +var File_FishInfo_proto protoreflect.FileDescriptor + +var file_FishInfo_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4f, 0x0a, 0x08, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, + 0x66, 0x72, 0x65, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x66, 0x72, 0x65, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, + 0x6e, 0x74, 0x6f, 0x5f, 0x62, 0x61, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x6f, 0x42, 0x61, 0x67, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishInfo_proto_rawDescOnce sync.Once + file_FishInfo_proto_rawDescData = file_FishInfo_proto_rawDesc +) + +func file_FishInfo_proto_rawDescGZIP() []byte { + file_FishInfo_proto_rawDescOnce.Do(func() { + file_FishInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishInfo_proto_rawDescData) + }) + return file_FishInfo_proto_rawDescData +} + +var file_FishInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishInfo_proto_goTypes = []interface{}{ + (*FishInfo)(nil), // 0: FishInfo +} +var file_FishInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishInfo_proto_init() } +func file_FishInfo_proto_init() { + if File_FishInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishInfo_proto_goTypes, + DependencyIndexes: file_FishInfo_proto_depIdxs, + MessageInfos: file_FishInfo_proto_msgTypes, + }.Build() + File_FishInfo_proto = out.File + file_FishInfo_proto_rawDesc = nil + file_FishInfo_proto_goTypes = nil + file_FishInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishInfo.proto b/gate-hk4e-api/proto/FishInfo.proto new file mode 100644 index 00000000..dd70166b --- /dev/null +++ b/gate-hk4e-api/proto/FishInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FishInfo { + uint32 free_count = 11; + uint32 into_bag_count = 12; +} diff --git a/gate-hk4e-api/proto/FishPoolDataNotify.pb.go b/gate-hk4e-api/proto/FishPoolDataNotify.pb.go new file mode 100644 index 00000000..721a67f2 --- /dev/null +++ b/gate-hk4e-api/proto/FishPoolDataNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishPoolDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5848 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishPoolDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + TodayFishNum uint32 `protobuf:"varint,2,opt,name=today_fish_num,json=todayFishNum,proto3" json:"today_fish_num,omitempty"` +} + +func (x *FishPoolDataNotify) Reset() { + *x = FishPoolDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishPoolDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishPoolDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishPoolDataNotify) ProtoMessage() {} + +func (x *FishPoolDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishPoolDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishPoolDataNotify.ProtoReflect.Descriptor instead. +func (*FishPoolDataNotify) Descriptor() ([]byte, []int) { + return file_FishPoolDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishPoolDataNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *FishPoolDataNotify) GetTodayFishNum() uint32 { + if x != nil { + return x.TodayFishNum + } + return 0 +} + +var File_FishPoolDataNotify_proto protoreflect.FileDescriptor + +var file_FishPoolDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x46, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x12, 0x46, 0x69, + 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, + 0x0e, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x5f, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x46, 0x69, 0x73, 0x68, + 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishPoolDataNotify_proto_rawDescOnce sync.Once + file_FishPoolDataNotify_proto_rawDescData = file_FishPoolDataNotify_proto_rawDesc +) + +func file_FishPoolDataNotify_proto_rawDescGZIP() []byte { + file_FishPoolDataNotify_proto_rawDescOnce.Do(func() { + file_FishPoolDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishPoolDataNotify_proto_rawDescData) + }) + return file_FishPoolDataNotify_proto_rawDescData +} + +var file_FishPoolDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishPoolDataNotify_proto_goTypes = []interface{}{ + (*FishPoolDataNotify)(nil), // 0: FishPoolDataNotify +} +var file_FishPoolDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishPoolDataNotify_proto_init() } +func file_FishPoolDataNotify_proto_init() { + if File_FishPoolDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishPoolDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishPoolDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishPoolDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishPoolDataNotify_proto_goTypes, + DependencyIndexes: file_FishPoolDataNotify_proto_depIdxs, + MessageInfos: file_FishPoolDataNotify_proto_msgTypes, + }.Build() + File_FishPoolDataNotify_proto = out.File + file_FishPoolDataNotify_proto_rawDesc = nil + file_FishPoolDataNotify_proto_goTypes = nil + file_FishPoolDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishPoolDataNotify.proto b/gate-hk4e-api/proto/FishPoolDataNotify.proto new file mode 100644 index 00000000..f677c613 --- /dev/null +++ b/gate-hk4e-api/proto/FishPoolDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5848 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishPoolDataNotify { + uint32 entity_id = 6; + uint32 today_fish_num = 2; +} diff --git a/gate-hk4e-api/proto/FishPoolInfo.pb.go b/gate-hk4e-api/proto/FishPoolInfo.pb.go new file mode 100644 index 00000000..8aa0bae2 --- /dev/null +++ b/gate-hk4e-api/proto/FishPoolInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishPoolInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishPoolInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PoolId uint32 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` + FishAreaList []uint32 `protobuf:"varint,2,rep,packed,name=fish_area_list,json=fishAreaList,proto3" json:"fish_area_list,omitempty"` + TodayFishNum uint32 `protobuf:"varint,3,opt,name=today_fish_num,json=todayFishNum,proto3" json:"today_fish_num,omitempty"` +} + +func (x *FishPoolInfo) Reset() { + *x = FishPoolInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FishPoolInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishPoolInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishPoolInfo) ProtoMessage() {} + +func (x *FishPoolInfo) ProtoReflect() protoreflect.Message { + mi := &file_FishPoolInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishPoolInfo.ProtoReflect.Descriptor instead. +func (*FishPoolInfo) Descriptor() ([]byte, []int) { + return file_FishPoolInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FishPoolInfo) GetPoolId() uint32 { + if x != nil { + return x.PoolId + } + return 0 +} + +func (x *FishPoolInfo) GetFishAreaList() []uint32 { + if x != nil { + return x.FishAreaList + } + return nil +} + +func (x *FishPoolInfo) GetTodayFishNum() uint32 { + if x != nil { + return x.TodayFishNum + } + return 0 +} + +var File_FishPoolInfo_proto protoreflect.FileDescriptor + +var file_FishPoolInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x46, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x0c, 0x46, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x24, 0x0a, + 0x0e, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x69, 0x73, 0x68, 0x41, 0x72, 0x65, 0x61, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x5f, 0x66, 0x69, 0x73, + 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x6f, 0x64, + 0x61, 0x79, 0x46, 0x69, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishPoolInfo_proto_rawDescOnce sync.Once + file_FishPoolInfo_proto_rawDescData = file_FishPoolInfo_proto_rawDesc +) + +func file_FishPoolInfo_proto_rawDescGZIP() []byte { + file_FishPoolInfo_proto_rawDescOnce.Do(func() { + file_FishPoolInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishPoolInfo_proto_rawDescData) + }) + return file_FishPoolInfo_proto_rawDescData +} + +var file_FishPoolInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishPoolInfo_proto_goTypes = []interface{}{ + (*FishPoolInfo)(nil), // 0: FishPoolInfo +} +var file_FishPoolInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishPoolInfo_proto_init() } +func file_FishPoolInfo_proto_init() { + if File_FishPoolInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishPoolInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishPoolInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishPoolInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishPoolInfo_proto_goTypes, + DependencyIndexes: file_FishPoolInfo_proto_depIdxs, + MessageInfos: file_FishPoolInfo_proto_msgTypes, + }.Build() + File_FishPoolInfo_proto = out.File + file_FishPoolInfo_proto_rawDesc = nil + file_FishPoolInfo_proto_goTypes = nil + file_FishPoolInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishPoolInfo.proto b/gate-hk4e-api/proto/FishPoolInfo.proto new file mode 100644 index 00000000..d6d14136 --- /dev/null +++ b/gate-hk4e-api/proto/FishPoolInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FishPoolInfo { + uint32 pool_id = 1; + repeated uint32 fish_area_list = 2; + uint32 today_fish_num = 3; +} diff --git a/gate-hk4e-api/proto/FishingGallerySettleInfo.pb.go b/gate-hk4e-api/proto/FishingGallerySettleInfo.pb.go new file mode 100644 index 00000000..dc34fee5 --- /dev/null +++ b/gate-hk4e-api/proto/FishingGallerySettleInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishingGallerySettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishingGallerySettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishMap map[uint32]*FishInfo `protobuf:"bytes,11,rep,name=fish_map,json=fishMap,proto3" json:"fish_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + FishingScoreList []*FishingScore `protobuf:"bytes,15,rep,name=fishing_score_list,json=fishingScoreList,proto3" json:"fishing_score_list,omitempty"` +} + +func (x *FishingGallerySettleInfo) Reset() { + *x = FishingGallerySettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FishingGallerySettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishingGallerySettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishingGallerySettleInfo) ProtoMessage() {} + +func (x *FishingGallerySettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FishingGallerySettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishingGallerySettleInfo.ProtoReflect.Descriptor instead. +func (*FishingGallerySettleInfo) Descriptor() ([]byte, []int) { + return file_FishingGallerySettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FishingGallerySettleInfo) GetFishMap() map[uint32]*FishInfo { + if x != nil { + return x.FishMap + } + return nil +} + +func (x *FishingGallerySettleInfo) GetFishingScoreList() []*FishingScore { + if x != nil { + return x.FishingScoreList + } + return nil +} + +var File_FishingGallerySettleInfo_proto protoreflect.FileDescriptor + +var file_FishingGallerySettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0e, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x18, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x41, 0x0a, 0x08, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, + 0x69, 0x73, 0x68, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x66, 0x69, 0x73, + 0x68, 0x4d, 0x61, 0x70, 0x12, 0x3b, 0x0a, 0x12, 0x66, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, + 0x10, 0x66, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x1a, 0x45, 0x0a, 0x0c, 0x46, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishingGallerySettleInfo_proto_rawDescOnce sync.Once + file_FishingGallerySettleInfo_proto_rawDescData = file_FishingGallerySettleInfo_proto_rawDesc +) + +func file_FishingGallerySettleInfo_proto_rawDescGZIP() []byte { + file_FishingGallerySettleInfo_proto_rawDescOnce.Do(func() { + file_FishingGallerySettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishingGallerySettleInfo_proto_rawDescData) + }) + return file_FishingGallerySettleInfo_proto_rawDescData +} + +var file_FishingGallerySettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FishingGallerySettleInfo_proto_goTypes = []interface{}{ + (*FishingGallerySettleInfo)(nil), // 0: FishingGallerySettleInfo + nil, // 1: FishingGallerySettleInfo.FishMapEntry + (*FishingScore)(nil), // 2: FishingScore + (*FishInfo)(nil), // 3: FishInfo +} +var file_FishingGallerySettleInfo_proto_depIdxs = []int32{ + 1, // 0: FishingGallerySettleInfo.fish_map:type_name -> FishingGallerySettleInfo.FishMapEntry + 2, // 1: FishingGallerySettleInfo.fishing_score_list:type_name -> FishingScore + 3, // 2: FishingGallerySettleInfo.FishMapEntry.value:type_name -> FishInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_FishingGallerySettleInfo_proto_init() } +func file_FishingGallerySettleInfo_proto_init() { + if File_FishingGallerySettleInfo_proto != nil { + return + } + file_FishInfo_proto_init() + file_FishingScore_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishingGallerySettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishingGallerySettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishingGallerySettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishingGallerySettleInfo_proto_goTypes, + DependencyIndexes: file_FishingGallerySettleInfo_proto_depIdxs, + MessageInfos: file_FishingGallerySettleInfo_proto_msgTypes, + }.Build() + File_FishingGallerySettleInfo_proto = out.File + file_FishingGallerySettleInfo_proto_rawDesc = nil + file_FishingGallerySettleInfo_proto_goTypes = nil + file_FishingGallerySettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishingGallerySettleInfo.proto b/gate-hk4e-api/proto/FishingGallerySettleInfo.proto new file mode 100644 index 00000000..c7af8724 --- /dev/null +++ b/gate-hk4e-api/proto/FishingGallerySettleInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishInfo.proto"; +import "FishingScore.proto"; + +option go_package = "./;proto"; + +message FishingGallerySettleInfo { + map fish_map = 11; + repeated FishingScore fishing_score_list = 15; +} diff --git a/gate-hk4e-api/proto/FishingGallerySettleNotify.pb.go b/gate-hk4e-api/proto/FishingGallerySettleNotify.pb.go new file mode 100644 index 00000000..26457b61 --- /dev/null +++ b/gate-hk4e-api/proto/FishingGallerySettleNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishingGallerySettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8780 +// EnetChannelId: 0 +// EnetIsReliable: true +type FishingGallerySettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,6,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + SettleInfo *FishingGallerySettleInfo `protobuf:"bytes,13,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *FishingGallerySettleNotify) Reset() { + *x = FishingGallerySettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FishingGallerySettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishingGallerySettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishingGallerySettleNotify) ProtoMessage() {} + +func (x *FishingGallerySettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_FishingGallerySettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishingGallerySettleNotify.ProtoReflect.Descriptor instead. +func (*FishingGallerySettleNotify) Descriptor() ([]byte, []int) { + return file_FishingGallerySettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FishingGallerySettleNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *FishingGallerySettleNotify) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *FishingGallerySettleNotify) GetSettleInfo() *FishingGallerySettleInfo { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_FishingGallerySettleNotify_proto protoreflect.FileDescriptor + +var file_FishingGallerySettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1a, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x0b, 0x73, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishingGallerySettleNotify_proto_rawDescOnce sync.Once + file_FishingGallerySettleNotify_proto_rawDescData = file_FishingGallerySettleNotify_proto_rawDesc +) + +func file_FishingGallerySettleNotify_proto_rawDescGZIP() []byte { + file_FishingGallerySettleNotify_proto_rawDescOnce.Do(func() { + file_FishingGallerySettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishingGallerySettleNotify_proto_rawDescData) + }) + return file_FishingGallerySettleNotify_proto_rawDescData +} + +var file_FishingGallerySettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishingGallerySettleNotify_proto_goTypes = []interface{}{ + (*FishingGallerySettleNotify)(nil), // 0: FishingGallerySettleNotify + (*FishingGallerySettleInfo)(nil), // 1: FishingGallerySettleInfo +} +var file_FishingGallerySettleNotify_proto_depIdxs = []int32{ + 1, // 0: FishingGallerySettleNotify.settle_info:type_name -> FishingGallerySettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FishingGallerySettleNotify_proto_init() } +func file_FishingGallerySettleNotify_proto_init() { + if File_FishingGallerySettleNotify_proto != nil { + return + } + file_FishingGallerySettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FishingGallerySettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishingGallerySettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishingGallerySettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishingGallerySettleNotify_proto_goTypes, + DependencyIndexes: file_FishingGallerySettleNotify_proto_depIdxs, + MessageInfos: file_FishingGallerySettleNotify_proto_msgTypes, + }.Build() + File_FishingGallerySettleNotify_proto = out.File + file_FishingGallerySettleNotify_proto_rawDesc = nil + file_FishingGallerySettleNotify_proto_goTypes = nil + file_FishingGallerySettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishingGallerySettleNotify.proto b/gate-hk4e-api/proto/FishingGallerySettleNotify.proto new file mode 100644 index 00000000..1924511b --- /dev/null +++ b/gate-hk4e-api/proto/FishingGallerySettleNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishingGallerySettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8780 +// EnetChannelId: 0 +// EnetIsReliable: true +message FishingGallerySettleNotify { + uint32 gallery_id = 6; + uint32 level_id = 15; + FishingGallerySettleInfo settle_info = 13; +} diff --git a/gate-hk4e-api/proto/FishingScore.pb.go b/gate-hk4e-api/proto/FishingScore.pb.go new file mode 100644 index 00000000..d90b324a --- /dev/null +++ b/gate-hk4e-api/proto/FishingScore.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishingScore.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishingScore struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishingScore_ uint32 `protobuf:"varint,2,opt,name=fishing_score_,json=fishingScore,proto3" json:"fishing_score_,omitempty"` + IsNewRecord bool `protobuf:"varint,4,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *FishingScore) Reset() { + *x = FishingScore{} + if protoimpl.UnsafeEnabled { + mi := &file_FishingScore_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishingScore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishingScore) ProtoMessage() {} + +func (x *FishingScore) ProtoReflect() protoreflect.Message { + mi := &file_FishingScore_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishingScore.ProtoReflect.Descriptor instead. +func (*FishingScore) Descriptor() ([]byte, []int) { + return file_FishingScore_proto_rawDescGZIP(), []int{0} +} + +func (x *FishingScore) GetFishingScore_() uint32 { + if x != nil { + return x.FishingScore_ + } + return 0 +} + +func (x *FishingScore) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_FishingScore_proto protoreflect.FileDescriptor + +var file_FishingScore_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x0c, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x69, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, + 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FishingScore_proto_rawDescOnce sync.Once + file_FishingScore_proto_rawDescData = file_FishingScore_proto_rawDesc +) + +func file_FishingScore_proto_rawDescGZIP() []byte { + file_FishingScore_proto_rawDescOnce.Do(func() { + file_FishingScore_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishingScore_proto_rawDescData) + }) + return file_FishingScore_proto_rawDescData +} + +var file_FishingScore_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishingScore_proto_goTypes = []interface{}{ + (*FishingScore)(nil), // 0: FishingScore +} +var file_FishingScore_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishingScore_proto_init() } +func file_FishingScore_proto_init() { + if File_FishingScore_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishingScore_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishingScore); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishingScore_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishingScore_proto_goTypes, + DependencyIndexes: file_FishingScore_proto_depIdxs, + MessageInfos: file_FishingScore_proto_msgTypes, + }.Build() + File_FishingScore_proto = out.File + file_FishingScore_proto_rawDesc = nil + file_FishingScore_proto_goTypes = nil + file_FishingScore_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishingScore.proto b/gate-hk4e-api/proto/FishingScore.proto new file mode 100644 index 00000000..da1fdbcc --- /dev/null +++ b/gate-hk4e-api/proto/FishingScore.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FishingScore { + uint32 fishing_score_ = 2; + bool is_new_record = 4; +} diff --git a/gate-hk4e-api/proto/FishtankFishInfo.pb.go b/gate-hk4e-api/proto/FishtankFishInfo.pb.go new file mode 100644 index 00000000..4254e6eb --- /dev/null +++ b/gate-hk4e-api/proto/FishtankFishInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FishtankFishInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FishtankFishInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_KNOBDDHIONH float32 `protobuf:"fixed32,1,opt,name=Unk3000_KNOBDDHIONH,json=Unk3000KNOBDDHIONH,proto3" json:"Unk3000_KNOBDDHIONH,omitempty"` + Unk3000_NDBJCJEIEEO float32 `protobuf:"fixed32,2,opt,name=Unk3000_NDBJCJEIEEO,json=Unk3000NDBJCJEIEEO,proto3" json:"Unk3000_NDBJCJEIEEO,omitempty"` + Unk3000_CGBHKPEGBOD float32 `protobuf:"fixed32,3,opt,name=Unk3000_CGBHKPEGBOD,json=Unk3000CGBHKPEGBOD,proto3" json:"Unk3000_CGBHKPEGBOD,omitempty"` +} + +func (x *FishtankFishInfo) Reset() { + *x = FishtankFishInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FishtankFishInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FishtankFishInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FishtankFishInfo) ProtoMessage() {} + +func (x *FishtankFishInfo) ProtoReflect() protoreflect.Message { + mi := &file_FishtankFishInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FishtankFishInfo.ProtoReflect.Descriptor instead. +func (*FishtankFishInfo) Descriptor() ([]byte, []int) { + return file_FishtankFishInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FishtankFishInfo) GetUnk3000_KNOBDDHIONH() float32 { + if x != nil { + return x.Unk3000_KNOBDDHIONH + } + return 0 +} + +func (x *FishtankFishInfo) GetUnk3000_NDBJCJEIEEO() float32 { + if x != nil { + return x.Unk3000_NDBJCJEIEEO + } + return 0 +} + +func (x *FishtankFishInfo) GetUnk3000_CGBHKPEGBOD() float32 { + if x != nil { + return x.Unk3000_CGBHKPEGBOD + } + return 0 +} + +var File_FishtankFishInfo_proto protoreflect.FileDescriptor + +var file_FishtankFishInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x74, 0x61, 0x6e, 0x6b, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x73, + 0x68, 0x74, 0x61, 0x6e, 0x6b, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x4f, 0x42, 0x44, 0x44, 0x48, + 0x49, 0x4f, 0x4e, 0x48, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4b, 0x4e, 0x4f, 0x42, 0x44, 0x44, 0x48, 0x49, 0x4f, 0x4e, 0x48, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x44, 0x42, 0x4a, 0x43, 0x4a, + 0x45, 0x49, 0x45, 0x45, 0x4f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x4e, 0x44, 0x42, 0x4a, 0x43, 0x4a, 0x45, 0x49, 0x45, 0x45, 0x4f, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x42, 0x48, 0x4b, + 0x50, 0x45, 0x47, 0x42, 0x4f, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x47, 0x42, 0x48, 0x4b, 0x50, 0x45, 0x47, 0x42, 0x4f, 0x44, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FishtankFishInfo_proto_rawDescOnce sync.Once + file_FishtankFishInfo_proto_rawDescData = file_FishtankFishInfo_proto_rawDesc +) + +func file_FishtankFishInfo_proto_rawDescGZIP() []byte { + file_FishtankFishInfo_proto_rawDescOnce.Do(func() { + file_FishtankFishInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FishtankFishInfo_proto_rawDescData) + }) + return file_FishtankFishInfo_proto_rawDescData +} + +var file_FishtankFishInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FishtankFishInfo_proto_goTypes = []interface{}{ + (*FishtankFishInfo)(nil), // 0: FishtankFishInfo +} +var file_FishtankFishInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FishtankFishInfo_proto_init() } +func file_FishtankFishInfo_proto_init() { + if File_FishtankFishInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FishtankFishInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FishtankFishInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FishtankFishInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FishtankFishInfo_proto_goTypes, + DependencyIndexes: file_FishtankFishInfo_proto_depIdxs, + MessageInfos: file_FishtankFishInfo_proto_msgTypes, + }.Build() + File_FishtankFishInfo_proto = out.File + file_FishtankFishInfo_proto_rawDesc = nil + file_FishtankFishInfo_proto_goTypes = nil + file_FishtankFishInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FishtankFishInfo.proto b/gate-hk4e-api/proto/FishtankFishInfo.proto new file mode 100644 index 00000000..7f21a4a8 --- /dev/null +++ b/gate-hk4e-api/proto/FishtankFishInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FishtankFishInfo { + float Unk3000_KNOBDDHIONH = 1; + float Unk3000_NDBJCJEIEEO = 2; + float Unk3000_CGBHKPEGBOD = 3; +} diff --git a/gate-hk4e-api/proto/FleurFairActivityDetailInfo.pb.go b/gate-hk4e-api/proto/FleurFairActivityDetailInfo.pb.go new file mode 100644 index 00000000..b7a5dad2 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairActivityDetailInfo.pb.go @@ -0,0 +1,277 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsContentClosed bool `protobuf:"varint,4,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + DungeonPunishOverTime uint32 `protobuf:"varint,6,opt,name=dungeon_punish_over_time,json=dungeonPunishOverTime,proto3" json:"dungeon_punish_over_time,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,15,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + ObtainedToken uint32 `protobuf:"varint,13,opt,name=obtained_token,json=obtainedToken,proto3" json:"obtained_token,omitempty"` + ChapterInfoList []*FleurFairChapterInfo `protobuf:"bytes,14,rep,name=chapter_info_list,json=chapterInfoList,proto3" json:"chapter_info_list,omitempty"` + MinigameInfoMap map[uint32]*FleurFairMinigameInfo `protobuf:"bytes,9,rep,name=minigame_info_map,json=minigameInfoMap,proto3" json:"minigame_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DungeonSectionInfoMap map[uint32]*FleurFairDungeonSectionInfo `protobuf:"bytes,3,rep,name=dungeon_section_info_map,json=dungeonSectionInfoMap,proto3" json:"dungeon_section_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + IsDungeonUnlocked bool `protobuf:"varint,11,opt,name=is_dungeon_unlocked,json=isDungeonUnlocked,proto3" json:"is_dungeon_unlocked,omitempty"` +} + +func (x *FleurFairActivityDetailInfo) Reset() { + *x = FleurFairActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairActivityDetailInfo) ProtoMessage() {} + +func (x *FleurFairActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*FleurFairActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_FleurFairActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *FleurFairActivityDetailInfo) GetDungeonPunishOverTime() uint32 { + if x != nil { + return x.DungeonPunishOverTime + } + return 0 +} + +func (x *FleurFairActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *FleurFairActivityDetailInfo) GetObtainedToken() uint32 { + if x != nil { + return x.ObtainedToken + } + return 0 +} + +func (x *FleurFairActivityDetailInfo) GetChapterInfoList() []*FleurFairChapterInfo { + if x != nil { + return x.ChapterInfoList + } + return nil +} + +func (x *FleurFairActivityDetailInfo) GetMinigameInfoMap() map[uint32]*FleurFairMinigameInfo { + if x != nil { + return x.MinigameInfoMap + } + return nil +} + +func (x *FleurFairActivityDetailInfo) GetDungeonSectionInfoMap() map[uint32]*FleurFairDungeonSectionInfo { + if x != nil { + return x.DungeonSectionInfoMap + } + return nil +} + +func (x *FleurFairActivityDetailInfo) GetIsDungeonUnlocked() bool { + if x != nil { + return x.IsDungeonUnlocked + } + return false +} + +var File_FleurFairActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_FleurFairActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x43, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x69, 0x6e, + 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xdf, 0x05, 0x0a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, + 0x6f, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x70, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x6f, 0x76, + 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x4f, 0x76, 0x65, 0x72, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, + 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f, 0x62, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x63, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x63, 0x68, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5d, 0x0a, 0x11, + 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, + 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, + 0x61, 0x69, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x69, + 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x70, 0x0a, 0x18, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x2e, 0x0a, + 0x13, 0x69, 0x73, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x1a, 0x5a, 0x0a, + 0x14, 0x4d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, + 0x69, 0x72, 0x4d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x66, 0x0a, 0x1a, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, + 0x46, 0x61, 0x69, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairActivityDetailInfo_proto_rawDescOnce sync.Once + file_FleurFairActivityDetailInfo_proto_rawDescData = file_FleurFairActivityDetailInfo_proto_rawDesc +) + +func file_FleurFairActivityDetailInfo_proto_rawDescGZIP() []byte { + file_FleurFairActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_FleurFairActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairActivityDetailInfo_proto_rawDescData) + }) + return file_FleurFairActivityDetailInfo_proto_rawDescData +} + +var file_FleurFairActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_FleurFairActivityDetailInfo_proto_goTypes = []interface{}{ + (*FleurFairActivityDetailInfo)(nil), // 0: FleurFairActivityDetailInfo + nil, // 1: FleurFairActivityDetailInfo.MinigameInfoMapEntry + nil, // 2: FleurFairActivityDetailInfo.DungeonSectionInfoMapEntry + (*FleurFairChapterInfo)(nil), // 3: FleurFairChapterInfo + (*FleurFairMinigameInfo)(nil), // 4: FleurFairMinigameInfo + (*FleurFairDungeonSectionInfo)(nil), // 5: FleurFairDungeonSectionInfo +} +var file_FleurFairActivityDetailInfo_proto_depIdxs = []int32{ + 3, // 0: FleurFairActivityDetailInfo.chapter_info_list:type_name -> FleurFairChapterInfo + 1, // 1: FleurFairActivityDetailInfo.minigame_info_map:type_name -> FleurFairActivityDetailInfo.MinigameInfoMapEntry + 2, // 2: FleurFairActivityDetailInfo.dungeon_section_info_map:type_name -> FleurFairActivityDetailInfo.DungeonSectionInfoMapEntry + 4, // 3: FleurFairActivityDetailInfo.MinigameInfoMapEntry.value:type_name -> FleurFairMinigameInfo + 5, // 4: FleurFairActivityDetailInfo.DungeonSectionInfoMapEntry.value:type_name -> FleurFairDungeonSectionInfo + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_FleurFairActivityDetailInfo_proto_init() } +func file_FleurFairActivityDetailInfo_proto_init() { + if File_FleurFairActivityDetailInfo_proto != nil { + return + } + file_FleurFairChapterInfo_proto_init() + file_FleurFairDungeonSectionInfo_proto_init() + file_FleurFairMinigameInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_FleurFairActivityDetailInfo_proto_depIdxs, + MessageInfos: file_FleurFairActivityDetailInfo_proto_msgTypes, + }.Build() + File_FleurFairActivityDetailInfo_proto = out.File + file_FleurFairActivityDetailInfo_proto_rawDesc = nil + file_FleurFairActivityDetailInfo_proto_goTypes = nil + file_FleurFairActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairActivityDetailInfo.proto b/gate-hk4e-api/proto/FleurFairActivityDetailInfo.proto new file mode 100644 index 00000000..f94ce8ef --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairActivityDetailInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairChapterInfo.proto"; +import "FleurFairDungeonSectionInfo.proto"; +import "FleurFairMinigameInfo.proto"; + +option go_package = "./;proto"; + +message FleurFairActivityDetailInfo { + bool is_content_closed = 4; + uint32 dungeon_punish_over_time = 6; + uint32 content_close_time = 15; + uint32 obtained_token = 13; + repeated FleurFairChapterInfo chapter_info_list = 14; + map minigame_info_map = 9; + map dungeon_section_info_map = 3; + bool is_dungeon_unlocked = 11; +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonInfo.pb.go b/gate-hk4e-api/proto/FleurFairBalloonInfo.pb.go new file mode 100644 index 00000000..ef5855cb --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairBalloonInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairBalloonInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestScore uint32 `protobuf:"varint,4,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *FleurFairBalloonInfo) Reset() { + *x = FleurFairBalloonInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairBalloonInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairBalloonInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairBalloonInfo) ProtoMessage() {} + +func (x *FleurFairBalloonInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairBalloonInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairBalloonInfo.ProtoReflect.Descriptor instead. +func (*FleurFairBalloonInfo) Descriptor() ([]byte, []int) { + return file_FleurFairBalloonInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairBalloonInfo) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_FleurFairBalloonInfo_proto protoreflect.FileDescriptor + +var file_FleurFairBalloonInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x14, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairBalloonInfo_proto_rawDescOnce sync.Once + file_FleurFairBalloonInfo_proto_rawDescData = file_FleurFairBalloonInfo_proto_rawDesc +) + +func file_FleurFairBalloonInfo_proto_rawDescGZIP() []byte { + file_FleurFairBalloonInfo_proto_rawDescOnce.Do(func() { + file_FleurFairBalloonInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairBalloonInfo_proto_rawDescData) + }) + return file_FleurFairBalloonInfo_proto_rawDescData +} + +var file_FleurFairBalloonInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairBalloonInfo_proto_goTypes = []interface{}{ + (*FleurFairBalloonInfo)(nil), // 0: FleurFairBalloonInfo +} +var file_FleurFairBalloonInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairBalloonInfo_proto_init() } +func file_FleurFairBalloonInfo_proto_init() { + if File_FleurFairBalloonInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairBalloonInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairBalloonInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairBalloonInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairBalloonInfo_proto_goTypes, + DependencyIndexes: file_FleurFairBalloonInfo_proto_depIdxs, + MessageInfos: file_FleurFairBalloonInfo_proto_msgTypes, + }.Build() + File_FleurFairBalloonInfo_proto = out.File + file_FleurFairBalloonInfo_proto_rawDesc = nil + file_FleurFairBalloonInfo_proto_goTypes = nil + file_FleurFairBalloonInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonInfo.proto b/gate-hk4e-api/proto/FleurFairBalloonInfo.proto new file mode 100644 index 00000000..dd62b703 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairBalloonInfo { + uint32 best_score = 4; +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.pb.go b/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.pb.go new file mode 100644 index 00000000..afbdb69f --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairBalloonSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairBalloonSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *BalloonSettleInfo `protobuf:"bytes,10,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + IsNewRecord bool `protobuf:"varint,7,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *FleurFairBalloonSettleInfo) Reset() { + *x = FleurFairBalloonSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairBalloonSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairBalloonSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairBalloonSettleInfo) ProtoMessage() {} + +func (x *FleurFairBalloonSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairBalloonSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairBalloonSettleInfo.ProtoReflect.Descriptor instead. +func (*FleurFairBalloonSettleInfo) Descriptor() ([]byte, []int) { + return file_FleurFairBalloonSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairBalloonSettleInfo) GetSettleInfo() *BalloonSettleInfo { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *FleurFairBalloonSettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_FleurFairBalloonSettleInfo_proto protoreflect.FileDescriptor + +var file_FleurFairBalloonSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x17, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x1a, 0x46, + 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x0b, 0x73, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, + 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairBalloonSettleInfo_proto_rawDescOnce sync.Once + file_FleurFairBalloonSettleInfo_proto_rawDescData = file_FleurFairBalloonSettleInfo_proto_rawDesc +) + +func file_FleurFairBalloonSettleInfo_proto_rawDescGZIP() []byte { + file_FleurFairBalloonSettleInfo_proto_rawDescOnce.Do(func() { + file_FleurFairBalloonSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairBalloonSettleInfo_proto_rawDescData) + }) + return file_FleurFairBalloonSettleInfo_proto_rawDescData +} + +var file_FleurFairBalloonSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairBalloonSettleInfo_proto_goTypes = []interface{}{ + (*FleurFairBalloonSettleInfo)(nil), // 0: FleurFairBalloonSettleInfo + (*BalloonSettleInfo)(nil), // 1: BalloonSettleInfo +} +var file_FleurFairBalloonSettleInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairBalloonSettleInfo.settle_info:type_name -> BalloonSettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FleurFairBalloonSettleInfo_proto_init() } +func file_FleurFairBalloonSettleInfo_proto_init() { + if File_FleurFairBalloonSettleInfo_proto != nil { + return + } + file_BalloonSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairBalloonSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairBalloonSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairBalloonSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairBalloonSettleInfo_proto_goTypes, + DependencyIndexes: file_FleurFairBalloonSettleInfo_proto_depIdxs, + MessageInfos: file_FleurFairBalloonSettleInfo_proto_msgTypes, + }.Build() + File_FleurFairBalloonSettleInfo_proto = out.File + file_FleurFairBalloonSettleInfo_proto_rawDesc = nil + file_FleurFairBalloonSettleInfo_proto_goTypes = nil + file_FleurFairBalloonSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.proto b/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.proto new file mode 100644 index 00000000..f736242b --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonSettleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BalloonSettleInfo.proto"; + +option go_package = "./;proto"; + +message FleurFairBalloonSettleInfo { + BalloonSettleInfo settle_info = 10; + bool is_new_record = 7; +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.pb.go b/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.pb.go new file mode 100644 index 00000000..4b8125d5 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairBalloonSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2099 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairBalloonSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MinigameId uint32 `protobuf:"varint,9,opt,name=minigame_id,json=minigameId,proto3" json:"minigame_id,omitempty"` + SettleInfoMap map[uint32]*FleurFairBalloonSettleInfo `protobuf:"bytes,15,rep,name=settle_info_map,json=settleInfoMap,proto3" json:"settle_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *FleurFairBalloonSettleNotify) Reset() { + *x = FleurFairBalloonSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairBalloonSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairBalloonSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairBalloonSettleNotify) ProtoMessage() {} + +func (x *FleurFairBalloonSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairBalloonSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairBalloonSettleNotify.ProtoReflect.Descriptor instead. +func (*FleurFairBalloonSettleNotify) Descriptor() ([]byte, []int) { + return file_FleurFairBalloonSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairBalloonSettleNotify) GetMinigameId() uint32 { + if x != nil { + return x.MinigameId + } + return 0 +} + +func (x *FleurFairBalloonSettleNotify) GetSettleInfoMap() map[uint32]*FleurFairBalloonSettleInfo { + if x != nil { + return x.SettleInfoMap + } + return nil +} + +var File_FleurFairBalloonSettleNotify_proto protoreflect.FileDescriptor + +var file_FleurFairBalloonSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, + 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x01, 0x0a, 0x1c, 0x46, 0x6c, 0x65, 0x75, 0x72, + 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x69, 0x67, + 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x69, + 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, + 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, + 0x61, 0x70, 0x1a, 0x5d, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x46, 0x6c, 0x65, 0x75, + 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairBalloonSettleNotify_proto_rawDescOnce sync.Once + file_FleurFairBalloonSettleNotify_proto_rawDescData = file_FleurFairBalloonSettleNotify_proto_rawDesc +) + +func file_FleurFairBalloonSettleNotify_proto_rawDescGZIP() []byte { + file_FleurFairBalloonSettleNotify_proto_rawDescOnce.Do(func() { + file_FleurFairBalloonSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairBalloonSettleNotify_proto_rawDescData) + }) + return file_FleurFairBalloonSettleNotify_proto_rawDescData +} + +var file_FleurFairBalloonSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FleurFairBalloonSettleNotify_proto_goTypes = []interface{}{ + (*FleurFairBalloonSettleNotify)(nil), // 0: FleurFairBalloonSettleNotify + nil, // 1: FleurFairBalloonSettleNotify.SettleInfoMapEntry + (*FleurFairBalloonSettleInfo)(nil), // 2: FleurFairBalloonSettleInfo +} +var file_FleurFairBalloonSettleNotify_proto_depIdxs = []int32{ + 1, // 0: FleurFairBalloonSettleNotify.settle_info_map:type_name -> FleurFairBalloonSettleNotify.SettleInfoMapEntry + 2, // 1: FleurFairBalloonSettleNotify.SettleInfoMapEntry.value:type_name -> FleurFairBalloonSettleInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FleurFairBalloonSettleNotify_proto_init() } +func file_FleurFairBalloonSettleNotify_proto_init() { + if File_FleurFairBalloonSettleNotify_proto != nil { + return + } + file_FleurFairBalloonSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairBalloonSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairBalloonSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairBalloonSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairBalloonSettleNotify_proto_goTypes, + DependencyIndexes: file_FleurFairBalloonSettleNotify_proto_depIdxs, + MessageInfos: file_FleurFairBalloonSettleNotify_proto_msgTypes, + }.Build() + File_FleurFairBalloonSettleNotify_proto = out.File + file_FleurFairBalloonSettleNotify_proto_rawDesc = nil + file_FleurFairBalloonSettleNotify_proto_goTypes = nil + file_FleurFairBalloonSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.proto b/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.proto new file mode 100644 index 00000000..b61577e6 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBalloonSettleNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairBalloonSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2099 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairBalloonSettleNotify { + uint32 minigame_id = 9; + map settle_info_map = 15; +} diff --git a/gate-hk4e-api/proto/FleurFairBossSettleInfo.pb.go b/gate-hk4e-api/proto/FleurFairBossSettleInfo.pb.go new file mode 100644 index 00000000..9a0bd058 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBossSettleInfo.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairBossSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairBossSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardTokenNum uint32 `protobuf:"varint,15,opt,name=reward_token_num,json=rewardTokenNum,proto3" json:"reward_token_num,omitempty"` + StatInfoList []*FleurFairPlayerStatInfo `protobuf:"bytes,1,rep,name=stat_info_list,json=statInfoList,proto3" json:"stat_info_list,omitempty"` + IsSuccess bool `protobuf:"varint,10,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + Energy uint32 `protobuf:"varint,12,opt,name=energy,proto3" json:"energy,omitempty"` + CostTime uint32 `protobuf:"varint,8,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` +} + +func (x *FleurFairBossSettleInfo) Reset() { + *x = FleurFairBossSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairBossSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairBossSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairBossSettleInfo) ProtoMessage() {} + +func (x *FleurFairBossSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairBossSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairBossSettleInfo.ProtoReflect.Descriptor instead. +func (*FleurFairBossSettleInfo) Descriptor() ([]byte, []int) { + return file_FleurFairBossSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairBossSettleInfo) GetRewardTokenNum() uint32 { + if x != nil { + return x.RewardTokenNum + } + return 0 +} + +func (x *FleurFairBossSettleInfo) GetStatInfoList() []*FleurFairPlayerStatInfo { + if x != nil { + return x.StatInfoList + } + return nil +} + +func (x *FleurFairBossSettleInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *FleurFairBossSettleInfo) GetEnergy() uint32 { + if x != nil { + return x.Energy + } + return 0 +} + +func (x *FleurFairBossSettleInfo) GetCostTime() uint32 { + if x != nil { + return x.CostTime + } + return 0 +} + +var File_FleurFairBossSettleInfo_proto protoreflect.FileDescriptor + +var file_FleurFairBossSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x73, 0x73, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, + 0x01, 0x0a, 0x17, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x73, 0x73, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x46, + 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairBossSettleInfo_proto_rawDescOnce sync.Once + file_FleurFairBossSettleInfo_proto_rawDescData = file_FleurFairBossSettleInfo_proto_rawDesc +) + +func file_FleurFairBossSettleInfo_proto_rawDescGZIP() []byte { + file_FleurFairBossSettleInfo_proto_rawDescOnce.Do(func() { + file_FleurFairBossSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairBossSettleInfo_proto_rawDescData) + }) + return file_FleurFairBossSettleInfo_proto_rawDescData +} + +var file_FleurFairBossSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairBossSettleInfo_proto_goTypes = []interface{}{ + (*FleurFairBossSettleInfo)(nil), // 0: FleurFairBossSettleInfo + (*FleurFairPlayerStatInfo)(nil), // 1: FleurFairPlayerStatInfo +} +var file_FleurFairBossSettleInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairBossSettleInfo.stat_info_list:type_name -> FleurFairPlayerStatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FleurFairBossSettleInfo_proto_init() } +func file_FleurFairBossSettleInfo_proto_init() { + if File_FleurFairBossSettleInfo_proto != nil { + return + } + file_FleurFairPlayerStatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairBossSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairBossSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairBossSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairBossSettleInfo_proto_goTypes, + DependencyIndexes: file_FleurFairBossSettleInfo_proto_depIdxs, + MessageInfos: file_FleurFairBossSettleInfo_proto_msgTypes, + }.Build() + File_FleurFairBossSettleInfo_proto = out.File + file_FleurFairBossSettleInfo_proto_rawDesc = nil + file_FleurFairBossSettleInfo_proto_goTypes = nil + file_FleurFairBossSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairBossSettleInfo.proto b/gate-hk4e-api/proto/FleurFairBossSettleInfo.proto new file mode 100644 index 00000000..a347b237 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBossSettleInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairPlayerStatInfo.proto"; + +option go_package = "./;proto"; + +message FleurFairBossSettleInfo { + uint32 reward_token_num = 15; + repeated FleurFairPlayerStatInfo stat_info_list = 1; + bool is_success = 10; + uint32 energy = 12; + uint32 cost_time = 8; +} diff --git a/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.pb.go b/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.pb.go new file mode 100644 index 00000000..357374eb --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairBuffEnergyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5324 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairBuffEnergyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Energy uint32 `protobuf:"varint,4,opt,name=energy,proto3" json:"energy,omitempty"` +} + +func (x *FleurFairBuffEnergyNotify) Reset() { + *x = FleurFairBuffEnergyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairBuffEnergyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairBuffEnergyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairBuffEnergyNotify) ProtoMessage() {} + +func (x *FleurFairBuffEnergyNotify) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairBuffEnergyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairBuffEnergyNotify.ProtoReflect.Descriptor instead. +func (*FleurFairBuffEnergyNotify) Descriptor() ([]byte, []int) { + return file_FleurFairBuffEnergyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairBuffEnergyNotify) GetEnergy() uint32 { + if x != nil { + return x.Energy + } + return 0 +} + +var File_FleurFairBuffEnergyNotify_proto protoreflect.FileDescriptor + +var file_FleurFairBuffEnergyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x75, 0x66, 0x66, 0x45, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x75, + 0x66, 0x66, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x16, + 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairBuffEnergyNotify_proto_rawDescOnce sync.Once + file_FleurFairBuffEnergyNotify_proto_rawDescData = file_FleurFairBuffEnergyNotify_proto_rawDesc +) + +func file_FleurFairBuffEnergyNotify_proto_rawDescGZIP() []byte { + file_FleurFairBuffEnergyNotify_proto_rawDescOnce.Do(func() { + file_FleurFairBuffEnergyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairBuffEnergyNotify_proto_rawDescData) + }) + return file_FleurFairBuffEnergyNotify_proto_rawDescData +} + +var file_FleurFairBuffEnergyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairBuffEnergyNotify_proto_goTypes = []interface{}{ + (*FleurFairBuffEnergyNotify)(nil), // 0: FleurFairBuffEnergyNotify +} +var file_FleurFairBuffEnergyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairBuffEnergyNotify_proto_init() } +func file_FleurFairBuffEnergyNotify_proto_init() { + if File_FleurFairBuffEnergyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairBuffEnergyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairBuffEnergyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairBuffEnergyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairBuffEnergyNotify_proto_goTypes, + DependencyIndexes: file_FleurFairBuffEnergyNotify_proto_depIdxs, + MessageInfos: file_FleurFairBuffEnergyNotify_proto_msgTypes, + }.Build() + File_FleurFairBuffEnergyNotify_proto = out.File + file_FleurFairBuffEnergyNotify_proto_rawDesc = nil + file_FleurFairBuffEnergyNotify_proto_goTypes = nil + file_FleurFairBuffEnergyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.proto b/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.proto new file mode 100644 index 00000000..81fa1c14 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairBuffEnergyNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5324 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairBuffEnergyNotify { + uint32 energy = 4; +} diff --git a/gate-hk4e-api/proto/FleurFairChapterInfo.pb.go b/gate-hk4e-api/proto/FleurFairChapterInfo.pb.go new file mode 100644 index 00000000..8b642b77 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairChapterInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairChapterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairChapterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,15,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + ChapterId uint32 `protobuf:"varint,11,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *FleurFairChapterInfo) Reset() { + *x = FleurFairChapterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairChapterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairChapterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairChapterInfo) ProtoMessage() {} + +func (x *FleurFairChapterInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairChapterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairChapterInfo.ProtoReflect.Descriptor instead. +func (*FleurFairChapterInfo) Descriptor() ([]byte, []int) { + return file_FleurFairChapterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairChapterInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *FleurFairChapterInfo) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_FleurFairChapterInfo_proto protoreflect.FileDescriptor + +var file_FleurFairChapterInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x43, 0x68, 0x61, 0x70, 0x74, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x14, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairChapterInfo_proto_rawDescOnce sync.Once + file_FleurFairChapterInfo_proto_rawDescData = file_FleurFairChapterInfo_proto_rawDesc +) + +func file_FleurFairChapterInfo_proto_rawDescGZIP() []byte { + file_FleurFairChapterInfo_proto_rawDescOnce.Do(func() { + file_FleurFairChapterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairChapterInfo_proto_rawDescData) + }) + return file_FleurFairChapterInfo_proto_rawDescData +} + +var file_FleurFairChapterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairChapterInfo_proto_goTypes = []interface{}{ + (*FleurFairChapterInfo)(nil), // 0: FleurFairChapterInfo +} +var file_FleurFairChapterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairChapterInfo_proto_init() } +func file_FleurFairChapterInfo_proto_init() { + if File_FleurFairChapterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairChapterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairChapterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairChapterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairChapterInfo_proto_goTypes, + DependencyIndexes: file_FleurFairChapterInfo_proto_depIdxs, + MessageInfos: file_FleurFairChapterInfo_proto_msgTypes, + }.Build() + File_FleurFairChapterInfo_proto = out.File + file_FleurFairChapterInfo_proto_rawDesc = nil + file_FleurFairChapterInfo_proto_goTypes = nil + file_FleurFairChapterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairChapterInfo.proto b/gate-hk4e-api/proto/FleurFairChapterInfo.proto new file mode 100644 index 00000000..331faf27 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairChapterInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairChapterInfo { + uint32 open_time = 15; + uint32 chapter_id = 11; +} diff --git a/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.pb.go b/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.pb.go new file mode 100644 index 00000000..f298de66 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairDungeonSectionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairDungeonSectionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SectionId uint32 `protobuf:"varint,10,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` + OpenTime uint32 `protobuf:"varint,13,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *FleurFairDungeonSectionInfo) Reset() { + *x = FleurFairDungeonSectionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairDungeonSectionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairDungeonSectionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairDungeonSectionInfo) ProtoMessage() {} + +func (x *FleurFairDungeonSectionInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairDungeonSectionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairDungeonSectionInfo.ProtoReflect.Descriptor instead. +func (*FleurFairDungeonSectionInfo) Descriptor() ([]byte, []int) { + return file_FleurFairDungeonSectionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairDungeonSectionInfo) GetSectionId() uint32 { + if x != nil { + return x.SectionId + } + return 0 +} + +func (x *FleurFairDungeonSectionInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *FleurFairDungeonSectionInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_FleurFairDungeonSectionInfo_proto protoreflect.FileDescriptor + +var file_FleurFairDungeonSectionInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairDungeonSectionInfo_proto_rawDescOnce sync.Once + file_FleurFairDungeonSectionInfo_proto_rawDescData = file_FleurFairDungeonSectionInfo_proto_rawDesc +) + +func file_FleurFairDungeonSectionInfo_proto_rawDescGZIP() []byte { + file_FleurFairDungeonSectionInfo_proto_rawDescOnce.Do(func() { + file_FleurFairDungeonSectionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairDungeonSectionInfo_proto_rawDescData) + }) + return file_FleurFairDungeonSectionInfo_proto_rawDescData +} + +var file_FleurFairDungeonSectionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairDungeonSectionInfo_proto_goTypes = []interface{}{ + (*FleurFairDungeonSectionInfo)(nil), // 0: FleurFairDungeonSectionInfo +} +var file_FleurFairDungeonSectionInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairDungeonSectionInfo_proto_init() } +func file_FleurFairDungeonSectionInfo_proto_init() { + if File_FleurFairDungeonSectionInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairDungeonSectionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairDungeonSectionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairDungeonSectionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairDungeonSectionInfo_proto_goTypes, + DependencyIndexes: file_FleurFairDungeonSectionInfo_proto_depIdxs, + MessageInfos: file_FleurFairDungeonSectionInfo_proto_msgTypes, + }.Build() + File_FleurFairDungeonSectionInfo_proto = out.File + file_FleurFairDungeonSectionInfo_proto_rawDesc = nil + file_FleurFairDungeonSectionInfo_proto_goTypes = nil + file_FleurFairDungeonSectionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.proto b/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.proto new file mode 100644 index 00000000..5edec620 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairDungeonSectionInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairDungeonSectionInfo { + uint32 section_id = 10; + uint32 open_time = 13; + bool is_open = 1; +} diff --git a/gate-hk4e-api/proto/FleurFairFallInfo.pb.go b/gate-hk4e-api/proto/FleurFairFallInfo.pb.go new file mode 100644 index 00000000..8369af88 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairFallInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairFallInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestScore uint32 `protobuf:"varint,10,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *FleurFairFallInfo) Reset() { + *x = FleurFairFallInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairFallInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairFallInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairFallInfo) ProtoMessage() {} + +func (x *FleurFairFallInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairFallInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairFallInfo.ProtoReflect.Descriptor instead. +func (*FleurFairFallInfo) Descriptor() ([]byte, []int) { + return file_FleurFairFallInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairFallInfo) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_FleurFairFallInfo_proto protoreflect.FileDescriptor + +var file_FleurFairFallInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x46, 0x6c, 0x65, + 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, + 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_FleurFairFallInfo_proto_rawDescOnce sync.Once + file_FleurFairFallInfo_proto_rawDescData = file_FleurFairFallInfo_proto_rawDesc +) + +func file_FleurFairFallInfo_proto_rawDescGZIP() []byte { + file_FleurFairFallInfo_proto_rawDescOnce.Do(func() { + file_FleurFairFallInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairFallInfo_proto_rawDescData) + }) + return file_FleurFairFallInfo_proto_rawDescData +} + +var file_FleurFairFallInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairFallInfo_proto_goTypes = []interface{}{ + (*FleurFairFallInfo)(nil), // 0: FleurFairFallInfo +} +var file_FleurFairFallInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairFallInfo_proto_init() } +func file_FleurFairFallInfo_proto_init() { + if File_FleurFairFallInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairFallInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairFallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairFallInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairFallInfo_proto_goTypes, + DependencyIndexes: file_FleurFairFallInfo_proto_depIdxs, + MessageInfos: file_FleurFairFallInfo_proto_msgTypes, + }.Build() + File_FleurFairFallInfo_proto = out.File + file_FleurFairFallInfo_proto_rawDesc = nil + file_FleurFairFallInfo_proto_goTypes = nil + file_FleurFairFallInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairFallInfo.proto b/gate-hk4e-api/proto/FleurFairFallInfo.proto new file mode 100644 index 00000000..864e421b --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairFallInfo { + uint32 best_score = 10; +} diff --git a/gate-hk4e-api/proto/FleurFairFallSettleInfo.pb.go b/gate-hk4e-api/proto/FleurFairFallSettleInfo.pb.go new file mode 100644 index 00000000..e6bc8768 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallSettleInfo.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairFallSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairFallSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *FallSettleInfo `protobuf:"bytes,4,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + IsNewRecord bool `protobuf:"varint,10,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *FleurFairFallSettleInfo) Reset() { + *x = FleurFairFallSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairFallSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairFallSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairFallSettleInfo) ProtoMessage() {} + +func (x *FleurFairFallSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairFallSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairFallSettleInfo.ProtoReflect.Descriptor instead. +func (*FleurFairFallSettleInfo) Descriptor() ([]byte, []int) { + return file_FleurFairFallSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairFallSettleInfo) GetSettleInfo() *FallSettleInfo { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *FleurFairFallSettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_FleurFairFallSettleInfo_proto protoreflect.FileDescriptor + +var file_FleurFairFallSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x17, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, + 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x30, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairFallSettleInfo_proto_rawDescOnce sync.Once + file_FleurFairFallSettleInfo_proto_rawDescData = file_FleurFairFallSettleInfo_proto_rawDesc +) + +func file_FleurFairFallSettleInfo_proto_rawDescGZIP() []byte { + file_FleurFairFallSettleInfo_proto_rawDescOnce.Do(func() { + file_FleurFairFallSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairFallSettleInfo_proto_rawDescData) + }) + return file_FleurFairFallSettleInfo_proto_rawDescData +} + +var file_FleurFairFallSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairFallSettleInfo_proto_goTypes = []interface{}{ + (*FleurFairFallSettleInfo)(nil), // 0: FleurFairFallSettleInfo + (*FallSettleInfo)(nil), // 1: FallSettleInfo +} +var file_FleurFairFallSettleInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairFallSettleInfo.settle_info:type_name -> FallSettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FleurFairFallSettleInfo_proto_init() } +func file_FleurFairFallSettleInfo_proto_init() { + if File_FleurFairFallSettleInfo_proto != nil { + return + } + file_FallSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairFallSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairFallSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairFallSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairFallSettleInfo_proto_goTypes, + DependencyIndexes: file_FleurFairFallSettleInfo_proto_depIdxs, + MessageInfos: file_FleurFairFallSettleInfo_proto_msgTypes, + }.Build() + File_FleurFairFallSettleInfo_proto = out.File + file_FleurFairFallSettleInfo_proto_rawDesc = nil + file_FleurFairFallSettleInfo_proto_goTypes = nil + file_FleurFairFallSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairFallSettleInfo.proto b/gate-hk4e-api/proto/FleurFairFallSettleInfo.proto new file mode 100644 index 00000000..901963b5 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallSettleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FallSettleInfo.proto"; + +option go_package = "./;proto"; + +message FleurFairFallSettleInfo { + FallSettleInfo settle_info = 4; + bool is_new_record = 10; +} diff --git a/gate-hk4e-api/proto/FleurFairFallSettleNotify.pb.go b/gate-hk4e-api/proto/FleurFairFallSettleNotify.pb.go new file mode 100644 index 00000000..fba6d398 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallSettleNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairFallSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2017 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairFallSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MinigameId uint32 `protobuf:"varint,15,opt,name=minigame_id,json=minigameId,proto3" json:"minigame_id,omitempty"` + SettleInfoMap map[uint32]*FleurFairFallSettleInfo `protobuf:"bytes,11,rep,name=settle_info_map,json=settleInfoMap,proto3" json:"settle_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *FleurFairFallSettleNotify) Reset() { + *x = FleurFairFallSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairFallSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairFallSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairFallSettleNotify) ProtoMessage() {} + +func (x *FleurFairFallSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairFallSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairFallSettleNotify.ProtoReflect.Descriptor instead. +func (*FleurFairFallSettleNotify) Descriptor() ([]byte, []int) { + return file_FleurFairFallSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairFallSettleNotify) GetMinigameId() uint32 { + if x != nil { + return x.MinigameId + } + return 0 +} + +func (x *FleurFairFallSettleNotify) GetSettleInfoMap() map[uint32]*FleurFairFallSettleInfo { + if x != nil { + return x.SettleInfoMap + } + return nil +} + +var File_FleurFairFallSettleNotify_proto protoreflect.FileDescriptor + +var file_FleurFairFallSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xef, 0x01, 0x0a, 0x19, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, + 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, + 0x55, 0x0a, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, + 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x5a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairFallSettleNotify_proto_rawDescOnce sync.Once + file_FleurFairFallSettleNotify_proto_rawDescData = file_FleurFairFallSettleNotify_proto_rawDesc +) + +func file_FleurFairFallSettleNotify_proto_rawDescGZIP() []byte { + file_FleurFairFallSettleNotify_proto_rawDescOnce.Do(func() { + file_FleurFairFallSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairFallSettleNotify_proto_rawDescData) + }) + return file_FleurFairFallSettleNotify_proto_rawDescData +} + +var file_FleurFairFallSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FleurFairFallSettleNotify_proto_goTypes = []interface{}{ + (*FleurFairFallSettleNotify)(nil), // 0: FleurFairFallSettleNotify + nil, // 1: FleurFairFallSettleNotify.SettleInfoMapEntry + (*FleurFairFallSettleInfo)(nil), // 2: FleurFairFallSettleInfo +} +var file_FleurFairFallSettleNotify_proto_depIdxs = []int32{ + 1, // 0: FleurFairFallSettleNotify.settle_info_map:type_name -> FleurFairFallSettleNotify.SettleInfoMapEntry + 2, // 1: FleurFairFallSettleNotify.SettleInfoMapEntry.value:type_name -> FleurFairFallSettleInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FleurFairFallSettleNotify_proto_init() } +func file_FleurFairFallSettleNotify_proto_init() { + if File_FleurFairFallSettleNotify_proto != nil { + return + } + file_FleurFairFallSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairFallSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairFallSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairFallSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairFallSettleNotify_proto_goTypes, + DependencyIndexes: file_FleurFairFallSettleNotify_proto_depIdxs, + MessageInfos: file_FleurFairFallSettleNotify_proto_msgTypes, + }.Build() + File_FleurFairFallSettleNotify_proto = out.File + file_FleurFairFallSettleNotify_proto_rawDesc = nil + file_FleurFairFallSettleNotify_proto_goTypes = nil + file_FleurFairFallSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairFallSettleNotify.proto b/gate-hk4e-api/proto/FleurFairFallSettleNotify.proto new file mode 100644 index 00000000..101ed2e4 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFallSettleNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairFallSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2017 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairFallSettleNotify { + uint32 minigame_id = 15; + map settle_info_map = 11; +} diff --git a/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.pb.go b/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.pb.go new file mode 100644 index 00000000..2955a6d9 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairFinishGalleryStageNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5342 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairFinishGalleryStageNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FleurFairFinishGalleryStageNotify) Reset() { + *x = FleurFairFinishGalleryStageNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairFinishGalleryStageNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairFinishGalleryStageNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairFinishGalleryStageNotify) ProtoMessage() {} + +func (x *FleurFairFinishGalleryStageNotify) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairFinishGalleryStageNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairFinishGalleryStageNotify.ProtoReflect.Descriptor instead. +func (*FleurFairFinishGalleryStageNotify) Descriptor() ([]byte, []int) { + return file_FleurFairFinishGalleryStageNotify_proto_rawDescGZIP(), []int{0} +} + +var File_FleurFairFinishGalleryStageNotify_proto protoreflect.FileDescriptor + +var file_FleurFairFinishGalleryStageNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x6c, 0x65, + 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FleurFairFinishGalleryStageNotify_proto_rawDescOnce sync.Once + file_FleurFairFinishGalleryStageNotify_proto_rawDescData = file_FleurFairFinishGalleryStageNotify_proto_rawDesc +) + +func file_FleurFairFinishGalleryStageNotify_proto_rawDescGZIP() []byte { + file_FleurFairFinishGalleryStageNotify_proto_rawDescOnce.Do(func() { + file_FleurFairFinishGalleryStageNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairFinishGalleryStageNotify_proto_rawDescData) + }) + return file_FleurFairFinishGalleryStageNotify_proto_rawDescData +} + +var file_FleurFairFinishGalleryStageNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairFinishGalleryStageNotify_proto_goTypes = []interface{}{ + (*FleurFairFinishGalleryStageNotify)(nil), // 0: FleurFairFinishGalleryStageNotify +} +var file_FleurFairFinishGalleryStageNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairFinishGalleryStageNotify_proto_init() } +func file_FleurFairFinishGalleryStageNotify_proto_init() { + if File_FleurFairFinishGalleryStageNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairFinishGalleryStageNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairFinishGalleryStageNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairFinishGalleryStageNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairFinishGalleryStageNotify_proto_goTypes, + DependencyIndexes: file_FleurFairFinishGalleryStageNotify_proto_depIdxs, + MessageInfos: file_FleurFairFinishGalleryStageNotify_proto_msgTypes, + }.Build() + File_FleurFairFinishGalleryStageNotify_proto = out.File + file_FleurFairFinishGalleryStageNotify_proto_rawDesc = nil + file_FleurFairFinishGalleryStageNotify_proto_goTypes = nil + file_FleurFairFinishGalleryStageNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.proto b/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.proto new file mode 100644 index 00000000..5f0edfaa --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairFinishGalleryStageNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5342 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairFinishGalleryStageNotify {} diff --git a/gate-hk4e-api/proto/FleurFairGallerySettleInfo.pb.go b/gate-hk4e-api/proto/FleurFairGallerySettleInfo.pb.go new file mode 100644 index 00000000..668541e8 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairGallerySettleInfo.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairGallerySettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairGallerySettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Energy uint32 `protobuf:"varint,2,opt,name=energy,proto3" json:"energy,omitempty"` + GalleryStageIndex uint32 `protobuf:"varint,11,opt,name=gallery_stage_index,json=galleryStageIndex,proto3" json:"gallery_stage_index,omitempty"` + EnergyStatMap map[uint32]int32 `protobuf:"bytes,6,rep,name=energy_stat_map,json=energyStatMap,proto3" json:"energy_stat_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + GalleryStageCount uint32 `protobuf:"varint,9,opt,name=gallery_stage_count,json=galleryStageCount,proto3" json:"gallery_stage_count,omitempty"` + IsSuccess bool `protobuf:"varint,1,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *FleurFairGallerySettleInfo) Reset() { + *x = FleurFairGallerySettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairGallerySettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairGallerySettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairGallerySettleInfo) ProtoMessage() {} + +func (x *FleurFairGallerySettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairGallerySettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairGallerySettleInfo.ProtoReflect.Descriptor instead. +func (*FleurFairGallerySettleInfo) Descriptor() ([]byte, []int) { + return file_FleurFairGallerySettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairGallerySettleInfo) GetEnergy() uint32 { + if x != nil { + return x.Energy + } + return 0 +} + +func (x *FleurFairGallerySettleInfo) GetGalleryStageIndex() uint32 { + if x != nil { + return x.GalleryStageIndex + } + return 0 +} + +func (x *FleurFairGallerySettleInfo) GetEnergyStatMap() map[uint32]int32 { + if x != nil { + return x.EnergyStatMap + } + return nil +} + +func (x *FleurFairGallerySettleInfo) GetGalleryStageCount() uint32 { + if x != nil { + return x.GalleryStageCount + } + return 0 +} + +func (x *FleurFairGallerySettleInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_FleurFairGallerySettleInfo_proto protoreflect.FileDescriptor + +var file_FleurFairGallerySettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xcd, 0x02, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x67, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x56, 0x0a, 0x0f, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x53, 0x74, 0x61, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x53, 0x74, 0x61, 0x74, 0x4d, 0x61, + 0x70, 0x12, 0x2e, 0x0a, 0x13, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x1a, 0x40, 0x0a, 0x12, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x53, 0x74, 0x61, 0x74, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairGallerySettleInfo_proto_rawDescOnce sync.Once + file_FleurFairGallerySettleInfo_proto_rawDescData = file_FleurFairGallerySettleInfo_proto_rawDesc +) + +func file_FleurFairGallerySettleInfo_proto_rawDescGZIP() []byte { + file_FleurFairGallerySettleInfo_proto_rawDescOnce.Do(func() { + file_FleurFairGallerySettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairGallerySettleInfo_proto_rawDescData) + }) + return file_FleurFairGallerySettleInfo_proto_rawDescData +} + +var file_FleurFairGallerySettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FleurFairGallerySettleInfo_proto_goTypes = []interface{}{ + (*FleurFairGallerySettleInfo)(nil), // 0: FleurFairGallerySettleInfo + nil, // 1: FleurFairGallerySettleInfo.EnergyStatMapEntry +} +var file_FleurFairGallerySettleInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairGallerySettleInfo.energy_stat_map:type_name -> FleurFairGallerySettleInfo.EnergyStatMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FleurFairGallerySettleInfo_proto_init() } +func file_FleurFairGallerySettleInfo_proto_init() { + if File_FleurFairGallerySettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairGallerySettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairGallerySettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairGallerySettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairGallerySettleInfo_proto_goTypes, + DependencyIndexes: file_FleurFairGallerySettleInfo_proto_depIdxs, + MessageInfos: file_FleurFairGallerySettleInfo_proto_msgTypes, + }.Build() + File_FleurFairGallerySettleInfo_proto = out.File + file_FleurFairGallerySettleInfo_proto_rawDesc = nil + file_FleurFairGallerySettleInfo_proto_goTypes = nil + file_FleurFairGallerySettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairGallerySettleInfo.proto b/gate-hk4e-api/proto/FleurFairGallerySettleInfo.proto new file mode 100644 index 00000000..77d838cf --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairGallerySettleInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairGallerySettleInfo { + uint32 energy = 2; + uint32 gallery_stage_index = 11; + map energy_stat_map = 6; + uint32 gallery_stage_count = 9; + bool is_success = 1; +} diff --git a/gate-hk4e-api/proto/FleurFairMinigameInfo.pb.go b/gate-hk4e-api/proto/FleurFairMinigameInfo.pb.go new file mode 100644 index 00000000..be3b8786 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMinigameInfo.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMinigameInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairMinigameInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MinigameId uint32 `protobuf:"varint,13,opt,name=minigame_id,json=minigameId,proto3" json:"minigame_id,omitempty"` + IsOpen bool `protobuf:"varint,8,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,15,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + // Types that are assignable to Detail: + // *FleurFairMinigameInfo_BalloonInfo + // *FleurFairMinigameInfo_FallInfo + // *FleurFairMinigameInfo_MusicInfo + Detail isFleurFairMinigameInfo_Detail `protobuf_oneof:"detail"` +} + +func (x *FleurFairMinigameInfo) Reset() { + *x = FleurFairMinigameInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMinigameInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMinigameInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMinigameInfo) ProtoMessage() {} + +func (x *FleurFairMinigameInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMinigameInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMinigameInfo.ProtoReflect.Descriptor instead. +func (*FleurFairMinigameInfo) Descriptor() ([]byte, []int) { + return file_FleurFairMinigameInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMinigameInfo) GetMinigameId() uint32 { + if x != nil { + return x.MinigameId + } + return 0 +} + +func (x *FleurFairMinigameInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *FleurFairMinigameInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (m *FleurFairMinigameInfo) GetDetail() isFleurFairMinigameInfo_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *FleurFairMinigameInfo) GetBalloonInfo() *FleurFairBalloonInfo { + if x, ok := x.GetDetail().(*FleurFairMinigameInfo_BalloonInfo); ok { + return x.BalloonInfo + } + return nil +} + +func (x *FleurFairMinigameInfo) GetFallInfo() *FleurFairFallInfo { + if x, ok := x.GetDetail().(*FleurFairMinigameInfo_FallInfo); ok { + return x.FallInfo + } + return nil +} + +func (x *FleurFairMinigameInfo) GetMusicInfo() *FleurFairMusicGameInfo { + if x, ok := x.GetDetail().(*FleurFairMinigameInfo_MusicInfo); ok { + return x.MusicInfo + } + return nil +} + +type isFleurFairMinigameInfo_Detail interface { + isFleurFairMinigameInfo_Detail() +} + +type FleurFairMinigameInfo_BalloonInfo struct { + BalloonInfo *FleurFairBalloonInfo `protobuf:"bytes,12,opt,name=balloon_info,json=balloonInfo,proto3,oneof"` +} + +type FleurFairMinigameInfo_FallInfo struct { + FallInfo *FleurFairFallInfo `protobuf:"bytes,11,opt,name=fall_info,json=fallInfo,proto3,oneof"` +} + +type FleurFairMinigameInfo_MusicInfo struct { + MusicInfo *FleurFairMusicGameInfo `protobuf:"bytes,9,opt,name=music_info,json=musicInfo,proto3,oneof"` +} + +func (*FleurFairMinigameInfo_BalloonInfo) isFleurFairMinigameInfo_Detail() {} + +func (*FleurFairMinigameInfo_FallInfo) isFleurFairMinigameInfo_Detail() {} + +func (*FleurFairMinigameInfo_MusicInfo) isFleurFairMinigameInfo_Detail() {} + +var File_FleurFairMinigameInfo_proto protoreflect.FileDescriptor + +var file_FleurFairMinigameInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x69, 0x6e, 0x69, 0x67, + 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x46, + 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, 0x6c, 0x65, 0x75, 0x72, + 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, + 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xa1, 0x02, 0x0a, 0x15, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x69, + 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, + 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, + 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, + 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, + 0x61, 0x69, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, + 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x46, 0x61, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x08, 0x66, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x38, 0x0a, 0x0a, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x09, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMinigameInfo_proto_rawDescOnce sync.Once + file_FleurFairMinigameInfo_proto_rawDescData = file_FleurFairMinigameInfo_proto_rawDesc +) + +func file_FleurFairMinigameInfo_proto_rawDescGZIP() []byte { + file_FleurFairMinigameInfo_proto_rawDescOnce.Do(func() { + file_FleurFairMinigameInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMinigameInfo_proto_rawDescData) + }) + return file_FleurFairMinigameInfo_proto_rawDescData +} + +var file_FleurFairMinigameInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMinigameInfo_proto_goTypes = []interface{}{ + (*FleurFairMinigameInfo)(nil), // 0: FleurFairMinigameInfo + (*FleurFairBalloonInfo)(nil), // 1: FleurFairBalloonInfo + (*FleurFairFallInfo)(nil), // 2: FleurFairFallInfo + (*FleurFairMusicGameInfo)(nil), // 3: FleurFairMusicGameInfo +} +var file_FleurFairMinigameInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairMinigameInfo.balloon_info:type_name -> FleurFairBalloonInfo + 2, // 1: FleurFairMinigameInfo.fall_info:type_name -> FleurFairFallInfo + 3, // 2: FleurFairMinigameInfo.music_info:type_name -> FleurFairMusicGameInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_FleurFairMinigameInfo_proto_init() } +func file_FleurFairMinigameInfo_proto_init() { + if File_FleurFairMinigameInfo_proto != nil { + return + } + file_FleurFairBalloonInfo_proto_init() + file_FleurFairFallInfo_proto_init() + file_FleurFairMusicGameInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairMinigameInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMinigameInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_FleurFairMinigameInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*FleurFairMinigameInfo_BalloonInfo)(nil), + (*FleurFairMinigameInfo_FallInfo)(nil), + (*FleurFairMinigameInfo_MusicInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMinigameInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMinigameInfo_proto_goTypes, + DependencyIndexes: file_FleurFairMinigameInfo_proto_depIdxs, + MessageInfos: file_FleurFairMinigameInfo_proto_msgTypes, + }.Build() + File_FleurFairMinigameInfo_proto = out.File + file_FleurFairMinigameInfo_proto_rawDesc = nil + file_FleurFairMinigameInfo_proto_goTypes = nil + file_FleurFairMinigameInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMinigameInfo.proto b/gate-hk4e-api/proto/FleurFairMinigameInfo.proto new file mode 100644 index 00000000..11d4f9f5 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMinigameInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairBalloonInfo.proto"; +import "FleurFairFallInfo.proto"; +import "FleurFairMusicGameInfo.proto"; + +option go_package = "./;proto"; + +message FleurFairMinigameInfo { + uint32 minigame_id = 13; + bool is_open = 8; + uint32 open_time = 15; + oneof detail { + FleurFairBalloonInfo balloon_info = 12; + FleurFairFallInfo fall_info = 11; + FleurFairMusicGameInfo music_info = 9; + } +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameInfo.pb.go b/gate-hk4e-api/proto/FleurFairMusicGameInfo.pb.go new file mode 100644 index 00000000..ac190835 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameInfo.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicGameInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairMusicGameInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MusicRecordMap map[uint32]*FleurFairMusicRecord `protobuf:"bytes,10,rep,name=music_record_map,json=musicRecordMap,proto3" json:"music_record_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *FleurFairMusicGameInfo) Reset() { + *x = FleurFairMusicGameInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicGameInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicGameInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicGameInfo) ProtoMessage() {} + +func (x *FleurFairMusicGameInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicGameInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicGameInfo.ProtoReflect.Descriptor instead. +func (*FleurFairMusicGameInfo) Descriptor() ([]byte, []int) { + return file_FleurFairMusicGameInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicGameInfo) GetMusicRecordMap() map[uint32]*FleurFairMusicRecord { + if x != nil { + return x.MusicRecordMap + } + return nil +} + +var File_FleurFairMusicGameInfo_proto protoreflect.FileDescriptor + +var file_FleurFairMusicGameInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x16, 0x46, + 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, 0x10, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x75, + 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x1a, 0x58, 0x0a, 0x13, + 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, + 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicGameInfo_proto_rawDescOnce sync.Once + file_FleurFairMusicGameInfo_proto_rawDescData = file_FleurFairMusicGameInfo_proto_rawDesc +) + +func file_FleurFairMusicGameInfo_proto_rawDescGZIP() []byte { + file_FleurFairMusicGameInfo_proto_rawDescOnce.Do(func() { + file_FleurFairMusicGameInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicGameInfo_proto_rawDescData) + }) + return file_FleurFairMusicGameInfo_proto_rawDescData +} + +var file_FleurFairMusicGameInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_FleurFairMusicGameInfo_proto_goTypes = []interface{}{ + (*FleurFairMusicGameInfo)(nil), // 0: FleurFairMusicGameInfo + nil, // 1: FleurFairMusicGameInfo.MusicRecordMapEntry + (*FleurFairMusicRecord)(nil), // 2: FleurFairMusicRecord +} +var file_FleurFairMusicGameInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairMusicGameInfo.music_record_map:type_name -> FleurFairMusicGameInfo.MusicRecordMapEntry + 2, // 1: FleurFairMusicGameInfo.MusicRecordMapEntry.value:type_name -> FleurFairMusicRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicGameInfo_proto_init() } +func file_FleurFairMusicGameInfo_proto_init() { + if File_FleurFairMusicGameInfo_proto != nil { + return + } + file_FleurFairMusicRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicGameInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicGameInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicGameInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicGameInfo_proto_goTypes, + DependencyIndexes: file_FleurFairMusicGameInfo_proto_depIdxs, + MessageInfos: file_FleurFairMusicGameInfo_proto_msgTypes, + }.Build() + File_FleurFairMusicGameInfo_proto = out.File + file_FleurFairMusicGameInfo_proto_rawDesc = nil + file_FleurFairMusicGameInfo_proto_goTypes = nil + file_FleurFairMusicGameInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameInfo.proto b/gate-hk4e-api/proto/FleurFairMusicGameInfo.proto new file mode 100644 index 00000000..2ec26778 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairMusicRecord.proto"; + +option go_package = "./;proto"; + +message FleurFairMusicGameInfo { + map music_record_map = 10; +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.pb.go b/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.pb.go new file mode 100644 index 00000000..c0c2e4e3 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicGameSettleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2194 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FleurFairMusicGameSettleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` + Combo uint32 `protobuf:"varint,6,opt,name=combo,proto3" json:"combo,omitempty"` + CorrectHit uint32 `protobuf:"varint,10,opt,name=correct_hit,json=correctHit,proto3" json:"correct_hit,omitempty"` + MusicBasicId uint32 `protobuf:"varint,11,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` +} + +func (x *FleurFairMusicGameSettleReq) Reset() { + *x = FleurFairMusicGameSettleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicGameSettleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicGameSettleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicGameSettleReq) ProtoMessage() {} + +func (x *FleurFairMusicGameSettleReq) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicGameSettleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicGameSettleReq.ProtoReflect.Descriptor instead. +func (*FleurFairMusicGameSettleReq) Descriptor() ([]byte, []int) { + return file_FleurFairMusicGameSettleReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicGameSettleReq) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *FleurFairMusicGameSettleReq) GetCombo() uint32 { + if x != nil { + return x.Combo + } + return 0 +} + +func (x *FleurFairMusicGameSettleReq) GetCorrectHit() uint32 { + if x != nil { + return x.CorrectHit + } + return 0 +} + +func (x *FleurFairMusicGameSettleReq) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +var File_FleurFairMusicGameSettleReq_proto protoreflect.FileDescriptor + +var file_FleurFairMusicGameSettleReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, + 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6d, + 0x62, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x12, + 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x68, 0x69, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x48, 0x69, 0x74, + 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, + 0x61, 0x73, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicGameSettleReq_proto_rawDescOnce sync.Once + file_FleurFairMusicGameSettleReq_proto_rawDescData = file_FleurFairMusicGameSettleReq_proto_rawDesc +) + +func file_FleurFairMusicGameSettleReq_proto_rawDescGZIP() []byte { + file_FleurFairMusicGameSettleReq_proto_rawDescOnce.Do(func() { + file_FleurFairMusicGameSettleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicGameSettleReq_proto_rawDescData) + }) + return file_FleurFairMusicGameSettleReq_proto_rawDescData +} + +var file_FleurFairMusicGameSettleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMusicGameSettleReq_proto_goTypes = []interface{}{ + (*FleurFairMusicGameSettleReq)(nil), // 0: FleurFairMusicGameSettleReq +} +var file_FleurFairMusicGameSettleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicGameSettleReq_proto_init() } +func file_FleurFairMusicGameSettleReq_proto_init() { + if File_FleurFairMusicGameSettleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicGameSettleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicGameSettleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicGameSettleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicGameSettleReq_proto_goTypes, + DependencyIndexes: file_FleurFairMusicGameSettleReq_proto_depIdxs, + MessageInfos: file_FleurFairMusicGameSettleReq_proto_msgTypes, + }.Build() + File_FleurFairMusicGameSettleReq_proto = out.File + file_FleurFairMusicGameSettleReq_proto_rawDesc = nil + file_FleurFairMusicGameSettleReq_proto_goTypes = nil + file_FleurFairMusicGameSettleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.proto b/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.proto new file mode 100644 index 00000000..d405ab9c --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameSettleReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2194 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FleurFairMusicGameSettleReq { + uint32 score = 3; + uint32 combo = 6; + uint32 correct_hit = 10; + uint32 music_basic_id = 11; +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.pb.go b/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.pb.go new file mode 100644 index 00000000..45c48e73 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicGameSettleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2113 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairMusicGameSettleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsUnlockNextLevel bool `protobuf:"varint,4,opt,name=is_unlock_next_level,json=isUnlockNextLevel,proto3" json:"is_unlock_next_level,omitempty"` + IsNewRecord bool `protobuf:"varint,12,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + MusicBasicId uint32 `protobuf:"varint,9,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` +} + +func (x *FleurFairMusicGameSettleRsp) Reset() { + *x = FleurFairMusicGameSettleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicGameSettleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicGameSettleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicGameSettleRsp) ProtoMessage() {} + +func (x *FleurFairMusicGameSettleRsp) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicGameSettleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicGameSettleRsp.ProtoReflect.Descriptor instead. +func (*FleurFairMusicGameSettleRsp) Descriptor() ([]byte, []int) { + return file_FleurFairMusicGameSettleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicGameSettleRsp) GetIsUnlockNextLevel() bool { + if x != nil { + return x.IsUnlockNextLevel + } + return false +} + +func (x *FleurFairMusicGameSettleRsp) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *FleurFairMusicGameSettleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FleurFairMusicGameSettleRsp) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +var File_FleurFairMusicGameSettleRsp_proto protoreflect.FileDescriptor + +var file_FleurFairMusicGameSettleRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, + 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x69, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x65, 0x78, 0x74, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, + 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, + 0x63, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicGameSettleRsp_proto_rawDescOnce sync.Once + file_FleurFairMusicGameSettleRsp_proto_rawDescData = file_FleurFairMusicGameSettleRsp_proto_rawDesc +) + +func file_FleurFairMusicGameSettleRsp_proto_rawDescGZIP() []byte { + file_FleurFairMusicGameSettleRsp_proto_rawDescOnce.Do(func() { + file_FleurFairMusicGameSettleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicGameSettleRsp_proto_rawDescData) + }) + return file_FleurFairMusicGameSettleRsp_proto_rawDescData +} + +var file_FleurFairMusicGameSettleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMusicGameSettleRsp_proto_goTypes = []interface{}{ + (*FleurFairMusicGameSettleRsp)(nil), // 0: FleurFairMusicGameSettleRsp +} +var file_FleurFairMusicGameSettleRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicGameSettleRsp_proto_init() } +func file_FleurFairMusicGameSettleRsp_proto_init() { + if File_FleurFairMusicGameSettleRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicGameSettleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicGameSettleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicGameSettleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicGameSettleRsp_proto_goTypes, + DependencyIndexes: file_FleurFairMusicGameSettleRsp_proto_depIdxs, + MessageInfos: file_FleurFairMusicGameSettleRsp_proto_msgTypes, + }.Build() + File_FleurFairMusicGameSettleRsp_proto = out.File + file_FleurFairMusicGameSettleRsp_proto_rawDesc = nil + file_FleurFairMusicGameSettleRsp_proto_goTypes = nil + file_FleurFairMusicGameSettleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.proto b/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.proto new file mode 100644 index 00000000..16beb548 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameSettleRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2113 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairMusicGameSettleRsp { + bool is_unlock_next_level = 4; + bool is_new_record = 12; + int32 retcode = 5; + uint32 music_basic_id = 9; +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameStartReq.pb.go b/gate-hk4e-api/proto/FleurFairMusicGameStartReq.pb.go new file mode 100644 index 00000000..c2120dfd --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameStartReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicGameStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2167 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FleurFairMusicGameStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MusicBasicId uint32 `protobuf:"varint,2,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` +} + +func (x *FleurFairMusicGameStartReq) Reset() { + *x = FleurFairMusicGameStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicGameStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicGameStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicGameStartReq) ProtoMessage() {} + +func (x *FleurFairMusicGameStartReq) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicGameStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicGameStartReq.ProtoReflect.Descriptor instead. +func (*FleurFairMusicGameStartReq) Descriptor() ([]byte, []int) { + return file_FleurFairMusicGameStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicGameStartReq) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +var File_FleurFairMusicGameStartReq_proto protoreflect.FileDescriptor + +var file_FleurFairMusicGameStartReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, + 0x61, 0x73, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicGameStartReq_proto_rawDescOnce sync.Once + file_FleurFairMusicGameStartReq_proto_rawDescData = file_FleurFairMusicGameStartReq_proto_rawDesc +) + +func file_FleurFairMusicGameStartReq_proto_rawDescGZIP() []byte { + file_FleurFairMusicGameStartReq_proto_rawDescOnce.Do(func() { + file_FleurFairMusicGameStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicGameStartReq_proto_rawDescData) + }) + return file_FleurFairMusicGameStartReq_proto_rawDescData +} + +var file_FleurFairMusicGameStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMusicGameStartReq_proto_goTypes = []interface{}{ + (*FleurFairMusicGameStartReq)(nil), // 0: FleurFairMusicGameStartReq +} +var file_FleurFairMusicGameStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicGameStartReq_proto_init() } +func file_FleurFairMusicGameStartReq_proto_init() { + if File_FleurFairMusicGameStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicGameStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicGameStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicGameStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicGameStartReq_proto_goTypes, + DependencyIndexes: file_FleurFairMusicGameStartReq_proto_depIdxs, + MessageInfos: file_FleurFairMusicGameStartReq_proto_msgTypes, + }.Build() + File_FleurFairMusicGameStartReq_proto = out.File + file_FleurFairMusicGameStartReq_proto_rawDesc = nil + file_FleurFairMusicGameStartReq_proto_goTypes = nil + file_FleurFairMusicGameStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameStartReq.proto b/gate-hk4e-api/proto/FleurFairMusicGameStartReq.proto new file mode 100644 index 00000000..8b6eff8a --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameStartReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2167 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FleurFairMusicGameStartReq { + uint32 music_basic_id = 2; +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.pb.go b/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.pb.go new file mode 100644 index 00000000..38509f6c --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicGameStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2079 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairMusicGameStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + MusicBasicId uint32 `protobuf:"varint,7,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` +} + +func (x *FleurFairMusicGameStartRsp) Reset() { + *x = FleurFairMusicGameStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicGameStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicGameStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicGameStartRsp) ProtoMessage() {} + +func (x *FleurFairMusicGameStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicGameStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicGameStartRsp.ProtoReflect.Descriptor instead. +func (*FleurFairMusicGameStartRsp) Descriptor() ([]byte, []int) { + return file_FleurFairMusicGameStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicGameStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FleurFairMusicGameStartRsp) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +var File_FleurFairMusicGameStartRsp_proto protoreflect.FileDescriptor + +var file_FleurFairMusicGameStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x75, + 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicGameStartRsp_proto_rawDescOnce sync.Once + file_FleurFairMusicGameStartRsp_proto_rawDescData = file_FleurFairMusicGameStartRsp_proto_rawDesc +) + +func file_FleurFairMusicGameStartRsp_proto_rawDescGZIP() []byte { + file_FleurFairMusicGameStartRsp_proto_rawDescOnce.Do(func() { + file_FleurFairMusicGameStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicGameStartRsp_proto_rawDescData) + }) + return file_FleurFairMusicGameStartRsp_proto_rawDescData +} + +var file_FleurFairMusicGameStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMusicGameStartRsp_proto_goTypes = []interface{}{ + (*FleurFairMusicGameStartRsp)(nil), // 0: FleurFairMusicGameStartRsp +} +var file_FleurFairMusicGameStartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicGameStartRsp_proto_init() } +func file_FleurFairMusicGameStartRsp_proto_init() { + if File_FleurFairMusicGameStartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicGameStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicGameStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicGameStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicGameStartRsp_proto_goTypes, + DependencyIndexes: file_FleurFairMusicGameStartRsp_proto_depIdxs, + MessageInfos: file_FleurFairMusicGameStartRsp_proto_msgTypes, + }.Build() + File_FleurFairMusicGameStartRsp_proto = out.File + file_FleurFairMusicGameStartRsp_proto_rawDesc = nil + file_FleurFairMusicGameStartRsp_proto_goTypes = nil + file_FleurFairMusicGameStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.proto b/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.proto new file mode 100644 index 00000000..feae9f07 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicGameStartRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2079 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairMusicGameStartRsp { + int32 retcode = 3; + uint32 music_basic_id = 7; +} diff --git a/gate-hk4e-api/proto/FleurFairMusicRecord.pb.go b/gate-hk4e-api/proto/FleurFairMusicRecord.pb.go new file mode 100644 index 00000000..7a7f53f1 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicRecord.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairMusicRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairMusicRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxCombo uint32 `protobuf:"varint,1,opt,name=max_combo,json=maxCombo,proto3" json:"max_combo,omitempty"` + MaxScore uint32 `protobuf:"varint,11,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + IsUnlock bool `protobuf:"varint,12,opt,name=is_unlock,json=isUnlock,proto3" json:"is_unlock,omitempty"` +} + +func (x *FleurFairMusicRecord) Reset() { + *x = FleurFairMusicRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairMusicRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairMusicRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairMusicRecord) ProtoMessage() {} + +func (x *FleurFairMusicRecord) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairMusicRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairMusicRecord.ProtoReflect.Descriptor instead. +func (*FleurFairMusicRecord) Descriptor() ([]byte, []int) { + return file_FleurFairMusicRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairMusicRecord) GetMaxCombo() uint32 { + if x != nil { + return x.MaxCombo + } + return 0 +} + +func (x *FleurFairMusicRecord) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *FleurFairMusicRecord) GetIsUnlock() bool { + if x != nil { + return x.IsUnlock + } + return false +} + +var File_FleurFairMusicRecord_proto protoreflect.FileDescriptor + +var file_FleurFairMusicRecord_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x14, + 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6d, 0x62, + 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairMusicRecord_proto_rawDescOnce sync.Once + file_FleurFairMusicRecord_proto_rawDescData = file_FleurFairMusicRecord_proto_rawDesc +) + +func file_FleurFairMusicRecord_proto_rawDescGZIP() []byte { + file_FleurFairMusicRecord_proto_rawDescOnce.Do(func() { + file_FleurFairMusicRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairMusicRecord_proto_rawDescData) + }) + return file_FleurFairMusicRecord_proto_rawDescData +} + +var file_FleurFairMusicRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairMusicRecord_proto_goTypes = []interface{}{ + (*FleurFairMusicRecord)(nil), // 0: FleurFairMusicRecord +} +var file_FleurFairMusicRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairMusicRecord_proto_init() } +func file_FleurFairMusicRecord_proto_init() { + if File_FleurFairMusicRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairMusicRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairMusicRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairMusicRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairMusicRecord_proto_goTypes, + DependencyIndexes: file_FleurFairMusicRecord_proto_depIdxs, + MessageInfos: file_FleurFairMusicRecord_proto_msgTypes, + }.Build() + File_FleurFairMusicRecord_proto = out.File + file_FleurFairMusicRecord_proto_rawDesc = nil + file_FleurFairMusicRecord_proto_goTypes = nil + file_FleurFairMusicRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairMusicRecord.proto b/gate-hk4e-api/proto/FleurFairMusicRecord.proto new file mode 100644 index 00000000..5d3a82d9 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairMusicRecord.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FleurFairMusicRecord { + uint32 max_combo = 1; + uint32 max_score = 11; + bool is_unlock = 12; +} diff --git a/gate-hk4e-api/proto/FleurFairPlayerStatInfo.pb.go b/gate-hk4e-api/proto/FleurFairPlayerStatInfo.pb.go new file mode 100644 index 00000000..4befaf41 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairPlayerStatInfo.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairPlayerStatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FleurFairPlayerStatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnlineId string `protobuf:"bytes,11,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,1,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + StatId uint32 `protobuf:"varint,3,opt,name=stat_id,json=statId,proto3" json:"stat_id,omitempty"` + HeadImage uint32 `protobuf:"varint,6,opt,name=head_image,json=headImage,proto3" json:"head_image,omitempty"` + NickName string `protobuf:"bytes,15,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + Param int32 `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *FleurFairPlayerStatInfo) Reset() { + *x = FleurFairPlayerStatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairPlayerStatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairPlayerStatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairPlayerStatInfo) ProtoMessage() {} + +func (x *FleurFairPlayerStatInfo) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairPlayerStatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairPlayerStatInfo.ProtoReflect.Descriptor instead. +func (*FleurFairPlayerStatInfo) Descriptor() ([]byte, []int) { + return file_FleurFairPlayerStatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairPlayerStatInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *FleurFairPlayerStatInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FleurFairPlayerStatInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *FleurFairPlayerStatInfo) GetStatId() uint32 { + if x != nil { + return x.StatId + } + return 0 +} + +func (x *FleurFairPlayerStatInfo) GetHeadImage() uint32 { + if x != nil { + return x.HeadImage + } + return 0 +} + +func (x *FleurFairPlayerStatInfo) GetNickName() string { + if x != nil { + return x.NickName + } + return "" +} + +func (x *FleurFairPlayerStatInfo) GetParam() int32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_FleurFairPlayerStatInfo_proto protoreflect.FileDescriptor + +var file_FleurFairPlayerStatInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x17, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, + 0x61, 0x69, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, + 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, + 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairPlayerStatInfo_proto_rawDescOnce sync.Once + file_FleurFairPlayerStatInfo_proto_rawDescData = file_FleurFairPlayerStatInfo_proto_rawDesc +) + +func file_FleurFairPlayerStatInfo_proto_rawDescGZIP() []byte { + file_FleurFairPlayerStatInfo_proto_rawDescOnce.Do(func() { + file_FleurFairPlayerStatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairPlayerStatInfo_proto_rawDescData) + }) + return file_FleurFairPlayerStatInfo_proto_rawDescData +} + +var file_FleurFairPlayerStatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairPlayerStatInfo_proto_goTypes = []interface{}{ + (*FleurFairPlayerStatInfo)(nil), // 0: FleurFairPlayerStatInfo + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_FleurFairPlayerStatInfo_proto_depIdxs = []int32{ + 1, // 0: FleurFairPlayerStatInfo.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FleurFairPlayerStatInfo_proto_init() } +func file_FleurFairPlayerStatInfo_proto_init() { + if File_FleurFairPlayerStatInfo_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairPlayerStatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairPlayerStatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairPlayerStatInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairPlayerStatInfo_proto_goTypes, + DependencyIndexes: file_FleurFairPlayerStatInfo_proto_depIdxs, + MessageInfos: file_FleurFairPlayerStatInfo_proto_msgTypes, + }.Build() + File_FleurFairPlayerStatInfo_proto = out.File + file_FleurFairPlayerStatInfo_proto_rawDesc = nil + file_FleurFairPlayerStatInfo_proto_goTypes = nil + file_FleurFairPlayerStatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairPlayerStatInfo.proto b/gate-hk4e-api/proto/FleurFairPlayerStatInfo.proto new file mode 100644 index 00000000..09c0be7f --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairPlayerStatInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message FleurFairPlayerStatInfo { + string online_id = 11; + uint32 uid = 8; + ProfilePicture profile_picture = 1; + uint32 stat_id = 3; + uint32 head_image = 6; + string nick_name = 15; + int32 param = 5; +} diff --git a/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.pb.go b/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.pb.go new file mode 100644 index 00000000..ee4420e7 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairReplayMiniGameReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2181 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FleurFairReplayMiniGameReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MinigameId uint32 `protobuf:"varint,5,opt,name=minigame_id,json=minigameId,proto3" json:"minigame_id,omitempty"` +} + +func (x *FleurFairReplayMiniGameReq) Reset() { + *x = FleurFairReplayMiniGameReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairReplayMiniGameReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairReplayMiniGameReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairReplayMiniGameReq) ProtoMessage() {} + +func (x *FleurFairReplayMiniGameReq) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairReplayMiniGameReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairReplayMiniGameReq.ProtoReflect.Descriptor instead. +func (*FleurFairReplayMiniGameReq) Descriptor() ([]byte, []int) { + return file_FleurFairReplayMiniGameReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairReplayMiniGameReq) GetMinigameId() uint32 { + if x != nil { + return x.MinigameId + } + return 0 +} + +var File_FleurFairReplayMiniGameReq_proto protoreflect.FileDescriptor + +var file_FleurFairReplayMiniGameReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, + 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x52, + 0x65, 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairReplayMiniGameReq_proto_rawDescOnce sync.Once + file_FleurFairReplayMiniGameReq_proto_rawDescData = file_FleurFairReplayMiniGameReq_proto_rawDesc +) + +func file_FleurFairReplayMiniGameReq_proto_rawDescGZIP() []byte { + file_FleurFairReplayMiniGameReq_proto_rawDescOnce.Do(func() { + file_FleurFairReplayMiniGameReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairReplayMiniGameReq_proto_rawDescData) + }) + return file_FleurFairReplayMiniGameReq_proto_rawDescData +} + +var file_FleurFairReplayMiniGameReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairReplayMiniGameReq_proto_goTypes = []interface{}{ + (*FleurFairReplayMiniGameReq)(nil), // 0: FleurFairReplayMiniGameReq +} +var file_FleurFairReplayMiniGameReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairReplayMiniGameReq_proto_init() } +func file_FleurFairReplayMiniGameReq_proto_init() { + if File_FleurFairReplayMiniGameReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairReplayMiniGameReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairReplayMiniGameReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairReplayMiniGameReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairReplayMiniGameReq_proto_goTypes, + DependencyIndexes: file_FleurFairReplayMiniGameReq_proto_depIdxs, + MessageInfos: file_FleurFairReplayMiniGameReq_proto_msgTypes, + }.Build() + File_FleurFairReplayMiniGameReq_proto = out.File + file_FleurFairReplayMiniGameReq_proto_rawDesc = nil + file_FleurFairReplayMiniGameReq_proto_goTypes = nil + file_FleurFairReplayMiniGameReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.proto b/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.proto new file mode 100644 index 00000000..8c6c5bea --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairReplayMiniGameReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2181 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FleurFairReplayMiniGameReq { + uint32 minigame_id = 5; +} diff --git a/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.pb.go b/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.pb.go new file mode 100644 index 00000000..c02cdc5e --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairReplayMiniGameRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2052 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairReplayMiniGameRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MinigameId uint32 `protobuf:"varint,8,opt,name=minigame_id,json=minigameId,proto3" json:"minigame_id,omitempty"` +} + +func (x *FleurFairReplayMiniGameRsp) Reset() { + *x = FleurFairReplayMiniGameRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairReplayMiniGameRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairReplayMiniGameRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairReplayMiniGameRsp) ProtoMessage() {} + +func (x *FleurFairReplayMiniGameRsp) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairReplayMiniGameRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairReplayMiniGameRsp.ProtoReflect.Descriptor instead. +func (*FleurFairReplayMiniGameRsp) Descriptor() ([]byte, []int) { + return file_FleurFairReplayMiniGameRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairReplayMiniGameRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FleurFairReplayMiniGameRsp) GetMinigameId() uint32 { + if x != nil { + return x.MinigameId + } + return 0 +} + +var File_FleurFairReplayMiniGameRsp_proto protoreflect.FileDescriptor + +var file_FleurFairReplayMiniGameRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, + 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x52, + 0x65, 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, + 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x6d, 0x69, 0x6e, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairReplayMiniGameRsp_proto_rawDescOnce sync.Once + file_FleurFairReplayMiniGameRsp_proto_rawDescData = file_FleurFairReplayMiniGameRsp_proto_rawDesc +) + +func file_FleurFairReplayMiniGameRsp_proto_rawDescGZIP() []byte { + file_FleurFairReplayMiniGameRsp_proto_rawDescOnce.Do(func() { + file_FleurFairReplayMiniGameRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairReplayMiniGameRsp_proto_rawDescData) + }) + return file_FleurFairReplayMiniGameRsp_proto_rawDescData +} + +var file_FleurFairReplayMiniGameRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairReplayMiniGameRsp_proto_goTypes = []interface{}{ + (*FleurFairReplayMiniGameRsp)(nil), // 0: FleurFairReplayMiniGameRsp +} +var file_FleurFairReplayMiniGameRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FleurFairReplayMiniGameRsp_proto_init() } +func file_FleurFairReplayMiniGameRsp_proto_init() { + if File_FleurFairReplayMiniGameRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FleurFairReplayMiniGameRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairReplayMiniGameRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairReplayMiniGameRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairReplayMiniGameRsp_proto_goTypes, + DependencyIndexes: file_FleurFairReplayMiniGameRsp_proto_depIdxs, + MessageInfos: file_FleurFairReplayMiniGameRsp_proto_msgTypes, + }.Build() + File_FleurFairReplayMiniGameRsp_proto = out.File + file_FleurFairReplayMiniGameRsp_proto_rawDesc = nil + file_FleurFairReplayMiniGameRsp_proto_goTypes = nil + file_FleurFairReplayMiniGameRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.proto b/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.proto new file mode 100644 index 00000000..fb3e3e29 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairReplayMiniGameRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2052 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairReplayMiniGameRsp { + int32 retcode = 14; + uint32 minigame_id = 8; +} diff --git a/gate-hk4e-api/proto/FleurFairStageSettleNotify.pb.go b/gate-hk4e-api/proto/FleurFairStageSettleNotify.pb.go new file mode 100644 index 00000000..2243e17a --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairStageSettleNotify.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FleurFairStageSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5356 +// EnetChannelId: 0 +// EnetIsReliable: true +type FleurFairStageSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageType uint32 `protobuf:"varint,10,opt,name=stage_type,json=stageType,proto3" json:"stage_type,omitempty"` + // Types that are assignable to Detail: + // *FleurFairStageSettleNotify_GallerySettleInfo + // *FleurFairStageSettleNotify_BossSettleInfo + Detail isFleurFairStageSettleNotify_Detail `protobuf_oneof:"detail"` +} + +func (x *FleurFairStageSettleNotify) Reset() { + *x = FleurFairStageSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FleurFairStageSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FleurFairStageSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FleurFairStageSettleNotify) ProtoMessage() {} + +func (x *FleurFairStageSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_FleurFairStageSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FleurFairStageSettleNotify.ProtoReflect.Descriptor instead. +func (*FleurFairStageSettleNotify) Descriptor() ([]byte, []int) { + return file_FleurFairStageSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FleurFairStageSettleNotify) GetStageType() uint32 { + if x != nil { + return x.StageType + } + return 0 +} + +func (m *FleurFairStageSettleNotify) GetDetail() isFleurFairStageSettleNotify_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *FleurFairStageSettleNotify) GetGallerySettleInfo() *FleurFairGallerySettleInfo { + if x, ok := x.GetDetail().(*FleurFairStageSettleNotify_GallerySettleInfo); ok { + return x.GallerySettleInfo + } + return nil +} + +func (x *FleurFairStageSettleNotify) GetBossSettleInfo() *FleurFairBossSettleInfo { + if x, ok := x.GetDetail().(*FleurFairStageSettleNotify_BossSettleInfo); ok { + return x.BossSettleInfo + } + return nil +} + +type isFleurFairStageSettleNotify_Detail interface { + isFleurFairStageSettleNotify_Detail() +} + +type FleurFairStageSettleNotify_GallerySettleInfo struct { + GallerySettleInfo *FleurFairGallerySettleInfo `protobuf:"bytes,13,opt,name=gallery_settle_info,json=gallerySettleInfo,proto3,oneof"` +} + +type FleurFairStageSettleNotify_BossSettleInfo struct { + BossSettleInfo *FleurFairBossSettleInfo `protobuf:"bytes,14,opt,name=boss_settle_info,json=bossSettleInfo,proto3,oneof"` +} + +func (*FleurFairStageSettleNotify_GallerySettleInfo) isFleurFairStageSettleNotify_Detail() {} + +func (*FleurFairStageSettleNotify_BossSettleInfo) isFleurFairStageSettleNotify_Detail() {} + +var File_FleurFairStageSettleNotify_proto protoreflect.FileDescriptor + +var file_FleurFairStageSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x73, + 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x20, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, + 0x72, 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x67, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x44, 0x0a, 0x10, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x46, 0x6c, 0x65, + 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x42, 0x6f, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x6f, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FleurFairStageSettleNotify_proto_rawDescOnce sync.Once + file_FleurFairStageSettleNotify_proto_rawDescData = file_FleurFairStageSettleNotify_proto_rawDesc +) + +func file_FleurFairStageSettleNotify_proto_rawDescGZIP() []byte { + file_FleurFairStageSettleNotify_proto_rawDescOnce.Do(func() { + file_FleurFairStageSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FleurFairStageSettleNotify_proto_rawDescData) + }) + return file_FleurFairStageSettleNotify_proto_rawDescData +} + +var file_FleurFairStageSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FleurFairStageSettleNotify_proto_goTypes = []interface{}{ + (*FleurFairStageSettleNotify)(nil), // 0: FleurFairStageSettleNotify + (*FleurFairGallerySettleInfo)(nil), // 1: FleurFairGallerySettleInfo + (*FleurFairBossSettleInfo)(nil), // 2: FleurFairBossSettleInfo +} +var file_FleurFairStageSettleNotify_proto_depIdxs = []int32{ + 1, // 0: FleurFairStageSettleNotify.gallery_settle_info:type_name -> FleurFairGallerySettleInfo + 2, // 1: FleurFairStageSettleNotify.boss_settle_info:type_name -> FleurFairBossSettleInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FleurFairStageSettleNotify_proto_init() } +func file_FleurFairStageSettleNotify_proto_init() { + if File_FleurFairStageSettleNotify_proto != nil { + return + } + file_FleurFairBossSettleInfo_proto_init() + file_FleurFairGallerySettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FleurFairStageSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FleurFairStageSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_FleurFairStageSettleNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*FleurFairStageSettleNotify_GallerySettleInfo)(nil), + (*FleurFairStageSettleNotify_BossSettleInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FleurFairStageSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FleurFairStageSettleNotify_proto_goTypes, + DependencyIndexes: file_FleurFairStageSettleNotify_proto_depIdxs, + MessageInfos: file_FleurFairStageSettleNotify_proto_msgTypes, + }.Build() + File_FleurFairStageSettleNotify_proto = out.File + file_FleurFairStageSettleNotify_proto_rawDesc = nil + file_FleurFairStageSettleNotify_proto_goTypes = nil + file_FleurFairStageSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FleurFairStageSettleNotify.proto b/gate-hk4e-api/proto/FleurFairStageSettleNotify.proto new file mode 100644 index 00000000..3a8ba067 --- /dev/null +++ b/gate-hk4e-api/proto/FleurFairStageSettleNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FleurFairBossSettleInfo.proto"; +import "FleurFairGallerySettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5356 +// EnetChannelId: 0 +// EnetIsReliable: true +message FleurFairStageSettleNotify { + uint32 stage_type = 10; + oneof detail { + FleurFairGallerySettleInfo gallery_settle_info = 13; + FleurFairBossSettleInfo boss_settle_info = 14; + } +} diff --git a/gate-hk4e-api/proto/FlightActivityDetailInfo.pb.go b/gate-hk4e-api/proto/FlightActivityDetailInfo.pb.go new file mode 100644 index 00000000..1e6673de --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityDetailInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FlightActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FlightActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PreviewRewardId uint32 `protobuf:"varint,15,opt,name=preview_reward_id,json=previewRewardId,proto3" json:"preview_reward_id,omitempty"` + MinOpenPlayerLevel uint32 `protobuf:"varint,11,opt,name=min_open_player_level,json=minOpenPlayerLevel,proto3" json:"min_open_player_level,omitempty"` + DailyRecordList []*FlightDailyRecord `protobuf:"bytes,1,rep,name=daily_record_list,json=dailyRecordList,proto3" json:"daily_record_list,omitempty"` +} + +func (x *FlightActivityDetailInfo) Reset() { + *x = FlightActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FlightActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlightActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlightActivityDetailInfo) ProtoMessage() {} + +func (x *FlightActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_FlightActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlightActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*FlightActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_FlightActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FlightActivityDetailInfo) GetPreviewRewardId() uint32 { + if x != nil { + return x.PreviewRewardId + } + return 0 +} + +func (x *FlightActivityDetailInfo) GetMinOpenPlayerLevel() uint32 { + if x != nil { + return x.MinOpenPlayerLevel + } + return 0 +} + +func (x *FlightActivityDetailInfo) GetDailyRecordList() []*FlightDailyRecord { + if x != nil { + return x.DailyRecordList + } + return nil +} + +var File_FlightActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_FlightActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x17, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x18, 0x46, 0x6c, + 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, + 0x77, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x11, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FlightActivityDetailInfo_proto_rawDescOnce sync.Once + file_FlightActivityDetailInfo_proto_rawDescData = file_FlightActivityDetailInfo_proto_rawDesc +) + +func file_FlightActivityDetailInfo_proto_rawDescGZIP() []byte { + file_FlightActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_FlightActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FlightActivityDetailInfo_proto_rawDescData) + }) + return file_FlightActivityDetailInfo_proto_rawDescData +} + +var file_FlightActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FlightActivityDetailInfo_proto_goTypes = []interface{}{ + (*FlightActivityDetailInfo)(nil), // 0: FlightActivityDetailInfo + (*FlightDailyRecord)(nil), // 1: FlightDailyRecord +} +var file_FlightActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: FlightActivityDetailInfo.daily_record_list:type_name -> FlightDailyRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FlightActivityDetailInfo_proto_init() } +func file_FlightActivityDetailInfo_proto_init() { + if File_FlightActivityDetailInfo_proto != nil { + return + } + file_FlightDailyRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_FlightActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlightActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FlightActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FlightActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_FlightActivityDetailInfo_proto_depIdxs, + MessageInfos: file_FlightActivityDetailInfo_proto_msgTypes, + }.Build() + File_FlightActivityDetailInfo_proto = out.File + file_FlightActivityDetailInfo_proto_rawDesc = nil + file_FlightActivityDetailInfo_proto_goTypes = nil + file_FlightActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FlightActivityDetailInfo.proto b/gate-hk4e-api/proto/FlightActivityDetailInfo.proto new file mode 100644 index 00000000..029bdaac --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FlightDailyRecord.proto"; + +option go_package = "./;proto"; + +message FlightActivityDetailInfo { + uint32 preview_reward_id = 15; + uint32 min_open_player_level = 11; + repeated FlightDailyRecord daily_record_list = 1; +} diff --git a/gate-hk4e-api/proto/FlightActivityRestartReq.pb.go b/gate-hk4e-api/proto/FlightActivityRestartReq.pb.go new file mode 100644 index 00000000..a82ddadf --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityRestartReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FlightActivityRestartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2037 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FlightActivityRestartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *FlightActivityRestartReq) Reset() { + *x = FlightActivityRestartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FlightActivityRestartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlightActivityRestartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlightActivityRestartReq) ProtoMessage() {} + +func (x *FlightActivityRestartReq) ProtoReflect() protoreflect.Message { + mi := &file_FlightActivityRestartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlightActivityRestartReq.ProtoReflect.Descriptor instead. +func (*FlightActivityRestartReq) Descriptor() ([]byte, []int) { + return file_FlightActivityRestartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FlightActivityRestartReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *FlightActivityRestartReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_FlightActivityRestartReq_proto protoreflect.FileDescriptor + +var file_FlightActivityRestartReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x56, 0x0a, 0x18, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FlightActivityRestartReq_proto_rawDescOnce sync.Once + file_FlightActivityRestartReq_proto_rawDescData = file_FlightActivityRestartReq_proto_rawDesc +) + +func file_FlightActivityRestartReq_proto_rawDescGZIP() []byte { + file_FlightActivityRestartReq_proto_rawDescOnce.Do(func() { + file_FlightActivityRestartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FlightActivityRestartReq_proto_rawDescData) + }) + return file_FlightActivityRestartReq_proto_rawDescData +} + +var file_FlightActivityRestartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FlightActivityRestartReq_proto_goTypes = []interface{}{ + (*FlightActivityRestartReq)(nil), // 0: FlightActivityRestartReq +} +var file_FlightActivityRestartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FlightActivityRestartReq_proto_init() } +func file_FlightActivityRestartReq_proto_init() { + if File_FlightActivityRestartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FlightActivityRestartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlightActivityRestartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FlightActivityRestartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FlightActivityRestartReq_proto_goTypes, + DependencyIndexes: file_FlightActivityRestartReq_proto_depIdxs, + MessageInfos: file_FlightActivityRestartReq_proto_msgTypes, + }.Build() + File_FlightActivityRestartReq_proto = out.File + file_FlightActivityRestartReq_proto_rawDesc = nil + file_FlightActivityRestartReq_proto_goTypes = nil + file_FlightActivityRestartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FlightActivityRestartReq.proto b/gate-hk4e-api/proto/FlightActivityRestartReq.proto new file mode 100644 index 00000000..cf12f75e --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityRestartReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2037 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FlightActivityRestartReq { + uint32 group_id = 4; + uint32 schedule_id = 10; +} diff --git a/gate-hk4e-api/proto/FlightActivityRestartRsp.pb.go b/gate-hk4e-api/proto/FlightActivityRestartRsp.pb.go new file mode 100644 index 00000000..c6d2f437 --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityRestartRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FlightActivityRestartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2165 +// EnetChannelId: 0 +// EnetIsReliable: true +type FlightActivityRestartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,11,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FlightActivityRestartRsp) Reset() { + *x = FlightActivityRestartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FlightActivityRestartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlightActivityRestartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlightActivityRestartRsp) ProtoMessage() {} + +func (x *FlightActivityRestartRsp) ProtoReflect() protoreflect.Message { + mi := &file_FlightActivityRestartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlightActivityRestartRsp.ProtoReflect.Descriptor instead. +func (*FlightActivityRestartRsp) Descriptor() ([]byte, []int) { + return file_FlightActivityRestartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FlightActivityRestartRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *FlightActivityRestartRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *FlightActivityRestartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FlightActivityRestartRsp_proto protoreflect.FileDescriptor + +var file_FlightActivityRestartRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x70, 0x0a, 0x18, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FlightActivityRestartRsp_proto_rawDescOnce sync.Once + file_FlightActivityRestartRsp_proto_rawDescData = file_FlightActivityRestartRsp_proto_rawDesc +) + +func file_FlightActivityRestartRsp_proto_rawDescGZIP() []byte { + file_FlightActivityRestartRsp_proto_rawDescOnce.Do(func() { + file_FlightActivityRestartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FlightActivityRestartRsp_proto_rawDescData) + }) + return file_FlightActivityRestartRsp_proto_rawDescData +} + +var file_FlightActivityRestartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FlightActivityRestartRsp_proto_goTypes = []interface{}{ + (*FlightActivityRestartRsp)(nil), // 0: FlightActivityRestartRsp +} +var file_FlightActivityRestartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FlightActivityRestartRsp_proto_init() } +func file_FlightActivityRestartRsp_proto_init() { + if File_FlightActivityRestartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FlightActivityRestartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlightActivityRestartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FlightActivityRestartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FlightActivityRestartRsp_proto_goTypes, + DependencyIndexes: file_FlightActivityRestartRsp_proto_depIdxs, + MessageInfos: file_FlightActivityRestartRsp_proto_msgTypes, + }.Build() + File_FlightActivityRestartRsp_proto = out.File + file_FlightActivityRestartRsp_proto_rawDesc = nil + file_FlightActivityRestartRsp_proto_goTypes = nil + file_FlightActivityRestartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FlightActivityRestartRsp.proto b/gate-hk4e-api/proto/FlightActivityRestartRsp.proto new file mode 100644 index 00000000..7a3d5c19 --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivityRestartRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2165 +// EnetChannelId: 0 +// EnetIsReliable: true +message FlightActivityRestartRsp { + uint32 group_id = 11; + uint32 schedule_id = 10; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/FlightActivitySettleNotify.pb.go b/gate-hk4e-api/proto/FlightActivitySettleNotify.pb.go new file mode 100644 index 00000000..c881c2de --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivitySettleNotify.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FlightActivitySettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2195 +// EnetChannelId: 0 +// EnetIsReliable: true +type FlightActivitySettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,1,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + MedalLevel uint32 `protobuf:"varint,6,opt,name=medal_level,json=medalLevel,proto3" json:"medal_level,omitempty"` + LeftTime uint32 `protobuf:"varint,13,opt,name=left_time,json=leftTime,proto3" json:"left_time,omitempty"` + CollectNum uint32 `protobuf:"varint,9,opt,name=collect_num,json=collectNum,proto3" json:"collect_num,omitempty"` + TotalNum uint32 `protobuf:"varint,5,opt,name=total_num,json=totalNum,proto3" json:"total_num,omitempty"` + GroupId uint32 `protobuf:"varint,8,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + Score uint32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` + IsSuccess bool `protobuf:"varint,4,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *FlightActivitySettleNotify) Reset() { + *x = FlightActivitySettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FlightActivitySettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlightActivitySettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlightActivitySettleNotify) ProtoMessage() {} + +func (x *FlightActivitySettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_FlightActivitySettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlightActivitySettleNotify.ProtoReflect.Descriptor instead. +func (*FlightActivitySettleNotify) Descriptor() ([]byte, []int) { + return file_FlightActivitySettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FlightActivitySettleNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *FlightActivitySettleNotify) GetMedalLevel() uint32 { + if x != nil { + return x.MedalLevel + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetLeftTime() uint32 { + if x != nil { + return x.LeftTime + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetCollectNum() uint32 { + if x != nil { + return x.CollectNum + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetTotalNum() uint32 { + if x != nil { + return x.TotalNum + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *FlightActivitySettleNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_FlightActivitySettleNotify_proto protoreflect.FileDescriptor + +var file_FlightActivitySettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x1a, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x64, 0x61, 0x6c, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x65, 0x64, 0x61, + 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x65, 0x66, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6e, + 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, + 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FlightActivitySettleNotify_proto_rawDescOnce sync.Once + file_FlightActivitySettleNotify_proto_rawDescData = file_FlightActivitySettleNotify_proto_rawDesc +) + +func file_FlightActivitySettleNotify_proto_rawDescGZIP() []byte { + file_FlightActivitySettleNotify_proto_rawDescOnce.Do(func() { + file_FlightActivitySettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FlightActivitySettleNotify_proto_rawDescData) + }) + return file_FlightActivitySettleNotify_proto_rawDescData +} + +var file_FlightActivitySettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FlightActivitySettleNotify_proto_goTypes = []interface{}{ + (*FlightActivitySettleNotify)(nil), // 0: FlightActivitySettleNotify +} +var file_FlightActivitySettleNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FlightActivitySettleNotify_proto_init() } +func file_FlightActivitySettleNotify_proto_init() { + if File_FlightActivitySettleNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FlightActivitySettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlightActivitySettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FlightActivitySettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FlightActivitySettleNotify_proto_goTypes, + DependencyIndexes: file_FlightActivitySettleNotify_proto_depIdxs, + MessageInfos: file_FlightActivitySettleNotify_proto_msgTypes, + }.Build() + File_FlightActivitySettleNotify_proto = out.File + file_FlightActivitySettleNotify_proto_rawDesc = nil + file_FlightActivitySettleNotify_proto_goTypes = nil + file_FlightActivitySettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FlightActivitySettleNotify.proto b/gate-hk4e-api/proto/FlightActivitySettleNotify.proto new file mode 100644 index 00000000..d5cb6db1 --- /dev/null +++ b/gate-hk4e-api/proto/FlightActivitySettleNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2195 +// EnetChannelId: 0 +// EnetIsReliable: true +message FlightActivitySettleNotify { + bool is_new_record = 1; + uint32 medal_level = 6; + uint32 left_time = 13; + uint32 collect_num = 9; + uint32 total_num = 5; + uint32 group_id = 8; + uint32 score = 10; + bool is_success = 4; +} diff --git a/gate-hk4e-api/proto/FlightDailyRecord.pb.go b/gate-hk4e-api/proto/FlightDailyRecord.pb.go new file mode 100644 index 00000000..fb7f8b86 --- /dev/null +++ b/gate-hk4e-api/proto/FlightDailyRecord.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FlightDailyRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FlightDailyRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + IsTouched bool `protobuf:"varint,1,opt,name=is_touched,json=isTouched,proto3" json:"is_touched,omitempty"` + WatcherIdList []uint32 `protobuf:"varint,11,rep,packed,name=watcher_id_list,json=watcherIdList,proto3" json:"watcher_id_list,omitempty"` + BestScore uint32 `protobuf:"varint,7,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` + StartTime uint32 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` +} + +func (x *FlightDailyRecord) Reset() { + *x = FlightDailyRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_FlightDailyRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlightDailyRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlightDailyRecord) ProtoMessage() {} + +func (x *FlightDailyRecord) ProtoReflect() protoreflect.Message { + mi := &file_FlightDailyRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FlightDailyRecord.ProtoReflect.Descriptor instead. +func (*FlightDailyRecord) Descriptor() ([]byte, []int) { + return file_FlightDailyRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *FlightDailyRecord) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *FlightDailyRecord) GetIsTouched() bool { + if x != nil { + return x.IsTouched + } + return false +} + +func (x *FlightDailyRecord) GetWatcherIdList() []uint32 { + if x != nil { + return x.WatcherIdList + } + return nil +} + +func (x *FlightDailyRecord) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +func (x *FlightDailyRecord) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +var File_FlightDailyRecord_proto protoreflect.FileDescriptor + +var file_FlightDailyRecord_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x11, 0x46, 0x6c, + 0x69, 0x67, 0x68, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, + 0x5f, 0x74, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x69, 0x73, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_FlightDailyRecord_proto_rawDescOnce sync.Once + file_FlightDailyRecord_proto_rawDescData = file_FlightDailyRecord_proto_rawDesc +) + +func file_FlightDailyRecord_proto_rawDescGZIP() []byte { + file_FlightDailyRecord_proto_rawDescOnce.Do(func() { + file_FlightDailyRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_FlightDailyRecord_proto_rawDescData) + }) + return file_FlightDailyRecord_proto_rawDescData +} + +var file_FlightDailyRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FlightDailyRecord_proto_goTypes = []interface{}{ + (*FlightDailyRecord)(nil), // 0: FlightDailyRecord +} +var file_FlightDailyRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FlightDailyRecord_proto_init() } +func file_FlightDailyRecord_proto_init() { + if File_FlightDailyRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FlightDailyRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlightDailyRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FlightDailyRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FlightDailyRecord_proto_goTypes, + DependencyIndexes: file_FlightDailyRecord_proto_depIdxs, + MessageInfos: file_FlightDailyRecord_proto_msgTypes, + }.Build() + File_FlightDailyRecord_proto = out.File + file_FlightDailyRecord_proto_rawDesc = nil + file_FlightDailyRecord_proto_goTypes = nil + file_FlightDailyRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FlightDailyRecord.proto b/gate-hk4e-api/proto/FlightDailyRecord.proto new file mode 100644 index 00000000..d1d95355 --- /dev/null +++ b/gate-hk4e-api/proto/FlightDailyRecord.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FlightDailyRecord { + uint32 group_id = 4; + bool is_touched = 1; + repeated uint32 watcher_id_list = 11; + uint32 best_score = 7; + uint32 start_time = 3; +} diff --git a/gate-hk4e-api/proto/FocusAvatarReq.pb.go b/gate-hk4e-api/proto/FocusAvatarReq.pb.go new file mode 100644 index 00000000..0f608262 --- /dev/null +++ b/gate-hk4e-api/proto/FocusAvatarReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FocusAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1654 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FocusAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,1,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + IsFocus bool `protobuf:"varint,8,opt,name=is_focus,json=isFocus,proto3" json:"is_focus,omitempty"` +} + +func (x *FocusAvatarReq) Reset() { + *x = FocusAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FocusAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FocusAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FocusAvatarReq) ProtoMessage() {} + +func (x *FocusAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_FocusAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FocusAvatarReq.ProtoReflect.Descriptor instead. +func (*FocusAvatarReq) Descriptor() ([]byte, []int) { + return file_FocusAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FocusAvatarReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *FocusAvatarReq) GetIsFocus() bool { + if x != nil { + return x.IsFocus + } + return false +} + +var File_FocusAvatarReq_proto protoreflect.FileDescriptor + +var file_FocusAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, + 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, + 0x6f, 0x63, 0x75, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FocusAvatarReq_proto_rawDescOnce sync.Once + file_FocusAvatarReq_proto_rawDescData = file_FocusAvatarReq_proto_rawDesc +) + +func file_FocusAvatarReq_proto_rawDescGZIP() []byte { + file_FocusAvatarReq_proto_rawDescOnce.Do(func() { + file_FocusAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FocusAvatarReq_proto_rawDescData) + }) + return file_FocusAvatarReq_proto_rawDescData +} + +var file_FocusAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FocusAvatarReq_proto_goTypes = []interface{}{ + (*FocusAvatarReq)(nil), // 0: FocusAvatarReq +} +var file_FocusAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FocusAvatarReq_proto_init() } +func file_FocusAvatarReq_proto_init() { + if File_FocusAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FocusAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FocusAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FocusAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FocusAvatarReq_proto_goTypes, + DependencyIndexes: file_FocusAvatarReq_proto_depIdxs, + MessageInfos: file_FocusAvatarReq_proto_msgTypes, + }.Build() + File_FocusAvatarReq_proto = out.File + file_FocusAvatarReq_proto_rawDesc = nil + file_FocusAvatarReq_proto_goTypes = nil + file_FocusAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FocusAvatarReq.proto b/gate-hk4e-api/proto/FocusAvatarReq.proto new file mode 100644 index 00000000..4904ff6c --- /dev/null +++ b/gate-hk4e-api/proto/FocusAvatarReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1654 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FocusAvatarReq { + uint64 avatar_guid = 1; + bool is_focus = 8; +} diff --git a/gate-hk4e-api/proto/FocusAvatarRsp.pb.go b/gate-hk4e-api/proto/FocusAvatarRsp.pb.go new file mode 100644 index 00000000..962af45e --- /dev/null +++ b/gate-hk4e-api/proto/FocusAvatarRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FocusAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1681 +// EnetChannelId: 0 +// EnetIsReliable: true +type FocusAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsFocus bool `protobuf:"varint,11,opt,name=is_focus,json=isFocus,proto3" json:"is_focus,omitempty"` + AvatarGuid uint64 `protobuf:"varint,4,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *FocusAvatarRsp) Reset() { + *x = FocusAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FocusAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FocusAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FocusAvatarRsp) ProtoMessage() {} + +func (x *FocusAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_FocusAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FocusAvatarRsp.ProtoReflect.Descriptor instead. +func (*FocusAvatarRsp) Descriptor() ([]byte, []int) { + return file_FocusAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FocusAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FocusAvatarRsp) GetIsFocus() bool { + if x != nil { + return x.IsFocus + } + return false +} + +func (x *FocusAvatarRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_FocusAvatarRsp_proto protoreflect.FileDescriptor + +var file_FocusAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x0e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FocusAvatarRsp_proto_rawDescOnce sync.Once + file_FocusAvatarRsp_proto_rawDescData = file_FocusAvatarRsp_proto_rawDesc +) + +func file_FocusAvatarRsp_proto_rawDescGZIP() []byte { + file_FocusAvatarRsp_proto_rawDescOnce.Do(func() { + file_FocusAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FocusAvatarRsp_proto_rawDescData) + }) + return file_FocusAvatarRsp_proto_rawDescData +} + +var file_FocusAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FocusAvatarRsp_proto_goTypes = []interface{}{ + (*FocusAvatarRsp)(nil), // 0: FocusAvatarRsp +} +var file_FocusAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FocusAvatarRsp_proto_init() } +func file_FocusAvatarRsp_proto_init() { + if File_FocusAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FocusAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FocusAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FocusAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FocusAvatarRsp_proto_goTypes, + DependencyIndexes: file_FocusAvatarRsp_proto_depIdxs, + MessageInfos: file_FocusAvatarRsp_proto_msgTypes, + }.Build() + File_FocusAvatarRsp_proto = out.File + file_FocusAvatarRsp_proto_rawDesc = nil + file_FocusAvatarRsp_proto_goTypes = nil + file_FocusAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FocusAvatarRsp.proto b/gate-hk4e-api/proto/FocusAvatarRsp.proto new file mode 100644 index 00000000..1206e37d --- /dev/null +++ b/gate-hk4e-api/proto/FocusAvatarRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1681 +// EnetChannelId: 0 +// EnetIsReliable: true +message FocusAvatarRsp { + int32 retcode = 5; + bool is_focus = 11; + uint64 avatar_guid = 4; +} diff --git a/gate-hk4e-api/proto/ForceAddPlayerFriendReq.pb.go b/gate-hk4e-api/proto/ForceAddPlayerFriendReq.pb.go new file mode 100644 index 00000000..b306ffa6 --- /dev/null +++ b/gate-hk4e-api/proto/ForceAddPlayerFriendReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForceAddPlayerFriendReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4057 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForceAddPlayerFriendReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,15,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *ForceAddPlayerFriendReq) Reset() { + *x = ForceAddPlayerFriendReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ForceAddPlayerFriendReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceAddPlayerFriendReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceAddPlayerFriendReq) ProtoMessage() {} + +func (x *ForceAddPlayerFriendReq) ProtoReflect() protoreflect.Message { + mi := &file_ForceAddPlayerFriendReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceAddPlayerFriendReq.ProtoReflect.Descriptor instead. +func (*ForceAddPlayerFriendReq) Descriptor() ([]byte, []int) { + return file_ForceAddPlayerFriendReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ForceAddPlayerFriendReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_ForceAddPlayerFriendReq_proto protoreflect.FileDescriptor + +var file_ForceAddPlayerFriendReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x38, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForceAddPlayerFriendReq_proto_rawDescOnce sync.Once + file_ForceAddPlayerFriendReq_proto_rawDescData = file_ForceAddPlayerFriendReq_proto_rawDesc +) + +func file_ForceAddPlayerFriendReq_proto_rawDescGZIP() []byte { + file_ForceAddPlayerFriendReq_proto_rawDescOnce.Do(func() { + file_ForceAddPlayerFriendReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForceAddPlayerFriendReq_proto_rawDescData) + }) + return file_ForceAddPlayerFriendReq_proto_rawDescData +} + +var file_ForceAddPlayerFriendReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForceAddPlayerFriendReq_proto_goTypes = []interface{}{ + (*ForceAddPlayerFriendReq)(nil), // 0: ForceAddPlayerFriendReq +} +var file_ForceAddPlayerFriendReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForceAddPlayerFriendReq_proto_init() } +func file_ForceAddPlayerFriendReq_proto_init() { + if File_ForceAddPlayerFriendReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForceAddPlayerFriendReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForceAddPlayerFriendReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForceAddPlayerFriendReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForceAddPlayerFriendReq_proto_goTypes, + DependencyIndexes: file_ForceAddPlayerFriendReq_proto_depIdxs, + MessageInfos: file_ForceAddPlayerFriendReq_proto_msgTypes, + }.Build() + File_ForceAddPlayerFriendReq_proto = out.File + file_ForceAddPlayerFriendReq_proto_rawDesc = nil + file_ForceAddPlayerFriendReq_proto_goTypes = nil + file_ForceAddPlayerFriendReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForceAddPlayerFriendReq.proto b/gate-hk4e-api/proto/ForceAddPlayerFriendReq.proto new file mode 100644 index 00000000..fcd6827c --- /dev/null +++ b/gate-hk4e-api/proto/ForceAddPlayerFriendReq.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4057 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForceAddPlayerFriendReq { + uint32 target_uid = 15; +} diff --git a/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.pb.go b/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.pb.go new file mode 100644 index 00000000..c060ec9b --- /dev/null +++ b/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForceAddPlayerFriendRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4100 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForceAddPlayerFriendRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetFriendBrief *FriendBrief `protobuf:"bytes,2,opt,name=target_friend_brief,json=targetFriendBrief,proto3" json:"target_friend_brief,omitempty"` + TargetUid uint32 `protobuf:"varint,9,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *ForceAddPlayerFriendRsp) Reset() { + *x = ForceAddPlayerFriendRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ForceAddPlayerFriendRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceAddPlayerFriendRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceAddPlayerFriendRsp) ProtoMessage() {} + +func (x *ForceAddPlayerFriendRsp) ProtoReflect() protoreflect.Message { + mi := &file_ForceAddPlayerFriendRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceAddPlayerFriendRsp.ProtoReflect.Descriptor instead. +func (*ForceAddPlayerFriendRsp) Descriptor() ([]byte, []int) { + return file_ForceAddPlayerFriendRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ForceAddPlayerFriendRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ForceAddPlayerFriendRsp) GetTargetFriendBrief() *FriendBrief { + if x != nil { + return x.TargetFriendBrief + } + return nil +} + +func (x *ForceAddPlayerFriendRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_ForceAddPlayerFriendRsp_proto protoreflect.FileDescriptor + +var file_ForceAddPlayerFriendRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x13, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, + 0x69, 0x65, 0x66, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForceAddPlayerFriendRsp_proto_rawDescOnce sync.Once + file_ForceAddPlayerFriendRsp_proto_rawDescData = file_ForceAddPlayerFriendRsp_proto_rawDesc +) + +func file_ForceAddPlayerFriendRsp_proto_rawDescGZIP() []byte { + file_ForceAddPlayerFriendRsp_proto_rawDescOnce.Do(func() { + file_ForceAddPlayerFriendRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForceAddPlayerFriendRsp_proto_rawDescData) + }) + return file_ForceAddPlayerFriendRsp_proto_rawDescData +} + +var file_ForceAddPlayerFriendRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForceAddPlayerFriendRsp_proto_goTypes = []interface{}{ + (*ForceAddPlayerFriendRsp)(nil), // 0: ForceAddPlayerFriendRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_ForceAddPlayerFriendRsp_proto_depIdxs = []int32{ + 1, // 0: ForceAddPlayerFriendRsp.target_friend_brief:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ForceAddPlayerFriendRsp_proto_init() } +func file_ForceAddPlayerFriendRsp_proto_init() { + if File_ForceAddPlayerFriendRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForceAddPlayerFriendRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForceAddPlayerFriendRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForceAddPlayerFriendRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForceAddPlayerFriendRsp_proto_goTypes, + DependencyIndexes: file_ForceAddPlayerFriendRsp_proto_depIdxs, + MessageInfos: file_ForceAddPlayerFriendRsp_proto_msgTypes, + }.Build() + File_ForceAddPlayerFriendRsp_proto = out.File + file_ForceAddPlayerFriendRsp_proto_rawDesc = nil + file_ForceAddPlayerFriendRsp_proto_goTypes = nil + file_ForceAddPlayerFriendRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.proto b/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.proto new file mode 100644 index 00000000..70a7bcff --- /dev/null +++ b/gate-hk4e-api/proto/ForceAddPlayerFriendRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4100 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForceAddPlayerFriendRsp { + int32 retcode = 5; + FriendBrief target_friend_brief = 2; + uint32 target_uid = 9; +} diff --git a/gate-hk4e-api/proto/ForceDragAvatarNotify.pb.go b/gate-hk4e-api/proto/ForceDragAvatarNotify.pb.go new file mode 100644 index 00000000..91b5f172 --- /dev/null +++ b/gate-hk4e-api/proto/ForceDragAvatarNotify.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForceDragAvatarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3235 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForceDragAvatarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTime uint32 `protobuf:"varint,3,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + DeltaTimeMs uint64 `protobuf:"varint,1,opt,name=delta_time_ms,json=deltaTimeMs,proto3" json:"delta_time_ms,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MotionInfo *MotionInfo `protobuf:"bytes,10,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + IsFirstValid bool `protobuf:"varint,8,opt,name=is_first_valid,json=isFirstValid,proto3" json:"is_first_valid,omitempty"` + LastMoveTimeMs uint64 `protobuf:"varint,12,opt,name=last_move_time_ms,json=lastMoveTimeMs,proto3" json:"last_move_time_ms,omitempty"` +} + +func (x *ForceDragAvatarNotify) Reset() { + *x = ForceDragAvatarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ForceDragAvatarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceDragAvatarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceDragAvatarNotify) ProtoMessage() {} + +func (x *ForceDragAvatarNotify) ProtoReflect() protoreflect.Message { + mi := &file_ForceDragAvatarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceDragAvatarNotify.ProtoReflect.Descriptor instead. +func (*ForceDragAvatarNotify) Descriptor() ([]byte, []int) { + return file_ForceDragAvatarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ForceDragAvatarNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *ForceDragAvatarNotify) GetDeltaTimeMs() uint64 { + if x != nil { + return x.DeltaTimeMs + } + return 0 +} + +func (x *ForceDragAvatarNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ForceDragAvatarNotify) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *ForceDragAvatarNotify) GetIsFirstValid() bool { + if x != nil { + return x.IsFirstValid + } + return false +} + +func (x *ForceDragAvatarNotify) GetLastMoveTimeMs() uint64 { + if x != nil { + return x.LastMoveTimeMs + } + return 0 +} + +var File_ForceDragAvatarNotify_proto protoreflect.FileDescriptor + +var file_ForceDragAvatarNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x72, 0x61, 0x67, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, + 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xf6, 0x01, 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x72, 0x61, 0x67, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x74, + 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x6d, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, + 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x0a, + 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, + 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForceDragAvatarNotify_proto_rawDescOnce sync.Once + file_ForceDragAvatarNotify_proto_rawDescData = file_ForceDragAvatarNotify_proto_rawDesc +) + +func file_ForceDragAvatarNotify_proto_rawDescGZIP() []byte { + file_ForceDragAvatarNotify_proto_rawDescOnce.Do(func() { + file_ForceDragAvatarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForceDragAvatarNotify_proto_rawDescData) + }) + return file_ForceDragAvatarNotify_proto_rawDescData +} + +var file_ForceDragAvatarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForceDragAvatarNotify_proto_goTypes = []interface{}{ + (*ForceDragAvatarNotify)(nil), // 0: ForceDragAvatarNotify + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_ForceDragAvatarNotify_proto_depIdxs = []int32{ + 1, // 0: ForceDragAvatarNotify.motion_info:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ForceDragAvatarNotify_proto_init() } +func file_ForceDragAvatarNotify_proto_init() { + if File_ForceDragAvatarNotify_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForceDragAvatarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForceDragAvatarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForceDragAvatarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForceDragAvatarNotify_proto_goTypes, + DependencyIndexes: file_ForceDragAvatarNotify_proto_depIdxs, + MessageInfos: file_ForceDragAvatarNotify_proto_msgTypes, + }.Build() + File_ForceDragAvatarNotify_proto = out.File + file_ForceDragAvatarNotify_proto_rawDesc = nil + file_ForceDragAvatarNotify_proto_goTypes = nil + file_ForceDragAvatarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForceDragAvatarNotify.proto b/gate-hk4e-api/proto/ForceDragAvatarNotify.proto new file mode 100644 index 00000000..169f7244 --- /dev/null +++ b/gate-hk4e-api/proto/ForceDragAvatarNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3235 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForceDragAvatarNotify { + uint32 scene_time = 3; + uint64 delta_time_ms = 1; + uint32 entity_id = 2; + MotionInfo motion_info = 10; + bool is_first_valid = 8; + uint64 last_move_time_ms = 12; +} diff --git a/gate-hk4e-api/proto/ForceDragBackTransferNotify.pb.go b/gate-hk4e-api/proto/ForceDragBackTransferNotify.pb.go new file mode 100644 index 00000000..a07eb496 --- /dev/null +++ b/gate-hk4e-api/proto/ForceDragBackTransferNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForceDragBackTransferNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ForceDragBackTransferNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ForceDragBackTransferNotify) Reset() { + *x = ForceDragBackTransferNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ForceDragBackTransferNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceDragBackTransferNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceDragBackTransferNotify) ProtoMessage() {} + +func (x *ForceDragBackTransferNotify) ProtoReflect() protoreflect.Message { + mi := &file_ForceDragBackTransferNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceDragBackTransferNotify.ProtoReflect.Descriptor instead. +func (*ForceDragBackTransferNotify) Descriptor() ([]byte, []int) { + return file_ForceDragBackTransferNotify_proto_rawDescGZIP(), []int{0} +} + +var File_ForceDragBackTransferNotify_proto protoreflect.FileDescriptor + +var file_ForceDragBackTransferNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x72, 0x61, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x72, 0x61, 0x67, + 0x42, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForceDragBackTransferNotify_proto_rawDescOnce sync.Once + file_ForceDragBackTransferNotify_proto_rawDescData = file_ForceDragBackTransferNotify_proto_rawDesc +) + +func file_ForceDragBackTransferNotify_proto_rawDescGZIP() []byte { + file_ForceDragBackTransferNotify_proto_rawDescOnce.Do(func() { + file_ForceDragBackTransferNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForceDragBackTransferNotify_proto_rawDescData) + }) + return file_ForceDragBackTransferNotify_proto_rawDescData +} + +var file_ForceDragBackTransferNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForceDragBackTransferNotify_proto_goTypes = []interface{}{ + (*ForceDragBackTransferNotify)(nil), // 0: ForceDragBackTransferNotify +} +var file_ForceDragBackTransferNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForceDragBackTransferNotify_proto_init() } +func file_ForceDragBackTransferNotify_proto_init() { + if File_ForceDragBackTransferNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForceDragBackTransferNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForceDragBackTransferNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForceDragBackTransferNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForceDragBackTransferNotify_proto_goTypes, + DependencyIndexes: file_ForceDragBackTransferNotify_proto_depIdxs, + MessageInfos: file_ForceDragBackTransferNotify_proto_msgTypes, + }.Build() + File_ForceDragBackTransferNotify_proto = out.File + file_ForceDragBackTransferNotify_proto_rawDesc = nil + file_ForceDragBackTransferNotify_proto_goTypes = nil + file_ForceDragBackTransferNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForceDragBackTransferNotify.proto b/gate-hk4e-api/proto/ForceDragBackTransferNotify.proto new file mode 100644 index 00000000..365460ec --- /dev/null +++ b/gate-hk4e-api/proto/ForceDragBackTransferNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ForceDragBackTransferNotify {} diff --git a/gate-hk4e-api/proto/ForceUpdateInfo.pb.go b/gate-hk4e-api/proto/ForceUpdateInfo.pb.go new file mode 100644 index 00000000..bfe7f0f6 --- /dev/null +++ b/gate-hk4e-api/proto/ForceUpdateInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForceUpdateInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ForceUpdateInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForceUpdateUrl string `protobuf:"bytes,1,opt,name=force_update_url,json=forceUpdateUrl,proto3" json:"force_update_url,omitempty"` +} + +func (x *ForceUpdateInfo) Reset() { + *x = ForceUpdateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ForceUpdateInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceUpdateInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceUpdateInfo) ProtoMessage() {} + +func (x *ForceUpdateInfo) ProtoReflect() protoreflect.Message { + mi := &file_ForceUpdateInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceUpdateInfo.ProtoReflect.Descriptor instead. +func (*ForceUpdateInfo) Descriptor() ([]byte, []int) { + return file_ForceUpdateInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ForceUpdateInfo) GetForceUpdateUrl() string { + if x != nil { + return x.ForceUpdateUrl + } + return "" +} + +var File_ForceUpdateInfo_proto protoreflect.FileDescriptor + +var file_ForceUpdateInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x63, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x55, 0x72, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForceUpdateInfo_proto_rawDescOnce sync.Once + file_ForceUpdateInfo_proto_rawDescData = file_ForceUpdateInfo_proto_rawDesc +) + +func file_ForceUpdateInfo_proto_rawDescGZIP() []byte { + file_ForceUpdateInfo_proto_rawDescOnce.Do(func() { + file_ForceUpdateInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForceUpdateInfo_proto_rawDescData) + }) + return file_ForceUpdateInfo_proto_rawDescData +} + +var file_ForceUpdateInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForceUpdateInfo_proto_goTypes = []interface{}{ + (*ForceUpdateInfo)(nil), // 0: ForceUpdateInfo +} +var file_ForceUpdateInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForceUpdateInfo_proto_init() } +func file_ForceUpdateInfo_proto_init() { + if File_ForceUpdateInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForceUpdateInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForceUpdateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForceUpdateInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForceUpdateInfo_proto_goTypes, + DependencyIndexes: file_ForceUpdateInfo_proto_depIdxs, + MessageInfos: file_ForceUpdateInfo_proto_msgTypes, + }.Build() + File_ForceUpdateInfo_proto = out.File + file_ForceUpdateInfo_proto_rawDesc = nil + file_ForceUpdateInfo_proto_goTypes = nil + file_ForceUpdateInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForceUpdateInfo.proto b/gate-hk4e-api/proto/ForceUpdateInfo.proto new file mode 100644 index 00000000..e758e063 --- /dev/null +++ b/gate-hk4e-api/proto/ForceUpdateInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ForceUpdateInfo { + string force_update_url = 1; +} diff --git a/gate-hk4e-api/proto/ForgeDataNotify.pb.go b/gate-hk4e-api/proto/ForgeDataNotify.pb.go new file mode 100644 index 00000000..84c7bc9d --- /dev/null +++ b/gate-hk4e-api/proto/ForgeDataNotify.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 680 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForgeDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForgeIdList []uint32 `protobuf:"varint,5,rep,packed,name=forge_id_list,json=forgeIdList,proto3" json:"forge_id_list,omitempty"` + ForgeQueueMap map[uint32]*ForgeQueueData `protobuf:"bytes,8,rep,name=forge_queue_map,json=forgeQueueMap,proto3" json:"forge_queue_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MaxQueueNum uint32 `protobuf:"varint,14,opt,name=max_queue_num,json=maxQueueNum,proto3" json:"max_queue_num,omitempty"` +} + +func (x *ForgeDataNotify) Reset() { + *x = ForgeDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeDataNotify) ProtoMessage() {} + +func (x *ForgeDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ForgeDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeDataNotify.ProtoReflect.Descriptor instead. +func (*ForgeDataNotify) Descriptor() ([]byte, []int) { + return file_ForgeDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeDataNotify) GetForgeIdList() []uint32 { + if x != nil { + return x.ForgeIdList + } + return nil +} + +func (x *ForgeDataNotify) GetForgeQueueMap() map[uint32]*ForgeQueueData { + if x != nil { + return x.ForgeQueueMap + } + return nil +} + +func (x *ForgeDataNotify) GetMaxQueueNum() uint32 { + if x != nil { + return x.MaxQueueNum + } + return 0 +} + +var File_ForgeDataNotify_proto protoreflect.FileDescriptor + +var file_ForgeDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x01, + 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, + 0x61, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x4e, 0x75, 0x6d, 0x1a, 0x51, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeDataNotify_proto_rawDescOnce sync.Once + file_ForgeDataNotify_proto_rawDescData = file_ForgeDataNotify_proto_rawDesc +) + +func file_ForgeDataNotify_proto_rawDescGZIP() []byte { + file_ForgeDataNotify_proto_rawDescOnce.Do(func() { + file_ForgeDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeDataNotify_proto_rawDescData) + }) + return file_ForgeDataNotify_proto_rawDescData +} + +var file_ForgeDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ForgeDataNotify_proto_goTypes = []interface{}{ + (*ForgeDataNotify)(nil), // 0: ForgeDataNotify + nil, // 1: ForgeDataNotify.ForgeQueueMapEntry + (*ForgeQueueData)(nil), // 2: ForgeQueueData +} +var file_ForgeDataNotify_proto_depIdxs = []int32{ + 1, // 0: ForgeDataNotify.forge_queue_map:type_name -> ForgeDataNotify.ForgeQueueMapEntry + 2, // 1: ForgeDataNotify.ForgeQueueMapEntry.value:type_name -> ForgeQueueData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ForgeDataNotify_proto_init() } +func file_ForgeDataNotify_proto_init() { + if File_ForgeDataNotify_proto != nil { + return + } + file_ForgeQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForgeDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeDataNotify_proto_goTypes, + DependencyIndexes: file_ForgeDataNotify_proto_depIdxs, + MessageInfos: file_ForgeDataNotify_proto_msgTypes, + }.Build() + File_ForgeDataNotify_proto = out.File + file_ForgeDataNotify_proto_rawDesc = nil + file_ForgeDataNotify_proto_goTypes = nil + file_ForgeDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeDataNotify.proto b/gate-hk4e-api/proto/ForgeDataNotify.proto new file mode 100644 index 00000000..975058a2 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeDataNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForgeQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 680 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForgeDataNotify { + repeated uint32 forge_id_list = 5; + map forge_queue_map = 8; + uint32 max_queue_num = 14; +} diff --git a/gate-hk4e-api/proto/ForgeFormulaDataNotify.pb.go b/gate-hk4e-api/proto/ForgeFormulaDataNotify.pb.go new file mode 100644 index 00000000..2d012c9f --- /dev/null +++ b/gate-hk4e-api/proto/ForgeFormulaDataNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeFormulaDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 689 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForgeFormulaDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsLocked bool `protobuf:"varint,15,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` + ForgeId uint32 `protobuf:"varint,13,opt,name=forge_id,json=forgeId,proto3" json:"forge_id,omitempty"` +} + +func (x *ForgeFormulaDataNotify) Reset() { + *x = ForgeFormulaDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeFormulaDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeFormulaDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeFormulaDataNotify) ProtoMessage() {} + +func (x *ForgeFormulaDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ForgeFormulaDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeFormulaDataNotify.ProtoReflect.Descriptor instead. +func (*ForgeFormulaDataNotify) Descriptor() ([]byte, []int) { + return file_ForgeFormulaDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeFormulaDataNotify) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +func (x *ForgeFormulaDataNotify) GetForgeId() uint32 { + if x != nil { + return x.ForgeId + } + return 0 +} + +var File_ForgeFormulaDataNotify_proto protoreflect.FileDescriptor + +var file_ForgeFormulaDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, + 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeFormulaDataNotify_proto_rawDescOnce sync.Once + file_ForgeFormulaDataNotify_proto_rawDescData = file_ForgeFormulaDataNotify_proto_rawDesc +) + +func file_ForgeFormulaDataNotify_proto_rawDescGZIP() []byte { + file_ForgeFormulaDataNotify_proto_rawDescOnce.Do(func() { + file_ForgeFormulaDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeFormulaDataNotify_proto_rawDescData) + }) + return file_ForgeFormulaDataNotify_proto_rawDescData +} + +var file_ForgeFormulaDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeFormulaDataNotify_proto_goTypes = []interface{}{ + (*ForgeFormulaDataNotify)(nil), // 0: ForgeFormulaDataNotify +} +var file_ForgeFormulaDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeFormulaDataNotify_proto_init() } +func file_ForgeFormulaDataNotify_proto_init() { + if File_ForgeFormulaDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForgeFormulaDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeFormulaDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeFormulaDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeFormulaDataNotify_proto_goTypes, + DependencyIndexes: file_ForgeFormulaDataNotify_proto_depIdxs, + MessageInfos: file_ForgeFormulaDataNotify_proto_msgTypes, + }.Build() + File_ForgeFormulaDataNotify_proto = out.File + file_ForgeFormulaDataNotify_proto_rawDesc = nil + file_ForgeFormulaDataNotify_proto_goTypes = nil + file_ForgeFormulaDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeFormulaDataNotify.proto b/gate-hk4e-api/proto/ForgeFormulaDataNotify.proto new file mode 100644 index 00000000..5effd527 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeFormulaDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 689 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForgeFormulaDataNotify { + bool is_locked = 15; + uint32 forge_id = 13; +} diff --git a/gate-hk4e-api/proto/ForgeGetQueueDataReq.pb.go b/gate-hk4e-api/proto/ForgeGetQueueDataReq.pb.go new file mode 100644 index 00000000..429440b4 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeGetQueueDataReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeGetQueueDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 646 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ForgeGetQueueDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ForgeGetQueueDataReq) Reset() { + *x = ForgeGetQueueDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeGetQueueDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeGetQueueDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeGetQueueDataReq) ProtoMessage() {} + +func (x *ForgeGetQueueDataReq) ProtoReflect() protoreflect.Message { + mi := &file_ForgeGetQueueDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeGetQueueDataReq.ProtoReflect.Descriptor instead. +func (*ForgeGetQueueDataReq) Descriptor() ([]byte, []int) { + return file_ForgeGetQueueDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_ForgeGetQueueDataReq_proto protoreflect.FileDescriptor + +var file_ForgeGetQueueDataReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x46, 0x6f, 0x72, 0x67, 0x65, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeGetQueueDataReq_proto_rawDescOnce sync.Once + file_ForgeGetQueueDataReq_proto_rawDescData = file_ForgeGetQueueDataReq_proto_rawDesc +) + +func file_ForgeGetQueueDataReq_proto_rawDescGZIP() []byte { + file_ForgeGetQueueDataReq_proto_rawDescOnce.Do(func() { + file_ForgeGetQueueDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeGetQueueDataReq_proto_rawDescData) + }) + return file_ForgeGetQueueDataReq_proto_rawDescData +} + +var file_ForgeGetQueueDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeGetQueueDataReq_proto_goTypes = []interface{}{ + (*ForgeGetQueueDataReq)(nil), // 0: ForgeGetQueueDataReq +} +var file_ForgeGetQueueDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeGetQueueDataReq_proto_init() } +func file_ForgeGetQueueDataReq_proto_init() { + if File_ForgeGetQueueDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForgeGetQueueDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeGetQueueDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeGetQueueDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeGetQueueDataReq_proto_goTypes, + DependencyIndexes: file_ForgeGetQueueDataReq_proto_depIdxs, + MessageInfos: file_ForgeGetQueueDataReq_proto_msgTypes, + }.Build() + File_ForgeGetQueueDataReq_proto = out.File + file_ForgeGetQueueDataReq_proto_rawDesc = nil + file_ForgeGetQueueDataReq_proto_goTypes = nil + file_ForgeGetQueueDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeGetQueueDataReq.proto b/gate-hk4e-api/proto/ForgeGetQueueDataReq.proto new file mode 100644 index 00000000..4fef04f5 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeGetQueueDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 646 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ForgeGetQueueDataReq {} diff --git a/gate-hk4e-api/proto/ForgeGetQueueDataRsp.pb.go b/gate-hk4e-api/proto/ForgeGetQueueDataRsp.pb.go new file mode 100644 index 00000000..a64d0ba9 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeGetQueueDataRsp.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeGetQueueDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 641 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForgeGetQueueDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForgeQueueMap map[uint32]*ForgeQueueData `protobuf:"bytes,2,rep,name=forge_queue_map,json=forgeQueueMap,proto3" json:"forge_queue_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaxQueueNum uint32 `protobuf:"varint,6,opt,name=max_queue_num,json=maxQueueNum,proto3" json:"max_queue_num,omitempty"` +} + +func (x *ForgeGetQueueDataRsp) Reset() { + *x = ForgeGetQueueDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeGetQueueDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeGetQueueDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeGetQueueDataRsp) ProtoMessage() {} + +func (x *ForgeGetQueueDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_ForgeGetQueueDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeGetQueueDataRsp.ProtoReflect.Descriptor instead. +func (*ForgeGetQueueDataRsp) Descriptor() ([]byte, []int) { + return file_ForgeGetQueueDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeGetQueueDataRsp) GetForgeQueueMap() map[uint32]*ForgeQueueData { + if x != nil { + return x.ForgeQueueMap + } + return nil +} + +func (x *ForgeGetQueueDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ForgeGetQueueDataRsp) GetMaxQueueNum() uint32 { + if x != nil { + return x.MaxQueueNum + } + return 0 +} + +var File_ForgeGetQueueDataRsp_proto protoreflect.FileDescriptor + +var file_ForgeGetQueueDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x6f, + 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x47, 0x65, 0x74, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x0f, 0x66, + 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x47, 0x65, 0x74, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x46, 0x6f, 0x72, 0x67, + 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, + 0x66, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x6d, 0x61, 0x78, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4e, 0x75, 0x6d, 0x1a, 0x51, 0x0a, 0x12, 0x46, + 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ForgeGetQueueDataRsp_proto_rawDescOnce sync.Once + file_ForgeGetQueueDataRsp_proto_rawDescData = file_ForgeGetQueueDataRsp_proto_rawDesc +) + +func file_ForgeGetQueueDataRsp_proto_rawDescGZIP() []byte { + file_ForgeGetQueueDataRsp_proto_rawDescOnce.Do(func() { + file_ForgeGetQueueDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeGetQueueDataRsp_proto_rawDescData) + }) + return file_ForgeGetQueueDataRsp_proto_rawDescData +} + +var file_ForgeGetQueueDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ForgeGetQueueDataRsp_proto_goTypes = []interface{}{ + (*ForgeGetQueueDataRsp)(nil), // 0: ForgeGetQueueDataRsp + nil, // 1: ForgeGetQueueDataRsp.ForgeQueueMapEntry + (*ForgeQueueData)(nil), // 2: ForgeQueueData +} +var file_ForgeGetQueueDataRsp_proto_depIdxs = []int32{ + 1, // 0: ForgeGetQueueDataRsp.forge_queue_map:type_name -> ForgeGetQueueDataRsp.ForgeQueueMapEntry + 2, // 1: ForgeGetQueueDataRsp.ForgeQueueMapEntry.value:type_name -> ForgeQueueData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ForgeGetQueueDataRsp_proto_init() } +func file_ForgeGetQueueDataRsp_proto_init() { + if File_ForgeGetQueueDataRsp_proto != nil { + return + } + file_ForgeQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForgeGetQueueDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeGetQueueDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeGetQueueDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeGetQueueDataRsp_proto_goTypes, + DependencyIndexes: file_ForgeGetQueueDataRsp_proto_depIdxs, + MessageInfos: file_ForgeGetQueueDataRsp_proto_msgTypes, + }.Build() + File_ForgeGetQueueDataRsp_proto = out.File + file_ForgeGetQueueDataRsp_proto_rawDesc = nil + file_ForgeGetQueueDataRsp_proto_goTypes = nil + file_ForgeGetQueueDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeGetQueueDataRsp.proto b/gate-hk4e-api/proto/ForgeGetQueueDataRsp.proto new file mode 100644 index 00000000..83fe18be --- /dev/null +++ b/gate-hk4e-api/proto/ForgeGetQueueDataRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForgeQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 641 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForgeGetQueueDataRsp { + map forge_queue_map = 2; + int32 retcode = 15; + uint32 max_queue_num = 6; +} diff --git a/gate-hk4e-api/proto/ForgeQueueData.pb.go b/gate-hk4e-api/proto/ForgeQueueData.pb.go new file mode 100644 index 00000000..82ad34ad --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueData.pb.go @@ -0,0 +1,221 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeQueueData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ForgeQueueData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishCount uint32 `protobuf:"varint,13,opt,name=finish_count,json=finishCount,proto3" json:"finish_count,omitempty"` + TotalFinishTimestamp uint32 `protobuf:"varint,14,opt,name=total_finish_timestamp,json=totalFinishTimestamp,proto3" json:"total_finish_timestamp,omitempty"` + AvatarId uint32 `protobuf:"varint,7,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + QueueId uint32 `protobuf:"varint,1,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` + UnfinishCount uint32 `protobuf:"varint,10,opt,name=unfinish_count,json=unfinishCount,proto3" json:"unfinish_count,omitempty"` + NextFinishTimestamp uint32 `protobuf:"varint,11,opt,name=next_finish_timestamp,json=nextFinishTimestamp,proto3" json:"next_finish_timestamp,omitempty"` + ForgeId uint32 `protobuf:"varint,15,opt,name=forge_id,json=forgeId,proto3" json:"forge_id,omitempty"` +} + +func (x *ForgeQueueData) Reset() { + *x = ForgeQueueData{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeQueueData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeQueueData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeQueueData) ProtoMessage() {} + +func (x *ForgeQueueData) ProtoReflect() protoreflect.Message { + mi := &file_ForgeQueueData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeQueueData.ProtoReflect.Descriptor instead. +func (*ForgeQueueData) Descriptor() ([]byte, []int) { + return file_ForgeQueueData_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeQueueData) GetFinishCount() uint32 { + if x != nil { + return x.FinishCount + } + return 0 +} + +func (x *ForgeQueueData) GetTotalFinishTimestamp() uint32 { + if x != nil { + return x.TotalFinishTimestamp + } + return 0 +} + +func (x *ForgeQueueData) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *ForgeQueueData) GetQueueId() uint32 { + if x != nil { + return x.QueueId + } + return 0 +} + +func (x *ForgeQueueData) GetUnfinishCount() uint32 { + if x != nil { + return x.UnfinishCount + } + return 0 +} + +func (x *ForgeQueueData) GetNextFinishTimestamp() uint32 { + if x != nil { + return x.NextFinishTimestamp + } + return 0 +} + +func (x *ForgeQueueData) GetForgeId() uint32 { + if x != nil { + return x.ForgeId + } + return 0 +} + +var File_ForgeQueueData_proto protoreflect.FileDescriptor + +var file_ForgeQueueData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x67, 0x65, + 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x75, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeQueueData_proto_rawDescOnce sync.Once + file_ForgeQueueData_proto_rawDescData = file_ForgeQueueData_proto_rawDesc +) + +func file_ForgeQueueData_proto_rawDescGZIP() []byte { + file_ForgeQueueData_proto_rawDescOnce.Do(func() { + file_ForgeQueueData_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeQueueData_proto_rawDescData) + }) + return file_ForgeQueueData_proto_rawDescData +} + +var file_ForgeQueueData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeQueueData_proto_goTypes = []interface{}{ + (*ForgeQueueData)(nil), // 0: ForgeQueueData +} +var file_ForgeQueueData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeQueueData_proto_init() } +func file_ForgeQueueData_proto_init() { + if File_ForgeQueueData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForgeQueueData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeQueueData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeQueueData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeQueueData_proto_goTypes, + DependencyIndexes: file_ForgeQueueData_proto_depIdxs, + MessageInfos: file_ForgeQueueData_proto_msgTypes, + }.Build() + File_ForgeQueueData_proto = out.File + file_ForgeQueueData_proto_rawDesc = nil + file_ForgeQueueData_proto_goTypes = nil + file_ForgeQueueData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeQueueData.proto b/gate-hk4e-api/proto/ForgeQueueData.proto new file mode 100644 index 00000000..9f3985ce --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ForgeQueueData { + uint32 finish_count = 13; + uint32 total_finish_timestamp = 14; + uint32 avatar_id = 7; + uint32 queue_id = 1; + uint32 unfinish_count = 10; + uint32 next_finish_timestamp = 11; + uint32 forge_id = 15; +} diff --git a/gate-hk4e-api/proto/ForgeQueueDataNotify.pb.go b/gate-hk4e-api/proto/ForgeQueueDataNotify.pb.go new file mode 100644 index 00000000..5000f6aa --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueDataNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeQueueDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 676 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ForgeQueueDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForgeQueueMap map[uint32]*ForgeQueueData `protobuf:"bytes,7,rep,name=forge_queue_map,json=forgeQueueMap,proto3" json:"forge_queue_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RemovedForgeQueueList []uint32 `protobuf:"varint,6,rep,packed,name=removed_forge_queue_list,json=removedForgeQueueList,proto3" json:"removed_forge_queue_list,omitempty"` +} + +func (x *ForgeQueueDataNotify) Reset() { + *x = ForgeQueueDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeQueueDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeQueueDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeQueueDataNotify) ProtoMessage() {} + +func (x *ForgeQueueDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_ForgeQueueDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeQueueDataNotify.ProtoReflect.Descriptor instead. +func (*ForgeQueueDataNotify) Descriptor() ([]byte, []int) { + return file_ForgeQueueDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeQueueDataNotify) GetForgeQueueMap() map[uint32]*ForgeQueueData { + if x != nil { + return x.ForgeQueueMap + } + return nil +} + +func (x *ForgeQueueDataNotify) GetRemovedForgeQueueList() []uint32 { + if x != nil { + return x.RemovedForgeQueueList + } + return nil +} + +var File_ForgeQueueDataNotify_proto protoreflect.FileDescriptor + +var file_ForgeQueueDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x6f, + 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xf4, 0x01, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x50, 0x0a, 0x0f, 0x66, + 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x46, 0x6f, 0x72, 0x67, + 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, + 0x66, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x37, 0x0a, + 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x71, + 0x75, 0x65, 0x75, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x51, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeQueueDataNotify_proto_rawDescOnce sync.Once + file_ForgeQueueDataNotify_proto_rawDescData = file_ForgeQueueDataNotify_proto_rawDesc +) + +func file_ForgeQueueDataNotify_proto_rawDescGZIP() []byte { + file_ForgeQueueDataNotify_proto_rawDescOnce.Do(func() { + file_ForgeQueueDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeQueueDataNotify_proto_rawDescData) + }) + return file_ForgeQueueDataNotify_proto_rawDescData +} + +var file_ForgeQueueDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ForgeQueueDataNotify_proto_goTypes = []interface{}{ + (*ForgeQueueDataNotify)(nil), // 0: ForgeQueueDataNotify + nil, // 1: ForgeQueueDataNotify.ForgeQueueMapEntry + (*ForgeQueueData)(nil), // 2: ForgeQueueData +} +var file_ForgeQueueDataNotify_proto_depIdxs = []int32{ + 1, // 0: ForgeQueueDataNotify.forge_queue_map:type_name -> ForgeQueueDataNotify.ForgeQueueMapEntry + 2, // 1: ForgeQueueDataNotify.ForgeQueueMapEntry.value:type_name -> ForgeQueueData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ForgeQueueDataNotify_proto_init() } +func file_ForgeQueueDataNotify_proto_init() { + if File_ForgeQueueDataNotify_proto != nil { + return + } + file_ForgeQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForgeQueueDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeQueueDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeQueueDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeQueueDataNotify_proto_goTypes, + DependencyIndexes: file_ForgeQueueDataNotify_proto_depIdxs, + MessageInfos: file_ForgeQueueDataNotify_proto_msgTypes, + }.Build() + File_ForgeQueueDataNotify_proto = out.File + file_ForgeQueueDataNotify_proto_rawDesc = nil + file_ForgeQueueDataNotify_proto_goTypes = nil + file_ForgeQueueDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeQueueDataNotify.proto b/gate-hk4e-api/proto/ForgeQueueDataNotify.proto new file mode 100644 index 00000000..6495a3fb --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueDataNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForgeQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 676 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ForgeQueueDataNotify { + map forge_queue_map = 7; + repeated uint32 removed_forge_queue_list = 6; +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateReq.pb.go b/gate-hk4e-api/proto/ForgeQueueManipulateReq.pb.go new file mode 100644 index 00000000..21a180f6 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateReq.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeQueueManipulateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 624 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ForgeQueueManipulateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForgeQueueId uint32 `protobuf:"varint,5,opt,name=forge_queue_id,json=forgeQueueId,proto3" json:"forge_queue_id,omitempty"` + ManipulateType ForgeQueueManipulateType `protobuf:"varint,13,opt,name=manipulate_type,json=manipulateType,proto3,enum=ForgeQueueManipulateType" json:"manipulate_type,omitempty"` +} + +func (x *ForgeQueueManipulateReq) Reset() { + *x = ForgeQueueManipulateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeQueueManipulateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeQueueManipulateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeQueueManipulateReq) ProtoMessage() {} + +func (x *ForgeQueueManipulateReq) ProtoReflect() protoreflect.Message { + mi := &file_ForgeQueueManipulateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeQueueManipulateReq.ProtoReflect.Descriptor instead. +func (*ForgeQueueManipulateReq) Descriptor() ([]byte, []int) { + return file_ForgeQueueManipulateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeQueueManipulateReq) GetForgeQueueId() uint32 { + if x != nil { + return x.ForgeQueueId + } + return 0 +} + +func (x *ForgeQueueManipulateReq) GetManipulateType() ForgeQueueManipulateType { + if x != nil { + return x.ManipulateType + } + return ForgeQueueManipulateType_FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT +} + +var File_ForgeQueueManipulateReq_proto protoreflect.FileDescriptor + +var file_ForgeQueueManipulateReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, + 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x70, + 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x83, 0x01, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, + 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0e, 0x66, + 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x49, + 0x64, 0x12, 0x42, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x46, 0x6f, 0x72, + 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeQueueManipulateReq_proto_rawDescOnce sync.Once + file_ForgeQueueManipulateReq_proto_rawDescData = file_ForgeQueueManipulateReq_proto_rawDesc +) + +func file_ForgeQueueManipulateReq_proto_rawDescGZIP() []byte { + file_ForgeQueueManipulateReq_proto_rawDescOnce.Do(func() { + file_ForgeQueueManipulateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeQueueManipulateReq_proto_rawDescData) + }) + return file_ForgeQueueManipulateReq_proto_rawDescData +} + +var file_ForgeQueueManipulateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeQueueManipulateReq_proto_goTypes = []interface{}{ + (*ForgeQueueManipulateReq)(nil), // 0: ForgeQueueManipulateReq + (ForgeQueueManipulateType)(0), // 1: ForgeQueueManipulateType +} +var file_ForgeQueueManipulateReq_proto_depIdxs = []int32{ + 1, // 0: ForgeQueueManipulateReq.manipulate_type:type_name -> ForgeQueueManipulateType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ForgeQueueManipulateReq_proto_init() } +func file_ForgeQueueManipulateReq_proto_init() { + if File_ForgeQueueManipulateReq_proto != nil { + return + } + file_ForgeQueueManipulateType_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForgeQueueManipulateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeQueueManipulateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeQueueManipulateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeQueueManipulateReq_proto_goTypes, + DependencyIndexes: file_ForgeQueueManipulateReq_proto_depIdxs, + MessageInfos: file_ForgeQueueManipulateReq_proto_msgTypes, + }.Build() + File_ForgeQueueManipulateReq_proto = out.File + file_ForgeQueueManipulateReq_proto_rawDesc = nil + file_ForgeQueueManipulateReq_proto_goTypes = nil + file_ForgeQueueManipulateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateReq.proto b/gate-hk4e-api/proto/ForgeQueueManipulateReq.proto new file mode 100644 index 00000000..eff7a903 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForgeQueueManipulateType.proto"; + +option go_package = "./;proto"; + +// CmdId: 624 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ForgeQueueManipulateReq { + uint32 forge_queue_id = 5; + ForgeQueueManipulateType manipulate_type = 13; +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateRsp.pb.go b/gate-hk4e-api/proto/ForgeQueueManipulateRsp.pb.go new file mode 100644 index 00000000..38fd399c --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateRsp.pb.go @@ -0,0 +1,220 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeQueueManipulateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 656 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForgeQueueManipulateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ManipulateType ForgeQueueManipulateType `protobuf:"varint,4,opt,name=manipulate_type,json=manipulateType,proto3,enum=ForgeQueueManipulateType" json:"manipulate_type,omitempty"` + ExtraOutputItemList []*ItemParam `protobuf:"bytes,13,rep,name=extra_output_item_list,json=extraOutputItemList,proto3" json:"extra_output_item_list,omitempty"` + ReturnItemList []*ItemParam `protobuf:"bytes,10,rep,name=return_item_list,json=returnItemList,proto3" json:"return_item_list,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + OutputItemList []*ItemParam `protobuf:"bytes,9,rep,name=output_item_list,json=outputItemList,proto3" json:"output_item_list,omitempty"` +} + +func (x *ForgeQueueManipulateRsp) Reset() { + *x = ForgeQueueManipulateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeQueueManipulateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeQueueManipulateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeQueueManipulateRsp) ProtoMessage() {} + +func (x *ForgeQueueManipulateRsp) ProtoReflect() protoreflect.Message { + mi := &file_ForgeQueueManipulateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeQueueManipulateRsp.ProtoReflect.Descriptor instead. +func (*ForgeQueueManipulateRsp) Descriptor() ([]byte, []int) { + return file_ForgeQueueManipulateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeQueueManipulateRsp) GetManipulateType() ForgeQueueManipulateType { + if x != nil { + return x.ManipulateType + } + return ForgeQueueManipulateType_FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT +} + +func (x *ForgeQueueManipulateRsp) GetExtraOutputItemList() []*ItemParam { + if x != nil { + return x.ExtraOutputItemList + } + return nil +} + +func (x *ForgeQueueManipulateRsp) GetReturnItemList() []*ItemParam { + if x != nil { + return x.ReturnItemList + } + return nil +} + +func (x *ForgeQueueManipulateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ForgeQueueManipulateRsp) GetOutputItemList() []*ItemParam { + if x != nil { + return x.OutputItemList + } + return nil +} + +var File_ForgeQueueManipulateRsp_proto protoreflect.FileDescriptor + +var file_ForgeQueueManipulateRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, + 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x70, + 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xa4, 0x02, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, + 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, + 0x6d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x3f, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x13, 0x65, 0x78, + 0x74, 0x72, 0x61, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x34, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeQueueManipulateRsp_proto_rawDescOnce sync.Once + file_ForgeQueueManipulateRsp_proto_rawDescData = file_ForgeQueueManipulateRsp_proto_rawDesc +) + +func file_ForgeQueueManipulateRsp_proto_rawDescGZIP() []byte { + file_ForgeQueueManipulateRsp_proto_rawDescOnce.Do(func() { + file_ForgeQueueManipulateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeQueueManipulateRsp_proto_rawDescData) + }) + return file_ForgeQueueManipulateRsp_proto_rawDescData +} + +var file_ForgeQueueManipulateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeQueueManipulateRsp_proto_goTypes = []interface{}{ + (*ForgeQueueManipulateRsp)(nil), // 0: ForgeQueueManipulateRsp + (ForgeQueueManipulateType)(0), // 1: ForgeQueueManipulateType + (*ItemParam)(nil), // 2: ItemParam +} +var file_ForgeQueueManipulateRsp_proto_depIdxs = []int32{ + 1, // 0: ForgeQueueManipulateRsp.manipulate_type:type_name -> ForgeQueueManipulateType + 2, // 1: ForgeQueueManipulateRsp.extra_output_item_list:type_name -> ItemParam + 2, // 2: ForgeQueueManipulateRsp.return_item_list:type_name -> ItemParam + 2, // 3: ForgeQueueManipulateRsp.output_item_list:type_name -> ItemParam + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_ForgeQueueManipulateRsp_proto_init() } +func file_ForgeQueueManipulateRsp_proto_init() { + if File_ForgeQueueManipulateRsp_proto != nil { + return + } + file_ForgeQueueManipulateType_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ForgeQueueManipulateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeQueueManipulateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeQueueManipulateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeQueueManipulateRsp_proto_goTypes, + DependencyIndexes: file_ForgeQueueManipulateRsp_proto_depIdxs, + MessageInfos: file_ForgeQueueManipulateRsp_proto_msgTypes, + }.Build() + File_ForgeQueueManipulateRsp_proto = out.File + file_ForgeQueueManipulateRsp_proto_rawDesc = nil + file_ForgeQueueManipulateRsp_proto_goTypes = nil + file_ForgeQueueManipulateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateRsp.proto b/gate-hk4e-api/proto/ForgeQueueManipulateRsp.proto new file mode 100644 index 00000000..0fd496ba --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForgeQueueManipulateType.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 656 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForgeQueueManipulateRsp { + ForgeQueueManipulateType manipulate_type = 4; + repeated ItemParam extra_output_item_list = 13; + repeated ItemParam return_item_list = 10; + int32 retcode = 1; + repeated ItemParam output_item_list = 9; +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateType.pb.go b/gate-hk4e-api/proto/ForgeQueueManipulateType.pb.go new file mode 100644 index 00000000..6e08957d --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateType.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeQueueManipulateType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ForgeQueueManipulateType int32 + +const ( + ForgeQueueManipulateType_FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT ForgeQueueManipulateType = 0 + ForgeQueueManipulateType_FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE ForgeQueueManipulateType = 1 +) + +// Enum value maps for ForgeQueueManipulateType. +var ( + ForgeQueueManipulateType_name = map[int32]string{ + 0: "FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT", + 1: "FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE", + } + ForgeQueueManipulateType_value = map[string]int32{ + "FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT": 0, + "FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE": 1, + } +) + +func (x ForgeQueueManipulateType) Enum() *ForgeQueueManipulateType { + p := new(ForgeQueueManipulateType) + *p = x + return p +} + +func (x ForgeQueueManipulateType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ForgeQueueManipulateType) Descriptor() protoreflect.EnumDescriptor { + return file_ForgeQueueManipulateType_proto_enumTypes[0].Descriptor() +} + +func (ForgeQueueManipulateType) Type() protoreflect.EnumType { + return &file_ForgeQueueManipulateType_proto_enumTypes[0] +} + +func (x ForgeQueueManipulateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ForgeQueueManipulateType.Descriptor instead. +func (ForgeQueueManipulateType) EnumDescriptor() ([]byte, []int) { + return file_ForgeQueueManipulateType_proto_rawDescGZIP(), []int{0} +} + +var File_ForgeQueueManipulateType_proto protoreflect.FileDescriptor + +var file_ForgeQueueManipulateType_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, 0x6e, 0x69, + 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2a, 0x76, 0x0a, 0x18, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4d, 0x61, + 0x6e, 0x69, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x2a, + 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x49, + 0x50, 0x55, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x45, + 0x49, 0x56, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x00, 0x12, 0x2a, 0x0a, 0x26, + 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x49, + 0x50, 0x55, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x50, + 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeQueueManipulateType_proto_rawDescOnce sync.Once + file_ForgeQueueManipulateType_proto_rawDescData = file_ForgeQueueManipulateType_proto_rawDesc +) + +func file_ForgeQueueManipulateType_proto_rawDescGZIP() []byte { + file_ForgeQueueManipulateType_proto_rawDescOnce.Do(func() { + file_ForgeQueueManipulateType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeQueueManipulateType_proto_rawDescData) + }) + return file_ForgeQueueManipulateType_proto_rawDescData +} + +var file_ForgeQueueManipulateType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ForgeQueueManipulateType_proto_goTypes = []interface{}{ + (ForgeQueueManipulateType)(0), // 0: ForgeQueueManipulateType +} +var file_ForgeQueueManipulateType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeQueueManipulateType_proto_init() } +func file_ForgeQueueManipulateType_proto_init() { + if File_ForgeQueueManipulateType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeQueueManipulateType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeQueueManipulateType_proto_goTypes, + DependencyIndexes: file_ForgeQueueManipulateType_proto_depIdxs, + EnumInfos: file_ForgeQueueManipulateType_proto_enumTypes, + }.Build() + File_ForgeQueueManipulateType_proto = out.File + file_ForgeQueueManipulateType_proto_rawDesc = nil + file_ForgeQueueManipulateType_proto_goTypes = nil + file_ForgeQueueManipulateType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeQueueManipulateType.proto b/gate-hk4e-api/proto/ForgeQueueManipulateType.proto new file mode 100644 index 00000000..71bbffba --- /dev/null +++ b/gate-hk4e-api/proto/ForgeQueueManipulateType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ForgeQueueManipulateType { + FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT = 0; + FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE = 1; +} diff --git a/gate-hk4e-api/proto/ForgeStartReq.pb.go b/gate-hk4e-api/proto/ForgeStartReq.pb.go new file mode 100644 index 00000000..f490c00e --- /dev/null +++ b/gate-hk4e-api/proto/ForgeStartReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 649 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ForgeStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,7,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + ForgeId uint32 `protobuf:"varint,4,opt,name=forge_id,json=forgeId,proto3" json:"forge_id,omitempty"` + ForgeCount uint32 `protobuf:"varint,6,opt,name=forge_count,json=forgeCount,proto3" json:"forge_count,omitempty"` +} + +func (x *ForgeStartReq) Reset() { + *x = ForgeStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeStartReq) ProtoMessage() {} + +func (x *ForgeStartReq) ProtoReflect() protoreflect.Message { + mi := &file_ForgeStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeStartReq.ProtoReflect.Descriptor instead. +func (*ForgeStartReq) Descriptor() ([]byte, []int) { + return file_ForgeStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeStartReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *ForgeStartReq) GetForgeId() uint32 { + if x != nil { + return x.ForgeId + } + return 0 +} + +func (x *ForgeStartReq) GetForgeCount() uint32 { + if x != nil { + return x.ForgeCount + } + return 0 +} + +var File_ForgeStartReq_proto protoreflect.FileDescriptor + +var file_ForgeStartReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeStartReq_proto_rawDescOnce sync.Once + file_ForgeStartReq_proto_rawDescData = file_ForgeStartReq_proto_rawDesc +) + +func file_ForgeStartReq_proto_rawDescGZIP() []byte { + file_ForgeStartReq_proto_rawDescOnce.Do(func() { + file_ForgeStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeStartReq_proto_rawDescData) + }) + return file_ForgeStartReq_proto_rawDescData +} + +var file_ForgeStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeStartReq_proto_goTypes = []interface{}{ + (*ForgeStartReq)(nil), // 0: ForgeStartReq +} +var file_ForgeStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeStartReq_proto_init() } +func file_ForgeStartReq_proto_init() { + if File_ForgeStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForgeStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeStartReq_proto_goTypes, + DependencyIndexes: file_ForgeStartReq_proto_depIdxs, + MessageInfos: file_ForgeStartReq_proto_msgTypes, + }.Build() + File_ForgeStartReq_proto = out.File + file_ForgeStartReq_proto_rawDesc = nil + file_ForgeStartReq_proto_goTypes = nil + file_ForgeStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeStartReq.proto b/gate-hk4e-api/proto/ForgeStartReq.proto new file mode 100644 index 00000000..38f0b631 --- /dev/null +++ b/gate-hk4e-api/proto/ForgeStartReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 649 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ForgeStartReq { + uint32 avatar_id = 7; + uint32 forge_id = 4; + uint32 forge_count = 6; +} diff --git a/gate-hk4e-api/proto/ForgeStartRsp.pb.go b/gate-hk4e-api/proto/ForgeStartRsp.pb.go new file mode 100644 index 00000000..d68e093b --- /dev/null +++ b/gate-hk4e-api/proto/ForgeStartRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForgeStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 691 +// EnetChannelId: 0 +// EnetIsReliable: true +type ForgeStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ForgeStartRsp) Reset() { + *x = ForgeStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ForgeStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForgeStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForgeStartRsp) ProtoMessage() {} + +func (x *ForgeStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_ForgeStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForgeStartRsp.ProtoReflect.Descriptor instead. +func (*ForgeStartRsp) Descriptor() ([]byte, []int) { + return file_ForgeStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ForgeStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ForgeStartRsp_proto protoreflect.FileDescriptor + +var file_ForgeStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ForgeStartRsp_proto_rawDescOnce sync.Once + file_ForgeStartRsp_proto_rawDescData = file_ForgeStartRsp_proto_rawDesc +) + +func file_ForgeStartRsp_proto_rawDescGZIP() []byte { + file_ForgeStartRsp_proto_rawDescOnce.Do(func() { + file_ForgeStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForgeStartRsp_proto_rawDescData) + }) + return file_ForgeStartRsp_proto_rawDescData +} + +var file_ForgeStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ForgeStartRsp_proto_goTypes = []interface{}{ + (*ForgeStartRsp)(nil), // 0: ForgeStartRsp +} +var file_ForgeStartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForgeStartRsp_proto_init() } +func file_ForgeStartRsp_proto_init() { + if File_ForgeStartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ForgeStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForgeStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForgeStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForgeStartRsp_proto_goTypes, + DependencyIndexes: file_ForgeStartRsp_proto_depIdxs, + MessageInfos: file_ForgeStartRsp_proto_msgTypes, + }.Build() + File_ForgeStartRsp_proto = out.File + file_ForgeStartRsp_proto_rawDesc = nil + file_ForgeStartRsp_proto_goTypes = nil + file_ForgeStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForgeStartRsp.proto b/gate-hk4e-api/proto/ForgeStartRsp.proto new file mode 100644 index 00000000..39d057aa --- /dev/null +++ b/gate-hk4e-api/proto/ForgeStartRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 691 +// EnetChannelId: 0 +// EnetIsReliable: true +message ForgeStartRsp { + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/ForwardType.pb.go b/gate-hk4e-api/proto/ForwardType.pb.go new file mode 100644 index 00000000..e61e1780 --- /dev/null +++ b/gate-hk4e-api/proto/ForwardType.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ForwardType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ForwardType int32 + +const ( + ForwardType_FORWARD_TYPE_LOCAL ForwardType = 0 + ForwardType_FORWARD_TYPE_TO_ALL ForwardType = 1 + ForwardType_FORWARD_TYPE_TO_ALL_EXCEPT_CUR ForwardType = 2 + ForwardType_FORWARD_TYPE_TO_HOST ForwardType = 3 + ForwardType_FORWARD_TYPE_TO_ALL_GUEST ForwardType = 4 + ForwardType_FORWARD_TYPE_TO_PEER ForwardType = 5 + ForwardType_FORWARD_TYPE_TO_PEERS ForwardType = 6 + ForwardType_FORWARD_TYPE_ONLY_SERVER ForwardType = 7 + ForwardType_FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR ForwardType = 8 +) + +// Enum value maps for ForwardType. +var ( + ForwardType_name = map[int32]string{ + 0: "FORWARD_TYPE_LOCAL", + 1: "FORWARD_TYPE_TO_ALL", + 2: "FORWARD_TYPE_TO_ALL_EXCEPT_CUR", + 3: "FORWARD_TYPE_TO_HOST", + 4: "FORWARD_TYPE_TO_ALL_GUEST", + 5: "FORWARD_TYPE_TO_PEER", + 6: "FORWARD_TYPE_TO_PEERS", + 7: "FORWARD_TYPE_ONLY_SERVER", + 8: "FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR", + } + ForwardType_value = map[string]int32{ + "FORWARD_TYPE_LOCAL": 0, + "FORWARD_TYPE_TO_ALL": 1, + "FORWARD_TYPE_TO_ALL_EXCEPT_CUR": 2, + "FORWARD_TYPE_TO_HOST": 3, + "FORWARD_TYPE_TO_ALL_GUEST": 4, + "FORWARD_TYPE_TO_PEER": 5, + "FORWARD_TYPE_TO_PEERS": 6, + "FORWARD_TYPE_ONLY_SERVER": 7, + "FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR": 8, + } +) + +func (x ForwardType) Enum() *ForwardType { + p := new(ForwardType) + *p = x + return p +} + +func (x ForwardType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ForwardType) Descriptor() protoreflect.EnumDescriptor { + return file_ForwardType_proto_enumTypes[0].Descriptor() +} + +func (ForwardType) Type() protoreflect.EnumType { + return &file_ForwardType_proto_enumTypes[0] +} + +func (x ForwardType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ForwardType.Descriptor instead. +func (ForwardType) EnumDescriptor() ([]byte, []int) { + return file_ForwardType_proto_rawDescGZIP(), []int{0} +} + +var File_ForwardType_proto protoreflect.FileDescriptor + +var file_ForwardType_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2a, 0x98, 0x02, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x46, + 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x41, + 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x50, 0x54, 0x5f, 0x43, 0x55, 0x52, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x4f, 0x52, 0x57, + 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x48, 0x4f, 0x53, 0x54, + 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x10, + 0x04, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x46, + 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x50, + 0x45, 0x45, 0x52, 0x53, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, + 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x53, 0x45, 0x52, 0x56, + 0x45, 0x52, 0x10, 0x07, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x45, 0x58, 0x49, 0x53, + 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x43, 0x55, 0x52, 0x10, 0x08, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ForwardType_proto_rawDescOnce sync.Once + file_ForwardType_proto_rawDescData = file_ForwardType_proto_rawDesc +) + +func file_ForwardType_proto_rawDescGZIP() []byte { + file_ForwardType_proto_rawDescOnce.Do(func() { + file_ForwardType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ForwardType_proto_rawDescData) + }) + return file_ForwardType_proto_rawDescData +} + +var file_ForwardType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ForwardType_proto_goTypes = []interface{}{ + (ForwardType)(0), // 0: ForwardType +} +var file_ForwardType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ForwardType_proto_init() } +func file_ForwardType_proto_init() { + if File_ForwardType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ForwardType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ForwardType_proto_goTypes, + DependencyIndexes: file_ForwardType_proto_depIdxs, + EnumInfos: file_ForwardType_proto_enumTypes, + }.Build() + File_ForwardType_proto = out.File + file_ForwardType_proto_rawDesc = nil + file_ForwardType_proto_goTypes = nil + file_ForwardType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ForwardType.proto b/gate-hk4e-api/proto/ForwardType.proto new file mode 100644 index 00000000..67cd42a2 --- /dev/null +++ b/gate-hk4e-api/proto/ForwardType.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ForwardType { + FORWARD_TYPE_LOCAL = 0; + FORWARD_TYPE_TO_ALL = 1; + FORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2; + FORWARD_TYPE_TO_HOST = 3; + FORWARD_TYPE_TO_ALL_GUEST = 4; + FORWARD_TYPE_TO_PEER = 5; + FORWARD_TYPE_TO_PEERS = 6; + FORWARD_TYPE_ONLY_SERVER = 7; + FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8; +} diff --git a/gate-hk4e-api/proto/FoundationInfo.pb.go b/gate-hk4e-api/proto/FoundationInfo.pb.go new file mode 100644 index 00000000..086d8294 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FoundationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status FoundationStatus `protobuf:"varint,1,opt,name=status,proto3,enum=FoundationStatus" json:"status,omitempty"` + UidList []uint32 `protobuf:"varint,2,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` + CurrentBuildingId uint32 `protobuf:"varint,3,opt,name=current_building_id,json=currentBuildingId,proto3" json:"current_building_id,omitempty"` + BeginBuildTimeMs uint32 `protobuf:"varint,4,opt,name=begin_build_time_ms,json=beginBuildTimeMs,proto3" json:"begin_build_time_ms,omitempty"` +} + +func (x *FoundationInfo) Reset() { + *x = FoundationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FoundationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FoundationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FoundationInfo) ProtoMessage() {} + +func (x *FoundationInfo) ProtoReflect() protoreflect.Message { + mi := &file_FoundationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FoundationInfo.ProtoReflect.Descriptor instead. +func (*FoundationInfo) Descriptor() ([]byte, []int) { + return file_FoundationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FoundationInfo) GetStatus() FoundationStatus { + if x != nil { + return x.Status + } + return FoundationStatus_FOUNDATION_STATUS_NONE +} + +func (x *FoundationInfo) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +func (x *FoundationInfo) GetCurrentBuildingId() uint32 { + if x != nil { + return x.CurrentBuildingId + } + return 0 +} + +func (x *FoundationInfo) GetBeginBuildTimeMs() uint32 { + if x != nil { + return x.BeginBuildTimeMs + } + return 0 +} + +var File_FoundationInfo_proto protoreflect.FileDescriptor + +var file_FoundationInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, + 0x01, 0x0a, 0x0e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x29, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x11, 0x2e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, + 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, + 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x75, 0x69, 0x6c, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FoundationInfo_proto_rawDescOnce sync.Once + file_FoundationInfo_proto_rawDescData = file_FoundationInfo_proto_rawDesc +) + +func file_FoundationInfo_proto_rawDescGZIP() []byte { + file_FoundationInfo_proto_rawDescOnce.Do(func() { + file_FoundationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationInfo_proto_rawDescData) + }) + return file_FoundationInfo_proto_rawDescData +} + +var file_FoundationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FoundationInfo_proto_goTypes = []interface{}{ + (*FoundationInfo)(nil), // 0: FoundationInfo + (FoundationStatus)(0), // 1: FoundationStatus +} +var file_FoundationInfo_proto_depIdxs = []int32{ + 1, // 0: FoundationInfo.status:type_name -> FoundationStatus + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FoundationInfo_proto_init() } +func file_FoundationInfo_proto_init() { + if File_FoundationInfo_proto != nil { + return + } + file_FoundationStatus_proto_init() + if !protoimpl.UnsafeEnabled { + file_FoundationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FoundationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationInfo_proto_goTypes, + DependencyIndexes: file_FoundationInfo_proto_depIdxs, + MessageInfos: file_FoundationInfo_proto_msgTypes, + }.Build() + File_FoundationInfo_proto = out.File + file_FoundationInfo_proto_rawDesc = nil + file_FoundationInfo_proto_goTypes = nil + file_FoundationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationInfo.proto b/gate-hk4e-api/proto/FoundationInfo.proto new file mode 100644 index 00000000..adcff0e4 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FoundationStatus.proto"; + +option go_package = "./;proto"; + +message FoundationInfo { + FoundationStatus status = 1; + repeated uint32 uid_list = 2; + uint32 current_building_id = 3; + uint32 begin_build_time_ms = 4; +} diff --git a/gate-hk4e-api/proto/FoundationNotify.pb.go b/gate-hk4e-api/proto/FoundationNotify.pb.go new file mode 100644 index 00000000..a7aca9ba --- /dev/null +++ b/gate-hk4e-api/proto/FoundationNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 847 +// EnetChannelId: 0 +// EnetIsReliable: true +type FoundationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *FoundationInfo `protobuf:"bytes,7,opt,name=info,proto3" json:"info,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,9,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *FoundationNotify) Reset() { + *x = FoundationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FoundationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FoundationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FoundationNotify) ProtoMessage() {} + +func (x *FoundationNotify) ProtoReflect() protoreflect.Message { + mi := &file_FoundationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FoundationNotify.ProtoReflect.Descriptor instead. +func (*FoundationNotify) Descriptor() ([]byte, []int) { + return file_FoundationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FoundationNotify) GetInfo() *FoundationInfo { + if x != nil { + return x.Info + } + return nil +} + +func (x *FoundationNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_FoundationNotify_proto protoreflect.FileDescriptor + +var file_FoundationNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, + 0x0a, 0x10, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x23, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FoundationNotify_proto_rawDescOnce sync.Once + file_FoundationNotify_proto_rawDescData = file_FoundationNotify_proto_rawDesc +) + +func file_FoundationNotify_proto_rawDescGZIP() []byte { + file_FoundationNotify_proto_rawDescOnce.Do(func() { + file_FoundationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationNotify_proto_rawDescData) + }) + return file_FoundationNotify_proto_rawDescData +} + +var file_FoundationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FoundationNotify_proto_goTypes = []interface{}{ + (*FoundationNotify)(nil), // 0: FoundationNotify + (*FoundationInfo)(nil), // 1: FoundationInfo +} +var file_FoundationNotify_proto_depIdxs = []int32{ + 1, // 0: FoundationNotify.info:type_name -> FoundationInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FoundationNotify_proto_init() } +func file_FoundationNotify_proto_init() { + if File_FoundationNotify_proto != nil { + return + } + file_FoundationInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FoundationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FoundationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationNotify_proto_goTypes, + DependencyIndexes: file_FoundationNotify_proto_depIdxs, + MessageInfos: file_FoundationNotify_proto_msgTypes, + }.Build() + File_FoundationNotify_proto = out.File + file_FoundationNotify_proto_rawDesc = nil + file_FoundationNotify_proto_goTypes = nil + file_FoundationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationNotify.proto b/gate-hk4e-api/proto/FoundationNotify.proto new file mode 100644 index 00000000..26ae3281 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FoundationInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 847 +// EnetChannelId: 0 +// EnetIsReliable: true +message FoundationNotify { + FoundationInfo info = 7; + uint32 gadget_entity_id = 9; +} diff --git a/gate-hk4e-api/proto/FoundationOpType.pb.go b/gate-hk4e-api/proto/FoundationOpType.pb.go new file mode 100644 index 00000000..f77ee4bf --- /dev/null +++ b/gate-hk4e-api/proto/FoundationOpType.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationOpType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FoundationOpType int32 + +const ( + FoundationOpType_FOUNDATION_OP_TYPE_NONE FoundationOpType = 0 + FoundationOpType_FOUNDATION_OP_TYPE_BUILD FoundationOpType = 1 + FoundationOpType_FOUNDATION_OP_TYPE_DEMOLITION FoundationOpType = 2 + FoundationOpType_FOUNDATION_OP_TYPE_REBUILD FoundationOpType = 3 + FoundationOpType_FOUNDATION_OP_TYPE_ROTATE FoundationOpType = 4 + FoundationOpType_FOUNDATION_OP_TYPE_LOCK FoundationOpType = 5 + FoundationOpType_FOUNDATION_OP_TYPE_UNLOCK FoundationOpType = 6 +) + +// Enum value maps for FoundationOpType. +var ( + FoundationOpType_name = map[int32]string{ + 0: "FOUNDATION_OP_TYPE_NONE", + 1: "FOUNDATION_OP_TYPE_BUILD", + 2: "FOUNDATION_OP_TYPE_DEMOLITION", + 3: "FOUNDATION_OP_TYPE_REBUILD", + 4: "FOUNDATION_OP_TYPE_ROTATE", + 5: "FOUNDATION_OP_TYPE_LOCK", + 6: "FOUNDATION_OP_TYPE_UNLOCK", + } + FoundationOpType_value = map[string]int32{ + "FOUNDATION_OP_TYPE_NONE": 0, + "FOUNDATION_OP_TYPE_BUILD": 1, + "FOUNDATION_OP_TYPE_DEMOLITION": 2, + "FOUNDATION_OP_TYPE_REBUILD": 3, + "FOUNDATION_OP_TYPE_ROTATE": 4, + "FOUNDATION_OP_TYPE_LOCK": 5, + "FOUNDATION_OP_TYPE_UNLOCK": 6, + } +) + +func (x FoundationOpType) Enum() *FoundationOpType { + p := new(FoundationOpType) + *p = x + return p +} + +func (x FoundationOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FoundationOpType) Descriptor() protoreflect.EnumDescriptor { + return file_FoundationOpType_proto_enumTypes[0].Descriptor() +} + +func (FoundationOpType) Type() protoreflect.EnumType { + return &file_FoundationOpType_proto_enumTypes[0] +} + +func (x FoundationOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FoundationOpType.Descriptor instead. +func (FoundationOpType) EnumDescriptor() ([]byte, []int) { + return file_FoundationOpType_proto_rawDescGZIP(), []int{0} +} + +var File_FoundationOpType_proto protoreflect.FileDescriptor + +var file_FoundationOpType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xeb, 0x01, 0x0a, 0x10, 0x46, 0x6f, 0x75, + 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, + 0x17, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x4f, 0x55, 0x4e, + 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, + 0x45, 0x4d, 0x4f, 0x4c, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x52, 0x45, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x52, 0x4f, 0x54, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x06, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FoundationOpType_proto_rawDescOnce sync.Once + file_FoundationOpType_proto_rawDescData = file_FoundationOpType_proto_rawDesc +) + +func file_FoundationOpType_proto_rawDescGZIP() []byte { + file_FoundationOpType_proto_rawDescOnce.Do(func() { + file_FoundationOpType_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationOpType_proto_rawDescData) + }) + return file_FoundationOpType_proto_rawDescData +} + +var file_FoundationOpType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FoundationOpType_proto_goTypes = []interface{}{ + (FoundationOpType)(0), // 0: FoundationOpType +} +var file_FoundationOpType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FoundationOpType_proto_init() } +func file_FoundationOpType_proto_init() { + if File_FoundationOpType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationOpType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationOpType_proto_goTypes, + DependencyIndexes: file_FoundationOpType_proto_depIdxs, + EnumInfos: file_FoundationOpType_proto_enumTypes, + }.Build() + File_FoundationOpType_proto = out.File + file_FoundationOpType_proto_rawDesc = nil + file_FoundationOpType_proto_goTypes = nil + file_FoundationOpType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationOpType.proto b/gate-hk4e-api/proto/FoundationOpType.proto new file mode 100644 index 00000000..cf86c231 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationOpType.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FoundationOpType { + FOUNDATION_OP_TYPE_NONE = 0; + FOUNDATION_OP_TYPE_BUILD = 1; + FOUNDATION_OP_TYPE_DEMOLITION = 2; + FOUNDATION_OP_TYPE_REBUILD = 3; + FOUNDATION_OP_TYPE_ROTATE = 4; + FOUNDATION_OP_TYPE_LOCK = 5; + FOUNDATION_OP_TYPE_UNLOCK = 6; +} diff --git a/gate-hk4e-api/proto/FoundationReq.pb.go b/gate-hk4e-api/proto/FoundationReq.pb.go new file mode 100644 index 00000000..d9de3ede --- /dev/null +++ b/gate-hk4e-api/proto/FoundationReq.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 805 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FoundationReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,14,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + PointConfigId uint32 `protobuf:"varint,12,opt,name=point_config_id,json=pointConfigId,proto3" json:"point_config_id,omitempty"` + BuildingId uint32 `protobuf:"varint,13,opt,name=building_id,json=buildingId,proto3" json:"building_id,omitempty"` + OpType FoundationOpType `protobuf:"varint,10,opt,name=op_type,json=opType,proto3,enum=FoundationOpType" json:"op_type,omitempty"` +} + +func (x *FoundationReq) Reset() { + *x = FoundationReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FoundationReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FoundationReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FoundationReq) ProtoMessage() {} + +func (x *FoundationReq) ProtoReflect() protoreflect.Message { + mi := &file_FoundationReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FoundationReq.ProtoReflect.Descriptor instead. +func (*FoundationReq) Descriptor() ([]byte, []int) { + return file_FoundationReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FoundationReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *FoundationReq) GetPointConfigId() uint32 { + if x != nil { + return x.PointConfigId + } + return 0 +} + +func (x *FoundationReq) GetBuildingId() uint32 { + if x != nil { + return x.BuildingId + } + return 0 +} + +func (x *FoundationReq) GetOpType() FoundationOpType { + if x != nil { + return x.OpType + } + return FoundationOpType_FOUNDATION_OP_TYPE_NONE +} + +var File_FoundationReq_proto protoreflect.FileDescriptor + +var file_FoundationReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, + 0x0a, 0x0d, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, + 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FoundationReq_proto_rawDescOnce sync.Once + file_FoundationReq_proto_rawDescData = file_FoundationReq_proto_rawDesc +) + +func file_FoundationReq_proto_rawDescGZIP() []byte { + file_FoundationReq_proto_rawDescOnce.Do(func() { + file_FoundationReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationReq_proto_rawDescData) + }) + return file_FoundationReq_proto_rawDescData +} + +var file_FoundationReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FoundationReq_proto_goTypes = []interface{}{ + (*FoundationReq)(nil), // 0: FoundationReq + (FoundationOpType)(0), // 1: FoundationOpType +} +var file_FoundationReq_proto_depIdxs = []int32{ + 1, // 0: FoundationReq.op_type:type_name -> FoundationOpType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FoundationReq_proto_init() } +func file_FoundationReq_proto_init() { + if File_FoundationReq_proto != nil { + return + } + file_FoundationOpType_proto_init() + if !protoimpl.UnsafeEnabled { + file_FoundationReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FoundationReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationReq_proto_goTypes, + DependencyIndexes: file_FoundationReq_proto_depIdxs, + MessageInfos: file_FoundationReq_proto_msgTypes, + }.Build() + File_FoundationReq_proto = out.File + file_FoundationReq_proto_rawDesc = nil + file_FoundationReq_proto_goTypes = nil + file_FoundationReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationReq.proto b/gate-hk4e-api/proto/FoundationReq.proto new file mode 100644 index 00000000..15d674e2 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FoundationOpType.proto"; + +option go_package = "./;proto"; + +// CmdId: 805 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FoundationReq { + uint32 gadget_entity_id = 14; + uint32 point_config_id = 12; + uint32 building_id = 13; + FoundationOpType op_type = 10; +} diff --git a/gate-hk4e-api/proto/FoundationRsp.pb.go b/gate-hk4e-api/proto/FoundationRsp.pb.go new file mode 100644 index 00000000..3a879b87 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationRsp.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 882 +// EnetChannelId: 0 +// EnetIsReliable: true +type FoundationRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpType FoundationOpType `protobuf:"varint,13,opt,name=op_type,json=opType,proto3,enum=FoundationOpType" json:"op_type,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,10,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + BuildingId uint32 `protobuf:"varint,11,opt,name=building_id,json=buildingId,proto3" json:"building_id,omitempty"` + PointConfigId uint32 `protobuf:"varint,12,opt,name=point_config_id,json=pointConfigId,proto3" json:"point_config_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FoundationRsp) Reset() { + *x = FoundationRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FoundationRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FoundationRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FoundationRsp) ProtoMessage() {} + +func (x *FoundationRsp) ProtoReflect() protoreflect.Message { + mi := &file_FoundationRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FoundationRsp.ProtoReflect.Descriptor instead. +func (*FoundationRsp) Descriptor() ([]byte, []int) { + return file_FoundationRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FoundationRsp) GetOpType() FoundationOpType { + if x != nil { + return x.OpType + } + return FoundationOpType_FOUNDATION_OP_TYPE_NONE +} + +func (x *FoundationRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *FoundationRsp) GetBuildingId() uint32 { + if x != nil { + return x.BuildingId + } + return 0 +} + +func (x *FoundationRsp) GetPointConfigId() uint32 { + if x != nil { + return x.PointConfigId + } + return 0 +} + +func (x *FoundationRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FoundationRsp_proto protoreflect.FileDescriptor + +var file_FoundationRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x01, + 0x0a, 0x0d, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, + 0x2a, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x11, 0x2e, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FoundationRsp_proto_rawDescOnce sync.Once + file_FoundationRsp_proto_rawDescData = file_FoundationRsp_proto_rawDesc +) + +func file_FoundationRsp_proto_rawDescGZIP() []byte { + file_FoundationRsp_proto_rawDescOnce.Do(func() { + file_FoundationRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationRsp_proto_rawDescData) + }) + return file_FoundationRsp_proto_rawDescData +} + +var file_FoundationRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FoundationRsp_proto_goTypes = []interface{}{ + (*FoundationRsp)(nil), // 0: FoundationRsp + (FoundationOpType)(0), // 1: FoundationOpType +} +var file_FoundationRsp_proto_depIdxs = []int32{ + 1, // 0: FoundationRsp.op_type:type_name -> FoundationOpType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FoundationRsp_proto_init() } +func file_FoundationRsp_proto_init() { + if File_FoundationRsp_proto != nil { + return + } + file_FoundationOpType_proto_init() + if !protoimpl.UnsafeEnabled { + file_FoundationRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FoundationRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationRsp_proto_goTypes, + DependencyIndexes: file_FoundationRsp_proto_depIdxs, + MessageInfos: file_FoundationRsp_proto_msgTypes, + }.Build() + File_FoundationRsp_proto = out.File + file_FoundationRsp_proto_rawDesc = nil + file_FoundationRsp_proto_goTypes = nil + file_FoundationRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationRsp.proto b/gate-hk4e-api/proto/FoundationRsp.proto new file mode 100644 index 00000000..33227d93 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FoundationOpType.proto"; + +option go_package = "./;proto"; + +// CmdId: 882 +// EnetChannelId: 0 +// EnetIsReliable: true +message FoundationRsp { + FoundationOpType op_type = 13; + uint32 gadget_entity_id = 10; + uint32 building_id = 11; + uint32 point_config_id = 12; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/FoundationStatus.pb.go b/gate-hk4e-api/proto/FoundationStatus.pb.go new file mode 100644 index 00000000..cef6e862 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationStatus.pb.go @@ -0,0 +1,155 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FoundationStatus.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FoundationStatus int32 + +const ( + FoundationStatus_FOUNDATION_STATUS_NONE FoundationStatus = 0 + FoundationStatus_FOUNDATION_STATUS_INIT FoundationStatus = 1 + FoundationStatus_FOUNDATION_STATUS_BUILDING FoundationStatus = 2 + FoundationStatus_FOUNDATION_STATUS_BUILT FoundationStatus = 3 +) + +// Enum value maps for FoundationStatus. +var ( + FoundationStatus_name = map[int32]string{ + 0: "FOUNDATION_STATUS_NONE", + 1: "FOUNDATION_STATUS_INIT", + 2: "FOUNDATION_STATUS_BUILDING", + 3: "FOUNDATION_STATUS_BUILT", + } + FoundationStatus_value = map[string]int32{ + "FOUNDATION_STATUS_NONE": 0, + "FOUNDATION_STATUS_INIT": 1, + "FOUNDATION_STATUS_BUILDING": 2, + "FOUNDATION_STATUS_BUILT": 3, + } +) + +func (x FoundationStatus) Enum() *FoundationStatus { + p := new(FoundationStatus) + *p = x + return p +} + +func (x FoundationStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FoundationStatus) Descriptor() protoreflect.EnumDescriptor { + return file_FoundationStatus_proto_enumTypes[0].Descriptor() +} + +func (FoundationStatus) Type() protoreflect.EnumType { + return &file_FoundationStatus_proto_enumTypes[0] +} + +func (x FoundationStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FoundationStatus.Descriptor instead. +func (FoundationStatus) EnumDescriptor() ([]byte, []int) { + return file_FoundationStatus_proto_rawDescGZIP(), []int{0} +} + +var File_FoundationStatus_proto protoreflect.FileDescriptor + +var file_FoundationStatus_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x87, 0x01, 0x0a, 0x10, 0x46, 0x6f, 0x75, + 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, + 0x16, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, + 0x4e, 0x49, 0x54, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, + 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x54, + 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FoundationStatus_proto_rawDescOnce sync.Once + file_FoundationStatus_proto_rawDescData = file_FoundationStatus_proto_rawDesc +) + +func file_FoundationStatus_proto_rawDescGZIP() []byte { + file_FoundationStatus_proto_rawDescOnce.Do(func() { + file_FoundationStatus_proto_rawDescData = protoimpl.X.CompressGZIP(file_FoundationStatus_proto_rawDescData) + }) + return file_FoundationStatus_proto_rawDescData +} + +var file_FoundationStatus_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FoundationStatus_proto_goTypes = []interface{}{ + (FoundationStatus)(0), // 0: FoundationStatus +} +var file_FoundationStatus_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FoundationStatus_proto_init() } +func file_FoundationStatus_proto_init() { + if File_FoundationStatus_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FoundationStatus_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FoundationStatus_proto_goTypes, + DependencyIndexes: file_FoundationStatus_proto_depIdxs, + EnumInfos: file_FoundationStatus_proto_enumTypes, + }.Build() + File_FoundationStatus_proto = out.File + file_FoundationStatus_proto_rawDesc = nil + file_FoundationStatus_proto_goTypes = nil + file_FoundationStatus_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FoundationStatus.proto b/gate-hk4e-api/proto/FoundationStatus.proto new file mode 100644 index 00000000..3869d136 --- /dev/null +++ b/gate-hk4e-api/proto/FoundationStatus.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FoundationStatus { + FOUNDATION_STATUS_NONE = 0; + FOUNDATION_STATUS_INIT = 1; + FOUNDATION_STATUS_BUILDING = 2; + FOUNDATION_STATUS_BUILT = 3; +} diff --git a/gate-hk4e-api/proto/FriendBrief.pb.go b/gate-hk4e-api/proto/FriendBrief.pb.go new file mode 100644 index 00000000..2daecf13 --- /dev/null +++ b/gate-hk4e-api/proto/FriendBrief.pb.go @@ -0,0 +1,402 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FriendBrief.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FriendBrief struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` + Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` + AvatarId uint32 `protobuf:"varint,4,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + WorldLevel uint32 `protobuf:"varint,5,opt,name=world_level,json=worldLevel,proto3" json:"world_level,omitempty"` + Signature string `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"` + OnlineState FriendOnlineState `protobuf:"varint,7,opt,name=online_state,json=onlineState,proto3,enum=FriendOnlineState" json:"online_state,omitempty"` + Param uint32 `protobuf:"varint,8,opt,name=param,proto3" json:"param,omitempty"` + IsMpModeAvailable bool `protobuf:"varint,10,opt,name=is_mp_mode_available,json=isMpModeAvailable,proto3" json:"is_mp_mode_available,omitempty"` + OnlineId string `protobuf:"bytes,11,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + LastActiveTime uint32 `protobuf:"varint,12,opt,name=last_active_time,json=lastActiveTime,proto3" json:"last_active_time,omitempty"` + NameCardId uint32 `protobuf:"varint,13,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` + MpPlayerNum uint32 `protobuf:"varint,14,opt,name=mp_player_num,json=mpPlayerNum,proto3" json:"mp_player_num,omitempty"` + IsChatNoDisturb bool `protobuf:"varint,15,opt,name=is_chat_no_disturb,json=isChatNoDisturb,proto3" json:"is_chat_no_disturb,omitempty"` + ChatSequence uint32 `protobuf:"varint,16,opt,name=chat_sequence,json=chatSequence,proto3" json:"chat_sequence,omitempty"` + RemarkName string `protobuf:"bytes,17,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + ShowAvatarInfoList []*SocialShowAvatarInfo `protobuf:"bytes,22,rep,name=show_avatar_info_list,json=showAvatarInfoList,proto3" json:"show_avatar_info_list,omitempty"` + FriendEnterHomeOption FriendEnterHomeOption `protobuf:"varint,23,opt,name=friend_enter_home_option,json=friendEnterHomeOption,proto3,enum=FriendEnterHomeOption" json:"friend_enter_home_option,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,24,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + IsGameSource bool `protobuf:"varint,25,opt,name=is_game_source,json=isGameSource,proto3" json:"is_game_source,omitempty"` + IsPsnSource bool `protobuf:"varint,26,opt,name=is_psn_source,json=isPsnSource,proto3" json:"is_psn_source,omitempty"` + PlatformType PlatformType `protobuf:"varint,27,opt,name=platform_type,json=platformType,proto3,enum=PlatformType" json:"platform_type,omitempty"` +} + +func (x *FriendBrief) Reset() { + *x = FriendBrief{} + if protoimpl.UnsafeEnabled { + mi := &file_FriendBrief_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FriendBrief) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FriendBrief) ProtoMessage() {} + +func (x *FriendBrief) ProtoReflect() protoreflect.Message { + mi := &file_FriendBrief_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FriendBrief.ProtoReflect.Descriptor instead. +func (*FriendBrief) Descriptor() ([]byte, []int) { + return file_FriendBrief_proto_rawDescGZIP(), []int{0} +} + +func (x *FriendBrief) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FriendBrief) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *FriendBrief) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *FriendBrief) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *FriendBrief) GetWorldLevel() uint32 { + if x != nil { + return x.WorldLevel + } + return 0 +} + +func (x *FriendBrief) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *FriendBrief) GetOnlineState() FriendOnlineState { + if x != nil { + return x.OnlineState + } + return FriendOnlineState_FRIEND_ONLINE_STATE_FREIEND_DISCONNECT +} + +func (x *FriendBrief) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *FriendBrief) GetIsMpModeAvailable() bool { + if x != nil { + return x.IsMpModeAvailable + } + return false +} + +func (x *FriendBrief) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *FriendBrief) GetLastActiveTime() uint32 { + if x != nil { + return x.LastActiveTime + } + return 0 +} + +func (x *FriendBrief) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +func (x *FriendBrief) GetMpPlayerNum() uint32 { + if x != nil { + return x.MpPlayerNum + } + return 0 +} + +func (x *FriendBrief) GetIsChatNoDisturb() bool { + if x != nil { + return x.IsChatNoDisturb + } + return false +} + +func (x *FriendBrief) GetChatSequence() uint32 { + if x != nil { + return x.ChatSequence + } + return 0 +} + +func (x *FriendBrief) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *FriendBrief) GetShowAvatarInfoList() []*SocialShowAvatarInfo { + if x != nil { + return x.ShowAvatarInfoList + } + return nil +} + +func (x *FriendBrief) GetFriendEnterHomeOption() FriendEnterHomeOption { + if x != nil { + return x.FriendEnterHomeOption + } + return FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM +} + +func (x *FriendBrief) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *FriendBrief) GetIsGameSource() bool { + if x != nil { + return x.IsGameSource + } + return false +} + +func (x *FriendBrief) GetIsPsnSource() bool { + if x != nil { + return x.IsPsnSource + } + return false +} + +func (x *FriendBrief) GetPlatformType() PlatformType { + if x != nil { + return x.PlatformType + } + return PlatformType_PLATFORM_TYPE_EDITOR +} + +var File_FriendBrief_proto protoreflect.FileDescriptor + +var file_FriendBrief_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x17, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xfe, 0x06, 0x0a, 0x0b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x35, 0x0a, 0x0c, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2f, 0x0a, 0x14, + 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x4d, 0x70, + 0x4d, 0x6f, 0x64, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, + 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, + 0x70, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x73, + 0x5f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x6e, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x75, 0x72, 0x62, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x68, 0x61, 0x74, 0x4e, 0x6f, + 0x44, 0x69, 0x73, 0x74, 0x75, 0x72, 0x62, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x74, 0x5f, + 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x63, 0x68, 0x61, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, + 0x15, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, + 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x18, 0x66, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x15, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, + 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x47, 0x61, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x70, + 0x73, 0x6e, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x50, 0x73, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x0d, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1b, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FriendBrief_proto_rawDescOnce sync.Once + file_FriendBrief_proto_rawDescData = file_FriendBrief_proto_rawDesc +) + +func file_FriendBrief_proto_rawDescGZIP() []byte { + file_FriendBrief_proto_rawDescOnce.Do(func() { + file_FriendBrief_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendBrief_proto_rawDescData) + }) + return file_FriendBrief_proto_rawDescData +} + +var file_FriendBrief_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FriendBrief_proto_goTypes = []interface{}{ + (*FriendBrief)(nil), // 0: FriendBrief + (FriendOnlineState)(0), // 1: FriendOnlineState + (*SocialShowAvatarInfo)(nil), // 2: SocialShowAvatarInfo + (FriendEnterHomeOption)(0), // 3: FriendEnterHomeOption + (*ProfilePicture)(nil), // 4: ProfilePicture + (PlatformType)(0), // 5: PlatformType +} +var file_FriendBrief_proto_depIdxs = []int32{ + 1, // 0: FriendBrief.online_state:type_name -> FriendOnlineState + 2, // 1: FriendBrief.show_avatar_info_list:type_name -> SocialShowAvatarInfo + 3, // 2: FriendBrief.friend_enter_home_option:type_name -> FriendEnterHomeOption + 4, // 3: FriendBrief.profile_picture:type_name -> ProfilePicture + 5, // 4: FriendBrief.platform_type:type_name -> PlatformType + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_FriendBrief_proto_init() } +func file_FriendBrief_proto_init() { + if File_FriendBrief_proto != nil { + return + } + file_FriendEnterHomeOption_proto_init() + file_FriendOnlineState_proto_init() + file_PlatformType_proto_init() + file_ProfilePicture_proto_init() + file_SocialShowAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FriendBrief_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FriendBrief); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FriendBrief_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FriendBrief_proto_goTypes, + DependencyIndexes: file_FriendBrief_proto_depIdxs, + MessageInfos: file_FriendBrief_proto_msgTypes, + }.Build() + File_FriendBrief_proto = out.File + file_FriendBrief_proto_rawDesc = nil + file_FriendBrief_proto_goTypes = nil + file_FriendBrief_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FriendBrief.proto b/gate-hk4e-api/proto/FriendBrief.proto new file mode 100644 index 00000000..a07c1a9a --- /dev/null +++ b/gate-hk4e-api/proto/FriendBrief.proto @@ -0,0 +1,50 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendEnterHomeOption.proto"; +import "FriendOnlineState.proto"; +import "PlatformType.proto"; +import "ProfilePicture.proto"; +import "SocialShowAvatarInfo.proto"; + +option go_package = "./;proto"; + +message FriendBrief { + uint32 uid = 1; + string nickname = 2; + uint32 level = 3; + uint32 avatar_id = 4; + uint32 world_level = 5; + string signature = 6; + FriendOnlineState online_state = 7; + uint32 param = 8; + bool is_mp_mode_available = 10; + string online_id = 11; + uint32 last_active_time = 12; + uint32 name_card_id = 13; + uint32 mp_player_num = 14; + bool is_chat_no_disturb = 15; + uint32 chat_sequence = 16; + string remark_name = 17; + repeated SocialShowAvatarInfo show_avatar_info_list = 22; + FriendEnterHomeOption friend_enter_home_option = 23; + ProfilePicture profile_picture = 24; + bool is_game_source = 25; + bool is_psn_source = 26; + PlatformType platform_type = 27; +} diff --git a/gate-hk4e-api/proto/FriendEnterHomeOption.pb.go b/gate-hk4e-api/proto/FriendEnterHomeOption.pb.go new file mode 100644 index 00000000..8cae7561 --- /dev/null +++ b/gate-hk4e-api/proto/FriendEnterHomeOption.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FriendEnterHomeOption.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FriendEnterHomeOption int32 + +const ( + FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM FriendEnterHomeOption = 0 + FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_REFUSE FriendEnterHomeOption = 1 + FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_DIRECT FriendEnterHomeOption = 2 +) + +// Enum value maps for FriendEnterHomeOption. +var ( + FriendEnterHomeOption_name = map[int32]string{ + 0: "FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM", + 1: "FRIEND_ENTER_HOME_OPTION_REFUSE", + 2: "FRIEND_ENTER_HOME_OPTION_DIRECT", + } + FriendEnterHomeOption_value = map[string]int32{ + "FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM": 0, + "FRIEND_ENTER_HOME_OPTION_REFUSE": 1, + "FRIEND_ENTER_HOME_OPTION_DIRECT": 2, + } +) + +func (x FriendEnterHomeOption) Enum() *FriendEnterHomeOption { + p := new(FriendEnterHomeOption) + *p = x + return p +} + +func (x FriendEnterHomeOption) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FriendEnterHomeOption) Descriptor() protoreflect.EnumDescriptor { + return file_FriendEnterHomeOption_proto_enumTypes[0].Descriptor() +} + +func (FriendEnterHomeOption) Type() protoreflect.EnumType { + return &file_FriendEnterHomeOption_proto_enumTypes[0] +} + +func (x FriendEnterHomeOption) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FriendEnterHomeOption.Descriptor instead. +func (FriendEnterHomeOption) EnumDescriptor() ([]byte, []int) { + return file_FriendEnterHomeOption_proto_rawDescGZIP(), []int{0} +} + +var File_FriendEnterHomeOption_proto protoreflect.FileDescriptor + +var file_FriendEnterHomeOption_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x8c, 0x01, + 0x0a, 0x15, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x25, 0x46, 0x52, 0x49, 0x45, 0x4e, + 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4f, 0x50, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, + 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, + 0x45, 0x46, 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x49, 0x45, 0x4e, + 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4f, 0x50, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FriendEnterHomeOption_proto_rawDescOnce sync.Once + file_FriendEnterHomeOption_proto_rawDescData = file_FriendEnterHomeOption_proto_rawDesc +) + +func file_FriendEnterHomeOption_proto_rawDescGZIP() []byte { + file_FriendEnterHomeOption_proto_rawDescOnce.Do(func() { + file_FriendEnterHomeOption_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendEnterHomeOption_proto_rawDescData) + }) + return file_FriendEnterHomeOption_proto_rawDescData +} + +var file_FriendEnterHomeOption_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FriendEnterHomeOption_proto_goTypes = []interface{}{ + (FriendEnterHomeOption)(0), // 0: FriendEnterHomeOption +} +var file_FriendEnterHomeOption_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FriendEnterHomeOption_proto_init() } +func file_FriendEnterHomeOption_proto_init() { + if File_FriendEnterHomeOption_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FriendEnterHomeOption_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FriendEnterHomeOption_proto_goTypes, + DependencyIndexes: file_FriendEnterHomeOption_proto_depIdxs, + EnumInfos: file_FriendEnterHomeOption_proto_enumTypes, + }.Build() + File_FriendEnterHomeOption_proto = out.File + file_FriendEnterHomeOption_proto_rawDesc = nil + file_FriendEnterHomeOption_proto_goTypes = nil + file_FriendEnterHomeOption_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FriendEnterHomeOption.proto b/gate-hk4e-api/proto/FriendEnterHomeOption.proto new file mode 100644 index 00000000..8126c927 --- /dev/null +++ b/gate-hk4e-api/proto/FriendEnterHomeOption.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FriendEnterHomeOption { + FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM = 0; + FRIEND_ENTER_HOME_OPTION_REFUSE = 1; + FRIEND_ENTER_HOME_OPTION_DIRECT = 2; +} diff --git a/gate-hk4e-api/proto/FriendInfoChangeNotify.pb.go b/gate-hk4e-api/proto/FriendInfoChangeNotify.pb.go new file mode 100644 index 00000000..af08eb92 --- /dev/null +++ b/gate-hk4e-api/proto/FriendInfoChangeNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FriendInfoChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4032 +// EnetChannelId: 0 +// EnetIsReliable: true +type FriendInfoChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + OnlineId string `protobuf:"bytes,9,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` +} + +func (x *FriendInfoChangeNotify) Reset() { + *x = FriendInfoChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FriendInfoChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FriendInfoChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FriendInfoChangeNotify) ProtoMessage() {} + +func (x *FriendInfoChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_FriendInfoChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FriendInfoChangeNotify.ProtoReflect.Descriptor instead. +func (*FriendInfoChangeNotify) Descriptor() ([]byte, []int) { + return file_FriendInfoChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FriendInfoChangeNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FriendInfoChangeNotify) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +var File_FriendInfoChangeNotify_proto protoreflect.FileDescriptor + +var file_FriendInfoChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, + 0x0a, 0x16, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, + 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FriendInfoChangeNotify_proto_rawDescOnce sync.Once + file_FriendInfoChangeNotify_proto_rawDescData = file_FriendInfoChangeNotify_proto_rawDesc +) + +func file_FriendInfoChangeNotify_proto_rawDescGZIP() []byte { + file_FriendInfoChangeNotify_proto_rawDescOnce.Do(func() { + file_FriendInfoChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendInfoChangeNotify_proto_rawDescData) + }) + return file_FriendInfoChangeNotify_proto_rawDescData +} + +var file_FriendInfoChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FriendInfoChangeNotify_proto_goTypes = []interface{}{ + (*FriendInfoChangeNotify)(nil), // 0: FriendInfoChangeNotify +} +var file_FriendInfoChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FriendInfoChangeNotify_proto_init() } +func file_FriendInfoChangeNotify_proto_init() { + if File_FriendInfoChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FriendInfoChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FriendInfoChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FriendInfoChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FriendInfoChangeNotify_proto_goTypes, + DependencyIndexes: file_FriendInfoChangeNotify_proto_depIdxs, + MessageInfos: file_FriendInfoChangeNotify_proto_msgTypes, + }.Build() + File_FriendInfoChangeNotify_proto = out.File + file_FriendInfoChangeNotify_proto_rawDesc = nil + file_FriendInfoChangeNotify_proto_goTypes = nil + file_FriendInfoChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FriendInfoChangeNotify.proto b/gate-hk4e-api/proto/FriendInfoChangeNotify.proto new file mode 100644 index 00000000..98cb49ce --- /dev/null +++ b/gate-hk4e-api/proto/FriendInfoChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4032 +// EnetChannelId: 0 +// EnetIsReliable: true +message FriendInfoChangeNotify { + uint32 uid = 1; + string online_id = 9; +} diff --git a/gate-hk4e-api/proto/FriendOnlineState.pb.go b/gate-hk4e-api/proto/FriendOnlineState.pb.go new file mode 100644 index 00000000..6ecc03e0 --- /dev/null +++ b/gate-hk4e-api/proto/FriendOnlineState.pb.go @@ -0,0 +1,146 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FriendOnlineState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FriendOnlineState int32 + +const ( + FriendOnlineState_FRIEND_ONLINE_STATE_FREIEND_DISCONNECT FriendOnlineState = 0 + FriendOnlineState_FRIEND_ONLINE_STATE_ONLINE FriendOnlineState = 1 +) + +// Enum value maps for FriendOnlineState. +var ( + FriendOnlineState_name = map[int32]string{ + 0: "FRIEND_ONLINE_STATE_FREIEND_DISCONNECT", + 1: "FRIEND_ONLINE_STATE_ONLINE", + } + FriendOnlineState_value = map[string]int32{ + "FRIEND_ONLINE_STATE_FREIEND_DISCONNECT": 0, + "FRIEND_ONLINE_STATE_ONLINE": 1, + } +) + +func (x FriendOnlineState) Enum() *FriendOnlineState { + p := new(FriendOnlineState) + *p = x + return p +} + +func (x FriendOnlineState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FriendOnlineState) Descriptor() protoreflect.EnumDescriptor { + return file_FriendOnlineState_proto_enumTypes[0].Descriptor() +} + +func (FriendOnlineState) Type() protoreflect.EnumType { + return &file_FriendOnlineState_proto_enumTypes[0] +} + +func (x FriendOnlineState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FriendOnlineState.Descriptor instead. +func (FriendOnlineState) EnumDescriptor() ([]byte, []int) { + return file_FriendOnlineState_proto_rawDescGZIP(), []int{0} +} + +var File_FriendOnlineState_proto protoreflect.FileDescriptor + +var file_FriendOnlineState_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x5f, 0x0a, 0x11, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, + 0x0a, 0x26, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x52, 0x45, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x44, 0x49, + 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, + 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FriendOnlineState_proto_rawDescOnce sync.Once + file_FriendOnlineState_proto_rawDescData = file_FriendOnlineState_proto_rawDesc +) + +func file_FriendOnlineState_proto_rawDescGZIP() []byte { + file_FriendOnlineState_proto_rawDescOnce.Do(func() { + file_FriendOnlineState_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendOnlineState_proto_rawDescData) + }) + return file_FriendOnlineState_proto_rawDescData +} + +var file_FriendOnlineState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_FriendOnlineState_proto_goTypes = []interface{}{ + (FriendOnlineState)(0), // 0: FriendOnlineState +} +var file_FriendOnlineState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FriendOnlineState_proto_init() } +func file_FriendOnlineState_proto_init() { + if File_FriendOnlineState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FriendOnlineState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FriendOnlineState_proto_goTypes, + DependencyIndexes: file_FriendOnlineState_proto_depIdxs, + EnumInfos: file_FriendOnlineState_proto_enumTypes, + }.Build() + File_FriendOnlineState_proto = out.File + file_FriendOnlineState_proto_rawDesc = nil + file_FriendOnlineState_proto_goTypes = nil + file_FriendOnlineState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FriendOnlineState.proto b/gate-hk4e-api/proto/FriendOnlineState.proto new file mode 100644 index 00000000..e74a8372 --- /dev/null +++ b/gate-hk4e-api/proto/FriendOnlineState.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum FriendOnlineState { + FRIEND_ONLINE_STATE_FREIEND_DISCONNECT = 0; + FRIEND_ONLINE_STATE_ONLINE = 1; +} diff --git a/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.pb.go b/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.pb.go new file mode 100644 index 00000000..fe9838bb --- /dev/null +++ b/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FunitureMakeMakeInfoChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4898 +// EnetChannelId: 0 +// EnetIsReliable: true +type FunitureMakeMakeInfoChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MakeInfo *FurnitureMakeMakeInfo `protobuf:"bytes,1,opt,name=make_info,json=makeInfo,proto3" json:"make_info,omitempty"` +} + +func (x *FunitureMakeMakeInfoChangeNotify) Reset() { + *x = FunitureMakeMakeInfoChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FunitureMakeMakeInfoChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FunitureMakeMakeInfoChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FunitureMakeMakeInfoChangeNotify) ProtoMessage() {} + +func (x *FunitureMakeMakeInfoChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_FunitureMakeMakeInfoChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FunitureMakeMakeInfoChangeNotify.ProtoReflect.Descriptor instead. +func (*FunitureMakeMakeInfoChangeNotify) Descriptor() ([]byte, []int) { + return file_FunitureMakeMakeInfoChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FunitureMakeMakeInfoChangeNotify) GetMakeInfo() *FurnitureMakeMakeInfo { + if x != nil { + return x.MakeInfo + } + return nil +} + +var File_FunitureMakeMakeInfoChangeNotify_proto protoreflect.FileDescriptor + +var file_FunitureMakeMakeInfoChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x46, 0x75, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x20, 0x46, 0x75, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x09, 0x6d, 0x61, 0x6b, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FunitureMakeMakeInfoChangeNotify_proto_rawDescOnce sync.Once + file_FunitureMakeMakeInfoChangeNotify_proto_rawDescData = file_FunitureMakeMakeInfoChangeNotify_proto_rawDesc +) + +func file_FunitureMakeMakeInfoChangeNotify_proto_rawDescGZIP() []byte { + file_FunitureMakeMakeInfoChangeNotify_proto_rawDescOnce.Do(func() { + file_FunitureMakeMakeInfoChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FunitureMakeMakeInfoChangeNotify_proto_rawDescData) + }) + return file_FunitureMakeMakeInfoChangeNotify_proto_rawDescData +} + +var file_FunitureMakeMakeInfoChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FunitureMakeMakeInfoChangeNotify_proto_goTypes = []interface{}{ + (*FunitureMakeMakeInfoChangeNotify)(nil), // 0: FunitureMakeMakeInfoChangeNotify + (*FurnitureMakeMakeInfo)(nil), // 1: FurnitureMakeMakeInfo +} +var file_FunitureMakeMakeInfoChangeNotify_proto_depIdxs = []int32{ + 1, // 0: FunitureMakeMakeInfoChangeNotify.make_info:type_name -> FurnitureMakeMakeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FunitureMakeMakeInfoChangeNotify_proto_init() } +func file_FunitureMakeMakeInfoChangeNotify_proto_init() { + if File_FunitureMakeMakeInfoChangeNotify_proto != nil { + return + } + file_FurnitureMakeMakeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_FunitureMakeMakeInfoChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FunitureMakeMakeInfoChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FunitureMakeMakeInfoChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FunitureMakeMakeInfoChangeNotify_proto_goTypes, + DependencyIndexes: file_FunitureMakeMakeInfoChangeNotify_proto_depIdxs, + MessageInfos: file_FunitureMakeMakeInfoChangeNotify_proto_msgTypes, + }.Build() + File_FunitureMakeMakeInfoChangeNotify_proto = out.File + file_FunitureMakeMakeInfoChangeNotify_proto_rawDesc = nil + file_FunitureMakeMakeInfoChangeNotify_proto_goTypes = nil + file_FunitureMakeMakeInfoChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.proto b/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.proto new file mode 100644 index 00000000..2fcfcb09 --- /dev/null +++ b/gate-hk4e-api/proto/FunitureMakeMakeInfoChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeMakeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4898 +// EnetChannelId: 0 +// EnetIsReliable: true +message FunitureMakeMakeInfoChangeNotify { + FurnitureMakeMakeInfo make_info = 1; +} diff --git a/gate-hk4e-api/proto/Furniture.pb.go b/gate-hk4e-api/proto/Furniture.pb.go new file mode 100644 index 00000000..2d744186 --- /dev/null +++ b/gate-hk4e-api/proto/Furniture.pb.go @@ -0,0 +1,157 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Furniture.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Furniture struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *Furniture) Reset() { + *x = Furniture{} + if protoimpl.UnsafeEnabled { + mi := &file_Furniture_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Furniture) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Furniture) ProtoMessage() {} + +func (x *Furniture) ProtoReflect() protoreflect.Message { + mi := &file_Furniture_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Furniture.ProtoReflect.Descriptor instead. +func (*Furniture) Descriptor() ([]byte, []int) { + return file_Furniture_proto_rawDescGZIP(), []int{0} +} + +func (x *Furniture) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_Furniture_proto protoreflect.FileDescriptor + +var file_Furniture_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x21, 0x0a, 0x09, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Furniture_proto_rawDescOnce sync.Once + file_Furniture_proto_rawDescData = file_Furniture_proto_rawDesc +) + +func file_Furniture_proto_rawDescGZIP() []byte { + file_Furniture_proto_rawDescOnce.Do(func() { + file_Furniture_proto_rawDescData = protoimpl.X.CompressGZIP(file_Furniture_proto_rawDescData) + }) + return file_Furniture_proto_rawDescData +} + +var file_Furniture_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Furniture_proto_goTypes = []interface{}{ + (*Furniture)(nil), // 0: Furniture +} +var file_Furniture_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Furniture_proto_init() } +func file_Furniture_proto_init() { + if File_Furniture_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Furniture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Furniture); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Furniture_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Furniture_proto_goTypes, + DependencyIndexes: file_Furniture_proto_depIdxs, + MessageInfos: file_Furniture_proto_msgTypes, + }.Build() + File_Furniture_proto = out.File + file_Furniture_proto_rawDesc = nil + file_Furniture_proto_goTypes = nil + file_Furniture_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Furniture.proto b/gate-hk4e-api/proto/Furniture.proto new file mode 100644 index 00000000..1d5592e1 --- /dev/null +++ b/gate-hk4e-api/proto/Furniture.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Furniture { + uint32 count = 1; +} diff --git a/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.pb.go b/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.pb.go new file mode 100644 index 00000000..b5539167 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureCurModuleArrangeCountNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4498 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureCurModuleArrangeCountNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureArrangeCountList []*Uint32Pair `protobuf:"bytes,13,rep,name=furniture_arrange_count_list,json=furnitureArrangeCountList,proto3" json:"furniture_arrange_count_list,omitempty"` +} + +func (x *FurnitureCurModuleArrangeCountNotify) Reset() { + *x = FurnitureCurModuleArrangeCountNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureCurModuleArrangeCountNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureCurModuleArrangeCountNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureCurModuleArrangeCountNotify) ProtoMessage() {} + +func (x *FurnitureCurModuleArrangeCountNotify) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureCurModuleArrangeCountNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureCurModuleArrangeCountNotify.ProtoReflect.Descriptor instead. +func (*FurnitureCurModuleArrangeCountNotify) Descriptor() ([]byte, []int) { + return file_FurnitureCurModuleArrangeCountNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureCurModuleArrangeCountNotify) GetFurnitureArrangeCountList() []*Uint32Pair { + if x != nil { + return x.FurnitureArrangeCountList + } + return nil +} + +var File_FurnitureCurModuleArrangeCountNotify_proto protoreflect.FileDescriptor + +var file_FurnitureCurModuleArrangeCountNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x75, 0x72, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, + 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, + 0x0a, 0x24, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x75, 0x72, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4c, 0x0a, 0x1c, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, + 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, 0x19, 0x66, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureCurModuleArrangeCountNotify_proto_rawDescOnce sync.Once + file_FurnitureCurModuleArrangeCountNotify_proto_rawDescData = file_FurnitureCurModuleArrangeCountNotify_proto_rawDesc +) + +func file_FurnitureCurModuleArrangeCountNotify_proto_rawDescGZIP() []byte { + file_FurnitureCurModuleArrangeCountNotify_proto_rawDescOnce.Do(func() { + file_FurnitureCurModuleArrangeCountNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureCurModuleArrangeCountNotify_proto_rawDescData) + }) + return file_FurnitureCurModuleArrangeCountNotify_proto_rawDescData +} + +var file_FurnitureCurModuleArrangeCountNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureCurModuleArrangeCountNotify_proto_goTypes = []interface{}{ + (*FurnitureCurModuleArrangeCountNotify)(nil), // 0: FurnitureCurModuleArrangeCountNotify + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_FurnitureCurModuleArrangeCountNotify_proto_depIdxs = []int32{ + 1, // 0: FurnitureCurModuleArrangeCountNotify.furniture_arrange_count_list:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureCurModuleArrangeCountNotify_proto_init() } +func file_FurnitureCurModuleArrangeCountNotify_proto_init() { + if File_FurnitureCurModuleArrangeCountNotify_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureCurModuleArrangeCountNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureCurModuleArrangeCountNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureCurModuleArrangeCountNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureCurModuleArrangeCountNotify_proto_goTypes, + DependencyIndexes: file_FurnitureCurModuleArrangeCountNotify_proto_depIdxs, + MessageInfos: file_FurnitureCurModuleArrangeCountNotify_proto_msgTypes, + }.Build() + File_FurnitureCurModuleArrangeCountNotify_proto = out.File + file_FurnitureCurModuleArrangeCountNotify_proto_rawDesc = nil + file_FurnitureCurModuleArrangeCountNotify_proto_goTypes = nil + file_FurnitureCurModuleArrangeCountNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.proto b/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.proto new file mode 100644 index 00000000..d24024fe --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureCurModuleArrangeCountNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4498 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureCurModuleArrangeCountNotify { + repeated Uint32Pair furniture_arrange_count_list = 13; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.pb.go b/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.pb.go new file mode 100644 index 00000000..f5cd6f51 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeBeHelpedData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FurnitureMakeBeHelpedData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Time uint32 `protobuf:"fixed32,12,opt,name=time,proto3" json:"time,omitempty"` + Icon uint32 `protobuf:"varint,11,opt,name=icon,proto3" json:"icon,omitempty"` + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + PlayerName string `protobuf:"bytes,10,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,1,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` +} + +func (x *FurnitureMakeBeHelpedData) Reset() { + *x = FurnitureMakeBeHelpedData{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeBeHelpedData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeBeHelpedData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeBeHelpedData) ProtoMessage() {} + +func (x *FurnitureMakeBeHelpedData) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeBeHelpedData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeBeHelpedData.ProtoReflect.Descriptor instead. +func (*FurnitureMakeBeHelpedData) Descriptor() ([]byte, []int) { + return file_FurnitureMakeBeHelpedData_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeBeHelpedData) GetTime() uint32 { + if x != nil { + return x.Time + } + return 0 +} + +func (x *FurnitureMakeBeHelpedData) GetIcon() uint32 { + if x != nil { + return x.Icon + } + return 0 +} + +func (x *FurnitureMakeBeHelpedData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *FurnitureMakeBeHelpedData) GetPlayerName() string { + if x != nil { + return x.PlayerName + } + return "" +} + +func (x *FurnitureMakeBeHelpedData) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +var File_FurnitureMakeBeHelpedData_proto protoreflect.FileDescriptor + +var file_FurnitureMakeBeHelpedData_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, + 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x19, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x07, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, + 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeBeHelpedData_proto_rawDescOnce sync.Once + file_FurnitureMakeBeHelpedData_proto_rawDescData = file_FurnitureMakeBeHelpedData_proto_rawDesc +) + +func file_FurnitureMakeBeHelpedData_proto_rawDescGZIP() []byte { + file_FurnitureMakeBeHelpedData_proto_rawDescOnce.Do(func() { + file_FurnitureMakeBeHelpedData_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeBeHelpedData_proto_rawDescData) + }) + return file_FurnitureMakeBeHelpedData_proto_rawDescData +} + +var file_FurnitureMakeBeHelpedData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeBeHelpedData_proto_goTypes = []interface{}{ + (*FurnitureMakeBeHelpedData)(nil), // 0: FurnitureMakeBeHelpedData + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_FurnitureMakeBeHelpedData_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeBeHelpedData.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeBeHelpedData_proto_init() } +func file_FurnitureMakeBeHelpedData_proto_init() { + if File_FurnitureMakeBeHelpedData_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeBeHelpedData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeBeHelpedData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeBeHelpedData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeBeHelpedData_proto_goTypes, + DependencyIndexes: file_FurnitureMakeBeHelpedData_proto_depIdxs, + MessageInfos: file_FurnitureMakeBeHelpedData_proto_msgTypes, + }.Build() + File_FurnitureMakeBeHelpedData_proto = out.File + file_FurnitureMakeBeHelpedData_proto_rawDesc = nil + file_FurnitureMakeBeHelpedData_proto_goTypes = nil + file_FurnitureMakeBeHelpedData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.proto b/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.proto new file mode 100644 index 00000000..c79faff0 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeBeHelpedData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message FurnitureMakeBeHelpedData { + fixed32 time = 12; + uint32 icon = 11; + uint32 uid = 7; + string player_name = 10; + ProfilePicture profile_picture = 1; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.pb.go b/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.pb.go new file mode 100644 index 00000000..921df6bc --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeBeHelpedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4578 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeBeHelpedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureMakeSlot *FurnitureMakeSlot `protobuf:"bytes,7,opt,name=furniture_make_slot,json=furnitureMakeSlot,proto3" json:"furniture_make_slot,omitempty"` + FurnitureMakeHelpedData *FurnitureMakeBeHelpedData `protobuf:"bytes,2,opt,name=furniture_make_helped_data,json=furnitureMakeHelpedData,proto3" json:"furniture_make_helped_data,omitempty"` +} + +func (x *FurnitureMakeBeHelpedNotify) Reset() { + *x = FurnitureMakeBeHelpedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeBeHelpedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeBeHelpedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeBeHelpedNotify) ProtoMessage() {} + +func (x *FurnitureMakeBeHelpedNotify) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeBeHelpedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeBeHelpedNotify.ProtoReflect.Descriptor instead. +func (*FurnitureMakeBeHelpedNotify) Descriptor() ([]byte, []int) { + return file_FurnitureMakeBeHelpedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeBeHelpedNotify) GetFurnitureMakeSlot() *FurnitureMakeSlot { + if x != nil { + return x.FurnitureMakeSlot + } + return nil +} + +func (x *FurnitureMakeBeHelpedNotify) GetFurnitureMakeHelpedData() *FurnitureMakeBeHelpedData { + if x != nil { + return x.FurnitureMakeHelpedData + } + return nil +} + +var File_FurnitureMakeBeHelpedNotify_proto protoreflect.FileDescriptor + +var file_FurnitureMakeBeHelpedNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, + 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x42, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, + 0x0a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, + 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x42, 0x0a, + 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, 0x65, 0x5f, + 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x11, + 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, + 0x74, 0x12, 0x57, 0x0a, 0x1a, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6d, + 0x61, 0x6b, 0x65, 0x5f, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x17, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, + 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeBeHelpedNotify_proto_rawDescOnce sync.Once + file_FurnitureMakeBeHelpedNotify_proto_rawDescData = file_FurnitureMakeBeHelpedNotify_proto_rawDesc +) + +func file_FurnitureMakeBeHelpedNotify_proto_rawDescGZIP() []byte { + file_FurnitureMakeBeHelpedNotify_proto_rawDescOnce.Do(func() { + file_FurnitureMakeBeHelpedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeBeHelpedNotify_proto_rawDescData) + }) + return file_FurnitureMakeBeHelpedNotify_proto_rawDescData +} + +var file_FurnitureMakeBeHelpedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeBeHelpedNotify_proto_goTypes = []interface{}{ + (*FurnitureMakeBeHelpedNotify)(nil), // 0: FurnitureMakeBeHelpedNotify + (*FurnitureMakeSlot)(nil), // 1: FurnitureMakeSlot + (*FurnitureMakeBeHelpedData)(nil), // 2: FurnitureMakeBeHelpedData +} +var file_FurnitureMakeBeHelpedNotify_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeBeHelpedNotify.furniture_make_slot:type_name -> FurnitureMakeSlot + 2, // 1: FurnitureMakeBeHelpedNotify.furniture_make_helped_data:type_name -> FurnitureMakeBeHelpedData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeBeHelpedNotify_proto_init() } +func file_FurnitureMakeBeHelpedNotify_proto_init() { + if File_FurnitureMakeBeHelpedNotify_proto != nil { + return + } + file_FurnitureMakeBeHelpedData_proto_init() + file_FurnitureMakeSlot_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeBeHelpedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeBeHelpedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeBeHelpedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeBeHelpedNotify_proto_goTypes, + DependencyIndexes: file_FurnitureMakeBeHelpedNotify_proto_depIdxs, + MessageInfos: file_FurnitureMakeBeHelpedNotify_proto_msgTypes, + }.Build() + File_FurnitureMakeBeHelpedNotify_proto = out.File + file_FurnitureMakeBeHelpedNotify_proto_rawDesc = nil + file_FurnitureMakeBeHelpedNotify_proto_goTypes = nil + file_FurnitureMakeBeHelpedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.proto b/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.proto new file mode 100644 index 00000000..e6fc866b --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeBeHelpedNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeBeHelpedData.proto"; +import "FurnitureMakeSlot.proto"; + +option go_package = "./;proto"; + +// CmdId: 4578 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeBeHelpedNotify { + FurnitureMakeSlot furniture_make_slot = 7; + FurnitureMakeBeHelpedData furniture_make_helped_data = 2; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeCancelReq.pb.go b/gate-hk4e-api/proto/FurnitureMakeCancelReq.pb.go new file mode 100644 index 00000000..131ad232 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeCancelReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeCancelReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4555 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FurnitureMakeCancelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` + MakeId uint32 `protobuf:"varint,15,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` +} + +func (x *FurnitureMakeCancelReq) Reset() { + *x = FurnitureMakeCancelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeCancelReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeCancelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeCancelReq) ProtoMessage() {} + +func (x *FurnitureMakeCancelReq) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeCancelReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeCancelReq.ProtoReflect.Descriptor instead. +func (*FurnitureMakeCancelReq) Descriptor() ([]byte, []int) { + return file_FurnitureMakeCancelReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeCancelReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *FurnitureMakeCancelReq) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +var File_FurnitureMakeCancelReq_proto protoreflect.FileDescriptor + +var file_FurnitureMakeCancelReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, + 0x0a, 0x16, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, + 0x0a, 0x07, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeCancelReq_proto_rawDescOnce sync.Once + file_FurnitureMakeCancelReq_proto_rawDescData = file_FurnitureMakeCancelReq_proto_rawDesc +) + +func file_FurnitureMakeCancelReq_proto_rawDescGZIP() []byte { + file_FurnitureMakeCancelReq_proto_rawDescOnce.Do(func() { + file_FurnitureMakeCancelReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeCancelReq_proto_rawDescData) + }) + return file_FurnitureMakeCancelReq_proto_rawDescData +} + +var file_FurnitureMakeCancelReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeCancelReq_proto_goTypes = []interface{}{ + (*FurnitureMakeCancelReq)(nil), // 0: FurnitureMakeCancelReq +} +var file_FurnitureMakeCancelReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeCancelReq_proto_init() } +func file_FurnitureMakeCancelReq_proto_init() { + if File_FurnitureMakeCancelReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeCancelReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeCancelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeCancelReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeCancelReq_proto_goTypes, + DependencyIndexes: file_FurnitureMakeCancelReq_proto_depIdxs, + MessageInfos: file_FurnitureMakeCancelReq_proto_msgTypes, + }.Build() + File_FurnitureMakeCancelReq_proto = out.File + file_FurnitureMakeCancelReq_proto_rawDesc = nil + file_FurnitureMakeCancelReq_proto_goTypes = nil + file_FurnitureMakeCancelReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeCancelReq.proto b/gate-hk4e-api/proto/FurnitureMakeCancelReq.proto new file mode 100644 index 00000000..924bff4b --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeCancelReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4555 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FurnitureMakeCancelReq { + uint32 index = 4; + uint32 make_id = 15; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeCancelRsp.pb.go b/gate-hk4e-api/proto/FurnitureMakeCancelRsp.pb.go new file mode 100644 index 00000000..b2a16ffc --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeCancelRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeCancelRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4683 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeCancelRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + MakeId uint32 `protobuf:"varint,2,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` + FurnitureMakeSlot *FurnitureMakeSlot `protobuf:"bytes,15,opt,name=furniture_make_slot,json=furnitureMakeSlot,proto3" json:"furniture_make_slot,omitempty"` +} + +func (x *FurnitureMakeCancelRsp) Reset() { + *x = FurnitureMakeCancelRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeCancelRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeCancelRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeCancelRsp) ProtoMessage() {} + +func (x *FurnitureMakeCancelRsp) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeCancelRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeCancelRsp.ProtoReflect.Descriptor instead. +func (*FurnitureMakeCancelRsp) Descriptor() ([]byte, []int) { + return file_FurnitureMakeCancelRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeCancelRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FurnitureMakeCancelRsp) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +func (x *FurnitureMakeCancelRsp) GetFurnitureMakeSlot() *FurnitureMakeSlot { + if x != nil { + return x.FurnitureMakeSlot + } + return nil +} + +var File_FurnitureMakeCancelRsp_proto protoreflect.FileDescriptor + +var file_FurnitureMakeCancelRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, + 0x61, 0x6b, 0x65, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeCancelRsp_proto_rawDescOnce sync.Once + file_FurnitureMakeCancelRsp_proto_rawDescData = file_FurnitureMakeCancelRsp_proto_rawDesc +) + +func file_FurnitureMakeCancelRsp_proto_rawDescGZIP() []byte { + file_FurnitureMakeCancelRsp_proto_rawDescOnce.Do(func() { + file_FurnitureMakeCancelRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeCancelRsp_proto_rawDescData) + }) + return file_FurnitureMakeCancelRsp_proto_rawDescData +} + +var file_FurnitureMakeCancelRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeCancelRsp_proto_goTypes = []interface{}{ + (*FurnitureMakeCancelRsp)(nil), // 0: FurnitureMakeCancelRsp + (*FurnitureMakeSlot)(nil), // 1: FurnitureMakeSlot +} +var file_FurnitureMakeCancelRsp_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeCancelRsp.furniture_make_slot:type_name -> FurnitureMakeSlot + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeCancelRsp_proto_init() } +func file_FurnitureMakeCancelRsp_proto_init() { + if File_FurnitureMakeCancelRsp_proto != nil { + return + } + file_FurnitureMakeSlot_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeCancelRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeCancelRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeCancelRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeCancelRsp_proto_goTypes, + DependencyIndexes: file_FurnitureMakeCancelRsp_proto_depIdxs, + MessageInfos: file_FurnitureMakeCancelRsp_proto_msgTypes, + }.Build() + File_FurnitureMakeCancelRsp_proto = out.File + file_FurnitureMakeCancelRsp_proto_rawDesc = nil + file_FurnitureMakeCancelRsp_proto_goTypes = nil + file_FurnitureMakeCancelRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeCancelRsp.proto b/gate-hk4e-api/proto/FurnitureMakeCancelRsp.proto new file mode 100644 index 00000000..1bf2da08 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeCancelRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeSlot.proto"; + +option go_package = "./;proto"; + +// CmdId: 4683 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeCancelRsp { + int32 retcode = 3; + uint32 make_id = 2; + FurnitureMakeSlot furniture_make_slot = 15; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeData.pb.go b/gate-hk4e-api/proto/FurnitureMakeData.pb.go new file mode 100644 index 00000000..3d0df6a6 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeData.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FurnitureMakeData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,15,opt,name=index,proto3" json:"index,omitempty"` + DurTime uint32 `protobuf:"varint,1,opt,name=dur_time,json=durTime,proto3" json:"dur_time,omitempty"` + BeginTime uint32 `protobuf:"fixed32,11,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + AccelerateTime uint32 `protobuf:"fixed32,6,opt,name=accelerate_time,json=accelerateTime,proto3" json:"accelerate_time,omitempty"` + AvatarId uint32 `protobuf:"varint,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + MakeId uint32 `protobuf:"varint,5,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` +} + +func (x *FurnitureMakeData) Reset() { + *x = FurnitureMakeData{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeData) ProtoMessage() {} + +func (x *FurnitureMakeData) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeData.ProtoReflect.Descriptor instead. +func (*FurnitureMakeData) Descriptor() ([]byte, []int) { + return file_FurnitureMakeData_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeData) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *FurnitureMakeData) GetDurTime() uint32 { + if x != nil { + return x.DurTime + } + return 0 +} + +func (x *FurnitureMakeData) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *FurnitureMakeData) GetAccelerateTime() uint32 { + if x != nil { + return x.AccelerateTime + } + return 0 +} + +func (x *FurnitureMakeData) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *FurnitureMakeData) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +var File_FurnitureMakeData_proto protoreflect.FileDescriptor + +var file_FurnitureMakeData_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x11, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x75, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x07, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FurnitureMakeData_proto_rawDescOnce sync.Once + file_FurnitureMakeData_proto_rawDescData = file_FurnitureMakeData_proto_rawDesc +) + +func file_FurnitureMakeData_proto_rawDescGZIP() []byte { + file_FurnitureMakeData_proto_rawDescOnce.Do(func() { + file_FurnitureMakeData_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeData_proto_rawDescData) + }) + return file_FurnitureMakeData_proto_rawDescData +} + +var file_FurnitureMakeData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeData_proto_goTypes = []interface{}{ + (*FurnitureMakeData)(nil), // 0: FurnitureMakeData +} +var file_FurnitureMakeData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeData_proto_init() } +func file_FurnitureMakeData_proto_init() { + if File_FurnitureMakeData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeData_proto_goTypes, + DependencyIndexes: file_FurnitureMakeData_proto_depIdxs, + MessageInfos: file_FurnitureMakeData_proto_msgTypes, + }.Build() + File_FurnitureMakeData_proto = out.File + file_FurnitureMakeData_proto_rawDesc = nil + file_FurnitureMakeData_proto_goTypes = nil + file_FurnitureMakeData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeData.proto b/gate-hk4e-api/proto/FurnitureMakeData.proto new file mode 100644 index 00000000..0d5adfa8 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FurnitureMakeData { + uint32 index = 15; + uint32 dur_time = 1; + fixed32 begin_time = 11; + fixed32 accelerate_time = 6; + uint32 avatar_id = 2; + uint32 make_id = 5; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeFinishNotify.pb.go b/gate-hk4e-api/proto/FurnitureMakeFinishNotify.pb.go new file mode 100644 index 00000000..098856e6 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeFinishNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4841 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FurnitureMakeFinishNotify) Reset() { + *x = FurnitureMakeFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeFinishNotify) ProtoMessage() {} + +func (x *FurnitureMakeFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeFinishNotify.ProtoReflect.Descriptor instead. +func (*FurnitureMakeFinishNotify) Descriptor() ([]byte, []int) { + return file_FurnitureMakeFinishNotify_proto_rawDescGZIP(), []int{0} +} + +var File_FurnitureMakeFinishNotify_proto protoreflect.FileDescriptor + +var file_FurnitureMakeFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FurnitureMakeFinishNotify_proto_rawDescOnce sync.Once + file_FurnitureMakeFinishNotify_proto_rawDescData = file_FurnitureMakeFinishNotify_proto_rawDesc +) + +func file_FurnitureMakeFinishNotify_proto_rawDescGZIP() []byte { + file_FurnitureMakeFinishNotify_proto_rawDescOnce.Do(func() { + file_FurnitureMakeFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeFinishNotify_proto_rawDescData) + }) + return file_FurnitureMakeFinishNotify_proto_rawDescData +} + +var file_FurnitureMakeFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeFinishNotify_proto_goTypes = []interface{}{ + (*FurnitureMakeFinishNotify)(nil), // 0: FurnitureMakeFinishNotify +} +var file_FurnitureMakeFinishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeFinishNotify_proto_init() } +func file_FurnitureMakeFinishNotify_proto_init() { + if File_FurnitureMakeFinishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeFinishNotify_proto_goTypes, + DependencyIndexes: file_FurnitureMakeFinishNotify_proto_depIdxs, + MessageInfos: file_FurnitureMakeFinishNotify_proto_msgTypes, + }.Build() + File_FurnitureMakeFinishNotify_proto = out.File + file_FurnitureMakeFinishNotify_proto_rawDesc = nil + file_FurnitureMakeFinishNotify_proto_goTypes = nil + file_FurnitureMakeFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeFinishNotify.proto b/gate-hk4e-api/proto/FurnitureMakeFinishNotify.proto new file mode 100644 index 00000000..de21de69 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeFinishNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4841 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeFinishNotify {} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpData.pb.go b/gate-hk4e-api/proto/FurnitureMakeHelpData.pb.go new file mode 100644 index 00000000..97bdeb70 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpData.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeHelpData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FurnitureMakeHelpData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Times uint32 `protobuf:"varint,2,opt,name=times,proto3" json:"times,omitempty"` + Uid uint32 `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *FurnitureMakeHelpData) Reset() { + *x = FurnitureMakeHelpData{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeHelpData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeHelpData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeHelpData) ProtoMessage() {} + +func (x *FurnitureMakeHelpData) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeHelpData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeHelpData.ProtoReflect.Descriptor instead. +func (*FurnitureMakeHelpData) Descriptor() ([]byte, []int) { + return file_FurnitureMakeHelpData_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeHelpData) GetTimes() uint32 { + if x != nil { + return x.Times + } + return 0 +} + +func (x *FurnitureMakeHelpData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_FurnitureMakeHelpData_proto protoreflect.FileDescriptor + +var file_FurnitureMakeHelpData_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, + 0x65, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, + 0x15, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, + 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_FurnitureMakeHelpData_proto_rawDescOnce sync.Once + file_FurnitureMakeHelpData_proto_rawDescData = file_FurnitureMakeHelpData_proto_rawDesc +) + +func file_FurnitureMakeHelpData_proto_rawDescGZIP() []byte { + file_FurnitureMakeHelpData_proto_rawDescOnce.Do(func() { + file_FurnitureMakeHelpData_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeHelpData_proto_rawDescData) + }) + return file_FurnitureMakeHelpData_proto_rawDescData +} + +var file_FurnitureMakeHelpData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeHelpData_proto_goTypes = []interface{}{ + (*FurnitureMakeHelpData)(nil), // 0: FurnitureMakeHelpData +} +var file_FurnitureMakeHelpData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeHelpData_proto_init() } +func file_FurnitureMakeHelpData_proto_init() { + if File_FurnitureMakeHelpData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeHelpData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeHelpData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeHelpData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeHelpData_proto_goTypes, + DependencyIndexes: file_FurnitureMakeHelpData_proto_depIdxs, + MessageInfos: file_FurnitureMakeHelpData_proto_msgTypes, + }.Build() + File_FurnitureMakeHelpData_proto = out.File + file_FurnitureMakeHelpData_proto_rawDesc = nil + file_FurnitureMakeHelpData_proto_goTypes = nil + file_FurnitureMakeHelpData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpData.proto b/gate-hk4e-api/proto/FurnitureMakeHelpData.proto new file mode 100644 index 00000000..06166db3 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FurnitureMakeHelpData { + uint32 times = 2; + uint32 uid = 13; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpReq.pb.go b/gate-hk4e-api/proto/FurnitureMakeHelpReq.pb.go new file mode 100644 index 00000000..42d9891f --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeHelpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4865 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FurnitureMakeHelpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FurnitureMakeHelpReq) Reset() { + *x = FurnitureMakeHelpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeHelpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeHelpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeHelpReq) ProtoMessage() {} + +func (x *FurnitureMakeHelpReq) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeHelpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeHelpReq.ProtoReflect.Descriptor instead. +func (*FurnitureMakeHelpReq) Descriptor() ([]byte, []int) { + return file_FurnitureMakeHelpReq_proto_rawDescGZIP(), []int{0} +} + +var File_FurnitureMakeHelpReq_proto protoreflect.FileDescriptor + +var file_FurnitureMakeHelpReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, + 0x65, 0x6c, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, + 0x70, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeHelpReq_proto_rawDescOnce sync.Once + file_FurnitureMakeHelpReq_proto_rawDescData = file_FurnitureMakeHelpReq_proto_rawDesc +) + +func file_FurnitureMakeHelpReq_proto_rawDescGZIP() []byte { + file_FurnitureMakeHelpReq_proto_rawDescOnce.Do(func() { + file_FurnitureMakeHelpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeHelpReq_proto_rawDescData) + }) + return file_FurnitureMakeHelpReq_proto_rawDescData +} + +var file_FurnitureMakeHelpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeHelpReq_proto_goTypes = []interface{}{ + (*FurnitureMakeHelpReq)(nil), // 0: FurnitureMakeHelpReq +} +var file_FurnitureMakeHelpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeHelpReq_proto_init() } +func file_FurnitureMakeHelpReq_proto_init() { + if File_FurnitureMakeHelpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeHelpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeHelpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeHelpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeHelpReq_proto_goTypes, + DependencyIndexes: file_FurnitureMakeHelpReq_proto_depIdxs, + MessageInfos: file_FurnitureMakeHelpReq_proto_msgTypes, + }.Build() + File_FurnitureMakeHelpReq_proto = out.File + file_FurnitureMakeHelpReq_proto_rawDesc = nil + file_FurnitureMakeHelpReq_proto_goTypes = nil + file_FurnitureMakeHelpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpReq.proto b/gate-hk4e-api/proto/FurnitureMakeHelpReq.proto new file mode 100644 index 00000000..7ab3e195 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4865 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FurnitureMakeHelpReq {} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpRsp.pb.go b/gate-hk4e-api/proto/FurnitureMakeHelpRsp.pb.go new file mode 100644 index 00000000..bf6dd716 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeHelpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4756 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeHelpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + HelpDataList []*FurnitureMakeHelpData `protobuf:"bytes,6,rep,name=help_data_list,json=helpDataList,proto3" json:"help_data_list,omitempty"` +} + +func (x *FurnitureMakeHelpRsp) Reset() { + *x = FurnitureMakeHelpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeHelpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeHelpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeHelpRsp) ProtoMessage() {} + +func (x *FurnitureMakeHelpRsp) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeHelpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeHelpRsp.ProtoReflect.Descriptor instead. +func (*FurnitureMakeHelpRsp) Descriptor() ([]byte, []int) { + return file_FurnitureMakeHelpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeHelpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FurnitureMakeHelpRsp) GetHelpDataList() []*FurnitureMakeHelpData { + if x != nil { + return x.HelpDataList + } + return nil +} + +var File_FurnitureMakeHelpRsp_proto protoreflect.FileDescriptor + +var file_FurnitureMakeHelpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, + 0x65, 0x6c, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x14, 0x46, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x68, + 0x65, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x68, 0x65, 0x6c, + 0x70, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeHelpRsp_proto_rawDescOnce sync.Once + file_FurnitureMakeHelpRsp_proto_rawDescData = file_FurnitureMakeHelpRsp_proto_rawDesc +) + +func file_FurnitureMakeHelpRsp_proto_rawDescGZIP() []byte { + file_FurnitureMakeHelpRsp_proto_rawDescOnce.Do(func() { + file_FurnitureMakeHelpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeHelpRsp_proto_rawDescData) + }) + return file_FurnitureMakeHelpRsp_proto_rawDescData +} + +var file_FurnitureMakeHelpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeHelpRsp_proto_goTypes = []interface{}{ + (*FurnitureMakeHelpRsp)(nil), // 0: FurnitureMakeHelpRsp + (*FurnitureMakeHelpData)(nil), // 1: FurnitureMakeHelpData +} +var file_FurnitureMakeHelpRsp_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeHelpRsp.help_data_list:type_name -> FurnitureMakeHelpData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeHelpRsp_proto_init() } +func file_FurnitureMakeHelpRsp_proto_init() { + if File_FurnitureMakeHelpRsp_proto != nil { + return + } + file_FurnitureMakeHelpData_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeHelpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeHelpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeHelpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeHelpRsp_proto_goTypes, + DependencyIndexes: file_FurnitureMakeHelpRsp_proto_depIdxs, + MessageInfos: file_FurnitureMakeHelpRsp_proto_msgTypes, + }.Build() + File_FurnitureMakeHelpRsp_proto = out.File + file_FurnitureMakeHelpRsp_proto_rawDesc = nil + file_FurnitureMakeHelpRsp_proto_goTypes = nil + file_FurnitureMakeHelpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeHelpRsp.proto b/gate-hk4e-api/proto/FurnitureMakeHelpRsp.proto new file mode 100644 index 00000000..6a13e76e --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeHelpRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeHelpData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4756 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeHelpRsp { + int32 retcode = 10; + repeated FurnitureMakeHelpData help_data_list = 6; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeMakeInfo.pb.go b/gate-hk4e-api/proto/FurnitureMakeMakeInfo.pb.go new file mode 100644 index 00000000..64839d9d --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeMakeInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeMakeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FurnitureMakeMakeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureId uint32 `protobuf:"varint,13,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + MakeCount uint32 `protobuf:"varint,9,opt,name=make_count,json=makeCount,proto3" json:"make_count,omitempty"` +} + +func (x *FurnitureMakeMakeInfo) Reset() { + *x = FurnitureMakeMakeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeMakeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeMakeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeMakeInfo) ProtoMessage() {} + +func (x *FurnitureMakeMakeInfo) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeMakeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeMakeInfo.ProtoReflect.Descriptor instead. +func (*FurnitureMakeMakeInfo) Descriptor() ([]byte, []int) { + return file_FurnitureMakeMakeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeMakeInfo) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *FurnitureMakeMakeInfo) GetMakeCount() uint32 { + if x != nil { + return x.MakeCount + } + return 0 +} + +var File_FurnitureMakeMakeInfo_proto protoreflect.FileDescriptor + +var file_FurnitureMakeMakeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, + 0x15, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x6b, + 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, + 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeMakeInfo_proto_rawDescOnce sync.Once + file_FurnitureMakeMakeInfo_proto_rawDescData = file_FurnitureMakeMakeInfo_proto_rawDesc +) + +func file_FurnitureMakeMakeInfo_proto_rawDescGZIP() []byte { + file_FurnitureMakeMakeInfo_proto_rawDescOnce.Do(func() { + file_FurnitureMakeMakeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeMakeInfo_proto_rawDescData) + }) + return file_FurnitureMakeMakeInfo_proto_rawDescData +} + +var file_FurnitureMakeMakeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeMakeInfo_proto_goTypes = []interface{}{ + (*FurnitureMakeMakeInfo)(nil), // 0: FurnitureMakeMakeInfo +} +var file_FurnitureMakeMakeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeMakeInfo_proto_init() } +func file_FurnitureMakeMakeInfo_proto_init() { + if File_FurnitureMakeMakeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeMakeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeMakeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeMakeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeMakeInfo_proto_goTypes, + DependencyIndexes: file_FurnitureMakeMakeInfo_proto_depIdxs, + MessageInfos: file_FurnitureMakeMakeInfo_proto_msgTypes, + }.Build() + File_FurnitureMakeMakeInfo_proto = out.File + file_FurnitureMakeMakeInfo_proto_rawDesc = nil + file_FurnitureMakeMakeInfo_proto_goTypes = nil + file_FurnitureMakeMakeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeMakeInfo.proto b/gate-hk4e-api/proto/FurnitureMakeMakeInfo.proto new file mode 100644 index 00000000..e5613a70 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeMakeInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message FurnitureMakeMakeInfo { + uint32 furniture_id = 13; + uint32 make_count = 9; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeReq.pb.go b/gate-hk4e-api/proto/FurnitureMakeReq.pb.go new file mode 100644 index 00000000..95458c1b --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4477 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FurnitureMakeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FurnitureMakeReq) Reset() { + *x = FurnitureMakeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeReq) ProtoMessage() {} + +func (x *FurnitureMakeReq) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeReq.ProtoReflect.Descriptor instead. +func (*FurnitureMakeReq) Descriptor() ([]byte, []int) { + return file_FurnitureMakeReq_proto_rawDescGZIP(), []int{0} +} + +var File_FurnitureMakeReq_proto protoreflect.FileDescriptor + +var file_FurnitureMakeReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeReq_proto_rawDescOnce sync.Once + file_FurnitureMakeReq_proto_rawDescData = file_FurnitureMakeReq_proto_rawDesc +) + +func file_FurnitureMakeReq_proto_rawDescGZIP() []byte { + file_FurnitureMakeReq_proto_rawDescOnce.Do(func() { + file_FurnitureMakeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeReq_proto_rawDescData) + }) + return file_FurnitureMakeReq_proto_rawDescData +} + +var file_FurnitureMakeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeReq_proto_goTypes = []interface{}{ + (*FurnitureMakeReq)(nil), // 0: FurnitureMakeReq +} +var file_FurnitureMakeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeReq_proto_init() } +func file_FurnitureMakeReq_proto_init() { + if File_FurnitureMakeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeReq_proto_goTypes, + DependencyIndexes: file_FurnitureMakeReq_proto_depIdxs, + MessageInfos: file_FurnitureMakeReq_proto_msgTypes, + }.Build() + File_FurnitureMakeReq_proto = out.File + file_FurnitureMakeReq_proto_rawDesc = nil + file_FurnitureMakeReq_proto_goTypes = nil + file_FurnitureMakeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeReq.proto b/gate-hk4e-api/proto/FurnitureMakeReq.proto new file mode 100644 index 00000000..6175901c --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4477 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FurnitureMakeReq {} diff --git a/gate-hk4e-api/proto/FurnitureMakeRsp.pb.go b/gate-hk4e-api/proto/FurnitureMakeRsp.pb.go new file mode 100644 index 00000000..ec6e6db8 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeRsp.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4782 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HelpedDataList []*FurnitureMakeBeHelpedData `protobuf:"bytes,13,rep,name=helped_data_list,json=helpedDataList,proto3" json:"helped_data_list,omitempty"` + MakeInfoList []*FurnitureMakeMakeInfo `protobuf:"bytes,4,rep,name=make_info_list,json=makeInfoList,proto3" json:"make_info_list,omitempty"` + FurnitureMakeSlot *FurnitureMakeSlot `protobuf:"bytes,1,opt,name=furniture_make_slot,json=furnitureMakeSlot,proto3" json:"furniture_make_slot,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + HelpDataList []*FurnitureMakeHelpData `protobuf:"bytes,2,rep,name=help_data_list,json=helpDataList,proto3" json:"help_data_list,omitempty"` +} + +func (x *FurnitureMakeRsp) Reset() { + *x = FurnitureMakeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeRsp) ProtoMessage() {} + +func (x *FurnitureMakeRsp) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeRsp.ProtoReflect.Descriptor instead. +func (*FurnitureMakeRsp) Descriptor() ([]byte, []int) { + return file_FurnitureMakeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeRsp) GetHelpedDataList() []*FurnitureMakeBeHelpedData { + if x != nil { + return x.HelpedDataList + } + return nil +} + +func (x *FurnitureMakeRsp) GetMakeInfoList() []*FurnitureMakeMakeInfo { + if x != nil { + return x.MakeInfoList + } + return nil +} + +func (x *FurnitureMakeRsp) GetFurnitureMakeSlot() *FurnitureMakeSlot { + if x != nil { + return x.FurnitureMakeSlot + } + return nil +} + +func (x *FurnitureMakeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *FurnitureMakeRsp) GetHelpDataList() []*FurnitureMakeHelpData { + if x != nil { + return x.HelpDataList + } + return nil +} + +var File_FurnitureMakeRsp_proto protoreflect.FileDescriptor + +var file_FurnitureMakeRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x02, 0x0a, + 0x10, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x52, 0x73, + 0x70, 0x12, 0x44, 0x0a, 0x10, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x42, 0x65, 0x48, 0x65, 0x6c, + 0x70, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x64, 0x44, + 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x68, 0x65, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x48, 0x65, 0x6c, 0x70, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x0c, 0x68, 0x65, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeRsp_proto_rawDescOnce sync.Once + file_FurnitureMakeRsp_proto_rawDescData = file_FurnitureMakeRsp_proto_rawDesc +) + +func file_FurnitureMakeRsp_proto_rawDescGZIP() []byte { + file_FurnitureMakeRsp_proto_rawDescOnce.Do(func() { + file_FurnitureMakeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeRsp_proto_rawDescData) + }) + return file_FurnitureMakeRsp_proto_rawDescData +} + +var file_FurnitureMakeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeRsp_proto_goTypes = []interface{}{ + (*FurnitureMakeRsp)(nil), // 0: FurnitureMakeRsp + (*FurnitureMakeBeHelpedData)(nil), // 1: FurnitureMakeBeHelpedData + (*FurnitureMakeMakeInfo)(nil), // 2: FurnitureMakeMakeInfo + (*FurnitureMakeSlot)(nil), // 3: FurnitureMakeSlot + (*FurnitureMakeHelpData)(nil), // 4: FurnitureMakeHelpData +} +var file_FurnitureMakeRsp_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeRsp.helped_data_list:type_name -> FurnitureMakeBeHelpedData + 2, // 1: FurnitureMakeRsp.make_info_list:type_name -> FurnitureMakeMakeInfo + 3, // 2: FurnitureMakeRsp.furniture_make_slot:type_name -> FurnitureMakeSlot + 4, // 3: FurnitureMakeRsp.help_data_list:type_name -> FurnitureMakeHelpData + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeRsp_proto_init() } +func file_FurnitureMakeRsp_proto_init() { + if File_FurnitureMakeRsp_proto != nil { + return + } + file_FurnitureMakeBeHelpedData_proto_init() + file_FurnitureMakeHelpData_proto_init() + file_FurnitureMakeMakeInfo_proto_init() + file_FurnitureMakeSlot_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeRsp_proto_goTypes, + DependencyIndexes: file_FurnitureMakeRsp_proto_depIdxs, + MessageInfos: file_FurnitureMakeRsp_proto_msgTypes, + }.Build() + File_FurnitureMakeRsp_proto = out.File + file_FurnitureMakeRsp_proto_rawDesc = nil + file_FurnitureMakeRsp_proto_goTypes = nil + file_FurnitureMakeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeRsp.proto b/gate-hk4e-api/proto/FurnitureMakeRsp.proto new file mode 100644 index 00000000..e30efbb6 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeRsp.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeBeHelpedData.proto"; +import "FurnitureMakeHelpData.proto"; +import "FurnitureMakeMakeInfo.proto"; +import "FurnitureMakeSlot.proto"; + +option go_package = "./;proto"; + +// CmdId: 4782 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeRsp { + repeated FurnitureMakeBeHelpedData helped_data_list = 13; + repeated FurnitureMakeMakeInfo make_info_list = 4; + FurnitureMakeSlot furniture_make_slot = 1; + int32 retcode = 3; + repeated FurnitureMakeHelpData help_data_list = 2; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeSlot.pb.go b/gate-hk4e-api/proto/FurnitureMakeSlot.pb.go new file mode 100644 index 00000000..71831eaa --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeSlot.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeSlot.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FurnitureMakeSlot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureMakeDataList []*FurnitureMakeData `protobuf:"bytes,14,rep,name=furniture_make_data_list,json=furnitureMakeDataList,proto3" json:"furniture_make_data_list,omitempty"` +} + +func (x *FurnitureMakeSlot) Reset() { + *x = FurnitureMakeSlot{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeSlot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeSlot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeSlot) ProtoMessage() {} + +func (x *FurnitureMakeSlot) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeSlot_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeSlot.ProtoReflect.Descriptor instead. +func (*FurnitureMakeSlot) Descriptor() ([]byte, []int) { + return file_FurnitureMakeSlot_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeSlot) GetFurnitureMakeDataList() []*FurnitureMakeData { + if x != nil { + return x.FurnitureMakeDataList + } + return nil +} + +var File_FurnitureMakeSlot_proto protoreflect.FileDescriptor + +var file_FurnitureMakeSlot_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, + 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x11, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x4b, 0x0a, 0x18, 0x66, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x15, 0x66, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeSlot_proto_rawDescOnce sync.Once + file_FurnitureMakeSlot_proto_rawDescData = file_FurnitureMakeSlot_proto_rawDesc +) + +func file_FurnitureMakeSlot_proto_rawDescGZIP() []byte { + file_FurnitureMakeSlot_proto_rawDescOnce.Do(func() { + file_FurnitureMakeSlot_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeSlot_proto_rawDescData) + }) + return file_FurnitureMakeSlot_proto_rawDescData +} + +var file_FurnitureMakeSlot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeSlot_proto_goTypes = []interface{}{ + (*FurnitureMakeSlot)(nil), // 0: FurnitureMakeSlot + (*FurnitureMakeData)(nil), // 1: FurnitureMakeData +} +var file_FurnitureMakeSlot_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeSlot.furniture_make_data_list:type_name -> FurnitureMakeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeSlot_proto_init() } +func file_FurnitureMakeSlot_proto_init() { + if File_FurnitureMakeSlot_proto != nil { + return + } + file_FurnitureMakeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeSlot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeSlot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeSlot_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeSlot_proto_goTypes, + DependencyIndexes: file_FurnitureMakeSlot_proto_depIdxs, + MessageInfos: file_FurnitureMakeSlot_proto_msgTypes, + }.Build() + File_FurnitureMakeSlot_proto = out.File + file_FurnitureMakeSlot_proto_rawDesc = nil + file_FurnitureMakeSlot_proto_goTypes = nil + file_FurnitureMakeSlot_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeSlot.proto b/gate-hk4e-api/proto/FurnitureMakeSlot.proto new file mode 100644 index 00000000..216c119f --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeSlot.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeData.proto"; + +option go_package = "./;proto"; + +message FurnitureMakeSlot { + repeated FurnitureMakeData furniture_make_data_list = 14; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeStartReq.pb.go b/gate-hk4e-api/proto/FurnitureMakeStartReq.pb.go new file mode 100644 index 00000000..570f1423 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeStartReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4633 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type FurnitureMakeStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,9,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + MakeId uint32 `protobuf:"varint,1,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` +} + +func (x *FurnitureMakeStartReq) Reset() { + *x = FurnitureMakeStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeStartReq) ProtoMessage() {} + +func (x *FurnitureMakeStartReq) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeStartReq.ProtoReflect.Descriptor instead. +func (*FurnitureMakeStartReq) Descriptor() ([]byte, []int) { + return file_FurnitureMakeStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeStartReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *FurnitureMakeStartReq) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +var File_FurnitureMakeStartReq_proto protoreflect.FileDescriptor + +var file_FurnitureMakeStartReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, + 0x15, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_FurnitureMakeStartReq_proto_rawDescOnce sync.Once + file_FurnitureMakeStartReq_proto_rawDescData = file_FurnitureMakeStartReq_proto_rawDesc +) + +func file_FurnitureMakeStartReq_proto_rawDescGZIP() []byte { + file_FurnitureMakeStartReq_proto_rawDescOnce.Do(func() { + file_FurnitureMakeStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeStartReq_proto_rawDescData) + }) + return file_FurnitureMakeStartReq_proto_rawDescData +} + +var file_FurnitureMakeStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeStartReq_proto_goTypes = []interface{}{ + (*FurnitureMakeStartReq)(nil), // 0: FurnitureMakeStartReq +} +var file_FurnitureMakeStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeStartReq_proto_init() } +func file_FurnitureMakeStartReq_proto_init() { + if File_FurnitureMakeStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeStartReq_proto_goTypes, + DependencyIndexes: file_FurnitureMakeStartReq_proto_depIdxs, + MessageInfos: file_FurnitureMakeStartReq_proto_msgTypes, + }.Build() + File_FurnitureMakeStartReq_proto = out.File + file_FurnitureMakeStartReq_proto_rawDesc = nil + file_FurnitureMakeStartReq_proto_goTypes = nil + file_FurnitureMakeStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeStartReq.proto b/gate-hk4e-api/proto/FurnitureMakeStartReq.proto new file mode 100644 index 00000000..dcf9f84e --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeStartReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4633 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FurnitureMakeStartReq { + uint32 avatar_id = 9; + uint32 make_id = 1; +} diff --git a/gate-hk4e-api/proto/FurnitureMakeStartRsp.pb.go b/gate-hk4e-api/proto/FurnitureMakeStartRsp.pb.go new file mode 100644 index 00000000..8fcc8da7 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeStartRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: FurnitureMakeStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4729 +// EnetChannelId: 0 +// EnetIsReliable: true +type FurnitureMakeStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureMakeSlot *FurnitureMakeSlot `protobuf:"bytes,5,opt,name=furniture_make_slot,json=furnitureMakeSlot,proto3" json:"furniture_make_slot,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *FurnitureMakeStartRsp) Reset() { + *x = FurnitureMakeStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_FurnitureMakeStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FurnitureMakeStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FurnitureMakeStartRsp) ProtoMessage() {} + +func (x *FurnitureMakeStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_FurnitureMakeStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FurnitureMakeStartRsp.ProtoReflect.Descriptor instead. +func (*FurnitureMakeStartRsp) Descriptor() ([]byte, []int) { + return file_FurnitureMakeStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *FurnitureMakeStartRsp) GetFurnitureMakeSlot() *FurnitureMakeSlot { + if x != nil { + return x.FurnitureMakeSlot + } + return nil +} + +func (x *FurnitureMakeStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_FurnitureMakeStartRsp_proto protoreflect.FileDescriptor + +var file_FurnitureMakeStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x15, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, + 0x42, 0x0a, 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, + 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, + 0x52, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, + 0x6c, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_FurnitureMakeStartRsp_proto_rawDescOnce sync.Once + file_FurnitureMakeStartRsp_proto_rawDescData = file_FurnitureMakeStartRsp_proto_rawDesc +) + +func file_FurnitureMakeStartRsp_proto_rawDescGZIP() []byte { + file_FurnitureMakeStartRsp_proto_rawDescOnce.Do(func() { + file_FurnitureMakeStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_FurnitureMakeStartRsp_proto_rawDescData) + }) + return file_FurnitureMakeStartRsp_proto_rawDescData +} + +var file_FurnitureMakeStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_FurnitureMakeStartRsp_proto_goTypes = []interface{}{ + (*FurnitureMakeStartRsp)(nil), // 0: FurnitureMakeStartRsp + (*FurnitureMakeSlot)(nil), // 1: FurnitureMakeSlot +} +var file_FurnitureMakeStartRsp_proto_depIdxs = []int32{ + 1, // 0: FurnitureMakeStartRsp.furniture_make_slot:type_name -> FurnitureMakeSlot + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_FurnitureMakeStartRsp_proto_init() } +func file_FurnitureMakeStartRsp_proto_init() { + if File_FurnitureMakeStartRsp_proto != nil { + return + } + file_FurnitureMakeSlot_proto_init() + if !protoimpl.UnsafeEnabled { + file_FurnitureMakeStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FurnitureMakeStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_FurnitureMakeStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_FurnitureMakeStartRsp_proto_goTypes, + DependencyIndexes: file_FurnitureMakeStartRsp_proto_depIdxs, + MessageInfos: file_FurnitureMakeStartRsp_proto_msgTypes, + }.Build() + File_FurnitureMakeStartRsp_proto = out.File + file_FurnitureMakeStartRsp_proto_rawDesc = nil + file_FurnitureMakeStartRsp_proto_goTypes = nil + file_FurnitureMakeStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/FurnitureMakeStartRsp.proto b/gate-hk4e-api/proto/FurnitureMakeStartRsp.proto new file mode 100644 index 00000000..74a916e6 --- /dev/null +++ b/gate-hk4e-api/proto/FurnitureMakeStartRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeSlot.proto"; + +option go_package = "./;proto"; + +// CmdId: 4729 +// EnetChannelId: 0 +// EnetIsReliable: true +message FurnitureMakeStartRsp { + FurnitureMakeSlot furniture_make_slot = 5; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/GMShowNavMeshReq.pb.go b/gate-hk4e-api/proto/GMShowNavMeshReq.pb.go new file mode 100644 index 00000000..10e1e2e4 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowNavMeshReq.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GMShowNavMeshReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2357 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GMShowNavMeshReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Center *Vector `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` + Extent *Vector `protobuf:"bytes,5,opt,name=extent,proto3" json:"extent,omitempty"` +} + +func (x *GMShowNavMeshReq) Reset() { + *x = GMShowNavMeshReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GMShowNavMeshReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GMShowNavMeshReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GMShowNavMeshReq) ProtoMessage() {} + +func (x *GMShowNavMeshReq) ProtoReflect() protoreflect.Message { + mi := &file_GMShowNavMeshReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GMShowNavMeshReq.ProtoReflect.Descriptor instead. +func (*GMShowNavMeshReq) Descriptor() ([]byte, []int) { + return file_GMShowNavMeshReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GMShowNavMeshReq) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *GMShowNavMeshReq) GetExtent() *Vector { + if x != nil { + return x.Extent + } + return nil +} + +var File_GMShowNavMeshReq_proto protoreflect.FileDescriptor + +var file_GMShowNavMeshReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x10, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, + 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x06, 0x65, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GMShowNavMeshReq_proto_rawDescOnce sync.Once + file_GMShowNavMeshReq_proto_rawDescData = file_GMShowNavMeshReq_proto_rawDesc +) + +func file_GMShowNavMeshReq_proto_rawDescGZIP() []byte { + file_GMShowNavMeshReq_proto_rawDescOnce.Do(func() { + file_GMShowNavMeshReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GMShowNavMeshReq_proto_rawDescData) + }) + return file_GMShowNavMeshReq_proto_rawDescData +} + +var file_GMShowNavMeshReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GMShowNavMeshReq_proto_goTypes = []interface{}{ + (*GMShowNavMeshReq)(nil), // 0: GMShowNavMeshReq + (*Vector)(nil), // 1: Vector +} +var file_GMShowNavMeshReq_proto_depIdxs = []int32{ + 1, // 0: GMShowNavMeshReq.center:type_name -> Vector + 1, // 1: GMShowNavMeshReq.extent:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GMShowNavMeshReq_proto_init() } +func file_GMShowNavMeshReq_proto_init() { + if File_GMShowNavMeshReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_GMShowNavMeshReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GMShowNavMeshReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GMShowNavMeshReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GMShowNavMeshReq_proto_goTypes, + DependencyIndexes: file_GMShowNavMeshReq_proto_depIdxs, + MessageInfos: file_GMShowNavMeshReq_proto_msgTypes, + }.Build() + File_GMShowNavMeshReq_proto = out.File + file_GMShowNavMeshReq_proto_rawDesc = nil + file_GMShowNavMeshReq_proto_goTypes = nil + file_GMShowNavMeshReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GMShowNavMeshReq.proto b/gate-hk4e-api/proto/GMShowNavMeshReq.proto new file mode 100644 index 00000000..88259ba0 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowNavMeshReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 2357 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GMShowNavMeshReq { + Vector center = 1; + Vector extent = 5; +} diff --git a/gate-hk4e-api/proto/GMShowNavMeshRsp.pb.go b/gate-hk4e-api/proto/GMShowNavMeshRsp.pb.go new file mode 100644 index 00000000..ac6168d4 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowNavMeshRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GMShowNavMeshRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2400 +// EnetChannelId: 0 +// EnetIsReliable: true +type GMShowNavMeshRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tiles []*PBNavMeshTile `protobuf:"bytes,11,rep,name=tiles,proto3" json:"tiles,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GMShowNavMeshRsp) Reset() { + *x = GMShowNavMeshRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GMShowNavMeshRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GMShowNavMeshRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GMShowNavMeshRsp) ProtoMessage() {} + +func (x *GMShowNavMeshRsp) ProtoReflect() protoreflect.Message { + mi := &file_GMShowNavMeshRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GMShowNavMeshRsp.ProtoReflect.Descriptor instead. +func (*GMShowNavMeshRsp) Descriptor() ([]byte, []int) { + return file_GMShowNavMeshRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GMShowNavMeshRsp) GetTiles() []*PBNavMeshTile { + if x != nil { + return x.Tiles + } + return nil +} + +func (x *GMShowNavMeshRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GMShowNavMeshRsp_proto protoreflect.FileDescriptor + +var file_GMShowNavMeshRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, + 0x65, 0x73, 0x68, 0x54, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, + 0x10, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x52, 0x73, + 0x70, 0x12, 0x24, 0x0a, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6c, 0x65, + 0x52, 0x05, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GMShowNavMeshRsp_proto_rawDescOnce sync.Once + file_GMShowNavMeshRsp_proto_rawDescData = file_GMShowNavMeshRsp_proto_rawDesc +) + +func file_GMShowNavMeshRsp_proto_rawDescGZIP() []byte { + file_GMShowNavMeshRsp_proto_rawDescOnce.Do(func() { + file_GMShowNavMeshRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GMShowNavMeshRsp_proto_rawDescData) + }) + return file_GMShowNavMeshRsp_proto_rawDescData +} + +var file_GMShowNavMeshRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GMShowNavMeshRsp_proto_goTypes = []interface{}{ + (*GMShowNavMeshRsp)(nil), // 0: GMShowNavMeshRsp + (*PBNavMeshTile)(nil), // 1: PBNavMeshTile +} +var file_GMShowNavMeshRsp_proto_depIdxs = []int32{ + 1, // 0: GMShowNavMeshRsp.tiles:type_name -> PBNavMeshTile + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GMShowNavMeshRsp_proto_init() } +func file_GMShowNavMeshRsp_proto_init() { + if File_GMShowNavMeshRsp_proto != nil { + return + } + file_PBNavMeshTile_proto_init() + if !protoimpl.UnsafeEnabled { + file_GMShowNavMeshRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GMShowNavMeshRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GMShowNavMeshRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GMShowNavMeshRsp_proto_goTypes, + DependencyIndexes: file_GMShowNavMeshRsp_proto_depIdxs, + MessageInfos: file_GMShowNavMeshRsp_proto_msgTypes, + }.Build() + File_GMShowNavMeshRsp_proto = out.File + file_GMShowNavMeshRsp_proto_rawDesc = nil + file_GMShowNavMeshRsp_proto_goTypes = nil + file_GMShowNavMeshRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GMShowNavMeshRsp.proto b/gate-hk4e-api/proto/GMShowNavMeshRsp.proto new file mode 100644 index 00000000..210bb89c --- /dev/null +++ b/gate-hk4e-api/proto/GMShowNavMeshRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PBNavMeshTile.proto"; + +option go_package = "./;proto"; + +// CmdId: 2400 +// EnetChannelId: 0 +// EnetIsReliable: true +message GMShowNavMeshRsp { + repeated PBNavMeshTile tiles = 11; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/GMShowObstacleReq.pb.go b/gate-hk4e-api/proto/GMShowObstacleReq.pb.go new file mode 100644 index 00000000..06612454 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowObstacleReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GMShowObstacleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2361 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GMShowObstacleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GMShowObstacleReq) Reset() { + *x = GMShowObstacleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GMShowObstacleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GMShowObstacleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GMShowObstacleReq) ProtoMessage() {} + +func (x *GMShowObstacleReq) ProtoReflect() protoreflect.Message { + mi := &file_GMShowObstacleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GMShowObstacleReq.ProtoReflect.Descriptor instead. +func (*GMShowObstacleReq) Descriptor() ([]byte, []int) { + return file_GMShowObstacleReq_proto_rawDescGZIP(), []int{0} +} + +var File_GMShowObstacleReq_proto protoreflect.FileDescriptor + +var file_GMShowObstacleReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x4d, 0x53, + 0x68, 0x6f, 0x77, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GMShowObstacleReq_proto_rawDescOnce sync.Once + file_GMShowObstacleReq_proto_rawDescData = file_GMShowObstacleReq_proto_rawDesc +) + +func file_GMShowObstacleReq_proto_rawDescGZIP() []byte { + file_GMShowObstacleReq_proto_rawDescOnce.Do(func() { + file_GMShowObstacleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GMShowObstacleReq_proto_rawDescData) + }) + return file_GMShowObstacleReq_proto_rawDescData +} + +var file_GMShowObstacleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GMShowObstacleReq_proto_goTypes = []interface{}{ + (*GMShowObstacleReq)(nil), // 0: GMShowObstacleReq +} +var file_GMShowObstacleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GMShowObstacleReq_proto_init() } +func file_GMShowObstacleReq_proto_init() { + if File_GMShowObstacleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GMShowObstacleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GMShowObstacleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GMShowObstacleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GMShowObstacleReq_proto_goTypes, + DependencyIndexes: file_GMShowObstacleReq_proto_depIdxs, + MessageInfos: file_GMShowObstacleReq_proto_msgTypes, + }.Build() + File_GMShowObstacleReq_proto = out.File + file_GMShowObstacleReq_proto_rawDesc = nil + file_GMShowObstacleReq_proto_goTypes = nil + file_GMShowObstacleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GMShowObstacleReq.proto b/gate-hk4e-api/proto/GMShowObstacleReq.proto new file mode 100644 index 00000000..1c13f0c8 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowObstacleReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2361 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GMShowObstacleReq {} diff --git a/gate-hk4e-api/proto/GMShowObstacleRsp.pb.go b/gate-hk4e-api/proto/GMShowObstacleRsp.pb.go new file mode 100644 index 00000000..20eea360 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowObstacleRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GMShowObstacleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2329 +// EnetChannelId: 0 +// EnetIsReliable: true +type GMShowObstacleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Obstacles []*ObstacleInfo `protobuf:"bytes,6,rep,name=obstacles,proto3" json:"obstacles,omitempty"` +} + +func (x *GMShowObstacleRsp) Reset() { + *x = GMShowObstacleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GMShowObstacleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GMShowObstacleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GMShowObstacleRsp) ProtoMessage() {} + +func (x *GMShowObstacleRsp) ProtoReflect() protoreflect.Message { + mi := &file_GMShowObstacleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GMShowObstacleRsp.ProtoReflect.Descriptor instead. +func (*GMShowObstacleRsp) Descriptor() ([]byte, []int) { + return file_GMShowObstacleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GMShowObstacleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GMShowObstacleRsp) GetObstacles() []*ObstacleInfo { + if x != nil { + return x.Obstacles + } + return nil +} + +var File_GMShowObstacleRsp_proto protoreflect.FileDescriptor + +var file_GMShowObstacleRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4f, 0x62, 0x73, 0x74, 0x61, + 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, + 0x11, 0x47, 0x4d, 0x53, 0x68, 0x6f, 0x77, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x09, + 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0d, 0x2e, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, + 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GMShowObstacleRsp_proto_rawDescOnce sync.Once + file_GMShowObstacleRsp_proto_rawDescData = file_GMShowObstacleRsp_proto_rawDesc +) + +func file_GMShowObstacleRsp_proto_rawDescGZIP() []byte { + file_GMShowObstacleRsp_proto_rawDescOnce.Do(func() { + file_GMShowObstacleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GMShowObstacleRsp_proto_rawDescData) + }) + return file_GMShowObstacleRsp_proto_rawDescData +} + +var file_GMShowObstacleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GMShowObstacleRsp_proto_goTypes = []interface{}{ + (*GMShowObstacleRsp)(nil), // 0: GMShowObstacleRsp + (*ObstacleInfo)(nil), // 1: ObstacleInfo +} +var file_GMShowObstacleRsp_proto_depIdxs = []int32{ + 1, // 0: GMShowObstacleRsp.obstacles:type_name -> ObstacleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GMShowObstacleRsp_proto_init() } +func file_GMShowObstacleRsp_proto_init() { + if File_GMShowObstacleRsp_proto != nil { + return + } + file_ObstacleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GMShowObstacleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GMShowObstacleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GMShowObstacleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GMShowObstacleRsp_proto_goTypes, + DependencyIndexes: file_GMShowObstacleRsp_proto_depIdxs, + MessageInfos: file_GMShowObstacleRsp_proto_msgTypes, + }.Build() + File_GMShowObstacleRsp_proto = out.File + file_GMShowObstacleRsp_proto_rawDesc = nil + file_GMShowObstacleRsp_proto_goTypes = nil + file_GMShowObstacleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GMShowObstacleRsp.proto b/gate-hk4e-api/proto/GMShowObstacleRsp.proto new file mode 100644 index 00000000..659d0385 --- /dev/null +++ b/gate-hk4e-api/proto/GMShowObstacleRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ObstacleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2329 +// EnetChannelId: 0 +// EnetIsReliable: true +message GMShowObstacleRsp { + int32 retcode = 5; + repeated ObstacleInfo obstacles = 6; +} diff --git a/gate-hk4e-api/proto/GachaActivityDetailInfo.pb.go b/gate-hk4e-api/proto/GachaActivityDetailInfo.pb.go new file mode 100644 index 00000000..2dfaab19 --- /dev/null +++ b/gate-hk4e-api/proto/GachaActivityDetailInfo.pb.go @@ -0,0 +1,239 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PIDHKNLDALB []uint32 `protobuf:"varint,6,rep,packed,name=Unk2700_PIDHKNLDALB,json=Unk2700PIDHKNLDALB,proto3" json:"Unk2700_PIDHKNLDALB,omitempty"` + GachaStageList []*GachaStage `protobuf:"bytes,4,rep,name=gacha_stage_list,json=gachaStageList,proto3" json:"gacha_stage_list,omitempty"` + Unk2700_KOHKBCABICD map[uint32]uint32 `protobuf:"bytes,8,rep,name=Unk2700_KOHKBCABICD,json=Unk2700KOHKBCABICD,proto3" json:"Unk2700_KOHKBCABICD,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_CDPAPBIOPCA uint32 `protobuf:"varint,3,opt,name=Unk2700_CDPAPBIOPCA,json=Unk2700CDPAPBIOPCA,proto3" json:"Unk2700_CDPAPBIOPCA,omitempty"` + Unk2700_DACHHINLDDJ map[uint32]uint32 `protobuf:"bytes,5,rep,name=Unk2700_DACHHINLDDJ,json=Unk2700DACHHINLDDJ,proto3" json:"Unk2700_DACHHINLDDJ,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_FGFGLDIJJEK uint32 `protobuf:"varint,12,opt,name=Unk2700_FGFGLDIJJEK,json=Unk2700FGFGLDIJJEK,proto3" json:"Unk2700_FGFGLDIJJEK,omitempty"` +} + +func (x *GachaActivityDetailInfo) Reset() { + *x = GachaActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaActivityDetailInfo) ProtoMessage() {} + +func (x *GachaActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_GachaActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*GachaActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_GachaActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaActivityDetailInfo) GetUnk2700_PIDHKNLDALB() []uint32 { + if x != nil { + return x.Unk2700_PIDHKNLDALB + } + return nil +} + +func (x *GachaActivityDetailInfo) GetGachaStageList() []*GachaStage { + if x != nil { + return x.GachaStageList + } + return nil +} + +func (x *GachaActivityDetailInfo) GetUnk2700_KOHKBCABICD() map[uint32]uint32 { + if x != nil { + return x.Unk2700_KOHKBCABICD + } + return nil +} + +func (x *GachaActivityDetailInfo) GetUnk2700_CDPAPBIOPCA() uint32 { + if x != nil { + return x.Unk2700_CDPAPBIOPCA + } + return 0 +} + +func (x *GachaActivityDetailInfo) GetUnk2700_DACHHINLDDJ() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DACHHINLDDJ + } + return nil +} + +func (x *GachaActivityDetailInfo) GetUnk2700_FGFGLDIJJEK() uint32 { + if x != nil { + return x.Unk2700_FGFGLDIJJEK + } + return 0 +} + +var File_GachaActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_GachaActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x10, 0x47, 0x61, 0x63, 0x68, 0x61, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb7, 0x04, 0x0a, 0x17, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x44, 0x48, 0x4b, 0x4e, 0x4c, + 0x44, 0x41, 0x4c, 0x42, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x50, 0x49, 0x44, 0x48, 0x4b, 0x4e, 0x4c, 0x44, 0x41, 0x4c, 0x42, 0x12, 0x35, + 0x0a, 0x10, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4f, 0x48, 0x4b, 0x42, 0x43, 0x41, 0x42, 0x49, 0x43, 0x44, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4f, 0x48, 0x4b, 0x42, 0x43, 0x41, 0x42, 0x49, 0x43, 0x44, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4f, 0x48, + 0x4b, 0x42, 0x43, 0x41, 0x42, 0x49, 0x43, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x50, 0x41, 0x50, 0x42, 0x49, 0x4f, 0x50, 0x43, 0x41, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, + 0x50, 0x41, 0x50, 0x42, 0x49, 0x4f, 0x50, 0x43, 0x41, 0x12, 0x61, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, + 0x44, 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x46, 0x47, 0x4c, 0x44, 0x49, 0x4a, + 0x4a, 0x45, 0x4b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x46, 0x47, 0x46, 0x47, 0x4c, 0x44, 0x49, 0x4a, 0x4a, 0x45, 0x4b, 0x1a, 0x45, 0x0a, + 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4f, 0x48, 0x4b, 0x42, 0x43, 0x41, 0x42, + 0x49, 0x43, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, + 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaActivityDetailInfo_proto_rawDescOnce sync.Once + file_GachaActivityDetailInfo_proto_rawDescData = file_GachaActivityDetailInfo_proto_rawDesc +) + +func file_GachaActivityDetailInfo_proto_rawDescGZIP() []byte { + file_GachaActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_GachaActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaActivityDetailInfo_proto_rawDescData) + }) + return file_GachaActivityDetailInfo_proto_rawDescData +} + +var file_GachaActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_GachaActivityDetailInfo_proto_goTypes = []interface{}{ + (*GachaActivityDetailInfo)(nil), // 0: GachaActivityDetailInfo + nil, // 1: GachaActivityDetailInfo.Unk2700KOHKBCABICDEntry + nil, // 2: GachaActivityDetailInfo.Unk2700DACHHINLDDJEntry + (*GachaStage)(nil), // 3: GachaStage +} +var file_GachaActivityDetailInfo_proto_depIdxs = []int32{ + 3, // 0: GachaActivityDetailInfo.gacha_stage_list:type_name -> GachaStage + 1, // 1: GachaActivityDetailInfo.Unk2700_KOHKBCABICD:type_name -> GachaActivityDetailInfo.Unk2700KOHKBCABICDEntry + 2, // 2: GachaActivityDetailInfo.Unk2700_DACHHINLDDJ:type_name -> GachaActivityDetailInfo.Unk2700DACHHINLDDJEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_GachaActivityDetailInfo_proto_init() } +func file_GachaActivityDetailInfo_proto_init() { + if File_GachaActivityDetailInfo_proto != nil { + return + } + file_GachaStage_proto_init() + if !protoimpl.UnsafeEnabled { + file_GachaActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_GachaActivityDetailInfo_proto_depIdxs, + MessageInfos: file_GachaActivityDetailInfo_proto_msgTypes, + }.Build() + File_GachaActivityDetailInfo_proto = out.File + file_GachaActivityDetailInfo_proto_rawDesc = nil + file_GachaActivityDetailInfo_proto_goTypes = nil + file_GachaActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaActivityDetailInfo.proto b/gate-hk4e-api/proto/GachaActivityDetailInfo.proto new file mode 100644 index 00000000..398f38e4 --- /dev/null +++ b/gate-hk4e-api/proto/GachaActivityDetailInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GachaStage.proto"; + +option go_package = "./;proto"; + +message GachaActivityDetailInfo { + repeated uint32 Unk2700_PIDHKNLDALB = 6; + repeated GachaStage gacha_stage_list = 4; + map Unk2700_KOHKBCABICD = 8; + uint32 Unk2700_CDPAPBIOPCA = 3; + map Unk2700_DACHHINLDDJ = 5; + uint32 Unk2700_FGFGLDIJJEK = 12; +} diff --git a/gate-hk4e-api/proto/GachaInfo.pb.go b/gate-hk4e-api/proto/GachaInfo.pb.go new file mode 100644 index 00000000..1d4fb5e8 --- /dev/null +++ b/gate-hk4e-api/proto/GachaInfo.pb.go @@ -0,0 +1,417 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaPreviewPrefabPath string `protobuf:"bytes,4,opt,name=gacha_preview_prefab_path,json=gachaPreviewPrefabPath,proto3" json:"gacha_preview_prefab_path,omitempty"` + CostItemId uint32 `protobuf:"varint,9,opt,name=cost_item_id,json=costItemId,proto3" json:"cost_item_id,omitempty"` + IsNewWish bool `protobuf:"varint,733,opt,name=is_new_wish,json=isNewWish,proto3" json:"is_new_wish,omitempty"` + GachaProbUrl string `protobuf:"bytes,8,opt,name=gacha_prob_url,json=gachaProbUrl,proto3" json:"gacha_prob_url,omitempty"` + GachaRecordUrlOversea string `protobuf:"bytes,1854,opt,name=gacha_record_url_oversea,json=gachaRecordUrlOversea,proto3" json:"gacha_record_url_oversea,omitempty"` + CostItemNum uint32 `protobuf:"varint,3,opt,name=cost_item_num,json=costItemNum,proto3" json:"cost_item_num,omitempty"` + GachaUpInfoList []*GachaUpInfo `protobuf:"bytes,1233,rep,name=gacha_up_info_list,json=gachaUpInfoList,proto3" json:"gacha_up_info_list,omitempty"` + DisplayUp4ItemList []uint32 `protobuf:"varint,1875,rep,packed,name=display_up4_item_list,json=displayUp4ItemList,proto3" json:"display_up4_item_list,omitempty"` + WishProgress uint32 `protobuf:"varint,1819,opt,name=wish_progress,json=wishProgress,proto3" json:"wish_progress,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + GachaSortId uint32 `protobuf:"varint,7,opt,name=gacha_sort_id,json=gachaSortId,proto3" json:"gacha_sort_id,omitempty"` + LeftGachaTimes uint32 `protobuf:"varint,5,opt,name=left_gacha_times,json=leftGachaTimes,proto3" json:"left_gacha_times,omitempty"` + GachaPrefabPath string `protobuf:"bytes,15,opt,name=gacha_prefab_path,json=gachaPrefabPath,proto3" json:"gacha_prefab_path,omitempty"` + TitleTextmap string `protobuf:"bytes,736,opt,name=title_textmap,json=titleTextmap,proto3" json:"title_textmap,omitempty"` + TenCostItemNum uint32 `protobuf:"varint,6,opt,name=ten_cost_item_num,json=tenCostItemNum,proto3" json:"ten_cost_item_num,omitempty"` + GachaType uint32 `protobuf:"varint,13,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + WishMaxProgress uint32 `protobuf:"varint,1222,opt,name=wish_max_progress,json=wishMaxProgress,proto3" json:"wish_max_progress,omitempty"` + EndTime uint32 `protobuf:"varint,14,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + TenCostItemId uint32 `protobuf:"varint,2,opt,name=ten_cost_item_id,json=tenCostItemId,proto3" json:"ten_cost_item_id,omitempty"` + GachaRecordUrl string `protobuf:"bytes,12,opt,name=gacha_record_url,json=gachaRecordUrl,proto3" json:"gacha_record_url,omitempty"` + WishItemId uint32 `protobuf:"varint,1637,opt,name=wish_item_id,json=wishItemId,proto3" json:"wish_item_id,omitempty"` + BeginTime uint32 `protobuf:"varint,1,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + GachaProbUrlOversea string `protobuf:"bytes,1481,opt,name=gacha_prob_url_oversea,json=gachaProbUrlOversea,proto3" json:"gacha_prob_url_oversea,omitempty"` + GachaTimesLimit uint32 `protobuf:"varint,11,opt,name=gacha_times_limit,json=gachaTimesLimit,proto3" json:"gacha_times_limit,omitempty"` + DisplayUp5ItemList []uint32 `protobuf:"varint,2006,rep,packed,name=display_up5_item_list,json=displayUp5ItemList,proto3" json:"display_up5_item_list,omitempty"` +} + +func (x *GachaInfo) Reset() { + *x = GachaInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaInfo) ProtoMessage() {} + +func (x *GachaInfo) ProtoReflect() protoreflect.Message { + mi := &file_GachaInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaInfo.ProtoReflect.Descriptor instead. +func (*GachaInfo) Descriptor() ([]byte, []int) { + return file_GachaInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaInfo) GetGachaPreviewPrefabPath() string { + if x != nil { + return x.GachaPreviewPrefabPath + } + return "" +} + +func (x *GachaInfo) GetCostItemId() uint32 { + if x != nil { + return x.CostItemId + } + return 0 +} + +func (x *GachaInfo) GetIsNewWish() bool { + if x != nil { + return x.IsNewWish + } + return false +} + +func (x *GachaInfo) GetGachaProbUrl() string { + if x != nil { + return x.GachaProbUrl + } + return "" +} + +func (x *GachaInfo) GetGachaRecordUrlOversea() string { + if x != nil { + return x.GachaRecordUrlOversea + } + return "" +} + +func (x *GachaInfo) GetCostItemNum() uint32 { + if x != nil { + return x.CostItemNum + } + return 0 +} + +func (x *GachaInfo) GetGachaUpInfoList() []*GachaUpInfo { + if x != nil { + return x.GachaUpInfoList + } + return nil +} + +func (x *GachaInfo) GetDisplayUp4ItemList() []uint32 { + if x != nil { + return x.DisplayUp4ItemList + } + return nil +} + +func (x *GachaInfo) GetWishProgress() uint32 { + if x != nil { + return x.WishProgress + } + return 0 +} + +func (x *GachaInfo) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *GachaInfo) GetGachaSortId() uint32 { + if x != nil { + return x.GachaSortId + } + return 0 +} + +func (x *GachaInfo) GetLeftGachaTimes() uint32 { + if x != nil { + return x.LeftGachaTimes + } + return 0 +} + +func (x *GachaInfo) GetGachaPrefabPath() string { + if x != nil { + return x.GachaPrefabPath + } + return "" +} + +func (x *GachaInfo) GetTitleTextmap() string { + if x != nil { + return x.TitleTextmap + } + return "" +} + +func (x *GachaInfo) GetTenCostItemNum() uint32 { + if x != nil { + return x.TenCostItemNum + } + return 0 +} + +func (x *GachaInfo) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *GachaInfo) GetWishMaxProgress() uint32 { + if x != nil { + return x.WishMaxProgress + } + return 0 +} + +func (x *GachaInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *GachaInfo) GetTenCostItemId() uint32 { + if x != nil { + return x.TenCostItemId + } + return 0 +} + +func (x *GachaInfo) GetGachaRecordUrl() string { + if x != nil { + return x.GachaRecordUrl + } + return "" +} + +func (x *GachaInfo) GetWishItemId() uint32 { + if x != nil { + return x.WishItemId + } + return 0 +} + +func (x *GachaInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *GachaInfo) GetGachaProbUrlOversea() string { + if x != nil { + return x.GachaProbUrlOversea + } + return "" +} + +func (x *GachaInfo) GetGachaTimesLimit() uint32 { + if x != nil { + return x.GachaTimesLimit + } + return 0 +} + +func (x *GachaInfo) GetDisplayUp5ItemList() []uint32 { + if x != nil { + return x.DisplayUp5ItemList + } + return nil +} + +var File_GachaInfo_proto protoreflect.FileDescriptor + +var file_GachaInfo_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x47, 0x61, 0x63, 0x68, 0x61, 0x55, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x08, 0x0a, 0x09, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x19, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x67, 0x61, 0x63, 0x68, 0x61, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x65, 0x77, 0x50, 0x72, 0x65, 0x66, 0x61, 0x62, 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, + 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x77, 0x69, 0x73, 0x68, 0x18, 0xdd, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x57, 0x69, 0x73, 0x68, + 0x12, 0x24, 0x0a, 0x0e, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x5f, 0x75, + 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x61, 0x63, 0x68, 0x61, 0x50, + 0x72, 0x6f, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x38, 0x0a, 0x18, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x73, + 0x65, 0x61, 0x18, 0xbe, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x67, 0x61, 0x63, 0x68, 0x61, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x55, 0x72, 0x6c, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x65, 0x61, + 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, + 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x12, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x75, 0x70, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xd1, 0x09, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x55, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x55, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x32, 0x0a, 0x15, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x75, 0x70, 0x34, 0x5f, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xd3, 0x0e, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, 0x70, 0x34, 0x49, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x9b, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x77, 0x69, + 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x67, + 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, + 0x28, 0x0a, 0x10, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x47, + 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, + 0x68, 0x61, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x50, 0x72, 0x65, 0x66, 0x61, + 0x62, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x74, + 0x65, 0x78, 0x74, 0x6d, 0x61, 0x70, 0x18, 0xe0, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x54, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x70, 0x12, 0x29, 0x0a, 0x11, 0x74, + 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x49, + 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, + 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0xc6, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, + 0x10, 0x74, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, + 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x67, 0x61, 0x63, 0x68, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x55, 0x72, 0x6c, + 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, + 0x18, 0xe5, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x69, 0x73, 0x68, 0x49, 0x74, 0x65, + 0x6d, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x62, + 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x73, 0x65, 0x61, 0x18, 0xc9, 0x0b, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x13, 0x67, 0x61, 0x63, 0x68, 0x61, 0x50, 0x72, 0x6f, 0x62, 0x55, 0x72, + 0x6c, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x65, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, + 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x75, 0x70, 0x35, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xd6, 0x0f, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, 0x70, 0x35, + 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaInfo_proto_rawDescOnce sync.Once + file_GachaInfo_proto_rawDescData = file_GachaInfo_proto_rawDesc +) + +func file_GachaInfo_proto_rawDescGZIP() []byte { + file_GachaInfo_proto_rawDescOnce.Do(func() { + file_GachaInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaInfo_proto_rawDescData) + }) + return file_GachaInfo_proto_rawDescData +} + +var file_GachaInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaInfo_proto_goTypes = []interface{}{ + (*GachaInfo)(nil), // 0: GachaInfo + (*GachaUpInfo)(nil), // 1: GachaUpInfo +} +var file_GachaInfo_proto_depIdxs = []int32{ + 1, // 0: GachaInfo.gacha_up_info_list:type_name -> GachaUpInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GachaInfo_proto_init() } +func file_GachaInfo_proto_init() { + if File_GachaInfo_proto != nil { + return + } + file_GachaUpInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GachaInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaInfo_proto_goTypes, + DependencyIndexes: file_GachaInfo_proto_depIdxs, + MessageInfos: file_GachaInfo_proto_msgTypes, + }.Build() + File_GachaInfo_proto = out.File + file_GachaInfo_proto_rawDesc = nil + file_GachaInfo_proto_goTypes = nil + file_GachaInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaInfo.proto b/gate-hk4e-api/proto/GachaInfo.proto new file mode 100644 index 00000000..4ac4773a --- /dev/null +++ b/gate-hk4e-api/proto/GachaInfo.proto @@ -0,0 +1,49 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GachaUpInfo.proto"; + +option go_package = "./;proto"; + +message GachaInfo { + string gacha_preview_prefab_path = 4; + uint32 cost_item_id = 9; + bool is_new_wish = 733; + string gacha_prob_url = 8; + string gacha_record_url_oversea = 1854; + uint32 cost_item_num = 3; + repeated GachaUpInfo gacha_up_info_list = 1233; + repeated uint32 display_up4_item_list = 1875; + uint32 wish_progress = 1819; + uint32 schedule_id = 10; + uint32 gacha_sort_id = 7; + uint32 left_gacha_times = 5; + string gacha_prefab_path = 15; + string title_textmap = 736; + uint32 ten_cost_item_num = 6; + uint32 gacha_type = 13; + uint32 wish_max_progress = 1222; + uint32 end_time = 14; + uint32 ten_cost_item_id = 2; + string gacha_record_url = 12; + uint32 wish_item_id = 1637; + uint32 begin_time = 1; + string gacha_prob_url_oversea = 1481; + uint32 gacha_times_limit = 11; + repeated uint32 display_up5_item_list = 2006; +} diff --git a/gate-hk4e-api/proto/GachaItem.pb.go b/gate-hk4e-api/proto/GachaItem.pb.go new file mode 100644 index 00000000..ca816e90 --- /dev/null +++ b/gate-hk4e-api/proto/GachaItem.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaItem.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaItem_ *ItemParam `protobuf:"bytes,7,opt,name=gacha_item_,json=gachaItem,proto3" json:"gacha_item_,omitempty"` + IsGachaItemNew bool `protobuf:"varint,6,opt,name=is_gacha_item_new,json=isGachaItemNew,proto3" json:"is_gacha_item_new,omitempty"` + IsFlashCard bool `protobuf:"varint,8,opt,name=is_flash_card,json=isFlashCard,proto3" json:"is_flash_card,omitempty"` + TokenItemList []*ItemParam `protobuf:"bytes,9,rep,name=token_item_list,json=tokenItemList,proto3" json:"token_item_list,omitempty"` + TransferItems []*GachaTransferItem `protobuf:"bytes,12,rep,name=transfer_items,json=transferItems,proto3" json:"transfer_items,omitempty"` +} + +func (x *GachaItem) Reset() { + *x = GachaItem{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaItem_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaItem) ProtoMessage() {} + +func (x *GachaItem) ProtoReflect() protoreflect.Message { + mi := &file_GachaItem_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaItem.ProtoReflect.Descriptor instead. +func (*GachaItem) Descriptor() ([]byte, []int) { + return file_GachaItem_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaItem) GetGachaItem_() *ItemParam { + if x != nil { + return x.GachaItem_ + } + return nil +} + +func (x *GachaItem) GetIsGachaItemNew() bool { + if x != nil { + return x.IsGachaItemNew + } + return false +} + +func (x *GachaItem) GetIsFlashCard() bool { + if x != nil { + return x.IsFlashCard + } + return false +} + +func (x *GachaItem) GetTokenItemList() []*ItemParam { + if x != nil { + return x.TokenItemList + } + return nil +} + +func (x *GachaItem) GetTransferItems() []*GachaTransferItem { + if x != nil { + return x.TransferItems + } + return nil +} + +var File_GachaItem_proto protoreflect.FileDescriptor + +var file_GachaItem_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x09, + 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x2a, 0x0a, 0x0b, 0x67, 0x61, 0x63, + 0x68, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, + 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x29, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x67, 0x61, 0x63, 0x68, + 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0e, 0x69, 0x73, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x65, 0x77, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x5f, 0x63, 0x61, 0x72, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x46, 0x6c, 0x61, 0x73, 0x68, + 0x43, 0x61, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, + 0x65, 0x6d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaItem_proto_rawDescOnce sync.Once + file_GachaItem_proto_rawDescData = file_GachaItem_proto_rawDesc +) + +func file_GachaItem_proto_rawDescGZIP() []byte { + file_GachaItem_proto_rawDescOnce.Do(func() { + file_GachaItem_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaItem_proto_rawDescData) + }) + return file_GachaItem_proto_rawDescData +} + +var file_GachaItem_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaItem_proto_goTypes = []interface{}{ + (*GachaItem)(nil), // 0: GachaItem + (*ItemParam)(nil), // 1: ItemParam + (*GachaTransferItem)(nil), // 2: GachaTransferItem +} +var file_GachaItem_proto_depIdxs = []int32{ + 1, // 0: GachaItem.gacha_item_:type_name -> ItemParam + 1, // 1: GachaItem.token_item_list:type_name -> ItemParam + 2, // 2: GachaItem.transfer_items:type_name -> GachaTransferItem + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_GachaItem_proto_init() } +func file_GachaItem_proto_init() { + if File_GachaItem_proto != nil { + return + } + file_GachaTransferItem_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_GachaItem_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaItem_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaItem_proto_goTypes, + DependencyIndexes: file_GachaItem_proto_depIdxs, + MessageInfos: file_GachaItem_proto_msgTypes, + }.Build() + File_GachaItem_proto = out.File + file_GachaItem_proto_rawDesc = nil + file_GachaItem_proto_goTypes = nil + file_GachaItem_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaItem.proto b/gate-hk4e-api/proto/GachaItem.proto new file mode 100644 index 00000000..c1b98fd4 --- /dev/null +++ b/gate-hk4e-api/proto/GachaItem.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GachaTransferItem.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message GachaItem { + ItemParam gacha_item_ = 7; + bool is_gacha_item_new = 6; + bool is_flash_card = 8; + repeated ItemParam token_item_list = 9; + repeated GachaTransferItem transfer_items = 12; +} diff --git a/gate-hk4e-api/proto/GachaOpenWishNotify.pb.go b/gate-hk4e-api/proto/GachaOpenWishNotify.pb.go new file mode 100644 index 00000000..4580e5fd --- /dev/null +++ b/gate-hk4e-api/proto/GachaOpenWishNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaOpenWishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GachaOpenWishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaType uint32 `protobuf:"varint,2,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + GachaScheduleId uint32 `protobuf:"varint,9,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` +} + +func (x *GachaOpenWishNotify) Reset() { + *x = GachaOpenWishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaOpenWishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaOpenWishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaOpenWishNotify) ProtoMessage() {} + +func (x *GachaOpenWishNotify) ProtoReflect() protoreflect.Message { + mi := &file_GachaOpenWishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaOpenWishNotify.ProtoReflect.Descriptor instead. +func (*GachaOpenWishNotify) Descriptor() ([]byte, []int) { + return file_GachaOpenWishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaOpenWishNotify) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *GachaOpenWishNotify) GetGachaScheduleId() uint32 { + if x != nil { + return x.GachaScheduleId + } + return 0 +} + +var File_GachaOpenWishNotify_proto protoreflect.FileDescriptor + +var file_GachaOpenWishNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x47, 0x61, 0x63, 0x68, 0x61, 0x4f, 0x70, 0x65, 0x6e, 0x57, 0x69, 0x73, 0x68, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x47, + 0x61, 0x63, 0x68, 0x61, 0x4f, 0x70, 0x65, 0x6e, 0x57, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, + 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GachaOpenWishNotify_proto_rawDescOnce sync.Once + file_GachaOpenWishNotify_proto_rawDescData = file_GachaOpenWishNotify_proto_rawDesc +) + +func file_GachaOpenWishNotify_proto_rawDescGZIP() []byte { + file_GachaOpenWishNotify_proto_rawDescOnce.Do(func() { + file_GachaOpenWishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaOpenWishNotify_proto_rawDescData) + }) + return file_GachaOpenWishNotify_proto_rawDescData +} + +var file_GachaOpenWishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaOpenWishNotify_proto_goTypes = []interface{}{ + (*GachaOpenWishNotify)(nil), // 0: GachaOpenWishNotify +} +var file_GachaOpenWishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GachaOpenWishNotify_proto_init() } +func file_GachaOpenWishNotify_proto_init() { + if File_GachaOpenWishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaOpenWishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaOpenWishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaOpenWishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaOpenWishNotify_proto_goTypes, + DependencyIndexes: file_GachaOpenWishNotify_proto_depIdxs, + MessageInfos: file_GachaOpenWishNotify_proto_msgTypes, + }.Build() + File_GachaOpenWishNotify_proto = out.File + file_GachaOpenWishNotify_proto_rawDesc = nil + file_GachaOpenWishNotify_proto_goTypes = nil + file_GachaOpenWishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaOpenWishNotify.proto b/gate-hk4e-api/proto/GachaOpenWishNotify.proto new file mode 100644 index 00000000..c256b959 --- /dev/null +++ b/gate-hk4e-api/proto/GachaOpenWishNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GachaOpenWishNotify { + uint32 gacha_type = 2; + uint32 gacha_schedule_id = 9; +} diff --git a/gate-hk4e-api/proto/GachaSimpleInfoNotify.pb.go b/gate-hk4e-api/proto/GachaSimpleInfoNotify.pb.go new file mode 100644 index 00000000..5815d4d4 --- /dev/null +++ b/gate-hk4e-api/proto/GachaSimpleInfoNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaSimpleInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1590 +// EnetChannelId: 0 +// EnetIsReliable: true +type GachaSimpleInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNew bool `protobuf:"varint,5,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` +} + +func (x *GachaSimpleInfoNotify) Reset() { + *x = GachaSimpleInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaSimpleInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaSimpleInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaSimpleInfoNotify) ProtoMessage() {} + +func (x *GachaSimpleInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_GachaSimpleInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaSimpleInfoNotify.ProtoReflect.Descriptor instead. +func (*GachaSimpleInfoNotify) Descriptor() ([]byte, []int) { + return file_GachaSimpleInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaSimpleInfoNotify) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +var File_GachaSimpleInfoNotify_proto protoreflect.FileDescriptor + +var file_GachaSimpleInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x61, 0x63, 0x68, 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, + 0x15, 0x47, 0x61, 0x63, 0x68, 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GachaSimpleInfoNotify_proto_rawDescOnce sync.Once + file_GachaSimpleInfoNotify_proto_rawDescData = file_GachaSimpleInfoNotify_proto_rawDesc +) + +func file_GachaSimpleInfoNotify_proto_rawDescGZIP() []byte { + file_GachaSimpleInfoNotify_proto_rawDescOnce.Do(func() { + file_GachaSimpleInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaSimpleInfoNotify_proto_rawDescData) + }) + return file_GachaSimpleInfoNotify_proto_rawDescData +} + +var file_GachaSimpleInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaSimpleInfoNotify_proto_goTypes = []interface{}{ + (*GachaSimpleInfoNotify)(nil), // 0: GachaSimpleInfoNotify +} +var file_GachaSimpleInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GachaSimpleInfoNotify_proto_init() } +func file_GachaSimpleInfoNotify_proto_init() { + if File_GachaSimpleInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaSimpleInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaSimpleInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaSimpleInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaSimpleInfoNotify_proto_goTypes, + DependencyIndexes: file_GachaSimpleInfoNotify_proto_depIdxs, + MessageInfos: file_GachaSimpleInfoNotify_proto_msgTypes, + }.Build() + File_GachaSimpleInfoNotify_proto = out.File + file_GachaSimpleInfoNotify_proto_rawDesc = nil + file_GachaSimpleInfoNotify_proto_goTypes = nil + file_GachaSimpleInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaSimpleInfoNotify.proto b/gate-hk4e-api/proto/GachaSimpleInfoNotify.proto new file mode 100644 index 00000000..60b629a6 --- /dev/null +++ b/gate-hk4e-api/proto/GachaSimpleInfoNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1590 +// EnetChannelId: 0 +// EnetIsReliable: true +message GachaSimpleInfoNotify { + bool is_new = 5; +} diff --git a/gate-hk4e-api/proto/GachaStage.pb.go b/gate-hk4e-api/proto/GachaStage.pb.go new file mode 100644 index 00000000..fa8012f4 --- /dev/null +++ b/gate-hk4e-api/proto/GachaStage.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_DNMNEMKIELD map[uint32]uint32 `protobuf:"bytes,14,rep,name=Unk2700_DNMNEMKIELD,json=Unk2700DNMNEMKIELD,proto3" json:"Unk2700_DNMNEMKIELD,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsOpen bool `protobuf:"varint,13,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *GachaStage) Reset() { + *x = GachaStage{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaStage) ProtoMessage() {} + +func (x *GachaStage) ProtoReflect() protoreflect.Message { + mi := &file_GachaStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaStage.ProtoReflect.Descriptor instead. +func (*GachaStage) Descriptor() ([]byte, []int) { + return file_GachaStage_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *GachaStage) GetUnk2700_DNMNEMKIELD() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DNMNEMKIELD + } + return nil +} + +func (x *GachaStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_GachaStage_proto protoreflect.FileDescriptor + +var file_GachaStage_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x47, 0x61, 0x63, 0x68, 0x61, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xdd, 0x01, 0x0a, 0x0a, 0x47, 0x61, 0x63, 0x68, 0x61, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, + 0x45, 0x4c, 0x44, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x47, 0x61, 0x63, 0x68, + 0x61, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4e, + 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, 0x4c, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, + 0x4c, 0x44, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x45, 0x0a, 0x17, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, 0x4c, + 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaStage_proto_rawDescOnce sync.Once + file_GachaStage_proto_rawDescData = file_GachaStage_proto_rawDesc +) + +func file_GachaStage_proto_rawDescGZIP() []byte { + file_GachaStage_proto_rawDescOnce.Do(func() { + file_GachaStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaStage_proto_rawDescData) + }) + return file_GachaStage_proto_rawDescData +} + +var file_GachaStage_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GachaStage_proto_goTypes = []interface{}{ + (*GachaStage)(nil), // 0: GachaStage + nil, // 1: GachaStage.Unk2700DNMNEMKIELDEntry +} +var file_GachaStage_proto_depIdxs = []int32{ + 1, // 0: GachaStage.Unk2700_DNMNEMKIELD:type_name -> GachaStage.Unk2700DNMNEMKIELDEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GachaStage_proto_init() } +func file_GachaStage_proto_init() { + if File_GachaStage_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaStage_proto_goTypes, + DependencyIndexes: file_GachaStage_proto_depIdxs, + MessageInfos: file_GachaStage_proto_msgTypes, + }.Build() + File_GachaStage_proto = out.File + file_GachaStage_proto_rawDesc = nil + file_GachaStage_proto_goTypes = nil + file_GachaStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaStage.proto b/gate-hk4e-api/proto/GachaStage.proto new file mode 100644 index 00000000..e349aecb --- /dev/null +++ b/gate-hk4e-api/proto/GachaStage.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GachaStage { + uint32 stage_id = 15; + map Unk2700_DNMNEMKIELD = 14; + bool is_open = 13; +} diff --git a/gate-hk4e-api/proto/GachaTransferItem.pb.go b/gate-hk4e-api/proto/GachaTransferItem.pb.go new file mode 100644 index 00000000..deaa9c74 --- /dev/null +++ b/gate-hk4e-api/proto/GachaTransferItem.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaTransferItem.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaTransferItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Item *ItemParam `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` + IsTransferItemNew bool `protobuf:"varint,1,opt,name=is_transfer_item_new,json=isTransferItemNew,proto3" json:"is_transfer_item_new,omitempty"` +} + +func (x *GachaTransferItem) Reset() { + *x = GachaTransferItem{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaTransferItem_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaTransferItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaTransferItem) ProtoMessage() {} + +func (x *GachaTransferItem) ProtoReflect() protoreflect.Message { + mi := &file_GachaTransferItem_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaTransferItem.ProtoReflect.Descriptor instead. +func (*GachaTransferItem) Descriptor() ([]byte, []int) { + return file_GachaTransferItem_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaTransferItem) GetItem() *ItemParam { + if x != nil { + return x.Item + } + return nil +} + +func (x *GachaTransferItem) GetIsTransferItemNew() bool { + if x != nil { + return x.IsTransferItemNew + } + return false +} + +var File_GachaTransferItem_proto protoreflect.FileDescriptor + +var file_GachaTransferItem_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, + 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x11, 0x47, 0x61, + 0x63, 0x68, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, + 0x1e, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, + 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, + 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x65, 0x77, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaTransferItem_proto_rawDescOnce sync.Once + file_GachaTransferItem_proto_rawDescData = file_GachaTransferItem_proto_rawDesc +) + +func file_GachaTransferItem_proto_rawDescGZIP() []byte { + file_GachaTransferItem_proto_rawDescOnce.Do(func() { + file_GachaTransferItem_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaTransferItem_proto_rawDescData) + }) + return file_GachaTransferItem_proto_rawDescData +} + +var file_GachaTransferItem_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaTransferItem_proto_goTypes = []interface{}{ + (*GachaTransferItem)(nil), // 0: GachaTransferItem + (*ItemParam)(nil), // 1: ItemParam +} +var file_GachaTransferItem_proto_depIdxs = []int32{ + 1, // 0: GachaTransferItem.item:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GachaTransferItem_proto_init() } +func file_GachaTransferItem_proto_init() { + if File_GachaTransferItem_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_GachaTransferItem_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaTransferItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaTransferItem_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaTransferItem_proto_goTypes, + DependencyIndexes: file_GachaTransferItem_proto_depIdxs, + MessageInfos: file_GachaTransferItem_proto_msgTypes, + }.Build() + File_GachaTransferItem_proto = out.File + file_GachaTransferItem_proto_rawDesc = nil + file_GachaTransferItem_proto_goTypes = nil + file_GachaTransferItem_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaTransferItem.proto b/gate-hk4e-api/proto/GachaTransferItem.proto new file mode 100644 index 00000000..a5c02b2a --- /dev/null +++ b/gate-hk4e-api/proto/GachaTransferItem.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message GachaTransferItem { + ItemParam item = 3; + bool is_transfer_item_new = 1; +} diff --git a/gate-hk4e-api/proto/GachaUpInfo.pb.go b/gate-hk4e-api/proto/GachaUpInfo.pb.go new file mode 100644 index 00000000..3857489b --- /dev/null +++ b/gate-hk4e-api/proto/GachaUpInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaUpInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GachaUpInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemParentType uint32 `protobuf:"varint,7,opt,name=item_parent_type,json=itemParentType,proto3" json:"item_parent_type,omitempty"` + ItemIdList []uint32 `protobuf:"varint,15,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *GachaUpInfo) Reset() { + *x = GachaUpInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaUpInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaUpInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaUpInfo) ProtoMessage() {} + +func (x *GachaUpInfo) ProtoReflect() protoreflect.Message { + mi := &file_GachaUpInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaUpInfo.ProtoReflect.Descriptor instead. +func (*GachaUpInfo) Descriptor() ([]byte, []int) { + return file_GachaUpInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaUpInfo) GetItemParentType() uint32 { + if x != nil { + return x.ItemParentType + } + return 0 +} + +func (x *GachaUpInfo) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_GachaUpInfo_proto protoreflect.FileDescriptor + +var file_GachaUpInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x47, 0x61, 0x63, 0x68, 0x61, 0x55, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x0b, 0x47, 0x61, 0x63, 0x68, 0x61, 0x55, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x69, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0c, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GachaUpInfo_proto_rawDescOnce sync.Once + file_GachaUpInfo_proto_rawDescData = file_GachaUpInfo_proto_rawDesc +) + +func file_GachaUpInfo_proto_rawDescGZIP() []byte { + file_GachaUpInfo_proto_rawDescOnce.Do(func() { + file_GachaUpInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaUpInfo_proto_rawDescData) + }) + return file_GachaUpInfo_proto_rawDescData +} + +var file_GachaUpInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaUpInfo_proto_goTypes = []interface{}{ + (*GachaUpInfo)(nil), // 0: GachaUpInfo +} +var file_GachaUpInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GachaUpInfo_proto_init() } +func file_GachaUpInfo_proto_init() { + if File_GachaUpInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaUpInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaUpInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaUpInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaUpInfo_proto_goTypes, + DependencyIndexes: file_GachaUpInfo_proto_depIdxs, + MessageInfos: file_GachaUpInfo_proto_msgTypes, + }.Build() + File_GachaUpInfo_proto = out.File + file_GachaUpInfo_proto_rawDesc = nil + file_GachaUpInfo_proto_goTypes = nil + file_GachaUpInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaUpInfo.proto b/gate-hk4e-api/proto/GachaUpInfo.proto new file mode 100644 index 00000000..70932e0a --- /dev/null +++ b/gate-hk4e-api/proto/GachaUpInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GachaUpInfo { + uint32 item_parent_type = 7; + repeated uint32 item_id_list = 15; +} diff --git a/gate-hk4e-api/proto/GachaWishReq.pb.go b/gate-hk4e-api/proto/GachaWishReq.pb.go new file mode 100644 index 00000000..e5ad92bc --- /dev/null +++ b/gate-hk4e-api/proto/GachaWishReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaWishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GachaWishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaScheduleId uint32 `protobuf:"varint,14,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` + GachaType uint32 `protobuf:"varint,13,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + ItemId uint32 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` +} + +func (x *GachaWishReq) Reset() { + *x = GachaWishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaWishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaWishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaWishReq) ProtoMessage() {} + +func (x *GachaWishReq) ProtoReflect() protoreflect.Message { + mi := &file_GachaWishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaWishReq.ProtoReflect.Descriptor instead. +func (*GachaWishReq) Descriptor() ([]byte, []int) { + return file_GachaWishReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaWishReq) GetGachaScheduleId() uint32 { + if x != nil { + return x.GachaScheduleId + } + return 0 +} + +func (x *GachaWishReq) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *GachaWishReq) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +var File_GachaWishReq_proto protoreflect.FileDescriptor + +var file_GachaWishReq_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x47, 0x61, 0x63, 0x68, 0x61, 0x57, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x0c, 0x47, 0x61, 0x63, 0x68, 0x61, 0x57, 0x69, 0x73, + 0x68, 0x52, 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GachaWishReq_proto_rawDescOnce sync.Once + file_GachaWishReq_proto_rawDescData = file_GachaWishReq_proto_rawDesc +) + +func file_GachaWishReq_proto_rawDescGZIP() []byte { + file_GachaWishReq_proto_rawDescOnce.Do(func() { + file_GachaWishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaWishReq_proto_rawDescData) + }) + return file_GachaWishReq_proto_rawDescData +} + +var file_GachaWishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaWishReq_proto_goTypes = []interface{}{ + (*GachaWishReq)(nil), // 0: GachaWishReq +} +var file_GachaWishReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GachaWishReq_proto_init() } +func file_GachaWishReq_proto_init() { + if File_GachaWishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaWishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaWishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaWishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaWishReq_proto_goTypes, + DependencyIndexes: file_GachaWishReq_proto_depIdxs, + MessageInfos: file_GachaWishReq_proto_msgTypes, + }.Build() + File_GachaWishReq_proto = out.File + file_GachaWishReq_proto_rawDesc = nil + file_GachaWishReq_proto_goTypes = nil + file_GachaWishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaWishReq.proto b/gate-hk4e-api/proto/GachaWishReq.proto new file mode 100644 index 00000000..42831403 --- /dev/null +++ b/gate-hk4e-api/proto/GachaWishReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GachaWishReq { + uint32 gacha_schedule_id = 14; + uint32 gacha_type = 13; + uint32 item_id = 4; +} diff --git a/gate-hk4e-api/proto/GachaWishRsp.pb.go b/gate-hk4e-api/proto/GachaWishRsp.pb.go new file mode 100644 index 00000000..1200249f --- /dev/null +++ b/gate-hk4e-api/proto/GachaWishRsp.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GachaWishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1521 +// EnetChannelId: 0 +// EnetIsReliable: true +type GachaWishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GachaType uint32 `protobuf:"varint,8,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` + GachaScheduleId uint32 `protobuf:"varint,7,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` + WishMaxProgress uint32 `protobuf:"varint,2,opt,name=wish_max_progress,json=wishMaxProgress,proto3" json:"wish_max_progress,omitempty"` + WishProgress uint32 `protobuf:"varint,5,opt,name=wish_progress,json=wishProgress,proto3" json:"wish_progress,omitempty"` + WishItemId uint32 `protobuf:"varint,3,opt,name=wish_item_id,json=wishItemId,proto3" json:"wish_item_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GachaWishRsp) Reset() { + *x = GachaWishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GachaWishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GachaWishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GachaWishRsp) ProtoMessage() {} + +func (x *GachaWishRsp) ProtoReflect() protoreflect.Message { + mi := &file_GachaWishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GachaWishRsp.ProtoReflect.Descriptor instead. +func (*GachaWishRsp) Descriptor() ([]byte, []int) { + return file_GachaWishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GachaWishRsp) GetGachaType() uint32 { + if x != nil { + return x.GachaType + } + return 0 +} + +func (x *GachaWishRsp) GetGachaScheduleId() uint32 { + if x != nil { + return x.GachaScheduleId + } + return 0 +} + +func (x *GachaWishRsp) GetWishMaxProgress() uint32 { + if x != nil { + return x.WishMaxProgress + } + return 0 +} + +func (x *GachaWishRsp) GetWishProgress() uint32 { + if x != nil { + return x.WishProgress + } + return 0 +} + +func (x *GachaWishRsp) GetWishItemId() uint32 { + if x != nil { + return x.WishItemId + } + return 0 +} + +func (x *GachaWishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GachaWishRsp_proto protoreflect.FileDescriptor + +var file_GachaWishRsp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x47, 0x61, 0x63, 0x68, 0x61, 0x57, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x0c, 0x47, 0x61, 0x63, 0x68, 0x61, 0x57, 0x69, + 0x73, 0x68, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x73, + 0x68, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, + 0x77, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x69, 0x73, 0x68, 0x49, 0x74, 0x65, + 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GachaWishRsp_proto_rawDescOnce sync.Once + file_GachaWishRsp_proto_rawDescData = file_GachaWishRsp_proto_rawDesc +) + +func file_GachaWishRsp_proto_rawDescGZIP() []byte { + file_GachaWishRsp_proto_rawDescOnce.Do(func() { + file_GachaWishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GachaWishRsp_proto_rawDescData) + }) + return file_GachaWishRsp_proto_rawDescData +} + +var file_GachaWishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GachaWishRsp_proto_goTypes = []interface{}{ + (*GachaWishRsp)(nil), // 0: GachaWishRsp +} +var file_GachaWishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GachaWishRsp_proto_init() } +func file_GachaWishRsp_proto_init() { + if File_GachaWishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GachaWishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GachaWishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GachaWishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GachaWishRsp_proto_goTypes, + DependencyIndexes: file_GachaWishRsp_proto_depIdxs, + MessageInfos: file_GachaWishRsp_proto_msgTypes, + }.Build() + File_GachaWishRsp_proto = out.File + file_GachaWishRsp_proto_rawDesc = nil + file_GachaWishRsp_proto_goTypes = nil + file_GachaWishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GachaWishRsp.proto b/gate-hk4e-api/proto/GachaWishRsp.proto new file mode 100644 index 00000000..0571eae8 --- /dev/null +++ b/gate-hk4e-api/proto/GachaWishRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1521 +// EnetChannelId: 0 +// EnetIsReliable: true +message GachaWishRsp { + uint32 gacha_type = 8; + uint32 gacha_schedule_id = 7; + uint32 wish_max_progress = 2; + uint32 wish_progress = 5; + uint32 wish_item_id = 3; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.pb.go b/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.pb.go new file mode 100644 index 00000000..c6a67d70 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetAutoPickDropInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 897 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetAutoPickDropInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*Item `protobuf:"bytes,11,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *GadgetAutoPickDropInfoNotify) Reset() { + *x = GadgetAutoPickDropInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetAutoPickDropInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetAutoPickDropInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetAutoPickDropInfoNotify) ProtoMessage() {} + +func (x *GadgetAutoPickDropInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetAutoPickDropInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetAutoPickDropInfoNotify.ProtoReflect.Descriptor instead. +func (*GadgetAutoPickDropInfoNotify) Descriptor() ([]byte, []int) { + return file_GadgetAutoPickDropInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetAutoPickDropInfoNotify) GetItemList() []*Item { + if x != nil { + return x.ItemList + } + return nil +} + +var File_GadgetAutoPickDropInfoNotify_proto protoreflect.FileDescriptor + +var file_GadgetAutoPickDropInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x50, 0x69, 0x63, 0x6b, + 0x44, 0x72, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x42, 0x0a, 0x1c, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x50, 0x69, + 0x63, 0x6b, 0x44, 0x72, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x22, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetAutoPickDropInfoNotify_proto_rawDescOnce sync.Once + file_GadgetAutoPickDropInfoNotify_proto_rawDescData = file_GadgetAutoPickDropInfoNotify_proto_rawDesc +) + +func file_GadgetAutoPickDropInfoNotify_proto_rawDescGZIP() []byte { + file_GadgetAutoPickDropInfoNotify_proto_rawDescOnce.Do(func() { + file_GadgetAutoPickDropInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetAutoPickDropInfoNotify_proto_rawDescData) + }) + return file_GadgetAutoPickDropInfoNotify_proto_rawDescData +} + +var file_GadgetAutoPickDropInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetAutoPickDropInfoNotify_proto_goTypes = []interface{}{ + (*GadgetAutoPickDropInfoNotify)(nil), // 0: GadgetAutoPickDropInfoNotify + (*Item)(nil), // 1: Item +} +var file_GadgetAutoPickDropInfoNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetAutoPickDropInfoNotify.item_list:type_name -> Item + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetAutoPickDropInfoNotify_proto_init() } +func file_GadgetAutoPickDropInfoNotify_proto_init() { + if File_GadgetAutoPickDropInfoNotify_proto != nil { + return + } + file_Item_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetAutoPickDropInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetAutoPickDropInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetAutoPickDropInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetAutoPickDropInfoNotify_proto_goTypes, + DependencyIndexes: file_GadgetAutoPickDropInfoNotify_proto_depIdxs, + MessageInfos: file_GadgetAutoPickDropInfoNotify_proto_msgTypes, + }.Build() + File_GadgetAutoPickDropInfoNotify_proto = out.File + file_GadgetAutoPickDropInfoNotify_proto_rawDesc = nil + file_GadgetAutoPickDropInfoNotify_proto_goTypes = nil + file_GadgetAutoPickDropInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.proto b/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.proto new file mode 100644 index 00000000..477c78f3 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetAutoPickDropInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Item.proto"; + +option go_package = "./;proto"; + +// CmdId: 897 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetAutoPickDropInfoNotify { + repeated Item item_list = 11; +} diff --git a/gate-hk4e-api/proto/GadgetBornType.pb.go b/gate-hk4e-api/proto/GadgetBornType.pb.go new file mode 100644 index 00000000..a4c1ed57 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetBornType.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetBornType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GadgetBornType int32 + +const ( + GadgetBornType_GADGET_BORN_TYPE_NONE GadgetBornType = 0 + GadgetBornType_GADGET_BORN_TYPE_IN_AIR GadgetBornType = 1 + GadgetBornType_GADGET_BORN_TYPE_PLAYER GadgetBornType = 2 + GadgetBornType_GADGET_BORN_TYPE_MONSTER_HIT GadgetBornType = 3 + GadgetBornType_GADGET_BORN_TYPE_MONSTER_DIE GadgetBornType = 4 + GadgetBornType_GADGET_BORN_TYPE_GADGET GadgetBornType = 5 + GadgetBornType_GADGET_BORN_TYPE_GROUND GadgetBornType = 6 +) + +// Enum value maps for GadgetBornType. +var ( + GadgetBornType_name = map[int32]string{ + 0: "GADGET_BORN_TYPE_NONE", + 1: "GADGET_BORN_TYPE_IN_AIR", + 2: "GADGET_BORN_TYPE_PLAYER", + 3: "GADGET_BORN_TYPE_MONSTER_HIT", + 4: "GADGET_BORN_TYPE_MONSTER_DIE", + 5: "GADGET_BORN_TYPE_GADGET", + 6: "GADGET_BORN_TYPE_GROUND", + } + GadgetBornType_value = map[string]int32{ + "GADGET_BORN_TYPE_NONE": 0, + "GADGET_BORN_TYPE_IN_AIR": 1, + "GADGET_BORN_TYPE_PLAYER": 2, + "GADGET_BORN_TYPE_MONSTER_HIT": 3, + "GADGET_BORN_TYPE_MONSTER_DIE": 4, + "GADGET_BORN_TYPE_GADGET": 5, + "GADGET_BORN_TYPE_GROUND": 6, + } +) + +func (x GadgetBornType) Enum() *GadgetBornType { + p := new(GadgetBornType) + *p = x + return p +} + +func (x GadgetBornType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GadgetBornType) Descriptor() protoreflect.EnumDescriptor { + return file_GadgetBornType_proto_enumTypes[0].Descriptor() +} + +func (GadgetBornType) Type() protoreflect.EnumType { + return &file_GadgetBornType_proto_enumTypes[0] +} + +func (x GadgetBornType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GadgetBornType.Descriptor instead. +func (GadgetBornType) EnumDescriptor() ([]byte, []int) { + return file_GadgetBornType_proto_rawDescGZIP(), []int{0} +} + +var File_GadgetBornType_proto protoreflect.FileDescriptor + +var file_GadgetBornType_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xe3, 0x01, 0x0a, 0x0e, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x41, 0x44, + 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, + 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x41, 0x49, 0x52, 0x10, + 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, 0x4e, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x10, 0x02, 0x12, 0x20, + 0x0a, 0x1c, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x03, + 0x12, 0x20, 0x0a, 0x1c, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, + 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x10, 0x05, 0x12, + 0x1b, 0x0a, 0x17, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x06, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetBornType_proto_rawDescOnce sync.Once + file_GadgetBornType_proto_rawDescData = file_GadgetBornType_proto_rawDesc +) + +func file_GadgetBornType_proto_rawDescGZIP() []byte { + file_GadgetBornType_proto_rawDescOnce.Do(func() { + file_GadgetBornType_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetBornType_proto_rawDescData) + }) + return file_GadgetBornType_proto_rawDescData +} + +var file_GadgetBornType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_GadgetBornType_proto_goTypes = []interface{}{ + (GadgetBornType)(0), // 0: GadgetBornType +} +var file_GadgetBornType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetBornType_proto_init() } +func file_GadgetBornType_proto_init() { + if File_GadgetBornType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetBornType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetBornType_proto_goTypes, + DependencyIndexes: file_GadgetBornType_proto_depIdxs, + EnumInfos: file_GadgetBornType_proto_enumTypes, + }.Build() + File_GadgetBornType_proto = out.File + file_GadgetBornType_proto_rawDesc = nil + file_GadgetBornType_proto_goTypes = nil + file_GadgetBornType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetBornType.proto b/gate-hk4e-api/proto/GadgetBornType.proto new file mode 100644 index 00000000..8232119b --- /dev/null +++ b/gate-hk4e-api/proto/GadgetBornType.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum GadgetBornType { + GADGET_BORN_TYPE_NONE = 0; + GADGET_BORN_TYPE_IN_AIR = 1; + GADGET_BORN_TYPE_PLAYER = 2; + GADGET_BORN_TYPE_MONSTER_HIT = 3; + GADGET_BORN_TYPE_MONSTER_DIE = 4; + GADGET_BORN_TYPE_GADGET = 5; + GADGET_BORN_TYPE_GROUND = 6; +} diff --git a/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.pb.go b/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.pb.go new file mode 100644 index 00000000..0f51f765 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetChainLevelChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 822 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetChainLevelChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetChainLevelMap map[uint32]uint32 `protobuf:"bytes,2,rep,name=gadget_chain_level_map,json=gadgetChainLevelMap,proto3" json:"gadget_chain_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *GadgetChainLevelChangeNotify) Reset() { + *x = GadgetChainLevelChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetChainLevelChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetChainLevelChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetChainLevelChangeNotify) ProtoMessage() {} + +func (x *GadgetChainLevelChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetChainLevelChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetChainLevelChangeNotify.ProtoReflect.Descriptor instead. +func (*GadgetChainLevelChangeNotify) Descriptor() ([]byte, []int) { + return file_GadgetChainLevelChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetChainLevelChangeNotify) GetGadgetChainLevelMap() map[uint32]uint32 { + if x != nil { + return x.GadgetChainLevelMap + } + return nil +} + +var File_GadgetChainLevelChangeNotify_proto protoreflect.FileDescriptor + +var file_GadgetChainLevelChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x1c, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6b, 0x0a, 0x16, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, + 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, + 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetChainLevelChangeNotify_proto_rawDescOnce sync.Once + file_GadgetChainLevelChangeNotify_proto_rawDescData = file_GadgetChainLevelChangeNotify_proto_rawDesc +) + +func file_GadgetChainLevelChangeNotify_proto_rawDescGZIP() []byte { + file_GadgetChainLevelChangeNotify_proto_rawDescOnce.Do(func() { + file_GadgetChainLevelChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetChainLevelChangeNotify_proto_rawDescData) + }) + return file_GadgetChainLevelChangeNotify_proto_rawDescData +} + +var file_GadgetChainLevelChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GadgetChainLevelChangeNotify_proto_goTypes = []interface{}{ + (*GadgetChainLevelChangeNotify)(nil), // 0: GadgetChainLevelChangeNotify + nil, // 1: GadgetChainLevelChangeNotify.GadgetChainLevelMapEntry +} +var file_GadgetChainLevelChangeNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetChainLevelChangeNotify.gadget_chain_level_map:type_name -> GadgetChainLevelChangeNotify.GadgetChainLevelMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetChainLevelChangeNotify_proto_init() } +func file_GadgetChainLevelChangeNotify_proto_init() { + if File_GadgetChainLevelChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetChainLevelChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetChainLevelChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetChainLevelChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetChainLevelChangeNotify_proto_goTypes, + DependencyIndexes: file_GadgetChainLevelChangeNotify_proto_depIdxs, + MessageInfos: file_GadgetChainLevelChangeNotify_proto_msgTypes, + }.Build() + File_GadgetChainLevelChangeNotify_proto = out.File + file_GadgetChainLevelChangeNotify_proto_rawDesc = nil + file_GadgetChainLevelChangeNotify_proto_goTypes = nil + file_GadgetChainLevelChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.proto b/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.proto new file mode 100644 index 00000000..5a4bc523 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetChainLevelChangeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 822 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetChainLevelChangeNotify { + map gadget_chain_level_map = 2; +} diff --git a/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.pb.go b/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.pb.go new file mode 100644 index 00000000..d2022303 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetChainLevelUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 853 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetChainLevelUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetChainLevelMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=gadget_chain_level_map,json=gadgetChainLevelMap,proto3" json:"gadget_chain_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *GadgetChainLevelUpdateNotify) Reset() { + *x = GadgetChainLevelUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetChainLevelUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetChainLevelUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetChainLevelUpdateNotify) ProtoMessage() {} + +func (x *GadgetChainLevelUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetChainLevelUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetChainLevelUpdateNotify.ProtoReflect.Descriptor instead. +func (*GadgetChainLevelUpdateNotify) Descriptor() ([]byte, []int) { + return file_GadgetChainLevelUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetChainLevelUpdateNotify) GetGadgetChainLevelMap() map[uint32]uint32 { + if x != nil { + return x.GadgetChainLevelMap + } + return nil +} + +var File_GadgetChainLevelUpdateNotify_proto protoreflect.FileDescriptor + +var file_GadgetChainLevelUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x1c, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6b, 0x0a, 0x16, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, + 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, + 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetChainLevelUpdateNotify_proto_rawDescOnce sync.Once + file_GadgetChainLevelUpdateNotify_proto_rawDescData = file_GadgetChainLevelUpdateNotify_proto_rawDesc +) + +func file_GadgetChainLevelUpdateNotify_proto_rawDescGZIP() []byte { + file_GadgetChainLevelUpdateNotify_proto_rawDescOnce.Do(func() { + file_GadgetChainLevelUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetChainLevelUpdateNotify_proto_rawDescData) + }) + return file_GadgetChainLevelUpdateNotify_proto_rawDescData +} + +var file_GadgetChainLevelUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GadgetChainLevelUpdateNotify_proto_goTypes = []interface{}{ + (*GadgetChainLevelUpdateNotify)(nil), // 0: GadgetChainLevelUpdateNotify + nil, // 1: GadgetChainLevelUpdateNotify.GadgetChainLevelMapEntry +} +var file_GadgetChainLevelUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetChainLevelUpdateNotify.gadget_chain_level_map:type_name -> GadgetChainLevelUpdateNotify.GadgetChainLevelMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetChainLevelUpdateNotify_proto_init() } +func file_GadgetChainLevelUpdateNotify_proto_init() { + if File_GadgetChainLevelUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetChainLevelUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetChainLevelUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetChainLevelUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetChainLevelUpdateNotify_proto_goTypes, + DependencyIndexes: file_GadgetChainLevelUpdateNotify_proto_depIdxs, + MessageInfos: file_GadgetChainLevelUpdateNotify_proto_msgTypes, + }.Build() + File_GadgetChainLevelUpdateNotify_proto = out.File + file_GadgetChainLevelUpdateNotify_proto_rawDesc = nil + file_GadgetChainLevelUpdateNotify_proto_goTypes = nil + file_GadgetChainLevelUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.proto b/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.proto new file mode 100644 index 00000000..08e8d144 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetChainLevelUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 853 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetChainLevelUpdateNotify { + map gadget_chain_level_map = 12; +} diff --git a/gate-hk4e-api/proto/GadgetCrucibleInfo.pb.go b/gate-hk4e-api/proto/GadgetCrucibleInfo.pb.go new file mode 100644 index 00000000..0f603b3c --- /dev/null +++ b/gate-hk4e-api/proto/GadgetCrucibleInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetCrucibleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GadgetCrucibleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,1,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + PrepareEndTime uint32 `protobuf:"varint,2,opt,name=prepare_end_time,json=prepareEndTime,proto3" json:"prepare_end_time,omitempty"` +} + +func (x *GadgetCrucibleInfo) Reset() { + *x = GadgetCrucibleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetCrucibleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetCrucibleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetCrucibleInfo) ProtoMessage() {} + +func (x *GadgetCrucibleInfo) ProtoReflect() protoreflect.Message { + mi := &file_GadgetCrucibleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetCrucibleInfo.ProtoReflect.Descriptor instead. +func (*GadgetCrucibleInfo) Descriptor() ([]byte, []int) { + return file_GadgetCrucibleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetCrucibleInfo) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *GadgetCrucibleInfo) GetPrepareEndTime() uint32 { + if x != nil { + return x.PrepareEndTime + } + return 0 +} + +var File_GadgetCrucibleInfo_proto protoreflect.FileDescriptor + +var file_GadgetCrucibleInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x12, 0x47, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetCrucibleInfo_proto_rawDescOnce sync.Once + file_GadgetCrucibleInfo_proto_rawDescData = file_GadgetCrucibleInfo_proto_rawDesc +) + +func file_GadgetCrucibleInfo_proto_rawDescGZIP() []byte { + file_GadgetCrucibleInfo_proto_rawDescOnce.Do(func() { + file_GadgetCrucibleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetCrucibleInfo_proto_rawDescData) + }) + return file_GadgetCrucibleInfo_proto_rawDescData +} + +var file_GadgetCrucibleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetCrucibleInfo_proto_goTypes = []interface{}{ + (*GadgetCrucibleInfo)(nil), // 0: GadgetCrucibleInfo +} +var file_GadgetCrucibleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetCrucibleInfo_proto_init() } +func file_GadgetCrucibleInfo_proto_init() { + if File_GadgetCrucibleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetCrucibleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetCrucibleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetCrucibleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetCrucibleInfo_proto_goTypes, + DependencyIndexes: file_GadgetCrucibleInfo_proto_depIdxs, + MessageInfos: file_GadgetCrucibleInfo_proto_msgTypes, + }.Build() + File_GadgetCrucibleInfo_proto = out.File + file_GadgetCrucibleInfo_proto_rawDesc = nil + file_GadgetCrucibleInfo_proto_goTypes = nil + file_GadgetCrucibleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetCrucibleInfo.proto b/gate-hk4e-api/proto/GadgetCrucibleInfo.proto new file mode 100644 index 00000000..2abef424 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetCrucibleInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GadgetCrucibleInfo { + uint32 mp_play_id = 1; + uint32 prepare_end_time = 2; +} diff --git a/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.pb.go b/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.pb.go new file mode 100644 index 00000000..669ea73b --- /dev/null +++ b/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetCustomTreeInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 850 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetCustomTreeInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CustomGadgetTreeInfo *CustomGadgetTreeInfo `protobuf:"bytes,5,opt,name=custom_gadget_tree_info,json=customGadgetTreeInfo,proto3" json:"custom_gadget_tree_info,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,12,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *GadgetCustomTreeInfoNotify) Reset() { + *x = GadgetCustomTreeInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetCustomTreeInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetCustomTreeInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetCustomTreeInfoNotify) ProtoMessage() {} + +func (x *GadgetCustomTreeInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetCustomTreeInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetCustomTreeInfoNotify.ProtoReflect.Descriptor instead. +func (*GadgetCustomTreeInfoNotify) Descriptor() ([]byte, []int) { + return file_GadgetCustomTreeInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetCustomTreeInfoNotify) GetCustomGadgetTreeInfo() *CustomGadgetTreeInfo { + if x != nil { + return x.CustomGadgetTreeInfo + } + return nil +} + +func (x *GadgetCustomTreeInfoNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_GadgetCustomTreeInfoNotify_proto protoreflect.FileDescriptor + +var file_GadgetCustomTreeInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x72, + 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, + 0x01, 0x0a, 0x1a, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, + 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4c, 0x0a, + 0x17, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x74, + 0x72, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetCustomTreeInfoNotify_proto_rawDescOnce sync.Once + file_GadgetCustomTreeInfoNotify_proto_rawDescData = file_GadgetCustomTreeInfoNotify_proto_rawDesc +) + +func file_GadgetCustomTreeInfoNotify_proto_rawDescGZIP() []byte { + file_GadgetCustomTreeInfoNotify_proto_rawDescOnce.Do(func() { + file_GadgetCustomTreeInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetCustomTreeInfoNotify_proto_rawDescData) + }) + return file_GadgetCustomTreeInfoNotify_proto_rawDescData +} + +var file_GadgetCustomTreeInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetCustomTreeInfoNotify_proto_goTypes = []interface{}{ + (*GadgetCustomTreeInfoNotify)(nil), // 0: GadgetCustomTreeInfoNotify + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_GadgetCustomTreeInfoNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetCustomTreeInfoNotify.custom_gadget_tree_info:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetCustomTreeInfoNotify_proto_init() } +func file_GadgetCustomTreeInfoNotify_proto_init() { + if File_GadgetCustomTreeInfoNotify_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetCustomTreeInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetCustomTreeInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetCustomTreeInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetCustomTreeInfoNotify_proto_goTypes, + DependencyIndexes: file_GadgetCustomTreeInfoNotify_proto_depIdxs, + MessageInfos: file_GadgetCustomTreeInfoNotify_proto_msgTypes, + }.Build() + File_GadgetCustomTreeInfoNotify_proto = out.File + file_GadgetCustomTreeInfoNotify_proto_rawDesc = nil + file_GadgetCustomTreeInfoNotify_proto_goTypes = nil + file_GadgetCustomTreeInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.proto b/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.proto new file mode 100644 index 00000000..93730e84 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetCustomTreeInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 850 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetCustomTreeInfoNotify { + CustomGadgetTreeInfo custom_gadget_tree_info = 5; + uint32 gadget_entity_id = 12; +} diff --git a/gate-hk4e-api/proto/GadgetGeneralRewardInfo.pb.go b/gate-hk4e-api/proto/GadgetGeneralRewardInfo.pb.go new file mode 100644 index 00000000..28b1c395 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetGeneralRewardInfo.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetGeneralRewardInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GadgetGeneralRewardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Resin uint32 `protobuf:"varint,1,opt,name=resin,proto3" json:"resin,omitempty"` + DeadTime uint32 `protobuf:"varint,2,opt,name=dead_time,json=deadTime,proto3" json:"dead_time,omitempty"` + RemainUidList []uint32 `protobuf:"varint,3,rep,packed,name=remain_uid_list,json=remainUidList,proto3" json:"remain_uid_list,omitempty"` + QualifyUidList []uint32 `protobuf:"varint,4,rep,packed,name=qualify_uid_list,json=qualifyUidList,proto3" json:"qualify_uid_list,omitempty"` + ItemParam *ItemParam `protobuf:"bytes,5,opt,name=item_param,json=itemParam,proto3" json:"item_param,omitempty"` +} + +func (x *GadgetGeneralRewardInfo) Reset() { + *x = GadgetGeneralRewardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetGeneralRewardInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetGeneralRewardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetGeneralRewardInfo) ProtoMessage() {} + +func (x *GadgetGeneralRewardInfo) ProtoReflect() protoreflect.Message { + mi := &file_GadgetGeneralRewardInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetGeneralRewardInfo.ProtoReflect.Descriptor instead. +func (*GadgetGeneralRewardInfo) Descriptor() ([]byte, []int) { + return file_GadgetGeneralRewardInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetGeneralRewardInfo) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *GadgetGeneralRewardInfo) GetDeadTime() uint32 { + if x != nil { + return x.DeadTime + } + return 0 +} + +func (x *GadgetGeneralRewardInfo) GetRemainUidList() []uint32 { + if x != nil { + return x.RemainUidList + } + return nil +} + +func (x *GadgetGeneralRewardInfo) GetQualifyUidList() []uint32 { + if x != nil { + return x.QualifyUidList + } + return nil +} + +func (x *GadgetGeneralRewardInfo) GetItemParam() *ItemParam { + if x != nil { + return x.ItemParam + } + return nil +} + +var File_GadgetGeneralRewardInfo_proto protoreflect.FileDescriptor + +var file_GadgetGeneralRewardInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc9, 0x01, 0x0a, 0x17, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, + 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x65, 0x73, + 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, + 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, + 0x66, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0e, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x52, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetGeneralRewardInfo_proto_rawDescOnce sync.Once + file_GadgetGeneralRewardInfo_proto_rawDescData = file_GadgetGeneralRewardInfo_proto_rawDesc +) + +func file_GadgetGeneralRewardInfo_proto_rawDescGZIP() []byte { + file_GadgetGeneralRewardInfo_proto_rawDescOnce.Do(func() { + file_GadgetGeneralRewardInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetGeneralRewardInfo_proto_rawDescData) + }) + return file_GadgetGeneralRewardInfo_proto_rawDescData +} + +var file_GadgetGeneralRewardInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetGeneralRewardInfo_proto_goTypes = []interface{}{ + (*GadgetGeneralRewardInfo)(nil), // 0: GadgetGeneralRewardInfo + (*ItemParam)(nil), // 1: ItemParam +} +var file_GadgetGeneralRewardInfo_proto_depIdxs = []int32{ + 1, // 0: GadgetGeneralRewardInfo.item_param:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetGeneralRewardInfo_proto_init() } +func file_GadgetGeneralRewardInfo_proto_init() { + if File_GadgetGeneralRewardInfo_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetGeneralRewardInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetGeneralRewardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetGeneralRewardInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetGeneralRewardInfo_proto_goTypes, + DependencyIndexes: file_GadgetGeneralRewardInfo_proto_depIdxs, + MessageInfos: file_GadgetGeneralRewardInfo_proto_msgTypes, + }.Build() + File_GadgetGeneralRewardInfo_proto = out.File + file_GadgetGeneralRewardInfo_proto_rawDesc = nil + file_GadgetGeneralRewardInfo_proto_goTypes = nil + file_GadgetGeneralRewardInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetGeneralRewardInfo.proto b/gate-hk4e-api/proto/GadgetGeneralRewardInfo.proto new file mode 100644 index 00000000..a99f943c --- /dev/null +++ b/gate-hk4e-api/proto/GadgetGeneralRewardInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message GadgetGeneralRewardInfo { + uint32 resin = 1; + uint32 dead_time = 2; + repeated uint32 remain_uid_list = 3; + repeated uint32 qualify_uid_list = 4; + ItemParam item_param = 5; +} diff --git a/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.pb.go b/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.pb.go new file mode 100644 index 00000000..91039199 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetGeneralRewardInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 848 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetGeneralRewardInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + GeneralRewardInfo *GadgetGeneralRewardInfo `protobuf:"bytes,9,opt,name=general_reward_info,json=generalRewardInfo,proto3" json:"general_reward_info,omitempty"` +} + +func (x *GadgetGeneralRewardInfoNotify) Reset() { + *x = GadgetGeneralRewardInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetGeneralRewardInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetGeneralRewardInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetGeneralRewardInfoNotify) ProtoMessage() {} + +func (x *GadgetGeneralRewardInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetGeneralRewardInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetGeneralRewardInfoNotify.ProtoReflect.Descriptor instead. +func (*GadgetGeneralRewardInfoNotify) Descriptor() ([]byte, []int) { + return file_GadgetGeneralRewardInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetGeneralRewardInfoNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *GadgetGeneralRewardInfoNotify) GetGeneralRewardInfo() *GadgetGeneralRewardInfo { + if x != nil { + return x.GeneralRewardInfo + } + return nil +} + +var File_GadgetGeneralRewardInfoNotify_proto protoreflect.FileDescriptor + +var file_GadgetGeneralRewardInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x1d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GadgetGeneralRewardInfoNotify_proto_rawDescOnce sync.Once + file_GadgetGeneralRewardInfoNotify_proto_rawDescData = file_GadgetGeneralRewardInfoNotify_proto_rawDesc +) + +func file_GadgetGeneralRewardInfoNotify_proto_rawDescGZIP() []byte { + file_GadgetGeneralRewardInfoNotify_proto_rawDescOnce.Do(func() { + file_GadgetGeneralRewardInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetGeneralRewardInfoNotify_proto_rawDescData) + }) + return file_GadgetGeneralRewardInfoNotify_proto_rawDescData +} + +var file_GadgetGeneralRewardInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetGeneralRewardInfoNotify_proto_goTypes = []interface{}{ + (*GadgetGeneralRewardInfoNotify)(nil), // 0: GadgetGeneralRewardInfoNotify + (*GadgetGeneralRewardInfo)(nil), // 1: GadgetGeneralRewardInfo +} +var file_GadgetGeneralRewardInfoNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetGeneralRewardInfoNotify.general_reward_info:type_name -> GadgetGeneralRewardInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetGeneralRewardInfoNotify_proto_init() } +func file_GadgetGeneralRewardInfoNotify_proto_init() { + if File_GadgetGeneralRewardInfoNotify_proto != nil { + return + } + file_GadgetGeneralRewardInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetGeneralRewardInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetGeneralRewardInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetGeneralRewardInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetGeneralRewardInfoNotify_proto_goTypes, + DependencyIndexes: file_GadgetGeneralRewardInfoNotify_proto_depIdxs, + MessageInfos: file_GadgetGeneralRewardInfoNotify_proto_msgTypes, + }.Build() + File_GadgetGeneralRewardInfoNotify_proto = out.File + file_GadgetGeneralRewardInfoNotify_proto_rawDesc = nil + file_GadgetGeneralRewardInfoNotify_proto_goTypes = nil + file_GadgetGeneralRewardInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.proto b/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.proto new file mode 100644 index 00000000..e0dffb2c --- /dev/null +++ b/gate-hk4e-api/proto/GadgetGeneralRewardInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GadgetGeneralRewardInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 848 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetGeneralRewardInfoNotify { + uint32 entity_id = 13; + GadgetGeneralRewardInfo general_reward_info = 9; +} diff --git a/gate-hk4e-api/proto/GadgetInteractReq.pb.go b/gate-hk4e-api/proto/GadgetInteractReq.pb.go new file mode 100644 index 00000000..e5a23d6c --- /dev/null +++ b/gate-hk4e-api/proto/GadgetInteractReq.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetInteractReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 872 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GadgetInteractReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetId uint32 `protobuf:"varint,8,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + IsUseCondenseResin bool `protobuf:"varint,15,opt,name=is_use_condense_resin,json=isUseCondenseResin,proto3" json:"is_use_condense_resin,omitempty"` + OpType InterOpType `protobuf:"varint,5,opt,name=op_type,json=opType,proto3,enum=InterOpType" json:"op_type,omitempty"` + ResinCostType ResinCostType `protobuf:"varint,1,opt,name=resin_cost_type,json=resinCostType,proto3,enum=ResinCostType" json:"resin_cost_type,omitempty"` + Unk2700_DCPBGMKCHGJ uint32 `protobuf:"varint,2,opt,name=Unk2700_DCPBGMKCHGJ,json=Unk2700DCPBGMKCHGJ,proto3" json:"Unk2700_DCPBGMKCHGJ,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,4,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *GadgetInteractReq) Reset() { + *x = GadgetInteractReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetInteractReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetInteractReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetInteractReq) ProtoMessage() {} + +func (x *GadgetInteractReq) ProtoReflect() protoreflect.Message { + mi := &file_GadgetInteractReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetInteractReq.ProtoReflect.Descriptor instead. +func (*GadgetInteractReq) Descriptor() ([]byte, []int) { + return file_GadgetInteractReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetInteractReq) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *GadgetInteractReq) GetIsUseCondenseResin() bool { + if x != nil { + return x.IsUseCondenseResin + } + return false +} + +func (x *GadgetInteractReq) GetOpType() InterOpType { + if x != nil { + return x.OpType + } + return InterOpType_INTER_OP_TYPE_FINISH +} + +func (x *GadgetInteractReq) GetResinCostType() ResinCostType { + if x != nil { + return x.ResinCostType + } + return ResinCostType_RESIN_COST_TYPE_NONE +} + +func (x *GadgetInteractReq) GetUnk2700_DCPBGMKCHGJ() uint32 { + if x != nil { + return x.Unk2700_DCPBGMKCHGJ + } + return 0 +} + +func (x *GadgetInteractReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_GadgetInteractReq_proto protoreflect.FileDescriptor + +var file_GadgetInteractReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x52, 0x65, + 0x73, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x11, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x63, + 0x6f, 0x6e, 0x64, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x55, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x65, 0x6e, + 0x73, 0x65, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x12, 0x25, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, + 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x6f, + 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x43, 0x50, 0x42, 0x47, 0x4d, 0x4b, 0x43, 0x48, 0x47, 0x4a, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x43, 0x50, 0x42, + 0x47, 0x4d, 0x4b, 0x43, 0x48, 0x47, 0x4a, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetInteractReq_proto_rawDescOnce sync.Once + file_GadgetInteractReq_proto_rawDescData = file_GadgetInteractReq_proto_rawDesc +) + +func file_GadgetInteractReq_proto_rawDescGZIP() []byte { + file_GadgetInteractReq_proto_rawDescOnce.Do(func() { + file_GadgetInteractReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetInteractReq_proto_rawDescData) + }) + return file_GadgetInteractReq_proto_rawDescData +} + +var file_GadgetInteractReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetInteractReq_proto_goTypes = []interface{}{ + (*GadgetInteractReq)(nil), // 0: GadgetInteractReq + (InterOpType)(0), // 1: InterOpType + (ResinCostType)(0), // 2: ResinCostType +} +var file_GadgetInteractReq_proto_depIdxs = []int32{ + 1, // 0: GadgetInteractReq.op_type:type_name -> InterOpType + 2, // 1: GadgetInteractReq.resin_cost_type:type_name -> ResinCostType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GadgetInteractReq_proto_init() } +func file_GadgetInteractReq_proto_init() { + if File_GadgetInteractReq_proto != nil { + return + } + file_InterOpType_proto_init() + file_ResinCostType_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetInteractReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetInteractReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetInteractReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetInteractReq_proto_goTypes, + DependencyIndexes: file_GadgetInteractReq_proto_depIdxs, + MessageInfos: file_GadgetInteractReq_proto_msgTypes, + }.Build() + File_GadgetInteractReq_proto = out.File + file_GadgetInteractReq_proto_rawDesc = nil + file_GadgetInteractReq_proto_goTypes = nil + file_GadgetInteractReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetInteractReq.proto b/gate-hk4e-api/proto/GadgetInteractReq.proto new file mode 100644 index 00000000..d506a151 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetInteractReq.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InterOpType.proto"; +import "ResinCostType.proto"; + +option go_package = "./;proto"; + +// CmdId: 872 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GadgetInteractReq { + uint32 gadget_id = 8; + bool is_use_condense_resin = 15; + InterOpType op_type = 5; + ResinCostType resin_cost_type = 1; + uint32 Unk2700_DCPBGMKCHGJ = 2; + uint32 gadget_entity_id = 4; +} diff --git a/gate-hk4e-api/proto/GadgetInteractRsp.pb.go b/gate-hk4e-api/proto/GadgetInteractRsp.pb.go new file mode 100644 index 00000000..0bb9f46b --- /dev/null +++ b/gate-hk4e-api/proto/GadgetInteractRsp.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetInteractRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 898 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetInteractRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,10,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + InteractType InteractType `protobuf:"varint,2,opt,name=interact_type,json=interactType,proto3,enum=InteractType" json:"interact_type,omitempty"` + OpType InterOpType `protobuf:"varint,3,opt,name=op_type,json=opType,proto3,enum=InterOpType" json:"op_type,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + GadgetId uint32 `protobuf:"varint,15,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` +} + +func (x *GadgetInteractRsp) Reset() { + *x = GadgetInteractRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetInteractRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetInteractRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetInteractRsp) ProtoMessage() {} + +func (x *GadgetInteractRsp) ProtoReflect() protoreflect.Message { + mi := &file_GadgetInteractRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetInteractRsp.ProtoReflect.Descriptor instead. +func (*GadgetInteractRsp) Descriptor() ([]byte, []int) { + return file_GadgetInteractRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetInteractRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *GadgetInteractRsp) GetInteractType() InteractType { + if x != nil { + return x.InteractType + } + return InteractType_INTERACT_TYPE_NONE +} + +func (x *GadgetInteractRsp) GetOpType() InterOpType { + if x != nil { + return x.OpType + } + return InterOpType_INTER_OP_TYPE_FINISH +} + +func (x *GadgetInteractRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GadgetInteractRsp) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +var File_GadgetInteractRsp_proto protoreflect.FileDescriptor + +var file_GadgetInteractRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xcf, 0x01, 0x0a, 0x11, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x61, 0x63, 0x74, 0x52, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x32, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetInteractRsp_proto_rawDescOnce sync.Once + file_GadgetInteractRsp_proto_rawDescData = file_GadgetInteractRsp_proto_rawDesc +) + +func file_GadgetInteractRsp_proto_rawDescGZIP() []byte { + file_GadgetInteractRsp_proto_rawDescOnce.Do(func() { + file_GadgetInteractRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetInteractRsp_proto_rawDescData) + }) + return file_GadgetInteractRsp_proto_rawDescData +} + +var file_GadgetInteractRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetInteractRsp_proto_goTypes = []interface{}{ + (*GadgetInteractRsp)(nil), // 0: GadgetInteractRsp + (InteractType)(0), // 1: InteractType + (InterOpType)(0), // 2: InterOpType +} +var file_GadgetInteractRsp_proto_depIdxs = []int32{ + 1, // 0: GadgetInteractRsp.interact_type:type_name -> InteractType + 2, // 1: GadgetInteractRsp.op_type:type_name -> InterOpType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GadgetInteractRsp_proto_init() } +func file_GadgetInteractRsp_proto_init() { + if File_GadgetInteractRsp_proto != nil { + return + } + file_InterOpType_proto_init() + file_InteractType_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetInteractRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetInteractRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetInteractRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetInteractRsp_proto_goTypes, + DependencyIndexes: file_GadgetInteractRsp_proto_depIdxs, + MessageInfos: file_GadgetInteractRsp_proto_msgTypes, + }.Build() + File_GadgetInteractRsp_proto = out.File + file_GadgetInteractRsp_proto_rawDesc = nil + file_GadgetInteractRsp_proto_goTypes = nil + file_GadgetInteractRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetInteractRsp.proto b/gate-hk4e-api/proto/GadgetInteractRsp.proto new file mode 100644 index 00000000..19431ba6 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetInteractRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InterOpType.proto"; +import "InteractType.proto"; + +option go_package = "./;proto"; + +// CmdId: 898 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetInteractRsp { + uint32 gadget_entity_id = 10; + InteractType interact_type = 2; + InterOpType op_type = 3; + int32 retcode = 7; + uint32 gadget_id = 15; +} diff --git a/gate-hk4e-api/proto/GadgetPlayDataNotify.pb.go b/gate-hk4e-api/proto/GadgetPlayDataNotify.pb.go new file mode 100644 index 00000000..c497450c --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayDataNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 831 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetPlayDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayType uint32 `protobuf:"varint,12,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + Progress uint32 `protobuf:"varint,9,opt,name=progress,proto3" json:"progress,omitempty"` + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *GadgetPlayDataNotify) Reset() { + *x = GadgetPlayDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayDataNotify) ProtoMessage() {} + +func (x *GadgetPlayDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayDataNotify.ProtoReflect.Descriptor instead. +func (*GadgetPlayDataNotify) Descriptor() ([]byte, []int) { + return file_GadgetPlayDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayDataNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *GadgetPlayDataNotify) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *GadgetPlayDataNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_GadgetPlayDataNotify_proto protoreflect.FileDescriptor + +var file_GadgetPlayDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x14, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayDataNotify_proto_rawDescOnce sync.Once + file_GadgetPlayDataNotify_proto_rawDescData = file_GadgetPlayDataNotify_proto_rawDesc +) + +func file_GadgetPlayDataNotify_proto_rawDescGZIP() []byte { + file_GadgetPlayDataNotify_proto_rawDescOnce.Do(func() { + file_GadgetPlayDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayDataNotify_proto_rawDescData) + }) + return file_GadgetPlayDataNotify_proto_rawDescData +} + +var file_GadgetPlayDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayDataNotify_proto_goTypes = []interface{}{ + (*GadgetPlayDataNotify)(nil), // 0: GadgetPlayDataNotify +} +var file_GadgetPlayDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetPlayDataNotify_proto_init() } +func file_GadgetPlayDataNotify_proto_init() { + if File_GadgetPlayDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetPlayDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayDataNotify_proto_goTypes, + DependencyIndexes: file_GadgetPlayDataNotify_proto_depIdxs, + MessageInfos: file_GadgetPlayDataNotify_proto_msgTypes, + }.Build() + File_GadgetPlayDataNotify_proto = out.File + file_GadgetPlayDataNotify_proto_rawDesc = nil + file_GadgetPlayDataNotify_proto_goTypes = nil + file_GadgetPlayDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayDataNotify.proto b/gate-hk4e-api/proto/GadgetPlayDataNotify.proto new file mode 100644 index 00000000..a0e82bb6 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 831 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetPlayDataNotify { + uint32 play_type = 12; + uint32 progress = 9; + uint32 entity_id = 6; +} diff --git a/gate-hk4e-api/proto/GadgetPlayInfo.pb.go b/gate-hk4e-api/proto/GadgetPlayInfo.pb.go new file mode 100644 index 00000000..82793c88 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayInfo.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GadgetPlayInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayType uint32 `protobuf:"varint,1,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + Duration uint32 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` + ProgressStageList []uint32 `protobuf:"varint,3,rep,packed,name=progress_stage_list,json=progressStageList,proto3" json:"progress_stage_list,omitempty"` + StartCd uint32 `protobuf:"varint,4,opt,name=start_cd,json=startCd,proto3" json:"start_cd,omitempty"` + StartTime uint32 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Progress uint32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress,omitempty"` + // Types that are assignable to PlayInfo: + // *GadgetPlayInfo_CrucibleInfo + PlayInfo isGadgetPlayInfo_PlayInfo `protobuf_oneof:"play_info"` +} + +func (x *GadgetPlayInfo) Reset() { + *x = GadgetPlayInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayInfo) ProtoMessage() {} + +func (x *GadgetPlayInfo) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayInfo.ProtoReflect.Descriptor instead. +func (*GadgetPlayInfo) Descriptor() ([]byte, []int) { + return file_GadgetPlayInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayInfo) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *GadgetPlayInfo) GetDuration() uint32 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *GadgetPlayInfo) GetProgressStageList() []uint32 { + if x != nil { + return x.ProgressStageList + } + return nil +} + +func (x *GadgetPlayInfo) GetStartCd() uint32 { + if x != nil { + return x.StartCd + } + return 0 +} + +func (x *GadgetPlayInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *GadgetPlayInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (m *GadgetPlayInfo) GetPlayInfo() isGadgetPlayInfo_PlayInfo { + if m != nil { + return m.PlayInfo + } + return nil +} + +func (x *GadgetPlayInfo) GetCrucibleInfo() *GadgetCrucibleInfo { + if x, ok := x.GetPlayInfo().(*GadgetPlayInfo_CrucibleInfo); ok { + return x.CrucibleInfo + } + return nil +} + +type isGadgetPlayInfo_PlayInfo interface { + isGadgetPlayInfo_PlayInfo() +} + +type GadgetPlayInfo_CrucibleInfo struct { + CrucibleInfo *GadgetCrucibleInfo `protobuf:"bytes,21,opt,name=crucible_info,json=crucibleInfo,proto3,oneof"` +} + +func (*GadgetPlayInfo_CrucibleInfo) isGadgetPlayInfo_PlayInfo() {} + +var File_GadgetPlayInfo_proto protoreflect.FileDescriptor + +var file_GadgetPlayInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, + 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x98, 0x02, 0x0a, 0x0e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x63, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x43, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0c, 0x63, 0x72, 0x75, 0x63, 0x69, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0b, + 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayInfo_proto_rawDescOnce sync.Once + file_GadgetPlayInfo_proto_rawDescData = file_GadgetPlayInfo_proto_rawDesc +) + +func file_GadgetPlayInfo_proto_rawDescGZIP() []byte { + file_GadgetPlayInfo_proto_rawDescOnce.Do(func() { + file_GadgetPlayInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayInfo_proto_rawDescData) + }) + return file_GadgetPlayInfo_proto_rawDescData +} + +var file_GadgetPlayInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayInfo_proto_goTypes = []interface{}{ + (*GadgetPlayInfo)(nil), // 0: GadgetPlayInfo + (*GadgetCrucibleInfo)(nil), // 1: GadgetCrucibleInfo +} +var file_GadgetPlayInfo_proto_depIdxs = []int32{ + 1, // 0: GadgetPlayInfo.crucible_info:type_name -> GadgetCrucibleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetPlayInfo_proto_init() } +func file_GadgetPlayInfo_proto_init() { + if File_GadgetPlayInfo_proto != nil { + return + } + file_GadgetCrucibleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetPlayInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_GadgetPlayInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GadgetPlayInfo_CrucibleInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayInfo_proto_goTypes, + DependencyIndexes: file_GadgetPlayInfo_proto_depIdxs, + MessageInfos: file_GadgetPlayInfo_proto_msgTypes, + }.Build() + File_GadgetPlayInfo_proto = out.File + file_GadgetPlayInfo_proto_rawDesc = nil + file_GadgetPlayInfo_proto_goTypes = nil + file_GadgetPlayInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayInfo.proto b/gate-hk4e-api/proto/GadgetPlayInfo.proto new file mode 100644 index 00000000..8ff93e85 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GadgetCrucibleInfo.proto"; + +option go_package = "./;proto"; + +message GadgetPlayInfo { + uint32 play_type = 1; + uint32 duration = 2; + repeated uint32 progress_stage_list = 3; + uint32 start_cd = 4; + uint32 start_time = 5; + uint32 progress = 6; + oneof play_info { + GadgetCrucibleInfo crucible_info = 21; + } +} diff --git a/gate-hk4e-api/proto/GadgetPlayStartNotify.pb.go b/gate-hk4e-api/proto/GadgetPlayStartNotify.pb.go new file mode 100644 index 00000000..b417b5ff --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayStartNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 873 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetPlayStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime uint32 `protobuf:"varint,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + PlayType uint32 `protobuf:"varint,8,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` +} + +func (x *GadgetPlayStartNotify) Reset() { + *x = GadgetPlayStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayStartNotify) ProtoMessage() {} + +func (x *GadgetPlayStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayStartNotify.ProtoReflect.Descriptor instead. +func (*GadgetPlayStartNotify) Descriptor() ([]byte, []int) { + return file_GadgetPlayStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayStartNotify) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *GadgetPlayStartNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *GadgetPlayStartNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +var File_GadgetPlayStartNotify_proto protoreflect.FileDescriptor + +var file_GadgetPlayStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, + 0x15, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayStartNotify_proto_rawDescOnce sync.Once + file_GadgetPlayStartNotify_proto_rawDescData = file_GadgetPlayStartNotify_proto_rawDesc +) + +func file_GadgetPlayStartNotify_proto_rawDescGZIP() []byte { + file_GadgetPlayStartNotify_proto_rawDescOnce.Do(func() { + file_GadgetPlayStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayStartNotify_proto_rawDescData) + }) + return file_GadgetPlayStartNotify_proto_rawDescData +} + +var file_GadgetPlayStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayStartNotify_proto_goTypes = []interface{}{ + (*GadgetPlayStartNotify)(nil), // 0: GadgetPlayStartNotify +} +var file_GadgetPlayStartNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetPlayStartNotify_proto_init() } +func file_GadgetPlayStartNotify_proto_init() { + if File_GadgetPlayStartNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetPlayStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayStartNotify_proto_goTypes, + DependencyIndexes: file_GadgetPlayStartNotify_proto_depIdxs, + MessageInfos: file_GadgetPlayStartNotify_proto_msgTypes, + }.Build() + File_GadgetPlayStartNotify_proto = out.File + file_GadgetPlayStartNotify_proto_rawDesc = nil + file_GadgetPlayStartNotify_proto_goTypes = nil + file_GadgetPlayStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayStartNotify.proto b/gate-hk4e-api/proto/GadgetPlayStartNotify.proto new file mode 100644 index 00000000..26b3453a --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayStartNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 873 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetPlayStartNotify { + uint32 start_time = 14; + uint32 entity_id = 15; + uint32 play_type = 8; +} diff --git a/gate-hk4e-api/proto/GadgetPlayStopNotify.pb.go b/gate-hk4e-api/proto/GadgetPlayStopNotify.pb.go new file mode 100644 index 00000000..0a5fe951 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayStopNotify.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayStopNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 899 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetPlayStopNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWin bool `protobuf:"varint,14,opt,name=is_win,json=isWin,proto3" json:"is_win,omitempty"` + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + PlayType uint32 `protobuf:"varint,4,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + UidInfoList []*GadgetPlayUidInfo `protobuf:"bytes,8,rep,name=uid_info_list,json=uidInfoList,proto3" json:"uid_info_list,omitempty"` + Score uint32 `protobuf:"varint,5,opt,name=score,proto3" json:"score,omitempty"` + CostTime uint32 `protobuf:"varint,6,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` +} + +func (x *GadgetPlayStopNotify) Reset() { + *x = GadgetPlayStopNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayStopNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayStopNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayStopNotify) ProtoMessage() {} + +func (x *GadgetPlayStopNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayStopNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayStopNotify.ProtoReflect.Descriptor instead. +func (*GadgetPlayStopNotify) Descriptor() ([]byte, []int) { + return file_GadgetPlayStopNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayStopNotify) GetIsWin() bool { + if x != nil { + return x.IsWin + } + return false +} + +func (x *GadgetPlayStopNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *GadgetPlayStopNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *GadgetPlayStopNotify) GetUidInfoList() []*GadgetPlayUidInfo { + if x != nil { + return x.UidInfoList + } + return nil +} + +func (x *GadgetPlayStopNotify) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *GadgetPlayStopNotify) GetCostTime() uint32 { + if x != nil { + return x.CostTime + } + return 0 +} + +var File_GadgetPlayStopNotify_proto protoreflect.FileDescriptor + +var file_GadgetPlayStopNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x6f, 0x70, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x47, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x55, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, 0x01, 0x0a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x50, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, + 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, + 0x69, 0x73, 0x57, 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x36, 0x0a, 0x0d, 0x75, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, + 0x6c, 0x61, 0x79, 0x55, 0x69, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x75, 0x69, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayStopNotify_proto_rawDescOnce sync.Once + file_GadgetPlayStopNotify_proto_rawDescData = file_GadgetPlayStopNotify_proto_rawDesc +) + +func file_GadgetPlayStopNotify_proto_rawDescGZIP() []byte { + file_GadgetPlayStopNotify_proto_rawDescOnce.Do(func() { + file_GadgetPlayStopNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayStopNotify_proto_rawDescData) + }) + return file_GadgetPlayStopNotify_proto_rawDescData +} + +var file_GadgetPlayStopNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayStopNotify_proto_goTypes = []interface{}{ + (*GadgetPlayStopNotify)(nil), // 0: GadgetPlayStopNotify + (*GadgetPlayUidInfo)(nil), // 1: GadgetPlayUidInfo +} +var file_GadgetPlayStopNotify_proto_depIdxs = []int32{ + 1, // 0: GadgetPlayStopNotify.uid_info_list:type_name -> GadgetPlayUidInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetPlayStopNotify_proto_init() } +func file_GadgetPlayStopNotify_proto_init() { + if File_GadgetPlayStopNotify_proto != nil { + return + } + file_GadgetPlayUidInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetPlayStopNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayStopNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayStopNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayStopNotify_proto_goTypes, + DependencyIndexes: file_GadgetPlayStopNotify_proto_depIdxs, + MessageInfos: file_GadgetPlayStopNotify_proto_msgTypes, + }.Build() + File_GadgetPlayStopNotify_proto = out.File + file_GadgetPlayStopNotify_proto_rawDesc = nil + file_GadgetPlayStopNotify_proto_goTypes = nil + file_GadgetPlayStopNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayStopNotify.proto b/gate-hk4e-api/proto/GadgetPlayStopNotify.proto new file mode 100644 index 00000000..1bfde356 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayStopNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GadgetPlayUidInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 899 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetPlayStopNotify { + bool is_win = 14; + uint32 entity_id = 7; + uint32 play_type = 4; + repeated GadgetPlayUidInfo uid_info_list = 8; + uint32 score = 5; + uint32 cost_time = 6; +} diff --git a/gate-hk4e-api/proto/GadgetPlayUidInfo.pb.go b/gate-hk4e-api/proto/GadgetPlayUidInfo.pb.go new file mode 100644 index 00000000..7b4134dd --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayUidInfo.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayUidInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GadgetPlayUidInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,2,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + BattleWatcherId uint32 `protobuf:"varint,6,opt,name=battle_watcher_id,json=battleWatcherId,proto3" json:"battle_watcher_id,omitempty"` + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + Icon uint32 `protobuf:"varint,14,opt,name=icon,proto3" json:"icon,omitempty"` + Score uint32 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"` + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` + OnlineId string `protobuf:"bytes,8,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` +} + +func (x *GadgetPlayUidInfo) Reset() { + *x = GadgetPlayUidInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayUidInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayUidInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayUidInfo) ProtoMessage() {} + +func (x *GadgetPlayUidInfo) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayUidInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayUidInfo.ProtoReflect.Descriptor instead. +func (*GadgetPlayUidInfo) Descriptor() ([]byte, []int) { + return file_GadgetPlayUidInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayUidInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *GadgetPlayUidInfo) GetBattleWatcherId() uint32 { + if x != nil { + return x.BattleWatcherId + } + return 0 +} + +func (x *GadgetPlayUidInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *GadgetPlayUidInfo) GetIcon() uint32 { + if x != nil { + return x.Icon + } + return 0 +} + +func (x *GadgetPlayUidInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *GadgetPlayUidInfo) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *GadgetPlayUidInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +var File_GadgetPlayUidInfo_proto protoreflect.FileDescriptor + +var file_GadgetPlayUidInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x55, 0x69, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xee, 0x01, 0x0a, 0x11, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x55, 0x69, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, + 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x2a, 0x0a, 0x11, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x69, 0x63, 0x6f, + 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayUidInfo_proto_rawDescOnce sync.Once + file_GadgetPlayUidInfo_proto_rawDescData = file_GadgetPlayUidInfo_proto_rawDesc +) + +func file_GadgetPlayUidInfo_proto_rawDescGZIP() []byte { + file_GadgetPlayUidInfo_proto_rawDescOnce.Do(func() { + file_GadgetPlayUidInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayUidInfo_proto_rawDescData) + }) + return file_GadgetPlayUidInfo_proto_rawDescData +} + +var file_GadgetPlayUidInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayUidInfo_proto_goTypes = []interface{}{ + (*GadgetPlayUidInfo)(nil), // 0: GadgetPlayUidInfo + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_GadgetPlayUidInfo_proto_depIdxs = []int32{ + 1, // 0: GadgetPlayUidInfo.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GadgetPlayUidInfo_proto_init() } +func file_GadgetPlayUidInfo_proto_init() { + if File_GadgetPlayUidInfo_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_GadgetPlayUidInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayUidInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayUidInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayUidInfo_proto_goTypes, + DependencyIndexes: file_GadgetPlayUidInfo_proto_depIdxs, + MessageInfos: file_GadgetPlayUidInfo_proto_msgTypes, + }.Build() + File_GadgetPlayUidInfo_proto = out.File + file_GadgetPlayUidInfo_proto_rawDesc = nil + file_GadgetPlayUidInfo_proto_goTypes = nil + file_GadgetPlayUidInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayUidInfo.proto b/gate-hk4e-api/proto/GadgetPlayUidInfo.proto new file mode 100644 index 00000000..af971c31 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayUidInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message GadgetPlayUidInfo { + ProfilePicture profile_picture = 2; + uint32 battle_watcher_id = 6; + uint32 uid = 7; + uint32 icon = 14; + uint32 score = 4; + string nickname = 3; + string online_id = 8; +} diff --git a/gate-hk4e-api/proto/GadgetPlayUidOpNotify.pb.go b/gate-hk4e-api/proto/GadgetPlayUidOpNotify.pb.go new file mode 100644 index 00000000..de8bf2ec --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayUidOpNotify.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetPlayUidOpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 875 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetPlayUidOpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + UidList []uint32 `protobuf:"varint,2,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` + PlayType uint32 `protobuf:"varint,6,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + ParamStr string `protobuf:"bytes,1,opt,name=param_str,json=paramStr,proto3" json:"param_str,omitempty"` + Op uint32 `protobuf:"varint,7,opt,name=op,proto3" json:"op,omitempty"` + ParamList []uint32 `protobuf:"varint,4,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` +} + +func (x *GadgetPlayUidOpNotify) Reset() { + *x = GadgetPlayUidOpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetPlayUidOpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetPlayUidOpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetPlayUidOpNotify) ProtoMessage() {} + +func (x *GadgetPlayUidOpNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetPlayUidOpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetPlayUidOpNotify.ProtoReflect.Descriptor instead. +func (*GadgetPlayUidOpNotify) Descriptor() ([]byte, []int) { + return file_GadgetPlayUidOpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetPlayUidOpNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *GadgetPlayUidOpNotify) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +func (x *GadgetPlayUidOpNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *GadgetPlayUidOpNotify) GetParamStr() string { + if x != nil { + return x.ParamStr + } + return "" +} + +func (x *GadgetPlayUidOpNotify) GetOp() uint32 { + if x != nil { + return x.Op + } + return 0 +} + +func (x *GadgetPlayUidOpNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +var File_GadgetPlayUidOpNotify_proto protoreflect.FileDescriptor + +var file_GadgetPlayUidOpNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x55, 0x69, 0x64, 0x4f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, + 0x0a, 0x15, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x55, 0x69, 0x64, 0x4f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x53, 0x74, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetPlayUidOpNotify_proto_rawDescOnce sync.Once + file_GadgetPlayUidOpNotify_proto_rawDescData = file_GadgetPlayUidOpNotify_proto_rawDesc +) + +func file_GadgetPlayUidOpNotify_proto_rawDescGZIP() []byte { + file_GadgetPlayUidOpNotify_proto_rawDescOnce.Do(func() { + file_GadgetPlayUidOpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetPlayUidOpNotify_proto_rawDescData) + }) + return file_GadgetPlayUidOpNotify_proto_rawDescData +} + +var file_GadgetPlayUidOpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetPlayUidOpNotify_proto_goTypes = []interface{}{ + (*GadgetPlayUidOpNotify)(nil), // 0: GadgetPlayUidOpNotify +} +var file_GadgetPlayUidOpNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetPlayUidOpNotify_proto_init() } +func file_GadgetPlayUidOpNotify_proto_init() { + if File_GadgetPlayUidOpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetPlayUidOpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetPlayUidOpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetPlayUidOpNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetPlayUidOpNotify_proto_goTypes, + DependencyIndexes: file_GadgetPlayUidOpNotify_proto_depIdxs, + MessageInfos: file_GadgetPlayUidOpNotify_proto_msgTypes, + }.Build() + File_GadgetPlayUidOpNotify_proto = out.File + file_GadgetPlayUidOpNotify_proto_rawDesc = nil + file_GadgetPlayUidOpNotify_proto_goTypes = nil + file_GadgetPlayUidOpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetPlayUidOpNotify.proto b/gate-hk4e-api/proto/GadgetPlayUidOpNotify.proto new file mode 100644 index 00000000..6bf32d5e --- /dev/null +++ b/gate-hk4e-api/proto/GadgetPlayUidOpNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 875 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetPlayUidOpNotify { + uint32 entity_id = 11; + repeated uint32 uid_list = 2; + uint32 play_type = 6; + string param_str = 1; + uint32 op = 7; + repeated uint32 param_list = 4; +} diff --git a/gate-hk4e-api/proto/GadgetStateNotify.pb.go b/gate-hk4e-api/proto/GadgetStateNotify.pb.go new file mode 100644 index 00000000..cfe4de14 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetStateNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetStateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 812 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetStateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,5,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + GadgetState uint32 `protobuf:"varint,3,opt,name=gadget_state,json=gadgetState,proto3" json:"gadget_state,omitempty"` + IsEnableInteract bool `protobuf:"varint,11,opt,name=is_enable_interact,json=isEnableInteract,proto3" json:"is_enable_interact,omitempty"` +} + +func (x *GadgetStateNotify) Reset() { + *x = GadgetStateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetStateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetStateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetStateNotify) ProtoMessage() {} + +func (x *GadgetStateNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetStateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetStateNotify.ProtoReflect.Descriptor instead. +func (*GadgetStateNotify) Descriptor() ([]byte, []int) { + return file_GadgetStateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetStateNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *GadgetStateNotify) GetGadgetState() uint32 { + if x != nil { + return x.GadgetState + } + return 0 +} + +func (x *GadgetStateNotify) GetIsEnableInteract() bool { + if x != nil { + return x.IsEnableInteract + } + return false +} + +var File_GadgetStateNotify_proto protoreflect.FileDescriptor + +var file_GadgetStateNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x11, 0x47, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, + 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetStateNotify_proto_rawDescOnce sync.Once + file_GadgetStateNotify_proto_rawDescData = file_GadgetStateNotify_proto_rawDesc +) + +func file_GadgetStateNotify_proto_rawDescGZIP() []byte { + file_GadgetStateNotify_proto_rawDescOnce.Do(func() { + file_GadgetStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetStateNotify_proto_rawDescData) + }) + return file_GadgetStateNotify_proto_rawDescData +} + +var file_GadgetStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetStateNotify_proto_goTypes = []interface{}{ + (*GadgetStateNotify)(nil), // 0: GadgetStateNotify +} +var file_GadgetStateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetStateNotify_proto_init() } +func file_GadgetStateNotify_proto_init() { + if File_GadgetStateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetStateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetStateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetStateNotify_proto_goTypes, + DependencyIndexes: file_GadgetStateNotify_proto_depIdxs, + MessageInfos: file_GadgetStateNotify_proto_msgTypes, + }.Build() + File_GadgetStateNotify_proto = out.File + file_GadgetStateNotify_proto_rawDesc = nil + file_GadgetStateNotify_proto_goTypes = nil + file_GadgetStateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetStateNotify.proto b/gate-hk4e-api/proto/GadgetStateNotify.proto new file mode 100644 index 00000000..c6c88438 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetStateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 812 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetStateNotify { + uint32 gadget_entity_id = 5; + uint32 gadget_state = 3; + bool is_enable_interact = 11; +} diff --git a/gate-hk4e-api/proto/GadgetTalkChangeNotify.pb.go b/gate-hk4e-api/proto/GadgetTalkChangeNotify.pb.go new file mode 100644 index 00000000..a529f332 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetTalkChangeNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GadgetTalkChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 839 +// EnetChannelId: 0 +// EnetIsReliable: true +type GadgetTalkChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,5,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + CurGadgetTalkState uint32 `protobuf:"varint,15,opt,name=cur_gadget_talk_state,json=curGadgetTalkState,proto3" json:"cur_gadget_talk_state,omitempty"` +} + +func (x *GadgetTalkChangeNotify) Reset() { + *x = GadgetTalkChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GadgetTalkChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GadgetTalkChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GadgetTalkChangeNotify) ProtoMessage() {} + +func (x *GadgetTalkChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_GadgetTalkChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GadgetTalkChangeNotify.ProtoReflect.Descriptor instead. +func (*GadgetTalkChangeNotify) Descriptor() ([]byte, []int) { + return file_GadgetTalkChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GadgetTalkChangeNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *GadgetTalkChangeNotify) GetCurGadgetTalkState() uint32 { + if x != nil { + return x.CurGadgetTalkState + } + return 0 +} + +var File_GadgetTalkChangeNotify_proto protoreflect.FileDescriptor + +var file_GadgetTalkChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, + 0x0a, 0x16, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x63, 0x75, 0x72, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x63, 0x75, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x61, 0x6c, 0x6b, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GadgetTalkChangeNotify_proto_rawDescOnce sync.Once + file_GadgetTalkChangeNotify_proto_rawDescData = file_GadgetTalkChangeNotify_proto_rawDesc +) + +func file_GadgetTalkChangeNotify_proto_rawDescGZIP() []byte { + file_GadgetTalkChangeNotify_proto_rawDescOnce.Do(func() { + file_GadgetTalkChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GadgetTalkChangeNotify_proto_rawDescData) + }) + return file_GadgetTalkChangeNotify_proto_rawDescData +} + +var file_GadgetTalkChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GadgetTalkChangeNotify_proto_goTypes = []interface{}{ + (*GadgetTalkChangeNotify)(nil), // 0: GadgetTalkChangeNotify +} +var file_GadgetTalkChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GadgetTalkChangeNotify_proto_init() } +func file_GadgetTalkChangeNotify_proto_init() { + if File_GadgetTalkChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GadgetTalkChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GadgetTalkChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GadgetTalkChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GadgetTalkChangeNotify_proto_goTypes, + DependencyIndexes: file_GadgetTalkChangeNotify_proto_depIdxs, + MessageInfos: file_GadgetTalkChangeNotify_proto_msgTypes, + }.Build() + File_GadgetTalkChangeNotify_proto = out.File + file_GadgetTalkChangeNotify_proto_rawDesc = nil + file_GadgetTalkChangeNotify_proto_goTypes = nil + file_GadgetTalkChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GadgetTalkChangeNotify.proto b/gate-hk4e-api/proto/GadgetTalkChangeNotify.proto new file mode 100644 index 00000000..e8135650 --- /dev/null +++ b/gate-hk4e-api/proto/GadgetTalkChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 839 +// EnetChannelId: 0 +// EnetIsReliable: true +message GadgetTalkChangeNotify { + uint32 gadget_entity_id = 5; + uint32 cur_gadget_talk_state = 15; +} diff --git a/gate-hk4e-api/proto/GalleryBalloonScoreNotify.pb.go b/gate-hk4e-api/proto/GalleryBalloonScoreNotify.pb.go new file mode 100644 index 00000000..9b18a360 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBalloonScoreNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryBalloonScoreNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5512 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryBalloonScoreNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,9,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + UidScoreMap map[uint32]uint32 `protobuf:"bytes,7,rep,name=uid_score_map,json=uidScoreMap,proto3" json:"uid_score_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *GalleryBalloonScoreNotify) Reset() { + *x = GalleryBalloonScoreNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryBalloonScoreNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryBalloonScoreNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryBalloonScoreNotify) ProtoMessage() {} + +func (x *GalleryBalloonScoreNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryBalloonScoreNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryBalloonScoreNotify.ProtoReflect.Descriptor instead. +func (*GalleryBalloonScoreNotify) Descriptor() ([]byte, []int) { + return file_GalleryBalloonScoreNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryBalloonScoreNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *GalleryBalloonScoreNotify) GetUidScoreMap() map[uint32]uint32 { + if x != nil { + return x.UidScoreMap + } + return nil +} + +var File_GalleryBalloonScoreNotify_proto protoreflect.FileDescriptor + +var file_GalleryBalloonScoreNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xcb, 0x01, 0x0a, 0x19, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, + 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x4f, + 0x0a, 0x0d, 0x75, 0x69, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, + 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x55, 0x69, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0b, 0x75, 0x69, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x1a, + 0x3e, 0x0a, 0x10, 0x55, 0x69, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryBalloonScoreNotify_proto_rawDescOnce sync.Once + file_GalleryBalloonScoreNotify_proto_rawDescData = file_GalleryBalloonScoreNotify_proto_rawDesc +) + +func file_GalleryBalloonScoreNotify_proto_rawDescGZIP() []byte { + file_GalleryBalloonScoreNotify_proto_rawDescOnce.Do(func() { + file_GalleryBalloonScoreNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryBalloonScoreNotify_proto_rawDescData) + }) + return file_GalleryBalloonScoreNotify_proto_rawDescData +} + +var file_GalleryBalloonScoreNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GalleryBalloonScoreNotify_proto_goTypes = []interface{}{ + (*GalleryBalloonScoreNotify)(nil), // 0: GalleryBalloonScoreNotify + nil, // 1: GalleryBalloonScoreNotify.UidScoreMapEntry +} +var file_GalleryBalloonScoreNotify_proto_depIdxs = []int32{ + 1, // 0: GalleryBalloonScoreNotify.uid_score_map:type_name -> GalleryBalloonScoreNotify.UidScoreMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GalleryBalloonScoreNotify_proto_init() } +func file_GalleryBalloonScoreNotify_proto_init() { + if File_GalleryBalloonScoreNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryBalloonScoreNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryBalloonScoreNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryBalloonScoreNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryBalloonScoreNotify_proto_goTypes, + DependencyIndexes: file_GalleryBalloonScoreNotify_proto_depIdxs, + MessageInfos: file_GalleryBalloonScoreNotify_proto_msgTypes, + }.Build() + File_GalleryBalloonScoreNotify_proto = out.File + file_GalleryBalloonScoreNotify_proto_rawDesc = nil + file_GalleryBalloonScoreNotify_proto_goTypes = nil + file_GalleryBalloonScoreNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryBalloonScoreNotify.proto b/gate-hk4e-api/proto/GalleryBalloonScoreNotify.proto new file mode 100644 index 00000000..f9540496 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBalloonScoreNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5512 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryBalloonScoreNotify { + uint32 gallery_id = 9; + map uid_score_map = 7; +} diff --git a/gate-hk4e-api/proto/GalleryBalloonShootNotify.pb.go b/gate-hk4e-api/proto/GalleryBalloonShootNotify.pb.go new file mode 100644 index 00000000..5dc3c449 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBalloonShootNotify.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryBalloonShootNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5598 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryBalloonShootNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TriggerEntityId uint32 `protobuf:"varint,12,opt,name=trigger_entity_id,json=triggerEntityId,proto3" json:"trigger_entity_id,omitempty"` + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Combo uint32 `protobuf:"varint,14,opt,name=combo,proto3" json:"combo,omitempty"` + ComboDisableTime uint64 `protobuf:"varint,6,opt,name=combo_disable_time,json=comboDisableTime,proto3" json:"combo_disable_time,omitempty"` + AddScore int32 `protobuf:"varint,11,opt,name=add_score,json=addScore,proto3" json:"add_score,omitempty"` + CurScore uint32 `protobuf:"varint,13,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` +} + +func (x *GalleryBalloonShootNotify) Reset() { + *x = GalleryBalloonShootNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryBalloonShootNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryBalloonShootNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryBalloonShootNotify) ProtoMessage() {} + +func (x *GalleryBalloonShootNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryBalloonShootNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryBalloonShootNotify.ProtoReflect.Descriptor instead. +func (*GalleryBalloonShootNotify) Descriptor() ([]byte, []int) { + return file_GalleryBalloonShootNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryBalloonShootNotify) GetTriggerEntityId() uint32 { + if x != nil { + return x.TriggerEntityId + } + return 0 +} + +func (x *GalleryBalloonShootNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *GalleryBalloonShootNotify) GetCombo() uint32 { + if x != nil { + return x.Combo + } + return 0 +} + +func (x *GalleryBalloonShootNotify) GetComboDisableTime() uint64 { + if x != nil { + return x.ComboDisableTime + } + return 0 +} + +func (x *GalleryBalloonShootNotify) GetAddScore() int32 { + if x != nil { + return x.AddScore + } + return 0 +} + +func (x *GalleryBalloonShootNotify) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +var File_GalleryBalloonShootNotify_proto protoreflect.FileDescriptor + +var file_GalleryBalloonShootNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x53, 0x68, 0x6f, 0x6f, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x19, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, + 0x6c, 0x6f, 0x6f, 0x6e, 0x53, 0x68, 0x6f, 0x6f, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x2a, 0x0a, 0x11, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, + 0x6d, 0x62, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x6d, 0x62, 0x6f, + 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x6f, + 0x6d, 0x62, 0x6f, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x61, 0x64, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryBalloonShootNotify_proto_rawDescOnce sync.Once + file_GalleryBalloonShootNotify_proto_rawDescData = file_GalleryBalloonShootNotify_proto_rawDesc +) + +func file_GalleryBalloonShootNotify_proto_rawDescGZIP() []byte { + file_GalleryBalloonShootNotify_proto_rawDescOnce.Do(func() { + file_GalleryBalloonShootNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryBalloonShootNotify_proto_rawDescData) + }) + return file_GalleryBalloonShootNotify_proto_rawDescData +} + +var file_GalleryBalloonShootNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryBalloonShootNotify_proto_goTypes = []interface{}{ + (*GalleryBalloonShootNotify)(nil), // 0: GalleryBalloonShootNotify +} +var file_GalleryBalloonShootNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryBalloonShootNotify_proto_init() } +func file_GalleryBalloonShootNotify_proto_init() { + if File_GalleryBalloonShootNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryBalloonShootNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryBalloonShootNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryBalloonShootNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryBalloonShootNotify_proto_goTypes, + DependencyIndexes: file_GalleryBalloonShootNotify_proto_depIdxs, + MessageInfos: file_GalleryBalloonShootNotify_proto_msgTypes, + }.Build() + File_GalleryBalloonShootNotify_proto = out.File + file_GalleryBalloonShootNotify_proto_rawDesc = nil + file_GalleryBalloonShootNotify_proto_goTypes = nil + file_GalleryBalloonShootNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryBalloonShootNotify.proto b/gate-hk4e-api/proto/GalleryBalloonShootNotify.proto new file mode 100644 index 00000000..cf0eeb9b --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBalloonShootNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5598 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryBalloonShootNotify { + uint32 trigger_entity_id = 12; + uint32 gallery_id = 5; + uint32 combo = 14; + uint64 combo_disable_time = 6; + int32 add_score = 11; + uint32 cur_score = 13; +} diff --git a/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.pb.go b/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.pb.go new file mode 100644 index 00000000..e99b6583 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryBounceConjuringHitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5505 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryBounceConjuringHitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddScore uint32 `protobuf:"varint,8,opt,name=add_score,json=addScore,proto3" json:"add_score,omitempty"` + IsPerfect bool `protobuf:"varint,5,opt,name=is_perfect,json=isPerfect,proto3" json:"is_perfect,omitempty"` + GalleryId uint32 `protobuf:"varint,10,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryBounceConjuringHitNotify) Reset() { + *x = GalleryBounceConjuringHitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryBounceConjuringHitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryBounceConjuringHitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryBounceConjuringHitNotify) ProtoMessage() {} + +func (x *GalleryBounceConjuringHitNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryBounceConjuringHitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryBounceConjuringHitNotify.ProtoReflect.Descriptor instead. +func (*GalleryBounceConjuringHitNotify) Descriptor() ([]byte, []int) { + return file_GalleryBounceConjuringHitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryBounceConjuringHitNotify) GetAddScore() uint32 { + if x != nil { + return x.AddScore + } + return 0 +} + +func (x *GalleryBounceConjuringHitNotify) GetIsPerfect() bool { + if x != nil { + return x.IsPerfect + } + return false +} + +func (x *GalleryBounceConjuringHitNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryBounceConjuringHitNotify_proto protoreflect.FileDescriptor + +var file_GalleryBounceConjuringHitNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x1f, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x48, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, + 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x64, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, + 0x72, 0x66, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, + 0x65, 0x72, 0x66, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryBounceConjuringHitNotify_proto_rawDescOnce sync.Once + file_GalleryBounceConjuringHitNotify_proto_rawDescData = file_GalleryBounceConjuringHitNotify_proto_rawDesc +) + +func file_GalleryBounceConjuringHitNotify_proto_rawDescGZIP() []byte { + file_GalleryBounceConjuringHitNotify_proto_rawDescOnce.Do(func() { + file_GalleryBounceConjuringHitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryBounceConjuringHitNotify_proto_rawDescData) + }) + return file_GalleryBounceConjuringHitNotify_proto_rawDescData +} + +var file_GalleryBounceConjuringHitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryBounceConjuringHitNotify_proto_goTypes = []interface{}{ + (*GalleryBounceConjuringHitNotify)(nil), // 0: GalleryBounceConjuringHitNotify +} +var file_GalleryBounceConjuringHitNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryBounceConjuringHitNotify_proto_init() } +func file_GalleryBounceConjuringHitNotify_proto_init() { + if File_GalleryBounceConjuringHitNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryBounceConjuringHitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryBounceConjuringHitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryBounceConjuringHitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryBounceConjuringHitNotify_proto_goTypes, + DependencyIndexes: file_GalleryBounceConjuringHitNotify_proto_depIdxs, + MessageInfos: file_GalleryBounceConjuringHitNotify_proto_msgTypes, + }.Build() + File_GalleryBounceConjuringHitNotify_proto = out.File + file_GalleryBounceConjuringHitNotify_proto_rawDesc = nil + file_GalleryBounceConjuringHitNotify_proto_goTypes = nil + file_GalleryBounceConjuringHitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.proto b/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.proto new file mode 100644 index 00000000..df7728a0 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBounceConjuringHitNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5505 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryBounceConjuringHitNotify { + uint32 add_score = 8; + bool is_perfect = 5; + uint32 gallery_id = 10; +} diff --git a/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.pb.go b/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.pb.go new file mode 100644 index 00000000..376f46a2 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryBrokenFloorFallNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5575 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryBrokenFloorFallNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FallCount uint32 `protobuf:"varint,3,opt,name=fall_count,json=fallCount,proto3" json:"fall_count,omitempty"` + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryBrokenFloorFallNotify) Reset() { + *x = GalleryBrokenFloorFallNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryBrokenFloorFallNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryBrokenFloorFallNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryBrokenFloorFallNotify) ProtoMessage() {} + +func (x *GalleryBrokenFloorFallNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryBrokenFloorFallNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryBrokenFloorFallNotify.ProtoReflect.Descriptor instead. +func (*GalleryBrokenFloorFallNotify) Descriptor() ([]byte, []int) { + return file_GalleryBrokenFloorFallNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryBrokenFloorFallNotify) GetFallCount() uint32 { + if x != nil { + return x.FallCount + } + return 0 +} + +func (x *GalleryBrokenFloorFallNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryBrokenFloorFallNotify_proto protoreflect.FileDescriptor + +var file_GalleryBrokenFloorFallNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x46, + 0x6c, 0x6f, 0x6f, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x1c, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, + 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryBrokenFloorFallNotify_proto_rawDescOnce sync.Once + file_GalleryBrokenFloorFallNotify_proto_rawDescData = file_GalleryBrokenFloorFallNotify_proto_rawDesc +) + +func file_GalleryBrokenFloorFallNotify_proto_rawDescGZIP() []byte { + file_GalleryBrokenFloorFallNotify_proto_rawDescOnce.Do(func() { + file_GalleryBrokenFloorFallNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryBrokenFloorFallNotify_proto_rawDescData) + }) + return file_GalleryBrokenFloorFallNotify_proto_rawDescData +} + +var file_GalleryBrokenFloorFallNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryBrokenFloorFallNotify_proto_goTypes = []interface{}{ + (*GalleryBrokenFloorFallNotify)(nil), // 0: GalleryBrokenFloorFallNotify +} +var file_GalleryBrokenFloorFallNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryBrokenFloorFallNotify_proto_init() } +func file_GalleryBrokenFloorFallNotify_proto_init() { + if File_GalleryBrokenFloorFallNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryBrokenFloorFallNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryBrokenFloorFallNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryBrokenFloorFallNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryBrokenFloorFallNotify_proto_goTypes, + DependencyIndexes: file_GalleryBrokenFloorFallNotify_proto_depIdxs, + MessageInfos: file_GalleryBrokenFloorFallNotify_proto_msgTypes, + }.Build() + File_GalleryBrokenFloorFallNotify_proto = out.File + file_GalleryBrokenFloorFallNotify_proto_rawDesc = nil + file_GalleryBrokenFloorFallNotify_proto_goTypes = nil + file_GalleryBrokenFloorFallNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.proto b/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.proto new file mode 100644 index 00000000..96ea581f --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBrokenFloorFallNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5575 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryBrokenFloorFallNotify { + uint32 fall_count = 3; + uint32 gallery_id = 5; +} diff --git a/gate-hk4e-api/proto/GalleryBulletHitNotify.pb.go b/gate-hk4e-api/proto/GalleryBulletHitNotify.pb.go new file mode 100644 index 00000000..08952954 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBulletHitNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryBulletHitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5531 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryBulletHitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitCount uint32 `protobuf:"varint,14,opt,name=hit_count,json=hitCount,proto3" json:"hit_count,omitempty"` + GalleryId uint32 `protobuf:"varint,12,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryBulletHitNotify) Reset() { + *x = GalleryBulletHitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryBulletHitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryBulletHitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryBulletHitNotify) ProtoMessage() {} + +func (x *GalleryBulletHitNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryBulletHitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryBulletHitNotify.ProtoReflect.Descriptor instead. +func (*GalleryBulletHitNotify) Descriptor() ([]byte, []int) { + return file_GalleryBulletHitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryBulletHitNotify) GetHitCount() uint32 { + if x != nil { + return x.HitCount + } + return 0 +} + +func (x *GalleryBulletHitNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryBulletHitNotify_proto protoreflect.FileDescriptor + +var file_GalleryBulletHitNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x48, + 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, + 0x0a, 0x16, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x48, + 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x74, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x69, 0x74, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryBulletHitNotify_proto_rawDescOnce sync.Once + file_GalleryBulletHitNotify_proto_rawDescData = file_GalleryBulletHitNotify_proto_rawDesc +) + +func file_GalleryBulletHitNotify_proto_rawDescGZIP() []byte { + file_GalleryBulletHitNotify_proto_rawDescOnce.Do(func() { + file_GalleryBulletHitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryBulletHitNotify_proto_rawDescData) + }) + return file_GalleryBulletHitNotify_proto_rawDescData +} + +var file_GalleryBulletHitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryBulletHitNotify_proto_goTypes = []interface{}{ + (*GalleryBulletHitNotify)(nil), // 0: GalleryBulletHitNotify +} +var file_GalleryBulletHitNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryBulletHitNotify_proto_init() } +func file_GalleryBulletHitNotify_proto_init() { + if File_GalleryBulletHitNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryBulletHitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryBulletHitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryBulletHitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryBulletHitNotify_proto_goTypes, + DependencyIndexes: file_GalleryBulletHitNotify_proto_depIdxs, + MessageInfos: file_GalleryBulletHitNotify_proto_msgTypes, + }.Build() + File_GalleryBulletHitNotify_proto = out.File + file_GalleryBulletHitNotify_proto_rawDesc = nil + file_GalleryBulletHitNotify_proto_goTypes = nil + file_GalleryBulletHitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryBulletHitNotify.proto b/gate-hk4e-api/proto/GalleryBulletHitNotify.proto new file mode 100644 index 00000000..599aaca0 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryBulletHitNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5531 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryBulletHitNotify { + uint32 hit_count = 14; + uint32 gallery_id = 12; +} diff --git a/gate-hk4e-api/proto/GalleryFallCatchNotify.pb.go b/gate-hk4e-api/proto/GalleryFallCatchNotify.pb.go new file mode 100644 index 00000000..8065d993 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFallCatchNotify.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryFallCatchNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5507 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryFallCatchNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurScore uint32 `protobuf:"varint,6,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + TimeCost uint32 `protobuf:"varint,11,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"` + BallCatchCountMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=ball_catch_count_map,json=ballCatchCountMap,proto3" json:"ball_catch_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AddScore uint32 `protobuf:"varint,1,opt,name=add_score,json=addScore,proto3" json:"add_score,omitempty"` + IsGround bool `protobuf:"varint,12,opt,name=is_ground,json=isGround,proto3" json:"is_ground,omitempty"` + GalleryId uint32 `protobuf:"varint,10,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryFallCatchNotify) Reset() { + *x = GalleryFallCatchNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryFallCatchNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryFallCatchNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryFallCatchNotify) ProtoMessage() {} + +func (x *GalleryFallCatchNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryFallCatchNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryFallCatchNotify.ProtoReflect.Descriptor instead. +func (*GalleryFallCatchNotify) Descriptor() ([]byte, []int) { + return file_GalleryFallCatchNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryFallCatchNotify) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *GalleryFallCatchNotify) GetTimeCost() uint32 { + if x != nil { + return x.TimeCost + } + return 0 +} + +func (x *GalleryFallCatchNotify) GetBallCatchCountMap() map[uint32]uint32 { + if x != nil { + return x.BallCatchCountMap + } + return nil +} + +func (x *GalleryFallCatchNotify) GetAddScore() uint32 { + if x != nil { + return x.AddScore + } + return 0 +} + +func (x *GalleryFallCatchNotify) GetIsGround() bool { + if x != nil { + return x.IsGround + } + return false +} + +func (x *GalleryFallCatchNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryFallCatchNotify_proto protoreflect.FileDescriptor + +var file_GalleryFallCatchNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, + 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, + 0x02, 0x0a, 0x16, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x43, 0x61, + 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, + 0x6f, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x43, + 0x6f, 0x73, 0x74, 0x12, 0x5f, 0x0a, 0x14, 0x62, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x43, + 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x42, 0x61, 0x6c, 0x6c, 0x43, + 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x62, 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x64, 0x64, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x1a, 0x44, 0x0a, + 0x16, 0x42, 0x61, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryFallCatchNotify_proto_rawDescOnce sync.Once + file_GalleryFallCatchNotify_proto_rawDescData = file_GalleryFallCatchNotify_proto_rawDesc +) + +func file_GalleryFallCatchNotify_proto_rawDescGZIP() []byte { + file_GalleryFallCatchNotify_proto_rawDescOnce.Do(func() { + file_GalleryFallCatchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryFallCatchNotify_proto_rawDescData) + }) + return file_GalleryFallCatchNotify_proto_rawDescData +} + +var file_GalleryFallCatchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GalleryFallCatchNotify_proto_goTypes = []interface{}{ + (*GalleryFallCatchNotify)(nil), // 0: GalleryFallCatchNotify + nil, // 1: GalleryFallCatchNotify.BallCatchCountMapEntry +} +var file_GalleryFallCatchNotify_proto_depIdxs = []int32{ + 1, // 0: GalleryFallCatchNotify.ball_catch_count_map:type_name -> GalleryFallCatchNotify.BallCatchCountMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GalleryFallCatchNotify_proto_init() } +func file_GalleryFallCatchNotify_proto_init() { + if File_GalleryFallCatchNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryFallCatchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryFallCatchNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryFallCatchNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryFallCatchNotify_proto_goTypes, + DependencyIndexes: file_GalleryFallCatchNotify_proto_depIdxs, + MessageInfos: file_GalleryFallCatchNotify_proto_msgTypes, + }.Build() + File_GalleryFallCatchNotify_proto = out.File + file_GalleryFallCatchNotify_proto_rawDesc = nil + file_GalleryFallCatchNotify_proto_goTypes = nil + file_GalleryFallCatchNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryFallCatchNotify.proto b/gate-hk4e-api/proto/GalleryFallCatchNotify.proto new file mode 100644 index 00000000..2ca6b9ce --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFallCatchNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5507 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryFallCatchNotify { + uint32 cur_score = 6; + uint32 time_cost = 11; + map ball_catch_count_map = 15; + uint32 add_score = 1; + bool is_ground = 12; + uint32 gallery_id = 10; +} diff --git a/gate-hk4e-api/proto/GalleryFallScoreNotify.pb.go b/gate-hk4e-api/proto/GalleryFallScoreNotify.pb.go new file mode 100644 index 00000000..5199a0c4 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFallScoreNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryFallScoreNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5521 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryFallScoreNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,7,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + UidBriefMap map[uint32]*FallPlayerBrief `protobuf:"bytes,1,rep,name=uid_brief_map,json=uidBriefMap,proto3" json:"uid_brief_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GalleryFallScoreNotify) Reset() { + *x = GalleryFallScoreNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryFallScoreNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryFallScoreNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryFallScoreNotify) ProtoMessage() {} + +func (x *GalleryFallScoreNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryFallScoreNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryFallScoreNotify.ProtoReflect.Descriptor instead. +func (*GalleryFallScoreNotify) Descriptor() ([]byte, []int) { + return file_GalleryFallScoreNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryFallScoreNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *GalleryFallScoreNotify) GetUidBriefMap() map[uint32]*FallPlayerBrief { + if x != nil { + return x.UidBriefMap + } + return nil +} + +var File_GalleryFallScoreNotify_proto protoreflect.FileDescriptor + +var file_GalleryFallScoreNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, + 0x4c, 0x0a, 0x0d, 0x75, 0x69, 0x64, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x46, 0x61, 0x6c, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x55, 0x69, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0b, 0x75, 0x69, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x4d, 0x61, 0x70, 0x1a, 0x50, 0x0a, + 0x10, 0x55, 0x69, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryFallScoreNotify_proto_rawDescOnce sync.Once + file_GalleryFallScoreNotify_proto_rawDescData = file_GalleryFallScoreNotify_proto_rawDesc +) + +func file_GalleryFallScoreNotify_proto_rawDescGZIP() []byte { + file_GalleryFallScoreNotify_proto_rawDescOnce.Do(func() { + file_GalleryFallScoreNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryFallScoreNotify_proto_rawDescData) + }) + return file_GalleryFallScoreNotify_proto_rawDescData +} + +var file_GalleryFallScoreNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GalleryFallScoreNotify_proto_goTypes = []interface{}{ + (*GalleryFallScoreNotify)(nil), // 0: GalleryFallScoreNotify + nil, // 1: GalleryFallScoreNotify.UidBriefMapEntry + (*FallPlayerBrief)(nil), // 2: FallPlayerBrief +} +var file_GalleryFallScoreNotify_proto_depIdxs = []int32{ + 1, // 0: GalleryFallScoreNotify.uid_brief_map:type_name -> GalleryFallScoreNotify.UidBriefMapEntry + 2, // 1: GalleryFallScoreNotify.UidBriefMapEntry.value:type_name -> FallPlayerBrief + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GalleryFallScoreNotify_proto_init() } +func file_GalleryFallScoreNotify_proto_init() { + if File_GalleryFallScoreNotify_proto != nil { + return + } + file_FallPlayerBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_GalleryFallScoreNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryFallScoreNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryFallScoreNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryFallScoreNotify_proto_goTypes, + DependencyIndexes: file_GalleryFallScoreNotify_proto_depIdxs, + MessageInfos: file_GalleryFallScoreNotify_proto_msgTypes, + }.Build() + File_GalleryFallScoreNotify_proto = out.File + file_GalleryFallScoreNotify_proto_rawDesc = nil + file_GalleryFallScoreNotify_proto_goTypes = nil + file_GalleryFallScoreNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryFallScoreNotify.proto b/gate-hk4e-api/proto/GalleryFallScoreNotify.proto new file mode 100644 index 00000000..7c347f17 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFallScoreNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FallPlayerBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 5521 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryFallScoreNotify { + uint32 gallery_id = 7; + map uid_brief_map = 1; +} diff --git a/gate-hk4e-api/proto/GalleryFlowerCatchNotify.pb.go b/gate-hk4e-api/proto/GalleryFlowerCatchNotify.pb.go new file mode 100644 index 00000000..b195d144 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFlowerCatchNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryFlowerCatchNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5573 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryFlowerCatchNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurScore uint32 `protobuf:"varint,12,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + AddScore uint32 `protobuf:"varint,14,opt,name=add_score,json=addScore,proto3" json:"add_score,omitempty"` + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryFlowerCatchNotify) Reset() { + *x = GalleryFlowerCatchNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryFlowerCatchNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryFlowerCatchNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryFlowerCatchNotify) ProtoMessage() {} + +func (x *GalleryFlowerCatchNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryFlowerCatchNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryFlowerCatchNotify.ProtoReflect.Descriptor instead. +func (*GalleryFlowerCatchNotify) Descriptor() ([]byte, []int) { + return file_GalleryFlowerCatchNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryFlowerCatchNotify) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *GalleryFlowerCatchNotify) GetAddScore() uint32 { + if x != nil { + return x.AddScore + } + return 0 +} + +func (x *GalleryFlowerCatchNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryFlowerCatchNotify_proto protoreflect.FileDescriptor + +var file_GalleryFlowerCatchNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x43, + 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x73, 0x0a, 0x18, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x43, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x64, + 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryFlowerCatchNotify_proto_rawDescOnce sync.Once + file_GalleryFlowerCatchNotify_proto_rawDescData = file_GalleryFlowerCatchNotify_proto_rawDesc +) + +func file_GalleryFlowerCatchNotify_proto_rawDescGZIP() []byte { + file_GalleryFlowerCatchNotify_proto_rawDescOnce.Do(func() { + file_GalleryFlowerCatchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryFlowerCatchNotify_proto_rawDescData) + }) + return file_GalleryFlowerCatchNotify_proto_rawDescData +} + +var file_GalleryFlowerCatchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryFlowerCatchNotify_proto_goTypes = []interface{}{ + (*GalleryFlowerCatchNotify)(nil), // 0: GalleryFlowerCatchNotify +} +var file_GalleryFlowerCatchNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryFlowerCatchNotify_proto_init() } +func file_GalleryFlowerCatchNotify_proto_init() { + if File_GalleryFlowerCatchNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryFlowerCatchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryFlowerCatchNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryFlowerCatchNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryFlowerCatchNotify_proto_goTypes, + DependencyIndexes: file_GalleryFlowerCatchNotify_proto_depIdxs, + MessageInfos: file_GalleryFlowerCatchNotify_proto_msgTypes, + }.Build() + File_GalleryFlowerCatchNotify_proto = out.File + file_GalleryFlowerCatchNotify_proto_rawDesc = nil + file_GalleryFlowerCatchNotify_proto_goTypes = nil + file_GalleryFlowerCatchNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryFlowerCatchNotify.proto b/gate-hk4e-api/proto/GalleryFlowerCatchNotify.proto new file mode 100644 index 00000000..c4e5d1d2 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFlowerCatchNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5573 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryFlowerCatchNotify { + uint32 cur_score = 12; + uint32 add_score = 14; + uint32 gallery_id = 5; +} diff --git a/gate-hk4e-api/proto/GalleryFlowerStartParam.pb.go b/gate-hk4e-api/proto/GalleryFlowerStartParam.pb.go new file mode 100644 index 00000000..d1993d39 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFlowerStartParam.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryFlowerStartParam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GalleryFlowerStartParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetScore uint32 `protobuf:"varint,5,opt,name=target_score,json=targetScore,proto3" json:"target_score,omitempty"` +} + +func (x *GalleryFlowerStartParam) Reset() { + *x = GalleryFlowerStartParam{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryFlowerStartParam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryFlowerStartParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryFlowerStartParam) ProtoMessage() {} + +func (x *GalleryFlowerStartParam) ProtoReflect() protoreflect.Message { + mi := &file_GalleryFlowerStartParam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryFlowerStartParam.ProtoReflect.Descriptor instead. +func (*GalleryFlowerStartParam) Descriptor() ([]byte, []int) { + return file_GalleryFlowerStartParam_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryFlowerStartParam) GetTargetScore() uint32 { + if x != nil { + return x.TargetScore + } + return 0 +} + +var File_GalleryFlowerStartParam_proto protoreflect.FileDescriptor + +var file_GalleryFlowerStartParam_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3c, 0x0a, 0x17, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GalleryFlowerStartParam_proto_rawDescOnce sync.Once + file_GalleryFlowerStartParam_proto_rawDescData = file_GalleryFlowerStartParam_proto_rawDesc +) + +func file_GalleryFlowerStartParam_proto_rawDescGZIP() []byte { + file_GalleryFlowerStartParam_proto_rawDescOnce.Do(func() { + file_GalleryFlowerStartParam_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryFlowerStartParam_proto_rawDescData) + }) + return file_GalleryFlowerStartParam_proto_rawDescData +} + +var file_GalleryFlowerStartParam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryFlowerStartParam_proto_goTypes = []interface{}{ + (*GalleryFlowerStartParam)(nil), // 0: GalleryFlowerStartParam +} +var file_GalleryFlowerStartParam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryFlowerStartParam_proto_init() } +func file_GalleryFlowerStartParam_proto_init() { + if File_GalleryFlowerStartParam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryFlowerStartParam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryFlowerStartParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryFlowerStartParam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryFlowerStartParam_proto_goTypes, + DependencyIndexes: file_GalleryFlowerStartParam_proto_depIdxs, + MessageInfos: file_GalleryFlowerStartParam_proto_msgTypes, + }.Build() + File_GalleryFlowerStartParam_proto = out.File + file_GalleryFlowerStartParam_proto_rawDesc = nil + file_GalleryFlowerStartParam_proto_goTypes = nil + file_GalleryFlowerStartParam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryFlowerStartParam.proto b/gate-hk4e-api/proto/GalleryFlowerStartParam.proto new file mode 100644 index 00000000..97e85e96 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryFlowerStartParam.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GalleryFlowerStartParam { + uint32 target_score = 5; +} diff --git a/gate-hk4e-api/proto/GalleryPreStartNotify.pb.go b/gate-hk4e-api/proto/GalleryPreStartNotify.pb.go new file mode 100644 index 00000000..b6d1efef --- /dev/null +++ b/gate-hk4e-api/proto/GalleryPreStartNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryPreStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5599 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryPreStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,10,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + PreStartEndTime uint32 `protobuf:"varint,9,opt,name=pre_start_end_time,json=preStartEndTime,proto3" json:"pre_start_end_time,omitempty"` +} + +func (x *GalleryPreStartNotify) Reset() { + *x = GalleryPreStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryPreStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryPreStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryPreStartNotify) ProtoMessage() {} + +func (x *GalleryPreStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryPreStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryPreStartNotify.ProtoReflect.Descriptor instead. +func (*GalleryPreStartNotify) Descriptor() ([]byte, []int) { + return file_GalleryPreStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryPreStartNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *GalleryPreStartNotify) GetPreStartEndTime() uint32 { + if x != nil { + return x.PreStartEndTime + } + return 0 +} + +var File_GalleryPreStartNotify_proto protoreflect.FileDescriptor + +var file_GalleryPreStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x50, 0x72, 0x65, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, + 0x15, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x50, 0x72, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryPreStartNotify_proto_rawDescOnce sync.Once + file_GalleryPreStartNotify_proto_rawDescData = file_GalleryPreStartNotify_proto_rawDesc +) + +func file_GalleryPreStartNotify_proto_rawDescGZIP() []byte { + file_GalleryPreStartNotify_proto_rawDescOnce.Do(func() { + file_GalleryPreStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryPreStartNotify_proto_rawDescData) + }) + return file_GalleryPreStartNotify_proto_rawDescData +} + +var file_GalleryPreStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryPreStartNotify_proto_goTypes = []interface{}{ + (*GalleryPreStartNotify)(nil), // 0: GalleryPreStartNotify +} +var file_GalleryPreStartNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryPreStartNotify_proto_init() } +func file_GalleryPreStartNotify_proto_init() { + if File_GalleryPreStartNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryPreStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryPreStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryPreStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryPreStartNotify_proto_goTypes, + DependencyIndexes: file_GalleryPreStartNotify_proto_depIdxs, + MessageInfos: file_GalleryPreStartNotify_proto_msgTypes, + }.Build() + File_GalleryPreStartNotify_proto = out.File + file_GalleryPreStartNotify_proto_rawDesc = nil + file_GalleryPreStartNotify_proto_goTypes = nil + file_GalleryPreStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryPreStartNotify.proto b/gate-hk4e-api/proto/GalleryPreStartNotify.proto new file mode 100644 index 00000000..1aecfc5e --- /dev/null +++ b/gate-hk4e-api/proto/GalleryPreStartNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5599 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryPreStartNotify { + uint32 gallery_id = 10; + uint32 pre_start_end_time = 9; +} diff --git a/gate-hk4e-api/proto/GalleryStageType.pb.go b/gate-hk4e-api/proto/GalleryStageType.pb.go new file mode 100644 index 00000000..913ed9ba --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStageType.pb.go @@ -0,0 +1,150 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryStageType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GalleryStageType int32 + +const ( + GalleryStageType_GALLERY_STAGE_TYPE_NONE GalleryStageType = 0 + GalleryStageType_GALLERY_STAGE_TYPE_PRESTART GalleryStageType = 1 + GalleryStageType_GALLERY_STAGE_TYPE_START GalleryStageType = 2 +) + +// Enum value maps for GalleryStageType. +var ( + GalleryStageType_name = map[int32]string{ + 0: "GALLERY_STAGE_TYPE_NONE", + 1: "GALLERY_STAGE_TYPE_PRESTART", + 2: "GALLERY_STAGE_TYPE_START", + } + GalleryStageType_value = map[string]int32{ + "GALLERY_STAGE_TYPE_NONE": 0, + "GALLERY_STAGE_TYPE_PRESTART": 1, + "GALLERY_STAGE_TYPE_START": 2, + } +) + +func (x GalleryStageType) Enum() *GalleryStageType { + p := new(GalleryStageType) + *p = x + return p +} + +func (x GalleryStageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GalleryStageType) Descriptor() protoreflect.EnumDescriptor { + return file_GalleryStageType_proto_enumTypes[0].Descriptor() +} + +func (GalleryStageType) Type() protoreflect.EnumType { + return &file_GalleryStageType_proto_enumTypes[0] +} + +func (x GalleryStageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GalleryStageType.Descriptor instead. +func (GalleryStageType) EnumDescriptor() ([]byte, []int) { + return file_GalleryStageType_proto_rawDescGZIP(), []int{0} +} + +var File_GalleryStageType_proto protoreflect.FileDescriptor + +var file_GalleryStageType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x6e, 0x0a, 0x10, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, + 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x47, 0x41, 0x4c, + 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x50, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x41, + 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GalleryStageType_proto_rawDescOnce sync.Once + file_GalleryStageType_proto_rawDescData = file_GalleryStageType_proto_rawDesc +) + +func file_GalleryStageType_proto_rawDescGZIP() []byte { + file_GalleryStageType_proto_rawDescOnce.Do(func() { + file_GalleryStageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryStageType_proto_rawDescData) + }) + return file_GalleryStageType_proto_rawDescData +} + +var file_GalleryStageType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_GalleryStageType_proto_goTypes = []interface{}{ + (GalleryStageType)(0), // 0: GalleryStageType +} +var file_GalleryStageType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryStageType_proto_init() } +func file_GalleryStageType_proto_init() { + if File_GalleryStageType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryStageType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryStageType_proto_goTypes, + DependencyIndexes: file_GalleryStageType_proto_depIdxs, + EnumInfos: file_GalleryStageType_proto_enumTypes, + }.Build() + File_GalleryStageType_proto = out.File + file_GalleryStageType_proto_rawDesc = nil + file_GalleryStageType_proto_goTypes = nil + file_GalleryStageType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryStageType.proto b/gate-hk4e-api/proto/GalleryStageType.proto new file mode 100644 index 00000000..51c95675 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStageType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum GalleryStageType { + GALLERY_STAGE_TYPE_NONE = 0; + GALLERY_STAGE_TYPE_PRESTART = 1; + GALLERY_STAGE_TYPE_START = 2; +} diff --git a/gate-hk4e-api/proto/GalleryStartNotify.pb.go b/gate-hk4e-api/proto/GalleryStartNotify.pb.go new file mode 100644 index 00000000..a852d669 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStartNotify.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5572 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + EndTime uint32 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + PlayerCount uint32 `protobuf:"varint,11,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"` + OwnerUid uint32 `protobuf:"varint,9,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` + // Types that are assignable to Detail: + // *GalleryStartNotify_FlowerStartParam + Detail isGalleryStartNotify_Detail `protobuf_oneof:"detail"` +} + +func (x *GalleryStartNotify) Reset() { + *x = GalleryStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryStartNotify) ProtoMessage() {} + +func (x *GalleryStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryStartNotify.ProtoReflect.Descriptor instead. +func (*GalleryStartNotify) Descriptor() ([]byte, []int) { + return file_GalleryStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryStartNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *GalleryStartNotify) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *GalleryStartNotify) GetPlayerCount() uint32 { + if x != nil { + return x.PlayerCount + } + return 0 +} + +func (x *GalleryStartNotify) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +func (m *GalleryStartNotify) GetDetail() isGalleryStartNotify_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *GalleryStartNotify) GetFlowerStartParam() *GalleryFlowerStartParam { + if x, ok := x.GetDetail().(*GalleryStartNotify_FlowerStartParam); ok { + return x.FlowerStartParam + } + return nil +} + +type isGalleryStartNotify_Detail interface { + isGalleryStartNotify_Detail() +} + +type GalleryStartNotify_FlowerStartParam struct { + FlowerStartParam *GalleryFlowerStartParam `protobuf:"bytes,15,opt,name=flower_start_param,json=flowerStartParam,proto3,oneof"` +} + +func (*GalleryStartNotify_FlowerStartParam) isGalleryStartNotify_Detail() {} + +var File_GalleryStartNotify_proto protoreflect.FileDescriptor + +var file_GalleryStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x12, 0x66, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x48, 0x00, 0x52, 0x10, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GalleryStartNotify_proto_rawDescOnce sync.Once + file_GalleryStartNotify_proto_rawDescData = file_GalleryStartNotify_proto_rawDesc +) + +func file_GalleryStartNotify_proto_rawDescGZIP() []byte { + file_GalleryStartNotify_proto_rawDescOnce.Do(func() { + file_GalleryStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryStartNotify_proto_rawDescData) + }) + return file_GalleryStartNotify_proto_rawDescData +} + +var file_GalleryStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryStartNotify_proto_goTypes = []interface{}{ + (*GalleryStartNotify)(nil), // 0: GalleryStartNotify + (*GalleryFlowerStartParam)(nil), // 1: GalleryFlowerStartParam +} +var file_GalleryStartNotify_proto_depIdxs = []int32{ + 1, // 0: GalleryStartNotify.flower_start_param:type_name -> GalleryFlowerStartParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GalleryStartNotify_proto_init() } +func file_GalleryStartNotify_proto_init() { + if File_GalleryStartNotify_proto != nil { + return + } + file_GalleryFlowerStartParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_GalleryStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_GalleryStartNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GalleryStartNotify_FlowerStartParam)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryStartNotify_proto_goTypes, + DependencyIndexes: file_GalleryStartNotify_proto_depIdxs, + MessageInfos: file_GalleryStartNotify_proto_msgTypes, + }.Build() + File_GalleryStartNotify_proto = out.File + file_GalleryStartNotify_proto_rawDesc = nil + file_GalleryStartNotify_proto_goTypes = nil + file_GalleryStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryStartNotify.proto b/gate-hk4e-api/proto/GalleryStartNotify.proto new file mode 100644 index 00000000..a7361ce5 --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStartNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GalleryFlowerStartParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 5572 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryStartNotify { + uint32 gallery_id = 13; + uint32 end_time = 6; + uint32 player_count = 11; + uint32 owner_uid = 9; + oneof detail { + GalleryFlowerStartParam flower_start_param = 15; + } +} diff --git a/gate-hk4e-api/proto/GalleryStopNotify.pb.go b/gate-hk4e-api/proto/GalleryStopNotify.pb.go new file mode 100644 index 00000000..895f233f --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStopNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GalleryStopNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5535 +// EnetChannelId: 0 +// EnetIsReliable: true +type GalleryStopNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,8,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GalleryStopNotify) Reset() { + *x = GalleryStopNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GalleryStopNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GalleryStopNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GalleryStopNotify) ProtoMessage() {} + +func (x *GalleryStopNotify) ProtoReflect() protoreflect.Message { + mi := &file_GalleryStopNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GalleryStopNotify.ProtoReflect.Descriptor instead. +func (*GalleryStopNotify) Descriptor() ([]byte, []int) { + return file_GalleryStopNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GalleryStopNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GalleryStopNotify_proto protoreflect.FileDescriptor + +var file_GalleryStopNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GalleryStopNotify_proto_rawDescOnce sync.Once + file_GalleryStopNotify_proto_rawDescData = file_GalleryStopNotify_proto_rawDesc +) + +func file_GalleryStopNotify_proto_rawDescGZIP() []byte { + file_GalleryStopNotify_proto_rawDescOnce.Do(func() { + file_GalleryStopNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GalleryStopNotify_proto_rawDescData) + }) + return file_GalleryStopNotify_proto_rawDescData +} + +var file_GalleryStopNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GalleryStopNotify_proto_goTypes = []interface{}{ + (*GalleryStopNotify)(nil), // 0: GalleryStopNotify +} +var file_GalleryStopNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GalleryStopNotify_proto_init() } +func file_GalleryStopNotify_proto_init() { + if File_GalleryStopNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GalleryStopNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GalleryStopNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GalleryStopNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GalleryStopNotify_proto_goTypes, + DependencyIndexes: file_GalleryStopNotify_proto_depIdxs, + MessageInfos: file_GalleryStopNotify_proto_msgTypes, + }.Build() + File_GalleryStopNotify_proto = out.File + file_GalleryStopNotify_proto_rawDesc = nil + file_GalleryStopNotify_proto_goTypes = nil + file_GalleryStopNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GalleryStopNotify.proto b/gate-hk4e-api/proto/GalleryStopNotify.proto new file mode 100644 index 00000000..9e700f4e --- /dev/null +++ b/gate-hk4e-api/proto/GalleryStopNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5535 +// EnetChannelId: 0 +// EnetIsReliable: true +message GalleryStopNotify { + uint32 gallery_id = 8; +} diff --git a/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.pb.go b/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.pb.go new file mode 100644 index 00000000..49fdfaa8 --- /dev/null +++ b/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GallerySumoKillMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5582 +// EnetChannelId: 0 +// EnetIsReliable: true +type GallerySumoKillMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KillNormalMosnterNum uint32 `protobuf:"varint,4,opt,name=kill_normal_mosnter_num,json=killNormalMosnterNum,proto3" json:"kill_normal_mosnter_num,omitempty"` + Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` + KillEliteMonsterNum uint32 `protobuf:"varint,14,opt,name=kill_elite_monster_num,json=killEliteMonsterNum,proto3" json:"kill_elite_monster_num,omitempty"` + GalleryId uint32 `protobuf:"varint,11,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *GallerySumoKillMonsterNotify) Reset() { + *x = GallerySumoKillMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GallerySumoKillMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GallerySumoKillMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GallerySumoKillMonsterNotify) ProtoMessage() {} + +func (x *GallerySumoKillMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_GallerySumoKillMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GallerySumoKillMonsterNotify.ProtoReflect.Descriptor instead. +func (*GallerySumoKillMonsterNotify) Descriptor() ([]byte, []int) { + return file_GallerySumoKillMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GallerySumoKillMonsterNotify) GetKillNormalMosnterNum() uint32 { + if x != nil { + return x.KillNormalMosnterNum + } + return 0 +} + +func (x *GallerySumoKillMonsterNotify) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *GallerySumoKillMonsterNotify) GetKillEliteMonsterNum() uint32 { + if x != nil { + return x.KillEliteMonsterNum + } + return 0 +} + +func (x *GallerySumoKillMonsterNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_GallerySumoKillMonsterNotify_proto protoreflect.FileDescriptor + +var file_GallerySumoKillMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, 0x6f, 0x4b, 0x69, 0x6c, + 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x1c, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x53, 0x75, 0x6d, 0x6f, 0x4b, 0x69, 0x6c, 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x35, 0x0a, 0x17, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6e, 0x6f, + 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x73, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6b, 0x69, 0x6c, 0x6c, 0x4e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x4d, 0x6f, 0x73, 0x6e, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x6c, 0x69, 0x74, 0x65, + 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x13, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GallerySumoKillMonsterNotify_proto_rawDescOnce sync.Once + file_GallerySumoKillMonsterNotify_proto_rawDescData = file_GallerySumoKillMonsterNotify_proto_rawDesc +) + +func file_GallerySumoKillMonsterNotify_proto_rawDescGZIP() []byte { + file_GallerySumoKillMonsterNotify_proto_rawDescOnce.Do(func() { + file_GallerySumoKillMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GallerySumoKillMonsterNotify_proto_rawDescData) + }) + return file_GallerySumoKillMonsterNotify_proto_rawDescData +} + +var file_GallerySumoKillMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GallerySumoKillMonsterNotify_proto_goTypes = []interface{}{ + (*GallerySumoKillMonsterNotify)(nil), // 0: GallerySumoKillMonsterNotify +} +var file_GallerySumoKillMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GallerySumoKillMonsterNotify_proto_init() } +func file_GallerySumoKillMonsterNotify_proto_init() { + if File_GallerySumoKillMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GallerySumoKillMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GallerySumoKillMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GallerySumoKillMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GallerySumoKillMonsterNotify_proto_goTypes, + DependencyIndexes: file_GallerySumoKillMonsterNotify_proto_depIdxs, + MessageInfos: file_GallerySumoKillMonsterNotify_proto_msgTypes, + }.Build() + File_GallerySumoKillMonsterNotify_proto = out.File + file_GallerySumoKillMonsterNotify_proto_rawDesc = nil + file_GallerySumoKillMonsterNotify_proto_goTypes = nil + file_GallerySumoKillMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.proto b/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.proto new file mode 100644 index 00000000..8f3f0e1f --- /dev/null +++ b/gate-hk4e-api/proto/GallerySumoKillMonsterNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5582 +// EnetChannelId: 0 +// EnetIsReliable: true +message GallerySumoKillMonsterNotify { + uint32 kill_normal_mosnter_num = 4; + uint32 score = 7; + uint32 kill_elite_monster_num = 14; + uint32 gallery_id = 11; +} diff --git a/gate-hk4e-api/proto/GatherGadgetInfo.pb.go b/gate-hk4e-api/proto/GatherGadgetInfo.pb.go new file mode 100644 index 00000000..4a7b39ce --- /dev/null +++ b/gate-hk4e-api/proto/GatherGadgetInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GatherGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GatherGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + IsForbidGuest bool `protobuf:"varint,2,opt,name=is_forbid_guest,json=isForbidGuest,proto3" json:"is_forbid_guest,omitempty"` +} + +func (x *GatherGadgetInfo) Reset() { + *x = GatherGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GatherGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GatherGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GatherGadgetInfo) ProtoMessage() {} + +func (x *GatherGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_GatherGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GatherGadgetInfo.ProtoReflect.Descriptor instead. +func (*GatherGadgetInfo) Descriptor() ([]byte, []int) { + return file_GatherGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GatherGadgetInfo) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *GatherGadgetInfo) GetIsForbidGuest() bool { + if x != nil { + return x.IsForbidGuest + } + return false +} + +var File_GatherGadgetInfo_proto protoreflect.FileDescriptor + +var file_GatherGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, + 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x62, + 0x69, 0x64, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x69, 0x73, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x47, 0x75, 0x65, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GatherGadgetInfo_proto_rawDescOnce sync.Once + file_GatherGadgetInfo_proto_rawDescData = file_GatherGadgetInfo_proto_rawDesc +) + +func file_GatherGadgetInfo_proto_rawDescGZIP() []byte { + file_GatherGadgetInfo_proto_rawDescOnce.Do(func() { + file_GatherGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GatherGadgetInfo_proto_rawDescData) + }) + return file_GatherGadgetInfo_proto_rawDescData +} + +var file_GatherGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GatherGadgetInfo_proto_goTypes = []interface{}{ + (*GatherGadgetInfo)(nil), // 0: GatherGadgetInfo +} +var file_GatherGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GatherGadgetInfo_proto_init() } +func file_GatherGadgetInfo_proto_init() { + if File_GatherGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GatherGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GatherGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GatherGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GatherGadgetInfo_proto_goTypes, + DependencyIndexes: file_GatherGadgetInfo_proto_depIdxs, + MessageInfos: file_GatherGadgetInfo_proto_msgTypes, + }.Build() + File_GatherGadgetInfo_proto = out.File + file_GatherGadgetInfo_proto_rawDesc = nil + file_GatherGadgetInfo_proto_goTypes = nil + file_GatherGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GatherGadgetInfo.proto b/gate-hk4e-api/proto/GatherGadgetInfo.proto new file mode 100644 index 00000000..74080ba5 --- /dev/null +++ b/gate-hk4e-api/proto/GatherGadgetInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GatherGadgetInfo { + uint32 item_id = 1; + bool is_forbid_guest = 2; +} diff --git a/gate-hk4e-api/proto/GearActivityDetailInfo.pb.go b/gate-hk4e-api/proto/GearActivityDetailInfo.pb.go new file mode 100644 index 00000000..97726084 --- /dev/null +++ b/gate-hk4e-api/proto/GearActivityDetailInfo.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GearActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GearActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_GBAPCBPMHNJ []*Unk2800_BPOJIIDEADD `protobuf:"bytes,14,rep,name=Unk2800_GBAPCBPMHNJ,json=Unk2800GBAPCBPMHNJ,proto3" json:"Unk2800_GBAPCBPMHNJ,omitempty"` + Unk2800_IHEHGOBCINC *Unk2800_JIPMJPAKIKE `protobuf:"bytes,8,opt,name=Unk2800_IHEHGOBCINC,json=Unk2800IHEHGOBCINC,proto3" json:"Unk2800_IHEHGOBCINC,omitempty"` +} + +func (x *GearActivityDetailInfo) Reset() { + *x = GearActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GearActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GearActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GearActivityDetailInfo) ProtoMessage() {} + +func (x *GearActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_GearActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GearActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*GearActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_GearActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GearActivityDetailInfo) GetUnk2800_GBAPCBPMHNJ() []*Unk2800_BPOJIIDEADD { + if x != nil { + return x.Unk2800_GBAPCBPMHNJ + } + return nil +} + +func (x *GearActivityDetailInfo) GetUnk2800_IHEHGOBCINC() *Unk2800_JIPMJPAKIKE { + if x != nil { + return x.Unk2800_IHEHGOBCINC + } + return nil +} + +var File_GearActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_GearActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4f, 0x4a, 0x49, 0x49, 0x44, 0x45, + 0x41, 0x44, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x50, 0x4d, 0x4a, 0x50, 0x41, 0x4b, 0x49, 0x4b, 0x45, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x61, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x41, 0x50, 0x43, + 0x42, 0x50, 0x4d, 0x48, 0x4e, 0x4a, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4f, 0x4a, 0x49, 0x49, 0x44, 0x45, 0x41, + 0x44, 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x47, 0x42, 0x41, 0x50, 0x43, + 0x42, 0x50, 0x4d, 0x48, 0x4e, 0x4a, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x49, 0x48, 0x45, 0x48, 0x47, 0x4f, 0x42, 0x43, 0x49, 0x4e, 0x43, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x49, + 0x50, 0x4d, 0x4a, 0x50, 0x41, 0x4b, 0x49, 0x4b, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x49, 0x48, 0x45, 0x48, 0x47, 0x4f, 0x42, 0x43, 0x49, 0x4e, 0x43, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GearActivityDetailInfo_proto_rawDescOnce sync.Once + file_GearActivityDetailInfo_proto_rawDescData = file_GearActivityDetailInfo_proto_rawDesc +) + +func file_GearActivityDetailInfo_proto_rawDescGZIP() []byte { + file_GearActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_GearActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GearActivityDetailInfo_proto_rawDescData) + }) + return file_GearActivityDetailInfo_proto_rawDescData +} + +var file_GearActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GearActivityDetailInfo_proto_goTypes = []interface{}{ + (*GearActivityDetailInfo)(nil), // 0: GearActivityDetailInfo + (*Unk2800_BPOJIIDEADD)(nil), // 1: Unk2800_BPOJIIDEADD + (*Unk2800_JIPMJPAKIKE)(nil), // 2: Unk2800_JIPMJPAKIKE +} +var file_GearActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: GearActivityDetailInfo.Unk2800_GBAPCBPMHNJ:type_name -> Unk2800_BPOJIIDEADD + 2, // 1: GearActivityDetailInfo.Unk2800_IHEHGOBCINC:type_name -> Unk2800_JIPMJPAKIKE + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GearActivityDetailInfo_proto_init() } +func file_GearActivityDetailInfo_proto_init() { + if File_GearActivityDetailInfo_proto != nil { + return + } + file_Unk2800_BPOJIIDEADD_proto_init() + file_Unk2800_JIPMJPAKIKE_proto_init() + if !protoimpl.UnsafeEnabled { + file_GearActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GearActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GearActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GearActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_GearActivityDetailInfo_proto_depIdxs, + MessageInfos: file_GearActivityDetailInfo_proto_msgTypes, + }.Build() + File_GearActivityDetailInfo_proto = out.File + file_GearActivityDetailInfo_proto_rawDesc = nil + file_GearActivityDetailInfo_proto_goTypes = nil + file_GearActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GearActivityDetailInfo.proto b/gate-hk4e-api/proto/GearActivityDetailInfo.proto new file mode 100644 index 00000000..8685db4d --- /dev/null +++ b/gate-hk4e-api/proto/GearActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_BPOJIIDEADD.proto"; +import "Unk2800_JIPMJPAKIKE.proto"; + +option go_package = "./;proto"; + +message GearActivityDetailInfo { + repeated Unk2800_BPOJIIDEADD Unk2800_GBAPCBPMHNJ = 14; + Unk2800_JIPMJPAKIKE Unk2800_IHEHGOBCINC = 8; +} diff --git a/gate-hk4e-api/proto/GeneralMatchInfo.pb.go b/gate-hk4e-api/proto/GeneralMatchInfo.pb.go new file mode 100644 index 00000000..4bd65a8b --- /dev/null +++ b/gate-hk4e-api/proto/GeneralMatchInfo.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GeneralMatchInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GeneralMatchInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchParam uint32 `protobuf:"varint,1,opt,name=match_param,json=matchParam,proto3" json:"match_param,omitempty"` + MatchId uint32 `protobuf:"varint,9,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + PlayerList []*MatchPlayerInfo `protobuf:"bytes,5,rep,name=player_list,json=playerList,proto3" json:"player_list,omitempty"` +} + +func (x *GeneralMatchInfo) Reset() { + *x = GeneralMatchInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GeneralMatchInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneralMatchInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneralMatchInfo) ProtoMessage() {} + +func (x *GeneralMatchInfo) ProtoReflect() protoreflect.Message { + mi := &file_GeneralMatchInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneralMatchInfo.ProtoReflect.Descriptor instead. +func (*GeneralMatchInfo) Descriptor() ([]byte, []int) { + return file_GeneralMatchInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GeneralMatchInfo) GetMatchParam() uint32 { + if x != nil { + return x.MatchParam + } + return 0 +} + +func (x *GeneralMatchInfo) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *GeneralMatchInfo) GetPlayerList() []*MatchPlayerInfo { + if x != nil { + return x.PlayerList + } + return nil +} + +var File_GeneralMatchInfo_proto protoreflect.FileDescriptor + +var file_GeneralMatchInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x81, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, + 0x12, 0x31, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GeneralMatchInfo_proto_rawDescOnce sync.Once + file_GeneralMatchInfo_proto_rawDescData = file_GeneralMatchInfo_proto_rawDesc +) + +func file_GeneralMatchInfo_proto_rawDescGZIP() []byte { + file_GeneralMatchInfo_proto_rawDescOnce.Do(func() { + file_GeneralMatchInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GeneralMatchInfo_proto_rawDescData) + }) + return file_GeneralMatchInfo_proto_rawDescData +} + +var file_GeneralMatchInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GeneralMatchInfo_proto_goTypes = []interface{}{ + (*GeneralMatchInfo)(nil), // 0: GeneralMatchInfo + (*MatchPlayerInfo)(nil), // 1: MatchPlayerInfo +} +var file_GeneralMatchInfo_proto_depIdxs = []int32{ + 1, // 0: GeneralMatchInfo.player_list:type_name -> MatchPlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GeneralMatchInfo_proto_init() } +func file_GeneralMatchInfo_proto_init() { + if File_GeneralMatchInfo_proto != nil { + return + } + file_MatchPlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GeneralMatchInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneralMatchInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GeneralMatchInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GeneralMatchInfo_proto_goTypes, + DependencyIndexes: file_GeneralMatchInfo_proto_depIdxs, + MessageInfos: file_GeneralMatchInfo_proto_msgTypes, + }.Build() + File_GeneralMatchInfo_proto = out.File + file_GeneralMatchInfo_proto_rawDesc = nil + file_GeneralMatchInfo_proto_goTypes = nil + file_GeneralMatchInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GeneralMatchInfo.proto b/gate-hk4e-api/proto/GeneralMatchInfo.proto new file mode 100644 index 00000000..5fff9cdf --- /dev/null +++ b/gate-hk4e-api/proto/GeneralMatchInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchPlayerInfo.proto"; + +option go_package = "./;proto"; + +message GeneralMatchInfo { + uint32 match_param = 1; + uint32 match_id = 9; + repeated MatchPlayerInfo player_list = 5; +} diff --git a/gate-hk4e-api/proto/GetActivityInfoReq.pb.go b/gate-hk4e-api/proto/GetActivityInfoReq.pb.go new file mode 100644 index 00000000..eb307197 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2095 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetActivityInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityIdList []uint32 `protobuf:"varint,4,rep,packed,name=activity_id_list,json=activityIdList,proto3" json:"activity_id_list,omitempty"` +} + +func (x *GetActivityInfoReq) Reset() { + *x = GetActivityInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityInfoReq) ProtoMessage() {} + +func (x *GetActivityInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityInfoReq.ProtoReflect.Descriptor instead. +func (*GetActivityInfoReq) Descriptor() ([]byte, []int) { + return file_GetActivityInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetActivityInfoReq) GetActivityIdList() []uint32 { + if x != nil { + return x.ActivityIdList + } + return nil +} + +var File_GetActivityInfoReq_proto protoreflect.FileDescriptor + +var file_GetActivityInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x12, 0x28, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityInfoReq_proto_rawDescOnce sync.Once + file_GetActivityInfoReq_proto_rawDescData = file_GetActivityInfoReq_proto_rawDesc +) + +func file_GetActivityInfoReq_proto_rawDescGZIP() []byte { + file_GetActivityInfoReq_proto_rawDescOnce.Do(func() { + file_GetActivityInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityInfoReq_proto_rawDescData) + }) + return file_GetActivityInfoReq_proto_rawDescData +} + +var file_GetActivityInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityInfoReq_proto_goTypes = []interface{}{ + (*GetActivityInfoReq)(nil), // 0: GetActivityInfoReq +} +var file_GetActivityInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetActivityInfoReq_proto_init() } +func file_GetActivityInfoReq_proto_init() { + if File_GetActivityInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetActivityInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityInfoReq_proto_goTypes, + DependencyIndexes: file_GetActivityInfoReq_proto_depIdxs, + MessageInfos: file_GetActivityInfoReq_proto_msgTypes, + }.Build() + File_GetActivityInfoReq_proto = out.File + file_GetActivityInfoReq_proto_rawDesc = nil + file_GetActivityInfoReq_proto_goTypes = nil + file_GetActivityInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityInfoReq.proto b/gate-hk4e-api/proto/GetActivityInfoReq.proto new file mode 100644 index 00000000..16f0ae19 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2095 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetActivityInfoReq { + repeated uint32 activity_id_list = 4; +} diff --git a/gate-hk4e-api/proto/GetActivityInfoRsp.pb.go b/gate-hk4e-api/proto/GetActivityInfoRsp.pb.go new file mode 100644 index 00000000..aaa8a0ab --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityInfoRsp.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2041 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetActivityInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityInfoList []*ActivityInfo `protobuf:"bytes,5,rep,name=activity_info_list,json=activityInfoList,proto3" json:"activity_info_list,omitempty"` + ActivatedSaleIdList []uint32 `protobuf:"varint,11,rep,packed,name=activated_sale_id_list,json=activatedSaleIdList,proto3" json:"activated_sale_id_list,omitempty"` + DisableTransferPointInteractionList []*Uint32Pair `protobuf:"bytes,10,rep,name=disable_transfer_point_interaction_list,json=disableTransferPointInteractionList,proto3" json:"disable_transfer_point_interaction_list,omitempty"` +} + +func (x *GetActivityInfoRsp) Reset() { + *x = GetActivityInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityInfoRsp) ProtoMessage() {} + +func (x *GetActivityInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityInfoRsp.ProtoReflect.Descriptor instead. +func (*GetActivityInfoRsp) Descriptor() ([]byte, []int) { + return file_GetActivityInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetActivityInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetActivityInfoRsp) GetActivityInfoList() []*ActivityInfo { + if x != nil { + return x.ActivityInfoList + } + return nil +} + +func (x *GetActivityInfoRsp) GetActivatedSaleIdList() []uint32 { + if x != nil { + return x.ActivatedSaleIdList + } + return nil +} + +func (x *GetActivityInfoRsp) GetDisableTransferPointInteractionList() []*Uint32Pair { + if x != nil { + return x.DisableTransferPointInteractionList + } + return nil +} + +var File_GetActivityInfoRsp_proto protoreflect.FileDescriptor + +var file_GetActivityInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x83, 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x3b, 0x0a, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, + 0x0a, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x27, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, + 0x72, 0x52, 0x23, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityInfoRsp_proto_rawDescOnce sync.Once + file_GetActivityInfoRsp_proto_rawDescData = file_GetActivityInfoRsp_proto_rawDesc +) + +func file_GetActivityInfoRsp_proto_rawDescGZIP() []byte { + file_GetActivityInfoRsp_proto_rawDescOnce.Do(func() { + file_GetActivityInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityInfoRsp_proto_rawDescData) + }) + return file_GetActivityInfoRsp_proto_rawDescData +} + +var file_GetActivityInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityInfoRsp_proto_goTypes = []interface{}{ + (*GetActivityInfoRsp)(nil), // 0: GetActivityInfoRsp + (*ActivityInfo)(nil), // 1: ActivityInfo + (*Uint32Pair)(nil), // 2: Uint32Pair +} +var file_GetActivityInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetActivityInfoRsp.activity_info_list:type_name -> ActivityInfo + 2, // 1: GetActivityInfoRsp.disable_transfer_point_interaction_list:type_name -> Uint32Pair + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GetActivityInfoRsp_proto_init() } +func file_GetActivityInfoRsp_proto_init() { + if File_GetActivityInfoRsp_proto != nil { + return + } + file_ActivityInfo_proto_init() + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetActivityInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityInfoRsp_proto_goTypes, + DependencyIndexes: file_GetActivityInfoRsp_proto_depIdxs, + MessageInfos: file_GetActivityInfoRsp_proto_msgTypes, + }.Build() + File_GetActivityInfoRsp_proto = out.File + file_GetActivityInfoRsp_proto_rawDesc = nil + file_GetActivityInfoRsp_proto_goTypes = nil + file_GetActivityInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityInfoRsp.proto b/gate-hk4e-api/proto/GetActivityInfoRsp.proto new file mode 100644 index 00000000..efac23f5 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityInfoRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityInfo.proto"; +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +// CmdId: 2041 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetActivityInfoRsp { + int32 retcode = 13; + repeated ActivityInfo activity_info_list = 5; + repeated uint32 activated_sale_id_list = 11; + repeated Uint32Pair disable_transfer_point_interaction_list = 10; +} diff --git a/gate-hk4e-api/proto/GetActivityScheduleReq.pb.go b/gate-hk4e-api/proto/GetActivityScheduleReq.pb.go new file mode 100644 index 00000000..d4b112de --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityScheduleReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityScheduleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2136 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetActivityScheduleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetActivityScheduleReq) Reset() { + *x = GetActivityScheduleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityScheduleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityScheduleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityScheduleReq) ProtoMessage() {} + +func (x *GetActivityScheduleReq) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityScheduleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityScheduleReq.ProtoReflect.Descriptor instead. +func (*GetActivityScheduleReq) Descriptor() ([]byte, []int) { + return file_GetActivityScheduleReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetActivityScheduleReq_proto protoreflect.FileDescriptor + +var file_GetActivityScheduleReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityScheduleReq_proto_rawDescOnce sync.Once + file_GetActivityScheduleReq_proto_rawDescData = file_GetActivityScheduleReq_proto_rawDesc +) + +func file_GetActivityScheduleReq_proto_rawDescGZIP() []byte { + file_GetActivityScheduleReq_proto_rawDescOnce.Do(func() { + file_GetActivityScheduleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityScheduleReq_proto_rawDescData) + }) + return file_GetActivityScheduleReq_proto_rawDescData +} + +var file_GetActivityScheduleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityScheduleReq_proto_goTypes = []interface{}{ + (*GetActivityScheduleReq)(nil), // 0: GetActivityScheduleReq +} +var file_GetActivityScheduleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetActivityScheduleReq_proto_init() } +func file_GetActivityScheduleReq_proto_init() { + if File_GetActivityScheduleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetActivityScheduleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityScheduleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityScheduleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityScheduleReq_proto_goTypes, + DependencyIndexes: file_GetActivityScheduleReq_proto_depIdxs, + MessageInfos: file_GetActivityScheduleReq_proto_msgTypes, + }.Build() + File_GetActivityScheduleReq_proto = out.File + file_GetActivityScheduleReq_proto_rawDesc = nil + file_GetActivityScheduleReq_proto_goTypes = nil + file_GetActivityScheduleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityScheduleReq.proto b/gate-hk4e-api/proto/GetActivityScheduleReq.proto new file mode 100644 index 00000000..2e3f309b --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityScheduleReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2136 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetActivityScheduleReq {} diff --git a/gate-hk4e-api/proto/GetActivityScheduleRsp.pb.go b/gate-hk4e-api/proto/GetActivityScheduleRsp.pb.go new file mode 100644 index 00000000..a1f4d88b --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityScheduleRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityScheduleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2107 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetActivityScheduleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityScheduleList []*ActivityScheduleInfo `protobuf:"bytes,9,rep,name=activity_schedule_list,json=activityScheduleList,proto3" json:"activity_schedule_list,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + RemainFlySeaLampNum uint32 `protobuf:"varint,4,opt,name=remain_fly_sea_lamp_num,json=remainFlySeaLampNum,proto3" json:"remain_fly_sea_lamp_num,omitempty"` +} + +func (x *GetActivityScheduleRsp) Reset() { + *x = GetActivityScheduleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityScheduleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityScheduleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityScheduleRsp) ProtoMessage() {} + +func (x *GetActivityScheduleRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityScheduleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityScheduleRsp.ProtoReflect.Descriptor instead. +func (*GetActivityScheduleRsp) Descriptor() ([]byte, []int) { + return file_GetActivityScheduleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetActivityScheduleRsp) GetActivityScheduleList() []*ActivityScheduleInfo { + if x != nil { + return x.ActivityScheduleList + } + return nil +} + +func (x *GetActivityScheduleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetActivityScheduleRsp) GetRemainFlySeaLampNum() uint32 { + if x != nil { + return x.RemainFlySeaLampNum + } + return 0 +} + +var File_GetActivityScheduleRsp_proto protoreflect.FileDescriptor + +var file_GetActivityScheduleRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x17, + 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x6c, 0x79, 0x5f, 0x73, 0x65, 0x61, 0x5f, 0x6c, + 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x6c, 0x79, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x4e, + 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityScheduleRsp_proto_rawDescOnce sync.Once + file_GetActivityScheduleRsp_proto_rawDescData = file_GetActivityScheduleRsp_proto_rawDesc +) + +func file_GetActivityScheduleRsp_proto_rawDescGZIP() []byte { + file_GetActivityScheduleRsp_proto_rawDescOnce.Do(func() { + file_GetActivityScheduleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityScheduleRsp_proto_rawDescData) + }) + return file_GetActivityScheduleRsp_proto_rawDescData +} + +var file_GetActivityScheduleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityScheduleRsp_proto_goTypes = []interface{}{ + (*GetActivityScheduleRsp)(nil), // 0: GetActivityScheduleRsp + (*ActivityScheduleInfo)(nil), // 1: ActivityScheduleInfo +} +var file_GetActivityScheduleRsp_proto_depIdxs = []int32{ + 1, // 0: GetActivityScheduleRsp.activity_schedule_list:type_name -> ActivityScheduleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetActivityScheduleRsp_proto_init() } +func file_GetActivityScheduleRsp_proto_init() { + if File_GetActivityScheduleRsp_proto != nil { + return + } + file_ActivityScheduleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetActivityScheduleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityScheduleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityScheduleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityScheduleRsp_proto_goTypes, + DependencyIndexes: file_GetActivityScheduleRsp_proto_depIdxs, + MessageInfos: file_GetActivityScheduleRsp_proto_msgTypes, + }.Build() + File_GetActivityScheduleRsp_proto = out.File + file_GetActivityScheduleRsp_proto_rawDesc = nil + file_GetActivityScheduleRsp_proto_goTypes = nil + file_GetActivityScheduleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityScheduleRsp.proto b/gate-hk4e-api/proto/GetActivityScheduleRsp.proto new file mode 100644 index 00000000..7487aaff --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityScheduleRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityScheduleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2107 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetActivityScheduleRsp { + repeated ActivityScheduleInfo activity_schedule_list = 9; + int32 retcode = 13; + uint32 remain_fly_sea_lamp_num = 4; +} diff --git a/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.pb.go b/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.pb.go new file mode 100644 index 00000000..6e617bd3 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityShopSheetInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetActivityShopSheetInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShopType uint32 `protobuf:"varint,7,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` +} + +func (x *GetActivityShopSheetInfoReq) Reset() { + *x = GetActivityShopSheetInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityShopSheetInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityShopSheetInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityShopSheetInfoReq) ProtoMessage() {} + +func (x *GetActivityShopSheetInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityShopSheetInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityShopSheetInfoReq.ProtoReflect.Descriptor instead. +func (*GetActivityShopSheetInfoReq) Descriptor() ([]byte, []int) { + return file_GetActivityShopSheetInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetActivityShopSheetInfoReq) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +var File_GetActivityShopSheetInfoReq_proto protoreflect.FileDescriptor + +var file_GetActivityShopSheetInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, + 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x53, 0x68, 0x6f, 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityShopSheetInfoReq_proto_rawDescOnce sync.Once + file_GetActivityShopSheetInfoReq_proto_rawDescData = file_GetActivityShopSheetInfoReq_proto_rawDesc +) + +func file_GetActivityShopSheetInfoReq_proto_rawDescGZIP() []byte { + file_GetActivityShopSheetInfoReq_proto_rawDescOnce.Do(func() { + file_GetActivityShopSheetInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityShopSheetInfoReq_proto_rawDescData) + }) + return file_GetActivityShopSheetInfoReq_proto_rawDescData +} + +var file_GetActivityShopSheetInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityShopSheetInfoReq_proto_goTypes = []interface{}{ + (*GetActivityShopSheetInfoReq)(nil), // 0: GetActivityShopSheetInfoReq +} +var file_GetActivityShopSheetInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetActivityShopSheetInfoReq_proto_init() } +func file_GetActivityShopSheetInfoReq_proto_init() { + if File_GetActivityShopSheetInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetActivityShopSheetInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityShopSheetInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityShopSheetInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityShopSheetInfoReq_proto_goTypes, + DependencyIndexes: file_GetActivityShopSheetInfoReq_proto_depIdxs, + MessageInfos: file_GetActivityShopSheetInfoReq_proto_msgTypes, + }.Build() + File_GetActivityShopSheetInfoReq_proto = out.File + file_GetActivityShopSheetInfoReq_proto_rawDesc = nil + file_GetActivityShopSheetInfoReq_proto_goTypes = nil + file_GetActivityShopSheetInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.proto b/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.proto new file mode 100644 index 00000000..edad8ae7 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityShopSheetInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetActivityShopSheetInfoReq { + uint32 shop_type = 7; +} diff --git a/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.pb.go b/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.pb.go new file mode 100644 index 00000000..a749da5a --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetActivityShopSheetInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 790 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetActivityShopSheetInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SheetInfoList []*ActivityShopSheetInfo `protobuf:"bytes,6,rep,name=sheet_info_list,json=sheetInfoList,proto3" json:"sheet_info_list,omitempty"` + ShopType uint32 `protobuf:"varint,8,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetActivityShopSheetInfoRsp) Reset() { + *x = GetActivityShopSheetInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetActivityShopSheetInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActivityShopSheetInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActivityShopSheetInfoRsp) ProtoMessage() {} + +func (x *GetActivityShopSheetInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetActivityShopSheetInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActivityShopSheetInfoRsp.ProtoReflect.Descriptor instead. +func (*GetActivityShopSheetInfoRsp) Descriptor() ([]byte, []int) { + return file_GetActivityShopSheetInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetActivityShopSheetInfoRsp) GetSheetInfoList() []*ActivityShopSheetInfo { + if x != nil { + return x.SheetInfoList + } + return nil +} + +func (x *GetActivityShopSheetInfoRsp) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +func (x *GetActivityShopSheetInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetActivityShopSheetInfoRsp_proto protoreflect.FileDescriptor + +var file_GetActivityShopSheetInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, + 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, + 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x94, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x53, 0x68, 0x6f, 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, + 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x53, 0x68, 0x6f, 0x70, 0x53, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0d, 0x73, 0x68, 0x65, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetActivityShopSheetInfoRsp_proto_rawDescOnce sync.Once + file_GetActivityShopSheetInfoRsp_proto_rawDescData = file_GetActivityShopSheetInfoRsp_proto_rawDesc +) + +func file_GetActivityShopSheetInfoRsp_proto_rawDescGZIP() []byte { + file_GetActivityShopSheetInfoRsp_proto_rawDescOnce.Do(func() { + file_GetActivityShopSheetInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetActivityShopSheetInfoRsp_proto_rawDescData) + }) + return file_GetActivityShopSheetInfoRsp_proto_rawDescData +} + +var file_GetActivityShopSheetInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetActivityShopSheetInfoRsp_proto_goTypes = []interface{}{ + (*GetActivityShopSheetInfoRsp)(nil), // 0: GetActivityShopSheetInfoRsp + (*ActivityShopSheetInfo)(nil), // 1: ActivityShopSheetInfo +} +var file_GetActivityShopSheetInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetActivityShopSheetInfoRsp.sheet_info_list:type_name -> ActivityShopSheetInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetActivityShopSheetInfoRsp_proto_init() } +func file_GetActivityShopSheetInfoRsp_proto_init() { + if File_GetActivityShopSheetInfoRsp_proto != nil { + return + } + file_ActivityShopSheetInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetActivityShopSheetInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActivityShopSheetInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetActivityShopSheetInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetActivityShopSheetInfoRsp_proto_goTypes, + DependencyIndexes: file_GetActivityShopSheetInfoRsp_proto_depIdxs, + MessageInfos: file_GetActivityShopSheetInfoRsp_proto_msgTypes, + }.Build() + File_GetActivityShopSheetInfoRsp_proto = out.File + file_GetActivityShopSheetInfoRsp_proto_rawDesc = nil + file_GetActivityShopSheetInfoRsp_proto_goTypes = nil + file_GetActivityShopSheetInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.proto b/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.proto new file mode 100644 index 00000000..e477a558 --- /dev/null +++ b/gate-hk4e-api/proto/GetActivityShopSheetInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ActivityShopSheetInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 790 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetActivityShopSheetInfoRsp { + repeated ActivityShopSheetInfo sheet_info_list = 6; + uint32 shop_type = 8; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.pb.go b/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.pb.go new file mode 100644 index 00000000..b6e1d7ce --- /dev/null +++ b/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllActivatedBargainDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllActivatedBargainDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetAllActivatedBargainDataReq) Reset() { + *x = GetAllActivatedBargainDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllActivatedBargainDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllActivatedBargainDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllActivatedBargainDataReq) ProtoMessage() {} + +func (x *GetAllActivatedBargainDataReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAllActivatedBargainDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllActivatedBargainDataReq.ProtoReflect.Descriptor instead. +func (*GetAllActivatedBargainDataReq) Descriptor() ([]byte, []int) { + return file_GetAllActivatedBargainDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetAllActivatedBargainDataReq_proto protoreflect.FileDescriptor + +var file_GetAllActivatedBargainDataReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x64, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllActivatedBargainDataReq_proto_rawDescOnce sync.Once + file_GetAllActivatedBargainDataReq_proto_rawDescData = file_GetAllActivatedBargainDataReq_proto_rawDesc +) + +func file_GetAllActivatedBargainDataReq_proto_rawDescGZIP() []byte { + file_GetAllActivatedBargainDataReq_proto_rawDescOnce.Do(func() { + file_GetAllActivatedBargainDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllActivatedBargainDataReq_proto_rawDescData) + }) + return file_GetAllActivatedBargainDataReq_proto_rawDescData +} + +var file_GetAllActivatedBargainDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllActivatedBargainDataReq_proto_goTypes = []interface{}{ + (*GetAllActivatedBargainDataReq)(nil), // 0: GetAllActivatedBargainDataReq +} +var file_GetAllActivatedBargainDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllActivatedBargainDataReq_proto_init() } +func file_GetAllActivatedBargainDataReq_proto_init() { + if File_GetAllActivatedBargainDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllActivatedBargainDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllActivatedBargainDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllActivatedBargainDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllActivatedBargainDataReq_proto_goTypes, + DependencyIndexes: file_GetAllActivatedBargainDataReq_proto_depIdxs, + MessageInfos: file_GetAllActivatedBargainDataReq_proto_msgTypes, + }.Build() + File_GetAllActivatedBargainDataReq_proto = out.File + file_GetAllActivatedBargainDataReq_proto_rawDesc = nil + file_GetAllActivatedBargainDataReq_proto_goTypes = nil + file_GetAllActivatedBargainDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.proto b/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.proto new file mode 100644 index 00000000..09602dc1 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllActivatedBargainDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllActivatedBargainDataReq {} diff --git a/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.pb.go b/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.pb.go new file mode 100644 index 00000000..7026cadd --- /dev/null +++ b/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllActivatedBargainDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 495 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAllActivatedBargainDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SnapshotList []*BargainSnapshot `protobuf:"bytes,5,rep,name=snapshot_list,json=snapshotList,proto3" json:"snapshot_list,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetAllActivatedBargainDataRsp) Reset() { + *x = GetAllActivatedBargainDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllActivatedBargainDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllActivatedBargainDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllActivatedBargainDataRsp) ProtoMessage() {} + +func (x *GetAllActivatedBargainDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAllActivatedBargainDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllActivatedBargainDataRsp.ProtoReflect.Descriptor instead. +func (*GetAllActivatedBargainDataRsp) Descriptor() ([]byte, []int) { + return file_GetAllActivatedBargainDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllActivatedBargainDataRsp) GetSnapshotList() []*BargainSnapshot { + if x != nil { + return x.SnapshotList + } + return nil +} + +func (x *GetAllActivatedBargainDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetAllActivatedBargainDataRsp_proto protoreflect.FileDescriptor + +var file_GetAllActivatedBargainDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x64, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x1d, + 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x42, + 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x35, 0x0a, + 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetAllActivatedBargainDataRsp_proto_rawDescOnce sync.Once + file_GetAllActivatedBargainDataRsp_proto_rawDescData = file_GetAllActivatedBargainDataRsp_proto_rawDesc +) + +func file_GetAllActivatedBargainDataRsp_proto_rawDescGZIP() []byte { + file_GetAllActivatedBargainDataRsp_proto_rawDescOnce.Do(func() { + file_GetAllActivatedBargainDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllActivatedBargainDataRsp_proto_rawDescData) + }) + return file_GetAllActivatedBargainDataRsp_proto_rawDescData +} + +var file_GetAllActivatedBargainDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllActivatedBargainDataRsp_proto_goTypes = []interface{}{ + (*GetAllActivatedBargainDataRsp)(nil), // 0: GetAllActivatedBargainDataRsp + (*BargainSnapshot)(nil), // 1: BargainSnapshot +} +var file_GetAllActivatedBargainDataRsp_proto_depIdxs = []int32{ + 1, // 0: GetAllActivatedBargainDataRsp.snapshot_list:type_name -> BargainSnapshot + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetAllActivatedBargainDataRsp_proto_init() } +func file_GetAllActivatedBargainDataRsp_proto_init() { + if File_GetAllActivatedBargainDataRsp_proto != nil { + return + } + file_BargainSnapshot_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetAllActivatedBargainDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllActivatedBargainDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllActivatedBargainDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllActivatedBargainDataRsp_proto_goTypes, + DependencyIndexes: file_GetAllActivatedBargainDataRsp_proto_depIdxs, + MessageInfos: file_GetAllActivatedBargainDataRsp_proto_msgTypes, + }.Build() + File_GetAllActivatedBargainDataRsp_proto = out.File + file_GetAllActivatedBargainDataRsp_proto_rawDesc = nil + file_GetAllActivatedBargainDataRsp_proto_goTypes = nil + file_GetAllActivatedBargainDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.proto b/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.proto new file mode 100644 index 00000000..d5ea0949 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllActivatedBargainDataRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BargainSnapshot.proto"; + +option go_package = "./;proto"; + +// CmdId: 495 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAllActivatedBargainDataRsp { + repeated BargainSnapshot snapshot_list = 5; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.pb.go b/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.pb.go new file mode 100644 index 00000000..836696d6 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllH5ActivityInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5668 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllH5ActivityInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetAllH5ActivityInfoReq) Reset() { + *x = GetAllH5ActivityInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllH5ActivityInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllH5ActivityInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllH5ActivityInfoReq) ProtoMessage() {} + +func (x *GetAllH5ActivityInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAllH5ActivityInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllH5ActivityInfoReq.ProtoReflect.Descriptor instead. +func (*GetAllH5ActivityInfoReq) Descriptor() ([]byte, []int) { + return file_GetAllH5ActivityInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetAllH5ActivityInfoReq_proto protoreflect.FileDescriptor + +var file_GetAllH5ActivityInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllH5ActivityInfoReq_proto_rawDescOnce sync.Once + file_GetAllH5ActivityInfoReq_proto_rawDescData = file_GetAllH5ActivityInfoReq_proto_rawDesc +) + +func file_GetAllH5ActivityInfoReq_proto_rawDescGZIP() []byte { + file_GetAllH5ActivityInfoReq_proto_rawDescOnce.Do(func() { + file_GetAllH5ActivityInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllH5ActivityInfoReq_proto_rawDescData) + }) + return file_GetAllH5ActivityInfoReq_proto_rawDescData +} + +var file_GetAllH5ActivityInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllH5ActivityInfoReq_proto_goTypes = []interface{}{ + (*GetAllH5ActivityInfoReq)(nil), // 0: GetAllH5ActivityInfoReq +} +var file_GetAllH5ActivityInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllH5ActivityInfoReq_proto_init() } +func file_GetAllH5ActivityInfoReq_proto_init() { + if File_GetAllH5ActivityInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllH5ActivityInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllH5ActivityInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllH5ActivityInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllH5ActivityInfoReq_proto_goTypes, + DependencyIndexes: file_GetAllH5ActivityInfoReq_proto_depIdxs, + MessageInfos: file_GetAllH5ActivityInfoReq_proto_msgTypes, + }.Build() + File_GetAllH5ActivityInfoReq_proto = out.File + file_GetAllH5ActivityInfoReq_proto_rawDesc = nil + file_GetAllH5ActivityInfoReq_proto_goTypes = nil + file_GetAllH5ActivityInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.proto b/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.proto new file mode 100644 index 00000000..393a7c5b --- /dev/null +++ b/gate-hk4e-api/proto/GetAllH5ActivityInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5668 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllH5ActivityInfoReq {} diff --git a/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.pb.go b/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.pb.go new file mode 100644 index 00000000..7ca7341f --- /dev/null +++ b/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllH5ActivityInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5676 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAllH5ActivityInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + H5ActivityInfoList []*H5ActivityInfo `protobuf:"bytes,15,rep,name=h5_activity_info_list,json=h5ActivityInfoList,proto3" json:"h5_activity_info_list,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + ClientRedDotTimestamp uint32 `protobuf:"varint,12,opt,name=client_red_dot_timestamp,json=clientRedDotTimestamp,proto3" json:"client_red_dot_timestamp,omitempty"` +} + +func (x *GetAllH5ActivityInfoRsp) Reset() { + *x = GetAllH5ActivityInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllH5ActivityInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllH5ActivityInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllH5ActivityInfoRsp) ProtoMessage() {} + +func (x *GetAllH5ActivityInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAllH5ActivityInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllH5ActivityInfoRsp.ProtoReflect.Descriptor instead. +func (*GetAllH5ActivityInfoRsp) Descriptor() ([]byte, []int) { + return file_GetAllH5ActivityInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllH5ActivityInfoRsp) GetH5ActivityInfoList() []*H5ActivityInfo { + if x != nil { + return x.H5ActivityInfoList + } + return nil +} + +func (x *GetAllH5ActivityInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAllH5ActivityInfoRsp) GetClientRedDotTimestamp() uint32 { + if x != nil { + return x.ClientRedDotTimestamp + } + return 0 +} + +var File_GetAllH5ActivityInfoRsp_proto protoreflect.FileDescriptor + +var file_GetAllH5ActivityInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, + 0x70, 0x12, 0x42, 0x0a, 0x15, 0x68, 0x35, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x12, 0x68, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x37, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x6f, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllH5ActivityInfoRsp_proto_rawDescOnce sync.Once + file_GetAllH5ActivityInfoRsp_proto_rawDescData = file_GetAllH5ActivityInfoRsp_proto_rawDesc +) + +func file_GetAllH5ActivityInfoRsp_proto_rawDescGZIP() []byte { + file_GetAllH5ActivityInfoRsp_proto_rawDescOnce.Do(func() { + file_GetAllH5ActivityInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllH5ActivityInfoRsp_proto_rawDescData) + }) + return file_GetAllH5ActivityInfoRsp_proto_rawDescData +} + +var file_GetAllH5ActivityInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllH5ActivityInfoRsp_proto_goTypes = []interface{}{ + (*GetAllH5ActivityInfoRsp)(nil), // 0: GetAllH5ActivityInfoRsp + (*H5ActivityInfo)(nil), // 1: H5ActivityInfo +} +var file_GetAllH5ActivityInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetAllH5ActivityInfoRsp.h5_activity_info_list:type_name -> H5ActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetAllH5ActivityInfoRsp_proto_init() } +func file_GetAllH5ActivityInfoRsp_proto_init() { + if File_GetAllH5ActivityInfoRsp_proto != nil { + return + } + file_H5ActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetAllH5ActivityInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllH5ActivityInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllH5ActivityInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllH5ActivityInfoRsp_proto_goTypes, + DependencyIndexes: file_GetAllH5ActivityInfoRsp_proto_depIdxs, + MessageInfos: file_GetAllH5ActivityInfoRsp_proto_msgTypes, + }.Build() + File_GetAllH5ActivityInfoRsp_proto = out.File + file_GetAllH5ActivityInfoRsp_proto_rawDesc = nil + file_GetAllH5ActivityInfoRsp_proto_goTypes = nil + file_GetAllH5ActivityInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.proto b/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.proto new file mode 100644 index 00000000..dd6a81a0 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllH5ActivityInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "H5ActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5676 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAllH5ActivityInfoRsp { + repeated H5ActivityInfo h5_activity_info_list = 15; + int32 retcode = 5; + uint32 client_red_dot_timestamp = 12; +} diff --git a/gate-hk4e-api/proto/GetAllMailReq.pb.go b/gate-hk4e-api/proto/GetAllMailReq.pb.go new file mode 100644 index 00000000..ed636812 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllMailReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllMailReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllMailReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OPEHLDAGICF bool `protobuf:"varint,7,opt,name=Unk2700_OPEHLDAGICF,json=Unk2700OPEHLDAGICF,proto3" json:"Unk2700_OPEHLDAGICF,omitempty"` +} + +func (x *GetAllMailReq) Reset() { + *x = GetAllMailReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllMailReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllMailReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllMailReq) ProtoMessage() {} + +func (x *GetAllMailReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAllMailReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllMailReq.ProtoReflect.Descriptor instead. +func (*GetAllMailReq) Descriptor() ([]byte, []int) { + return file_GetAllMailReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllMailReq) GetUnk2700_OPEHLDAGICF() bool { + if x != nil { + return x.Unk2700_OPEHLDAGICF + } + return false +} + +var File_GetAllMailReq_proto protoreflect.FileDescriptor + +var file_GetAllMailReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x4d, + 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x50, 0x45, 0x48, + 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllMailReq_proto_rawDescOnce sync.Once + file_GetAllMailReq_proto_rawDescData = file_GetAllMailReq_proto_rawDesc +) + +func file_GetAllMailReq_proto_rawDescGZIP() []byte { + file_GetAllMailReq_proto_rawDescOnce.Do(func() { + file_GetAllMailReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllMailReq_proto_rawDescData) + }) + return file_GetAllMailReq_proto_rawDescData +} + +var file_GetAllMailReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllMailReq_proto_goTypes = []interface{}{ + (*GetAllMailReq)(nil), // 0: GetAllMailReq +} +var file_GetAllMailReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllMailReq_proto_init() } +func file_GetAllMailReq_proto_init() { + if File_GetAllMailReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllMailReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllMailReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllMailReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllMailReq_proto_goTypes, + DependencyIndexes: file_GetAllMailReq_proto_depIdxs, + MessageInfos: file_GetAllMailReq_proto_msgTypes, + }.Build() + File_GetAllMailReq_proto = out.File + file_GetAllMailReq_proto_rawDesc = nil + file_GetAllMailReq_proto_goTypes = nil + file_GetAllMailReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllMailReq.proto b/gate-hk4e-api/proto/GetAllMailReq.proto new file mode 100644 index 00000000..cc8e28b7 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllMailReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllMailReq { + bool Unk2700_OPEHLDAGICF = 7; +} diff --git a/gate-hk4e-api/proto/GetAllMailRsp.pb.go b/gate-hk4e-api/proto/GetAllMailRsp.pb.go new file mode 100644 index 00000000..670135eb --- /dev/null +++ b/gate-hk4e-api/proto/GetAllMailRsp.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllMailRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1475 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAllMailRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + MailList []*MailData `protobuf:"bytes,14,rep,name=mail_list,json=mailList,proto3" json:"mail_list,omitempty"` + Unk2700_OPEHLDAGICF bool `protobuf:"varint,1,opt,name=Unk2700_OPEHLDAGICF,json=Unk2700OPEHLDAGICF,proto3" json:"Unk2700_OPEHLDAGICF,omitempty"` + IsTruncated bool `protobuf:"varint,2,opt,name=is_truncated,json=isTruncated,proto3" json:"is_truncated,omitempty"` +} + +func (x *GetAllMailRsp) Reset() { + *x = GetAllMailRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllMailRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllMailRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllMailRsp) ProtoMessage() {} + +func (x *GetAllMailRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAllMailRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllMailRsp.ProtoReflect.Descriptor instead. +func (*GetAllMailRsp) Descriptor() ([]byte, []int) { + return file_GetAllMailRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllMailRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAllMailRsp) GetMailList() []*MailData { + if x != nil { + return x.MailList + } + return nil +} + +func (x *GetAllMailRsp) GetUnk2700_OPEHLDAGICF() bool { + if x != nil { + return x.Unk2700_OPEHLDAGICF + } + return false +} + +func (x *GetAllMailRsp) GetIsTruncated() bool { + if x != nil { + return x.IsTruncated + } + return false +} + +var File_GetAllMailRsp_proto protoreflect.FileDescriptor + +var file_GetAllMailRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x26, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, + 0x50, 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, + 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x69, 0x73, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetAllMailRsp_proto_rawDescOnce sync.Once + file_GetAllMailRsp_proto_rawDescData = file_GetAllMailRsp_proto_rawDesc +) + +func file_GetAllMailRsp_proto_rawDescGZIP() []byte { + file_GetAllMailRsp_proto_rawDescOnce.Do(func() { + file_GetAllMailRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllMailRsp_proto_rawDescData) + }) + return file_GetAllMailRsp_proto_rawDescData +} + +var file_GetAllMailRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllMailRsp_proto_goTypes = []interface{}{ + (*GetAllMailRsp)(nil), // 0: GetAllMailRsp + (*MailData)(nil), // 1: MailData +} +var file_GetAllMailRsp_proto_depIdxs = []int32{ + 1, // 0: GetAllMailRsp.mail_list:type_name -> MailData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetAllMailRsp_proto_init() } +func file_GetAllMailRsp_proto_init() { + if File_GetAllMailRsp_proto != nil { + return + } + file_MailData_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetAllMailRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllMailRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllMailRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllMailRsp_proto_goTypes, + DependencyIndexes: file_GetAllMailRsp_proto_depIdxs, + MessageInfos: file_GetAllMailRsp_proto_msgTypes, + }.Build() + File_GetAllMailRsp_proto = out.File + file_GetAllMailRsp_proto_rawDesc = nil + file_GetAllMailRsp_proto_goTypes = nil + file_GetAllMailRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllMailRsp.proto b/gate-hk4e-api/proto/GetAllMailRsp.proto new file mode 100644 index 00000000..f2bd390f --- /dev/null +++ b/gate-hk4e-api/proto/GetAllMailRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MailData.proto"; + +option go_package = "./;proto"; + +// CmdId: 1475 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAllMailRsp { + int32 retcode = 8; + repeated MailData mail_list = 14; + bool Unk2700_OPEHLDAGICF = 1; + bool is_truncated = 2; +} diff --git a/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.pb.go b/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.pb.go new file mode 100644 index 00000000..e077669d --- /dev/null +++ b/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllSceneGalleryInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllSceneGalleryInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetAllSceneGalleryInfoReq) Reset() { + *x = GetAllSceneGalleryInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllSceneGalleryInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllSceneGalleryInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllSceneGalleryInfoReq) ProtoMessage() {} + +func (x *GetAllSceneGalleryInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAllSceneGalleryInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllSceneGalleryInfoReq.ProtoReflect.Descriptor instead. +func (*GetAllSceneGalleryInfoReq) Descriptor() ([]byte, []int) { + return file_GetAllSceneGalleryInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetAllSceneGalleryInfoReq_proto protoreflect.FileDescriptor + +var file_GetAllSceneGalleryInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetAllSceneGalleryInfoReq_proto_rawDescOnce sync.Once + file_GetAllSceneGalleryInfoReq_proto_rawDescData = file_GetAllSceneGalleryInfoReq_proto_rawDesc +) + +func file_GetAllSceneGalleryInfoReq_proto_rawDescGZIP() []byte { + file_GetAllSceneGalleryInfoReq_proto_rawDescOnce.Do(func() { + file_GetAllSceneGalleryInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllSceneGalleryInfoReq_proto_rawDescData) + }) + return file_GetAllSceneGalleryInfoReq_proto_rawDescData +} + +var file_GetAllSceneGalleryInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllSceneGalleryInfoReq_proto_goTypes = []interface{}{ + (*GetAllSceneGalleryInfoReq)(nil), // 0: GetAllSceneGalleryInfoReq +} +var file_GetAllSceneGalleryInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllSceneGalleryInfoReq_proto_init() } +func file_GetAllSceneGalleryInfoReq_proto_init() { + if File_GetAllSceneGalleryInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllSceneGalleryInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllSceneGalleryInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllSceneGalleryInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllSceneGalleryInfoReq_proto_goTypes, + DependencyIndexes: file_GetAllSceneGalleryInfoReq_proto_depIdxs, + MessageInfos: file_GetAllSceneGalleryInfoReq_proto_msgTypes, + }.Build() + File_GetAllSceneGalleryInfoReq_proto = out.File + file_GetAllSceneGalleryInfoReq_proto_rawDesc = nil + file_GetAllSceneGalleryInfoReq_proto_goTypes = nil + file_GetAllSceneGalleryInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.proto b/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.proto new file mode 100644 index 00000000..251b3e79 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllSceneGalleryInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllSceneGalleryInfoReq {} diff --git a/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.pb.go b/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.pb.go new file mode 100644 index 00000000..7cd41a47 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllSceneGalleryInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5590 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAllSceneGalleryInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryInfoList []*SceneGalleryInfo `protobuf:"bytes,12,rep,name=gallery_info_list,json=galleryInfoList,proto3" json:"gallery_info_list,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetAllSceneGalleryInfoRsp) Reset() { + *x = GetAllSceneGalleryInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllSceneGalleryInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllSceneGalleryInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllSceneGalleryInfoRsp) ProtoMessage() {} + +func (x *GetAllSceneGalleryInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAllSceneGalleryInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllSceneGalleryInfoRsp.ProtoReflect.Descriptor instead. +func (*GetAllSceneGalleryInfoRsp) Descriptor() ([]byte, []int) { + return file_GetAllSceneGalleryInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllSceneGalleryInfoRsp) GetGalleryInfoList() []*SceneGalleryInfo { + if x != nil { + return x.GalleryInfoList + } + return nil +} + +func (x *GetAllSceneGalleryInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetAllSceneGalleryInfoRsp_proto protoreflect.FileDescriptor + +var file_GetAllSceneGalleryInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x19, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x11, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllSceneGalleryInfoRsp_proto_rawDescOnce sync.Once + file_GetAllSceneGalleryInfoRsp_proto_rawDescData = file_GetAllSceneGalleryInfoRsp_proto_rawDesc +) + +func file_GetAllSceneGalleryInfoRsp_proto_rawDescGZIP() []byte { + file_GetAllSceneGalleryInfoRsp_proto_rawDescOnce.Do(func() { + file_GetAllSceneGalleryInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllSceneGalleryInfoRsp_proto_rawDescData) + }) + return file_GetAllSceneGalleryInfoRsp_proto_rawDescData +} + +var file_GetAllSceneGalleryInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllSceneGalleryInfoRsp_proto_goTypes = []interface{}{ + (*GetAllSceneGalleryInfoRsp)(nil), // 0: GetAllSceneGalleryInfoRsp + (*SceneGalleryInfo)(nil), // 1: SceneGalleryInfo +} +var file_GetAllSceneGalleryInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetAllSceneGalleryInfoRsp.gallery_info_list:type_name -> SceneGalleryInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetAllSceneGalleryInfoRsp_proto_init() } +func file_GetAllSceneGalleryInfoRsp_proto_init() { + if File_GetAllSceneGalleryInfoRsp_proto != nil { + return + } + file_SceneGalleryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetAllSceneGalleryInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllSceneGalleryInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllSceneGalleryInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllSceneGalleryInfoRsp_proto_goTypes, + DependencyIndexes: file_GetAllSceneGalleryInfoRsp_proto_depIdxs, + MessageInfos: file_GetAllSceneGalleryInfoRsp_proto_msgTypes, + }.Build() + File_GetAllSceneGalleryInfoRsp_proto = out.File + file_GetAllSceneGalleryInfoRsp_proto_rawDesc = nil + file_GetAllSceneGalleryInfoRsp_proto_goTypes = nil + file_GetAllSceneGalleryInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.proto b/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.proto new file mode 100644 index 00000000..c9e7b21c --- /dev/null +++ b/gate-hk4e-api/proto/GetAllSceneGalleryInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneGalleryInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5590 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAllSceneGalleryInfoRsp { + repeated SceneGalleryInfo gallery_info_list = 12; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/GetAllUnlockNameCardReq.pb.go b/gate-hk4e-api/proto/GetAllUnlockNameCardReq.pb.go new file mode 100644 index 00000000..fc0d8e21 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllUnlockNameCardReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllUnlockNameCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4027 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllUnlockNameCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetAllUnlockNameCardReq) Reset() { + *x = GetAllUnlockNameCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllUnlockNameCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllUnlockNameCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllUnlockNameCardReq) ProtoMessage() {} + +func (x *GetAllUnlockNameCardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAllUnlockNameCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllUnlockNameCardReq.ProtoReflect.Descriptor instead. +func (*GetAllUnlockNameCardReq) Descriptor() ([]byte, []int) { + return file_GetAllUnlockNameCardReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetAllUnlockNameCardReq_proto protoreflect.FileDescriptor + +var file_GetAllUnlockNameCardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, + 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllUnlockNameCardReq_proto_rawDescOnce sync.Once + file_GetAllUnlockNameCardReq_proto_rawDescData = file_GetAllUnlockNameCardReq_proto_rawDesc +) + +func file_GetAllUnlockNameCardReq_proto_rawDescGZIP() []byte { + file_GetAllUnlockNameCardReq_proto_rawDescOnce.Do(func() { + file_GetAllUnlockNameCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllUnlockNameCardReq_proto_rawDescData) + }) + return file_GetAllUnlockNameCardReq_proto_rawDescData +} + +var file_GetAllUnlockNameCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllUnlockNameCardReq_proto_goTypes = []interface{}{ + (*GetAllUnlockNameCardReq)(nil), // 0: GetAllUnlockNameCardReq +} +var file_GetAllUnlockNameCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllUnlockNameCardReq_proto_init() } +func file_GetAllUnlockNameCardReq_proto_init() { + if File_GetAllUnlockNameCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllUnlockNameCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllUnlockNameCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllUnlockNameCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllUnlockNameCardReq_proto_goTypes, + DependencyIndexes: file_GetAllUnlockNameCardReq_proto_depIdxs, + MessageInfos: file_GetAllUnlockNameCardReq_proto_msgTypes, + }.Build() + File_GetAllUnlockNameCardReq_proto = out.File + file_GetAllUnlockNameCardReq_proto_rawDesc = nil + file_GetAllUnlockNameCardReq_proto_goTypes = nil + file_GetAllUnlockNameCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllUnlockNameCardReq.proto b/gate-hk4e-api/proto/GetAllUnlockNameCardReq.proto new file mode 100644 index 00000000..f7127e89 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllUnlockNameCardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4027 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllUnlockNameCardReq {} diff --git a/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.pb.go b/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.pb.go new file mode 100644 index 00000000..abdd5c3c --- /dev/null +++ b/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAllUnlockNameCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4094 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAllUnlockNameCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + NameCardList []uint32 `protobuf:"varint,14,rep,packed,name=name_card_list,json=nameCardList,proto3" json:"name_card_list,omitempty"` +} + +func (x *GetAllUnlockNameCardRsp) Reset() { + *x = GetAllUnlockNameCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAllUnlockNameCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAllUnlockNameCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAllUnlockNameCardRsp) ProtoMessage() {} + +func (x *GetAllUnlockNameCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAllUnlockNameCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAllUnlockNameCardRsp.ProtoReflect.Descriptor instead. +func (*GetAllUnlockNameCardRsp) Descriptor() ([]byte, []int) { + return file_GetAllUnlockNameCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAllUnlockNameCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAllUnlockNameCardRsp) GetNameCardList() []uint32 { + if x != nil { + return x.NameCardList + } + return nil +} + +var File_GetAllUnlockNameCardRsp_proto protoreflect.FileDescriptor + +var file_GetAllUnlockNameCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, + 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x59, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x61, + 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAllUnlockNameCardRsp_proto_rawDescOnce sync.Once + file_GetAllUnlockNameCardRsp_proto_rawDescData = file_GetAllUnlockNameCardRsp_proto_rawDesc +) + +func file_GetAllUnlockNameCardRsp_proto_rawDescGZIP() []byte { + file_GetAllUnlockNameCardRsp_proto_rawDescOnce.Do(func() { + file_GetAllUnlockNameCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAllUnlockNameCardRsp_proto_rawDescData) + }) + return file_GetAllUnlockNameCardRsp_proto_rawDescData +} + +var file_GetAllUnlockNameCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAllUnlockNameCardRsp_proto_goTypes = []interface{}{ + (*GetAllUnlockNameCardRsp)(nil), // 0: GetAllUnlockNameCardRsp +} +var file_GetAllUnlockNameCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAllUnlockNameCardRsp_proto_init() } +func file_GetAllUnlockNameCardRsp_proto_init() { + if File_GetAllUnlockNameCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAllUnlockNameCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllUnlockNameCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAllUnlockNameCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAllUnlockNameCardRsp_proto_goTypes, + DependencyIndexes: file_GetAllUnlockNameCardRsp_proto_depIdxs, + MessageInfos: file_GetAllUnlockNameCardRsp_proto_msgTypes, + }.Build() + File_GetAllUnlockNameCardRsp_proto = out.File + file_GetAllUnlockNameCardRsp_proto_rawDesc = nil + file_GetAllUnlockNameCardRsp_proto_goTypes = nil + file_GetAllUnlockNameCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.proto b/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.proto new file mode 100644 index 00000000..1353f167 --- /dev/null +++ b/gate-hk4e-api/proto/GetAllUnlockNameCardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4094 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAllUnlockNameCardRsp { + int32 retcode = 4; + repeated uint32 name_card_list = 14; +} diff --git a/gate-hk4e-api/proto/GetAreaExplorePointReq.pb.go b/gate-hk4e-api/proto/GetAreaExplorePointReq.pb.go new file mode 100644 index 00000000..86c58b9e --- /dev/null +++ b/gate-hk4e-api/proto/GetAreaExplorePointReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAreaExplorePointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 241 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAreaExplorePointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaIdList []uint32 `protobuf:"varint,14,rep,packed,name=area_id_list,json=areaIdList,proto3" json:"area_id_list,omitempty"` +} + +func (x *GetAreaExplorePointReq) Reset() { + *x = GetAreaExplorePointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAreaExplorePointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAreaExplorePointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAreaExplorePointReq) ProtoMessage() {} + +func (x *GetAreaExplorePointReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAreaExplorePointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAreaExplorePointReq.ProtoReflect.Descriptor instead. +func (*GetAreaExplorePointReq) Descriptor() ([]byte, []int) { + return file_GetAreaExplorePointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAreaExplorePointReq) GetAreaIdList() []uint32 { + if x != nil { + return x.AreaIdList + } + return nil +} + +var File_GetAreaExplorePointReq_proto protoreflect.FileDescriptor + +var file_GetAreaExplorePointReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x72, 0x65, 0x61, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAreaExplorePointReq_proto_rawDescOnce sync.Once + file_GetAreaExplorePointReq_proto_rawDescData = file_GetAreaExplorePointReq_proto_rawDesc +) + +func file_GetAreaExplorePointReq_proto_rawDescGZIP() []byte { + file_GetAreaExplorePointReq_proto_rawDescOnce.Do(func() { + file_GetAreaExplorePointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAreaExplorePointReq_proto_rawDescData) + }) + return file_GetAreaExplorePointReq_proto_rawDescData +} + +var file_GetAreaExplorePointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAreaExplorePointReq_proto_goTypes = []interface{}{ + (*GetAreaExplorePointReq)(nil), // 0: GetAreaExplorePointReq +} +var file_GetAreaExplorePointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAreaExplorePointReq_proto_init() } +func file_GetAreaExplorePointReq_proto_init() { + if File_GetAreaExplorePointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAreaExplorePointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAreaExplorePointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAreaExplorePointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAreaExplorePointReq_proto_goTypes, + DependencyIndexes: file_GetAreaExplorePointReq_proto_depIdxs, + MessageInfos: file_GetAreaExplorePointReq_proto_msgTypes, + }.Build() + File_GetAreaExplorePointReq_proto = out.File + file_GetAreaExplorePointReq_proto_rawDesc = nil + file_GetAreaExplorePointReq_proto_goTypes = nil + file_GetAreaExplorePointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAreaExplorePointReq.proto b/gate-hk4e-api/proto/GetAreaExplorePointReq.proto new file mode 100644 index 00000000..68151b7b --- /dev/null +++ b/gate-hk4e-api/proto/GetAreaExplorePointReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 241 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAreaExplorePointReq { + repeated uint32 area_id_list = 14; +} diff --git a/gate-hk4e-api/proto/GetAreaExplorePointRsp.pb.go b/gate-hk4e-api/proto/GetAreaExplorePointRsp.pb.go new file mode 100644 index 00000000..bdc741c3 --- /dev/null +++ b/gate-hk4e-api/proto/GetAreaExplorePointRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAreaExplorePointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 249 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAreaExplorePointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + AreaIdList []uint32 `protobuf:"varint,11,rep,packed,name=area_id_list,json=areaIdList,proto3" json:"area_id_list,omitempty"` + ExplorePointList []uint32 `protobuf:"varint,4,rep,packed,name=explore_point_list,json=explorePointList,proto3" json:"explore_point_list,omitempty"` +} + +func (x *GetAreaExplorePointRsp) Reset() { + *x = GetAreaExplorePointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAreaExplorePointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAreaExplorePointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAreaExplorePointRsp) ProtoMessage() {} + +func (x *GetAreaExplorePointRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAreaExplorePointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAreaExplorePointRsp.ProtoReflect.Descriptor instead. +func (*GetAreaExplorePointRsp) Descriptor() ([]byte, []int) { + return file_GetAreaExplorePointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAreaExplorePointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAreaExplorePointRsp) GetAreaIdList() []uint32 { + if x != nil { + return x.AreaIdList + } + return nil +} + +func (x *GetAreaExplorePointRsp) GetExplorePointList() []uint32 { + if x != nil { + return x.ExplorePointList + } + return nil +} + +var File_GetAreaExplorePointRsp_proto protoreflect.FileDescriptor + +var file_GetAreaExplorePointRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, + 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, + 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x72, 0x65, 0x61, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x10, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAreaExplorePointRsp_proto_rawDescOnce sync.Once + file_GetAreaExplorePointRsp_proto_rawDescData = file_GetAreaExplorePointRsp_proto_rawDesc +) + +func file_GetAreaExplorePointRsp_proto_rawDescGZIP() []byte { + file_GetAreaExplorePointRsp_proto_rawDescOnce.Do(func() { + file_GetAreaExplorePointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAreaExplorePointRsp_proto_rawDescData) + }) + return file_GetAreaExplorePointRsp_proto_rawDescData +} + +var file_GetAreaExplorePointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAreaExplorePointRsp_proto_goTypes = []interface{}{ + (*GetAreaExplorePointRsp)(nil), // 0: GetAreaExplorePointRsp +} +var file_GetAreaExplorePointRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAreaExplorePointRsp_proto_init() } +func file_GetAreaExplorePointRsp_proto_init() { + if File_GetAreaExplorePointRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAreaExplorePointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAreaExplorePointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAreaExplorePointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAreaExplorePointRsp_proto_goTypes, + DependencyIndexes: file_GetAreaExplorePointRsp_proto_depIdxs, + MessageInfos: file_GetAreaExplorePointRsp_proto_msgTypes, + }.Build() + File_GetAreaExplorePointRsp_proto = out.File + file_GetAreaExplorePointRsp_proto_rawDesc = nil + file_GetAreaExplorePointRsp_proto_goTypes = nil + file_GetAreaExplorePointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAreaExplorePointRsp.proto b/gate-hk4e-api/proto/GetAreaExplorePointRsp.proto new file mode 100644 index 00000000..9c6acfe7 --- /dev/null +++ b/gate-hk4e-api/proto/GetAreaExplorePointRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 249 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAreaExplorePointRsp { + int32 retcode = 8; + repeated uint32 area_id_list = 11; + repeated uint32 explore_point_list = 4; +} diff --git a/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.pb.go b/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.pb.go new file mode 100644 index 00000000..19b54897 --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAuthSalesmanInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAuthSalesmanInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,8,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *GetAuthSalesmanInfoReq) Reset() { + *x = GetAuthSalesmanInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAuthSalesmanInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthSalesmanInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthSalesmanInfoReq) ProtoMessage() {} + +func (x *GetAuthSalesmanInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAuthSalesmanInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthSalesmanInfoReq.ProtoReflect.Descriptor instead. +func (*GetAuthSalesmanInfoReq) Descriptor() ([]byte, []int) { + return file_GetAuthSalesmanInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAuthSalesmanInfoReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_GetAuthSalesmanInfoReq_proto protoreflect.FileDescriptor + +var file_GetAuthSalesmanInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAuthSalesmanInfoReq_proto_rawDescOnce sync.Once + file_GetAuthSalesmanInfoReq_proto_rawDescData = file_GetAuthSalesmanInfoReq_proto_rawDesc +) + +func file_GetAuthSalesmanInfoReq_proto_rawDescGZIP() []byte { + file_GetAuthSalesmanInfoReq_proto_rawDescOnce.Do(func() { + file_GetAuthSalesmanInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAuthSalesmanInfoReq_proto_rawDescData) + }) + return file_GetAuthSalesmanInfoReq_proto_rawDescData +} + +var file_GetAuthSalesmanInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAuthSalesmanInfoReq_proto_goTypes = []interface{}{ + (*GetAuthSalesmanInfoReq)(nil), // 0: GetAuthSalesmanInfoReq +} +var file_GetAuthSalesmanInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAuthSalesmanInfoReq_proto_init() } +func file_GetAuthSalesmanInfoReq_proto_init() { + if File_GetAuthSalesmanInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAuthSalesmanInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthSalesmanInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAuthSalesmanInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAuthSalesmanInfoReq_proto_goTypes, + DependencyIndexes: file_GetAuthSalesmanInfoReq_proto_depIdxs, + MessageInfos: file_GetAuthSalesmanInfoReq_proto_msgTypes, + }.Build() + File_GetAuthSalesmanInfoReq_proto = out.File + file_GetAuthSalesmanInfoReq_proto_rawDesc = nil + file_GetAuthSalesmanInfoReq_proto_goTypes = nil + file_GetAuthSalesmanInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.proto b/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.proto new file mode 100644 index 00000000..f38f54ab --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthSalesmanInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAuthSalesmanInfoReq { + uint32 schedule_id = 8; +} diff --git a/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.pb.go b/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.pb.go new file mode 100644 index 00000000..219f6629 --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAuthSalesmanInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2004 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAuthSalesmanInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DayRewardId uint32 `protobuf:"varint,5,opt,name=day_reward_id,json=dayRewardId,proto3" json:"day_reward_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,11,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *GetAuthSalesmanInfoRsp) Reset() { + *x = GetAuthSalesmanInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAuthSalesmanInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthSalesmanInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthSalesmanInfoRsp) ProtoMessage() {} + +func (x *GetAuthSalesmanInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAuthSalesmanInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthSalesmanInfoRsp.ProtoReflect.Descriptor instead. +func (*GetAuthSalesmanInfoRsp) Descriptor() ([]byte, []int) { + return file_GetAuthSalesmanInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAuthSalesmanInfoRsp) GetDayRewardId() uint32 { + if x != nil { + return x.DayRewardId + } + return 0 +} + +func (x *GetAuthSalesmanInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAuthSalesmanInfoRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_GetAuthSalesmanInfoRsp_proto protoreflect.FileDescriptor + +var file_GetAuthSalesmanInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x61, 0x79, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x64, 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAuthSalesmanInfoRsp_proto_rawDescOnce sync.Once + file_GetAuthSalesmanInfoRsp_proto_rawDescData = file_GetAuthSalesmanInfoRsp_proto_rawDesc +) + +func file_GetAuthSalesmanInfoRsp_proto_rawDescGZIP() []byte { + file_GetAuthSalesmanInfoRsp_proto_rawDescOnce.Do(func() { + file_GetAuthSalesmanInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAuthSalesmanInfoRsp_proto_rawDescData) + }) + return file_GetAuthSalesmanInfoRsp_proto_rawDescData +} + +var file_GetAuthSalesmanInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAuthSalesmanInfoRsp_proto_goTypes = []interface{}{ + (*GetAuthSalesmanInfoRsp)(nil), // 0: GetAuthSalesmanInfoRsp +} +var file_GetAuthSalesmanInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAuthSalesmanInfoRsp_proto_init() } +func file_GetAuthSalesmanInfoRsp_proto_init() { + if File_GetAuthSalesmanInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAuthSalesmanInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthSalesmanInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAuthSalesmanInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAuthSalesmanInfoRsp_proto_goTypes, + DependencyIndexes: file_GetAuthSalesmanInfoRsp_proto_depIdxs, + MessageInfos: file_GetAuthSalesmanInfoRsp_proto_msgTypes, + }.Build() + File_GetAuthSalesmanInfoRsp_proto = out.File + file_GetAuthSalesmanInfoRsp_proto_rawDesc = nil + file_GetAuthSalesmanInfoRsp_proto_goTypes = nil + file_GetAuthSalesmanInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.proto b/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.proto new file mode 100644 index 00000000..bdf9351c --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthSalesmanInfoRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2004 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAuthSalesmanInfoRsp { + uint32 day_reward_id = 5; + int32 retcode = 6; + uint32 schedule_id = 11; +} diff --git a/gate-hk4e-api/proto/GetAuthkeyReq.pb.go b/gate-hk4e-api/proto/GetAuthkeyReq.pb.go new file mode 100644 index 00000000..557edaef --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthkeyReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAuthkeyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetAuthkeyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthAppid string `protobuf:"bytes,14,opt,name=auth_appid,json=authAppid,proto3" json:"auth_appid,omitempty"` + SignType uint32 `protobuf:"varint,7,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` + AuthkeyVer uint32 `protobuf:"varint,13,opt,name=authkey_ver,json=authkeyVer,proto3" json:"authkey_ver,omitempty"` +} + +func (x *GetAuthkeyReq) Reset() { + *x = GetAuthkeyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAuthkeyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthkeyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthkeyReq) ProtoMessage() {} + +func (x *GetAuthkeyReq) ProtoReflect() protoreflect.Message { + mi := &file_GetAuthkeyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthkeyReq.ProtoReflect.Descriptor instead. +func (*GetAuthkeyReq) Descriptor() ([]byte, []int) { + return file_GetAuthkeyReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAuthkeyReq) GetAuthAppid() string { + if x != nil { + return x.AuthAppid + } + return "" +} + +func (x *GetAuthkeyReq) GetSignType() uint32 { + if x != nil { + return x.SignType + } + return 0 +} + +func (x *GetAuthkeyReq) GetAuthkeyVer() uint32 { + if x != nil { + return x.AuthkeyVer + } + return 0 +} + +var File_GetAuthkeyReq_proto protoreflect.FileDescriptor + +var file_GetAuthkeyReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x61, + 0x70, 0x70, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, + 0x41, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, + 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, + 0x56, 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAuthkeyReq_proto_rawDescOnce sync.Once + file_GetAuthkeyReq_proto_rawDescData = file_GetAuthkeyReq_proto_rawDesc +) + +func file_GetAuthkeyReq_proto_rawDescGZIP() []byte { + file_GetAuthkeyReq_proto_rawDescOnce.Do(func() { + file_GetAuthkeyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAuthkeyReq_proto_rawDescData) + }) + return file_GetAuthkeyReq_proto_rawDescData +} + +var file_GetAuthkeyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAuthkeyReq_proto_goTypes = []interface{}{ + (*GetAuthkeyReq)(nil), // 0: GetAuthkeyReq +} +var file_GetAuthkeyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAuthkeyReq_proto_init() } +func file_GetAuthkeyReq_proto_init() { + if File_GetAuthkeyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAuthkeyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthkeyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAuthkeyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAuthkeyReq_proto_goTypes, + DependencyIndexes: file_GetAuthkeyReq_proto_depIdxs, + MessageInfos: file_GetAuthkeyReq_proto_msgTypes, + }.Build() + File_GetAuthkeyReq_proto = out.File + file_GetAuthkeyReq_proto_rawDesc = nil + file_GetAuthkeyReq_proto_goTypes = nil + file_GetAuthkeyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAuthkeyReq.proto b/gate-hk4e-api/proto/GetAuthkeyReq.proto new file mode 100644 index 00000000..3efa0ee1 --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthkeyReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetAuthkeyReq { + string auth_appid = 14; + uint32 sign_type = 7; + uint32 authkey_ver = 13; +} diff --git a/gate-hk4e-api/proto/GetAuthkeyRsp.pb.go b/gate-hk4e-api/proto/GetAuthkeyRsp.pb.go new file mode 100644 index 00000000..71a5618f --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthkeyRsp.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetAuthkeyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1473 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetAuthkeyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthAppid string `protobuf:"bytes,4,opt,name=auth_appid,json=authAppid,proto3" json:"auth_appid,omitempty"` + SignType uint32 `protobuf:"varint,15,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + AuthkeyVer uint32 `protobuf:"varint,9,opt,name=authkey_ver,json=authkeyVer,proto3" json:"authkey_ver,omitempty"` + GameBiz string `protobuf:"bytes,11,opt,name=game_biz,json=gameBiz,proto3" json:"game_biz,omitempty"` + Authkey string `protobuf:"bytes,3,opt,name=authkey,proto3" json:"authkey,omitempty"` +} + +func (x *GetAuthkeyRsp) Reset() { + *x = GetAuthkeyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetAuthkeyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthkeyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthkeyRsp) ProtoMessage() {} + +func (x *GetAuthkeyRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetAuthkeyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthkeyRsp.ProtoReflect.Descriptor instead. +func (*GetAuthkeyRsp) Descriptor() ([]byte, []int) { + return file_GetAuthkeyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAuthkeyRsp) GetAuthAppid() string { + if x != nil { + return x.AuthAppid + } + return "" +} + +func (x *GetAuthkeyRsp) GetSignType() uint32 { + if x != nil { + return x.SignType + } + return 0 +} + +func (x *GetAuthkeyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetAuthkeyRsp) GetAuthkeyVer() uint32 { + if x != nil { + return x.AuthkeyVer + } + return 0 +} + +func (x *GetAuthkeyRsp) GetGameBiz() string { + if x != nil { + return x.GameBiz + } + return "" +} + +func (x *GetAuthkeyRsp) GetAuthkey() string { + if x != nil { + return x.Authkey + } + return "" +} + +var File_GetAuthkeyRsp_proto protoreflect.FileDescriptor + +var file_GetAuthkeyRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, + 0x68, 0x6b, 0x65, 0x79, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, + 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x41, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x12, 0x19, + 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x62, 0x69, 0x7a, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x42, 0x69, 0x7a, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, + 0x68, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, + 0x6b, 0x65, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetAuthkeyRsp_proto_rawDescOnce sync.Once + file_GetAuthkeyRsp_proto_rawDescData = file_GetAuthkeyRsp_proto_rawDesc +) + +func file_GetAuthkeyRsp_proto_rawDescGZIP() []byte { + file_GetAuthkeyRsp_proto_rawDescOnce.Do(func() { + file_GetAuthkeyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetAuthkeyRsp_proto_rawDescData) + }) + return file_GetAuthkeyRsp_proto_rawDescData +} + +var file_GetAuthkeyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetAuthkeyRsp_proto_goTypes = []interface{}{ + (*GetAuthkeyRsp)(nil), // 0: GetAuthkeyRsp +} +var file_GetAuthkeyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetAuthkeyRsp_proto_init() } +func file_GetAuthkeyRsp_proto_init() { + if File_GetAuthkeyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetAuthkeyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthkeyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetAuthkeyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetAuthkeyRsp_proto_goTypes, + DependencyIndexes: file_GetAuthkeyRsp_proto_depIdxs, + MessageInfos: file_GetAuthkeyRsp_proto_msgTypes, + }.Build() + File_GetAuthkeyRsp_proto = out.File + file_GetAuthkeyRsp_proto_rawDesc = nil + file_GetAuthkeyRsp_proto_goTypes = nil + file_GetAuthkeyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetAuthkeyRsp.proto b/gate-hk4e-api/proto/GetAuthkeyRsp.proto new file mode 100644 index 00000000..00f5f977 --- /dev/null +++ b/gate-hk4e-api/proto/GetAuthkeyRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1473 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetAuthkeyRsp { + string auth_appid = 4; + uint32 sign_type = 15; + int32 retcode = 6; + uint32 authkey_ver = 9; + string game_biz = 11; + string authkey = 3; +} diff --git a/gate-hk4e-api/proto/GetBargainDataReq.pb.go b/gate-hk4e-api/proto/GetBargainDataReq.pb.go new file mode 100644 index 00000000..1b9a2514 --- /dev/null +++ b/gate-hk4e-api/proto/GetBargainDataReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBargainDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 488 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetBargainDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BargainId uint32 `protobuf:"varint,12,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` +} + +func (x *GetBargainDataReq) Reset() { + *x = GetBargainDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBargainDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBargainDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBargainDataReq) ProtoMessage() {} + +func (x *GetBargainDataReq) ProtoReflect() protoreflect.Message { + mi := &file_GetBargainDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBargainDataReq.ProtoReflect.Descriptor instead. +func (*GetBargainDataReq) Descriptor() ([]byte, []int) { + return file_GetBargainDataReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBargainDataReq) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +var File_GetBargainDataReq_proto protoreflect.FileDescriptor + +var file_GetBargainDataReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetBargainDataReq_proto_rawDescOnce sync.Once + file_GetBargainDataReq_proto_rawDescData = file_GetBargainDataReq_proto_rawDesc +) + +func file_GetBargainDataReq_proto_rawDescGZIP() []byte { + file_GetBargainDataReq_proto_rawDescOnce.Do(func() { + file_GetBargainDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBargainDataReq_proto_rawDescData) + }) + return file_GetBargainDataReq_proto_rawDescData +} + +var file_GetBargainDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBargainDataReq_proto_goTypes = []interface{}{ + (*GetBargainDataReq)(nil), // 0: GetBargainDataReq +} +var file_GetBargainDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetBargainDataReq_proto_init() } +func file_GetBargainDataReq_proto_init() { + if File_GetBargainDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetBargainDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBargainDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBargainDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBargainDataReq_proto_goTypes, + DependencyIndexes: file_GetBargainDataReq_proto_depIdxs, + MessageInfos: file_GetBargainDataReq_proto_msgTypes, + }.Build() + File_GetBargainDataReq_proto = out.File + file_GetBargainDataReq_proto_rawDesc = nil + file_GetBargainDataReq_proto_goTypes = nil + file_GetBargainDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBargainDataReq.proto b/gate-hk4e-api/proto/GetBargainDataReq.proto new file mode 100644 index 00000000..1bfb33f2 --- /dev/null +++ b/gate-hk4e-api/proto/GetBargainDataReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 488 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetBargainDataReq { + uint32 bargain_id = 12; +} diff --git a/gate-hk4e-api/proto/GetBargainDataRsp.pb.go b/gate-hk4e-api/proto/GetBargainDataRsp.pb.go new file mode 100644 index 00000000..8bf44907 --- /dev/null +++ b/gate-hk4e-api/proto/GetBargainDataRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBargainDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 426 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetBargainDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + BargainId uint32 `protobuf:"varint,14,opt,name=bargain_id,json=bargainId,proto3" json:"bargain_id,omitempty"` + Snapshot *BargainSnapshot `protobuf:"bytes,13,opt,name=snapshot,proto3" json:"snapshot,omitempty"` +} + +func (x *GetBargainDataRsp) Reset() { + *x = GetBargainDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBargainDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBargainDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBargainDataRsp) ProtoMessage() {} + +func (x *GetBargainDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetBargainDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBargainDataRsp.ProtoReflect.Descriptor instead. +func (*GetBargainDataRsp) Descriptor() ([]byte, []int) { + return file_GetBargainDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBargainDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetBargainDataRsp) GetBargainId() uint32 { + if x != nil { + return x.BargainId + } + return 0 +} + +func (x *GetBargainDataRsp) GetSnapshot() *BargainSnapshot { + if x != nil { + return x.Snapshot + } + return nil +} + +var File_GetBargainDataRsp_proto protoreflect.FileDescriptor + +var file_GetBargainDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x42, 0x61, 0x72, 0x67, 0x61, + 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x7a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x2c, + 0x0a, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x42, 0x61, 0x72, 0x67, 0x61, 0x69, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetBargainDataRsp_proto_rawDescOnce sync.Once + file_GetBargainDataRsp_proto_rawDescData = file_GetBargainDataRsp_proto_rawDesc +) + +func file_GetBargainDataRsp_proto_rawDescGZIP() []byte { + file_GetBargainDataRsp_proto_rawDescOnce.Do(func() { + file_GetBargainDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBargainDataRsp_proto_rawDescData) + }) + return file_GetBargainDataRsp_proto_rawDescData +} + +var file_GetBargainDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBargainDataRsp_proto_goTypes = []interface{}{ + (*GetBargainDataRsp)(nil), // 0: GetBargainDataRsp + (*BargainSnapshot)(nil), // 1: BargainSnapshot +} +var file_GetBargainDataRsp_proto_depIdxs = []int32{ + 1, // 0: GetBargainDataRsp.snapshot:type_name -> BargainSnapshot + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetBargainDataRsp_proto_init() } +func file_GetBargainDataRsp_proto_init() { + if File_GetBargainDataRsp_proto != nil { + return + } + file_BargainSnapshot_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetBargainDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBargainDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBargainDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBargainDataRsp_proto_goTypes, + DependencyIndexes: file_GetBargainDataRsp_proto_depIdxs, + MessageInfos: file_GetBargainDataRsp_proto_msgTypes, + }.Build() + File_GetBargainDataRsp_proto = out.File + file_GetBargainDataRsp_proto_rawDesc = nil + file_GetBargainDataRsp_proto_goTypes = nil + file_GetBargainDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBargainDataRsp.proto b/gate-hk4e-api/proto/GetBargainDataRsp.proto new file mode 100644 index 00000000..38e077b3 --- /dev/null +++ b/gate-hk4e-api/proto/GetBargainDataRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BargainSnapshot.proto"; + +option go_package = "./;proto"; + +// CmdId: 426 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetBargainDataRsp { + int32 retcode = 1; + uint32 bargain_id = 14; + BargainSnapshot snapshot = 13; +} diff --git a/gate-hk4e-api/proto/GetBattlePassProductReq.pb.go b/gate-hk4e-api/proto/GetBattlePassProductReq.pb.go new file mode 100644 index 00000000..164c3ee8 --- /dev/null +++ b/gate-hk4e-api/proto/GetBattlePassProductReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBattlePassProductReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2644 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetBattlePassProductReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BattlePassProductPlayType uint32 `protobuf:"varint,10,opt,name=battle_pass_product_play_type,json=battlePassProductPlayType,proto3" json:"battle_pass_product_play_type,omitempty"` +} + +func (x *GetBattlePassProductReq) Reset() { + *x = GetBattlePassProductReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBattlePassProductReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBattlePassProductReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBattlePassProductReq) ProtoMessage() {} + +func (x *GetBattlePassProductReq) ProtoReflect() protoreflect.Message { + mi := &file_GetBattlePassProductReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBattlePassProductReq.ProtoReflect.Descriptor instead. +func (*GetBattlePassProductReq) Descriptor() ([]byte, []int) { + return file_GetBattlePassProductReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBattlePassProductReq) GetBattlePassProductPlayType() uint32 { + if x != nil { + return x.BattlePassProductPlayType + } + return 0 +} + +var File_GetBattlePassProductReq_proto protoreflect.FileDescriptor + +var file_GetBattlePassProductReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, + 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x12, 0x40, 0x0a, 0x1d, 0x62, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x19, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetBattlePassProductReq_proto_rawDescOnce sync.Once + file_GetBattlePassProductReq_proto_rawDescData = file_GetBattlePassProductReq_proto_rawDesc +) + +func file_GetBattlePassProductReq_proto_rawDescGZIP() []byte { + file_GetBattlePassProductReq_proto_rawDescOnce.Do(func() { + file_GetBattlePassProductReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBattlePassProductReq_proto_rawDescData) + }) + return file_GetBattlePassProductReq_proto_rawDescData +} + +var file_GetBattlePassProductReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBattlePassProductReq_proto_goTypes = []interface{}{ + (*GetBattlePassProductReq)(nil), // 0: GetBattlePassProductReq +} +var file_GetBattlePassProductReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetBattlePassProductReq_proto_init() } +func file_GetBattlePassProductReq_proto_init() { + if File_GetBattlePassProductReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetBattlePassProductReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBattlePassProductReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBattlePassProductReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBattlePassProductReq_proto_goTypes, + DependencyIndexes: file_GetBattlePassProductReq_proto_depIdxs, + MessageInfos: file_GetBattlePassProductReq_proto_msgTypes, + }.Build() + File_GetBattlePassProductReq_proto = out.File + file_GetBattlePassProductReq_proto_rawDesc = nil + file_GetBattlePassProductReq_proto_goTypes = nil + file_GetBattlePassProductReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBattlePassProductReq.proto b/gate-hk4e-api/proto/GetBattlePassProductReq.proto new file mode 100644 index 00000000..e1b57306 --- /dev/null +++ b/gate-hk4e-api/proto/GetBattlePassProductReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2644 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetBattlePassProductReq { + uint32 battle_pass_product_play_type = 10; +} diff --git a/gate-hk4e-api/proto/GetBattlePassProductRsp.pb.go b/gate-hk4e-api/proto/GetBattlePassProductRsp.pb.go new file mode 100644 index 00000000..3b1f4c09 --- /dev/null +++ b/gate-hk4e-api/proto/GetBattlePassProductRsp.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBattlePassProductRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2649 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetBattlePassProductRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + PriceTier string `protobuf:"bytes,6,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` + BattlePassProductPlayType uint32 `protobuf:"varint,2,opt,name=battle_pass_product_play_type,json=battlePassProductPlayType,proto3" json:"battle_pass_product_play_type,omitempty"` + ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + CurScheduleId uint32 `protobuf:"varint,11,opt,name=cur_schedule_id,json=curScheduleId,proto3" json:"cur_schedule_id,omitempty"` +} + +func (x *GetBattlePassProductRsp) Reset() { + *x = GetBattlePassProductRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBattlePassProductRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBattlePassProductRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBattlePassProductRsp) ProtoMessage() {} + +func (x *GetBattlePassProductRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetBattlePassProductRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBattlePassProductRsp.ProtoReflect.Descriptor instead. +func (*GetBattlePassProductRsp) Descriptor() ([]byte, []int) { + return file_GetBattlePassProductRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBattlePassProductRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetBattlePassProductRsp) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +func (x *GetBattlePassProductRsp) GetBattlePassProductPlayType() uint32 { + if x != nil { + return x.BattlePassProductPlayType + } + return 0 +} + +func (x *GetBattlePassProductRsp) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *GetBattlePassProductRsp) GetCurScheduleId() uint32 { + if x != nil { + return x.CurScheduleId + } + return 0 +} + +var File_GetBattlePassProductRsp_proto protoreflect.FileDescriptor + +var file_GetBattlePassProductRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, + 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xdb, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, + 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, + 0x69, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, + 0x54, 0x69, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x1d, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x70, + 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x62, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x6c, + 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x63, 0x75, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetBattlePassProductRsp_proto_rawDescOnce sync.Once + file_GetBattlePassProductRsp_proto_rawDescData = file_GetBattlePassProductRsp_proto_rawDesc +) + +func file_GetBattlePassProductRsp_proto_rawDescGZIP() []byte { + file_GetBattlePassProductRsp_proto_rawDescOnce.Do(func() { + file_GetBattlePassProductRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBattlePassProductRsp_proto_rawDescData) + }) + return file_GetBattlePassProductRsp_proto_rawDescData +} + +var file_GetBattlePassProductRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBattlePassProductRsp_proto_goTypes = []interface{}{ + (*GetBattlePassProductRsp)(nil), // 0: GetBattlePassProductRsp +} +var file_GetBattlePassProductRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetBattlePassProductRsp_proto_init() } +func file_GetBattlePassProductRsp_proto_init() { + if File_GetBattlePassProductRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetBattlePassProductRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBattlePassProductRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBattlePassProductRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBattlePassProductRsp_proto_goTypes, + DependencyIndexes: file_GetBattlePassProductRsp_proto_depIdxs, + MessageInfos: file_GetBattlePassProductRsp_proto_msgTypes, + }.Build() + File_GetBattlePassProductRsp_proto = out.File + file_GetBattlePassProductRsp_proto_rawDesc = nil + file_GetBattlePassProductRsp_proto_goTypes = nil + file_GetBattlePassProductRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBattlePassProductRsp.proto b/gate-hk4e-api/proto/GetBattlePassProductRsp.proto new file mode 100644 index 00000000..1d88da6e --- /dev/null +++ b/gate-hk4e-api/proto/GetBattlePassProductRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2649 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetBattlePassProductRsp { + int32 retcode = 14; + string price_tier = 6; + uint32 battle_pass_product_play_type = 2; + string product_id = 1; + uint32 cur_schedule_id = 11; +} diff --git a/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.pb.go b/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.pb.go new file mode 100644 index 00000000..952cdd2f --- /dev/null +++ b/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBlossomBriefInfoListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetBlossomBriefInfoListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityIdList []uint32 `protobuf:"varint,4,rep,packed,name=city_id_list,json=cityIdList,proto3" json:"city_id_list,omitempty"` +} + +func (x *GetBlossomBriefInfoListReq) Reset() { + *x = GetBlossomBriefInfoListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBlossomBriefInfoListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlossomBriefInfoListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlossomBriefInfoListReq) ProtoMessage() {} + +func (x *GetBlossomBriefInfoListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetBlossomBriefInfoListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlossomBriefInfoListReq.ProtoReflect.Descriptor instead. +func (*GetBlossomBriefInfoListReq) Descriptor() ([]byte, []int) { + return file_GetBlossomBriefInfoListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBlossomBriefInfoListReq) GetCityIdList() []uint32 { + if x != nil { + return x.CityIdList + } + return nil +} + +var File_GetBlossomBriefInfoListReq_proto protoreflect.FileDescriptor + +var file_GetBlossomBriefInfoListReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, + 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetBlossomBriefInfoListReq_proto_rawDescOnce sync.Once + file_GetBlossomBriefInfoListReq_proto_rawDescData = file_GetBlossomBriefInfoListReq_proto_rawDesc +) + +func file_GetBlossomBriefInfoListReq_proto_rawDescGZIP() []byte { + file_GetBlossomBriefInfoListReq_proto_rawDescOnce.Do(func() { + file_GetBlossomBriefInfoListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBlossomBriefInfoListReq_proto_rawDescData) + }) + return file_GetBlossomBriefInfoListReq_proto_rawDescData +} + +var file_GetBlossomBriefInfoListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBlossomBriefInfoListReq_proto_goTypes = []interface{}{ + (*GetBlossomBriefInfoListReq)(nil), // 0: GetBlossomBriefInfoListReq +} +var file_GetBlossomBriefInfoListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetBlossomBriefInfoListReq_proto_init() } +func file_GetBlossomBriefInfoListReq_proto_init() { + if File_GetBlossomBriefInfoListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetBlossomBriefInfoListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlossomBriefInfoListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBlossomBriefInfoListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBlossomBriefInfoListReq_proto_goTypes, + DependencyIndexes: file_GetBlossomBriefInfoListReq_proto_depIdxs, + MessageInfos: file_GetBlossomBriefInfoListReq_proto_msgTypes, + }.Build() + File_GetBlossomBriefInfoListReq_proto = out.File + file_GetBlossomBriefInfoListReq_proto_rawDesc = nil + file_GetBlossomBriefInfoListReq_proto_goTypes = nil + file_GetBlossomBriefInfoListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.proto b/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.proto new file mode 100644 index 00000000..830ca7b2 --- /dev/null +++ b/gate-hk4e-api/proto/GetBlossomBriefInfoListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetBlossomBriefInfoListReq { + repeated uint32 city_id_list = 4; +} diff --git a/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.pb.go b/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.pb.go new file mode 100644 index 00000000..da646248 --- /dev/null +++ b/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBlossomBriefInfoListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2798 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetBlossomBriefInfoListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + BriefInfoList []*BlossomBriefInfo `protobuf:"bytes,11,rep,name=brief_info_list,json=briefInfoList,proto3" json:"brief_info_list,omitempty"` +} + +func (x *GetBlossomBriefInfoListRsp) Reset() { + *x = GetBlossomBriefInfoListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBlossomBriefInfoListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlossomBriefInfoListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlossomBriefInfoListRsp) ProtoMessage() {} + +func (x *GetBlossomBriefInfoListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetBlossomBriefInfoListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlossomBriefInfoListRsp.ProtoReflect.Descriptor instead. +func (*GetBlossomBriefInfoListRsp) Descriptor() ([]byte, []int) { + return file_GetBlossomBriefInfoListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBlossomBriefInfoListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetBlossomBriefInfoListRsp) GetBriefInfoList() []*BlossomBriefInfo { + if x != nil { + return x.BriefInfoList + } + return nil +} + +var File_GetBlossomBriefInfoListRsp_proto protoreflect.FileDescriptor + +var file_GetBlossomBriefInfoListRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x39, 0x0a, 0x0f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x42, 0x6c, + 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x62, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetBlossomBriefInfoListRsp_proto_rawDescOnce sync.Once + file_GetBlossomBriefInfoListRsp_proto_rawDescData = file_GetBlossomBriefInfoListRsp_proto_rawDesc +) + +func file_GetBlossomBriefInfoListRsp_proto_rawDescGZIP() []byte { + file_GetBlossomBriefInfoListRsp_proto_rawDescOnce.Do(func() { + file_GetBlossomBriefInfoListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBlossomBriefInfoListRsp_proto_rawDescData) + }) + return file_GetBlossomBriefInfoListRsp_proto_rawDescData +} + +var file_GetBlossomBriefInfoListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBlossomBriefInfoListRsp_proto_goTypes = []interface{}{ + (*GetBlossomBriefInfoListRsp)(nil), // 0: GetBlossomBriefInfoListRsp + (*BlossomBriefInfo)(nil), // 1: BlossomBriefInfo +} +var file_GetBlossomBriefInfoListRsp_proto_depIdxs = []int32{ + 1, // 0: GetBlossomBriefInfoListRsp.brief_info_list:type_name -> BlossomBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetBlossomBriefInfoListRsp_proto_init() } +func file_GetBlossomBriefInfoListRsp_proto_init() { + if File_GetBlossomBriefInfoListRsp_proto != nil { + return + } + file_BlossomBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetBlossomBriefInfoListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlossomBriefInfoListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBlossomBriefInfoListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBlossomBriefInfoListRsp_proto_goTypes, + DependencyIndexes: file_GetBlossomBriefInfoListRsp_proto_depIdxs, + MessageInfos: file_GetBlossomBriefInfoListRsp_proto_msgTypes, + }.Build() + File_GetBlossomBriefInfoListRsp_proto = out.File + file_GetBlossomBriefInfoListRsp_proto_rawDesc = nil + file_GetBlossomBriefInfoListRsp_proto_goTypes = nil + file_GetBlossomBriefInfoListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.proto b/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.proto new file mode 100644 index 00000000..7ce24707 --- /dev/null +++ b/gate-hk4e-api/proto/GetBlossomBriefInfoListRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlossomBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2798 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetBlossomBriefInfoListRsp { + int32 retcode = 12; + repeated BlossomBriefInfo brief_info_list = 11; +} diff --git a/gate-hk4e-api/proto/GetBonusActivityRewardReq.pb.go b/gate-hk4e-api/proto/GetBonusActivityRewardReq.pb.go new file mode 100644 index 00000000..5c641cd0 --- /dev/null +++ b/gate-hk4e-api/proto/GetBonusActivityRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBonusActivityRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2581 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetBonusActivityRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusActivityId uint32 `protobuf:"varint,14,opt,name=bonus_activity_id,json=bonusActivityId,proto3" json:"bonus_activity_id,omitempty"` +} + +func (x *GetBonusActivityRewardReq) Reset() { + *x = GetBonusActivityRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBonusActivityRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBonusActivityRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBonusActivityRewardReq) ProtoMessage() {} + +func (x *GetBonusActivityRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetBonusActivityRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBonusActivityRewardReq.ProtoReflect.Descriptor instead. +func (*GetBonusActivityRewardReq) Descriptor() ([]byte, []int) { + return file_GetBonusActivityRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBonusActivityRewardReq) GetBonusActivityId() uint32 { + if x != nil { + return x.BonusActivityId + } + return 0 +} + +var File_GetBonusActivityRewardReq_proto protoreflect.FileDescriptor + +var file_GetBonusActivityRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x47, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x2a, + 0x0a, 0x11, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x6f, 0x6e, 0x75, 0x73, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetBonusActivityRewardReq_proto_rawDescOnce sync.Once + file_GetBonusActivityRewardReq_proto_rawDescData = file_GetBonusActivityRewardReq_proto_rawDesc +) + +func file_GetBonusActivityRewardReq_proto_rawDescGZIP() []byte { + file_GetBonusActivityRewardReq_proto_rawDescOnce.Do(func() { + file_GetBonusActivityRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBonusActivityRewardReq_proto_rawDescData) + }) + return file_GetBonusActivityRewardReq_proto_rawDescData +} + +var file_GetBonusActivityRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBonusActivityRewardReq_proto_goTypes = []interface{}{ + (*GetBonusActivityRewardReq)(nil), // 0: GetBonusActivityRewardReq +} +var file_GetBonusActivityRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetBonusActivityRewardReq_proto_init() } +func file_GetBonusActivityRewardReq_proto_init() { + if File_GetBonusActivityRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetBonusActivityRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBonusActivityRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBonusActivityRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBonusActivityRewardReq_proto_goTypes, + DependencyIndexes: file_GetBonusActivityRewardReq_proto_depIdxs, + MessageInfos: file_GetBonusActivityRewardReq_proto_msgTypes, + }.Build() + File_GetBonusActivityRewardReq_proto = out.File + file_GetBonusActivityRewardReq_proto_rawDesc = nil + file_GetBonusActivityRewardReq_proto_goTypes = nil + file_GetBonusActivityRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBonusActivityRewardReq.proto b/gate-hk4e-api/proto/GetBonusActivityRewardReq.proto new file mode 100644 index 00000000..d24ca775 --- /dev/null +++ b/gate-hk4e-api/proto/GetBonusActivityRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2581 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetBonusActivityRewardReq { + uint32 bonus_activity_id = 14; +} diff --git a/gate-hk4e-api/proto/GetBonusActivityRewardRsp.pb.go b/gate-hk4e-api/proto/GetBonusActivityRewardRsp.pb.go new file mode 100644 index 00000000..e821407a --- /dev/null +++ b/gate-hk4e-api/proto/GetBonusActivityRewardRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetBonusActivityRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2505 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetBonusActivityRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusActivityInfoList *BonusActivityInfo `protobuf:"bytes,4,opt,name=bonus_activity_info_list,json=bonusActivityInfoList,proto3" json:"bonus_activity_info_list,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetBonusActivityRewardRsp) Reset() { + *x = GetBonusActivityRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetBonusActivityRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBonusActivityRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBonusActivityRewardRsp) ProtoMessage() {} + +func (x *GetBonusActivityRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetBonusActivityRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBonusActivityRewardRsp.ProtoReflect.Descriptor instead. +func (*GetBonusActivityRewardRsp) Descriptor() ([]byte, []int) { + return file_GetBonusActivityRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBonusActivityRewardRsp) GetBonusActivityInfoList() *BonusActivityInfo { + if x != nil { + return x.BonusActivityInfoList + } + return nil +} + +func (x *GetBonusActivityRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetBonusActivityRewardRsp_proto protoreflect.FileDescriptor + +var file_GetBonusActivityRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x18, 0x62, 0x6f, 0x6e, 0x75, + 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x42, 0x6f, 0x6e, + 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, + 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetBonusActivityRewardRsp_proto_rawDescOnce sync.Once + file_GetBonusActivityRewardRsp_proto_rawDescData = file_GetBonusActivityRewardRsp_proto_rawDesc +) + +func file_GetBonusActivityRewardRsp_proto_rawDescGZIP() []byte { + file_GetBonusActivityRewardRsp_proto_rawDescOnce.Do(func() { + file_GetBonusActivityRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetBonusActivityRewardRsp_proto_rawDescData) + }) + return file_GetBonusActivityRewardRsp_proto_rawDescData +} + +var file_GetBonusActivityRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetBonusActivityRewardRsp_proto_goTypes = []interface{}{ + (*GetBonusActivityRewardRsp)(nil), // 0: GetBonusActivityRewardRsp + (*BonusActivityInfo)(nil), // 1: BonusActivityInfo +} +var file_GetBonusActivityRewardRsp_proto_depIdxs = []int32{ + 1, // 0: GetBonusActivityRewardRsp.bonus_activity_info_list:type_name -> BonusActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetBonusActivityRewardRsp_proto_init() } +func file_GetBonusActivityRewardRsp_proto_init() { + if File_GetBonusActivityRewardRsp_proto != nil { + return + } + file_BonusActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetBonusActivityRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBonusActivityRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetBonusActivityRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetBonusActivityRewardRsp_proto_goTypes, + DependencyIndexes: file_GetBonusActivityRewardRsp_proto_depIdxs, + MessageInfos: file_GetBonusActivityRewardRsp_proto_msgTypes, + }.Build() + File_GetBonusActivityRewardRsp_proto = out.File + file_GetBonusActivityRewardRsp_proto_rawDesc = nil + file_GetBonusActivityRewardRsp_proto_goTypes = nil + file_GetBonusActivityRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetBonusActivityRewardRsp.proto b/gate-hk4e-api/proto/GetBonusActivityRewardRsp.proto new file mode 100644 index 00000000..1edc3a9c --- /dev/null +++ b/gate-hk4e-api/proto/GetBonusActivityRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BonusActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2505 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetBonusActivityRewardRsp { + BonusActivityInfo bonus_activity_info_list = 4; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/GetChatEmojiCollectionReq.pb.go b/gate-hk4e-api/proto/GetChatEmojiCollectionReq.pb.go new file mode 100644 index 00000000..c0065fe0 --- /dev/null +++ b/gate-hk4e-api/proto/GetChatEmojiCollectionReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetChatEmojiCollectionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4068 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetChatEmojiCollectionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetChatEmojiCollectionReq) Reset() { + *x = GetChatEmojiCollectionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetChatEmojiCollectionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChatEmojiCollectionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChatEmojiCollectionReq) ProtoMessage() {} + +func (x *GetChatEmojiCollectionReq) ProtoReflect() protoreflect.Message { + mi := &file_GetChatEmojiCollectionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChatEmojiCollectionReq.ProtoReflect.Descriptor instead. +func (*GetChatEmojiCollectionReq) Descriptor() ([]byte, []int) { + return file_GetChatEmojiCollectionReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetChatEmojiCollectionReq_proto protoreflect.FileDescriptor + +var file_GetChatEmojiCollectionReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, + 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetChatEmojiCollectionReq_proto_rawDescOnce sync.Once + file_GetChatEmojiCollectionReq_proto_rawDescData = file_GetChatEmojiCollectionReq_proto_rawDesc +) + +func file_GetChatEmojiCollectionReq_proto_rawDescGZIP() []byte { + file_GetChatEmojiCollectionReq_proto_rawDescOnce.Do(func() { + file_GetChatEmojiCollectionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetChatEmojiCollectionReq_proto_rawDescData) + }) + return file_GetChatEmojiCollectionReq_proto_rawDescData +} + +var file_GetChatEmojiCollectionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetChatEmojiCollectionReq_proto_goTypes = []interface{}{ + (*GetChatEmojiCollectionReq)(nil), // 0: GetChatEmojiCollectionReq +} +var file_GetChatEmojiCollectionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetChatEmojiCollectionReq_proto_init() } +func file_GetChatEmojiCollectionReq_proto_init() { + if File_GetChatEmojiCollectionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetChatEmojiCollectionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChatEmojiCollectionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetChatEmojiCollectionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetChatEmojiCollectionReq_proto_goTypes, + DependencyIndexes: file_GetChatEmojiCollectionReq_proto_depIdxs, + MessageInfos: file_GetChatEmojiCollectionReq_proto_msgTypes, + }.Build() + File_GetChatEmojiCollectionReq_proto = out.File + file_GetChatEmojiCollectionReq_proto_rawDesc = nil + file_GetChatEmojiCollectionReq_proto_goTypes = nil + file_GetChatEmojiCollectionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetChatEmojiCollectionReq.proto b/gate-hk4e-api/proto/GetChatEmojiCollectionReq.proto new file mode 100644 index 00000000..264da880 --- /dev/null +++ b/gate-hk4e-api/proto/GetChatEmojiCollectionReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4068 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetChatEmojiCollectionReq {} diff --git a/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.pb.go b/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.pb.go new file mode 100644 index 00000000..28320d94 --- /dev/null +++ b/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetChatEmojiCollectionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4033 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetChatEmojiCollectionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ChatEmojiCollectionData *ChatEmojiCollectionData `protobuf:"bytes,8,opt,name=chat_emoji_collection_data,json=chatEmojiCollectionData,proto3" json:"chat_emoji_collection_data,omitempty"` +} + +func (x *GetChatEmojiCollectionRsp) Reset() { + *x = GetChatEmojiCollectionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetChatEmojiCollectionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChatEmojiCollectionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChatEmojiCollectionRsp) ProtoMessage() {} + +func (x *GetChatEmojiCollectionRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetChatEmojiCollectionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChatEmojiCollectionRsp.ProtoReflect.Descriptor instead. +func (*GetChatEmojiCollectionRsp) Descriptor() ([]byte, []int) { + return file_GetChatEmojiCollectionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetChatEmojiCollectionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetChatEmojiCollectionRsp) GetChatEmojiCollectionData() *ChatEmojiCollectionData { + if x != nil { + return x.ChatEmojiCollectionData + } + return nil +} + +var File_GetChatEmojiCollectionRsp_proto protoreflect.FileDescriptor + +var file_GetChatEmojiCollectionRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8c, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, + 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x55, 0x0a, 0x1a, 0x63, 0x68, 0x61, 0x74, + 0x5f, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x43, + 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x17, 0x63, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, + 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetChatEmojiCollectionRsp_proto_rawDescOnce sync.Once + file_GetChatEmojiCollectionRsp_proto_rawDescData = file_GetChatEmojiCollectionRsp_proto_rawDesc +) + +func file_GetChatEmojiCollectionRsp_proto_rawDescGZIP() []byte { + file_GetChatEmojiCollectionRsp_proto_rawDescOnce.Do(func() { + file_GetChatEmojiCollectionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetChatEmojiCollectionRsp_proto_rawDescData) + }) + return file_GetChatEmojiCollectionRsp_proto_rawDescData +} + +var file_GetChatEmojiCollectionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetChatEmojiCollectionRsp_proto_goTypes = []interface{}{ + (*GetChatEmojiCollectionRsp)(nil), // 0: GetChatEmojiCollectionRsp + (*ChatEmojiCollectionData)(nil), // 1: ChatEmojiCollectionData +} +var file_GetChatEmojiCollectionRsp_proto_depIdxs = []int32{ + 1, // 0: GetChatEmojiCollectionRsp.chat_emoji_collection_data:type_name -> ChatEmojiCollectionData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetChatEmojiCollectionRsp_proto_init() } +func file_GetChatEmojiCollectionRsp_proto_init() { + if File_GetChatEmojiCollectionRsp_proto != nil { + return + } + file_ChatEmojiCollectionData_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetChatEmojiCollectionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChatEmojiCollectionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetChatEmojiCollectionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetChatEmojiCollectionRsp_proto_goTypes, + DependencyIndexes: file_GetChatEmojiCollectionRsp_proto_depIdxs, + MessageInfos: file_GetChatEmojiCollectionRsp_proto_msgTypes, + }.Build() + File_GetChatEmojiCollectionRsp_proto = out.File + file_GetChatEmojiCollectionRsp_proto_rawDesc = nil + file_GetChatEmojiCollectionRsp_proto_goTypes = nil + file_GetChatEmojiCollectionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.proto b/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.proto new file mode 100644 index 00000000..bed40ece --- /dev/null +++ b/gate-hk4e-api/proto/GetChatEmojiCollectionRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatEmojiCollectionData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4033 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetChatEmojiCollectionRsp { + int32 retcode = 15; + ChatEmojiCollectionData chat_emoji_collection_data = 8; +} diff --git a/gate-hk4e-api/proto/GetCityHuntingOfferReq.pb.go b/gate-hk4e-api/proto/GetCityHuntingOfferReq.pb.go new file mode 100644 index 00000000..649557de --- /dev/null +++ b/gate-hk4e-api/proto/GetCityHuntingOfferReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityHuntingOfferReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetCityHuntingOfferReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,9,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *GetCityHuntingOfferReq) Reset() { + *x = GetCityHuntingOfferReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityHuntingOfferReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityHuntingOfferReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityHuntingOfferReq) ProtoMessage() {} + +func (x *GetCityHuntingOfferReq) ProtoReflect() protoreflect.Message { + mi := &file_GetCityHuntingOfferReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityHuntingOfferReq.ProtoReflect.Descriptor instead. +func (*GetCityHuntingOfferReq) Descriptor() ([]byte, []int) { + return file_GetCityHuntingOfferReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCityHuntingOfferReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_GetCityHuntingOfferReq_proto protoreflect.FileDescriptor + +var file_GetCityHuntingOfferReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityHuntingOfferReq_proto_rawDescOnce sync.Once + file_GetCityHuntingOfferReq_proto_rawDescData = file_GetCityHuntingOfferReq_proto_rawDesc +) + +func file_GetCityHuntingOfferReq_proto_rawDescGZIP() []byte { + file_GetCityHuntingOfferReq_proto_rawDescOnce.Do(func() { + file_GetCityHuntingOfferReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityHuntingOfferReq_proto_rawDescData) + }) + return file_GetCityHuntingOfferReq_proto_rawDescData +} + +var file_GetCityHuntingOfferReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityHuntingOfferReq_proto_goTypes = []interface{}{ + (*GetCityHuntingOfferReq)(nil), // 0: GetCityHuntingOfferReq +} +var file_GetCityHuntingOfferReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetCityHuntingOfferReq_proto_init() } +func file_GetCityHuntingOfferReq_proto_init() { + if File_GetCityHuntingOfferReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetCityHuntingOfferReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityHuntingOfferReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityHuntingOfferReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityHuntingOfferReq_proto_goTypes, + DependencyIndexes: file_GetCityHuntingOfferReq_proto_depIdxs, + MessageInfos: file_GetCityHuntingOfferReq_proto_msgTypes, + }.Build() + File_GetCityHuntingOfferReq_proto = out.File + file_GetCityHuntingOfferReq_proto_rawDesc = nil + file_GetCityHuntingOfferReq_proto_goTypes = nil + file_GetCityHuntingOfferReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityHuntingOfferReq.proto b/gate-hk4e-api/proto/GetCityHuntingOfferReq.proto new file mode 100644 index 00000000..0df01b8b --- /dev/null +++ b/gate-hk4e-api/proto/GetCityHuntingOfferReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetCityHuntingOfferReq { + uint32 city_id = 9; +} diff --git a/gate-hk4e-api/proto/GetCityHuntingOfferRsp.pb.go b/gate-hk4e-api/proto/GetCityHuntingOfferRsp.pb.go new file mode 100644 index 00000000..9ea585e1 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityHuntingOfferRsp.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityHuntingOfferRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4307 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetCityHuntingOfferRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + HuntingOfferList []*HuntingOfferData `protobuf:"bytes,13,rep,name=hunting_offer_list,json=huntingOfferList,proto3" json:"hunting_offer_list,omitempty"` + CityId uint32 `protobuf:"varint,2,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + OngoingHuntingPair *HuntingPair `protobuf:"bytes,8,opt,name=ongoing_hunting_pair,json=ongoingHuntingPair,proto3" json:"ongoing_hunting_pair,omitempty"` + CurWeekFinishedCount uint32 `protobuf:"varint,1,opt,name=cur_week_finished_count,json=curWeekFinishedCount,proto3" json:"cur_week_finished_count,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,4,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` +} + +func (x *GetCityHuntingOfferRsp) Reset() { + *x = GetCityHuntingOfferRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityHuntingOfferRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityHuntingOfferRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityHuntingOfferRsp) ProtoMessage() {} + +func (x *GetCityHuntingOfferRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetCityHuntingOfferRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityHuntingOfferRsp.ProtoReflect.Descriptor instead. +func (*GetCityHuntingOfferRsp) Descriptor() ([]byte, []int) { + return file_GetCityHuntingOfferRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCityHuntingOfferRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetCityHuntingOfferRsp) GetHuntingOfferList() []*HuntingOfferData { + if x != nil { + return x.HuntingOfferList + } + return nil +} + +func (x *GetCityHuntingOfferRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *GetCityHuntingOfferRsp) GetOngoingHuntingPair() *HuntingPair { + if x != nil { + return x.OngoingHuntingPair + } + return nil +} + +func (x *GetCityHuntingOfferRsp) GetCurWeekFinishedCount() uint32 { + if x != nil { + return x.CurWeekFinishedCount + } + return 0 +} + +func (x *GetCityHuntingOfferRsp) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +var File_GetCityHuntingOfferRsp_proto protoreflect.FileDescriptor + +var file_GetCityHuntingOfferRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, + 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x43, 0x69, 0x74, 0x79, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3f, + 0x0a, 0x12, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x48, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x68, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x14, 0x6f, 0x6e, 0x67, 0x6f, + 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x50, 0x61, 0x69, 0x72, 0x52, 0x12, 0x6f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x48, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x75, 0x72, 0x5f, + 0x77, 0x65, 0x65, 0x6b, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x63, 0x75, 0x72, 0x57, 0x65, + 0x65, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityHuntingOfferRsp_proto_rawDescOnce sync.Once + file_GetCityHuntingOfferRsp_proto_rawDescData = file_GetCityHuntingOfferRsp_proto_rawDesc +) + +func file_GetCityHuntingOfferRsp_proto_rawDescGZIP() []byte { + file_GetCityHuntingOfferRsp_proto_rawDescOnce.Do(func() { + file_GetCityHuntingOfferRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityHuntingOfferRsp_proto_rawDescData) + }) + return file_GetCityHuntingOfferRsp_proto_rawDescData +} + +var file_GetCityHuntingOfferRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityHuntingOfferRsp_proto_goTypes = []interface{}{ + (*GetCityHuntingOfferRsp)(nil), // 0: GetCityHuntingOfferRsp + (*HuntingOfferData)(nil), // 1: HuntingOfferData + (*HuntingPair)(nil), // 2: HuntingPair +} +var file_GetCityHuntingOfferRsp_proto_depIdxs = []int32{ + 1, // 0: GetCityHuntingOfferRsp.hunting_offer_list:type_name -> HuntingOfferData + 2, // 1: GetCityHuntingOfferRsp.ongoing_hunting_pair:type_name -> HuntingPair + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GetCityHuntingOfferRsp_proto_init() } +func file_GetCityHuntingOfferRsp_proto_init() { + if File_GetCityHuntingOfferRsp_proto != nil { + return + } + file_HuntingOfferData_proto_init() + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetCityHuntingOfferRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityHuntingOfferRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityHuntingOfferRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityHuntingOfferRsp_proto_goTypes, + DependencyIndexes: file_GetCityHuntingOfferRsp_proto_depIdxs, + MessageInfos: file_GetCityHuntingOfferRsp_proto_msgTypes, + }.Build() + File_GetCityHuntingOfferRsp_proto = out.File + file_GetCityHuntingOfferRsp_proto_rawDesc = nil + file_GetCityHuntingOfferRsp_proto_goTypes = nil + file_GetCityHuntingOfferRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityHuntingOfferRsp.proto b/gate-hk4e-api/proto/GetCityHuntingOfferRsp.proto new file mode 100644 index 00000000..7f1e1427 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityHuntingOfferRsp.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingOfferData.proto"; +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4307 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetCityHuntingOfferRsp { + int32 retcode = 9; + repeated HuntingOfferData hunting_offer_list = 13; + uint32 city_id = 2; + HuntingPair ongoing_hunting_pair = 8; + uint32 cur_week_finished_count = 1; + uint32 next_refresh_time = 4; +} diff --git a/gate-hk4e-api/proto/GetCityReputationInfoReq.pb.go b/gate-hk4e-api/proto/GetCityReputationInfoReq.pb.go new file mode 100644 index 00000000..5d07336f --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityReputationInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2872 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetCityReputationInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,7,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *GetCityReputationInfoReq) Reset() { + *x = GetCityReputationInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityReputationInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityReputationInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityReputationInfoReq) ProtoMessage() {} + +func (x *GetCityReputationInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetCityReputationInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityReputationInfoReq.ProtoReflect.Descriptor instead. +func (*GetCityReputationInfoReq) Descriptor() ([]byte, []int) { + return file_GetCityReputationInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCityReputationInfoReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_GetCityReputationInfoReq_proto protoreflect.FileDescriptor + +var file_GetCityReputationInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityReputationInfoReq_proto_rawDescOnce sync.Once + file_GetCityReputationInfoReq_proto_rawDescData = file_GetCityReputationInfoReq_proto_rawDesc +) + +func file_GetCityReputationInfoReq_proto_rawDescGZIP() []byte { + file_GetCityReputationInfoReq_proto_rawDescOnce.Do(func() { + file_GetCityReputationInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityReputationInfoReq_proto_rawDescData) + }) + return file_GetCityReputationInfoReq_proto_rawDescData +} + +var file_GetCityReputationInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityReputationInfoReq_proto_goTypes = []interface{}{ + (*GetCityReputationInfoReq)(nil), // 0: GetCityReputationInfoReq +} +var file_GetCityReputationInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetCityReputationInfoReq_proto_init() } +func file_GetCityReputationInfoReq_proto_init() { + if File_GetCityReputationInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetCityReputationInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityReputationInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityReputationInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityReputationInfoReq_proto_goTypes, + DependencyIndexes: file_GetCityReputationInfoReq_proto_depIdxs, + MessageInfos: file_GetCityReputationInfoReq_proto_msgTypes, + }.Build() + File_GetCityReputationInfoReq_proto = out.File + file_GetCityReputationInfoReq_proto_rawDesc = nil + file_GetCityReputationInfoReq_proto_goTypes = nil + file_GetCityReputationInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityReputationInfoReq.proto b/gate-hk4e-api/proto/GetCityReputationInfoReq.proto new file mode 100644 index 00000000..1917fd16 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2872 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetCityReputationInfoReq { + uint32 city_id = 7; +} diff --git a/gate-hk4e-api/proto/GetCityReputationInfoRsp.pb.go b/gate-hk4e-api/proto/GetCityReputationInfoRsp.pb.go new file mode 100644 index 00000000..ea8c0303 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationInfoRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityReputationInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2898 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetCityReputationInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,1,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + CityReputationInfo *CityReputationInfo `protobuf:"bytes,9,opt,name=city_reputation_info,json=cityReputationInfo,proto3" json:"city_reputation_info,omitempty"` +} + +func (x *GetCityReputationInfoRsp) Reset() { + *x = GetCityReputationInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityReputationInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityReputationInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityReputationInfoRsp) ProtoMessage() {} + +func (x *GetCityReputationInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetCityReputationInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityReputationInfoRsp.ProtoReflect.Descriptor instead. +func (*GetCityReputationInfoRsp) Descriptor() ([]byte, []int) { + return file_GetCityReputationInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCityReputationInfoRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *GetCityReputationInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetCityReputationInfoRsp) GetCityReputationInfo() *CityReputationInfo { + if x != nil { + return x.CityReputationInfo + } + return nil +} + +var File_GetCityReputationInfoRsp_proto protoreflect.FileDescriptor + +var file_GetCityReputationInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x14, 0x63, 0x69, + 0x74, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x63, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityReputationInfoRsp_proto_rawDescOnce sync.Once + file_GetCityReputationInfoRsp_proto_rawDescData = file_GetCityReputationInfoRsp_proto_rawDesc +) + +func file_GetCityReputationInfoRsp_proto_rawDescGZIP() []byte { + file_GetCityReputationInfoRsp_proto_rawDescOnce.Do(func() { + file_GetCityReputationInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityReputationInfoRsp_proto_rawDescData) + }) + return file_GetCityReputationInfoRsp_proto_rawDescData +} + +var file_GetCityReputationInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityReputationInfoRsp_proto_goTypes = []interface{}{ + (*GetCityReputationInfoRsp)(nil), // 0: GetCityReputationInfoRsp + (*CityReputationInfo)(nil), // 1: CityReputationInfo +} +var file_GetCityReputationInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetCityReputationInfoRsp.city_reputation_info:type_name -> CityReputationInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetCityReputationInfoRsp_proto_init() } +func file_GetCityReputationInfoRsp_proto_init() { + if File_GetCityReputationInfoRsp_proto != nil { + return + } + file_CityReputationInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetCityReputationInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityReputationInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityReputationInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityReputationInfoRsp_proto_goTypes, + DependencyIndexes: file_GetCityReputationInfoRsp_proto_depIdxs, + MessageInfos: file_GetCityReputationInfoRsp_proto_msgTypes, + }.Build() + File_GetCityReputationInfoRsp_proto = out.File + file_GetCityReputationInfoRsp_proto_rawDesc = nil + file_GetCityReputationInfoRsp_proto_goTypes = nil + file_GetCityReputationInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityReputationInfoRsp.proto b/gate-hk4e-api/proto/GetCityReputationInfoRsp.proto new file mode 100644 index 00000000..ca83fd9d --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CityReputationInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2898 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetCityReputationInfoRsp { + uint32 city_id = 1; + int32 retcode = 4; + CityReputationInfo city_reputation_info = 9; +} diff --git a/gate-hk4e-api/proto/GetCityReputationMapInfoReq.pb.go b/gate-hk4e-api/proto/GetCityReputationMapInfoReq.pb.go new file mode 100644 index 00000000..5b2a621b --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationMapInfoReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityReputationMapInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2875 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetCityReputationMapInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetCityReputationMapInfoReq) Reset() { + *x = GetCityReputationMapInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityReputationMapInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityReputationMapInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityReputationMapInfoReq) ProtoMessage() {} + +func (x *GetCityReputationMapInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetCityReputationMapInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityReputationMapInfoReq.ProtoReflect.Descriptor instead. +func (*GetCityReputationMapInfoReq) Descriptor() ([]byte, []int) { + return file_GetCityReputationMapInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetCityReputationMapInfoReq_proto protoreflect.FileDescriptor + +var file_GetCityReputationMapInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityReputationMapInfoReq_proto_rawDescOnce sync.Once + file_GetCityReputationMapInfoReq_proto_rawDescData = file_GetCityReputationMapInfoReq_proto_rawDesc +) + +func file_GetCityReputationMapInfoReq_proto_rawDescGZIP() []byte { + file_GetCityReputationMapInfoReq_proto_rawDescOnce.Do(func() { + file_GetCityReputationMapInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityReputationMapInfoReq_proto_rawDescData) + }) + return file_GetCityReputationMapInfoReq_proto_rawDescData +} + +var file_GetCityReputationMapInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityReputationMapInfoReq_proto_goTypes = []interface{}{ + (*GetCityReputationMapInfoReq)(nil), // 0: GetCityReputationMapInfoReq +} +var file_GetCityReputationMapInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetCityReputationMapInfoReq_proto_init() } +func file_GetCityReputationMapInfoReq_proto_init() { + if File_GetCityReputationMapInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetCityReputationMapInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityReputationMapInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityReputationMapInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityReputationMapInfoReq_proto_goTypes, + DependencyIndexes: file_GetCityReputationMapInfoReq_proto_depIdxs, + MessageInfos: file_GetCityReputationMapInfoReq_proto_msgTypes, + }.Build() + File_GetCityReputationMapInfoReq_proto = out.File + file_GetCityReputationMapInfoReq_proto_rawDesc = nil + file_GetCityReputationMapInfoReq_proto_goTypes = nil + file_GetCityReputationMapInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityReputationMapInfoReq.proto b/gate-hk4e-api/proto/GetCityReputationMapInfoReq.proto new file mode 100644 index 00000000..d8dda7fd --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationMapInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2875 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetCityReputationMapInfoReq {} diff --git a/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.pb.go b/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.pb.go new file mode 100644 index 00000000..6e819c10 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCityReputationMapInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2848 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetCityReputationMapInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsNewHunting bool `protobuf:"varint,10,opt,name=is_new_hunting,json=isNewHunting,proto3" json:"is_new_hunting,omitempty"` + IsNewRequest bool `protobuf:"varint,2,opt,name=is_new_request,json=isNewRequest,proto3" json:"is_new_request,omitempty"` + UnlockHuntingCityList []uint32 `protobuf:"varint,9,rep,packed,name=unlock_hunting_city_list,json=unlockHuntingCityList,proto3" json:"unlock_hunting_city_list,omitempty"` + RewardCityList []uint32 `protobuf:"varint,3,rep,packed,name=reward_city_list,json=rewardCityList,proto3" json:"reward_city_list,omitempty"` +} + +func (x *GetCityReputationMapInfoRsp) Reset() { + *x = GetCityReputationMapInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCityReputationMapInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCityReputationMapInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCityReputationMapInfoRsp) ProtoMessage() {} + +func (x *GetCityReputationMapInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetCityReputationMapInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCityReputationMapInfoRsp.ProtoReflect.Descriptor instead. +func (*GetCityReputationMapInfoRsp) Descriptor() ([]byte, []int) { + return file_GetCityReputationMapInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCityReputationMapInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetCityReputationMapInfoRsp) GetIsNewHunting() bool { + if x != nil { + return x.IsNewHunting + } + return false +} + +func (x *GetCityReputationMapInfoRsp) GetIsNewRequest() bool { + if x != nil { + return x.IsNewRequest + } + return false +} + +func (x *GetCityReputationMapInfoRsp) GetUnlockHuntingCityList() []uint32 { + if x != nil { + return x.UnlockHuntingCityList + } + return nil +} + +func (x *GetCityReputationMapInfoRsp) GetRewardCityList() []uint32 { + if x != nil { + return x.RewardCityList + } + return nil +} + +var File_GetCityReputationMapInfoRsp_proto protoreflect.FileDescriptor + +var file_GetCityReputationMapInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, + 0x0e, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x48, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4e, + 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x75, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x15, 0x75, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x69, 0x74, 0x79, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x69, 0x74, + 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x43, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCityReputationMapInfoRsp_proto_rawDescOnce sync.Once + file_GetCityReputationMapInfoRsp_proto_rawDescData = file_GetCityReputationMapInfoRsp_proto_rawDesc +) + +func file_GetCityReputationMapInfoRsp_proto_rawDescGZIP() []byte { + file_GetCityReputationMapInfoRsp_proto_rawDescOnce.Do(func() { + file_GetCityReputationMapInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCityReputationMapInfoRsp_proto_rawDescData) + }) + return file_GetCityReputationMapInfoRsp_proto_rawDescData +} + +var file_GetCityReputationMapInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCityReputationMapInfoRsp_proto_goTypes = []interface{}{ + (*GetCityReputationMapInfoRsp)(nil), // 0: GetCityReputationMapInfoRsp +} +var file_GetCityReputationMapInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetCityReputationMapInfoRsp_proto_init() } +func file_GetCityReputationMapInfoRsp_proto_init() { + if File_GetCityReputationMapInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetCityReputationMapInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCityReputationMapInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCityReputationMapInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCityReputationMapInfoRsp_proto_goTypes, + DependencyIndexes: file_GetCityReputationMapInfoRsp_proto_depIdxs, + MessageInfos: file_GetCityReputationMapInfoRsp_proto_msgTypes, + }.Build() + File_GetCityReputationMapInfoRsp_proto = out.File + file_GetCityReputationMapInfoRsp_proto_rawDesc = nil + file_GetCityReputationMapInfoRsp_proto_goTypes = nil + file_GetCityReputationMapInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.proto b/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.proto new file mode 100644 index 00000000..2f366fc8 --- /dev/null +++ b/gate-hk4e-api/proto/GetCityReputationMapInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2848 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetCityReputationMapInfoRsp { + int32 retcode = 11; + bool is_new_hunting = 10; + bool is_new_request = 2; + repeated uint32 unlock_hunting_city_list = 9; + repeated uint32 reward_city_list = 3; +} diff --git a/gate-hk4e-api/proto/GetCompoundDataReq.pb.go b/gate-hk4e-api/proto/GetCompoundDataReq.pb.go new file mode 100644 index 00000000..93864e2c --- /dev/null +++ b/gate-hk4e-api/proto/GetCompoundDataReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCompoundDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 141 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetCompoundDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetCompoundDataReq) Reset() { + *x = GetCompoundDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCompoundDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCompoundDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCompoundDataReq) ProtoMessage() {} + +func (x *GetCompoundDataReq) ProtoReflect() protoreflect.Message { + mi := &file_GetCompoundDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCompoundDataReq.ProtoReflect.Descriptor instead. +func (*GetCompoundDataReq) Descriptor() ([]byte, []int) { + return file_GetCompoundDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetCompoundDataReq_proto protoreflect.FileDescriptor + +var file_GetCompoundDataReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetCompoundDataReq_proto_rawDescOnce sync.Once + file_GetCompoundDataReq_proto_rawDescData = file_GetCompoundDataReq_proto_rawDesc +) + +func file_GetCompoundDataReq_proto_rawDescGZIP() []byte { + file_GetCompoundDataReq_proto_rawDescOnce.Do(func() { + file_GetCompoundDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCompoundDataReq_proto_rawDescData) + }) + return file_GetCompoundDataReq_proto_rawDescData +} + +var file_GetCompoundDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCompoundDataReq_proto_goTypes = []interface{}{ + (*GetCompoundDataReq)(nil), // 0: GetCompoundDataReq +} +var file_GetCompoundDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetCompoundDataReq_proto_init() } +func file_GetCompoundDataReq_proto_init() { + if File_GetCompoundDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetCompoundDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCompoundDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCompoundDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCompoundDataReq_proto_goTypes, + DependencyIndexes: file_GetCompoundDataReq_proto_depIdxs, + MessageInfos: file_GetCompoundDataReq_proto_msgTypes, + }.Build() + File_GetCompoundDataReq_proto = out.File + file_GetCompoundDataReq_proto_rawDesc = nil + file_GetCompoundDataReq_proto_goTypes = nil + file_GetCompoundDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCompoundDataReq.proto b/gate-hk4e-api/proto/GetCompoundDataReq.proto new file mode 100644 index 00000000..2dbcd3af --- /dev/null +++ b/gate-hk4e-api/proto/GetCompoundDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 141 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetCompoundDataReq {} diff --git a/gate-hk4e-api/proto/GetCompoundDataRsp.pb.go b/gate-hk4e-api/proto/GetCompoundDataRsp.pb.go new file mode 100644 index 00000000..6f6db487 --- /dev/null +++ b/gate-hk4e-api/proto/GetCompoundDataRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetCompoundDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 149 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetCompoundDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + UnlockCompoundList []uint32 `protobuf:"varint,11,rep,packed,name=unlock_compound_list,json=unlockCompoundList,proto3" json:"unlock_compound_list,omitempty"` + CompoundQueDataList []*CompoundQueueData `protobuf:"bytes,7,rep,name=compound_que_data_list,json=compoundQueDataList,proto3" json:"compound_que_data_list,omitempty"` +} + +func (x *GetCompoundDataRsp) Reset() { + *x = GetCompoundDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetCompoundDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCompoundDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCompoundDataRsp) ProtoMessage() {} + +func (x *GetCompoundDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetCompoundDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCompoundDataRsp.ProtoReflect.Descriptor instead. +func (*GetCompoundDataRsp) Descriptor() ([]byte, []int) { + return file_GetCompoundDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetCompoundDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetCompoundDataRsp) GetUnlockCompoundList() []uint32 { + if x != nil { + return x.UnlockCompoundList + } + return nil +} + +func (x *GetCompoundDataRsp) GetCompoundQueDataList() []*CompoundQueueData { + if x != nil { + return x.CompoundQueDataList + } + return nil +} + +var File_GetCompoundDataRsp_proto protoreflect.FileDescriptor + +var file_GetCompoundDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, + 0x75, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x12, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, + 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, + 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, + 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x13, 0x63, 0x6f, 0x6d, 0x70, + 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetCompoundDataRsp_proto_rawDescOnce sync.Once + file_GetCompoundDataRsp_proto_rawDescData = file_GetCompoundDataRsp_proto_rawDesc +) + +func file_GetCompoundDataRsp_proto_rawDescGZIP() []byte { + file_GetCompoundDataRsp_proto_rawDescOnce.Do(func() { + file_GetCompoundDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetCompoundDataRsp_proto_rawDescData) + }) + return file_GetCompoundDataRsp_proto_rawDescData +} + +var file_GetCompoundDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetCompoundDataRsp_proto_goTypes = []interface{}{ + (*GetCompoundDataRsp)(nil), // 0: GetCompoundDataRsp + (*CompoundQueueData)(nil), // 1: CompoundQueueData +} +var file_GetCompoundDataRsp_proto_depIdxs = []int32{ + 1, // 0: GetCompoundDataRsp.compound_que_data_list:type_name -> CompoundQueueData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetCompoundDataRsp_proto_init() } +func file_GetCompoundDataRsp_proto_init() { + if File_GetCompoundDataRsp_proto != nil { + return + } + file_CompoundQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetCompoundDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCompoundDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetCompoundDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetCompoundDataRsp_proto_goTypes, + DependencyIndexes: file_GetCompoundDataRsp_proto_depIdxs, + MessageInfos: file_GetCompoundDataRsp_proto_msgTypes, + }.Build() + File_GetCompoundDataRsp_proto = out.File + file_GetCompoundDataRsp_proto_rawDesc = nil + file_GetCompoundDataRsp_proto_goTypes = nil + file_GetCompoundDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetCompoundDataRsp.proto b/gate-hk4e-api/proto/GetCompoundDataRsp.proto new file mode 100644 index 00000000..8236d793 --- /dev/null +++ b/gate-hk4e-api/proto/GetCompoundDataRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CompoundQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 149 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetCompoundDataRsp { + int32 retcode = 3; + repeated uint32 unlock_compound_list = 11; + repeated CompoundQueueData compound_que_data_list = 7; +} diff --git a/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.pb.go b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.pb.go new file mode 100644 index 00000000..de06f2d6 --- /dev/null +++ b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetDailyDungeonEntryInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 930 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetDailyDungeonEntryInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,15,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *GetDailyDungeonEntryInfoReq) Reset() { + *x = GetDailyDungeonEntryInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetDailyDungeonEntryInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDailyDungeonEntryInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDailyDungeonEntryInfoReq) ProtoMessage() {} + +func (x *GetDailyDungeonEntryInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetDailyDungeonEntryInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDailyDungeonEntryInfoReq.ProtoReflect.Descriptor instead. +func (*GetDailyDungeonEntryInfoReq) Descriptor() ([]byte, []int) { + return file_GetDailyDungeonEntryInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetDailyDungeonEntryInfoReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_GetDailyDungeonEntryInfoReq_proto protoreflect.FileDescriptor + +var file_GetDailyDungeonEntryInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetDailyDungeonEntryInfoReq_proto_rawDescOnce sync.Once + file_GetDailyDungeonEntryInfoReq_proto_rawDescData = file_GetDailyDungeonEntryInfoReq_proto_rawDesc +) + +func file_GetDailyDungeonEntryInfoReq_proto_rawDescGZIP() []byte { + file_GetDailyDungeonEntryInfoReq_proto_rawDescOnce.Do(func() { + file_GetDailyDungeonEntryInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetDailyDungeonEntryInfoReq_proto_rawDescData) + }) + return file_GetDailyDungeonEntryInfoReq_proto_rawDescData +} + +var file_GetDailyDungeonEntryInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetDailyDungeonEntryInfoReq_proto_goTypes = []interface{}{ + (*GetDailyDungeonEntryInfoReq)(nil), // 0: GetDailyDungeonEntryInfoReq +} +var file_GetDailyDungeonEntryInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetDailyDungeonEntryInfoReq_proto_init() } +func file_GetDailyDungeonEntryInfoReq_proto_init() { + if File_GetDailyDungeonEntryInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetDailyDungeonEntryInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDailyDungeonEntryInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetDailyDungeonEntryInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetDailyDungeonEntryInfoReq_proto_goTypes, + DependencyIndexes: file_GetDailyDungeonEntryInfoReq_proto_depIdxs, + MessageInfos: file_GetDailyDungeonEntryInfoReq_proto_msgTypes, + }.Build() + File_GetDailyDungeonEntryInfoReq_proto = out.File + file_GetDailyDungeonEntryInfoReq_proto_rawDesc = nil + file_GetDailyDungeonEntryInfoReq_proto_goTypes = nil + file_GetDailyDungeonEntryInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.proto b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.proto new file mode 100644 index 00000000..cd62bd0b --- /dev/null +++ b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 930 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetDailyDungeonEntryInfoReq { + uint32 scene_id = 15; +} diff --git a/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.pb.go b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.pb.go new file mode 100644 index 00000000..c49be9ab --- /dev/null +++ b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetDailyDungeonEntryInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 967 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetDailyDungeonEntryInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DailyDungeonInfoList []*DailyDungeonEntryInfo `protobuf:"bytes,2,rep,name=daily_dungeon_info_list,json=dailyDungeonInfoList,proto3" json:"daily_dungeon_info_list,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetDailyDungeonEntryInfoRsp) Reset() { + *x = GetDailyDungeonEntryInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetDailyDungeonEntryInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDailyDungeonEntryInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDailyDungeonEntryInfoRsp) ProtoMessage() {} + +func (x *GetDailyDungeonEntryInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetDailyDungeonEntryInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDailyDungeonEntryInfoRsp.ProtoReflect.Descriptor instead. +func (*GetDailyDungeonEntryInfoRsp) Descriptor() ([]byte, []int) { + return file_GetDailyDungeonEntryInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetDailyDungeonEntryInfoRsp) GetDailyDungeonInfoList() []*DailyDungeonEntryInfo { + if x != nil { + return x.DailyDungeonInfoList + } + return nil +} + +func (x *GetDailyDungeonEntryInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetDailyDungeonEntryInfoRsp_proto protoreflect.FileDescriptor + +var file_GetDailyDungeonEntryInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x86, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, + 0x12, 0x4d, 0x0a, 0x17, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x64, 0x61, 0x69, 0x6c, 0x79, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetDailyDungeonEntryInfoRsp_proto_rawDescOnce sync.Once + file_GetDailyDungeonEntryInfoRsp_proto_rawDescData = file_GetDailyDungeonEntryInfoRsp_proto_rawDesc +) + +func file_GetDailyDungeonEntryInfoRsp_proto_rawDescGZIP() []byte { + file_GetDailyDungeonEntryInfoRsp_proto_rawDescOnce.Do(func() { + file_GetDailyDungeonEntryInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetDailyDungeonEntryInfoRsp_proto_rawDescData) + }) + return file_GetDailyDungeonEntryInfoRsp_proto_rawDescData +} + +var file_GetDailyDungeonEntryInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetDailyDungeonEntryInfoRsp_proto_goTypes = []interface{}{ + (*GetDailyDungeonEntryInfoRsp)(nil), // 0: GetDailyDungeonEntryInfoRsp + (*DailyDungeonEntryInfo)(nil), // 1: DailyDungeonEntryInfo +} +var file_GetDailyDungeonEntryInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetDailyDungeonEntryInfoRsp.daily_dungeon_info_list:type_name -> DailyDungeonEntryInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetDailyDungeonEntryInfoRsp_proto_init() } +func file_GetDailyDungeonEntryInfoRsp_proto_init() { + if File_GetDailyDungeonEntryInfoRsp_proto != nil { + return + } + file_DailyDungeonEntryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetDailyDungeonEntryInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDailyDungeonEntryInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetDailyDungeonEntryInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetDailyDungeonEntryInfoRsp_proto_goTypes, + DependencyIndexes: file_GetDailyDungeonEntryInfoRsp_proto_depIdxs, + MessageInfos: file_GetDailyDungeonEntryInfoRsp_proto_msgTypes, + }.Build() + File_GetDailyDungeonEntryInfoRsp_proto = out.File + file_GetDailyDungeonEntryInfoRsp_proto_rawDesc = nil + file_GetDailyDungeonEntryInfoRsp_proto_goTypes = nil + file_GetDailyDungeonEntryInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.proto b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.proto new file mode 100644 index 00000000..fc0e08c1 --- /dev/null +++ b/gate-hk4e-api/proto/GetDailyDungeonEntryInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DailyDungeonEntryInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 967 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetDailyDungeonEntryInfoRsp { + repeated DailyDungeonEntryInfo daily_dungeon_info_list = 2; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.pb.go b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.pb.go new file mode 100644 index 00000000..61d2c0e7 --- /dev/null +++ b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetDungeonEntryExploreConditionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetDungeonEntryExploreConditionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,6,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + DungeonEntryConfigId uint32 `protobuf:"varint,2,opt,name=dungeon_entry_config_id,json=dungeonEntryConfigId,proto3" json:"dungeon_entry_config_id,omitempty"` + DungeonEntryScenePointId uint32 `protobuf:"varint,4,opt,name=dungeon_entry_scene_point_id,json=dungeonEntryScenePointId,proto3" json:"dungeon_entry_scene_point_id,omitempty"` +} + +func (x *GetDungeonEntryExploreConditionReq) Reset() { + *x = GetDungeonEntryExploreConditionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetDungeonEntryExploreConditionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDungeonEntryExploreConditionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDungeonEntryExploreConditionReq) ProtoMessage() {} + +func (x *GetDungeonEntryExploreConditionReq) ProtoReflect() protoreflect.Message { + mi := &file_GetDungeonEntryExploreConditionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDungeonEntryExploreConditionReq.ProtoReflect.Descriptor instead. +func (*GetDungeonEntryExploreConditionReq) Descriptor() ([]byte, []int) { + return file_GetDungeonEntryExploreConditionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetDungeonEntryExploreConditionReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GetDungeonEntryExploreConditionReq) GetDungeonEntryConfigId() uint32 { + if x != nil { + return x.DungeonEntryConfigId + } + return 0 +} + +func (x *GetDungeonEntryExploreConditionReq) GetDungeonEntryScenePointId() uint32 { + if x != nil { + return x.DungeonEntryScenePointId + } + return 0 +} + +var File_GetDungeonEntryExploreConditionReq_proto protoreflect.FileDescriptor + +var file_GetDungeonEntryExploreConditionReq_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x47, 0x65, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x22, 0x47, + 0x65, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x45, 0x78, + 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x1c, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetDungeonEntryExploreConditionReq_proto_rawDescOnce sync.Once + file_GetDungeonEntryExploreConditionReq_proto_rawDescData = file_GetDungeonEntryExploreConditionReq_proto_rawDesc +) + +func file_GetDungeonEntryExploreConditionReq_proto_rawDescGZIP() []byte { + file_GetDungeonEntryExploreConditionReq_proto_rawDescOnce.Do(func() { + file_GetDungeonEntryExploreConditionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetDungeonEntryExploreConditionReq_proto_rawDescData) + }) + return file_GetDungeonEntryExploreConditionReq_proto_rawDescData +} + +var file_GetDungeonEntryExploreConditionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetDungeonEntryExploreConditionReq_proto_goTypes = []interface{}{ + (*GetDungeonEntryExploreConditionReq)(nil), // 0: GetDungeonEntryExploreConditionReq +} +var file_GetDungeonEntryExploreConditionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetDungeonEntryExploreConditionReq_proto_init() } +func file_GetDungeonEntryExploreConditionReq_proto_init() { + if File_GetDungeonEntryExploreConditionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetDungeonEntryExploreConditionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDungeonEntryExploreConditionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetDungeonEntryExploreConditionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetDungeonEntryExploreConditionReq_proto_goTypes, + DependencyIndexes: file_GetDungeonEntryExploreConditionReq_proto_depIdxs, + MessageInfos: file_GetDungeonEntryExploreConditionReq_proto_msgTypes, + }.Build() + File_GetDungeonEntryExploreConditionReq_proto = out.File + file_GetDungeonEntryExploreConditionReq_proto_rawDesc = nil + file_GetDungeonEntryExploreConditionReq_proto_goTypes = nil + file_GetDungeonEntryExploreConditionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.proto b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.proto new file mode 100644 index 00000000..621fed99 --- /dev/null +++ b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetDungeonEntryExploreConditionReq { + uint32 scene_id = 6; + uint32 dungeon_entry_config_id = 2; + uint32 dungeon_entry_scene_point_id = 4; +} diff --git a/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.pb.go b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.pb.go new file mode 100644 index 00000000..f2cd5fee --- /dev/null +++ b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetDungeonEntryExploreConditionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3269 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetDungeonEntryExploreConditionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonEntryCond *DungeonEntryCond `protobuf:"bytes,5,opt,name=dungeon_entry_cond,json=dungeonEntryCond,proto3" json:"dungeon_entry_cond,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetDungeonEntryExploreConditionRsp) Reset() { + *x = GetDungeonEntryExploreConditionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetDungeonEntryExploreConditionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDungeonEntryExploreConditionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDungeonEntryExploreConditionRsp) ProtoMessage() {} + +func (x *GetDungeonEntryExploreConditionRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetDungeonEntryExploreConditionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDungeonEntryExploreConditionRsp.ProtoReflect.Descriptor instead. +func (*GetDungeonEntryExploreConditionRsp) Descriptor() ([]byte, []int) { + return file_GetDungeonEntryExploreConditionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetDungeonEntryExploreConditionRsp) GetDungeonEntryCond() *DungeonEntryCond { + if x != nil { + return x.DungeonEntryCond + } + return nil +} + +func (x *GetDungeonEntryExploreConditionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetDungeonEntryExploreConditionRsp_proto protoreflect.FileDescriptor + +var file_GetDungeonEntryExploreConditionRsp_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x47, 0x65, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x12, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x52, 0x10, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetDungeonEntryExploreConditionRsp_proto_rawDescOnce sync.Once + file_GetDungeonEntryExploreConditionRsp_proto_rawDescData = file_GetDungeonEntryExploreConditionRsp_proto_rawDesc +) + +func file_GetDungeonEntryExploreConditionRsp_proto_rawDescGZIP() []byte { + file_GetDungeonEntryExploreConditionRsp_proto_rawDescOnce.Do(func() { + file_GetDungeonEntryExploreConditionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetDungeonEntryExploreConditionRsp_proto_rawDescData) + }) + return file_GetDungeonEntryExploreConditionRsp_proto_rawDescData +} + +var file_GetDungeonEntryExploreConditionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetDungeonEntryExploreConditionRsp_proto_goTypes = []interface{}{ + (*GetDungeonEntryExploreConditionRsp)(nil), // 0: GetDungeonEntryExploreConditionRsp + (*DungeonEntryCond)(nil), // 1: DungeonEntryCond +} +var file_GetDungeonEntryExploreConditionRsp_proto_depIdxs = []int32{ + 1, // 0: GetDungeonEntryExploreConditionRsp.dungeon_entry_cond:type_name -> DungeonEntryCond + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetDungeonEntryExploreConditionRsp_proto_init() } +func file_GetDungeonEntryExploreConditionRsp_proto_init() { + if File_GetDungeonEntryExploreConditionRsp_proto != nil { + return + } + file_DungeonEntryCond_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetDungeonEntryExploreConditionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDungeonEntryExploreConditionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetDungeonEntryExploreConditionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetDungeonEntryExploreConditionRsp_proto_goTypes, + DependencyIndexes: file_GetDungeonEntryExploreConditionRsp_proto_depIdxs, + MessageInfos: file_GetDungeonEntryExploreConditionRsp_proto_msgTypes, + }.Build() + File_GetDungeonEntryExploreConditionRsp_proto = out.File + file_GetDungeonEntryExploreConditionRsp_proto_rawDesc = nil + file_GetDungeonEntryExploreConditionRsp_proto_goTypes = nil + file_GetDungeonEntryExploreConditionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.proto b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.proto new file mode 100644 index 00000000..93ef47f8 --- /dev/null +++ b/gate-hk4e-api/proto/GetDungeonEntryExploreConditionRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryCond.proto"; + +option go_package = "./;proto"; + +// CmdId: 3269 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetDungeonEntryExploreConditionRsp { + DungeonEntryCond dungeon_entry_cond = 5; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.pb.go b/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.pb.go new file mode 100644 index 00000000..5d253cb5 --- /dev/null +++ b/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetExpeditionAssistInfoListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2150 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetExpeditionAssistInfoListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetExpeditionAssistInfoListReq) Reset() { + *x = GetExpeditionAssistInfoListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetExpeditionAssistInfoListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetExpeditionAssistInfoListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetExpeditionAssistInfoListReq) ProtoMessage() {} + +func (x *GetExpeditionAssistInfoListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetExpeditionAssistInfoListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetExpeditionAssistInfoListReq.ProtoReflect.Descriptor instead. +func (*GetExpeditionAssistInfoListReq) Descriptor() ([]byte, []int) { + return file_GetExpeditionAssistInfoListReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetExpeditionAssistInfoListReq_proto protoreflect.FileDescriptor + +var file_GetExpeditionAssistInfoListReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetExpeditionAssistInfoListReq_proto_rawDescOnce sync.Once + file_GetExpeditionAssistInfoListReq_proto_rawDescData = file_GetExpeditionAssistInfoListReq_proto_rawDesc +) + +func file_GetExpeditionAssistInfoListReq_proto_rawDescGZIP() []byte { + file_GetExpeditionAssistInfoListReq_proto_rawDescOnce.Do(func() { + file_GetExpeditionAssistInfoListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetExpeditionAssistInfoListReq_proto_rawDescData) + }) + return file_GetExpeditionAssistInfoListReq_proto_rawDescData +} + +var file_GetExpeditionAssistInfoListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetExpeditionAssistInfoListReq_proto_goTypes = []interface{}{ + (*GetExpeditionAssistInfoListReq)(nil), // 0: GetExpeditionAssistInfoListReq +} +var file_GetExpeditionAssistInfoListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetExpeditionAssistInfoListReq_proto_init() } +func file_GetExpeditionAssistInfoListReq_proto_init() { + if File_GetExpeditionAssistInfoListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetExpeditionAssistInfoListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExpeditionAssistInfoListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetExpeditionAssistInfoListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetExpeditionAssistInfoListReq_proto_goTypes, + DependencyIndexes: file_GetExpeditionAssistInfoListReq_proto_depIdxs, + MessageInfos: file_GetExpeditionAssistInfoListReq_proto_msgTypes, + }.Build() + File_GetExpeditionAssistInfoListReq_proto = out.File + file_GetExpeditionAssistInfoListReq_proto_rawDesc = nil + file_GetExpeditionAssistInfoListReq_proto_goTypes = nil + file_GetExpeditionAssistInfoListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.proto b/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.proto new file mode 100644 index 00000000..a80eac38 --- /dev/null +++ b/gate-hk4e-api/proto/GetExpeditionAssistInfoListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2150 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetExpeditionAssistInfoListReq {} diff --git a/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.pb.go b/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.pb.go new file mode 100644 index 00000000..65ff82b1 --- /dev/null +++ b/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetExpeditionAssistInfoListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2035 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetExpeditionAssistInfoListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssistInfoList []*ExpeditionAssistInfo `protobuf:"bytes,6,rep,name=assist_info_list,json=assistInfoList,proto3" json:"assist_info_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetExpeditionAssistInfoListRsp) Reset() { + *x = GetExpeditionAssistInfoListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetExpeditionAssistInfoListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetExpeditionAssistInfoListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetExpeditionAssistInfoListRsp) ProtoMessage() {} + +func (x *GetExpeditionAssistInfoListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetExpeditionAssistInfoListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetExpeditionAssistInfoListRsp.ProtoReflect.Descriptor instead. +func (*GetExpeditionAssistInfoListRsp) Descriptor() ([]byte, []int) { + return file_GetExpeditionAssistInfoListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetExpeditionAssistInfoListRsp) GetAssistInfoList() []*ExpeditionAssistInfo { + if x != nil { + return x.AssistInfoList + } + return nil +} + +func (x *GetExpeditionAssistInfoListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetExpeditionAssistInfoListRsp_proto protoreflect.FileDescriptor + +var file_GetExpeditionAssistInfoListRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x73, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetExpeditionAssistInfoListRsp_proto_rawDescOnce sync.Once + file_GetExpeditionAssistInfoListRsp_proto_rawDescData = file_GetExpeditionAssistInfoListRsp_proto_rawDesc +) + +func file_GetExpeditionAssistInfoListRsp_proto_rawDescGZIP() []byte { + file_GetExpeditionAssistInfoListRsp_proto_rawDescOnce.Do(func() { + file_GetExpeditionAssistInfoListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetExpeditionAssistInfoListRsp_proto_rawDescData) + }) + return file_GetExpeditionAssistInfoListRsp_proto_rawDescData +} + +var file_GetExpeditionAssistInfoListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetExpeditionAssistInfoListRsp_proto_goTypes = []interface{}{ + (*GetExpeditionAssistInfoListRsp)(nil), // 0: GetExpeditionAssistInfoListRsp + (*ExpeditionAssistInfo)(nil), // 1: ExpeditionAssistInfo +} +var file_GetExpeditionAssistInfoListRsp_proto_depIdxs = []int32{ + 1, // 0: GetExpeditionAssistInfoListRsp.assist_info_list:type_name -> ExpeditionAssistInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetExpeditionAssistInfoListRsp_proto_init() } +func file_GetExpeditionAssistInfoListRsp_proto_init() { + if File_GetExpeditionAssistInfoListRsp_proto != nil { + return + } + file_ExpeditionAssistInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetExpeditionAssistInfoListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExpeditionAssistInfoListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetExpeditionAssistInfoListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetExpeditionAssistInfoListRsp_proto_goTypes, + DependencyIndexes: file_GetExpeditionAssistInfoListRsp_proto_depIdxs, + MessageInfos: file_GetExpeditionAssistInfoListRsp_proto_msgTypes, + }.Build() + File_GetExpeditionAssistInfoListRsp_proto = out.File + file_GetExpeditionAssistInfoListRsp_proto_rawDesc = nil + file_GetExpeditionAssistInfoListRsp_proto_goTypes = nil + file_GetExpeditionAssistInfoListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.proto b/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.proto new file mode 100644 index 00000000..cce0dafa --- /dev/null +++ b/gate-hk4e-api/proto/GetExpeditionAssistInfoListRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExpeditionAssistInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2035 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetExpeditionAssistInfoListRsp { + repeated ExpeditionAssistInfo assist_info_list = 6; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.pb.go b/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.pb.go new file mode 100644 index 00000000..ba211dc7 --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetFriendShowAvatarInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetFriendShowAvatarInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GetFriendShowAvatarInfoReq) Reset() { + *x = GetFriendShowAvatarInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetFriendShowAvatarInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFriendShowAvatarInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFriendShowAvatarInfoReq) ProtoMessage() {} + +func (x *GetFriendShowAvatarInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetFriendShowAvatarInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFriendShowAvatarInfoReq.ProtoReflect.Descriptor instead. +func (*GetFriendShowAvatarInfoReq) Descriptor() ([]byte, []int) { + return file_GetFriendShowAvatarInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetFriendShowAvatarInfoReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GetFriendShowAvatarInfoReq_proto protoreflect.FileDescriptor + +var file_GetFriendShowAvatarInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, + 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetFriendShowAvatarInfoReq_proto_rawDescOnce sync.Once + file_GetFriendShowAvatarInfoReq_proto_rawDescData = file_GetFriendShowAvatarInfoReq_proto_rawDesc +) + +func file_GetFriendShowAvatarInfoReq_proto_rawDescGZIP() []byte { + file_GetFriendShowAvatarInfoReq_proto_rawDescOnce.Do(func() { + file_GetFriendShowAvatarInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetFriendShowAvatarInfoReq_proto_rawDescData) + }) + return file_GetFriendShowAvatarInfoReq_proto_rawDescData +} + +var file_GetFriendShowAvatarInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetFriendShowAvatarInfoReq_proto_goTypes = []interface{}{ + (*GetFriendShowAvatarInfoReq)(nil), // 0: GetFriendShowAvatarInfoReq +} +var file_GetFriendShowAvatarInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetFriendShowAvatarInfoReq_proto_init() } +func file_GetFriendShowAvatarInfoReq_proto_init() { + if File_GetFriendShowAvatarInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetFriendShowAvatarInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFriendShowAvatarInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetFriendShowAvatarInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetFriendShowAvatarInfoReq_proto_goTypes, + DependencyIndexes: file_GetFriendShowAvatarInfoReq_proto_depIdxs, + MessageInfos: file_GetFriendShowAvatarInfoReq_proto_msgTypes, + }.Build() + File_GetFriendShowAvatarInfoReq_proto = out.File + file_GetFriendShowAvatarInfoReq_proto_rawDesc = nil + file_GetFriendShowAvatarInfoReq_proto_goTypes = nil + file_GetFriendShowAvatarInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.proto b/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.proto new file mode 100644 index 00000000..37a34e82 --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowAvatarInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetFriendShowAvatarInfoReq { + uint32 uid = 15; +} diff --git a/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.pb.go b/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.pb.go new file mode 100644 index 00000000..9928826a --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetFriendShowAvatarInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4017 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetFriendShowAvatarInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + ShowAvatarInfoList []*ShowAvatarInfo `protobuf:"bytes,9,rep,name=show_avatar_info_list,json=showAvatarInfoList,proto3" json:"show_avatar_info_list,omitempty"` +} + +func (x *GetFriendShowAvatarInfoRsp) Reset() { + *x = GetFriendShowAvatarInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetFriendShowAvatarInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFriendShowAvatarInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFriendShowAvatarInfoRsp) ProtoMessage() {} + +func (x *GetFriendShowAvatarInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetFriendShowAvatarInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFriendShowAvatarInfoRsp.ProtoReflect.Descriptor instead. +func (*GetFriendShowAvatarInfoRsp) Descriptor() ([]byte, []int) { + return file_GetFriendShowAvatarInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetFriendShowAvatarInfoRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *GetFriendShowAvatarInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetFriendShowAvatarInfoRsp) GetShowAvatarInfoList() []*ShowAvatarInfo { + if x != nil { + return x.ShowAvatarInfoList + } + return nil +} + +var File_GetFriendShowAvatarInfoRsp_proto protoreflect.FileDescriptor + +var file_GetFriendShowAvatarInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x14, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x15, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetFriendShowAvatarInfoRsp_proto_rawDescOnce sync.Once + file_GetFriendShowAvatarInfoRsp_proto_rawDescData = file_GetFriendShowAvatarInfoRsp_proto_rawDesc +) + +func file_GetFriendShowAvatarInfoRsp_proto_rawDescGZIP() []byte { + file_GetFriendShowAvatarInfoRsp_proto_rawDescOnce.Do(func() { + file_GetFriendShowAvatarInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetFriendShowAvatarInfoRsp_proto_rawDescData) + }) + return file_GetFriendShowAvatarInfoRsp_proto_rawDescData +} + +var file_GetFriendShowAvatarInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetFriendShowAvatarInfoRsp_proto_goTypes = []interface{}{ + (*GetFriendShowAvatarInfoRsp)(nil), // 0: GetFriendShowAvatarInfoRsp + (*ShowAvatarInfo)(nil), // 1: ShowAvatarInfo +} +var file_GetFriendShowAvatarInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetFriendShowAvatarInfoRsp.show_avatar_info_list:type_name -> ShowAvatarInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetFriendShowAvatarInfoRsp_proto_init() } +func file_GetFriendShowAvatarInfoRsp_proto_init() { + if File_GetFriendShowAvatarInfoRsp_proto != nil { + return + } + file_ShowAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetFriendShowAvatarInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFriendShowAvatarInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetFriendShowAvatarInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetFriendShowAvatarInfoRsp_proto_goTypes, + DependencyIndexes: file_GetFriendShowAvatarInfoRsp_proto_depIdxs, + MessageInfos: file_GetFriendShowAvatarInfoRsp_proto_msgTypes, + }.Build() + File_GetFriendShowAvatarInfoRsp_proto = out.File + file_GetFriendShowAvatarInfoRsp_proto_rawDesc = nil + file_GetFriendShowAvatarInfoRsp_proto_goTypes = nil + file_GetFriendShowAvatarInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.proto b/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.proto new file mode 100644 index 00000000..b92ef4a1 --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowAvatarInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ShowAvatarInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4017 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetFriendShowAvatarInfoRsp { + uint32 uid = 6; + int32 retcode = 3; + repeated ShowAvatarInfo show_avatar_info_list = 9; +} diff --git a/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.pb.go b/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.pb.go new file mode 100644 index 00000000..b15c9d9f --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetFriendShowNameCardInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4061 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetFriendShowNameCardInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GetFriendShowNameCardInfoReq) Reset() { + *x = GetFriendShowNameCardInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetFriendShowNameCardInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFriendShowNameCardInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFriendShowNameCardInfoReq) ProtoMessage() {} + +func (x *GetFriendShowNameCardInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetFriendShowNameCardInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFriendShowNameCardInfoReq.ProtoReflect.Descriptor instead. +func (*GetFriendShowNameCardInfoReq) Descriptor() ([]byte, []int) { + return file_GetFriendShowNameCardInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetFriendShowNameCardInfoReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GetFriendShowNameCardInfoReq_proto protoreflect.FileDescriptor + +var file_GetFriendShowNameCardInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x4e, + 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetFriendShowNameCardInfoReq_proto_rawDescOnce sync.Once + file_GetFriendShowNameCardInfoReq_proto_rawDescData = file_GetFriendShowNameCardInfoReq_proto_rawDesc +) + +func file_GetFriendShowNameCardInfoReq_proto_rawDescGZIP() []byte { + file_GetFriendShowNameCardInfoReq_proto_rawDescOnce.Do(func() { + file_GetFriendShowNameCardInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetFriendShowNameCardInfoReq_proto_rawDescData) + }) + return file_GetFriendShowNameCardInfoReq_proto_rawDescData +} + +var file_GetFriendShowNameCardInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetFriendShowNameCardInfoReq_proto_goTypes = []interface{}{ + (*GetFriendShowNameCardInfoReq)(nil), // 0: GetFriendShowNameCardInfoReq +} +var file_GetFriendShowNameCardInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetFriendShowNameCardInfoReq_proto_init() } +func file_GetFriendShowNameCardInfoReq_proto_init() { + if File_GetFriendShowNameCardInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetFriendShowNameCardInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFriendShowNameCardInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetFriendShowNameCardInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetFriendShowNameCardInfoReq_proto_goTypes, + DependencyIndexes: file_GetFriendShowNameCardInfoReq_proto_depIdxs, + MessageInfos: file_GetFriendShowNameCardInfoReq_proto_msgTypes, + }.Build() + File_GetFriendShowNameCardInfoReq_proto = out.File + file_GetFriendShowNameCardInfoReq_proto_rawDesc = nil + file_GetFriendShowNameCardInfoReq_proto_goTypes = nil + file_GetFriendShowNameCardInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.proto b/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.proto new file mode 100644 index 00000000..bec2e9a0 --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowNameCardInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4061 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetFriendShowNameCardInfoReq { + uint32 uid = 3; +} diff --git a/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.pb.go b/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.pb.go new file mode 100644 index 00000000..594598a2 --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetFriendShowNameCardInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4029 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetFriendShowNameCardInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + ShowNameCardIdList []uint32 `protobuf:"varint,10,rep,packed,name=show_name_card_id_list,json=showNameCardIdList,proto3" json:"show_name_card_id_list,omitempty"` +} + +func (x *GetFriendShowNameCardInfoRsp) Reset() { + *x = GetFriendShowNameCardInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetFriendShowNameCardInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFriendShowNameCardInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFriendShowNameCardInfoRsp) ProtoMessage() {} + +func (x *GetFriendShowNameCardInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetFriendShowNameCardInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFriendShowNameCardInfoRsp.ProtoReflect.Descriptor instead. +func (*GetFriendShowNameCardInfoRsp) Descriptor() ([]byte, []int) { + return file_GetFriendShowNameCardInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetFriendShowNameCardInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetFriendShowNameCardInfoRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *GetFriendShowNameCardInfoRsp) GetShowNameCardIdList() []uint32 { + if x != nil { + return x.ShowNameCardIdList + } + return nil +} + +var File_GetFriendShowNameCardInfoRsp_proto protoreflect.FileDescriptor + +var file_GetFriendShowNameCardInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x6f, 0x77, 0x4e, + 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, + 0x12, 0x32, 0x0a, 0x16, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetFriendShowNameCardInfoRsp_proto_rawDescOnce sync.Once + file_GetFriendShowNameCardInfoRsp_proto_rawDescData = file_GetFriendShowNameCardInfoRsp_proto_rawDesc +) + +func file_GetFriendShowNameCardInfoRsp_proto_rawDescGZIP() []byte { + file_GetFriendShowNameCardInfoRsp_proto_rawDescOnce.Do(func() { + file_GetFriendShowNameCardInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetFriendShowNameCardInfoRsp_proto_rawDescData) + }) + return file_GetFriendShowNameCardInfoRsp_proto_rawDescData +} + +var file_GetFriendShowNameCardInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetFriendShowNameCardInfoRsp_proto_goTypes = []interface{}{ + (*GetFriendShowNameCardInfoRsp)(nil), // 0: GetFriendShowNameCardInfoRsp +} +var file_GetFriendShowNameCardInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetFriendShowNameCardInfoRsp_proto_init() } +func file_GetFriendShowNameCardInfoRsp_proto_init() { + if File_GetFriendShowNameCardInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetFriendShowNameCardInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFriendShowNameCardInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetFriendShowNameCardInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetFriendShowNameCardInfoRsp_proto_goTypes, + DependencyIndexes: file_GetFriendShowNameCardInfoRsp_proto_depIdxs, + MessageInfos: file_GetFriendShowNameCardInfoRsp_proto_msgTypes, + }.Build() + File_GetFriendShowNameCardInfoRsp_proto = out.File + file_GetFriendShowNameCardInfoRsp_proto_rawDesc = nil + file_GetFriendShowNameCardInfoRsp_proto_goTypes = nil + file_GetFriendShowNameCardInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.proto b/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.proto new file mode 100644 index 00000000..1c548e7c --- /dev/null +++ b/gate-hk4e-api/proto/GetFriendShowNameCardInfoRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4029 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetFriendShowNameCardInfoRsp { + int32 retcode = 15; + uint32 uid = 7; + repeated uint32 show_name_card_id_list = 10; +} diff --git a/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.pb.go b/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.pb.go new file mode 100644 index 00000000..e8e69d6c --- /dev/null +++ b/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.pb.go @@ -0,0 +1,154 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetFurnitureCurModuleArrangeCountReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4711 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetFurnitureCurModuleArrangeCountReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetFurnitureCurModuleArrangeCountReq) Reset() { + *x = GetFurnitureCurModuleArrangeCountReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetFurnitureCurModuleArrangeCountReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFurnitureCurModuleArrangeCountReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFurnitureCurModuleArrangeCountReq) ProtoMessage() {} + +func (x *GetFurnitureCurModuleArrangeCountReq) ProtoReflect() protoreflect.Message { + mi := &file_GetFurnitureCurModuleArrangeCountReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFurnitureCurModuleArrangeCountReq.ProtoReflect.Descriptor instead. +func (*GetFurnitureCurModuleArrangeCountReq) Descriptor() ([]byte, []int) { + return file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetFurnitureCurModuleArrangeCountReq_proto protoreflect.FileDescriptor + +var file_GetFurnitureCurModuleArrangeCountReq_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x75, + 0x72, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x24, + 0x47, 0x65, 0x74, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x75, 0x72, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescOnce sync.Once + file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescData = file_GetFurnitureCurModuleArrangeCountReq_proto_rawDesc +) + +func file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescGZIP() []byte { + file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescOnce.Do(func() { + file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescData) + }) + return file_GetFurnitureCurModuleArrangeCountReq_proto_rawDescData +} + +var file_GetFurnitureCurModuleArrangeCountReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetFurnitureCurModuleArrangeCountReq_proto_goTypes = []interface{}{ + (*GetFurnitureCurModuleArrangeCountReq)(nil), // 0: GetFurnitureCurModuleArrangeCountReq +} +var file_GetFurnitureCurModuleArrangeCountReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetFurnitureCurModuleArrangeCountReq_proto_init() } +func file_GetFurnitureCurModuleArrangeCountReq_proto_init() { + if File_GetFurnitureCurModuleArrangeCountReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetFurnitureCurModuleArrangeCountReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFurnitureCurModuleArrangeCountReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetFurnitureCurModuleArrangeCountReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetFurnitureCurModuleArrangeCountReq_proto_goTypes, + DependencyIndexes: file_GetFurnitureCurModuleArrangeCountReq_proto_depIdxs, + MessageInfos: file_GetFurnitureCurModuleArrangeCountReq_proto_msgTypes, + }.Build() + File_GetFurnitureCurModuleArrangeCountReq_proto = out.File + file_GetFurnitureCurModuleArrangeCountReq_proto_rawDesc = nil + file_GetFurnitureCurModuleArrangeCountReq_proto_goTypes = nil + file_GetFurnitureCurModuleArrangeCountReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.proto b/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.proto new file mode 100644 index 00000000..0b1effd7 --- /dev/null +++ b/gate-hk4e-api/proto/GetFurnitureCurModuleArrangeCountReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4711 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetFurnitureCurModuleArrangeCountReq {} diff --git a/gate-hk4e-api/proto/GetGachaInfoReq.pb.go b/gate-hk4e-api/proto/GetGachaInfoReq.pb.go new file mode 100644 index 00000000..d9236078 --- /dev/null +++ b/gate-hk4e-api/proto/GetGachaInfoReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetGachaInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetGachaInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetGachaInfoReq) Reset() { + *x = GetGachaInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetGachaInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGachaInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGachaInfoReq) ProtoMessage() {} + +func (x *GetGachaInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetGachaInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGachaInfoReq.ProtoReflect.Descriptor instead. +func (*GetGachaInfoReq) Descriptor() ([]byte, []int) { + return file_GetGachaInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetGachaInfoReq_proto protoreflect.FileDescriptor + +var file_GetGachaInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x61, + 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetGachaInfoReq_proto_rawDescOnce sync.Once + file_GetGachaInfoReq_proto_rawDescData = file_GetGachaInfoReq_proto_rawDesc +) + +func file_GetGachaInfoReq_proto_rawDescGZIP() []byte { + file_GetGachaInfoReq_proto_rawDescOnce.Do(func() { + file_GetGachaInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetGachaInfoReq_proto_rawDescData) + }) + return file_GetGachaInfoReq_proto_rawDescData +} + +var file_GetGachaInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetGachaInfoReq_proto_goTypes = []interface{}{ + (*GetGachaInfoReq)(nil), // 0: GetGachaInfoReq +} +var file_GetGachaInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetGachaInfoReq_proto_init() } +func file_GetGachaInfoReq_proto_init() { + if File_GetGachaInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetGachaInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGachaInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetGachaInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetGachaInfoReq_proto_goTypes, + DependencyIndexes: file_GetGachaInfoReq_proto_depIdxs, + MessageInfos: file_GetGachaInfoReq_proto_msgTypes, + }.Build() + File_GetGachaInfoReq_proto = out.File + file_GetGachaInfoReq_proto_rawDesc = nil + file_GetGachaInfoReq_proto_goTypes = nil + file_GetGachaInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetGachaInfoReq.proto b/gate-hk4e-api/proto/GetGachaInfoReq.proto new file mode 100644 index 00000000..1d075e43 --- /dev/null +++ b/gate-hk4e-api/proto/GetGachaInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetGachaInfoReq {} diff --git a/gate-hk4e-api/proto/GetGachaInfoRsp.pb.go b/gate-hk4e-api/proto/GetGachaInfoRsp.pb.go new file mode 100644 index 00000000..c4207106 --- /dev/null +++ b/gate-hk4e-api/proto/GetGachaInfoRsp.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetGachaInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1598 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetGachaInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LEEPELHDING bool `protobuf:"varint,2,opt,name=Unk2700_LEEPELHDING,json=Unk2700LEEPELHDING,proto3" json:"Unk2700_LEEPELHDING,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + GachaRandom uint32 `protobuf:"varint,9,opt,name=gacha_random,json=gachaRandom,proto3" json:"gacha_random,omitempty"` + Unk2700_OJKKHDLEDCI uint32 `protobuf:"varint,5,opt,name=Unk2700_OJKKHDLEDCI,json=Unk2700OJKKHDLEDCI,proto3" json:"Unk2700_OJKKHDLEDCI,omitempty"` + GachaInfoList []*GachaInfo `protobuf:"bytes,13,rep,name=gacha_info_list,json=gachaInfoList,proto3" json:"gacha_info_list,omitempty"` +} + +func (x *GetGachaInfoRsp) Reset() { + *x = GetGachaInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetGachaInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGachaInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGachaInfoRsp) ProtoMessage() {} + +func (x *GetGachaInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetGachaInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGachaInfoRsp.ProtoReflect.Descriptor instead. +func (*GetGachaInfoRsp) Descriptor() ([]byte, []int) { + return file_GetGachaInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetGachaInfoRsp) GetUnk2700_LEEPELHDING() bool { + if x != nil { + return x.Unk2700_LEEPELHDING + } + return false +} + +func (x *GetGachaInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetGachaInfoRsp) GetGachaRandom() uint32 { + if x != nil { + return x.GachaRandom + } + return 0 +} + +func (x *GetGachaInfoRsp) GetUnk2700_OJKKHDLEDCI() uint32 { + if x != nil { + return x.Unk2700_OJKKHDLEDCI + } + return 0 +} + +func (x *GetGachaInfoRsp) GetGachaInfoList() []*GachaInfo { + if x != nil { + return x.GachaInfoList + } + return nil +} + +var File_GetGachaInfoRsp_proto protoreflect.FileDescriptor + +var file_GetGachaInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x45, 0x50, 0x45, 0x4c, 0x48, 0x44, + 0x49, 0x4e, 0x47, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4c, 0x45, 0x45, 0x50, 0x45, 0x4c, 0x48, 0x44, 0x49, 0x4e, 0x47, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x61, 0x63, 0x68, 0x61, + 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, + 0x61, 0x63, 0x68, 0x61, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4b, 0x4b, 0x48, 0x44, 0x4c, 0x45, 0x44, 0x43, + 0x49, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4f, 0x4a, 0x4b, 0x4b, 0x48, 0x44, 0x4c, 0x45, 0x44, 0x43, 0x49, 0x12, 0x32, 0x0a, 0x0f, 0x67, + 0x61, 0x63, 0x68, 0x61, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0d, 0x67, 0x61, 0x63, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetGachaInfoRsp_proto_rawDescOnce sync.Once + file_GetGachaInfoRsp_proto_rawDescData = file_GetGachaInfoRsp_proto_rawDesc +) + +func file_GetGachaInfoRsp_proto_rawDescGZIP() []byte { + file_GetGachaInfoRsp_proto_rawDescOnce.Do(func() { + file_GetGachaInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetGachaInfoRsp_proto_rawDescData) + }) + return file_GetGachaInfoRsp_proto_rawDescData +} + +var file_GetGachaInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetGachaInfoRsp_proto_goTypes = []interface{}{ + (*GetGachaInfoRsp)(nil), // 0: GetGachaInfoRsp + (*GachaInfo)(nil), // 1: GachaInfo +} +var file_GetGachaInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetGachaInfoRsp.gacha_info_list:type_name -> GachaInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetGachaInfoRsp_proto_init() } +func file_GetGachaInfoRsp_proto_init() { + if File_GetGachaInfoRsp_proto != nil { + return + } + file_GachaInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetGachaInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGachaInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetGachaInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetGachaInfoRsp_proto_goTypes, + DependencyIndexes: file_GetGachaInfoRsp_proto_depIdxs, + MessageInfos: file_GetGachaInfoRsp_proto_msgTypes, + }.Build() + File_GetGachaInfoRsp_proto = out.File + file_GetGachaInfoRsp_proto_rawDesc = nil + file_GetGachaInfoRsp_proto_goTypes = nil + file_GetGachaInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetGachaInfoRsp.proto b/gate-hk4e-api/proto/GetGachaInfoRsp.proto new file mode 100644 index 00000000..3dc1cd47 --- /dev/null +++ b/gate-hk4e-api/proto/GetGachaInfoRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GachaInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1598 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetGachaInfoRsp { + bool Unk2700_LEEPELHDING = 2; + int32 retcode = 10; + uint32 gacha_random = 9; + uint32 Unk2700_OJKKHDLEDCI = 5; + repeated GachaInfo gacha_info_list = 13; +} diff --git a/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.pb.go b/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.pb.go new file mode 100644 index 00000000..6fe13e45 --- /dev/null +++ b/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetHomeLevelUpRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4557 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetHomeLevelUpRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *GetHomeLevelUpRewardReq) Reset() { + *x = GetHomeLevelUpRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetHomeLevelUpRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetHomeLevelUpRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetHomeLevelUpRewardReq) ProtoMessage() {} + +func (x *GetHomeLevelUpRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetHomeLevelUpRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetHomeLevelUpRewardReq.ProtoReflect.Descriptor instead. +func (*GetHomeLevelUpRewardReq) Descriptor() ([]byte, []int) { + return file_GetHomeLevelUpRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetHomeLevelUpRewardReq) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_GetHomeLevelUpRewardReq_proto protoreflect.FileDescriptor + +var file_GetHomeLevelUpRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, + 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetHomeLevelUpRewardReq_proto_rawDescOnce sync.Once + file_GetHomeLevelUpRewardReq_proto_rawDescData = file_GetHomeLevelUpRewardReq_proto_rawDesc +) + +func file_GetHomeLevelUpRewardReq_proto_rawDescGZIP() []byte { + file_GetHomeLevelUpRewardReq_proto_rawDescOnce.Do(func() { + file_GetHomeLevelUpRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetHomeLevelUpRewardReq_proto_rawDescData) + }) + return file_GetHomeLevelUpRewardReq_proto_rawDescData +} + +var file_GetHomeLevelUpRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetHomeLevelUpRewardReq_proto_goTypes = []interface{}{ + (*GetHomeLevelUpRewardReq)(nil), // 0: GetHomeLevelUpRewardReq +} +var file_GetHomeLevelUpRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetHomeLevelUpRewardReq_proto_init() } +func file_GetHomeLevelUpRewardReq_proto_init() { + if File_GetHomeLevelUpRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetHomeLevelUpRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeLevelUpRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetHomeLevelUpRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetHomeLevelUpRewardReq_proto_goTypes, + DependencyIndexes: file_GetHomeLevelUpRewardReq_proto_depIdxs, + MessageInfos: file_GetHomeLevelUpRewardReq_proto_msgTypes, + }.Build() + File_GetHomeLevelUpRewardReq_proto = out.File + file_GetHomeLevelUpRewardReq_proto_rawDesc = nil + file_GetHomeLevelUpRewardReq_proto_goTypes = nil + file_GetHomeLevelUpRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.proto b/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.proto new file mode 100644 index 00000000..3bf6febf --- /dev/null +++ b/gate-hk4e-api/proto/GetHomeLevelUpRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4557 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetHomeLevelUpRewardReq { + uint32 level = 15; +} diff --git a/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.pb.go b/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.pb.go new file mode 100644 index 00000000..c4e76949 --- /dev/null +++ b/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetHomeLevelUpRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4603 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetHomeLevelUpRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetHomeLevelUpRewardRsp) Reset() { + *x = GetHomeLevelUpRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetHomeLevelUpRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetHomeLevelUpRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetHomeLevelUpRewardRsp) ProtoMessage() {} + +func (x *GetHomeLevelUpRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetHomeLevelUpRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetHomeLevelUpRewardRsp.ProtoReflect.Descriptor instead. +func (*GetHomeLevelUpRewardRsp) Descriptor() ([]byte, []int) { + return file_GetHomeLevelUpRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetHomeLevelUpRewardRsp) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *GetHomeLevelUpRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetHomeLevelUpRewardRsp_proto protoreflect.FileDescriptor + +var file_GetHomeLevelUpRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x49, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, + 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetHomeLevelUpRewardRsp_proto_rawDescOnce sync.Once + file_GetHomeLevelUpRewardRsp_proto_rawDescData = file_GetHomeLevelUpRewardRsp_proto_rawDesc +) + +func file_GetHomeLevelUpRewardRsp_proto_rawDescGZIP() []byte { + file_GetHomeLevelUpRewardRsp_proto_rawDescOnce.Do(func() { + file_GetHomeLevelUpRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetHomeLevelUpRewardRsp_proto_rawDescData) + }) + return file_GetHomeLevelUpRewardRsp_proto_rawDescData +} + +var file_GetHomeLevelUpRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetHomeLevelUpRewardRsp_proto_goTypes = []interface{}{ + (*GetHomeLevelUpRewardRsp)(nil), // 0: GetHomeLevelUpRewardRsp +} +var file_GetHomeLevelUpRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetHomeLevelUpRewardRsp_proto_init() } +func file_GetHomeLevelUpRewardRsp_proto_init() { + if File_GetHomeLevelUpRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetHomeLevelUpRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHomeLevelUpRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetHomeLevelUpRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetHomeLevelUpRewardRsp_proto_goTypes, + DependencyIndexes: file_GetHomeLevelUpRewardRsp_proto_depIdxs, + MessageInfos: file_GetHomeLevelUpRewardRsp_proto_msgTypes, + }.Build() + File_GetHomeLevelUpRewardRsp_proto = out.File + file_GetHomeLevelUpRewardRsp_proto_rawDesc = nil + file_GetHomeLevelUpRewardRsp_proto_goTypes = nil + file_GetHomeLevelUpRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.proto b/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.proto new file mode 100644 index 00000000..7696fb3d --- /dev/null +++ b/gate-hk4e-api/proto/GetHomeLevelUpRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4603 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetHomeLevelUpRewardRsp { + uint32 level = 1; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/GetHuntingOfferRewardReq.pb.go b/gate-hk4e-api/proto/GetHuntingOfferRewardReq.pb.go new file mode 100644 index 00000000..634da6e9 --- /dev/null +++ b/gate-hk4e-api/proto/GetHuntingOfferRewardReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetHuntingOfferRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4302 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetHuntingOfferRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,6,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + HuntingPair *HuntingPair `protobuf:"bytes,4,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` +} + +func (x *GetHuntingOfferRewardReq) Reset() { + *x = GetHuntingOfferRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetHuntingOfferRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetHuntingOfferRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetHuntingOfferRewardReq) ProtoMessage() {} + +func (x *GetHuntingOfferRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetHuntingOfferRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetHuntingOfferRewardReq.ProtoReflect.Descriptor instead. +func (*GetHuntingOfferRewardReq) Descriptor() ([]byte, []int) { + return file_GetHuntingOfferRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetHuntingOfferRewardReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *GetHuntingOfferRewardReq) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +var File_GetHuntingOfferRewardReq_proto protoreflect.FileDescriptor + +var file_GetHuntingOfferRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, + 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetHuntingOfferRewardReq_proto_rawDescOnce sync.Once + file_GetHuntingOfferRewardReq_proto_rawDescData = file_GetHuntingOfferRewardReq_proto_rawDesc +) + +func file_GetHuntingOfferRewardReq_proto_rawDescGZIP() []byte { + file_GetHuntingOfferRewardReq_proto_rawDescOnce.Do(func() { + file_GetHuntingOfferRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetHuntingOfferRewardReq_proto_rawDescData) + }) + return file_GetHuntingOfferRewardReq_proto_rawDescData +} + +var file_GetHuntingOfferRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetHuntingOfferRewardReq_proto_goTypes = []interface{}{ + (*GetHuntingOfferRewardReq)(nil), // 0: GetHuntingOfferRewardReq + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_GetHuntingOfferRewardReq_proto_depIdxs = []int32{ + 1, // 0: GetHuntingOfferRewardReq.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetHuntingOfferRewardReq_proto_init() } +func file_GetHuntingOfferRewardReq_proto_init() { + if File_GetHuntingOfferRewardReq_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetHuntingOfferRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHuntingOfferRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetHuntingOfferRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetHuntingOfferRewardReq_proto_goTypes, + DependencyIndexes: file_GetHuntingOfferRewardReq_proto_depIdxs, + MessageInfos: file_GetHuntingOfferRewardReq_proto_msgTypes, + }.Build() + File_GetHuntingOfferRewardReq_proto = out.File + file_GetHuntingOfferRewardReq_proto_rawDesc = nil + file_GetHuntingOfferRewardReq_proto_goTypes = nil + file_GetHuntingOfferRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetHuntingOfferRewardReq.proto b/gate-hk4e-api/proto/GetHuntingOfferRewardReq.proto new file mode 100644 index 00000000..c3a2718a --- /dev/null +++ b/gate-hk4e-api/proto/GetHuntingOfferRewardReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4302 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetHuntingOfferRewardReq { + uint32 city_id = 6; + HuntingPair hunting_pair = 4; +} diff --git a/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.pb.go b/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.pb.go new file mode 100644 index 00000000..93eefbfd --- /dev/null +++ b/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetHuntingOfferRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4331 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetHuntingOfferRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,14,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + CityId uint32 `protobuf:"varint,3,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetHuntingOfferRewardRsp) Reset() { + *x = GetHuntingOfferRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetHuntingOfferRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetHuntingOfferRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetHuntingOfferRewardRsp) ProtoMessage() {} + +func (x *GetHuntingOfferRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetHuntingOfferRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetHuntingOfferRewardRsp.ProtoReflect.Descriptor instead. +func (*GetHuntingOfferRewardRsp) Descriptor() ([]byte, []int) { + return file_GetHuntingOfferRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetHuntingOfferRewardRsp) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *GetHuntingOfferRewardRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *GetHuntingOfferRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetHuntingOfferRewardRsp_proto protoreflect.FileDescriptor + +var file_GetHuntingOfferRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, + 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, + 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetHuntingOfferRewardRsp_proto_rawDescOnce sync.Once + file_GetHuntingOfferRewardRsp_proto_rawDescData = file_GetHuntingOfferRewardRsp_proto_rawDesc +) + +func file_GetHuntingOfferRewardRsp_proto_rawDescGZIP() []byte { + file_GetHuntingOfferRewardRsp_proto_rawDescOnce.Do(func() { + file_GetHuntingOfferRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetHuntingOfferRewardRsp_proto_rawDescData) + }) + return file_GetHuntingOfferRewardRsp_proto_rawDescData +} + +var file_GetHuntingOfferRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetHuntingOfferRewardRsp_proto_goTypes = []interface{}{ + (*GetHuntingOfferRewardRsp)(nil), // 0: GetHuntingOfferRewardRsp + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_GetHuntingOfferRewardRsp_proto_depIdxs = []int32{ + 1, // 0: GetHuntingOfferRewardRsp.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetHuntingOfferRewardRsp_proto_init() } +func file_GetHuntingOfferRewardRsp_proto_init() { + if File_GetHuntingOfferRewardRsp_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetHuntingOfferRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetHuntingOfferRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetHuntingOfferRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetHuntingOfferRewardRsp_proto_goTypes, + DependencyIndexes: file_GetHuntingOfferRewardRsp_proto_depIdxs, + MessageInfos: file_GetHuntingOfferRewardRsp_proto_msgTypes, + }.Build() + File_GetHuntingOfferRewardRsp_proto = out.File + file_GetHuntingOfferRewardRsp_proto_rawDesc = nil + file_GetHuntingOfferRewardRsp_proto_goTypes = nil + file_GetHuntingOfferRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.proto b/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.proto new file mode 100644 index 00000000..d28c6dd8 --- /dev/null +++ b/gate-hk4e-api/proto/GetHuntingOfferRewardRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4331 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetHuntingOfferRewardRsp { + HuntingPair hunting_pair = 14; + uint32 city_id = 3; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/GetInvestigationMonsterReq.pb.go b/gate-hk4e-api/proto/GetInvestigationMonsterReq.pb.go new file mode 100644 index 00000000..a86eb0f6 --- /dev/null +++ b/gate-hk4e-api/proto/GetInvestigationMonsterReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetInvestigationMonsterReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1901 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetInvestigationMonsterReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityIdList []uint32 `protobuf:"varint,3,rep,packed,name=city_id_list,json=cityIdList,proto3" json:"city_id_list,omitempty"` + Unk2700_DEMFDHNFBBJ bool `protobuf:"varint,4,opt,name=Unk2700_DEMFDHNFBBJ,json=Unk2700DEMFDHNFBBJ,proto3" json:"Unk2700_DEMFDHNFBBJ,omitempty"` +} + +func (x *GetInvestigationMonsterReq) Reset() { + *x = GetInvestigationMonsterReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetInvestigationMonsterReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInvestigationMonsterReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInvestigationMonsterReq) ProtoMessage() {} + +func (x *GetInvestigationMonsterReq) ProtoReflect() protoreflect.Message { + mi := &file_GetInvestigationMonsterReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetInvestigationMonsterReq.ProtoReflect.Descriptor instead. +func (*GetInvestigationMonsterReq) Descriptor() ([]byte, []int) { + return file_GetInvestigationMonsterReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetInvestigationMonsterReq) GetCityIdList() []uint32 { + if x != nil { + return x.CityIdList + } + return nil +} + +func (x *GetInvestigationMonsterReq) GetUnk2700_DEMFDHNFBBJ() bool { + if x != nil { + return x.Unk2700_DEMFDHNFBBJ + } + return false +} + +var File_GetInvestigationMonsterReq_proto protoreflect.FileDescriptor + +var file_GetInvestigationMonsterReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x45, + 0x4d, 0x46, 0x44, 0x48, 0x4e, 0x46, 0x42, 0x42, 0x4a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x45, 0x4d, 0x46, 0x44, 0x48, 0x4e, 0x46, + 0x42, 0x42, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetInvestigationMonsterReq_proto_rawDescOnce sync.Once + file_GetInvestigationMonsterReq_proto_rawDescData = file_GetInvestigationMonsterReq_proto_rawDesc +) + +func file_GetInvestigationMonsterReq_proto_rawDescGZIP() []byte { + file_GetInvestigationMonsterReq_proto_rawDescOnce.Do(func() { + file_GetInvestigationMonsterReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetInvestigationMonsterReq_proto_rawDescData) + }) + return file_GetInvestigationMonsterReq_proto_rawDescData +} + +var file_GetInvestigationMonsterReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetInvestigationMonsterReq_proto_goTypes = []interface{}{ + (*GetInvestigationMonsterReq)(nil), // 0: GetInvestigationMonsterReq +} +var file_GetInvestigationMonsterReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetInvestigationMonsterReq_proto_init() } +func file_GetInvestigationMonsterReq_proto_init() { + if File_GetInvestigationMonsterReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetInvestigationMonsterReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvestigationMonsterReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetInvestigationMonsterReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetInvestigationMonsterReq_proto_goTypes, + DependencyIndexes: file_GetInvestigationMonsterReq_proto_depIdxs, + MessageInfos: file_GetInvestigationMonsterReq_proto_msgTypes, + }.Build() + File_GetInvestigationMonsterReq_proto = out.File + file_GetInvestigationMonsterReq_proto_rawDesc = nil + file_GetInvestigationMonsterReq_proto_goTypes = nil + file_GetInvestigationMonsterReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetInvestigationMonsterReq.proto b/gate-hk4e-api/proto/GetInvestigationMonsterReq.proto new file mode 100644 index 00000000..f1e93a67 --- /dev/null +++ b/gate-hk4e-api/proto/GetInvestigationMonsterReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1901 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetInvestigationMonsterReq { + repeated uint32 city_id_list = 3; + bool Unk2700_DEMFDHNFBBJ = 4; +} diff --git a/gate-hk4e-api/proto/GetInvestigationMonsterRsp.pb.go b/gate-hk4e-api/proto/GetInvestigationMonsterRsp.pb.go new file mode 100644 index 00000000..0e885193 --- /dev/null +++ b/gate-hk4e-api/proto/GetInvestigationMonsterRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetInvestigationMonsterRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1910 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetInvestigationMonsterRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterList []*InvestigationMonster `protobuf:"bytes,10,rep,name=monster_list,json=monsterList,proto3" json:"monster_list,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_DEMFDHNFBBJ bool `protobuf:"varint,2,opt,name=Unk2700_DEMFDHNFBBJ,json=Unk2700DEMFDHNFBBJ,proto3" json:"Unk2700_DEMFDHNFBBJ,omitempty"` +} + +func (x *GetInvestigationMonsterRsp) Reset() { + *x = GetInvestigationMonsterRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetInvestigationMonsterRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInvestigationMonsterRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInvestigationMonsterRsp) ProtoMessage() {} + +func (x *GetInvestigationMonsterRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetInvestigationMonsterRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetInvestigationMonsterRsp.ProtoReflect.Descriptor instead. +func (*GetInvestigationMonsterRsp) Descriptor() ([]byte, []int) { + return file_GetInvestigationMonsterRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetInvestigationMonsterRsp) GetMonsterList() []*InvestigationMonster { + if x != nil { + return x.MonsterList + } + return nil +} + +func (x *GetInvestigationMonsterRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetInvestigationMonsterRsp) GetUnk2700_DEMFDHNFBBJ() bool { + if x != nil { + return x.Unk2700_DEMFDHNFBBJ + } + return false +} + +var File_GetInvestigationMonsterRsp_proto protoreflect.FileDescriptor + +var file_GetInvestigationMonsterRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, + 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x38, 0x0a, + 0x0c, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x4d, + 0x46, 0x44, 0x48, 0x4e, 0x46, 0x42, 0x42, 0x4a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x45, 0x4d, 0x46, 0x44, 0x48, 0x4e, 0x46, 0x42, + 0x42, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetInvestigationMonsterRsp_proto_rawDescOnce sync.Once + file_GetInvestigationMonsterRsp_proto_rawDescData = file_GetInvestigationMonsterRsp_proto_rawDesc +) + +func file_GetInvestigationMonsterRsp_proto_rawDescGZIP() []byte { + file_GetInvestigationMonsterRsp_proto_rawDescOnce.Do(func() { + file_GetInvestigationMonsterRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetInvestigationMonsterRsp_proto_rawDescData) + }) + return file_GetInvestigationMonsterRsp_proto_rawDescData +} + +var file_GetInvestigationMonsterRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetInvestigationMonsterRsp_proto_goTypes = []interface{}{ + (*GetInvestigationMonsterRsp)(nil), // 0: GetInvestigationMonsterRsp + (*InvestigationMonster)(nil), // 1: InvestigationMonster +} +var file_GetInvestigationMonsterRsp_proto_depIdxs = []int32{ + 1, // 0: GetInvestigationMonsterRsp.monster_list:type_name -> InvestigationMonster + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetInvestigationMonsterRsp_proto_init() } +func file_GetInvestigationMonsterRsp_proto_init() { + if File_GetInvestigationMonsterRsp_proto != nil { + return + } + file_InvestigationMonster_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetInvestigationMonsterRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvestigationMonsterRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetInvestigationMonsterRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetInvestigationMonsterRsp_proto_goTypes, + DependencyIndexes: file_GetInvestigationMonsterRsp_proto_depIdxs, + MessageInfos: file_GetInvestigationMonsterRsp_proto_msgTypes, + }.Build() + File_GetInvestigationMonsterRsp_proto = out.File + file_GetInvestigationMonsterRsp_proto_rawDesc = nil + file_GetInvestigationMonsterRsp_proto_goTypes = nil + file_GetInvestigationMonsterRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetInvestigationMonsterRsp.proto b/gate-hk4e-api/proto/GetInvestigationMonsterRsp.proto new file mode 100644 index 00000000..c35ab6fa --- /dev/null +++ b/gate-hk4e-api/proto/GetInvestigationMonsterRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InvestigationMonster.proto"; + +option go_package = "./;proto"; + +// CmdId: 1910 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetInvestigationMonsterRsp { + repeated InvestigationMonster monster_list = 10; + int32 retcode = 1; + bool Unk2700_DEMFDHNFBBJ = 2; +} diff --git a/gate-hk4e-api/proto/GetMailItemReq.pb.go b/gate-hk4e-api/proto/GetMailItemReq.pb.go new file mode 100644 index 00000000..67554a31 --- /dev/null +++ b/gate-hk4e-api/proto/GetMailItemReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMailItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1435 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetMailItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MailIdList []uint32 `protobuf:"varint,6,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` +} + +func (x *GetMailItemReq) Reset() { + *x = GetMailItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMailItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMailItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMailItemReq) ProtoMessage() {} + +func (x *GetMailItemReq) ProtoReflect() protoreflect.Message { + mi := &file_GetMailItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMailItemReq.ProtoReflect.Descriptor instead. +func (*GetMailItemReq) Descriptor() ([]byte, []int) { + return file_GetMailItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetMailItemReq) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +var File_GetMailItemReq_proto protoreflect.FileDescriptor + +var file_GetMailItemReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x69, + 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetMailItemReq_proto_rawDescOnce sync.Once + file_GetMailItemReq_proto_rawDescData = file_GetMailItemReq_proto_rawDesc +) + +func file_GetMailItemReq_proto_rawDescGZIP() []byte { + file_GetMailItemReq_proto_rawDescOnce.Do(func() { + file_GetMailItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMailItemReq_proto_rawDescData) + }) + return file_GetMailItemReq_proto_rawDescData +} + +var file_GetMailItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMailItemReq_proto_goTypes = []interface{}{ + (*GetMailItemReq)(nil), // 0: GetMailItemReq +} +var file_GetMailItemReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetMailItemReq_proto_init() } +func file_GetMailItemReq_proto_init() { + if File_GetMailItemReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetMailItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMailItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMailItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMailItemReq_proto_goTypes, + DependencyIndexes: file_GetMailItemReq_proto_depIdxs, + MessageInfos: file_GetMailItemReq_proto_msgTypes, + }.Build() + File_GetMailItemReq_proto = out.File + file_GetMailItemReq_proto_rawDesc = nil + file_GetMailItemReq_proto_goTypes = nil + file_GetMailItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMailItemReq.proto b/gate-hk4e-api/proto/GetMailItemReq.proto new file mode 100644 index 00000000..492d3e3e --- /dev/null +++ b/gate-hk4e-api/proto/GetMailItemReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1435 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetMailItemReq { + repeated uint32 mail_id_list = 6; +} diff --git a/gate-hk4e-api/proto/GetMailItemRsp.pb.go b/gate-hk4e-api/proto/GetMailItemRsp.pb.go new file mode 100644 index 00000000..fc2d26a4 --- /dev/null +++ b/gate-hk4e-api/proto/GetMailItemRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMailItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1407 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetMailItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + MailIdList []uint32 `protobuf:"varint,3,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` + ItemList []*EquipParam `protobuf:"bytes,2,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *GetMailItemRsp) Reset() { + *x = GetMailItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMailItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMailItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMailItemRsp) ProtoMessage() {} + +func (x *GetMailItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetMailItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMailItemRsp.ProtoReflect.Descriptor instead. +func (*GetMailItemRsp) Descriptor() ([]byte, []int) { + return file_GetMailItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetMailItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetMailItemRsp) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +func (x *GetMailItemRsp) GetItemList() []*EquipParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_GetMailItemRsp_proto protoreflect.FileDescriptor + +var file_GetMailItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6c, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x45, 0x71, 0x75, 0x69, + 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetMailItemRsp_proto_rawDescOnce sync.Once + file_GetMailItemRsp_proto_rawDescData = file_GetMailItemRsp_proto_rawDesc +) + +func file_GetMailItemRsp_proto_rawDescGZIP() []byte { + file_GetMailItemRsp_proto_rawDescOnce.Do(func() { + file_GetMailItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMailItemRsp_proto_rawDescData) + }) + return file_GetMailItemRsp_proto_rawDescData +} + +var file_GetMailItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMailItemRsp_proto_goTypes = []interface{}{ + (*GetMailItemRsp)(nil), // 0: GetMailItemRsp + (*EquipParam)(nil), // 1: EquipParam +} +var file_GetMailItemRsp_proto_depIdxs = []int32{ + 1, // 0: GetMailItemRsp.item_list:type_name -> EquipParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetMailItemRsp_proto_init() } +func file_GetMailItemRsp_proto_init() { + if File_GetMailItemRsp_proto != nil { + return + } + file_EquipParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetMailItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMailItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMailItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMailItemRsp_proto_goTypes, + DependencyIndexes: file_GetMailItemRsp_proto_depIdxs, + MessageInfos: file_GetMailItemRsp_proto_msgTypes, + }.Build() + File_GetMailItemRsp_proto = out.File + file_GetMailItemRsp_proto_rawDesc = nil + file_GetMailItemRsp_proto_goTypes = nil + file_GetMailItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMailItemRsp.proto b/gate-hk4e-api/proto/GetMailItemRsp.proto new file mode 100644 index 00000000..53a0f9c5 --- /dev/null +++ b/gate-hk4e-api/proto/GetMailItemRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EquipParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 1407 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetMailItemRsp { + int32 retcode = 7; + repeated uint32 mail_id_list = 3; + repeated EquipParam item_list = 2; +} diff --git a/gate-hk4e-api/proto/GetMapAreaReq.pb.go b/gate-hk4e-api/proto/GetMapAreaReq.pb.go new file mode 100644 index 00000000..1f756075 --- /dev/null +++ b/gate-hk4e-api/proto/GetMapAreaReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMapAreaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3108 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetMapAreaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetMapAreaReq) Reset() { + *x = GetMapAreaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMapAreaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMapAreaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMapAreaReq) ProtoMessage() {} + +func (x *GetMapAreaReq) ProtoReflect() protoreflect.Message { + mi := &file_GetMapAreaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMapAreaReq.ProtoReflect.Descriptor instead. +func (*GetMapAreaReq) Descriptor() ([]byte, []int) { + return file_GetMapAreaReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetMapAreaReq_proto protoreflect.FileDescriptor + +var file_GetMapAreaReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x41, + 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetMapAreaReq_proto_rawDescOnce sync.Once + file_GetMapAreaReq_proto_rawDescData = file_GetMapAreaReq_proto_rawDesc +) + +func file_GetMapAreaReq_proto_rawDescGZIP() []byte { + file_GetMapAreaReq_proto_rawDescOnce.Do(func() { + file_GetMapAreaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMapAreaReq_proto_rawDescData) + }) + return file_GetMapAreaReq_proto_rawDescData +} + +var file_GetMapAreaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMapAreaReq_proto_goTypes = []interface{}{ + (*GetMapAreaReq)(nil), // 0: GetMapAreaReq +} +var file_GetMapAreaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetMapAreaReq_proto_init() } +func file_GetMapAreaReq_proto_init() { + if File_GetMapAreaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetMapAreaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMapAreaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMapAreaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMapAreaReq_proto_goTypes, + DependencyIndexes: file_GetMapAreaReq_proto_depIdxs, + MessageInfos: file_GetMapAreaReq_proto_msgTypes, + }.Build() + File_GetMapAreaReq_proto = out.File + file_GetMapAreaReq_proto_rawDesc = nil + file_GetMapAreaReq_proto_goTypes = nil + file_GetMapAreaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMapAreaReq.proto b/gate-hk4e-api/proto/GetMapAreaReq.proto new file mode 100644 index 00000000..dc1acf2a --- /dev/null +++ b/gate-hk4e-api/proto/GetMapAreaReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3108 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetMapAreaReq {} diff --git a/gate-hk4e-api/proto/GetMapAreaRsp.pb.go b/gate-hk4e-api/proto/GetMapAreaRsp.pb.go new file mode 100644 index 00000000..9e218770 --- /dev/null +++ b/gate-hk4e-api/proto/GetMapAreaRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMapAreaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3328 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetMapAreaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MapAreaInfoList []*MapAreaInfo `protobuf:"bytes,9,rep,name=map_area_info_list,json=mapAreaInfoList,proto3" json:"map_area_info_list,omitempty"` +} + +func (x *GetMapAreaRsp) Reset() { + *x = GetMapAreaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMapAreaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMapAreaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMapAreaRsp) ProtoMessage() {} + +func (x *GetMapAreaRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetMapAreaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMapAreaRsp.ProtoReflect.Descriptor instead. +func (*GetMapAreaRsp) Descriptor() ([]byte, []int) { + return file_GetMapAreaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetMapAreaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetMapAreaRsp) GetMapAreaInfoList() []*MapAreaInfo { + if x != nil { + return x.MapAreaInfoList + } + return nil +} + +var File_GetMapAreaRsp_proto protoreflect.FileDescriptor + +var file_GetMapAreaRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x12, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, + 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetMapAreaRsp_proto_rawDescOnce sync.Once + file_GetMapAreaRsp_proto_rawDescData = file_GetMapAreaRsp_proto_rawDesc +) + +func file_GetMapAreaRsp_proto_rawDescGZIP() []byte { + file_GetMapAreaRsp_proto_rawDescOnce.Do(func() { + file_GetMapAreaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMapAreaRsp_proto_rawDescData) + }) + return file_GetMapAreaRsp_proto_rawDescData +} + +var file_GetMapAreaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMapAreaRsp_proto_goTypes = []interface{}{ + (*GetMapAreaRsp)(nil), // 0: GetMapAreaRsp + (*MapAreaInfo)(nil), // 1: MapAreaInfo +} +var file_GetMapAreaRsp_proto_depIdxs = []int32{ + 1, // 0: GetMapAreaRsp.map_area_info_list:type_name -> MapAreaInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetMapAreaRsp_proto_init() } +func file_GetMapAreaRsp_proto_init() { + if File_GetMapAreaRsp_proto != nil { + return + } + file_MapAreaInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetMapAreaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMapAreaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMapAreaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMapAreaRsp_proto_goTypes, + DependencyIndexes: file_GetMapAreaRsp_proto_depIdxs, + MessageInfos: file_GetMapAreaRsp_proto_msgTypes, + }.Build() + File_GetMapAreaRsp_proto = out.File + file_GetMapAreaRsp_proto_rawDesc = nil + file_GetMapAreaRsp_proto_goTypes = nil + file_GetMapAreaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMapAreaRsp.proto b/gate-hk4e-api/proto/GetMapAreaRsp.proto new file mode 100644 index 00000000..71efdec3 --- /dev/null +++ b/gate-hk4e-api/proto/GetMapAreaRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapAreaInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3328 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetMapAreaRsp { + int32 retcode = 14; + repeated MapAreaInfo map_area_info_list = 9; +} diff --git a/gate-hk4e-api/proto/GetMapMarkTipsReq.pb.go b/gate-hk4e-api/proto/GetMapMarkTipsReq.pb.go new file mode 100644 index 00000000..b031fe5d --- /dev/null +++ b/gate-hk4e-api/proto/GetMapMarkTipsReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMapMarkTipsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetMapMarkTipsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetMapMarkTipsReq) Reset() { + *x = GetMapMarkTipsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMapMarkTipsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMapMarkTipsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMapMarkTipsReq) ProtoMessage() {} + +func (x *GetMapMarkTipsReq) ProtoReflect() protoreflect.Message { + mi := &file_GetMapMarkTipsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMapMarkTipsReq.ProtoReflect.Descriptor instead. +func (*GetMapMarkTipsReq) Descriptor() ([]byte, []int) { + return file_GetMapMarkTipsReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetMapMarkTipsReq_proto protoreflect.FileDescriptor + +var file_GetMapMarkTipsReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetMapMarkTipsReq_proto_rawDescOnce sync.Once + file_GetMapMarkTipsReq_proto_rawDescData = file_GetMapMarkTipsReq_proto_rawDesc +) + +func file_GetMapMarkTipsReq_proto_rawDescGZIP() []byte { + file_GetMapMarkTipsReq_proto_rawDescOnce.Do(func() { + file_GetMapMarkTipsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMapMarkTipsReq_proto_rawDescData) + }) + return file_GetMapMarkTipsReq_proto_rawDescData +} + +var file_GetMapMarkTipsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMapMarkTipsReq_proto_goTypes = []interface{}{ + (*GetMapMarkTipsReq)(nil), // 0: GetMapMarkTipsReq +} +var file_GetMapMarkTipsReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetMapMarkTipsReq_proto_init() } +func file_GetMapMarkTipsReq_proto_init() { + if File_GetMapMarkTipsReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetMapMarkTipsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMapMarkTipsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMapMarkTipsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMapMarkTipsReq_proto_goTypes, + DependencyIndexes: file_GetMapMarkTipsReq_proto_depIdxs, + MessageInfos: file_GetMapMarkTipsReq_proto_msgTypes, + }.Build() + File_GetMapMarkTipsReq_proto = out.File + file_GetMapMarkTipsReq_proto_rawDesc = nil + file_GetMapMarkTipsReq_proto_goTypes = nil + file_GetMapMarkTipsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMapMarkTipsReq.proto b/gate-hk4e-api/proto/GetMapMarkTipsReq.proto new file mode 100644 index 00000000..4828d151 --- /dev/null +++ b/gate-hk4e-api/proto/GetMapMarkTipsReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetMapMarkTipsReq {} diff --git a/gate-hk4e-api/proto/GetMapMarkTipsRsp.pb.go b/gate-hk4e-api/proto/GetMapMarkTipsRsp.pb.go new file mode 100644 index 00000000..e1f67ce9 --- /dev/null +++ b/gate-hk4e-api/proto/GetMapMarkTipsRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMapMarkTipsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3327 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetMapMarkTipsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + MarkTipsList []*MapMarkTipsInfo `protobuf:"bytes,11,rep,name=mark_tips_list,json=markTipsList,proto3" json:"mark_tips_list,omitempty"` +} + +func (x *GetMapMarkTipsRsp) Reset() { + *x = GetMapMarkTipsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMapMarkTipsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMapMarkTipsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMapMarkTipsRsp) ProtoMessage() {} + +func (x *GetMapMarkTipsRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetMapMarkTipsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMapMarkTipsRsp.ProtoReflect.Descriptor instead. +func (*GetMapMarkTipsRsp) Descriptor() ([]byte, []int) { + return file_GetMapMarkTipsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetMapMarkTipsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetMapMarkTipsRsp) GetMarkTipsList() []*MapMarkTipsInfo { + if x != nil { + return x.MarkTipsList + } + return nil +} + +var File_GetMapMarkTipsRsp_proto protoreflect.FileDescriptor + +var file_GetMapMarkTipsRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, + 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x65, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, + 0x70, 0x73, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x36, 0x0a, 0x0e, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x74, 0x69, 0x70, 0x73, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, + 0x6b, 0x54, 0x69, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x54, + 0x69, 0x70, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetMapMarkTipsRsp_proto_rawDescOnce sync.Once + file_GetMapMarkTipsRsp_proto_rawDescData = file_GetMapMarkTipsRsp_proto_rawDesc +) + +func file_GetMapMarkTipsRsp_proto_rawDescGZIP() []byte { + file_GetMapMarkTipsRsp_proto_rawDescOnce.Do(func() { + file_GetMapMarkTipsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMapMarkTipsRsp_proto_rawDescData) + }) + return file_GetMapMarkTipsRsp_proto_rawDescData +} + +var file_GetMapMarkTipsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMapMarkTipsRsp_proto_goTypes = []interface{}{ + (*GetMapMarkTipsRsp)(nil), // 0: GetMapMarkTipsRsp + (*MapMarkTipsInfo)(nil), // 1: MapMarkTipsInfo +} +var file_GetMapMarkTipsRsp_proto_depIdxs = []int32{ + 1, // 0: GetMapMarkTipsRsp.mark_tips_list:type_name -> MapMarkTipsInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetMapMarkTipsRsp_proto_init() } +func file_GetMapMarkTipsRsp_proto_init() { + if File_GetMapMarkTipsRsp_proto != nil { + return + } + file_MapMarkTipsInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetMapMarkTipsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMapMarkTipsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMapMarkTipsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMapMarkTipsRsp_proto_goTypes, + DependencyIndexes: file_GetMapMarkTipsRsp_proto_depIdxs, + MessageInfos: file_GetMapMarkTipsRsp_proto_msgTypes, + }.Build() + File_GetMapMarkTipsRsp_proto = out.File + file_GetMapMarkTipsRsp_proto_rawDesc = nil + file_GetMapMarkTipsRsp_proto_goTypes = nil + file_GetMapMarkTipsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMapMarkTipsRsp.proto b/gate-hk4e-api/proto/GetMapMarkTipsRsp.proto new file mode 100644 index 00000000..cfcb1ece --- /dev/null +++ b/gate-hk4e-api/proto/GetMapMarkTipsRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkTipsInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3327 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetMapMarkTipsRsp { + int32 retcode = 7; + repeated MapMarkTipsInfo mark_tips_list = 11; +} diff --git a/gate-hk4e-api/proto/GetMechanicusInfoReq.pb.go b/gate-hk4e-api/proto/GetMechanicusInfoReq.pb.go new file mode 100644 index 00000000..67c2c850 --- /dev/null +++ b/gate-hk4e-api/proto/GetMechanicusInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMechanicusInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3972 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetMechanicusInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetMechanicusInfoReq) Reset() { + *x = GetMechanicusInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMechanicusInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMechanicusInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMechanicusInfoReq) ProtoMessage() {} + +func (x *GetMechanicusInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetMechanicusInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMechanicusInfoReq.ProtoReflect.Descriptor instead. +func (*GetMechanicusInfoReq) Descriptor() ([]byte, []int) { + return file_GetMechanicusInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetMechanicusInfoReq_proto protoreflect.FileDescriptor + +var file_GetMechanicusInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetMechanicusInfoReq_proto_rawDescOnce sync.Once + file_GetMechanicusInfoReq_proto_rawDescData = file_GetMechanicusInfoReq_proto_rawDesc +) + +func file_GetMechanicusInfoReq_proto_rawDescGZIP() []byte { + file_GetMechanicusInfoReq_proto_rawDescOnce.Do(func() { + file_GetMechanicusInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMechanicusInfoReq_proto_rawDescData) + }) + return file_GetMechanicusInfoReq_proto_rawDescData +} + +var file_GetMechanicusInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMechanicusInfoReq_proto_goTypes = []interface{}{ + (*GetMechanicusInfoReq)(nil), // 0: GetMechanicusInfoReq +} +var file_GetMechanicusInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetMechanicusInfoReq_proto_init() } +func file_GetMechanicusInfoReq_proto_init() { + if File_GetMechanicusInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetMechanicusInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMechanicusInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMechanicusInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMechanicusInfoReq_proto_goTypes, + DependencyIndexes: file_GetMechanicusInfoReq_proto_depIdxs, + MessageInfos: file_GetMechanicusInfoReq_proto_msgTypes, + }.Build() + File_GetMechanicusInfoReq_proto = out.File + file_GetMechanicusInfoReq_proto_rawDesc = nil + file_GetMechanicusInfoReq_proto_goTypes = nil + file_GetMechanicusInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMechanicusInfoReq.proto b/gate-hk4e-api/proto/GetMechanicusInfoReq.proto new file mode 100644 index 00000000..f03be850 --- /dev/null +++ b/gate-hk4e-api/proto/GetMechanicusInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3972 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetMechanicusInfoReq {} diff --git a/gate-hk4e-api/proto/GetMechanicusInfoRsp.pb.go b/gate-hk4e-api/proto/GetMechanicusInfoRsp.pb.go new file mode 100644 index 00000000..72e45a78 --- /dev/null +++ b/gate-hk4e-api/proto/GetMechanicusInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetMechanicusInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3998 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetMechanicusInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MechanicusInfo *MechanicusInfo `protobuf:"bytes,15,opt,name=mechanicus_info,json=mechanicusInfo,proto3" json:"mechanicus_info,omitempty"` +} + +func (x *GetMechanicusInfoRsp) Reset() { + *x = GetMechanicusInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetMechanicusInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMechanicusInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMechanicusInfoRsp) ProtoMessage() {} + +func (x *GetMechanicusInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetMechanicusInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMechanicusInfoRsp.ProtoReflect.Descriptor instead. +func (*GetMechanicusInfoRsp) Descriptor() ([]byte, []int) { + return file_GetMechanicusInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetMechanicusInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetMechanicusInfoRsp) GetMechanicusInfo() *MechanicusInfo { + if x != nil { + return x.MechanicusInfo + } + return nil +} + +var File_GetMechanicusInfoRsp_proto protoreflect.FileDescriptor + +var file_GetMechanicusInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x0f, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetMechanicusInfoRsp_proto_rawDescOnce sync.Once + file_GetMechanicusInfoRsp_proto_rawDescData = file_GetMechanicusInfoRsp_proto_rawDesc +) + +func file_GetMechanicusInfoRsp_proto_rawDescGZIP() []byte { + file_GetMechanicusInfoRsp_proto_rawDescOnce.Do(func() { + file_GetMechanicusInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetMechanicusInfoRsp_proto_rawDescData) + }) + return file_GetMechanicusInfoRsp_proto_rawDescData +} + +var file_GetMechanicusInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetMechanicusInfoRsp_proto_goTypes = []interface{}{ + (*GetMechanicusInfoRsp)(nil), // 0: GetMechanicusInfoRsp + (*MechanicusInfo)(nil), // 1: MechanicusInfo +} +var file_GetMechanicusInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetMechanicusInfoRsp.mechanicus_info:type_name -> MechanicusInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetMechanicusInfoRsp_proto_init() } +func file_GetMechanicusInfoRsp_proto_init() { + if File_GetMechanicusInfoRsp_proto != nil { + return + } + file_MechanicusInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetMechanicusInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMechanicusInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetMechanicusInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetMechanicusInfoRsp_proto_goTypes, + DependencyIndexes: file_GetMechanicusInfoRsp_proto_depIdxs, + MessageInfos: file_GetMechanicusInfoRsp_proto_msgTypes, + }.Build() + File_GetMechanicusInfoRsp_proto = out.File + file_GetMechanicusInfoRsp_proto_rawDesc = nil + file_GetMechanicusInfoRsp_proto_goTypes = nil + file_GetMechanicusInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetMechanicusInfoRsp.proto b/gate-hk4e-api/proto/GetMechanicusInfoRsp.proto new file mode 100644 index 00000000..5011baa6 --- /dev/null +++ b/gate-hk4e-api/proto/GetMechanicusInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MechanicusInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3998 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetMechanicusInfoRsp { + int32 retcode = 14; + MechanicusInfo mechanicus_info = 15; +} diff --git a/gate-hk4e-api/proto/GetNextResourceInfoReq.pb.go b/gate-hk4e-api/proto/GetNextResourceInfoReq.pb.go new file mode 100644 index 00000000..1f4fd451 --- /dev/null +++ b/gate-hk4e-api/proto/GetNextResourceInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetNextResourceInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 192 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetNextResourceInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetNextResourceInfoReq) Reset() { + *x = GetNextResourceInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetNextResourceInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextResourceInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextResourceInfoReq) ProtoMessage() {} + +func (x *GetNextResourceInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetNextResourceInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetNextResourceInfoReq.ProtoReflect.Descriptor instead. +func (*GetNextResourceInfoReq) Descriptor() ([]byte, []int) { + return file_GetNextResourceInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetNextResourceInfoReq_proto protoreflect.FileDescriptor + +var file_GetNextResourceInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetNextResourceInfoReq_proto_rawDescOnce sync.Once + file_GetNextResourceInfoReq_proto_rawDescData = file_GetNextResourceInfoReq_proto_rawDesc +) + +func file_GetNextResourceInfoReq_proto_rawDescGZIP() []byte { + file_GetNextResourceInfoReq_proto_rawDescOnce.Do(func() { + file_GetNextResourceInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetNextResourceInfoReq_proto_rawDescData) + }) + return file_GetNextResourceInfoReq_proto_rawDescData +} + +var file_GetNextResourceInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetNextResourceInfoReq_proto_goTypes = []interface{}{ + (*GetNextResourceInfoReq)(nil), // 0: GetNextResourceInfoReq +} +var file_GetNextResourceInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetNextResourceInfoReq_proto_init() } +func file_GetNextResourceInfoReq_proto_init() { + if File_GetNextResourceInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetNextResourceInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextResourceInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetNextResourceInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetNextResourceInfoReq_proto_goTypes, + DependencyIndexes: file_GetNextResourceInfoReq_proto_depIdxs, + MessageInfos: file_GetNextResourceInfoReq_proto_msgTypes, + }.Build() + File_GetNextResourceInfoReq_proto = out.File + file_GetNextResourceInfoReq_proto_rawDesc = nil + file_GetNextResourceInfoReq_proto_goTypes = nil + file_GetNextResourceInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetNextResourceInfoReq.proto b/gate-hk4e-api/proto/GetNextResourceInfoReq.proto new file mode 100644 index 00000000..33440d33 --- /dev/null +++ b/gate-hk4e-api/proto/GetNextResourceInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 192 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetNextResourceInfoReq {} diff --git a/gate-hk4e-api/proto/GetNextResourceInfoRsp.pb.go b/gate-hk4e-api/proto/GetNextResourceInfoRsp.pb.go new file mode 100644 index 00000000..5724df89 --- /dev/null +++ b/gate-hk4e-api/proto/GetNextResourceInfoRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetNextResourceInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 120 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetNextResourceInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextResourceUrl string `protobuf:"bytes,14,opt,name=next_resource_url,json=nextResourceUrl,proto3" json:"next_resource_url,omitempty"` + NextResVersionConfig *ResVersionConfig `protobuf:"bytes,2,opt,name=next_res_version_config,json=nextResVersionConfig,proto3" json:"next_res_version_config,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetNextResourceInfoRsp) Reset() { + *x = GetNextResourceInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetNextResourceInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextResourceInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextResourceInfoRsp) ProtoMessage() {} + +func (x *GetNextResourceInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetNextResourceInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetNextResourceInfoRsp.ProtoReflect.Descriptor instead. +func (*GetNextResourceInfoRsp) Descriptor() ([]byte, []int) { + return file_GetNextResourceInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetNextResourceInfoRsp) GetNextResourceUrl() string { + if x != nil { + return x.NextResourceUrl + } + return "" +} + +func (x *GetNextResourceInfoRsp) GetNextResVersionConfig() *ResVersionConfig { + if x != nil { + return x.NextResVersionConfig + } + return nil +} + +func (x *GetNextResourceInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetNextResourceInfoRsp_proto protoreflect.FileDescriptor + +var file_GetNextResourceInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, + 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, + 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x65, + 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x48, 0x0a, + 0x17, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x14, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetNextResourceInfoRsp_proto_rawDescOnce sync.Once + file_GetNextResourceInfoRsp_proto_rawDescData = file_GetNextResourceInfoRsp_proto_rawDesc +) + +func file_GetNextResourceInfoRsp_proto_rawDescGZIP() []byte { + file_GetNextResourceInfoRsp_proto_rawDescOnce.Do(func() { + file_GetNextResourceInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetNextResourceInfoRsp_proto_rawDescData) + }) + return file_GetNextResourceInfoRsp_proto_rawDescData +} + +var file_GetNextResourceInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetNextResourceInfoRsp_proto_goTypes = []interface{}{ + (*GetNextResourceInfoRsp)(nil), // 0: GetNextResourceInfoRsp + (*ResVersionConfig)(nil), // 1: ResVersionConfig +} +var file_GetNextResourceInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetNextResourceInfoRsp.next_res_version_config:type_name -> ResVersionConfig + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetNextResourceInfoRsp_proto_init() } +func file_GetNextResourceInfoRsp_proto_init() { + if File_GetNextResourceInfoRsp_proto != nil { + return + } + file_ResVersionConfig_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetNextResourceInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextResourceInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetNextResourceInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetNextResourceInfoRsp_proto_goTypes, + DependencyIndexes: file_GetNextResourceInfoRsp_proto_depIdxs, + MessageInfos: file_GetNextResourceInfoRsp_proto_msgTypes, + }.Build() + File_GetNextResourceInfoRsp_proto = out.File + file_GetNextResourceInfoRsp_proto_rawDesc = nil + file_GetNextResourceInfoRsp_proto_goTypes = nil + file_GetNextResourceInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetNextResourceInfoRsp.proto b/gate-hk4e-api/proto/GetNextResourceInfoRsp.proto new file mode 100644 index 00000000..e15db3eb --- /dev/null +++ b/gate-hk4e-api/proto/GetNextResourceInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ResVersionConfig.proto"; + +option go_package = "./;proto"; + +// CmdId: 120 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetNextResourceInfoRsp { + string next_resource_url = 14; + ResVersionConfig next_res_version_config = 2; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.pb.go b/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.pb.go new file mode 100644 index 00000000..d2ed50e6 --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.pb.go @@ -0,0 +1,230 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOnlinePlayerInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 82 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetOnlinePlayerInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOnlineId bool `protobuf:"varint,15,opt,name=is_online_id,json=isOnlineId,proto3" json:"is_online_id,omitempty"` + // Types that are assignable to PlayerId: + // *GetOnlinePlayerInfoReq_TargetUid + // *GetOnlinePlayerInfoReq_OnlineId + // *GetOnlinePlayerInfoReq_PsnId + PlayerId isGetOnlinePlayerInfoReq_PlayerId `protobuf_oneof:"player_id"` +} + +func (x *GetOnlinePlayerInfoReq) Reset() { + *x = GetOnlinePlayerInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOnlinePlayerInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOnlinePlayerInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOnlinePlayerInfoReq) ProtoMessage() {} + +func (x *GetOnlinePlayerInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetOnlinePlayerInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOnlinePlayerInfoReq.ProtoReflect.Descriptor instead. +func (*GetOnlinePlayerInfoReq) Descriptor() ([]byte, []int) { + return file_GetOnlinePlayerInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetOnlinePlayerInfoReq) GetIsOnlineId() bool { + if x != nil { + return x.IsOnlineId + } + return false +} + +func (m *GetOnlinePlayerInfoReq) GetPlayerId() isGetOnlinePlayerInfoReq_PlayerId { + if m != nil { + return m.PlayerId + } + return nil +} + +func (x *GetOnlinePlayerInfoReq) GetTargetUid() uint32 { + if x, ok := x.GetPlayerId().(*GetOnlinePlayerInfoReq_TargetUid); ok { + return x.TargetUid + } + return 0 +} + +func (x *GetOnlinePlayerInfoReq) GetOnlineId() string { + if x, ok := x.GetPlayerId().(*GetOnlinePlayerInfoReq_OnlineId); ok { + return x.OnlineId + } + return "" +} + +func (x *GetOnlinePlayerInfoReq) GetPsnId() string { + if x, ok := x.GetPlayerId().(*GetOnlinePlayerInfoReq_PsnId); ok { + return x.PsnId + } + return "" +} + +type isGetOnlinePlayerInfoReq_PlayerId interface { + isGetOnlinePlayerInfoReq_PlayerId() +} + +type GetOnlinePlayerInfoReq_TargetUid struct { + TargetUid uint32 `protobuf:"varint,9,opt,name=target_uid,json=targetUid,proto3,oneof"` +} + +type GetOnlinePlayerInfoReq_OnlineId struct { + OnlineId string `protobuf:"bytes,7,opt,name=online_id,json=onlineId,proto3,oneof"` +} + +type GetOnlinePlayerInfoReq_PsnId struct { + PsnId string `protobuf:"bytes,2,opt,name=psn_id,json=psnId,proto3,oneof"` +} + +func (*GetOnlinePlayerInfoReq_TargetUid) isGetOnlinePlayerInfoReq_PlayerId() {} + +func (*GetOnlinePlayerInfoReq_OnlineId) isGetOnlinePlayerInfoReq_PlayerId() {} + +func (*GetOnlinePlayerInfoReq_PsnId) isGetOnlinePlayerInfoReq_PlayerId() {} + +var File_GetOnlinePlayerInfoReq_proto protoreflect.FileDescriptor + +var file_GetOnlinePlayerInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, + 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, + 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0a, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x48, + 0x00, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, + 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x06, 0x70, + 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x70, + 0x73, 0x6e, 0x49, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetOnlinePlayerInfoReq_proto_rawDescOnce sync.Once + file_GetOnlinePlayerInfoReq_proto_rawDescData = file_GetOnlinePlayerInfoReq_proto_rawDesc +) + +func file_GetOnlinePlayerInfoReq_proto_rawDescGZIP() []byte { + file_GetOnlinePlayerInfoReq_proto_rawDescOnce.Do(func() { + file_GetOnlinePlayerInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOnlinePlayerInfoReq_proto_rawDescData) + }) + return file_GetOnlinePlayerInfoReq_proto_rawDescData +} + +var file_GetOnlinePlayerInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOnlinePlayerInfoReq_proto_goTypes = []interface{}{ + (*GetOnlinePlayerInfoReq)(nil), // 0: GetOnlinePlayerInfoReq +} +var file_GetOnlinePlayerInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetOnlinePlayerInfoReq_proto_init() } +func file_GetOnlinePlayerInfoReq_proto_init() { + if File_GetOnlinePlayerInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetOnlinePlayerInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOnlinePlayerInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_GetOnlinePlayerInfoReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GetOnlinePlayerInfoReq_TargetUid)(nil), + (*GetOnlinePlayerInfoReq_OnlineId)(nil), + (*GetOnlinePlayerInfoReq_PsnId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOnlinePlayerInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOnlinePlayerInfoReq_proto_goTypes, + DependencyIndexes: file_GetOnlinePlayerInfoReq_proto_depIdxs, + MessageInfos: file_GetOnlinePlayerInfoReq_proto_msgTypes, + }.Build() + File_GetOnlinePlayerInfoReq_proto = out.File + file_GetOnlinePlayerInfoReq_proto_rawDesc = nil + file_GetOnlinePlayerInfoReq_proto_goTypes = nil + file_GetOnlinePlayerInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.proto b/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.proto new file mode 100644 index 00000000..062eeffa --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerInfoReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 82 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetOnlinePlayerInfoReq { + bool is_online_id = 15; + oneof player_id { + uint32 target_uid = 9; + string online_id = 7; + string psn_id = 2; + } +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.pb.go b/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.pb.go new file mode 100644 index 00000000..90050e4b --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOnlinePlayerInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 47 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetOnlinePlayerInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,7,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Param uint32 `protobuf:"varint,4,opt,name=param,proto3" json:"param,omitempty"` + TargetPlayerInfo *OnlinePlayerInfo `protobuf:"bytes,14,opt,name=target_player_info,json=targetPlayerInfo,proto3" json:"target_player_info,omitempty"` +} + +func (x *GetOnlinePlayerInfoRsp) Reset() { + *x = GetOnlinePlayerInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOnlinePlayerInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOnlinePlayerInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOnlinePlayerInfoRsp) ProtoMessage() {} + +func (x *GetOnlinePlayerInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetOnlinePlayerInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOnlinePlayerInfoRsp.ProtoReflect.Descriptor instead. +func (*GetOnlinePlayerInfoRsp) Descriptor() ([]byte, []int) { + return file_GetOnlinePlayerInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetOnlinePlayerInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetOnlinePlayerInfoRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *GetOnlinePlayerInfoRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *GetOnlinePlayerInfoRsp) GetTargetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.TargetPlayerInfo + } + return nil +} + +var File_GetOnlinePlayerInfoRsp_proto protoreflect.FileDescriptor + +var file_GetOnlinePlayerInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x12, 0x3f, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, + 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetOnlinePlayerInfoRsp_proto_rawDescOnce sync.Once + file_GetOnlinePlayerInfoRsp_proto_rawDescData = file_GetOnlinePlayerInfoRsp_proto_rawDesc +) + +func file_GetOnlinePlayerInfoRsp_proto_rawDescGZIP() []byte { + file_GetOnlinePlayerInfoRsp_proto_rawDescOnce.Do(func() { + file_GetOnlinePlayerInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOnlinePlayerInfoRsp_proto_rawDescData) + }) + return file_GetOnlinePlayerInfoRsp_proto_rawDescData +} + +var file_GetOnlinePlayerInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOnlinePlayerInfoRsp_proto_goTypes = []interface{}{ + (*GetOnlinePlayerInfoRsp)(nil), // 0: GetOnlinePlayerInfoRsp + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_GetOnlinePlayerInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetOnlinePlayerInfoRsp.target_player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetOnlinePlayerInfoRsp_proto_init() } +func file_GetOnlinePlayerInfoRsp_proto_init() { + if File_GetOnlinePlayerInfoRsp_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetOnlinePlayerInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOnlinePlayerInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOnlinePlayerInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOnlinePlayerInfoRsp_proto_goTypes, + DependencyIndexes: file_GetOnlinePlayerInfoRsp_proto_depIdxs, + MessageInfos: file_GetOnlinePlayerInfoRsp_proto_msgTypes, + }.Build() + File_GetOnlinePlayerInfoRsp_proto = out.File + file_GetOnlinePlayerInfoRsp_proto_rawDesc = nil + file_GetOnlinePlayerInfoRsp_proto_goTypes = nil + file_GetOnlinePlayerInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.proto b/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.proto new file mode 100644 index 00000000..76fe81d5 --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerInfoRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 47 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetOnlinePlayerInfoRsp { + int32 retcode = 11; + uint32 target_uid = 7; + uint32 param = 4; + OnlinePlayerInfo target_player_info = 14; +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerListReq.pb.go b/gate-hk4e-api/proto/GetOnlinePlayerListReq.pb.go new file mode 100644 index 00000000..e16dc1a0 --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerListReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOnlinePlayerListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 90 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetOnlinePlayerListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetOnlinePlayerListReq) Reset() { + *x = GetOnlinePlayerListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOnlinePlayerListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOnlinePlayerListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOnlinePlayerListReq) ProtoMessage() {} + +func (x *GetOnlinePlayerListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetOnlinePlayerListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOnlinePlayerListReq.ProtoReflect.Descriptor instead. +func (*GetOnlinePlayerListReq) Descriptor() ([]byte, []int) { + return file_GetOnlinePlayerListReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetOnlinePlayerListReq_proto protoreflect.FileDescriptor + +var file_GetOnlinePlayerListReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetOnlinePlayerListReq_proto_rawDescOnce sync.Once + file_GetOnlinePlayerListReq_proto_rawDescData = file_GetOnlinePlayerListReq_proto_rawDesc +) + +func file_GetOnlinePlayerListReq_proto_rawDescGZIP() []byte { + file_GetOnlinePlayerListReq_proto_rawDescOnce.Do(func() { + file_GetOnlinePlayerListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOnlinePlayerListReq_proto_rawDescData) + }) + return file_GetOnlinePlayerListReq_proto_rawDescData +} + +var file_GetOnlinePlayerListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOnlinePlayerListReq_proto_goTypes = []interface{}{ + (*GetOnlinePlayerListReq)(nil), // 0: GetOnlinePlayerListReq +} +var file_GetOnlinePlayerListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetOnlinePlayerListReq_proto_init() } +func file_GetOnlinePlayerListReq_proto_init() { + if File_GetOnlinePlayerListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetOnlinePlayerListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOnlinePlayerListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOnlinePlayerListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOnlinePlayerListReq_proto_goTypes, + DependencyIndexes: file_GetOnlinePlayerListReq_proto_depIdxs, + MessageInfos: file_GetOnlinePlayerListReq_proto_msgTypes, + }.Build() + File_GetOnlinePlayerListReq_proto = out.File + file_GetOnlinePlayerListReq_proto_rawDesc = nil + file_GetOnlinePlayerListReq_proto_goTypes = nil + file_GetOnlinePlayerListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerListReq.proto b/gate-hk4e-api/proto/GetOnlinePlayerListReq.proto new file mode 100644 index 00000000..aebbb5d7 --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 90 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetOnlinePlayerListReq {} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerListRsp.pb.go b/gate-hk4e-api/proto/GetOnlinePlayerListRsp.pb.go new file mode 100644 index 00000000..ceedf3c2 --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerListRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOnlinePlayerListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 73 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetOnlinePlayerListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + Param uint32 `protobuf:"varint,11,opt,name=param,proto3" json:"param,omitempty"` + PlayerInfoList []*OnlinePlayerInfo `protobuf:"bytes,5,rep,name=player_info_list,json=playerInfoList,proto3" json:"player_info_list,omitempty"` +} + +func (x *GetOnlinePlayerListRsp) Reset() { + *x = GetOnlinePlayerListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOnlinePlayerListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOnlinePlayerListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOnlinePlayerListRsp) ProtoMessage() {} + +func (x *GetOnlinePlayerListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetOnlinePlayerListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOnlinePlayerListRsp.ProtoReflect.Descriptor instead. +func (*GetOnlinePlayerListRsp) Descriptor() ([]byte, []int) { + return file_GetOnlinePlayerListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetOnlinePlayerListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetOnlinePlayerListRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *GetOnlinePlayerListRsp) GetPlayerInfoList() []*OnlinePlayerInfo { + if x != nil { + return x.PlayerInfoList + } + return nil +} + +var File_GetOnlinePlayerListRsp_proto protoreflect.FileDescriptor + +var file_GetOnlinePlayerListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x12, 0x3b, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetOnlinePlayerListRsp_proto_rawDescOnce sync.Once + file_GetOnlinePlayerListRsp_proto_rawDescData = file_GetOnlinePlayerListRsp_proto_rawDesc +) + +func file_GetOnlinePlayerListRsp_proto_rawDescGZIP() []byte { + file_GetOnlinePlayerListRsp_proto_rawDescOnce.Do(func() { + file_GetOnlinePlayerListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOnlinePlayerListRsp_proto_rawDescData) + }) + return file_GetOnlinePlayerListRsp_proto_rawDescData +} + +var file_GetOnlinePlayerListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOnlinePlayerListRsp_proto_goTypes = []interface{}{ + (*GetOnlinePlayerListRsp)(nil), // 0: GetOnlinePlayerListRsp + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_GetOnlinePlayerListRsp_proto_depIdxs = []int32{ + 1, // 0: GetOnlinePlayerListRsp.player_info_list:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetOnlinePlayerListRsp_proto_init() } +func file_GetOnlinePlayerListRsp_proto_init() { + if File_GetOnlinePlayerListRsp_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetOnlinePlayerListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOnlinePlayerListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOnlinePlayerListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOnlinePlayerListRsp_proto_goTypes, + DependencyIndexes: file_GetOnlinePlayerListRsp_proto_depIdxs, + MessageInfos: file_GetOnlinePlayerListRsp_proto_msgTypes, + }.Build() + File_GetOnlinePlayerListRsp_proto = out.File + file_GetOnlinePlayerListRsp_proto_rawDesc = nil + file_GetOnlinePlayerListRsp_proto_goTypes = nil + file_GetOnlinePlayerListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOnlinePlayerListRsp.proto b/gate-hk4e-api/proto/GetOnlinePlayerListRsp.proto new file mode 100644 index 00000000..73c522af --- /dev/null +++ b/gate-hk4e-api/proto/GetOnlinePlayerListRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 73 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetOnlinePlayerListRsp { + int32 retcode = 7; + uint32 param = 11; + repeated OnlinePlayerInfo player_info_list = 5; +} diff --git a/gate-hk4e-api/proto/GetOpActivityInfoReq.pb.go b/gate-hk4e-api/proto/GetOpActivityInfoReq.pb.go new file mode 100644 index 00000000..e7188930 --- /dev/null +++ b/gate-hk4e-api/proto/GetOpActivityInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOpActivityInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetOpActivityInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetOpActivityInfoReq) Reset() { + *x = GetOpActivityInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOpActivityInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOpActivityInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOpActivityInfoReq) ProtoMessage() {} + +func (x *GetOpActivityInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetOpActivityInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOpActivityInfoReq.ProtoReflect.Descriptor instead. +func (*GetOpActivityInfoReq) Descriptor() ([]byte, []int) { + return file_GetOpActivityInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetOpActivityInfoReq_proto protoreflect.FileDescriptor + +var file_GetOpActivityInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetOpActivityInfoReq_proto_rawDescOnce sync.Once + file_GetOpActivityInfoReq_proto_rawDescData = file_GetOpActivityInfoReq_proto_rawDesc +) + +func file_GetOpActivityInfoReq_proto_rawDescGZIP() []byte { + file_GetOpActivityInfoReq_proto_rawDescOnce.Do(func() { + file_GetOpActivityInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOpActivityInfoReq_proto_rawDescData) + }) + return file_GetOpActivityInfoReq_proto_rawDescData +} + +var file_GetOpActivityInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOpActivityInfoReq_proto_goTypes = []interface{}{ + (*GetOpActivityInfoReq)(nil), // 0: GetOpActivityInfoReq +} +var file_GetOpActivityInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetOpActivityInfoReq_proto_init() } +func file_GetOpActivityInfoReq_proto_init() { + if File_GetOpActivityInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetOpActivityInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOpActivityInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOpActivityInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOpActivityInfoReq_proto_goTypes, + DependencyIndexes: file_GetOpActivityInfoReq_proto_depIdxs, + MessageInfos: file_GetOpActivityInfoReq_proto_msgTypes, + }.Build() + File_GetOpActivityInfoReq_proto = out.File + file_GetOpActivityInfoReq_proto_rawDesc = nil + file_GetOpActivityInfoReq_proto_goTypes = nil + file_GetOpActivityInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOpActivityInfoReq.proto b/gate-hk4e-api/proto/GetOpActivityInfoReq.proto new file mode 100644 index 00000000..35eae185 --- /dev/null +++ b/gate-hk4e-api/proto/GetOpActivityInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetOpActivityInfoReq {} diff --git a/gate-hk4e-api/proto/GetOpActivityInfoRsp.pb.go b/gate-hk4e-api/proto/GetOpActivityInfoRsp.pb.go new file mode 100644 index 00000000..4ae0a964 --- /dev/null +++ b/gate-hk4e-api/proto/GetOpActivityInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetOpActivityInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5198 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetOpActivityInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + OpActivityInfoList []*OpActivityInfo `protobuf:"bytes,7,rep,name=op_activity_info_list,json=opActivityInfoList,proto3" json:"op_activity_info_list,omitempty"` +} + +func (x *GetOpActivityInfoRsp) Reset() { + *x = GetOpActivityInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetOpActivityInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOpActivityInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOpActivityInfoRsp) ProtoMessage() {} + +func (x *GetOpActivityInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetOpActivityInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOpActivityInfoRsp.ProtoReflect.Descriptor instead. +func (*GetOpActivityInfoRsp) Descriptor() ([]byte, []int) { + return file_GetOpActivityInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetOpActivityInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetOpActivityInfoRsp) GetOpActivityInfoList() []*OpActivityInfo { + if x != nil { + return x.OpActivityInfoList + } + return nil +} + +var File_GetOpActivityInfoRsp_proto protoreflect.FileDescriptor + +var file_GetOpActivityInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4f, 0x70, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x15, 0x6f, 0x70, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetOpActivityInfoRsp_proto_rawDescOnce sync.Once + file_GetOpActivityInfoRsp_proto_rawDescData = file_GetOpActivityInfoRsp_proto_rawDesc +) + +func file_GetOpActivityInfoRsp_proto_rawDescGZIP() []byte { + file_GetOpActivityInfoRsp_proto_rawDescOnce.Do(func() { + file_GetOpActivityInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetOpActivityInfoRsp_proto_rawDescData) + }) + return file_GetOpActivityInfoRsp_proto_rawDescData +} + +var file_GetOpActivityInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetOpActivityInfoRsp_proto_goTypes = []interface{}{ + (*GetOpActivityInfoRsp)(nil), // 0: GetOpActivityInfoRsp + (*OpActivityInfo)(nil), // 1: OpActivityInfo +} +var file_GetOpActivityInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetOpActivityInfoRsp.op_activity_info_list:type_name -> OpActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetOpActivityInfoRsp_proto_init() } +func file_GetOpActivityInfoRsp_proto_init() { + if File_GetOpActivityInfoRsp_proto != nil { + return + } + file_OpActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetOpActivityInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOpActivityInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetOpActivityInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetOpActivityInfoRsp_proto_goTypes, + DependencyIndexes: file_GetOpActivityInfoRsp_proto_depIdxs, + MessageInfos: file_GetOpActivityInfoRsp_proto_msgTypes, + }.Build() + File_GetOpActivityInfoRsp_proto = out.File + file_GetOpActivityInfoRsp_proto_rawDesc = nil + file_GetOpActivityInfoRsp_proto_goTypes = nil + file_GetOpActivityInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetOpActivityInfoRsp.proto b/gate-hk4e-api/proto/GetOpActivityInfoRsp.proto new file mode 100644 index 00000000..f7124148 --- /dev/null +++ b/gate-hk4e-api/proto/GetOpActivityInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OpActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5198 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetOpActivityInfoRsp { + int32 retcode = 10; + repeated OpActivityInfo op_activity_info_list = 7; +} diff --git a/gate-hk4e-api/proto/GetPlayerAskFriendListReq.pb.go b/gate-hk4e-api/proto/GetPlayerAskFriendListReq.pb.go new file mode 100644 index 00000000..d945b9ef --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerAskFriendListReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerAskFriendListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4018 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerAskFriendListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPlayerAskFriendListReq) Reset() { + *x = GetPlayerAskFriendListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerAskFriendListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerAskFriendListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerAskFriendListReq) ProtoMessage() {} + +func (x *GetPlayerAskFriendListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerAskFriendListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerAskFriendListReq.ProtoReflect.Descriptor instead. +func (*GetPlayerAskFriendListReq) Descriptor() ([]byte, []int) { + return file_GetPlayerAskFriendListReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetPlayerAskFriendListReq_proto protoreflect.FileDescriptor + +var file_GetPlayerAskFriendListReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x73, 0x6b, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x73, + 0x6b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetPlayerAskFriendListReq_proto_rawDescOnce sync.Once + file_GetPlayerAskFriendListReq_proto_rawDescData = file_GetPlayerAskFriendListReq_proto_rawDesc +) + +func file_GetPlayerAskFriendListReq_proto_rawDescGZIP() []byte { + file_GetPlayerAskFriendListReq_proto_rawDescOnce.Do(func() { + file_GetPlayerAskFriendListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerAskFriendListReq_proto_rawDescData) + }) + return file_GetPlayerAskFriendListReq_proto_rawDescData +} + +var file_GetPlayerAskFriendListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerAskFriendListReq_proto_goTypes = []interface{}{ + (*GetPlayerAskFriendListReq)(nil), // 0: GetPlayerAskFriendListReq +} +var file_GetPlayerAskFriendListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerAskFriendListReq_proto_init() } +func file_GetPlayerAskFriendListReq_proto_init() { + if File_GetPlayerAskFriendListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerAskFriendListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerAskFriendListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerAskFriendListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerAskFriendListReq_proto_goTypes, + DependencyIndexes: file_GetPlayerAskFriendListReq_proto_depIdxs, + MessageInfos: file_GetPlayerAskFriendListReq_proto_msgTypes, + }.Build() + File_GetPlayerAskFriendListReq_proto = out.File + file_GetPlayerAskFriendListReq_proto_rawDesc = nil + file_GetPlayerAskFriendListReq_proto_goTypes = nil + file_GetPlayerAskFriendListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerAskFriendListReq.proto b/gate-hk4e-api/proto/GetPlayerAskFriendListReq.proto new file mode 100644 index 00000000..2dde2587 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerAskFriendListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4018 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerAskFriendListReq {} diff --git a/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.pb.go b/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.pb.go new file mode 100644 index 00000000..ece859d9 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerAskFriendListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4066 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPlayerAskFriendListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + AskFriendList []*FriendBrief `protobuf:"bytes,15,rep,name=ask_friend_list,json=askFriendList,proto3" json:"ask_friend_list,omitempty"` +} + +func (x *GetPlayerAskFriendListRsp) Reset() { + *x = GetPlayerAskFriendListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerAskFriendListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerAskFriendListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerAskFriendListRsp) ProtoMessage() {} + +func (x *GetPlayerAskFriendListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerAskFriendListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerAskFriendListRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerAskFriendListRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerAskFriendListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerAskFriendListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPlayerAskFriendListRsp) GetAskFriendList() []*FriendBrief { + if x != nil { + return x.AskFriendList + } + return nil +} + +var File_GetPlayerAskFriendListRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerAskFriendListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x73, 0x6b, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x41, 0x73, 0x6b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x0f, 0x61, + 0x73, 0x6b, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, + 0x65, 0x66, 0x52, 0x0d, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerAskFriendListRsp_proto_rawDescOnce sync.Once + file_GetPlayerAskFriendListRsp_proto_rawDescData = file_GetPlayerAskFriendListRsp_proto_rawDesc +) + +func file_GetPlayerAskFriendListRsp_proto_rawDescGZIP() []byte { + file_GetPlayerAskFriendListRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerAskFriendListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerAskFriendListRsp_proto_rawDescData) + }) + return file_GetPlayerAskFriendListRsp_proto_rawDescData +} + +var file_GetPlayerAskFriendListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerAskFriendListRsp_proto_goTypes = []interface{}{ + (*GetPlayerAskFriendListRsp)(nil), // 0: GetPlayerAskFriendListRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_GetPlayerAskFriendListRsp_proto_depIdxs = []int32{ + 1, // 0: GetPlayerAskFriendListRsp.ask_friend_list:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetPlayerAskFriendListRsp_proto_init() } +func file_GetPlayerAskFriendListRsp_proto_init() { + if File_GetPlayerAskFriendListRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetPlayerAskFriendListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerAskFriendListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerAskFriendListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerAskFriendListRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerAskFriendListRsp_proto_depIdxs, + MessageInfos: file_GetPlayerAskFriendListRsp_proto_msgTypes, + }.Build() + File_GetPlayerAskFriendListRsp_proto = out.File + file_GetPlayerAskFriendListRsp_proto_rawDesc = nil + file_GetPlayerAskFriendListRsp_proto_goTypes = nil + file_GetPlayerAskFriendListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.proto b/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.proto new file mode 100644 index 00000000..8926631c --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerAskFriendListRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4066 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPlayerAskFriendListRsp { + int32 retcode = 13; + repeated FriendBrief ask_friend_list = 15; +} diff --git a/gate-hk4e-api/proto/GetPlayerBlacklistReq.pb.go b/gate-hk4e-api/proto/GetPlayerBlacklistReq.pb.go new file mode 100644 index 00000000..5c8c5d0d --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerBlacklistReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerBlacklistReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4049 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerBlacklistReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPlayerBlacklistReq) Reset() { + *x = GetPlayerBlacklistReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerBlacklistReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerBlacklistReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerBlacklistReq) ProtoMessage() {} + +func (x *GetPlayerBlacklistReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerBlacklistReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerBlacklistReq.ProtoReflect.Descriptor instead. +func (*GetPlayerBlacklistReq) Descriptor() ([]byte, []int) { + return file_GetPlayerBlacklistReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetPlayerBlacklistReq_proto protoreflect.FileDescriptor + +var file_GetPlayerBlacklistReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x61, 0x63, 0x6b, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerBlacklistReq_proto_rawDescOnce sync.Once + file_GetPlayerBlacklistReq_proto_rawDescData = file_GetPlayerBlacklistReq_proto_rawDesc +) + +func file_GetPlayerBlacklistReq_proto_rawDescGZIP() []byte { + file_GetPlayerBlacklistReq_proto_rawDescOnce.Do(func() { + file_GetPlayerBlacklistReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerBlacklistReq_proto_rawDescData) + }) + return file_GetPlayerBlacklistReq_proto_rawDescData +} + +var file_GetPlayerBlacklistReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerBlacklistReq_proto_goTypes = []interface{}{ + (*GetPlayerBlacklistReq)(nil), // 0: GetPlayerBlacklistReq +} +var file_GetPlayerBlacklistReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerBlacklistReq_proto_init() } +func file_GetPlayerBlacklistReq_proto_init() { + if File_GetPlayerBlacklistReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerBlacklistReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerBlacklistReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerBlacklistReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerBlacklistReq_proto_goTypes, + DependencyIndexes: file_GetPlayerBlacklistReq_proto_depIdxs, + MessageInfos: file_GetPlayerBlacklistReq_proto_msgTypes, + }.Build() + File_GetPlayerBlacklistReq_proto = out.File + file_GetPlayerBlacklistReq_proto_rawDesc = nil + file_GetPlayerBlacklistReq_proto_goTypes = nil + file_GetPlayerBlacklistReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerBlacklistReq.proto b/gate-hk4e-api/proto/GetPlayerBlacklistReq.proto new file mode 100644 index 00000000..9f698085 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerBlacklistReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4049 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerBlacklistReq {} diff --git a/gate-hk4e-api/proto/GetPlayerBlacklistRsp.pb.go b/gate-hk4e-api/proto/GetPlayerBlacklistRsp.pb.go new file mode 100644 index 00000000..a81d4d09 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerBlacklistRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerBlacklistRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4091 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPlayerBlacklistRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + Blacklist []*FriendBrief `protobuf:"bytes,3,rep,name=blacklist,proto3" json:"blacklist,omitempty"` +} + +func (x *GetPlayerBlacklistRsp) Reset() { + *x = GetPlayerBlacklistRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerBlacklistRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerBlacklistRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerBlacklistRsp) ProtoMessage() {} + +func (x *GetPlayerBlacklistRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerBlacklistRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerBlacklistRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerBlacklistRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerBlacklistRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerBlacklistRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPlayerBlacklistRsp) GetBlacklist() []*FriendBrief { + if x != nil { + return x.Blacklist + } + return nil +} + +var File_GetPlayerBlacklistRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerBlacklistRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x61, 0x63, 0x6b, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6c, 0x61, + 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x52, 0x09, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerBlacklistRsp_proto_rawDescOnce sync.Once + file_GetPlayerBlacklistRsp_proto_rawDescData = file_GetPlayerBlacklistRsp_proto_rawDesc +) + +func file_GetPlayerBlacklistRsp_proto_rawDescGZIP() []byte { + file_GetPlayerBlacklistRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerBlacklistRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerBlacklistRsp_proto_rawDescData) + }) + return file_GetPlayerBlacklistRsp_proto_rawDescData +} + +var file_GetPlayerBlacklistRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerBlacklistRsp_proto_goTypes = []interface{}{ + (*GetPlayerBlacklistRsp)(nil), // 0: GetPlayerBlacklistRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_GetPlayerBlacklistRsp_proto_depIdxs = []int32{ + 1, // 0: GetPlayerBlacklistRsp.blacklist:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetPlayerBlacklistRsp_proto_init() } +func file_GetPlayerBlacklistRsp_proto_init() { + if File_GetPlayerBlacklistRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetPlayerBlacklistRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerBlacklistRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerBlacklistRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerBlacklistRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerBlacklistRsp_proto_depIdxs, + MessageInfos: file_GetPlayerBlacklistRsp_proto_msgTypes, + }.Build() + File_GetPlayerBlacklistRsp_proto = out.File + file_GetPlayerBlacklistRsp_proto_rawDesc = nil + file_GetPlayerBlacklistRsp_proto_goTypes = nil + file_GetPlayerBlacklistRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerBlacklistRsp.proto b/gate-hk4e-api/proto/GetPlayerBlacklistRsp.proto new file mode 100644 index 00000000..a6a9c41c --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerBlacklistRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4091 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPlayerBlacklistRsp { + int32 retcode = 2; + repeated FriendBrief blacklist = 3; +} diff --git a/gate-hk4e-api/proto/GetPlayerFriendListReq.pb.go b/gate-hk4e-api/proto/GetPlayerFriendListReq.pb.go new file mode 100644 index 00000000..9fd344d6 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerFriendListReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerFriendListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4072 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerFriendListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPlayerFriendListReq) Reset() { + *x = GetPlayerFriendListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerFriendListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerFriendListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerFriendListReq) ProtoMessage() {} + +func (x *GetPlayerFriendListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerFriendListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerFriendListReq.ProtoReflect.Descriptor instead. +func (*GetPlayerFriendListReq) Descriptor() ([]byte, []int) { + return file_GetPlayerFriendListReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetPlayerFriendListReq_proto protoreflect.FileDescriptor + +var file_GetPlayerFriendListReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerFriendListReq_proto_rawDescOnce sync.Once + file_GetPlayerFriendListReq_proto_rawDescData = file_GetPlayerFriendListReq_proto_rawDesc +) + +func file_GetPlayerFriendListReq_proto_rawDescGZIP() []byte { + file_GetPlayerFriendListReq_proto_rawDescOnce.Do(func() { + file_GetPlayerFriendListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerFriendListReq_proto_rawDescData) + }) + return file_GetPlayerFriendListReq_proto_rawDescData +} + +var file_GetPlayerFriendListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerFriendListReq_proto_goTypes = []interface{}{ + (*GetPlayerFriendListReq)(nil), // 0: GetPlayerFriendListReq +} +var file_GetPlayerFriendListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerFriendListReq_proto_init() } +func file_GetPlayerFriendListReq_proto_init() { + if File_GetPlayerFriendListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerFriendListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerFriendListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerFriendListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerFriendListReq_proto_goTypes, + DependencyIndexes: file_GetPlayerFriendListReq_proto_depIdxs, + MessageInfos: file_GetPlayerFriendListReq_proto_msgTypes, + }.Build() + File_GetPlayerFriendListReq_proto = out.File + file_GetPlayerFriendListReq_proto_rawDesc = nil + file_GetPlayerFriendListReq_proto_goTypes = nil + file_GetPlayerFriendListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerFriendListReq.proto b/gate-hk4e-api/proto/GetPlayerFriendListReq.proto new file mode 100644 index 00000000..35e264a3 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerFriendListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4072 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerFriendListReq {} diff --git a/gate-hk4e-api/proto/GetPlayerFriendListRsp.pb.go b/gate-hk4e-api/proto/GetPlayerFriendListRsp.pb.go new file mode 100644 index 00000000..88a179ed --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerFriendListRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerFriendListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4098 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerFriendListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + AskFriendList []*FriendBrief `protobuf:"bytes,8,rep,name=ask_friend_list,json=askFriendList,proto3" json:"ask_friend_list,omitempty"` + FriendList []*FriendBrief `protobuf:"bytes,14,rep,name=friend_list,json=friendList,proto3" json:"friend_list,omitempty"` +} + +func (x *GetPlayerFriendListRsp) Reset() { + *x = GetPlayerFriendListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerFriendListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerFriendListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerFriendListRsp) ProtoMessage() {} + +func (x *GetPlayerFriendListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerFriendListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerFriendListRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerFriendListRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerFriendListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerFriendListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPlayerFriendListRsp) GetAskFriendList() []*FriendBrief { + if x != nil { + return x.AskFriendList + } + return nil +} + +func (x *GetPlayerFriendListRsp) GetFriendList() []*FriendBrief { + if x != nil { + return x.FriendList + } + return nil +} + +var File_GetPlayerFriendListRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerFriendListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x0f, 0x61, 0x73, 0x6b, 0x5f, 0x66, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x0d, 0x61, + 0x73, 0x6b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x0b, + 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, + 0x0a, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerFriendListRsp_proto_rawDescOnce sync.Once + file_GetPlayerFriendListRsp_proto_rawDescData = file_GetPlayerFriendListRsp_proto_rawDesc +) + +func file_GetPlayerFriendListRsp_proto_rawDescGZIP() []byte { + file_GetPlayerFriendListRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerFriendListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerFriendListRsp_proto_rawDescData) + }) + return file_GetPlayerFriendListRsp_proto_rawDescData +} + +var file_GetPlayerFriendListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerFriendListRsp_proto_goTypes = []interface{}{ + (*GetPlayerFriendListRsp)(nil), // 0: GetPlayerFriendListRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_GetPlayerFriendListRsp_proto_depIdxs = []int32{ + 1, // 0: GetPlayerFriendListRsp.ask_friend_list:type_name -> FriendBrief + 1, // 1: GetPlayerFriendListRsp.friend_list:type_name -> FriendBrief + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_GetPlayerFriendListRsp_proto_init() } +func file_GetPlayerFriendListRsp_proto_init() { + if File_GetPlayerFriendListRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetPlayerFriendListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerFriendListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerFriendListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerFriendListRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerFriendListRsp_proto_depIdxs, + MessageInfos: file_GetPlayerFriendListRsp_proto_msgTypes, + }.Build() + File_GetPlayerFriendListRsp_proto = out.File + file_GetPlayerFriendListRsp_proto_rawDesc = nil + file_GetPlayerFriendListRsp_proto_goTypes = nil + file_GetPlayerFriendListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerFriendListRsp.proto b/gate-hk4e-api/proto/GetPlayerFriendListRsp.proto new file mode 100644 index 00000000..221010f3 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerFriendListRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4098 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerFriendListRsp { + int32 retcode = 9; + repeated FriendBrief ask_friend_list = 8; + repeated FriendBrief friend_list = 14; +} diff --git a/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.pb.go b/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.pb.go new file mode 100644 index 00000000..08ac75c1 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerHomeCompInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerHomeCompInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPlayerHomeCompInfoReq) Reset() { + *x = GetPlayerHomeCompInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerHomeCompInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerHomeCompInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerHomeCompInfoReq) ProtoMessage() {} + +func (x *GetPlayerHomeCompInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerHomeCompInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerHomeCompInfoReq.ProtoReflect.Descriptor instead. +func (*GetPlayerHomeCompInfoReq) Descriptor() ([]byte, []int) { + return file_GetPlayerHomeCompInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetPlayerHomeCompInfoReq_proto protoreflect.FileDescriptor + +var file_GetPlayerHomeCompInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, + 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerHomeCompInfoReq_proto_rawDescOnce sync.Once + file_GetPlayerHomeCompInfoReq_proto_rawDescData = file_GetPlayerHomeCompInfoReq_proto_rawDesc +) + +func file_GetPlayerHomeCompInfoReq_proto_rawDescGZIP() []byte { + file_GetPlayerHomeCompInfoReq_proto_rawDescOnce.Do(func() { + file_GetPlayerHomeCompInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerHomeCompInfoReq_proto_rawDescData) + }) + return file_GetPlayerHomeCompInfoReq_proto_rawDescData +} + +var file_GetPlayerHomeCompInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerHomeCompInfoReq_proto_goTypes = []interface{}{ + (*GetPlayerHomeCompInfoReq)(nil), // 0: GetPlayerHomeCompInfoReq +} +var file_GetPlayerHomeCompInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerHomeCompInfoReq_proto_init() } +func file_GetPlayerHomeCompInfoReq_proto_init() { + if File_GetPlayerHomeCompInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerHomeCompInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerHomeCompInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerHomeCompInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerHomeCompInfoReq_proto_goTypes, + DependencyIndexes: file_GetPlayerHomeCompInfoReq_proto_depIdxs, + MessageInfos: file_GetPlayerHomeCompInfoReq_proto_msgTypes, + }.Build() + File_GetPlayerHomeCompInfoReq_proto = out.File + file_GetPlayerHomeCompInfoReq_proto_rawDesc = nil + file_GetPlayerHomeCompInfoReq_proto_goTypes = nil + file_GetPlayerHomeCompInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.proto b/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.proto new file mode 100644 index 00000000..f3c15686 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerHomeCompInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerHomeCompInfoReq {} diff --git a/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.pb.go b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.pb.go new file mode 100644 index 00000000..e51fafcc --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerMpModeAvailabilityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerMpModeAvailabilityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPlayerMpModeAvailabilityReq) Reset() { + *x = GetPlayerMpModeAvailabilityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerMpModeAvailabilityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerMpModeAvailabilityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerMpModeAvailabilityReq) ProtoMessage() {} + +func (x *GetPlayerMpModeAvailabilityReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerMpModeAvailabilityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerMpModeAvailabilityReq.ProtoReflect.Descriptor instead. +func (*GetPlayerMpModeAvailabilityReq) Descriptor() ([]byte, []int) { + return file_GetPlayerMpModeAvailabilityReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetPlayerMpModeAvailabilityReq_proto protoreflect.FileDescriptor + +var file_GetPlayerMpModeAvailabilityReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x70, 0x4d, 0x6f, 0x64, + 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4d, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerMpModeAvailabilityReq_proto_rawDescOnce sync.Once + file_GetPlayerMpModeAvailabilityReq_proto_rawDescData = file_GetPlayerMpModeAvailabilityReq_proto_rawDesc +) + +func file_GetPlayerMpModeAvailabilityReq_proto_rawDescGZIP() []byte { + file_GetPlayerMpModeAvailabilityReq_proto_rawDescOnce.Do(func() { + file_GetPlayerMpModeAvailabilityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerMpModeAvailabilityReq_proto_rawDescData) + }) + return file_GetPlayerMpModeAvailabilityReq_proto_rawDescData +} + +var file_GetPlayerMpModeAvailabilityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerMpModeAvailabilityReq_proto_goTypes = []interface{}{ + (*GetPlayerMpModeAvailabilityReq)(nil), // 0: GetPlayerMpModeAvailabilityReq +} +var file_GetPlayerMpModeAvailabilityReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerMpModeAvailabilityReq_proto_init() } +func file_GetPlayerMpModeAvailabilityReq_proto_init() { + if File_GetPlayerMpModeAvailabilityReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerMpModeAvailabilityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerMpModeAvailabilityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerMpModeAvailabilityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerMpModeAvailabilityReq_proto_goTypes, + DependencyIndexes: file_GetPlayerMpModeAvailabilityReq_proto_depIdxs, + MessageInfos: file_GetPlayerMpModeAvailabilityReq_proto_msgTypes, + }.Build() + File_GetPlayerMpModeAvailabilityReq_proto = out.File + file_GetPlayerMpModeAvailabilityReq_proto_rawDesc = nil + file_GetPlayerMpModeAvailabilityReq_proto_goTypes = nil + file_GetPlayerMpModeAvailabilityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.proto b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.proto new file mode 100644 index 00000000..6f9d255e --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerMpModeAvailabilityReq {} diff --git a/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.pb.go b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.pb.go new file mode 100644 index 00000000..eae94977 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerMpModeAvailabilityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1849 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPlayerMpModeAvailabilityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpRet int32 `protobuf:"varint,15,opt,name=mp_ret,json=mpRet,proto3" json:"mp_ret,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + ParamList []uint32 `protobuf:"varint,8,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` +} + +func (x *GetPlayerMpModeAvailabilityRsp) Reset() { + *x = GetPlayerMpModeAvailabilityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerMpModeAvailabilityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerMpModeAvailabilityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerMpModeAvailabilityRsp) ProtoMessage() {} + +func (x *GetPlayerMpModeAvailabilityRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerMpModeAvailabilityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerMpModeAvailabilityRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerMpModeAvailabilityRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerMpModeAvailabilityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerMpModeAvailabilityRsp) GetMpRet() int32 { + if x != nil { + return x.MpRet + } + return 0 +} + +func (x *GetPlayerMpModeAvailabilityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPlayerMpModeAvailabilityRsp) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +var File_GetPlayerMpModeAvailabilityRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerMpModeAvailabilityRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x70, 0x4d, 0x6f, 0x64, + 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4d, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x70, 0x5f, 0x72, + 0x65, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x70, 0x52, 0x65, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerMpModeAvailabilityRsp_proto_rawDescOnce sync.Once + file_GetPlayerMpModeAvailabilityRsp_proto_rawDescData = file_GetPlayerMpModeAvailabilityRsp_proto_rawDesc +) + +func file_GetPlayerMpModeAvailabilityRsp_proto_rawDescGZIP() []byte { + file_GetPlayerMpModeAvailabilityRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerMpModeAvailabilityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerMpModeAvailabilityRsp_proto_rawDescData) + }) + return file_GetPlayerMpModeAvailabilityRsp_proto_rawDescData +} + +var file_GetPlayerMpModeAvailabilityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerMpModeAvailabilityRsp_proto_goTypes = []interface{}{ + (*GetPlayerMpModeAvailabilityRsp)(nil), // 0: GetPlayerMpModeAvailabilityRsp +} +var file_GetPlayerMpModeAvailabilityRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerMpModeAvailabilityRsp_proto_init() } +func file_GetPlayerMpModeAvailabilityRsp_proto_init() { + if File_GetPlayerMpModeAvailabilityRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerMpModeAvailabilityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerMpModeAvailabilityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerMpModeAvailabilityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerMpModeAvailabilityRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerMpModeAvailabilityRsp_proto_depIdxs, + MessageInfos: file_GetPlayerMpModeAvailabilityRsp_proto_msgTypes, + }.Build() + File_GetPlayerMpModeAvailabilityRsp_proto = out.File + file_GetPlayerMpModeAvailabilityRsp_proto_rawDesc = nil + file_GetPlayerMpModeAvailabilityRsp_proto_goTypes = nil + file_GetPlayerMpModeAvailabilityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.proto b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.proto new file mode 100644 index 00000000..a211e064 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerMpModeAvailabilityRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1849 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPlayerMpModeAvailabilityRsp { + int32 mp_ret = 15; + int32 retcode = 2; + repeated uint32 param_list = 8; +} diff --git a/gate-hk4e-api/proto/GetPlayerSocialDetailReq.pb.go b/gate-hk4e-api/proto/GetPlayerSocialDetailReq.pb.go new file mode 100644 index 00000000..6077dba8 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerSocialDetailReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerSocialDetailReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerSocialDetailReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,9,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GetPlayerSocialDetailReq) Reset() { + *x = GetPlayerSocialDetailReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerSocialDetailReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerSocialDetailReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerSocialDetailReq) ProtoMessage() {} + +func (x *GetPlayerSocialDetailReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerSocialDetailReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerSocialDetailReq.ProtoReflect.Descriptor instead. +func (*GetPlayerSocialDetailReq) Descriptor() ([]byte, []int) { + return file_GetPlayerSocialDetailReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerSocialDetailReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GetPlayerSocialDetailReq_proto protoreflect.FileDescriptor + +var file_GetPlayerSocialDetailReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x63, 0x69, 0x61, + 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x2c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x63, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetPlayerSocialDetailReq_proto_rawDescOnce sync.Once + file_GetPlayerSocialDetailReq_proto_rawDescData = file_GetPlayerSocialDetailReq_proto_rawDesc +) + +func file_GetPlayerSocialDetailReq_proto_rawDescGZIP() []byte { + file_GetPlayerSocialDetailReq_proto_rawDescOnce.Do(func() { + file_GetPlayerSocialDetailReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerSocialDetailReq_proto_rawDescData) + }) + return file_GetPlayerSocialDetailReq_proto_rawDescData +} + +var file_GetPlayerSocialDetailReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerSocialDetailReq_proto_goTypes = []interface{}{ + (*GetPlayerSocialDetailReq)(nil), // 0: GetPlayerSocialDetailReq +} +var file_GetPlayerSocialDetailReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerSocialDetailReq_proto_init() } +func file_GetPlayerSocialDetailReq_proto_init() { + if File_GetPlayerSocialDetailReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerSocialDetailReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerSocialDetailReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerSocialDetailReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerSocialDetailReq_proto_goTypes, + DependencyIndexes: file_GetPlayerSocialDetailReq_proto_depIdxs, + MessageInfos: file_GetPlayerSocialDetailReq_proto_msgTypes, + }.Build() + File_GetPlayerSocialDetailReq_proto = out.File + file_GetPlayerSocialDetailReq_proto_rawDesc = nil + file_GetPlayerSocialDetailReq_proto_goTypes = nil + file_GetPlayerSocialDetailReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerSocialDetailReq.proto b/gate-hk4e-api/proto/GetPlayerSocialDetailReq.proto new file mode 100644 index 00000000..b19d3aa6 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerSocialDetailReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerSocialDetailReq { + uint32 uid = 9; +} diff --git a/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.pb.go b/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.pb.go new file mode 100644 index 00000000..3beb4fb5 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerSocialDetailRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4099 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPlayerSocialDetailRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DetailData *SocialDetail `protobuf:"bytes,12,opt,name=detail_data,json=detailData,proto3" json:"detail_data,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetPlayerSocialDetailRsp) Reset() { + *x = GetPlayerSocialDetailRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerSocialDetailRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerSocialDetailRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerSocialDetailRsp) ProtoMessage() {} + +func (x *GetPlayerSocialDetailRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerSocialDetailRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerSocialDetailRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerSocialDetailRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerSocialDetailRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerSocialDetailRsp) GetDetailData() *SocialDetail { + if x != nil { + return x.DetailData + } + return nil +} + +func (x *GetPlayerSocialDetailRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetPlayerSocialDetailRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerSocialDetailRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x63, 0x69, 0x61, + 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x73, 0x70, + 0x12, 0x2e, 0x0a, 0x0b, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0a, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerSocialDetailRsp_proto_rawDescOnce sync.Once + file_GetPlayerSocialDetailRsp_proto_rawDescData = file_GetPlayerSocialDetailRsp_proto_rawDesc +) + +func file_GetPlayerSocialDetailRsp_proto_rawDescGZIP() []byte { + file_GetPlayerSocialDetailRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerSocialDetailRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerSocialDetailRsp_proto_rawDescData) + }) + return file_GetPlayerSocialDetailRsp_proto_rawDescData +} + +var file_GetPlayerSocialDetailRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerSocialDetailRsp_proto_goTypes = []interface{}{ + (*GetPlayerSocialDetailRsp)(nil), // 0: GetPlayerSocialDetailRsp + (*SocialDetail)(nil), // 1: SocialDetail +} +var file_GetPlayerSocialDetailRsp_proto_depIdxs = []int32{ + 1, // 0: GetPlayerSocialDetailRsp.detail_data:type_name -> SocialDetail + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetPlayerSocialDetailRsp_proto_init() } +func file_GetPlayerSocialDetailRsp_proto_init() { + if File_GetPlayerSocialDetailRsp_proto != nil { + return + } + file_SocialDetail_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetPlayerSocialDetailRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerSocialDetailRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerSocialDetailRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerSocialDetailRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerSocialDetailRsp_proto_depIdxs, + MessageInfos: file_GetPlayerSocialDetailRsp_proto_msgTypes, + }.Build() + File_GetPlayerSocialDetailRsp_proto = out.File + file_GetPlayerSocialDetailRsp_proto_rawDesc = nil + file_GetPlayerSocialDetailRsp_proto_goTypes = nil + file_GetPlayerSocialDetailRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.proto b/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.proto new file mode 100644 index 00000000..846fc8ce --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerSocialDetailRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SocialDetail.proto"; + +option go_package = "./;proto"; + +// CmdId: 4099 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPlayerSocialDetailRsp { + SocialDetail detail_data = 12; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/GetPlayerTokenReq.pb.go b/gate-hk4e-api/proto/GetPlayerTokenReq.pb.go new file mode 100644 index 00000000..0eff28f0 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerTokenReq.pb.go @@ -0,0 +1,343 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerTokenReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPlayerTokenReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountToken string `protobuf:"bytes,10,opt,name=account_token,json=accountToken,proto3" json:"account_token,omitempty"` + AccountUid string `protobuf:"bytes,11,opt,name=account_uid,json=accountUid,proto3" json:"account_uid,omitempty"` + PsnRegion string `protobuf:"bytes,4,opt,name=psn_region,json=psnRegion,proto3" json:"psn_region,omitempty"` + OnlineId string `protobuf:"bytes,7,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + ChannelId uint32 `protobuf:"varint,15,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + AccountExt string `protobuf:"bytes,9,opt,name=account_ext,json=accountExt,proto3" json:"account_ext,omitempty"` + CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + ClientSeed string `protobuf:"bytes,760,opt,name=client_seed,json=clientSeed,proto3" json:"client_seed,omitempty"` + IsGuest bool `protobuf:"varint,6,opt,name=is_guest,json=isGuest,proto3" json:"is_guest,omitempty"` + Birthday string `protobuf:"bytes,1718,opt,name=birthday,proto3" json:"birthday,omitempty"` + SubChannelId uint32 `protobuf:"varint,8,opt,name=sub_channel_id,json=subChannelId,proto3" json:"sub_channel_id,omitempty"` + PlatformType uint32 `protobuf:"varint,12,opt,name=platform_type,json=platformType,proto3" json:"platform_type,omitempty"` + ClientIpStr string `protobuf:"bytes,3,opt,name=client_ip_str,json=clientIpStr,proto3" json:"client_ip_str,omitempty"` + PsnId string `protobuf:"bytes,13,opt,name=psn_id,json=psnId,proto3" json:"psn_id,omitempty"` + AccountType uint32 `protobuf:"varint,1,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"` + Unk2700_NOJPEHIBDJH uint32 `protobuf:"varint,995,opt,name=Unk2700_NOJPEHIBDJH,json=Unk2700NOJPEHIBDJH,proto3" json:"Unk2700_NOJPEHIBDJH,omitempty"` + CloudClientIp uint32 `protobuf:"varint,14,opt,name=cloud_client_ip,json=cloudClientIp,proto3" json:"cloud_client_ip,omitempty"` + KeyId uint32 `protobuf:"varint,1787,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GetPlayerTokenReq) Reset() { + *x = GetPlayerTokenReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerTokenReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerTokenReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerTokenReq) ProtoMessage() {} + +func (x *GetPlayerTokenReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerTokenReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerTokenReq.ProtoReflect.Descriptor instead. +func (*GetPlayerTokenReq) Descriptor() ([]byte, []int) { + return file_GetPlayerTokenReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerTokenReq) GetAccountToken() string { + if x != nil { + return x.AccountToken + } + return "" +} + +func (x *GetPlayerTokenReq) GetAccountUid() string { + if x != nil { + return x.AccountUid + } + return "" +} + +func (x *GetPlayerTokenReq) GetPsnRegion() string { + if x != nil { + return x.PsnRegion + } + return "" +} + +func (x *GetPlayerTokenReq) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *GetPlayerTokenReq) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +func (x *GetPlayerTokenReq) GetAccountExt() string { + if x != nil { + return x.AccountExt + } + return "" +} + +func (x *GetPlayerTokenReq) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" +} + +func (x *GetPlayerTokenReq) GetClientSeed() string { + if x != nil { + return x.ClientSeed + } + return "" +} + +func (x *GetPlayerTokenReq) GetIsGuest() bool { + if x != nil { + return x.IsGuest + } + return false +} + +func (x *GetPlayerTokenReq) GetBirthday() string { + if x != nil { + return x.Birthday + } + return "" +} + +func (x *GetPlayerTokenReq) GetSubChannelId() uint32 { + if x != nil { + return x.SubChannelId + } + return 0 +} + +func (x *GetPlayerTokenReq) GetPlatformType() uint32 { + if x != nil { + return x.PlatformType + } + return 0 +} + +func (x *GetPlayerTokenReq) GetClientIpStr() string { + if x != nil { + return x.ClientIpStr + } + return "" +} + +func (x *GetPlayerTokenReq) GetPsnId() string { + if x != nil { + return x.PsnId + } + return "" +} + +func (x *GetPlayerTokenReq) GetAccountType() uint32 { + if x != nil { + return x.AccountType + } + return 0 +} + +func (x *GetPlayerTokenReq) GetUnk2700_NOJPEHIBDJH() uint32 { + if x != nil { + return x.Unk2700_NOJPEHIBDJH + } + return 0 +} + +func (x *GetPlayerTokenReq) GetCloudClientIp() uint32 { + if x != nil { + return x.CloudClientIp + } + return 0 +} + +func (x *GetPlayerTokenReq) GetKeyId() uint32 { + if x != nil { + return x.KeyId + } + return 0 +} + +func (x *GetPlayerTokenReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GetPlayerTokenReq_proto protoreflect.FileDescriptor + +var file_GetPlayerTokenReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x04, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, + 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x73, 0x6e, 0x5f, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x73, 0x6e, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x78, + 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, + 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, + 0x65, 0x65, 0x64, 0x18, 0xf8, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x53, 0x65, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x67, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x47, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0xb6, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x24, + 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x53, 0x74, 0x72, 0x12, 0x15, 0x0a, + 0x06, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, + 0x73, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x4a, 0x50, 0x45, 0x48, 0x49, 0x42, 0x44, 0x4a, 0x48, 0x18, 0xe3, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x4f, + 0x4a, 0x50, 0x45, 0x48, 0x49, 0x42, 0x44, 0x4a, 0x48, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, + 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0xfb, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerTokenReq_proto_rawDescOnce sync.Once + file_GetPlayerTokenReq_proto_rawDescData = file_GetPlayerTokenReq_proto_rawDesc +) + +func file_GetPlayerTokenReq_proto_rawDescGZIP() []byte { + file_GetPlayerTokenReq_proto_rawDescOnce.Do(func() { + file_GetPlayerTokenReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerTokenReq_proto_rawDescData) + }) + return file_GetPlayerTokenReq_proto_rawDescData +} + +var file_GetPlayerTokenReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerTokenReq_proto_goTypes = []interface{}{ + (*GetPlayerTokenReq)(nil), // 0: GetPlayerTokenReq +} +var file_GetPlayerTokenReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerTokenReq_proto_init() } +func file_GetPlayerTokenReq_proto_init() { + if File_GetPlayerTokenReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerTokenReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerTokenReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerTokenReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerTokenReq_proto_goTypes, + DependencyIndexes: file_GetPlayerTokenReq_proto_depIdxs, + MessageInfos: file_GetPlayerTokenReq_proto_msgTypes, + }.Build() + File_GetPlayerTokenReq_proto = out.File + file_GetPlayerTokenReq_proto_rawDesc = nil + file_GetPlayerTokenReq_proto_goTypes = nil + file_GetPlayerTokenReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerTokenReq.proto b/gate-hk4e-api/proto/GetPlayerTokenReq.proto new file mode 100644 index 00000000..feb0a644 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerTokenReq.proto @@ -0,0 +1,45 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPlayerTokenReq { + string account_token = 10; + string account_uid = 11; + string psn_region = 4; + string online_id = 7; + uint32 channel_id = 15; + string account_ext = 9; + string country_code = 5; + string client_seed = 760; + bool is_guest = 6; + string birthday = 1718; + uint32 sub_channel_id = 8; + uint32 platform_type = 12; + string client_ip_str = 3; + string psn_id = 13; + uint32 account_type = 1; + uint32 Unk2700_NOJPEHIBDJH = 995; + uint32 cloud_client_ip = 14; + uint32 key_id = 1787; + uint32 uid = 2; +} diff --git a/gate-hk4e-api/proto/GetPlayerTokenRsp.pb.go b/gate-hk4e-api/proto/GetPlayerTokenRsp.pb.go new file mode 100644 index 00000000..683aa3a2 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerTokenRsp.pb.go @@ -0,0 +1,470 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPlayerTokenRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 198 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPlayerTokenRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Birthday string `protobuf:"bytes,937,opt,name=birthday,proto3" json:"birthday,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + SecurityCmdBuffer []byte `protobuf:"bytes,6,opt,name=security_cmd_buffer,json=securityCmdBuffer,proto3" json:"security_cmd_buffer,omitempty"` + SecretKeySeed uint64 `protobuf:"varint,13,opt,name=secret_key_seed,json=secretKeySeed,proto3" json:"secret_key_seed,omitempty"` + CountryCode string `protobuf:"bytes,2013,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + ExtraBinData []byte `protobuf:"bytes,3,opt,name=extra_bin_data,json=extraBinData,proto3" json:"extra_bin_data,omitempty"` + SecretKey string `protobuf:"bytes,15,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` + Unk2700_NOJPEHIBDJH uint32 `protobuf:"varint,1561,opt,name=Unk2700_NOJPEHIBDJH,json=Unk2700NOJPEHIBDJH,proto3" json:"Unk2700_NOJPEHIBDJH,omitempty"` + BlackUidEndTime uint32 `protobuf:"varint,14,opt,name=black_uid_end_time,json=blackUidEndTime,proto3" json:"black_uid_end_time,omitempty"` + Tag uint32 `protobuf:"varint,1635,opt,name=tag,proto3" json:"tag,omitempty"` + Token string `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty"` + GmUid uint32 `protobuf:"varint,10,opt,name=gm_uid,json=gmUid,proto3" json:"gm_uid,omitempty"` + ChannelId uint32 `protobuf:"varint,896,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + PsnId string `protobuf:"bytes,1811,opt,name=psn_id,json=psnId,proto3" json:"psn_id,omitempty"` + ClientIpStr string `protobuf:"bytes,860,opt,name=client_ip_str,json=clientIpStr,proto3" json:"client_ip_str,omitempty"` + Msg string `protobuf:"bytes,7,opt,name=msg,proto3" json:"msg,omitempty"` + AccountType uint32 `protobuf:"varint,5,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"` + SubChannelId uint32 `protobuf:"varint,1802,opt,name=sub_channel_id,json=subChannelId,proto3" json:"sub_channel_id,omitempty"` + Unk2700_FLBKPCPGPDH bool `protobuf:"varint,2028,opt,name=Unk2700_FLBKPCPGPDH,json=Unk2700FLBKPCPGPDH,proto3" json:"Unk2700_FLBKPCPGPDH,omitempty"` + EncryptedSeed string `protobuf:"bytes,1493,opt,name=encrypted_seed,json=encryptedSeed,proto3" json:"encrypted_seed,omitempty"` + IsProficientPlayer bool `protobuf:"varint,9,opt,name=is_proficient_player,json=isProficientPlayer,proto3" json:"is_proficient_player,omitempty"` + Unk2800_BPJOBLNCBEI uint32 `protobuf:"varint,1172,opt,name=Unk2800_BPJOBLNCBEI,json=Unk2800BPJOBLNCBEI,proto3" json:"Unk2800_BPJOBLNCBEI,omitempty"` + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + AccountUid string `protobuf:"bytes,12,opt,name=account_uid,json=accountUid,proto3" json:"account_uid,omitempty"` + IsGuest bool `protobuf:"varint,4,opt,name=is_guest,json=isGuest,proto3" json:"is_guest,omitempty"` + ClientVersionRandomKey string `protobuf:"bytes,1529,opt,name=client_version_random_key,json=clientVersionRandomKey,proto3" json:"client_version_random_key,omitempty"` + Unk2800_NNBFCEAOEPB []uint32 `protobuf:"varint,1640,rep,packed,name=Unk2800_NNBFCEAOEPB,json=Unk2800NNBFCEAOEPB,proto3" json:"Unk2800_NNBFCEAOEPB,omitempty"` + PlatformType uint32 `protobuf:"varint,8,opt,name=platform_type,json=platformType,proto3" json:"platform_type,omitempty"` + RegPlatform uint32 `protobuf:"varint,1112,opt,name=reg_platform,json=regPlatform,proto3" json:"reg_platform,omitempty"` + IsLoginWhiteList bool `protobuf:"varint,573,opt,name=is_login_white_list,json=isLoginWhiteList,proto3" json:"is_login_white_list,omitempty"` + SeedSignature string `protobuf:"bytes,1140,opt,name=seed_signature,json=seedSignature,proto3" json:"seed_signature,omitempty"` +} + +func (x *GetPlayerTokenRsp) Reset() { + *x = GetPlayerTokenRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPlayerTokenRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPlayerTokenRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPlayerTokenRsp) ProtoMessage() {} + +func (x *GetPlayerTokenRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPlayerTokenRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPlayerTokenRsp.ProtoReflect.Descriptor instead. +func (*GetPlayerTokenRsp) Descriptor() ([]byte, []int) { + return file_GetPlayerTokenRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPlayerTokenRsp) GetBirthday() string { + if x != nil { + return x.Birthday + } + return "" +} + +func (x *GetPlayerTokenRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetSecurityCmdBuffer() []byte { + if x != nil { + return x.SecurityCmdBuffer + } + return nil +} + +func (x *GetPlayerTokenRsp) GetSecretKeySeed() uint64 { + if x != nil { + return x.SecretKeySeed + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" +} + +func (x *GetPlayerTokenRsp) GetExtraBinData() []byte { + if x != nil { + return x.ExtraBinData + } + return nil +} + +func (x *GetPlayerTokenRsp) GetSecretKey() string { + if x != nil { + return x.SecretKey + } + return "" +} + +func (x *GetPlayerTokenRsp) GetUnk2700_NOJPEHIBDJH() uint32 { + if x != nil { + return x.Unk2700_NOJPEHIBDJH + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetBlackUidEndTime() uint32 { + if x != nil { + return x.BlackUidEndTime + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetTag() uint32 { + if x != nil { + return x.Tag + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *GetPlayerTokenRsp) GetGmUid() uint32 { + if x != nil { + return x.GmUid + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetPsnId() string { + if x != nil { + return x.PsnId + } + return "" +} + +func (x *GetPlayerTokenRsp) GetClientIpStr() string { + if x != nil { + return x.ClientIpStr + } + return "" +} + +func (x *GetPlayerTokenRsp) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *GetPlayerTokenRsp) GetAccountType() uint32 { + if x != nil { + return x.AccountType + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetSubChannelId() uint32 { + if x != nil { + return x.SubChannelId + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetUnk2700_FLBKPCPGPDH() bool { + if x != nil { + return x.Unk2700_FLBKPCPGPDH + } + return false +} + +func (x *GetPlayerTokenRsp) GetEncryptedSeed() string { + if x != nil { + return x.EncryptedSeed + } + return "" +} + +func (x *GetPlayerTokenRsp) GetIsProficientPlayer() bool { + if x != nil { + return x.IsProficientPlayer + } + return false +} + +func (x *GetPlayerTokenRsp) GetUnk2800_BPJOBLNCBEI() uint32 { + if x != nil { + return x.Unk2800_BPJOBLNCBEI + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetAccountUid() string { + if x != nil { + return x.AccountUid + } + return "" +} + +func (x *GetPlayerTokenRsp) GetIsGuest() bool { + if x != nil { + return x.IsGuest + } + return false +} + +func (x *GetPlayerTokenRsp) GetClientVersionRandomKey() string { + if x != nil { + return x.ClientVersionRandomKey + } + return "" +} + +func (x *GetPlayerTokenRsp) GetUnk2800_NNBFCEAOEPB() []uint32 { + if x != nil { + return x.Unk2800_NNBFCEAOEPB + } + return nil +} + +func (x *GetPlayerTokenRsp) GetPlatformType() uint32 { + if x != nil { + return x.PlatformType + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetRegPlatform() uint32 { + if x != nil { + return x.RegPlatform + } + return 0 +} + +func (x *GetPlayerTokenRsp) GetIsLoginWhiteList() bool { + if x != nil { + return x.IsLoginWhiteList + } + return false +} + +func (x *GetPlayerTokenRsp) GetSeedSignature() string { + if x != nil { + return x.SeedSignature + } + return "" +} + +var File_GetPlayerTokenRsp_proto protoreflect.FileDescriptor + +var file_GetPlayerTokenRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x08, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x73, 0x70, 0x12, + 0x1b, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0xa9, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x5f, 0x63, 0x6d, 0x64, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6d, 0x64, + 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x65, 0x64, 0x12, 0x22, + 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0xdd, + 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, + 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x62, 0x69, 0x6e, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x72, + 0x61, 0x42, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x4a, 0x50, 0x45, 0x48, 0x49, 0x42, 0x44, 0x4a, 0x48, 0x18, 0x99, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x4f, + 0x4a, 0x50, 0x45, 0x48, 0x49, 0x42, 0x44, 0x4a, 0x48, 0x12, 0x2b, 0x0a, 0x12, 0x62, 0x6c, 0x61, + 0x63, 0x6b, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x55, 0x69, 0x64, 0x45, + 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x11, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0xe3, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x15, 0x0a, 0x06, 0x67, 0x6d, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x67, 0x6d, 0x55, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x80, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x93, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x73, 0x6e, 0x49, 0x64, 0x12, 0x23, + 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x18, + 0xdc, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, + 0x53, 0x74, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x5f, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x8a, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x42, 0x4b, 0x50, + 0x43, 0x50, 0x47, 0x50, 0x44, 0x48, 0x18, 0xec, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4c, 0x42, 0x4b, 0x50, 0x43, 0x50, 0x47, 0x50, 0x44, + 0x48, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x73, + 0x65, 0x65, 0x64, 0x18, 0xd5, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x53, 0x65, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x73, 0x5f, + 0x70, 0x72, 0x6f, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x66, 0x69, + 0x63, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4a, 0x4f, 0x42, 0x4c, 0x4e, 0x43, 0x42, + 0x45, 0x49, 0x18, 0x94, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x42, 0x50, 0x4a, 0x4f, 0x42, 0x4c, 0x4e, 0x43, 0x42, 0x45, 0x49, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x69, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x47, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, + 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0xf9, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, + 0x6e, 0x64, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x42, 0x46, 0x43, 0x45, 0x41, 0x4f, 0x45, 0x50, 0x42, 0x18, 0xe8, + 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4e, 0x4e, + 0x42, 0x46, 0x43, 0x45, 0x41, 0x4f, 0x45, 0x50, 0x42, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, + 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0xd8, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x77, + 0x68, 0x69, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xbd, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x10, 0x69, 0x73, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x18, 0xf4, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x65, + 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPlayerTokenRsp_proto_rawDescOnce sync.Once + file_GetPlayerTokenRsp_proto_rawDescData = file_GetPlayerTokenRsp_proto_rawDesc +) + +func file_GetPlayerTokenRsp_proto_rawDescGZIP() []byte { + file_GetPlayerTokenRsp_proto_rawDescOnce.Do(func() { + file_GetPlayerTokenRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPlayerTokenRsp_proto_rawDescData) + }) + return file_GetPlayerTokenRsp_proto_rawDescData +} + +var file_GetPlayerTokenRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPlayerTokenRsp_proto_goTypes = []interface{}{ + (*GetPlayerTokenRsp)(nil), // 0: GetPlayerTokenRsp +} +var file_GetPlayerTokenRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPlayerTokenRsp_proto_init() } +func file_GetPlayerTokenRsp_proto_init() { + if File_GetPlayerTokenRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPlayerTokenRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlayerTokenRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPlayerTokenRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPlayerTokenRsp_proto_goTypes, + DependencyIndexes: file_GetPlayerTokenRsp_proto_depIdxs, + MessageInfos: file_GetPlayerTokenRsp_proto_msgTypes, + }.Build() + File_GetPlayerTokenRsp_proto = out.File + file_GetPlayerTokenRsp_proto_rawDesc = nil + file_GetPlayerTokenRsp_proto_goTypes = nil + file_GetPlayerTokenRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPlayerTokenRsp.proto b/gate-hk4e-api/proto/GetPlayerTokenRsp.proto new file mode 100644 index 00000000..10688694 --- /dev/null +++ b/gate-hk4e-api/proto/GetPlayerTokenRsp.proto @@ -0,0 +1,56 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 198 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPlayerTokenRsp { + string birthday = 937; + int32 retcode = 2; + bytes security_cmd_buffer = 6; + uint64 secret_key_seed = 13; + string country_code = 2013; + bytes extra_bin_data = 3; + string secret_key = 15; + uint32 Unk2700_NOJPEHIBDJH = 1561; + uint32 black_uid_end_time = 14; + uint32 tag = 1635; + string token = 11; + uint32 gm_uid = 10; + uint32 channel_id = 896; + string psn_id = 1811; + string client_ip_str = 860; + string msg = 7; + uint32 account_type = 5; + uint32 sub_channel_id = 1802; + bool Unk2700_FLBKPCPGPDH = 2028; + string encrypted_seed = 1493; + bool is_proficient_player = 9; + uint32 Unk2800_BPJOBLNCBEI = 1172; + uint32 uid = 1; + string account_uid = 12; + bool is_guest = 4; + string client_version_random_key = 1529; + repeated uint32 Unk2800_NNBFCEAOEPB = 1640; + uint32 platform_type = 8; + uint32 reg_platform = 1112; + bool is_login_white_list = 573; + string seed_signature = 1140; +} diff --git a/gate-hk4e-api/proto/GetPushTipsRewardReq.pb.go b/gate-hk4e-api/proto/GetPushTipsRewardReq.pb.go new file mode 100644 index 00000000..7cb07628 --- /dev/null +++ b/gate-hk4e-api/proto/GetPushTipsRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPushTipsRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetPushTipsRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsIdList []uint32 `protobuf:"varint,4,rep,packed,name=push_tips_id_list,json=pushTipsIdList,proto3" json:"push_tips_id_list,omitempty"` +} + +func (x *GetPushTipsRewardReq) Reset() { + *x = GetPushTipsRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPushTipsRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPushTipsRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPushTipsRewardReq) ProtoMessage() {} + +func (x *GetPushTipsRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetPushTipsRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPushTipsRewardReq.ProtoReflect.Descriptor instead. +func (*GetPushTipsRewardReq) Descriptor() ([]byte, []int) { + return file_GetPushTipsRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPushTipsRewardReq) GetPushTipsIdList() []uint32 { + if x != nil { + return x.PushTipsIdList + } + return nil +} + +var File_GetPushTipsRewardReq_proto protoreflect.FileDescriptor + +var file_GetPushTipsRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x11, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x70, + 0x73, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0e, 0x70, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GetPushTipsRewardReq_proto_rawDescOnce sync.Once + file_GetPushTipsRewardReq_proto_rawDescData = file_GetPushTipsRewardReq_proto_rawDesc +) + +func file_GetPushTipsRewardReq_proto_rawDescGZIP() []byte { + file_GetPushTipsRewardReq_proto_rawDescOnce.Do(func() { + file_GetPushTipsRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPushTipsRewardReq_proto_rawDescData) + }) + return file_GetPushTipsRewardReq_proto_rawDescData +} + +var file_GetPushTipsRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPushTipsRewardReq_proto_goTypes = []interface{}{ + (*GetPushTipsRewardReq)(nil), // 0: GetPushTipsRewardReq +} +var file_GetPushTipsRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPushTipsRewardReq_proto_init() } +func file_GetPushTipsRewardReq_proto_init() { + if File_GetPushTipsRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPushTipsRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPushTipsRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPushTipsRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPushTipsRewardReq_proto_goTypes, + DependencyIndexes: file_GetPushTipsRewardReq_proto_depIdxs, + MessageInfos: file_GetPushTipsRewardReq_proto_msgTypes, + }.Build() + File_GetPushTipsRewardReq_proto = out.File + file_GetPushTipsRewardReq_proto_rawDesc = nil + file_GetPushTipsRewardReq_proto_goTypes = nil + file_GetPushTipsRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPushTipsRewardReq.proto b/gate-hk4e-api/proto/GetPushTipsRewardReq.proto new file mode 100644 index 00000000..ff80ef4e --- /dev/null +++ b/gate-hk4e-api/proto/GetPushTipsRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetPushTipsRewardReq { + repeated uint32 push_tips_id_list = 4; +} diff --git a/gate-hk4e-api/proto/GetPushTipsRewardRsp.pb.go b/gate-hk4e-api/proto/GetPushTipsRewardRsp.pb.go new file mode 100644 index 00000000..4043b7db --- /dev/null +++ b/gate-hk4e-api/proto/GetPushTipsRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetPushTipsRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2294 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetPushTipsRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + PushTipsIdList []uint32 `protobuf:"varint,9,rep,packed,name=push_tips_id_list,json=pushTipsIdList,proto3" json:"push_tips_id_list,omitempty"` +} + +func (x *GetPushTipsRewardRsp) Reset() { + *x = GetPushTipsRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetPushTipsRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPushTipsRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPushTipsRewardRsp) ProtoMessage() {} + +func (x *GetPushTipsRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetPushTipsRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPushTipsRewardRsp.ProtoReflect.Descriptor instead. +func (*GetPushTipsRewardRsp) Descriptor() ([]byte, []int) { + return file_GetPushTipsRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetPushTipsRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetPushTipsRewardRsp) GetPushTipsIdList() []uint32 { + if x != nil { + return x.PushTipsIdList + } + return nil +} + +var File_GetPushTipsRewardRsp_proto protoreflect.FileDescriptor + +var file_GetPushTipsRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x14, + 0x47, 0x65, 0x74, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x29, + 0x0a, 0x11, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x70, 0x73, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x75, 0x73, 0x68, 0x54, + 0x69, 0x70, 0x73, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetPushTipsRewardRsp_proto_rawDescOnce sync.Once + file_GetPushTipsRewardRsp_proto_rawDescData = file_GetPushTipsRewardRsp_proto_rawDesc +) + +func file_GetPushTipsRewardRsp_proto_rawDescGZIP() []byte { + file_GetPushTipsRewardRsp_proto_rawDescOnce.Do(func() { + file_GetPushTipsRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetPushTipsRewardRsp_proto_rawDescData) + }) + return file_GetPushTipsRewardRsp_proto_rawDescData +} + +var file_GetPushTipsRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetPushTipsRewardRsp_proto_goTypes = []interface{}{ + (*GetPushTipsRewardRsp)(nil), // 0: GetPushTipsRewardRsp +} +var file_GetPushTipsRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetPushTipsRewardRsp_proto_init() } +func file_GetPushTipsRewardRsp_proto_init() { + if File_GetPushTipsRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetPushTipsRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPushTipsRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetPushTipsRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetPushTipsRewardRsp_proto_goTypes, + DependencyIndexes: file_GetPushTipsRewardRsp_proto_depIdxs, + MessageInfos: file_GetPushTipsRewardRsp_proto_msgTypes, + }.Build() + File_GetPushTipsRewardRsp_proto = out.File + file_GetPushTipsRewardRsp_proto_rawDesc = nil + file_GetPushTipsRewardRsp_proto_goTypes = nil + file_GetPushTipsRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetPushTipsRewardRsp.proto b/gate-hk4e-api/proto/GetPushTipsRewardRsp.proto new file mode 100644 index 00000000..dc70818d --- /dev/null +++ b/gate-hk4e-api/proto/GetPushTipsRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2294 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetPushTipsRewardRsp { + int32 retcode = 10; + repeated uint32 push_tips_id_list = 9; +} diff --git a/gate-hk4e-api/proto/GetQuestTalkHistoryReq.pb.go b/gate-hk4e-api/proto/GetQuestTalkHistoryReq.pb.go new file mode 100644 index 00000000..53ee3310 --- /dev/null +++ b/gate-hk4e-api/proto/GetQuestTalkHistoryReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetQuestTalkHistoryReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetQuestTalkHistoryReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,6,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *GetQuestTalkHistoryReq) Reset() { + *x = GetQuestTalkHistoryReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetQuestTalkHistoryReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetQuestTalkHistoryReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetQuestTalkHistoryReq) ProtoMessage() {} + +func (x *GetQuestTalkHistoryReq) ProtoReflect() protoreflect.Message { + mi := &file_GetQuestTalkHistoryReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetQuestTalkHistoryReq.ProtoReflect.Descriptor instead. +func (*GetQuestTalkHistoryReq) Descriptor() ([]byte, []int) { + return file_GetQuestTalkHistoryReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetQuestTalkHistoryReq) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_GetQuestTalkHistoryReq_proto protoreflect.FileDescriptor + +var file_GetQuestTalkHistoryReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetQuestTalkHistoryReq_proto_rawDescOnce sync.Once + file_GetQuestTalkHistoryReq_proto_rawDescData = file_GetQuestTalkHistoryReq_proto_rawDesc +) + +func file_GetQuestTalkHistoryReq_proto_rawDescGZIP() []byte { + file_GetQuestTalkHistoryReq_proto_rawDescOnce.Do(func() { + file_GetQuestTalkHistoryReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetQuestTalkHistoryReq_proto_rawDescData) + }) + return file_GetQuestTalkHistoryReq_proto_rawDescData +} + +var file_GetQuestTalkHistoryReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetQuestTalkHistoryReq_proto_goTypes = []interface{}{ + (*GetQuestTalkHistoryReq)(nil), // 0: GetQuestTalkHistoryReq +} +var file_GetQuestTalkHistoryReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetQuestTalkHistoryReq_proto_init() } +func file_GetQuestTalkHistoryReq_proto_init() { + if File_GetQuestTalkHistoryReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetQuestTalkHistoryReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetQuestTalkHistoryReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetQuestTalkHistoryReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetQuestTalkHistoryReq_proto_goTypes, + DependencyIndexes: file_GetQuestTalkHistoryReq_proto_depIdxs, + MessageInfos: file_GetQuestTalkHistoryReq_proto_msgTypes, + }.Build() + File_GetQuestTalkHistoryReq_proto = out.File + file_GetQuestTalkHistoryReq_proto_rawDesc = nil + file_GetQuestTalkHistoryReq_proto_goTypes = nil + file_GetQuestTalkHistoryReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetQuestTalkHistoryReq.proto b/gate-hk4e-api/proto/GetQuestTalkHistoryReq.proto new file mode 100644 index 00000000..f2a4bd90 --- /dev/null +++ b/gate-hk4e-api/proto/GetQuestTalkHistoryReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetQuestTalkHistoryReq { + uint32 parent_quest_id = 6; +} diff --git a/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.pb.go b/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.pb.go new file mode 100644 index 00000000..e4f9f58d --- /dev/null +++ b/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetQuestTalkHistoryRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 473 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetQuestTalkHistoryRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TalkIdList []uint32 `protobuf:"varint,13,rep,packed,name=talk_id_list,json=talkIdList,proto3" json:"talk_id_list,omitempty"` + ParentQuestId uint32 `protobuf:"varint,7,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetQuestTalkHistoryRsp) Reset() { + *x = GetQuestTalkHistoryRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetQuestTalkHistoryRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetQuestTalkHistoryRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetQuestTalkHistoryRsp) ProtoMessage() {} + +func (x *GetQuestTalkHistoryRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetQuestTalkHistoryRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetQuestTalkHistoryRsp.ProtoReflect.Descriptor instead. +func (*GetQuestTalkHistoryRsp) Descriptor() ([]byte, []int) { + return file_GetQuestTalkHistoryRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetQuestTalkHistoryRsp) GetTalkIdList() []uint32 { + if x != nil { + return x.TalkIdList + } + return nil +} + +func (x *GetQuestTalkHistoryRsp) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *GetQuestTalkHistoryRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetQuestTalkHistoryRsp_proto protoreflect.FileDescriptor + +var file_GetQuestTalkHistoryRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x61, 0x6c, 0x6b, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x74, 0x61, 0x6c, 0x6b, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetQuestTalkHistoryRsp_proto_rawDescOnce sync.Once + file_GetQuestTalkHistoryRsp_proto_rawDescData = file_GetQuestTalkHistoryRsp_proto_rawDesc +) + +func file_GetQuestTalkHistoryRsp_proto_rawDescGZIP() []byte { + file_GetQuestTalkHistoryRsp_proto_rawDescOnce.Do(func() { + file_GetQuestTalkHistoryRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetQuestTalkHistoryRsp_proto_rawDescData) + }) + return file_GetQuestTalkHistoryRsp_proto_rawDescData +} + +var file_GetQuestTalkHistoryRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetQuestTalkHistoryRsp_proto_goTypes = []interface{}{ + (*GetQuestTalkHistoryRsp)(nil), // 0: GetQuestTalkHistoryRsp +} +var file_GetQuestTalkHistoryRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetQuestTalkHistoryRsp_proto_init() } +func file_GetQuestTalkHistoryRsp_proto_init() { + if File_GetQuestTalkHistoryRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetQuestTalkHistoryRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetQuestTalkHistoryRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetQuestTalkHistoryRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetQuestTalkHistoryRsp_proto_goTypes, + DependencyIndexes: file_GetQuestTalkHistoryRsp_proto_depIdxs, + MessageInfos: file_GetQuestTalkHistoryRsp_proto_msgTypes, + }.Build() + File_GetQuestTalkHistoryRsp_proto = out.File + file_GetQuestTalkHistoryRsp_proto_rawDesc = nil + file_GetQuestTalkHistoryRsp_proto_goTypes = nil + file_GetQuestTalkHistoryRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.proto b/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.proto new file mode 100644 index 00000000..5fdde005 --- /dev/null +++ b/gate-hk4e-api/proto/GetQuestTalkHistoryRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 473 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetQuestTalkHistoryRsp { + repeated uint32 talk_id_list = 13; + uint32 parent_quest_id = 7; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/GetRecentMpPlayerListReq.pb.go b/gate-hk4e-api/proto/GetRecentMpPlayerListReq.pb.go new file mode 100644 index 00000000..36c3ddb6 --- /dev/null +++ b/gate-hk4e-api/proto/GetRecentMpPlayerListReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetRecentMpPlayerListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4034 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetRecentMpPlayerListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetRecentMpPlayerListReq) Reset() { + *x = GetRecentMpPlayerListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetRecentMpPlayerListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRecentMpPlayerListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRecentMpPlayerListReq) ProtoMessage() {} + +func (x *GetRecentMpPlayerListReq) ProtoReflect() protoreflect.Message { + mi := &file_GetRecentMpPlayerListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRecentMpPlayerListReq.ProtoReflect.Descriptor instead. +func (*GetRecentMpPlayerListReq) Descriptor() ([]byte, []int) { + return file_GetRecentMpPlayerListReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetRecentMpPlayerListReq_proto protoreflect.FileDescriptor + +var file_GetRecentMpPlayerListReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x4d, 0x70, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x4d, 0x70, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetRecentMpPlayerListReq_proto_rawDescOnce sync.Once + file_GetRecentMpPlayerListReq_proto_rawDescData = file_GetRecentMpPlayerListReq_proto_rawDesc +) + +func file_GetRecentMpPlayerListReq_proto_rawDescGZIP() []byte { + file_GetRecentMpPlayerListReq_proto_rawDescOnce.Do(func() { + file_GetRecentMpPlayerListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetRecentMpPlayerListReq_proto_rawDescData) + }) + return file_GetRecentMpPlayerListReq_proto_rawDescData +} + +var file_GetRecentMpPlayerListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetRecentMpPlayerListReq_proto_goTypes = []interface{}{ + (*GetRecentMpPlayerListReq)(nil), // 0: GetRecentMpPlayerListReq +} +var file_GetRecentMpPlayerListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetRecentMpPlayerListReq_proto_init() } +func file_GetRecentMpPlayerListReq_proto_init() { + if File_GetRecentMpPlayerListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetRecentMpPlayerListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRecentMpPlayerListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetRecentMpPlayerListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetRecentMpPlayerListReq_proto_goTypes, + DependencyIndexes: file_GetRecentMpPlayerListReq_proto_depIdxs, + MessageInfos: file_GetRecentMpPlayerListReq_proto_msgTypes, + }.Build() + File_GetRecentMpPlayerListReq_proto = out.File + file_GetRecentMpPlayerListReq_proto_rawDesc = nil + file_GetRecentMpPlayerListReq_proto_goTypes = nil + file_GetRecentMpPlayerListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetRecentMpPlayerListReq.proto b/gate-hk4e-api/proto/GetRecentMpPlayerListReq.proto new file mode 100644 index 00000000..51a8de43 --- /dev/null +++ b/gate-hk4e-api/proto/GetRecentMpPlayerListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4034 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetRecentMpPlayerListReq {} diff --git a/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.pb.go b/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.pb.go new file mode 100644 index 00000000..9d16d40d --- /dev/null +++ b/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetRecentMpPlayerListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4050 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetRecentMpPlayerListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + RecentMpPlayerBriefList []*FriendBrief `protobuf:"bytes,14,rep,name=recent_mp_player_brief_list,json=recentMpPlayerBriefList,proto3" json:"recent_mp_player_brief_list,omitempty"` +} + +func (x *GetRecentMpPlayerListRsp) Reset() { + *x = GetRecentMpPlayerListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetRecentMpPlayerListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRecentMpPlayerListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRecentMpPlayerListRsp) ProtoMessage() {} + +func (x *GetRecentMpPlayerListRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetRecentMpPlayerListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRecentMpPlayerListRsp.ProtoReflect.Descriptor instead. +func (*GetRecentMpPlayerListRsp) Descriptor() ([]byte, []int) { + return file_GetRecentMpPlayerListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetRecentMpPlayerListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetRecentMpPlayerListRsp) GetRecentMpPlayerBriefList() []*FriendBrief { + if x != nil { + return x.RecentMpPlayerBriefList + } + return nil +} + +var File_GetRecentMpPlayerListRsp_proto protoreflect.FileDescriptor + +var file_GetRecentMpPlayerListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x4d, 0x70, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, + 0x74, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x4a, 0x0a, 0x1b, 0x72, 0x65, + 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x62, + 0x72, 0x69, 0x65, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x17, 0x72, + 0x65, 0x63, 0x65, 0x6e, 0x74, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x72, 0x69, + 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetRecentMpPlayerListRsp_proto_rawDescOnce sync.Once + file_GetRecentMpPlayerListRsp_proto_rawDescData = file_GetRecentMpPlayerListRsp_proto_rawDesc +) + +func file_GetRecentMpPlayerListRsp_proto_rawDescGZIP() []byte { + file_GetRecentMpPlayerListRsp_proto_rawDescOnce.Do(func() { + file_GetRecentMpPlayerListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetRecentMpPlayerListRsp_proto_rawDescData) + }) + return file_GetRecentMpPlayerListRsp_proto_rawDescData +} + +var file_GetRecentMpPlayerListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetRecentMpPlayerListRsp_proto_goTypes = []interface{}{ + (*GetRecentMpPlayerListRsp)(nil), // 0: GetRecentMpPlayerListRsp + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_GetRecentMpPlayerListRsp_proto_depIdxs = []int32{ + 1, // 0: GetRecentMpPlayerListRsp.recent_mp_player_brief_list:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetRecentMpPlayerListRsp_proto_init() } +func file_GetRecentMpPlayerListRsp_proto_init() { + if File_GetRecentMpPlayerListRsp_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetRecentMpPlayerListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRecentMpPlayerListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetRecentMpPlayerListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetRecentMpPlayerListRsp_proto_goTypes, + DependencyIndexes: file_GetRecentMpPlayerListRsp_proto_depIdxs, + MessageInfos: file_GetRecentMpPlayerListRsp_proto_msgTypes, + }.Build() + File_GetRecentMpPlayerListRsp_proto = out.File + file_GetRecentMpPlayerListRsp_proto_rawDesc = nil + file_GetRecentMpPlayerListRsp_proto_goTypes = nil + file_GetRecentMpPlayerListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.proto b/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.proto new file mode 100644 index 00000000..5ed6b90c --- /dev/null +++ b/gate-hk4e-api/proto/GetRecentMpPlayerListRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4050 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetRecentMpPlayerListRsp { + int32 retcode = 13; + repeated FriendBrief recent_mp_player_brief_list = 14; +} diff --git a/gate-hk4e-api/proto/GetRegionSearchReq.pb.go b/gate-hk4e-api/proto/GetRegionSearchReq.pb.go new file mode 100644 index 00000000..8ed27b89 --- /dev/null +++ b/gate-hk4e-api/proto/GetRegionSearchReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetRegionSearchReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetRegionSearchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetRegionSearchReq) Reset() { + *x = GetRegionSearchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetRegionSearchReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRegionSearchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRegionSearchReq) ProtoMessage() {} + +func (x *GetRegionSearchReq) ProtoReflect() protoreflect.Message { + mi := &file_GetRegionSearchReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRegionSearchReq.ProtoReflect.Descriptor instead. +func (*GetRegionSearchReq) Descriptor() ([]byte, []int) { + return file_GetRegionSearchReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetRegionSearchReq_proto protoreflect.FileDescriptor + +var file_GetRegionSearchReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetRegionSearchReq_proto_rawDescOnce sync.Once + file_GetRegionSearchReq_proto_rawDescData = file_GetRegionSearchReq_proto_rawDesc +) + +func file_GetRegionSearchReq_proto_rawDescGZIP() []byte { + file_GetRegionSearchReq_proto_rawDescOnce.Do(func() { + file_GetRegionSearchReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetRegionSearchReq_proto_rawDescData) + }) + return file_GetRegionSearchReq_proto_rawDescData +} + +var file_GetRegionSearchReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetRegionSearchReq_proto_goTypes = []interface{}{ + (*GetRegionSearchReq)(nil), // 0: GetRegionSearchReq +} +var file_GetRegionSearchReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetRegionSearchReq_proto_init() } +func file_GetRegionSearchReq_proto_init() { + if File_GetRegionSearchReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetRegionSearchReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionSearchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetRegionSearchReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetRegionSearchReq_proto_goTypes, + DependencyIndexes: file_GetRegionSearchReq_proto_depIdxs, + MessageInfos: file_GetRegionSearchReq_proto_msgTypes, + }.Build() + File_GetRegionSearchReq_proto = out.File + file_GetRegionSearchReq_proto_rawDesc = nil + file_GetRegionSearchReq_proto_goTypes = nil + file_GetRegionSearchReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetRegionSearchReq.proto b/gate-hk4e-api/proto/GetRegionSearchReq.proto new file mode 100644 index 00000000..8ada2e92 --- /dev/null +++ b/gate-hk4e-api/proto/GetRegionSearchReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetRegionSearchReq {} diff --git a/gate-hk4e-api/proto/GetReunionMissionInfoReq.pb.go b/gate-hk4e-api/proto/GetReunionMissionInfoReq.pb.go new file mode 100644 index 00000000..6d3b1690 --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionMissionInfoReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionMissionInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5094 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetReunionMissionInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MissionId uint32 `protobuf:"varint,14,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` +} + +func (x *GetReunionMissionInfoReq) Reset() { + *x = GetReunionMissionInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionMissionInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionMissionInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionMissionInfoReq) ProtoMessage() {} + +func (x *GetReunionMissionInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionMissionInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionMissionInfoReq.ProtoReflect.Descriptor instead. +func (*GetReunionMissionInfoReq) Descriptor() ([]byte, []int) { + return file_GetReunionMissionInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionMissionInfoReq) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +var File_GetReunionMissionInfoReq_proto protoreflect.FileDescriptor + +var file_GetReunionMissionInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x39, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionMissionInfoReq_proto_rawDescOnce sync.Once + file_GetReunionMissionInfoReq_proto_rawDescData = file_GetReunionMissionInfoReq_proto_rawDesc +) + +func file_GetReunionMissionInfoReq_proto_rawDescGZIP() []byte { + file_GetReunionMissionInfoReq_proto_rawDescOnce.Do(func() { + file_GetReunionMissionInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionMissionInfoReq_proto_rawDescData) + }) + return file_GetReunionMissionInfoReq_proto_rawDescData +} + +var file_GetReunionMissionInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionMissionInfoReq_proto_goTypes = []interface{}{ + (*GetReunionMissionInfoReq)(nil), // 0: GetReunionMissionInfoReq +} +var file_GetReunionMissionInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetReunionMissionInfoReq_proto_init() } +func file_GetReunionMissionInfoReq_proto_init() { + if File_GetReunionMissionInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetReunionMissionInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionMissionInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionMissionInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionMissionInfoReq_proto_goTypes, + DependencyIndexes: file_GetReunionMissionInfoReq_proto_depIdxs, + MessageInfos: file_GetReunionMissionInfoReq_proto_msgTypes, + }.Build() + File_GetReunionMissionInfoReq_proto = out.File + file_GetReunionMissionInfoReq_proto_rawDesc = nil + file_GetReunionMissionInfoReq_proto_goTypes = nil + file_GetReunionMissionInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionMissionInfoReq.proto b/gate-hk4e-api/proto/GetReunionMissionInfoReq.proto new file mode 100644 index 00000000..189e7b1c --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionMissionInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5094 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetReunionMissionInfoReq { + uint32 mission_id = 14; +} diff --git a/gate-hk4e-api/proto/GetReunionMissionInfoRsp.pb.go b/gate-hk4e-api/proto/GetReunionMissionInfoRsp.pb.go new file mode 100644 index 00000000..82c1e87d --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionMissionInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionMissionInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5099 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetReunionMissionInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + MissionInfo *ReunionMissionInfo `protobuf:"bytes,14,opt,name=mission_info,json=missionInfo,proto3" json:"mission_info,omitempty"` +} + +func (x *GetReunionMissionInfoRsp) Reset() { + *x = GetReunionMissionInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionMissionInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionMissionInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionMissionInfoRsp) ProtoMessage() {} + +func (x *GetReunionMissionInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionMissionInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionMissionInfoRsp.ProtoReflect.Descriptor instead. +func (*GetReunionMissionInfoRsp) Descriptor() ([]byte, []int) { + return file_GetReunionMissionInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionMissionInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetReunionMissionInfoRsp) GetMissionInfo() *ReunionMissionInfo { + if x != nil { + return x.MissionInfo + } + return nil +} + +var File_GetReunionMissionInfoRsp_proto protoreflect.FileDescriptor + +var file_GetReunionMissionInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x36, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionMissionInfoRsp_proto_rawDescOnce sync.Once + file_GetReunionMissionInfoRsp_proto_rawDescData = file_GetReunionMissionInfoRsp_proto_rawDesc +) + +func file_GetReunionMissionInfoRsp_proto_rawDescGZIP() []byte { + file_GetReunionMissionInfoRsp_proto_rawDescOnce.Do(func() { + file_GetReunionMissionInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionMissionInfoRsp_proto_rawDescData) + }) + return file_GetReunionMissionInfoRsp_proto_rawDescData +} + +var file_GetReunionMissionInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionMissionInfoRsp_proto_goTypes = []interface{}{ + (*GetReunionMissionInfoRsp)(nil), // 0: GetReunionMissionInfoRsp + (*ReunionMissionInfo)(nil), // 1: ReunionMissionInfo +} +var file_GetReunionMissionInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetReunionMissionInfoRsp.mission_info:type_name -> ReunionMissionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetReunionMissionInfoRsp_proto_init() } +func file_GetReunionMissionInfoRsp_proto_init() { + if File_GetReunionMissionInfoRsp_proto != nil { + return + } + file_ReunionMissionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetReunionMissionInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionMissionInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionMissionInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionMissionInfoRsp_proto_goTypes, + DependencyIndexes: file_GetReunionMissionInfoRsp_proto_depIdxs, + MessageInfos: file_GetReunionMissionInfoRsp_proto_msgTypes, + }.Build() + File_GetReunionMissionInfoRsp_proto = out.File + file_GetReunionMissionInfoRsp_proto_rawDesc = nil + file_GetReunionMissionInfoRsp_proto_goTypes = nil + file_GetReunionMissionInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionMissionInfoRsp.proto b/gate-hk4e-api/proto/GetReunionMissionInfoRsp.proto new file mode 100644 index 00000000..7ecc11ad --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionMissionInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionMissionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5099 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetReunionMissionInfoRsp { + int32 retcode = 9; + ReunionMissionInfo mission_info = 14; +} diff --git a/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.pb.go b/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.pb.go new file mode 100644 index 00000000..7942cd2e --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionPrivilegeInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5097 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetReunionPrivilegeInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PrivilegeId uint32 `protobuf:"varint,10,opt,name=privilege_id,json=privilegeId,proto3" json:"privilege_id,omitempty"` +} + +func (x *GetReunionPrivilegeInfoReq) Reset() { + *x = GetReunionPrivilegeInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionPrivilegeInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionPrivilegeInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionPrivilegeInfoReq) ProtoMessage() {} + +func (x *GetReunionPrivilegeInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionPrivilegeInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionPrivilegeInfoReq.ProtoReflect.Descriptor instead. +func (*GetReunionPrivilegeInfoReq) Descriptor() ([]byte, []int) { + return file_GetReunionPrivilegeInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionPrivilegeInfoReq) GetPrivilegeId() uint32 { + if x != nil { + return x.PrivilegeId + } + return 0 +} + +var File_GetReunionPrivilegeInfoReq_proto protoreflect.FileDescriptor + +var file_GetReunionPrivilegeInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionPrivilegeInfoReq_proto_rawDescOnce sync.Once + file_GetReunionPrivilegeInfoReq_proto_rawDescData = file_GetReunionPrivilegeInfoReq_proto_rawDesc +) + +func file_GetReunionPrivilegeInfoReq_proto_rawDescGZIP() []byte { + file_GetReunionPrivilegeInfoReq_proto_rawDescOnce.Do(func() { + file_GetReunionPrivilegeInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionPrivilegeInfoReq_proto_rawDescData) + }) + return file_GetReunionPrivilegeInfoReq_proto_rawDescData +} + +var file_GetReunionPrivilegeInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionPrivilegeInfoReq_proto_goTypes = []interface{}{ + (*GetReunionPrivilegeInfoReq)(nil), // 0: GetReunionPrivilegeInfoReq +} +var file_GetReunionPrivilegeInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetReunionPrivilegeInfoReq_proto_init() } +func file_GetReunionPrivilegeInfoReq_proto_init() { + if File_GetReunionPrivilegeInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetReunionPrivilegeInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionPrivilegeInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionPrivilegeInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionPrivilegeInfoReq_proto_goTypes, + DependencyIndexes: file_GetReunionPrivilegeInfoReq_proto_depIdxs, + MessageInfos: file_GetReunionPrivilegeInfoReq_proto_msgTypes, + }.Build() + File_GetReunionPrivilegeInfoReq_proto = out.File + file_GetReunionPrivilegeInfoReq_proto_rawDesc = nil + file_GetReunionPrivilegeInfoReq_proto_goTypes = nil + file_GetReunionPrivilegeInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.proto b/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.proto new file mode 100644 index 00000000..41d7e632 --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionPrivilegeInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5097 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetReunionPrivilegeInfoReq { + uint32 privilege_id = 10; +} diff --git a/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.pb.go b/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.pb.go new file mode 100644 index 00000000..01ab32d3 --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionPrivilegeInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5087 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetReunionPrivilegeInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + PrivilegeInfo *ReunionPrivilegeInfo `protobuf:"bytes,1,opt,name=privilege_info,json=privilegeInfo,proto3" json:"privilege_info,omitempty"` +} + +func (x *GetReunionPrivilegeInfoRsp) Reset() { + *x = GetReunionPrivilegeInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionPrivilegeInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionPrivilegeInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionPrivilegeInfoRsp) ProtoMessage() {} + +func (x *GetReunionPrivilegeInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionPrivilegeInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionPrivilegeInfoRsp.ProtoReflect.Descriptor instead. +func (*GetReunionPrivilegeInfoRsp) Descriptor() ([]byte, []int) { + return file_GetReunionPrivilegeInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionPrivilegeInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetReunionPrivilegeInfoRsp) GetPrivilegeInfo() *ReunionPrivilegeInfo { + if x != nil { + return x.PrivilegeInfo + } + return nil +} + +var File_GetReunionPrivilegeInfoRsp_proto protoreflect.FileDescriptor + +var file_GetReunionPrivilegeInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionPrivilegeInfoRsp_proto_rawDescOnce sync.Once + file_GetReunionPrivilegeInfoRsp_proto_rawDescData = file_GetReunionPrivilegeInfoRsp_proto_rawDesc +) + +func file_GetReunionPrivilegeInfoRsp_proto_rawDescGZIP() []byte { + file_GetReunionPrivilegeInfoRsp_proto_rawDescOnce.Do(func() { + file_GetReunionPrivilegeInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionPrivilegeInfoRsp_proto_rawDescData) + }) + return file_GetReunionPrivilegeInfoRsp_proto_rawDescData +} + +var file_GetReunionPrivilegeInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionPrivilegeInfoRsp_proto_goTypes = []interface{}{ + (*GetReunionPrivilegeInfoRsp)(nil), // 0: GetReunionPrivilegeInfoRsp + (*ReunionPrivilegeInfo)(nil), // 1: ReunionPrivilegeInfo +} +var file_GetReunionPrivilegeInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetReunionPrivilegeInfoRsp.privilege_info:type_name -> ReunionPrivilegeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetReunionPrivilegeInfoRsp_proto_init() } +func file_GetReunionPrivilegeInfoRsp_proto_init() { + if File_GetReunionPrivilegeInfoRsp_proto != nil { + return + } + file_ReunionPrivilegeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetReunionPrivilegeInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionPrivilegeInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionPrivilegeInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionPrivilegeInfoRsp_proto_goTypes, + DependencyIndexes: file_GetReunionPrivilegeInfoRsp_proto_depIdxs, + MessageInfos: file_GetReunionPrivilegeInfoRsp_proto_msgTypes, + }.Build() + File_GetReunionPrivilegeInfoRsp_proto = out.File + file_GetReunionPrivilegeInfoRsp_proto_rawDesc = nil + file_GetReunionPrivilegeInfoRsp_proto_goTypes = nil + file_GetReunionPrivilegeInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.proto b/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.proto new file mode 100644 index 00000000..6ea41696 --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionPrivilegeInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionPrivilegeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5087 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetReunionPrivilegeInfoRsp { + int32 retcode = 3; + ReunionPrivilegeInfo privilege_info = 1; +} diff --git a/gate-hk4e-api/proto/GetReunionSignInInfoReq.pb.go b/gate-hk4e-api/proto/GetReunionSignInInfoReq.pb.go new file mode 100644 index 00000000..e76c5d7d --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionSignInInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionSignInInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5052 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetReunionSignInInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignInConfigId uint32 `protobuf:"varint,10,opt,name=sign_in_config_id,json=signInConfigId,proto3" json:"sign_in_config_id,omitempty"` +} + +func (x *GetReunionSignInInfoReq) Reset() { + *x = GetReunionSignInInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionSignInInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionSignInInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionSignInInfoReq) ProtoMessage() {} + +func (x *GetReunionSignInInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionSignInInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionSignInInfoReq.ProtoReflect.Descriptor instead. +func (*GetReunionSignInInfoReq) Descriptor() ([]byte, []int) { + return file_GetReunionSignInInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionSignInInfoReq) GetSignInConfigId() uint32 { + if x != nil { + return x.SignInConfigId + } + return 0 +} + +var File_GetReunionSignInInfoReq_proto protoreflect.FileDescriptor + +var file_GetReunionSignInInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, + 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x44, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, + 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x11, 0x73, 0x69, + 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionSignInInfoReq_proto_rawDescOnce sync.Once + file_GetReunionSignInInfoReq_proto_rawDescData = file_GetReunionSignInInfoReq_proto_rawDesc +) + +func file_GetReunionSignInInfoReq_proto_rawDescGZIP() []byte { + file_GetReunionSignInInfoReq_proto_rawDescOnce.Do(func() { + file_GetReunionSignInInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionSignInInfoReq_proto_rawDescData) + }) + return file_GetReunionSignInInfoReq_proto_rawDescData +} + +var file_GetReunionSignInInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionSignInInfoReq_proto_goTypes = []interface{}{ + (*GetReunionSignInInfoReq)(nil), // 0: GetReunionSignInInfoReq +} +var file_GetReunionSignInInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetReunionSignInInfoReq_proto_init() } +func file_GetReunionSignInInfoReq_proto_init() { + if File_GetReunionSignInInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetReunionSignInInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionSignInInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionSignInInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionSignInInfoReq_proto_goTypes, + DependencyIndexes: file_GetReunionSignInInfoReq_proto_depIdxs, + MessageInfos: file_GetReunionSignInInfoReq_proto_msgTypes, + }.Build() + File_GetReunionSignInInfoReq_proto = out.File + file_GetReunionSignInInfoReq_proto_rawDesc = nil + file_GetReunionSignInInfoReq_proto_goTypes = nil + file_GetReunionSignInInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionSignInInfoReq.proto b/gate-hk4e-api/proto/GetReunionSignInInfoReq.proto new file mode 100644 index 00000000..e132e9ab --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionSignInInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5052 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetReunionSignInInfoReq { + uint32 sign_in_config_id = 10; +} diff --git a/gate-hk4e-api/proto/GetReunionSignInInfoRsp.pb.go b/gate-hk4e-api/proto/GetReunionSignInInfoRsp.pb.go new file mode 100644 index 00000000..03139b0b --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionSignInInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetReunionSignInInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5081 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetReunionSignInInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignInInfo *ReunionSignInInfo `protobuf:"bytes,5,opt,name=sign_in_info,json=signInInfo,proto3" json:"sign_in_info,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetReunionSignInInfoRsp) Reset() { + *x = GetReunionSignInInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetReunionSignInInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReunionSignInInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReunionSignInInfoRsp) ProtoMessage() {} + +func (x *GetReunionSignInInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetReunionSignInInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReunionSignInInfoRsp.ProtoReflect.Descriptor instead. +func (*GetReunionSignInInfoRsp) Descriptor() ([]byte, []int) { + return file_GetReunionSignInInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetReunionSignInInfoRsp) GetSignInInfo() *ReunionSignInInfo { + if x != nil { + return x.SignInInfo + } + return nil +} + +func (x *GetReunionSignInInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetReunionSignInInfoRsp_proto protoreflect.FileDescriptor + +var file_GetReunionSignInInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, + 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x75, 0x6e, + 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, + 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetReunionSignInInfoRsp_proto_rawDescOnce sync.Once + file_GetReunionSignInInfoRsp_proto_rawDescData = file_GetReunionSignInInfoRsp_proto_rawDesc +) + +func file_GetReunionSignInInfoRsp_proto_rawDescGZIP() []byte { + file_GetReunionSignInInfoRsp_proto_rawDescOnce.Do(func() { + file_GetReunionSignInInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetReunionSignInInfoRsp_proto_rawDescData) + }) + return file_GetReunionSignInInfoRsp_proto_rawDescData +} + +var file_GetReunionSignInInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetReunionSignInInfoRsp_proto_goTypes = []interface{}{ + (*GetReunionSignInInfoRsp)(nil), // 0: GetReunionSignInInfoRsp + (*ReunionSignInInfo)(nil), // 1: ReunionSignInInfo +} +var file_GetReunionSignInInfoRsp_proto_depIdxs = []int32{ + 1, // 0: GetReunionSignInInfoRsp.sign_in_info:type_name -> ReunionSignInInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetReunionSignInInfoRsp_proto_init() } +func file_GetReunionSignInInfoRsp_proto_init() { + if File_GetReunionSignInInfoRsp_proto != nil { + return + } + file_ReunionSignInInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetReunionSignInInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReunionSignInInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetReunionSignInInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetReunionSignInInfoRsp_proto_goTypes, + DependencyIndexes: file_GetReunionSignInInfoRsp_proto_depIdxs, + MessageInfos: file_GetReunionSignInInfoRsp_proto_msgTypes, + }.Build() + File_GetReunionSignInInfoRsp_proto = out.File + file_GetReunionSignInInfoRsp_proto_rawDesc = nil + file_GetReunionSignInInfoRsp_proto_goTypes = nil + file_GetReunionSignInInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetReunionSignInInfoRsp.proto b/gate-hk4e-api/proto/GetReunionSignInInfoRsp.proto new file mode 100644 index 00000000..ac822fcb --- /dev/null +++ b/gate-hk4e-api/proto/GetReunionSignInInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionSignInInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5081 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetReunionSignInInfoRsp { + ReunionSignInInfo sign_in_info = 5; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/GetSceneAreaReq.pb.go b/gate-hk4e-api/proto/GetSceneAreaReq.pb.go new file mode 100644 index 00000000..893f986f --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneAreaReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSceneAreaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 265 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetSceneAreaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + BelongUid uint32 `protobuf:"varint,7,opt,name=belong_uid,json=belongUid,proto3" json:"belong_uid,omitempty"` +} + +func (x *GetSceneAreaReq) Reset() { + *x = GetSceneAreaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSceneAreaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSceneAreaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSceneAreaReq) ProtoMessage() {} + +func (x *GetSceneAreaReq) ProtoReflect() protoreflect.Message { + mi := &file_GetSceneAreaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSceneAreaReq.ProtoReflect.Descriptor instead. +func (*GetSceneAreaReq) Descriptor() ([]byte, []int) { + return file_GetSceneAreaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSceneAreaReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GetSceneAreaReq) GetBelongUid() uint32 { + if x != nil { + return x.BelongUid + } + return 0 +} + +var File_GetSceneAreaReq_proto protoreflect.FileDescriptor + +var file_GetSceneAreaReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x6c, 0x6f, 0x6e, + 0x67, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSceneAreaReq_proto_rawDescOnce sync.Once + file_GetSceneAreaReq_proto_rawDescData = file_GetSceneAreaReq_proto_rawDesc +) + +func file_GetSceneAreaReq_proto_rawDescGZIP() []byte { + file_GetSceneAreaReq_proto_rawDescOnce.Do(func() { + file_GetSceneAreaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSceneAreaReq_proto_rawDescData) + }) + return file_GetSceneAreaReq_proto_rawDescData +} + +var file_GetSceneAreaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSceneAreaReq_proto_goTypes = []interface{}{ + (*GetSceneAreaReq)(nil), // 0: GetSceneAreaReq +} +var file_GetSceneAreaReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetSceneAreaReq_proto_init() } +func file_GetSceneAreaReq_proto_init() { + if File_GetSceneAreaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetSceneAreaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSceneAreaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSceneAreaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSceneAreaReq_proto_goTypes, + DependencyIndexes: file_GetSceneAreaReq_proto_depIdxs, + MessageInfos: file_GetSceneAreaReq_proto_msgTypes, + }.Build() + File_GetSceneAreaReq_proto = out.File + file_GetSceneAreaReq_proto_rawDesc = nil + file_GetSceneAreaReq_proto_goTypes = nil + file_GetSceneAreaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSceneAreaReq.proto b/gate-hk4e-api/proto/GetSceneAreaReq.proto new file mode 100644 index 00000000..b7243370 --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneAreaReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 265 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetSceneAreaReq { + uint32 scene_id = 4; + uint32 belong_uid = 7; +} diff --git a/gate-hk4e-api/proto/GetSceneAreaRsp.pb.go b/gate-hk4e-api/proto/GetSceneAreaRsp.pb.go new file mode 100644 index 00000000..6241bcee --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneAreaRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSceneAreaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 204 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetSceneAreaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + CityInfoList []*CityInfo `protobuf:"bytes,13,rep,name=city_info_list,json=cityInfoList,proto3" json:"city_info_list,omitempty"` + SceneId uint32 `protobuf:"varint,15,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + AreaIdList []uint32 `protobuf:"varint,9,rep,packed,name=area_id_list,json=areaIdList,proto3" json:"area_id_list,omitempty"` +} + +func (x *GetSceneAreaRsp) Reset() { + *x = GetSceneAreaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSceneAreaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSceneAreaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSceneAreaRsp) ProtoMessage() {} + +func (x *GetSceneAreaRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetSceneAreaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSceneAreaRsp.ProtoReflect.Descriptor instead. +func (*GetSceneAreaRsp) Descriptor() ([]byte, []int) { + return file_GetSceneAreaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSceneAreaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetSceneAreaRsp) GetCityInfoList() []*CityInfo { + if x != nil { + return x.CityInfoList + } + return nil +} + +func (x *GetSceneAreaRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GetSceneAreaRsp) GetAreaIdList() []uint32 { + if x != nil { + return x.AreaIdList + } + return nil +} + +var File_GetSceneAreaRsp_proto protoreflect.FileDescriptor + +var file_GetSceneAreaRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x0e, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, + 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSceneAreaRsp_proto_rawDescOnce sync.Once + file_GetSceneAreaRsp_proto_rawDescData = file_GetSceneAreaRsp_proto_rawDesc +) + +func file_GetSceneAreaRsp_proto_rawDescGZIP() []byte { + file_GetSceneAreaRsp_proto_rawDescOnce.Do(func() { + file_GetSceneAreaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSceneAreaRsp_proto_rawDescData) + }) + return file_GetSceneAreaRsp_proto_rawDescData +} + +var file_GetSceneAreaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSceneAreaRsp_proto_goTypes = []interface{}{ + (*GetSceneAreaRsp)(nil), // 0: GetSceneAreaRsp + (*CityInfo)(nil), // 1: CityInfo +} +var file_GetSceneAreaRsp_proto_depIdxs = []int32{ + 1, // 0: GetSceneAreaRsp.city_info_list:type_name -> CityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetSceneAreaRsp_proto_init() } +func file_GetSceneAreaRsp_proto_init() { + if File_GetSceneAreaRsp_proto != nil { + return + } + file_CityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetSceneAreaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSceneAreaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSceneAreaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSceneAreaRsp_proto_goTypes, + DependencyIndexes: file_GetSceneAreaRsp_proto_depIdxs, + MessageInfos: file_GetSceneAreaRsp_proto_msgTypes, + }.Build() + File_GetSceneAreaRsp_proto = out.File + file_GetSceneAreaRsp_proto_rawDesc = nil + file_GetSceneAreaRsp_proto_goTypes = nil + file_GetSceneAreaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSceneAreaRsp.proto b/gate-hk4e-api/proto/GetSceneAreaRsp.proto new file mode 100644 index 00000000..aa643938 --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneAreaRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 204 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetSceneAreaRsp { + int32 retcode = 7; + repeated CityInfo city_info_list = 13; + uint32 scene_id = 15; + repeated uint32 area_id_list = 9; +} diff --git a/gate-hk4e-api/proto/GetSceneNpcPositionReq.pb.go b/gate-hk4e-api/proto/GetSceneNpcPositionReq.pb.go new file mode 100644 index 00000000..349a646c --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneNpcPositionReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSceneNpcPositionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 535 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetSceneNpcPositionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcIdList []uint32 `protobuf:"varint,6,rep,packed,name=npc_id_list,json=npcIdList,proto3" json:"npc_id_list,omitempty"` + SceneId uint32 `protobuf:"varint,8,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *GetSceneNpcPositionReq) Reset() { + *x = GetSceneNpcPositionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSceneNpcPositionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSceneNpcPositionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSceneNpcPositionReq) ProtoMessage() {} + +func (x *GetSceneNpcPositionReq) ProtoReflect() protoreflect.Message { + mi := &file_GetSceneNpcPositionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSceneNpcPositionReq.ProtoReflect.Descriptor instead. +func (*GetSceneNpcPositionReq) Descriptor() ([]byte, []int) { + return file_GetSceneNpcPositionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSceneNpcPositionReq) GetNpcIdList() []uint32 { + if x != nil { + return x.NpcIdList + } + return nil +} + +func (x *GetSceneNpcPositionReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_GetSceneNpcPositionReq_proto protoreflect.FileDescriptor + +var file_GetSceneNpcPositionReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0b, 0x6e, 0x70, 0x63, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x6e, + 0x70, 0x63, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSceneNpcPositionReq_proto_rawDescOnce sync.Once + file_GetSceneNpcPositionReq_proto_rawDescData = file_GetSceneNpcPositionReq_proto_rawDesc +) + +func file_GetSceneNpcPositionReq_proto_rawDescGZIP() []byte { + file_GetSceneNpcPositionReq_proto_rawDescOnce.Do(func() { + file_GetSceneNpcPositionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSceneNpcPositionReq_proto_rawDescData) + }) + return file_GetSceneNpcPositionReq_proto_rawDescData +} + +var file_GetSceneNpcPositionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSceneNpcPositionReq_proto_goTypes = []interface{}{ + (*GetSceneNpcPositionReq)(nil), // 0: GetSceneNpcPositionReq +} +var file_GetSceneNpcPositionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetSceneNpcPositionReq_proto_init() } +func file_GetSceneNpcPositionReq_proto_init() { + if File_GetSceneNpcPositionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetSceneNpcPositionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSceneNpcPositionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSceneNpcPositionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSceneNpcPositionReq_proto_goTypes, + DependencyIndexes: file_GetSceneNpcPositionReq_proto_depIdxs, + MessageInfos: file_GetSceneNpcPositionReq_proto_msgTypes, + }.Build() + File_GetSceneNpcPositionReq_proto = out.File + file_GetSceneNpcPositionReq_proto_rawDesc = nil + file_GetSceneNpcPositionReq_proto_goTypes = nil + file_GetSceneNpcPositionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSceneNpcPositionReq.proto b/gate-hk4e-api/proto/GetSceneNpcPositionReq.proto new file mode 100644 index 00000000..e3b29f12 --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneNpcPositionReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 535 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetSceneNpcPositionReq { + repeated uint32 npc_id_list = 6; + uint32 scene_id = 8; +} diff --git a/gate-hk4e-api/proto/GetSceneNpcPositionRsp.pb.go b/gate-hk4e-api/proto/GetSceneNpcPositionRsp.pb.go new file mode 100644 index 00000000..9395abfe --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneNpcPositionRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSceneNpcPositionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 507 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetSceneNpcPositionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + NpcInfoList []*NpcPositionInfo `protobuf:"bytes,14,rep,name=npc_info_list,json=npcInfoList,proto3" json:"npc_info_list,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *GetSceneNpcPositionRsp) Reset() { + *x = GetSceneNpcPositionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSceneNpcPositionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSceneNpcPositionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSceneNpcPositionRsp) ProtoMessage() {} + +func (x *GetSceneNpcPositionRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetSceneNpcPositionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSceneNpcPositionRsp.ProtoReflect.Descriptor instead. +func (*GetSceneNpcPositionRsp) Descriptor() ([]byte, []int) { + return file_GetSceneNpcPositionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSceneNpcPositionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetSceneNpcPositionRsp) GetNpcInfoList() []*NpcPositionInfo { + if x != nil { + return x.NpcInfoList + } + return nil +} + +func (x *GetSceneNpcPositionRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_GetSceneNpcPositionRsp_proto protoreflect.FileDescriptor + +var file_GetSceneNpcPositionRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x0d, 0x6e, 0x70, + 0x63, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6e, 0x70, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSceneNpcPositionRsp_proto_rawDescOnce sync.Once + file_GetSceneNpcPositionRsp_proto_rawDescData = file_GetSceneNpcPositionRsp_proto_rawDesc +) + +func file_GetSceneNpcPositionRsp_proto_rawDescGZIP() []byte { + file_GetSceneNpcPositionRsp_proto_rawDescOnce.Do(func() { + file_GetSceneNpcPositionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSceneNpcPositionRsp_proto_rawDescData) + }) + return file_GetSceneNpcPositionRsp_proto_rawDescData +} + +var file_GetSceneNpcPositionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSceneNpcPositionRsp_proto_goTypes = []interface{}{ + (*GetSceneNpcPositionRsp)(nil), // 0: GetSceneNpcPositionRsp + (*NpcPositionInfo)(nil), // 1: NpcPositionInfo +} +var file_GetSceneNpcPositionRsp_proto_depIdxs = []int32{ + 1, // 0: GetSceneNpcPositionRsp.npc_info_list:type_name -> NpcPositionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetSceneNpcPositionRsp_proto_init() } +func file_GetSceneNpcPositionRsp_proto_init() { + if File_GetSceneNpcPositionRsp_proto != nil { + return + } + file_NpcPositionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetSceneNpcPositionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSceneNpcPositionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSceneNpcPositionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSceneNpcPositionRsp_proto_goTypes, + DependencyIndexes: file_GetSceneNpcPositionRsp_proto_depIdxs, + MessageInfos: file_GetSceneNpcPositionRsp_proto_msgTypes, + }.Build() + File_GetSceneNpcPositionRsp_proto = out.File + file_GetSceneNpcPositionRsp_proto_rawDesc = nil + file_GetSceneNpcPositionRsp_proto_goTypes = nil + file_GetSceneNpcPositionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSceneNpcPositionRsp.proto b/gate-hk4e-api/proto/GetSceneNpcPositionRsp.proto new file mode 100644 index 00000000..899334f7 --- /dev/null +++ b/gate-hk4e-api/proto/GetSceneNpcPositionRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "NpcPositionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 507 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetSceneNpcPositionRsp { + int32 retcode = 10; + repeated NpcPositionInfo npc_info_list = 14; + uint32 scene_id = 4; +} diff --git a/gate-hk4e-api/proto/GetScenePerformanceReq.pb.go b/gate-hk4e-api/proto/GetScenePerformanceReq.pb.go new file mode 100644 index 00000000..1038bfd2 --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePerformanceReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetScenePerformanceReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetScenePerformanceReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetScenePerformanceReq) Reset() { + *x = GetScenePerformanceReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetScenePerformanceReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetScenePerformanceReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetScenePerformanceReq) ProtoMessage() {} + +func (x *GetScenePerformanceReq) ProtoReflect() protoreflect.Message { + mi := &file_GetScenePerformanceReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetScenePerformanceReq.ProtoReflect.Descriptor instead. +func (*GetScenePerformanceReq) Descriptor() ([]byte, []int) { + return file_GetScenePerformanceReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetScenePerformanceReq_proto protoreflect.FileDescriptor + +var file_GetScenePerformanceReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetScenePerformanceReq_proto_rawDescOnce sync.Once + file_GetScenePerformanceReq_proto_rawDescData = file_GetScenePerformanceReq_proto_rawDesc +) + +func file_GetScenePerformanceReq_proto_rawDescGZIP() []byte { + file_GetScenePerformanceReq_proto_rawDescOnce.Do(func() { + file_GetScenePerformanceReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetScenePerformanceReq_proto_rawDescData) + }) + return file_GetScenePerformanceReq_proto_rawDescData +} + +var file_GetScenePerformanceReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetScenePerformanceReq_proto_goTypes = []interface{}{ + (*GetScenePerformanceReq)(nil), // 0: GetScenePerformanceReq +} +var file_GetScenePerformanceReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetScenePerformanceReq_proto_init() } +func file_GetScenePerformanceReq_proto_init() { + if File_GetScenePerformanceReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetScenePerformanceReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetScenePerformanceReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetScenePerformanceReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetScenePerformanceReq_proto_goTypes, + DependencyIndexes: file_GetScenePerformanceReq_proto_depIdxs, + MessageInfos: file_GetScenePerformanceReq_proto_msgTypes, + }.Build() + File_GetScenePerformanceReq_proto = out.File + file_GetScenePerformanceReq_proto_rawDesc = nil + file_GetScenePerformanceReq_proto_goTypes = nil + file_GetScenePerformanceReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetScenePerformanceReq.proto b/gate-hk4e-api/proto/GetScenePerformanceReq.proto new file mode 100644 index 00000000..166bfd7f --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePerformanceReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetScenePerformanceReq {} diff --git a/gate-hk4e-api/proto/GetScenePerformanceRsp.pb.go b/gate-hk4e-api/proto/GetScenePerformanceRsp.pb.go new file mode 100644 index 00000000..2517f913 --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePerformanceRsp.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetScenePerformanceRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3137 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetScenePerformanceRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterNum uint32 `protobuf:"varint,9,opt,name=monster_num,json=monsterNum,proto3" json:"monster_num,omitempty"` + GatherNumInsight uint32 `protobuf:"varint,1,opt,name=gather_num_insight,json=gatherNumInsight,proto3" json:"gather_num_insight,omitempty"` + GadgetNum uint32 `protobuf:"varint,6,opt,name=gadget_num,json=gadgetNum,proto3" json:"gadget_num,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + DynamicGroupNum uint32 `protobuf:"varint,12,opt,name=dynamic_group_num,json=dynamicGroupNum,proto3" json:"dynamic_group_num,omitempty"` + GroupNum uint32 `protobuf:"varint,2,opt,name=group_num,json=groupNum,proto3" json:"group_num,omitempty"` + Pos *Vector `protobuf:"bytes,4,opt,name=pos,proto3" json:"pos,omitempty"` + EntityNum uint32 `protobuf:"varint,8,opt,name=entity_num,json=entityNum,proto3" json:"entity_num,omitempty"` + GatherNum uint32 `protobuf:"varint,13,opt,name=gather_num,json=gatherNum,proto3" json:"gather_num,omitempty"` +} + +func (x *GetScenePerformanceRsp) Reset() { + *x = GetScenePerformanceRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetScenePerformanceRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetScenePerformanceRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetScenePerformanceRsp) ProtoMessage() {} + +func (x *GetScenePerformanceRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetScenePerformanceRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetScenePerformanceRsp.ProtoReflect.Descriptor instead. +func (*GetScenePerformanceRsp) Descriptor() ([]byte, []int) { + return file_GetScenePerformanceRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetScenePerformanceRsp) GetMonsterNum() uint32 { + if x != nil { + return x.MonsterNum + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetGatherNumInsight() uint32 { + if x != nil { + return x.GatherNumInsight + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetGadgetNum() uint32 { + if x != nil { + return x.GadgetNum + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetDynamicGroupNum() uint32 { + if x != nil { + return x.DynamicGroupNum + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetGroupNum() uint32 { + if x != nil { + return x.GroupNum + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *GetScenePerformanceRsp) GetEntityNum() uint32 { + if x != nil { + return x.EntityNum + } + return 0 +} + +func (x *GetScenePerformanceRsp) GetGatherNum() uint32 { + if x != nil { + return x.GatherNum + } + return 0 +} + +var File_GetScenePerformanceRsp_proto protoreflect.FileDescriptor + +var file_GetScenePerformanceRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x02, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x6e, 0x63, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x49, + 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x2a, 0x0a, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x75, 0x6d, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, + 0x70, 0x6f, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, + 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, + 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetScenePerformanceRsp_proto_rawDescOnce sync.Once + file_GetScenePerformanceRsp_proto_rawDescData = file_GetScenePerformanceRsp_proto_rawDesc +) + +func file_GetScenePerformanceRsp_proto_rawDescGZIP() []byte { + file_GetScenePerformanceRsp_proto_rawDescOnce.Do(func() { + file_GetScenePerformanceRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetScenePerformanceRsp_proto_rawDescData) + }) + return file_GetScenePerformanceRsp_proto_rawDescData +} + +var file_GetScenePerformanceRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetScenePerformanceRsp_proto_goTypes = []interface{}{ + (*GetScenePerformanceRsp)(nil), // 0: GetScenePerformanceRsp + (*Vector)(nil), // 1: Vector +} +var file_GetScenePerformanceRsp_proto_depIdxs = []int32{ + 1, // 0: GetScenePerformanceRsp.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetScenePerformanceRsp_proto_init() } +func file_GetScenePerformanceRsp_proto_init() { + if File_GetScenePerformanceRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetScenePerformanceRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetScenePerformanceRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetScenePerformanceRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetScenePerformanceRsp_proto_goTypes, + DependencyIndexes: file_GetScenePerformanceRsp_proto_depIdxs, + MessageInfos: file_GetScenePerformanceRsp_proto_msgTypes, + }.Build() + File_GetScenePerformanceRsp_proto = out.File + file_GetScenePerformanceRsp_proto_rawDesc = nil + file_GetScenePerformanceRsp_proto_goTypes = nil + file_GetScenePerformanceRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetScenePerformanceRsp.proto b/gate-hk4e-api/proto/GetScenePerformanceRsp.proto new file mode 100644 index 00000000..55eac59d --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePerformanceRsp.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 3137 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetScenePerformanceRsp { + uint32 monster_num = 9; + uint32 gather_num_insight = 1; + uint32 gadget_num = 6; + int32 retcode = 7; + uint32 dynamic_group_num = 12; + uint32 group_num = 2; + Vector pos = 4; + uint32 entity_num = 8; + uint32 gather_num = 13; +} diff --git a/gate-hk4e-api/proto/GetScenePointReq.pb.go b/gate-hk4e-api/proto/GetScenePointReq.pb.go new file mode 100644 index 00000000..fa7f2c65 --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePointReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetScenePointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 297 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetScenePointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BelongUid uint32 `protobuf:"varint,10,opt,name=belong_uid,json=belongUid,proto3" json:"belong_uid,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *GetScenePointReq) Reset() { + *x = GetScenePointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetScenePointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetScenePointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetScenePointReq) ProtoMessage() {} + +func (x *GetScenePointReq) ProtoReflect() protoreflect.Message { + mi := &file_GetScenePointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetScenePointReq.ProtoReflect.Descriptor instead. +func (*GetScenePointReq) Descriptor() ([]byte, []int) { + return file_GetScenePointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetScenePointReq) GetBelongUid() uint32 { + if x != nil { + return x.BelongUid + } + return 0 +} + +func (x *GetScenePointReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_GetScenePointReq_proto protoreflect.FileDescriptor + +var file_GetScenePointReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, + 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetScenePointReq_proto_rawDescOnce sync.Once + file_GetScenePointReq_proto_rawDescData = file_GetScenePointReq_proto_rawDesc +) + +func file_GetScenePointReq_proto_rawDescGZIP() []byte { + file_GetScenePointReq_proto_rawDescOnce.Do(func() { + file_GetScenePointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetScenePointReq_proto_rawDescData) + }) + return file_GetScenePointReq_proto_rawDescData +} + +var file_GetScenePointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetScenePointReq_proto_goTypes = []interface{}{ + (*GetScenePointReq)(nil), // 0: GetScenePointReq +} +var file_GetScenePointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetScenePointReq_proto_init() } +func file_GetScenePointReq_proto_init() { + if File_GetScenePointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetScenePointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetScenePointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetScenePointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetScenePointReq_proto_goTypes, + DependencyIndexes: file_GetScenePointReq_proto_depIdxs, + MessageInfos: file_GetScenePointReq_proto_msgTypes, + }.Build() + File_GetScenePointReq_proto = out.File + file_GetScenePointReq_proto_rawDesc = nil + file_GetScenePointReq_proto_goTypes = nil + file_GetScenePointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetScenePointReq.proto b/gate-hk4e-api/proto/GetScenePointReq.proto new file mode 100644 index 00000000..65f9f761 --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePointReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 297 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetScenePointReq { + uint32 belong_uid = 10; + uint32 scene_id = 4; +} diff --git a/gate-hk4e-api/proto/GetScenePointRsp.pb.go b/gate-hk4e-api/proto/GetScenePointRsp.pb.go new file mode 100644 index 00000000..9ac9ba6d --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePointRsp.pb.go @@ -0,0 +1,283 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetScenePointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 281 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetScenePointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NotExploredDungeonEntryList []uint32 `protobuf:"varint,11,rep,packed,name=not_explored_dungeon_entry_list,json=notExploredDungeonEntryList,proto3" json:"not_explored_dungeon_entry_list,omitempty"` + ToBeExploreDungeonEntryList []uint32 `protobuf:"varint,15,rep,packed,name=to_be_explore_dungeon_entry_list,json=toBeExploreDungeonEntryList,proto3" json:"to_be_explore_dungeon_entry_list,omitempty"` + LockedPointList []uint32 `protobuf:"varint,2,rep,packed,name=locked_point_list,json=lockedPointList,proto3" json:"locked_point_list,omitempty"` + UnhidePointList []uint32 `protobuf:"varint,5,rep,packed,name=unhide_point_list,json=unhidePointList,proto3" json:"unhide_point_list,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + BelongUid uint32 `protobuf:"varint,12,opt,name=belong_uid,json=belongUid,proto3" json:"belong_uid,omitempty"` + UnlockedPointList []uint32 `protobuf:"varint,13,rep,packed,name=unlocked_point_list,json=unlockedPointList,proto3" json:"unlocked_point_list,omitempty"` + UnlockAreaList []uint32 `protobuf:"varint,1,rep,packed,name=unlock_area_list,json=unlockAreaList,proto3" json:"unlock_area_list,omitempty"` + HidePointList []uint32 `protobuf:"varint,4,rep,packed,name=hide_point_list,json=hidePointList,proto3" json:"hide_point_list,omitempty"` + SceneId uint32 `protobuf:"varint,14,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + NotInteractDungeonEntryList []uint32 `protobuf:"varint,6,rep,packed,name=not_interact_dungeon_entry_list,json=notInteractDungeonEntryList,proto3" json:"not_interact_dungeon_entry_list,omitempty"` + GroupUnlimitPointList []uint32 `protobuf:"varint,10,rep,packed,name=group_unlimit_point_list,json=groupUnlimitPointList,proto3" json:"group_unlimit_point_list,omitempty"` +} + +func (x *GetScenePointRsp) Reset() { + *x = GetScenePointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetScenePointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetScenePointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetScenePointRsp) ProtoMessage() {} + +func (x *GetScenePointRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetScenePointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetScenePointRsp.ProtoReflect.Descriptor instead. +func (*GetScenePointRsp) Descriptor() ([]byte, []int) { + return file_GetScenePointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetScenePointRsp) GetNotExploredDungeonEntryList() []uint32 { + if x != nil { + return x.NotExploredDungeonEntryList + } + return nil +} + +func (x *GetScenePointRsp) GetToBeExploreDungeonEntryList() []uint32 { + if x != nil { + return x.ToBeExploreDungeonEntryList + } + return nil +} + +func (x *GetScenePointRsp) GetLockedPointList() []uint32 { + if x != nil { + return x.LockedPointList + } + return nil +} + +func (x *GetScenePointRsp) GetUnhidePointList() []uint32 { + if x != nil { + return x.UnhidePointList + } + return nil +} + +func (x *GetScenePointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetScenePointRsp) GetBelongUid() uint32 { + if x != nil { + return x.BelongUid + } + return 0 +} + +func (x *GetScenePointRsp) GetUnlockedPointList() []uint32 { + if x != nil { + return x.UnlockedPointList + } + return nil +} + +func (x *GetScenePointRsp) GetUnlockAreaList() []uint32 { + if x != nil { + return x.UnlockAreaList + } + return nil +} + +func (x *GetScenePointRsp) GetHidePointList() []uint32 { + if x != nil { + return x.HidePointList + } + return nil +} + +func (x *GetScenePointRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GetScenePointRsp) GetNotInteractDungeonEntryList() []uint32 { + if x != nil { + return x.NotInteractDungeonEntryList + } + return nil +} + +func (x *GetScenePointRsp) GetGroupUnlimitPointList() []uint32 { + if x != nil { + return x.GroupUnlimitPointList + } + return nil +} + +var File_GetScenePointRsp_proto protoreflect.FileDescriptor + +var file_GetScenePointRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x04, 0x0a, 0x10, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x44, 0x0a, + 0x1f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1b, 0x6e, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, + 0x72, 0x65, 0x64, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x20, 0x74, 0x6f, 0x5f, 0x62, 0x65, 0x5f, 0x65, 0x78, 0x70, + 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1b, 0x74, + 0x6f, 0x42, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0f, 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x55, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x75, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x75, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x65, + 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, + 0x68, 0x69, 0x64, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x1f, 0x6e, 0x6f, 0x74, 0x5f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x1b, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, + 0x0a, 0x18, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x75, 0x6e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x15, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x6e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetScenePointRsp_proto_rawDescOnce sync.Once + file_GetScenePointRsp_proto_rawDescData = file_GetScenePointRsp_proto_rawDesc +) + +func file_GetScenePointRsp_proto_rawDescGZIP() []byte { + file_GetScenePointRsp_proto_rawDescOnce.Do(func() { + file_GetScenePointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetScenePointRsp_proto_rawDescData) + }) + return file_GetScenePointRsp_proto_rawDescData +} + +var file_GetScenePointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetScenePointRsp_proto_goTypes = []interface{}{ + (*GetScenePointRsp)(nil), // 0: GetScenePointRsp +} +var file_GetScenePointRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetScenePointRsp_proto_init() } +func file_GetScenePointRsp_proto_init() { + if File_GetScenePointRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetScenePointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetScenePointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetScenePointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetScenePointRsp_proto_goTypes, + DependencyIndexes: file_GetScenePointRsp_proto_depIdxs, + MessageInfos: file_GetScenePointRsp_proto_msgTypes, + }.Build() + File_GetScenePointRsp_proto = out.File + file_GetScenePointRsp_proto_rawDesc = nil + file_GetScenePointRsp_proto_goTypes = nil + file_GetScenePointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetScenePointRsp.proto b/gate-hk4e-api/proto/GetScenePointRsp.proto new file mode 100644 index 00000000..e9633923 --- /dev/null +++ b/gate-hk4e-api/proto/GetScenePointRsp.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 281 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetScenePointRsp { + repeated uint32 not_explored_dungeon_entry_list = 11; + repeated uint32 to_be_explore_dungeon_entry_list = 15; + repeated uint32 locked_point_list = 2; + repeated uint32 unhide_point_list = 5; + int32 retcode = 9; + uint32 belong_uid = 12; + repeated uint32 unlocked_point_list = 13; + repeated uint32 unlock_area_list = 1; + repeated uint32 hide_point_list = 4; + uint32 scene_id = 14; + repeated uint32 not_interact_dungeon_entry_list = 6; + repeated uint32 group_unlimit_point_list = 10; +} diff --git a/gate-hk4e-api/proto/GetShopReq.pb.go b/gate-hk4e-api/proto/GetShopReq.pb.go new file mode 100644 index 00000000..b1272d57 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetShopReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetShopReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShopType uint32 `protobuf:"varint,13,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` +} + +func (x *GetShopReq) Reset() { + *x = GetShopReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetShopReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShopReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShopReq) ProtoMessage() {} + +func (x *GetShopReq) ProtoReflect() protoreflect.Message { + mi := &file_GetShopReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShopReq.ProtoReflect.Descriptor instead. +func (*GetShopReq) Descriptor() ([]byte, []int) { + return file_GetShopReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetShopReq) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +var File_GetShopReq_proto protoreflect.FileDescriptor + +var file_GetShopReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x71, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GetShopReq_proto_rawDescOnce sync.Once + file_GetShopReq_proto_rawDescData = file_GetShopReq_proto_rawDesc +) + +func file_GetShopReq_proto_rawDescGZIP() []byte { + file_GetShopReq_proto_rawDescOnce.Do(func() { + file_GetShopReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetShopReq_proto_rawDescData) + }) + return file_GetShopReq_proto_rawDescData +} + +var file_GetShopReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetShopReq_proto_goTypes = []interface{}{ + (*GetShopReq)(nil), // 0: GetShopReq +} +var file_GetShopReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetShopReq_proto_init() } +func file_GetShopReq_proto_init() { + if File_GetShopReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetShopReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShopReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetShopReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetShopReq_proto_goTypes, + DependencyIndexes: file_GetShopReq_proto_depIdxs, + MessageInfos: file_GetShopReq_proto_msgTypes, + }.Build() + File_GetShopReq_proto = out.File + file_GetShopReq_proto_rawDesc = nil + file_GetShopReq_proto_goTypes = nil + file_GetShopReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetShopReq.proto b/gate-hk4e-api/proto/GetShopReq.proto new file mode 100644 index 00000000..28b41549 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetShopReq { + uint32 shop_type = 13; +} diff --git a/gate-hk4e-api/proto/GetShopRsp.pb.go b/gate-hk4e-api/proto/GetShopRsp.pb.go new file mode 100644 index 00000000..5559c906 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetShopRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 798 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetShopRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shop *Shop `protobuf:"bytes,11,opt,name=shop,proto3" json:"shop,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetShopRsp) Reset() { + *x = GetShopRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetShopRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShopRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShopRsp) ProtoMessage() {} + +func (x *GetShopRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetShopRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShopRsp.ProtoReflect.Descriptor instead. +func (*GetShopRsp) Descriptor() ([]byte, []int) { + return file_GetShopRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetShopRsp) GetShop() *Shop { + if x != nil { + return x.Shop + } + return nil +} + +func (x *GetShopRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetShopRsp_proto protoreflect.FileDescriptor + +var file_GetShopRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0a, 0x53, 0x68, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, + 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x04, + 0x73, 0x68, 0x6f, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x53, 0x68, 0x6f, + 0x70, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetShopRsp_proto_rawDescOnce sync.Once + file_GetShopRsp_proto_rawDescData = file_GetShopRsp_proto_rawDesc +) + +func file_GetShopRsp_proto_rawDescGZIP() []byte { + file_GetShopRsp_proto_rawDescOnce.Do(func() { + file_GetShopRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetShopRsp_proto_rawDescData) + }) + return file_GetShopRsp_proto_rawDescData +} + +var file_GetShopRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetShopRsp_proto_goTypes = []interface{}{ + (*GetShopRsp)(nil), // 0: GetShopRsp + (*Shop)(nil), // 1: Shop +} +var file_GetShopRsp_proto_depIdxs = []int32{ + 1, // 0: GetShopRsp.shop:type_name -> Shop + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetShopRsp_proto_init() } +func file_GetShopRsp_proto_init() { + if File_GetShopRsp_proto != nil { + return + } + file_Shop_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetShopRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShopRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetShopRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetShopRsp_proto_goTypes, + DependencyIndexes: file_GetShopRsp_proto_depIdxs, + MessageInfos: file_GetShopRsp_proto_msgTypes, + }.Build() + File_GetShopRsp_proto = out.File + file_GetShopRsp_proto_rawDesc = nil + file_GetShopRsp_proto_goTypes = nil + file_GetShopRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetShopRsp.proto b/gate-hk4e-api/proto/GetShopRsp.proto new file mode 100644 index 00000000..a7f7847d --- /dev/null +++ b/gate-hk4e-api/proto/GetShopRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Shop.proto"; + +option go_package = "./;proto"; + +// CmdId: 798 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetShopRsp { + Shop shop = 11; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/GetShopmallDataReq.pb.go b/gate-hk4e-api/proto/GetShopmallDataReq.pb.go new file mode 100644 index 00000000..213e2ad5 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopmallDataReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetShopmallDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 707 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetShopmallDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetShopmallDataReq) Reset() { + *x = GetShopmallDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetShopmallDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShopmallDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShopmallDataReq) ProtoMessage() {} + +func (x *GetShopmallDataReq) ProtoReflect() protoreflect.Message { + mi := &file_GetShopmallDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShopmallDataReq.ProtoReflect.Descriptor instead. +func (*GetShopmallDataReq) Descriptor() ([]byte, []int) { + return file_GetShopmallDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetShopmallDataReq_proto protoreflect.FileDescriptor + +var file_GetShopmallDataReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x6d, 0x61, 0x6c, 0x6c, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x68, 0x6f, 0x70, 0x6d, 0x61, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetShopmallDataReq_proto_rawDescOnce sync.Once + file_GetShopmallDataReq_proto_rawDescData = file_GetShopmallDataReq_proto_rawDesc +) + +func file_GetShopmallDataReq_proto_rawDescGZIP() []byte { + file_GetShopmallDataReq_proto_rawDescOnce.Do(func() { + file_GetShopmallDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetShopmallDataReq_proto_rawDescData) + }) + return file_GetShopmallDataReq_proto_rawDescData +} + +var file_GetShopmallDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetShopmallDataReq_proto_goTypes = []interface{}{ + (*GetShopmallDataReq)(nil), // 0: GetShopmallDataReq +} +var file_GetShopmallDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetShopmallDataReq_proto_init() } +func file_GetShopmallDataReq_proto_init() { + if File_GetShopmallDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetShopmallDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShopmallDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetShopmallDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetShopmallDataReq_proto_goTypes, + DependencyIndexes: file_GetShopmallDataReq_proto_depIdxs, + MessageInfos: file_GetShopmallDataReq_proto_msgTypes, + }.Build() + File_GetShopmallDataReq_proto = out.File + file_GetShopmallDataReq_proto_rawDesc = nil + file_GetShopmallDataReq_proto_goTypes = nil + file_GetShopmallDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetShopmallDataReq.proto b/gate-hk4e-api/proto/GetShopmallDataReq.proto new file mode 100644 index 00000000..6d2ab8e5 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopmallDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 707 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetShopmallDataReq {} diff --git a/gate-hk4e-api/proto/GetShopmallDataRsp.pb.go b/gate-hk4e-api/proto/GetShopmallDataRsp.pb.go new file mode 100644 index 00000000..cfe76d31 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopmallDataRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetShopmallDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 721 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetShopmallDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShopTypeList []uint32 `protobuf:"varint,15,rep,packed,name=shop_type_list,json=shopTypeList,proto3" json:"shop_type_list,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetShopmallDataRsp) Reset() { + *x = GetShopmallDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetShopmallDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShopmallDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShopmallDataRsp) ProtoMessage() {} + +func (x *GetShopmallDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetShopmallDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShopmallDataRsp.ProtoReflect.Descriptor instead. +func (*GetShopmallDataRsp) Descriptor() ([]byte, []int) { + return file_GetShopmallDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetShopmallDataRsp) GetShopTypeList() []uint32 { + if x != nil { + return x.ShopTypeList + } + return nil +} + +func (x *GetShopmallDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetShopmallDataRsp_proto protoreflect.FileDescriptor + +var file_GetShopmallDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x68, 0x6f, 0x70, 0x6d, 0x61, 0x6c, 0x6c, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x68, 0x6f, 0x70, 0x6d, 0x61, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, + 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x70, 0x54, 0x79, + 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetShopmallDataRsp_proto_rawDescOnce sync.Once + file_GetShopmallDataRsp_proto_rawDescData = file_GetShopmallDataRsp_proto_rawDesc +) + +func file_GetShopmallDataRsp_proto_rawDescGZIP() []byte { + file_GetShopmallDataRsp_proto_rawDescOnce.Do(func() { + file_GetShopmallDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetShopmallDataRsp_proto_rawDescData) + }) + return file_GetShopmallDataRsp_proto_rawDescData +} + +var file_GetShopmallDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetShopmallDataRsp_proto_goTypes = []interface{}{ + (*GetShopmallDataRsp)(nil), // 0: GetShopmallDataRsp +} +var file_GetShopmallDataRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetShopmallDataRsp_proto_init() } +func file_GetShopmallDataRsp_proto_init() { + if File_GetShopmallDataRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetShopmallDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetShopmallDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetShopmallDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetShopmallDataRsp_proto_goTypes, + DependencyIndexes: file_GetShopmallDataRsp_proto_depIdxs, + MessageInfos: file_GetShopmallDataRsp_proto_msgTypes, + }.Build() + File_GetShopmallDataRsp_proto = out.File + file_GetShopmallDataRsp_proto_rawDesc = nil + file_GetShopmallDataRsp_proto_goTypes = nil + file_GetShopmallDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetShopmallDataRsp.proto b/gate-hk4e-api/proto/GetShopmallDataRsp.proto new file mode 100644 index 00000000..f430db39 --- /dev/null +++ b/gate-hk4e-api/proto/GetShopmallDataRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 721 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetShopmallDataRsp { + repeated uint32 shop_type_list = 15; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/GetSignInRewardReq.pb.go b/gate-hk4e-api/proto/GetSignInRewardReq.pb.go new file mode 100644 index 00000000..5135f7cd --- /dev/null +++ b/gate-hk4e-api/proto/GetSignInRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSignInRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetSignInRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + RewardDay uint32 `protobuf:"varint,3,opt,name=reward_day,json=rewardDay,proto3" json:"reward_day,omitempty"` +} + +func (x *GetSignInRewardReq) Reset() { + *x = GetSignInRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSignInRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSignInRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSignInRewardReq) ProtoMessage() {} + +func (x *GetSignInRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_GetSignInRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSignInRewardReq.ProtoReflect.Descriptor instead. +func (*GetSignInRewardReq) Descriptor() ([]byte, []int) { + return file_GetSignInRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSignInRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *GetSignInRewardReq) GetRewardDay() uint32 { + if x != nil { + return x.RewardDay + } + return 0 +} + +var File_GetSignInRewardReq_proto protoreflect.FileDescriptor + +var file_GetSignInRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x79, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSignInRewardReq_proto_rawDescOnce sync.Once + file_GetSignInRewardReq_proto_rawDescData = file_GetSignInRewardReq_proto_rawDesc +) + +func file_GetSignInRewardReq_proto_rawDescGZIP() []byte { + file_GetSignInRewardReq_proto_rawDescOnce.Do(func() { + file_GetSignInRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSignInRewardReq_proto_rawDescData) + }) + return file_GetSignInRewardReq_proto_rawDescData +} + +var file_GetSignInRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSignInRewardReq_proto_goTypes = []interface{}{ + (*GetSignInRewardReq)(nil), // 0: GetSignInRewardReq +} +var file_GetSignInRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetSignInRewardReq_proto_init() } +func file_GetSignInRewardReq_proto_init() { + if File_GetSignInRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetSignInRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSignInRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSignInRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSignInRewardReq_proto_goTypes, + DependencyIndexes: file_GetSignInRewardReq_proto_depIdxs, + MessageInfos: file_GetSignInRewardReq_proto_msgTypes, + }.Build() + File_GetSignInRewardReq_proto = out.File + file_GetSignInRewardReq_proto_rawDesc = nil + file_GetSignInRewardReq_proto_goTypes = nil + file_GetSignInRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSignInRewardReq.proto b/gate-hk4e-api/proto/GetSignInRewardReq.proto new file mode 100644 index 00000000..f8b827b8 --- /dev/null +++ b/gate-hk4e-api/proto/GetSignInRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetSignInRewardReq { + uint32 schedule_id = 10; + uint32 reward_day = 3; +} diff --git a/gate-hk4e-api/proto/GetSignInRewardRsp.pb.go b/gate-hk4e-api/proto/GetSignInRewardRsp.pb.go new file mode 100644 index 00000000..efac116b --- /dev/null +++ b/gate-hk4e-api/proto/GetSignInRewardRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetSignInRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2521 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetSignInRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + SignInInfo *SignInInfo `protobuf:"bytes,14,opt,name=sign_in_info,json=signInInfo,proto3" json:"sign_in_info,omitempty"` +} + +func (x *GetSignInRewardRsp) Reset() { + *x = GetSignInRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetSignInRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSignInRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSignInRewardRsp) ProtoMessage() {} + +func (x *GetSignInRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetSignInRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSignInRewardRsp.ProtoReflect.Descriptor instead. +func (*GetSignInRewardRsp) Descriptor() ([]byte, []int) { + return file_GetSignInRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetSignInRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetSignInRewardRsp) GetSignInInfo() *SignInInfo { + if x != nil { + return x.SignInInfo + } + return nil +} + +var File_GetSignInRewardRsp_proto protoreflect.FileDescriptor + +var file_GetSignInRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x69, 0x67, 0x6e, + 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2d, 0x0a, 0x0c, + 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetSignInRewardRsp_proto_rawDescOnce sync.Once + file_GetSignInRewardRsp_proto_rawDescData = file_GetSignInRewardRsp_proto_rawDesc +) + +func file_GetSignInRewardRsp_proto_rawDescGZIP() []byte { + file_GetSignInRewardRsp_proto_rawDescOnce.Do(func() { + file_GetSignInRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetSignInRewardRsp_proto_rawDescData) + }) + return file_GetSignInRewardRsp_proto_rawDescData +} + +var file_GetSignInRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetSignInRewardRsp_proto_goTypes = []interface{}{ + (*GetSignInRewardRsp)(nil), // 0: GetSignInRewardRsp + (*SignInInfo)(nil), // 1: SignInInfo +} +var file_GetSignInRewardRsp_proto_depIdxs = []int32{ + 1, // 0: GetSignInRewardRsp.sign_in_info:type_name -> SignInInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetSignInRewardRsp_proto_init() } +func file_GetSignInRewardRsp_proto_init() { + if File_GetSignInRewardRsp_proto != nil { + return + } + file_SignInInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetSignInRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSignInRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetSignInRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetSignInRewardRsp_proto_goTypes, + DependencyIndexes: file_GetSignInRewardRsp_proto_depIdxs, + MessageInfos: file_GetSignInRewardRsp_proto_msgTypes, + }.Build() + File_GetSignInRewardRsp_proto = out.File + file_GetSignInRewardRsp_proto_rawDesc = nil + file_GetSignInRewardRsp_proto_goTypes = nil + file_GetSignInRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetSignInRewardRsp.proto b/gate-hk4e-api/proto/GetSignInRewardRsp.proto new file mode 100644 index 00000000..800307b2 --- /dev/null +++ b/gate-hk4e-api/proto/GetSignInRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SignInInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2521 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetSignInRewardRsp { + int32 retcode = 1; + SignInInfo sign_in_info = 14; +} diff --git a/gate-hk4e-api/proto/GetWidgetSlotReq.pb.go b/gate-hk4e-api/proto/GetWidgetSlotReq.pb.go new file mode 100644 index 00000000..16f73106 --- /dev/null +++ b/gate-hk4e-api/proto/GetWidgetSlotReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetWidgetSlotReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4253 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetWidgetSlotReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetWidgetSlotReq) Reset() { + *x = GetWidgetSlotReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetWidgetSlotReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWidgetSlotReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWidgetSlotReq) ProtoMessage() {} + +func (x *GetWidgetSlotReq) ProtoReflect() protoreflect.Message { + mi := &file_GetWidgetSlotReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWidgetSlotReq.ProtoReflect.Descriptor instead. +func (*GetWidgetSlotReq) Descriptor() ([]byte, []int) { + return file_GetWidgetSlotReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetWidgetSlotReq_proto protoreflect.FileDescriptor + +var file_GetWidgetSlotReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetWidgetSlotReq_proto_rawDescOnce sync.Once + file_GetWidgetSlotReq_proto_rawDescData = file_GetWidgetSlotReq_proto_rawDesc +) + +func file_GetWidgetSlotReq_proto_rawDescGZIP() []byte { + file_GetWidgetSlotReq_proto_rawDescOnce.Do(func() { + file_GetWidgetSlotReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetWidgetSlotReq_proto_rawDescData) + }) + return file_GetWidgetSlotReq_proto_rawDescData +} + +var file_GetWidgetSlotReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetWidgetSlotReq_proto_goTypes = []interface{}{ + (*GetWidgetSlotReq)(nil), // 0: GetWidgetSlotReq +} +var file_GetWidgetSlotReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetWidgetSlotReq_proto_init() } +func file_GetWidgetSlotReq_proto_init() { + if File_GetWidgetSlotReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetWidgetSlotReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWidgetSlotReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetWidgetSlotReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetWidgetSlotReq_proto_goTypes, + DependencyIndexes: file_GetWidgetSlotReq_proto_depIdxs, + MessageInfos: file_GetWidgetSlotReq_proto_msgTypes, + }.Build() + File_GetWidgetSlotReq_proto = out.File + file_GetWidgetSlotReq_proto_rawDesc = nil + file_GetWidgetSlotReq_proto_goTypes = nil + file_GetWidgetSlotReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetWidgetSlotReq.proto b/gate-hk4e-api/proto/GetWidgetSlotReq.proto new file mode 100644 index 00000000..1deaa659 --- /dev/null +++ b/gate-hk4e-api/proto/GetWidgetSlotReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4253 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetWidgetSlotReq {} diff --git a/gate-hk4e-api/proto/GetWidgetSlotRsp.pb.go b/gate-hk4e-api/proto/GetWidgetSlotRsp.pb.go new file mode 100644 index 00000000..c2fd5f5d --- /dev/null +++ b/gate-hk4e-api/proto/GetWidgetSlotRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetWidgetSlotRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4254 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetWidgetSlotRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlotList []*WidgetSlotData `protobuf:"bytes,13,rep,name=slot_list,json=slotList,proto3" json:"slot_list,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GetWidgetSlotRsp) Reset() { + *x = GetWidgetSlotRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetWidgetSlotRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWidgetSlotRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWidgetSlotRsp) ProtoMessage() {} + +func (x *GetWidgetSlotRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetWidgetSlotRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWidgetSlotRsp.ProtoReflect.Descriptor instead. +func (*GetWidgetSlotRsp) Descriptor() ([]byte, []int) { + return file_GetWidgetSlotRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetWidgetSlotRsp) GetSlotList() []*WidgetSlotData { + if x != nil { + return x.SlotList + } + return nil +} + +func (x *GetWidgetSlotRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GetWidgetSlotRsp_proto protoreflect.FileDescriptor + +var file_GetWidgetSlotRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x09, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x73, 0x6c, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetWidgetSlotRsp_proto_rawDescOnce sync.Once + file_GetWidgetSlotRsp_proto_rawDescData = file_GetWidgetSlotRsp_proto_rawDesc +) + +func file_GetWidgetSlotRsp_proto_rawDescGZIP() []byte { + file_GetWidgetSlotRsp_proto_rawDescOnce.Do(func() { + file_GetWidgetSlotRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetWidgetSlotRsp_proto_rawDescData) + }) + return file_GetWidgetSlotRsp_proto_rawDescData +} + +var file_GetWidgetSlotRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetWidgetSlotRsp_proto_goTypes = []interface{}{ + (*GetWidgetSlotRsp)(nil), // 0: GetWidgetSlotRsp + (*WidgetSlotData)(nil), // 1: WidgetSlotData +} +var file_GetWidgetSlotRsp_proto_depIdxs = []int32{ + 1, // 0: GetWidgetSlotRsp.slot_list:type_name -> WidgetSlotData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GetWidgetSlotRsp_proto_init() } +func file_GetWidgetSlotRsp_proto_init() { + if File_GetWidgetSlotRsp_proto != nil { + return + } + file_WidgetSlotData_proto_init() + if !protoimpl.UnsafeEnabled { + file_GetWidgetSlotRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWidgetSlotRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetWidgetSlotRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetWidgetSlotRsp_proto_goTypes, + DependencyIndexes: file_GetWidgetSlotRsp_proto_depIdxs, + MessageInfos: file_GetWidgetSlotRsp_proto_msgTypes, + }.Build() + File_GetWidgetSlotRsp_proto = out.File + file_GetWidgetSlotRsp_proto_rawDesc = nil + file_GetWidgetSlotRsp_proto_goTypes = nil + file_GetWidgetSlotRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetWidgetSlotRsp.proto b/gate-hk4e-api/proto/GetWidgetSlotRsp.proto new file mode 100644 index 00000000..b89222a0 --- /dev/null +++ b/gate-hk4e-api/proto/GetWidgetSlotRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4254 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetWidgetSlotRsp { + repeated WidgetSlotData slot_list = 13; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/GetWorldMpInfoReq.pb.go b/gate-hk4e-api/proto/GetWorldMpInfoReq.pb.go new file mode 100644 index 00000000..b14ceb96 --- /dev/null +++ b/gate-hk4e-api/proto/GetWorldMpInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetWorldMpInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3391 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GetWorldMpInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetWorldMpInfoReq) Reset() { + *x = GetWorldMpInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GetWorldMpInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorldMpInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorldMpInfoReq) ProtoMessage() {} + +func (x *GetWorldMpInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_GetWorldMpInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorldMpInfoReq.ProtoReflect.Descriptor instead. +func (*GetWorldMpInfoReq) Descriptor() ([]byte, []int) { + return file_GetWorldMpInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_GetWorldMpInfoReq_proto protoreflect.FileDescriptor + +var file_GetWorldMpInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4d, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GetWorldMpInfoReq_proto_rawDescOnce sync.Once + file_GetWorldMpInfoReq_proto_rawDescData = file_GetWorldMpInfoReq_proto_rawDesc +) + +func file_GetWorldMpInfoReq_proto_rawDescGZIP() []byte { + file_GetWorldMpInfoReq_proto_rawDescOnce.Do(func() { + file_GetWorldMpInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetWorldMpInfoReq_proto_rawDescData) + }) + return file_GetWorldMpInfoReq_proto_rawDescData +} + +var file_GetWorldMpInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetWorldMpInfoReq_proto_goTypes = []interface{}{ + (*GetWorldMpInfoReq)(nil), // 0: GetWorldMpInfoReq +} +var file_GetWorldMpInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetWorldMpInfoReq_proto_init() } +func file_GetWorldMpInfoReq_proto_init() { + if File_GetWorldMpInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetWorldMpInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorldMpInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetWorldMpInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetWorldMpInfoReq_proto_goTypes, + DependencyIndexes: file_GetWorldMpInfoReq_proto_depIdxs, + MessageInfos: file_GetWorldMpInfoReq_proto_msgTypes, + }.Build() + File_GetWorldMpInfoReq_proto = out.File + file_GetWorldMpInfoReq_proto_rawDesc = nil + file_GetWorldMpInfoReq_proto_goTypes = nil + file_GetWorldMpInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetWorldMpInfoReq.proto b/gate-hk4e-api/proto/GetWorldMpInfoReq.proto new file mode 100644 index 00000000..97ddf3ba --- /dev/null +++ b/gate-hk4e-api/proto/GetWorldMpInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3391 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GetWorldMpInfoReq {} diff --git a/gate-hk4e-api/proto/GetWorldMpInfoRsp.pb.go b/gate-hk4e-api/proto/GetWorldMpInfoRsp.pb.go new file mode 100644 index 00000000..d90809e8 --- /dev/null +++ b/gate-hk4e-api/proto/GetWorldMpInfoRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GetWorldMpInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3320 +// EnetChannelId: 0 +// EnetIsReliable: true +type GetWorldMpInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsInMpMode bool `protobuf:"varint,1,opt,name=is_in_mp_mode,json=isInMpMode,proto3" json:"is_in_mp_mode,omitempty"` + QuitMpValidTime uint32 `protobuf:"varint,9,opt,name=quit_mp_valid_time,json=quitMpValidTime,proto3" json:"quit_mp_valid_time,omitempty"` +} + +func (x *GetWorldMpInfoRsp) Reset() { + *x = GetWorldMpInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GetWorldMpInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorldMpInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorldMpInfoRsp) ProtoMessage() {} + +func (x *GetWorldMpInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_GetWorldMpInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorldMpInfoRsp.ProtoReflect.Descriptor instead. +func (*GetWorldMpInfoRsp) Descriptor() ([]byte, []int) { + return file_GetWorldMpInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GetWorldMpInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GetWorldMpInfoRsp) GetIsInMpMode() bool { + if x != nil { + return x.IsInMpMode + } + return false +} + +func (x *GetWorldMpInfoRsp) GetQuitMpValidTime() uint32 { + if x != nil { + return x.QuitMpValidTime + } + return 0 +} + +var File_GetWorldMpInfoRsp_proto protoreflect.FileDescriptor + +var file_GetWorldMpInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4d, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x69, + 0x6e, 0x5f, 0x6d, 0x70, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0a, 0x69, 0x73, 0x49, 0x6e, 0x4d, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x71, + 0x75, 0x69, 0x74, 0x5f, 0x6d, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x71, 0x75, 0x69, 0x74, 0x4d, 0x70, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GetWorldMpInfoRsp_proto_rawDescOnce sync.Once + file_GetWorldMpInfoRsp_proto_rawDescData = file_GetWorldMpInfoRsp_proto_rawDesc +) + +func file_GetWorldMpInfoRsp_proto_rawDescGZIP() []byte { + file_GetWorldMpInfoRsp_proto_rawDescOnce.Do(func() { + file_GetWorldMpInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetWorldMpInfoRsp_proto_rawDescData) + }) + return file_GetWorldMpInfoRsp_proto_rawDescData +} + +var file_GetWorldMpInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GetWorldMpInfoRsp_proto_goTypes = []interface{}{ + (*GetWorldMpInfoRsp)(nil), // 0: GetWorldMpInfoRsp +} +var file_GetWorldMpInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GetWorldMpInfoRsp_proto_init() } +func file_GetWorldMpInfoRsp_proto_init() { + if File_GetWorldMpInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GetWorldMpInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorldMpInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GetWorldMpInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GetWorldMpInfoRsp_proto_goTypes, + DependencyIndexes: file_GetWorldMpInfoRsp_proto_depIdxs, + MessageInfos: file_GetWorldMpInfoRsp_proto_msgTypes, + }.Build() + File_GetWorldMpInfoRsp_proto = out.File + file_GetWorldMpInfoRsp_proto_rawDesc = nil + file_GetWorldMpInfoRsp_proto_goTypes = nil + file_GetWorldMpInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GetWorldMpInfoRsp.proto b/gate-hk4e-api/proto/GetWorldMpInfoRsp.proto new file mode 100644 index 00000000..7e4eec35 --- /dev/null +++ b/gate-hk4e-api/proto/GetWorldMpInfoRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3320 +// EnetChannelId: 0 +// EnetIsReliable: true +message GetWorldMpInfoRsp { + int32 retcode = 12; + bool is_in_mp_mode = 1; + uint32 quit_mp_valid_time = 9; +} diff --git a/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.pb.go b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.pb.go new file mode 100644 index 00000000..e772e802 --- /dev/null +++ b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GiveUpRoguelikeDungeonCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8353 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GiveUpRoguelikeDungeonCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GiveUpRoguelikeDungeonCardReq) Reset() { + *x = GiveUpRoguelikeDungeonCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GiveUpRoguelikeDungeonCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GiveUpRoguelikeDungeonCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GiveUpRoguelikeDungeonCardReq) ProtoMessage() {} + +func (x *GiveUpRoguelikeDungeonCardReq) ProtoReflect() protoreflect.Message { + mi := &file_GiveUpRoguelikeDungeonCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GiveUpRoguelikeDungeonCardReq.ProtoReflect.Descriptor instead. +func (*GiveUpRoguelikeDungeonCardReq) Descriptor() ([]byte, []int) { + return file_GiveUpRoguelikeDungeonCardReq_proto_rawDescGZIP(), []int{0} +} + +var File_GiveUpRoguelikeDungeonCardReq_proto protoreflect.FileDescriptor + +var file_GiveUpRoguelikeDungeonCardReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, + 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GiveUpRoguelikeDungeonCardReq_proto_rawDescOnce sync.Once + file_GiveUpRoguelikeDungeonCardReq_proto_rawDescData = file_GiveUpRoguelikeDungeonCardReq_proto_rawDesc +) + +func file_GiveUpRoguelikeDungeonCardReq_proto_rawDescGZIP() []byte { + file_GiveUpRoguelikeDungeonCardReq_proto_rawDescOnce.Do(func() { + file_GiveUpRoguelikeDungeonCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GiveUpRoguelikeDungeonCardReq_proto_rawDescData) + }) + return file_GiveUpRoguelikeDungeonCardReq_proto_rawDescData +} + +var file_GiveUpRoguelikeDungeonCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GiveUpRoguelikeDungeonCardReq_proto_goTypes = []interface{}{ + (*GiveUpRoguelikeDungeonCardReq)(nil), // 0: GiveUpRoguelikeDungeonCardReq +} +var file_GiveUpRoguelikeDungeonCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GiveUpRoguelikeDungeonCardReq_proto_init() } +func file_GiveUpRoguelikeDungeonCardReq_proto_init() { + if File_GiveUpRoguelikeDungeonCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GiveUpRoguelikeDungeonCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GiveUpRoguelikeDungeonCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GiveUpRoguelikeDungeonCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GiveUpRoguelikeDungeonCardReq_proto_goTypes, + DependencyIndexes: file_GiveUpRoguelikeDungeonCardReq_proto_depIdxs, + MessageInfos: file_GiveUpRoguelikeDungeonCardReq_proto_msgTypes, + }.Build() + File_GiveUpRoguelikeDungeonCardReq_proto = out.File + file_GiveUpRoguelikeDungeonCardReq_proto_rawDesc = nil + file_GiveUpRoguelikeDungeonCardReq_proto_goTypes = nil + file_GiveUpRoguelikeDungeonCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.proto b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..b979bb06 --- /dev/null +++ b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8353 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GiveUpRoguelikeDungeonCardReq {} diff --git a/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.pb.go b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.pb.go new file mode 100644 index 00000000..89acd086 --- /dev/null +++ b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GiveUpRoguelikeDungeonCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8497 +// EnetChannelId: 0 +// EnetIsReliable: true +type GiveUpRoguelikeDungeonCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *GiveUpRoguelikeDungeonCardRsp) Reset() { + *x = GiveUpRoguelikeDungeonCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GiveUpRoguelikeDungeonCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GiveUpRoguelikeDungeonCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GiveUpRoguelikeDungeonCardRsp) ProtoMessage() {} + +func (x *GiveUpRoguelikeDungeonCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_GiveUpRoguelikeDungeonCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GiveUpRoguelikeDungeonCardRsp.ProtoReflect.Descriptor instead. +func (*GiveUpRoguelikeDungeonCardRsp) Descriptor() ([]byte, []int) { + return file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GiveUpRoguelikeDungeonCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_GiveUpRoguelikeDungeonCardRsp_proto protoreflect.FileDescriptor + +var file_GiveUpRoguelikeDungeonCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, + 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescOnce sync.Once + file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescData = file_GiveUpRoguelikeDungeonCardRsp_proto_rawDesc +) + +func file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescGZIP() []byte { + file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescOnce.Do(func() { + file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescData) + }) + return file_GiveUpRoguelikeDungeonCardRsp_proto_rawDescData +} + +var file_GiveUpRoguelikeDungeonCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GiveUpRoguelikeDungeonCardRsp_proto_goTypes = []interface{}{ + (*GiveUpRoguelikeDungeonCardRsp)(nil), // 0: GiveUpRoguelikeDungeonCardRsp +} +var file_GiveUpRoguelikeDungeonCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GiveUpRoguelikeDungeonCardRsp_proto_init() } +func file_GiveUpRoguelikeDungeonCardRsp_proto_init() { + if File_GiveUpRoguelikeDungeonCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GiveUpRoguelikeDungeonCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GiveUpRoguelikeDungeonCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GiveUpRoguelikeDungeonCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GiveUpRoguelikeDungeonCardRsp_proto_goTypes, + DependencyIndexes: file_GiveUpRoguelikeDungeonCardRsp_proto_depIdxs, + MessageInfos: file_GiveUpRoguelikeDungeonCardRsp_proto_msgTypes, + }.Build() + File_GiveUpRoguelikeDungeonCardRsp_proto = out.File + file_GiveUpRoguelikeDungeonCardRsp_proto_rawDesc = nil + file_GiveUpRoguelikeDungeonCardRsp_proto_goTypes = nil + file_GiveUpRoguelikeDungeonCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.proto b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..f51e3791 --- /dev/null +++ b/gate-hk4e-api/proto/GiveUpRoguelikeDungeonCardRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8497 +// EnetChannelId: 0 +// EnetIsReliable: true +message GiveUpRoguelikeDungeonCardRsp { + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/GivingRecord.pb.go b/gate-hk4e-api/proto/GivingRecord.pb.go new file mode 100644 index 00000000..d20ec0ea --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecord.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GivingRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GivingRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinished bool `protobuf:"varint,9,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + GroupId uint32 `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + Unk2800_JBPPNEHPACC bool `protobuf:"varint,8,opt,name=Unk2800_JBPPNEHPACC,json=Unk2800JBPPNEHPACC,proto3" json:"Unk2800_JBPPNEHPACC,omitempty"` + GivingId uint32 `protobuf:"varint,3,opt,name=giving_id,json=givingId,proto3" json:"giving_id,omitempty"` + LastGroupId uint32 `protobuf:"varint,6,opt,name=last_group_id,json=lastGroupId,proto3" json:"last_group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + Unk2800_BDKKENPEEGD map[uint32]uint32 `protobuf:"bytes,15,rep,name=Unk2800_BDKKENPEEGD,json=Unk2800BDKKENPEEGD,proto3" json:"Unk2800_BDKKENPEEGD,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *GivingRecord) Reset() { + *x = GivingRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_GivingRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GivingRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GivingRecord) ProtoMessage() {} + +func (x *GivingRecord) ProtoReflect() protoreflect.Message { + mi := &file_GivingRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GivingRecord.ProtoReflect.Descriptor instead. +func (*GivingRecord) Descriptor() ([]byte, []int) { + return file_GivingRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *GivingRecord) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *GivingRecord) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *GivingRecord) GetUnk2800_JBPPNEHPACC() bool { + if x != nil { + return x.Unk2800_JBPPNEHPACC + } + return false +} + +func (x *GivingRecord) GetGivingId() uint32 { + if x != nil { + return x.GivingId + } + return 0 +} + +func (x *GivingRecord) GetLastGroupId() uint32 { + if x != nil { + return x.LastGroupId + } + return 0 +} + +func (x *GivingRecord) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *GivingRecord) GetUnk2800_BDKKENPEEGD() map[uint32]uint32 { + if x != nil { + return x.Unk2800_BDKKENPEEGD + } + return nil +} + +var File_GivingRecord_proto protoreflect.FileDescriptor + +var file_GivingRecord_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x02, 0x0a, 0x0c, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x42, 0x50, + 0x50, 0x4e, 0x45, 0x48, 0x50, 0x41, 0x43, 0x43, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4a, 0x42, 0x50, 0x50, 0x4e, 0x45, 0x48, 0x50, 0x41, + 0x43, 0x43, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, + 0x22, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, + 0x12, 0x56, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x44, 0x4b, 0x4b, + 0x45, 0x4e, 0x50, 0x45, 0x45, 0x47, 0x44, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x42, 0x44, 0x4b, 0x4b, 0x45, 0x4e, 0x50, 0x45, 0x45, 0x47, 0x44, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x42, 0x44, 0x4b, + 0x4b, 0x45, 0x4e, 0x50, 0x45, 0x45, 0x47, 0x44, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x42, 0x44, 0x4b, 0x4b, 0x45, 0x4e, 0x50, 0x45, 0x45, 0x47, 0x44, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_GivingRecord_proto_rawDescOnce sync.Once + file_GivingRecord_proto_rawDescData = file_GivingRecord_proto_rawDesc +) + +func file_GivingRecord_proto_rawDescGZIP() []byte { + file_GivingRecord_proto_rawDescOnce.Do(func() { + file_GivingRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_GivingRecord_proto_rawDescData) + }) + return file_GivingRecord_proto_rawDescData +} + +var file_GivingRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GivingRecord_proto_goTypes = []interface{}{ + (*GivingRecord)(nil), // 0: GivingRecord + nil, // 1: GivingRecord.Unk2800BDKKENPEEGDEntry +} +var file_GivingRecord_proto_depIdxs = []int32{ + 1, // 0: GivingRecord.Unk2800_BDKKENPEEGD:type_name -> GivingRecord.Unk2800BDKKENPEEGDEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GivingRecord_proto_init() } +func file_GivingRecord_proto_init() { + if File_GivingRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GivingRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GivingRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GivingRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GivingRecord_proto_goTypes, + DependencyIndexes: file_GivingRecord_proto_depIdxs, + MessageInfos: file_GivingRecord_proto_msgTypes, + }.Build() + File_GivingRecord_proto = out.File + file_GivingRecord_proto_rawDesc = nil + file_GivingRecord_proto_goTypes = nil + file_GivingRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GivingRecord.proto b/gate-hk4e-api/proto/GivingRecord.proto new file mode 100644 index 00000000..019cb2f0 --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecord.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message GivingRecord { + bool is_finished = 9; + uint32 group_id = 5; + bool Unk2800_JBPPNEHPACC = 8; + uint32 giving_id = 3; + uint32 last_group_id = 6; + uint32 config_id = 2; + map Unk2800_BDKKENPEEGD = 15; +} diff --git a/gate-hk4e-api/proto/GivingRecordChangeNotify.pb.go b/gate-hk4e-api/proto/GivingRecordChangeNotify.pb.go new file mode 100644 index 00000000..c54d541d --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecordChangeNotify.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GivingRecordChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 187 +// EnetChannelId: 0 +// EnetIsReliable: true +type GivingRecordChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDeactive bool `protobuf:"varint,11,opt,name=is_deactive,json=isDeactive,proto3" json:"is_deactive,omitempty"` + GivingRecord *GivingRecord `protobuf:"bytes,15,opt,name=giving_record,json=givingRecord,proto3" json:"giving_record,omitempty"` +} + +func (x *GivingRecordChangeNotify) Reset() { + *x = GivingRecordChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GivingRecordChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GivingRecordChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GivingRecordChangeNotify) ProtoMessage() {} + +func (x *GivingRecordChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_GivingRecordChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GivingRecordChangeNotify.ProtoReflect.Descriptor instead. +func (*GivingRecordChangeNotify) Descriptor() ([]byte, []int) { + return file_GivingRecordChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GivingRecordChangeNotify) GetIsDeactive() bool { + if x != nil { + return x.IsDeactive + } + return false +} + +func (x *GivingRecordChangeNotify) GetGivingRecord() *GivingRecord { + if x != nil { + return x.GivingRecord + } + return nil +} + +var File_GivingRecordChangeNotify_proto protoreflect.FileDescriptor + +var file_GivingRecordChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x18, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x12, 0x32, 0x0a, 0x0d, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x47, 0x69, 0x76, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0c, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GivingRecordChangeNotify_proto_rawDescOnce sync.Once + file_GivingRecordChangeNotify_proto_rawDescData = file_GivingRecordChangeNotify_proto_rawDesc +) + +func file_GivingRecordChangeNotify_proto_rawDescGZIP() []byte { + file_GivingRecordChangeNotify_proto_rawDescOnce.Do(func() { + file_GivingRecordChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GivingRecordChangeNotify_proto_rawDescData) + }) + return file_GivingRecordChangeNotify_proto_rawDescData +} + +var file_GivingRecordChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GivingRecordChangeNotify_proto_goTypes = []interface{}{ + (*GivingRecordChangeNotify)(nil), // 0: GivingRecordChangeNotify + (*GivingRecord)(nil), // 1: GivingRecord +} +var file_GivingRecordChangeNotify_proto_depIdxs = []int32{ + 1, // 0: GivingRecordChangeNotify.giving_record:type_name -> GivingRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GivingRecordChangeNotify_proto_init() } +func file_GivingRecordChangeNotify_proto_init() { + if File_GivingRecordChangeNotify_proto != nil { + return + } + file_GivingRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_GivingRecordChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GivingRecordChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GivingRecordChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GivingRecordChangeNotify_proto_goTypes, + DependencyIndexes: file_GivingRecordChangeNotify_proto_depIdxs, + MessageInfos: file_GivingRecordChangeNotify_proto_msgTypes, + }.Build() + File_GivingRecordChangeNotify_proto = out.File + file_GivingRecordChangeNotify_proto_rawDesc = nil + file_GivingRecordChangeNotify_proto_goTypes = nil + file_GivingRecordChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GivingRecordChangeNotify.proto b/gate-hk4e-api/proto/GivingRecordChangeNotify.proto new file mode 100644 index 00000000..584ac2c5 --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecordChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GivingRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 187 +// EnetChannelId: 0 +// EnetIsReliable: true +message GivingRecordChangeNotify { + bool is_deactive = 11; + GivingRecord giving_record = 15; +} diff --git a/gate-hk4e-api/proto/GivingRecordNotify.pb.go b/gate-hk4e-api/proto/GivingRecordNotify.pb.go new file mode 100644 index 00000000..94f90d54 --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecordNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GivingRecordNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 116 +// EnetChannelId: 0 +// EnetIsReliable: true +type GivingRecordNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GivingRecordList []*GivingRecord `protobuf:"bytes,14,rep,name=giving_record_list,json=givingRecordList,proto3" json:"giving_record_list,omitempty"` +} + +func (x *GivingRecordNotify) Reset() { + *x = GivingRecordNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GivingRecordNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GivingRecordNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GivingRecordNotify) ProtoMessage() {} + +func (x *GivingRecordNotify) ProtoReflect() protoreflect.Message { + mi := &file_GivingRecordNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GivingRecordNotify.ProtoReflect.Descriptor instead. +func (*GivingRecordNotify) Descriptor() ([]byte, []int) { + return file_GivingRecordNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GivingRecordNotify) GetGivingRecordList() []*GivingRecord { + if x != nil { + return x.GivingRecordList + } + return nil +} + +var File_GivingRecordNotify_proto protoreflect.FileDescriptor + +var file_GivingRecordNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x47, 0x69, 0x76, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, + 0x0a, 0x12, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x3b, 0x0a, 0x12, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x10, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GivingRecordNotify_proto_rawDescOnce sync.Once + file_GivingRecordNotify_proto_rawDescData = file_GivingRecordNotify_proto_rawDesc +) + +func file_GivingRecordNotify_proto_rawDescGZIP() []byte { + file_GivingRecordNotify_proto_rawDescOnce.Do(func() { + file_GivingRecordNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GivingRecordNotify_proto_rawDescData) + }) + return file_GivingRecordNotify_proto_rawDescData +} + +var file_GivingRecordNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GivingRecordNotify_proto_goTypes = []interface{}{ + (*GivingRecordNotify)(nil), // 0: GivingRecordNotify + (*GivingRecord)(nil), // 1: GivingRecord +} +var file_GivingRecordNotify_proto_depIdxs = []int32{ + 1, // 0: GivingRecordNotify.giving_record_list:type_name -> GivingRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GivingRecordNotify_proto_init() } +func file_GivingRecordNotify_proto_init() { + if File_GivingRecordNotify_proto != nil { + return + } + file_GivingRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_GivingRecordNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GivingRecordNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GivingRecordNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GivingRecordNotify_proto_goTypes, + DependencyIndexes: file_GivingRecordNotify_proto_depIdxs, + MessageInfos: file_GivingRecordNotify_proto_msgTypes, + }.Build() + File_GivingRecordNotify_proto = out.File + file_GivingRecordNotify_proto_rawDesc = nil + file_GivingRecordNotify_proto_goTypes = nil + file_GivingRecordNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GivingRecordNotify.proto b/gate-hk4e-api/proto/GivingRecordNotify.proto new file mode 100644 index 00000000..50f25fef --- /dev/null +++ b/gate-hk4e-api/proto/GivingRecordNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GivingRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 116 +// EnetChannelId: 0 +// EnetIsReliable: true +message GivingRecordNotify { + repeated GivingRecord giving_record_list = 14; +} diff --git a/gate-hk4e-api/proto/GmTalkNotify.pb.go b/gate-hk4e-api/proto/GmTalkNotify.pb.go new file mode 100644 index 00000000..46e6128b --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkNotify.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GmTalkNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 94 +// EnetChannelId: 0 +// EnetIsReliable: true +type GmTalkNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` +} + +func (x *GmTalkNotify) Reset() { + *x = GmTalkNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GmTalkNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GmTalkNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GmTalkNotify) ProtoMessage() {} + +func (x *GmTalkNotify) ProtoReflect() protoreflect.Message { + mi := &file_GmTalkNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GmTalkNotify.ProtoReflect.Descriptor instead. +func (*GmTalkNotify) Descriptor() ([]byte, []int) { + return file_GmTalkNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GmTalkNotify) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +var File_GmTalkNotify_proto protoreflect.FileDescriptor + +var file_GmTalkNotify_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x0c, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GmTalkNotify_proto_rawDescOnce sync.Once + file_GmTalkNotify_proto_rawDescData = file_GmTalkNotify_proto_rawDesc +) + +func file_GmTalkNotify_proto_rawDescGZIP() []byte { + file_GmTalkNotify_proto_rawDescOnce.Do(func() { + file_GmTalkNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GmTalkNotify_proto_rawDescData) + }) + return file_GmTalkNotify_proto_rawDescData +} + +var file_GmTalkNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GmTalkNotify_proto_goTypes = []interface{}{ + (*GmTalkNotify)(nil), // 0: GmTalkNotify +} +var file_GmTalkNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GmTalkNotify_proto_init() } +func file_GmTalkNotify_proto_init() { + if File_GmTalkNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GmTalkNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GmTalkNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GmTalkNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GmTalkNotify_proto_goTypes, + DependencyIndexes: file_GmTalkNotify_proto_depIdxs, + MessageInfos: file_GmTalkNotify_proto_msgTypes, + }.Build() + File_GmTalkNotify_proto = out.File + file_GmTalkNotify_proto_rawDesc = nil + file_GmTalkNotify_proto_goTypes = nil + file_GmTalkNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GmTalkNotify.proto b/gate-hk4e-api/proto/GmTalkNotify.proto new file mode 100644 index 00000000..d28de779 --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 94 +// EnetChannelId: 0 +// EnetIsReliable: true +message GmTalkNotify { + string msg = 5; +} diff --git a/gate-hk4e-api/proto/GmTalkReq.pb.go b/gate-hk4e-api/proto/GmTalkReq.pb.go new file mode 100644 index 00000000..27fe8e02 --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkReq.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GmTalkReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 98 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type GmTalkReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Msg string `protobuf:"bytes,13,opt,name=msg,proto3" json:"msg,omitempty"` +} + +func (x *GmTalkReq) Reset() { + *x = GmTalkReq{} + if protoimpl.UnsafeEnabled { + mi := &file_GmTalkReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GmTalkReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GmTalkReq) ProtoMessage() {} + +func (x *GmTalkReq) ProtoReflect() protoreflect.Message { + mi := &file_GmTalkReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GmTalkReq.ProtoReflect.Descriptor instead. +func (*GmTalkReq) Descriptor() ([]byte, []int) { + return file_GmTalkReq_proto_rawDescGZIP(), []int{0} +} + +func (x *GmTalkReq) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +var File_GmTalkReq_proto protoreflect.FileDescriptor + +var file_GmTalkReq_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1d, 0x0a, 0x09, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, + 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GmTalkReq_proto_rawDescOnce sync.Once + file_GmTalkReq_proto_rawDescData = file_GmTalkReq_proto_rawDesc +) + +func file_GmTalkReq_proto_rawDescGZIP() []byte { + file_GmTalkReq_proto_rawDescOnce.Do(func() { + file_GmTalkReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_GmTalkReq_proto_rawDescData) + }) + return file_GmTalkReq_proto_rawDescData +} + +var file_GmTalkReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GmTalkReq_proto_goTypes = []interface{}{ + (*GmTalkReq)(nil), // 0: GmTalkReq +} +var file_GmTalkReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GmTalkReq_proto_init() } +func file_GmTalkReq_proto_init() { + if File_GmTalkReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GmTalkReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GmTalkReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GmTalkReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GmTalkReq_proto_goTypes, + DependencyIndexes: file_GmTalkReq_proto_depIdxs, + MessageInfos: file_GmTalkReq_proto_msgTypes, + }.Build() + File_GmTalkReq_proto = out.File + file_GmTalkReq_proto_rawDesc = nil + file_GmTalkReq_proto_goTypes = nil + file_GmTalkReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GmTalkReq.proto b/gate-hk4e-api/proto/GmTalkReq.proto new file mode 100644 index 00000000..a1bac23a --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 98 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message GmTalkReq { + string msg = 13; +} diff --git a/gate-hk4e-api/proto/GmTalkRsp.pb.go b/gate-hk4e-api/proto/GmTalkRsp.pb.go new file mode 100644 index 00000000..8b97c94c --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GmTalkRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 12 +// EnetChannelId: 0 +// EnetIsReliable: true +type GmTalkRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Retmsg string `protobuf:"bytes,3,opt,name=retmsg,proto3" json:"retmsg,omitempty"` + Msg string `protobuf:"bytes,13,opt,name=msg,proto3" json:"msg,omitempty"` +} + +func (x *GmTalkRsp) Reset() { + *x = GmTalkRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_GmTalkRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GmTalkRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GmTalkRsp) ProtoMessage() {} + +func (x *GmTalkRsp) ProtoReflect() protoreflect.Message { + mi := &file_GmTalkRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GmTalkRsp.ProtoReflect.Descriptor instead. +func (*GmTalkRsp) Descriptor() ([]byte, []int) { + return file_GmTalkRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *GmTalkRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *GmTalkRsp) GetRetmsg() string { + if x != nil { + return x.Retmsg + } + return "" +} + +func (x *GmTalkRsp) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +var File_GmTalkRsp_proto protoreflect.FileDescriptor + +var file_GmTalkRsp_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x4f, 0x0a, 0x09, 0x47, 0x6d, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x6d, + 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x6d, 0x73, 0x67, + 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, + 0x73, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GmTalkRsp_proto_rawDescOnce sync.Once + file_GmTalkRsp_proto_rawDescData = file_GmTalkRsp_proto_rawDesc +) + +func file_GmTalkRsp_proto_rawDescGZIP() []byte { + file_GmTalkRsp_proto_rawDescOnce.Do(func() { + file_GmTalkRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_GmTalkRsp_proto_rawDescData) + }) + return file_GmTalkRsp_proto_rawDescData +} + +var file_GmTalkRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GmTalkRsp_proto_goTypes = []interface{}{ + (*GmTalkRsp)(nil), // 0: GmTalkRsp +} +var file_GmTalkRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GmTalkRsp_proto_init() } +func file_GmTalkRsp_proto_init() { + if File_GmTalkRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GmTalkRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GmTalkRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GmTalkRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GmTalkRsp_proto_goTypes, + DependencyIndexes: file_GmTalkRsp_proto_depIdxs, + MessageInfos: file_GmTalkRsp_proto_msgTypes, + }.Build() + File_GmTalkRsp_proto = out.File + file_GmTalkRsp_proto_rawDesc = nil + file_GmTalkRsp_proto_goTypes = nil + file_GmTalkRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GmTalkRsp.proto b/gate-hk4e-api/proto/GmTalkRsp.proto new file mode 100644 index 00000000..580c73c8 --- /dev/null +++ b/gate-hk4e-api/proto/GmTalkRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 12 +// EnetChannelId: 0 +// EnetIsReliable: true +message GmTalkRsp { + int32 retcode = 15; + string retmsg = 3; + string msg = 13; +} diff --git a/gate-hk4e-api/proto/GrantRewardNotify.pb.go b/gate-hk4e-api/proto/GrantRewardNotify.pb.go new file mode 100644 index 00000000..60dd15d7 --- /dev/null +++ b/gate-hk4e-api/proto/GrantRewardNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GrantRewardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 663 +// EnetChannelId: 0 +// EnetIsReliable: true +type GrantRewardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reward *Reward `protobuf:"bytes,6,opt,name=reward,proto3" json:"reward,omitempty"` +} + +func (x *GrantRewardNotify) Reset() { + *x = GrantRewardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GrantRewardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GrantRewardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GrantRewardNotify) ProtoMessage() {} + +func (x *GrantRewardNotify) ProtoReflect() protoreflect.Message { + mi := &file_GrantRewardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GrantRewardNotify.ProtoReflect.Descriptor instead. +func (*GrantRewardNotify) Descriptor() ([]byte, []int) { + return file_GrantRewardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GrantRewardNotify) GetReward() *Reward { + if x != nil { + return x.Reward + } + return nil +} + +var File_GrantRewardNotify_proto protoreflect.FileDescriptor + +var file_GrantRewardNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x11, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x06, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GrantRewardNotify_proto_rawDescOnce sync.Once + file_GrantRewardNotify_proto_rawDescData = file_GrantRewardNotify_proto_rawDesc +) + +func file_GrantRewardNotify_proto_rawDescGZIP() []byte { + file_GrantRewardNotify_proto_rawDescOnce.Do(func() { + file_GrantRewardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GrantRewardNotify_proto_rawDescData) + }) + return file_GrantRewardNotify_proto_rawDescData +} + +var file_GrantRewardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GrantRewardNotify_proto_goTypes = []interface{}{ + (*GrantRewardNotify)(nil), // 0: GrantRewardNotify + (*Reward)(nil), // 1: Reward +} +var file_GrantRewardNotify_proto_depIdxs = []int32{ + 1, // 0: GrantRewardNotify.reward:type_name -> Reward + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GrantRewardNotify_proto_init() } +func file_GrantRewardNotify_proto_init() { + if File_GrantRewardNotify_proto != nil { + return + } + file_Reward_proto_init() + if !protoimpl.UnsafeEnabled { + file_GrantRewardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GrantRewardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GrantRewardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GrantRewardNotify_proto_goTypes, + DependencyIndexes: file_GrantRewardNotify_proto_depIdxs, + MessageInfos: file_GrantRewardNotify_proto_msgTypes, + }.Build() + File_GrantRewardNotify_proto = out.File + file_GrantRewardNotify_proto_rawDesc = nil + file_GrantRewardNotify_proto_goTypes = nil + file_GrantRewardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GrantRewardNotify.proto b/gate-hk4e-api/proto/GrantRewardNotify.proto new file mode 100644 index 00000000..cba941fc --- /dev/null +++ b/gate-hk4e-api/proto/GrantRewardNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Reward.proto"; + +option go_package = "./;proto"; + +// CmdId: 663 +// EnetChannelId: 0 +// EnetIsReliable: true +message GrantRewardNotify { + Reward reward = 6; +} diff --git a/gate-hk4e-api/proto/GravenInnocenceDetailInfo.pb.go b/gate-hk4e-api/proto/GravenInnocenceDetailInfo.pb.go new file mode 100644 index 00000000..6f4b6262 --- /dev/null +++ b/gate-hk4e-api/proto/GravenInnocenceDetailInfo.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GravenInnocenceDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GravenInnocenceDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsContentClosed bool `protobuf:"varint,8,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk3000_JGJKABIPGLK *Unk3000_OFMFFECMKLE `protobuf:"bytes,10,opt,name=Unk3000_JGJKABIPGLK,json=Unk3000JGJKABIPGLK,proto3" json:"Unk3000_JGJKABIPGLK,omitempty"` + Unk3000_CDDIFHNEDOO *Unk3000_ILLNKBDNGKP `protobuf:"bytes,7,opt,name=Unk3000_CDDIFHNEDOO,json=Unk3000CDDIFHNEDOO,proto3" json:"Unk3000_CDDIFHNEDOO,omitempty"` + Unk3000_BDFIOPBIOEB *Unk3000_ALPEACOMIPG `protobuf:"bytes,13,opt,name=Unk3000_BDFIOPBIOEB,json=Unk3000BDFIOPBIOEB,proto3" json:"Unk3000_BDFIOPBIOEB,omitempty"` + Unk3000_KDPJGGENAJM *Unk3000_FFOBEKMOHOI `protobuf:"bytes,12,opt,name=Unk3000_KDPJGGENAJM,json=Unk3000KDPJGGENAJM,proto3" json:"Unk3000_KDPJGGENAJM,omitempty"` +} + +func (x *GravenInnocenceDetailInfo) Reset() { + *x = GravenInnocenceDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_GravenInnocenceDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GravenInnocenceDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GravenInnocenceDetailInfo) ProtoMessage() {} + +func (x *GravenInnocenceDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_GravenInnocenceDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GravenInnocenceDetailInfo.ProtoReflect.Descriptor instead. +func (*GravenInnocenceDetailInfo) Descriptor() ([]byte, []int) { + return file_GravenInnocenceDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *GravenInnocenceDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *GravenInnocenceDetailInfo) GetUnk3000_JGJKABIPGLK() *Unk3000_OFMFFECMKLE { + if x != nil { + return x.Unk3000_JGJKABIPGLK + } + return nil +} + +func (x *GravenInnocenceDetailInfo) GetUnk3000_CDDIFHNEDOO() *Unk3000_ILLNKBDNGKP { + if x != nil { + return x.Unk3000_CDDIFHNEDOO + } + return nil +} + +func (x *GravenInnocenceDetailInfo) GetUnk3000_BDFIOPBIOEB() *Unk3000_ALPEACOMIPG { + if x != nil { + return x.Unk3000_BDFIOPBIOEB + } + return nil +} + +func (x *GravenInnocenceDetailInfo) GetUnk3000_KDPJGGENAJM() *Unk3000_FFOBEKMOHOI { + if x != nil { + return x.Unk3000_KDPJGGENAJM + } + return nil +} + +var File_GravenInnocenceDetailInfo_proto protoreflect.FileDescriptor + +var file_GravenInnocenceDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x49, 0x6e, 0x6e, 0x6f, 0x63, 0x65, 0x6e, 0x63, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x50, 0x45, 0x41, + 0x43, 0x4f, 0x4d, 0x49, 0x50, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x45, 0x4b, 0x4d, 0x4f, 0x48, 0x4f, + 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x49, 0x4c, 0x4c, 0x4e, 0x4b, 0x42, 0x44, 0x4e, 0x47, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x4d, 0x46, + 0x46, 0x45, 0x43, 0x4d, 0x4b, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x02, + 0x0a, 0x19, 0x47, 0x72, 0x61, 0x76, 0x65, 0x6e, 0x49, 0x6e, 0x6e, 0x6f, 0x63, 0x65, 0x6e, 0x63, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4a, 0x47, 0x4a, 0x4b, 0x41, 0x42, 0x49, 0x50, 0x47, 0x4c, 0x4b, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, + 0x46, 0x4d, 0x46, 0x46, 0x45, 0x43, 0x4d, 0x4b, 0x4c, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4a, 0x47, 0x4a, 0x4b, 0x41, 0x42, 0x49, 0x50, 0x47, 0x4c, 0x4b, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x44, 0x49, 0x46, 0x48, + 0x4e, 0x45, 0x44, 0x4f, 0x4f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4c, 0x4e, 0x4b, 0x42, 0x44, 0x4e, 0x47, 0x4b, + 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x44, 0x44, 0x49, 0x46, 0x48, + 0x4e, 0x45, 0x44, 0x4f, 0x4f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x42, 0x44, 0x46, 0x49, 0x4f, 0x50, 0x42, 0x49, 0x4f, 0x45, 0x42, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x50, + 0x45, 0x41, 0x43, 0x4f, 0x4d, 0x49, 0x50, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x42, 0x44, 0x46, 0x49, 0x4f, 0x50, 0x42, 0x49, 0x4f, 0x45, 0x42, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x50, 0x4a, 0x47, 0x47, 0x45, 0x4e, + 0x41, 0x4a, 0x4d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x45, 0x4b, 0x4d, 0x4f, 0x48, 0x4f, 0x49, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4b, 0x44, 0x50, 0x4a, 0x47, 0x47, 0x45, 0x4e, + 0x41, 0x4a, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GravenInnocenceDetailInfo_proto_rawDescOnce sync.Once + file_GravenInnocenceDetailInfo_proto_rawDescData = file_GravenInnocenceDetailInfo_proto_rawDesc +) + +func file_GravenInnocenceDetailInfo_proto_rawDescGZIP() []byte { + file_GravenInnocenceDetailInfo_proto_rawDescOnce.Do(func() { + file_GravenInnocenceDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_GravenInnocenceDetailInfo_proto_rawDescData) + }) + return file_GravenInnocenceDetailInfo_proto_rawDescData +} + +var file_GravenInnocenceDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GravenInnocenceDetailInfo_proto_goTypes = []interface{}{ + (*GravenInnocenceDetailInfo)(nil), // 0: GravenInnocenceDetailInfo + (*Unk3000_OFMFFECMKLE)(nil), // 1: Unk3000_OFMFFECMKLE + (*Unk3000_ILLNKBDNGKP)(nil), // 2: Unk3000_ILLNKBDNGKP + (*Unk3000_ALPEACOMIPG)(nil), // 3: Unk3000_ALPEACOMIPG + (*Unk3000_FFOBEKMOHOI)(nil), // 4: Unk3000_FFOBEKMOHOI +} +var file_GravenInnocenceDetailInfo_proto_depIdxs = []int32{ + 1, // 0: GravenInnocenceDetailInfo.Unk3000_JGJKABIPGLK:type_name -> Unk3000_OFMFFECMKLE + 2, // 1: GravenInnocenceDetailInfo.Unk3000_CDDIFHNEDOO:type_name -> Unk3000_ILLNKBDNGKP + 3, // 2: GravenInnocenceDetailInfo.Unk3000_BDFIOPBIOEB:type_name -> Unk3000_ALPEACOMIPG + 4, // 3: GravenInnocenceDetailInfo.Unk3000_KDPJGGENAJM:type_name -> Unk3000_FFOBEKMOHOI + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_GravenInnocenceDetailInfo_proto_init() } +func file_GravenInnocenceDetailInfo_proto_init() { + if File_GravenInnocenceDetailInfo_proto != nil { + return + } + file_Unk3000_ALPEACOMIPG_proto_init() + file_Unk3000_FFOBEKMOHOI_proto_init() + file_Unk3000_ILLNKBDNGKP_proto_init() + file_Unk3000_OFMFFECMKLE_proto_init() + if !protoimpl.UnsafeEnabled { + file_GravenInnocenceDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GravenInnocenceDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GravenInnocenceDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GravenInnocenceDetailInfo_proto_goTypes, + DependencyIndexes: file_GravenInnocenceDetailInfo_proto_depIdxs, + MessageInfos: file_GravenInnocenceDetailInfo_proto_msgTypes, + }.Build() + File_GravenInnocenceDetailInfo_proto = out.File + file_GravenInnocenceDetailInfo_proto_rawDesc = nil + file_GravenInnocenceDetailInfo_proto_goTypes = nil + file_GravenInnocenceDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GravenInnocenceDetailInfo.proto b/gate-hk4e-api/proto/GravenInnocenceDetailInfo.proto new file mode 100644 index 00000000..0b49733e --- /dev/null +++ b/gate-hk4e-api/proto/GravenInnocenceDetailInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_ALPEACOMIPG.proto"; +import "Unk3000_FFOBEKMOHOI.proto"; +import "Unk3000_ILLNKBDNGKP.proto"; +import "Unk3000_OFMFFECMKLE.proto"; + +option go_package = "./;proto"; + +message GravenInnocenceDetailInfo { + bool is_content_closed = 8; + Unk3000_OFMFFECMKLE Unk3000_JGJKABIPGLK = 10; + Unk3000_ILLNKBDNGKP Unk3000_CDDIFHNEDOO = 7; + Unk3000_ALPEACOMIPG Unk3000_BDFIOPBIOEB = 13; + Unk3000_FFOBEKMOHOI Unk3000_KDPJGGENAJM = 12; +} diff --git a/gate-hk4e-api/proto/GroupLinkAllNotify.pb.go b/gate-hk4e-api/proto/GroupLinkAllNotify.pb.go new file mode 100644 index 00000000..0ee33bcd --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkAllNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupLinkAllNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5776 +// EnetChannelId: 0 +// EnetIsReliable: true +type GroupLinkAllNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BundleList []*GroupLinkBundle `protobuf:"bytes,5,rep,name=bundle_list,json=bundleList,proto3" json:"bundle_list,omitempty"` +} + +func (x *GroupLinkAllNotify) Reset() { + *x = GroupLinkAllNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupLinkAllNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupLinkAllNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupLinkAllNotify) ProtoMessage() {} + +func (x *GroupLinkAllNotify) ProtoReflect() protoreflect.Message { + mi := &file_GroupLinkAllNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupLinkAllNotify.ProtoReflect.Descriptor instead. +func (*GroupLinkAllNotify) Descriptor() ([]byte, []int) { + return file_GroupLinkAllNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupLinkAllNotify) GetBundleList() []*GroupLinkBundle { + if x != nil { + return x.BundleList + } + return nil +} + +var File_GroupLinkAllNotify_proto protoreflect.FileDescriptor + +var file_GroupLinkAllNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x47, 0x0a, 0x12, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x41, 0x6c, + 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x0b, 0x62, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0a, + 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GroupLinkAllNotify_proto_rawDescOnce sync.Once + file_GroupLinkAllNotify_proto_rawDescData = file_GroupLinkAllNotify_proto_rawDesc +) + +func file_GroupLinkAllNotify_proto_rawDescGZIP() []byte { + file_GroupLinkAllNotify_proto_rawDescOnce.Do(func() { + file_GroupLinkAllNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupLinkAllNotify_proto_rawDescData) + }) + return file_GroupLinkAllNotify_proto_rawDescData +} + +var file_GroupLinkAllNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GroupLinkAllNotify_proto_goTypes = []interface{}{ + (*GroupLinkAllNotify)(nil), // 0: GroupLinkAllNotify + (*GroupLinkBundle)(nil), // 1: GroupLinkBundle +} +var file_GroupLinkAllNotify_proto_depIdxs = []int32{ + 1, // 0: GroupLinkAllNotify.bundle_list:type_name -> GroupLinkBundle + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GroupLinkAllNotify_proto_init() } +func file_GroupLinkAllNotify_proto_init() { + if File_GroupLinkAllNotify_proto != nil { + return + } + file_GroupLinkBundle_proto_init() + if !protoimpl.UnsafeEnabled { + file_GroupLinkAllNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupLinkAllNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupLinkAllNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupLinkAllNotify_proto_goTypes, + DependencyIndexes: file_GroupLinkAllNotify_proto_depIdxs, + MessageInfos: file_GroupLinkAllNotify_proto_msgTypes, + }.Build() + File_GroupLinkAllNotify_proto = out.File + file_GroupLinkAllNotify_proto_rawDesc = nil + file_GroupLinkAllNotify_proto_goTypes = nil + file_GroupLinkAllNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupLinkAllNotify.proto b/gate-hk4e-api/proto/GroupLinkAllNotify.proto new file mode 100644 index 00000000..8faca414 --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkAllNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GroupLinkBundle.proto"; + +option go_package = "./;proto"; + +// CmdId: 5776 +// EnetChannelId: 0 +// EnetIsReliable: true +message GroupLinkAllNotify { + repeated GroupLinkBundle bundle_list = 5; +} diff --git a/gate-hk4e-api/proto/GroupLinkBundle.pb.go b/gate-hk4e-api/proto/GroupLinkBundle.pb.go new file mode 100644 index 00000000..897eed3c --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkBundle.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupLinkBundle.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GroupLinkBundle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Center *Vector `protobuf:"bytes,4,opt,name=center,proto3" json:"center,omitempty"` + IsActivated bool `protobuf:"varint,12,opt,name=is_activated,json=isActivated,proto3" json:"is_activated,omitempty"` + BundleId uint32 `protobuf:"varint,3,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` + Unk2700_JKDNOPGKJAC bool `protobuf:"varint,14,opt,name=Unk2700_JKDNOPGKJAC,json=Unk2700JKDNOPGKJAC,proto3" json:"Unk2700_JKDNOPGKJAC,omitempty"` + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Radius uint32 `protobuf:"varint,1,opt,name=radius,proto3" json:"radius,omitempty"` +} + +func (x *GroupLinkBundle) Reset() { + *x = GroupLinkBundle{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupLinkBundle_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupLinkBundle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupLinkBundle) ProtoMessage() {} + +func (x *GroupLinkBundle) ProtoReflect() protoreflect.Message { + mi := &file_GroupLinkBundle_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupLinkBundle.ProtoReflect.Descriptor instead. +func (*GroupLinkBundle) Descriptor() ([]byte, []int) { + return file_GroupLinkBundle_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupLinkBundle) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *GroupLinkBundle) GetIsActivated() bool { + if x != nil { + return x.IsActivated + } + return false +} + +func (x *GroupLinkBundle) GetBundleId() uint32 { + if x != nil { + return x.BundleId + } + return 0 +} + +func (x *GroupLinkBundle) GetUnk2700_JKDNOPGKJAC() bool { + if x != nil { + return x.Unk2700_JKDNOPGKJAC + } + return false +} + +func (x *GroupLinkBundle) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GroupLinkBundle) GetRadius() uint32 { + if x != nil { + return x.Radius + } + return 0 +} + +var File_GroupLinkBundle_proto protoreflect.FileDescriptor + +var file_GroupLinkBundle_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x0f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, + 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x44, 0x4e, 0x4f, 0x50, 0x47, 0x4b, 0x4a, 0x41, + 0x43, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4a, 0x4b, 0x44, 0x4e, 0x4f, 0x50, 0x47, 0x4b, 0x4a, 0x41, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_GroupLinkBundle_proto_rawDescOnce sync.Once + file_GroupLinkBundle_proto_rawDescData = file_GroupLinkBundle_proto_rawDesc +) + +func file_GroupLinkBundle_proto_rawDescGZIP() []byte { + file_GroupLinkBundle_proto_rawDescOnce.Do(func() { + file_GroupLinkBundle_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupLinkBundle_proto_rawDescData) + }) + return file_GroupLinkBundle_proto_rawDescData +} + +var file_GroupLinkBundle_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GroupLinkBundle_proto_goTypes = []interface{}{ + (*GroupLinkBundle)(nil), // 0: GroupLinkBundle + (*Vector)(nil), // 1: Vector +} +var file_GroupLinkBundle_proto_depIdxs = []int32{ + 1, // 0: GroupLinkBundle.center:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GroupLinkBundle_proto_init() } +func file_GroupLinkBundle_proto_init() { + if File_GroupLinkBundle_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_GroupLinkBundle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupLinkBundle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupLinkBundle_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupLinkBundle_proto_goTypes, + DependencyIndexes: file_GroupLinkBundle_proto_depIdxs, + MessageInfos: file_GroupLinkBundle_proto_msgTypes, + }.Build() + File_GroupLinkBundle_proto = out.File + file_GroupLinkBundle_proto_rawDesc = nil + file_GroupLinkBundle_proto_goTypes = nil + file_GroupLinkBundle_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupLinkBundle.proto b/gate-hk4e-api/proto/GroupLinkBundle.proto new file mode 100644 index 00000000..4f0d0ddd --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkBundle.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message GroupLinkBundle { + Vector center = 4; + bool is_activated = 12; + uint32 bundle_id = 3; + bool Unk2700_JKDNOPGKJAC = 14; + uint32 scene_id = 5; + uint32 radius = 1; +} diff --git a/gate-hk4e-api/proto/GroupLinkChangeNotify.pb.go b/gate-hk4e-api/proto/GroupLinkChangeNotify.pb.go new file mode 100644 index 00000000..42d356d6 --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkChangeNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupLinkChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5768 +// EnetChannelId: 0 +// EnetIsReliable: true +type GroupLinkChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Bundle *GroupLinkBundle `protobuf:"bytes,8,opt,name=bundle,proto3" json:"bundle,omitempty"` +} + +func (x *GroupLinkChangeNotify) Reset() { + *x = GroupLinkChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupLinkChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupLinkChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupLinkChangeNotify) ProtoMessage() {} + +func (x *GroupLinkChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_GroupLinkChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupLinkChangeNotify.ProtoReflect.Descriptor instead. +func (*GroupLinkChangeNotify) Descriptor() ([]byte, []int) { + return file_GroupLinkChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupLinkChangeNotify) GetBundle() *GroupLinkBundle { + if x != nil { + return x.Bundle + } + return nil +} + +var File_GroupLinkChangeNotify_proto protoreflect.FileDescriptor + +var file_GroupLinkChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x15, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, + 0x6b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, + 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, + 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GroupLinkChangeNotify_proto_rawDescOnce sync.Once + file_GroupLinkChangeNotify_proto_rawDescData = file_GroupLinkChangeNotify_proto_rawDesc +) + +func file_GroupLinkChangeNotify_proto_rawDescGZIP() []byte { + file_GroupLinkChangeNotify_proto_rawDescOnce.Do(func() { + file_GroupLinkChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupLinkChangeNotify_proto_rawDescData) + }) + return file_GroupLinkChangeNotify_proto_rawDescData +} + +var file_GroupLinkChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GroupLinkChangeNotify_proto_goTypes = []interface{}{ + (*GroupLinkChangeNotify)(nil), // 0: GroupLinkChangeNotify + (*GroupLinkBundle)(nil), // 1: GroupLinkBundle +} +var file_GroupLinkChangeNotify_proto_depIdxs = []int32{ + 1, // 0: GroupLinkChangeNotify.bundle:type_name -> GroupLinkBundle + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GroupLinkChangeNotify_proto_init() } +func file_GroupLinkChangeNotify_proto_init() { + if File_GroupLinkChangeNotify_proto != nil { + return + } + file_GroupLinkBundle_proto_init() + if !protoimpl.UnsafeEnabled { + file_GroupLinkChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupLinkChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupLinkChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupLinkChangeNotify_proto_goTypes, + DependencyIndexes: file_GroupLinkChangeNotify_proto_depIdxs, + MessageInfos: file_GroupLinkChangeNotify_proto_msgTypes, + }.Build() + File_GroupLinkChangeNotify_proto = out.File + file_GroupLinkChangeNotify_proto_rawDesc = nil + file_GroupLinkChangeNotify_proto_goTypes = nil + file_GroupLinkChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupLinkChangeNotify.proto b/gate-hk4e-api/proto/GroupLinkChangeNotify.proto new file mode 100644 index 00000000..1eafd94a --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GroupLinkBundle.proto"; + +option go_package = "./;proto"; + +// CmdId: 5768 +// EnetChannelId: 0 +// EnetIsReliable: true +message GroupLinkChangeNotify { + GroupLinkBundle bundle = 8; +} diff --git a/gate-hk4e-api/proto/GroupLinkDeleteNotify.pb.go b/gate-hk4e-api/proto/GroupLinkDeleteNotify.pb.go new file mode 100644 index 00000000..5bb6a9bd --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkDeleteNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupLinkDeleteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5775 +// EnetChannelId: 0 +// EnetIsReliable: true +type GroupLinkDeleteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BundleId uint32 `protobuf:"varint,12,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` +} + +func (x *GroupLinkDeleteNotify) Reset() { + *x = GroupLinkDeleteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupLinkDeleteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupLinkDeleteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupLinkDeleteNotify) ProtoMessage() {} + +func (x *GroupLinkDeleteNotify) ProtoReflect() protoreflect.Message { + mi := &file_GroupLinkDeleteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupLinkDeleteNotify.ProtoReflect.Descriptor instead. +func (*GroupLinkDeleteNotify) Descriptor() ([]byte, []int) { + return file_GroupLinkDeleteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupLinkDeleteNotify) GetBundleId() uint32 { + if x != nil { + return x.BundleId + } + return 0 +} + +var File_GroupLinkDeleteNotify_proto protoreflect.FileDescriptor + +var file_GroupLinkDeleteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, + 0x15, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GroupLinkDeleteNotify_proto_rawDescOnce sync.Once + file_GroupLinkDeleteNotify_proto_rawDescData = file_GroupLinkDeleteNotify_proto_rawDesc +) + +func file_GroupLinkDeleteNotify_proto_rawDescGZIP() []byte { + file_GroupLinkDeleteNotify_proto_rawDescOnce.Do(func() { + file_GroupLinkDeleteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupLinkDeleteNotify_proto_rawDescData) + }) + return file_GroupLinkDeleteNotify_proto_rawDescData +} + +var file_GroupLinkDeleteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GroupLinkDeleteNotify_proto_goTypes = []interface{}{ + (*GroupLinkDeleteNotify)(nil), // 0: GroupLinkDeleteNotify +} +var file_GroupLinkDeleteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GroupLinkDeleteNotify_proto_init() } +func file_GroupLinkDeleteNotify_proto_init() { + if File_GroupLinkDeleteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GroupLinkDeleteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupLinkDeleteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupLinkDeleteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupLinkDeleteNotify_proto_goTypes, + DependencyIndexes: file_GroupLinkDeleteNotify_proto_depIdxs, + MessageInfos: file_GroupLinkDeleteNotify_proto_msgTypes, + }.Build() + File_GroupLinkDeleteNotify_proto = out.File + file_GroupLinkDeleteNotify_proto_rawDesc = nil + file_GroupLinkDeleteNotify_proto_goTypes = nil + file_GroupLinkDeleteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupLinkDeleteNotify.proto b/gate-hk4e-api/proto/GroupLinkDeleteNotify.proto new file mode 100644 index 00000000..c8f90f40 --- /dev/null +++ b/gate-hk4e-api/proto/GroupLinkDeleteNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5775 +// EnetChannelId: 0 +// EnetIsReliable: true +message GroupLinkDeleteNotify { + uint32 bundle_id = 12; +} diff --git a/gate-hk4e-api/proto/GroupSuiteNotify.pb.go b/gate-hk4e-api/proto/GroupSuiteNotify.pb.go new file mode 100644 index 00000000..9d129198 --- /dev/null +++ b/gate-hk4e-api/proto/GroupSuiteNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupSuiteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3257 +// EnetChannelId: 0 +// EnetIsReliable: true +type GroupSuiteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=group_map,json=groupMap,proto3" json:"group_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *GroupSuiteNotify) Reset() { + *x = GroupSuiteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupSuiteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupSuiteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupSuiteNotify) ProtoMessage() {} + +func (x *GroupSuiteNotify) ProtoReflect() protoreflect.Message { + mi := &file_GroupSuiteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupSuiteNotify.ProtoReflect.Descriptor instead. +func (*GroupSuiteNotify) Descriptor() ([]byte, []int) { + return file_GroupSuiteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupSuiteNotify) GetGroupMap() map[uint32]uint32 { + if x != nil { + return x.GroupMap + } + return nil +} + +var File_GroupSuiteNotify_proto protoreflect.FileDescriptor + +var file_GroupSuiteNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x75, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x75, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3c, 0x0a, + 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x75, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x70, 0x1a, 0x3b, 0x0a, 0x0d, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GroupSuiteNotify_proto_rawDescOnce sync.Once + file_GroupSuiteNotify_proto_rawDescData = file_GroupSuiteNotify_proto_rawDesc +) + +func file_GroupSuiteNotify_proto_rawDescGZIP() []byte { + file_GroupSuiteNotify_proto_rawDescOnce.Do(func() { + file_GroupSuiteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupSuiteNotify_proto_rawDescData) + }) + return file_GroupSuiteNotify_proto_rawDescData +} + +var file_GroupSuiteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_GroupSuiteNotify_proto_goTypes = []interface{}{ + (*GroupSuiteNotify)(nil), // 0: GroupSuiteNotify + nil, // 1: GroupSuiteNotify.GroupMapEntry +} +var file_GroupSuiteNotify_proto_depIdxs = []int32{ + 1, // 0: GroupSuiteNotify.group_map:type_name -> GroupSuiteNotify.GroupMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_GroupSuiteNotify_proto_init() } +func file_GroupSuiteNotify_proto_init() { + if File_GroupSuiteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GroupSuiteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupSuiteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupSuiteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupSuiteNotify_proto_goTypes, + DependencyIndexes: file_GroupSuiteNotify_proto_depIdxs, + MessageInfos: file_GroupSuiteNotify_proto_msgTypes, + }.Build() + File_GroupSuiteNotify_proto = out.File + file_GroupSuiteNotify_proto_rawDesc = nil + file_GroupSuiteNotify_proto_goTypes = nil + file_GroupSuiteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupSuiteNotify.proto b/gate-hk4e-api/proto/GroupSuiteNotify.proto new file mode 100644 index 00000000..89cd30cf --- /dev/null +++ b/gate-hk4e-api/proto/GroupSuiteNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3257 +// EnetChannelId: 0 +// EnetIsReliable: true +message GroupSuiteNotify { + map group_map = 3; +} diff --git a/gate-hk4e-api/proto/GroupUnloadNotify.pb.go b/gate-hk4e-api/proto/GroupUnloadNotify.pb.go new file mode 100644 index 00000000..f28f6c13 --- /dev/null +++ b/gate-hk4e-api/proto/GroupUnloadNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GroupUnloadNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3344 +// EnetChannelId: 0 +// EnetIsReliable: true +type GroupUnloadNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupList []uint32 `protobuf:"varint,10,rep,packed,name=group_list,json=groupList,proto3" json:"group_list,omitempty"` +} + +func (x *GroupUnloadNotify) Reset() { + *x = GroupUnloadNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GroupUnloadNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupUnloadNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupUnloadNotify) ProtoMessage() {} + +func (x *GroupUnloadNotify) ProtoReflect() protoreflect.Message { + mi := &file_GroupUnloadNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupUnloadNotify.ProtoReflect.Descriptor instead. +func (*GroupUnloadNotify) Descriptor() ([]byte, []int) { + return file_GroupUnloadNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GroupUnloadNotify) GetGroupList() []uint32 { + if x != nil { + return x.GroupList + } + return nil +} + +var File_GroupUnloadNotify_proto protoreflect.FileDescriptor + +var file_GroupUnloadNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x55, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GroupUnloadNotify_proto_rawDescOnce sync.Once + file_GroupUnloadNotify_proto_rawDescData = file_GroupUnloadNotify_proto_rawDesc +) + +func file_GroupUnloadNotify_proto_rawDescGZIP() []byte { + file_GroupUnloadNotify_proto_rawDescOnce.Do(func() { + file_GroupUnloadNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GroupUnloadNotify_proto_rawDescData) + }) + return file_GroupUnloadNotify_proto_rawDescData +} + +var file_GroupUnloadNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GroupUnloadNotify_proto_goTypes = []interface{}{ + (*GroupUnloadNotify)(nil), // 0: GroupUnloadNotify +} +var file_GroupUnloadNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GroupUnloadNotify_proto_init() } +func file_GroupUnloadNotify_proto_init() { + if File_GroupUnloadNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GroupUnloadNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupUnloadNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GroupUnloadNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GroupUnloadNotify_proto_goTypes, + DependencyIndexes: file_GroupUnloadNotify_proto_depIdxs, + MessageInfos: file_GroupUnloadNotify_proto_msgTypes, + }.Build() + File_GroupUnloadNotify_proto = out.File + file_GroupUnloadNotify_proto_rawDesc = nil + file_GroupUnloadNotify_proto_goTypes = nil + file_GroupUnloadNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GroupUnloadNotify.proto b/gate-hk4e-api/proto/GroupUnloadNotify.proto new file mode 100644 index 00000000..546610e1 --- /dev/null +++ b/gate-hk4e-api/proto/GroupUnloadNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3344 +// EnetChannelId: 0 +// EnetIsReliable: true +message GroupUnloadNotify { + repeated uint32 group_list = 10; +} diff --git a/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.pb.go b/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.pb.go new file mode 100644 index 00000000..70e10539 --- /dev/null +++ b/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GuestBeginEnterSceneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3031 +// EnetChannelId: 0 +// EnetIsReliable: true +type GuestBeginEnterSceneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,8,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GuestBeginEnterSceneNotify) Reset() { + *x = GuestBeginEnterSceneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GuestBeginEnterSceneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GuestBeginEnterSceneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GuestBeginEnterSceneNotify) ProtoMessage() {} + +func (x *GuestBeginEnterSceneNotify) ProtoReflect() protoreflect.Message { + mi := &file_GuestBeginEnterSceneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GuestBeginEnterSceneNotify.ProtoReflect.Descriptor instead. +func (*GuestBeginEnterSceneNotify) Descriptor() ([]byte, []int) { + return file_GuestBeginEnterSceneNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GuestBeginEnterSceneNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GuestBeginEnterSceneNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GuestBeginEnterSceneNotify_proto protoreflect.FileDescriptor + +var file_GuestBeginEnterSceneNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x47, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x1a, 0x47, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_GuestBeginEnterSceneNotify_proto_rawDescOnce sync.Once + file_GuestBeginEnterSceneNotify_proto_rawDescData = file_GuestBeginEnterSceneNotify_proto_rawDesc +) + +func file_GuestBeginEnterSceneNotify_proto_rawDescGZIP() []byte { + file_GuestBeginEnterSceneNotify_proto_rawDescOnce.Do(func() { + file_GuestBeginEnterSceneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GuestBeginEnterSceneNotify_proto_rawDescData) + }) + return file_GuestBeginEnterSceneNotify_proto_rawDescData +} + +var file_GuestBeginEnterSceneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GuestBeginEnterSceneNotify_proto_goTypes = []interface{}{ + (*GuestBeginEnterSceneNotify)(nil), // 0: GuestBeginEnterSceneNotify +} +var file_GuestBeginEnterSceneNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GuestBeginEnterSceneNotify_proto_init() } +func file_GuestBeginEnterSceneNotify_proto_init() { + if File_GuestBeginEnterSceneNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GuestBeginEnterSceneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GuestBeginEnterSceneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GuestBeginEnterSceneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GuestBeginEnterSceneNotify_proto_goTypes, + DependencyIndexes: file_GuestBeginEnterSceneNotify_proto_depIdxs, + MessageInfos: file_GuestBeginEnterSceneNotify_proto_msgTypes, + }.Build() + File_GuestBeginEnterSceneNotify_proto = out.File + file_GuestBeginEnterSceneNotify_proto_rawDesc = nil + file_GuestBeginEnterSceneNotify_proto_goTypes = nil + file_GuestBeginEnterSceneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.proto b/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.proto new file mode 100644 index 00000000..96957893 --- /dev/null +++ b/gate-hk4e-api/proto/GuestBeginEnterSceneNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3031 +// EnetChannelId: 0 +// EnetIsReliable: true +message GuestBeginEnterSceneNotify { + uint32 scene_id = 8; + uint32 uid = 15; +} diff --git a/gate-hk4e-api/proto/GuestPostEnterSceneNotify.pb.go b/gate-hk4e-api/proto/GuestPostEnterSceneNotify.pb.go new file mode 100644 index 00000000..2b4a8395 --- /dev/null +++ b/gate-hk4e-api/proto/GuestPostEnterSceneNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: GuestPostEnterSceneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3144 +// EnetChannelId: 0 +// EnetIsReliable: true +type GuestPostEnterSceneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *GuestPostEnterSceneNotify) Reset() { + *x = GuestPostEnterSceneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_GuestPostEnterSceneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GuestPostEnterSceneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GuestPostEnterSceneNotify) ProtoMessage() {} + +func (x *GuestPostEnterSceneNotify) ProtoReflect() protoreflect.Message { + mi := &file_GuestPostEnterSceneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GuestPostEnterSceneNotify.ProtoReflect.Descriptor instead. +func (*GuestPostEnterSceneNotify) Descriptor() ([]byte, []int) { + return file_GuestPostEnterSceneNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *GuestPostEnterSceneNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *GuestPostEnterSceneNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_GuestPostEnterSceneNotify_proto protoreflect.FileDescriptor + +var file_GuestPostEnterSceneNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x47, 0x75, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x48, 0x0a, 0x19, 0x47, 0x75, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x73, 0x74, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_GuestPostEnterSceneNotify_proto_rawDescOnce sync.Once + file_GuestPostEnterSceneNotify_proto_rawDescData = file_GuestPostEnterSceneNotify_proto_rawDesc +) + +func file_GuestPostEnterSceneNotify_proto_rawDescGZIP() []byte { + file_GuestPostEnterSceneNotify_proto_rawDescOnce.Do(func() { + file_GuestPostEnterSceneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_GuestPostEnterSceneNotify_proto_rawDescData) + }) + return file_GuestPostEnterSceneNotify_proto_rawDescData +} + +var file_GuestPostEnterSceneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_GuestPostEnterSceneNotify_proto_goTypes = []interface{}{ + (*GuestPostEnterSceneNotify)(nil), // 0: GuestPostEnterSceneNotify +} +var file_GuestPostEnterSceneNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_GuestPostEnterSceneNotify_proto_init() } +func file_GuestPostEnterSceneNotify_proto_init() { + if File_GuestPostEnterSceneNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_GuestPostEnterSceneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GuestPostEnterSceneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_GuestPostEnterSceneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_GuestPostEnterSceneNotify_proto_goTypes, + DependencyIndexes: file_GuestPostEnterSceneNotify_proto_depIdxs, + MessageInfos: file_GuestPostEnterSceneNotify_proto_msgTypes, + }.Build() + File_GuestPostEnterSceneNotify_proto = out.File + file_GuestPostEnterSceneNotify_proto_rawDesc = nil + file_GuestPostEnterSceneNotify_proto_goTypes = nil + file_GuestPostEnterSceneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/GuestPostEnterSceneNotify.proto b/gate-hk4e-api/proto/GuestPostEnterSceneNotify.proto new file mode 100644 index 00000000..685c495f --- /dev/null +++ b/gate-hk4e-api/proto/GuestPostEnterSceneNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3144 +// EnetChannelId: 0 +// EnetIsReliable: true +message GuestPostEnterSceneNotify { + uint32 scene_id = 5; + uint32 uid = 4; +} diff --git a/gate-hk4e-api/proto/H5ActivityIdsNotify.pb.go b/gate-hk4e-api/proto/H5ActivityIdsNotify.pb.go new file mode 100644 index 00000000..13ecaf1f --- /dev/null +++ b/gate-hk4e-api/proto/H5ActivityIdsNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: H5ActivityIdsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5675 +// EnetChannelId: 0 +// EnetIsReliable: true +type H5ActivityIdsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientRedDotTimestamp uint32 `protobuf:"varint,1,opt,name=client_red_dot_timestamp,json=clientRedDotTimestamp,proto3" json:"client_red_dot_timestamp,omitempty"` + H5ActivityMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=h5_activity_map,json=h5ActivityMap,proto3" json:"h5_activity_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *H5ActivityIdsNotify) Reset() { + *x = H5ActivityIdsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_H5ActivityIdsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *H5ActivityIdsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*H5ActivityIdsNotify) ProtoMessage() {} + +func (x *H5ActivityIdsNotify) ProtoReflect() protoreflect.Message { + mi := &file_H5ActivityIdsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use H5ActivityIdsNotify.ProtoReflect.Descriptor instead. +func (*H5ActivityIdsNotify) Descriptor() ([]byte, []int) { + return file_H5ActivityIdsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *H5ActivityIdsNotify) GetClientRedDotTimestamp() uint32 { + if x != nil { + return x.ClientRedDotTimestamp + } + return 0 +} + +func (x *H5ActivityIdsNotify) GetH5ActivityMap() map[uint32]uint32 { + if x != nil { + return x.H5ActivityMap + } + return nil +} + +var File_H5ActivityIdsNotify_proto protoreflect.FileDescriptor + +var file_H5ActivityIdsNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x73, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x13, + 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x73, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, + 0x64, 0x5f, 0x64, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x64, + 0x44, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4f, 0x0a, 0x0f, + 0x68, 0x35, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x48, 0x35, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, + 0x68, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x1a, 0x40, 0x0a, + 0x12, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_H5ActivityIdsNotify_proto_rawDescOnce sync.Once + file_H5ActivityIdsNotify_proto_rawDescData = file_H5ActivityIdsNotify_proto_rawDesc +) + +func file_H5ActivityIdsNotify_proto_rawDescGZIP() []byte { + file_H5ActivityIdsNotify_proto_rawDescOnce.Do(func() { + file_H5ActivityIdsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_H5ActivityIdsNotify_proto_rawDescData) + }) + return file_H5ActivityIdsNotify_proto_rawDescData +} + +var file_H5ActivityIdsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_H5ActivityIdsNotify_proto_goTypes = []interface{}{ + (*H5ActivityIdsNotify)(nil), // 0: H5ActivityIdsNotify + nil, // 1: H5ActivityIdsNotify.H5ActivityMapEntry +} +var file_H5ActivityIdsNotify_proto_depIdxs = []int32{ + 1, // 0: H5ActivityIdsNotify.h5_activity_map:type_name -> H5ActivityIdsNotify.H5ActivityMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_H5ActivityIdsNotify_proto_init() } +func file_H5ActivityIdsNotify_proto_init() { + if File_H5ActivityIdsNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_H5ActivityIdsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*H5ActivityIdsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_H5ActivityIdsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_H5ActivityIdsNotify_proto_goTypes, + DependencyIndexes: file_H5ActivityIdsNotify_proto_depIdxs, + MessageInfos: file_H5ActivityIdsNotify_proto_msgTypes, + }.Build() + File_H5ActivityIdsNotify_proto = out.File + file_H5ActivityIdsNotify_proto_rawDesc = nil + file_H5ActivityIdsNotify_proto_goTypes = nil + file_H5ActivityIdsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/H5ActivityIdsNotify.proto b/gate-hk4e-api/proto/H5ActivityIdsNotify.proto new file mode 100644 index 00000000..c494bb39 --- /dev/null +++ b/gate-hk4e-api/proto/H5ActivityIdsNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5675 +// EnetChannelId: 0 +// EnetIsReliable: true +message H5ActivityIdsNotify { + uint32 client_red_dot_timestamp = 1; + map h5_activity_map = 12; +} diff --git a/gate-hk4e-api/proto/H5ActivityInfo.pb.go b/gate-hk4e-api/proto/H5ActivityInfo.pb.go new file mode 100644 index 00000000..9b5326e6 --- /dev/null +++ b/gate-hk4e-api/proto/H5ActivityInfo.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: H5ActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type H5ActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + H5ActivityId uint32 `protobuf:"varint,3,opt,name=h5_activity_id,json=h5ActivityId,proto3" json:"h5_activity_id,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` + IsEntranceOpen bool `protobuf:"varint,7,opt,name=is_entrance_open,json=isEntranceOpen,proto3" json:"is_entrance_open,omitempty"` + H5ScheduleId uint32 `protobuf:"varint,8,opt,name=h5_schedule_id,json=h5ScheduleId,proto3" json:"h5_schedule_id,omitempty"` + EndTime uint32 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + PrefabPath string `protobuf:"bytes,11,opt,name=prefab_path,json=prefabPath,proto3" json:"prefab_path,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,2,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + BeginTime uint32 `protobuf:"varint,13,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *H5ActivityInfo) Reset() { + *x = H5ActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_H5ActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *H5ActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*H5ActivityInfo) ProtoMessage() {} + +func (x *H5ActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_H5ActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use H5ActivityInfo.ProtoReflect.Descriptor instead. +func (*H5ActivityInfo) Descriptor() ([]byte, []int) { + return file_H5ActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *H5ActivityInfo) GetH5ActivityId() uint32 { + if x != nil { + return x.H5ActivityId + } + return 0 +} + +func (x *H5ActivityInfo) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *H5ActivityInfo) GetIsEntranceOpen() bool { + if x != nil { + return x.IsEntranceOpen + } + return false +} + +func (x *H5ActivityInfo) GetH5ScheduleId() uint32 { + if x != nil { + return x.H5ScheduleId + } + return 0 +} + +func (x *H5ActivityInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *H5ActivityInfo) GetPrefabPath() string { + if x != nil { + return x.PrefabPath + } + return "" +} + +func (x *H5ActivityInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *H5ActivityInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_H5ActivityInfo_proto protoreflect.FileDescriptor + +var file_H5ActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x0e, 0x48, 0x35, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x35, 0x5f, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x68, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, + 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x68, + 0x35, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x35, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x61, 0x62, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x0a, + 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_H5ActivityInfo_proto_rawDescOnce sync.Once + file_H5ActivityInfo_proto_rawDescData = file_H5ActivityInfo_proto_rawDesc +) + +func file_H5ActivityInfo_proto_rawDescGZIP() []byte { + file_H5ActivityInfo_proto_rawDescOnce.Do(func() { + file_H5ActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_H5ActivityInfo_proto_rawDescData) + }) + return file_H5ActivityInfo_proto_rawDescData +} + +var file_H5ActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_H5ActivityInfo_proto_goTypes = []interface{}{ + (*H5ActivityInfo)(nil), // 0: H5ActivityInfo +} +var file_H5ActivityInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_H5ActivityInfo_proto_init() } +func file_H5ActivityInfo_proto_init() { + if File_H5ActivityInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_H5ActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*H5ActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_H5ActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_H5ActivityInfo_proto_goTypes, + DependencyIndexes: file_H5ActivityInfo_proto_depIdxs, + MessageInfos: file_H5ActivityInfo_proto_msgTypes, + }.Build() + File_H5ActivityInfo_proto = out.File + file_H5ActivityInfo_proto_rawDesc = nil + file_H5ActivityInfo_proto_goTypes = nil + file_H5ActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/H5ActivityInfo.proto b/gate-hk4e-api/proto/H5ActivityInfo.proto new file mode 100644 index 00000000..1705b5d1 --- /dev/null +++ b/gate-hk4e-api/proto/H5ActivityInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message H5ActivityInfo { + uint32 h5_activity_id = 3; + string url = 4; + bool is_entrance_open = 7; + uint32 h5_schedule_id = 8; + uint32 end_time = 10; + string prefab_path = 11; + uint32 content_close_time = 2; + uint32 begin_time = 13; +} diff --git a/gate-hk4e-api/proto/HachiActivityDetailInfo.pb.go b/gate-hk4e-api/proto/HachiActivityDetailInfo.pb.go new file mode 100644 index 00000000..5abbe70c --- /dev/null +++ b/gate-hk4e-api/proto/HachiActivityDetailInfo.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HachiActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HachiActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageMap map[uint32]*HachiStageData `protobuf:"bytes,6,rep,name=stage_map,json=stageMap,proto3" json:"stage_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *HachiActivityDetailInfo) Reset() { + *x = HachiActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HachiActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HachiActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HachiActivityDetailInfo) ProtoMessage() {} + +func (x *HachiActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_HachiActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HachiActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*HachiActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_HachiActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HachiActivityDetailInfo) GetStageMap() map[uint32]*HachiStageData { + if x != nil { + return x.StageMap + } + return nil +} + +var File_HachiActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_HachiActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x48, 0x61, 0x63, 0x68, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x48, 0x61, 0x63, 0x68, 0x69, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x17, 0x48, 0x61, 0x63, 0x68, 0x69, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x43, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x48, 0x61, 0x63, 0x68, 0x69, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x4c, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x48, 0x61, 0x63, 0x68, 0x69, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HachiActivityDetailInfo_proto_rawDescOnce sync.Once + file_HachiActivityDetailInfo_proto_rawDescData = file_HachiActivityDetailInfo_proto_rawDesc +) + +func file_HachiActivityDetailInfo_proto_rawDescGZIP() []byte { + file_HachiActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_HachiActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HachiActivityDetailInfo_proto_rawDescData) + }) + return file_HachiActivityDetailInfo_proto_rawDescData +} + +var file_HachiActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_HachiActivityDetailInfo_proto_goTypes = []interface{}{ + (*HachiActivityDetailInfo)(nil), // 0: HachiActivityDetailInfo + nil, // 1: HachiActivityDetailInfo.StageMapEntry + (*HachiStageData)(nil), // 2: HachiStageData +} +var file_HachiActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: HachiActivityDetailInfo.stage_map:type_name -> HachiActivityDetailInfo.StageMapEntry + 2, // 1: HachiActivityDetailInfo.StageMapEntry.value:type_name -> HachiStageData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HachiActivityDetailInfo_proto_init() } +func file_HachiActivityDetailInfo_proto_init() { + if File_HachiActivityDetailInfo_proto != nil { + return + } + file_HachiStageData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HachiActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HachiActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HachiActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HachiActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_HachiActivityDetailInfo_proto_depIdxs, + MessageInfos: file_HachiActivityDetailInfo_proto_msgTypes, + }.Build() + File_HachiActivityDetailInfo_proto = out.File + file_HachiActivityDetailInfo_proto_rawDesc = nil + file_HachiActivityDetailInfo_proto_goTypes = nil + file_HachiActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HachiActivityDetailInfo.proto b/gate-hk4e-api/proto/HachiActivityDetailInfo.proto new file mode 100644 index 00000000..0de7e094 --- /dev/null +++ b/gate-hk4e-api/proto/HachiActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HachiStageData.proto"; + +option go_package = "./;proto"; + +message HachiActivityDetailInfo { + map stage_map = 6; +} diff --git a/gate-hk4e-api/proto/HachiStageData.pb.go b/gate-hk4e-api/proto/HachiStageData.pb.go new file mode 100644 index 00000000..d926ca15 --- /dev/null +++ b/gate-hk4e-api/proto/HachiStageData.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HachiStageData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HachiStageData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,8,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + IsFinished bool `protobuf:"varint,12,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + OpenTime uint32 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + StageId uint32 `protobuf:"varint,14,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *HachiStageData) Reset() { + *x = HachiStageData{} + if protoimpl.UnsafeEnabled { + mi := &file_HachiStageData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HachiStageData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HachiStageData) ProtoMessage() {} + +func (x *HachiStageData) ProtoReflect() protoreflect.Message { + mi := &file_HachiStageData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HachiStageData.ProtoReflect.Descriptor instead. +func (*HachiStageData) Descriptor() ([]byte, []int) { + return file_HachiStageData_proto_rawDescGZIP(), []int{0} +} + +func (x *HachiStageData) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *HachiStageData) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *HachiStageData) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *HachiStageData) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_HachiStageData_proto protoreflect.FileDescriptor + +var file_HachiStageData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x48, 0x61, 0x63, 0x68, 0x69, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x48, 0x61, 0x63, 0x68, 0x69, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, + 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, + 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HachiStageData_proto_rawDescOnce sync.Once + file_HachiStageData_proto_rawDescData = file_HachiStageData_proto_rawDesc +) + +func file_HachiStageData_proto_rawDescGZIP() []byte { + file_HachiStageData_proto_rawDescOnce.Do(func() { + file_HachiStageData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HachiStageData_proto_rawDescData) + }) + return file_HachiStageData_proto_rawDescData +} + +var file_HachiStageData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HachiStageData_proto_goTypes = []interface{}{ + (*HachiStageData)(nil), // 0: HachiStageData +} +var file_HachiStageData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HachiStageData_proto_init() } +func file_HachiStageData_proto_init() { + if File_HachiStageData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HachiStageData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HachiStageData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HachiStageData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HachiStageData_proto_goTypes, + DependencyIndexes: file_HachiStageData_proto_depIdxs, + MessageInfos: file_HachiStageData_proto_msgTypes, + }.Build() + File_HachiStageData_proto = out.File + file_HachiStageData_proto_rawDesc = nil + file_HachiStageData_proto_goTypes = nil + file_HachiStageData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HachiStageData.proto b/gate-hk4e-api/proto/HachiStageData.proto new file mode 100644 index 00000000..c1571b7b --- /dev/null +++ b/gate-hk4e-api/proto/HachiStageData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HachiStageData { + bool is_open = 8; + bool is_finished = 12; + uint32 open_time = 5; + uint32 stage_id = 14; +} diff --git a/gate-hk4e-api/proto/HashedString.pb.go b/gate-hk4e-api/proto/HashedString.pb.go new file mode 100644 index 00000000..a7c57e29 --- /dev/null +++ b/gate-hk4e-api/proto/HashedString.pb.go @@ -0,0 +1,157 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HashedString.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HashedString struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash uint32 `protobuf:"varint,1,opt,name=hash,proto3" json:"hash,omitempty"` +} + +func (x *HashedString) Reset() { + *x = HashedString{} + if protoimpl.UnsafeEnabled { + mi := &file_HashedString_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HashedString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HashedString) ProtoMessage() {} + +func (x *HashedString) ProtoReflect() protoreflect.Message { + mi := &file_HashedString_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HashedString.ProtoReflect.Descriptor instead. +func (*HashedString) Descriptor() ([]byte, []int) { + return file_HashedString_proto_rawDescGZIP(), []int{0} +} + +func (x *HashedString) GetHash() uint32 { + if x != nil { + return x.Hash + } + return 0 +} + +var File_HashedString_proto protoreflect.FileDescriptor + +var file_HashedString_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0c, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HashedString_proto_rawDescOnce sync.Once + file_HashedString_proto_rawDescData = file_HashedString_proto_rawDesc +) + +func file_HashedString_proto_rawDescGZIP() []byte { + file_HashedString_proto_rawDescOnce.Do(func() { + file_HashedString_proto_rawDescData = protoimpl.X.CompressGZIP(file_HashedString_proto_rawDescData) + }) + return file_HashedString_proto_rawDescData +} + +var file_HashedString_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HashedString_proto_goTypes = []interface{}{ + (*HashedString)(nil), // 0: HashedString +} +var file_HashedString_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HashedString_proto_init() } +func file_HashedString_proto_init() { + if File_HashedString_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HashedString_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HashedString); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HashedString_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HashedString_proto_goTypes, + DependencyIndexes: file_HashedString_proto_depIdxs, + MessageInfos: file_HashedString_proto_msgTypes, + }.Build() + File_HashedString_proto = out.File + file_HashedString_proto_rawDesc = nil + file_HashedString_proto_goTypes = nil + file_HashedString_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HashedString.proto b/gate-hk4e-api/proto/HashedString.proto new file mode 100644 index 00000000..0836985d --- /dev/null +++ b/gate-hk4e-api/proto/HashedString.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HashedString { + uint32 hash = 1; +} diff --git a/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.pb.go b/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.pb.go new file mode 100644 index 00000000..69fefc8a --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JDMDOOHFNCA []*Unk2700_LBOAEFMECCP `protobuf:"bytes,1,rep,name=Unk2700_JDMDOOHFNCA,json=Unk2700JDMDOOHFNCA,proto3" json:"Unk2700_JDMDOOHFNCA,omitempty"` + ChosenHunterSkillList []uint32 `protobuf:"varint,4,rep,packed,name=chosen_hunter_skill_list,json=chosenHunterSkillList,proto3" json:"chosen_hunter_skill_list,omitempty"` + UnlockMapList []uint32 `protobuf:"varint,13,rep,packed,name=unlock_map_list,json=unlockMapList,proto3" json:"unlock_map_list,omitempty"` + ChosenHiderSkillList []uint32 `protobuf:"varint,6,rep,packed,name=chosen_hider_skill_list,json=chosenHiderSkillList,proto3" json:"chosen_hider_skill_list,omitempty"` +} + +func (x *HideAndSeekActivityDetailInfo) Reset() { + *x = HideAndSeekActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekActivityDetailInfo) ProtoMessage() {} + +func (x *HideAndSeekActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*HideAndSeekActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_HideAndSeekActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekActivityDetailInfo) GetUnk2700_JDMDOOHFNCA() []*Unk2700_LBOAEFMECCP { + if x != nil { + return x.Unk2700_JDMDOOHFNCA + } + return nil +} + +func (x *HideAndSeekActivityDetailInfo) GetChosenHunterSkillList() []uint32 { + if x != nil { + return x.ChosenHunterSkillList + } + return nil +} + +func (x *HideAndSeekActivityDetailInfo) GetUnlockMapList() []uint32 { + if x != nil { + return x.UnlockMapList + } + return nil +} + +func (x *HideAndSeekActivityDetailInfo) GetChosenHiderSkillList() []uint32 { + if x != nil { + return x.ChosenHiderSkillList + } + return nil +} + +var File_HideAndSeekActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_HideAndSeekActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x42, 0x4f, 0x41, 0x45, 0x46, 0x4d, 0x45, 0x43, 0x43, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xfe, 0x01, 0x0a, 0x1d, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, + 0x4d, 0x44, 0x4f, 0x4f, 0x48, 0x46, 0x4e, 0x43, 0x41, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4f, 0x41, 0x45, 0x46, + 0x4d, 0x45, 0x43, 0x43, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x44, + 0x4d, 0x44, 0x4f, 0x4f, 0x48, 0x46, 0x4e, 0x43, 0x41, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x68, 0x6f, + 0x73, 0x65, 0x6e, 0x5f, 0x68, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x68, 0x6f, + 0x73, 0x65, 0x6e, 0x48, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x61, 0x70, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x75, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x68, + 0x6f, 0x73, 0x65, 0x6e, 0x5f, 0x68, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x63, 0x68, 0x6f, + 0x73, 0x65, 0x6e, 0x48, 0x69, 0x64, 0x65, 0x72, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekActivityDetailInfo_proto_rawDescOnce sync.Once + file_HideAndSeekActivityDetailInfo_proto_rawDescData = file_HideAndSeekActivityDetailInfo_proto_rawDesc +) + +func file_HideAndSeekActivityDetailInfo_proto_rawDescGZIP() []byte { + file_HideAndSeekActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_HideAndSeekActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekActivityDetailInfo_proto_rawDescData) + }) + return file_HideAndSeekActivityDetailInfo_proto_rawDescData +} + +var file_HideAndSeekActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekActivityDetailInfo_proto_goTypes = []interface{}{ + (*HideAndSeekActivityDetailInfo)(nil), // 0: HideAndSeekActivityDetailInfo + (*Unk2700_LBOAEFMECCP)(nil), // 1: Unk2700_LBOAEFMECCP +} +var file_HideAndSeekActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: HideAndSeekActivityDetailInfo.Unk2700_JDMDOOHFNCA:type_name -> Unk2700_LBOAEFMECCP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HideAndSeekActivityDetailInfo_proto_init() } +func file_HideAndSeekActivityDetailInfo_proto_init() { + if File_HideAndSeekActivityDetailInfo_proto != nil { + return + } + file_Unk2700_LBOAEFMECCP_proto_init() + if !protoimpl.UnsafeEnabled { + file_HideAndSeekActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_HideAndSeekActivityDetailInfo_proto_depIdxs, + MessageInfos: file_HideAndSeekActivityDetailInfo_proto_msgTypes, + }.Build() + File_HideAndSeekActivityDetailInfo_proto = out.File + file_HideAndSeekActivityDetailInfo_proto_rawDesc = nil + file_HideAndSeekActivityDetailInfo_proto_goTypes = nil + file_HideAndSeekActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.proto b/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.proto new file mode 100644 index 00000000..86365185 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_LBOAEFMECCP.proto"; + +option go_package = "./;proto"; + +message HideAndSeekActivityDetailInfo { + repeated Unk2700_LBOAEFMECCP Unk2700_JDMDOOHFNCA = 1; + repeated uint32 chosen_hunter_skill_list = 4; + repeated uint32 unlock_map_list = 13; + repeated uint32 chosen_hider_skill_list = 6; +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.pb.go b/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.pb.go new file mode 100644 index 00000000..e3bb6cd1 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekPlayerBattleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekPlayerBattleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostumeId uint32 `protobuf:"varint,3,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + SkillList []uint32 `protobuf:"varint,15,rep,packed,name=skill_list,json=skillList,proto3" json:"skill_list,omitempty"` + IsReady bool `protobuf:"varint,12,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"` + AvatarId uint32 `protobuf:"varint,6,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HideAndSeekPlayerBattleInfo) Reset() { + *x = HideAndSeekPlayerBattleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekPlayerBattleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekPlayerBattleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekPlayerBattleInfo) ProtoMessage() {} + +func (x *HideAndSeekPlayerBattleInfo) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekPlayerBattleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekPlayerBattleInfo.ProtoReflect.Descriptor instead. +func (*HideAndSeekPlayerBattleInfo) Descriptor() ([]byte, []int) { + return file_HideAndSeekPlayerBattleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekPlayerBattleInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *HideAndSeekPlayerBattleInfo) GetSkillList() []uint32 { + if x != nil { + return x.SkillList + } + return nil +} + +func (x *HideAndSeekPlayerBattleInfo) GetIsReady() bool { + if x != nil { + return x.IsReady + } + return false +} + +func (x *HideAndSeekPlayerBattleInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HideAndSeekPlayerBattleInfo_proto protoreflect.FileDescriptor + +var file_HideAndSeekPlayerBattleInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x1b, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, + 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekPlayerBattleInfo_proto_rawDescOnce sync.Once + file_HideAndSeekPlayerBattleInfo_proto_rawDescData = file_HideAndSeekPlayerBattleInfo_proto_rawDesc +) + +func file_HideAndSeekPlayerBattleInfo_proto_rawDescGZIP() []byte { + file_HideAndSeekPlayerBattleInfo_proto_rawDescOnce.Do(func() { + file_HideAndSeekPlayerBattleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekPlayerBattleInfo_proto_rawDescData) + }) + return file_HideAndSeekPlayerBattleInfo_proto_rawDescData +} + +var file_HideAndSeekPlayerBattleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekPlayerBattleInfo_proto_goTypes = []interface{}{ + (*HideAndSeekPlayerBattleInfo)(nil), // 0: HideAndSeekPlayerBattleInfo +} +var file_HideAndSeekPlayerBattleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekPlayerBattleInfo_proto_init() } +func file_HideAndSeekPlayerBattleInfo_proto_init() { + if File_HideAndSeekPlayerBattleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekPlayerBattleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekPlayerBattleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekPlayerBattleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekPlayerBattleInfo_proto_goTypes, + DependencyIndexes: file_HideAndSeekPlayerBattleInfo_proto_depIdxs, + MessageInfos: file_HideAndSeekPlayerBattleInfo_proto_msgTypes, + }.Build() + File_HideAndSeekPlayerBattleInfo_proto = out.File + file_HideAndSeekPlayerBattleInfo_proto_rawDesc = nil + file_HideAndSeekPlayerBattleInfo_proto_goTypes = nil + file_HideAndSeekPlayerBattleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.proto b/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.proto new file mode 100644 index 00000000..3d1f801a --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerBattleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HideAndSeekPlayerBattleInfo { + uint32 costume_id = 3; + repeated uint32 skill_list = 15; + bool is_ready = 12; + uint32 avatar_id = 6; +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.pb.go b/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.pb.go new file mode 100644 index 00000000..eb10b071 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekPlayerReadyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5302 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekPlayerReadyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UidList []uint32 `protobuf:"varint,5,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` +} + +func (x *HideAndSeekPlayerReadyNotify) Reset() { + *x = HideAndSeekPlayerReadyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekPlayerReadyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekPlayerReadyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekPlayerReadyNotify) ProtoMessage() {} + +func (x *HideAndSeekPlayerReadyNotify) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekPlayerReadyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekPlayerReadyNotify.ProtoReflect.Descriptor instead. +func (*HideAndSeekPlayerReadyNotify) Descriptor() ([]byte, []int) { + return file_HideAndSeekPlayerReadyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekPlayerReadyNotify) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +var File_HideAndSeekPlayerReadyNotify_proto protoreflect.FileDescriptor + +var file_HideAndSeekPlayerReadyNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1c, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, + 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x79, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekPlayerReadyNotify_proto_rawDescOnce sync.Once + file_HideAndSeekPlayerReadyNotify_proto_rawDescData = file_HideAndSeekPlayerReadyNotify_proto_rawDesc +) + +func file_HideAndSeekPlayerReadyNotify_proto_rawDescGZIP() []byte { + file_HideAndSeekPlayerReadyNotify_proto_rawDescOnce.Do(func() { + file_HideAndSeekPlayerReadyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekPlayerReadyNotify_proto_rawDescData) + }) + return file_HideAndSeekPlayerReadyNotify_proto_rawDescData +} + +var file_HideAndSeekPlayerReadyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekPlayerReadyNotify_proto_goTypes = []interface{}{ + (*HideAndSeekPlayerReadyNotify)(nil), // 0: HideAndSeekPlayerReadyNotify +} +var file_HideAndSeekPlayerReadyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekPlayerReadyNotify_proto_init() } +func file_HideAndSeekPlayerReadyNotify_proto_init() { + if File_HideAndSeekPlayerReadyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekPlayerReadyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekPlayerReadyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekPlayerReadyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekPlayerReadyNotify_proto_goTypes, + DependencyIndexes: file_HideAndSeekPlayerReadyNotify_proto_depIdxs, + MessageInfos: file_HideAndSeekPlayerReadyNotify_proto_msgTypes, + }.Build() + File_HideAndSeekPlayerReadyNotify_proto = out.File + file_HideAndSeekPlayerReadyNotify_proto_rawDesc = nil + file_HideAndSeekPlayerReadyNotify_proto_goTypes = nil + file_HideAndSeekPlayerReadyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.proto b/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.proto new file mode 100644 index 00000000..6f6cd1a3 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerReadyNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5302 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekPlayerReadyNotify { + repeated uint32 uid_list = 5; +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.pb.go b/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.pb.go new file mode 100644 index 00000000..58c16a30 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekPlayerSetAvatarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5319 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekPlayerSetAvatarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + CostumeId uint32 `protobuf:"varint,13,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *HideAndSeekPlayerSetAvatarNotify) Reset() { + *x = HideAndSeekPlayerSetAvatarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekPlayerSetAvatarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekPlayerSetAvatarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekPlayerSetAvatarNotify) ProtoMessage() {} + +func (x *HideAndSeekPlayerSetAvatarNotify) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekPlayerSetAvatarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekPlayerSetAvatarNotify.ProtoReflect.Descriptor instead. +func (*HideAndSeekPlayerSetAvatarNotify) Descriptor() ([]byte, []int) { + return file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekPlayerSetAvatarNotify) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HideAndSeekPlayerSetAvatarNotify) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *HideAndSeekPlayerSetAvatarNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_HideAndSeekPlayerSetAvatarNotify_proto protoreflect.FileDescriptor + +var file_HideAndSeekPlayerSetAvatarNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x20, 0x48, 0x69, 0x64, 0x65, + 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, + 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, + 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescOnce sync.Once + file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescData = file_HideAndSeekPlayerSetAvatarNotify_proto_rawDesc +) + +func file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescGZIP() []byte { + file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescOnce.Do(func() { + file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescData) + }) + return file_HideAndSeekPlayerSetAvatarNotify_proto_rawDescData +} + +var file_HideAndSeekPlayerSetAvatarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekPlayerSetAvatarNotify_proto_goTypes = []interface{}{ + (*HideAndSeekPlayerSetAvatarNotify)(nil), // 0: HideAndSeekPlayerSetAvatarNotify +} +var file_HideAndSeekPlayerSetAvatarNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekPlayerSetAvatarNotify_proto_init() } +func file_HideAndSeekPlayerSetAvatarNotify_proto_init() { + if File_HideAndSeekPlayerSetAvatarNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekPlayerSetAvatarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekPlayerSetAvatarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekPlayerSetAvatarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekPlayerSetAvatarNotify_proto_goTypes, + DependencyIndexes: file_HideAndSeekPlayerSetAvatarNotify_proto_depIdxs, + MessageInfos: file_HideAndSeekPlayerSetAvatarNotify_proto_msgTypes, + }.Build() + File_HideAndSeekPlayerSetAvatarNotify_proto = out.File + file_HideAndSeekPlayerSetAvatarNotify_proto_rawDesc = nil + file_HideAndSeekPlayerSetAvatarNotify_proto_goTypes = nil + file_HideAndSeekPlayerSetAvatarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.proto b/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.proto new file mode 100644 index 00000000..8d966669 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekPlayerSetAvatarNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5319 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekPlayerSetAvatarNotify { + uint32 avatar_id = 2; + uint32 costume_id = 13; + uint32 uid = 5; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.pb.go b/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.pb.go new file mode 100644 index 00000000..9ae3bddb --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSelectAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5330 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HideAndSeekSelectAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,8,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HideAndSeekSelectAvatarReq) Reset() { + *x = HideAndSeekSelectAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSelectAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSelectAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSelectAvatarReq) ProtoMessage() {} + +func (x *HideAndSeekSelectAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSelectAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSelectAvatarReq.ProtoReflect.Descriptor instead. +func (*HideAndSeekSelectAvatarReq) Descriptor() ([]byte, []int) { + return file_HideAndSeekSelectAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSelectAvatarReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HideAndSeekSelectAvatarReq_proto protoreflect.FileDescriptor + +var file_HideAndSeekSelectAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1a, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, + 0x6b, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, + 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HideAndSeekSelectAvatarReq_proto_rawDescOnce sync.Once + file_HideAndSeekSelectAvatarReq_proto_rawDescData = file_HideAndSeekSelectAvatarReq_proto_rawDesc +) + +func file_HideAndSeekSelectAvatarReq_proto_rawDescGZIP() []byte { + file_HideAndSeekSelectAvatarReq_proto_rawDescOnce.Do(func() { + file_HideAndSeekSelectAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSelectAvatarReq_proto_rawDescData) + }) + return file_HideAndSeekSelectAvatarReq_proto_rawDescData +} + +var file_HideAndSeekSelectAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSelectAvatarReq_proto_goTypes = []interface{}{ + (*HideAndSeekSelectAvatarReq)(nil), // 0: HideAndSeekSelectAvatarReq +} +var file_HideAndSeekSelectAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSelectAvatarReq_proto_init() } +func file_HideAndSeekSelectAvatarReq_proto_init() { + if File_HideAndSeekSelectAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSelectAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSelectAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSelectAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSelectAvatarReq_proto_goTypes, + DependencyIndexes: file_HideAndSeekSelectAvatarReq_proto_depIdxs, + MessageInfos: file_HideAndSeekSelectAvatarReq_proto_msgTypes, + }.Build() + File_HideAndSeekSelectAvatarReq_proto = out.File + file_HideAndSeekSelectAvatarReq_proto_rawDesc = nil + file_HideAndSeekSelectAvatarReq_proto_goTypes = nil + file_HideAndSeekSelectAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.proto b/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.proto new file mode 100644 index 00000000..584d3ab5 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectAvatarReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5330 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HideAndSeekSelectAvatarReq { + uint32 avatar_id = 8; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.pb.go b/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.pb.go new file mode 100644 index 00000000..d6844221 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSelectAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5367 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekSelectAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarId uint32 `protobuf:"varint,3,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HideAndSeekSelectAvatarRsp) Reset() { + *x = HideAndSeekSelectAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSelectAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSelectAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSelectAvatarRsp) ProtoMessage() {} + +func (x *HideAndSeekSelectAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSelectAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSelectAvatarRsp.ProtoReflect.Descriptor instead. +func (*HideAndSeekSelectAvatarRsp) Descriptor() ([]byte, []int) { + return file_HideAndSeekSelectAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSelectAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HideAndSeekSelectAvatarRsp) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HideAndSeekSelectAvatarRsp_proto protoreflect.FileDescriptor + +var file_HideAndSeekSelectAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x1a, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, + 0x6b, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSelectAvatarRsp_proto_rawDescOnce sync.Once + file_HideAndSeekSelectAvatarRsp_proto_rawDescData = file_HideAndSeekSelectAvatarRsp_proto_rawDesc +) + +func file_HideAndSeekSelectAvatarRsp_proto_rawDescGZIP() []byte { + file_HideAndSeekSelectAvatarRsp_proto_rawDescOnce.Do(func() { + file_HideAndSeekSelectAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSelectAvatarRsp_proto_rawDescData) + }) + return file_HideAndSeekSelectAvatarRsp_proto_rawDescData +} + +var file_HideAndSeekSelectAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSelectAvatarRsp_proto_goTypes = []interface{}{ + (*HideAndSeekSelectAvatarRsp)(nil), // 0: HideAndSeekSelectAvatarRsp +} +var file_HideAndSeekSelectAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSelectAvatarRsp_proto_init() } +func file_HideAndSeekSelectAvatarRsp_proto_init() { + if File_HideAndSeekSelectAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSelectAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSelectAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSelectAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSelectAvatarRsp_proto_goTypes, + DependencyIndexes: file_HideAndSeekSelectAvatarRsp_proto_depIdxs, + MessageInfos: file_HideAndSeekSelectAvatarRsp_proto_msgTypes, + }.Build() + File_HideAndSeekSelectAvatarRsp_proto = out.File + file_HideAndSeekSelectAvatarRsp_proto_rawDesc = nil + file_HideAndSeekSelectAvatarRsp_proto_goTypes = nil + file_HideAndSeekSelectAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.proto b/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.proto new file mode 100644 index 00000000..1b2d6642 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectAvatarRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5367 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekSelectAvatarRsp { + int32 retcode = 2; + uint32 avatar_id = 3; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.pb.go b/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.pb.go new file mode 100644 index 00000000..3d20de01 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSelectSkillReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8183 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HideAndSeekSelectSkillReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillList []uint32 `protobuf:"varint,13,rep,packed,name=skill_list,json=skillList,proto3" json:"skill_list,omitempty"` +} + +func (x *HideAndSeekSelectSkillReq) Reset() { + *x = HideAndSeekSelectSkillReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSelectSkillReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSelectSkillReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSelectSkillReq) ProtoMessage() {} + +func (x *HideAndSeekSelectSkillReq) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSelectSkillReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSelectSkillReq.ProtoReflect.Descriptor instead. +func (*HideAndSeekSelectSkillReq) Descriptor() ([]byte, []int) { + return file_HideAndSeekSelectSkillReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSelectSkillReq) GetSkillList() []uint32 { + if x != nil { + return x.SkillList + } + return nil +} + +var File_HideAndSeekSelectSkillReq_proto protoreflect.FileDescriptor + +var file_HideAndSeekSelectSkillReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3a, 0x0a, 0x19, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HideAndSeekSelectSkillReq_proto_rawDescOnce sync.Once + file_HideAndSeekSelectSkillReq_proto_rawDescData = file_HideAndSeekSelectSkillReq_proto_rawDesc +) + +func file_HideAndSeekSelectSkillReq_proto_rawDescGZIP() []byte { + file_HideAndSeekSelectSkillReq_proto_rawDescOnce.Do(func() { + file_HideAndSeekSelectSkillReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSelectSkillReq_proto_rawDescData) + }) + return file_HideAndSeekSelectSkillReq_proto_rawDescData +} + +var file_HideAndSeekSelectSkillReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSelectSkillReq_proto_goTypes = []interface{}{ + (*HideAndSeekSelectSkillReq)(nil), // 0: HideAndSeekSelectSkillReq +} +var file_HideAndSeekSelectSkillReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSelectSkillReq_proto_init() } +func file_HideAndSeekSelectSkillReq_proto_init() { + if File_HideAndSeekSelectSkillReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSelectSkillReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSelectSkillReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSelectSkillReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSelectSkillReq_proto_goTypes, + DependencyIndexes: file_HideAndSeekSelectSkillReq_proto_depIdxs, + MessageInfos: file_HideAndSeekSelectSkillReq_proto_msgTypes, + }.Build() + File_HideAndSeekSelectSkillReq_proto = out.File + file_HideAndSeekSelectSkillReq_proto_rawDesc = nil + file_HideAndSeekSelectSkillReq_proto_goTypes = nil + file_HideAndSeekSelectSkillReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.proto b/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.proto new file mode 100644 index 00000000..a9fecfe4 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectSkillReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8183 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HideAndSeekSelectSkillReq { + repeated uint32 skill_list = 13; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.pb.go b/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.pb.go new file mode 100644 index 00000000..642c0ad6 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSelectSkillRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8088 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekSelectSkillRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + SkillList []uint32 `protobuf:"varint,12,rep,packed,name=skill_list,json=skillList,proto3" json:"skill_list,omitempty"` +} + +func (x *HideAndSeekSelectSkillRsp) Reset() { + *x = HideAndSeekSelectSkillRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSelectSkillRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSelectSkillRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSelectSkillRsp) ProtoMessage() {} + +func (x *HideAndSeekSelectSkillRsp) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSelectSkillRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSelectSkillRsp.ProtoReflect.Descriptor instead. +func (*HideAndSeekSelectSkillRsp) Descriptor() ([]byte, []int) { + return file_HideAndSeekSelectSkillRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSelectSkillRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HideAndSeekSelectSkillRsp) GetSkillList() []uint32 { + if x != nil { + return x.SkillList + } + return nil +} + +var File_HideAndSeekSelectSkillRsp_proto protoreflect.FileDescriptor + +var file_HideAndSeekSelectSkillRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x54, 0x0a, 0x19, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x6c, + 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSelectSkillRsp_proto_rawDescOnce sync.Once + file_HideAndSeekSelectSkillRsp_proto_rawDescData = file_HideAndSeekSelectSkillRsp_proto_rawDesc +) + +func file_HideAndSeekSelectSkillRsp_proto_rawDescGZIP() []byte { + file_HideAndSeekSelectSkillRsp_proto_rawDescOnce.Do(func() { + file_HideAndSeekSelectSkillRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSelectSkillRsp_proto_rawDescData) + }) + return file_HideAndSeekSelectSkillRsp_proto_rawDescData +} + +var file_HideAndSeekSelectSkillRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSelectSkillRsp_proto_goTypes = []interface{}{ + (*HideAndSeekSelectSkillRsp)(nil), // 0: HideAndSeekSelectSkillRsp +} +var file_HideAndSeekSelectSkillRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSelectSkillRsp_proto_init() } +func file_HideAndSeekSelectSkillRsp_proto_init() { + if File_HideAndSeekSelectSkillRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSelectSkillRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSelectSkillRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSelectSkillRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSelectSkillRsp_proto_goTypes, + DependencyIndexes: file_HideAndSeekSelectSkillRsp_proto_depIdxs, + MessageInfos: file_HideAndSeekSelectSkillRsp_proto_msgTypes, + }.Build() + File_HideAndSeekSelectSkillRsp_proto = out.File + file_HideAndSeekSelectSkillRsp_proto_rawDesc = nil + file_HideAndSeekSelectSkillRsp_proto_goTypes = nil + file_HideAndSeekSelectSkillRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.proto b/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.proto new file mode 100644 index 00000000..dab2c661 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSelectSkillRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8088 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekSelectSkillRsp { + int32 retcode = 4; + repeated uint32 skill_list = 12; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSetReadyReq.pb.go b/gate-hk4e-api/proto/HideAndSeekSetReadyReq.pb.go new file mode 100644 index 00000000..ae6951ae --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSetReadyReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSetReadyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5358 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HideAndSeekSetReadyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HideAndSeekSetReadyReq) Reset() { + *x = HideAndSeekSetReadyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSetReadyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSetReadyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSetReadyReq) ProtoMessage() {} + +func (x *HideAndSeekSetReadyReq) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSetReadyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSetReadyReq.ProtoReflect.Descriptor instead. +func (*HideAndSeekSetReadyReq) Descriptor() ([]byte, []int) { + return file_HideAndSeekSetReadyReq_proto_rawDescGZIP(), []int{0} +} + +var File_HideAndSeekSetReadyReq_proto protoreflect.FileDescriptor + +var file_HideAndSeekSetReadyReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSetReadyReq_proto_rawDescOnce sync.Once + file_HideAndSeekSetReadyReq_proto_rawDescData = file_HideAndSeekSetReadyReq_proto_rawDesc +) + +func file_HideAndSeekSetReadyReq_proto_rawDescGZIP() []byte { + file_HideAndSeekSetReadyReq_proto_rawDescOnce.Do(func() { + file_HideAndSeekSetReadyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSetReadyReq_proto_rawDescData) + }) + return file_HideAndSeekSetReadyReq_proto_rawDescData +} + +var file_HideAndSeekSetReadyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSetReadyReq_proto_goTypes = []interface{}{ + (*HideAndSeekSetReadyReq)(nil), // 0: HideAndSeekSetReadyReq +} +var file_HideAndSeekSetReadyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSetReadyReq_proto_init() } +func file_HideAndSeekSetReadyReq_proto_init() { + if File_HideAndSeekSetReadyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSetReadyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSetReadyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSetReadyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSetReadyReq_proto_goTypes, + DependencyIndexes: file_HideAndSeekSetReadyReq_proto_depIdxs, + MessageInfos: file_HideAndSeekSetReadyReq_proto_msgTypes, + }.Build() + File_HideAndSeekSetReadyReq_proto = out.File + file_HideAndSeekSetReadyReq_proto_rawDesc = nil + file_HideAndSeekSetReadyReq_proto_goTypes = nil + file_HideAndSeekSetReadyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSetReadyReq.proto b/gate-hk4e-api/proto/HideAndSeekSetReadyReq.proto new file mode 100644 index 00000000..539d780c --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSetReadyReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5358 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HideAndSeekSetReadyReq {} diff --git a/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.pb.go b/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.pb.go new file mode 100644 index 00000000..fb7cc818 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSetReadyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5370 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekSetReadyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HideAndSeekSetReadyRsp) Reset() { + *x = HideAndSeekSetReadyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSetReadyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSetReadyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSetReadyRsp) ProtoMessage() {} + +func (x *HideAndSeekSetReadyRsp) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSetReadyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSetReadyRsp.ProtoReflect.Descriptor instead. +func (*HideAndSeekSetReadyRsp) Descriptor() ([]byte, []int) { + return file_HideAndSeekSetReadyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSetReadyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HideAndSeekSetReadyRsp_proto protoreflect.FileDescriptor + +var file_HideAndSeekSetReadyRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSetReadyRsp_proto_rawDescOnce sync.Once + file_HideAndSeekSetReadyRsp_proto_rawDescData = file_HideAndSeekSetReadyRsp_proto_rawDesc +) + +func file_HideAndSeekSetReadyRsp_proto_rawDescGZIP() []byte { + file_HideAndSeekSetReadyRsp_proto_rawDescOnce.Do(func() { + file_HideAndSeekSetReadyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSetReadyRsp_proto_rawDescData) + }) + return file_HideAndSeekSetReadyRsp_proto_rawDescData +} + +var file_HideAndSeekSetReadyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSetReadyRsp_proto_goTypes = []interface{}{ + (*HideAndSeekSetReadyRsp)(nil), // 0: HideAndSeekSetReadyRsp +} +var file_HideAndSeekSetReadyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSetReadyRsp_proto_init() } +func file_HideAndSeekSetReadyRsp_proto_init() { + if File_HideAndSeekSetReadyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSetReadyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSetReadyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSetReadyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSetReadyRsp_proto_goTypes, + DependencyIndexes: file_HideAndSeekSetReadyRsp_proto_depIdxs, + MessageInfos: file_HideAndSeekSetReadyRsp_proto_msgTypes, + }.Build() + File_HideAndSeekSetReadyRsp_proto = out.File + file_HideAndSeekSetReadyRsp_proto_rawDesc = nil + file_HideAndSeekSetReadyRsp_proto_goTypes = nil + file_HideAndSeekSetReadyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.proto b/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.proto new file mode 100644 index 00000000..8485ac9b --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSetReadyRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5370 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekSetReadyRsp { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSettleInfo.pb.go b/gate-hk4e-api/proto/HideAndSeekSettleInfo.pb.go new file mode 100644 index 00000000..3d726dd8 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSettleInfo.pb.go @@ -0,0 +1,220 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,1,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + CardList []*ExhibitionDisplayInfo `protobuf:"bytes,8,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` + HeadImage uint32 `protobuf:"varint,4,opt,name=head_image,json=headImage,proto3" json:"head_image,omitempty"` + OnlineId string `protobuf:"bytes,10,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` +} + +func (x *HideAndSeekSettleInfo) Reset() { + *x = HideAndSeekSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSettleInfo) ProtoMessage() {} + +func (x *HideAndSeekSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSettleInfo.ProtoReflect.Descriptor instead. +func (*HideAndSeekSettleInfo) Descriptor() ([]byte, []int) { + return file_HideAndSeekSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSettleInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *HideAndSeekSettleInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *HideAndSeekSettleInfo) GetCardList() []*ExhibitionDisplayInfo { + if x != nil { + return x.CardList + } + return nil +} + +func (x *HideAndSeekSettleInfo) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *HideAndSeekSettleInfo) GetHeadImage() uint32 { + if x != nil { + return x.HeadImage + } + return 0 +} + +func (x *HideAndSeekSettleInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +var File_HideAndSeekSettleInfo_proto protoreflect.FileDescriptor + +var file_HideAndSeekSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, + 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xf0, 0x01, 0x0a, 0x15, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x0f, + 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, + 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6e, + 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, + 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x5f, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x68, 0x65, 0x61, + 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSettleInfo_proto_rawDescOnce sync.Once + file_HideAndSeekSettleInfo_proto_rawDescData = file_HideAndSeekSettleInfo_proto_rawDesc +) + +func file_HideAndSeekSettleInfo_proto_rawDescGZIP() []byte { + file_HideAndSeekSettleInfo_proto_rawDescOnce.Do(func() { + file_HideAndSeekSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSettleInfo_proto_rawDescData) + }) + return file_HideAndSeekSettleInfo_proto_rawDescData +} + +var file_HideAndSeekSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSettleInfo_proto_goTypes = []interface{}{ + (*HideAndSeekSettleInfo)(nil), // 0: HideAndSeekSettleInfo + (*ProfilePicture)(nil), // 1: ProfilePicture + (*ExhibitionDisplayInfo)(nil), // 2: ExhibitionDisplayInfo +} +var file_HideAndSeekSettleInfo_proto_depIdxs = []int32{ + 1, // 0: HideAndSeekSettleInfo.profile_picture:type_name -> ProfilePicture + 2, // 1: HideAndSeekSettleInfo.card_list:type_name -> ExhibitionDisplayInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSettleInfo_proto_init() } +func file_HideAndSeekSettleInfo_proto_init() { + if File_HideAndSeekSettleInfo_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSettleInfo_proto_goTypes, + DependencyIndexes: file_HideAndSeekSettleInfo_proto_depIdxs, + MessageInfos: file_HideAndSeekSettleInfo_proto_msgTypes, + }.Build() + File_HideAndSeekSettleInfo_proto = out.File + file_HideAndSeekSettleInfo_proto_rawDesc = nil + file_HideAndSeekSettleInfo_proto_goTypes = nil + file_HideAndSeekSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSettleInfo.proto b/gate-hk4e-api/proto/HideAndSeekSettleInfo.proto new file mode 100644 index 00000000..1a6091ad --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSettleInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message HideAndSeekSettleInfo { + uint32 uid = 2; + ProfilePicture profile_picture = 1; + repeated ExhibitionDisplayInfo card_list = 8; + string nickname = 3; + uint32 head_image = 4; + string online_id = 10; +} diff --git a/gate-hk4e-api/proto/HideAndSeekSettleNotify.pb.go b/gate-hk4e-api/proto/HideAndSeekSettleNotify.pb.go new file mode 100644 index 00000000..43bf223d --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSettleNotify.pb.go @@ -0,0 +1,307 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekSettleNotify_SettleReason int32 + +const ( + HideAndSeekSettleNotify_SETTLE_REASON_TIME_OUT HideAndSeekSettleNotify_SettleReason = 0 + HideAndSeekSettleNotify_SETTLE_REASON_PLAY_END HideAndSeekSettleNotify_SettleReason = 1 + HideAndSeekSettleNotify_SETTLE_REASON_PLAYER_QUIT HideAndSeekSettleNotify_SettleReason = 2 +) + +// Enum value maps for HideAndSeekSettleNotify_SettleReason. +var ( + HideAndSeekSettleNotify_SettleReason_name = map[int32]string{ + 0: "SETTLE_REASON_TIME_OUT", + 1: "SETTLE_REASON_PLAY_END", + 2: "SETTLE_REASON_PLAYER_QUIT", + } + HideAndSeekSettleNotify_SettleReason_value = map[string]int32{ + "SETTLE_REASON_TIME_OUT": 0, + "SETTLE_REASON_PLAY_END": 1, + "SETTLE_REASON_PLAYER_QUIT": 2, + } +) + +func (x HideAndSeekSettleNotify_SettleReason) Enum() *HideAndSeekSettleNotify_SettleReason { + p := new(HideAndSeekSettleNotify_SettleReason) + *p = x + return p +} + +func (x HideAndSeekSettleNotify_SettleReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HideAndSeekSettleNotify_SettleReason) Descriptor() protoreflect.EnumDescriptor { + return file_HideAndSeekSettleNotify_proto_enumTypes[0].Descriptor() +} + +func (HideAndSeekSettleNotify_SettleReason) Type() protoreflect.EnumType { + return &file_HideAndSeekSettleNotify_proto_enumTypes[0] +} + +func (x HideAndSeekSettleNotify_SettleReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HideAndSeekSettleNotify_SettleReason.Descriptor instead. +func (HideAndSeekSettleNotify_SettleReason) EnumDescriptor() ([]byte, []int) { + return file_HideAndSeekSettleNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 5317 +// EnetChannelId: 0 +// EnetIsReliable: true +type HideAndSeekSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostTime uint32 `protobuf:"varint,2,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` + SettleInfoList []*HideAndSeekSettleInfo `protobuf:"bytes,8,rep,name=settle_info_list,json=settleInfoList,proto3" json:"settle_info_list,omitempty"` + WinnerList []uint32 `protobuf:"varint,15,rep,packed,name=winner_list,json=winnerList,proto3" json:"winner_list,omitempty"` + Reason HideAndSeekSettleNotify_SettleReason `protobuf:"varint,4,opt,name=reason,proto3,enum=HideAndSeekSettleNotify_SettleReason" json:"reason,omitempty"` + PlayIndex uint32 `protobuf:"varint,13,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + IsRecordScore bool `protobuf:"varint,6,opt,name=is_record_score,json=isRecordScore,proto3" json:"is_record_score,omitempty"` + ScoreList []*ExhibitionDisplayInfo `protobuf:"bytes,9,rep,name=score_list,json=scoreList,proto3" json:"score_list,omitempty"` + StageType uint32 `protobuf:"varint,14,opt,name=stage_type,json=stageType,proto3" json:"stage_type,omitempty"` +} + +func (x *HideAndSeekSettleNotify) Reset() { + *x = HideAndSeekSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekSettleNotify) ProtoMessage() {} + +func (x *HideAndSeekSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekSettleNotify.ProtoReflect.Descriptor instead. +func (*HideAndSeekSettleNotify) Descriptor() ([]byte, []int) { + return file_HideAndSeekSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekSettleNotify) GetCostTime() uint32 { + if x != nil { + return x.CostTime + } + return 0 +} + +func (x *HideAndSeekSettleNotify) GetSettleInfoList() []*HideAndSeekSettleInfo { + if x != nil { + return x.SettleInfoList + } + return nil +} + +func (x *HideAndSeekSettleNotify) GetWinnerList() []uint32 { + if x != nil { + return x.WinnerList + } + return nil +} + +func (x *HideAndSeekSettleNotify) GetReason() HideAndSeekSettleNotify_SettleReason { + if x != nil { + return x.Reason + } + return HideAndSeekSettleNotify_SETTLE_REASON_TIME_OUT +} + +func (x *HideAndSeekSettleNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *HideAndSeekSettleNotify) GetIsRecordScore() bool { + if x != nil { + return x.IsRecordScore + } + return false +} + +func (x *HideAndSeekSettleNotify) GetScoreList() []*ExhibitionDisplayInfo { + if x != nil { + return x.ScoreList + } + return nil +} + +func (x *HideAndSeekSettleNotify) GetStageType() uint32 { + if x != nil { + return x.StageType + } + return 0 +} + +var File_HideAndSeekSettleNotify_proto protoreflect.FileDescriptor + +var file_HideAndSeekSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x48, 0x69, + 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x03, 0x0a, 0x17, 0x48, 0x69, + 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x48, + 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x69, 0x6e, 0x6e, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, + 0x65, 0x65, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x22, 0x65, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x00, 0x12, 0x1a, 0x0a, + 0x16, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, + 0x4c, 0x41, 0x59, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x45, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, + 0x52, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekSettleNotify_proto_rawDescOnce sync.Once + file_HideAndSeekSettleNotify_proto_rawDescData = file_HideAndSeekSettleNotify_proto_rawDesc +) + +func file_HideAndSeekSettleNotify_proto_rawDescGZIP() []byte { + file_HideAndSeekSettleNotify_proto_rawDescOnce.Do(func() { + file_HideAndSeekSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekSettleNotify_proto_rawDescData) + }) + return file_HideAndSeekSettleNotify_proto_rawDescData +} + +var file_HideAndSeekSettleNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_HideAndSeekSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HideAndSeekSettleNotify_proto_goTypes = []interface{}{ + (HideAndSeekSettleNotify_SettleReason)(0), // 0: HideAndSeekSettleNotify.SettleReason + (*HideAndSeekSettleNotify)(nil), // 1: HideAndSeekSettleNotify + (*HideAndSeekSettleInfo)(nil), // 2: HideAndSeekSettleInfo + (*ExhibitionDisplayInfo)(nil), // 3: ExhibitionDisplayInfo +} +var file_HideAndSeekSettleNotify_proto_depIdxs = []int32{ + 2, // 0: HideAndSeekSettleNotify.settle_info_list:type_name -> HideAndSeekSettleInfo + 0, // 1: HideAndSeekSettleNotify.reason:type_name -> HideAndSeekSettleNotify.SettleReason + 3, // 2: HideAndSeekSettleNotify.score_list:type_name -> ExhibitionDisplayInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HideAndSeekSettleNotify_proto_init() } +func file_HideAndSeekSettleNotify_proto_init() { + if File_HideAndSeekSettleNotify_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_HideAndSeekSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HideAndSeekSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekSettleNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekSettleNotify_proto_goTypes, + DependencyIndexes: file_HideAndSeekSettleNotify_proto_depIdxs, + EnumInfos: file_HideAndSeekSettleNotify_proto_enumTypes, + MessageInfos: file_HideAndSeekSettleNotify_proto_msgTypes, + }.Build() + File_HideAndSeekSettleNotify_proto = out.File + file_HideAndSeekSettleNotify_proto_rawDesc = nil + file_HideAndSeekSettleNotify_proto_goTypes = nil + file_HideAndSeekSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekSettleNotify.proto b/gate-hk4e-api/proto/HideAndSeekSettleNotify.proto new file mode 100644 index 00000000..9e86008a --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekSettleNotify.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "HideAndSeekSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5317 +// EnetChannelId: 0 +// EnetIsReliable: true +message HideAndSeekSettleNotify { + uint32 cost_time = 2; + repeated HideAndSeekSettleInfo settle_info_list = 8; + repeated uint32 winner_list = 15; + SettleReason reason = 4; + uint32 play_index = 13; + bool is_record_score = 6; + repeated ExhibitionDisplayInfo score_list = 9; + uint32 stage_type = 14; + + enum SettleReason { + SETTLE_REASON_TIME_OUT = 0; + SETTLE_REASON_PLAY_END = 1; + SETTLE_REASON_PLAYER_QUIT = 2; + } +} diff --git a/gate-hk4e-api/proto/HideAndSeekStageInfo.pb.go b/gate-hk4e-api/proto/HideAndSeekStageInfo.pb.go new file mode 100644 index 00000000..1375b485 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekStageInfo.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekStageInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekStageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MapId uint32 `protobuf:"varint,8,opt,name=map_id,json=mapId,proto3" json:"map_id,omitempty"` + IsRecordScore bool `protobuf:"varint,3,opt,name=is_record_score,json=isRecordScore,proto3" json:"is_record_score,omitempty"` + StageType HideAndSeekStageType `protobuf:"varint,7,opt,name=stage_type,json=stageType,proto3,enum=HideAndSeekStageType" json:"stage_type,omitempty"` + BattleInfoMap map[uint32]*HideAndSeekPlayerBattleInfo `protobuf:"bytes,2,rep,name=battle_info_map,json=battleInfoMap,proto3" json:"battle_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HiderUidList []uint32 `protobuf:"varint,1,rep,packed,name=hider_uid_list,json=hiderUidList,proto3" json:"hider_uid_list,omitempty"` + HunterUid uint32 `protobuf:"varint,10,opt,name=hunter_uid,json=hunterUid,proto3" json:"hunter_uid,omitempty"` +} + +func (x *HideAndSeekStageInfo) Reset() { + *x = HideAndSeekStageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HideAndSeekStageInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HideAndSeekStageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HideAndSeekStageInfo) ProtoMessage() {} + +func (x *HideAndSeekStageInfo) ProtoReflect() protoreflect.Message { + mi := &file_HideAndSeekStageInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HideAndSeekStageInfo.ProtoReflect.Descriptor instead. +func (*HideAndSeekStageInfo) Descriptor() ([]byte, []int) { + return file_HideAndSeekStageInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HideAndSeekStageInfo) GetMapId() uint32 { + if x != nil { + return x.MapId + } + return 0 +} + +func (x *HideAndSeekStageInfo) GetIsRecordScore() bool { + if x != nil { + return x.IsRecordScore + } + return false +} + +func (x *HideAndSeekStageInfo) GetStageType() HideAndSeekStageType { + if x != nil { + return x.StageType + } + return HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_PREPARE +} + +func (x *HideAndSeekStageInfo) GetBattleInfoMap() map[uint32]*HideAndSeekPlayerBattleInfo { + if x != nil { + return x.BattleInfoMap + } + return nil +} + +func (x *HideAndSeekStageInfo) GetHiderUidList() []uint32 { + if x != nil { + return x.HiderUidList + } + return nil +} + +func (x *HideAndSeekStageInfo) GetHunterUid() uint32 { + if x != nil { + return x.HunterUid + } + return 0 +} + +var File_HideAndSeekStageInfo_proto protoreflect.FileDescriptor + +var file_HideAndSeekStageInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x48, 0x69, + 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1a, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x03, 0x0a, 0x14, + 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, + 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, + 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x62, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x62, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x68, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x69, 0x64, 0x65, 0x72, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x68, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x55, 0x69, 0x64, + 0x1a, 0x5e, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, + 0x64, 0x53, 0x65, 0x65, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekStageInfo_proto_rawDescOnce sync.Once + file_HideAndSeekStageInfo_proto_rawDescData = file_HideAndSeekStageInfo_proto_rawDesc +) + +func file_HideAndSeekStageInfo_proto_rawDescGZIP() []byte { + file_HideAndSeekStageInfo_proto_rawDescOnce.Do(func() { + file_HideAndSeekStageInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekStageInfo_proto_rawDescData) + }) + return file_HideAndSeekStageInfo_proto_rawDescData +} + +var file_HideAndSeekStageInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_HideAndSeekStageInfo_proto_goTypes = []interface{}{ + (*HideAndSeekStageInfo)(nil), // 0: HideAndSeekStageInfo + nil, // 1: HideAndSeekStageInfo.BattleInfoMapEntry + (HideAndSeekStageType)(0), // 2: HideAndSeekStageType + (*HideAndSeekPlayerBattleInfo)(nil), // 3: HideAndSeekPlayerBattleInfo +} +var file_HideAndSeekStageInfo_proto_depIdxs = []int32{ + 2, // 0: HideAndSeekStageInfo.stage_type:type_name -> HideAndSeekStageType + 1, // 1: HideAndSeekStageInfo.battle_info_map:type_name -> HideAndSeekStageInfo.BattleInfoMapEntry + 3, // 2: HideAndSeekStageInfo.BattleInfoMapEntry.value:type_name -> HideAndSeekPlayerBattleInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HideAndSeekStageInfo_proto_init() } +func file_HideAndSeekStageInfo_proto_init() { + if File_HideAndSeekStageInfo_proto != nil { + return + } + file_HideAndSeekPlayerBattleInfo_proto_init() + file_HideAndSeekStageType_proto_init() + if !protoimpl.UnsafeEnabled { + file_HideAndSeekStageInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HideAndSeekStageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekStageInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekStageInfo_proto_goTypes, + DependencyIndexes: file_HideAndSeekStageInfo_proto_depIdxs, + MessageInfos: file_HideAndSeekStageInfo_proto_msgTypes, + }.Build() + File_HideAndSeekStageInfo_proto = out.File + file_HideAndSeekStageInfo_proto_rawDesc = nil + file_HideAndSeekStageInfo_proto_goTypes = nil + file_HideAndSeekStageInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekStageInfo.proto b/gate-hk4e-api/proto/HideAndSeekStageInfo.proto new file mode 100644 index 00000000..6ef36416 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekStageInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HideAndSeekPlayerBattleInfo.proto"; +import "HideAndSeekStageType.proto"; + +option go_package = "./;proto"; + +message HideAndSeekStageInfo { + uint32 map_id = 8; + bool is_record_score = 3; + HideAndSeekStageType stage_type = 7; + map battle_info_map = 2; + repeated uint32 hider_uid_list = 1; + uint32 hunter_uid = 10; +} diff --git a/gate-hk4e-api/proto/HideAndSeekStageType.pb.go b/gate-hk4e-api/proto/HideAndSeekStageType.pb.go new file mode 100644 index 00000000..32ad0a28 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekStageType.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HideAndSeekStageType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HideAndSeekStageType int32 + +const ( + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_PREPARE HideAndSeekStageType = 0 + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_PICK HideAndSeekStageType = 1 + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_GAME HideAndSeekStageType = 2 + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_HIDE HideAndSeekStageType = 3 + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_SEEK HideAndSeekStageType = 4 + HideAndSeekStageType_HIDE_AND_SEEK_STAGE_TYPE_SETTLE HideAndSeekStageType = 5 +) + +// Enum value maps for HideAndSeekStageType. +var ( + HideAndSeekStageType_name = map[int32]string{ + 0: "HIDE_AND_SEEK_STAGE_TYPE_PREPARE", + 1: "HIDE_AND_SEEK_STAGE_TYPE_PICK", + 2: "HIDE_AND_SEEK_STAGE_TYPE_GAME", + 3: "HIDE_AND_SEEK_STAGE_TYPE_HIDE", + 4: "HIDE_AND_SEEK_STAGE_TYPE_SEEK", + 5: "HIDE_AND_SEEK_STAGE_TYPE_SETTLE", + } + HideAndSeekStageType_value = map[string]int32{ + "HIDE_AND_SEEK_STAGE_TYPE_PREPARE": 0, + "HIDE_AND_SEEK_STAGE_TYPE_PICK": 1, + "HIDE_AND_SEEK_STAGE_TYPE_GAME": 2, + "HIDE_AND_SEEK_STAGE_TYPE_HIDE": 3, + "HIDE_AND_SEEK_STAGE_TYPE_SEEK": 4, + "HIDE_AND_SEEK_STAGE_TYPE_SETTLE": 5, + } +) + +func (x HideAndSeekStageType) Enum() *HideAndSeekStageType { + p := new(HideAndSeekStageType) + *p = x + return p +} + +func (x HideAndSeekStageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HideAndSeekStageType) Descriptor() protoreflect.EnumDescriptor { + return file_HideAndSeekStageType_proto_enumTypes[0].Descriptor() +} + +func (HideAndSeekStageType) Type() protoreflect.EnumType { + return &file_HideAndSeekStageType_proto_enumTypes[0] +} + +func (x HideAndSeekStageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HideAndSeekStageType.Descriptor instead. +func (HideAndSeekStageType) EnumDescriptor() ([]byte, []int) { + return file_HideAndSeekStageType_proto_rawDescGZIP(), []int{0} +} + +var File_HideAndSeekStageType_proto protoreflect.FileDescriptor + +var file_HideAndSeekStageType_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xed, 0x01, 0x0a, + 0x14, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x48, 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, + 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x48, + 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x54, 0x41, + 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x49, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x21, + 0x0a, 0x1d, 0x48, 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, + 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x10, + 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x48, 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, + 0x45, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x49, + 0x44, 0x45, 0x10, 0x03, 0x12, 0x21, 0x0a, 0x1d, 0x48, 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, + 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x48, 0x49, 0x44, 0x45, 0x5f, + 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x10, 0x05, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HideAndSeekStageType_proto_rawDescOnce sync.Once + file_HideAndSeekStageType_proto_rawDescData = file_HideAndSeekStageType_proto_rawDesc +) + +func file_HideAndSeekStageType_proto_rawDescGZIP() []byte { + file_HideAndSeekStageType_proto_rawDescOnce.Do(func() { + file_HideAndSeekStageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_HideAndSeekStageType_proto_rawDescData) + }) + return file_HideAndSeekStageType_proto_rawDescData +} + +var file_HideAndSeekStageType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_HideAndSeekStageType_proto_goTypes = []interface{}{ + (HideAndSeekStageType)(0), // 0: HideAndSeekStageType +} +var file_HideAndSeekStageType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HideAndSeekStageType_proto_init() } +func file_HideAndSeekStageType_proto_init() { + if File_HideAndSeekStageType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HideAndSeekStageType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HideAndSeekStageType_proto_goTypes, + DependencyIndexes: file_HideAndSeekStageType_proto_depIdxs, + EnumInfos: file_HideAndSeekStageType_proto_enumTypes, + }.Build() + File_HideAndSeekStageType_proto = out.File + file_HideAndSeekStageType_proto_rawDesc = nil + file_HideAndSeekStageType_proto_goTypes = nil + file_HideAndSeekStageType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HideAndSeekStageType.proto b/gate-hk4e-api/proto/HideAndSeekStageType.proto new file mode 100644 index 00000000..33c0f500 --- /dev/null +++ b/gate-hk4e-api/proto/HideAndSeekStageType.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum HideAndSeekStageType { + HIDE_AND_SEEK_STAGE_TYPE_PREPARE = 0; + HIDE_AND_SEEK_STAGE_TYPE_PICK = 1; + HIDE_AND_SEEK_STAGE_TYPE_GAME = 2; + HIDE_AND_SEEK_STAGE_TYPE_HIDE = 3; + HIDE_AND_SEEK_STAGE_TYPE_SEEK = 4; + HIDE_AND_SEEK_STAGE_TYPE_SETTLE = 5; +} diff --git a/gate-hk4e-api/proto/HitClientTrivialNotify.pb.go b/gate-hk4e-api/proto/HitClientTrivialNotify.pb.go new file mode 100644 index 00000000..0c554d6c --- /dev/null +++ b/gate-hk4e-api/proto/HitClientTrivialNotify.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HitClientTrivialNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 244 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HitClientTrivialNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,11,opt,name=position,proto3" json:"position,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,12,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` +} + +func (x *HitClientTrivialNotify) Reset() { + *x = HitClientTrivialNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HitClientTrivialNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HitClientTrivialNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HitClientTrivialNotify) ProtoMessage() {} + +func (x *HitClientTrivialNotify) ProtoReflect() protoreflect.Message { + mi := &file_HitClientTrivialNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HitClientTrivialNotify.ProtoReflect.Descriptor instead. +func (*HitClientTrivialNotify) Descriptor() ([]byte, []int) { + return file_HitClientTrivialNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HitClientTrivialNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *HitClientTrivialNotify) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +var File_HitClientTrivialNotify_proto protoreflect.FileDescriptor + +var file_HitClientTrivialNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x69, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x76, 0x69, + 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x16, + 0x48, 0x69, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x76, 0x69, 0x61, 0x6c, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HitClientTrivialNotify_proto_rawDescOnce sync.Once + file_HitClientTrivialNotify_proto_rawDescData = file_HitClientTrivialNotify_proto_rawDesc +) + +func file_HitClientTrivialNotify_proto_rawDescGZIP() []byte { + file_HitClientTrivialNotify_proto_rawDescOnce.Do(func() { + file_HitClientTrivialNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HitClientTrivialNotify_proto_rawDescData) + }) + return file_HitClientTrivialNotify_proto_rawDescData +} + +var file_HitClientTrivialNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HitClientTrivialNotify_proto_goTypes = []interface{}{ + (*HitClientTrivialNotify)(nil), // 0: HitClientTrivialNotify + (*Vector)(nil), // 1: Vector +} +var file_HitClientTrivialNotify_proto_depIdxs = []int32{ + 1, // 0: HitClientTrivialNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HitClientTrivialNotify_proto_init() } +func file_HitClientTrivialNotify_proto_init() { + if File_HitClientTrivialNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HitClientTrivialNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HitClientTrivialNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HitClientTrivialNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HitClientTrivialNotify_proto_goTypes, + DependencyIndexes: file_HitClientTrivialNotify_proto_depIdxs, + MessageInfos: file_HitClientTrivialNotify_proto_msgTypes, + }.Build() + File_HitClientTrivialNotify_proto = out.File + file_HitClientTrivialNotify_proto_rawDesc = nil + file_HitClientTrivialNotify_proto_goTypes = nil + file_HitClientTrivialNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HitClientTrivialNotify.proto b/gate-hk4e-api/proto/HitClientTrivialNotify.proto new file mode 100644 index 00000000..b7561e71 --- /dev/null +++ b/gate-hk4e-api/proto/HitClientTrivialNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 244 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HitClientTrivialNotify { + Vector position = 11; + uint32 owner_entity_id = 12; +} diff --git a/gate-hk4e-api/proto/HitColliderType.pb.go b/gate-hk4e-api/proto/HitColliderType.pb.go new file mode 100644 index 00000000..7fda953c --- /dev/null +++ b/gate-hk4e-api/proto/HitColliderType.pb.go @@ -0,0 +1,155 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HitColliderType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HitColliderType int32 + +const ( + HitColliderType_HIT_COLLIDER_TYPE_INVALID HitColliderType = 0 + HitColliderType_HIT_COLLIDER_TYPE_HIT_BOX HitColliderType = 1 + HitColliderType_HIT_COLLIDER_TYPE_WET_HIT_BOX HitColliderType = 2 + HitColliderType_HIT_COLLIDER_TYPE_HEAD_BOX HitColliderType = 3 +) + +// Enum value maps for HitColliderType. +var ( + HitColliderType_name = map[int32]string{ + 0: "HIT_COLLIDER_TYPE_INVALID", + 1: "HIT_COLLIDER_TYPE_HIT_BOX", + 2: "HIT_COLLIDER_TYPE_WET_HIT_BOX", + 3: "HIT_COLLIDER_TYPE_HEAD_BOX", + } + HitColliderType_value = map[string]int32{ + "HIT_COLLIDER_TYPE_INVALID": 0, + "HIT_COLLIDER_TYPE_HIT_BOX": 1, + "HIT_COLLIDER_TYPE_WET_HIT_BOX": 2, + "HIT_COLLIDER_TYPE_HEAD_BOX": 3, + } +) + +func (x HitColliderType) Enum() *HitColliderType { + p := new(HitColliderType) + *p = x + return p +} + +func (x HitColliderType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HitColliderType) Descriptor() protoreflect.EnumDescriptor { + return file_HitColliderType_proto_enumTypes[0].Descriptor() +} + +func (HitColliderType) Type() protoreflect.EnumType { + return &file_HitColliderType_proto_enumTypes[0] +} + +func (x HitColliderType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HitColliderType.Descriptor instead. +func (HitColliderType) EnumDescriptor() ([]byte, []int) { + return file_HitColliderType_proto_rawDescGZIP(), []int{0} +} + +var File_HitColliderType_proto protoreflect.FileDescriptor + +var file_HitColliderType_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x92, 0x01, 0x0a, 0x0f, 0x48, 0x69, 0x74, 0x43, + 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x48, + 0x49, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x48, 0x49, + 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x48, 0x49, 0x54, 0x5f, 0x42, 0x4f, 0x58, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x48, 0x49, 0x54, + 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, + 0x45, 0x54, 0x5f, 0x48, 0x49, 0x54, 0x5f, 0x42, 0x4f, 0x58, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, + 0x48, 0x49, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x5f, 0x42, 0x4f, 0x58, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HitColliderType_proto_rawDescOnce sync.Once + file_HitColliderType_proto_rawDescData = file_HitColliderType_proto_rawDesc +) + +func file_HitColliderType_proto_rawDescGZIP() []byte { + file_HitColliderType_proto_rawDescOnce.Do(func() { + file_HitColliderType_proto_rawDescData = protoimpl.X.CompressGZIP(file_HitColliderType_proto_rawDescData) + }) + return file_HitColliderType_proto_rawDescData +} + +var file_HitColliderType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_HitColliderType_proto_goTypes = []interface{}{ + (HitColliderType)(0), // 0: HitColliderType +} +var file_HitColliderType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HitColliderType_proto_init() } +func file_HitColliderType_proto_init() { + if File_HitColliderType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HitColliderType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HitColliderType_proto_goTypes, + DependencyIndexes: file_HitColliderType_proto_depIdxs, + EnumInfos: file_HitColliderType_proto_enumTypes, + }.Build() + File_HitColliderType_proto = out.File + file_HitColliderType_proto_rawDesc = nil + file_HitColliderType_proto_goTypes = nil + file_HitColliderType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HitColliderType.proto b/gate-hk4e-api/proto/HitColliderType.proto new file mode 100644 index 00000000..f6f1e4fc --- /dev/null +++ b/gate-hk4e-api/proto/HitColliderType.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum HitColliderType { + HIT_COLLIDER_TYPE_INVALID = 0; + HIT_COLLIDER_TYPE_HIT_BOX = 1; + HIT_COLLIDER_TYPE_WET_HIT_BOX = 2; + HIT_COLLIDER_TYPE_HEAD_BOX = 3; +} diff --git a/gate-hk4e-api/proto/HitCollision.pb.go b/gate-hk4e-api/proto/HitCollision.pb.go new file mode 100644 index 00000000..23c359e6 --- /dev/null +++ b/gate-hk4e-api/proto/HitCollision.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HitCollision.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HitCollision struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitColliderType HitColliderType `protobuf:"varint,8,opt,name=hit_collider_type,json=hitColliderType,proto3,enum=HitColliderType" json:"hit_collider_type,omitempty"` + HitPoint *Vector `protobuf:"bytes,7,opt,name=hit_point,json=hitPoint,proto3" json:"hit_point,omitempty"` + AttackeeHitForceAngle float32 `protobuf:"fixed32,2,opt,name=attackee_hit_force_angle,json=attackeeHitForceAngle,proto3" json:"attackee_hit_force_angle,omitempty"` + HitDir *Vector `protobuf:"bytes,13,opt,name=hit_dir,json=hitDir,proto3" json:"hit_dir,omitempty"` + AttackeeHitEntityAngle float32 `protobuf:"fixed32,15,opt,name=attackee_hit_entity_angle,json=attackeeHitEntityAngle,proto3" json:"attackee_hit_entity_angle,omitempty"` + HitBoxIndex int32 `protobuf:"varint,4,opt,name=hit_box_index,json=hitBoxIndex,proto3" json:"hit_box_index,omitempty"` +} + +func (x *HitCollision) Reset() { + *x = HitCollision{} + if protoimpl.UnsafeEnabled { + mi := &file_HitCollision_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HitCollision) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HitCollision) ProtoMessage() {} + +func (x *HitCollision) ProtoReflect() protoreflect.Message { + mi := &file_HitCollision_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HitCollision.ProtoReflect.Descriptor instead. +func (*HitCollision) Descriptor() ([]byte, []int) { + return file_HitCollision_proto_rawDescGZIP(), []int{0} +} + +func (x *HitCollision) GetHitColliderType() HitColliderType { + if x != nil { + return x.HitColliderType + } + return HitColliderType_HIT_COLLIDER_TYPE_INVALID +} + +func (x *HitCollision) GetHitPoint() *Vector { + if x != nil { + return x.HitPoint + } + return nil +} + +func (x *HitCollision) GetAttackeeHitForceAngle() float32 { + if x != nil { + return x.AttackeeHitForceAngle + } + return 0 +} + +func (x *HitCollision) GetHitDir() *Vector { + if x != nil { + return x.HitDir + } + return nil +} + +func (x *HitCollision) GetAttackeeHitEntityAngle() float32 { + if x != nil { + return x.AttackeeHitEntityAngle + } + return 0 +} + +func (x *HitCollision) GetHitBoxIndex() int32 { + if x != nil { + return x.HitBoxIndex + } + return 0 +} + +var File_HitCollision_proto protoreflect.FileDescriptor + +var file_HitCollision_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x02, 0x0a, 0x0c, 0x48, 0x69, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x11, 0x68, 0x69, + 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x69, + 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x68, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x6c, + 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x68, 0x69, 0x74, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x68, 0x69, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x37, + 0x0a, 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x65, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x15, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x65, 0x48, 0x69, 0x74, 0x46, 0x6f, 0x72, + 0x63, 0x65, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x07, 0x68, 0x69, 0x74, 0x5f, 0x64, + 0x69, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x06, 0x68, 0x69, 0x74, 0x44, 0x69, 0x72, 0x12, 0x39, 0x0a, 0x19, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x65, 0x5f, 0x68, 0x69, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x61, 0x74, + 0x74, 0x61, 0x63, 0x6b, 0x65, 0x65, 0x48, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, + 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x5f, 0x62, 0x6f, 0x78, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x68, 0x69, 0x74, + 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HitCollision_proto_rawDescOnce sync.Once + file_HitCollision_proto_rawDescData = file_HitCollision_proto_rawDesc +) + +func file_HitCollision_proto_rawDescGZIP() []byte { + file_HitCollision_proto_rawDescOnce.Do(func() { + file_HitCollision_proto_rawDescData = protoimpl.X.CompressGZIP(file_HitCollision_proto_rawDescData) + }) + return file_HitCollision_proto_rawDescData +} + +var file_HitCollision_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HitCollision_proto_goTypes = []interface{}{ + (*HitCollision)(nil), // 0: HitCollision + (HitColliderType)(0), // 1: HitColliderType + (*Vector)(nil), // 2: Vector +} +var file_HitCollision_proto_depIdxs = []int32{ + 1, // 0: HitCollision.hit_collider_type:type_name -> HitColliderType + 2, // 1: HitCollision.hit_point:type_name -> Vector + 2, // 2: HitCollision.hit_dir:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HitCollision_proto_init() } +func file_HitCollision_proto_init() { + if File_HitCollision_proto != nil { + return + } + file_HitColliderType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HitCollision_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HitCollision); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HitCollision_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HitCollision_proto_goTypes, + DependencyIndexes: file_HitCollision_proto_depIdxs, + MessageInfos: file_HitCollision_proto_msgTypes, + }.Build() + File_HitCollision_proto = out.File + file_HitCollision_proto_rawDesc = nil + file_HitCollision_proto_goTypes = nil + file_HitCollision_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HitCollision.proto b/gate-hk4e-api/proto/HitCollision.proto new file mode 100644 index 00000000..bd10a4be --- /dev/null +++ b/gate-hk4e-api/proto/HitCollision.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HitColliderType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HitCollision { + HitColliderType hit_collider_type = 8; + Vector hit_point = 7; + float attackee_hit_force_angle = 2; + Vector hit_dir = 13; + float attackee_hit_entity_angle = 15; + int32 hit_box_index = 4; +} diff --git a/gate-hk4e-api/proto/HitTreeNotify.pb.go b/gate-hk4e-api/proto/HitTreeNotify.pb.go new file mode 100644 index 00000000..bc88d720 --- /dev/null +++ b/gate-hk4e-api/proto/HitTreeNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HitTreeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3019 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HitTreeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TreeType uint32 `protobuf:"varint,11,opt,name=tree_type,json=treeType,proto3" json:"tree_type,omitempty"` + TreePos *Vector `protobuf:"bytes,2,opt,name=tree_pos,json=treePos,proto3" json:"tree_pos,omitempty"` + DropPos *Vector `protobuf:"bytes,8,opt,name=drop_pos,json=dropPos,proto3" json:"drop_pos,omitempty"` +} + +func (x *HitTreeNotify) Reset() { + *x = HitTreeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HitTreeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HitTreeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HitTreeNotify) ProtoMessage() {} + +func (x *HitTreeNotify) ProtoReflect() protoreflect.Message { + mi := &file_HitTreeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HitTreeNotify.ProtoReflect.Descriptor instead. +func (*HitTreeNotify) Descriptor() ([]byte, []int) { + return file_HitTreeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HitTreeNotify) GetTreeType() uint32 { + if x != nil { + return x.TreeType + } + return 0 +} + +func (x *HitTreeNotify) GetTreePos() *Vector { + if x != nil { + return x.TreePos + } + return nil +} + +func (x *HitTreeNotify) GetDropPos() *Vector { + if x != nil { + return x.DropPos + } + return nil +} + +var File_HitTreeNotify_proto protoreflect.FileDescriptor + +var file_HitTreeNotify_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x48, 0x69, 0x74, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x0d, 0x48, 0x69, 0x74, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x22, 0x0a, 0x08, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x74, 0x72, + 0x65, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x22, 0x0a, 0x08, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x6f, + 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x07, 0x64, 0x72, 0x6f, 0x70, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HitTreeNotify_proto_rawDescOnce sync.Once + file_HitTreeNotify_proto_rawDescData = file_HitTreeNotify_proto_rawDesc +) + +func file_HitTreeNotify_proto_rawDescGZIP() []byte { + file_HitTreeNotify_proto_rawDescOnce.Do(func() { + file_HitTreeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HitTreeNotify_proto_rawDescData) + }) + return file_HitTreeNotify_proto_rawDescData +} + +var file_HitTreeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HitTreeNotify_proto_goTypes = []interface{}{ + (*HitTreeNotify)(nil), // 0: HitTreeNotify + (*Vector)(nil), // 1: Vector +} +var file_HitTreeNotify_proto_depIdxs = []int32{ + 1, // 0: HitTreeNotify.tree_pos:type_name -> Vector + 1, // 1: HitTreeNotify.drop_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HitTreeNotify_proto_init() } +func file_HitTreeNotify_proto_init() { + if File_HitTreeNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HitTreeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HitTreeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HitTreeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HitTreeNotify_proto_goTypes, + DependencyIndexes: file_HitTreeNotify_proto_depIdxs, + MessageInfos: file_HitTreeNotify_proto_msgTypes, + }.Build() + File_HitTreeNotify_proto = out.File + file_HitTreeNotify_proto_rawDesc = nil + file_HitTreeNotify_proto_goTypes = nil + file_HitTreeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HitTreeNotify.proto b/gate-hk4e-api/proto/HitTreeNotify.proto new file mode 100644 index 00000000..140693b1 --- /dev/null +++ b/gate-hk4e-api/proto/HitTreeNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 3019 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HitTreeNotify { + uint32 tree_type = 11; + Vector tree_pos = 2; + Vector drop_pos = 8; +} diff --git a/gate-hk4e-api/proto/HomeAnimalData.pb.go b/gate-hk4e-api/proto/HomeAnimalData.pb.go new file mode 100644 index 00000000..9ec5bc59 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAnimalData.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAnimalData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeAnimalData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpawnRot *Vector `protobuf:"bytes,10,opt,name=spawn_rot,json=spawnRot,proto3" json:"spawn_rot,omitempty"` + FurnitureId uint32 `protobuf:"varint,5,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + SpawnPos *Vector `protobuf:"bytes,6,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` +} + +func (x *HomeAnimalData) Reset() { + *x = HomeAnimalData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAnimalData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAnimalData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAnimalData) ProtoMessage() {} + +func (x *HomeAnimalData) ProtoReflect() protoreflect.Message { + mi := &file_HomeAnimalData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAnimalData.ProtoReflect.Descriptor instead. +func (*HomeAnimalData) Descriptor() ([]byte, []int) { + return file_HomeAnimalData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAnimalData) GetSpawnRot() *Vector { + if x != nil { + return x.SpawnRot + } + return nil +} + +func (x *HomeAnimalData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomeAnimalData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +var File_HomeAnimalData_proto protoreflect.FileDescriptor + +var file_HomeAnimalData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x0e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x6e, 0x69, 0x6d, + 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, + 0x72, 0x6f, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x52, 0x6f, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, + 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, + 0x77, 0x6e, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAnimalData_proto_rawDescOnce sync.Once + file_HomeAnimalData_proto_rawDescData = file_HomeAnimalData_proto_rawDesc +) + +func file_HomeAnimalData_proto_rawDescGZIP() []byte { + file_HomeAnimalData_proto_rawDescOnce.Do(func() { + file_HomeAnimalData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAnimalData_proto_rawDescData) + }) + return file_HomeAnimalData_proto_rawDescData +} + +var file_HomeAnimalData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAnimalData_proto_goTypes = []interface{}{ + (*HomeAnimalData)(nil), // 0: HomeAnimalData + (*Vector)(nil), // 1: Vector +} +var file_HomeAnimalData_proto_depIdxs = []int32{ + 1, // 0: HomeAnimalData.spawn_rot:type_name -> Vector + 1, // 1: HomeAnimalData.spawn_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeAnimalData_proto_init() } +func file_HomeAnimalData_proto_init() { + if File_HomeAnimalData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAnimalData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAnimalData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAnimalData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAnimalData_proto_goTypes, + DependencyIndexes: file_HomeAnimalData_proto_depIdxs, + MessageInfos: file_HomeAnimalData_proto_msgTypes, + }.Build() + File_HomeAnimalData_proto = out.File + file_HomeAnimalData_proto_rawDesc = nil + file_HomeAnimalData_proto_goTypes = nil + file_HomeAnimalData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAnimalData.proto b/gate-hk4e-api/proto/HomeAnimalData.proto new file mode 100644 index 00000000..b4e60626 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAnimalData.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeAnimalData { + Vector spawn_rot = 10; + uint32 furniture_id = 5; + Vector spawn_pos = 6; +} diff --git a/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.pb.go b/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.pb.go new file mode 100644 index 00000000..d77462db --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarAllFinishRewardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4741 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarAllFinishRewardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventIdList []uint32 `protobuf:"varint,7,rep,packed,name=event_id_list,json=eventIdList,proto3" json:"event_id_list,omitempty"` +} + +func (x *HomeAvatarAllFinishRewardNotify) Reset() { + *x = HomeAvatarAllFinishRewardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarAllFinishRewardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarAllFinishRewardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarAllFinishRewardNotify) ProtoMessage() {} + +func (x *HomeAvatarAllFinishRewardNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarAllFinishRewardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarAllFinishRewardNotify.ProtoReflect.Descriptor instead. +func (*HomeAvatarAllFinishRewardNotify) Descriptor() ([]byte, []int) { + return file_HomeAvatarAllFinishRewardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarAllFinishRewardNotify) GetEventIdList() []uint32 { + if x != nil { + return x.EventIdList + } + return nil +} + +var File_HomeAvatarAllFinishRewardNotify_proto protoreflect.FileDescriptor + +var file_HomeAvatarAllFinishRewardNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6c, 0x6c, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeAvatarAllFinishRewardNotify_proto_rawDescOnce sync.Once + file_HomeAvatarAllFinishRewardNotify_proto_rawDescData = file_HomeAvatarAllFinishRewardNotify_proto_rawDesc +) + +func file_HomeAvatarAllFinishRewardNotify_proto_rawDescGZIP() []byte { + file_HomeAvatarAllFinishRewardNotify_proto_rawDescOnce.Do(func() { + file_HomeAvatarAllFinishRewardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarAllFinishRewardNotify_proto_rawDescData) + }) + return file_HomeAvatarAllFinishRewardNotify_proto_rawDescData +} + +var file_HomeAvatarAllFinishRewardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarAllFinishRewardNotify_proto_goTypes = []interface{}{ + (*HomeAvatarAllFinishRewardNotify)(nil), // 0: HomeAvatarAllFinishRewardNotify +} +var file_HomeAvatarAllFinishRewardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarAllFinishRewardNotify_proto_init() } +func file_HomeAvatarAllFinishRewardNotify_proto_init() { + if File_HomeAvatarAllFinishRewardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarAllFinishRewardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarAllFinishRewardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarAllFinishRewardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarAllFinishRewardNotify_proto_goTypes, + DependencyIndexes: file_HomeAvatarAllFinishRewardNotify_proto_depIdxs, + MessageInfos: file_HomeAvatarAllFinishRewardNotify_proto_msgTypes, + }.Build() + File_HomeAvatarAllFinishRewardNotify_proto = out.File + file_HomeAvatarAllFinishRewardNotify_proto_rawDesc = nil + file_HomeAvatarAllFinishRewardNotify_proto_goTypes = nil + file_HomeAvatarAllFinishRewardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.proto b/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.proto new file mode 100644 index 00000000..b37fe464 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarAllFinishRewardNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4741 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarAllFinishRewardNotify { + repeated uint32 event_id_list = 7; +} diff --git a/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.pb.go b/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.pb.go new file mode 100644 index 00000000..fb3dd0c2 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarCostumeChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4748 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarCostumeChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CostumeId uint32 `protobuf:"varint,4,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + AvatarId uint32 `protobuf:"varint,10,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HomeAvatarCostumeChangeNotify) Reset() { + *x = HomeAvatarCostumeChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarCostumeChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarCostumeChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarCostumeChangeNotify) ProtoMessage() {} + +func (x *HomeAvatarCostumeChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarCostumeChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarCostumeChangeNotify.ProtoReflect.Descriptor instead. +func (*HomeAvatarCostumeChangeNotify) Descriptor() ([]byte, []int) { + return file_HomeAvatarCostumeChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarCostumeChangeNotify) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *HomeAvatarCostumeChangeNotify) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HomeAvatarCostumeChangeNotify_proto protoreflect.FileDescriptor + +var file_HomeAvatarCostumeChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x6f, 0x73, 0x74, + 0x75, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, + 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarCostumeChangeNotify_proto_rawDescOnce sync.Once + file_HomeAvatarCostumeChangeNotify_proto_rawDescData = file_HomeAvatarCostumeChangeNotify_proto_rawDesc +) + +func file_HomeAvatarCostumeChangeNotify_proto_rawDescGZIP() []byte { + file_HomeAvatarCostumeChangeNotify_proto_rawDescOnce.Do(func() { + file_HomeAvatarCostumeChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarCostumeChangeNotify_proto_rawDescData) + }) + return file_HomeAvatarCostumeChangeNotify_proto_rawDescData +} + +var file_HomeAvatarCostumeChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarCostumeChangeNotify_proto_goTypes = []interface{}{ + (*HomeAvatarCostumeChangeNotify)(nil), // 0: HomeAvatarCostumeChangeNotify +} +var file_HomeAvatarCostumeChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarCostumeChangeNotify_proto_init() } +func file_HomeAvatarCostumeChangeNotify_proto_init() { + if File_HomeAvatarCostumeChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarCostumeChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarCostumeChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarCostumeChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarCostumeChangeNotify_proto_goTypes, + DependencyIndexes: file_HomeAvatarCostumeChangeNotify_proto_depIdxs, + MessageInfos: file_HomeAvatarCostumeChangeNotify_proto_msgTypes, + }.Build() + File_HomeAvatarCostumeChangeNotify_proto = out.File + file_HomeAvatarCostumeChangeNotify_proto_rawDesc = nil + file_HomeAvatarCostumeChangeNotify_proto_goTypes = nil + file_HomeAvatarCostumeChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.proto b/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.proto new file mode 100644 index 00000000..55ad77ff --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarCostumeChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4748 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarCostumeChangeNotify { + uint32 costume_id = 4; + uint32 avatar_id = 10; +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.pb.go b/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.pb.go new file mode 100644 index 00000000..731393b0 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarRewardEventGetReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4551 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeAvatarRewardEventGetReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventId uint32 `protobuf:"varint,9,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + AvatarId uint32 `protobuf:"varint,7,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HomeAvatarRewardEventGetReq) Reset() { + *x = HomeAvatarRewardEventGetReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarRewardEventGetReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarRewardEventGetReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarRewardEventGetReq) ProtoMessage() {} + +func (x *HomeAvatarRewardEventGetReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarRewardEventGetReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarRewardEventGetReq.ProtoReflect.Descriptor instead. +func (*HomeAvatarRewardEventGetReq) Descriptor() ([]byte, []int) { + return file_HomeAvatarRewardEventGetReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarRewardEventGetReq) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *HomeAvatarRewardEventGetReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HomeAvatarRewardEventGetReq_proto protoreflect.FileDescriptor + +var file_HomeAvatarRewardEventGetReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarRewardEventGetReq_proto_rawDescOnce sync.Once + file_HomeAvatarRewardEventGetReq_proto_rawDescData = file_HomeAvatarRewardEventGetReq_proto_rawDesc +) + +func file_HomeAvatarRewardEventGetReq_proto_rawDescGZIP() []byte { + file_HomeAvatarRewardEventGetReq_proto_rawDescOnce.Do(func() { + file_HomeAvatarRewardEventGetReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarRewardEventGetReq_proto_rawDescData) + }) + return file_HomeAvatarRewardEventGetReq_proto_rawDescData +} + +var file_HomeAvatarRewardEventGetReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarRewardEventGetReq_proto_goTypes = []interface{}{ + (*HomeAvatarRewardEventGetReq)(nil), // 0: HomeAvatarRewardEventGetReq +} +var file_HomeAvatarRewardEventGetReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarRewardEventGetReq_proto_init() } +func file_HomeAvatarRewardEventGetReq_proto_init() { + if File_HomeAvatarRewardEventGetReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarRewardEventGetReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarRewardEventGetReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarRewardEventGetReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarRewardEventGetReq_proto_goTypes, + DependencyIndexes: file_HomeAvatarRewardEventGetReq_proto_depIdxs, + MessageInfos: file_HomeAvatarRewardEventGetReq_proto_msgTypes, + }.Build() + File_HomeAvatarRewardEventGetReq_proto = out.File + file_HomeAvatarRewardEventGetReq_proto_rawDesc = nil + file_HomeAvatarRewardEventGetReq_proto_goTypes = nil + file_HomeAvatarRewardEventGetReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.proto b/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.proto new file mode 100644 index 00000000..707e127d --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventGetReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4551 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeAvatarRewardEventGetReq { + uint32 event_id = 9; + uint32 avatar_id = 7; +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.pb.go b/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.pb.go new file mode 100644 index 00000000..40dd9482 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarRewardEventGetRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4833 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarRewardEventGetRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,4,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + EventId uint32 `protobuf:"varint,8,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` +} + +func (x *HomeAvatarRewardEventGetRsp) Reset() { + *x = HomeAvatarRewardEventGetRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarRewardEventGetRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarRewardEventGetRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarRewardEventGetRsp) ProtoMessage() {} + +func (x *HomeAvatarRewardEventGetRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarRewardEventGetRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarRewardEventGetRsp.ProtoReflect.Descriptor instead. +func (*HomeAvatarRewardEventGetRsp) Descriptor() ([]byte, []int) { + return file_HomeAvatarRewardEventGetRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarRewardEventGetRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *HomeAvatarRewardEventGetRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeAvatarRewardEventGetRsp) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +var File_HomeAvatarRewardEventGetRsp_proto protoreflect.FileDescriptor + +var file_HomeAvatarRewardEventGetRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x74, + 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarRewardEventGetRsp_proto_rawDescOnce sync.Once + file_HomeAvatarRewardEventGetRsp_proto_rawDescData = file_HomeAvatarRewardEventGetRsp_proto_rawDesc +) + +func file_HomeAvatarRewardEventGetRsp_proto_rawDescGZIP() []byte { + file_HomeAvatarRewardEventGetRsp_proto_rawDescOnce.Do(func() { + file_HomeAvatarRewardEventGetRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarRewardEventGetRsp_proto_rawDescData) + }) + return file_HomeAvatarRewardEventGetRsp_proto_rawDescData +} + +var file_HomeAvatarRewardEventGetRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarRewardEventGetRsp_proto_goTypes = []interface{}{ + (*HomeAvatarRewardEventGetRsp)(nil), // 0: HomeAvatarRewardEventGetRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_HomeAvatarRewardEventGetRsp_proto_depIdxs = []int32{ + 1, // 0: HomeAvatarRewardEventGetRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeAvatarRewardEventGetRsp_proto_init() } +func file_HomeAvatarRewardEventGetRsp_proto_init() { + if File_HomeAvatarRewardEventGetRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAvatarRewardEventGetRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarRewardEventGetRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarRewardEventGetRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarRewardEventGetRsp_proto_goTypes, + DependencyIndexes: file_HomeAvatarRewardEventGetRsp_proto_depIdxs, + MessageInfos: file_HomeAvatarRewardEventGetRsp_proto_msgTypes, + }.Build() + File_HomeAvatarRewardEventGetRsp_proto = out.File + file_HomeAvatarRewardEventGetRsp_proto_rawDesc = nil + file_HomeAvatarRewardEventGetRsp_proto_goTypes = nil + file_HomeAvatarRewardEventGetRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.proto b/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.proto new file mode 100644 index 00000000..835863c9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventGetRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 4833 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarRewardEventGetRsp { + repeated ItemParam item_list = 4; + int32 retcode = 14; + uint32 event_id = 8; +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.pb.go b/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.pb.go new file mode 100644 index 00000000..b55803ad --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarRewardEventInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeAvatarRewardEventInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Guid uint32 `protobuf:"varint,12,opt,name=guid,proto3" json:"guid,omitempty"` + EventId uint32 `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + SuiteId uint32 `protobuf:"varint,14,opt,name=suite_id,json=suiteId,proto3" json:"suite_id,omitempty"` + RandomPosition uint32 `protobuf:"varint,9,opt,name=random_position,json=randomPosition,proto3" json:"random_position,omitempty"` +} + +func (x *HomeAvatarRewardEventInfo) Reset() { + *x = HomeAvatarRewardEventInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarRewardEventInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarRewardEventInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarRewardEventInfo) ProtoMessage() {} + +func (x *HomeAvatarRewardEventInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarRewardEventInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarRewardEventInfo.ProtoReflect.Descriptor instead. +func (*HomeAvatarRewardEventInfo) Descriptor() ([]byte, []int) { + return file_HomeAvatarRewardEventInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarRewardEventInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeAvatarRewardEventInfo) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeAvatarRewardEventInfo) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *HomeAvatarRewardEventInfo) GetSuiteId() uint32 { + if x != nil { + return x.SuiteId + } + return 0 +} + +func (x *HomeAvatarRewardEventInfo) GetRandomPosition() uint32 { + if x != nil { + return x.RandomPosition + } + return 0 +} + +var File_HomeAvatarRewardEventInfo_proto protoreflect.FileDescriptor + +var file_HomeAvatarRewardEventInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xab, 0x01, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x75, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x75, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, + 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarRewardEventInfo_proto_rawDescOnce sync.Once + file_HomeAvatarRewardEventInfo_proto_rawDescData = file_HomeAvatarRewardEventInfo_proto_rawDesc +) + +func file_HomeAvatarRewardEventInfo_proto_rawDescGZIP() []byte { + file_HomeAvatarRewardEventInfo_proto_rawDescOnce.Do(func() { + file_HomeAvatarRewardEventInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarRewardEventInfo_proto_rawDescData) + }) + return file_HomeAvatarRewardEventInfo_proto_rawDescData +} + +var file_HomeAvatarRewardEventInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarRewardEventInfo_proto_goTypes = []interface{}{ + (*HomeAvatarRewardEventInfo)(nil), // 0: HomeAvatarRewardEventInfo +} +var file_HomeAvatarRewardEventInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarRewardEventInfo_proto_init() } +func file_HomeAvatarRewardEventInfo_proto_init() { + if File_HomeAvatarRewardEventInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarRewardEventInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarRewardEventInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarRewardEventInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarRewardEventInfo_proto_goTypes, + DependencyIndexes: file_HomeAvatarRewardEventInfo_proto_depIdxs, + MessageInfos: file_HomeAvatarRewardEventInfo_proto_msgTypes, + }.Build() + File_HomeAvatarRewardEventInfo_proto = out.File + file_HomeAvatarRewardEventInfo_proto_rawDesc = nil + file_HomeAvatarRewardEventInfo_proto_goTypes = nil + file_HomeAvatarRewardEventInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.proto b/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.proto new file mode 100644 index 00000000..69c6af1a --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeAvatarRewardEventInfo { + uint32 avatar_id = 1; + uint32 guid = 12; + uint32 event_id = 2; + uint32 suite_id = 14; + uint32 random_position = 9; +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.pb.go b/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.pb.go new file mode 100644 index 00000000..7ec2b5e7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarRewardEventNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4852 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarRewardEventNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEventTrigger bool `protobuf:"varint,4,opt,name=is_event_trigger,json=isEventTrigger,proto3" json:"is_event_trigger,omitempty"` + RewardEvent *HomeAvatarRewardEventInfo `protobuf:"bytes,2,opt,name=reward_event,json=rewardEvent,proto3" json:"reward_event,omitempty"` + PendingList []*HomeAvatarRewardEventInfo `protobuf:"bytes,8,rep,name=pending_list,json=pendingList,proto3" json:"pending_list,omitempty"` +} + +func (x *HomeAvatarRewardEventNotify) Reset() { + *x = HomeAvatarRewardEventNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarRewardEventNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarRewardEventNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarRewardEventNotify) ProtoMessage() {} + +func (x *HomeAvatarRewardEventNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarRewardEventNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarRewardEventNotify.ProtoReflect.Descriptor instead. +func (*HomeAvatarRewardEventNotify) Descriptor() ([]byte, []int) { + return file_HomeAvatarRewardEventNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarRewardEventNotify) GetIsEventTrigger() bool { + if x != nil { + return x.IsEventTrigger + } + return false +} + +func (x *HomeAvatarRewardEventNotify) GetRewardEvent() *HomeAvatarRewardEventInfo { + if x != nil { + return x.RewardEvent + } + return nil +} + +func (x *HomeAvatarRewardEventNotify) GetPendingList() []*HomeAvatarRewardEventInfo { + if x != nil { + return x.PendingList + } + return nil +} + +var File_HomeAvatarRewardEventNotify_proto protoreflect.FileDescriptor + +var file_HomeAvatarRewardEventNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x69, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x3d, + 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, + 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0b, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarRewardEventNotify_proto_rawDescOnce sync.Once + file_HomeAvatarRewardEventNotify_proto_rawDescData = file_HomeAvatarRewardEventNotify_proto_rawDesc +) + +func file_HomeAvatarRewardEventNotify_proto_rawDescGZIP() []byte { + file_HomeAvatarRewardEventNotify_proto_rawDescOnce.Do(func() { + file_HomeAvatarRewardEventNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarRewardEventNotify_proto_rawDescData) + }) + return file_HomeAvatarRewardEventNotify_proto_rawDescData +} + +var file_HomeAvatarRewardEventNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarRewardEventNotify_proto_goTypes = []interface{}{ + (*HomeAvatarRewardEventNotify)(nil), // 0: HomeAvatarRewardEventNotify + (*HomeAvatarRewardEventInfo)(nil), // 1: HomeAvatarRewardEventInfo +} +var file_HomeAvatarRewardEventNotify_proto_depIdxs = []int32{ + 1, // 0: HomeAvatarRewardEventNotify.reward_event:type_name -> HomeAvatarRewardEventInfo + 1, // 1: HomeAvatarRewardEventNotify.pending_list:type_name -> HomeAvatarRewardEventInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeAvatarRewardEventNotify_proto_init() } +func file_HomeAvatarRewardEventNotify_proto_init() { + if File_HomeAvatarRewardEventNotify_proto != nil { + return + } + file_HomeAvatarRewardEventInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAvatarRewardEventNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarRewardEventNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarRewardEventNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarRewardEventNotify_proto_goTypes, + DependencyIndexes: file_HomeAvatarRewardEventNotify_proto_depIdxs, + MessageInfos: file_HomeAvatarRewardEventNotify_proto_msgTypes, + }.Build() + File_HomeAvatarRewardEventNotify_proto = out.File + file_HomeAvatarRewardEventNotify_proto_rawDesc = nil + file_HomeAvatarRewardEventNotify_proto_goTypes = nil + file_HomeAvatarRewardEventNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.proto b/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.proto new file mode 100644 index 00000000..1fdcb1d3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarRewardEventNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeAvatarRewardEventInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4852 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarRewardEventNotify { + bool is_event_trigger = 4; + HomeAvatarRewardEventInfo reward_event = 2; + repeated HomeAvatarRewardEventInfo pending_list = 8; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.pb.go new file mode 100644 index 00000000..bb683fd5 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonAllEventNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4808 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarSummonAllEventNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SummonEventList []*HomeAvatarSummonEventInfo `protobuf:"bytes,1,rep,name=summon_event_list,json=summonEventList,proto3" json:"summon_event_list,omitempty"` +} + +func (x *HomeAvatarSummonAllEventNotify) Reset() { + *x = HomeAvatarSummonAllEventNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonAllEventNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonAllEventNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonAllEventNotify) ProtoMessage() {} + +func (x *HomeAvatarSummonAllEventNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonAllEventNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonAllEventNotify.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonAllEventNotify) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonAllEventNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonAllEventNotify) GetSummonEventList() []*HomeAvatarSummonEventInfo { + if x != nil { + return x.SummonEventList + } + return nil +} + +var File_HomeAvatarSummonAllEventNotify_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonAllEventNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x46, 0x0a, 0x11, 0x73, 0x75, 0x6d, + 0x6d, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0f, 0x73, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonAllEventNotify_proto_rawDescOnce sync.Once + file_HomeAvatarSummonAllEventNotify_proto_rawDescData = file_HomeAvatarSummonAllEventNotify_proto_rawDesc +) + +func file_HomeAvatarSummonAllEventNotify_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonAllEventNotify_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonAllEventNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonAllEventNotify_proto_rawDescData) + }) + return file_HomeAvatarSummonAllEventNotify_proto_rawDescData +} + +var file_HomeAvatarSummonAllEventNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonAllEventNotify_proto_goTypes = []interface{}{ + (*HomeAvatarSummonAllEventNotify)(nil), // 0: HomeAvatarSummonAllEventNotify + (*HomeAvatarSummonEventInfo)(nil), // 1: HomeAvatarSummonEventInfo +} +var file_HomeAvatarSummonAllEventNotify_proto_depIdxs = []int32{ + 1, // 0: HomeAvatarSummonAllEventNotify.summon_event_list:type_name -> HomeAvatarSummonEventInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonAllEventNotify_proto_init() } +func file_HomeAvatarSummonAllEventNotify_proto_init() { + if File_HomeAvatarSummonAllEventNotify_proto != nil { + return + } + file_HomeAvatarSummonEventInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonAllEventNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonAllEventNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonAllEventNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonAllEventNotify_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonAllEventNotify_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonAllEventNotify_proto_msgTypes, + }.Build() + File_HomeAvatarSummonAllEventNotify_proto = out.File + file_HomeAvatarSummonAllEventNotify_proto_rawDesc = nil + file_HomeAvatarSummonAllEventNotify_proto_goTypes = nil + file_HomeAvatarSummonAllEventNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.proto b/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.proto new file mode 100644 index 00000000..13af345e --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonAllEventNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeAvatarSummonEventInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4808 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarSummonAllEventNotify { + repeated HomeAvatarSummonEventInfo summon_event_list = 1; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.pb.go new file mode 100644 index 00000000..dc300953 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonEventInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeAvatarSummonEventInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,3,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Guid uint32 `protobuf:"varint,8,opt,name=guid,proto3" json:"guid,omitempty"` + EventId uint32 `protobuf:"varint,9,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + SuitId uint32 `protobuf:"varint,12,opt,name=suit_id,json=suitId,proto3" json:"suit_id,omitempty"` + EventOverTime uint32 `protobuf:"varint,2,opt,name=event_over_time,json=eventOverTime,proto3" json:"event_over_time,omitempty"` + RandomPosition uint32 `protobuf:"varint,10,opt,name=random_position,json=randomPosition,proto3" json:"random_position,omitempty"` +} + +func (x *HomeAvatarSummonEventInfo) Reset() { + *x = HomeAvatarSummonEventInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonEventInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonEventInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonEventInfo) ProtoMessage() {} + +func (x *HomeAvatarSummonEventInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonEventInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonEventInfo.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonEventInfo) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonEventInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonEventInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeAvatarSummonEventInfo) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeAvatarSummonEventInfo) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *HomeAvatarSummonEventInfo) GetSuitId() uint32 { + if x != nil { + return x.SuitId + } + return 0 +} + +func (x *HomeAvatarSummonEventInfo) GetEventOverTime() uint32 { + if x != nil { + return x.EventOverTime + } + return 0 +} + +func (x *HomeAvatarSummonEventInfo) GetRandomPosition() uint32 { + if x != nil { + return x.RandomPosition + } + return 0 +} + +var File_HomeAvatarSummonEventInfo_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonEventInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, + 0x75, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x75, + 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x76, + 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, + 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonEventInfo_proto_rawDescOnce sync.Once + file_HomeAvatarSummonEventInfo_proto_rawDescData = file_HomeAvatarSummonEventInfo_proto_rawDesc +) + +func file_HomeAvatarSummonEventInfo_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonEventInfo_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonEventInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonEventInfo_proto_rawDescData) + }) + return file_HomeAvatarSummonEventInfo_proto_rawDescData +} + +var file_HomeAvatarSummonEventInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonEventInfo_proto_goTypes = []interface{}{ + (*HomeAvatarSummonEventInfo)(nil), // 0: HomeAvatarSummonEventInfo +} +var file_HomeAvatarSummonEventInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonEventInfo_proto_init() } +func file_HomeAvatarSummonEventInfo_proto_init() { + if File_HomeAvatarSummonEventInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonEventInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonEventInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonEventInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonEventInfo_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonEventInfo_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonEventInfo_proto_msgTypes, + }.Build() + File_HomeAvatarSummonEventInfo_proto = out.File + file_HomeAvatarSummonEventInfo_proto_rawDesc = nil + file_HomeAvatarSummonEventInfo_proto_goTypes = nil + file_HomeAvatarSummonEventInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.proto b/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.proto new file mode 100644 index 00000000..9e685ed8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeAvatarSummonEventInfo { + uint32 avatar_id = 3; + uint32 guid = 8; + uint32 event_id = 9; + uint32 suit_id = 12; + uint32 event_over_time = 2; + uint32 random_position = 10; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventReq.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonEventReq.pb.go new file mode 100644 index 00000000..643f8ab5 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonEventReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4806 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeAvatarSummonEventReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,7,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + SuitId uint32 `protobuf:"varint,9,opt,name=suit_id,json=suitId,proto3" json:"suit_id,omitempty"` + Guid uint32 `protobuf:"varint,12,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *HomeAvatarSummonEventReq) Reset() { + *x = HomeAvatarSummonEventReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonEventReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonEventReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonEventReq) ProtoMessage() {} + +func (x *HomeAvatarSummonEventReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonEventReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonEventReq.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonEventReq) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonEventReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonEventReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeAvatarSummonEventReq) GetSuitId() uint32 { + if x != nil { + return x.SuitId + } + return 0 +} + +func (x *HomeAvatarSummonEventReq) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_HomeAvatarSummonEventReq_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonEventReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x64, 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, + 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x75, 0x69, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x75, 0x69, 0x74, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonEventReq_proto_rawDescOnce sync.Once + file_HomeAvatarSummonEventReq_proto_rawDescData = file_HomeAvatarSummonEventReq_proto_rawDesc +) + +func file_HomeAvatarSummonEventReq_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonEventReq_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonEventReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonEventReq_proto_rawDescData) + }) + return file_HomeAvatarSummonEventReq_proto_rawDescData +} + +var file_HomeAvatarSummonEventReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonEventReq_proto_goTypes = []interface{}{ + (*HomeAvatarSummonEventReq)(nil), // 0: HomeAvatarSummonEventReq +} +var file_HomeAvatarSummonEventReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonEventReq_proto_init() } +func file_HomeAvatarSummonEventReq_proto_init() { + if File_HomeAvatarSummonEventReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonEventReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonEventReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonEventReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonEventReq_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonEventReq_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonEventReq_proto_msgTypes, + }.Build() + File_HomeAvatarSummonEventReq_proto = out.File + file_HomeAvatarSummonEventReq_proto_rawDesc = nil + file_HomeAvatarSummonEventReq_proto_goTypes = nil + file_HomeAvatarSummonEventReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventReq.proto b/gate-hk4e-api/proto/HomeAvatarSummonEventReq.proto new file mode 100644 index 00000000..046cf849 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4806 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeAvatarSummonEventReq { + uint32 avatar_id = 7; + uint32 suit_id = 9; + uint32 guid = 12; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.pb.go new file mode 100644 index 00000000..257089d2 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonEventRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4817 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarSummonEventRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventId uint32 `protobuf:"varint,11,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeAvatarSummonEventRsp) Reset() { + *x = HomeAvatarSummonEventRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonEventRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonEventRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonEventRsp) ProtoMessage() {} + +func (x *HomeAvatarSummonEventRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonEventRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonEventRsp.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonEventRsp) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonEventRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonEventRsp) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *HomeAvatarSummonEventRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeAvatarSummonEventRsp_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonEventRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4f, 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, + 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonEventRsp_proto_rawDescOnce sync.Once + file_HomeAvatarSummonEventRsp_proto_rawDescData = file_HomeAvatarSummonEventRsp_proto_rawDesc +) + +func file_HomeAvatarSummonEventRsp_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonEventRsp_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonEventRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonEventRsp_proto_rawDescData) + }) + return file_HomeAvatarSummonEventRsp_proto_rawDescData +} + +var file_HomeAvatarSummonEventRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonEventRsp_proto_goTypes = []interface{}{ + (*HomeAvatarSummonEventRsp)(nil), // 0: HomeAvatarSummonEventRsp +} +var file_HomeAvatarSummonEventRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonEventRsp_proto_init() } +func file_HomeAvatarSummonEventRsp_proto_init() { + if File_HomeAvatarSummonEventRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonEventRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonEventRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonEventRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonEventRsp_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonEventRsp_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonEventRsp_proto_msgTypes, + }.Build() + File_HomeAvatarSummonEventRsp_proto = out.File + file_HomeAvatarSummonEventRsp_proto_rawDesc = nil + file_HomeAvatarSummonEventRsp_proto_goTypes = nil + file_HomeAvatarSummonEventRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.proto b/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.proto new file mode 100644 index 00000000..6b70f89d --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonEventRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4817 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarSummonEventRsp { + uint32 event_id = 11; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.pb.go new file mode 100644 index 00000000..2a2f256c --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonFinishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeAvatarSummonFinishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventId uint32 `protobuf:"varint,12,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` +} + +func (x *HomeAvatarSummonFinishReq) Reset() { + *x = HomeAvatarSummonFinishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonFinishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonFinishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonFinishReq) ProtoMessage() {} + +func (x *HomeAvatarSummonFinishReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonFinishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonFinishReq.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonFinishReq) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonFinishReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonFinishReq) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +var File_HomeAvatarSummonFinishReq_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonFinishReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x36, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, + 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x19, + 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonFinishReq_proto_rawDescOnce sync.Once + file_HomeAvatarSummonFinishReq_proto_rawDescData = file_HomeAvatarSummonFinishReq_proto_rawDesc +) + +func file_HomeAvatarSummonFinishReq_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonFinishReq_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonFinishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonFinishReq_proto_rawDescData) + }) + return file_HomeAvatarSummonFinishReq_proto_rawDescData +} + +var file_HomeAvatarSummonFinishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonFinishReq_proto_goTypes = []interface{}{ + (*HomeAvatarSummonFinishReq)(nil), // 0: HomeAvatarSummonFinishReq +} +var file_HomeAvatarSummonFinishReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonFinishReq_proto_init() } +func file_HomeAvatarSummonFinishReq_proto_init() { + if File_HomeAvatarSummonFinishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonFinishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonFinishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonFinishReq_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonFinishReq_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonFinishReq_proto_msgTypes, + }.Build() + File_HomeAvatarSummonFinishReq_proto = out.File + file_HomeAvatarSummonFinishReq_proto_rawDesc = nil + file_HomeAvatarSummonFinishReq_proto_goTypes = nil + file_HomeAvatarSummonFinishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.proto b/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.proto new file mode 100644 index 00000000..f3df1a8e --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonFinishReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeAvatarSummonFinishReq { + uint32 event_id = 12; +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.pb.go b/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.pb.go new file mode 100644 index 00000000..cc1016bd --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarSummonFinishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4696 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarSummonFinishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventId uint32 `protobuf:"varint,8,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeAvatarSummonFinishRsp) Reset() { + *x = HomeAvatarSummonFinishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarSummonFinishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarSummonFinishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarSummonFinishRsp) ProtoMessage() {} + +func (x *HomeAvatarSummonFinishRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarSummonFinishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarSummonFinishRsp.ProtoReflect.Descriptor instead. +func (*HomeAvatarSummonFinishRsp) Descriptor() ([]byte, []int) { + return file_HomeAvatarSummonFinishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarSummonFinishRsp) GetEventId() uint32 { + if x != nil { + return x.EventId + } + return 0 +} + +func (x *HomeAvatarSummonFinishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeAvatarSummonFinishRsp_proto protoreflect.FileDescriptor + +var file_HomeAvatarSummonFinishRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x50, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, + 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x12, 0x19, + 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarSummonFinishRsp_proto_rawDescOnce sync.Once + file_HomeAvatarSummonFinishRsp_proto_rawDescData = file_HomeAvatarSummonFinishRsp_proto_rawDesc +) + +func file_HomeAvatarSummonFinishRsp_proto_rawDescGZIP() []byte { + file_HomeAvatarSummonFinishRsp_proto_rawDescOnce.Do(func() { + file_HomeAvatarSummonFinishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarSummonFinishRsp_proto_rawDescData) + }) + return file_HomeAvatarSummonFinishRsp_proto_rawDescData +} + +var file_HomeAvatarSummonFinishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarSummonFinishRsp_proto_goTypes = []interface{}{ + (*HomeAvatarSummonFinishRsp)(nil), // 0: HomeAvatarSummonFinishRsp +} +var file_HomeAvatarSummonFinishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarSummonFinishRsp_proto_init() } +func file_HomeAvatarSummonFinishRsp_proto_init() { + if File_HomeAvatarSummonFinishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarSummonFinishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarSummonFinishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarSummonFinishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarSummonFinishRsp_proto_goTypes, + DependencyIndexes: file_HomeAvatarSummonFinishRsp_proto_depIdxs, + MessageInfos: file_HomeAvatarSummonFinishRsp_proto_msgTypes, + }.Build() + File_HomeAvatarSummonFinishRsp_proto = out.File + file_HomeAvatarSummonFinishRsp_proto_rawDesc = nil + file_HomeAvatarSummonFinishRsp_proto_goTypes = nil + file_HomeAvatarSummonFinishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.proto b/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.proto new file mode 100644 index 00000000..2fdd9f8e --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarSummonFinishRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4696 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarSummonFinishRsp { + uint32 event_id = 8; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.pb.go b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.pb.go new file mode 100644 index 00000000..ac514671 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarTalkFinishInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeAvatarTalkFinishInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,9,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + FinishTalkIdList []uint32 `protobuf:"varint,3,rep,packed,name=finish_talk_id_list,json=finishTalkIdList,proto3" json:"finish_talk_id_list,omitempty"` +} + +func (x *HomeAvatarTalkFinishInfo) Reset() { + *x = HomeAvatarTalkFinishInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarTalkFinishInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarTalkFinishInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarTalkFinishInfo) ProtoMessage() {} + +func (x *HomeAvatarTalkFinishInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarTalkFinishInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarTalkFinishInfo.ProtoReflect.Descriptor instead. +func (*HomeAvatarTalkFinishInfo) Descriptor() ([]byte, []int) { + return file_HomeAvatarTalkFinishInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarTalkFinishInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeAvatarTalkFinishInfo) GetFinishTalkIdList() []uint32 { + if x != nil { + return x.FinishTalkIdList + } + return nil +} + +var File_HomeAvatarTalkFinishInfo_proto protoreflect.FileDescriptor + +var file_HomeAvatarTalkFinishInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, + 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x66, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x61, + 0x6c, 0x6b, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarTalkFinishInfo_proto_rawDescOnce sync.Once + file_HomeAvatarTalkFinishInfo_proto_rawDescData = file_HomeAvatarTalkFinishInfo_proto_rawDesc +) + +func file_HomeAvatarTalkFinishInfo_proto_rawDescGZIP() []byte { + file_HomeAvatarTalkFinishInfo_proto_rawDescOnce.Do(func() { + file_HomeAvatarTalkFinishInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarTalkFinishInfo_proto_rawDescData) + }) + return file_HomeAvatarTalkFinishInfo_proto_rawDescData +} + +var file_HomeAvatarTalkFinishInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarTalkFinishInfo_proto_goTypes = []interface{}{ + (*HomeAvatarTalkFinishInfo)(nil), // 0: HomeAvatarTalkFinishInfo +} +var file_HomeAvatarTalkFinishInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarTalkFinishInfo_proto_init() } +func file_HomeAvatarTalkFinishInfo_proto_init() { + if File_HomeAvatarTalkFinishInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarTalkFinishInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarTalkFinishInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarTalkFinishInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarTalkFinishInfo_proto_goTypes, + DependencyIndexes: file_HomeAvatarTalkFinishInfo_proto_depIdxs, + MessageInfos: file_HomeAvatarTalkFinishInfo_proto_msgTypes, + }.Build() + File_HomeAvatarTalkFinishInfo_proto = out.File + file_HomeAvatarTalkFinishInfo_proto_rawDesc = nil + file_HomeAvatarTalkFinishInfo_proto_goTypes = nil + file_HomeAvatarTalkFinishInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.proto b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.proto new file mode 100644 index 00000000..d661b4c1 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeAvatarTalkFinishInfo { + uint32 avatar_id = 9; + repeated uint32 finish_talk_id_list = 3; +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.pb.go b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.pb.go new file mode 100644 index 00000000..c902f9c1 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarTalkFinishInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4896 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarTalkFinishInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarTalkInfoList []*HomeAvatarTalkFinishInfo `protobuf:"bytes,9,rep,name=avatar_talk_info_list,json=avatarTalkInfoList,proto3" json:"avatar_talk_info_list,omitempty"` +} + +func (x *HomeAvatarTalkFinishInfoNotify) Reset() { + *x = HomeAvatarTalkFinishInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarTalkFinishInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarTalkFinishInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarTalkFinishInfoNotify) ProtoMessage() {} + +func (x *HomeAvatarTalkFinishInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarTalkFinishInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarTalkFinishInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeAvatarTalkFinishInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeAvatarTalkFinishInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarTalkFinishInfoNotify) GetAvatarTalkInfoList() []*HomeAvatarTalkFinishInfo { + if x != nil { + return x.AvatarTalkInfoList + } + return nil +} + +var File_HomeAvatarTalkFinishInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeAvatarTalkFinishInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4c, 0x0a, 0x15, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarTalkFinishInfoNotify_proto_rawDescOnce sync.Once + file_HomeAvatarTalkFinishInfoNotify_proto_rawDescData = file_HomeAvatarTalkFinishInfoNotify_proto_rawDesc +) + +func file_HomeAvatarTalkFinishInfoNotify_proto_rawDescGZIP() []byte { + file_HomeAvatarTalkFinishInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeAvatarTalkFinishInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarTalkFinishInfoNotify_proto_rawDescData) + }) + return file_HomeAvatarTalkFinishInfoNotify_proto_rawDescData +} + +var file_HomeAvatarTalkFinishInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarTalkFinishInfoNotify_proto_goTypes = []interface{}{ + (*HomeAvatarTalkFinishInfoNotify)(nil), // 0: HomeAvatarTalkFinishInfoNotify + (*HomeAvatarTalkFinishInfo)(nil), // 1: HomeAvatarTalkFinishInfo +} +var file_HomeAvatarTalkFinishInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeAvatarTalkFinishInfoNotify.avatar_talk_info_list:type_name -> HomeAvatarTalkFinishInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeAvatarTalkFinishInfoNotify_proto_init() } +func file_HomeAvatarTalkFinishInfoNotify_proto_init() { + if File_HomeAvatarTalkFinishInfoNotify_proto != nil { + return + } + file_HomeAvatarTalkFinishInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAvatarTalkFinishInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarTalkFinishInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarTalkFinishInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarTalkFinishInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeAvatarTalkFinishInfoNotify_proto_depIdxs, + MessageInfos: file_HomeAvatarTalkFinishInfoNotify_proto_msgTypes, + }.Build() + File_HomeAvatarTalkFinishInfoNotify_proto = out.File + file_HomeAvatarTalkFinishInfoNotify_proto_rawDesc = nil + file_HomeAvatarTalkFinishInfoNotify_proto_goTypes = nil + file_HomeAvatarTalkFinishInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.proto b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.proto new file mode 100644 index 00000000..2f04c304 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkFinishInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeAvatarTalkFinishInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4896 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarTalkFinishInfoNotify { + repeated HomeAvatarTalkFinishInfo avatar_talk_info_list = 9; +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkReq.pb.go b/gate-hk4e-api/proto/HomeAvatarTalkReq.pb.go new file mode 100644 index 00000000..2243b4e4 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarTalkReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4688 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeAvatarTalkReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TalkId uint32 `protobuf:"varint,12,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` + AvatarId uint32 `protobuf:"varint,15,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *HomeAvatarTalkReq) Reset() { + *x = HomeAvatarTalkReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarTalkReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarTalkReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarTalkReq) ProtoMessage() {} + +func (x *HomeAvatarTalkReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarTalkReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarTalkReq.ProtoReflect.Descriptor instead. +func (*HomeAvatarTalkReq) Descriptor() ([]byte, []int) { + return file_HomeAvatarTalkReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarTalkReq) GetTalkId() uint32 { + if x != nil { + return x.TalkId + } + return 0 +} + +func (x *HomeAvatarTalkReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_HomeAvatarTalkReq_proto protoreflect.FileDescriptor + +var file_HomeAvatarTalkReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x17, + 0x0a, 0x07, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x74, 0x61, 0x6c, 0x6b, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvatarTalkReq_proto_rawDescOnce sync.Once + file_HomeAvatarTalkReq_proto_rawDescData = file_HomeAvatarTalkReq_proto_rawDesc +) + +func file_HomeAvatarTalkReq_proto_rawDescGZIP() []byte { + file_HomeAvatarTalkReq_proto_rawDescOnce.Do(func() { + file_HomeAvatarTalkReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarTalkReq_proto_rawDescData) + }) + return file_HomeAvatarTalkReq_proto_rawDescData +} + +var file_HomeAvatarTalkReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarTalkReq_proto_goTypes = []interface{}{ + (*HomeAvatarTalkReq)(nil), // 0: HomeAvatarTalkReq +} +var file_HomeAvatarTalkReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvatarTalkReq_proto_init() } +func file_HomeAvatarTalkReq_proto_init() { + if File_HomeAvatarTalkReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvatarTalkReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarTalkReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarTalkReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarTalkReq_proto_goTypes, + DependencyIndexes: file_HomeAvatarTalkReq_proto_depIdxs, + MessageInfos: file_HomeAvatarTalkReq_proto_msgTypes, + }.Build() + File_HomeAvatarTalkReq_proto = out.File + file_HomeAvatarTalkReq_proto_rawDesc = nil + file_HomeAvatarTalkReq_proto_goTypes = nil + file_HomeAvatarTalkReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkReq.proto b/gate-hk4e-api/proto/HomeAvatarTalkReq.proto new file mode 100644 index 00000000..ebab5c34 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4688 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeAvatarTalkReq { + uint32 talk_id = 12; + uint32 avatar_id = 15; +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkRsp.pb.go b/gate-hk4e-api/proto/HomeAvatarTalkRsp.pb.go new file mode 100644 index 00000000..5b49d56c --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvatarTalkRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4464 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvatarTalkRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarTalkInfo *HomeAvatarTalkFinishInfo `protobuf:"bytes,3,opt,name=avatar_talk_info,json=avatarTalkInfo,proto3" json:"avatar_talk_info,omitempty"` +} + +func (x *HomeAvatarTalkRsp) Reset() { + *x = HomeAvatarTalkRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvatarTalkRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvatarTalkRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvatarTalkRsp) ProtoMessage() {} + +func (x *HomeAvatarTalkRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvatarTalkRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvatarTalkRsp.ProtoReflect.Descriptor instead. +func (*HomeAvatarTalkRsp) Descriptor() ([]byte, []int) { + return file_HomeAvatarTalkRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvatarTalkRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeAvatarTalkRsp) GetAvatarTalkInfo() *HomeAvatarTalkFinishInfo { + if x != nil { + return x.AvatarTalkInfo + } + return nil +} + +var File_HomeAvatarTalkRsp_proto protoreflect.FileDescriptor + +var file_HomeAvatarTalkRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x43, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, + 0x61, 0x6c, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeAvatarTalkRsp_proto_rawDescOnce sync.Once + file_HomeAvatarTalkRsp_proto_rawDescData = file_HomeAvatarTalkRsp_proto_rawDesc +) + +func file_HomeAvatarTalkRsp_proto_rawDescGZIP() []byte { + file_HomeAvatarTalkRsp_proto_rawDescOnce.Do(func() { + file_HomeAvatarTalkRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvatarTalkRsp_proto_rawDescData) + }) + return file_HomeAvatarTalkRsp_proto_rawDescData +} + +var file_HomeAvatarTalkRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvatarTalkRsp_proto_goTypes = []interface{}{ + (*HomeAvatarTalkRsp)(nil), // 0: HomeAvatarTalkRsp + (*HomeAvatarTalkFinishInfo)(nil), // 1: HomeAvatarTalkFinishInfo +} +var file_HomeAvatarTalkRsp_proto_depIdxs = []int32{ + 1, // 0: HomeAvatarTalkRsp.avatar_talk_info:type_name -> HomeAvatarTalkFinishInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeAvatarTalkRsp_proto_init() } +func file_HomeAvatarTalkRsp_proto_init() { + if File_HomeAvatarTalkRsp_proto != nil { + return + } + file_HomeAvatarTalkFinishInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeAvatarTalkRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvatarTalkRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvatarTalkRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvatarTalkRsp_proto_goTypes, + DependencyIndexes: file_HomeAvatarTalkRsp_proto_depIdxs, + MessageInfos: file_HomeAvatarTalkRsp_proto_msgTypes, + }.Build() + File_HomeAvatarTalkRsp_proto = out.File + file_HomeAvatarTalkRsp_proto_rawDesc = nil + file_HomeAvatarTalkRsp_proto_goTypes = nil + file_HomeAvatarTalkRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvatarTalkRsp.proto b/gate-hk4e-api/proto/HomeAvatarTalkRsp.proto new file mode 100644 index 00000000..379d4773 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvatarTalkRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeAvatarTalkFinishInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4464 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvatarTalkRsp { + int32 retcode = 8; + HomeAvatarTalkFinishInfo avatar_talk_info = 3; +} diff --git a/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.pb.go b/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.pb.go new file mode 100644 index 00000000..825ae857 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeAvtarAllFinishRewardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4453 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeAvtarAllFinishRewardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventIdList []uint32 `protobuf:"varint,13,rep,packed,name=event_id_list,json=eventIdList,proto3" json:"event_id_list,omitempty"` +} + +func (x *HomeAvtarAllFinishRewardNotify) Reset() { + *x = HomeAvtarAllFinishRewardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeAvtarAllFinishRewardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeAvtarAllFinishRewardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeAvtarAllFinishRewardNotify) ProtoMessage() {} + +func (x *HomeAvtarAllFinishRewardNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeAvtarAllFinishRewardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeAvtarAllFinishRewardNotify.ProtoReflect.Descriptor instead. +func (*HomeAvtarAllFinishRewardNotify) Descriptor() ([]byte, []int) { + return file_HomeAvtarAllFinishRewardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeAvtarAllFinishRewardNotify) GetEventIdList() []uint32 { + if x != nil { + return x.EventIdList + } + return nil +} + +var File_HomeAvtarAllFinishRewardNotify_proto protoreflect.FileDescriptor + +var file_HomeAvtarAllFinishRewardNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, 0x74, 0x61, 0x72, 0x41, 0x6c, 0x6c, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x76, + 0x74, 0x61, 0x72, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeAvtarAllFinishRewardNotify_proto_rawDescOnce sync.Once + file_HomeAvtarAllFinishRewardNotify_proto_rawDescData = file_HomeAvtarAllFinishRewardNotify_proto_rawDesc +) + +func file_HomeAvtarAllFinishRewardNotify_proto_rawDescGZIP() []byte { + file_HomeAvtarAllFinishRewardNotify_proto_rawDescOnce.Do(func() { + file_HomeAvtarAllFinishRewardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeAvtarAllFinishRewardNotify_proto_rawDescData) + }) + return file_HomeAvtarAllFinishRewardNotify_proto_rawDescData +} + +var file_HomeAvtarAllFinishRewardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeAvtarAllFinishRewardNotify_proto_goTypes = []interface{}{ + (*HomeAvtarAllFinishRewardNotify)(nil), // 0: HomeAvtarAllFinishRewardNotify +} +var file_HomeAvtarAllFinishRewardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeAvtarAllFinishRewardNotify_proto_init() } +func file_HomeAvtarAllFinishRewardNotify_proto_init() { + if File_HomeAvtarAllFinishRewardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeAvtarAllFinishRewardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeAvtarAllFinishRewardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeAvtarAllFinishRewardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeAvtarAllFinishRewardNotify_proto_goTypes, + DependencyIndexes: file_HomeAvtarAllFinishRewardNotify_proto_depIdxs, + MessageInfos: file_HomeAvtarAllFinishRewardNotify_proto_msgTypes, + }.Build() + File_HomeAvtarAllFinishRewardNotify_proto = out.File + file_HomeAvtarAllFinishRewardNotify_proto_rawDesc = nil + file_HomeAvtarAllFinishRewardNotify_proto_goTypes = nil + file_HomeAvtarAllFinishRewardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.proto b/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.proto new file mode 100644 index 00000000..75634e51 --- /dev/null +++ b/gate-hk4e-api/proto/HomeAvtarAllFinishRewardNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4453 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeAvtarAllFinishRewardNotify { + repeated uint32 event_id_list = 13; +} diff --git a/gate-hk4e-api/proto/HomeBasicInfo.pb.go b/gate-hk4e-api/proto/HomeBasicInfo.pb.go new file mode 100644 index 00000000..72a68004 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBasicInfo.pb.go @@ -0,0 +1,236 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBasicInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBasicInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,10,opt,name=level,proto3" json:"level,omitempty"` + CurRoomSceneId uint32 `protobuf:"varint,13,opt,name=cur_room_scene_id,json=curRoomSceneId,proto3" json:"cur_room_scene_id,omitempty"` + CurModuleId uint32 `protobuf:"varint,9,opt,name=cur_module_id,json=curModuleId,proto3" json:"cur_module_id,omitempty"` + IsInEditMode bool `protobuf:"varint,5,opt,name=is_in_edit_mode,json=isInEditMode,proto3" json:"is_in_edit_mode,omitempty"` + HomeOwnerUid uint32 `protobuf:"varint,3,opt,name=home_owner_uid,json=homeOwnerUid,proto3" json:"home_owner_uid,omitempty"` + Exp uint64 `protobuf:"varint,14,opt,name=exp,proto3" json:"exp,omitempty"` + LimitedShopInfo *HomeLimitedShopInfo `protobuf:"bytes,15,opt,name=limited_shop_info,json=limitedShopInfo,proto3" json:"limited_shop_info,omitempty"` + OwnerNickName string `protobuf:"bytes,4,opt,name=owner_nick_name,json=ownerNickName,proto3" json:"owner_nick_name,omitempty"` +} + +func (x *HomeBasicInfo) Reset() { + *x = HomeBasicInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBasicInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBasicInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBasicInfo) ProtoMessage() {} + +func (x *HomeBasicInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeBasicInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBasicInfo.ProtoReflect.Descriptor instead. +func (*HomeBasicInfo) Descriptor() ([]byte, []int) { + return file_HomeBasicInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBasicInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *HomeBasicInfo) GetCurRoomSceneId() uint32 { + if x != nil { + return x.CurRoomSceneId + } + return 0 +} + +func (x *HomeBasicInfo) GetCurModuleId() uint32 { + if x != nil { + return x.CurModuleId + } + return 0 +} + +func (x *HomeBasicInfo) GetIsInEditMode() bool { + if x != nil { + return x.IsInEditMode + } + return false +} + +func (x *HomeBasicInfo) GetHomeOwnerUid() uint32 { + if x != nil { + return x.HomeOwnerUid + } + return 0 +} + +func (x *HomeBasicInfo) GetExp() uint64 { + if x != nil { + return x.Exp + } + return 0 +} + +func (x *HomeBasicInfo) GetLimitedShopInfo() *HomeLimitedShopInfo { + if x != nil { + return x.LimitedShopInfo + } + return nil +} + +func (x *HomeBasicInfo) GetOwnerNickName() string { + if x != nil { + return x.OwnerNickName + } + return "" +} + +var File_HomeBasicInfo_proto protoreflect.FileDescriptor + +var file_HomeBasicInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xbd, 0x02, 0x0a, 0x0d, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x5f, + 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x69, 0x6e, + 0x5f, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0c, 0x69, 0x73, 0x49, 0x6e, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, + 0x0a, 0x0e, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x6f, 0x6d, 0x65, 0x4f, 0x77, 0x6e, 0x65, + 0x72, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x40, 0x0a, 0x11, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, + 0x64, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, + 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, + 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBasicInfo_proto_rawDescOnce sync.Once + file_HomeBasicInfo_proto_rawDescData = file_HomeBasicInfo_proto_rawDesc +) + +func file_HomeBasicInfo_proto_rawDescGZIP() []byte { + file_HomeBasicInfo_proto_rawDescOnce.Do(func() { + file_HomeBasicInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBasicInfo_proto_rawDescData) + }) + return file_HomeBasicInfo_proto_rawDescData +} + +var file_HomeBasicInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBasicInfo_proto_goTypes = []interface{}{ + (*HomeBasicInfo)(nil), // 0: HomeBasicInfo + (*HomeLimitedShopInfo)(nil), // 1: HomeLimitedShopInfo +} +var file_HomeBasicInfo_proto_depIdxs = []int32{ + 1, // 0: HomeBasicInfo.limited_shop_info:type_name -> HomeLimitedShopInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeBasicInfo_proto_init() } +func file_HomeBasicInfo_proto_init() { + if File_HomeBasicInfo_proto != nil { + return + } + file_HomeLimitedShopInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBasicInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBasicInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBasicInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBasicInfo_proto_goTypes, + DependencyIndexes: file_HomeBasicInfo_proto_depIdxs, + MessageInfos: file_HomeBasicInfo_proto_msgTypes, + }.Build() + File_HomeBasicInfo_proto = out.File + file_HomeBasicInfo_proto_rawDesc = nil + file_HomeBasicInfo_proto_goTypes = nil + file_HomeBasicInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBasicInfo.proto b/gate-hk4e-api/proto/HomeBasicInfo.proto new file mode 100644 index 00000000..f4bc2fee --- /dev/null +++ b/gate-hk4e-api/proto/HomeBasicInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopInfo.proto"; + +option go_package = "./;proto"; + +message HomeBasicInfo { + uint32 level = 10; + uint32 cur_room_scene_id = 13; + uint32 cur_module_id = 9; + bool is_in_edit_mode = 5; + uint32 home_owner_uid = 3; + uint64 exp = 14; + HomeLimitedShopInfo limited_shop_info = 15; + string owner_nick_name = 4; +} diff --git a/gate-hk4e-api/proto/HomeBasicInfoNotify.pb.go b/gate-hk4e-api/proto/HomeBasicInfoNotify.pb.go new file mode 100644 index 00000000..eff78ae5 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBasicInfoNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBasicInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4885 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeBasicInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BasicInfo *HomeBasicInfo `protobuf:"bytes,15,opt,name=basic_info,json=basicInfo,proto3" json:"basic_info,omitempty"` +} + +func (x *HomeBasicInfoNotify) Reset() { + *x = HomeBasicInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBasicInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBasicInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBasicInfoNotify) ProtoMessage() {} + +func (x *HomeBasicInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeBasicInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBasicInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeBasicInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeBasicInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBasicInfoNotify) GetBasicInfo() *HomeBasicInfo { + if x != nil { + return x.BasicInfo + } + return nil +} + +var File_HomeBasicInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeBasicInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x48, 0x6f, 0x6d, + 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x44, 0x0a, 0x13, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x69, 0x63, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x48, 0x6f, + 0x6d, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x61, 0x73, + 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBasicInfoNotify_proto_rawDescOnce sync.Once + file_HomeBasicInfoNotify_proto_rawDescData = file_HomeBasicInfoNotify_proto_rawDesc +) + +func file_HomeBasicInfoNotify_proto_rawDescGZIP() []byte { + file_HomeBasicInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeBasicInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBasicInfoNotify_proto_rawDescData) + }) + return file_HomeBasicInfoNotify_proto_rawDescData +} + +var file_HomeBasicInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBasicInfoNotify_proto_goTypes = []interface{}{ + (*HomeBasicInfoNotify)(nil), // 0: HomeBasicInfoNotify + (*HomeBasicInfo)(nil), // 1: HomeBasicInfo +} +var file_HomeBasicInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeBasicInfoNotify.basic_info:type_name -> HomeBasicInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeBasicInfoNotify_proto_init() } +func file_HomeBasicInfoNotify_proto_init() { + if File_HomeBasicInfoNotify_proto != nil { + return + } + file_HomeBasicInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBasicInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBasicInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBasicInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBasicInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeBasicInfoNotify_proto_depIdxs, + MessageInfos: file_HomeBasicInfoNotify_proto_msgTypes, + }.Build() + File_HomeBasicInfoNotify_proto = out.File + file_HomeBasicInfoNotify_proto_rawDesc = nil + file_HomeBasicInfoNotify_proto_goTypes = nil + file_HomeBasicInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBasicInfoNotify.proto b/gate-hk4e-api/proto/HomeBasicInfoNotify.proto new file mode 100644 index 00000000..1ce9a6a3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBasicInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeBasicInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4885 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeBasicInfoNotify { + HomeBasicInfo basic_info = 15; +} diff --git a/gate-hk4e-api/proto/HomeBlockArrangementInfo.pb.go b/gate-hk4e-api/proto/HomeBlockArrangementInfo.pb.go new file mode 100644 index 00000000..26e123a7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockArrangementInfo.pb.go @@ -0,0 +1,344 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockArrangementInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBlockArrangementInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsUnlocked bool `protobuf:"varint,1,opt,name=is_unlocked,json=isUnlocked,proto3" json:"is_unlocked,omitempty"` + ComfortValue uint32 `protobuf:"varint,2,opt,name=comfort_value,json=comfortValue,proto3" json:"comfort_value,omitempty"` + DeployAnimalList []*HomeAnimalData `protobuf:"bytes,4,rep,name=deploy_animal_list,json=deployAnimalList,proto3" json:"deploy_animal_list,omitempty"` + Unk2700_HGIECHILOJL []*Unk2700_GOHMLAFNBGF `protobuf:"bytes,5,rep,name=Unk2700_HGIECHILOJL,json=Unk2700HGIECHILOJL,proto3" json:"Unk2700_HGIECHILOJL,omitempty"` + WeekendDjinnInfoList []*WeekendDjinnInfo `protobuf:"bytes,13,rep,name=weekend_djinn_info_list,json=weekendDjinnInfoList,proto3" json:"weekend_djinn_info_list,omitempty"` + FurnitureSuiteList []*HomeFurnitureSuiteData `protobuf:"bytes,15,rep,name=furniture_suite_list,json=furnitureSuiteList,proto3" json:"furniture_suite_list,omitempty"` + FieldList []*HomeBlockFieldData `protobuf:"bytes,3,rep,name=field_list,json=fieldList,proto3" json:"field_list,omitempty"` + DeployNpcList []*HomeNpcData `protobuf:"bytes,11,rep,name=deploy_npc_list,json=deployNpcList,proto3" json:"deploy_npc_list,omitempty"` + DotPatternList []*HomeBlockDotPattern `protobuf:"bytes,7,rep,name=dot_pattern_list,json=dotPatternList,proto3" json:"dot_pattern_list,omitempty"` + PersistentFurnitureList []*HomeFurnitureData `protobuf:"bytes,9,rep,name=persistent_furniture_list,json=persistentFurnitureList,proto3" json:"persistent_furniture_list,omitempty"` + DeployFurniureList []*HomeFurnitureData `protobuf:"bytes,12,rep,name=deploy_furniure_list,json=deployFurniureList,proto3" json:"deploy_furniure_list,omitempty"` + BlockId uint32 `protobuf:"varint,6,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Unk2700_KJGLLEEHBPF []*Unk2700_BIEMCDLIFOD `protobuf:"bytes,14,rep,name=Unk2700_KJGLLEEHBPF,json=Unk2700KJGLLEEHBPF,proto3" json:"Unk2700_KJGLLEEHBPF,omitempty"` +} + +func (x *HomeBlockArrangementInfo) Reset() { + *x = HomeBlockArrangementInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockArrangementInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockArrangementInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockArrangementInfo) ProtoMessage() {} + +func (x *HomeBlockArrangementInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockArrangementInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockArrangementInfo.ProtoReflect.Descriptor instead. +func (*HomeBlockArrangementInfo) Descriptor() ([]byte, []int) { + return file_HomeBlockArrangementInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockArrangementInfo) GetIsUnlocked() bool { + if x != nil { + return x.IsUnlocked + } + return false +} + +func (x *HomeBlockArrangementInfo) GetComfortValue() uint32 { + if x != nil { + return x.ComfortValue + } + return 0 +} + +func (x *HomeBlockArrangementInfo) GetDeployAnimalList() []*HomeAnimalData { + if x != nil { + return x.DeployAnimalList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetUnk2700_HGIECHILOJL() []*Unk2700_GOHMLAFNBGF { + if x != nil { + return x.Unk2700_HGIECHILOJL + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetWeekendDjinnInfoList() []*WeekendDjinnInfo { + if x != nil { + return x.WeekendDjinnInfoList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetFurnitureSuiteList() []*HomeFurnitureSuiteData { + if x != nil { + return x.FurnitureSuiteList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetFieldList() []*HomeBlockFieldData { + if x != nil { + return x.FieldList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetDeployNpcList() []*HomeNpcData { + if x != nil { + return x.DeployNpcList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetDotPatternList() []*HomeBlockDotPattern { + if x != nil { + return x.DotPatternList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetPersistentFurnitureList() []*HomeFurnitureData { + if x != nil { + return x.PersistentFurnitureList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetDeployFurniureList() []*HomeFurnitureData { + if x != nil { + return x.DeployFurniureList + } + return nil +} + +func (x *HomeBlockArrangementInfo) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *HomeBlockArrangementInfo) GetUnk2700_KJGLLEEHBPF() []*Unk2700_BIEMCDLIFOD { + if x != nil { + return x.Unk2700_KJGLLEEHBPF + } + return nil +} + +var File_HomeBlockArrangementInfo_proto protoreflect.FileDescriptor + +var file_HomeBlockArrangementInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x44, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x48, 0x6f, 0x6d, + 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x53, 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x70, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x49, 0x45, 0x4d, 0x43, 0x44, 0x4c, 0x49, 0x46, 0x4f, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4f, 0x48, 0x4d, 0x4c, 0x41, + 0x46, 0x4e, 0x42, 0x47, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x57, 0x65, 0x65, + 0x6b, 0x65, 0x6e, 0x64, 0x44, 0x6a, 0x69, 0x6e, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x06, 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x66, 0x6f, 0x72, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, + 0x5f, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x41, 0x6e, 0x69, 0x6d, 0x61, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x47, 0x49, 0x45, 0x43, 0x48, 0x49, 0x4c, 0x4f, 0x4a, 0x4c, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4f, 0x48, + 0x4d, 0x4c, 0x41, 0x46, 0x4e, 0x42, 0x47, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x48, 0x47, 0x49, 0x45, 0x43, 0x48, 0x49, 0x4c, 0x4f, 0x4a, 0x4c, 0x12, 0x48, 0x0a, 0x17, + 0x77, 0x65, 0x65, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x6a, 0x69, 0x6e, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x57, 0x65, 0x65, 0x6b, 0x65, 0x6e, 0x64, 0x44, 0x6a, 0x69, 0x6e, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x14, 0x77, 0x65, 0x65, 0x6b, 0x65, 0x6e, 0x64, 0x44, 0x6a, 0x69, 0x6e, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x14, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x12, 0x66, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, + 0x6e, 0x70, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x70, 0x63, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x64, 0x65, + 0x70, 0x6c, 0x6f, 0x79, 0x4e, 0x70, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x10, 0x64, + 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x44, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x0e, 0x64, 0x6f, 0x74, + 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x19, 0x70, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x17, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x14, 0x64, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x75, 0x72, 0x65, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x48, 0x6f, 0x6d, 0x65, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x12, 0x64, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x47, 0x4c, 0x4c, 0x45, 0x45, 0x48, + 0x42, 0x50, 0x46, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x45, 0x4d, 0x43, 0x44, 0x4c, 0x49, 0x46, 0x4f, 0x44, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4a, 0x47, 0x4c, 0x4c, 0x45, 0x45, 0x48, + 0x42, 0x50, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockArrangementInfo_proto_rawDescOnce sync.Once + file_HomeBlockArrangementInfo_proto_rawDescData = file_HomeBlockArrangementInfo_proto_rawDesc +) + +func file_HomeBlockArrangementInfo_proto_rawDescGZIP() []byte { + file_HomeBlockArrangementInfo_proto_rawDescOnce.Do(func() { + file_HomeBlockArrangementInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockArrangementInfo_proto_rawDescData) + }) + return file_HomeBlockArrangementInfo_proto_rawDescData +} + +var file_HomeBlockArrangementInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockArrangementInfo_proto_goTypes = []interface{}{ + (*HomeBlockArrangementInfo)(nil), // 0: HomeBlockArrangementInfo + (*HomeAnimalData)(nil), // 1: HomeAnimalData + (*Unk2700_GOHMLAFNBGF)(nil), // 2: Unk2700_GOHMLAFNBGF + (*WeekendDjinnInfo)(nil), // 3: WeekendDjinnInfo + (*HomeFurnitureSuiteData)(nil), // 4: HomeFurnitureSuiteData + (*HomeBlockFieldData)(nil), // 5: HomeBlockFieldData + (*HomeNpcData)(nil), // 6: HomeNpcData + (*HomeBlockDotPattern)(nil), // 7: HomeBlockDotPattern + (*HomeFurnitureData)(nil), // 8: HomeFurnitureData + (*Unk2700_BIEMCDLIFOD)(nil), // 9: Unk2700_BIEMCDLIFOD +} +var file_HomeBlockArrangementInfo_proto_depIdxs = []int32{ + 1, // 0: HomeBlockArrangementInfo.deploy_animal_list:type_name -> HomeAnimalData + 2, // 1: HomeBlockArrangementInfo.Unk2700_HGIECHILOJL:type_name -> Unk2700_GOHMLAFNBGF + 3, // 2: HomeBlockArrangementInfo.weekend_djinn_info_list:type_name -> WeekendDjinnInfo + 4, // 3: HomeBlockArrangementInfo.furniture_suite_list:type_name -> HomeFurnitureSuiteData + 5, // 4: HomeBlockArrangementInfo.field_list:type_name -> HomeBlockFieldData + 6, // 5: HomeBlockArrangementInfo.deploy_npc_list:type_name -> HomeNpcData + 7, // 6: HomeBlockArrangementInfo.dot_pattern_list:type_name -> HomeBlockDotPattern + 8, // 7: HomeBlockArrangementInfo.persistent_furniture_list:type_name -> HomeFurnitureData + 8, // 8: HomeBlockArrangementInfo.deploy_furniure_list:type_name -> HomeFurnitureData + 9, // 9: HomeBlockArrangementInfo.Unk2700_KJGLLEEHBPF:type_name -> Unk2700_BIEMCDLIFOD + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_HomeBlockArrangementInfo_proto_init() } +func file_HomeBlockArrangementInfo_proto_init() { + if File_HomeBlockArrangementInfo_proto != nil { + return + } + file_HomeAnimalData_proto_init() + file_HomeBlockDotPattern_proto_init() + file_HomeBlockFieldData_proto_init() + file_HomeFurnitureData_proto_init() + file_HomeFurnitureSuiteData_proto_init() + file_HomeNpcData_proto_init() + file_Unk2700_BIEMCDLIFOD_proto_init() + file_Unk2700_GOHMLAFNBGF_proto_init() + file_WeekendDjinnInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBlockArrangementInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockArrangementInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockArrangementInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockArrangementInfo_proto_goTypes, + DependencyIndexes: file_HomeBlockArrangementInfo_proto_depIdxs, + MessageInfos: file_HomeBlockArrangementInfo_proto_msgTypes, + }.Build() + File_HomeBlockArrangementInfo_proto = out.File + file_HomeBlockArrangementInfo_proto_rawDesc = nil + file_HomeBlockArrangementInfo_proto_goTypes = nil + file_HomeBlockArrangementInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockArrangementInfo.proto b/gate-hk4e-api/proto/HomeBlockArrangementInfo.proto new file mode 100644 index 00000000..d3682e0b --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockArrangementInfo.proto @@ -0,0 +1,45 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeAnimalData.proto"; +import "HomeBlockDotPattern.proto"; +import "HomeBlockFieldData.proto"; +import "HomeFurnitureData.proto"; +import "HomeFurnitureSuiteData.proto"; +import "HomeNpcData.proto"; +import "Unk2700_BIEMCDLIFOD.proto"; +import "Unk2700_GOHMLAFNBGF.proto"; +import "WeekendDjinnInfo.proto"; + +option go_package = "./;proto"; + +message HomeBlockArrangementInfo { + bool is_unlocked = 1; + uint32 comfort_value = 2; + repeated HomeAnimalData deploy_animal_list = 4; + repeated Unk2700_GOHMLAFNBGF Unk2700_HGIECHILOJL = 5; + repeated WeekendDjinnInfo weekend_djinn_info_list = 13; + repeated HomeFurnitureSuiteData furniture_suite_list = 15; + repeated HomeBlockFieldData field_list = 3; + repeated HomeNpcData deploy_npc_list = 11; + repeated HomeBlockDotPattern dot_pattern_list = 7; + repeated HomeFurnitureData persistent_furniture_list = 9; + repeated HomeFurnitureData deploy_furniure_list = 12; + uint32 block_id = 6; + repeated Unk2700_BIEMCDLIFOD Unk2700_KJGLLEEHBPF = 14; +} diff --git a/gate-hk4e-api/proto/HomeBlockArrangementMuipData.pb.go b/gate-hk4e-api/proto/HomeBlockArrangementMuipData.pb.go new file mode 100644 index 00000000..f9bd02b1 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockArrangementMuipData.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockArrangementMuipData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBlockArrangementMuipData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockId uint32 `protobuf:"varint,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + FurnitureDataList []*HomeFurnitureArrangementMuipData `protobuf:"bytes,2,rep,name=furniture_data_list,json=furnitureDataList,proto3" json:"furniture_data_list,omitempty"` +} + +func (x *HomeBlockArrangementMuipData) Reset() { + *x = HomeBlockArrangementMuipData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockArrangementMuipData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockArrangementMuipData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockArrangementMuipData) ProtoMessage() {} + +func (x *HomeBlockArrangementMuipData) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockArrangementMuipData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockArrangementMuipData.ProtoReflect.Descriptor instead. +func (*HomeBlockArrangementMuipData) Descriptor() ([]byte, []int) { + return file_HomeBlockArrangementMuipData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockArrangementMuipData) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *HomeBlockArrangementMuipData) GetFurnitureDataList() []*HomeFurnitureArrangementMuipData { + if x != nil { + return x.FurnitureDataList + } + return nil +} + +var File_HomeBlockArrangementMuipData_proto protoreflect.FileDescriptor + +var file_HomeBlockArrangementMuipData_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, + 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, + 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, + 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x13, 0x66, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockArrangementMuipData_proto_rawDescOnce sync.Once + file_HomeBlockArrangementMuipData_proto_rawDescData = file_HomeBlockArrangementMuipData_proto_rawDesc +) + +func file_HomeBlockArrangementMuipData_proto_rawDescGZIP() []byte { + file_HomeBlockArrangementMuipData_proto_rawDescOnce.Do(func() { + file_HomeBlockArrangementMuipData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockArrangementMuipData_proto_rawDescData) + }) + return file_HomeBlockArrangementMuipData_proto_rawDescData +} + +var file_HomeBlockArrangementMuipData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockArrangementMuipData_proto_goTypes = []interface{}{ + (*HomeBlockArrangementMuipData)(nil), // 0: HomeBlockArrangementMuipData + (*HomeFurnitureArrangementMuipData)(nil), // 1: HomeFurnitureArrangementMuipData +} +var file_HomeBlockArrangementMuipData_proto_depIdxs = []int32{ + 1, // 0: HomeBlockArrangementMuipData.furniture_data_list:type_name -> HomeFurnitureArrangementMuipData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeBlockArrangementMuipData_proto_init() } +func file_HomeBlockArrangementMuipData_proto_init() { + if File_HomeBlockArrangementMuipData_proto != nil { + return + } + file_HomeFurnitureArrangementMuipData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBlockArrangementMuipData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockArrangementMuipData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockArrangementMuipData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockArrangementMuipData_proto_goTypes, + DependencyIndexes: file_HomeBlockArrangementMuipData_proto_depIdxs, + MessageInfos: file_HomeBlockArrangementMuipData_proto_msgTypes, + }.Build() + File_HomeBlockArrangementMuipData_proto = out.File + file_HomeBlockArrangementMuipData_proto_rawDesc = nil + file_HomeBlockArrangementMuipData_proto_goTypes = nil + file_HomeBlockArrangementMuipData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockArrangementMuipData.proto b/gate-hk4e-api/proto/HomeBlockArrangementMuipData.proto new file mode 100644 index 00000000..61a4b1c6 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockArrangementMuipData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFurnitureArrangementMuipData.proto"; + +option go_package = "./;proto"; + +message HomeBlockArrangementMuipData { + uint32 block_id = 1; + repeated HomeFurnitureArrangementMuipData furniture_data_list = 2; +} diff --git a/gate-hk4e-api/proto/HomeBlockDotPattern.pb.go b/gate-hk4e-api/proto/HomeBlockDotPattern.pb.go new file mode 100644 index 00000000..6cf2ed37 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockDotPattern.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockDotPattern.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBlockDotPattern struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Width uint32 `protobuf:"varint,8,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,11,opt,name=height,proto3" json:"height,omitempty"` + Data []byte `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *HomeBlockDotPattern) Reset() { + *x = HomeBlockDotPattern{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockDotPattern_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockDotPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockDotPattern) ProtoMessage() {} + +func (x *HomeBlockDotPattern) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockDotPattern_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockDotPattern.ProtoReflect.Descriptor instead. +func (*HomeBlockDotPattern) Descriptor() ([]byte, []int) { + return file_HomeBlockDotPattern_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockDotPattern) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *HomeBlockDotPattern) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *HomeBlockDotPattern) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +var File_HomeBlockDotPattern_proto protoreflect.FileDescriptor + +var file_HomeBlockDotPattern_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x6f, 0x74, 0x50, 0x61, + 0x74, 0x74, 0x65, 0x72, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x74, 0x65, + 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockDotPattern_proto_rawDescOnce sync.Once + file_HomeBlockDotPattern_proto_rawDescData = file_HomeBlockDotPattern_proto_rawDesc +) + +func file_HomeBlockDotPattern_proto_rawDescGZIP() []byte { + file_HomeBlockDotPattern_proto_rawDescOnce.Do(func() { + file_HomeBlockDotPattern_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockDotPattern_proto_rawDescData) + }) + return file_HomeBlockDotPattern_proto_rawDescData +} + +var file_HomeBlockDotPattern_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockDotPattern_proto_goTypes = []interface{}{ + (*HomeBlockDotPattern)(nil), // 0: HomeBlockDotPattern +} +var file_HomeBlockDotPattern_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeBlockDotPattern_proto_init() } +func file_HomeBlockDotPattern_proto_init() { + if File_HomeBlockDotPattern_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeBlockDotPattern_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockDotPattern); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockDotPattern_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockDotPattern_proto_goTypes, + DependencyIndexes: file_HomeBlockDotPattern_proto_depIdxs, + MessageInfos: file_HomeBlockDotPattern_proto_msgTypes, + }.Build() + File_HomeBlockDotPattern_proto = out.File + file_HomeBlockDotPattern_proto_rawDesc = nil + file_HomeBlockDotPattern_proto_goTypes = nil + file_HomeBlockDotPattern_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockDotPattern.proto b/gate-hk4e-api/proto/HomeBlockDotPattern.proto new file mode 100644 index 00000000..cc1533cb --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockDotPattern.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeBlockDotPattern { + uint32 width = 8; + uint32 height = 11; + bytes data = 9; +} diff --git a/gate-hk4e-api/proto/HomeBlockFieldData.pb.go b/gate-hk4e-api/proto/HomeBlockFieldData.pb.go new file mode 100644 index 00000000..ebb48f77 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockFieldData.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockFieldData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBlockFieldData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,15,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,4,opt,name=pos,proto3" json:"pos,omitempty"` + Guid uint32 `protobuf:"varint,9,opt,name=guid,proto3" json:"guid,omitempty"` + FurnitureId uint32 `protobuf:"varint,1,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + SubFieldList []*HomeBlockSubFieldData `protobuf:"bytes,7,rep,name=sub_field_list,json=subFieldList,proto3" json:"sub_field_list,omitempty"` +} + +func (x *HomeBlockFieldData) Reset() { + *x = HomeBlockFieldData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockFieldData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockFieldData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockFieldData) ProtoMessage() {} + +func (x *HomeBlockFieldData) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockFieldData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockFieldData.ProtoReflect.Descriptor instead. +func (*HomeBlockFieldData) Descriptor() ([]byte, []int) { + return file_HomeBlockFieldData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockFieldData) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *HomeBlockFieldData) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *HomeBlockFieldData) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeBlockFieldData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomeBlockFieldData) GetSubFieldList() []*HomeBlockSubFieldData { + if x != nil { + return x.SubFieldList + } + return nil +} + +var File_HomeBlockFieldData_proto protoreflect.FileDescriptor + +var file_HomeBlockFieldData_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x75, 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x03, + 0x72, 0x6f, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, + 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x75, 0x62, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x75, 0x62, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockFieldData_proto_rawDescOnce sync.Once + file_HomeBlockFieldData_proto_rawDescData = file_HomeBlockFieldData_proto_rawDesc +) + +func file_HomeBlockFieldData_proto_rawDescGZIP() []byte { + file_HomeBlockFieldData_proto_rawDescOnce.Do(func() { + file_HomeBlockFieldData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockFieldData_proto_rawDescData) + }) + return file_HomeBlockFieldData_proto_rawDescData +} + +var file_HomeBlockFieldData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockFieldData_proto_goTypes = []interface{}{ + (*HomeBlockFieldData)(nil), // 0: HomeBlockFieldData + (*Vector)(nil), // 1: Vector + (*HomeBlockSubFieldData)(nil), // 2: HomeBlockSubFieldData +} +var file_HomeBlockFieldData_proto_depIdxs = []int32{ + 1, // 0: HomeBlockFieldData.rot:type_name -> Vector + 1, // 1: HomeBlockFieldData.pos:type_name -> Vector + 2, // 2: HomeBlockFieldData.sub_field_list:type_name -> HomeBlockSubFieldData + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HomeBlockFieldData_proto_init() } +func file_HomeBlockFieldData_proto_init() { + if File_HomeBlockFieldData_proto != nil { + return + } + file_HomeBlockSubFieldData_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBlockFieldData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockFieldData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockFieldData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockFieldData_proto_goTypes, + DependencyIndexes: file_HomeBlockFieldData_proto_depIdxs, + MessageInfos: file_HomeBlockFieldData_proto_msgTypes, + }.Build() + File_HomeBlockFieldData_proto = out.File + file_HomeBlockFieldData_proto_rawDesc = nil + file_HomeBlockFieldData_proto_goTypes = nil + file_HomeBlockFieldData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockFieldData.proto b/gate-hk4e-api/proto/HomeBlockFieldData.proto new file mode 100644 index 00000000..52cb36c9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockFieldData.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeBlockSubFieldData.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeBlockFieldData { + Vector rot = 15; + Vector pos = 4; + uint32 guid = 9; + uint32 furniture_id = 1; + repeated HomeBlockSubFieldData sub_field_list = 7; +} diff --git a/gate-hk4e-api/proto/HomeBlockNotify.pb.go b/gate-hk4e-api/proto/HomeBlockNotify.pb.go new file mode 100644 index 00000000..3c2784cf --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4543 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeBlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *HomeBlockNotify) Reset() { + *x = HomeBlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockNotify) ProtoMessage() {} + +func (x *HomeBlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockNotify.ProtoReflect.Descriptor instead. +func (*HomeBlockNotify) Descriptor() ([]byte, []int) { + return file_HomeBlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockNotify) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_HomeBlockNotify_proto protoreflect.FileDescriptor + +var file_HomeBlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x0f, 0x48, 0x6f, 0x6d, 0x65, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockNotify_proto_rawDescOnce sync.Once + file_HomeBlockNotify_proto_rawDescData = file_HomeBlockNotify_proto_rawDesc +) + +func file_HomeBlockNotify_proto_rawDescGZIP() []byte { + file_HomeBlockNotify_proto_rawDescOnce.Do(func() { + file_HomeBlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockNotify_proto_rawDescData) + }) + return file_HomeBlockNotify_proto_rawDescData +} + +var file_HomeBlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockNotify_proto_goTypes = []interface{}{ + (*HomeBlockNotify)(nil), // 0: HomeBlockNotify +} +var file_HomeBlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeBlockNotify_proto_init() } +func file_HomeBlockNotify_proto_init() { + if File_HomeBlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeBlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockNotify_proto_goTypes, + DependencyIndexes: file_HomeBlockNotify_proto_depIdxs, + MessageInfos: file_HomeBlockNotify_proto_msgTypes, + }.Build() + File_HomeBlockNotify_proto = out.File + file_HomeBlockNotify_proto_rawDesc = nil + file_HomeBlockNotify_proto_goTypes = nil + file_HomeBlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockNotify.proto b/gate-hk4e-api/proto/HomeBlockNotify.proto new file mode 100644 index 00000000..b3b5deaa --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4543 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeBlockNotify { + uint32 end_time = 3; +} diff --git a/gate-hk4e-api/proto/HomeBlockSubFieldData.pb.go b/gate-hk4e-api/proto/HomeBlockSubFieldData.pb.go new file mode 100644 index 00000000..dbbffb41 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockSubFieldData.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeBlockSubFieldData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeBlockSubFieldData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,3,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *HomeBlockSubFieldData) Reset() { + *x = HomeBlockSubFieldData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeBlockSubFieldData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeBlockSubFieldData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeBlockSubFieldData) ProtoMessage() {} + +func (x *HomeBlockSubFieldData) ProtoReflect() protoreflect.Message { + mi := &file_HomeBlockSubFieldData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeBlockSubFieldData.ProtoReflect.Descriptor instead. +func (*HomeBlockSubFieldData) Descriptor() ([]byte, []int) { + return file_HomeBlockSubFieldData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeBlockSubFieldData) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *HomeBlockSubFieldData) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_HomeBlockSubFieldData_proto protoreflect.FileDescriptor + +var file_HomeBlockSubFieldData_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x75, 0x62, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x15, 0x48, + 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x75, 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, + 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeBlockSubFieldData_proto_rawDescOnce sync.Once + file_HomeBlockSubFieldData_proto_rawDescData = file_HomeBlockSubFieldData_proto_rawDesc +) + +func file_HomeBlockSubFieldData_proto_rawDescGZIP() []byte { + file_HomeBlockSubFieldData_proto_rawDescOnce.Do(func() { + file_HomeBlockSubFieldData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeBlockSubFieldData_proto_rawDescData) + }) + return file_HomeBlockSubFieldData_proto_rawDescData +} + +var file_HomeBlockSubFieldData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeBlockSubFieldData_proto_goTypes = []interface{}{ + (*HomeBlockSubFieldData)(nil), // 0: HomeBlockSubFieldData + (*Vector)(nil), // 1: Vector +} +var file_HomeBlockSubFieldData_proto_depIdxs = []int32{ + 1, // 0: HomeBlockSubFieldData.rot:type_name -> Vector + 1, // 1: HomeBlockSubFieldData.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeBlockSubFieldData_proto_init() } +func file_HomeBlockSubFieldData_proto_init() { + if File_HomeBlockSubFieldData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeBlockSubFieldData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeBlockSubFieldData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeBlockSubFieldData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeBlockSubFieldData_proto_goTypes, + DependencyIndexes: file_HomeBlockSubFieldData_proto_depIdxs, + MessageInfos: file_HomeBlockSubFieldData_proto_msgTypes, + }.Build() + File_HomeBlockSubFieldData_proto = out.File + file_HomeBlockSubFieldData_proto_rawDesc = nil + file_HomeBlockSubFieldData_proto_goTypes = nil + file_HomeBlockSubFieldData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeBlockSubFieldData.proto b/gate-hk4e-api/proto/HomeBlockSubFieldData.proto new file mode 100644 index 00000000..6d662c72 --- /dev/null +++ b/gate-hk4e-api/proto/HomeBlockSubFieldData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeBlockSubFieldData { + Vector rot = 3; + Vector pos = 1; +} diff --git a/gate-hk4e-api/proto/HomeChangeEditModeReq.pb.go b/gate-hk4e-api/proto/HomeChangeEditModeReq.pb.go new file mode 100644 index 00000000..34984c13 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeEditModeReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChangeEditModeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4564 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeChangeEditModeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEnterEditMode bool `protobuf:"varint,12,opt,name=is_enter_edit_mode,json=isEnterEditMode,proto3" json:"is_enter_edit_mode,omitempty"` +} + +func (x *HomeChangeEditModeReq) Reset() { + *x = HomeChangeEditModeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChangeEditModeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChangeEditModeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChangeEditModeReq) ProtoMessage() {} + +func (x *HomeChangeEditModeReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeChangeEditModeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChangeEditModeReq.ProtoReflect.Descriptor instead. +func (*HomeChangeEditModeReq) Descriptor() ([]byte, []int) { + return file_HomeChangeEditModeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChangeEditModeReq) GetIsEnterEditMode() bool { + if x != nil { + return x.IsEnterEditMode + } + return false +} + +var File_HomeChangeEditModeReq_proto protoreflect.FileDescriptor + +var file_HomeChangeEditModeReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, + 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, + 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x4d, + 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x45, 0x64, 0x69, 0x74, 0x4d, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeChangeEditModeReq_proto_rawDescOnce sync.Once + file_HomeChangeEditModeReq_proto_rawDescData = file_HomeChangeEditModeReq_proto_rawDesc +) + +func file_HomeChangeEditModeReq_proto_rawDescGZIP() []byte { + file_HomeChangeEditModeReq_proto_rawDescOnce.Do(func() { + file_HomeChangeEditModeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChangeEditModeReq_proto_rawDescData) + }) + return file_HomeChangeEditModeReq_proto_rawDescData +} + +var file_HomeChangeEditModeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChangeEditModeReq_proto_goTypes = []interface{}{ + (*HomeChangeEditModeReq)(nil), // 0: HomeChangeEditModeReq +} +var file_HomeChangeEditModeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChangeEditModeReq_proto_init() } +func file_HomeChangeEditModeReq_proto_init() { + if File_HomeChangeEditModeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChangeEditModeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChangeEditModeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChangeEditModeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChangeEditModeReq_proto_goTypes, + DependencyIndexes: file_HomeChangeEditModeReq_proto_depIdxs, + MessageInfos: file_HomeChangeEditModeReq_proto_msgTypes, + }.Build() + File_HomeChangeEditModeReq_proto = out.File + file_HomeChangeEditModeReq_proto_rawDesc = nil + file_HomeChangeEditModeReq_proto_goTypes = nil + file_HomeChangeEditModeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChangeEditModeReq.proto b/gate-hk4e-api/proto/HomeChangeEditModeReq.proto new file mode 100644 index 00000000..8601bdeb --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeEditModeReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4564 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeChangeEditModeReq { + bool is_enter_edit_mode = 12; +} diff --git a/gate-hk4e-api/proto/HomeChangeEditModeRsp.pb.go b/gate-hk4e-api/proto/HomeChangeEditModeRsp.pb.go new file mode 100644 index 00000000..db0f3b71 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeEditModeRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChangeEditModeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4559 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeChangeEditModeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsEnterEditMode bool `protobuf:"varint,5,opt,name=is_enter_edit_mode,json=isEnterEditMode,proto3" json:"is_enter_edit_mode,omitempty"` +} + +func (x *HomeChangeEditModeRsp) Reset() { + *x = HomeChangeEditModeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChangeEditModeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChangeEditModeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChangeEditModeRsp) ProtoMessage() {} + +func (x *HomeChangeEditModeRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeChangeEditModeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChangeEditModeRsp.ProtoReflect.Descriptor instead. +func (*HomeChangeEditModeRsp) Descriptor() ([]byte, []int) { + return file_HomeChangeEditModeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChangeEditModeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeChangeEditModeRsp) GetIsEnterEditMode() bool { + if x != nil { + return x.IsEnterEditMode + } + return false +} + +var File_HomeChangeEditModeRsp_proto protoreflect.FileDescriptor + +var file_HomeChangeEditModeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, + 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, + 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x4d, + 0x6f, 0x64, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x64, 0x69, + 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeChangeEditModeRsp_proto_rawDescOnce sync.Once + file_HomeChangeEditModeRsp_proto_rawDescData = file_HomeChangeEditModeRsp_proto_rawDesc +) + +func file_HomeChangeEditModeRsp_proto_rawDescGZIP() []byte { + file_HomeChangeEditModeRsp_proto_rawDescOnce.Do(func() { + file_HomeChangeEditModeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChangeEditModeRsp_proto_rawDescData) + }) + return file_HomeChangeEditModeRsp_proto_rawDescData +} + +var file_HomeChangeEditModeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChangeEditModeRsp_proto_goTypes = []interface{}{ + (*HomeChangeEditModeRsp)(nil), // 0: HomeChangeEditModeRsp +} +var file_HomeChangeEditModeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChangeEditModeRsp_proto_init() } +func file_HomeChangeEditModeRsp_proto_init() { + if File_HomeChangeEditModeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChangeEditModeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChangeEditModeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChangeEditModeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChangeEditModeRsp_proto_goTypes, + DependencyIndexes: file_HomeChangeEditModeRsp_proto_depIdxs, + MessageInfos: file_HomeChangeEditModeRsp_proto_msgTypes, + }.Build() + File_HomeChangeEditModeRsp_proto = out.File + file_HomeChangeEditModeRsp_proto_rawDesc = nil + file_HomeChangeEditModeRsp_proto_goTypes = nil + file_HomeChangeEditModeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChangeEditModeRsp.proto b/gate-hk4e-api/proto/HomeChangeEditModeRsp.proto new file mode 100644 index 00000000..92342426 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeEditModeRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4559 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeChangeEditModeRsp { + int32 retcode = 10; + bool is_enter_edit_mode = 5; +} diff --git a/gate-hk4e-api/proto/HomeChangeModuleReq.pb.go b/gate-hk4e-api/proto/HomeChangeModuleReq.pb.go new file mode 100644 index 00000000..ff4ccd62 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeModuleReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChangeModuleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4809 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeChangeModuleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetModuleId uint32 `protobuf:"varint,5,opt,name=target_module_id,json=targetModuleId,proto3" json:"target_module_id,omitempty"` +} + +func (x *HomeChangeModuleReq) Reset() { + *x = HomeChangeModuleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChangeModuleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChangeModuleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChangeModuleReq) ProtoMessage() {} + +func (x *HomeChangeModuleReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeChangeModuleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChangeModuleReq.ProtoReflect.Descriptor instead. +func (*HomeChangeModuleReq) Descriptor() ([]byte, []int) { + return file_HomeChangeModuleReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChangeModuleReq) GetTargetModuleId() uint32 { + if x != nil { + return x.TargetModuleId + } + return 0 +} + +var File_HomeChangeModuleReq_proto protoreflect.FileDescriptor + +var file_HomeChangeModuleReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeChangeModuleReq_proto_rawDescOnce sync.Once + file_HomeChangeModuleReq_proto_rawDescData = file_HomeChangeModuleReq_proto_rawDesc +) + +func file_HomeChangeModuleReq_proto_rawDescGZIP() []byte { + file_HomeChangeModuleReq_proto_rawDescOnce.Do(func() { + file_HomeChangeModuleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChangeModuleReq_proto_rawDescData) + }) + return file_HomeChangeModuleReq_proto_rawDescData +} + +var file_HomeChangeModuleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChangeModuleReq_proto_goTypes = []interface{}{ + (*HomeChangeModuleReq)(nil), // 0: HomeChangeModuleReq +} +var file_HomeChangeModuleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChangeModuleReq_proto_init() } +func file_HomeChangeModuleReq_proto_init() { + if File_HomeChangeModuleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChangeModuleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChangeModuleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChangeModuleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChangeModuleReq_proto_goTypes, + DependencyIndexes: file_HomeChangeModuleReq_proto_depIdxs, + MessageInfos: file_HomeChangeModuleReq_proto_msgTypes, + }.Build() + File_HomeChangeModuleReq_proto = out.File + file_HomeChangeModuleReq_proto_rawDesc = nil + file_HomeChangeModuleReq_proto_goTypes = nil + file_HomeChangeModuleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChangeModuleReq.proto b/gate-hk4e-api/proto/HomeChangeModuleReq.proto new file mode 100644 index 00000000..230468fc --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeModuleReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4809 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeChangeModuleReq { + uint32 target_module_id = 5; +} diff --git a/gate-hk4e-api/proto/HomeChangeModuleRsp.pb.go b/gate-hk4e-api/proto/HomeChangeModuleRsp.pb.go new file mode 100644 index 00000000..26e3fd2c --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeModuleRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChangeModuleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4596 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeChangeModuleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetModuleId uint32 `protobuf:"varint,2,opt,name=target_module_id,json=targetModuleId,proto3" json:"target_module_id,omitempty"` +} + +func (x *HomeChangeModuleRsp) Reset() { + *x = HomeChangeModuleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChangeModuleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChangeModuleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChangeModuleRsp) ProtoMessage() {} + +func (x *HomeChangeModuleRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeChangeModuleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChangeModuleRsp.ProtoReflect.Descriptor instead. +func (*HomeChangeModuleRsp) Descriptor() ([]byte, []int) { + return file_HomeChangeModuleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChangeModuleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeChangeModuleRsp) GetTargetModuleId() uint32 { + if x != nil { + return x.TargetModuleId + } + return 0 +} + +var File_HomeChangeModuleRsp_proto protoreflect.FileDescriptor + +var file_HomeChangeModuleRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeChangeModuleRsp_proto_rawDescOnce sync.Once + file_HomeChangeModuleRsp_proto_rawDescData = file_HomeChangeModuleRsp_proto_rawDesc +) + +func file_HomeChangeModuleRsp_proto_rawDescGZIP() []byte { + file_HomeChangeModuleRsp_proto_rawDescOnce.Do(func() { + file_HomeChangeModuleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChangeModuleRsp_proto_rawDescData) + }) + return file_HomeChangeModuleRsp_proto_rawDescData +} + +var file_HomeChangeModuleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChangeModuleRsp_proto_goTypes = []interface{}{ + (*HomeChangeModuleRsp)(nil), // 0: HomeChangeModuleRsp +} +var file_HomeChangeModuleRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChangeModuleRsp_proto_init() } +func file_HomeChangeModuleRsp_proto_init() { + if File_HomeChangeModuleRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChangeModuleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChangeModuleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChangeModuleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChangeModuleRsp_proto_goTypes, + DependencyIndexes: file_HomeChangeModuleRsp_proto_depIdxs, + MessageInfos: file_HomeChangeModuleRsp_proto_msgTypes, + }.Build() + File_HomeChangeModuleRsp_proto = out.File + file_HomeChangeModuleRsp_proto_rawDesc = nil + file_HomeChangeModuleRsp_proto_goTypes = nil + file_HomeChangeModuleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChangeModuleRsp.proto b/gate-hk4e-api/proto/HomeChangeModuleRsp.proto new file mode 100644 index 00000000..25b6170e --- /dev/null +++ b/gate-hk4e-api/proto/HomeChangeModuleRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4596 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeChangeModuleRsp { + int32 retcode = 3; + uint32 target_module_id = 2; +} diff --git a/gate-hk4e-api/proto/HomeChooseModuleReq.pb.go b/gate-hk4e-api/proto/HomeChooseModuleReq.pb.go new file mode 100644 index 00000000..736053cf --- /dev/null +++ b/gate-hk4e-api/proto/HomeChooseModuleReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChooseModuleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4524 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeChooseModuleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModuleId uint32 `protobuf:"varint,9,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` +} + +func (x *HomeChooseModuleReq) Reset() { + *x = HomeChooseModuleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChooseModuleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChooseModuleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChooseModuleReq) ProtoMessage() {} + +func (x *HomeChooseModuleReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeChooseModuleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChooseModuleReq.ProtoReflect.Descriptor instead. +func (*HomeChooseModuleReq) Descriptor() ([]byte, []int) { + return file_HomeChooseModuleReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChooseModuleReq) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +var File_HomeChooseModuleReq_proto protoreflect.FileDescriptor + +var file_HomeChooseModuleReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HomeChooseModuleReq_proto_rawDescOnce sync.Once + file_HomeChooseModuleReq_proto_rawDescData = file_HomeChooseModuleReq_proto_rawDesc +) + +func file_HomeChooseModuleReq_proto_rawDescGZIP() []byte { + file_HomeChooseModuleReq_proto_rawDescOnce.Do(func() { + file_HomeChooseModuleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChooseModuleReq_proto_rawDescData) + }) + return file_HomeChooseModuleReq_proto_rawDescData +} + +var file_HomeChooseModuleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChooseModuleReq_proto_goTypes = []interface{}{ + (*HomeChooseModuleReq)(nil), // 0: HomeChooseModuleReq +} +var file_HomeChooseModuleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChooseModuleReq_proto_init() } +func file_HomeChooseModuleReq_proto_init() { + if File_HomeChooseModuleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChooseModuleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChooseModuleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChooseModuleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChooseModuleReq_proto_goTypes, + DependencyIndexes: file_HomeChooseModuleReq_proto_depIdxs, + MessageInfos: file_HomeChooseModuleReq_proto_msgTypes, + }.Build() + File_HomeChooseModuleReq_proto = out.File + file_HomeChooseModuleReq_proto_rawDesc = nil + file_HomeChooseModuleReq_proto_goTypes = nil + file_HomeChooseModuleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChooseModuleReq.proto b/gate-hk4e-api/proto/HomeChooseModuleReq.proto new file mode 100644 index 00000000..f9d63f08 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChooseModuleReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4524 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeChooseModuleReq { + uint32 module_id = 9; +} diff --git a/gate-hk4e-api/proto/HomeChooseModuleRsp.pb.go b/gate-hk4e-api/proto/HomeChooseModuleRsp.pb.go new file mode 100644 index 00000000..c42bab00 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChooseModuleRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeChooseModuleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4648 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeChooseModuleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + ModuleId uint32 `protobuf:"varint,8,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` +} + +func (x *HomeChooseModuleRsp) Reset() { + *x = HomeChooseModuleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeChooseModuleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeChooseModuleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeChooseModuleRsp) ProtoMessage() {} + +func (x *HomeChooseModuleRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeChooseModuleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeChooseModuleRsp.ProtoReflect.Descriptor instead. +func (*HomeChooseModuleRsp) Descriptor() ([]byte, []int) { + return file_HomeChooseModuleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeChooseModuleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeChooseModuleRsp) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +var File_HomeChooseModuleRsp_proto protoreflect.FileDescriptor + +var file_HomeChooseModuleRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeChooseModuleRsp_proto_rawDescOnce sync.Once + file_HomeChooseModuleRsp_proto_rawDescData = file_HomeChooseModuleRsp_proto_rawDesc +) + +func file_HomeChooseModuleRsp_proto_rawDescGZIP() []byte { + file_HomeChooseModuleRsp_proto_rawDescOnce.Do(func() { + file_HomeChooseModuleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeChooseModuleRsp_proto_rawDescData) + }) + return file_HomeChooseModuleRsp_proto_rawDescData +} + +var file_HomeChooseModuleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeChooseModuleRsp_proto_goTypes = []interface{}{ + (*HomeChooseModuleRsp)(nil), // 0: HomeChooseModuleRsp +} +var file_HomeChooseModuleRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeChooseModuleRsp_proto_init() } +func file_HomeChooseModuleRsp_proto_init() { + if File_HomeChooseModuleRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeChooseModuleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeChooseModuleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeChooseModuleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeChooseModuleRsp_proto_goTypes, + DependencyIndexes: file_HomeChooseModuleRsp_proto_depIdxs, + MessageInfos: file_HomeChooseModuleRsp_proto_msgTypes, + }.Build() + File_HomeChooseModuleRsp_proto = out.File + file_HomeChooseModuleRsp_proto_rawDesc = nil + file_HomeChooseModuleRsp_proto_goTypes = nil + file_HomeChooseModuleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeChooseModuleRsp.proto b/gate-hk4e-api/proto/HomeChooseModuleRsp.proto new file mode 100644 index 00000000..516b79b8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeChooseModuleRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4648 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeChooseModuleRsp { + int32 retcode = 2; + uint32 module_id = 8; +} diff --git a/gate-hk4e-api/proto/HomeComfortInfoNotify.pb.go b/gate-hk4e-api/proto/HomeComfortInfoNotify.pb.go new file mode 100644 index 00000000..cff65f36 --- /dev/null +++ b/gate-hk4e-api/proto/HomeComfortInfoNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeComfortInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4699 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeComfortInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModuleInfoList []*HomeModuleComfortInfo `protobuf:"bytes,6,rep,name=module_info_list,json=moduleInfoList,proto3" json:"module_info_list,omitempty"` +} + +func (x *HomeComfortInfoNotify) Reset() { + *x = HomeComfortInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeComfortInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeComfortInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeComfortInfoNotify) ProtoMessage() {} + +func (x *HomeComfortInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeComfortInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeComfortInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeComfortInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeComfortInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeComfortInfoNotify) GetModuleInfoList() []*HomeModuleComfortInfo { + if x != nil { + return x.ModuleInfoList + } + return nil +} + +var File_HomeComfortInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeComfortInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x48, + 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x15, 0x48, 0x6f, + 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x40, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x66, 0x6f, 0x72, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeComfortInfoNotify_proto_rawDescOnce sync.Once + file_HomeComfortInfoNotify_proto_rawDescData = file_HomeComfortInfoNotify_proto_rawDesc +) + +func file_HomeComfortInfoNotify_proto_rawDescGZIP() []byte { + file_HomeComfortInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeComfortInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeComfortInfoNotify_proto_rawDescData) + }) + return file_HomeComfortInfoNotify_proto_rawDescData +} + +var file_HomeComfortInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeComfortInfoNotify_proto_goTypes = []interface{}{ + (*HomeComfortInfoNotify)(nil), // 0: HomeComfortInfoNotify + (*HomeModuleComfortInfo)(nil), // 1: HomeModuleComfortInfo +} +var file_HomeComfortInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeComfortInfoNotify.module_info_list:type_name -> HomeModuleComfortInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeComfortInfoNotify_proto_init() } +func file_HomeComfortInfoNotify_proto_init() { + if File_HomeComfortInfoNotify_proto != nil { + return + } + file_HomeModuleComfortInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeComfortInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeComfortInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeComfortInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeComfortInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeComfortInfoNotify_proto_depIdxs, + MessageInfos: file_HomeComfortInfoNotify_proto_msgTypes, + }.Build() + File_HomeComfortInfoNotify_proto = out.File + file_HomeComfortInfoNotify_proto_rawDesc = nil + file_HomeComfortInfoNotify_proto_goTypes = nil + file_HomeComfortInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeComfortInfoNotify.proto b/gate-hk4e-api/proto/HomeComfortInfoNotify.proto new file mode 100644 index 00000000..1506c3e1 --- /dev/null +++ b/gate-hk4e-api/proto/HomeComfortInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeModuleComfortInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4699 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeComfortInfoNotify { + repeated HomeModuleComfortInfo module_info_list = 6; +} diff --git a/gate-hk4e-api/proto/HomeCustomFurnitureInfo.pb.go b/gate-hk4e-api/proto/HomeCustomFurnitureInfo.pb.go new file mode 100644 index 00000000..51deeb74 --- /dev/null +++ b/gate-hk4e-api/proto/HomeCustomFurnitureInfo.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeCustomFurnitureInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeCustomFurnitureInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubFurnitureList []*CustomCommonNodeInfo `protobuf:"bytes,12,rep,name=sub_furniture_list,json=subFurnitureList,proto3" json:"sub_furniture_list,omitempty"` + Guid uint32 `protobuf:"varint,6,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *HomeCustomFurnitureInfo) Reset() { + *x = HomeCustomFurnitureInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeCustomFurnitureInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeCustomFurnitureInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeCustomFurnitureInfo) ProtoMessage() {} + +func (x *HomeCustomFurnitureInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeCustomFurnitureInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeCustomFurnitureInfo.ProtoReflect.Descriptor instead. +func (*HomeCustomFurnitureInfo) Descriptor() ([]byte, []int) { + return file_HomeCustomFurnitureInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeCustomFurnitureInfo) GetSubFurnitureList() []*CustomCommonNodeInfo { + if x != nil { + return x.SubFurnitureList + } + return nil +} + +func (x *HomeCustomFurnitureInfo) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_HomeCustomFurnitureInfo_proto protoreflect.FileDescriptor + +var file_HomeCustomFurnitureInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x17, 0x48, + 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x5f, 0x66, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x73, 0x75, 0x62, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HomeCustomFurnitureInfo_proto_rawDescOnce sync.Once + file_HomeCustomFurnitureInfo_proto_rawDescData = file_HomeCustomFurnitureInfo_proto_rawDesc +) + +func file_HomeCustomFurnitureInfo_proto_rawDescGZIP() []byte { + file_HomeCustomFurnitureInfo_proto_rawDescOnce.Do(func() { + file_HomeCustomFurnitureInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeCustomFurnitureInfo_proto_rawDescData) + }) + return file_HomeCustomFurnitureInfo_proto_rawDescData +} + +var file_HomeCustomFurnitureInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeCustomFurnitureInfo_proto_goTypes = []interface{}{ + (*HomeCustomFurnitureInfo)(nil), // 0: HomeCustomFurnitureInfo + (*CustomCommonNodeInfo)(nil), // 1: CustomCommonNodeInfo +} +var file_HomeCustomFurnitureInfo_proto_depIdxs = []int32{ + 1, // 0: HomeCustomFurnitureInfo.sub_furniture_list:type_name -> CustomCommonNodeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeCustomFurnitureInfo_proto_init() } +func file_HomeCustomFurnitureInfo_proto_init() { + if File_HomeCustomFurnitureInfo_proto != nil { + return + } + file_CustomCommonNodeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeCustomFurnitureInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeCustomFurnitureInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeCustomFurnitureInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeCustomFurnitureInfo_proto_goTypes, + DependencyIndexes: file_HomeCustomFurnitureInfo_proto_depIdxs, + MessageInfos: file_HomeCustomFurnitureInfo_proto_msgTypes, + }.Build() + File_HomeCustomFurnitureInfo_proto = out.File + file_HomeCustomFurnitureInfo_proto_rawDesc = nil + file_HomeCustomFurnitureInfo_proto_goTypes = nil + file_HomeCustomFurnitureInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeCustomFurnitureInfo.proto b/gate-hk4e-api/proto/HomeCustomFurnitureInfo.proto new file mode 100644 index 00000000..fd11f110 --- /dev/null +++ b/gate-hk4e-api/proto/HomeCustomFurnitureInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomCommonNodeInfo.proto"; + +option go_package = "./;proto"; + +message HomeCustomFurnitureInfo { + repeated CustomCommonNodeInfo sub_furniture_list = 12; + uint32 guid = 6; +} diff --git a/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.pb.go b/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.pb.go new file mode 100644 index 00000000..a2d0369b --- /dev/null +++ b/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeCustomFurnitureInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4712 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeCustomFurnitureInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteCustomFurnitureList []uint32 `protobuf:"varint,4,rep,packed,name=delete_custom_furniture_list,json=deleteCustomFurnitureList,proto3" json:"delete_custom_furniture_list,omitempty"` + UsedSubFurnitureCountMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=used_sub_furniture_count_map,json=usedSubFurnitureCountMap,proto3" json:"used_sub_furniture_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CustomFurnitureInfoList []*HomeCustomFurnitureInfo `protobuf:"bytes,11,rep,name=custom_furniture_info_list,json=customFurnitureInfoList,proto3" json:"custom_furniture_info_list,omitempty"` +} + +func (x *HomeCustomFurnitureInfoNotify) Reset() { + *x = HomeCustomFurnitureInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeCustomFurnitureInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeCustomFurnitureInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeCustomFurnitureInfoNotify) ProtoMessage() {} + +func (x *HomeCustomFurnitureInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeCustomFurnitureInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeCustomFurnitureInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeCustomFurnitureInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeCustomFurnitureInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeCustomFurnitureInfoNotify) GetDeleteCustomFurnitureList() []uint32 { + if x != nil { + return x.DeleteCustomFurnitureList + } + return nil +} + +func (x *HomeCustomFurnitureInfoNotify) GetUsedSubFurnitureCountMap() map[uint32]uint32 { + if x != nil { + return x.UsedSubFurnitureCountMap + } + return nil +} + +func (x *HomeCustomFurnitureInfoNotify) GetCustomFurnitureInfoList() []*HomeCustomFurnitureInfo { + if x != nil { + return x.CustomFurnitureInfoList + } + return nil +} + +var File_HomeCustomFurnitureInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeCustomFurnitureInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x03, 0x0a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3f, 0x0a, 0x1c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x19, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x1c, 0x75, 0x73, 0x65, 0x64, 0x5f, + 0x73, 0x75, 0x62, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, + 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x64, 0x53, 0x75, 0x62, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x75, 0x73, 0x65, + 0x64, 0x53, 0x75, 0x62, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x55, 0x0a, 0x1a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, + 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x48, 0x6f, 0x6d, 0x65, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x17, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x4b, 0x0a, 0x1d, + 0x55, 0x73, 0x65, 0x64, 0x53, 0x75, 0x62, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeCustomFurnitureInfoNotify_proto_rawDescOnce sync.Once + file_HomeCustomFurnitureInfoNotify_proto_rawDescData = file_HomeCustomFurnitureInfoNotify_proto_rawDesc +) + +func file_HomeCustomFurnitureInfoNotify_proto_rawDescGZIP() []byte { + file_HomeCustomFurnitureInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeCustomFurnitureInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeCustomFurnitureInfoNotify_proto_rawDescData) + }) + return file_HomeCustomFurnitureInfoNotify_proto_rawDescData +} + +var file_HomeCustomFurnitureInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_HomeCustomFurnitureInfoNotify_proto_goTypes = []interface{}{ + (*HomeCustomFurnitureInfoNotify)(nil), // 0: HomeCustomFurnitureInfoNotify + nil, // 1: HomeCustomFurnitureInfoNotify.UsedSubFurnitureCountMapEntry + (*HomeCustomFurnitureInfo)(nil), // 2: HomeCustomFurnitureInfo +} +var file_HomeCustomFurnitureInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeCustomFurnitureInfoNotify.used_sub_furniture_count_map:type_name -> HomeCustomFurnitureInfoNotify.UsedSubFurnitureCountMapEntry + 2, // 1: HomeCustomFurnitureInfoNotify.custom_furniture_info_list:type_name -> HomeCustomFurnitureInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeCustomFurnitureInfoNotify_proto_init() } +func file_HomeCustomFurnitureInfoNotify_proto_init() { + if File_HomeCustomFurnitureInfoNotify_proto != nil { + return + } + file_HomeCustomFurnitureInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeCustomFurnitureInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeCustomFurnitureInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeCustomFurnitureInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeCustomFurnitureInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeCustomFurnitureInfoNotify_proto_depIdxs, + MessageInfos: file_HomeCustomFurnitureInfoNotify_proto_msgTypes, + }.Build() + File_HomeCustomFurnitureInfoNotify_proto = out.File + file_HomeCustomFurnitureInfoNotify_proto_rawDesc = nil + file_HomeCustomFurnitureInfoNotify_proto_goTypes = nil + file_HomeCustomFurnitureInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.proto b/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.proto new file mode 100644 index 00000000..59b047e8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeCustomFurnitureInfoNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeCustomFurnitureInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4712 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeCustomFurnitureInfoNotify { + repeated uint32 delete_custom_furniture_list = 4; + map used_sub_furniture_count_map = 15; + repeated HomeCustomFurnitureInfo custom_furniture_info_list = 11; +} diff --git a/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.pb.go b/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.pb.go new file mode 100644 index 00000000..e9e27528 --- /dev/null +++ b/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeEditCustomFurnitureReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4724 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeEditCustomFurnitureReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CustomFurnitureInfo *HomeCustomFurnitureInfo `protobuf:"bytes,15,opt,name=custom_furniture_info,json=customFurnitureInfo,proto3" json:"custom_furniture_info,omitempty"` +} + +func (x *HomeEditCustomFurnitureReq) Reset() { + *x = HomeEditCustomFurnitureReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeEditCustomFurnitureReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeEditCustomFurnitureReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeEditCustomFurnitureReq) ProtoMessage() {} + +func (x *HomeEditCustomFurnitureReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeEditCustomFurnitureReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeEditCustomFurnitureReq.ProtoReflect.Descriptor instead. +func (*HomeEditCustomFurnitureReq) Descriptor() ([]byte, []int) { + return file_HomeEditCustomFurnitureReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeEditCustomFurnitureReq) GetCustomFurnitureInfo() *HomeCustomFurnitureInfo { + if x != nil { + return x.CustomFurnitureInfo + } + return nil +} + +var File_HomeEditCustomFurnitureReq_proto protoreflect.FileDescriptor + +var file_HomeEditCustomFurnitureReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x45, 0x64, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x6a, 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x45, 0x64, 0x69, 0x74, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, + 0x4c, 0x0a, 0x15, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeEditCustomFurnitureReq_proto_rawDescOnce sync.Once + file_HomeEditCustomFurnitureReq_proto_rawDescData = file_HomeEditCustomFurnitureReq_proto_rawDesc +) + +func file_HomeEditCustomFurnitureReq_proto_rawDescGZIP() []byte { + file_HomeEditCustomFurnitureReq_proto_rawDescOnce.Do(func() { + file_HomeEditCustomFurnitureReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeEditCustomFurnitureReq_proto_rawDescData) + }) + return file_HomeEditCustomFurnitureReq_proto_rawDescData +} + +var file_HomeEditCustomFurnitureReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeEditCustomFurnitureReq_proto_goTypes = []interface{}{ + (*HomeEditCustomFurnitureReq)(nil), // 0: HomeEditCustomFurnitureReq + (*HomeCustomFurnitureInfo)(nil), // 1: HomeCustomFurnitureInfo +} +var file_HomeEditCustomFurnitureReq_proto_depIdxs = []int32{ + 1, // 0: HomeEditCustomFurnitureReq.custom_furniture_info:type_name -> HomeCustomFurnitureInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeEditCustomFurnitureReq_proto_init() } +func file_HomeEditCustomFurnitureReq_proto_init() { + if File_HomeEditCustomFurnitureReq_proto != nil { + return + } + file_HomeCustomFurnitureInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeEditCustomFurnitureReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeEditCustomFurnitureReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeEditCustomFurnitureReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeEditCustomFurnitureReq_proto_goTypes, + DependencyIndexes: file_HomeEditCustomFurnitureReq_proto_depIdxs, + MessageInfos: file_HomeEditCustomFurnitureReq_proto_msgTypes, + }.Build() + File_HomeEditCustomFurnitureReq_proto = out.File + file_HomeEditCustomFurnitureReq_proto_rawDesc = nil + file_HomeEditCustomFurnitureReq_proto_goTypes = nil + file_HomeEditCustomFurnitureReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.proto b/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.proto new file mode 100644 index 00000000..9f21f9e9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeEditCustomFurnitureReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeCustomFurnitureInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4724 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeEditCustomFurnitureReq { + HomeCustomFurnitureInfo custom_furniture_info = 15; +} diff --git a/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.pb.go b/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.pb.go new file mode 100644 index 00000000..654feb61 --- /dev/null +++ b/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeEditCustomFurnitureRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4496 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeEditCustomFurnitureRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CustomFurnitureInfo *HomeCustomFurnitureInfo `protobuf:"bytes,11,opt,name=custom_furniture_info,json=customFurnitureInfo,proto3" json:"custom_furniture_info,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeEditCustomFurnitureRsp) Reset() { + *x = HomeEditCustomFurnitureRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeEditCustomFurnitureRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeEditCustomFurnitureRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeEditCustomFurnitureRsp) ProtoMessage() {} + +func (x *HomeEditCustomFurnitureRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeEditCustomFurnitureRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeEditCustomFurnitureRsp.ProtoReflect.Descriptor instead. +func (*HomeEditCustomFurnitureRsp) Descriptor() ([]byte, []int) { + return file_HomeEditCustomFurnitureRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeEditCustomFurnitureRsp) GetCustomFurnitureInfo() *HomeCustomFurnitureInfo { + if x != nil { + return x.CustomFurnitureInfo + } + return nil +} + +func (x *HomeEditCustomFurnitureRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeEditCustomFurnitureRsp_proto protoreflect.FileDescriptor + +var file_HomeEditCustomFurnitureRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x45, 0x64, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x45, 0x64, 0x69, 0x74, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x4c, 0x0a, 0x15, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeEditCustomFurnitureRsp_proto_rawDescOnce sync.Once + file_HomeEditCustomFurnitureRsp_proto_rawDescData = file_HomeEditCustomFurnitureRsp_proto_rawDesc +) + +func file_HomeEditCustomFurnitureRsp_proto_rawDescGZIP() []byte { + file_HomeEditCustomFurnitureRsp_proto_rawDescOnce.Do(func() { + file_HomeEditCustomFurnitureRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeEditCustomFurnitureRsp_proto_rawDescData) + }) + return file_HomeEditCustomFurnitureRsp_proto_rawDescData +} + +var file_HomeEditCustomFurnitureRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeEditCustomFurnitureRsp_proto_goTypes = []interface{}{ + (*HomeEditCustomFurnitureRsp)(nil), // 0: HomeEditCustomFurnitureRsp + (*HomeCustomFurnitureInfo)(nil), // 1: HomeCustomFurnitureInfo +} +var file_HomeEditCustomFurnitureRsp_proto_depIdxs = []int32{ + 1, // 0: HomeEditCustomFurnitureRsp.custom_furniture_info:type_name -> HomeCustomFurnitureInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeEditCustomFurnitureRsp_proto_init() } +func file_HomeEditCustomFurnitureRsp_proto_init() { + if File_HomeEditCustomFurnitureRsp_proto != nil { + return + } + file_HomeCustomFurnitureInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeEditCustomFurnitureRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeEditCustomFurnitureRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeEditCustomFurnitureRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeEditCustomFurnitureRsp_proto_goTypes, + DependencyIndexes: file_HomeEditCustomFurnitureRsp_proto_depIdxs, + MessageInfos: file_HomeEditCustomFurnitureRsp_proto_msgTypes, + }.Build() + File_HomeEditCustomFurnitureRsp_proto = out.File + file_HomeEditCustomFurnitureRsp_proto_rawDesc = nil + file_HomeEditCustomFurnitureRsp_proto_goTypes = nil + file_HomeEditCustomFurnitureRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.proto b/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.proto new file mode 100644 index 00000000..1fd99b49 --- /dev/null +++ b/gate-hk4e-api/proto/HomeEditCustomFurnitureRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeCustomFurnitureInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4496 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeEditCustomFurnitureRsp { + HomeCustomFurnitureInfo custom_furniture_info = 11; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/HomeFishFarmingInfo.pb.go b/gate-hk4e-api/proto/HomeFishFarmingInfo.pb.go new file mode 100644 index 00000000..459c1807 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFishFarmingInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeFishFarmingInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeFishFarmingInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishIdList []uint32 `protobuf:"varint,11,rep,packed,name=fish_id_list,json=fishIdList,proto3" json:"fish_id_list,omitempty"` + FishpondGuid uint32 `protobuf:"varint,14,opt,name=fishpond_guid,json=fishpondGuid,proto3" json:"fishpond_guid,omitempty"` +} + +func (x *HomeFishFarmingInfo) Reset() { + *x = HomeFishFarmingInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeFishFarmingInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeFishFarmingInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeFishFarmingInfo) ProtoMessage() {} + +func (x *HomeFishFarmingInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeFishFarmingInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeFishFarmingInfo.ProtoReflect.Descriptor instead. +func (*HomeFishFarmingInfo) Descriptor() ([]byte, []int) { + return file_HomeFishFarmingInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeFishFarmingInfo) GetFishIdList() []uint32 { + if x != nil { + return x.FishIdList + } + return nil +} + +func (x *HomeFishFarmingInfo) GetFishpondGuid() uint32 { + if x != nil { + return x.FishpondGuid + } + return 0 +} + +var File_HomeFishFarmingInfo_proto protoreflect.FileDescriptor + +var file_HomeFishFarmingInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, + 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x73, 0x68, 0x70, 0x6f, 0x6e, 0x64, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x69, 0x73, + 0x68, 0x70, 0x6f, 0x6e, 0x64, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeFishFarmingInfo_proto_rawDescOnce sync.Once + file_HomeFishFarmingInfo_proto_rawDescData = file_HomeFishFarmingInfo_proto_rawDesc +) + +func file_HomeFishFarmingInfo_proto_rawDescGZIP() []byte { + file_HomeFishFarmingInfo_proto_rawDescOnce.Do(func() { + file_HomeFishFarmingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeFishFarmingInfo_proto_rawDescData) + }) + return file_HomeFishFarmingInfo_proto_rawDescData +} + +var file_HomeFishFarmingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeFishFarmingInfo_proto_goTypes = []interface{}{ + (*HomeFishFarmingInfo)(nil), // 0: HomeFishFarmingInfo +} +var file_HomeFishFarmingInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeFishFarmingInfo_proto_init() } +func file_HomeFishFarmingInfo_proto_init() { + if File_HomeFishFarmingInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeFishFarmingInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeFishFarmingInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeFishFarmingInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeFishFarmingInfo_proto_goTypes, + DependencyIndexes: file_HomeFishFarmingInfo_proto_depIdxs, + MessageInfos: file_HomeFishFarmingInfo_proto_msgTypes, + }.Build() + File_HomeFishFarmingInfo_proto = out.File + file_HomeFishFarmingInfo_proto_rawDesc = nil + file_HomeFishFarmingInfo_proto_goTypes = nil + file_HomeFishFarmingInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeFishFarmingInfo.proto b/gate-hk4e-api/proto/HomeFishFarmingInfo.proto new file mode 100644 index 00000000..8940a852 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFishFarmingInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeFishFarmingInfo { + repeated uint32 fish_id_list = 11; + uint32 fishpond_guid = 14; +} diff --git a/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.pb.go b/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.pb.go new file mode 100644 index 00000000..2df5a0f5 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeFishFarmingInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4677 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeFishFarmingInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishFarmingInfoList []*HomeFishFarmingInfo `protobuf:"bytes,15,rep,name=fish_farming_info_list,json=fishFarmingInfoList,proto3" json:"fish_farming_info_list,omitempty"` +} + +func (x *HomeFishFarmingInfoNotify) Reset() { + *x = HomeFishFarmingInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeFishFarmingInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeFishFarmingInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeFishFarmingInfoNotify) ProtoMessage() {} + +func (x *HomeFishFarmingInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeFishFarmingInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeFishFarmingInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeFishFarmingInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeFishFarmingInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeFishFarmingInfoNotify) GetFishFarmingInfoList() []*HomeFishFarmingInfo { + if x != nil { + return x.FishFarmingInfoList + } + return nil +} + +var File_HomeFishFarmingInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeFishFarmingInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, + 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, + 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x19, + 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x49, 0x0a, 0x16, 0x66, 0x69, 0x73, + 0x68, 0x5f, 0x66, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, 0x65, + 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x13, 0x66, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeFishFarmingInfoNotify_proto_rawDescOnce sync.Once + file_HomeFishFarmingInfoNotify_proto_rawDescData = file_HomeFishFarmingInfoNotify_proto_rawDesc +) + +func file_HomeFishFarmingInfoNotify_proto_rawDescGZIP() []byte { + file_HomeFishFarmingInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeFishFarmingInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeFishFarmingInfoNotify_proto_rawDescData) + }) + return file_HomeFishFarmingInfoNotify_proto_rawDescData +} + +var file_HomeFishFarmingInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeFishFarmingInfoNotify_proto_goTypes = []interface{}{ + (*HomeFishFarmingInfoNotify)(nil), // 0: HomeFishFarmingInfoNotify + (*HomeFishFarmingInfo)(nil), // 1: HomeFishFarmingInfo +} +var file_HomeFishFarmingInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeFishFarmingInfoNotify.fish_farming_info_list:type_name -> HomeFishFarmingInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeFishFarmingInfoNotify_proto_init() } +func file_HomeFishFarmingInfoNotify_proto_init() { + if File_HomeFishFarmingInfoNotify_proto != nil { + return + } + file_HomeFishFarmingInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeFishFarmingInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeFishFarmingInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeFishFarmingInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeFishFarmingInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeFishFarmingInfoNotify_proto_depIdxs, + MessageInfos: file_HomeFishFarmingInfoNotify_proto_msgTypes, + }.Build() + File_HomeFishFarmingInfoNotify_proto = out.File + file_HomeFishFarmingInfoNotify_proto_rawDesc = nil + file_HomeFishFarmingInfoNotify_proto_goTypes = nil + file_HomeFishFarmingInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.proto b/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.proto new file mode 100644 index 00000000..5af51693 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFishFarmingInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFishFarmingInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4677 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeFishFarmingInfoNotify { + repeated HomeFishFarmingInfo fish_farming_info_list = 15; +} diff --git a/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.pb.go b/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.pb.go new file mode 100644 index 00000000..87e32dc3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeFurnitureArrangementMuipData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeFurnitureArrangementMuipData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureId uint32 `protobuf:"varint,1,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + SpawnPos *Vector `protobuf:"bytes,2,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` + SpawnRot *Vector `protobuf:"bytes,3,opt,name=spawn_rot,json=spawnRot,proto3" json:"spawn_rot,omitempty"` +} + +func (x *HomeFurnitureArrangementMuipData) Reset() { + *x = HomeFurnitureArrangementMuipData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeFurnitureArrangementMuipData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeFurnitureArrangementMuipData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeFurnitureArrangementMuipData) ProtoMessage() {} + +func (x *HomeFurnitureArrangementMuipData) ProtoReflect() protoreflect.Message { + mi := &file_HomeFurnitureArrangementMuipData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeFurnitureArrangementMuipData.ProtoReflect.Descriptor instead. +func (*HomeFurnitureArrangementMuipData) Descriptor() ([]byte, []int) { + return file_HomeFurnitureArrangementMuipData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeFurnitureArrangementMuipData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomeFurnitureArrangementMuipData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +func (x *HomeFurnitureArrangementMuipData) GetSpawnRot() *Vector { + if x != nil { + return x.SpawnRot + } + return nil +} + +var File_HomeFurnitureArrangementMuipData_proto protoreflect.FileDescriptor + +var file_HomeFurnitureArrangementMuipData_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x41, + 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x24, + 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, + 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x72, 0x6f, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x52, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeFurnitureArrangementMuipData_proto_rawDescOnce sync.Once + file_HomeFurnitureArrangementMuipData_proto_rawDescData = file_HomeFurnitureArrangementMuipData_proto_rawDesc +) + +func file_HomeFurnitureArrangementMuipData_proto_rawDescGZIP() []byte { + file_HomeFurnitureArrangementMuipData_proto_rawDescOnce.Do(func() { + file_HomeFurnitureArrangementMuipData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeFurnitureArrangementMuipData_proto_rawDescData) + }) + return file_HomeFurnitureArrangementMuipData_proto_rawDescData +} + +var file_HomeFurnitureArrangementMuipData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeFurnitureArrangementMuipData_proto_goTypes = []interface{}{ + (*HomeFurnitureArrangementMuipData)(nil), // 0: HomeFurnitureArrangementMuipData + (*Vector)(nil), // 1: Vector +} +var file_HomeFurnitureArrangementMuipData_proto_depIdxs = []int32{ + 1, // 0: HomeFurnitureArrangementMuipData.spawn_pos:type_name -> Vector + 1, // 1: HomeFurnitureArrangementMuipData.spawn_rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeFurnitureArrangementMuipData_proto_init() } +func file_HomeFurnitureArrangementMuipData_proto_init() { + if File_HomeFurnitureArrangementMuipData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeFurnitureArrangementMuipData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeFurnitureArrangementMuipData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeFurnitureArrangementMuipData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeFurnitureArrangementMuipData_proto_goTypes, + DependencyIndexes: file_HomeFurnitureArrangementMuipData_proto_depIdxs, + MessageInfos: file_HomeFurnitureArrangementMuipData_proto_msgTypes, + }.Build() + File_HomeFurnitureArrangementMuipData_proto = out.File + file_HomeFurnitureArrangementMuipData_proto_rawDesc = nil + file_HomeFurnitureArrangementMuipData_proto_goTypes = nil + file_HomeFurnitureArrangementMuipData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.proto b/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.proto new file mode 100644 index 00000000..66ab7509 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureArrangementMuipData.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeFurnitureArrangementMuipData { + uint32 furniture_id = 1; + Vector spawn_pos = 2; + Vector spawn_rot = 3; +} diff --git a/gate-hk4e-api/proto/HomeFurnitureData.pb.go b/gate-hk4e-api/proto/HomeFurnitureData.pb.go new file mode 100644 index 00000000..2850eb28 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureData.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeFurnitureData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeFurnitureData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version uint32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` + ParentFurnitureIndex int32 `protobuf:"varint,3,opt,name=parent_furniture_index,json=parentFurnitureIndex,proto3" json:"parent_furniture_index,omitempty"` + FurnitureId uint32 `protobuf:"varint,4,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + Guid uint32 `protobuf:"varint,9,opt,name=guid,proto3" json:"guid,omitempty"` + SpawnRot *Vector `protobuf:"bytes,10,opt,name=spawn_rot,json=spawnRot,proto3" json:"spawn_rot,omitempty"` + SpawnPos *Vector `protobuf:"bytes,8,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` +} + +func (x *HomeFurnitureData) Reset() { + *x = HomeFurnitureData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeFurnitureData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeFurnitureData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeFurnitureData) ProtoMessage() {} + +func (x *HomeFurnitureData) ProtoReflect() protoreflect.Message { + mi := &file_HomeFurnitureData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeFurnitureData.ProtoReflect.Descriptor instead. +func (*HomeFurnitureData) Descriptor() ([]byte, []int) { + return file_HomeFurnitureData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeFurnitureData) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *HomeFurnitureData) GetParentFurnitureIndex() int32 { + if x != nil { + return x.ParentFurnitureIndex + } + return 0 +} + +func (x *HomeFurnitureData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomeFurnitureData) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeFurnitureData) GetSpawnRot() *Vector { + if x != nil { + return x.SpawnRot + } + return nil +} + +func (x *HomeFurnitureData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +var File_HomeFurnitureData_proto protoreflect.FileDescriptor + +var file_HomeFurnitureData_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x11, 0x48, 0x6f, 0x6d, 0x65, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, + 0x0c, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x72, 0x6f, + 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x52, 0x6f, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, + 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x50, 0x6f, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeFurnitureData_proto_rawDescOnce sync.Once + file_HomeFurnitureData_proto_rawDescData = file_HomeFurnitureData_proto_rawDesc +) + +func file_HomeFurnitureData_proto_rawDescGZIP() []byte { + file_HomeFurnitureData_proto_rawDescOnce.Do(func() { + file_HomeFurnitureData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeFurnitureData_proto_rawDescData) + }) + return file_HomeFurnitureData_proto_rawDescData +} + +var file_HomeFurnitureData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeFurnitureData_proto_goTypes = []interface{}{ + (*HomeFurnitureData)(nil), // 0: HomeFurnitureData + (*Vector)(nil), // 1: Vector +} +var file_HomeFurnitureData_proto_depIdxs = []int32{ + 1, // 0: HomeFurnitureData.spawn_rot:type_name -> Vector + 1, // 1: HomeFurnitureData.spawn_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeFurnitureData_proto_init() } +func file_HomeFurnitureData_proto_init() { + if File_HomeFurnitureData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeFurnitureData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeFurnitureData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeFurnitureData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeFurnitureData_proto_goTypes, + DependencyIndexes: file_HomeFurnitureData_proto_depIdxs, + MessageInfos: file_HomeFurnitureData_proto_msgTypes, + }.Build() + File_HomeFurnitureData_proto = out.File + file_HomeFurnitureData_proto_rawDesc = nil + file_HomeFurnitureData_proto_goTypes = nil + file_HomeFurnitureData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeFurnitureData.proto b/gate-hk4e-api/proto/HomeFurnitureData.proto new file mode 100644 index 00000000..4f3e67b1 --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureData.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeFurnitureData { + uint32 version = 6; + int32 parent_furniture_index = 3; + uint32 furniture_id = 4; + uint32 guid = 9; + Vector spawn_rot = 10; + Vector spawn_pos = 8; +} diff --git a/gate-hk4e-api/proto/HomeFurnitureSuiteData.pb.go b/gate-hk4e-api/proto/HomeFurnitureSuiteData.pb.go new file mode 100644 index 00000000..22d7fd3c --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureSuiteData.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeFurnitureSuiteData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeFurnitureSuiteData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAllowSummon bool `protobuf:"varint,10,opt,name=is_allow_summon,json=isAllowSummon,proto3" json:"is_allow_summon,omitempty"` + SuiteId uint32 `protobuf:"varint,6,opt,name=suite_id,json=suiteId,proto3" json:"suite_id,omitempty"` + SpawnPos *Vector `protobuf:"bytes,8,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` + Guid uint32 `protobuf:"varint,13,opt,name=guid,proto3" json:"guid,omitempty"` + IncludedFurnitureIndexList []int32 `protobuf:"varint,1,rep,packed,name=included_furniture_index_list,json=includedFurnitureIndexList,proto3" json:"included_furniture_index_list,omitempty"` +} + +func (x *HomeFurnitureSuiteData) Reset() { + *x = HomeFurnitureSuiteData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeFurnitureSuiteData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeFurnitureSuiteData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeFurnitureSuiteData) ProtoMessage() {} + +func (x *HomeFurnitureSuiteData) ProtoReflect() protoreflect.Message { + mi := &file_HomeFurnitureSuiteData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeFurnitureSuiteData.ProtoReflect.Descriptor instead. +func (*HomeFurnitureSuiteData) Descriptor() ([]byte, []int) { + return file_HomeFurnitureSuiteData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeFurnitureSuiteData) GetIsAllowSummon() bool { + if x != nil { + return x.IsAllowSummon + } + return false +} + +func (x *HomeFurnitureSuiteData) GetSuiteId() uint32 { + if x != nil { + return x.SuiteId + } + return 0 +} + +func (x *HomeFurnitureSuiteData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +func (x *HomeFurnitureSuiteData) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeFurnitureSuiteData) GetIncludedFurnitureIndexList() []int32 { + if x != nil { + return x.IncludedFurnitureIndexList + } + return nil +} + +var File_HomeFurnitureSuiteData_proto protoreflect.FileDescriptor + +var file_HomeFurnitureSuiteData_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, + 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, + 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0d, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x75, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x75, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, + 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x50, 0x6f, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x12, 0x41, 0x0a, 0x1d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, + 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x1a, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeFurnitureSuiteData_proto_rawDescOnce sync.Once + file_HomeFurnitureSuiteData_proto_rawDescData = file_HomeFurnitureSuiteData_proto_rawDesc +) + +func file_HomeFurnitureSuiteData_proto_rawDescGZIP() []byte { + file_HomeFurnitureSuiteData_proto_rawDescOnce.Do(func() { + file_HomeFurnitureSuiteData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeFurnitureSuiteData_proto_rawDescData) + }) + return file_HomeFurnitureSuiteData_proto_rawDescData +} + +var file_HomeFurnitureSuiteData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeFurnitureSuiteData_proto_goTypes = []interface{}{ + (*HomeFurnitureSuiteData)(nil), // 0: HomeFurnitureSuiteData + (*Vector)(nil), // 1: Vector +} +var file_HomeFurnitureSuiteData_proto_depIdxs = []int32{ + 1, // 0: HomeFurnitureSuiteData.spawn_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeFurnitureSuiteData_proto_init() } +func file_HomeFurnitureSuiteData_proto_init() { + if File_HomeFurnitureSuiteData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeFurnitureSuiteData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeFurnitureSuiteData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeFurnitureSuiteData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeFurnitureSuiteData_proto_goTypes, + DependencyIndexes: file_HomeFurnitureSuiteData_proto_depIdxs, + MessageInfos: file_HomeFurnitureSuiteData_proto_msgTypes, + }.Build() + File_HomeFurnitureSuiteData_proto = out.File + file_HomeFurnitureSuiteData_proto_rawDesc = nil + file_HomeFurnitureSuiteData_proto_goTypes = nil + file_HomeFurnitureSuiteData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeFurnitureSuiteData.proto b/gate-hk4e-api/proto/HomeFurnitureSuiteData.proto new file mode 100644 index 00000000..0d29421b --- /dev/null +++ b/gate-hk4e-api/proto/HomeFurnitureSuiteData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeFurnitureSuiteData { + bool is_allow_summon = 10; + uint32 suite_id = 6; + Vector spawn_pos = 8; + uint32 guid = 13; + repeated int32 included_furniture_index_list = 1; +} diff --git a/gate-hk4e-api/proto/HomeGetArrangementInfoReq.pb.go b/gate-hk4e-api/proto/HomeGetArrangementInfoReq.pb.go new file mode 100644 index 00000000..17f18488 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetArrangementInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetArrangementInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4848 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeGetArrangementInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneIdList []uint32 `protobuf:"varint,13,rep,packed,name=scene_id_list,json=sceneIdList,proto3" json:"scene_id_list,omitempty"` +} + +func (x *HomeGetArrangementInfoReq) Reset() { + *x = HomeGetArrangementInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetArrangementInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetArrangementInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetArrangementInfoReq) ProtoMessage() {} + +func (x *HomeGetArrangementInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetArrangementInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetArrangementInfoReq.ProtoReflect.Descriptor instead. +func (*HomeGetArrangementInfoReq) Descriptor() ([]byte, []int) { + return file_HomeGetArrangementInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeGetArrangementInfoReq) GetSceneIdList() []uint32 { + if x != nil { + return x.SceneIdList + } + return nil +} + +var File_HomeGetArrangementInfoReq_proto protoreflect.FileDescriptor + +var file_HomeGetArrangementInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3f, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x41, 0x72, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x22, + 0x0a, 0x0d, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetArrangementInfoReq_proto_rawDescOnce sync.Once + file_HomeGetArrangementInfoReq_proto_rawDescData = file_HomeGetArrangementInfoReq_proto_rawDesc +) + +func file_HomeGetArrangementInfoReq_proto_rawDescGZIP() []byte { + file_HomeGetArrangementInfoReq_proto_rawDescOnce.Do(func() { + file_HomeGetArrangementInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetArrangementInfoReq_proto_rawDescData) + }) + return file_HomeGetArrangementInfoReq_proto_rawDescData +} + +var file_HomeGetArrangementInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetArrangementInfoReq_proto_goTypes = []interface{}{ + (*HomeGetArrangementInfoReq)(nil), // 0: HomeGetArrangementInfoReq +} +var file_HomeGetArrangementInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeGetArrangementInfoReq_proto_init() } +func file_HomeGetArrangementInfoReq_proto_init() { + if File_HomeGetArrangementInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeGetArrangementInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetArrangementInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetArrangementInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetArrangementInfoReq_proto_goTypes, + DependencyIndexes: file_HomeGetArrangementInfoReq_proto_depIdxs, + MessageInfos: file_HomeGetArrangementInfoReq_proto_msgTypes, + }.Build() + File_HomeGetArrangementInfoReq_proto = out.File + file_HomeGetArrangementInfoReq_proto_rawDesc = nil + file_HomeGetArrangementInfoReq_proto_goTypes = nil + file_HomeGetArrangementInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetArrangementInfoReq.proto b/gate-hk4e-api/proto/HomeGetArrangementInfoReq.proto new file mode 100644 index 00000000..279292f2 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetArrangementInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4848 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeGetArrangementInfoReq { + repeated uint32 scene_id_list = 13; +} diff --git a/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.pb.go b/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.pb.go new file mode 100644 index 00000000..5d193fa7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetArrangementInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4844 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeGetArrangementInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + SceneArrangementInfoList []*HomeSceneArrangementInfo `protobuf:"bytes,14,rep,name=scene_arrangement_info_list,json=sceneArrangementInfoList,proto3" json:"scene_arrangement_info_list,omitempty"` +} + +func (x *HomeGetArrangementInfoRsp) Reset() { + *x = HomeGetArrangementInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetArrangementInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetArrangementInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetArrangementInfoRsp) ProtoMessage() {} + +func (x *HomeGetArrangementInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetArrangementInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetArrangementInfoRsp.ProtoReflect.Descriptor instead. +func (*HomeGetArrangementInfoRsp) Descriptor() ([]byte, []int) { + return file_HomeGetArrangementInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeGetArrangementInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeGetArrangementInfoRsp) GetSceneArrangementInfoList() []*HomeSceneArrangementInfo { + if x != nil { + return x.SceneArrangementInfoList + } + return nil +} + +var File_HomeGetArrangementInfoRsp_proto protoreflect.FileDescriptor + +var file_HomeGetArrangementInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x41, 0x72, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x58, 0x0a, 0x1b, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x18, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetArrangementInfoRsp_proto_rawDescOnce sync.Once + file_HomeGetArrangementInfoRsp_proto_rawDescData = file_HomeGetArrangementInfoRsp_proto_rawDesc +) + +func file_HomeGetArrangementInfoRsp_proto_rawDescGZIP() []byte { + file_HomeGetArrangementInfoRsp_proto_rawDescOnce.Do(func() { + file_HomeGetArrangementInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetArrangementInfoRsp_proto_rawDescData) + }) + return file_HomeGetArrangementInfoRsp_proto_rawDescData +} + +var file_HomeGetArrangementInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetArrangementInfoRsp_proto_goTypes = []interface{}{ + (*HomeGetArrangementInfoRsp)(nil), // 0: HomeGetArrangementInfoRsp + (*HomeSceneArrangementInfo)(nil), // 1: HomeSceneArrangementInfo +} +var file_HomeGetArrangementInfoRsp_proto_depIdxs = []int32{ + 1, // 0: HomeGetArrangementInfoRsp.scene_arrangement_info_list:type_name -> HomeSceneArrangementInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeGetArrangementInfoRsp_proto_init() } +func file_HomeGetArrangementInfoRsp_proto_init() { + if File_HomeGetArrangementInfoRsp_proto != nil { + return + } + file_HomeSceneArrangementInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeGetArrangementInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetArrangementInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetArrangementInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetArrangementInfoRsp_proto_goTypes, + DependencyIndexes: file_HomeGetArrangementInfoRsp_proto_depIdxs, + MessageInfos: file_HomeGetArrangementInfoRsp_proto_msgTypes, + }.Build() + File_HomeGetArrangementInfoRsp_proto = out.File + file_HomeGetArrangementInfoRsp_proto_rawDesc = nil + file_HomeGetArrangementInfoRsp_proto_goTypes = nil + file_HomeGetArrangementInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.proto b/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.proto new file mode 100644 index 00000000..539df1eb --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetArrangementInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeSceneArrangementInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4844 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeGetArrangementInfoRsp { + int32 retcode = 6; + repeated HomeSceneArrangementInfo scene_arrangement_info_list = 14; +} diff --git a/gate-hk4e-api/proto/HomeGetBasicInfoReq.pb.go b/gate-hk4e-api/proto/HomeGetBasicInfoReq.pb.go new file mode 100644 index 00000000..63c2a3c8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetBasicInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetBasicInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4655 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeGetBasicInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeGetBasicInfoReq) Reset() { + *x = HomeGetBasicInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetBasicInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetBasicInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetBasicInfoReq) ProtoMessage() {} + +func (x *HomeGetBasicInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetBasicInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetBasicInfoReq.ProtoReflect.Descriptor instead. +func (*HomeGetBasicInfoReq) Descriptor() ([]byte, []int) { + return file_HomeGetBasicInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeGetBasicInfoReq_proto protoreflect.FileDescriptor + +var file_HomeGetBasicInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetBasicInfoReq_proto_rawDescOnce sync.Once + file_HomeGetBasicInfoReq_proto_rawDescData = file_HomeGetBasicInfoReq_proto_rawDesc +) + +func file_HomeGetBasicInfoReq_proto_rawDescGZIP() []byte { + file_HomeGetBasicInfoReq_proto_rawDescOnce.Do(func() { + file_HomeGetBasicInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetBasicInfoReq_proto_rawDescData) + }) + return file_HomeGetBasicInfoReq_proto_rawDescData +} + +var file_HomeGetBasicInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetBasicInfoReq_proto_goTypes = []interface{}{ + (*HomeGetBasicInfoReq)(nil), // 0: HomeGetBasicInfoReq +} +var file_HomeGetBasicInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeGetBasicInfoReq_proto_init() } +func file_HomeGetBasicInfoReq_proto_init() { + if File_HomeGetBasicInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeGetBasicInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetBasicInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetBasicInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetBasicInfoReq_proto_goTypes, + DependencyIndexes: file_HomeGetBasicInfoReq_proto_depIdxs, + MessageInfos: file_HomeGetBasicInfoReq_proto_msgTypes, + }.Build() + File_HomeGetBasicInfoReq_proto = out.File + file_HomeGetBasicInfoReq_proto_rawDesc = nil + file_HomeGetBasicInfoReq_proto_goTypes = nil + file_HomeGetBasicInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetBasicInfoReq.proto b/gate-hk4e-api/proto/HomeGetBasicInfoReq.proto new file mode 100644 index 00000000..373541e3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetBasicInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4655 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeGetBasicInfoReq {} diff --git a/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.pb.go b/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.pb.go new file mode 100644 index 00000000..5cca351d --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetFishFarmingInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4476 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeGetFishFarmingInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeGetFishFarmingInfoReq) Reset() { + *x = HomeGetFishFarmingInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetFishFarmingInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetFishFarmingInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetFishFarmingInfoReq) ProtoMessage() {} + +func (x *HomeGetFishFarmingInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetFishFarmingInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetFishFarmingInfoReq.ProtoReflect.Descriptor instead. +func (*HomeGetFishFarmingInfoReq) Descriptor() ([]byte, []int) { + return file_HomeGetFishFarmingInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeGetFishFarmingInfoReq_proto protoreflect.FileDescriptor + +var file_HomeGetFishFarmingInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, + 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x46, 0x69, 0x73, 0x68, + 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeGetFishFarmingInfoReq_proto_rawDescOnce sync.Once + file_HomeGetFishFarmingInfoReq_proto_rawDescData = file_HomeGetFishFarmingInfoReq_proto_rawDesc +) + +func file_HomeGetFishFarmingInfoReq_proto_rawDescGZIP() []byte { + file_HomeGetFishFarmingInfoReq_proto_rawDescOnce.Do(func() { + file_HomeGetFishFarmingInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetFishFarmingInfoReq_proto_rawDescData) + }) + return file_HomeGetFishFarmingInfoReq_proto_rawDescData +} + +var file_HomeGetFishFarmingInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetFishFarmingInfoReq_proto_goTypes = []interface{}{ + (*HomeGetFishFarmingInfoReq)(nil), // 0: HomeGetFishFarmingInfoReq +} +var file_HomeGetFishFarmingInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeGetFishFarmingInfoReq_proto_init() } +func file_HomeGetFishFarmingInfoReq_proto_init() { + if File_HomeGetFishFarmingInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeGetFishFarmingInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetFishFarmingInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetFishFarmingInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetFishFarmingInfoReq_proto_goTypes, + DependencyIndexes: file_HomeGetFishFarmingInfoReq_proto_depIdxs, + MessageInfos: file_HomeGetFishFarmingInfoReq_proto_msgTypes, + }.Build() + File_HomeGetFishFarmingInfoReq_proto = out.File + file_HomeGetFishFarmingInfoReq_proto_rawDesc = nil + file_HomeGetFishFarmingInfoReq_proto_goTypes = nil + file_HomeGetFishFarmingInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.proto b/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.proto new file mode 100644 index 00000000..fd8ef060 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetFishFarmingInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4476 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeGetFishFarmingInfoReq {} diff --git a/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.pb.go b/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.pb.go new file mode 100644 index 00000000..5e9322b3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetFishFarmingInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4678 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeGetFishFarmingInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishFarmingInfoList []*HomeFishFarmingInfo `protobuf:"bytes,7,rep,name=fish_farming_info_list,json=fishFarmingInfoList,proto3" json:"fish_farming_info_list,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeGetFishFarmingInfoRsp) Reset() { + *x = HomeGetFishFarmingInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetFishFarmingInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetFishFarmingInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetFishFarmingInfoRsp) ProtoMessage() {} + +func (x *HomeGetFishFarmingInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetFishFarmingInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetFishFarmingInfoRsp.ProtoReflect.Descriptor instead. +func (*HomeGetFishFarmingInfoRsp) Descriptor() ([]byte, []int) { + return file_HomeGetFishFarmingInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeGetFishFarmingInfoRsp) GetFishFarmingInfoList() []*HomeFishFarmingInfo { + if x != nil { + return x.FishFarmingInfoList + } + return nil +} + +func (x *HomeGetFishFarmingInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeGetFishFarmingInfoRsp_proto protoreflect.FileDescriptor + +var file_HomeGetFishFarmingInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, + 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, + 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, + 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x16, 0x66, 0x69, + 0x73, 0x68, 0x5f, 0x66, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x13, 0x66, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetFishFarmingInfoRsp_proto_rawDescOnce sync.Once + file_HomeGetFishFarmingInfoRsp_proto_rawDescData = file_HomeGetFishFarmingInfoRsp_proto_rawDesc +) + +func file_HomeGetFishFarmingInfoRsp_proto_rawDescGZIP() []byte { + file_HomeGetFishFarmingInfoRsp_proto_rawDescOnce.Do(func() { + file_HomeGetFishFarmingInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetFishFarmingInfoRsp_proto_rawDescData) + }) + return file_HomeGetFishFarmingInfoRsp_proto_rawDescData +} + +var file_HomeGetFishFarmingInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetFishFarmingInfoRsp_proto_goTypes = []interface{}{ + (*HomeGetFishFarmingInfoRsp)(nil), // 0: HomeGetFishFarmingInfoRsp + (*HomeFishFarmingInfo)(nil), // 1: HomeFishFarmingInfo +} +var file_HomeGetFishFarmingInfoRsp_proto_depIdxs = []int32{ + 1, // 0: HomeGetFishFarmingInfoRsp.fish_farming_info_list:type_name -> HomeFishFarmingInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeGetFishFarmingInfoRsp_proto_init() } +func file_HomeGetFishFarmingInfoRsp_proto_init() { + if File_HomeGetFishFarmingInfoRsp_proto != nil { + return + } + file_HomeFishFarmingInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeGetFishFarmingInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetFishFarmingInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetFishFarmingInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetFishFarmingInfoRsp_proto_goTypes, + DependencyIndexes: file_HomeGetFishFarmingInfoRsp_proto_depIdxs, + MessageInfos: file_HomeGetFishFarmingInfoRsp_proto_msgTypes, + }.Build() + File_HomeGetFishFarmingInfoRsp_proto = out.File + file_HomeGetFishFarmingInfoRsp_proto_rawDesc = nil + file_HomeGetFishFarmingInfoRsp_proto_goTypes = nil + file_HomeGetFishFarmingInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.proto b/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.proto new file mode 100644 index 00000000..86cbef61 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetFishFarmingInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFishFarmingInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4678 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeGetFishFarmingInfoRsp { + repeated HomeFishFarmingInfo fish_farming_info_list = 7; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/HomeGetOnlineStatusReq.pb.go b/gate-hk4e-api/proto/HomeGetOnlineStatusReq.pb.go new file mode 100644 index 00000000..5524e1b4 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetOnlineStatusReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetOnlineStatusReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeGetOnlineStatusReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeGetOnlineStatusReq) Reset() { + *x = HomeGetOnlineStatusReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetOnlineStatusReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetOnlineStatusReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetOnlineStatusReq) ProtoMessage() {} + +func (x *HomeGetOnlineStatusReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetOnlineStatusReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetOnlineStatusReq.ProtoReflect.Descriptor instead. +func (*HomeGetOnlineStatusReq) Descriptor() ([]byte, []int) { + return file_HomeGetOnlineStatusReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeGetOnlineStatusReq_proto protoreflect.FileDescriptor + +var file_HomeGetOnlineStatusReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetOnlineStatusReq_proto_rawDescOnce sync.Once + file_HomeGetOnlineStatusReq_proto_rawDescData = file_HomeGetOnlineStatusReq_proto_rawDesc +) + +func file_HomeGetOnlineStatusReq_proto_rawDescGZIP() []byte { + file_HomeGetOnlineStatusReq_proto_rawDescOnce.Do(func() { + file_HomeGetOnlineStatusReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetOnlineStatusReq_proto_rawDescData) + }) + return file_HomeGetOnlineStatusReq_proto_rawDescData +} + +var file_HomeGetOnlineStatusReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetOnlineStatusReq_proto_goTypes = []interface{}{ + (*HomeGetOnlineStatusReq)(nil), // 0: HomeGetOnlineStatusReq +} +var file_HomeGetOnlineStatusReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeGetOnlineStatusReq_proto_init() } +func file_HomeGetOnlineStatusReq_proto_init() { + if File_HomeGetOnlineStatusReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeGetOnlineStatusReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetOnlineStatusReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetOnlineStatusReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetOnlineStatusReq_proto_goTypes, + DependencyIndexes: file_HomeGetOnlineStatusReq_proto_depIdxs, + MessageInfos: file_HomeGetOnlineStatusReq_proto_msgTypes, + }.Build() + File_HomeGetOnlineStatusReq_proto = out.File + file_HomeGetOnlineStatusReq_proto_rawDesc = nil + file_HomeGetOnlineStatusReq_proto_goTypes = nil + file_HomeGetOnlineStatusReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetOnlineStatusReq.proto b/gate-hk4e-api/proto/HomeGetOnlineStatusReq.proto new file mode 100644 index 00000000..f7f31459 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetOnlineStatusReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeGetOnlineStatusReq {} diff --git a/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.pb.go b/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.pb.go new file mode 100644 index 00000000..7d74b6fc --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeGetOnlineStatusRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4705 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeGetOnlineStatusRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfoList []*OnlinePlayerInfo `protobuf:"bytes,13,rep,name=player_info_list,json=playerInfoList,proto3" json:"player_info_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeGetOnlineStatusRsp) Reset() { + *x = HomeGetOnlineStatusRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeGetOnlineStatusRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeGetOnlineStatusRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeGetOnlineStatusRsp) ProtoMessage() {} + +func (x *HomeGetOnlineStatusRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeGetOnlineStatusRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeGetOnlineStatusRsp.ProtoReflect.Descriptor instead. +func (*HomeGetOnlineStatusRsp) Descriptor() ([]byte, []int) { + return file_HomeGetOnlineStatusRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeGetOnlineStatusRsp) GetPlayerInfoList() []*OnlinePlayerInfo { + if x != nil { + return x.PlayerInfoList + } + return nil +} + +func (x *HomeGetOnlineStatusRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeGetOnlineStatusRsp_proto protoreflect.FileDescriptor + +var file_HomeGetOnlineStatusRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x65, + 0x74, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x73, 0x70, + 0x12, 0x3b, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeGetOnlineStatusRsp_proto_rawDescOnce sync.Once + file_HomeGetOnlineStatusRsp_proto_rawDescData = file_HomeGetOnlineStatusRsp_proto_rawDesc +) + +func file_HomeGetOnlineStatusRsp_proto_rawDescGZIP() []byte { + file_HomeGetOnlineStatusRsp_proto_rawDescOnce.Do(func() { + file_HomeGetOnlineStatusRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeGetOnlineStatusRsp_proto_rawDescData) + }) + return file_HomeGetOnlineStatusRsp_proto_rawDescData +} + +var file_HomeGetOnlineStatusRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeGetOnlineStatusRsp_proto_goTypes = []interface{}{ + (*HomeGetOnlineStatusRsp)(nil), // 0: HomeGetOnlineStatusRsp + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_HomeGetOnlineStatusRsp_proto_depIdxs = []int32{ + 1, // 0: HomeGetOnlineStatusRsp.player_info_list:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeGetOnlineStatusRsp_proto_init() } +func file_HomeGetOnlineStatusRsp_proto_init() { + if File_HomeGetOnlineStatusRsp_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeGetOnlineStatusRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeGetOnlineStatusRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeGetOnlineStatusRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeGetOnlineStatusRsp_proto_goTypes, + DependencyIndexes: file_HomeGetOnlineStatusRsp_proto_depIdxs, + MessageInfos: file_HomeGetOnlineStatusRsp_proto_msgTypes, + }.Build() + File_HomeGetOnlineStatusRsp_proto = out.File + file_HomeGetOnlineStatusRsp_proto_rawDesc = nil + file_HomeGetOnlineStatusRsp_proto_goTypes = nil + file_HomeGetOnlineStatusRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.proto b/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.proto new file mode 100644 index 00000000..25244d73 --- /dev/null +++ b/gate-hk4e-api/proto/HomeGetOnlineStatusRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4705 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeGetOnlineStatusRsp { + repeated OnlinePlayerInfo player_info_list = 13; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/HomeKickPlayerReq.pb.go b/gate-hk4e-api/proto/HomeKickPlayerReq.pb.go new file mode 100644 index 00000000..1aa72714 --- /dev/null +++ b/gate-hk4e-api/proto/HomeKickPlayerReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeKickPlayerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4870 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeKickPlayerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,12,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + IsKickAll bool `protobuf:"varint,13,opt,name=is_kick_all,json=isKickAll,proto3" json:"is_kick_all,omitempty"` +} + +func (x *HomeKickPlayerReq) Reset() { + *x = HomeKickPlayerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeKickPlayerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeKickPlayerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeKickPlayerReq) ProtoMessage() {} + +func (x *HomeKickPlayerReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeKickPlayerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeKickPlayerReq.ProtoReflect.Descriptor instead. +func (*HomeKickPlayerReq) Descriptor() ([]byte, []int) { + return file_HomeKickPlayerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeKickPlayerReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *HomeKickPlayerReq) GetIsKickAll() bool { + if x != nil { + return x.IsKickAll + } + return false +} + +var File_HomeKickPlayerReq_proto protoreflect.FileDescriptor + +var file_HomeKickPlayerReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1e, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x6b, 0x69, 0x63, 0x6b, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x4b, 0x69, 0x63, 0x6b, 0x41, 0x6c, 0x6c, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeKickPlayerReq_proto_rawDescOnce sync.Once + file_HomeKickPlayerReq_proto_rawDescData = file_HomeKickPlayerReq_proto_rawDesc +) + +func file_HomeKickPlayerReq_proto_rawDescGZIP() []byte { + file_HomeKickPlayerReq_proto_rawDescOnce.Do(func() { + file_HomeKickPlayerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeKickPlayerReq_proto_rawDescData) + }) + return file_HomeKickPlayerReq_proto_rawDescData +} + +var file_HomeKickPlayerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeKickPlayerReq_proto_goTypes = []interface{}{ + (*HomeKickPlayerReq)(nil), // 0: HomeKickPlayerReq +} +var file_HomeKickPlayerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeKickPlayerReq_proto_init() } +func file_HomeKickPlayerReq_proto_init() { + if File_HomeKickPlayerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeKickPlayerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeKickPlayerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeKickPlayerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeKickPlayerReq_proto_goTypes, + DependencyIndexes: file_HomeKickPlayerReq_proto_depIdxs, + MessageInfos: file_HomeKickPlayerReq_proto_msgTypes, + }.Build() + File_HomeKickPlayerReq_proto = out.File + file_HomeKickPlayerReq_proto_rawDesc = nil + file_HomeKickPlayerReq_proto_goTypes = nil + file_HomeKickPlayerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeKickPlayerReq.proto b/gate-hk4e-api/proto/HomeKickPlayerReq.proto new file mode 100644 index 00000000..50771855 --- /dev/null +++ b/gate-hk4e-api/proto/HomeKickPlayerReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4870 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeKickPlayerReq { + uint32 target_uid = 12; + bool is_kick_all = 13; +} diff --git a/gate-hk4e-api/proto/HomeKickPlayerRsp.pb.go b/gate-hk4e-api/proto/HomeKickPlayerRsp.pb.go new file mode 100644 index 00000000..3f6139b3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeKickPlayerRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeKickPlayerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4691 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeKickPlayerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,4,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsKickAll bool `protobuf:"varint,10,opt,name=is_kick_all,json=isKickAll,proto3" json:"is_kick_all,omitempty"` +} + +func (x *HomeKickPlayerRsp) Reset() { + *x = HomeKickPlayerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeKickPlayerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeKickPlayerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeKickPlayerRsp) ProtoMessage() {} + +func (x *HomeKickPlayerRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeKickPlayerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeKickPlayerRsp.ProtoReflect.Descriptor instead. +func (*HomeKickPlayerRsp) Descriptor() ([]byte, []int) { + return file_HomeKickPlayerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeKickPlayerRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *HomeKickPlayerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeKickPlayerRsp) GetIsKickAll() bool { + if x != nil { + return x.IsKickAll + } + return false +} + +var File_HomeKickPlayerRsp_proto protoreflect.FileDescriptor + +var file_HomeKickPlayerRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6b, 0x69, + 0x63, 0x6b, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x4b, 0x69, 0x63, 0x6b, 0x41, 0x6c, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeKickPlayerRsp_proto_rawDescOnce sync.Once + file_HomeKickPlayerRsp_proto_rawDescData = file_HomeKickPlayerRsp_proto_rawDesc +) + +func file_HomeKickPlayerRsp_proto_rawDescGZIP() []byte { + file_HomeKickPlayerRsp_proto_rawDescOnce.Do(func() { + file_HomeKickPlayerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeKickPlayerRsp_proto_rawDescData) + }) + return file_HomeKickPlayerRsp_proto_rawDescData +} + +var file_HomeKickPlayerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeKickPlayerRsp_proto_goTypes = []interface{}{ + (*HomeKickPlayerRsp)(nil), // 0: HomeKickPlayerRsp +} +var file_HomeKickPlayerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeKickPlayerRsp_proto_init() } +func file_HomeKickPlayerRsp_proto_init() { + if File_HomeKickPlayerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeKickPlayerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeKickPlayerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeKickPlayerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeKickPlayerRsp_proto_goTypes, + DependencyIndexes: file_HomeKickPlayerRsp_proto_depIdxs, + MessageInfos: file_HomeKickPlayerRsp_proto_msgTypes, + }.Build() + File_HomeKickPlayerRsp_proto = out.File + file_HomeKickPlayerRsp_proto_rawDesc = nil + file_HomeKickPlayerRsp_proto_goTypes = nil + file_HomeKickPlayerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeKickPlayerRsp.proto b/gate-hk4e-api/proto/HomeKickPlayerRsp.proto new file mode 100644 index 00000000..323d223f --- /dev/null +++ b/gate-hk4e-api/proto/HomeKickPlayerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4691 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeKickPlayerRsp { + uint32 target_uid = 4; + int32 retcode = 8; + bool is_kick_all = 10; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShop.pb.go b/gate-hk4e-api/proto/HomeLimitedShop.pb.go new file mode 100644 index 00000000..a07a99c7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShop.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShop.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeLimitedShop struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GoodsList []*HomeLimitedShopGoods `protobuf:"bytes,8,rep,name=goods_list,json=goodsList,proto3" json:"goods_list,omitempty"` +} + +func (x *HomeLimitedShop) Reset() { + *x = HomeLimitedShop{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShop) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShop) ProtoMessage() {} + +func (x *HomeLimitedShop) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShop_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShop.ProtoReflect.Descriptor instead. +func (*HomeLimitedShop) Descriptor() ([]byte, []int) { + return file_HomeLimitedShop_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShop) GetGoodsList() []*HomeLimitedShopGoods { + if x != nil { + return x.GoodsList + } + return nil +} + +var File_HomeLimitedShop_proto protoreflect.FileDescriptor + +var file_HomeLimitedShop_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x0f, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x12, 0x34, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, + 0x73, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShop_proto_rawDescOnce sync.Once + file_HomeLimitedShop_proto_rawDescData = file_HomeLimitedShop_proto_rawDesc +) + +func file_HomeLimitedShop_proto_rawDescGZIP() []byte { + file_HomeLimitedShop_proto_rawDescOnce.Do(func() { + file_HomeLimitedShop_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShop_proto_rawDescData) + }) + return file_HomeLimitedShop_proto_rawDescData +} + +var file_HomeLimitedShop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShop_proto_goTypes = []interface{}{ + (*HomeLimitedShop)(nil), // 0: HomeLimitedShop + (*HomeLimitedShopGoods)(nil), // 1: HomeLimitedShopGoods +} +var file_HomeLimitedShop_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShop.goods_list:type_name -> HomeLimitedShopGoods + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShop_proto_init() } +func file_HomeLimitedShop_proto_init() { + if File_HomeLimitedShop_proto != nil { + return + } + file_HomeLimitedShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShop); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShop_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShop_proto_goTypes, + DependencyIndexes: file_HomeLimitedShop_proto_depIdxs, + MessageInfos: file_HomeLimitedShop_proto_msgTypes, + }.Build() + File_HomeLimitedShop_proto = out.File + file_HomeLimitedShop_proto_rawDesc = nil + file_HomeLimitedShop_proto_goTypes = nil + file_HomeLimitedShop_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShop.proto b/gate-hk4e-api/proto/HomeLimitedShop.proto new file mode 100644 index 00000000..39d9c75b --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShop.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopGoods.proto"; + +option go_package = "./;proto"; + +message HomeLimitedShop { + repeated HomeLimitedShopGoods goods_list = 8; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.pb.go b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.pb.go new file mode 100644 index 00000000..597a8a9d --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopBuyGoodsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4760 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeLimitedShopBuyGoodsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Goods *HomeLimitedShopGoods `protobuf:"bytes,3,opt,name=goods,proto3" json:"goods,omitempty"` + BuyCount uint32 `protobuf:"varint,10,opt,name=buy_count,json=buyCount,proto3" json:"buy_count,omitempty"` +} + +func (x *HomeLimitedShopBuyGoodsReq) Reset() { + *x = HomeLimitedShopBuyGoodsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopBuyGoodsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopBuyGoodsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopBuyGoodsReq) ProtoMessage() {} + +func (x *HomeLimitedShopBuyGoodsReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopBuyGoodsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopBuyGoodsReq.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopBuyGoodsReq) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopBuyGoodsReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopBuyGoodsReq) GetGoods() *HomeLimitedShopGoods { + if x != nil { + return x.Goods + } + return nil +} + +func (x *HomeLimitedShopBuyGoodsReq) GetBuyCount() uint32 { + if x != nil { + return x.BuyCount + } + return 0 +} + +var File_HomeLimitedShopBuyGoodsReq_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopBuyGoodsReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, + 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x05, + 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x48, 0x6f, + 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, + 0x64, 0x73, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, + 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopBuyGoodsReq_proto_rawDescOnce sync.Once + file_HomeLimitedShopBuyGoodsReq_proto_rawDescData = file_HomeLimitedShopBuyGoodsReq_proto_rawDesc +) + +func file_HomeLimitedShopBuyGoodsReq_proto_rawDescGZIP() []byte { + file_HomeLimitedShopBuyGoodsReq_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopBuyGoodsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopBuyGoodsReq_proto_rawDescData) + }) + return file_HomeLimitedShopBuyGoodsReq_proto_rawDescData +} + +var file_HomeLimitedShopBuyGoodsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopBuyGoodsReq_proto_goTypes = []interface{}{ + (*HomeLimitedShopBuyGoodsReq)(nil), // 0: HomeLimitedShopBuyGoodsReq + (*HomeLimitedShopGoods)(nil), // 1: HomeLimitedShopGoods +} +var file_HomeLimitedShopBuyGoodsReq_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopBuyGoodsReq.goods:type_name -> HomeLimitedShopGoods + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopBuyGoodsReq_proto_init() } +func file_HomeLimitedShopBuyGoodsReq_proto_init() { + if File_HomeLimitedShopBuyGoodsReq_proto != nil { + return + } + file_HomeLimitedShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopBuyGoodsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopBuyGoodsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopBuyGoodsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopBuyGoodsReq_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopBuyGoodsReq_proto_depIdxs, + MessageInfos: file_HomeLimitedShopBuyGoodsReq_proto_msgTypes, + }.Build() + File_HomeLimitedShopBuyGoodsReq_proto = out.File + file_HomeLimitedShopBuyGoodsReq_proto_rawDesc = nil + file_HomeLimitedShopBuyGoodsReq_proto_goTypes = nil + file_HomeLimitedShopBuyGoodsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.proto b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.proto new file mode 100644 index 00000000..02c6324d --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopGoods.proto"; + +option go_package = "./;proto"; + +// CmdId: 4760 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeLimitedShopBuyGoodsReq { + HomeLimitedShopGoods goods = 3; + uint32 buy_count = 10; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.pb.go b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.pb.go new file mode 100644 index 00000000..48af5fa5 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopBuyGoodsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4750 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeLimitedShopBuyGoodsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GoodsList []*HomeLimitedShopGoods `protobuf:"bytes,13,rep,name=goods_list,json=goodsList,proto3" json:"goods_list,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + Goods *HomeLimitedShopGoods `protobuf:"bytes,5,opt,name=goods,proto3" json:"goods,omitempty"` + BuyCount uint32 `protobuf:"varint,8,opt,name=buy_count,json=buyCount,proto3" json:"buy_count,omitempty"` +} + +func (x *HomeLimitedShopBuyGoodsRsp) Reset() { + *x = HomeLimitedShopBuyGoodsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopBuyGoodsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopBuyGoodsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopBuyGoodsRsp) ProtoMessage() {} + +func (x *HomeLimitedShopBuyGoodsRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopBuyGoodsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopBuyGoodsRsp.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopBuyGoodsRsp) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopBuyGoodsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopBuyGoodsRsp) GetGoodsList() []*HomeLimitedShopGoods { + if x != nil { + return x.GoodsList + } + return nil +} + +func (x *HomeLimitedShopBuyGoodsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeLimitedShopBuyGoodsRsp) GetGoods() *HomeLimitedShopGoods { + if x != nil { + return x.Goods + } + return nil +} + +func (x *HomeLimitedShopBuyGoodsRsp) GetBuyCount() uint32 { + if x != nil { + return x.BuyCount + } + return 0 +} + +var File_HomeLimitedShopBuyGoodsRsp_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopBuyGoodsRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, + 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, + 0x01, 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, + 0x6f, 0x70, 0x42, 0x75, 0x79, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x73, 0x70, 0x12, 0x34, 0x0a, + 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, + 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, + 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x48, + 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, + 0x6f, 0x64, 0x73, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, + 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, + 0x75, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopBuyGoodsRsp_proto_rawDescOnce sync.Once + file_HomeLimitedShopBuyGoodsRsp_proto_rawDescData = file_HomeLimitedShopBuyGoodsRsp_proto_rawDesc +) + +func file_HomeLimitedShopBuyGoodsRsp_proto_rawDescGZIP() []byte { + file_HomeLimitedShopBuyGoodsRsp_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopBuyGoodsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopBuyGoodsRsp_proto_rawDescData) + }) + return file_HomeLimitedShopBuyGoodsRsp_proto_rawDescData +} + +var file_HomeLimitedShopBuyGoodsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopBuyGoodsRsp_proto_goTypes = []interface{}{ + (*HomeLimitedShopBuyGoodsRsp)(nil), // 0: HomeLimitedShopBuyGoodsRsp + (*HomeLimitedShopGoods)(nil), // 1: HomeLimitedShopGoods +} +var file_HomeLimitedShopBuyGoodsRsp_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopBuyGoodsRsp.goods_list:type_name -> HomeLimitedShopGoods + 1, // 1: HomeLimitedShopBuyGoodsRsp.goods:type_name -> HomeLimitedShopGoods + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopBuyGoodsRsp_proto_init() } +func file_HomeLimitedShopBuyGoodsRsp_proto_init() { + if File_HomeLimitedShopBuyGoodsRsp_proto != nil { + return + } + file_HomeLimitedShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopBuyGoodsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopBuyGoodsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopBuyGoodsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopBuyGoodsRsp_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopBuyGoodsRsp_proto_depIdxs, + MessageInfos: file_HomeLimitedShopBuyGoodsRsp_proto_msgTypes, + }.Build() + File_HomeLimitedShopBuyGoodsRsp_proto = out.File + file_HomeLimitedShopBuyGoodsRsp_proto_rawDesc = nil + file_HomeLimitedShopBuyGoodsRsp_proto_goTypes = nil + file_HomeLimitedShopBuyGoodsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.proto b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.proto new file mode 100644 index 00000000..e2b5297f --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopBuyGoodsRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopGoods.proto"; + +option go_package = "./;proto"; + +// CmdId: 4750 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeLimitedShopBuyGoodsRsp { + repeated HomeLimitedShopGoods goods_list = 13; + int32 retcode = 14; + HomeLimitedShopGoods goods = 5; + uint32 buy_count = 8; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoods.pb.go b/gate-hk4e-api/proto/HomeLimitedShopGoods.pb.go new file mode 100644 index 00000000..4027a6de --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoods.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopGoods.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeLimitedShopGoods struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuyLimit uint32 `protobuf:"varint,8,opt,name=buy_limit,json=buyLimit,proto3" json:"buy_limit,omitempty"` + CostItemList []*ItemParam `protobuf:"bytes,15,rep,name=cost_item_list,json=costItemList,proto3" json:"cost_item_list,omitempty"` + BoughtNum uint32 `protobuf:"varint,1,opt,name=bought_num,json=boughtNum,proto3" json:"bought_num,omitempty"` + GoodsItem *ItemParam `protobuf:"bytes,6,opt,name=goods_item,json=goodsItem,proto3" json:"goods_item,omitempty"` + GoodsId uint32 `protobuf:"varint,13,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"` + DisableType uint32 `protobuf:"varint,3,opt,name=disable_type,json=disableType,proto3" json:"disable_type,omitempty"` +} + +func (x *HomeLimitedShopGoods) Reset() { + *x = HomeLimitedShopGoods{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopGoods_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopGoods) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopGoods) ProtoMessage() {} + +func (x *HomeLimitedShopGoods) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopGoods_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopGoods.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopGoods) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopGoods_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopGoods) GetBuyLimit() uint32 { + if x != nil { + return x.BuyLimit + } + return 0 +} + +func (x *HomeLimitedShopGoods) GetCostItemList() []*ItemParam { + if x != nil { + return x.CostItemList + } + return nil +} + +func (x *HomeLimitedShopGoods) GetBoughtNum() uint32 { + if x != nil { + return x.BoughtNum + } + return 0 +} + +func (x *HomeLimitedShopGoods) GetGoodsItem() *ItemParam { + if x != nil { + return x.GoodsItem + } + return nil +} + +func (x *HomeLimitedShopGoods) GetGoodsId() uint32 { + if x != nil { + return x.GoodsId + } + return 0 +} + +func (x *HomeLimitedShopGoods) GetDisableType() uint32 { + if x != nil { + return x.DisableType + } + return 0 +} + +var File_HomeLimitedShopGoods_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopGoods_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, + 0x0a, 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x0e, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x6f, 0x75, 0x67, 0x68, + 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x29, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeLimitedShopGoods_proto_rawDescOnce sync.Once + file_HomeLimitedShopGoods_proto_rawDescData = file_HomeLimitedShopGoods_proto_rawDesc +) + +func file_HomeLimitedShopGoods_proto_rawDescGZIP() []byte { + file_HomeLimitedShopGoods_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopGoods_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopGoods_proto_rawDescData) + }) + return file_HomeLimitedShopGoods_proto_rawDescData +} + +var file_HomeLimitedShopGoods_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopGoods_proto_goTypes = []interface{}{ + (*HomeLimitedShopGoods)(nil), // 0: HomeLimitedShopGoods + (*ItemParam)(nil), // 1: ItemParam +} +var file_HomeLimitedShopGoods_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopGoods.cost_item_list:type_name -> ItemParam + 1, // 1: HomeLimitedShopGoods.goods_item:type_name -> ItemParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopGoods_proto_init() } +func file_HomeLimitedShopGoods_proto_init() { + if File_HomeLimitedShopGoods_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopGoods_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopGoods); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopGoods_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopGoods_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopGoods_proto_depIdxs, + MessageInfos: file_HomeLimitedShopGoods_proto_msgTypes, + }.Build() + File_HomeLimitedShopGoods_proto = out.File + file_HomeLimitedShopGoods_proto_rawDesc = nil + file_HomeLimitedShopGoods_proto_goTypes = nil + file_HomeLimitedShopGoods_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoods.proto b/gate-hk4e-api/proto/HomeLimitedShopGoods.proto new file mode 100644 index 00000000..94d961e8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoods.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message HomeLimitedShopGoods { + uint32 buy_limit = 8; + repeated ItemParam cost_item_list = 15; + uint32 bought_num = 1; + ItemParam goods_item = 6; + uint32 goods_id = 13; + uint32 disable_type = 3; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.pb.go b/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.pb.go new file mode 100644 index 00000000..800a4943 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopGoodsListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4552 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeLimitedShopGoodsListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeLimitedShopGoodsListReq) Reset() { + *x = HomeLimitedShopGoodsListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopGoodsListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopGoodsListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopGoodsListReq) ProtoMessage() {} + +func (x *HomeLimitedShopGoodsListReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopGoodsListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopGoodsListReq.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopGoodsListReq) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopGoodsListReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeLimitedShopGoodsListReq_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopGoodsListReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopGoodsListReq_proto_rawDescOnce sync.Once + file_HomeLimitedShopGoodsListReq_proto_rawDescData = file_HomeLimitedShopGoodsListReq_proto_rawDesc +) + +func file_HomeLimitedShopGoodsListReq_proto_rawDescGZIP() []byte { + file_HomeLimitedShopGoodsListReq_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopGoodsListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopGoodsListReq_proto_rawDescData) + }) + return file_HomeLimitedShopGoodsListReq_proto_rawDescData +} + +var file_HomeLimitedShopGoodsListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopGoodsListReq_proto_goTypes = []interface{}{ + (*HomeLimitedShopGoodsListReq)(nil), // 0: HomeLimitedShopGoodsListReq +} +var file_HomeLimitedShopGoodsListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopGoodsListReq_proto_init() } +func file_HomeLimitedShopGoodsListReq_proto_init() { + if File_HomeLimitedShopGoodsListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopGoodsListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopGoodsListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopGoodsListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopGoodsListReq_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopGoodsListReq_proto_depIdxs, + MessageInfos: file_HomeLimitedShopGoodsListReq_proto_msgTypes, + }.Build() + File_HomeLimitedShopGoodsListReq_proto = out.File + file_HomeLimitedShopGoodsListReq_proto_rawDesc = nil + file_HomeLimitedShopGoodsListReq_proto_goTypes = nil + file_HomeLimitedShopGoodsListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.proto b/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.proto new file mode 100644 index 00000000..355aa6c0 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoodsListReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4552 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeLimitedShopGoodsListReq {} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.pb.go b/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.pb.go new file mode 100644 index 00000000..0d1564cf --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopGoodsListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4546 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeLimitedShopGoodsListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Shop *HomeLimitedShop `protobuf:"bytes,12,opt,name=shop,proto3" json:"shop,omitempty"` +} + +func (x *HomeLimitedShopGoodsListRsp) Reset() { + *x = HomeLimitedShopGoodsListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopGoodsListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopGoodsListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopGoodsListRsp) ProtoMessage() {} + +func (x *HomeLimitedShopGoodsListRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopGoodsListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopGoodsListRsp.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopGoodsListRsp) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopGoodsListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopGoodsListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeLimitedShopGoodsListRsp) GetShop() *HomeLimitedShop { + if x != nil { + return x.Shop + } + return nil +} + +var File_HomeLimitedShopGoodsListRsp_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopGoodsListRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, + 0x53, 0x68, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x1b, 0x48, 0x6f, + 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, + 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, + 0x68, 0x6f, 0x70, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopGoodsListRsp_proto_rawDescOnce sync.Once + file_HomeLimitedShopGoodsListRsp_proto_rawDescData = file_HomeLimitedShopGoodsListRsp_proto_rawDesc +) + +func file_HomeLimitedShopGoodsListRsp_proto_rawDescGZIP() []byte { + file_HomeLimitedShopGoodsListRsp_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopGoodsListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopGoodsListRsp_proto_rawDescData) + }) + return file_HomeLimitedShopGoodsListRsp_proto_rawDescData +} + +var file_HomeLimitedShopGoodsListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopGoodsListRsp_proto_goTypes = []interface{}{ + (*HomeLimitedShopGoodsListRsp)(nil), // 0: HomeLimitedShopGoodsListRsp + (*HomeLimitedShop)(nil), // 1: HomeLimitedShop +} +var file_HomeLimitedShopGoodsListRsp_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopGoodsListRsp.shop:type_name -> HomeLimitedShop + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopGoodsListRsp_proto_init() } +func file_HomeLimitedShopGoodsListRsp_proto_init() { + if File_HomeLimitedShopGoodsListRsp_proto != nil { + return + } + file_HomeLimitedShop_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopGoodsListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopGoodsListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopGoodsListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopGoodsListRsp_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopGoodsListRsp_proto_depIdxs, + MessageInfos: file_HomeLimitedShopGoodsListRsp_proto_msgTypes, + }.Build() + File_HomeLimitedShopGoodsListRsp_proto = out.File + file_HomeLimitedShopGoodsListRsp_proto_rawDesc = nil + file_HomeLimitedShopGoodsListRsp_proto_goTypes = nil + file_HomeLimitedShopGoodsListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.proto b/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.proto new file mode 100644 index 00000000..c364217a --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopGoodsListRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShop.proto"; + +option go_package = "./;proto"; + +// CmdId: 4546 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeLimitedShopGoodsListRsp { + int32 retcode = 6; + HomeLimitedShop shop = 12; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfo.pb.go b/gate-hk4e-api/proto/HomeLimitedShopInfo.pb.go new file mode 100644 index 00000000..cd235435 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfo.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeLimitedShopInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextCloseTime uint32 `protobuf:"fixed32,9,opt,name=next_close_time,json=nextCloseTime,proto3" json:"next_close_time,omitempty"` + NextGuestOpenTime uint32 `protobuf:"fixed32,11,opt,name=next_guest_open_time,json=nextGuestOpenTime,proto3" json:"next_guest_open_time,omitempty"` + DjinnRot *Vector `protobuf:"bytes,7,opt,name=djinn_rot,json=djinnRot,proto3" json:"djinn_rot,omitempty"` + Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` + NextOpenTime uint32 `protobuf:"fixed32,6,opt,name=next_open_time,json=nextOpenTime,proto3" json:"next_open_time,omitempty"` + DjinnPos *Vector `protobuf:"bytes,2,opt,name=djinn_pos,json=djinnPos,proto3" json:"djinn_pos,omitempty"` +} + +func (x *HomeLimitedShopInfo) Reset() { + *x = HomeLimitedShopInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopInfo) ProtoMessage() {} + +func (x *HomeLimitedShopInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopInfo.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopInfo) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopInfo) GetNextCloseTime() uint32 { + if x != nil { + return x.NextCloseTime + } + return 0 +} + +func (x *HomeLimitedShopInfo) GetNextGuestOpenTime() uint32 { + if x != nil { + return x.NextGuestOpenTime + } + return 0 +} + +func (x *HomeLimitedShopInfo) GetDjinnRot() *Vector { + if x != nil { + return x.DjinnRot + } + return nil +} + +func (x *HomeLimitedShopInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *HomeLimitedShopInfo) GetNextOpenTime() uint32 { + if x != nil { + return x.NextOpenTime + } + return 0 +} + +func (x *HomeLimitedShopInfo) GetDjinnPos() *Vector { + if x != nil { + return x.DjinnPos + } + return nil +} + +var File_HomeLimitedShopInfo_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x13, 0x48, 0x6f, + 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x07, 0x52, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x47, 0x75, 0x65, + 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x64, 0x6a, + 0x69, 0x6e, 0x6e, 0x5f, 0x72, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x64, 0x6a, 0x69, 0x6e, 0x6e, 0x52, 0x6f, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, + 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x64, 0x6a, 0x69, 0x6e, + 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x64, 0x6a, 0x69, 0x6e, 0x6e, 0x50, 0x6f, 0x73, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopInfo_proto_rawDescOnce sync.Once + file_HomeLimitedShopInfo_proto_rawDescData = file_HomeLimitedShopInfo_proto_rawDesc +) + +func file_HomeLimitedShopInfo_proto_rawDescGZIP() []byte { + file_HomeLimitedShopInfo_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopInfo_proto_rawDescData) + }) + return file_HomeLimitedShopInfo_proto_rawDescData +} + +var file_HomeLimitedShopInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopInfo_proto_goTypes = []interface{}{ + (*HomeLimitedShopInfo)(nil), // 0: HomeLimitedShopInfo + (*Vector)(nil), // 1: Vector +} +var file_HomeLimitedShopInfo_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopInfo.djinn_rot:type_name -> Vector + 1, // 1: HomeLimitedShopInfo.djinn_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopInfo_proto_init() } +func file_HomeLimitedShopInfo_proto_init() { + if File_HomeLimitedShopInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopInfo_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopInfo_proto_depIdxs, + MessageInfos: file_HomeLimitedShopInfo_proto_msgTypes, + }.Build() + File_HomeLimitedShopInfo_proto = out.File + file_HomeLimitedShopInfo_proto_rawDesc = nil + file_HomeLimitedShopInfo_proto_goTypes = nil + file_HomeLimitedShopInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfo.proto b/gate-hk4e-api/proto/HomeLimitedShopInfo.proto new file mode 100644 index 00000000..5ba98d7a --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeLimitedShopInfo { + fixed32 next_close_time = 9; + fixed32 next_guest_open_time = 11; + Vector djinn_rot = 7; + uint32 uid = 4; + fixed32 next_open_time = 6; + Vector djinn_pos = 2; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.pb.go b/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.pb.go new file mode 100644 index 00000000..71d7f292 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopInfoChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4790 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeLimitedShopInfoChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GoodsList []*HomeLimitedShopGoods `protobuf:"bytes,5,rep,name=goods_list,json=goodsList,proto3" json:"goods_list,omitempty"` +} + +func (x *HomeLimitedShopInfoChangeNotify) Reset() { + *x = HomeLimitedShopInfoChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopInfoChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopInfoChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopInfoChangeNotify) ProtoMessage() {} + +func (x *HomeLimitedShopInfoChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopInfoChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopInfoChangeNotify.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopInfoChangeNotify) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopInfoChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopInfoChangeNotify) GetGoodsList() []*HomeLimitedShopGoods { + if x != nil { + return x.GoodsList + } + return nil +} + +var File_HomeLimitedShopInfoChangeNotify_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopInfoChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x34, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, + 0x73, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopInfoChangeNotify_proto_rawDescOnce sync.Once + file_HomeLimitedShopInfoChangeNotify_proto_rawDescData = file_HomeLimitedShopInfoChangeNotify_proto_rawDesc +) + +func file_HomeLimitedShopInfoChangeNotify_proto_rawDescGZIP() []byte { + file_HomeLimitedShopInfoChangeNotify_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopInfoChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopInfoChangeNotify_proto_rawDescData) + }) + return file_HomeLimitedShopInfoChangeNotify_proto_rawDescData +} + +var file_HomeLimitedShopInfoChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopInfoChangeNotify_proto_goTypes = []interface{}{ + (*HomeLimitedShopInfoChangeNotify)(nil), // 0: HomeLimitedShopInfoChangeNotify + (*HomeLimitedShopGoods)(nil), // 1: HomeLimitedShopGoods +} +var file_HomeLimitedShopInfoChangeNotify_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopInfoChangeNotify.goods_list:type_name -> HomeLimitedShopGoods + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopInfoChangeNotify_proto_init() } +func file_HomeLimitedShopInfoChangeNotify_proto_init() { + if File_HomeLimitedShopInfoChangeNotify_proto != nil { + return + } + file_HomeLimitedShopGoods_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopInfoChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopInfoChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopInfoChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopInfoChangeNotify_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopInfoChangeNotify_proto_depIdxs, + MessageInfos: file_HomeLimitedShopInfoChangeNotify_proto_msgTypes, + }.Build() + File_HomeLimitedShopInfoChangeNotify_proto = out.File + file_HomeLimitedShopInfoChangeNotify_proto_rawDesc = nil + file_HomeLimitedShopInfoChangeNotify_proto_goTypes = nil + file_HomeLimitedShopInfoChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.proto b/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.proto new file mode 100644 index 00000000..bb12cb7b --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopGoods.proto"; + +option go_package = "./;proto"; + +// CmdId: 4790 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeLimitedShopInfoChangeNotify { + repeated HomeLimitedShopGoods goods_list = 5; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.pb.go b/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.pb.go new file mode 100644 index 00000000..e2c156ac --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4887 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeLimitedShopInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShopInfo *HomeLimitedShopInfo `protobuf:"bytes,2,opt,name=shop_info,json=shopInfo,proto3" json:"shop_info,omitempty"` +} + +func (x *HomeLimitedShopInfoNotify) Reset() { + *x = HomeLimitedShopInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopInfoNotify) ProtoMessage() {} + +func (x *HomeLimitedShopInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopInfoNotify.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopInfoNotify) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopInfoNotify) GetShopInfo() *HomeLimitedShopInfo { + if x != nil { + return x.ShopInfo + } + return nil +} + +var File_HomeLimitedShopInfoNotify_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, + 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x19, + 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x68, 0x6f, + 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, + 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopInfoNotify_proto_rawDescOnce sync.Once + file_HomeLimitedShopInfoNotify_proto_rawDescData = file_HomeLimitedShopInfoNotify_proto_rawDesc +) + +func file_HomeLimitedShopInfoNotify_proto_rawDescGZIP() []byte { + file_HomeLimitedShopInfoNotify_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopInfoNotify_proto_rawDescData) + }) + return file_HomeLimitedShopInfoNotify_proto_rawDescData +} + +var file_HomeLimitedShopInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopInfoNotify_proto_goTypes = []interface{}{ + (*HomeLimitedShopInfoNotify)(nil), // 0: HomeLimitedShopInfoNotify + (*HomeLimitedShopInfo)(nil), // 1: HomeLimitedShopInfo +} +var file_HomeLimitedShopInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopInfoNotify.shop_info:type_name -> HomeLimitedShopInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopInfoNotify_proto_init() } +func file_HomeLimitedShopInfoNotify_proto_init() { + if File_HomeLimitedShopInfoNotify_proto != nil { + return + } + file_HomeLimitedShopInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopInfoNotify_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopInfoNotify_proto_depIdxs, + MessageInfos: file_HomeLimitedShopInfoNotify_proto_msgTypes, + }.Build() + File_HomeLimitedShopInfoNotify_proto = out.File + file_HomeLimitedShopInfoNotify_proto_rawDesc = nil + file_HomeLimitedShopInfoNotify_proto_goTypes = nil + file_HomeLimitedShopInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.proto b/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.proto new file mode 100644 index 00000000..dc426ad4 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4887 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeLimitedShopInfoNotify { + HomeLimitedShopInfo shop_info = 2; +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoReq.pb.go b/gate-hk4e-api/proto/HomeLimitedShopInfoReq.pb.go new file mode 100644 index 00000000..fc8da76c --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4825 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeLimitedShopInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeLimitedShopInfoReq) Reset() { + *x = HomeLimitedShopInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopInfoReq) ProtoMessage() {} + +func (x *HomeLimitedShopInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopInfoReq.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopInfoReq) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeLimitedShopInfoReq_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopInfoReq_proto_rawDescOnce sync.Once + file_HomeLimitedShopInfoReq_proto_rawDescData = file_HomeLimitedShopInfoReq_proto_rawDesc +) + +func file_HomeLimitedShopInfoReq_proto_rawDescGZIP() []byte { + file_HomeLimitedShopInfoReq_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopInfoReq_proto_rawDescData) + }) + return file_HomeLimitedShopInfoReq_proto_rawDescData +} + +var file_HomeLimitedShopInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopInfoReq_proto_goTypes = []interface{}{ + (*HomeLimitedShopInfoReq)(nil), // 0: HomeLimitedShopInfoReq +} +var file_HomeLimitedShopInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopInfoReq_proto_init() } +func file_HomeLimitedShopInfoReq_proto_init() { + if File_HomeLimitedShopInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopInfoReq_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopInfoReq_proto_depIdxs, + MessageInfos: file_HomeLimitedShopInfoReq_proto_msgTypes, + }.Build() + File_HomeLimitedShopInfoReq_proto = out.File + file_HomeLimitedShopInfoReq_proto_rawDesc = nil + file_HomeLimitedShopInfoReq_proto_goTypes = nil + file_HomeLimitedShopInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoReq.proto b/gate-hk4e-api/proto/HomeLimitedShopInfoReq.proto new file mode 100644 index 00000000..b4899398 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4825 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeLimitedShopInfoReq {} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.pb.go b/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.pb.go new file mode 100644 index 00000000..f3181465 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeLimitedShopInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4796 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeLimitedShopInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShopInfo *HomeLimitedShopInfo `protobuf:"bytes,10,opt,name=shop_info,json=shopInfo,proto3" json:"shop_info,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeLimitedShopInfoRsp) Reset() { + *x = HomeLimitedShopInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeLimitedShopInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeLimitedShopInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeLimitedShopInfoRsp) ProtoMessage() {} + +func (x *HomeLimitedShopInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeLimitedShopInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeLimitedShopInfoRsp.ProtoReflect.Descriptor instead. +func (*HomeLimitedShopInfoRsp) Descriptor() ([]byte, []int) { + return file_HomeLimitedShopInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeLimitedShopInfoRsp) GetShopInfo() *HomeLimitedShopInfo { + if x != nil { + return x.ShopInfo + } + return nil +} + +func (x *HomeLimitedShopInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeLimitedShopInfoRsp_proto protoreflect.FileDescriptor + +var file_HomeLimitedShopInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x16, 0x48, 0x6f, 0x6d, + 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x65, 0x64, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x73, 0x68, + 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeLimitedShopInfoRsp_proto_rawDescOnce sync.Once + file_HomeLimitedShopInfoRsp_proto_rawDescData = file_HomeLimitedShopInfoRsp_proto_rawDesc +) + +func file_HomeLimitedShopInfoRsp_proto_rawDescGZIP() []byte { + file_HomeLimitedShopInfoRsp_proto_rawDescOnce.Do(func() { + file_HomeLimitedShopInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeLimitedShopInfoRsp_proto_rawDescData) + }) + return file_HomeLimitedShopInfoRsp_proto_rawDescData +} + +var file_HomeLimitedShopInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeLimitedShopInfoRsp_proto_goTypes = []interface{}{ + (*HomeLimitedShopInfoRsp)(nil), // 0: HomeLimitedShopInfoRsp + (*HomeLimitedShopInfo)(nil), // 1: HomeLimitedShopInfo +} +var file_HomeLimitedShopInfoRsp_proto_depIdxs = []int32{ + 1, // 0: HomeLimitedShopInfoRsp.shop_info:type_name -> HomeLimitedShopInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeLimitedShopInfoRsp_proto_init() } +func file_HomeLimitedShopInfoRsp_proto_init() { + if File_HomeLimitedShopInfoRsp_proto != nil { + return + } + file_HomeLimitedShopInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeLimitedShopInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeLimitedShopInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeLimitedShopInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeLimitedShopInfoRsp_proto_goTypes, + DependencyIndexes: file_HomeLimitedShopInfoRsp_proto_depIdxs, + MessageInfos: file_HomeLimitedShopInfoRsp_proto_msgTypes, + }.Build() + File_HomeLimitedShopInfoRsp_proto = out.File + file_HomeLimitedShopInfoRsp_proto_rawDesc = nil + file_HomeLimitedShopInfoRsp_proto_goTypes = nil + file_HomeLimitedShopInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.proto b/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.proto new file mode 100644 index 00000000..564ee630 --- /dev/null +++ b/gate-hk4e-api/proto/HomeLimitedShopInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeLimitedShopInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4796 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeLimitedShopInfoRsp { + HomeLimitedShopInfo shop_info = 10; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/HomeMarkPointFurnitureData.pb.go b/gate-hk4e-api/proto/HomeMarkPointFurnitureData.pb.go new file mode 100644 index 00000000..783b8880 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointFurnitureData.pb.go @@ -0,0 +1,255 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeMarkPointFurnitureData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeMarkPointFurnitureData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint32 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"` + FurnitureId uint32 `protobuf:"varint,2,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + FurnitureType uint32 `protobuf:"varint,3,opt,name=furniture_type,json=furnitureType,proto3" json:"furniture_type,omitempty"` + Pos *Vector `protobuf:"bytes,4,opt,name=pos,proto3" json:"pos,omitempty"` + // Types that are assignable to Extra: + // *HomeMarkPointFurnitureData_NpcData + // *HomeMarkPointFurnitureData_SuiteData + Extra isHomeMarkPointFurnitureData_Extra `protobuf_oneof:"extra"` +} + +func (x *HomeMarkPointFurnitureData) Reset() { + *x = HomeMarkPointFurnitureData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeMarkPointFurnitureData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeMarkPointFurnitureData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeMarkPointFurnitureData) ProtoMessage() {} + +func (x *HomeMarkPointFurnitureData) ProtoReflect() protoreflect.Message { + mi := &file_HomeMarkPointFurnitureData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeMarkPointFurnitureData.ProtoReflect.Descriptor instead. +func (*HomeMarkPointFurnitureData) Descriptor() ([]byte, []int) { + return file_HomeMarkPointFurnitureData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeMarkPointFurnitureData) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeMarkPointFurnitureData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomeMarkPointFurnitureData) GetFurnitureType() uint32 { + if x != nil { + return x.FurnitureType + } + return 0 +} + +func (x *HomeMarkPointFurnitureData) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (m *HomeMarkPointFurnitureData) GetExtra() isHomeMarkPointFurnitureData_Extra { + if m != nil { + return m.Extra + } + return nil +} + +func (x *HomeMarkPointFurnitureData) GetNpcData() *HomeMarkPointNPCData { + if x, ok := x.GetExtra().(*HomeMarkPointFurnitureData_NpcData); ok { + return x.NpcData + } + return nil +} + +func (x *HomeMarkPointFurnitureData) GetSuiteData() *HomeMarkPointSuiteData { + if x, ok := x.GetExtra().(*HomeMarkPointFurnitureData_SuiteData); ok { + return x.SuiteData + } + return nil +} + +type isHomeMarkPointFurnitureData_Extra interface { + isHomeMarkPointFurnitureData_Extra() +} + +type HomeMarkPointFurnitureData_NpcData struct { + NpcData *HomeMarkPointNPCData `protobuf:"bytes,6,opt,name=npc_data,json=npcData,proto3,oneof"` +} + +type HomeMarkPointFurnitureData_SuiteData struct { + SuiteData *HomeMarkPointSuiteData `protobuf:"bytes,7,opt,name=suite_data,json=suiteData,proto3,oneof"` +} + +func (*HomeMarkPointFurnitureData_NpcData) isHomeMarkPointFurnitureData_Extra() {} + +func (*HomeMarkPointFurnitureData_SuiteData) isHomeMarkPointFurnitureData_Extra() {} + +var File_HomeMarkPointFurnitureData_proto protoreflect.FileDescriptor + +var file_HomeMarkPointFurnitureData_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x4e, 0x50, 0x43, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x75, 0x69, + 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x1a, 0x48, + 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, + 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, + 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x6e, 0x70, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x4e, 0x50, 0x43, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x07, 0x6e, + 0x70, 0x63, 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0a, 0x73, 0x75, 0x69, 0x74, 0x65, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x75, 0x69, 0x74, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x09, 0x73, 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x42, 0x07, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeMarkPointFurnitureData_proto_rawDescOnce sync.Once + file_HomeMarkPointFurnitureData_proto_rawDescData = file_HomeMarkPointFurnitureData_proto_rawDesc +) + +func file_HomeMarkPointFurnitureData_proto_rawDescGZIP() []byte { + file_HomeMarkPointFurnitureData_proto_rawDescOnce.Do(func() { + file_HomeMarkPointFurnitureData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeMarkPointFurnitureData_proto_rawDescData) + }) + return file_HomeMarkPointFurnitureData_proto_rawDescData +} + +var file_HomeMarkPointFurnitureData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeMarkPointFurnitureData_proto_goTypes = []interface{}{ + (*HomeMarkPointFurnitureData)(nil), // 0: HomeMarkPointFurnitureData + (*Vector)(nil), // 1: Vector + (*HomeMarkPointNPCData)(nil), // 2: HomeMarkPointNPCData + (*HomeMarkPointSuiteData)(nil), // 3: HomeMarkPointSuiteData +} +var file_HomeMarkPointFurnitureData_proto_depIdxs = []int32{ + 1, // 0: HomeMarkPointFurnitureData.pos:type_name -> Vector + 2, // 1: HomeMarkPointFurnitureData.npc_data:type_name -> HomeMarkPointNPCData + 3, // 2: HomeMarkPointFurnitureData.suite_data:type_name -> HomeMarkPointSuiteData + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HomeMarkPointFurnitureData_proto_init() } +func file_HomeMarkPointFurnitureData_proto_init() { + if File_HomeMarkPointFurnitureData_proto != nil { + return + } + file_HomeMarkPointNPCData_proto_init() + file_HomeMarkPointSuiteData_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeMarkPointFurnitureData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeMarkPointFurnitureData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_HomeMarkPointFurnitureData_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*HomeMarkPointFurnitureData_NpcData)(nil), + (*HomeMarkPointFurnitureData_SuiteData)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeMarkPointFurnitureData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeMarkPointFurnitureData_proto_goTypes, + DependencyIndexes: file_HomeMarkPointFurnitureData_proto_depIdxs, + MessageInfos: file_HomeMarkPointFurnitureData_proto_msgTypes, + }.Build() + File_HomeMarkPointFurnitureData_proto = out.File + file_HomeMarkPointFurnitureData_proto_rawDesc = nil + file_HomeMarkPointFurnitureData_proto_goTypes = nil + file_HomeMarkPointFurnitureData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeMarkPointFurnitureData.proto b/gate-hk4e-api/proto/HomeMarkPointFurnitureData.proto new file mode 100644 index 00000000..c4cc413b --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointFurnitureData.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeMarkPointNPCData.proto"; +import "HomeMarkPointSuiteData.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeMarkPointFurnitureData { + uint32 guid = 1; + uint32 furniture_id = 2; + uint32 furniture_type = 3; + Vector pos = 4; + oneof extra { + HomeMarkPointNPCData npc_data = 6; + HomeMarkPointSuiteData suite_data = 7; + } +} diff --git a/gate-hk4e-api/proto/HomeMarkPointNPCData.pb.go b/gate-hk4e-api/proto/HomeMarkPointNPCData.pb.go new file mode 100644 index 00000000..fd62ac74 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointNPCData.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeMarkPointNPCData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeMarkPointNPCData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + CostumeId uint32 `protobuf:"varint,2,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *HomeMarkPointNPCData) Reset() { + *x = HomeMarkPointNPCData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeMarkPointNPCData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeMarkPointNPCData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeMarkPointNPCData) ProtoMessage() {} + +func (x *HomeMarkPointNPCData) ProtoReflect() protoreflect.Message { + mi := &file_HomeMarkPointNPCData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeMarkPointNPCData.ProtoReflect.Descriptor instead. +func (*HomeMarkPointNPCData) Descriptor() ([]byte, []int) { + return file_HomeMarkPointNPCData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeMarkPointNPCData) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeMarkPointNPCData) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_HomeMarkPointNPCData_proto protoreflect.FileDescriptor + +var file_HomeMarkPointNPCData_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, + 0x50, 0x43, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x14, + 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, 0x50, 0x43, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeMarkPointNPCData_proto_rawDescOnce sync.Once + file_HomeMarkPointNPCData_proto_rawDescData = file_HomeMarkPointNPCData_proto_rawDesc +) + +func file_HomeMarkPointNPCData_proto_rawDescGZIP() []byte { + file_HomeMarkPointNPCData_proto_rawDescOnce.Do(func() { + file_HomeMarkPointNPCData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeMarkPointNPCData_proto_rawDescData) + }) + return file_HomeMarkPointNPCData_proto_rawDescData +} + +var file_HomeMarkPointNPCData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeMarkPointNPCData_proto_goTypes = []interface{}{ + (*HomeMarkPointNPCData)(nil), // 0: HomeMarkPointNPCData +} +var file_HomeMarkPointNPCData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeMarkPointNPCData_proto_init() } +func file_HomeMarkPointNPCData_proto_init() { + if File_HomeMarkPointNPCData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeMarkPointNPCData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeMarkPointNPCData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeMarkPointNPCData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeMarkPointNPCData_proto_goTypes, + DependencyIndexes: file_HomeMarkPointNPCData_proto_depIdxs, + MessageInfos: file_HomeMarkPointNPCData_proto_msgTypes, + }.Build() + File_HomeMarkPointNPCData_proto = out.File + file_HomeMarkPointNPCData_proto_rawDesc = nil + file_HomeMarkPointNPCData_proto_goTypes = nil + file_HomeMarkPointNPCData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeMarkPointNPCData.proto b/gate-hk4e-api/proto/HomeMarkPointNPCData.proto new file mode 100644 index 00000000..25050cd4 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointNPCData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeMarkPointNPCData { + uint32 avatar_id = 1; + uint32 costume_id = 2; +} diff --git a/gate-hk4e-api/proto/HomeMarkPointNotify.pb.go b/gate-hk4e-api/proto/HomeMarkPointNotify.pb.go new file mode 100644 index 00000000..4eddb51c --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeMarkPointNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4474 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeMarkPointNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MarkPointDataList []*HomeMarkPointSceneData `protobuf:"bytes,12,rep,name=mark_point_data_list,json=markPointDataList,proto3" json:"mark_point_data_list,omitempty"` +} + +func (x *HomeMarkPointNotify) Reset() { + *x = HomeMarkPointNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeMarkPointNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeMarkPointNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeMarkPointNotify) ProtoMessage() {} + +func (x *HomeMarkPointNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeMarkPointNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeMarkPointNotify.ProtoReflect.Descriptor instead. +func (*HomeMarkPointNotify) Descriptor() ([]byte, []int) { + return file_HomeMarkPointNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeMarkPointNotify) GetMarkPointDataList() []*HomeMarkPointSceneData { + if x != nil { + return x.MarkPointDataList + } + return nil +} + +var File_HomeMarkPointNotify_proto protoreflect.FileDescriptor + +var file_HomeMarkPointNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x48, 0x6f, 0x6d, + 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x13, 0x48, 0x6f, 0x6d, + 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x48, 0x0a, 0x14, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeMarkPointNotify_proto_rawDescOnce sync.Once + file_HomeMarkPointNotify_proto_rawDescData = file_HomeMarkPointNotify_proto_rawDesc +) + +func file_HomeMarkPointNotify_proto_rawDescGZIP() []byte { + file_HomeMarkPointNotify_proto_rawDescOnce.Do(func() { + file_HomeMarkPointNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeMarkPointNotify_proto_rawDescData) + }) + return file_HomeMarkPointNotify_proto_rawDescData +} + +var file_HomeMarkPointNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeMarkPointNotify_proto_goTypes = []interface{}{ + (*HomeMarkPointNotify)(nil), // 0: HomeMarkPointNotify + (*HomeMarkPointSceneData)(nil), // 1: HomeMarkPointSceneData +} +var file_HomeMarkPointNotify_proto_depIdxs = []int32{ + 1, // 0: HomeMarkPointNotify.mark_point_data_list:type_name -> HomeMarkPointSceneData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeMarkPointNotify_proto_init() } +func file_HomeMarkPointNotify_proto_init() { + if File_HomeMarkPointNotify_proto != nil { + return + } + file_HomeMarkPointSceneData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeMarkPointNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeMarkPointNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeMarkPointNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeMarkPointNotify_proto_goTypes, + DependencyIndexes: file_HomeMarkPointNotify_proto_depIdxs, + MessageInfos: file_HomeMarkPointNotify_proto_msgTypes, + }.Build() + File_HomeMarkPointNotify_proto = out.File + file_HomeMarkPointNotify_proto_rawDesc = nil + file_HomeMarkPointNotify_proto_goTypes = nil + file_HomeMarkPointNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeMarkPointNotify.proto b/gate-hk4e-api/proto/HomeMarkPointNotify.proto new file mode 100644 index 00000000..623fb4f2 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeMarkPointSceneData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4474 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeMarkPointNotify { + repeated HomeMarkPointSceneData mark_point_data_list = 12; +} diff --git a/gate-hk4e-api/proto/HomeMarkPointSceneData.pb.go b/gate-hk4e-api/proto/HomeMarkPointSceneData.pb.go new file mode 100644 index 00000000..296c2d08 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointSceneData.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeMarkPointSceneData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeMarkPointSceneData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureList []*HomeMarkPointFurnitureData `protobuf:"bytes,6,rep,name=furniture_list,json=furnitureList,proto3" json:"furniture_list,omitempty"` + ModuleId uint32 `protobuf:"varint,5,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + TeapotSpiritPos *Vector `protobuf:"bytes,4,opt,name=teapot_spirit_pos,json=teapotSpiritPos,proto3" json:"teapot_spirit_pos,omitempty"` +} + +func (x *HomeMarkPointSceneData) Reset() { + *x = HomeMarkPointSceneData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeMarkPointSceneData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeMarkPointSceneData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeMarkPointSceneData) ProtoMessage() {} + +func (x *HomeMarkPointSceneData) ProtoReflect() protoreflect.Message { + mi := &file_HomeMarkPointSceneData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeMarkPointSceneData.ProtoReflect.Descriptor instead. +func (*HomeMarkPointSceneData) Descriptor() ([]byte, []int) { + return file_HomeMarkPointSceneData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeMarkPointSceneData) GetFurnitureList() []*HomeMarkPointFurnitureData { + if x != nil { + return x.FurnitureList + } + return nil +} + +func (x *HomeMarkPointSceneData) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +func (x *HomeMarkPointSceneData) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *HomeMarkPointSceneData) GetTeapotSpiritPos() *Vector { + if x != nil { + return x.TeapotSpiritPos + } + return nil +} + +var File_HomeMarkPointSceneData_proto protoreflect.FileDescriptor + +var file_HomeMarkPointSceneData_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, + 0x01, 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x0e, 0x66, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0d, + 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x11, 0x74, 0x65, 0x61, 0x70, 0x6f, 0x74, 0x5f, + 0x73, 0x70, 0x69, 0x72, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0f, 0x74, 0x65, 0x61, 0x70, 0x6f, + 0x74, 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeMarkPointSceneData_proto_rawDescOnce sync.Once + file_HomeMarkPointSceneData_proto_rawDescData = file_HomeMarkPointSceneData_proto_rawDesc +) + +func file_HomeMarkPointSceneData_proto_rawDescGZIP() []byte { + file_HomeMarkPointSceneData_proto_rawDescOnce.Do(func() { + file_HomeMarkPointSceneData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeMarkPointSceneData_proto_rawDescData) + }) + return file_HomeMarkPointSceneData_proto_rawDescData +} + +var file_HomeMarkPointSceneData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeMarkPointSceneData_proto_goTypes = []interface{}{ + (*HomeMarkPointSceneData)(nil), // 0: HomeMarkPointSceneData + (*HomeMarkPointFurnitureData)(nil), // 1: HomeMarkPointFurnitureData + (*Vector)(nil), // 2: Vector +} +var file_HomeMarkPointSceneData_proto_depIdxs = []int32{ + 1, // 0: HomeMarkPointSceneData.furniture_list:type_name -> HomeMarkPointFurnitureData + 2, // 1: HomeMarkPointSceneData.teapot_spirit_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeMarkPointSceneData_proto_init() } +func file_HomeMarkPointSceneData_proto_init() { + if File_HomeMarkPointSceneData_proto != nil { + return + } + file_HomeMarkPointFurnitureData_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeMarkPointSceneData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeMarkPointSceneData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeMarkPointSceneData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeMarkPointSceneData_proto_goTypes, + DependencyIndexes: file_HomeMarkPointSceneData_proto_depIdxs, + MessageInfos: file_HomeMarkPointSceneData_proto_msgTypes, + }.Build() + File_HomeMarkPointSceneData_proto = out.File + file_HomeMarkPointSceneData_proto_rawDesc = nil + file_HomeMarkPointSceneData_proto_goTypes = nil + file_HomeMarkPointSceneData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeMarkPointSceneData.proto b/gate-hk4e-api/proto/HomeMarkPointSceneData.proto new file mode 100644 index 00000000..f63b89dd --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointSceneData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeMarkPointFurnitureData.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeMarkPointSceneData { + repeated HomeMarkPointFurnitureData furniture_list = 6; + uint32 module_id = 5; + uint32 scene_id = 2; + Vector teapot_spirit_pos = 4; +} diff --git a/gate-hk4e-api/proto/HomeMarkPointSuiteData.pb.go b/gate-hk4e-api/proto/HomeMarkPointSuiteData.pb.go new file mode 100644 index 00000000..23eb5004 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointSuiteData.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeMarkPointSuiteData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeMarkPointSuiteData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SuiteId uint32 `protobuf:"varint,1,opt,name=suite_id,json=suiteId,proto3" json:"suite_id,omitempty"` +} + +func (x *HomeMarkPointSuiteData) Reset() { + *x = HomeMarkPointSuiteData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeMarkPointSuiteData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeMarkPointSuiteData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeMarkPointSuiteData) ProtoMessage() {} + +func (x *HomeMarkPointSuiteData) ProtoReflect() protoreflect.Message { + mi := &file_HomeMarkPointSuiteData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeMarkPointSuiteData.ProtoReflect.Descriptor instead. +func (*HomeMarkPointSuiteData) Descriptor() ([]byte, []int) { + return file_HomeMarkPointSuiteData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeMarkPointSuiteData) GetSuiteId() uint32 { + if x != nil { + return x.SuiteId + } + return 0 +} + +var File_HomeMarkPointSuiteData_proto protoreflect.FileDescriptor + +var file_HomeMarkPointSuiteData_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, + 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, + 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x75, 0x69, 0x74, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x75, 0x69, 0x74, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeMarkPointSuiteData_proto_rawDescOnce sync.Once + file_HomeMarkPointSuiteData_proto_rawDescData = file_HomeMarkPointSuiteData_proto_rawDesc +) + +func file_HomeMarkPointSuiteData_proto_rawDescGZIP() []byte { + file_HomeMarkPointSuiteData_proto_rawDescOnce.Do(func() { + file_HomeMarkPointSuiteData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeMarkPointSuiteData_proto_rawDescData) + }) + return file_HomeMarkPointSuiteData_proto_rawDescData +} + +var file_HomeMarkPointSuiteData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeMarkPointSuiteData_proto_goTypes = []interface{}{ + (*HomeMarkPointSuiteData)(nil), // 0: HomeMarkPointSuiteData +} +var file_HomeMarkPointSuiteData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeMarkPointSuiteData_proto_init() } +func file_HomeMarkPointSuiteData_proto_init() { + if File_HomeMarkPointSuiteData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeMarkPointSuiteData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeMarkPointSuiteData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeMarkPointSuiteData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeMarkPointSuiteData_proto_goTypes, + DependencyIndexes: file_HomeMarkPointSuiteData_proto_depIdxs, + MessageInfos: file_HomeMarkPointSuiteData_proto_msgTypes, + }.Build() + File_HomeMarkPointSuiteData_proto = out.File + file_HomeMarkPointSuiteData_proto_rawDesc = nil + file_HomeMarkPointSuiteData_proto_goTypes = nil + file_HomeMarkPointSuiteData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeMarkPointSuiteData.proto b/gate-hk4e-api/proto/HomeMarkPointSuiteData.proto new file mode 100644 index 00000000..978d8d59 --- /dev/null +++ b/gate-hk4e-api/proto/HomeMarkPointSuiteData.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeMarkPointSuiteData { + uint32 suite_id = 1; +} diff --git a/gate-hk4e-api/proto/HomeModuleComfortInfo.pb.go b/gate-hk4e-api/proto/HomeModuleComfortInfo.pb.go new file mode 100644 index 00000000..14190f6c --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleComfortInfo.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeModuleComfortInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeModuleComfortInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModuleId uint32 `protobuf:"varint,13,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` + RoomSceneComfortValue uint32 `protobuf:"varint,9,opt,name=room_scene_comfort_value,json=roomSceneComfortValue,proto3" json:"room_scene_comfort_value,omitempty"` + WorldSceneBlockComfortValueList []uint32 `protobuf:"varint,3,rep,packed,name=world_scene_block_comfort_value_list,json=worldSceneBlockComfortValueList,proto3" json:"world_scene_block_comfort_value_list,omitempty"` +} + +func (x *HomeModuleComfortInfo) Reset() { + *x = HomeModuleComfortInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeModuleComfortInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeModuleComfortInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeModuleComfortInfo) ProtoMessage() {} + +func (x *HomeModuleComfortInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeModuleComfortInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeModuleComfortInfo.ProtoReflect.Descriptor instead. +func (*HomeModuleComfortInfo) Descriptor() ([]byte, []int) { + return file_HomeModuleComfortInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeModuleComfortInfo) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +func (x *HomeModuleComfortInfo) GetRoomSceneComfortValue() uint32 { + if x != nil { + return x.RoomSceneComfortValue + } + return 0 +} + +func (x *HomeModuleComfortInfo) GetWorldSceneBlockComfortValueList() []uint32 { + if x != nil { + return x.WorldSceneBlockComfortValueList + } + return nil +} + +var File_HomeModuleComfortInfo_proto protoreflect.FileDescriptor + +var file_HomeModuleComfortInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x66, + 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, + 0x0a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x66, + 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x43, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4d, 0x0a, + 0x24, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1f, 0x77, 0x6f, 0x72, + 0x6c, 0x64, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x66, + 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeModuleComfortInfo_proto_rawDescOnce sync.Once + file_HomeModuleComfortInfo_proto_rawDescData = file_HomeModuleComfortInfo_proto_rawDesc +) + +func file_HomeModuleComfortInfo_proto_rawDescGZIP() []byte { + file_HomeModuleComfortInfo_proto_rawDescOnce.Do(func() { + file_HomeModuleComfortInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeModuleComfortInfo_proto_rawDescData) + }) + return file_HomeModuleComfortInfo_proto_rawDescData +} + +var file_HomeModuleComfortInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeModuleComfortInfo_proto_goTypes = []interface{}{ + (*HomeModuleComfortInfo)(nil), // 0: HomeModuleComfortInfo +} +var file_HomeModuleComfortInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeModuleComfortInfo_proto_init() } +func file_HomeModuleComfortInfo_proto_init() { + if File_HomeModuleComfortInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeModuleComfortInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeModuleComfortInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeModuleComfortInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeModuleComfortInfo_proto_goTypes, + DependencyIndexes: file_HomeModuleComfortInfo_proto_depIdxs, + MessageInfos: file_HomeModuleComfortInfo_proto_msgTypes, + }.Build() + File_HomeModuleComfortInfo_proto = out.File + file_HomeModuleComfortInfo_proto_rawDesc = nil + file_HomeModuleComfortInfo_proto_goTypes = nil + file_HomeModuleComfortInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeModuleComfortInfo.proto b/gate-hk4e-api/proto/HomeModuleComfortInfo.proto new file mode 100644 index 00000000..5fb21777 --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleComfortInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeModuleComfortInfo { + uint32 module_id = 13; + uint32 room_scene_comfort_value = 9; + repeated uint32 world_scene_block_comfort_value_list = 3; +} diff --git a/gate-hk4e-api/proto/HomeModuleSeenReq.pb.go b/gate-hk4e-api/proto/HomeModuleSeenReq.pb.go new file mode 100644 index 00000000..3519dcbd --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleSeenReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeModuleSeenReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4499 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeModuleSeenReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeenModuleIdList []uint32 `protobuf:"varint,5,rep,packed,name=seen_module_id_list,json=seenModuleIdList,proto3" json:"seen_module_id_list,omitempty"` +} + +func (x *HomeModuleSeenReq) Reset() { + *x = HomeModuleSeenReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeModuleSeenReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeModuleSeenReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeModuleSeenReq) ProtoMessage() {} + +func (x *HomeModuleSeenReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeModuleSeenReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeModuleSeenReq.ProtoReflect.Descriptor instead. +func (*HomeModuleSeenReq) Descriptor() ([]byte, []int) { + return file_HomeModuleSeenReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeModuleSeenReq) GetSeenModuleIdList() []uint32 { + if x != nil { + return x.SeenModuleIdList + } + return nil +} + +var File_HomeModuleSeenReq_proto protoreflect.FileDescriptor + +var file_HomeModuleSeenReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x65, 0x6e, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x2d, + 0x0a, 0x13, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x65, + 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeModuleSeenReq_proto_rawDescOnce sync.Once + file_HomeModuleSeenReq_proto_rawDescData = file_HomeModuleSeenReq_proto_rawDesc +) + +func file_HomeModuleSeenReq_proto_rawDescGZIP() []byte { + file_HomeModuleSeenReq_proto_rawDescOnce.Do(func() { + file_HomeModuleSeenReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeModuleSeenReq_proto_rawDescData) + }) + return file_HomeModuleSeenReq_proto_rawDescData +} + +var file_HomeModuleSeenReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeModuleSeenReq_proto_goTypes = []interface{}{ + (*HomeModuleSeenReq)(nil), // 0: HomeModuleSeenReq +} +var file_HomeModuleSeenReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeModuleSeenReq_proto_init() } +func file_HomeModuleSeenReq_proto_init() { + if File_HomeModuleSeenReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeModuleSeenReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeModuleSeenReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeModuleSeenReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeModuleSeenReq_proto_goTypes, + DependencyIndexes: file_HomeModuleSeenReq_proto_depIdxs, + MessageInfos: file_HomeModuleSeenReq_proto_msgTypes, + }.Build() + File_HomeModuleSeenReq_proto = out.File + file_HomeModuleSeenReq_proto_rawDesc = nil + file_HomeModuleSeenReq_proto_goTypes = nil + file_HomeModuleSeenReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeModuleSeenReq.proto b/gate-hk4e-api/proto/HomeModuleSeenReq.proto new file mode 100644 index 00000000..f404cfd8 --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleSeenReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4499 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeModuleSeenReq { + repeated uint32 seen_module_id_list = 5; +} diff --git a/gate-hk4e-api/proto/HomeModuleSeenRsp.pb.go b/gate-hk4e-api/proto/HomeModuleSeenRsp.pb.go new file mode 100644 index 00000000..9052e598 --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleSeenRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeModuleSeenRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4821 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeModuleSeenRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeenModuleIdList []uint32 `protobuf:"varint,13,rep,packed,name=seen_module_id_list,json=seenModuleIdList,proto3" json:"seen_module_id_list,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeModuleSeenRsp) Reset() { + *x = HomeModuleSeenRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeModuleSeenRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeModuleSeenRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeModuleSeenRsp) ProtoMessage() {} + +func (x *HomeModuleSeenRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeModuleSeenRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeModuleSeenRsp.ProtoReflect.Descriptor instead. +func (*HomeModuleSeenRsp) Descriptor() ([]byte, []int) { + return file_HomeModuleSeenRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeModuleSeenRsp) GetSeenModuleIdList() []uint32 { + if x != nil { + return x.SeenModuleIdList + } + return nil +} + +func (x *HomeModuleSeenRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeModuleSeenRsp_proto protoreflect.FileDescriptor + +var file_HomeModuleSeenRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x65, 0x6e, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x11, 0x48, 0x6f, 0x6d, + 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x65, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x2d, + 0x0a, 0x13, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x65, + 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeModuleSeenRsp_proto_rawDescOnce sync.Once + file_HomeModuleSeenRsp_proto_rawDescData = file_HomeModuleSeenRsp_proto_rawDesc +) + +func file_HomeModuleSeenRsp_proto_rawDescGZIP() []byte { + file_HomeModuleSeenRsp_proto_rawDescOnce.Do(func() { + file_HomeModuleSeenRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeModuleSeenRsp_proto_rawDescData) + }) + return file_HomeModuleSeenRsp_proto_rawDescData +} + +var file_HomeModuleSeenRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeModuleSeenRsp_proto_goTypes = []interface{}{ + (*HomeModuleSeenRsp)(nil), // 0: HomeModuleSeenRsp +} +var file_HomeModuleSeenRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeModuleSeenRsp_proto_init() } +func file_HomeModuleSeenRsp_proto_init() { + if File_HomeModuleSeenRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeModuleSeenRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeModuleSeenRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeModuleSeenRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeModuleSeenRsp_proto_goTypes, + DependencyIndexes: file_HomeModuleSeenRsp_proto_depIdxs, + MessageInfos: file_HomeModuleSeenRsp_proto_msgTypes, + }.Build() + File_HomeModuleSeenRsp_proto = out.File + file_HomeModuleSeenRsp_proto_rawDesc = nil + file_HomeModuleSeenRsp_proto_goTypes = nil + file_HomeModuleSeenRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeModuleSeenRsp.proto b/gate-hk4e-api/proto/HomeModuleSeenRsp.proto new file mode 100644 index 00000000..569daffe --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleSeenRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4821 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeModuleSeenRsp { + repeated uint32 seen_module_id_list = 13; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/HomeModuleUnlockNotify.pb.go b/gate-hk4e-api/proto/HomeModuleUnlockNotify.pb.go new file mode 100644 index 00000000..9de77538 --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleUnlockNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeModuleUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4560 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeModuleUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModuleId uint32 `protobuf:"varint,8,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` +} + +func (x *HomeModuleUnlockNotify) Reset() { + *x = HomeModuleUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeModuleUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeModuleUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeModuleUnlockNotify) ProtoMessage() {} + +func (x *HomeModuleUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeModuleUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeModuleUnlockNotify.ProtoReflect.Descriptor instead. +func (*HomeModuleUnlockNotify) Descriptor() ([]byte, []int) { + return file_HomeModuleUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeModuleUnlockNotify) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +var File_HomeModuleUnlockNotify_proto protoreflect.FileDescriptor + +var file_HomeModuleUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeModuleUnlockNotify_proto_rawDescOnce sync.Once + file_HomeModuleUnlockNotify_proto_rawDescData = file_HomeModuleUnlockNotify_proto_rawDesc +) + +func file_HomeModuleUnlockNotify_proto_rawDescGZIP() []byte { + file_HomeModuleUnlockNotify_proto_rawDescOnce.Do(func() { + file_HomeModuleUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeModuleUnlockNotify_proto_rawDescData) + }) + return file_HomeModuleUnlockNotify_proto_rawDescData +} + +var file_HomeModuleUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeModuleUnlockNotify_proto_goTypes = []interface{}{ + (*HomeModuleUnlockNotify)(nil), // 0: HomeModuleUnlockNotify +} +var file_HomeModuleUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeModuleUnlockNotify_proto_init() } +func file_HomeModuleUnlockNotify_proto_init() { + if File_HomeModuleUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeModuleUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeModuleUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeModuleUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeModuleUnlockNotify_proto_goTypes, + DependencyIndexes: file_HomeModuleUnlockNotify_proto_depIdxs, + MessageInfos: file_HomeModuleUnlockNotify_proto_msgTypes, + }.Build() + File_HomeModuleUnlockNotify_proto = out.File + file_HomeModuleUnlockNotify_proto_rawDesc = nil + file_HomeModuleUnlockNotify_proto_goTypes = nil + file_HomeModuleUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeModuleUnlockNotify.proto b/gate-hk4e-api/proto/HomeModuleUnlockNotify.proto new file mode 100644 index 00000000..7af9e066 --- /dev/null +++ b/gate-hk4e-api/proto/HomeModuleUnlockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4560 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeModuleUnlockNotify { + uint32 module_id = 8; +} diff --git a/gate-hk4e-api/proto/HomeNpcData.pb.go b/gate-hk4e-api/proto/HomeNpcData.pb.go new file mode 100644 index 00000000..ec10c325 --- /dev/null +++ b/gate-hk4e-api/proto/HomeNpcData.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeNpcData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeNpcData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,14,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + SpawnPos *Vector `protobuf:"bytes,15,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` + CostumeId uint32 `protobuf:"varint,3,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + SpawnRot *Vector `protobuf:"bytes,13,opt,name=spawn_rot,json=spawnRot,proto3" json:"spawn_rot,omitempty"` +} + +func (x *HomeNpcData) Reset() { + *x = HomeNpcData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeNpcData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeNpcData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeNpcData) ProtoMessage() {} + +func (x *HomeNpcData) ProtoReflect() protoreflect.Message { + mi := &file_HomeNpcData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeNpcData.ProtoReflect.Descriptor instead. +func (*HomeNpcData) Descriptor() ([]byte, []int) { + return file_HomeNpcData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeNpcData) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *HomeNpcData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +func (x *HomeNpcData) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *HomeNpcData) GetSpawnRot() *Vector { + if x != nil { + return x.SpawnRot + } + return nil +} + +var File_HomeNpcData_proto protoreflect.FileDescriptor + +var file_HomeNpcData_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x70, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x0b, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x70, 0x63, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x24, + 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, + 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, + 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x72, 0x6f, 0x74, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x52, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeNpcData_proto_rawDescOnce sync.Once + file_HomeNpcData_proto_rawDescData = file_HomeNpcData_proto_rawDesc +) + +func file_HomeNpcData_proto_rawDescGZIP() []byte { + file_HomeNpcData_proto_rawDescOnce.Do(func() { + file_HomeNpcData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeNpcData_proto_rawDescData) + }) + return file_HomeNpcData_proto_rawDescData +} + +var file_HomeNpcData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeNpcData_proto_goTypes = []interface{}{ + (*HomeNpcData)(nil), // 0: HomeNpcData + (*Vector)(nil), // 1: Vector +} +var file_HomeNpcData_proto_depIdxs = []int32{ + 1, // 0: HomeNpcData.spawn_pos:type_name -> Vector + 1, // 1: HomeNpcData.spawn_rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeNpcData_proto_init() } +func file_HomeNpcData_proto_init() { + if File_HomeNpcData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeNpcData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeNpcData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeNpcData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeNpcData_proto_goTypes, + DependencyIndexes: file_HomeNpcData_proto_depIdxs, + MessageInfos: file_HomeNpcData_proto_msgTypes, + }.Build() + File_HomeNpcData_proto = out.File + file_HomeNpcData_proto_rawDesc = nil + file_HomeNpcData_proto_goTypes = nil + file_HomeNpcData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeNpcData.proto b/gate-hk4e-api/proto/HomeNpcData.proto new file mode 100644 index 00000000..1a17002b --- /dev/null +++ b/gate-hk4e-api/proto/HomeNpcData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeNpcData { + uint32 avatar_id = 14; + Vector spawn_pos = 15; + uint32 costume_id = 3; + Vector spawn_rot = 13; +} diff --git a/gate-hk4e-api/proto/HomePlantFieldData.pb.go b/gate-hk4e-api/proto/HomePlantFieldData.pb.go new file mode 100644 index 00000000..b39f6628 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldData.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantFieldData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomePlantFieldData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubFieldList []*HomePlantSubFieldData `protobuf:"bytes,13,rep,name=sub_field_list,json=subFieldList,proto3" json:"sub_field_list,omitempty"` + FurnitureId uint32 `protobuf:"varint,9,opt,name=furniture_id,json=furnitureId,proto3" json:"furniture_id,omitempty"` + SceneId uint32 `protobuf:"varint,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + FieldGuid uint32 `protobuf:"varint,10,opt,name=field_guid,json=fieldGuid,proto3" json:"field_guid,omitempty"` + SpawnPos *Vector `protobuf:"bytes,12,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` +} + +func (x *HomePlantFieldData) Reset() { + *x = HomePlantFieldData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantFieldData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantFieldData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantFieldData) ProtoMessage() {} + +func (x *HomePlantFieldData) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantFieldData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantFieldData.ProtoReflect.Descriptor instead. +func (*HomePlantFieldData) Descriptor() ([]byte, []int) { + return file_HomePlantFieldData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantFieldData) GetSubFieldList() []*HomePlantSubFieldData { + if x != nil { + return x.SubFieldList + } + return nil +} + +func (x *HomePlantFieldData) GetFurnitureId() uint32 { + if x != nil { + return x.FurnitureId + } + return 0 +} + +func (x *HomePlantFieldData) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *HomePlantFieldData) GetFieldGuid() uint32 { + if x != nil { + return x.FieldGuid + } + return 0 +} + +func (x *HomePlantFieldData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +var File_HomePlantFieldData_proto protoreflect.FileDescriptor + +var file_HomePlantFieldData_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x0e, + 0x73, 0x75, 0x62, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x53, 0x75, 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x73, 0x75, + 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x47, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, + 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomePlantFieldData_proto_rawDescOnce sync.Once + file_HomePlantFieldData_proto_rawDescData = file_HomePlantFieldData_proto_rawDesc +) + +func file_HomePlantFieldData_proto_rawDescGZIP() []byte { + file_HomePlantFieldData_proto_rawDescOnce.Do(func() { + file_HomePlantFieldData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantFieldData_proto_rawDescData) + }) + return file_HomePlantFieldData_proto_rawDescData +} + +var file_HomePlantFieldData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantFieldData_proto_goTypes = []interface{}{ + (*HomePlantFieldData)(nil), // 0: HomePlantFieldData + (*HomePlantSubFieldData)(nil), // 1: HomePlantSubFieldData + (*Vector)(nil), // 2: Vector +} +var file_HomePlantFieldData_proto_depIdxs = []int32{ + 1, // 0: HomePlantFieldData.sub_field_list:type_name -> HomePlantSubFieldData + 2, // 1: HomePlantFieldData.spawn_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomePlantFieldData_proto_init() } +func file_HomePlantFieldData_proto_init() { + if File_HomePlantFieldData_proto != nil { + return + } + file_HomePlantSubFieldData_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomePlantFieldData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantFieldData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantFieldData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantFieldData_proto_goTypes, + DependencyIndexes: file_HomePlantFieldData_proto_depIdxs, + MessageInfos: file_HomePlantFieldData_proto_msgTypes, + }.Build() + File_HomePlantFieldData_proto = out.File + file_HomePlantFieldData_proto_rawDesc = nil + file_HomePlantFieldData_proto_goTypes = nil + file_HomePlantFieldData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantFieldData.proto b/gate-hk4e-api/proto/HomePlantFieldData.proto new file mode 100644 index 00000000..5510d489 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldData.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomePlantSubFieldData.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomePlantFieldData { + repeated HomePlantSubFieldData sub_field_list = 13; + uint32 furniture_id = 9; + uint32 scene_id = 1; + uint32 field_guid = 10; + Vector spawn_pos = 12; +} diff --git a/gate-hk4e-api/proto/HomePlantFieldNotify.pb.go b/gate-hk4e-api/proto/HomePlantFieldNotify.pb.go new file mode 100644 index 00000000..f5282a99 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantFieldNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4549 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomePlantFieldNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Field *HomePlantFieldData `protobuf:"bytes,13,opt,name=field,proto3" json:"field,omitempty"` +} + +func (x *HomePlantFieldNotify) Reset() { + *x = HomePlantFieldNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantFieldNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantFieldNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantFieldNotify) ProtoMessage() {} + +func (x *HomePlantFieldNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantFieldNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantFieldNotify.ProtoReflect.Descriptor instead. +func (*HomePlantFieldNotify) Descriptor() ([]byte, []int) { + return file_HomePlantFieldNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantFieldNotify) GetField() *HomePlantFieldData { + if x != nil { + return x.Field + } + return nil +} + +var File_HomePlantFieldNotify_proto protoreflect.FileDescriptor + +var file_HomePlantFieldNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x48, 0x6f, + 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x29, + 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantFieldNotify_proto_rawDescOnce sync.Once + file_HomePlantFieldNotify_proto_rawDescData = file_HomePlantFieldNotify_proto_rawDesc +) + +func file_HomePlantFieldNotify_proto_rawDescGZIP() []byte { + file_HomePlantFieldNotify_proto_rawDescOnce.Do(func() { + file_HomePlantFieldNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantFieldNotify_proto_rawDescData) + }) + return file_HomePlantFieldNotify_proto_rawDescData +} + +var file_HomePlantFieldNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantFieldNotify_proto_goTypes = []interface{}{ + (*HomePlantFieldNotify)(nil), // 0: HomePlantFieldNotify + (*HomePlantFieldData)(nil), // 1: HomePlantFieldData +} +var file_HomePlantFieldNotify_proto_depIdxs = []int32{ + 1, // 0: HomePlantFieldNotify.field:type_name -> HomePlantFieldData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomePlantFieldNotify_proto_init() } +func file_HomePlantFieldNotify_proto_init() { + if File_HomePlantFieldNotify_proto != nil { + return + } + file_HomePlantFieldData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomePlantFieldNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantFieldNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantFieldNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantFieldNotify_proto_goTypes, + DependencyIndexes: file_HomePlantFieldNotify_proto_depIdxs, + MessageInfos: file_HomePlantFieldNotify_proto_msgTypes, + }.Build() + File_HomePlantFieldNotify_proto = out.File + file_HomePlantFieldNotify_proto_rawDesc = nil + file_HomePlantFieldNotify_proto_goTypes = nil + file_HomePlantFieldNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantFieldNotify.proto b/gate-hk4e-api/proto/HomePlantFieldNotify.proto new file mode 100644 index 00000000..4b868bc8 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomePlantFieldData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4549 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomePlantFieldNotify { + HomePlantFieldData field = 13; +} diff --git a/gate-hk4e-api/proto/HomePlantFieldStatus.pb.go b/gate-hk4e-api/proto/HomePlantFieldStatus.pb.go new file mode 100644 index 00000000..25b1bfed --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldStatus.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantFieldStatus.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomePlantFieldStatus int32 + +const ( + HomePlantFieldStatus_HOME_PLANT_FIELD_STATUS_STATUE_NONE HomePlantFieldStatus = 0 + HomePlantFieldStatus_HOME_PLANT_FIELD_STATUS_STATUE_SEED HomePlantFieldStatus = 1 + HomePlantFieldStatus_HOME_PLANT_FIELD_STATUS_STATUE_SPROUT HomePlantFieldStatus = 2 + HomePlantFieldStatus_HOME_PLANT_FIELD_STATUS_STATUE_GATHER HomePlantFieldStatus = 3 +) + +// Enum value maps for HomePlantFieldStatus. +var ( + HomePlantFieldStatus_name = map[int32]string{ + 0: "HOME_PLANT_FIELD_STATUS_STATUE_NONE", + 1: "HOME_PLANT_FIELD_STATUS_STATUE_SEED", + 2: "HOME_PLANT_FIELD_STATUS_STATUE_SPROUT", + 3: "HOME_PLANT_FIELD_STATUS_STATUE_GATHER", + } + HomePlantFieldStatus_value = map[string]int32{ + "HOME_PLANT_FIELD_STATUS_STATUE_NONE": 0, + "HOME_PLANT_FIELD_STATUS_STATUE_SEED": 1, + "HOME_PLANT_FIELD_STATUS_STATUE_SPROUT": 2, + "HOME_PLANT_FIELD_STATUS_STATUE_GATHER": 3, + } +) + +func (x HomePlantFieldStatus) Enum() *HomePlantFieldStatus { + p := new(HomePlantFieldStatus) + *p = x + return p +} + +func (x HomePlantFieldStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HomePlantFieldStatus) Descriptor() protoreflect.EnumDescriptor { + return file_HomePlantFieldStatus_proto_enumTypes[0].Descriptor() +} + +func (HomePlantFieldStatus) Type() protoreflect.EnumType { + return &file_HomePlantFieldStatus_proto_enumTypes[0] +} + +func (x HomePlantFieldStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HomePlantFieldStatus.Descriptor instead. +func (HomePlantFieldStatus) EnumDescriptor() ([]byte, []int) { + return file_HomePlantFieldStatus_proto_rawDescGZIP(), []int{0} +} + +var File_HomePlantFieldStatus_proto protoreflect.FileDescriptor + +var file_HomePlantFieldStatus_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xbe, 0x01, 0x0a, + 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x27, 0x0a, 0x23, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, + 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x27, + 0x0a, 0x23, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x45, + 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, + 0x5f, 0x53, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x5f, 0x53, 0x50, 0x52, 0x4f, 0x55, 0x54, + 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, + 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x45, 0x5f, 0x47, 0x41, 0x54, 0x48, 0x45, 0x52, 0x10, 0x03, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomePlantFieldStatus_proto_rawDescOnce sync.Once + file_HomePlantFieldStatus_proto_rawDescData = file_HomePlantFieldStatus_proto_rawDesc +) + +func file_HomePlantFieldStatus_proto_rawDescGZIP() []byte { + file_HomePlantFieldStatus_proto_rawDescOnce.Do(func() { + file_HomePlantFieldStatus_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantFieldStatus_proto_rawDescData) + }) + return file_HomePlantFieldStatus_proto_rawDescData +} + +var file_HomePlantFieldStatus_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_HomePlantFieldStatus_proto_goTypes = []interface{}{ + (HomePlantFieldStatus)(0), // 0: HomePlantFieldStatus +} +var file_HomePlantFieldStatus_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantFieldStatus_proto_init() } +func file_HomePlantFieldStatus_proto_init() { + if File_HomePlantFieldStatus_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantFieldStatus_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantFieldStatus_proto_goTypes, + DependencyIndexes: file_HomePlantFieldStatus_proto_depIdxs, + EnumInfos: file_HomePlantFieldStatus_proto_enumTypes, + }.Build() + File_HomePlantFieldStatus_proto = out.File + file_HomePlantFieldStatus_proto_rawDesc = nil + file_HomePlantFieldStatus_proto_goTypes = nil + file_HomePlantFieldStatus_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantFieldStatus.proto b/gate-hk4e-api/proto/HomePlantFieldStatus.proto new file mode 100644 index 00000000..af43db0e --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantFieldStatus.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum HomePlantFieldStatus { + HOME_PLANT_FIELD_STATUS_STATUE_NONE = 0; + HOME_PLANT_FIELD_STATUS_STATUE_SEED = 1; + HOME_PLANT_FIELD_STATUS_STATUE_SPROUT = 2; + HOME_PLANT_FIELD_STATUS_STATUE_GATHER = 3; +} diff --git a/gate-hk4e-api/proto/HomePlantInfoNotify.pb.go b/gate-hk4e-api/proto/HomePlantInfoNotify.pb.go new file mode 100644 index 00000000..342cf1c4 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4587 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomePlantInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FieldList []*HomePlantFieldData `protobuf:"bytes,4,rep,name=field_list,json=fieldList,proto3" json:"field_list,omitempty"` +} + +func (x *HomePlantInfoNotify) Reset() { + *x = HomePlantInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantInfoNotify) ProtoMessage() {} + +func (x *HomePlantInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantInfoNotify.ProtoReflect.Descriptor instead. +func (*HomePlantInfoNotify) Descriptor() ([]byte, []int) { + return file_HomePlantInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantInfoNotify) GetFieldList() []*HomePlantFieldData { + if x != nil { + return x.FieldList + } + return nil +} + +var File_HomePlantInfoNotify_proto protoreflect.FileDescriptor + +var file_HomePlantInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x48, 0x6f, 0x6d, + 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x13, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x32, 0x0a, 0x0a, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantInfoNotify_proto_rawDescOnce sync.Once + file_HomePlantInfoNotify_proto_rawDescData = file_HomePlantInfoNotify_proto_rawDesc +) + +func file_HomePlantInfoNotify_proto_rawDescGZIP() []byte { + file_HomePlantInfoNotify_proto_rawDescOnce.Do(func() { + file_HomePlantInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantInfoNotify_proto_rawDescData) + }) + return file_HomePlantInfoNotify_proto_rawDescData +} + +var file_HomePlantInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantInfoNotify_proto_goTypes = []interface{}{ + (*HomePlantInfoNotify)(nil), // 0: HomePlantInfoNotify + (*HomePlantFieldData)(nil), // 1: HomePlantFieldData +} +var file_HomePlantInfoNotify_proto_depIdxs = []int32{ + 1, // 0: HomePlantInfoNotify.field_list:type_name -> HomePlantFieldData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomePlantInfoNotify_proto_init() } +func file_HomePlantInfoNotify_proto_init() { + if File_HomePlantInfoNotify_proto != nil { + return + } + file_HomePlantFieldData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomePlantInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantInfoNotify_proto_goTypes, + DependencyIndexes: file_HomePlantInfoNotify_proto_depIdxs, + MessageInfos: file_HomePlantInfoNotify_proto_msgTypes, + }.Build() + File_HomePlantInfoNotify_proto = out.File + file_HomePlantInfoNotify_proto_rawDesc = nil + file_HomePlantInfoNotify_proto_goTypes = nil + file_HomePlantInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantInfoNotify.proto b/gate-hk4e-api/proto/HomePlantInfoNotify.proto new file mode 100644 index 00000000..1bdc44c9 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomePlantFieldData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4587 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomePlantInfoNotify { + repeated HomePlantFieldData field_list = 4; +} diff --git a/gate-hk4e-api/proto/HomePlantInfoReq.pb.go b/gate-hk4e-api/proto/HomePlantInfoReq.pb.go new file mode 100644 index 00000000..3fd1f26c --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomePlantInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomePlantInfoReq) Reset() { + *x = HomePlantInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantInfoReq) ProtoMessage() {} + +func (x *HomePlantInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantInfoReq.ProtoReflect.Descriptor instead. +func (*HomePlantInfoReq) Descriptor() ([]byte, []int) { + return file_HomePlantInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomePlantInfoReq_proto protoreflect.FileDescriptor + +var file_HomePlantInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantInfoReq_proto_rawDescOnce sync.Once + file_HomePlantInfoReq_proto_rawDescData = file_HomePlantInfoReq_proto_rawDesc +) + +func file_HomePlantInfoReq_proto_rawDescGZIP() []byte { + file_HomePlantInfoReq_proto_rawDescOnce.Do(func() { + file_HomePlantInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantInfoReq_proto_rawDescData) + }) + return file_HomePlantInfoReq_proto_rawDescData +} + +var file_HomePlantInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantInfoReq_proto_goTypes = []interface{}{ + (*HomePlantInfoReq)(nil), // 0: HomePlantInfoReq +} +var file_HomePlantInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantInfoReq_proto_init() } +func file_HomePlantInfoReq_proto_init() { + if File_HomePlantInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePlantInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantInfoReq_proto_goTypes, + DependencyIndexes: file_HomePlantInfoReq_proto_depIdxs, + MessageInfos: file_HomePlantInfoReq_proto_msgTypes, + }.Build() + File_HomePlantInfoReq_proto = out.File + file_HomePlantInfoReq_proto_rawDesc = nil + file_HomePlantInfoReq_proto_goTypes = nil + file_HomePlantInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantInfoReq.proto b/gate-hk4e-api/proto/HomePlantInfoReq.proto new file mode 100644 index 00000000..8e9767fd --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4647 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomePlantInfoReq {} diff --git a/gate-hk4e-api/proto/HomePlantInfoRsp.pb.go b/gate-hk4e-api/proto/HomePlantInfoRsp.pb.go new file mode 100644 index 00000000..e399d7b2 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4701 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomePlantInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + FieldList []*HomePlantFieldData `protobuf:"bytes,15,rep,name=field_list,json=fieldList,proto3" json:"field_list,omitempty"` +} + +func (x *HomePlantInfoRsp) Reset() { + *x = HomePlantInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantInfoRsp) ProtoMessage() {} + +func (x *HomePlantInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantInfoRsp.ProtoReflect.Descriptor instead. +func (*HomePlantInfoRsp) Descriptor() ([]byte, []int) { + return file_HomePlantInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomePlantInfoRsp) GetFieldList() []*HomePlantFieldData { + if x != nil { + return x.FieldList + } + return nil +} + +var File_HomePlantInfoRsp_proto protoreflect.FileDescriptor + +var file_HomePlantInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x32, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantInfoRsp_proto_rawDescOnce sync.Once + file_HomePlantInfoRsp_proto_rawDescData = file_HomePlantInfoRsp_proto_rawDesc +) + +func file_HomePlantInfoRsp_proto_rawDescGZIP() []byte { + file_HomePlantInfoRsp_proto_rawDescOnce.Do(func() { + file_HomePlantInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantInfoRsp_proto_rawDescData) + }) + return file_HomePlantInfoRsp_proto_rawDescData +} + +var file_HomePlantInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantInfoRsp_proto_goTypes = []interface{}{ + (*HomePlantInfoRsp)(nil), // 0: HomePlantInfoRsp + (*HomePlantFieldData)(nil), // 1: HomePlantFieldData +} +var file_HomePlantInfoRsp_proto_depIdxs = []int32{ + 1, // 0: HomePlantInfoRsp.field_list:type_name -> HomePlantFieldData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomePlantInfoRsp_proto_init() } +func file_HomePlantInfoRsp_proto_init() { + if File_HomePlantInfoRsp_proto != nil { + return + } + file_HomePlantFieldData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomePlantInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantInfoRsp_proto_goTypes, + DependencyIndexes: file_HomePlantInfoRsp_proto_depIdxs, + MessageInfos: file_HomePlantInfoRsp_proto_msgTypes, + }.Build() + File_HomePlantInfoRsp_proto = out.File + file_HomePlantInfoRsp_proto_rawDesc = nil + file_HomePlantInfoRsp_proto_goTypes = nil + file_HomePlantInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantInfoRsp.proto b/gate-hk4e-api/proto/HomePlantInfoRsp.proto new file mode 100644 index 00000000..6a181f00 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomePlantFieldData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4701 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomePlantInfoRsp { + int32 retcode = 7; + repeated HomePlantFieldData field_list = 15; +} diff --git a/gate-hk4e-api/proto/HomePlantSeedReq.pb.go b/gate-hk4e-api/proto/HomePlantSeedReq.pb.go new file mode 100644 index 00000000..ad74980a --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSeedReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantSeedReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4804 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomePlantSeedReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` + FieldGuid uint32 `protobuf:"varint,14,opt,name=field_guid,json=fieldGuid,proto3" json:"field_guid,omitempty"` + SeedIdList []uint32 `protobuf:"varint,13,rep,packed,name=seed_id_list,json=seedIdList,proto3" json:"seed_id_list,omitempty"` +} + +func (x *HomePlantSeedReq) Reset() { + *x = HomePlantSeedReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantSeedReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantSeedReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantSeedReq) ProtoMessage() {} + +func (x *HomePlantSeedReq) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantSeedReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantSeedReq.ProtoReflect.Descriptor instead. +func (*HomePlantSeedReq) Descriptor() ([]byte, []int) { + return file_HomePlantSeedReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantSeedReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *HomePlantSeedReq) GetFieldGuid() uint32 { + if x != nil { + return x.FieldGuid + } + return 0 +} + +func (x *HomePlantSeedReq) GetSeedIdList() []uint32 { + if x != nil { + return x.SeedIdList + } + return nil +} + +var File_HomePlantSeedReq_proto protoreflect.FileDescriptor + +var file_HomePlantSeedReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x65, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x75, 0x69, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x65, 0x65, 0x64, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantSeedReq_proto_rawDescOnce sync.Once + file_HomePlantSeedReq_proto_rawDescData = file_HomePlantSeedReq_proto_rawDesc +) + +func file_HomePlantSeedReq_proto_rawDescGZIP() []byte { + file_HomePlantSeedReq_proto_rawDescOnce.Do(func() { + file_HomePlantSeedReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantSeedReq_proto_rawDescData) + }) + return file_HomePlantSeedReq_proto_rawDescData +} + +var file_HomePlantSeedReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantSeedReq_proto_goTypes = []interface{}{ + (*HomePlantSeedReq)(nil), // 0: HomePlantSeedReq +} +var file_HomePlantSeedReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantSeedReq_proto_init() } +func file_HomePlantSeedReq_proto_init() { + if File_HomePlantSeedReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePlantSeedReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantSeedReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantSeedReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantSeedReq_proto_goTypes, + DependencyIndexes: file_HomePlantSeedReq_proto_depIdxs, + MessageInfos: file_HomePlantSeedReq_proto_msgTypes, + }.Build() + File_HomePlantSeedReq_proto = out.File + file_HomePlantSeedReq_proto_rawDesc = nil + file_HomePlantSeedReq_proto_goTypes = nil + file_HomePlantSeedReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantSeedReq.proto b/gate-hk4e-api/proto/HomePlantSeedReq.proto new file mode 100644 index 00000000..2880d2e0 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSeedReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4804 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomePlantSeedReq { + uint32 index = 4; + uint32 field_guid = 14; + repeated uint32 seed_id_list = 13; +} diff --git a/gate-hk4e-api/proto/HomePlantSeedRsp.pb.go b/gate-hk4e-api/proto/HomePlantSeedRsp.pb.go new file mode 100644 index 00000000..d43bdd82 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSeedRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantSeedRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4556 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomePlantSeedRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomePlantSeedRsp) Reset() { + *x = HomePlantSeedRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantSeedRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantSeedRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantSeedRsp) ProtoMessage() {} + +func (x *HomePlantSeedRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantSeedRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantSeedRsp.ProtoReflect.Descriptor instead. +func (*HomePlantSeedRsp) Descriptor() ([]byte, []int) { + return file_HomePlantSeedRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantSeedRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomePlantSeedRsp_proto protoreflect.FileDescriptor + +var file_HomePlantSeedRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x65, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x65, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantSeedRsp_proto_rawDescOnce sync.Once + file_HomePlantSeedRsp_proto_rawDescData = file_HomePlantSeedRsp_proto_rawDesc +) + +func file_HomePlantSeedRsp_proto_rawDescGZIP() []byte { + file_HomePlantSeedRsp_proto_rawDescOnce.Do(func() { + file_HomePlantSeedRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantSeedRsp_proto_rawDescData) + }) + return file_HomePlantSeedRsp_proto_rawDescData +} + +var file_HomePlantSeedRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantSeedRsp_proto_goTypes = []interface{}{ + (*HomePlantSeedRsp)(nil), // 0: HomePlantSeedRsp +} +var file_HomePlantSeedRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantSeedRsp_proto_init() } +func file_HomePlantSeedRsp_proto_init() { + if File_HomePlantSeedRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePlantSeedRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantSeedRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantSeedRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantSeedRsp_proto_goTypes, + DependencyIndexes: file_HomePlantSeedRsp_proto_depIdxs, + MessageInfos: file_HomePlantSeedRsp_proto_msgTypes, + }.Build() + File_HomePlantSeedRsp_proto = out.File + file_HomePlantSeedRsp_proto_rawDesc = nil + file_HomePlantSeedRsp_proto_goTypes = nil + file_HomePlantSeedRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantSeedRsp.proto b/gate-hk4e-api/proto/HomePlantSeedRsp.proto new file mode 100644 index 00000000..7ee8c406 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSeedRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4556 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomePlantSeedRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/HomePlantSubFieldData.pb.go b/gate-hk4e-api/proto/HomePlantSubFieldData.pb.go new file mode 100644 index 00000000..7ab550f0 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSubFieldData.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantSubFieldData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomePlantSubFieldData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityIdList []uint32 `protobuf:"varint,15,rep,packed,name=entity_id_list,json=entityIdList,proto3" json:"entity_id_list,omitempty"` + FieldStatus HomePlantFieldStatus `protobuf:"varint,14,opt,name=field_status,json=fieldStatus,proto3,enum=HomePlantFieldStatus" json:"field_status,omitempty"` + HomeGatherId uint32 `protobuf:"varint,9,opt,name=home_gather_id,json=homeGatherId,proto3" json:"home_gather_id,omitempty"` + SeedId uint32 `protobuf:"varint,8,opt,name=seed_id,json=seedId,proto3" json:"seed_id,omitempty"` + EndTime uint32 `protobuf:"fixed32,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *HomePlantSubFieldData) Reset() { + *x = HomePlantSubFieldData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantSubFieldData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantSubFieldData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantSubFieldData) ProtoMessage() {} + +func (x *HomePlantSubFieldData) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantSubFieldData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantSubFieldData.ProtoReflect.Descriptor instead. +func (*HomePlantSubFieldData) Descriptor() ([]byte, []int) { + return file_HomePlantSubFieldData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantSubFieldData) GetEntityIdList() []uint32 { + if x != nil { + return x.EntityIdList + } + return nil +} + +func (x *HomePlantSubFieldData) GetFieldStatus() HomePlantFieldStatus { + if x != nil { + return x.FieldStatus + } + return HomePlantFieldStatus_HOME_PLANT_FIELD_STATUS_STATUE_NONE +} + +func (x *HomePlantSubFieldData) GetHomeGatherId() uint32 { + if x != nil { + return x.HomeGatherId + } + return 0 +} + +func (x *HomePlantSubFieldData) GetSeedId() uint32 { + if x != nil { + return x.SeedId + } + return 0 +} + +func (x *HomePlantSubFieldData) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_HomePlantSubFieldData_proto protoreflect.FileDescriptor + +var file_HomePlantSubFieldData_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x48, + 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x15, 0x48, 0x6f, + 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x67, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x6f, 0x6d, + 0x65, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x65, 0x65, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x65, 0x65, 0x64, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x07, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomePlantSubFieldData_proto_rawDescOnce sync.Once + file_HomePlantSubFieldData_proto_rawDescData = file_HomePlantSubFieldData_proto_rawDesc +) + +func file_HomePlantSubFieldData_proto_rawDescGZIP() []byte { + file_HomePlantSubFieldData_proto_rawDescOnce.Do(func() { + file_HomePlantSubFieldData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantSubFieldData_proto_rawDescData) + }) + return file_HomePlantSubFieldData_proto_rawDescData +} + +var file_HomePlantSubFieldData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantSubFieldData_proto_goTypes = []interface{}{ + (*HomePlantSubFieldData)(nil), // 0: HomePlantSubFieldData + (HomePlantFieldStatus)(0), // 1: HomePlantFieldStatus +} +var file_HomePlantSubFieldData_proto_depIdxs = []int32{ + 1, // 0: HomePlantSubFieldData.field_status:type_name -> HomePlantFieldStatus + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomePlantSubFieldData_proto_init() } +func file_HomePlantSubFieldData_proto_init() { + if File_HomePlantSubFieldData_proto != nil { + return + } + file_HomePlantFieldStatus_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomePlantSubFieldData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantSubFieldData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantSubFieldData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantSubFieldData_proto_goTypes, + DependencyIndexes: file_HomePlantSubFieldData_proto_depIdxs, + MessageInfos: file_HomePlantSubFieldData_proto_msgTypes, + }.Build() + File_HomePlantSubFieldData_proto = out.File + file_HomePlantSubFieldData_proto_rawDesc = nil + file_HomePlantSubFieldData_proto_goTypes = nil + file_HomePlantSubFieldData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantSubFieldData.proto b/gate-hk4e-api/proto/HomePlantSubFieldData.proto new file mode 100644 index 00000000..ceef9702 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantSubFieldData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomePlantFieldStatus.proto"; + +option go_package = "./;proto"; + +message HomePlantSubFieldData { + repeated uint32 entity_id_list = 15; + HomePlantFieldStatus field_status = 14; + uint32 home_gather_id = 9; + uint32 seed_id = 8; + fixed32 end_time = 4; +} diff --git a/gate-hk4e-api/proto/HomePlantWeedReq.pb.go b/gate-hk4e-api/proto/HomePlantWeedReq.pb.go new file mode 100644 index 00000000..a549a256 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantWeedReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantWeedReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomePlantWeedReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FieldGuid uint32 `protobuf:"varint,9,opt,name=field_guid,json=fieldGuid,proto3" json:"field_guid,omitempty"` + Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *HomePlantWeedReq) Reset() { + *x = HomePlantWeedReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantWeedReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantWeedReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantWeedReq) ProtoMessage() {} + +func (x *HomePlantWeedReq) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantWeedReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantWeedReq.ProtoReflect.Descriptor instead. +func (*HomePlantWeedReq) Descriptor() ([]byte, []int) { + return file_HomePlantWeedReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantWeedReq) GetFieldGuid() uint32 { + if x != nil { + return x.FieldGuid + } + return 0 +} + +func (x *HomePlantWeedReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +var File_HomePlantWeedReq_proto protoreflect.FileDescriptor + +var file_HomePlantWeedReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x57, 0x65, 0x65, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x57, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantWeedReq_proto_rawDescOnce sync.Once + file_HomePlantWeedReq_proto_rawDescData = file_HomePlantWeedReq_proto_rawDesc +) + +func file_HomePlantWeedReq_proto_rawDescGZIP() []byte { + file_HomePlantWeedReq_proto_rawDescOnce.Do(func() { + file_HomePlantWeedReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantWeedReq_proto_rawDescData) + }) + return file_HomePlantWeedReq_proto_rawDescData +} + +var file_HomePlantWeedReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantWeedReq_proto_goTypes = []interface{}{ + (*HomePlantWeedReq)(nil), // 0: HomePlantWeedReq +} +var file_HomePlantWeedReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantWeedReq_proto_init() } +func file_HomePlantWeedReq_proto_init() { + if File_HomePlantWeedReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePlantWeedReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantWeedReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantWeedReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantWeedReq_proto_goTypes, + DependencyIndexes: file_HomePlantWeedReq_proto_depIdxs, + MessageInfos: file_HomePlantWeedReq_proto_msgTypes, + }.Build() + File_HomePlantWeedReq_proto = out.File + file_HomePlantWeedReq_proto_rawDesc = nil + file_HomePlantWeedReq_proto_goTypes = nil + file_HomePlantWeedReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantWeedReq.proto b/gate-hk4e-api/proto/HomePlantWeedReq.proto new file mode 100644 index 00000000..e455df3b --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantWeedReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4640 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomePlantWeedReq { + uint32 field_guid = 9; + uint32 index = 3; +} diff --git a/gate-hk4e-api/proto/HomePlantWeedRsp.pb.go b/gate-hk4e-api/proto/HomePlantWeedRsp.pb.go new file mode 100644 index 00000000..788b8ac7 --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantWeedRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePlantWeedRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4527 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomePlantWeedRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomePlantWeedRsp) Reset() { + *x = HomePlantWeedRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePlantWeedRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePlantWeedRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePlantWeedRsp) ProtoMessage() {} + +func (x *HomePlantWeedRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomePlantWeedRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePlantWeedRsp.ProtoReflect.Descriptor instead. +func (*HomePlantWeedRsp) Descriptor() ([]byte, []int) { + return file_HomePlantWeedRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePlantWeedRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomePlantWeedRsp_proto protoreflect.FileDescriptor + +var file_HomePlantWeedRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x57, 0x65, 0x65, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x57, 0x65, 0x65, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomePlantWeedRsp_proto_rawDescOnce sync.Once + file_HomePlantWeedRsp_proto_rawDescData = file_HomePlantWeedRsp_proto_rawDesc +) + +func file_HomePlantWeedRsp_proto_rawDescGZIP() []byte { + file_HomePlantWeedRsp_proto_rawDescOnce.Do(func() { + file_HomePlantWeedRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePlantWeedRsp_proto_rawDescData) + }) + return file_HomePlantWeedRsp_proto_rawDescData +} + +var file_HomePlantWeedRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePlantWeedRsp_proto_goTypes = []interface{}{ + (*HomePlantWeedRsp)(nil), // 0: HomePlantWeedRsp +} +var file_HomePlantWeedRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePlantWeedRsp_proto_init() } +func file_HomePlantWeedRsp_proto_init() { + if File_HomePlantWeedRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePlantWeedRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePlantWeedRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePlantWeedRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePlantWeedRsp_proto_goTypes, + DependencyIndexes: file_HomePlantWeedRsp_proto_depIdxs, + MessageInfos: file_HomePlantWeedRsp_proto_msgTypes, + }.Build() + File_HomePlantWeedRsp_proto = out.File + file_HomePlantWeedRsp_proto_rawDesc = nil + file_HomePlantWeedRsp_proto_goTypes = nil + file_HomePlantWeedRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePlantWeedRsp.proto b/gate-hk4e-api/proto/HomePlantWeedRsp.proto new file mode 100644 index 00000000..7e5cd53f --- /dev/null +++ b/gate-hk4e-api/proto/HomePlantWeedRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4527 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomePlantWeedRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/HomePriorCheckNotify.pb.go b/gate-hk4e-api/proto/HomePriorCheckNotify.pb.go new file mode 100644 index 00000000..b2dffb0d --- /dev/null +++ b/gate-hk4e-api/proto/HomePriorCheckNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomePriorCheckNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4599 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomePriorCheckNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"fixed32,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *HomePriorCheckNotify) Reset() { + *x = HomePriorCheckNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomePriorCheckNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomePriorCheckNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomePriorCheckNotify) ProtoMessage() {} + +func (x *HomePriorCheckNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomePriorCheckNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomePriorCheckNotify.ProtoReflect.Descriptor instead. +func (*HomePriorCheckNotify) Descriptor() ([]byte, []int) { + return file_HomePriorCheckNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomePriorCheckNotify) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_HomePriorCheckNotify_proto protoreflect.FileDescriptor + +var file_HomePriorCheckNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x14, + 0x48, 0x6f, 0x6d, 0x65, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x07, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HomePriorCheckNotify_proto_rawDescOnce sync.Once + file_HomePriorCheckNotify_proto_rawDescData = file_HomePriorCheckNotify_proto_rawDesc +) + +func file_HomePriorCheckNotify_proto_rawDescGZIP() []byte { + file_HomePriorCheckNotify_proto_rawDescOnce.Do(func() { + file_HomePriorCheckNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomePriorCheckNotify_proto_rawDescData) + }) + return file_HomePriorCheckNotify_proto_rawDescData +} + +var file_HomePriorCheckNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomePriorCheckNotify_proto_goTypes = []interface{}{ + (*HomePriorCheckNotify)(nil), // 0: HomePriorCheckNotify +} +var file_HomePriorCheckNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomePriorCheckNotify_proto_init() } +func file_HomePriorCheckNotify_proto_init() { + if File_HomePriorCheckNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomePriorCheckNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomePriorCheckNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomePriorCheckNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomePriorCheckNotify_proto_goTypes, + DependencyIndexes: file_HomePriorCheckNotify_proto_depIdxs, + MessageInfos: file_HomePriorCheckNotify_proto_msgTypes, + }.Build() + File_HomePriorCheckNotify_proto = out.File + file_HomePriorCheckNotify_proto_rawDesc = nil + file_HomePriorCheckNotify_proto_goTypes = nil + file_HomePriorCheckNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomePriorCheckNotify.proto b/gate-hk4e-api/proto/HomePriorCheckNotify.proto new file mode 100644 index 00000000..8550b33a --- /dev/null +++ b/gate-hk4e-api/proto/HomePriorCheckNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4599 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomePriorCheckNotify { + fixed32 end_time = 7; +} diff --git a/gate-hk4e-api/proto/HomeResource.pb.go b/gate-hk4e-api/proto/HomeResource.pb.go new file mode 100644 index 00000000..bc97de90 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResource.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResource.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextRefreshTime uint32 `protobuf:"fixed32,15,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + StoreLimit uint32 `protobuf:"varint,3,opt,name=store_limit,json=storeLimit,proto3" json:"store_limit,omitempty"` + StoreValue uint32 `protobuf:"varint,12,opt,name=store_value,json=storeValue,proto3" json:"store_value,omitempty"` +} + +func (x *HomeResource) Reset() { + *x = HomeResource{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResource_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResource) ProtoMessage() {} + +func (x *HomeResource) ProtoReflect() protoreflect.Message { + mi := &file_HomeResource_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResource.ProtoReflect.Descriptor instead. +func (*HomeResource) Descriptor() ([]byte, []int) { + return file_HomeResource_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeResource) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *HomeResource) GetStoreLimit() uint32 { + if x != nil { + return x.StoreLimit + } + return 0 +} + +func (x *HomeResource) GetStoreValue() uint32 { + if x != nil { + return x.StoreValue + } + return 0 +} + +var File_HomeResource_proto protoreflect.FileDescriptor + +var file_HomeResource_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x0c, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x07, 0x52, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeResource_proto_rawDescOnce sync.Once + file_HomeResource_proto_rawDescData = file_HomeResource_proto_rawDesc +) + +func file_HomeResource_proto_rawDescGZIP() []byte { + file_HomeResource_proto_rawDescOnce.Do(func() { + file_HomeResource_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResource_proto_rawDescData) + }) + return file_HomeResource_proto_rawDescData +} + +var file_HomeResource_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResource_proto_goTypes = []interface{}{ + (*HomeResource)(nil), // 0: HomeResource +} +var file_HomeResource_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeResource_proto_init() } +func file_HomeResource_proto_init() { + if File_HomeResource_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeResource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResource_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResource_proto_goTypes, + DependencyIndexes: file_HomeResource_proto_depIdxs, + MessageInfos: file_HomeResource_proto_msgTypes, + }.Build() + File_HomeResource_proto = out.File + file_HomeResource_proto_rawDesc = nil + file_HomeResource_proto_goTypes = nil + file_HomeResource_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResource.proto b/gate-hk4e-api/proto/HomeResource.proto new file mode 100644 index 00000000..9b066db6 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResource.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeResource { + fixed32 next_refresh_time = 15; + uint32 store_limit = 3; + uint32 store_value = 12; +} diff --git a/gate-hk4e-api/proto/HomeResourceNotify.pb.go b/gate-hk4e-api/proto/HomeResourceNotify.pb.go new file mode 100644 index 00000000..bcc8a845 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResourceNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4892 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeResourceNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HomeCoin *HomeResource `protobuf:"bytes,9,opt,name=home_coin,json=homeCoin,proto3" json:"home_coin,omitempty"` + FetterExp *HomeResource `protobuf:"bytes,8,opt,name=fetter_exp,json=fetterExp,proto3" json:"fetter_exp,omitempty"` +} + +func (x *HomeResourceNotify) Reset() { + *x = HomeResourceNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResourceNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResourceNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResourceNotify) ProtoMessage() {} + +func (x *HomeResourceNotify) ProtoReflect() protoreflect.Message { + mi := &file_HomeResourceNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResourceNotify.ProtoReflect.Descriptor instead. +func (*HomeResourceNotify) Descriptor() ([]byte, []int) { + return file_HomeResourceNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeResourceNotify) GetHomeCoin() *HomeResource { + if x != nil { + return x.HomeCoin + } + return nil +} + +func (x *HomeResourceNotify) GetFetterExp() *HomeResource { + if x != nil { + return x.FetterExp + } + return nil +} + +var File_HomeResourceNotify_proto protoreflect.FileDescriptor + +var file_HomeResourceNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x48, 0x6f, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, + 0x0a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x09, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x69, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, + 0x12, 0x2c, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x09, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeResourceNotify_proto_rawDescOnce sync.Once + file_HomeResourceNotify_proto_rawDescData = file_HomeResourceNotify_proto_rawDesc +) + +func file_HomeResourceNotify_proto_rawDescGZIP() []byte { + file_HomeResourceNotify_proto_rawDescOnce.Do(func() { + file_HomeResourceNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResourceNotify_proto_rawDescData) + }) + return file_HomeResourceNotify_proto_rawDescData +} + +var file_HomeResourceNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResourceNotify_proto_goTypes = []interface{}{ + (*HomeResourceNotify)(nil), // 0: HomeResourceNotify + (*HomeResource)(nil), // 1: HomeResource +} +var file_HomeResourceNotify_proto_depIdxs = []int32{ + 1, // 0: HomeResourceNotify.home_coin:type_name -> HomeResource + 1, // 1: HomeResourceNotify.fetter_exp:type_name -> HomeResource + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HomeResourceNotify_proto_init() } +func file_HomeResourceNotify_proto_init() { + if File_HomeResourceNotify_proto != nil { + return + } + file_HomeResource_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeResourceNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResourceNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResourceNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResourceNotify_proto_goTypes, + DependencyIndexes: file_HomeResourceNotify_proto_depIdxs, + MessageInfos: file_HomeResourceNotify_proto_msgTypes, + }.Build() + File_HomeResourceNotify_proto = out.File + file_HomeResourceNotify_proto_rawDesc = nil + file_HomeResourceNotify_proto_goTypes = nil + file_HomeResourceNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResourceNotify.proto b/gate-hk4e-api/proto/HomeResourceNotify.proto new file mode 100644 index 00000000..b9caf6f3 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeResource.proto"; + +option go_package = "./;proto"; + +// CmdId: 4892 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeResourceNotify { + HomeResource home_coin = 9; + HomeResource fetter_exp = 8; +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.pb.go b/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.pb.go new file mode 100644 index 00000000..d1635c47 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResourceTakeFetterExpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4768 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeResourceTakeFetterExpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeResourceTakeFetterExpReq) Reset() { + *x = HomeResourceTakeFetterExpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResourceTakeFetterExpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResourceTakeFetterExpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResourceTakeFetterExpReq) ProtoMessage() {} + +func (x *HomeResourceTakeFetterExpReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeResourceTakeFetterExpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResourceTakeFetterExpReq.ProtoReflect.Descriptor instead. +func (*HomeResourceTakeFetterExpReq) Descriptor() ([]byte, []int) { + return file_HomeResourceTakeFetterExpReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeResourceTakeFetterExpReq_proto protoreflect.FileDescriptor + +var file_HomeResourceTakeFetterExpReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, + 0x6b, 0x65, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x45, 0x78, + 0x70, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeResourceTakeFetterExpReq_proto_rawDescOnce sync.Once + file_HomeResourceTakeFetterExpReq_proto_rawDescData = file_HomeResourceTakeFetterExpReq_proto_rawDesc +) + +func file_HomeResourceTakeFetterExpReq_proto_rawDescGZIP() []byte { + file_HomeResourceTakeFetterExpReq_proto_rawDescOnce.Do(func() { + file_HomeResourceTakeFetterExpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResourceTakeFetterExpReq_proto_rawDescData) + }) + return file_HomeResourceTakeFetterExpReq_proto_rawDescData +} + +var file_HomeResourceTakeFetterExpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResourceTakeFetterExpReq_proto_goTypes = []interface{}{ + (*HomeResourceTakeFetterExpReq)(nil), // 0: HomeResourceTakeFetterExpReq +} +var file_HomeResourceTakeFetterExpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeResourceTakeFetterExpReq_proto_init() } +func file_HomeResourceTakeFetterExpReq_proto_init() { + if File_HomeResourceTakeFetterExpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeResourceTakeFetterExpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResourceTakeFetterExpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResourceTakeFetterExpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResourceTakeFetterExpReq_proto_goTypes, + DependencyIndexes: file_HomeResourceTakeFetterExpReq_proto_depIdxs, + MessageInfos: file_HomeResourceTakeFetterExpReq_proto_msgTypes, + }.Build() + File_HomeResourceTakeFetterExpReq_proto = out.File + file_HomeResourceTakeFetterExpReq_proto_rawDesc = nil + file_HomeResourceTakeFetterExpReq_proto_goTypes = nil + file_HomeResourceTakeFetterExpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.proto b/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.proto new file mode 100644 index 00000000..b84d61d2 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeFetterExpReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4768 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeResourceTakeFetterExpReq {} diff --git a/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.pb.go b/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.pb.go new file mode 100644 index 00000000..31b392d0 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResourceTakeFetterExpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4645 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeResourceTakeFetterExpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FetterExp *HomeResource `protobuf:"bytes,4,opt,name=fetter_exp,json=fetterExp,proto3" json:"fetter_exp,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeResourceTakeFetterExpRsp) Reset() { + *x = HomeResourceTakeFetterExpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResourceTakeFetterExpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResourceTakeFetterExpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResourceTakeFetterExpRsp) ProtoMessage() {} + +func (x *HomeResourceTakeFetterExpRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeResourceTakeFetterExpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResourceTakeFetterExpRsp.ProtoReflect.Descriptor instead. +func (*HomeResourceTakeFetterExpRsp) Descriptor() ([]byte, []int) { + return file_HomeResourceTakeFetterExpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeResourceTakeFetterExpRsp) GetFetterExp() *HomeResource { + if x != nil { + return x.FetterExp + } + return nil +} + +func (x *HomeResourceTakeFetterExpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeResourceTakeFetterExpRsp_proto protoreflect.FileDescriptor + +var file_HomeResourceTakeFetterExpRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, + 0x6b, 0x65, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x65, 0x74, 0x74, + 0x65, 0x72, 0x45, 0x78, 0x70, 0x52, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x74, + 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x48, + 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x66, 0x65, 0x74, + 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeResourceTakeFetterExpRsp_proto_rawDescOnce sync.Once + file_HomeResourceTakeFetterExpRsp_proto_rawDescData = file_HomeResourceTakeFetterExpRsp_proto_rawDesc +) + +func file_HomeResourceTakeFetterExpRsp_proto_rawDescGZIP() []byte { + file_HomeResourceTakeFetterExpRsp_proto_rawDescOnce.Do(func() { + file_HomeResourceTakeFetterExpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResourceTakeFetterExpRsp_proto_rawDescData) + }) + return file_HomeResourceTakeFetterExpRsp_proto_rawDescData +} + +var file_HomeResourceTakeFetterExpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResourceTakeFetterExpRsp_proto_goTypes = []interface{}{ + (*HomeResourceTakeFetterExpRsp)(nil), // 0: HomeResourceTakeFetterExpRsp + (*HomeResource)(nil), // 1: HomeResource +} +var file_HomeResourceTakeFetterExpRsp_proto_depIdxs = []int32{ + 1, // 0: HomeResourceTakeFetterExpRsp.fetter_exp:type_name -> HomeResource + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeResourceTakeFetterExpRsp_proto_init() } +func file_HomeResourceTakeFetterExpRsp_proto_init() { + if File_HomeResourceTakeFetterExpRsp_proto != nil { + return + } + file_HomeResource_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeResourceTakeFetterExpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResourceTakeFetterExpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResourceTakeFetterExpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResourceTakeFetterExpRsp_proto_goTypes, + DependencyIndexes: file_HomeResourceTakeFetterExpRsp_proto_depIdxs, + MessageInfos: file_HomeResourceTakeFetterExpRsp_proto_msgTypes, + }.Build() + File_HomeResourceTakeFetterExpRsp_proto = out.File + file_HomeResourceTakeFetterExpRsp_proto_rawDesc = nil + file_HomeResourceTakeFetterExpRsp_proto_goTypes = nil + file_HomeResourceTakeFetterExpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.proto b/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.proto new file mode 100644 index 00000000..4908f5fe --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeFetterExpRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeResource.proto"; + +option go_package = "./;proto"; + +// CmdId: 4645 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeResourceTakeFetterExpRsp { + HomeResource fetter_exp = 4; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.pb.go b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.pb.go new file mode 100644 index 00000000..2c62a724 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResourceTakeHomeCoinReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4479 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeResourceTakeHomeCoinReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeResourceTakeHomeCoinReq) Reset() { + *x = HomeResourceTakeHomeCoinReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResourceTakeHomeCoinReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResourceTakeHomeCoinReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResourceTakeHomeCoinReq) ProtoMessage() {} + +func (x *HomeResourceTakeHomeCoinReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeResourceTakeHomeCoinReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResourceTakeHomeCoinReq.ProtoReflect.Descriptor instead. +func (*HomeResourceTakeHomeCoinReq) Descriptor() ([]byte, []int) { + return file_HomeResourceTakeHomeCoinReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeResourceTakeHomeCoinReq_proto protoreflect.FileDescriptor + +var file_HomeResourceTakeHomeCoinReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, + 0x6b, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeResourceTakeHomeCoinReq_proto_rawDescOnce sync.Once + file_HomeResourceTakeHomeCoinReq_proto_rawDescData = file_HomeResourceTakeHomeCoinReq_proto_rawDesc +) + +func file_HomeResourceTakeHomeCoinReq_proto_rawDescGZIP() []byte { + file_HomeResourceTakeHomeCoinReq_proto_rawDescOnce.Do(func() { + file_HomeResourceTakeHomeCoinReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResourceTakeHomeCoinReq_proto_rawDescData) + }) + return file_HomeResourceTakeHomeCoinReq_proto_rawDescData +} + +var file_HomeResourceTakeHomeCoinReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResourceTakeHomeCoinReq_proto_goTypes = []interface{}{ + (*HomeResourceTakeHomeCoinReq)(nil), // 0: HomeResourceTakeHomeCoinReq +} +var file_HomeResourceTakeHomeCoinReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeResourceTakeHomeCoinReq_proto_init() } +func file_HomeResourceTakeHomeCoinReq_proto_init() { + if File_HomeResourceTakeHomeCoinReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeResourceTakeHomeCoinReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResourceTakeHomeCoinReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResourceTakeHomeCoinReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResourceTakeHomeCoinReq_proto_goTypes, + DependencyIndexes: file_HomeResourceTakeHomeCoinReq_proto_depIdxs, + MessageInfos: file_HomeResourceTakeHomeCoinReq_proto_msgTypes, + }.Build() + File_HomeResourceTakeHomeCoinReq_proto = out.File + file_HomeResourceTakeHomeCoinReq_proto_rawDesc = nil + file_HomeResourceTakeHomeCoinReq_proto_goTypes = nil + file_HomeResourceTakeHomeCoinReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.proto b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.proto new file mode 100644 index 00000000..f5d78e32 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4479 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeResourceTakeHomeCoinReq {} diff --git a/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.pb.go b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.pb.go new file mode 100644 index 00000000..7eb39242 --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeResourceTakeHomeCoinRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4541 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeResourceTakeHomeCoinRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HomeCoin *HomeResource `protobuf:"bytes,7,opt,name=home_coin,json=homeCoin,proto3" json:"home_coin,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeResourceTakeHomeCoinRsp) Reset() { + *x = HomeResourceTakeHomeCoinRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeResourceTakeHomeCoinRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeResourceTakeHomeCoinRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeResourceTakeHomeCoinRsp) ProtoMessage() {} + +func (x *HomeResourceTakeHomeCoinRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeResourceTakeHomeCoinRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeResourceTakeHomeCoinRsp.ProtoReflect.Descriptor instead. +func (*HomeResourceTakeHomeCoinRsp) Descriptor() ([]byte, []int) { + return file_HomeResourceTakeHomeCoinRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeResourceTakeHomeCoinRsp) GetHomeCoin() *HomeResource { + if x != nil { + return x.HomeCoin + } + return nil +} + +func (x *HomeResourceTakeHomeCoinRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeResourceTakeHomeCoinRsp_proto protoreflect.FileDescriptor + +var file_HomeResourceTakeHomeCoinRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, + 0x6b, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1b, 0x48, 0x6f, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x43, + 0x6f, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x63, + 0x6f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x48, 0x6f, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x43, 0x6f, + 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeResourceTakeHomeCoinRsp_proto_rawDescOnce sync.Once + file_HomeResourceTakeHomeCoinRsp_proto_rawDescData = file_HomeResourceTakeHomeCoinRsp_proto_rawDesc +) + +func file_HomeResourceTakeHomeCoinRsp_proto_rawDescGZIP() []byte { + file_HomeResourceTakeHomeCoinRsp_proto_rawDescOnce.Do(func() { + file_HomeResourceTakeHomeCoinRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeResourceTakeHomeCoinRsp_proto_rawDescData) + }) + return file_HomeResourceTakeHomeCoinRsp_proto_rawDescData +} + +var file_HomeResourceTakeHomeCoinRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeResourceTakeHomeCoinRsp_proto_goTypes = []interface{}{ + (*HomeResourceTakeHomeCoinRsp)(nil), // 0: HomeResourceTakeHomeCoinRsp + (*HomeResource)(nil), // 1: HomeResource +} +var file_HomeResourceTakeHomeCoinRsp_proto_depIdxs = []int32{ + 1, // 0: HomeResourceTakeHomeCoinRsp.home_coin:type_name -> HomeResource + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeResourceTakeHomeCoinRsp_proto_init() } +func file_HomeResourceTakeHomeCoinRsp_proto_init() { + if File_HomeResourceTakeHomeCoinRsp_proto != nil { + return + } + file_HomeResource_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeResourceTakeHomeCoinRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResourceTakeHomeCoinRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeResourceTakeHomeCoinRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeResourceTakeHomeCoinRsp_proto_goTypes, + DependencyIndexes: file_HomeResourceTakeHomeCoinRsp_proto_depIdxs, + MessageInfos: file_HomeResourceTakeHomeCoinRsp_proto_msgTypes, + }.Build() + File_HomeResourceTakeHomeCoinRsp_proto = out.File + file_HomeResourceTakeHomeCoinRsp_proto_rawDesc = nil + file_HomeResourceTakeHomeCoinRsp_proto_goTypes = nil + file_HomeResourceTakeHomeCoinRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.proto b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.proto new file mode 100644 index 00000000..191a0dae --- /dev/null +++ b/gate-hk4e-api/proto/HomeResourceTakeHomeCoinRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeResource.proto"; + +option go_package = "./;proto"; + +// CmdId: 4541 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeResourceTakeHomeCoinRsp { + HomeResource home_coin = 7; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/HomeSceneArrangementInfo.pb.go b/gate-hk4e-api/proto/HomeSceneArrangementInfo.pb.go new file mode 100644 index 00000000..c25e1086 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneArrangementInfo.pb.go @@ -0,0 +1,296 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneArrangementInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeSceneArrangementInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BornRot *Vector `protobuf:"bytes,4,opt,name=born_rot,json=bornRot,proto3" json:"born_rot,omitempty"` + BornPos *Vector `protobuf:"bytes,1,opt,name=born_pos,json=bornPos,proto3" json:"born_pos,omitempty"` + StairList []*HomeFurnitureData `protobuf:"bytes,11,rep,name=stair_list,json=stairList,proto3" json:"stair_list,omitempty"` + DoorList []*HomeFurnitureData `protobuf:"bytes,13,rep,name=door_list,json=doorList,proto3" json:"door_list,omitempty"` + IsSetBornPos bool `protobuf:"varint,10,opt,name=is_set_born_pos,json=isSetBornPos,proto3" json:"is_set_born_pos,omitempty"` + BlockArrangementInfoList []*HomeBlockArrangementInfo `protobuf:"bytes,8,rep,name=block_arrangement_info_list,json=blockArrangementInfoList,proto3" json:"block_arrangement_info_list,omitempty"` + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Unk2700_BJHAMKKECEI uint32 `protobuf:"varint,12,opt,name=Unk2700_BJHAMKKECEI,json=Unk2700BJHAMKKECEI,proto3" json:"Unk2700_BJHAMKKECEI,omitempty"` + DjinnPos *Vector `protobuf:"bytes,9,opt,name=djinn_pos,json=djinnPos,proto3" json:"djinn_pos,omitempty"` + MainHouse *HomeFurnitureData `protobuf:"bytes,14,opt,name=main_house,json=mainHouse,proto3" json:"main_house,omitempty"` + ComfortValue uint32 `protobuf:"varint,7,opt,name=comfort_value,json=comfortValue,proto3" json:"comfort_value,omitempty"` + TmpVersion uint32 `protobuf:"varint,5,opt,name=tmp_version,json=tmpVersion,proto3" json:"tmp_version,omitempty"` +} + +func (x *HomeSceneArrangementInfo) Reset() { + *x = HomeSceneArrangementInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneArrangementInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneArrangementInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneArrangementInfo) ProtoMessage() {} + +func (x *HomeSceneArrangementInfo) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneArrangementInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneArrangementInfo.ProtoReflect.Descriptor instead. +func (*HomeSceneArrangementInfo) Descriptor() ([]byte, []int) { + return file_HomeSceneArrangementInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeSceneArrangementInfo) GetBornRot() *Vector { + if x != nil { + return x.BornRot + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetBornPos() *Vector { + if x != nil { + return x.BornPos + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetStairList() []*HomeFurnitureData { + if x != nil { + return x.StairList + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetDoorList() []*HomeFurnitureData { + if x != nil { + return x.DoorList + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetIsSetBornPos() bool { + if x != nil { + return x.IsSetBornPos + } + return false +} + +func (x *HomeSceneArrangementInfo) GetBlockArrangementInfoList() []*HomeBlockArrangementInfo { + if x != nil { + return x.BlockArrangementInfoList + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *HomeSceneArrangementInfo) GetUnk2700_BJHAMKKECEI() uint32 { + if x != nil { + return x.Unk2700_BJHAMKKECEI + } + return 0 +} + +func (x *HomeSceneArrangementInfo) GetDjinnPos() *Vector { + if x != nil { + return x.DjinnPos + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetMainHouse() *HomeFurnitureData { + if x != nil { + return x.MainHouse + } + return nil +} + +func (x *HomeSceneArrangementInfo) GetComfortValue() uint32 { + if x != nil { + return x.ComfortValue + } + return 0 +} + +func (x *HomeSceneArrangementInfo) GetTmpVersion() uint32 { + if x != nil { + return x.TmpVersion + } + return 0 +} + +var File_HomeSceneArrangementInfo_proto protoreflect.FileDescriptor + +var file_HomeSceneArrangementInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x04, 0x0a, 0x18, 0x48, 0x6f, 0x6d, 0x65, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x72, 0x6f, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x07, 0x62, 0x6f, 0x72, 0x6e, 0x52, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x08, 0x62, 0x6f, 0x72, 0x6e, + 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x07, 0x62, 0x6f, 0x72, 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x31, 0x0a, 0x0a, + 0x73, 0x74, 0x61, 0x69, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x73, 0x74, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2f, 0x0a, 0x09, 0x64, 0x6f, 0x6f, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x64, 0x6f, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x62, 0x6f, 0x72, 0x6e, 0x5f, + 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x53, 0x65, 0x74, + 0x42, 0x6f, 0x72, 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x58, 0x0a, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x61, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x48, + 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x18, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x48, 0x41, 0x4d, 0x4b, 0x4b, 0x45, + 0x43, 0x45, 0x49, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x42, 0x4a, 0x48, 0x41, 0x4d, 0x4b, 0x4b, 0x45, 0x43, 0x45, 0x49, 0x12, 0x24, 0x0a, + 0x09, 0x64, 0x6a, 0x69, 0x6e, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x64, 0x6a, 0x69, 0x6e, 0x6e, + 0x50, 0x6f, 0x73, 0x12, 0x31, 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x6f, 0x75, 0x73, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x6d, 0x61, 0x69, + 0x6e, 0x48, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x66, 0x6f, 0x72, + 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, + 0x6f, 0x6d, 0x66, 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, + 0x6d, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x74, 0x6d, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneArrangementInfo_proto_rawDescOnce sync.Once + file_HomeSceneArrangementInfo_proto_rawDescData = file_HomeSceneArrangementInfo_proto_rawDesc +) + +func file_HomeSceneArrangementInfo_proto_rawDescGZIP() []byte { + file_HomeSceneArrangementInfo_proto_rawDescOnce.Do(func() { + file_HomeSceneArrangementInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneArrangementInfo_proto_rawDescData) + }) + return file_HomeSceneArrangementInfo_proto_rawDescData +} + +var file_HomeSceneArrangementInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneArrangementInfo_proto_goTypes = []interface{}{ + (*HomeSceneArrangementInfo)(nil), // 0: HomeSceneArrangementInfo + (*Vector)(nil), // 1: Vector + (*HomeFurnitureData)(nil), // 2: HomeFurnitureData + (*HomeBlockArrangementInfo)(nil), // 3: HomeBlockArrangementInfo +} +var file_HomeSceneArrangementInfo_proto_depIdxs = []int32{ + 1, // 0: HomeSceneArrangementInfo.born_rot:type_name -> Vector + 1, // 1: HomeSceneArrangementInfo.born_pos:type_name -> Vector + 2, // 2: HomeSceneArrangementInfo.stair_list:type_name -> HomeFurnitureData + 2, // 3: HomeSceneArrangementInfo.door_list:type_name -> HomeFurnitureData + 3, // 4: HomeSceneArrangementInfo.block_arrangement_info_list:type_name -> HomeBlockArrangementInfo + 1, // 5: HomeSceneArrangementInfo.djinn_pos:type_name -> Vector + 2, // 6: HomeSceneArrangementInfo.main_house:type_name -> HomeFurnitureData + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_HomeSceneArrangementInfo_proto_init() } +func file_HomeSceneArrangementInfo_proto_init() { + if File_HomeSceneArrangementInfo_proto != nil { + return + } + file_HomeBlockArrangementInfo_proto_init() + file_HomeFurnitureData_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeSceneArrangementInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneArrangementInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneArrangementInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneArrangementInfo_proto_goTypes, + DependencyIndexes: file_HomeSceneArrangementInfo_proto_depIdxs, + MessageInfos: file_HomeSceneArrangementInfo_proto_msgTypes, + }.Build() + File_HomeSceneArrangementInfo_proto = out.File + file_HomeSceneArrangementInfo_proto_rawDesc = nil + file_HomeSceneArrangementInfo_proto_goTypes = nil + file_HomeSceneArrangementInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneArrangementInfo.proto b/gate-hk4e-api/proto/HomeSceneArrangementInfo.proto new file mode 100644 index 00000000..b00fb901 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneArrangementInfo.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeBlockArrangementInfo.proto"; +import "HomeFurnitureData.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeSceneArrangementInfo { + Vector born_rot = 4; + Vector born_pos = 1; + repeated HomeFurnitureData stair_list = 11; + repeated HomeFurnitureData door_list = 13; + bool is_set_born_pos = 10; + repeated HomeBlockArrangementInfo block_arrangement_info_list = 8; + uint32 scene_id = 2; + uint32 Unk2700_BJHAMKKECEI = 12; + Vector djinn_pos = 9; + HomeFurnitureData main_house = 14; + uint32 comfort_value = 7; + uint32 tmp_version = 5; +} diff --git a/gate-hk4e-api/proto/HomeSceneArrangementMuipData.pb.go b/gate-hk4e-api/proto/HomeSceneArrangementMuipData.pb.go new file mode 100644 index 00000000..dff3babc --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneArrangementMuipData.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneArrangementMuipData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeSceneArrangementMuipData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModuleId uint32 `protobuf:"varint,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + IsRoom bool `protobuf:"varint,3,opt,name=is_room,json=isRoom,proto3" json:"is_room,omitempty"` + BlockDataList []*HomeBlockArrangementMuipData `protobuf:"bytes,4,rep,name=block_data_list,json=blockDataList,proto3" json:"block_data_list,omitempty"` +} + +func (x *HomeSceneArrangementMuipData) Reset() { + *x = HomeSceneArrangementMuipData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneArrangementMuipData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneArrangementMuipData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneArrangementMuipData) ProtoMessage() {} + +func (x *HomeSceneArrangementMuipData) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneArrangementMuipData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneArrangementMuipData.ProtoReflect.Descriptor instead. +func (*HomeSceneArrangementMuipData) Descriptor() ([]byte, []int) { + return file_HomeSceneArrangementMuipData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeSceneArrangementMuipData) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +func (x *HomeSceneArrangementMuipData) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *HomeSceneArrangementMuipData) GetIsRoom() bool { + if x != nil { + return x.IsRoom + } + return false +} + +func (x *HomeSceneArrangementMuipData) GetBlockDataList() []*HomeBlockArrangementMuipData { + if x != nil { + return x.BlockDataList + } + return nil +} + +var File_HomeSceneArrangementMuipData_proto protoreflect.FileDescriptor + +var file_HomeSceneArrangementMuipData_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, + 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, + 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x45, 0x0a, 0x0f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, + 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneArrangementMuipData_proto_rawDescOnce sync.Once + file_HomeSceneArrangementMuipData_proto_rawDescData = file_HomeSceneArrangementMuipData_proto_rawDesc +) + +func file_HomeSceneArrangementMuipData_proto_rawDescGZIP() []byte { + file_HomeSceneArrangementMuipData_proto_rawDescOnce.Do(func() { + file_HomeSceneArrangementMuipData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneArrangementMuipData_proto_rawDescData) + }) + return file_HomeSceneArrangementMuipData_proto_rawDescData +} + +var file_HomeSceneArrangementMuipData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneArrangementMuipData_proto_goTypes = []interface{}{ + (*HomeSceneArrangementMuipData)(nil), // 0: HomeSceneArrangementMuipData + (*HomeBlockArrangementMuipData)(nil), // 1: HomeBlockArrangementMuipData +} +var file_HomeSceneArrangementMuipData_proto_depIdxs = []int32{ + 1, // 0: HomeSceneArrangementMuipData.block_data_list:type_name -> HomeBlockArrangementMuipData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeSceneArrangementMuipData_proto_init() } +func file_HomeSceneArrangementMuipData_proto_init() { + if File_HomeSceneArrangementMuipData_proto != nil { + return + } + file_HomeBlockArrangementMuipData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeSceneArrangementMuipData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneArrangementMuipData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneArrangementMuipData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneArrangementMuipData_proto_goTypes, + DependencyIndexes: file_HomeSceneArrangementMuipData_proto_depIdxs, + MessageInfos: file_HomeSceneArrangementMuipData_proto_msgTypes, + }.Build() + File_HomeSceneArrangementMuipData_proto = out.File + file_HomeSceneArrangementMuipData_proto_rawDesc = nil + file_HomeSceneArrangementMuipData_proto_goTypes = nil + file_HomeSceneArrangementMuipData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneArrangementMuipData.proto b/gate-hk4e-api/proto/HomeSceneArrangementMuipData.proto new file mode 100644 index 00000000..db211771 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneArrangementMuipData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeBlockArrangementMuipData.proto"; + +option go_package = "./;proto"; + +message HomeSceneArrangementMuipData { + uint32 module_id = 1; + uint32 scene_id = 2; + bool is_room = 3; + repeated HomeBlockArrangementMuipData block_data_list = 4; +} diff --git a/gate-hk4e-api/proto/HomeSceneInitFinishReq.pb.go b/gate-hk4e-api/proto/HomeSceneInitFinishReq.pb.go new file mode 100644 index 00000000..7f90b0c9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneInitFinishReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneInitFinishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4674 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeSceneInitFinishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HomeSceneInitFinishReq) Reset() { + *x = HomeSceneInitFinishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneInitFinishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneInitFinishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneInitFinishReq) ProtoMessage() {} + +func (x *HomeSceneInitFinishReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneInitFinishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneInitFinishReq.ProtoReflect.Descriptor instead. +func (*HomeSceneInitFinishReq) Descriptor() ([]byte, []int) { + return file_HomeSceneInitFinishReq_proto_rawDescGZIP(), []int{0} +} + +var File_HomeSceneInitFinishReq_proto protoreflect.FileDescriptor + +var file_HomeSceneInitFinishReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneInitFinishReq_proto_rawDescOnce sync.Once + file_HomeSceneInitFinishReq_proto_rawDescData = file_HomeSceneInitFinishReq_proto_rawDesc +) + +func file_HomeSceneInitFinishReq_proto_rawDescGZIP() []byte { + file_HomeSceneInitFinishReq_proto_rawDescOnce.Do(func() { + file_HomeSceneInitFinishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneInitFinishReq_proto_rawDescData) + }) + return file_HomeSceneInitFinishReq_proto_rawDescData +} + +var file_HomeSceneInitFinishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneInitFinishReq_proto_goTypes = []interface{}{ + (*HomeSceneInitFinishReq)(nil), // 0: HomeSceneInitFinishReq +} +var file_HomeSceneInitFinishReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeSceneInitFinishReq_proto_init() } +func file_HomeSceneInitFinishReq_proto_init() { + if File_HomeSceneInitFinishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeSceneInitFinishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneInitFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneInitFinishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneInitFinishReq_proto_goTypes, + DependencyIndexes: file_HomeSceneInitFinishReq_proto_depIdxs, + MessageInfos: file_HomeSceneInitFinishReq_proto_msgTypes, + }.Build() + File_HomeSceneInitFinishReq_proto = out.File + file_HomeSceneInitFinishReq_proto_rawDesc = nil + file_HomeSceneInitFinishReq_proto_goTypes = nil + file_HomeSceneInitFinishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneInitFinishReq.proto b/gate-hk4e-api/proto/HomeSceneInitFinishReq.proto new file mode 100644 index 00000000..ce195b4b --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneInitFinishReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4674 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeSceneInitFinishReq {} diff --git a/gate-hk4e-api/proto/HomeSceneInitFinishRsp.pb.go b/gate-hk4e-api/proto/HomeSceneInitFinishRsp.pb.go new file mode 100644 index 00000000..ea1f4a41 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneInitFinishRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneInitFinishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4505 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeSceneInitFinishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeSceneInitFinishRsp) Reset() { + *x = HomeSceneInitFinishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneInitFinishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneInitFinishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneInitFinishRsp) ProtoMessage() {} + +func (x *HomeSceneInitFinishRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneInitFinishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneInitFinishRsp.ProtoReflect.Descriptor instead. +func (*HomeSceneInitFinishRsp) Descriptor() ([]byte, []int) { + return file_HomeSceneInitFinishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeSceneInitFinishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeSceneInitFinishRsp_proto protoreflect.FileDescriptor + +var file_HomeSceneInitFinishRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneInitFinishRsp_proto_rawDescOnce sync.Once + file_HomeSceneInitFinishRsp_proto_rawDescData = file_HomeSceneInitFinishRsp_proto_rawDesc +) + +func file_HomeSceneInitFinishRsp_proto_rawDescGZIP() []byte { + file_HomeSceneInitFinishRsp_proto_rawDescOnce.Do(func() { + file_HomeSceneInitFinishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneInitFinishRsp_proto_rawDescData) + }) + return file_HomeSceneInitFinishRsp_proto_rawDescData +} + +var file_HomeSceneInitFinishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneInitFinishRsp_proto_goTypes = []interface{}{ + (*HomeSceneInitFinishRsp)(nil), // 0: HomeSceneInitFinishRsp +} +var file_HomeSceneInitFinishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeSceneInitFinishRsp_proto_init() } +func file_HomeSceneInitFinishRsp_proto_init() { + if File_HomeSceneInitFinishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeSceneInitFinishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneInitFinishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneInitFinishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneInitFinishRsp_proto_goTypes, + DependencyIndexes: file_HomeSceneInitFinishRsp_proto_depIdxs, + MessageInfos: file_HomeSceneInitFinishRsp_proto_msgTypes, + }.Build() + File_HomeSceneInitFinishRsp_proto = out.File + file_HomeSceneInitFinishRsp_proto_rawDesc = nil + file_HomeSceneInitFinishRsp_proto_goTypes = nil + file_HomeSceneInitFinishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneInitFinishRsp.proto b/gate-hk4e-api/proto/HomeSceneInitFinishRsp.proto new file mode 100644 index 00000000..3b756235 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneInitFinishRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4505 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeSceneInitFinishRsp { + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/HomeSceneJumpReq.pb.go b/gate-hk4e-api/proto/HomeSceneJumpReq.pb.go new file mode 100644 index 00000000..7a3e9b9a --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneJumpReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneJumpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4528 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeSceneJumpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEnterRoomScene bool `protobuf:"varint,9,opt,name=is_enter_room_scene,json=isEnterRoomScene,proto3" json:"is_enter_room_scene,omitempty"` +} + +func (x *HomeSceneJumpReq) Reset() { + *x = HomeSceneJumpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneJumpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneJumpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneJumpReq) ProtoMessage() {} + +func (x *HomeSceneJumpReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneJumpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneJumpReq.ProtoReflect.Descriptor instead. +func (*HomeSceneJumpReq) Descriptor() ([]byte, []int) { + return file_HomeSceneJumpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeSceneJumpReq) GetIsEnterRoomScene() bool { + if x != nil { + return x.IsEnterRoomScene + } + return false +} + +var File_HomeSceneJumpReq_proto protoreflect.FileDescriptor + +var file_HomeSceneJumpReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, 0x70, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x13, + 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneJumpReq_proto_rawDescOnce sync.Once + file_HomeSceneJumpReq_proto_rawDescData = file_HomeSceneJumpReq_proto_rawDesc +) + +func file_HomeSceneJumpReq_proto_rawDescGZIP() []byte { + file_HomeSceneJumpReq_proto_rawDescOnce.Do(func() { + file_HomeSceneJumpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneJumpReq_proto_rawDescData) + }) + return file_HomeSceneJumpReq_proto_rawDescData +} + +var file_HomeSceneJumpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneJumpReq_proto_goTypes = []interface{}{ + (*HomeSceneJumpReq)(nil), // 0: HomeSceneJumpReq +} +var file_HomeSceneJumpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeSceneJumpReq_proto_init() } +func file_HomeSceneJumpReq_proto_init() { + if File_HomeSceneJumpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeSceneJumpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneJumpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneJumpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneJumpReq_proto_goTypes, + DependencyIndexes: file_HomeSceneJumpReq_proto_depIdxs, + MessageInfos: file_HomeSceneJumpReq_proto_msgTypes, + }.Build() + File_HomeSceneJumpReq_proto = out.File + file_HomeSceneJumpReq_proto_rawDesc = nil + file_HomeSceneJumpReq_proto_goTypes = nil + file_HomeSceneJumpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneJumpReq.proto b/gate-hk4e-api/proto/HomeSceneJumpReq.proto new file mode 100644 index 00000000..06809255 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneJumpReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4528 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeSceneJumpReq { + bool is_enter_room_scene = 9; +} diff --git a/gate-hk4e-api/proto/HomeSceneJumpRsp.pb.go b/gate-hk4e-api/proto/HomeSceneJumpRsp.pb.go new file mode 100644 index 00000000..5d801870 --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneJumpRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeSceneJumpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4698 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeSceneJumpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsEnterRoomScene bool `protobuf:"varint,8,opt,name=is_enter_room_scene,json=isEnterRoomScene,proto3" json:"is_enter_room_scene,omitempty"` +} + +func (x *HomeSceneJumpRsp) Reset() { + *x = HomeSceneJumpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeSceneJumpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeSceneJumpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeSceneJumpRsp) ProtoMessage() {} + +func (x *HomeSceneJumpRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeSceneJumpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeSceneJumpRsp.ProtoReflect.Descriptor instead. +func (*HomeSceneJumpRsp) Descriptor() ([]byte, []int) { + return file_HomeSceneJumpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeSceneJumpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HomeSceneJumpRsp) GetIsEnterRoomScene() bool { + if x != nil { + return x.IsEnterRoomScene + } + return false +} + +var File_HomeSceneJumpRsp_proto protoreflect.FileDescriptor + +var file_HomeSceneJumpRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, 0x70, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2d, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6f, 0x6d, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeSceneJumpRsp_proto_rawDescOnce sync.Once + file_HomeSceneJumpRsp_proto_rawDescData = file_HomeSceneJumpRsp_proto_rawDesc +) + +func file_HomeSceneJumpRsp_proto_rawDescGZIP() []byte { + file_HomeSceneJumpRsp_proto_rawDescOnce.Do(func() { + file_HomeSceneJumpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeSceneJumpRsp_proto_rawDescData) + }) + return file_HomeSceneJumpRsp_proto_rawDescData +} + +var file_HomeSceneJumpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeSceneJumpRsp_proto_goTypes = []interface{}{ + (*HomeSceneJumpRsp)(nil), // 0: HomeSceneJumpRsp +} +var file_HomeSceneJumpRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeSceneJumpRsp_proto_init() } +func file_HomeSceneJumpRsp_proto_init() { + if File_HomeSceneJumpRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeSceneJumpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeSceneJumpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeSceneJumpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeSceneJumpRsp_proto_goTypes, + DependencyIndexes: file_HomeSceneJumpRsp_proto_depIdxs, + MessageInfos: file_HomeSceneJumpRsp_proto_msgTypes, + }.Build() + File_HomeSceneJumpRsp_proto = out.File + file_HomeSceneJumpRsp_proto_rawDesc = nil + file_HomeSceneJumpRsp_proto_goTypes = nil + file_HomeSceneJumpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeSceneJumpRsp.proto b/gate-hk4e-api/proto/HomeSceneJumpRsp.proto new file mode 100644 index 00000000..ec18478e --- /dev/null +++ b/gate-hk4e-api/proto/HomeSceneJumpRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4698 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeSceneJumpRsp { + int32 retcode = 11; + bool is_enter_room_scene = 8; +} diff --git a/gate-hk4e-api/proto/HomeTransferData.pb.go b/gate-hk4e-api/proto/HomeTransferData.pb.go new file mode 100644 index 00000000..b695d08a --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferData.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeTransferData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeTransferData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint32 `protobuf:"varint,15,opt,name=guid,proto3" json:"guid,omitempty"` + SpawnPos *Vector `protobuf:"bytes,7,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` +} + +func (x *HomeTransferData) Reset() { + *x = HomeTransferData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeTransferData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeTransferData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeTransferData) ProtoMessage() {} + +func (x *HomeTransferData) ProtoReflect() protoreflect.Message { + mi := &file_HomeTransferData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeTransferData.ProtoReflect.Descriptor instead. +func (*HomeTransferData) Descriptor() ([]byte, []int) { + return file_HomeTransferData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeTransferData) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *HomeTransferData) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +var File_HomeTransferData_proto protoreflect.FileDescriptor + +var file_HomeTransferData_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x10, 0x48, 0x6f, 0x6d, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x24, + 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, + 0x6e, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeTransferData_proto_rawDescOnce sync.Once + file_HomeTransferData_proto_rawDescData = file_HomeTransferData_proto_rawDesc +) + +func file_HomeTransferData_proto_rawDescGZIP() []byte { + file_HomeTransferData_proto_rawDescOnce.Do(func() { + file_HomeTransferData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeTransferData_proto_rawDescData) + }) + return file_HomeTransferData_proto_rawDescData +} + +var file_HomeTransferData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeTransferData_proto_goTypes = []interface{}{ + (*HomeTransferData)(nil), // 0: HomeTransferData + (*Vector)(nil), // 1: Vector +} +var file_HomeTransferData_proto_depIdxs = []int32{ + 1, // 0: HomeTransferData.spawn_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeTransferData_proto_init() } +func file_HomeTransferData_proto_init() { + if File_HomeTransferData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeTransferData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeTransferData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeTransferData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeTransferData_proto_goTypes, + DependencyIndexes: file_HomeTransferData_proto_depIdxs, + MessageInfos: file_HomeTransferData_proto_msgTypes, + }.Build() + File_HomeTransferData_proto = out.File + file_HomeTransferData_proto_rawDesc = nil + file_HomeTransferData_proto_goTypes = nil + file_HomeTransferData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeTransferData.proto b/gate-hk4e-api/proto/HomeTransferData.proto new file mode 100644 index 00000000..f39b3e59 --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message HomeTransferData { + uint32 guid = 15; + Vector spawn_pos = 7; +} diff --git a/gate-hk4e-api/proto/HomeTransferReq.pb.go b/gate-hk4e-api/proto/HomeTransferReq.pb.go new file mode 100644 index 00000000..482de585 --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeTransferReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4726 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeTransferReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint32 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *HomeTransferReq) Reset() { + *x = HomeTransferReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeTransferReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeTransferReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeTransferReq) ProtoMessage() {} + +func (x *HomeTransferReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeTransferReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeTransferReq.ProtoReflect.Descriptor instead. +func (*HomeTransferReq) Descriptor() ([]byte, []int) { + return file_HomeTransferReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeTransferReq) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_HomeTransferReq_proto protoreflect.FileDescriptor + +var file_HomeTransferReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x0f, 0x48, 0x6f, 0x6d, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeTransferReq_proto_rawDescOnce sync.Once + file_HomeTransferReq_proto_rawDescData = file_HomeTransferReq_proto_rawDesc +) + +func file_HomeTransferReq_proto_rawDescGZIP() []byte { + file_HomeTransferReq_proto_rawDescOnce.Do(func() { + file_HomeTransferReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeTransferReq_proto_rawDescData) + }) + return file_HomeTransferReq_proto_rawDescData +} + +var file_HomeTransferReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeTransferReq_proto_goTypes = []interface{}{ + (*HomeTransferReq)(nil), // 0: HomeTransferReq +} +var file_HomeTransferReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeTransferReq_proto_init() } +func file_HomeTransferReq_proto_init() { + if File_HomeTransferReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeTransferReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeTransferReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeTransferReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeTransferReq_proto_goTypes, + DependencyIndexes: file_HomeTransferReq_proto_depIdxs, + MessageInfos: file_HomeTransferReq_proto_msgTypes, + }.Build() + File_HomeTransferReq_proto = out.File + file_HomeTransferReq_proto_rawDesc = nil + file_HomeTransferReq_proto_goTypes = nil + file_HomeTransferReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeTransferReq.proto b/gate-hk4e-api/proto/HomeTransferReq.proto new file mode 100644 index 00000000..712481c9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4726 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeTransferReq { + uint32 guid = 1; +} diff --git a/gate-hk4e-api/proto/HomeTransferRsp.pb.go b/gate-hk4e-api/proto/HomeTransferRsp.pb.go new file mode 100644 index 00000000..125bb278 --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeTransferRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4616 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeTransferRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeTransferRsp) Reset() { + *x = HomeTransferRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeTransferRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeTransferRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeTransferRsp) ProtoMessage() {} + +func (x *HomeTransferRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeTransferRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeTransferRsp.ProtoReflect.Descriptor instead. +func (*HomeTransferRsp) Descriptor() ([]byte, []int) { + return file_HomeTransferRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeTransferRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeTransferRsp_proto protoreflect.FileDescriptor + +var file_HomeTransferRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x48, 0x6f, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x0f, 0x48, 0x6f, 0x6d, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeTransferRsp_proto_rawDescOnce sync.Once + file_HomeTransferRsp_proto_rawDescData = file_HomeTransferRsp_proto_rawDesc +) + +func file_HomeTransferRsp_proto_rawDescGZIP() []byte { + file_HomeTransferRsp_proto_rawDescOnce.Do(func() { + file_HomeTransferRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeTransferRsp_proto_rawDescData) + }) + return file_HomeTransferRsp_proto_rawDescData +} + +var file_HomeTransferRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeTransferRsp_proto_goTypes = []interface{}{ + (*HomeTransferRsp)(nil), // 0: HomeTransferRsp +} +var file_HomeTransferRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeTransferRsp_proto_init() } +func file_HomeTransferRsp_proto_init() { + if File_HomeTransferRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeTransferRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeTransferRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeTransferRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeTransferRsp_proto_goTypes, + DependencyIndexes: file_HomeTransferRsp_proto_depIdxs, + MessageInfos: file_HomeTransferRsp_proto_msgTypes, + }.Build() + File_HomeTransferRsp_proto = out.File + file_HomeTransferRsp_proto_rawDesc = nil + file_HomeTransferRsp_proto_goTypes = nil + file_HomeTransferRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeTransferRsp.proto b/gate-hk4e-api/proto/HomeTransferRsp.proto new file mode 100644 index 00000000..7f4646b0 --- /dev/null +++ b/gate-hk4e-api/proto/HomeTransferRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4616 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeTransferRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.pb.go b/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.pb.go new file mode 100644 index 00000000..5c9e923a --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeUpdateArrangementInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4510 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeUpdateArrangementInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneArrangementInfo *HomeSceneArrangementInfo `protobuf:"bytes,6,opt,name=scene_arrangement_info,json=sceneArrangementInfo,proto3" json:"scene_arrangement_info,omitempty"` +} + +func (x *HomeUpdateArrangementInfoReq) Reset() { + *x = HomeUpdateArrangementInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeUpdateArrangementInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeUpdateArrangementInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeUpdateArrangementInfoReq) ProtoMessage() {} + +func (x *HomeUpdateArrangementInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeUpdateArrangementInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeUpdateArrangementInfoReq.ProtoReflect.Descriptor instead. +func (*HomeUpdateArrangementInfoReq) Descriptor() ([]byte, []int) { + return file_HomeUpdateArrangementInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeUpdateArrangementInfoReq) GetSceneArrangementInfo() *HomeSceneArrangementInfo { + if x != nil { + return x.SceneArrangementInfo + } + return nil +} + +var File_HomeUpdateArrangementInfoReq_proto protoreflect.FileDescriptor + +var file_HomeUpdateArrangementInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, + 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x12, 0x4f, 0x0a, 0x16, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x61, 0x72, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x14, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeUpdateArrangementInfoReq_proto_rawDescOnce sync.Once + file_HomeUpdateArrangementInfoReq_proto_rawDescData = file_HomeUpdateArrangementInfoReq_proto_rawDesc +) + +func file_HomeUpdateArrangementInfoReq_proto_rawDescGZIP() []byte { + file_HomeUpdateArrangementInfoReq_proto_rawDescOnce.Do(func() { + file_HomeUpdateArrangementInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeUpdateArrangementInfoReq_proto_rawDescData) + }) + return file_HomeUpdateArrangementInfoReq_proto_rawDescData +} + +var file_HomeUpdateArrangementInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeUpdateArrangementInfoReq_proto_goTypes = []interface{}{ + (*HomeUpdateArrangementInfoReq)(nil), // 0: HomeUpdateArrangementInfoReq + (*HomeSceneArrangementInfo)(nil), // 1: HomeSceneArrangementInfo +} +var file_HomeUpdateArrangementInfoReq_proto_depIdxs = []int32{ + 1, // 0: HomeUpdateArrangementInfoReq.scene_arrangement_info:type_name -> HomeSceneArrangementInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeUpdateArrangementInfoReq_proto_init() } +func file_HomeUpdateArrangementInfoReq_proto_init() { + if File_HomeUpdateArrangementInfoReq_proto != nil { + return + } + file_HomeSceneArrangementInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeUpdateArrangementInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeUpdateArrangementInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeUpdateArrangementInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeUpdateArrangementInfoReq_proto_goTypes, + DependencyIndexes: file_HomeUpdateArrangementInfoReq_proto_depIdxs, + MessageInfos: file_HomeUpdateArrangementInfoReq_proto_msgTypes, + }.Build() + File_HomeUpdateArrangementInfoReq_proto = out.File + file_HomeUpdateArrangementInfoReq_proto_rawDesc = nil + file_HomeUpdateArrangementInfoReq_proto_goTypes = nil + file_HomeUpdateArrangementInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.proto b/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.proto new file mode 100644 index 00000000..1a2819e9 --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateArrangementInfoReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeSceneArrangementInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4510 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeUpdateArrangementInfoReq { + HomeSceneArrangementInfo scene_arrangement_info = 6; +} diff --git a/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.pb.go b/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.pb.go new file mode 100644 index 00000000..aa245606 --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeUpdateArrangementInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4757 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeUpdateArrangementInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeUpdateArrangementInfoRsp) Reset() { + *x = HomeUpdateArrangementInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeUpdateArrangementInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeUpdateArrangementInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeUpdateArrangementInfoRsp) ProtoMessage() {} + +func (x *HomeUpdateArrangementInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeUpdateArrangementInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeUpdateArrangementInfoRsp.ProtoReflect.Descriptor instead. +func (*HomeUpdateArrangementInfoRsp) Descriptor() ([]byte, []int) { + return file_HomeUpdateArrangementInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeUpdateArrangementInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeUpdateArrangementInfoRsp_proto protoreflect.FileDescriptor + +var file_HomeUpdateArrangementInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeUpdateArrangementInfoRsp_proto_rawDescOnce sync.Once + file_HomeUpdateArrangementInfoRsp_proto_rawDescData = file_HomeUpdateArrangementInfoRsp_proto_rawDesc +) + +func file_HomeUpdateArrangementInfoRsp_proto_rawDescGZIP() []byte { + file_HomeUpdateArrangementInfoRsp_proto_rawDescOnce.Do(func() { + file_HomeUpdateArrangementInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeUpdateArrangementInfoRsp_proto_rawDescData) + }) + return file_HomeUpdateArrangementInfoRsp_proto_rawDescData +} + +var file_HomeUpdateArrangementInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeUpdateArrangementInfoRsp_proto_goTypes = []interface{}{ + (*HomeUpdateArrangementInfoRsp)(nil), // 0: HomeUpdateArrangementInfoRsp +} +var file_HomeUpdateArrangementInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeUpdateArrangementInfoRsp_proto_init() } +func file_HomeUpdateArrangementInfoRsp_proto_init() { + if File_HomeUpdateArrangementInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeUpdateArrangementInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeUpdateArrangementInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeUpdateArrangementInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeUpdateArrangementInfoRsp_proto_goTypes, + DependencyIndexes: file_HomeUpdateArrangementInfoRsp_proto_depIdxs, + MessageInfos: file_HomeUpdateArrangementInfoRsp_proto_msgTypes, + }.Build() + File_HomeUpdateArrangementInfoRsp_proto = out.File + file_HomeUpdateArrangementInfoRsp_proto_rawDesc = nil + file_HomeUpdateArrangementInfoRsp_proto_goTypes = nil + file_HomeUpdateArrangementInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.proto b/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.proto new file mode 100644 index 00000000..82cec2eb --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateArrangementInfoRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4757 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeUpdateArrangementInfoRsp { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.pb.go b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.pb.go new file mode 100644 index 00000000..c93475e7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeUpdateFishFarmingInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4544 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HomeUpdateFishFarmingInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishFarmingInfo *HomeFishFarmingInfo `protobuf:"bytes,5,opt,name=fish_farming_info,json=fishFarmingInfo,proto3" json:"fish_farming_info,omitempty"` +} + +func (x *HomeUpdateFishFarmingInfoReq) Reset() { + *x = HomeUpdateFishFarmingInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeUpdateFishFarmingInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeUpdateFishFarmingInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeUpdateFishFarmingInfoReq) ProtoMessage() {} + +func (x *HomeUpdateFishFarmingInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_HomeUpdateFishFarmingInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeUpdateFishFarmingInfoReq.ProtoReflect.Descriptor instead. +func (*HomeUpdateFishFarmingInfoReq) Descriptor() ([]byte, []int) { + return file_HomeUpdateFishFarmingInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeUpdateFishFarmingInfoReq) GetFishFarmingInfo() *HomeFishFarmingInfo { + if x != nil { + return x.FishFarmingInfo + } + return nil +} + +var File_HomeUpdateFishFarmingInfoReq_proto protoreflect.FileDescriptor + +var file_HomeUpdateFishFarmingInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x73, 0x68, + 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, + 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x60, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x73, + 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, + 0x40, 0x0a, 0x11, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0f, 0x66, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeUpdateFishFarmingInfoReq_proto_rawDescOnce sync.Once + file_HomeUpdateFishFarmingInfoReq_proto_rawDescData = file_HomeUpdateFishFarmingInfoReq_proto_rawDesc +) + +func file_HomeUpdateFishFarmingInfoReq_proto_rawDescGZIP() []byte { + file_HomeUpdateFishFarmingInfoReq_proto_rawDescOnce.Do(func() { + file_HomeUpdateFishFarmingInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeUpdateFishFarmingInfoReq_proto_rawDescData) + }) + return file_HomeUpdateFishFarmingInfoReq_proto_rawDescData +} + +var file_HomeUpdateFishFarmingInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeUpdateFishFarmingInfoReq_proto_goTypes = []interface{}{ + (*HomeUpdateFishFarmingInfoReq)(nil), // 0: HomeUpdateFishFarmingInfoReq + (*HomeFishFarmingInfo)(nil), // 1: HomeFishFarmingInfo +} +var file_HomeUpdateFishFarmingInfoReq_proto_depIdxs = []int32{ + 1, // 0: HomeUpdateFishFarmingInfoReq.fish_farming_info:type_name -> HomeFishFarmingInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeUpdateFishFarmingInfoReq_proto_init() } +func file_HomeUpdateFishFarmingInfoReq_proto_init() { + if File_HomeUpdateFishFarmingInfoReq_proto != nil { + return + } + file_HomeFishFarmingInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeUpdateFishFarmingInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeUpdateFishFarmingInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeUpdateFishFarmingInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeUpdateFishFarmingInfoReq_proto_goTypes, + DependencyIndexes: file_HomeUpdateFishFarmingInfoReq_proto_depIdxs, + MessageInfos: file_HomeUpdateFishFarmingInfoReq_proto_msgTypes, + }.Build() + File_HomeUpdateFishFarmingInfoReq_proto = out.File + file_HomeUpdateFishFarmingInfoReq_proto_rawDesc = nil + file_HomeUpdateFishFarmingInfoReq_proto_goTypes = nil + file_HomeUpdateFishFarmingInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.proto b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.proto new file mode 100644 index 00000000..0694fba7 --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFishFarmingInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4544 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HomeUpdateFishFarmingInfoReq { + HomeFishFarmingInfo fish_farming_info = 5; +} diff --git a/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.pb.go b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.pb.go new file mode 100644 index 00000000..75b0f5cf --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeUpdateFishFarmingInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4857 +// EnetChannelId: 0 +// EnetIsReliable: true +type HomeUpdateFishFarmingInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *HomeUpdateFishFarmingInfoRsp) Reset() { + *x = HomeUpdateFishFarmingInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeUpdateFishFarmingInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeUpdateFishFarmingInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeUpdateFishFarmingInfoRsp) ProtoMessage() {} + +func (x *HomeUpdateFishFarmingInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_HomeUpdateFishFarmingInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeUpdateFishFarmingInfoRsp.ProtoReflect.Descriptor instead. +func (*HomeUpdateFishFarmingInfoRsp) Descriptor() ([]byte, []int) { + return file_HomeUpdateFishFarmingInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeUpdateFishFarmingInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_HomeUpdateFishFarmingInfoRsp_proto protoreflect.FileDescriptor + +var file_HomeUpdateFishFarmingInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x73, 0x68, + 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1c, 0x48, 0x6f, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x46, 0x69, 0x73, 0x68, 0x46, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_HomeUpdateFishFarmingInfoRsp_proto_rawDescOnce sync.Once + file_HomeUpdateFishFarmingInfoRsp_proto_rawDescData = file_HomeUpdateFishFarmingInfoRsp_proto_rawDesc +) + +func file_HomeUpdateFishFarmingInfoRsp_proto_rawDescGZIP() []byte { + file_HomeUpdateFishFarmingInfoRsp_proto_rawDescOnce.Do(func() { + file_HomeUpdateFishFarmingInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeUpdateFishFarmingInfoRsp_proto_rawDescData) + }) + return file_HomeUpdateFishFarmingInfoRsp_proto_rawDescData +} + +var file_HomeUpdateFishFarmingInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeUpdateFishFarmingInfoRsp_proto_goTypes = []interface{}{ + (*HomeUpdateFishFarmingInfoRsp)(nil), // 0: HomeUpdateFishFarmingInfoRsp +} +var file_HomeUpdateFishFarmingInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeUpdateFishFarmingInfoRsp_proto_init() } +func file_HomeUpdateFishFarmingInfoRsp_proto_init() { + if File_HomeUpdateFishFarmingInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeUpdateFishFarmingInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeUpdateFishFarmingInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeUpdateFishFarmingInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeUpdateFishFarmingInfoRsp_proto_goTypes, + DependencyIndexes: file_HomeUpdateFishFarmingInfoRsp_proto_depIdxs, + MessageInfos: file_HomeUpdateFishFarmingInfoRsp_proto_msgTypes, + }.Build() + File_HomeUpdateFishFarmingInfoRsp_proto = out.File + file_HomeUpdateFishFarmingInfoRsp_proto_rawDesc = nil + file_HomeUpdateFishFarmingInfoRsp_proto_goTypes = nil + file_HomeUpdateFishFarmingInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.proto b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.proto new file mode 100644 index 00000000..08c62409 --- /dev/null +++ b/gate-hk4e-api/proto/HomeUpdateFishFarmingInfoRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4857 +// EnetChannelId: 0 +// EnetIsReliable: true +message HomeUpdateFishFarmingInfoRsp { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/HomeVerifyBlockData.pb.go b/gate-hk4e-api/proto/HomeVerifyBlockData.pb.go new file mode 100644 index 00000000..7c86798d --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyBlockData.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeVerifyBlockData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeVerifyBlockData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockId uint32 `protobuf:"varint,10,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Furnitures uint32 `protobuf:"varint,9,opt,name=furnitures,proto3" json:"furnitures,omitempty"` +} + +func (x *HomeVerifyBlockData) Reset() { + *x = HomeVerifyBlockData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeVerifyBlockData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeVerifyBlockData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeVerifyBlockData) ProtoMessage() {} + +func (x *HomeVerifyBlockData) ProtoReflect() protoreflect.Message { + mi := &file_HomeVerifyBlockData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeVerifyBlockData.ProtoReflect.Descriptor instead. +func (*HomeVerifyBlockData) Descriptor() ([]byte, []int) { + return file_HomeVerifyBlockData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeVerifyBlockData) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *HomeVerifyBlockData) GetFurnitures() uint32 { + if x != nil { + return x.Furnitures + } + return 0 +} + +var File_HomeVerifyBlockData_proto protoreflect.FileDescriptor + +var file_HomeVerifyBlockData_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x48, + 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x73, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HomeVerifyBlockData_proto_rawDescOnce sync.Once + file_HomeVerifyBlockData_proto_rawDescData = file_HomeVerifyBlockData_proto_rawDesc +) + +func file_HomeVerifyBlockData_proto_rawDescGZIP() []byte { + file_HomeVerifyBlockData_proto_rawDescOnce.Do(func() { + file_HomeVerifyBlockData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeVerifyBlockData_proto_rawDescData) + }) + return file_HomeVerifyBlockData_proto_rawDescData +} + +var file_HomeVerifyBlockData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeVerifyBlockData_proto_goTypes = []interface{}{ + (*HomeVerifyBlockData)(nil), // 0: HomeVerifyBlockData +} +var file_HomeVerifyBlockData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeVerifyBlockData_proto_init() } +func file_HomeVerifyBlockData_proto_init() { + if File_HomeVerifyBlockData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeVerifyBlockData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeVerifyBlockData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeVerifyBlockData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeVerifyBlockData_proto_goTypes, + DependencyIndexes: file_HomeVerifyBlockData_proto_depIdxs, + MessageInfos: file_HomeVerifyBlockData_proto_msgTypes, + }.Build() + File_HomeVerifyBlockData_proto = out.File + file_HomeVerifyBlockData_proto_rawDesc = nil + file_HomeVerifyBlockData_proto_goTypes = nil + file_HomeVerifyBlockData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeVerifyBlockData.proto b/gate-hk4e-api/proto/HomeVerifyBlockData.proto new file mode 100644 index 00000000..309a7da6 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyBlockData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeVerifyBlockData { + uint32 block_id = 10; + uint32 furnitures = 9; +} diff --git a/gate-hk4e-api/proto/HomeVerifyData.pb.go b/gate-hk4e-api/proto/HomeVerifyData.pb.go new file mode 100644 index 00000000..1f6cad54 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyData.pb.go @@ -0,0 +1,246 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeVerifyData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeVerifyData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OAKBDKKBFHP string `protobuf:"bytes,7,opt,name=Unk2700_OAKBDKKBFHP,json=Unk2700OAKBDKKBFHP,proto3" json:"Unk2700_OAKBDKKBFHP,omitempty"` + Timestamp uint32 `protobuf:"fixed32,15,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` + Unk2700_CDELDBLKLDO *HomeSceneArrangementMuipData `protobuf:"bytes,9,opt,name=Unk2700_CDELDBLKLDO,json=Unk2700CDELDBLKLDO,proto3" json:"Unk2700_CDELDBLKLDO,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + HomeInfo *HomeVerifySceneData `protobuf:"bytes,6,opt,name=home_info,json=homeInfo,proto3" json:"home_info,omitempty"` + Lang LanguageType `protobuf:"varint,8,opt,name=lang,proto3,enum=LanguageType" json:"lang,omitempty"` +} + +func (x *HomeVerifyData) Reset() { + *x = HomeVerifyData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeVerifyData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeVerifyData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeVerifyData) ProtoMessage() {} + +func (x *HomeVerifyData) ProtoReflect() protoreflect.Message { + mi := &file_HomeVerifyData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeVerifyData.ProtoReflect.Descriptor instead. +func (*HomeVerifyData) Descriptor() ([]byte, []int) { + return file_HomeVerifyData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeVerifyData) GetUnk2700_OAKBDKKBFHP() string { + if x != nil { + return x.Unk2700_OAKBDKKBFHP + } + return "" +} + +func (x *HomeVerifyData) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *HomeVerifyData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *HomeVerifyData) GetUnk2700_CDELDBLKLDO() *HomeSceneArrangementMuipData { + if x != nil { + return x.Unk2700_CDELDBLKLDO + } + return nil +} + +func (x *HomeVerifyData) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +func (x *HomeVerifyData) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *HomeVerifyData) GetHomeInfo() *HomeVerifySceneData { + if x != nil { + return x.HomeInfo + } + return nil +} + +func (x *HomeVerifyData) GetLang() LanguageType { + if x != nil { + return x.Lang + } + return LanguageType_LANGUAGE_TYPE_NONE +} + +var File_HomeVerifyData_proto protoreflect.FileDescriptor + +var file_HomeVerifyData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x69, 0x70, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, 0x65, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x02, 0x0a, 0x0e, 0x48, 0x6f, + 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x41, 0x4b, 0x42, 0x44, 0x4b, 0x4b, 0x42, + 0x46, 0x48, 0x50, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4f, 0x41, 0x4b, 0x42, 0x44, 0x4b, 0x4b, 0x42, 0x46, 0x48, 0x50, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x07, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x4e, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x45, 0x4c, 0x44, 0x42, 0x4c, + 0x4b, 0x4c, 0x44, 0x4f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x4d, 0x75, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x44, 0x45, 0x4c, 0x44, 0x42, 0x4c, 0x4b, 0x4c, 0x44, 0x4f, 0x12, 0x16, 0x0a, + 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x31, 0x0a, 0x09, 0x68, + 0x6f, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, + 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x4c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x6e, + 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeVerifyData_proto_rawDescOnce sync.Once + file_HomeVerifyData_proto_rawDescData = file_HomeVerifyData_proto_rawDesc +) + +func file_HomeVerifyData_proto_rawDescGZIP() []byte { + file_HomeVerifyData_proto_rawDescOnce.Do(func() { + file_HomeVerifyData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeVerifyData_proto_rawDescData) + }) + return file_HomeVerifyData_proto_rawDescData +} + +var file_HomeVerifyData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeVerifyData_proto_goTypes = []interface{}{ + (*HomeVerifyData)(nil), // 0: HomeVerifyData + (*HomeSceneArrangementMuipData)(nil), // 1: HomeSceneArrangementMuipData + (*HomeVerifySceneData)(nil), // 2: HomeVerifySceneData + (LanguageType)(0), // 3: LanguageType +} +var file_HomeVerifyData_proto_depIdxs = []int32{ + 1, // 0: HomeVerifyData.Unk2700_CDELDBLKLDO:type_name -> HomeSceneArrangementMuipData + 2, // 1: HomeVerifyData.home_info:type_name -> HomeVerifySceneData + 3, // 2: HomeVerifyData.lang:type_name -> LanguageType + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_HomeVerifyData_proto_init() } +func file_HomeVerifyData_proto_init() { + if File_HomeVerifyData_proto != nil { + return + } + file_HomeSceneArrangementMuipData_proto_init() + file_HomeVerifySceneData_proto_init() + file_LanguageType_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeVerifyData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeVerifyData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeVerifyData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeVerifyData_proto_goTypes, + DependencyIndexes: file_HomeVerifyData_proto_depIdxs, + MessageInfos: file_HomeVerifyData_proto_msgTypes, + }.Build() + File_HomeVerifyData_proto = out.File + file_HomeVerifyData_proto_rawDesc = nil + file_HomeVerifyData_proto_goTypes = nil + file_HomeVerifyData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeVerifyData.proto b/gate-hk4e-api/proto/HomeVerifyData.proto new file mode 100644 index 00000000..5b22d364 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyData.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeSceneArrangementMuipData.proto"; +import "HomeVerifySceneData.proto"; +import "LanguageType.proto"; + +option go_package = "./;proto"; + +message HomeVerifyData { + string Unk2700_OAKBDKKBFHP = 7; + fixed32 timestamp = 15; + uint32 uid = 5; + HomeSceneArrangementMuipData Unk2700_CDELDBLKLDO = 9; + string region = 3; + string token = 1; + HomeVerifySceneData home_info = 6; + LanguageType lang = 8; +} diff --git a/gate-hk4e-api/proto/HomeVerifyFurnitureData.pb.go b/gate-hk4e-api/proto/HomeVerifyFurnitureData.pb.go new file mode 100644 index 00000000..9c440460 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyFurnitureData.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeVerifyFurnitureData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeVerifyFurnitureData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type []uint32 `protobuf:"varint,7,rep,packed,name=type,proto3" json:"type,omitempty"` + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + Num uint32 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"` +} + +func (x *HomeVerifyFurnitureData) Reset() { + *x = HomeVerifyFurnitureData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeVerifyFurnitureData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeVerifyFurnitureData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeVerifyFurnitureData) ProtoMessage() {} + +func (x *HomeVerifyFurnitureData) ProtoReflect() protoreflect.Message { + mi := &file_HomeVerifyFurnitureData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeVerifyFurnitureData.ProtoReflect.Descriptor instead. +func (*HomeVerifyFurnitureData) Descriptor() ([]byte, []int) { + return file_HomeVerifyFurnitureData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeVerifyFurnitureData) GetType() []uint32 { + if x != nil { + return x.Type + } + return nil +} + +func (x *HomeVerifyFurnitureData) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *HomeVerifyFurnitureData) GetNum() uint32 { + if x != nil { + return x.Num + } + return 0 +} + +var File_HomeVerifyFurnitureData_proto protoreflect.FileDescriptor + +var file_HomeVerifyFurnitureData_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x4f, 0x0a, 0x17, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x46, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, + 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6e, 0x75, 0x6d, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeVerifyFurnitureData_proto_rawDescOnce sync.Once + file_HomeVerifyFurnitureData_proto_rawDescData = file_HomeVerifyFurnitureData_proto_rawDesc +) + +func file_HomeVerifyFurnitureData_proto_rawDescGZIP() []byte { + file_HomeVerifyFurnitureData_proto_rawDescOnce.Do(func() { + file_HomeVerifyFurnitureData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeVerifyFurnitureData_proto_rawDescData) + }) + return file_HomeVerifyFurnitureData_proto_rawDescData +} + +var file_HomeVerifyFurnitureData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeVerifyFurnitureData_proto_goTypes = []interface{}{ + (*HomeVerifyFurnitureData)(nil), // 0: HomeVerifyFurnitureData +} +var file_HomeVerifyFurnitureData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HomeVerifyFurnitureData_proto_init() } +func file_HomeVerifyFurnitureData_proto_init() { + if File_HomeVerifyFurnitureData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HomeVerifyFurnitureData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeVerifyFurnitureData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeVerifyFurnitureData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeVerifyFurnitureData_proto_goTypes, + DependencyIndexes: file_HomeVerifyFurnitureData_proto_depIdxs, + MessageInfos: file_HomeVerifyFurnitureData_proto_msgTypes, + }.Build() + File_HomeVerifyFurnitureData_proto = out.File + file_HomeVerifyFurnitureData_proto_rawDesc = nil + file_HomeVerifyFurnitureData_proto_goTypes = nil + file_HomeVerifyFurnitureData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeVerifyFurnitureData.proto b/gate-hk4e-api/proto/HomeVerifyFurnitureData.proto new file mode 100644 index 00000000..3abf0a83 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifyFurnitureData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HomeVerifyFurnitureData { + repeated uint32 type = 7; + uint32 id = 5; + uint32 num = 9; +} diff --git a/gate-hk4e-api/proto/HomeVerifySceneData.pb.go b/gate-hk4e-api/proto/HomeVerifySceneData.pb.go new file mode 100644 index 00000000..7518c399 --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifySceneData.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HomeVerifySceneData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HomeVerifySceneData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Blocks []*HomeVerifyBlockData `protobuf:"bytes,6,rep,name=blocks,proto3" json:"blocks,omitempty"` + ModuleId uint32 `protobuf:"varint,11,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Version uint32 `protobuf:"varint,14,opt,name=version,proto3" json:"version,omitempty"` + IsRoom uint32 `protobuf:"varint,2,opt,name=is_room,json=isRoom,proto3" json:"is_room,omitempty"` +} + +func (x *HomeVerifySceneData) Reset() { + *x = HomeVerifySceneData{} + if protoimpl.UnsafeEnabled { + mi := &file_HomeVerifySceneData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HomeVerifySceneData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HomeVerifySceneData) ProtoMessage() {} + +func (x *HomeVerifySceneData) ProtoReflect() protoreflect.Message { + mi := &file_HomeVerifySceneData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HomeVerifySceneData.ProtoReflect.Descriptor instead. +func (*HomeVerifySceneData) Descriptor() ([]byte, []int) { + return file_HomeVerifySceneData_proto_rawDescGZIP(), []int{0} +} + +func (x *HomeVerifySceneData) GetBlocks() []*HomeVerifyBlockData { + if x != nil { + return x.Blocks + } + return nil +} + +func (x *HomeVerifySceneData) GetModuleId() uint32 { + if x != nil { + return x.ModuleId + } + return 0 +} + +func (x *HomeVerifySceneData) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *HomeVerifySceneData) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *HomeVerifySceneData) GetIsRoom() uint32 { + if x != nil { + return x.IsRoom + } + return 0 +} + +var File_HomeVerifySceneData_proto protoreflect.FileDescriptor + +var file_HomeVerifySceneData_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x48, 0x6f, 0x6d, + 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x13, 0x48, 0x6f, 0x6d, 0x65, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, + 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x1b, 0x0a, 0x09, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x69, 0x73, 0x52, 0x6f, 0x6f, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HomeVerifySceneData_proto_rawDescOnce sync.Once + file_HomeVerifySceneData_proto_rawDescData = file_HomeVerifySceneData_proto_rawDesc +) + +func file_HomeVerifySceneData_proto_rawDescGZIP() []byte { + file_HomeVerifySceneData_proto_rawDescOnce.Do(func() { + file_HomeVerifySceneData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HomeVerifySceneData_proto_rawDescData) + }) + return file_HomeVerifySceneData_proto_rawDescData +} + +var file_HomeVerifySceneData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HomeVerifySceneData_proto_goTypes = []interface{}{ + (*HomeVerifySceneData)(nil), // 0: HomeVerifySceneData + (*HomeVerifyBlockData)(nil), // 1: HomeVerifyBlockData +} +var file_HomeVerifySceneData_proto_depIdxs = []int32{ + 1, // 0: HomeVerifySceneData.blocks:type_name -> HomeVerifyBlockData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HomeVerifySceneData_proto_init() } +func file_HomeVerifySceneData_proto_init() { + if File_HomeVerifySceneData_proto != nil { + return + } + file_HomeVerifyBlockData_proto_init() + if !protoimpl.UnsafeEnabled { + file_HomeVerifySceneData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeVerifySceneData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HomeVerifySceneData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HomeVerifySceneData_proto_goTypes, + DependencyIndexes: file_HomeVerifySceneData_proto_depIdxs, + MessageInfos: file_HomeVerifySceneData_proto_msgTypes, + }.Build() + File_HomeVerifySceneData_proto = out.File + file_HomeVerifySceneData_proto_rawDesc = nil + file_HomeVerifySceneData_proto_goTypes = nil + file_HomeVerifySceneData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HomeVerifySceneData.proto b/gate-hk4e-api/proto/HomeVerifySceneData.proto new file mode 100644 index 00000000..f5c6421e --- /dev/null +++ b/gate-hk4e-api/proto/HomeVerifySceneData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeVerifyBlockData.proto"; + +option go_package = "./;proto"; + +message HomeVerifySceneData { + repeated HomeVerifyBlockData blocks = 6; + uint32 module_id = 11; + uint32 scene_id = 4; + uint32 version = 14; + uint32 is_room = 2; +} diff --git a/gate-hk4e-api/proto/HostPlayerNotify.pb.go b/gate-hk4e-api/proto/HostPlayerNotify.pb.go new file mode 100644 index 00000000..1383a4af --- /dev/null +++ b/gate-hk4e-api/proto/HostPlayerNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HostPlayerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 312 +// EnetChannelId: 0 +// EnetIsReliable: true +type HostPlayerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HostPeerId uint32 `protobuf:"varint,13,opt,name=host_peer_id,json=hostPeerId,proto3" json:"host_peer_id,omitempty"` + HostUid uint32 `protobuf:"varint,10,opt,name=host_uid,json=hostUid,proto3" json:"host_uid,omitempty"` +} + +func (x *HostPlayerNotify) Reset() { + *x = HostPlayerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HostPlayerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostPlayerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostPlayerNotify) ProtoMessage() {} + +func (x *HostPlayerNotify) ProtoReflect() protoreflect.Message { + mi := &file_HostPlayerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HostPlayerNotify.ProtoReflect.Descriptor instead. +func (*HostPlayerNotify) Descriptor() ([]byte, []int) { + return file_HostPlayerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HostPlayerNotify) GetHostPeerId() uint32 { + if x != nil { + return x.HostPeerId + } + return 0 +} + +func (x *HostPlayerNotify) GetHostUid() uint32 { + if x != nil { + return x.HostUid + } + return 0 +} + +var File_HostPlayerNotify_proto protoreflect.FileDescriptor + +var file_HostPlayerNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x10, 0x48, 0x6f, 0x73, 0x74, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, + 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HostPlayerNotify_proto_rawDescOnce sync.Once + file_HostPlayerNotify_proto_rawDescData = file_HostPlayerNotify_proto_rawDesc +) + +func file_HostPlayerNotify_proto_rawDescGZIP() []byte { + file_HostPlayerNotify_proto_rawDescOnce.Do(func() { + file_HostPlayerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HostPlayerNotify_proto_rawDescData) + }) + return file_HostPlayerNotify_proto_rawDescData +} + +var file_HostPlayerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HostPlayerNotify_proto_goTypes = []interface{}{ + (*HostPlayerNotify)(nil), // 0: HostPlayerNotify +} +var file_HostPlayerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HostPlayerNotify_proto_init() } +func file_HostPlayerNotify_proto_init() { + if File_HostPlayerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HostPlayerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostPlayerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HostPlayerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HostPlayerNotify_proto_goTypes, + DependencyIndexes: file_HostPlayerNotify_proto_depIdxs, + MessageInfos: file_HostPlayerNotify_proto_msgTypes, + }.Build() + File_HostPlayerNotify_proto = out.File + file_HostPlayerNotify_proto_rawDesc = nil + file_HostPlayerNotify_proto_goTypes = nil + file_HostPlayerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HostPlayerNotify.proto b/gate-hk4e-api/proto/HostPlayerNotify.proto new file mode 100644 index 00000000..dd534013 --- /dev/null +++ b/gate-hk4e-api/proto/HostPlayerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 312 +// EnetChannelId: 0 +// EnetIsReliable: true +message HostPlayerNotify { + uint32 host_peer_id = 13; + uint32 host_uid = 10; +} diff --git a/gate-hk4e-api/proto/HuntingFailNotify.pb.go b/gate-hk4e-api/proto/HuntingFailNotify.pb.go new file mode 100644 index 00000000..3f47609e --- /dev/null +++ b/gate-hk4e-api/proto/HuntingFailNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingFailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4320 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingFailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,12,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` +} + +func (x *HuntingFailNotify) Reset() { + *x = HuntingFailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingFailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingFailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingFailNotify) ProtoMessage() {} + +func (x *HuntingFailNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingFailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingFailNotify.ProtoReflect.Descriptor instead. +func (*HuntingFailNotify) Descriptor() ([]byte, []int) { + return file_HuntingFailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingFailNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +var File_HuntingFailNotify_proto protoreflect.FileDescriptor + +var file_HuntingFailNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x11, + 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, + 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, + 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingFailNotify_proto_rawDescOnce sync.Once + file_HuntingFailNotify_proto_rawDescData = file_HuntingFailNotify_proto_rawDesc +) + +func file_HuntingFailNotify_proto_rawDescGZIP() []byte { + file_HuntingFailNotify_proto_rawDescOnce.Do(func() { + file_HuntingFailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingFailNotify_proto_rawDescData) + }) + return file_HuntingFailNotify_proto_rawDescData +} + +var file_HuntingFailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingFailNotify_proto_goTypes = []interface{}{ + (*HuntingFailNotify)(nil), // 0: HuntingFailNotify + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_HuntingFailNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingFailNotify.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HuntingFailNotify_proto_init() } +func file_HuntingFailNotify_proto_init() { + if File_HuntingFailNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingFailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingFailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingFailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingFailNotify_proto_goTypes, + DependencyIndexes: file_HuntingFailNotify_proto_depIdxs, + MessageInfos: file_HuntingFailNotify_proto_msgTypes, + }.Build() + File_HuntingFailNotify_proto = out.File + file_HuntingFailNotify_proto_rawDesc = nil + file_HuntingFailNotify_proto_goTypes = nil + file_HuntingFailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingFailNotify.proto b/gate-hk4e-api/proto/HuntingFailNotify.proto new file mode 100644 index 00000000..5829f4ca --- /dev/null +++ b/gate-hk4e-api/proto/HuntingFailNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4320 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingFailNotify { + HuntingPair hunting_pair = 12; +} diff --git a/gate-hk4e-api/proto/HuntingGiveUpReq.pb.go b/gate-hk4e-api/proto/HuntingGiveUpReq.pb.go new file mode 100644 index 00000000..bfb84c56 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingGiveUpReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingGiveUpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4341 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type HuntingGiveUpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,1,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` +} + +func (x *HuntingGiveUpReq) Reset() { + *x = HuntingGiveUpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingGiveUpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingGiveUpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingGiveUpReq) ProtoMessage() {} + +func (x *HuntingGiveUpReq) ProtoReflect() protoreflect.Message { + mi := &file_HuntingGiveUpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingGiveUpReq.ProtoReflect.Descriptor instead. +func (*HuntingGiveUpReq) Descriptor() ([]byte, []int) { + return file_HuntingGiveUpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingGiveUpReq) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +var File_HuntingGiveUpReq_proto protoreflect.FileDescriptor + +var file_HuntingGiveUpReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x10, 0x48, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, 0x12, + 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, + 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingGiveUpReq_proto_rawDescOnce sync.Once + file_HuntingGiveUpReq_proto_rawDescData = file_HuntingGiveUpReq_proto_rawDesc +) + +func file_HuntingGiveUpReq_proto_rawDescGZIP() []byte { + file_HuntingGiveUpReq_proto_rawDescOnce.Do(func() { + file_HuntingGiveUpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingGiveUpReq_proto_rawDescData) + }) + return file_HuntingGiveUpReq_proto_rawDescData +} + +var file_HuntingGiveUpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingGiveUpReq_proto_goTypes = []interface{}{ + (*HuntingGiveUpReq)(nil), // 0: HuntingGiveUpReq + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_HuntingGiveUpReq_proto_depIdxs = []int32{ + 1, // 0: HuntingGiveUpReq.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HuntingGiveUpReq_proto_init() } +func file_HuntingGiveUpReq_proto_init() { + if File_HuntingGiveUpReq_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingGiveUpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingGiveUpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingGiveUpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingGiveUpReq_proto_goTypes, + DependencyIndexes: file_HuntingGiveUpReq_proto_depIdxs, + MessageInfos: file_HuntingGiveUpReq_proto_msgTypes, + }.Build() + File_HuntingGiveUpReq_proto = out.File + file_HuntingGiveUpReq_proto_rawDesc = nil + file_HuntingGiveUpReq_proto_goTypes = nil + file_HuntingGiveUpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingGiveUpReq.proto b/gate-hk4e-api/proto/HuntingGiveUpReq.proto new file mode 100644 index 00000000..6e36ea01 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingGiveUpReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4341 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message HuntingGiveUpReq { + HuntingPair hunting_pair = 1; +} diff --git a/gate-hk4e-api/proto/HuntingGiveUpRsp.pb.go b/gate-hk4e-api/proto/HuntingGiveUpRsp.pb.go new file mode 100644 index 00000000..c1107aae --- /dev/null +++ b/gate-hk4e-api/proto/HuntingGiveUpRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingGiveUpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4342 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingGiveUpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + HuntingPair *HuntingPair `protobuf:"bytes,4,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` +} + +func (x *HuntingGiveUpRsp) Reset() { + *x = HuntingGiveUpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingGiveUpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingGiveUpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingGiveUpRsp) ProtoMessage() {} + +func (x *HuntingGiveUpRsp) ProtoReflect() protoreflect.Message { + mi := &file_HuntingGiveUpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingGiveUpRsp.ProtoReflect.Descriptor instead. +func (*HuntingGiveUpRsp) Descriptor() ([]byte, []int) { + return file_HuntingGiveUpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingGiveUpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *HuntingGiveUpRsp) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +var File_HuntingGiveUpRsp_proto protoreflect.FileDescriptor + +var file_HuntingGiveUpRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x10, 0x48, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, 0x73, 0x70, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingGiveUpRsp_proto_rawDescOnce sync.Once + file_HuntingGiveUpRsp_proto_rawDescData = file_HuntingGiveUpRsp_proto_rawDesc +) + +func file_HuntingGiveUpRsp_proto_rawDescGZIP() []byte { + file_HuntingGiveUpRsp_proto_rawDescOnce.Do(func() { + file_HuntingGiveUpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingGiveUpRsp_proto_rawDescData) + }) + return file_HuntingGiveUpRsp_proto_rawDescData +} + +var file_HuntingGiveUpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingGiveUpRsp_proto_goTypes = []interface{}{ + (*HuntingGiveUpRsp)(nil), // 0: HuntingGiveUpRsp + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_HuntingGiveUpRsp_proto_depIdxs = []int32{ + 1, // 0: HuntingGiveUpRsp.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HuntingGiveUpRsp_proto_init() } +func file_HuntingGiveUpRsp_proto_init() { + if File_HuntingGiveUpRsp_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingGiveUpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingGiveUpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingGiveUpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingGiveUpRsp_proto_goTypes, + DependencyIndexes: file_HuntingGiveUpRsp_proto_depIdxs, + MessageInfos: file_HuntingGiveUpRsp_proto_msgTypes, + }.Build() + File_HuntingGiveUpRsp_proto = out.File + file_HuntingGiveUpRsp_proto_rawDesc = nil + file_HuntingGiveUpRsp_proto_goTypes = nil + file_HuntingGiveUpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingGiveUpRsp.proto b/gate-hk4e-api/proto/HuntingGiveUpRsp.proto new file mode 100644 index 00000000..f43d249d --- /dev/null +++ b/gate-hk4e-api/proto/HuntingGiveUpRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4342 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingGiveUpRsp { + int32 retcode = 3; + HuntingPair hunting_pair = 4; +} diff --git a/gate-hk4e-api/proto/HuntingOfferData.pb.go b/gate-hk4e-api/proto/HuntingOfferData.pb.go new file mode 100644 index 00000000..ee4c7de0 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOfferData.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingOfferData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HuntingOfferData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,4,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + CityId uint32 `protobuf:"varint,8,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + State HuntingOfferState `protobuf:"varint,1,opt,name=state,proto3,enum=HuntingOfferState" json:"state,omitempty"` +} + +func (x *HuntingOfferData) Reset() { + *x = HuntingOfferData{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingOfferData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingOfferData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingOfferData) ProtoMessage() {} + +func (x *HuntingOfferData) ProtoReflect() protoreflect.Message { + mi := &file_HuntingOfferData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingOfferData.ProtoReflect.Descriptor instead. +func (*HuntingOfferData) Descriptor() ([]byte, []int) { + return file_HuntingOfferData_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingOfferData) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *HuntingOfferData) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *HuntingOfferData) GetState() HuntingOfferState { + if x != nil { + return x.State + } + return HuntingOfferState_HUNTING_OFFER_STATE_NONE +} + +var File_HuntingOfferData_proto protoreflect.FileDescriptor + +var file_HuntingOfferData_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HuntingOfferData_proto_rawDescOnce sync.Once + file_HuntingOfferData_proto_rawDescData = file_HuntingOfferData_proto_rawDesc +) + +func file_HuntingOfferData_proto_rawDescGZIP() []byte { + file_HuntingOfferData_proto_rawDescOnce.Do(func() { + file_HuntingOfferData_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingOfferData_proto_rawDescData) + }) + return file_HuntingOfferData_proto_rawDescData +} + +var file_HuntingOfferData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingOfferData_proto_goTypes = []interface{}{ + (*HuntingOfferData)(nil), // 0: HuntingOfferData + (*HuntingPair)(nil), // 1: HuntingPair + (HuntingOfferState)(0), // 2: HuntingOfferState +} +var file_HuntingOfferData_proto_depIdxs = []int32{ + 1, // 0: HuntingOfferData.hunting_pair:type_name -> HuntingPair + 2, // 1: HuntingOfferData.state:type_name -> HuntingOfferState + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HuntingOfferData_proto_init() } +func file_HuntingOfferData_proto_init() { + if File_HuntingOfferData_proto != nil { + return + } + file_HuntingOfferState_proto_init() + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingOfferData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingOfferData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingOfferData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingOfferData_proto_goTypes, + DependencyIndexes: file_HuntingOfferData_proto_depIdxs, + MessageInfos: file_HuntingOfferData_proto_msgTypes, + }.Build() + File_HuntingOfferData_proto = out.File + file_HuntingOfferData_proto_rawDesc = nil + file_HuntingOfferData_proto_goTypes = nil + file_HuntingOfferData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingOfferData.proto b/gate-hk4e-api/proto/HuntingOfferData.proto new file mode 100644 index 00000000..4ffaa099 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOfferData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingOfferState.proto"; +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +message HuntingOfferData { + HuntingPair hunting_pair = 4; + uint32 city_id = 8; + HuntingOfferState state = 1; +} diff --git a/gate-hk4e-api/proto/HuntingOfferState.pb.go b/gate-hk4e-api/proto/HuntingOfferState.pb.go new file mode 100644 index 00000000..6bac9fd8 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOfferState.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingOfferState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HuntingOfferState int32 + +const ( + HuntingOfferState_HUNTING_OFFER_STATE_NONE HuntingOfferState = 0 + HuntingOfferState_HUNTING_OFFER_STATE_STARTED HuntingOfferState = 1 + HuntingOfferState_HUNTING_OFFER_STATE_UNSTARTED HuntingOfferState = 2 + HuntingOfferState_HUNTING_OFFER_STATE_SUCC HuntingOfferState = 3 +) + +// Enum value maps for HuntingOfferState. +var ( + HuntingOfferState_name = map[int32]string{ + 0: "HUNTING_OFFER_STATE_NONE", + 1: "HUNTING_OFFER_STATE_STARTED", + 2: "HUNTING_OFFER_STATE_UNSTARTED", + 3: "HUNTING_OFFER_STATE_SUCC", + } + HuntingOfferState_value = map[string]int32{ + "HUNTING_OFFER_STATE_NONE": 0, + "HUNTING_OFFER_STATE_STARTED": 1, + "HUNTING_OFFER_STATE_UNSTARTED": 2, + "HUNTING_OFFER_STATE_SUCC": 3, + } +) + +func (x HuntingOfferState) Enum() *HuntingOfferState { + p := new(HuntingOfferState) + *p = x + return p +} + +func (x HuntingOfferState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HuntingOfferState) Descriptor() protoreflect.EnumDescriptor { + return file_HuntingOfferState_proto_enumTypes[0].Descriptor() +} + +func (HuntingOfferState) Type() protoreflect.EnumType { + return &file_HuntingOfferState_proto_enumTypes[0] +} + +func (x HuntingOfferState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HuntingOfferState.Descriptor instead. +func (HuntingOfferState) EnumDescriptor() ([]byte, []int) { + return file_HuntingOfferState_proto_rawDescGZIP(), []int{0} +} + +var File_HuntingOfferState_proto protoreflect.FileDescriptor + +var file_HuntingOfferState_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x93, 0x01, 0x0a, 0x11, 0x48, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x1c, 0x0a, 0x18, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, + 0x1b, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x21, + 0x0a, 0x1d, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x46, 0x46, + 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x10, 0x03, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingOfferState_proto_rawDescOnce sync.Once + file_HuntingOfferState_proto_rawDescData = file_HuntingOfferState_proto_rawDesc +) + +func file_HuntingOfferState_proto_rawDescGZIP() []byte { + file_HuntingOfferState_proto_rawDescOnce.Do(func() { + file_HuntingOfferState_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingOfferState_proto_rawDescData) + }) + return file_HuntingOfferState_proto_rawDescData +} + +var file_HuntingOfferState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_HuntingOfferState_proto_goTypes = []interface{}{ + (HuntingOfferState)(0), // 0: HuntingOfferState +} +var file_HuntingOfferState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HuntingOfferState_proto_init() } +func file_HuntingOfferState_proto_init() { + if File_HuntingOfferState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingOfferState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingOfferState_proto_goTypes, + DependencyIndexes: file_HuntingOfferState_proto_depIdxs, + EnumInfos: file_HuntingOfferState_proto_enumTypes, + }.Build() + File_HuntingOfferState_proto = out.File + file_HuntingOfferState_proto_rawDesc = nil + file_HuntingOfferState_proto_goTypes = nil + file_HuntingOfferState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingOfferState.proto b/gate-hk4e-api/proto/HuntingOfferState.proto new file mode 100644 index 00000000..cc6dc973 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOfferState.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum HuntingOfferState { + HUNTING_OFFER_STATE_NONE = 0; + HUNTING_OFFER_STATE_STARTED = 1; + HUNTING_OFFER_STATE_UNSTARTED = 2; + HUNTING_OFFER_STATE_SUCC = 3; +} diff --git a/gate-hk4e-api/proto/HuntingOngoingNotify.pb.go b/gate-hk4e-api/proto/HuntingOngoingNotify.pb.go new file mode 100644 index 00000000..2eb3415b --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOngoingNotify.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingOngoingNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4345 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingOngoingNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,15,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + IsStarted bool `protobuf:"varint,8,opt,name=is_started,json=isStarted,proto3" json:"is_started,omitempty"` + NextPosition *Vector `protobuf:"bytes,3,opt,name=next_position,json=nextPosition,proto3" json:"next_position,omitempty"` + FinishClueCount uint32 `protobuf:"varint,10,opt,name=finish_clue_count,json=finishClueCount,proto3" json:"finish_clue_count,omitempty"` + IsFinal bool `protobuf:"varint,14,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` + FailTime uint32 `protobuf:"varint,7,opt,name=fail_time,json=failTime,proto3" json:"fail_time,omitempty"` +} + +func (x *HuntingOngoingNotify) Reset() { + *x = HuntingOngoingNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingOngoingNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingOngoingNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingOngoingNotify) ProtoMessage() {} + +func (x *HuntingOngoingNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingOngoingNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingOngoingNotify.ProtoReflect.Descriptor instead. +func (*HuntingOngoingNotify) Descriptor() ([]byte, []int) { + return file_HuntingOngoingNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingOngoingNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *HuntingOngoingNotify) GetIsStarted() bool { + if x != nil { + return x.IsStarted + } + return false +} + +func (x *HuntingOngoingNotify) GetNextPosition() *Vector { + if x != nil { + return x.NextPosition + } + return nil +} + +func (x *HuntingOngoingNotify) GetFinishClueCount() uint32 { + if x != nil { + return x.FinishClueCount + } + return 0 +} + +func (x *HuntingOngoingNotify) GetIsFinal() bool { + if x != nil { + return x.IsFinal + } + return false +} + +func (x *HuntingOngoingNotify) GetFailTime() uint32 { + if x != nil { + return x.FailTime + } + return 0 +} + +var File_HuntingOngoingNotify_proto protoreflect.FileDescriptor + +var file_HuntingOngoingNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x01, + 0x0a, 0x14, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x63, + 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, + 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x66, 0x61, 0x69, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingOngoingNotify_proto_rawDescOnce sync.Once + file_HuntingOngoingNotify_proto_rawDescData = file_HuntingOngoingNotify_proto_rawDesc +) + +func file_HuntingOngoingNotify_proto_rawDescGZIP() []byte { + file_HuntingOngoingNotify_proto_rawDescOnce.Do(func() { + file_HuntingOngoingNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingOngoingNotify_proto_rawDescData) + }) + return file_HuntingOngoingNotify_proto_rawDescData +} + +var file_HuntingOngoingNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingOngoingNotify_proto_goTypes = []interface{}{ + (*HuntingOngoingNotify)(nil), // 0: HuntingOngoingNotify + (*HuntingPair)(nil), // 1: HuntingPair + (*Vector)(nil), // 2: Vector +} +var file_HuntingOngoingNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingOngoingNotify.hunting_pair:type_name -> HuntingPair + 2, // 1: HuntingOngoingNotify.next_position:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HuntingOngoingNotify_proto_init() } +func file_HuntingOngoingNotify_proto_init() { + if File_HuntingOngoingNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingOngoingNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingOngoingNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingOngoingNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingOngoingNotify_proto_goTypes, + DependencyIndexes: file_HuntingOngoingNotify_proto_depIdxs, + MessageInfos: file_HuntingOngoingNotify_proto_msgTypes, + }.Build() + File_HuntingOngoingNotify_proto = out.File + file_HuntingOngoingNotify_proto_rawDesc = nil + file_HuntingOngoingNotify_proto_goTypes = nil + file_HuntingOngoingNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingOngoingNotify.proto b/gate-hk4e-api/proto/HuntingOngoingNotify.proto new file mode 100644 index 00000000..e781a867 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingOngoingNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4345 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingOngoingNotify { + HuntingPair hunting_pair = 15; + bool is_started = 8; + Vector next_position = 3; + uint32 finish_clue_count = 10; + bool is_final = 14; + uint32 fail_time = 7; +} diff --git a/gate-hk4e-api/proto/HuntingPair.pb.go b/gate-hk4e-api/proto/HuntingPair.pb.go new file mode 100644 index 00000000..9ffec7d5 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingPair.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type HuntingPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefreshId uint32 `protobuf:"varint,9,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` + MonsterConfigId uint32 `protobuf:"varint,4,opt,name=monster_config_id,json=monsterConfigId,proto3" json:"monster_config_id,omitempty"` +} + +func (x *HuntingPair) Reset() { + *x = HuntingPair{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingPair) ProtoMessage() {} + +func (x *HuntingPair) ProtoReflect() protoreflect.Message { + mi := &file_HuntingPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingPair.ProtoReflect.Descriptor instead. +func (*HuntingPair) Descriptor() ([]byte, []int) { + return file_HuntingPair_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingPair) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +func (x *HuntingPair) GetMonsterConfigId() uint32 { + if x != nil { + return x.MonsterConfigId + } + return 0 +} + +var File_HuntingPair_proto protoreflect.FileDescriptor + +var file_HuntingPair_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x0b, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, + 0x69, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, + 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_HuntingPair_proto_rawDescOnce sync.Once + file_HuntingPair_proto_rawDescData = file_HuntingPair_proto_rawDesc +) + +func file_HuntingPair_proto_rawDescGZIP() []byte { + file_HuntingPair_proto_rawDescOnce.Do(func() { + file_HuntingPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingPair_proto_rawDescData) + }) + return file_HuntingPair_proto_rawDescData +} + +var file_HuntingPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingPair_proto_goTypes = []interface{}{ + (*HuntingPair)(nil), // 0: HuntingPair +} +var file_HuntingPair_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_HuntingPair_proto_init() } +func file_HuntingPair_proto_init() { + if File_HuntingPair_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_HuntingPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingPair_proto_goTypes, + DependencyIndexes: file_HuntingPair_proto_depIdxs, + MessageInfos: file_HuntingPair_proto_msgTypes, + }.Build() + File_HuntingPair_proto = out.File + file_HuntingPair_proto_rawDesc = nil + file_HuntingPair_proto_goTypes = nil + file_HuntingPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingPair.proto b/gate-hk4e-api/proto/HuntingPair.proto new file mode 100644 index 00000000..35da7c84 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingPair.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message HuntingPair { + uint32 refresh_id = 9; + uint32 monster_config_id = 4; +} diff --git a/gate-hk4e-api/proto/HuntingRevealClueNotify.pb.go b/gate-hk4e-api/proto/HuntingRevealClueNotify.pb.go new file mode 100644 index 00000000..5dc6ab76 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingRevealClueNotify.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingRevealClueNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4322 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingRevealClueNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishClueCount uint32 `protobuf:"varint,5,opt,name=finish_clue_count,json=finishClueCount,proto3" json:"finish_clue_count,omitempty"` + CluePosition *Vector `protobuf:"bytes,4,opt,name=clue_position,json=cluePosition,proto3" json:"clue_position,omitempty"` + HuntingPair *HuntingPair `protobuf:"bytes,12,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + FinishedGroupId uint32 `protobuf:"varint,7,opt,name=finished_group_id,json=finishedGroupId,proto3" json:"finished_group_id,omitempty"` +} + +func (x *HuntingRevealClueNotify) Reset() { + *x = HuntingRevealClueNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingRevealClueNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingRevealClueNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingRevealClueNotify) ProtoMessage() {} + +func (x *HuntingRevealClueNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingRevealClueNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingRevealClueNotify.ProtoReflect.Descriptor instead. +func (*HuntingRevealClueNotify) Descriptor() ([]byte, []int) { + return file_HuntingRevealClueNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingRevealClueNotify) GetFinishClueCount() uint32 { + if x != nil { + return x.FinishClueCount + } + return 0 +} + +func (x *HuntingRevealClueNotify) GetCluePosition() *Vector { + if x != nil { + return x.CluePosition + } + return nil +} + +func (x *HuntingRevealClueNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *HuntingRevealClueNotify) GetFinishedGroupId() uint32 { + if x != nil { + return x.FinishedGroupId + } + return 0 +} + +var File_HuntingRevealClueNotify_proto protoreflect.FileDescriptor + +var file_HuntingRevealClueNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x43, + 0x6c, 0x75, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xd0, 0x01, 0x0a, 0x17, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x76, 0x65, + 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x63, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, + 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x65, + 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x65, 0x50, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, + 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingRevealClueNotify_proto_rawDescOnce sync.Once + file_HuntingRevealClueNotify_proto_rawDescData = file_HuntingRevealClueNotify_proto_rawDesc +) + +func file_HuntingRevealClueNotify_proto_rawDescGZIP() []byte { + file_HuntingRevealClueNotify_proto_rawDescOnce.Do(func() { + file_HuntingRevealClueNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingRevealClueNotify_proto_rawDescData) + }) + return file_HuntingRevealClueNotify_proto_rawDescData +} + +var file_HuntingRevealClueNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingRevealClueNotify_proto_goTypes = []interface{}{ + (*HuntingRevealClueNotify)(nil), // 0: HuntingRevealClueNotify + (*Vector)(nil), // 1: Vector + (*HuntingPair)(nil), // 2: HuntingPair +} +var file_HuntingRevealClueNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingRevealClueNotify.clue_position:type_name -> Vector + 2, // 1: HuntingRevealClueNotify.hunting_pair:type_name -> HuntingPair + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HuntingRevealClueNotify_proto_init() } +func file_HuntingRevealClueNotify_proto_init() { + if File_HuntingRevealClueNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingRevealClueNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingRevealClueNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingRevealClueNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingRevealClueNotify_proto_goTypes, + DependencyIndexes: file_HuntingRevealClueNotify_proto_depIdxs, + MessageInfos: file_HuntingRevealClueNotify_proto_msgTypes, + }.Build() + File_HuntingRevealClueNotify_proto = out.File + file_HuntingRevealClueNotify_proto_rawDesc = nil + file_HuntingRevealClueNotify_proto_goTypes = nil + file_HuntingRevealClueNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingRevealClueNotify.proto b/gate-hk4e-api/proto/HuntingRevealClueNotify.proto new file mode 100644 index 00000000..cb6e757b --- /dev/null +++ b/gate-hk4e-api/proto/HuntingRevealClueNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4322 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingRevealClueNotify { + uint32 finish_clue_count = 5; + Vector clue_position = 4; + HuntingPair hunting_pair = 12; + uint32 finished_group_id = 7; +} diff --git a/gate-hk4e-api/proto/HuntingRevealFinalNotify.pb.go b/gate-hk4e-api/proto/HuntingRevealFinalNotify.pb.go new file mode 100644 index 00000000..78c09c7a --- /dev/null +++ b/gate-hk4e-api/proto/HuntingRevealFinalNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingRevealFinalNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4344 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingRevealFinalNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishedGroupId uint32 `protobuf:"varint,5,opt,name=finished_group_id,json=finishedGroupId,proto3" json:"finished_group_id,omitempty"` + HuntingPair *HuntingPair `protobuf:"bytes,11,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + FinalPosition *Vector `protobuf:"bytes,2,opt,name=final_position,json=finalPosition,proto3" json:"final_position,omitempty"` +} + +func (x *HuntingRevealFinalNotify) Reset() { + *x = HuntingRevealFinalNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingRevealFinalNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingRevealFinalNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingRevealFinalNotify) ProtoMessage() {} + +func (x *HuntingRevealFinalNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingRevealFinalNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingRevealFinalNotify.ProtoReflect.Descriptor instead. +func (*HuntingRevealFinalNotify) Descriptor() ([]byte, []int) { + return file_HuntingRevealFinalNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingRevealFinalNotify) GetFinishedGroupId() uint32 { + if x != nil { + return x.FinishedGroupId + } + return 0 +} + +func (x *HuntingRevealFinalNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *HuntingRevealFinalNotify) GetFinalPosition() *Vector { + if x != nil { + return x.FinalPosition + } + return nil +} + +var File_HuntingRevealFinalNotify_proto protoreflect.FileDescriptor + +var file_HuntingRevealFinalNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x46, + 0x69, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x18, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x76, + 0x65, 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, + 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, + 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x2e, 0x0a, 0x0e, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x66, 0x69, + 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingRevealFinalNotify_proto_rawDescOnce sync.Once + file_HuntingRevealFinalNotify_proto_rawDescData = file_HuntingRevealFinalNotify_proto_rawDesc +) + +func file_HuntingRevealFinalNotify_proto_rawDescGZIP() []byte { + file_HuntingRevealFinalNotify_proto_rawDescOnce.Do(func() { + file_HuntingRevealFinalNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingRevealFinalNotify_proto_rawDescData) + }) + return file_HuntingRevealFinalNotify_proto_rawDescData +} + +var file_HuntingRevealFinalNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingRevealFinalNotify_proto_goTypes = []interface{}{ + (*HuntingRevealFinalNotify)(nil), // 0: HuntingRevealFinalNotify + (*HuntingPair)(nil), // 1: HuntingPair + (*Vector)(nil), // 2: Vector +} +var file_HuntingRevealFinalNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingRevealFinalNotify.hunting_pair:type_name -> HuntingPair + 2, // 1: HuntingRevealFinalNotify.final_position:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HuntingRevealFinalNotify_proto_init() } +func file_HuntingRevealFinalNotify_proto_init() { + if File_HuntingRevealFinalNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingRevealFinalNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingRevealFinalNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingRevealFinalNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingRevealFinalNotify_proto_goTypes, + DependencyIndexes: file_HuntingRevealFinalNotify_proto_depIdxs, + MessageInfos: file_HuntingRevealFinalNotify_proto_msgTypes, + }.Build() + File_HuntingRevealFinalNotify_proto = out.File + file_HuntingRevealFinalNotify_proto_rawDesc = nil + file_HuntingRevealFinalNotify_proto_goTypes = nil + file_HuntingRevealFinalNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingRevealFinalNotify.proto b/gate-hk4e-api/proto/HuntingRevealFinalNotify.proto new file mode 100644 index 00000000..cd1c1234 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingRevealFinalNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4344 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingRevealFinalNotify { + uint32 finished_group_id = 5; + HuntingPair hunting_pair = 11; + Vector final_position = 2; +} diff --git a/gate-hk4e-api/proto/HuntingStartNotify.pb.go b/gate-hk4e-api/proto/HuntingStartNotify.pb.go new file mode 100644 index 00000000..fc57c2cf --- /dev/null +++ b/gate-hk4e-api/proto/HuntingStartNotify.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4329 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CluePosition *Vector `protobuf:"bytes,4,opt,name=clue_position,json=cluePosition,proto3" json:"clue_position,omitempty"` + FailTime uint32 `protobuf:"varint,15,opt,name=fail_time,json=failTime,proto3" json:"fail_time,omitempty"` + HuntingPair *HuntingPair `protobuf:"bytes,3,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + IsFinal bool `protobuf:"varint,8,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` +} + +func (x *HuntingStartNotify) Reset() { + *x = HuntingStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingStartNotify) ProtoMessage() {} + +func (x *HuntingStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingStartNotify.ProtoReflect.Descriptor instead. +func (*HuntingStartNotify) Descriptor() ([]byte, []int) { + return file_HuntingStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingStartNotify) GetCluePosition() *Vector { + if x != nil { + return x.CluePosition + } + return nil +} + +func (x *HuntingStartNotify) GetFailTime() uint32 { + if x != nil { + return x.FailTime + } + return 0 +} + +func (x *HuntingStartNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *HuntingStartNotify) GetIsFinal() bool { + if x != nil { + return x.IsFinal + } + return false +} + +var File_HuntingStartNotify_proto protoreflect.FileDescriptor + +var file_HuntingStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, 0x74, + 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x01, 0x0a, 0x12, + 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, + 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, + 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingStartNotify_proto_rawDescOnce sync.Once + file_HuntingStartNotify_proto_rawDescData = file_HuntingStartNotify_proto_rawDesc +) + +func file_HuntingStartNotify_proto_rawDescGZIP() []byte { + file_HuntingStartNotify_proto_rawDescOnce.Do(func() { + file_HuntingStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingStartNotify_proto_rawDescData) + }) + return file_HuntingStartNotify_proto_rawDescData +} + +var file_HuntingStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingStartNotify_proto_goTypes = []interface{}{ + (*HuntingStartNotify)(nil), // 0: HuntingStartNotify + (*Vector)(nil), // 1: Vector + (*HuntingPair)(nil), // 2: HuntingPair +} +var file_HuntingStartNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingStartNotify.clue_position:type_name -> Vector + 2, // 1: HuntingStartNotify.hunting_pair:type_name -> HuntingPair + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_HuntingStartNotify_proto_init() } +func file_HuntingStartNotify_proto_init() { + if File_HuntingStartNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingStartNotify_proto_goTypes, + DependencyIndexes: file_HuntingStartNotify_proto_depIdxs, + MessageInfos: file_HuntingStartNotify_proto_msgTypes, + }.Build() + File_HuntingStartNotify_proto = out.File + file_HuntingStartNotify_proto_rawDesc = nil + file_HuntingStartNotify_proto_goTypes = nil + file_HuntingStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingStartNotify.proto b/gate-hk4e-api/proto/HuntingStartNotify.proto new file mode 100644 index 00000000..3fc15ebf --- /dev/null +++ b/gate-hk4e-api/proto/HuntingStartNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4329 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingStartNotify { + Vector clue_position = 4; + uint32 fail_time = 15; + HuntingPair hunting_pair = 3; + bool is_final = 8; +} diff --git a/gate-hk4e-api/proto/HuntingSuccessNotify.pb.go b/gate-hk4e-api/proto/HuntingSuccessNotify.pb.go new file mode 100644 index 00000000..f63826e2 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingSuccessNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: HuntingSuccessNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4349 +// EnetChannelId: 0 +// EnetIsReliable: true +type HuntingSuccessNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,4,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` +} + +func (x *HuntingSuccessNotify) Reset() { + *x = HuntingSuccessNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_HuntingSuccessNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HuntingSuccessNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HuntingSuccessNotify) ProtoMessage() {} + +func (x *HuntingSuccessNotify) ProtoReflect() protoreflect.Message { + mi := &file_HuntingSuccessNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HuntingSuccessNotify.ProtoReflect.Descriptor instead. +func (*HuntingSuccessNotify) Descriptor() ([]byte, []int) { + return file_HuntingSuccessNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *HuntingSuccessNotify) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +var File_HuntingSuccessNotify_proto protoreflect.FileDescriptor + +var file_HuntingSuccessNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x47, 0x0a, 0x14, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_HuntingSuccessNotify_proto_rawDescOnce sync.Once + file_HuntingSuccessNotify_proto_rawDescData = file_HuntingSuccessNotify_proto_rawDesc +) + +func file_HuntingSuccessNotify_proto_rawDescGZIP() []byte { + file_HuntingSuccessNotify_proto_rawDescOnce.Do(func() { + file_HuntingSuccessNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_HuntingSuccessNotify_proto_rawDescData) + }) + return file_HuntingSuccessNotify_proto_rawDescData +} + +var file_HuntingSuccessNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_HuntingSuccessNotify_proto_goTypes = []interface{}{ + (*HuntingSuccessNotify)(nil), // 0: HuntingSuccessNotify + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_HuntingSuccessNotify_proto_depIdxs = []int32{ + 1, // 0: HuntingSuccessNotify.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_HuntingSuccessNotify_proto_init() } +func file_HuntingSuccessNotify_proto_init() { + if File_HuntingSuccessNotify_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_HuntingSuccessNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HuntingSuccessNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_HuntingSuccessNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_HuntingSuccessNotify_proto_goTypes, + DependencyIndexes: file_HuntingSuccessNotify_proto_depIdxs, + MessageInfos: file_HuntingSuccessNotify_proto_msgTypes, + }.Build() + File_HuntingSuccessNotify_proto = out.File + file_HuntingSuccessNotify_proto_rawDesc = nil + file_HuntingSuccessNotify_proto_goTypes = nil + file_HuntingSuccessNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/HuntingSuccessNotify.proto b/gate-hk4e-api/proto/HuntingSuccessNotify.proto new file mode 100644 index 00000000..b8323091 --- /dev/null +++ b/gate-hk4e-api/proto/HuntingSuccessNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4349 +// EnetChannelId: 0 +// EnetIsReliable: true +message HuntingSuccessNotify { + HuntingPair hunting_pair = 4; +} diff --git a/gate-hk4e-api/proto/InBattleChessInfo.pb.go b/gate-hk4e-api/proto/InBattleChessInfo.pb.go new file mode 100644 index 00000000..bf522e8b --- /dev/null +++ b/gate-hk4e-api/proto/InBattleChessInfo.pb.go @@ -0,0 +1,268 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleChessInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleChessInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BanCardTagList []uint32 `protobuf:"varint,2,rep,packed,name=ban_card_tag_list,json=banCardTagList,proto3" json:"ban_card_tag_list,omitempty"` + Round uint32 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` + SelectedCardInfoList []*ChessCardInfo `protobuf:"bytes,9,rep,name=selected_card_info_list,json=selectedCardInfoList,proto3" json:"selected_card_info_list,omitempty"` + MysteryInfo *ChessMysteryInfo `protobuf:"bytes,1,opt,name=mystery_info,json=mysteryInfo,proto3" json:"mystery_info,omitempty"` + PlayerInfoMap map[uint32]*ChessPlayerInfo `protobuf:"bytes,8,rep,name=player_info_map,json=playerInfoMap,proto3" json:"player_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MaxEscapableMonsters uint32 `protobuf:"varint,6,opt,name=max_escapable_monsters,json=maxEscapableMonsters,proto3" json:"max_escapable_monsters,omitempty"` + EscapedMonsters uint32 `protobuf:"varint,12,opt,name=escaped_monsters,json=escapedMonsters,proto3" json:"escaped_monsters,omitempty"` + TotalRound uint32 `protobuf:"varint,14,opt,name=total_round,json=totalRound,proto3" json:"total_round,omitempty"` + LeftMonsters uint32 `protobuf:"varint,15,opt,name=left_monsters,json=leftMonsters,proto3" json:"left_monsters,omitempty"` +} + +func (x *InBattleChessInfo) Reset() { + *x = InBattleChessInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleChessInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleChessInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleChessInfo) ProtoMessage() {} + +func (x *InBattleChessInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleChessInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleChessInfo.ProtoReflect.Descriptor instead. +func (*InBattleChessInfo) Descriptor() ([]byte, []int) { + return file_InBattleChessInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleChessInfo) GetBanCardTagList() []uint32 { + if x != nil { + return x.BanCardTagList + } + return nil +} + +func (x *InBattleChessInfo) GetRound() uint32 { + if x != nil { + return x.Round + } + return 0 +} + +func (x *InBattleChessInfo) GetSelectedCardInfoList() []*ChessCardInfo { + if x != nil { + return x.SelectedCardInfoList + } + return nil +} + +func (x *InBattleChessInfo) GetMysteryInfo() *ChessMysteryInfo { + if x != nil { + return x.MysteryInfo + } + return nil +} + +func (x *InBattleChessInfo) GetPlayerInfoMap() map[uint32]*ChessPlayerInfo { + if x != nil { + return x.PlayerInfoMap + } + return nil +} + +func (x *InBattleChessInfo) GetMaxEscapableMonsters() uint32 { + if x != nil { + return x.MaxEscapableMonsters + } + return 0 +} + +func (x *InBattleChessInfo) GetEscapedMonsters() uint32 { + if x != nil { + return x.EscapedMonsters + } + return 0 +} + +func (x *InBattleChessInfo) GetTotalRound() uint32 { + if x != nil { + return x.TotalRound + } + return 0 +} + +func (x *InBattleChessInfo) GetLeftMonsters() uint32 { + if x != nil { + return x.LeftMonsters + } + return 0 +} + +var File_InBattleChessInfo_proto protoreflect.FileDescriptor + +var file_InBattleChessInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x04, + 0x0a, 0x11, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x11, 0x62, 0x61, 0x6e, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, + 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, + 0x62, 0x61, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, + 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, + 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x45, 0x0a, 0x17, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x43, 0x61, 0x72, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, + 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0c, 0x6d, + 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x4d, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x49, 0x6e, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, + 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x73, 0x63, 0x61, 0x70, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x14, 0x6d, 0x61, 0x78, 0x45, 0x73, 0x63, 0x61, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, + 0x64, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x75, + 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x52, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x43, 0x68, 0x65, 0x73, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleChessInfo_proto_rawDescOnce sync.Once + file_InBattleChessInfo_proto_rawDescData = file_InBattleChessInfo_proto_rawDesc +) + +func file_InBattleChessInfo_proto_rawDescGZIP() []byte { + file_InBattleChessInfo_proto_rawDescOnce.Do(func() { + file_InBattleChessInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleChessInfo_proto_rawDescData) + }) + return file_InBattleChessInfo_proto_rawDescData +} + +var file_InBattleChessInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_InBattleChessInfo_proto_goTypes = []interface{}{ + (*InBattleChessInfo)(nil), // 0: InBattleChessInfo + nil, // 1: InBattleChessInfo.PlayerInfoMapEntry + (*ChessCardInfo)(nil), // 2: ChessCardInfo + (*ChessMysteryInfo)(nil), // 3: ChessMysteryInfo + (*ChessPlayerInfo)(nil), // 4: ChessPlayerInfo +} +var file_InBattleChessInfo_proto_depIdxs = []int32{ + 2, // 0: InBattleChessInfo.selected_card_info_list:type_name -> ChessCardInfo + 3, // 1: InBattleChessInfo.mystery_info:type_name -> ChessMysteryInfo + 1, // 2: InBattleChessInfo.player_info_map:type_name -> InBattleChessInfo.PlayerInfoMapEntry + 4, // 3: InBattleChessInfo.PlayerInfoMapEntry.value:type_name -> ChessPlayerInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_InBattleChessInfo_proto_init() } +func file_InBattleChessInfo_proto_init() { + if File_InBattleChessInfo_proto != nil { + return + } + file_ChessCardInfo_proto_init() + file_ChessMysteryInfo_proto_init() + file_ChessPlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleChessInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleChessInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleChessInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleChessInfo_proto_goTypes, + DependencyIndexes: file_InBattleChessInfo_proto_depIdxs, + MessageInfos: file_InBattleChessInfo_proto_msgTypes, + }.Build() + File_InBattleChessInfo_proto = out.File + file_InBattleChessInfo_proto_rawDesc = nil + file_InBattleChessInfo_proto_goTypes = nil + file_InBattleChessInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleChessInfo.proto b/gate-hk4e-api/proto/InBattleChessInfo.proto new file mode 100644 index 00000000..c90f0743 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleChessInfo.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChessCardInfo.proto"; +import "ChessMysteryInfo.proto"; +import "ChessPlayerInfo.proto"; + +option go_package = "./;proto"; + +message InBattleChessInfo { + repeated uint32 ban_card_tag_list = 2; + uint32 round = 4; + repeated ChessCardInfo selected_card_info_list = 9; + ChessMysteryInfo mystery_info = 1; + map player_info_map = 8; + uint32 max_escapable_monsters = 6; + uint32 escaped_monsters = 12; + uint32 total_round = 14; + uint32 left_monsters = 15; +} diff --git a/gate-hk4e-api/proto/InBattleChessSettleInfo.pb.go b/gate-hk4e-api/proto/InBattleChessSettleInfo.pb.go new file mode 100644 index 00000000..98f48f52 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleChessSettleInfo.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleChessSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleChessSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,7,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChessExp uint32 `protobuf:"varint,11,opt,name=chess_exp,json=chessExp,proto3" json:"chess_exp,omitempty"` + ChessLevel uint32 `protobuf:"varint,13,opt,name=chess_level,json=chessLevel,proto3" json:"chess_level,omitempty"` + OldChessLevel uint32 `protobuf:"varint,10,opt,name=old_chess_level,json=oldChessLevel,proto3" json:"old_chess_level,omitempty"` + ScoreList []*ExhibitionDisplayInfo `protobuf:"bytes,1,rep,name=score_list,json=scoreList,proto3" json:"score_list,omitempty"` + SceneTimeMs uint64 `protobuf:"varint,14,opt,name=scene_time_ms,json=sceneTimeMs,proto3" json:"scene_time_ms,omitempty"` + OldChessExp uint32 `protobuf:"varint,2,opt,name=old_chess_exp,json=oldChessExp,proto3" json:"old_chess_exp,omitempty"` +} + +func (x *InBattleChessSettleInfo) Reset() { + *x = InBattleChessSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleChessSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleChessSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleChessSettleInfo) ProtoMessage() {} + +func (x *InBattleChessSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleChessSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleChessSettleInfo.ProtoReflect.Descriptor instead. +func (*InBattleChessSettleInfo) Descriptor() ([]byte, []int) { + return file_InBattleChessSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleChessSettleInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *InBattleChessSettleInfo) GetChessExp() uint32 { + if x != nil { + return x.ChessExp + } + return 0 +} + +func (x *InBattleChessSettleInfo) GetChessLevel() uint32 { + if x != nil { + return x.ChessLevel + } + return 0 +} + +func (x *InBattleChessSettleInfo) GetOldChessLevel() uint32 { + if x != nil { + return x.OldChessLevel + } + return 0 +} + +func (x *InBattleChessSettleInfo) GetScoreList() []*ExhibitionDisplayInfo { + if x != nil { + return x.ScoreList + } + return nil +} + +func (x *InBattleChessSettleInfo) GetSceneTimeMs() uint64 { + if x != nil { + return x.SceneTimeMs + } + return 0 +} + +func (x *InBattleChessSettleInfo) GetOldChessExp() uint32 { + if x != nil { + return x.OldChessExp + } + return 0 +} + +var File_InBattleChessSettleInfo_proto protoreflect.FileDescriptor + +var file_InBattleChessSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x02, 0x0a, + 0x17, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x65, 0x73, 0x73, + 0x5f, 0x65, 0x78, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x68, 0x65, 0x73, + 0x73, 0x45, 0x78, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x68, 0x65, 0x73, 0x73, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x6c, 0x64, 0x5f, 0x63, 0x68, 0x65, + 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x6f, 0x6c, 0x64, 0x43, 0x68, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x35, 0x0a, + 0x0a, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x63, 0x65, + 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6f, 0x6c, 0x64, 0x5f, + 0x63, 0x68, 0x65, 0x73, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x6f, 0x6c, 0x64, 0x43, 0x68, 0x65, 0x73, 0x73, 0x45, 0x78, 0x70, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleChessSettleInfo_proto_rawDescOnce sync.Once + file_InBattleChessSettleInfo_proto_rawDescData = file_InBattleChessSettleInfo_proto_rawDesc +) + +func file_InBattleChessSettleInfo_proto_rawDescGZIP() []byte { + file_InBattleChessSettleInfo_proto_rawDescOnce.Do(func() { + file_InBattleChessSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleChessSettleInfo_proto_rawDescData) + }) + return file_InBattleChessSettleInfo_proto_rawDescData +} + +var file_InBattleChessSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleChessSettleInfo_proto_goTypes = []interface{}{ + (*InBattleChessSettleInfo)(nil), // 0: InBattleChessSettleInfo + (*ExhibitionDisplayInfo)(nil), // 1: ExhibitionDisplayInfo +} +var file_InBattleChessSettleInfo_proto_depIdxs = []int32{ + 1, // 0: InBattleChessSettleInfo.score_list:type_name -> ExhibitionDisplayInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleChessSettleInfo_proto_init() } +func file_InBattleChessSettleInfo_proto_init() { + if File_InBattleChessSettleInfo_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleChessSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleChessSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleChessSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleChessSettleInfo_proto_goTypes, + DependencyIndexes: file_InBattleChessSettleInfo_proto_depIdxs, + MessageInfos: file_InBattleChessSettleInfo_proto_msgTypes, + }.Build() + File_InBattleChessSettleInfo_proto = out.File + file_InBattleChessSettleInfo_proto_rawDesc = nil + file_InBattleChessSettleInfo_proto_goTypes = nil + file_InBattleChessSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleChessSettleInfo.proto b/gate-hk4e-api/proto/InBattleChessSettleInfo.proto new file mode 100644 index 00000000..a337589e --- /dev/null +++ b/gate-hk4e-api/proto/InBattleChessSettleInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; + +option go_package = "./;proto"; + +message InBattleChessSettleInfo { + bool is_success = 7; + uint32 chess_exp = 11; + uint32 chess_level = 13; + uint32 old_chess_level = 10; + repeated ExhibitionDisplayInfo score_list = 1; + uint64 scene_time_ms = 14; + uint32 old_chess_exp = 2; +} diff --git a/gate-hk4e-api/proto/InBattleFleurFairInfo.pb.go b/gate-hk4e-api/proto/InBattleFleurFairInfo.pb.go new file mode 100644 index 00000000..aa0677b2 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleFleurFairInfo.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleFleurFairInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleFleurFairInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryIdList []uint32 `protobuf:"varint,5,rep,packed,name=gallery_id_list,json=galleryIdList,proto3" json:"gallery_id_list,omitempty"` + GalleryStageIndex uint32 `protobuf:"varint,6,opt,name=gallery_stage_index,json=galleryStageIndex,proto3" json:"gallery_stage_index,omitempty"` + PreviewStageIndex uint32 `protobuf:"varint,8,opt,name=preview_stage_index,json=previewStageIndex,proto3" json:"preview_stage_index,omitempty"` + AbilityGroupIdList []uint32 `protobuf:"varint,2,rep,packed,name=ability_group_id_list,json=abilityGroupIdList,proto3" json:"ability_group_id_list,omitempty"` + PreviewDisplayDuration uint32 `protobuf:"varint,12,opt,name=preview_display_duration,json=previewDisplayDuration,proto3" json:"preview_display_duration,omitempty"` +} + +func (x *InBattleFleurFairInfo) Reset() { + *x = InBattleFleurFairInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleFleurFairInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleFleurFairInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleFleurFairInfo) ProtoMessage() {} + +func (x *InBattleFleurFairInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleFleurFairInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleFleurFairInfo.ProtoReflect.Descriptor instead. +func (*InBattleFleurFairInfo) Descriptor() ([]byte, []int) { + return file_InBattleFleurFairInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleFleurFairInfo) GetGalleryIdList() []uint32 { + if x != nil { + return x.GalleryIdList + } + return nil +} + +func (x *InBattleFleurFairInfo) GetGalleryStageIndex() uint32 { + if x != nil { + return x.GalleryStageIndex + } + return 0 +} + +func (x *InBattleFleurFairInfo) GetPreviewStageIndex() uint32 { + if x != nil { + return x.PreviewStageIndex + } + return 0 +} + +func (x *InBattleFleurFairInfo) GetAbilityGroupIdList() []uint32 { + if x != nil { + return x.AbilityGroupIdList + } + return nil +} + +func (x *InBattleFleurFairInfo) GetPreviewDisplayDuration() uint32 { + if x != nil { + return x.PreviewDisplayDuration + } + return 0 +} + +var File_InBattleFleurFairInfo_proto protoreflect.FileDescriptor + +var file_InBattleFleurFairInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, + 0x61, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, + 0x0a, 0x15, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, + 0x61, 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0d, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2e, 0x0a, 0x13, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x67, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x31, 0x0a, 0x15, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x44, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleFleurFairInfo_proto_rawDescOnce sync.Once + file_InBattleFleurFairInfo_proto_rawDescData = file_InBattleFleurFairInfo_proto_rawDesc +) + +func file_InBattleFleurFairInfo_proto_rawDescGZIP() []byte { + file_InBattleFleurFairInfo_proto_rawDescOnce.Do(func() { + file_InBattleFleurFairInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleFleurFairInfo_proto_rawDescData) + }) + return file_InBattleFleurFairInfo_proto_rawDescData +} + +var file_InBattleFleurFairInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleFleurFairInfo_proto_goTypes = []interface{}{ + (*InBattleFleurFairInfo)(nil), // 0: InBattleFleurFairInfo +} +var file_InBattleFleurFairInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleFleurFairInfo_proto_init() } +func file_InBattleFleurFairInfo_proto_init() { + if File_InBattleFleurFairInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleFleurFairInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleFleurFairInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleFleurFairInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleFleurFairInfo_proto_goTypes, + DependencyIndexes: file_InBattleFleurFairInfo_proto_depIdxs, + MessageInfos: file_InBattleFleurFairInfo_proto_msgTypes, + }.Build() + File_InBattleFleurFairInfo_proto = out.File + file_InBattleFleurFairInfo_proto_rawDesc = nil + file_InBattleFleurFairInfo_proto_goTypes = nil + file_InBattleFleurFairInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleFleurFairInfo.proto b/gate-hk4e-api/proto/InBattleFleurFairInfo.proto new file mode 100644 index 00000000..8404fb02 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleFleurFairInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message InBattleFleurFairInfo { + repeated uint32 gallery_id_list = 5; + uint32 gallery_stage_index = 6; + uint32 preview_stage_index = 8; + repeated uint32 ability_group_id_list = 2; + uint32 preview_display_duration = 12; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.pb.go new file mode 100644 index 00000000..89a9874a --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusBuildingInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusBuildingInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuildingId uint32 `protobuf:"varint,8,opt,name=building_id,json=buildingId,proto3" json:"building_id,omitempty"` + Level uint32 `protobuf:"varint,7,opt,name=level,proto3" json:"level,omitempty"` + CostPoints uint32 `protobuf:"varint,2,opt,name=cost_points,json=costPoints,proto3" json:"cost_points,omitempty"` + RefundPoints uint32 `protobuf:"varint,11,opt,name=refund_points,json=refundPoints,proto3" json:"refund_points,omitempty"` +} + +func (x *InBattleMechanicusBuildingInfo) Reset() { + *x = InBattleMechanicusBuildingInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusBuildingInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusBuildingInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusBuildingInfo) ProtoMessage() {} + +func (x *InBattleMechanicusBuildingInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusBuildingInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusBuildingInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusBuildingInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusBuildingInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusBuildingInfo) GetBuildingId() uint32 { + if x != nil { + return x.BuildingId + } + return 0 +} + +func (x *InBattleMechanicusBuildingInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *InBattleMechanicusBuildingInfo) GetCostPoints() uint32 { + if x != nil { + return x.CostPoints + } + return 0 +} + +func (x *InBattleMechanicusBuildingInfo) GetRefundPoints() uint32 { + if x != nil { + return x.RefundPoints + } + return 0 +} + +var File_InBattleMechanicusBuildingInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusBuildingInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x1e, 0x49, 0x6e, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusBuildingInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusBuildingInfo_proto_rawDescData = file_InBattleMechanicusBuildingInfo_proto_rawDesc +) + +func file_InBattleMechanicusBuildingInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusBuildingInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusBuildingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusBuildingInfo_proto_rawDescData) + }) + return file_InBattleMechanicusBuildingInfo_proto_rawDescData +} + +var file_InBattleMechanicusBuildingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusBuildingInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusBuildingInfo)(nil), // 0: InBattleMechanicusBuildingInfo +} +var file_InBattleMechanicusBuildingInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusBuildingInfo_proto_init() } +func file_InBattleMechanicusBuildingInfo_proto_init() { + if File_InBattleMechanicusBuildingInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusBuildingInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusBuildingInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusBuildingInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusBuildingInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusBuildingInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusBuildingInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusBuildingInfo_proto = out.File + file_InBattleMechanicusBuildingInfo_proto_rawDesc = nil + file_InBattleMechanicusBuildingInfo_proto_goTypes = nil + file_InBattleMechanicusBuildingInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.proto new file mode 100644 index 00000000..3679c02b --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusBuildingInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message InBattleMechanicusBuildingInfo { + uint32 building_id = 8; + uint32 level = 7; + uint32 cost_points = 2; + uint32 refund_points = 11; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.pb.go new file mode 100644 index 00000000..859c50db --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusBuildingPointsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5303 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusBuildingPointsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerBuildingPointsMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=player_building_points_map,json=playerBuildingPointsMap,proto3" json:"player_building_points_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *InBattleMechanicusBuildingPointsNotify) Reset() { + *x = InBattleMechanicusBuildingPointsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusBuildingPointsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusBuildingPointsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusBuildingPointsNotify) ProtoMessage() {} + +func (x *InBattleMechanicusBuildingPointsNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusBuildingPointsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusBuildingPointsNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusBuildingPointsNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusBuildingPointsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusBuildingPointsNotify) GetPlayerBuildingPointsMap() map[uint32]uint32 { + if x != nil { + return x.PlayerBuildingPointsMap + } + return nil +} + +var File_InBattleMechanicusBuildingPointsNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusBuildingPointsNotify_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, + 0x01, 0x0a, 0x26, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, + 0x6e, 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x81, 0x01, 0x0a, 0x1a, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, + 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x75, + 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6c, + 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x4d, 0x61, 0x70, 0x1a, 0x4a, 0x0a, + 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusBuildingPointsNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusBuildingPointsNotify_proto_rawDescData = file_InBattleMechanicusBuildingPointsNotify_proto_rawDesc +) + +func file_InBattleMechanicusBuildingPointsNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusBuildingPointsNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusBuildingPointsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusBuildingPointsNotify_proto_rawDescData) + }) + return file_InBattleMechanicusBuildingPointsNotify_proto_rawDescData +} + +var file_InBattleMechanicusBuildingPointsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_InBattleMechanicusBuildingPointsNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusBuildingPointsNotify)(nil), // 0: InBattleMechanicusBuildingPointsNotify + nil, // 1: InBattleMechanicusBuildingPointsNotify.PlayerBuildingPointsMapEntry +} +var file_InBattleMechanicusBuildingPointsNotify_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusBuildingPointsNotify.player_building_points_map:type_name -> InBattleMechanicusBuildingPointsNotify.PlayerBuildingPointsMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusBuildingPointsNotify_proto_init() } +func file_InBattleMechanicusBuildingPointsNotify_proto_init() { + if File_InBattleMechanicusBuildingPointsNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusBuildingPointsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusBuildingPointsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusBuildingPointsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusBuildingPointsNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusBuildingPointsNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusBuildingPointsNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusBuildingPointsNotify_proto = out.File + file_InBattleMechanicusBuildingPointsNotify_proto_rawDesc = nil + file_InBattleMechanicusBuildingPointsNotify_proto_goTypes = nil + file_InBattleMechanicusBuildingPointsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.proto new file mode 100644 index 00000000..6b026e42 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusBuildingPointsNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5303 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusBuildingPointsNotify { + map player_building_points_map = 4; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.pb.go b/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.pb.go new file mode 100644 index 00000000..c9c672ed --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusCardChallengeState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusCardChallengeState int32 + +const ( + InBattleMechanicusCardChallengeState_IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE InBattleMechanicusCardChallengeState = 0 + InBattleMechanicusCardChallengeState_IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_ON_GOING InBattleMechanicusCardChallengeState = 1 + InBattleMechanicusCardChallengeState_IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_FAIL InBattleMechanicusCardChallengeState = 2 + InBattleMechanicusCardChallengeState_IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_SUCCESS InBattleMechanicusCardChallengeState = 3 +) + +// Enum value maps for InBattleMechanicusCardChallengeState. +var ( + InBattleMechanicusCardChallengeState_name = map[int32]string{ + 0: "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE", + 1: "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_ON_GOING", + 2: "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_FAIL", + 3: "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_SUCCESS", + } + InBattleMechanicusCardChallengeState_value = map[string]int32{ + "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE": 0, + "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_ON_GOING": 1, + "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_FAIL": 2, + "IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_SUCCESS": 3, + } +) + +func (x InBattleMechanicusCardChallengeState) Enum() *InBattleMechanicusCardChallengeState { + p := new(InBattleMechanicusCardChallengeState) + *p = x + return p +} + +func (x InBattleMechanicusCardChallengeState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InBattleMechanicusCardChallengeState) Descriptor() protoreflect.EnumDescriptor { + return file_InBattleMechanicusCardChallengeState_proto_enumTypes[0].Descriptor() +} + +func (InBattleMechanicusCardChallengeState) Type() protoreflect.EnumType { + return &file_InBattleMechanicusCardChallengeState_proto_enumTypes[0] +} + +func (x InBattleMechanicusCardChallengeState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InBattleMechanicusCardChallengeState.Descriptor instead. +func (InBattleMechanicusCardChallengeState) EnumDescriptor() ([]byte, []int) { + return file_InBattleMechanicusCardChallengeState_proto_rawDescGZIP(), []int{0} +} + +var File_InBattleMechanicusCardChallengeState_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusCardChallengeState_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xfd, 0x01, 0x0a, + 0x24, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x2e, 0x49, 0x4e, 0x5f, 0x42, 0x41, 0x54, 0x54, + 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x43, 0x41, + 0x52, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x36, 0x0a, 0x32, 0x49, 0x4e, 0x5f, + 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, + 0x53, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x4e, 0x5f, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x32, 0x0a, 0x2e, 0x49, 0x4e, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4d, + 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x43, + 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x35, 0x0a, 0x31, 0x49, 0x4e, 0x5f, 0x42, 0x41, 0x54, 0x54, + 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x43, 0x41, + 0x52, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusCardChallengeState_proto_rawDescOnce sync.Once + file_InBattleMechanicusCardChallengeState_proto_rawDescData = file_InBattleMechanicusCardChallengeState_proto_rawDesc +) + +func file_InBattleMechanicusCardChallengeState_proto_rawDescGZIP() []byte { + file_InBattleMechanicusCardChallengeState_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusCardChallengeState_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusCardChallengeState_proto_rawDescData) + }) + return file_InBattleMechanicusCardChallengeState_proto_rawDescData +} + +var file_InBattleMechanicusCardChallengeState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InBattleMechanicusCardChallengeState_proto_goTypes = []interface{}{ + (InBattleMechanicusCardChallengeState)(0), // 0: InBattleMechanicusCardChallengeState +} +var file_InBattleMechanicusCardChallengeState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusCardChallengeState_proto_init() } +func file_InBattleMechanicusCardChallengeState_proto_init() { + if File_InBattleMechanicusCardChallengeState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusCardChallengeState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusCardChallengeState_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusCardChallengeState_proto_depIdxs, + EnumInfos: file_InBattleMechanicusCardChallengeState_proto_enumTypes, + }.Build() + File_InBattleMechanicusCardChallengeState_proto = out.File + file_InBattleMechanicusCardChallengeState_proto_rawDesc = nil + file_InBattleMechanicusCardChallengeState_proto_goTypes = nil + file_InBattleMechanicusCardChallengeState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.proto b/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.proto new file mode 100644 index 00000000..25d75204 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardChallengeState.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum InBattleMechanicusCardChallengeState { + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE = 0; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_ON_GOING = 1; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_FAIL = 2; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_SUCCESS = 3; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusCardInfo.pb.go new file mode 100644 index 00000000..c5e87eaa --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardInfo.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusCardInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusCardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandEffectId uint32 `protobuf:"varint,12,opt,name=rand_effect_id,json=randEffectId,proto3" json:"rand_effect_id,omitempty"` + EndRound uint32 `protobuf:"varint,3,opt,name=end_round,json=endRound,proto3" json:"end_round,omitempty"` + ChallengeState InBattleMechanicusCardChallengeState `protobuf:"varint,5,opt,name=challenge_state,json=challengeState,proto3,enum=InBattleMechanicusCardChallengeState" json:"challenge_state,omitempty"` + CostPoints uint32 `protobuf:"varint,1,opt,name=cost_points,json=costPoints,proto3" json:"cost_points,omitempty"` + CardId uint32 `protobuf:"varint,11,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + BeginRound uint32 `protobuf:"varint,8,opt,name=begin_round,json=beginRound,proto3" json:"begin_round,omitempty"` +} + +func (x *InBattleMechanicusCardInfo) Reset() { + *x = InBattleMechanicusCardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusCardInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusCardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusCardInfo) ProtoMessage() {} + +func (x *InBattleMechanicusCardInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusCardInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusCardInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusCardInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusCardInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusCardInfo) GetRandEffectId() uint32 { + if x != nil { + return x.RandEffectId + } + return 0 +} + +func (x *InBattleMechanicusCardInfo) GetEndRound() uint32 { + if x != nil { + return x.EndRound + } + return 0 +} + +func (x *InBattleMechanicusCardInfo) GetChallengeState() InBattleMechanicusCardChallengeState { + if x != nil { + return x.ChallengeState + } + return InBattleMechanicusCardChallengeState_IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE +} + +func (x *InBattleMechanicusCardInfo) GetCostPoints() uint32 { + if x != nil { + return x.CostPoints + } + return 0 +} + +func (x *InBattleMechanicusCardInfo) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *InBattleMechanicusCardInfo) GetBeginRound() uint32 { + if x != nil { + return x.BeginRound + } + return 0 +} + +var File_InBattleMechanicusCardInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusCardInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x2a, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, + 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, + 0x02, 0x0a, 0x1a, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, + 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, + 0x0e, 0x72, 0x61, 0x6e, 0x64, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x52, 0x6f, 0x75, 0x6e, 0x64, + 0x12, 0x4e, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x49, 0x6e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, + 0x72, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusCardInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusCardInfo_proto_rawDescData = file_InBattleMechanicusCardInfo_proto_rawDesc +) + +func file_InBattleMechanicusCardInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusCardInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusCardInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusCardInfo_proto_rawDescData) + }) + return file_InBattleMechanicusCardInfo_proto_rawDescData +} + +var file_InBattleMechanicusCardInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusCardInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusCardInfo)(nil), // 0: InBattleMechanicusCardInfo + (InBattleMechanicusCardChallengeState)(0), // 1: InBattleMechanicusCardChallengeState +} +var file_InBattleMechanicusCardInfo_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusCardInfo.challenge_state:type_name -> InBattleMechanicusCardChallengeState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusCardInfo_proto_init() } +func file_InBattleMechanicusCardInfo_proto_init() { + if File_InBattleMechanicusCardInfo_proto != nil { + return + } + file_InBattleMechanicusCardChallengeState_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusCardInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusCardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusCardInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusCardInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusCardInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusCardInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusCardInfo_proto = out.File + file_InBattleMechanicusCardInfo_proto_rawDesc = nil + file_InBattleMechanicusCardInfo_proto_goTypes = nil + file_InBattleMechanicusCardInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusCardInfo.proto new file mode 100644 index 00000000..ebe00a9b --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InBattleMechanicusCardChallengeState.proto"; + +option go_package = "./;proto"; + +message InBattleMechanicusCardInfo { + uint32 rand_effect_id = 12; + uint32 end_round = 3; + InBattleMechanicusCardChallengeState challenge_state = 5; + uint32 cost_points = 1; + uint32 card_id = 11; + uint32 begin_round = 8; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.pb.go new file mode 100644 index 00000000..4cd0c654 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusCardResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5397 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusCardResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WaitSeconds uint32 `protobuf:"varint,6,opt,name=wait_seconds,json=waitSeconds,proto3" json:"wait_seconds,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + CardList []*InBattleMechanicusCardInfo `protobuf:"bytes,9,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` + WaitBeginTimeUs uint64 `protobuf:"varint,7,opt,name=wait_begin_time_us,json=waitBeginTimeUs,proto3" json:"wait_begin_time_us,omitempty"` + PlayerConfirmedCardMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=player_confirmed_card_map,json=playerConfirmedCardMap,proto3" json:"player_confirmed_card_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + PlayIndex uint32 `protobuf:"varint,8,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *InBattleMechanicusCardResultNotify) Reset() { + *x = InBattleMechanicusCardResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusCardResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusCardResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusCardResultNotify) ProtoMessage() {} + +func (x *InBattleMechanicusCardResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusCardResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusCardResultNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusCardResultNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusCardResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusCardResultNotify) GetWaitSeconds() uint32 { + if x != nil { + return x.WaitSeconds + } + return 0 +} + +func (x *InBattleMechanicusCardResultNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InBattleMechanicusCardResultNotify) GetCardList() []*InBattleMechanicusCardInfo { + if x != nil { + return x.CardList + } + return nil +} + +func (x *InBattleMechanicusCardResultNotify) GetWaitBeginTimeUs() uint64 { + if x != nil { + return x.WaitBeginTimeUs + } + return 0 +} + +func (x *InBattleMechanicusCardResultNotify) GetPlayerConfirmedCardMap() map[uint32]uint32 { + if x != nil { + return x.PlayerConfirmedCardMap + } + return nil +} + +func (x *InBattleMechanicusCardResultNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_InBattleMechanicusCardResultNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusCardResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x49, 0x6e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, + 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x03, 0x0a, + 0x22, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, 0x53, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x77, + 0x61, 0x69, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, + 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x42, 0x65, 0x67, + 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x12, 0x7a, 0x0a, 0x19, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x72, + 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x49, 0x6e, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, + 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, + 0x43, 0x61, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x43, 0x61, 0x72, + 0x64, 0x4d, 0x61, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x1a, 0x49, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusCardResultNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusCardResultNotify_proto_rawDescData = file_InBattleMechanicusCardResultNotify_proto_rawDesc +) + +func file_InBattleMechanicusCardResultNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusCardResultNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusCardResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusCardResultNotify_proto_rawDescData) + }) + return file_InBattleMechanicusCardResultNotify_proto_rawDescData +} + +var file_InBattleMechanicusCardResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_InBattleMechanicusCardResultNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusCardResultNotify)(nil), // 0: InBattleMechanicusCardResultNotify + nil, // 1: InBattleMechanicusCardResultNotify.PlayerConfirmedCardMapEntry + (*InBattleMechanicusCardInfo)(nil), // 2: InBattleMechanicusCardInfo +} +var file_InBattleMechanicusCardResultNotify_proto_depIdxs = []int32{ + 2, // 0: InBattleMechanicusCardResultNotify.card_list:type_name -> InBattleMechanicusCardInfo + 1, // 1: InBattleMechanicusCardResultNotify.player_confirmed_card_map:type_name -> InBattleMechanicusCardResultNotify.PlayerConfirmedCardMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusCardResultNotify_proto_init() } +func file_InBattleMechanicusCardResultNotify_proto_init() { + if File_InBattleMechanicusCardResultNotify_proto != nil { + return + } + file_InBattleMechanicusCardInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusCardResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusCardResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusCardResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusCardResultNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusCardResultNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusCardResultNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusCardResultNotify_proto = out.File + file_InBattleMechanicusCardResultNotify_proto_rawDesc = nil + file_InBattleMechanicusCardResultNotify_proto_goTypes = nil + file_InBattleMechanicusCardResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.proto new file mode 100644 index 00000000..ab554bf2 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusCardResultNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InBattleMechanicusCardInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5397 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusCardResultNotify { + uint32 wait_seconds = 6; + uint32 group_id = 2; + repeated InBattleMechanicusCardInfo card_list = 9; + uint64 wait_begin_time_us = 7; + map player_confirmed_card_map = 12; + uint32 play_index = 8; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.pb.go new file mode 100644 index 00000000..81cb8e21 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusConfirmCardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5348 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusConfirmCardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayIndex uint32 `protobuf:"varint,11,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + CardId uint32 `protobuf:"varint,13,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + GroupId uint32 `protobuf:"varint,10,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayerUid uint32 `protobuf:"varint,2,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` +} + +func (x *InBattleMechanicusConfirmCardNotify) Reset() { + *x = InBattleMechanicusConfirmCardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusConfirmCardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusConfirmCardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusConfirmCardNotify) ProtoMessage() {} + +func (x *InBattleMechanicusConfirmCardNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusConfirmCardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusConfirmCardNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusConfirmCardNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusConfirmCardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusConfirmCardNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardNotify) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +var File_InBattleMechanicusConfirmCardNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusConfirmCardNotify_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x23, + 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusConfirmCardNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusConfirmCardNotify_proto_rawDescData = file_InBattleMechanicusConfirmCardNotify_proto_rawDesc +) + +func file_InBattleMechanicusConfirmCardNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusConfirmCardNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusConfirmCardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusConfirmCardNotify_proto_rawDescData) + }) + return file_InBattleMechanicusConfirmCardNotify_proto_rawDescData +} + +var file_InBattleMechanicusConfirmCardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusConfirmCardNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusConfirmCardNotify)(nil), // 0: InBattleMechanicusConfirmCardNotify +} +var file_InBattleMechanicusConfirmCardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusConfirmCardNotify_proto_init() } +func file_InBattleMechanicusConfirmCardNotify_proto_init() { + if File_InBattleMechanicusConfirmCardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusConfirmCardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusConfirmCardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusConfirmCardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusConfirmCardNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusConfirmCardNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusConfirmCardNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusConfirmCardNotify_proto = out.File + file_InBattleMechanicusConfirmCardNotify_proto_rawDesc = nil + file_InBattleMechanicusConfirmCardNotify_proto_goTypes = nil + file_InBattleMechanicusConfirmCardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.proto new file mode 100644 index 00000000..278a2bf6 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5348 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusConfirmCardNotify { + uint32 play_index = 11; + uint32 card_id = 13; + uint32 group_id = 10; + uint32 player_uid = 2; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.pb.go b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.pb.go new file mode 100644 index 00000000..f9a428d8 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusConfirmCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5331 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type InBattleMechanicusConfirmCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayIndex uint32 `protobuf:"varint,6,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + GroupId uint32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *InBattleMechanicusConfirmCardReq) Reset() { + *x = InBattleMechanicusConfirmCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusConfirmCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusConfirmCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusConfirmCardReq) ProtoMessage() {} + +func (x *InBattleMechanicusConfirmCardReq) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusConfirmCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusConfirmCardReq.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusConfirmCardReq) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusConfirmCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusConfirmCardReq) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardReq) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_InBattleMechanicusConfirmCardReq_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusConfirmCardReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x20, 0x49, 0x6e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x63, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusConfirmCardReq_proto_rawDescOnce sync.Once + file_InBattleMechanicusConfirmCardReq_proto_rawDescData = file_InBattleMechanicusConfirmCardReq_proto_rawDesc +) + +func file_InBattleMechanicusConfirmCardReq_proto_rawDescGZIP() []byte { + file_InBattleMechanicusConfirmCardReq_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusConfirmCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusConfirmCardReq_proto_rawDescData) + }) + return file_InBattleMechanicusConfirmCardReq_proto_rawDescData +} + +var file_InBattleMechanicusConfirmCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusConfirmCardReq_proto_goTypes = []interface{}{ + (*InBattleMechanicusConfirmCardReq)(nil), // 0: InBattleMechanicusConfirmCardReq +} +var file_InBattleMechanicusConfirmCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusConfirmCardReq_proto_init() } +func file_InBattleMechanicusConfirmCardReq_proto_init() { + if File_InBattleMechanicusConfirmCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusConfirmCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusConfirmCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusConfirmCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusConfirmCardReq_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusConfirmCardReq_proto_depIdxs, + MessageInfos: file_InBattleMechanicusConfirmCardReq_proto_msgTypes, + }.Build() + File_InBattleMechanicusConfirmCardReq_proto = out.File + file_InBattleMechanicusConfirmCardReq_proto_rawDesc = nil + file_InBattleMechanicusConfirmCardReq_proto_goTypes = nil + file_InBattleMechanicusConfirmCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.proto b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.proto new file mode 100644 index 00000000..5bfdb9f1 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5331 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message InBattleMechanicusConfirmCardReq { + uint32 play_index = 6; + uint32 card_id = 1; + uint32 group_id = 3; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.pb.go b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.pb.go new file mode 100644 index 00000000..ff54c1d7 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusConfirmCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5375 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusConfirmCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayIndex uint32 `protobuf:"varint,2,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + CardId uint32 `protobuf:"varint,14,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + GroupId uint32 `protobuf:"varint,6,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *InBattleMechanicusConfirmCardRsp) Reset() { + *x = InBattleMechanicusConfirmCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusConfirmCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusConfirmCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusConfirmCardRsp) ProtoMessage() {} + +func (x *InBattleMechanicusConfirmCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusConfirmCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusConfirmCardRsp.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusConfirmCardRsp) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusConfirmCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusConfirmCardRsp) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardRsp) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *InBattleMechanicusConfirmCardRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_InBattleMechanicusConfirmCardRsp_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusConfirmCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x20, 0x49, 0x6e, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusConfirmCardRsp_proto_rawDescOnce sync.Once + file_InBattleMechanicusConfirmCardRsp_proto_rawDescData = file_InBattleMechanicusConfirmCardRsp_proto_rawDesc +) + +func file_InBattleMechanicusConfirmCardRsp_proto_rawDescGZIP() []byte { + file_InBattleMechanicusConfirmCardRsp_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusConfirmCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusConfirmCardRsp_proto_rawDescData) + }) + return file_InBattleMechanicusConfirmCardRsp_proto_rawDescData +} + +var file_InBattleMechanicusConfirmCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusConfirmCardRsp_proto_goTypes = []interface{}{ + (*InBattleMechanicusConfirmCardRsp)(nil), // 0: InBattleMechanicusConfirmCardRsp +} +var file_InBattleMechanicusConfirmCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusConfirmCardRsp_proto_init() } +func file_InBattleMechanicusConfirmCardRsp_proto_init() { + if File_InBattleMechanicusConfirmCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusConfirmCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusConfirmCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusConfirmCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusConfirmCardRsp_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusConfirmCardRsp_proto_depIdxs, + MessageInfos: file_InBattleMechanicusConfirmCardRsp_proto_msgTypes, + }.Build() + File_InBattleMechanicusConfirmCardRsp_proto = out.File + file_InBattleMechanicusConfirmCardRsp_proto_rawDesc = nil + file_InBattleMechanicusConfirmCardRsp_proto_goTypes = nil + file_InBattleMechanicusConfirmCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.proto b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.proto new file mode 100644 index 00000000..b8fbde60 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusConfirmCardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5375 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusConfirmCardRsp { + uint32 play_index = 2; + uint32 card_id = 14; + int32 retcode = 11; + uint32 group_id = 6; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.pb.go new file mode 100644 index 00000000..1d121d17 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusEscapeMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5307 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusEscapeMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EscapedMonsterNum uint32 `protobuf:"varint,4,opt,name=escaped_monster_num,json=escapedMonsterNum,proto3" json:"escaped_monster_num,omitempty"` +} + +func (x *InBattleMechanicusEscapeMonsterNotify) Reset() { + *x = InBattleMechanicusEscapeMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusEscapeMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusEscapeMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusEscapeMonsterNotify) ProtoMessage() {} + +func (x *InBattleMechanicusEscapeMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusEscapeMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusEscapeMonsterNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusEscapeMonsterNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusEscapeMonsterNotify) GetEscapedMonsterNum() uint32 { + if x != nil { + return x.EscapedMonsterNum + } + return 0 +} + +var File_InBattleMechanicusEscapeMonsterNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusEscapeMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, + 0x25, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, + 0x64, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescData = file_InBattleMechanicusEscapeMonsterNotify_proto_rawDesc +) + +func file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescData) + }) + return file_InBattleMechanicusEscapeMonsterNotify_proto_rawDescData +} + +var file_InBattleMechanicusEscapeMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusEscapeMonsterNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusEscapeMonsterNotify)(nil), // 0: InBattleMechanicusEscapeMonsterNotify +} +var file_InBattleMechanicusEscapeMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusEscapeMonsterNotify_proto_init() } +func file_InBattleMechanicusEscapeMonsterNotify_proto_init() { + if File_InBattleMechanicusEscapeMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusEscapeMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusEscapeMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusEscapeMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusEscapeMonsterNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusEscapeMonsterNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusEscapeMonsterNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusEscapeMonsterNotify_proto = out.File + file_InBattleMechanicusEscapeMonsterNotify_proto_rawDesc = nil + file_InBattleMechanicusEscapeMonsterNotify_proto_goTypes = nil + file_InBattleMechanicusEscapeMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.proto new file mode 100644 index 00000000..85352dad --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusEscapeMonsterNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5307 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusEscapeMonsterNotify { + uint32 escaped_monster_num = 4; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusInfo.pb.go new file mode 100644 index 00000000..c8c912ad --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusInfo.pb.go @@ -0,0 +1,356 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftMonster uint32 `protobuf:"varint,5,opt,name=left_monster,json=leftMonster,proto3" json:"left_monster,omitempty"` + WaitSeconds uint32 `protobuf:"varint,13,opt,name=wait_seconds,json=waitSeconds,proto3" json:"wait_seconds,omitempty"` + EntranceList []uint32 `protobuf:"varint,410,rep,packed,name=entrance_list,json=entranceList,proto3" json:"entrance_list,omitempty"` + ExitList []uint32 `protobuf:"varint,115,rep,packed,name=exit_list,json=exitList,proto3" json:"exit_list,omitempty"` + HistoryCardList []*InBattleMechanicusCardInfo `protobuf:"bytes,11,rep,name=history_card_list,json=historyCardList,proto3" json:"history_card_list,omitempty"` + MaxEscapeMonsterNum uint32 `protobuf:"varint,10,opt,name=max_escape_monster_num,json=maxEscapeMonsterNum,proto3" json:"max_escape_monster_num,omitempty"` + BuildingStageDuration uint32 `protobuf:"varint,4,opt,name=building_stage_duration,json=buildingStageDuration,proto3" json:"building_stage_duration,omitempty"` + DurationMs uint64 `protobuf:"varint,8,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` + Stage InBattleMechanicusStageType `protobuf:"varint,9,opt,name=stage,proto3,enum=InBattleMechanicusStageType" json:"stage,omitempty"` + TotalRound uint32 `protobuf:"varint,12,opt,name=total_round,json=totalRound,proto3" json:"total_round,omitempty"` + MonsterList []*InBattleMechanicusMonsterInfo `protobuf:"bytes,14,rep,name=monster_list,json=monsterList,proto3" json:"monster_list,omitempty"` + EscapedMonsterNum uint32 `protobuf:"varint,6,opt,name=escaped_monster_num,json=escapedMonsterNum,proto3" json:"escaped_monster_num,omitempty"` + Round uint32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` + PickCardList []*InBattleMechanicusCardInfo `protobuf:"bytes,15,rep,name=pick_card_list,json=pickCardList,proto3" json:"pick_card_list,omitempty"` + PlayerList []*InBattleMechanicusPlayerInfo `protobuf:"bytes,7,rep,name=player_list,json=playerList,proto3" json:"player_list,omitempty"` + WaitBeginTimeUs uint64 `protobuf:"varint,1,opt,name=wait_begin_time_us,json=waitBeginTimeUs,proto3" json:"wait_begin_time_us,omitempty"` + BeginTimeMs uint64 `protobuf:"varint,2,opt,name=begin_time_ms,json=beginTimeMs,proto3" json:"begin_time_ms,omitempty"` +} + +func (x *InBattleMechanicusInfo) Reset() { + *x = InBattleMechanicusInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusInfo) ProtoMessage() {} + +func (x *InBattleMechanicusInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusInfo) GetLeftMonster() uint32 { + if x != nil { + return x.LeftMonster + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetWaitSeconds() uint32 { + if x != nil { + return x.WaitSeconds + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetEntranceList() []uint32 { + if x != nil { + return x.EntranceList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetExitList() []uint32 { + if x != nil { + return x.ExitList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetHistoryCardList() []*InBattleMechanicusCardInfo { + if x != nil { + return x.HistoryCardList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetMaxEscapeMonsterNum() uint32 { + if x != nil { + return x.MaxEscapeMonsterNum + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetBuildingStageDuration() uint32 { + if x != nil { + return x.BuildingStageDuration + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetDurationMs() uint64 { + if x != nil { + return x.DurationMs + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetStage() InBattleMechanicusStageType { + if x != nil { + return x.Stage + } + return InBattleMechanicusStageType_IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE +} + +func (x *InBattleMechanicusInfo) GetTotalRound() uint32 { + if x != nil { + return x.TotalRound + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetMonsterList() []*InBattleMechanicusMonsterInfo { + if x != nil { + return x.MonsterList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetEscapedMonsterNum() uint32 { + if x != nil { + return x.EscapedMonsterNum + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetRound() uint32 { + if x != nil { + return x.Round + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetPickCardList() []*InBattleMechanicusCardInfo { + if x != nil { + return x.PickCardList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetPlayerList() []*InBattleMechanicusPlayerInfo { + if x != nil { + return x.PlayerList + } + return nil +} + +func (x *InBattleMechanicusInfo) GetWaitBeginTimeUs() uint64 { + if x != nil { + return x.WaitBeginTimeUs + } + return 0 +} + +func (x *InBattleMechanicusInfo) GetBeginTimeMs() uint64 { + if x != nil { + return x.BeginTimeMs + } + return 0 +} + +var File_InBattleMechanicusInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x23, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x49, 0x6e, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x06, 0x0a, + 0x16, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x5f, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6c, + 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, + 0x69, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x24, 0x0a, + 0x0d, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x9a, + 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x73, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x47, 0x0a, 0x11, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x61, 0x72, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x49, 0x6e, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, + 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x61, 0x78, + 0x5f, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x45, 0x73, + 0x63, 0x61, 0x70, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x36, + 0x0a, 0x17, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x15, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x41, 0x0a, 0x0c, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2e, 0x0a, 0x13, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x65, 0x73, + 0x63, 0x61, 0x70, 0x65, 0x64, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, + 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x41, 0x0a, 0x0e, 0x70, 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x61, + 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x69, 0x63, 0x6b, + 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x55, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusInfo_proto_rawDescData = file_InBattleMechanicusInfo_proto_rawDesc +) + +func file_InBattleMechanicusInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusInfo_proto_rawDescData) + }) + return file_InBattleMechanicusInfo_proto_rawDescData +} + +var file_InBattleMechanicusInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusInfo)(nil), // 0: InBattleMechanicusInfo + (*InBattleMechanicusCardInfo)(nil), // 1: InBattleMechanicusCardInfo + (InBattleMechanicusStageType)(0), // 2: InBattleMechanicusStageType + (*InBattleMechanicusMonsterInfo)(nil), // 3: InBattleMechanicusMonsterInfo + (*InBattleMechanicusPlayerInfo)(nil), // 4: InBattleMechanicusPlayerInfo +} +var file_InBattleMechanicusInfo_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusInfo.history_card_list:type_name -> InBattleMechanicusCardInfo + 2, // 1: InBattleMechanicusInfo.stage:type_name -> InBattleMechanicusStageType + 3, // 2: InBattleMechanicusInfo.monster_list:type_name -> InBattleMechanicusMonsterInfo + 1, // 3: InBattleMechanicusInfo.pick_card_list:type_name -> InBattleMechanicusCardInfo + 4, // 4: InBattleMechanicusInfo.player_list:type_name -> InBattleMechanicusPlayerInfo + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusInfo_proto_init() } +func file_InBattleMechanicusInfo_proto_init() { + if File_InBattleMechanicusInfo_proto != nil { + return + } + file_InBattleMechanicusCardInfo_proto_init() + file_InBattleMechanicusMonsterInfo_proto_init() + file_InBattleMechanicusPlayerInfo_proto_init() + file_InBattleMechanicusStageType_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusInfo_proto = out.File + file_InBattleMechanicusInfo_proto_rawDesc = nil + file_InBattleMechanicusInfo_proto_goTypes = nil + file_InBattleMechanicusInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusInfo.proto new file mode 100644 index 00000000..1b386645 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusInfo.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InBattleMechanicusCardInfo.proto"; +import "InBattleMechanicusMonsterInfo.proto"; +import "InBattleMechanicusPlayerInfo.proto"; +import "InBattleMechanicusStageType.proto"; + +option go_package = "./;proto"; + +message InBattleMechanicusInfo { + uint32 left_monster = 5; + uint32 wait_seconds = 13; + repeated uint32 entrance_list = 410; + repeated uint32 exit_list = 115; + repeated InBattleMechanicusCardInfo history_card_list = 11; + uint32 max_escape_monster_num = 10; + uint32 building_stage_duration = 4; + uint64 duration_ms = 8; + InBattleMechanicusStageType stage = 9; + uint32 total_round = 12; + repeated InBattleMechanicusMonsterInfo monster_list = 14; + uint32 escaped_monster_num = 6; + uint32 round = 3; + repeated InBattleMechanicusCardInfo pick_card_list = 15; + repeated InBattleMechanicusPlayerInfo player_list = 7; + uint64 wait_begin_time_us = 1; + uint64 begin_time_ms = 2; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.pb.go new file mode 100644 index 00000000..778f4994 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusLeftMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5321 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusLeftMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftMonster uint32 `protobuf:"varint,14,opt,name=left_monster,json=leftMonster,proto3" json:"left_monster,omitempty"` +} + +func (x *InBattleMechanicusLeftMonsterNotify) Reset() { + *x = InBattleMechanicusLeftMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusLeftMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusLeftMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusLeftMonsterNotify) ProtoMessage() {} + +func (x *InBattleMechanicusLeftMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusLeftMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusLeftMonsterNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusLeftMonsterNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusLeftMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusLeftMonsterNotify) GetLeftMonster() uint32 { + if x != nil { + return x.LeftMonster + } + return 0 +} + +var File_InBattleMechanicusLeftMonsterNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusLeftMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x4c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x23, 0x49, + 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, + 0x73, 0x4c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6c, 0x65, 0x66, 0x74, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusLeftMonsterNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusLeftMonsterNotify_proto_rawDescData = file_InBattleMechanicusLeftMonsterNotify_proto_rawDesc +) + +func file_InBattleMechanicusLeftMonsterNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusLeftMonsterNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusLeftMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusLeftMonsterNotify_proto_rawDescData) + }) + return file_InBattleMechanicusLeftMonsterNotify_proto_rawDescData +} + +var file_InBattleMechanicusLeftMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusLeftMonsterNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusLeftMonsterNotify)(nil), // 0: InBattleMechanicusLeftMonsterNotify +} +var file_InBattleMechanicusLeftMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusLeftMonsterNotify_proto_init() } +func file_InBattleMechanicusLeftMonsterNotify_proto_init() { + if File_InBattleMechanicusLeftMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusLeftMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusLeftMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusLeftMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusLeftMonsterNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusLeftMonsterNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusLeftMonsterNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusLeftMonsterNotify_proto = out.File + file_InBattleMechanicusLeftMonsterNotify_proto_rawDesc = nil + file_InBattleMechanicusLeftMonsterNotify_proto_goTypes = nil + file_InBattleMechanicusLeftMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.proto new file mode 100644 index 00000000..6d62b404 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusLeftMonsterNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5321 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusLeftMonsterNotify { + uint32 left_monster = 14; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.pb.go new file mode 100644 index 00000000..dbd4d007 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusMonsterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusMonsterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterId uint32 `protobuf:"varint,1,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + Level uint32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` + Count uint32 `protobuf:"varint,13,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *InBattleMechanicusMonsterInfo) Reset() { + *x = InBattleMechanicusMonsterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusMonsterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusMonsterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusMonsterInfo) ProtoMessage() {} + +func (x *InBattleMechanicusMonsterInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusMonsterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusMonsterInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusMonsterInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusMonsterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusMonsterInfo) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *InBattleMechanicusMonsterInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *InBattleMechanicusMonsterInfo) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_InBattleMechanicusMonsterInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusMonsterInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x1d, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusMonsterInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusMonsterInfo_proto_rawDescData = file_InBattleMechanicusMonsterInfo_proto_rawDesc +) + +func file_InBattleMechanicusMonsterInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusMonsterInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusMonsterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusMonsterInfo_proto_rawDescData) + }) + return file_InBattleMechanicusMonsterInfo_proto_rawDescData +} + +var file_InBattleMechanicusMonsterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusMonsterInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusMonsterInfo)(nil), // 0: InBattleMechanicusMonsterInfo +} +var file_InBattleMechanicusMonsterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusMonsterInfo_proto_init() } +func file_InBattleMechanicusMonsterInfo_proto_init() { + if File_InBattleMechanicusMonsterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusMonsterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusMonsterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusMonsterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusMonsterInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusMonsterInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusMonsterInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusMonsterInfo_proto = out.File + file_InBattleMechanicusMonsterInfo_proto_rawDesc = nil + file_InBattleMechanicusMonsterInfo_proto_goTypes = nil + file_InBattleMechanicusMonsterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.proto new file mode 100644 index 00000000..fec9ee51 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusMonsterInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message InBattleMechanicusMonsterInfo { + uint32 monster_id = 1; + uint32 level = 14; + uint32 count = 13; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.pb.go new file mode 100644 index 00000000..ed2543e7 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusPickCardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5399 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusPickCardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerUid uint32 `protobuf:"varint,6,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + GroupId uint32 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,8,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + CardId uint32 `protobuf:"varint,10,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *InBattleMechanicusPickCardNotify) Reset() { + *x = InBattleMechanicusPickCardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusPickCardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusPickCardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusPickCardNotify) ProtoMessage() {} + +func (x *InBattleMechanicusPickCardNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusPickCardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusPickCardNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusPickCardNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusPickCardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusPickCardNotify) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *InBattleMechanicusPickCardNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InBattleMechanicusPickCardNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusPickCardNotify) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_InBattleMechanicusPickCardNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusPickCardNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x20, 0x49, 0x6e, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x50, + 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, + 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusPickCardNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusPickCardNotify_proto_rawDescData = file_InBattleMechanicusPickCardNotify_proto_rawDesc +) + +func file_InBattleMechanicusPickCardNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusPickCardNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusPickCardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusPickCardNotify_proto_rawDescData) + }) + return file_InBattleMechanicusPickCardNotify_proto_rawDescData +} + +var file_InBattleMechanicusPickCardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusPickCardNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusPickCardNotify)(nil), // 0: InBattleMechanicusPickCardNotify +} +var file_InBattleMechanicusPickCardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusPickCardNotify_proto_init() } +func file_InBattleMechanicusPickCardNotify_proto_init() { + if File_InBattleMechanicusPickCardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusPickCardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusPickCardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusPickCardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusPickCardNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusPickCardNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusPickCardNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusPickCardNotify_proto = out.File + file_InBattleMechanicusPickCardNotify_proto_rawDesc = nil + file_InBattleMechanicusPickCardNotify_proto_goTypes = nil + file_InBattleMechanicusPickCardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.proto new file mode 100644 index 00000000..5ffd368e --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5399 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusPickCardNotify { + uint32 player_uid = 6; + uint32 group_id = 7; + uint32 play_index = 8; + uint32 card_id = 10; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.pb.go b/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.pb.go new file mode 100644 index 00000000..d2abf951 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusPickCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5390 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type InBattleMechanicusPickCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,11,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,7,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *InBattleMechanicusPickCardReq) Reset() { + *x = InBattleMechanicusPickCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusPickCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusPickCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusPickCardReq) ProtoMessage() {} + +func (x *InBattleMechanicusPickCardReq) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusPickCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusPickCardReq.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusPickCardReq) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusPickCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusPickCardReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InBattleMechanicusPickCardReq) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusPickCardReq) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_InBattleMechanicusPickCardReq_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusPickCardReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1d, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusPickCardReq_proto_rawDescOnce sync.Once + file_InBattleMechanicusPickCardReq_proto_rawDescData = file_InBattleMechanicusPickCardReq_proto_rawDesc +) + +func file_InBattleMechanicusPickCardReq_proto_rawDescGZIP() []byte { + file_InBattleMechanicusPickCardReq_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusPickCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusPickCardReq_proto_rawDescData) + }) + return file_InBattleMechanicusPickCardReq_proto_rawDescData +} + +var file_InBattleMechanicusPickCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusPickCardReq_proto_goTypes = []interface{}{ + (*InBattleMechanicusPickCardReq)(nil), // 0: InBattleMechanicusPickCardReq +} +var file_InBattleMechanicusPickCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusPickCardReq_proto_init() } +func file_InBattleMechanicusPickCardReq_proto_init() { + if File_InBattleMechanicusPickCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusPickCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusPickCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusPickCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusPickCardReq_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusPickCardReq_proto_depIdxs, + MessageInfos: file_InBattleMechanicusPickCardReq_proto_msgTypes, + }.Build() + File_InBattleMechanicusPickCardReq_proto = out.File + file_InBattleMechanicusPickCardReq_proto_rawDesc = nil + file_InBattleMechanicusPickCardReq_proto_goTypes = nil + file_InBattleMechanicusPickCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.proto b/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.proto new file mode 100644 index 00000000..ff58d3ba --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5390 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message InBattleMechanicusPickCardReq { + uint32 group_id = 11; + uint32 play_index = 7; + uint32 card_id = 1; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.pb.go b/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.pb.go new file mode 100644 index 00000000..0fd5931c --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusPickCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5373 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusPickCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,4,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + GroupId uint32 `protobuf:"varint,9,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *InBattleMechanicusPickCardRsp) Reset() { + *x = InBattleMechanicusPickCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusPickCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusPickCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusPickCardRsp) ProtoMessage() {} + +func (x *InBattleMechanicusPickCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusPickCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusPickCardRsp.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusPickCardRsp) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusPickCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusPickCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *InBattleMechanicusPickCardRsp) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *InBattleMechanicusPickCardRsp) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusPickCardRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_InBattleMechanicusPickCardRsp_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusPickCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x1d, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x50, 0x69, 0x63, 0x6b, + 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusPickCardRsp_proto_rawDescOnce sync.Once + file_InBattleMechanicusPickCardRsp_proto_rawDescData = file_InBattleMechanicusPickCardRsp_proto_rawDesc +) + +func file_InBattleMechanicusPickCardRsp_proto_rawDescGZIP() []byte { + file_InBattleMechanicusPickCardRsp_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusPickCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusPickCardRsp_proto_rawDescData) + }) + return file_InBattleMechanicusPickCardRsp_proto_rawDescData +} + +var file_InBattleMechanicusPickCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusPickCardRsp_proto_goTypes = []interface{}{ + (*InBattleMechanicusPickCardRsp)(nil), // 0: InBattleMechanicusPickCardRsp +} +var file_InBattleMechanicusPickCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusPickCardRsp_proto_init() } +func file_InBattleMechanicusPickCardRsp_proto_init() { + if File_InBattleMechanicusPickCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusPickCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusPickCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusPickCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusPickCardRsp_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusPickCardRsp_proto_depIdxs, + MessageInfos: file_InBattleMechanicusPickCardRsp_proto_msgTypes, + }.Build() + File_InBattleMechanicusPickCardRsp_proto = out.File + file_InBattleMechanicusPickCardRsp_proto_rawDesc = nil + file_InBattleMechanicusPickCardRsp_proto_goTypes = nil + file_InBattleMechanicusPickCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.proto b/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.proto new file mode 100644 index 00000000..aa999478 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPickCardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5373 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusPickCardRsp { + int32 retcode = 11; + uint32 card_id = 2; + uint32 play_index = 4; + uint32 group_id = 9; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.pb.go new file mode 100644 index 00000000..a67e4973 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusPlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusPlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PickCardId uint32 `protobuf:"varint,5,opt,name=pick_card_id,json=pickCardId,proto3" json:"pick_card_id,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` + BuildingList []*InBattleMechanicusBuildingInfo `protobuf:"bytes,4,rep,name=building_list,json=buildingList,proto3" json:"building_list,omitempty"` + IsCardConfirmed bool `protobuf:"varint,13,opt,name=is_card_confirmed,json=isCardConfirmed,proto3" json:"is_card_confirmed,omitempty"` + BuildingPoints uint32 `protobuf:"varint,3,opt,name=building_points,json=buildingPoints,proto3" json:"building_points,omitempty"` +} + +func (x *InBattleMechanicusPlayerInfo) Reset() { + *x = InBattleMechanicusPlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusPlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusPlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusPlayerInfo) ProtoMessage() {} + +func (x *InBattleMechanicusPlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusPlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusPlayerInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusPlayerInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusPlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusPlayerInfo) GetPickCardId() uint32 { + if x != nil { + return x.PickCardId + } + return 0 +} + +func (x *InBattleMechanicusPlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *InBattleMechanicusPlayerInfo) GetBuildingList() []*InBattleMechanicusBuildingInfo { + if x != nil { + return x.BuildingList + } + return nil +} + +func (x *InBattleMechanicusPlayerInfo) GetIsCardConfirmed() bool { + if x != nil { + return x.IsCardConfirmed + } + return false +} + +func (x *InBattleMechanicusPlayerInfo) GetBuildingPoints() uint32 { + if x != nil { + return x.BuildingPoints + } + return 0 +} + +var File_InBattleMechanicusPlayerInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusPlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x1c, 0x49, + 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, + 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x70, + 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x6b, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x44, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x61, 0x72, 0x64, + 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x69, 0x73, 0x43, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, + 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusPlayerInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusPlayerInfo_proto_rawDescData = file_InBattleMechanicusPlayerInfo_proto_rawDesc +) + +func file_InBattleMechanicusPlayerInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusPlayerInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusPlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusPlayerInfo_proto_rawDescData) + }) + return file_InBattleMechanicusPlayerInfo_proto_rawDescData +} + +var file_InBattleMechanicusPlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusPlayerInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusPlayerInfo)(nil), // 0: InBattleMechanicusPlayerInfo + (*InBattleMechanicusBuildingInfo)(nil), // 1: InBattleMechanicusBuildingInfo +} +var file_InBattleMechanicusPlayerInfo_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusPlayerInfo.building_list:type_name -> InBattleMechanicusBuildingInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusPlayerInfo_proto_init() } +func file_InBattleMechanicusPlayerInfo_proto_init() { + if File_InBattleMechanicusPlayerInfo_proto != nil { + return + } + file_InBattleMechanicusBuildingInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusPlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusPlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusPlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusPlayerInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusPlayerInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusPlayerInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusPlayerInfo_proto = out.File + file_InBattleMechanicusPlayerInfo_proto_rawDesc = nil + file_InBattleMechanicusPlayerInfo_proto_goTypes = nil + file_InBattleMechanicusPlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.proto new file mode 100644 index 00000000..4494f404 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusPlayerInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InBattleMechanicusBuildingInfo.proto"; + +option go_package = "./;proto"; + +message InBattleMechanicusPlayerInfo { + uint32 pick_card_id = 5; + uint32 uid = 14; + repeated InBattleMechanicusBuildingInfo building_list = 4; + bool is_card_confirmed = 13; + uint32 building_points = 3; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.pb.go b/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.pb.go new file mode 100644 index 00000000..f2f7d217 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.pb.go @@ -0,0 +1,238 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTimeMs uint64 `protobuf:"varint,15,opt,name=scene_time_ms,json=sceneTimeMs,proto3" json:"scene_time_ms,omitempty"` + TotalToken uint32 `protobuf:"varint,4,opt,name=total_token,json=totalToken,proto3" json:"total_token,omitempty"` + RealToken uint32 `protobuf:"varint,8,opt,name=real_token,json=realToken,proto3" json:"real_token,omitempty"` + WatcherList []*MultistageSettleWatcherInfo `protobuf:"bytes,7,rep,name=watcher_list,json=watcherList,proto3" json:"watcher_list,omitempty"` + IsSuccess bool `protobuf:"varint,6,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + PlayIndex uint32 `protobuf:"varint,3,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + DifficultyPercentage uint32 `protobuf:"varint,10,opt,name=difficulty_percentage,json=difficultyPercentage,proto3" json:"difficulty_percentage,omitempty"` + GroupId uint32 `protobuf:"varint,13,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *InBattleMechanicusSettleInfo) Reset() { + *x = InBattleMechanicusSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusSettleInfo) ProtoMessage() {} + +func (x *InBattleMechanicusSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusSettleInfo.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusSettleInfo) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusSettleInfo) GetSceneTimeMs() uint64 { + if x != nil { + return x.SceneTimeMs + } + return 0 +} + +func (x *InBattleMechanicusSettleInfo) GetTotalToken() uint32 { + if x != nil { + return x.TotalToken + } + return 0 +} + +func (x *InBattleMechanicusSettleInfo) GetRealToken() uint32 { + if x != nil { + return x.RealToken + } + return 0 +} + +func (x *InBattleMechanicusSettleInfo) GetWatcherList() []*MultistageSettleWatcherInfo { + if x != nil { + return x.WatcherList + } + return nil +} + +func (x *InBattleMechanicusSettleInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *InBattleMechanicusSettleInfo) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *InBattleMechanicusSettleInfo) GetDifficultyPercentage() uint32 { + if x != nil { + return x.DifficultyPercentage + } + return 0 +} + +func (x *InBattleMechanicusSettleInfo) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_InBattleMechanicusSettleInfo_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x02, 0x0a, 0x1c, 0x49, 0x6e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, + 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x33, 0x0a, 0x15, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, + 0x74, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x64, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusSettleInfo_proto_rawDescOnce sync.Once + file_InBattleMechanicusSettleInfo_proto_rawDescData = file_InBattleMechanicusSettleInfo_proto_rawDesc +) + +func file_InBattleMechanicusSettleInfo_proto_rawDescGZIP() []byte { + file_InBattleMechanicusSettleInfo_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusSettleInfo_proto_rawDescData) + }) + return file_InBattleMechanicusSettleInfo_proto_rawDescData +} + +var file_InBattleMechanicusSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusSettleInfo_proto_goTypes = []interface{}{ + (*InBattleMechanicusSettleInfo)(nil), // 0: InBattleMechanicusSettleInfo + (*MultistageSettleWatcherInfo)(nil), // 1: MultistageSettleWatcherInfo +} +var file_InBattleMechanicusSettleInfo_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusSettleInfo.watcher_list:type_name -> MultistageSettleWatcherInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusSettleInfo_proto_init() } +func file_InBattleMechanicusSettleInfo_proto_init() { + if File_InBattleMechanicusSettleInfo_proto != nil { + return + } + file_MultistageSettleWatcherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusSettleInfo_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusSettleInfo_proto_depIdxs, + MessageInfos: file_InBattleMechanicusSettleInfo_proto_msgTypes, + }.Build() + File_InBattleMechanicusSettleInfo_proto = out.File + file_InBattleMechanicusSettleInfo_proto_rawDesc = nil + file_InBattleMechanicusSettleInfo_proto_goTypes = nil + file_InBattleMechanicusSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.proto b/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.proto new file mode 100644 index 00000000..91bd2e7b --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusSettleInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MultistageSettleWatcherInfo.proto"; + +option go_package = "./;proto"; + +message InBattleMechanicusSettleInfo { + uint64 scene_time_ms = 15; + uint32 total_token = 4; + uint32 real_token = 8; + repeated MultistageSettleWatcherInfo watcher_list = 7; + bool is_success = 6; + uint32 play_index = 3; + uint32 difficulty_percentage = 10; + uint32 group_id = 13; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.pb.go b/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.pb.go new file mode 100644 index 00000000..55dcb8f8 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5305 +// EnetChannelId: 0 +// EnetIsReliable: true +type InBattleMechanicusSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + SceneTimeMs uint64 `protobuf:"varint,11,opt,name=scene_time_ms,json=sceneTimeMs,proto3" json:"scene_time_ms,omitempty"` + DifficultyPercentage uint32 `protobuf:"varint,6,opt,name=difficulty_percentage,json=difficultyPercentage,proto3" json:"difficulty_percentage,omitempty"` + TotalToken uint32 `protobuf:"varint,7,opt,name=total_token,json=totalToken,proto3" json:"total_token,omitempty"` + WatcherList []*MultistageSettleWatcherInfo `protobuf:"bytes,3,rep,name=watcher_list,json=watcherList,proto3" json:"watcher_list,omitempty"` + RealToken uint32 `protobuf:"varint,13,opt,name=real_token,json=realToken,proto3" json:"real_token,omitempty"` + IsSuccess bool `protobuf:"varint,2,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + PlayIndex uint32 `protobuf:"varint,14,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *InBattleMechanicusSettleNotify) Reset() { + *x = InBattleMechanicusSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InBattleMechanicusSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InBattleMechanicusSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InBattleMechanicusSettleNotify) ProtoMessage() {} + +func (x *InBattleMechanicusSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_InBattleMechanicusSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InBattleMechanicusSettleNotify.ProtoReflect.Descriptor instead. +func (*InBattleMechanicusSettleNotify) Descriptor() ([]byte, []int) { + return file_InBattleMechanicusSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InBattleMechanicusSettleNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InBattleMechanicusSettleNotify) GetSceneTimeMs() uint64 { + if x != nil { + return x.SceneTimeMs + } + return 0 +} + +func (x *InBattleMechanicusSettleNotify) GetDifficultyPercentage() uint32 { + if x != nil { + return x.DifficultyPercentage + } + return 0 +} + +func (x *InBattleMechanicusSettleNotify) GetTotalToken() uint32 { + if x != nil { + return x.TotalToken + } + return 0 +} + +func (x *InBattleMechanicusSettleNotify) GetWatcherList() []*MultistageSettleWatcherInfo { + if x != nil { + return x.WatcherList + } + return nil +} + +func (x *InBattleMechanicusSettleNotify) GetRealToken() uint32 { + if x != nil { + return x.RealToken + } + return 0 +} + +func (x *InBattleMechanicusSettleNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *InBattleMechanicusSettleNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_InBattleMechanicusSettleNotify_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x02, 0x0a, 0x1e, 0x49, 0x6e, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x33, 0x0a, 0x15, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, + 0x74, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x64, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusSettleNotify_proto_rawDescOnce sync.Once + file_InBattleMechanicusSettleNotify_proto_rawDescData = file_InBattleMechanicusSettleNotify_proto_rawDesc +) + +func file_InBattleMechanicusSettleNotify_proto_rawDescGZIP() []byte { + file_InBattleMechanicusSettleNotify_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusSettleNotify_proto_rawDescData) + }) + return file_InBattleMechanicusSettleNotify_proto_rawDescData +} + +var file_InBattleMechanicusSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InBattleMechanicusSettleNotify_proto_goTypes = []interface{}{ + (*InBattleMechanicusSettleNotify)(nil), // 0: InBattleMechanicusSettleNotify + (*MultistageSettleWatcherInfo)(nil), // 1: MultistageSettleWatcherInfo +} +var file_InBattleMechanicusSettleNotify_proto_depIdxs = []int32{ + 1, // 0: InBattleMechanicusSettleNotify.watcher_list:type_name -> MultistageSettleWatcherInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusSettleNotify_proto_init() } +func file_InBattleMechanicusSettleNotify_proto_init() { + if File_InBattleMechanicusSettleNotify_proto != nil { + return + } + file_MultistageSettleWatcherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InBattleMechanicusSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InBattleMechanicusSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusSettleNotify_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusSettleNotify_proto_depIdxs, + MessageInfos: file_InBattleMechanicusSettleNotify_proto_msgTypes, + }.Build() + File_InBattleMechanicusSettleNotify_proto = out.File + file_InBattleMechanicusSettleNotify_proto_rawDesc = nil + file_InBattleMechanicusSettleNotify_proto_goTypes = nil + file_InBattleMechanicusSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.proto b/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.proto new file mode 100644 index 00000000..5a4c5633 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusSettleNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MultistageSettleWatcherInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5305 +// EnetChannelId: 0 +// EnetIsReliable: true +message InBattleMechanicusSettleNotify { + uint32 group_id = 15; + uint64 scene_time_ms = 11; + uint32 difficulty_percentage = 6; + uint32 total_token = 7; + repeated MultistageSettleWatcherInfo watcher_list = 3; + uint32 real_token = 13; + bool is_success = 2; + uint32 play_index = 14; +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusStageType.pb.go b/gate-hk4e-api/proto/InBattleMechanicusStageType.pb.go new file mode 100644 index 00000000..60aa0388 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusStageType.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InBattleMechanicusStageType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InBattleMechanicusStageType int32 + +const ( + InBattleMechanicusStageType_IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE InBattleMechanicusStageType = 0 + InBattleMechanicusStageType_IN_BATTLE_MECHANICUS_STAGE_TYPE_BUILD InBattleMechanicusStageType = 1 + InBattleMechanicusStageType_IN_BATTLE_MECHANICUS_STAGE_TYPE_CARD_FLIP InBattleMechanicusStageType = 2 + InBattleMechanicusStageType_IN_BATTLE_MECHANICUS_STAGE_TYPE_KILL InBattleMechanicusStageType = 3 +) + +// Enum value maps for InBattleMechanicusStageType. +var ( + InBattleMechanicusStageType_name = map[int32]string{ + 0: "IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE", + 1: "IN_BATTLE_MECHANICUS_STAGE_TYPE_BUILD", + 2: "IN_BATTLE_MECHANICUS_STAGE_TYPE_CARD_FLIP", + 3: "IN_BATTLE_MECHANICUS_STAGE_TYPE_KILL", + } + InBattleMechanicusStageType_value = map[string]int32{ + "IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE": 0, + "IN_BATTLE_MECHANICUS_STAGE_TYPE_BUILD": 1, + "IN_BATTLE_MECHANICUS_STAGE_TYPE_CARD_FLIP": 2, + "IN_BATTLE_MECHANICUS_STAGE_TYPE_KILL": 3, + } +) + +func (x InBattleMechanicusStageType) Enum() *InBattleMechanicusStageType { + p := new(InBattleMechanicusStageType) + *p = x + return p +} + +func (x InBattleMechanicusStageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InBattleMechanicusStageType) Descriptor() protoreflect.EnumDescriptor { + return file_InBattleMechanicusStageType_proto_enumTypes[0].Descriptor() +} + +func (InBattleMechanicusStageType) Type() protoreflect.EnumType { + return &file_InBattleMechanicusStageType_proto_enumTypes[0] +} + +func (x InBattleMechanicusStageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InBattleMechanicusStageType.Descriptor instead. +func (InBattleMechanicusStageType) EnumDescriptor() ([]byte, []int) { + return file_InBattleMechanicusStageType_proto_rawDescGZIP(), []int{0} +} + +var File_InBattleMechanicusStageType_proto protoreflect.FileDescriptor + +var file_InBattleMechanicusStageType_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2a, 0xcb, 0x01, 0x0a, 0x1b, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x49, 0x4e, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, + 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x47, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x29, 0x0a, + 0x25, 0x49, 0x4e, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, + 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x2d, 0x0a, 0x29, 0x49, 0x4e, 0x5f, 0x42, + 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, + 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, + 0x5f, 0x46, 0x4c, 0x49, 0x50, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x49, 0x4e, 0x5f, 0x42, 0x41, + 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, + 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x10, + 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InBattleMechanicusStageType_proto_rawDescOnce sync.Once + file_InBattleMechanicusStageType_proto_rawDescData = file_InBattleMechanicusStageType_proto_rawDesc +) + +func file_InBattleMechanicusStageType_proto_rawDescGZIP() []byte { + file_InBattleMechanicusStageType_proto_rawDescOnce.Do(func() { + file_InBattleMechanicusStageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_InBattleMechanicusStageType_proto_rawDescData) + }) + return file_InBattleMechanicusStageType_proto_rawDescData +} + +var file_InBattleMechanicusStageType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InBattleMechanicusStageType_proto_goTypes = []interface{}{ + (InBattleMechanicusStageType)(0), // 0: InBattleMechanicusStageType +} +var file_InBattleMechanicusStageType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InBattleMechanicusStageType_proto_init() } +func file_InBattleMechanicusStageType_proto_init() { + if File_InBattleMechanicusStageType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InBattleMechanicusStageType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InBattleMechanicusStageType_proto_goTypes, + DependencyIndexes: file_InBattleMechanicusStageType_proto_depIdxs, + EnumInfos: file_InBattleMechanicusStageType_proto_enumTypes, + }.Build() + File_InBattleMechanicusStageType_proto = out.File + file_InBattleMechanicusStageType_proto_rawDesc = nil + file_InBattleMechanicusStageType_proto_goTypes = nil + file_InBattleMechanicusStageType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InBattleMechanicusStageType.proto b/gate-hk4e-api/proto/InBattleMechanicusStageType.proto new file mode 100644 index 00000000..effc7203 --- /dev/null +++ b/gate-hk4e-api/proto/InBattleMechanicusStageType.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum InBattleMechanicusStageType { + IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE = 0; + IN_BATTLE_MECHANICUS_STAGE_TYPE_BUILD = 1; + IN_BATTLE_MECHANICUS_STAGE_TYPE_CARD_FLIP = 2; + IN_BATTLE_MECHANICUS_STAGE_TYPE_KILL = 3; +} diff --git a/gate-hk4e-api/proto/InstableSprayDetailInfo.pb.go b/gate-hk4e-api/proto/InstableSprayDetailInfo.pb.go new file mode 100644 index 00000000..22e6f6ee --- /dev/null +++ b/gate-hk4e-api/proto/InstableSprayDetailInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InstableSprayDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InstableSprayDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHKHIPLDOOA []*Unk3000_ICLKJJNGOHN `protobuf:"bytes,9,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` +} + +func (x *InstableSprayDetailInfo) Reset() { + *x = InstableSprayDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InstableSprayDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InstableSprayDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InstableSprayDetailInfo) ProtoMessage() {} + +func (x *InstableSprayDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_InstableSprayDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InstableSprayDetailInfo.ProtoReflect.Descriptor instead. +func (*InstableSprayDetailInfo) Descriptor() ([]byte, []int) { + return file_InstableSprayDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InstableSprayDetailInfo) GetUnk2700_PHKHIPLDOOA() []*Unk3000_ICLKJJNGOHN { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +var File_InstableSprayDetailInfo_proto protoreflect.FileDescriptor + +var file_InstableSprayDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x4c, 0x4b, 0x4a, 0x4a, 0x4e, + 0x47, 0x4f, 0x48, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x17, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x4c, + 0x4b, 0x4a, 0x4a, 0x4e, 0x47, 0x4f, 0x48, 0x4e, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InstableSprayDetailInfo_proto_rawDescOnce sync.Once + file_InstableSprayDetailInfo_proto_rawDescData = file_InstableSprayDetailInfo_proto_rawDesc +) + +func file_InstableSprayDetailInfo_proto_rawDescGZIP() []byte { + file_InstableSprayDetailInfo_proto_rawDescOnce.Do(func() { + file_InstableSprayDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InstableSprayDetailInfo_proto_rawDescData) + }) + return file_InstableSprayDetailInfo_proto_rawDescData +} + +var file_InstableSprayDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InstableSprayDetailInfo_proto_goTypes = []interface{}{ + (*InstableSprayDetailInfo)(nil), // 0: InstableSprayDetailInfo + (*Unk3000_ICLKJJNGOHN)(nil), // 1: Unk3000_ICLKJJNGOHN +} +var file_InstableSprayDetailInfo_proto_depIdxs = []int32{ + 1, // 0: InstableSprayDetailInfo.Unk2700_PHKHIPLDOOA:type_name -> Unk3000_ICLKJJNGOHN + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InstableSprayDetailInfo_proto_init() } +func file_InstableSprayDetailInfo_proto_init() { + if File_InstableSprayDetailInfo_proto != nil { + return + } + file_Unk3000_ICLKJJNGOHN_proto_init() + if !protoimpl.UnsafeEnabled { + file_InstableSprayDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InstableSprayDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InstableSprayDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InstableSprayDetailInfo_proto_goTypes, + DependencyIndexes: file_InstableSprayDetailInfo_proto_depIdxs, + MessageInfos: file_InstableSprayDetailInfo_proto_msgTypes, + }.Build() + File_InstableSprayDetailInfo_proto = out.File + file_InstableSprayDetailInfo_proto_rawDesc = nil + file_InstableSprayDetailInfo_proto_goTypes = nil + file_InstableSprayDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InstableSprayDetailInfo.proto b/gate-hk4e-api/proto/InstableSprayDetailInfo.proto new file mode 100644 index 00000000..41318a3c --- /dev/null +++ b/gate-hk4e-api/proto/InstableSprayDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_ICLKJJNGOHN.proto"; + +option go_package = "./;proto"; + +message InstableSprayDetailInfo { + repeated Unk3000_ICLKJJNGOHN Unk2700_PHKHIPLDOOA = 9; +} diff --git a/gate-hk4e-api/proto/InstableSpraySettleInfo.pb.go b/gate-hk4e-api/proto/InstableSpraySettleInfo.pb.go new file mode 100644 index 00000000..220eb571 --- /dev/null +++ b/gate-hk4e-api/proto/InstableSpraySettleInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InstableSpraySettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InstableSpraySettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ScoreList []uint32 `protobuf:"varint,4,rep,packed,name=score_list,json=scoreList,proto3" json:"score_list,omitempty"` + IsNewRecord bool `protobuf:"varint,13,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + Difficulty uint32 `protobuf:"varint,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"` +} + +func (x *InstableSpraySettleInfo) Reset() { + *x = InstableSpraySettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_InstableSpraySettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InstableSpraySettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InstableSpraySettleInfo) ProtoMessage() {} + +func (x *InstableSpraySettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_InstableSpraySettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InstableSpraySettleInfo.ProtoReflect.Descriptor instead. +func (*InstableSpraySettleInfo) Descriptor() ([]byte, []int) { + return file_InstableSpraySettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *InstableSpraySettleInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *InstableSpraySettleInfo) GetScoreList() []uint32 { + if x != nil { + return x.ScoreList + } + return nil +} + +func (x *InstableSpraySettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *InstableSpraySettleInfo) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +var File_InstableSpraySettleInfo_proto protoreflect.FileDescriptor + +var file_InstableSpraySettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x97, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, + 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, + 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InstableSpraySettleInfo_proto_rawDescOnce sync.Once + file_InstableSpraySettleInfo_proto_rawDescData = file_InstableSpraySettleInfo_proto_rawDesc +) + +func file_InstableSpraySettleInfo_proto_rawDescGZIP() []byte { + file_InstableSpraySettleInfo_proto_rawDescOnce.Do(func() { + file_InstableSpraySettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_InstableSpraySettleInfo_proto_rawDescData) + }) + return file_InstableSpraySettleInfo_proto_rawDescData +} + +var file_InstableSpraySettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InstableSpraySettleInfo_proto_goTypes = []interface{}{ + (*InstableSpraySettleInfo)(nil), // 0: InstableSpraySettleInfo +} +var file_InstableSpraySettleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InstableSpraySettleInfo_proto_init() } +func file_InstableSpraySettleInfo_proto_init() { + if File_InstableSpraySettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InstableSpraySettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InstableSpraySettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InstableSpraySettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InstableSpraySettleInfo_proto_goTypes, + DependencyIndexes: file_InstableSpraySettleInfo_proto_depIdxs, + MessageInfos: file_InstableSpraySettleInfo_proto_msgTypes, + }.Build() + File_InstableSpraySettleInfo_proto = out.File + file_InstableSpraySettleInfo_proto_rawDesc = nil + file_InstableSpraySettleInfo_proto_goTypes = nil + file_InstableSpraySettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InstableSpraySettleInfo.proto b/gate-hk4e-api/proto/InstableSpraySettleInfo.proto new file mode 100644 index 00000000..d4f37791 --- /dev/null +++ b/gate-hk4e-api/proto/InstableSpraySettleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message InstableSpraySettleInfo { + uint32 stage_id = 1; + repeated uint32 score_list = 4; + bool is_new_record = 13; + uint32 difficulty = 5; +} diff --git a/gate-hk4e-api/proto/InterOpType.pb.go b/gate-hk4e-api/proto/InterOpType.pb.go new file mode 100644 index 00000000..7b53de93 --- /dev/null +++ b/gate-hk4e-api/proto/InterOpType.pb.go @@ -0,0 +1,144 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InterOpType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InterOpType int32 + +const ( + InterOpType_INTER_OP_TYPE_FINISH InterOpType = 0 + InterOpType_INTER_OP_TYPE_START InterOpType = 1 +) + +// Enum value maps for InterOpType. +var ( + InterOpType_name = map[int32]string{ + 0: "INTER_OP_TYPE_FINISH", + 1: "INTER_OP_TYPE_START", + } + InterOpType_value = map[string]int32{ + "INTER_OP_TYPE_FINISH": 0, + "INTER_OP_TYPE_START": 1, + } +) + +func (x InterOpType) Enum() *InterOpType { + p := new(InterOpType) + *p = x + return p +} + +func (x InterOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InterOpType) Descriptor() protoreflect.EnumDescriptor { + return file_InterOpType_proto_enumTypes[0].Descriptor() +} + +func (InterOpType) Type() protoreflect.EnumType { + return &file_InterOpType_proto_enumTypes[0] +} + +func (x InterOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InterOpType.Descriptor instead. +func (InterOpType) EnumDescriptor() ([]byte, []int) { + return file_InterOpType_proto_rawDescGZIP(), []int{0} +} + +var File_InterOpType_proto protoreflect.FileDescriptor + +var file_InterOpType_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2a, 0x40, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, + 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, + 0x41, 0x52, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InterOpType_proto_rawDescOnce sync.Once + file_InterOpType_proto_rawDescData = file_InterOpType_proto_rawDesc +) + +func file_InterOpType_proto_rawDescGZIP() []byte { + file_InterOpType_proto_rawDescOnce.Do(func() { + file_InterOpType_proto_rawDescData = protoimpl.X.CompressGZIP(file_InterOpType_proto_rawDescData) + }) + return file_InterOpType_proto_rawDescData +} + +var file_InterOpType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InterOpType_proto_goTypes = []interface{}{ + (InterOpType)(0), // 0: InterOpType +} +var file_InterOpType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InterOpType_proto_init() } +func file_InterOpType_proto_init() { + if File_InterOpType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InterOpType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InterOpType_proto_goTypes, + DependencyIndexes: file_InterOpType_proto_depIdxs, + EnumInfos: file_InterOpType_proto_enumTypes, + }.Build() + File_InterOpType_proto = out.File + file_InterOpType_proto_rawDesc = nil + file_InterOpType_proto_goTypes = nil + file_InterOpType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InterOpType.proto b/gate-hk4e-api/proto/InterOpType.proto new file mode 100644 index 00000000..49833d9e --- /dev/null +++ b/gate-hk4e-api/proto/InterOpType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum InterOpType { + INTER_OP_TYPE_FINISH = 0; + INTER_OP_TYPE_START = 1; +} diff --git a/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.pb.go b/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.pb.go new file mode 100644 index 00000000..a5c1a276 --- /dev/null +++ b/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InteractDailyDungeonInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type InteractDailyDungeonInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *InteractDailyDungeonInfoNotify) Reset() { + *x = InteractDailyDungeonInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InteractDailyDungeonInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractDailyDungeonInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractDailyDungeonInfoNotify) ProtoMessage() {} + +func (x *InteractDailyDungeonInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_InteractDailyDungeonInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractDailyDungeonInfoNotify.ProtoReflect.Descriptor instead. +func (*InteractDailyDungeonInfoNotify) Descriptor() ([]byte, []int) { + return file_InteractDailyDungeonInfoNotify_proto_rawDescGZIP(), []int{0} +} + +var File_InteractDailyDungeonInfoNotify_proto protoreflect.FileDescriptor + +var file_InteractDailyDungeonInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InteractDailyDungeonInfoNotify_proto_rawDescOnce sync.Once + file_InteractDailyDungeonInfoNotify_proto_rawDescData = file_InteractDailyDungeonInfoNotify_proto_rawDesc +) + +func file_InteractDailyDungeonInfoNotify_proto_rawDescGZIP() []byte { + file_InteractDailyDungeonInfoNotify_proto_rawDescOnce.Do(func() { + file_InteractDailyDungeonInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InteractDailyDungeonInfoNotify_proto_rawDescData) + }) + return file_InteractDailyDungeonInfoNotify_proto_rawDescData +} + +var file_InteractDailyDungeonInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InteractDailyDungeonInfoNotify_proto_goTypes = []interface{}{ + (*InteractDailyDungeonInfoNotify)(nil), // 0: InteractDailyDungeonInfoNotify +} +var file_InteractDailyDungeonInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InteractDailyDungeonInfoNotify_proto_init() } +func file_InteractDailyDungeonInfoNotify_proto_init() { + if File_InteractDailyDungeonInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InteractDailyDungeonInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractDailyDungeonInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InteractDailyDungeonInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InteractDailyDungeonInfoNotify_proto_goTypes, + DependencyIndexes: file_InteractDailyDungeonInfoNotify_proto_depIdxs, + MessageInfos: file_InteractDailyDungeonInfoNotify_proto_msgTypes, + }.Build() + File_InteractDailyDungeonInfoNotify_proto = out.File + file_InteractDailyDungeonInfoNotify_proto_rawDesc = nil + file_InteractDailyDungeonInfoNotify_proto_goTypes = nil + file_InteractDailyDungeonInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.proto b/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.proto new file mode 100644 index 00000000..88835793 --- /dev/null +++ b/gate-hk4e-api/proto/InteractDailyDungeonInfoNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message InteractDailyDungeonInfoNotify {} diff --git a/gate-hk4e-api/proto/InteractType.pb.go b/gate-hk4e-api/proto/InteractType.pb.go new file mode 100644 index 00000000..3ab02189 --- /dev/null +++ b/gate-hk4e-api/proto/InteractType.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InteractType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InteractType int32 + +const ( + InteractType_INTERACT_TYPE_NONE InteractType = 0 + InteractType_INTERACT_TYPE_PICK_ITEM InteractType = 1 + InteractType_INTERACT_TYPE_GATHER InteractType = 2 + InteractType_INTERACT_TYPE_OPEN_CHEST InteractType = 3 + InteractType_INTERACT_TYPE_OPEN_STATUE InteractType = 4 + InteractType_INTERACT_TYPE_CONSUM InteractType = 5 + InteractType_INTERACT_TYPE_MP_PLAY_REWARD InteractType = 6 + InteractType_INTERACT_TYPE_VIEW InteractType = 7 + InteractType_INTERACT_TYPE_GENERAL_REWARD InteractType = 8 + InteractType_INTERACT_TYPE_MIRACLE_RING InteractType = 9 + InteractType_INTERACT_TYPE_FOUNDATION InteractType = 10 + InteractType_INTERACT_TYPE_ECHO_SHELL InteractType = 11 + InteractType_INTERACT_TYPE_HOME_GATHER InteractType = 12 + InteractType_INTERACT_TYPE_ENV_ANIMAL InteractType = 13 + InteractType_INTERACT_TYPE_QUEST_GADGET InteractType = 14 + InteractType_INTERACT_TYPE_Unk2700_LIEIKFDFMGF InteractType = 15 + InteractType_INTERACT_TYPE_Unk3000_NMOCFKDNCOB InteractType = 16 +) + +// Enum value maps for InteractType. +var ( + InteractType_name = map[int32]string{ + 0: "INTERACT_TYPE_NONE", + 1: "INTERACT_TYPE_PICK_ITEM", + 2: "INTERACT_TYPE_GATHER", + 3: "INTERACT_TYPE_OPEN_CHEST", + 4: "INTERACT_TYPE_OPEN_STATUE", + 5: "INTERACT_TYPE_CONSUM", + 6: "INTERACT_TYPE_MP_PLAY_REWARD", + 7: "INTERACT_TYPE_VIEW", + 8: "INTERACT_TYPE_GENERAL_REWARD", + 9: "INTERACT_TYPE_MIRACLE_RING", + 10: "INTERACT_TYPE_FOUNDATION", + 11: "INTERACT_TYPE_ECHO_SHELL", + 12: "INTERACT_TYPE_HOME_GATHER", + 13: "INTERACT_TYPE_ENV_ANIMAL", + 14: "INTERACT_TYPE_QUEST_GADGET", + 15: "INTERACT_TYPE_Unk2700_LIEIKFDFMGF", + 16: "INTERACT_TYPE_Unk3000_NMOCFKDNCOB", + } + InteractType_value = map[string]int32{ + "INTERACT_TYPE_NONE": 0, + "INTERACT_TYPE_PICK_ITEM": 1, + "INTERACT_TYPE_GATHER": 2, + "INTERACT_TYPE_OPEN_CHEST": 3, + "INTERACT_TYPE_OPEN_STATUE": 4, + "INTERACT_TYPE_CONSUM": 5, + "INTERACT_TYPE_MP_PLAY_REWARD": 6, + "INTERACT_TYPE_VIEW": 7, + "INTERACT_TYPE_GENERAL_REWARD": 8, + "INTERACT_TYPE_MIRACLE_RING": 9, + "INTERACT_TYPE_FOUNDATION": 10, + "INTERACT_TYPE_ECHO_SHELL": 11, + "INTERACT_TYPE_HOME_GATHER": 12, + "INTERACT_TYPE_ENV_ANIMAL": 13, + "INTERACT_TYPE_QUEST_GADGET": 14, + "INTERACT_TYPE_Unk2700_LIEIKFDFMGF": 15, + "INTERACT_TYPE_Unk3000_NMOCFKDNCOB": 16, + } +) + +func (x InteractType) Enum() *InteractType { + p := new(InteractType) + *p = x + return p +} + +func (x InteractType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InteractType) Descriptor() protoreflect.EnumDescriptor { + return file_InteractType_proto_enumTypes[0].Descriptor() +} + +func (InteractType) Type() protoreflect.EnumType { + return &file_InteractType_proto_enumTypes[0] +} + +func (x InteractType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InteractType.Descriptor instead. +func (InteractType) EnumDescriptor() ([]byte, []int) { + return file_InteractType_proto_rawDescGZIP(), []int{0} +} + +var File_InteractType_proto protoreflect.FileDescriptor + +var file_InteractType_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x97, 0x04, 0x0a, 0x0c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, + 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, + 0x49, 0x43, 0x4b, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x41, 0x54, 0x48, + 0x45, 0x52, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, + 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x10, + 0x04, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x12, 0x20, 0x0a, 0x1c, 0x49, + 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x50, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0x06, 0x12, 0x16, 0x0a, + 0x12, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, + 0x49, 0x45, 0x57, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x5f, 0x52, + 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0x08, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, + 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x43, 0x48, 0x4f, 0x5f, 0x53, 0x48, 0x45, 0x4c, + 0x4c, 0x10, 0x0b, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x47, 0x41, 0x54, 0x48, 0x45, 0x52, + 0x10, 0x0c, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x56, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x0d, + 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x10, 0x0e, + 0x12, 0x25, 0x0a, 0x21, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x45, 0x49, 0x4b, 0x46, + 0x44, 0x46, 0x4d, 0x47, 0x46, 0x10, 0x0f, 0x12, 0x25, 0x0a, 0x21, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x4e, 0x4d, 0x4f, 0x43, 0x46, 0x4b, 0x44, 0x4e, 0x43, 0x4f, 0x42, 0x10, 0x10, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_InteractType_proto_rawDescOnce sync.Once + file_InteractType_proto_rawDescData = file_InteractType_proto_rawDesc +) + +func file_InteractType_proto_rawDescGZIP() []byte { + file_InteractType_proto_rawDescOnce.Do(func() { + file_InteractType_proto_rawDescData = protoimpl.X.CompressGZIP(file_InteractType_proto_rawDescData) + }) + return file_InteractType_proto_rawDescData +} + +var file_InteractType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InteractType_proto_goTypes = []interface{}{ + (InteractType)(0), // 0: InteractType +} +var file_InteractType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InteractType_proto_init() } +func file_InteractType_proto_init() { + if File_InteractType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InteractType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InteractType_proto_goTypes, + DependencyIndexes: file_InteractType_proto_depIdxs, + EnumInfos: file_InteractType_proto_enumTypes, + }.Build() + File_InteractType_proto = out.File + file_InteractType_proto_rawDesc = nil + file_InteractType_proto_goTypes = nil + file_InteractType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InteractType.proto b/gate-hk4e-api/proto/InteractType.proto new file mode 100644 index 00000000..69a7030d --- /dev/null +++ b/gate-hk4e-api/proto/InteractType.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum InteractType { + INTERACT_TYPE_NONE = 0; + INTERACT_TYPE_PICK_ITEM = 1; + INTERACT_TYPE_GATHER = 2; + INTERACT_TYPE_OPEN_CHEST = 3; + INTERACT_TYPE_OPEN_STATUE = 4; + INTERACT_TYPE_CONSUM = 5; + INTERACT_TYPE_MP_PLAY_REWARD = 6; + INTERACT_TYPE_VIEW = 7; + INTERACT_TYPE_GENERAL_REWARD = 8; + INTERACT_TYPE_MIRACLE_RING = 9; + INTERACT_TYPE_FOUNDATION = 10; + INTERACT_TYPE_ECHO_SHELL = 11; + INTERACT_TYPE_HOME_GATHER = 12; + INTERACT_TYPE_ENV_ANIMAL = 13; + INTERACT_TYPE_QUEST_GADGET = 14; + INTERACT_TYPE_Unk2700_LIEIKFDFMGF = 15; + INTERACT_TYPE_Unk3000_NMOCFKDNCOB = 16; +} diff --git a/gate-hk4e-api/proto/InterruptGalleryReq.pb.go b/gate-hk4e-api/proto/InterruptGalleryReq.pb.go new file mode 100644 index 00000000..f40e7aae --- /dev/null +++ b/gate-hk4e-api/proto/InterruptGalleryReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InterruptGalleryReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5548 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type InterruptGalleryReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *InterruptGalleryReq) Reset() { + *x = InterruptGalleryReq{} + if protoimpl.UnsafeEnabled { + mi := &file_InterruptGalleryReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterruptGalleryReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterruptGalleryReq) ProtoMessage() {} + +func (x *InterruptGalleryReq) ProtoReflect() protoreflect.Message { + mi := &file_InterruptGalleryReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterruptGalleryReq.ProtoReflect.Descriptor instead. +func (*InterruptGalleryReq) Descriptor() ([]byte, []int) { + return file_InterruptGalleryReq_proto_rawDescGZIP(), []int{0} +} + +func (x *InterruptGalleryReq) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_InterruptGalleryReq_proto protoreflect.FileDescriptor + +var file_InterruptGalleryReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InterruptGalleryReq_proto_rawDescOnce sync.Once + file_InterruptGalleryReq_proto_rawDescData = file_InterruptGalleryReq_proto_rawDesc +) + +func file_InterruptGalleryReq_proto_rawDescGZIP() []byte { + file_InterruptGalleryReq_proto_rawDescOnce.Do(func() { + file_InterruptGalleryReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_InterruptGalleryReq_proto_rawDescData) + }) + return file_InterruptGalleryReq_proto_rawDescData +} + +var file_InterruptGalleryReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InterruptGalleryReq_proto_goTypes = []interface{}{ + (*InterruptGalleryReq)(nil), // 0: InterruptGalleryReq +} +var file_InterruptGalleryReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InterruptGalleryReq_proto_init() } +func file_InterruptGalleryReq_proto_init() { + if File_InterruptGalleryReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InterruptGalleryReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterruptGalleryReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InterruptGalleryReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InterruptGalleryReq_proto_goTypes, + DependencyIndexes: file_InterruptGalleryReq_proto_depIdxs, + MessageInfos: file_InterruptGalleryReq_proto_msgTypes, + }.Build() + File_InterruptGalleryReq_proto = out.File + file_InterruptGalleryReq_proto_rawDesc = nil + file_InterruptGalleryReq_proto_goTypes = nil + file_InterruptGalleryReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InterruptGalleryReq.proto b/gate-hk4e-api/proto/InterruptGalleryReq.proto new file mode 100644 index 00000000..a3afc797 --- /dev/null +++ b/gate-hk4e-api/proto/InterruptGalleryReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5548 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message InterruptGalleryReq { + uint32 gallery_id = 13; +} diff --git a/gate-hk4e-api/proto/InterruptGalleryRsp.pb.go b/gate-hk4e-api/proto/InterruptGalleryRsp.pb.go new file mode 100644 index 00000000..b95d52d3 --- /dev/null +++ b/gate-hk4e-api/proto/InterruptGalleryRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InterruptGalleryRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type InterruptGalleryRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + GalleryId uint32 `protobuf:"varint,9,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *InterruptGalleryRsp) Reset() { + *x = InterruptGalleryRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_InterruptGalleryRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterruptGalleryRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterruptGalleryRsp) ProtoMessage() {} + +func (x *InterruptGalleryRsp) ProtoReflect() protoreflect.Message { + mi := &file_InterruptGalleryRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterruptGalleryRsp.ProtoReflect.Descriptor instead. +func (*InterruptGalleryRsp) Descriptor() ([]byte, []int) { + return file_InterruptGalleryRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *InterruptGalleryRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *InterruptGalleryRsp) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_InterruptGalleryRsp_proto protoreflect.FileDescriptor + +var file_InterruptGalleryRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InterruptGalleryRsp_proto_rawDescOnce sync.Once + file_InterruptGalleryRsp_proto_rawDescData = file_InterruptGalleryRsp_proto_rawDesc +) + +func file_InterruptGalleryRsp_proto_rawDescGZIP() []byte { + file_InterruptGalleryRsp_proto_rawDescOnce.Do(func() { + file_InterruptGalleryRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_InterruptGalleryRsp_proto_rawDescData) + }) + return file_InterruptGalleryRsp_proto_rawDescData +} + +var file_InterruptGalleryRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InterruptGalleryRsp_proto_goTypes = []interface{}{ + (*InterruptGalleryRsp)(nil), // 0: InterruptGalleryRsp +} +var file_InterruptGalleryRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_InterruptGalleryRsp_proto_init() } +func file_InterruptGalleryRsp_proto_init() { + if File_InterruptGalleryRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InterruptGalleryRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterruptGalleryRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InterruptGalleryRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InterruptGalleryRsp_proto_goTypes, + DependencyIndexes: file_InterruptGalleryRsp_proto_depIdxs, + MessageInfos: file_InterruptGalleryRsp_proto_msgTypes, + }.Build() + File_InterruptGalleryRsp_proto = out.File + file_InterruptGalleryRsp_proto_rawDesc = nil + file_InterruptGalleryRsp_proto_goTypes = nil + file_InterruptGalleryRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InterruptGalleryRsp.proto b/gate-hk4e-api/proto/InterruptGalleryRsp.proto new file mode 100644 index 00000000..9214629e --- /dev/null +++ b/gate-hk4e-api/proto/InterruptGalleryRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message InterruptGalleryRsp { + int32 retcode = 12; + uint32 gallery_id = 9; +} diff --git a/gate-hk4e-api/proto/Investigation.pb.go b/gate-hk4e-api/proto/Investigation.pb.go new file mode 100644 index 00000000..7445a013 --- /dev/null +++ b/gate-hk4e-api/proto/Investigation.pb.go @@ -0,0 +1,250 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Investigation.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Investigation_State int32 + +const ( + Investigation_STATE_INVALID Investigation_State = 0 + Investigation_STATE_IN_PROGRESS Investigation_State = 1 + Investigation_STATE_COMPLETE Investigation_State = 2 + Investigation_STATE_REWARD_TAKEN Investigation_State = 3 +) + +// Enum value maps for Investigation_State. +var ( + Investigation_State_name = map[int32]string{ + 0: "STATE_INVALID", + 1: "STATE_IN_PROGRESS", + 2: "STATE_COMPLETE", + 3: "STATE_REWARD_TAKEN", + } + Investigation_State_value = map[string]int32{ + "STATE_INVALID": 0, + "STATE_IN_PROGRESS": 1, + "STATE_COMPLETE": 2, + "STATE_REWARD_TAKEN": 3, + } +) + +func (x Investigation_State) Enum() *Investigation_State { + p := new(Investigation_State) + *p = x + return p +} + +func (x Investigation_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Investigation_State) Descriptor() protoreflect.EnumDescriptor { + return file_Investigation_proto_enumTypes[0].Descriptor() +} + +func (Investigation_State) Type() protoreflect.EnumType { + return &file_Investigation_proto_enumTypes[0] +} + +func (x Investigation_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Investigation_State.Descriptor instead. +func (Investigation_State) EnumDescriptor() ([]byte, []int) { + return file_Investigation_proto_rawDescGZIP(), []int{0, 0} +} + +type Investigation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalProgress uint32 `protobuf:"varint,5,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + State Investigation_State `protobuf:"varint,2,opt,name=state,proto3,enum=Investigation_State" json:"state,omitempty"` + Progress uint32 `protobuf:"varint,13,opt,name=progress,proto3" json:"progress,omitempty"` + Id uint32 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Investigation) Reset() { + *x = Investigation{} + if protoimpl.UnsafeEnabled { + mi := &file_Investigation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Investigation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Investigation) ProtoMessage() {} + +func (x *Investigation) ProtoReflect() protoreflect.Message { + mi := &file_Investigation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Investigation.ProtoReflect.Descriptor instead. +func (*Investigation) Descriptor() ([]byte, []int) { + return file_Investigation_proto_rawDescGZIP(), []int{0} +} + +func (x *Investigation) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *Investigation) GetState() Investigation_State { + if x != nil { + return x.State + } + return Investigation_STATE_INVALID +} + +func (x *Investigation) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *Investigation) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Investigation_proto protoreflect.FileDescriptor + +var file_Investigation_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5d, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, + 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, 0x16, 0x0a, + 0x12, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x41, + 0x4b, 0x45, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Investigation_proto_rawDescOnce sync.Once + file_Investigation_proto_rawDescData = file_Investigation_proto_rawDesc +) + +func file_Investigation_proto_rawDescGZIP() []byte { + file_Investigation_proto_rawDescOnce.Do(func() { + file_Investigation_proto_rawDescData = protoimpl.X.CompressGZIP(file_Investigation_proto_rawDescData) + }) + return file_Investigation_proto_rawDescData +} + +var file_Investigation_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Investigation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Investigation_proto_goTypes = []interface{}{ + (Investigation_State)(0), // 0: Investigation.State + (*Investigation)(nil), // 1: Investigation +} +var file_Investigation_proto_depIdxs = []int32{ + 0, // 0: Investigation.state:type_name -> Investigation.State + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Investigation_proto_init() } +func file_Investigation_proto_init() { + if File_Investigation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Investigation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Investigation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Investigation_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Investigation_proto_goTypes, + DependencyIndexes: file_Investigation_proto_depIdxs, + EnumInfos: file_Investigation_proto_enumTypes, + MessageInfos: file_Investigation_proto_msgTypes, + }.Build() + File_Investigation_proto = out.File + file_Investigation_proto_rawDesc = nil + file_Investigation_proto_goTypes = nil + file_Investigation_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Investigation.proto b/gate-hk4e-api/proto/Investigation.proto new file mode 100644 index 00000000..0a87c9e4 --- /dev/null +++ b/gate-hk4e-api/proto/Investigation.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Investigation { + uint32 total_progress = 5; + State state = 2; + uint32 progress = 13; + uint32 id = 9; + + enum State { + STATE_INVALID = 0; + STATE_IN_PROGRESS = 1; + STATE_COMPLETE = 2; + STATE_REWARD_TAKEN = 3; + } +} diff --git a/gate-hk4e-api/proto/InvestigationMonster.pb.go b/gate-hk4e-api/proto/InvestigationMonster.pb.go new file mode 100644 index 00000000..35f2285b --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationMonster.pb.go @@ -0,0 +1,389 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InvestigationMonster.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InvestigationMonster_LockState int32 + +const ( + InvestigationMonster_LOCK_STATE_NONE InvestigationMonster_LockState = 0 + InvestigationMonster_LOCK_STATE_QUEST InvestigationMonster_LockState = 1 +) + +// Enum value maps for InvestigationMonster_LockState. +var ( + InvestigationMonster_LockState_name = map[int32]string{ + 0: "LOCK_STATE_NONE", + 1: "LOCK_STATE_QUEST", + } + InvestigationMonster_LockState_value = map[string]int32{ + "LOCK_STATE_NONE": 0, + "LOCK_STATE_QUEST": 1, + } +) + +func (x InvestigationMonster_LockState) Enum() *InvestigationMonster_LockState { + p := new(InvestigationMonster_LockState) + *p = x + return p +} + +func (x InvestigationMonster_LockState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InvestigationMonster_LockState) Descriptor() protoreflect.EnumDescriptor { + return file_InvestigationMonster_proto_enumTypes[0].Descriptor() +} + +func (InvestigationMonster_LockState) Type() protoreflect.EnumType { + return &file_InvestigationMonster_proto_enumTypes[0] +} + +func (x InvestigationMonster_LockState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InvestigationMonster_LockState.Descriptor instead. +func (InvestigationMonster_LockState) EnumDescriptor() ([]byte, []int) { + return file_InvestigationMonster_proto_rawDescGZIP(), []int{0, 0} +} + +type InvestigationMonster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAlive bool `protobuf:"varint,9,opt,name=is_alive,json=isAlive,proto3" json:"is_alive,omitempty"` + RefreshInterval uint32 `protobuf:"varint,3,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"` + Id uint32 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` + Level uint32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` + BossChestNum uint32 `protobuf:"varint,1,opt,name=boss_chest_num,json=bossChestNum,proto3" json:"boss_chest_num,omitempty"` + WeeklyBossResinDiscountInfo *WeeklyBossResinDiscountInfo `protobuf:"bytes,12,opt,name=weekly_boss_resin_discount_info,json=weeklyBossResinDiscountInfo,proto3" json:"weekly_boss_resin_discount_info,omitempty"` + MonsterId uint32 `protobuf:"varint,301,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + Pos *Vector `protobuf:"bytes,14,opt,name=pos,proto3" json:"pos,omitempty"` + Resin uint32 `protobuf:"varint,8,opt,name=resin,proto3" json:"resin,omitempty"` + MaxBossChestNum uint32 `protobuf:"varint,4,opt,name=max_boss_chest_num,json=maxBossChestNum,proto3" json:"max_boss_chest_num,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,11,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + GroupId uint32 `protobuf:"varint,285,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + SceneId uint32 `protobuf:"varint,10,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + IsAreaLocked bool `protobuf:"varint,15,opt,name=is_area_locked,json=isAreaLocked,proto3" json:"is_area_locked,omitempty"` + LockState InvestigationMonster_LockState `protobuf:"varint,2,opt,name=lock_state,json=lockState,proto3,enum=InvestigationMonster_LockState" json:"lock_state,omitempty"` + NextBossChestRefreshTime uint32 `protobuf:"varint,7,opt,name=next_boss_chest_refresh_time,json=nextBossChestRefreshTime,proto3" json:"next_boss_chest_refresh_time,omitempty"` + CityId uint32 `protobuf:"varint,6,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *InvestigationMonster) Reset() { + *x = InvestigationMonster{} + if protoimpl.UnsafeEnabled { + mi := &file_InvestigationMonster_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InvestigationMonster) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InvestigationMonster) ProtoMessage() {} + +func (x *InvestigationMonster) ProtoReflect() protoreflect.Message { + mi := &file_InvestigationMonster_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InvestigationMonster.ProtoReflect.Descriptor instead. +func (*InvestigationMonster) Descriptor() ([]byte, []int) { + return file_InvestigationMonster_proto_rawDescGZIP(), []int{0} +} + +func (x *InvestigationMonster) GetIsAlive() bool { + if x != nil { + return x.IsAlive + } + return false +} + +func (x *InvestigationMonster) GetRefreshInterval() uint32 { + if x != nil { + return x.RefreshInterval + } + return 0 +} + +func (x *InvestigationMonster) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *InvestigationMonster) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *InvestigationMonster) GetBossChestNum() uint32 { + if x != nil { + return x.BossChestNum + } + return 0 +} + +func (x *InvestigationMonster) GetWeeklyBossResinDiscountInfo() *WeeklyBossResinDiscountInfo { + if x != nil { + return x.WeeklyBossResinDiscountInfo + } + return nil +} + +func (x *InvestigationMonster) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *InvestigationMonster) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *InvestigationMonster) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *InvestigationMonster) GetMaxBossChestNum() uint32 { + if x != nil { + return x.MaxBossChestNum + } + return 0 +} + +func (x *InvestigationMonster) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *InvestigationMonster) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *InvestigationMonster) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *InvestigationMonster) GetIsAreaLocked() bool { + if x != nil { + return x.IsAreaLocked + } + return false +} + +func (x *InvestigationMonster) GetLockState() InvestigationMonster_LockState { + if x != nil { + return x.LockState + } + return InvestigationMonster_LOCK_STATE_NONE +} + +func (x *InvestigationMonster) GetNextBossChestRefreshTime() uint32 { + if x != nil { + return x.NextBossChestRefreshTime + } + return 0 +} + +func (x *InvestigationMonster) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_InvestigationMonster_proto protoreflect.FileDescriptor + +var file_InvestigationMonster_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x57, 0x65, 0x65, 0x6b, + 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x05, + 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x69, + 0x76, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x6c, 0x69, 0x76, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x74, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x62, 0x6f, 0x73, 0x73, + 0x43, 0x68, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x62, 0x0a, 0x1f, 0x77, 0x65, 0x65, 0x6b, + 0x6c, 0x79, 0x5f, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x64, 0x69, + 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, + 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x1b, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0xad, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, + 0x70, 0x6f, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x12, 0x2b, 0x0a, + 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x74, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x42, 0x6f, + 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, + 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x9d, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, + 0x0e, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x41, 0x72, 0x65, 0x61, 0x4c, 0x6f, 0x63, + 0x6b, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x4c, + 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x1c, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x73, 0x73, + 0x5f, 0x63, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x6e, 0x65, 0x78, 0x74, 0x42, + 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x09, + 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x43, + 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x14, + 0x0a, 0x10, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InvestigationMonster_proto_rawDescOnce sync.Once + file_InvestigationMonster_proto_rawDescData = file_InvestigationMonster_proto_rawDesc +) + +func file_InvestigationMonster_proto_rawDescGZIP() []byte { + file_InvestigationMonster_proto_rawDescOnce.Do(func() { + file_InvestigationMonster_proto_rawDescData = protoimpl.X.CompressGZIP(file_InvestigationMonster_proto_rawDescData) + }) + return file_InvestigationMonster_proto_rawDescData +} + +var file_InvestigationMonster_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InvestigationMonster_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InvestigationMonster_proto_goTypes = []interface{}{ + (InvestigationMonster_LockState)(0), // 0: InvestigationMonster.LockState + (*InvestigationMonster)(nil), // 1: InvestigationMonster + (*WeeklyBossResinDiscountInfo)(nil), // 2: WeeklyBossResinDiscountInfo + (*Vector)(nil), // 3: Vector +} +var file_InvestigationMonster_proto_depIdxs = []int32{ + 2, // 0: InvestigationMonster.weekly_boss_resin_discount_info:type_name -> WeeklyBossResinDiscountInfo + 3, // 1: InvestigationMonster.pos:type_name -> Vector + 0, // 2: InvestigationMonster.lock_state:type_name -> InvestigationMonster.LockState + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_InvestigationMonster_proto_init() } +func file_InvestigationMonster_proto_init() { + if File_InvestigationMonster_proto != nil { + return + } + file_Vector_proto_init() + file_WeeklyBossResinDiscountInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_InvestigationMonster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvestigationMonster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InvestigationMonster_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InvestigationMonster_proto_goTypes, + DependencyIndexes: file_InvestigationMonster_proto_depIdxs, + EnumInfos: file_InvestigationMonster_proto_enumTypes, + MessageInfos: file_InvestigationMonster_proto_msgTypes, + }.Build() + File_InvestigationMonster_proto = out.File + file_InvestigationMonster_proto_rawDesc = nil + file_InvestigationMonster_proto_goTypes = nil + file_InvestigationMonster_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InvestigationMonster.proto b/gate-hk4e-api/proto/InvestigationMonster.proto new file mode 100644 index 00000000..88ae47e7 --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationMonster.proto @@ -0,0 +1,47 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; +import "WeeklyBossResinDiscountInfo.proto"; + +option go_package = "./;proto"; + +message InvestigationMonster { + bool is_alive = 9; + uint32 refresh_interval = 3; + uint32 id = 13; + uint32 level = 5; + uint32 boss_chest_num = 1; + WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; + uint32 monster_id = 301; + Vector pos = 14; + uint32 resin = 8; + uint32 max_boss_chest_num = 4; + uint32 next_refresh_time = 11; + uint32 group_id = 285; + uint32 scene_id = 10; + bool is_area_locked = 15; + LockState lock_state = 2; + uint32 next_boss_chest_refresh_time = 7; + uint32 city_id = 6; + + enum LockState { + LOCK_STATE_NONE = 0; + LOCK_STATE_QUEST = 1; + } +} diff --git a/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.pb.go b/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.pb.go new file mode 100644 index 00000000..11289d6b --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InvestigationMonsterUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1906 +// EnetChannelId: 0 +// EnetIsReliable: true +type InvestigationMonsterUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InvestigationMonster *InvestigationMonster `protobuf:"bytes,5,opt,name=investigation_monster,json=investigationMonster,proto3" json:"investigation_monster,omitempty"` +} + +func (x *InvestigationMonsterUpdateNotify) Reset() { + *x = InvestigationMonsterUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_InvestigationMonsterUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InvestigationMonsterUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InvestigationMonsterUpdateNotify) ProtoMessage() {} + +func (x *InvestigationMonsterUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_InvestigationMonsterUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InvestigationMonsterUpdateNotify.ProtoReflect.Descriptor instead. +func (*InvestigationMonsterUpdateNotify) Descriptor() ([]byte, []int) { + return file_InvestigationMonsterUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *InvestigationMonsterUpdateNotify) GetInvestigationMonster() *InvestigationMonster { + if x != nil { + return x.InvestigationMonster + } + return nil +} + +var File_InvestigationMonsterUpdateNotify_proto protoreflect.FileDescriptor + +var file_InvestigationMonsterUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x20, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4a, 0x0a, 0x15, 0x69, 0x6e, 0x76, 0x65, + 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x14, + 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_InvestigationMonsterUpdateNotify_proto_rawDescOnce sync.Once + file_InvestigationMonsterUpdateNotify_proto_rawDescData = file_InvestigationMonsterUpdateNotify_proto_rawDesc +) + +func file_InvestigationMonsterUpdateNotify_proto_rawDescGZIP() []byte { + file_InvestigationMonsterUpdateNotify_proto_rawDescOnce.Do(func() { + file_InvestigationMonsterUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_InvestigationMonsterUpdateNotify_proto_rawDescData) + }) + return file_InvestigationMonsterUpdateNotify_proto_rawDescData +} + +var file_InvestigationMonsterUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InvestigationMonsterUpdateNotify_proto_goTypes = []interface{}{ + (*InvestigationMonsterUpdateNotify)(nil), // 0: InvestigationMonsterUpdateNotify + (*InvestigationMonster)(nil), // 1: InvestigationMonster +} +var file_InvestigationMonsterUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: InvestigationMonsterUpdateNotify.investigation_monster:type_name -> InvestigationMonster + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InvestigationMonsterUpdateNotify_proto_init() } +func file_InvestigationMonsterUpdateNotify_proto_init() { + if File_InvestigationMonsterUpdateNotify_proto != nil { + return + } + file_InvestigationMonster_proto_init() + if !protoimpl.UnsafeEnabled { + file_InvestigationMonsterUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvestigationMonsterUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InvestigationMonsterUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InvestigationMonsterUpdateNotify_proto_goTypes, + DependencyIndexes: file_InvestigationMonsterUpdateNotify_proto_depIdxs, + MessageInfos: file_InvestigationMonsterUpdateNotify_proto_msgTypes, + }.Build() + File_InvestigationMonsterUpdateNotify_proto = out.File + file_InvestigationMonsterUpdateNotify_proto_rawDesc = nil + file_InvestigationMonsterUpdateNotify_proto_goTypes = nil + file_InvestigationMonsterUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.proto b/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.proto new file mode 100644 index 00000000..c69f7c91 --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationMonsterUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InvestigationMonster.proto"; + +option go_package = "./;proto"; + +// CmdId: 1906 +// EnetChannelId: 0 +// EnetIsReliable: true +message InvestigationMonsterUpdateNotify { + InvestigationMonster investigation_monster = 5; +} diff --git a/gate-hk4e-api/proto/InvestigationTarget.pb.go b/gate-hk4e-api/proto/InvestigationTarget.pb.go new file mode 100644 index 00000000..2f68f109 --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationTarget.pb.go @@ -0,0 +1,263 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: InvestigationTarget.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InvestigationTarget_State int32 + +const ( + InvestigationTarget_STATE_INVALID InvestigationTarget_State = 0 + InvestigationTarget_STATE_IN_PROGRESS InvestigationTarget_State = 1 + InvestigationTarget_STATE_COMPLETE InvestigationTarget_State = 2 + InvestigationTarget_STATE_REWARD_TAKEN InvestigationTarget_State = 3 +) + +// Enum value maps for InvestigationTarget_State. +var ( + InvestigationTarget_State_name = map[int32]string{ + 0: "STATE_INVALID", + 1: "STATE_IN_PROGRESS", + 2: "STATE_COMPLETE", + 3: "STATE_REWARD_TAKEN", + } + InvestigationTarget_State_value = map[string]int32{ + "STATE_INVALID": 0, + "STATE_IN_PROGRESS": 1, + "STATE_COMPLETE": 2, + "STATE_REWARD_TAKEN": 3, + } +) + +func (x InvestigationTarget_State) Enum() *InvestigationTarget_State { + p := new(InvestigationTarget_State) + *p = x + return p +} + +func (x InvestigationTarget_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InvestigationTarget_State) Descriptor() protoreflect.EnumDescriptor { + return file_InvestigationTarget_proto_enumTypes[0].Descriptor() +} + +func (InvestigationTarget_State) Type() protoreflect.EnumType { + return &file_InvestigationTarget_proto_enumTypes[0] +} + +func (x InvestigationTarget_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InvestigationTarget_State.Descriptor instead. +func (InvestigationTarget_State) EnumDescriptor() ([]byte, []int) { + return file_InvestigationTarget_proto_rawDescGZIP(), []int{0, 0} +} + +type InvestigationTarget struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,15,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + State InvestigationTarget_State `protobuf:"varint,2,opt,name=state,proto3,enum=InvestigationTarget_State" json:"state,omitempty"` + Progress uint32 `protobuf:"varint,8,opt,name=progress,proto3" json:"progress,omitempty"` + TotalProgress uint32 `protobuf:"varint,7,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + InvestigationId uint32 `protobuf:"varint,3,opt,name=investigation_id,json=investigationId,proto3" json:"investigation_id,omitempty"` +} + +func (x *InvestigationTarget) Reset() { + *x = InvestigationTarget{} + if protoimpl.UnsafeEnabled { + mi := &file_InvestigationTarget_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InvestigationTarget) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InvestigationTarget) ProtoMessage() {} + +func (x *InvestigationTarget) ProtoReflect() protoreflect.Message { + mi := &file_InvestigationTarget_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InvestigationTarget.ProtoReflect.Descriptor instead. +func (*InvestigationTarget) Descriptor() ([]byte, []int) { + return file_InvestigationTarget_proto_rawDescGZIP(), []int{0} +} + +func (x *InvestigationTarget) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *InvestigationTarget) GetState() InvestigationTarget_State { + if x != nil { + return x.State + } + return InvestigationTarget_STATE_INVALID +} + +func (x *InvestigationTarget) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *InvestigationTarget) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *InvestigationTarget) GetInvestigationId() uint32 { + if x != nil { + return x.InvestigationId + } + return 0 +} + +var File_InvestigationTarget_proto protoreflect.FileDescriptor + +var file_InvestigationTarget_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x13, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x30, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x69, + 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5d, + 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, + 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, + 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, + 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_InvestigationTarget_proto_rawDescOnce sync.Once + file_InvestigationTarget_proto_rawDescData = file_InvestigationTarget_proto_rawDesc +) + +func file_InvestigationTarget_proto_rawDescGZIP() []byte { + file_InvestigationTarget_proto_rawDescOnce.Do(func() { + file_InvestigationTarget_proto_rawDescData = protoimpl.X.CompressGZIP(file_InvestigationTarget_proto_rawDescData) + }) + return file_InvestigationTarget_proto_rawDescData +} + +var file_InvestigationTarget_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_InvestigationTarget_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_InvestigationTarget_proto_goTypes = []interface{}{ + (InvestigationTarget_State)(0), // 0: InvestigationTarget.State + (*InvestigationTarget)(nil), // 1: InvestigationTarget +} +var file_InvestigationTarget_proto_depIdxs = []int32{ + 0, // 0: InvestigationTarget.state:type_name -> InvestigationTarget.State + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_InvestigationTarget_proto_init() } +func file_InvestigationTarget_proto_init() { + if File_InvestigationTarget_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_InvestigationTarget_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvestigationTarget); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_InvestigationTarget_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_InvestigationTarget_proto_goTypes, + DependencyIndexes: file_InvestigationTarget_proto_depIdxs, + EnumInfos: file_InvestigationTarget_proto_enumTypes, + MessageInfos: file_InvestigationTarget_proto_msgTypes, + }.Build() + File_InvestigationTarget_proto = out.File + file_InvestigationTarget_proto_rawDesc = nil + file_InvestigationTarget_proto_goTypes = nil + file_InvestigationTarget_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/InvestigationTarget.proto b/gate-hk4e-api/proto/InvestigationTarget.proto new file mode 100644 index 00000000..225b41b6 --- /dev/null +++ b/gate-hk4e-api/proto/InvestigationTarget.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message InvestigationTarget { + uint32 quest_id = 15; + State state = 2; + uint32 progress = 8; + uint32 total_progress = 7; + uint32 investigation_id = 3; + + enum State { + STATE_INVALID = 0; + STATE_IN_PROGRESS = 1; + STATE_COMPLETE = 2; + STATE_REWARD_TAKEN = 3; + } +} diff --git a/gate-hk4e-api/proto/IrodoriActivityDetailInfo.pb.go b/gate-hk4e-api/proto/IrodoriActivityDetailInfo.pb.go new file mode 100644 index 00000000..28610708 --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriActivityDetailInfo.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: IrodoriActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IrodoriActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KLDGOEPJGNC []*Unk2700_JACACCPGMGC `protobuf:"bytes,11,rep,name=Unk2700_KLDGOEPJGNC,json=Unk2700KLDGOEPJGNC,proto3" json:"Unk2700_KLDGOEPJGNC,omitempty"` + Unk2700_BFPBLJAAPAL *Unk2700_GCPNGHFNGDP `protobuf:"bytes,6,opt,name=Unk2700_BFPBLJAAPAL,json=Unk2700BFPBLJAAPAL,proto3" json:"Unk2700_BFPBLJAAPAL,omitempty"` + Unk2700_AGGJBDLONGC *Unk2700_AIGECAPPCKK `protobuf:"bytes,8,opt,name=Unk2700_AGGJBDLONGC,json=Unk2700AGGJBDLONGC,proto3" json:"Unk2700_AGGJBDLONGC,omitempty"` + Unk2700_MCMCCIEFMPD *Unk2700_AMJFIJNNGHC `protobuf:"bytes,14,opt,name=Unk2700_MCMCCIEFMPD,json=Unk2700MCMCCIEFMPD,proto3" json:"Unk2700_MCMCCIEFMPD,omitempty"` +} + +func (x *IrodoriActivityDetailInfo) Reset() { + *x = IrodoriActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_IrodoriActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IrodoriActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IrodoriActivityDetailInfo) ProtoMessage() {} + +func (x *IrodoriActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_IrodoriActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IrodoriActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*IrodoriActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_IrodoriActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *IrodoriActivityDetailInfo) GetUnk2700_KLDGOEPJGNC() []*Unk2700_JACACCPGMGC { + if x != nil { + return x.Unk2700_KLDGOEPJGNC + } + return nil +} + +func (x *IrodoriActivityDetailInfo) GetUnk2700_BFPBLJAAPAL() *Unk2700_GCPNGHFNGDP { + if x != nil { + return x.Unk2700_BFPBLJAAPAL + } + return nil +} + +func (x *IrodoriActivityDetailInfo) GetUnk2700_AGGJBDLONGC() *Unk2700_AIGECAPPCKK { + if x != nil { + return x.Unk2700_AGGJBDLONGC + } + return nil +} + +func (x *IrodoriActivityDetailInfo) GetUnk2700_MCMCCIEFMPD() *Unk2700_AMJFIJNNGHC { + if x != nil { + return x.Unk2700_MCMCCIEFMPD + } + return nil +} + +var File_IrodoriActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_IrodoriActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x47, 0x45, 0x43, + 0x41, 0x50, 0x50, 0x43, 0x4b, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4a, 0x46, 0x49, 0x4a, 0x4e, 0x4e, 0x47, 0x48, + 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x43, 0x50, 0x4e, 0x47, 0x48, 0x46, 0x4e, 0x47, 0x44, 0x50, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x41, + 0x43, 0x43, 0x50, 0x47, 0x4d, 0x47, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, + 0x0a, 0x19, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x44, 0x47, 0x4f, 0x45, 0x50, 0x4a, 0x47, + 0x4e, 0x43, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x41, 0x43, 0x43, 0x50, 0x47, 0x4d, 0x47, 0x43, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4c, 0x44, 0x47, 0x4f, 0x45, 0x50, 0x4a, 0x47, + 0x4e, 0x43, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x46, + 0x50, 0x42, 0x4c, 0x4a, 0x41, 0x41, 0x50, 0x41, 0x4c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x50, 0x4e, 0x47, 0x48, + 0x46, 0x4e, 0x47, 0x44, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x46, + 0x50, 0x42, 0x4c, 0x4a, 0x41, 0x41, 0x50, 0x41, 0x4c, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x47, 0x4a, 0x42, 0x44, 0x4c, 0x4f, 0x4e, 0x47, 0x43, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x41, 0x49, 0x47, 0x45, 0x43, 0x41, 0x50, 0x50, 0x43, 0x4b, 0x4b, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x47, 0x47, 0x4a, 0x42, 0x44, 0x4c, 0x4f, 0x4e, 0x47, 0x43, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x4d, 0x43, + 0x43, 0x49, 0x45, 0x46, 0x4d, 0x50, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4a, 0x46, 0x49, 0x4a, 0x4e, 0x4e, + 0x47, 0x48, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x43, 0x4d, 0x43, + 0x43, 0x49, 0x45, 0x46, 0x4d, 0x50, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_IrodoriActivityDetailInfo_proto_rawDescOnce sync.Once + file_IrodoriActivityDetailInfo_proto_rawDescData = file_IrodoriActivityDetailInfo_proto_rawDesc +) + +func file_IrodoriActivityDetailInfo_proto_rawDescGZIP() []byte { + file_IrodoriActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_IrodoriActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_IrodoriActivityDetailInfo_proto_rawDescData) + }) + return file_IrodoriActivityDetailInfo_proto_rawDescData +} + +var file_IrodoriActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_IrodoriActivityDetailInfo_proto_goTypes = []interface{}{ + (*IrodoriActivityDetailInfo)(nil), // 0: IrodoriActivityDetailInfo + (*Unk2700_JACACCPGMGC)(nil), // 1: Unk2700_JACACCPGMGC + (*Unk2700_GCPNGHFNGDP)(nil), // 2: Unk2700_GCPNGHFNGDP + (*Unk2700_AIGECAPPCKK)(nil), // 3: Unk2700_AIGECAPPCKK + (*Unk2700_AMJFIJNNGHC)(nil), // 4: Unk2700_AMJFIJNNGHC +} +var file_IrodoriActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: IrodoriActivityDetailInfo.Unk2700_KLDGOEPJGNC:type_name -> Unk2700_JACACCPGMGC + 2, // 1: IrodoriActivityDetailInfo.Unk2700_BFPBLJAAPAL:type_name -> Unk2700_GCPNGHFNGDP + 3, // 2: IrodoriActivityDetailInfo.Unk2700_AGGJBDLONGC:type_name -> Unk2700_AIGECAPPCKK + 4, // 3: IrodoriActivityDetailInfo.Unk2700_MCMCCIEFMPD:type_name -> Unk2700_AMJFIJNNGHC + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_IrodoriActivityDetailInfo_proto_init() } +func file_IrodoriActivityDetailInfo_proto_init() { + if File_IrodoriActivityDetailInfo_proto != nil { + return + } + file_Unk2700_AIGECAPPCKK_proto_init() + file_Unk2700_AMJFIJNNGHC_proto_init() + file_Unk2700_GCPNGHFNGDP_proto_init() + file_Unk2700_JACACCPGMGC_proto_init() + if !protoimpl.UnsafeEnabled { + file_IrodoriActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IrodoriActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_IrodoriActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_IrodoriActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_IrodoriActivityDetailInfo_proto_depIdxs, + MessageInfos: file_IrodoriActivityDetailInfo_proto_msgTypes, + }.Build() + File_IrodoriActivityDetailInfo_proto = out.File + file_IrodoriActivityDetailInfo_proto_rawDesc = nil + file_IrodoriActivityDetailInfo_proto_goTypes = nil + file_IrodoriActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/IrodoriActivityDetailInfo.proto b/gate-hk4e-api/proto/IrodoriActivityDetailInfo.proto new file mode 100644 index 00000000..03321d58 --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AIGECAPPCKK.proto"; +import "Unk2700_AMJFIJNNGHC.proto"; +import "Unk2700_GCPNGHFNGDP.proto"; +import "Unk2700_JACACCPGMGC.proto"; + +option go_package = "./;proto"; + +message IrodoriActivityDetailInfo { + repeated Unk2700_JACACCPGMGC Unk2700_KLDGOEPJGNC = 11; + Unk2700_GCPNGHFNGDP Unk2700_BFPBLJAAPAL = 6; + Unk2700_AIGECAPPCKK Unk2700_AGGJBDLONGC = 8; + Unk2700_AMJFIJNNGHC Unk2700_MCMCCIEFMPD = 14; +} diff --git a/gate-hk4e-api/proto/IrodoriChessInfo.pb.go b/gate-hk4e-api/proto/IrodoriChessInfo.pb.go new file mode 100644 index 00000000..32a9331c --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriChessInfo.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: IrodoriChessInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IrodoriChessInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MysteryInfo *Unk2700_IBEKDNOGMLA `protobuf:"bytes,3,opt,name=mystery_info,json=mysteryInfo,proto3" json:"mystery_info,omitempty"` + LeftMonsters uint32 `protobuf:"varint,12,opt,name=left_monsters,json=leftMonsters,proto3" json:"left_monsters,omitempty"` + Unk2700_MABMPAAGHCJ []uint32 `protobuf:"varint,13,rep,packed,name=Unk2700_MABMPAAGHCJ,json=Unk2700MABMPAAGHCJ,proto3" json:"Unk2700_MABMPAAGHCJ,omitempty"` + BuildingPoints uint32 `protobuf:"varint,7,opt,name=building_points,json=buildingPoints,proto3" json:"building_points,omitempty"` + Unk2700_CDOKENJJJMH uint32 `protobuf:"varint,4,opt,name=Unk2700_CDOKENJJJMH,json=Unk2700CDOKENJJJMH,proto3" json:"Unk2700_CDOKENJJJMH,omitempty"` +} + +func (x *IrodoriChessInfo) Reset() { + *x = IrodoriChessInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_IrodoriChessInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IrodoriChessInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IrodoriChessInfo) ProtoMessage() {} + +func (x *IrodoriChessInfo) ProtoReflect() protoreflect.Message { + mi := &file_IrodoriChessInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IrodoriChessInfo.ProtoReflect.Descriptor instead. +func (*IrodoriChessInfo) Descriptor() ([]byte, []int) { + return file_IrodoriChessInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *IrodoriChessInfo) GetMysteryInfo() *Unk2700_IBEKDNOGMLA { + if x != nil { + return x.MysteryInfo + } + return nil +} + +func (x *IrodoriChessInfo) GetLeftMonsters() uint32 { + if x != nil { + return x.LeftMonsters + } + return 0 +} + +func (x *IrodoriChessInfo) GetUnk2700_MABMPAAGHCJ() []uint32 { + if x != nil { + return x.Unk2700_MABMPAAGHCJ + } + return nil +} + +func (x *IrodoriChessInfo) GetBuildingPoints() uint32 { + if x != nil { + return x.BuildingPoints + } + return 0 +} + +func (x *IrodoriChessInfo) GetUnk2700_CDOKENJJJMH() uint32 { + if x != nil { + return x.Unk2700_CDOKENJJJMH + } + return 0 +} + +var File_IrodoriChessInfo_proto protoreflect.FileDescriptor + +var file_IrodoriChessInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x42, 0x45, 0x4b, 0x44, 0x4e, 0x4f, 0x47, 0x4d, 0x4c, 0x41, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x01, 0x0a, 0x10, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, + 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x0c, 0x6d, 0x79, 0x73, 0x74, + 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x45, 0x4b, 0x44, 0x4e, 0x4f, + 0x47, 0x4d, 0x4c, 0x41, 0x52, 0x0b, 0x6d, 0x79, 0x73, 0x74, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x41, 0x42, 0x4d, 0x50, 0x41, 0x41, 0x47, 0x48, 0x43, 0x4a, 0x18, 0x0d, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x42, 0x4d, + 0x50, 0x41, 0x41, 0x47, 0x48, 0x43, 0x4a, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x4f, 0x4b, + 0x45, 0x4e, 0x4a, 0x4a, 0x4a, 0x4d, 0x48, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, 0x4f, 0x4b, 0x45, 0x4e, 0x4a, 0x4a, 0x4a, 0x4d, + 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_IrodoriChessInfo_proto_rawDescOnce sync.Once + file_IrodoriChessInfo_proto_rawDescData = file_IrodoriChessInfo_proto_rawDesc +) + +func file_IrodoriChessInfo_proto_rawDescGZIP() []byte { + file_IrodoriChessInfo_proto_rawDescOnce.Do(func() { + file_IrodoriChessInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_IrodoriChessInfo_proto_rawDescData) + }) + return file_IrodoriChessInfo_proto_rawDescData +} + +var file_IrodoriChessInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_IrodoriChessInfo_proto_goTypes = []interface{}{ + (*IrodoriChessInfo)(nil), // 0: IrodoriChessInfo + (*Unk2700_IBEKDNOGMLA)(nil), // 1: Unk2700_IBEKDNOGMLA +} +var file_IrodoriChessInfo_proto_depIdxs = []int32{ + 1, // 0: IrodoriChessInfo.mystery_info:type_name -> Unk2700_IBEKDNOGMLA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_IrodoriChessInfo_proto_init() } +func file_IrodoriChessInfo_proto_init() { + if File_IrodoriChessInfo_proto != nil { + return + } + file_Unk2700_IBEKDNOGMLA_proto_init() + if !protoimpl.UnsafeEnabled { + file_IrodoriChessInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IrodoriChessInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_IrodoriChessInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_IrodoriChessInfo_proto_goTypes, + DependencyIndexes: file_IrodoriChessInfo_proto_depIdxs, + MessageInfos: file_IrodoriChessInfo_proto_msgTypes, + }.Build() + File_IrodoriChessInfo_proto = out.File + file_IrodoriChessInfo_proto_rawDesc = nil + file_IrodoriChessInfo_proto_goTypes = nil + file_IrodoriChessInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/IrodoriChessInfo.proto b/gate-hk4e-api/proto/IrodoriChessInfo.proto new file mode 100644 index 00000000..13962ef2 --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriChessInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IBEKDNOGMLA.proto"; + +option go_package = "./;proto"; + +message IrodoriChessInfo { + Unk2700_IBEKDNOGMLA mystery_info = 3; + uint32 left_monsters = 12; + repeated uint32 Unk2700_MABMPAAGHCJ = 13; + uint32 building_points = 7; + uint32 Unk2700_CDOKENJJJMH = 4; +} diff --git a/gate-hk4e-api/proto/IrodoriChessSettleInfo.pb.go b/gate-hk4e-api/proto/IrodoriChessSettleInfo.pb.go new file mode 100644 index 00000000..854988fd --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriChessSettleInfo.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: IrodoriChessSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IrodoriChessSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,5,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + Unk2700_PFEDPLKKLGH bool `protobuf:"varint,2,opt,name=Unk2700_PFEDPLKKLGH,json=Unk2700PFEDPLKKLGH,proto3" json:"Unk2700_PFEDPLKKLGH,omitempty"` + SceneTimeMs uint64 `protobuf:"varint,1,opt,name=scene_time_ms,json=sceneTimeMs,proto3" json:"scene_time_ms,omitempty"` + Unk2700_CDOKENJJJMH uint32 `protobuf:"varint,3,opt,name=Unk2700_CDOKENJJJMH,json=Unk2700CDOKENJJJMH,proto3" json:"Unk2700_CDOKENJJJMH,omitempty"` + IsPerfect bool `protobuf:"varint,12,opt,name=is_perfect,json=isPerfect,proto3" json:"is_perfect,omitempty"` + KillMonsterNum uint32 `protobuf:"varint,7,opt,name=kill_monster_num,json=killMonsterNum,proto3" json:"kill_monster_num,omitempty"` +} + +func (x *IrodoriChessSettleInfo) Reset() { + *x = IrodoriChessSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_IrodoriChessSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IrodoriChessSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IrodoriChessSettleInfo) ProtoMessage() {} + +func (x *IrodoriChessSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_IrodoriChessSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IrodoriChessSettleInfo.ProtoReflect.Descriptor instead. +func (*IrodoriChessSettleInfo) Descriptor() ([]byte, []int) { + return file_IrodoriChessSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *IrodoriChessSettleInfo) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *IrodoriChessSettleInfo) GetUnk2700_PFEDPLKKLGH() bool { + if x != nil { + return x.Unk2700_PFEDPLKKLGH + } + return false +} + +func (x *IrodoriChessSettleInfo) GetSceneTimeMs() uint64 { + if x != nil { + return x.SceneTimeMs + } + return 0 +} + +func (x *IrodoriChessSettleInfo) GetUnk2700_CDOKENJJJMH() uint32 { + if x != nil { + return x.Unk2700_CDOKENJJJMH + } + return 0 +} + +func (x *IrodoriChessSettleInfo) GetIsPerfect() bool { + if x != nil { + return x.IsPerfect + } + return false +} + +func (x *IrodoriChessSettleInfo) GetKillMonsterNum() uint32 { + if x != nil { + return x.KillMonsterNum + } + return 0 +} + +var File_IrodoriChessSettleInfo_proto protoreflect.FileDescriptor + +var file_IrodoriChessSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, + 0x02, 0x0a, 0x16, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, + 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x46, 0x45, 0x44, 0x50, 0x4c, 0x4b, + 0x4b, 0x4c, 0x47, 0x48, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x50, 0x46, 0x45, 0x44, 0x50, 0x4c, 0x4b, 0x4b, 0x4c, 0x47, 0x48, 0x12, 0x22, + 0x0a, 0x0d, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x4d, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, + 0x4f, 0x4b, 0x45, 0x4e, 0x4a, 0x4a, 0x4a, 0x4d, 0x48, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, 0x4f, 0x4b, 0x45, 0x4e, 0x4a, 0x4a, + 0x4a, 0x4d, 0x48, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x66, 0x65, 0x63, + 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x66, 0x65, + 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6b, 0x69, + 0x6c, 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_IrodoriChessSettleInfo_proto_rawDescOnce sync.Once + file_IrodoriChessSettleInfo_proto_rawDescData = file_IrodoriChessSettleInfo_proto_rawDesc +) + +func file_IrodoriChessSettleInfo_proto_rawDescGZIP() []byte { + file_IrodoriChessSettleInfo_proto_rawDescOnce.Do(func() { + file_IrodoriChessSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_IrodoriChessSettleInfo_proto_rawDescData) + }) + return file_IrodoriChessSettleInfo_proto_rawDescData +} + +var file_IrodoriChessSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_IrodoriChessSettleInfo_proto_goTypes = []interface{}{ + (*IrodoriChessSettleInfo)(nil), // 0: IrodoriChessSettleInfo +} +var file_IrodoriChessSettleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_IrodoriChessSettleInfo_proto_init() } +func file_IrodoriChessSettleInfo_proto_init() { + if File_IrodoriChessSettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_IrodoriChessSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IrodoriChessSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_IrodoriChessSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_IrodoriChessSettleInfo_proto_goTypes, + DependencyIndexes: file_IrodoriChessSettleInfo_proto_depIdxs, + MessageInfos: file_IrodoriChessSettleInfo_proto_msgTypes, + }.Build() + File_IrodoriChessSettleInfo_proto = out.File + file_IrodoriChessSettleInfo_proto_rawDesc = nil + file_IrodoriChessSettleInfo_proto_goTypes = nil + file_IrodoriChessSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/IrodoriChessSettleInfo.proto b/gate-hk4e-api/proto/IrodoriChessSettleInfo.proto new file mode 100644 index 00000000..cc995b18 --- /dev/null +++ b/gate-hk4e-api/proto/IrodoriChessSettleInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message IrodoriChessSettleInfo { + bool is_new_record = 5; + bool Unk2700_PFEDPLKKLGH = 2; + uint64 scene_time_ms = 1; + uint32 Unk2700_CDOKENJJJMH = 3; + bool is_perfect = 12; + uint32 kill_monster_num = 7; +} diff --git a/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.pb.go b/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.pb.go new file mode 100644 index 00000000..b1344948 --- /dev/null +++ b/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: IslandPartyActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IslandPartyActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_PDBHCBCLFBM []*Unk2800_MBKLJLMLIKF `protobuf:"bytes,15,rep,name=Unk2800_PDBHCBCLFBM,json=Unk2800PDBHCBCLFBM,proto3" json:"Unk2800_PDBHCBCLFBM,omitempty"` +} + +func (x *IslandPartyActivityDetailInfo) Reset() { + *x = IslandPartyActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_IslandPartyActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IslandPartyActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IslandPartyActivityDetailInfo) ProtoMessage() {} + +func (x *IslandPartyActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_IslandPartyActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IslandPartyActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*IslandPartyActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_IslandPartyActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *IslandPartyActivityDetailInfo) GetUnk2800_PDBHCBCLFBM() []*Unk2800_MBKLJLMLIKF { + if x != nil { + return x.Unk2800_PDBHCBCLFBM + } + return nil +} + +var File_IslandPartyActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_IslandPartyActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, + 0x42, 0x4b, 0x4c, 0x4a, 0x4c, 0x4d, 0x4c, 0x49, 0x4b, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x42, + 0x48, 0x43, 0x42, 0x43, 0x4c, 0x46, 0x42, 0x4d, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x4b, 0x4c, 0x4a, 0x4c, 0x4d, + 0x4c, 0x49, 0x4b, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x50, 0x44, 0x42, + 0x48, 0x43, 0x42, 0x43, 0x4c, 0x46, 0x42, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_IslandPartyActivityDetailInfo_proto_rawDescOnce sync.Once + file_IslandPartyActivityDetailInfo_proto_rawDescData = file_IslandPartyActivityDetailInfo_proto_rawDesc +) + +func file_IslandPartyActivityDetailInfo_proto_rawDescGZIP() []byte { + file_IslandPartyActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_IslandPartyActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_IslandPartyActivityDetailInfo_proto_rawDescData) + }) + return file_IslandPartyActivityDetailInfo_proto_rawDescData +} + +var file_IslandPartyActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_IslandPartyActivityDetailInfo_proto_goTypes = []interface{}{ + (*IslandPartyActivityDetailInfo)(nil), // 0: IslandPartyActivityDetailInfo + (*Unk2800_MBKLJLMLIKF)(nil), // 1: Unk2800_MBKLJLMLIKF +} +var file_IslandPartyActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: IslandPartyActivityDetailInfo.Unk2800_PDBHCBCLFBM:type_name -> Unk2800_MBKLJLMLIKF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_IslandPartyActivityDetailInfo_proto_init() } +func file_IslandPartyActivityDetailInfo_proto_init() { + if File_IslandPartyActivityDetailInfo_proto != nil { + return + } + file_Unk2800_MBKLJLMLIKF_proto_init() + if !protoimpl.UnsafeEnabled { + file_IslandPartyActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IslandPartyActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_IslandPartyActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_IslandPartyActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_IslandPartyActivityDetailInfo_proto_depIdxs, + MessageInfos: file_IslandPartyActivityDetailInfo_proto_msgTypes, + }.Build() + File_IslandPartyActivityDetailInfo_proto = out.File + file_IslandPartyActivityDetailInfo_proto_rawDesc = nil + file_IslandPartyActivityDetailInfo_proto_goTypes = nil + file_IslandPartyActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.proto b/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.proto new file mode 100644 index 00000000..1d1cccb4 --- /dev/null +++ b/gate-hk4e-api/proto/IslandPartyActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_MBKLJLMLIKF.proto"; + +option go_package = "./;proto"; + +message IslandPartyActivityDetailInfo { + repeated Unk2800_MBKLJLMLIKF Unk2800_PDBHCBCLFBM = 15; +} diff --git a/gate-hk4e-api/proto/Item.pb.go b/gate-hk4e-api/proto/Item.pb.go new file mode 100644 index 00000000..3db650aa --- /dev/null +++ b/gate-hk4e-api/proto/Item.pb.go @@ -0,0 +1,246 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Item.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Item struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Guid uint64 `protobuf:"varint,2,opt,name=guid,proto3" json:"guid,omitempty"` + // Types that are assignable to Detail: + // *Item_Material + // *Item_Equip + // *Item_Furniture + Detail isItem_Detail `protobuf_oneof:"detail"` +} + +func (x *Item) Reset() { + *x = Item{} + if protoimpl.UnsafeEnabled { + mi := &file_Item_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Item) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Item) ProtoMessage() {} + +func (x *Item) ProtoReflect() protoreflect.Message { + mi := &file_Item_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Item.ProtoReflect.Descriptor instead. +func (*Item) Descriptor() ([]byte, []int) { + return file_Item_proto_rawDescGZIP(), []int{0} +} + +func (x *Item) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *Item) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (m *Item) GetDetail() isItem_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *Item) GetMaterial() *Material { + if x, ok := x.GetDetail().(*Item_Material); ok { + return x.Material + } + return nil +} + +func (x *Item) GetEquip() *Equip { + if x, ok := x.GetDetail().(*Item_Equip); ok { + return x.Equip + } + return nil +} + +func (x *Item) GetFurniture() *Furniture { + if x, ok := x.GetDetail().(*Item_Furniture); ok { + return x.Furniture + } + return nil +} + +type isItem_Detail interface { + isItem_Detail() +} + +type Item_Material struct { + Material *Material `protobuf:"bytes,5,opt,name=material,proto3,oneof"` +} + +type Item_Equip struct { + Equip *Equip `protobuf:"bytes,6,opt,name=equip,proto3,oneof"` +} + +type Item_Furniture struct { + Furniture *Furniture `protobuf:"bytes,7,opt,name=furniture,proto3,oneof"` +} + +func (*Item_Material) isItem_Detail() {} + +func (*Item_Equip) isItem_Detail() {} + +func (*Item_Furniture) isItem_Detail() {} + +var File_Item_proto protoreflect.FileDescriptor + +var file_Item_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x45, 0x71, + 0x75, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x46, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x04, 0x49, + 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x48, 0x00, 0x52, + 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x05, 0x65, 0x71, 0x75, + 0x69, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, + 0x48, 0x00, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x66, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x09, 0x66, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Item_proto_rawDescOnce sync.Once + file_Item_proto_rawDescData = file_Item_proto_rawDesc +) + +func file_Item_proto_rawDescGZIP() []byte { + file_Item_proto_rawDescOnce.Do(func() { + file_Item_proto_rawDescData = protoimpl.X.CompressGZIP(file_Item_proto_rawDescData) + }) + return file_Item_proto_rawDescData +} + +var file_Item_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Item_proto_goTypes = []interface{}{ + (*Item)(nil), // 0: Item + (*Material)(nil), // 1: Material + (*Equip)(nil), // 2: Equip + (*Furniture)(nil), // 3: Furniture +} +var file_Item_proto_depIdxs = []int32{ + 1, // 0: Item.material:type_name -> Material + 2, // 1: Item.equip:type_name -> Equip + 3, // 2: Item.furniture:type_name -> Furniture + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Item_proto_init() } +func file_Item_proto_init() { + if File_Item_proto != nil { + return + } + file_Equip_proto_init() + file_Furniture_proto_init() + file_Material_proto_init() + if !protoimpl.UnsafeEnabled { + file_Item_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Item); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Item_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Item_Material)(nil), + (*Item_Equip)(nil), + (*Item_Furniture)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Item_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Item_proto_goTypes, + DependencyIndexes: file_Item_proto_depIdxs, + MessageInfos: file_Item_proto_msgTypes, + }.Build() + File_Item_proto = out.File + file_Item_proto_rawDesc = nil + file_Item_proto_goTypes = nil + file_Item_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Item.proto b/gate-hk4e-api/proto/Item.proto new file mode 100644 index 00000000..b5f550b7 --- /dev/null +++ b/gate-hk4e-api/proto/Item.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Equip.proto"; +import "Furniture.proto"; +import "Material.proto"; + +option go_package = "./;proto"; + +message Item { + uint32 item_id = 1; + uint64 guid = 2; + oneof detail { + Material material = 5; + Equip equip = 6; + Furniture furniture = 7; + } +} diff --git a/gate-hk4e-api/proto/ItemAddHintNotify.pb.go b/gate-hk4e-api/proto/ItemAddHintNotify.pb.go new file mode 100644 index 00000000..29f82282 --- /dev/null +++ b/gate-hk4e-api/proto/ItemAddHintNotify.pb.go @@ -0,0 +1,248 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemAddHintNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 607 +// EnetChannelId: 0 +// EnetIsReliable: true +type ItemAddHintNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsPositionValid bool `protobuf:"varint,14,opt,name=is_position_valid,json=isPositionValid,proto3" json:"is_position_valid,omitempty"` + QuestId uint32 `protobuf:"varint,3,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + Reason uint32 `protobuf:"varint,6,opt,name=reason,proto3" json:"reason,omitempty"` + IsGeneralRewardHiden bool `protobuf:"varint,15,opt,name=is_general_reward_hiden,json=isGeneralRewardHiden,proto3" json:"is_general_reward_hiden,omitempty"` + ItemList []*ItemHint `protobuf:"bytes,10,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + IsTransferedFromAvatarCard bool `protobuf:"varint,12,opt,name=is_transfered_from_avatar_card,json=isTransferedFromAvatarCard,proto3" json:"is_transfered_from_avatar_card,omitempty"` + Position *Vector `protobuf:"bytes,9,opt,name=position,proto3" json:"position,omitempty"` + OverflowTransformedItemList []*ItemHint `protobuf:"bytes,8,rep,name=overflow_transformed_item_list,json=overflowTransformedItemList,proto3" json:"overflow_transformed_item_list,omitempty"` +} + +func (x *ItemAddHintNotify) Reset() { + *x = ItemAddHintNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemAddHintNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemAddHintNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemAddHintNotify) ProtoMessage() {} + +func (x *ItemAddHintNotify) ProtoReflect() protoreflect.Message { + mi := &file_ItemAddHintNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemAddHintNotify.ProtoReflect.Descriptor instead. +func (*ItemAddHintNotify) Descriptor() ([]byte, []int) { + return file_ItemAddHintNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemAddHintNotify) GetIsPositionValid() bool { + if x != nil { + return x.IsPositionValid + } + return false +} + +func (x *ItemAddHintNotify) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *ItemAddHintNotify) GetReason() uint32 { + if x != nil { + return x.Reason + } + return 0 +} + +func (x *ItemAddHintNotify) GetIsGeneralRewardHiden() bool { + if x != nil { + return x.IsGeneralRewardHiden + } + return false +} + +func (x *ItemAddHintNotify) GetItemList() []*ItemHint { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *ItemAddHintNotify) GetIsTransferedFromAvatarCard() bool { + if x != nil { + return x.IsTransferedFromAvatarCard + } + return false +} + +func (x *ItemAddHintNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *ItemAddHintNotify) GetOverflowTransformedItemList() []*ItemHint { + if x != nil { + return x.OverflowTransformedItemList + } + return nil +} + +var File_ItemAddHintNotify_proto protoreflect.FileDescriptor + +var file_ItemAddHintNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x49, 0x74, 0x65, 0x6d, 0x41, 0x64, 0x64, 0x48, 0x69, 0x6e, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x49, 0x74, 0x65, 0x6d, 0x48, + 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x11, 0x49, 0x74, 0x65, 0x6d, + 0x41, 0x64, 0x64, 0x48, 0x69, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, + 0x11, 0x69, 0x73, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x17, + 0x69, 0x73, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x68, 0x69, 0x64, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, + 0x73, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x48, 0x69, + 0x64, 0x65, 0x6e, 0x12, 0x26, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, + 0x74, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x1e, 0x69, + 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x1a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x65, + 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x12, + 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x1e, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, + 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x49, + 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x1b, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, + 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ItemAddHintNotify_proto_rawDescOnce sync.Once + file_ItemAddHintNotify_proto_rawDescData = file_ItemAddHintNotify_proto_rawDesc +) + +func file_ItemAddHintNotify_proto_rawDescGZIP() []byte { + file_ItemAddHintNotify_proto_rawDescOnce.Do(func() { + file_ItemAddHintNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemAddHintNotify_proto_rawDescData) + }) + return file_ItemAddHintNotify_proto_rawDescData +} + +var file_ItemAddHintNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ItemAddHintNotify_proto_goTypes = []interface{}{ + (*ItemAddHintNotify)(nil), // 0: ItemAddHintNotify + (*ItemHint)(nil), // 1: ItemHint + (*Vector)(nil), // 2: Vector +} +var file_ItemAddHintNotify_proto_depIdxs = []int32{ + 1, // 0: ItemAddHintNotify.item_list:type_name -> ItemHint + 2, // 1: ItemAddHintNotify.position:type_name -> Vector + 1, // 2: ItemAddHintNotify.overflow_transformed_item_list:type_name -> ItemHint + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ItemAddHintNotify_proto_init() } +func file_ItemAddHintNotify_proto_init() { + if File_ItemAddHintNotify_proto != nil { + return + } + file_ItemHint_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ItemAddHintNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemAddHintNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemAddHintNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemAddHintNotify_proto_goTypes, + DependencyIndexes: file_ItemAddHintNotify_proto_depIdxs, + MessageInfos: file_ItemAddHintNotify_proto_msgTypes, + }.Build() + File_ItemAddHintNotify_proto = out.File + file_ItemAddHintNotify_proto_rawDesc = nil + file_ItemAddHintNotify_proto_goTypes = nil + file_ItemAddHintNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemAddHintNotify.proto b/gate-hk4e-api/proto/ItemAddHintNotify.proto new file mode 100644 index 00000000..8fda1790 --- /dev/null +++ b/gate-hk4e-api/proto/ItemAddHintNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemHint.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 607 +// EnetChannelId: 0 +// EnetIsReliable: true +message ItemAddHintNotify { + bool is_position_valid = 14; + uint32 quest_id = 3; + uint32 reason = 6; + bool is_general_reward_hiden = 15; + repeated ItemHint item_list = 10; + bool is_transfered_from_avatar_card = 12; + Vector position = 9; + repeated ItemHint overflow_transformed_item_list = 8; +} diff --git a/gate-hk4e-api/proto/ItemCdGroupTimeNotify.pb.go b/gate-hk4e-api/proto/ItemCdGroupTimeNotify.pb.go new file mode 100644 index 00000000..30fadbe6 --- /dev/null +++ b/gate-hk4e-api/proto/ItemCdGroupTimeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemCdGroupTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 634 +// EnetChannelId: 0 +// EnetIsReliable: true +type ItemCdGroupTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemCdMap map[uint32]uint64 `protobuf:"bytes,9,rep,name=item_cd_map,json=itemCdMap,proto3" json:"item_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ItemCdGroupTimeNotify) Reset() { + *x = ItemCdGroupTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemCdGroupTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemCdGroupTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemCdGroupTimeNotify) ProtoMessage() {} + +func (x *ItemCdGroupTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ItemCdGroupTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemCdGroupTimeNotify.ProtoReflect.Descriptor instead. +func (*ItemCdGroupTimeNotify) Descriptor() ([]byte, []int) { + return file_ItemCdGroupTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemCdGroupTimeNotify) GetItemCdMap() map[uint32]uint64 { + if x != nil { + return x.ItemCdMap + } + return nil +} + +var File_ItemCdGroupTimeNotify_proto protoreflect.FileDescriptor + +var file_ItemCdGroupTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x69, 0x6d, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, + 0x0a, 0x15, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x69, 0x6d, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x63, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x49, + 0x74, 0x65, 0x6d, 0x43, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x1a, 0x3c, + 0x0a, 0x0e, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ItemCdGroupTimeNotify_proto_rawDescOnce sync.Once + file_ItemCdGroupTimeNotify_proto_rawDescData = file_ItemCdGroupTimeNotify_proto_rawDesc +) + +func file_ItemCdGroupTimeNotify_proto_rawDescGZIP() []byte { + file_ItemCdGroupTimeNotify_proto_rawDescOnce.Do(func() { + file_ItemCdGroupTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemCdGroupTimeNotify_proto_rawDescData) + }) + return file_ItemCdGroupTimeNotify_proto_rawDescData +} + +var file_ItemCdGroupTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ItemCdGroupTimeNotify_proto_goTypes = []interface{}{ + (*ItemCdGroupTimeNotify)(nil), // 0: ItemCdGroupTimeNotify + nil, // 1: ItemCdGroupTimeNotify.ItemCdMapEntry +} +var file_ItemCdGroupTimeNotify_proto_depIdxs = []int32{ + 1, // 0: ItemCdGroupTimeNotify.item_cd_map:type_name -> ItemCdGroupTimeNotify.ItemCdMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ItemCdGroupTimeNotify_proto_init() } +func file_ItemCdGroupTimeNotify_proto_init() { + if File_ItemCdGroupTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ItemCdGroupTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemCdGroupTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemCdGroupTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemCdGroupTimeNotify_proto_goTypes, + DependencyIndexes: file_ItemCdGroupTimeNotify_proto_depIdxs, + MessageInfos: file_ItemCdGroupTimeNotify_proto_msgTypes, + }.Build() + File_ItemCdGroupTimeNotify_proto = out.File + file_ItemCdGroupTimeNotify_proto_rawDesc = nil + file_ItemCdGroupTimeNotify_proto_goTypes = nil + file_ItemCdGroupTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemCdGroupTimeNotify.proto b/gate-hk4e-api/proto/ItemCdGroupTimeNotify.proto new file mode 100644 index 00000000..a23955cf --- /dev/null +++ b/gate-hk4e-api/proto/ItemCdGroupTimeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 634 +// EnetChannelId: 0 +// EnetIsReliable: true +message ItemCdGroupTimeNotify { + map item_cd_map = 9; +} diff --git a/gate-hk4e-api/proto/ItemGivingReq.pb.go b/gate-hk4e-api/proto/ItemGivingReq.pb.go new file mode 100644 index 00000000..c0dde7e4 --- /dev/null +++ b/gate-hk4e-api/proto/ItemGivingReq.pb.go @@ -0,0 +1,266 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemGivingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ItemGivingReq_Unk2800_LENCDFJACFN int32 + +const ( + ItemGivingReq_Unk2800_LENCDFJACFN_QUEST ItemGivingReq_Unk2800_LENCDFJACFN = 0 + ItemGivingReq_Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG ItemGivingReq_Unk2800_LENCDFJACFN = 1 +) + +// Enum value maps for ItemGivingReq_Unk2800_LENCDFJACFN. +var ( + ItemGivingReq_Unk2800_LENCDFJACFN_name = map[int32]string{ + 0: "Unk2800_LENCDFJACFN_QUEST", + 1: "Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG", + } + ItemGivingReq_Unk2800_LENCDFJACFN_value = map[string]int32{ + "Unk2800_LENCDFJACFN_QUEST": 0, + "Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG": 1, + } +) + +func (x ItemGivingReq_Unk2800_LENCDFJACFN) Enum() *ItemGivingReq_Unk2800_LENCDFJACFN { + p := new(ItemGivingReq_Unk2800_LENCDFJACFN) + *p = x + return p +} + +func (x ItemGivingReq_Unk2800_LENCDFJACFN) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ItemGivingReq_Unk2800_LENCDFJACFN) Descriptor() protoreflect.EnumDescriptor { + return file_ItemGivingReq_proto_enumTypes[0].Descriptor() +} + +func (ItemGivingReq_Unk2800_LENCDFJACFN) Type() protoreflect.EnumType { + return &file_ItemGivingReq_proto_enumTypes[0] +} + +func (x ItemGivingReq_Unk2800_LENCDFJACFN) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ItemGivingReq_Unk2800_LENCDFJACFN.Descriptor instead. +func (ItemGivingReq_Unk2800_LENCDFJACFN) EnumDescriptor() ([]byte, []int) { + return file_ItemGivingReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 140 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ItemGivingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemGuidCountMap map[uint64]uint32 `protobuf:"bytes,15,rep,name=item_guid_count_map,json=itemGuidCountMap,proto3" json:"item_guid_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + GivingId uint32 `protobuf:"varint,13,opt,name=giving_id,json=givingId,proto3" json:"giving_id,omitempty"` + ItemParamList []*ItemParam `protobuf:"bytes,4,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + Unk2800_PHNIJJMECGN ItemGivingReq_Unk2800_LENCDFJACFN `protobuf:"varint,2,opt,name=Unk2800_PHNIJJMECGN,json=Unk2800PHNIJJMECGN,proto3,enum=ItemGivingReq_Unk2800_LENCDFJACFN" json:"Unk2800_PHNIJJMECGN,omitempty"` +} + +func (x *ItemGivingReq) Reset() { + *x = ItemGivingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemGivingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemGivingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemGivingReq) ProtoMessage() {} + +func (x *ItemGivingReq) ProtoReflect() protoreflect.Message { + mi := &file_ItemGivingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemGivingReq.ProtoReflect.Descriptor instead. +func (*ItemGivingReq) Descriptor() ([]byte, []int) { + return file_ItemGivingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemGivingReq) GetItemGuidCountMap() map[uint64]uint32 { + if x != nil { + return x.ItemGuidCountMap + } + return nil +} + +func (x *ItemGivingReq) GetGivingId() uint32 { + if x != nil { + return x.GivingId + } + return 0 +} + +func (x *ItemGivingReq) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *ItemGivingReq) GetUnk2800_PHNIJJMECGN() ItemGivingReq_Unk2800_LENCDFJACFN { + if x != nil { + return x.Unk2800_PHNIJJMECGN + } + return ItemGivingReq_Unk2800_LENCDFJACFN_QUEST +} + +var File_ItemGivingReq_proto protoreflect.FileDescriptor + +var file_ItemGivingReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x0d, 0x49, 0x74, 0x65, 0x6d, 0x47, + 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x53, 0x0a, 0x13, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x69, 0x76, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x69, 0x74, 0x65, + 0x6d, 0x47, 0x75, 0x69, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x1b, 0x0a, + 0x09, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, + 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x53, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4e, 0x49, 0x4a, 0x4a, + 0x4d, 0x45, 0x43, 0x47, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4e, 0x43, 0x44, 0x46, 0x4a, 0x41, 0x43, 0x46, 0x4e, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x50, 0x48, 0x4e, 0x49, 0x4a, 0x4a, 0x4d, 0x45, + 0x43, 0x47, 0x4e, 0x1a, 0x43, 0x0a, 0x15, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x61, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4e, 0x43, 0x44, 0x46, 0x4a, 0x41, 0x43, 0x46, 0x4e, 0x12, + 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4e, 0x43, 0x44, + 0x46, 0x4a, 0x41, 0x43, 0x46, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x00, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4e, 0x43, 0x44, 0x46, + 0x4a, 0x41, 0x43, 0x46, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x48, + 0x48, 0x4f, 0x50, 0x45, 0x48, 0x49, 0x50, 0x46, 0x47, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ItemGivingReq_proto_rawDescOnce sync.Once + file_ItemGivingReq_proto_rawDescData = file_ItemGivingReq_proto_rawDesc +) + +func file_ItemGivingReq_proto_rawDescGZIP() []byte { + file_ItemGivingReq_proto_rawDescOnce.Do(func() { + file_ItemGivingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemGivingReq_proto_rawDescData) + }) + return file_ItemGivingReq_proto_rawDescData +} + +var file_ItemGivingReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ItemGivingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ItemGivingReq_proto_goTypes = []interface{}{ + (ItemGivingReq_Unk2800_LENCDFJACFN)(0), // 0: ItemGivingReq.Unk2800_LENCDFJACFN + (*ItemGivingReq)(nil), // 1: ItemGivingReq + nil, // 2: ItemGivingReq.ItemGuidCountMapEntry + (*ItemParam)(nil), // 3: ItemParam +} +var file_ItemGivingReq_proto_depIdxs = []int32{ + 2, // 0: ItemGivingReq.item_guid_count_map:type_name -> ItemGivingReq.ItemGuidCountMapEntry + 3, // 1: ItemGivingReq.item_param_list:type_name -> ItemParam + 0, // 2: ItemGivingReq.Unk2800_PHNIJJMECGN:type_name -> ItemGivingReq.Unk2800_LENCDFJACFN + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ItemGivingReq_proto_init() } +func file_ItemGivingReq_proto_init() { + if File_ItemGivingReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ItemGivingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemGivingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemGivingReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemGivingReq_proto_goTypes, + DependencyIndexes: file_ItemGivingReq_proto_depIdxs, + EnumInfos: file_ItemGivingReq_proto_enumTypes, + MessageInfos: file_ItemGivingReq_proto_msgTypes, + }.Build() + File_ItemGivingReq_proto = out.File + file_ItemGivingReq_proto_rawDesc = nil + file_ItemGivingReq_proto_goTypes = nil + file_ItemGivingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemGivingReq.proto b/gate-hk4e-api/proto/ItemGivingReq.proto new file mode 100644 index 00000000..2fa61603 --- /dev/null +++ b/gate-hk4e-api/proto/ItemGivingReq.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 140 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ItemGivingReq { + map item_guid_count_map = 15; + uint32 giving_id = 13; + repeated ItemParam item_param_list = 4; + Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2; + + enum Unk2800_LENCDFJACFN { + Unk2800_LENCDFJACFN_QUEST = 0; + Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG = 1; + } +} diff --git a/gate-hk4e-api/proto/ItemGivingRsp.pb.go b/gate-hk4e-api/proto/ItemGivingRsp.pb.go new file mode 100644 index 00000000..20c13ac8 --- /dev/null +++ b/gate-hk4e-api/proto/ItemGivingRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemGivingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 118 +// EnetChannelId: 0 +// EnetIsReliable: true +type ItemGivingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MHIPHDFEOON uint32 `protobuf:"varint,1,opt,name=Unk2700_MHIPHDFEOON,json=Unk2700MHIPHDFEOON,proto3" json:"Unk2700_MHIPHDFEOON,omitempty"` + GivingId uint32 `protobuf:"varint,13,opt,name=giving_id,json=givingId,proto3" json:"giving_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ItemGivingRsp) Reset() { + *x = ItemGivingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemGivingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemGivingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemGivingRsp) ProtoMessage() {} + +func (x *ItemGivingRsp) ProtoReflect() protoreflect.Message { + mi := &file_ItemGivingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemGivingRsp.ProtoReflect.Descriptor instead. +func (*ItemGivingRsp) Descriptor() ([]byte, []int) { + return file_ItemGivingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemGivingRsp) GetUnk2700_MHIPHDFEOON() uint32 { + if x != nil { + return x.Unk2700_MHIPHDFEOON + } + return 0 +} + +func (x *ItemGivingRsp) GetGivingId() uint32 { + if x != nil { + return x.GivingId + } + return 0 +} + +func (x *ItemGivingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ItemGivingRsp_proto protoreflect.FileDescriptor + +var file_ItemGivingRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x0d, 0x49, 0x74, 0x65, 0x6d, 0x47, 0x69, 0x76, + 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x48, 0x49, 0x50, 0x48, 0x44, 0x46, 0x45, 0x4f, 0x4f, 0x4e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x48, 0x49, 0x50, + 0x48, 0x44, 0x46, 0x45, 0x4f, 0x4f, 0x4e, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x69, 0x6e, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x69, 0x76, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ItemGivingRsp_proto_rawDescOnce sync.Once + file_ItemGivingRsp_proto_rawDescData = file_ItemGivingRsp_proto_rawDesc +) + +func file_ItemGivingRsp_proto_rawDescGZIP() []byte { + file_ItemGivingRsp_proto_rawDescOnce.Do(func() { + file_ItemGivingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemGivingRsp_proto_rawDescData) + }) + return file_ItemGivingRsp_proto_rawDescData +} + +var file_ItemGivingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ItemGivingRsp_proto_goTypes = []interface{}{ + (*ItemGivingRsp)(nil), // 0: ItemGivingRsp +} +var file_ItemGivingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ItemGivingRsp_proto_init() } +func file_ItemGivingRsp_proto_init() { + if File_ItemGivingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ItemGivingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemGivingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemGivingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemGivingRsp_proto_goTypes, + DependencyIndexes: file_ItemGivingRsp_proto_depIdxs, + MessageInfos: file_ItemGivingRsp_proto_msgTypes, + }.Build() + File_ItemGivingRsp_proto = out.File + file_ItemGivingRsp_proto_rawDesc = nil + file_ItemGivingRsp_proto_goTypes = nil + file_ItemGivingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemGivingRsp.proto b/gate-hk4e-api/proto/ItemGivingRsp.proto new file mode 100644 index 00000000..487d3198 --- /dev/null +++ b/gate-hk4e-api/proto/ItemGivingRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 118 +// EnetChannelId: 0 +// EnetIsReliable: true +message ItemGivingRsp { + uint32 Unk2700_MHIPHDFEOON = 1; + uint32 giving_id = 13; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/ItemHint.pb.go b/gate-hk4e-api/proto/ItemHint.pb.go new file mode 100644 index 00000000..14ba5734 --- /dev/null +++ b/gate-hk4e-api/proto/ItemHint.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemHint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ItemHint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,8,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + IsNew bool `protobuf:"varint,2,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` + Count uint32 `protobuf:"varint,15,opt,name=count,proto3" json:"count,omitempty"` + Guid uint64 `protobuf:"varint,4,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *ItemHint) Reset() { + *x = ItemHint{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemHint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemHint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemHint) ProtoMessage() {} + +func (x *ItemHint) ProtoReflect() protoreflect.Message { + mi := &file_ItemHint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemHint.ProtoReflect.Descriptor instead. +func (*ItemHint) Descriptor() ([]byte, []int) { + return file_ItemHint_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemHint) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *ItemHint) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +func (x *ItemHint) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *ItemHint) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_ItemHint_proto protoreflect.FileDescriptor + +var file_ItemHint_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x64, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, + 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ItemHint_proto_rawDescOnce sync.Once + file_ItemHint_proto_rawDescData = file_ItemHint_proto_rawDesc +) + +func file_ItemHint_proto_rawDescGZIP() []byte { + file_ItemHint_proto_rawDescOnce.Do(func() { + file_ItemHint_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemHint_proto_rawDescData) + }) + return file_ItemHint_proto_rawDescData +} + +var file_ItemHint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ItemHint_proto_goTypes = []interface{}{ + (*ItemHint)(nil), // 0: ItemHint +} +var file_ItemHint_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ItemHint_proto_init() } +func file_ItemHint_proto_init() { + if File_ItemHint_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ItemHint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemHint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemHint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemHint_proto_goTypes, + DependencyIndexes: file_ItemHint_proto_depIdxs, + MessageInfos: file_ItemHint_proto_msgTypes, + }.Build() + File_ItemHint_proto = out.File + file_ItemHint_proto_rawDesc = nil + file_ItemHint_proto_goTypes = nil + file_ItemHint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemHint.proto b/gate-hk4e-api/proto/ItemHint.proto new file mode 100644 index 00000000..1710fa5e --- /dev/null +++ b/gate-hk4e-api/proto/ItemHint.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ItemHint { + uint32 item_id = 8; + bool is_new = 2; + uint32 count = 15; + uint64 guid = 4; +} diff --git a/gate-hk4e-api/proto/ItemParam.pb.go b/gate-hk4e-api/proto/ItemParam.pb.go new file mode 100644 index 00000000..078ca546 --- /dev/null +++ b/gate-hk4e-api/proto/ItemParam.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ItemParam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ItemParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *ItemParam) Reset() { + *x = ItemParam{} + if protoimpl.UnsafeEnabled { + mi := &file_ItemParam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ItemParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ItemParam) ProtoMessage() {} + +func (x *ItemParam) ProtoReflect() protoreflect.Message { + mi := &file_ItemParam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ItemParam.ProtoReflect.Descriptor instead. +func (*ItemParam) Descriptor() ([]byte, []int) { + return file_ItemParam_proto_rawDescGZIP(), []int{0} +} + +func (x *ItemParam) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *ItemParam) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_ItemParam_proto protoreflect.FileDescriptor + +var file_ItemParam_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3a, 0x0a, 0x09, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ItemParam_proto_rawDescOnce sync.Once + file_ItemParam_proto_rawDescData = file_ItemParam_proto_rawDesc +) + +func file_ItemParam_proto_rawDescGZIP() []byte { + file_ItemParam_proto_rawDescOnce.Do(func() { + file_ItemParam_proto_rawDescData = protoimpl.X.CompressGZIP(file_ItemParam_proto_rawDescData) + }) + return file_ItemParam_proto_rawDescData +} + +var file_ItemParam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ItemParam_proto_goTypes = []interface{}{ + (*ItemParam)(nil), // 0: ItemParam +} +var file_ItemParam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ItemParam_proto_init() } +func file_ItemParam_proto_init() { + if File_ItemParam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ItemParam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ItemParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ItemParam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ItemParam_proto_goTypes, + DependencyIndexes: file_ItemParam_proto_depIdxs, + MessageInfos: file_ItemParam_proto_msgTypes, + }.Build() + File_ItemParam_proto = out.File + file_ItemParam_proto_rawDesc = nil + file_ItemParam_proto_goTypes = nil + file_ItemParam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ItemParam.proto b/gate-hk4e-api/proto/ItemParam.proto new file mode 100644 index 00000000..3ce97236 --- /dev/null +++ b/gate-hk4e-api/proto/ItemParam.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ItemParam { + uint32 item_id = 1; + uint32 count = 2; +} diff --git a/gate-hk4e-api/proto/JoinHomeWorldFailNotify.pb.go b/gate-hk4e-api/proto/JoinHomeWorldFailNotify.pb.go new file mode 100644 index 00000000..69d7ba93 --- /dev/null +++ b/gate-hk4e-api/proto/JoinHomeWorldFailNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: JoinHomeWorldFailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4530 +// EnetChannelId: 0 +// EnetIsReliable: true +type JoinHomeWorldFailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,6,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *JoinHomeWorldFailNotify) Reset() { + *x = JoinHomeWorldFailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_JoinHomeWorldFailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *JoinHomeWorldFailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JoinHomeWorldFailNotify) ProtoMessage() {} + +func (x *JoinHomeWorldFailNotify) ProtoReflect() protoreflect.Message { + mi := &file_JoinHomeWorldFailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JoinHomeWorldFailNotify.ProtoReflect.Descriptor instead. +func (*JoinHomeWorldFailNotify) Descriptor() ([]byte, []int) { + return file_JoinHomeWorldFailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *JoinHomeWorldFailNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *JoinHomeWorldFailNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_JoinHomeWorldFailNotify_proto protoreflect.FileDescriptor + +var file_JoinHomeWorldFailNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4a, 0x6f, 0x69, 0x6e, 0x48, 0x6f, 0x6d, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x46, + 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x52, 0x0a, 0x17, 0x4a, 0x6f, 0x69, 0x6e, 0x48, 0x6f, 0x6d, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, + 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_JoinHomeWorldFailNotify_proto_rawDescOnce sync.Once + file_JoinHomeWorldFailNotify_proto_rawDescData = file_JoinHomeWorldFailNotify_proto_rawDesc +) + +func file_JoinHomeWorldFailNotify_proto_rawDescGZIP() []byte { + file_JoinHomeWorldFailNotify_proto_rawDescOnce.Do(func() { + file_JoinHomeWorldFailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_JoinHomeWorldFailNotify_proto_rawDescData) + }) + return file_JoinHomeWorldFailNotify_proto_rawDescData +} + +var file_JoinHomeWorldFailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_JoinHomeWorldFailNotify_proto_goTypes = []interface{}{ + (*JoinHomeWorldFailNotify)(nil), // 0: JoinHomeWorldFailNotify +} +var file_JoinHomeWorldFailNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_JoinHomeWorldFailNotify_proto_init() } +func file_JoinHomeWorldFailNotify_proto_init() { + if File_JoinHomeWorldFailNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_JoinHomeWorldFailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinHomeWorldFailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_JoinHomeWorldFailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_JoinHomeWorldFailNotify_proto_goTypes, + DependencyIndexes: file_JoinHomeWorldFailNotify_proto_depIdxs, + MessageInfos: file_JoinHomeWorldFailNotify_proto_msgTypes, + }.Build() + File_JoinHomeWorldFailNotify_proto = out.File + file_JoinHomeWorldFailNotify_proto_rawDesc = nil + file_JoinHomeWorldFailNotify_proto_goTypes = nil + file_JoinHomeWorldFailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/JoinHomeWorldFailNotify.proto b/gate-hk4e-api/proto/JoinHomeWorldFailNotify.proto new file mode 100644 index 00000000..d47341aa --- /dev/null +++ b/gate-hk4e-api/proto/JoinHomeWorldFailNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4530 +// EnetChannelId: 0 +// EnetIsReliable: true +message JoinHomeWorldFailNotify { + uint32 target_uid = 6; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/JoinPlayerFailNotify.pb.go b/gate-hk4e-api/proto/JoinPlayerFailNotify.pb.go new file mode 100644 index 00000000..11117b75 --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerFailNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: JoinPlayerFailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 236 +// EnetChannelId: 0 +// EnetIsReliable: true +type JoinPlayerFailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *JoinPlayerFailNotify) Reset() { + *x = JoinPlayerFailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_JoinPlayerFailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *JoinPlayerFailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JoinPlayerFailNotify) ProtoMessage() {} + +func (x *JoinPlayerFailNotify) ProtoReflect() protoreflect.Message { + mi := &file_JoinPlayerFailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JoinPlayerFailNotify.ProtoReflect.Descriptor instead. +func (*JoinPlayerFailNotify) Descriptor() ([]byte, []int) { + return file_JoinPlayerFailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *JoinPlayerFailNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_JoinPlayerFailNotify_proto protoreflect.FileDescriptor + +var file_JoinPlayerFailNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x14, + 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_JoinPlayerFailNotify_proto_rawDescOnce sync.Once + file_JoinPlayerFailNotify_proto_rawDescData = file_JoinPlayerFailNotify_proto_rawDesc +) + +func file_JoinPlayerFailNotify_proto_rawDescGZIP() []byte { + file_JoinPlayerFailNotify_proto_rawDescOnce.Do(func() { + file_JoinPlayerFailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_JoinPlayerFailNotify_proto_rawDescData) + }) + return file_JoinPlayerFailNotify_proto_rawDescData +} + +var file_JoinPlayerFailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_JoinPlayerFailNotify_proto_goTypes = []interface{}{ + (*JoinPlayerFailNotify)(nil), // 0: JoinPlayerFailNotify +} +var file_JoinPlayerFailNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_JoinPlayerFailNotify_proto_init() } +func file_JoinPlayerFailNotify_proto_init() { + if File_JoinPlayerFailNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_JoinPlayerFailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinPlayerFailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_JoinPlayerFailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_JoinPlayerFailNotify_proto_goTypes, + DependencyIndexes: file_JoinPlayerFailNotify_proto_depIdxs, + MessageInfos: file_JoinPlayerFailNotify_proto_msgTypes, + }.Build() + File_JoinPlayerFailNotify_proto = out.File + file_JoinPlayerFailNotify_proto_rawDesc = nil + file_JoinPlayerFailNotify_proto_goTypes = nil + file_JoinPlayerFailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/JoinPlayerFailNotify.proto b/gate-hk4e-api/proto/JoinPlayerFailNotify.proto new file mode 100644 index 00000000..5a9acb02 --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerFailNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 236 +// EnetChannelId: 0 +// EnetIsReliable: true +message JoinPlayerFailNotify { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/JoinPlayerSceneReq.pb.go b/gate-hk4e-api/proto/JoinPlayerSceneReq.pb.go new file mode 100644 index 00000000..ec2e3ca2 --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerSceneReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: JoinPlayerSceneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 292 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type JoinPlayerSceneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,12,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *JoinPlayerSceneReq) Reset() { + *x = JoinPlayerSceneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_JoinPlayerSceneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *JoinPlayerSceneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JoinPlayerSceneReq) ProtoMessage() {} + +func (x *JoinPlayerSceneReq) ProtoReflect() protoreflect.Message { + mi := &file_JoinPlayerSceneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JoinPlayerSceneReq.ProtoReflect.Descriptor instead. +func (*JoinPlayerSceneReq) Descriptor() ([]byte, []int) { + return file_JoinPlayerSceneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *JoinPlayerSceneReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_JoinPlayerSceneReq_proto protoreflect.FileDescriptor + +var file_JoinPlayerSceneReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x4a, 0x6f, + 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_JoinPlayerSceneReq_proto_rawDescOnce sync.Once + file_JoinPlayerSceneReq_proto_rawDescData = file_JoinPlayerSceneReq_proto_rawDesc +) + +func file_JoinPlayerSceneReq_proto_rawDescGZIP() []byte { + file_JoinPlayerSceneReq_proto_rawDescOnce.Do(func() { + file_JoinPlayerSceneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_JoinPlayerSceneReq_proto_rawDescData) + }) + return file_JoinPlayerSceneReq_proto_rawDescData +} + +var file_JoinPlayerSceneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_JoinPlayerSceneReq_proto_goTypes = []interface{}{ + (*JoinPlayerSceneReq)(nil), // 0: JoinPlayerSceneReq +} +var file_JoinPlayerSceneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_JoinPlayerSceneReq_proto_init() } +func file_JoinPlayerSceneReq_proto_init() { + if File_JoinPlayerSceneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_JoinPlayerSceneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinPlayerSceneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_JoinPlayerSceneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_JoinPlayerSceneReq_proto_goTypes, + DependencyIndexes: file_JoinPlayerSceneReq_proto_depIdxs, + MessageInfos: file_JoinPlayerSceneReq_proto_msgTypes, + }.Build() + File_JoinPlayerSceneReq_proto = out.File + file_JoinPlayerSceneReq_proto_rawDesc = nil + file_JoinPlayerSceneReq_proto_goTypes = nil + file_JoinPlayerSceneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/JoinPlayerSceneReq.proto b/gate-hk4e-api/proto/JoinPlayerSceneReq.proto new file mode 100644 index 00000000..de8c415f --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerSceneReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 292 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message JoinPlayerSceneReq { + uint32 target_uid = 12; +} diff --git a/gate-hk4e-api/proto/JoinPlayerSceneRsp.pb.go b/gate-hk4e-api/proto/JoinPlayerSceneRsp.pb.go new file mode 100644 index 00000000..f1ce949c --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerSceneRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: JoinPlayerSceneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 220 +// EnetChannelId: 0 +// EnetIsReliable: true +type JoinPlayerSceneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *JoinPlayerSceneRsp) Reset() { + *x = JoinPlayerSceneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_JoinPlayerSceneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *JoinPlayerSceneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JoinPlayerSceneRsp) ProtoMessage() {} + +func (x *JoinPlayerSceneRsp) ProtoReflect() protoreflect.Message { + mi := &file_JoinPlayerSceneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JoinPlayerSceneRsp.ProtoReflect.Descriptor instead. +func (*JoinPlayerSceneRsp) Descriptor() ([]byte, []int) { + return file_JoinPlayerSceneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *JoinPlayerSceneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_JoinPlayerSceneRsp_proto protoreflect.FileDescriptor + +var file_JoinPlayerSceneRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x4a, 0x6f, + 0x69, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_JoinPlayerSceneRsp_proto_rawDescOnce sync.Once + file_JoinPlayerSceneRsp_proto_rawDescData = file_JoinPlayerSceneRsp_proto_rawDesc +) + +func file_JoinPlayerSceneRsp_proto_rawDescGZIP() []byte { + file_JoinPlayerSceneRsp_proto_rawDescOnce.Do(func() { + file_JoinPlayerSceneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_JoinPlayerSceneRsp_proto_rawDescData) + }) + return file_JoinPlayerSceneRsp_proto_rawDescData +} + +var file_JoinPlayerSceneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_JoinPlayerSceneRsp_proto_goTypes = []interface{}{ + (*JoinPlayerSceneRsp)(nil), // 0: JoinPlayerSceneRsp +} +var file_JoinPlayerSceneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_JoinPlayerSceneRsp_proto_init() } +func file_JoinPlayerSceneRsp_proto_init() { + if File_JoinPlayerSceneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_JoinPlayerSceneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinPlayerSceneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_JoinPlayerSceneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_JoinPlayerSceneRsp_proto_goTypes, + DependencyIndexes: file_JoinPlayerSceneRsp_proto_depIdxs, + MessageInfos: file_JoinPlayerSceneRsp_proto_msgTypes, + }.Build() + File_JoinPlayerSceneRsp_proto = out.File + file_JoinPlayerSceneRsp_proto_rawDesc = nil + file_JoinPlayerSceneRsp_proto_goTypes = nil + file_JoinPlayerSceneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/JoinPlayerSceneRsp.proto b/gate-hk4e-api/proto/JoinPlayerSceneRsp.proto new file mode 100644 index 00000000..7c96cad8 --- /dev/null +++ b/gate-hk4e-api/proto/JoinPlayerSceneRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 220 +// EnetChannelId: 0 +// EnetIsReliable: true +message JoinPlayerSceneRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/KeepAliveNotify.pb.go b/gate-hk4e-api/proto/KeepAliveNotify.pb.go new file mode 100644 index 00000000..555e4525 --- /dev/null +++ b/gate-hk4e-api/proto/KeepAliveNotify.pb.go @@ -0,0 +1,150 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: KeepAliveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 72 +// EnetChannelId: 0 +// EnetIsReliable: true +type KeepAliveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *KeepAliveNotify) Reset() { + *x = KeepAliveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_KeepAliveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeepAliveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeepAliveNotify) ProtoMessage() {} + +func (x *KeepAliveNotify) ProtoReflect() protoreflect.Message { + mi := &file_KeepAliveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeepAliveNotify.ProtoReflect.Descriptor instead. +func (*KeepAliveNotify) Descriptor() ([]byte, []int) { + return file_KeepAliveNotify_proto_rawDescGZIP(), []int{0} +} + +var File_KeepAliveNotify_proto protoreflect.FileDescriptor + +var file_KeepAliveNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x4b, 0x65, 0x65, 0x70, 0x41, + 0x6c, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_KeepAliveNotify_proto_rawDescOnce sync.Once + file_KeepAliveNotify_proto_rawDescData = file_KeepAliveNotify_proto_rawDesc +) + +func file_KeepAliveNotify_proto_rawDescGZIP() []byte { + file_KeepAliveNotify_proto_rawDescOnce.Do(func() { + file_KeepAliveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_KeepAliveNotify_proto_rawDescData) + }) + return file_KeepAliveNotify_proto_rawDescData +} + +var file_KeepAliveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_KeepAliveNotify_proto_goTypes = []interface{}{ + (*KeepAliveNotify)(nil), // 0: KeepAliveNotify +} +var file_KeepAliveNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_KeepAliveNotify_proto_init() } +func file_KeepAliveNotify_proto_init() { + if File_KeepAliveNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_KeepAliveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepAliveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_KeepAliveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_KeepAliveNotify_proto_goTypes, + DependencyIndexes: file_KeepAliveNotify_proto_depIdxs, + MessageInfos: file_KeepAliveNotify_proto_msgTypes, + }.Build() + File_KeepAliveNotify_proto = out.File + file_KeepAliveNotify_proto_rawDesc = nil + file_KeepAliveNotify_proto_goTypes = nil + file_KeepAliveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/KeepAliveNotify.proto b/gate-hk4e-api/proto/KeepAliveNotify.proto new file mode 100644 index 00000000..a26ef77b --- /dev/null +++ b/gate-hk4e-api/proto/KeepAliveNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 72 +// EnetChannelId: 0 +// EnetIsReliable: true +message KeepAliveNotify {} diff --git a/gate-hk4e-api/proto/LanguageType.pb.go b/gate-hk4e-api/proto/LanguageType.pb.go new file mode 100644 index 00000000..3e4a93a1 --- /dev/null +++ b/gate-hk4e-api/proto/LanguageType.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LanguageType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LanguageType int32 + +const ( + LanguageType_LANGUAGE_TYPE_NONE LanguageType = 0 + LanguageType_LANGUAGE_TYPE_EN LanguageType = 1 + LanguageType_LANGUAGE_TYPE_SC LanguageType = 2 + LanguageType_LANGUAGE_TYPE_TC LanguageType = 3 + LanguageType_LANGUAGE_TYPE_FR LanguageType = 4 + LanguageType_LANGUAGE_TYPE_DE LanguageType = 5 + LanguageType_LANGUAGE_TYPE_ES LanguageType = 6 + LanguageType_LANGUAGE_TYPE_PT LanguageType = 7 + LanguageType_LANGUAGE_TYPE_RU LanguageType = 8 + LanguageType_LANGUAGE_TYPE_JP LanguageType = 9 + LanguageType_LANGUAGE_TYPE_KR LanguageType = 10 + LanguageType_LANGUAGE_TYPE_TH LanguageType = 11 + LanguageType_LANGUAGE_TYPE_VN LanguageType = 12 + LanguageType_LANGUAGE_TYPE_ID LanguageType = 13 + LanguageType_LANGUAGE_TYPE_Unk2700_IBFJDMFLFII LanguageType = 14 + LanguageType_LANGUAGE_TYPE_Unk2700_PACIPAIFJCN LanguageType = 15 +) + +// Enum value maps for LanguageType. +var ( + LanguageType_name = map[int32]string{ + 0: "LANGUAGE_TYPE_NONE", + 1: "LANGUAGE_TYPE_EN", + 2: "LANGUAGE_TYPE_SC", + 3: "LANGUAGE_TYPE_TC", + 4: "LANGUAGE_TYPE_FR", + 5: "LANGUAGE_TYPE_DE", + 6: "LANGUAGE_TYPE_ES", + 7: "LANGUAGE_TYPE_PT", + 8: "LANGUAGE_TYPE_RU", + 9: "LANGUAGE_TYPE_JP", + 10: "LANGUAGE_TYPE_KR", + 11: "LANGUAGE_TYPE_TH", + 12: "LANGUAGE_TYPE_VN", + 13: "LANGUAGE_TYPE_ID", + 14: "LANGUAGE_TYPE_Unk2700_IBFJDMFLFII", + 15: "LANGUAGE_TYPE_Unk2700_PACIPAIFJCN", + } + LanguageType_value = map[string]int32{ + "LANGUAGE_TYPE_NONE": 0, + "LANGUAGE_TYPE_EN": 1, + "LANGUAGE_TYPE_SC": 2, + "LANGUAGE_TYPE_TC": 3, + "LANGUAGE_TYPE_FR": 4, + "LANGUAGE_TYPE_DE": 5, + "LANGUAGE_TYPE_ES": 6, + "LANGUAGE_TYPE_PT": 7, + "LANGUAGE_TYPE_RU": 8, + "LANGUAGE_TYPE_JP": 9, + "LANGUAGE_TYPE_KR": 10, + "LANGUAGE_TYPE_TH": 11, + "LANGUAGE_TYPE_VN": 12, + "LANGUAGE_TYPE_ID": 13, + "LANGUAGE_TYPE_Unk2700_IBFJDMFLFII": 14, + "LANGUAGE_TYPE_Unk2700_PACIPAIFJCN": 15, + } +) + +func (x LanguageType) Enum() *LanguageType { + p := new(LanguageType) + *p = x + return p +} + +func (x LanguageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LanguageType) Descriptor() protoreflect.EnumDescriptor { + return file_LanguageType_proto_enumTypes[0].Descriptor() +} + +func (LanguageType) Type() protoreflect.EnumType { + return &file_LanguageType_proto_enumTypes[0] +} + +func (x LanguageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LanguageType.Descriptor instead. +func (LanguageType) EnumDescriptor() ([]byte, []int) { + return file_LanguageType_proto_rawDescGZIP(), []int{0} +} + +var File_LanguageType_proto protoreflect.FileDescriptor + +var file_LanguageType_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x92, 0x03, 0x0a, 0x0c, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x14, 0x0a, + 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, + 0x4e, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x43, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, + 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x10, 0x03, 0x12, + 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x46, 0x52, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x4c, + 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x53, 0x10, + 0x06, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x50, 0x54, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, + 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x55, 0x10, 0x08, 0x12, 0x14, 0x0a, + 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, + 0x50, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x52, 0x10, 0x0a, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, + 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x48, 0x10, 0x0b, 0x12, + 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x56, 0x4e, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x0d, 0x12, 0x25, 0x0a, 0x21, 0x4c, + 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x46, 0x4a, 0x44, 0x4d, 0x46, 0x4c, 0x46, 0x49, 0x49, + 0x10, 0x0e, 0x12, 0x25, 0x0a, 0x21, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x41, 0x43, 0x49, + 0x50, 0x41, 0x49, 0x46, 0x4a, 0x43, 0x4e, 0x10, 0x0f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LanguageType_proto_rawDescOnce sync.Once + file_LanguageType_proto_rawDescData = file_LanguageType_proto_rawDesc +) + +func file_LanguageType_proto_rawDescGZIP() []byte { + file_LanguageType_proto_rawDescOnce.Do(func() { + file_LanguageType_proto_rawDescData = protoimpl.X.CompressGZIP(file_LanguageType_proto_rawDescData) + }) + return file_LanguageType_proto_rawDescData +} + +var file_LanguageType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_LanguageType_proto_goTypes = []interface{}{ + (LanguageType)(0), // 0: LanguageType +} +var file_LanguageType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LanguageType_proto_init() } +func file_LanguageType_proto_init() { + if File_LanguageType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LanguageType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LanguageType_proto_goTypes, + DependencyIndexes: file_LanguageType_proto_depIdxs, + EnumInfos: file_LanguageType_proto_enumTypes, + }.Build() + File_LanguageType_proto = out.File + file_LanguageType_proto_rawDesc = nil + file_LanguageType_proto_goTypes = nil + file_LanguageType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LanguageType.proto b/gate-hk4e-api/proto/LanguageType.proto new file mode 100644 index 00000000..21f6b188 --- /dev/null +++ b/gate-hk4e-api/proto/LanguageType.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum LanguageType { + LANGUAGE_TYPE_NONE = 0; + LANGUAGE_TYPE_EN = 1; + LANGUAGE_TYPE_SC = 2; + LANGUAGE_TYPE_TC = 3; + LANGUAGE_TYPE_FR = 4; + LANGUAGE_TYPE_DE = 5; + LANGUAGE_TYPE_ES = 6; + LANGUAGE_TYPE_PT = 7; + LANGUAGE_TYPE_RU = 8; + LANGUAGE_TYPE_JP = 9; + LANGUAGE_TYPE_KR = 10; + LANGUAGE_TYPE_TH = 11; + LANGUAGE_TYPE_VN = 12; + LANGUAGE_TYPE_ID = 13; + LANGUAGE_TYPE_Unk2700_IBFJDMFLFII = 14; + LANGUAGE_TYPE_Unk2700_PACIPAIFJCN = 15; +} diff --git a/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.pb.go b/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.pb.go new file mode 100644 index 00000000..73af7656 --- /dev/null +++ b/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LanternRiteActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LanternRiteActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOHODJPIGK *Unk2700_JCNIPOJMFMH `protobuf:"bytes,13,opt,name=Unk2700_ONOHODJPIGK,json=Unk2700ONOHODJPIGK,proto3" json:"Unk2700_ONOHODJPIGK,omitempty"` + Unk2700_PHKHIPLDOOA []*Unk2700_LLGDCAKMCKL `protobuf:"bytes,5,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` + Unk2700_MPOCLGBFNAK *Unk2700_MJGFEHOMKJE `protobuf:"bytes,8,opt,name=Unk2700_MPOCLGBFNAK,json=Unk2700MPOCLGBFNAK,proto3" json:"Unk2700_MPOCLGBFNAK,omitempty"` + Unk2700_KGGCKHBIOED bool `protobuf:"varint,2,opt,name=Unk2700_KGGCKHBIOED,json=Unk2700KGGCKHBIOED,proto3" json:"Unk2700_KGGCKHBIOED,omitempty"` + IsContentClosed bool `protobuf:"varint,14,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk2700_EOGEAIHJPFD bool `protobuf:"varint,6,opt,name=Unk2700_EOGEAIHJPFD,json=Unk2700EOGEAIHJPFD,proto3" json:"Unk2700_EOGEAIHJPFD,omitempty"` +} + +func (x *LanternRiteActivityDetailInfo) Reset() { + *x = LanternRiteActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_LanternRiteActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LanternRiteActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LanternRiteActivityDetailInfo) ProtoMessage() {} + +func (x *LanternRiteActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_LanternRiteActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LanternRiteActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*LanternRiteActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_LanternRiteActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *LanternRiteActivityDetailInfo) GetUnk2700_ONOHODJPIGK() *Unk2700_JCNIPOJMFMH { + if x != nil { + return x.Unk2700_ONOHODJPIGK + } + return nil +} + +func (x *LanternRiteActivityDetailInfo) GetUnk2700_PHKHIPLDOOA() []*Unk2700_LLGDCAKMCKL { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +func (x *LanternRiteActivityDetailInfo) GetUnk2700_MPOCLGBFNAK() *Unk2700_MJGFEHOMKJE { + if x != nil { + return x.Unk2700_MPOCLGBFNAK + } + return nil +} + +func (x *LanternRiteActivityDetailInfo) GetUnk2700_KGGCKHBIOED() bool { + if x != nil { + return x.Unk2700_KGGCKHBIOED + } + return false +} + +func (x *LanternRiteActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *LanternRiteActivityDetailInfo) GetUnk2700_EOGEAIHJPFD() bool { + if x != nil { + return x.Unk2700_EOGEAIHJPFD + } + return false +} + +var File_LanternRiteActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_LanternRiteActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x4c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x69, 0x74, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x43, 0x4e, 0x49, 0x50, 0x4f, 0x4a, 0x4d, 0x46, 0x4d, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x47, 0x44, 0x43, 0x41, + 0x4b, 0x4d, 0x43, 0x4b, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x47, 0x46, 0x45, 0x48, 0x4f, 0x4d, 0x4b, 0x4a, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x03, 0x0a, 0x1d, 0x4c, 0x61, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x52, 0x69, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x48, 0x4f, 0x44, 0x4a, 0x50, 0x49, 0x47, 0x4b, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4a, 0x43, 0x4e, 0x49, 0x50, 0x4f, 0x4a, 0x4d, 0x46, 0x4d, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x48, 0x4f, 0x44, 0x4a, 0x50, 0x49, 0x47, 0x4b, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, + 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x47, 0x44, 0x43, 0x41, 0x4b, 0x4d, 0x43, + 0x4b, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, + 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x50, 0x4f, 0x43, 0x4c, 0x47, 0x42, 0x46, 0x4e, 0x41, 0x4b, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, + 0x47, 0x46, 0x45, 0x48, 0x4f, 0x4d, 0x4b, 0x4a, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4d, 0x50, 0x4f, 0x43, 0x4c, 0x47, 0x42, 0x46, 0x4e, 0x41, 0x4b, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x47, 0x43, 0x4b, 0x48, 0x42, + 0x49, 0x4f, 0x45, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4b, 0x47, 0x47, 0x43, 0x4b, 0x48, 0x42, 0x49, 0x4f, 0x45, 0x44, 0x12, 0x2a, + 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x47, 0x45, 0x41, 0x49, 0x48, 0x4a, 0x50, 0x46, + 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x45, 0x4f, 0x47, 0x45, 0x41, 0x49, 0x48, 0x4a, 0x50, 0x46, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LanternRiteActivityDetailInfo_proto_rawDescOnce sync.Once + file_LanternRiteActivityDetailInfo_proto_rawDescData = file_LanternRiteActivityDetailInfo_proto_rawDesc +) + +func file_LanternRiteActivityDetailInfo_proto_rawDescGZIP() []byte { + file_LanternRiteActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_LanternRiteActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_LanternRiteActivityDetailInfo_proto_rawDescData) + }) + return file_LanternRiteActivityDetailInfo_proto_rawDescData +} + +var file_LanternRiteActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LanternRiteActivityDetailInfo_proto_goTypes = []interface{}{ + (*LanternRiteActivityDetailInfo)(nil), // 0: LanternRiteActivityDetailInfo + (*Unk2700_JCNIPOJMFMH)(nil), // 1: Unk2700_JCNIPOJMFMH + (*Unk2700_LLGDCAKMCKL)(nil), // 2: Unk2700_LLGDCAKMCKL + (*Unk2700_MJGFEHOMKJE)(nil), // 3: Unk2700_MJGFEHOMKJE +} +var file_LanternRiteActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: LanternRiteActivityDetailInfo.Unk2700_ONOHODJPIGK:type_name -> Unk2700_JCNIPOJMFMH + 2, // 1: LanternRiteActivityDetailInfo.Unk2700_PHKHIPLDOOA:type_name -> Unk2700_LLGDCAKMCKL + 3, // 2: LanternRiteActivityDetailInfo.Unk2700_MPOCLGBFNAK:type_name -> Unk2700_MJGFEHOMKJE + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_LanternRiteActivityDetailInfo_proto_init() } +func file_LanternRiteActivityDetailInfo_proto_init() { + if File_LanternRiteActivityDetailInfo_proto != nil { + return + } + file_Unk2700_JCNIPOJMFMH_proto_init() + file_Unk2700_LLGDCAKMCKL_proto_init() + file_Unk2700_MJGFEHOMKJE_proto_init() + if !protoimpl.UnsafeEnabled { + file_LanternRiteActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LanternRiteActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LanternRiteActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LanternRiteActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_LanternRiteActivityDetailInfo_proto_depIdxs, + MessageInfos: file_LanternRiteActivityDetailInfo_proto_msgTypes, + }.Build() + File_LanternRiteActivityDetailInfo_proto = out.File + file_LanternRiteActivityDetailInfo_proto_rawDesc = nil + file_LanternRiteActivityDetailInfo_proto_goTypes = nil + file_LanternRiteActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.proto b/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.proto new file mode 100644 index 00000000..ef74d77f --- /dev/null +++ b/gate-hk4e-api/proto/LanternRiteActivityDetailInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JCNIPOJMFMH.proto"; +import "Unk2700_LLGDCAKMCKL.proto"; +import "Unk2700_MJGFEHOMKJE.proto"; + +option go_package = "./;proto"; + +message LanternRiteActivityDetailInfo { + Unk2700_JCNIPOJMFMH Unk2700_ONOHODJPIGK = 13; + repeated Unk2700_LLGDCAKMCKL Unk2700_PHKHIPLDOOA = 5; + Unk2700_MJGFEHOMKJE Unk2700_MPOCLGBFNAK = 8; + bool Unk2700_KGGCKHBIOED = 2; + bool is_content_closed = 14; + bool Unk2700_EOGEAIHJPFD = 6; +} diff --git a/gate-hk4e-api/proto/LeaveSceneReq.pb.go b/gate-hk4e-api/proto/LeaveSceneReq.pb.go new file mode 100644 index 00000000..23197b80 --- /dev/null +++ b/gate-hk4e-api/proto/LeaveSceneReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LeaveSceneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 298 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LeaveSceneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LeaveSceneReq) Reset() { + *x = LeaveSceneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_LeaveSceneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LeaveSceneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LeaveSceneReq) ProtoMessage() {} + +func (x *LeaveSceneReq) ProtoReflect() protoreflect.Message { + mi := &file_LeaveSceneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LeaveSceneReq.ProtoReflect.Descriptor instead. +func (*LeaveSceneReq) Descriptor() ([]byte, []int) { + return file_LeaveSceneReq_proto_rawDescGZIP(), []int{0} +} + +var File_LeaveSceneReq_proto protoreflect.FileDescriptor + +var file_LeaveSceneReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LeaveSceneReq_proto_rawDescOnce sync.Once + file_LeaveSceneReq_proto_rawDescData = file_LeaveSceneReq_proto_rawDesc +) + +func file_LeaveSceneReq_proto_rawDescGZIP() []byte { + file_LeaveSceneReq_proto_rawDescOnce.Do(func() { + file_LeaveSceneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_LeaveSceneReq_proto_rawDescData) + }) + return file_LeaveSceneReq_proto_rawDescData +} + +var file_LeaveSceneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LeaveSceneReq_proto_goTypes = []interface{}{ + (*LeaveSceneReq)(nil), // 0: LeaveSceneReq +} +var file_LeaveSceneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LeaveSceneReq_proto_init() } +func file_LeaveSceneReq_proto_init() { + if File_LeaveSceneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LeaveSceneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaveSceneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LeaveSceneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LeaveSceneReq_proto_goTypes, + DependencyIndexes: file_LeaveSceneReq_proto_depIdxs, + MessageInfos: file_LeaveSceneReq_proto_msgTypes, + }.Build() + File_LeaveSceneReq_proto = out.File + file_LeaveSceneReq_proto_rawDesc = nil + file_LeaveSceneReq_proto_goTypes = nil + file_LeaveSceneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LeaveSceneReq.proto b/gate-hk4e-api/proto/LeaveSceneReq.proto new file mode 100644 index 00000000..85b07ad9 --- /dev/null +++ b/gate-hk4e-api/proto/LeaveSceneReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 298 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LeaveSceneReq {} diff --git a/gate-hk4e-api/proto/LeaveSceneRsp.pb.go b/gate-hk4e-api/proto/LeaveSceneRsp.pb.go new file mode 100644 index 00000000..0969b512 --- /dev/null +++ b/gate-hk4e-api/proto/LeaveSceneRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LeaveSceneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 212 +// EnetChannelId: 0 +// EnetIsReliable: true +type LeaveSceneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *LeaveSceneRsp) Reset() { + *x = LeaveSceneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_LeaveSceneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LeaveSceneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LeaveSceneRsp) ProtoMessage() {} + +func (x *LeaveSceneRsp) ProtoReflect() protoreflect.Message { + mi := &file_LeaveSceneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LeaveSceneRsp.ProtoReflect.Descriptor instead. +func (*LeaveSceneRsp) Descriptor() ([]byte, []int) { + return file_LeaveSceneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *LeaveSceneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_LeaveSceneRsp_proto protoreflect.FileDescriptor + +var file_LeaveSceneRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LeaveSceneRsp_proto_rawDescOnce sync.Once + file_LeaveSceneRsp_proto_rawDescData = file_LeaveSceneRsp_proto_rawDesc +) + +func file_LeaveSceneRsp_proto_rawDescGZIP() []byte { + file_LeaveSceneRsp_proto_rawDescOnce.Do(func() { + file_LeaveSceneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_LeaveSceneRsp_proto_rawDescData) + }) + return file_LeaveSceneRsp_proto_rawDescData +} + +var file_LeaveSceneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LeaveSceneRsp_proto_goTypes = []interface{}{ + (*LeaveSceneRsp)(nil), // 0: LeaveSceneRsp +} +var file_LeaveSceneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LeaveSceneRsp_proto_init() } +func file_LeaveSceneRsp_proto_init() { + if File_LeaveSceneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LeaveSceneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaveSceneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LeaveSceneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LeaveSceneRsp_proto_goTypes, + DependencyIndexes: file_LeaveSceneRsp_proto_depIdxs, + MessageInfos: file_LeaveSceneRsp_proto_msgTypes, + }.Build() + File_LeaveSceneRsp_proto = out.File + file_LeaveSceneRsp_proto_rawDesc = nil + file_LeaveSceneRsp_proto_goTypes = nil + file_LeaveSceneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LeaveSceneRsp.proto b/gate-hk4e-api/proto/LeaveSceneRsp.proto new file mode 100644 index 00000000..6a5a03e8 --- /dev/null +++ b/gate-hk4e-api/proto/LeaveSceneRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 212 +// EnetChannelId: 0 +// EnetIsReliable: true +message LeaveSceneRsp { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/LeaveWorldNotify.pb.go b/gate-hk4e-api/proto/LeaveWorldNotify.pb.go new file mode 100644 index 00000000..ea31df8f --- /dev/null +++ b/gate-hk4e-api/proto/LeaveWorldNotify.pb.go @@ -0,0 +1,150 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LeaveWorldNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3017 +// EnetChannelId: 0 +// EnetIsReliable: true +type LeaveWorldNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LeaveWorldNotify) Reset() { + *x = LeaveWorldNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LeaveWorldNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LeaveWorldNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LeaveWorldNotify) ProtoMessage() {} + +func (x *LeaveWorldNotify) ProtoReflect() protoreflect.Message { + mi := &file_LeaveWorldNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LeaveWorldNotify.ProtoReflect.Descriptor instead. +func (*LeaveWorldNotify) Descriptor() ([]byte, []int) { + return file_LeaveWorldNotify_proto_rawDescGZIP(), []int{0} +} + +var File_LeaveWorldNotify_proto protoreflect.FileDescriptor + +var file_LeaveWorldNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x4c, 0x65, 0x61, 0x76, + 0x65, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LeaveWorldNotify_proto_rawDescOnce sync.Once + file_LeaveWorldNotify_proto_rawDescData = file_LeaveWorldNotify_proto_rawDesc +) + +func file_LeaveWorldNotify_proto_rawDescGZIP() []byte { + file_LeaveWorldNotify_proto_rawDescOnce.Do(func() { + file_LeaveWorldNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LeaveWorldNotify_proto_rawDescData) + }) + return file_LeaveWorldNotify_proto_rawDescData +} + +var file_LeaveWorldNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LeaveWorldNotify_proto_goTypes = []interface{}{ + (*LeaveWorldNotify)(nil), // 0: LeaveWorldNotify +} +var file_LeaveWorldNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LeaveWorldNotify_proto_init() } +func file_LeaveWorldNotify_proto_init() { + if File_LeaveWorldNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LeaveWorldNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaveWorldNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LeaveWorldNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LeaveWorldNotify_proto_goTypes, + DependencyIndexes: file_LeaveWorldNotify_proto_depIdxs, + MessageInfos: file_LeaveWorldNotify_proto_msgTypes, + }.Build() + File_LeaveWorldNotify_proto = out.File + file_LeaveWorldNotify_proto_rawDesc = nil + file_LeaveWorldNotify_proto_goTypes = nil + file_LeaveWorldNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LeaveWorldNotify.proto b/gate-hk4e-api/proto/LeaveWorldNotify.proto new file mode 100644 index 00000000..e06b73c2 --- /dev/null +++ b/gate-hk4e-api/proto/LeaveWorldNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3017 +// EnetChannelId: 0 +// EnetIsReliable: true +message LeaveWorldNotify {} diff --git a/gate-hk4e-api/proto/LevelupCityReq.pb.go b/gate-hk4e-api/proto/LevelupCityReq.pb.go new file mode 100644 index 00000000..b07f0b6d --- /dev/null +++ b/gate-hk4e-api/proto/LevelupCityReq.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LevelupCityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 216 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LevelupCityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + AreaId uint32 `protobuf:"varint,3,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + ItemNum uint32 `protobuf:"varint,14,opt,name=item_num,json=itemNum,proto3" json:"item_num,omitempty"` +} + +func (x *LevelupCityReq) Reset() { + *x = LevelupCityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_LevelupCityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LevelupCityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LevelupCityReq) ProtoMessage() {} + +func (x *LevelupCityReq) ProtoReflect() protoreflect.Message { + mi := &file_LevelupCityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LevelupCityReq.ProtoReflect.Descriptor instead. +func (*LevelupCityReq) Descriptor() ([]byte, []int) { + return file_LevelupCityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *LevelupCityReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *LevelupCityReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LevelupCityReq) GetItemNum() uint32 { + if x != nil { + return x.ItemNum + } + return 0 +} + +var File_LevelupCityReq_proto protoreflect.FileDescriptor + +var file_LevelupCityReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x0e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x75, + 0x70, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LevelupCityReq_proto_rawDescOnce sync.Once + file_LevelupCityReq_proto_rawDescData = file_LevelupCityReq_proto_rawDesc +) + +func file_LevelupCityReq_proto_rawDescGZIP() []byte { + file_LevelupCityReq_proto_rawDescOnce.Do(func() { + file_LevelupCityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_LevelupCityReq_proto_rawDescData) + }) + return file_LevelupCityReq_proto_rawDescData +} + +var file_LevelupCityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LevelupCityReq_proto_goTypes = []interface{}{ + (*LevelupCityReq)(nil), // 0: LevelupCityReq +} +var file_LevelupCityReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LevelupCityReq_proto_init() } +func file_LevelupCityReq_proto_init() { + if File_LevelupCityReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LevelupCityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LevelupCityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LevelupCityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LevelupCityReq_proto_goTypes, + DependencyIndexes: file_LevelupCityReq_proto_depIdxs, + MessageInfos: file_LevelupCityReq_proto_msgTypes, + }.Build() + File_LevelupCityReq_proto = out.File + file_LevelupCityReq_proto_rawDesc = nil + file_LevelupCityReq_proto_goTypes = nil + file_LevelupCityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LevelupCityReq.proto b/gate-hk4e-api/proto/LevelupCityReq.proto new file mode 100644 index 00000000..bed4507e --- /dev/null +++ b/gate-hk4e-api/proto/LevelupCityReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 216 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LevelupCityReq { + uint32 scene_id = 5; + uint32 area_id = 3; + uint32 item_num = 14; +} diff --git a/gate-hk4e-api/proto/LevelupCityRsp.pb.go b/gate-hk4e-api/proto/LevelupCityRsp.pb.go new file mode 100644 index 00000000..a1ca4189 --- /dev/null +++ b/gate-hk4e-api/proto/LevelupCityRsp.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LevelupCityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 287 +// EnetChannelId: 0 +// EnetIsReliable: true +type LevelupCityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,9,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + SceneId uint32 `protobuf:"varint,4,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + CityInfo *CityInfo `protobuf:"bytes,6,opt,name=city_info,json=cityInfo,proto3" json:"city_info,omitempty"` +} + +func (x *LevelupCityRsp) Reset() { + *x = LevelupCityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_LevelupCityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LevelupCityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LevelupCityRsp) ProtoMessage() {} + +func (x *LevelupCityRsp) ProtoReflect() protoreflect.Message { + mi := &file_LevelupCityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LevelupCityRsp.ProtoReflect.Descriptor instead. +func (*LevelupCityRsp) Descriptor() ([]byte, []int) { + return file_LevelupCityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *LevelupCityRsp) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LevelupCityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *LevelupCityRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *LevelupCityRsp) GetCityInfo() *CityInfo { + if x != nil { + return x.CityInfo + } + return nil +} + +var File_LevelupCityRsp_proto protoreflect.FileDescriptor + +var file_LevelupCityRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x43, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x0e, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x75, 0x70, 0x43, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, + 0x61, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x09, 0x63, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_LevelupCityRsp_proto_rawDescOnce sync.Once + file_LevelupCityRsp_proto_rawDescData = file_LevelupCityRsp_proto_rawDesc +) + +func file_LevelupCityRsp_proto_rawDescGZIP() []byte { + file_LevelupCityRsp_proto_rawDescOnce.Do(func() { + file_LevelupCityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_LevelupCityRsp_proto_rawDescData) + }) + return file_LevelupCityRsp_proto_rawDescData +} + +var file_LevelupCityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LevelupCityRsp_proto_goTypes = []interface{}{ + (*LevelupCityRsp)(nil), // 0: LevelupCityRsp + (*CityInfo)(nil), // 1: CityInfo +} +var file_LevelupCityRsp_proto_depIdxs = []int32{ + 1, // 0: LevelupCityRsp.city_info:type_name -> CityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_LevelupCityRsp_proto_init() } +func file_LevelupCityRsp_proto_init() { + if File_LevelupCityRsp_proto != nil { + return + } + file_CityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_LevelupCityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LevelupCityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LevelupCityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LevelupCityRsp_proto_goTypes, + DependencyIndexes: file_LevelupCityRsp_proto_depIdxs, + MessageInfos: file_LevelupCityRsp_proto_msgTypes, + }.Build() + File_LevelupCityRsp_proto = out.File + file_LevelupCityRsp_proto_rawDesc = nil + file_LevelupCityRsp_proto_goTypes = nil + file_LevelupCityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LevelupCityRsp.proto b/gate-hk4e-api/proto/LevelupCityRsp.proto new file mode 100644 index 00000000..e58fba36 --- /dev/null +++ b/gate-hk4e-api/proto/LevelupCityRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 287 +// EnetChannelId: 0 +// EnetIsReliable: true +message LevelupCityRsp { + uint32 area_id = 9; + int32 retcode = 3; + uint32 scene_id = 4; + CityInfo city_info = 6; +} diff --git a/gate-hk4e-api/proto/LifeStateChangeNotify.pb.go b/gate-hk4e-api/proto/LifeStateChangeNotify.pb.go new file mode 100644 index 00000000..949d949d --- /dev/null +++ b/gate-hk4e-api/proto/LifeStateChangeNotify.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LifeStateChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1298 +// EnetChannelId: 0 +// EnetIsReliable: true +type LifeStateChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ServerBuffList []*ServerBuff `protobuf:"bytes,6,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` + AttackTag string `protobuf:"bytes,7,opt,name=attack_tag,json=attackTag,proto3" json:"attack_tag,omitempty"` + MoveReliableSeq uint32 `protobuf:"varint,15,opt,name=move_reliable_seq,json=moveReliableSeq,proto3" json:"move_reliable_seq,omitempty"` + DieType PlayerDieType `protobuf:"varint,14,opt,name=die_type,json=dieType,proto3,enum=PlayerDieType" json:"die_type,omitempty"` + LifeState uint32 `protobuf:"varint,5,opt,name=life_state,json=lifeState,proto3" json:"life_state,omitempty"` + SourceEntityId uint32 `protobuf:"varint,1,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` +} + +func (x *LifeStateChangeNotify) Reset() { + *x = LifeStateChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LifeStateChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LifeStateChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LifeStateChangeNotify) ProtoMessage() {} + +func (x *LifeStateChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_LifeStateChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LifeStateChangeNotify.ProtoReflect.Descriptor instead. +func (*LifeStateChangeNotify) Descriptor() ([]byte, []int) { + return file_LifeStateChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LifeStateChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *LifeStateChangeNotify) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +func (x *LifeStateChangeNotify) GetAttackTag() string { + if x != nil { + return x.AttackTag + } + return "" +} + +func (x *LifeStateChangeNotify) GetMoveReliableSeq() uint32 { + if x != nil { + return x.MoveReliableSeq + } + return 0 +} + +func (x *LifeStateChangeNotify) GetDieType() PlayerDieType { + if x != nil { + return x.DieType + } + return PlayerDieType_PLAYER_DIE_TYPE_NONE +} + +func (x *LifeStateChangeNotify) GetLifeState() uint32 { + if x != nil { + return x.LifeState + } + return 0 +} + +func (x *LifeStateChangeNotify) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +var File_LifeStateChangeNotify_proto protoreflect.FileDescriptor + +var file_LifeStateChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x02, 0x0a, 0x15, 0x4c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x10, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, + 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x67, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, + 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, + 0x76, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, 0x12, 0x29, 0x0a, + 0x08, 0x64, 0x69, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x07, 0x64, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x66, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x69, + 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LifeStateChangeNotify_proto_rawDescOnce sync.Once + file_LifeStateChangeNotify_proto_rawDescData = file_LifeStateChangeNotify_proto_rawDesc +) + +func file_LifeStateChangeNotify_proto_rawDescGZIP() []byte { + file_LifeStateChangeNotify_proto_rawDescOnce.Do(func() { + file_LifeStateChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LifeStateChangeNotify_proto_rawDescData) + }) + return file_LifeStateChangeNotify_proto_rawDescData +} + +var file_LifeStateChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LifeStateChangeNotify_proto_goTypes = []interface{}{ + (*LifeStateChangeNotify)(nil), // 0: LifeStateChangeNotify + (*ServerBuff)(nil), // 1: ServerBuff + (PlayerDieType)(0), // 2: PlayerDieType +} +var file_LifeStateChangeNotify_proto_depIdxs = []int32{ + 1, // 0: LifeStateChangeNotify.server_buff_list:type_name -> ServerBuff + 2, // 1: LifeStateChangeNotify.die_type:type_name -> PlayerDieType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_LifeStateChangeNotify_proto_init() } +func file_LifeStateChangeNotify_proto_init() { + if File_LifeStateChangeNotify_proto != nil { + return + } + file_PlayerDieType_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_LifeStateChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LifeStateChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LifeStateChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LifeStateChangeNotify_proto_goTypes, + DependencyIndexes: file_LifeStateChangeNotify_proto_depIdxs, + MessageInfos: file_LifeStateChangeNotify_proto_msgTypes, + }.Build() + File_LifeStateChangeNotify_proto = out.File + file_LifeStateChangeNotify_proto_rawDesc = nil + file_LifeStateChangeNotify_proto_goTypes = nil + file_LifeStateChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LifeStateChangeNotify.proto b/gate-hk4e-api/proto/LifeStateChangeNotify.proto new file mode 100644 index 00000000..e6eec20b --- /dev/null +++ b/gate-hk4e-api/proto/LifeStateChangeNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieType.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +// CmdId: 1298 +// EnetChannelId: 0 +// EnetIsReliable: true +message LifeStateChangeNotify { + uint32 entity_id = 4; + repeated ServerBuff server_buff_list = 6; + string attack_tag = 7; + uint32 move_reliable_seq = 15; + PlayerDieType die_type = 14; + uint32 life_state = 5; + uint32 source_entity_id = 1; +} diff --git a/gate-hk4e-api/proto/LiveEndNotify.pb.go b/gate-hk4e-api/proto/LiveEndNotify.pb.go new file mode 100644 index 00000000..f1b3a317 --- /dev/null +++ b/gate-hk4e-api/proto/LiveEndNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LiveEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 806 +// EnetChannelId: 0 +// EnetIsReliable: true +type LiveEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LiveId uint32 `protobuf:"varint,5,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"` +} + +func (x *LiveEndNotify) Reset() { + *x = LiveEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LiveEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LiveEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LiveEndNotify) ProtoMessage() {} + +func (x *LiveEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_LiveEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LiveEndNotify.ProtoReflect.Descriptor instead. +func (*LiveEndNotify) Descriptor() ([]byte, []int) { + return file_LiveEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LiveEndNotify) GetLiveId() uint32 { + if x != nil { + return x.LiveId + } + return 0 +} + +var File_LiveEndNotify_proto protoreflect.FileDescriptor + +var file_LiveEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4c, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x64, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_LiveEndNotify_proto_rawDescOnce sync.Once + file_LiveEndNotify_proto_rawDescData = file_LiveEndNotify_proto_rawDesc +) + +func file_LiveEndNotify_proto_rawDescGZIP() []byte { + file_LiveEndNotify_proto_rawDescOnce.Do(func() { + file_LiveEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LiveEndNotify_proto_rawDescData) + }) + return file_LiveEndNotify_proto_rawDescData +} + +var file_LiveEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LiveEndNotify_proto_goTypes = []interface{}{ + (*LiveEndNotify)(nil), // 0: LiveEndNotify +} +var file_LiveEndNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LiveEndNotify_proto_init() } +func file_LiveEndNotify_proto_init() { + if File_LiveEndNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LiveEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiveEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LiveEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LiveEndNotify_proto_goTypes, + DependencyIndexes: file_LiveEndNotify_proto_depIdxs, + MessageInfos: file_LiveEndNotify_proto_msgTypes, + }.Build() + File_LiveEndNotify_proto = out.File + file_LiveEndNotify_proto_rawDesc = nil + file_LiveEndNotify_proto_goTypes = nil + file_LiveEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LiveEndNotify.proto b/gate-hk4e-api/proto/LiveEndNotify.proto new file mode 100644 index 00000000..379d0ea5 --- /dev/null +++ b/gate-hk4e-api/proto/LiveEndNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 806 +// EnetChannelId: 0 +// EnetIsReliable: true +message LiveEndNotify { + uint32 live_id = 5; +} diff --git a/gate-hk4e-api/proto/LiveStartNotify.pb.go b/gate-hk4e-api/proto/LiveStartNotify.pb.go new file mode 100644 index 00000000..28e0adb3 --- /dev/null +++ b/gate-hk4e-api/proto/LiveStartNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LiveStartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 826 +// EnetChannelId: 0 +// EnetIsReliable: true +type LiveStartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LiveId uint32 `protobuf:"varint,2,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"` +} + +func (x *LiveStartNotify) Reset() { + *x = LiveStartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LiveStartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LiveStartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LiveStartNotify) ProtoMessage() {} + +func (x *LiveStartNotify) ProtoReflect() protoreflect.Message { + mi := &file_LiveStartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LiveStartNotify.ProtoReflect.Descriptor instead. +func (*LiveStartNotify) Descriptor() ([]byte, []int) { + return file_LiveStartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LiveStartNotify) GetLiveId() uint32 { + if x != nil { + return x.LiveId + } + return 0 +} + +var File_LiveStartNotify_proto protoreflect.FileDescriptor + +var file_LiveStartNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4c, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0f, 0x4c, 0x69, 0x76, 0x65, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x69, + 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x69, 0x76, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LiveStartNotify_proto_rawDescOnce sync.Once + file_LiveStartNotify_proto_rawDescData = file_LiveStartNotify_proto_rawDesc +) + +func file_LiveStartNotify_proto_rawDescGZIP() []byte { + file_LiveStartNotify_proto_rawDescOnce.Do(func() { + file_LiveStartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LiveStartNotify_proto_rawDescData) + }) + return file_LiveStartNotify_proto_rawDescData +} + +var file_LiveStartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LiveStartNotify_proto_goTypes = []interface{}{ + (*LiveStartNotify)(nil), // 0: LiveStartNotify +} +var file_LiveStartNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LiveStartNotify_proto_init() } +func file_LiveStartNotify_proto_init() { + if File_LiveStartNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LiveStartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiveStartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LiveStartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LiveStartNotify_proto_goTypes, + DependencyIndexes: file_LiveStartNotify_proto_depIdxs, + MessageInfos: file_LiveStartNotify_proto_msgTypes, + }.Build() + File_LiveStartNotify_proto = out.File + file_LiveStartNotify_proto_rawDesc = nil + file_LiveStartNotify_proto_goTypes = nil + file_LiveStartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LiveStartNotify.proto b/gate-hk4e-api/proto/LiveStartNotify.proto new file mode 100644 index 00000000..258b425a --- /dev/null +++ b/gate-hk4e-api/proto/LiveStartNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 826 +// EnetChannelId: 0 +// EnetIsReliable: true +message LiveStartNotify { + uint32 live_id = 2; +} diff --git a/gate-hk4e-api/proto/LoadActivityTerrainNotify.pb.go b/gate-hk4e-api/proto/LoadActivityTerrainNotify.pb.go new file mode 100644 index 00000000..41925cd6 --- /dev/null +++ b/gate-hk4e-api/proto/LoadActivityTerrainNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LoadActivityTerrainNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2029 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LoadActivityTerrainNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *LoadActivityTerrainNotify) Reset() { + *x = LoadActivityTerrainNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LoadActivityTerrainNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LoadActivityTerrainNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LoadActivityTerrainNotify) ProtoMessage() {} + +func (x *LoadActivityTerrainNotify) ProtoReflect() protoreflect.Message { + mi := &file_LoadActivityTerrainNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LoadActivityTerrainNotify.ProtoReflect.Descriptor instead. +func (*LoadActivityTerrainNotify) Descriptor() ([]byte, []int) { + return file_LoadActivityTerrainNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LoadActivityTerrainNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_LoadActivityTerrainNotify_proto protoreflect.FileDescriptor + +var file_LoadActivityTerrainNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x65, + 0x72, 0x72, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3c, 0x0a, 0x19, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x54, 0x65, 0x72, 0x72, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_LoadActivityTerrainNotify_proto_rawDescOnce sync.Once + file_LoadActivityTerrainNotify_proto_rawDescData = file_LoadActivityTerrainNotify_proto_rawDesc +) + +func file_LoadActivityTerrainNotify_proto_rawDescGZIP() []byte { + file_LoadActivityTerrainNotify_proto_rawDescOnce.Do(func() { + file_LoadActivityTerrainNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LoadActivityTerrainNotify_proto_rawDescData) + }) + return file_LoadActivityTerrainNotify_proto_rawDescData +} + +var file_LoadActivityTerrainNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LoadActivityTerrainNotify_proto_goTypes = []interface{}{ + (*LoadActivityTerrainNotify)(nil), // 0: LoadActivityTerrainNotify +} +var file_LoadActivityTerrainNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LoadActivityTerrainNotify_proto_init() } +func file_LoadActivityTerrainNotify_proto_init() { + if File_LoadActivityTerrainNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LoadActivityTerrainNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LoadActivityTerrainNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LoadActivityTerrainNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LoadActivityTerrainNotify_proto_goTypes, + DependencyIndexes: file_LoadActivityTerrainNotify_proto_depIdxs, + MessageInfos: file_LoadActivityTerrainNotify_proto_msgTypes, + }.Build() + File_LoadActivityTerrainNotify_proto = out.File + file_LoadActivityTerrainNotify_proto_rawDesc = nil + file_LoadActivityTerrainNotify_proto_goTypes = nil + file_LoadActivityTerrainNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LoadActivityTerrainNotify.proto b/gate-hk4e-api/proto/LoadActivityTerrainNotify.proto new file mode 100644 index 00000000..3abeb059 --- /dev/null +++ b/gate-hk4e-api/proto/LoadActivityTerrainNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2029 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LoadActivityTerrainNotify { + uint32 activity_id = 3; +} diff --git a/gate-hk4e-api/proto/LockedPersonallineData.pb.go b/gate-hk4e-api/proto/LockedPersonallineData.pb.go new file mode 100644 index 00000000..3a8afac7 --- /dev/null +++ b/gate-hk4e-api/proto/LockedPersonallineData.pb.go @@ -0,0 +1,275 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LockedPersonallineData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LockedPersonallineData_LockReason int32 + +const ( + LockedPersonallineData_LOCK_REASON_LEVEL LockedPersonallineData_LockReason = 0 + LockedPersonallineData_LOCK_REASON_QUEST LockedPersonallineData_LockReason = 1 +) + +// Enum value maps for LockedPersonallineData_LockReason. +var ( + LockedPersonallineData_LockReason_name = map[int32]string{ + 0: "LOCK_REASON_LEVEL", + 1: "LOCK_REASON_QUEST", + } + LockedPersonallineData_LockReason_value = map[string]int32{ + "LOCK_REASON_LEVEL": 0, + "LOCK_REASON_QUEST": 1, + } +) + +func (x LockedPersonallineData_LockReason) Enum() *LockedPersonallineData_LockReason { + p := new(LockedPersonallineData_LockReason) + *p = x + return p +} + +func (x LockedPersonallineData_LockReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LockedPersonallineData_LockReason) Descriptor() protoreflect.EnumDescriptor { + return file_LockedPersonallineData_proto_enumTypes[0].Descriptor() +} + +func (LockedPersonallineData_LockReason) Type() protoreflect.EnumType { + return &file_LockedPersonallineData_proto_enumTypes[0] +} + +func (x LockedPersonallineData_LockReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LockedPersonallineData_LockReason.Descriptor instead. +func (LockedPersonallineData_LockReason) EnumDescriptor() ([]byte, []int) { + return file_LockedPersonallineData_proto_rawDescGZIP(), []int{0, 0} +} + +type LockedPersonallineData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LockReason LockedPersonallineData_LockReason `protobuf:"varint,2,opt,name=lock_reason,json=lockReason,proto3,enum=LockedPersonallineData_LockReason" json:"lock_reason,omitempty"` + PersonalLineId uint32 `protobuf:"varint,13,opt,name=personal_line_id,json=personalLineId,proto3" json:"personal_line_id,omitempty"` + // Types that are assignable to Param: + // *LockedPersonallineData_ChapterId + // *LockedPersonallineData_Level + Param isLockedPersonallineData_Param `protobuf_oneof:"param"` +} + +func (x *LockedPersonallineData) Reset() { + *x = LockedPersonallineData{} + if protoimpl.UnsafeEnabled { + mi := &file_LockedPersonallineData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LockedPersonallineData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LockedPersonallineData) ProtoMessage() {} + +func (x *LockedPersonallineData) ProtoReflect() protoreflect.Message { + mi := &file_LockedPersonallineData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LockedPersonallineData.ProtoReflect.Descriptor instead. +func (*LockedPersonallineData) Descriptor() ([]byte, []int) { + return file_LockedPersonallineData_proto_rawDescGZIP(), []int{0} +} + +func (x *LockedPersonallineData) GetLockReason() LockedPersonallineData_LockReason { + if x != nil { + return x.LockReason + } + return LockedPersonallineData_LOCK_REASON_LEVEL +} + +func (x *LockedPersonallineData) GetPersonalLineId() uint32 { + if x != nil { + return x.PersonalLineId + } + return 0 +} + +func (m *LockedPersonallineData) GetParam() isLockedPersonallineData_Param { + if m != nil { + return m.Param + } + return nil +} + +func (x *LockedPersonallineData) GetChapterId() uint32 { + if x, ok := x.GetParam().(*LockedPersonallineData_ChapterId); ok { + return x.ChapterId + } + return 0 +} + +func (x *LockedPersonallineData) GetLevel() uint32 { + if x, ok := x.GetParam().(*LockedPersonallineData_Level); ok { + return x.Level + } + return 0 +} + +type isLockedPersonallineData_Param interface { + isLockedPersonallineData_Param() +} + +type LockedPersonallineData_ChapterId struct { + ChapterId uint32 `protobuf:"varint,3,opt,name=chapter_id,json=chapterId,proto3,oneof"` +} + +type LockedPersonallineData_Level struct { + Level uint32 `protobuf:"varint,1,opt,name=level,proto3,oneof"` +} + +func (*LockedPersonallineData_ChapterId) isLockedPersonallineData_Param() {} + +func (*LockedPersonallineData_Level) isLockedPersonallineData_Param() {} + +var File_LockedPersonallineData_proto protoreflect.FileDescriptor + +var file_LockedPersonallineData_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, + 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, + 0x02, 0x0a, 0x16, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, + 0x6c, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, + 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, + 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x28, + 0x0a, 0x10, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, + 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x22, 0x3a, 0x0a, 0x0a, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x15, 0x0a, 0x11, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x42, 0x07, 0x0a, + 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LockedPersonallineData_proto_rawDescOnce sync.Once + file_LockedPersonallineData_proto_rawDescData = file_LockedPersonallineData_proto_rawDesc +) + +func file_LockedPersonallineData_proto_rawDescGZIP() []byte { + file_LockedPersonallineData_proto_rawDescOnce.Do(func() { + file_LockedPersonallineData_proto_rawDescData = protoimpl.X.CompressGZIP(file_LockedPersonallineData_proto_rawDescData) + }) + return file_LockedPersonallineData_proto_rawDescData +} + +var file_LockedPersonallineData_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_LockedPersonallineData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LockedPersonallineData_proto_goTypes = []interface{}{ + (LockedPersonallineData_LockReason)(0), // 0: LockedPersonallineData.LockReason + (*LockedPersonallineData)(nil), // 1: LockedPersonallineData +} +var file_LockedPersonallineData_proto_depIdxs = []int32{ + 0, // 0: LockedPersonallineData.lock_reason:type_name -> LockedPersonallineData.LockReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_LockedPersonallineData_proto_init() } +func file_LockedPersonallineData_proto_init() { + if File_LockedPersonallineData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LockedPersonallineData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LockedPersonallineData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_LockedPersonallineData_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*LockedPersonallineData_ChapterId)(nil), + (*LockedPersonallineData_Level)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LockedPersonallineData_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LockedPersonallineData_proto_goTypes, + DependencyIndexes: file_LockedPersonallineData_proto_depIdxs, + EnumInfos: file_LockedPersonallineData_proto_enumTypes, + MessageInfos: file_LockedPersonallineData_proto_msgTypes, + }.Build() + File_LockedPersonallineData_proto = out.File + file_LockedPersonallineData_proto_rawDesc = nil + file_LockedPersonallineData_proto_goTypes = nil + file_LockedPersonallineData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LockedPersonallineData.proto b/gate-hk4e-api/proto/LockedPersonallineData.proto new file mode 100644 index 00000000..a919b116 --- /dev/null +++ b/gate-hk4e-api/proto/LockedPersonallineData.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message LockedPersonallineData { + LockReason lock_reason = 2; + uint32 personal_line_id = 13; + oneof param { + uint32 chapter_id = 3; + uint32 level = 1; + } + + enum LockReason { + LOCK_REASON_LEVEL = 0; + LOCK_REASON_QUEST = 1; + } +} diff --git a/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.pb.go b/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.pb.go new file mode 100644 index 00000000..86d83b3d --- /dev/null +++ b/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LuaEnvironmentEffectNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3408 +// EnetChannelId: 0 +// EnetIsReliable: true +type LuaEnvironmentEffectNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + IntParamList []int32 `protobuf:"varint,12,rep,packed,name=int_param_list,json=intParamList,proto3" json:"int_param_list,omitempty"` + EffectAlias string `protobuf:"bytes,3,opt,name=effect_alias,json=effectAlias,proto3" json:"effect_alias,omitempty"` + FloatParamList []float32 `protobuf:"fixed32,14,rep,packed,name=float_param_list,json=floatParamList,proto3" json:"float_param_list,omitempty"` +} + +func (x *LuaEnvironmentEffectNotify) Reset() { + *x = LuaEnvironmentEffectNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LuaEnvironmentEffectNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LuaEnvironmentEffectNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LuaEnvironmentEffectNotify) ProtoMessage() {} + +func (x *LuaEnvironmentEffectNotify) ProtoReflect() protoreflect.Message { + mi := &file_LuaEnvironmentEffectNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LuaEnvironmentEffectNotify.ProtoReflect.Descriptor instead. +func (*LuaEnvironmentEffectNotify) Descriptor() ([]byte, []int) { + return file_LuaEnvironmentEffectNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LuaEnvironmentEffectNotify) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *LuaEnvironmentEffectNotify) GetIntParamList() []int32 { + if x != nil { + return x.IntParamList + } + return nil +} + +func (x *LuaEnvironmentEffectNotify) GetEffectAlias() string { + if x != nil { + return x.EffectAlias + } + return "" +} + +func (x *LuaEnvironmentEffectNotify) GetFloatParamList() []float32 { + if x != nil { + return x.FloatParamList + } + return nil +} + +var File_LuaEnvironmentEffectNotify_proto protoreflect.FileDescriptor + +var file_LuaEnvironmentEffectNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4c, 0x75, 0x61, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x1a, 0x4c, 0x75, 0x61, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x69, + 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x28, + 0x0a, 0x10, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0e, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LuaEnvironmentEffectNotify_proto_rawDescOnce sync.Once + file_LuaEnvironmentEffectNotify_proto_rawDescData = file_LuaEnvironmentEffectNotify_proto_rawDesc +) + +func file_LuaEnvironmentEffectNotify_proto_rawDescGZIP() []byte { + file_LuaEnvironmentEffectNotify_proto_rawDescOnce.Do(func() { + file_LuaEnvironmentEffectNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LuaEnvironmentEffectNotify_proto_rawDescData) + }) + return file_LuaEnvironmentEffectNotify_proto_rawDescData +} + +var file_LuaEnvironmentEffectNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LuaEnvironmentEffectNotify_proto_goTypes = []interface{}{ + (*LuaEnvironmentEffectNotify)(nil), // 0: LuaEnvironmentEffectNotify +} +var file_LuaEnvironmentEffectNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LuaEnvironmentEffectNotify_proto_init() } +func file_LuaEnvironmentEffectNotify_proto_init() { + if File_LuaEnvironmentEffectNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LuaEnvironmentEffectNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LuaEnvironmentEffectNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LuaEnvironmentEffectNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LuaEnvironmentEffectNotify_proto_goTypes, + DependencyIndexes: file_LuaEnvironmentEffectNotify_proto_depIdxs, + MessageInfos: file_LuaEnvironmentEffectNotify_proto_msgTypes, + }.Build() + File_LuaEnvironmentEffectNotify_proto = out.File + file_LuaEnvironmentEffectNotify_proto_rawDesc = nil + file_LuaEnvironmentEffectNotify_proto_goTypes = nil + file_LuaEnvironmentEffectNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.proto b/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.proto new file mode 100644 index 00000000..e9f76b50 --- /dev/null +++ b/gate-hk4e-api/proto/LuaEnvironmentEffectNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3408 +// EnetChannelId: 0 +// EnetIsReliable: true +message LuaEnvironmentEffectNotify { + uint32 type = 1; + repeated int32 int_param_list = 12; + string effect_alias = 3; + repeated float float_param_list = 14; +} diff --git a/gate-hk4e-api/proto/LuaSetOptionNotify.pb.go b/gate-hk4e-api/proto/LuaSetOptionNotify.pb.go new file mode 100644 index 00000000..0e068249 --- /dev/null +++ b/gate-hk4e-api/proto/LuaSetOptionNotify.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LuaSetOptionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LuaSetOptionNotify_LuaOptionType int32 + +const ( + LuaSetOptionNotify_LUA_OPTION_TYPE_NONE LuaSetOptionNotify_LuaOptionType = 0 + LuaSetOptionNotify_LUA_OPTION_TYPE_PLAYER_INPUT LuaSetOptionNotify_LuaOptionType = 1 +) + +// Enum value maps for LuaSetOptionNotify_LuaOptionType. +var ( + LuaSetOptionNotify_LuaOptionType_name = map[int32]string{ + 0: "LUA_OPTION_TYPE_NONE", + 1: "LUA_OPTION_TYPE_PLAYER_INPUT", + } + LuaSetOptionNotify_LuaOptionType_value = map[string]int32{ + "LUA_OPTION_TYPE_NONE": 0, + "LUA_OPTION_TYPE_PLAYER_INPUT": 1, + } +) + +func (x LuaSetOptionNotify_LuaOptionType) Enum() *LuaSetOptionNotify_LuaOptionType { + p := new(LuaSetOptionNotify_LuaOptionType) + *p = x + return p +} + +func (x LuaSetOptionNotify_LuaOptionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LuaSetOptionNotify_LuaOptionType) Descriptor() protoreflect.EnumDescriptor { + return file_LuaSetOptionNotify_proto_enumTypes[0].Descriptor() +} + +func (LuaSetOptionNotify_LuaOptionType) Type() protoreflect.EnumType { + return &file_LuaSetOptionNotify_proto_enumTypes[0] +} + +func (x LuaSetOptionNotify_LuaOptionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LuaSetOptionNotify_LuaOptionType.Descriptor instead. +func (LuaSetOptionNotify_LuaOptionType) EnumDescriptor() ([]byte, []int) { + return file_LuaSetOptionNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 316 +// EnetChannelId: 0 +// EnetIsReliable: true +type LuaSetOptionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LuaSetParam string `protobuf:"bytes,8,opt,name=lua_set_param,json=luaSetParam,proto3" json:"lua_set_param,omitempty"` + OptionType LuaSetOptionNotify_LuaOptionType `protobuf:"varint,10,opt,name=option_type,json=optionType,proto3,enum=LuaSetOptionNotify_LuaOptionType" json:"option_type,omitempty"` +} + +func (x *LuaSetOptionNotify) Reset() { + *x = LuaSetOptionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LuaSetOptionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LuaSetOptionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LuaSetOptionNotify) ProtoMessage() {} + +func (x *LuaSetOptionNotify) ProtoReflect() protoreflect.Message { + mi := &file_LuaSetOptionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LuaSetOptionNotify.ProtoReflect.Descriptor instead. +func (*LuaSetOptionNotify) Descriptor() ([]byte, []int) { + return file_LuaSetOptionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LuaSetOptionNotify) GetLuaSetParam() string { + if x != nil { + return x.LuaSetParam + } + return "" +} + +func (x *LuaSetOptionNotify) GetOptionType() LuaSetOptionNotify_LuaOptionType { + if x != nil { + return x.OptionType + } + return LuaSetOptionNotify_LUA_OPTION_TYPE_NONE +} + +var File_LuaSetOptionNotify_proto protoreflect.FileDescriptor + +var file_LuaSetOptionNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4c, 0x75, 0x61, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x12, 0x4c, + 0x75, 0x61, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x75, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x61, 0x53, 0x65, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x42, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x4c, 0x75, 0x61, + 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x4c, 0x75, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x0d, 0x4c, 0x75, 0x61, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x55, + 0x41, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x4c, 0x55, 0x41, 0x5f, 0x4f, 0x50, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, + 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LuaSetOptionNotify_proto_rawDescOnce sync.Once + file_LuaSetOptionNotify_proto_rawDescData = file_LuaSetOptionNotify_proto_rawDesc +) + +func file_LuaSetOptionNotify_proto_rawDescGZIP() []byte { + file_LuaSetOptionNotify_proto_rawDescOnce.Do(func() { + file_LuaSetOptionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LuaSetOptionNotify_proto_rawDescData) + }) + return file_LuaSetOptionNotify_proto_rawDescData +} + +var file_LuaSetOptionNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_LuaSetOptionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LuaSetOptionNotify_proto_goTypes = []interface{}{ + (LuaSetOptionNotify_LuaOptionType)(0), // 0: LuaSetOptionNotify.LuaOptionType + (*LuaSetOptionNotify)(nil), // 1: LuaSetOptionNotify +} +var file_LuaSetOptionNotify_proto_depIdxs = []int32{ + 0, // 0: LuaSetOptionNotify.option_type:type_name -> LuaSetOptionNotify.LuaOptionType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_LuaSetOptionNotify_proto_init() } +func file_LuaSetOptionNotify_proto_init() { + if File_LuaSetOptionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LuaSetOptionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LuaSetOptionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LuaSetOptionNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LuaSetOptionNotify_proto_goTypes, + DependencyIndexes: file_LuaSetOptionNotify_proto_depIdxs, + EnumInfos: file_LuaSetOptionNotify_proto_enumTypes, + MessageInfos: file_LuaSetOptionNotify_proto_msgTypes, + }.Build() + File_LuaSetOptionNotify_proto = out.File + file_LuaSetOptionNotify_proto_rawDesc = nil + file_LuaSetOptionNotify_proto_goTypes = nil + file_LuaSetOptionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LuaSetOptionNotify.proto b/gate-hk4e-api/proto/LuaSetOptionNotify.proto new file mode 100644 index 00000000..07a3ed91 --- /dev/null +++ b/gate-hk4e-api/proto/LuaSetOptionNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 316 +// EnetChannelId: 0 +// EnetIsReliable: true +message LuaSetOptionNotify { + string lua_set_param = 8; + LuaOptionType option_type = 10; + + enum LuaOptionType { + LUA_OPTION_TYPE_NONE = 0; + LUA_OPTION_TYPE_PLAYER_INPUT = 1; + } +} diff --git a/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.pb.go b/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.pb.go new file mode 100644 index 00000000..2caa73b0 --- /dev/null +++ b/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LuminanceStoneChallengeActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LuminanceStoneChallengeActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestScore uint32 `protobuf:"varint,11,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` + IsContentClosed bool `protobuf:"varint,6,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk2700_CKGMNLPDFCI bool `protobuf:"varint,12,opt,name=Unk2700_CKGMNLPDFCI,json=Unk2700CKGMNLPDFCI,proto3" json:"Unk2700_CKGMNLPDFCI,omitempty"` + Unk2700_NNLBIAFMHPA uint32 `protobuf:"varint,15,opt,name=Unk2700_NNLBIAFMHPA,json=Unk2700NNLBIAFMHPA,proto3" json:"Unk2700_NNLBIAFMHPA,omitempty"` +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) Reset() { + *x = LuminanceStoneChallengeActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_LuminanceStoneChallengeActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LuminanceStoneChallengeActivityDetailInfo) ProtoMessage() {} + +func (x *LuminanceStoneChallengeActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_LuminanceStoneChallengeActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LuminanceStoneChallengeActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*LuminanceStoneChallengeActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) GetUnk2700_CKGMNLPDFCI() bool { + if x != nil { + return x.Unk2700_CKGMNLPDFCI + } + return false +} + +func (x *LuminanceStoneChallengeActivityDetailInfo) GetUnk2700_NNLBIAFMHPA() uint32 { + if x != nil { + return x.Unk2700_NNLBIAFMHPA + } + return 0 +} + +var File_LuminanceStoneChallengeActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x29, 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, + 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x47, 0x4d, 0x4e, 0x4c, 0x50, 0x44, 0x46, 0x43, + 0x49, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x43, 0x4b, 0x47, 0x4d, 0x4e, 0x4c, 0x50, 0x44, 0x46, 0x43, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x4c, 0x42, 0x49, 0x41, 0x46, 0x4d, 0x48, + 0x50, 0x41, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4e, 0x4e, 0x4c, 0x42, 0x49, 0x41, 0x46, 0x4d, 0x48, 0x50, 0x41, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescOnce sync.Once + file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescData = file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDesc +) + +func file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescGZIP() []byte { + file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescData) + }) + return file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDescData +} + +var file_LuminanceStoneChallengeActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LuminanceStoneChallengeActivityDetailInfo_proto_goTypes = []interface{}{ + (*LuminanceStoneChallengeActivityDetailInfo)(nil), // 0: LuminanceStoneChallengeActivityDetailInfo +} +var file_LuminanceStoneChallengeActivityDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LuminanceStoneChallengeActivityDetailInfo_proto_init() } +func file_LuminanceStoneChallengeActivityDetailInfo_proto_init() { + if File_LuminanceStoneChallengeActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LuminanceStoneChallengeActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LuminanceStoneChallengeActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LuminanceStoneChallengeActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_LuminanceStoneChallengeActivityDetailInfo_proto_depIdxs, + MessageInfos: file_LuminanceStoneChallengeActivityDetailInfo_proto_msgTypes, + }.Build() + File_LuminanceStoneChallengeActivityDetailInfo_proto = out.File + file_LuminanceStoneChallengeActivityDetailInfo_proto_rawDesc = nil + file_LuminanceStoneChallengeActivityDetailInfo_proto_goTypes = nil + file_LuminanceStoneChallengeActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.proto b/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.proto new file mode 100644 index 00000000..cc3d5a37 --- /dev/null +++ b/gate-hk4e-api/proto/LuminanceStoneChallengeActivityDetailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message LuminanceStoneChallengeActivityDetailInfo { + uint32 best_score = 11; + bool is_content_closed = 6; + bool Unk2700_CKGMNLPDFCI = 12; + uint32 Unk2700_NNLBIAFMHPA = 15; +} diff --git a/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.pb.go b/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.pb.go new file mode 100644 index 00000000..11db610a --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteAreaFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteAreaFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,2,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` +} + +func (x *LunaRiteAreaFinishNotify) Reset() { + *x = LunaRiteAreaFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteAreaFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteAreaFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteAreaFinishNotify) ProtoMessage() {} + +func (x *LunaRiteAreaFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteAreaFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteAreaFinishNotify.ProtoReflect.Descriptor instead. +func (*LunaRiteAreaFinishNotify) Descriptor() ([]byte, []int) { + return file_LunaRiteAreaFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteAreaFinishNotify) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +var File_LunaRiteAreaFinishNotify_proto protoreflect.FileDescriptor + +var file_LunaRiteAreaFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, + 0x72, 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteAreaFinishNotify_proto_rawDescOnce sync.Once + file_LunaRiteAreaFinishNotify_proto_rawDescData = file_LunaRiteAreaFinishNotify_proto_rawDesc +) + +func file_LunaRiteAreaFinishNotify_proto_rawDescGZIP() []byte { + file_LunaRiteAreaFinishNotify_proto_rawDescOnce.Do(func() { + file_LunaRiteAreaFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteAreaFinishNotify_proto_rawDescData) + }) + return file_LunaRiteAreaFinishNotify_proto_rawDescData +} + +var file_LunaRiteAreaFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteAreaFinishNotify_proto_goTypes = []interface{}{ + (*LunaRiteAreaFinishNotify)(nil), // 0: LunaRiteAreaFinishNotify +} +var file_LunaRiteAreaFinishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteAreaFinishNotify_proto_init() } +func file_LunaRiteAreaFinishNotify_proto_init() { + if File_LunaRiteAreaFinishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteAreaFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteAreaFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteAreaFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteAreaFinishNotify_proto_goTypes, + DependencyIndexes: file_LunaRiteAreaFinishNotify_proto_depIdxs, + MessageInfos: file_LunaRiteAreaFinishNotify_proto_msgTypes, + }.Build() + File_LunaRiteAreaFinishNotify_proto = out.File + file_LunaRiteAreaFinishNotify_proto_rawDesc = nil + file_LunaRiteAreaFinishNotify_proto_goTypes = nil + file_LunaRiteAreaFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.proto b/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.proto new file mode 100644 index 00000000..7c723672 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteAreaFinishNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteAreaFinishNotify { + uint32 area_id = 2; +} diff --git a/gate-hk4e-api/proto/LunaRiteAreaInfo.pb.go b/gate-hk4e-api/proto/LunaRiteAreaInfo.pb.go new file mode 100644 index 00000000..70311223 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteAreaInfo.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteAreaInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunaRiteAreaInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SacrificeList []uint32 `protobuf:"varint,11,rep,packed,name=sacrifice_list,json=sacrificeList,proto3" json:"sacrifice_list,omitempty"` + HintStatus LunaRiteHintStatusType `protobuf:"varint,7,opt,name=hint_status,json=hintStatus,proto3,enum=LunaRiteHintStatusType" json:"hint_status,omitempty"` + SacrificeRewardList []uint32 `protobuf:"varint,4,rep,packed,name=sacrifice_reward_list,json=sacrificeRewardList,proto3" json:"sacrifice_reward_list,omitempty"` + AreaId uint32 `protobuf:"varint,8,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,6,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` +} + +func (x *LunaRiteAreaInfo) Reset() { + *x = LunaRiteAreaInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteAreaInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteAreaInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteAreaInfo) ProtoMessage() {} + +func (x *LunaRiteAreaInfo) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteAreaInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteAreaInfo.ProtoReflect.Descriptor instead. +func (*LunaRiteAreaInfo) Descriptor() ([]byte, []int) { + return file_LunaRiteAreaInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteAreaInfo) GetSacrificeList() []uint32 { + if x != nil { + return x.SacrificeList + } + return nil +} + +func (x *LunaRiteAreaInfo) GetHintStatus() LunaRiteHintStatusType { + if x != nil { + return x.HintStatus + } + return LunaRiteHintStatusType_LUNA_RITE_HINT_STATUS_TYPE_DEFAULT +} + +func (x *LunaRiteAreaInfo) GetSacrificeRewardList() []uint32 { + if x != nil { + return x.SacrificeRewardList + } + return nil +} + +func (x *LunaRiteAreaInfo) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteAreaInfo) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +var File_LunaRiteAreaInfo_proto protoreflect.FileDescriptor + +var file_LunaRiteAreaInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, + 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x10, 0x4c, 0x75, 0x6e, 0x61, 0x52, + 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, + 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0b, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, + 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0a, 0x68, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x32, 0x0a, 0x15, + 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x73, 0x61, 0x63, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteAreaInfo_proto_rawDescOnce sync.Once + file_LunaRiteAreaInfo_proto_rawDescData = file_LunaRiteAreaInfo_proto_rawDesc +) + +func file_LunaRiteAreaInfo_proto_rawDescGZIP() []byte { + file_LunaRiteAreaInfo_proto_rawDescOnce.Do(func() { + file_LunaRiteAreaInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteAreaInfo_proto_rawDescData) + }) + return file_LunaRiteAreaInfo_proto_rawDescData +} + +var file_LunaRiteAreaInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteAreaInfo_proto_goTypes = []interface{}{ + (*LunaRiteAreaInfo)(nil), // 0: LunaRiteAreaInfo + (LunaRiteHintStatusType)(0), // 1: LunaRiteHintStatusType +} +var file_LunaRiteAreaInfo_proto_depIdxs = []int32{ + 1, // 0: LunaRiteAreaInfo.hint_status:type_name -> LunaRiteHintStatusType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_LunaRiteAreaInfo_proto_init() } +func file_LunaRiteAreaInfo_proto_init() { + if File_LunaRiteAreaInfo_proto != nil { + return + } + file_LunaRiteHintStatusType_proto_init() + if !protoimpl.UnsafeEnabled { + file_LunaRiteAreaInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteAreaInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteAreaInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteAreaInfo_proto_goTypes, + DependencyIndexes: file_LunaRiteAreaInfo_proto_depIdxs, + MessageInfos: file_LunaRiteAreaInfo_proto_msgTypes, + }.Build() + File_LunaRiteAreaInfo_proto = out.File + file_LunaRiteAreaInfo_proto_rawDesc = nil + file_LunaRiteAreaInfo_proto_goTypes = nil + file_LunaRiteAreaInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteAreaInfo.proto b/gate-hk4e-api/proto/LunaRiteAreaInfo.proto new file mode 100644 index 00000000..bdef8d7c --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteAreaInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunaRiteHintStatusType.proto"; + +option go_package = "./;proto"; + +message LunaRiteAreaInfo { + repeated uint32 sacrifice_list = 11; + LunaRiteHintStatusType hint_status = 7; + repeated uint32 sacrifice_reward_list = 4; + uint32 area_id = 8; + uint32 challenge_index = 6; +} diff --git a/gate-hk4e-api/proto/LunaRiteDetailInfo.pb.go b/gate-hk4e-api/proto/LunaRiteDetailInfo.pb.go new file mode 100644 index 00000000..aae01bcd --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteDetailInfo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunaRiteDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HintPoint []*LunaRiteHintPoint `protobuf:"bytes,3,rep,name=hint_point,json=hintPoint,proto3" json:"hint_point,omitempty"` + AreaInfoList []*LunaRiteAreaInfo `protobuf:"bytes,13,rep,name=area_info_list,json=areaInfoList,proto3" json:"area_info_list,omitempty"` +} + +func (x *LunaRiteDetailInfo) Reset() { + *x = LunaRiteDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteDetailInfo) ProtoMessage() {} + +func (x *LunaRiteDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteDetailInfo.ProtoReflect.Descriptor instead. +func (*LunaRiteDetailInfo) Descriptor() ([]byte, []int) { + return file_LunaRiteDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteDetailInfo) GetHintPoint() []*LunaRiteHintPoint { + if x != nil { + return x.HintPoint + } + return nil +} + +func (x *LunaRiteDetailInfo) GetAreaInfoList() []*LunaRiteAreaInfo { + if x != nil { + return x.AreaInfoList + } + return nil +} + +var File_LunaRiteDetailInfo_proto protoreflect.FileDescriptor + +var file_LunaRiteDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4c, 0x75, 0x6e, 0x61, + 0x52, 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x17, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x12, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x0a, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, + 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x68, 0x69, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x0e, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0c, 0x61, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_LunaRiteDetailInfo_proto_rawDescOnce sync.Once + file_LunaRiteDetailInfo_proto_rawDescData = file_LunaRiteDetailInfo_proto_rawDesc +) + +func file_LunaRiteDetailInfo_proto_rawDescGZIP() []byte { + file_LunaRiteDetailInfo_proto_rawDescOnce.Do(func() { + file_LunaRiteDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteDetailInfo_proto_rawDescData) + }) + return file_LunaRiteDetailInfo_proto_rawDescData +} + +var file_LunaRiteDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteDetailInfo_proto_goTypes = []interface{}{ + (*LunaRiteDetailInfo)(nil), // 0: LunaRiteDetailInfo + (*LunaRiteHintPoint)(nil), // 1: LunaRiteHintPoint + (*LunaRiteAreaInfo)(nil), // 2: LunaRiteAreaInfo +} +var file_LunaRiteDetailInfo_proto_depIdxs = []int32{ + 1, // 0: LunaRiteDetailInfo.hint_point:type_name -> LunaRiteHintPoint + 2, // 1: LunaRiteDetailInfo.area_info_list:type_name -> LunaRiteAreaInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_LunaRiteDetailInfo_proto_init() } +func file_LunaRiteDetailInfo_proto_init() { + if File_LunaRiteDetailInfo_proto != nil { + return + } + file_LunaRiteAreaInfo_proto_init() + file_LunaRiteHintPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_LunaRiteDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteDetailInfo_proto_goTypes, + DependencyIndexes: file_LunaRiteDetailInfo_proto_depIdxs, + MessageInfos: file_LunaRiteDetailInfo_proto_msgTypes, + }.Build() + File_LunaRiteDetailInfo_proto = out.File + file_LunaRiteDetailInfo_proto_rawDesc = nil + file_LunaRiteDetailInfo_proto_goTypes = nil + file_LunaRiteDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteDetailInfo.proto b/gate-hk4e-api/proto/LunaRiteDetailInfo.proto new file mode 100644 index 00000000..b305f540 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunaRiteAreaInfo.proto"; +import "LunaRiteHintPoint.proto"; + +option go_package = "./;proto"; + +message LunaRiteDetailInfo { + repeated LunaRiteHintPoint hint_point = 3; + repeated LunaRiteAreaInfo area_info_list = 13; +} diff --git a/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.pb.go b/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.pb.go new file mode 100644 index 00000000..e7aad1b3 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteGroupBundleRegisterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8465 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteGroupBundleRegisterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupLinkBundleId uint32 `protobuf:"varint,11,opt,name=group_link_bundle_id,json=groupLinkBundleId,proto3" json:"group_link_bundle_id,omitempty"` +} + +func (x *LunaRiteGroupBundleRegisterNotify) Reset() { + *x = LunaRiteGroupBundleRegisterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteGroupBundleRegisterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteGroupBundleRegisterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteGroupBundleRegisterNotify) ProtoMessage() {} + +func (x *LunaRiteGroupBundleRegisterNotify) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteGroupBundleRegisterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteGroupBundleRegisterNotify.ProtoReflect.Descriptor instead. +func (*LunaRiteGroupBundleRegisterNotify) Descriptor() ([]byte, []int) { + return file_LunaRiteGroupBundleRegisterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteGroupBundleRegisterNotify) GetGroupLinkBundleId() uint32 { + if x != nil { + return x.GroupLinkBundleId + } + return 0 +} + +var File_LunaRiteGroupBundleRegisterNotify_proto protoreflect.FileDescriptor + +var file_LunaRiteGroupBundleRegisterNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x21, 0x4c, 0x75, 0x6e, + 0x61, 0x52, 0x69, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, + 0x0a, 0x14, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x62, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteGroupBundleRegisterNotify_proto_rawDescOnce sync.Once + file_LunaRiteGroupBundleRegisterNotify_proto_rawDescData = file_LunaRiteGroupBundleRegisterNotify_proto_rawDesc +) + +func file_LunaRiteGroupBundleRegisterNotify_proto_rawDescGZIP() []byte { + file_LunaRiteGroupBundleRegisterNotify_proto_rawDescOnce.Do(func() { + file_LunaRiteGroupBundleRegisterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteGroupBundleRegisterNotify_proto_rawDescData) + }) + return file_LunaRiteGroupBundleRegisterNotify_proto_rawDescData +} + +var file_LunaRiteGroupBundleRegisterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteGroupBundleRegisterNotify_proto_goTypes = []interface{}{ + (*LunaRiteGroupBundleRegisterNotify)(nil), // 0: LunaRiteGroupBundleRegisterNotify +} +var file_LunaRiteGroupBundleRegisterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteGroupBundleRegisterNotify_proto_init() } +func file_LunaRiteGroupBundleRegisterNotify_proto_init() { + if File_LunaRiteGroupBundleRegisterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteGroupBundleRegisterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteGroupBundleRegisterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteGroupBundleRegisterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteGroupBundleRegisterNotify_proto_goTypes, + DependencyIndexes: file_LunaRiteGroupBundleRegisterNotify_proto_depIdxs, + MessageInfos: file_LunaRiteGroupBundleRegisterNotify_proto_msgTypes, + }.Build() + File_LunaRiteGroupBundleRegisterNotify_proto = out.File + file_LunaRiteGroupBundleRegisterNotify_proto_rawDesc = nil + file_LunaRiteGroupBundleRegisterNotify_proto_goTypes = nil + file_LunaRiteGroupBundleRegisterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.proto b/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.proto new file mode 100644 index 00000000..4fdfeed4 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteGroupBundleRegisterNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8465 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteGroupBundleRegisterNotify { + uint32 group_link_bundle_id = 11; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPoint.pb.go b/gate-hk4e-api/proto/LunaRiteHintPoint.pb.go new file mode 100644 index 00000000..1ecc7e4f --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPoint.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintPoint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunaRiteHintPoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,11,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Index uint32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` + Type LunaRiteHintPointType `protobuf:"varint,2,opt,name=type,proto3,enum=LunaRiteHintPointType" json:"type,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *LunaRiteHintPoint) Reset() { + *x = LunaRiteHintPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteHintPoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteHintPoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteHintPoint) ProtoMessage() {} + +func (x *LunaRiteHintPoint) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteHintPoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteHintPoint.ProtoReflect.Descriptor instead. +func (*LunaRiteHintPoint) Descriptor() ([]byte, []int) { + return file_LunaRiteHintPoint_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteHintPoint) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteHintPoint) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *LunaRiteHintPoint) GetType() LunaRiteHintPointType { + if x != nil { + return x.Type + } + return LunaRiteHintPointType_LUNA_RITE_HINT_POINT_TYPE_NONE +} + +func (x *LunaRiteHintPoint) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_LunaRiteHintPoint_proto protoreflect.FileDescriptor + +var file_LunaRiteHintPoint_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x4c, 0x75, 0x6e, 0x61, 0x52, + 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x11, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, + 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, + 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, + 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, + 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteHintPoint_proto_rawDescOnce sync.Once + file_LunaRiteHintPoint_proto_rawDescData = file_LunaRiteHintPoint_proto_rawDesc +) + +func file_LunaRiteHintPoint_proto_rawDescGZIP() []byte { + file_LunaRiteHintPoint_proto_rawDescOnce.Do(func() { + file_LunaRiteHintPoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintPoint_proto_rawDescData) + }) + return file_LunaRiteHintPoint_proto_rawDescData +} + +var file_LunaRiteHintPoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteHintPoint_proto_goTypes = []interface{}{ + (*LunaRiteHintPoint)(nil), // 0: LunaRiteHintPoint + (LunaRiteHintPointType)(0), // 1: LunaRiteHintPointType + (*Vector)(nil), // 2: Vector +} +var file_LunaRiteHintPoint_proto_depIdxs = []int32{ + 1, // 0: LunaRiteHintPoint.type:type_name -> LunaRiteHintPointType + 2, // 1: LunaRiteHintPoint.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintPoint_proto_init() } +func file_LunaRiteHintPoint_proto_init() { + if File_LunaRiteHintPoint_proto != nil { + return + } + file_LunaRiteHintPointType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_LunaRiteHintPoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteHintPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintPoint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintPoint_proto_goTypes, + DependencyIndexes: file_LunaRiteHintPoint_proto_depIdxs, + MessageInfos: file_LunaRiteHintPoint_proto_msgTypes, + }.Build() + File_LunaRiteHintPoint_proto = out.File + file_LunaRiteHintPoint_proto_rawDesc = nil + file_LunaRiteHintPoint_proto_goTypes = nil + file_LunaRiteHintPoint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPoint.proto b/gate-hk4e-api/proto/LunaRiteHintPoint.proto new file mode 100644 index 00000000..d04a6d1c --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPoint.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunaRiteHintPointType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message LunaRiteHintPoint { + uint32 area_id = 11; + uint32 index = 7; + LunaRiteHintPointType type = 2; + Vector pos = 10; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.pb.go b/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.pb.go new file mode 100644 index 00000000..56aeefdd --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintPointRemoveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8787 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteHintPointRemoveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HintPointIndex []uint32 `protobuf:"varint,14,rep,packed,name=hint_point_index,json=hintPointIndex,proto3" json:"hint_point_index,omitempty"` +} + +func (x *LunaRiteHintPointRemoveNotify) Reset() { + *x = LunaRiteHintPointRemoveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteHintPointRemoveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteHintPointRemoveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteHintPointRemoveNotify) ProtoMessage() {} + +func (x *LunaRiteHintPointRemoveNotify) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteHintPointRemoveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteHintPointRemoveNotify.ProtoReflect.Descriptor instead. +func (*LunaRiteHintPointRemoveNotify) Descriptor() ([]byte, []int) { + return file_LunaRiteHintPointRemoveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteHintPointRemoveNotify) GetHintPointIndex() []uint32 { + if x != nil { + return x.HintPointIndex + } + return nil +} + +var File_LunaRiteHintPointRemoveNotify_proto protoreflect.FileDescriptor + +var file_LunaRiteHintPointRemoveNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x1d, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, + 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0e, 0x68, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteHintPointRemoveNotify_proto_rawDescOnce sync.Once + file_LunaRiteHintPointRemoveNotify_proto_rawDescData = file_LunaRiteHintPointRemoveNotify_proto_rawDesc +) + +func file_LunaRiteHintPointRemoveNotify_proto_rawDescGZIP() []byte { + file_LunaRiteHintPointRemoveNotify_proto_rawDescOnce.Do(func() { + file_LunaRiteHintPointRemoveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintPointRemoveNotify_proto_rawDescData) + }) + return file_LunaRiteHintPointRemoveNotify_proto_rawDescData +} + +var file_LunaRiteHintPointRemoveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteHintPointRemoveNotify_proto_goTypes = []interface{}{ + (*LunaRiteHintPointRemoveNotify)(nil), // 0: LunaRiteHintPointRemoveNotify +} +var file_LunaRiteHintPointRemoveNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintPointRemoveNotify_proto_init() } +func file_LunaRiteHintPointRemoveNotify_proto_init() { + if File_LunaRiteHintPointRemoveNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteHintPointRemoveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteHintPointRemoveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintPointRemoveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintPointRemoveNotify_proto_goTypes, + DependencyIndexes: file_LunaRiteHintPointRemoveNotify_proto_depIdxs, + MessageInfos: file_LunaRiteHintPointRemoveNotify_proto_msgTypes, + }.Build() + File_LunaRiteHintPointRemoveNotify_proto = out.File + file_LunaRiteHintPointRemoveNotify_proto_rawDesc = nil + file_LunaRiteHintPointRemoveNotify_proto_goTypes = nil + file_LunaRiteHintPointRemoveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.proto b/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.proto new file mode 100644 index 00000000..41b89807 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointRemoveNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8787 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteHintPointRemoveNotify { + repeated uint32 hint_point_index = 14; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointReq.pb.go b/gate-hk4e-api/proto/LunaRiteHintPointReq.pb.go new file mode 100644 index 00000000..29d97ee1 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintPointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8195 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteHintPointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,13,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` +} + +func (x *LunaRiteHintPointReq) Reset() { + *x = LunaRiteHintPointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteHintPointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteHintPointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteHintPointReq) ProtoMessage() {} + +func (x *LunaRiteHintPointReq) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteHintPointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteHintPointReq.ProtoReflect.Descriptor instead. +func (*LunaRiteHintPointReq) Descriptor() ([]byte, []int) { + return file_LunaRiteHintPointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteHintPointReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +var File_LunaRiteHintPointReq_proto protoreflect.FileDescriptor + +var file_LunaRiteHintPointReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x14, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_LunaRiteHintPointReq_proto_rawDescOnce sync.Once + file_LunaRiteHintPointReq_proto_rawDescData = file_LunaRiteHintPointReq_proto_rawDesc +) + +func file_LunaRiteHintPointReq_proto_rawDescGZIP() []byte { + file_LunaRiteHintPointReq_proto_rawDescOnce.Do(func() { + file_LunaRiteHintPointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintPointReq_proto_rawDescData) + }) + return file_LunaRiteHintPointReq_proto_rawDescData +} + +var file_LunaRiteHintPointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteHintPointReq_proto_goTypes = []interface{}{ + (*LunaRiteHintPointReq)(nil), // 0: LunaRiteHintPointReq +} +var file_LunaRiteHintPointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintPointReq_proto_init() } +func file_LunaRiteHintPointReq_proto_init() { + if File_LunaRiteHintPointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteHintPointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteHintPointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintPointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintPointReq_proto_goTypes, + DependencyIndexes: file_LunaRiteHintPointReq_proto_depIdxs, + MessageInfos: file_LunaRiteHintPointReq_proto_msgTypes, + }.Build() + File_LunaRiteHintPointReq_proto = out.File + file_LunaRiteHintPointReq_proto_rawDesc = nil + file_LunaRiteHintPointReq_proto_goTypes = nil + file_LunaRiteHintPointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointReq.proto b/gate-hk4e-api/proto/LunaRiteHintPointReq.proto new file mode 100644 index 00000000..a51def44 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8195 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteHintPointReq { + uint32 area_id = 13; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointRsp.pb.go b/gate-hk4e-api/proto/LunaRiteHintPointRsp.pb.go new file mode 100644 index 00000000..62a9e12c --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointRsp.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintPointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8765 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteHintPointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HintStatus LunaRiteHintStatusType `protobuf:"varint,4,opt,name=hint_status,json=hintStatus,proto3,enum=LunaRiteHintStatusType" json:"hint_status,omitempty"` + AreaId uint32 `protobuf:"varint,5,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + HintPoint []*LunaRiteHintPoint `protobuf:"bytes,9,rep,name=hint_point,json=hintPoint,proto3" json:"hint_point,omitempty"` +} + +func (x *LunaRiteHintPointRsp) Reset() { + *x = LunaRiteHintPointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteHintPointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteHintPointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteHintPointRsp) ProtoMessage() {} + +func (x *LunaRiteHintPointRsp) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteHintPointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteHintPointRsp.ProtoReflect.Descriptor instead. +func (*LunaRiteHintPointRsp) Descriptor() ([]byte, []int) { + return file_LunaRiteHintPointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteHintPointRsp) GetHintStatus() LunaRiteHintStatusType { + if x != nil { + return x.HintStatus + } + return LunaRiteHintStatusType_LUNA_RITE_HINT_STATUS_TYPE_DEFAULT +} + +func (x *LunaRiteHintPointRsp) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteHintPointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *LunaRiteHintPointRsp) GetHintPoint() []*LunaRiteHintPoint { + if x != nil { + return x.HintPoint + } + return nil +} + +var File_LunaRiteHintPointRsp_proto protoreflect.FileDescriptor + +var file_LunaRiteHintPointRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x4c, 0x75, + 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, + 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x14, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, + 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x0b, + 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x17, 0x2e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x68, 0x69, 0x6e, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x68, 0x69, 0x6e, + 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x09, 0x68, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteHintPointRsp_proto_rawDescOnce sync.Once + file_LunaRiteHintPointRsp_proto_rawDescData = file_LunaRiteHintPointRsp_proto_rawDesc +) + +func file_LunaRiteHintPointRsp_proto_rawDescGZIP() []byte { + file_LunaRiteHintPointRsp_proto_rawDescOnce.Do(func() { + file_LunaRiteHintPointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintPointRsp_proto_rawDescData) + }) + return file_LunaRiteHintPointRsp_proto_rawDescData +} + +var file_LunaRiteHintPointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteHintPointRsp_proto_goTypes = []interface{}{ + (*LunaRiteHintPointRsp)(nil), // 0: LunaRiteHintPointRsp + (LunaRiteHintStatusType)(0), // 1: LunaRiteHintStatusType + (*LunaRiteHintPoint)(nil), // 2: LunaRiteHintPoint +} +var file_LunaRiteHintPointRsp_proto_depIdxs = []int32{ + 1, // 0: LunaRiteHintPointRsp.hint_status:type_name -> LunaRiteHintStatusType + 2, // 1: LunaRiteHintPointRsp.hint_point:type_name -> LunaRiteHintPoint + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintPointRsp_proto_init() } +func file_LunaRiteHintPointRsp_proto_init() { + if File_LunaRiteHintPointRsp_proto != nil { + return + } + file_LunaRiteHintPoint_proto_init() + file_LunaRiteHintStatusType_proto_init() + if !protoimpl.UnsafeEnabled { + file_LunaRiteHintPointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteHintPointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintPointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintPointRsp_proto_goTypes, + DependencyIndexes: file_LunaRiteHintPointRsp_proto_depIdxs, + MessageInfos: file_LunaRiteHintPointRsp_proto_msgTypes, + }.Build() + File_LunaRiteHintPointRsp_proto = out.File + file_LunaRiteHintPointRsp_proto_rawDesc = nil + file_LunaRiteHintPointRsp_proto_goTypes = nil + file_LunaRiteHintPointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointRsp.proto b/gate-hk4e-api/proto/LunaRiteHintPointRsp.proto new file mode 100644 index 00000000..d82274ae --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunaRiteHintPoint.proto"; +import "LunaRiteHintStatusType.proto"; + +option go_package = "./;proto"; + +// CmdId: 8765 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteHintPointRsp { + LunaRiteHintStatusType hint_status = 4; + uint32 area_id = 5; + int32 retcode = 13; + repeated LunaRiteHintPoint hint_point = 9; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointType.pb.go b/gate-hk4e-api/proto/LunaRiteHintPointType.pb.go new file mode 100644 index 00000000..76d5ccea --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointType.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintPointType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunaRiteHintPointType int32 + +const ( + LunaRiteHintPointType_LUNA_RITE_HINT_POINT_TYPE_NONE LunaRiteHintPointType = 0 + LunaRiteHintPointType_LUNA_RITE_HINT_POINT_TYPE_RUNE LunaRiteHintPointType = 1 + LunaRiteHintPointType_LUNA_RITE_HINT_POINT_TYPE_CHEST LunaRiteHintPointType = 2 +) + +// Enum value maps for LunaRiteHintPointType. +var ( + LunaRiteHintPointType_name = map[int32]string{ + 0: "LUNA_RITE_HINT_POINT_TYPE_NONE", + 1: "LUNA_RITE_HINT_POINT_TYPE_RUNE", + 2: "LUNA_RITE_HINT_POINT_TYPE_CHEST", + } + LunaRiteHintPointType_value = map[string]int32{ + "LUNA_RITE_HINT_POINT_TYPE_NONE": 0, + "LUNA_RITE_HINT_POINT_TYPE_RUNE": 1, + "LUNA_RITE_HINT_POINT_TYPE_CHEST": 2, + } +) + +func (x LunaRiteHintPointType) Enum() *LunaRiteHintPointType { + p := new(LunaRiteHintPointType) + *p = x + return p +} + +func (x LunaRiteHintPointType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LunaRiteHintPointType) Descriptor() protoreflect.EnumDescriptor { + return file_LunaRiteHintPointType_proto_enumTypes[0].Descriptor() +} + +func (LunaRiteHintPointType) Type() protoreflect.EnumType { + return &file_LunaRiteHintPointType_proto_enumTypes[0] +} + +func (x LunaRiteHintPointType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LunaRiteHintPointType.Descriptor instead. +func (LunaRiteHintPointType) EnumDescriptor() ([]byte, []int) { + return file_LunaRiteHintPointType_proto_rawDescGZIP(), []int{0} +} + +var File_LunaRiteHintPointType_proto protoreflect.FileDescriptor + +var file_LunaRiteHintPointType_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x84, 0x01, + 0x0a, 0x15, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x4c, 0x55, 0x4e, 0x41, 0x5f, + 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x4c, + 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x50, 0x4f, + 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x45, 0x10, 0x01, 0x12, + 0x23, 0x0a, 0x1f, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, 0x49, 0x4e, + 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x45, + 0x53, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteHintPointType_proto_rawDescOnce sync.Once + file_LunaRiteHintPointType_proto_rawDescData = file_LunaRiteHintPointType_proto_rawDesc +) + +func file_LunaRiteHintPointType_proto_rawDescGZIP() []byte { + file_LunaRiteHintPointType_proto_rawDescOnce.Do(func() { + file_LunaRiteHintPointType_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintPointType_proto_rawDescData) + }) + return file_LunaRiteHintPointType_proto_rawDescData +} + +var file_LunaRiteHintPointType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_LunaRiteHintPointType_proto_goTypes = []interface{}{ + (LunaRiteHintPointType)(0), // 0: LunaRiteHintPointType +} +var file_LunaRiteHintPointType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintPointType_proto_init() } +func file_LunaRiteHintPointType_proto_init() { + if File_LunaRiteHintPointType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintPointType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintPointType_proto_goTypes, + DependencyIndexes: file_LunaRiteHintPointType_proto_depIdxs, + EnumInfos: file_LunaRiteHintPointType_proto_enumTypes, + }.Build() + File_LunaRiteHintPointType_proto = out.File + file_LunaRiteHintPointType_proto_rawDesc = nil + file_LunaRiteHintPointType_proto_goTypes = nil + file_LunaRiteHintPointType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintPointType.proto b/gate-hk4e-api/proto/LunaRiteHintPointType.proto new file mode 100644 index 00000000..f4de45f8 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintPointType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum LunaRiteHintPointType { + LUNA_RITE_HINT_POINT_TYPE_NONE = 0; + LUNA_RITE_HINT_POINT_TYPE_RUNE = 1; + LUNA_RITE_HINT_POINT_TYPE_CHEST = 2; +} diff --git a/gate-hk4e-api/proto/LunaRiteHintStatusType.pb.go b/gate-hk4e-api/proto/LunaRiteHintStatusType.pb.go new file mode 100644 index 00000000..90e0b42d --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintStatusType.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteHintStatusType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunaRiteHintStatusType int32 + +const ( + LunaRiteHintStatusType_LUNA_RITE_HINT_STATUS_TYPE_DEFAULT LunaRiteHintStatusType = 0 + LunaRiteHintStatusType_LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT LunaRiteHintStatusType = 1 + LunaRiteHintStatusType_LUNA_RITE_HINT_STATUS_TYPE_FINISH LunaRiteHintStatusType = 2 +) + +// Enum value maps for LunaRiteHintStatusType. +var ( + LunaRiteHintStatusType_name = map[int32]string{ + 0: "LUNA_RITE_HINT_STATUS_TYPE_DEFAULT", + 1: "LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT", + 2: "LUNA_RITE_HINT_STATUS_TYPE_FINISH", + } + LunaRiteHintStatusType_value = map[string]int32{ + "LUNA_RITE_HINT_STATUS_TYPE_DEFAULT": 0, + "LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT": 1, + "LUNA_RITE_HINT_STATUS_TYPE_FINISH": 2, + } +) + +func (x LunaRiteHintStatusType) Enum() *LunaRiteHintStatusType { + p := new(LunaRiteHintStatusType) + *p = x + return p +} + +func (x LunaRiteHintStatusType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LunaRiteHintStatusType) Descriptor() protoreflect.EnumDescriptor { + return file_LunaRiteHintStatusType_proto_enumTypes[0].Descriptor() +} + +func (LunaRiteHintStatusType) Type() protoreflect.EnumType { + return &file_LunaRiteHintStatusType_proto_enumTypes[0] +} + +func (x LunaRiteHintStatusType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LunaRiteHintStatusType.Descriptor instead. +func (LunaRiteHintStatusType) EnumDescriptor() ([]byte, []int) { + return file_LunaRiteHintStatusType_proto_rawDescGZIP(), []int{0} +} + +var File_LunaRiteHintStatusType_proto protoreflect.FileDescriptor + +var file_LunaRiteHintStatusType_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x90, + 0x01, 0x0a, 0x16, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x4c, 0x55, 0x4e, + 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, + 0x00, 0x12, 0x27, 0x0a, 0x23, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, + 0x49, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x4c, 0x55, + 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, + 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteHintStatusType_proto_rawDescOnce sync.Once + file_LunaRiteHintStatusType_proto_rawDescData = file_LunaRiteHintStatusType_proto_rawDesc +) + +func file_LunaRiteHintStatusType_proto_rawDescGZIP() []byte { + file_LunaRiteHintStatusType_proto_rawDescOnce.Do(func() { + file_LunaRiteHintStatusType_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteHintStatusType_proto_rawDescData) + }) + return file_LunaRiteHintStatusType_proto_rawDescData +} + +var file_LunaRiteHintStatusType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_LunaRiteHintStatusType_proto_goTypes = []interface{}{ + (LunaRiteHintStatusType)(0), // 0: LunaRiteHintStatusType +} +var file_LunaRiteHintStatusType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteHintStatusType_proto_init() } +func file_LunaRiteHintStatusType_proto_init() { + if File_LunaRiteHintStatusType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteHintStatusType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteHintStatusType_proto_goTypes, + DependencyIndexes: file_LunaRiteHintStatusType_proto_depIdxs, + EnumInfos: file_LunaRiteHintStatusType_proto_enumTypes, + }.Build() + File_LunaRiteHintStatusType_proto = out.File + file_LunaRiteHintStatusType_proto_rawDesc = nil + file_LunaRiteHintStatusType_proto_goTypes = nil + file_LunaRiteHintStatusType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteHintStatusType.proto b/gate-hk4e-api/proto/LunaRiteHintStatusType.proto new file mode 100644 index 00000000..bf00922a --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteHintStatusType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum LunaRiteHintStatusType { + LUNA_RITE_HINT_STATUS_TYPE_DEFAULT = 0; + LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT = 1; + LUNA_RITE_HINT_STATUS_TYPE_FINISH = 2; +} diff --git a/gate-hk4e-api/proto/LunaRiteSacrificeReq.pb.go b/gate-hk4e-api/proto/LunaRiteSacrificeReq.pb.go new file mode 100644 index 00000000..5b3c84f9 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteSacrificeReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteSacrificeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8805 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteSacrificeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,15,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Index uint32 `protobuf:"varint,14,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *LunaRiteSacrificeReq) Reset() { + *x = LunaRiteSacrificeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteSacrificeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteSacrificeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteSacrificeReq) ProtoMessage() {} + +func (x *LunaRiteSacrificeReq) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteSacrificeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteSacrificeReq.ProtoReflect.Descriptor instead. +func (*LunaRiteSacrificeReq) Descriptor() ([]byte, []int) { + return file_LunaRiteSacrificeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteSacrificeReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteSacrificeReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +var File_LunaRiteSacrificeReq_proto protoreflect.FileDescriptor + +var file_LunaRiteSacrificeReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x14, + 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteSacrificeReq_proto_rawDescOnce sync.Once + file_LunaRiteSacrificeReq_proto_rawDescData = file_LunaRiteSacrificeReq_proto_rawDesc +) + +func file_LunaRiteSacrificeReq_proto_rawDescGZIP() []byte { + file_LunaRiteSacrificeReq_proto_rawDescOnce.Do(func() { + file_LunaRiteSacrificeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteSacrificeReq_proto_rawDescData) + }) + return file_LunaRiteSacrificeReq_proto_rawDescData +} + +var file_LunaRiteSacrificeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteSacrificeReq_proto_goTypes = []interface{}{ + (*LunaRiteSacrificeReq)(nil), // 0: LunaRiteSacrificeReq +} +var file_LunaRiteSacrificeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteSacrificeReq_proto_init() } +func file_LunaRiteSacrificeReq_proto_init() { + if File_LunaRiteSacrificeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteSacrificeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteSacrificeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteSacrificeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteSacrificeReq_proto_goTypes, + DependencyIndexes: file_LunaRiteSacrificeReq_proto_depIdxs, + MessageInfos: file_LunaRiteSacrificeReq_proto_msgTypes, + }.Build() + File_LunaRiteSacrificeReq_proto = out.File + file_LunaRiteSacrificeReq_proto_rawDesc = nil + file_LunaRiteSacrificeReq_proto_goTypes = nil + file_LunaRiteSacrificeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteSacrificeReq.proto b/gate-hk4e-api/proto/LunaRiteSacrificeReq.proto new file mode 100644 index 00000000..acc83961 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteSacrificeReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8805 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteSacrificeReq { + uint32 area_id = 15; + uint32 index = 14; +} diff --git a/gate-hk4e-api/proto/LunaRiteSacrificeRsp.pb.go b/gate-hk4e-api/proto/LunaRiteSacrificeRsp.pb.go new file mode 100644 index 00000000..75a4f25d --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteSacrificeRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteSacrificeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8080 +// EnetChannelId: 0 +// EnetIsReliable: true +type LunaRiteSacrificeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,13,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + SacrificeList []uint32 `protobuf:"varint,14,rep,packed,name=sacrifice_list,json=sacrificeList,proto3" json:"sacrifice_list,omitempty"` + Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *LunaRiteSacrificeRsp) Reset() { + *x = LunaRiteSacrificeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteSacrificeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteSacrificeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteSacrificeRsp) ProtoMessage() {} + +func (x *LunaRiteSacrificeRsp) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteSacrificeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteSacrificeRsp.ProtoReflect.Descriptor instead. +func (*LunaRiteSacrificeRsp) Descriptor() ([]byte, []int) { + return file_LunaRiteSacrificeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteSacrificeRsp) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteSacrificeRsp) GetSacrificeList() []uint32 { + if x != nil { + return x.SacrificeList + } + return nil +} + +func (x *LunaRiteSacrificeRsp) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *LunaRiteSacrificeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_LunaRiteSacrificeRsp_proto protoreflect.FileDescriptor + +var file_LunaRiteSacrificeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, + 0x14, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, + 0x63, 0x65, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteSacrificeRsp_proto_rawDescOnce sync.Once + file_LunaRiteSacrificeRsp_proto_rawDescData = file_LunaRiteSacrificeRsp_proto_rawDesc +) + +func file_LunaRiteSacrificeRsp_proto_rawDescGZIP() []byte { + file_LunaRiteSacrificeRsp_proto_rawDescOnce.Do(func() { + file_LunaRiteSacrificeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteSacrificeRsp_proto_rawDescData) + }) + return file_LunaRiteSacrificeRsp_proto_rawDescData +} + +var file_LunaRiteSacrificeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteSacrificeRsp_proto_goTypes = []interface{}{ + (*LunaRiteSacrificeRsp)(nil), // 0: LunaRiteSacrificeRsp +} +var file_LunaRiteSacrificeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteSacrificeRsp_proto_init() } +func file_LunaRiteSacrificeRsp_proto_init() { + if File_LunaRiteSacrificeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteSacrificeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteSacrificeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteSacrificeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteSacrificeRsp_proto_goTypes, + DependencyIndexes: file_LunaRiteSacrificeRsp_proto_depIdxs, + MessageInfos: file_LunaRiteSacrificeRsp_proto_msgTypes, + }.Build() + File_LunaRiteSacrificeRsp_proto = out.File + file_LunaRiteSacrificeRsp_proto_rawDesc = nil + file_LunaRiteSacrificeRsp_proto_goTypes = nil + file_LunaRiteSacrificeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteSacrificeRsp.proto b/gate-hk4e-api/proto/LunaRiteSacrificeRsp.proto new file mode 100644 index 00000000..84ff3fb9 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteSacrificeRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8080 +// EnetChannelId: 0 +// EnetIsReliable: true +message LunaRiteSacrificeRsp { + uint32 area_id = 13; + repeated uint32 sacrifice_list = 14; + uint32 index = 8; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.pb.go b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.pb.go new file mode 100644 index 00000000..5be8ee35 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteTakeSacrificeRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8045 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type LunaRiteTakeSacrificeRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaId uint32 `protobuf:"varint,11,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *LunaRiteTakeSacrificeRewardReq) Reset() { + *x = LunaRiteTakeSacrificeRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteTakeSacrificeRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteTakeSacrificeRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteTakeSacrificeRewardReq) ProtoMessage() {} + +func (x *LunaRiteTakeSacrificeRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteTakeSacrificeRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteTakeSacrificeRewardReq.ProtoReflect.Descriptor instead. +func (*LunaRiteTakeSacrificeRewardReq) Descriptor() ([]byte, []int) { + return file_LunaRiteTakeSacrificeRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteTakeSacrificeRewardReq) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteTakeSacrificeRewardReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +var File_LunaRiteTakeSacrificeRewardReq_proto protoreflect.FileDescriptor + +var file_LunaRiteTakeSacrificeRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x61, + 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x1e, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, + 0x74, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, + 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteTakeSacrificeRewardReq_proto_rawDescOnce sync.Once + file_LunaRiteTakeSacrificeRewardReq_proto_rawDescData = file_LunaRiteTakeSacrificeRewardReq_proto_rawDesc +) + +func file_LunaRiteTakeSacrificeRewardReq_proto_rawDescGZIP() []byte { + file_LunaRiteTakeSacrificeRewardReq_proto_rawDescOnce.Do(func() { + file_LunaRiteTakeSacrificeRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteTakeSacrificeRewardReq_proto_rawDescData) + }) + return file_LunaRiteTakeSacrificeRewardReq_proto_rawDescData +} + +var file_LunaRiteTakeSacrificeRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteTakeSacrificeRewardReq_proto_goTypes = []interface{}{ + (*LunaRiteTakeSacrificeRewardReq)(nil), // 0: LunaRiteTakeSacrificeRewardReq +} +var file_LunaRiteTakeSacrificeRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteTakeSacrificeRewardReq_proto_init() } +func file_LunaRiteTakeSacrificeRewardReq_proto_init() { + if File_LunaRiteTakeSacrificeRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteTakeSacrificeRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteTakeSacrificeRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteTakeSacrificeRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteTakeSacrificeRewardReq_proto_goTypes, + DependencyIndexes: file_LunaRiteTakeSacrificeRewardReq_proto_depIdxs, + MessageInfos: file_LunaRiteTakeSacrificeRewardReq_proto_msgTypes, + }.Build() + File_LunaRiteTakeSacrificeRewardReq_proto = out.File + file_LunaRiteTakeSacrificeRewardReq_proto_rawDesc = nil + file_LunaRiteTakeSacrificeRewardReq_proto_goTypes = nil + file_LunaRiteTakeSacrificeRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.proto b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.proto new file mode 100644 index 00000000..57caa783 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8045 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message LunaRiteTakeSacrificeRewardReq { + uint32 area_id = 11; + uint32 index = 3; +} diff --git a/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.pb.go b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.pb.go new file mode 100644 index 00000000..c0545327 --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunaRiteTakeSacrificeRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8397 +// EnetChannelId: 0 +// EnetIsReliable: true +type LunaRiteTakeSacrificeRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,11,opt,name=index,proto3" json:"index,omitempty"` + SacrificeRewardList []uint32 `protobuf:"varint,2,rep,packed,name=sacrifice_reward_list,json=sacrificeRewardList,proto3" json:"sacrifice_reward_list,omitempty"` + SacrificeRewardIndex uint32 `protobuf:"varint,14,opt,name=sacrifice_reward_index,json=sacrificeRewardIndex,proto3" json:"sacrifice_reward_index,omitempty"` + AreaId uint32 `protobuf:"varint,6,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *LunaRiteTakeSacrificeRewardRsp) Reset() { + *x = LunaRiteTakeSacrificeRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_LunaRiteTakeSacrificeRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunaRiteTakeSacrificeRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunaRiteTakeSacrificeRewardRsp) ProtoMessage() {} + +func (x *LunaRiteTakeSacrificeRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_LunaRiteTakeSacrificeRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunaRiteTakeSacrificeRewardRsp.ProtoReflect.Descriptor instead. +func (*LunaRiteTakeSacrificeRewardRsp) Descriptor() ([]byte, []int) { + return file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *LunaRiteTakeSacrificeRewardRsp) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *LunaRiteTakeSacrificeRewardRsp) GetSacrificeRewardList() []uint32 { + if x != nil { + return x.SacrificeRewardList + } + return nil +} + +func (x *LunaRiteTakeSacrificeRewardRsp) GetSacrificeRewardIndex() uint32 { + if x != nil { + return x.SacrificeRewardIndex + } + return 0 +} + +func (x *LunaRiteTakeSacrificeRewardRsp) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *LunaRiteTakeSacrificeRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_LunaRiteTakeSacrificeRewardRsp_proto protoreflect.FileDescriptor + +var file_LunaRiteTakeSacrificeRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x4c, 0x75, 0x6e, 0x61, 0x52, 0x69, 0x74, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x61, + 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x1e, 0x4c, 0x75, 0x6e, 0x61, 0x52, + 0x69, 0x74, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x32, 0x0a, 0x15, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, + 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x14, 0x73, 0x61, 0x63, 0x72, 0x69, 0x66, 0x69, 0x63, 0x65, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, + 0x61, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescOnce sync.Once + file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescData = file_LunaRiteTakeSacrificeRewardRsp_proto_rawDesc +) + +func file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescGZIP() []byte { + file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescOnce.Do(func() { + file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescData) + }) + return file_LunaRiteTakeSacrificeRewardRsp_proto_rawDescData +} + +var file_LunaRiteTakeSacrificeRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_LunaRiteTakeSacrificeRewardRsp_proto_goTypes = []interface{}{ + (*LunaRiteTakeSacrificeRewardRsp)(nil), // 0: LunaRiteTakeSacrificeRewardRsp +} +var file_LunaRiteTakeSacrificeRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_LunaRiteTakeSacrificeRewardRsp_proto_init() } +func file_LunaRiteTakeSacrificeRewardRsp_proto_init() { + if File_LunaRiteTakeSacrificeRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunaRiteTakeSacrificeRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunaRiteTakeSacrificeRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunaRiteTakeSacrificeRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunaRiteTakeSacrificeRewardRsp_proto_goTypes, + DependencyIndexes: file_LunaRiteTakeSacrificeRewardRsp_proto_depIdxs, + MessageInfos: file_LunaRiteTakeSacrificeRewardRsp_proto_msgTypes, + }.Build() + File_LunaRiteTakeSacrificeRewardRsp_proto = out.File + file_LunaRiteTakeSacrificeRewardRsp_proto_rawDesc = nil + file_LunaRiteTakeSacrificeRewardRsp_proto_goTypes = nil + file_LunaRiteTakeSacrificeRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.proto b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.proto new file mode 100644 index 00000000..819a74bf --- /dev/null +++ b/gate-hk4e-api/proto/LunaRiteTakeSacrificeRewardRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8397 +// EnetChannelId: 0 +// EnetIsReliable: true +message LunaRiteTakeSacrificeRewardRsp { + uint32 index = 11; + repeated uint32 sacrifice_reward_list = 2; + uint32 sacrifice_reward_index = 14; + uint32 area_id = 6; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/LunchBoxData.pb.go b/gate-hk4e-api/proto/LunchBoxData.pb.go new file mode 100644 index 00000000..1ae0d444 --- /dev/null +++ b/gate-hk4e-api/proto/LunchBoxData.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: LunchBoxData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type LunchBoxData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlotMaterialMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=slot_material_map,json=slotMaterialMap,proto3" json:"slot_material_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *LunchBoxData) Reset() { + *x = LunchBoxData{} + if protoimpl.UnsafeEnabled { + mi := &file_LunchBoxData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LunchBoxData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LunchBoxData) ProtoMessage() {} + +func (x *LunchBoxData) ProtoReflect() protoreflect.Message { + mi := &file_LunchBoxData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LunchBoxData.ProtoReflect.Descriptor instead. +func (*LunchBoxData) Descriptor() ([]byte, []int) { + return file_LunchBoxData_proto_rawDescGZIP(), []int{0} +} + +func (x *LunchBoxData) GetSlotMaterialMap() map[uint32]uint32 { + if x != nil { + return x.SlotMaterialMap + } + return nil +} + +var File_LunchBoxData_proto protoreflect.FileDescriptor + +var file_LunchBoxData_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, + 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4e, 0x0a, 0x11, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x6d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x53, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x6c, 0x6f, 0x74, 0x4d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_LunchBoxData_proto_rawDescOnce sync.Once + file_LunchBoxData_proto_rawDescData = file_LunchBoxData_proto_rawDesc +) + +func file_LunchBoxData_proto_rawDescGZIP() []byte { + file_LunchBoxData_proto_rawDescOnce.Do(func() { + file_LunchBoxData_proto_rawDescData = protoimpl.X.CompressGZIP(file_LunchBoxData_proto_rawDescData) + }) + return file_LunchBoxData_proto_rawDescData +} + +var file_LunchBoxData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_LunchBoxData_proto_goTypes = []interface{}{ + (*LunchBoxData)(nil), // 0: LunchBoxData + nil, // 1: LunchBoxData.SlotMaterialMapEntry +} +var file_LunchBoxData_proto_depIdxs = []int32{ + 1, // 0: LunchBoxData.slot_material_map:type_name -> LunchBoxData.SlotMaterialMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_LunchBoxData_proto_init() } +func file_LunchBoxData_proto_init() { + if File_LunchBoxData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_LunchBoxData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LunchBoxData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_LunchBoxData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_LunchBoxData_proto_goTypes, + DependencyIndexes: file_LunchBoxData_proto_depIdxs, + MessageInfos: file_LunchBoxData_proto_msgTypes, + }.Build() + File_LunchBoxData_proto = out.File + file_LunchBoxData_proto_rawDesc = nil + file_LunchBoxData_proto_goTypes = nil + file_LunchBoxData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/LunchBoxData.proto b/gate-hk4e-api/proto/LunchBoxData.proto new file mode 100644 index 00000000..15d056d0 --- /dev/null +++ b/gate-hk4e-api/proto/LunchBoxData.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message LunchBoxData { + map slot_material_map = 3; +} diff --git a/gate-hk4e-api/proto/MPLevelEntityInfo.pb.go b/gate-hk4e-api/proto/MPLevelEntityInfo.pb.go new file mode 100644 index 00000000..4d3989c9 --- /dev/null +++ b/gate-hk4e-api/proto/MPLevelEntityInfo.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MPLevelEntityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MPLevelEntityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,2,opt,name=ability_info,json=abilityInfo,proto3" json:"ability_info,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,3,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` +} + +func (x *MPLevelEntityInfo) Reset() { + *x = MPLevelEntityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MPLevelEntityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MPLevelEntityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MPLevelEntityInfo) ProtoMessage() {} + +func (x *MPLevelEntityInfo) ProtoReflect() protoreflect.Message { + mi := &file_MPLevelEntityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MPLevelEntityInfo.ProtoReflect.Descriptor instead. +func (*MPLevelEntityInfo) Descriptor() ([]byte, []int) { + return file_MPLevelEntityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MPLevelEntityInfo) GetAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AbilityInfo + } + return nil +} + +func (x *MPLevelEntityInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *MPLevelEntityInfo) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +var File_MPLevelEntityInfo_proto protoreflect.FileDescriptor + +var file_MPLevelEntityInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4d, 0x50, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x11, 0x4d, 0x50, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MPLevelEntityInfo_proto_rawDescOnce sync.Once + file_MPLevelEntityInfo_proto_rawDescData = file_MPLevelEntityInfo_proto_rawDesc +) + +func file_MPLevelEntityInfo_proto_rawDescGZIP() []byte { + file_MPLevelEntityInfo_proto_rawDescOnce.Do(func() { + file_MPLevelEntityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MPLevelEntityInfo_proto_rawDescData) + }) + return file_MPLevelEntityInfo_proto_rawDescData +} + +var file_MPLevelEntityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MPLevelEntityInfo_proto_goTypes = []interface{}{ + (*MPLevelEntityInfo)(nil), // 0: MPLevelEntityInfo + (*AbilitySyncStateInfo)(nil), // 1: AbilitySyncStateInfo +} +var file_MPLevelEntityInfo_proto_depIdxs = []int32{ + 1, // 0: MPLevelEntityInfo.ability_info:type_name -> AbilitySyncStateInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MPLevelEntityInfo_proto_init() } +func file_MPLevelEntityInfo_proto_init() { + if File_MPLevelEntityInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MPLevelEntityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MPLevelEntityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MPLevelEntityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MPLevelEntityInfo_proto_goTypes, + DependencyIndexes: file_MPLevelEntityInfo_proto_depIdxs, + MessageInfos: file_MPLevelEntityInfo_proto_msgTypes, + }.Build() + File_MPLevelEntityInfo_proto = out.File + file_MPLevelEntityInfo_proto_rawDesc = nil + file_MPLevelEntityInfo_proto_goTypes = nil + file_MPLevelEntityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MPLevelEntityInfo.proto b/gate-hk4e-api/proto/MPLevelEntityInfo.proto new file mode 100644 index 00000000..1bed4204 --- /dev/null +++ b/gate-hk4e-api/proto/MPLevelEntityInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; + +option go_package = "./;proto"; + +message MPLevelEntityInfo { + AbilitySyncStateInfo ability_info = 2; + uint32 entity_id = 11; + uint32 authority_peer_id = 3; +} diff --git a/gate-hk4e-api/proto/MailChangeNotify.pb.go b/gate-hk4e-api/proto/MailChangeNotify.pb.go new file mode 100644 index 00000000..66760ef0 --- /dev/null +++ b/gate-hk4e-api/proto/MailChangeNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MailChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1498 +// EnetChannelId: 0 +// EnetIsReliable: true +type MailChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MailList []*MailData `protobuf:"bytes,14,rep,name=mail_list,json=mailList,proto3" json:"mail_list,omitempty"` + DelMailIdList []uint32 `protobuf:"varint,8,rep,packed,name=del_mail_id_list,json=delMailIdList,proto3" json:"del_mail_id_list,omitempty"` +} + +func (x *MailChangeNotify) Reset() { + *x = MailChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MailChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MailChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MailChangeNotify) ProtoMessage() {} + +func (x *MailChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_MailChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MailChangeNotify.ProtoReflect.Descriptor instead. +func (*MailChangeNotify) Descriptor() ([]byte, []int) { + return file_MailChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MailChangeNotify) GetMailList() []*MailData { + if x != nil { + return x.MailList + } + return nil +} + +func (x *MailChangeNotify) GetDelMailIdList() []uint32 { + if x != nil { + return x.DelMailIdList + } + return nil +} + +var File_MailChangeNotify_proto protoreflect.FileDescriptor + +var file_MailChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x61, 0x69, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x10, 0x4d, 0x61, 0x69, 0x6c, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x09, + 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6c, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x69, 0x6c, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, + 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MailChangeNotify_proto_rawDescOnce sync.Once + file_MailChangeNotify_proto_rawDescData = file_MailChangeNotify_proto_rawDesc +) + +func file_MailChangeNotify_proto_rawDescGZIP() []byte { + file_MailChangeNotify_proto_rawDescOnce.Do(func() { + file_MailChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MailChangeNotify_proto_rawDescData) + }) + return file_MailChangeNotify_proto_rawDescData +} + +var file_MailChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MailChangeNotify_proto_goTypes = []interface{}{ + (*MailChangeNotify)(nil), // 0: MailChangeNotify + (*MailData)(nil), // 1: MailData +} +var file_MailChangeNotify_proto_depIdxs = []int32{ + 1, // 0: MailChangeNotify.mail_list:type_name -> MailData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MailChangeNotify_proto_init() } +func file_MailChangeNotify_proto_init() { + if File_MailChangeNotify_proto != nil { + return + } + file_MailData_proto_init() + if !protoimpl.UnsafeEnabled { + file_MailChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MailChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MailChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MailChangeNotify_proto_goTypes, + DependencyIndexes: file_MailChangeNotify_proto_depIdxs, + MessageInfos: file_MailChangeNotify_proto_msgTypes, + }.Build() + File_MailChangeNotify_proto = out.File + file_MailChangeNotify_proto_rawDesc = nil + file_MailChangeNotify_proto_goTypes = nil + file_MailChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MailChangeNotify.proto b/gate-hk4e-api/proto/MailChangeNotify.proto new file mode 100644 index 00000000..7b40ab4e --- /dev/null +++ b/gate-hk4e-api/proto/MailChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MailData.proto"; + +option go_package = "./;proto"; + +// CmdId: 1498 +// EnetChannelId: 0 +// EnetIsReliable: true +message MailChangeNotify { + repeated MailData mail_list = 14; + repeated uint32 del_mail_id_list = 8; +} diff --git a/gate-hk4e-api/proto/MailData.pb.go b/gate-hk4e-api/proto/MailData.pb.go new file mode 100644 index 00000000..57710c9a --- /dev/null +++ b/gate-hk4e-api/proto/MailData.pb.go @@ -0,0 +1,275 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MailData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MailData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MailId uint32 `protobuf:"varint,1,opt,name=mail_id,json=mailId,proto3" json:"mail_id,omitempty"` + MailTextContent *MailTextContent `protobuf:"bytes,4,opt,name=mail_text_content,json=mailTextContent,proto3" json:"mail_text_content,omitempty"` + ItemList []*MailItem `protobuf:"bytes,7,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + SendTime uint32 `protobuf:"varint,8,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` + ExpireTime uint32 `protobuf:"varint,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + Importance uint32 `protobuf:"varint,10,opt,name=importance,proto3" json:"importance,omitempty"` + IsRead bool `protobuf:"varint,11,opt,name=is_read,json=isRead,proto3" json:"is_read,omitempty"` + IsAttachmentGot bool `protobuf:"varint,12,opt,name=is_attachment_got,json=isAttachmentGot,proto3" json:"is_attachment_got,omitempty"` + ConfigId uint32 `protobuf:"varint,13,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + ArgumentList []string `protobuf:"bytes,14,rep,name=argument_list,json=argumentList,proto3" json:"argument_list,omitempty"` + Unk2700_NDPPGJKJOMH Unk2700_CBJEDMGOBPL `protobuf:"varint,15,opt,name=Unk2700_NDPPGJKJOMH,json=Unk2700NDPPGJKJOMH,proto3,enum=Unk2700_CBJEDMGOBPL" json:"Unk2700_NDPPGJKJOMH,omitempty"` +} + +func (x *MailData) Reset() { + *x = MailData{} + if protoimpl.UnsafeEnabled { + mi := &file_MailData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MailData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MailData) ProtoMessage() {} + +func (x *MailData) ProtoReflect() protoreflect.Message { + mi := &file_MailData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MailData.ProtoReflect.Descriptor instead. +func (*MailData) Descriptor() ([]byte, []int) { + return file_MailData_proto_rawDescGZIP(), []int{0} +} + +func (x *MailData) GetMailId() uint32 { + if x != nil { + return x.MailId + } + return 0 +} + +func (x *MailData) GetMailTextContent() *MailTextContent { + if x != nil { + return x.MailTextContent + } + return nil +} + +func (x *MailData) GetItemList() []*MailItem { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *MailData) GetSendTime() uint32 { + if x != nil { + return x.SendTime + } + return 0 +} + +func (x *MailData) GetExpireTime() uint32 { + if x != nil { + return x.ExpireTime + } + return 0 +} + +func (x *MailData) GetImportance() uint32 { + if x != nil { + return x.Importance + } + return 0 +} + +func (x *MailData) GetIsRead() bool { + if x != nil { + return x.IsRead + } + return false +} + +func (x *MailData) GetIsAttachmentGot() bool { + if x != nil { + return x.IsAttachmentGot + } + return false +} + +func (x *MailData) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *MailData) GetArgumentList() []string { + if x != nil { + return x.ArgumentList + } + return nil +} + +func (x *MailData) GetUnk2700_NDPPGJKJOMH() Unk2700_CBJEDMGOBPL { + if x != nil { + return x.Unk2700_NDPPGJKJOMH + } + return Unk2700_CBJEDMGOBPL_Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL +} + +var File_MailData_proto protoreflect.FileDescriptor + +var file_MailData_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x15, 0x4d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, 0x4d, 0x47, 0x4f, 0x42, 0x50, 0x4c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb5, 0x03, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x11, 0x6d, 0x61, 0x69, 0x6c, + 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6c, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, + 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x61, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x69, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x6f, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x23, + 0x0a, 0x0d, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x44, 0x50, 0x50, 0x47, 0x4a, 0x4b, 0x4a, 0x4f, 0x4d, 0x48, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, + 0x4d, 0x47, 0x4f, 0x42, 0x50, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, + 0x44, 0x50, 0x50, 0x47, 0x4a, 0x4b, 0x4a, 0x4f, 0x4d, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MailData_proto_rawDescOnce sync.Once + file_MailData_proto_rawDescData = file_MailData_proto_rawDesc +) + +func file_MailData_proto_rawDescGZIP() []byte { + file_MailData_proto_rawDescOnce.Do(func() { + file_MailData_proto_rawDescData = protoimpl.X.CompressGZIP(file_MailData_proto_rawDescData) + }) + return file_MailData_proto_rawDescData +} + +var file_MailData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MailData_proto_goTypes = []interface{}{ + (*MailData)(nil), // 0: MailData + (*MailTextContent)(nil), // 1: MailTextContent + (*MailItem)(nil), // 2: MailItem + (Unk2700_CBJEDMGOBPL)(0), // 3: Unk2700_CBJEDMGOBPL +} +var file_MailData_proto_depIdxs = []int32{ + 1, // 0: MailData.mail_text_content:type_name -> MailTextContent + 2, // 1: MailData.item_list:type_name -> MailItem + 3, // 2: MailData.Unk2700_NDPPGJKJOMH:type_name -> Unk2700_CBJEDMGOBPL + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MailData_proto_init() } +func file_MailData_proto_init() { + if File_MailData_proto != nil { + return + } + file_MailItem_proto_init() + file_MailTextContent_proto_init() + file_Unk2700_CBJEDMGOBPL_proto_init() + if !protoimpl.UnsafeEnabled { + file_MailData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MailData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MailData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MailData_proto_goTypes, + DependencyIndexes: file_MailData_proto_depIdxs, + MessageInfos: file_MailData_proto_msgTypes, + }.Build() + File_MailData_proto = out.File + file_MailData_proto_rawDesc = nil + file_MailData_proto_goTypes = nil + file_MailData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MailData.proto b/gate-hk4e-api/proto/MailData.proto new file mode 100644 index 00000000..1c94b899 --- /dev/null +++ b/gate-hk4e-api/proto/MailData.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MailItem.proto"; +import "MailTextContent.proto"; +import "Unk2700_CBJEDMGOBPL.proto"; + +option go_package = "./;proto"; + +message MailData { + uint32 mail_id = 1; + MailTextContent mail_text_content = 4; + repeated MailItem item_list = 7; + uint32 send_time = 8; + uint32 expire_time = 9; + uint32 importance = 10; + bool is_read = 11; + bool is_attachment_got = 12; + uint32 config_id = 13; + repeated string argument_list = 14; + Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15; +} diff --git a/gate-hk4e-api/proto/MailItem.pb.go b/gate-hk4e-api/proto/MailItem.pb.go new file mode 100644 index 00000000..58ff9bba --- /dev/null +++ b/gate-hk4e-api/proto/MailItem.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MailItem.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MailItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EquipParam *EquipParam `protobuf:"bytes,1,opt,name=equip_param,json=equipParam,proto3" json:"equip_param,omitempty"` + DeleteInfo *MaterialDeleteInfo `protobuf:"bytes,2,opt,name=delete_info,json=deleteInfo,proto3" json:"delete_info,omitempty"` +} + +func (x *MailItem) Reset() { + *x = MailItem{} + if protoimpl.UnsafeEnabled { + mi := &file_MailItem_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MailItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MailItem) ProtoMessage() {} + +func (x *MailItem) ProtoReflect() protoreflect.Message { + mi := &file_MailItem_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MailItem.ProtoReflect.Descriptor instead. +func (*MailItem) Descriptor() ([]byte, []int) { + return file_MailItem_proto_rawDescGZIP(), []int{0} +} + +func (x *MailItem) GetEquipParam() *EquipParam { + if x != nil { + return x.EquipParam + } + return nil +} + +func (x *MailItem) GetDeleteInfo() *MaterialDeleteInfo { + if x != nil { + return x.DeleteInfo + } + return nil +} + +var File_MailItem_proto protoreflect.FileDescriptor + +var file_MailItem_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x10, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x08, + 0x4d, 0x61, 0x69, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x2c, 0x0a, 0x0b, 0x65, 0x71, 0x75, 0x69, + 0x70, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69, + 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x34, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MailItem_proto_rawDescOnce sync.Once + file_MailItem_proto_rawDescData = file_MailItem_proto_rawDesc +) + +func file_MailItem_proto_rawDescGZIP() []byte { + file_MailItem_proto_rawDescOnce.Do(func() { + file_MailItem_proto_rawDescData = protoimpl.X.CompressGZIP(file_MailItem_proto_rawDescData) + }) + return file_MailItem_proto_rawDescData +} + +var file_MailItem_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MailItem_proto_goTypes = []interface{}{ + (*MailItem)(nil), // 0: MailItem + (*EquipParam)(nil), // 1: EquipParam + (*MaterialDeleteInfo)(nil), // 2: MaterialDeleteInfo +} +var file_MailItem_proto_depIdxs = []int32{ + 1, // 0: MailItem.equip_param:type_name -> EquipParam + 2, // 1: MailItem.delete_info:type_name -> MaterialDeleteInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MailItem_proto_init() } +func file_MailItem_proto_init() { + if File_MailItem_proto != nil { + return + } + file_EquipParam_proto_init() + file_MaterialDeleteInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MailItem_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MailItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MailItem_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MailItem_proto_goTypes, + DependencyIndexes: file_MailItem_proto_depIdxs, + MessageInfos: file_MailItem_proto_msgTypes, + }.Build() + File_MailItem_proto = out.File + file_MailItem_proto_rawDesc = nil + file_MailItem_proto_goTypes = nil + file_MailItem_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MailItem.proto b/gate-hk4e-api/proto/MailItem.proto new file mode 100644 index 00000000..5e251bf4 --- /dev/null +++ b/gate-hk4e-api/proto/MailItem.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EquipParam.proto"; +import "MaterialDeleteInfo.proto"; + +option go_package = "./;proto"; + +message MailItem { + EquipParam equip_param = 1; + MaterialDeleteInfo delete_info = 2; +} diff --git a/gate-hk4e-api/proto/MailTextContent.pb.go b/gate-hk4e-api/proto/MailTextContent.pb.go new file mode 100644 index 00000000..5dd48d2a --- /dev/null +++ b/gate-hk4e-api/proto/MailTextContent.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MailTextContent.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MailTextContent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` +} + +func (x *MailTextContent) Reset() { + *x = MailTextContent{} + if protoimpl.UnsafeEnabled { + mi := &file_MailTextContent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MailTextContent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MailTextContent) ProtoMessage() {} + +func (x *MailTextContent) ProtoReflect() protoreflect.Message { + mi := &file_MailTextContent_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MailTextContent.ProtoReflect.Descriptor instead. +func (*MailTextContent) Descriptor() ([]byte, []int) { + return file_MailTextContent_proto_rawDescGZIP(), []int{0} +} + +func (x *MailTextContent) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *MailTextContent) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *MailTextContent) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +var File_MailTextContent_proto protoreflect.FileDescriptor + +var file_MailTextContent_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x0f, 0x4d, 0x61, 0x69, 0x6c, 0x54, + 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MailTextContent_proto_rawDescOnce sync.Once + file_MailTextContent_proto_rawDescData = file_MailTextContent_proto_rawDesc +) + +func file_MailTextContent_proto_rawDescGZIP() []byte { + file_MailTextContent_proto_rawDescOnce.Do(func() { + file_MailTextContent_proto_rawDescData = protoimpl.X.CompressGZIP(file_MailTextContent_proto_rawDescData) + }) + return file_MailTextContent_proto_rawDescData +} + +var file_MailTextContent_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MailTextContent_proto_goTypes = []interface{}{ + (*MailTextContent)(nil), // 0: MailTextContent +} +var file_MailTextContent_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MailTextContent_proto_init() } +func file_MailTextContent_proto_init() { + if File_MailTextContent_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MailTextContent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MailTextContent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MailTextContent_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MailTextContent_proto_goTypes, + DependencyIndexes: file_MailTextContent_proto_depIdxs, + MessageInfos: file_MailTextContent_proto_msgTypes, + }.Build() + File_MailTextContent_proto = out.File + file_MailTextContent_proto_rawDesc = nil + file_MailTextContent_proto_goTypes = nil + file_MailTextContent_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MailTextContent.proto b/gate-hk4e-api/proto/MailTextContent.proto new file mode 100644 index 00000000..190b51f2 --- /dev/null +++ b/gate-hk4e-api/proto/MailTextContent.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MailTextContent { + string title = 1; + string content = 2; + string sender = 3; +} diff --git a/gate-hk4e-api/proto/MainCoop.pb.go b/gate-hk4e-api/proto/MainCoop.pb.go new file mode 100644 index 00000000..d4f07102 --- /dev/null +++ b/gate-hk4e-api/proto/MainCoop.pb.go @@ -0,0 +1,300 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MainCoop.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MainCoop_Status int32 + +const ( + MainCoop_STATUS_INVALID MainCoop_Status = 0 + MainCoop_STATUS_RUNNING MainCoop_Status = 1 + MainCoop_STATUS_FINISHED MainCoop_Status = 2 +) + +// Enum value maps for MainCoop_Status. +var ( + MainCoop_Status_name = map[int32]string{ + 0: "STATUS_INVALID", + 1: "STATUS_RUNNING", + 2: "STATUS_FINISHED", + } + MainCoop_Status_value = map[string]int32{ + "STATUS_INVALID": 0, + "STATUS_RUNNING": 1, + "STATUS_FINISHED": 2, + } +) + +func (x MainCoop_Status) Enum() *MainCoop_Status { + p := new(MainCoop_Status) + *p = x + return p +} + +func (x MainCoop_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MainCoop_Status) Descriptor() protoreflect.EnumDescriptor { + return file_MainCoop_proto_enumTypes[0].Descriptor() +} + +func (MainCoop_Status) Type() protoreflect.EnumType { + return &file_MainCoop_proto_enumTypes[0] +} + +func (x MainCoop_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MainCoop_Status.Descriptor instead. +func (MainCoop_Status) EnumDescriptor() ([]byte, []int) { + return file_MainCoop_proto_rawDescGZIP(), []int{0, 0} +} + +type MainCoop struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeenEndingMap map[uint32]uint32 `protobuf:"bytes,13,rep,name=seen_ending_map,json=seenEndingMap,proto3" json:"seen_ending_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + NormalVarMap map[uint32]int32 `protobuf:"bytes,4,rep,name=normal_var_map,json=normalVarMap,proto3" json:"normal_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SelfConfidence uint32 `protobuf:"varint,5,opt,name=self_confidence,json=selfConfidence,proto3" json:"self_confidence,omitempty"` + SavePointIdList []uint32 `protobuf:"varint,1,rep,packed,name=save_point_id_list,json=savePointIdList,proto3" json:"save_point_id_list,omitempty"` + Status MainCoop_Status `protobuf:"varint,6,opt,name=status,proto3,enum=MainCoop_Status" json:"status,omitempty"` + TempVarMap map[uint32]int32 `protobuf:"bytes,11,rep,name=temp_var_map,json=tempVarMap,proto3" json:"temp_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Id uint32 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *MainCoop) Reset() { + *x = MainCoop{} + if protoimpl.UnsafeEnabled { + mi := &file_MainCoop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MainCoop) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MainCoop) ProtoMessage() {} + +func (x *MainCoop) ProtoReflect() protoreflect.Message { + mi := &file_MainCoop_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MainCoop.ProtoReflect.Descriptor instead. +func (*MainCoop) Descriptor() ([]byte, []int) { + return file_MainCoop_proto_rawDescGZIP(), []int{0} +} + +func (x *MainCoop) GetSeenEndingMap() map[uint32]uint32 { + if x != nil { + return x.SeenEndingMap + } + return nil +} + +func (x *MainCoop) GetNormalVarMap() map[uint32]int32 { + if x != nil { + return x.NormalVarMap + } + return nil +} + +func (x *MainCoop) GetSelfConfidence() uint32 { + if x != nil { + return x.SelfConfidence + } + return 0 +} + +func (x *MainCoop) GetSavePointIdList() []uint32 { + if x != nil { + return x.SavePointIdList + } + return nil +} + +func (x *MainCoop) GetStatus() MainCoop_Status { + if x != nil { + return x.Status + } + return MainCoop_STATUS_INVALID +} + +func (x *MainCoop) GetTempVarMap() map[uint32]int32 { + if x != nil { + return x.TempVarMap + } + return nil +} + +func (x *MainCoop) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_MainCoop_proto protoreflect.FileDescriptor + +var file_MainCoop_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe9, 0x04, 0x0a, 0x08, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x12, 0x44, 0x0a, + 0x0f, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, + 0x70, 0x2e, 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x4d, 0x61, 0x70, 0x12, 0x41, 0x0a, 0x0e, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x76, 0x61, + 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x4d, 0x61, + 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x61, 0x72, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x73, 0x65, 0x6c, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x2b, 0x0a, 0x12, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x61, 0x76, + 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x4d, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x76, + 0x61, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4d, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x56, 0x61, 0x72, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x56, 0x61, 0x72, + 0x4d, 0x61, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x02, 0x69, 0x64, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x65, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, + 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x54, 0x65, 0x6d, 0x70, 0x56, 0x61, + 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x45, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x55, + 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MainCoop_proto_rawDescOnce sync.Once + file_MainCoop_proto_rawDescData = file_MainCoop_proto_rawDesc +) + +func file_MainCoop_proto_rawDescGZIP() []byte { + file_MainCoop_proto_rawDescOnce.Do(func() { + file_MainCoop_proto_rawDescData = protoimpl.X.CompressGZIP(file_MainCoop_proto_rawDescData) + }) + return file_MainCoop_proto_rawDescData +} + +var file_MainCoop_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MainCoop_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_MainCoop_proto_goTypes = []interface{}{ + (MainCoop_Status)(0), // 0: MainCoop.Status + (*MainCoop)(nil), // 1: MainCoop + nil, // 2: MainCoop.SeenEndingMapEntry + nil, // 3: MainCoop.NormalVarMapEntry + nil, // 4: MainCoop.TempVarMapEntry +} +var file_MainCoop_proto_depIdxs = []int32{ + 2, // 0: MainCoop.seen_ending_map:type_name -> MainCoop.SeenEndingMapEntry + 3, // 1: MainCoop.normal_var_map:type_name -> MainCoop.NormalVarMapEntry + 0, // 2: MainCoop.status:type_name -> MainCoop.Status + 4, // 3: MainCoop.temp_var_map:type_name -> MainCoop.TempVarMapEntry + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_MainCoop_proto_init() } +func file_MainCoop_proto_init() { + if File_MainCoop_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MainCoop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MainCoop); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MainCoop_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MainCoop_proto_goTypes, + DependencyIndexes: file_MainCoop_proto_depIdxs, + EnumInfos: file_MainCoop_proto_enumTypes, + MessageInfos: file_MainCoop_proto_msgTypes, + }.Build() + File_MainCoop_proto = out.File + file_MainCoop_proto_rawDesc = nil + file_MainCoop_proto_goTypes = nil + file_MainCoop_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MainCoop.proto b/gate-hk4e-api/proto/MainCoop.proto new file mode 100644 index 00000000..c9475e27 --- /dev/null +++ b/gate-hk4e-api/proto/MainCoop.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MainCoop { + map seen_ending_map = 13; + map normal_var_map = 4; + uint32 self_confidence = 5; + repeated uint32 save_point_id_list = 1; + Status status = 6; + map temp_var_map = 11; + uint32 id = 9; + + enum Status { + STATUS_INVALID = 0; + STATUS_RUNNING = 1; + STATUS_FINISHED = 2; + } +} diff --git a/gate-hk4e-api/proto/MainCoopUpdateNotify.pb.go b/gate-hk4e-api/proto/MainCoopUpdateNotify.pb.go new file mode 100644 index 00000000..6424ed77 --- /dev/null +++ b/gate-hk4e-api/proto/MainCoopUpdateNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MainCoopUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1968 +// EnetChannelId: 0 +// EnetIsReliable: true +type MainCoopUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MainCoopList []*MainCoop `protobuf:"bytes,5,rep,name=main_coop_list,json=mainCoopList,proto3" json:"main_coop_list,omitempty"` +} + +func (x *MainCoopUpdateNotify) Reset() { + *x = MainCoopUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MainCoopUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MainCoopUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MainCoopUpdateNotify) ProtoMessage() {} + +func (x *MainCoopUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_MainCoopUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MainCoopUpdateNotify.ProtoReflect.Descriptor instead. +func (*MainCoopUpdateNotify) Descriptor() ([]byte, []int) { + return file_MainCoopUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MainCoopUpdateNotify) GetMainCoopList() []*MainCoop { + if x != nil { + return x.MainCoopList + } + return nil +} + +var File_MainCoopUpdateNotify_proto protoreflect.FileDescriptor + +var file_MainCoopUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, + 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x14, + 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x0e, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6f, + 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, + 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MainCoopUpdateNotify_proto_rawDescOnce sync.Once + file_MainCoopUpdateNotify_proto_rawDescData = file_MainCoopUpdateNotify_proto_rawDesc +) + +func file_MainCoopUpdateNotify_proto_rawDescGZIP() []byte { + file_MainCoopUpdateNotify_proto_rawDescOnce.Do(func() { + file_MainCoopUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MainCoopUpdateNotify_proto_rawDescData) + }) + return file_MainCoopUpdateNotify_proto_rawDescData +} + +var file_MainCoopUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MainCoopUpdateNotify_proto_goTypes = []interface{}{ + (*MainCoopUpdateNotify)(nil), // 0: MainCoopUpdateNotify + (*MainCoop)(nil), // 1: MainCoop +} +var file_MainCoopUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: MainCoopUpdateNotify.main_coop_list:type_name -> MainCoop + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MainCoopUpdateNotify_proto_init() } +func file_MainCoopUpdateNotify_proto_init() { + if File_MainCoopUpdateNotify_proto != nil { + return + } + file_MainCoop_proto_init() + if !protoimpl.UnsafeEnabled { + file_MainCoopUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MainCoopUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MainCoopUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MainCoopUpdateNotify_proto_goTypes, + DependencyIndexes: file_MainCoopUpdateNotify_proto_depIdxs, + MessageInfos: file_MainCoopUpdateNotify_proto_msgTypes, + }.Build() + File_MainCoopUpdateNotify_proto = out.File + file_MainCoopUpdateNotify_proto_rawDesc = nil + file_MainCoopUpdateNotify_proto_goTypes = nil + file_MainCoopUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MainCoopUpdateNotify.proto b/gate-hk4e-api/proto/MainCoopUpdateNotify.proto new file mode 100644 index 00000000..1f6e0e08 --- /dev/null +++ b/gate-hk4e-api/proto/MainCoopUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MainCoop.proto"; + +option go_package = "./;proto"; + +// CmdId: 1968 +// EnetChannelId: 0 +// EnetIsReliable: true +message MainCoopUpdateNotify { + repeated MainCoop main_coop_list = 5; +} diff --git a/gate-hk4e-api/proto/MapAreaChangeNotify.pb.go b/gate-hk4e-api/proto/MapAreaChangeNotify.pb.go new file mode 100644 index 00000000..0d2fc255 --- /dev/null +++ b/gate-hk4e-api/proto/MapAreaChangeNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapAreaChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3378 +// EnetChannelId: 0 +// EnetIsReliable: true +type MapAreaChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MapAreaInfoList []*MapAreaInfo `protobuf:"bytes,3,rep,name=map_area_info_list,json=mapAreaInfoList,proto3" json:"map_area_info_list,omitempty"` +} + +func (x *MapAreaChangeNotify) Reset() { + *x = MapAreaChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MapAreaChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MapAreaChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapAreaChangeNotify) ProtoMessage() {} + +func (x *MapAreaChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_MapAreaChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapAreaChangeNotify.ProtoReflect.Descriptor instead. +func (*MapAreaChangeNotify) Descriptor() ([]byte, []int) { + return file_MapAreaChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MapAreaChangeNotify) GetMapAreaInfoList() []*MapAreaInfo { + if x != nil { + return x.MapAreaInfoList + } + return nil +} + +var File_MapAreaChangeNotify_proto protoreflect.FileDescriptor + +var file_MapAreaChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x61, 0x70, + 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, + 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, 0x12, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x72, 0x65, + 0x61, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0f, 0x6d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapAreaChangeNotify_proto_rawDescOnce sync.Once + file_MapAreaChangeNotify_proto_rawDescData = file_MapAreaChangeNotify_proto_rawDesc +) + +func file_MapAreaChangeNotify_proto_rawDescGZIP() []byte { + file_MapAreaChangeNotify_proto_rawDescOnce.Do(func() { + file_MapAreaChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapAreaChangeNotify_proto_rawDescData) + }) + return file_MapAreaChangeNotify_proto_rawDescData +} + +var file_MapAreaChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MapAreaChangeNotify_proto_goTypes = []interface{}{ + (*MapAreaChangeNotify)(nil), // 0: MapAreaChangeNotify + (*MapAreaInfo)(nil), // 1: MapAreaInfo +} +var file_MapAreaChangeNotify_proto_depIdxs = []int32{ + 1, // 0: MapAreaChangeNotify.map_area_info_list:type_name -> MapAreaInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MapAreaChangeNotify_proto_init() } +func file_MapAreaChangeNotify_proto_init() { + if File_MapAreaChangeNotify_proto != nil { + return + } + file_MapAreaInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MapAreaChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MapAreaChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapAreaChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapAreaChangeNotify_proto_goTypes, + DependencyIndexes: file_MapAreaChangeNotify_proto_depIdxs, + MessageInfos: file_MapAreaChangeNotify_proto_msgTypes, + }.Build() + File_MapAreaChangeNotify_proto = out.File + file_MapAreaChangeNotify_proto_rawDesc = nil + file_MapAreaChangeNotify_proto_goTypes = nil + file_MapAreaChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapAreaChangeNotify.proto b/gate-hk4e-api/proto/MapAreaChangeNotify.proto new file mode 100644 index 00000000..f4c1e851 --- /dev/null +++ b/gate-hk4e-api/proto/MapAreaChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapAreaInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3378 +// EnetChannelId: 0 +// EnetIsReliable: true +message MapAreaChangeNotify { + repeated MapAreaInfo map_area_info_list = 3; +} diff --git a/gate-hk4e-api/proto/MapAreaInfo.pb.go b/gate-hk4e-api/proto/MapAreaInfo.pb.go new file mode 100644 index 00000000..f3cbb05e --- /dev/null +++ b/gate-hk4e-api/proto/MapAreaInfo.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapAreaInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapAreaInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MapAreaId uint32 `protobuf:"varint,1,opt,name=map_area_id,json=mapAreaId,proto3" json:"map_area_id,omitempty"` + IsOpen bool `protobuf:"varint,2,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *MapAreaInfo) Reset() { + *x = MapAreaInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MapAreaInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MapAreaInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapAreaInfo) ProtoMessage() {} + +func (x *MapAreaInfo) ProtoReflect() protoreflect.Message { + mi := &file_MapAreaInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapAreaInfo.ProtoReflect.Descriptor instead. +func (*MapAreaInfo) Descriptor() ([]byte, []int) { + return file_MapAreaInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MapAreaInfo) GetMapAreaId() uint32 { + if x != nil { + return x.MapAreaId + } + return 0 +} + +func (x *MapAreaInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_MapAreaInfo_proto protoreflect.FileDescriptor + +var file_MapAreaInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x41, 0x72, 0x65, 0x61, + 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapAreaInfo_proto_rawDescOnce sync.Once + file_MapAreaInfo_proto_rawDescData = file_MapAreaInfo_proto_rawDesc +) + +func file_MapAreaInfo_proto_rawDescGZIP() []byte { + file_MapAreaInfo_proto_rawDescOnce.Do(func() { + file_MapAreaInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapAreaInfo_proto_rawDescData) + }) + return file_MapAreaInfo_proto_rawDescData +} + +var file_MapAreaInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MapAreaInfo_proto_goTypes = []interface{}{ + (*MapAreaInfo)(nil), // 0: MapAreaInfo +} +var file_MapAreaInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MapAreaInfo_proto_init() } +func file_MapAreaInfo_proto_init() { + if File_MapAreaInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MapAreaInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MapAreaInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapAreaInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapAreaInfo_proto_goTypes, + DependencyIndexes: file_MapAreaInfo_proto_depIdxs, + MessageInfos: file_MapAreaInfo_proto_msgTypes, + }.Build() + File_MapAreaInfo_proto = out.File + file_MapAreaInfo_proto_rawDesc = nil + file_MapAreaInfo_proto_goTypes = nil + file_MapAreaInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapAreaInfo.proto b/gate-hk4e-api/proto/MapAreaInfo.proto new file mode 100644 index 00000000..b27f90c3 --- /dev/null +++ b/gate-hk4e-api/proto/MapAreaInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MapAreaInfo { + uint32 map_area_id = 1; + bool is_open = 2; +} diff --git a/gate-hk4e-api/proto/MapInfo.pb.go b/gate-hk4e-api/proto/MapInfo.pb.go new file mode 100644 index 00000000..310bfc70 --- /dev/null +++ b/gate-hk4e-api/proto/MapInfo.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Minx int32 `protobuf:"varint,1,opt,name=minx,proto3" json:"minx,omitempty"` + Maxx int32 `protobuf:"varint,2,opt,name=maxx,proto3" json:"maxx,omitempty"` + Minz int32 `protobuf:"varint,3,opt,name=minz,proto3" json:"minz,omitempty"` + Maxz int32 `protobuf:"varint,4,opt,name=maxz,proto3" json:"maxz,omitempty"` + Cells []*CellInfo `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *MapInfo) Reset() { + *x = MapInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MapInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MapInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapInfo) ProtoMessage() {} + +func (x *MapInfo) ProtoReflect() protoreflect.Message { + mi := &file_MapInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapInfo.ProtoReflect.Descriptor instead. +func (*MapInfo) Descriptor() ([]byte, []int) { + return file_MapInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MapInfo) GetMinx() int32 { + if x != nil { + return x.Minx + } + return 0 +} + +func (x *MapInfo) GetMaxx() int32 { + if x != nil { + return x.Maxx + } + return 0 +} + +func (x *MapInfo) GetMinz() int32 { + if x != nil { + return x.Minz + } + return 0 +} + +func (x *MapInfo) GetMaxz() int32 { + if x != nil { + return x.Maxz + } + return 0 +} + +func (x *MapInfo) GetCells() []*CellInfo { + if x != nil { + return x.Cells + } + return nil +} + +var File_MapInfo_proto protoreflect.FileDescriptor + +var file_MapInfo_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x7a, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x69, + 0x6e, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x69, 0x6e, 0x78, 0x12, 0x12, + 0x0a, 0x04, 0x6d, 0x61, 0x78, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x61, + 0x78, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x69, 0x6e, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x6d, 0x69, 0x6e, 0x7a, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x78, 0x7a, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x61, 0x78, 0x7a, 0x12, 0x1f, 0x0a, 0x05, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapInfo_proto_rawDescOnce sync.Once + file_MapInfo_proto_rawDescData = file_MapInfo_proto_rawDesc +) + +func file_MapInfo_proto_rawDescGZIP() []byte { + file_MapInfo_proto_rawDescOnce.Do(func() { + file_MapInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapInfo_proto_rawDescData) + }) + return file_MapInfo_proto_rawDescData +} + +var file_MapInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MapInfo_proto_goTypes = []interface{}{ + (*MapInfo)(nil), // 0: MapInfo + (*CellInfo)(nil), // 1: CellInfo +} +var file_MapInfo_proto_depIdxs = []int32{ + 1, // 0: MapInfo.cells:type_name -> CellInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MapInfo_proto_init() } +func file_MapInfo_proto_init() { + if File_MapInfo_proto != nil { + return + } + file_CellInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MapInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MapInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapInfo_proto_goTypes, + DependencyIndexes: file_MapInfo_proto_depIdxs, + MessageInfos: file_MapInfo_proto_msgTypes, + }.Build() + File_MapInfo_proto = out.File + file_MapInfo_proto_rawDesc = nil + file_MapInfo_proto_goTypes = nil + file_MapInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapInfo.proto b/gate-hk4e-api/proto/MapInfo.proto new file mode 100644 index 00000000..7f720e86 --- /dev/null +++ b/gate-hk4e-api/proto/MapInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CellInfo.proto"; + +option go_package = "./;proto"; + +message MapInfo { + int32 minx = 1; + int32 maxx = 2; + int32 minz = 3; + int32 maxz = 4; + repeated CellInfo cells = 5; +} diff --git a/gate-hk4e-api/proto/MapMarkFromType.pb.go b/gate-hk4e-api/proto/MapMarkFromType.pb.go new file mode 100644 index 00000000..be3282dc --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkFromType.pb.go @@ -0,0 +1,150 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapMarkFromType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapMarkFromType int32 + +const ( + MapMarkFromType_MAP_MARK_FROM_TYPE_NONE MapMarkFromType = 0 + MapMarkFromType_MAP_MARK_FROM_TYPE_MONSTER MapMarkFromType = 1 + MapMarkFromType_MAP_MARK_FROM_TYPE_QUEST MapMarkFromType = 2 +) + +// Enum value maps for MapMarkFromType. +var ( + MapMarkFromType_name = map[int32]string{ + 0: "MAP_MARK_FROM_TYPE_NONE", + 1: "MAP_MARK_FROM_TYPE_MONSTER", + 2: "MAP_MARK_FROM_TYPE_QUEST", + } + MapMarkFromType_value = map[string]int32{ + "MAP_MARK_FROM_TYPE_NONE": 0, + "MAP_MARK_FROM_TYPE_MONSTER": 1, + "MAP_MARK_FROM_TYPE_QUEST": 2, + } +) + +func (x MapMarkFromType) Enum() *MapMarkFromType { + p := new(MapMarkFromType) + *p = x + return p +} + +func (x MapMarkFromType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MapMarkFromType) Descriptor() protoreflect.EnumDescriptor { + return file_MapMarkFromType_proto_enumTypes[0].Descriptor() +} + +func (MapMarkFromType) Type() protoreflect.EnumType { + return &file_MapMarkFromType_proto_enumTypes[0] +} + +func (x MapMarkFromType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MapMarkFromType.Descriptor instead. +func (MapMarkFromType) EnumDescriptor() ([]byte, []int) { + return file_MapMarkFromType_proto_rawDescGZIP(), []int{0} +} + +var File_MapMarkFromType_proto protoreflect.FileDescriptor + +var file_MapMarkFromType_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x6c, 0x0a, 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x61, + 0x72, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x41, + 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x41, 0x50, 0x5f, 0x4d, + 0x41, 0x52, 0x4b, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x4f, + 0x4e, 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x41, 0x50, 0x5f, 0x4d, + 0x41, 0x52, 0x4b, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x51, 0x55, + 0x45, 0x53, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapMarkFromType_proto_rawDescOnce sync.Once + file_MapMarkFromType_proto_rawDescData = file_MapMarkFromType_proto_rawDesc +) + +func file_MapMarkFromType_proto_rawDescGZIP() []byte { + file_MapMarkFromType_proto_rawDescOnce.Do(func() { + file_MapMarkFromType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapMarkFromType_proto_rawDescData) + }) + return file_MapMarkFromType_proto_rawDescData +} + +var file_MapMarkFromType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MapMarkFromType_proto_goTypes = []interface{}{ + (MapMarkFromType)(0), // 0: MapMarkFromType +} +var file_MapMarkFromType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MapMarkFromType_proto_init() } +func file_MapMarkFromType_proto_init() { + if File_MapMarkFromType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapMarkFromType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapMarkFromType_proto_goTypes, + DependencyIndexes: file_MapMarkFromType_proto_depIdxs, + EnumInfos: file_MapMarkFromType_proto_enumTypes, + }.Build() + File_MapMarkFromType_proto = out.File + file_MapMarkFromType_proto_rawDesc = nil + file_MapMarkFromType_proto_goTypes = nil + file_MapMarkFromType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapMarkFromType.proto b/gate-hk4e-api/proto/MapMarkFromType.proto new file mode 100644 index 00000000..83167f31 --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkFromType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MapMarkFromType { + MAP_MARK_FROM_TYPE_NONE = 0; + MAP_MARK_FROM_TYPE_MONSTER = 1; + MAP_MARK_FROM_TYPE_QUEST = 2; +} diff --git a/gate-hk4e-api/proto/MapMarkPoint.pb.go b/gate-hk4e-api/proto/MapMarkPoint.pb.go new file mode 100644 index 00000000..e5167832 --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkPoint.pb.go @@ -0,0 +1,231 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapMarkPoint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapMarkPoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Pos *Vector `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` + PointType MapMarkPointType `protobuf:"varint,4,opt,name=point_type,json=pointType,proto3,enum=MapMarkPointType" json:"point_type,omitempty"` + MonsterId uint32 `protobuf:"varint,5,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + FromType MapMarkFromType `protobuf:"varint,6,opt,name=from_type,json=fromType,proto3,enum=MapMarkFromType" json:"from_type,omitempty"` + QuestId uint32 `protobuf:"varint,7,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *MapMarkPoint) Reset() { + *x = MapMarkPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_MapMarkPoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MapMarkPoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapMarkPoint) ProtoMessage() {} + +func (x *MapMarkPoint) ProtoReflect() protoreflect.Message { + mi := &file_MapMarkPoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapMarkPoint.ProtoReflect.Descriptor instead. +func (*MapMarkPoint) Descriptor() ([]byte, []int) { + return file_MapMarkPoint_proto_rawDescGZIP(), []int{0} +} + +func (x *MapMarkPoint) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *MapMarkPoint) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *MapMarkPoint) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *MapMarkPoint) GetPointType() MapMarkPointType { + if x != nil { + return x.PointType + } + return MapMarkPointType_MAP_MARK_POINT_TYPE_NPC +} + +func (x *MapMarkPoint) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *MapMarkPoint) GetFromType() MapMarkFromType { + if x != nil { + return x.FromType + } + return MapMarkFromType_MAP_MARK_FROM_TYPE_NONE +} + +func (x *MapMarkPoint) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_MapMarkPoint_proto protoreflect.FileDescriptor + +var file_MapMarkPoint_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x46, 0x72, 0x6f, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x70, + 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf3, 0x01, 0x0a, 0x0c, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x30, 0x0a, 0x0a, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x11, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2d, 0x0a, + 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x10, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapMarkPoint_proto_rawDescOnce sync.Once + file_MapMarkPoint_proto_rawDescData = file_MapMarkPoint_proto_rawDesc +) + +func file_MapMarkPoint_proto_rawDescGZIP() []byte { + file_MapMarkPoint_proto_rawDescOnce.Do(func() { + file_MapMarkPoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapMarkPoint_proto_rawDescData) + }) + return file_MapMarkPoint_proto_rawDescData +} + +var file_MapMarkPoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MapMarkPoint_proto_goTypes = []interface{}{ + (*MapMarkPoint)(nil), // 0: MapMarkPoint + (*Vector)(nil), // 1: Vector + (MapMarkPointType)(0), // 2: MapMarkPointType + (MapMarkFromType)(0), // 3: MapMarkFromType +} +var file_MapMarkPoint_proto_depIdxs = []int32{ + 1, // 0: MapMarkPoint.pos:type_name -> Vector + 2, // 1: MapMarkPoint.point_type:type_name -> MapMarkPointType + 3, // 2: MapMarkPoint.from_type:type_name -> MapMarkFromType + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MapMarkPoint_proto_init() } +func file_MapMarkPoint_proto_init() { + if File_MapMarkPoint_proto != nil { + return + } + file_MapMarkFromType_proto_init() + file_MapMarkPointType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_MapMarkPoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MapMarkPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapMarkPoint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapMarkPoint_proto_goTypes, + DependencyIndexes: file_MapMarkPoint_proto_depIdxs, + MessageInfos: file_MapMarkPoint_proto_msgTypes, + }.Build() + File_MapMarkPoint_proto = out.File + file_MapMarkPoint_proto_rawDesc = nil + file_MapMarkPoint_proto_goTypes = nil + file_MapMarkPoint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapMarkPoint.proto b/gate-hk4e-api/proto/MapMarkPoint.proto new file mode 100644 index 00000000..8534d518 --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkPoint.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkFromType.proto"; +import "MapMarkPointType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message MapMarkPoint { + uint32 scene_id = 1; + string name = 2; + Vector pos = 3; + MapMarkPointType point_type = 4; + uint32 monster_id = 5; + MapMarkFromType from_type = 6; + uint32 quest_id = 7; +} diff --git a/gate-hk4e-api/proto/MapMarkPointType.pb.go b/gate-hk4e-api/proto/MapMarkPointType.pb.go new file mode 100644 index 00000000..e31b4aae --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkPointType.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapMarkPointType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapMarkPointType int32 + +const ( + MapMarkPointType_MAP_MARK_POINT_TYPE_NPC MapMarkPointType = 0 + MapMarkPointType_MAP_MARK_POINT_TYPE_QUEST MapMarkPointType = 1 + MapMarkPointType_MAP_MARK_POINT_TYPE_SPECIAL MapMarkPointType = 2 + MapMarkPointType_MAP_MARK_POINT_TYPE_MINE MapMarkPointType = 3 + MapMarkPointType_MAP_MARK_POINT_TYPE_COLLECTION MapMarkPointType = 4 + MapMarkPointType_MAP_MARK_POINT_TYPE_MONSTER MapMarkPointType = 5 + MapMarkPointType_MAP_MARK_POINT_TYPE_FISH_POOL MapMarkPointType = 6 +) + +// Enum value maps for MapMarkPointType. +var ( + MapMarkPointType_name = map[int32]string{ + 0: "MAP_MARK_POINT_TYPE_NPC", + 1: "MAP_MARK_POINT_TYPE_QUEST", + 2: "MAP_MARK_POINT_TYPE_SPECIAL", + 3: "MAP_MARK_POINT_TYPE_MINE", + 4: "MAP_MARK_POINT_TYPE_COLLECTION", + 5: "MAP_MARK_POINT_TYPE_MONSTER", + 6: "MAP_MARK_POINT_TYPE_FISH_POOL", + } + MapMarkPointType_value = map[string]int32{ + "MAP_MARK_POINT_TYPE_NPC": 0, + "MAP_MARK_POINT_TYPE_QUEST": 1, + "MAP_MARK_POINT_TYPE_SPECIAL": 2, + "MAP_MARK_POINT_TYPE_MINE": 3, + "MAP_MARK_POINT_TYPE_COLLECTION": 4, + "MAP_MARK_POINT_TYPE_MONSTER": 5, + "MAP_MARK_POINT_TYPE_FISH_POOL": 6, + } +) + +func (x MapMarkPointType) Enum() *MapMarkPointType { + p := new(MapMarkPointType) + *p = x + return p +} + +func (x MapMarkPointType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MapMarkPointType) Descriptor() protoreflect.EnumDescriptor { + return file_MapMarkPointType_proto_enumTypes[0].Descriptor() +} + +func (MapMarkPointType) Type() protoreflect.EnumType { + return &file_MapMarkPointType_proto_enumTypes[0] +} + +func (x MapMarkPointType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MapMarkPointType.Descriptor instead. +func (MapMarkPointType) EnumDescriptor() ([]byte, []int) { + return file_MapMarkPointType_proto_rawDescGZIP(), []int{0} +} + +var File_MapMarkPointType_proto protoreflect.FileDescriptor + +var file_MapMarkPointType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xf5, 0x01, 0x0a, 0x10, 0x4d, 0x61, 0x70, + 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, + 0x17, 0x4d, 0x41, 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x50, 0x43, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x41, + 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x41, 0x50, + 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x50, 0x45, 0x43, 0x49, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x41, + 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x41, 0x50, 0x5f, + 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x1b, + 0x4d, 0x41, 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, 0x21, 0x0a, + 0x1d, 0x4d, 0x41, 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x10, 0x06, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapMarkPointType_proto_rawDescOnce sync.Once + file_MapMarkPointType_proto_rawDescData = file_MapMarkPointType_proto_rawDesc +) + +func file_MapMarkPointType_proto_rawDescGZIP() []byte { + file_MapMarkPointType_proto_rawDescOnce.Do(func() { + file_MapMarkPointType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapMarkPointType_proto_rawDescData) + }) + return file_MapMarkPointType_proto_rawDescData +} + +var file_MapMarkPointType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MapMarkPointType_proto_goTypes = []interface{}{ + (MapMarkPointType)(0), // 0: MapMarkPointType +} +var file_MapMarkPointType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MapMarkPointType_proto_init() } +func file_MapMarkPointType_proto_init() { + if File_MapMarkPointType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapMarkPointType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapMarkPointType_proto_goTypes, + DependencyIndexes: file_MapMarkPointType_proto_depIdxs, + EnumInfos: file_MapMarkPointType_proto_enumTypes, + }.Build() + File_MapMarkPointType_proto = out.File + file_MapMarkPointType_proto_rawDesc = nil + file_MapMarkPointType_proto_goTypes = nil + file_MapMarkPointType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapMarkPointType.proto b/gate-hk4e-api/proto/MapMarkPointType.proto new file mode 100644 index 00000000..0e0a3c3f --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkPointType.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MapMarkPointType { + MAP_MARK_POINT_TYPE_NPC = 0; + MAP_MARK_POINT_TYPE_QUEST = 1; + MAP_MARK_POINT_TYPE_SPECIAL = 2; + MAP_MARK_POINT_TYPE_MINE = 3; + MAP_MARK_POINT_TYPE_COLLECTION = 4; + MAP_MARK_POINT_TYPE_MONSTER = 5; + MAP_MARK_POINT_TYPE_FISH_POOL = 6; +} diff --git a/gate-hk4e-api/proto/MapMarkTipsInfo.pb.go b/gate-hk4e-api/proto/MapMarkTipsInfo.pb.go new file mode 100644 index 00000000..1983ff2d --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkTipsInfo.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapMarkTipsInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapMarkTipsInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TipsType MapMarkTipsType `protobuf:"varint,1,opt,name=tips_type,json=tipsType,proto3,enum=MapMarkTipsType" json:"tips_type,omitempty"` + PointIdList []uint32 `protobuf:"varint,2,rep,packed,name=point_id_list,json=pointIdList,proto3" json:"point_id_list,omitempty"` +} + +func (x *MapMarkTipsInfo) Reset() { + *x = MapMarkTipsInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MapMarkTipsInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MapMarkTipsInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapMarkTipsInfo) ProtoMessage() {} + +func (x *MapMarkTipsInfo) ProtoReflect() protoreflect.Message { + mi := &file_MapMarkTipsInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapMarkTipsInfo.ProtoReflect.Descriptor instead. +func (*MapMarkTipsInfo) Descriptor() ([]byte, []int) { + return file_MapMarkTipsInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MapMarkTipsInfo) GetTipsType() MapMarkTipsType { + if x != nil { + return x.TipsType + } + return MapMarkTipsType_MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL +} + +func (x *MapMarkTipsInfo) GetPointIdList() []uint32 { + if x != nil { + return x.PointIdList + } + return nil +} + +var File_MapMarkTipsInfo_proto protoreflect.FileDescriptor + +var file_MapMarkTipsInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, + 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, + 0x0a, 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2d, 0x0a, 0x09, 0x74, 0x69, 0x70, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, + 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x74, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapMarkTipsInfo_proto_rawDescOnce sync.Once + file_MapMarkTipsInfo_proto_rawDescData = file_MapMarkTipsInfo_proto_rawDesc +) + +func file_MapMarkTipsInfo_proto_rawDescGZIP() []byte { + file_MapMarkTipsInfo_proto_rawDescOnce.Do(func() { + file_MapMarkTipsInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapMarkTipsInfo_proto_rawDescData) + }) + return file_MapMarkTipsInfo_proto_rawDescData +} + +var file_MapMarkTipsInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MapMarkTipsInfo_proto_goTypes = []interface{}{ + (*MapMarkTipsInfo)(nil), // 0: MapMarkTipsInfo + (MapMarkTipsType)(0), // 1: MapMarkTipsType +} +var file_MapMarkTipsInfo_proto_depIdxs = []int32{ + 1, // 0: MapMarkTipsInfo.tips_type:type_name -> MapMarkTipsType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MapMarkTipsInfo_proto_init() } +func file_MapMarkTipsInfo_proto_init() { + if File_MapMarkTipsInfo_proto != nil { + return + } + file_MapMarkTipsType_proto_init() + if !protoimpl.UnsafeEnabled { + file_MapMarkTipsInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MapMarkTipsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapMarkTipsInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapMarkTipsInfo_proto_goTypes, + DependencyIndexes: file_MapMarkTipsInfo_proto_depIdxs, + MessageInfos: file_MapMarkTipsInfo_proto_msgTypes, + }.Build() + File_MapMarkTipsInfo_proto = out.File + file_MapMarkTipsInfo_proto_rawDesc = nil + file_MapMarkTipsInfo_proto_goTypes = nil + file_MapMarkTipsInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapMarkTipsInfo.proto b/gate-hk4e-api/proto/MapMarkTipsInfo.proto new file mode 100644 index 00000000..d5e4f0cd --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkTipsInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkTipsType.proto"; + +option go_package = "./;proto"; + +message MapMarkTipsInfo { + MapMarkTipsType tips_type = 1; + repeated uint32 point_id_list = 2; +} diff --git a/gate-hk4e-api/proto/MapMarkTipsType.pb.go b/gate-hk4e-api/proto/MapMarkTipsType.pb.go new file mode 100644 index 00000000..02da49b6 --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkTipsType.pb.go @@ -0,0 +1,141 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MapMarkTipsType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapMarkTipsType int32 + +const ( + MapMarkTipsType_MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL MapMarkTipsType = 0 +) + +// Enum value maps for MapMarkTipsType. +var ( + MapMarkTipsType_name = map[int32]string{ + 0: "MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL", + } + MapMarkTipsType_value = map[string]int32{ + "MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL": 0, + } +) + +func (x MapMarkTipsType) Enum() *MapMarkTipsType { + p := new(MapMarkTipsType) + *p = x + return p +} + +func (x MapMarkTipsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MapMarkTipsType) Descriptor() protoreflect.EnumDescriptor { + return file_MapMarkTipsType_proto_enumTypes[0].Descriptor() +} + +func (MapMarkTipsType) Type() protoreflect.EnumType { + return &file_MapMarkTipsType_proto_enumTypes[0] +} + +func (x MapMarkTipsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MapMarkTipsType.Descriptor instead. +func (MapMarkTipsType) EnumDescriptor() ([]byte, []int) { + return file_MapMarkTipsType_proto_rawDescGZIP(), []int{0} +} + +var File_MapMarkTipsType_proto protoreflect.FileDescriptor + +var file_MapMarkTipsType_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x3f, 0x0a, 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x61, + 0x72, 0x6b, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x28, 0x4d, 0x41, + 0x50, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x54, 0x49, 0x50, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x10, 0x00, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MapMarkTipsType_proto_rawDescOnce sync.Once + file_MapMarkTipsType_proto_rawDescData = file_MapMarkTipsType_proto_rawDesc +) + +func file_MapMarkTipsType_proto_rawDescGZIP() []byte { + file_MapMarkTipsType_proto_rawDescOnce.Do(func() { + file_MapMarkTipsType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MapMarkTipsType_proto_rawDescData) + }) + return file_MapMarkTipsType_proto_rawDescData +} + +var file_MapMarkTipsType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MapMarkTipsType_proto_goTypes = []interface{}{ + (MapMarkTipsType)(0), // 0: MapMarkTipsType +} +var file_MapMarkTipsType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MapMarkTipsType_proto_init() } +func file_MapMarkTipsType_proto_init() { + if File_MapMarkTipsType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MapMarkTipsType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MapMarkTipsType_proto_goTypes, + DependencyIndexes: file_MapMarkTipsType_proto_depIdxs, + EnumInfos: file_MapMarkTipsType_proto_enumTypes, + }.Build() + File_MapMarkTipsType_proto = out.File + file_MapMarkTipsType_proto_rawDesc = nil + file_MapMarkTipsType_proto_goTypes = nil + file_MapMarkTipsType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MapMarkTipsType.proto b/gate-hk4e-api/proto/MapMarkTipsType.proto new file mode 100644 index 00000000..76084104 --- /dev/null +++ b/gate-hk4e-api/proto/MapMarkTipsType.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MapMarkTipsType { + MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL = 0; +} diff --git a/gate-hk4e-api/proto/MarkEntityInMinMapNotify.pb.go b/gate-hk4e-api/proto/MarkEntityInMinMapNotify.pb.go new file mode 100644 index 00000000..b97b8d65 --- /dev/null +++ b/gate-hk4e-api/proto/MarkEntityInMinMapNotify.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MarkEntityInMinMapNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 202 +// EnetChannelId: 0 +// EnetIsReliable: true +type MarkEntityInMinMapNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + MonsterId uint32 `protobuf:"varint,7,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *MarkEntityInMinMapNotify) Reset() { + *x = MarkEntityInMinMapNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MarkEntityInMinMapNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkEntityInMinMapNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkEntityInMinMapNotify) ProtoMessage() {} + +func (x *MarkEntityInMinMapNotify) ProtoReflect() protoreflect.Message { + mi := &file_MarkEntityInMinMapNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkEntityInMinMapNotify.ProtoReflect.Descriptor instead. +func (*MarkEntityInMinMapNotify) Descriptor() ([]byte, []int) { + return file_MarkEntityInMinMapNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MarkEntityInMinMapNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *MarkEntityInMinMapNotify) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *MarkEntityInMinMapNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_MarkEntityInMinMapNotify_proto protoreflect.FileDescriptor + +var file_MarkEntityInMinMapNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x61, 0x72, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x4d, 0x69, + 0x6e, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, + 0x0a, 0x18, 0x4d, 0x61, 0x72, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x4d, 0x69, + 0x6e, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MarkEntityInMinMapNotify_proto_rawDescOnce sync.Once + file_MarkEntityInMinMapNotify_proto_rawDescData = file_MarkEntityInMinMapNotify_proto_rawDesc +) + +func file_MarkEntityInMinMapNotify_proto_rawDescGZIP() []byte { + file_MarkEntityInMinMapNotify_proto_rawDescOnce.Do(func() { + file_MarkEntityInMinMapNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MarkEntityInMinMapNotify_proto_rawDescData) + }) + return file_MarkEntityInMinMapNotify_proto_rawDescData +} + +var file_MarkEntityInMinMapNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MarkEntityInMinMapNotify_proto_goTypes = []interface{}{ + (*MarkEntityInMinMapNotify)(nil), // 0: MarkEntityInMinMapNotify + (*Vector)(nil), // 1: Vector +} +var file_MarkEntityInMinMapNotify_proto_depIdxs = []int32{ + 1, // 0: MarkEntityInMinMapNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MarkEntityInMinMapNotify_proto_init() } +func file_MarkEntityInMinMapNotify_proto_init() { + if File_MarkEntityInMinMapNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_MarkEntityInMinMapNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkEntityInMinMapNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MarkEntityInMinMapNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MarkEntityInMinMapNotify_proto_goTypes, + DependencyIndexes: file_MarkEntityInMinMapNotify_proto_depIdxs, + MessageInfos: file_MarkEntityInMinMapNotify_proto_msgTypes, + }.Build() + File_MarkEntityInMinMapNotify_proto = out.File + file_MarkEntityInMinMapNotify_proto_rawDesc = nil + file_MarkEntityInMinMapNotify_proto_goTypes = nil + file_MarkEntityInMinMapNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MarkEntityInMinMapNotify.proto b/gate-hk4e-api/proto/MarkEntityInMinMapNotify.proto new file mode 100644 index 00000000..7f59c71d --- /dev/null +++ b/gate-hk4e-api/proto/MarkEntityInMinMapNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 202 +// EnetChannelId: 0 +// EnetIsReliable: true +message MarkEntityInMinMapNotify { + Vector position = 4; + uint32 monster_id = 7; + uint32 entity_id = 14; +} diff --git a/gate-hk4e-api/proto/MarkMapReq.pb.go b/gate-hk4e-api/proto/MarkMapReq.pb.go new file mode 100644 index 00000000..6c1394ac --- /dev/null +++ b/gate-hk4e-api/proto/MarkMapReq.pb.go @@ -0,0 +1,249 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MarkMapReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MarkMapReq_Operation int32 + +const ( + MarkMapReq_OPERATION_ADD MarkMapReq_Operation = 0 + MarkMapReq_OPERATION_MOD MarkMapReq_Operation = 1 + MarkMapReq_OPERATION_DEL MarkMapReq_Operation = 2 + MarkMapReq_OPERATION_GET MarkMapReq_Operation = 3 +) + +// Enum value maps for MarkMapReq_Operation. +var ( + MarkMapReq_Operation_name = map[int32]string{ + 0: "OPERATION_ADD", + 1: "OPERATION_MOD", + 2: "OPERATION_DEL", + 3: "OPERATION_GET", + } + MarkMapReq_Operation_value = map[string]int32{ + "OPERATION_ADD": 0, + "OPERATION_MOD": 1, + "OPERATION_DEL": 2, + "OPERATION_GET": 3, + } +) + +func (x MarkMapReq_Operation) Enum() *MarkMapReq_Operation { + p := new(MarkMapReq_Operation) + *p = x + return p +} + +func (x MarkMapReq_Operation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MarkMapReq_Operation) Descriptor() protoreflect.EnumDescriptor { + return file_MarkMapReq_proto_enumTypes[0].Descriptor() +} + +func (MarkMapReq_Operation) Type() protoreflect.EnumType { + return &file_MarkMapReq_proto_enumTypes[0] +} + +func (x MarkMapReq_Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MarkMapReq_Operation.Descriptor instead. +func (MarkMapReq_Operation) EnumDescriptor() ([]byte, []int) { + return file_MarkMapReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 3466 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MarkMapReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mark *MapMarkPoint `protobuf:"bytes,8,opt,name=mark,proto3" json:"mark,omitempty"` + Old *MapMarkPoint `protobuf:"bytes,6,opt,name=old,proto3" json:"old,omitempty"` + Op MarkMapReq_Operation `protobuf:"varint,9,opt,name=op,proto3,enum=MarkMapReq_Operation" json:"op,omitempty"` +} + +func (x *MarkMapReq) Reset() { + *x = MarkMapReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MarkMapReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkMapReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkMapReq) ProtoMessage() {} + +func (x *MarkMapReq) ProtoReflect() protoreflect.Message { + mi := &file_MarkMapReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkMapReq.ProtoReflect.Descriptor instead. +func (*MarkMapReq) Descriptor() ([]byte, []int) { + return file_MarkMapReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MarkMapReq) GetMark() *MapMarkPoint { + if x != nil { + return x.Mark + } + return nil +} + +func (x *MarkMapReq) GetOld() *MapMarkPoint { + if x != nil { + return x.Old + } + return nil +} + +func (x *MarkMapReq) GetOp() MarkMapReq_Operation { + if x != nil { + return x.Op + } + return MarkMapReq_OPERATION_ADD +} + +var File_MarkMapReq_proto protoreflect.FileDescriptor + +var file_MarkMapReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0a, 0x4d, 0x61, 0x72, 0x6b, 0x4d, + 0x61, 0x70, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1f, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x25, 0x0a, 0x02, 0x6f, 0x70, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x4d, 0x61, 0x70, 0x52, + 0x65, 0x71, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6f, 0x70, + 0x22, 0x57, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x11, 0x0a, + 0x0d, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x10, 0x00, + 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, + 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x44, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x45, 0x54, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MarkMapReq_proto_rawDescOnce sync.Once + file_MarkMapReq_proto_rawDescData = file_MarkMapReq_proto_rawDesc +) + +func file_MarkMapReq_proto_rawDescGZIP() []byte { + file_MarkMapReq_proto_rawDescOnce.Do(func() { + file_MarkMapReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MarkMapReq_proto_rawDescData) + }) + return file_MarkMapReq_proto_rawDescData +} + +var file_MarkMapReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MarkMapReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MarkMapReq_proto_goTypes = []interface{}{ + (MarkMapReq_Operation)(0), // 0: MarkMapReq.Operation + (*MarkMapReq)(nil), // 1: MarkMapReq + (*MapMarkPoint)(nil), // 2: MapMarkPoint +} +var file_MarkMapReq_proto_depIdxs = []int32{ + 2, // 0: MarkMapReq.mark:type_name -> MapMarkPoint + 2, // 1: MarkMapReq.old:type_name -> MapMarkPoint + 0, // 2: MarkMapReq.op:type_name -> MarkMapReq.Operation + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MarkMapReq_proto_init() } +func file_MarkMapReq_proto_init() { + if File_MarkMapReq_proto != nil { + return + } + file_MapMarkPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_MarkMapReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkMapReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MarkMapReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MarkMapReq_proto_goTypes, + DependencyIndexes: file_MarkMapReq_proto_depIdxs, + EnumInfos: file_MarkMapReq_proto_enumTypes, + MessageInfos: file_MarkMapReq_proto_msgTypes, + }.Build() + File_MarkMapReq_proto = out.File + file_MarkMapReq_proto_rawDesc = nil + file_MarkMapReq_proto_goTypes = nil + file_MarkMapReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MarkMapReq.proto b/gate-hk4e-api/proto/MarkMapReq.proto new file mode 100644 index 00000000..307e6414 --- /dev/null +++ b/gate-hk4e-api/proto/MarkMapReq.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkPoint.proto"; + +option go_package = "./;proto"; + +// CmdId: 3466 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MarkMapReq { + MapMarkPoint mark = 8; + MapMarkPoint old = 6; + Operation op = 9; + + enum Operation { + OPERATION_ADD = 0; + OPERATION_MOD = 1; + OPERATION_DEL = 2; + OPERATION_GET = 3; + } +} diff --git a/gate-hk4e-api/proto/MarkMapRsp.pb.go b/gate-hk4e-api/proto/MarkMapRsp.pb.go new file mode 100644 index 00000000..c3de000a --- /dev/null +++ b/gate-hk4e-api/proto/MarkMapRsp.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MarkMapRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3079 +// EnetChannelId: 0 +// EnetIsReliable: true +type MarkMapRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MarkList []*MapMarkPoint `protobuf:"bytes,8,rep,name=mark_list,json=markList,proto3" json:"mark_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MarkMapRsp) Reset() { + *x = MarkMapRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MarkMapRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkMapRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkMapRsp) ProtoMessage() {} + +func (x *MarkMapRsp) ProtoReflect() protoreflect.Message { + mi := &file_MarkMapRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkMapRsp.ProtoReflect.Descriptor instead. +func (*MarkMapRsp) Descriptor() ([]byte, []int) { + return file_MarkMapRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MarkMapRsp) GetMarkList() []*MapMarkPoint { + if x != nil { + return x.MarkList + } + return nil +} + +func (x *MarkMapRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MarkMapRsp_proto protoreflect.FileDescriptor + +var file_MarkMapRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x4d, 0x61, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x0a, 0x4d, 0x61, 0x72, 0x6b, 0x4d, 0x61, + 0x70, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MarkMapRsp_proto_rawDescOnce sync.Once + file_MarkMapRsp_proto_rawDescData = file_MarkMapRsp_proto_rawDesc +) + +func file_MarkMapRsp_proto_rawDescGZIP() []byte { + file_MarkMapRsp_proto_rawDescOnce.Do(func() { + file_MarkMapRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MarkMapRsp_proto_rawDescData) + }) + return file_MarkMapRsp_proto_rawDescData +} + +var file_MarkMapRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MarkMapRsp_proto_goTypes = []interface{}{ + (*MarkMapRsp)(nil), // 0: MarkMapRsp + (*MapMarkPoint)(nil), // 1: MapMarkPoint +} +var file_MarkMapRsp_proto_depIdxs = []int32{ + 1, // 0: MarkMapRsp.mark_list:type_name -> MapMarkPoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MarkMapRsp_proto_init() } +func file_MarkMapRsp_proto_init() { + if File_MarkMapRsp_proto != nil { + return + } + file_MapMarkPoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_MarkMapRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkMapRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MarkMapRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MarkMapRsp_proto_goTypes, + DependencyIndexes: file_MarkMapRsp_proto_depIdxs, + MessageInfos: file_MarkMapRsp_proto_msgTypes, + }.Build() + File_MarkMapRsp_proto = out.File + file_MarkMapRsp_proto_rawDesc = nil + file_MarkMapRsp_proto_goTypes = nil + file_MarkMapRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MarkMapRsp.proto b/gate-hk4e-api/proto/MarkMapRsp.proto new file mode 100644 index 00000000..d10dc92c --- /dev/null +++ b/gate-hk4e-api/proto/MarkMapRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MapMarkPoint.proto"; + +option go_package = "./;proto"; + +// CmdId: 3079 +// EnetChannelId: 0 +// EnetIsReliable: true +message MarkMapRsp { + repeated MapMarkPoint mark_list = 8; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/MarkNewNotify.pb.go b/gate-hk4e-api/proto/MarkNewNotify.pb.go new file mode 100644 index 00000000..df5f667c --- /dev/null +++ b/gate-hk4e-api/proto/MarkNewNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MarkNewNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1275 +// EnetChannelId: 0 +// EnetIsReliable: true +type MarkNewNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdList []uint32 `protobuf:"varint,7,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` + MarkNewType uint32 `protobuf:"varint,11,opt,name=mark_new_type,json=markNewType,proto3" json:"mark_new_type,omitempty"` +} + +func (x *MarkNewNotify) Reset() { + *x = MarkNewNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MarkNewNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkNewNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkNewNotify) ProtoMessage() {} + +func (x *MarkNewNotify) ProtoReflect() protoreflect.Message { + mi := &file_MarkNewNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkNewNotify.ProtoReflect.Descriptor instead. +func (*MarkNewNotify) Descriptor() ([]byte, []int) { + return file_MarkNewNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MarkNewNotify) GetIdList() []uint32 { + if x != nil { + return x.IdList + } + return nil +} + +func (x *MarkNewNotify) GetMarkNewType() uint32 { + if x != nil { + return x.MarkNewType + } + return 0 +} + +var File_MarkNewNotify_proto protoreflect.FileDescriptor + +var file_MarkNewNotify_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x65, 0x77, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x65, 0x77, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x65, 0x77, 0x54, + 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MarkNewNotify_proto_rawDescOnce sync.Once + file_MarkNewNotify_proto_rawDescData = file_MarkNewNotify_proto_rawDesc +) + +func file_MarkNewNotify_proto_rawDescGZIP() []byte { + file_MarkNewNotify_proto_rawDescOnce.Do(func() { + file_MarkNewNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MarkNewNotify_proto_rawDescData) + }) + return file_MarkNewNotify_proto_rawDescData +} + +var file_MarkNewNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MarkNewNotify_proto_goTypes = []interface{}{ + (*MarkNewNotify)(nil), // 0: MarkNewNotify +} +var file_MarkNewNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MarkNewNotify_proto_init() } +func file_MarkNewNotify_proto_init() { + if File_MarkNewNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MarkNewNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkNewNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MarkNewNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MarkNewNotify_proto_goTypes, + DependencyIndexes: file_MarkNewNotify_proto_depIdxs, + MessageInfos: file_MarkNewNotify_proto_msgTypes, + }.Build() + File_MarkNewNotify_proto = out.File + file_MarkNewNotify_proto_rawDesc = nil + file_MarkNewNotify_proto_goTypes = nil + file_MarkNewNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MarkNewNotify.proto b/gate-hk4e-api/proto/MarkNewNotify.proto new file mode 100644 index 00000000..c5f5c626 --- /dev/null +++ b/gate-hk4e-api/proto/MarkNewNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1275 +// EnetChannelId: 0 +// EnetIsReliable: true +message MarkNewNotify { + repeated uint32 id_list = 7; + uint32 mark_new_type = 11; +} diff --git a/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.pb.go b/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.pb.go new file mode 100644 index 00000000..d906c40b --- /dev/null +++ b/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MarkTargetInvestigationMonsterNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1915 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MarkTargetInvestigationMonsterNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,11,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + MonsterId uint32 `protobuf:"varint,4,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + GroupId uint32 `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + InvestigationMonsterId uint32 `protobuf:"varint,12,opt,name=investigation_monster_id,json=investigationMonsterId,proto3" json:"investigation_monster_id,omitempty"` +} + +func (x *MarkTargetInvestigationMonsterNotify) Reset() { + *x = MarkTargetInvestigationMonsterNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MarkTargetInvestigationMonsterNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkTargetInvestigationMonsterNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkTargetInvestigationMonsterNotify) ProtoMessage() {} + +func (x *MarkTargetInvestigationMonsterNotify) ProtoReflect() protoreflect.Message { + mi := &file_MarkTargetInvestigationMonsterNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkTargetInvestigationMonsterNotify.ProtoReflect.Descriptor instead. +func (*MarkTargetInvestigationMonsterNotify) Descriptor() ([]byte, []int) { + return file_MarkTargetInvestigationMonsterNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MarkTargetInvestigationMonsterNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *MarkTargetInvestigationMonsterNotify) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *MarkTargetInvestigationMonsterNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MarkTargetInvestigationMonsterNotify) GetInvestigationMonsterId() uint32 { + if x != nil { + return x.InvestigationMonsterId + } + return 0 +} + +var File_MarkTargetInvestigationMonsterNotify_proto protoreflect.FileDescriptor + +var file_MarkTargetInvestigationMonsterNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, + 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, + 0x24, 0x4d, 0x61, 0x72, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x73, + 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x69, 0x6e, + 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x69, 0x6e, + 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MarkTargetInvestigationMonsterNotify_proto_rawDescOnce sync.Once + file_MarkTargetInvestigationMonsterNotify_proto_rawDescData = file_MarkTargetInvestigationMonsterNotify_proto_rawDesc +) + +func file_MarkTargetInvestigationMonsterNotify_proto_rawDescGZIP() []byte { + file_MarkTargetInvestigationMonsterNotify_proto_rawDescOnce.Do(func() { + file_MarkTargetInvestigationMonsterNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MarkTargetInvestigationMonsterNotify_proto_rawDescData) + }) + return file_MarkTargetInvestigationMonsterNotify_proto_rawDescData +} + +var file_MarkTargetInvestigationMonsterNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MarkTargetInvestigationMonsterNotify_proto_goTypes = []interface{}{ + (*MarkTargetInvestigationMonsterNotify)(nil), // 0: MarkTargetInvestigationMonsterNotify +} +var file_MarkTargetInvestigationMonsterNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MarkTargetInvestigationMonsterNotify_proto_init() } +func file_MarkTargetInvestigationMonsterNotify_proto_init() { + if File_MarkTargetInvestigationMonsterNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MarkTargetInvestigationMonsterNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkTargetInvestigationMonsterNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MarkTargetInvestigationMonsterNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MarkTargetInvestigationMonsterNotify_proto_goTypes, + DependencyIndexes: file_MarkTargetInvestigationMonsterNotify_proto_depIdxs, + MessageInfos: file_MarkTargetInvestigationMonsterNotify_proto_msgTypes, + }.Build() + File_MarkTargetInvestigationMonsterNotify_proto = out.File + file_MarkTargetInvestigationMonsterNotify_proto_rawDesc = nil + file_MarkTargetInvestigationMonsterNotify_proto_goTypes = nil + file_MarkTargetInvestigationMonsterNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.proto b/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.proto new file mode 100644 index 00000000..71cc23ab --- /dev/null +++ b/gate-hk4e-api/proto/MarkTargetInvestigationMonsterNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1915 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MarkTargetInvestigationMonsterNotify { + uint32 scene_id = 11; + uint32 monster_id = 4; + uint32 group_id = 5; + uint32 investigation_monster_id = 12; +} diff --git a/gate-hk4e-api/proto/MassiveBoxInfo.pb.go b/gate-hk4e-api/proto/MassiveBoxInfo.pb.go new file mode 100644 index 00000000..3e3d9003 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveBoxInfo.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveBoxInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassiveBoxInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + Center *Vector `protobuf:"bytes,3,opt,name=center,proto3" json:"center,omitempty"` + Extents *Vector `protobuf:"bytes,4,opt,name=extents,proto3" json:"extents,omitempty"` + Up *Vector `protobuf:"bytes,5,opt,name=up,proto3" json:"up,omitempty"` + Forward *Vector `protobuf:"bytes,6,opt,name=forward,proto3" json:"forward,omitempty"` + Right *Vector `protobuf:"bytes,7,opt,name=right,proto3" json:"right,omitempty"` +} + +func (x *MassiveBoxInfo) Reset() { + *x = MassiveBoxInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveBoxInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveBoxInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveBoxInfo) ProtoMessage() {} + +func (x *MassiveBoxInfo) ProtoReflect() protoreflect.Message { + mi := &file_MassiveBoxInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveBoxInfo.ProtoReflect.Descriptor instead. +func (*MassiveBoxInfo) Descriptor() ([]byte, []int) { + return file_MassiveBoxInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveBoxInfo) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *MassiveBoxInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *MassiveBoxInfo) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *MassiveBoxInfo) GetExtents() *Vector { + if x != nil { + return x.Extents + } + return nil +} + +func (x *MassiveBoxInfo) GetUp() *Vector { + if x != nil { + return x.Up + } + return nil +} + +func (x *MassiveBoxInfo) GetForward() *Vector { + if x != nil { + return x.Forward + } + return nil +} + +func (x *MassiveBoxInfo) GetRight() *Vector { + if x != nil { + return x.Right + } + return nil +} + +var File_MassiveBoxInfo_proto protoreflect.FileDescriptor + +var file_MassiveBoxInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x07, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x07, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x17, 0x0a, 0x02, 0x75, 0x70, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x75, + 0x70, 0x12, 0x21, 0x0a, 0x07, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x66, 0x6f, 0x72, + 0x77, 0x61, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x72, 0x69, + 0x67, 0x68, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassiveBoxInfo_proto_rawDescOnce sync.Once + file_MassiveBoxInfo_proto_rawDescData = file_MassiveBoxInfo_proto_rawDesc +) + +func file_MassiveBoxInfo_proto_rawDescGZIP() []byte { + file_MassiveBoxInfo_proto_rawDescOnce.Do(func() { + file_MassiveBoxInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveBoxInfo_proto_rawDescData) + }) + return file_MassiveBoxInfo_proto_rawDescData +} + +var file_MassiveBoxInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveBoxInfo_proto_goTypes = []interface{}{ + (*MassiveBoxInfo)(nil), // 0: MassiveBoxInfo + (*Vector)(nil), // 1: Vector +} +var file_MassiveBoxInfo_proto_depIdxs = []int32{ + 1, // 0: MassiveBoxInfo.center:type_name -> Vector + 1, // 1: MassiveBoxInfo.extents:type_name -> Vector + 1, // 2: MassiveBoxInfo.up:type_name -> Vector + 1, // 3: MassiveBoxInfo.forward:type_name -> Vector + 1, // 4: MassiveBoxInfo.right:type_name -> Vector + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_MassiveBoxInfo_proto_init() } +func file_MassiveBoxInfo_proto_init() { + if File_MassiveBoxInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_MassiveBoxInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveBoxInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveBoxInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveBoxInfo_proto_goTypes, + DependencyIndexes: file_MassiveBoxInfo_proto_depIdxs, + MessageInfos: file_MassiveBoxInfo_proto_msgTypes, + }.Build() + File_MassiveBoxInfo_proto = out.File + file_MassiveBoxInfo_proto_rawDesc = nil + file_MassiveBoxInfo_proto_goTypes = nil + file_MassiveBoxInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveBoxInfo.proto b/gate-hk4e-api/proto/MassiveBoxInfo.proto new file mode 100644 index 00000000..6950df98 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveBoxInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message MassiveBoxInfo { + int32 id = 1; + uint32 config_id = 2; + Vector center = 3; + Vector extents = 4; + Vector up = 5; + Vector forward = 6; + Vector right = 7; +} diff --git a/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.pb.go b/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.pb.go new file mode 100644 index 00000000..84c330c6 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.pb.go @@ -0,0 +1,289 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveEntityElementOpBatchNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 357 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MassiveEntityElementOpBatchNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityType int32 `protobuf:"varint,6,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` + OpIdx uint32 `protobuf:"varint,9,opt,name=op_idx,json=opIdx,proto3" json:"op_idx,omitempty"` + UserId uint32 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + AttackerId uint32 `protobuf:"varint,3,opt,name=attacker_id,json=attackerId,proto3" json:"attacker_id,omitempty"` + SourceElementType int32 `protobuf:"varint,12,opt,name=source_element_type,json=sourceElementType,proto3" json:"source_element_type,omitempty"` + ReactionSourceType int32 `protobuf:"varint,4,opt,name=reaction_source_type,json=reactionSourceType,proto3" json:"reaction_source_type,omitempty"` + AttackElementDurability float32 `protobuf:"fixed32,7,opt,name=attack_element_durability,json=attackElementDurability,proto3" json:"attack_element_durability,omitempty"` + // Types that are assignable to CheckShape: + // *MassiveEntityElementOpBatchNotify_ShapeSphere + // *MassiveEntityElementOpBatchNotify_ShapeBox + CheckShape isMassiveEntityElementOpBatchNotify_CheckShape `protobuf_oneof:"check_shape"` +} + +func (x *MassiveEntityElementOpBatchNotify) Reset() { + *x = MassiveEntityElementOpBatchNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveEntityElementOpBatchNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveEntityElementOpBatchNotify) ProtoMessage() {} + +func (x *MassiveEntityElementOpBatchNotify) ProtoReflect() protoreflect.Message { + mi := &file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveEntityElementOpBatchNotify.ProtoReflect.Descriptor instead. +func (*MassiveEntityElementOpBatchNotify) Descriptor() ([]byte, []int) { + return file_MassiveEntityElementOpBatchNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveEntityElementOpBatchNotify) GetEntityType() int32 { + if x != nil { + return x.EntityType + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetOpIdx() uint32 { + if x != nil { + return x.OpIdx + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetUserId() uint32 { + if x != nil { + return x.UserId + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetAttackerId() uint32 { + if x != nil { + return x.AttackerId + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetSourceElementType() int32 { + if x != nil { + return x.SourceElementType + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetReactionSourceType() int32 { + if x != nil { + return x.ReactionSourceType + } + return 0 +} + +func (x *MassiveEntityElementOpBatchNotify) GetAttackElementDurability() float32 { + if x != nil { + return x.AttackElementDurability + } + return 0 +} + +func (m *MassiveEntityElementOpBatchNotify) GetCheckShape() isMassiveEntityElementOpBatchNotify_CheckShape { + if m != nil { + return m.CheckShape + } + return nil +} + +func (x *MassiveEntityElementOpBatchNotify) GetShapeSphere() *ShapeSphere { + if x, ok := x.GetCheckShape().(*MassiveEntityElementOpBatchNotify_ShapeSphere); ok { + return x.ShapeSphere + } + return nil +} + +func (x *MassiveEntityElementOpBatchNotify) GetShapeBox() *ShapeBox { + if x, ok := x.GetCheckShape().(*MassiveEntityElementOpBatchNotify_ShapeBox); ok { + return x.ShapeBox + } + return nil +} + +type isMassiveEntityElementOpBatchNotify_CheckShape interface { + isMassiveEntityElementOpBatchNotify_CheckShape() +} + +type MassiveEntityElementOpBatchNotify_ShapeSphere struct { + ShapeSphere *ShapeSphere `protobuf:"bytes,10,opt,name=shape_sphere,json=shapeSphere,proto3,oneof"` +} + +type MassiveEntityElementOpBatchNotify_ShapeBox struct { + ShapeBox *ShapeBox `protobuf:"bytes,2,opt,name=shape_box,json=shapeBox,proto3,oneof"` +} + +func (*MassiveEntityElementOpBatchNotify_ShapeSphere) isMassiveEntityElementOpBatchNotify_CheckShape() { +} + +func (*MassiveEntityElementOpBatchNotify_ShapeBox) isMassiveEntityElementOpBatchNotify_CheckShape() {} + +var File_MassiveEntityElementOpBatchNotify_proto protoreflect.FileDescriptor + +var file_MassiveEntityElementOpBatchNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x53, 0x68, 0x61, 0x70, 0x65, + 0x42, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x53, 0x68, 0x61, 0x70, 0x65, + 0x53, 0x70, 0x68, 0x65, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x03, 0x0a, + 0x21, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6f, 0x70, 0x49, 0x64, 0x78, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x12, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x17, 0x61, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x12, 0x31, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x68, 0x65, + 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65, + 0x53, 0x70, 0x68, 0x65, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x70, 0x65, 0x53, + 0x70, 0x68, 0x65, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x62, + 0x6f, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65, + 0x42, 0x6f, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x42, 0x6f, 0x78, 0x42, + 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MassiveEntityElementOpBatchNotify_proto_rawDescOnce sync.Once + file_MassiveEntityElementOpBatchNotify_proto_rawDescData = file_MassiveEntityElementOpBatchNotify_proto_rawDesc +) + +func file_MassiveEntityElementOpBatchNotify_proto_rawDescGZIP() []byte { + file_MassiveEntityElementOpBatchNotify_proto_rawDescOnce.Do(func() { + file_MassiveEntityElementOpBatchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveEntityElementOpBatchNotify_proto_rawDescData) + }) + return file_MassiveEntityElementOpBatchNotify_proto_rawDescData +} + +var file_MassiveEntityElementOpBatchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveEntityElementOpBatchNotify_proto_goTypes = []interface{}{ + (*MassiveEntityElementOpBatchNotify)(nil), // 0: MassiveEntityElementOpBatchNotify + (*ShapeSphere)(nil), // 1: ShapeSphere + (*ShapeBox)(nil), // 2: ShapeBox +} +var file_MassiveEntityElementOpBatchNotify_proto_depIdxs = []int32{ + 1, // 0: MassiveEntityElementOpBatchNotify.shape_sphere:type_name -> ShapeSphere + 2, // 1: MassiveEntityElementOpBatchNotify.shape_box:type_name -> ShapeBox + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MassiveEntityElementOpBatchNotify_proto_init() } +func file_MassiveEntityElementOpBatchNotify_proto_init() { + if File_MassiveEntityElementOpBatchNotify_proto != nil { + return + } + file_ShapeBox_proto_init() + file_ShapeSphere_proto_init() + if !protoimpl.UnsafeEnabled { + file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveEntityElementOpBatchNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_MassiveEntityElementOpBatchNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MassiveEntityElementOpBatchNotify_ShapeSphere)(nil), + (*MassiveEntityElementOpBatchNotify_ShapeBox)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveEntityElementOpBatchNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveEntityElementOpBatchNotify_proto_goTypes, + DependencyIndexes: file_MassiveEntityElementOpBatchNotify_proto_depIdxs, + MessageInfos: file_MassiveEntityElementOpBatchNotify_proto_msgTypes, + }.Build() + File_MassiveEntityElementOpBatchNotify_proto = out.File + file_MassiveEntityElementOpBatchNotify_proto_rawDesc = nil + file_MassiveEntityElementOpBatchNotify_proto_goTypes = nil + file_MassiveEntityElementOpBatchNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.proto b/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.proto new file mode 100644 index 00000000..126bca29 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityElementOpBatchNotify.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ShapeBox.proto"; +import "ShapeSphere.proto"; + +option go_package = "./;proto"; + +// CmdId: 357 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MassiveEntityElementOpBatchNotify { + int32 entity_type = 6; + uint32 op_idx = 9; + uint32 user_id = 11; + uint32 attacker_id = 3; + int32 source_element_type = 12; + int32 reaction_source_type = 4; + float attack_element_durability = 7; + oneof check_shape { + ShapeSphere shape_sphere = 10; + ShapeBox shape_box = 2; + } +} diff --git a/gate-hk4e-api/proto/MassiveEntityState.pb.go b/gate-hk4e-api/proto/MassiveEntityState.pb.go new file mode 100644 index 00000000..34b3be2b --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityState.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveEntityState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassiveEntityState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityType uint32 `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` + ObjId int64 `protobuf:"varint,2,opt,name=obj_id,json=objId,proto3" json:"obj_id,omitempty"` + ElementState uint32 `protobuf:"varint,3,opt,name=element_state,json=elementState,proto3" json:"element_state,omitempty"` +} + +func (x *MassiveEntityState) Reset() { + *x = MassiveEntityState{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveEntityState_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveEntityState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveEntityState) ProtoMessage() {} + +func (x *MassiveEntityState) ProtoReflect() protoreflect.Message { + mi := &file_MassiveEntityState_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveEntityState.ProtoReflect.Descriptor instead. +func (*MassiveEntityState) Descriptor() ([]byte, []int) { + return file_MassiveEntityState_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveEntityState) GetEntityType() uint32 { + if x != nil { + return x.EntityType + } + return 0 +} + +func (x *MassiveEntityState) GetObjId() int64 { + if x != nil { + return x.ObjId + } + return 0 +} + +func (x *MassiveEntityState) GetElementState() uint32 { + if x != nil { + return x.ElementState + } + return 0 +} + +var File_MassiveEntityState_proto protoreflect.FileDescriptor + +var file_MassiveEntityState_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x12, 0x4d, 0x61, + 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x6f, 0x62, 0x6a, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6c, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MassiveEntityState_proto_rawDescOnce sync.Once + file_MassiveEntityState_proto_rawDescData = file_MassiveEntityState_proto_rawDesc +) + +func file_MassiveEntityState_proto_rawDescGZIP() []byte { + file_MassiveEntityState_proto_rawDescOnce.Do(func() { + file_MassiveEntityState_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveEntityState_proto_rawDescData) + }) + return file_MassiveEntityState_proto_rawDescData +} + +var file_MassiveEntityState_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveEntityState_proto_goTypes = []interface{}{ + (*MassiveEntityState)(nil), // 0: MassiveEntityState +} +var file_MassiveEntityState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MassiveEntityState_proto_init() } +func file_MassiveEntityState_proto_init() { + if File_MassiveEntityState_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MassiveEntityState_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveEntityState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveEntityState_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveEntityState_proto_goTypes, + DependencyIndexes: file_MassiveEntityState_proto_depIdxs, + MessageInfos: file_MassiveEntityState_proto_msgTypes, + }.Build() + File_MassiveEntityState_proto = out.File + file_MassiveEntityState_proto_rawDesc = nil + file_MassiveEntityState_proto_goTypes = nil + file_MassiveEntityState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveEntityState.proto b/gate-hk4e-api/proto/MassiveEntityState.proto new file mode 100644 index 00000000..e08f9271 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityState.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MassiveEntityState { + uint32 entity_type = 1; + int64 obj_id = 2; + uint32 element_state = 3; +} diff --git a/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.pb.go b/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.pb.go new file mode 100644 index 00000000..70560e1e --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveEntityStateChangedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 370 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MassiveEntityStateChangedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MassiveEntityStateList []*MassiveEntityState `protobuf:"bytes,4,rep,name=massive_entity_state_list,json=massiveEntityStateList,proto3" json:"massive_entity_state_list,omitempty"` +} + +func (x *MassiveEntityStateChangedNotify) Reset() { + *x = MassiveEntityStateChangedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveEntityStateChangedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveEntityStateChangedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveEntityStateChangedNotify) ProtoMessage() {} + +func (x *MassiveEntityStateChangedNotify) ProtoReflect() protoreflect.Message { + mi := &file_MassiveEntityStateChangedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveEntityStateChangedNotify.ProtoReflect.Descriptor instead. +func (*MassiveEntityStateChangedNotify) Descriptor() ([]byte, []int) { + return file_MassiveEntityStateChangedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveEntityStateChangedNotify) GetMassiveEntityStateList() []*MassiveEntityState { + if x != nil { + return x.MassiveEntityStateList + } + return nil +} + +var File_MassiveEntityStateChangedNotify_proto protoreflect.FileDescriptor + +var file_MassiveEntityStateChangedNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x71, 0x0a, 0x1f, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x4e, 0x0a, 0x19, 0x6d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, + 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x16, 0x6d, 0x61, + 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassiveEntityStateChangedNotify_proto_rawDescOnce sync.Once + file_MassiveEntityStateChangedNotify_proto_rawDescData = file_MassiveEntityStateChangedNotify_proto_rawDesc +) + +func file_MassiveEntityStateChangedNotify_proto_rawDescGZIP() []byte { + file_MassiveEntityStateChangedNotify_proto_rawDescOnce.Do(func() { + file_MassiveEntityStateChangedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveEntityStateChangedNotify_proto_rawDescData) + }) + return file_MassiveEntityStateChangedNotify_proto_rawDescData +} + +var file_MassiveEntityStateChangedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveEntityStateChangedNotify_proto_goTypes = []interface{}{ + (*MassiveEntityStateChangedNotify)(nil), // 0: MassiveEntityStateChangedNotify + (*MassiveEntityState)(nil), // 1: MassiveEntityState +} +var file_MassiveEntityStateChangedNotify_proto_depIdxs = []int32{ + 1, // 0: MassiveEntityStateChangedNotify.massive_entity_state_list:type_name -> MassiveEntityState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MassiveEntityStateChangedNotify_proto_init() } +func file_MassiveEntityStateChangedNotify_proto_init() { + if File_MassiveEntityStateChangedNotify_proto != nil { + return + } + file_MassiveEntityState_proto_init() + if !protoimpl.UnsafeEnabled { + file_MassiveEntityStateChangedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveEntityStateChangedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveEntityStateChangedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveEntityStateChangedNotify_proto_goTypes, + DependencyIndexes: file_MassiveEntityStateChangedNotify_proto_depIdxs, + MessageInfos: file_MassiveEntityStateChangedNotify_proto_msgTypes, + }.Build() + File_MassiveEntityStateChangedNotify_proto = out.File + file_MassiveEntityStateChangedNotify_proto_rawDesc = nil + file_MassiveEntityStateChangedNotify_proto_goTypes = nil + file_MassiveEntityStateChangedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.proto b/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.proto new file mode 100644 index 00000000..ab70bcf0 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveEntityStateChangedNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassiveEntityState.proto"; + +option go_package = "./;proto"; + +// CmdId: 370 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MassiveEntityStateChangedNotify { + repeated MassiveEntityState massive_entity_state_list = 4; +} diff --git a/gate-hk4e-api/proto/MassiveGrassInfo.pb.go b/gate-hk4e-api/proto/MassiveGrassInfo.pb.go new file mode 100644 index 00000000..875438e7 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveGrassInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveGrassInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassiveGrassInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Center *Vector `protobuf:"bytes,2,opt,name=center,proto3" json:"center,omitempty"` + Size *Vector `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"` +} + +func (x *MassiveGrassInfo) Reset() { + *x = MassiveGrassInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveGrassInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveGrassInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveGrassInfo) ProtoMessage() {} + +func (x *MassiveGrassInfo) ProtoReflect() protoreflect.Message { + mi := &file_MassiveGrassInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveGrassInfo.ProtoReflect.Descriptor instead. +func (*MassiveGrassInfo) Descriptor() ([]byte, []int) { + return file_MassiveGrassInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveGrassInfo) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *MassiveGrassInfo) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *MassiveGrassInfo) GetSize() *Vector { + if x != nil { + return x.Size + } + return nil +} + +var File_MassiveGrassInfo_proto protoreflect.FileDescriptor + +var file_MassiveGrassInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x47, 0x72, 0x61, 0x73, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x10, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, + 0x65, 0x47, 0x72, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassiveGrassInfo_proto_rawDescOnce sync.Once + file_MassiveGrassInfo_proto_rawDescData = file_MassiveGrassInfo_proto_rawDesc +) + +func file_MassiveGrassInfo_proto_rawDescGZIP() []byte { + file_MassiveGrassInfo_proto_rawDescOnce.Do(func() { + file_MassiveGrassInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveGrassInfo_proto_rawDescData) + }) + return file_MassiveGrassInfo_proto_rawDescData +} + +var file_MassiveGrassInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveGrassInfo_proto_goTypes = []interface{}{ + (*MassiveGrassInfo)(nil), // 0: MassiveGrassInfo + (*Vector)(nil), // 1: Vector +} +var file_MassiveGrassInfo_proto_depIdxs = []int32{ + 1, // 0: MassiveGrassInfo.center:type_name -> Vector + 1, // 1: MassiveGrassInfo.size:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MassiveGrassInfo_proto_init() } +func file_MassiveGrassInfo_proto_init() { + if File_MassiveGrassInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_MassiveGrassInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveGrassInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveGrassInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveGrassInfo_proto_goTypes, + DependencyIndexes: file_MassiveGrassInfo_proto_depIdxs, + MessageInfos: file_MassiveGrassInfo_proto_msgTypes, + }.Build() + File_MassiveGrassInfo_proto = out.File + file_MassiveGrassInfo_proto_rawDesc = nil + file_MassiveGrassInfo_proto_goTypes = nil + file_MassiveGrassInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveGrassInfo.proto b/gate-hk4e-api/proto/MassiveGrassInfo.proto new file mode 100644 index 00000000..85d09acf --- /dev/null +++ b/gate-hk4e-api/proto/MassiveGrassInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message MassiveGrassInfo { + uint32 id = 1; + Vector center = 2; + Vector size = 3; +} diff --git a/gate-hk4e-api/proto/MassivePropParam.pb.go b/gate-hk4e-api/proto/MassivePropParam.pb.go new file mode 100644 index 00000000..fa190cfa --- /dev/null +++ b/gate-hk4e-api/proto/MassivePropParam.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassivePropParam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassivePropParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + ReactionInfoList []uint32 `protobuf:"varint,2,rep,packed,name=reaction_info_list,json=reactionInfoList,proto3" json:"reaction_info_list,omitempty"` + ParamList []float32 `protobuf:"fixed32,3,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + SyncFlag uint32 `protobuf:"varint,4,opt,name=sync_flag,json=syncFlag,proto3" json:"sync_flag,omitempty"` +} + +func (x *MassivePropParam) Reset() { + *x = MassivePropParam{} + if protoimpl.UnsafeEnabled { + mi := &file_MassivePropParam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassivePropParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassivePropParam) ProtoMessage() {} + +func (x *MassivePropParam) ProtoReflect() protoreflect.Message { + mi := &file_MassivePropParam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassivePropParam.ProtoReflect.Descriptor instead. +func (*MassivePropParam) Descriptor() ([]byte, []int) { + return file_MassivePropParam_proto_rawDescGZIP(), []int{0} +} + +func (x *MassivePropParam) GetType() int32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *MassivePropParam) GetReactionInfoList() []uint32 { + if x != nil { + return x.ReactionInfoList + } + return nil +} + +func (x *MassivePropParam) GetParamList() []float32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *MassivePropParam) GetSyncFlag() uint32 { + if x != nil { + return x.SyncFlag + } + return 0 +} + +var File_MassivePropParam_proto protoreflect.FileDescriptor + +var file_MassivePropParam_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x10, 0x4d, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x72, + 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x02, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassivePropParam_proto_rawDescOnce sync.Once + file_MassivePropParam_proto_rawDescData = file_MassivePropParam_proto_rawDesc +) + +func file_MassivePropParam_proto_rawDescGZIP() []byte { + file_MassivePropParam_proto_rawDescOnce.Do(func() { + file_MassivePropParam_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassivePropParam_proto_rawDescData) + }) + return file_MassivePropParam_proto_rawDescData +} + +var file_MassivePropParam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassivePropParam_proto_goTypes = []interface{}{ + (*MassivePropParam)(nil), // 0: MassivePropParam +} +var file_MassivePropParam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MassivePropParam_proto_init() } +func file_MassivePropParam_proto_init() { + if File_MassivePropParam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MassivePropParam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassivePropParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassivePropParam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassivePropParam_proto_goTypes, + DependencyIndexes: file_MassivePropParam_proto_depIdxs, + MessageInfos: file_MassivePropParam_proto_msgTypes, + }.Build() + File_MassivePropParam_proto = out.File + file_MassivePropParam_proto_rawDesc = nil + file_MassivePropParam_proto_goTypes = nil + file_MassivePropParam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassivePropParam.proto b/gate-hk4e-api/proto/MassivePropParam.proto new file mode 100644 index 00000000..dbb8e79a --- /dev/null +++ b/gate-hk4e-api/proto/MassivePropParam.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MassivePropParam { + int32 type = 1; + repeated uint32 reaction_info_list = 2; + repeated float param_list = 3; + uint32 sync_flag = 4; +} diff --git a/gate-hk4e-api/proto/MassivePropSyncInfo.pb.go b/gate-hk4e-api/proto/MassivePropSyncInfo.pb.go new file mode 100644 index 00000000..8e08aa42 --- /dev/null +++ b/gate-hk4e-api/proto/MassivePropSyncInfo.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassivePropSyncInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassivePropSyncInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + PropList []*MassivePropParam `protobuf:"bytes,2,rep,name=prop_list,json=propList,proto3" json:"prop_list,omitempty"` +} + +func (x *MassivePropSyncInfo) Reset() { + *x = MassivePropSyncInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MassivePropSyncInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassivePropSyncInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassivePropSyncInfo) ProtoMessage() {} + +func (x *MassivePropSyncInfo) ProtoReflect() protoreflect.Message { + mi := &file_MassivePropSyncInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassivePropSyncInfo.ProtoReflect.Descriptor instead. +func (*MassivePropSyncInfo) Descriptor() ([]byte, []int) { + return file_MassivePropSyncInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MassivePropSyncInfo) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *MassivePropSyncInfo) GetPropList() []*MassivePropParam { + if x != nil { + return x.PropList + } + return nil +} + +var File_MassivePropSyncInfo_proto protoreflect.FileDescriptor + +var file_MassivePropSyncInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x53, 0x79, 0x6e, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, + 0x6f, 0x70, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassivePropSyncInfo_proto_rawDescOnce sync.Once + file_MassivePropSyncInfo_proto_rawDescData = file_MassivePropSyncInfo_proto_rawDesc +) + +func file_MassivePropSyncInfo_proto_rawDescGZIP() []byte { + file_MassivePropSyncInfo_proto_rawDescOnce.Do(func() { + file_MassivePropSyncInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassivePropSyncInfo_proto_rawDescData) + }) + return file_MassivePropSyncInfo_proto_rawDescData +} + +var file_MassivePropSyncInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassivePropSyncInfo_proto_goTypes = []interface{}{ + (*MassivePropSyncInfo)(nil), // 0: MassivePropSyncInfo + (*MassivePropParam)(nil), // 1: MassivePropParam +} +var file_MassivePropSyncInfo_proto_depIdxs = []int32{ + 1, // 0: MassivePropSyncInfo.prop_list:type_name -> MassivePropParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MassivePropSyncInfo_proto_init() } +func file_MassivePropSyncInfo_proto_init() { + if File_MassivePropSyncInfo_proto != nil { + return + } + file_MassivePropParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_MassivePropSyncInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassivePropSyncInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassivePropSyncInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassivePropSyncInfo_proto_goTypes, + DependencyIndexes: file_MassivePropSyncInfo_proto_depIdxs, + MessageInfos: file_MassivePropSyncInfo_proto_msgTypes, + }.Build() + File_MassivePropSyncInfo_proto = out.File + file_MassivePropSyncInfo_proto_rawDesc = nil + file_MassivePropSyncInfo_proto_goTypes = nil + file_MassivePropSyncInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassivePropSyncInfo.proto b/gate-hk4e-api/proto/MassivePropSyncInfo.proto new file mode 100644 index 00000000..76841b36 --- /dev/null +++ b/gate-hk4e-api/proto/MassivePropSyncInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassivePropParam.proto"; + +option go_package = "./;proto"; + +message MassivePropSyncInfo { + int64 id = 1; + repeated MassivePropParam prop_list = 2; +} diff --git a/gate-hk4e-api/proto/MassiveWaterInfo.pb.go b/gate-hk4e-api/proto/MassiveWaterInfo.pb.go new file mode 100644 index 00000000..e220b492 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveWaterInfo.pb.go @@ -0,0 +1,157 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MassiveWaterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MassiveWaterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *MassiveWaterInfo) Reset() { + *x = MassiveWaterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MassiveWaterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MassiveWaterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MassiveWaterInfo) ProtoMessage() {} + +func (x *MassiveWaterInfo) ProtoReflect() protoreflect.Message { + mi := &file_MassiveWaterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MassiveWaterInfo.ProtoReflect.Descriptor instead. +func (*MassiveWaterInfo) Descriptor() ([]byte, []int) { + return file_MassiveWaterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MassiveWaterInfo) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +var File_MassiveWaterInfo_proto protoreflect.FileDescriptor + +var file_MassiveWaterInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x10, 0x4d, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MassiveWaterInfo_proto_rawDescOnce sync.Once + file_MassiveWaterInfo_proto_rawDescData = file_MassiveWaterInfo_proto_rawDesc +) + +func file_MassiveWaterInfo_proto_rawDescGZIP() []byte { + file_MassiveWaterInfo_proto_rawDescOnce.Do(func() { + file_MassiveWaterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MassiveWaterInfo_proto_rawDescData) + }) + return file_MassiveWaterInfo_proto_rawDescData +} + +var file_MassiveWaterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MassiveWaterInfo_proto_goTypes = []interface{}{ + (*MassiveWaterInfo)(nil), // 0: MassiveWaterInfo +} +var file_MassiveWaterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MassiveWaterInfo_proto_init() } +func file_MassiveWaterInfo_proto_init() { + if File_MassiveWaterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MassiveWaterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MassiveWaterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MassiveWaterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MassiveWaterInfo_proto_goTypes, + DependencyIndexes: file_MassiveWaterInfo_proto_depIdxs, + MessageInfos: file_MassiveWaterInfo_proto_msgTypes, + }.Build() + File_MassiveWaterInfo_proto = out.File + file_MassiveWaterInfo_proto_rawDesc = nil + file_MassiveWaterInfo_proto_goTypes = nil + file_MassiveWaterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MassiveWaterInfo.proto b/gate-hk4e-api/proto/MassiveWaterInfo.proto new file mode 100644 index 00000000..0dc483c3 --- /dev/null +++ b/gate-hk4e-api/proto/MassiveWaterInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MassiveWaterInfo { + int64 id = 1; +} diff --git a/gate-hk4e-api/proto/MatchPlayerInfo.pb.go b/gate-hk4e-api/proto/MatchPlayerInfo.pb.go new file mode 100644 index 00000000..316c4035 --- /dev/null +++ b/gate-hk4e-api/proto/MatchPlayerInfo.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MatchPlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MatchPlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgreed bool `protobuf:"varint,9,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,2,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *MatchPlayerInfo) Reset() { + *x = MatchPlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MatchPlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MatchPlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MatchPlayerInfo) ProtoMessage() {} + +func (x *MatchPlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_MatchPlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MatchPlayerInfo.ProtoReflect.Descriptor instead. +func (*MatchPlayerInfo) Descriptor() ([]byte, []int) { + return file_MatchPlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MatchPlayerInfo) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +func (x *MatchPlayerInfo) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_MatchPlayerInfo_proto protoreflect.FileDescriptor + +var file_MatchPlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x62, 0x0a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x12, + 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MatchPlayerInfo_proto_rawDescOnce sync.Once + file_MatchPlayerInfo_proto_rawDescData = file_MatchPlayerInfo_proto_rawDesc +) + +func file_MatchPlayerInfo_proto_rawDescGZIP() []byte { + file_MatchPlayerInfo_proto_rawDescOnce.Do(func() { + file_MatchPlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MatchPlayerInfo_proto_rawDescData) + }) + return file_MatchPlayerInfo_proto_rawDescData +} + +var file_MatchPlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MatchPlayerInfo_proto_goTypes = []interface{}{ + (*MatchPlayerInfo)(nil), // 0: MatchPlayerInfo + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_MatchPlayerInfo_proto_depIdxs = []int32{ + 1, // 0: MatchPlayerInfo.player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MatchPlayerInfo_proto_init() } +func file_MatchPlayerInfo_proto_init() { + if File_MatchPlayerInfo_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MatchPlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MatchPlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MatchPlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MatchPlayerInfo_proto_goTypes, + DependencyIndexes: file_MatchPlayerInfo_proto_depIdxs, + MessageInfos: file_MatchPlayerInfo_proto_msgTypes, + }.Build() + File_MatchPlayerInfo_proto = out.File + file_MatchPlayerInfo_proto_rawDesc = nil + file_MatchPlayerInfo_proto_goTypes = nil + file_MatchPlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MatchPlayerInfo.proto b/gate-hk4e-api/proto/MatchPlayerInfo.proto new file mode 100644 index 00000000..4a8ae50b --- /dev/null +++ b/gate-hk4e-api/proto/MatchPlayerInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message MatchPlayerInfo { + bool is_agreed = 9; + OnlinePlayerInfo player_info = 2; +} diff --git a/gate-hk4e-api/proto/MatchReason.pb.go b/gate-hk4e-api/proto/MatchReason.pb.go new file mode 100644 index 00000000..dc5d233f --- /dev/null +++ b/gate-hk4e-api/proto/MatchReason.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MatchReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MatchReason int32 + +const ( + MatchReason_MATCH_REASON_NONE MatchReason = 0 + MatchReason_MATCH_REASON_FINISH MatchReason = 1 + MatchReason_MATCH_REASON_PLAYER_CANCEL MatchReason = 2 + MatchReason_MATCH_REASON_TIMEOUT MatchReason = 3 + MatchReason_MATCH_REASON_PLAYER_CONFIRM MatchReason = 4 + MatchReason_MATCH_REASON_FAILED MatchReason = 5 + MatchReason_MATCH_REASON_SYSTEM_ERROR MatchReason = 6 + MatchReason_MATCH_REASON_INTERRUPTED MatchReason = 7 + MatchReason_MATCH_REASON_MP_UNAVAILABLE MatchReason = 8 + MatchReason_MATCH_REASON_CONFIRM_TIMEOUT MatchReason = 9 +) + +// Enum value maps for MatchReason. +var ( + MatchReason_name = map[int32]string{ + 0: "MATCH_REASON_NONE", + 1: "MATCH_REASON_FINISH", + 2: "MATCH_REASON_PLAYER_CANCEL", + 3: "MATCH_REASON_TIMEOUT", + 4: "MATCH_REASON_PLAYER_CONFIRM", + 5: "MATCH_REASON_FAILED", + 6: "MATCH_REASON_SYSTEM_ERROR", + 7: "MATCH_REASON_INTERRUPTED", + 8: "MATCH_REASON_MP_UNAVAILABLE", + 9: "MATCH_REASON_CONFIRM_TIMEOUT", + } + MatchReason_value = map[string]int32{ + "MATCH_REASON_NONE": 0, + "MATCH_REASON_FINISH": 1, + "MATCH_REASON_PLAYER_CANCEL": 2, + "MATCH_REASON_TIMEOUT": 3, + "MATCH_REASON_PLAYER_CONFIRM": 4, + "MATCH_REASON_FAILED": 5, + "MATCH_REASON_SYSTEM_ERROR": 6, + "MATCH_REASON_INTERRUPTED": 7, + "MATCH_REASON_MP_UNAVAILABLE": 8, + "MATCH_REASON_CONFIRM_TIMEOUT": 9, + } +) + +func (x MatchReason) Enum() *MatchReason { + p := new(MatchReason) + *p = x + return p +} + +func (x MatchReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MatchReason) Descriptor() protoreflect.EnumDescriptor { + return file_MatchReason_proto_enumTypes[0].Descriptor() +} + +func (MatchReason) Type() protoreflect.EnumType { + return &file_MatchReason_proto_enumTypes[0] +} + +func (x MatchReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MatchReason.Descriptor instead. +func (MatchReason) EnumDescriptor() ([]byte, []int) { + return file_MatchReason_proto_rawDescGZIP(), []int{0} +} + +var File_MatchReason_proto protoreflect.FileDescriptor + +var file_MatchReason_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2a, 0xb1, 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, + 0x4c, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x03, 0x12, 0x1f, 0x0a, + 0x1b, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x10, 0x04, 0x12, 0x17, + 0x0a, 0x13, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x41, 0x54, 0x43, 0x48, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, 0x54, + 0x45, 0x44, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d, 0x50, 0x5f, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, + 0x42, 0x4c, 0x45, 0x10, 0x08, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x09, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MatchReason_proto_rawDescOnce sync.Once + file_MatchReason_proto_rawDescData = file_MatchReason_proto_rawDesc +) + +func file_MatchReason_proto_rawDescGZIP() []byte { + file_MatchReason_proto_rawDescOnce.Do(func() { + file_MatchReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_MatchReason_proto_rawDescData) + }) + return file_MatchReason_proto_rawDescData +} + +var file_MatchReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MatchReason_proto_goTypes = []interface{}{ + (MatchReason)(0), // 0: MatchReason +} +var file_MatchReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MatchReason_proto_init() } +func file_MatchReason_proto_init() { + if File_MatchReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MatchReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MatchReason_proto_goTypes, + DependencyIndexes: file_MatchReason_proto_depIdxs, + EnumInfos: file_MatchReason_proto_enumTypes, + }.Build() + File_MatchReason_proto = out.File + file_MatchReason_proto_rawDesc = nil + file_MatchReason_proto_goTypes = nil + file_MatchReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MatchReason.proto b/gate-hk4e-api/proto/MatchReason.proto new file mode 100644 index 00000000..1b935c22 --- /dev/null +++ b/gate-hk4e-api/proto/MatchReason.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MatchReason { + MATCH_REASON_NONE = 0; + MATCH_REASON_FINISH = 1; + MATCH_REASON_PLAYER_CANCEL = 2; + MATCH_REASON_TIMEOUT = 3; + MATCH_REASON_PLAYER_CONFIRM = 4; + MATCH_REASON_FAILED = 5; + MATCH_REASON_SYSTEM_ERROR = 6; + MATCH_REASON_INTERRUPTED = 7; + MATCH_REASON_MP_UNAVAILABLE = 8; + MATCH_REASON_CONFIRM_TIMEOUT = 9; +} diff --git a/gate-hk4e-api/proto/MatchType.pb.go b/gate-hk4e-api/proto/MatchType.pb.go new file mode 100644 index 00000000..9d76484d --- /dev/null +++ b/gate-hk4e-api/proto/MatchType.pb.go @@ -0,0 +1,157 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MatchType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MatchType int32 + +const ( + MatchType_MATCH_TYPE_NONE MatchType = 0 + MatchType_MATCH_TYPE_DUNGEON MatchType = 1 + MatchType_MATCH_TYPE_MP_PLAY MatchType = 2 + MatchType_MATCH_TYPE_MECHANICUS MatchType = 3 + MatchType_MATCH_TYPE_GENERAL MatchType = 4 +) + +// Enum value maps for MatchType. +var ( + MatchType_name = map[int32]string{ + 0: "MATCH_TYPE_NONE", + 1: "MATCH_TYPE_DUNGEON", + 2: "MATCH_TYPE_MP_PLAY", + 3: "MATCH_TYPE_MECHANICUS", + 4: "MATCH_TYPE_GENERAL", + } + MatchType_value = map[string]int32{ + "MATCH_TYPE_NONE": 0, + "MATCH_TYPE_DUNGEON": 1, + "MATCH_TYPE_MP_PLAY": 2, + "MATCH_TYPE_MECHANICUS": 3, + "MATCH_TYPE_GENERAL": 4, + } +) + +func (x MatchType) Enum() *MatchType { + p := new(MatchType) + *p = x + return p +} + +func (x MatchType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MatchType) Descriptor() protoreflect.EnumDescriptor { + return file_MatchType_proto_enumTypes[0].Descriptor() +} + +func (MatchType) Type() protoreflect.EnumType { + return &file_MatchType_proto_enumTypes[0] +} + +func (x MatchType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MatchType.Descriptor instead. +func (MatchType) EnumDescriptor() ([]byte, []int) { + return file_MatchType_proto_rawDescGZIP(), []int{0} +} + +var File_MatchType_proto protoreflect.FileDescriptor + +var file_MatchType_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2a, 0x83, 0x01, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x13, 0x0a, 0x0f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x10, 0x03, 0x12, + 0x16, 0x0a, 0x12, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x45, + 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MatchType_proto_rawDescOnce sync.Once + file_MatchType_proto_rawDescData = file_MatchType_proto_rawDesc +) + +func file_MatchType_proto_rawDescGZIP() []byte { + file_MatchType_proto_rawDescOnce.Do(func() { + file_MatchType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MatchType_proto_rawDescData) + }) + return file_MatchType_proto_rawDescData +} + +var file_MatchType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MatchType_proto_goTypes = []interface{}{ + (MatchType)(0), // 0: MatchType +} +var file_MatchType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MatchType_proto_init() } +func file_MatchType_proto_init() { + if File_MatchType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MatchType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MatchType_proto_goTypes, + DependencyIndexes: file_MatchType_proto_depIdxs, + EnumInfos: file_MatchType_proto_enumTypes, + }.Build() + File_MatchType_proto = out.File + file_MatchType_proto_rawDesc = nil + file_MatchType_proto_goTypes = nil + file_MatchType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MatchType.proto b/gate-hk4e-api/proto/MatchType.proto new file mode 100644 index 00000000..8f84c4ea --- /dev/null +++ b/gate-hk4e-api/proto/MatchType.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MatchType { + MATCH_TYPE_NONE = 0; + MATCH_TYPE_DUNGEON = 1; + MATCH_TYPE_MP_PLAY = 2; + MATCH_TYPE_MECHANICUS = 3; + MATCH_TYPE_GENERAL = 4; +} diff --git a/gate-hk4e-api/proto/Material.pb.go b/gate-hk4e-api/proto/Material.pb.go new file mode 100644 index 00000000..2977b786 --- /dev/null +++ b/gate-hk4e-api/proto/Material.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Material.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Material struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + DeleteInfo *MaterialDeleteInfo `protobuf:"bytes,2,opt,name=delete_info,json=deleteInfo,proto3" json:"delete_info,omitempty"` +} + +func (x *Material) Reset() { + *x = Material{} + if protoimpl.UnsafeEnabled { + mi := &file_Material_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Material) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Material) ProtoMessage() {} + +func (x *Material) ProtoReflect() protoreflect.Message { + mi := &file_Material_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Material.ProtoReflect.Descriptor instead. +func (*Material) Descriptor() ([]byte, []int) { + return file_Material_proto_rawDescGZIP(), []int{0} +} + +func (x *Material) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *Material) GetDeleteInfo() *MaterialDeleteInfo { + if x != nil { + return x.DeleteInfo + } + return nil +} + +var File_Material_proto protoreflect.FileDescriptor + +var file_Material_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x08, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x0b, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Material_proto_rawDescOnce sync.Once + file_Material_proto_rawDescData = file_Material_proto_rawDesc +) + +func file_Material_proto_rawDescGZIP() []byte { + file_Material_proto_rawDescOnce.Do(func() { + file_Material_proto_rawDescData = protoimpl.X.CompressGZIP(file_Material_proto_rawDescData) + }) + return file_Material_proto_rawDescData +} + +var file_Material_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Material_proto_goTypes = []interface{}{ + (*Material)(nil), // 0: Material + (*MaterialDeleteInfo)(nil), // 1: MaterialDeleteInfo +} +var file_Material_proto_depIdxs = []int32{ + 1, // 0: Material.delete_info:type_name -> MaterialDeleteInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Material_proto_init() } +func file_Material_proto_init() { + if File_Material_proto != nil { + return + } + file_MaterialDeleteInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Material_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Material); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Material_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Material_proto_goTypes, + DependencyIndexes: file_Material_proto_depIdxs, + MessageInfos: file_Material_proto_msgTypes, + }.Build() + File_Material_proto = out.File + file_Material_proto_rawDesc = nil + file_Material_proto_goTypes = nil + file_Material_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Material.proto b/gate-hk4e-api/proto/Material.proto new file mode 100644 index 00000000..5a5efdd3 --- /dev/null +++ b/gate-hk4e-api/proto/Material.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MaterialDeleteInfo.proto"; + +option go_package = "./;proto"; + +message Material { + uint32 count = 1; + MaterialDeleteInfo delete_info = 2; +} diff --git a/gate-hk4e-api/proto/MaterialDeleteInfo.pb.go b/gate-hk4e-api/proto/MaterialDeleteInfo.pb.go new file mode 100644 index 00000000..877f4452 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteInfo.pb.go @@ -0,0 +1,486 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MaterialDeleteInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MaterialDeleteInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HasDeleteConfig bool `protobuf:"varint,1,opt,name=has_delete_config,json=hasDeleteConfig,proto3" json:"has_delete_config,omitempty"` + // Types that are assignable to DeleteInfo: + // *MaterialDeleteInfo_CountDownDelete_ + // *MaterialDeleteInfo_DateDelete + // *MaterialDeleteInfo_DelayWeekCountDownDelete_ + DeleteInfo isMaterialDeleteInfo_DeleteInfo `protobuf_oneof:"delete_info"` +} + +func (x *MaterialDeleteInfo) Reset() { + *x = MaterialDeleteInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteInfo) ProtoMessage() {} + +func (x *MaterialDeleteInfo) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteInfo.ProtoReflect.Descriptor instead. +func (*MaterialDeleteInfo) Descriptor() ([]byte, []int) { + return file_MaterialDeleteInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MaterialDeleteInfo) GetHasDeleteConfig() bool { + if x != nil { + return x.HasDeleteConfig + } + return false +} + +func (m *MaterialDeleteInfo) GetDeleteInfo() isMaterialDeleteInfo_DeleteInfo { + if m != nil { + return m.DeleteInfo + } + return nil +} + +func (x *MaterialDeleteInfo) GetCountDownDelete() *MaterialDeleteInfo_CountDownDelete { + if x, ok := x.GetDeleteInfo().(*MaterialDeleteInfo_CountDownDelete_); ok { + return x.CountDownDelete + } + return nil +} + +func (x *MaterialDeleteInfo) GetDateDelete() *MaterialDeleteInfo_DateTimeDelete { + if x, ok := x.GetDeleteInfo().(*MaterialDeleteInfo_DateDelete); ok { + return x.DateDelete + } + return nil +} + +func (x *MaterialDeleteInfo) GetDelayWeekCountDownDelete() *MaterialDeleteInfo_DelayWeekCountDownDelete { + if x, ok := x.GetDeleteInfo().(*MaterialDeleteInfo_DelayWeekCountDownDelete_); ok { + return x.DelayWeekCountDownDelete + } + return nil +} + +type isMaterialDeleteInfo_DeleteInfo interface { + isMaterialDeleteInfo_DeleteInfo() +} + +type MaterialDeleteInfo_CountDownDelete_ struct { + CountDownDelete *MaterialDeleteInfo_CountDownDelete `protobuf:"bytes,2,opt,name=count_down_delete,json=countDownDelete,proto3,oneof"` +} + +type MaterialDeleteInfo_DateDelete struct { + DateDelete *MaterialDeleteInfo_DateTimeDelete `protobuf:"bytes,3,opt,name=date_delete,json=dateDelete,proto3,oneof"` +} + +type MaterialDeleteInfo_DelayWeekCountDownDelete_ struct { + DelayWeekCountDownDelete *MaterialDeleteInfo_DelayWeekCountDownDelete `protobuf:"bytes,4,opt,name=delay_week_count_down_delete,json=delayWeekCountDownDelete,proto3,oneof"` +} + +func (*MaterialDeleteInfo_CountDownDelete_) isMaterialDeleteInfo_DeleteInfo() {} + +func (*MaterialDeleteInfo_DateDelete) isMaterialDeleteInfo_DeleteInfo() {} + +func (*MaterialDeleteInfo_DelayWeekCountDownDelete_) isMaterialDeleteInfo_DeleteInfo() {} + +type MaterialDeleteInfo_CountDownDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteTimeNumMap map[uint32]uint32 `protobuf:"bytes,1,rep,name=delete_time_num_map,json=deleteTimeNumMap,proto3" json:"delete_time_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ConfigCountDownTime uint32 `protobuf:"varint,2,opt,name=config_count_down_time,json=configCountDownTime,proto3" json:"config_count_down_time,omitempty"` +} + +func (x *MaterialDeleteInfo_CountDownDelete) Reset() { + *x = MaterialDeleteInfo_CountDownDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteInfo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteInfo_CountDownDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteInfo_CountDownDelete) ProtoMessage() {} + +func (x *MaterialDeleteInfo_CountDownDelete) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteInfo_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteInfo_CountDownDelete.ProtoReflect.Descriptor instead. +func (*MaterialDeleteInfo_CountDownDelete) Descriptor() ([]byte, []int) { + return file_MaterialDeleteInfo_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *MaterialDeleteInfo_CountDownDelete) GetDeleteTimeNumMap() map[uint32]uint32 { + if x != nil { + return x.DeleteTimeNumMap + } + return nil +} + +func (x *MaterialDeleteInfo_CountDownDelete) GetConfigCountDownTime() uint32 { + if x != nil { + return x.ConfigCountDownTime + } + return 0 +} + +type MaterialDeleteInfo_DateTimeDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteTime uint32 `protobuf:"varint,1,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` +} + +func (x *MaterialDeleteInfo_DateTimeDelete) Reset() { + *x = MaterialDeleteInfo_DateTimeDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteInfo_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteInfo_DateTimeDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteInfo_DateTimeDelete) ProtoMessage() {} + +func (x *MaterialDeleteInfo_DateTimeDelete) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteInfo_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteInfo_DateTimeDelete.ProtoReflect.Descriptor instead. +func (*MaterialDeleteInfo_DateTimeDelete) Descriptor() ([]byte, []int) { + return file_MaterialDeleteInfo_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *MaterialDeleteInfo_DateTimeDelete) GetDeleteTime() uint32 { + if x != nil { + return x.DeleteTime + } + return 0 +} + +type MaterialDeleteInfo_DelayWeekCountDownDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteTimeNumMap map[uint32]uint32 `protobuf:"bytes,1,rep,name=delete_time_num_map,json=deleteTimeNumMap,proto3" json:"delete_time_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ConfigDelayWeek uint32 `protobuf:"varint,2,opt,name=config_delay_week,json=configDelayWeek,proto3" json:"config_delay_week,omitempty"` + ConfigCountDownTime uint32 `protobuf:"varint,3,opt,name=config_count_down_time,json=configCountDownTime,proto3" json:"config_count_down_time,omitempty"` +} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) Reset() { + *x = MaterialDeleteInfo_DelayWeekCountDownDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteInfo_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteInfo_DelayWeekCountDownDelete) ProtoMessage() {} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteInfo_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteInfo_DelayWeekCountDownDelete.ProtoReflect.Descriptor instead. +func (*MaterialDeleteInfo_DelayWeekCountDownDelete) Descriptor() ([]byte, []int) { + return file_MaterialDeleteInfo_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) GetDeleteTimeNumMap() map[uint32]uint32 { + if x != nil { + return x.DeleteTimeNumMap + } + return nil +} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) GetConfigDelayWeek() uint32 { + if x != nil { + return x.ConfigDelayWeek + } + return 0 +} + +func (x *MaterialDeleteInfo_DelayWeekCountDownDelete) GetConfigCountDownTime() uint32 { + if x != nil { + return x.ConfigCountDownTime + } + return 0 +} + +var File_MaterialDeleteInfo_proto protoreflect.FileDescriptor + +var file_MaterialDeleteInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x07, 0x0a, 0x12, 0x4d, + 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x61, + 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x51, 0x0a, + 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52, + 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x45, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x61, 0x74, + 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x6e, 0x0a, 0x1c, 0x64, 0x65, 0x6c, 0x61, 0x79, + 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, + 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x57, 0x65, 0x65, 0x6b, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52, 0x18, 0x64, + 0x65, 0x6c, 0x61, 0x79, 0x57, 0x65, 0x65, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, + 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0xf5, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x33, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x15, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x31, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x1a, 0xb3, 0x02, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x57, 0x65, 0x65, 0x6b, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, + 0x71, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, + 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x4d, + 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x57, 0x65, 0x65, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x75, 0x6d, 0x4d, + 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x65, 0x6c, + 0x61, 0x79, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x57, 0x65, 0x65, 0x6b, 0x12, 0x33, + 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MaterialDeleteInfo_proto_rawDescOnce sync.Once + file_MaterialDeleteInfo_proto_rawDescData = file_MaterialDeleteInfo_proto_rawDesc +) + +func file_MaterialDeleteInfo_proto_rawDescGZIP() []byte { + file_MaterialDeleteInfo_proto_rawDescOnce.Do(func() { + file_MaterialDeleteInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MaterialDeleteInfo_proto_rawDescData) + }) + return file_MaterialDeleteInfo_proto_rawDescData +} + +var file_MaterialDeleteInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_MaterialDeleteInfo_proto_goTypes = []interface{}{ + (*MaterialDeleteInfo)(nil), // 0: MaterialDeleteInfo + (*MaterialDeleteInfo_CountDownDelete)(nil), // 1: MaterialDeleteInfo.CountDownDelete + (*MaterialDeleteInfo_DateTimeDelete)(nil), // 2: MaterialDeleteInfo.DateTimeDelete + (*MaterialDeleteInfo_DelayWeekCountDownDelete)(nil), // 3: MaterialDeleteInfo.DelayWeekCountDownDelete + nil, // 4: MaterialDeleteInfo.CountDownDelete.DeleteTimeNumMapEntry + nil, // 5: MaterialDeleteInfo.DelayWeekCountDownDelete.DeleteTimeNumMapEntry +} +var file_MaterialDeleteInfo_proto_depIdxs = []int32{ + 1, // 0: MaterialDeleteInfo.count_down_delete:type_name -> MaterialDeleteInfo.CountDownDelete + 2, // 1: MaterialDeleteInfo.date_delete:type_name -> MaterialDeleteInfo.DateTimeDelete + 3, // 2: MaterialDeleteInfo.delay_week_count_down_delete:type_name -> MaterialDeleteInfo.DelayWeekCountDownDelete + 4, // 3: MaterialDeleteInfo.CountDownDelete.delete_time_num_map:type_name -> MaterialDeleteInfo.CountDownDelete.DeleteTimeNumMapEntry + 5, // 4: MaterialDeleteInfo.DelayWeekCountDownDelete.delete_time_num_map:type_name -> MaterialDeleteInfo.DelayWeekCountDownDelete.DeleteTimeNumMapEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_MaterialDeleteInfo_proto_init() } +func file_MaterialDeleteInfo_proto_init() { + if File_MaterialDeleteInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MaterialDeleteInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_MaterialDeleteInfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteInfo_CountDownDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_MaterialDeleteInfo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteInfo_DateTimeDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_MaterialDeleteInfo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteInfo_DelayWeekCountDownDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_MaterialDeleteInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MaterialDeleteInfo_CountDownDelete_)(nil), + (*MaterialDeleteInfo_DateDelete)(nil), + (*MaterialDeleteInfo_DelayWeekCountDownDelete_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MaterialDeleteInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MaterialDeleteInfo_proto_goTypes, + DependencyIndexes: file_MaterialDeleteInfo_proto_depIdxs, + MessageInfos: file_MaterialDeleteInfo_proto_msgTypes, + }.Build() + File_MaterialDeleteInfo_proto = out.File + file_MaterialDeleteInfo_proto_rawDesc = nil + file_MaterialDeleteInfo_proto_goTypes = nil + file_MaterialDeleteInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MaterialDeleteInfo.proto b/gate-hk4e-api/proto/MaterialDeleteInfo.proto new file mode 100644 index 00000000..6fa66046 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteInfo.proto @@ -0,0 +1,43 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MaterialDeleteInfo { + bool has_delete_config = 1; + oneof delete_info { + CountDownDelete count_down_delete = 2; + DateTimeDelete date_delete = 3; + DelayWeekCountDownDelete delay_week_count_down_delete = 4; + } + + message CountDownDelete { + map delete_time_num_map = 1; + uint32 config_count_down_time = 2; + } + + message DateTimeDelete { + uint32 delete_time = 1; + } + + message DelayWeekCountDownDelete { + map delete_time_num_map = 1; + uint32 config_delay_week = 2; + uint32 config_count_down_time = 3; + } +} diff --git a/gate-hk4e-api/proto/MaterialDeleteReturnNotify.pb.go b/gate-hk4e-api/proto/MaterialDeleteReturnNotify.pb.go new file mode 100644 index 00000000..74de8da8 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteReturnNotify.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MaterialDeleteReturnNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 661 +// EnetChannelId: 0 +// EnetIsReliable: true +type MaterialDeleteReturnNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReturnItemMap map[uint32]uint32 `protobuf:"bytes,5,rep,name=return_item_map,json=returnItemMap,proto3" json:"return_item_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Type MaterialDeleteReturnType `protobuf:"varint,8,opt,name=type,proto3,enum=MaterialDeleteReturnType" json:"type,omitempty"` + DeleteMaterialMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=delete_material_map,json=deleteMaterialMap,proto3" json:"delete_material_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *MaterialDeleteReturnNotify) Reset() { + *x = MaterialDeleteReturnNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteReturnNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteReturnNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteReturnNotify) ProtoMessage() {} + +func (x *MaterialDeleteReturnNotify) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteReturnNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteReturnNotify.ProtoReflect.Descriptor instead. +func (*MaterialDeleteReturnNotify) Descriptor() ([]byte, []int) { + return file_MaterialDeleteReturnNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MaterialDeleteReturnNotify) GetReturnItemMap() map[uint32]uint32 { + if x != nil { + return x.ReturnItemMap + } + return nil +} + +func (x *MaterialDeleteReturnNotify) GetType() MaterialDeleteReturnType { + if x != nil { + return x.Type + } + return MaterialDeleteReturnType_MATERIAL_DELETE_RETURN_TYPE_BAG +} + +func (x *MaterialDeleteReturnNotify) GetDeleteMaterialMap() map[uint32]uint32 { + if x != nil { + return x.DeleteMaterialMap + } + return nil +} + +var File_MaterialDeleteReturnNotify_proto protoreflect.FileDescriptor + +var file_MaterialDeleteReturnNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x8f, 0x03, 0x0a, 0x1a, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x56, 0x0a, 0x0f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x4d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, + 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x62, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x1a, 0x40, 0x0a, 0x12, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, + 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MaterialDeleteReturnNotify_proto_rawDescOnce sync.Once + file_MaterialDeleteReturnNotify_proto_rawDescData = file_MaterialDeleteReturnNotify_proto_rawDesc +) + +func file_MaterialDeleteReturnNotify_proto_rawDescGZIP() []byte { + file_MaterialDeleteReturnNotify_proto_rawDescOnce.Do(func() { + file_MaterialDeleteReturnNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MaterialDeleteReturnNotify_proto_rawDescData) + }) + return file_MaterialDeleteReturnNotify_proto_rawDescData +} + +var file_MaterialDeleteReturnNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_MaterialDeleteReturnNotify_proto_goTypes = []interface{}{ + (*MaterialDeleteReturnNotify)(nil), // 0: MaterialDeleteReturnNotify + nil, // 1: MaterialDeleteReturnNotify.ReturnItemMapEntry + nil, // 2: MaterialDeleteReturnNotify.DeleteMaterialMapEntry + (MaterialDeleteReturnType)(0), // 3: MaterialDeleteReturnType +} +var file_MaterialDeleteReturnNotify_proto_depIdxs = []int32{ + 1, // 0: MaterialDeleteReturnNotify.return_item_map:type_name -> MaterialDeleteReturnNotify.ReturnItemMapEntry + 3, // 1: MaterialDeleteReturnNotify.type:type_name -> MaterialDeleteReturnType + 2, // 2: MaterialDeleteReturnNotify.delete_material_map:type_name -> MaterialDeleteReturnNotify.DeleteMaterialMapEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MaterialDeleteReturnNotify_proto_init() } +func file_MaterialDeleteReturnNotify_proto_init() { + if File_MaterialDeleteReturnNotify_proto != nil { + return + } + file_MaterialDeleteReturnType_proto_init() + if !protoimpl.UnsafeEnabled { + file_MaterialDeleteReturnNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteReturnNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MaterialDeleteReturnNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MaterialDeleteReturnNotify_proto_goTypes, + DependencyIndexes: file_MaterialDeleteReturnNotify_proto_depIdxs, + MessageInfos: file_MaterialDeleteReturnNotify_proto_msgTypes, + }.Build() + File_MaterialDeleteReturnNotify_proto = out.File + file_MaterialDeleteReturnNotify_proto_rawDesc = nil + file_MaterialDeleteReturnNotify_proto_goTypes = nil + file_MaterialDeleteReturnNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MaterialDeleteReturnNotify.proto b/gate-hk4e-api/proto/MaterialDeleteReturnNotify.proto new file mode 100644 index 00000000..a6d67425 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteReturnNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MaterialDeleteReturnType.proto"; + +option go_package = "./;proto"; + +// CmdId: 661 +// EnetChannelId: 0 +// EnetIsReliable: true +message MaterialDeleteReturnNotify { + map return_item_map = 5; + MaterialDeleteReturnType type = 8; + map delete_material_map = 6; +} diff --git a/gate-hk4e-api/proto/MaterialDeleteReturnType.pb.go b/gate-hk4e-api/proto/MaterialDeleteReturnType.pb.go new file mode 100644 index 00000000..41d6ac9b --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteReturnType.pb.go @@ -0,0 +1,147 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MaterialDeleteReturnType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MaterialDeleteReturnType int32 + +const ( + MaterialDeleteReturnType_MATERIAL_DELETE_RETURN_TYPE_BAG MaterialDeleteReturnType = 0 + MaterialDeleteReturnType_MATERIAL_DELETE_RETURN_TYPE_SEED MaterialDeleteReturnType = 1 +) + +// Enum value maps for MaterialDeleteReturnType. +var ( + MaterialDeleteReturnType_name = map[int32]string{ + 0: "MATERIAL_DELETE_RETURN_TYPE_BAG", + 1: "MATERIAL_DELETE_RETURN_TYPE_SEED", + } + MaterialDeleteReturnType_value = map[string]int32{ + "MATERIAL_DELETE_RETURN_TYPE_BAG": 0, + "MATERIAL_DELETE_RETURN_TYPE_SEED": 1, + } +) + +func (x MaterialDeleteReturnType) Enum() *MaterialDeleteReturnType { + p := new(MaterialDeleteReturnType) + *p = x + return p +} + +func (x MaterialDeleteReturnType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MaterialDeleteReturnType) Descriptor() protoreflect.EnumDescriptor { + return file_MaterialDeleteReturnType_proto_enumTypes[0].Descriptor() +} + +func (MaterialDeleteReturnType) Type() protoreflect.EnumType { + return &file_MaterialDeleteReturnType_proto_enumTypes[0] +} + +func (x MaterialDeleteReturnType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MaterialDeleteReturnType.Descriptor instead. +func (MaterialDeleteReturnType) EnumDescriptor() ([]byte, []int) { + return file_MaterialDeleteReturnType_proto_rawDescGZIP(), []int{0} +} + +var File_MaterialDeleteReturnType_proto protoreflect.FileDescriptor + +var file_MaterialDeleteReturnType_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2a, 0x65, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, + 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x47, 0x10, + 0x00, 0x12, 0x24, 0x0a, 0x20, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x45, + 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x45, 0x45, 0x44, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MaterialDeleteReturnType_proto_rawDescOnce sync.Once + file_MaterialDeleteReturnType_proto_rawDescData = file_MaterialDeleteReturnType_proto_rawDesc +) + +func file_MaterialDeleteReturnType_proto_rawDescGZIP() []byte { + file_MaterialDeleteReturnType_proto_rawDescOnce.Do(func() { + file_MaterialDeleteReturnType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MaterialDeleteReturnType_proto_rawDescData) + }) + return file_MaterialDeleteReturnType_proto_rawDescData +} + +var file_MaterialDeleteReturnType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MaterialDeleteReturnType_proto_goTypes = []interface{}{ + (MaterialDeleteReturnType)(0), // 0: MaterialDeleteReturnType +} +var file_MaterialDeleteReturnType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MaterialDeleteReturnType_proto_init() } +func file_MaterialDeleteReturnType_proto_init() { + if File_MaterialDeleteReturnType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MaterialDeleteReturnType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MaterialDeleteReturnType_proto_goTypes, + DependencyIndexes: file_MaterialDeleteReturnType_proto_depIdxs, + EnumInfos: file_MaterialDeleteReturnType_proto_enumTypes, + }.Build() + File_MaterialDeleteReturnType_proto = out.File + file_MaterialDeleteReturnType_proto_rawDesc = nil + file_MaterialDeleteReturnType_proto_goTypes = nil + file_MaterialDeleteReturnType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MaterialDeleteReturnType.proto b/gate-hk4e-api/proto/MaterialDeleteReturnType.proto new file mode 100644 index 00000000..bc910466 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteReturnType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MaterialDeleteReturnType { + MATERIAL_DELETE_RETURN_TYPE_BAG = 0; + MATERIAL_DELETE_RETURN_TYPE_SEED = 1; +} diff --git a/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.pb.go b/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.pb.go new file mode 100644 index 00000000..a1b859b2 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MaterialDeleteUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 700 +// EnetChannelId: 0 +// EnetIsReliable: true +type MaterialDeleteUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MaterialDeleteUpdateNotify) Reset() { + *x = MaterialDeleteUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialDeleteUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialDeleteUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialDeleteUpdateNotify) ProtoMessage() {} + +func (x *MaterialDeleteUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_MaterialDeleteUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialDeleteUpdateNotify.ProtoReflect.Descriptor instead. +func (*MaterialDeleteUpdateNotify) Descriptor() ([]byte, []int) { + return file_MaterialDeleteUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +var File_MaterialDeleteUpdateNotify_proto protoreflect.FileDescriptor + +var file_MaterialDeleteUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MaterialDeleteUpdateNotify_proto_rawDescOnce sync.Once + file_MaterialDeleteUpdateNotify_proto_rawDescData = file_MaterialDeleteUpdateNotify_proto_rawDesc +) + +func file_MaterialDeleteUpdateNotify_proto_rawDescGZIP() []byte { + file_MaterialDeleteUpdateNotify_proto_rawDescOnce.Do(func() { + file_MaterialDeleteUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MaterialDeleteUpdateNotify_proto_rawDescData) + }) + return file_MaterialDeleteUpdateNotify_proto_rawDescData +} + +var file_MaterialDeleteUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MaterialDeleteUpdateNotify_proto_goTypes = []interface{}{ + (*MaterialDeleteUpdateNotify)(nil), // 0: MaterialDeleteUpdateNotify +} +var file_MaterialDeleteUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MaterialDeleteUpdateNotify_proto_init() } +func file_MaterialDeleteUpdateNotify_proto_init() { + if File_MaterialDeleteUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MaterialDeleteUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialDeleteUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MaterialDeleteUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MaterialDeleteUpdateNotify_proto_goTypes, + DependencyIndexes: file_MaterialDeleteUpdateNotify_proto_depIdxs, + MessageInfos: file_MaterialDeleteUpdateNotify_proto_msgTypes, + }.Build() + File_MaterialDeleteUpdateNotify_proto = out.File + file_MaterialDeleteUpdateNotify_proto_rawDesc = nil + file_MaterialDeleteUpdateNotify_proto_goTypes = nil + file_MaterialDeleteUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.proto b/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.proto new file mode 100644 index 00000000..79c7f98a --- /dev/null +++ b/gate-hk4e-api/proto/MaterialDeleteUpdateNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 700 +// EnetChannelId: 0 +// EnetIsReliable: true +message MaterialDeleteUpdateNotify {} diff --git a/gate-hk4e-api/proto/MaterialInfo.pb.go b/gate-hk4e-api/proto/MaterialInfo.pb.go new file mode 100644 index 00000000..cf8a3f79 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialInfo.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MaterialInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MaterialInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,11,opt,name=count,proto3" json:"count,omitempty"` + Guid uint64 `protobuf:"varint,5,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *MaterialInfo) Reset() { + *x = MaterialInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MaterialInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterialInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterialInfo) ProtoMessage() {} + +func (x *MaterialInfo) ProtoReflect() protoreflect.Message { + mi := &file_MaterialInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterialInfo.ProtoReflect.Descriptor instead. +func (*MaterialInfo) Descriptor() ([]byte, []int) { + return file_MaterialInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MaterialInfo) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *MaterialInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_MaterialInfo_proto protoreflect.FileDescriptor + +var file_MaterialInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MaterialInfo_proto_rawDescOnce sync.Once + file_MaterialInfo_proto_rawDescData = file_MaterialInfo_proto_rawDesc +) + +func file_MaterialInfo_proto_rawDescGZIP() []byte { + file_MaterialInfo_proto_rawDescOnce.Do(func() { + file_MaterialInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MaterialInfo_proto_rawDescData) + }) + return file_MaterialInfo_proto_rawDescData +} + +var file_MaterialInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MaterialInfo_proto_goTypes = []interface{}{ + (*MaterialInfo)(nil), // 0: MaterialInfo +} +var file_MaterialInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MaterialInfo_proto_init() } +func file_MaterialInfo_proto_init() { + if File_MaterialInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MaterialInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaterialInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MaterialInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MaterialInfo_proto_goTypes, + DependencyIndexes: file_MaterialInfo_proto_depIdxs, + MessageInfos: file_MaterialInfo_proto_msgTypes, + }.Build() + File_MaterialInfo_proto = out.File + file_MaterialInfo_proto_rawDesc = nil + file_MaterialInfo_proto_goTypes = nil + file_MaterialInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MaterialInfo.proto b/gate-hk4e-api/proto/MaterialInfo.proto new file mode 100644 index 00000000..512e0fb6 --- /dev/null +++ b/gate-hk4e-api/proto/MaterialInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MaterialInfo { + uint32 count = 11; + uint64 guid = 5; +} diff --git a/gate-hk4e-api/proto/MathQuaternion.pb.go b/gate-hk4e-api/proto/MathQuaternion.pb.go new file mode 100644 index 00000000..71845320 --- /dev/null +++ b/gate-hk4e-api/proto/MathQuaternion.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MathQuaternion.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MathQuaternion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` + Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` + Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` + W float32 `protobuf:"fixed32,4,opt,name=w,proto3" json:"w,omitempty"` +} + +func (x *MathQuaternion) Reset() { + *x = MathQuaternion{} + if protoimpl.UnsafeEnabled { + mi := &file_MathQuaternion_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MathQuaternion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MathQuaternion) ProtoMessage() {} + +func (x *MathQuaternion) ProtoReflect() protoreflect.Message { + mi := &file_MathQuaternion_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MathQuaternion.ProtoReflect.Descriptor instead. +func (*MathQuaternion) Descriptor() ([]byte, []int) { + return file_MathQuaternion_proto_rawDescGZIP(), []int{0} +} + +func (x *MathQuaternion) GetX() float32 { + if x != nil { + return x.X + } + return 0 +} + +func (x *MathQuaternion) GetY() float32 { + if x != nil { + return x.Y + } + return 0 +} + +func (x *MathQuaternion) GetZ() float32 { + if x != nil { + return x.Z + } + return 0 +} + +func (x *MathQuaternion) GetW() float32 { + if x != nil { + return x.W + } + return 0 +} + +var File_MathQuaternion_proto protoreflect.FileDescriptor + +var file_MathQuaternion_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, + 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x01, 0x7a, 0x12, 0x0c, 0x0a, 0x01, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x77, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MathQuaternion_proto_rawDescOnce sync.Once + file_MathQuaternion_proto_rawDescData = file_MathQuaternion_proto_rawDesc +) + +func file_MathQuaternion_proto_rawDescGZIP() []byte { + file_MathQuaternion_proto_rawDescOnce.Do(func() { + file_MathQuaternion_proto_rawDescData = protoimpl.X.CompressGZIP(file_MathQuaternion_proto_rawDescData) + }) + return file_MathQuaternion_proto_rawDescData +} + +var file_MathQuaternion_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MathQuaternion_proto_goTypes = []interface{}{ + (*MathQuaternion)(nil), // 0: MathQuaternion +} +var file_MathQuaternion_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MathQuaternion_proto_init() } +func file_MathQuaternion_proto_init() { + if File_MathQuaternion_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MathQuaternion_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MathQuaternion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MathQuaternion_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MathQuaternion_proto_goTypes, + DependencyIndexes: file_MathQuaternion_proto_depIdxs, + MessageInfos: file_MathQuaternion_proto_msgTypes, + }.Build() + File_MathQuaternion_proto = out.File + file_MathQuaternion_proto_rawDesc = nil + file_MathQuaternion_proto_goTypes = nil + file_MathQuaternion_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MathQuaternion.proto b/gate-hk4e-api/proto/MathQuaternion.proto new file mode 100644 index 00000000..43fe3a74 --- /dev/null +++ b/gate-hk4e-api/proto/MathQuaternion.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MathQuaternion { + float x = 1; + float y = 2; + float z = 3; + float w = 4; +} diff --git a/gate-hk4e-api/proto/McoinExchangeHcoinReq.pb.go b/gate-hk4e-api/proto/McoinExchangeHcoinReq.pb.go new file mode 100644 index 00000000..195121e8 --- /dev/null +++ b/gate-hk4e-api/proto/McoinExchangeHcoinReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: McoinExchangeHcoinReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 616 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type McoinExchangeHcoinReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hcoin uint32 `protobuf:"varint,5,opt,name=hcoin,proto3" json:"hcoin,omitempty"` + McoinCost uint32 `protobuf:"varint,1,opt,name=mcoin_cost,json=mcoinCost,proto3" json:"mcoin_cost,omitempty"` +} + +func (x *McoinExchangeHcoinReq) Reset() { + *x = McoinExchangeHcoinReq{} + if protoimpl.UnsafeEnabled { + mi := &file_McoinExchangeHcoinReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *McoinExchangeHcoinReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*McoinExchangeHcoinReq) ProtoMessage() {} + +func (x *McoinExchangeHcoinReq) ProtoReflect() protoreflect.Message { + mi := &file_McoinExchangeHcoinReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use McoinExchangeHcoinReq.ProtoReflect.Descriptor instead. +func (*McoinExchangeHcoinReq) Descriptor() ([]byte, []int) { + return file_McoinExchangeHcoinReq_proto_rawDescGZIP(), []int{0} +} + +func (x *McoinExchangeHcoinReq) GetHcoin() uint32 { + if x != nil { + return x.Hcoin + } + return 0 +} + +func (x *McoinExchangeHcoinReq) GetMcoinCost() uint32 { + if x != nil { + return x.McoinCost + } + return 0 +} + +var File_McoinExchangeHcoinReq_proto protoreflect.FileDescriptor + +var file_McoinExchangeHcoinReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, + 0x63, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, + 0x15, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x63, + 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_McoinExchangeHcoinReq_proto_rawDescOnce sync.Once + file_McoinExchangeHcoinReq_proto_rawDescData = file_McoinExchangeHcoinReq_proto_rawDesc +) + +func file_McoinExchangeHcoinReq_proto_rawDescGZIP() []byte { + file_McoinExchangeHcoinReq_proto_rawDescOnce.Do(func() { + file_McoinExchangeHcoinReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_McoinExchangeHcoinReq_proto_rawDescData) + }) + return file_McoinExchangeHcoinReq_proto_rawDescData +} + +var file_McoinExchangeHcoinReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_McoinExchangeHcoinReq_proto_goTypes = []interface{}{ + (*McoinExchangeHcoinReq)(nil), // 0: McoinExchangeHcoinReq +} +var file_McoinExchangeHcoinReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_McoinExchangeHcoinReq_proto_init() } +func file_McoinExchangeHcoinReq_proto_init() { + if File_McoinExchangeHcoinReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_McoinExchangeHcoinReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*McoinExchangeHcoinReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_McoinExchangeHcoinReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_McoinExchangeHcoinReq_proto_goTypes, + DependencyIndexes: file_McoinExchangeHcoinReq_proto_depIdxs, + MessageInfos: file_McoinExchangeHcoinReq_proto_msgTypes, + }.Build() + File_McoinExchangeHcoinReq_proto = out.File + file_McoinExchangeHcoinReq_proto_rawDesc = nil + file_McoinExchangeHcoinReq_proto_goTypes = nil + file_McoinExchangeHcoinReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/McoinExchangeHcoinReq.proto b/gate-hk4e-api/proto/McoinExchangeHcoinReq.proto new file mode 100644 index 00000000..bc4acacc --- /dev/null +++ b/gate-hk4e-api/proto/McoinExchangeHcoinReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 616 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message McoinExchangeHcoinReq { + uint32 hcoin = 5; + uint32 mcoin_cost = 1; +} diff --git a/gate-hk4e-api/proto/McoinExchangeHcoinRsp.pb.go b/gate-hk4e-api/proto/McoinExchangeHcoinRsp.pb.go new file mode 100644 index 00000000..c5ab07fa --- /dev/null +++ b/gate-hk4e-api/proto/McoinExchangeHcoinRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: McoinExchangeHcoinRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 687 +// EnetChannelId: 0 +// EnetIsReliable: true +type McoinExchangeHcoinRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + McoinCost uint32 `protobuf:"varint,8,opt,name=mcoin_cost,json=mcoinCost,proto3" json:"mcoin_cost,omitempty"` + Hcoin uint32 `protobuf:"varint,7,opt,name=hcoin,proto3" json:"hcoin,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *McoinExchangeHcoinRsp) Reset() { + *x = McoinExchangeHcoinRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_McoinExchangeHcoinRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *McoinExchangeHcoinRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*McoinExchangeHcoinRsp) ProtoMessage() {} + +func (x *McoinExchangeHcoinRsp) ProtoReflect() protoreflect.Message { + mi := &file_McoinExchangeHcoinRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use McoinExchangeHcoinRsp.ProtoReflect.Descriptor instead. +func (*McoinExchangeHcoinRsp) Descriptor() ([]byte, []int) { + return file_McoinExchangeHcoinRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *McoinExchangeHcoinRsp) GetMcoinCost() uint32 { + if x != nil { + return x.McoinCost + } + return 0 +} + +func (x *McoinExchangeHcoinRsp) GetHcoin() uint32 { + if x != nil { + return x.Hcoin + } + return 0 +} + +func (x *McoinExchangeHcoinRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_McoinExchangeHcoinRsp_proto protoreflect.FileDescriptor + +var file_McoinExchangeHcoinRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, + 0x63, 0x6f, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, + 0x15, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x63, + 0x6f, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x5f, + 0x63, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x63, 0x6f, 0x69, + 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_McoinExchangeHcoinRsp_proto_rawDescOnce sync.Once + file_McoinExchangeHcoinRsp_proto_rawDescData = file_McoinExchangeHcoinRsp_proto_rawDesc +) + +func file_McoinExchangeHcoinRsp_proto_rawDescGZIP() []byte { + file_McoinExchangeHcoinRsp_proto_rawDescOnce.Do(func() { + file_McoinExchangeHcoinRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_McoinExchangeHcoinRsp_proto_rawDescData) + }) + return file_McoinExchangeHcoinRsp_proto_rawDescData +} + +var file_McoinExchangeHcoinRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_McoinExchangeHcoinRsp_proto_goTypes = []interface{}{ + (*McoinExchangeHcoinRsp)(nil), // 0: McoinExchangeHcoinRsp +} +var file_McoinExchangeHcoinRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_McoinExchangeHcoinRsp_proto_init() } +func file_McoinExchangeHcoinRsp_proto_init() { + if File_McoinExchangeHcoinRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_McoinExchangeHcoinRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*McoinExchangeHcoinRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_McoinExchangeHcoinRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_McoinExchangeHcoinRsp_proto_goTypes, + DependencyIndexes: file_McoinExchangeHcoinRsp_proto_depIdxs, + MessageInfos: file_McoinExchangeHcoinRsp_proto_msgTypes, + }.Build() + File_McoinExchangeHcoinRsp_proto = out.File + file_McoinExchangeHcoinRsp_proto_rawDesc = nil + file_McoinExchangeHcoinRsp_proto_goTypes = nil + file_McoinExchangeHcoinRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/McoinExchangeHcoinRsp.proto b/gate-hk4e-api/proto/McoinExchangeHcoinRsp.proto new file mode 100644 index 00000000..b2b71056 --- /dev/null +++ b/gate-hk4e-api/proto/McoinExchangeHcoinRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 687 +// EnetChannelId: 0 +// EnetIsReliable: true +message McoinExchangeHcoinRsp { + uint32 mcoin_cost = 8; + uint32 hcoin = 7; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.pb.go b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.pb.go new file mode 100644 index 00000000..c049e403 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusCandidateTeamCreateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3981 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MechanicusCandidateTeamCreateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultLevel uint32 `protobuf:"varint,6,opt,name=difficult_level,json=difficultLevel,proto3" json:"difficult_level,omitempty"` +} + +func (x *MechanicusCandidateTeamCreateReq) Reset() { + *x = MechanicusCandidateTeamCreateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusCandidateTeamCreateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusCandidateTeamCreateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusCandidateTeamCreateReq) ProtoMessage() {} + +func (x *MechanicusCandidateTeamCreateReq) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusCandidateTeamCreateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusCandidateTeamCreateReq.ProtoReflect.Descriptor instead. +func (*MechanicusCandidateTeamCreateReq) Descriptor() ([]byte, []int) { + return file_MechanicusCandidateTeamCreateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusCandidateTeamCreateReq) GetDifficultLevel() uint32 { + if x != nil { + return x.DifficultLevel + } + return 0 +} + +var File_MechanicusCandidateTeamCreateReq_proto protoreflect.FileDescriptor + +var file_MechanicusCandidateTeamCreateReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x6e, 0x64, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x20, 0x4d, 0x65, 0x63, 0x68, + 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x27, 0x0a, 0x0f, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusCandidateTeamCreateReq_proto_rawDescOnce sync.Once + file_MechanicusCandidateTeamCreateReq_proto_rawDescData = file_MechanicusCandidateTeamCreateReq_proto_rawDesc +) + +func file_MechanicusCandidateTeamCreateReq_proto_rawDescGZIP() []byte { + file_MechanicusCandidateTeamCreateReq_proto_rawDescOnce.Do(func() { + file_MechanicusCandidateTeamCreateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusCandidateTeamCreateReq_proto_rawDescData) + }) + return file_MechanicusCandidateTeamCreateReq_proto_rawDescData +} + +var file_MechanicusCandidateTeamCreateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusCandidateTeamCreateReq_proto_goTypes = []interface{}{ + (*MechanicusCandidateTeamCreateReq)(nil), // 0: MechanicusCandidateTeamCreateReq +} +var file_MechanicusCandidateTeamCreateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusCandidateTeamCreateReq_proto_init() } +func file_MechanicusCandidateTeamCreateReq_proto_init() { + if File_MechanicusCandidateTeamCreateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusCandidateTeamCreateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusCandidateTeamCreateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusCandidateTeamCreateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusCandidateTeamCreateReq_proto_goTypes, + DependencyIndexes: file_MechanicusCandidateTeamCreateReq_proto_depIdxs, + MessageInfos: file_MechanicusCandidateTeamCreateReq_proto_msgTypes, + }.Build() + File_MechanicusCandidateTeamCreateReq_proto = out.File + file_MechanicusCandidateTeamCreateReq_proto_rawDesc = nil + file_MechanicusCandidateTeamCreateReq_proto_goTypes = nil + file_MechanicusCandidateTeamCreateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.proto b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.proto new file mode 100644 index 00000000..75639118 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3981 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MechanicusCandidateTeamCreateReq { + uint32 difficult_level = 6; +} diff --git a/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.pb.go b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.pb.go new file mode 100644 index 00000000..7d8c8dd3 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusCandidateTeamCreateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3905 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusCandidateTeamCreateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,1,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + DifficultLevel uint32 `protobuf:"varint,10,opt,name=difficult_level,json=difficultLevel,proto3" json:"difficult_level,omitempty"` +} + +func (x *MechanicusCandidateTeamCreateRsp) Reset() { + *x = MechanicusCandidateTeamCreateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusCandidateTeamCreateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusCandidateTeamCreateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusCandidateTeamCreateRsp) ProtoMessage() {} + +func (x *MechanicusCandidateTeamCreateRsp) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusCandidateTeamCreateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusCandidateTeamCreateRsp.ProtoReflect.Descriptor instead. +func (*MechanicusCandidateTeamCreateRsp) Descriptor() ([]byte, []int) { + return file_MechanicusCandidateTeamCreateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusCandidateTeamCreateRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *MechanicusCandidateTeamCreateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MechanicusCandidateTeamCreateRsp) GetDifficultLevel() uint32 { + if x != nil { + return x.DifficultLevel + } + return 0 +} + +var File_MechanicusCandidateTeamCreateRsp_proto protoreflect.FileDescriptor + +var file_MechanicusCandidateTeamCreateRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x6e, 0x64, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x20, 0x4d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x65, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, + 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusCandidateTeamCreateRsp_proto_rawDescOnce sync.Once + file_MechanicusCandidateTeamCreateRsp_proto_rawDescData = file_MechanicusCandidateTeamCreateRsp_proto_rawDesc +) + +func file_MechanicusCandidateTeamCreateRsp_proto_rawDescGZIP() []byte { + file_MechanicusCandidateTeamCreateRsp_proto_rawDescOnce.Do(func() { + file_MechanicusCandidateTeamCreateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusCandidateTeamCreateRsp_proto_rawDescData) + }) + return file_MechanicusCandidateTeamCreateRsp_proto_rawDescData +} + +var file_MechanicusCandidateTeamCreateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusCandidateTeamCreateRsp_proto_goTypes = []interface{}{ + (*MechanicusCandidateTeamCreateRsp)(nil), // 0: MechanicusCandidateTeamCreateRsp +} +var file_MechanicusCandidateTeamCreateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusCandidateTeamCreateRsp_proto_init() } +func file_MechanicusCandidateTeamCreateRsp_proto_init() { + if File_MechanicusCandidateTeamCreateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusCandidateTeamCreateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusCandidateTeamCreateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusCandidateTeamCreateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusCandidateTeamCreateRsp_proto_goTypes, + DependencyIndexes: file_MechanicusCandidateTeamCreateRsp_proto_depIdxs, + MessageInfos: file_MechanicusCandidateTeamCreateRsp_proto_msgTypes, + }.Build() + File_MechanicusCandidateTeamCreateRsp_proto = out.File + file_MechanicusCandidateTeamCreateRsp_proto_rawDesc = nil + file_MechanicusCandidateTeamCreateRsp_proto_goTypes = nil + file_MechanicusCandidateTeamCreateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.proto b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.proto new file mode 100644 index 00000000..68495b7b --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCandidateTeamCreateRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3905 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusCandidateTeamCreateRsp { + uint32 dungeon_id = 1; + int32 retcode = 7; + uint32 difficult_level = 10; +} diff --git a/gate-hk4e-api/proto/MechanicusCloseNotify.pb.go b/gate-hk4e-api/proto/MechanicusCloseNotify.pb.go new file mode 100644 index 00000000..51416959 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCloseNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusCloseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3921 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusCloseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusId uint32 `protobuf:"varint,6,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` +} + +func (x *MechanicusCloseNotify) Reset() { + *x = MechanicusCloseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusCloseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusCloseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusCloseNotify) ProtoMessage() {} + +func (x *MechanicusCloseNotify) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusCloseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusCloseNotify.ProtoReflect.Descriptor instead. +func (*MechanicusCloseNotify) Descriptor() ([]byte, []int) { + return file_MechanicusCloseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusCloseNotify) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +var File_MechanicusCloseNotify_proto protoreflect.FileDescriptor + +var file_MechanicusCloseNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x6c, 0x6f, 0x73, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, + 0x15, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusCloseNotify_proto_rawDescOnce sync.Once + file_MechanicusCloseNotify_proto_rawDescData = file_MechanicusCloseNotify_proto_rawDesc +) + +func file_MechanicusCloseNotify_proto_rawDescGZIP() []byte { + file_MechanicusCloseNotify_proto_rawDescOnce.Do(func() { + file_MechanicusCloseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusCloseNotify_proto_rawDescData) + }) + return file_MechanicusCloseNotify_proto_rawDescData +} + +var file_MechanicusCloseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusCloseNotify_proto_goTypes = []interface{}{ + (*MechanicusCloseNotify)(nil), // 0: MechanicusCloseNotify +} +var file_MechanicusCloseNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusCloseNotify_proto_init() } +func file_MechanicusCloseNotify_proto_init() { + if File_MechanicusCloseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusCloseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusCloseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusCloseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusCloseNotify_proto_goTypes, + DependencyIndexes: file_MechanicusCloseNotify_proto_depIdxs, + MessageInfos: file_MechanicusCloseNotify_proto_msgTypes, + }.Build() + File_MechanicusCloseNotify_proto = out.File + file_MechanicusCloseNotify_proto_rawDesc = nil + file_MechanicusCloseNotify_proto_goTypes = nil + file_MechanicusCloseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusCloseNotify.proto b/gate-hk4e-api/proto/MechanicusCloseNotify.proto new file mode 100644 index 00000000..d4fb2e91 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCloseNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3921 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusCloseNotify { + uint32 mechanicus_id = 6; +} diff --git a/gate-hk4e-api/proto/MechanicusCoinNotify.pb.go b/gate-hk4e-api/proto/MechanicusCoinNotify.pb.go new file mode 100644 index 00000000..3c3f6b0d --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCoinNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusCoinNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3935 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusCoinNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusId uint32 `protobuf:"varint,7,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + Coin uint32 `protobuf:"varint,4,opt,name=coin,proto3" json:"coin,omitempty"` +} + +func (x *MechanicusCoinNotify) Reset() { + *x = MechanicusCoinNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusCoinNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusCoinNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusCoinNotify) ProtoMessage() {} + +func (x *MechanicusCoinNotify) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusCoinNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusCoinNotify.ProtoReflect.Descriptor instead. +func (*MechanicusCoinNotify) Descriptor() ([]byte, []int) { + return file_MechanicusCoinNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusCoinNotify) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusCoinNotify) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +var File_MechanicusCoinNotify_proto protoreflect.FileDescriptor + +var file_MechanicusCoinNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, 0x69, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x14, + 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MechanicusCoinNotify_proto_rawDescOnce sync.Once + file_MechanicusCoinNotify_proto_rawDescData = file_MechanicusCoinNotify_proto_rawDesc +) + +func file_MechanicusCoinNotify_proto_rawDescGZIP() []byte { + file_MechanicusCoinNotify_proto_rawDescOnce.Do(func() { + file_MechanicusCoinNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusCoinNotify_proto_rawDescData) + }) + return file_MechanicusCoinNotify_proto_rawDescData +} + +var file_MechanicusCoinNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusCoinNotify_proto_goTypes = []interface{}{ + (*MechanicusCoinNotify)(nil), // 0: MechanicusCoinNotify +} +var file_MechanicusCoinNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusCoinNotify_proto_init() } +func file_MechanicusCoinNotify_proto_init() { + if File_MechanicusCoinNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusCoinNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusCoinNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusCoinNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusCoinNotify_proto_goTypes, + DependencyIndexes: file_MechanicusCoinNotify_proto_depIdxs, + MessageInfos: file_MechanicusCoinNotify_proto_msgTypes, + }.Build() + File_MechanicusCoinNotify_proto = out.File + file_MechanicusCoinNotify_proto_rawDesc = nil + file_MechanicusCoinNotify_proto_goTypes = nil + file_MechanicusCoinNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusCoinNotify.proto b/gate-hk4e-api/proto/MechanicusCoinNotify.proto new file mode 100644 index 00000000..c491be2b --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusCoinNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3935 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusCoinNotify { + uint32 mechanicus_id = 7; + uint32 coin = 4; +} diff --git a/gate-hk4e-api/proto/MechanicusInfo.pb.go b/gate-hk4e-api/proto/MechanicusInfo.pb.go new file mode 100644 index 00000000..dacb87ce --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusInfo.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MechanicusInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GearLevelPairList []*Uint32Pair `protobuf:"bytes,14,rep,name=gear_level_pair_list,json=gearLevelPairList,proto3" json:"gear_level_pair_list,omitempty"` + OpenSequenceIdList []uint32 `protobuf:"varint,7,rep,packed,name=open_sequence_id_list,json=openSequenceIdList,proto3" json:"open_sequence_id_list,omitempty"` + Coin uint32 `protobuf:"varint,8,opt,name=coin,proto3" json:"coin,omitempty"` + PunishOverTime uint32 `protobuf:"varint,12,opt,name=punish_over_time,json=punishOverTime,proto3" json:"punish_over_time,omitempty"` + MechanicusId uint32 `protobuf:"varint,10,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + FinishDifficultLevelList []uint32 `protobuf:"varint,13,rep,packed,name=finish_difficult_level_list,json=finishDifficultLevelList,proto3" json:"finish_difficult_level_list,omitempty"` + IsFinishTeachDungeon bool `protobuf:"varint,4,opt,name=is_finish_teach_dungeon,json=isFinishTeachDungeon,proto3" json:"is_finish_teach_dungeon,omitempty"` +} + +func (x *MechanicusInfo) Reset() { + *x = MechanicusInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusInfo) ProtoMessage() {} + +func (x *MechanicusInfo) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusInfo.ProtoReflect.Descriptor instead. +func (*MechanicusInfo) Descriptor() ([]byte, []int) { + return file_MechanicusInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusInfo) GetGearLevelPairList() []*Uint32Pair { + if x != nil { + return x.GearLevelPairList + } + return nil +} + +func (x *MechanicusInfo) GetOpenSequenceIdList() []uint32 { + if x != nil { + return x.OpenSequenceIdList + } + return nil +} + +func (x *MechanicusInfo) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *MechanicusInfo) GetPunishOverTime() uint32 { + if x != nil { + return x.PunishOverTime + } + return 0 +} + +func (x *MechanicusInfo) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusInfo) GetFinishDifficultLevelList() []uint32 { + if x != nil { + return x.FinishDifficultLevelList + } + return nil +} + +func (x *MechanicusInfo) GetIsFinishTeachDungeon() bool { + if x != nil { + return x.IsFinishTeachDungeon + } + return false +} + +var File_MechanicusInfo_proto protoreflect.FileDescriptor + +var file_MechanicusInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, + 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x02, 0x0a, 0x0e, 0x4d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x14, 0x67, + 0x65, 0x61, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, 0x6e, 0x74, + 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, 0x11, 0x67, 0x65, 0x61, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x6f, 0x70, 0x65, + 0x6e, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x6f, 0x70, 0x65, 0x6e, 0x53, 0x65, + 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, + 0x12, 0x28, 0x0a, 0x10, 0x70, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x75, 0x6e, 0x69, + 0x73, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, + 0x3d, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x18, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x44, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, + 0x0a, 0x17, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x65, 0x61, 0x63, + 0x68, 0x5f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x14, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x65, 0x61, 0x63, 0x68, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusInfo_proto_rawDescOnce sync.Once + file_MechanicusInfo_proto_rawDescData = file_MechanicusInfo_proto_rawDesc +) + +func file_MechanicusInfo_proto_rawDescGZIP() []byte { + file_MechanicusInfo_proto_rawDescOnce.Do(func() { + file_MechanicusInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusInfo_proto_rawDescData) + }) + return file_MechanicusInfo_proto_rawDescData +} + +var file_MechanicusInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusInfo_proto_goTypes = []interface{}{ + (*MechanicusInfo)(nil), // 0: MechanicusInfo + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_MechanicusInfo_proto_depIdxs = []int32{ + 1, // 0: MechanicusInfo.gear_level_pair_list:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MechanicusInfo_proto_init() } +func file_MechanicusInfo_proto_init() { + if File_MechanicusInfo_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_MechanicusInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusInfo_proto_goTypes, + DependencyIndexes: file_MechanicusInfo_proto_depIdxs, + MessageInfos: file_MechanicusInfo_proto_msgTypes, + }.Build() + File_MechanicusInfo_proto = out.File + file_MechanicusInfo_proto_rawDesc = nil + file_MechanicusInfo_proto_goTypes = nil + file_MechanicusInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusInfo.proto b/gate-hk4e-api/proto/MechanicusInfo.proto new file mode 100644 index 00000000..9fc5eb45 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +message MechanicusInfo { + repeated Uint32Pair gear_level_pair_list = 14; + repeated uint32 open_sequence_id_list = 7; + uint32 coin = 8; + uint32 punish_over_time = 12; + uint32 mechanicus_id = 10; + repeated uint32 finish_difficult_level_list = 13; + bool is_finish_teach_dungeon = 4; +} diff --git a/gate-hk4e-api/proto/MechanicusLevelupGearReq.pb.go b/gate-hk4e-api/proto/MechanicusLevelupGearReq.pb.go new file mode 100644 index 00000000..0a65ffb4 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusLevelupGearReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusLevelupGearReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3973 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MechanicusLevelupGearReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GearId uint32 `protobuf:"varint,14,opt,name=gear_id,json=gearId,proto3" json:"gear_id,omitempty"` + MechanicusId uint32 `protobuf:"varint,12,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` +} + +func (x *MechanicusLevelupGearReq) Reset() { + *x = MechanicusLevelupGearReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusLevelupGearReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusLevelupGearReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusLevelupGearReq) ProtoMessage() {} + +func (x *MechanicusLevelupGearReq) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusLevelupGearReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusLevelupGearReq.ProtoReflect.Descriptor instead. +func (*MechanicusLevelupGearReq) Descriptor() ([]byte, []int) { + return file_MechanicusLevelupGearReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusLevelupGearReq) GetGearId() uint32 { + if x != nil { + return x.GearId + } + return 0 +} + +func (x *MechanicusLevelupGearReq) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +var File_MechanicusLevelupGearReq_proto protoreflect.FileDescriptor + +var file_MechanicusLevelupGearReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x75, 0x70, 0x47, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x58, 0x0a, 0x18, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x75, 0x70, 0x47, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x67, 0x65, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x67, + 0x65, 0x61, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, + 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusLevelupGearReq_proto_rawDescOnce sync.Once + file_MechanicusLevelupGearReq_proto_rawDescData = file_MechanicusLevelupGearReq_proto_rawDesc +) + +func file_MechanicusLevelupGearReq_proto_rawDescGZIP() []byte { + file_MechanicusLevelupGearReq_proto_rawDescOnce.Do(func() { + file_MechanicusLevelupGearReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusLevelupGearReq_proto_rawDescData) + }) + return file_MechanicusLevelupGearReq_proto_rawDescData +} + +var file_MechanicusLevelupGearReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusLevelupGearReq_proto_goTypes = []interface{}{ + (*MechanicusLevelupGearReq)(nil), // 0: MechanicusLevelupGearReq +} +var file_MechanicusLevelupGearReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusLevelupGearReq_proto_init() } +func file_MechanicusLevelupGearReq_proto_init() { + if File_MechanicusLevelupGearReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusLevelupGearReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusLevelupGearReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusLevelupGearReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusLevelupGearReq_proto_goTypes, + DependencyIndexes: file_MechanicusLevelupGearReq_proto_depIdxs, + MessageInfos: file_MechanicusLevelupGearReq_proto_msgTypes, + }.Build() + File_MechanicusLevelupGearReq_proto = out.File + file_MechanicusLevelupGearReq_proto_rawDesc = nil + file_MechanicusLevelupGearReq_proto_goTypes = nil + file_MechanicusLevelupGearReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusLevelupGearReq.proto b/gate-hk4e-api/proto/MechanicusLevelupGearReq.proto new file mode 100644 index 00000000..922943c7 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusLevelupGearReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3973 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MechanicusLevelupGearReq { + uint32 gear_id = 14; + uint32 mechanicus_id = 12; +} diff --git a/gate-hk4e-api/proto/MechanicusLevelupGearRsp.pb.go b/gate-hk4e-api/proto/MechanicusLevelupGearRsp.pb.go new file mode 100644 index 00000000..f0419cde --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusLevelupGearRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusLevelupGearRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3999 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusLevelupGearRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GearId uint32 `protobuf:"varint,7,opt,name=gear_id,json=gearId,proto3" json:"gear_id,omitempty"` + MechanicusId uint32 `protobuf:"varint,2,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + AfterGearLevel uint32 `protobuf:"varint,12,opt,name=after_gear_level,json=afterGearLevel,proto3" json:"after_gear_level,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MechanicusLevelupGearRsp) Reset() { + *x = MechanicusLevelupGearRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusLevelupGearRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusLevelupGearRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusLevelupGearRsp) ProtoMessage() {} + +func (x *MechanicusLevelupGearRsp) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusLevelupGearRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusLevelupGearRsp.ProtoReflect.Descriptor instead. +func (*MechanicusLevelupGearRsp) Descriptor() ([]byte, []int) { + return file_MechanicusLevelupGearRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusLevelupGearRsp) GetGearId() uint32 { + if x != nil { + return x.GearId + } + return 0 +} + +func (x *MechanicusLevelupGearRsp) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusLevelupGearRsp) GetAfterGearLevel() uint32 { + if x != nil { + return x.AfterGearLevel + } + return 0 +} + +func (x *MechanicusLevelupGearRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MechanicusLevelupGearRsp_proto protoreflect.FileDescriptor + +var file_MechanicusLevelupGearRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x75, 0x70, 0x47, 0x65, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x47, 0x65, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, + 0x07, 0x67, 0x65, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x67, 0x65, 0x61, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x5f, 0x67, 0x65, 0x61, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x66, 0x74, 0x65, 0x72, 0x47, 0x65, 0x61, 0x72, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusLevelupGearRsp_proto_rawDescOnce sync.Once + file_MechanicusLevelupGearRsp_proto_rawDescData = file_MechanicusLevelupGearRsp_proto_rawDesc +) + +func file_MechanicusLevelupGearRsp_proto_rawDescGZIP() []byte { + file_MechanicusLevelupGearRsp_proto_rawDescOnce.Do(func() { + file_MechanicusLevelupGearRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusLevelupGearRsp_proto_rawDescData) + }) + return file_MechanicusLevelupGearRsp_proto_rawDescData +} + +var file_MechanicusLevelupGearRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusLevelupGearRsp_proto_goTypes = []interface{}{ + (*MechanicusLevelupGearRsp)(nil), // 0: MechanicusLevelupGearRsp +} +var file_MechanicusLevelupGearRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusLevelupGearRsp_proto_init() } +func file_MechanicusLevelupGearRsp_proto_init() { + if File_MechanicusLevelupGearRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusLevelupGearRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusLevelupGearRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusLevelupGearRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusLevelupGearRsp_proto_goTypes, + DependencyIndexes: file_MechanicusLevelupGearRsp_proto_depIdxs, + MessageInfos: file_MechanicusLevelupGearRsp_proto_msgTypes, + }.Build() + File_MechanicusLevelupGearRsp_proto = out.File + file_MechanicusLevelupGearRsp_proto_rawDesc = nil + file_MechanicusLevelupGearRsp_proto_goTypes = nil + file_MechanicusLevelupGearRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusLevelupGearRsp.proto b/gate-hk4e-api/proto/MechanicusLevelupGearRsp.proto new file mode 100644 index 00000000..c274a511 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusLevelupGearRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3999 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusLevelupGearRsp { + uint32 gear_id = 7; + uint32 mechanicus_id = 2; + uint32 after_gear_level = 12; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/MechanicusOpenNotify.pb.go b/gate-hk4e-api/proto/MechanicusOpenNotify.pb.go new file mode 100644 index 00000000..5db514a5 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusOpenNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusOpenNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3907 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusOpenNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusId uint32 `protobuf:"varint,2,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` +} + +func (x *MechanicusOpenNotify) Reset() { + *x = MechanicusOpenNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusOpenNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusOpenNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusOpenNotify) ProtoMessage() {} + +func (x *MechanicusOpenNotify) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusOpenNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusOpenNotify.ProtoReflect.Descriptor instead. +func (*MechanicusOpenNotify) Descriptor() ([]byte, []int) { + return file_MechanicusOpenNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusOpenNotify) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +var File_MechanicusOpenNotify_proto protoreflect.FileDescriptor + +var file_MechanicusOpenNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4f, 0x70, 0x65, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x14, + 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusOpenNotify_proto_rawDescOnce sync.Once + file_MechanicusOpenNotify_proto_rawDescData = file_MechanicusOpenNotify_proto_rawDesc +) + +func file_MechanicusOpenNotify_proto_rawDescGZIP() []byte { + file_MechanicusOpenNotify_proto_rawDescOnce.Do(func() { + file_MechanicusOpenNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusOpenNotify_proto_rawDescData) + }) + return file_MechanicusOpenNotify_proto_rawDescData +} + +var file_MechanicusOpenNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusOpenNotify_proto_goTypes = []interface{}{ + (*MechanicusOpenNotify)(nil), // 0: MechanicusOpenNotify +} +var file_MechanicusOpenNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusOpenNotify_proto_init() } +func file_MechanicusOpenNotify_proto_init() { + if File_MechanicusOpenNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusOpenNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusOpenNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusOpenNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusOpenNotify_proto_goTypes, + DependencyIndexes: file_MechanicusOpenNotify_proto_depIdxs, + MessageInfos: file_MechanicusOpenNotify_proto_msgTypes, + }.Build() + File_MechanicusOpenNotify_proto = out.File + file_MechanicusOpenNotify_proto_rawDesc = nil + file_MechanicusOpenNotify_proto_goTypes = nil + file_MechanicusOpenNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusOpenNotify.proto b/gate-hk4e-api/proto/MechanicusOpenNotify.proto new file mode 100644 index 00000000..e2b85aa2 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusOpenNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3907 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusOpenNotify { + uint32 mechanicus_id = 2; +} diff --git a/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.pb.go b/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.pb.go new file mode 100644 index 00000000..32325692 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusSequenceOpenNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3912 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusSequenceOpenNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusId uint32 `protobuf:"varint,8,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + SequenceId uint32 `protobuf:"varint,7,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"` +} + +func (x *MechanicusSequenceOpenNotify) Reset() { + *x = MechanicusSequenceOpenNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusSequenceOpenNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusSequenceOpenNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusSequenceOpenNotify) ProtoMessage() {} + +func (x *MechanicusSequenceOpenNotify) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusSequenceOpenNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusSequenceOpenNotify.ProtoReflect.Descriptor instead. +func (*MechanicusSequenceOpenNotify) Descriptor() ([]byte, []int) { + return file_MechanicusSequenceOpenNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusSequenceOpenNotify) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusSequenceOpenNotify) GetSequenceId() uint32 { + if x != nil { + return x.SequenceId + } + return 0 +} + +var File_MechanicusSequenceOpenNotify_proto protoreflect.FileDescriptor + +var file_MechanicusSequenceOpenNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, 0x71, 0x75, + 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1c, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x71, + 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusSequenceOpenNotify_proto_rawDescOnce sync.Once + file_MechanicusSequenceOpenNotify_proto_rawDescData = file_MechanicusSequenceOpenNotify_proto_rawDesc +) + +func file_MechanicusSequenceOpenNotify_proto_rawDescGZIP() []byte { + file_MechanicusSequenceOpenNotify_proto_rawDescOnce.Do(func() { + file_MechanicusSequenceOpenNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusSequenceOpenNotify_proto_rawDescData) + }) + return file_MechanicusSequenceOpenNotify_proto_rawDescData +} + +var file_MechanicusSequenceOpenNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusSequenceOpenNotify_proto_goTypes = []interface{}{ + (*MechanicusSequenceOpenNotify)(nil), // 0: MechanicusSequenceOpenNotify +} +var file_MechanicusSequenceOpenNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusSequenceOpenNotify_proto_init() } +func file_MechanicusSequenceOpenNotify_proto_init() { + if File_MechanicusSequenceOpenNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusSequenceOpenNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusSequenceOpenNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusSequenceOpenNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusSequenceOpenNotify_proto_goTypes, + DependencyIndexes: file_MechanicusSequenceOpenNotify_proto_depIdxs, + MessageInfos: file_MechanicusSequenceOpenNotify_proto_msgTypes, + }.Build() + File_MechanicusSequenceOpenNotify_proto = out.File + file_MechanicusSequenceOpenNotify_proto_rawDesc = nil + file_MechanicusSequenceOpenNotify_proto_goTypes = nil + file_MechanicusSequenceOpenNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.proto b/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.proto new file mode 100644 index 00000000..d57bb8f3 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusSequenceOpenNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3912 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusSequenceOpenNotify { + uint32 mechanicus_id = 8; + uint32 sequence_id = 7; +} diff --git a/gate-hk4e-api/proto/MechanicusUnlockGearReq.pb.go b/gate-hk4e-api/proto/MechanicusUnlockGearReq.pb.go new file mode 100644 index 00000000..e48025e1 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusUnlockGearReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusUnlockGearReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3903 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MechanicusUnlockGearReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusId uint32 `protobuf:"varint,7,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + GearId uint32 `protobuf:"varint,6,opt,name=gear_id,json=gearId,proto3" json:"gear_id,omitempty"` +} + +func (x *MechanicusUnlockGearReq) Reset() { + *x = MechanicusUnlockGearReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusUnlockGearReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusUnlockGearReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusUnlockGearReq) ProtoMessage() {} + +func (x *MechanicusUnlockGearReq) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusUnlockGearReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusUnlockGearReq.ProtoReflect.Descriptor instead. +func (*MechanicusUnlockGearReq) Descriptor() ([]byte, []int) { + return file_MechanicusUnlockGearReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusUnlockGearReq) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusUnlockGearReq) GetGearId() uint32 { + if x != nil { + return x.GearId + } + return 0 +} + +var File_MechanicusUnlockGearReq_proto protoreflect.FileDescriptor + +var file_MechanicusUnlockGearReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x47, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x57, 0x0a, 0x17, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x47, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x67, 0x65, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x67, 0x65, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusUnlockGearReq_proto_rawDescOnce sync.Once + file_MechanicusUnlockGearReq_proto_rawDescData = file_MechanicusUnlockGearReq_proto_rawDesc +) + +func file_MechanicusUnlockGearReq_proto_rawDescGZIP() []byte { + file_MechanicusUnlockGearReq_proto_rawDescOnce.Do(func() { + file_MechanicusUnlockGearReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusUnlockGearReq_proto_rawDescData) + }) + return file_MechanicusUnlockGearReq_proto_rawDescData +} + +var file_MechanicusUnlockGearReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusUnlockGearReq_proto_goTypes = []interface{}{ + (*MechanicusUnlockGearReq)(nil), // 0: MechanicusUnlockGearReq +} +var file_MechanicusUnlockGearReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusUnlockGearReq_proto_init() } +func file_MechanicusUnlockGearReq_proto_init() { + if File_MechanicusUnlockGearReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusUnlockGearReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusUnlockGearReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusUnlockGearReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusUnlockGearReq_proto_goTypes, + DependencyIndexes: file_MechanicusUnlockGearReq_proto_depIdxs, + MessageInfos: file_MechanicusUnlockGearReq_proto_msgTypes, + }.Build() + File_MechanicusUnlockGearReq_proto = out.File + file_MechanicusUnlockGearReq_proto_rawDesc = nil + file_MechanicusUnlockGearReq_proto_goTypes = nil + file_MechanicusUnlockGearReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusUnlockGearReq.proto b/gate-hk4e-api/proto/MechanicusUnlockGearReq.proto new file mode 100644 index 00000000..8515efe7 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusUnlockGearReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3903 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MechanicusUnlockGearReq { + uint32 mechanicus_id = 7; + uint32 gear_id = 6; +} diff --git a/gate-hk4e-api/proto/MechanicusUnlockGearRsp.pb.go b/gate-hk4e-api/proto/MechanicusUnlockGearRsp.pb.go new file mode 100644 index 00000000..1c24ccaf --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusUnlockGearRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MechanicusUnlockGearRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3990 +// EnetChannelId: 0 +// EnetIsReliable: true +type MechanicusUnlockGearRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + MechanicusId uint32 `protobuf:"varint,8,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + GearId uint32 `protobuf:"varint,14,opt,name=gear_id,json=gearId,proto3" json:"gear_id,omitempty"` +} + +func (x *MechanicusUnlockGearRsp) Reset() { + *x = MechanicusUnlockGearRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MechanicusUnlockGearRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MechanicusUnlockGearRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MechanicusUnlockGearRsp) ProtoMessage() {} + +func (x *MechanicusUnlockGearRsp) ProtoReflect() protoreflect.Message { + mi := &file_MechanicusUnlockGearRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MechanicusUnlockGearRsp.ProtoReflect.Descriptor instead. +func (*MechanicusUnlockGearRsp) Descriptor() ([]byte, []int) { + return file_MechanicusUnlockGearRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MechanicusUnlockGearRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MechanicusUnlockGearRsp) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *MechanicusUnlockGearRsp) GetGearId() uint32 { + if x != nil { + return x.GearId + } + return 0 +} + +var File_MechanicusUnlockGearRsp_proto protoreflect.FileDescriptor + +var file_MechanicusUnlockGearRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x47, 0x65, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x71, 0x0a, 0x17, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x47, 0x65, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x65, 0x61, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x67, 0x65, 0x61, 0x72, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MechanicusUnlockGearRsp_proto_rawDescOnce sync.Once + file_MechanicusUnlockGearRsp_proto_rawDescData = file_MechanicusUnlockGearRsp_proto_rawDesc +) + +func file_MechanicusUnlockGearRsp_proto_rawDescGZIP() []byte { + file_MechanicusUnlockGearRsp_proto_rawDescOnce.Do(func() { + file_MechanicusUnlockGearRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MechanicusUnlockGearRsp_proto_rawDescData) + }) + return file_MechanicusUnlockGearRsp_proto_rawDescData +} + +var file_MechanicusUnlockGearRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MechanicusUnlockGearRsp_proto_goTypes = []interface{}{ + (*MechanicusUnlockGearRsp)(nil), // 0: MechanicusUnlockGearRsp +} +var file_MechanicusUnlockGearRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MechanicusUnlockGearRsp_proto_init() } +func file_MechanicusUnlockGearRsp_proto_init() { + if File_MechanicusUnlockGearRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MechanicusUnlockGearRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MechanicusUnlockGearRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MechanicusUnlockGearRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MechanicusUnlockGearRsp_proto_goTypes, + DependencyIndexes: file_MechanicusUnlockGearRsp_proto_depIdxs, + MessageInfos: file_MechanicusUnlockGearRsp_proto_msgTypes, + }.Build() + File_MechanicusUnlockGearRsp_proto = out.File + file_MechanicusUnlockGearRsp_proto_rawDesc = nil + file_MechanicusUnlockGearRsp_proto_goTypes = nil + file_MechanicusUnlockGearRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MechanicusUnlockGearRsp.proto b/gate-hk4e-api/proto/MechanicusUnlockGearRsp.proto new file mode 100644 index 00000000..cab351f1 --- /dev/null +++ b/gate-hk4e-api/proto/MechanicusUnlockGearRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3990 +// EnetChannelId: 0 +// EnetIsReliable: true +message MechanicusUnlockGearRsp { + int32 retcode = 3; + uint32 mechanicus_id = 8; + uint32 gear_id = 14; +} diff --git a/gate-hk4e-api/proto/MeetNpcReq.pb.go b/gate-hk4e-api/proto/MeetNpcReq.pb.go new file mode 100644 index 00000000..2cf01e30 --- /dev/null +++ b/gate-hk4e-api/proto/MeetNpcReq.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MeetNpcReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MeetNpcReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcId uint32 `protobuf:"varint,4,opt,name=npc_id,json=npcId,proto3" json:"npc_id,omitempty"` +} + +func (x *MeetNpcReq) Reset() { + *x = MeetNpcReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MeetNpcReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MeetNpcReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MeetNpcReq) ProtoMessage() {} + +func (x *MeetNpcReq) ProtoReflect() protoreflect.Message { + mi := &file_MeetNpcReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MeetNpcReq.ProtoReflect.Descriptor instead. +func (*MeetNpcReq) Descriptor() ([]byte, []int) { + return file_MeetNpcReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MeetNpcReq) GetNpcId() uint32 { + if x != nil { + return x.NpcId + } + return 0 +} + +var File_MeetNpcReq_proto protoreflect.FileDescriptor + +var file_MeetNpcReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4d, 0x65, 0x65, 0x74, 0x4e, 0x70, 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x0a, 0x4d, 0x65, 0x65, 0x74, 0x4e, 0x70, 0x63, 0x52, 0x65, 0x71, + 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MeetNpcReq_proto_rawDescOnce sync.Once + file_MeetNpcReq_proto_rawDescData = file_MeetNpcReq_proto_rawDesc +) + +func file_MeetNpcReq_proto_rawDescGZIP() []byte { + file_MeetNpcReq_proto_rawDescOnce.Do(func() { + file_MeetNpcReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MeetNpcReq_proto_rawDescData) + }) + return file_MeetNpcReq_proto_rawDescData +} + +var file_MeetNpcReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MeetNpcReq_proto_goTypes = []interface{}{ + (*MeetNpcReq)(nil), // 0: MeetNpcReq +} +var file_MeetNpcReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MeetNpcReq_proto_init() } +func file_MeetNpcReq_proto_init() { + if File_MeetNpcReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MeetNpcReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MeetNpcReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MeetNpcReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MeetNpcReq_proto_goTypes, + DependencyIndexes: file_MeetNpcReq_proto_depIdxs, + MessageInfos: file_MeetNpcReq_proto_msgTypes, + }.Build() + File_MeetNpcReq_proto = out.File + file_MeetNpcReq_proto_rawDesc = nil + file_MeetNpcReq_proto_goTypes = nil + file_MeetNpcReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MeetNpcReq.proto b/gate-hk4e-api/proto/MeetNpcReq.proto new file mode 100644 index 00000000..609da8df --- /dev/null +++ b/gate-hk4e-api/proto/MeetNpcReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 503 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MeetNpcReq { + uint32 npc_id = 4; +} diff --git a/gate-hk4e-api/proto/MeetNpcRsp.pb.go b/gate-hk4e-api/proto/MeetNpcRsp.pb.go new file mode 100644 index 00000000..4a3b8f74 --- /dev/null +++ b/gate-hk4e-api/proto/MeetNpcRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MeetNpcRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 590 +// EnetChannelId: 0 +// EnetIsReliable: true +type MeetNpcRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + NpcFirstMetId uint32 `protobuf:"varint,8,opt,name=npc_first_met_id,json=npcFirstMetId,proto3" json:"npc_first_met_id,omitempty"` +} + +func (x *MeetNpcRsp) Reset() { + *x = MeetNpcRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MeetNpcRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MeetNpcRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MeetNpcRsp) ProtoMessage() {} + +func (x *MeetNpcRsp) ProtoReflect() protoreflect.Message { + mi := &file_MeetNpcRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MeetNpcRsp.ProtoReflect.Descriptor instead. +func (*MeetNpcRsp) Descriptor() ([]byte, []int) { + return file_MeetNpcRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MeetNpcRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MeetNpcRsp) GetNpcFirstMetId() uint32 { + if x != nil { + return x.NpcFirstMetId + } + return 0 +} + +var File_MeetNpcRsp_proto protoreflect.FileDescriptor + +var file_MeetNpcRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4d, 0x65, 0x65, 0x74, 0x4e, 0x70, 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0a, 0x4d, 0x65, 0x65, 0x74, 0x4e, 0x70, 0x63, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x6e, 0x70, + 0x63, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6e, 0x70, 0x63, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MeetNpcRsp_proto_rawDescOnce sync.Once + file_MeetNpcRsp_proto_rawDescData = file_MeetNpcRsp_proto_rawDesc +) + +func file_MeetNpcRsp_proto_rawDescGZIP() []byte { + file_MeetNpcRsp_proto_rawDescOnce.Do(func() { + file_MeetNpcRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MeetNpcRsp_proto_rawDescData) + }) + return file_MeetNpcRsp_proto_rawDescData +} + +var file_MeetNpcRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MeetNpcRsp_proto_goTypes = []interface{}{ + (*MeetNpcRsp)(nil), // 0: MeetNpcRsp +} +var file_MeetNpcRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MeetNpcRsp_proto_init() } +func file_MeetNpcRsp_proto_init() { + if File_MeetNpcRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MeetNpcRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MeetNpcRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MeetNpcRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MeetNpcRsp_proto_goTypes, + DependencyIndexes: file_MeetNpcRsp_proto_depIdxs, + MessageInfos: file_MeetNpcRsp_proto_msgTypes, + }.Build() + File_MeetNpcRsp_proto = out.File + file_MeetNpcRsp_proto_rawDesc = nil + file_MeetNpcRsp_proto_goTypes = nil + file_MeetNpcRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MeetNpcRsp.proto b/gate-hk4e-api/proto/MeetNpcRsp.proto new file mode 100644 index 00000000..b1ce6a22 --- /dev/null +++ b/gate-hk4e-api/proto/MeetNpcRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 590 +// EnetChannelId: 0 +// EnetIsReliable: true +message MeetNpcRsp { + int32 retcode = 14; + uint32 npc_first_met_id = 8; +} diff --git a/gate-hk4e-api/proto/MetNpcIdListNotify.pb.go b/gate-hk4e-api/proto/MetNpcIdListNotify.pb.go new file mode 100644 index 00000000..b462386a --- /dev/null +++ b/gate-hk4e-api/proto/MetNpcIdListNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MetNpcIdListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 521 +// EnetChannelId: 0 +// EnetIsReliable: true +type MetNpcIdListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcFirstMetIdList []uint32 `protobuf:"varint,9,rep,packed,name=npc_first_met_id_list,json=npcFirstMetIdList,proto3" json:"npc_first_met_id_list,omitempty"` +} + +func (x *MetNpcIdListNotify) Reset() { + *x = MetNpcIdListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MetNpcIdListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetNpcIdListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetNpcIdListNotify) ProtoMessage() {} + +func (x *MetNpcIdListNotify) ProtoReflect() protoreflect.Message { + mi := &file_MetNpcIdListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetNpcIdListNotify.ProtoReflect.Descriptor instead. +func (*MetNpcIdListNotify) Descriptor() ([]byte, []int) { + return file_MetNpcIdListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MetNpcIdListNotify) GetNpcFirstMetIdList() []uint32 { + if x != nil { + return x.NpcFirstMetIdList + } + return nil +} + +var File_MetNpcIdListNotify_proto protoreflect.FileDescriptor + +var file_MetNpcIdListNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x65, 0x74, 0x4e, 0x70, 0x63, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x12, 0x4d, 0x65, + 0x74, 0x4e, 0x70, 0x63, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x30, 0x0a, 0x15, 0x6e, 0x70, 0x63, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6d, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x11, 0x6e, 0x70, 0x63, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MetNpcIdListNotify_proto_rawDescOnce sync.Once + file_MetNpcIdListNotify_proto_rawDescData = file_MetNpcIdListNotify_proto_rawDesc +) + +func file_MetNpcIdListNotify_proto_rawDescGZIP() []byte { + file_MetNpcIdListNotify_proto_rawDescOnce.Do(func() { + file_MetNpcIdListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MetNpcIdListNotify_proto_rawDescData) + }) + return file_MetNpcIdListNotify_proto_rawDescData +} + +var file_MetNpcIdListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MetNpcIdListNotify_proto_goTypes = []interface{}{ + (*MetNpcIdListNotify)(nil), // 0: MetNpcIdListNotify +} +var file_MetNpcIdListNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MetNpcIdListNotify_proto_init() } +func file_MetNpcIdListNotify_proto_init() { + if File_MetNpcIdListNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MetNpcIdListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetNpcIdListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MetNpcIdListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MetNpcIdListNotify_proto_goTypes, + DependencyIndexes: file_MetNpcIdListNotify_proto_depIdxs, + MessageInfos: file_MetNpcIdListNotify_proto_msgTypes, + }.Build() + File_MetNpcIdListNotify_proto = out.File + file_MetNpcIdListNotify_proto_rawDesc = nil + file_MetNpcIdListNotify_proto_goTypes = nil + file_MetNpcIdListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MetNpcIdListNotify.proto b/gate-hk4e-api/proto/MetNpcIdListNotify.proto new file mode 100644 index 00000000..cd182b0f --- /dev/null +++ b/gate-hk4e-api/proto/MetNpcIdListNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 521 +// EnetChannelId: 0 +// EnetIsReliable: true +message MetNpcIdListNotify { + repeated uint32 npc_first_met_id_list = 9; +} diff --git a/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.pb.go b/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.pb.go new file mode 100644 index 00000000..740306ff --- /dev/null +++ b/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MichiaeMatsuriActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MichiaeMatsuriActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MPNNMCPOLAM []*Unk2700_HGFFGMCODNC `protobuf:"bytes,6,rep,name=Unk2700_MPNNMCPOLAM,json=Unk2700MPNNMCPOLAM,proto3" json:"Unk2700_MPNNMCPOLAM,omitempty"` + Unk2700_MAOAHHBCKIA uint32 `protobuf:"varint,13,opt,name=Unk2700_MAOAHHBCKIA,json=Unk2700MAOAHHBCKIA,proto3" json:"Unk2700_MAOAHHBCKIA,omitempty"` + Unk2700_BEHAAHHGCLK []uint32 `protobuf:"varint,2,rep,packed,name=Unk2700_BEHAAHHGCLK,json=Unk2700BEHAAHHGCLK,proto3" json:"Unk2700_BEHAAHHGCLK,omitempty"` + Unk2700_LEKHKNKHIPO []*Unk2700_NAFAIMHFEFG `protobuf:"bytes,10,rep,name=Unk2700_LEKHKNKHIPO,json=Unk2700LEKHKNKHIPO,proto3" json:"Unk2700_LEKHKNKHIPO,omitempty"` + StageList []*MichiaeMatsuriStage `protobuf:"bytes,14,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` +} + +func (x *MichiaeMatsuriActivityDetailInfo) Reset() { + *x = MichiaeMatsuriActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MichiaeMatsuriActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MichiaeMatsuriActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MichiaeMatsuriActivityDetailInfo) ProtoMessage() {} + +func (x *MichiaeMatsuriActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_MichiaeMatsuriActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MichiaeMatsuriActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*MichiaeMatsuriActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_MichiaeMatsuriActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MichiaeMatsuriActivityDetailInfo) GetUnk2700_MPNNMCPOLAM() []*Unk2700_HGFFGMCODNC { + if x != nil { + return x.Unk2700_MPNNMCPOLAM + } + return nil +} + +func (x *MichiaeMatsuriActivityDetailInfo) GetUnk2700_MAOAHHBCKIA() uint32 { + if x != nil { + return x.Unk2700_MAOAHHBCKIA + } + return 0 +} + +func (x *MichiaeMatsuriActivityDetailInfo) GetUnk2700_BEHAAHHGCLK() []uint32 { + if x != nil { + return x.Unk2700_BEHAAHHGCLK + } + return nil +} + +func (x *MichiaeMatsuriActivityDetailInfo) GetUnk2700_LEKHKNKHIPO() []*Unk2700_NAFAIMHFEFG { + if x != nil { + return x.Unk2700_LEKHKNKHIPO + } + return nil +} + +func (x *MichiaeMatsuriActivityDetailInfo) GetStageList() []*MichiaeMatsuriStage { + if x != nil { + return x.StageList + } + return nil +} + +var File_MichiaeMatsuriActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_MichiaeMatsuriActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, + 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x46, + 0x46, 0x47, 0x4d, 0x43, 0x4f, 0x44, 0x4e, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x46, 0x41, 0x49, 0x4d, 0x48, 0x46, + 0x45, 0x46, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x02, 0x0a, 0x20, 0x4d, 0x69, + 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x4e, 0x4e, 0x4d, 0x43, + 0x50, 0x4f, 0x4c, 0x41, 0x4d, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x46, 0x46, 0x47, 0x4d, 0x43, 0x4f, 0x44, 0x4e, + 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x50, 0x4e, 0x4e, 0x4d, 0x43, + 0x50, 0x4f, 0x4c, 0x41, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x41, 0x4f, 0x41, 0x48, 0x48, 0x42, 0x43, 0x4b, 0x49, 0x41, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x4f, 0x41, 0x48, + 0x48, 0x42, 0x43, 0x4b, 0x49, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x41, 0x48, 0x48, 0x47, 0x43, 0x4c, 0x4b, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x45, 0x48, 0x41, + 0x41, 0x48, 0x48, 0x47, 0x43, 0x4c, 0x4b, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4b, 0x48, 0x4b, 0x4e, 0x4b, 0x48, 0x49, 0x50, 0x4f, 0x18, 0x0a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x41, 0x46, 0x41, 0x49, 0x4d, 0x48, 0x46, 0x45, 0x46, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4c, 0x45, 0x4b, 0x48, 0x4b, 0x4e, 0x4b, 0x48, 0x49, 0x50, 0x4f, 0x12, 0x33, + 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, + 0x75, 0x72, 0x69, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MichiaeMatsuriActivityDetailInfo_proto_rawDescOnce sync.Once + file_MichiaeMatsuriActivityDetailInfo_proto_rawDescData = file_MichiaeMatsuriActivityDetailInfo_proto_rawDesc +) + +func file_MichiaeMatsuriActivityDetailInfo_proto_rawDescGZIP() []byte { + file_MichiaeMatsuriActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_MichiaeMatsuriActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MichiaeMatsuriActivityDetailInfo_proto_rawDescData) + }) + return file_MichiaeMatsuriActivityDetailInfo_proto_rawDescData +} + +var file_MichiaeMatsuriActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MichiaeMatsuriActivityDetailInfo_proto_goTypes = []interface{}{ + (*MichiaeMatsuriActivityDetailInfo)(nil), // 0: MichiaeMatsuriActivityDetailInfo + (*Unk2700_HGFFGMCODNC)(nil), // 1: Unk2700_HGFFGMCODNC + (*Unk2700_NAFAIMHFEFG)(nil), // 2: Unk2700_NAFAIMHFEFG + (*MichiaeMatsuriStage)(nil), // 3: MichiaeMatsuriStage +} +var file_MichiaeMatsuriActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: MichiaeMatsuriActivityDetailInfo.Unk2700_MPNNMCPOLAM:type_name -> Unk2700_HGFFGMCODNC + 2, // 1: MichiaeMatsuriActivityDetailInfo.Unk2700_LEKHKNKHIPO:type_name -> Unk2700_NAFAIMHFEFG + 3, // 2: MichiaeMatsuriActivityDetailInfo.stage_list:type_name -> MichiaeMatsuriStage + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MichiaeMatsuriActivityDetailInfo_proto_init() } +func file_MichiaeMatsuriActivityDetailInfo_proto_init() { + if File_MichiaeMatsuriActivityDetailInfo_proto != nil { + return + } + file_MichiaeMatsuriStage_proto_init() + file_Unk2700_HGFFGMCODNC_proto_init() + file_Unk2700_NAFAIMHFEFG_proto_init() + if !protoimpl.UnsafeEnabled { + file_MichiaeMatsuriActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MichiaeMatsuriActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MichiaeMatsuriActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MichiaeMatsuriActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_MichiaeMatsuriActivityDetailInfo_proto_depIdxs, + MessageInfos: file_MichiaeMatsuriActivityDetailInfo_proto_msgTypes, + }.Build() + File_MichiaeMatsuriActivityDetailInfo_proto = out.File + file_MichiaeMatsuriActivityDetailInfo_proto_rawDesc = nil + file_MichiaeMatsuriActivityDetailInfo_proto_goTypes = nil + file_MichiaeMatsuriActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.proto b/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.proto new file mode 100644 index 00000000..9fdb1371 --- /dev/null +++ b/gate-hk4e-api/proto/MichiaeMatsuriActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MichiaeMatsuriStage.proto"; +import "Unk2700_HGFFGMCODNC.proto"; +import "Unk2700_NAFAIMHFEFG.proto"; + +option go_package = "./;proto"; + +message MichiaeMatsuriActivityDetailInfo { + repeated Unk2700_HGFFGMCODNC Unk2700_MPNNMCPOLAM = 6; + uint32 Unk2700_MAOAHHBCKIA = 13; + repeated uint32 Unk2700_BEHAAHHGCLK = 2; + repeated Unk2700_NAFAIMHFEFG Unk2700_LEKHKNKHIPO = 10; + repeated MichiaeMatsuriStage stage_list = 14; +} diff --git a/gate-hk4e-api/proto/MichiaeMatsuriStage.pb.go b/gate-hk4e-api/proto/MichiaeMatsuriStage.pb.go new file mode 100644 index 00000000..ccbd4053 --- /dev/null +++ b/gate-hk4e-api/proto/MichiaeMatsuriStage.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MichiaeMatsuriStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MichiaeMatsuriStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,11,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *MichiaeMatsuriStage) Reset() { + *x = MichiaeMatsuriStage{} + if protoimpl.UnsafeEnabled { + mi := &file_MichiaeMatsuriStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MichiaeMatsuriStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MichiaeMatsuriStage) ProtoMessage() {} + +func (x *MichiaeMatsuriStage) ProtoReflect() protoreflect.Message { + mi := &file_MichiaeMatsuriStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MichiaeMatsuriStage.ProtoReflect.Descriptor instead. +func (*MichiaeMatsuriStage) Descriptor() ([]byte, []int) { + return file_MichiaeMatsuriStage_proto_rawDescGZIP(), []int{0} +} + +func (x *MichiaeMatsuriStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *MichiaeMatsuriStage) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *MichiaeMatsuriStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_MichiaeMatsuriStage_proto protoreflect.FileDescriptor + +var file_MichiaeMatsuriStage_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x13, 0x4d, + 0x69, 0x63, 0x68, 0x69, 0x61, 0x65, 0x4d, 0x61, 0x74, 0x73, 0x75, 0x72, 0x69, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, + 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MichiaeMatsuriStage_proto_rawDescOnce sync.Once + file_MichiaeMatsuriStage_proto_rawDescData = file_MichiaeMatsuriStage_proto_rawDesc +) + +func file_MichiaeMatsuriStage_proto_rawDescGZIP() []byte { + file_MichiaeMatsuriStage_proto_rawDescOnce.Do(func() { + file_MichiaeMatsuriStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_MichiaeMatsuriStage_proto_rawDescData) + }) + return file_MichiaeMatsuriStage_proto_rawDescData +} + +var file_MichiaeMatsuriStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MichiaeMatsuriStage_proto_goTypes = []interface{}{ + (*MichiaeMatsuriStage)(nil), // 0: MichiaeMatsuriStage +} +var file_MichiaeMatsuriStage_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MichiaeMatsuriStage_proto_init() } +func file_MichiaeMatsuriStage_proto_init() { + if File_MichiaeMatsuriStage_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MichiaeMatsuriStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MichiaeMatsuriStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MichiaeMatsuriStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MichiaeMatsuriStage_proto_goTypes, + DependencyIndexes: file_MichiaeMatsuriStage_proto_depIdxs, + MessageInfos: file_MichiaeMatsuriStage_proto_msgTypes, + }.Build() + File_MichiaeMatsuriStage_proto = out.File + file_MichiaeMatsuriStage_proto_rawDesc = nil + file_MichiaeMatsuriStage_proto_goTypes = nil + file_MichiaeMatsuriStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MichiaeMatsuriStage.proto b/gate-hk4e-api/proto/MichiaeMatsuriStage.proto new file mode 100644 index 00000000..b837f3a1 --- /dev/null +++ b/gate-hk4e-api/proto/MichiaeMatsuriStage.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MichiaeMatsuriStage { + bool is_open = 11; + uint32 open_time = 5; + uint32 stage_id = 12; +} diff --git a/gate-hk4e-api/proto/MiracleRingDataNotify.pb.go b/gate-hk4e-api/proto/MiracleRingDataNotify.pb.go new file mode 100644 index 00000000..b001f9fc --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDataNotify.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5225 +// EnetChannelId: 0 +// EnetIsReliable: true +type MiracleRingDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsGadgetCreated bool `protobuf:"varint,8,opt,name=is_gadget_created,json=isGadgetCreated,proto3" json:"is_gadget_created,omitempty"` + LastTakeRewardTime uint32 `protobuf:"varint,14,opt,name=last_take_reward_time,json=lastTakeRewardTime,proto3" json:"last_take_reward_time,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,12,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + LastDeliverItemTime uint32 `protobuf:"varint,10,opt,name=last_deliver_item_time,json=lastDeliverItemTime,proto3" json:"last_deliver_item_time,omitempty"` + MiracleRingCd uint32 `protobuf:"varint,7,opt,name=miracle_ring_cd,json=miracleRingCd,proto3" json:"miracle_ring_cd,omitempty"` +} + +func (x *MiracleRingDataNotify) Reset() { + *x = MiracleRingDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingDataNotify) ProtoMessage() {} + +func (x *MiracleRingDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingDataNotify.ProtoReflect.Descriptor instead. +func (*MiracleRingDataNotify) Descriptor() ([]byte, []int) { + return file_MiracleRingDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingDataNotify) GetIsGadgetCreated() bool { + if x != nil { + return x.IsGadgetCreated + } + return false +} + +func (x *MiracleRingDataNotify) GetLastTakeRewardTime() uint32 { + if x != nil { + return x.LastTakeRewardTime + } + return 0 +} + +func (x *MiracleRingDataNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *MiracleRingDataNotify) GetLastDeliverItemTime() uint32 { + if x != nil { + return x.LastDeliverItemTime + } + return 0 +} + +func (x *MiracleRingDataNotify) GetMiracleRingCd() uint32 { + if x != nil { + return x.MiracleRingCd + } + return 0 +} + +var File_MiracleRingDataNotify_proto protoreflect.FileDescriptor + +var file_MiracleRingDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x01, + 0x0a, 0x15, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x61, 0x6b, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, + 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, + 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, + 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x6d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x43, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MiracleRingDataNotify_proto_rawDescOnce sync.Once + file_MiracleRingDataNotify_proto_rawDescData = file_MiracleRingDataNotify_proto_rawDesc +) + +func file_MiracleRingDataNotify_proto_rawDescGZIP() []byte { + file_MiracleRingDataNotify_proto_rawDescOnce.Do(func() { + file_MiracleRingDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingDataNotify_proto_rawDescData) + }) + return file_MiracleRingDataNotify_proto_rawDescData +} + +var file_MiracleRingDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingDataNotify_proto_goTypes = []interface{}{ + (*MiracleRingDataNotify)(nil), // 0: MiracleRingDataNotify +} +var file_MiracleRingDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MiracleRingDataNotify_proto_init() } +func file_MiracleRingDataNotify_proto_init() { + if File_MiracleRingDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MiracleRingDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingDataNotify_proto_goTypes, + DependencyIndexes: file_MiracleRingDataNotify_proto_depIdxs, + MessageInfos: file_MiracleRingDataNotify_proto_msgTypes, + }.Build() + File_MiracleRingDataNotify_proto = out.File + file_MiracleRingDataNotify_proto_rawDesc = nil + file_MiracleRingDataNotify_proto_goTypes = nil + file_MiracleRingDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingDataNotify.proto b/gate-hk4e-api/proto/MiracleRingDataNotify.proto new file mode 100644 index 00000000..404c0951 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDataNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5225 +// EnetChannelId: 0 +// EnetIsReliable: true +message MiracleRingDataNotify { + bool is_gadget_created = 8; + uint32 last_take_reward_time = 14; + uint32 gadget_entity_id = 12; + uint32 last_deliver_item_time = 10; + uint32 miracle_ring_cd = 7; +} diff --git a/gate-hk4e-api/proto/MiracleRingDeliverItemReq.pb.go b/gate-hk4e-api/proto/MiracleRingDeliverItemReq.pb.go new file mode 100644 index 00000000..3e566dcb --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDeliverItemReq.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingDeliverItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5229 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MiracleRingDeliverItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpType InterOpType `protobuf:"varint,9,opt,name=op_type,json=opType,proto3,enum=InterOpType" json:"op_type,omitempty"` + ItemParamList []*ItemParam `protobuf:"bytes,1,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + FoodWeaponGuidList []uint64 `protobuf:"varint,4,rep,packed,name=food_weapon_guid_list,json=foodWeaponGuidList,proto3" json:"food_weapon_guid_list,omitempty"` + GadgetId uint32 `protobuf:"varint,14,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,5,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *MiracleRingDeliverItemReq) Reset() { + *x = MiracleRingDeliverItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingDeliverItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingDeliverItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingDeliverItemReq) ProtoMessage() {} + +func (x *MiracleRingDeliverItemReq) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingDeliverItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingDeliverItemReq.ProtoReflect.Descriptor instead. +func (*MiracleRingDeliverItemReq) Descriptor() ([]byte, []int) { + return file_MiracleRingDeliverItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingDeliverItemReq) GetOpType() InterOpType { + if x != nil { + return x.OpType + } + return InterOpType_INTER_OP_TYPE_FINISH +} + +func (x *MiracleRingDeliverItemReq) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *MiracleRingDeliverItemReq) GetFoodWeaponGuidList() []uint64 { + if x != nil { + return x.FoodWeaponGuidList + } + return nil +} + +func (x *MiracleRingDeliverItemReq) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *MiracleRingDeliverItemReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_MiracleRingDeliverItemReq_proto protoreflect.FileDescriptor + +var file_MiracleRingDeliverItemReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, + 0x69, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x01, 0x0a, 0x19, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, + 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x65, 0x71, 0x12, 0x25, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, + 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x15, 0x66, 0x6f, 0x6f, 0x64, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x66, + 0x6f, 0x6f, 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingDeliverItemReq_proto_rawDescOnce sync.Once + file_MiracleRingDeliverItemReq_proto_rawDescData = file_MiracleRingDeliverItemReq_proto_rawDesc +) + +func file_MiracleRingDeliverItemReq_proto_rawDescGZIP() []byte { + file_MiracleRingDeliverItemReq_proto_rawDescOnce.Do(func() { + file_MiracleRingDeliverItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingDeliverItemReq_proto_rawDescData) + }) + return file_MiracleRingDeliverItemReq_proto_rawDescData +} + +var file_MiracleRingDeliverItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingDeliverItemReq_proto_goTypes = []interface{}{ + (*MiracleRingDeliverItemReq)(nil), // 0: MiracleRingDeliverItemReq + (InterOpType)(0), // 1: InterOpType + (*ItemParam)(nil), // 2: ItemParam +} +var file_MiracleRingDeliverItemReq_proto_depIdxs = []int32{ + 1, // 0: MiracleRingDeliverItemReq.op_type:type_name -> InterOpType + 2, // 1: MiracleRingDeliverItemReq.item_param_list:type_name -> ItemParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MiracleRingDeliverItemReq_proto_init() } +func file_MiracleRingDeliverItemReq_proto_init() { + if File_MiracleRingDeliverItemReq_proto != nil { + return + } + file_InterOpType_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_MiracleRingDeliverItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingDeliverItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingDeliverItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingDeliverItemReq_proto_goTypes, + DependencyIndexes: file_MiracleRingDeliverItemReq_proto_depIdxs, + MessageInfos: file_MiracleRingDeliverItemReq_proto_msgTypes, + }.Build() + File_MiracleRingDeliverItemReq_proto = out.File + file_MiracleRingDeliverItemReq_proto_rawDesc = nil + file_MiracleRingDeliverItemReq_proto_goTypes = nil + file_MiracleRingDeliverItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingDeliverItemReq.proto b/gate-hk4e-api/proto/MiracleRingDeliverItemReq.proto new file mode 100644 index 00000000..33d50f6a --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDeliverItemReq.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InterOpType.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 5229 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MiracleRingDeliverItemReq { + InterOpType op_type = 9; + repeated ItemParam item_param_list = 1; + repeated uint64 food_weapon_guid_list = 4; + uint32 gadget_id = 14; + uint32 gadget_entity_id = 5; +} diff --git a/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.pb.go b/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.pb.go new file mode 100644 index 00000000..715b743f --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingDeliverItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5222 +// EnetChannelId: 0 +// EnetIsReliable: true +type MiracleRingDeliverItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InteractType InteractType `protobuf:"varint,15,opt,name=interact_type,json=interactType,proto3,enum=InteractType" json:"interact_type,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + OpType InterOpType `protobuf:"varint,14,opt,name=op_type,json=opType,proto3,enum=InterOpType" json:"op_type,omitempty"` + GadgetId uint32 `protobuf:"varint,4,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,9,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *MiracleRingDeliverItemRsp) Reset() { + *x = MiracleRingDeliverItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingDeliverItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingDeliverItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingDeliverItemRsp) ProtoMessage() {} + +func (x *MiracleRingDeliverItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingDeliverItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingDeliverItemRsp.ProtoReflect.Descriptor instead. +func (*MiracleRingDeliverItemRsp) Descriptor() ([]byte, []int) { + return file_MiracleRingDeliverItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingDeliverItemRsp) GetInteractType() InteractType { + if x != nil { + return x.InteractType + } + return InteractType_INTERACT_TYPE_NONE +} + +func (x *MiracleRingDeliverItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MiracleRingDeliverItemRsp) GetOpType() InterOpType { + if x != nil { + return x.OpType + } + return InterOpType_INTER_OP_TYPE_FINISH +} + +func (x *MiracleRingDeliverItemRsp) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *MiracleRingDeliverItemRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_MiracleRingDeliverItemRsp_proto protoreflect.FileDescriptor + +var file_MiracleRingDeliverItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, + 0x69, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x19, 0x4d, 0x69, 0x72, + 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x49, + 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingDeliverItemRsp_proto_rawDescOnce sync.Once + file_MiracleRingDeliverItemRsp_proto_rawDescData = file_MiracleRingDeliverItemRsp_proto_rawDesc +) + +func file_MiracleRingDeliverItemRsp_proto_rawDescGZIP() []byte { + file_MiracleRingDeliverItemRsp_proto_rawDescOnce.Do(func() { + file_MiracleRingDeliverItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingDeliverItemRsp_proto_rawDescData) + }) + return file_MiracleRingDeliverItemRsp_proto_rawDescData +} + +var file_MiracleRingDeliverItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingDeliverItemRsp_proto_goTypes = []interface{}{ + (*MiracleRingDeliverItemRsp)(nil), // 0: MiracleRingDeliverItemRsp + (InteractType)(0), // 1: InteractType + (InterOpType)(0), // 2: InterOpType +} +var file_MiracleRingDeliverItemRsp_proto_depIdxs = []int32{ + 1, // 0: MiracleRingDeliverItemRsp.interact_type:type_name -> InteractType + 2, // 1: MiracleRingDeliverItemRsp.op_type:type_name -> InterOpType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MiracleRingDeliverItemRsp_proto_init() } +func file_MiracleRingDeliverItemRsp_proto_init() { + if File_MiracleRingDeliverItemRsp_proto != nil { + return + } + file_InterOpType_proto_init() + file_InteractType_proto_init() + if !protoimpl.UnsafeEnabled { + file_MiracleRingDeliverItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingDeliverItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingDeliverItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingDeliverItemRsp_proto_goTypes, + DependencyIndexes: file_MiracleRingDeliverItemRsp_proto_depIdxs, + MessageInfos: file_MiracleRingDeliverItemRsp_proto_msgTypes, + }.Build() + File_MiracleRingDeliverItemRsp_proto = out.File + file_MiracleRingDeliverItemRsp_proto_rawDesc = nil + file_MiracleRingDeliverItemRsp_proto_goTypes = nil + file_MiracleRingDeliverItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.proto b/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.proto new file mode 100644 index 00000000..5bec056a --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDeliverItemRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InterOpType.proto"; +import "InteractType.proto"; + +option go_package = "./;proto"; + +// CmdId: 5222 +// EnetChannelId: 0 +// EnetIsReliable: true +message MiracleRingDeliverItemRsp { + InteractType interact_type = 15; + int32 retcode = 11; + InterOpType op_type = 14; + uint32 gadget_id = 4; + uint32 gadget_entity_id = 9; +} diff --git a/gate-hk4e-api/proto/MiracleRingDestroyNotify.pb.go b/gate-hk4e-api/proto/MiracleRingDestroyNotify.pb.go new file mode 100644 index 00000000..9e77fc3c --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDestroyNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingDestroyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5244 +// EnetChannelId: 0 +// EnetIsReliable: true +type MiracleRingDestroyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *MiracleRingDestroyNotify) Reset() { + *x = MiracleRingDestroyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingDestroyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingDestroyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingDestroyNotify) ProtoMessage() {} + +func (x *MiracleRingDestroyNotify) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingDestroyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingDestroyNotify.ProtoReflect.Descriptor instead. +func (*MiracleRingDestroyNotify) Descriptor() ([]byte, []int) { + return file_MiracleRingDestroyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingDestroyNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_MiracleRingDestroyNotify_proto protoreflect.FileDescriptor + +var file_MiracleRingDestroyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x73, + 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x37, 0x0a, 0x18, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingDestroyNotify_proto_rawDescOnce sync.Once + file_MiracleRingDestroyNotify_proto_rawDescData = file_MiracleRingDestroyNotify_proto_rawDesc +) + +func file_MiracleRingDestroyNotify_proto_rawDescGZIP() []byte { + file_MiracleRingDestroyNotify_proto_rawDescOnce.Do(func() { + file_MiracleRingDestroyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingDestroyNotify_proto_rawDescData) + }) + return file_MiracleRingDestroyNotify_proto_rawDescData +} + +var file_MiracleRingDestroyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingDestroyNotify_proto_goTypes = []interface{}{ + (*MiracleRingDestroyNotify)(nil), // 0: MiracleRingDestroyNotify +} +var file_MiracleRingDestroyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MiracleRingDestroyNotify_proto_init() } +func file_MiracleRingDestroyNotify_proto_init() { + if File_MiracleRingDestroyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MiracleRingDestroyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingDestroyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingDestroyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingDestroyNotify_proto_goTypes, + DependencyIndexes: file_MiracleRingDestroyNotify_proto_depIdxs, + MessageInfos: file_MiracleRingDestroyNotify_proto_msgTypes, + }.Build() + File_MiracleRingDestroyNotify_proto = out.File + file_MiracleRingDestroyNotify_proto_rawDesc = nil + file_MiracleRingDestroyNotify_proto_goTypes = nil + file_MiracleRingDestroyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingDestroyNotify.proto b/gate-hk4e-api/proto/MiracleRingDestroyNotify.proto new file mode 100644 index 00000000..0cbb13c1 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDestroyNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5244 +// EnetChannelId: 0 +// EnetIsReliable: true +message MiracleRingDestroyNotify { + uint32 entity_id = 7; +} diff --git a/gate-hk4e-api/proto/MiracleRingDropResultNotify.pb.go b/gate-hk4e-api/proto/MiracleRingDropResultNotify.pb.go new file mode 100644 index 00000000..0efded94 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDropResultNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingDropResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5231 +// EnetChannelId: 0 +// EnetIsReliable: true +type MiracleRingDropResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastTakeRewardTime int32 `protobuf:"varint,5,opt,name=last_take_reward_time,json=lastTakeRewardTime,proto3" json:"last_take_reward_time,omitempty"` + DropResult int32 `protobuf:"varint,9,opt,name=drop_result,json=dropResult,proto3" json:"drop_result,omitempty"` +} + +func (x *MiracleRingDropResultNotify) Reset() { + *x = MiracleRingDropResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingDropResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingDropResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingDropResultNotify) ProtoMessage() {} + +func (x *MiracleRingDropResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingDropResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingDropResultNotify.ProtoReflect.Descriptor instead. +func (*MiracleRingDropResultNotify) Descriptor() ([]byte, []int) { + return file_MiracleRingDropResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingDropResultNotify) GetLastTakeRewardTime() int32 { + if x != nil { + return x.LastTakeRewardTime + } + return 0 +} + +func (x *MiracleRingDropResultNotify) GetDropResult() int32 { + if x != nil { + return x.DropResult + } + return 0 +} + +var File_MiracleRingDropResultNotify_proto protoreflect.FileDescriptor + +var file_MiracleRingDropResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x44, 0x72, 0x6f, + 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x1b, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, + 0x6e, 0x67, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x31, 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x72, 0x6f, 0x70, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingDropResultNotify_proto_rawDescOnce sync.Once + file_MiracleRingDropResultNotify_proto_rawDescData = file_MiracleRingDropResultNotify_proto_rawDesc +) + +func file_MiracleRingDropResultNotify_proto_rawDescGZIP() []byte { + file_MiracleRingDropResultNotify_proto_rawDescOnce.Do(func() { + file_MiracleRingDropResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingDropResultNotify_proto_rawDescData) + }) + return file_MiracleRingDropResultNotify_proto_rawDescData +} + +var file_MiracleRingDropResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingDropResultNotify_proto_goTypes = []interface{}{ + (*MiracleRingDropResultNotify)(nil), // 0: MiracleRingDropResultNotify +} +var file_MiracleRingDropResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MiracleRingDropResultNotify_proto_init() } +func file_MiracleRingDropResultNotify_proto_init() { + if File_MiracleRingDropResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MiracleRingDropResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingDropResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingDropResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingDropResultNotify_proto_goTypes, + DependencyIndexes: file_MiracleRingDropResultNotify_proto_depIdxs, + MessageInfos: file_MiracleRingDropResultNotify_proto_msgTypes, + }.Build() + File_MiracleRingDropResultNotify_proto = out.File + file_MiracleRingDropResultNotify_proto_rawDesc = nil + file_MiracleRingDropResultNotify_proto_goTypes = nil + file_MiracleRingDropResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingDropResultNotify.proto b/gate-hk4e-api/proto/MiracleRingDropResultNotify.proto new file mode 100644 index 00000000..d6dbd596 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingDropResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5231 +// EnetChannelId: 0 +// EnetIsReliable: true +message MiracleRingDropResultNotify { + int32 last_take_reward_time = 5; + int32 drop_result = 9; +} diff --git a/gate-hk4e-api/proto/MiracleRingTakeRewardReq.pb.go b/gate-hk4e-api/proto/MiracleRingTakeRewardReq.pb.go new file mode 100644 index 00000000..83e1aad5 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingTakeRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingTakeRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MiracleRingTakeRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetId uint32 `protobuf:"varint,11,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,7,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *MiracleRingTakeRewardReq) Reset() { + *x = MiracleRingTakeRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingTakeRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingTakeRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingTakeRewardReq) ProtoMessage() {} + +func (x *MiracleRingTakeRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingTakeRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingTakeRewardReq.ProtoReflect.Descriptor instead. +func (*MiracleRingTakeRewardReq) Descriptor() ([]byte, []int) { + return file_MiracleRingTakeRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingTakeRewardReq) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *MiracleRingTakeRewardReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_MiracleRingTakeRewardReq_proto protoreflect.FileDescriptor + +var file_MiracleRingTakeRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x61, 0x0a, 0x18, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x54, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, + 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingTakeRewardReq_proto_rawDescOnce sync.Once + file_MiracleRingTakeRewardReq_proto_rawDescData = file_MiracleRingTakeRewardReq_proto_rawDesc +) + +func file_MiracleRingTakeRewardReq_proto_rawDescGZIP() []byte { + file_MiracleRingTakeRewardReq_proto_rawDescOnce.Do(func() { + file_MiracleRingTakeRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingTakeRewardReq_proto_rawDescData) + }) + return file_MiracleRingTakeRewardReq_proto_rawDescData +} + +var file_MiracleRingTakeRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingTakeRewardReq_proto_goTypes = []interface{}{ + (*MiracleRingTakeRewardReq)(nil), // 0: MiracleRingTakeRewardReq +} +var file_MiracleRingTakeRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MiracleRingTakeRewardReq_proto_init() } +func file_MiracleRingTakeRewardReq_proto_init() { + if File_MiracleRingTakeRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MiracleRingTakeRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingTakeRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingTakeRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingTakeRewardReq_proto_goTypes, + DependencyIndexes: file_MiracleRingTakeRewardReq_proto_depIdxs, + MessageInfos: file_MiracleRingTakeRewardReq_proto_msgTypes, + }.Build() + File_MiracleRingTakeRewardReq_proto = out.File + file_MiracleRingTakeRewardReq_proto_rawDesc = nil + file_MiracleRingTakeRewardReq_proto_goTypes = nil + file_MiracleRingTakeRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingTakeRewardReq.proto b/gate-hk4e-api/proto/MiracleRingTakeRewardReq.proto new file mode 100644 index 00000000..e3da5a2e --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingTakeRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MiracleRingTakeRewardReq { + uint32 gadget_id = 11; + uint32 gadget_entity_id = 7; +} diff --git a/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.pb.go b/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.pb.go new file mode 100644 index 00000000..bd683ed0 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MiracleRingTakeRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5202 +// EnetChannelId: 0 +// EnetIsReliable: true +type MiracleRingTakeRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MiracleRingTakeRewardRsp) Reset() { + *x = MiracleRingTakeRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MiracleRingTakeRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MiracleRingTakeRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MiracleRingTakeRewardRsp) ProtoMessage() {} + +func (x *MiracleRingTakeRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_MiracleRingTakeRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MiracleRingTakeRewardRsp.ProtoReflect.Descriptor instead. +func (*MiracleRingTakeRewardRsp) Descriptor() ([]byte, []int) { + return file_MiracleRingTakeRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MiracleRingTakeRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MiracleRingTakeRewardRsp_proto protoreflect.FileDescriptor + +var file_MiracleRingTakeRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x34, 0x0a, 0x18, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x54, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MiracleRingTakeRewardRsp_proto_rawDescOnce sync.Once + file_MiracleRingTakeRewardRsp_proto_rawDescData = file_MiracleRingTakeRewardRsp_proto_rawDesc +) + +func file_MiracleRingTakeRewardRsp_proto_rawDescGZIP() []byte { + file_MiracleRingTakeRewardRsp_proto_rawDescOnce.Do(func() { + file_MiracleRingTakeRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MiracleRingTakeRewardRsp_proto_rawDescData) + }) + return file_MiracleRingTakeRewardRsp_proto_rawDescData +} + +var file_MiracleRingTakeRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MiracleRingTakeRewardRsp_proto_goTypes = []interface{}{ + (*MiracleRingTakeRewardRsp)(nil), // 0: MiracleRingTakeRewardRsp +} +var file_MiracleRingTakeRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MiracleRingTakeRewardRsp_proto_init() } +func file_MiracleRingTakeRewardRsp_proto_init() { + if File_MiracleRingTakeRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MiracleRingTakeRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MiracleRingTakeRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MiracleRingTakeRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MiracleRingTakeRewardRsp_proto_goTypes, + DependencyIndexes: file_MiracleRingTakeRewardRsp_proto_depIdxs, + MessageInfos: file_MiracleRingTakeRewardRsp_proto_msgTypes, + }.Build() + File_MiracleRingTakeRewardRsp_proto = out.File + file_MiracleRingTakeRewardRsp_proto_rawDesc = nil + file_MiracleRingTakeRewardRsp_proto_goTypes = nil + file_MiracleRingTakeRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.proto b/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.proto new file mode 100644 index 00000000..d2af1792 --- /dev/null +++ b/gate-hk4e-api/proto/MiracleRingTakeRewardRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5202 +// EnetChannelId: 0 +// EnetIsReliable: true +message MiracleRingTakeRewardRsp { + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/MistTrialActivityDetailInfo.pb.go b/gate-hk4e-api/proto/MistTrialActivityDetailInfo.pb.go new file mode 100644 index 00000000..474fe529 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialActivityDetailInfo.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MistTrialActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialLevelDataList []*MistTrialLevelData `protobuf:"bytes,5,rep,name=trial_level_data_list,json=trialLevelDataList,proto3" json:"trial_level_data_list,omitempty"` +} + +func (x *MistTrialActivityDetailInfo) Reset() { + *x = MistTrialActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialActivityDetailInfo) ProtoMessage() {} + +func (x *MistTrialActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*MistTrialActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_MistTrialActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialActivityDetailInfo) GetTrialLevelDataList() []*MistTrialLevelData { + if x != nil { + return x.TrialLevelDataList + } + return nil +} + +var File_MistTrialActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_MistTrialActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, + 0x1b, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x46, 0x0a, 0x15, + 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x69, + 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialActivityDetailInfo_proto_rawDescOnce sync.Once + file_MistTrialActivityDetailInfo_proto_rawDescData = file_MistTrialActivityDetailInfo_proto_rawDesc +) + +func file_MistTrialActivityDetailInfo_proto_rawDescGZIP() []byte { + file_MistTrialActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_MistTrialActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialActivityDetailInfo_proto_rawDescData) + }) + return file_MistTrialActivityDetailInfo_proto_rawDescData +} + +var file_MistTrialActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialActivityDetailInfo_proto_goTypes = []interface{}{ + (*MistTrialActivityDetailInfo)(nil), // 0: MistTrialActivityDetailInfo + (*MistTrialLevelData)(nil), // 1: MistTrialLevelData +} +var file_MistTrialActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: MistTrialActivityDetailInfo.trial_level_data_list:type_name -> MistTrialLevelData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MistTrialActivityDetailInfo_proto_init() } +func file_MistTrialActivityDetailInfo_proto_init() { + if File_MistTrialActivityDetailInfo_proto != nil { + return + } + file_MistTrialLevelData_proto_init() + if !protoimpl.UnsafeEnabled { + file_MistTrialActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_MistTrialActivityDetailInfo_proto_depIdxs, + MessageInfos: file_MistTrialActivityDetailInfo_proto_msgTypes, + }.Build() + File_MistTrialActivityDetailInfo_proto = out.File + file_MistTrialActivityDetailInfo_proto_rawDesc = nil + file_MistTrialActivityDetailInfo_proto_goTypes = nil + file_MistTrialActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialActivityDetailInfo.proto b/gate-hk4e-api/proto/MistTrialActivityDetailInfo.proto new file mode 100644 index 00000000..2854a4f2 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MistTrialLevelData.proto"; + +option go_package = "./;proto"; + +message MistTrialActivityDetailInfo { + repeated MistTrialLevelData trial_level_data_list = 5; +} diff --git a/gate-hk4e-api/proto/MistTrialDunegonFailNotify.pb.go b/gate-hk4e-api/proto/MistTrialDunegonFailNotify.pb.go new file mode 100644 index 00000000..fb769d84 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialDunegonFailNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialDunegonFailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8135 +// EnetChannelId: 0 +// EnetIsReliable: true +type MistTrialDunegonFailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId int32 `protobuf:"varint,9,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *MistTrialDunegonFailNotify) Reset() { + *x = MistTrialDunegonFailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialDunegonFailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialDunegonFailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialDunegonFailNotify) ProtoMessage() {} + +func (x *MistTrialDunegonFailNotify) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialDunegonFailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialDunegonFailNotify.ProtoReflect.Descriptor instead. +func (*MistTrialDunegonFailNotify) Descriptor() ([]byte, []int) { + return file_MistTrialDunegonFailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialDunegonFailNotify) GetDungeonId() int32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_MistTrialDunegonFailNotify_proto protoreflect.FileDescriptor + +var file_MistTrialDunegonFailNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x75, 0x6e, 0x65, 0x67, + 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1a, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x44, + 0x75, 0x6e, 0x65, 0x67, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialDunegonFailNotify_proto_rawDescOnce sync.Once + file_MistTrialDunegonFailNotify_proto_rawDescData = file_MistTrialDunegonFailNotify_proto_rawDesc +) + +func file_MistTrialDunegonFailNotify_proto_rawDescGZIP() []byte { + file_MistTrialDunegonFailNotify_proto_rawDescOnce.Do(func() { + file_MistTrialDunegonFailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialDunegonFailNotify_proto_rawDescData) + }) + return file_MistTrialDunegonFailNotify_proto_rawDescData +} + +var file_MistTrialDunegonFailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialDunegonFailNotify_proto_goTypes = []interface{}{ + (*MistTrialDunegonFailNotify)(nil), // 0: MistTrialDunegonFailNotify +} +var file_MistTrialDunegonFailNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialDunegonFailNotify_proto_init() } +func file_MistTrialDunegonFailNotify_proto_init() { + if File_MistTrialDunegonFailNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialDunegonFailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialDunegonFailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialDunegonFailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialDunegonFailNotify_proto_goTypes, + DependencyIndexes: file_MistTrialDunegonFailNotify_proto_depIdxs, + MessageInfos: file_MistTrialDunegonFailNotify_proto_msgTypes, + }.Build() + File_MistTrialDunegonFailNotify_proto = out.File + file_MistTrialDunegonFailNotify_proto_rawDesc = nil + file_MistTrialDunegonFailNotify_proto_goTypes = nil + file_MistTrialDunegonFailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialDunegonFailNotify.proto b/gate-hk4e-api/proto/MistTrialDunegonFailNotify.proto new file mode 100644 index 00000000..f8f8fa89 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialDunegonFailNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8135 +// EnetChannelId: 0 +// EnetIsReliable: true +message MistTrialDunegonFailNotify { + int32 dungeon_id = 9; +} diff --git a/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.pb.go b/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.pb.go new file mode 100644 index 00000000..872b79d8 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialGetChallengeMissionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8893 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MistTrialGetChallengeMissionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,9,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` +} + +func (x *MistTrialGetChallengeMissionReq) Reset() { + *x = MistTrialGetChallengeMissionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialGetChallengeMissionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialGetChallengeMissionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialGetChallengeMissionReq) ProtoMessage() {} + +func (x *MistTrialGetChallengeMissionReq) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialGetChallengeMissionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialGetChallengeMissionReq.ProtoReflect.Descriptor instead. +func (*MistTrialGetChallengeMissionReq) Descriptor() ([]byte, []int) { + return file_MistTrialGetChallengeMissionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialGetChallengeMissionReq) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +var File_MistTrialGetChallengeMissionReq_proto protoreflect.FileDescriptor + +var file_MistTrialGetChallengeMissionReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1f, 0x4d, 0x69, 0x73, 0x74, 0x54, + 0x72, 0x69, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialGetChallengeMissionReq_proto_rawDescOnce sync.Once + file_MistTrialGetChallengeMissionReq_proto_rawDescData = file_MistTrialGetChallengeMissionReq_proto_rawDesc +) + +func file_MistTrialGetChallengeMissionReq_proto_rawDescGZIP() []byte { + file_MistTrialGetChallengeMissionReq_proto_rawDescOnce.Do(func() { + file_MistTrialGetChallengeMissionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialGetChallengeMissionReq_proto_rawDescData) + }) + return file_MistTrialGetChallengeMissionReq_proto_rawDescData +} + +var file_MistTrialGetChallengeMissionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialGetChallengeMissionReq_proto_goTypes = []interface{}{ + (*MistTrialGetChallengeMissionReq)(nil), // 0: MistTrialGetChallengeMissionReq +} +var file_MistTrialGetChallengeMissionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialGetChallengeMissionReq_proto_init() } +func file_MistTrialGetChallengeMissionReq_proto_init() { + if File_MistTrialGetChallengeMissionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialGetChallengeMissionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialGetChallengeMissionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialGetChallengeMissionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialGetChallengeMissionReq_proto_goTypes, + DependencyIndexes: file_MistTrialGetChallengeMissionReq_proto_depIdxs, + MessageInfos: file_MistTrialGetChallengeMissionReq_proto_msgTypes, + }.Build() + File_MistTrialGetChallengeMissionReq_proto = out.File + file_MistTrialGetChallengeMissionReq_proto_rawDesc = nil + file_MistTrialGetChallengeMissionReq_proto_goTypes = nil + file_MistTrialGetChallengeMissionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.proto b/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.proto new file mode 100644 index 00000000..f1e6d8ef --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialGetChallengeMissionReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8893 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MistTrialGetChallengeMissionReq { + uint32 trial_id = 9; +} diff --git a/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.pb.go b/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.pb.go new file mode 100644 index 00000000..58be361b --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialGetChallengeMissionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8508 +// EnetChannelId: 0 +// EnetIsReliable: true +type MistTrialGetChallengeMissionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,1,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` + MissionInfoList []*MistTrialMissionInfo `protobuf:"bytes,15,rep,name=mission_info_list,json=missionInfoList,proto3" json:"mission_info_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MistTrialGetChallengeMissionRsp) Reset() { + *x = MistTrialGetChallengeMissionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialGetChallengeMissionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialGetChallengeMissionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialGetChallengeMissionRsp) ProtoMessage() {} + +func (x *MistTrialGetChallengeMissionRsp) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialGetChallengeMissionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialGetChallengeMissionRsp.ProtoReflect.Descriptor instead. +func (*MistTrialGetChallengeMissionRsp) Descriptor() ([]byte, []int) { + return file_MistTrialGetChallengeMissionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialGetChallengeMissionRsp) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +func (x *MistTrialGetChallengeMissionRsp) GetMissionInfoList() []*MistTrialMissionInfo { + if x != nil { + return x.MissionInfoList + } + return nil +} + +func (x *MistTrialGetChallengeMissionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MistTrialGetChallengeMissionRsp_proto protoreflect.FileDescriptor + +var file_MistTrialGetChallengeMissionRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, + 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x01, 0x0a, 0x1f, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, + 0x6c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x72, 0x69, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x41, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialGetChallengeMissionRsp_proto_rawDescOnce sync.Once + file_MistTrialGetChallengeMissionRsp_proto_rawDescData = file_MistTrialGetChallengeMissionRsp_proto_rawDesc +) + +func file_MistTrialGetChallengeMissionRsp_proto_rawDescGZIP() []byte { + file_MistTrialGetChallengeMissionRsp_proto_rawDescOnce.Do(func() { + file_MistTrialGetChallengeMissionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialGetChallengeMissionRsp_proto_rawDescData) + }) + return file_MistTrialGetChallengeMissionRsp_proto_rawDescData +} + +var file_MistTrialGetChallengeMissionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialGetChallengeMissionRsp_proto_goTypes = []interface{}{ + (*MistTrialGetChallengeMissionRsp)(nil), // 0: MistTrialGetChallengeMissionRsp + (*MistTrialMissionInfo)(nil), // 1: MistTrialMissionInfo +} +var file_MistTrialGetChallengeMissionRsp_proto_depIdxs = []int32{ + 1, // 0: MistTrialGetChallengeMissionRsp.mission_info_list:type_name -> MistTrialMissionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MistTrialGetChallengeMissionRsp_proto_init() } +func file_MistTrialGetChallengeMissionRsp_proto_init() { + if File_MistTrialGetChallengeMissionRsp_proto != nil { + return + } + file_MistTrialMissionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MistTrialGetChallengeMissionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialGetChallengeMissionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialGetChallengeMissionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialGetChallengeMissionRsp_proto_goTypes, + DependencyIndexes: file_MistTrialGetChallengeMissionRsp_proto_depIdxs, + MessageInfos: file_MistTrialGetChallengeMissionRsp_proto_msgTypes, + }.Build() + File_MistTrialGetChallengeMissionRsp_proto = out.File + file_MistTrialGetChallengeMissionRsp_proto_rawDesc = nil + file_MistTrialGetChallengeMissionRsp_proto_goTypes = nil + file_MistTrialGetChallengeMissionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.proto b/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.proto new file mode 100644 index 00000000..aaf88326 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialGetChallengeMissionRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MistTrialMissionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8508 +// EnetChannelId: 0 +// EnetIsReliable: true +message MistTrialGetChallengeMissionRsp { + uint32 trial_id = 1; + repeated MistTrialMissionInfo mission_info_list = 15; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/MistTrialLevelData.pb.go b/gate-hk4e-api/proto/MistTrialLevelData.pb.go new file mode 100644 index 00000000..20cda755 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialLevelData.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialLevelData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MistTrialLevelData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,1,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsOpen bool `protobuf:"varint,12,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + LevelId uint32 `protobuf:"varint,7,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *MistTrialLevelData) Reset() { + *x = MistTrialLevelData{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialLevelData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialLevelData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialLevelData) ProtoMessage() {} + +func (x *MistTrialLevelData) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialLevelData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialLevelData.ProtoReflect.Descriptor instead. +func (*MistTrialLevelData) Descriptor() ([]byte, []int) { + return file_MistTrialLevelData_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialLevelData) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *MistTrialLevelData) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *MistTrialLevelData) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_MistTrialLevelData_proto protoreflect.FileDescriptor + +var file_MistTrialLevelData_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x12, 0x4d, 0x69, + 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialLevelData_proto_rawDescOnce sync.Once + file_MistTrialLevelData_proto_rawDescData = file_MistTrialLevelData_proto_rawDesc +) + +func file_MistTrialLevelData_proto_rawDescGZIP() []byte { + file_MistTrialLevelData_proto_rawDescOnce.Do(func() { + file_MistTrialLevelData_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialLevelData_proto_rawDescData) + }) + return file_MistTrialLevelData_proto_rawDescData +} + +var file_MistTrialLevelData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialLevelData_proto_goTypes = []interface{}{ + (*MistTrialLevelData)(nil), // 0: MistTrialLevelData +} +var file_MistTrialLevelData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialLevelData_proto_init() } +func file_MistTrialLevelData_proto_init() { + if File_MistTrialLevelData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialLevelData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialLevelData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialLevelData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialLevelData_proto_goTypes, + DependencyIndexes: file_MistTrialLevelData_proto_depIdxs, + MessageInfos: file_MistTrialLevelData_proto_msgTypes, + }.Build() + File_MistTrialLevelData_proto = out.File + file_MistTrialLevelData_proto_rawDesc = nil + file_MistTrialLevelData_proto_goTypes = nil + file_MistTrialLevelData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialLevelData.proto b/gate-hk4e-api/proto/MistTrialLevelData.proto new file mode 100644 index 00000000..3650d48f --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialLevelData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MistTrialLevelData { + uint32 open_time = 1; + bool is_open = 12; + uint32 level_id = 7; +} diff --git a/gate-hk4e-api/proto/MistTrialMissionInfo.pb.go b/gate-hk4e-api/proto/MistTrialMissionInfo.pb.go new file mode 100644 index 00000000..95150803 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialMissionInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialMissionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MistTrialMissionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,9,opt,name=param,proto3" json:"param,omitempty"` + WatcherListId uint32 `protobuf:"varint,13,opt,name=watcher_list_id,json=watcherListId,proto3" json:"watcher_list_id,omitempty"` +} + +func (x *MistTrialMissionInfo) Reset() { + *x = MistTrialMissionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialMissionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialMissionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialMissionInfo) ProtoMessage() {} + +func (x *MistTrialMissionInfo) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialMissionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialMissionInfo.ProtoReflect.Descriptor instead. +func (*MistTrialMissionInfo) Descriptor() ([]byte, []int) { + return file_MistTrialMissionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialMissionInfo) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *MistTrialMissionInfo) GetWatcherListId() uint32 { + if x != nil { + return x.WatcherListId + } + return 0 +} + +var File_MistTrialMissionInfo_proto protoreflect.FileDescriptor + +var file_MistTrialMissionInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x14, + 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialMissionInfo_proto_rawDescOnce sync.Once + file_MistTrialMissionInfo_proto_rawDescData = file_MistTrialMissionInfo_proto_rawDesc +) + +func file_MistTrialMissionInfo_proto_rawDescGZIP() []byte { + file_MistTrialMissionInfo_proto_rawDescOnce.Do(func() { + file_MistTrialMissionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialMissionInfo_proto_rawDescData) + }) + return file_MistTrialMissionInfo_proto_rawDescData +} + +var file_MistTrialMissionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialMissionInfo_proto_goTypes = []interface{}{ + (*MistTrialMissionInfo)(nil), // 0: MistTrialMissionInfo +} +var file_MistTrialMissionInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialMissionInfo_proto_init() } +func file_MistTrialMissionInfo_proto_init() { + if File_MistTrialMissionInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialMissionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialMissionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialMissionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialMissionInfo_proto_goTypes, + DependencyIndexes: file_MistTrialMissionInfo_proto_depIdxs, + MessageInfos: file_MistTrialMissionInfo_proto_msgTypes, + }.Build() + File_MistTrialMissionInfo_proto = out.File + file_MistTrialMissionInfo_proto_rawDesc = nil + file_MistTrialMissionInfo_proto_goTypes = nil + file_MistTrialMissionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialMissionInfo.proto b/gate-hk4e-api/proto/MistTrialMissionInfo.proto new file mode 100644 index 00000000..4d3c73f5 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialMissionInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MistTrialMissionInfo { + uint32 param = 9; + uint32 watcher_list_id = 13; +} diff --git a/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.pb.go b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.pb.go new file mode 100644 index 00000000..392150d6 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialSelectAvatarAndEnterDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8666 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MistTrialSelectAvatarAndEnterDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,4,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` + SelectTrialAvatarIdList []uint32 `protobuf:"varint,10,rep,packed,name=select_trial_avatar_id_list,json=selectTrialAvatarIdList,proto3" json:"select_trial_avatar_id_list,omitempty"` + EnterPointId uint32 `protobuf:"varint,7,opt,name=enter_point_id,json=enterPointId,proto3" json:"enter_point_id,omitempty"` +} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) Reset() { + *x = MistTrialSelectAvatarAndEnterDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialSelectAvatarAndEnterDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialSelectAvatarAndEnterDungeonReq) ProtoMessage() {} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialSelectAvatarAndEnterDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialSelectAvatarAndEnterDungeonReq.ProtoReflect.Descriptor instead. +func (*MistTrialSelectAvatarAndEnterDungeonReq) Descriptor() ([]byte, []int) { + return file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) GetSelectTrialAvatarIdList() []uint32 { + if x != nil { + return x.SelectTrialAvatarIdList + } + return nil +} + +func (x *MistTrialSelectAvatarAndEnterDungeonReq) GetEnterPointId() uint32 { + if x != nil { + return x.EnterPointId + } + return 0 +} + +var File_MistTrialSelectAvatarAndEnterDungeonReq_proto protoreflect.FileDescriptor + +var file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa8, 0x01, 0x0a, 0x27, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x17, 0x73, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescOnce sync.Once + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescData = file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDesc +) + +func file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescGZIP() []byte { + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescOnce.Do(func() { + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescData) + }) + return file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDescData +} + +var file_MistTrialSelectAvatarAndEnterDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialSelectAvatarAndEnterDungeonReq_proto_goTypes = []interface{}{ + (*MistTrialSelectAvatarAndEnterDungeonReq)(nil), // 0: MistTrialSelectAvatarAndEnterDungeonReq +} +var file_MistTrialSelectAvatarAndEnterDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialSelectAvatarAndEnterDungeonReq_proto_init() } +func file_MistTrialSelectAvatarAndEnterDungeonReq_proto_init() { + if File_MistTrialSelectAvatarAndEnterDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialSelectAvatarAndEnterDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialSelectAvatarAndEnterDungeonReq_proto_goTypes, + DependencyIndexes: file_MistTrialSelectAvatarAndEnterDungeonReq_proto_depIdxs, + MessageInfos: file_MistTrialSelectAvatarAndEnterDungeonReq_proto_msgTypes, + }.Build() + File_MistTrialSelectAvatarAndEnterDungeonReq_proto = out.File + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_rawDesc = nil + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_goTypes = nil + file_MistTrialSelectAvatarAndEnterDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto new file mode 100644 index 00000000..c126a6b2 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8666 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MistTrialSelectAvatarAndEnterDungeonReq { + uint32 trial_id = 4; + repeated uint32 select_trial_avatar_id_list = 10; + uint32 enter_point_id = 7; +} diff --git a/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.pb.go b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.pb.go new file mode 100644 index 00000000..37f99da8 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MistTrialSelectAvatarAndEnterDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8239 +// EnetChannelId: 0 +// EnetIsReliable: true +type MistTrialSelectAvatarAndEnterDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,1,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MistTrialSelectAvatarAndEnterDungeonRsp) Reset() { + *x = MistTrialSelectAvatarAndEnterDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MistTrialSelectAvatarAndEnterDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MistTrialSelectAvatarAndEnterDungeonRsp) ProtoMessage() {} + +func (x *MistTrialSelectAvatarAndEnterDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MistTrialSelectAvatarAndEnterDungeonRsp.ProtoReflect.Descriptor instead. +func (*MistTrialSelectAvatarAndEnterDungeonRsp) Descriptor() ([]byte, []int) { + return file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MistTrialSelectAvatarAndEnterDungeonRsp) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +func (x *MistTrialSelectAvatarAndEnterDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MistTrialSelectAvatarAndEnterDungeonRsp_proto protoreflect.FileDescriptor + +var file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5e, 0x0a, 0x27, 0x4d, 0x69, 0x73, 0x74, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescOnce sync.Once + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescData = file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDesc +) + +func file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescGZIP() []byte { + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescOnce.Do(func() { + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescData) + }) + return file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDescData +} + +var file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_goTypes = []interface{}{ + (*MistTrialSelectAvatarAndEnterDungeonRsp)(nil), // 0: MistTrialSelectAvatarAndEnterDungeonRsp +} +var file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_init() } +func file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_init() { + if File_MistTrialSelectAvatarAndEnterDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MistTrialSelectAvatarAndEnterDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_goTypes, + DependencyIndexes: file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_depIdxs, + MessageInfos: file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_msgTypes, + }.Build() + File_MistTrialSelectAvatarAndEnterDungeonRsp_proto = out.File + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_rawDesc = nil + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_goTypes = nil + file_MistTrialSelectAvatarAndEnterDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto new file mode 100644 index 00000000..6bd0a2d3 --- /dev/null +++ b/gate-hk4e-api/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8239 +// EnetChannelId: 0 +// EnetIsReliable: true +message MistTrialSelectAvatarAndEnterDungeonRsp { + uint32 trial_id = 1; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/ModifierAction.pb.go b/gate-hk4e-api/proto/ModifierAction.pb.go new file mode 100644 index 00000000..00512599 --- /dev/null +++ b/gate-hk4e-api/proto/ModifierAction.pb.go @@ -0,0 +1,145 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ModifierAction.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ModifierAction int32 + +const ( + ModifierAction_MODIFIER_ACTION_ADDED ModifierAction = 0 + ModifierAction_MODIFIER_ACTION_REMOVED ModifierAction = 1 +) + +// Enum value maps for ModifierAction. +var ( + ModifierAction_name = map[int32]string{ + 0: "MODIFIER_ACTION_ADDED", + 1: "MODIFIER_ACTION_REMOVED", + } + ModifierAction_value = map[string]int32{ + "MODIFIER_ACTION_ADDED": 0, + "MODIFIER_ACTION_REMOVED": 1, + } +) + +func (x ModifierAction) Enum() *ModifierAction { + p := new(ModifierAction) + *p = x + return p +} + +func (x ModifierAction) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ModifierAction) Descriptor() protoreflect.EnumDescriptor { + return file_ModifierAction_proto_enumTypes[0].Descriptor() +} + +func (ModifierAction) Type() protoreflect.EnumType { + return &file_ModifierAction_proto_enumTypes[0] +} + +func (x ModifierAction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ModifierAction.Descriptor instead. +func (ModifierAction) EnumDescriptor() ([]byte, []int) { + return file_ModifierAction_proto_rawDescGZIP(), []int{0} +} + +var File_ModifierAction_proto protoreflect.FileDescriptor + +var file_ModifierAction_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x48, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x4f, 0x44, 0x49, + 0x46, 0x49, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x52, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ModifierAction_proto_rawDescOnce sync.Once + file_ModifierAction_proto_rawDescData = file_ModifierAction_proto_rawDesc +) + +func file_ModifierAction_proto_rawDescGZIP() []byte { + file_ModifierAction_proto_rawDescOnce.Do(func() { + file_ModifierAction_proto_rawDescData = protoimpl.X.CompressGZIP(file_ModifierAction_proto_rawDescData) + }) + return file_ModifierAction_proto_rawDescData +} + +var file_ModifierAction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ModifierAction_proto_goTypes = []interface{}{ + (ModifierAction)(0), // 0: ModifierAction +} +var file_ModifierAction_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ModifierAction_proto_init() } +func file_ModifierAction_proto_init() { + if File_ModifierAction_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ModifierAction_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ModifierAction_proto_goTypes, + DependencyIndexes: file_ModifierAction_proto_depIdxs, + EnumInfos: file_ModifierAction_proto_enumTypes, + }.Build() + File_ModifierAction_proto = out.File + file_ModifierAction_proto_rawDesc = nil + file_ModifierAction_proto_goTypes = nil + file_ModifierAction_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ModifierAction.proto b/gate-hk4e-api/proto/ModifierAction.proto new file mode 100644 index 00000000..63bab83f --- /dev/null +++ b/gate-hk4e-api/proto/ModifierAction.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ModifierAction { + MODIFIER_ACTION_ADDED = 0; + MODIFIER_ACTION_REMOVED = 1; +} diff --git a/gate-hk4e-api/proto/ModifierDurability.pb.go b/gate-hk4e-api/proto/ModifierDurability.pb.go new file mode 100644 index 00000000..786b850d --- /dev/null +++ b/gate-hk4e-api/proto/ModifierDurability.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ModifierDurability.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ModifierDurability struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReduceRatio float32 `protobuf:"fixed32,1,opt,name=reduce_ratio,json=reduceRatio,proto3" json:"reduce_ratio,omitempty"` + RemainingDurability float32 `protobuf:"fixed32,2,opt,name=remaining_durability,json=remainingDurability,proto3" json:"remaining_durability,omitempty"` +} + +func (x *ModifierDurability) Reset() { + *x = ModifierDurability{} + if protoimpl.UnsafeEnabled { + mi := &file_ModifierDurability_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModifierDurability) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModifierDurability) ProtoMessage() {} + +func (x *ModifierDurability) ProtoReflect() protoreflect.Message { + mi := &file_ModifierDurability_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ModifierDurability.ProtoReflect.Descriptor instead. +func (*ModifierDurability) Descriptor() ([]byte, []int) { + return file_ModifierDurability_proto_rawDescGZIP(), []int{0} +} + +func (x *ModifierDurability) GetReduceRatio() float32 { + if x != nil { + return x.ReduceRatio + } + return 0 +} + +func (x *ModifierDurability) GetRemainingDurability() float32 { + if x != nil { + return x.RemainingDurability + } + return 0 +} + +var File_ModifierDurability_proto protoreflect.FileDescriptor + +var file_ModifierDurability_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x12, 0x4d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x44, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x52, 0x61, + 0x74, 0x69, 0x6f, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x5f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x13, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x75, 0x72, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ModifierDurability_proto_rawDescOnce sync.Once + file_ModifierDurability_proto_rawDescData = file_ModifierDurability_proto_rawDesc +) + +func file_ModifierDurability_proto_rawDescGZIP() []byte { + file_ModifierDurability_proto_rawDescOnce.Do(func() { + file_ModifierDurability_proto_rawDescData = protoimpl.X.CompressGZIP(file_ModifierDurability_proto_rawDescData) + }) + return file_ModifierDurability_proto_rawDescData +} + +var file_ModifierDurability_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ModifierDurability_proto_goTypes = []interface{}{ + (*ModifierDurability)(nil), // 0: ModifierDurability +} +var file_ModifierDurability_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ModifierDurability_proto_init() } +func file_ModifierDurability_proto_init() { + if File_ModifierDurability_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ModifierDurability_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifierDurability); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ModifierDurability_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ModifierDurability_proto_goTypes, + DependencyIndexes: file_ModifierDurability_proto_depIdxs, + MessageInfos: file_ModifierDurability_proto_msgTypes, + }.Build() + File_ModifierDurability_proto = out.File + file_ModifierDurability_proto_rawDesc = nil + file_ModifierDurability_proto_goTypes = nil + file_ModifierDurability_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ModifierDurability.proto b/gate-hk4e-api/proto/ModifierDurability.proto new file mode 100644 index 00000000..56ca4232 --- /dev/null +++ b/gate-hk4e-api/proto/ModifierDurability.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ModifierDurability { + float reduce_ratio = 1; + float remaining_durability = 2; +} diff --git a/gate-hk4e-api/proto/ModifierProperty.pb.go b/gate-hk4e-api/proto/ModifierProperty.pb.go new file mode 100644 index 00000000..bec0e2bf --- /dev/null +++ b/gate-hk4e-api/proto/ModifierProperty.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ModifierProperty.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ModifierProperty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *AbilityString `protobuf:"bytes,15,opt,name=key,proto3" json:"key,omitempty"` + Value float32 `protobuf:"fixed32,5,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *ModifierProperty) Reset() { + *x = ModifierProperty{} + if protoimpl.UnsafeEnabled { + mi := &file_ModifierProperty_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModifierProperty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModifierProperty) ProtoMessage() {} + +func (x *ModifierProperty) ProtoReflect() protoreflect.Message { + mi := &file_ModifierProperty_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ModifierProperty.ProtoReflect.Descriptor instead. +func (*ModifierProperty) Descriptor() ([]byte, []int) { + return file_ModifierProperty_proto_rawDescGZIP(), []int{0} +} + +func (x *ModifierProperty) GetKey() *AbilityString { + if x != nil { + return x.Key + } + return nil +} + +func (x *ModifierProperty) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_ModifierProperty_proto protoreflect.FileDescriptor + +var file_ModifierProperty_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, + 0x10, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x12, 0x20, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ModifierProperty_proto_rawDescOnce sync.Once + file_ModifierProperty_proto_rawDescData = file_ModifierProperty_proto_rawDesc +) + +func file_ModifierProperty_proto_rawDescGZIP() []byte { + file_ModifierProperty_proto_rawDescOnce.Do(func() { + file_ModifierProperty_proto_rawDescData = protoimpl.X.CompressGZIP(file_ModifierProperty_proto_rawDescData) + }) + return file_ModifierProperty_proto_rawDescData +} + +var file_ModifierProperty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ModifierProperty_proto_goTypes = []interface{}{ + (*ModifierProperty)(nil), // 0: ModifierProperty + (*AbilityString)(nil), // 1: AbilityString +} +var file_ModifierProperty_proto_depIdxs = []int32{ + 1, // 0: ModifierProperty.key:type_name -> AbilityString + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ModifierProperty_proto_init() } +func file_ModifierProperty_proto_init() { + if File_ModifierProperty_proto != nil { + return + } + file_AbilityString_proto_init() + if !protoimpl.UnsafeEnabled { + file_ModifierProperty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifierProperty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ModifierProperty_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ModifierProperty_proto_goTypes, + DependencyIndexes: file_ModifierProperty_proto_depIdxs, + MessageInfos: file_ModifierProperty_proto_msgTypes, + }.Build() + File_ModifierProperty_proto = out.File + file_ModifierProperty_proto_rawDesc = nil + file_ModifierProperty_proto_goTypes = nil + file_ModifierProperty_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ModifierProperty.proto b/gate-hk4e-api/proto/ModifierProperty.proto new file mode 100644 index 00000000..ec8ec572 --- /dev/null +++ b/gate-hk4e-api/proto/ModifierProperty.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityString.proto"; + +option go_package = "./;proto"; + +message ModifierProperty { + AbilityString key = 15; + float value = 5; +} diff --git a/gate-hk4e-api/proto/MonsterAIConfigHashNotify.pb.go b/gate-hk4e-api/proto/MonsterAIConfigHashNotify.pb.go new file mode 100644 index 00000000..e87e6023 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterAIConfigHashNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterAIConfigHashNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3039 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MonsterAIConfigHashNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId uint32 `protobuf:"varint,10,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + HashValue int32 `protobuf:"varint,11,opt,name=hash_value,json=hashValue,proto3" json:"hash_value,omitempty"` +} + +func (x *MonsterAIConfigHashNotify) Reset() { + *x = MonsterAIConfigHashNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterAIConfigHashNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterAIConfigHashNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterAIConfigHashNotify) ProtoMessage() {} + +func (x *MonsterAIConfigHashNotify) ProtoReflect() protoreflect.Message { + mi := &file_MonsterAIConfigHashNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterAIConfigHashNotify.ProtoReflect.Descriptor instead. +func (*MonsterAIConfigHashNotify) Descriptor() ([]byte, []int) { + return file_MonsterAIConfigHashNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterAIConfigHashNotify) GetJobId() uint32 { + if x != nil { + return x.JobId + } + return 0 +} + +func (x *MonsterAIConfigHashNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *MonsterAIConfigHashNotify) GetHashValue() int32 { + if x != nil { + return x.HashValue + } + return 0 +} + +var File_MonsterAIConfigHashNotify_proto protoreflect.FileDescriptor + +var file_MonsterAIConfigHashNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x41, 0x49, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x48, 0x61, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x6e, 0x0a, 0x19, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x41, 0x49, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, + 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x68, 0x61, 0x73, 0x68, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterAIConfigHashNotify_proto_rawDescOnce sync.Once + file_MonsterAIConfigHashNotify_proto_rawDescData = file_MonsterAIConfigHashNotify_proto_rawDesc +) + +func file_MonsterAIConfigHashNotify_proto_rawDescGZIP() []byte { + file_MonsterAIConfigHashNotify_proto_rawDescOnce.Do(func() { + file_MonsterAIConfigHashNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterAIConfigHashNotify_proto_rawDescData) + }) + return file_MonsterAIConfigHashNotify_proto_rawDescData +} + +var file_MonsterAIConfigHashNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MonsterAIConfigHashNotify_proto_goTypes = []interface{}{ + (*MonsterAIConfigHashNotify)(nil), // 0: MonsterAIConfigHashNotify +} +var file_MonsterAIConfigHashNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MonsterAIConfigHashNotify_proto_init() } +func file_MonsterAIConfigHashNotify_proto_init() { + if File_MonsterAIConfigHashNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MonsterAIConfigHashNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterAIConfigHashNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterAIConfigHashNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterAIConfigHashNotify_proto_goTypes, + DependencyIndexes: file_MonsterAIConfigHashNotify_proto_depIdxs, + MessageInfos: file_MonsterAIConfigHashNotify_proto_msgTypes, + }.Build() + File_MonsterAIConfigHashNotify_proto = out.File + file_MonsterAIConfigHashNotify_proto_rawDesc = nil + file_MonsterAIConfigHashNotify_proto_goTypes = nil + file_MonsterAIConfigHashNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterAIConfigHashNotify.proto b/gate-hk4e-api/proto/MonsterAIConfigHashNotify.proto new file mode 100644 index 00000000..4895568b --- /dev/null +++ b/gate-hk4e-api/proto/MonsterAIConfigHashNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3039 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MonsterAIConfigHashNotify { + uint32 job_id = 10; + uint32 entity_id = 15; + int32 hash_value = 11; +} diff --git a/gate-hk4e-api/proto/MonsterAlertChangeNotify.pb.go b/gate-hk4e-api/proto/MonsterAlertChangeNotify.pb.go new file mode 100644 index 00000000..0de33913 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterAlertChangeNotify.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterAlertChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 363 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MonsterAlertChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarEntityId uint32 `protobuf:"varint,15,opt,name=avatar_entity_id,json=avatarEntityId,proto3" json:"avatar_entity_id,omitempty"` + MonsterEntityList []uint32 `protobuf:"varint,5,rep,packed,name=monster_entity_list,json=monsterEntityList,proto3" json:"monster_entity_list,omitempty"` + IsAlert uint32 `protobuf:"varint,13,opt,name=is_alert,json=isAlert,proto3" json:"is_alert,omitempty"` +} + +func (x *MonsterAlertChangeNotify) Reset() { + *x = MonsterAlertChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterAlertChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterAlertChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterAlertChangeNotify) ProtoMessage() {} + +func (x *MonsterAlertChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_MonsterAlertChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterAlertChangeNotify.ProtoReflect.Descriptor instead. +func (*MonsterAlertChangeNotify) Descriptor() ([]byte, []int) { + return file_MonsterAlertChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterAlertChangeNotify) GetAvatarEntityId() uint32 { + if x != nil { + return x.AvatarEntityId + } + return 0 +} + +func (x *MonsterAlertChangeNotify) GetMonsterEntityList() []uint32 { + if x != nil { + return x.MonsterEntityList + } + return nil +} + +func (x *MonsterAlertChangeNotify) GetIsAlert() uint32 { + if x != nil { + return x.IsAlert + } + return 0 +} + +var File_MonsterAlertChangeNotify_proto protoreflect.FileDescriptor + +var file_MonsterAlertChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x41, 0x6c, 0x65, 0x72, + 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, + 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x6c, + 0x65, 0x72, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x73, 0x41, 0x6c, 0x65, + 0x72, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterAlertChangeNotify_proto_rawDescOnce sync.Once + file_MonsterAlertChangeNotify_proto_rawDescData = file_MonsterAlertChangeNotify_proto_rawDesc +) + +func file_MonsterAlertChangeNotify_proto_rawDescGZIP() []byte { + file_MonsterAlertChangeNotify_proto_rawDescOnce.Do(func() { + file_MonsterAlertChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterAlertChangeNotify_proto_rawDescData) + }) + return file_MonsterAlertChangeNotify_proto_rawDescData +} + +var file_MonsterAlertChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MonsterAlertChangeNotify_proto_goTypes = []interface{}{ + (*MonsterAlertChangeNotify)(nil), // 0: MonsterAlertChangeNotify +} +var file_MonsterAlertChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MonsterAlertChangeNotify_proto_init() } +func file_MonsterAlertChangeNotify_proto_init() { + if File_MonsterAlertChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MonsterAlertChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterAlertChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterAlertChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterAlertChangeNotify_proto_goTypes, + DependencyIndexes: file_MonsterAlertChangeNotify_proto_depIdxs, + MessageInfos: file_MonsterAlertChangeNotify_proto_msgTypes, + }.Build() + File_MonsterAlertChangeNotify_proto = out.File + file_MonsterAlertChangeNotify_proto_rawDesc = nil + file_MonsterAlertChangeNotify_proto_goTypes = nil + file_MonsterAlertChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterAlertChangeNotify.proto b/gate-hk4e-api/proto/MonsterAlertChangeNotify.proto new file mode 100644 index 00000000..639858df --- /dev/null +++ b/gate-hk4e-api/proto/MonsterAlertChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 363 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MonsterAlertChangeNotify { + uint32 avatar_entity_id = 15; + repeated uint32 monster_entity_list = 5; + uint32 is_alert = 13; +} diff --git a/gate-hk4e-api/proto/MonsterBornType.pb.go b/gate-hk4e-api/proto/MonsterBornType.pb.go new file mode 100644 index 00000000..3b5315f2 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterBornType.pb.go @@ -0,0 +1,150 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterBornType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MonsterBornType int32 + +const ( + MonsterBornType_MONSTER_BORN_TYPE_NONE MonsterBornType = 0 + MonsterBornType_MONSTER_BORN_TYPE_DEFAULT MonsterBornType = 1 + MonsterBornType_MONSTER_BORN_TYPE_RANDOM MonsterBornType = 2 +) + +// Enum value maps for MonsterBornType. +var ( + MonsterBornType_name = map[int32]string{ + 0: "MONSTER_BORN_TYPE_NONE", + 1: "MONSTER_BORN_TYPE_DEFAULT", + 2: "MONSTER_BORN_TYPE_RANDOM", + } + MonsterBornType_value = map[string]int32{ + "MONSTER_BORN_TYPE_NONE": 0, + "MONSTER_BORN_TYPE_DEFAULT": 1, + "MONSTER_BORN_TYPE_RANDOM": 2, + } +) + +func (x MonsterBornType) Enum() *MonsterBornType { + p := new(MonsterBornType) + *p = x + return p +} + +func (x MonsterBornType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MonsterBornType) Descriptor() protoreflect.EnumDescriptor { + return file_MonsterBornType_proto_enumTypes[0].Descriptor() +} + +func (MonsterBornType) Type() protoreflect.EnumType { + return &file_MonsterBornType_proto_enumTypes[0] +} + +func (x MonsterBornType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MonsterBornType.Descriptor instead. +func (MonsterBornType) EnumDescriptor() ([]byte, []int) { + return file_MonsterBornType_proto_rawDescGZIP(), []int{0} +} + +var File_MonsterBornType_proto protoreflect.FileDescriptor + +var file_MonsterBornType_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x6a, 0x0a, 0x0f, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, + 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, + 0x52, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, + 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, + 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, + 0x4d, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterBornType_proto_rawDescOnce sync.Once + file_MonsterBornType_proto_rawDescData = file_MonsterBornType_proto_rawDesc +) + +func file_MonsterBornType_proto_rawDescGZIP() []byte { + file_MonsterBornType_proto_rawDescOnce.Do(func() { + file_MonsterBornType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterBornType_proto_rawDescData) + }) + return file_MonsterBornType_proto_rawDescData +} + +var file_MonsterBornType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MonsterBornType_proto_goTypes = []interface{}{ + (MonsterBornType)(0), // 0: MonsterBornType +} +var file_MonsterBornType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MonsterBornType_proto_init() } +func file_MonsterBornType_proto_init() { + if File_MonsterBornType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterBornType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterBornType_proto_goTypes, + DependencyIndexes: file_MonsterBornType_proto_depIdxs, + EnumInfos: file_MonsterBornType_proto_enumTypes, + }.Build() + File_MonsterBornType_proto = out.File + file_MonsterBornType_proto_rawDesc = nil + file_MonsterBornType_proto_goTypes = nil + file_MonsterBornType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterBornType.proto b/gate-hk4e-api/proto/MonsterBornType.proto new file mode 100644 index 00000000..b9f5bbb7 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterBornType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MonsterBornType { + MONSTER_BORN_TYPE_NONE = 0; + MONSTER_BORN_TYPE_DEFAULT = 1; + MONSTER_BORN_TYPE_RANDOM = 2; +} diff --git a/gate-hk4e-api/proto/MonsterForceAlertNotify.pb.go b/gate-hk4e-api/proto/MonsterForceAlertNotify.pb.go new file mode 100644 index 00000000..900a9fe5 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterForceAlertNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterForceAlertNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 395 +// EnetChannelId: 0 +// EnetIsReliable: true +type MonsterForceAlertNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterEntityId uint32 `protobuf:"varint,13,opt,name=monster_entity_id,json=monsterEntityId,proto3" json:"monster_entity_id,omitempty"` +} + +func (x *MonsterForceAlertNotify) Reset() { + *x = MonsterForceAlertNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterForceAlertNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterForceAlertNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterForceAlertNotify) ProtoMessage() {} + +func (x *MonsterForceAlertNotify) ProtoReflect() protoreflect.Message { + mi := &file_MonsterForceAlertNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterForceAlertNotify.ProtoReflect.Descriptor instead. +func (*MonsterForceAlertNotify) Descriptor() ([]byte, []int) { + return file_MonsterForceAlertNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterForceAlertNotify) GetMonsterEntityId() uint32 { + if x != nil { + return x.MonsterEntityId + } + return 0 +} + +var File_MonsterForceAlertNotify_proto protoreflect.FileDescriptor + +var file_MonsterForceAlertNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, 0x6c, + 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x45, 0x0a, 0x17, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x41, + 0x6c, 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterForceAlertNotify_proto_rawDescOnce sync.Once + file_MonsterForceAlertNotify_proto_rawDescData = file_MonsterForceAlertNotify_proto_rawDesc +) + +func file_MonsterForceAlertNotify_proto_rawDescGZIP() []byte { + file_MonsterForceAlertNotify_proto_rawDescOnce.Do(func() { + file_MonsterForceAlertNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterForceAlertNotify_proto_rawDescData) + }) + return file_MonsterForceAlertNotify_proto_rawDescData +} + +var file_MonsterForceAlertNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MonsterForceAlertNotify_proto_goTypes = []interface{}{ + (*MonsterForceAlertNotify)(nil), // 0: MonsterForceAlertNotify +} +var file_MonsterForceAlertNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MonsterForceAlertNotify_proto_init() } +func file_MonsterForceAlertNotify_proto_init() { + if File_MonsterForceAlertNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MonsterForceAlertNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterForceAlertNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterForceAlertNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterForceAlertNotify_proto_goTypes, + DependencyIndexes: file_MonsterForceAlertNotify_proto_depIdxs, + MessageInfos: file_MonsterForceAlertNotify_proto_msgTypes, + }.Build() + File_MonsterForceAlertNotify_proto = out.File + file_MonsterForceAlertNotify_proto_rawDesc = nil + file_MonsterForceAlertNotify_proto_goTypes = nil + file_MonsterForceAlertNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterForceAlertNotify.proto b/gate-hk4e-api/proto/MonsterForceAlertNotify.proto new file mode 100644 index 00000000..3c7c8000 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterForceAlertNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 395 +// EnetChannelId: 0 +// EnetIsReliable: true +message MonsterForceAlertNotify { + uint32 monster_entity_id = 13; +} diff --git a/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.pb.go b/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.pb.go new file mode 100644 index 00000000..9e23c266 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterPointArrayRouteUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3410 +// EnetChannelId: 0 +// EnetIsReliable: true +type MonsterPointArrayRouteUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MonsterRoute *MonsterRoute `protobuf:"bytes,5,opt,name=monster_route,json=monsterRoute,proto3" json:"monster_route,omitempty"` +} + +func (x *MonsterPointArrayRouteUpdateNotify) Reset() { + *x = MonsterPointArrayRouteUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterPointArrayRouteUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterPointArrayRouteUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterPointArrayRouteUpdateNotify) ProtoMessage() {} + +func (x *MonsterPointArrayRouteUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_MonsterPointArrayRouteUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterPointArrayRouteUpdateNotify.ProtoReflect.Descriptor instead. +func (*MonsterPointArrayRouteUpdateNotify) Descriptor() ([]byte, []int) { + return file_MonsterPointArrayRouteUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterPointArrayRouteUpdateNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *MonsterPointArrayRouteUpdateNotify) GetMonsterRoute() *MonsterRoute { + if x != nil { + return x.MonsterRoute + } + return nil +} + +var File_MonsterPointArrayRouteUpdateNotify_proto protoreflect.FileDescriptor + +var file_MonsterPointArrayRouteUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x72, + 0x72, 0x61, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, + 0x0a, 0x22, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x72, + 0x72, 0x61, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterPointArrayRouteUpdateNotify_proto_rawDescOnce sync.Once + file_MonsterPointArrayRouteUpdateNotify_proto_rawDescData = file_MonsterPointArrayRouteUpdateNotify_proto_rawDesc +) + +func file_MonsterPointArrayRouteUpdateNotify_proto_rawDescGZIP() []byte { + file_MonsterPointArrayRouteUpdateNotify_proto_rawDescOnce.Do(func() { + file_MonsterPointArrayRouteUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterPointArrayRouteUpdateNotify_proto_rawDescData) + }) + return file_MonsterPointArrayRouteUpdateNotify_proto_rawDescData +} + +var file_MonsterPointArrayRouteUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MonsterPointArrayRouteUpdateNotify_proto_goTypes = []interface{}{ + (*MonsterPointArrayRouteUpdateNotify)(nil), // 0: MonsterPointArrayRouteUpdateNotify + (*MonsterRoute)(nil), // 1: MonsterRoute +} +var file_MonsterPointArrayRouteUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: MonsterPointArrayRouteUpdateNotify.monster_route:type_name -> MonsterRoute + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MonsterPointArrayRouteUpdateNotify_proto_init() } +func file_MonsterPointArrayRouteUpdateNotify_proto_init() { + if File_MonsterPointArrayRouteUpdateNotify_proto != nil { + return + } + file_MonsterRoute_proto_init() + if !protoimpl.UnsafeEnabled { + file_MonsterPointArrayRouteUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterPointArrayRouteUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterPointArrayRouteUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterPointArrayRouteUpdateNotify_proto_goTypes, + DependencyIndexes: file_MonsterPointArrayRouteUpdateNotify_proto_depIdxs, + MessageInfos: file_MonsterPointArrayRouteUpdateNotify_proto_msgTypes, + }.Build() + File_MonsterPointArrayRouteUpdateNotify_proto = out.File + file_MonsterPointArrayRouteUpdateNotify_proto_rawDesc = nil + file_MonsterPointArrayRouteUpdateNotify_proto_goTypes = nil + file_MonsterPointArrayRouteUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.proto b/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.proto new file mode 100644 index 00000000..112ad924 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterPointArrayRouteUpdateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MonsterRoute.proto"; + +option go_package = "./;proto"; + +// CmdId: 3410 +// EnetChannelId: 0 +// EnetIsReliable: true +message MonsterPointArrayRouteUpdateNotify { + uint32 entity_id = 7; + MonsterRoute monster_route = 5; +} diff --git a/gate-hk4e-api/proto/MonsterRoute.pb.go b/gate-hk4e-api/proto/MonsterRoute.pb.go new file mode 100644 index 00000000..2d1c1721 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterRoute.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterRoute.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MonsterRoute struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutePoints []*RoutePoint `protobuf:"bytes,1,rep,name=route_points,json=routePoints,proto3" json:"route_points,omitempty"` + SpeedLevel uint32 `protobuf:"varint,2,opt,name=speed_level,json=speedLevel,proto3" json:"speed_level,omitempty"` + RouteType uint32 `protobuf:"varint,3,opt,name=route_type,json=routeType,proto3" json:"route_type,omitempty"` + ArriveRange float32 `protobuf:"fixed32,4,opt,name=arrive_range,json=arriveRange,proto3" json:"arrive_range,omitempty"` +} + +func (x *MonsterRoute) Reset() { + *x = MonsterRoute{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterRoute_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterRoute) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterRoute) ProtoMessage() {} + +func (x *MonsterRoute) ProtoReflect() protoreflect.Message { + mi := &file_MonsterRoute_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterRoute.ProtoReflect.Descriptor instead. +func (*MonsterRoute) Descriptor() ([]byte, []int) { + return file_MonsterRoute_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterRoute) GetRoutePoints() []*RoutePoint { + if x != nil { + return x.RoutePoints + } + return nil +} + +func (x *MonsterRoute) GetSpeedLevel() uint32 { + if x != nil { + return x.SpeedLevel + } + return 0 +} + +func (x *MonsterRoute) GetRouteType() uint32 { + if x != nil { + return x.RouteType + } + return 0 +} + +func (x *MonsterRoute) GetArriveRange() float32 { + if x != nil { + return x.ArriveRange + } + return 0 +} + +var File_MonsterRoute_proto protoreflect.FileDescriptor + +var file_MonsterRoute_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x70, 0x65, 0x65, 0x64, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x70, + 0x65, 0x65, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x72, 0x69, 0x76, + 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x61, + 0x72, 0x72, 0x69, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterRoute_proto_rawDescOnce sync.Once + file_MonsterRoute_proto_rawDescData = file_MonsterRoute_proto_rawDesc +) + +func file_MonsterRoute_proto_rawDescGZIP() []byte { + file_MonsterRoute_proto_rawDescOnce.Do(func() { + file_MonsterRoute_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterRoute_proto_rawDescData) + }) + return file_MonsterRoute_proto_rawDescData +} + +var file_MonsterRoute_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MonsterRoute_proto_goTypes = []interface{}{ + (*MonsterRoute)(nil), // 0: MonsterRoute + (*RoutePoint)(nil), // 1: RoutePoint +} +var file_MonsterRoute_proto_depIdxs = []int32{ + 1, // 0: MonsterRoute.route_points:type_name -> RoutePoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MonsterRoute_proto_init() } +func file_MonsterRoute_proto_init() { + if File_MonsterRoute_proto != nil { + return + } + file_RoutePoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_MonsterRoute_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterRoute); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterRoute_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterRoute_proto_goTypes, + DependencyIndexes: file_MonsterRoute_proto_depIdxs, + MessageInfos: file_MonsterRoute_proto_msgTypes, + }.Build() + File_MonsterRoute_proto = out.File + file_MonsterRoute_proto_rawDesc = nil + file_MonsterRoute_proto_goTypes = nil + file_MonsterRoute_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterRoute.proto b/gate-hk4e-api/proto/MonsterRoute.proto new file mode 100644 index 00000000..382d2886 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterRoute.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoutePoint.proto"; + +option go_package = "./;proto"; + +message MonsterRoute { + repeated RoutePoint route_points = 1; + uint32 speed_level = 2; + uint32 route_type = 3; + float arrive_range = 4; +} diff --git a/gate-hk4e-api/proto/MonsterSummonTagNotify.pb.go b/gate-hk4e-api/proto/MonsterSummonTagNotify.pb.go new file mode 100644 index 00000000..7dfec0e0 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterSummonTagNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MonsterSummonTagNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1372 +// EnetChannelId: 0 +// EnetIsReliable: true +type MonsterSummonTagNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SummonTagMap map[uint32]uint32 `protobuf:"bytes,1,rep,name=summon_tag_map,json=summonTagMap,proto3" json:"summon_tag_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + MonsterEntityId uint32 `protobuf:"varint,8,opt,name=monster_entity_id,json=monsterEntityId,proto3" json:"monster_entity_id,omitempty"` +} + +func (x *MonsterSummonTagNotify) Reset() { + *x = MonsterSummonTagNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MonsterSummonTagNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MonsterSummonTagNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MonsterSummonTagNotify) ProtoMessage() {} + +func (x *MonsterSummonTagNotify) ProtoReflect() protoreflect.Message { + mi := &file_MonsterSummonTagNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MonsterSummonTagNotify.ProtoReflect.Descriptor instead. +func (*MonsterSummonTagNotify) Descriptor() ([]byte, []int) { + return file_MonsterSummonTagNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MonsterSummonTagNotify) GetSummonTagMap() map[uint32]uint32 { + if x != nil { + return x.SummonTagMap + } + return nil +} + +func (x *MonsterSummonTagNotify) GetMonsterEntityId() uint32 { + if x != nil { + return x.MonsterEntityId + } + return 0 +} + +var File_MonsterSummonTagNotify_proto protoreflect.FileDescriptor + +var file_MonsterSummonTagNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, + 0x61, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, + 0x01, 0x0a, 0x16, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, + 0x54, 0x61, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4f, 0x0a, 0x0e, 0x73, 0x75, 0x6d, + 0x6d, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x6f, + 0x6e, 0x54, 0x61, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x6f, + 0x6e, 0x54, 0x61, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x75, + 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x4d, 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, + 0x54, 0x61, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MonsterSummonTagNotify_proto_rawDescOnce sync.Once + file_MonsterSummonTagNotify_proto_rawDescData = file_MonsterSummonTagNotify_proto_rawDesc +) + +func file_MonsterSummonTagNotify_proto_rawDescGZIP() []byte { + file_MonsterSummonTagNotify_proto_rawDescOnce.Do(func() { + file_MonsterSummonTagNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MonsterSummonTagNotify_proto_rawDescData) + }) + return file_MonsterSummonTagNotify_proto_rawDescData +} + +var file_MonsterSummonTagNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_MonsterSummonTagNotify_proto_goTypes = []interface{}{ + (*MonsterSummonTagNotify)(nil), // 0: MonsterSummonTagNotify + nil, // 1: MonsterSummonTagNotify.SummonTagMapEntry +} +var file_MonsterSummonTagNotify_proto_depIdxs = []int32{ + 1, // 0: MonsterSummonTagNotify.summon_tag_map:type_name -> MonsterSummonTagNotify.SummonTagMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MonsterSummonTagNotify_proto_init() } +func file_MonsterSummonTagNotify_proto_init() { + if File_MonsterSummonTagNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MonsterSummonTagNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonsterSummonTagNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MonsterSummonTagNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MonsterSummonTagNotify_proto_goTypes, + DependencyIndexes: file_MonsterSummonTagNotify_proto_depIdxs, + MessageInfos: file_MonsterSummonTagNotify_proto_msgTypes, + }.Build() + File_MonsterSummonTagNotify_proto = out.File + file_MonsterSummonTagNotify_proto_rawDesc = nil + file_MonsterSummonTagNotify_proto_goTypes = nil + file_MonsterSummonTagNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MonsterSummonTagNotify.proto b/gate-hk4e-api/proto/MonsterSummonTagNotify.proto new file mode 100644 index 00000000..ef7d0de3 --- /dev/null +++ b/gate-hk4e-api/proto/MonsterSummonTagNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1372 +// EnetChannelId: 0 +// EnetIsReliable: true +message MonsterSummonTagNotify { + map summon_tag_map = 1; + uint32 monster_entity_id = 8; +} diff --git a/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.pb.go b/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.pb.go new file mode 100644 index 00000000..5e4bfde5 --- /dev/null +++ b/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MoonfinTrialActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MoonfinTrialActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelInfoMap map[uint32]*MoonfinTrialLevelInfo `protobuf:"bytes,5,rep,name=level_info_map,json=levelInfoMap,proto3" json:"level_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SpecialFishCount uint32 `protobuf:"varint,11,opt,name=special_fish_count,json=specialFishCount,proto3" json:"special_fish_count,omitempty"` +} + +func (x *MoonfinTrialActivityDetailInfo) Reset() { + *x = MoonfinTrialActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MoonfinTrialActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoonfinTrialActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoonfinTrialActivityDetailInfo) ProtoMessage() {} + +func (x *MoonfinTrialActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_MoonfinTrialActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoonfinTrialActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*MoonfinTrialActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_MoonfinTrialActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MoonfinTrialActivityDetailInfo) GetLevelInfoMap() map[uint32]*MoonfinTrialLevelInfo { + if x != nil { + return x.LevelInfoMap + } + return nil +} + +func (x *MoonfinTrialActivityDetailInfo) GetSpecialFishCount() uint32 { + if x != nil { + return x.SpecialFishCount + } + return 0 +} + +var File_MoonfinTrialActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_MoonfinTrialActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, + 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, 0x1e, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, + 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x57, 0x0a, 0x0e, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, + 0x2e, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0c, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, + 0x2c, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x73, 0x68, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x70, 0x65, + 0x63, 0x69, 0x61, 0x6c, 0x46, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x57, 0x0a, + 0x11, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, + 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MoonfinTrialActivityDetailInfo_proto_rawDescOnce sync.Once + file_MoonfinTrialActivityDetailInfo_proto_rawDescData = file_MoonfinTrialActivityDetailInfo_proto_rawDesc +) + +func file_MoonfinTrialActivityDetailInfo_proto_rawDescGZIP() []byte { + file_MoonfinTrialActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_MoonfinTrialActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MoonfinTrialActivityDetailInfo_proto_rawDescData) + }) + return file_MoonfinTrialActivityDetailInfo_proto_rawDescData +} + +var file_MoonfinTrialActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_MoonfinTrialActivityDetailInfo_proto_goTypes = []interface{}{ + (*MoonfinTrialActivityDetailInfo)(nil), // 0: MoonfinTrialActivityDetailInfo + nil, // 1: MoonfinTrialActivityDetailInfo.LevelInfoMapEntry + (*MoonfinTrialLevelInfo)(nil), // 2: MoonfinTrialLevelInfo +} +var file_MoonfinTrialActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: MoonfinTrialActivityDetailInfo.level_info_map:type_name -> MoonfinTrialActivityDetailInfo.LevelInfoMapEntry + 2, // 1: MoonfinTrialActivityDetailInfo.LevelInfoMapEntry.value:type_name -> MoonfinTrialLevelInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_MoonfinTrialActivityDetailInfo_proto_init() } +func file_MoonfinTrialActivityDetailInfo_proto_init() { + if File_MoonfinTrialActivityDetailInfo_proto != nil { + return + } + file_MoonfinTrialLevelInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MoonfinTrialActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoonfinTrialActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MoonfinTrialActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MoonfinTrialActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_MoonfinTrialActivityDetailInfo_proto_depIdxs, + MessageInfos: file_MoonfinTrialActivityDetailInfo_proto_msgTypes, + }.Build() + File_MoonfinTrialActivityDetailInfo_proto = out.File + file_MoonfinTrialActivityDetailInfo_proto_rawDesc = nil + file_MoonfinTrialActivityDetailInfo_proto_goTypes = nil + file_MoonfinTrialActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.proto b/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.proto new file mode 100644 index 00000000..31d3f5ae --- /dev/null +++ b/gate-hk4e-api/proto/MoonfinTrialActivityDetailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MoonfinTrialLevelInfo.proto"; + +option go_package = "./;proto"; + +message MoonfinTrialActivityDetailInfo { + map level_info_map = 5; + uint32 special_fish_count = 11; +} diff --git a/gate-hk4e-api/proto/MoonfinTrialLevelInfo.pb.go b/gate-hk4e-api/proto/MoonfinTrialLevelInfo.pb.go new file mode 100644 index 00000000..26dcf0b9 --- /dev/null +++ b/gate-hk4e-api/proto/MoonfinTrialLevelInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MoonfinTrialLevelInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MoonfinTrialLevelInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestRecord uint32 `protobuf:"varint,3,opt,name=best_record,json=bestRecord,proto3" json:"best_record,omitempty"` + OpenTime uint32 `protobuf:"varint,1,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` +} + +func (x *MoonfinTrialLevelInfo) Reset() { + *x = MoonfinTrialLevelInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MoonfinTrialLevelInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoonfinTrialLevelInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoonfinTrialLevelInfo) ProtoMessage() {} + +func (x *MoonfinTrialLevelInfo) ProtoReflect() protoreflect.Message { + mi := &file_MoonfinTrialLevelInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoonfinTrialLevelInfo.ProtoReflect.Descriptor instead. +func (*MoonfinTrialLevelInfo) Descriptor() ([]byte, []int) { + return file_MoonfinTrialLevelInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MoonfinTrialLevelInfo) GetBestRecord() uint32 { + if x != nil { + return x.BestRecord + } + return 0 +} + +func (x *MoonfinTrialLevelInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +var File_MoonfinTrialLevelInfo_proto protoreflect.FileDescriptor + +var file_MoonfinTrialLevelInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, + 0x15, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x65, 0x73, + 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MoonfinTrialLevelInfo_proto_rawDescOnce sync.Once + file_MoonfinTrialLevelInfo_proto_rawDescData = file_MoonfinTrialLevelInfo_proto_rawDesc +) + +func file_MoonfinTrialLevelInfo_proto_rawDescGZIP() []byte { + file_MoonfinTrialLevelInfo_proto_rawDescOnce.Do(func() { + file_MoonfinTrialLevelInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MoonfinTrialLevelInfo_proto_rawDescData) + }) + return file_MoonfinTrialLevelInfo_proto_rawDescData +} + +var file_MoonfinTrialLevelInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MoonfinTrialLevelInfo_proto_goTypes = []interface{}{ + (*MoonfinTrialLevelInfo)(nil), // 0: MoonfinTrialLevelInfo +} +var file_MoonfinTrialLevelInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MoonfinTrialLevelInfo_proto_init() } +func file_MoonfinTrialLevelInfo_proto_init() { + if File_MoonfinTrialLevelInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MoonfinTrialLevelInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoonfinTrialLevelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MoonfinTrialLevelInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MoonfinTrialLevelInfo_proto_goTypes, + DependencyIndexes: file_MoonfinTrialLevelInfo_proto_depIdxs, + MessageInfos: file_MoonfinTrialLevelInfo_proto_msgTypes, + }.Build() + File_MoonfinTrialLevelInfo_proto = out.File + file_MoonfinTrialLevelInfo_proto_rawDesc = nil + file_MoonfinTrialLevelInfo_proto_goTypes = nil + file_MoonfinTrialLevelInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MoonfinTrialLevelInfo.proto b/gate-hk4e-api/proto/MoonfinTrialLevelInfo.proto new file mode 100644 index 00000000..7eebe77b --- /dev/null +++ b/gate-hk4e-api/proto/MoonfinTrialLevelInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MoonfinTrialLevelInfo { + uint32 best_record = 3; + uint32 open_time = 1; +} diff --git a/gate-hk4e-api/proto/MotionInfo.pb.go b/gate-hk4e-api/proto/MotionInfo.pb.go new file mode 100644 index 00000000..14e0bba6 --- /dev/null +++ b/gate-hk4e-api/proto/MotionInfo.pb.go @@ -0,0 +1,250 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MotionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MotionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,2,opt,name=rot,proto3" json:"rot,omitempty"` + Speed *Vector `protobuf:"bytes,3,opt,name=speed,proto3" json:"speed,omitempty"` + State MotionState `protobuf:"varint,4,opt,name=state,proto3,enum=MotionState" json:"state,omitempty"` + Params []*Vector `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"` + RefPos *Vector `protobuf:"bytes,6,opt,name=ref_pos,json=refPos,proto3" json:"ref_pos,omitempty"` + RefId uint32 `protobuf:"varint,7,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"` + SceneTime uint32 `protobuf:"varint,8,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + IntervalVelocity uint64 `protobuf:"varint,9,opt,name=interval_velocity,json=intervalVelocity,proto3" json:"interval_velocity,omitempty"` +} + +func (x *MotionInfo) Reset() { + *x = MotionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MotionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MotionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MotionInfo) ProtoMessage() {} + +func (x *MotionInfo) ProtoReflect() protoreflect.Message { + mi := &file_MotionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MotionInfo.ProtoReflect.Descriptor instead. +func (*MotionInfo) Descriptor() ([]byte, []int) { + return file_MotionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MotionInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *MotionInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *MotionInfo) GetSpeed() *Vector { + if x != nil { + return x.Speed + } + return nil +} + +func (x *MotionInfo) GetState() MotionState { + if x != nil { + return x.State + } + return MotionState_MOTION_STATE_NONE +} + +func (x *MotionInfo) GetParams() []*Vector { + if x != nil { + return x.Params + } + return nil +} + +func (x *MotionInfo) GetRefPos() *Vector { + if x != nil { + return x.RefPos + } + return nil +} + +func (x *MotionInfo) GetRefId() uint32 { + if x != nil { + return x.RefId + } + return 0 +} + +func (x *MotionInfo) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *MotionInfo) GetIntervalVelocity() uint64 { + if x != nil { + return x.IntervalVelocity + } + return 0 +} + +var File_MotionInfo_proto protoreflect.FileDescriptor + +var file_MotionInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x02, 0x0a, 0x0a, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, + 0x03, 0x72, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x07, + 0x72, 0x65, 0x66, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x72, 0x65, 0x66, 0x50, 0x6f, 0x73, 0x12, 0x15, + 0x0a, 0x06, 0x72, 0x65, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x72, 0x65, 0x66, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, + 0x5f, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x56, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, + 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MotionInfo_proto_rawDescOnce sync.Once + file_MotionInfo_proto_rawDescData = file_MotionInfo_proto_rawDesc +) + +func file_MotionInfo_proto_rawDescGZIP() []byte { + file_MotionInfo_proto_rawDescOnce.Do(func() { + file_MotionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MotionInfo_proto_rawDescData) + }) + return file_MotionInfo_proto_rawDescData +} + +var file_MotionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MotionInfo_proto_goTypes = []interface{}{ + (*MotionInfo)(nil), // 0: MotionInfo + (*Vector)(nil), // 1: Vector + (MotionState)(0), // 2: MotionState +} +var file_MotionInfo_proto_depIdxs = []int32{ + 1, // 0: MotionInfo.pos:type_name -> Vector + 1, // 1: MotionInfo.rot:type_name -> Vector + 1, // 2: MotionInfo.speed:type_name -> Vector + 2, // 3: MotionInfo.state:type_name -> MotionState + 1, // 4: MotionInfo.params:type_name -> Vector + 1, // 5: MotionInfo.ref_pos:type_name -> Vector + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_MotionInfo_proto_init() } +func file_MotionInfo_proto_init() { + if File_MotionInfo_proto != nil { + return + } + file_MotionState_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_MotionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MotionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MotionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MotionInfo_proto_goTypes, + DependencyIndexes: file_MotionInfo_proto_depIdxs, + MessageInfos: file_MotionInfo_proto_msgTypes, + }.Build() + File_MotionInfo_proto = out.File + file_MotionInfo_proto_rawDesc = nil + file_MotionInfo_proto_goTypes = nil + file_MotionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MotionInfo.proto b/gate-hk4e-api/proto/MotionInfo.proto new file mode 100644 index 00000000..eaf9f660 --- /dev/null +++ b/gate-hk4e-api/proto/MotionInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionState.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message MotionInfo { + Vector pos = 1; + Vector rot = 2; + Vector speed = 3; + MotionState state = 4; + repeated Vector params = 5; + Vector ref_pos = 6; + uint32 ref_id = 7; + uint32 scene_time = 8; + uint64 interval_velocity = 9; +} diff --git a/gate-hk4e-api/proto/MotionState.pb.go b/gate-hk4e-api/proto/MotionState.pb.go new file mode 100644 index 00000000..93d8a742 --- /dev/null +++ b/gate-hk4e-api/proto/MotionState.pb.go @@ -0,0 +1,411 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MotionState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MotionState int32 + +const ( + MotionState_MOTION_STATE_NONE MotionState = 0 + MotionState_MOTION_STATE_RESET MotionState = 1 + MotionState_MOTION_STATE_STANDBY MotionState = 2 + MotionState_MOTION_STATE_STANDBY_MOVE MotionState = 3 + MotionState_MOTION_STATE_WALK MotionState = 4 + MotionState_MOTION_STATE_RUN MotionState = 5 + MotionState_MOTION_STATE_DASH MotionState = 6 + MotionState_MOTION_STATE_CLIMB MotionState = 7 + MotionState_MOTION_STATE_CLIMB_JUMP MotionState = 8 + MotionState_MOTION_STATE_STANDBY_TO_CLIMB MotionState = 9 + MotionState_MOTION_STATE_FIGHT MotionState = 10 + MotionState_MOTION_STATE_JUMP MotionState = 11 + MotionState_MOTION_STATE_DROP MotionState = 12 + MotionState_MOTION_STATE_FLY MotionState = 13 + MotionState_MOTION_STATE_SWIM_MOVE MotionState = 14 + MotionState_MOTION_STATE_SWIM_IDLE MotionState = 15 + MotionState_MOTION_STATE_SWIM_DASH MotionState = 16 + MotionState_MOTION_STATE_SWIM_JUMP MotionState = 17 + MotionState_MOTION_STATE_SLIP MotionState = 18 + MotionState_MOTION_STATE_GO_UPSTAIRS MotionState = 19 + MotionState_MOTION_STATE_FALL_ON_GROUND MotionState = 20 + MotionState_MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY MotionState = 21 + MotionState_MOTION_STATE_JUMP_OFF_WALL MotionState = 22 + MotionState_MOTION_STATE_POWERED_FLY MotionState = 23 + MotionState_MOTION_STATE_LADDER_IDLE MotionState = 24 + MotionState_MOTION_STATE_LADDER_MOVE MotionState = 25 + MotionState_MOTION_STATE_LADDER_SLIP MotionState = 26 + MotionState_MOTION_STATE_STANDBY_TO_LADDER MotionState = 27 + MotionState_MOTION_STATE_LADDER_TO_STANDBY MotionState = 28 + MotionState_MOTION_STATE_DANGER_STANDBY MotionState = 29 + MotionState_MOTION_STATE_DANGER_STANDBY_MOVE MotionState = 30 + MotionState_MOTION_STATE_DANGER_WALK MotionState = 31 + MotionState_MOTION_STATE_DANGER_RUN MotionState = 32 + MotionState_MOTION_STATE_DANGER_DASH MotionState = 33 + MotionState_MOTION_STATE_CROUCH_IDLE MotionState = 34 + MotionState_MOTION_STATE_CROUCH_MOVE MotionState = 35 + MotionState_MOTION_STATE_CROUCH_ROLL MotionState = 36 + MotionState_MOTION_STATE_NOTIFY MotionState = 37 + MotionState_MOTION_STATE_LAND_SPEED MotionState = 38 + MotionState_MOTION_STATE_MOVE_FAIL_ACK MotionState = 39 + MotionState_MOTION_STATE_WATERFALL MotionState = 40 + MotionState_MOTION_STATE_DASH_BEFORE_SHAKE MotionState = 41 + MotionState_MOTION_STATE_SIT_IDLE MotionState = 42 + MotionState_MOTION_STATE_FORCE_SET_POS MotionState = 43 + MotionState_MOTION_STATE_QUEST_FORCE_DRAG MotionState = 44 + MotionState_MOTION_STATE_FOLLOW_ROUTE MotionState = 45 + MotionState_MOTION_STATE_SKIFF_BOARDING MotionState = 46 + MotionState_MOTION_STATE_SKIFF_NORMAL MotionState = 47 + MotionState_MOTION_STATE_SKIFF_DASH MotionState = 48 + MotionState_MOTION_STATE_SKIFF_POWERED_DASH MotionState = 49 + MotionState_MOTION_STATE_DESTROY_VEHICLE MotionState = 50 + MotionState_MOTION_STATE_FLY_IDLE MotionState = 51 + MotionState_MOTION_STATE_FLY_SLOW MotionState = 52 + MotionState_MOTION_STATE_FLY_FAST MotionState = 53 + MotionState_MOTION_STATE_NUM MotionState = 54 + MotionState_MOTION_STATE_Unk2700_OOFNNHKLEFE MotionState = 55 + MotionState_MOTION_STATE_Unk2700_KMIGLMEGNOK MotionState = 56 +) + +// Enum value maps for MotionState. +var ( + MotionState_name = map[int32]string{ + 0: "MOTION_STATE_NONE", + 1: "MOTION_STATE_RESET", + 2: "MOTION_STATE_STANDBY", + 3: "MOTION_STATE_STANDBY_MOVE", + 4: "MOTION_STATE_WALK", + 5: "MOTION_STATE_RUN", + 6: "MOTION_STATE_DASH", + 7: "MOTION_STATE_CLIMB", + 8: "MOTION_STATE_CLIMB_JUMP", + 9: "MOTION_STATE_STANDBY_TO_CLIMB", + 10: "MOTION_STATE_FIGHT", + 11: "MOTION_STATE_JUMP", + 12: "MOTION_STATE_DROP", + 13: "MOTION_STATE_FLY", + 14: "MOTION_STATE_SWIM_MOVE", + 15: "MOTION_STATE_SWIM_IDLE", + 16: "MOTION_STATE_SWIM_DASH", + 17: "MOTION_STATE_SWIM_JUMP", + 18: "MOTION_STATE_SLIP", + 19: "MOTION_STATE_GO_UPSTAIRS", + 20: "MOTION_STATE_FALL_ON_GROUND", + 21: "MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY", + 22: "MOTION_STATE_JUMP_OFF_WALL", + 23: "MOTION_STATE_POWERED_FLY", + 24: "MOTION_STATE_LADDER_IDLE", + 25: "MOTION_STATE_LADDER_MOVE", + 26: "MOTION_STATE_LADDER_SLIP", + 27: "MOTION_STATE_STANDBY_TO_LADDER", + 28: "MOTION_STATE_LADDER_TO_STANDBY", + 29: "MOTION_STATE_DANGER_STANDBY", + 30: "MOTION_STATE_DANGER_STANDBY_MOVE", + 31: "MOTION_STATE_DANGER_WALK", + 32: "MOTION_STATE_DANGER_RUN", + 33: "MOTION_STATE_DANGER_DASH", + 34: "MOTION_STATE_CROUCH_IDLE", + 35: "MOTION_STATE_CROUCH_MOVE", + 36: "MOTION_STATE_CROUCH_ROLL", + 37: "MOTION_STATE_NOTIFY", + 38: "MOTION_STATE_LAND_SPEED", + 39: "MOTION_STATE_MOVE_FAIL_ACK", + 40: "MOTION_STATE_WATERFALL", + 41: "MOTION_STATE_DASH_BEFORE_SHAKE", + 42: "MOTION_STATE_SIT_IDLE", + 43: "MOTION_STATE_FORCE_SET_POS", + 44: "MOTION_STATE_QUEST_FORCE_DRAG", + 45: "MOTION_STATE_FOLLOW_ROUTE", + 46: "MOTION_STATE_SKIFF_BOARDING", + 47: "MOTION_STATE_SKIFF_NORMAL", + 48: "MOTION_STATE_SKIFF_DASH", + 49: "MOTION_STATE_SKIFF_POWERED_DASH", + 50: "MOTION_STATE_DESTROY_VEHICLE", + 51: "MOTION_STATE_FLY_IDLE", + 52: "MOTION_STATE_FLY_SLOW", + 53: "MOTION_STATE_FLY_FAST", + 54: "MOTION_STATE_NUM", + 55: "MOTION_STATE_Unk2700_OOFNNHKLEFE", + 56: "MOTION_STATE_Unk2700_KMIGLMEGNOK", + } + MotionState_value = map[string]int32{ + "MOTION_STATE_NONE": 0, + "MOTION_STATE_RESET": 1, + "MOTION_STATE_STANDBY": 2, + "MOTION_STATE_STANDBY_MOVE": 3, + "MOTION_STATE_WALK": 4, + "MOTION_STATE_RUN": 5, + "MOTION_STATE_DASH": 6, + "MOTION_STATE_CLIMB": 7, + "MOTION_STATE_CLIMB_JUMP": 8, + "MOTION_STATE_STANDBY_TO_CLIMB": 9, + "MOTION_STATE_FIGHT": 10, + "MOTION_STATE_JUMP": 11, + "MOTION_STATE_DROP": 12, + "MOTION_STATE_FLY": 13, + "MOTION_STATE_SWIM_MOVE": 14, + "MOTION_STATE_SWIM_IDLE": 15, + "MOTION_STATE_SWIM_DASH": 16, + "MOTION_STATE_SWIM_JUMP": 17, + "MOTION_STATE_SLIP": 18, + "MOTION_STATE_GO_UPSTAIRS": 19, + "MOTION_STATE_FALL_ON_GROUND": 20, + "MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY": 21, + "MOTION_STATE_JUMP_OFF_WALL": 22, + "MOTION_STATE_POWERED_FLY": 23, + "MOTION_STATE_LADDER_IDLE": 24, + "MOTION_STATE_LADDER_MOVE": 25, + "MOTION_STATE_LADDER_SLIP": 26, + "MOTION_STATE_STANDBY_TO_LADDER": 27, + "MOTION_STATE_LADDER_TO_STANDBY": 28, + "MOTION_STATE_DANGER_STANDBY": 29, + "MOTION_STATE_DANGER_STANDBY_MOVE": 30, + "MOTION_STATE_DANGER_WALK": 31, + "MOTION_STATE_DANGER_RUN": 32, + "MOTION_STATE_DANGER_DASH": 33, + "MOTION_STATE_CROUCH_IDLE": 34, + "MOTION_STATE_CROUCH_MOVE": 35, + "MOTION_STATE_CROUCH_ROLL": 36, + "MOTION_STATE_NOTIFY": 37, + "MOTION_STATE_LAND_SPEED": 38, + "MOTION_STATE_MOVE_FAIL_ACK": 39, + "MOTION_STATE_WATERFALL": 40, + "MOTION_STATE_DASH_BEFORE_SHAKE": 41, + "MOTION_STATE_SIT_IDLE": 42, + "MOTION_STATE_FORCE_SET_POS": 43, + "MOTION_STATE_QUEST_FORCE_DRAG": 44, + "MOTION_STATE_FOLLOW_ROUTE": 45, + "MOTION_STATE_SKIFF_BOARDING": 46, + "MOTION_STATE_SKIFF_NORMAL": 47, + "MOTION_STATE_SKIFF_DASH": 48, + "MOTION_STATE_SKIFF_POWERED_DASH": 49, + "MOTION_STATE_DESTROY_VEHICLE": 50, + "MOTION_STATE_FLY_IDLE": 51, + "MOTION_STATE_FLY_SLOW": 52, + "MOTION_STATE_FLY_FAST": 53, + "MOTION_STATE_NUM": 54, + "MOTION_STATE_Unk2700_OOFNNHKLEFE": 55, + "MOTION_STATE_Unk2700_KMIGLMEGNOK": 56, + } +) + +func (x MotionState) Enum() *MotionState { + p := new(MotionState) + *p = x + return p +} + +func (x MotionState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MotionState) Descriptor() protoreflect.EnumDescriptor { + return file_MotionState_proto_enumTypes[0].Descriptor() +} + +func (MotionState) Type() protoreflect.EnumType { + return &file_MotionState_proto_enumTypes[0] +} + +func (x MotionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MotionState.Descriptor instead. +func (MotionState) EnumDescriptor() ([]byte, []int) { + return file_MotionState_proto_rawDescGZIP(), []int{0} +} + +var File_MotionState_proto protoreflect.FileDescriptor + +var file_MotionState_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2a, 0xa2, 0x0d, 0x0a, 0x0b, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x4f, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, + 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x42, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, + 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x4e, 0x44, 0x42, 0x59, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x4d, + 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x57, 0x41, 0x4c, 0x4b, + 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, + 0x16, 0x0a, 0x12, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x43, 0x4c, 0x49, 0x4d, 0x42, 0x10, 0x07, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x4d, 0x42, 0x5f, 0x4a, 0x55, + 0x4d, 0x50, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x42, 0x59, 0x5f, 0x54, 0x4f, 0x5f, + 0x43, 0x4c, 0x49, 0x4d, 0x42, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x4f, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x47, 0x48, 0x54, 0x10, 0x0a, 0x12, + 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x4a, 0x55, 0x4d, 0x50, 0x10, 0x0b, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x0c, 0x12, 0x14, 0x0a, + 0x10, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x4c, + 0x59, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x53, 0x57, 0x49, 0x4d, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x0e, 0x12, + 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x53, 0x57, 0x49, 0x4d, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x0f, 0x12, 0x1a, 0x0a, 0x16, 0x4d, + 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x57, 0x49, 0x4d, + 0x5f, 0x44, 0x41, 0x53, 0x48, 0x10, 0x10, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x57, 0x49, 0x4d, 0x5f, 0x4a, 0x55, 0x4d, + 0x50, 0x10, 0x11, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x53, 0x4c, 0x49, 0x50, 0x10, 0x12, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x4f, 0x5f, 0x55, 0x50, + 0x53, 0x54, 0x41, 0x49, 0x52, 0x53, 0x10, 0x13, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x4c, 0x4c, 0x5f, 0x4f, 0x4e, + 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x4f, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x55, + 0x50, 0x5f, 0x57, 0x41, 0x4c, 0x4c, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, + 0x42, 0x59, 0x10, 0x15, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x4f, 0x46, 0x46, 0x5f, 0x57, 0x41, + 0x4c, 0x4c, 0x10, 0x16, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x59, + 0x10, 0x17, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4c, 0x41, 0x44, 0x44, 0x45, 0x52, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x18, + 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x4c, 0x41, 0x44, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x19, 0x12, 0x1c, + 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, + 0x41, 0x44, 0x44, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x49, 0x50, 0x10, 0x1a, 0x12, 0x22, 0x0a, 0x1e, + 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x4e, 0x44, 0x42, 0x59, 0x5f, 0x54, 0x4f, 0x5f, 0x4c, 0x41, 0x44, 0x44, 0x45, 0x52, 0x10, 0x1b, + 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x4c, 0x41, 0x44, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, + 0x42, 0x59, 0x10, 0x1c, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x4e, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x4e, + 0x44, 0x42, 0x59, 0x10, 0x1d, 0x12, 0x24, 0x0a, 0x20, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x4e, 0x47, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x4e, 0x44, 0x42, 0x59, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x1e, 0x12, 0x1c, 0x0a, 0x18, 0x4d, + 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x4e, 0x47, + 0x45, 0x52, 0x5f, 0x57, 0x41, 0x4c, 0x4b, 0x10, 0x1f, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x4e, 0x47, 0x45, 0x52, + 0x5f, 0x52, 0x55, 0x4e, 0x10, 0x20, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x41, 0x4e, 0x47, 0x45, 0x52, 0x5f, 0x44, 0x41, + 0x53, 0x48, 0x10, 0x21, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x4f, 0x55, 0x43, 0x48, 0x5f, 0x49, 0x44, 0x4c, 0x45, + 0x10, 0x22, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x43, 0x52, 0x4f, 0x55, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x23, + 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x43, 0x52, 0x4f, 0x55, 0x43, 0x48, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x10, 0x24, 0x12, 0x17, + 0x0a, 0x13, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x25, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x50, 0x45, + 0x45, 0x44, 0x10, 0x26, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x41, + 0x43, 0x4b, 0x10, 0x27, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x57, 0x41, 0x54, 0x45, 0x52, 0x46, 0x41, 0x4c, 0x4c, 0x10, 0x28, + 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x44, 0x41, 0x53, 0x48, 0x5f, 0x42, 0x45, 0x46, 0x4f, 0x52, 0x45, 0x5f, 0x53, 0x48, 0x41, + 0x4b, 0x45, 0x10, 0x29, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x49, 0x54, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x2a, 0x12, + 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x53, 0x10, 0x2b, 0x12, + 0x21, 0x0a, 0x1d, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x44, 0x52, 0x41, 0x47, + 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x10, + 0x2d, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x46, 0x46, 0x5f, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x49, 0x4e, 0x47, + 0x10, 0x2e, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x46, 0x46, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, + 0x2f, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x46, 0x46, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x10, 0x30, 0x12, 0x23, + 0x0a, 0x1f, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, + 0x4b, 0x49, 0x46, 0x46, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x44, 0x41, 0x53, + 0x48, 0x10, 0x31, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59, 0x5f, 0x56, 0x45, 0x48, 0x49, + 0x43, 0x4c, 0x45, 0x10, 0x32, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x4c, 0x59, 0x5f, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x33, + 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x46, 0x4c, 0x59, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x10, 0x34, 0x12, 0x19, 0x0a, 0x15, 0x4d, + 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x4c, 0x59, 0x5f, + 0x46, 0x41, 0x53, 0x54, 0x10, 0x35, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x10, 0x36, 0x12, 0x24, 0x0a, 0x20, + 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4f, 0x46, 0x4e, 0x4e, 0x48, 0x4b, 0x4c, 0x45, 0x46, 0x45, + 0x10, 0x37, 0x12, 0x24, 0x0a, 0x20, 0x4d, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x49, 0x47, 0x4c, + 0x4d, 0x45, 0x47, 0x4e, 0x4f, 0x4b, 0x10, 0x38, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MotionState_proto_rawDescOnce sync.Once + file_MotionState_proto_rawDescData = file_MotionState_proto_rawDesc +) + +func file_MotionState_proto_rawDescGZIP() []byte { + file_MotionState_proto_rawDescOnce.Do(func() { + file_MotionState_proto_rawDescData = protoimpl.X.CompressGZIP(file_MotionState_proto_rawDescData) + }) + return file_MotionState_proto_rawDescData +} + +var file_MotionState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MotionState_proto_goTypes = []interface{}{ + (MotionState)(0), // 0: MotionState +} +var file_MotionState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MotionState_proto_init() } +func file_MotionState_proto_init() { + if File_MotionState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MotionState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MotionState_proto_goTypes, + DependencyIndexes: file_MotionState_proto_depIdxs, + EnumInfos: file_MotionState_proto_enumTypes, + }.Build() + File_MotionState_proto = out.File + file_MotionState_proto_rawDesc = nil + file_MotionState_proto_goTypes = nil + file_MotionState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MotionState.proto b/gate-hk4e-api/proto/MotionState.proto new file mode 100644 index 00000000..19da976f --- /dev/null +++ b/gate-hk4e-api/proto/MotionState.proto @@ -0,0 +1,79 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MotionState { + MOTION_STATE_NONE = 0; + MOTION_STATE_RESET = 1; + MOTION_STATE_STANDBY = 2; + MOTION_STATE_STANDBY_MOVE = 3; + MOTION_STATE_WALK = 4; + MOTION_STATE_RUN = 5; + MOTION_STATE_DASH = 6; + MOTION_STATE_CLIMB = 7; + MOTION_STATE_CLIMB_JUMP = 8; + MOTION_STATE_STANDBY_TO_CLIMB = 9; + MOTION_STATE_FIGHT = 10; + MOTION_STATE_JUMP = 11; + MOTION_STATE_DROP = 12; + MOTION_STATE_FLY = 13; + MOTION_STATE_SWIM_MOVE = 14; + MOTION_STATE_SWIM_IDLE = 15; + MOTION_STATE_SWIM_DASH = 16; + MOTION_STATE_SWIM_JUMP = 17; + MOTION_STATE_SLIP = 18; + MOTION_STATE_GO_UPSTAIRS = 19; + MOTION_STATE_FALL_ON_GROUND = 20; + MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY = 21; + MOTION_STATE_JUMP_OFF_WALL = 22; + MOTION_STATE_POWERED_FLY = 23; + MOTION_STATE_LADDER_IDLE = 24; + MOTION_STATE_LADDER_MOVE = 25; + MOTION_STATE_LADDER_SLIP = 26; + MOTION_STATE_STANDBY_TO_LADDER = 27; + MOTION_STATE_LADDER_TO_STANDBY = 28; + MOTION_STATE_DANGER_STANDBY = 29; + MOTION_STATE_DANGER_STANDBY_MOVE = 30; + MOTION_STATE_DANGER_WALK = 31; + MOTION_STATE_DANGER_RUN = 32; + MOTION_STATE_DANGER_DASH = 33; + MOTION_STATE_CROUCH_IDLE = 34; + MOTION_STATE_CROUCH_MOVE = 35; + MOTION_STATE_CROUCH_ROLL = 36; + MOTION_STATE_NOTIFY = 37; + MOTION_STATE_LAND_SPEED = 38; + MOTION_STATE_MOVE_FAIL_ACK = 39; + MOTION_STATE_WATERFALL = 40; + MOTION_STATE_DASH_BEFORE_SHAKE = 41; + MOTION_STATE_SIT_IDLE = 42; + MOTION_STATE_FORCE_SET_POS = 43; + MOTION_STATE_QUEST_FORCE_DRAG = 44; + MOTION_STATE_FOLLOW_ROUTE = 45; + MOTION_STATE_SKIFF_BOARDING = 46; + MOTION_STATE_SKIFF_NORMAL = 47; + MOTION_STATE_SKIFF_DASH = 48; + MOTION_STATE_SKIFF_POWERED_DASH = 49; + MOTION_STATE_DESTROY_VEHICLE = 50; + MOTION_STATE_FLY_IDLE = 51; + MOTION_STATE_FLY_SLOW = 52; + MOTION_STATE_FLY_FAST = 53; + MOTION_STATE_NUM = 54; + MOTION_STATE_Unk2700_OOFNNHKLEFE = 55; + MOTION_STATE_Unk2700_KMIGLMEGNOK = 56; +} diff --git a/gate-hk4e-api/proto/MovingPlatformType.pb.go b/gate-hk4e-api/proto/MovingPlatformType.pb.go new file mode 100644 index 00000000..a6d696eb --- /dev/null +++ b/gate-hk4e-api/proto/MovingPlatformType.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MovingPlatformType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MovingPlatformType int32 + +const ( + MovingPlatformType_MOVING_PLATFORM_TYPE_NONE MovingPlatformType = 0 + MovingPlatformType_MOVING_PLATFORM_TYPE_USE_CONFIG MovingPlatformType = 1 + MovingPlatformType_MOVING_PLATFORM_TYPE_ABILITY MovingPlatformType = 2 + MovingPlatformType_MOVING_PLATFORM_TYPE_ROUTE MovingPlatformType = 3 +) + +// Enum value maps for MovingPlatformType. +var ( + MovingPlatformType_name = map[int32]string{ + 0: "MOVING_PLATFORM_TYPE_NONE", + 1: "MOVING_PLATFORM_TYPE_USE_CONFIG", + 2: "MOVING_PLATFORM_TYPE_ABILITY", + 3: "MOVING_PLATFORM_TYPE_ROUTE", + } + MovingPlatformType_value = map[string]int32{ + "MOVING_PLATFORM_TYPE_NONE": 0, + "MOVING_PLATFORM_TYPE_USE_CONFIG": 1, + "MOVING_PLATFORM_TYPE_ABILITY": 2, + "MOVING_PLATFORM_TYPE_ROUTE": 3, + } +) + +func (x MovingPlatformType) Enum() *MovingPlatformType { + p := new(MovingPlatformType) + *p = x + return p +} + +func (x MovingPlatformType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MovingPlatformType) Descriptor() protoreflect.EnumDescriptor { + return file_MovingPlatformType_proto_enumTypes[0].Descriptor() +} + +func (MovingPlatformType) Type() protoreflect.EnumType { + return &file_MovingPlatformType_proto_enumTypes[0] +} + +func (x MovingPlatformType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MovingPlatformType.Descriptor instead. +func (MovingPlatformType) EnumDescriptor() ([]byte, []int) { + return file_MovingPlatformType_proto_rawDescGZIP(), []int{0} +} + +var File_MovingPlatformType_proto protoreflect.FileDescriptor + +var file_MovingPlatformType_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9a, 0x01, 0x0a, 0x12, 0x4d, + 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4c, 0x41, 0x54, + 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x23, 0x0a, 0x1f, 0x4d, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, + 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x4e, + 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x5f, + 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x56, 0x49, 0x4e, + 0x47, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x52, 0x4f, 0x55, 0x54, 0x45, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MovingPlatformType_proto_rawDescOnce sync.Once + file_MovingPlatformType_proto_rawDescData = file_MovingPlatformType_proto_rawDesc +) + +func file_MovingPlatformType_proto_rawDescGZIP() []byte { + file_MovingPlatformType_proto_rawDescOnce.Do(func() { + file_MovingPlatformType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MovingPlatformType_proto_rawDescData) + }) + return file_MovingPlatformType_proto_rawDescData +} + +var file_MovingPlatformType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MovingPlatformType_proto_goTypes = []interface{}{ + (MovingPlatformType)(0), // 0: MovingPlatformType +} +var file_MovingPlatformType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MovingPlatformType_proto_init() } +func file_MovingPlatformType_proto_init() { + if File_MovingPlatformType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MovingPlatformType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MovingPlatformType_proto_goTypes, + DependencyIndexes: file_MovingPlatformType_proto_depIdxs, + EnumInfos: file_MovingPlatformType_proto_enumTypes, + }.Build() + File_MovingPlatformType_proto = out.File + file_MovingPlatformType_proto_rawDesc = nil + file_MovingPlatformType_proto_goTypes = nil + file_MovingPlatformType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MovingPlatformType.proto b/gate-hk4e-api/proto/MovingPlatformType.proto new file mode 100644 index 00000000..9c2e44d4 --- /dev/null +++ b/gate-hk4e-api/proto/MovingPlatformType.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MovingPlatformType { + MOVING_PLATFORM_TYPE_NONE = 0; + MOVING_PLATFORM_TYPE_USE_CONFIG = 1; + MOVING_PLATFORM_TYPE_ABILITY = 2; + MOVING_PLATFORM_TYPE_ROUTE = 3; +} diff --git a/gate-hk4e-api/proto/MpBlockNotify.pb.go b/gate-hk4e-api/proto/MpBlockNotify.pb.go new file mode 100644 index 00000000..927b60f6 --- /dev/null +++ b/gate-hk4e-api/proto/MpBlockNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpBlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1801 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpBlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *MpBlockNotify) Reset() { + *x = MpBlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpBlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpBlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpBlockNotify) ProtoMessage() {} + +func (x *MpBlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpBlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpBlockNotify.ProtoReflect.Descriptor instead. +func (*MpBlockNotify) Descriptor() ([]byte, []int) { + return file_MpBlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpBlockNotify) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_MpBlockNotify_proto protoreflect.FileDescriptor + +var file_MpBlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4d, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x0d, 0x4d, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpBlockNotify_proto_rawDescOnce sync.Once + file_MpBlockNotify_proto_rawDescData = file_MpBlockNotify_proto_rawDesc +) + +func file_MpBlockNotify_proto_rawDescGZIP() []byte { + file_MpBlockNotify_proto_rawDescOnce.Do(func() { + file_MpBlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpBlockNotify_proto_rawDescData) + }) + return file_MpBlockNotify_proto_rawDescData +} + +var file_MpBlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpBlockNotify_proto_goTypes = []interface{}{ + (*MpBlockNotify)(nil), // 0: MpBlockNotify +} +var file_MpBlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpBlockNotify_proto_init() } +func file_MpBlockNotify_proto_init() { + if File_MpBlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpBlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpBlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpBlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpBlockNotify_proto_goTypes, + DependencyIndexes: file_MpBlockNotify_proto_depIdxs, + MessageInfos: file_MpBlockNotify_proto_msgTypes, + }.Build() + File_MpBlockNotify_proto = out.File + file_MpBlockNotify_proto_rawDesc = nil + file_MpBlockNotify_proto_goTypes = nil + file_MpBlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpBlockNotify.proto b/gate-hk4e-api/proto/MpBlockNotify.proto new file mode 100644 index 00000000..2e760139 --- /dev/null +++ b/gate-hk4e-api/proto/MpBlockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1801 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpBlockNotify { + uint32 end_time = 13; +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.pb.go b/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.pb.go new file mode 100644 index 00000000..eb65c087 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayGuestReplyInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1848 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MpPlayGuestReplyInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,3,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + IsAgree bool `protobuf:"varint,15,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` +} + +func (x *MpPlayGuestReplyInviteReq) Reset() { + *x = MpPlayGuestReplyInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayGuestReplyInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayGuestReplyInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayGuestReplyInviteReq) ProtoMessage() {} + +func (x *MpPlayGuestReplyInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayGuestReplyInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayGuestReplyInviteReq.ProtoReflect.Descriptor instead. +func (*MpPlayGuestReplyInviteReq) Descriptor() ([]byte, []int) { + return file_MpPlayGuestReplyInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayGuestReplyInviteReq) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayGuestReplyInviteReq) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +var File_MpPlayGuestReplyInviteReq_proto protoreflect.FileDescriptor + +var file_MpPlayGuestReplyInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x54, 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1c, + 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayGuestReplyInviteReq_proto_rawDescOnce sync.Once + file_MpPlayGuestReplyInviteReq_proto_rawDescData = file_MpPlayGuestReplyInviteReq_proto_rawDesc +) + +func file_MpPlayGuestReplyInviteReq_proto_rawDescGZIP() []byte { + file_MpPlayGuestReplyInviteReq_proto_rawDescOnce.Do(func() { + file_MpPlayGuestReplyInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayGuestReplyInviteReq_proto_rawDescData) + }) + return file_MpPlayGuestReplyInviteReq_proto_rawDescData +} + +var file_MpPlayGuestReplyInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayGuestReplyInviteReq_proto_goTypes = []interface{}{ + (*MpPlayGuestReplyInviteReq)(nil), // 0: MpPlayGuestReplyInviteReq +} +var file_MpPlayGuestReplyInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayGuestReplyInviteReq_proto_init() } +func file_MpPlayGuestReplyInviteReq_proto_init() { + if File_MpPlayGuestReplyInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayGuestReplyInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayGuestReplyInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayGuestReplyInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayGuestReplyInviteReq_proto_goTypes, + DependencyIndexes: file_MpPlayGuestReplyInviteReq_proto_depIdxs, + MessageInfos: file_MpPlayGuestReplyInviteReq_proto_msgTypes, + }.Build() + File_MpPlayGuestReplyInviteReq_proto = out.File + file_MpPlayGuestReplyInviteReq_proto_rawDesc = nil + file_MpPlayGuestReplyInviteReq_proto_goTypes = nil + file_MpPlayGuestReplyInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.proto b/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.proto new file mode 100644 index 00000000..7814616c --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyInviteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1848 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MpPlayGuestReplyInviteReq { + uint32 mp_play_id = 3; + bool is_agree = 15; +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.pb.go b/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.pb.go new file mode 100644 index 00000000..678b6bcb --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayGuestReplyInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1850 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayGuestReplyInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + MpPlayId uint32 `protobuf:"varint,10,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` +} + +func (x *MpPlayGuestReplyInviteRsp) Reset() { + *x = MpPlayGuestReplyInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayGuestReplyInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayGuestReplyInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayGuestReplyInviteRsp) ProtoMessage() {} + +func (x *MpPlayGuestReplyInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayGuestReplyInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayGuestReplyInviteRsp.ProtoReflect.Descriptor instead. +func (*MpPlayGuestReplyInviteRsp) Descriptor() ([]byte, []int) { + return file_MpPlayGuestReplyInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayGuestReplyInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MpPlayGuestReplyInviteRsp) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +var File_MpPlayGuestReplyInviteRsp_proto protoreflect.FileDescriptor + +var file_MpPlayGuestReplyInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x53, 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, + 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayGuestReplyInviteRsp_proto_rawDescOnce sync.Once + file_MpPlayGuestReplyInviteRsp_proto_rawDescData = file_MpPlayGuestReplyInviteRsp_proto_rawDesc +) + +func file_MpPlayGuestReplyInviteRsp_proto_rawDescGZIP() []byte { + file_MpPlayGuestReplyInviteRsp_proto_rawDescOnce.Do(func() { + file_MpPlayGuestReplyInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayGuestReplyInviteRsp_proto_rawDescData) + }) + return file_MpPlayGuestReplyInviteRsp_proto_rawDescData +} + +var file_MpPlayGuestReplyInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayGuestReplyInviteRsp_proto_goTypes = []interface{}{ + (*MpPlayGuestReplyInviteRsp)(nil), // 0: MpPlayGuestReplyInviteRsp +} +var file_MpPlayGuestReplyInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayGuestReplyInviteRsp_proto_init() } +func file_MpPlayGuestReplyInviteRsp_proto_init() { + if File_MpPlayGuestReplyInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayGuestReplyInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayGuestReplyInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayGuestReplyInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayGuestReplyInviteRsp_proto_goTypes, + DependencyIndexes: file_MpPlayGuestReplyInviteRsp_proto_depIdxs, + MessageInfos: file_MpPlayGuestReplyInviteRsp_proto_msgTypes, + }.Build() + File_MpPlayGuestReplyInviteRsp_proto = out.File + file_MpPlayGuestReplyInviteRsp_proto_rawDesc = nil + file_MpPlayGuestReplyInviteRsp_proto_goTypes = nil + file_MpPlayGuestReplyInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.proto b/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.proto new file mode 100644 index 00000000..c6add1e0 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyInviteRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1850 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayGuestReplyInviteRsp { + int32 retcode = 4; + uint32 mp_play_id = 10; +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyNotify.pb.go b/gate-hk4e-api/proto/MpPlayGuestReplyNotify.pb.go new file mode 100644 index 00000000..de9840bb --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayGuestReplyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1812 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayGuestReplyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + IsAgree bool `protobuf:"varint,4,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + MpPlayId uint32 `protobuf:"varint,14,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` +} + +func (x *MpPlayGuestReplyNotify) Reset() { + *x = MpPlayGuestReplyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayGuestReplyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayGuestReplyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayGuestReplyNotify) ProtoMessage() {} + +func (x *MpPlayGuestReplyNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayGuestReplyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayGuestReplyNotify.ProtoReflect.Descriptor instead. +func (*MpPlayGuestReplyNotify) Descriptor() ([]byte, []int) { + return file_MpPlayGuestReplyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayGuestReplyNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *MpPlayGuestReplyNotify) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *MpPlayGuestReplyNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +var File_MpPlayGuestReplyNotify_proto protoreflect.FileDescriptor + +var file_MpPlayGuestReplyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, + 0x0a, 0x16, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, + 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, + 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayGuestReplyNotify_proto_rawDescOnce sync.Once + file_MpPlayGuestReplyNotify_proto_rawDescData = file_MpPlayGuestReplyNotify_proto_rawDesc +) + +func file_MpPlayGuestReplyNotify_proto_rawDescGZIP() []byte { + file_MpPlayGuestReplyNotify_proto_rawDescOnce.Do(func() { + file_MpPlayGuestReplyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayGuestReplyNotify_proto_rawDescData) + }) + return file_MpPlayGuestReplyNotify_proto_rawDescData +} + +var file_MpPlayGuestReplyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayGuestReplyNotify_proto_goTypes = []interface{}{ + (*MpPlayGuestReplyNotify)(nil), // 0: MpPlayGuestReplyNotify +} +var file_MpPlayGuestReplyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayGuestReplyNotify_proto_init() } +func file_MpPlayGuestReplyNotify_proto_init() { + if File_MpPlayGuestReplyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayGuestReplyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayGuestReplyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayGuestReplyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayGuestReplyNotify_proto_goTypes, + DependencyIndexes: file_MpPlayGuestReplyNotify_proto_depIdxs, + MessageInfos: file_MpPlayGuestReplyNotify_proto_msgTypes, + }.Build() + File_MpPlayGuestReplyNotify_proto = out.File + file_MpPlayGuestReplyNotify_proto_rawDesc = nil + file_MpPlayGuestReplyNotify_proto_goTypes = nil + file_MpPlayGuestReplyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayGuestReplyNotify.proto b/gate-hk4e-api/proto/MpPlayGuestReplyNotify.proto new file mode 100644 index 00000000..b895cafa --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayGuestReplyNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1812 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayGuestReplyNotify { + uint32 uid = 7; + bool is_agree = 4; + uint32 mp_play_id = 14; +} diff --git a/gate-hk4e-api/proto/MpPlayInviteResultNotify.pb.go b/gate-hk4e-api/proto/MpPlayInviteResultNotify.pb.go new file mode 100644 index 00000000..658223f1 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayInviteResultNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayInviteResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1815 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayInviteResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,11,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + AllArgee bool `protobuf:"varint,10,opt,name=all_argee,json=allArgee,proto3" json:"all_argee,omitempty"` +} + +func (x *MpPlayInviteResultNotify) Reset() { + *x = MpPlayInviteResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayInviteResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayInviteResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayInviteResultNotify) ProtoMessage() {} + +func (x *MpPlayInviteResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayInviteResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayInviteResultNotify.ProtoReflect.Descriptor instead. +func (*MpPlayInviteResultNotify) Descriptor() ([]byte, []int) { + return file_MpPlayInviteResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayInviteResultNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayInviteResultNotify) GetAllArgee() bool { + if x != nil { + return x.AllArgee + } + return false +} + +var File_MpPlayInviteResultNotify_proto protoreflect.FileDescriptor + +var file_MpPlayInviteResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x55, 0x0a, 0x18, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1c, 0x0a, 0x0a, + 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6c, + 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x65, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, + 0x6c, 0x6c, 0x41, 0x72, 0x67, 0x65, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayInviteResultNotify_proto_rawDescOnce sync.Once + file_MpPlayInviteResultNotify_proto_rawDescData = file_MpPlayInviteResultNotify_proto_rawDesc +) + +func file_MpPlayInviteResultNotify_proto_rawDescGZIP() []byte { + file_MpPlayInviteResultNotify_proto_rawDescOnce.Do(func() { + file_MpPlayInviteResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayInviteResultNotify_proto_rawDescData) + }) + return file_MpPlayInviteResultNotify_proto_rawDescData +} + +var file_MpPlayInviteResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayInviteResultNotify_proto_goTypes = []interface{}{ + (*MpPlayInviteResultNotify)(nil), // 0: MpPlayInviteResultNotify +} +var file_MpPlayInviteResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayInviteResultNotify_proto_init() } +func file_MpPlayInviteResultNotify_proto_init() { + if File_MpPlayInviteResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayInviteResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayInviteResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayInviteResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayInviteResultNotify_proto_goTypes, + DependencyIndexes: file_MpPlayInviteResultNotify_proto_depIdxs, + MessageInfos: file_MpPlayInviteResultNotify_proto_msgTypes, + }.Build() + File_MpPlayInviteResultNotify_proto = out.File + file_MpPlayInviteResultNotify_proto_rawDesc = nil + file_MpPlayInviteResultNotify_proto_goTypes = nil + file_MpPlayInviteResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayInviteResultNotify.proto b/gate-hk4e-api/proto/MpPlayInviteResultNotify.proto new file mode 100644 index 00000000..87f79d8c --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayInviteResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1815 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayInviteResultNotify { + uint32 mp_play_id = 11; + bool all_argee = 10; +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerCheckReq.pb.go b/gate-hk4e-api/proto/MpPlayOwnerCheckReq.pb.go new file mode 100644 index 00000000..83396d92 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerCheckReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayOwnerCheckReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1814 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MpPlayOwnerCheckReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,9,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + IsSkipMatch bool `protobuf:"varint,3,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` +} + +func (x *MpPlayOwnerCheckReq) Reset() { + *x = MpPlayOwnerCheckReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayOwnerCheckReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayOwnerCheckReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayOwnerCheckReq) ProtoMessage() {} + +func (x *MpPlayOwnerCheckReq) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayOwnerCheckReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayOwnerCheckReq.ProtoReflect.Descriptor instead. +func (*MpPlayOwnerCheckReq) Descriptor() ([]byte, []int) { + return file_MpPlayOwnerCheckReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayOwnerCheckReq) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayOwnerCheckReq) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +var File_MpPlayOwnerCheckReq_proto protoreflect.FileDescriptor + +var file_MpPlayOwnerCheckReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x13, 0x4d, + 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayOwnerCheckReq_proto_rawDescOnce sync.Once + file_MpPlayOwnerCheckReq_proto_rawDescData = file_MpPlayOwnerCheckReq_proto_rawDesc +) + +func file_MpPlayOwnerCheckReq_proto_rawDescGZIP() []byte { + file_MpPlayOwnerCheckReq_proto_rawDescOnce.Do(func() { + file_MpPlayOwnerCheckReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayOwnerCheckReq_proto_rawDescData) + }) + return file_MpPlayOwnerCheckReq_proto_rawDescData +} + +var file_MpPlayOwnerCheckReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayOwnerCheckReq_proto_goTypes = []interface{}{ + (*MpPlayOwnerCheckReq)(nil), // 0: MpPlayOwnerCheckReq +} +var file_MpPlayOwnerCheckReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayOwnerCheckReq_proto_init() } +func file_MpPlayOwnerCheckReq_proto_init() { + if File_MpPlayOwnerCheckReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayOwnerCheckReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayOwnerCheckReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayOwnerCheckReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayOwnerCheckReq_proto_goTypes, + DependencyIndexes: file_MpPlayOwnerCheckReq_proto_depIdxs, + MessageInfos: file_MpPlayOwnerCheckReq_proto_msgTypes, + }.Build() + File_MpPlayOwnerCheckReq_proto = out.File + file_MpPlayOwnerCheckReq_proto_rawDesc = nil + file_MpPlayOwnerCheckReq_proto_goTypes = nil + file_MpPlayOwnerCheckReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerCheckReq.proto b/gate-hk4e-api/proto/MpPlayOwnerCheckReq.proto new file mode 100644 index 00000000..a0838715 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerCheckReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1814 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MpPlayOwnerCheckReq { + uint32 mp_play_id = 9; + bool is_skip_match = 3; +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.pb.go b/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.pb.go new file mode 100644 index 00000000..492a565e --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayOwnerCheckRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1847 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayOwnerCheckRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WrongUid uint32 `protobuf:"varint,4,opt,name=wrong_uid,json=wrongUid,proto3" json:"wrong_uid,omitempty"` + IsSkipMatch bool `protobuf:"varint,15,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` + MpPlayId uint32 `protobuf:"varint,10,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *MpPlayOwnerCheckRsp) Reset() { + *x = MpPlayOwnerCheckRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayOwnerCheckRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayOwnerCheckRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayOwnerCheckRsp) ProtoMessage() {} + +func (x *MpPlayOwnerCheckRsp) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayOwnerCheckRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayOwnerCheckRsp.ProtoReflect.Descriptor instead. +func (*MpPlayOwnerCheckRsp) Descriptor() ([]byte, []int) { + return file_MpPlayOwnerCheckRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayOwnerCheckRsp) GetWrongUid() uint32 { + if x != nil { + return x.WrongUid + } + return 0 +} + +func (x *MpPlayOwnerCheckRsp) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +func (x *MpPlayOwnerCheckRsp) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayOwnerCheckRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_MpPlayOwnerCheckRsp_proto protoreflect.FileDescriptor + +var file_MpPlayOwnerCheckRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x13, + 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x55, 0x69, 0x64, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayOwnerCheckRsp_proto_rawDescOnce sync.Once + file_MpPlayOwnerCheckRsp_proto_rawDescData = file_MpPlayOwnerCheckRsp_proto_rawDesc +) + +func file_MpPlayOwnerCheckRsp_proto_rawDescGZIP() []byte { + file_MpPlayOwnerCheckRsp_proto_rawDescOnce.Do(func() { + file_MpPlayOwnerCheckRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayOwnerCheckRsp_proto_rawDescData) + }) + return file_MpPlayOwnerCheckRsp_proto_rawDescData +} + +var file_MpPlayOwnerCheckRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayOwnerCheckRsp_proto_goTypes = []interface{}{ + (*MpPlayOwnerCheckRsp)(nil), // 0: MpPlayOwnerCheckRsp +} +var file_MpPlayOwnerCheckRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayOwnerCheckRsp_proto_init() } +func file_MpPlayOwnerCheckRsp_proto_init() { + if File_MpPlayOwnerCheckRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayOwnerCheckRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayOwnerCheckRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayOwnerCheckRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayOwnerCheckRsp_proto_goTypes, + DependencyIndexes: file_MpPlayOwnerCheckRsp_proto_depIdxs, + MessageInfos: file_MpPlayOwnerCheckRsp_proto_msgTypes, + }.Build() + File_MpPlayOwnerCheckRsp_proto = out.File + file_MpPlayOwnerCheckRsp_proto_rawDesc = nil + file_MpPlayOwnerCheckRsp_proto_goTypes = nil + file_MpPlayOwnerCheckRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.proto b/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.proto new file mode 100644 index 00000000..cd0950ee --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerCheckRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1847 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayOwnerCheckRsp { + uint32 wrong_uid = 4; + bool is_skip_match = 15; + uint32 mp_play_id = 10; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.pb.go b/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.pb.go new file mode 100644 index 00000000..fbbc18d0 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayOwnerInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1835 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayOwnerInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cd uint32 `protobuf:"varint,12,opt,name=cd,proto3" json:"cd,omitempty"` + MpPlayId uint32 `protobuf:"varint,13,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + IsRemainReward bool `protobuf:"varint,10,opt,name=is_remain_reward,json=isRemainReward,proto3" json:"is_remain_reward,omitempty"` +} + +func (x *MpPlayOwnerInviteNotify) Reset() { + *x = MpPlayOwnerInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayOwnerInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayOwnerInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayOwnerInviteNotify) ProtoMessage() {} + +func (x *MpPlayOwnerInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayOwnerInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayOwnerInviteNotify.ProtoReflect.Descriptor instead. +func (*MpPlayOwnerInviteNotify) Descriptor() ([]byte, []int) { + return file_MpPlayOwnerInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayOwnerInviteNotify) GetCd() uint32 { + if x != nil { + return x.Cd + } + return 0 +} + +func (x *MpPlayOwnerInviteNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayOwnerInviteNotify) GetIsRemainReward() bool { + if x != nil { + return x.IsRemainReward + } + return false +} + +var File_MpPlayOwnerInviteNotify_proto protoreflect.FileDescriptor + +var file_MpPlayOwnerInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x71, 0x0a, 0x17, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x63, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, + 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x72, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayOwnerInviteNotify_proto_rawDescOnce sync.Once + file_MpPlayOwnerInviteNotify_proto_rawDescData = file_MpPlayOwnerInviteNotify_proto_rawDesc +) + +func file_MpPlayOwnerInviteNotify_proto_rawDescGZIP() []byte { + file_MpPlayOwnerInviteNotify_proto_rawDescOnce.Do(func() { + file_MpPlayOwnerInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayOwnerInviteNotify_proto_rawDescData) + }) + return file_MpPlayOwnerInviteNotify_proto_rawDescData +} + +var file_MpPlayOwnerInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayOwnerInviteNotify_proto_goTypes = []interface{}{ + (*MpPlayOwnerInviteNotify)(nil), // 0: MpPlayOwnerInviteNotify +} +var file_MpPlayOwnerInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayOwnerInviteNotify_proto_init() } +func file_MpPlayOwnerInviteNotify_proto_init() { + if File_MpPlayOwnerInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayOwnerInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayOwnerInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayOwnerInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayOwnerInviteNotify_proto_goTypes, + DependencyIndexes: file_MpPlayOwnerInviteNotify_proto_depIdxs, + MessageInfos: file_MpPlayOwnerInviteNotify_proto_msgTypes, + }.Build() + File_MpPlayOwnerInviteNotify_proto = out.File + file_MpPlayOwnerInviteNotify_proto_rawDesc = nil + file_MpPlayOwnerInviteNotify_proto_goTypes = nil + file_MpPlayOwnerInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.proto b/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.proto new file mode 100644 index 00000000..9ab7c90b --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerInviteNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1835 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayOwnerInviteNotify { + uint32 cd = 12; + uint32 mp_play_id = 13; + bool is_remain_reward = 10; +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.pb.go b/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.pb.go new file mode 100644 index 00000000..c58aaa75 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayOwnerStartInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1837 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MpPlayOwnerStartInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,3,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + IsSkipMatch bool `protobuf:"varint,6,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` +} + +func (x *MpPlayOwnerStartInviteReq) Reset() { + *x = MpPlayOwnerStartInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayOwnerStartInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayOwnerStartInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayOwnerStartInviteReq) ProtoMessage() {} + +func (x *MpPlayOwnerStartInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayOwnerStartInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayOwnerStartInviteReq.ProtoReflect.Descriptor instead. +func (*MpPlayOwnerStartInviteReq) Descriptor() ([]byte, []int) { + return file_MpPlayOwnerStartInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayOwnerStartInviteReq) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayOwnerStartInviteReq) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +var File_MpPlayOwnerStartInviteReq_proto protoreflect.FileDescriptor + +var file_MpPlayOwnerStartInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x5d, 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1c, + 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, + 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayOwnerStartInviteReq_proto_rawDescOnce sync.Once + file_MpPlayOwnerStartInviteReq_proto_rawDescData = file_MpPlayOwnerStartInviteReq_proto_rawDesc +) + +func file_MpPlayOwnerStartInviteReq_proto_rawDescGZIP() []byte { + file_MpPlayOwnerStartInviteReq_proto_rawDescOnce.Do(func() { + file_MpPlayOwnerStartInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayOwnerStartInviteReq_proto_rawDescData) + }) + return file_MpPlayOwnerStartInviteReq_proto_rawDescData +} + +var file_MpPlayOwnerStartInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayOwnerStartInviteReq_proto_goTypes = []interface{}{ + (*MpPlayOwnerStartInviteReq)(nil), // 0: MpPlayOwnerStartInviteReq +} +var file_MpPlayOwnerStartInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayOwnerStartInviteReq_proto_init() } +func file_MpPlayOwnerStartInviteReq_proto_init() { + if File_MpPlayOwnerStartInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayOwnerStartInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayOwnerStartInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayOwnerStartInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayOwnerStartInviteReq_proto_goTypes, + DependencyIndexes: file_MpPlayOwnerStartInviteReq_proto_depIdxs, + MessageInfos: file_MpPlayOwnerStartInviteReq_proto_msgTypes, + }.Build() + File_MpPlayOwnerStartInviteReq_proto = out.File + file_MpPlayOwnerStartInviteReq_proto_rawDesc = nil + file_MpPlayOwnerStartInviteReq_proto_goTypes = nil + file_MpPlayOwnerStartInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.proto b/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.proto new file mode 100644 index 00000000..0b760165 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerStartInviteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1837 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MpPlayOwnerStartInviteReq { + uint32 mp_play_id = 3; + bool is_skip_match = 6; +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.pb.go b/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.pb.go new file mode 100644 index 00000000..68b2763e --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayOwnerStartInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1823 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayOwnerStartInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MpPlayId uint32 `protobuf:"varint,3,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + IsSkipMatch bool `protobuf:"varint,9,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` +} + +func (x *MpPlayOwnerStartInviteRsp) Reset() { + *x = MpPlayOwnerStartInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayOwnerStartInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayOwnerStartInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayOwnerStartInviteRsp) ProtoMessage() {} + +func (x *MpPlayOwnerStartInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayOwnerStartInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayOwnerStartInviteRsp.ProtoReflect.Descriptor instead. +func (*MpPlayOwnerStartInviteRsp) Descriptor() ([]byte, []int) { + return file_MpPlayOwnerStartInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayOwnerStartInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MpPlayOwnerStartInviteRsp) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayOwnerStartInviteRsp) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +var File_MpPlayOwnerStartInviteRsp_proto protoreflect.FileDescriptor + +var file_MpPlayOwnerStartInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x77, 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, + 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, + 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x53, 0x6b, 0x69, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayOwnerStartInviteRsp_proto_rawDescOnce sync.Once + file_MpPlayOwnerStartInviteRsp_proto_rawDescData = file_MpPlayOwnerStartInviteRsp_proto_rawDesc +) + +func file_MpPlayOwnerStartInviteRsp_proto_rawDescGZIP() []byte { + file_MpPlayOwnerStartInviteRsp_proto_rawDescOnce.Do(func() { + file_MpPlayOwnerStartInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayOwnerStartInviteRsp_proto_rawDescData) + }) + return file_MpPlayOwnerStartInviteRsp_proto_rawDescData +} + +var file_MpPlayOwnerStartInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayOwnerStartInviteRsp_proto_goTypes = []interface{}{ + (*MpPlayOwnerStartInviteRsp)(nil), // 0: MpPlayOwnerStartInviteRsp +} +var file_MpPlayOwnerStartInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayOwnerStartInviteRsp_proto_init() } +func file_MpPlayOwnerStartInviteRsp_proto_init() { + if File_MpPlayOwnerStartInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayOwnerStartInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayOwnerStartInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayOwnerStartInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayOwnerStartInviteRsp_proto_goTypes, + DependencyIndexes: file_MpPlayOwnerStartInviteRsp_proto_depIdxs, + MessageInfos: file_MpPlayOwnerStartInviteRsp_proto_msgTypes, + }.Build() + File_MpPlayOwnerStartInviteRsp_proto = out.File + file_MpPlayOwnerStartInviteRsp_proto_rawDesc = nil + file_MpPlayOwnerStartInviteRsp_proto_goTypes = nil + file_MpPlayOwnerStartInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.proto b/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.proto new file mode 100644 index 00000000..22cd63ef --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayOwnerStartInviteRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1823 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayOwnerStartInviteRsp { + int32 retcode = 14; + uint32 mp_play_id = 3; + bool is_skip_match = 9; +} diff --git a/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.pb.go b/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.pb.go new file mode 100644 index 00000000..a38daa97 --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayPrepareInterruptNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1813 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayPrepareInterruptNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,12,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` +} + +func (x *MpPlayPrepareInterruptNotify) Reset() { + *x = MpPlayPrepareInterruptNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayPrepareInterruptNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayPrepareInterruptNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayPrepareInterruptNotify) ProtoMessage() {} + +func (x *MpPlayPrepareInterruptNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayPrepareInterruptNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayPrepareInterruptNotify.ProtoReflect.Descriptor instead. +func (*MpPlayPrepareInterruptNotify) Descriptor() ([]byte, []int) { + return file_MpPlayPrepareInterruptNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayPrepareInterruptNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +var File_MpPlayPrepareInterruptNotify_proto protoreflect.FileDescriptor + +var file_MpPlayPrepareInterruptNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1c, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayPrepareInterruptNotify_proto_rawDescOnce sync.Once + file_MpPlayPrepareInterruptNotify_proto_rawDescData = file_MpPlayPrepareInterruptNotify_proto_rawDesc +) + +func file_MpPlayPrepareInterruptNotify_proto_rawDescGZIP() []byte { + file_MpPlayPrepareInterruptNotify_proto_rawDescOnce.Do(func() { + file_MpPlayPrepareInterruptNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayPrepareInterruptNotify_proto_rawDescData) + }) + return file_MpPlayPrepareInterruptNotify_proto_rawDescData +} + +var file_MpPlayPrepareInterruptNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayPrepareInterruptNotify_proto_goTypes = []interface{}{ + (*MpPlayPrepareInterruptNotify)(nil), // 0: MpPlayPrepareInterruptNotify +} +var file_MpPlayPrepareInterruptNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayPrepareInterruptNotify_proto_init() } +func file_MpPlayPrepareInterruptNotify_proto_init() { + if File_MpPlayPrepareInterruptNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayPrepareInterruptNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayPrepareInterruptNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayPrepareInterruptNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayPrepareInterruptNotify_proto_goTypes, + DependencyIndexes: file_MpPlayPrepareInterruptNotify_proto_depIdxs, + MessageInfos: file_MpPlayPrepareInterruptNotify_proto_msgTypes, + }.Build() + File_MpPlayPrepareInterruptNotify_proto = out.File + file_MpPlayPrepareInterruptNotify_proto_rawDesc = nil + file_MpPlayPrepareInterruptNotify_proto_goTypes = nil + file_MpPlayPrepareInterruptNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.proto b/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.proto new file mode 100644 index 00000000..eb6ce6ed --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayPrepareInterruptNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1813 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayPrepareInterruptNotify { + uint32 mp_play_id = 12; +} diff --git a/gate-hk4e-api/proto/MpPlayPrepareNotify.pb.go b/gate-hk4e-api/proto/MpPlayPrepareNotify.pb.go new file mode 100644 index 00000000..096ad63f --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayPrepareNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayPrepareNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1833 +// EnetChannelId: 0 +// EnetIsReliable: true +type MpPlayPrepareNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpPlayId uint32 `protobuf:"varint,9,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + PrepareEndTime uint32 `protobuf:"varint,11,opt,name=prepare_end_time,json=prepareEndTime,proto3" json:"prepare_end_time,omitempty"` +} + +func (x *MpPlayPrepareNotify) Reset() { + *x = MpPlayPrepareNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayPrepareNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayPrepareNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayPrepareNotify) ProtoMessage() {} + +func (x *MpPlayPrepareNotify) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayPrepareNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayPrepareNotify.ProtoReflect.Descriptor instead. +func (*MpPlayPrepareNotify) Descriptor() ([]byte, []int) { + return file_MpPlayPrepareNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayPrepareNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *MpPlayPrepareNotify) GetPrepareEndTime() uint32 { + if x != nil { + return x.PrepareEndTime + } + return 0 +} + +var File_MpPlayPrepareNotify_proto protoreflect.FileDescriptor + +var file_MpPlayPrepareNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x13, 0x4d, + 0x70, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, + 0x12, 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayPrepareNotify_proto_rawDescOnce sync.Once + file_MpPlayPrepareNotify_proto_rawDescData = file_MpPlayPrepareNotify_proto_rawDesc +) + +func file_MpPlayPrepareNotify_proto_rawDescGZIP() []byte { + file_MpPlayPrepareNotify_proto_rawDescOnce.Do(func() { + file_MpPlayPrepareNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayPrepareNotify_proto_rawDescData) + }) + return file_MpPlayPrepareNotify_proto_rawDescData +} + +var file_MpPlayPrepareNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayPrepareNotify_proto_goTypes = []interface{}{ + (*MpPlayPrepareNotify)(nil), // 0: MpPlayPrepareNotify +} +var file_MpPlayPrepareNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayPrepareNotify_proto_init() } +func file_MpPlayPrepareNotify_proto_init() { + if File_MpPlayPrepareNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayPrepareNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayPrepareNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayPrepareNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayPrepareNotify_proto_goTypes, + DependencyIndexes: file_MpPlayPrepareNotify_proto_depIdxs, + MessageInfos: file_MpPlayPrepareNotify_proto_msgTypes, + }.Build() + File_MpPlayPrepareNotify_proto = out.File + file_MpPlayPrepareNotify_proto_rawDesc = nil + file_MpPlayPrepareNotify_proto_goTypes = nil + file_MpPlayPrepareNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayPrepareNotify.proto b/gate-hk4e-api/proto/MpPlayPrepareNotify.proto new file mode 100644 index 00000000..a0bfe37d --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayPrepareNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1833 +// EnetChannelId: 0 +// EnetIsReliable: true +message MpPlayPrepareNotify { + uint32 mp_play_id = 9; + uint32 prepare_end_time = 11; +} diff --git a/gate-hk4e-api/proto/MpPlayRewardInfo.pb.go b/gate-hk4e-api/proto/MpPlayRewardInfo.pb.go new file mode 100644 index 00000000..90058f1d --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayRewardInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpPlayRewardInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MpPlayRewardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Resin uint32 `protobuf:"varint,1,opt,name=resin,proto3" json:"resin,omitempty"` + RemainUidList []uint32 `protobuf:"varint,2,rep,packed,name=remain_uid_list,json=remainUidList,proto3" json:"remain_uid_list,omitempty"` + QualifyUidList []uint32 `protobuf:"varint,3,rep,packed,name=qualify_uid_list,json=qualifyUidList,proto3" json:"qualify_uid_list,omitempty"` +} + +func (x *MpPlayRewardInfo) Reset() { + *x = MpPlayRewardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MpPlayRewardInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MpPlayRewardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MpPlayRewardInfo) ProtoMessage() {} + +func (x *MpPlayRewardInfo) ProtoReflect() protoreflect.Message { + mi := &file_MpPlayRewardInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MpPlayRewardInfo.ProtoReflect.Descriptor instead. +func (*MpPlayRewardInfo) Descriptor() ([]byte, []int) { + return file_MpPlayRewardInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MpPlayRewardInfo) GetResin() uint32 { + if x != nil { + return x.Resin + } + return 0 +} + +func (x *MpPlayRewardInfo) GetRemainUidList() []uint32 { + if x != nil { + return x.RemainUidList + } + return nil +} + +func (x *MpPlayRewardInfo) GetQualifyUidList() []uint32 { + if x != nil { + return x.QualifyUidList + } + return nil +} + +var File_MpPlayRewardInfo_proto protoreflect.FileDescriptor + +var file_MpPlayRewardInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x10, 0x4d, 0x70, 0x50, 0x6c, + 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, + 0x72, 0x65, 0x73, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x65, 0x73, + 0x69, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x75, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x6d, + 0x61, 0x69, 0x6e, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x66, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x79, 0x55, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MpPlayRewardInfo_proto_rawDescOnce sync.Once + file_MpPlayRewardInfo_proto_rawDescData = file_MpPlayRewardInfo_proto_rawDesc +) + +func file_MpPlayRewardInfo_proto_rawDescGZIP() []byte { + file_MpPlayRewardInfo_proto_rawDescOnce.Do(func() { + file_MpPlayRewardInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpPlayRewardInfo_proto_rawDescData) + }) + return file_MpPlayRewardInfo_proto_rawDescData +} + +var file_MpPlayRewardInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MpPlayRewardInfo_proto_goTypes = []interface{}{ + (*MpPlayRewardInfo)(nil), // 0: MpPlayRewardInfo +} +var file_MpPlayRewardInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpPlayRewardInfo_proto_init() } +func file_MpPlayRewardInfo_proto_init() { + if File_MpPlayRewardInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MpPlayRewardInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MpPlayRewardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpPlayRewardInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpPlayRewardInfo_proto_goTypes, + DependencyIndexes: file_MpPlayRewardInfo_proto_depIdxs, + MessageInfos: file_MpPlayRewardInfo_proto_msgTypes, + }.Build() + File_MpPlayRewardInfo_proto = out.File + file_MpPlayRewardInfo_proto_rawDesc = nil + file_MpPlayRewardInfo_proto_goTypes = nil + file_MpPlayRewardInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpPlayRewardInfo.proto b/gate-hk4e-api/proto/MpPlayRewardInfo.proto new file mode 100644 index 00000000..f53ed44b --- /dev/null +++ b/gate-hk4e-api/proto/MpPlayRewardInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MpPlayRewardInfo { + uint32 resin = 1; + repeated uint32 remain_uid_list = 2; + repeated uint32 qualify_uid_list = 3; +} diff --git a/gate-hk4e-api/proto/MpSettingType.pb.go b/gate-hk4e-api/proto/MpSettingType.pb.go new file mode 100644 index 00000000..ec4a6087 --- /dev/null +++ b/gate-hk4e-api/proto/MpSettingType.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MpSettingType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MpSettingType int32 + +const ( + MpSettingType_MP_SETTING_TYPE_NO_ENTER MpSettingType = 0 + MpSettingType_MP_SETTING_TYPE_ENTER_FREELY MpSettingType = 1 + MpSettingType_MP_SETTING_TYPE_ENTER_AFTER_APPLY MpSettingType = 2 +) + +// Enum value maps for MpSettingType. +var ( + MpSettingType_name = map[int32]string{ + 0: "MP_SETTING_TYPE_NO_ENTER", + 1: "MP_SETTING_TYPE_ENTER_FREELY", + 2: "MP_SETTING_TYPE_ENTER_AFTER_APPLY", + } + MpSettingType_value = map[string]int32{ + "MP_SETTING_TYPE_NO_ENTER": 0, + "MP_SETTING_TYPE_ENTER_FREELY": 1, + "MP_SETTING_TYPE_ENTER_AFTER_APPLY": 2, + } +) + +func (x MpSettingType) Enum() *MpSettingType { + p := new(MpSettingType) + *p = x + return p +} + +func (x MpSettingType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MpSettingType) Descriptor() protoreflect.EnumDescriptor { + return file_MpSettingType_proto_enumTypes[0].Descriptor() +} + +func (MpSettingType) Type() protoreflect.EnumType { + return &file_MpSettingType_proto_enumTypes[0] +} + +func (x MpSettingType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MpSettingType.Descriptor instead. +func (MpSettingType) EnumDescriptor() ([]byte, []int) { + return file_MpSettingType_proto_rawDescGZIP(), []int{0} +} + +var File_MpSettingType_proto protoreflect.FileDescriptor + +var file_MpSettingType_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x4d, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x76, 0x0a, 0x0d, 0x4d, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x54, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, + 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x52, + 0x45, 0x45, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x54, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, + 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x10, 0x02, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MpSettingType_proto_rawDescOnce sync.Once + file_MpSettingType_proto_rawDescData = file_MpSettingType_proto_rawDesc +) + +func file_MpSettingType_proto_rawDescGZIP() []byte { + file_MpSettingType_proto_rawDescOnce.Do(func() { + file_MpSettingType_proto_rawDescData = protoimpl.X.CompressGZIP(file_MpSettingType_proto_rawDescData) + }) + return file_MpSettingType_proto_rawDescData +} + +var file_MpSettingType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_MpSettingType_proto_goTypes = []interface{}{ + (MpSettingType)(0), // 0: MpSettingType +} +var file_MpSettingType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MpSettingType_proto_init() } +func file_MpSettingType_proto_init() { + if File_MpSettingType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MpSettingType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MpSettingType_proto_goTypes, + DependencyIndexes: file_MpSettingType_proto_depIdxs, + EnumInfos: file_MpSettingType_proto_enumTypes, + }.Build() + File_MpSettingType_proto = out.File + file_MpSettingType_proto_rawDesc = nil + file_MpSettingType_proto_goTypes = nil + file_MpSettingType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MpSettingType.proto b/gate-hk4e-api/proto/MpSettingType.proto new file mode 100644 index 00000000..9171ca2f --- /dev/null +++ b/gate-hk4e-api/proto/MpSettingType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum MpSettingType { + MP_SETTING_TYPE_NO_ENTER = 0; + MP_SETTING_TYPE_ENTER_FREELY = 1; + MP_SETTING_TYPE_ENTER_AFTER_APPLY = 2; +} diff --git a/gate-hk4e-api/proto/MsgParam.pb.go b/gate-hk4e-api/proto/MsgParam.pb.go new file mode 100644 index 00000000..141830ca --- /dev/null +++ b/gate-hk4e-api/proto/MsgParam.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MsgParam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MsgParam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Param: + // *MsgParam_IntParam + // *MsgParam_FltParam + // *MsgParam_StrParam + Param isMsgParam_Param `protobuf_oneof:"param"` +} + +func (x *MsgParam) Reset() { + *x = MsgParam{} + if protoimpl.UnsafeEnabled { + mi := &file_MsgParam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgParam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgParam) ProtoMessage() {} + +func (x *MsgParam) ProtoReflect() protoreflect.Message { + mi := &file_MsgParam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MsgParam.ProtoReflect.Descriptor instead. +func (*MsgParam) Descriptor() ([]byte, []int) { + return file_MsgParam_proto_rawDescGZIP(), []int{0} +} + +func (m *MsgParam) GetParam() isMsgParam_Param { + if m != nil { + return m.Param + } + return nil +} + +func (x *MsgParam) GetIntParam() uint32 { + if x, ok := x.GetParam().(*MsgParam_IntParam); ok { + return x.IntParam + } + return 0 +} + +func (x *MsgParam) GetFltParam() float32 { + if x, ok := x.GetParam().(*MsgParam_FltParam); ok { + return x.FltParam + } + return 0 +} + +func (x *MsgParam) GetStrParam() string { + if x, ok := x.GetParam().(*MsgParam_StrParam); ok { + return x.StrParam + } + return "" +} + +type isMsgParam_Param interface { + isMsgParam_Param() +} + +type MsgParam_IntParam struct { + IntParam uint32 `protobuf:"varint,9,opt,name=int_param,json=intParam,proto3,oneof"` +} + +type MsgParam_FltParam struct { + FltParam float32 `protobuf:"fixed32,7,opt,name=flt_param,json=fltParam,proto3,oneof"` +} + +type MsgParam_StrParam struct { + StrParam string `protobuf:"bytes,4,opt,name=str_param,json=strParam,proto3,oneof"` +} + +func (*MsgParam_IntParam) isMsgParam_Param() {} + +func (*MsgParam_FltParam) isMsgParam_Param() {} + +func (*MsgParam_StrParam) isMsgParam_Param() {} + +var File_MsgParam_proto protoreflect.FileDescriptor + +var file_MsgParam_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x70, 0x0a, 0x08, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x09, + 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x48, + 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x66, + 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, + 0x52, 0x08, 0x66, 0x6c, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x73, 0x74, + 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x08, 0x73, 0x74, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x07, 0x0a, 0x05, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MsgParam_proto_rawDescOnce sync.Once + file_MsgParam_proto_rawDescData = file_MsgParam_proto_rawDesc +) + +func file_MsgParam_proto_rawDescGZIP() []byte { + file_MsgParam_proto_rawDescOnce.Do(func() { + file_MsgParam_proto_rawDescData = protoimpl.X.CompressGZIP(file_MsgParam_proto_rawDescData) + }) + return file_MsgParam_proto_rawDescData +} + +var file_MsgParam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MsgParam_proto_goTypes = []interface{}{ + (*MsgParam)(nil), // 0: MsgParam +} +var file_MsgParam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MsgParam_proto_init() } +func file_MsgParam_proto_init() { + if File_MsgParam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MsgParam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgParam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_MsgParam_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MsgParam_IntParam)(nil), + (*MsgParam_FltParam)(nil), + (*MsgParam_StrParam)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MsgParam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MsgParam_proto_goTypes, + DependencyIndexes: file_MsgParam_proto_depIdxs, + MessageInfos: file_MsgParam_proto_msgTypes, + }.Build() + File_MsgParam_proto = out.File + file_MsgParam_proto_rawDesc = nil + file_MsgParam_proto_goTypes = nil + file_MsgParam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MsgParam.proto b/gate-hk4e-api/proto/MsgParam.proto new file mode 100644 index 00000000..2fba9d78 --- /dev/null +++ b/gate-hk4e-api/proto/MsgParam.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MsgParam { + oneof param { + uint32 int_param = 9; + float flt_param = 7; + string str_param = 4; + } +} diff --git a/gate-hk4e-api/proto/MultistagePlayEndNotify.pb.go b/gate-hk4e-api/proto/MultistagePlayEndNotify.pb.go new file mode 100644 index 00000000..d0b25987 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayEndNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5355 +// EnetChannelId: 0 +// EnetIsReliable: true +type MultistagePlayEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,13,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *MultistagePlayEndNotify) Reset() { + *x = MultistagePlayEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayEndNotify) ProtoMessage() {} + +func (x *MultistagePlayEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayEndNotify.ProtoReflect.Descriptor instead. +func (*MultistagePlayEndNotify) Descriptor() ([]byte, []int) { + return file_MultistagePlayEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayEndNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MultistagePlayEndNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_MultistagePlayEndNotify_proto protoreflect.FileDescriptor + +var file_MultistagePlayEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x53, 0x0a, 0x17, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MultistagePlayEndNotify_proto_rawDescOnce sync.Once + file_MultistagePlayEndNotify_proto_rawDescData = file_MultistagePlayEndNotify_proto_rawDesc +) + +func file_MultistagePlayEndNotify_proto_rawDescGZIP() []byte { + file_MultistagePlayEndNotify_proto_rawDescOnce.Do(func() { + file_MultistagePlayEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayEndNotify_proto_rawDescData) + }) + return file_MultistagePlayEndNotify_proto_rawDescData +} + +var file_MultistagePlayEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayEndNotify_proto_goTypes = []interface{}{ + (*MultistagePlayEndNotify)(nil), // 0: MultistagePlayEndNotify +} +var file_MultistagePlayEndNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MultistagePlayEndNotify_proto_init() } +func file_MultistagePlayEndNotify_proto_init() { + if File_MultistagePlayEndNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MultistagePlayEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayEndNotify_proto_goTypes, + DependencyIndexes: file_MultistagePlayEndNotify_proto_depIdxs, + MessageInfos: file_MultistagePlayEndNotify_proto_msgTypes, + }.Build() + File_MultistagePlayEndNotify_proto = out.File + file_MultistagePlayEndNotify_proto_rawDesc = nil + file_MultistagePlayEndNotify_proto_goTypes = nil + file_MultistagePlayEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayEndNotify.proto b/gate-hk4e-api/proto/MultistagePlayEndNotify.proto new file mode 100644 index 00000000..dd6148a4 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayEndNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5355 +// EnetChannelId: 0 +// EnetIsReliable: true +message MultistagePlayEndNotify { + uint32 group_id = 5; + uint32 play_index = 13; +} diff --git a/gate-hk4e-api/proto/MultistagePlayFinishStageReq.pb.go b/gate-hk4e-api/proto/MultistagePlayFinishStageReq.pb.go new file mode 100644 index 00000000..2de57968 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayFinishStageReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayFinishStageReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MultistagePlayFinishStageReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,15,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *MultistagePlayFinishStageReq) Reset() { + *x = MultistagePlayFinishStageReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayFinishStageReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayFinishStageReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayFinishStageReq) ProtoMessage() {} + +func (x *MultistagePlayFinishStageReq) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayFinishStageReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayFinishStageReq.ProtoReflect.Descriptor instead. +func (*MultistagePlayFinishStageReq) Descriptor() ([]byte, []int) { + return file_MultistagePlayFinishStageReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayFinishStageReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MultistagePlayFinishStageReq) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_MultistagePlayFinishStageReq_proto protoreflect.FileDescriptor + +var file_MultistagePlayFinishStageReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MultistagePlayFinishStageReq_proto_rawDescOnce sync.Once + file_MultistagePlayFinishStageReq_proto_rawDescData = file_MultistagePlayFinishStageReq_proto_rawDesc +) + +func file_MultistagePlayFinishStageReq_proto_rawDescGZIP() []byte { + file_MultistagePlayFinishStageReq_proto_rawDescOnce.Do(func() { + file_MultistagePlayFinishStageReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayFinishStageReq_proto_rawDescData) + }) + return file_MultistagePlayFinishStageReq_proto_rawDescData +} + +var file_MultistagePlayFinishStageReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayFinishStageReq_proto_goTypes = []interface{}{ + (*MultistagePlayFinishStageReq)(nil), // 0: MultistagePlayFinishStageReq +} +var file_MultistagePlayFinishStageReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MultistagePlayFinishStageReq_proto_init() } +func file_MultistagePlayFinishStageReq_proto_init() { + if File_MultistagePlayFinishStageReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MultistagePlayFinishStageReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayFinishStageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayFinishStageReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayFinishStageReq_proto_goTypes, + DependencyIndexes: file_MultistagePlayFinishStageReq_proto_depIdxs, + MessageInfos: file_MultistagePlayFinishStageReq_proto_msgTypes, + }.Build() + File_MultistagePlayFinishStageReq_proto = out.File + file_MultistagePlayFinishStageReq_proto_rawDesc = nil + file_MultistagePlayFinishStageReq_proto_goTypes = nil + file_MultistagePlayFinishStageReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayFinishStageReq.proto b/gate-hk4e-api/proto/MultistagePlayFinishStageReq.proto new file mode 100644 index 00000000..5437bec2 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayFinishStageReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MultistagePlayFinishStageReq { + uint32 group_id = 12; + uint32 play_index = 15; +} diff --git a/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.pb.go b/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.pb.go new file mode 100644 index 00000000..2e6c07dc --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayFinishStageRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5381 +// EnetChannelId: 0 +// EnetIsReliable: true +type MultistagePlayFinishStageRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + GroupId uint32 `protobuf:"varint,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,6,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *MultistagePlayFinishStageRsp) Reset() { + *x = MultistagePlayFinishStageRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayFinishStageRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayFinishStageRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayFinishStageRsp) ProtoMessage() {} + +func (x *MultistagePlayFinishStageRsp) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayFinishStageRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayFinishStageRsp.ProtoReflect.Descriptor instead. +func (*MultistagePlayFinishStageRsp) Descriptor() ([]byte, []int) { + return file_MultistagePlayFinishStageRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayFinishStageRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MultistagePlayFinishStageRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MultistagePlayFinishStageRsp) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_MultistagePlayFinishStageRsp_proto protoreflect.FileDescriptor + +var file_MultistagePlayFinishStageRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x1c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MultistagePlayFinishStageRsp_proto_rawDescOnce sync.Once + file_MultistagePlayFinishStageRsp_proto_rawDescData = file_MultistagePlayFinishStageRsp_proto_rawDesc +) + +func file_MultistagePlayFinishStageRsp_proto_rawDescGZIP() []byte { + file_MultistagePlayFinishStageRsp_proto_rawDescOnce.Do(func() { + file_MultistagePlayFinishStageRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayFinishStageRsp_proto_rawDescData) + }) + return file_MultistagePlayFinishStageRsp_proto_rawDescData +} + +var file_MultistagePlayFinishStageRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayFinishStageRsp_proto_goTypes = []interface{}{ + (*MultistagePlayFinishStageRsp)(nil), // 0: MultistagePlayFinishStageRsp +} +var file_MultistagePlayFinishStageRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MultistagePlayFinishStageRsp_proto_init() } +func file_MultistagePlayFinishStageRsp_proto_init() { + if File_MultistagePlayFinishStageRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MultistagePlayFinishStageRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayFinishStageRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayFinishStageRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayFinishStageRsp_proto_goTypes, + DependencyIndexes: file_MultistagePlayFinishStageRsp_proto_depIdxs, + MessageInfos: file_MultistagePlayFinishStageRsp_proto_msgTypes, + }.Build() + File_MultistagePlayFinishStageRsp_proto = out.File + file_MultistagePlayFinishStageRsp_proto_rawDesc = nil + file_MultistagePlayFinishStageRsp_proto_goTypes = nil + file_MultistagePlayFinishStageRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.proto b/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.proto new file mode 100644 index 00000000..316d2acd --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayFinishStageRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5381 +// EnetChannelId: 0 +// EnetIsReliable: true +message MultistagePlayFinishStageRsp { + int32 retcode = 11; + uint32 group_id = 12; + uint32 play_index = 6; +} diff --git a/gate-hk4e-api/proto/MultistagePlayInfo.pb.go b/gate-hk4e-api/proto/MultistagePlayInfo.pb.go new file mode 100644 index 00000000..5bd27734 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayInfo.pb.go @@ -0,0 +1,353 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MultistagePlayInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayIndex uint32 `protobuf:"varint,13,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + PlayType uint32 `protobuf:"varint,11,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + StageType uint32 `protobuf:"varint,10,opt,name=stage_type,json=stageType,proto3" json:"stage_type,omitempty"` + Duration uint32 `protobuf:"varint,8,opt,name=duration,proto3" json:"duration,omitempty"` + GroupId uint32 `protobuf:"varint,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + BeginTime uint32 `protobuf:"varint,9,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + StageIndex uint32 `protobuf:"varint,1,opt,name=stage_index,json=stageIndex,proto3" json:"stage_index,omitempty"` + // Types that are assignable to Detail: + // *MultistagePlayInfo_MechanicusInfo + // *MultistagePlayInfo_FleurFairInfo + // *MultistagePlayInfo_HideAndSeekInfo + // *MultistagePlayInfo_ChessInfo + // *MultistagePlayInfo_IrodoriChessInfo + Detail isMultistagePlayInfo_Detail `protobuf_oneof:"detail"` +} + +func (x *MultistagePlayInfo) Reset() { + *x = MultistagePlayInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayInfo) ProtoMessage() {} + +func (x *MultistagePlayInfo) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayInfo.ProtoReflect.Descriptor instead. +func (*MultistagePlayInfo) Descriptor() ([]byte, []int) { + return file_MultistagePlayInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayInfo) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *MultistagePlayInfo) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *MultistagePlayInfo) GetStageType() uint32 { + if x != nil { + return x.StageType + } + return 0 +} + +func (x *MultistagePlayInfo) GetDuration() uint32 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *MultistagePlayInfo) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MultistagePlayInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *MultistagePlayInfo) GetStageIndex() uint32 { + if x != nil { + return x.StageIndex + } + return 0 +} + +func (m *MultistagePlayInfo) GetDetail() isMultistagePlayInfo_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *MultistagePlayInfo) GetMechanicusInfo() *InBattleMechanicusInfo { + if x, ok := x.GetDetail().(*MultistagePlayInfo_MechanicusInfo); ok { + return x.MechanicusInfo + } + return nil +} + +func (x *MultistagePlayInfo) GetFleurFairInfo() *InBattleFleurFairInfo { + if x, ok := x.GetDetail().(*MultistagePlayInfo_FleurFairInfo); ok { + return x.FleurFairInfo + } + return nil +} + +func (x *MultistagePlayInfo) GetHideAndSeekInfo() *HideAndSeekStageInfo { + if x, ok := x.GetDetail().(*MultistagePlayInfo_HideAndSeekInfo); ok { + return x.HideAndSeekInfo + } + return nil +} + +func (x *MultistagePlayInfo) GetChessInfo() *InBattleChessInfo { + if x, ok := x.GetDetail().(*MultistagePlayInfo_ChessInfo); ok { + return x.ChessInfo + } + return nil +} + +func (x *MultistagePlayInfo) GetIrodoriChessInfo() *IrodoriChessInfo { + if x, ok := x.GetDetail().(*MultistagePlayInfo_IrodoriChessInfo); ok { + return x.IrodoriChessInfo + } + return nil +} + +type isMultistagePlayInfo_Detail interface { + isMultistagePlayInfo_Detail() +} + +type MultistagePlayInfo_MechanicusInfo struct { + MechanicusInfo *InBattleMechanicusInfo `protobuf:"bytes,1334,opt,name=mechanicus_info,json=mechanicusInfo,proto3,oneof"` +} + +type MultistagePlayInfo_FleurFairInfo struct { + FleurFairInfo *InBattleFleurFairInfo `protobuf:"bytes,1064,opt,name=fleur_fair_info,json=fleurFairInfo,proto3,oneof"` +} + +type MultistagePlayInfo_HideAndSeekInfo struct { + HideAndSeekInfo *HideAndSeekStageInfo `protobuf:"bytes,108,opt,name=hide_and_seek_info,json=hideAndSeekInfo,proto3,oneof"` +} + +type MultistagePlayInfo_ChessInfo struct { + ChessInfo *InBattleChessInfo `protobuf:"bytes,1758,opt,name=chess_info,json=chessInfo,proto3,oneof"` +} + +type MultistagePlayInfo_IrodoriChessInfo struct { + IrodoriChessInfo *IrodoriChessInfo `protobuf:"bytes,531,opt,name=irodori_chess_info,json=irodoriChessInfo,proto3,oneof"` +} + +func (*MultistagePlayInfo_MechanicusInfo) isMultistagePlayInfo_Detail() {} + +func (*MultistagePlayInfo_FleurFairInfo) isMultistagePlayInfo_Detail() {} + +func (*MultistagePlayInfo_HideAndSeekInfo) isMultistagePlayInfo_Detail() {} + +func (*MultistagePlayInfo_ChessInfo) isMultistagePlayInfo_Detail() {} + +func (*MultistagePlayInfo_IrodoriChessInfo) isMultistagePlayInfo_Detail() {} + +var File_MultistagePlayInfo_proto protoreflect.FileDescriptor + +var file_MultistagePlayInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x48, 0x69, 0x64, 0x65, + 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1b, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, + 0x69, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x49, 0x6e, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x49, 0x72, 0x6f, 0x64, + 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb8, 0x04, 0x0a, 0x12, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x43, 0x0a, 0x0f, 0x6d, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xb6, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0e, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x41, 0x0a, 0x0f, 0x66, 0x6c, 0x65, 0x75, 0x72, 0x5f, 0x66, 0x61, 0x69, 0x72, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xa8, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x49, 0x6e, 0x42, + 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x6c, 0x65, 0x75, 0x72, 0x46, 0x61, 0x69, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x12, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x61, 0x6e, 0x64, 0x5f, + 0x73, 0x65, 0x65, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x41, 0x6e, + 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x68, 0x65, + 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xde, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x63, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x42, 0x0a, 0x12, 0x69, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x73, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x93, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x49, + 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x10, 0x69, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_MultistagePlayInfo_proto_rawDescOnce sync.Once + file_MultistagePlayInfo_proto_rawDescData = file_MultistagePlayInfo_proto_rawDesc +) + +func file_MultistagePlayInfo_proto_rawDescGZIP() []byte { + file_MultistagePlayInfo_proto_rawDescOnce.Do(func() { + file_MultistagePlayInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayInfo_proto_rawDescData) + }) + return file_MultistagePlayInfo_proto_rawDescData +} + +var file_MultistagePlayInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayInfo_proto_goTypes = []interface{}{ + (*MultistagePlayInfo)(nil), // 0: MultistagePlayInfo + (*InBattleMechanicusInfo)(nil), // 1: InBattleMechanicusInfo + (*InBattleFleurFairInfo)(nil), // 2: InBattleFleurFairInfo + (*HideAndSeekStageInfo)(nil), // 3: HideAndSeekStageInfo + (*InBattleChessInfo)(nil), // 4: InBattleChessInfo + (*IrodoriChessInfo)(nil), // 5: IrodoriChessInfo +} +var file_MultistagePlayInfo_proto_depIdxs = []int32{ + 1, // 0: MultistagePlayInfo.mechanicus_info:type_name -> InBattleMechanicusInfo + 2, // 1: MultistagePlayInfo.fleur_fair_info:type_name -> InBattleFleurFairInfo + 3, // 2: MultistagePlayInfo.hide_and_seek_info:type_name -> HideAndSeekStageInfo + 4, // 3: MultistagePlayInfo.chess_info:type_name -> InBattleChessInfo + 5, // 4: MultistagePlayInfo.irodori_chess_info:type_name -> IrodoriChessInfo + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_MultistagePlayInfo_proto_init() } +func file_MultistagePlayInfo_proto_init() { + if File_MultistagePlayInfo_proto != nil { + return + } + file_HideAndSeekStageInfo_proto_init() + file_InBattleChessInfo_proto_init() + file_InBattleFleurFairInfo_proto_init() + file_InBattleMechanicusInfo_proto_init() + file_IrodoriChessInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MultistagePlayInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_MultistagePlayInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MultistagePlayInfo_MechanicusInfo)(nil), + (*MultistagePlayInfo_FleurFairInfo)(nil), + (*MultistagePlayInfo_HideAndSeekInfo)(nil), + (*MultistagePlayInfo_ChessInfo)(nil), + (*MultistagePlayInfo_IrodoriChessInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayInfo_proto_goTypes, + DependencyIndexes: file_MultistagePlayInfo_proto_depIdxs, + MessageInfos: file_MultistagePlayInfo_proto_msgTypes, + }.Build() + File_MultistagePlayInfo_proto = out.File + file_MultistagePlayInfo_proto_rawDesc = nil + file_MultistagePlayInfo_proto_goTypes = nil + file_MultistagePlayInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayInfo.proto b/gate-hk4e-api/proto/MultistagePlayInfo.proto new file mode 100644 index 00000000..b14ef829 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayInfo.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HideAndSeekStageInfo.proto"; +import "InBattleChessInfo.proto"; +import "InBattleFleurFairInfo.proto"; +import "InBattleMechanicusInfo.proto"; +import "IrodoriChessInfo.proto"; + +option go_package = "./;proto"; + +message MultistagePlayInfo { + uint32 play_index = 13; + uint32 play_type = 11; + uint32 stage_type = 10; + uint32 duration = 8; + uint32 group_id = 12; + uint32 begin_time = 9; + uint32 stage_index = 1; + oneof detail { + InBattleMechanicusInfo mechanicus_info = 1334; + InBattleFleurFairInfo fleur_fair_info = 1064; + HideAndSeekStageInfo hide_and_seek_info = 108; + InBattleChessInfo chess_info = 1758; + IrodoriChessInfo irodori_chess_info = 531; + } +} diff --git a/gate-hk4e-api/proto/MultistagePlayInfoNotify.pb.go b/gate-hk4e-api/proto/MultistagePlayInfoNotify.pb.go new file mode 100644 index 00000000..f9e122f1 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5372 +// EnetChannelId: 0 +// EnetIsReliable: true +type MultistagePlayInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *MultistagePlayInfo `protobuf:"bytes,13,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *MultistagePlayInfoNotify) Reset() { + *x = MultistagePlayInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayInfoNotify) ProtoMessage() {} + +func (x *MultistagePlayInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayInfoNotify.ProtoReflect.Descriptor instead. +func (*MultistagePlayInfoNotify) Descriptor() ([]byte, []int) { + return file_MultistagePlayInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayInfoNotify) GetInfo() *MultistagePlayInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_MultistagePlayInfoNotify_proto protoreflect.FileDescriptor + +var file_MultistagePlayInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x18, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_MultistagePlayInfoNotify_proto_rawDescOnce sync.Once + file_MultistagePlayInfoNotify_proto_rawDescData = file_MultistagePlayInfoNotify_proto_rawDesc +) + +func file_MultistagePlayInfoNotify_proto_rawDescGZIP() []byte { + file_MultistagePlayInfoNotify_proto_rawDescOnce.Do(func() { + file_MultistagePlayInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayInfoNotify_proto_rawDescData) + }) + return file_MultistagePlayInfoNotify_proto_rawDescData +} + +var file_MultistagePlayInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayInfoNotify_proto_goTypes = []interface{}{ + (*MultistagePlayInfoNotify)(nil), // 0: MultistagePlayInfoNotify + (*MultistagePlayInfo)(nil), // 1: MultistagePlayInfo +} +var file_MultistagePlayInfoNotify_proto_depIdxs = []int32{ + 1, // 0: MultistagePlayInfoNotify.info:type_name -> MultistagePlayInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MultistagePlayInfoNotify_proto_init() } +func file_MultistagePlayInfoNotify_proto_init() { + if File_MultistagePlayInfoNotify_proto != nil { + return + } + file_MultistagePlayInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MultistagePlayInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayInfoNotify_proto_goTypes, + DependencyIndexes: file_MultistagePlayInfoNotify_proto_depIdxs, + MessageInfos: file_MultistagePlayInfoNotify_proto_msgTypes, + }.Build() + File_MultistagePlayInfoNotify_proto = out.File + file_MultistagePlayInfoNotify_proto_rawDesc = nil + file_MultistagePlayInfoNotify_proto_goTypes = nil + file_MultistagePlayInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayInfoNotify.proto b/gate-hk4e-api/proto/MultistagePlayInfoNotify.proto new file mode 100644 index 00000000..4292ff3d --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MultistagePlayInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5372 +// EnetChannelId: 0 +// EnetIsReliable: true +message MultistagePlayInfoNotify { + MultistagePlayInfo info = 13; +} diff --git a/gate-hk4e-api/proto/MultistagePlaySettleNotify.pb.go b/gate-hk4e-api/proto/MultistagePlaySettleNotify.pb.go new file mode 100644 index 00000000..7d993eef --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlaySettleNotify.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlaySettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5313 +// EnetChannelId: 0 +// EnetIsReliable: true +type MultistagePlaySettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayIndex uint32 `protobuf:"varint,14,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + // Types that are assignable to Detail: + // *MultistagePlaySettleNotify_MechanicusSettleInfo + // *MultistagePlaySettleNotify_ChessSettleInfo + // *MultistagePlaySettleNotify_IrodoriChessSettleInfo + Detail isMultistagePlaySettleNotify_Detail `protobuf_oneof:"detail"` +} + +func (x *MultistagePlaySettleNotify) Reset() { + *x = MultistagePlaySettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlaySettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlaySettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlaySettleNotify) ProtoMessage() {} + +func (x *MultistagePlaySettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlaySettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlaySettleNotify.ProtoReflect.Descriptor instead. +func (*MultistagePlaySettleNotify) Descriptor() ([]byte, []int) { + return file_MultistagePlaySettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlaySettleNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +func (x *MultistagePlaySettleNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (m *MultistagePlaySettleNotify) GetDetail() isMultistagePlaySettleNotify_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *MultistagePlaySettleNotify) GetMechanicusSettleInfo() *InBattleMechanicusSettleInfo { + if x, ok := x.GetDetail().(*MultistagePlaySettleNotify_MechanicusSettleInfo); ok { + return x.MechanicusSettleInfo + } + return nil +} + +func (x *MultistagePlaySettleNotify) GetChessSettleInfo() *InBattleChessSettleInfo { + if x, ok := x.GetDetail().(*MultistagePlaySettleNotify_ChessSettleInfo); ok { + return x.ChessSettleInfo + } + return nil +} + +func (x *MultistagePlaySettleNotify) GetIrodoriChessSettleInfo() *IrodoriChessSettleInfo { + if x, ok := x.GetDetail().(*MultistagePlaySettleNotify_IrodoriChessSettleInfo); ok { + return x.IrodoriChessSettleInfo + } + return nil +} + +type isMultistagePlaySettleNotify_Detail interface { + isMultistagePlaySettleNotify_Detail() +} + +type MultistagePlaySettleNotify_MechanicusSettleInfo struct { + MechanicusSettleInfo *InBattleMechanicusSettleInfo `protobuf:"bytes,1402,opt,name=mechanicus_settle_info,json=mechanicusSettleInfo,proto3,oneof"` +} + +type MultistagePlaySettleNotify_ChessSettleInfo struct { + ChessSettleInfo *InBattleChessSettleInfo `protobuf:"bytes,1283,opt,name=chess_settle_info,json=chessSettleInfo,proto3,oneof"` +} + +type MultistagePlaySettleNotify_IrodoriChessSettleInfo struct { + IrodoriChessSettleInfo *IrodoriChessSettleInfo `protobuf:"bytes,612,opt,name=irodori_chess_settle_info,json=irodoriChessSettleInfo,proto3,oneof"` +} + +func (*MultistagePlaySettleNotify_MechanicusSettleInfo) isMultistagePlaySettleNotify_Detail() {} + +func (*MultistagePlaySettleNotify_ChessSettleInfo) isMultistagePlaySettleNotify_Detail() {} + +func (*MultistagePlaySettleNotify_IrodoriChessSettleInfo) isMultistagePlaySettleNotify_Detail() {} + +var File_MultistagePlaySettleNotify_proto protoreflect.FileDescriptor + +var file_MultistagePlaySettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, + 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x22, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, + 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, + 0x65, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x02, 0x0a, 0x1a, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x56, 0x0a, 0x16, + 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xfa, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, + 0x75, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x14, + 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x83, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x68, + 0x65, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, + 0x19, 0x69, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x5f, 0x63, 0x68, 0x65, 0x73, 0x73, 0x5f, 0x73, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xe4, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x16, 0x69, 0x72, + 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x43, 0x68, 0x65, 0x73, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MultistagePlaySettleNotify_proto_rawDescOnce sync.Once + file_MultistagePlaySettleNotify_proto_rawDescData = file_MultistagePlaySettleNotify_proto_rawDesc +) + +func file_MultistagePlaySettleNotify_proto_rawDescGZIP() []byte { + file_MultistagePlaySettleNotify_proto_rawDescOnce.Do(func() { + file_MultistagePlaySettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlaySettleNotify_proto_rawDescData) + }) + return file_MultistagePlaySettleNotify_proto_rawDescData +} + +var file_MultistagePlaySettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlaySettleNotify_proto_goTypes = []interface{}{ + (*MultistagePlaySettleNotify)(nil), // 0: MultistagePlaySettleNotify + (*InBattleMechanicusSettleInfo)(nil), // 1: InBattleMechanicusSettleInfo + (*InBattleChessSettleInfo)(nil), // 2: InBattleChessSettleInfo + (*IrodoriChessSettleInfo)(nil), // 3: IrodoriChessSettleInfo +} +var file_MultistagePlaySettleNotify_proto_depIdxs = []int32{ + 1, // 0: MultistagePlaySettleNotify.mechanicus_settle_info:type_name -> InBattleMechanicusSettleInfo + 2, // 1: MultistagePlaySettleNotify.chess_settle_info:type_name -> InBattleChessSettleInfo + 3, // 2: MultistagePlaySettleNotify.irodori_chess_settle_info:type_name -> IrodoriChessSettleInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_MultistagePlaySettleNotify_proto_init() } +func file_MultistagePlaySettleNotify_proto_init() { + if File_MultistagePlaySettleNotify_proto != nil { + return + } + file_InBattleChessSettleInfo_proto_init() + file_InBattleMechanicusSettleInfo_proto_init() + file_IrodoriChessSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_MultistagePlaySettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlaySettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_MultistagePlaySettleNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MultistagePlaySettleNotify_MechanicusSettleInfo)(nil), + (*MultistagePlaySettleNotify_ChessSettleInfo)(nil), + (*MultistagePlaySettleNotify_IrodoriChessSettleInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlaySettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlaySettleNotify_proto_goTypes, + DependencyIndexes: file_MultistagePlaySettleNotify_proto_depIdxs, + MessageInfos: file_MultistagePlaySettleNotify_proto_msgTypes, + }.Build() + File_MultistagePlaySettleNotify_proto = out.File + file_MultistagePlaySettleNotify_proto_rawDesc = nil + file_MultistagePlaySettleNotify_proto_goTypes = nil + file_MultistagePlaySettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlaySettleNotify.proto b/gate-hk4e-api/proto/MultistagePlaySettleNotify.proto new file mode 100644 index 00000000..b56eaa59 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlaySettleNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InBattleChessSettleInfo.proto"; +import "InBattleMechanicusSettleInfo.proto"; +import "IrodoriChessSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5313 +// EnetChannelId: 0 +// EnetIsReliable: true +message MultistagePlaySettleNotify { + uint32 play_index = 14; + uint32 group_id = 4; + oneof detail { + InBattleMechanicusSettleInfo mechanicus_settle_info = 1402; + InBattleChessSettleInfo chess_settle_info = 1283; + IrodoriChessSettleInfo irodori_chess_settle_info = 612; + } +} diff --git a/gate-hk4e-api/proto/MultistagePlayStageEndNotify.pb.go b/gate-hk4e-api/proto/MultistagePlayStageEndNotify.pb.go new file mode 100644 index 00000000..2a9ee097 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayStageEndNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistagePlayStageEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5379 +// EnetChannelId: 0 +// EnetIsReliable: true +type MultistagePlayStageEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + PlayIndex uint32 `protobuf:"varint,9,opt,name=play_index,json=playIndex,proto3" json:"play_index,omitempty"` +} + +func (x *MultistagePlayStageEndNotify) Reset() { + *x = MultistagePlayStageEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistagePlayStageEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistagePlayStageEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistagePlayStageEndNotify) ProtoMessage() {} + +func (x *MultistagePlayStageEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_MultistagePlayStageEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistagePlayStageEndNotify.ProtoReflect.Descriptor instead. +func (*MultistagePlayStageEndNotify) Descriptor() ([]byte, []int) { + return file_MultistagePlayStageEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistagePlayStageEndNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *MultistagePlayStageEndNotify) GetPlayIndex() uint32 { + if x != nil { + return x.PlayIndex + } + return 0 +} + +var File_MultistagePlayStageEndNotify_proto protoreflect.FileDescriptor + +var file_MultistagePlayStageEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_MultistagePlayStageEndNotify_proto_rawDescOnce sync.Once + file_MultistagePlayStageEndNotify_proto_rawDescData = file_MultistagePlayStageEndNotify_proto_rawDesc +) + +func file_MultistagePlayStageEndNotify_proto_rawDescGZIP() []byte { + file_MultistagePlayStageEndNotify_proto_rawDescOnce.Do(func() { + file_MultistagePlayStageEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistagePlayStageEndNotify_proto_rawDescData) + }) + return file_MultistagePlayStageEndNotify_proto_rawDescData +} + +var file_MultistagePlayStageEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistagePlayStageEndNotify_proto_goTypes = []interface{}{ + (*MultistagePlayStageEndNotify)(nil), // 0: MultistagePlayStageEndNotify +} +var file_MultistagePlayStageEndNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MultistagePlayStageEndNotify_proto_init() } +func file_MultistagePlayStageEndNotify_proto_init() { + if File_MultistagePlayStageEndNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MultistagePlayStageEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistagePlayStageEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistagePlayStageEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistagePlayStageEndNotify_proto_goTypes, + DependencyIndexes: file_MultistagePlayStageEndNotify_proto_depIdxs, + MessageInfos: file_MultistagePlayStageEndNotify_proto_msgTypes, + }.Build() + File_MultistagePlayStageEndNotify_proto = out.File + file_MultistagePlayStageEndNotify_proto_rawDesc = nil + file_MultistagePlayStageEndNotify_proto_goTypes = nil + file_MultistagePlayStageEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistagePlayStageEndNotify.proto b/gate-hk4e-api/proto/MultistagePlayStageEndNotify.proto new file mode 100644 index 00000000..17c56984 --- /dev/null +++ b/gate-hk4e-api/proto/MultistagePlayStageEndNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5379 +// EnetChannelId: 0 +// EnetIsReliable: true +message MultistagePlayStageEndNotify { + uint32 group_id = 15; + uint32 play_index = 9; +} diff --git a/gate-hk4e-api/proto/MultistageSettleWatcherInfo.pb.go b/gate-hk4e-api/proto/MultistageSettleWatcherInfo.pb.go new file mode 100644 index 00000000..761ddef8 --- /dev/null +++ b/gate-hk4e-api/proto/MultistageSettleWatcherInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MultistageSettleWatcherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MultistageSettleWatcherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalProgress uint32 `protobuf:"varint,13,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + CurProgress uint32 `protobuf:"varint,5,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + WatcherId uint32 `protobuf:"varint,7,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` + IsInverse bool `protobuf:"varint,12,opt,name=is_inverse,json=isInverse,proto3" json:"is_inverse,omitempty"` +} + +func (x *MultistageSettleWatcherInfo) Reset() { + *x = MultistageSettleWatcherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MultistageSettleWatcherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultistageSettleWatcherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultistageSettleWatcherInfo) ProtoMessage() {} + +func (x *MultistageSettleWatcherInfo) ProtoReflect() protoreflect.Message { + mi := &file_MultistageSettleWatcherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultistageSettleWatcherInfo.ProtoReflect.Descriptor instead. +func (*MultistageSettleWatcherInfo) Descriptor() ([]byte, []int) { + return file_MultistageSettleWatcherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MultistageSettleWatcherInfo) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *MultistageSettleWatcherInfo) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *MultistageSettleWatcherInfo) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +func (x *MultistageSettleWatcherInfo) GetIsInverse() bool { + if x != nil { + return x.IsInverse + } + return false +} + +var File_MultistageSettleWatcherInfo_proto protoreflect.FileDescriptor + +var file_MultistageSettleWatcherInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x1b, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, + 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, + 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x69, 0x73, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MultistageSettleWatcherInfo_proto_rawDescOnce sync.Once + file_MultistageSettleWatcherInfo_proto_rawDescData = file_MultistageSettleWatcherInfo_proto_rawDesc +) + +func file_MultistageSettleWatcherInfo_proto_rawDescGZIP() []byte { + file_MultistageSettleWatcherInfo_proto_rawDescOnce.Do(func() { + file_MultistageSettleWatcherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MultistageSettleWatcherInfo_proto_rawDescData) + }) + return file_MultistageSettleWatcherInfo_proto_rawDescData +} + +var file_MultistageSettleWatcherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MultistageSettleWatcherInfo_proto_goTypes = []interface{}{ + (*MultistageSettleWatcherInfo)(nil), // 0: MultistageSettleWatcherInfo +} +var file_MultistageSettleWatcherInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MultistageSettleWatcherInfo_proto_init() } +func file_MultistageSettleWatcherInfo_proto_init() { + if File_MultistageSettleWatcherInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MultistageSettleWatcherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultistageSettleWatcherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MultistageSettleWatcherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MultistageSettleWatcherInfo_proto_goTypes, + DependencyIndexes: file_MultistageSettleWatcherInfo_proto_depIdxs, + MessageInfos: file_MultistageSettleWatcherInfo_proto_msgTypes, + }.Build() + File_MultistageSettleWatcherInfo_proto = out.File + file_MultistageSettleWatcherInfo_proto_rawDesc = nil + file_MultistageSettleWatcherInfo_proto_goTypes = nil + file_MultistageSettleWatcherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MultistageSettleWatcherInfo.proto b/gate-hk4e-api/proto/MultistageSettleWatcherInfo.proto new file mode 100644 index 00000000..55d72ef5 --- /dev/null +++ b/gate-hk4e-api/proto/MultistageSettleWatcherInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MultistageSettleWatcherInfo { + uint32 total_progress = 13; + uint32 cur_progress = 5; + uint32 watcher_id = 7; + bool is_inverse = 12; +} diff --git a/gate-hk4e-api/proto/MuqadasPotionDetailInfo.pb.go b/gate-hk4e-api/proto/MuqadasPotionDetailInfo.pb.go new file mode 100644 index 00000000..68ba402f --- /dev/null +++ b/gate-hk4e-api/proto/MuqadasPotionDetailInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MuqadasPotionDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MuqadasPotionDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_IBEFNBFGAOP []*Unk3000_IIBHKLNAHHC `protobuf:"bytes,8,rep,name=Unk3000_IBEFNBFGAOP,json=Unk3000IBEFNBFGAOP,proto3" json:"Unk3000_IBEFNBFGAOP,omitempty"` +} + +func (x *MuqadasPotionDetailInfo) Reset() { + *x = MuqadasPotionDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MuqadasPotionDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MuqadasPotionDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MuqadasPotionDetailInfo) ProtoMessage() {} + +func (x *MuqadasPotionDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_MuqadasPotionDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MuqadasPotionDetailInfo.ProtoReflect.Descriptor instead. +func (*MuqadasPotionDetailInfo) Descriptor() ([]byte, []int) { + return file_MuqadasPotionDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MuqadasPotionDetailInfo) GetUnk3000_IBEFNBFGAOP() []*Unk3000_IIBHKLNAHHC { + if x != nil { + return x.Unk3000_IBEFNBFGAOP + } + return nil +} + +var File_MuqadasPotionDetailInfo_proto protoreflect.FileDescriptor + +var file_MuqadasPotionDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x42, 0x48, 0x4b, 0x4c, 0x4e, + 0x41, 0x48, 0x48, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x17, 0x4d, 0x75, + 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x49, 0x42, 0x45, 0x46, 0x4e, 0x42, 0x46, 0x47, 0x41, 0x4f, 0x50, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x42, + 0x48, 0x4b, 0x4c, 0x4e, 0x41, 0x48, 0x48, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x49, 0x42, 0x45, 0x46, 0x4e, 0x42, 0x46, 0x47, 0x41, 0x4f, 0x50, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MuqadasPotionDetailInfo_proto_rawDescOnce sync.Once + file_MuqadasPotionDetailInfo_proto_rawDescData = file_MuqadasPotionDetailInfo_proto_rawDesc +) + +func file_MuqadasPotionDetailInfo_proto_rawDescGZIP() []byte { + file_MuqadasPotionDetailInfo_proto_rawDescOnce.Do(func() { + file_MuqadasPotionDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MuqadasPotionDetailInfo_proto_rawDescData) + }) + return file_MuqadasPotionDetailInfo_proto_rawDescData +} + +var file_MuqadasPotionDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MuqadasPotionDetailInfo_proto_goTypes = []interface{}{ + (*MuqadasPotionDetailInfo)(nil), // 0: MuqadasPotionDetailInfo + (*Unk3000_IIBHKLNAHHC)(nil), // 1: Unk3000_IIBHKLNAHHC +} +var file_MuqadasPotionDetailInfo_proto_depIdxs = []int32{ + 1, // 0: MuqadasPotionDetailInfo.Unk3000_IBEFNBFGAOP:type_name -> Unk3000_IIBHKLNAHHC + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MuqadasPotionDetailInfo_proto_init() } +func file_MuqadasPotionDetailInfo_proto_init() { + if File_MuqadasPotionDetailInfo_proto != nil { + return + } + file_Unk3000_IIBHKLNAHHC_proto_init() + if !protoimpl.UnsafeEnabled { + file_MuqadasPotionDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuqadasPotionDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MuqadasPotionDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MuqadasPotionDetailInfo_proto_goTypes, + DependencyIndexes: file_MuqadasPotionDetailInfo_proto_depIdxs, + MessageInfos: file_MuqadasPotionDetailInfo_proto_msgTypes, + }.Build() + File_MuqadasPotionDetailInfo_proto = out.File + file_MuqadasPotionDetailInfo_proto_rawDesc = nil + file_MuqadasPotionDetailInfo_proto_goTypes = nil + file_MuqadasPotionDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MuqadasPotionDetailInfo.proto b/gate-hk4e-api/proto/MuqadasPotionDetailInfo.proto new file mode 100644 index 00000000..e2c1cb63 --- /dev/null +++ b/gate-hk4e-api/proto/MuqadasPotionDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_IIBHKLNAHHC.proto"; + +option go_package = "./;proto"; + +message MuqadasPotionDetailInfo { + repeated Unk3000_IIBHKLNAHHC Unk3000_IBEFNBFGAOP = 8; +} diff --git a/gate-hk4e-api/proto/MusicBriefInfo.pb.go b/gate-hk4e-api/proto/MusicBriefInfo.pb.go new file mode 100644 index 00000000..ab34c36b --- /dev/null +++ b/gate-hk4e-api/proto/MusicBriefInfo.pb.go @@ -0,0 +1,367 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicBriefInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MusicBriefInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JNENCBCGPGO uint64 `protobuf:"varint,5,opt,name=Unk2700_JNENCBCGPGO,json=Unk2700JNENCBCGPGO,proto3" json:"Unk2700_JNENCBCGPGO,omitempty"` + Unk2700_OJBPHCIDAEB bool `protobuf:"varint,8,opt,name=Unk2700_OJBPHCIDAEB,json=Unk2700OJBPHCIDAEB,proto3" json:"Unk2700_OJBPHCIDAEB,omitempty"` + Unk2700_FGCJEGHOKPG bool `protobuf:"varint,1,opt,name=Unk2700_FGCJEGHOKPG,json=Unk2700FGCJEGHOKPG,proto3" json:"Unk2700_FGCJEGHOKPG,omitempty"` + Unk2700_DFIBAIILJHN uint32 `protobuf:"varint,2,opt,name=Unk2700_DFIBAIILJHN,json=Unk2700DFIBAIILJHN,proto3" json:"Unk2700_DFIBAIILJHN,omitempty"` + Unk2700_MKBNLEKMIMD uint32 `protobuf:"varint,1182,opt,name=Unk2700_MKBNLEKMIMD,json=Unk2700MKBNLEKMIMD,proto3" json:"Unk2700_MKBNLEKMIMD,omitempty"` + Unk2700_PINGIIAANMO uint32 `protobuf:"varint,12,opt,name=Unk2700_PINGIIAANMO,json=Unk2700PINGIIAANMO,proto3" json:"Unk2700_PINGIIAANMO,omitempty"` + Unk2700_MONNIDCNDFI string `protobuf:"bytes,10,opt,name=Unk2700_MONNIDCNDFI,json=Unk2700MONNIDCNDFI,proto3" json:"Unk2700_MONNIDCNDFI,omitempty"` + Version uint32 `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty"` + Unk2700_GGHNLPMAGME uint32 `protobuf:"varint,3,opt,name=Unk2700_GGHNLPMAGME,json=Unk2700GGHNLPMAGME,proto3" json:"Unk2700_GGHNLPMAGME,omitempty"` + Unk2700_GDCGOMNBMEO []uint32 `protobuf:"varint,1002,rep,packed,name=Unk2700_GDCGOMNBMEO,json=Unk2700GDCGOMNBMEO,proto3" json:"Unk2700_GDCGOMNBMEO,omitempty"` + Unk2700_JAEONBMBFJJ []uint32 `protobuf:"varint,982,rep,packed,name=Unk2700_JAEONBMBFJJ,json=Unk2700JAEONBMBFJJ,proto3" json:"Unk2700_JAEONBMBFJJ,omitempty"` + Unk2700_GBCGGDONMCD bool `protobuf:"varint,9,opt,name=Unk2700_GBCGGDONMCD,json=Unk2700GBCGGDONMCD,proto3" json:"Unk2700_GBCGGDONMCD,omitempty"` + Unk2700_LPEKFJBNEJM uint32 `protobuf:"varint,1822,opt,name=Unk2700_LPEKFJBNEJM,json=Unk2700LPEKFJBNEJM,proto3" json:"Unk2700_LPEKFJBNEJM,omitempty"` + Unk2700_DNLEGADDHKM bool `protobuf:"varint,11,opt,name=Unk2700_DNLEGADDHKM,json=Unk2700DNLEGADDHKM,proto3" json:"Unk2700_DNLEGADDHKM,omitempty"` + Unk2700_BFMNMPPNBHH uint32 `protobuf:"varint,13,opt,name=Unk2700_BFMNMPPNBHH,json=Unk2700BFMNMPPNBHH,proto3" json:"Unk2700_BFMNMPPNBHH,omitempty"` + MaxScore uint32 `protobuf:"varint,14,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + Unk2700_KAMOCHAKPGP uint32 `protobuf:"varint,576,opt,name=Unk2700_KAMOCHAKPGP,json=Unk2700KAMOCHAKPGP,proto3" json:"Unk2700_KAMOCHAKPGP,omitempty"` + Unk2700_KLPHBLCIOEC uint32 `protobuf:"varint,7,opt,name=Unk2700_KLPHBLCIOEC,json=Unk2700KLPHBLCIOEC,proto3" json:"Unk2700_KLPHBLCIOEC,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,4,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_PMCPLPMJCEC uint32 `protobuf:"varint,6,opt,name=Unk2700_PMCPLPMJCEC,json=Unk2700PMCPLPMJCEC,proto3" json:"Unk2700_PMCPLPMJCEC,omitempty"` +} + +func (x *MusicBriefInfo) Reset() { + *x = MusicBriefInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicBriefInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicBriefInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicBriefInfo) ProtoMessage() {} + +func (x *MusicBriefInfo) ProtoReflect() protoreflect.Message { + mi := &file_MusicBriefInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicBriefInfo.ProtoReflect.Descriptor instead. +func (*MusicBriefInfo) Descriptor() ([]byte, []int) { + return file_MusicBriefInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicBriefInfo) GetUnk2700_JNENCBCGPGO() uint64 { + if x != nil { + return x.Unk2700_JNENCBCGPGO + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_OJBPHCIDAEB() bool { + if x != nil { + return x.Unk2700_OJBPHCIDAEB + } + return false +} + +func (x *MusicBriefInfo) GetUnk2700_FGCJEGHOKPG() bool { + if x != nil { + return x.Unk2700_FGCJEGHOKPG + } + return false +} + +func (x *MusicBriefInfo) GetUnk2700_DFIBAIILJHN() uint32 { + if x != nil { + return x.Unk2700_DFIBAIILJHN + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_MKBNLEKMIMD() uint32 { + if x != nil { + return x.Unk2700_MKBNLEKMIMD + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_PINGIIAANMO() uint32 { + if x != nil { + return x.Unk2700_PINGIIAANMO + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_MONNIDCNDFI() string { + if x != nil { + return x.Unk2700_MONNIDCNDFI + } + return "" +} + +func (x *MusicBriefInfo) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_GGHNLPMAGME() uint32 { + if x != nil { + return x.Unk2700_GGHNLPMAGME + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_GDCGOMNBMEO() []uint32 { + if x != nil { + return x.Unk2700_GDCGOMNBMEO + } + return nil +} + +func (x *MusicBriefInfo) GetUnk2700_JAEONBMBFJJ() []uint32 { + if x != nil { + return x.Unk2700_JAEONBMBFJJ + } + return nil +} + +func (x *MusicBriefInfo) GetUnk2700_GBCGGDONMCD() bool { + if x != nil { + return x.Unk2700_GBCGGDONMCD + } + return false +} + +func (x *MusicBriefInfo) GetUnk2700_LPEKFJBNEJM() uint32 { + if x != nil { + return x.Unk2700_LPEKFJBNEJM + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_DNLEGADDHKM() bool { + if x != nil { + return x.Unk2700_DNLEGADDHKM + } + return false +} + +func (x *MusicBriefInfo) GetUnk2700_BFMNMPPNBHH() uint32 { + if x != nil { + return x.Unk2700_BFMNMPPNBHH + } + return 0 +} + +func (x *MusicBriefInfo) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_KAMOCHAKPGP() uint32 { + if x != nil { + return x.Unk2700_KAMOCHAKPGP + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_KLPHBLCIOEC() uint32 { + if x != nil { + return x.Unk2700_KLPHBLCIOEC + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *MusicBriefInfo) GetUnk2700_PMCPLPMJCEC() uint32 { + if x != nil { + return x.Unk2700_PMCPLPMJCEC + } + return 0 +} + +var File_MusicBriefInfo_proto protoreflect.FileDescriptor + +var file_MusicBriefInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x07, 0x0a, 0x0e, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4e, 0x45, 0x4e, 0x43, 0x42, 0x43, 0x47, 0x50, 0x47, 0x4f, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, + 0x4e, 0x45, 0x4e, 0x43, 0x42, 0x43, 0x47, 0x50, 0x47, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x42, 0x50, 0x48, 0x43, 0x49, 0x44, 0x41, 0x45, + 0x42, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4f, 0x4a, 0x42, 0x50, 0x48, 0x43, 0x49, 0x44, 0x41, 0x45, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x43, 0x4a, 0x45, 0x47, 0x48, 0x4f, 0x4b, + 0x50, 0x47, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x46, 0x47, 0x43, 0x4a, 0x45, 0x47, 0x48, 0x4f, 0x4b, 0x50, 0x47, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x49, 0x42, 0x41, 0x49, 0x49, 0x4c, + 0x4a, 0x48, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x44, 0x46, 0x49, 0x42, 0x41, 0x49, 0x49, 0x4c, 0x4a, 0x48, 0x4e, 0x12, 0x30, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x42, 0x4e, 0x4c, 0x45, 0x4b, + 0x4d, 0x49, 0x4d, 0x44, 0x18, 0x9e, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4b, 0x42, 0x4e, 0x4c, 0x45, 0x4b, 0x4d, 0x49, 0x4d, 0x44, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4e, 0x47, 0x49, + 0x49, 0x41, 0x41, 0x4e, 0x4d, 0x4f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x49, 0x4e, 0x47, 0x49, 0x49, 0x41, 0x41, 0x4e, 0x4d, 0x4f, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x4e, 0x4e, + 0x49, 0x44, 0x43, 0x4e, 0x44, 0x46, 0x49, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4f, 0x4e, 0x4e, 0x49, 0x44, 0x43, 0x4e, 0x44, 0x46, + 0x49, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x47, 0x48, 0x4e, 0x4c, 0x50, 0x4d, 0x41, 0x47, + 0x4d, 0x45, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x47, 0x47, 0x48, 0x4e, 0x4c, 0x50, 0x4d, 0x41, 0x47, 0x4d, 0x45, 0x12, 0x30, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x43, 0x47, 0x4f, 0x4d, 0x4e, 0x42, + 0x4d, 0x45, 0x4f, 0x18, 0xea, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x47, 0x44, 0x43, 0x47, 0x4f, 0x4d, 0x4e, 0x42, 0x4d, 0x45, 0x4f, 0x12, 0x30, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x45, 0x4f, 0x4e, 0x42, + 0x4d, 0x42, 0x46, 0x4a, 0x4a, 0x18, 0xd6, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x41, 0x45, 0x4f, 0x4e, 0x42, 0x4d, 0x42, 0x46, 0x4a, 0x4a, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x43, 0x47, + 0x47, 0x44, 0x4f, 0x4e, 0x4d, 0x43, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x42, 0x43, 0x47, 0x47, 0x44, 0x4f, 0x4e, 0x4d, 0x43, + 0x44, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x50, 0x45, + 0x4b, 0x46, 0x4a, 0x42, 0x4e, 0x45, 0x4a, 0x4d, 0x18, 0x9e, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x50, 0x45, 0x4b, 0x46, 0x4a, 0x42, 0x4e, + 0x45, 0x4a, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x4e, 0x4c, 0x45, 0x47, 0x41, 0x44, 0x44, 0x48, 0x4b, 0x4d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4e, 0x4c, 0x45, 0x47, 0x41, 0x44, + 0x44, 0x48, 0x4b, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x42, 0x46, 0x4d, 0x4e, 0x4d, 0x50, 0x50, 0x4e, 0x42, 0x48, 0x48, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x46, 0x4d, 0x4e, 0x4d, 0x50, + 0x50, 0x4e, 0x42, 0x48, 0x48, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x41, + 0x4d, 0x4f, 0x43, 0x48, 0x41, 0x4b, 0x50, 0x47, 0x50, 0x18, 0xc0, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x41, 0x4d, 0x4f, 0x43, 0x48, 0x41, + 0x4b, 0x50, 0x47, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x4c, 0x50, 0x48, 0x42, 0x4c, 0x43, 0x49, 0x4f, 0x45, 0x43, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4c, 0x50, 0x48, 0x42, 0x4c, + 0x43, 0x49, 0x4f, 0x45, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, + 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x50, 0x4d, 0x43, 0x50, 0x4c, 0x50, 0x4d, 0x4a, 0x43, 0x45, 0x43, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x4d, 0x43, 0x50, + 0x4c, 0x50, 0x4d, 0x4a, 0x43, 0x45, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicBriefInfo_proto_rawDescOnce sync.Once + file_MusicBriefInfo_proto_rawDescData = file_MusicBriefInfo_proto_rawDesc +) + +func file_MusicBriefInfo_proto_rawDescGZIP() []byte { + file_MusicBriefInfo_proto_rawDescOnce.Do(func() { + file_MusicBriefInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicBriefInfo_proto_rawDescData) + }) + return file_MusicBriefInfo_proto_rawDescData +} + +var file_MusicBriefInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicBriefInfo_proto_goTypes = []interface{}{ + (*MusicBriefInfo)(nil), // 0: MusicBriefInfo +} +var file_MusicBriefInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicBriefInfo_proto_init() } +func file_MusicBriefInfo_proto_init() { + if File_MusicBriefInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicBriefInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicBriefInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicBriefInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicBriefInfo_proto_goTypes, + DependencyIndexes: file_MusicBriefInfo_proto_depIdxs, + MessageInfos: file_MusicBriefInfo_proto_msgTypes, + }.Build() + File_MusicBriefInfo_proto = out.File + file_MusicBriefInfo_proto_rawDesc = nil + file_MusicBriefInfo_proto_goTypes = nil + file_MusicBriefInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicBriefInfo.proto b/gate-hk4e-api/proto/MusicBriefInfo.proto new file mode 100644 index 00000000..48600a38 --- /dev/null +++ b/gate-hk4e-api/proto/MusicBriefInfo.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MusicBriefInfo { + uint64 Unk2700_JNENCBCGPGO = 5; + bool Unk2700_OJBPHCIDAEB = 8; + bool Unk2700_FGCJEGHOKPG = 1; + uint32 Unk2700_DFIBAIILJHN = 2; + uint32 Unk2700_MKBNLEKMIMD = 1182; + uint32 Unk2700_PINGIIAANMO = 12; + string Unk2700_MONNIDCNDFI = 10; + uint32 version = 15; + uint32 Unk2700_GGHNLPMAGME = 3; + repeated uint32 Unk2700_GDCGOMNBMEO = 1002; + repeated uint32 Unk2700_JAEONBMBFJJ = 982; + bool Unk2700_GBCGGDONMCD = 9; + uint32 Unk2700_LPEKFJBNEJM = 1822; + bool Unk2700_DNLEGADDHKM = 11; + uint32 Unk2700_BFMNMPPNBHH = 13; + uint32 max_score = 14; + uint32 Unk2700_KAMOCHAKPGP = 576; + uint32 Unk2700_KLPHBLCIOEC = 7; + uint64 Unk2700_CEPGMKAHHCD = 4; + uint32 Unk2700_PMCPLPMJCEC = 6; +} diff --git a/gate-hk4e-api/proto/MusicGameActivityDetailInfo.pb.go b/gate-hk4e-api/proto/MusicGameActivityDetailInfo.pb.go new file mode 100644 index 00000000..5b0f6ebe --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameActivityDetailInfo.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MusicGameActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HMNHCPMFDCP []*MusicBriefInfo `protobuf:"bytes,4,rep,name=Unk2700_HMNHCPMFDCP,json=Unk2700HMNHCPMFDCP,proto3" json:"Unk2700_HMNHCPMFDCP,omitempty"` + Unk2700_FOFAFGKAEJM []*MusicBriefInfo `protobuf:"bytes,7,rep,name=Unk2700_FOFAFGKAEJM,json=Unk2700FOFAFGKAEJM,proto3" json:"Unk2700_FOFAFGKAEJM,omitempty"` + MusicGameRecordMap map[uint32]*MusicGameRecord `protobuf:"bytes,8,rep,name=music_game_record_map,json=musicGameRecordMap,proto3" json:"music_game_record_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *MusicGameActivityDetailInfo) Reset() { + *x = MusicGameActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameActivityDetailInfo) ProtoMessage() {} + +func (x *MusicGameActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*MusicGameActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_MusicGameActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameActivityDetailInfo) GetUnk2700_HMNHCPMFDCP() []*MusicBriefInfo { + if x != nil { + return x.Unk2700_HMNHCPMFDCP + } + return nil +} + +func (x *MusicGameActivityDetailInfo) GetUnk2700_FOFAFGKAEJM() []*MusicBriefInfo { + if x != nil { + return x.Unk2700_FOFAFGKAEJM + } + return nil +} + +func (x *MusicGameActivityDetailInfo) GetMusicGameRecordMap() map[uint32]*MusicGameRecord { + if x != nil { + return x.MusicGameRecordMap + } + return nil +} + +var File_MusicGameActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_MusicGameActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe3, 0x02, 0x0a, 0x1b, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x40, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x4e, 0x48, + 0x43, 0x50, 0x4d, 0x46, 0x44, 0x43, 0x50, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4d, 0x4e, 0x48, 0x43, 0x50, 0x4d, 0x46, 0x44, + 0x43, 0x50, 0x12, 0x40, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4f, + 0x46, 0x41, 0x46, 0x47, 0x4b, 0x41, 0x45, 0x4a, 0x4d, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4f, 0x46, 0x41, 0x46, 0x47, 0x4b, + 0x41, 0x45, 0x4a, 0x4d, 0x12, 0x67, 0x0a, 0x15, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x67, 0x61, + 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x61, 0x70, 0x1a, 0x57, 0x0a, + 0x17, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4d, 0x75, 0x73, 0x69, + 0x63, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameActivityDetailInfo_proto_rawDescOnce sync.Once + file_MusicGameActivityDetailInfo_proto_rawDescData = file_MusicGameActivityDetailInfo_proto_rawDesc +) + +func file_MusicGameActivityDetailInfo_proto_rawDescGZIP() []byte { + file_MusicGameActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_MusicGameActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameActivityDetailInfo_proto_rawDescData) + }) + return file_MusicGameActivityDetailInfo_proto_rawDescData +} + +var file_MusicGameActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_MusicGameActivityDetailInfo_proto_goTypes = []interface{}{ + (*MusicGameActivityDetailInfo)(nil), // 0: MusicGameActivityDetailInfo + nil, // 1: MusicGameActivityDetailInfo.MusicGameRecordMapEntry + (*MusicBriefInfo)(nil), // 2: MusicBriefInfo + (*MusicGameRecord)(nil), // 3: MusicGameRecord +} +var file_MusicGameActivityDetailInfo_proto_depIdxs = []int32{ + 2, // 0: MusicGameActivityDetailInfo.Unk2700_HMNHCPMFDCP:type_name -> MusicBriefInfo + 2, // 1: MusicGameActivityDetailInfo.Unk2700_FOFAFGKAEJM:type_name -> MusicBriefInfo + 1, // 2: MusicGameActivityDetailInfo.music_game_record_map:type_name -> MusicGameActivityDetailInfo.MusicGameRecordMapEntry + 3, // 3: MusicGameActivityDetailInfo.MusicGameRecordMapEntry.value:type_name -> MusicGameRecord + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_MusicGameActivityDetailInfo_proto_init() } +func file_MusicGameActivityDetailInfo_proto_init() { + if File_MusicGameActivityDetailInfo_proto != nil { + return + } + file_MusicBriefInfo_proto_init() + file_MusicGameRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_MusicGameActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_MusicGameActivityDetailInfo_proto_depIdxs, + MessageInfos: file_MusicGameActivityDetailInfo_proto_msgTypes, + }.Build() + File_MusicGameActivityDetailInfo_proto = out.File + file_MusicGameActivityDetailInfo_proto_rawDesc = nil + file_MusicGameActivityDetailInfo_proto_goTypes = nil + file_MusicGameActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameActivityDetailInfo.proto b/gate-hk4e-api/proto/MusicGameActivityDetailInfo.proto new file mode 100644 index 00000000..ce67b170 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MusicBriefInfo.proto"; +import "MusicGameRecord.proto"; + +option go_package = "./;proto"; + +message MusicGameActivityDetailInfo { + repeated MusicBriefInfo Unk2700_HMNHCPMFDCP = 4; + repeated MusicBriefInfo Unk2700_FOFAFGKAEJM = 7; + map music_game_record_map = 8; +} diff --git a/gate-hk4e-api/proto/MusicGameRecord.pb.go b/gate-hk4e-api/proto/MusicGameRecord.pb.go new file mode 100644 index 00000000..70feb0a7 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameRecord.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MusicGameRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsUnlock bool `protobuf:"varint,9,opt,name=is_unlock,json=isUnlock,proto3" json:"is_unlock,omitempty"` + MaxScore uint32 `protobuf:"varint,11,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + MaxCombo uint32 `protobuf:"varint,6,opt,name=max_combo,json=maxCombo,proto3" json:"max_combo,omitempty"` +} + +func (x *MusicGameRecord) Reset() { + *x = MusicGameRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameRecord) ProtoMessage() {} + +func (x *MusicGameRecord) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameRecord.ProtoReflect.Descriptor instead. +func (*MusicGameRecord) Descriptor() ([]byte, []int) { + return file_MusicGameRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameRecord) GetIsUnlock() bool { + if x != nil { + return x.IsUnlock + } + return false +} + +func (x *MusicGameRecord) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *MusicGameRecord) GetMaxCombo() uint32 { + if x != nil { + return x.MaxCombo + } + return 0 +} + +var File_MusicGameRecord_proto protoreflect.FileDescriptor + +var file_MusicGameRecord_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0f, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x47, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, + 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6d, 0x62, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameRecord_proto_rawDescOnce sync.Once + file_MusicGameRecord_proto_rawDescData = file_MusicGameRecord_proto_rawDesc +) + +func file_MusicGameRecord_proto_rawDescGZIP() []byte { + file_MusicGameRecord_proto_rawDescOnce.Do(func() { + file_MusicGameRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameRecord_proto_rawDescData) + }) + return file_MusicGameRecord_proto_rawDescData +} + +var file_MusicGameRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicGameRecord_proto_goTypes = []interface{}{ + (*MusicGameRecord)(nil), // 0: MusicGameRecord +} +var file_MusicGameRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicGameRecord_proto_init() } +func file_MusicGameRecord_proto_init() { + if File_MusicGameRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicGameRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameRecord_proto_goTypes, + DependencyIndexes: file_MusicGameRecord_proto_depIdxs, + MessageInfos: file_MusicGameRecord_proto_msgTypes, + }.Build() + File_MusicGameRecord_proto = out.File + file_MusicGameRecord_proto_rawDesc = nil + file_MusicGameRecord_proto_goTypes = nil + file_MusicGameRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameRecord.proto b/gate-hk4e-api/proto/MusicGameRecord.proto new file mode 100644 index 00000000..67eff97a --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameRecord.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message MusicGameRecord { + bool is_unlock = 9; + uint32 max_score = 11; + uint32 max_combo = 6; +} diff --git a/gate-hk4e-api/proto/MusicGameSettleReq.pb.go b/gate-hk4e-api/proto/MusicGameSettleReq.pb.go new file mode 100644 index 00000000..4ded768b --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameSettleReq.pb.go @@ -0,0 +1,344 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameSettleReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8892 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MusicGameSettleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GDPKOANEDEB []uint32 `protobuf:"varint,384,rep,packed,name=Unk2700_GDPKOANEDEB,json=Unk2700GDPKOANEDEB,proto3" json:"Unk2700_GDPKOANEDEB,omitempty"` + Unk2700_NMHGADLANMM uint32 `protobuf:"varint,795,opt,name=Unk2700_NMHGADLANMM,json=Unk2700NMHGADLANMM,proto3" json:"Unk2700_NMHGADLANMM,omitempty"` + Unk2700_NNHGOCJLKFH []uint32 `protobuf:"varint,4,rep,packed,name=Unk2700_NNHGOCJLKFH,json=Unk2700NNHGOCJLKFH,proto3" json:"Unk2700_NNHGOCJLKFH,omitempty"` + Unk2700_NCHHEJNFECG uint32 `protobuf:"varint,15,opt,name=Unk2700_NCHHEJNFECG,json=Unk2700NCHHEJNFECG,proto3" json:"Unk2700_NCHHEJNFECG,omitempty"` + Score uint32 `protobuf:"varint,9,opt,name=score,proto3" json:"score,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,6,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_MMHHGALFHGA uint32 `protobuf:"varint,13,opt,name=Unk2700_MMHHGALFHGA,json=Unk2700MMHHGALFHGA,proto3" json:"Unk2700_MMHHGALFHGA,omitempty"` + Unk2700_CBLIJHDFKHA bool `protobuf:"varint,422,opt,name=Unk2700_CBLIJHDFKHA,json=Unk2700CBLIJHDFKHA,proto3" json:"Unk2700_CBLIJHDFKHA,omitempty"` + MaxCombo uint32 `protobuf:"varint,5,opt,name=max_combo,json=maxCombo,proto3" json:"max_combo,omitempty"` + Unk2700_FBLBGPHMLAL uint32 `protobuf:"varint,1058,opt,name=Unk2700_FBLBGPHMLAL,json=Unk2700FBLBGPHMLAL,proto3" json:"Unk2700_FBLBGPHMLAL,omitempty"` + Speed float32 `protobuf:"fixed32,409,opt,name=speed,proto3" json:"speed,omitempty"` + Unk2700_IOKPIKJDEHG bool `protobuf:"varint,3,opt,name=Unk2700_IOKPIKJDEHG,json=Unk2700IOKPIKJDEHG,proto3" json:"Unk2700_IOKPIKJDEHG,omitempty"` + Combo uint32 `protobuf:"varint,1,opt,name=combo,proto3" json:"combo,omitempty"` + MusicBasicId uint32 `protobuf:"varint,7,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` + Unk2700_DIMBABOGNEM uint32 `protobuf:"varint,2,opt,name=Unk2700_DIMBABOGNEM,json=Unk2700DIMBABOGNEM,proto3" json:"Unk2700_DIMBABOGNEM,omitempty"` + Unk2700_IOMOHEKJJLJ uint32 `protobuf:"varint,1953,opt,name=Unk2700_IOMOHEKJJLJ,json=Unk2700IOMOHEKJJLJ,proto3" json:"Unk2700_IOMOHEKJJLJ,omitempty"` + CorrectHit uint32 `protobuf:"varint,14,opt,name=correct_hit,json=correctHit,proto3" json:"correct_hit,omitempty"` + Unk2700_LKJNLDJAGGL bool `protobuf:"varint,1285,opt,name=Unk2700_LKJNLDJAGGL,json=Unk2700LKJNLDJAGGL,proto3" json:"Unk2700_LKJNLDJAGGL,omitempty"` +} + +func (x *MusicGameSettleReq) Reset() { + *x = MusicGameSettleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameSettleReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameSettleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameSettleReq) ProtoMessage() {} + +func (x *MusicGameSettleReq) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameSettleReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameSettleReq.ProtoReflect.Descriptor instead. +func (*MusicGameSettleReq) Descriptor() ([]byte, []int) { + return file_MusicGameSettleReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameSettleReq) GetUnk2700_GDPKOANEDEB() []uint32 { + if x != nil { + return x.Unk2700_GDPKOANEDEB + } + return nil +} + +func (x *MusicGameSettleReq) GetUnk2700_NMHGADLANMM() uint32 { + if x != nil { + return x.Unk2700_NMHGADLANMM + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_NNHGOCJLKFH() []uint32 { + if x != nil { + return x.Unk2700_NNHGOCJLKFH + } + return nil +} + +func (x *MusicGameSettleReq) GetUnk2700_NCHHEJNFECG() uint32 { + if x != nil { + return x.Unk2700_NCHHEJNFECG + } + return 0 +} + +func (x *MusicGameSettleReq) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_MMHHGALFHGA() uint32 { + if x != nil { + return x.Unk2700_MMHHGALFHGA + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_CBLIJHDFKHA() bool { + if x != nil { + return x.Unk2700_CBLIJHDFKHA + } + return false +} + +func (x *MusicGameSettleReq) GetMaxCombo() uint32 { + if x != nil { + return x.MaxCombo + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_FBLBGPHMLAL() uint32 { + if x != nil { + return x.Unk2700_FBLBGPHMLAL + } + return 0 +} + +func (x *MusicGameSettleReq) GetSpeed() float32 { + if x != nil { + return x.Speed + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_IOKPIKJDEHG() bool { + if x != nil { + return x.Unk2700_IOKPIKJDEHG + } + return false +} + +func (x *MusicGameSettleReq) GetCombo() uint32 { + if x != nil { + return x.Combo + } + return 0 +} + +func (x *MusicGameSettleReq) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_DIMBABOGNEM() uint32 { + if x != nil { + return x.Unk2700_DIMBABOGNEM + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_IOMOHEKJJLJ() uint32 { + if x != nil { + return x.Unk2700_IOMOHEKJJLJ + } + return 0 +} + +func (x *MusicGameSettleReq) GetCorrectHit() uint32 { + if x != nil { + return x.CorrectHit + } + return 0 +} + +func (x *MusicGameSettleReq) GetUnk2700_LKJNLDJAGGL() bool { + if x != nil { + return x.Unk2700_LKJNLDJAGGL + } + return false +} + +var File_MusicGameSettleReq_proto protoreflect.FileDescriptor + +var file_MusicGameSettleReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x06, 0x0a, 0x12, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x50, + 0x4b, 0x4f, 0x41, 0x4e, 0x45, 0x44, 0x45, 0x42, 0x18, 0x80, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x44, 0x50, 0x4b, 0x4f, 0x41, 0x4e, 0x45, + 0x44, 0x45, 0x42, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x4d, 0x48, 0x47, 0x41, 0x44, 0x4c, 0x41, 0x4e, 0x4d, 0x4d, 0x18, 0x9b, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x4d, 0x48, 0x47, 0x41, 0x44, + 0x4c, 0x41, 0x4e, 0x4d, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x4e, 0x48, 0x47, 0x4f, 0x43, 0x4a, 0x4c, 0x4b, 0x46, 0x48, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x4e, 0x48, 0x47, 0x4f, + 0x43, 0x4a, 0x4c, 0x4b, 0x46, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x43, 0x48, 0x48, 0x45, 0x4a, 0x4e, 0x46, 0x45, 0x43, 0x47, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x43, 0x48, 0x48, + 0x45, 0x4a, 0x4e, 0x46, 0x45, 0x43, 0x47, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, + 0x48, 0x48, 0x43, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x48, 0x48, 0x47, 0x41, + 0x4c, 0x46, 0x48, 0x47, 0x41, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x48, 0x48, 0x47, 0x41, 0x4c, 0x46, 0x48, 0x47, 0x41, 0x12, + 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4c, 0x49, 0x4a, + 0x48, 0x44, 0x46, 0x4b, 0x48, 0x41, 0x18, 0xa6, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x42, 0x4c, 0x49, 0x4a, 0x48, 0x44, 0x46, 0x4b, 0x48, + 0x41, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6d, 0x62, 0x6f, 0x12, 0x30, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x42, 0x4c, 0x42, 0x47, 0x50, + 0x48, 0x4d, 0x4c, 0x41, 0x4c, 0x18, 0xa2, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x42, 0x4c, 0x42, 0x47, 0x50, 0x48, 0x4d, 0x4c, 0x41, 0x4c, + 0x12, 0x15, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x99, 0x03, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4b, 0x50, 0x49, 0x4b, 0x4a, 0x44, 0x45, 0x48, 0x47, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4f, 0x4b, + 0x50, 0x49, 0x4b, 0x4a, 0x44, 0x45, 0x48, 0x47, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6d, 0x62, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x6d, 0x62, 0x6f, 0x12, 0x24, + 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x49, 0x4d, 0x42, 0x41, 0x42, 0x4f, 0x47, 0x4e, 0x45, 0x4d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x49, 0x4d, 0x42, 0x41, 0x42, + 0x4f, 0x47, 0x4e, 0x45, 0x4d, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4f, 0x4d, 0x4f, 0x48, 0x45, 0x4b, 0x4a, 0x4a, 0x4c, 0x4a, 0x18, 0xa1, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4f, 0x4d, 0x4f, + 0x48, 0x45, 0x4b, 0x4a, 0x4a, 0x4c, 0x4a, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x72, 0x72, 0x65, + 0x63, 0x74, 0x5f, 0x68, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, + 0x72, 0x72, 0x65, 0x63, 0x74, 0x48, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x4a, 0x4e, 0x4c, 0x44, 0x4a, 0x41, 0x47, 0x47, 0x4c, 0x18, + 0x85, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, + 0x4b, 0x4a, 0x4e, 0x4c, 0x44, 0x4a, 0x41, 0x47, 0x47, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameSettleReq_proto_rawDescOnce sync.Once + file_MusicGameSettleReq_proto_rawDescData = file_MusicGameSettleReq_proto_rawDesc +) + +func file_MusicGameSettleReq_proto_rawDescGZIP() []byte { + file_MusicGameSettleReq_proto_rawDescOnce.Do(func() { + file_MusicGameSettleReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameSettleReq_proto_rawDescData) + }) + return file_MusicGameSettleReq_proto_rawDescData +} + +var file_MusicGameSettleReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicGameSettleReq_proto_goTypes = []interface{}{ + (*MusicGameSettleReq)(nil), // 0: MusicGameSettleReq +} +var file_MusicGameSettleReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicGameSettleReq_proto_init() } +func file_MusicGameSettleReq_proto_init() { + if File_MusicGameSettleReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicGameSettleReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameSettleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameSettleReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameSettleReq_proto_goTypes, + DependencyIndexes: file_MusicGameSettleReq_proto_depIdxs, + MessageInfos: file_MusicGameSettleReq_proto_msgTypes, + }.Build() + File_MusicGameSettleReq_proto = out.File + file_MusicGameSettleReq_proto_rawDesc = nil + file_MusicGameSettleReq_proto_goTypes = nil + file_MusicGameSettleReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameSettleReq.proto b/gate-hk4e-api/proto/MusicGameSettleReq.proto new file mode 100644 index 00000000..0cfd5795 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameSettleReq.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8892 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameSettleReq { + repeated uint32 Unk2700_GDPKOANEDEB = 384; + uint32 Unk2700_NMHGADLANMM = 795; + repeated uint32 Unk2700_NNHGOCJLKFH = 4; + uint32 Unk2700_NCHHEJNFECG = 15; + uint32 score = 9; + uint64 Unk2700_CEPGMKAHHCD = 6; + uint32 Unk2700_MMHHGALFHGA = 13; + bool Unk2700_CBLIJHDFKHA = 422; + uint32 max_combo = 5; + uint32 Unk2700_FBLBGPHMLAL = 1058; + float speed = 409; + bool Unk2700_IOKPIKJDEHG = 3; + uint32 combo = 1; + uint32 music_basic_id = 7; + uint32 Unk2700_DIMBABOGNEM = 2; + uint32 Unk2700_IOMOHEKJJLJ = 1953; + uint32 correct_hit = 14; + bool Unk2700_LKJNLDJAGGL = 1285; +} diff --git a/gate-hk4e-api/proto/MusicGameSettleRsp.pb.go b/gate-hk4e-api/proto/MusicGameSettleRsp.pb.go new file mode 100644 index 00000000..e8fb0acb --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameSettleRsp.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameSettleRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8673 +// EnetChannelId: 0 +// EnetIsReliable: true +type MusicGameSettleRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + MusicBasicId uint32 `protobuf:"varint,5,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` + IsNewRecord bool `protobuf:"varint,6,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + IsUnlockNextLevel bool `protobuf:"varint,2,opt,name=is_unlock_next_level,json=isUnlockNextLevel,proto3" json:"is_unlock_next_level,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,10,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` +} + +func (x *MusicGameSettleRsp) Reset() { + *x = MusicGameSettleRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameSettleRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameSettleRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameSettleRsp) ProtoMessage() {} + +func (x *MusicGameSettleRsp) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameSettleRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameSettleRsp.ProtoReflect.Descriptor instead. +func (*MusicGameSettleRsp) Descriptor() ([]byte, []int) { + return file_MusicGameSettleRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameSettleRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MusicGameSettleRsp) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +func (x *MusicGameSettleRsp) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *MusicGameSettleRsp) GetIsUnlockNextLevel() bool { + if x != nil { + return x.IsUnlockNextLevel + } + return false +} + +func (x *MusicGameSettleRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +var File_MusicGameSettleRsp_proto protoreflect.FileDescriptor + +var file_MusicGameSettleRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x12, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, + 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x65, 0x78, + 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, + 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameSettleRsp_proto_rawDescOnce sync.Once + file_MusicGameSettleRsp_proto_rawDescData = file_MusicGameSettleRsp_proto_rawDesc +) + +func file_MusicGameSettleRsp_proto_rawDescGZIP() []byte { + file_MusicGameSettleRsp_proto_rawDescOnce.Do(func() { + file_MusicGameSettleRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameSettleRsp_proto_rawDescData) + }) + return file_MusicGameSettleRsp_proto_rawDescData +} + +var file_MusicGameSettleRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicGameSettleRsp_proto_goTypes = []interface{}{ + (*MusicGameSettleRsp)(nil), // 0: MusicGameSettleRsp +} +var file_MusicGameSettleRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicGameSettleRsp_proto_init() } +func file_MusicGameSettleRsp_proto_init() { + if File_MusicGameSettleRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicGameSettleRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameSettleRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameSettleRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameSettleRsp_proto_goTypes, + DependencyIndexes: file_MusicGameSettleRsp_proto_depIdxs, + MessageInfos: file_MusicGameSettleRsp_proto_msgTypes, + }.Build() + File_MusicGameSettleRsp_proto = out.File + file_MusicGameSettleRsp_proto_rawDesc = nil + file_MusicGameSettleRsp_proto_goTypes = nil + file_MusicGameSettleRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameSettleRsp.proto b/gate-hk4e-api/proto/MusicGameSettleRsp.proto new file mode 100644 index 00000000..6cc20db7 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameSettleRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8673 +// EnetChannelId: 0 +// EnetIsReliable: true +message MusicGameSettleRsp { + int32 retcode = 11; + uint32 music_basic_id = 5; + bool is_new_record = 6; + bool is_unlock_next_level = 2; + uint64 Unk2700_CEPGMKAHHCD = 10; +} diff --git a/gate-hk4e-api/proto/MusicGameStartReq.pb.go b/gate-hk4e-api/proto/MusicGameStartReq.pb.go new file mode 100644 index 00000000..78b53d97 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameStartReq.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameStartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8406 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type MusicGameStartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MusicBasicId uint32 `protobuf:"varint,2,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` + Unk2700_IOKPIKJDEHG bool `protobuf:"varint,11,opt,name=Unk2700_IOKPIKJDEHG,json=Unk2700IOKPIKJDEHG,proto3" json:"Unk2700_IOKPIKJDEHG,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,3,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` +} + +func (x *MusicGameStartReq) Reset() { + *x = MusicGameStartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameStartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameStartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameStartReq) ProtoMessage() {} + +func (x *MusicGameStartReq) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameStartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameStartReq.ProtoReflect.Descriptor instead. +func (*MusicGameStartReq) Descriptor() ([]byte, []int) { + return file_MusicGameStartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameStartReq) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +func (x *MusicGameStartReq) GetUnk2700_IOKPIKJDEHG() bool { + if x != nil { + return x.Unk2700_IOKPIKJDEHG + } + return false +} + +func (x *MusicGameStartReq) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +var File_MusicGameStartReq_proto protoreflect.FileDescriptor + +var file_MusicGameStartReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x4d, 0x75, + 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, + 0x24, 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4f, 0x4b, 0x50, 0x49, 0x4b, 0x4a, 0x44, 0x45, 0x48, 0x47, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4f, 0x4b, 0x50, 0x49, + 0x4b, 0x4a, 0x44, 0x45, 0x48, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, + 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameStartReq_proto_rawDescOnce sync.Once + file_MusicGameStartReq_proto_rawDescData = file_MusicGameStartReq_proto_rawDesc +) + +func file_MusicGameStartReq_proto_rawDescGZIP() []byte { + file_MusicGameStartReq_proto_rawDescOnce.Do(func() { + file_MusicGameStartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameStartReq_proto_rawDescData) + }) + return file_MusicGameStartReq_proto_rawDescData +} + +var file_MusicGameStartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicGameStartReq_proto_goTypes = []interface{}{ + (*MusicGameStartReq)(nil), // 0: MusicGameStartReq +} +var file_MusicGameStartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicGameStartReq_proto_init() } +func file_MusicGameStartReq_proto_init() { + if File_MusicGameStartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicGameStartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameStartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameStartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameStartReq_proto_goTypes, + DependencyIndexes: file_MusicGameStartReq_proto_depIdxs, + MessageInfos: file_MusicGameStartReq_proto_msgTypes, + }.Build() + File_MusicGameStartReq_proto = out.File + file_MusicGameStartReq_proto_rawDesc = nil + file_MusicGameStartReq_proto_goTypes = nil + file_MusicGameStartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameStartReq.proto b/gate-hk4e-api/proto/MusicGameStartReq.proto new file mode 100644 index 00000000..688c2bf0 --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameStartReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8406 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameStartReq { + uint32 music_basic_id = 2; + bool Unk2700_IOKPIKJDEHG = 11; + uint64 Unk2700_CEPGMKAHHCD = 3; +} diff --git a/gate-hk4e-api/proto/MusicGameStartRsp.pb.go b/gate-hk4e-api/proto/MusicGameStartRsp.pb.go new file mode 100644 index 00000000..8a44558b --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameStartRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicGameStartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8326 +// EnetChannelId: 0 +// EnetIsReliable: true +type MusicGameStartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MusicBasicId uint32 `protobuf:"varint,4,opt,name=music_basic_id,json=musicBasicId,proto3" json:"music_basic_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,15,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` +} + +func (x *MusicGameStartRsp) Reset() { + *x = MusicGameStartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicGameStartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicGameStartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicGameStartRsp) ProtoMessage() {} + +func (x *MusicGameStartRsp) ProtoReflect() protoreflect.Message { + mi := &file_MusicGameStartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicGameStartRsp.ProtoReflect.Descriptor instead. +func (*MusicGameStartRsp) Descriptor() ([]byte, []int) { + return file_MusicGameStartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicGameStartRsp) GetMusicBasicId() uint32 { + if x != nil { + return x.MusicBasicId + } + return 0 +} + +func (x *MusicGameStartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *MusicGameStartRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +var File_MusicGameStartRsp_proto protoreflect.FileDescriptor + +var file_MusicGameStartRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x4d, 0x75, + 0x73, 0x69, 0x63, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, + 0x24, 0x0a, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, + 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicGameStartRsp_proto_rawDescOnce sync.Once + file_MusicGameStartRsp_proto_rawDescData = file_MusicGameStartRsp_proto_rawDesc +) + +func file_MusicGameStartRsp_proto_rawDescGZIP() []byte { + file_MusicGameStartRsp_proto_rawDescOnce.Do(func() { + file_MusicGameStartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicGameStartRsp_proto_rawDescData) + }) + return file_MusicGameStartRsp_proto_rawDescData +} + +var file_MusicGameStartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicGameStartRsp_proto_goTypes = []interface{}{ + (*MusicGameStartRsp)(nil), // 0: MusicGameStartRsp +} +var file_MusicGameStartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_MusicGameStartRsp_proto_init() } +func file_MusicGameStartRsp_proto_init() { + if File_MusicGameStartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_MusicGameStartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicGameStartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicGameStartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicGameStartRsp_proto_goTypes, + DependencyIndexes: file_MusicGameStartRsp_proto_depIdxs, + MessageInfos: file_MusicGameStartRsp_proto_msgTypes, + }.Build() + File_MusicGameStartRsp_proto = out.File + file_MusicGameStartRsp_proto_rawDesc = nil + file_MusicGameStartRsp_proto_goTypes = nil + file_MusicGameStartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicGameStartRsp.proto b/gate-hk4e-api/proto/MusicGameStartRsp.proto new file mode 100644 index 00000000..be82667f --- /dev/null +++ b/gate-hk4e-api/proto/MusicGameStartRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8326 +// EnetChannelId: 0 +// EnetIsReliable: true +message MusicGameStartRsp { + uint32 music_basic_id = 4; + int32 retcode = 1; + uint64 Unk2700_CEPGMKAHHCD = 15; +} diff --git a/gate-hk4e-api/proto/MusicRecord.pb.go b/gate-hk4e-api/proto/MusicRecord.pb.go new file mode 100644 index 00000000..bed9cfb5 --- /dev/null +++ b/gate-hk4e-api/proto/MusicRecord.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: MusicRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MusicRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MBJFOAGKKDJ []*Unk2700_AAAMOFPACEA `protobuf:"bytes,4,rep,name=Unk2700_MBJFOAGKKDJ,json=Unk2700MBJFOAGKKDJ,proto3" json:"Unk2700_MBJFOAGKKDJ,omitempty"` + Unk2700_DFIBAIILJHN uint32 `protobuf:"varint,13,opt,name=Unk2700_DFIBAIILJHN,json=Unk2700DFIBAIILJHN,proto3" json:"Unk2700_DFIBAIILJHN,omitempty"` +} + +func (x *MusicRecord) Reset() { + *x = MusicRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_MusicRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MusicRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MusicRecord) ProtoMessage() {} + +func (x *MusicRecord) ProtoReflect() protoreflect.Message { + mi := &file_MusicRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MusicRecord.ProtoReflect.Descriptor instead. +func (*MusicRecord) Descriptor() ([]byte, []int) { + return file_MusicRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *MusicRecord) GetUnk2700_MBJFOAGKKDJ() []*Unk2700_AAAMOFPACEA { + if x != nil { + return x.Unk2700_MBJFOAGKKDJ + } + return nil +} + +func (x *MusicRecord) GetUnk2700_DFIBAIILJHN() uint32 { + if x != nil { + return x.Unk2700_DFIBAIILJHN + } + return 0 +} + +var File_MusicRecord_proto protoreflect.FileDescriptor + +var file_MusicRecord_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x41, + 0x4d, 0x4f, 0x46, 0x50, 0x41, 0x43, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, + 0x01, 0x0a, 0x0b, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x4a, 0x46, 0x4f, 0x41, + 0x47, 0x4b, 0x4b, 0x44, 0x4a, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x41, 0x4d, 0x4f, 0x46, 0x50, 0x41, 0x43, 0x45, + 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x42, 0x4a, 0x46, 0x4f, 0x41, + 0x47, 0x4b, 0x4b, 0x44, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x44, 0x46, 0x49, 0x42, 0x41, 0x49, 0x49, 0x4c, 0x4a, 0x48, 0x4e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x46, 0x49, 0x42, 0x41, + 0x49, 0x49, 0x4c, 0x4a, 0x48, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_MusicRecord_proto_rawDescOnce sync.Once + file_MusicRecord_proto_rawDescData = file_MusicRecord_proto_rawDesc +) + +func file_MusicRecord_proto_rawDescGZIP() []byte { + file_MusicRecord_proto_rawDescOnce.Do(func() { + file_MusicRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_MusicRecord_proto_rawDescData) + }) + return file_MusicRecord_proto_rawDescData +} + +var file_MusicRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_MusicRecord_proto_goTypes = []interface{}{ + (*MusicRecord)(nil), // 0: MusicRecord + (*Unk2700_AAAMOFPACEA)(nil), // 1: Unk2700_AAAMOFPACEA +} +var file_MusicRecord_proto_depIdxs = []int32{ + 1, // 0: MusicRecord.Unk2700_MBJFOAGKKDJ:type_name -> Unk2700_AAAMOFPACEA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_MusicRecord_proto_init() } +func file_MusicRecord_proto_init() { + if File_MusicRecord_proto != nil { + return + } + file_Unk2700_AAAMOFPACEA_proto_init() + if !protoimpl.UnsafeEnabled { + file_MusicRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MusicRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_MusicRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_MusicRecord_proto_goTypes, + DependencyIndexes: file_MusicRecord_proto_depIdxs, + MessageInfos: file_MusicRecord_proto_msgTypes, + }.Build() + File_MusicRecord_proto = out.File + file_MusicRecord_proto_rawDesc = nil + file_MusicRecord_proto_goTypes = nil + file_MusicRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/MusicRecord.proto b/gate-hk4e-api/proto/MusicRecord.proto new file mode 100644 index 00000000..815d66d2 --- /dev/null +++ b/gate-hk4e-api/proto/MusicRecord.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AAAMOFPACEA.proto"; + +option go_package = "./;proto"; + +message MusicRecord { + repeated Unk2700_AAAMOFPACEA Unk2700_MBJFOAGKKDJ = 4; + uint32 Unk2700_DFIBAIILJHN = 13; +} diff --git a/gate-hk4e-api/proto/NavMeshStatsNotify.pb.go b/gate-hk4e-api/proto/NavMeshStatsNotify.pb.go new file mode 100644 index 00000000..7ddf6f6b --- /dev/null +++ b/gate-hk4e-api/proto/NavMeshStatsNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NavMeshStatsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2316 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type NavMeshStatsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Infos []*PbNavMeshStatsInfo `protobuf:"bytes,4,rep,name=infos,proto3" json:"infos,omitempty"` +} + +func (x *NavMeshStatsNotify) Reset() { + *x = NavMeshStatsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_NavMeshStatsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NavMeshStatsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NavMeshStatsNotify) ProtoMessage() {} + +func (x *NavMeshStatsNotify) ProtoReflect() protoreflect.Message { + mi := &file_NavMeshStatsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NavMeshStatsNotify.ProtoReflect.Descriptor instead. +func (*NavMeshStatsNotify) Descriptor() ([]byte, []int) { + return file_NavMeshStatsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *NavMeshStatsNotify) GetInfos() []*PbNavMeshStatsInfo { + if x != nil { + return x.Infos + } + return nil +} + +var File_NavMeshStatsNotify_proto protoreflect.FileDescriptor + +var file_NavMeshStatsNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x50, 0x62, 0x4e, 0x61, + 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x12, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x69, 0x6e, + 0x66, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x62, 0x4e, 0x61, + 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, + 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NavMeshStatsNotify_proto_rawDescOnce sync.Once + file_NavMeshStatsNotify_proto_rawDescData = file_NavMeshStatsNotify_proto_rawDesc +) + +func file_NavMeshStatsNotify_proto_rawDescGZIP() []byte { + file_NavMeshStatsNotify_proto_rawDescOnce.Do(func() { + file_NavMeshStatsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_NavMeshStatsNotify_proto_rawDescData) + }) + return file_NavMeshStatsNotify_proto_rawDescData +} + +var file_NavMeshStatsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NavMeshStatsNotify_proto_goTypes = []interface{}{ + (*NavMeshStatsNotify)(nil), // 0: NavMeshStatsNotify + (*PbNavMeshStatsInfo)(nil), // 1: PbNavMeshStatsInfo +} +var file_NavMeshStatsNotify_proto_depIdxs = []int32{ + 1, // 0: NavMeshStatsNotify.infos:type_name -> PbNavMeshStatsInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_NavMeshStatsNotify_proto_init() } +func file_NavMeshStatsNotify_proto_init() { + if File_NavMeshStatsNotify_proto != nil { + return + } + file_PbNavMeshStatsInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_NavMeshStatsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NavMeshStatsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NavMeshStatsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NavMeshStatsNotify_proto_goTypes, + DependencyIndexes: file_NavMeshStatsNotify_proto_depIdxs, + MessageInfos: file_NavMeshStatsNotify_proto_msgTypes, + }.Build() + File_NavMeshStatsNotify_proto = out.File + file_NavMeshStatsNotify_proto_rawDesc = nil + file_NavMeshStatsNotify_proto_goTypes = nil + file_NavMeshStatsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NavMeshStatsNotify.proto b/gate-hk4e-api/proto/NavMeshStatsNotify.proto new file mode 100644 index 00000000..f442f824 --- /dev/null +++ b/gate-hk4e-api/proto/NavMeshStatsNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PbNavMeshStatsInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2316 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message NavMeshStatsNotify { + repeated PbNavMeshStatsInfo infos = 4; +} diff --git a/gate-hk4e-api/proto/NightCrowGadgetInfo.pb.go b/gate-hk4e-api/proto/NightCrowGadgetInfo.pb.go new file mode 100644 index 00000000..dd106c9c --- /dev/null +++ b/gate-hk4e-api/proto/NightCrowGadgetInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NightCrowGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type NightCrowGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArgumentList []uint32 `protobuf:"varint,1,rep,packed,name=argument_list,json=argumentList,proto3" json:"argument_list,omitempty"` +} + +func (x *NightCrowGadgetInfo) Reset() { + *x = NightCrowGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_NightCrowGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NightCrowGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NightCrowGadgetInfo) ProtoMessage() {} + +func (x *NightCrowGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_NightCrowGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NightCrowGadgetInfo.ProtoReflect.Descriptor instead. +func (*NightCrowGadgetInfo) Descriptor() ([]byte, []int) { + return file_NightCrowGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *NightCrowGadgetInfo) GetArgumentList() []uint32 { + if x != nil { + return x.ArgumentList + } + return nil +} + +var File_NightCrowGadgetInfo_proto protoreflect.FileDescriptor + +var file_NightCrowGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4e, 0x69, 0x67, 0x68, 0x74, 0x43, 0x72, 0x6f, 0x77, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x13, 0x4e, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x72, 0x6f, 0x77, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x72, 0x67, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NightCrowGadgetInfo_proto_rawDescOnce sync.Once + file_NightCrowGadgetInfo_proto_rawDescData = file_NightCrowGadgetInfo_proto_rawDesc +) + +func file_NightCrowGadgetInfo_proto_rawDescGZIP() []byte { + file_NightCrowGadgetInfo_proto_rawDescOnce.Do(func() { + file_NightCrowGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_NightCrowGadgetInfo_proto_rawDescData) + }) + return file_NightCrowGadgetInfo_proto_rawDescData +} + +var file_NightCrowGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NightCrowGadgetInfo_proto_goTypes = []interface{}{ + (*NightCrowGadgetInfo)(nil), // 0: NightCrowGadgetInfo +} +var file_NightCrowGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_NightCrowGadgetInfo_proto_init() } +func file_NightCrowGadgetInfo_proto_init() { + if File_NightCrowGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_NightCrowGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NightCrowGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NightCrowGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NightCrowGadgetInfo_proto_goTypes, + DependencyIndexes: file_NightCrowGadgetInfo_proto_depIdxs, + MessageInfos: file_NightCrowGadgetInfo_proto_msgTypes, + }.Build() + File_NightCrowGadgetInfo_proto = out.File + file_NightCrowGadgetInfo_proto_rawDesc = nil + file_NightCrowGadgetInfo_proto_goTypes = nil + file_NightCrowGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NightCrowGadgetInfo.proto b/gate-hk4e-api/proto/NightCrowGadgetInfo.proto new file mode 100644 index 00000000..8e632054 --- /dev/null +++ b/gate-hk4e-api/proto/NightCrowGadgetInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message NightCrowGadgetInfo { + repeated uint32 argument_list = 1; +} diff --git a/gate-hk4e-api/proto/NormalUidOpNotify.pb.go b/gate-hk4e-api/proto/NormalUidOpNotify.pb.go new file mode 100644 index 00000000..332957c7 --- /dev/null +++ b/gate-hk4e-api/proto/NormalUidOpNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NormalUidOpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5726 +// EnetChannelId: 0 +// EnetIsReliable: true +type NormalUidOpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Duration uint32 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` + ParamList []uint32 `protobuf:"varint,4,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + ParamUidList []uint32 `protobuf:"varint,5,rep,packed,name=param_uid_list,json=paramUidList,proto3" json:"param_uid_list,omitempty"` + ParamIndex uint32 `protobuf:"varint,8,opt,name=param_index,json=paramIndex,proto3" json:"param_index,omitempty"` +} + +func (x *NormalUidOpNotify) Reset() { + *x = NormalUidOpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_NormalUidOpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NormalUidOpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NormalUidOpNotify) ProtoMessage() {} + +func (x *NormalUidOpNotify) ProtoReflect() protoreflect.Message { + mi := &file_NormalUidOpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NormalUidOpNotify.ProtoReflect.Descriptor instead. +func (*NormalUidOpNotify) Descriptor() ([]byte, []int) { + return file_NormalUidOpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *NormalUidOpNotify) GetDuration() uint32 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *NormalUidOpNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *NormalUidOpNotify) GetParamUidList() []uint32 { + if x != nil { + return x.ParamUidList + } + return nil +} + +func (x *NormalUidOpNotify) GetParamIndex() uint32 { + if x != nil { + return x.ParamIndex + } + return 0 +} + +var File_NormalUidOpNotify_proto protoreflect.FileDescriptor + +var file_NormalUidOpNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x55, 0x69, 0x64, 0x4f, 0x70, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x11, 0x4e, 0x6f, + 0x72, 0x6d, 0x61, 0x6c, 0x55, 0x69, 0x64, 0x4f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NormalUidOpNotify_proto_rawDescOnce sync.Once + file_NormalUidOpNotify_proto_rawDescData = file_NormalUidOpNotify_proto_rawDesc +) + +func file_NormalUidOpNotify_proto_rawDescGZIP() []byte { + file_NormalUidOpNotify_proto_rawDescOnce.Do(func() { + file_NormalUidOpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_NormalUidOpNotify_proto_rawDescData) + }) + return file_NormalUidOpNotify_proto_rawDescData +} + +var file_NormalUidOpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NormalUidOpNotify_proto_goTypes = []interface{}{ + (*NormalUidOpNotify)(nil), // 0: NormalUidOpNotify +} +var file_NormalUidOpNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_NormalUidOpNotify_proto_init() } +func file_NormalUidOpNotify_proto_init() { + if File_NormalUidOpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_NormalUidOpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NormalUidOpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NormalUidOpNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NormalUidOpNotify_proto_goTypes, + DependencyIndexes: file_NormalUidOpNotify_proto_depIdxs, + MessageInfos: file_NormalUidOpNotify_proto_msgTypes, + }.Build() + File_NormalUidOpNotify_proto = out.File + file_NormalUidOpNotify_proto_rawDesc = nil + file_NormalUidOpNotify_proto_goTypes = nil + file_NormalUidOpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NormalUidOpNotify.proto b/gate-hk4e-api/proto/NormalUidOpNotify.proto new file mode 100644 index 00000000..5054ba82 --- /dev/null +++ b/gate-hk4e-api/proto/NormalUidOpNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5726 +// EnetChannelId: 0 +// EnetIsReliable: true +message NormalUidOpNotify { + uint32 duration = 6; + repeated uint32 param_list = 4; + repeated uint32 param_uid_list = 5; + uint32 param_index = 8; +} diff --git a/gate-hk4e-api/proto/NpcPositionInfo.pb.go b/gate-hk4e-api/proto/NpcPositionInfo.pb.go new file mode 100644 index 00000000..70161c6f --- /dev/null +++ b/gate-hk4e-api/proto/NpcPositionInfo.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NpcPositionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type NpcPositionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcId uint32 `protobuf:"varint,1,opt,name=npc_id,json=npcId,proto3" json:"npc_id,omitempty"` + Pos *Vector `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *NpcPositionInfo) Reset() { + *x = NpcPositionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_NpcPositionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NpcPositionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NpcPositionInfo) ProtoMessage() {} + +func (x *NpcPositionInfo) ProtoReflect() protoreflect.Message { + mi := &file_NpcPositionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NpcPositionInfo.ProtoReflect.Descriptor instead. +func (*NpcPositionInfo) Descriptor() ([]byte, []int) { + return file_NpcPositionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *NpcPositionInfo) GetNpcId() uint32 { + if x != nil { + return x.NpcId + } + return 0 +} + +func (x *NpcPositionInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_NpcPositionInfo_proto protoreflect.FileDescriptor + +var file_NpcPositionInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0f, 0x4e, 0x70, 0x63, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NpcPositionInfo_proto_rawDescOnce sync.Once + file_NpcPositionInfo_proto_rawDescData = file_NpcPositionInfo_proto_rawDesc +) + +func file_NpcPositionInfo_proto_rawDescGZIP() []byte { + file_NpcPositionInfo_proto_rawDescOnce.Do(func() { + file_NpcPositionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_NpcPositionInfo_proto_rawDescData) + }) + return file_NpcPositionInfo_proto_rawDescData +} + +var file_NpcPositionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NpcPositionInfo_proto_goTypes = []interface{}{ + (*NpcPositionInfo)(nil), // 0: NpcPositionInfo + (*Vector)(nil), // 1: Vector +} +var file_NpcPositionInfo_proto_depIdxs = []int32{ + 1, // 0: NpcPositionInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_NpcPositionInfo_proto_init() } +func file_NpcPositionInfo_proto_init() { + if File_NpcPositionInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_NpcPositionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NpcPositionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NpcPositionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NpcPositionInfo_proto_goTypes, + DependencyIndexes: file_NpcPositionInfo_proto_depIdxs, + MessageInfos: file_NpcPositionInfo_proto_msgTypes, + }.Build() + File_NpcPositionInfo_proto = out.File + file_NpcPositionInfo_proto_rawDesc = nil + file_NpcPositionInfo_proto_goTypes = nil + file_NpcPositionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NpcPositionInfo.proto b/gate-hk4e-api/proto/NpcPositionInfo.proto new file mode 100644 index 00000000..dc6fa55d --- /dev/null +++ b/gate-hk4e-api/proto/NpcPositionInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message NpcPositionInfo { + uint32 npc_id = 1; + Vector pos = 2; +} diff --git a/gate-hk4e-api/proto/NpcTalkReq.pb.go b/gate-hk4e-api/proto/NpcTalkReq.pb.go new file mode 100644 index 00000000..f23a595e --- /dev/null +++ b/gate-hk4e-api/proto/NpcTalkReq.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NpcTalkReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type NpcTalkReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + NpcEntityId uint32 `protobuf:"varint,9,opt,name=npc_entity_id,json=npcEntityId,proto3" json:"npc_entity_id,omitempty"` + TalkId uint32 `protobuf:"varint,7,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` +} + +func (x *NpcTalkReq) Reset() { + *x = NpcTalkReq{} + if protoimpl.UnsafeEnabled { + mi := &file_NpcTalkReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NpcTalkReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NpcTalkReq) ProtoMessage() {} + +func (x *NpcTalkReq) ProtoReflect() protoreflect.Message { + mi := &file_NpcTalkReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NpcTalkReq.ProtoReflect.Descriptor instead. +func (*NpcTalkReq) Descriptor() ([]byte, []int) { + return file_NpcTalkReq_proto_rawDescGZIP(), []int{0} +} + +func (x *NpcTalkReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *NpcTalkReq) GetNpcEntityId() uint32 { + if x != nil { + return x.NpcEntityId + } + return 0 +} + +func (x *NpcTalkReq) GetTalkId() uint32 { + if x != nil { + return x.TalkId + } + return 0 +} + +var File_NpcTalkReq_proto protoreflect.FileDescriptor + +var file_NpcTalkReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4e, 0x70, 0x63, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x0a, 0x4e, 0x70, 0x63, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x71, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x22, 0x0a, + 0x0d, 0x6e, 0x70, 0x63, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x70, 0x63, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x74, 0x61, 0x6c, 0x6b, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NpcTalkReq_proto_rawDescOnce sync.Once + file_NpcTalkReq_proto_rawDescData = file_NpcTalkReq_proto_rawDesc +) + +func file_NpcTalkReq_proto_rawDescGZIP() []byte { + file_NpcTalkReq_proto_rawDescOnce.Do(func() { + file_NpcTalkReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_NpcTalkReq_proto_rawDescData) + }) + return file_NpcTalkReq_proto_rawDescData +} + +var file_NpcTalkReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NpcTalkReq_proto_goTypes = []interface{}{ + (*NpcTalkReq)(nil), // 0: NpcTalkReq +} +var file_NpcTalkReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_NpcTalkReq_proto_init() } +func file_NpcTalkReq_proto_init() { + if File_NpcTalkReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_NpcTalkReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NpcTalkReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NpcTalkReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NpcTalkReq_proto_goTypes, + DependencyIndexes: file_NpcTalkReq_proto_depIdxs, + MessageInfos: file_NpcTalkReq_proto_msgTypes, + }.Build() + File_NpcTalkReq_proto = out.File + file_NpcTalkReq_proto_rawDesc = nil + file_NpcTalkReq_proto_goTypes = nil + file_NpcTalkReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NpcTalkReq.proto b/gate-hk4e-api/proto/NpcTalkReq.proto new file mode 100644 index 00000000..338949b6 --- /dev/null +++ b/gate-hk4e-api/proto/NpcTalkReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message NpcTalkReq { + uint32 entity_id = 8; + uint32 npc_entity_id = 9; + uint32 talk_id = 7; +} diff --git a/gate-hk4e-api/proto/NpcTalkRsp.pb.go b/gate-hk4e-api/proto/NpcTalkRsp.pb.go new file mode 100644 index 00000000..64002750 --- /dev/null +++ b/gate-hk4e-api/proto/NpcTalkRsp.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NpcTalkRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 598 +// EnetChannelId: 0 +// EnetIsReliable: true +type NpcTalkRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurTalkId uint32 `protobuf:"varint,9,opt,name=cur_talk_id,json=curTalkId,proto3" json:"cur_talk_id,omitempty"` + NpcEntityId uint32 `protobuf:"varint,6,opt,name=npc_entity_id,json=npcEntityId,proto3" json:"npc_entity_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *NpcTalkRsp) Reset() { + *x = NpcTalkRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_NpcTalkRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NpcTalkRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NpcTalkRsp) ProtoMessage() {} + +func (x *NpcTalkRsp) ProtoReflect() protoreflect.Message { + mi := &file_NpcTalkRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NpcTalkRsp.ProtoReflect.Descriptor instead. +func (*NpcTalkRsp) Descriptor() ([]byte, []int) { + return file_NpcTalkRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *NpcTalkRsp) GetCurTalkId() uint32 { + if x != nil { + return x.CurTalkId + } + return 0 +} + +func (x *NpcTalkRsp) GetNpcEntityId() uint32 { + if x != nil { + return x.NpcEntityId + } + return 0 +} + +func (x *NpcTalkRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *NpcTalkRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_NpcTalkRsp_proto protoreflect.FileDescriptor + +var file_NpcTalkRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x4e, 0x70, 0x63, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x0a, 0x4e, 0x70, 0x63, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x73, + 0x70, 0x12, 0x1e, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x75, 0x72, 0x54, 0x61, 0x6c, 0x6b, 0x49, + 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x70, 0x63, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x70, 0x63, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NpcTalkRsp_proto_rawDescOnce sync.Once + file_NpcTalkRsp_proto_rawDescData = file_NpcTalkRsp_proto_rawDesc +) + +func file_NpcTalkRsp_proto_rawDescGZIP() []byte { + file_NpcTalkRsp_proto_rawDescOnce.Do(func() { + file_NpcTalkRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_NpcTalkRsp_proto_rawDescData) + }) + return file_NpcTalkRsp_proto_rawDescData +} + +var file_NpcTalkRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NpcTalkRsp_proto_goTypes = []interface{}{ + (*NpcTalkRsp)(nil), // 0: NpcTalkRsp +} +var file_NpcTalkRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_NpcTalkRsp_proto_init() } +func file_NpcTalkRsp_proto_init() { + if File_NpcTalkRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_NpcTalkRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NpcTalkRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NpcTalkRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NpcTalkRsp_proto_goTypes, + DependencyIndexes: file_NpcTalkRsp_proto_depIdxs, + MessageInfos: file_NpcTalkRsp_proto_msgTypes, + }.Build() + File_NpcTalkRsp_proto = out.File + file_NpcTalkRsp_proto_rawDesc = nil + file_NpcTalkRsp_proto_goTypes = nil + file_NpcTalkRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NpcTalkRsp.proto b/gate-hk4e-api/proto/NpcTalkRsp.proto new file mode 100644 index 00000000..2152a4f1 --- /dev/null +++ b/gate-hk4e-api/proto/NpcTalkRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 598 +// EnetChannelId: 0 +// EnetIsReliable: true +message NpcTalkRsp { + uint32 cur_talk_id = 9; + uint32 npc_entity_id = 6; + int32 retcode = 3; + uint32 entity_id = 13; +} diff --git a/gate-hk4e-api/proto/NullMsg.pb.go b/gate-hk4e-api/proto/NullMsg.pb.go new file mode 100644 index 00000000..791f9e16 --- /dev/null +++ b/gate-hk4e-api/proto/NullMsg.pb.go @@ -0,0 +1,131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: NullMsg.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type NullMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *NullMsg) Reset() { + *x = NullMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_NullMsg_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NullMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NullMsg) ProtoMessage() {} + +func (x *NullMsg) ProtoReflect() protoreflect.Message { + mi := &file_NullMsg_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NullMsg.ProtoReflect.Descriptor instead. +func (*NullMsg) Descriptor() ([]byte, []int) { + return file_NullMsg_proto_rawDescGZIP(), []int{0} +} + +var File_NullMsg_proto protoreflect.FileDescriptor + +var file_NullMsg_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x09, 0x0a, 0x07, 0x4e, 0x75, 0x6c, 0x6c, 0x4d, 0x73, + 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_NullMsg_proto_rawDescOnce sync.Once + file_NullMsg_proto_rawDescData = file_NullMsg_proto_rawDesc +) + +func file_NullMsg_proto_rawDescGZIP() []byte { + file_NullMsg_proto_rawDescOnce.Do(func() { + file_NullMsg_proto_rawDescData = protoimpl.X.CompressGZIP(file_NullMsg_proto_rawDescData) + }) + return file_NullMsg_proto_rawDescData +} + +var file_NullMsg_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_NullMsg_proto_goTypes = []interface{}{ + (*NullMsg)(nil), // 0: proto.NullMsg +} +var file_NullMsg_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_NullMsg_proto_init() } +func file_NullMsg_proto_init() { + if File_NullMsg_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_NullMsg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NullMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_NullMsg_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_NullMsg_proto_goTypes, + DependencyIndexes: file_NullMsg_proto_depIdxs, + MessageInfos: file_NullMsg_proto_msgTypes, + }.Build() + File_NullMsg_proto = out.File + file_NullMsg_proto_rawDesc = nil + file_NullMsg_proto_goTypes = nil + file_NullMsg_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/NullMsg.proto b/gate-hk4e-api/proto/NullMsg.proto new file mode 100644 index 00000000..8595a484 --- /dev/null +++ b/gate-hk4e-api/proto/NullMsg.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package proto; +option go_package = "./;proto"; + +message NullMsg { +} diff --git a/gate-hk4e-api/proto/ObstacleInfo.pb.go b/gate-hk4e-api/proto/ObstacleInfo.pb.go new file mode 100644 index 00000000..7a01d674 --- /dev/null +++ b/gate-hk4e-api/proto/ObstacleInfo.pb.go @@ -0,0 +1,268 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ObstacleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ObstacleInfo_ShapeType int32 + +const ( + ObstacleInfo_SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE ObstacleInfo_ShapeType = 0 + ObstacleInfo_SHAPE_TYPE_OBSTACLE_SHAPE_BOX ObstacleInfo_ShapeType = 1 +) + +// Enum value maps for ObstacleInfo_ShapeType. +var ( + ObstacleInfo_ShapeType_name = map[int32]string{ + 0: "SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE", + 1: "SHAPE_TYPE_OBSTACLE_SHAPE_BOX", + } + ObstacleInfo_ShapeType_value = map[string]int32{ + "SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE": 0, + "SHAPE_TYPE_OBSTACLE_SHAPE_BOX": 1, + } +) + +func (x ObstacleInfo_ShapeType) Enum() *ObstacleInfo_ShapeType { + p := new(ObstacleInfo_ShapeType) + *p = x + return p +} + +func (x ObstacleInfo_ShapeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ObstacleInfo_ShapeType) Descriptor() protoreflect.EnumDescriptor { + return file_ObstacleInfo_proto_enumTypes[0].Descriptor() +} + +func (ObstacleInfo_ShapeType) Type() protoreflect.EnumType { + return &file_ObstacleInfo_proto_enumTypes[0] +} + +func (x ObstacleInfo_ShapeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ObstacleInfo_ShapeType.Descriptor instead. +func (ObstacleInfo_ShapeType) EnumDescriptor() ([]byte, []int) { + return file_ObstacleInfo_proto_rawDescGZIP(), []int{0, 0} +} + +type ObstacleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rotation *MathQuaternion `protobuf:"bytes,4,opt,name=rotation,proto3" json:"rotation,omitempty"` + ObstacleId int32 `protobuf:"varint,2,opt,name=obstacle_id,json=obstacleId,proto3" json:"obstacle_id,omitempty"` + Center *Vector `protobuf:"bytes,14,opt,name=center,proto3" json:"center,omitempty"` + Shape ObstacleInfo_ShapeType `protobuf:"varint,6,opt,name=shape,proto3,enum=ObstacleInfo_ShapeType" json:"shape,omitempty"` + Extents *Vector3Int `protobuf:"bytes,12,opt,name=extents,proto3" json:"extents,omitempty"` +} + +func (x *ObstacleInfo) Reset() { + *x = ObstacleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ObstacleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObstacleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObstacleInfo) ProtoMessage() {} + +func (x *ObstacleInfo) ProtoReflect() protoreflect.Message { + mi := &file_ObstacleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ObstacleInfo.ProtoReflect.Descriptor instead. +func (*ObstacleInfo) Descriptor() ([]byte, []int) { + return file_ObstacleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ObstacleInfo) GetRotation() *MathQuaternion { + if x != nil { + return x.Rotation + } + return nil +} + +func (x *ObstacleInfo) GetObstacleId() int32 { + if x != nil { + return x.ObstacleId + } + return 0 +} + +func (x *ObstacleInfo) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *ObstacleInfo) GetShape() ObstacleInfo_ShapeType { + if x != nil { + return x.Shape + } + return ObstacleInfo_SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE +} + +func (x *ObstacleInfo) GetExtents() *Vector3Int { + if x != nil { + return x.Extents + } + return nil +} + +var File_ObstacleInfo_proto protoreflect.FileDescriptor + +var file_ObstacleInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, + 0x6e, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x33, 0x49, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x02, 0x0a, 0x0c, 0x4f, + 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x08, 0x72, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x62, 0x73, 0x74, + 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, + 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x4f, 0x62, 0x73, 0x74, + 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x68, 0x61, 0x70, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x33, 0x49, 0x6e, 0x74, 0x52, 0x07, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0x55, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, + 0x21, 0x53, 0x48, 0x41, 0x50, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x42, 0x53, 0x54, + 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x50, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x53, 0x55, + 0x4c, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x48, 0x41, 0x50, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4f, 0x42, 0x53, 0x54, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x50, + 0x45, 0x5f, 0x42, 0x4f, 0x58, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ObstacleInfo_proto_rawDescOnce sync.Once + file_ObstacleInfo_proto_rawDescData = file_ObstacleInfo_proto_rawDesc +) + +func file_ObstacleInfo_proto_rawDescGZIP() []byte { + file_ObstacleInfo_proto_rawDescOnce.Do(func() { + file_ObstacleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ObstacleInfo_proto_rawDescData) + }) + return file_ObstacleInfo_proto_rawDescData +} + +var file_ObstacleInfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ObstacleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ObstacleInfo_proto_goTypes = []interface{}{ + (ObstacleInfo_ShapeType)(0), // 0: ObstacleInfo.ShapeType + (*ObstacleInfo)(nil), // 1: ObstacleInfo + (*MathQuaternion)(nil), // 2: MathQuaternion + (*Vector)(nil), // 3: Vector + (*Vector3Int)(nil), // 4: Vector3Int +} +var file_ObstacleInfo_proto_depIdxs = []int32{ + 2, // 0: ObstacleInfo.rotation:type_name -> MathQuaternion + 3, // 1: ObstacleInfo.center:type_name -> Vector + 0, // 2: ObstacleInfo.shape:type_name -> ObstacleInfo.ShapeType + 4, // 3: ObstacleInfo.extents:type_name -> Vector3Int + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_ObstacleInfo_proto_init() } +func file_ObstacleInfo_proto_init() { + if File_ObstacleInfo_proto != nil { + return + } + file_MathQuaternion_proto_init() + file_Vector_proto_init() + file_Vector3Int_proto_init() + if !protoimpl.UnsafeEnabled { + file_ObstacleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObstacleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ObstacleInfo_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ObstacleInfo_proto_goTypes, + DependencyIndexes: file_ObstacleInfo_proto_depIdxs, + EnumInfos: file_ObstacleInfo_proto_enumTypes, + MessageInfos: file_ObstacleInfo_proto_msgTypes, + }.Build() + File_ObstacleInfo_proto = out.File + file_ObstacleInfo_proto_rawDesc = nil + file_ObstacleInfo_proto_goTypes = nil + file_ObstacleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ObstacleInfo.proto b/gate-hk4e-api/proto/ObstacleInfo.proto new file mode 100644 index 00000000..35e21250 --- /dev/null +++ b/gate-hk4e-api/proto/ObstacleInfo.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MathQuaternion.proto"; +import "Vector.proto"; +import "Vector3Int.proto"; + +option go_package = "./;proto"; + +message ObstacleInfo { + MathQuaternion rotation = 4; + int32 obstacle_id = 2; + Vector center = 14; + ShapeType shape = 6; + Vector3Int extents = 12; + + enum ShapeType { + SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE = 0; + SHAPE_TYPE_OBSTACLE_SHAPE_BOX = 1; + } +} diff --git a/gate-hk4e-api/proto/ObstacleModifyNotify.pb.go b/gate-hk4e-api/proto/ObstacleModifyNotify.pb.go new file mode 100644 index 00000000..2b7e1d8c --- /dev/null +++ b/gate-hk4e-api/proto/ObstacleModifyNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ObstacleModifyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ObstacleModifyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemoveObstacleIds []int32 `protobuf:"varint,9,rep,packed,name=remove_obstacle_ids,json=removeObstacleIds,proto3" json:"remove_obstacle_ids,omitempty"` + AddObstacles []*ObstacleInfo `protobuf:"bytes,6,rep,name=add_obstacles,json=addObstacles,proto3" json:"add_obstacles,omitempty"` + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *ObstacleModifyNotify) Reset() { + *x = ObstacleModifyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ObstacleModifyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObstacleModifyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObstacleModifyNotify) ProtoMessage() {} + +func (x *ObstacleModifyNotify) ProtoReflect() protoreflect.Message { + mi := &file_ObstacleModifyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ObstacleModifyNotify.ProtoReflect.Descriptor instead. +func (*ObstacleModifyNotify) Descriptor() ([]byte, []int) { + return file_ObstacleModifyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ObstacleModifyNotify) GetRemoveObstacleIds() []int32 { + if x != nil { + return x.RemoveObstacleIds + } + return nil +} + +func (x *ObstacleModifyNotify) GetAddObstacles() []*ObstacleInfo { + if x != nil { + return x.AddObstacles + } + return nil +} + +func (x *ObstacleModifyNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_ObstacleModifyNotify_proto protoreflect.FileDescriptor + +var file_ObstacleModifyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4f, 0x62, + 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x95, 0x01, 0x0a, 0x14, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x4d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x5f, 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x62, + 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0d, 0x61, 0x64, 0x64, + 0x5f, 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0c, 0x61, 0x64, 0x64, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ObstacleModifyNotify_proto_rawDescOnce sync.Once + file_ObstacleModifyNotify_proto_rawDescData = file_ObstacleModifyNotify_proto_rawDesc +) + +func file_ObstacleModifyNotify_proto_rawDescGZIP() []byte { + file_ObstacleModifyNotify_proto_rawDescOnce.Do(func() { + file_ObstacleModifyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ObstacleModifyNotify_proto_rawDescData) + }) + return file_ObstacleModifyNotify_proto_rawDescData +} + +var file_ObstacleModifyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ObstacleModifyNotify_proto_goTypes = []interface{}{ + (*ObstacleModifyNotify)(nil), // 0: ObstacleModifyNotify + (*ObstacleInfo)(nil), // 1: ObstacleInfo +} +var file_ObstacleModifyNotify_proto_depIdxs = []int32{ + 1, // 0: ObstacleModifyNotify.add_obstacles:type_name -> ObstacleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ObstacleModifyNotify_proto_init() } +func file_ObstacleModifyNotify_proto_init() { + if File_ObstacleModifyNotify_proto != nil { + return + } + file_ObstacleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ObstacleModifyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObstacleModifyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ObstacleModifyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ObstacleModifyNotify_proto_goTypes, + DependencyIndexes: file_ObstacleModifyNotify_proto_depIdxs, + MessageInfos: file_ObstacleModifyNotify_proto_msgTypes, + }.Build() + File_ObstacleModifyNotify_proto = out.File + file_ObstacleModifyNotify_proto_rawDesc = nil + file_ObstacleModifyNotify_proto_goTypes = nil + file_ObstacleModifyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ObstacleModifyNotify.proto b/gate-hk4e-api/proto/ObstacleModifyNotify.proto new file mode 100644 index 00000000..2c406ac6 --- /dev/null +++ b/gate-hk4e-api/proto/ObstacleModifyNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ObstacleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ObstacleModifyNotify { + repeated int32 remove_obstacle_ids = 9; + repeated ObstacleInfo add_obstacles = 6; + uint32 scene_id = 5; +} diff --git a/gate-hk4e-api/proto/OfferingInfo.pb.go b/gate-hk4e-api/proto/OfferingInfo.pb.go new file mode 100644 index 00000000..99db5a23 --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInfo.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OfferingInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OfferingInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingId uint32 `protobuf:"varint,1,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` +} + +func (x *OfferingInfo) Reset() { + *x = OfferingInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_OfferingInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OfferingInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OfferingInfo) ProtoMessage() {} + +func (x *OfferingInfo) ProtoReflect() protoreflect.Message { + mi := &file_OfferingInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OfferingInfo.ProtoReflect.Descriptor instead. +func (*OfferingInfo) Descriptor() ([]byte, []int) { + return file_OfferingInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *OfferingInfo) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +var File_OfferingInfo_proto protoreflect.FileDescriptor + +var file_OfferingInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x65, 0x72, + 0x69, 0x6e, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OfferingInfo_proto_rawDescOnce sync.Once + file_OfferingInfo_proto_rawDescData = file_OfferingInfo_proto_rawDesc +) + +func file_OfferingInfo_proto_rawDescGZIP() []byte { + file_OfferingInfo_proto_rawDescOnce.Do(func() { + file_OfferingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_OfferingInfo_proto_rawDescData) + }) + return file_OfferingInfo_proto_rawDescData +} + +var file_OfferingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OfferingInfo_proto_goTypes = []interface{}{ + (*OfferingInfo)(nil), // 0: OfferingInfo +} +var file_OfferingInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_OfferingInfo_proto_init() } +func file_OfferingInfo_proto_init() { + if File_OfferingInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OfferingInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OfferingInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OfferingInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OfferingInfo_proto_goTypes, + DependencyIndexes: file_OfferingInfo_proto_depIdxs, + MessageInfos: file_OfferingInfo_proto_msgTypes, + }.Build() + File_OfferingInfo_proto = out.File + file_OfferingInfo_proto_rawDesc = nil + file_OfferingInfo_proto_goTypes = nil + file_OfferingInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OfferingInfo.proto b/gate-hk4e-api/proto/OfferingInfo.proto new file mode 100644 index 00000000..e06f020d --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message OfferingInfo { + uint32 offering_id = 1; +} diff --git a/gate-hk4e-api/proto/OfferingInteractReq.pb.go b/gate-hk4e-api/proto/OfferingInteractReq.pb.go new file mode 100644 index 00000000..2d856b90 --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInteractReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OfferingInteractReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type OfferingInteractReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingId uint32 `protobuf:"varint,9,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` +} + +func (x *OfferingInteractReq) Reset() { + *x = OfferingInteractReq{} + if protoimpl.UnsafeEnabled { + mi := &file_OfferingInteractReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OfferingInteractReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OfferingInteractReq) ProtoMessage() {} + +func (x *OfferingInteractReq) ProtoReflect() protoreflect.Message { + mi := &file_OfferingInteractReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OfferingInteractReq.ProtoReflect.Descriptor instead. +func (*OfferingInteractReq) Descriptor() ([]byte, []int) { + return file_OfferingInteractReq_proto_rawDescGZIP(), []int{0} +} + +func (x *OfferingInteractReq) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +var File_OfferingInteractReq_proto protoreflect.FileDescriptor + +var file_OfferingInteractReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x4f, + 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, + 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OfferingInteractReq_proto_rawDescOnce sync.Once + file_OfferingInteractReq_proto_rawDescData = file_OfferingInteractReq_proto_rawDesc +) + +func file_OfferingInteractReq_proto_rawDescGZIP() []byte { + file_OfferingInteractReq_proto_rawDescOnce.Do(func() { + file_OfferingInteractReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_OfferingInteractReq_proto_rawDescData) + }) + return file_OfferingInteractReq_proto_rawDescData +} + +var file_OfferingInteractReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OfferingInteractReq_proto_goTypes = []interface{}{ + (*OfferingInteractReq)(nil), // 0: OfferingInteractReq +} +var file_OfferingInteractReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_OfferingInteractReq_proto_init() } +func file_OfferingInteractReq_proto_init() { + if File_OfferingInteractReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OfferingInteractReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OfferingInteractReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OfferingInteractReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OfferingInteractReq_proto_goTypes, + DependencyIndexes: file_OfferingInteractReq_proto_depIdxs, + MessageInfos: file_OfferingInteractReq_proto_msgTypes, + }.Build() + File_OfferingInteractReq_proto = out.File + file_OfferingInteractReq_proto_rawDesc = nil + file_OfferingInteractReq_proto_goTypes = nil + file_OfferingInteractReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OfferingInteractReq.proto b/gate-hk4e-api/proto/OfferingInteractReq.proto new file mode 100644 index 00000000..b869dcf4 --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInteractReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message OfferingInteractReq { + uint32 offering_id = 9; +} diff --git a/gate-hk4e-api/proto/OfferingInteractRsp.pb.go b/gate-hk4e-api/proto/OfferingInteractRsp.pb.go new file mode 100644 index 00000000..60b1d6d9 --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInteractRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OfferingInteractRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2908 +// EnetChannelId: 0 +// EnetIsReliable: true +type OfferingInteractRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingData *PlayerOfferingData `protobuf:"bytes,11,opt,name=offering_data,json=offeringData,proto3" json:"offering_data,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *OfferingInteractRsp) Reset() { + *x = OfferingInteractRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_OfferingInteractRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OfferingInteractRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OfferingInteractRsp) ProtoMessage() {} + +func (x *OfferingInteractRsp) ProtoReflect() protoreflect.Message { + mi := &file_OfferingInteractRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OfferingInteractRsp.ProtoReflect.Descriptor instead. +func (*OfferingInteractRsp) Descriptor() ([]byte, []int) { + return file_OfferingInteractRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *OfferingInteractRsp) GetOfferingData() *PlayerOfferingData { + if x != nil { + return x.OfferingData + } + return nil +} + +func (x *OfferingInteractRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_OfferingInteractRsp_proto protoreflect.FileDescriptor + +var file_OfferingInteractRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x13, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, + 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x52, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x0d, + 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OfferingInteractRsp_proto_rawDescOnce sync.Once + file_OfferingInteractRsp_proto_rawDescData = file_OfferingInteractRsp_proto_rawDesc +) + +func file_OfferingInteractRsp_proto_rawDescGZIP() []byte { + file_OfferingInteractRsp_proto_rawDescOnce.Do(func() { + file_OfferingInteractRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_OfferingInteractRsp_proto_rawDescData) + }) + return file_OfferingInteractRsp_proto_rawDescData +} + +var file_OfferingInteractRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OfferingInteractRsp_proto_goTypes = []interface{}{ + (*OfferingInteractRsp)(nil), // 0: OfferingInteractRsp + (*PlayerOfferingData)(nil), // 1: PlayerOfferingData +} +var file_OfferingInteractRsp_proto_depIdxs = []int32{ + 1, // 0: OfferingInteractRsp.offering_data:type_name -> PlayerOfferingData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OfferingInteractRsp_proto_init() } +func file_OfferingInteractRsp_proto_init() { + if File_OfferingInteractRsp_proto != nil { + return + } + file_PlayerOfferingData_proto_init() + if !protoimpl.UnsafeEnabled { + file_OfferingInteractRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OfferingInteractRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OfferingInteractRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OfferingInteractRsp_proto_goTypes, + DependencyIndexes: file_OfferingInteractRsp_proto_depIdxs, + MessageInfos: file_OfferingInteractRsp_proto_msgTypes, + }.Build() + File_OfferingInteractRsp_proto = out.File + file_OfferingInteractRsp_proto_rawDesc = nil + file_OfferingInteractRsp_proto_goTypes = nil + file_OfferingInteractRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OfferingInteractRsp.proto b/gate-hk4e-api/proto/OfferingInteractRsp.proto new file mode 100644 index 00000000..a0bf06a8 --- /dev/null +++ b/gate-hk4e-api/proto/OfferingInteractRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerOfferingData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2908 +// EnetChannelId: 0 +// EnetIsReliable: true +message OfferingInteractRsp { + PlayerOfferingData offering_data = 11; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/OneofGatherPointDetectorData.pb.go b/gate-hk4e-api/proto/OneofGatherPointDetectorData.pb.go new file mode 100644 index 00000000..78ebd548 --- /dev/null +++ b/gate-hk4e-api/proto/OneofGatherPointDetectorData.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OneofGatherPointDetectorData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OneofGatherPointDetectorData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HintCenterPos *Vector `protobuf:"bytes,7,opt,name=hint_center_pos,json=hintCenterPos,proto3" json:"hint_center_pos,omitempty"` + HintRadius uint32 `protobuf:"varint,14,opt,name=hint_radius,json=hintRadius,proto3" json:"hint_radius,omitempty"` + MaterialId uint32 `protobuf:"varint,10,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + ConfigId uint32 `protobuf:"varint,6,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + GroupId uint32 `protobuf:"varint,13,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + IsAllCollected bool `protobuf:"varint,4,opt,name=is_all_collected,json=isAllCollected,proto3" json:"is_all_collected,omitempty"` + IsHintValid bool `protobuf:"varint,15,opt,name=is_hint_valid,json=isHintValid,proto3" json:"is_hint_valid,omitempty"` +} + +func (x *OneofGatherPointDetectorData) Reset() { + *x = OneofGatherPointDetectorData{} + if protoimpl.UnsafeEnabled { + mi := &file_OneofGatherPointDetectorData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OneofGatherPointDetectorData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofGatherPointDetectorData) ProtoMessage() {} + +func (x *OneofGatherPointDetectorData) ProtoReflect() protoreflect.Message { + mi := &file_OneofGatherPointDetectorData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofGatherPointDetectorData.ProtoReflect.Descriptor instead. +func (*OneofGatherPointDetectorData) Descriptor() ([]byte, []int) { + return file_OneofGatherPointDetectorData_proto_rawDescGZIP(), []int{0} +} + +func (x *OneofGatherPointDetectorData) GetHintCenterPos() *Vector { + if x != nil { + return x.HintCenterPos + } + return nil +} + +func (x *OneofGatherPointDetectorData) GetHintRadius() uint32 { + if x != nil { + return x.HintRadius + } + return 0 +} + +func (x *OneofGatherPointDetectorData) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *OneofGatherPointDetectorData) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *OneofGatherPointDetectorData) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *OneofGatherPointDetectorData) GetIsAllCollected() bool { + if x != nil { + return x.IsAllCollected + } + return false +} + +func (x *OneofGatherPointDetectorData) GetIsHintValid() bool { + if x != nil { + return x.IsHintValid + } + return false +} + +var File_OneofGatherPointDetectorData_proto protoreflect.FileDescriptor + +var file_OneofGatherPointDetectorData_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x1c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x68, 0x69, 0x6e, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x50, 0x6f, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x64, + 0x69, 0x75, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x69, 0x6e, 0x74, 0x52, + 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x68, + 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x48, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OneofGatherPointDetectorData_proto_rawDescOnce sync.Once + file_OneofGatherPointDetectorData_proto_rawDescData = file_OneofGatherPointDetectorData_proto_rawDesc +) + +func file_OneofGatherPointDetectorData_proto_rawDescGZIP() []byte { + file_OneofGatherPointDetectorData_proto_rawDescOnce.Do(func() { + file_OneofGatherPointDetectorData_proto_rawDescData = protoimpl.X.CompressGZIP(file_OneofGatherPointDetectorData_proto_rawDescData) + }) + return file_OneofGatherPointDetectorData_proto_rawDescData +} + +var file_OneofGatherPointDetectorData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OneofGatherPointDetectorData_proto_goTypes = []interface{}{ + (*OneofGatherPointDetectorData)(nil), // 0: OneofGatherPointDetectorData + (*Vector)(nil), // 1: Vector +} +var file_OneofGatherPointDetectorData_proto_depIdxs = []int32{ + 1, // 0: OneofGatherPointDetectorData.hint_center_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OneofGatherPointDetectorData_proto_init() } +func file_OneofGatherPointDetectorData_proto_init() { + if File_OneofGatherPointDetectorData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_OneofGatherPointDetectorData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OneofGatherPointDetectorData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OneofGatherPointDetectorData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OneofGatherPointDetectorData_proto_goTypes, + DependencyIndexes: file_OneofGatherPointDetectorData_proto_depIdxs, + MessageInfos: file_OneofGatherPointDetectorData_proto_msgTypes, + }.Build() + File_OneofGatherPointDetectorData_proto = out.File + file_OneofGatherPointDetectorData_proto_rawDesc = nil + file_OneofGatherPointDetectorData_proto_goTypes = nil + file_OneofGatherPointDetectorData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OneofGatherPointDetectorData.proto b/gate-hk4e-api/proto/OneofGatherPointDetectorData.proto new file mode 100644 index 00000000..6a01432d --- /dev/null +++ b/gate-hk4e-api/proto/OneofGatherPointDetectorData.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message OneofGatherPointDetectorData { + Vector hint_center_pos = 7; + uint32 hint_radius = 14; + uint32 material_id = 10; + uint32 config_id = 6; + uint32 group_id = 13; + bool is_all_collected = 4; + bool is_hint_valid = 15; +} diff --git a/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.pb.go b/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.pb.go new file mode 100644 index 00000000..5e7e1d64 --- /dev/null +++ b/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OneofGatherPointDetectorDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4297 +// EnetChannelId: 0 +// EnetIsReliable: true +type OneofGatherPointDetectorDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OneofGatherPointDetectorDataList []*OneofGatherPointDetectorData `protobuf:"bytes,3,rep,name=oneof_gather_point_detector_data_list,json=oneofGatherPointDetectorDataList,proto3" json:"oneof_gather_point_detector_data_list,omitempty"` +} + +func (x *OneofGatherPointDetectorDataNotify) Reset() { + *x = OneofGatherPointDetectorDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OneofGatherPointDetectorDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OneofGatherPointDetectorDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofGatherPointDetectorDataNotify) ProtoMessage() {} + +func (x *OneofGatherPointDetectorDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_OneofGatherPointDetectorDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofGatherPointDetectorDataNotify.ProtoReflect.Descriptor instead. +func (*OneofGatherPointDetectorDataNotify) Descriptor() ([]byte, []int) { + return file_OneofGatherPointDetectorDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OneofGatherPointDetectorDataNotify) GetOneofGatherPointDetectorDataList() []*OneofGatherPointDetectorData { + if x != nil { + return x.OneofGatherPointDetectorDataList + } + return nil +} + +var File_OneofGatherPointDetectorDataNotify_proto protoreflect.FileDescriptor + +var file_OneofGatherPointDetectorDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x4f, 0x6e, 0x65, 0x6f, + 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, + 0x01, 0x0a, 0x22, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6e, 0x0a, 0x25, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x67, + 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x20, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, + 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OneofGatherPointDetectorDataNotify_proto_rawDescOnce sync.Once + file_OneofGatherPointDetectorDataNotify_proto_rawDescData = file_OneofGatherPointDetectorDataNotify_proto_rawDesc +) + +func file_OneofGatherPointDetectorDataNotify_proto_rawDescGZIP() []byte { + file_OneofGatherPointDetectorDataNotify_proto_rawDescOnce.Do(func() { + file_OneofGatherPointDetectorDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OneofGatherPointDetectorDataNotify_proto_rawDescData) + }) + return file_OneofGatherPointDetectorDataNotify_proto_rawDescData +} + +var file_OneofGatherPointDetectorDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OneofGatherPointDetectorDataNotify_proto_goTypes = []interface{}{ + (*OneofGatherPointDetectorDataNotify)(nil), // 0: OneofGatherPointDetectorDataNotify + (*OneofGatherPointDetectorData)(nil), // 1: OneofGatherPointDetectorData +} +var file_OneofGatherPointDetectorDataNotify_proto_depIdxs = []int32{ + 1, // 0: OneofGatherPointDetectorDataNotify.oneof_gather_point_detector_data_list:type_name -> OneofGatherPointDetectorData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OneofGatherPointDetectorDataNotify_proto_init() } +func file_OneofGatherPointDetectorDataNotify_proto_init() { + if File_OneofGatherPointDetectorDataNotify_proto != nil { + return + } + file_OneofGatherPointDetectorData_proto_init() + if !protoimpl.UnsafeEnabled { + file_OneofGatherPointDetectorDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OneofGatherPointDetectorDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OneofGatherPointDetectorDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OneofGatherPointDetectorDataNotify_proto_goTypes, + DependencyIndexes: file_OneofGatherPointDetectorDataNotify_proto_depIdxs, + MessageInfos: file_OneofGatherPointDetectorDataNotify_proto_msgTypes, + }.Build() + File_OneofGatherPointDetectorDataNotify_proto = out.File + file_OneofGatherPointDetectorDataNotify_proto_rawDesc = nil + file_OneofGatherPointDetectorDataNotify_proto_goTypes = nil + file_OneofGatherPointDetectorDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.proto b/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.proto new file mode 100644 index 00000000..ad358026 --- /dev/null +++ b/gate-hk4e-api/proto/OneofGatherPointDetectorDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OneofGatherPointDetectorData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4297 +// EnetChannelId: 0 +// EnetIsReliable: true +message OneofGatherPointDetectorDataNotify { + repeated OneofGatherPointDetectorData oneof_gather_point_detector_data_list = 3; +} diff --git a/gate-hk4e-api/proto/OnlinePlayerInfo.pb.go b/gate-hk4e-api/proto/OnlinePlayerInfo.pb.go new file mode 100644 index 00000000..6bbf95a5 --- /dev/null +++ b/gate-hk4e-api/proto/OnlinePlayerInfo.pb.go @@ -0,0 +1,291 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OnlinePlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OnlinePlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` + PlayerLevel uint32 `protobuf:"varint,3,opt,name=player_level,json=playerLevel,proto3" json:"player_level,omitempty"` + AvatarId uint32 `protobuf:"varint,4,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + MpSettingType MpSettingType `protobuf:"varint,5,opt,name=mp_setting_type,json=mpSettingType,proto3,enum=MpSettingType" json:"mp_setting_type,omitempty"` + CurPlayerNumInWorld uint32 `protobuf:"varint,6,opt,name=cur_player_num_in_world,json=curPlayerNumInWorld,proto3" json:"cur_player_num_in_world,omitempty"` + WorldLevel uint32 `protobuf:"varint,7,opt,name=world_level,json=worldLevel,proto3" json:"world_level,omitempty"` + OnlineId string `protobuf:"bytes,8,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + NameCardId uint32 `protobuf:"varint,9,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` + BlacklistUidList []uint32 `protobuf:"varint,10,rep,packed,name=blacklist_uid_list,json=blacklistUidList,proto3" json:"blacklist_uid_list,omitempty"` + Signature string `protobuf:"bytes,11,opt,name=signature,proto3" json:"signature,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,12,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + PsnId string `protobuf:"bytes,13,opt,name=psn_id,json=psnId,proto3" json:"psn_id,omitempty"` +} + +func (x *OnlinePlayerInfo) Reset() { + *x = OnlinePlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_OnlinePlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OnlinePlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OnlinePlayerInfo) ProtoMessage() {} + +func (x *OnlinePlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_OnlinePlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OnlinePlayerInfo.ProtoReflect.Descriptor instead. +func (*OnlinePlayerInfo) Descriptor() ([]byte, []int) { + return file_OnlinePlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *OnlinePlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *OnlinePlayerInfo) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *OnlinePlayerInfo) GetPlayerLevel() uint32 { + if x != nil { + return x.PlayerLevel + } + return 0 +} + +func (x *OnlinePlayerInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *OnlinePlayerInfo) GetMpSettingType() MpSettingType { + if x != nil { + return x.MpSettingType + } + return MpSettingType_MP_SETTING_TYPE_NO_ENTER +} + +func (x *OnlinePlayerInfo) GetCurPlayerNumInWorld() uint32 { + if x != nil { + return x.CurPlayerNumInWorld + } + return 0 +} + +func (x *OnlinePlayerInfo) GetWorldLevel() uint32 { + if x != nil { + return x.WorldLevel + } + return 0 +} + +func (x *OnlinePlayerInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *OnlinePlayerInfo) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +func (x *OnlinePlayerInfo) GetBlacklistUidList() []uint32 { + if x != nil { + return x.BlacklistUidList + } + return nil +} + +func (x *OnlinePlayerInfo) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *OnlinePlayerInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *OnlinePlayerInfo) GetPsnId() string { + if x != nil { + return x.PsnId + } + return "" +} + +var File_OnlinePlayerInfo_proto protoreflect.FileDescriptor + +var file_OnlinePlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x4d, 0x70, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x03, 0x0a, 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, + 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, + 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x0f, 0x6d, 0x70, 0x5f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0e, 0x2e, 0x4d, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0d, 0x6d, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x34, + 0x0a, 0x17, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, + 0x5f, 0x69, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x13, 0x63, 0x75, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x49, 0x6e, 0x57, + 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x10, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x73, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x73, 0x6e, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OnlinePlayerInfo_proto_rawDescOnce sync.Once + file_OnlinePlayerInfo_proto_rawDescData = file_OnlinePlayerInfo_proto_rawDesc +) + +func file_OnlinePlayerInfo_proto_rawDescGZIP() []byte { + file_OnlinePlayerInfo_proto_rawDescOnce.Do(func() { + file_OnlinePlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_OnlinePlayerInfo_proto_rawDescData) + }) + return file_OnlinePlayerInfo_proto_rawDescData +} + +var file_OnlinePlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OnlinePlayerInfo_proto_goTypes = []interface{}{ + (*OnlinePlayerInfo)(nil), // 0: OnlinePlayerInfo + (MpSettingType)(0), // 1: MpSettingType + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_OnlinePlayerInfo_proto_depIdxs = []int32{ + 1, // 0: OnlinePlayerInfo.mp_setting_type:type_name -> MpSettingType + 2, // 1: OnlinePlayerInfo.profile_picture:type_name -> ProfilePicture + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_OnlinePlayerInfo_proto_init() } +func file_OnlinePlayerInfo_proto_init() { + if File_OnlinePlayerInfo_proto != nil { + return + } + file_MpSettingType_proto_init() + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_OnlinePlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OnlinePlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OnlinePlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OnlinePlayerInfo_proto_goTypes, + DependencyIndexes: file_OnlinePlayerInfo_proto_depIdxs, + MessageInfos: file_OnlinePlayerInfo_proto_msgTypes, + }.Build() + File_OnlinePlayerInfo_proto = out.File + file_OnlinePlayerInfo_proto_rawDesc = nil + file_OnlinePlayerInfo_proto_goTypes = nil + file_OnlinePlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OnlinePlayerInfo.proto b/gate-hk4e-api/proto/OnlinePlayerInfo.proto new file mode 100644 index 00000000..ff1be09e --- /dev/null +++ b/gate-hk4e-api/proto/OnlinePlayerInfo.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MpSettingType.proto"; +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message OnlinePlayerInfo { + uint32 uid = 1; + string nickname = 2; + uint32 player_level = 3; + uint32 avatar_id = 4; + MpSettingType mp_setting_type = 5; + uint32 cur_player_num_in_world = 6; + uint32 world_level = 7; + string online_id = 8; + uint32 name_card_id = 9; + repeated uint32 blacklist_uid_list = 10; + string signature = 11; + ProfilePicture profile_picture = 12; + string psn_id = 13; +} diff --git a/gate-hk4e-api/proto/OpActivityDataNotify.pb.go b/gate-hk4e-api/proto/OpActivityDataNotify.pb.go new file mode 100644 index 00000000..857b58c3 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpActivityDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5112 +// EnetChannelId: 0 +// EnetIsReliable: true +type OpActivityDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpActivityInfoList []*OpActivityInfo `protobuf:"bytes,15,rep,name=op_activity_info_list,json=opActivityInfoList,proto3" json:"op_activity_info_list,omitempty"` +} + +func (x *OpActivityDataNotify) Reset() { + *x = OpActivityDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpActivityDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpActivityDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpActivityDataNotify) ProtoMessage() {} + +func (x *OpActivityDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpActivityDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpActivityDataNotify.ProtoReflect.Descriptor instead. +func (*OpActivityDataNotify) Descriptor() ([]byte, []int) { + return file_OpActivityDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpActivityDataNotify) GetOpActivityInfoList() []*OpActivityInfo { + if x != nil { + return x.OpActivityInfoList + } + return nil +} + +var File_OpActivityDataNotify_proto protoreflect.FileDescriptor + +var file_OpActivityDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4f, 0x70, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x14, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x42, 0x0a, 0x15, 0x6f, 0x70, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4f, 0x70, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6f, 0x70, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_OpActivityDataNotify_proto_rawDescOnce sync.Once + file_OpActivityDataNotify_proto_rawDescData = file_OpActivityDataNotify_proto_rawDesc +) + +func file_OpActivityDataNotify_proto_rawDescGZIP() []byte { + file_OpActivityDataNotify_proto_rawDescOnce.Do(func() { + file_OpActivityDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpActivityDataNotify_proto_rawDescData) + }) + return file_OpActivityDataNotify_proto_rawDescData +} + +var file_OpActivityDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpActivityDataNotify_proto_goTypes = []interface{}{ + (*OpActivityDataNotify)(nil), // 0: OpActivityDataNotify + (*OpActivityInfo)(nil), // 1: OpActivityInfo +} +var file_OpActivityDataNotify_proto_depIdxs = []int32{ + 1, // 0: OpActivityDataNotify.op_activity_info_list:type_name -> OpActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpActivityDataNotify_proto_init() } +func file_OpActivityDataNotify_proto_init() { + if File_OpActivityDataNotify_proto != nil { + return + } + file_OpActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_OpActivityDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpActivityDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpActivityDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpActivityDataNotify_proto_goTypes, + DependencyIndexes: file_OpActivityDataNotify_proto_depIdxs, + MessageInfos: file_OpActivityDataNotify_proto_msgTypes, + }.Build() + File_OpActivityDataNotify_proto = out.File + file_OpActivityDataNotify_proto_rawDesc = nil + file_OpActivityDataNotify_proto_goTypes = nil + file_OpActivityDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpActivityDataNotify.proto b/gate-hk4e-api/proto/OpActivityDataNotify.proto new file mode 100644 index 00000000..33c2f698 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OpActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5112 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpActivityDataNotify { + repeated OpActivityInfo op_activity_info_list = 15; +} diff --git a/gate-hk4e-api/proto/OpActivityInfo.pb.go b/gate-hk4e-api/proto/OpActivityInfo.pb.go new file mode 100644 index 00000000..b0756952 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityInfo.pb.go @@ -0,0 +1,237 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OpActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,2,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + EndTime uint32 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + BeginTime uint32 `protobuf:"varint,5,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + IsHasChange bool `protobuf:"varint,1,opt,name=is_has_change,json=isHasChange,proto3" json:"is_has_change,omitempty"` + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + // Types that are assignable to Detail: + // *OpActivityInfo_BonusInfo + Detail isOpActivityInfo_Detail `protobuf_oneof:"detail"` +} + +func (x *OpActivityInfo) Reset() { + *x = OpActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_OpActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpActivityInfo) ProtoMessage() {} + +func (x *OpActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_OpActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpActivityInfo.ProtoReflect.Descriptor instead. +func (*OpActivityInfo) Descriptor() ([]byte, []int) { + return file_OpActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *OpActivityInfo) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *OpActivityInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *OpActivityInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *OpActivityInfo) GetIsHasChange() bool { + if x != nil { + return x.IsHasChange + } + return false +} + +func (x *OpActivityInfo) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (m *OpActivityInfo) GetDetail() isOpActivityInfo_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *OpActivityInfo) GetBonusInfo() *BonusOpActivityInfo { + if x, ok := x.GetDetail().(*OpActivityInfo_BonusInfo); ok { + return x.BonusInfo + } + return nil +} + +type isOpActivityInfo_Detail interface { + isOpActivityInfo_Detail() +} + +type OpActivityInfo_BonusInfo struct { + BonusInfo *BonusOpActivityInfo `protobuf:"bytes,12,opt,name=bonus_info,json=bonusInfo,proto3,oneof"` +} + +func (*OpActivityInfo_BonusInfo) isOpActivityInfo_Detail() {} + +var File_OpActivityInfo_proto protoreflect.FileDescriptor + +var file_OpActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x4f, 0x70, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x0e, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x48, 0x61, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0a, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x6f, 0x6e, 0x75, 0x73, + 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x09, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, 0x06, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpActivityInfo_proto_rawDescOnce sync.Once + file_OpActivityInfo_proto_rawDescData = file_OpActivityInfo_proto_rawDesc +) + +func file_OpActivityInfo_proto_rawDescGZIP() []byte { + file_OpActivityInfo_proto_rawDescOnce.Do(func() { + file_OpActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpActivityInfo_proto_rawDescData) + }) + return file_OpActivityInfo_proto_rawDescData +} + +var file_OpActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpActivityInfo_proto_goTypes = []interface{}{ + (*OpActivityInfo)(nil), // 0: OpActivityInfo + (*BonusOpActivityInfo)(nil), // 1: BonusOpActivityInfo +} +var file_OpActivityInfo_proto_depIdxs = []int32{ + 1, // 0: OpActivityInfo.bonus_info:type_name -> BonusOpActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpActivityInfo_proto_init() } +func file_OpActivityInfo_proto_init() { + if File_OpActivityInfo_proto != nil { + return + } + file_BonusOpActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_OpActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_OpActivityInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*OpActivityInfo_BonusInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpActivityInfo_proto_goTypes, + DependencyIndexes: file_OpActivityInfo_proto_depIdxs, + MessageInfos: file_OpActivityInfo_proto_msgTypes, + }.Build() + File_OpActivityInfo_proto = out.File + file_OpActivityInfo_proto_rawDesc = nil + file_OpActivityInfo_proto_goTypes = nil + file_OpActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpActivityInfo.proto b/gate-hk4e-api/proto/OpActivityInfo.proto new file mode 100644 index 00000000..a65e7301 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BonusOpActivityInfo.proto"; + +option go_package = "./;proto"; + +message OpActivityInfo { + uint32 activity_id = 2; + uint32 end_time = 6; + uint32 begin_time = 5; + bool is_has_change = 1; + uint32 schedule_id = 13; + oneof detail { + BonusOpActivityInfo bonus_info = 12; + } +} diff --git a/gate-hk4e-api/proto/OpActivityStateNotify.pb.go b/gate-hk4e-api/proto/OpActivityStateNotify.pb.go new file mode 100644 index 00000000..2d86ffdd --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityStateNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpActivityStateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2572 +// EnetChannelId: 0 +// EnetIsReliable: true +type OpActivityStateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishedBonusActivityIdList []uint32 `protobuf:"varint,14,rep,packed,name=finished_bonus_activity_id_list,json=finishedBonusActivityIdList,proto3" json:"finished_bonus_activity_id_list,omitempty"` + OpenedOpActivityInfoList []*OpActivityTagBriefInfo `protobuf:"bytes,13,rep,name=opened_op_activity_info_list,json=openedOpActivityInfoList,proto3" json:"opened_op_activity_info_list,omitempty"` +} + +func (x *OpActivityStateNotify) Reset() { + *x = OpActivityStateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpActivityStateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpActivityStateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpActivityStateNotify) ProtoMessage() {} + +func (x *OpActivityStateNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpActivityStateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpActivityStateNotify.ProtoReflect.Descriptor instead. +func (*OpActivityStateNotify) Descriptor() ([]byte, []int) { + return file_OpActivityStateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpActivityStateNotify) GetFinishedBonusActivityIdList() []uint32 { + if x != nil { + return x.FinishedBonusActivityIdList + } + return nil +} + +func (x *OpActivityStateNotify) GetOpenedOpActivityInfoList() []*OpActivityTagBriefInfo { + if x != nil { + return x.OpenedOpActivityInfoList + } + return nil +} + +var File_OpActivityStateNotify_proto protoreflect.FileDescriptor + +var file_OpActivityStateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x4f, + 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x67, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x15, + 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x44, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1b, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x1c, 0x6f, + 0x70, 0x65, 0x6e, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, + 0x67, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x18, 0x6f, 0x70, 0x65, 0x6e, + 0x65, 0x64, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpActivityStateNotify_proto_rawDescOnce sync.Once + file_OpActivityStateNotify_proto_rawDescData = file_OpActivityStateNotify_proto_rawDesc +) + +func file_OpActivityStateNotify_proto_rawDescGZIP() []byte { + file_OpActivityStateNotify_proto_rawDescOnce.Do(func() { + file_OpActivityStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpActivityStateNotify_proto_rawDescData) + }) + return file_OpActivityStateNotify_proto_rawDescData +} + +var file_OpActivityStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpActivityStateNotify_proto_goTypes = []interface{}{ + (*OpActivityStateNotify)(nil), // 0: OpActivityStateNotify + (*OpActivityTagBriefInfo)(nil), // 1: OpActivityTagBriefInfo +} +var file_OpActivityStateNotify_proto_depIdxs = []int32{ + 1, // 0: OpActivityStateNotify.opened_op_activity_info_list:type_name -> OpActivityTagBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpActivityStateNotify_proto_init() } +func file_OpActivityStateNotify_proto_init() { + if File_OpActivityStateNotify_proto != nil { + return + } + file_OpActivityTagBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_OpActivityStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpActivityStateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpActivityStateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpActivityStateNotify_proto_goTypes, + DependencyIndexes: file_OpActivityStateNotify_proto_depIdxs, + MessageInfos: file_OpActivityStateNotify_proto_msgTypes, + }.Build() + File_OpActivityStateNotify_proto = out.File + file_OpActivityStateNotify_proto_rawDesc = nil + file_OpActivityStateNotify_proto_goTypes = nil + file_OpActivityStateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpActivityStateNotify.proto b/gate-hk4e-api/proto/OpActivityStateNotify.proto new file mode 100644 index 00000000..c35a91d4 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityStateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OpActivityTagBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2572 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpActivityStateNotify { + repeated uint32 finished_bonus_activity_id_list = 14; + repeated OpActivityTagBriefInfo opened_op_activity_info_list = 13; +} diff --git a/gate-hk4e-api/proto/OpActivityTagBriefInfo.pb.go b/gate-hk4e-api/proto/OpActivityTagBriefInfo.pb.go new file mode 100644 index 00000000..11b8760f --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityTagBriefInfo.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpActivityTagBriefInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OpActivityTagBriefInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + HasReward bool `protobuf:"varint,3,opt,name=has_reward,json=hasReward,proto3" json:"has_reward,omitempty"` + OpActivityType uint32 `protobuf:"varint,11,opt,name=op_activity_type,json=opActivityType,proto3" json:"op_activity_type,omitempty"` +} + +func (x *OpActivityTagBriefInfo) Reset() { + *x = OpActivityTagBriefInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_OpActivityTagBriefInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpActivityTagBriefInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpActivityTagBriefInfo) ProtoMessage() {} + +func (x *OpActivityTagBriefInfo) ProtoReflect() protoreflect.Message { + mi := &file_OpActivityTagBriefInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpActivityTagBriefInfo.ProtoReflect.Descriptor instead. +func (*OpActivityTagBriefInfo) Descriptor() ([]byte, []int) { + return file_OpActivityTagBriefInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *OpActivityTagBriefInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *OpActivityTagBriefInfo) GetHasReward() bool { + if x != nil { + return x.HasReward + } + return false +} + +func (x *OpActivityTagBriefInfo) GetOpActivityType() uint32 { + if x != nil { + return x.OpActivityType + } + return 0 +} + +var File_OpActivityTagBriefInfo_proto protoreflect.FileDescriptor + +var file_OpActivityTagBriefInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x67, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, + 0x0a, 0x16, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x61, 0x67, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x61, 0x73, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6f, 0x70, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x6f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_OpActivityTagBriefInfo_proto_rawDescOnce sync.Once + file_OpActivityTagBriefInfo_proto_rawDescData = file_OpActivityTagBriefInfo_proto_rawDesc +) + +func file_OpActivityTagBriefInfo_proto_rawDescGZIP() []byte { + file_OpActivityTagBriefInfo_proto_rawDescOnce.Do(func() { + file_OpActivityTagBriefInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpActivityTagBriefInfo_proto_rawDescData) + }) + return file_OpActivityTagBriefInfo_proto_rawDescData +} + +var file_OpActivityTagBriefInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpActivityTagBriefInfo_proto_goTypes = []interface{}{ + (*OpActivityTagBriefInfo)(nil), // 0: OpActivityTagBriefInfo +} +var file_OpActivityTagBriefInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_OpActivityTagBriefInfo_proto_init() } +func file_OpActivityTagBriefInfo_proto_init() { + if File_OpActivityTagBriefInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OpActivityTagBriefInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpActivityTagBriefInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpActivityTagBriefInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpActivityTagBriefInfo_proto_goTypes, + DependencyIndexes: file_OpActivityTagBriefInfo_proto_depIdxs, + MessageInfos: file_OpActivityTagBriefInfo_proto_msgTypes, + }.Build() + File_OpActivityTagBriefInfo_proto = out.File + file_OpActivityTagBriefInfo_proto_rawDesc = nil + file_OpActivityTagBriefInfo_proto_goTypes = nil + file_OpActivityTagBriefInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpActivityTagBriefInfo.proto b/gate-hk4e-api/proto/OpActivityTagBriefInfo.proto new file mode 100644 index 00000000..70dfa871 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityTagBriefInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message OpActivityTagBriefInfo { + uint32 config_id = 2; + bool has_reward = 3; + uint32 op_activity_type = 11; +} diff --git a/gate-hk4e-api/proto/OpActivityUpdateNotify.pb.go b/gate-hk4e-api/proto/OpActivityUpdateNotify.pb.go new file mode 100644 index 00000000..4eee5e6b --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityUpdateNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpActivityUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5135 +// EnetChannelId: 0 +// EnetIsReliable: true +type OpActivityUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpActivityInfo *OpActivityInfo `protobuf:"bytes,6,opt,name=op_activity_info,json=opActivityInfo,proto3" json:"op_activity_info,omitempty"` +} + +func (x *OpActivityUpdateNotify) Reset() { + *x = OpActivityUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpActivityUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpActivityUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpActivityUpdateNotify) ProtoMessage() {} + +func (x *OpActivityUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpActivityUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpActivityUpdateNotify.ProtoReflect.Descriptor instead. +func (*OpActivityUpdateNotify) Descriptor() ([]byte, []int) { + return file_OpActivityUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpActivityUpdateNotify) GetOpActivityInfo() *OpActivityInfo { + if x != nil { + return x.OpActivityInfo + } + return nil +} + +var File_OpActivityUpdateNotify_proto protoreflect.FileDescriptor + +var file_OpActivityUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, + 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x16, 0x4f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, + 0x0a, 0x10, 0x6f, 0x70, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4f, 0x70, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x6f, 0x70, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpActivityUpdateNotify_proto_rawDescOnce sync.Once + file_OpActivityUpdateNotify_proto_rawDescData = file_OpActivityUpdateNotify_proto_rawDesc +) + +func file_OpActivityUpdateNotify_proto_rawDescGZIP() []byte { + file_OpActivityUpdateNotify_proto_rawDescOnce.Do(func() { + file_OpActivityUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpActivityUpdateNotify_proto_rawDescData) + }) + return file_OpActivityUpdateNotify_proto_rawDescData +} + +var file_OpActivityUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpActivityUpdateNotify_proto_goTypes = []interface{}{ + (*OpActivityUpdateNotify)(nil), // 0: OpActivityUpdateNotify + (*OpActivityInfo)(nil), // 1: OpActivityInfo +} +var file_OpActivityUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: OpActivityUpdateNotify.op_activity_info:type_name -> OpActivityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpActivityUpdateNotify_proto_init() } +func file_OpActivityUpdateNotify_proto_init() { + if File_OpActivityUpdateNotify_proto != nil { + return + } + file_OpActivityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_OpActivityUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpActivityUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpActivityUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpActivityUpdateNotify_proto_goTypes, + DependencyIndexes: file_OpActivityUpdateNotify_proto_depIdxs, + MessageInfos: file_OpActivityUpdateNotify_proto_msgTypes, + }.Build() + File_OpActivityUpdateNotify_proto = out.File + file_OpActivityUpdateNotify_proto_rawDesc = nil + file_OpActivityUpdateNotify_proto_goTypes = nil + file_OpActivityUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpActivityUpdateNotify.proto b/gate-hk4e-api/proto/OpActivityUpdateNotify.proto new file mode 100644 index 00000000..6b1694e7 --- /dev/null +++ b/gate-hk4e-api/proto/OpActivityUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OpActivityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5135 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpActivityUpdateNotify { + OpActivityInfo op_activity_info = 6; +} diff --git a/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.pb.go b/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.pb.go new file mode 100644 index 00000000..88f45eae --- /dev/null +++ b/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpenBlossomCircleCampGuideNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type OpenBlossomCircleCampGuideNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefreshId uint32 `protobuf:"varint,7,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"` + CircleCampIdList []uint32 `protobuf:"varint,11,rep,packed,name=circle_camp_id_list,json=circleCampIdList,proto3" json:"circle_camp_id_list,omitempty"` +} + +func (x *OpenBlossomCircleCampGuideNotify) Reset() { + *x = OpenBlossomCircleCampGuideNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpenBlossomCircleCampGuideNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpenBlossomCircleCampGuideNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpenBlossomCircleCampGuideNotify) ProtoMessage() {} + +func (x *OpenBlossomCircleCampGuideNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpenBlossomCircleCampGuideNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpenBlossomCircleCampGuideNotify.ProtoReflect.Descriptor instead. +func (*OpenBlossomCircleCampGuideNotify) Descriptor() ([]byte, []int) { + return file_OpenBlossomCircleCampGuideNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpenBlossomCircleCampGuideNotify) GetRefreshId() uint32 { + if x != nil { + return x.RefreshId + } + return 0 +} + +func (x *OpenBlossomCircleCampGuideNotify) GetCircleCampIdList() []uint32 { + if x != nil { + return x.CircleCampIdList + } + return nil +} + +var File_OpenBlossomCircleCampGuideNotify_proto protoreflect.FileDescriptor + +var file_OpenBlossomCircleCampGuideNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x69, 0x72, + 0x63, 0x6c, 0x65, 0x43, 0x61, 0x6d, 0x70, 0x47, 0x75, 0x69, 0x64, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x20, 0x4f, 0x70, 0x65, 0x6e, + 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x43, 0x61, 0x6d, + 0x70, 0x47, 0x75, 0x69, 0x64, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x63, + 0x69, 0x72, 0x63, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, + 0x43, 0x61, 0x6d, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpenBlossomCircleCampGuideNotify_proto_rawDescOnce sync.Once + file_OpenBlossomCircleCampGuideNotify_proto_rawDescData = file_OpenBlossomCircleCampGuideNotify_proto_rawDesc +) + +func file_OpenBlossomCircleCampGuideNotify_proto_rawDescGZIP() []byte { + file_OpenBlossomCircleCampGuideNotify_proto_rawDescOnce.Do(func() { + file_OpenBlossomCircleCampGuideNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpenBlossomCircleCampGuideNotify_proto_rawDescData) + }) + return file_OpenBlossomCircleCampGuideNotify_proto_rawDescData +} + +var file_OpenBlossomCircleCampGuideNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OpenBlossomCircleCampGuideNotify_proto_goTypes = []interface{}{ + (*OpenBlossomCircleCampGuideNotify)(nil), // 0: OpenBlossomCircleCampGuideNotify +} +var file_OpenBlossomCircleCampGuideNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_OpenBlossomCircleCampGuideNotify_proto_init() } +func file_OpenBlossomCircleCampGuideNotify_proto_init() { + if File_OpenBlossomCircleCampGuideNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OpenBlossomCircleCampGuideNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenBlossomCircleCampGuideNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpenBlossomCircleCampGuideNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpenBlossomCircleCampGuideNotify_proto_goTypes, + DependencyIndexes: file_OpenBlossomCircleCampGuideNotify_proto_depIdxs, + MessageInfos: file_OpenBlossomCircleCampGuideNotify_proto_msgTypes, + }.Build() + File_OpenBlossomCircleCampGuideNotify_proto = out.File + file_OpenBlossomCircleCampGuideNotify_proto_rawDesc = nil + file_OpenBlossomCircleCampGuideNotify_proto_goTypes = nil + file_OpenBlossomCircleCampGuideNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.proto b/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.proto new file mode 100644 index 00000000..be37fc08 --- /dev/null +++ b/gate-hk4e-api/proto/OpenBlossomCircleCampGuideNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message OpenBlossomCircleCampGuideNotify { + uint32 refresh_id = 7; + repeated uint32 circle_camp_id_list = 11; +} diff --git a/gate-hk4e-api/proto/OpenStateChangeNotify.pb.go b/gate-hk4e-api/proto/OpenStateChangeNotify.pb.go new file mode 100644 index 00000000..974e4d08 --- /dev/null +++ b/gate-hk4e-api/proto/OpenStateChangeNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpenStateChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 127 +// EnetChannelId: 0 +// EnetIsReliable: true +type OpenStateChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenStateMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=open_state_map,json=openStateMap,proto3" json:"open_state_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *OpenStateChangeNotify) Reset() { + *x = OpenStateChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpenStateChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpenStateChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpenStateChangeNotify) ProtoMessage() {} + +func (x *OpenStateChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpenStateChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpenStateChangeNotify.ProtoReflect.Descriptor instead. +func (*OpenStateChangeNotify) Descriptor() ([]byte, []int) { + return file_OpenStateChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpenStateChangeNotify) GetOpenStateMap() map[uint32]uint32 { + if x != nil { + return x.OpenStateMap + } + return nil +} + +var File_OpenStateChangeNotify_proto protoreflect.FileDescriptor + +var file_OpenStateChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, + 0x0a, 0x15, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4e, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpenStateChangeNotify_proto_rawDescOnce sync.Once + file_OpenStateChangeNotify_proto_rawDescData = file_OpenStateChangeNotify_proto_rawDesc +) + +func file_OpenStateChangeNotify_proto_rawDescGZIP() []byte { + file_OpenStateChangeNotify_proto_rawDescOnce.Do(func() { + file_OpenStateChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpenStateChangeNotify_proto_rawDescData) + }) + return file_OpenStateChangeNotify_proto_rawDescData +} + +var file_OpenStateChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_OpenStateChangeNotify_proto_goTypes = []interface{}{ + (*OpenStateChangeNotify)(nil), // 0: OpenStateChangeNotify + nil, // 1: OpenStateChangeNotify.OpenStateMapEntry +} +var file_OpenStateChangeNotify_proto_depIdxs = []int32{ + 1, // 0: OpenStateChangeNotify.open_state_map:type_name -> OpenStateChangeNotify.OpenStateMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpenStateChangeNotify_proto_init() } +func file_OpenStateChangeNotify_proto_init() { + if File_OpenStateChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OpenStateChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenStateChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpenStateChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpenStateChangeNotify_proto_goTypes, + DependencyIndexes: file_OpenStateChangeNotify_proto_depIdxs, + MessageInfos: file_OpenStateChangeNotify_proto_msgTypes, + }.Build() + File_OpenStateChangeNotify_proto = out.File + file_OpenStateChangeNotify_proto_rawDesc = nil + file_OpenStateChangeNotify_proto_goTypes = nil + file_OpenStateChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpenStateChangeNotify.proto b/gate-hk4e-api/proto/OpenStateChangeNotify.proto new file mode 100644 index 00000000..9e19388d --- /dev/null +++ b/gate-hk4e-api/proto/OpenStateChangeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 127 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpenStateChangeNotify { + map open_state_map = 4; +} diff --git a/gate-hk4e-api/proto/OpenStateUpdateNotify.pb.go b/gate-hk4e-api/proto/OpenStateUpdateNotify.pb.go new file mode 100644 index 00000000..e292ea50 --- /dev/null +++ b/gate-hk4e-api/proto/OpenStateUpdateNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OpenStateUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 193 +// EnetChannelId: 0 +// EnetIsReliable: true +type OpenStateUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenStateMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=open_state_map,json=openStateMap,proto3" json:"open_state_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *OpenStateUpdateNotify) Reset() { + *x = OpenStateUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OpenStateUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OpenStateUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OpenStateUpdateNotify) ProtoMessage() {} + +func (x *OpenStateUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_OpenStateUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OpenStateUpdateNotify.ProtoReflect.Descriptor instead. +func (*OpenStateUpdateNotify) Descriptor() ([]byte, []int) { + return file_OpenStateUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OpenStateUpdateNotify) GetOpenStateMap() map[uint32]uint32 { + if x != nil { + return x.OpenStateMap + } + return nil +} + +var File_OpenStateUpdateNotify_proto protoreflect.FileDescriptor + +var file_OpenStateUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, + 0x0a, 0x15, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4e, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OpenStateUpdateNotify_proto_rawDescOnce sync.Once + file_OpenStateUpdateNotify_proto_rawDescData = file_OpenStateUpdateNotify_proto_rawDesc +) + +func file_OpenStateUpdateNotify_proto_rawDescGZIP() []byte { + file_OpenStateUpdateNotify_proto_rawDescOnce.Do(func() { + file_OpenStateUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OpenStateUpdateNotify_proto_rawDescData) + }) + return file_OpenStateUpdateNotify_proto_rawDescData +} + +var file_OpenStateUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_OpenStateUpdateNotify_proto_goTypes = []interface{}{ + (*OpenStateUpdateNotify)(nil), // 0: OpenStateUpdateNotify + nil, // 1: OpenStateUpdateNotify.OpenStateMapEntry +} +var file_OpenStateUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: OpenStateUpdateNotify.open_state_map:type_name -> OpenStateUpdateNotify.OpenStateMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OpenStateUpdateNotify_proto_init() } +func file_OpenStateUpdateNotify_proto_init() { + if File_OpenStateUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OpenStateUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenStateUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OpenStateUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OpenStateUpdateNotify_proto_goTypes, + DependencyIndexes: file_OpenStateUpdateNotify_proto_depIdxs, + MessageInfos: file_OpenStateUpdateNotify_proto_msgTypes, + }.Build() + File_OpenStateUpdateNotify_proto = out.File + file_OpenStateUpdateNotify_proto_rawDesc = nil + file_OpenStateUpdateNotify_proto_goTypes = nil + file_OpenStateUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OpenStateUpdateNotify.proto b/gate-hk4e-api/proto/OpenStateUpdateNotify.proto new file mode 100644 index 00000000..2d13645d --- /dev/null +++ b/gate-hk4e-api/proto/OpenStateUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 193 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpenStateUpdateNotify { + map open_state_map = 6; +} diff --git a/gate-hk4e-api/proto/OrderDisplayNotify.pb.go b/gate-hk4e-api/proto/OrderDisplayNotify.pb.go new file mode 100644 index 00000000..792b95d5 --- /dev/null +++ b/gate-hk4e-api/proto/OrderDisplayNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OrderDisplayNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type OrderDisplayNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderId uint32 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` +} + +func (x *OrderDisplayNotify) Reset() { + *x = OrderDisplayNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OrderDisplayNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OrderDisplayNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OrderDisplayNotify) ProtoMessage() {} + +func (x *OrderDisplayNotify) ProtoReflect() protoreflect.Message { + mi := &file_OrderDisplayNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OrderDisplayNotify.ProtoReflect.Descriptor instead. +func (*OrderDisplayNotify) Descriptor() ([]byte, []int) { + return file_OrderDisplayNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OrderDisplayNotify) GetOrderId() uint32 { + if x != nil { + return x.OrderId + } + return 0 +} + +var File_OrderDisplayNotify_proto protoreflect.FileDescriptor + +var file_OrderDisplayNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x12, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OrderDisplayNotify_proto_rawDescOnce sync.Once + file_OrderDisplayNotify_proto_rawDescData = file_OrderDisplayNotify_proto_rawDesc +) + +func file_OrderDisplayNotify_proto_rawDescGZIP() []byte { + file_OrderDisplayNotify_proto_rawDescOnce.Do(func() { + file_OrderDisplayNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OrderDisplayNotify_proto_rawDescData) + }) + return file_OrderDisplayNotify_proto_rawDescData +} + +var file_OrderDisplayNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OrderDisplayNotify_proto_goTypes = []interface{}{ + (*OrderDisplayNotify)(nil), // 0: OrderDisplayNotify +} +var file_OrderDisplayNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_OrderDisplayNotify_proto_init() } +func file_OrderDisplayNotify_proto_init() { + if File_OrderDisplayNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OrderDisplayNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrderDisplayNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OrderDisplayNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OrderDisplayNotify_proto_goTypes, + DependencyIndexes: file_OrderDisplayNotify_proto_depIdxs, + MessageInfos: file_OrderDisplayNotify_proto_msgTypes, + }.Build() + File_OrderDisplayNotify_proto = out.File + file_OrderDisplayNotify_proto_rawDesc = nil + file_OrderDisplayNotify_proto_goTypes = nil + file_OrderDisplayNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OrderDisplayNotify.proto b/gate-hk4e-api/proto/OrderDisplayNotify.proto new file mode 100644 index 00000000..0dccf158 --- /dev/null +++ b/gate-hk4e-api/proto/OrderDisplayNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message OrderDisplayNotify { + uint32 order_id = 1; +} diff --git a/gate-hk4e-api/proto/OrderFinishNotify.pb.go b/gate-hk4e-api/proto/OrderFinishNotify.pb.go new file mode 100644 index 00000000..450f6b3a --- /dev/null +++ b/gate-hk4e-api/proto/OrderFinishNotify.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OrderFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4125 +// EnetChannelId: 0 +// EnetIsReliable: true +type OrderFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderId uint32 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` + CardProductRemainDays uint32 `protobuf:"varint,15,opt,name=card_product_remain_days,json=cardProductRemainDays,proto3" json:"card_product_remain_days,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,9,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + AddMcoin uint32 `protobuf:"varint,7,opt,name=add_mcoin,json=addMcoin,proto3" json:"add_mcoin,omitempty"` + ProductId string `protobuf:"bytes,6,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` +} + +func (x *OrderFinishNotify) Reset() { + *x = OrderFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OrderFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OrderFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OrderFinishNotify) ProtoMessage() {} + +func (x *OrderFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_OrderFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OrderFinishNotify.ProtoReflect.Descriptor instead. +func (*OrderFinishNotify) Descriptor() ([]byte, []int) { + return file_OrderFinishNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OrderFinishNotify) GetOrderId() uint32 { + if x != nil { + return x.OrderId + } + return 0 +} + +func (x *OrderFinishNotify) GetCardProductRemainDays() uint32 { + if x != nil { + return x.CardProductRemainDays + } + return 0 +} + +func (x *OrderFinishNotify) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *OrderFinishNotify) GetAddMcoin() uint32 { + if x != nil { + return x.AddMcoin + } + return 0 +} + +func (x *OrderFinishNotify) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +var File_OrderFinishNotify_proto protoreflect.FileDescriptor + +var file_OrderFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x01, 0x0a, 0x11, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x63, + 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x61, + 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, + 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, + 0x44, 0x61, 0x79, 0x73, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x64, 0x64, 0x5f, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x61, 0x64, 0x64, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OrderFinishNotify_proto_rawDescOnce sync.Once + file_OrderFinishNotify_proto_rawDescData = file_OrderFinishNotify_proto_rawDesc +) + +func file_OrderFinishNotify_proto_rawDescGZIP() []byte { + file_OrderFinishNotify_proto_rawDescOnce.Do(func() { + file_OrderFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OrderFinishNotify_proto_rawDescData) + }) + return file_OrderFinishNotify_proto_rawDescData +} + +var file_OrderFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OrderFinishNotify_proto_goTypes = []interface{}{ + (*OrderFinishNotify)(nil), // 0: OrderFinishNotify + (*ItemParam)(nil), // 1: ItemParam +} +var file_OrderFinishNotify_proto_depIdxs = []int32{ + 1, // 0: OrderFinishNotify.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OrderFinishNotify_proto_init() } +func file_OrderFinishNotify_proto_init() { + if File_OrderFinishNotify_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_OrderFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrderFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OrderFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OrderFinishNotify_proto_goTypes, + DependencyIndexes: file_OrderFinishNotify_proto_depIdxs, + MessageInfos: file_OrderFinishNotify_proto_msgTypes, + }.Build() + File_OrderFinishNotify_proto = out.File + file_OrderFinishNotify_proto_rawDesc = nil + file_OrderFinishNotify_proto_goTypes = nil + file_OrderFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OrderFinishNotify.proto b/gate-hk4e-api/proto/OrderFinishNotify.proto new file mode 100644 index 00000000..9796b992 --- /dev/null +++ b/gate-hk4e-api/proto/OrderFinishNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 4125 +// EnetChannelId: 0 +// EnetIsReliable: true +message OrderFinishNotify { + uint32 order_id = 3; + uint32 card_product_remain_days = 15; + repeated ItemParam item_list = 9; + uint32 add_mcoin = 7; + string product_id = 6; +} diff --git a/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.pb.go b/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.pb.go new file mode 100644 index 00000000..96c2bc60 --- /dev/null +++ b/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.pb.go @@ -0,0 +1,231 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: OtherPlayerEnterHomeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type OtherPlayerEnterHomeNotify_Reason int32 + +const ( + OtherPlayerEnterHomeNotify_REASON_INVALID OtherPlayerEnterHomeNotify_Reason = 0 + OtherPlayerEnterHomeNotify_REASON_ENTER OtherPlayerEnterHomeNotify_Reason = 1 + OtherPlayerEnterHomeNotify_REASON_LEAVE OtherPlayerEnterHomeNotify_Reason = 2 +) + +// Enum value maps for OtherPlayerEnterHomeNotify_Reason. +var ( + OtherPlayerEnterHomeNotify_Reason_name = map[int32]string{ + 0: "REASON_INVALID", + 1: "REASON_ENTER", + 2: "REASON_LEAVE", + } + OtherPlayerEnterHomeNotify_Reason_value = map[string]int32{ + "REASON_INVALID": 0, + "REASON_ENTER": 1, + "REASON_LEAVE": 2, + } +) + +func (x OtherPlayerEnterHomeNotify_Reason) Enum() *OtherPlayerEnterHomeNotify_Reason { + p := new(OtherPlayerEnterHomeNotify_Reason) + *p = x + return p +} + +func (x OtherPlayerEnterHomeNotify_Reason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OtherPlayerEnterHomeNotify_Reason) Descriptor() protoreflect.EnumDescriptor { + return file_OtherPlayerEnterHomeNotify_proto_enumTypes[0].Descriptor() +} + +func (OtherPlayerEnterHomeNotify_Reason) Type() protoreflect.EnumType { + return &file_OtherPlayerEnterHomeNotify_proto_enumTypes[0] +} + +func (x OtherPlayerEnterHomeNotify_Reason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OtherPlayerEnterHomeNotify_Reason.Descriptor instead. +func (OtherPlayerEnterHomeNotify_Reason) EnumDescriptor() ([]byte, []int) { + return file_OtherPlayerEnterHomeNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 4628 +// EnetChannelId: 0 +// EnetIsReliable: true +type OtherPlayerEnterHomeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` + Reason OtherPlayerEnterHomeNotify_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=OtherPlayerEnterHomeNotify_Reason" json:"reason,omitempty"` +} + +func (x *OtherPlayerEnterHomeNotify) Reset() { + *x = OtherPlayerEnterHomeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_OtherPlayerEnterHomeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OtherPlayerEnterHomeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OtherPlayerEnterHomeNotify) ProtoMessage() {} + +func (x *OtherPlayerEnterHomeNotify) ProtoReflect() protoreflect.Message { + mi := &file_OtherPlayerEnterHomeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OtherPlayerEnterHomeNotify.ProtoReflect.Descriptor instead. +func (*OtherPlayerEnterHomeNotify) Descriptor() ([]byte, []int) { + return file_OtherPlayerEnterHomeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *OtherPlayerEnterHomeNotify) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *OtherPlayerEnterHomeNotify) GetReason() OtherPlayerEnterHomeNotify_Reason { + if x != nil { + return x.Reason + } + return OtherPlayerEnterHomeNotify_REASON_INVALID +} + +var File_OtherPlayerEnterHomeNotify_proto protoreflect.FileDescriptor + +var file_OtherPlayerEnterHomeNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x1a, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, + 0x4f, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x06, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_OtherPlayerEnterHomeNotify_proto_rawDescOnce sync.Once + file_OtherPlayerEnterHomeNotify_proto_rawDescData = file_OtherPlayerEnterHomeNotify_proto_rawDesc +) + +func file_OtherPlayerEnterHomeNotify_proto_rawDescGZIP() []byte { + file_OtherPlayerEnterHomeNotify_proto_rawDescOnce.Do(func() { + file_OtherPlayerEnterHomeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_OtherPlayerEnterHomeNotify_proto_rawDescData) + }) + return file_OtherPlayerEnterHomeNotify_proto_rawDescData +} + +var file_OtherPlayerEnterHomeNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_OtherPlayerEnterHomeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_OtherPlayerEnterHomeNotify_proto_goTypes = []interface{}{ + (OtherPlayerEnterHomeNotify_Reason)(0), // 0: OtherPlayerEnterHomeNotify.Reason + (*OtherPlayerEnterHomeNotify)(nil), // 1: OtherPlayerEnterHomeNotify +} +var file_OtherPlayerEnterHomeNotify_proto_depIdxs = []int32{ + 0, // 0: OtherPlayerEnterHomeNotify.reason:type_name -> OtherPlayerEnterHomeNotify.Reason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_OtherPlayerEnterHomeNotify_proto_init() } +func file_OtherPlayerEnterHomeNotify_proto_init() { + if File_OtherPlayerEnterHomeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_OtherPlayerEnterHomeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OtherPlayerEnterHomeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_OtherPlayerEnterHomeNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_OtherPlayerEnterHomeNotify_proto_goTypes, + DependencyIndexes: file_OtherPlayerEnterHomeNotify_proto_depIdxs, + EnumInfos: file_OtherPlayerEnterHomeNotify_proto_enumTypes, + MessageInfos: file_OtherPlayerEnterHomeNotify_proto_msgTypes, + }.Build() + File_OtherPlayerEnterHomeNotify_proto = out.File + file_OtherPlayerEnterHomeNotify_proto_rawDesc = nil + file_OtherPlayerEnterHomeNotify_proto_goTypes = nil + file_OtherPlayerEnterHomeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.proto b/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.proto new file mode 100644 index 00000000..60b0d959 --- /dev/null +++ b/gate-hk4e-api/proto/OtherPlayerEnterHomeNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4628 +// EnetChannelId: 0 +// EnetIsReliable: true +message OtherPlayerEnterHomeNotify { + string nickname = 7; + Reason reason = 3; + + enum Reason { + REASON_INVALID = 0; + REASON_ENTER = 1; + REASON_LEAVE = 2; + } +} diff --git a/gate-hk4e-api/proto/PBNavMeshPoly.pb.go b/gate-hk4e-api/proto/PBNavMeshPoly.pb.go new file mode 100644 index 00000000..77059686 --- /dev/null +++ b/gate-hk4e-api/proto/PBNavMeshPoly.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PBNavMeshPoly.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PBNavMeshPoly_EdgeType int32 + +const ( + PBNavMeshPoly_EDGE_TYPE_INNER PBNavMeshPoly_EdgeType = 0 + PBNavMeshPoly_EDGE_TYPE_TILE_BOUND PBNavMeshPoly_EdgeType = 1 + PBNavMeshPoly_EDGE_TYPE_TILE_BOUND_UNCONNECT PBNavMeshPoly_EdgeType = 2 + PBNavMeshPoly_EDGE_TYPE_Unk2700_BFOKBOEBPJF PBNavMeshPoly_EdgeType = 3 +) + +// Enum value maps for PBNavMeshPoly_EdgeType. +var ( + PBNavMeshPoly_EdgeType_name = map[int32]string{ + 0: "EDGE_TYPE_INNER", + 1: "EDGE_TYPE_TILE_BOUND", + 2: "EDGE_TYPE_TILE_BOUND_UNCONNECT", + 3: "EDGE_TYPE_Unk2700_BFOKBOEBPJF", + } + PBNavMeshPoly_EdgeType_value = map[string]int32{ + "EDGE_TYPE_INNER": 0, + "EDGE_TYPE_TILE_BOUND": 1, + "EDGE_TYPE_TILE_BOUND_UNCONNECT": 2, + "EDGE_TYPE_Unk2700_BFOKBOEBPJF": 3, + } +) + +func (x PBNavMeshPoly_EdgeType) Enum() *PBNavMeshPoly_EdgeType { + p := new(PBNavMeshPoly_EdgeType) + *p = x + return p +} + +func (x PBNavMeshPoly_EdgeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PBNavMeshPoly_EdgeType) Descriptor() protoreflect.EnumDescriptor { + return file_PBNavMeshPoly_proto_enumTypes[0].Descriptor() +} + +func (PBNavMeshPoly_EdgeType) Type() protoreflect.EnumType { + return &file_PBNavMeshPoly_proto_enumTypes[0] +} + +func (x PBNavMeshPoly_EdgeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PBNavMeshPoly_EdgeType.Descriptor instead. +func (PBNavMeshPoly_EdgeType) EnumDescriptor() ([]byte, []int) { + return file_PBNavMeshPoly_proto_rawDescGZIP(), []int{0, 0} +} + +type PBNavMeshPoly struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EdgeTypes []PBNavMeshPoly_EdgeType `protobuf:"varint,10,rep,packed,name=edge_types,json=edgeTypes,proto3,enum=PBNavMeshPoly_EdgeType" json:"edge_types,omitempty"` + Area int32 `protobuf:"varint,6,opt,name=area,proto3" json:"area,omitempty"` + Vects []int32 `protobuf:"varint,7,rep,packed,name=vects,proto3" json:"vects,omitempty"` +} + +func (x *PBNavMeshPoly) Reset() { + *x = PBNavMeshPoly{} + if protoimpl.UnsafeEnabled { + mi := &file_PBNavMeshPoly_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PBNavMeshPoly) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBNavMeshPoly) ProtoMessage() {} + +func (x *PBNavMeshPoly) ProtoReflect() protoreflect.Message { + mi := &file_PBNavMeshPoly_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBNavMeshPoly.ProtoReflect.Descriptor instead. +func (*PBNavMeshPoly) Descriptor() ([]byte, []int) { + return file_PBNavMeshPoly_proto_rawDescGZIP(), []int{0} +} + +func (x *PBNavMeshPoly) GetEdgeTypes() []PBNavMeshPoly_EdgeType { + if x != nil { + return x.EdgeTypes + } + return nil +} + +func (x *PBNavMeshPoly) GetArea() int32 { + if x != nil { + return x.Area + } + return 0 +} + +func (x *PBNavMeshPoly) GetVects() []int32 { + if x != nil { + return x.Vects + } + return nil +} + +var File_PBNavMeshPoly_proto protoreflect.FileDescriptor + +var file_PBNavMeshPoly_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x50, 0x6f, 0x6c, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x01, 0x0a, 0x0d, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, + 0x65, 0x73, 0x68, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x64, 0x67, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x50, 0x42, + 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x50, 0x6f, 0x6c, 0x79, 0x2e, 0x45, 0x64, 0x67, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x64, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x61, + 0x72, 0x65, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x05, 0x52, 0x05, 0x76, 0x65, 0x63, 0x74, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x08, 0x45, 0x64, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x44, 0x47, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x45, + 0x44, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x42, 0x4f, + 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x45, 0x44, 0x47, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x55, 0x4e, + 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x44, 0x47, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x46, 0x4f, 0x4b, 0x42, 0x4f, 0x45, 0x42, 0x50, 0x4a, 0x46, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PBNavMeshPoly_proto_rawDescOnce sync.Once + file_PBNavMeshPoly_proto_rawDescData = file_PBNavMeshPoly_proto_rawDesc +) + +func file_PBNavMeshPoly_proto_rawDescGZIP() []byte { + file_PBNavMeshPoly_proto_rawDescOnce.Do(func() { + file_PBNavMeshPoly_proto_rawDescData = protoimpl.X.CompressGZIP(file_PBNavMeshPoly_proto_rawDescData) + }) + return file_PBNavMeshPoly_proto_rawDescData +} + +var file_PBNavMeshPoly_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PBNavMeshPoly_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PBNavMeshPoly_proto_goTypes = []interface{}{ + (PBNavMeshPoly_EdgeType)(0), // 0: PBNavMeshPoly.EdgeType + (*PBNavMeshPoly)(nil), // 1: PBNavMeshPoly +} +var file_PBNavMeshPoly_proto_depIdxs = []int32{ + 0, // 0: PBNavMeshPoly.edge_types:type_name -> PBNavMeshPoly.EdgeType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PBNavMeshPoly_proto_init() } +func file_PBNavMeshPoly_proto_init() { + if File_PBNavMeshPoly_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PBNavMeshPoly_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBNavMeshPoly); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PBNavMeshPoly_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PBNavMeshPoly_proto_goTypes, + DependencyIndexes: file_PBNavMeshPoly_proto_depIdxs, + EnumInfos: file_PBNavMeshPoly_proto_enumTypes, + MessageInfos: file_PBNavMeshPoly_proto_msgTypes, + }.Build() + File_PBNavMeshPoly_proto = out.File + file_PBNavMeshPoly_proto_rawDesc = nil + file_PBNavMeshPoly_proto_goTypes = nil + file_PBNavMeshPoly_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PBNavMeshPoly.proto b/gate-hk4e-api/proto/PBNavMeshPoly.proto new file mode 100644 index 00000000..86423972 --- /dev/null +++ b/gate-hk4e-api/proto/PBNavMeshPoly.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PBNavMeshPoly { + repeated EdgeType edge_types = 10; + int32 area = 6; + repeated int32 vects = 7; + + enum EdgeType { + EDGE_TYPE_INNER = 0; + EDGE_TYPE_TILE_BOUND = 1; + EDGE_TYPE_TILE_BOUND_UNCONNECT = 2; + EDGE_TYPE_Unk2700_BFOKBOEBPJF = 3; + } +} diff --git a/gate-hk4e-api/proto/PBNavMeshTile.pb.go b/gate-hk4e-api/proto/PBNavMeshTile.pb.go new file mode 100644 index 00000000..2703594a --- /dev/null +++ b/gate-hk4e-api/proto/PBNavMeshTile.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PBNavMeshTile.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PBNavMeshTile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Vecs []*Vector `protobuf:"bytes,4,rep,name=vecs,proto3" json:"vecs,omitempty"` + Polys []*PBNavMeshPoly `protobuf:"bytes,8,rep,name=polys,proto3" json:"polys,omitempty"` +} + +func (x *PBNavMeshTile) Reset() { + *x = PBNavMeshTile{} + if protoimpl.UnsafeEnabled { + mi := &file_PBNavMeshTile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PBNavMeshTile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBNavMeshTile) ProtoMessage() {} + +func (x *PBNavMeshTile) ProtoReflect() protoreflect.Message { + mi := &file_PBNavMeshTile_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBNavMeshTile.ProtoReflect.Descriptor instead. +func (*PBNavMeshTile) Descriptor() ([]byte, []int) { + return file_PBNavMeshTile_proto_rawDescGZIP(), []int{0} +} + +func (x *PBNavMeshTile) GetVecs() []*Vector { + if x != nil { + return x.Vecs + } + return nil +} + +func (x *PBNavMeshTile) GetPolys() []*PBNavMeshPoly { + if x != nil { + return x.Polys + } + return nil +} + +var File_PBNavMeshTile_proto protoreflect.FileDescriptor + +var file_PBNavMeshTile_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, + 0x50, 0x6f, 0x6c, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x0d, 0x50, 0x42, 0x4e, 0x61, + 0x76, 0x4d, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x76, 0x65, 0x63, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x04, 0x76, 0x65, 0x63, 0x73, 0x12, 0x24, 0x0a, 0x05, 0x70, 0x6f, 0x6c, 0x79, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x50, 0x42, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, + 0x68, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x05, 0x70, 0x6f, 0x6c, 0x79, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PBNavMeshTile_proto_rawDescOnce sync.Once + file_PBNavMeshTile_proto_rawDescData = file_PBNavMeshTile_proto_rawDesc +) + +func file_PBNavMeshTile_proto_rawDescGZIP() []byte { + file_PBNavMeshTile_proto_rawDescOnce.Do(func() { + file_PBNavMeshTile_proto_rawDescData = protoimpl.X.CompressGZIP(file_PBNavMeshTile_proto_rawDescData) + }) + return file_PBNavMeshTile_proto_rawDescData +} + +var file_PBNavMeshTile_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PBNavMeshTile_proto_goTypes = []interface{}{ + (*PBNavMeshTile)(nil), // 0: PBNavMeshTile + (*Vector)(nil), // 1: Vector + (*PBNavMeshPoly)(nil), // 2: PBNavMeshPoly +} +var file_PBNavMeshTile_proto_depIdxs = []int32{ + 1, // 0: PBNavMeshTile.vecs:type_name -> Vector + 2, // 1: PBNavMeshTile.polys:type_name -> PBNavMeshPoly + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PBNavMeshTile_proto_init() } +func file_PBNavMeshTile_proto_init() { + if File_PBNavMeshTile_proto != nil { + return + } + file_PBNavMeshPoly_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PBNavMeshTile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBNavMeshTile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PBNavMeshTile_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PBNavMeshTile_proto_goTypes, + DependencyIndexes: file_PBNavMeshTile_proto_depIdxs, + MessageInfos: file_PBNavMeshTile_proto_msgTypes, + }.Build() + File_PBNavMeshTile_proto = out.File + file_PBNavMeshTile_proto_rawDesc = nil + file_PBNavMeshTile_proto_goTypes = nil + file_PBNavMeshTile_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PBNavMeshTile.proto b/gate-hk4e-api/proto/PBNavMeshTile.proto new file mode 100644 index 00000000..ef154d3f --- /dev/null +++ b/gate-hk4e-api/proto/PBNavMeshTile.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PBNavMeshPoly.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message PBNavMeshTile { + repeated Vector vecs = 4; + repeated PBNavMeshPoly polys = 8; +} diff --git a/gate-hk4e-api/proto/PSNBlackListNotify.pb.go b/gate-hk4e-api/proto/PSNBlackListNotify.pb.go new file mode 100644 index 00000000..9f9d97a8 --- /dev/null +++ b/gate-hk4e-api/proto/PSNBlackListNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PSNBlackListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4040 +// EnetChannelId: 0 +// EnetIsReliable: true +type PSNBlackListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PsnBlacklist []*FriendBrief `protobuf:"bytes,11,rep,name=psn_blacklist,json=psnBlacklist,proto3" json:"psn_blacklist,omitempty"` +} + +func (x *PSNBlackListNotify) Reset() { + *x = PSNBlackListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PSNBlackListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PSNBlackListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PSNBlackListNotify) ProtoMessage() {} + +func (x *PSNBlackListNotify) ProtoReflect() protoreflect.Message { + mi := &file_PSNBlackListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PSNBlackListNotify.ProtoReflect.Descriptor instead. +func (*PSNBlackListNotify) Descriptor() ([]byte, []int) { + return file_PSNBlackListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PSNBlackListNotify) GetPsnBlacklist() []*FriendBrief { + if x != nil { + return x.PsnBlacklist + } + return nil +} + +var File_PSNBlackListNotify_proto protoreflect.FileDescriptor + +var file_PSNBlackListNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x53, 0x4e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, + 0x12, 0x50, 0x53, 0x4e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x0d, 0x70, 0x73, 0x6e, 0x5f, 0x62, 0x6c, 0x61, 0x63, 0x6b, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x0c, 0x70, 0x73, 0x6e, 0x42, 0x6c, 0x61, + 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PSNBlackListNotify_proto_rawDescOnce sync.Once + file_PSNBlackListNotify_proto_rawDescData = file_PSNBlackListNotify_proto_rawDesc +) + +func file_PSNBlackListNotify_proto_rawDescGZIP() []byte { + file_PSNBlackListNotify_proto_rawDescOnce.Do(func() { + file_PSNBlackListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PSNBlackListNotify_proto_rawDescData) + }) + return file_PSNBlackListNotify_proto_rawDescData +} + +var file_PSNBlackListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PSNBlackListNotify_proto_goTypes = []interface{}{ + (*PSNBlackListNotify)(nil), // 0: PSNBlackListNotify + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_PSNBlackListNotify_proto_depIdxs = []int32{ + 1, // 0: PSNBlackListNotify.psn_blacklist:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PSNBlackListNotify_proto_init() } +func file_PSNBlackListNotify_proto_init() { + if File_PSNBlackListNotify_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_PSNBlackListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PSNBlackListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PSNBlackListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PSNBlackListNotify_proto_goTypes, + DependencyIndexes: file_PSNBlackListNotify_proto_depIdxs, + MessageInfos: file_PSNBlackListNotify_proto_msgTypes, + }.Build() + File_PSNBlackListNotify_proto = out.File + file_PSNBlackListNotify_proto_rawDesc = nil + file_PSNBlackListNotify_proto_goTypes = nil + file_PSNBlackListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PSNBlackListNotify.proto b/gate-hk4e-api/proto/PSNBlackListNotify.proto new file mode 100644 index 00000000..332f4b4c --- /dev/null +++ b/gate-hk4e-api/proto/PSNBlackListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4040 +// EnetChannelId: 0 +// EnetIsReliable: true +message PSNBlackListNotify { + repeated FriendBrief psn_blacklist = 11; +} diff --git a/gate-hk4e-api/proto/PSNFriendListNotify.pb.go b/gate-hk4e-api/proto/PSNFriendListNotify.pb.go new file mode 100644 index 00000000..720a1a3b --- /dev/null +++ b/gate-hk4e-api/proto/PSNFriendListNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PSNFriendListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4087 +// EnetChannelId: 0 +// EnetIsReliable: true +type PSNFriendListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PsnFriendList []*FriendBrief `protobuf:"bytes,8,rep,name=psn_friend_list,json=psnFriendList,proto3" json:"psn_friend_list,omitempty"` +} + +func (x *PSNFriendListNotify) Reset() { + *x = PSNFriendListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PSNFriendListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PSNFriendListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PSNFriendListNotify) ProtoMessage() {} + +func (x *PSNFriendListNotify) ProtoReflect() protoreflect.Message { + mi := &file_PSNFriendListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PSNFriendListNotify.ProtoReflect.Descriptor instead. +func (*PSNFriendListNotify) Descriptor() ([]byte, []int) { + return file_PSNFriendListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PSNFriendListNotify) GetPsnFriendList() []*FriendBrief { + if x != nil { + return x.PsnFriendList + } + return nil +} + +var File_PSNFriendListNotify_proto protoreflect.FileDescriptor + +var file_PSNFriendListNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x50, 0x53, 0x4e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, + 0x0a, 0x13, 0x50, 0x53, 0x4e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x34, 0x0a, 0x0f, 0x70, 0x73, 0x6e, 0x5f, 0x66, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x0d, 0x70, 0x73, + 0x6e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PSNFriendListNotify_proto_rawDescOnce sync.Once + file_PSNFriendListNotify_proto_rawDescData = file_PSNFriendListNotify_proto_rawDesc +) + +func file_PSNFriendListNotify_proto_rawDescGZIP() []byte { + file_PSNFriendListNotify_proto_rawDescOnce.Do(func() { + file_PSNFriendListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PSNFriendListNotify_proto_rawDescData) + }) + return file_PSNFriendListNotify_proto_rawDescData +} + +var file_PSNFriendListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PSNFriendListNotify_proto_goTypes = []interface{}{ + (*PSNFriendListNotify)(nil), // 0: PSNFriendListNotify + (*FriendBrief)(nil), // 1: FriendBrief +} +var file_PSNFriendListNotify_proto_depIdxs = []int32{ + 1, // 0: PSNFriendListNotify.psn_friend_list:type_name -> FriendBrief + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PSNFriendListNotify_proto_init() } +func file_PSNFriendListNotify_proto_init() { + if File_PSNFriendListNotify_proto != nil { + return + } + file_FriendBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_PSNFriendListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PSNFriendListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PSNFriendListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PSNFriendListNotify_proto_goTypes, + DependencyIndexes: file_PSNFriendListNotify_proto_depIdxs, + MessageInfos: file_PSNFriendListNotify_proto_msgTypes, + }.Build() + File_PSNFriendListNotify_proto = out.File + file_PSNFriendListNotify_proto_rawDesc = nil + file_PSNFriendListNotify_proto_goTypes = nil + file_PSNFriendListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PSNFriendListNotify.proto b/gate-hk4e-api/proto/PSNFriendListNotify.proto new file mode 100644 index 00000000..661ebfc8 --- /dev/null +++ b/gate-hk4e-api/proto/PSNFriendListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 4087 +// EnetChannelId: 0 +// EnetIsReliable: true +message PSNFriendListNotify { + repeated FriendBrief psn_friend_list = 8; +} diff --git a/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.pb.go b/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.pb.go new file mode 100644 index 00000000..f6c7c1cb --- /dev/null +++ b/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PSPlayerApplyEnterMpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1841 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PSPlayerApplyEnterMpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetPsnId string `protobuf:"bytes,5,opt,name=target_psn_id,json=targetPsnId,proto3" json:"target_psn_id,omitempty"` +} + +func (x *PSPlayerApplyEnterMpReq) Reset() { + *x = PSPlayerApplyEnterMpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PSPlayerApplyEnterMpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PSPlayerApplyEnterMpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PSPlayerApplyEnterMpReq) ProtoMessage() {} + +func (x *PSPlayerApplyEnterMpReq) ProtoReflect() protoreflect.Message { + mi := &file_PSPlayerApplyEnterMpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PSPlayerApplyEnterMpReq.ProtoReflect.Descriptor instead. +func (*PSPlayerApplyEnterMpReq) Descriptor() ([]byte, []int) { + return file_PSPlayerApplyEnterMpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PSPlayerApplyEnterMpReq) GetTargetPsnId() string { + if x != nil { + return x.TargetPsnId + } + return "" +} + +var File_PSPlayerApplyEnterMpReq_proto protoreflect.FileDescriptor + +var file_PSPlayerApplyEnterMpReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3d, 0x0a, 0x17, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x73, 0x6e, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PSPlayerApplyEnterMpReq_proto_rawDescOnce sync.Once + file_PSPlayerApplyEnterMpReq_proto_rawDescData = file_PSPlayerApplyEnterMpReq_proto_rawDesc +) + +func file_PSPlayerApplyEnterMpReq_proto_rawDescGZIP() []byte { + file_PSPlayerApplyEnterMpReq_proto_rawDescOnce.Do(func() { + file_PSPlayerApplyEnterMpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PSPlayerApplyEnterMpReq_proto_rawDescData) + }) + return file_PSPlayerApplyEnterMpReq_proto_rawDescData +} + +var file_PSPlayerApplyEnterMpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PSPlayerApplyEnterMpReq_proto_goTypes = []interface{}{ + (*PSPlayerApplyEnterMpReq)(nil), // 0: PSPlayerApplyEnterMpReq +} +var file_PSPlayerApplyEnterMpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PSPlayerApplyEnterMpReq_proto_init() } +func file_PSPlayerApplyEnterMpReq_proto_init() { + if File_PSPlayerApplyEnterMpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PSPlayerApplyEnterMpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PSPlayerApplyEnterMpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PSPlayerApplyEnterMpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PSPlayerApplyEnterMpReq_proto_goTypes, + DependencyIndexes: file_PSPlayerApplyEnterMpReq_proto_depIdxs, + MessageInfos: file_PSPlayerApplyEnterMpReq_proto_msgTypes, + }.Build() + File_PSPlayerApplyEnterMpReq_proto = out.File + file_PSPlayerApplyEnterMpReq_proto_rawDesc = nil + file_PSPlayerApplyEnterMpReq_proto_goTypes = nil + file_PSPlayerApplyEnterMpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.proto b/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.proto new file mode 100644 index 00000000..16bcef6a --- /dev/null +++ b/gate-hk4e-api/proto/PSPlayerApplyEnterMpReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1841 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PSPlayerApplyEnterMpReq { + string target_psn_id = 5; +} diff --git a/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.pb.go b/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.pb.go new file mode 100644 index 00000000..743d7634 --- /dev/null +++ b/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PSPlayerApplyEnterMpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1842 +// EnetChannelId: 0 +// EnetIsReliable: true +type PSPlayerApplyEnterMpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetPsnId string `protobuf:"bytes,2,opt,name=target_psn_id,json=targetPsnId,proto3" json:"target_psn_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Param uint32 `protobuf:"varint,10,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *PSPlayerApplyEnterMpRsp) Reset() { + *x = PSPlayerApplyEnterMpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PSPlayerApplyEnterMpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PSPlayerApplyEnterMpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PSPlayerApplyEnterMpRsp) ProtoMessage() {} + +func (x *PSPlayerApplyEnterMpRsp) ProtoReflect() protoreflect.Message { + mi := &file_PSPlayerApplyEnterMpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PSPlayerApplyEnterMpRsp.ProtoReflect.Descriptor instead. +func (*PSPlayerApplyEnterMpRsp) Descriptor() ([]byte, []int) { + return file_PSPlayerApplyEnterMpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PSPlayerApplyEnterMpRsp) GetTargetPsnId() string { + if x != nil { + return x.TargetPsnId + } + return "" +} + +func (x *PSPlayerApplyEnterMpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PSPlayerApplyEnterMpRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_PSPlayerApplyEnterMpRsp_proto protoreflect.FileDescriptor + +var file_PSPlayerApplyEnterMpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6d, 0x0a, 0x17, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x73, 0x6e, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PSPlayerApplyEnterMpRsp_proto_rawDescOnce sync.Once + file_PSPlayerApplyEnterMpRsp_proto_rawDescData = file_PSPlayerApplyEnterMpRsp_proto_rawDesc +) + +func file_PSPlayerApplyEnterMpRsp_proto_rawDescGZIP() []byte { + file_PSPlayerApplyEnterMpRsp_proto_rawDescOnce.Do(func() { + file_PSPlayerApplyEnterMpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PSPlayerApplyEnterMpRsp_proto_rawDescData) + }) + return file_PSPlayerApplyEnterMpRsp_proto_rawDescData +} + +var file_PSPlayerApplyEnterMpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PSPlayerApplyEnterMpRsp_proto_goTypes = []interface{}{ + (*PSPlayerApplyEnterMpRsp)(nil), // 0: PSPlayerApplyEnterMpRsp +} +var file_PSPlayerApplyEnterMpRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PSPlayerApplyEnterMpRsp_proto_init() } +func file_PSPlayerApplyEnterMpRsp_proto_init() { + if File_PSPlayerApplyEnterMpRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PSPlayerApplyEnterMpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PSPlayerApplyEnterMpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PSPlayerApplyEnterMpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PSPlayerApplyEnterMpRsp_proto_goTypes, + DependencyIndexes: file_PSPlayerApplyEnterMpRsp_proto_depIdxs, + MessageInfos: file_PSPlayerApplyEnterMpRsp_proto_msgTypes, + }.Build() + File_PSPlayerApplyEnterMpRsp_proto = out.File + file_PSPlayerApplyEnterMpRsp_proto_rawDesc = nil + file_PSPlayerApplyEnterMpRsp_proto_goTypes = nil + file_PSPlayerApplyEnterMpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.proto b/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.proto new file mode 100644 index 00000000..6266d86e --- /dev/null +++ b/gate-hk4e-api/proto/PSPlayerApplyEnterMpRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1842 +// EnetChannelId: 0 +// EnetIsReliable: true +message PSPlayerApplyEnterMpRsp { + string target_psn_id = 2; + int32 retcode = 6; + uint32 param = 10; +} diff --git a/gate-hk4e-api/proto/PacketHead.pb.go b/gate-hk4e-api/proto/PacketHead.pb.go new file mode 100644 index 00000000..25beaadf --- /dev/null +++ b/gate-hk4e-api/proto/PacketHead.pb.go @@ -0,0 +1,348 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PacketHead.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PacketHead struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PacketId uint32 `protobuf:"varint,1,opt,name=packet_id,json=packetId,proto3" json:"packet_id,omitempty"` + RpcId uint32 `protobuf:"varint,2,opt,name=rpc_id,json=rpcId,proto3" json:"rpc_id,omitempty"` + ClientSequenceId uint32 `protobuf:"varint,3,opt,name=client_sequence_id,json=clientSequenceId,proto3" json:"client_sequence_id,omitempty"` + EnetChannelId uint32 `protobuf:"varint,4,opt,name=enet_channel_id,json=enetChannelId,proto3" json:"enet_channel_id,omitempty"` + EnetIsReliable uint32 `protobuf:"varint,5,opt,name=enet_is_reliable,json=enetIsReliable,proto3" json:"enet_is_reliable,omitempty"` + SentMs uint64 `protobuf:"varint,6,opt,name=sent_ms,json=sentMs,proto3" json:"sent_ms,omitempty"` + UserId uint32 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserIp uint32 `protobuf:"varint,12,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"` + UserSessionId uint32 `protobuf:"varint,13,opt,name=user_session_id,json=userSessionId,proto3" json:"user_session_id,omitempty"` + RecvTimeMs uint64 `protobuf:"varint,21,opt,name=recv_time_ms,json=recvTimeMs,proto3" json:"recv_time_ms,omitempty"` + RpcBeginTimeMs uint32 `protobuf:"varint,22,opt,name=rpc_begin_time_ms,json=rpcBeginTimeMs,proto3" json:"rpc_begin_time_ms,omitempty"` + ExtMap map[uint32]uint32 `protobuf:"bytes,23,rep,name=ext_map,json=extMap,proto3" json:"ext_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SenderAppId uint32 `protobuf:"varint,24,opt,name=sender_app_id,json=senderAppId,proto3" json:"sender_app_id,omitempty"` + SourceService uint32 `protobuf:"varint,31,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"` + TargetService uint32 `protobuf:"varint,32,opt,name=target_service,json=targetService,proto3" json:"target_service,omitempty"` + ServiceAppIdMap map[uint32]uint32 `protobuf:"bytes,33,rep,name=service_app_id_map,json=serviceAppIdMap,proto3" json:"service_app_id_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsSetGameThread bool `protobuf:"varint,34,opt,name=is_set_game_thread,json=isSetGameThread,proto3" json:"is_set_game_thread,omitempty"` + GameThreadIndex uint32 `protobuf:"varint,35,opt,name=game_thread_index,json=gameThreadIndex,proto3" json:"game_thread_index,omitempty"` +} + +func (x *PacketHead) Reset() { + *x = PacketHead{} + if protoimpl.UnsafeEnabled { + mi := &file_PacketHead_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PacketHead) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PacketHead) ProtoMessage() {} + +func (x *PacketHead) ProtoReflect() protoreflect.Message { + mi := &file_PacketHead_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PacketHead.ProtoReflect.Descriptor instead. +func (*PacketHead) Descriptor() ([]byte, []int) { + return file_PacketHead_proto_rawDescGZIP(), []int{0} +} + +func (x *PacketHead) GetPacketId() uint32 { + if x != nil { + return x.PacketId + } + return 0 +} + +func (x *PacketHead) GetRpcId() uint32 { + if x != nil { + return x.RpcId + } + return 0 +} + +func (x *PacketHead) GetClientSequenceId() uint32 { + if x != nil { + return x.ClientSequenceId + } + return 0 +} + +func (x *PacketHead) GetEnetChannelId() uint32 { + if x != nil { + return x.EnetChannelId + } + return 0 +} + +func (x *PacketHead) GetEnetIsReliable() uint32 { + if x != nil { + return x.EnetIsReliable + } + return 0 +} + +func (x *PacketHead) GetSentMs() uint64 { + if x != nil { + return x.SentMs + } + return 0 +} + +func (x *PacketHead) GetUserId() uint32 { + if x != nil { + return x.UserId + } + return 0 +} + +func (x *PacketHead) GetUserIp() uint32 { + if x != nil { + return x.UserIp + } + return 0 +} + +func (x *PacketHead) GetUserSessionId() uint32 { + if x != nil { + return x.UserSessionId + } + return 0 +} + +func (x *PacketHead) GetRecvTimeMs() uint64 { + if x != nil { + return x.RecvTimeMs + } + return 0 +} + +func (x *PacketHead) GetRpcBeginTimeMs() uint32 { + if x != nil { + return x.RpcBeginTimeMs + } + return 0 +} + +func (x *PacketHead) GetExtMap() map[uint32]uint32 { + if x != nil { + return x.ExtMap + } + return nil +} + +func (x *PacketHead) GetSenderAppId() uint32 { + if x != nil { + return x.SenderAppId + } + return 0 +} + +func (x *PacketHead) GetSourceService() uint32 { + if x != nil { + return x.SourceService + } + return 0 +} + +func (x *PacketHead) GetTargetService() uint32 { + if x != nil { + return x.TargetService + } + return 0 +} + +func (x *PacketHead) GetServiceAppIdMap() map[uint32]uint32 { + if x != nil { + return x.ServiceAppIdMap + } + return nil +} + +func (x *PacketHead) GetIsSetGameThread() bool { + if x != nil { + return x.IsSetGameThread + } + return false +} + +func (x *PacketHead) GetGameThreadIndex() uint32 { + if x != nil { + return x.GameThreadIndex + } + return 0 +} + +var File_PacketHead_proto protoreflect.FileDescriptor + +var file_PacketHead_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xcb, 0x06, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x15, + 0x0a, 0x06, 0x72, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x72, 0x70, 0x63, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, + 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x6e, + 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x65, + 0x6e, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x6e, 0x65, 0x74, 0x49, 0x73, 0x52, 0x65, 0x6c, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x12, 0x17, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x70, + 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x53, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x76, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x72, 0x65, 0x63, 0x76, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x29, 0x0a, 0x11, 0x72, 0x70, + 0x63, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x73, 0x18, + 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x70, 0x63, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x65, 0x78, 0x74, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, + 0x65, 0x61, 0x64, 0x2e, 0x45, 0x78, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x65, 0x78, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x41, 0x70, 0x70, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x1f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, + 0x61, 0x64, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x70, 0x70, 0x49, 0x64, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x70, 0x70, 0x49, 0x64, 0x4d, 0x61, 0x70, 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x73, + 0x65, 0x74, 0x5f, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x18, 0x22, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x53, 0x65, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x54, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x68, + 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x1a, 0x39, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x70, 0x70, 0x49, 0x64, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PacketHead_proto_rawDescOnce sync.Once + file_PacketHead_proto_rawDescData = file_PacketHead_proto_rawDesc +) + +func file_PacketHead_proto_rawDescGZIP() []byte { + file_PacketHead_proto_rawDescOnce.Do(func() { + file_PacketHead_proto_rawDescData = protoimpl.X.CompressGZIP(file_PacketHead_proto_rawDescData) + }) + return file_PacketHead_proto_rawDescData +} + +var file_PacketHead_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_PacketHead_proto_goTypes = []interface{}{ + (*PacketHead)(nil), // 0: PacketHead + nil, // 1: PacketHead.ExtMapEntry + nil, // 2: PacketHead.ServiceAppIdMapEntry +} +var file_PacketHead_proto_depIdxs = []int32{ + 1, // 0: PacketHead.ext_map:type_name -> PacketHead.ExtMapEntry + 2, // 1: PacketHead.service_app_id_map:type_name -> PacketHead.ServiceAppIdMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PacketHead_proto_init() } +func file_PacketHead_proto_init() { + if File_PacketHead_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PacketHead_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PacketHead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PacketHead_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PacketHead_proto_goTypes, + DependencyIndexes: file_PacketHead_proto_depIdxs, + MessageInfos: file_PacketHead_proto_msgTypes, + }.Build() + File_PacketHead_proto = out.File + file_PacketHead_proto_rawDesc = nil + file_PacketHead_proto_goTypes = nil + file_PacketHead_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PacketHead.proto b/gate-hk4e-api/proto/PacketHead.proto new file mode 100644 index 00000000..b48bb9cd --- /dev/null +++ b/gate-hk4e-api/proto/PacketHead.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PacketHead { + uint32 packet_id = 1; + uint32 rpc_id = 2; + uint32 client_sequence_id = 3; + uint32 enet_channel_id = 4; + uint32 enet_is_reliable = 5; + uint64 sent_ms = 6; + uint32 user_id = 11; + uint32 user_ip = 12; + uint32 user_session_id = 13; + uint64 recv_time_ms = 21; + uint32 rpc_begin_time_ms = 22; + map ext_map = 23; + uint32 sender_app_id = 24; + uint32 source_service = 31; + uint32 target_service = 32; + map service_app_id_map = 33; + bool is_set_game_thread = 34; + uint32 game_thread_index = 35; +} diff --git a/gate-hk4e-api/proto/ParamList.pb.go b/gate-hk4e-api/proto/ParamList.pb.go new file mode 100644 index 00000000..d2c5b0c8 --- /dev/null +++ b/gate-hk4e-api/proto/ParamList.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ParamList.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ParamList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList_ []uint32 `protobuf:"varint,1,rep,packed,name=param_list_,json=paramList,proto3" json:"param_list_,omitempty"` +} + +func (x *ParamList) Reset() { + *x = ParamList{} + if protoimpl.UnsafeEnabled { + mi := &file_ParamList_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParamList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParamList) ProtoMessage() {} + +func (x *ParamList) ProtoReflect() protoreflect.Message { + mi := &file_ParamList_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ParamList.ProtoReflect.Descriptor instead. +func (*ParamList) Descriptor() ([]byte, []int) { + return file_ParamList_proto_rawDescGZIP(), []int{0} +} + +func (x *ParamList) GetParamList_() []uint32 { + if x != nil { + return x.ParamList_ + } + return nil +} + +var File_ParamList_proto protoreflect.FileDescriptor + +var file_ParamList_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x2b, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, + 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ParamList_proto_rawDescOnce sync.Once + file_ParamList_proto_rawDescData = file_ParamList_proto_rawDesc +) + +func file_ParamList_proto_rawDescGZIP() []byte { + file_ParamList_proto_rawDescOnce.Do(func() { + file_ParamList_proto_rawDescData = protoimpl.X.CompressGZIP(file_ParamList_proto_rawDescData) + }) + return file_ParamList_proto_rawDescData +} + +var file_ParamList_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ParamList_proto_goTypes = []interface{}{ + (*ParamList)(nil), // 0: ParamList +} +var file_ParamList_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ParamList_proto_init() } +func file_ParamList_proto_init() { + if File_ParamList_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ParamList_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParamList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ParamList_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ParamList_proto_goTypes, + DependencyIndexes: file_ParamList_proto_depIdxs, + MessageInfos: file_ParamList_proto_msgTypes, + }.Build() + File_ParamList_proto = out.File + file_ParamList_proto_rawDesc = nil + file_ParamList_proto_goTypes = nil + file_ParamList_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ParamList.proto b/gate-hk4e-api/proto/ParamList.proto new file mode 100644 index 00000000..f2ed29bd --- /dev/null +++ b/gate-hk4e-api/proto/ParamList.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ParamList { + repeated uint32 param_list_ = 1; +} diff --git a/gate-hk4e-api/proto/ParentQuest.pb.go b/gate-hk4e-api/proto/ParentQuest.pb.go new file mode 100644 index 00000000..ec579634 --- /dev/null +++ b/gate-hk4e-api/proto/ParentQuest.pb.go @@ -0,0 +1,287 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ParentQuest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ParentQuest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestVar []int32 `protobuf:"varint,14,rep,packed,name=quest_var,json=questVar,proto3" json:"quest_var,omitempty"` + TimeVarMap map[uint32]uint32 `protobuf:"bytes,8,rep,name=time_var_map,json=timeVarMap,proto3" json:"time_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ParentQuestState uint32 `protobuf:"varint,1,opt,name=parent_quest_state,json=parentQuestState,proto3" json:"parent_quest_state,omitempty"` + IsFinished bool `protobuf:"varint,7,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + Unk3000_HLPGILIGGCB []*Unk3000_ENLDIHLGNCK `protobuf:"bytes,15,rep,name=Unk3000_HLPGILIGGCB,json=Unk3000HLPGILIGGCB,proto3" json:"Unk3000_HLPGILIGGCB,omitempty"` + RandomInfo *ParentQuestRandomInfo `protobuf:"bytes,12,opt,name=random_info,json=randomInfo,proto3" json:"random_info,omitempty"` + ParentQuestId uint32 `protobuf:"varint,3,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + IsRandom bool `protobuf:"varint,13,opt,name=is_random,json=isRandom,proto3" json:"is_random,omitempty"` + Unk2700_KHDDIJNOICK uint64 `protobuf:"varint,6,opt,name=Unk2700_KHDDIJNOICK,json=Unk2700KHDDIJNOICK,proto3" json:"Unk2700_KHDDIJNOICK,omitempty"` + QuestVarSeq uint32 `protobuf:"varint,11,opt,name=quest_var_seq,json=questVarSeq,proto3" json:"quest_var_seq,omitempty"` + ChildQuestList []*ChildQuest `protobuf:"bytes,9,rep,name=child_quest_list,json=childQuestList,proto3" json:"child_quest_list,omitempty"` +} + +func (x *ParentQuest) Reset() { + *x = ParentQuest{} + if protoimpl.UnsafeEnabled { + mi := &file_ParentQuest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParentQuest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParentQuest) ProtoMessage() {} + +func (x *ParentQuest) ProtoReflect() protoreflect.Message { + mi := &file_ParentQuest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ParentQuest.ProtoReflect.Descriptor instead. +func (*ParentQuest) Descriptor() ([]byte, []int) { + return file_ParentQuest_proto_rawDescGZIP(), []int{0} +} + +func (x *ParentQuest) GetQuestVar() []int32 { + if x != nil { + return x.QuestVar + } + return nil +} + +func (x *ParentQuest) GetTimeVarMap() map[uint32]uint32 { + if x != nil { + return x.TimeVarMap + } + return nil +} + +func (x *ParentQuest) GetParentQuestState() uint32 { + if x != nil { + return x.ParentQuestState + } + return 0 +} + +func (x *ParentQuest) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *ParentQuest) GetUnk3000_HLPGILIGGCB() []*Unk3000_ENLDIHLGNCK { + if x != nil { + return x.Unk3000_HLPGILIGGCB + } + return nil +} + +func (x *ParentQuest) GetRandomInfo() *ParentQuestRandomInfo { + if x != nil { + return x.RandomInfo + } + return nil +} + +func (x *ParentQuest) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *ParentQuest) GetIsRandom() bool { + if x != nil { + return x.IsRandom + } + return false +} + +func (x *ParentQuest) GetUnk2700_KHDDIJNOICK() uint64 { + if x != nil { + return x.Unk2700_KHDDIJNOICK + } + return 0 +} + +func (x *ParentQuest) GetQuestVarSeq() uint32 { + if x != nil { + return x.QuestVarSeq + } + return 0 +} + +func (x *ParentQuest) GetChildQuestList() []*ChildQuest { + if x != nil { + return x.ChildQuestList + } + return nil +} + +var File_ParentQuest_proto protoreflect.FileDescriptor + +var file_ParentQuest_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4c, 0x44, + 0x49, 0x48, 0x4c, 0x47, 0x4e, 0x43, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x04, + 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x05, + 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x12, 0x3e, 0x0a, 0x0c, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, + 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x50, 0x47, 0x49, 0x4c, 0x49, 0x47, 0x47, 0x43, 0x42, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x45, 0x4e, 0x4c, 0x44, 0x49, 0x48, 0x4c, 0x47, 0x4e, 0x43, 0x4b, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4c, 0x50, 0x47, 0x49, 0x4c, 0x49, 0x47, 0x47, 0x43, 0x42, + 0x12, 0x37, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x72, + 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x44, 0x44, 0x49, 0x4a, + 0x4e, 0x4f, 0x49, 0x43, 0x4b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x44, 0x44, 0x49, 0x4a, 0x4e, 0x4f, 0x49, 0x43, 0x4b, 0x12, + 0x22, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x65, 0x71, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, + 0x53, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x10, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x43, 0x68, 0x69, 0x6c, 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x63, 0x68, 0x69, 0x6c, + 0x64, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x3d, 0x0a, 0x0f, 0x54, 0x69, + 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ParentQuest_proto_rawDescOnce sync.Once + file_ParentQuest_proto_rawDescData = file_ParentQuest_proto_rawDesc +) + +func file_ParentQuest_proto_rawDescGZIP() []byte { + file_ParentQuest_proto_rawDescOnce.Do(func() { + file_ParentQuest_proto_rawDescData = protoimpl.X.CompressGZIP(file_ParentQuest_proto_rawDescData) + }) + return file_ParentQuest_proto_rawDescData +} + +var file_ParentQuest_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ParentQuest_proto_goTypes = []interface{}{ + (*ParentQuest)(nil), // 0: ParentQuest + nil, // 1: ParentQuest.TimeVarMapEntry + (*Unk3000_ENLDIHLGNCK)(nil), // 2: Unk3000_ENLDIHLGNCK + (*ParentQuestRandomInfo)(nil), // 3: ParentQuestRandomInfo + (*ChildQuest)(nil), // 4: ChildQuest +} +var file_ParentQuest_proto_depIdxs = []int32{ + 1, // 0: ParentQuest.time_var_map:type_name -> ParentQuest.TimeVarMapEntry + 2, // 1: ParentQuest.Unk3000_HLPGILIGGCB:type_name -> Unk3000_ENLDIHLGNCK + 3, // 2: ParentQuest.random_info:type_name -> ParentQuestRandomInfo + 4, // 3: ParentQuest.child_quest_list:type_name -> ChildQuest + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_ParentQuest_proto_init() } +func file_ParentQuest_proto_init() { + if File_ParentQuest_proto != nil { + return + } + file_ChildQuest_proto_init() + file_ParentQuestRandomInfo_proto_init() + file_Unk3000_ENLDIHLGNCK_proto_init() + if !protoimpl.UnsafeEnabled { + file_ParentQuest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParentQuest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ParentQuest_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ParentQuest_proto_goTypes, + DependencyIndexes: file_ParentQuest_proto_depIdxs, + MessageInfos: file_ParentQuest_proto_msgTypes, + }.Build() + File_ParentQuest_proto = out.File + file_ParentQuest_proto_rawDesc = nil + file_ParentQuest_proto_goTypes = nil + file_ParentQuest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ParentQuest.proto b/gate-hk4e-api/proto/ParentQuest.proto new file mode 100644 index 00000000..123ae44f --- /dev/null +++ b/gate-hk4e-api/proto/ParentQuest.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChildQuest.proto"; +import "ParentQuestRandomInfo.proto"; +import "Unk3000_ENLDIHLGNCK.proto"; + +option go_package = "./;proto"; + +message ParentQuest { + repeated int32 quest_var = 14; + map time_var_map = 8; + uint32 parent_quest_state = 1; + bool is_finished = 7; + repeated Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15; + ParentQuestRandomInfo random_info = 12; + uint32 parent_quest_id = 3; + bool is_random = 13; + uint64 Unk2700_KHDDIJNOICK = 6; + uint32 quest_var_seq = 11; + repeated ChildQuest child_quest_list = 9; +} diff --git a/gate-hk4e-api/proto/ParentQuestRandomInfo.pb.go b/gate-hk4e-api/proto/ParentQuestRandomInfo.pb.go new file mode 100644 index 00000000..07bf13bd --- /dev/null +++ b/gate-hk4e-api/proto/ParentQuestRandomInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ParentQuestRandomInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ParentQuestRandomInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FactorList []uint32 `protobuf:"varint,1,rep,packed,name=factor_list,json=factorList,proto3" json:"factor_list,omitempty"` + TemplateId uint32 `protobuf:"varint,8,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` + EntranceId uint32 `protobuf:"varint,2,opt,name=entrance_id,json=entranceId,proto3" json:"entrance_id,omitempty"` +} + +func (x *ParentQuestRandomInfo) Reset() { + *x = ParentQuestRandomInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ParentQuestRandomInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParentQuestRandomInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParentQuestRandomInfo) ProtoMessage() {} + +func (x *ParentQuestRandomInfo) ProtoReflect() protoreflect.Message { + mi := &file_ParentQuestRandomInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ParentQuestRandomInfo.ProtoReflect.Descriptor instead. +func (*ParentQuestRandomInfo) Descriptor() ([]byte, []int) { + return file_ParentQuestRandomInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ParentQuestRandomInfo) GetFactorList() []uint32 { + if x != nil { + return x.FactorList + } + return nil +} + +func (x *ParentQuestRandomInfo) GetTemplateId() uint32 { + if x != nil { + return x.TemplateId + } + return 0 +} + +func (x *ParentQuestRandomInfo) GetEntranceId() uint32 { + if x != nil { + return x.EntranceId + } + return 0 +} + +var File_ParentQuestRandomInfo_proto protoreflect.FileDescriptor + +var file_ParentQuestRandomInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x6e, + 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, + 0x15, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x6e, 0x64, + 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, + 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, + 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ParentQuestRandomInfo_proto_rawDescOnce sync.Once + file_ParentQuestRandomInfo_proto_rawDescData = file_ParentQuestRandomInfo_proto_rawDesc +) + +func file_ParentQuestRandomInfo_proto_rawDescGZIP() []byte { + file_ParentQuestRandomInfo_proto_rawDescOnce.Do(func() { + file_ParentQuestRandomInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ParentQuestRandomInfo_proto_rawDescData) + }) + return file_ParentQuestRandomInfo_proto_rawDescData +} + +var file_ParentQuestRandomInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ParentQuestRandomInfo_proto_goTypes = []interface{}{ + (*ParentQuestRandomInfo)(nil), // 0: ParentQuestRandomInfo +} +var file_ParentQuestRandomInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ParentQuestRandomInfo_proto_init() } +func file_ParentQuestRandomInfo_proto_init() { + if File_ParentQuestRandomInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ParentQuestRandomInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParentQuestRandomInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ParentQuestRandomInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ParentQuestRandomInfo_proto_goTypes, + DependencyIndexes: file_ParentQuestRandomInfo_proto_depIdxs, + MessageInfos: file_ParentQuestRandomInfo_proto_msgTypes, + }.Build() + File_ParentQuestRandomInfo_proto = out.File + file_ParentQuestRandomInfo_proto_rawDesc = nil + file_ParentQuestRandomInfo_proto_goTypes = nil + file_ParentQuestRandomInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ParentQuestRandomInfo.proto b/gate-hk4e-api/proto/ParentQuestRandomInfo.proto new file mode 100644 index 00000000..7141011f --- /dev/null +++ b/gate-hk4e-api/proto/ParentQuestRandomInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ParentQuestRandomInfo { + repeated uint32 factor_list = 1; + uint32 template_id = 8; + uint32 entrance_id = 2; +} diff --git a/gate-hk4e-api/proto/ParkourLevelInfo.pb.go b/gate-hk4e-api/proto/ParkourLevelInfo.pb.go new file mode 100644 index 00000000..2984b644 --- /dev/null +++ b/gate-hk4e-api/proto/ParkourLevelInfo.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ParkourLevelInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ParkourLevelInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestRecord uint32 `protobuf:"varint,12,opt,name=best_record,json=bestRecord,proto3" json:"best_record,omitempty"` + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,7,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + Pos *Vector `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *ParkourLevelInfo) Reset() { + *x = ParkourLevelInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ParkourLevelInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourLevelInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourLevelInfo) ProtoMessage() {} + +func (x *ParkourLevelInfo) ProtoReflect() protoreflect.Message { + mi := &file_ParkourLevelInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ParkourLevelInfo.ProtoReflect.Descriptor instead. +func (*ParkourLevelInfo) Descriptor() ([]byte, []int) { + return file_ParkourLevelInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ParkourLevelInfo) GetBestRecord() uint32 { + if x != nil { + return x.BestRecord + } + return 0 +} + +func (x *ParkourLevelInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *ParkourLevelInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *ParkourLevelInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_ParkourLevelInfo_proto protoreflect.FileDescriptor + +var file_ParkourLevelInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, 0x6f, + 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, + 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ParkourLevelInfo_proto_rawDescOnce sync.Once + file_ParkourLevelInfo_proto_rawDescData = file_ParkourLevelInfo_proto_rawDesc +) + +func file_ParkourLevelInfo_proto_rawDescGZIP() []byte { + file_ParkourLevelInfo_proto_rawDescOnce.Do(func() { + file_ParkourLevelInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ParkourLevelInfo_proto_rawDescData) + }) + return file_ParkourLevelInfo_proto_rawDescData +} + +var file_ParkourLevelInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ParkourLevelInfo_proto_goTypes = []interface{}{ + (*ParkourLevelInfo)(nil), // 0: ParkourLevelInfo + (*Vector)(nil), // 1: Vector +} +var file_ParkourLevelInfo_proto_depIdxs = []int32{ + 1, // 0: ParkourLevelInfo.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ParkourLevelInfo_proto_init() } +func file_ParkourLevelInfo_proto_init() { + if File_ParkourLevelInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ParkourLevelInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourLevelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ParkourLevelInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ParkourLevelInfo_proto_goTypes, + DependencyIndexes: file_ParkourLevelInfo_proto_depIdxs, + MessageInfos: file_ParkourLevelInfo_proto_msgTypes, + }.Build() + File_ParkourLevelInfo_proto = out.File + file_ParkourLevelInfo_proto_rawDesc = nil + file_ParkourLevelInfo_proto_goTypes = nil + file_ParkourLevelInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ParkourLevelInfo.proto b/gate-hk4e-api/proto/ParkourLevelInfo.proto new file mode 100644 index 00000000..01803d7b --- /dev/null +++ b/gate-hk4e-api/proto/ParkourLevelInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message ParkourLevelInfo { + uint32 best_record = 12; + bool is_open = 9; + uint32 open_time = 7; + Vector pos = 2; +} diff --git a/gate-hk4e-api/proto/PathfindingEnterSceneReq.pb.go b/gate-hk4e-api/proto/PathfindingEnterSceneReq.pb.go new file mode 100644 index 00000000..860c32fb --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingEnterSceneReq.pb.go @@ -0,0 +1,230 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PathfindingEnterSceneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2307 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PathfindingEnterSceneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,12,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + ActivityId []uint32 `protobuf:"varint,14,rep,packed,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Unk2800_NCDFAFMGMIG uint32 `protobuf:"varint,15,opt,name=Unk2800_NCDFAFMGMIG,json=Unk2800NCDFAFMGMIG,proto3" json:"Unk2800_NCDFAFMGMIG,omitempty"` + Version uint32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` + IsEditor bool `protobuf:"varint,11,opt,name=is_editor,json=isEditor,proto3" json:"is_editor,omitempty"` + Obstacles []*ObstacleInfo `protobuf:"bytes,13,rep,name=obstacles,proto3" json:"obstacles,omitempty"` + Unk2800_MBDFGODMPFN uint32 `protobuf:"varint,4,opt,name=Unk2800_MBDFGODMPFN,json=Unk2800MBDFGODMPFN,proto3" json:"Unk2800_MBDFGODMPFN,omitempty"` +} + +func (x *PathfindingEnterSceneReq) Reset() { + *x = PathfindingEnterSceneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PathfindingEnterSceneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PathfindingEnterSceneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PathfindingEnterSceneReq) ProtoMessage() {} + +func (x *PathfindingEnterSceneReq) ProtoReflect() protoreflect.Message { + mi := &file_PathfindingEnterSceneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PathfindingEnterSceneReq.ProtoReflect.Descriptor instead. +func (*PathfindingEnterSceneReq) Descriptor() ([]byte, []int) { + return file_PathfindingEnterSceneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PathfindingEnterSceneReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *PathfindingEnterSceneReq) GetActivityId() []uint32 { + if x != nil { + return x.ActivityId + } + return nil +} + +func (x *PathfindingEnterSceneReq) GetUnk2800_NCDFAFMGMIG() uint32 { + if x != nil { + return x.Unk2800_NCDFAFMGMIG + } + return 0 +} + +func (x *PathfindingEnterSceneReq) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *PathfindingEnterSceneReq) GetIsEditor() bool { + if x != nil { + return x.IsEditor + } + return false +} + +func (x *PathfindingEnterSceneReq) GetObstacles() []*ObstacleInfo { + if x != nil { + return x.Obstacles + } + return nil +} + +func (x *PathfindingEnterSceneReq) GetUnk2800_MBDFGODMPFN() uint32 { + if x != nil { + return x.Unk2800_MBDFGODMPFN + } + return 0 +} + +var File_PathfindingEnterSceneReq_proto protoreflect.FileDescriptor + +var file_PathfindingEnterSceneReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x4f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x02, 0x0a, 0x18, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, + 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x44, 0x46, 0x41, 0x46, 0x4d, + 0x47, 0x4d, 0x49, 0x47, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x4e, 0x43, 0x44, 0x46, 0x41, 0x46, 0x4d, 0x47, 0x4d, 0x49, 0x47, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x65, + 0x64, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x45, + 0x64, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, + 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4f, 0x62, 0x73, 0x74, 0x61, + 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6f, 0x62, 0x73, 0x74, 0x61, 0x63, 0x6c, + 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x42, + 0x44, 0x46, 0x47, 0x4f, 0x44, 0x4d, 0x50, 0x46, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4d, 0x42, 0x44, 0x46, 0x47, 0x4f, 0x44, 0x4d, + 0x50, 0x46, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PathfindingEnterSceneReq_proto_rawDescOnce sync.Once + file_PathfindingEnterSceneReq_proto_rawDescData = file_PathfindingEnterSceneReq_proto_rawDesc +) + +func file_PathfindingEnterSceneReq_proto_rawDescGZIP() []byte { + file_PathfindingEnterSceneReq_proto_rawDescOnce.Do(func() { + file_PathfindingEnterSceneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PathfindingEnterSceneReq_proto_rawDescData) + }) + return file_PathfindingEnterSceneReq_proto_rawDescData +} + +var file_PathfindingEnterSceneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PathfindingEnterSceneReq_proto_goTypes = []interface{}{ + (*PathfindingEnterSceneReq)(nil), // 0: PathfindingEnterSceneReq + (*ObstacleInfo)(nil), // 1: ObstacleInfo +} +var file_PathfindingEnterSceneReq_proto_depIdxs = []int32{ + 1, // 0: PathfindingEnterSceneReq.obstacles:type_name -> ObstacleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PathfindingEnterSceneReq_proto_init() } +func file_PathfindingEnterSceneReq_proto_init() { + if File_PathfindingEnterSceneReq_proto != nil { + return + } + file_ObstacleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PathfindingEnterSceneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathfindingEnterSceneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PathfindingEnterSceneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PathfindingEnterSceneReq_proto_goTypes, + DependencyIndexes: file_PathfindingEnterSceneReq_proto_depIdxs, + MessageInfos: file_PathfindingEnterSceneReq_proto_msgTypes, + }.Build() + File_PathfindingEnterSceneReq_proto = out.File + file_PathfindingEnterSceneReq_proto_rawDesc = nil + file_PathfindingEnterSceneReq_proto_goTypes = nil + file_PathfindingEnterSceneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PathfindingEnterSceneReq.proto b/gate-hk4e-api/proto/PathfindingEnterSceneReq.proto new file mode 100644 index 00000000..65d82d44 --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingEnterSceneReq.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ObstacleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2307 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PathfindingEnterSceneReq { + uint32 scene_id = 12; + repeated uint32 activity_id = 14; + uint32 Unk2800_NCDFAFMGMIG = 15; + uint32 version = 6; + bool is_editor = 11; + repeated ObstacleInfo obstacles = 13; + uint32 Unk2800_MBDFGODMPFN = 4; +} diff --git a/gate-hk4e-api/proto/PathfindingEnterSceneRsp.pb.go b/gate-hk4e-api/proto/PathfindingEnterSceneRsp.pb.go new file mode 100644 index 00000000..97fca7c9 --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingEnterSceneRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PathfindingEnterSceneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2321 +// EnetChannelId: 0 +// EnetIsReliable: true +type PathfindingEnterSceneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PathfindingEnterSceneRsp) Reset() { + *x = PathfindingEnterSceneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PathfindingEnterSceneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PathfindingEnterSceneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PathfindingEnterSceneRsp) ProtoMessage() {} + +func (x *PathfindingEnterSceneRsp) ProtoReflect() protoreflect.Message { + mi := &file_PathfindingEnterSceneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PathfindingEnterSceneRsp.ProtoReflect.Descriptor instead. +func (*PathfindingEnterSceneRsp) Descriptor() ([]byte, []int) { + return file_PathfindingEnterSceneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PathfindingEnterSceneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PathfindingEnterSceneRsp_proto protoreflect.FileDescriptor + +var file_PathfindingEnterSceneRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x34, 0x0a, 0x18, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, + 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PathfindingEnterSceneRsp_proto_rawDescOnce sync.Once + file_PathfindingEnterSceneRsp_proto_rawDescData = file_PathfindingEnterSceneRsp_proto_rawDesc +) + +func file_PathfindingEnterSceneRsp_proto_rawDescGZIP() []byte { + file_PathfindingEnterSceneRsp_proto_rawDescOnce.Do(func() { + file_PathfindingEnterSceneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PathfindingEnterSceneRsp_proto_rawDescData) + }) + return file_PathfindingEnterSceneRsp_proto_rawDescData +} + +var file_PathfindingEnterSceneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PathfindingEnterSceneRsp_proto_goTypes = []interface{}{ + (*PathfindingEnterSceneRsp)(nil), // 0: PathfindingEnterSceneRsp +} +var file_PathfindingEnterSceneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PathfindingEnterSceneRsp_proto_init() } +func file_PathfindingEnterSceneRsp_proto_init() { + if File_PathfindingEnterSceneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PathfindingEnterSceneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathfindingEnterSceneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PathfindingEnterSceneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PathfindingEnterSceneRsp_proto_goTypes, + DependencyIndexes: file_PathfindingEnterSceneRsp_proto_depIdxs, + MessageInfos: file_PathfindingEnterSceneRsp_proto_msgTypes, + }.Build() + File_PathfindingEnterSceneRsp_proto = out.File + file_PathfindingEnterSceneRsp_proto_rawDesc = nil + file_PathfindingEnterSceneRsp_proto_goTypes = nil + file_PathfindingEnterSceneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PathfindingEnterSceneRsp.proto b/gate-hk4e-api/proto/PathfindingEnterSceneRsp.proto new file mode 100644 index 00000000..6af58bea --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingEnterSceneRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2321 +// EnetChannelId: 0 +// EnetIsReliable: true +message PathfindingEnterSceneRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/PathfindingPingNotify.pb.go b/gate-hk4e-api/proto/PathfindingPingNotify.pb.go new file mode 100644 index 00000000..fcb95b1b --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingPingNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PathfindingPingNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2335 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PathfindingPingNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PathfindingPingNotify) Reset() { + *x = PathfindingPingNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PathfindingPingNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PathfindingPingNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PathfindingPingNotify) ProtoMessage() {} + +func (x *PathfindingPingNotify) ProtoReflect() protoreflect.Message { + mi := &file_PathfindingPingNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PathfindingPingNotify.ProtoReflect.Descriptor instead. +func (*PathfindingPingNotify) Descriptor() ([]byte, []int) { + return file_PathfindingPingNotify_proto_rawDescGZIP(), []int{0} +} + +var File_PathfindingPingNotify_proto protoreflect.FileDescriptor + +var file_PathfindingPingNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x69, 0x6e, + 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x50, 0x61, 0x74, 0x68, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x69, 0x6e, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PathfindingPingNotify_proto_rawDescOnce sync.Once + file_PathfindingPingNotify_proto_rawDescData = file_PathfindingPingNotify_proto_rawDesc +) + +func file_PathfindingPingNotify_proto_rawDescGZIP() []byte { + file_PathfindingPingNotify_proto_rawDescOnce.Do(func() { + file_PathfindingPingNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PathfindingPingNotify_proto_rawDescData) + }) + return file_PathfindingPingNotify_proto_rawDescData +} + +var file_PathfindingPingNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PathfindingPingNotify_proto_goTypes = []interface{}{ + (*PathfindingPingNotify)(nil), // 0: PathfindingPingNotify +} +var file_PathfindingPingNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PathfindingPingNotify_proto_init() } +func file_PathfindingPingNotify_proto_init() { + if File_PathfindingPingNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PathfindingPingNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathfindingPingNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PathfindingPingNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PathfindingPingNotify_proto_goTypes, + DependencyIndexes: file_PathfindingPingNotify_proto_depIdxs, + MessageInfos: file_PathfindingPingNotify_proto_msgTypes, + }.Build() + File_PathfindingPingNotify_proto = out.File + file_PathfindingPingNotify_proto_rawDesc = nil + file_PathfindingPingNotify_proto_goTypes = nil + file_PathfindingPingNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PathfindingPingNotify.proto b/gate-hk4e-api/proto/PathfindingPingNotify.proto new file mode 100644 index 00000000..08c4a99a --- /dev/null +++ b/gate-hk4e-api/proto/PathfindingPingNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2335 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PathfindingPingNotify {} diff --git a/gate-hk4e-api/proto/PbNavMeshStatsInfo.pb.go b/gate-hk4e-api/proto/PbNavMeshStatsInfo.pb.go new file mode 100644 index 00000000..ce3a5f9c --- /dev/null +++ b/gate-hk4e-api/proto/PbNavMeshStatsInfo.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PbNavMeshStatsInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PbNavMeshStatsInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthorityAiInCombat int32 `protobuf:"varint,10,opt,name=authority_ai_in_combat,json=authorityAiInCombat,proto3" json:"authority_ai_in_combat,omitempty"` + NoAuthorityAiInCombat int32 `protobuf:"varint,11,opt,name=no_authority_ai_in_combat,json=noAuthorityAiInCombat,proto3" json:"no_authority_ai_in_combat,omitempty"` + TotalAuthorityAi int32 `protobuf:"varint,8,opt,name=total_authority_ai,json=totalAuthorityAi,proto3" json:"total_authority_ai,omitempty"` + TotalNoAuthorityAi int32 `protobuf:"varint,13,opt,name=total_no_authority_ai,json=totalNoAuthorityAi,proto3" json:"total_no_authority_ai,omitempty"` +} + +func (x *PbNavMeshStatsInfo) Reset() { + *x = PbNavMeshStatsInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PbNavMeshStatsInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PbNavMeshStatsInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PbNavMeshStatsInfo) ProtoMessage() {} + +func (x *PbNavMeshStatsInfo) ProtoReflect() protoreflect.Message { + mi := &file_PbNavMeshStatsInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PbNavMeshStatsInfo.ProtoReflect.Descriptor instead. +func (*PbNavMeshStatsInfo) Descriptor() ([]byte, []int) { + return file_PbNavMeshStatsInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PbNavMeshStatsInfo) GetAuthorityAiInCombat() int32 { + if x != nil { + return x.AuthorityAiInCombat + } + return 0 +} + +func (x *PbNavMeshStatsInfo) GetNoAuthorityAiInCombat() int32 { + if x != nil { + return x.NoAuthorityAiInCombat + } + return 0 +} + +func (x *PbNavMeshStatsInfo) GetTotalAuthorityAi() int32 { + if x != nil { + return x.TotalAuthorityAi + } + return 0 +} + +func (x *PbNavMeshStatsInfo) GetTotalNoAuthorityAi() int32 { + if x != nil { + return x.TotalNoAuthorityAi + } + return 0 +} + +var File_PbNavMeshStatsInfo_proto protoreflect.FileDescriptor + +var file_PbNavMeshStatsInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x62, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x50, + 0x62, 0x4e, 0x61, 0x76, 0x4d, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x33, 0x0a, 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x61, + 0x69, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, + 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x12, 0x38, 0x0a, 0x19, 0x6e, 0x6f, 0x5f, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x69, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, + 0x62, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x6e, 0x6f, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, + 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x5f, 0x61, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x41, 0x69, 0x12, 0x31, + 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x6f, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x69, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x6f, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x41, + 0x69, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PbNavMeshStatsInfo_proto_rawDescOnce sync.Once + file_PbNavMeshStatsInfo_proto_rawDescData = file_PbNavMeshStatsInfo_proto_rawDesc +) + +func file_PbNavMeshStatsInfo_proto_rawDescGZIP() []byte { + file_PbNavMeshStatsInfo_proto_rawDescOnce.Do(func() { + file_PbNavMeshStatsInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PbNavMeshStatsInfo_proto_rawDescData) + }) + return file_PbNavMeshStatsInfo_proto_rawDescData +} + +var file_PbNavMeshStatsInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PbNavMeshStatsInfo_proto_goTypes = []interface{}{ + (*PbNavMeshStatsInfo)(nil), // 0: PbNavMeshStatsInfo +} +var file_PbNavMeshStatsInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PbNavMeshStatsInfo_proto_init() } +func file_PbNavMeshStatsInfo_proto_init() { + if File_PbNavMeshStatsInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PbNavMeshStatsInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PbNavMeshStatsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PbNavMeshStatsInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PbNavMeshStatsInfo_proto_goTypes, + DependencyIndexes: file_PbNavMeshStatsInfo_proto_depIdxs, + MessageInfos: file_PbNavMeshStatsInfo_proto_msgTypes, + }.Build() + File_PbNavMeshStatsInfo_proto = out.File + file_PbNavMeshStatsInfo_proto_rawDesc = nil + file_PbNavMeshStatsInfo_proto_goTypes = nil + file_PbNavMeshStatsInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PbNavMeshStatsInfo.proto b/gate-hk4e-api/proto/PbNavMeshStatsInfo.proto new file mode 100644 index 00000000..1e085322 --- /dev/null +++ b/gate-hk4e-api/proto/PbNavMeshStatsInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PbNavMeshStatsInfo { + int32 authority_ai_in_combat = 10; + int32 no_authority_ai_in_combat = 11; + int32 total_authority_ai = 8; + int32 total_no_authority_ai = 13; +} diff --git a/gate-hk4e-api/proto/PersonalLineAllDataReq.pb.go b/gate-hk4e-api/proto/PersonalLineAllDataReq.pb.go new file mode 100644 index 00000000..c7c4314b --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineAllDataReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PersonalLineAllDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 474 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PersonalLineAllDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PersonalLineAllDataReq) Reset() { + *x = PersonalLineAllDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PersonalLineAllDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersonalLineAllDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersonalLineAllDataReq) ProtoMessage() {} + +func (x *PersonalLineAllDataReq) ProtoReflect() protoreflect.Message { + mi := &file_PersonalLineAllDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PersonalLineAllDataReq.ProtoReflect.Descriptor instead. +func (*PersonalLineAllDataReq) Descriptor() ([]byte, []int) { + return file_PersonalLineAllDataReq_proto_rawDescGZIP(), []int{0} +} + +var File_PersonalLineAllDataReq_proto protoreflect.FileDescriptor + +var file_PersonalLineAllDataReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x41, 0x6c, + 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x41, 0x6c, + 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PersonalLineAllDataReq_proto_rawDescOnce sync.Once + file_PersonalLineAllDataReq_proto_rawDescData = file_PersonalLineAllDataReq_proto_rawDesc +) + +func file_PersonalLineAllDataReq_proto_rawDescGZIP() []byte { + file_PersonalLineAllDataReq_proto_rawDescOnce.Do(func() { + file_PersonalLineAllDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PersonalLineAllDataReq_proto_rawDescData) + }) + return file_PersonalLineAllDataReq_proto_rawDescData +} + +var file_PersonalLineAllDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PersonalLineAllDataReq_proto_goTypes = []interface{}{ + (*PersonalLineAllDataReq)(nil), // 0: PersonalLineAllDataReq +} +var file_PersonalLineAllDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PersonalLineAllDataReq_proto_init() } +func file_PersonalLineAllDataReq_proto_init() { + if File_PersonalLineAllDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PersonalLineAllDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersonalLineAllDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PersonalLineAllDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PersonalLineAllDataReq_proto_goTypes, + DependencyIndexes: file_PersonalLineAllDataReq_proto_depIdxs, + MessageInfos: file_PersonalLineAllDataReq_proto_msgTypes, + }.Build() + File_PersonalLineAllDataReq_proto = out.File + file_PersonalLineAllDataReq_proto_rawDesc = nil + file_PersonalLineAllDataReq_proto_goTypes = nil + file_PersonalLineAllDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PersonalLineAllDataReq.proto b/gate-hk4e-api/proto/PersonalLineAllDataReq.proto new file mode 100644 index 00000000..647407fa --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineAllDataReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 474 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PersonalLineAllDataReq {} diff --git a/gate-hk4e-api/proto/PersonalLineAllDataRsp.pb.go b/gate-hk4e-api/proto/PersonalLineAllDataRsp.pb.go new file mode 100644 index 00000000..351f7d69 --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineAllDataRsp.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PersonalLineAllDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 476 +// EnetChannelId: 0 +// EnetIsReliable: true +type PersonalLineAllDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurFinishedDailyTaskCount uint32 `protobuf:"varint,5,opt,name=cur_finished_daily_task_count,json=curFinishedDailyTaskCount,proto3" json:"cur_finished_daily_task_count,omitempty"` + CanBeUnlockedPersonalLineList []uint32 `protobuf:"varint,13,rep,packed,name=can_be_unlocked_personal_line_list,json=canBeUnlockedPersonalLineList,proto3" json:"can_be_unlocked_personal_line_list,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + OngoingPersonalLineList []uint32 `protobuf:"varint,8,rep,packed,name=ongoing_personal_line_list,json=ongoingPersonalLineList,proto3" json:"ongoing_personal_line_list,omitempty"` + LegendaryKeyCount uint32 `protobuf:"varint,11,opt,name=legendary_key_count,json=legendaryKeyCount,proto3" json:"legendary_key_count,omitempty"` + LockedPersonalLineList []*LockedPersonallineData `protobuf:"bytes,10,rep,name=locked_personal_line_list,json=lockedPersonalLineList,proto3" json:"locked_personal_line_list,omitempty"` +} + +func (x *PersonalLineAllDataRsp) Reset() { + *x = PersonalLineAllDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PersonalLineAllDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersonalLineAllDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersonalLineAllDataRsp) ProtoMessage() {} + +func (x *PersonalLineAllDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_PersonalLineAllDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PersonalLineAllDataRsp.ProtoReflect.Descriptor instead. +func (*PersonalLineAllDataRsp) Descriptor() ([]byte, []int) { + return file_PersonalLineAllDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PersonalLineAllDataRsp) GetCurFinishedDailyTaskCount() uint32 { + if x != nil { + return x.CurFinishedDailyTaskCount + } + return 0 +} + +func (x *PersonalLineAllDataRsp) GetCanBeUnlockedPersonalLineList() []uint32 { + if x != nil { + return x.CanBeUnlockedPersonalLineList + } + return nil +} + +func (x *PersonalLineAllDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PersonalLineAllDataRsp) GetOngoingPersonalLineList() []uint32 { + if x != nil { + return x.OngoingPersonalLineList + } + return nil +} + +func (x *PersonalLineAllDataRsp) GetLegendaryKeyCount() uint32 { + if x != nil { + return x.LegendaryKeyCount + } + return 0 +} + +func (x *PersonalLineAllDataRsp) GetLockedPersonalLineList() []*LockedPersonallineData { + if x != nil { + return x.LockedPersonalLineList + } + return nil +} + +var File_PersonalLineAllDataRsp_proto protoreflect.FileDescriptor + +var file_PersonalLineAllDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x41, 0x6c, + 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x69, + 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x03, 0x0a, + 0x16, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x41, 0x6c, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x1d, 0x63, 0x75, 0x72, 0x5f, 0x66, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, + 0x63, 0x75, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x44, 0x61, 0x69, 0x6c, 0x79, + 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x22, 0x63, 0x61, 0x6e, + 0x5f, 0x62, 0x65, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, + 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1d, 0x63, 0x61, 0x6e, 0x42, 0x65, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3b, + 0x0a, 0x1a, 0x6f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, + 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x17, 0x6f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, + 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x6c, + 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, + 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x19, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, + 0x69, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, + 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x16, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, + 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PersonalLineAllDataRsp_proto_rawDescOnce sync.Once + file_PersonalLineAllDataRsp_proto_rawDescData = file_PersonalLineAllDataRsp_proto_rawDesc +) + +func file_PersonalLineAllDataRsp_proto_rawDescGZIP() []byte { + file_PersonalLineAllDataRsp_proto_rawDescOnce.Do(func() { + file_PersonalLineAllDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PersonalLineAllDataRsp_proto_rawDescData) + }) + return file_PersonalLineAllDataRsp_proto_rawDescData +} + +var file_PersonalLineAllDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PersonalLineAllDataRsp_proto_goTypes = []interface{}{ + (*PersonalLineAllDataRsp)(nil), // 0: PersonalLineAllDataRsp + (*LockedPersonallineData)(nil), // 1: LockedPersonallineData +} +var file_PersonalLineAllDataRsp_proto_depIdxs = []int32{ + 1, // 0: PersonalLineAllDataRsp.locked_personal_line_list:type_name -> LockedPersonallineData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PersonalLineAllDataRsp_proto_init() } +func file_PersonalLineAllDataRsp_proto_init() { + if File_PersonalLineAllDataRsp_proto != nil { + return + } + file_LockedPersonallineData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PersonalLineAllDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersonalLineAllDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PersonalLineAllDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PersonalLineAllDataRsp_proto_goTypes, + DependencyIndexes: file_PersonalLineAllDataRsp_proto_depIdxs, + MessageInfos: file_PersonalLineAllDataRsp_proto_msgTypes, + }.Build() + File_PersonalLineAllDataRsp_proto = out.File + file_PersonalLineAllDataRsp_proto_rawDesc = nil + file_PersonalLineAllDataRsp_proto_goTypes = nil + file_PersonalLineAllDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PersonalLineAllDataRsp.proto b/gate-hk4e-api/proto/PersonalLineAllDataRsp.proto new file mode 100644 index 00000000..036c7556 --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineAllDataRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LockedPersonallineData.proto"; + +option go_package = "./;proto"; + +// CmdId: 476 +// EnetChannelId: 0 +// EnetIsReliable: true +message PersonalLineAllDataRsp { + uint32 cur_finished_daily_task_count = 5; + repeated uint32 can_be_unlocked_personal_line_list = 13; + int32 retcode = 15; + repeated uint32 ongoing_personal_line_list = 8; + uint32 legendary_key_count = 11; + repeated LockedPersonallineData locked_personal_line_list = 10; +} diff --git a/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.pb.go b/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.pb.go new file mode 100644 index 00000000..be53c408 --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PersonalLineNewUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 442 +// EnetChannelId: 0 +// EnetIsReliable: true +type PersonalLineNewUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PersonalLineIdList []uint32 `protobuf:"varint,9,rep,packed,name=personal_line_id_list,json=personalLineIdList,proto3" json:"personal_line_id_list,omitempty"` +} + +func (x *PersonalLineNewUnlockNotify) Reset() { + *x = PersonalLineNewUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PersonalLineNewUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersonalLineNewUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersonalLineNewUnlockNotify) ProtoMessage() {} + +func (x *PersonalLineNewUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_PersonalLineNewUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PersonalLineNewUnlockNotify.ProtoReflect.Descriptor instead. +func (*PersonalLineNewUnlockNotify) Descriptor() ([]byte, []int) { + return file_PersonalLineNewUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PersonalLineNewUnlockNotify) GetPersonalLineIdList() []uint32 { + if x != nil { + return x.PersonalLineIdList + } + return nil +} + +var File_PersonalLineNewUnlockNotify_proto protoreflect.FileDescriptor + +var file_PersonalLineNewUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x4e, 0x65, + 0x77, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, + 0x69, 0x6e, 0x65, 0x4e, 0x65, 0x77, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x31, 0x0a, 0x15, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, + 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PersonalLineNewUnlockNotify_proto_rawDescOnce sync.Once + file_PersonalLineNewUnlockNotify_proto_rawDescData = file_PersonalLineNewUnlockNotify_proto_rawDesc +) + +func file_PersonalLineNewUnlockNotify_proto_rawDescGZIP() []byte { + file_PersonalLineNewUnlockNotify_proto_rawDescOnce.Do(func() { + file_PersonalLineNewUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PersonalLineNewUnlockNotify_proto_rawDescData) + }) + return file_PersonalLineNewUnlockNotify_proto_rawDescData +} + +var file_PersonalLineNewUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PersonalLineNewUnlockNotify_proto_goTypes = []interface{}{ + (*PersonalLineNewUnlockNotify)(nil), // 0: PersonalLineNewUnlockNotify +} +var file_PersonalLineNewUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PersonalLineNewUnlockNotify_proto_init() } +func file_PersonalLineNewUnlockNotify_proto_init() { + if File_PersonalLineNewUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PersonalLineNewUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersonalLineNewUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PersonalLineNewUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PersonalLineNewUnlockNotify_proto_goTypes, + DependencyIndexes: file_PersonalLineNewUnlockNotify_proto_depIdxs, + MessageInfos: file_PersonalLineNewUnlockNotify_proto_msgTypes, + }.Build() + File_PersonalLineNewUnlockNotify_proto = out.File + file_PersonalLineNewUnlockNotify_proto_rawDesc = nil + file_PersonalLineNewUnlockNotify_proto_goTypes = nil + file_PersonalLineNewUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.proto b/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.proto new file mode 100644 index 00000000..9e19b3b0 --- /dev/null +++ b/gate-hk4e-api/proto/PersonalLineNewUnlockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 442 +// EnetChannelId: 0 +// EnetIsReliable: true +message PersonalLineNewUnlockNotify { + repeated uint32 personal_line_id_list = 9; +} diff --git a/gate-hk4e-api/proto/PersonalSceneJumpReq.pb.go b/gate-hk4e-api/proto/PersonalSceneJumpReq.pb.go new file mode 100644 index 00000000..d0335e4c --- /dev/null +++ b/gate-hk4e-api/proto/PersonalSceneJumpReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PersonalSceneJumpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 284 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PersonalSceneJumpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,4,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *PersonalSceneJumpReq) Reset() { + *x = PersonalSceneJumpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PersonalSceneJumpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersonalSceneJumpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersonalSceneJumpReq) ProtoMessage() {} + +func (x *PersonalSceneJumpReq) ProtoReflect() protoreflect.Message { + mi := &file_PersonalSceneJumpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PersonalSceneJumpReq.ProtoReflect.Descriptor instead. +func (*PersonalSceneJumpReq) Descriptor() ([]byte, []int) { + return file_PersonalSceneJumpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PersonalSceneJumpReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_PersonalSceneJumpReq_proto protoreflect.FileDescriptor + +var file_PersonalSceneJumpReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, + 0x75, 0x6d, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x14, + 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, + 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PersonalSceneJumpReq_proto_rawDescOnce sync.Once + file_PersonalSceneJumpReq_proto_rawDescData = file_PersonalSceneJumpReq_proto_rawDesc +) + +func file_PersonalSceneJumpReq_proto_rawDescGZIP() []byte { + file_PersonalSceneJumpReq_proto_rawDescOnce.Do(func() { + file_PersonalSceneJumpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PersonalSceneJumpReq_proto_rawDescData) + }) + return file_PersonalSceneJumpReq_proto_rawDescData +} + +var file_PersonalSceneJumpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PersonalSceneJumpReq_proto_goTypes = []interface{}{ + (*PersonalSceneJumpReq)(nil), // 0: PersonalSceneJumpReq +} +var file_PersonalSceneJumpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PersonalSceneJumpReq_proto_init() } +func file_PersonalSceneJumpReq_proto_init() { + if File_PersonalSceneJumpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PersonalSceneJumpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersonalSceneJumpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PersonalSceneJumpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PersonalSceneJumpReq_proto_goTypes, + DependencyIndexes: file_PersonalSceneJumpReq_proto_depIdxs, + MessageInfos: file_PersonalSceneJumpReq_proto_msgTypes, + }.Build() + File_PersonalSceneJumpReq_proto = out.File + file_PersonalSceneJumpReq_proto_rawDesc = nil + file_PersonalSceneJumpReq_proto_goTypes = nil + file_PersonalSceneJumpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PersonalSceneJumpReq.proto b/gate-hk4e-api/proto/PersonalSceneJumpReq.proto new file mode 100644 index 00000000..fbc515ce --- /dev/null +++ b/gate-hk4e-api/proto/PersonalSceneJumpReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 284 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PersonalSceneJumpReq { + uint32 point_id = 4; +} diff --git a/gate-hk4e-api/proto/PersonalSceneJumpRsp.pb.go b/gate-hk4e-api/proto/PersonalSceneJumpRsp.pb.go new file mode 100644 index 00000000..a1417e55 --- /dev/null +++ b/gate-hk4e-api/proto/PersonalSceneJumpRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PersonalSceneJumpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 280 +// EnetChannelId: 0 +// EnetIsReliable: true +type PersonalSceneJumpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DestSceneId uint32 `protobuf:"varint,5,opt,name=dest_scene_id,json=destSceneId,proto3" json:"dest_scene_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + DestPos *Vector `protobuf:"bytes,11,opt,name=dest_pos,json=destPos,proto3" json:"dest_pos,omitempty"` +} + +func (x *PersonalSceneJumpRsp) Reset() { + *x = PersonalSceneJumpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PersonalSceneJumpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersonalSceneJumpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersonalSceneJumpRsp) ProtoMessage() {} + +func (x *PersonalSceneJumpRsp) ProtoReflect() protoreflect.Message { + mi := &file_PersonalSceneJumpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PersonalSceneJumpRsp.ProtoReflect.Descriptor instead. +func (*PersonalSceneJumpRsp) Descriptor() ([]byte, []int) { + return file_PersonalSceneJumpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PersonalSceneJumpRsp) GetDestSceneId() uint32 { + if x != nil { + return x.DestSceneId + } + return 0 +} + +func (x *PersonalSceneJumpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PersonalSceneJumpRsp) GetDestPos() *Vector { + if x != nil { + return x.DestPos + } + return nil +} + +var File_PersonalSceneJumpRsp_proto protoreflect.FileDescriptor + +var file_PersonalSceneJumpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, + 0x75, 0x6d, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x14, 0x50, 0x65, + 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4a, 0x75, 0x6d, 0x70, 0x52, + 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x22, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x64, 0x65, 0x73, + 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PersonalSceneJumpRsp_proto_rawDescOnce sync.Once + file_PersonalSceneJumpRsp_proto_rawDescData = file_PersonalSceneJumpRsp_proto_rawDesc +) + +func file_PersonalSceneJumpRsp_proto_rawDescGZIP() []byte { + file_PersonalSceneJumpRsp_proto_rawDescOnce.Do(func() { + file_PersonalSceneJumpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PersonalSceneJumpRsp_proto_rawDescData) + }) + return file_PersonalSceneJumpRsp_proto_rawDescData +} + +var file_PersonalSceneJumpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PersonalSceneJumpRsp_proto_goTypes = []interface{}{ + (*PersonalSceneJumpRsp)(nil), // 0: PersonalSceneJumpRsp + (*Vector)(nil), // 1: Vector +} +var file_PersonalSceneJumpRsp_proto_depIdxs = []int32{ + 1, // 0: PersonalSceneJumpRsp.dest_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PersonalSceneJumpRsp_proto_init() } +func file_PersonalSceneJumpRsp_proto_init() { + if File_PersonalSceneJumpRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PersonalSceneJumpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersonalSceneJumpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PersonalSceneJumpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PersonalSceneJumpRsp_proto_goTypes, + DependencyIndexes: file_PersonalSceneJumpRsp_proto_depIdxs, + MessageInfos: file_PersonalSceneJumpRsp_proto_msgTypes, + }.Build() + File_PersonalSceneJumpRsp_proto = out.File + file_PersonalSceneJumpRsp_proto_rawDesc = nil + file_PersonalSceneJumpRsp_proto_goTypes = nil + file_PersonalSceneJumpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PersonalSceneJumpRsp.proto b/gate-hk4e-api/proto/PersonalSceneJumpRsp.proto new file mode 100644 index 00000000..4227bc3e --- /dev/null +++ b/gate-hk4e-api/proto/PersonalSceneJumpRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 280 +// EnetChannelId: 0 +// EnetIsReliable: true +message PersonalSceneJumpRsp { + uint32 dest_scene_id = 5; + int32 retcode = 8; + Vector dest_pos = 11; +} diff --git a/gate-hk4e-api/proto/PhotoActivityDetailInfo.pb.go b/gate-hk4e-api/proto/PhotoActivityDetailInfo.pb.go new file mode 100644 index 00000000..d9e4570c --- /dev/null +++ b/gate-hk4e-api/proto/PhotoActivityDetailInfo.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PhotoActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PhotoActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsContentClosed bool `protobuf:"varint,4,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + PhotoStageList []*PhotoStage `protobuf:"bytes,12,rep,name=photo_stage_list,json=photoStageList,proto3" json:"photo_stage_list,omitempty"` +} + +func (x *PhotoActivityDetailInfo) Reset() { + *x = PhotoActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PhotoActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhotoActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhotoActivityDetailInfo) ProtoMessage() {} + +func (x *PhotoActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_PhotoActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PhotoActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*PhotoActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_PhotoActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PhotoActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *PhotoActivityDetailInfo) GetPhotoStageList() []*PhotoStage { + if x != nil { + return x.PhotoStageList + } + return nil +} + +var File_PhotoActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_PhotoActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x10, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x7c, 0x0a, 0x17, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x10, 0x70, 0x68, 0x6f, 0x74, + 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, + 0x0e, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PhotoActivityDetailInfo_proto_rawDescOnce sync.Once + file_PhotoActivityDetailInfo_proto_rawDescData = file_PhotoActivityDetailInfo_proto_rawDesc +) + +func file_PhotoActivityDetailInfo_proto_rawDescGZIP() []byte { + file_PhotoActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_PhotoActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PhotoActivityDetailInfo_proto_rawDescData) + }) + return file_PhotoActivityDetailInfo_proto_rawDescData +} + +var file_PhotoActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PhotoActivityDetailInfo_proto_goTypes = []interface{}{ + (*PhotoActivityDetailInfo)(nil), // 0: PhotoActivityDetailInfo + (*PhotoStage)(nil), // 1: PhotoStage +} +var file_PhotoActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: PhotoActivityDetailInfo.photo_stage_list:type_name -> PhotoStage + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PhotoActivityDetailInfo_proto_init() } +func file_PhotoActivityDetailInfo_proto_init() { + if File_PhotoActivityDetailInfo_proto != nil { + return + } + file_PhotoStage_proto_init() + if !protoimpl.UnsafeEnabled { + file_PhotoActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhotoActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PhotoActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PhotoActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_PhotoActivityDetailInfo_proto_depIdxs, + MessageInfos: file_PhotoActivityDetailInfo_proto_msgTypes, + }.Build() + File_PhotoActivityDetailInfo_proto = out.File + file_PhotoActivityDetailInfo_proto_rawDesc = nil + file_PhotoActivityDetailInfo_proto_goTypes = nil + file_PhotoActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PhotoActivityDetailInfo.proto b/gate-hk4e-api/proto/PhotoActivityDetailInfo.proto new file mode 100644 index 00000000..34347ed3 --- /dev/null +++ b/gate-hk4e-api/proto/PhotoActivityDetailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PhotoStage.proto"; + +option go_package = "./;proto"; + +message PhotoActivityDetailInfo { + bool is_content_closed = 4; + repeated PhotoStage photo_stage_list = 12; +} diff --git a/gate-hk4e-api/proto/PhotoStage.pb.go b/gate-hk4e-api/proto/PhotoStage.pb.go new file mode 100644 index 00000000..a3c38ec8 --- /dev/null +++ b/gate-hk4e-api/proto/PhotoStage.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PhotoStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PhotoStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Center *Vector `protobuf:"bytes,15,opt,name=center,proto3" json:"center,omitempty"` + OpenTime uint32 `protobuf:"varint,2,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + Unk2700_DDOBNKLLLDF bool `protobuf:"varint,4,opt,name=Unk2700_DDOBNKLLLDF,json=Unk2700DDOBNKLLLDF,proto3" json:"Unk2700_DDOBNKLLLDF,omitempty"` + Unk2700_CKGJEOOKFIF uint32 `protobuf:"varint,9,opt,name=Unk2700_CKGJEOOKFIF,json=Unk2700CKGJEOOKFIF,proto3" json:"Unk2700_CKGJEOOKFIF,omitempty"` + IsOpen bool `protobuf:"varint,6,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *PhotoStage) Reset() { + *x = PhotoStage{} + if protoimpl.UnsafeEnabled { + mi := &file_PhotoStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhotoStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhotoStage) ProtoMessage() {} + +func (x *PhotoStage) ProtoReflect() protoreflect.Message { + mi := &file_PhotoStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PhotoStage.ProtoReflect.Descriptor instead. +func (*PhotoStage) Descriptor() ([]byte, []int) { + return file_PhotoStage_proto_rawDescGZIP(), []int{0} +} + +func (x *PhotoStage) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *PhotoStage) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *PhotoStage) GetUnk2700_DDOBNKLLLDF() bool { + if x != nil { + return x.Unk2700_DDOBNKLLLDF + } + return false +} + +func (x *PhotoStage) GetUnk2700_CKGJEOOKFIF() uint32 { + if x != nil { + return x.Unk2700_CKGJEOOKFIF + } + return 0 +} + +func (x *PhotoStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_PhotoStage_proto protoreflect.FileDescriptor + +var file_PhotoStage_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, + 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x44, 0x4f, 0x42, 0x4e, 0x4b, 0x4c, + 0x4c, 0x4c, 0x44, 0x46, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x44, 0x44, 0x4f, 0x42, 0x4e, 0x4b, 0x4c, 0x4c, 0x4c, 0x44, 0x46, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, + 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PhotoStage_proto_rawDescOnce sync.Once + file_PhotoStage_proto_rawDescData = file_PhotoStage_proto_rawDesc +) + +func file_PhotoStage_proto_rawDescGZIP() []byte { + file_PhotoStage_proto_rawDescOnce.Do(func() { + file_PhotoStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_PhotoStage_proto_rawDescData) + }) + return file_PhotoStage_proto_rawDescData +} + +var file_PhotoStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PhotoStage_proto_goTypes = []interface{}{ + (*PhotoStage)(nil), // 0: PhotoStage + (*Vector)(nil), // 1: Vector +} +var file_PhotoStage_proto_depIdxs = []int32{ + 1, // 0: PhotoStage.center:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PhotoStage_proto_init() } +func file_PhotoStage_proto_init() { + if File_PhotoStage_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PhotoStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhotoStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PhotoStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PhotoStage_proto_goTypes, + DependencyIndexes: file_PhotoStage_proto_depIdxs, + MessageInfos: file_PhotoStage_proto_msgTypes, + }.Build() + File_PhotoStage_proto = out.File + file_PhotoStage_proto_rawDesc = nil + file_PhotoStage_proto_goTypes = nil + file_PhotoStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PhotoStage.proto b/gate-hk4e-api/proto/PhotoStage.proto new file mode 100644 index 00000000..c3c91077 --- /dev/null +++ b/gate-hk4e-api/proto/PhotoStage.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message PhotoStage { + Vector center = 15; + uint32 open_time = 2; + bool Unk2700_DDOBNKLLLDF = 4; + uint32 Unk2700_CKGJEOOKFIF = 9; + bool is_open = 6; +} diff --git a/gate-hk4e-api/proto/PingReq.pb.go b/gate-hk4e-api/proto/PingReq.pb.go new file mode 100644 index 00000000..62dd43c2 --- /dev/null +++ b/gate-hk4e-api/proto/PingReq.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 7 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientTime uint32 `protobuf:"varint,12,opt,name=client_time,json=clientTime,proto3" json:"client_time,omitempty"` + UeTime float32 `protobuf:"fixed32,14,opt,name=ue_time,json=ueTime,proto3" json:"ue_time,omitempty"` + TotalTickTime float64 `protobuf:"fixed64,6,opt,name=total_tick_time,json=totalTickTime,proto3" json:"total_tick_time,omitempty"` + ScData []byte `protobuf:"bytes,10,opt,name=sc_data,json=scData,proto3" json:"sc_data,omitempty"` + Seq uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` +} + +func (x *PingReq) Reset() { + *x = PingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingReq) ProtoMessage() {} + +func (x *PingReq) ProtoReflect() protoreflect.Message { + mi := &file_PingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingReq.ProtoReflect.Descriptor instead. +func (*PingReq) Descriptor() ([]byte, []int) { + return file_PingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PingReq) GetClientTime() uint32 { + if x != nil { + return x.ClientTime + } + return 0 +} + +func (x *PingReq) GetUeTime() float32 { + if x != nil { + return x.UeTime + } + return 0 +} + +func (x *PingReq) GetTotalTickTime() float64 { + if x != nil { + return x.TotalTickTime + } + return 0 +} + +func (x *PingReq) GetScData() []byte { + if x != nil { + return x.ScData + } + return nil +} + +func (x *PingReq) GetSeq() uint32 { + if x != nil { + return x.Seq + } + return 0 +} + +var File_PingReq_proto protoreflect.FileDescriptor + +var file_PingReq_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x96, 0x01, 0x0a, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x75, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x75, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, + 0x69, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, + 0x07, 0x73, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x73, 0x63, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PingReq_proto_rawDescOnce sync.Once + file_PingReq_proto_rawDescData = file_PingReq_proto_rawDesc +) + +func file_PingReq_proto_rawDescGZIP() []byte { + file_PingReq_proto_rawDescOnce.Do(func() { + file_PingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PingReq_proto_rawDescData) + }) + return file_PingReq_proto_rawDescData +} + +var file_PingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PingReq_proto_goTypes = []interface{}{ + (*PingReq)(nil), // 0: PingReq +} +var file_PingReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PingReq_proto_init() } +func file_PingReq_proto_init() { + if File_PingReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PingReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PingReq_proto_goTypes, + DependencyIndexes: file_PingReq_proto_depIdxs, + MessageInfos: file_PingReq_proto_msgTypes, + }.Build() + File_PingReq_proto = out.File + file_PingReq_proto_rawDesc = nil + file_PingReq_proto_goTypes = nil + file_PingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PingReq.proto b/gate-hk4e-api/proto/PingReq.proto new file mode 100644 index 00000000..4d550049 --- /dev/null +++ b/gate-hk4e-api/proto/PingReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 7 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PingReq { + uint32 client_time = 12; + float ue_time = 14; + double total_tick_time = 6; + bytes sc_data = 10; + uint32 seq = 3; +} diff --git a/gate-hk4e-api/proto/PingRsp.pb.go b/gate-hk4e-api/proto/PingRsp.pb.go new file mode 100644 index 00000000..edba8557 --- /dev/null +++ b/gate-hk4e-api/proto/PingRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21 +// EnetChannelId: 0 +// EnetIsReliable: true +type PingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientTime uint32 `protobuf:"varint,15,opt,name=client_time,json=clientTime,proto3" json:"client_time,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Seq uint32 `protobuf:"varint,13,opt,name=seq,proto3" json:"seq,omitempty"` +} + +func (x *PingRsp) Reset() { + *x = PingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingRsp) ProtoMessage() {} + +func (x *PingRsp) ProtoReflect() protoreflect.Message { + mi := &file_PingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingRsp.ProtoReflect.Descriptor instead. +func (*PingRsp) Descriptor() ([]byte, []int) { + return file_PingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PingRsp) GetClientTime() uint32 { + if x != nil { + return x.ClientTime + } + return 0 +} + +func (x *PingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PingRsp) GetSeq() uint32 { + if x != nil { + return x.Seq + } + return 0 +} + +var File_PingRsp_proto protoreflect.FileDescriptor + +var file_PingRsp_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x56, 0x0a, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x73, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PingRsp_proto_rawDescOnce sync.Once + file_PingRsp_proto_rawDescData = file_PingRsp_proto_rawDesc +) + +func file_PingRsp_proto_rawDescGZIP() []byte { + file_PingRsp_proto_rawDescOnce.Do(func() { + file_PingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PingRsp_proto_rawDescData) + }) + return file_PingRsp_proto_rawDescData +} + +var file_PingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PingRsp_proto_goTypes = []interface{}{ + (*PingRsp)(nil), // 0: PingRsp +} +var file_PingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PingRsp_proto_init() } +func file_PingRsp_proto_init() { + if File_PingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PingRsp_proto_goTypes, + DependencyIndexes: file_PingRsp_proto_depIdxs, + MessageInfos: file_PingRsp_proto_msgTypes, + }.Build() + File_PingRsp_proto = out.File + file_PingRsp_proto_rawDesc = nil + file_PingRsp_proto_goTypes = nil + file_PingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PingRsp.proto b/gate-hk4e-api/proto/PingRsp.proto new file mode 100644 index 00000000..a1c51f03 --- /dev/null +++ b/gate-hk4e-api/proto/PingRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21 +// EnetChannelId: 0 +// EnetIsReliable: true +message PingRsp { + uint32 client_time = 15; + int32 retcode = 6; + uint32 seq = 13; +} diff --git a/gate-hk4e-api/proto/PlaceInfo.pb.go b/gate-hk4e-api/proto/PlaceInfo.pb.go new file mode 100644 index 00000000..304c0699 --- /dev/null +++ b/gate-hk4e-api/proto/PlaceInfo.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlaceInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlaceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,2,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *PlaceInfo) Reset() { + *x = PlaceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlaceInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlaceInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlaceInfo) ProtoMessage() {} + +func (x *PlaceInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlaceInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlaceInfo.ProtoReflect.Descriptor instead. +func (*PlaceInfo) Descriptor() ([]byte, []int) { + return file_PlaceInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlaceInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *PlaceInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_PlaceInfo_proto protoreflect.FileDescriptor + +var file_PlaceInfo_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x41, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, + 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, + 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlaceInfo_proto_rawDescOnce sync.Once + file_PlaceInfo_proto_rawDescData = file_PlaceInfo_proto_rawDesc +) + +func file_PlaceInfo_proto_rawDescGZIP() []byte { + file_PlaceInfo_proto_rawDescOnce.Do(func() { + file_PlaceInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlaceInfo_proto_rawDescData) + }) + return file_PlaceInfo_proto_rawDescData +} + +var file_PlaceInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlaceInfo_proto_goTypes = []interface{}{ + (*PlaceInfo)(nil), // 0: PlaceInfo + (*Vector)(nil), // 1: Vector +} +var file_PlaceInfo_proto_depIdxs = []int32{ + 1, // 0: PlaceInfo.pos:type_name -> Vector + 1, // 1: PlaceInfo.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlaceInfo_proto_init() } +func file_PlaceInfo_proto_init() { + if File_PlaceInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlaceInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlaceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlaceInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlaceInfo_proto_goTypes, + DependencyIndexes: file_PlaceInfo_proto_depIdxs, + MessageInfos: file_PlaceInfo_proto_msgTypes, + }.Build() + File_PlaceInfo_proto = out.File + file_PlaceInfo_proto_rawDesc = nil + file_PlaceInfo_proto_goTypes = nil + file_PlaceInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlaceInfo.proto b/gate-hk4e-api/proto/PlaceInfo.proto new file mode 100644 index 00000000..bcf77291 --- /dev/null +++ b/gate-hk4e-api/proto/PlaceInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message PlaceInfo { + Vector pos = 1; + Vector rot = 2; +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.pb.go b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.pb.go new file mode 100644 index 00000000..b119d767 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerAcceptAllGiveFlowerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8808 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerAcceptAllGiveFlowerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,11,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerAcceptAllGiveFlowerReq) Reset() { + *x = PlantFlowerAcceptAllGiveFlowerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerAcceptAllGiveFlowerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerAcceptAllGiveFlowerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerAcceptAllGiveFlowerReq) ProtoMessage() {} + +func (x *PlantFlowerAcceptAllGiveFlowerReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerAcceptAllGiveFlowerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerAcceptAllGiveFlowerReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerAcceptAllGiveFlowerReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerAcceptAllGiveFlowerReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerAcceptAllGiveFlowerReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x21, 0x50, 0x6c, 0x61, + 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x41, 0x6c, + 0x6c, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescOnce sync.Once + file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescData = file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDesc +) + +func file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescGZIP() []byte { + file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescData) + }) + return file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDescData +} + +var file_PlantFlowerAcceptAllGiveFlowerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerAcceptAllGiveFlowerReq_proto_goTypes = []interface{}{ + (*PlantFlowerAcceptAllGiveFlowerReq)(nil), // 0: PlantFlowerAcceptAllGiveFlowerReq +} +var file_PlantFlowerAcceptAllGiveFlowerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerAcceptAllGiveFlowerReq_proto_init() } +func file_PlantFlowerAcceptAllGiveFlowerReq_proto_init() { + if File_PlantFlowerAcceptAllGiveFlowerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerAcceptAllGiveFlowerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerAcceptAllGiveFlowerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerAcceptAllGiveFlowerReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerAcceptAllGiveFlowerReq_proto_depIdxs, + MessageInfos: file_PlantFlowerAcceptAllGiveFlowerReq_proto_msgTypes, + }.Build() + File_PlantFlowerAcceptAllGiveFlowerReq_proto = out.File + file_PlantFlowerAcceptAllGiveFlowerReq_proto_rawDesc = nil + file_PlantFlowerAcceptAllGiveFlowerReq_proto_goTypes = nil + file_PlantFlowerAcceptAllGiveFlowerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.proto b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.proto new file mode 100644 index 00000000..d5d4d960 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8808 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerAcceptAllGiveFlowerReq { + uint32 schedule_id = 11; +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.pb.go new file mode 100644 index 00000000..8302766c --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerAcceptAllGiveFlowerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8888 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerAcceptAllGiveFlowerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + AcceptFlowerResultInfoList []*PlantFlowerAcceptFlowerResultInfo `protobuf:"bytes,13,rep,name=accept_flower_result_info_list,json=acceptFlowerResultInfoList,proto3" json:"accept_flower_result_info_list,omitempty"` +} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) Reset() { + *x = PlantFlowerAcceptAllGiveFlowerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerAcceptAllGiveFlowerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerAcceptAllGiveFlowerRsp) ProtoMessage() {} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerAcceptAllGiveFlowerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerAcceptAllGiveFlowerRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerAcceptAllGiveFlowerRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerAcceptAllGiveFlowerRsp) GetAcceptFlowerResultInfoList() []*PlantFlowerAcceptFlowerResultInfo { + if x != nil { + return x.AcceptFlowerResultInfoList + } + return nil +} + +var File_PlantFlowerAcceptAllGiveFlowerRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xc6, 0x01, 0x0a, 0x21, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x69, 0x76, 0x65, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x66, 0x0a, 0x1e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x66, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x1a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescOnce sync.Once + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescData = file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDesc +) + +func file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescData) + }) + return file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDescData +} + +var file_PlantFlowerAcceptAllGiveFlowerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerAcceptAllGiveFlowerRsp_proto_goTypes = []interface{}{ + (*PlantFlowerAcceptAllGiveFlowerRsp)(nil), // 0: PlantFlowerAcceptAllGiveFlowerRsp + (*PlantFlowerAcceptFlowerResultInfo)(nil), // 1: PlantFlowerAcceptFlowerResultInfo +} +var file_PlantFlowerAcceptAllGiveFlowerRsp_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerAcceptAllGiveFlowerRsp.accept_flower_result_info_list:type_name -> PlantFlowerAcceptFlowerResultInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerAcceptAllGiveFlowerRsp_proto_init() } +func file_PlantFlowerAcceptAllGiveFlowerRsp_proto_init() { + if File_PlantFlowerAcceptAllGiveFlowerRsp_proto != nil { + return + } + file_PlantFlowerAcceptFlowerResultInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerAcceptAllGiveFlowerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerAcceptAllGiveFlowerRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerAcceptAllGiveFlowerRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerAcceptAllGiveFlowerRsp_proto_msgTypes, + }.Build() + File_PlantFlowerAcceptAllGiveFlowerRsp_proto = out.File + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_rawDesc = nil + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_goTypes = nil + file_PlantFlowerAcceptAllGiveFlowerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto new file mode 100644 index 00000000..c505af0f --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlantFlowerAcceptFlowerResultInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8888 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerAcceptAllGiveFlowerRsp { + uint32 schedule_id = 10; + int32 retcode = 11; + repeated PlantFlowerAcceptFlowerResultInfo accept_flower_result_info_list = 13; +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.pb.go b/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.pb.go new file mode 100644 index 00000000..ca001241 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerAcceptFlowerResultInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlantFlowerAcceptFlowerResultInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnacceptFlowerNumMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=unaccept_flower_num_map,json=unacceptFlowerNumMap,proto3" json:"unaccept_flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + AcceptFlowerNumMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=accept_flower_num_map,json=acceptFlowerNumMap,proto3" json:"accept_flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *PlantFlowerAcceptFlowerResultInfo) Reset() { + *x = PlantFlowerAcceptFlowerResultInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerAcceptFlowerResultInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerAcceptFlowerResultInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerAcceptFlowerResultInfo) ProtoMessage() {} + +func (x *PlantFlowerAcceptFlowerResultInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerAcceptFlowerResultInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerAcceptFlowerResultInfo.ProtoReflect.Descriptor instead. +func (*PlantFlowerAcceptFlowerResultInfo) Descriptor() ([]byte, []int) { + return file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerAcceptFlowerResultInfo) GetUnacceptFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.UnacceptFlowerNumMap + } + return nil +} + +func (x *PlantFlowerAcceptFlowerResultInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlantFlowerAcceptFlowerResultInfo) GetAcceptFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.AcceptFlowerNumMap + } + return nil +} + +var File_PlantFlowerAcceptFlowerResultInfo_proto protoreflect.FileDescriptor + +var file_PlantFlowerAcceptFlowerResultInfo_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x03, 0x0a, 0x21, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x73, 0x0a, 0x17, 0x75, 0x6e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3c, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x6e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, + 0x75, 0x6e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x6d, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x12, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x1a, 0x47, 0x0a, 0x19, 0x55, 0x6e, 0x61, 0x63, 0x63, 0x65, 0x70, + 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x45, + 0x0a, 0x17, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescOnce sync.Once + file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescData = file_PlantFlowerAcceptFlowerResultInfo_proto_rawDesc +) + +func file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescGZIP() []byte { + file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescOnce.Do(func() { + file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescData) + }) + return file_PlantFlowerAcceptFlowerResultInfo_proto_rawDescData +} + +var file_PlantFlowerAcceptFlowerResultInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_PlantFlowerAcceptFlowerResultInfo_proto_goTypes = []interface{}{ + (*PlantFlowerAcceptFlowerResultInfo)(nil), // 0: PlantFlowerAcceptFlowerResultInfo + nil, // 1: PlantFlowerAcceptFlowerResultInfo.UnacceptFlowerNumMapEntry + nil, // 2: PlantFlowerAcceptFlowerResultInfo.AcceptFlowerNumMapEntry +} +var file_PlantFlowerAcceptFlowerResultInfo_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerAcceptFlowerResultInfo.unaccept_flower_num_map:type_name -> PlantFlowerAcceptFlowerResultInfo.UnacceptFlowerNumMapEntry + 2, // 1: PlantFlowerAcceptFlowerResultInfo.accept_flower_num_map:type_name -> PlantFlowerAcceptFlowerResultInfo.AcceptFlowerNumMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlantFlowerAcceptFlowerResultInfo_proto_init() } +func file_PlantFlowerAcceptFlowerResultInfo_proto_init() { + if File_PlantFlowerAcceptFlowerResultInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerAcceptFlowerResultInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerAcceptFlowerResultInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerAcceptFlowerResultInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerAcceptFlowerResultInfo_proto_goTypes, + DependencyIndexes: file_PlantFlowerAcceptFlowerResultInfo_proto_depIdxs, + MessageInfos: file_PlantFlowerAcceptFlowerResultInfo_proto_msgTypes, + }.Build() + File_PlantFlowerAcceptFlowerResultInfo_proto = out.File + file_PlantFlowerAcceptFlowerResultInfo_proto_rawDesc = nil + file_PlantFlowerAcceptFlowerResultInfo_proto_goTypes = nil + file_PlantFlowerAcceptFlowerResultInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.proto b/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.proto new file mode 100644 index 00000000..a71323b7 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptFlowerResultInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlantFlowerAcceptFlowerResultInfo { + map unaccept_flower_num_map = 4; + uint32 uid = 7; + map accept_flower_num_map = 10; +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.pb.go b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.pb.go new file mode 100644 index 00000000..18a25aa3 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerAcceptGiveFlowerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8383 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerAcceptGiveFlowerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Uid uint32 `protobuf:"varint,12,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *PlantFlowerAcceptGiveFlowerReq) Reset() { + *x = PlantFlowerAcceptGiveFlowerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerAcceptGiveFlowerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerAcceptGiveFlowerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerAcceptGiveFlowerReq) ProtoMessage() {} + +func (x *PlantFlowerAcceptGiveFlowerReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerAcceptGiveFlowerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerAcceptGiveFlowerReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerAcceptGiveFlowerReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerAcceptGiveFlowerReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerAcceptGiveFlowerReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_PlantFlowerAcceptGiveFlowerReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerAcceptGiveFlowerReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescOnce sync.Once + file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescData = file_PlantFlowerAcceptGiveFlowerReq_proto_rawDesc +) + +func file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescGZIP() []byte { + file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescData) + }) + return file_PlantFlowerAcceptGiveFlowerReq_proto_rawDescData +} + +var file_PlantFlowerAcceptGiveFlowerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerAcceptGiveFlowerReq_proto_goTypes = []interface{}{ + (*PlantFlowerAcceptGiveFlowerReq)(nil), // 0: PlantFlowerAcceptGiveFlowerReq +} +var file_PlantFlowerAcceptGiveFlowerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerAcceptGiveFlowerReq_proto_init() } +func file_PlantFlowerAcceptGiveFlowerReq_proto_init() { + if File_PlantFlowerAcceptGiveFlowerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerAcceptGiveFlowerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerAcceptGiveFlowerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerAcceptGiveFlowerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerAcceptGiveFlowerReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerAcceptGiveFlowerReq_proto_depIdxs, + MessageInfos: file_PlantFlowerAcceptGiveFlowerReq_proto_msgTypes, + }.Build() + File_PlantFlowerAcceptGiveFlowerReq_proto = out.File + file_PlantFlowerAcceptGiveFlowerReq_proto_rawDesc = nil + file_PlantFlowerAcceptGiveFlowerReq_proto_goTypes = nil + file_PlantFlowerAcceptGiveFlowerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.proto b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.proto new file mode 100644 index 00000000..4fc6a3d5 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8383 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerAcceptGiveFlowerReq { + uint32 schedule_id = 2; + uint32 uid = 12; +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.pb.go new file mode 100644 index 00000000..3cef22ec --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerAcceptGiveFlowerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8567 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerAcceptGiveFlowerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + AcceptFlowerResultInfo *PlantFlowerAcceptFlowerResultInfo `protobuf:"bytes,15,opt,name=accept_flower_result_info,json=acceptFlowerResultInfo,proto3" json:"accept_flower_result_info,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlantFlowerAcceptGiveFlowerRsp) Reset() { + *x = PlantFlowerAcceptGiveFlowerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerAcceptGiveFlowerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerAcceptGiveFlowerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerAcceptGiveFlowerRsp) ProtoMessage() {} + +func (x *PlantFlowerAcceptGiveFlowerRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerAcceptGiveFlowerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerAcceptGiveFlowerRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerAcceptGiveFlowerRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerAcceptGiveFlowerRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerAcceptGiveFlowerRsp) GetAcceptFlowerResultInfo() *PlantFlowerAcceptFlowerResultInfo { + if x != nil { + return x.AcceptFlowerResultInfo + } + return nil +} + +func (x *PlantFlowerAcceptGiveFlowerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlantFlowerAcceptGiveFlowerRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xba, 0x01, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x47, 0x69, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x19, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x66, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x61, 0x63, 0x63, 0x65, + 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescOnce sync.Once + file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescData = file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDesc +) + +func file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescData) + }) + return file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDescData +} + +var file_PlantFlowerAcceptGiveFlowerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerAcceptGiveFlowerRsp_proto_goTypes = []interface{}{ + (*PlantFlowerAcceptGiveFlowerRsp)(nil), // 0: PlantFlowerAcceptGiveFlowerRsp + (*PlantFlowerAcceptFlowerResultInfo)(nil), // 1: PlantFlowerAcceptFlowerResultInfo +} +var file_PlantFlowerAcceptGiveFlowerRsp_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerAcceptGiveFlowerRsp.accept_flower_result_info:type_name -> PlantFlowerAcceptFlowerResultInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerAcceptGiveFlowerRsp_proto_init() } +func file_PlantFlowerAcceptGiveFlowerRsp_proto_init() { + if File_PlantFlowerAcceptGiveFlowerRsp_proto != nil { + return + } + file_PlantFlowerAcceptFlowerResultInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerAcceptGiveFlowerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerAcceptGiveFlowerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerAcceptGiveFlowerRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerAcceptGiveFlowerRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerAcceptGiveFlowerRsp_proto_msgTypes, + }.Build() + File_PlantFlowerAcceptGiveFlowerRsp_proto = out.File + file_PlantFlowerAcceptGiveFlowerRsp_proto_rawDesc = nil + file_PlantFlowerAcceptGiveFlowerRsp_proto_goTypes = nil + file_PlantFlowerAcceptGiveFlowerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.proto b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.proto new file mode 100644 index 00000000..b993e464 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerAcceptGiveFlowerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlantFlowerAcceptFlowerResultInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8567 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerAcceptGiveFlowerRsp { + uint32 schedule_id = 1; + PlantFlowerAcceptFlowerResultInfo accept_flower_result_info = 15; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.pb.go b/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.pb.go new file mode 100644 index 00000000..3949b149 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.pb.go @@ -0,0 +1,234 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlantFlowerActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsContentClosed bool `protobuf:"varint,3,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + WishFlowerNumMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=wish_flower_num_map,json=wishFlowerNumMap,proto3" json:"wish_flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TodaySeedRewardId uint32 `protobuf:"varint,11,opt,name=today_seed_reward_id,json=todaySeedRewardId,proto3" json:"today_seed_reward_id,omitempty"` + DayIndex uint32 `protobuf:"varint,1,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` + IsTodayHasAwarded bool `protobuf:"varint,13,opt,name=is_today_has_awarded,json=isTodayHasAwarded,proto3" json:"is_today_has_awarded,omitempty"` + UsedFlowerNumMap map[uint32]uint32 `protobuf:"bytes,7,rep,name=used_flower_num_map,json=usedFlowerNumMap,proto3" json:"used_flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *PlantFlowerActivityDetailInfo) Reset() { + *x = PlantFlowerActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerActivityDetailInfo) ProtoMessage() {} + +func (x *PlantFlowerActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*PlantFlowerActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_PlantFlowerActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *PlantFlowerActivityDetailInfo) GetWishFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.WishFlowerNumMap + } + return nil +} + +func (x *PlantFlowerActivityDetailInfo) GetTodaySeedRewardId() uint32 { + if x != nil { + return x.TodaySeedRewardId + } + return 0 +} + +func (x *PlantFlowerActivityDetailInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +func (x *PlantFlowerActivityDetailInfo) GetIsTodayHasAwarded() bool { + if x != nil { + return x.IsTodayHasAwarded + } + return false +} + +func (x *PlantFlowerActivityDetailInfo) GetUsedFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.UsedFlowerNumMap + } + return nil +} + +var File_PlantFlowerActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_PlantFlowerActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x04, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x64, 0x12, 0x63, 0x0a, 0x13, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x57, 0x69, 0x73, 0x68, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x77, 0x69, 0x73, 0x68, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2f, 0x0a, 0x14, 0x74, 0x6f, 0x64, 0x61, + 0x79, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x53, 0x65, 0x65, + 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x79, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x61, + 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x64, + 0x61, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x48, 0x61, 0x73, + 0x41, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x12, 0x63, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x64, 0x5f, + 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x75, 0x73, 0x65, 0x64, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x1a, 0x43, 0x0a, 0x15, + 0x57, 0x69, 0x73, 0x68, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerActivityDetailInfo_proto_rawDescOnce sync.Once + file_PlantFlowerActivityDetailInfo_proto_rawDescData = file_PlantFlowerActivityDetailInfo_proto_rawDesc +) + +func file_PlantFlowerActivityDetailInfo_proto_rawDescGZIP() []byte { + file_PlantFlowerActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_PlantFlowerActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerActivityDetailInfo_proto_rawDescData) + }) + return file_PlantFlowerActivityDetailInfo_proto_rawDescData +} + +var file_PlantFlowerActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_PlantFlowerActivityDetailInfo_proto_goTypes = []interface{}{ + (*PlantFlowerActivityDetailInfo)(nil), // 0: PlantFlowerActivityDetailInfo + nil, // 1: PlantFlowerActivityDetailInfo.WishFlowerNumMapEntry + nil, // 2: PlantFlowerActivityDetailInfo.UsedFlowerNumMapEntry +} +var file_PlantFlowerActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerActivityDetailInfo.wish_flower_num_map:type_name -> PlantFlowerActivityDetailInfo.WishFlowerNumMapEntry + 2, // 1: PlantFlowerActivityDetailInfo.used_flower_num_map:type_name -> PlantFlowerActivityDetailInfo.UsedFlowerNumMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlantFlowerActivityDetailInfo_proto_init() } +func file_PlantFlowerActivityDetailInfo_proto_init() { + if File_PlantFlowerActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_PlantFlowerActivityDetailInfo_proto_depIdxs, + MessageInfos: file_PlantFlowerActivityDetailInfo_proto_msgTypes, + }.Build() + File_PlantFlowerActivityDetailInfo_proto = out.File + file_PlantFlowerActivityDetailInfo_proto_rawDesc = nil + file_PlantFlowerActivityDetailInfo_proto_goTypes = nil + file_PlantFlowerActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.proto b/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.proto new file mode 100644 index 00000000..7bee912c --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlantFlowerActivityDetailInfo { + bool is_content_closed = 3; + map wish_flower_num_map = 10; + uint32 today_seed_reward_id = 11; + uint32 day_index = 1; + bool is_today_has_awarded = 13; + map used_flower_num_map = 7; +} diff --git a/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.pb.go b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.pb.go new file mode 100644 index 00000000..dc5cb16d --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerEditFlowerCombinationReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8843 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerEditFlowerCombinationReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlowerCombinationInfo *CustomGadgetTreeInfo `protobuf:"bytes,10,opt,name=flower_combination_info,json=flowerCombinationInfo,proto3" json:"flower_combination_info,omitempty"` + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,9,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerEditFlowerCombinationReq) Reset() { + *x = PlantFlowerEditFlowerCombinationReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerEditFlowerCombinationReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerEditFlowerCombinationReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerEditFlowerCombinationReq) ProtoMessage() {} + +func (x *PlantFlowerEditFlowerCombinationReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerEditFlowerCombinationReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerEditFlowerCombinationReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerEditFlowerCombinationReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerEditFlowerCombinationReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerEditFlowerCombinationReq) GetFlowerCombinationInfo() *CustomGadgetTreeInfo { + if x != nil { + return x.FlowerCombinationInfo + } + return nil +} + +func (x *PlantFlowerEditFlowerCombinationReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *PlantFlowerEditFlowerCombinationReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerEditFlowerCombinationReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerEditFlowerCombinationReq_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x64, 0x69, + 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x6e, + 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x64, 0x69, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, + 0x4d, 0x0a, 0x17, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, + 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x15, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x43, + 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerEditFlowerCombinationReq_proto_rawDescOnce sync.Once + file_PlantFlowerEditFlowerCombinationReq_proto_rawDescData = file_PlantFlowerEditFlowerCombinationReq_proto_rawDesc +) + +func file_PlantFlowerEditFlowerCombinationReq_proto_rawDescGZIP() []byte { + file_PlantFlowerEditFlowerCombinationReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerEditFlowerCombinationReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerEditFlowerCombinationReq_proto_rawDescData) + }) + return file_PlantFlowerEditFlowerCombinationReq_proto_rawDescData +} + +var file_PlantFlowerEditFlowerCombinationReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerEditFlowerCombinationReq_proto_goTypes = []interface{}{ + (*PlantFlowerEditFlowerCombinationReq)(nil), // 0: PlantFlowerEditFlowerCombinationReq + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_PlantFlowerEditFlowerCombinationReq_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerEditFlowerCombinationReq.flower_combination_info:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerEditFlowerCombinationReq_proto_init() } +func file_PlantFlowerEditFlowerCombinationReq_proto_init() { + if File_PlantFlowerEditFlowerCombinationReq_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerEditFlowerCombinationReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerEditFlowerCombinationReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerEditFlowerCombinationReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerEditFlowerCombinationReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerEditFlowerCombinationReq_proto_depIdxs, + MessageInfos: file_PlantFlowerEditFlowerCombinationReq_proto_msgTypes, + }.Build() + File_PlantFlowerEditFlowerCombinationReq_proto = out.File + file_PlantFlowerEditFlowerCombinationReq_proto_rawDesc = nil + file_PlantFlowerEditFlowerCombinationReq_proto_goTypes = nil + file_PlantFlowerEditFlowerCombinationReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.proto b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.proto new file mode 100644 index 00000000..8ec632c1 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8843 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerEditFlowerCombinationReq { + CustomGadgetTreeInfo flower_combination_info = 10; + uint32 entity_id = 14; + uint32 schedule_id = 9; +} diff --git a/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.pb.go new file mode 100644 index 00000000..6af66906 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerEditFlowerCombinationRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8788 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerEditFlowerCombinationRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlantFlowerEditFlowerCombinationRsp) Reset() { + *x = PlantFlowerEditFlowerCombinationRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerEditFlowerCombinationRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerEditFlowerCombinationRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerEditFlowerCombinationRsp) ProtoMessage() {} + +func (x *PlantFlowerEditFlowerCombinationRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerEditFlowerCombinationRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerEditFlowerCombinationRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerEditFlowerCombinationRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerEditFlowerCombinationRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerEditFlowerCombinationRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlantFlowerEditFlowerCombinationRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerEditFlowerCombinationRsp_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x64, 0x69, + 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x23, 0x50, + 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x64, 0x69, 0x74, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescOnce sync.Once + file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescData = file_PlantFlowerEditFlowerCombinationRsp_proto_rawDesc +) + +func file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescData) + }) + return file_PlantFlowerEditFlowerCombinationRsp_proto_rawDescData +} + +var file_PlantFlowerEditFlowerCombinationRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerEditFlowerCombinationRsp_proto_goTypes = []interface{}{ + (*PlantFlowerEditFlowerCombinationRsp)(nil), // 0: PlantFlowerEditFlowerCombinationRsp +} +var file_PlantFlowerEditFlowerCombinationRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerEditFlowerCombinationRsp_proto_init() } +func file_PlantFlowerEditFlowerCombinationRsp_proto_init() { + if File_PlantFlowerEditFlowerCombinationRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerEditFlowerCombinationRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerEditFlowerCombinationRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerEditFlowerCombinationRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerEditFlowerCombinationRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerEditFlowerCombinationRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerEditFlowerCombinationRsp_proto_msgTypes, + }.Build() + File_PlantFlowerEditFlowerCombinationRsp_proto = out.File + file_PlantFlowerEditFlowerCombinationRsp_proto_rawDesc = nil + file_PlantFlowerEditFlowerCombinationRsp_proto_goTypes = nil + file_PlantFlowerEditFlowerCombinationRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.proto b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.proto new file mode 100644 index 00000000..178e0f62 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerEditFlowerCombinationRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8788 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerEditFlowerCombinationRsp { + uint32 schedule_id = 13; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.pb.go b/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.pb.go new file mode 100644 index 00000000..3fc91e42 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerFriendFlowerWishData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlantFlowerFriendFlowerWishData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,3,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,14,opt,name=nickname,proto3" json:"nickname,omitempty"` + FlowerNumMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=flower_num_map,json=flowerNumMap,proto3" json:"flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *PlantFlowerFriendFlowerWishData) Reset() { + *x = PlantFlowerFriendFlowerWishData{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerFriendFlowerWishData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerFriendFlowerWishData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerFriendFlowerWishData) ProtoMessage() {} + +func (x *PlantFlowerFriendFlowerWishData) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerFriendFlowerWishData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerFriendFlowerWishData.ProtoReflect.Descriptor instead. +func (*PlantFlowerFriendFlowerWishData) Descriptor() ([]byte, []int) { + return file_PlantFlowerFriendFlowerWishData_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerFriendFlowerWishData) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *PlantFlowerFriendFlowerWishData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlantFlowerFriendFlowerWishData) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *PlantFlowerFriendFlowerWishData) GetFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.FlowerNumMap + } + return nil +} + +var File_PlantFlowerFriendFlowerWishData_proto protoreflect.FileDescriptor + +var file_PlantFlowerFriendFlowerWishData_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x44, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x02, + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, + 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x66, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, + 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerFriendFlowerWishData_proto_rawDescOnce sync.Once + file_PlantFlowerFriendFlowerWishData_proto_rawDescData = file_PlantFlowerFriendFlowerWishData_proto_rawDesc +) + +func file_PlantFlowerFriendFlowerWishData_proto_rawDescGZIP() []byte { + file_PlantFlowerFriendFlowerWishData_proto_rawDescOnce.Do(func() { + file_PlantFlowerFriendFlowerWishData_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerFriendFlowerWishData_proto_rawDescData) + }) + return file_PlantFlowerFriendFlowerWishData_proto_rawDescData +} + +var file_PlantFlowerFriendFlowerWishData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlantFlowerFriendFlowerWishData_proto_goTypes = []interface{}{ + (*PlantFlowerFriendFlowerWishData)(nil), // 0: PlantFlowerFriendFlowerWishData + nil, // 1: PlantFlowerFriendFlowerWishData.FlowerNumMapEntry + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_PlantFlowerFriendFlowerWishData_proto_depIdxs = []int32{ + 2, // 0: PlantFlowerFriendFlowerWishData.profile_picture:type_name -> ProfilePicture + 1, // 1: PlantFlowerFriendFlowerWishData.flower_num_map:type_name -> PlantFlowerFriendFlowerWishData.FlowerNumMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlantFlowerFriendFlowerWishData_proto_init() } +func file_PlantFlowerFriendFlowerWishData_proto_init() { + if File_PlantFlowerFriendFlowerWishData_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerFriendFlowerWishData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerFriendFlowerWishData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerFriendFlowerWishData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerFriendFlowerWishData_proto_goTypes, + DependencyIndexes: file_PlantFlowerFriendFlowerWishData_proto_depIdxs, + MessageInfos: file_PlantFlowerFriendFlowerWishData_proto_msgTypes, + }.Build() + File_PlantFlowerFriendFlowerWishData_proto = out.File + file_PlantFlowerFriendFlowerWishData_proto_rawDesc = nil + file_PlantFlowerFriendFlowerWishData_proto_goTypes = nil + file_PlantFlowerFriendFlowerWishData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.proto b/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.proto new file mode 100644 index 00000000..3c45a515 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerFriendFlowerWishData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message PlantFlowerFriendFlowerWishData { + ProfilePicture profile_picture = 3; + uint32 uid = 5; + string nickname = 14; + map flower_num_map = 12; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.pb.go b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.pb.go new file mode 100644 index 00000000..1daa2555 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetCanGiveFriendFlowerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8716 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerGetCanGiveFriendFlowerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,15,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerGetCanGiveFriendFlowerReq) Reset() { + *x = PlantFlowerGetCanGiveFriendFlowerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetCanGiveFriendFlowerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetCanGiveFriendFlowerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetCanGiveFriendFlowerReq) ProtoMessage() {} + +func (x *PlantFlowerGetCanGiveFriendFlowerReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetCanGiveFriendFlowerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetCanGiveFriendFlowerReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetCanGiveFriendFlowerReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetCanGiveFriendFlowerReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerGetCanGiveFriendFlowerReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x43, 0x61, 0x6e, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x24, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescOnce sync.Once + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescData = file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDesc +) + +func file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescGZIP() []byte { + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescData) + }) + return file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDescData +} + +var file_PlantFlowerGetCanGiveFriendFlowerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetCanGiveFriendFlowerReq_proto_goTypes = []interface{}{ + (*PlantFlowerGetCanGiveFriendFlowerReq)(nil), // 0: PlantFlowerGetCanGiveFriendFlowerReq +} +var file_PlantFlowerGetCanGiveFriendFlowerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetCanGiveFriendFlowerReq_proto_init() } +func file_PlantFlowerGetCanGiveFriendFlowerReq_proto_init() { + if File_PlantFlowerGetCanGiveFriendFlowerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetCanGiveFriendFlowerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetCanGiveFriendFlowerReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetCanGiveFriendFlowerReq_proto_depIdxs, + MessageInfos: file_PlantFlowerGetCanGiveFriendFlowerReq_proto_msgTypes, + }.Build() + File_PlantFlowerGetCanGiveFriendFlowerReq_proto = out.File + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_rawDesc = nil + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_goTypes = nil + file_PlantFlowerGetCanGiveFriendFlowerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto new file mode 100644 index 00000000..328bc678 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8716 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerGetCanGiveFriendFlowerReq { + uint32 schedule_id = 15; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.pb.go new file mode 100644 index 00000000..ab1f76ae --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetCanGiveFriendFlowerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8766 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerGetCanGiveFriendFlowerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlowerNumMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=flower_num_map,json=flowerNumMap,proto3" json:"flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ScheduleId uint32 `protobuf:"varint,4,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) Reset() { + *x = PlantFlowerGetCanGiveFriendFlowerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetCanGiveFriendFlowerRsp) ProtoMessage() {} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetCanGiveFriendFlowerRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetCanGiveFriendFlowerRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) GetFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.FlowerNumMap + } + return nil +} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerGetCanGiveFriendFlowerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlantFlowerGetCanGiveFriendFlowerRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x43, 0x61, 0x6e, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x02, 0x0a, + 0x24, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x6e, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x5d, 0x0a, 0x0e, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, + 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, + 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x52, 0x73, 0x70, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, + 0x3f, 0x0a, 0x11, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescOnce sync.Once + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescData = file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDesc +) + +func file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescData) + }) + return file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDescData +} + +var file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_goTypes = []interface{}{ + (*PlantFlowerGetCanGiveFriendFlowerRsp)(nil), // 0: PlantFlowerGetCanGiveFriendFlowerRsp + nil, // 1: PlantFlowerGetCanGiveFriendFlowerRsp.FlowerNumMapEntry +} +var file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerGetCanGiveFriendFlowerRsp.flower_num_map:type_name -> PlantFlowerGetCanGiveFriendFlowerRsp.FlowerNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_init() } +func file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_init() { + if File_PlantFlowerGetCanGiveFriendFlowerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetCanGiveFriendFlowerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_msgTypes, + }.Build() + File_PlantFlowerGetCanGiveFriendFlowerRsp_proto = out.File + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_rawDesc = nil + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_goTypes = nil + file_PlantFlowerGetCanGiveFriendFlowerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto new file mode 100644 index 00000000..78497328 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8766 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerGetCanGiveFriendFlowerRsp { + map flower_num_map = 6; + uint32 schedule_id = 4; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.pb.go b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.pb.go new file mode 100644 index 00000000..b7b01627 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetFriendFlowerWishListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerGetFriendFlowerWishListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerGetFriendFlowerWishListReq) Reset() { + *x = PlantFlowerGetFriendFlowerWishListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetFriendFlowerWishListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetFriendFlowerWishListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetFriendFlowerWishListReq) ProtoMessage() {} + +func (x *PlantFlowerGetFriendFlowerWishListReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetFriendFlowerWishListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetFriendFlowerWishListReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetFriendFlowerWishListReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetFriendFlowerWishListReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerGetFriendFlowerWishListReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, + 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescOnce sync.Once + file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescData = file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDesc +) + +func file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescGZIP() []byte { + file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescData) + }) + return file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDescData +} + +var file_PlantFlowerGetFriendFlowerWishListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetFriendFlowerWishListReq_proto_goTypes = []interface{}{ + (*PlantFlowerGetFriendFlowerWishListReq)(nil), // 0: PlantFlowerGetFriendFlowerWishListReq +} +var file_PlantFlowerGetFriendFlowerWishListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetFriendFlowerWishListReq_proto_init() } +func file_PlantFlowerGetFriendFlowerWishListReq_proto_init() { + if File_PlantFlowerGetFriendFlowerWishListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetFriendFlowerWishListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetFriendFlowerWishListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetFriendFlowerWishListReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetFriendFlowerWishListReq_proto_depIdxs, + MessageInfos: file_PlantFlowerGetFriendFlowerWishListReq_proto_msgTypes, + }.Build() + File_PlantFlowerGetFriendFlowerWishListReq_proto = out.File + file_PlantFlowerGetFriendFlowerWishListReq_proto_rawDesc = nil + file_PlantFlowerGetFriendFlowerWishListReq_proto_goTypes = nil + file_PlantFlowerGetFriendFlowerWishListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.proto b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.proto new file mode 100644 index 00000000..68177c1c --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerGetFriendFlowerWishListReq { + uint32 schedule_id = 7; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.pb.go new file mode 100644 index 00000000..02e3eda3 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetFriendFlowerWishListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8511 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerGetFriendFlowerWishListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + FriendFlowerWishList []*PlantFlowerFriendFlowerWishData `protobuf:"bytes,9,rep,name=friend_flower_wish_list,json=friendFlowerWishList,proto3" json:"friend_flower_wish_list,omitempty"` +} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) Reset() { + *x = PlantFlowerGetFriendFlowerWishListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetFriendFlowerWishListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetFriendFlowerWishListRsp) ProtoMessage() {} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetFriendFlowerWishListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetFriendFlowerWishListRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetFriendFlowerWishListRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerGetFriendFlowerWishListRsp) GetFriendFlowerWishList() []*PlantFlowerFriendFlowerWishData { + if x != nil { + return x.FriendFlowerWishList + } + return nil +} + +var File_PlantFlowerGetFriendFlowerWishListRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x50, + 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x17, 0x66, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x77, 0x69, 0x73, 0x68, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x50, 0x6c, 0x61, + 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x14, 0x66, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescOnce sync.Once + file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescData = file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDesc +) + +func file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescData) + }) + return file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDescData +} + +var file_PlantFlowerGetFriendFlowerWishListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetFriendFlowerWishListRsp_proto_goTypes = []interface{}{ + (*PlantFlowerGetFriendFlowerWishListRsp)(nil), // 0: PlantFlowerGetFriendFlowerWishListRsp + (*PlantFlowerFriendFlowerWishData)(nil), // 1: PlantFlowerFriendFlowerWishData +} +var file_PlantFlowerGetFriendFlowerWishListRsp_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerGetFriendFlowerWishListRsp.friend_flower_wish_list:type_name -> PlantFlowerFriendFlowerWishData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetFriendFlowerWishListRsp_proto_init() } +func file_PlantFlowerGetFriendFlowerWishListRsp_proto_init() { + if File_PlantFlowerGetFriendFlowerWishListRsp_proto != nil { + return + } + file_PlantFlowerFriendFlowerWishData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetFriendFlowerWishListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetFriendFlowerWishListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetFriendFlowerWishListRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetFriendFlowerWishListRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerGetFriendFlowerWishListRsp_proto_msgTypes, + }.Build() + File_PlantFlowerGetFriendFlowerWishListRsp_proto = out.File + file_PlantFlowerGetFriendFlowerWishListRsp_proto_rawDesc = nil + file_PlantFlowerGetFriendFlowerWishListRsp_proto_goTypes = nil + file_PlantFlowerGetFriendFlowerWishListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.proto b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.proto new file mode 100644 index 00000000..af16fc8c --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetFriendFlowerWishListRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlantFlowerFriendFlowerWishData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8511 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerGetFriendFlowerWishListRsp { + int32 retcode = 6; + uint32 schedule_id = 2; + repeated PlantFlowerFriendFlowerWishData friend_flower_wish_list = 9; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.pb.go b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.pb.go new file mode 100644 index 00000000..910f11e1 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetRecvFlowerListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8270 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerGetRecvFlowerListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerGetRecvFlowerListReq) Reset() { + *x = PlantFlowerGetRecvFlowerListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetRecvFlowerListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetRecvFlowerListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetRecvFlowerListReq) ProtoMessage() {} + +func (x *PlantFlowerGetRecvFlowerListReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetRecvFlowerListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetRecvFlowerListReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetRecvFlowerListReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetRecvFlowerListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetRecvFlowerListReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerGetRecvFlowerListReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetRecvFlowerListReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetRecvFlowerListReq_proto_rawDescOnce sync.Once + file_PlantFlowerGetRecvFlowerListReq_proto_rawDescData = file_PlantFlowerGetRecvFlowerListReq_proto_rawDesc +) + +func file_PlantFlowerGetRecvFlowerListReq_proto_rawDescGZIP() []byte { + file_PlantFlowerGetRecvFlowerListReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetRecvFlowerListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetRecvFlowerListReq_proto_rawDescData) + }) + return file_PlantFlowerGetRecvFlowerListReq_proto_rawDescData +} + +var file_PlantFlowerGetRecvFlowerListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetRecvFlowerListReq_proto_goTypes = []interface{}{ + (*PlantFlowerGetRecvFlowerListReq)(nil), // 0: PlantFlowerGetRecvFlowerListReq +} +var file_PlantFlowerGetRecvFlowerListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetRecvFlowerListReq_proto_init() } +func file_PlantFlowerGetRecvFlowerListReq_proto_init() { + if File_PlantFlowerGetRecvFlowerListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetRecvFlowerListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetRecvFlowerListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetRecvFlowerListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetRecvFlowerListReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetRecvFlowerListReq_proto_depIdxs, + MessageInfos: file_PlantFlowerGetRecvFlowerListReq_proto_msgTypes, + }.Build() + File_PlantFlowerGetRecvFlowerListReq_proto = out.File + file_PlantFlowerGetRecvFlowerListReq_proto_rawDesc = nil + file_PlantFlowerGetRecvFlowerListReq_proto_goTypes = nil + file_PlantFlowerGetRecvFlowerListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.proto b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.proto new file mode 100644 index 00000000..5d71fe46 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8270 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerGetRecvFlowerListReq { + uint32 schedule_id = 1; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.pb.go new file mode 100644 index 00000000..68be16fc --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetRecvFlowerListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8374 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerGetRecvFlowerListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,6,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + RecvFlowerList []*PlantFlowerRecvFlowerData `protobuf:"bytes,4,rep,name=recv_flower_list,json=recvFlowerList,proto3" json:"recv_flower_list,omitempty"` +} + +func (x *PlantFlowerGetRecvFlowerListRsp) Reset() { + *x = PlantFlowerGetRecvFlowerListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetRecvFlowerListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetRecvFlowerListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetRecvFlowerListRsp) ProtoMessage() {} + +func (x *PlantFlowerGetRecvFlowerListRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetRecvFlowerListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetRecvFlowerListRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetRecvFlowerListRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetRecvFlowerListRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerGetRecvFlowerListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerGetRecvFlowerListRsp) GetRecvFlowerList() []*PlantFlowerRecvFlowerData { + if x != nil { + return x.RecvFlowerList + } + return nil +} + +var File_PlantFlowerGetRecvFlowerListRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetRecvFlowerListRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x1f, 0x50, 0x6c, 0x61, + 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x76, 0x5f, + 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, + 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x72, + 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescOnce sync.Once + file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescData = file_PlantFlowerGetRecvFlowerListRsp_proto_rawDesc +) + +func file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescData) + }) + return file_PlantFlowerGetRecvFlowerListRsp_proto_rawDescData +} + +var file_PlantFlowerGetRecvFlowerListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetRecvFlowerListRsp_proto_goTypes = []interface{}{ + (*PlantFlowerGetRecvFlowerListRsp)(nil), // 0: PlantFlowerGetRecvFlowerListRsp + (*PlantFlowerRecvFlowerData)(nil), // 1: PlantFlowerRecvFlowerData +} +var file_PlantFlowerGetRecvFlowerListRsp_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerGetRecvFlowerListRsp.recv_flower_list:type_name -> PlantFlowerRecvFlowerData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetRecvFlowerListRsp_proto_init() } +func file_PlantFlowerGetRecvFlowerListRsp_proto_init() { + if File_PlantFlowerGetRecvFlowerListRsp_proto != nil { + return + } + file_PlantFlowerRecvFlowerData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetRecvFlowerListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetRecvFlowerListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetRecvFlowerListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetRecvFlowerListRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetRecvFlowerListRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerGetRecvFlowerListRsp_proto_msgTypes, + }.Build() + File_PlantFlowerGetRecvFlowerListRsp_proto = out.File + file_PlantFlowerGetRecvFlowerListRsp_proto_rawDesc = nil + file_PlantFlowerGetRecvFlowerListRsp_proto_goTypes = nil + file_PlantFlowerGetRecvFlowerListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.proto b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.proto new file mode 100644 index 00000000..1dc6eb36 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetRecvFlowerListRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlantFlowerRecvFlowerData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8374 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerGetRecvFlowerListRsp { + uint32 schedule_id = 6; + int32 retcode = 1; + repeated PlantFlowerRecvFlowerData recv_flower_list = 4; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.pb.go b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.pb.go new file mode 100644 index 00000000..a9d2cf8e --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetSeedInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8560 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerGetSeedInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,6,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerGetSeedInfoReq) Reset() { + *x = PlantFlowerGetSeedInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetSeedInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetSeedInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetSeedInfoReq) ProtoMessage() {} + +func (x *PlantFlowerGetSeedInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetSeedInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetSeedInfoReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetSeedInfoReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetSeedInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetSeedInfoReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerGetSeedInfoReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetSeedInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x53, 0x65, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3c, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x47, 0x65, 0x74, 0x53, 0x65, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetSeedInfoReq_proto_rawDescOnce sync.Once + file_PlantFlowerGetSeedInfoReq_proto_rawDescData = file_PlantFlowerGetSeedInfoReq_proto_rawDesc +) + +func file_PlantFlowerGetSeedInfoReq_proto_rawDescGZIP() []byte { + file_PlantFlowerGetSeedInfoReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetSeedInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetSeedInfoReq_proto_rawDescData) + }) + return file_PlantFlowerGetSeedInfoReq_proto_rawDescData +} + +var file_PlantFlowerGetSeedInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetSeedInfoReq_proto_goTypes = []interface{}{ + (*PlantFlowerGetSeedInfoReq)(nil), // 0: PlantFlowerGetSeedInfoReq +} +var file_PlantFlowerGetSeedInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetSeedInfoReq_proto_init() } +func file_PlantFlowerGetSeedInfoReq_proto_init() { + if File_PlantFlowerGetSeedInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetSeedInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetSeedInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetSeedInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetSeedInfoReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetSeedInfoReq_proto_depIdxs, + MessageInfos: file_PlantFlowerGetSeedInfoReq_proto_msgTypes, + }.Build() + File_PlantFlowerGetSeedInfoReq_proto = out.File + file_PlantFlowerGetSeedInfoReq_proto_rawDesc = nil + file_PlantFlowerGetSeedInfoReq_proto_goTypes = nil + file_PlantFlowerGetSeedInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.proto b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.proto new file mode 100644 index 00000000..ff606af5 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8560 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerGetSeedInfoReq { + uint32 schedule_id = 6; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.pb.go new file mode 100644 index 00000000..cb7c6797 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGetSeedInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8764 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerGetSeedInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,12,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + SeedRewardId uint32 `protobuf:"varint,5,opt,name=seed_reward_id,json=seedRewardId,proto3" json:"seed_reward_id,omitempty"` +} + +func (x *PlantFlowerGetSeedInfoRsp) Reset() { + *x = PlantFlowerGetSeedInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGetSeedInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGetSeedInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGetSeedInfoRsp) ProtoMessage() {} + +func (x *PlantFlowerGetSeedInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGetSeedInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGetSeedInfoRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerGetSeedInfoRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerGetSeedInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGetSeedInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerGetSeedInfoRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerGetSeedInfoRsp) GetSeedRewardId() uint32 { + if x != nil { + return x.SeedRewardId + } + return 0 +} + +var File_PlantFlowerGetSeedInfoRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerGetSeedInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, + 0x53, 0x65, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x7c, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x47, 0x65, 0x74, 0x53, 0x65, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x65, + 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGetSeedInfoRsp_proto_rawDescOnce sync.Once + file_PlantFlowerGetSeedInfoRsp_proto_rawDescData = file_PlantFlowerGetSeedInfoRsp_proto_rawDesc +) + +func file_PlantFlowerGetSeedInfoRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerGetSeedInfoRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerGetSeedInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGetSeedInfoRsp_proto_rawDescData) + }) + return file_PlantFlowerGetSeedInfoRsp_proto_rawDescData +} + +var file_PlantFlowerGetSeedInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGetSeedInfoRsp_proto_goTypes = []interface{}{ + (*PlantFlowerGetSeedInfoRsp)(nil), // 0: PlantFlowerGetSeedInfoRsp +} +var file_PlantFlowerGetSeedInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGetSeedInfoRsp_proto_init() } +func file_PlantFlowerGetSeedInfoRsp_proto_init() { + if File_PlantFlowerGetSeedInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGetSeedInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGetSeedInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGetSeedInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGetSeedInfoRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerGetSeedInfoRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerGetSeedInfoRsp_proto_msgTypes, + }.Build() + File_PlantFlowerGetSeedInfoRsp_proto = out.File + file_PlantFlowerGetSeedInfoRsp_proto_rawDesc = nil + file_PlantFlowerGetSeedInfoRsp_proto_goTypes = nil + file_PlantFlowerGetSeedInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.proto b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.proto new file mode 100644 index 00000000..aaac5315 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGetSeedInfoRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8764 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerGetSeedInfoRsp { + int32 retcode = 15; + uint32 schedule_id = 12; + uint32 seed_reward_id = 5; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.pb.go b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.pb.go new file mode 100644 index 00000000..40a0aba8 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGiveFriendFlowerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8846 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerGiveFriendFlowerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,11,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Uid uint32 `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"` + FlowerNumMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=flower_num_map,json=flowerNumMap,proto3" json:"flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *PlantFlowerGiveFriendFlowerReq) Reset() { + *x = PlantFlowerGiveFriendFlowerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGiveFriendFlowerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGiveFriendFlowerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGiveFriendFlowerReq) ProtoMessage() {} + +func (x *PlantFlowerGiveFriendFlowerReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGiveFriendFlowerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGiveFriendFlowerReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerGiveFriendFlowerReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerGiveFriendFlowerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGiveFriendFlowerReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerGiveFriendFlowerReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlantFlowerGiveFriendFlowerReq) GetFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.FlowerNumMap + } + return nil +} + +var File_PlantFlowerGiveFriendFlowerReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerGiveFriendFlowerReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x69, 0x76, + 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x57, 0x0a, 0x0e, + 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGiveFriendFlowerReq_proto_rawDescOnce sync.Once + file_PlantFlowerGiveFriendFlowerReq_proto_rawDescData = file_PlantFlowerGiveFriendFlowerReq_proto_rawDesc +) + +func file_PlantFlowerGiveFriendFlowerReq_proto_rawDescGZIP() []byte { + file_PlantFlowerGiveFriendFlowerReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerGiveFriendFlowerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGiveFriendFlowerReq_proto_rawDescData) + }) + return file_PlantFlowerGiveFriendFlowerReq_proto_rawDescData +} + +var file_PlantFlowerGiveFriendFlowerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlantFlowerGiveFriendFlowerReq_proto_goTypes = []interface{}{ + (*PlantFlowerGiveFriendFlowerReq)(nil), // 0: PlantFlowerGiveFriendFlowerReq + nil, // 1: PlantFlowerGiveFriendFlowerReq.FlowerNumMapEntry +} +var file_PlantFlowerGiveFriendFlowerReq_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerGiveFriendFlowerReq.flower_num_map:type_name -> PlantFlowerGiveFriendFlowerReq.FlowerNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGiveFriendFlowerReq_proto_init() } +func file_PlantFlowerGiveFriendFlowerReq_proto_init() { + if File_PlantFlowerGiveFriendFlowerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGiveFriendFlowerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGiveFriendFlowerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGiveFriendFlowerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGiveFriendFlowerReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerGiveFriendFlowerReq_proto_depIdxs, + MessageInfos: file_PlantFlowerGiveFriendFlowerReq_proto_msgTypes, + }.Build() + File_PlantFlowerGiveFriendFlowerReq_proto = out.File + file_PlantFlowerGiveFriendFlowerReq_proto_rawDesc = nil + file_PlantFlowerGiveFriendFlowerReq_proto_goTypes = nil + file_PlantFlowerGiveFriendFlowerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.proto b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.proto new file mode 100644 index 00000000..34ee59fc --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8846 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerGiveFriendFlowerReq { + uint32 schedule_id = 11; + uint32 uid = 13; + map flower_num_map = 12; +} diff --git a/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.pb.go new file mode 100644 index 00000000..603fe4c9 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerGiveFriendFlowerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8386 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerGiveFriendFlowerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LimitFlowerList []uint32 `protobuf:"varint,5,rep,packed,name=limit_flower_list,json=limitFlowerList,proto3" json:"limit_flower_list,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,14,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerGiveFriendFlowerRsp) Reset() { + *x = PlantFlowerGiveFriendFlowerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerGiveFriendFlowerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerGiveFriendFlowerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerGiveFriendFlowerRsp) ProtoMessage() {} + +func (x *PlantFlowerGiveFriendFlowerRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerGiveFriendFlowerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerGiveFriendFlowerRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerGiveFriendFlowerRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerGiveFriendFlowerRsp) GetLimitFlowerList() []uint32 { + if x != nil { + return x.LimitFlowerList + } + return nil +} + +func (x *PlantFlowerGiveFriendFlowerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerGiveFriendFlowerRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerGiveFriendFlowerRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerGiveFriendFlowerRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x69, 0x76, + 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x69, 0x76, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescOnce sync.Once + file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescData = file_PlantFlowerGiveFriendFlowerRsp_proto_rawDesc +) + +func file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescData) + }) + return file_PlantFlowerGiveFriendFlowerRsp_proto_rawDescData +} + +var file_PlantFlowerGiveFriendFlowerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerGiveFriendFlowerRsp_proto_goTypes = []interface{}{ + (*PlantFlowerGiveFriendFlowerRsp)(nil), // 0: PlantFlowerGiveFriendFlowerRsp +} +var file_PlantFlowerGiveFriendFlowerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerGiveFriendFlowerRsp_proto_init() } +func file_PlantFlowerGiveFriendFlowerRsp_proto_init() { + if File_PlantFlowerGiveFriendFlowerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerGiveFriendFlowerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerGiveFriendFlowerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerGiveFriendFlowerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerGiveFriendFlowerRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerGiveFriendFlowerRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerGiveFriendFlowerRsp_proto_msgTypes, + }.Build() + File_PlantFlowerGiveFriendFlowerRsp_proto = out.File + file_PlantFlowerGiveFriendFlowerRsp_proto_rawDesc = nil + file_PlantFlowerGiveFriendFlowerRsp_proto_goTypes = nil + file_PlantFlowerGiveFriendFlowerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.proto b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.proto new file mode 100644 index 00000000..ffd0e046 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerGiveFriendFlowerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8386 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerGiveFriendFlowerRsp { + repeated uint32 limit_flower_list = 5; + int32 retcode = 3; + uint32 schedule_id = 14; +} diff --git a/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.pb.go b/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.pb.go new file mode 100644 index 00000000..3896895f --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerHaveRecvFlowerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8078 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerHaveRecvFlowerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerHaveRecvFlowerNotify) Reset() { + *x = PlantFlowerHaveRecvFlowerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerHaveRecvFlowerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerHaveRecvFlowerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerHaveRecvFlowerNotify) ProtoMessage() {} + +func (x *PlantFlowerHaveRecvFlowerNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerHaveRecvFlowerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerHaveRecvFlowerNotify.ProtoReflect.Descriptor instead. +func (*PlantFlowerHaveRecvFlowerNotify) Descriptor() ([]byte, []int) { + return file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerHaveRecvFlowerNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerHaveRecvFlowerNotify_proto protoreflect.FileDescriptor + +var file_PlantFlowerHaveRecvFlowerNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x48, 0x61, 0x76, + 0x65, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x48, 0x61, 0x76, 0x65, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescOnce sync.Once + file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescData = file_PlantFlowerHaveRecvFlowerNotify_proto_rawDesc +) + +func file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescGZIP() []byte { + file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescOnce.Do(func() { + file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescData) + }) + return file_PlantFlowerHaveRecvFlowerNotify_proto_rawDescData +} + +var file_PlantFlowerHaveRecvFlowerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerHaveRecvFlowerNotify_proto_goTypes = []interface{}{ + (*PlantFlowerHaveRecvFlowerNotify)(nil), // 0: PlantFlowerHaveRecvFlowerNotify +} +var file_PlantFlowerHaveRecvFlowerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerHaveRecvFlowerNotify_proto_init() } +func file_PlantFlowerHaveRecvFlowerNotify_proto_init() { + if File_PlantFlowerHaveRecvFlowerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerHaveRecvFlowerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerHaveRecvFlowerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerHaveRecvFlowerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerHaveRecvFlowerNotify_proto_goTypes, + DependencyIndexes: file_PlantFlowerHaveRecvFlowerNotify_proto_depIdxs, + MessageInfos: file_PlantFlowerHaveRecvFlowerNotify_proto_msgTypes, + }.Build() + File_PlantFlowerHaveRecvFlowerNotify_proto = out.File + file_PlantFlowerHaveRecvFlowerNotify_proto_rawDesc = nil + file_PlantFlowerHaveRecvFlowerNotify_proto_goTypes = nil + file_PlantFlowerHaveRecvFlowerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.proto b/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.proto new file mode 100644 index 00000000..5a7231fa --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerHaveRecvFlowerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8078 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerHaveRecvFlowerNotify { + uint32 schedule_id = 10; +} diff --git a/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.pb.go b/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.pb.go new file mode 100644 index 00000000..9f6c7ea4 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerRecvFlowerData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlantFlowerRecvFlowerData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,13,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` + Uid uint32 `protobuf:"varint,9,opt,name=uid,proto3" json:"uid,omitempty"` + FlowerNumMap map[uint32]uint32 `protobuf:"bytes,14,rep,name=flower_num_map,json=flowerNumMap,proto3" json:"flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *PlantFlowerRecvFlowerData) Reset() { + *x = PlantFlowerRecvFlowerData{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerRecvFlowerData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerRecvFlowerData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerRecvFlowerData) ProtoMessage() {} + +func (x *PlantFlowerRecvFlowerData) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerRecvFlowerData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerRecvFlowerData.ProtoReflect.Descriptor instead. +func (*PlantFlowerRecvFlowerData) Descriptor() ([]byte, []int) { + return file_PlantFlowerRecvFlowerData_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerRecvFlowerData) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *PlantFlowerRecvFlowerData) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *PlantFlowerRecvFlowerData) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlantFlowerRecvFlowerData) GetFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.FlowerNumMap + } + return nil +} + +var File_PlantFlowerRecvFlowerData_proto protoreflect.FileDescriptor + +var file_PlantFlowerRecvFlowerData_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, + 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x6e, + 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, + 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x52, 0x0a, + 0x0e, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x76, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, 0x74, + 0x61, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, + 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerRecvFlowerData_proto_rawDescOnce sync.Once + file_PlantFlowerRecvFlowerData_proto_rawDescData = file_PlantFlowerRecvFlowerData_proto_rawDesc +) + +func file_PlantFlowerRecvFlowerData_proto_rawDescGZIP() []byte { + file_PlantFlowerRecvFlowerData_proto_rawDescOnce.Do(func() { + file_PlantFlowerRecvFlowerData_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerRecvFlowerData_proto_rawDescData) + }) + return file_PlantFlowerRecvFlowerData_proto_rawDescData +} + +var file_PlantFlowerRecvFlowerData_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlantFlowerRecvFlowerData_proto_goTypes = []interface{}{ + (*PlantFlowerRecvFlowerData)(nil), // 0: PlantFlowerRecvFlowerData + nil, // 1: PlantFlowerRecvFlowerData.FlowerNumMapEntry + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_PlantFlowerRecvFlowerData_proto_depIdxs = []int32{ + 2, // 0: PlantFlowerRecvFlowerData.profile_picture:type_name -> ProfilePicture + 1, // 1: PlantFlowerRecvFlowerData.flower_num_map:type_name -> PlantFlowerRecvFlowerData.FlowerNumMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlantFlowerRecvFlowerData_proto_init() } +func file_PlantFlowerRecvFlowerData_proto_init() { + if File_PlantFlowerRecvFlowerData_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlantFlowerRecvFlowerData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerRecvFlowerData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerRecvFlowerData_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerRecvFlowerData_proto_goTypes, + DependencyIndexes: file_PlantFlowerRecvFlowerData_proto_depIdxs, + MessageInfos: file_PlantFlowerRecvFlowerData_proto_msgTypes, + }.Build() + File_PlantFlowerRecvFlowerData_proto = out.File + file_PlantFlowerRecvFlowerData_proto_rawDesc = nil + file_PlantFlowerRecvFlowerData_proto_goTypes = nil + file_PlantFlowerRecvFlowerData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.proto b/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.proto new file mode 100644 index 00000000..ab68dc6a --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerRecvFlowerData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message PlantFlowerRecvFlowerData { + ProfilePicture profile_picture = 13; + string nickname = 5; + uint32 uid = 9; + map flower_num_map = 14; +} diff --git a/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.pb.go b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.pb.go new file mode 100644 index 00000000..cc548769 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerSetFlowerWishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8547 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerSetFlowerWishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FlowerNumMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=flower_num_map,json=flowerNumMap,proto3" json:"flower_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerSetFlowerWishReq) Reset() { + *x = PlantFlowerSetFlowerWishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerSetFlowerWishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerSetFlowerWishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerSetFlowerWishReq) ProtoMessage() {} + +func (x *PlantFlowerSetFlowerWishReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerSetFlowerWishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerSetFlowerWishReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerSetFlowerWishReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerSetFlowerWishReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerSetFlowerWishReq) GetFlowerNumMap() map[uint32]uint32 { + if x != nil { + return x.FlowerNumMap + } + return nil +} + +func (x *PlantFlowerSetFlowerWishReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerSetFlowerWishReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerSetFlowerWishReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x53, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, + 0x52, 0x65, 0x71, 0x12, 0x54, 0x0a, 0x0e, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6e, 0x75, + 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x50, 0x6c, + 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, + 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerSetFlowerWishReq_proto_rawDescOnce sync.Once + file_PlantFlowerSetFlowerWishReq_proto_rawDescData = file_PlantFlowerSetFlowerWishReq_proto_rawDesc +) + +func file_PlantFlowerSetFlowerWishReq_proto_rawDescGZIP() []byte { + file_PlantFlowerSetFlowerWishReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerSetFlowerWishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerSetFlowerWishReq_proto_rawDescData) + }) + return file_PlantFlowerSetFlowerWishReq_proto_rawDescData +} + +var file_PlantFlowerSetFlowerWishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlantFlowerSetFlowerWishReq_proto_goTypes = []interface{}{ + (*PlantFlowerSetFlowerWishReq)(nil), // 0: PlantFlowerSetFlowerWishReq + nil, // 1: PlantFlowerSetFlowerWishReq.FlowerNumMapEntry +} +var file_PlantFlowerSetFlowerWishReq_proto_depIdxs = []int32{ + 1, // 0: PlantFlowerSetFlowerWishReq.flower_num_map:type_name -> PlantFlowerSetFlowerWishReq.FlowerNumMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlantFlowerSetFlowerWishReq_proto_init() } +func file_PlantFlowerSetFlowerWishReq_proto_init() { + if File_PlantFlowerSetFlowerWishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerSetFlowerWishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerSetFlowerWishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerSetFlowerWishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerSetFlowerWishReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerSetFlowerWishReq_proto_depIdxs, + MessageInfos: file_PlantFlowerSetFlowerWishReq_proto_msgTypes, + }.Build() + File_PlantFlowerSetFlowerWishReq_proto = out.File + file_PlantFlowerSetFlowerWishReq_proto_rawDesc = nil + file_PlantFlowerSetFlowerWishReq_proto_goTypes = nil + file_PlantFlowerSetFlowerWishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.proto b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.proto new file mode 100644 index 00000000..04e27c05 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8547 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerSetFlowerWishReq { + map flower_num_map = 12; + uint32 schedule_id = 5; +} diff --git a/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.pb.go new file mode 100644 index 00000000..2ed84d46 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerSetFlowerWishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8910 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerSetFlowerWishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlantFlowerSetFlowerWishRsp) Reset() { + *x = PlantFlowerSetFlowerWishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerSetFlowerWishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerSetFlowerWishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerSetFlowerWishRsp) ProtoMessage() {} + +func (x *PlantFlowerSetFlowerWishRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerSetFlowerWishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerSetFlowerWishRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerSetFlowerWishRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerSetFlowerWishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerSetFlowerWishRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *PlantFlowerSetFlowerWishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlantFlowerSetFlowerWishRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerSetFlowerWishRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x74, + 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, + 0x65, 0x72, 0x53, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x69, 0x73, 0x68, 0x52, + 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlantFlowerSetFlowerWishRsp_proto_rawDescOnce sync.Once + file_PlantFlowerSetFlowerWishRsp_proto_rawDescData = file_PlantFlowerSetFlowerWishRsp_proto_rawDesc +) + +func file_PlantFlowerSetFlowerWishRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerSetFlowerWishRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerSetFlowerWishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerSetFlowerWishRsp_proto_rawDescData) + }) + return file_PlantFlowerSetFlowerWishRsp_proto_rawDescData +} + +var file_PlantFlowerSetFlowerWishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerSetFlowerWishRsp_proto_goTypes = []interface{}{ + (*PlantFlowerSetFlowerWishRsp)(nil), // 0: PlantFlowerSetFlowerWishRsp +} +var file_PlantFlowerSetFlowerWishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerSetFlowerWishRsp_proto_init() } +func file_PlantFlowerSetFlowerWishRsp_proto_init() { + if File_PlantFlowerSetFlowerWishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerSetFlowerWishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerSetFlowerWishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerSetFlowerWishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerSetFlowerWishRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerSetFlowerWishRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerSetFlowerWishRsp_proto_msgTypes, + }.Build() + File_PlantFlowerSetFlowerWishRsp_proto = out.File + file_PlantFlowerSetFlowerWishRsp_proto_rawDesc = nil + file_PlantFlowerSetFlowerWishRsp_proto_goTypes = nil + file_PlantFlowerSetFlowerWishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.proto b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.proto new file mode 100644 index 00000000..682f65ab --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerSetFlowerWishRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8910 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerSetFlowerWishRsp { + uint32 schedule_id = 7; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.pb.go b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.pb.go new file mode 100644 index 00000000..bb744824 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerTakeSeedRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8968 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlantFlowerTakeSeedRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,12,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerTakeSeedRewardReq) Reset() { + *x = PlantFlowerTakeSeedRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerTakeSeedRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerTakeSeedRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerTakeSeedRewardReq) ProtoMessage() {} + +func (x *PlantFlowerTakeSeedRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerTakeSeedRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerTakeSeedRewardReq.ProtoReflect.Descriptor instead. +func (*PlantFlowerTakeSeedRewardReq) Descriptor() ([]byte, []int) { + return file_PlantFlowerTakeSeedRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerTakeSeedRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerTakeSeedRewardReq_proto protoreflect.FileDescriptor + +var file_PlantFlowerTakeSeedRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x61, 0x6b, + 0x65, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerTakeSeedRewardReq_proto_rawDescOnce sync.Once + file_PlantFlowerTakeSeedRewardReq_proto_rawDescData = file_PlantFlowerTakeSeedRewardReq_proto_rawDesc +) + +func file_PlantFlowerTakeSeedRewardReq_proto_rawDescGZIP() []byte { + file_PlantFlowerTakeSeedRewardReq_proto_rawDescOnce.Do(func() { + file_PlantFlowerTakeSeedRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerTakeSeedRewardReq_proto_rawDescData) + }) + return file_PlantFlowerTakeSeedRewardReq_proto_rawDescData +} + +var file_PlantFlowerTakeSeedRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerTakeSeedRewardReq_proto_goTypes = []interface{}{ + (*PlantFlowerTakeSeedRewardReq)(nil), // 0: PlantFlowerTakeSeedRewardReq +} +var file_PlantFlowerTakeSeedRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerTakeSeedRewardReq_proto_init() } +func file_PlantFlowerTakeSeedRewardReq_proto_init() { + if File_PlantFlowerTakeSeedRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerTakeSeedRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerTakeSeedRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerTakeSeedRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerTakeSeedRewardReq_proto_goTypes, + DependencyIndexes: file_PlantFlowerTakeSeedRewardReq_proto_depIdxs, + MessageInfos: file_PlantFlowerTakeSeedRewardReq_proto_msgTypes, + }.Build() + File_PlantFlowerTakeSeedRewardReq_proto = out.File + file_PlantFlowerTakeSeedRewardReq_proto_rawDesc = nil + file_PlantFlowerTakeSeedRewardReq_proto_goTypes = nil + file_PlantFlowerTakeSeedRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.proto b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.proto new file mode 100644 index 00000000..bdc22a83 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8968 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlantFlowerTakeSeedRewardReq { + uint32 schedule_id = 12; +} diff --git a/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.pb.go b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.pb.go new file mode 100644 index 00000000..d2f306d6 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlantFlowerTakeSeedRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8860 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlantFlowerTakeSeedRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlantFlowerTakeSeedRewardRsp) Reset() { + *x = PlantFlowerTakeSeedRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlantFlowerTakeSeedRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlantFlowerTakeSeedRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlantFlowerTakeSeedRewardRsp) ProtoMessage() {} + +func (x *PlantFlowerTakeSeedRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlantFlowerTakeSeedRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlantFlowerTakeSeedRewardRsp.ProtoReflect.Descriptor instead. +func (*PlantFlowerTakeSeedRewardRsp) Descriptor() ([]byte, []int) { + return file_PlantFlowerTakeSeedRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlantFlowerTakeSeedRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlantFlowerTakeSeedRewardRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlantFlowerTakeSeedRewardRsp_proto protoreflect.FileDescriptor + +var file_PlantFlowerTakeSeedRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x61, 0x6b, + 0x65, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x46, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlantFlowerTakeSeedRewardRsp_proto_rawDescOnce sync.Once + file_PlantFlowerTakeSeedRewardRsp_proto_rawDescData = file_PlantFlowerTakeSeedRewardRsp_proto_rawDesc +) + +func file_PlantFlowerTakeSeedRewardRsp_proto_rawDescGZIP() []byte { + file_PlantFlowerTakeSeedRewardRsp_proto_rawDescOnce.Do(func() { + file_PlantFlowerTakeSeedRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlantFlowerTakeSeedRewardRsp_proto_rawDescData) + }) + return file_PlantFlowerTakeSeedRewardRsp_proto_rawDescData +} + +var file_PlantFlowerTakeSeedRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlantFlowerTakeSeedRewardRsp_proto_goTypes = []interface{}{ + (*PlantFlowerTakeSeedRewardRsp)(nil), // 0: PlantFlowerTakeSeedRewardRsp +} +var file_PlantFlowerTakeSeedRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlantFlowerTakeSeedRewardRsp_proto_init() } +func file_PlantFlowerTakeSeedRewardRsp_proto_init() { + if File_PlantFlowerTakeSeedRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlantFlowerTakeSeedRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlantFlowerTakeSeedRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlantFlowerTakeSeedRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlantFlowerTakeSeedRewardRsp_proto_goTypes, + DependencyIndexes: file_PlantFlowerTakeSeedRewardRsp_proto_depIdxs, + MessageInfos: file_PlantFlowerTakeSeedRewardRsp_proto_msgTypes, + }.Build() + File_PlantFlowerTakeSeedRewardRsp_proto = out.File + file_PlantFlowerTakeSeedRewardRsp_proto_rawDesc = nil + file_PlantFlowerTakeSeedRewardRsp_proto_goTypes = nil + file_PlantFlowerTakeSeedRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.proto b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.proto new file mode 100644 index 00000000..4e884278 --- /dev/null +++ b/gate-hk4e-api/proto/PlantFlowerTakeSeedRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8860 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlantFlowerTakeSeedRewardRsp { + int32 retcode = 2; + uint32 schedule_id = 13; +} diff --git a/gate-hk4e-api/proto/PlatformChangeRouteNotify.pb.go b/gate-hk4e-api/proto/PlatformChangeRouteNotify.pb.go new file mode 100644 index 00000000..c071bf05 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformChangeRouteNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlatformChangeRouteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 268 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlatformChangeRouteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Platform *PlatformInfo `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + SceneTime uint32 `protobuf:"varint,8,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` +} + +func (x *PlatformChangeRouteNotify) Reset() { + *x = PlatformChangeRouteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlatformChangeRouteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlatformChangeRouteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlatformChangeRouteNotify) ProtoMessage() {} + +func (x *PlatformChangeRouteNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlatformChangeRouteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlatformChangeRouteNotify.ProtoReflect.Descriptor instead. +func (*PlatformChangeRouteNotify) Descriptor() ([]byte, []int) { + return file_PlatformChangeRouteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlatformChangeRouteNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *PlatformChangeRouteNotify) GetPlatform() *PlatformInfo { + if x != nil { + return x.Platform + } + return nil +} + +func (x *PlatformChangeRouteNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +var File_PlatformChangeRouteNotify_proto protoreflect.FileDescriptor + +var file_PlatformChangeRouteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x29, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlatformChangeRouteNotify_proto_rawDescOnce sync.Once + file_PlatformChangeRouteNotify_proto_rawDescData = file_PlatformChangeRouteNotify_proto_rawDesc +) + +func file_PlatformChangeRouteNotify_proto_rawDescGZIP() []byte { + file_PlatformChangeRouteNotify_proto_rawDescOnce.Do(func() { + file_PlatformChangeRouteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlatformChangeRouteNotify_proto_rawDescData) + }) + return file_PlatformChangeRouteNotify_proto_rawDescData +} + +var file_PlatformChangeRouteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlatformChangeRouteNotify_proto_goTypes = []interface{}{ + (*PlatformChangeRouteNotify)(nil), // 0: PlatformChangeRouteNotify + (*PlatformInfo)(nil), // 1: PlatformInfo +} +var file_PlatformChangeRouteNotify_proto_depIdxs = []int32{ + 1, // 0: PlatformChangeRouteNotify.platform:type_name -> PlatformInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlatformChangeRouteNotify_proto_init() } +func file_PlatformChangeRouteNotify_proto_init() { + if File_PlatformChangeRouteNotify_proto != nil { + return + } + file_PlatformInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlatformChangeRouteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformChangeRouteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlatformChangeRouteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlatformChangeRouteNotify_proto_goTypes, + DependencyIndexes: file_PlatformChangeRouteNotify_proto_depIdxs, + MessageInfos: file_PlatformChangeRouteNotify_proto_msgTypes, + }.Build() + File_PlatformChangeRouteNotify_proto = out.File + file_PlatformChangeRouteNotify_proto_rawDesc = nil + file_PlatformChangeRouteNotify_proto_goTypes = nil + file_PlatformChangeRouteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlatformChangeRouteNotify.proto b/gate-hk4e-api/proto/PlatformChangeRouteNotify.proto new file mode 100644 index 00000000..81b1fa6d --- /dev/null +++ b/gate-hk4e-api/proto/PlatformChangeRouteNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlatformInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 268 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlatformChangeRouteNotify { + uint32 entity_id = 2; + PlatformInfo platform = 1; + uint32 scene_time = 8; +} diff --git a/gate-hk4e-api/proto/PlatformInfo.pb.go b/gate-hk4e-api/proto/PlatformInfo.pb.go new file mode 100644 index 00000000..1799bbf0 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformInfo.pb.go @@ -0,0 +1,313 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlatformInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlatformInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RouteId uint32 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` + StartIndex int32 `protobuf:"varint,2,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` + StartRouteTime uint32 `protobuf:"varint,3,opt,name=start_route_time,json=startRouteTime,proto3" json:"start_route_time,omitempty"` + StartSceneTime uint32 `protobuf:"varint,4,opt,name=start_scene_time,json=startSceneTime,proto3" json:"start_scene_time,omitempty"` + StartPos *Vector `protobuf:"bytes,7,opt,name=start_pos,json=startPos,proto3" json:"start_pos,omitempty"` + IsStarted bool `protobuf:"varint,8,opt,name=is_started,json=isStarted,proto3" json:"is_started,omitempty"` + StartRot *MathQuaternion `protobuf:"bytes,9,opt,name=start_rot,json=startRot,proto3" json:"start_rot,omitempty"` + StopSceneTime uint32 `protobuf:"varint,10,opt,name=stop_scene_time,json=stopSceneTime,proto3" json:"stop_scene_time,omitempty"` + PosOffset *Vector `protobuf:"bytes,11,opt,name=pos_offset,json=posOffset,proto3" json:"pos_offset,omitempty"` + RotOffset *MathQuaternion `protobuf:"bytes,12,opt,name=rot_offset,json=rotOffset,proto3" json:"rot_offset,omitempty"` + MovingPlatformType MovingPlatformType `protobuf:"varint,13,opt,name=moving_platform_type,json=movingPlatformType,proto3,enum=MovingPlatformType" json:"moving_platform_type,omitempty"` + IsActive bool `protobuf:"varint,14,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` + Route *Route `protobuf:"bytes,15,opt,name=route,proto3" json:"route,omitempty"` + PointId uint32 `protobuf:"varint,16,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *PlatformInfo) Reset() { + *x = PlatformInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlatformInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlatformInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlatformInfo) ProtoMessage() {} + +func (x *PlatformInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlatformInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead. +func (*PlatformInfo) Descriptor() ([]byte, []int) { + return file_PlatformInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlatformInfo) GetRouteId() uint32 { + if x != nil { + return x.RouteId + } + return 0 +} + +func (x *PlatformInfo) GetStartIndex() int32 { + if x != nil { + return x.StartIndex + } + return 0 +} + +func (x *PlatformInfo) GetStartRouteTime() uint32 { + if x != nil { + return x.StartRouteTime + } + return 0 +} + +func (x *PlatformInfo) GetStartSceneTime() uint32 { + if x != nil { + return x.StartSceneTime + } + return 0 +} + +func (x *PlatformInfo) GetStartPos() *Vector { + if x != nil { + return x.StartPos + } + return nil +} + +func (x *PlatformInfo) GetIsStarted() bool { + if x != nil { + return x.IsStarted + } + return false +} + +func (x *PlatformInfo) GetStartRot() *MathQuaternion { + if x != nil { + return x.StartRot + } + return nil +} + +func (x *PlatformInfo) GetStopSceneTime() uint32 { + if x != nil { + return x.StopSceneTime + } + return 0 +} + +func (x *PlatformInfo) GetPosOffset() *Vector { + if x != nil { + return x.PosOffset + } + return nil +} + +func (x *PlatformInfo) GetRotOffset() *MathQuaternion { + if x != nil { + return x.RotOffset + } + return nil +} + +func (x *PlatformInfo) GetMovingPlatformType() MovingPlatformType { + if x != nil { + return x.MovingPlatformType + } + return MovingPlatformType_MOVING_PLATFORM_TYPE_NONE +} + +func (x *PlatformInfo) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +func (x *PlatformInfo) GetRoute() *Route { + if x != nil { + return x.Route + } + return nil +} + +func (x *PlatformInfo) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_PlatformInfo_proto protoreflect.FileDescriptor + +var file_PlatformInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, + 0x6e, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x4d, 0x6f, 0x76, 0x69, + 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xae, 0x04, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x75, + 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x24, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, + 0x6f, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x51, + 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x6f, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x74, + 0x6f, 0x70, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0a, 0x70, + 0x6f, 0x73, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x4f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x0a, 0x72, 0x6f, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, + 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x6f, 0x74, 0x4f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x12, 0x45, 0x0a, 0x14, 0x6d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x13, 0x2e, 0x4d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x6d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, + 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlatformInfo_proto_rawDescOnce sync.Once + file_PlatformInfo_proto_rawDescData = file_PlatformInfo_proto_rawDesc +) + +func file_PlatformInfo_proto_rawDescGZIP() []byte { + file_PlatformInfo_proto_rawDescOnce.Do(func() { + file_PlatformInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlatformInfo_proto_rawDescData) + }) + return file_PlatformInfo_proto_rawDescData +} + +var file_PlatformInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlatformInfo_proto_goTypes = []interface{}{ + (*PlatformInfo)(nil), // 0: PlatformInfo + (*Vector)(nil), // 1: Vector + (*MathQuaternion)(nil), // 2: MathQuaternion + (MovingPlatformType)(0), // 3: MovingPlatformType + (*Route)(nil), // 4: Route +} +var file_PlatformInfo_proto_depIdxs = []int32{ + 1, // 0: PlatformInfo.start_pos:type_name -> Vector + 2, // 1: PlatformInfo.start_rot:type_name -> MathQuaternion + 1, // 2: PlatformInfo.pos_offset:type_name -> Vector + 2, // 3: PlatformInfo.rot_offset:type_name -> MathQuaternion + 3, // 4: PlatformInfo.moving_platform_type:type_name -> MovingPlatformType + 4, // 5: PlatformInfo.route:type_name -> Route + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_PlatformInfo_proto_init() } +func file_PlatformInfo_proto_init() { + if File_PlatformInfo_proto != nil { + return + } + file_MathQuaternion_proto_init() + file_MovingPlatformType_proto_init() + file_Route_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlatformInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlatformInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlatformInfo_proto_goTypes, + DependencyIndexes: file_PlatformInfo_proto_depIdxs, + MessageInfos: file_PlatformInfo_proto_msgTypes, + }.Build() + File_PlatformInfo_proto = out.File + file_PlatformInfo_proto_rawDesc = nil + file_PlatformInfo_proto_goTypes = nil + file_PlatformInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlatformInfo.proto b/gate-hk4e-api/proto/PlatformInfo.proto new file mode 100644 index 00000000..f4c92dfc --- /dev/null +++ b/gate-hk4e-api/proto/PlatformInfo.proto @@ -0,0 +1,41 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MathQuaternion.proto"; +import "MovingPlatformType.proto"; +import "Route.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message PlatformInfo { + uint32 route_id = 1; + int32 start_index = 2; + uint32 start_route_time = 3; + uint32 start_scene_time = 4; + Vector start_pos = 7; + bool is_started = 8; + MathQuaternion start_rot = 9; + uint32 stop_scene_time = 10; + Vector pos_offset = 11; + MathQuaternion rot_offset = 12; + MovingPlatformType moving_platform_type = 13; + bool is_active = 14; + Route route = 15; + uint32 point_id = 16; +} diff --git a/gate-hk4e-api/proto/PlatformStartRouteNotify.pb.go b/gate-hk4e-api/proto/PlatformStartRouteNotify.pb.go new file mode 100644 index 00000000..4da55ace --- /dev/null +++ b/gate-hk4e-api/proto/PlatformStartRouteNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlatformStartRouteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 218 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlatformStartRouteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform *PlatformInfo `protobuf:"bytes,15,opt,name=platform,proto3" json:"platform,omitempty"` + SceneTime uint32 `protobuf:"varint,12,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *PlatformStartRouteNotify) Reset() { + *x = PlatformStartRouteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlatformStartRouteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlatformStartRouteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlatformStartRouteNotify) ProtoMessage() {} + +func (x *PlatformStartRouteNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlatformStartRouteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlatformStartRouteNotify.ProtoReflect.Descriptor instead. +func (*PlatformStartRouteNotify) Descriptor() ([]byte, []int) { + return file_PlatformStartRouteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlatformStartRouteNotify) GetPlatform() *PlatformInfo { + if x != nil { + return x.Platform + } + return nil +} + +func (x *PlatformStartRouteNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *PlatformStartRouteNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_PlatformStartRouteNotify_proto protoreflect.FileDescriptor + +var file_PlatformStartRouteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlatformStartRouteNotify_proto_rawDescOnce sync.Once + file_PlatformStartRouteNotify_proto_rawDescData = file_PlatformStartRouteNotify_proto_rawDesc +) + +func file_PlatformStartRouteNotify_proto_rawDescGZIP() []byte { + file_PlatformStartRouteNotify_proto_rawDescOnce.Do(func() { + file_PlatformStartRouteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlatformStartRouteNotify_proto_rawDescData) + }) + return file_PlatformStartRouteNotify_proto_rawDescData +} + +var file_PlatformStartRouteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlatformStartRouteNotify_proto_goTypes = []interface{}{ + (*PlatformStartRouteNotify)(nil), // 0: PlatformStartRouteNotify + (*PlatformInfo)(nil), // 1: PlatformInfo +} +var file_PlatformStartRouteNotify_proto_depIdxs = []int32{ + 1, // 0: PlatformStartRouteNotify.platform:type_name -> PlatformInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlatformStartRouteNotify_proto_init() } +func file_PlatformStartRouteNotify_proto_init() { + if File_PlatformStartRouteNotify_proto != nil { + return + } + file_PlatformInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlatformStartRouteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformStartRouteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlatformStartRouteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlatformStartRouteNotify_proto_goTypes, + DependencyIndexes: file_PlatformStartRouteNotify_proto_depIdxs, + MessageInfos: file_PlatformStartRouteNotify_proto_msgTypes, + }.Build() + File_PlatformStartRouteNotify_proto = out.File + file_PlatformStartRouteNotify_proto_rawDesc = nil + file_PlatformStartRouteNotify_proto_goTypes = nil + file_PlatformStartRouteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlatformStartRouteNotify.proto b/gate-hk4e-api/proto/PlatformStartRouteNotify.proto new file mode 100644 index 00000000..5cb9c393 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformStartRouteNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlatformInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 218 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlatformStartRouteNotify { + PlatformInfo platform = 15; + uint32 scene_time = 12; + uint32 entity_id = 8; +} diff --git a/gate-hk4e-api/proto/PlatformStopRouteNotify.pb.go b/gate-hk4e-api/proto/PlatformStopRouteNotify.pb.go new file mode 100644 index 00000000..6a8cb787 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformStopRouteNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlatformStopRouteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 266 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlatformStopRouteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTime uint32 `protobuf:"varint,9,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Platform *PlatformInfo `protobuf:"bytes,8,opt,name=platform,proto3" json:"platform,omitempty"` +} + +func (x *PlatformStopRouteNotify) Reset() { + *x = PlatformStopRouteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlatformStopRouteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlatformStopRouteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlatformStopRouteNotify) ProtoMessage() {} + +func (x *PlatformStopRouteNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlatformStopRouteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlatformStopRouteNotify.ProtoReflect.Descriptor instead. +func (*PlatformStopRouteNotify) Descriptor() ([]byte, []int) { + return file_PlatformStopRouteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlatformStopRouteNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *PlatformStopRouteNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *PlatformStopRouteNotify) GetPlatform() *PlatformInfo { + if x != nil { + return x.Platform + } + return nil +} + +var File_PlatformStopRouteNotify_proto protoreflect.FileDescriptor + +var file_PlatformStopRouteNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x53, 0x74, 0x6f, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlatformStopRouteNotify_proto_rawDescOnce sync.Once + file_PlatformStopRouteNotify_proto_rawDescData = file_PlatformStopRouteNotify_proto_rawDesc +) + +func file_PlatformStopRouteNotify_proto_rawDescGZIP() []byte { + file_PlatformStopRouteNotify_proto_rawDescOnce.Do(func() { + file_PlatformStopRouteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlatformStopRouteNotify_proto_rawDescData) + }) + return file_PlatformStopRouteNotify_proto_rawDescData +} + +var file_PlatformStopRouteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlatformStopRouteNotify_proto_goTypes = []interface{}{ + (*PlatformStopRouteNotify)(nil), // 0: PlatformStopRouteNotify + (*PlatformInfo)(nil), // 1: PlatformInfo +} +var file_PlatformStopRouteNotify_proto_depIdxs = []int32{ + 1, // 0: PlatformStopRouteNotify.platform:type_name -> PlatformInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlatformStopRouteNotify_proto_init() } +func file_PlatformStopRouteNotify_proto_init() { + if File_PlatformStopRouteNotify_proto != nil { + return + } + file_PlatformInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlatformStopRouteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformStopRouteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlatformStopRouteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlatformStopRouteNotify_proto_goTypes, + DependencyIndexes: file_PlatformStopRouteNotify_proto_depIdxs, + MessageInfos: file_PlatformStopRouteNotify_proto_msgTypes, + }.Build() + File_PlatformStopRouteNotify_proto = out.File + file_PlatformStopRouteNotify_proto_rawDesc = nil + file_PlatformStopRouteNotify_proto_goTypes = nil + file_PlatformStopRouteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlatformStopRouteNotify.proto b/gate-hk4e-api/proto/PlatformStopRouteNotify.proto new file mode 100644 index 00000000..43b854c4 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformStopRouteNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlatformInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 266 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlatformStopRouteNotify { + uint32 scene_time = 9; + uint32 entity_id = 12; + PlatformInfo platform = 8; +} diff --git a/gate-hk4e-api/proto/PlatformType.pb.go b/gate-hk4e-api/proto/PlatformType.pb.go new file mode 100644 index 00000000..da914d07 --- /dev/null +++ b/gate-hk4e-api/proto/PlatformType.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlatformType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlatformType int32 + +const ( + PlatformType_PLATFORM_TYPE_EDITOR PlatformType = 0 + PlatformType_PLATFORM_TYPE_IOS PlatformType = 1 + PlatformType_PLATFORM_TYPE_ANDROID PlatformType = 2 + PlatformType_PLATFORM_TYPE_PC PlatformType = 3 + PlatformType_PLATFORM_TYPE_PS4 PlatformType = 4 + PlatformType_PLATFORM_TYPE_SERVER PlatformType = 5 + PlatformType_PLATFORM_TYPE_CLOUD_ANDROID PlatformType = 6 + PlatformType_PLATFORM_TYPE_CLOUD_IOS PlatformType = 7 + PlatformType_PLATFORM_TYPE_PS5 PlatformType = 8 + PlatformType_PLATFORM_TYPE_CLOUD_WEB PlatformType = 9 + PlatformType_PLATFORM_TYPE_CLOUD_TV PlatformType = 10 + PlatformType_PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ PlatformType = 11 + PlatformType_PLATFORM_TYPE_Unk2700_BCEICMDNIIG PlatformType = 12 + PlatformType_PLATFORM_TYPE_Unk2800_EFNGHFNPMKM PlatformType = 13 + PlatformType_PLATFORM_TYPE_Unk2800_FNFHGPABLFB PlatformType = 14 +) + +// Enum value maps for PlatformType. +var ( + PlatformType_name = map[int32]string{ + 0: "PLATFORM_TYPE_EDITOR", + 1: "PLATFORM_TYPE_IOS", + 2: "PLATFORM_TYPE_ANDROID", + 3: "PLATFORM_TYPE_PC", + 4: "PLATFORM_TYPE_PS4", + 5: "PLATFORM_TYPE_SERVER", + 6: "PLATFORM_TYPE_CLOUD_ANDROID", + 7: "PLATFORM_TYPE_CLOUD_IOS", + 8: "PLATFORM_TYPE_PS5", + 9: "PLATFORM_TYPE_CLOUD_WEB", + 10: "PLATFORM_TYPE_CLOUD_TV", + 11: "PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ", + 12: "PLATFORM_TYPE_Unk2700_BCEICMDNIIG", + 13: "PLATFORM_TYPE_Unk2800_EFNGHFNPMKM", + 14: "PLATFORM_TYPE_Unk2800_FNFHGPABLFB", + } + PlatformType_value = map[string]int32{ + "PLATFORM_TYPE_EDITOR": 0, + "PLATFORM_TYPE_IOS": 1, + "PLATFORM_TYPE_ANDROID": 2, + "PLATFORM_TYPE_PC": 3, + "PLATFORM_TYPE_PS4": 4, + "PLATFORM_TYPE_SERVER": 5, + "PLATFORM_TYPE_CLOUD_ANDROID": 6, + "PLATFORM_TYPE_CLOUD_IOS": 7, + "PLATFORM_TYPE_PS5": 8, + "PLATFORM_TYPE_CLOUD_WEB": 9, + "PLATFORM_TYPE_CLOUD_TV": 10, + "PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ": 11, + "PLATFORM_TYPE_Unk2700_BCEICMDNIIG": 12, + "PLATFORM_TYPE_Unk2800_EFNGHFNPMKM": 13, + "PLATFORM_TYPE_Unk2800_FNFHGPABLFB": 14, + } +) + +func (x PlatformType) Enum() *PlatformType { + p := new(PlatformType) + *p = x + return p +} + +func (x PlatformType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlatformType) Descriptor() protoreflect.EnumDescriptor { + return file_PlatformType_proto_enumTypes[0].Descriptor() +} + +func (PlatformType) Type() protoreflect.EnumType { + return &file_PlatformType_proto_enumTypes[0] +} + +func (x PlatformType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlatformType.Descriptor instead. +func (PlatformType) EnumDescriptor() ([]byte, []int) { + return file_PlatformType_proto_rawDescGZIP(), []int{0} +} + +var File_PlatformType_proto protoreflect.FileDescriptor + +var file_PlatformType_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xcb, 0x03, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, + 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x00, 0x12, + 0x15, 0x0a, 0x11, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x49, 0x4f, 0x53, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, + 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, + 0x02, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x50, 0x43, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4c, 0x41, 0x54, 0x46, + 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x53, 0x34, 0x10, 0x04, 0x12, 0x18, + 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x4c, 0x41, 0x54, + 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, + 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x06, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4c, 0x41, + 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, + 0x5f, 0x49, 0x4f, 0x53, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, + 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x53, 0x35, 0x10, 0x08, 0x12, 0x1b, 0x0a, + 0x17, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, + 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x09, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4c, + 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, + 0x44, 0x5f, 0x54, 0x56, 0x10, 0x0a, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, + 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x42, 0x42, 0x45, 0x4b, 0x42, 0x4a, 0x4c, 0x4d, 0x41, 0x4a, 0x10, 0x0b, 0x12, 0x25, 0x0a, + 0x21, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x45, 0x49, 0x43, 0x4d, 0x44, 0x4e, 0x49, + 0x49, 0x47, 0x10, 0x0c, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x46, + 0x4e, 0x47, 0x48, 0x46, 0x4e, 0x50, 0x4d, 0x4b, 0x4d, 0x10, 0x0d, 0x12, 0x25, 0x0a, 0x21, 0x50, + 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x46, 0x48, 0x47, 0x50, 0x41, 0x42, 0x4c, 0x46, 0x42, + 0x10, 0x0e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlatformType_proto_rawDescOnce sync.Once + file_PlatformType_proto_rawDescData = file_PlatformType_proto_rawDesc +) + +func file_PlatformType_proto_rawDescGZIP() []byte { + file_PlatformType_proto_rawDescOnce.Do(func() { + file_PlatformType_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlatformType_proto_rawDescData) + }) + return file_PlatformType_proto_rawDescData +} + +var file_PlatformType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlatformType_proto_goTypes = []interface{}{ + (PlatformType)(0), // 0: PlatformType +} +var file_PlatformType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlatformType_proto_init() } +func file_PlatformType_proto_init() { + if File_PlatformType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlatformType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlatformType_proto_goTypes, + DependencyIndexes: file_PlatformType_proto_depIdxs, + EnumInfos: file_PlatformType_proto_enumTypes, + }.Build() + File_PlatformType_proto = out.File + file_PlatformType_proto_rawDesc = nil + file_PlatformType_proto_goTypes = nil + file_PlatformType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlatformType.proto b/gate-hk4e-api/proto/PlatformType.proto new file mode 100644 index 00000000..105cc51f --- /dev/null +++ b/gate-hk4e-api/proto/PlatformType.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum PlatformType { + PLATFORM_TYPE_EDITOR = 0; + PLATFORM_TYPE_IOS = 1; + PLATFORM_TYPE_ANDROID = 2; + PLATFORM_TYPE_PC = 3; + PLATFORM_TYPE_PS4 = 4; + PLATFORM_TYPE_SERVER = 5; + PLATFORM_TYPE_CLOUD_ANDROID = 6; + PLATFORM_TYPE_CLOUD_IOS = 7; + PLATFORM_TYPE_PS5 = 8; + PLATFORM_TYPE_CLOUD_WEB = 9; + PLATFORM_TYPE_CLOUD_TV = 10; + PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ = 11; + PLATFORM_TYPE_Unk2700_BCEICMDNIIG = 12; + PLATFORM_TYPE_Unk2800_EFNGHFNPMKM = 13; + PLATFORM_TYPE_Unk2800_FNFHGPABLFB = 14; +} diff --git a/gate-hk4e-api/proto/PlayProduct.pb.go b/gate-hk4e-api/proto/PlayProduct.pb.go new file mode 100644 index 00000000..61683710 --- /dev/null +++ b/gate-hk4e-api/proto/PlayProduct.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayProduct.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayProduct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + PriceTier string `protobuf:"bytes,2,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` + ScheduleId uint32 `protobuf:"varint,3,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *PlayProduct) Reset() { + *x = PlayProduct{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayProduct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayProduct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayProduct) ProtoMessage() {} + +func (x *PlayProduct) ProtoReflect() protoreflect.Message { + mi := &file_PlayProduct_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayProduct.ProtoReflect.Descriptor instead. +func (*PlayProduct) Descriptor() ([]byte, []int) { + return file_PlayProduct_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayProduct) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *PlayProduct) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +func (x *PlayProduct) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_PlayProduct_proto protoreflect.FileDescriptor + +var file_PlayProduct_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayProduct_proto_rawDescOnce sync.Once + file_PlayProduct_proto_rawDescData = file_PlayProduct_proto_rawDesc +) + +func file_PlayProduct_proto_rawDescGZIP() []byte { + file_PlayProduct_proto_rawDescOnce.Do(func() { + file_PlayProduct_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayProduct_proto_rawDescData) + }) + return file_PlayProduct_proto_rawDescData +} + +var file_PlayProduct_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayProduct_proto_goTypes = []interface{}{ + (*PlayProduct)(nil), // 0: PlayProduct +} +var file_PlayProduct_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayProduct_proto_init() } +func file_PlayProduct_proto_init() { + if File_PlayProduct_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayProduct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayProduct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayProduct_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayProduct_proto_goTypes, + DependencyIndexes: file_PlayProduct_proto_depIdxs, + MessageInfos: file_PlayProduct_proto_msgTypes, + }.Build() + File_PlayProduct_proto = out.File + file_PlayProduct_proto_rawDesc = nil + file_PlayProduct_proto_goTypes = nil + file_PlayProduct_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayProduct.proto b/gate-hk4e-api/proto/PlayProduct.proto new file mode 100644 index 00000000..9cd8c13e --- /dev/null +++ b/gate-hk4e-api/proto/PlayProduct.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayProduct { + string product_id = 1; + string price_tier = 2; + uint32 schedule_id = 3; +} diff --git a/gate-hk4e-api/proto/PlayTeamEntityInfo.pb.go b/gate-hk4e-api/proto/PlayTeamEntityInfo.pb.go new file mode 100644 index 00000000..12c756be --- /dev/null +++ b/gate-hk4e-api/proto/PlayTeamEntityInfo.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayTeamEntityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayTeamEntityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + PlayerUid uint32 `protobuf:"varint,2,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,3,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + GadgetConfigId uint32 `protobuf:"varint,5,opt,name=gadget_config_id,json=gadgetConfigId,proto3" json:"gadget_config_id,omitempty"` + AbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,6,opt,name=ability_info,json=abilityInfo,proto3" json:"ability_info,omitempty"` +} + +func (x *PlayTeamEntityInfo) Reset() { + *x = PlayTeamEntityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayTeamEntityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayTeamEntityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayTeamEntityInfo) ProtoMessage() {} + +func (x *PlayTeamEntityInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayTeamEntityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayTeamEntityInfo.ProtoReflect.Descriptor instead. +func (*PlayTeamEntityInfo) Descriptor() ([]byte, []int) { + return file_PlayTeamEntityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayTeamEntityInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *PlayTeamEntityInfo) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *PlayTeamEntityInfo) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *PlayTeamEntityInfo) GetGadgetConfigId() uint32 { + if x != nil { + return x.GadgetConfigId + } + return 0 +} + +func (x *PlayTeamEntityInfo) GetAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AbilityInfo + } + return nil +} + +var File_PlayTeamEntityInfo_proto protoreflect.FileDescriptor + +var file_PlayTeamEntityInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, 0x54, + 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, + 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, + 0x38, 0x0a, 0x0c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, + 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayTeamEntityInfo_proto_rawDescOnce sync.Once + file_PlayTeamEntityInfo_proto_rawDescData = file_PlayTeamEntityInfo_proto_rawDesc +) + +func file_PlayTeamEntityInfo_proto_rawDescGZIP() []byte { + file_PlayTeamEntityInfo_proto_rawDescOnce.Do(func() { + file_PlayTeamEntityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayTeamEntityInfo_proto_rawDescData) + }) + return file_PlayTeamEntityInfo_proto_rawDescData +} + +var file_PlayTeamEntityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayTeamEntityInfo_proto_goTypes = []interface{}{ + (*PlayTeamEntityInfo)(nil), // 0: PlayTeamEntityInfo + (*AbilitySyncStateInfo)(nil), // 1: AbilitySyncStateInfo +} +var file_PlayTeamEntityInfo_proto_depIdxs = []int32{ + 1, // 0: PlayTeamEntityInfo.ability_info:type_name -> AbilitySyncStateInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayTeamEntityInfo_proto_init() } +func file_PlayTeamEntityInfo_proto_init() { + if File_PlayTeamEntityInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayTeamEntityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayTeamEntityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayTeamEntityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayTeamEntityInfo_proto_goTypes, + DependencyIndexes: file_PlayTeamEntityInfo_proto_depIdxs, + MessageInfos: file_PlayTeamEntityInfo_proto_msgTypes, + }.Build() + File_PlayTeamEntityInfo_proto = out.File + file_PlayTeamEntityInfo_proto_rawDesc = nil + file_PlayTeamEntityInfo_proto_goTypes = nil + file_PlayTeamEntityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayTeamEntityInfo.proto b/gate-hk4e-api/proto/PlayTeamEntityInfo.proto new file mode 100644 index 00000000..a9335ae5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayTeamEntityInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; + +option go_package = "./;proto"; + +message PlayTeamEntityInfo { + uint32 entity_id = 1; + uint32 player_uid = 2; + uint32 authority_peer_id = 3; + uint32 gadget_config_id = 5; + AbilitySyncStateInfo ability_info = 6; +} diff --git a/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.pb.go b/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.pb.go new file mode 100644 index 00000000..04f53610 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerAllowEnterMpAfterAgreeMatchNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4199 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerAllowEnterMpAfterAgreeMatchNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,1,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *PlayerAllowEnterMpAfterAgreeMatchNotify) Reset() { + *x = PlayerAllowEnterMpAfterAgreeMatchNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerAllowEnterMpAfterAgreeMatchNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerAllowEnterMpAfterAgreeMatchNotify) ProtoMessage() {} + +func (x *PlayerAllowEnterMpAfterAgreeMatchNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerAllowEnterMpAfterAgreeMatchNotify.ProtoReflect.Descriptor instead. +func (*PlayerAllowEnterMpAfterAgreeMatchNotify) Descriptor() ([]byte, []int) { + return file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerAllowEnterMpAfterAgreeMatchNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_PlayerAllowEnterMpAfterAgreeMatchNotify_proto protoreflect.FileDescriptor + +var file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x41, 0x67, 0x72, 0x65, 0x65, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x48, 0x0a, 0x27, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x4d, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x41, 0x67, 0x72, 0x65, 0x65, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescOnce sync.Once + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescData = file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDesc +) + +func file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescGZIP() []byte { + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescOnce.Do(func() { + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescData) + }) + return file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDescData +} + +var file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_goTypes = []interface{}{ + (*PlayerAllowEnterMpAfterAgreeMatchNotify)(nil), // 0: PlayerAllowEnterMpAfterAgreeMatchNotify +} +var file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_init() } +func file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_init() { + if File_PlayerAllowEnterMpAfterAgreeMatchNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerAllowEnterMpAfterAgreeMatchNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_goTypes, + DependencyIndexes: file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_depIdxs, + MessageInfos: file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_msgTypes, + }.Build() + File_PlayerAllowEnterMpAfterAgreeMatchNotify_proto = out.File + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_rawDesc = nil + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_goTypes = nil + file_PlayerAllowEnterMpAfterAgreeMatchNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto b/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto new file mode 100644 index 00000000..66784df7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4199 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerAllowEnterMpAfterAgreeMatchNotify { + uint32 target_uid = 1; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.pb.go new file mode 100644 index 00000000..1db42989 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterHomeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4533 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterHomeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrcPlayerInfo *OnlinePlayerInfo `protobuf:"bytes,9,opt,name=src_player_info,json=srcPlayerInfo,proto3" json:"src_player_info,omitempty"` + SrcAppId uint32 `protobuf:"varint,10,opt,name=src_app_id,json=srcAppId,proto3" json:"src_app_id,omitempty"` +} + +func (x *PlayerApplyEnterHomeNotify) Reset() { + *x = PlayerApplyEnterHomeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterHomeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterHomeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterHomeNotify) ProtoMessage() {} + +func (x *PlayerApplyEnterHomeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterHomeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterHomeNotify.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterHomeNotify) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterHomeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterHomeNotify) GetSrcPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.SrcPlayerInfo + } + return nil +} + +func (x *PlayerApplyEnterHomeNotify) GetSrcAppId() uint32 { + if x != nil { + return x.SrcAppId + } + return 0 +} + +var File_PlayerApplyEnterHomeNotify_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterHomeNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x1a, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, + 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, 0x0f, 0x73, 0x72, 0x63, 0x5f, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x73, 0x72, 0x63, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x72, 0x63, 0x41, 0x70, 0x70, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterHomeNotify_proto_rawDescOnce sync.Once + file_PlayerApplyEnterHomeNotify_proto_rawDescData = file_PlayerApplyEnterHomeNotify_proto_rawDesc +) + +func file_PlayerApplyEnterHomeNotify_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterHomeNotify_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterHomeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterHomeNotify_proto_rawDescData) + }) + return file_PlayerApplyEnterHomeNotify_proto_rawDescData +} + +var file_PlayerApplyEnterHomeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterHomeNotify_proto_goTypes = []interface{}{ + (*PlayerApplyEnterHomeNotify)(nil), // 0: PlayerApplyEnterHomeNotify + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_PlayerApplyEnterHomeNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerApplyEnterHomeNotify.src_player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterHomeNotify_proto_init() } +func file_PlayerApplyEnterHomeNotify_proto_init() { + if File_PlayerApplyEnterHomeNotify_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterHomeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterHomeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterHomeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterHomeNotify_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterHomeNotify_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterHomeNotify_proto_msgTypes, + }.Build() + File_PlayerApplyEnterHomeNotify_proto = out.File + file_PlayerApplyEnterHomeNotify_proto_rawDesc = nil + file_PlayerApplyEnterHomeNotify_proto_goTypes = nil + file_PlayerApplyEnterHomeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.proto b/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.proto new file mode 100644 index 00000000..049c50bc --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4533 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterHomeNotify { + OnlinePlayerInfo src_player_info = 9; + uint32 src_app_id = 10; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.pb.go new file mode 100644 index 00000000..73b1af0a --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.pb.go @@ -0,0 +1,285 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterHomeResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerApplyEnterHomeResultNotify_Reason int32 + +const ( + PlayerApplyEnterHomeResultNotify_REASON_PLAYER_JUDGE PlayerApplyEnterHomeResultNotify_Reason = 0 + PlayerApplyEnterHomeResultNotify_REASON_PLAYER_ENTER_OPTION_REFUSE PlayerApplyEnterHomeResultNotify_Reason = 1 + PlayerApplyEnterHomeResultNotify_REASON_PLAYER_ENTER_OPTION_DIRECT PlayerApplyEnterHomeResultNotify_Reason = 2 + PlayerApplyEnterHomeResultNotify_REASON_SYSTEM_JUDGE PlayerApplyEnterHomeResultNotify_Reason = 3 + PlayerApplyEnterHomeResultNotify_REASON_HOST_IN_MATCH PlayerApplyEnterHomeResultNotify_Reason = 4 + PlayerApplyEnterHomeResultNotify_REASON_PS_PLAYER_NOT_ACCEPT_OTHERS PlayerApplyEnterHomeResultNotify_Reason = 5 + PlayerApplyEnterHomeResultNotify_REASON_OPEN_STATE_NOT_OPEN PlayerApplyEnterHomeResultNotify_Reason = 6 + PlayerApplyEnterHomeResultNotify_REASON_HOST_IN_EDIT_MODE PlayerApplyEnterHomeResultNotify_Reason = 7 + PlayerApplyEnterHomeResultNotify_REASON_PRIOR_CHECK PlayerApplyEnterHomeResultNotify_Reason = 8 +) + +// Enum value maps for PlayerApplyEnterHomeResultNotify_Reason. +var ( + PlayerApplyEnterHomeResultNotify_Reason_name = map[int32]string{ + 0: "REASON_PLAYER_JUDGE", + 1: "REASON_PLAYER_ENTER_OPTION_REFUSE", + 2: "REASON_PLAYER_ENTER_OPTION_DIRECT", + 3: "REASON_SYSTEM_JUDGE", + 4: "REASON_HOST_IN_MATCH", + 5: "REASON_PS_PLAYER_NOT_ACCEPT_OTHERS", + 6: "REASON_OPEN_STATE_NOT_OPEN", + 7: "REASON_HOST_IN_EDIT_MODE", + 8: "REASON_PRIOR_CHECK", + } + PlayerApplyEnterHomeResultNotify_Reason_value = map[string]int32{ + "REASON_PLAYER_JUDGE": 0, + "REASON_PLAYER_ENTER_OPTION_REFUSE": 1, + "REASON_PLAYER_ENTER_OPTION_DIRECT": 2, + "REASON_SYSTEM_JUDGE": 3, + "REASON_HOST_IN_MATCH": 4, + "REASON_PS_PLAYER_NOT_ACCEPT_OTHERS": 5, + "REASON_OPEN_STATE_NOT_OPEN": 6, + "REASON_HOST_IN_EDIT_MODE": 7, + "REASON_PRIOR_CHECK": 8, + } +) + +func (x PlayerApplyEnterHomeResultNotify_Reason) Enum() *PlayerApplyEnterHomeResultNotify_Reason { + p := new(PlayerApplyEnterHomeResultNotify_Reason) + *p = x + return p +} + +func (x PlayerApplyEnterHomeResultNotify_Reason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerApplyEnterHomeResultNotify_Reason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerApplyEnterHomeResultNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerApplyEnterHomeResultNotify_Reason) Type() protoreflect.EnumType { + return &file_PlayerApplyEnterHomeResultNotify_proto_enumTypes[0] +} + +func (x PlayerApplyEnterHomeResultNotify_Reason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerApplyEnterHomeResultNotify_Reason.Descriptor instead. +func (PlayerApplyEnterHomeResultNotify_Reason) EnumDescriptor() ([]byte, []int) { + return file_PlayerApplyEnterHomeResultNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 4468 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterHomeResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetNickname string `protobuf:"bytes,7,opt,name=target_nickname,json=targetNickname,proto3" json:"target_nickname,omitempty"` + Reason PlayerApplyEnterHomeResultNotify_Reason `protobuf:"varint,5,opt,name=reason,proto3,enum=PlayerApplyEnterHomeResultNotify_Reason" json:"reason,omitempty"` + TargetUid uint32 `protobuf:"varint,12,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + IsAgreed bool `protobuf:"varint,9,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` +} + +func (x *PlayerApplyEnterHomeResultNotify) Reset() { + *x = PlayerApplyEnterHomeResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterHomeResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterHomeResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterHomeResultNotify) ProtoMessage() {} + +func (x *PlayerApplyEnterHomeResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterHomeResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterHomeResultNotify.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterHomeResultNotify) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterHomeResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterHomeResultNotify) GetTargetNickname() string { + if x != nil { + return x.TargetNickname + } + return "" +} + +func (x *PlayerApplyEnterHomeResultNotify) GetReason() PlayerApplyEnterHomeResultNotify_Reason { + if x != nil { + return x.Reason + } + return PlayerApplyEnterHomeResultNotify_REASON_PLAYER_JUDGE +} + +func (x *PlayerApplyEnterHomeResultNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerApplyEnterHomeResultNotify) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +var File_PlayerApplyEnterHomeResultNotify_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterHomeResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x03, 0x0a, 0x20, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, 0x0a, + 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x69, + 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, + 0x72, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x64, 0x22, 0xa0, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x17, 0x0a, 0x13, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, + 0x5f, 0x4a, 0x55, 0x44, 0x47, 0x45, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, + 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x46, 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, + 0x25, 0x0a, 0x21, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, + 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, + 0x52, 0x45, 0x43, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4a, 0x55, 0x44, 0x47, 0x45, 0x10, 0x03, 0x12, + 0x18, 0x0a, 0x14, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x49, + 0x4e, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x04, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x53, 0x10, + 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x45, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, + 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x53, 0x54, + 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x07, 0x12, + 0x16, 0x0a, 0x12, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x5f, + 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x08, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterHomeResultNotify_proto_rawDescOnce sync.Once + file_PlayerApplyEnterHomeResultNotify_proto_rawDescData = file_PlayerApplyEnterHomeResultNotify_proto_rawDesc +) + +func file_PlayerApplyEnterHomeResultNotify_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterHomeResultNotify_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterHomeResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterHomeResultNotify_proto_rawDescData) + }) + return file_PlayerApplyEnterHomeResultNotify_proto_rawDescData +} + +var file_PlayerApplyEnterHomeResultNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerApplyEnterHomeResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterHomeResultNotify_proto_goTypes = []interface{}{ + (PlayerApplyEnterHomeResultNotify_Reason)(0), // 0: PlayerApplyEnterHomeResultNotify.Reason + (*PlayerApplyEnterHomeResultNotify)(nil), // 1: PlayerApplyEnterHomeResultNotify +} +var file_PlayerApplyEnterHomeResultNotify_proto_depIdxs = []int32{ + 0, // 0: PlayerApplyEnterHomeResultNotify.reason:type_name -> PlayerApplyEnterHomeResultNotify.Reason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterHomeResultNotify_proto_init() } +func file_PlayerApplyEnterHomeResultNotify_proto_init() { + if File_PlayerApplyEnterHomeResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterHomeResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterHomeResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterHomeResultNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterHomeResultNotify_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterHomeResultNotify_proto_depIdxs, + EnumInfos: file_PlayerApplyEnterHomeResultNotify_proto_enumTypes, + MessageInfos: file_PlayerApplyEnterHomeResultNotify_proto_msgTypes, + }.Build() + File_PlayerApplyEnterHomeResultNotify_proto = out.File + file_PlayerApplyEnterHomeResultNotify_proto_rawDesc = nil + file_PlayerApplyEnterHomeResultNotify_proto_goTypes = nil + file_PlayerApplyEnterHomeResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.proto b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.proto new file mode 100644 index 00000000..3eb5bdbe --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultNotify.proto @@ -0,0 +1,41 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4468 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterHomeResultNotify { + string target_nickname = 7; + Reason reason = 5; + uint32 target_uid = 12; + bool is_agreed = 9; + + enum Reason { + REASON_PLAYER_JUDGE = 0; + REASON_PLAYER_ENTER_OPTION_REFUSE = 1; + REASON_PLAYER_ENTER_OPTION_DIRECT = 2; + REASON_SYSTEM_JUDGE = 3; + REASON_HOST_IN_MATCH = 4; + REASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 5; + REASON_OPEN_STATE_NOT_OPEN = 6; + REASON_HOST_IN_EDIT_MODE = 7; + REASON_PRIOR_CHECK = 8; + } +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.pb.go new file mode 100644 index 00000000..e7ef8e4b --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterHomeResultReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4693 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerApplyEnterHomeResultReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplyUid uint32 `protobuf:"varint,14,opt,name=apply_uid,json=applyUid,proto3" json:"apply_uid,omitempty"` + IsAgreed bool `protobuf:"varint,10,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` +} + +func (x *PlayerApplyEnterHomeResultReq) Reset() { + *x = PlayerApplyEnterHomeResultReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterHomeResultReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterHomeResultReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterHomeResultReq) ProtoMessage() {} + +func (x *PlayerApplyEnterHomeResultReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterHomeResultReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterHomeResultReq.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterHomeResultReq) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterHomeResultReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterHomeResultReq) GetApplyUid() uint32 { + if x != nil { + return x.ApplyUid + } + return 0 +} + +func (x *PlayerApplyEnterHomeResultReq) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +var File_PlayerApplyEnterHomeResultReq_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterHomeResultReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, + 0x55, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterHomeResultReq_proto_rawDescOnce sync.Once + file_PlayerApplyEnterHomeResultReq_proto_rawDescData = file_PlayerApplyEnterHomeResultReq_proto_rawDesc +) + +func file_PlayerApplyEnterHomeResultReq_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterHomeResultReq_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterHomeResultReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterHomeResultReq_proto_rawDescData) + }) + return file_PlayerApplyEnterHomeResultReq_proto_rawDescData +} + +var file_PlayerApplyEnterHomeResultReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterHomeResultReq_proto_goTypes = []interface{}{ + (*PlayerApplyEnterHomeResultReq)(nil), // 0: PlayerApplyEnterHomeResultReq +} +var file_PlayerApplyEnterHomeResultReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterHomeResultReq_proto_init() } +func file_PlayerApplyEnterHomeResultReq_proto_init() { + if File_PlayerApplyEnterHomeResultReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterHomeResultReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterHomeResultReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterHomeResultReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterHomeResultReq_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterHomeResultReq_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterHomeResultReq_proto_msgTypes, + }.Build() + File_PlayerApplyEnterHomeResultReq_proto = out.File + file_PlayerApplyEnterHomeResultReq_proto_rawDesc = nil + file_PlayerApplyEnterHomeResultReq_proto_goTypes = nil + file_PlayerApplyEnterHomeResultReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.proto b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.proto new file mode 100644 index 00000000..dda288c5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4693 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerApplyEnterHomeResultReq { + uint32 apply_uid = 14; + bool is_agreed = 10; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.pb.go new file mode 100644 index 00000000..603a8123 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterHomeResultRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4706 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterHomeResultRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgreed bool `protobuf:"varint,2,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` + ApplyUid uint32 `protobuf:"varint,11,opt,name=apply_uid,json=applyUid,proto3" json:"apply_uid,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + Param uint32 `protobuf:"varint,10,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *PlayerApplyEnterHomeResultRsp) Reset() { + *x = PlayerApplyEnterHomeResultRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterHomeResultRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterHomeResultRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterHomeResultRsp) ProtoMessage() {} + +func (x *PlayerApplyEnterHomeResultRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterHomeResultRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterHomeResultRsp.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterHomeResultRsp) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterHomeResultRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterHomeResultRsp) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +func (x *PlayerApplyEnterHomeResultRsp) GetApplyUid() uint32 { + if x != nil { + return x.ApplyUid + } + return 0 +} + +func (x *PlayerApplyEnterHomeResultRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerApplyEnterHomeResultRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_PlayerApplyEnterHomeResultRsp_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterHomeResultRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, + 0x72, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x55, 0x69, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterHomeResultRsp_proto_rawDescOnce sync.Once + file_PlayerApplyEnterHomeResultRsp_proto_rawDescData = file_PlayerApplyEnterHomeResultRsp_proto_rawDesc +) + +func file_PlayerApplyEnterHomeResultRsp_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterHomeResultRsp_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterHomeResultRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterHomeResultRsp_proto_rawDescData) + }) + return file_PlayerApplyEnterHomeResultRsp_proto_rawDescData +} + +var file_PlayerApplyEnterHomeResultRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterHomeResultRsp_proto_goTypes = []interface{}{ + (*PlayerApplyEnterHomeResultRsp)(nil), // 0: PlayerApplyEnterHomeResultRsp +} +var file_PlayerApplyEnterHomeResultRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterHomeResultRsp_proto_init() } +func file_PlayerApplyEnterHomeResultRsp_proto_init() { + if File_PlayerApplyEnterHomeResultRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterHomeResultRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterHomeResultRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterHomeResultRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterHomeResultRsp_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterHomeResultRsp_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterHomeResultRsp_proto_msgTypes, + }.Build() + File_PlayerApplyEnterHomeResultRsp_proto = out.File + file_PlayerApplyEnterHomeResultRsp_proto_rawDesc = nil + file_PlayerApplyEnterHomeResultRsp_proto_goTypes = nil + file_PlayerApplyEnterHomeResultRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.proto b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.proto new file mode 100644 index 00000000..da954942 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterHomeResultRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4706 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterHomeResultRsp { + bool is_agreed = 2; + uint32 apply_uid = 11; + int32 retcode = 3; + uint32 param = 10; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.pb.go new file mode 100644 index 00000000..9a26e94c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpAfterMatchAgreedNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4195 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterMpAfterMatchAgreedNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrcPlayerInfo *OnlinePlayerInfo `protobuf:"bytes,11,opt,name=src_player_info,json=srcPlayerInfo,proto3" json:"src_player_info,omitempty"` + MatchserverId uint32 `protobuf:"varint,10,opt,name=matchserver_id,json=matchserverId,proto3" json:"matchserver_id,omitempty"` + MatchType MatchType `protobuf:"varint,3,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` +} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) Reset() { + *x = PlayerApplyEnterMpAfterMatchAgreedNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpAfterMatchAgreedNotify) ProtoMessage() {} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpAfterMatchAgreedNotify.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpAfterMatchAgreedNotify) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) GetSrcPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.SrcPlayerInfo + } + return nil +} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) GetMatchserverId() uint32 { + if x != nil { + return x.MatchserverId + } + return 0 +} + +func (x *PlayerApplyEnterMpAfterMatchAgreedNotify) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +var File_PlayerApplyEnterMpAfterMatchAgreedNotify_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x28, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, 0x0f, 0x73, 0x72, 0x63, 0x5f, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0d, 0x73, 0x72, 0x63, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, + 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescData = file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDesc +) + +func file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescData) + }) + return file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDescData +} + +var file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpAfterMatchAgreedNotify)(nil), // 0: PlayerApplyEnterMpAfterMatchAgreedNotify + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo + (MatchType)(0), // 2: MatchType +} +var file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerApplyEnterMpAfterMatchAgreedNotify.src_player_info:type_name -> OnlinePlayerInfo + 2, // 1: PlayerApplyEnterMpAfterMatchAgreedNotify.match_type:type_name -> MatchType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_init() } +func file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_init() { + if File_PlayerApplyEnterMpAfterMatchAgreedNotify_proto != nil { + return + } + file_MatchType_proto_init() + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpAfterMatchAgreedNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpAfterMatchAgreedNotify_proto = out.File + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_rawDesc = nil + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_goTypes = nil + file_PlayerApplyEnterMpAfterMatchAgreedNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto new file mode 100644 index 00000000..587f0532 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4195 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterMpAfterMatchAgreedNotify { + OnlinePlayerInfo src_player_info = 11; + uint32 matchserver_id = 10; + MatchType match_type = 3; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.pb.go new file mode 100644 index 00000000..4ebeb9b7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1826 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterMpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrcThreadIndex uint32 `protobuf:"varint,5,opt,name=src_thread_index,json=srcThreadIndex,proto3" json:"src_thread_index,omitempty"` + SrcAppId uint32 `protobuf:"varint,6,opt,name=src_app_id,json=srcAppId,proto3" json:"src_app_id,omitempty"` + SrcPlayerInfo *OnlinePlayerInfo `protobuf:"bytes,2,opt,name=src_player_info,json=srcPlayerInfo,proto3" json:"src_player_info,omitempty"` +} + +func (x *PlayerApplyEnterMpNotify) Reset() { + *x = PlayerApplyEnterMpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpNotify) ProtoMessage() {} + +func (x *PlayerApplyEnterMpNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpNotify.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpNotify) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpNotify) GetSrcThreadIndex() uint32 { + if x != nil { + return x.SrcThreadIndex + } + return 0 +} + +func (x *PlayerApplyEnterMpNotify) GetSrcAppId() uint32 { + if x != nil { + return x.SrcAppId + } + return 0 +} + +func (x *PlayerApplyEnterMpNotify) GetSrcPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.SrcPlayerInfo + } + return nil +} + +var File_PlayerApplyEnterMpNotify_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x18, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x72, 0x63, 0x5f, 0x74, 0x68, 0x72, + 0x65, 0x61, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x73, 0x72, 0x63, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1c, 0x0a, 0x0a, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x72, 0x63, 0x41, 0x70, 0x70, 0x49, 0x64, 0x12, 0x39, 0x0a, + 0x0f, 0x73, 0x72, 0x63, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x73, 0x72, 0x63, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpNotify_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpNotify_proto_rawDescData = file_PlayerApplyEnterMpNotify_proto_rawDesc +) + +func file_PlayerApplyEnterMpNotify_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpNotify_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpNotify_proto_rawDescData) + }) + return file_PlayerApplyEnterMpNotify_proto_rawDescData +} + +var file_PlayerApplyEnterMpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpNotify_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpNotify)(nil), // 0: PlayerApplyEnterMpNotify + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_PlayerApplyEnterMpNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerApplyEnterMpNotify.src_player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpNotify_proto_init() } +func file_PlayerApplyEnterMpNotify_proto_init() { + if File_PlayerApplyEnterMpNotify_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpNotify_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpNotify_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpNotify_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpNotify_proto = out.File + file_PlayerApplyEnterMpNotify_proto_rawDesc = nil + file_PlayerApplyEnterMpNotify_proto_goTypes = nil + file_PlayerApplyEnterMpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.proto new file mode 100644 index 00000000..3de71dbf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1826 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterMpNotify { + uint32 src_thread_index = 5; + uint32 src_app_id = 6; + OnlinePlayerInfo src_player_info = 2; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpReq.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpReq.pb.go new file mode 100644 index 00000000..27c001b6 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1818 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerApplyEnterMpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,4,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *PlayerApplyEnterMpReq) Reset() { + *x = PlayerApplyEnterMpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpReq) ProtoMessage() {} + +func (x *PlayerApplyEnterMpReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpReq.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpReq) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_PlayerApplyEnterMpReq_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, + 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x4d, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpReq_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpReq_proto_rawDescData = file_PlayerApplyEnterMpReq_proto_rawDesc +) + +func file_PlayerApplyEnterMpReq_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpReq_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpReq_proto_rawDescData) + }) + return file_PlayerApplyEnterMpReq_proto_rawDescData +} + +var file_PlayerApplyEnterMpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpReq_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpReq)(nil), // 0: PlayerApplyEnterMpReq +} +var file_PlayerApplyEnterMpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpReq_proto_init() } +func file_PlayerApplyEnterMpReq_proto_init() { + if File_PlayerApplyEnterMpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpReq_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpReq_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpReq_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpReq_proto = out.File + file_PlayerApplyEnterMpReq_proto_rawDesc = nil + file_PlayerApplyEnterMpReq_proto_goTypes = nil + file_PlayerApplyEnterMpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpReq.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpReq.proto new file mode 100644 index 00000000..733a2f7c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1818 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerApplyEnterMpReq { + uint32 target_uid = 4; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.pb.go new file mode 100644 index 00000000..b7e2dd81 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.pb.go @@ -0,0 +1,311 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerApplyEnterMpResultNotify_Reason int32 + +const ( + PlayerApplyEnterMpResultNotify_REASON_PLAYER_JUDGE PlayerApplyEnterMpResultNotify_Reason = 0 + PlayerApplyEnterMpResultNotify_REASON_SCENE_CANNOT_ENTER PlayerApplyEnterMpResultNotify_Reason = 1 + PlayerApplyEnterMpResultNotify_REASON_PLAYER_CANNOT_ENTER_MP PlayerApplyEnterMpResultNotify_Reason = 2 + PlayerApplyEnterMpResultNotify_REASON_SYSTEM_JUDGE PlayerApplyEnterMpResultNotify_Reason = 3 + PlayerApplyEnterMpResultNotify_REASON_ALLOW_ENTER_PLAYER_FULL PlayerApplyEnterMpResultNotify_Reason = 4 + PlayerApplyEnterMpResultNotify_REASON_WORLD_LEVEL_LOWER_THAN_HOST PlayerApplyEnterMpResultNotify_Reason = 5 + PlayerApplyEnterMpResultNotify_REASON_HOST_IN_MATCH PlayerApplyEnterMpResultNotify_Reason = 6 + PlayerApplyEnterMpResultNotify_REASON_PLAYER_IN_BLACKLIST PlayerApplyEnterMpResultNotify_Reason = 7 + PlayerApplyEnterMpResultNotify_REASON_PS_PLAYER_NOT_ACCEPT_OTHERS PlayerApplyEnterMpResultNotify_Reason = 8 + PlayerApplyEnterMpResultNotify_REASON_HOST_IS_BLOCKED PlayerApplyEnterMpResultNotify_Reason = 9 + PlayerApplyEnterMpResultNotify_REASON_OTHER_DATA_VERSION_NOT_LATEST PlayerApplyEnterMpResultNotify_Reason = 10 + PlayerApplyEnterMpResultNotify_REASON_DATA_VERSION_NOT_LATEST PlayerApplyEnterMpResultNotify_Reason = 11 + PlayerApplyEnterMpResultNotify_REASON_PLAYER_NOT_IN_PLAYER_WORLD PlayerApplyEnterMpResultNotify_Reason = 12 + PlayerApplyEnterMpResultNotify_REASON_MAX_PLAYER PlayerApplyEnterMpResultNotify_Reason = 13 +) + +// Enum value maps for PlayerApplyEnterMpResultNotify_Reason. +var ( + PlayerApplyEnterMpResultNotify_Reason_name = map[int32]string{ + 0: "REASON_PLAYER_JUDGE", + 1: "REASON_SCENE_CANNOT_ENTER", + 2: "REASON_PLAYER_CANNOT_ENTER_MP", + 3: "REASON_SYSTEM_JUDGE", + 4: "REASON_ALLOW_ENTER_PLAYER_FULL", + 5: "REASON_WORLD_LEVEL_LOWER_THAN_HOST", + 6: "REASON_HOST_IN_MATCH", + 7: "REASON_PLAYER_IN_BLACKLIST", + 8: "REASON_PS_PLAYER_NOT_ACCEPT_OTHERS", + 9: "REASON_HOST_IS_BLOCKED", + 10: "REASON_OTHER_DATA_VERSION_NOT_LATEST", + 11: "REASON_DATA_VERSION_NOT_LATEST", + 12: "REASON_PLAYER_NOT_IN_PLAYER_WORLD", + 13: "REASON_MAX_PLAYER", + } + PlayerApplyEnterMpResultNotify_Reason_value = map[string]int32{ + "REASON_PLAYER_JUDGE": 0, + "REASON_SCENE_CANNOT_ENTER": 1, + "REASON_PLAYER_CANNOT_ENTER_MP": 2, + "REASON_SYSTEM_JUDGE": 3, + "REASON_ALLOW_ENTER_PLAYER_FULL": 4, + "REASON_WORLD_LEVEL_LOWER_THAN_HOST": 5, + "REASON_HOST_IN_MATCH": 6, + "REASON_PLAYER_IN_BLACKLIST": 7, + "REASON_PS_PLAYER_NOT_ACCEPT_OTHERS": 8, + "REASON_HOST_IS_BLOCKED": 9, + "REASON_OTHER_DATA_VERSION_NOT_LATEST": 10, + "REASON_DATA_VERSION_NOT_LATEST": 11, + "REASON_PLAYER_NOT_IN_PLAYER_WORLD": 12, + "REASON_MAX_PLAYER": 13, + } +) + +func (x PlayerApplyEnterMpResultNotify_Reason) Enum() *PlayerApplyEnterMpResultNotify_Reason { + p := new(PlayerApplyEnterMpResultNotify_Reason) + *p = x + return p +} + +func (x PlayerApplyEnterMpResultNotify_Reason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerApplyEnterMpResultNotify_Reason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerApplyEnterMpResultNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerApplyEnterMpResultNotify_Reason) Type() protoreflect.EnumType { + return &file_PlayerApplyEnterMpResultNotify_proto_enumTypes[0] +} + +func (x PlayerApplyEnterMpResultNotify_Reason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerApplyEnterMpResultNotify_Reason.Descriptor instead. +func (PlayerApplyEnterMpResultNotify_Reason) EnumDescriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpResultNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 1807 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterMpResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgreed bool `protobuf:"varint,2,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` + TargetNickname string `protobuf:"bytes,12,opt,name=target_nickname,json=targetNickname,proto3" json:"target_nickname,omitempty"` + Reason PlayerApplyEnterMpResultNotify_Reason `protobuf:"varint,13,opt,name=reason,proto3,enum=PlayerApplyEnterMpResultNotify_Reason" json:"reason,omitempty"` + TargetUid uint32 `protobuf:"varint,1,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *PlayerApplyEnterMpResultNotify) Reset() { + *x = PlayerApplyEnterMpResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpResultNotify) ProtoMessage() {} + +func (x *PlayerApplyEnterMpResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpResultNotify.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpResultNotify) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpResultNotify) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +func (x *PlayerApplyEnterMpResultNotify) GetTargetNickname() string { + if x != nil { + return x.TargetNickname + } + return "" +} + +func (x *PlayerApplyEnterMpResultNotify) GetReason() PlayerApplyEnterMpResultNotify_Reason { + if x != nil { + return x.Reason + } + return PlayerApplyEnterMpResultNotify_REASON_PLAYER_JUDGE +} + +func (x *PlayerApplyEnterMpResultNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_PlayerApplyEnterMpResultNotify_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x05, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, + 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, + 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x26, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x22, 0xd2, + 0x03, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4a, 0x55, 0x44, 0x47, 0x45, + 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x45, + 0x4e, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, + 0x4d, 0x50, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, + 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4a, 0x55, 0x44, 0x47, 0x45, 0x10, 0x03, 0x12, 0x22, 0x0a, + 0x1e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x45, 0x4e, + 0x54, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, + 0x04, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x54, 0x48, + 0x41, 0x4e, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x41, 0x54, 0x43, + 0x48, 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, + 0x54, 0x10, 0x07, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x53, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, + 0x50, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x53, 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x42, 0x4c, + 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x09, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, + 0x0a, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x44, 0x41, 0x54, 0x41, + 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x41, 0x54, + 0x45, 0x53, 0x54, 0x10, 0x0b, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x10, 0x0c, 0x12, 0x15, 0x0a, 0x11, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, + 0x52, 0x10, 0x0d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpResultNotify_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpResultNotify_proto_rawDescData = file_PlayerApplyEnterMpResultNotify_proto_rawDesc +) + +func file_PlayerApplyEnterMpResultNotify_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpResultNotify_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpResultNotify_proto_rawDescData) + }) + return file_PlayerApplyEnterMpResultNotify_proto_rawDescData +} + +var file_PlayerApplyEnterMpResultNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerApplyEnterMpResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpResultNotify_proto_goTypes = []interface{}{ + (PlayerApplyEnterMpResultNotify_Reason)(0), // 0: PlayerApplyEnterMpResultNotify.Reason + (*PlayerApplyEnterMpResultNotify)(nil), // 1: PlayerApplyEnterMpResultNotify +} +var file_PlayerApplyEnterMpResultNotify_proto_depIdxs = []int32{ + 0, // 0: PlayerApplyEnterMpResultNotify.reason:type_name -> PlayerApplyEnterMpResultNotify.Reason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpResultNotify_proto_init() } +func file_PlayerApplyEnterMpResultNotify_proto_init() { + if File_PlayerApplyEnterMpResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpResultNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpResultNotify_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpResultNotify_proto_depIdxs, + EnumInfos: file_PlayerApplyEnterMpResultNotify_proto_enumTypes, + MessageInfos: file_PlayerApplyEnterMpResultNotify_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpResultNotify_proto = out.File + file_PlayerApplyEnterMpResultNotify_proto_rawDesc = nil + file_PlayerApplyEnterMpResultNotify_proto_goTypes = nil + file_PlayerApplyEnterMpResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.proto new file mode 100644 index 00000000..ee303b42 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultNotify.proto @@ -0,0 +1,46 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1807 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterMpResultNotify { + bool is_agreed = 2; + string target_nickname = 12; + Reason reason = 13; + uint32 target_uid = 1; + + enum Reason { + REASON_PLAYER_JUDGE = 0; + REASON_SCENE_CANNOT_ENTER = 1; + REASON_PLAYER_CANNOT_ENTER_MP = 2; + REASON_SYSTEM_JUDGE = 3; + REASON_ALLOW_ENTER_PLAYER_FULL = 4; + REASON_WORLD_LEVEL_LOWER_THAN_HOST = 5; + REASON_HOST_IN_MATCH = 6; + REASON_PLAYER_IN_BLACKLIST = 7; + REASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 8; + REASON_HOST_IS_BLOCKED = 9; + REASON_OTHER_DATA_VERSION_NOT_LATEST = 10; + REASON_DATA_VERSION_NOT_LATEST = 11; + REASON_PLAYER_NOT_IN_PLAYER_WORLD = 12; + REASON_MAX_PLAYER = 13; + } +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.pb.go new file mode 100644 index 00000000..1c1fe399 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpResultReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1802 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerApplyEnterMpResultReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplyUid uint32 `protobuf:"varint,2,opt,name=apply_uid,json=applyUid,proto3" json:"apply_uid,omitempty"` + IsAgreed bool `protobuf:"varint,12,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` +} + +func (x *PlayerApplyEnterMpResultReq) Reset() { + *x = PlayerApplyEnterMpResultReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpResultReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpResultReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpResultReq) ProtoMessage() {} + +func (x *PlayerApplyEnterMpResultReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpResultReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpResultReq.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpResultReq) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpResultReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpResultReq) GetApplyUid() uint32 { + if x != nil { + return x.ApplyUid + } + return 0 +} + +func (x *PlayerApplyEnterMpResultReq) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +var File_PlayerApplyEnterMpResultReq_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpResultReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x55, 0x69, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpResultReq_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpResultReq_proto_rawDescData = file_PlayerApplyEnterMpResultReq_proto_rawDesc +) + +func file_PlayerApplyEnterMpResultReq_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpResultReq_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpResultReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpResultReq_proto_rawDescData) + }) + return file_PlayerApplyEnterMpResultReq_proto_rawDescData +} + +var file_PlayerApplyEnterMpResultReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpResultReq_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpResultReq)(nil), // 0: PlayerApplyEnterMpResultReq +} +var file_PlayerApplyEnterMpResultReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpResultReq_proto_init() } +func file_PlayerApplyEnterMpResultReq_proto_init() { + if File_PlayerApplyEnterMpResultReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpResultReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpResultReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpResultReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpResultReq_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpResultReq_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpResultReq_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpResultReq_proto = out.File + file_PlayerApplyEnterMpResultReq_proto_rawDesc = nil + file_PlayerApplyEnterMpResultReq_proto_goTypes = nil + file_PlayerApplyEnterMpResultReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.proto new file mode 100644 index 00000000..b8313660 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1802 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerApplyEnterMpResultReq { + uint32 apply_uid = 2; + bool is_agreed = 12; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.pb.go new file mode 100644 index 00000000..262f42c8 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpResultRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1831 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterMpResultRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsAgreed bool `protobuf:"varint,3,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` + ApplyUid uint32 `protobuf:"varint,10,opt,name=apply_uid,json=applyUid,proto3" json:"apply_uid,omitempty"` + Param uint32 `protobuf:"varint,12,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *PlayerApplyEnterMpResultRsp) Reset() { + *x = PlayerApplyEnterMpResultRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpResultRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpResultRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpResultRsp) ProtoMessage() {} + +func (x *PlayerApplyEnterMpResultRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpResultRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpResultRsp.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpResultRsp) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpResultRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpResultRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerApplyEnterMpResultRsp) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +func (x *PlayerApplyEnterMpResultRsp) GetApplyUid() uint32 { + if x != nil { + return x.ApplyUid + } + return 0 +} + +func (x *PlayerApplyEnterMpResultRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_PlayerApplyEnterMpResultRsp_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpResultRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, + 0x70, 0x6c, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x70, 0x70, 0x6c, 0x79, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerApplyEnterMpResultRsp_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpResultRsp_proto_rawDescData = file_PlayerApplyEnterMpResultRsp_proto_rawDesc +) + +func file_PlayerApplyEnterMpResultRsp_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpResultRsp_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpResultRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpResultRsp_proto_rawDescData) + }) + return file_PlayerApplyEnterMpResultRsp_proto_rawDescData +} + +var file_PlayerApplyEnterMpResultRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpResultRsp_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpResultRsp)(nil), // 0: PlayerApplyEnterMpResultRsp +} +var file_PlayerApplyEnterMpResultRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpResultRsp_proto_init() } +func file_PlayerApplyEnterMpResultRsp_proto_init() { + if File_PlayerApplyEnterMpResultRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpResultRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpResultRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpResultRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpResultRsp_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpResultRsp_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpResultRsp_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpResultRsp_proto = out.File + file_PlayerApplyEnterMpResultRsp_proto_rawDesc = nil + file_PlayerApplyEnterMpResultRsp_proto_goTypes = nil + file_PlayerApplyEnterMpResultRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.proto new file mode 100644 index 00000000..05d8fff4 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpResultRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1831 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterMpResultRsp { + int32 retcode = 1; + bool is_agreed = 3; + uint32 apply_uid = 10; + uint32 param = 12; +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.pb.go b/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.pb.go new file mode 100644 index 00000000..5569871f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerApplyEnterMpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1825 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerApplyEnterMpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,3,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Param uint32 `protobuf:"varint,4,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *PlayerApplyEnterMpRsp) Reset() { + *x = PlayerApplyEnterMpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerApplyEnterMpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerApplyEnterMpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerApplyEnterMpRsp) ProtoMessage() {} + +func (x *PlayerApplyEnterMpRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerApplyEnterMpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerApplyEnterMpRsp.ProtoReflect.Descriptor instead. +func (*PlayerApplyEnterMpRsp) Descriptor() ([]byte, []int) { + return file_PlayerApplyEnterMpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerApplyEnterMpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerApplyEnterMpRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerApplyEnterMpRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_PlayerApplyEnterMpRsp_proto protoreflect.FileDescriptor + +var file_PlayerApplyEnterMpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x4d, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, + 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x4d, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerApplyEnterMpRsp_proto_rawDescOnce sync.Once + file_PlayerApplyEnterMpRsp_proto_rawDescData = file_PlayerApplyEnterMpRsp_proto_rawDesc +) + +func file_PlayerApplyEnterMpRsp_proto_rawDescGZIP() []byte { + file_PlayerApplyEnterMpRsp_proto_rawDescOnce.Do(func() { + file_PlayerApplyEnterMpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerApplyEnterMpRsp_proto_rawDescData) + }) + return file_PlayerApplyEnterMpRsp_proto_rawDescData +} + +var file_PlayerApplyEnterMpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerApplyEnterMpRsp_proto_goTypes = []interface{}{ + (*PlayerApplyEnterMpRsp)(nil), // 0: PlayerApplyEnterMpRsp +} +var file_PlayerApplyEnterMpRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerApplyEnterMpRsp_proto_init() } +func file_PlayerApplyEnterMpRsp_proto_init() { + if File_PlayerApplyEnterMpRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerApplyEnterMpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerApplyEnterMpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerApplyEnterMpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerApplyEnterMpRsp_proto_goTypes, + DependencyIndexes: file_PlayerApplyEnterMpRsp_proto_depIdxs, + MessageInfos: file_PlayerApplyEnterMpRsp_proto_msgTypes, + }.Build() + File_PlayerApplyEnterMpRsp_proto = out.File + file_PlayerApplyEnterMpRsp_proto_rawDesc = nil + file_PlayerApplyEnterMpRsp_proto_goTypes = nil + file_PlayerApplyEnterMpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.proto b/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.proto new file mode 100644 index 00000000..930453a3 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerApplyEnterMpRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1825 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerApplyEnterMpRsp { + int32 retcode = 5; + uint32 target_uid = 3; + uint32 param = 4; +} diff --git a/gate-hk4e-api/proto/PlayerCancelMatchReq.pb.go b/gate-hk4e-api/proto/PlayerCancelMatchReq.pb.go new file mode 100644 index 00000000..39e2008c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCancelMatchReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCancelMatchReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4157 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerCancelMatchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchType MatchType `protobuf:"varint,11,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` +} + +func (x *PlayerCancelMatchReq) Reset() { + *x = PlayerCancelMatchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCancelMatchReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCancelMatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCancelMatchReq) ProtoMessage() {} + +func (x *PlayerCancelMatchReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCancelMatchReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCancelMatchReq.ProtoReflect.Descriptor instead. +func (*PlayerCancelMatchReq) Descriptor() ([]byte, []int) { + return file_PlayerCancelMatchReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCancelMatchReq) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +var File_PlayerCancelMatchReq_proto protoreflect.FileDescriptor + +var file_PlayerCancelMatchReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, + 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCancelMatchReq_proto_rawDescOnce sync.Once + file_PlayerCancelMatchReq_proto_rawDescData = file_PlayerCancelMatchReq_proto_rawDesc +) + +func file_PlayerCancelMatchReq_proto_rawDescGZIP() []byte { + file_PlayerCancelMatchReq_proto_rawDescOnce.Do(func() { + file_PlayerCancelMatchReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCancelMatchReq_proto_rawDescData) + }) + return file_PlayerCancelMatchReq_proto_rawDescData +} + +var file_PlayerCancelMatchReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCancelMatchReq_proto_goTypes = []interface{}{ + (*PlayerCancelMatchReq)(nil), // 0: PlayerCancelMatchReq + (MatchType)(0), // 1: MatchType +} +var file_PlayerCancelMatchReq_proto_depIdxs = []int32{ + 1, // 0: PlayerCancelMatchReq.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerCancelMatchReq_proto_init() } +func file_PlayerCancelMatchReq_proto_init() { + if File_PlayerCancelMatchReq_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerCancelMatchReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCancelMatchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCancelMatchReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCancelMatchReq_proto_goTypes, + DependencyIndexes: file_PlayerCancelMatchReq_proto_depIdxs, + MessageInfos: file_PlayerCancelMatchReq_proto_msgTypes, + }.Build() + File_PlayerCancelMatchReq_proto = out.File + file_PlayerCancelMatchReq_proto_rawDesc = nil + file_PlayerCancelMatchReq_proto_goTypes = nil + file_PlayerCancelMatchReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCancelMatchReq.proto b/gate-hk4e-api/proto/PlayerCancelMatchReq.proto new file mode 100644 index 00000000..f00e30b5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCancelMatchReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4157 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerCancelMatchReq { + MatchType match_type = 11; +} diff --git a/gate-hk4e-api/proto/PlayerCancelMatchRsp.pb.go b/gate-hk4e-api/proto/PlayerCancelMatchRsp.pb.go new file mode 100644 index 00000000..f845b5cc --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCancelMatchRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCancelMatchRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4152 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerCancelMatchRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + MatchType MatchType `protobuf:"varint,7,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` +} + +func (x *PlayerCancelMatchRsp) Reset() { + *x = PlayerCancelMatchRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCancelMatchRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCancelMatchRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCancelMatchRsp) ProtoMessage() {} + +func (x *PlayerCancelMatchRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCancelMatchRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCancelMatchRsp.ProtoReflect.Descriptor instead. +func (*PlayerCancelMatchRsp) Descriptor() ([]byte, []int) { + return file_PlayerCancelMatchRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCancelMatchRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerCancelMatchRsp) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +var File_PlayerCancelMatchRsp_proto protoreflect.FileDescriptor + +var file_PlayerCancelMatchRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, + 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCancelMatchRsp_proto_rawDescOnce sync.Once + file_PlayerCancelMatchRsp_proto_rawDescData = file_PlayerCancelMatchRsp_proto_rawDesc +) + +func file_PlayerCancelMatchRsp_proto_rawDescGZIP() []byte { + file_PlayerCancelMatchRsp_proto_rawDescOnce.Do(func() { + file_PlayerCancelMatchRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCancelMatchRsp_proto_rawDescData) + }) + return file_PlayerCancelMatchRsp_proto_rawDescData +} + +var file_PlayerCancelMatchRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCancelMatchRsp_proto_goTypes = []interface{}{ + (*PlayerCancelMatchRsp)(nil), // 0: PlayerCancelMatchRsp + (MatchType)(0), // 1: MatchType +} +var file_PlayerCancelMatchRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerCancelMatchRsp.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerCancelMatchRsp_proto_init() } +func file_PlayerCancelMatchRsp_proto_init() { + if File_PlayerCancelMatchRsp_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerCancelMatchRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCancelMatchRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCancelMatchRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCancelMatchRsp_proto_goTypes, + DependencyIndexes: file_PlayerCancelMatchRsp_proto_depIdxs, + MessageInfos: file_PlayerCancelMatchRsp_proto_msgTypes, + }.Build() + File_PlayerCancelMatchRsp_proto = out.File + file_PlayerCancelMatchRsp_proto_rawDesc = nil + file_PlayerCancelMatchRsp_proto_goTypes = nil + file_PlayerCancelMatchRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCancelMatchRsp.proto b/gate-hk4e-api/proto/PlayerCancelMatchRsp.proto new file mode 100644 index 00000000..016978f5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCancelMatchRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4152 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerCancelMatchRsp { + int32 retcode = 6; + MatchType match_type = 7; +} diff --git a/gate-hk4e-api/proto/PlayerChatCDNotify.pb.go b/gate-hk4e-api/proto/PlayerChatCDNotify.pb.go new file mode 100644 index 00000000..ef93357d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatCDNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerChatCDNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3367 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerChatCDNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OverTime uint32 `protobuf:"varint,15,opt,name=over_time,json=overTime,proto3" json:"over_time,omitempty"` +} + +func (x *PlayerChatCDNotify) Reset() { + *x = PlayerChatCDNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerChatCDNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerChatCDNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerChatCDNotify) ProtoMessage() {} + +func (x *PlayerChatCDNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerChatCDNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerChatCDNotify.ProtoReflect.Descriptor instead. +func (*PlayerChatCDNotify) Descriptor() ([]byte, []int) { + return file_PlayerChatCDNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerChatCDNotify) GetOverTime() uint32 { + if x != nil { + return x.OverTime + } + return 0 +} + +var File_PlayerChatCDNotify_proto protoreflect.FileDescriptor + +var file_PlayerChatCDNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x43, 0x44, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x12, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x43, 0x44, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerChatCDNotify_proto_rawDescOnce sync.Once + file_PlayerChatCDNotify_proto_rawDescData = file_PlayerChatCDNotify_proto_rawDesc +) + +func file_PlayerChatCDNotify_proto_rawDescGZIP() []byte { + file_PlayerChatCDNotify_proto_rawDescOnce.Do(func() { + file_PlayerChatCDNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerChatCDNotify_proto_rawDescData) + }) + return file_PlayerChatCDNotify_proto_rawDescData +} + +var file_PlayerChatCDNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerChatCDNotify_proto_goTypes = []interface{}{ + (*PlayerChatCDNotify)(nil), // 0: PlayerChatCDNotify +} +var file_PlayerChatCDNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerChatCDNotify_proto_init() } +func file_PlayerChatCDNotify_proto_init() { + if File_PlayerChatCDNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerChatCDNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerChatCDNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerChatCDNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerChatCDNotify_proto_goTypes, + DependencyIndexes: file_PlayerChatCDNotify_proto_depIdxs, + MessageInfos: file_PlayerChatCDNotify_proto_msgTypes, + }.Build() + File_PlayerChatCDNotify_proto = out.File + file_PlayerChatCDNotify_proto_rawDesc = nil + file_PlayerChatCDNotify_proto_goTypes = nil + file_PlayerChatCDNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerChatCDNotify.proto b/gate-hk4e-api/proto/PlayerChatCDNotify.proto new file mode 100644 index 00000000..fb47e045 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatCDNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3367 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerChatCDNotify { + uint32 over_time = 15; +} diff --git a/gate-hk4e-api/proto/PlayerChatNotify.pb.go b/gate-hk4e-api/proto/PlayerChatNotify.pb.go new file mode 100644 index 00000000..5abedf27 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerChatNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3010 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerChatNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatInfo *ChatInfo `protobuf:"bytes,3,opt,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` + ChannelId uint32 `protobuf:"varint,6,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` +} + +func (x *PlayerChatNotify) Reset() { + *x = PlayerChatNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerChatNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerChatNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerChatNotify) ProtoMessage() {} + +func (x *PlayerChatNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerChatNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerChatNotify.ProtoReflect.Descriptor instead. +func (*PlayerChatNotify) Descriptor() ([]byte, []int) { + return file_PlayerChatNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerChatNotify) GetChatInfo() *ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +func (x *PlayerChatNotify) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +var File_PlayerChatNotify_proto protoreflect.FileDescriptor + +var file_PlayerChatNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x09, + 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, 0x61, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerChatNotify_proto_rawDescOnce sync.Once + file_PlayerChatNotify_proto_rawDescData = file_PlayerChatNotify_proto_rawDesc +) + +func file_PlayerChatNotify_proto_rawDescGZIP() []byte { + file_PlayerChatNotify_proto_rawDescOnce.Do(func() { + file_PlayerChatNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerChatNotify_proto_rawDescData) + }) + return file_PlayerChatNotify_proto_rawDescData +} + +var file_PlayerChatNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerChatNotify_proto_goTypes = []interface{}{ + (*PlayerChatNotify)(nil), // 0: PlayerChatNotify + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_PlayerChatNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerChatNotify.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerChatNotify_proto_init() } +func file_PlayerChatNotify_proto_init() { + if File_PlayerChatNotify_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerChatNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerChatNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerChatNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerChatNotify_proto_goTypes, + DependencyIndexes: file_PlayerChatNotify_proto_depIdxs, + MessageInfos: file_PlayerChatNotify_proto_msgTypes, + }.Build() + File_PlayerChatNotify_proto = out.File + file_PlayerChatNotify_proto_rawDesc = nil + file_PlayerChatNotify_proto_goTypes = nil + file_PlayerChatNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerChatNotify.proto b/gate-hk4e-api/proto/PlayerChatNotify.proto new file mode 100644 index 00000000..eda00065 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3010 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerChatNotify { + ChatInfo chat_info = 3; + uint32 channel_id = 6; +} diff --git a/gate-hk4e-api/proto/PlayerChatReq.pb.go b/gate-hk4e-api/proto/PlayerChatReq.pb.go new file mode 100644 index 00000000..7f357a94 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatReq.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerChatReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3185 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerChatReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChannelId uint32 `protobuf:"varint,13,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChatInfo *ChatInfo `protobuf:"bytes,15,opt,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` +} + +func (x *PlayerChatReq) Reset() { + *x = PlayerChatReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerChatReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerChatReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerChatReq) ProtoMessage() {} + +func (x *PlayerChatReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerChatReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerChatReq.ProtoReflect.Descriptor instead. +func (*PlayerChatReq) Descriptor() ([]byte, []int) { + return file_PlayerChatReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerChatReq) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +func (x *PlayerChatReq) GetChatInfo() *ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +var File_PlayerChatReq_proto protoreflect.FileDescriptor + +var file_PlayerChatReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, + 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerChatReq_proto_rawDescOnce sync.Once + file_PlayerChatReq_proto_rawDescData = file_PlayerChatReq_proto_rawDesc +) + +func file_PlayerChatReq_proto_rawDescGZIP() []byte { + file_PlayerChatReq_proto_rawDescOnce.Do(func() { + file_PlayerChatReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerChatReq_proto_rawDescData) + }) + return file_PlayerChatReq_proto_rawDescData +} + +var file_PlayerChatReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerChatReq_proto_goTypes = []interface{}{ + (*PlayerChatReq)(nil), // 0: PlayerChatReq + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_PlayerChatReq_proto_depIdxs = []int32{ + 1, // 0: PlayerChatReq.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerChatReq_proto_init() } +func file_PlayerChatReq_proto_init() { + if File_PlayerChatReq_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerChatReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerChatReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerChatReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerChatReq_proto_goTypes, + DependencyIndexes: file_PlayerChatReq_proto_depIdxs, + MessageInfos: file_PlayerChatReq_proto_msgTypes, + }.Build() + File_PlayerChatReq_proto = out.File + file_PlayerChatReq_proto_rawDesc = nil + file_PlayerChatReq_proto_goTypes = nil + file_PlayerChatReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerChatReq.proto b/gate-hk4e-api/proto/PlayerChatReq.proto new file mode 100644 index 00000000..d2d7f89d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3185 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerChatReq { + uint32 channel_id = 13; + ChatInfo chat_info = 15; +} diff --git a/gate-hk4e-api/proto/PlayerChatRsp.pb.go b/gate-hk4e-api/proto/PlayerChatRsp.pb.go new file mode 100644 index 00000000..b8c66664 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerChatRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3228 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerChatRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatForbiddenEndtime uint32 `protobuf:"varint,15,opt,name=chat_forbidden_endtime,json=chatForbiddenEndtime,proto3" json:"chat_forbidden_endtime,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerChatRsp) Reset() { + *x = PlayerChatRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerChatRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerChatRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerChatRsp) ProtoMessage() {} + +func (x *PlayerChatRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerChatRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerChatRsp.ProtoReflect.Descriptor instead. +func (*PlayerChatRsp) Descriptor() ([]byte, []int) { + return file_PlayerChatRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerChatRsp) GetChatForbiddenEndtime() uint32 { + if x != nil { + return x.ChatForbiddenEndtime + } + return 0 +} + +func (x *PlayerChatRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerChatRsp_proto protoreflect.FileDescriptor + +var file_PlayerChatRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, + 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x66, + 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x63, 0x68, 0x61, 0x74, 0x46, 0x6f, 0x72, 0x62, + 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerChatRsp_proto_rawDescOnce sync.Once + file_PlayerChatRsp_proto_rawDescData = file_PlayerChatRsp_proto_rawDesc +) + +func file_PlayerChatRsp_proto_rawDescGZIP() []byte { + file_PlayerChatRsp_proto_rawDescOnce.Do(func() { + file_PlayerChatRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerChatRsp_proto_rawDescData) + }) + return file_PlayerChatRsp_proto_rawDescData +} + +var file_PlayerChatRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerChatRsp_proto_goTypes = []interface{}{ + (*PlayerChatRsp)(nil), // 0: PlayerChatRsp +} +var file_PlayerChatRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerChatRsp_proto_init() } +func file_PlayerChatRsp_proto_init() { + if File_PlayerChatRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerChatRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerChatRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerChatRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerChatRsp_proto_goTypes, + DependencyIndexes: file_PlayerChatRsp_proto_depIdxs, + MessageInfos: file_PlayerChatRsp_proto_msgTypes, + }.Build() + File_PlayerChatRsp_proto = out.File + file_PlayerChatRsp_proto_rawDesc = nil + file_PlayerChatRsp_proto_goTypes = nil + file_PlayerChatRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerChatRsp.proto b/gate-hk4e-api/proto/PlayerChatRsp.proto new file mode 100644 index 00000000..def9f585 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerChatRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3228 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerChatRsp { + uint32 chat_forbidden_endtime = 15; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/PlayerCompoundMaterialReq.pb.go b/gate-hk4e-api/proto/PlayerCompoundMaterialReq.pb.go new file mode 100644 index 00000000..2775501c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCompoundMaterialReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCompoundMaterialReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 150 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerCompoundMaterialReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,11,opt,name=count,proto3" json:"count,omitempty"` + CompoundId uint32 `protobuf:"varint,3,opt,name=compound_id,json=compoundId,proto3" json:"compound_id,omitempty"` +} + +func (x *PlayerCompoundMaterialReq) Reset() { + *x = PlayerCompoundMaterialReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCompoundMaterialReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCompoundMaterialReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCompoundMaterialReq) ProtoMessage() {} + +func (x *PlayerCompoundMaterialReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCompoundMaterialReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCompoundMaterialReq.ProtoReflect.Descriptor instead. +func (*PlayerCompoundMaterialReq) Descriptor() ([]byte, []int) { + return file_PlayerCompoundMaterialReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCompoundMaterialReq) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *PlayerCompoundMaterialReq) GetCompoundId() uint32 { + if x != nil { + return x.CompoundId + } + return 0 +} + +var File_PlayerCompoundMaterialReq_proto protoreflect.FileDescriptor + +var file_PlayerCompoundMaterialReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x52, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, + 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x75, 0x6e, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCompoundMaterialReq_proto_rawDescOnce sync.Once + file_PlayerCompoundMaterialReq_proto_rawDescData = file_PlayerCompoundMaterialReq_proto_rawDesc +) + +func file_PlayerCompoundMaterialReq_proto_rawDescGZIP() []byte { + file_PlayerCompoundMaterialReq_proto_rawDescOnce.Do(func() { + file_PlayerCompoundMaterialReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCompoundMaterialReq_proto_rawDescData) + }) + return file_PlayerCompoundMaterialReq_proto_rawDescData +} + +var file_PlayerCompoundMaterialReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCompoundMaterialReq_proto_goTypes = []interface{}{ + (*PlayerCompoundMaterialReq)(nil), // 0: PlayerCompoundMaterialReq +} +var file_PlayerCompoundMaterialReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerCompoundMaterialReq_proto_init() } +func file_PlayerCompoundMaterialReq_proto_init() { + if File_PlayerCompoundMaterialReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerCompoundMaterialReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCompoundMaterialReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCompoundMaterialReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCompoundMaterialReq_proto_goTypes, + DependencyIndexes: file_PlayerCompoundMaterialReq_proto_depIdxs, + MessageInfos: file_PlayerCompoundMaterialReq_proto_msgTypes, + }.Build() + File_PlayerCompoundMaterialReq_proto = out.File + file_PlayerCompoundMaterialReq_proto_rawDesc = nil + file_PlayerCompoundMaterialReq_proto_goTypes = nil + file_PlayerCompoundMaterialReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCompoundMaterialReq.proto b/gate-hk4e-api/proto/PlayerCompoundMaterialReq.proto new file mode 100644 index 00000000..1b02d783 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCompoundMaterialReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 150 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerCompoundMaterialReq { + uint32 count = 11; + uint32 compound_id = 3; +} diff --git a/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.pb.go b/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.pb.go new file mode 100644 index 00000000..03ab821c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCompoundMaterialRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 143 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerCompoundMaterialRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CompoundQueData *CompoundQueueData `protobuf:"bytes,5,opt,name=compound_que_data,json=compoundQueData,proto3" json:"compound_que_data,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerCompoundMaterialRsp) Reset() { + *x = PlayerCompoundMaterialRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCompoundMaterialRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCompoundMaterialRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCompoundMaterialRsp) ProtoMessage() {} + +func (x *PlayerCompoundMaterialRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCompoundMaterialRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCompoundMaterialRsp.ProtoReflect.Descriptor instead. +func (*PlayerCompoundMaterialRsp) Descriptor() ([]byte, []int) { + return file_PlayerCompoundMaterialRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCompoundMaterialRsp) GetCompoundQueData() *CompoundQueueData { + if x != nil { + return x.CompoundQueData + } + return nil +} + +func (x *PlayerCompoundMaterialRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerCompoundMaterialRsp_proto protoreflect.FileDescriptor + +var file_PlayerCompoundMaterialRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x19, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x75, 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, + 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, + 0x51, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCompoundMaterialRsp_proto_rawDescOnce sync.Once + file_PlayerCompoundMaterialRsp_proto_rawDescData = file_PlayerCompoundMaterialRsp_proto_rawDesc +) + +func file_PlayerCompoundMaterialRsp_proto_rawDescGZIP() []byte { + file_PlayerCompoundMaterialRsp_proto_rawDescOnce.Do(func() { + file_PlayerCompoundMaterialRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCompoundMaterialRsp_proto_rawDescData) + }) + return file_PlayerCompoundMaterialRsp_proto_rawDescData +} + +var file_PlayerCompoundMaterialRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCompoundMaterialRsp_proto_goTypes = []interface{}{ + (*PlayerCompoundMaterialRsp)(nil), // 0: PlayerCompoundMaterialRsp + (*CompoundQueueData)(nil), // 1: CompoundQueueData +} +var file_PlayerCompoundMaterialRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerCompoundMaterialRsp.compound_que_data:type_name -> CompoundQueueData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerCompoundMaterialRsp_proto_init() } +func file_PlayerCompoundMaterialRsp_proto_init() { + if File_PlayerCompoundMaterialRsp_proto != nil { + return + } + file_CompoundQueueData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerCompoundMaterialRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCompoundMaterialRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCompoundMaterialRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCompoundMaterialRsp_proto_goTypes, + DependencyIndexes: file_PlayerCompoundMaterialRsp_proto_depIdxs, + MessageInfos: file_PlayerCompoundMaterialRsp_proto_msgTypes, + }.Build() + File_PlayerCompoundMaterialRsp_proto = out.File + file_PlayerCompoundMaterialRsp_proto_rawDesc = nil + file_PlayerCompoundMaterialRsp_proto_goTypes = nil + file_PlayerCompoundMaterialRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.proto b/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.proto new file mode 100644 index 00000000..33f899e2 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCompoundMaterialRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CompoundQueueData.proto"; + +option go_package = "./;proto"; + +// CmdId: 143 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerCompoundMaterialRsp { + CompoundQueueData compound_que_data = 5; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/PlayerConfirmMatchReq.pb.go b/gate-hk4e-api/proto/PlayerConfirmMatchReq.pb.go new file mode 100644 index 00000000..89b56557 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerConfirmMatchReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerConfirmMatchReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerConfirmMatchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchType MatchType `protobuf:"varint,12,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + IsAgreed bool `protobuf:"varint,10,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` +} + +func (x *PlayerConfirmMatchReq) Reset() { + *x = PlayerConfirmMatchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerConfirmMatchReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerConfirmMatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerConfirmMatchReq) ProtoMessage() {} + +func (x *PlayerConfirmMatchReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerConfirmMatchReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerConfirmMatchReq.ProtoReflect.Descriptor instead. +func (*PlayerConfirmMatchReq) Descriptor() ([]byte, []int) { + return file_PlayerConfirmMatchReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerConfirmMatchReq) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerConfirmMatchReq) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +var File_PlayerConfirmMatchReq_proto protoreflect.FileDescriptor + +var file_PlayerConfirmMatchReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerConfirmMatchReq_proto_rawDescOnce sync.Once + file_PlayerConfirmMatchReq_proto_rawDescData = file_PlayerConfirmMatchReq_proto_rawDesc +) + +func file_PlayerConfirmMatchReq_proto_rawDescGZIP() []byte { + file_PlayerConfirmMatchReq_proto_rawDescOnce.Do(func() { + file_PlayerConfirmMatchReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerConfirmMatchReq_proto_rawDescData) + }) + return file_PlayerConfirmMatchReq_proto_rawDescData +} + +var file_PlayerConfirmMatchReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerConfirmMatchReq_proto_goTypes = []interface{}{ + (*PlayerConfirmMatchReq)(nil), // 0: PlayerConfirmMatchReq + (MatchType)(0), // 1: MatchType +} +var file_PlayerConfirmMatchReq_proto_depIdxs = []int32{ + 1, // 0: PlayerConfirmMatchReq.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerConfirmMatchReq_proto_init() } +func file_PlayerConfirmMatchReq_proto_init() { + if File_PlayerConfirmMatchReq_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerConfirmMatchReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerConfirmMatchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerConfirmMatchReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerConfirmMatchReq_proto_goTypes, + DependencyIndexes: file_PlayerConfirmMatchReq_proto_depIdxs, + MessageInfos: file_PlayerConfirmMatchReq_proto_msgTypes, + }.Build() + File_PlayerConfirmMatchReq_proto = out.File + file_PlayerConfirmMatchReq_proto_rawDesc = nil + file_PlayerConfirmMatchReq_proto_goTypes = nil + file_PlayerConfirmMatchReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerConfirmMatchReq.proto b/gate-hk4e-api/proto/PlayerConfirmMatchReq.proto new file mode 100644 index 00000000..7f9113f3 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerConfirmMatchReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerConfirmMatchReq { + MatchType match_type = 12; + bool is_agreed = 10; +} diff --git a/gate-hk4e-api/proto/PlayerConfirmMatchRsp.pb.go b/gate-hk4e-api/proto/PlayerConfirmMatchRsp.pb.go new file mode 100644 index 00000000..97bd3158 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerConfirmMatchRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerConfirmMatchRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4194 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerConfirmMatchRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchType MatchType `protobuf:"varint,9,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + MatchId uint32 `protobuf:"varint,4,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + IsAgreed bool `protobuf:"varint,11,opt,name=is_agreed,json=isAgreed,proto3" json:"is_agreed,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerConfirmMatchRsp) Reset() { + *x = PlayerConfirmMatchRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerConfirmMatchRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerConfirmMatchRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerConfirmMatchRsp) ProtoMessage() {} + +func (x *PlayerConfirmMatchRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerConfirmMatchRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerConfirmMatchRsp.ProtoReflect.Descriptor instead. +func (*PlayerConfirmMatchRsp) Descriptor() ([]byte, []int) { + return file_PlayerConfirmMatchRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerConfirmMatchRsp) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerConfirmMatchRsp) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *PlayerConfirmMatchRsp) GetIsAgreed() bool { + if x != nil { + return x.IsAgreed + } + return false +} + +func (x *PlayerConfirmMatchRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerConfirmMatchRsp_proto protoreflect.FileDescriptor + +var file_PlayerConfirmMatchRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, + 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, + 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerConfirmMatchRsp_proto_rawDescOnce sync.Once + file_PlayerConfirmMatchRsp_proto_rawDescData = file_PlayerConfirmMatchRsp_proto_rawDesc +) + +func file_PlayerConfirmMatchRsp_proto_rawDescGZIP() []byte { + file_PlayerConfirmMatchRsp_proto_rawDescOnce.Do(func() { + file_PlayerConfirmMatchRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerConfirmMatchRsp_proto_rawDescData) + }) + return file_PlayerConfirmMatchRsp_proto_rawDescData +} + +var file_PlayerConfirmMatchRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerConfirmMatchRsp_proto_goTypes = []interface{}{ + (*PlayerConfirmMatchRsp)(nil), // 0: PlayerConfirmMatchRsp + (MatchType)(0), // 1: MatchType +} +var file_PlayerConfirmMatchRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerConfirmMatchRsp.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerConfirmMatchRsp_proto_init() } +func file_PlayerConfirmMatchRsp_proto_init() { + if File_PlayerConfirmMatchRsp_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerConfirmMatchRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerConfirmMatchRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerConfirmMatchRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerConfirmMatchRsp_proto_goTypes, + DependencyIndexes: file_PlayerConfirmMatchRsp_proto_depIdxs, + MessageInfos: file_PlayerConfirmMatchRsp_proto_msgTypes, + }.Build() + File_PlayerConfirmMatchRsp_proto = out.File + file_PlayerConfirmMatchRsp_proto_rawDesc = nil + file_PlayerConfirmMatchRsp_proto_goTypes = nil + file_PlayerConfirmMatchRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerConfirmMatchRsp.proto b/gate-hk4e-api/proto/PlayerConfirmMatchRsp.proto new file mode 100644 index 00000000..bbc86dc4 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerConfirmMatchRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4194 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerConfirmMatchRsp { + MatchType match_type = 9; + uint32 match_id = 4; + bool is_agreed = 11; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/PlayerCookArgsReq.pb.go b/gate-hk4e-api/proto/PlayerCookArgsReq.pb.go new file mode 100644 index 00000000..3063ff3f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookArgsReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCookArgsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 166 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerCookArgsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssistAvatar uint32 `protobuf:"varint,10,opt,name=assist_avatar,json=assistAvatar,proto3" json:"assist_avatar,omitempty"` + RecipeId uint32 `protobuf:"varint,11,opt,name=recipe_id,json=recipeId,proto3" json:"recipe_id,omitempty"` +} + +func (x *PlayerCookArgsReq) Reset() { + *x = PlayerCookArgsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCookArgsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCookArgsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCookArgsReq) ProtoMessage() {} + +func (x *PlayerCookArgsReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCookArgsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCookArgsReq.ProtoReflect.Descriptor instead. +func (*PlayerCookArgsReq) Descriptor() ([]byte, []int) { + return file_PlayerCookArgsReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCookArgsReq) GetAssistAvatar() uint32 { + if x != nil { + return x.AssistAvatar + } + return 0 +} + +func (x *PlayerCookArgsReq) GetRecipeId() uint32 { + if x != nil { + return x.RecipeId + } + return 0 +} + +var File_PlayerCookArgsReq_proto protoreflect.FileDescriptor + +var file_PlayerCookArgsReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x41, 0x72, 0x67, 0x73, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x41, 0x72, 0x67, 0x73, 0x52, 0x65, 0x71, 0x12, 0x23, + 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x63, 0x69, 0x70, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCookArgsReq_proto_rawDescOnce sync.Once + file_PlayerCookArgsReq_proto_rawDescData = file_PlayerCookArgsReq_proto_rawDesc +) + +func file_PlayerCookArgsReq_proto_rawDescGZIP() []byte { + file_PlayerCookArgsReq_proto_rawDescOnce.Do(func() { + file_PlayerCookArgsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCookArgsReq_proto_rawDescData) + }) + return file_PlayerCookArgsReq_proto_rawDescData +} + +var file_PlayerCookArgsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCookArgsReq_proto_goTypes = []interface{}{ + (*PlayerCookArgsReq)(nil), // 0: PlayerCookArgsReq +} +var file_PlayerCookArgsReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerCookArgsReq_proto_init() } +func file_PlayerCookArgsReq_proto_init() { + if File_PlayerCookArgsReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerCookArgsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCookArgsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCookArgsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCookArgsReq_proto_goTypes, + DependencyIndexes: file_PlayerCookArgsReq_proto_depIdxs, + MessageInfos: file_PlayerCookArgsReq_proto_msgTypes, + }.Build() + File_PlayerCookArgsReq_proto = out.File + file_PlayerCookArgsReq_proto_rawDesc = nil + file_PlayerCookArgsReq_proto_goTypes = nil + file_PlayerCookArgsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCookArgsReq.proto b/gate-hk4e-api/proto/PlayerCookArgsReq.proto new file mode 100644 index 00000000..ea4cd9c2 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookArgsReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 166 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerCookArgsReq { + uint32 assist_avatar = 10; + uint32 recipe_id = 11; +} diff --git a/gate-hk4e-api/proto/PlayerCookArgsRsp.pb.go b/gate-hk4e-api/proto/PlayerCookArgsRsp.pb.go new file mode 100644 index 00000000..f39bb788 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookArgsRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCookArgsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 168 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerCookArgsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + QteRangeRatio float32 `protobuf:"fixed32,12,opt,name=qte_range_ratio,json=qteRangeRatio,proto3" json:"qte_range_ratio,omitempty"` +} + +func (x *PlayerCookArgsRsp) Reset() { + *x = PlayerCookArgsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCookArgsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCookArgsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCookArgsRsp) ProtoMessage() {} + +func (x *PlayerCookArgsRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCookArgsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCookArgsRsp.ProtoReflect.Descriptor instead. +func (*PlayerCookArgsRsp) Descriptor() ([]byte, []int) { + return file_PlayerCookArgsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCookArgsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerCookArgsRsp) GetQteRangeRatio() float32 { + if x != nil { + return x.QteRangeRatio + } + return 0 +} + +var File_PlayerCookArgsRsp_proto protoreflect.FileDescriptor + +var file_PlayerCookArgsRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x41, 0x72, 0x67, 0x73, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x41, 0x72, 0x67, 0x73, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x71, 0x74, 0x65, 0x5f, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0d, 0x71, 0x74, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCookArgsRsp_proto_rawDescOnce sync.Once + file_PlayerCookArgsRsp_proto_rawDescData = file_PlayerCookArgsRsp_proto_rawDesc +) + +func file_PlayerCookArgsRsp_proto_rawDescGZIP() []byte { + file_PlayerCookArgsRsp_proto_rawDescOnce.Do(func() { + file_PlayerCookArgsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCookArgsRsp_proto_rawDescData) + }) + return file_PlayerCookArgsRsp_proto_rawDescData +} + +var file_PlayerCookArgsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCookArgsRsp_proto_goTypes = []interface{}{ + (*PlayerCookArgsRsp)(nil), // 0: PlayerCookArgsRsp +} +var file_PlayerCookArgsRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerCookArgsRsp_proto_init() } +func file_PlayerCookArgsRsp_proto_init() { + if File_PlayerCookArgsRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerCookArgsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCookArgsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCookArgsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCookArgsRsp_proto_goTypes, + DependencyIndexes: file_PlayerCookArgsRsp_proto_depIdxs, + MessageInfos: file_PlayerCookArgsRsp_proto_msgTypes, + }.Build() + File_PlayerCookArgsRsp_proto = out.File + file_PlayerCookArgsRsp_proto_rawDesc = nil + file_PlayerCookArgsRsp_proto_goTypes = nil + file_PlayerCookArgsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCookArgsRsp.proto b/gate-hk4e-api/proto/PlayerCookArgsRsp.proto new file mode 100644 index 00000000..561a4800 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookArgsRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 168 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerCookArgsRsp { + int32 retcode = 4; + float qte_range_ratio = 12; +} diff --git a/gate-hk4e-api/proto/PlayerCookReq.pb.go b/gate-hk4e-api/proto/PlayerCookReq.pb.go new file mode 100644 index 00000000..3bd79bba --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCookReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 194 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerCookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CookCount uint32 `protobuf:"varint,1,opt,name=cook_count,json=cookCount,proto3" json:"cook_count,omitempty"` + QteQuality uint32 `protobuf:"varint,12,opt,name=qte_quality,json=qteQuality,proto3" json:"qte_quality,omitempty"` + RecipeId uint32 `protobuf:"varint,8,opt,name=recipe_id,json=recipeId,proto3" json:"recipe_id,omitempty"` + AssistAvatar uint32 `protobuf:"varint,14,opt,name=assist_avatar,json=assistAvatar,proto3" json:"assist_avatar,omitempty"` +} + +func (x *PlayerCookReq) Reset() { + *x = PlayerCookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCookReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCookReq) ProtoMessage() {} + +func (x *PlayerCookReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCookReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCookReq.ProtoReflect.Descriptor instead. +func (*PlayerCookReq) Descriptor() ([]byte, []int) { + return file_PlayerCookReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCookReq) GetCookCount() uint32 { + if x != nil { + return x.CookCount + } + return 0 +} + +func (x *PlayerCookReq) GetQteQuality() uint32 { + if x != nil { + return x.QteQuality + } + return 0 +} + +func (x *PlayerCookReq) GetRecipeId() uint32 { + if x != nil { + return x.RecipeId + } + return 0 +} + +func (x *PlayerCookReq) GetAssistAvatar() uint32 { + if x != nil { + return x.AssistAvatar + } + return 0 +} + +var File_PlayerCookReq_proto protoreflect.FileDescriptor + +var file_PlayerCookReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x6b, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6f, + 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x74, 0x65, 0x5f, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x71, 0x74, 0x65, + 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x63, 0x69, + 0x70, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x73, 0x73, + 0x69, 0x73, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCookReq_proto_rawDescOnce sync.Once + file_PlayerCookReq_proto_rawDescData = file_PlayerCookReq_proto_rawDesc +) + +func file_PlayerCookReq_proto_rawDescGZIP() []byte { + file_PlayerCookReq_proto_rawDescOnce.Do(func() { + file_PlayerCookReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCookReq_proto_rawDescData) + }) + return file_PlayerCookReq_proto_rawDescData +} + +var file_PlayerCookReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCookReq_proto_goTypes = []interface{}{ + (*PlayerCookReq)(nil), // 0: PlayerCookReq +} +var file_PlayerCookReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerCookReq_proto_init() } +func file_PlayerCookReq_proto_init() { + if File_PlayerCookReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerCookReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCookReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCookReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCookReq_proto_goTypes, + DependencyIndexes: file_PlayerCookReq_proto_depIdxs, + MessageInfos: file_PlayerCookReq_proto_msgTypes, + }.Build() + File_PlayerCookReq_proto = out.File + file_PlayerCookReq_proto_rawDesc = nil + file_PlayerCookReq_proto_goTypes = nil + file_PlayerCookReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCookReq.proto b/gate-hk4e-api/proto/PlayerCookReq.proto new file mode 100644 index 00000000..8c6e3538 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 194 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerCookReq { + uint32 cook_count = 1; + uint32 qte_quality = 12; + uint32 recipe_id = 8; + uint32 assist_avatar = 14; +} diff --git a/gate-hk4e-api/proto/PlayerCookRsp.pb.go b/gate-hk4e-api/proto/PlayerCookRsp.pb.go new file mode 100644 index 00000000..b6266b6f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookRsp.pb.go @@ -0,0 +1,223 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerCookRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 188 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerCookRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExtralItemList []*ItemParam `protobuf:"bytes,15,rep,name=extral_item_list,json=extralItemList,proto3" json:"extral_item_list,omitempty"` + CookCount uint32 `protobuf:"varint,12,opt,name=cook_count,json=cookCount,proto3" json:"cook_count,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,11,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + QteQuality uint32 `protobuf:"varint,5,opt,name=qte_quality,json=qteQuality,proto3" json:"qte_quality,omitempty"` + RecipeData *CookRecipeData `protobuf:"bytes,7,opt,name=recipe_data,json=recipeData,proto3" json:"recipe_data,omitempty"` +} + +func (x *PlayerCookRsp) Reset() { + *x = PlayerCookRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerCookRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerCookRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerCookRsp) ProtoMessage() {} + +func (x *PlayerCookRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerCookRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerCookRsp.ProtoReflect.Descriptor instead. +func (*PlayerCookRsp) Descriptor() ([]byte, []int) { + return file_PlayerCookRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerCookRsp) GetExtralItemList() []*ItemParam { + if x != nil { + return x.ExtralItemList + } + return nil +} + +func (x *PlayerCookRsp) GetCookCount() uint32 { + if x != nil { + return x.CookCount + } + return 0 +} + +func (x *PlayerCookRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *PlayerCookRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerCookRsp) GetQteQuality() uint32 { + if x != nil { + return x.QteQuality + } + return 0 +} + +func (x *PlayerCookRsp) GetRecipeData() *CookRecipeData { + if x != nil { + return x.RecipeData + } + return nil +} + +var File_PlayerCookRsp_proto protoreflect.FileDescriptor + +var file_PlayerCookRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfa, 0x01, 0x0a, + 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x34, + 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61, 0x6c, 0x49, 0x74, 0x65, 0x6d, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x6b, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x6b, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x74, 0x65, 0x5f, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x71, 0x74, 0x65, + 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x69, 0x70, + 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x43, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x72, + 0x65, 0x63, 0x69, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerCookRsp_proto_rawDescOnce sync.Once + file_PlayerCookRsp_proto_rawDescData = file_PlayerCookRsp_proto_rawDesc +) + +func file_PlayerCookRsp_proto_rawDescGZIP() []byte { + file_PlayerCookRsp_proto_rawDescOnce.Do(func() { + file_PlayerCookRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerCookRsp_proto_rawDescData) + }) + return file_PlayerCookRsp_proto_rawDescData +} + +var file_PlayerCookRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerCookRsp_proto_goTypes = []interface{}{ + (*PlayerCookRsp)(nil), // 0: PlayerCookRsp + (*ItemParam)(nil), // 1: ItemParam + (*CookRecipeData)(nil), // 2: CookRecipeData +} +var file_PlayerCookRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerCookRsp.extral_item_list:type_name -> ItemParam + 1, // 1: PlayerCookRsp.item_list:type_name -> ItemParam + 2, // 2: PlayerCookRsp.recipe_data:type_name -> CookRecipeData + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_PlayerCookRsp_proto_init() } +func file_PlayerCookRsp_proto_init() { + if File_PlayerCookRsp_proto != nil { + return + } + file_CookRecipeData_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerCookRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerCookRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerCookRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerCookRsp_proto_goTypes, + DependencyIndexes: file_PlayerCookRsp_proto_depIdxs, + MessageInfos: file_PlayerCookRsp_proto_msgTypes, + }.Build() + File_PlayerCookRsp_proto = out.File + file_PlayerCookRsp_proto_rawDesc = nil + file_PlayerCookRsp_proto_goTypes = nil + file_PlayerCookRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerCookRsp.proto b/gate-hk4e-api/proto/PlayerCookRsp.proto new file mode 100644 index 00000000..7ecd7e88 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerCookRsp.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CookRecipeData.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 188 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerCookRsp { + repeated ItemParam extral_item_list = 15; + uint32 cook_count = 12; + repeated ItemParam item_list = 11; + int32 retcode = 3; + uint32 qte_quality = 5; + CookRecipeData recipe_data = 7; +} diff --git a/gate-hk4e-api/proto/PlayerDataNotify.pb.go b/gate-hk4e-api/proto/PlayerDataNotify.pb.go new file mode 100644 index 00000000..56f4ebd0 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDataNotify.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 190 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerTime uint64 `protobuf:"varint,7,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` + NickName string `protobuf:"bytes,8,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` + IsFirstLoginToday bool `protobuf:"varint,12,opt,name=is_first_login_today,json=isFirstLoginToday,proto3" json:"is_first_login_today,omitempty"` + RegionId uint32 `protobuf:"varint,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + PropMap map[uint32]*PropValue `protobuf:"bytes,15,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *PlayerDataNotify) Reset() { + *x = PlayerDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerDataNotify) ProtoMessage() {} + +func (x *PlayerDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerDataNotify.ProtoReflect.Descriptor instead. +func (*PlayerDataNotify) Descriptor() ([]byte, []int) { + return file_PlayerDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerDataNotify) GetServerTime() uint64 { + if x != nil { + return x.ServerTime + } + return 0 +} + +func (x *PlayerDataNotify) GetNickName() string { + if x != nil { + return x.NickName + } + return "" +} + +func (x *PlayerDataNotify) GetIsFirstLoginToday() bool { + if x != nil { + return x.IsFirstLoginToday + } + return false +} + +func (x *PlayerDataNotify) GetRegionId() uint32 { + if x != nil { + return x.RegionId + } + return 0 +} + +func (x *PlayerDataNotify) GetPropMap() map[uint32]*PropValue { + if x != nil { + return x.PropMap + } + return nil +} + +var File_PlayerDataNotify_proto protoreflect.FileDescriptor + +var file_PlayerDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x10, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, + 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x74, + 0x6f, 0x64, 0x61, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x46, 0x69, + 0x72, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x08, 0x70, 0x72, + 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, 0x72, + 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerDataNotify_proto_rawDescOnce sync.Once + file_PlayerDataNotify_proto_rawDescData = file_PlayerDataNotify_proto_rawDesc +) + +func file_PlayerDataNotify_proto_rawDescGZIP() []byte { + file_PlayerDataNotify_proto_rawDescOnce.Do(func() { + file_PlayerDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerDataNotify_proto_rawDescData) + }) + return file_PlayerDataNotify_proto_rawDescData +} + +var file_PlayerDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlayerDataNotify_proto_goTypes = []interface{}{ + (*PlayerDataNotify)(nil), // 0: PlayerDataNotify + nil, // 1: PlayerDataNotify.PropMapEntry + (*PropValue)(nil), // 2: PropValue +} +var file_PlayerDataNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerDataNotify.prop_map:type_name -> PlayerDataNotify.PropMapEntry + 2, // 1: PlayerDataNotify.PropMapEntry.value:type_name -> PropValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerDataNotify_proto_init() } +func file_PlayerDataNotify_proto_init() { + if File_PlayerDataNotify_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerDataNotify_proto_goTypes, + DependencyIndexes: file_PlayerDataNotify_proto_depIdxs, + MessageInfos: file_PlayerDataNotify_proto_msgTypes, + }.Build() + File_PlayerDataNotify_proto = out.File + file_PlayerDataNotify_proto_rawDesc = nil + file_PlayerDataNotify_proto_goTypes = nil + file_PlayerDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerDataNotify.proto b/gate-hk4e-api/proto/PlayerDataNotify.proto new file mode 100644 index 00000000..ce02fc6e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDataNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +// CmdId: 190 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerDataNotify { + uint64 server_time = 7; + string nick_name = 8; + bool is_first_login_today = 12; + uint32 region_id = 6; + map prop_map = 15; +} diff --git a/gate-hk4e-api/proto/PlayerDieOption.pb.go b/gate-hk4e-api/proto/PlayerDieOption.pb.go new file mode 100644 index 00000000..4b6eec16 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDieOption.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerDieOption.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerDieOption int32 + +const ( + PlayerDieOption_PLAYER_DIE_OPTION_OPT_NONE PlayerDieOption = 0 + PlayerDieOption_PLAYER_DIE_OPTION_OPT_REPLAY PlayerDieOption = 1 + PlayerDieOption_PLAYER_DIE_OPTION_OPT_CANCEL PlayerDieOption = 2 + PlayerDieOption_PLAYER_DIE_OPTION_OPT_REVIVE PlayerDieOption = 3 +) + +// Enum value maps for PlayerDieOption. +var ( + PlayerDieOption_name = map[int32]string{ + 0: "PLAYER_DIE_OPTION_OPT_NONE", + 1: "PLAYER_DIE_OPTION_OPT_REPLAY", + 2: "PLAYER_DIE_OPTION_OPT_CANCEL", + 3: "PLAYER_DIE_OPTION_OPT_REVIVE", + } + PlayerDieOption_value = map[string]int32{ + "PLAYER_DIE_OPTION_OPT_NONE": 0, + "PLAYER_DIE_OPTION_OPT_REPLAY": 1, + "PLAYER_DIE_OPTION_OPT_CANCEL": 2, + "PLAYER_DIE_OPTION_OPT_REVIVE": 3, + } +) + +func (x PlayerDieOption) Enum() *PlayerDieOption { + p := new(PlayerDieOption) + *p = x + return p +} + +func (x PlayerDieOption) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerDieOption) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerDieOption_proto_enumTypes[0].Descriptor() +} + +func (PlayerDieOption) Type() protoreflect.EnumType { + return &file_PlayerDieOption_proto_enumTypes[0] +} + +func (x PlayerDieOption) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerDieOption.Descriptor instead. +func (PlayerDieOption) EnumDescriptor() ([]byte, []int) { + return file_PlayerDieOption_proto_rawDescGZIP(), []int{0} +} + +var File_PlayerDieOption_proto protoreflect.FileDescriptor + +var file_PlayerDieOption_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x97, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x44, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x50, + 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4f, 0x50, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x50, + 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4f, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, 0x10, 0x01, 0x12, 0x20, 0x0a, + 0x1c, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x10, 0x02, 0x12, + 0x20, 0x0a, 0x1c, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x4f, 0x50, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x56, 0x45, 0x10, + 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerDieOption_proto_rawDescOnce sync.Once + file_PlayerDieOption_proto_rawDescData = file_PlayerDieOption_proto_rawDesc +) + +func file_PlayerDieOption_proto_rawDescGZIP() []byte { + file_PlayerDieOption_proto_rawDescOnce.Do(func() { + file_PlayerDieOption_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerDieOption_proto_rawDescData) + }) + return file_PlayerDieOption_proto_rawDescData +} + +var file_PlayerDieOption_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerDieOption_proto_goTypes = []interface{}{ + (PlayerDieOption)(0), // 0: PlayerDieOption +} +var file_PlayerDieOption_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerDieOption_proto_init() } +func file_PlayerDieOption_proto_init() { + if File_PlayerDieOption_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerDieOption_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerDieOption_proto_goTypes, + DependencyIndexes: file_PlayerDieOption_proto_depIdxs, + EnumInfos: file_PlayerDieOption_proto_enumTypes, + }.Build() + File_PlayerDieOption_proto = out.File + file_PlayerDieOption_proto_rawDesc = nil + file_PlayerDieOption_proto_goTypes = nil + file_PlayerDieOption_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerDieOption.proto b/gate-hk4e-api/proto/PlayerDieOption.proto new file mode 100644 index 00000000..b0dfb097 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDieOption.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum PlayerDieOption { + PLAYER_DIE_OPTION_OPT_NONE = 0; + PLAYER_DIE_OPTION_OPT_REPLAY = 1; + PLAYER_DIE_OPTION_OPT_CANCEL = 2; + PLAYER_DIE_OPTION_OPT_REVIVE = 3; +} diff --git a/gate-hk4e-api/proto/PlayerDieType.pb.go b/gate-hk4e-api/proto/PlayerDieType.pb.go new file mode 100644 index 00000000..52eeb16f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDieType.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerDieType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerDieType int32 + +const ( + PlayerDieType_PLAYER_DIE_TYPE_NONE PlayerDieType = 0 + PlayerDieType_PLAYER_DIE_TYPE_KILL_BY_MONSTER PlayerDieType = 1 + PlayerDieType_PLAYER_DIE_TYPE_KILL_BY_GEAR PlayerDieType = 2 + PlayerDieType_PLAYER_DIE_TYPE_FALL PlayerDieType = 3 + PlayerDieType_PLAYER_DIE_TYPE_DRAWN PlayerDieType = 4 + PlayerDieType_PLAYER_DIE_TYPE_ABYSS PlayerDieType = 5 + PlayerDieType_PLAYER_DIE_TYPE_GM PlayerDieType = 6 + PlayerDieType_PLAYER_DIE_TYPE_CLIMATE_COLD PlayerDieType = 7 + PlayerDieType_PLAYER_DIE_TYPE_STORM_LIGHTING PlayerDieType = 8 +) + +// Enum value maps for PlayerDieType. +var ( + PlayerDieType_name = map[int32]string{ + 0: "PLAYER_DIE_TYPE_NONE", + 1: "PLAYER_DIE_TYPE_KILL_BY_MONSTER", + 2: "PLAYER_DIE_TYPE_KILL_BY_GEAR", + 3: "PLAYER_DIE_TYPE_FALL", + 4: "PLAYER_DIE_TYPE_DRAWN", + 5: "PLAYER_DIE_TYPE_ABYSS", + 6: "PLAYER_DIE_TYPE_GM", + 7: "PLAYER_DIE_TYPE_CLIMATE_COLD", + 8: "PLAYER_DIE_TYPE_STORM_LIGHTING", + } + PlayerDieType_value = map[string]int32{ + "PLAYER_DIE_TYPE_NONE": 0, + "PLAYER_DIE_TYPE_KILL_BY_MONSTER": 1, + "PLAYER_DIE_TYPE_KILL_BY_GEAR": 2, + "PLAYER_DIE_TYPE_FALL": 3, + "PLAYER_DIE_TYPE_DRAWN": 4, + "PLAYER_DIE_TYPE_ABYSS": 5, + "PLAYER_DIE_TYPE_GM": 6, + "PLAYER_DIE_TYPE_CLIMATE_COLD": 7, + "PLAYER_DIE_TYPE_STORM_LIGHTING": 8, + } +) + +func (x PlayerDieType) Enum() *PlayerDieType { + p := new(PlayerDieType) + *p = x + return p +} + +func (x PlayerDieType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerDieType) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerDieType_proto_enumTypes[0].Descriptor() +} + +func (PlayerDieType) Type() protoreflect.EnumType { + return &file_PlayerDieType_proto_enumTypes[0] +} + +func (x PlayerDieType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerDieType.Descriptor instead. +func (PlayerDieType) EnumDescriptor() ([]byte, []int) { + return file_PlayerDieType_proto_rawDescGZIP(), []int{0} +} + +var File_PlayerDieType_proto protoreflect.FileDescriptor + +var file_PlayerDieType_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9e, 0x02, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, 0x45, + 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x42, 0x59, 0x5f, 0x4d, 0x4f, 0x4e, + 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, + 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x42, + 0x59, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x41, 0x4c, 0x4c, + 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x4e, 0x10, 0x04, 0x12, 0x19, 0x0a, + 0x15, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x41, 0x42, 0x59, 0x53, 0x53, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4d, 0x10, 0x06, + 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x44, + 0x10, 0x07, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49, 0x47, 0x48, + 0x54, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerDieType_proto_rawDescOnce sync.Once + file_PlayerDieType_proto_rawDescData = file_PlayerDieType_proto_rawDesc +) + +func file_PlayerDieType_proto_rawDescGZIP() []byte { + file_PlayerDieType_proto_rawDescOnce.Do(func() { + file_PlayerDieType_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerDieType_proto_rawDescData) + }) + return file_PlayerDieType_proto_rawDescData +} + +var file_PlayerDieType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerDieType_proto_goTypes = []interface{}{ + (PlayerDieType)(0), // 0: PlayerDieType +} +var file_PlayerDieType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerDieType_proto_init() } +func file_PlayerDieType_proto_init() { + if File_PlayerDieType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerDieType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerDieType_proto_goTypes, + DependencyIndexes: file_PlayerDieType_proto_depIdxs, + EnumInfos: file_PlayerDieType_proto_enumTypes, + }.Build() + File_PlayerDieType_proto = out.File + file_PlayerDieType_proto_rawDesc = nil + file_PlayerDieType_proto_goTypes = nil + file_PlayerDieType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerDieType.proto b/gate-hk4e-api/proto/PlayerDieType.proto new file mode 100644 index 00000000..01e16416 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerDieType.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum PlayerDieType { + PLAYER_DIE_TYPE_NONE = 0; + PLAYER_DIE_TYPE_KILL_BY_MONSTER = 1; + PLAYER_DIE_TYPE_KILL_BY_GEAR = 2; + PLAYER_DIE_TYPE_FALL = 3; + PLAYER_DIE_TYPE_DRAWN = 4; + PLAYER_DIE_TYPE_ABYSS = 5; + PLAYER_DIE_TYPE_GM = 6; + PLAYER_DIE_TYPE_CLIMATE_COLD = 7; + PLAYER_DIE_TYPE_STORM_LIGHTING = 8; +} diff --git a/gate-hk4e-api/proto/PlayerEnterDungeonReq.pb.go b/gate-hk4e-api/proto/PlayerEnterDungeonReq.pb.go new file mode 100644 index 00000000..f5afe7e6 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterDungeonReq.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerEnterDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 912 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerEnterDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_ANJAHBGBIFD *Unk2800_JKLFAJKDLDG `protobuf:"bytes,2,opt,name=Unk2800_ANJAHBGBIFD,json=Unk2800ANJAHBGBIFD,proto3" json:"Unk2800_ANJAHBGBIFD,omitempty"` + PointId uint32 `protobuf:"varint,13,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + DungeonId uint32 `protobuf:"varint,7,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *PlayerEnterDungeonReq) Reset() { + *x = PlayerEnterDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerEnterDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerEnterDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerEnterDungeonReq) ProtoMessage() {} + +func (x *PlayerEnterDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerEnterDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerEnterDungeonReq.ProtoReflect.Descriptor instead. +func (*PlayerEnterDungeonReq) Descriptor() ([]byte, []int) { + return file_PlayerEnterDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerEnterDungeonReq) GetUnk2800_ANJAHBGBIFD() *Unk2800_JKLFAJKDLDG { + if x != nil { + return x.Unk2800_ANJAHBGBIFD + } + return nil +} + +func (x *PlayerEnterDungeonReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *PlayerEnterDungeonReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_PlayerEnterDungeonReq_proto protoreflect.FileDescriptor + +var file_PlayerEnterDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x4c, 0x46, 0x41, 0x4a, 0x4b, 0x44, 0x4c, + 0x44, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x15, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x4e, + 0x4a, 0x41, 0x48, 0x42, 0x47, 0x42, 0x49, 0x46, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x4c, 0x46, 0x41, 0x4a, + 0x4b, 0x44, 0x4c, 0x44, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x41, 0x4e, + 0x4a, 0x41, 0x48, 0x42, 0x47, 0x42, 0x49, 0x46, 0x44, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerEnterDungeonReq_proto_rawDescOnce sync.Once + file_PlayerEnterDungeonReq_proto_rawDescData = file_PlayerEnterDungeonReq_proto_rawDesc +) + +func file_PlayerEnterDungeonReq_proto_rawDescGZIP() []byte { + file_PlayerEnterDungeonReq_proto_rawDescOnce.Do(func() { + file_PlayerEnterDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEnterDungeonReq_proto_rawDescData) + }) + return file_PlayerEnterDungeonReq_proto_rawDescData +} + +var file_PlayerEnterDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerEnterDungeonReq_proto_goTypes = []interface{}{ + (*PlayerEnterDungeonReq)(nil), // 0: PlayerEnterDungeonReq + (*Unk2800_JKLFAJKDLDG)(nil), // 1: Unk2800_JKLFAJKDLDG +} +var file_PlayerEnterDungeonReq_proto_depIdxs = []int32{ + 1, // 0: PlayerEnterDungeonReq.Unk2800_ANJAHBGBIFD:type_name -> Unk2800_JKLFAJKDLDG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerEnterDungeonReq_proto_init() } +func file_PlayerEnterDungeonReq_proto_init() { + if File_PlayerEnterDungeonReq_proto != nil { + return + } + file_Unk2800_JKLFAJKDLDG_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerEnterDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerEnterDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerEnterDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerEnterDungeonReq_proto_goTypes, + DependencyIndexes: file_PlayerEnterDungeonReq_proto_depIdxs, + MessageInfos: file_PlayerEnterDungeonReq_proto_msgTypes, + }.Build() + File_PlayerEnterDungeonReq_proto = out.File + file_PlayerEnterDungeonReq_proto_rawDesc = nil + file_PlayerEnterDungeonReq_proto_goTypes = nil + file_PlayerEnterDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerEnterDungeonReq.proto b/gate-hk4e-api/proto/PlayerEnterDungeonReq.proto new file mode 100644 index 00000000..4ec2c1ed --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterDungeonReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_JKLFAJKDLDG.proto"; + +option go_package = "./;proto"; + +// CmdId: 912 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerEnterDungeonReq { + Unk2800_JKLFAJKDLDG Unk2800_ANJAHBGBIFD = 2; + uint32 point_id = 13; + uint32 dungeon_id = 7; +} diff --git a/gate-hk4e-api/proto/PlayerEnterDungeonRsp.pb.go b/gate-hk4e-api/proto/PlayerEnterDungeonRsp.pb.go new file mode 100644 index 00000000..d19c1a24 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterDungeonRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerEnterDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 935 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerEnterDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,2,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + PointId uint32 `protobuf:"varint,6,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerEnterDungeonRsp) Reset() { + *x = PlayerEnterDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerEnterDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerEnterDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerEnterDungeonRsp) ProtoMessage() {} + +func (x *PlayerEnterDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerEnterDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerEnterDungeonRsp.ProtoReflect.Descriptor instead. +func (*PlayerEnterDungeonRsp) Descriptor() ([]byte, []int) { + return file_PlayerEnterDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerEnterDungeonRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerEnterDungeonRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *PlayerEnterDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerEnterDungeonRsp_proto protoreflect.FileDescriptor + +var file_PlayerEnterDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, + 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerEnterDungeonRsp_proto_rawDescOnce sync.Once + file_PlayerEnterDungeonRsp_proto_rawDescData = file_PlayerEnterDungeonRsp_proto_rawDesc +) + +func file_PlayerEnterDungeonRsp_proto_rawDescGZIP() []byte { + file_PlayerEnterDungeonRsp_proto_rawDescOnce.Do(func() { + file_PlayerEnterDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEnterDungeonRsp_proto_rawDescData) + }) + return file_PlayerEnterDungeonRsp_proto_rawDescData +} + +var file_PlayerEnterDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerEnterDungeonRsp_proto_goTypes = []interface{}{ + (*PlayerEnterDungeonRsp)(nil), // 0: PlayerEnterDungeonRsp +} +var file_PlayerEnterDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerEnterDungeonRsp_proto_init() } +func file_PlayerEnterDungeonRsp_proto_init() { + if File_PlayerEnterDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerEnterDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerEnterDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerEnterDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerEnterDungeonRsp_proto_goTypes, + DependencyIndexes: file_PlayerEnterDungeonRsp_proto_depIdxs, + MessageInfos: file_PlayerEnterDungeonRsp_proto_msgTypes, + }.Build() + File_PlayerEnterDungeonRsp_proto = out.File + file_PlayerEnterDungeonRsp_proto_rawDesc = nil + file_PlayerEnterDungeonRsp_proto_goTypes = nil + file_PlayerEnterDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerEnterDungeonRsp.proto b/gate-hk4e-api/proto/PlayerEnterDungeonRsp.proto new file mode 100644 index 00000000..87f195d4 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterDungeonRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 935 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerEnterDungeonRsp { + uint32 dungeon_id = 2; + uint32 point_id = 6; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.pb.go b/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.pb.go new file mode 100644 index 00000000..ea981b10 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerEnterSceneInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 214 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerEnterSceneInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TeamEnterInfo *TeamEnterSceneInfo `protobuf:"bytes,8,opt,name=team_enter_info,json=teamEnterInfo,proto3" json:"team_enter_info,omitempty"` + EnterSceneToken uint32 `protobuf:"varint,12,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` + AvatarEnterInfo []*AvatarEnterSceneInfo `protobuf:"bytes,7,rep,name=avatar_enter_info,json=avatarEnterInfo,proto3" json:"avatar_enter_info,omitempty"` + CurAvatarEntityId uint32 `protobuf:"varint,6,opt,name=cur_avatar_entity_id,json=curAvatarEntityId,proto3" json:"cur_avatar_entity_id,omitempty"` + MpLevelEntityInfo *MPLevelEntityInfo `protobuf:"bytes,5,opt,name=mp_level_entity_info,json=mpLevelEntityInfo,proto3" json:"mp_level_entity_info,omitempty"` +} + +func (x *PlayerEnterSceneInfoNotify) Reset() { + *x = PlayerEnterSceneInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerEnterSceneInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerEnterSceneInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerEnterSceneInfoNotify) ProtoMessage() {} + +func (x *PlayerEnterSceneInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerEnterSceneInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerEnterSceneInfoNotify.ProtoReflect.Descriptor instead. +func (*PlayerEnterSceneInfoNotify) Descriptor() ([]byte, []int) { + return file_PlayerEnterSceneInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerEnterSceneInfoNotify) GetTeamEnterInfo() *TeamEnterSceneInfo { + if x != nil { + return x.TeamEnterInfo + } + return nil +} + +func (x *PlayerEnterSceneInfoNotify) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +func (x *PlayerEnterSceneInfoNotify) GetAvatarEnterInfo() []*AvatarEnterSceneInfo { + if x != nil { + return x.AvatarEnterInfo + } + return nil +} + +func (x *PlayerEnterSceneInfoNotify) GetCurAvatarEntityId() uint32 { + if x != nil { + return x.CurAvatarEntityId + } + return 0 +} + +func (x *PlayerEnterSceneInfoNotify) GetMpLevelEntityInfo() *MPLevelEntityInfo { + if x != nil { + return x.MpLevelEntityInfo + } + return nil +} + +var File_PlayerEnterSceneInfoNotify_proto protoreflect.FileDescriptor + +var file_PlayerEnterSceneInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x4d, 0x50, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xbe, 0x02, 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x3b, 0x0a, 0x0f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x54, 0x65, 0x61, 0x6d, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x74, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, + 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x14, + 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x75, 0x72, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, + 0x14, 0x6d, 0x70, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x4d, 0x50, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x11, 0x6d, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerEnterSceneInfoNotify_proto_rawDescOnce sync.Once + file_PlayerEnterSceneInfoNotify_proto_rawDescData = file_PlayerEnterSceneInfoNotify_proto_rawDesc +) + +func file_PlayerEnterSceneInfoNotify_proto_rawDescGZIP() []byte { + file_PlayerEnterSceneInfoNotify_proto_rawDescOnce.Do(func() { + file_PlayerEnterSceneInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEnterSceneInfoNotify_proto_rawDescData) + }) + return file_PlayerEnterSceneInfoNotify_proto_rawDescData +} + +var file_PlayerEnterSceneInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerEnterSceneInfoNotify_proto_goTypes = []interface{}{ + (*PlayerEnterSceneInfoNotify)(nil), // 0: PlayerEnterSceneInfoNotify + (*TeamEnterSceneInfo)(nil), // 1: TeamEnterSceneInfo + (*AvatarEnterSceneInfo)(nil), // 2: AvatarEnterSceneInfo + (*MPLevelEntityInfo)(nil), // 3: MPLevelEntityInfo +} +var file_PlayerEnterSceneInfoNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerEnterSceneInfoNotify.team_enter_info:type_name -> TeamEnterSceneInfo + 2, // 1: PlayerEnterSceneInfoNotify.avatar_enter_info:type_name -> AvatarEnterSceneInfo + 3, // 2: PlayerEnterSceneInfoNotify.mp_level_entity_info:type_name -> MPLevelEntityInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_PlayerEnterSceneInfoNotify_proto_init() } +func file_PlayerEnterSceneInfoNotify_proto_init() { + if File_PlayerEnterSceneInfoNotify_proto != nil { + return + } + file_AvatarEnterSceneInfo_proto_init() + file_MPLevelEntityInfo_proto_init() + file_TeamEnterSceneInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerEnterSceneInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerEnterSceneInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerEnterSceneInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerEnterSceneInfoNotify_proto_goTypes, + DependencyIndexes: file_PlayerEnterSceneInfoNotify_proto_depIdxs, + MessageInfos: file_PlayerEnterSceneInfoNotify_proto_msgTypes, + }.Build() + File_PlayerEnterSceneInfoNotify_proto = out.File + file_PlayerEnterSceneInfoNotify_proto_rawDesc = nil + file_PlayerEnterSceneInfoNotify_proto_goTypes = nil + file_PlayerEnterSceneInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.proto b/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.proto new file mode 100644 index 00000000..a55c2645 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterSceneInfoNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarEnterSceneInfo.proto"; +import "MPLevelEntityInfo.proto"; +import "TeamEnterSceneInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 214 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerEnterSceneInfoNotify { + TeamEnterSceneInfo team_enter_info = 8; + uint32 enter_scene_token = 12; + repeated AvatarEnterSceneInfo avatar_enter_info = 7; + uint32 cur_avatar_entity_id = 6; + MPLevelEntityInfo mp_level_entity_info = 5; +} diff --git a/gate-hk4e-api/proto/PlayerEnterSceneNotify.pb.go b/gate-hk4e-api/proto/PlayerEnterSceneNotify.pb.go new file mode 100644 index 00000000..1f43fa38 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterSceneNotify.pb.go @@ -0,0 +1,326 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerEnterSceneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 272 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerEnterSceneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PrevSceneId uint32 `protobuf:"varint,6,opt,name=prev_scene_id,json=prevSceneId,proto3" json:"prev_scene_id,omitempty"` + DungeonId uint32 `protobuf:"varint,12,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + IsSkipUi bool `protobuf:"varint,1732,opt,name=is_skip_ui,json=isSkipUi,proto3" json:"is_skip_ui,omitempty"` + SceneId uint32 `protobuf:"varint,15,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Type EnterType `protobuf:"varint,13,opt,name=type,proto3,enum=EnterType" json:"type,omitempty"` + SceneBeginTime uint64 `protobuf:"varint,14,opt,name=scene_begin_time,json=sceneBeginTime,proto3" json:"scene_begin_time,omitempty"` + WorldLevel uint32 `protobuf:"varint,11,opt,name=world_level,json=worldLevel,proto3" json:"world_level,omitempty"` + WorldType uint32 `protobuf:"varint,1490,opt,name=world_type,json=worldType,proto3" json:"world_type,omitempty"` + TargetUid uint32 `protobuf:"varint,4,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + IsFirstLoginEnterScene bool `protobuf:"varint,3,opt,name=is_first_login_enter_scene,json=isFirstLoginEnterScene,proto3" json:"is_first_login_enter_scene,omitempty"` + SceneTagIdList []uint32 `protobuf:"varint,5,rep,packed,name=scene_tag_id_list,json=sceneTagIdList,proto3" json:"scene_tag_id_list,omitempty"` + SceneTransaction string `protobuf:"bytes,1842,opt,name=scene_transaction,json=sceneTransaction,proto3" json:"scene_transaction,omitempty"` + PrevPos *Vector `protobuf:"bytes,8,opt,name=prev_pos,json=prevPos,proto3" json:"prev_pos,omitempty"` + EnterReason uint32 `protobuf:"varint,1828,opt,name=enter_reason,json=enterReason,proto3" json:"enter_reason,omitempty"` + Pos *Vector `protobuf:"bytes,7,opt,name=pos,proto3" json:"pos,omitempty"` + EnterSceneToken uint32 `protobuf:"varint,2,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *PlayerEnterSceneNotify) Reset() { + *x = PlayerEnterSceneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerEnterSceneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerEnterSceneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerEnterSceneNotify) ProtoMessage() {} + +func (x *PlayerEnterSceneNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerEnterSceneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerEnterSceneNotify.ProtoReflect.Descriptor instead. +func (*PlayerEnterSceneNotify) Descriptor() ([]byte, []int) { + return file_PlayerEnterSceneNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerEnterSceneNotify) GetPrevSceneId() uint32 { + if x != nil { + return x.PrevSceneId + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetIsSkipUi() bool { + if x != nil { + return x.IsSkipUi + } + return false +} + +func (x *PlayerEnterSceneNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetType() EnterType { + if x != nil { + return x.Type + } + return EnterType_ENTER_TYPE_NONE +} + +func (x *PlayerEnterSceneNotify) GetSceneBeginTime() uint64 { + if x != nil { + return x.SceneBeginTime + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetWorldLevel() uint32 { + if x != nil { + return x.WorldLevel + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetWorldType() uint32 { + if x != nil { + return x.WorldType + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetIsFirstLoginEnterScene() bool { + if x != nil { + return x.IsFirstLoginEnterScene + } + return false +} + +func (x *PlayerEnterSceneNotify) GetSceneTagIdList() []uint32 { + if x != nil { + return x.SceneTagIdList + } + return nil +} + +func (x *PlayerEnterSceneNotify) GetSceneTransaction() string { + if x != nil { + return x.SceneTransaction + } + return "" +} + +func (x *PlayerEnterSceneNotify) GetPrevPos() *Vector { + if x != nil { + return x.PrevPos + } + return nil +} + +func (x *PlayerEnterSceneNotify) GetEnterReason() uint32 { + if x != nil { + return x.EnterReason + } + return 0 +} + +func (x *PlayerEnterSceneNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *PlayerEnterSceneNotify) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_PlayerEnterSceneNotify_proto protoreflect.FileDescriptor + +var file_PlayerEnterSceneNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x04, + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, + 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, + 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x75, 0x69, 0x18, 0xc4, 0x0d, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x55, 0x69, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0e, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x1e, 0x0a, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0xd2, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, + 0x3a, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, + 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, + 0x6e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x61, 0x67, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xb2, 0x0e, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x70, 0x6f, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x07, 0x70, 0x72, 0x65, 0x76, 0x50, 0x6f, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0xa4, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x03, + 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerEnterSceneNotify_proto_rawDescOnce sync.Once + file_PlayerEnterSceneNotify_proto_rawDescData = file_PlayerEnterSceneNotify_proto_rawDesc +) + +func file_PlayerEnterSceneNotify_proto_rawDescGZIP() []byte { + file_PlayerEnterSceneNotify_proto_rawDescOnce.Do(func() { + file_PlayerEnterSceneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEnterSceneNotify_proto_rawDescData) + }) + return file_PlayerEnterSceneNotify_proto_rawDescData +} + +var file_PlayerEnterSceneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerEnterSceneNotify_proto_goTypes = []interface{}{ + (*PlayerEnterSceneNotify)(nil), // 0: PlayerEnterSceneNotify + (EnterType)(0), // 1: EnterType + (*Vector)(nil), // 2: Vector +} +var file_PlayerEnterSceneNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerEnterSceneNotify.type:type_name -> EnterType + 2, // 1: PlayerEnterSceneNotify.prev_pos:type_name -> Vector + 2, // 2: PlayerEnterSceneNotify.pos:type_name -> Vector + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_PlayerEnterSceneNotify_proto_init() } +func file_PlayerEnterSceneNotify_proto_init() { + if File_PlayerEnterSceneNotify_proto != nil { + return + } + file_EnterType_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerEnterSceneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerEnterSceneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerEnterSceneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerEnterSceneNotify_proto_goTypes, + DependencyIndexes: file_PlayerEnterSceneNotify_proto_depIdxs, + MessageInfos: file_PlayerEnterSceneNotify_proto_msgTypes, + }.Build() + File_PlayerEnterSceneNotify_proto = out.File + file_PlayerEnterSceneNotify_proto_rawDesc = nil + file_PlayerEnterSceneNotify_proto_goTypes = nil + file_PlayerEnterSceneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerEnterSceneNotify.proto b/gate-hk4e-api/proto/PlayerEnterSceneNotify.proto new file mode 100644 index 00000000..42d8f133 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEnterSceneNotify.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EnterType.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 272 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerEnterSceneNotify { + uint32 prev_scene_id = 6; + uint32 dungeon_id = 12; + bool is_skip_ui = 1732; + uint32 scene_id = 15; + EnterType type = 13; + uint64 scene_begin_time = 14; + uint32 world_level = 11; + uint32 world_type = 1490; + uint32 target_uid = 4; + bool is_first_login_enter_scene = 3; + repeated uint32 scene_tag_id_list = 5; + string scene_transaction = 1842; + Vector prev_pos = 8; + uint32 enter_reason = 1828; + Vector pos = 7; + uint32 enter_scene_token = 2; +} diff --git a/gate-hk4e-api/proto/PlayerEyePointStateNotify.pb.go b/gate-hk4e-api/proto/PlayerEyePointStateNotify.pb.go new file mode 100644 index 00000000..c113dcf9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEyePointStateNotify.pb.go @@ -0,0 +1,341 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerEyePointStateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3051 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerEyePointStateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegionEntityId uint32 `protobuf:"varint,15,opt,name=region_entity_id,json=regionEntityId,proto3" json:"region_entity_id,omitempty"` + EyePointPos *Vector `protobuf:"bytes,1,opt,name=eye_point_pos,json=eyePointPos,proto3" json:"eye_point_pos,omitempty"` + IsUseEyePoint bool `protobuf:"varint,3,opt,name=is_use_eye_point,json=isUseEyePoint,proto3" json:"is_use_eye_point,omitempty"` + RegionConfigId uint32 `protobuf:"varint,7,opt,name=region_config_id,json=regionConfigId,proto3" json:"region_config_id,omitempty"` + RegionShape uint32 `protobuf:"varint,12,opt,name=region_shape,json=regionShape,proto3" json:"region_shape,omitempty"` + IsFilterStreamPos bool `protobuf:"varint,2,opt,name=is_filter_stream_pos,json=isFilterStreamPos,proto3" json:"is_filter_stream_pos,omitempty"` + Unk2800_GBBMMIGJFCF int32 `protobuf:"varint,5,opt,name=Unk2800_GBBMMIGJFCF,json=Unk2800GBBMMIGJFCF,proto3" json:"Unk2800_GBBMMIGJFCF,omitempty"` + RegionGroupId uint32 `protobuf:"varint,4,opt,name=region_group_id,json=regionGroupId,proto3" json:"region_group_id,omitempty"` + // Types that are assignable to RegionSize: + // *PlayerEyePointStateNotify_SphereRadius + // *PlayerEyePointStateNotify_CubicSize + // *PlayerEyePointStateNotify_CylinderSize + // *PlayerEyePointStateNotify_PolygonSize + RegionSize isPlayerEyePointStateNotify_RegionSize `protobuf_oneof:"region_size"` +} + +func (x *PlayerEyePointStateNotify) Reset() { + *x = PlayerEyePointStateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerEyePointStateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerEyePointStateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerEyePointStateNotify) ProtoMessage() {} + +func (x *PlayerEyePointStateNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerEyePointStateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerEyePointStateNotify.ProtoReflect.Descriptor instead. +func (*PlayerEyePointStateNotify) Descriptor() ([]byte, []int) { + return file_PlayerEyePointStateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerEyePointStateNotify) GetRegionEntityId() uint32 { + if x != nil { + return x.RegionEntityId + } + return 0 +} + +func (x *PlayerEyePointStateNotify) GetEyePointPos() *Vector { + if x != nil { + return x.EyePointPos + } + return nil +} + +func (x *PlayerEyePointStateNotify) GetIsUseEyePoint() bool { + if x != nil { + return x.IsUseEyePoint + } + return false +} + +func (x *PlayerEyePointStateNotify) GetRegionConfigId() uint32 { + if x != nil { + return x.RegionConfigId + } + return 0 +} + +func (x *PlayerEyePointStateNotify) GetRegionShape() uint32 { + if x != nil { + return x.RegionShape + } + return 0 +} + +func (x *PlayerEyePointStateNotify) GetIsFilterStreamPos() bool { + if x != nil { + return x.IsFilterStreamPos + } + return false +} + +func (x *PlayerEyePointStateNotify) GetUnk2800_GBBMMIGJFCF() int32 { + if x != nil { + return x.Unk2800_GBBMMIGJFCF + } + return 0 +} + +func (x *PlayerEyePointStateNotify) GetRegionGroupId() uint32 { + if x != nil { + return x.RegionGroupId + } + return 0 +} + +func (m *PlayerEyePointStateNotify) GetRegionSize() isPlayerEyePointStateNotify_RegionSize { + if m != nil { + return m.RegionSize + } + return nil +} + +func (x *PlayerEyePointStateNotify) GetSphereRadius() float32 { + if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_SphereRadius); ok { + return x.SphereRadius + } + return 0 +} + +func (x *PlayerEyePointStateNotify) GetCubicSize() *Vector { + if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_CubicSize); ok { + return x.CubicSize + } + return nil +} + +func (x *PlayerEyePointStateNotify) GetCylinderSize() *CylinderRegionSize { + if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_CylinderSize); ok { + return x.CylinderSize + } + return nil +} + +func (x *PlayerEyePointStateNotify) GetPolygonSize() *PolygonRegionSize { + if x, ok := x.GetRegionSize().(*PlayerEyePointStateNotify_PolygonSize); ok { + return x.PolygonSize + } + return nil +} + +type isPlayerEyePointStateNotify_RegionSize interface { + isPlayerEyePointStateNotify_RegionSize() +} + +type PlayerEyePointStateNotify_SphereRadius struct { + SphereRadius float32 `protobuf:"fixed32,255,opt,name=sphere_radius,json=sphereRadius,proto3,oneof"` +} + +type PlayerEyePointStateNotify_CubicSize struct { + CubicSize *Vector `protobuf:"bytes,1823,opt,name=cubic_size,json=cubicSize,proto3,oneof"` +} + +type PlayerEyePointStateNotify_CylinderSize struct { + CylinderSize *CylinderRegionSize `protobuf:"bytes,1862,opt,name=cylinder_size,json=cylinderSize,proto3,oneof"` +} + +type PlayerEyePointStateNotify_PolygonSize struct { + PolygonSize *PolygonRegionSize `protobuf:"bytes,877,opt,name=polygon_size,json=polygonSize,proto3,oneof"` +} + +func (*PlayerEyePointStateNotify_SphereRadius) isPlayerEyePointStateNotify_RegionSize() {} + +func (*PlayerEyePointStateNotify_CubicSize) isPlayerEyePointStateNotify_RegionSize() {} + +func (*PlayerEyePointStateNotify_CylinderSize) isPlayerEyePointStateNotify_RegionSize() {} + +func (*PlayerEyePointStateNotify_PolygonSize) isPlayerEyePointStateNotify_RegionSize() {} + +var File_PlayerEyePointStateNotify_proto protoreflect.FileDescriptor + +var file_PlayerEyePointStateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x43, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x50, 0x6f, 0x6c, + 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xcb, 0x04, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x79, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x0d, 0x65, 0x79, + 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x65, 0x79, 0x65, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x75, 0x73, + 0x65, 0x5f, 0x65, 0x79, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0d, 0x69, 0x73, 0x55, 0x73, 0x65, 0x45, 0x79, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x70, 0x65, 0x12, 0x2f, 0x0a, + 0x14, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x4d, 0x4d, 0x49, + 0x47, 0x4a, 0x46, 0x43, 0x46, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x47, 0x42, 0x42, 0x4d, 0x4d, 0x49, 0x47, 0x4a, 0x46, 0x43, 0x46, 0x12, + 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0d, 0x73, 0x70, 0x68, 0x65, 0x72, + 0x65, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, + 0x00, 0x52, 0x0c, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, + 0x29, 0x0a, 0x0a, 0x63, 0x75, 0x62, 0x69, 0x63, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x9f, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, + 0x09, 0x63, 0x75, 0x62, 0x69, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x79, + 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0xc6, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x43, 0x79, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x79, 0x6c, 0x69, 0x6e, + 0x64, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x79, 0x67, + 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0xed, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, + 0x7a, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x53, 0x69, 0x7a, + 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerEyePointStateNotify_proto_rawDescOnce sync.Once + file_PlayerEyePointStateNotify_proto_rawDescData = file_PlayerEyePointStateNotify_proto_rawDesc +) + +func file_PlayerEyePointStateNotify_proto_rawDescGZIP() []byte { + file_PlayerEyePointStateNotify_proto_rawDescOnce.Do(func() { + file_PlayerEyePointStateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerEyePointStateNotify_proto_rawDescData) + }) + return file_PlayerEyePointStateNotify_proto_rawDescData +} + +var file_PlayerEyePointStateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerEyePointStateNotify_proto_goTypes = []interface{}{ + (*PlayerEyePointStateNotify)(nil), // 0: PlayerEyePointStateNotify + (*Vector)(nil), // 1: Vector + (*CylinderRegionSize)(nil), // 2: CylinderRegionSize + (*PolygonRegionSize)(nil), // 3: PolygonRegionSize +} +var file_PlayerEyePointStateNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerEyePointStateNotify.eye_point_pos:type_name -> Vector + 1, // 1: PlayerEyePointStateNotify.cubic_size:type_name -> Vector + 2, // 2: PlayerEyePointStateNotify.cylinder_size:type_name -> CylinderRegionSize + 3, // 3: PlayerEyePointStateNotify.polygon_size:type_name -> PolygonRegionSize + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_PlayerEyePointStateNotify_proto_init() } +func file_PlayerEyePointStateNotify_proto_init() { + if File_PlayerEyePointStateNotify_proto != nil { + return + } + file_CylinderRegionSize_proto_init() + file_PolygonRegionSize_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerEyePointStateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerEyePointStateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_PlayerEyePointStateNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*PlayerEyePointStateNotify_SphereRadius)(nil), + (*PlayerEyePointStateNotify_CubicSize)(nil), + (*PlayerEyePointStateNotify_CylinderSize)(nil), + (*PlayerEyePointStateNotify_PolygonSize)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerEyePointStateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerEyePointStateNotify_proto_goTypes, + DependencyIndexes: file_PlayerEyePointStateNotify_proto_depIdxs, + MessageInfos: file_PlayerEyePointStateNotify_proto_msgTypes, + }.Build() + File_PlayerEyePointStateNotify_proto = out.File + file_PlayerEyePointStateNotify_proto_rawDesc = nil + file_PlayerEyePointStateNotify_proto_goTypes = nil + file_PlayerEyePointStateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerEyePointStateNotify.proto b/gate-hk4e-api/proto/PlayerEyePointStateNotify.proto new file mode 100644 index 00000000..cb4460e1 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerEyePointStateNotify.proto @@ -0,0 +1,43 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CylinderRegionSize.proto"; +import "PolygonRegionSize.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 3051 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerEyePointStateNotify { + uint32 region_entity_id = 15; + Vector eye_point_pos = 1; + bool is_use_eye_point = 3; + uint32 region_config_id = 7; + uint32 region_shape = 12; + bool is_filter_stream_pos = 2; + int32 Unk2800_GBBMMIGJFCF = 5; + uint32 region_group_id = 4; + oneof region_size { + float sphere_radius = 255; + Vector cubic_size = 1823; + CylinderRegionSize cylinder_size = 1862; + PolygonRegionSize polygon_size = 877; + } +} diff --git a/gate-hk4e-api/proto/PlayerFishingDataNotify.pb.go b/gate-hk4e-api/proto/PlayerFishingDataNotify.pb.go new file mode 100644 index 00000000..8f15d536 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerFishingDataNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerFishingDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5835 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerFishingDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastFishRodId uint32 `protobuf:"varint,8,opt,name=last_fish_rod_id,json=lastFishRodId,proto3" json:"last_fish_rod_id,omitempty"` +} + +func (x *PlayerFishingDataNotify) Reset() { + *x = PlayerFishingDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerFishingDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerFishingDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerFishingDataNotify) ProtoMessage() {} + +func (x *PlayerFishingDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerFishingDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerFishingDataNotify.ProtoReflect.Descriptor instead. +func (*PlayerFishingDataNotify) Descriptor() ([]byte, []int) { + return file_PlayerFishingDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerFishingDataNotify) GetLastFishRodId() uint32 { + if x != nil { + return x.LastFishRodId + } + return 0 +} + +var File_PlayerFishingDataNotify_proto protoreflect.FileDescriptor + +var file_PlayerFishingDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x42, 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, 0x0a, 0x10, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x72, 0x6f, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x69, 0x73, 0x68, 0x52, 0x6f, + 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerFishingDataNotify_proto_rawDescOnce sync.Once + file_PlayerFishingDataNotify_proto_rawDescData = file_PlayerFishingDataNotify_proto_rawDesc +) + +func file_PlayerFishingDataNotify_proto_rawDescGZIP() []byte { + file_PlayerFishingDataNotify_proto_rawDescOnce.Do(func() { + file_PlayerFishingDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerFishingDataNotify_proto_rawDescData) + }) + return file_PlayerFishingDataNotify_proto_rawDescData +} + +var file_PlayerFishingDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerFishingDataNotify_proto_goTypes = []interface{}{ + (*PlayerFishingDataNotify)(nil), // 0: PlayerFishingDataNotify +} +var file_PlayerFishingDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerFishingDataNotify_proto_init() } +func file_PlayerFishingDataNotify_proto_init() { + if File_PlayerFishingDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerFishingDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerFishingDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerFishingDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerFishingDataNotify_proto_goTypes, + DependencyIndexes: file_PlayerFishingDataNotify_proto_depIdxs, + MessageInfos: file_PlayerFishingDataNotify_proto_msgTypes, + }.Build() + File_PlayerFishingDataNotify_proto = out.File + file_PlayerFishingDataNotify_proto_rawDesc = nil + file_PlayerFishingDataNotify_proto_goTypes = nil + file_PlayerFishingDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerFishingDataNotify.proto b/gate-hk4e-api/proto/PlayerFishingDataNotify.proto new file mode 100644 index 00000000..07a510e7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerFishingDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5835 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerFishingDataNotify { + uint32 last_fish_rod_id = 8; +} diff --git a/gate-hk4e-api/proto/PlayerForceExitReq.pb.go b/gate-hk4e-api/proto/PlayerForceExitReq.pb.go new file mode 100644 index 00000000..2ad1044c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerForceExitReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerForceExitReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 189 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerForceExitReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PlayerForceExitReq) Reset() { + *x = PlayerForceExitReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerForceExitReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerForceExitReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerForceExitReq) ProtoMessage() {} + +func (x *PlayerForceExitReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerForceExitReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerForceExitReq.ProtoReflect.Descriptor instead. +func (*PlayerForceExitReq) Descriptor() ([]byte, []int) { + return file_PlayerForceExitReq_proto_rawDescGZIP(), []int{0} +} + +var File_PlayerForceExitReq_proto protoreflect.FileDescriptor + +var file_PlayerForceExitReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x78, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerForceExitReq_proto_rawDescOnce sync.Once + file_PlayerForceExitReq_proto_rawDescData = file_PlayerForceExitReq_proto_rawDesc +) + +func file_PlayerForceExitReq_proto_rawDescGZIP() []byte { + file_PlayerForceExitReq_proto_rawDescOnce.Do(func() { + file_PlayerForceExitReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerForceExitReq_proto_rawDescData) + }) + return file_PlayerForceExitReq_proto_rawDescData +} + +var file_PlayerForceExitReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerForceExitReq_proto_goTypes = []interface{}{ + (*PlayerForceExitReq)(nil), // 0: PlayerForceExitReq +} +var file_PlayerForceExitReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerForceExitReq_proto_init() } +func file_PlayerForceExitReq_proto_init() { + if File_PlayerForceExitReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerForceExitReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerForceExitReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerForceExitReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerForceExitReq_proto_goTypes, + DependencyIndexes: file_PlayerForceExitReq_proto_depIdxs, + MessageInfos: file_PlayerForceExitReq_proto_msgTypes, + }.Build() + File_PlayerForceExitReq_proto = out.File + file_PlayerForceExitReq_proto_rawDesc = nil + file_PlayerForceExitReq_proto_goTypes = nil + file_PlayerForceExitReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerForceExitReq.proto b/gate-hk4e-api/proto/PlayerForceExitReq.proto new file mode 100644 index 00000000..267b9ea0 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerForceExitReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 189 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerForceExitReq {} diff --git a/gate-hk4e-api/proto/PlayerForceExitRsp.pb.go b/gate-hk4e-api/proto/PlayerForceExitRsp.pb.go new file mode 100644 index 00000000..8bfd1c2d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerForceExitRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerForceExitRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 159 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerForceExitRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerForceExitRsp) Reset() { + *x = PlayerForceExitRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerForceExitRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerForceExitRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerForceExitRsp) ProtoMessage() {} + +func (x *PlayerForceExitRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerForceExitRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerForceExitRsp.ProtoReflect.Descriptor instead. +func (*PlayerForceExitRsp) Descriptor() ([]byte, []int) { + return file_PlayerForceExitRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerForceExitRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerForceExitRsp_proto protoreflect.FileDescriptor + +var file_PlayerForceExitRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x78, 0x69, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerForceExitRsp_proto_rawDescOnce sync.Once + file_PlayerForceExitRsp_proto_rawDescData = file_PlayerForceExitRsp_proto_rawDesc +) + +func file_PlayerForceExitRsp_proto_rawDescGZIP() []byte { + file_PlayerForceExitRsp_proto_rawDescOnce.Do(func() { + file_PlayerForceExitRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerForceExitRsp_proto_rawDescData) + }) + return file_PlayerForceExitRsp_proto_rawDescData +} + +var file_PlayerForceExitRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerForceExitRsp_proto_goTypes = []interface{}{ + (*PlayerForceExitRsp)(nil), // 0: PlayerForceExitRsp +} +var file_PlayerForceExitRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerForceExitRsp_proto_init() } +func file_PlayerForceExitRsp_proto_init() { + if File_PlayerForceExitRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerForceExitRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerForceExitRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerForceExitRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerForceExitRsp_proto_goTypes, + DependencyIndexes: file_PlayerForceExitRsp_proto_depIdxs, + MessageInfos: file_PlayerForceExitRsp_proto_msgTypes, + }.Build() + File_PlayerForceExitRsp_proto = out.File + file_PlayerForceExitRsp_proto_rawDesc = nil + file_PlayerForceExitRsp_proto_goTypes = nil + file_PlayerForceExitRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerForceExitRsp.proto b/gate-hk4e-api/proto/PlayerForceExitRsp.proto new file mode 100644 index 00000000..a66ff1cf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerForceExitRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 159 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerForceExitRsp { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/PlayerGameTimeNotify.pb.go b/gate-hk4e-api/proto/PlayerGameTimeNotify.pb.go new file mode 100644 index 00000000..3c8c5baf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGameTimeNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerGameTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerGameTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,7,opt,name=uid,proto3" json:"uid,omitempty"` + GameTime uint32 `protobuf:"varint,3,opt,name=game_time,json=gameTime,proto3" json:"game_time,omitempty"` + IsHome bool `protobuf:"varint,13,opt,name=is_home,json=isHome,proto3" json:"is_home,omitempty"` +} + +func (x *PlayerGameTimeNotify) Reset() { + *x = PlayerGameTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerGameTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerGameTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerGameTimeNotify) ProtoMessage() {} + +func (x *PlayerGameTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerGameTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerGameTimeNotify.ProtoReflect.Descriptor instead. +func (*PlayerGameTimeNotify) Descriptor() ([]byte, []int) { + return file_PlayerGameTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerGameTimeNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlayerGameTimeNotify) GetGameTime() uint32 { + if x != nil { + return x.GameTime + } + return 0 +} + +func (x *PlayerGameTimeNotify) GetIsHome() bool { + if x != nil { + return x.IsHome + } + return false +} + +var File_PlayerGameTimeNotify_proto protoreflect.FileDescriptor + +var file_PlayerGameTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerGameTimeNotify_proto_rawDescOnce sync.Once + file_PlayerGameTimeNotify_proto_rawDescData = file_PlayerGameTimeNotify_proto_rawDesc +) + +func file_PlayerGameTimeNotify_proto_rawDescGZIP() []byte { + file_PlayerGameTimeNotify_proto_rawDescOnce.Do(func() { + file_PlayerGameTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerGameTimeNotify_proto_rawDescData) + }) + return file_PlayerGameTimeNotify_proto_rawDescData +} + +var file_PlayerGameTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerGameTimeNotify_proto_goTypes = []interface{}{ + (*PlayerGameTimeNotify)(nil), // 0: PlayerGameTimeNotify +} +var file_PlayerGameTimeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerGameTimeNotify_proto_init() } +func file_PlayerGameTimeNotify_proto_init() { + if File_PlayerGameTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerGameTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerGameTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerGameTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerGameTimeNotify_proto_goTypes, + DependencyIndexes: file_PlayerGameTimeNotify_proto_depIdxs, + MessageInfos: file_PlayerGameTimeNotify_proto_msgTypes, + }.Build() + File_PlayerGameTimeNotify_proto = out.File + file_PlayerGameTimeNotify_proto_rawDesc = nil + file_PlayerGameTimeNotify_proto_goTypes = nil + file_PlayerGameTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerGameTimeNotify.proto b/gate-hk4e-api/proto/PlayerGameTimeNotify.proto new file mode 100644 index 00000000..28e8f3be --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGameTimeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 131 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerGameTimeNotify { + uint32 uid = 7; + uint32 game_time = 3; + bool is_home = 13; +} diff --git a/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.pb.go b/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.pb.go new file mode 100644 index 00000000..d0528d69 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerGeneralMatchConfirmNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4192 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerGeneralMatchConfirmNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchId uint32 `protobuf:"varint,8,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + IsAgree bool `protobuf:"varint,13,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *PlayerGeneralMatchConfirmNotify) Reset() { + *x = PlayerGeneralMatchConfirmNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerGeneralMatchConfirmNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerGeneralMatchConfirmNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerGeneralMatchConfirmNotify) ProtoMessage() {} + +func (x *PlayerGeneralMatchConfirmNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerGeneralMatchConfirmNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerGeneralMatchConfirmNotify.ProtoReflect.Descriptor instead. +func (*PlayerGeneralMatchConfirmNotify) Descriptor() ([]byte, []int) { + return file_PlayerGeneralMatchConfirmNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerGeneralMatchConfirmNotify) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *PlayerGeneralMatchConfirmNotify) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *PlayerGeneralMatchConfirmNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_PlayerGeneralMatchConfirmNotify_proto protoreflect.FileDescriptor + +var file_PlayerGeneralMatchConfirmNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, + 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerGeneralMatchConfirmNotify_proto_rawDescOnce sync.Once + file_PlayerGeneralMatchConfirmNotify_proto_rawDescData = file_PlayerGeneralMatchConfirmNotify_proto_rawDesc +) + +func file_PlayerGeneralMatchConfirmNotify_proto_rawDescGZIP() []byte { + file_PlayerGeneralMatchConfirmNotify_proto_rawDescOnce.Do(func() { + file_PlayerGeneralMatchConfirmNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerGeneralMatchConfirmNotify_proto_rawDescData) + }) + return file_PlayerGeneralMatchConfirmNotify_proto_rawDescData +} + +var file_PlayerGeneralMatchConfirmNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerGeneralMatchConfirmNotify_proto_goTypes = []interface{}{ + (*PlayerGeneralMatchConfirmNotify)(nil), // 0: PlayerGeneralMatchConfirmNotify +} +var file_PlayerGeneralMatchConfirmNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerGeneralMatchConfirmNotify_proto_init() } +func file_PlayerGeneralMatchConfirmNotify_proto_init() { + if File_PlayerGeneralMatchConfirmNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerGeneralMatchConfirmNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerGeneralMatchConfirmNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerGeneralMatchConfirmNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerGeneralMatchConfirmNotify_proto_goTypes, + DependencyIndexes: file_PlayerGeneralMatchConfirmNotify_proto_depIdxs, + MessageInfos: file_PlayerGeneralMatchConfirmNotify_proto_msgTypes, + }.Build() + File_PlayerGeneralMatchConfirmNotify_proto = out.File + file_PlayerGeneralMatchConfirmNotify_proto_rawDesc = nil + file_PlayerGeneralMatchConfirmNotify_proto_goTypes = nil + file_PlayerGeneralMatchConfirmNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.proto b/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.proto new file mode 100644 index 00000000..c271625e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGeneralMatchConfirmNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4192 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerGeneralMatchConfirmNotify { + uint32 match_id = 8; + bool is_agree = 13; + uint32 uid = 14; +} diff --git a/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.pb.go b/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.pb.go new file mode 100644 index 00000000..77752990 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerGeneralMatchDismissNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4191 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerGeneralMatchDismissNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UidList []uint32 `protobuf:"varint,3,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` + Reason MatchReason `protobuf:"varint,13,opt,name=reason,proto3,enum=MatchReason" json:"reason,omitempty"` + MatchId uint32 `protobuf:"varint,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` +} + +func (x *PlayerGeneralMatchDismissNotify) Reset() { + *x = PlayerGeneralMatchDismissNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerGeneralMatchDismissNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerGeneralMatchDismissNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerGeneralMatchDismissNotify) ProtoMessage() {} + +func (x *PlayerGeneralMatchDismissNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerGeneralMatchDismissNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerGeneralMatchDismissNotify.ProtoReflect.Descriptor instead. +func (*PlayerGeneralMatchDismissNotify) Descriptor() ([]byte, []int) { + return file_PlayerGeneralMatchDismissNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerGeneralMatchDismissNotify) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +func (x *PlayerGeneralMatchDismissNotify) GetReason() MatchReason { + if x != nil { + return x.Reason + } + return MatchReason_MATCH_REASON_NONE +} + +func (x *PlayerGeneralMatchDismissNotify) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +var File_PlayerGeneralMatchDismissNotify_proto protoreflect.FileDescriptor + +var file_PlayerGeneralMatchDismissNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x1f, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, + 0x08, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x07, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, + 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerGeneralMatchDismissNotify_proto_rawDescOnce sync.Once + file_PlayerGeneralMatchDismissNotify_proto_rawDescData = file_PlayerGeneralMatchDismissNotify_proto_rawDesc +) + +func file_PlayerGeneralMatchDismissNotify_proto_rawDescGZIP() []byte { + file_PlayerGeneralMatchDismissNotify_proto_rawDescOnce.Do(func() { + file_PlayerGeneralMatchDismissNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerGeneralMatchDismissNotify_proto_rawDescData) + }) + return file_PlayerGeneralMatchDismissNotify_proto_rawDescData +} + +var file_PlayerGeneralMatchDismissNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerGeneralMatchDismissNotify_proto_goTypes = []interface{}{ + (*PlayerGeneralMatchDismissNotify)(nil), // 0: PlayerGeneralMatchDismissNotify + (MatchReason)(0), // 1: MatchReason +} +var file_PlayerGeneralMatchDismissNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerGeneralMatchDismissNotify.reason:type_name -> MatchReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerGeneralMatchDismissNotify_proto_init() } +func file_PlayerGeneralMatchDismissNotify_proto_init() { + if File_PlayerGeneralMatchDismissNotify_proto != nil { + return + } + file_MatchReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerGeneralMatchDismissNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerGeneralMatchDismissNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerGeneralMatchDismissNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerGeneralMatchDismissNotify_proto_goTypes, + DependencyIndexes: file_PlayerGeneralMatchDismissNotify_proto_depIdxs, + MessageInfos: file_PlayerGeneralMatchDismissNotify_proto_msgTypes, + }.Build() + File_PlayerGeneralMatchDismissNotify_proto = out.File + file_PlayerGeneralMatchDismissNotify_proto_rawDesc = nil + file_PlayerGeneralMatchDismissNotify_proto_goTypes = nil + file_PlayerGeneralMatchDismissNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.proto b/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.proto new file mode 100644 index 00000000..b7535197 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGeneralMatchDismissNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 4191 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerGeneralMatchDismissNotify { + repeated uint32 uid_list = 3; + MatchReason reason = 13; + uint32 match_id = 1; +} diff --git a/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.pb.go b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.pb.go new file mode 100644 index 00000000..5bff498d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerGetForceQuitBanInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4164 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerGetForceQuitBanInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PlayerGetForceQuitBanInfoReq) Reset() { + *x = PlayerGetForceQuitBanInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerGetForceQuitBanInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerGetForceQuitBanInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerGetForceQuitBanInfoReq) ProtoMessage() {} + +func (x *PlayerGetForceQuitBanInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerGetForceQuitBanInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerGetForceQuitBanInfoReq.ProtoReflect.Descriptor instead. +func (*PlayerGetForceQuitBanInfoReq) Descriptor() ([]byte, []int) { + return file_PlayerGetForceQuitBanInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_PlayerGetForceQuitBanInfoReq_proto protoreflect.FileDescriptor + +var file_PlayerGetForceQuitBanInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, + 0x51, 0x75, 0x69, 0x74, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, + 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x51, 0x75, 0x69, 0x74, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerGetForceQuitBanInfoReq_proto_rawDescOnce sync.Once + file_PlayerGetForceQuitBanInfoReq_proto_rawDescData = file_PlayerGetForceQuitBanInfoReq_proto_rawDesc +) + +func file_PlayerGetForceQuitBanInfoReq_proto_rawDescGZIP() []byte { + file_PlayerGetForceQuitBanInfoReq_proto_rawDescOnce.Do(func() { + file_PlayerGetForceQuitBanInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerGetForceQuitBanInfoReq_proto_rawDescData) + }) + return file_PlayerGetForceQuitBanInfoReq_proto_rawDescData +} + +var file_PlayerGetForceQuitBanInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerGetForceQuitBanInfoReq_proto_goTypes = []interface{}{ + (*PlayerGetForceQuitBanInfoReq)(nil), // 0: PlayerGetForceQuitBanInfoReq +} +var file_PlayerGetForceQuitBanInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerGetForceQuitBanInfoReq_proto_init() } +func file_PlayerGetForceQuitBanInfoReq_proto_init() { + if File_PlayerGetForceQuitBanInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerGetForceQuitBanInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerGetForceQuitBanInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerGetForceQuitBanInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerGetForceQuitBanInfoReq_proto_goTypes, + DependencyIndexes: file_PlayerGetForceQuitBanInfoReq_proto_depIdxs, + MessageInfos: file_PlayerGetForceQuitBanInfoReq_proto_msgTypes, + }.Build() + File_PlayerGetForceQuitBanInfoReq_proto = out.File + file_PlayerGetForceQuitBanInfoReq_proto_rawDesc = nil + file_PlayerGetForceQuitBanInfoReq_proto_goTypes = nil + file_PlayerGetForceQuitBanInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.proto b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.proto new file mode 100644 index 00000000..e43fae73 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4164 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerGetForceQuitBanInfoReq {} diff --git a/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.pb.go b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.pb.go new file mode 100644 index 00000000..2da687cb --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerGetForceQuitBanInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4197 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerGetForceQuitBanInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + MatchId uint32 `protobuf:"varint,8,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + ExpireTime uint32 `protobuf:"varint,13,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` +} + +func (x *PlayerGetForceQuitBanInfoRsp) Reset() { + *x = PlayerGetForceQuitBanInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerGetForceQuitBanInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerGetForceQuitBanInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerGetForceQuitBanInfoRsp) ProtoMessage() {} + +func (x *PlayerGetForceQuitBanInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerGetForceQuitBanInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerGetForceQuitBanInfoRsp.ProtoReflect.Descriptor instead. +func (*PlayerGetForceQuitBanInfoRsp) Descriptor() ([]byte, []int) { + return file_PlayerGetForceQuitBanInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerGetForceQuitBanInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerGetForceQuitBanInfoRsp) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *PlayerGetForceQuitBanInfoRsp) GetExpireTime() uint32 { + if x != nil { + return x.ExpireTime + } + return 0 +} + +var File_PlayerGetForceQuitBanInfoRsp_proto protoreflect.FileDescriptor + +var file_PlayerGetForceQuitBanInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, + 0x51, 0x75, 0x69, 0x74, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x47, 0x65, + 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x51, 0x75, 0x69, 0x74, 0x42, 0x61, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerGetForceQuitBanInfoRsp_proto_rawDescOnce sync.Once + file_PlayerGetForceQuitBanInfoRsp_proto_rawDescData = file_PlayerGetForceQuitBanInfoRsp_proto_rawDesc +) + +func file_PlayerGetForceQuitBanInfoRsp_proto_rawDescGZIP() []byte { + file_PlayerGetForceQuitBanInfoRsp_proto_rawDescOnce.Do(func() { + file_PlayerGetForceQuitBanInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerGetForceQuitBanInfoRsp_proto_rawDescData) + }) + return file_PlayerGetForceQuitBanInfoRsp_proto_rawDescData +} + +var file_PlayerGetForceQuitBanInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerGetForceQuitBanInfoRsp_proto_goTypes = []interface{}{ + (*PlayerGetForceQuitBanInfoRsp)(nil), // 0: PlayerGetForceQuitBanInfoRsp +} +var file_PlayerGetForceQuitBanInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerGetForceQuitBanInfoRsp_proto_init() } +func file_PlayerGetForceQuitBanInfoRsp_proto_init() { + if File_PlayerGetForceQuitBanInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerGetForceQuitBanInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerGetForceQuitBanInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerGetForceQuitBanInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerGetForceQuitBanInfoRsp_proto_goTypes, + DependencyIndexes: file_PlayerGetForceQuitBanInfoRsp_proto_depIdxs, + MessageInfos: file_PlayerGetForceQuitBanInfoRsp_proto_msgTypes, + }.Build() + File_PlayerGetForceQuitBanInfoRsp_proto = out.File + file_PlayerGetForceQuitBanInfoRsp_proto_rawDesc = nil + file_PlayerGetForceQuitBanInfoRsp_proto_goTypes = nil + file_PlayerGetForceQuitBanInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.proto b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.proto new file mode 100644 index 00000000..9292ffb0 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerGetForceQuitBanInfoRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4197 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerGetForceQuitBanInfoRsp { + int32 retcode = 4; + uint32 match_id = 8; + uint32 expire_time = 13; +} diff --git a/gate-hk4e-api/proto/PlayerHomeCompInfo.pb.go b/gate-hk4e-api/proto/PlayerHomeCompInfo.pb.go new file mode 100644 index 00000000..8f25bb3f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerHomeCompInfo.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerHomeCompInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerHomeCompInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnlockedModuleIdList []uint32 `protobuf:"varint,4,rep,packed,name=unlocked_module_id_list,json=unlockedModuleIdList,proto3" json:"unlocked_module_id_list,omitempty"` + SeenModuleIdList []uint32 `protobuf:"varint,2,rep,packed,name=seen_module_id_list,json=seenModuleIdList,proto3" json:"seen_module_id_list,omitempty"` + LevelupRewardGotLevelList []uint32 `protobuf:"varint,7,rep,packed,name=levelup_reward_got_level_list,json=levelupRewardGotLevelList,proto3" json:"levelup_reward_got_level_list,omitempty"` + FriendEnterHomeOption FriendEnterHomeOption `protobuf:"varint,8,opt,name=friend_enter_home_option,json=friendEnterHomeOption,proto3,enum=FriendEnterHomeOption" json:"friend_enter_home_option,omitempty"` +} + +func (x *PlayerHomeCompInfo) Reset() { + *x = PlayerHomeCompInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerHomeCompInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerHomeCompInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerHomeCompInfo) ProtoMessage() {} + +func (x *PlayerHomeCompInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerHomeCompInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerHomeCompInfo.ProtoReflect.Descriptor instead. +func (*PlayerHomeCompInfo) Descriptor() ([]byte, []int) { + return file_PlayerHomeCompInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerHomeCompInfo) GetUnlockedModuleIdList() []uint32 { + if x != nil { + return x.UnlockedModuleIdList + } + return nil +} + +func (x *PlayerHomeCompInfo) GetSeenModuleIdList() []uint32 { + if x != nil { + return x.SeenModuleIdList + } + return nil +} + +func (x *PlayerHomeCompInfo) GetLevelupRewardGotLevelList() []uint32 { + if x != nil { + return x.LevelupRewardGotLevelList + } + return nil +} + +func (x *PlayerHomeCompInfo) GetFriendEnterHomeOption() FriendEnterHomeOption { + if x != nil { + return x.FriendEnterHomeOption + } + return FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM +} + +var File_PlayerHomeCompInfo_proto protoreflect.FileDescriptor + +var file_PlayerHomeCompInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x72, 0x69, 0x65, + 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, + 0x0a, 0x17, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x14, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x65, 0x65, 0x6e, 0x5f, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x1d, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x75, 0x70, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x67, 0x6f, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x19, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x75, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x47, 0x6f, 0x74, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x18, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x15, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerHomeCompInfo_proto_rawDescOnce sync.Once + file_PlayerHomeCompInfo_proto_rawDescData = file_PlayerHomeCompInfo_proto_rawDesc +) + +func file_PlayerHomeCompInfo_proto_rawDescGZIP() []byte { + file_PlayerHomeCompInfo_proto_rawDescOnce.Do(func() { + file_PlayerHomeCompInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerHomeCompInfo_proto_rawDescData) + }) + return file_PlayerHomeCompInfo_proto_rawDescData +} + +var file_PlayerHomeCompInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerHomeCompInfo_proto_goTypes = []interface{}{ + (*PlayerHomeCompInfo)(nil), // 0: PlayerHomeCompInfo + (FriendEnterHomeOption)(0), // 1: FriendEnterHomeOption +} +var file_PlayerHomeCompInfo_proto_depIdxs = []int32{ + 1, // 0: PlayerHomeCompInfo.friend_enter_home_option:type_name -> FriendEnterHomeOption + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerHomeCompInfo_proto_init() } +func file_PlayerHomeCompInfo_proto_init() { + if File_PlayerHomeCompInfo_proto != nil { + return + } + file_FriendEnterHomeOption_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerHomeCompInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerHomeCompInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerHomeCompInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerHomeCompInfo_proto_goTypes, + DependencyIndexes: file_PlayerHomeCompInfo_proto_depIdxs, + MessageInfos: file_PlayerHomeCompInfo_proto_msgTypes, + }.Build() + File_PlayerHomeCompInfo_proto = out.File + file_PlayerHomeCompInfo_proto_rawDesc = nil + file_PlayerHomeCompInfo_proto_goTypes = nil + file_PlayerHomeCompInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerHomeCompInfo.proto b/gate-hk4e-api/proto/PlayerHomeCompInfo.proto new file mode 100644 index 00000000..c7c85c89 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerHomeCompInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendEnterHomeOption.proto"; + +option go_package = "./;proto"; + +message PlayerHomeCompInfo { + repeated uint32 unlocked_module_id_list = 4; + repeated uint32 seen_module_id_list = 2; + repeated uint32 levelup_reward_got_level_list = 7; + FriendEnterHomeOption friend_enter_home_option = 8; +} diff --git a/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.pb.go b/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.pb.go new file mode 100644 index 00000000..1cdbfbae --- /dev/null +++ b/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerHomeCompInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4880 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerHomeCompInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CompInfo *PlayerHomeCompInfo `protobuf:"bytes,4,opt,name=comp_info,json=compInfo,proto3" json:"comp_info,omitempty"` +} + +func (x *PlayerHomeCompInfoNotify) Reset() { + *x = PlayerHomeCompInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerHomeCompInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerHomeCompInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerHomeCompInfoNotify) ProtoMessage() {} + +func (x *PlayerHomeCompInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerHomeCompInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerHomeCompInfoNotify.ProtoReflect.Descriptor instead. +func (*PlayerHomeCompInfoNotify) Descriptor() ([]byte, []int) { + return file_PlayerHomeCompInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerHomeCompInfoNotify) GetCompInfo() *PlayerHomeCompInfo { + if x != nil { + return x.CompInfo + } + return nil +} + +var File_PlayerHomeCompInfoNotify_proto protoreflect.FileDescriptor + +var file_PlayerHomeCompInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x18, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x6f, 0x6d, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerHomeCompInfoNotify_proto_rawDescOnce sync.Once + file_PlayerHomeCompInfoNotify_proto_rawDescData = file_PlayerHomeCompInfoNotify_proto_rawDesc +) + +func file_PlayerHomeCompInfoNotify_proto_rawDescGZIP() []byte { + file_PlayerHomeCompInfoNotify_proto_rawDescOnce.Do(func() { + file_PlayerHomeCompInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerHomeCompInfoNotify_proto_rawDescData) + }) + return file_PlayerHomeCompInfoNotify_proto_rawDescData +} + +var file_PlayerHomeCompInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerHomeCompInfoNotify_proto_goTypes = []interface{}{ + (*PlayerHomeCompInfoNotify)(nil), // 0: PlayerHomeCompInfoNotify + (*PlayerHomeCompInfo)(nil), // 1: PlayerHomeCompInfo +} +var file_PlayerHomeCompInfoNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerHomeCompInfoNotify.comp_info:type_name -> PlayerHomeCompInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerHomeCompInfoNotify_proto_init() } +func file_PlayerHomeCompInfoNotify_proto_init() { + if File_PlayerHomeCompInfoNotify_proto != nil { + return + } + file_PlayerHomeCompInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerHomeCompInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerHomeCompInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerHomeCompInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerHomeCompInfoNotify_proto_goTypes, + DependencyIndexes: file_PlayerHomeCompInfoNotify_proto_depIdxs, + MessageInfos: file_PlayerHomeCompInfoNotify_proto_msgTypes, + }.Build() + File_PlayerHomeCompInfoNotify_proto = out.File + file_PlayerHomeCompInfoNotify_proto_rawDesc = nil + file_PlayerHomeCompInfoNotify_proto_goTypes = nil + file_PlayerHomeCompInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.proto b/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.proto new file mode 100644 index 00000000..5b864ef6 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerHomeCompInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerHomeCompInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4880 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerHomeCompInfoNotify { + PlayerHomeCompInfo comp_info = 4; +} diff --git a/gate-hk4e-api/proto/PlayerInjectFixNotify.pb.go b/gate-hk4e-api/proto/PlayerInjectFixNotify.pb.go new file mode 100644 index 00000000..2b34a1f1 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInjectFixNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerInjectFixNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 132 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerInjectFixNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` + InjectFix []byte `protobuf:"bytes,10,opt,name=inject_fix,json=injectFix,proto3" json:"inject_fix,omitempty"` +} + +func (x *PlayerInjectFixNotify) Reset() { + *x = PlayerInjectFixNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerInjectFixNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerInjectFixNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerInjectFixNotify) ProtoMessage() {} + +func (x *PlayerInjectFixNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerInjectFixNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerInjectFixNotify.ProtoReflect.Descriptor instead. +func (*PlayerInjectFixNotify) Descriptor() ([]byte, []int) { + return file_PlayerInjectFixNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerInjectFixNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *PlayerInjectFixNotify) GetInjectFix() []byte { + if x != nil { + return x.InjectFix + } + return nil +} + +var File_PlayerInjectFixNotify_proto protoreflect.FileDescriptor + +var file_PlayerInjectFixNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, + 0x78, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, + 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x78, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x69, 0x6e, 0x6a, 0x65, + 0x63, 0x74, 0x46, 0x69, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerInjectFixNotify_proto_rawDescOnce sync.Once + file_PlayerInjectFixNotify_proto_rawDescData = file_PlayerInjectFixNotify_proto_rawDesc +) + +func file_PlayerInjectFixNotify_proto_rawDescGZIP() []byte { + file_PlayerInjectFixNotify_proto_rawDescOnce.Do(func() { + file_PlayerInjectFixNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerInjectFixNotify_proto_rawDescData) + }) + return file_PlayerInjectFixNotify_proto_rawDescData +} + +var file_PlayerInjectFixNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerInjectFixNotify_proto_goTypes = []interface{}{ + (*PlayerInjectFixNotify)(nil), // 0: PlayerInjectFixNotify +} +var file_PlayerInjectFixNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerInjectFixNotify_proto_init() } +func file_PlayerInjectFixNotify_proto_init() { + if File_PlayerInjectFixNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerInjectFixNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerInjectFixNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerInjectFixNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerInjectFixNotify_proto_goTypes, + DependencyIndexes: file_PlayerInjectFixNotify_proto_depIdxs, + MessageInfos: file_PlayerInjectFixNotify_proto_msgTypes, + }.Build() + File_PlayerInjectFixNotify_proto = out.File + file_PlayerInjectFixNotify_proto_rawDesc = nil + file_PlayerInjectFixNotify_proto_goTypes = nil + file_PlayerInjectFixNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerInjectFixNotify.proto b/gate-hk4e-api/proto/PlayerInjectFixNotify.proto new file mode 100644 index 00000000..6998134e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInjectFixNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 132 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerInjectFixNotify { + uint32 id = 13; + bytes inject_fix = 10; +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.pb.go b/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.pb.go new file mode 100644 index 00000000..094bfe87 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerInvestigationAllInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1928 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerInvestigationAllInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InvestigationList []*Investigation `protobuf:"bytes,15,rep,name=investigation_list,json=investigationList,proto3" json:"investigation_list,omitempty"` + InvestigationTargetList []*InvestigationTarget `protobuf:"bytes,12,rep,name=investigation_target_list,json=investigationTargetList,proto3" json:"investigation_target_list,omitempty"` +} + +func (x *PlayerInvestigationAllInfoNotify) Reset() { + *x = PlayerInvestigationAllInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerInvestigationAllInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerInvestigationAllInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerInvestigationAllInfoNotify) ProtoMessage() {} + +func (x *PlayerInvestigationAllInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerInvestigationAllInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerInvestigationAllInfoNotify.ProtoReflect.Descriptor instead. +func (*PlayerInvestigationAllInfoNotify) Descriptor() ([]byte, []int) { + return file_PlayerInvestigationAllInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerInvestigationAllInfoNotify) GetInvestigationList() []*Investigation { + if x != nil { + return x.InvestigationList + } + return nil +} + +func (x *PlayerInvestigationAllInfoNotify) GetInvestigationTargetList() []*InvestigationTarget { + if x != nil { + return x.InvestigationTargetList + } + return nil +} + +var File_PlayerInvestigationAllInfoNotify_proto protoreflect.FileDescriptor + +var file_PlayerInvestigationAllInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x49, + 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x20, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3d, 0x0a, + 0x12, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x49, 0x6e, 0x76, 0x65, + 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x69, 0x6e, 0x76, 0x65, 0x73, + 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x19, + 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x17, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PlayerInvestigationAllInfoNotify_proto_rawDescOnce sync.Once + file_PlayerInvestigationAllInfoNotify_proto_rawDescData = file_PlayerInvestigationAllInfoNotify_proto_rawDesc +) + +func file_PlayerInvestigationAllInfoNotify_proto_rawDescGZIP() []byte { + file_PlayerInvestigationAllInfoNotify_proto_rawDescOnce.Do(func() { + file_PlayerInvestigationAllInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerInvestigationAllInfoNotify_proto_rawDescData) + }) + return file_PlayerInvestigationAllInfoNotify_proto_rawDescData +} + +var file_PlayerInvestigationAllInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerInvestigationAllInfoNotify_proto_goTypes = []interface{}{ + (*PlayerInvestigationAllInfoNotify)(nil), // 0: PlayerInvestigationAllInfoNotify + (*Investigation)(nil), // 1: Investigation + (*InvestigationTarget)(nil), // 2: InvestigationTarget +} +var file_PlayerInvestigationAllInfoNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerInvestigationAllInfoNotify.investigation_list:type_name -> Investigation + 2, // 1: PlayerInvestigationAllInfoNotify.investigation_target_list:type_name -> InvestigationTarget + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerInvestigationAllInfoNotify_proto_init() } +func file_PlayerInvestigationAllInfoNotify_proto_init() { + if File_PlayerInvestigationAllInfoNotify_proto != nil { + return + } + file_Investigation_proto_init() + file_InvestigationTarget_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerInvestigationAllInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerInvestigationAllInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerInvestigationAllInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerInvestigationAllInfoNotify_proto_goTypes, + DependencyIndexes: file_PlayerInvestigationAllInfoNotify_proto_depIdxs, + MessageInfos: file_PlayerInvestigationAllInfoNotify_proto_msgTypes, + }.Build() + File_PlayerInvestigationAllInfoNotify_proto = out.File + file_PlayerInvestigationAllInfoNotify_proto_rawDesc = nil + file_PlayerInvestigationAllInfoNotify_proto_goTypes = nil + file_PlayerInvestigationAllInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.proto b/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.proto new file mode 100644 index 00000000..ff6089ed --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationAllInfoNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Investigation.proto"; +import "InvestigationTarget.proto"; + +option go_package = "./;proto"; + +// CmdId: 1928 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerInvestigationAllInfoNotify { + repeated Investigation investigation_list = 15; + repeated InvestigationTarget investigation_target_list = 12; +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationNotify.pb.go b/gate-hk4e-api/proto/PlayerInvestigationNotify.pb.go new file mode 100644 index 00000000..316131bf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerInvestigationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1911 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerInvestigationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InvestigationList []*Investigation `protobuf:"bytes,1,rep,name=investigation_list,json=investigationList,proto3" json:"investigation_list,omitempty"` +} + +func (x *PlayerInvestigationNotify) Reset() { + *x = PlayerInvestigationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerInvestigationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerInvestigationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerInvestigationNotify) ProtoMessage() {} + +func (x *PlayerInvestigationNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerInvestigationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerInvestigationNotify.ProtoReflect.Descriptor instead. +func (*PlayerInvestigationNotify) Descriptor() ([]byte, []int) { + return file_PlayerInvestigationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerInvestigationNotify) GetInvestigationList() []*Investigation { + if x != nil { + return x.InvestigationList + } + return nil +} + +var File_PlayerInvestigationNotify_proto protoreflect.FileDescriptor + +var file_PlayerInvestigationNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x13, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x3d, 0x0a, 0x12, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x11, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerInvestigationNotify_proto_rawDescOnce sync.Once + file_PlayerInvestigationNotify_proto_rawDescData = file_PlayerInvestigationNotify_proto_rawDesc +) + +func file_PlayerInvestigationNotify_proto_rawDescGZIP() []byte { + file_PlayerInvestigationNotify_proto_rawDescOnce.Do(func() { + file_PlayerInvestigationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerInvestigationNotify_proto_rawDescData) + }) + return file_PlayerInvestigationNotify_proto_rawDescData +} + +var file_PlayerInvestigationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerInvestigationNotify_proto_goTypes = []interface{}{ + (*PlayerInvestigationNotify)(nil), // 0: PlayerInvestigationNotify + (*Investigation)(nil), // 1: Investigation +} +var file_PlayerInvestigationNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerInvestigationNotify.investigation_list:type_name -> Investigation + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerInvestigationNotify_proto_init() } +func file_PlayerInvestigationNotify_proto_init() { + if File_PlayerInvestigationNotify_proto != nil { + return + } + file_Investigation_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerInvestigationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerInvestigationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerInvestigationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerInvestigationNotify_proto_goTypes, + DependencyIndexes: file_PlayerInvestigationNotify_proto_depIdxs, + MessageInfos: file_PlayerInvestigationNotify_proto_msgTypes, + }.Build() + File_PlayerInvestigationNotify_proto = out.File + file_PlayerInvestigationNotify_proto_rawDesc = nil + file_PlayerInvestigationNotify_proto_goTypes = nil + file_PlayerInvestigationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationNotify.proto b/gate-hk4e-api/proto/PlayerInvestigationNotify.proto new file mode 100644 index 00000000..b1ec76c8 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Investigation.proto"; + +option go_package = "./;proto"; + +// CmdId: 1911 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerInvestigationNotify { + repeated Investigation investigation_list = 1; +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.pb.go b/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.pb.go new file mode 100644 index 00000000..8df1eb84 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerInvestigationTargetNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1929 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerInvestigationTargetNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InvestigationTargetList []*InvestigationTarget `protobuf:"bytes,1,rep,name=investigation_target_list,json=investigationTargetList,proto3" json:"investigation_target_list,omitempty"` +} + +func (x *PlayerInvestigationTargetNotify) Reset() { + *x = PlayerInvestigationTargetNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerInvestigationTargetNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerInvestigationTargetNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerInvestigationTargetNotify) ProtoMessage() {} + +func (x *PlayerInvestigationTargetNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerInvestigationTargetNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerInvestigationTargetNotify.ProtoReflect.Descriptor instead. +func (*PlayerInvestigationTargetNotify) Descriptor() ([]byte, []int) { + return file_PlayerInvestigationTargetNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerInvestigationTargetNotify) GetInvestigationTargetList() []*InvestigationTarget { + if x != nil { + return x.InvestigationTargetList + } + return nil +} + +var File_PlayerInvestigationTargetNotify_proto protoreflect.FileDescriptor + +var file_PlayerInvestigationTargetNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x1f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, + 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x50, 0x0a, 0x19, 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x73, + 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x17, + 0x69, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerInvestigationTargetNotify_proto_rawDescOnce sync.Once + file_PlayerInvestigationTargetNotify_proto_rawDescData = file_PlayerInvestigationTargetNotify_proto_rawDesc +) + +func file_PlayerInvestigationTargetNotify_proto_rawDescGZIP() []byte { + file_PlayerInvestigationTargetNotify_proto_rawDescOnce.Do(func() { + file_PlayerInvestigationTargetNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerInvestigationTargetNotify_proto_rawDescData) + }) + return file_PlayerInvestigationTargetNotify_proto_rawDescData +} + +var file_PlayerInvestigationTargetNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerInvestigationTargetNotify_proto_goTypes = []interface{}{ + (*PlayerInvestigationTargetNotify)(nil), // 0: PlayerInvestigationTargetNotify + (*InvestigationTarget)(nil), // 1: InvestigationTarget +} +var file_PlayerInvestigationTargetNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerInvestigationTargetNotify.investigation_target_list:type_name -> InvestigationTarget + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerInvestigationTargetNotify_proto_init() } +func file_PlayerInvestigationTargetNotify_proto_init() { + if File_PlayerInvestigationTargetNotify_proto != nil { + return + } + file_InvestigationTarget_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerInvestigationTargetNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerInvestigationTargetNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerInvestigationTargetNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerInvestigationTargetNotify_proto_goTypes, + DependencyIndexes: file_PlayerInvestigationTargetNotify_proto_depIdxs, + MessageInfos: file_PlayerInvestigationTargetNotify_proto_msgTypes, + }.Build() + File_PlayerInvestigationTargetNotify_proto = out.File + file_PlayerInvestigationTargetNotify_proto_rawDesc = nil + file_PlayerInvestigationTargetNotify_proto_goTypes = nil + file_PlayerInvestigationTargetNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.proto b/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.proto new file mode 100644 index 00000000..e3e1c2c9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerInvestigationTargetNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "InvestigationTarget.proto"; + +option go_package = "./;proto"; + +// CmdId: 1929 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerInvestigationTargetNotify { + repeated InvestigationTarget investigation_target_list = 1; +} diff --git a/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.pb.go b/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.pb.go new file mode 100644 index 00000000..292c9881 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLevelRewardUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 200 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerLevelRewardUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelList []uint32 `protobuf:"varint,9,rep,packed,name=level_list,json=levelList,proto3" json:"level_list,omitempty"` +} + +func (x *PlayerLevelRewardUpdateNotify) Reset() { + *x = PlayerLevelRewardUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLevelRewardUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLevelRewardUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLevelRewardUpdateNotify) ProtoMessage() {} + +func (x *PlayerLevelRewardUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLevelRewardUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLevelRewardUpdateNotify.ProtoReflect.Descriptor instead. +func (*PlayerLevelRewardUpdateNotify) Descriptor() ([]byte, []int) { + return file_PlayerLevelRewardUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLevelRewardUpdateNotify) GetLevelList() []uint32 { + if x != nil { + return x.LevelList + } + return nil +} + +var File_PlayerLevelRewardUpdateNotify_proto protoreflect.FileDescriptor + +var file_PlayerLevelRewardUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLevelRewardUpdateNotify_proto_rawDescOnce sync.Once + file_PlayerLevelRewardUpdateNotify_proto_rawDescData = file_PlayerLevelRewardUpdateNotify_proto_rawDesc +) + +func file_PlayerLevelRewardUpdateNotify_proto_rawDescGZIP() []byte { + file_PlayerLevelRewardUpdateNotify_proto_rawDescOnce.Do(func() { + file_PlayerLevelRewardUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLevelRewardUpdateNotify_proto_rawDescData) + }) + return file_PlayerLevelRewardUpdateNotify_proto_rawDescData +} + +var file_PlayerLevelRewardUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLevelRewardUpdateNotify_proto_goTypes = []interface{}{ + (*PlayerLevelRewardUpdateNotify)(nil), // 0: PlayerLevelRewardUpdateNotify +} +var file_PlayerLevelRewardUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerLevelRewardUpdateNotify_proto_init() } +func file_PlayerLevelRewardUpdateNotify_proto_init() { + if File_PlayerLevelRewardUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerLevelRewardUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLevelRewardUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLevelRewardUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLevelRewardUpdateNotify_proto_goTypes, + DependencyIndexes: file_PlayerLevelRewardUpdateNotify_proto_depIdxs, + MessageInfos: file_PlayerLevelRewardUpdateNotify_proto_msgTypes, + }.Build() + File_PlayerLevelRewardUpdateNotify_proto = out.File + file_PlayerLevelRewardUpdateNotify_proto_rawDesc = nil + file_PlayerLevelRewardUpdateNotify_proto_goTypes = nil + file_PlayerLevelRewardUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.proto b/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.proto new file mode 100644 index 00000000..5b0fcddb --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLevelRewardUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 200 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerLevelRewardUpdateNotify { + repeated uint32 level_list = 9; +} diff --git a/gate-hk4e-api/proto/PlayerLocationInfo.pb.go b/gate-hk4e-api/proto/PlayerLocationInfo.pb.go new file mode 100644 index 00000000..a74a4cfd --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLocationInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLocationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerLocationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + Pos *Vector `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,13,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *PlayerLocationInfo) Reset() { + *x = PlayerLocationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLocationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLocationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLocationInfo) ProtoMessage() {} + +func (x *PlayerLocationInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLocationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLocationInfo.ProtoReflect.Descriptor instead. +func (*PlayerLocationInfo) Descriptor() ([]byte, []int) { + return file_PlayerLocationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLocationInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlayerLocationInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *PlayerLocationInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_PlayerLocationInfo_proto protoreflect.FileDescriptor + +var file_PlayerLocationInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, + 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, + 0x6f, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLocationInfo_proto_rawDescOnce sync.Once + file_PlayerLocationInfo_proto_rawDescData = file_PlayerLocationInfo_proto_rawDesc +) + +func file_PlayerLocationInfo_proto_rawDescGZIP() []byte { + file_PlayerLocationInfo_proto_rawDescOnce.Do(func() { + file_PlayerLocationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLocationInfo_proto_rawDescData) + }) + return file_PlayerLocationInfo_proto_rawDescData +} + +var file_PlayerLocationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLocationInfo_proto_goTypes = []interface{}{ + (*PlayerLocationInfo)(nil), // 0: PlayerLocationInfo + (*Vector)(nil), // 1: Vector +} +var file_PlayerLocationInfo_proto_depIdxs = []int32{ + 1, // 0: PlayerLocationInfo.pos:type_name -> Vector + 1, // 1: PlayerLocationInfo.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerLocationInfo_proto_init() } +func file_PlayerLocationInfo_proto_init() { + if File_PlayerLocationInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerLocationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLocationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLocationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLocationInfo_proto_goTypes, + DependencyIndexes: file_PlayerLocationInfo_proto_depIdxs, + MessageInfos: file_PlayerLocationInfo_proto_msgTypes, + }.Build() + File_PlayerLocationInfo_proto = out.File + file_PlayerLocationInfo_proto_rawDesc = nil + file_PlayerLocationInfo_proto_goTypes = nil + file_PlayerLocationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLocationInfo.proto b/gate-hk4e-api/proto/PlayerLocationInfo.proto new file mode 100644 index 00000000..071c2d6d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLocationInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message PlayerLocationInfo { + uint32 uid = 15; + Vector pos = 3; + Vector rot = 13; +} diff --git a/gate-hk4e-api/proto/PlayerLoginReq.pb.go b/gate-hk4e-api/proto/PlayerLoginReq.pb.go new file mode 100644 index 00000000..5e39f10e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLoginReq.pb.go @@ -0,0 +1,597 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLoginReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerLoginReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LanguageType uint32 `protobuf:"varint,6,opt,name=language_type,json=languageType,proto3" json:"language_type,omitempty"` + RegPlatform uint32 `protobuf:"varint,615,opt,name=reg_platform,json=regPlatform,proto3" json:"reg_platform,omitempty"` + TrackingIoInfo *TrackingIOInfo `protobuf:"bytes,1660,opt,name=tracking_io_info,json=trackingIoInfo,proto3" json:"tracking_io_info,omitempty"` + AccountType uint32 `protobuf:"varint,13,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"` + Token string `protobuf:"bytes,15,opt,name=token,proto3" json:"token,omitempty"` + ExtraBinData []byte `protobuf:"bytes,1458,opt,name=extra_bin_data,json=extraBinData,proto3" json:"extra_bin_data,omitempty"` + ChannelId uint32 `protobuf:"varint,1314,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ClientDataVersion uint32 `protobuf:"varint,688,opt,name=client_data_version,json=clientDataVersion,proto3" json:"client_data_version,omitempty"` + AccountUid string `protobuf:"bytes,2,opt,name=account_uid,json=accountUid,proto3" json:"account_uid,omitempty"` + ClientVersion string `protobuf:"bytes,12,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` + Unk2700_NGKCNPKKIKB string `protobuf:"bytes,772,opt,name=Unk2700_NGKCNPKKIKB,json=Unk2700NGKCNPKKIKB,proto3" json:"Unk2700_NGKCNPKKIKB,omitempty"` + CountryCode string `protobuf:"bytes,2000,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + PsnId string `protobuf:"bytes,1268,opt,name=psn_id,json=psnId,proto3" json:"psn_id,omitempty"` + Unk2700_GPPBEMDGEHH uint32 `protobuf:"varint,431,opt,name=Unk2700_GPPBEMDGEHH,json=Unk2700GPPBEMDGEHH,proto3" json:"Unk2700_GPPBEMDGEHH,omitempty"` + DeviceName string `protobuf:"bytes,9,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` + Cps string `protobuf:"bytes,1163,opt,name=cps,proto3" json:"cps,omitempty"` + LoginRand uint64 `protobuf:"varint,3,opt,name=login_rand,json=loginRand,proto3" json:"login_rand,omitempty"` + TargetHomeParam uint32 `protobuf:"varint,984,opt,name=target_home_param,json=targetHomeParam,proto3" json:"target_home_param,omitempty"` + AdjustTrackingInfo *AdjustTrackingInfo `protobuf:"bytes,1816,opt,name=adjust_tracking_info,json=adjustTrackingInfo,proto3" json:"adjust_tracking_info,omitempty"` + IsTransfer bool `protobuf:"varint,908,opt,name=is_transfer,json=isTransfer,proto3" json:"is_transfer,omitempty"` + Tag uint32 `protobuf:"varint,1787,opt,name=tag,proto3" json:"tag,omitempty"` + IsGuest bool `protobuf:"varint,5,opt,name=is_guest,json=isGuest,proto3" json:"is_guest,omitempty"` + EnvironmentErrorCode []byte `protobuf:"bytes,2026,opt,name=environment_error_code,json=environmentErrorCode,proto3" json:"environment_error_code,omitempty"` + OnlineId string `protobuf:"bytes,903,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + IsEditor bool `protobuf:"varint,8,opt,name=is_editor,json=isEditor,proto3" json:"is_editor,omitempty"` + ChecksumClientVersion string `protobuf:"bytes,861,opt,name=checksum_client_version,json=checksumClientVersion,proto3" json:"checksum_client_version,omitempty"` + SecurityCmdReply []byte `protobuf:"bytes,1995,opt,name=security_cmd_reply,json=securityCmdReply,proto3" json:"security_cmd_reply,omitempty"` + Unk2700_JNDKPBBCACB string `protobuf:"bytes,1213,opt,name=Unk2700_JNDKPBBCACB,json=Unk2700JNDKPBBCACB,proto3" json:"Unk2700_JNDKPBBCACB,omitempty"` + Birthday string `protobuf:"bytes,1652,opt,name=birthday,proto3" json:"birthday,omitempty"` + DeviceUuid string `protobuf:"bytes,4,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` + ClientToken uint32 `protobuf:"varint,1546,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` + SubChannelId uint32 `protobuf:"varint,23,opt,name=sub_channel_id,json=subChannelId,proto3" json:"sub_channel_id,omitempty"` + TargetUid uint32 `protobuf:"varint,11,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + DeviceInfo string `protobuf:"bytes,1,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"` + ClientVerisonHash string `protobuf:"bytes,1707,opt,name=client_verison_hash,json=clientVerisonHash,proto3" json:"client_verison_hash,omitempty"` + Checksum string `protobuf:"bytes,1532,opt,name=checksum,proto3" json:"checksum,omitempty"` + PlatformType uint32 `protobuf:"varint,14,opt,name=platform_type,json=platformType,proto3" json:"platform_type,omitempty"` + TargetHomeOwnerUid uint32 `protobuf:"varint,1864,opt,name=target_home_owner_uid,json=targetHomeOwnerUid,proto3" json:"target_home_owner_uid,omitempty"` + CloudClientIp uint32 `protobuf:"varint,1335,opt,name=cloud_client_ip,json=cloudClientIp,proto3" json:"cloud_client_ip,omitempty"` + GmUid uint32 `protobuf:"varint,612,opt,name=gm_uid,json=gmUid,proto3" json:"gm_uid,omitempty"` + SystemVersion string `protobuf:"bytes,10,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` + Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"` +} + +func (x *PlayerLoginReq) Reset() { + *x = PlayerLoginReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLoginReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLoginReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLoginReq) ProtoMessage() {} + +func (x *PlayerLoginReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLoginReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLoginReq.ProtoReflect.Descriptor instead. +func (*PlayerLoginReq) Descriptor() ([]byte, []int) { + return file_PlayerLoginReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLoginReq) GetLanguageType() uint32 { + if x != nil { + return x.LanguageType + } + return 0 +} + +func (x *PlayerLoginReq) GetRegPlatform() uint32 { + if x != nil { + return x.RegPlatform + } + return 0 +} + +func (x *PlayerLoginReq) GetTrackingIoInfo() *TrackingIOInfo { + if x != nil { + return x.TrackingIoInfo + } + return nil +} + +func (x *PlayerLoginReq) GetAccountType() uint32 { + if x != nil { + return x.AccountType + } + return 0 +} + +func (x *PlayerLoginReq) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *PlayerLoginReq) GetExtraBinData() []byte { + if x != nil { + return x.ExtraBinData + } + return nil +} + +func (x *PlayerLoginReq) GetChannelId() uint32 { + if x != nil { + return x.ChannelId + } + return 0 +} + +func (x *PlayerLoginReq) GetClientDataVersion() uint32 { + if x != nil { + return x.ClientDataVersion + } + return 0 +} + +func (x *PlayerLoginReq) GetAccountUid() string { + if x != nil { + return x.AccountUid + } + return "" +} + +func (x *PlayerLoginReq) GetClientVersion() string { + if x != nil { + return x.ClientVersion + } + return "" +} + +func (x *PlayerLoginReq) GetUnk2700_NGKCNPKKIKB() string { + if x != nil { + return x.Unk2700_NGKCNPKKIKB + } + return "" +} + +func (x *PlayerLoginReq) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" +} + +func (x *PlayerLoginReq) GetPsnId() string { + if x != nil { + return x.PsnId + } + return "" +} + +func (x *PlayerLoginReq) GetUnk2700_GPPBEMDGEHH() uint32 { + if x != nil { + return x.Unk2700_GPPBEMDGEHH + } + return 0 +} + +func (x *PlayerLoginReq) GetDeviceName() string { + if x != nil { + return x.DeviceName + } + return "" +} + +func (x *PlayerLoginReq) GetCps() string { + if x != nil { + return x.Cps + } + return "" +} + +func (x *PlayerLoginReq) GetLoginRand() uint64 { + if x != nil { + return x.LoginRand + } + return 0 +} + +func (x *PlayerLoginReq) GetTargetHomeParam() uint32 { + if x != nil { + return x.TargetHomeParam + } + return 0 +} + +func (x *PlayerLoginReq) GetAdjustTrackingInfo() *AdjustTrackingInfo { + if x != nil { + return x.AdjustTrackingInfo + } + return nil +} + +func (x *PlayerLoginReq) GetIsTransfer() bool { + if x != nil { + return x.IsTransfer + } + return false +} + +func (x *PlayerLoginReq) GetTag() uint32 { + if x != nil { + return x.Tag + } + return 0 +} + +func (x *PlayerLoginReq) GetIsGuest() bool { + if x != nil { + return x.IsGuest + } + return false +} + +func (x *PlayerLoginReq) GetEnvironmentErrorCode() []byte { + if x != nil { + return x.EnvironmentErrorCode + } + return nil +} + +func (x *PlayerLoginReq) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *PlayerLoginReq) GetIsEditor() bool { + if x != nil { + return x.IsEditor + } + return false +} + +func (x *PlayerLoginReq) GetChecksumClientVersion() string { + if x != nil { + return x.ChecksumClientVersion + } + return "" +} + +func (x *PlayerLoginReq) GetSecurityCmdReply() []byte { + if x != nil { + return x.SecurityCmdReply + } + return nil +} + +func (x *PlayerLoginReq) GetUnk2700_JNDKPBBCACB() string { + if x != nil { + return x.Unk2700_JNDKPBBCACB + } + return "" +} + +func (x *PlayerLoginReq) GetBirthday() string { + if x != nil { + return x.Birthday + } + return "" +} + +func (x *PlayerLoginReq) GetDeviceUuid() string { + if x != nil { + return x.DeviceUuid + } + return "" +} + +func (x *PlayerLoginReq) GetClientToken() uint32 { + if x != nil { + return x.ClientToken + } + return 0 +} + +func (x *PlayerLoginReq) GetSubChannelId() uint32 { + if x != nil { + return x.SubChannelId + } + return 0 +} + +func (x *PlayerLoginReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerLoginReq) GetDeviceInfo() string { + if x != nil { + return x.DeviceInfo + } + return "" +} + +func (x *PlayerLoginReq) GetClientVerisonHash() string { + if x != nil { + return x.ClientVerisonHash + } + return "" +} + +func (x *PlayerLoginReq) GetChecksum() string { + if x != nil { + return x.Checksum + } + return "" +} + +func (x *PlayerLoginReq) GetPlatformType() uint32 { + if x != nil { + return x.PlatformType + } + return 0 +} + +func (x *PlayerLoginReq) GetTargetHomeOwnerUid() uint32 { + if x != nil { + return x.TargetHomeOwnerUid + } + return 0 +} + +func (x *PlayerLoginReq) GetCloudClientIp() uint32 { + if x != nil { + return x.CloudClientIp + } + return 0 +} + +func (x *PlayerLoginReq) GetGmUid() uint32 { + if x != nil { + return x.GmUid + } + return 0 +} + +func (x *PlayerLoginReq) GetSystemVersion() string { + if x != nil { + return x.SystemVersion + } + return "" +} + +func (x *PlayerLoginReq) GetPlatform() string { + if x != nil { + return x.Platform + } + return "" +} + +var File_PlayerLoginReq_proto protoreflect.FileDescriptor + +var file_PlayerLoginReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x54, 0x72, + 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x14, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x0c, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, + 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0xe7, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x12, 0x3a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, + 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xfc, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, + 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61, + 0x5f, 0x62, 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0xb2, 0x0b, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x65, 0x78, 0x74, 0x72, 0x61, 0x42, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, + 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0xa2, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2f, + 0x0a, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0xb0, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x69, 0x64, + 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x47, 0x4b, 0x43, 0x4e, 0x50, 0x4b, 0x4b, 0x49, 0x4b, 0x42, 0x18, 0x84, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x47, + 0x4b, 0x43, 0x4e, 0x50, 0x4b, 0x4b, 0x49, 0x4b, 0x42, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0xf4, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x70, 0x73, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x50, 0x50, 0x42, 0x45, 0x4d, 0x44, 0x47, 0x45, 0x48, 0x48, 0x18, 0xaf, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x50, 0x50, 0x42, + 0x45, 0x4d, 0x44, 0x47, 0x45, 0x48, 0x48, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x11, 0x0a, 0x03, 0x63, 0x70, 0x73, 0x18, + 0x8b, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x70, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, + 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x61, 0x6e, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0xd8, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x6f, + 0x6d, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x46, 0x0a, 0x14, 0x61, 0x64, 0x6a, 0x75, 0x73, + 0x74, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x98, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x54, + 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x61, 0x64, 0x6a, + 0x75, 0x73, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x8c, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x12, 0x11, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0xfb, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x74, 0x61, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x47, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x35, 0x0a, 0x16, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0xea, 0x0f, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x87, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, + 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, + 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x45, 0x64, 0x69, 0x74, 0x6f, + 0x72, 0x12, 0x37, 0x0a, 0x17, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0xdd, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x15, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6d, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x79, + 0x18, 0xcb, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4e, 0x44, 0x4b, 0x50, 0x42, 0x42, 0x43, 0x41, 0x43, 0x42, + 0x18, 0xbd, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4a, 0x4e, 0x44, 0x4b, 0x50, 0x42, 0x42, 0x43, 0x41, 0x43, 0x42, 0x12, 0x1b, 0x0a, 0x08, 0x62, + 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0xf4, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x8a, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x24, 0x0a, + 0x0e, 0x73, 0x75, 0x62, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, + 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, + 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0xab, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x69, 0x73, 0x6f, 0x6e, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, + 0x18, 0xfc, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0xc8, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x6f, + 0x6d, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0xb7, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x49, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6d, 0x5f, 0x75, 0x69, 0x64, 0x18, 0xe4, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x67, 0x6d, 0x55, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PlayerLoginReq_proto_rawDescOnce sync.Once + file_PlayerLoginReq_proto_rawDescData = file_PlayerLoginReq_proto_rawDesc +) + +func file_PlayerLoginReq_proto_rawDescGZIP() []byte { + file_PlayerLoginReq_proto_rawDescOnce.Do(func() { + file_PlayerLoginReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLoginReq_proto_rawDescData) + }) + return file_PlayerLoginReq_proto_rawDescData +} + +var file_PlayerLoginReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLoginReq_proto_goTypes = []interface{}{ + (*PlayerLoginReq)(nil), // 0: PlayerLoginReq + (*TrackingIOInfo)(nil), // 1: TrackingIOInfo + (*AdjustTrackingInfo)(nil), // 2: AdjustTrackingInfo +} +var file_PlayerLoginReq_proto_depIdxs = []int32{ + 1, // 0: PlayerLoginReq.tracking_io_info:type_name -> TrackingIOInfo + 2, // 1: PlayerLoginReq.adjust_tracking_info:type_name -> AdjustTrackingInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerLoginReq_proto_init() } +func file_PlayerLoginReq_proto_init() { + if File_PlayerLoginReq_proto != nil { + return + } + file_AdjustTrackingInfo_proto_init() + file_TrackingIOInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerLoginReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLoginReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLoginReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLoginReq_proto_goTypes, + DependencyIndexes: file_PlayerLoginReq_proto_depIdxs, + MessageInfos: file_PlayerLoginReq_proto_msgTypes, + }.Build() + File_PlayerLoginReq_proto = out.File + file_PlayerLoginReq_proto_rawDesc = nil + file_PlayerLoginReq_proto_goTypes = nil + file_PlayerLoginReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLoginReq.proto b/gate-hk4e-api/proto/PlayerLoginReq.proto new file mode 100644 index 00000000..8c47c692 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLoginReq.proto @@ -0,0 +1,71 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AdjustTrackingInfo.proto"; +import "TrackingIOInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerLoginReq { + uint32 language_type = 6; + uint32 reg_platform = 615; + TrackingIOInfo tracking_io_info = 1660; + uint32 account_type = 13; + string token = 15; + bytes extra_bin_data = 1458; + uint32 channel_id = 1314; + uint32 client_data_version = 688; + string account_uid = 2; + string client_version = 12; + string Unk2700_NGKCNPKKIKB = 772; + string country_code = 2000; + string psn_id = 1268; + uint32 Unk2700_GPPBEMDGEHH = 431; + string device_name = 9; + string cps = 1163; + uint64 login_rand = 3; + uint32 target_home_param = 984; + AdjustTrackingInfo adjust_tracking_info = 1816; + bool is_transfer = 908; + uint32 tag = 1787; + bool is_guest = 5; + bytes environment_error_code = 2026; + string online_id = 903; + bool is_editor = 8; + string checksum_client_version = 861; + bytes security_cmd_reply = 1995; + string Unk2700_JNDKPBBCACB = 1213; + string birthday = 1652; + string device_uuid = 4; + uint32 client_token = 1546; + uint32 sub_channel_id = 23; + uint32 target_uid = 11; + string device_info = 1; + string client_verison_hash = 1707; + string checksum = 1532; + uint32 platform_type = 14; + uint32 target_home_owner_uid = 1864; + uint32 cloud_client_ip = 1335; + uint32 gm_uid = 612; + string system_version = 10; + string platform = 7; +} diff --git a/gate-hk4e-api/proto/PlayerLoginRsp.pb.go b/gate-hk4e-api/proto/PlayerLoginRsp.pb.go new file mode 100644 index 00000000..89ae9221 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLoginRsp.pb.go @@ -0,0 +1,554 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLoginRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 135 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerLoginRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityHashMap map[string]int32 `protobuf:"bytes,11,rep,name=ability_hash_map,json=abilityHashMap,proto3" json:"ability_hash_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsAudit bool `protobuf:"varint,1685,opt,name=is_audit,json=isAudit,proto3" json:"is_audit,omitempty"` + IsNewPlayer bool `protobuf:"varint,8,opt,name=is_new_player,json=isNewPlayer,proto3" json:"is_new_player,omitempty"` + ResVersionConfig *ResVersionConfig `protobuf:"bytes,1969,opt,name=res_version_config,json=resVersionConfig,proto3" json:"res_version_config,omitempty"` + IsEnableClientHashDebug bool `protobuf:"varint,932,opt,name=is_enable_client_hash_debug,json=isEnableClientHashDebug,proto3" json:"is_enable_client_hash_debug,omitempty"` + ClientMd5 string `protobuf:"bytes,1830,opt,name=client_md5,json=clientMd5,proto3" json:"client_md5,omitempty"` + ClientDataVersion uint32 `protobuf:"varint,1,opt,name=client_data_version,json=clientDataVersion,proto3" json:"client_data_version,omitempty"` + CountryCode string `protobuf:"bytes,1900,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + IsRelogin bool `protobuf:"varint,10,opt,name=is_relogin,json=isRelogin,proto3" json:"is_relogin,omitempty"` + PlayerData []byte `protobuf:"bytes,13,opt,name=player_data,json=playerData,proto3" json:"player_data,omitempty"` + GameBiz string `protobuf:"bytes,5,opt,name=game_biz,json=gameBiz,proto3" json:"game_biz,omitempty"` + BlockInfoMap map[uint32]*BlockInfo `protobuf:"bytes,571,rep,name=block_info_map,json=blockInfoMap,proto3" json:"block_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RegisterCps string `protobuf:"bytes,2040,opt,name=register_cps,json=registerCps,proto3" json:"register_cps,omitempty"` + NextResVersionConfig *ResVersionConfig `protobuf:"bytes,1573,opt,name=next_res_version_config,json=nextResVersionConfig,proto3" json:"next_res_version_config,omitempty"` + IsTransfer bool `protobuf:"varint,2018,opt,name=is_transfer,json=isTransfer,proto3" json:"is_transfer,omitempty"` + TargetHomeOwnerUid uint32 `protobuf:"varint,553,opt,name=target_home_owner_uid,json=targetHomeOwnerUid,proto3" json:"target_home_owner_uid,omitempty"` + ShortAbilityHashMap []*ShortAbilityHashPair `protobuf:"bytes,250,rep,name=short_ability_hash_map,json=shortAbilityHashMap,proto3" json:"short_ability_hash_map,omitempty"` + AbilityHashCode int32 `protobuf:"varint,12,opt,name=ability_hash_code,json=abilityHashCode,proto3" json:"ability_hash_code,omitempty"` + IsScOpen bool `protobuf:"varint,1429,opt,name=is_sc_open,json=isScOpen,proto3" json:"is_sc_open,omitempty"` + ClientSilenceDataVersion uint32 `protobuf:"varint,6,opt,name=client_silence_data_version,json=clientSilenceDataVersion,proto3" json:"client_silence_data_version,omitempty"` + Birthday string `protobuf:"bytes,624,opt,name=birthday,proto3" json:"birthday,omitempty"` + IsUseAbilityHash bool `protobuf:"varint,2,opt,name=is_use_ability_hash,json=isUseAbilityHash,proto3" json:"is_use_ability_hash,omitempty"` + ClientSilenceVersionSuffix string `protobuf:"bytes,1299,opt,name=client_silence_version_suffix,json=clientSilenceVersionSuffix,proto3" json:"client_silence_version_suffix,omitempty"` + PlayerDataVersion uint32 `protobuf:"varint,7,opt,name=player_data_version,json=playerDataVersion,proto3" json:"player_data_version,omitempty"` + IsDataNeedRelogin bool `protobuf:"varint,951,opt,name=is_data_need_relogin,json=isDataNeedRelogin,proto3" json:"is_data_need_relogin,omitempty"` + FeatureBlockInfoList []*FeatureBlockInfo `protobuf:"bytes,1352,rep,name=feature_block_info_list,json=featureBlockInfoList,proto3" json:"feature_block_info_list,omitempty"` + ClientSilenceMd5 string `protobuf:"bytes,1746,opt,name=client_silence_md5,json=clientSilenceMd5,proto3" json:"client_silence_md5,omitempty"` + TargetUid uint32 `protobuf:"varint,14,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + TotalTickTime float64 `protobuf:"fixed64,125,opt,name=total_tick_time,json=totalTickTime,proto3" json:"total_tick_time,omitempty"` + LoginRand uint64 `protobuf:"varint,4,opt,name=login_rand,json=loginRand,proto3" json:"login_rand,omitempty"` + ScInfo []byte `protobuf:"bytes,2024,opt,name=sc_info,json=scInfo,proto3" json:"sc_info,omitempty"` + ClientVersionSuffix string `protobuf:"bytes,1047,opt,name=client_version_suffix,json=clientVersionSuffix,proto3" json:"client_version_suffix,omitempty"` + NextResourceUrl string `protobuf:"bytes,621,opt,name=next_resource_url,json=nextResourceUrl,proto3" json:"next_resource_url,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerLoginRsp) Reset() { + *x = PlayerLoginRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLoginRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLoginRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLoginRsp) ProtoMessage() {} + +func (x *PlayerLoginRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLoginRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLoginRsp.ProtoReflect.Descriptor instead. +func (*PlayerLoginRsp) Descriptor() ([]byte, []int) { + return file_PlayerLoginRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLoginRsp) GetAbilityHashMap() map[string]int32 { + if x != nil { + return x.AbilityHashMap + } + return nil +} + +func (x *PlayerLoginRsp) GetIsAudit() bool { + if x != nil { + return x.IsAudit + } + return false +} + +func (x *PlayerLoginRsp) GetIsNewPlayer() bool { + if x != nil { + return x.IsNewPlayer + } + return false +} + +func (x *PlayerLoginRsp) GetResVersionConfig() *ResVersionConfig { + if x != nil { + return x.ResVersionConfig + } + return nil +} + +func (x *PlayerLoginRsp) GetIsEnableClientHashDebug() bool { + if x != nil { + return x.IsEnableClientHashDebug + } + return false +} + +func (x *PlayerLoginRsp) GetClientMd5() string { + if x != nil { + return x.ClientMd5 + } + return "" +} + +func (x *PlayerLoginRsp) GetClientDataVersion() uint32 { + if x != nil { + return x.ClientDataVersion + } + return 0 +} + +func (x *PlayerLoginRsp) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" +} + +func (x *PlayerLoginRsp) GetIsRelogin() bool { + if x != nil { + return x.IsRelogin + } + return false +} + +func (x *PlayerLoginRsp) GetPlayerData() []byte { + if x != nil { + return x.PlayerData + } + return nil +} + +func (x *PlayerLoginRsp) GetGameBiz() string { + if x != nil { + return x.GameBiz + } + return "" +} + +func (x *PlayerLoginRsp) GetBlockInfoMap() map[uint32]*BlockInfo { + if x != nil { + return x.BlockInfoMap + } + return nil +} + +func (x *PlayerLoginRsp) GetRegisterCps() string { + if x != nil { + return x.RegisterCps + } + return "" +} + +func (x *PlayerLoginRsp) GetNextResVersionConfig() *ResVersionConfig { + if x != nil { + return x.NextResVersionConfig + } + return nil +} + +func (x *PlayerLoginRsp) GetIsTransfer() bool { + if x != nil { + return x.IsTransfer + } + return false +} + +func (x *PlayerLoginRsp) GetTargetHomeOwnerUid() uint32 { + if x != nil { + return x.TargetHomeOwnerUid + } + return 0 +} + +func (x *PlayerLoginRsp) GetShortAbilityHashMap() []*ShortAbilityHashPair { + if x != nil { + return x.ShortAbilityHashMap + } + return nil +} + +func (x *PlayerLoginRsp) GetAbilityHashCode() int32 { + if x != nil { + return x.AbilityHashCode + } + return 0 +} + +func (x *PlayerLoginRsp) GetIsScOpen() bool { + if x != nil { + return x.IsScOpen + } + return false +} + +func (x *PlayerLoginRsp) GetClientSilenceDataVersion() uint32 { + if x != nil { + return x.ClientSilenceDataVersion + } + return 0 +} + +func (x *PlayerLoginRsp) GetBirthday() string { + if x != nil { + return x.Birthday + } + return "" +} + +func (x *PlayerLoginRsp) GetIsUseAbilityHash() bool { + if x != nil { + return x.IsUseAbilityHash + } + return false +} + +func (x *PlayerLoginRsp) GetClientSilenceVersionSuffix() string { + if x != nil { + return x.ClientSilenceVersionSuffix + } + return "" +} + +func (x *PlayerLoginRsp) GetPlayerDataVersion() uint32 { + if x != nil { + return x.PlayerDataVersion + } + return 0 +} + +func (x *PlayerLoginRsp) GetIsDataNeedRelogin() bool { + if x != nil { + return x.IsDataNeedRelogin + } + return false +} + +func (x *PlayerLoginRsp) GetFeatureBlockInfoList() []*FeatureBlockInfo { + if x != nil { + return x.FeatureBlockInfoList + } + return nil +} + +func (x *PlayerLoginRsp) GetClientSilenceMd5() string { + if x != nil { + return x.ClientSilenceMd5 + } + return "" +} + +func (x *PlayerLoginRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerLoginRsp) GetTotalTickTime() float64 { + if x != nil { + return x.TotalTickTime + } + return 0 +} + +func (x *PlayerLoginRsp) GetLoginRand() uint64 { + if x != nil { + return x.LoginRand + } + return 0 +} + +func (x *PlayerLoginRsp) GetScInfo() []byte { + if x != nil { + return x.ScInfo + } + return nil +} + +func (x *PlayerLoginRsp) GetClientVersionSuffix() string { + if x != nil { + return x.ClientVersionSuffix + } + return "" +} + +func (x *PlayerLoginRsp) GetNextResourceUrl() string { + if x != nil { + return x.NextResourceUrl + } + return "" +} + +func (x *PlayerLoginRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerLoginRsp_proto protoreflect.FileDescriptor + +var file_PlayerLoginRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x16, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x41, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x0d, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, + 0x67, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x4d, 0x0a, 0x10, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x73, + 0x70, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, + 0x73, 0x68, 0x4d, 0x61, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x64, 0x69, + 0x74, 0x18, 0x95, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0xb1, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x72, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x1b, 0x69, 0x73, 0x5f, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0xa4, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, + 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, + 0x68, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x5f, 0x6d, 0x64, 0x35, 0x18, 0xa6, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x4d, 0x64, 0x35, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, + 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0xec, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, + 0x5f, 0x72, 0x65, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x69, 0x73, 0x52, 0x65, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, + 0x6d, 0x65, 0x5f, 0x62, 0x69, 0x7a, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x61, + 0x6d, 0x65, 0x42, 0x69, 0x7a, 0x12, 0x48, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0xbb, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, + 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x70, 0x73, 0x18, + 0xf8, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x43, 0x70, 0x73, 0x12, 0x49, 0x0a, 0x17, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0xa5, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x14, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, + 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, + 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0xe2, 0x0f, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x12, 0x32, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0xa9, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x77, 0x6e, 0x65, + 0x72, 0x55, 0x69, 0x64, 0x12, 0x4b, 0x0a, 0x16, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0xfa, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x41, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x50, 0x61, 0x69, 0x72, 0x52, 0x13, 0x73, 0x68, + 0x6f, 0x72, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x4d, 0x61, + 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x95, 0x0b, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x63, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x3d, 0x0a, 0x1b, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x08, 0x62, + 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0xf0, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x75, + 0x73, 0x65, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x55, 0x73, 0x65, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x42, 0x0a, 0x1d, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x93, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x1a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x2e, 0x0a, 0x13, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x69, + 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x6c, 0x6f, + 0x67, 0x69, 0x6e, 0x18, 0xb7, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x49, 0x0a, + 0x17, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xc8, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x14, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x64, 0x35, 0x18, 0xd2, + 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, + 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x64, 0x35, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x7d, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x61, 0x6e, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x73, 0x63, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xe8, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x06, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, + 0x18, 0x97, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x2b, 0x0a, 0x11, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0xed, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x1a, 0x41, 0x0a, 0x13, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, + 0x73, 0x68, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLoginRsp_proto_rawDescOnce sync.Once + file_PlayerLoginRsp_proto_rawDescData = file_PlayerLoginRsp_proto_rawDesc +) + +func file_PlayerLoginRsp_proto_rawDescGZIP() []byte { + file_PlayerLoginRsp_proto_rawDescOnce.Do(func() { + file_PlayerLoginRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLoginRsp_proto_rawDescData) + }) + return file_PlayerLoginRsp_proto_rawDescData +} + +var file_PlayerLoginRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_PlayerLoginRsp_proto_goTypes = []interface{}{ + (*PlayerLoginRsp)(nil), // 0: PlayerLoginRsp + nil, // 1: PlayerLoginRsp.AbilityHashMapEntry + nil, // 2: PlayerLoginRsp.BlockInfoMapEntry + (*ResVersionConfig)(nil), // 3: ResVersionConfig + (*ShortAbilityHashPair)(nil), // 4: ShortAbilityHashPair + (*FeatureBlockInfo)(nil), // 5: FeatureBlockInfo + (*BlockInfo)(nil), // 6: BlockInfo +} +var file_PlayerLoginRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerLoginRsp.ability_hash_map:type_name -> PlayerLoginRsp.AbilityHashMapEntry + 3, // 1: PlayerLoginRsp.res_version_config:type_name -> ResVersionConfig + 2, // 2: PlayerLoginRsp.block_info_map:type_name -> PlayerLoginRsp.BlockInfoMapEntry + 3, // 3: PlayerLoginRsp.next_res_version_config:type_name -> ResVersionConfig + 4, // 4: PlayerLoginRsp.short_ability_hash_map:type_name -> ShortAbilityHashPair + 5, // 5: PlayerLoginRsp.feature_block_info_list:type_name -> FeatureBlockInfo + 6, // 6: PlayerLoginRsp.BlockInfoMapEntry.value:type_name -> BlockInfo + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_PlayerLoginRsp_proto_init() } +func file_PlayerLoginRsp_proto_init() { + if File_PlayerLoginRsp_proto != nil { + return + } + file_BlockInfo_proto_init() + file_FeatureBlockInfo_proto_init() + file_ResVersionConfig_proto_init() + file_ShortAbilityHashPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerLoginRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLoginRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLoginRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLoginRsp_proto_goTypes, + DependencyIndexes: file_PlayerLoginRsp_proto_depIdxs, + MessageInfos: file_PlayerLoginRsp_proto_msgTypes, + }.Build() + File_PlayerLoginRsp_proto = out.File + file_PlayerLoginRsp_proto_rawDesc = nil + file_PlayerLoginRsp_proto_goTypes = nil + file_PlayerLoginRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLoginRsp.proto b/gate-hk4e-api/proto/PlayerLoginRsp.proto new file mode 100644 index 00000000..42e3c040 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLoginRsp.proto @@ -0,0 +1,64 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlockInfo.proto"; +import "FeatureBlockInfo.proto"; +import "ResVersionConfig.proto"; +import "ShortAbilityHashPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 135 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerLoginRsp { + map ability_hash_map = 11; + bool is_audit = 1685; + bool is_new_player = 8; + ResVersionConfig res_version_config = 1969; + bool is_enable_client_hash_debug = 932; + string client_md5 = 1830; + uint32 client_data_version = 1; + string country_code = 1900; + bool is_relogin = 10; + bytes player_data = 13; + string game_biz = 5; + map block_info_map = 571; + string register_cps = 2040; + ResVersionConfig next_res_version_config = 1573; + bool is_transfer = 2018; + uint32 target_home_owner_uid = 553; + repeated ShortAbilityHashPair short_ability_hash_map = 250; + int32 ability_hash_code = 12; + bool is_sc_open = 1429; + uint32 client_silence_data_version = 6; + string birthday = 624; + bool is_use_ability_hash = 2; + string client_silence_version_suffix = 1299; + uint32 player_data_version = 7; + bool is_data_need_relogin = 951; + repeated FeatureBlockInfo feature_block_info_list = 1352; + string client_silence_md5 = 1746; + uint32 target_uid = 14; + double total_tick_time = 125; + uint64 login_rand = 4; + bytes sc_info = 2024; + string client_version_suffix = 1047; + string next_resource_url = 621; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/PlayerLogoutNotify.pb.go b/gate-hk4e-api/proto/PlayerLogoutNotify.pb.go new file mode 100644 index 00000000..9549c1d9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLogoutNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 103 +// EnetChannelId: 0 +// EnetIsReliable: false +type PlayerLogoutNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerLogoutNotify) Reset() { + *x = PlayerLogoutNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLogoutNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLogoutNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLogoutNotify) ProtoMessage() {} + +func (x *PlayerLogoutNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLogoutNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLogoutNotify.ProtoReflect.Descriptor instead. +func (*PlayerLogoutNotify) Descriptor() ([]byte, []int) { + return file_PlayerLogoutNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLogoutNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerLogoutNotify_proto protoreflect.FileDescriptor + +var file_PlayerLogoutNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLogoutNotify_proto_rawDescOnce sync.Once + file_PlayerLogoutNotify_proto_rawDescData = file_PlayerLogoutNotify_proto_rawDesc +) + +func file_PlayerLogoutNotify_proto_rawDescGZIP() []byte { + file_PlayerLogoutNotify_proto_rawDescOnce.Do(func() { + file_PlayerLogoutNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLogoutNotify_proto_rawDescData) + }) + return file_PlayerLogoutNotify_proto_rawDescData +} + +var file_PlayerLogoutNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLogoutNotify_proto_goTypes = []interface{}{ + (*PlayerLogoutNotify)(nil), // 0: PlayerLogoutNotify +} +var file_PlayerLogoutNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerLogoutNotify_proto_init() } +func file_PlayerLogoutNotify_proto_init() { + if File_PlayerLogoutNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerLogoutNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLogoutNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLogoutNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLogoutNotify_proto_goTypes, + DependencyIndexes: file_PlayerLogoutNotify_proto_depIdxs, + MessageInfos: file_PlayerLogoutNotify_proto_msgTypes, + }.Build() + File_PlayerLogoutNotify_proto = out.File + file_PlayerLogoutNotify_proto_rawDesc = nil + file_PlayerLogoutNotify_proto_goTypes = nil + file_PlayerLogoutNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLogoutNotify.proto b/gate-hk4e-api/proto/PlayerLogoutNotify.proto new file mode 100644 index 00000000..69569821 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 103 +// EnetChannelId: 0 +// EnetIsReliable: false +message PlayerLogoutNotify { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/PlayerLogoutReq.pb.go b/gate-hk4e-api/proto/PlayerLogoutReq.pb.go new file mode 100644 index 00000000..6bec7151 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutReq.pb.go @@ -0,0 +1,245 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLogoutReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerLogoutReq_Reason int32 + +const ( + PlayerLogoutReq_REASON_DISCONNECT PlayerLogoutReq_Reason = 0 + PlayerLogoutReq_REASON_CLIENT_REQ PlayerLogoutReq_Reason = 1 + PlayerLogoutReq_REASON_TIMEOUT PlayerLogoutReq_Reason = 2 + PlayerLogoutReq_REASON_ADMIN_REQ PlayerLogoutReq_Reason = 3 + PlayerLogoutReq_REASON_SERVER_CLOSE PlayerLogoutReq_Reason = 4 + PlayerLogoutReq_REASON_GM_CLEAR PlayerLogoutReq_Reason = 5 + PlayerLogoutReq_REASON_PLAYER_TRANSFER PlayerLogoutReq_Reason = 6 + PlayerLogoutReq_REASON_CLIENT_CHECKSUM_INVALID PlayerLogoutReq_Reason = 7 +) + +// Enum value maps for PlayerLogoutReq_Reason. +var ( + PlayerLogoutReq_Reason_name = map[int32]string{ + 0: "REASON_DISCONNECT", + 1: "REASON_CLIENT_REQ", + 2: "REASON_TIMEOUT", + 3: "REASON_ADMIN_REQ", + 4: "REASON_SERVER_CLOSE", + 5: "REASON_GM_CLEAR", + 6: "REASON_PLAYER_TRANSFER", + 7: "REASON_CLIENT_CHECKSUM_INVALID", + } + PlayerLogoutReq_Reason_value = map[string]int32{ + "REASON_DISCONNECT": 0, + "REASON_CLIENT_REQ": 1, + "REASON_TIMEOUT": 2, + "REASON_ADMIN_REQ": 3, + "REASON_SERVER_CLOSE": 4, + "REASON_GM_CLEAR": 5, + "REASON_PLAYER_TRANSFER": 6, + "REASON_CLIENT_CHECKSUM_INVALID": 7, + } +) + +func (x PlayerLogoutReq_Reason) Enum() *PlayerLogoutReq_Reason { + p := new(PlayerLogoutReq_Reason) + *p = x + return p +} + +func (x PlayerLogoutReq_Reason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerLogoutReq_Reason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerLogoutReq_proto_enumTypes[0].Descriptor() +} + +func (PlayerLogoutReq_Reason) Type() protoreflect.EnumType { + return &file_PlayerLogoutReq_proto_enumTypes[0] +} + +func (x PlayerLogoutReq_Reason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerLogoutReq_Reason.Descriptor instead. +func (PlayerLogoutReq_Reason) EnumDescriptor() ([]byte, []int) { + return file_PlayerLogoutReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerLogoutReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason PlayerLogoutReq_Reason `protobuf:"varint,6,opt,name=reason,proto3,enum=PlayerLogoutReq_Reason" json:"reason,omitempty"` +} + +func (x *PlayerLogoutReq) Reset() { + *x = PlayerLogoutReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLogoutReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLogoutReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLogoutReq) ProtoMessage() {} + +func (x *PlayerLogoutReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLogoutReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLogoutReq.ProtoReflect.Descriptor instead. +func (*PlayerLogoutReq) Descriptor() ([]byte, []int) { + return file_PlayerLogoutReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLogoutReq) GetReason() PlayerLogoutReq_Reason { + if x != nil { + return x.Reason + } + return PlayerLogoutReq_REASON_DISCONNECT +} + +var File_PlayerLogoutReq_proto protoreflect.FileDescriptor + +var file_PlayerLogoutReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x02, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xce, 0x01, 0x0a, + 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x00, 0x12, 0x15, + 0x0a, 0x11, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, + 0x52, 0x45, 0x51, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x03, 0x12, + 0x17, 0x0a, 0x13, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, + 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x47, 0x4d, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x10, 0x05, 0x12, 0x1a, 0x0a, + 0x16, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x54, + 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x06, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, + 0x53, 0x55, 0x4d, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x07, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerLogoutReq_proto_rawDescOnce sync.Once + file_PlayerLogoutReq_proto_rawDescData = file_PlayerLogoutReq_proto_rawDesc +) + +func file_PlayerLogoutReq_proto_rawDescGZIP() []byte { + file_PlayerLogoutReq_proto_rawDescOnce.Do(func() { + file_PlayerLogoutReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLogoutReq_proto_rawDescData) + }) + return file_PlayerLogoutReq_proto_rawDescData +} + +var file_PlayerLogoutReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerLogoutReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLogoutReq_proto_goTypes = []interface{}{ + (PlayerLogoutReq_Reason)(0), // 0: PlayerLogoutReq.Reason + (*PlayerLogoutReq)(nil), // 1: PlayerLogoutReq +} +var file_PlayerLogoutReq_proto_depIdxs = []int32{ + 0, // 0: PlayerLogoutReq.reason:type_name -> PlayerLogoutReq.Reason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerLogoutReq_proto_init() } +func file_PlayerLogoutReq_proto_init() { + if File_PlayerLogoutReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerLogoutReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLogoutReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLogoutReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLogoutReq_proto_goTypes, + DependencyIndexes: file_PlayerLogoutReq_proto_depIdxs, + EnumInfos: file_PlayerLogoutReq_proto_enumTypes, + MessageInfos: file_PlayerLogoutReq_proto_msgTypes, + }.Build() + File_PlayerLogoutReq_proto = out.File + file_PlayerLogoutReq_proto_rawDesc = nil + file_PlayerLogoutReq_proto_goTypes = nil + file_PlayerLogoutReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLogoutReq.proto b/gate-hk4e-api/proto/PlayerLogoutReq.proto new file mode 100644 index 00000000..7460cba9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutReq.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerLogoutReq { + Reason reason = 6; + + enum Reason { + REASON_DISCONNECT = 0; + REASON_CLIENT_REQ = 1; + REASON_TIMEOUT = 2; + REASON_ADMIN_REQ = 3; + REASON_SERVER_CLOSE = 4; + REASON_GM_CLEAR = 5; + REASON_PLAYER_TRANSFER = 6; + REASON_CLIENT_CHECKSUM_INVALID = 7; + } +} diff --git a/gate-hk4e-api/proto/PlayerLogoutRsp.pb.go b/gate-hk4e-api/proto/PlayerLogoutRsp.pb.go new file mode 100644 index 00000000..dcd26712 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLogoutRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 121 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerLogoutRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerLogoutRsp) Reset() { + *x = PlayerLogoutRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLogoutRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLogoutRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLogoutRsp) ProtoMessage() {} + +func (x *PlayerLogoutRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLogoutRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLogoutRsp.ProtoReflect.Descriptor instead. +func (*PlayerLogoutRsp) Descriptor() ([]byte, []int) { + return file_PlayerLogoutRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLogoutRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerLogoutRsp_proto protoreflect.FileDescriptor + +var file_PlayerLogoutRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLogoutRsp_proto_rawDescOnce sync.Once + file_PlayerLogoutRsp_proto_rawDescData = file_PlayerLogoutRsp_proto_rawDesc +) + +func file_PlayerLogoutRsp_proto_rawDescGZIP() []byte { + file_PlayerLogoutRsp_proto_rawDescOnce.Do(func() { + file_PlayerLogoutRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLogoutRsp_proto_rawDescData) + }) + return file_PlayerLogoutRsp_proto_rawDescData +} + +var file_PlayerLogoutRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLogoutRsp_proto_goTypes = []interface{}{ + (*PlayerLogoutRsp)(nil), // 0: PlayerLogoutRsp +} +var file_PlayerLogoutRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerLogoutRsp_proto_init() } +func file_PlayerLogoutRsp_proto_init() { + if File_PlayerLogoutRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerLogoutRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLogoutRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLogoutRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLogoutRsp_proto_goTypes, + DependencyIndexes: file_PlayerLogoutRsp_proto_depIdxs, + MessageInfos: file_PlayerLogoutRsp_proto_msgTypes, + }.Build() + File_PlayerLogoutRsp_proto = out.File + file_PlayerLogoutRsp_proto_rawDesc = nil + file_PlayerLogoutRsp_proto_goTypes = nil + file_PlayerLogoutRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLogoutRsp.proto b/gate-hk4e-api/proto/PlayerLogoutRsp.proto new file mode 100644 index 00000000..15c4a198 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLogoutRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 121 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerLogoutRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/PlayerLuaShellNotify.pb.go b/gate-hk4e-api/proto/PlayerLuaShellNotify.pb.go new file mode 100644 index 00000000..84bc9170 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLuaShellNotify.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerLuaShellNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 133 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerLuaShellNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JJMHFFHNJJO Unk2700_JOEPIGNPDGH `protobuf:"varint,7,opt,name=Unk2700_JJMHFFHNJJO,json=Unk2700JJMHFFHNJJO,proto3,enum=Unk2700_JOEPIGNPDGH" json:"Unk2700_JJMHFFHNJJO,omitempty"` + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + LuaShell []byte `protobuf:"bytes,12,opt,name=lua_shell,json=luaShell,proto3" json:"lua_shell,omitempty"` + UseType uint32 `protobuf:"varint,10,opt,name=use_type,json=useType,proto3" json:"use_type,omitempty"` +} + +func (x *PlayerLuaShellNotify) Reset() { + *x = PlayerLuaShellNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerLuaShellNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerLuaShellNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerLuaShellNotify) ProtoMessage() {} + +func (x *PlayerLuaShellNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerLuaShellNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerLuaShellNotify.ProtoReflect.Descriptor instead. +func (*PlayerLuaShellNotify) Descriptor() ([]byte, []int) { + return file_PlayerLuaShellNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerLuaShellNotify) GetUnk2700_JJMHFFHNJJO() Unk2700_JOEPIGNPDGH { + if x != nil { + return x.Unk2700_JJMHFFHNJJO + } + return Unk2700_JOEPIGNPDGH_Unk2700_JOEPIGNPDGH_Unk2700_GIGONJIGKBM +} + +func (x *PlayerLuaShellNotify) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *PlayerLuaShellNotify) GetLuaShell() []byte { + if x != nil { + return x.LuaShell + } + return nil +} + +func (x *PlayerLuaShellNotify) GetUseType() uint32 { + if x != nil { + return x.UseType + } + return 0 +} + +var File_PlayerLuaShellNotify_proto protoreflect.FileDescriptor + +var file_PlayerLuaShellNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x75, 0x61, 0x53, 0x68, 0x65, 0x6c, 0x6c, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, 0x50, 0x44, 0x47, + 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x4c, 0x75, 0x61, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x4d, 0x48, + 0x46, 0x46, 0x48, 0x4e, 0x4a, 0x4a, 0x4f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, 0x50, + 0x44, 0x47, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x4a, 0x4d, 0x48, + 0x46, 0x46, 0x48, 0x4e, 0x4a, 0x4a, 0x4f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x75, 0x61, 0x5f, 0x73, + 0x68, 0x65, 0x6c, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6c, 0x75, 0x61, 0x53, + 0x68, 0x65, 0x6c, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerLuaShellNotify_proto_rawDescOnce sync.Once + file_PlayerLuaShellNotify_proto_rawDescData = file_PlayerLuaShellNotify_proto_rawDesc +) + +func file_PlayerLuaShellNotify_proto_rawDescGZIP() []byte { + file_PlayerLuaShellNotify_proto_rawDescOnce.Do(func() { + file_PlayerLuaShellNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerLuaShellNotify_proto_rawDescData) + }) + return file_PlayerLuaShellNotify_proto_rawDescData +} + +var file_PlayerLuaShellNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerLuaShellNotify_proto_goTypes = []interface{}{ + (*PlayerLuaShellNotify)(nil), // 0: PlayerLuaShellNotify + (Unk2700_JOEPIGNPDGH)(0), // 1: Unk2700_JOEPIGNPDGH +} +var file_PlayerLuaShellNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerLuaShellNotify.Unk2700_JJMHFFHNJJO:type_name -> Unk2700_JOEPIGNPDGH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerLuaShellNotify_proto_init() } +func file_PlayerLuaShellNotify_proto_init() { + if File_PlayerLuaShellNotify_proto != nil { + return + } + file_Unk2700_JOEPIGNPDGH_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerLuaShellNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerLuaShellNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerLuaShellNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerLuaShellNotify_proto_goTypes, + DependencyIndexes: file_PlayerLuaShellNotify_proto_depIdxs, + MessageInfos: file_PlayerLuaShellNotify_proto_msgTypes, + }.Build() + File_PlayerLuaShellNotify_proto = out.File + file_PlayerLuaShellNotify_proto_rawDesc = nil + file_PlayerLuaShellNotify_proto_goTypes = nil + file_PlayerLuaShellNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerLuaShellNotify.proto b/gate-hk4e-api/proto/PlayerLuaShellNotify.proto new file mode 100644 index 00000000..0ba73baf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerLuaShellNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JOEPIGNPDGH.proto"; + +option go_package = "./;proto"; + +// CmdId: 133 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerLuaShellNotify { + Unk2700_JOEPIGNPDGH Unk2700_JJMHFFHNJJO = 7; + uint32 id = 5; + bytes lua_shell = 12; + uint32 use_type = 10; +} diff --git a/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.pb.go b/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.pb.go new file mode 100644 index 00000000..452d7429 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.pb.go @@ -0,0 +1,260 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerMatchAgreedResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerMatchAgreedResultNotify_Reason int32 + +const ( + PlayerMatchAgreedResultNotify_REASON_SUCC PlayerMatchAgreedResultNotify_Reason = 0 + PlayerMatchAgreedResultNotify_REASON_TARGET_SCENE_CANNOT_ENTER PlayerMatchAgreedResultNotify_Reason = 1 + PlayerMatchAgreedResultNotify_REASON_SELF_MP_UNAVAILABLE PlayerMatchAgreedResultNotify_Reason = 2 + PlayerMatchAgreedResultNotify_REASON_OTHER_DATA_VERSION_NOT_LATEST PlayerMatchAgreedResultNotify_Reason = 3 + PlayerMatchAgreedResultNotify_REASON_DATA_VERSION_NOT_LATEST PlayerMatchAgreedResultNotify_Reason = 4 +) + +// Enum value maps for PlayerMatchAgreedResultNotify_Reason. +var ( + PlayerMatchAgreedResultNotify_Reason_name = map[int32]string{ + 0: "REASON_SUCC", + 1: "REASON_TARGET_SCENE_CANNOT_ENTER", + 2: "REASON_SELF_MP_UNAVAILABLE", + 3: "REASON_OTHER_DATA_VERSION_NOT_LATEST", + 4: "REASON_DATA_VERSION_NOT_LATEST", + } + PlayerMatchAgreedResultNotify_Reason_value = map[string]int32{ + "REASON_SUCC": 0, + "REASON_TARGET_SCENE_CANNOT_ENTER": 1, + "REASON_SELF_MP_UNAVAILABLE": 2, + "REASON_OTHER_DATA_VERSION_NOT_LATEST": 3, + "REASON_DATA_VERSION_NOT_LATEST": 4, + } +) + +func (x PlayerMatchAgreedResultNotify_Reason) Enum() *PlayerMatchAgreedResultNotify_Reason { + p := new(PlayerMatchAgreedResultNotify_Reason) + *p = x + return p +} + +func (x PlayerMatchAgreedResultNotify_Reason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerMatchAgreedResultNotify_Reason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerMatchAgreedResultNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerMatchAgreedResultNotify_Reason) Type() protoreflect.EnumType { + return &file_PlayerMatchAgreedResultNotify_proto_enumTypes[0] +} + +func (x PlayerMatchAgreedResultNotify_Reason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerMatchAgreedResultNotify_Reason.Descriptor instead. +func (PlayerMatchAgreedResultNotify_Reason) EnumDescriptor() ([]byte, []int) { + return file_PlayerMatchAgreedResultNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 4170 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerMatchAgreedResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,14,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + MatchType MatchType `protobuf:"varint,3,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + Reason PlayerMatchAgreedResultNotify_Reason `protobuf:"varint,8,opt,name=reason,proto3,enum=PlayerMatchAgreedResultNotify_Reason" json:"reason,omitempty"` +} + +func (x *PlayerMatchAgreedResultNotify) Reset() { + *x = PlayerMatchAgreedResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerMatchAgreedResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerMatchAgreedResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerMatchAgreedResultNotify) ProtoMessage() {} + +func (x *PlayerMatchAgreedResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerMatchAgreedResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerMatchAgreedResultNotify.ProtoReflect.Descriptor instead. +func (*PlayerMatchAgreedResultNotify) Descriptor() ([]byte, []int) { + return file_PlayerMatchAgreedResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerMatchAgreedResultNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerMatchAgreedResultNotify) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerMatchAgreedResultNotify) GetReason() PlayerMatchAgreedResultNotify_Reason { + if x != nil { + return x.Reason + } + return PlayerMatchAgreedResultNotify_REASON_SUCC +} + +var File_PlayerMatchAgreedResultNotify_proto protoreflect.FileDescriptor + +var file_PlayerMatchAgreedResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x02, 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x41, 0x67, 0x72, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x10, 0x00, 0x12, 0x24, 0x0a, + 0x20, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x53, + 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, + 0x52, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x45, + 0x4c, 0x46, 0x5f, 0x4d, 0x50, 0x5f, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, + 0x45, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4f, 0x54, + 0x48, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, 0x03, 0x12, 0x22, 0x0a, + 0x1e, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, + 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerMatchAgreedResultNotify_proto_rawDescOnce sync.Once + file_PlayerMatchAgreedResultNotify_proto_rawDescData = file_PlayerMatchAgreedResultNotify_proto_rawDesc +) + +func file_PlayerMatchAgreedResultNotify_proto_rawDescGZIP() []byte { + file_PlayerMatchAgreedResultNotify_proto_rawDescOnce.Do(func() { + file_PlayerMatchAgreedResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerMatchAgreedResultNotify_proto_rawDescData) + }) + return file_PlayerMatchAgreedResultNotify_proto_rawDescData +} + +var file_PlayerMatchAgreedResultNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerMatchAgreedResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerMatchAgreedResultNotify_proto_goTypes = []interface{}{ + (PlayerMatchAgreedResultNotify_Reason)(0), // 0: PlayerMatchAgreedResultNotify.Reason + (*PlayerMatchAgreedResultNotify)(nil), // 1: PlayerMatchAgreedResultNotify + (MatchType)(0), // 2: MatchType +} +var file_PlayerMatchAgreedResultNotify_proto_depIdxs = []int32{ + 2, // 0: PlayerMatchAgreedResultNotify.match_type:type_name -> MatchType + 0, // 1: PlayerMatchAgreedResultNotify.reason:type_name -> PlayerMatchAgreedResultNotify.Reason + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerMatchAgreedResultNotify_proto_init() } +func file_PlayerMatchAgreedResultNotify_proto_init() { + if File_PlayerMatchAgreedResultNotify_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerMatchAgreedResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerMatchAgreedResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerMatchAgreedResultNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerMatchAgreedResultNotify_proto_goTypes, + DependencyIndexes: file_PlayerMatchAgreedResultNotify_proto_depIdxs, + EnumInfos: file_PlayerMatchAgreedResultNotify_proto_enumTypes, + MessageInfos: file_PlayerMatchAgreedResultNotify_proto_msgTypes, + }.Build() + File_PlayerMatchAgreedResultNotify_proto = out.File + file_PlayerMatchAgreedResultNotify_proto_rawDesc = nil + file_PlayerMatchAgreedResultNotify_proto_goTypes = nil + file_PlayerMatchAgreedResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.proto b/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.proto new file mode 100644 index 00000000..8de5adad --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchAgreedResultNotify.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4170 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerMatchAgreedResultNotify { + uint32 target_uid = 14; + MatchType match_type = 3; + Reason reason = 8; + + enum Reason { + REASON_SUCC = 0; + REASON_TARGET_SCENE_CANNOT_ENTER = 1; + REASON_SELF_MP_UNAVAILABLE = 2; + REASON_OTHER_DATA_VERSION_NOT_LATEST = 3; + REASON_DATA_VERSION_NOT_LATEST = 4; + } +} diff --git a/gate-hk4e-api/proto/PlayerMatchInfoNotify.pb.go b/gate-hk4e-api/proto/PlayerMatchInfoNotify.pb.go new file mode 100644 index 00000000..f9290936 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchInfoNotify.pb.go @@ -0,0 +1,240 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerMatchInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4175 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerMatchInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusDifficultLevel uint32 `protobuf:"varint,12,opt,name=mechanicus_difficult_level,json=mechanicusDifficultLevel,proto3" json:"mechanicus_difficult_level,omitempty"` + EstimateMatchCostTime uint32 `protobuf:"varint,3,opt,name=estimate_match_cost_time,json=estimateMatchCostTime,proto3" json:"estimate_match_cost_time,omitempty"` + MatchType MatchType `protobuf:"varint,11,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + MpPlayId uint32 `protobuf:"varint,5,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + MatchId uint32 `protobuf:"varint,8,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + MatchBeginTime uint32 `protobuf:"varint,4,opt,name=match_begin_time,json=matchBeginTime,proto3" json:"match_begin_time,omitempty"` + DungeonId uint32 `protobuf:"varint,10,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + HostUid uint32 `protobuf:"varint,13,opt,name=host_uid,json=hostUid,proto3" json:"host_uid,omitempty"` +} + +func (x *PlayerMatchInfoNotify) Reset() { + *x = PlayerMatchInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerMatchInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerMatchInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerMatchInfoNotify) ProtoMessage() {} + +func (x *PlayerMatchInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerMatchInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerMatchInfoNotify.ProtoReflect.Descriptor instead. +func (*PlayerMatchInfoNotify) Descriptor() ([]byte, []int) { + return file_PlayerMatchInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerMatchInfoNotify) GetMechanicusDifficultLevel() uint32 { + if x != nil { + return x.MechanicusDifficultLevel + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetEstimateMatchCostTime() uint32 { + if x != nil { + return x.EstimateMatchCostTime + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerMatchInfoNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetMatchBeginTime() uint32 { + if x != nil { + return x.MatchBeginTime + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerMatchInfoNotify) GetHostUid() uint32 { + if x != nil { + return x.HostUid + } + return 0 +} + +var File_PlayerMatchInfoNotify_proto protoreflect.FileDescriptor + +var file_PlayerMatchInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, + 0x02, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3c, 0x0a, 0x1a, 0x6d, 0x65, 0x63, 0x68, + 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x6d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a, 0x18, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, + 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, 0x65, 0x67, + 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x68, 0x6f, 0x73, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerMatchInfoNotify_proto_rawDescOnce sync.Once + file_PlayerMatchInfoNotify_proto_rawDescData = file_PlayerMatchInfoNotify_proto_rawDesc +) + +func file_PlayerMatchInfoNotify_proto_rawDescGZIP() []byte { + file_PlayerMatchInfoNotify_proto_rawDescOnce.Do(func() { + file_PlayerMatchInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerMatchInfoNotify_proto_rawDescData) + }) + return file_PlayerMatchInfoNotify_proto_rawDescData +} + +var file_PlayerMatchInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerMatchInfoNotify_proto_goTypes = []interface{}{ + (*PlayerMatchInfoNotify)(nil), // 0: PlayerMatchInfoNotify + (MatchType)(0), // 1: MatchType +} +var file_PlayerMatchInfoNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerMatchInfoNotify.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerMatchInfoNotify_proto_init() } +func file_PlayerMatchInfoNotify_proto_init() { + if File_PlayerMatchInfoNotify_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerMatchInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerMatchInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerMatchInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerMatchInfoNotify_proto_goTypes, + DependencyIndexes: file_PlayerMatchInfoNotify_proto_depIdxs, + MessageInfos: file_PlayerMatchInfoNotify_proto_msgTypes, + }.Build() + File_PlayerMatchInfoNotify_proto = out.File + file_PlayerMatchInfoNotify_proto_rawDesc = nil + file_PlayerMatchInfoNotify_proto_goTypes = nil + file_PlayerMatchInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerMatchInfoNotify.proto b/gate-hk4e-api/proto/PlayerMatchInfoNotify.proto new file mode 100644 index 00000000..2ec0b2c9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchInfoNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4175 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerMatchInfoNotify { + uint32 mechanicus_difficult_level = 12; + uint32 estimate_match_cost_time = 3; + MatchType match_type = 11; + uint32 mp_play_id = 5; + uint32 match_id = 8; + uint32 match_begin_time = 4; + uint32 dungeon_id = 10; + uint32 host_uid = 13; +} diff --git a/gate-hk4e-api/proto/PlayerMatchStopNotify.pb.go b/gate-hk4e-api/proto/PlayerMatchStopNotify.pb.go new file mode 100644 index 00000000..a86d0733 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchStopNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerMatchStopNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4181 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerMatchStopNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason MatchReason `protobuf:"varint,1,opt,name=reason,proto3,enum=MatchReason" json:"reason,omitempty"` + HostUid uint32 `protobuf:"varint,12,opt,name=host_uid,json=hostUid,proto3" json:"host_uid,omitempty"` +} + +func (x *PlayerMatchStopNotify) Reset() { + *x = PlayerMatchStopNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerMatchStopNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerMatchStopNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerMatchStopNotify) ProtoMessage() {} + +func (x *PlayerMatchStopNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerMatchStopNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerMatchStopNotify.ProtoReflect.Descriptor instead. +func (*PlayerMatchStopNotify) Descriptor() ([]byte, []int) { + return file_PlayerMatchStopNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerMatchStopNotify) GetReason() MatchReason { + if x != nil { + return x.Reason + } + return MatchReason_MATCH_REASON_NONE +} + +func (x *PlayerMatchStopNotify) GetHostUid() uint32 { + if x != nil { + return x.HostUid + } + return 0 +} + +var File_PlayerMatchStopNotify_proto protoreflect.FileDescriptor + +var file_PlayerMatchStopNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x6f, + 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x58, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, + 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x19, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerMatchStopNotify_proto_rawDescOnce sync.Once + file_PlayerMatchStopNotify_proto_rawDescData = file_PlayerMatchStopNotify_proto_rawDesc +) + +func file_PlayerMatchStopNotify_proto_rawDescGZIP() []byte { + file_PlayerMatchStopNotify_proto_rawDescOnce.Do(func() { + file_PlayerMatchStopNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerMatchStopNotify_proto_rawDescData) + }) + return file_PlayerMatchStopNotify_proto_rawDescData +} + +var file_PlayerMatchStopNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerMatchStopNotify_proto_goTypes = []interface{}{ + (*PlayerMatchStopNotify)(nil), // 0: PlayerMatchStopNotify + (MatchReason)(0), // 1: MatchReason +} +var file_PlayerMatchStopNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerMatchStopNotify.reason:type_name -> MatchReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerMatchStopNotify_proto_init() } +func file_PlayerMatchStopNotify_proto_init() { + if File_PlayerMatchStopNotify_proto != nil { + return + } + file_MatchReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerMatchStopNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerMatchStopNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerMatchStopNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerMatchStopNotify_proto_goTypes, + DependencyIndexes: file_PlayerMatchStopNotify_proto_depIdxs, + MessageInfos: file_PlayerMatchStopNotify_proto_msgTypes, + }.Build() + File_PlayerMatchStopNotify_proto = out.File + file_PlayerMatchStopNotify_proto_rawDesc = nil + file_PlayerMatchStopNotify_proto_goTypes = nil + file_PlayerMatchStopNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerMatchStopNotify.proto b/gate-hk4e-api/proto/PlayerMatchStopNotify.proto new file mode 100644 index 00000000..b65098f9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchStopNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 4181 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerMatchStopNotify { + MatchReason reason = 1; + uint32 host_uid = 12; +} diff --git a/gate-hk4e-api/proto/PlayerMatchSuccNotify.pb.go b/gate-hk4e-api/proto/PlayerMatchSuccNotify.pb.go new file mode 100644 index 00000000..ce9c3c3a --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchSuccNotify.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerMatchSuccNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4179 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerMatchSuccNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MechanicusDifficultLevel uint32 `protobuf:"varint,1,opt,name=mechanicus_difficult_level,json=mechanicusDifficultLevel,proto3" json:"mechanicus_difficult_level,omitempty"` + DungeonId uint32 `protobuf:"varint,6,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + MatchType MatchType `protobuf:"varint,5,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + MpPlayId uint32 `protobuf:"varint,15,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + GeneralMatchInfo *GeneralMatchInfo `protobuf:"bytes,7,opt,name=general_match_info,json=generalMatchInfo,proto3" json:"general_match_info,omitempty"` + HostUid uint32 `protobuf:"varint,3,opt,name=host_uid,json=hostUid,proto3" json:"host_uid,omitempty"` + ConfirmEndTime uint32 `protobuf:"varint,2,opt,name=confirm_end_time,json=confirmEndTime,proto3" json:"confirm_end_time,omitempty"` +} + +func (x *PlayerMatchSuccNotify) Reset() { + *x = PlayerMatchSuccNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerMatchSuccNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerMatchSuccNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerMatchSuccNotify) ProtoMessage() {} + +func (x *PlayerMatchSuccNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerMatchSuccNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerMatchSuccNotify.ProtoReflect.Descriptor instead. +func (*PlayerMatchSuccNotify) Descriptor() ([]byte, []int) { + return file_PlayerMatchSuccNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerMatchSuccNotify) GetMechanicusDifficultLevel() uint32 { + if x != nil { + return x.MechanicusDifficultLevel + } + return 0 +} + +func (x *PlayerMatchSuccNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerMatchSuccNotify) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerMatchSuccNotify) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *PlayerMatchSuccNotify) GetGeneralMatchInfo() *GeneralMatchInfo { + if x != nil { + return x.GeneralMatchInfo + } + return nil +} + +func (x *PlayerMatchSuccNotify) GetHostUid() uint32 { + if x != nil { + return x.HostUid + } + return 0 +} + +func (x *PlayerMatchSuccNotify) GetConfirmEndTime() uint32 { + if x != nil { + return x.ConfirmEndTime + } + return 0 +} + +var File_PlayerMatchSuccNotify_proto protoreflect.FileDescriptor + +var file_PlayerMatchSuccNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x63, + 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x02, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x63, 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x3c, 0x0a, 0x1a, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, + 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, + 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, + 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, + 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x55, + 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x5f, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerMatchSuccNotify_proto_rawDescOnce sync.Once + file_PlayerMatchSuccNotify_proto_rawDescData = file_PlayerMatchSuccNotify_proto_rawDesc +) + +func file_PlayerMatchSuccNotify_proto_rawDescGZIP() []byte { + file_PlayerMatchSuccNotify_proto_rawDescOnce.Do(func() { + file_PlayerMatchSuccNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerMatchSuccNotify_proto_rawDescData) + }) + return file_PlayerMatchSuccNotify_proto_rawDescData +} + +var file_PlayerMatchSuccNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerMatchSuccNotify_proto_goTypes = []interface{}{ + (*PlayerMatchSuccNotify)(nil), // 0: PlayerMatchSuccNotify + (MatchType)(0), // 1: MatchType + (*GeneralMatchInfo)(nil), // 2: GeneralMatchInfo +} +var file_PlayerMatchSuccNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerMatchSuccNotify.match_type:type_name -> MatchType + 2, // 1: PlayerMatchSuccNotify.general_match_info:type_name -> GeneralMatchInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerMatchSuccNotify_proto_init() } +func file_PlayerMatchSuccNotify_proto_init() { + if File_PlayerMatchSuccNotify_proto != nil { + return + } + file_GeneralMatchInfo_proto_init() + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerMatchSuccNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerMatchSuccNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerMatchSuccNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerMatchSuccNotify_proto_goTypes, + DependencyIndexes: file_PlayerMatchSuccNotify_proto_depIdxs, + MessageInfos: file_PlayerMatchSuccNotify_proto_msgTypes, + }.Build() + File_PlayerMatchSuccNotify_proto = out.File + file_PlayerMatchSuccNotify_proto_rawDesc = nil + file_PlayerMatchSuccNotify_proto_goTypes = nil + file_PlayerMatchSuccNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerMatchSuccNotify.proto b/gate-hk4e-api/proto/PlayerMatchSuccNotify.proto new file mode 100644 index 00000000..acd94f3e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerMatchSuccNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GeneralMatchInfo.proto"; +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4179 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerMatchSuccNotify { + uint32 mechanicus_difficult_level = 1; + uint32 dungeon_id = 6; + MatchType match_type = 5; + uint32 mp_play_id = 15; + GeneralMatchInfo general_match_info = 7; + uint32 host_uid = 3; + uint32 confirm_end_time = 2; +} diff --git a/gate-hk4e-api/proto/PlayerOfferingData.pb.go b/gate-hk4e-api/proto/PlayerOfferingData.pb.go new file mode 100644 index 00000000..12b3d989 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingData.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerOfferingData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerOfferingData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingId uint32 `protobuf:"varint,1,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` + IsFirstInteract bool `protobuf:"varint,15,opt,name=is_first_interact,json=isFirstInteract,proto3" json:"is_first_interact,omitempty"` + Level uint32 `protobuf:"varint,12,opt,name=level,proto3" json:"level,omitempty"` + TakenLevelRewardList []uint32 `protobuf:"varint,8,rep,packed,name=taken_level_reward_list,json=takenLevelRewardList,proto3" json:"taken_level_reward_list,omitempty"` + IsNewMaxLevel bool `protobuf:"varint,6,opt,name=is_new_max_level,json=isNewMaxLevel,proto3" json:"is_new_max_level,omitempty"` +} + +func (x *PlayerOfferingData) Reset() { + *x = PlayerOfferingData{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerOfferingData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerOfferingData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerOfferingData) ProtoMessage() {} + +func (x *PlayerOfferingData) ProtoReflect() protoreflect.Message { + mi := &file_PlayerOfferingData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerOfferingData.ProtoReflect.Descriptor instead. +func (*PlayerOfferingData) Descriptor() ([]byte, []int) { + return file_PlayerOfferingData_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerOfferingData) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +func (x *PlayerOfferingData) GetIsFirstInteract() bool { + if x != nil { + return x.IsFirstInteract + } + return false +} + +func (x *PlayerOfferingData) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *PlayerOfferingData) GetTakenLevelRewardList() []uint32 { + if x != nil { + return x.TakenLevelRewardList + } + return nil +} + +func (x *PlayerOfferingData) GetIsNewMaxLevel() bool { + if x != nil { + return x.IsNewMaxLevel + } + return false +} + +var File_PlayerOfferingData_proto protoreflect.FileDescriptor + +var file_PlayerOfferingData_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x12, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x10, 0x69, + 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x78, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerOfferingData_proto_rawDescOnce sync.Once + file_PlayerOfferingData_proto_rawDescData = file_PlayerOfferingData_proto_rawDesc +) + +func file_PlayerOfferingData_proto_rawDescGZIP() []byte { + file_PlayerOfferingData_proto_rawDescOnce.Do(func() { + file_PlayerOfferingData_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerOfferingData_proto_rawDescData) + }) + return file_PlayerOfferingData_proto_rawDescData +} + +var file_PlayerOfferingData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerOfferingData_proto_goTypes = []interface{}{ + (*PlayerOfferingData)(nil), // 0: PlayerOfferingData +} +var file_PlayerOfferingData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerOfferingData_proto_init() } +func file_PlayerOfferingData_proto_init() { + if File_PlayerOfferingData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerOfferingData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerOfferingData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerOfferingData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerOfferingData_proto_goTypes, + DependencyIndexes: file_PlayerOfferingData_proto_depIdxs, + MessageInfos: file_PlayerOfferingData_proto_msgTypes, + }.Build() + File_PlayerOfferingData_proto = out.File + file_PlayerOfferingData_proto_rawDesc = nil + file_PlayerOfferingData_proto_goTypes = nil + file_PlayerOfferingData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerOfferingData.proto b/gate-hk4e-api/proto/PlayerOfferingData.proto new file mode 100644 index 00000000..a3d22370 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingData.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayerOfferingData { + uint32 offering_id = 1; + bool is_first_interact = 15; + uint32 level = 12; + repeated uint32 taken_level_reward_list = 8; + bool is_new_max_level = 6; +} diff --git a/gate-hk4e-api/proto/PlayerOfferingDataNotify.pb.go b/gate-hk4e-api/proto/PlayerOfferingDataNotify.pb.go new file mode 100644 index 00000000..28dcc4a1 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerOfferingDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2923 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerOfferingDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingDataList []*PlayerOfferingData `protobuf:"bytes,2,rep,name=offering_data_list,json=offeringDataList,proto3" json:"offering_data_list,omitempty"` +} + +func (x *PlayerOfferingDataNotify) Reset() { + *x = PlayerOfferingDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerOfferingDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerOfferingDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerOfferingDataNotify) ProtoMessage() {} + +func (x *PlayerOfferingDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerOfferingDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerOfferingDataNotify.ProtoReflect.Descriptor instead. +func (*PlayerOfferingDataNotify) Descriptor() ([]byte, []int) { + return file_PlayerOfferingDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerOfferingDataNotify) GetOfferingDataList() []*PlayerOfferingData { + if x != nil { + return x.OfferingDataList + } + return nil +} + +var File_PlayerOfferingDataNotify_proto protoreflect.FileDescriptor + +var file_PlayerOfferingDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x18, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x41, 0x0a, 0x12, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, + 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, + 0x67, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerOfferingDataNotify_proto_rawDescOnce sync.Once + file_PlayerOfferingDataNotify_proto_rawDescData = file_PlayerOfferingDataNotify_proto_rawDesc +) + +func file_PlayerOfferingDataNotify_proto_rawDescGZIP() []byte { + file_PlayerOfferingDataNotify_proto_rawDescOnce.Do(func() { + file_PlayerOfferingDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerOfferingDataNotify_proto_rawDescData) + }) + return file_PlayerOfferingDataNotify_proto_rawDescData +} + +var file_PlayerOfferingDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerOfferingDataNotify_proto_goTypes = []interface{}{ + (*PlayerOfferingDataNotify)(nil), // 0: PlayerOfferingDataNotify + (*PlayerOfferingData)(nil), // 1: PlayerOfferingData +} +var file_PlayerOfferingDataNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerOfferingDataNotify.offering_data_list:type_name -> PlayerOfferingData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerOfferingDataNotify_proto_init() } +func file_PlayerOfferingDataNotify_proto_init() { + if File_PlayerOfferingDataNotify_proto != nil { + return + } + file_PlayerOfferingData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerOfferingDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerOfferingDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerOfferingDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerOfferingDataNotify_proto_goTypes, + DependencyIndexes: file_PlayerOfferingDataNotify_proto_depIdxs, + MessageInfos: file_PlayerOfferingDataNotify_proto_msgTypes, + }.Build() + File_PlayerOfferingDataNotify_proto = out.File + file_PlayerOfferingDataNotify_proto_rawDesc = nil + file_PlayerOfferingDataNotify_proto_goTypes = nil + file_PlayerOfferingDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerOfferingDataNotify.proto b/gate-hk4e-api/proto/PlayerOfferingDataNotify.proto new file mode 100644 index 00000000..7659f69e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerOfferingData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2923 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerOfferingDataNotify { + repeated PlayerOfferingData offering_data_list = 2; +} diff --git a/gate-hk4e-api/proto/PlayerOfferingReq.pb.go b/gate-hk4e-api/proto/PlayerOfferingReq.pb.go new file mode 100644 index 00000000..00e8ee12 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerOfferingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerOfferingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingId uint32 `protobuf:"varint,6,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` +} + +func (x *PlayerOfferingReq) Reset() { + *x = PlayerOfferingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerOfferingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerOfferingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerOfferingReq) ProtoMessage() {} + +func (x *PlayerOfferingReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerOfferingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerOfferingReq.ProtoReflect.Descriptor instead. +func (*PlayerOfferingReq) Descriptor() ([]byte, []int) { + return file_PlayerOfferingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerOfferingReq) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +var File_PlayerOfferingReq_proto protoreflect.FileDescriptor + +var file_PlayerOfferingReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x1f, + 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerOfferingReq_proto_rawDescOnce sync.Once + file_PlayerOfferingReq_proto_rawDescData = file_PlayerOfferingReq_proto_rawDesc +) + +func file_PlayerOfferingReq_proto_rawDescGZIP() []byte { + file_PlayerOfferingReq_proto_rawDescOnce.Do(func() { + file_PlayerOfferingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerOfferingReq_proto_rawDescData) + }) + return file_PlayerOfferingReq_proto_rawDescData +} + +var file_PlayerOfferingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerOfferingReq_proto_goTypes = []interface{}{ + (*PlayerOfferingReq)(nil), // 0: PlayerOfferingReq +} +var file_PlayerOfferingReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerOfferingReq_proto_init() } +func file_PlayerOfferingReq_proto_init() { + if File_PlayerOfferingReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerOfferingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerOfferingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerOfferingReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerOfferingReq_proto_goTypes, + DependencyIndexes: file_PlayerOfferingReq_proto_depIdxs, + MessageInfos: file_PlayerOfferingReq_proto_msgTypes, + }.Build() + File_PlayerOfferingReq_proto = out.File + file_PlayerOfferingReq_proto_rawDesc = nil + file_PlayerOfferingReq_proto_goTypes = nil + file_PlayerOfferingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerOfferingReq.proto b/gate-hk4e-api/proto/PlayerOfferingReq.proto new file mode 100644 index 00000000..13bf7a19 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerOfferingReq { + uint32 offering_id = 6; +} diff --git a/gate-hk4e-api/proto/PlayerOfferingRsp.pb.go b/gate-hk4e-api/proto/PlayerOfferingRsp.pb.go new file mode 100644 index 00000000..24c046e9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerOfferingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2917 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerOfferingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,7,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + OfferingData *PlayerOfferingData `protobuf:"bytes,10,opt,name=offering_data,json=offeringData,proto3" json:"offering_data,omitempty"` +} + +func (x *PlayerOfferingRsp) Reset() { + *x = PlayerOfferingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerOfferingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerOfferingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerOfferingRsp) ProtoMessage() {} + +func (x *PlayerOfferingRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerOfferingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerOfferingRsp.ProtoReflect.Descriptor instead. +func (*PlayerOfferingRsp) Descriptor() ([]byte, []int) { + return file_PlayerOfferingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerOfferingRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *PlayerOfferingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerOfferingRsp) GetOfferingData() *PlayerOfferingData { + if x != nil { + return x.OfferingData + } + return nil +} + +var File_PlayerOfferingRsp_proto protoreflect.FileDescriptor + +var file_PlayerOfferingRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, + 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, + 0x0d, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4f, 0x66, 0x66, + 0x65, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, + 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerOfferingRsp_proto_rawDescOnce sync.Once + file_PlayerOfferingRsp_proto_rawDescData = file_PlayerOfferingRsp_proto_rawDesc +) + +func file_PlayerOfferingRsp_proto_rawDescGZIP() []byte { + file_PlayerOfferingRsp_proto_rawDescOnce.Do(func() { + file_PlayerOfferingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerOfferingRsp_proto_rawDescData) + }) + return file_PlayerOfferingRsp_proto_rawDescData +} + +var file_PlayerOfferingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerOfferingRsp_proto_goTypes = []interface{}{ + (*PlayerOfferingRsp)(nil), // 0: PlayerOfferingRsp + (*ItemParam)(nil), // 1: ItemParam + (*PlayerOfferingData)(nil), // 2: PlayerOfferingData +} +var file_PlayerOfferingRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerOfferingRsp.item_list:type_name -> ItemParam + 2, // 1: PlayerOfferingRsp.offering_data:type_name -> PlayerOfferingData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerOfferingRsp_proto_init() } +func file_PlayerOfferingRsp_proto_init() { + if File_PlayerOfferingRsp_proto != nil { + return + } + file_ItemParam_proto_init() + file_PlayerOfferingData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerOfferingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerOfferingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerOfferingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerOfferingRsp_proto_goTypes, + DependencyIndexes: file_PlayerOfferingRsp_proto_depIdxs, + MessageInfos: file_PlayerOfferingRsp_proto_msgTypes, + }.Build() + File_PlayerOfferingRsp_proto = out.File + file_PlayerOfferingRsp_proto_rawDesc = nil + file_PlayerOfferingRsp_proto_goTypes = nil + file_PlayerOfferingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerOfferingRsp.proto b/gate-hk4e-api/proto/PlayerOfferingRsp.proto new file mode 100644 index 00000000..040ac357 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerOfferingRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; +import "PlayerOfferingData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2917 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerOfferingRsp { + repeated ItemParam item_list = 7; + int32 retcode = 4; + PlayerOfferingData offering_data = 10; +} diff --git a/gate-hk4e-api/proto/PlayerPreEnterMpNotify.pb.go b/gate-hk4e-api/proto/PlayerPreEnterMpNotify.pb.go new file mode 100644 index 00000000..be7f5247 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPreEnterMpNotify.pb.go @@ -0,0 +1,239 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerPreEnterMpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerPreEnterMpNotify_State int32 + +const ( + PlayerPreEnterMpNotify_STATE_INVALID PlayerPreEnterMpNotify_State = 0 + PlayerPreEnterMpNotify_STATE_START PlayerPreEnterMpNotify_State = 1 + PlayerPreEnterMpNotify_STATE_TIMEOUT PlayerPreEnterMpNotify_State = 2 +) + +// Enum value maps for PlayerPreEnterMpNotify_State. +var ( + PlayerPreEnterMpNotify_State_name = map[int32]string{ + 0: "STATE_INVALID", + 1: "STATE_START", + 2: "STATE_TIMEOUT", + } + PlayerPreEnterMpNotify_State_value = map[string]int32{ + "STATE_INVALID": 0, + "STATE_START": 1, + "STATE_TIMEOUT": 2, + } +) + +func (x PlayerPreEnterMpNotify_State) Enum() *PlayerPreEnterMpNotify_State { + p := new(PlayerPreEnterMpNotify_State) + *p = x + return p +} + +func (x PlayerPreEnterMpNotify_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerPreEnterMpNotify_State) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerPreEnterMpNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerPreEnterMpNotify_State) Type() protoreflect.EnumType { + return &file_PlayerPreEnterMpNotify_proto_enumTypes[0] +} + +func (x PlayerPreEnterMpNotify_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerPreEnterMpNotify_State.Descriptor instead. +func (PlayerPreEnterMpNotify_State) EnumDescriptor() ([]byte, []int) { + return file_PlayerPreEnterMpNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 1822 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerPreEnterMpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State PlayerPreEnterMpNotify_State `protobuf:"varint,2,opt,name=state,proto3,enum=PlayerPreEnterMpNotify_State" json:"state,omitempty"` + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` +} + +func (x *PlayerPreEnterMpNotify) Reset() { + *x = PlayerPreEnterMpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerPreEnterMpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerPreEnterMpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerPreEnterMpNotify) ProtoMessage() {} + +func (x *PlayerPreEnterMpNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerPreEnterMpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerPreEnterMpNotify.ProtoReflect.Descriptor instead. +func (*PlayerPreEnterMpNotify) Descriptor() ([]byte, []int) { + return file_PlayerPreEnterMpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerPreEnterMpNotify) GetState() PlayerPreEnterMpNotify_State { + if x != nil { + return x.State + } + return PlayerPreEnterMpNotify_STATE_INVALID +} + +func (x *PlayerPreEnterMpNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *PlayerPreEnterMpNotify) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +var File_PlayerPreEnterMpNotify_proto protoreflect.FileDescriptor + +var file_PlayerPreEnterMpNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, + 0x01, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x50, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x05, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerPreEnterMpNotify_proto_rawDescOnce sync.Once + file_PlayerPreEnterMpNotify_proto_rawDescData = file_PlayerPreEnterMpNotify_proto_rawDesc +) + +func file_PlayerPreEnterMpNotify_proto_rawDescGZIP() []byte { + file_PlayerPreEnterMpNotify_proto_rawDescOnce.Do(func() { + file_PlayerPreEnterMpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerPreEnterMpNotify_proto_rawDescData) + }) + return file_PlayerPreEnterMpNotify_proto_rawDescData +} + +var file_PlayerPreEnterMpNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerPreEnterMpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerPreEnterMpNotify_proto_goTypes = []interface{}{ + (PlayerPreEnterMpNotify_State)(0), // 0: PlayerPreEnterMpNotify.State + (*PlayerPreEnterMpNotify)(nil), // 1: PlayerPreEnterMpNotify +} +var file_PlayerPreEnterMpNotify_proto_depIdxs = []int32{ + 0, // 0: PlayerPreEnterMpNotify.state:type_name -> PlayerPreEnterMpNotify.State + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerPreEnterMpNotify_proto_init() } +func file_PlayerPreEnterMpNotify_proto_init() { + if File_PlayerPreEnterMpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerPreEnterMpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerPreEnterMpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerPreEnterMpNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerPreEnterMpNotify_proto_goTypes, + DependencyIndexes: file_PlayerPreEnterMpNotify_proto_depIdxs, + EnumInfos: file_PlayerPreEnterMpNotify_proto_enumTypes, + MessageInfos: file_PlayerPreEnterMpNotify_proto_msgTypes, + }.Build() + File_PlayerPreEnterMpNotify_proto = out.File + file_PlayerPreEnterMpNotify_proto_rawDesc = nil + file_PlayerPreEnterMpNotify_proto_goTypes = nil + file_PlayerPreEnterMpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerPreEnterMpNotify.proto b/gate-hk4e-api/proto/PlayerPreEnterMpNotify.proto new file mode 100644 index 00000000..92acbe2e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPreEnterMpNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1822 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPreEnterMpNotify { + State state = 2; + uint32 uid = 14; + string nickname = 6; + + enum State { + STATE_INVALID = 0; + STATE_START = 1; + STATE_TIMEOUT = 2; + } +} diff --git a/gate-hk4e-api/proto/PlayerPropChangeNotify.pb.go b/gate-hk4e-api/proto/PlayerPropChangeNotify.pb.go new file mode 100644 index 00000000..104059e9 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropChangeNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerPropChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 139 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerPropChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropDelta uint32 `protobuf:"varint,13,opt,name=prop_delta,json=propDelta,proto3" json:"prop_delta,omitempty"` + PropType uint32 `protobuf:"varint,12,opt,name=prop_type,json=propType,proto3" json:"prop_type,omitempty"` +} + +func (x *PlayerPropChangeNotify) Reset() { + *x = PlayerPropChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerPropChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerPropChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerPropChangeNotify) ProtoMessage() {} + +func (x *PlayerPropChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerPropChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerPropChangeNotify.ProtoReflect.Descriptor instead. +func (*PlayerPropChangeNotify) Descriptor() ([]byte, []int) { + return file_PlayerPropChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerPropChangeNotify) GetPropDelta() uint32 { + if x != nil { + return x.PropDelta + } + return 0 +} + +func (x *PlayerPropChangeNotify) GetPropType() uint32 { + if x != nil { + return x.PropType + } + return 0 +} + +var File_PlayerPropChangeNotify_proto protoreflect.FileDescriptor + +var file_PlayerPropChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerPropChangeNotify_proto_rawDescOnce sync.Once + file_PlayerPropChangeNotify_proto_rawDescData = file_PlayerPropChangeNotify_proto_rawDesc +) + +func file_PlayerPropChangeNotify_proto_rawDescGZIP() []byte { + file_PlayerPropChangeNotify_proto_rawDescOnce.Do(func() { + file_PlayerPropChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerPropChangeNotify_proto_rawDescData) + }) + return file_PlayerPropChangeNotify_proto_rawDescData +} + +var file_PlayerPropChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerPropChangeNotify_proto_goTypes = []interface{}{ + (*PlayerPropChangeNotify)(nil), // 0: PlayerPropChangeNotify +} +var file_PlayerPropChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerPropChangeNotify_proto_init() } +func file_PlayerPropChangeNotify_proto_init() { + if File_PlayerPropChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerPropChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerPropChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerPropChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerPropChangeNotify_proto_goTypes, + DependencyIndexes: file_PlayerPropChangeNotify_proto_depIdxs, + MessageInfos: file_PlayerPropChangeNotify_proto_msgTypes, + }.Build() + File_PlayerPropChangeNotify_proto = out.File + file_PlayerPropChangeNotify_proto_rawDesc = nil + file_PlayerPropChangeNotify_proto_goTypes = nil + file_PlayerPropChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerPropChangeNotify.proto b/gate-hk4e-api/proto/PlayerPropChangeNotify.proto new file mode 100644 index 00000000..625b691d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 139 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPropChangeNotify { + uint32 prop_delta = 13; + uint32 prop_type = 12; +} diff --git a/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.pb.go b/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.pb.go new file mode 100644 index 00000000..e77cd186 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerPropChangeReasonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1299 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerPropChangeReasonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropType uint32 `protobuf:"varint,6,opt,name=prop_type,json=propType,proto3" json:"prop_type,omitempty"` + OldValue float32 `protobuf:"fixed32,12,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` + Reason PropChangeReason `protobuf:"varint,1,opt,name=reason,proto3,enum=PropChangeReason" json:"reason,omitempty"` + CurValue float32 `protobuf:"fixed32,11,opt,name=cur_value,json=curValue,proto3" json:"cur_value,omitempty"` +} + +func (x *PlayerPropChangeReasonNotify) Reset() { + *x = PlayerPropChangeReasonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerPropChangeReasonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerPropChangeReasonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerPropChangeReasonNotify) ProtoMessage() {} + +func (x *PlayerPropChangeReasonNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerPropChangeReasonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerPropChangeReasonNotify.ProtoReflect.Descriptor instead. +func (*PlayerPropChangeReasonNotify) Descriptor() ([]byte, []int) { + return file_PlayerPropChangeReasonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerPropChangeReasonNotify) GetPropType() uint32 { + if x != nil { + return x.PropType + } + return 0 +} + +func (x *PlayerPropChangeReasonNotify) GetOldValue() float32 { + if x != nil { + return x.OldValue + } + return 0 +} + +func (x *PlayerPropChangeReasonNotify) GetReason() PropChangeReason { + if x != nil { + return x.Reason + } + return PropChangeReason_PROP_CHANGE_REASON_NONE +} + +func (x *PlayerPropChangeReasonNotify) GetCurValue() float32 { + if x != nil { + return x.CurValue + } + return 0 +} + +var File_PlayerPropChangeReasonNotify_proto protoreflect.FileDescriptor + +var file_PlayerPropChangeReasonNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, + 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, + 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, + 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerPropChangeReasonNotify_proto_rawDescOnce sync.Once + file_PlayerPropChangeReasonNotify_proto_rawDescData = file_PlayerPropChangeReasonNotify_proto_rawDesc +) + +func file_PlayerPropChangeReasonNotify_proto_rawDescGZIP() []byte { + file_PlayerPropChangeReasonNotify_proto_rawDescOnce.Do(func() { + file_PlayerPropChangeReasonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerPropChangeReasonNotify_proto_rawDescData) + }) + return file_PlayerPropChangeReasonNotify_proto_rawDescData +} + +var file_PlayerPropChangeReasonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerPropChangeReasonNotify_proto_goTypes = []interface{}{ + (*PlayerPropChangeReasonNotify)(nil), // 0: PlayerPropChangeReasonNotify + (PropChangeReason)(0), // 1: PropChangeReason +} +var file_PlayerPropChangeReasonNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerPropChangeReasonNotify.reason:type_name -> PropChangeReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerPropChangeReasonNotify_proto_init() } +func file_PlayerPropChangeReasonNotify_proto_init() { + if File_PlayerPropChangeReasonNotify_proto != nil { + return + } + file_PropChangeReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerPropChangeReasonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerPropChangeReasonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerPropChangeReasonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerPropChangeReasonNotify_proto_goTypes, + DependencyIndexes: file_PlayerPropChangeReasonNotify_proto_depIdxs, + MessageInfos: file_PlayerPropChangeReasonNotify_proto_msgTypes, + }.Build() + File_PlayerPropChangeReasonNotify_proto = out.File + file_PlayerPropChangeReasonNotify_proto_rawDesc = nil + file_PlayerPropChangeReasonNotify_proto_goTypes = nil + file_PlayerPropChangeReasonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.proto b/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.proto new file mode 100644 index 00000000..bb2c2daa --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropChangeReasonNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropChangeReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 1299 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPropChangeReasonNotify { + uint32 prop_type = 6; + float old_value = 12; + PropChangeReason reason = 1; + float cur_value = 11; +} diff --git a/gate-hk4e-api/proto/PlayerPropNotify.pb.go b/gate-hk4e-api/proto/PlayerPropNotify.pb.go new file mode 100644 index 00000000..3d95488d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerPropNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 175 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerPropNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropMap map[uint32]*PropValue `protobuf:"bytes,13,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *PlayerPropNotify) Reset() { + *x = PlayerPropNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerPropNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerPropNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerPropNotify) ProtoMessage() {} + +func (x *PlayerPropNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerPropNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerPropNotify.ProtoReflect.Descriptor instead. +func (*PlayerPropNotify) Descriptor() ([]byte, []int) { + return file_PlayerPropNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerPropNotify) GetPropMap() map[uint32]*PropValue { + if x != nil { + return x.PropMap + } + return nil +} + +var File_PlayerPropNotify_proto protoreflect.FileDescriptor + +var file_PlayerPropNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x10, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x0c, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerPropNotify_proto_rawDescOnce sync.Once + file_PlayerPropNotify_proto_rawDescData = file_PlayerPropNotify_proto_rawDesc +) + +func file_PlayerPropNotify_proto_rawDescGZIP() []byte { + file_PlayerPropNotify_proto_rawDescOnce.Do(func() { + file_PlayerPropNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerPropNotify_proto_rawDescData) + }) + return file_PlayerPropNotify_proto_rawDescData +} + +var file_PlayerPropNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_PlayerPropNotify_proto_goTypes = []interface{}{ + (*PlayerPropNotify)(nil), // 0: PlayerPropNotify + nil, // 1: PlayerPropNotify.PropMapEntry + (*PropValue)(nil), // 2: PropValue +} +var file_PlayerPropNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerPropNotify.prop_map:type_name -> PlayerPropNotify.PropMapEntry + 2, // 1: PlayerPropNotify.PropMapEntry.value:type_name -> PropValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerPropNotify_proto_init() } +func file_PlayerPropNotify_proto_init() { + if File_PlayerPropNotify_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerPropNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerPropNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerPropNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerPropNotify_proto_goTypes, + DependencyIndexes: file_PlayerPropNotify_proto_depIdxs, + MessageInfos: file_PlayerPropNotify_proto_msgTypes, + }.Build() + File_PlayerPropNotify_proto = out.File + file_PlayerPropNotify_proto_rawDesc = nil + file_PlayerPropNotify_proto_goTypes = nil + file_PlayerPropNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerPropNotify.proto b/gate-hk4e-api/proto/PlayerPropNotify.proto new file mode 100644 index 00000000..b1a0e23f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerPropNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +// CmdId: 175 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPropNotify { + map prop_map = 13; +} diff --git a/gate-hk4e-api/proto/PlayerQuitDungeonReq.pb.go b/gate-hk4e-api/proto/PlayerQuitDungeonReq.pb.go new file mode 100644 index 00000000..314fd3b7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitDungeonReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerQuitDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerQuitDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsQuitImmediately bool `protobuf:"varint,10,opt,name=is_quit_immediately,json=isQuitImmediately,proto3" json:"is_quit_immediately,omitempty"` + PointId uint32 `protobuf:"varint,7,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *PlayerQuitDungeonReq) Reset() { + *x = PlayerQuitDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerQuitDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerQuitDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerQuitDungeonReq) ProtoMessage() {} + +func (x *PlayerQuitDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerQuitDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerQuitDungeonReq.ProtoReflect.Descriptor instead. +func (*PlayerQuitDungeonReq) Descriptor() ([]byte, []int) { + return file_PlayerQuitDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerQuitDungeonReq) GetIsQuitImmediately() bool { + if x != nil { + return x.IsQuitImmediately + } + return false +} + +func (x *PlayerQuitDungeonReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_PlayerQuitDungeonReq_proto protoreflect.FileDescriptor + +var file_PlayerQuitDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x71, 0x75, 0x69, 0x74, 0x5f, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x6c, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x69, 0x73, 0x51, 0x75, 0x69, 0x74, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, + 0x74, 0x65, 0x6c, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerQuitDungeonReq_proto_rawDescOnce sync.Once + file_PlayerQuitDungeonReq_proto_rawDescData = file_PlayerQuitDungeonReq_proto_rawDesc +) + +func file_PlayerQuitDungeonReq_proto_rawDescGZIP() []byte { + file_PlayerQuitDungeonReq_proto_rawDescOnce.Do(func() { + file_PlayerQuitDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerQuitDungeonReq_proto_rawDescData) + }) + return file_PlayerQuitDungeonReq_proto_rawDescData +} + +var file_PlayerQuitDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerQuitDungeonReq_proto_goTypes = []interface{}{ + (*PlayerQuitDungeonReq)(nil), // 0: PlayerQuitDungeonReq +} +var file_PlayerQuitDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerQuitDungeonReq_proto_init() } +func file_PlayerQuitDungeonReq_proto_init() { + if File_PlayerQuitDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerQuitDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerQuitDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerQuitDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerQuitDungeonReq_proto_goTypes, + DependencyIndexes: file_PlayerQuitDungeonReq_proto_depIdxs, + MessageInfos: file_PlayerQuitDungeonReq_proto_msgTypes, + }.Build() + File_PlayerQuitDungeonReq_proto = out.File + file_PlayerQuitDungeonReq_proto_rawDesc = nil + file_PlayerQuitDungeonReq_proto_goTypes = nil + file_PlayerQuitDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerQuitDungeonReq.proto b/gate-hk4e-api/proto/PlayerQuitDungeonReq.proto new file mode 100644 index 00000000..4d3de129 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitDungeonReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerQuitDungeonReq { + bool is_quit_immediately = 10; + uint32 point_id = 7; +} diff --git a/gate-hk4e-api/proto/PlayerQuitDungeonRsp.pb.go b/gate-hk4e-api/proto/PlayerQuitDungeonRsp.pb.go new file mode 100644 index 00000000..d2dfe849 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitDungeonRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerQuitDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 921 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerQuitDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,11,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerQuitDungeonRsp) Reset() { + *x = PlayerQuitDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerQuitDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerQuitDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerQuitDungeonRsp) ProtoMessage() {} + +func (x *PlayerQuitDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerQuitDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerQuitDungeonRsp.ProtoReflect.Descriptor instead. +func (*PlayerQuitDungeonRsp) Descriptor() ([]byte, []int) { + return file_PlayerQuitDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerQuitDungeonRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *PlayerQuitDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerQuitDungeonRsp_proto protoreflect.FileDescriptor + +var file_PlayerQuitDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerQuitDungeonRsp_proto_rawDescOnce sync.Once + file_PlayerQuitDungeonRsp_proto_rawDescData = file_PlayerQuitDungeonRsp_proto_rawDesc +) + +func file_PlayerQuitDungeonRsp_proto_rawDescGZIP() []byte { + file_PlayerQuitDungeonRsp_proto_rawDescOnce.Do(func() { + file_PlayerQuitDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerQuitDungeonRsp_proto_rawDescData) + }) + return file_PlayerQuitDungeonRsp_proto_rawDescData +} + +var file_PlayerQuitDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerQuitDungeonRsp_proto_goTypes = []interface{}{ + (*PlayerQuitDungeonRsp)(nil), // 0: PlayerQuitDungeonRsp +} +var file_PlayerQuitDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerQuitDungeonRsp_proto_init() } +func file_PlayerQuitDungeonRsp_proto_init() { + if File_PlayerQuitDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerQuitDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerQuitDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerQuitDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerQuitDungeonRsp_proto_goTypes, + DependencyIndexes: file_PlayerQuitDungeonRsp_proto_depIdxs, + MessageInfos: file_PlayerQuitDungeonRsp_proto_msgTypes, + }.Build() + File_PlayerQuitDungeonRsp_proto = out.File + file_PlayerQuitDungeonRsp_proto_rawDesc = nil + file_PlayerQuitDungeonRsp_proto_goTypes = nil + file_PlayerQuitDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerQuitDungeonRsp.proto b/gate-hk4e-api/proto/PlayerQuitDungeonRsp.proto new file mode 100644 index 00000000..5cd832f8 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitDungeonRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 921 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerQuitDungeonRsp { + uint32 point_id = 11; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.pb.go b/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.pb.go new file mode 100644 index 00000000..d45d5bc7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.pb.go @@ -0,0 +1,244 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerQuitFromHomeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerQuitFromHomeNotify_QuitReason int32 + +const ( + PlayerQuitFromHomeNotify_QUIT_REASON_INVALID PlayerQuitFromHomeNotify_QuitReason = 0 + PlayerQuitFromHomeNotify_QUIT_REASON_KICK_BY_HOST PlayerQuitFromHomeNotify_QuitReason = 1 + PlayerQuitFromHomeNotify_QUIT_REASON_BACK_TO_MY_WORLD PlayerQuitFromHomeNotify_QuitReason = 2 + PlayerQuitFromHomeNotify_QUIT_REASON_HOME_BLOCKED PlayerQuitFromHomeNotify_QuitReason = 3 + PlayerQuitFromHomeNotify_QUIT_REASON_HOME_IN_EDIT_MODE PlayerQuitFromHomeNotify_QuitReason = 4 + PlayerQuitFromHomeNotify_QUIT_REASON_BY_MUIP PlayerQuitFromHomeNotify_QuitReason = 5 + PlayerQuitFromHomeNotify_QUIT_REASON_CUR_MODULE_CLOSED PlayerQuitFromHomeNotify_QuitReason = 6 +) + +// Enum value maps for PlayerQuitFromHomeNotify_QuitReason. +var ( + PlayerQuitFromHomeNotify_QuitReason_name = map[int32]string{ + 0: "QUIT_REASON_INVALID", + 1: "QUIT_REASON_KICK_BY_HOST", + 2: "QUIT_REASON_BACK_TO_MY_WORLD", + 3: "QUIT_REASON_HOME_BLOCKED", + 4: "QUIT_REASON_HOME_IN_EDIT_MODE", + 5: "QUIT_REASON_BY_MUIP", + 6: "QUIT_REASON_CUR_MODULE_CLOSED", + } + PlayerQuitFromHomeNotify_QuitReason_value = map[string]int32{ + "QUIT_REASON_INVALID": 0, + "QUIT_REASON_KICK_BY_HOST": 1, + "QUIT_REASON_BACK_TO_MY_WORLD": 2, + "QUIT_REASON_HOME_BLOCKED": 3, + "QUIT_REASON_HOME_IN_EDIT_MODE": 4, + "QUIT_REASON_BY_MUIP": 5, + "QUIT_REASON_CUR_MODULE_CLOSED": 6, + } +) + +func (x PlayerQuitFromHomeNotify_QuitReason) Enum() *PlayerQuitFromHomeNotify_QuitReason { + p := new(PlayerQuitFromHomeNotify_QuitReason) + *p = x + return p +} + +func (x PlayerQuitFromHomeNotify_QuitReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerQuitFromHomeNotify_QuitReason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerQuitFromHomeNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerQuitFromHomeNotify_QuitReason) Type() protoreflect.EnumType { + return &file_PlayerQuitFromHomeNotify_proto_enumTypes[0] +} + +func (x PlayerQuitFromHomeNotify_QuitReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerQuitFromHomeNotify_QuitReason.Descriptor instead. +func (PlayerQuitFromHomeNotify_QuitReason) EnumDescriptor() ([]byte, []int) { + return file_PlayerQuitFromHomeNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 4656 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerQuitFromHomeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason PlayerQuitFromHomeNotify_QuitReason `protobuf:"varint,6,opt,name=reason,proto3,enum=PlayerQuitFromHomeNotify_QuitReason" json:"reason,omitempty"` +} + +func (x *PlayerQuitFromHomeNotify) Reset() { + *x = PlayerQuitFromHomeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerQuitFromHomeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerQuitFromHomeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerQuitFromHomeNotify) ProtoMessage() {} + +func (x *PlayerQuitFromHomeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerQuitFromHomeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerQuitFromHomeNotify.ProtoReflect.Descriptor instead. +func (*PlayerQuitFromHomeNotify) Descriptor() ([]byte, []int) { + return file_PlayerQuitFromHomeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerQuitFromHomeNotify) GetReason() PlayerQuitFromHomeNotify_QuitReason { + if x != nil { + return x.Reason + } + return PlayerQuitFromHomeNotify_QUIT_REASON_INVALID +} + +var File_PlayerQuitFromHomeNotify_proto protoreflect.FileDescriptor + +var file_PlayerQuitFromHomeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, 0x72, 0x6f, 0x6d, + 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xbd, 0x02, 0x0a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, + 0x72, 0x6f, 0x6d, 0x48, 0x6f, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3c, 0x0a, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x48, 0x6f, + 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xe2, 0x01, 0x0a, 0x0a, + 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x51, 0x55, + 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, + 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 0x59, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, + 0x03, 0x12, 0x21, 0x0a, 0x1d, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x4f, + 0x44, 0x45, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, 0x4d, 0x55, 0x49, 0x50, 0x10, 0x05, 0x12, 0x21, 0x0a, + 0x1d, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x55, 0x52, + 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x06, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerQuitFromHomeNotify_proto_rawDescOnce sync.Once + file_PlayerQuitFromHomeNotify_proto_rawDescData = file_PlayerQuitFromHomeNotify_proto_rawDesc +) + +func file_PlayerQuitFromHomeNotify_proto_rawDescGZIP() []byte { + file_PlayerQuitFromHomeNotify_proto_rawDescOnce.Do(func() { + file_PlayerQuitFromHomeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerQuitFromHomeNotify_proto_rawDescData) + }) + return file_PlayerQuitFromHomeNotify_proto_rawDescData +} + +var file_PlayerQuitFromHomeNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerQuitFromHomeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerQuitFromHomeNotify_proto_goTypes = []interface{}{ + (PlayerQuitFromHomeNotify_QuitReason)(0), // 0: PlayerQuitFromHomeNotify.QuitReason + (*PlayerQuitFromHomeNotify)(nil), // 1: PlayerQuitFromHomeNotify +} +var file_PlayerQuitFromHomeNotify_proto_depIdxs = []int32{ + 0, // 0: PlayerQuitFromHomeNotify.reason:type_name -> PlayerQuitFromHomeNotify.QuitReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerQuitFromHomeNotify_proto_init() } +func file_PlayerQuitFromHomeNotify_proto_init() { + if File_PlayerQuitFromHomeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerQuitFromHomeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerQuitFromHomeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerQuitFromHomeNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerQuitFromHomeNotify_proto_goTypes, + DependencyIndexes: file_PlayerQuitFromHomeNotify_proto_depIdxs, + EnumInfos: file_PlayerQuitFromHomeNotify_proto_enumTypes, + MessageInfos: file_PlayerQuitFromHomeNotify_proto_msgTypes, + }.Build() + File_PlayerQuitFromHomeNotify_proto = out.File + file_PlayerQuitFromHomeNotify_proto_rawDesc = nil + file_PlayerQuitFromHomeNotify_proto_goTypes = nil + file_PlayerQuitFromHomeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.proto b/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.proto new file mode 100644 index 00000000..aa5b197e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitFromHomeNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4656 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerQuitFromHomeNotify { + QuitReason reason = 6; + + enum QuitReason { + QUIT_REASON_INVALID = 0; + QUIT_REASON_KICK_BY_HOST = 1; + QUIT_REASON_BACK_TO_MY_WORLD = 2; + QUIT_REASON_HOME_BLOCKED = 3; + QUIT_REASON_HOME_IN_EDIT_MODE = 4; + QUIT_REASON_BY_MUIP = 5; + QUIT_REASON_CUR_MODULE_CLOSED = 6; + } +} diff --git a/gate-hk4e-api/proto/PlayerQuitFromMpNotify.pb.go b/gate-hk4e-api/proto/PlayerQuitFromMpNotify.pb.go new file mode 100644 index 00000000..7e4ba587 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitFromMpNotify.pb.go @@ -0,0 +1,265 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerQuitFromMpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerQuitFromMpNotify_QuitReason int32 + +const ( + PlayerQuitFromMpNotify_QUIT_REASON_INVALID PlayerQuitFromMpNotify_QuitReason = 0 + PlayerQuitFromMpNotify_QUIT_REASON_HOST_NO_OTHER_PLAYER PlayerQuitFromMpNotify_QuitReason = 1 + PlayerQuitFromMpNotify_QUIT_REASON_KICK_BY_HOST PlayerQuitFromMpNotify_QuitReason = 2 + PlayerQuitFromMpNotify_QUIT_REASON_BACK_TO_MY_WORLD PlayerQuitFromMpNotify_QuitReason = 3 + PlayerQuitFromMpNotify_QUIT_REASON_KICK_BY_HOST_LOGOUT PlayerQuitFromMpNotify_QuitReason = 4 + PlayerQuitFromMpNotify_QUIT_REASON_KICK_BY_HOST_BLOCK PlayerQuitFromMpNotify_QuitReason = 5 + PlayerQuitFromMpNotify_QUIT_REASON_BE_BLOCKED PlayerQuitFromMpNotify_QuitReason = 6 + PlayerQuitFromMpNotify_QUIT_REASON_KICK_BY_HOST_ENTER_HOME PlayerQuitFromMpNotify_QuitReason = 7 + PlayerQuitFromMpNotify_QUIT_REASON_HOST_SCENE_INVALID PlayerQuitFromMpNotify_QuitReason = 8 + PlayerQuitFromMpNotify_QUIT_REASON_KICK_BY_PLAY PlayerQuitFromMpNotify_QuitReason = 9 + PlayerQuitFromMpNotify_QUIT_REASON_Unk2800_FDECHAHJFDA PlayerQuitFromMpNotify_QuitReason = 10 +) + +// Enum value maps for PlayerQuitFromMpNotify_QuitReason. +var ( + PlayerQuitFromMpNotify_QuitReason_name = map[int32]string{ + 0: "QUIT_REASON_INVALID", + 1: "QUIT_REASON_HOST_NO_OTHER_PLAYER", + 2: "QUIT_REASON_KICK_BY_HOST", + 3: "QUIT_REASON_BACK_TO_MY_WORLD", + 4: "QUIT_REASON_KICK_BY_HOST_LOGOUT", + 5: "QUIT_REASON_KICK_BY_HOST_BLOCK", + 6: "QUIT_REASON_BE_BLOCKED", + 7: "QUIT_REASON_KICK_BY_HOST_ENTER_HOME", + 8: "QUIT_REASON_HOST_SCENE_INVALID", + 9: "QUIT_REASON_KICK_BY_PLAY", + 10: "QUIT_REASON_Unk2800_FDECHAHJFDA", + } + PlayerQuitFromMpNotify_QuitReason_value = map[string]int32{ + "QUIT_REASON_INVALID": 0, + "QUIT_REASON_HOST_NO_OTHER_PLAYER": 1, + "QUIT_REASON_KICK_BY_HOST": 2, + "QUIT_REASON_BACK_TO_MY_WORLD": 3, + "QUIT_REASON_KICK_BY_HOST_LOGOUT": 4, + "QUIT_REASON_KICK_BY_HOST_BLOCK": 5, + "QUIT_REASON_BE_BLOCKED": 6, + "QUIT_REASON_KICK_BY_HOST_ENTER_HOME": 7, + "QUIT_REASON_HOST_SCENE_INVALID": 8, + "QUIT_REASON_KICK_BY_PLAY": 9, + "QUIT_REASON_Unk2800_FDECHAHJFDA": 10, + } +) + +func (x PlayerQuitFromMpNotify_QuitReason) Enum() *PlayerQuitFromMpNotify_QuitReason { + p := new(PlayerQuitFromMpNotify_QuitReason) + *p = x + return p +} + +func (x PlayerQuitFromMpNotify_QuitReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlayerQuitFromMpNotify_QuitReason) Descriptor() protoreflect.EnumDescriptor { + return file_PlayerQuitFromMpNotify_proto_enumTypes[0].Descriptor() +} + +func (PlayerQuitFromMpNotify_QuitReason) Type() protoreflect.EnumType { + return &file_PlayerQuitFromMpNotify_proto_enumTypes[0] +} + +func (x PlayerQuitFromMpNotify_QuitReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PlayerQuitFromMpNotify_QuitReason.Descriptor instead. +func (PlayerQuitFromMpNotify_QuitReason) EnumDescriptor() ([]byte, []int) { + return file_PlayerQuitFromMpNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 1829 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerQuitFromMpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason PlayerQuitFromMpNotify_QuitReason `protobuf:"varint,11,opt,name=reason,proto3,enum=PlayerQuitFromMpNotify_QuitReason" json:"reason,omitempty"` +} + +func (x *PlayerQuitFromMpNotify) Reset() { + *x = PlayerQuitFromMpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerQuitFromMpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerQuitFromMpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerQuitFromMpNotify) ProtoMessage() {} + +func (x *PlayerQuitFromMpNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerQuitFromMpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerQuitFromMpNotify.ProtoReflect.Descriptor instead. +func (*PlayerQuitFromMpNotify) Descriptor() ([]byte, []int) { + return file_PlayerQuitFromMpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerQuitFromMpNotify) GetReason() PlayerQuitFromMpNotify_QuitReason { + if x != nil { + return x.Reason + } + return PlayerQuitFromMpNotify_QUIT_REASON_INVALID +} + +var File_PlayerQuitFromMpNotify_proto protoreflect.FileDescriptor + +var file_PlayerQuitFromMpNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, 0x72, 0x6f, 0x6d, + 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, + 0x03, 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, 0x72, 0x6f, + 0x6d, 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3a, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x51, 0x75, 0x69, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x80, 0x03, 0x0a, 0x0a, 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x24, 0x0a, + 0x20, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x48, 0x4f, 0x53, + 0x54, 0x5f, 0x4e, 0x4f, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, + 0x52, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, + 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 0x59, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, + 0x4c, 0x4f, 0x47, 0x4f, 0x55, 0x54, 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e, 0x51, 0x55, 0x49, 0x54, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, + 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, + 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x45, 0x5f, 0x42, + 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x06, 0x12, 0x27, 0x0a, 0x23, 0x51, 0x55, 0x49, 0x54, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, + 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, + 0x07, 0x12, 0x22, 0x0a, 0x1e, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x10, 0x08, 0x12, 0x1c, 0x0a, 0x18, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x5f, 0x42, 0x59, 0x5f, 0x50, 0x4c, 0x41, + 0x59, 0x10, 0x09, 0x12, 0x23, 0x0a, 0x1f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x45, 0x43, 0x48, + 0x41, 0x48, 0x4a, 0x46, 0x44, 0x41, 0x10, 0x0a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerQuitFromMpNotify_proto_rawDescOnce sync.Once + file_PlayerQuitFromMpNotify_proto_rawDescData = file_PlayerQuitFromMpNotify_proto_rawDesc +) + +func file_PlayerQuitFromMpNotify_proto_rawDescGZIP() []byte { + file_PlayerQuitFromMpNotify_proto_rawDescOnce.Do(func() { + file_PlayerQuitFromMpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerQuitFromMpNotify_proto_rawDescData) + }) + return file_PlayerQuitFromMpNotify_proto_rawDescData +} + +var file_PlayerQuitFromMpNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PlayerQuitFromMpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerQuitFromMpNotify_proto_goTypes = []interface{}{ + (PlayerQuitFromMpNotify_QuitReason)(0), // 0: PlayerQuitFromMpNotify.QuitReason + (*PlayerQuitFromMpNotify)(nil), // 1: PlayerQuitFromMpNotify +} +var file_PlayerQuitFromMpNotify_proto_depIdxs = []int32{ + 0, // 0: PlayerQuitFromMpNotify.reason:type_name -> PlayerQuitFromMpNotify.QuitReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerQuitFromMpNotify_proto_init() } +func file_PlayerQuitFromMpNotify_proto_init() { + if File_PlayerQuitFromMpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerQuitFromMpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerQuitFromMpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerQuitFromMpNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerQuitFromMpNotify_proto_goTypes, + DependencyIndexes: file_PlayerQuitFromMpNotify_proto_depIdxs, + EnumInfos: file_PlayerQuitFromMpNotify_proto_enumTypes, + MessageInfos: file_PlayerQuitFromMpNotify_proto_msgTypes, + }.Build() + File_PlayerQuitFromMpNotify_proto = out.File + file_PlayerQuitFromMpNotify_proto_rawDesc = nil + file_PlayerQuitFromMpNotify_proto_goTypes = nil + file_PlayerQuitFromMpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerQuitFromMpNotify.proto b/gate-hk4e-api/proto/PlayerQuitFromMpNotify.proto new file mode 100644 index 00000000..dc410352 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerQuitFromMpNotify.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1829 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerQuitFromMpNotify { + QuitReason reason = 11; + + enum QuitReason { + QUIT_REASON_INVALID = 0; + QUIT_REASON_HOST_NO_OTHER_PLAYER = 1; + QUIT_REASON_KICK_BY_HOST = 2; + QUIT_REASON_BACK_TO_MY_WORLD = 3; + QUIT_REASON_KICK_BY_HOST_LOGOUT = 4; + QUIT_REASON_KICK_BY_HOST_BLOCK = 5; + QUIT_REASON_BE_BLOCKED = 6; + QUIT_REASON_KICK_BY_HOST_ENTER_HOME = 7; + QUIT_REASON_HOST_SCENE_INVALID = 8; + QUIT_REASON_KICK_BY_PLAY = 9; + QUIT_REASON_Unk2800_FDECHAHJFDA = 10; + } +} diff --git a/gate-hk4e-api/proto/PlayerRTTInfo.pb.go b/gate-hk4e-api/proto/PlayerRTTInfo.pb.go new file mode 100644 index 00000000..c284e549 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRTTInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRTTInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerRTTInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rtt uint32 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *PlayerRTTInfo) Reset() { + *x = PlayerRTTInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRTTInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRTTInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRTTInfo) ProtoMessage() {} + +func (x *PlayerRTTInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRTTInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRTTInfo.ProtoReflect.Descriptor instead. +func (*PlayerRTTInfo) Descriptor() ([]byte, []int) { + return file_PlayerRTTInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRTTInfo) GetRtt() uint32 { + if x != nil { + return x.Rtt + } + return 0 +} + +func (x *PlayerRTTInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_PlayerRTTInfo_proto protoreflect.FileDescriptor + +var file_PlayerRTTInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x54, 0x54, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, + 0x54, 0x54, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x74, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x72, 0x74, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRTTInfo_proto_rawDescOnce sync.Once + file_PlayerRTTInfo_proto_rawDescData = file_PlayerRTTInfo_proto_rawDesc +) + +func file_PlayerRTTInfo_proto_rawDescGZIP() []byte { + file_PlayerRTTInfo_proto_rawDescOnce.Do(func() { + file_PlayerRTTInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRTTInfo_proto_rawDescData) + }) + return file_PlayerRTTInfo_proto_rawDescData +} + +var file_PlayerRTTInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRTTInfo_proto_goTypes = []interface{}{ + (*PlayerRTTInfo)(nil), // 0: PlayerRTTInfo +} +var file_PlayerRTTInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerRTTInfo_proto_init() } +func file_PlayerRTTInfo_proto_init() { + if File_PlayerRTTInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerRTTInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRTTInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRTTInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRTTInfo_proto_goTypes, + DependencyIndexes: file_PlayerRTTInfo_proto_depIdxs, + MessageInfos: file_PlayerRTTInfo_proto_msgTypes, + }.Build() + File_PlayerRTTInfo_proto = out.File + file_PlayerRTTInfo_proto_rawDesc = nil + file_PlayerRTTInfo_proto_goTypes = nil + file_PlayerRTTInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRTTInfo.proto b/gate-hk4e-api/proto/PlayerRTTInfo.proto new file mode 100644 index 00000000..0e34e12c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRTTInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayerRTTInfo { + uint32 rtt = 2; + uint32 uid = 1; +} diff --git a/gate-hk4e-api/proto/PlayerRandomCookReq.pb.go b/gate-hk4e-api/proto/PlayerRandomCookReq.pb.go new file mode 100644 index 00000000..788dbc1d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRandomCookReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRandomCookReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerRandomCookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialList []*ItemParam `protobuf:"bytes,13,rep,name=material_list,json=materialList,proto3" json:"material_list,omitempty"` +} + +func (x *PlayerRandomCookReq) Reset() { + *x = PlayerRandomCookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRandomCookReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRandomCookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRandomCookReq) ProtoMessage() {} + +func (x *PlayerRandomCookReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRandomCookReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRandomCookReq.ProtoReflect.Descriptor instead. +func (*PlayerRandomCookReq) Descriptor() ([]byte, []int) { + return file_PlayerRandomCookReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRandomCookReq) GetMaterialList() []*ItemParam { + if x != nil { + return x.MaterialList + } + return nil +} + +var File_PlayerRandomCookReq_proto protoreflect.FileDescriptor + +var file_PlayerRandomCookReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x43, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x43, 0x6f, 0x6f, 0x6b, + 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRandomCookReq_proto_rawDescOnce sync.Once + file_PlayerRandomCookReq_proto_rawDescData = file_PlayerRandomCookReq_proto_rawDesc +) + +func file_PlayerRandomCookReq_proto_rawDescGZIP() []byte { + file_PlayerRandomCookReq_proto_rawDescOnce.Do(func() { + file_PlayerRandomCookReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRandomCookReq_proto_rawDescData) + }) + return file_PlayerRandomCookReq_proto_rawDescData +} + +var file_PlayerRandomCookReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRandomCookReq_proto_goTypes = []interface{}{ + (*PlayerRandomCookReq)(nil), // 0: PlayerRandomCookReq + (*ItemParam)(nil), // 1: ItemParam +} +var file_PlayerRandomCookReq_proto_depIdxs = []int32{ + 1, // 0: PlayerRandomCookReq.material_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerRandomCookReq_proto_init() } +func file_PlayerRandomCookReq_proto_init() { + if File_PlayerRandomCookReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerRandomCookReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRandomCookReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRandomCookReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRandomCookReq_proto_goTypes, + DependencyIndexes: file_PlayerRandomCookReq_proto_depIdxs, + MessageInfos: file_PlayerRandomCookReq_proto_msgTypes, + }.Build() + File_PlayerRandomCookReq_proto = out.File + file_PlayerRandomCookReq_proto_rawDesc = nil + file_PlayerRandomCookReq_proto_goTypes = nil + file_PlayerRandomCookReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRandomCookReq.proto b/gate-hk4e-api/proto/PlayerRandomCookReq.proto new file mode 100644 index 00000000..72b49572 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRandomCookReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerRandomCookReq { + repeated ItemParam material_list = 13; +} diff --git a/gate-hk4e-api/proto/PlayerRandomCookRsp.pb.go b/gate-hk4e-api/proto/PlayerRandomCookRsp.pb.go new file mode 100644 index 00000000..e75a8778 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRandomCookRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRandomCookRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 163 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerRandomCookRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerRandomCookRsp) Reset() { + *x = PlayerRandomCookRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRandomCookRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRandomCookRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRandomCookRsp) ProtoMessage() {} + +func (x *PlayerRandomCookRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRandomCookRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRandomCookRsp.ProtoReflect.Descriptor instead. +func (*PlayerRandomCookRsp) Descriptor() ([]byte, []int) { + return file_PlayerRandomCookRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRandomCookRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerRandomCookRsp_proto protoreflect.FileDescriptor + +var file_PlayerRandomCookRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x43, 0x6f, + 0x6f, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x43, 0x6f, 0x6f, 0x6b, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRandomCookRsp_proto_rawDescOnce sync.Once + file_PlayerRandomCookRsp_proto_rawDescData = file_PlayerRandomCookRsp_proto_rawDesc +) + +func file_PlayerRandomCookRsp_proto_rawDescGZIP() []byte { + file_PlayerRandomCookRsp_proto_rawDescOnce.Do(func() { + file_PlayerRandomCookRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRandomCookRsp_proto_rawDescData) + }) + return file_PlayerRandomCookRsp_proto_rawDescData +} + +var file_PlayerRandomCookRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRandomCookRsp_proto_goTypes = []interface{}{ + (*PlayerRandomCookRsp)(nil), // 0: PlayerRandomCookRsp +} +var file_PlayerRandomCookRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerRandomCookRsp_proto_init() } +func file_PlayerRandomCookRsp_proto_init() { + if File_PlayerRandomCookRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerRandomCookRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRandomCookRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRandomCookRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRandomCookRsp_proto_goTypes, + DependencyIndexes: file_PlayerRandomCookRsp_proto_depIdxs, + MessageInfos: file_PlayerRandomCookRsp_proto_msgTypes, + }.Build() + File_PlayerRandomCookRsp_proto = out.File + file_PlayerRandomCookRsp_proto_rawDesc = nil + file_PlayerRandomCookRsp_proto_goTypes = nil + file_PlayerRandomCookRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRandomCookRsp.proto b/gate-hk4e-api/proto/PlayerRandomCookRsp.proto new file mode 100644 index 00000000..ccce23c5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRandomCookRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 163 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerRandomCookRsp { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/PlayerRechargeDataNotify.pb.go b/gate-hk4e-api/proto/PlayerRechargeDataNotify.pb.go new file mode 100644 index 00000000..98ed7677 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRechargeDataNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRechargeDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4102 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerRechargeDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardProductRemainDays uint32 `protobuf:"varint,12,opt,name=card_product_remain_days,json=cardProductRemainDays,proto3" json:"card_product_remain_days,omitempty"` + ProductPriceTierList []*ProductPriceTier `protobuf:"bytes,11,rep,name=product_price_tier_list,json=productPriceTierList,proto3" json:"product_price_tier_list,omitempty"` +} + +func (x *PlayerRechargeDataNotify) Reset() { + *x = PlayerRechargeDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRechargeDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRechargeDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRechargeDataNotify) ProtoMessage() {} + +func (x *PlayerRechargeDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRechargeDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRechargeDataNotify.ProtoReflect.Descriptor instead. +func (*PlayerRechargeDataNotify) Descriptor() ([]byte, []int) { + return file_PlayerRechargeDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRechargeDataNotify) GetCardProductRemainDays() uint32 { + if x != nil { + return x.CardProductRemainDays + } + return 0 +} + +func (x *PlayerRechargeDataNotify) GetProductPriceTierList() []*ProductPriceTier { + if x != nil { + return x.ProductPriceTierList + } + return nil +} + +var File_PlayerRechargeDataNotify_proto protoreflect.FileDescriptor + +var file_PlayerRechargeDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x18, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x79, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x48, + 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, + 0x74, 0x69, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, + 0x65, 0x72, 0x52, 0x14, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x54, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRechargeDataNotify_proto_rawDescOnce sync.Once + file_PlayerRechargeDataNotify_proto_rawDescData = file_PlayerRechargeDataNotify_proto_rawDesc +) + +func file_PlayerRechargeDataNotify_proto_rawDescGZIP() []byte { + file_PlayerRechargeDataNotify_proto_rawDescOnce.Do(func() { + file_PlayerRechargeDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRechargeDataNotify_proto_rawDescData) + }) + return file_PlayerRechargeDataNotify_proto_rawDescData +} + +var file_PlayerRechargeDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRechargeDataNotify_proto_goTypes = []interface{}{ + (*PlayerRechargeDataNotify)(nil), // 0: PlayerRechargeDataNotify + (*ProductPriceTier)(nil), // 1: ProductPriceTier +} +var file_PlayerRechargeDataNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerRechargeDataNotify.product_price_tier_list:type_name -> ProductPriceTier + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerRechargeDataNotify_proto_init() } +func file_PlayerRechargeDataNotify_proto_init() { + if File_PlayerRechargeDataNotify_proto != nil { + return + } + file_ProductPriceTier_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerRechargeDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRechargeDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRechargeDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRechargeDataNotify_proto_goTypes, + DependencyIndexes: file_PlayerRechargeDataNotify_proto_depIdxs, + MessageInfos: file_PlayerRechargeDataNotify_proto_msgTypes, + }.Build() + File_PlayerRechargeDataNotify_proto = out.File + file_PlayerRechargeDataNotify_proto_rawDesc = nil + file_PlayerRechargeDataNotify_proto_goTypes = nil + file_PlayerRechargeDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRechargeDataNotify.proto b/gate-hk4e-api/proto/PlayerRechargeDataNotify.proto new file mode 100644 index 00000000..4cf12771 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRechargeDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProductPriceTier.proto"; + +option go_package = "./;proto"; + +// CmdId: 4102 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerRechargeDataNotify { + uint32 card_product_remain_days = 12; + repeated ProductPriceTier product_price_tier_list = 11; +} diff --git a/gate-hk4e-api/proto/PlayerReportReq.pb.go b/gate-hk4e-api/proto/PlayerReportReq.pb.go new file mode 100644 index 00000000..c7c80683 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerReportReq.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerReportReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4024 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerReportReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason ReportReasonType `protobuf:"varint,12,opt,name=reason,proto3,enum=ReportReasonType" json:"reason,omitempty"` + Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` + TargetHomeModuleId uint32 `protobuf:"varint,5,opt,name=target_home_module_id,json=targetHomeModuleId,proto3" json:"target_home_module_id,omitempty"` + TargetHomeModuleName string `protobuf:"bytes,6,opt,name=target_home_module_name,json=targetHomeModuleName,proto3" json:"target_home_module_name,omitempty"` + TargetUid uint32 `protobuf:"varint,14,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *PlayerReportReq) Reset() { + *x = PlayerReportReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerReportReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerReportReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerReportReq) ProtoMessage() {} + +func (x *PlayerReportReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerReportReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerReportReq.ProtoReflect.Descriptor instead. +func (*PlayerReportReq) Descriptor() ([]byte, []int) { + return file_PlayerReportReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerReportReq) GetReason() ReportReasonType { + if x != nil { + return x.Reason + } + return ReportReasonType_REPORT_REASON_TYPE_NONE +} + +func (x *PlayerReportReq) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *PlayerReportReq) GetTargetHomeModuleId() uint32 { + if x != nil { + return x.TargetHomeModuleId + } + return 0 +} + +func (x *PlayerReportReq) GetTargetHomeModuleName() string { + if x != nil { + return x.TargetHomeModuleName + } + return "" +} + +func (x *PlayerReportReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_PlayerReportReq_proto protoreflect.FileDescriptor + +var file_PlayerReportReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xdf, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, + 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerReportReq_proto_rawDescOnce sync.Once + file_PlayerReportReq_proto_rawDescData = file_PlayerReportReq_proto_rawDesc +) + +func file_PlayerReportReq_proto_rawDescGZIP() []byte { + file_PlayerReportReq_proto_rawDescOnce.Do(func() { + file_PlayerReportReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerReportReq_proto_rawDescData) + }) + return file_PlayerReportReq_proto_rawDescData +} + +var file_PlayerReportReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerReportReq_proto_goTypes = []interface{}{ + (*PlayerReportReq)(nil), // 0: PlayerReportReq + (ReportReasonType)(0), // 1: ReportReasonType +} +var file_PlayerReportReq_proto_depIdxs = []int32{ + 1, // 0: PlayerReportReq.reason:type_name -> ReportReasonType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerReportReq_proto_init() } +func file_PlayerReportReq_proto_init() { + if File_PlayerReportReq_proto != nil { + return + } + file_ReportReasonType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerReportReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerReportReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerReportReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerReportReq_proto_goTypes, + DependencyIndexes: file_PlayerReportReq_proto_depIdxs, + MessageInfos: file_PlayerReportReq_proto_msgTypes, + }.Build() + File_PlayerReportReq_proto = out.File + file_PlayerReportReq_proto_rawDesc = nil + file_PlayerReportReq_proto_goTypes = nil + file_PlayerReportReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerReportReq.proto b/gate-hk4e-api/proto/PlayerReportReq.proto new file mode 100644 index 00000000..1482a9ae --- /dev/null +++ b/gate-hk4e-api/proto/PlayerReportReq.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReportReasonType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4024 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerReportReq { + ReportReasonType reason = 12; + string content = 8; + uint32 target_home_module_id = 5; + string target_home_module_name = 6; + uint32 target_uid = 14; +} diff --git a/gate-hk4e-api/proto/PlayerReportRsp.pb.go b/gate-hk4e-api/proto/PlayerReportRsp.pb.go new file mode 100644 index 00000000..0a11f54f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerReportRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerReportRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4056 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerReportRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CdTime uint32 `protobuf:"varint,11,opt,name=cd_time,json=cdTime,proto3" json:"cd_time,omitempty"` + TargetUid uint32 `protobuf:"varint,6,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerReportRsp) Reset() { + *x = PlayerReportRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerReportRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerReportRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerReportRsp) ProtoMessage() {} + +func (x *PlayerReportRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerReportRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerReportRsp.ProtoReflect.Descriptor instead. +func (*PlayerReportRsp) Descriptor() ([]byte, []int) { + return file_PlayerReportRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerReportRsp) GetCdTime() uint32 { + if x != nil { + return x.CdTime + } + return 0 +} + +func (x *PlayerReportRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PlayerReportRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerReportRsp_proto protoreflect.FileDescriptor + +var file_PlayerReportRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, + 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerReportRsp_proto_rawDescOnce sync.Once + file_PlayerReportRsp_proto_rawDescData = file_PlayerReportRsp_proto_rawDesc +) + +func file_PlayerReportRsp_proto_rawDescGZIP() []byte { + file_PlayerReportRsp_proto_rawDescOnce.Do(func() { + file_PlayerReportRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerReportRsp_proto_rawDescData) + }) + return file_PlayerReportRsp_proto_rawDescData +} + +var file_PlayerReportRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerReportRsp_proto_goTypes = []interface{}{ + (*PlayerReportRsp)(nil), // 0: PlayerReportRsp +} +var file_PlayerReportRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerReportRsp_proto_init() } +func file_PlayerReportRsp_proto_init() { + if File_PlayerReportRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerReportRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerReportRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerReportRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerReportRsp_proto_goTypes, + DependencyIndexes: file_PlayerReportRsp_proto_depIdxs, + MessageInfos: file_PlayerReportRsp_proto_msgTypes, + }.Build() + File_PlayerReportRsp_proto = out.File + file_PlayerReportRsp_proto_rawDesc = nil + file_PlayerReportRsp_proto_goTypes = nil + file_PlayerReportRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerReportRsp.proto b/gate-hk4e-api/proto/PlayerReportRsp.proto new file mode 100644 index 00000000..04b97a4c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerReportRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4056 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerReportRsp { + uint32 cd_time = 11; + uint32 target_uid = 6; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/PlayerRoutineDataNotify.pb.go b/gate-hk4e-api/proto/PlayerRoutineDataNotify.pb.go new file mode 100644 index 00000000..cd687af2 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRoutineDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRoutineDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3526 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerRoutineDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutineInfoList []*PlayerRoutineInfo `protobuf:"bytes,11,rep,name=routine_info_list,json=routineInfoList,proto3" json:"routine_info_list,omitempty"` +} + +func (x *PlayerRoutineDataNotify) Reset() { + *x = PlayerRoutineDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRoutineDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRoutineDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRoutineDataNotify) ProtoMessage() {} + +func (x *PlayerRoutineDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRoutineDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRoutineDataNotify.ProtoReflect.Descriptor instead. +func (*PlayerRoutineDataNotify) Descriptor() ([]byte, []int) { + return file_PlayerRoutineDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRoutineDataNotify) GetRoutineInfoList() []*PlayerRoutineInfo { + if x != nil { + return x.RoutineInfoList + } + return nil +} + +var File_PlayerRoutineDataNotify_proto protoreflect.FileDescriptor + +var file_PlayerRoutineDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRoutineDataNotify_proto_rawDescOnce sync.Once + file_PlayerRoutineDataNotify_proto_rawDescData = file_PlayerRoutineDataNotify_proto_rawDesc +) + +func file_PlayerRoutineDataNotify_proto_rawDescGZIP() []byte { + file_PlayerRoutineDataNotify_proto_rawDescOnce.Do(func() { + file_PlayerRoutineDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRoutineDataNotify_proto_rawDescData) + }) + return file_PlayerRoutineDataNotify_proto_rawDescData +} + +var file_PlayerRoutineDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRoutineDataNotify_proto_goTypes = []interface{}{ + (*PlayerRoutineDataNotify)(nil), // 0: PlayerRoutineDataNotify + (*PlayerRoutineInfo)(nil), // 1: PlayerRoutineInfo +} +var file_PlayerRoutineDataNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerRoutineDataNotify.routine_info_list:type_name -> PlayerRoutineInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerRoutineDataNotify_proto_init() } +func file_PlayerRoutineDataNotify_proto_init() { + if File_PlayerRoutineDataNotify_proto != nil { + return + } + file_PlayerRoutineInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerRoutineDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRoutineDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRoutineDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRoutineDataNotify_proto_goTypes, + DependencyIndexes: file_PlayerRoutineDataNotify_proto_depIdxs, + MessageInfos: file_PlayerRoutineDataNotify_proto_msgTypes, + }.Build() + File_PlayerRoutineDataNotify_proto = out.File + file_PlayerRoutineDataNotify_proto_rawDesc = nil + file_PlayerRoutineDataNotify_proto_goTypes = nil + file_PlayerRoutineDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRoutineDataNotify.proto b/gate-hk4e-api/proto/PlayerRoutineDataNotify.proto new file mode 100644 index 00000000..1058824b --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRoutineDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerRoutineInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3526 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerRoutineDataNotify { + repeated PlayerRoutineInfo routine_info_list = 11; +} diff --git a/gate-hk4e-api/proto/PlayerRoutineInfo.pb.go b/gate-hk4e-api/proto/PlayerRoutineInfo.pb.go new file mode 100644 index 00000000..d5b80104 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRoutineInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerRoutineInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerRoutineInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutineType uint32 `protobuf:"varint,8,opt,name=routine_type,json=routineType,proto3" json:"routine_type,omitempty"` + FinishedNum uint32 `protobuf:"varint,15,opt,name=finished_num,json=finishedNum,proto3" json:"finished_num,omitempty"` +} + +func (x *PlayerRoutineInfo) Reset() { + *x = PlayerRoutineInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerRoutineInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerRoutineInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerRoutineInfo) ProtoMessage() {} + +func (x *PlayerRoutineInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerRoutineInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerRoutineInfo.ProtoReflect.Descriptor instead. +func (*PlayerRoutineInfo) Descriptor() ([]byte, []int) { + return file_PlayerRoutineInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerRoutineInfo) GetRoutineType() uint32 { + if x != nil { + return x.RoutineType + } + return 0 +} + +func (x *PlayerRoutineInfo) GetFinishedNum() uint32 { + if x != nil { + return x.FinishedNum + } + return 0 +} + +var File_PlayerRoutineInfo_proto protoreflect.FileDescriptor + +var file_PlayerRoutineInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, + 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerRoutineInfo_proto_rawDescOnce sync.Once + file_PlayerRoutineInfo_proto_rawDescData = file_PlayerRoutineInfo_proto_rawDesc +) + +func file_PlayerRoutineInfo_proto_rawDescGZIP() []byte { + file_PlayerRoutineInfo_proto_rawDescOnce.Do(func() { + file_PlayerRoutineInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerRoutineInfo_proto_rawDescData) + }) + return file_PlayerRoutineInfo_proto_rawDescData +} + +var file_PlayerRoutineInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerRoutineInfo_proto_goTypes = []interface{}{ + (*PlayerRoutineInfo)(nil), // 0: PlayerRoutineInfo +} +var file_PlayerRoutineInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerRoutineInfo_proto_init() } +func file_PlayerRoutineInfo_proto_init() { + if File_PlayerRoutineInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerRoutineInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerRoutineInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerRoutineInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerRoutineInfo_proto_goTypes, + DependencyIndexes: file_PlayerRoutineInfo_proto_depIdxs, + MessageInfos: file_PlayerRoutineInfo_proto_msgTypes, + }.Build() + File_PlayerRoutineInfo_proto = out.File + file_PlayerRoutineInfo_proto_rawDesc = nil + file_PlayerRoutineInfo_proto_goTypes = nil + file_PlayerRoutineInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerRoutineInfo.proto b/gate-hk4e-api/proto/PlayerRoutineInfo.proto new file mode 100644 index 00000000..bcfe40f8 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerRoutineInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayerRoutineInfo { + uint32 routine_type = 8; + uint32 finished_num = 15; +} diff --git a/gate-hk4e-api/proto/PlayerSetLanguageReq.pb.go b/gate-hk4e-api/proto/PlayerSetLanguageReq.pb.go new file mode 100644 index 00000000..0e025614 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetLanguageReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetLanguageReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 142 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerSetLanguageReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LanguageType uint32 `protobuf:"varint,5,opt,name=language_type,json=languageType,proto3" json:"language_type,omitempty"` +} + +func (x *PlayerSetLanguageReq) Reset() { + *x = PlayerSetLanguageReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetLanguageReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetLanguageReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetLanguageReq) ProtoMessage() {} + +func (x *PlayerSetLanguageReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetLanguageReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetLanguageReq.ProtoReflect.Descriptor instead. +func (*PlayerSetLanguageReq) Descriptor() ([]byte, []int) { + return file_PlayerSetLanguageReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetLanguageReq) GetLanguageType() uint32 { + if x != nil { + return x.LanguageType + } + return 0 +} + +var File_PlayerSetLanguageReq_proto protoreflect.FileDescriptor + +var file_PlayerSetLanguageReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerSetLanguageReq_proto_rawDescOnce sync.Once + file_PlayerSetLanguageReq_proto_rawDescData = file_PlayerSetLanguageReq_proto_rawDesc +) + +func file_PlayerSetLanguageReq_proto_rawDescGZIP() []byte { + file_PlayerSetLanguageReq_proto_rawDescOnce.Do(func() { + file_PlayerSetLanguageReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetLanguageReq_proto_rawDescData) + }) + return file_PlayerSetLanguageReq_proto_rawDescData +} + +var file_PlayerSetLanguageReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetLanguageReq_proto_goTypes = []interface{}{ + (*PlayerSetLanguageReq)(nil), // 0: PlayerSetLanguageReq +} +var file_PlayerSetLanguageReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetLanguageReq_proto_init() } +func file_PlayerSetLanguageReq_proto_init() { + if File_PlayerSetLanguageReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetLanguageReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetLanguageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetLanguageReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetLanguageReq_proto_goTypes, + DependencyIndexes: file_PlayerSetLanguageReq_proto_depIdxs, + MessageInfos: file_PlayerSetLanguageReq_proto_msgTypes, + }.Build() + File_PlayerSetLanguageReq_proto = out.File + file_PlayerSetLanguageReq_proto_rawDesc = nil + file_PlayerSetLanguageReq_proto_goTypes = nil + file_PlayerSetLanguageReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetLanguageReq.proto b/gate-hk4e-api/proto/PlayerSetLanguageReq.proto new file mode 100644 index 00000000..a16c3f0c --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetLanguageReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 142 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerSetLanguageReq { + uint32 language_type = 5; +} diff --git a/gate-hk4e-api/proto/PlayerSetLanguageRsp.pb.go b/gate-hk4e-api/proto/PlayerSetLanguageRsp.pb.go new file mode 100644 index 00000000..518e8314 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetLanguageRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetLanguageRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 130 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerSetLanguageRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerSetLanguageRsp) Reset() { + *x = PlayerSetLanguageRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetLanguageRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetLanguageRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetLanguageRsp) ProtoMessage() {} + +func (x *PlayerSetLanguageRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetLanguageRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetLanguageRsp.ProtoReflect.Descriptor instead. +func (*PlayerSetLanguageRsp) Descriptor() ([]byte, []int) { + return file_PlayerSetLanguageRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetLanguageRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerSetLanguageRsp_proto protoreflect.FileDescriptor + +var file_PlayerSetLanguageRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PlayerSetLanguageRsp_proto_rawDescOnce sync.Once + file_PlayerSetLanguageRsp_proto_rawDescData = file_PlayerSetLanguageRsp_proto_rawDesc +) + +func file_PlayerSetLanguageRsp_proto_rawDescGZIP() []byte { + file_PlayerSetLanguageRsp_proto_rawDescOnce.Do(func() { + file_PlayerSetLanguageRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetLanguageRsp_proto_rawDescData) + }) + return file_PlayerSetLanguageRsp_proto_rawDescData +} + +var file_PlayerSetLanguageRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetLanguageRsp_proto_goTypes = []interface{}{ + (*PlayerSetLanguageRsp)(nil), // 0: PlayerSetLanguageRsp +} +var file_PlayerSetLanguageRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetLanguageRsp_proto_init() } +func file_PlayerSetLanguageRsp_proto_init() { + if File_PlayerSetLanguageRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetLanguageRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetLanguageRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetLanguageRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetLanguageRsp_proto_goTypes, + DependencyIndexes: file_PlayerSetLanguageRsp_proto_depIdxs, + MessageInfos: file_PlayerSetLanguageRsp_proto_msgTypes, + }.Build() + File_PlayerSetLanguageRsp_proto = out.File + file_PlayerSetLanguageRsp_proto_rawDesc = nil + file_PlayerSetLanguageRsp_proto_goTypes = nil + file_PlayerSetLanguageRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetLanguageRsp.proto b/gate-hk4e-api/proto/PlayerSetLanguageRsp.proto new file mode 100644 index 00000000..8ef029d2 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetLanguageRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 130 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerSetLanguageRsp { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.pb.go b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.pb.go new file mode 100644 index 00000000..f850bd8d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetOnlyMPWithPSPlayerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerSetOnlyMPWithPSPlayerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOnly bool `protobuf:"varint,13,opt,name=is_only,json=isOnly,proto3" json:"is_only,omitempty"` +} + +func (x *PlayerSetOnlyMPWithPSPlayerReq) Reset() { + *x = PlayerSetOnlyMPWithPSPlayerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetOnlyMPWithPSPlayerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetOnlyMPWithPSPlayerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetOnlyMPWithPSPlayerReq) ProtoMessage() {} + +func (x *PlayerSetOnlyMPWithPSPlayerReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetOnlyMPWithPSPlayerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetOnlyMPWithPSPlayerReq.ProtoReflect.Descriptor instead. +func (*PlayerSetOnlyMPWithPSPlayerReq) Descriptor() ([]byte, []int) { + return file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetOnlyMPWithPSPlayerReq) GetIsOnly() bool { + if x != nil { + return x.IsOnly + } + return false +} + +var File_PlayerSetOnlyMPWithPSPlayerReq_proto protoreflect.FileDescriptor + +var file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x4d, + 0x50, 0x57, 0x69, 0x74, 0x68, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x4d, 0x50, 0x57, 0x69, 0x74, 0x68, 0x50, 0x53, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, + 0x6e, 0x6c, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescOnce sync.Once + file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescData = file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDesc +) + +func file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescGZIP() []byte { + file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescOnce.Do(func() { + file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescData) + }) + return file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDescData +} + +var file_PlayerSetOnlyMPWithPSPlayerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetOnlyMPWithPSPlayerReq_proto_goTypes = []interface{}{ + (*PlayerSetOnlyMPWithPSPlayerReq)(nil), // 0: PlayerSetOnlyMPWithPSPlayerReq +} +var file_PlayerSetOnlyMPWithPSPlayerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetOnlyMPWithPSPlayerReq_proto_init() } +func file_PlayerSetOnlyMPWithPSPlayerReq_proto_init() { + if File_PlayerSetOnlyMPWithPSPlayerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetOnlyMPWithPSPlayerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetOnlyMPWithPSPlayerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetOnlyMPWithPSPlayerReq_proto_goTypes, + DependencyIndexes: file_PlayerSetOnlyMPWithPSPlayerReq_proto_depIdxs, + MessageInfos: file_PlayerSetOnlyMPWithPSPlayerReq_proto_msgTypes, + }.Build() + File_PlayerSetOnlyMPWithPSPlayerReq_proto = out.File + file_PlayerSetOnlyMPWithPSPlayerReq_proto_rawDesc = nil + file_PlayerSetOnlyMPWithPSPlayerReq_proto_goTypes = nil + file_PlayerSetOnlyMPWithPSPlayerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.proto b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.proto new file mode 100644 index 00000000..955ca249 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1820 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerSetOnlyMPWithPSPlayerReq { + bool is_only = 13; +} diff --git a/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.pb.go b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.pb.go new file mode 100644 index 00000000..582c80d8 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetOnlyMPWithPSPlayerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1845 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerSetOnlyMPWithPSPlayerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsOnly bool `protobuf:"varint,8,opt,name=is_only,json=isOnly,proto3" json:"is_only,omitempty"` +} + +func (x *PlayerSetOnlyMPWithPSPlayerRsp) Reset() { + *x = PlayerSetOnlyMPWithPSPlayerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetOnlyMPWithPSPlayerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetOnlyMPWithPSPlayerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetOnlyMPWithPSPlayerRsp) ProtoMessage() {} + +func (x *PlayerSetOnlyMPWithPSPlayerRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetOnlyMPWithPSPlayerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetOnlyMPWithPSPlayerRsp.ProtoReflect.Descriptor instead. +func (*PlayerSetOnlyMPWithPSPlayerRsp) Descriptor() ([]byte, []int) { + return file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetOnlyMPWithPSPlayerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerSetOnlyMPWithPSPlayerRsp) GetIsOnly() bool { + if x != nil { + return x.IsOnly + } + return false +} + +var File_PlayerSetOnlyMPWithPSPlayerRsp_proto protoreflect.FileDescriptor + +var file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x4d, + 0x50, 0x57, 0x69, 0x74, 0x68, 0x50, 0x53, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x4d, 0x50, 0x57, 0x69, 0x74, 0x68, 0x50, 0x53, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescOnce sync.Once + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescData = file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDesc +) + +func file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescGZIP() []byte { + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescOnce.Do(func() { + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescData) + }) + return file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDescData +} + +var file_PlayerSetOnlyMPWithPSPlayerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetOnlyMPWithPSPlayerRsp_proto_goTypes = []interface{}{ + (*PlayerSetOnlyMPWithPSPlayerRsp)(nil), // 0: PlayerSetOnlyMPWithPSPlayerRsp +} +var file_PlayerSetOnlyMPWithPSPlayerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetOnlyMPWithPSPlayerRsp_proto_init() } +func file_PlayerSetOnlyMPWithPSPlayerRsp_proto_init() { + if File_PlayerSetOnlyMPWithPSPlayerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetOnlyMPWithPSPlayerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetOnlyMPWithPSPlayerRsp_proto_goTypes, + DependencyIndexes: file_PlayerSetOnlyMPWithPSPlayerRsp_proto_depIdxs, + MessageInfos: file_PlayerSetOnlyMPWithPSPlayerRsp_proto_msgTypes, + }.Build() + File_PlayerSetOnlyMPWithPSPlayerRsp_proto = out.File + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_rawDesc = nil + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_goTypes = nil + file_PlayerSetOnlyMPWithPSPlayerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto new file mode 100644 index 00000000..f84f0ebf --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1845 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerSetOnlyMPWithPSPlayerRsp { + int32 retcode = 5; + bool is_only = 8; +} diff --git a/gate-hk4e-api/proto/PlayerSetPauseReq.pb.go b/gate-hk4e-api/proto/PlayerSetPauseReq.pb.go new file mode 100644 index 00000000..8ef4e3bc --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetPauseReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetPauseReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 124 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerSetPauseReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsPaused bool `protobuf:"varint,1,opt,name=is_paused,json=isPaused,proto3" json:"is_paused,omitempty"` +} + +func (x *PlayerSetPauseReq) Reset() { + *x = PlayerSetPauseReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetPauseReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetPauseReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetPauseReq) ProtoMessage() {} + +func (x *PlayerSetPauseReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetPauseReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetPauseReq.ProtoReflect.Descriptor instead. +func (*PlayerSetPauseReq) Descriptor() ([]byte, []int) { + return file_PlayerSetPauseReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetPauseReq) GetIsPaused() bool { + if x != nil { + return x.IsPaused + } + return false +} + +var File_PlayerSetPauseReq_proto protoreflect.FileDescriptor + +var file_PlayerSetPauseReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerSetPauseReq_proto_rawDescOnce sync.Once + file_PlayerSetPauseReq_proto_rawDescData = file_PlayerSetPauseReq_proto_rawDesc +) + +func file_PlayerSetPauseReq_proto_rawDescGZIP() []byte { + file_PlayerSetPauseReq_proto_rawDescOnce.Do(func() { + file_PlayerSetPauseReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetPauseReq_proto_rawDescData) + }) + return file_PlayerSetPauseReq_proto_rawDescData +} + +var file_PlayerSetPauseReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetPauseReq_proto_goTypes = []interface{}{ + (*PlayerSetPauseReq)(nil), // 0: PlayerSetPauseReq +} +var file_PlayerSetPauseReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetPauseReq_proto_init() } +func file_PlayerSetPauseReq_proto_init() { + if File_PlayerSetPauseReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetPauseReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetPauseReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetPauseReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetPauseReq_proto_goTypes, + DependencyIndexes: file_PlayerSetPauseReq_proto_depIdxs, + MessageInfos: file_PlayerSetPauseReq_proto_msgTypes, + }.Build() + File_PlayerSetPauseReq_proto = out.File + file_PlayerSetPauseReq_proto_rawDesc = nil + file_PlayerSetPauseReq_proto_goTypes = nil + file_PlayerSetPauseReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetPauseReq.proto b/gate-hk4e-api/proto/PlayerSetPauseReq.proto new file mode 100644 index 00000000..65c8ba3d --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetPauseReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 124 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerSetPauseReq { + bool is_paused = 1; +} diff --git a/gate-hk4e-api/proto/PlayerSetPauseRsp.pb.go b/gate-hk4e-api/proto/PlayerSetPauseRsp.pb.go new file mode 100644 index 00000000..b3d6012f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetPauseRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerSetPauseRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 156 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerSetPauseRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PlayerSetPauseRsp) Reset() { + *x = PlayerSetPauseRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerSetPauseRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerSetPauseRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerSetPauseRsp) ProtoMessage() {} + +func (x *PlayerSetPauseRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerSetPauseRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerSetPauseRsp.ProtoReflect.Descriptor instead. +func (*PlayerSetPauseRsp) Descriptor() ([]byte, []int) { + return file_PlayerSetPauseRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerSetPauseRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PlayerSetPauseRsp_proto protoreflect.FileDescriptor + +var file_PlayerSetPauseRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x53, 0x65, 0x74, 0x50, 0x61, 0x75, 0x73, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerSetPauseRsp_proto_rawDescOnce sync.Once + file_PlayerSetPauseRsp_proto_rawDescData = file_PlayerSetPauseRsp_proto_rawDesc +) + +func file_PlayerSetPauseRsp_proto_rawDescGZIP() []byte { + file_PlayerSetPauseRsp_proto_rawDescOnce.Do(func() { + file_PlayerSetPauseRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerSetPauseRsp_proto_rawDescData) + }) + return file_PlayerSetPauseRsp_proto_rawDescData +} + +var file_PlayerSetPauseRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerSetPauseRsp_proto_goTypes = []interface{}{ + (*PlayerSetPauseRsp)(nil), // 0: PlayerSetPauseRsp +} +var file_PlayerSetPauseRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerSetPauseRsp_proto_init() } +func file_PlayerSetPauseRsp_proto_init() { + if File_PlayerSetPauseRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerSetPauseRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerSetPauseRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerSetPauseRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerSetPauseRsp_proto_goTypes, + DependencyIndexes: file_PlayerSetPauseRsp_proto_depIdxs, + MessageInfos: file_PlayerSetPauseRsp_proto_msgTypes, + }.Build() + File_PlayerSetPauseRsp_proto = out.File + file_PlayerSetPauseRsp_proto_rawDesc = nil + file_PlayerSetPauseRsp_proto_goTypes = nil + file_PlayerSetPauseRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerSetPauseRsp.proto b/gate-hk4e-api/proto/PlayerSetPauseRsp.proto new file mode 100644 index 00000000..e2eed91b --- /dev/null +++ b/gate-hk4e-api/proto/PlayerSetPauseRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 156 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerSetPauseRsp { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/PlayerStartMatchReq.pb.go b/gate-hk4e-api/proto/PlayerStartMatchReq.pb.go new file mode 100644 index 00000000..a6206ff3 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStartMatchReq.pb.go @@ -0,0 +1,220 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerStartMatchReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4176 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PlayerStartMatchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchType MatchType `protobuf:"varint,3,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` + MechanicusDifficultLevel uint32 `protobuf:"varint,12,opt,name=mechanicus_difficult_level,json=mechanicusDifficultLevel,proto3" json:"mechanicus_difficult_level,omitempty"` + MatchParamList []uint32 `protobuf:"varint,11,rep,packed,name=match_param_list,json=matchParamList,proto3" json:"match_param_list,omitempty"` + DungeonId uint32 `protobuf:"varint,1,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + MpPlayId uint32 `protobuf:"varint,15,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + MatchId uint32 `protobuf:"varint,6,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` +} + +func (x *PlayerStartMatchReq) Reset() { + *x = PlayerStartMatchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerStartMatchReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerStartMatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerStartMatchReq) ProtoMessage() {} + +func (x *PlayerStartMatchReq) ProtoReflect() protoreflect.Message { + mi := &file_PlayerStartMatchReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerStartMatchReq.ProtoReflect.Descriptor instead. +func (*PlayerStartMatchReq) Descriptor() ([]byte, []int) { + return file_PlayerStartMatchReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerStartMatchReq) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +func (x *PlayerStartMatchReq) GetMechanicusDifficultLevel() uint32 { + if x != nil { + return x.MechanicusDifficultLevel + } + return 0 +} + +func (x *PlayerStartMatchReq) GetMatchParamList() []uint32 { + if x != nil { + return x.MatchParamList + } + return nil +} + +func (x *PlayerStartMatchReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerStartMatchReq) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *PlayerStartMatchReq) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +var File_PlayerStartMatchReq_proto protoreflect.FileDescriptor + +var file_PlayerStartMatchReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, + 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x3c, 0x0a, 0x1a, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x64, 0x69, + 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x18, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x44, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x28, 0x0a, + 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, + 0x61, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerStartMatchReq_proto_rawDescOnce sync.Once + file_PlayerStartMatchReq_proto_rawDescData = file_PlayerStartMatchReq_proto_rawDesc +) + +func file_PlayerStartMatchReq_proto_rawDescGZIP() []byte { + file_PlayerStartMatchReq_proto_rawDescOnce.Do(func() { + file_PlayerStartMatchReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerStartMatchReq_proto_rawDescData) + }) + return file_PlayerStartMatchReq_proto_rawDescData +} + +var file_PlayerStartMatchReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerStartMatchReq_proto_goTypes = []interface{}{ + (*PlayerStartMatchReq)(nil), // 0: PlayerStartMatchReq + (MatchType)(0), // 1: MatchType +} +var file_PlayerStartMatchReq_proto_depIdxs = []int32{ + 1, // 0: PlayerStartMatchReq.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerStartMatchReq_proto_init() } +func file_PlayerStartMatchReq_proto_init() { + if File_PlayerStartMatchReq_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerStartMatchReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerStartMatchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerStartMatchReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerStartMatchReq_proto_goTypes, + DependencyIndexes: file_PlayerStartMatchReq_proto_depIdxs, + MessageInfos: file_PlayerStartMatchReq_proto_msgTypes, + }.Build() + File_PlayerStartMatchReq_proto = out.File + file_PlayerStartMatchReq_proto_rawDesc = nil + file_PlayerStartMatchReq_proto_goTypes = nil + file_PlayerStartMatchReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerStartMatchReq.proto b/gate-hk4e-api/proto/PlayerStartMatchReq.proto new file mode 100644 index 00000000..4177b856 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStartMatchReq.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4176 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PlayerStartMatchReq { + MatchType match_type = 3; + uint32 mechanicus_difficult_level = 12; + repeated uint32 match_param_list = 11; + uint32 dungeon_id = 1; + uint32 mp_play_id = 15; + uint32 match_id = 6; +} diff --git a/gate-hk4e-api/proto/PlayerStartMatchRsp.pb.go b/gate-hk4e-api/proto/PlayerStartMatchRsp.pb.go new file mode 100644 index 00000000..7b5bed7e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStartMatchRsp.pb.go @@ -0,0 +1,238 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerStartMatchRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4168 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerStartMatchRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + PunishEndTime uint32 `protobuf:"varint,5,opt,name=punish_end_time,json=punishEndTime,proto3" json:"punish_end_time,omitempty"` + Param uint32 `protobuf:"varint,4,opt,name=param,proto3" json:"param,omitempty"` + MpPlayId uint32 `protobuf:"varint,13,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` + MechanicusDifficultLevel uint32 `protobuf:"varint,2,opt,name=mechanicus_difficult_level,json=mechanicusDifficultLevel,proto3" json:"mechanicus_difficult_level,omitempty"` + DungeonId uint32 `protobuf:"varint,3,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + MatchId uint32 `protobuf:"varint,8,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` + MatchType MatchType `protobuf:"varint,7,opt,name=match_type,json=matchType,proto3,enum=MatchType" json:"match_type,omitempty"` +} + +func (x *PlayerStartMatchRsp) Reset() { + *x = PlayerStartMatchRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerStartMatchRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerStartMatchRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerStartMatchRsp) ProtoMessage() {} + +func (x *PlayerStartMatchRsp) ProtoReflect() protoreflect.Message { + mi := &file_PlayerStartMatchRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerStartMatchRsp.ProtoReflect.Descriptor instead. +func (*PlayerStartMatchRsp) Descriptor() ([]byte, []int) { + return file_PlayerStartMatchRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerStartMatchRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetPunishEndTime() uint32 { + if x != nil { + return x.PunishEndTime + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetMechanicusDifficultLevel() uint32 { + if x != nil { + return x.MechanicusDifficultLevel + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +func (x *PlayerStartMatchRsp) GetMatchType() MatchType { + if x != nil { + return x.MatchType + } + return MatchType_MATCH_TYPE_NONE +} + +var File_PlayerStartMatchRsp_proto protoreflect.FileDescriptor + +var file_PlayerStartMatchRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, + 0x13, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x26, + 0x0a, 0x0f, 0x70, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x45, + 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x0a, + 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x6d, 0x65, + 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, + 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PlayerStartMatchRsp_proto_rawDescOnce sync.Once + file_PlayerStartMatchRsp_proto_rawDescData = file_PlayerStartMatchRsp_proto_rawDesc +) + +func file_PlayerStartMatchRsp_proto_rawDescGZIP() []byte { + file_PlayerStartMatchRsp_proto_rawDescOnce.Do(func() { + file_PlayerStartMatchRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerStartMatchRsp_proto_rawDescData) + }) + return file_PlayerStartMatchRsp_proto_rawDescData +} + +var file_PlayerStartMatchRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerStartMatchRsp_proto_goTypes = []interface{}{ + (*PlayerStartMatchRsp)(nil), // 0: PlayerStartMatchRsp + (MatchType)(0), // 1: MatchType +} +var file_PlayerStartMatchRsp_proto_depIdxs = []int32{ + 1, // 0: PlayerStartMatchRsp.match_type:type_name -> MatchType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerStartMatchRsp_proto_init() } +func file_PlayerStartMatchRsp_proto_init() { + if File_PlayerStartMatchRsp_proto != nil { + return + } + file_MatchType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerStartMatchRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerStartMatchRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerStartMatchRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerStartMatchRsp_proto_goTypes, + DependencyIndexes: file_PlayerStartMatchRsp_proto_depIdxs, + MessageInfos: file_PlayerStartMatchRsp_proto_msgTypes, + }.Build() + File_PlayerStartMatchRsp_proto = out.File + file_PlayerStartMatchRsp_proto_rawDesc = nil + file_PlayerStartMatchRsp_proto_goTypes = nil + file_PlayerStartMatchRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerStartMatchRsp.proto b/gate-hk4e-api/proto/PlayerStartMatchRsp.proto new file mode 100644 index 00000000..e47d8679 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStartMatchRsp.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MatchType.proto"; + +option go_package = "./;proto"; + +// CmdId: 4168 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerStartMatchRsp { + int32 retcode = 1; + uint32 punish_end_time = 5; + uint32 param = 4; + uint32 mp_play_id = 13; + uint32 mechanicus_difficult_level = 2; + uint32 dungeon_id = 3; + uint32 match_id = 8; + MatchType match_type = 7; +} diff --git a/gate-hk4e-api/proto/PlayerStoreNotify.pb.go b/gate-hk4e-api/proto/PlayerStoreNotify.pb.go new file mode 100644 index 00000000..980e60b7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStoreNotify.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerStoreNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 672 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerStoreNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*Item `protobuf:"bytes,15,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + WeightLimit uint32 `protobuf:"varint,8,opt,name=weight_limit,json=weightLimit,proto3" json:"weight_limit,omitempty"` + StoreType StoreType `protobuf:"varint,2,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` +} + +func (x *PlayerStoreNotify) Reset() { + *x = PlayerStoreNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerStoreNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerStoreNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerStoreNotify) ProtoMessage() {} + +func (x *PlayerStoreNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerStoreNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerStoreNotify.ProtoReflect.Descriptor instead. +func (*PlayerStoreNotify) Descriptor() ([]byte, []int) { + return file_PlayerStoreNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerStoreNotify) GetItemList() []*Item { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *PlayerStoreNotify) GetWeightLimit() uint32 { + if x != nil { + return x.WeightLimit + } + return 0 +} + +func (x *PlayerStoreNotify) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +var File_PlayerStoreNotify_proto protoreflect.FileDescriptor + +var file_PlayerStoreNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x09, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x05, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PlayerStoreNotify_proto_rawDescOnce sync.Once + file_PlayerStoreNotify_proto_rawDescData = file_PlayerStoreNotify_proto_rawDesc +) + +func file_PlayerStoreNotify_proto_rawDescGZIP() []byte { + file_PlayerStoreNotify_proto_rawDescOnce.Do(func() { + file_PlayerStoreNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerStoreNotify_proto_rawDescData) + }) + return file_PlayerStoreNotify_proto_rawDescData +} + +var file_PlayerStoreNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerStoreNotify_proto_goTypes = []interface{}{ + (*PlayerStoreNotify)(nil), // 0: PlayerStoreNotify + (*Item)(nil), // 1: Item + (StoreType)(0), // 2: StoreType +} +var file_PlayerStoreNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerStoreNotify.item_list:type_name -> Item + 2, // 1: PlayerStoreNotify.store_type:type_name -> StoreType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_PlayerStoreNotify_proto_init() } +func file_PlayerStoreNotify_proto_init() { + if File_PlayerStoreNotify_proto != nil { + return + } + file_Item_proto_init() + file_StoreType_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerStoreNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerStoreNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerStoreNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerStoreNotify_proto_goTypes, + DependencyIndexes: file_PlayerStoreNotify_proto_depIdxs, + MessageInfos: file_PlayerStoreNotify_proto_msgTypes, + }.Build() + File_PlayerStoreNotify_proto = out.File + file_PlayerStoreNotify_proto_rawDesc = nil + file_PlayerStoreNotify_proto_goTypes = nil + file_PlayerStoreNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerStoreNotify.proto b/gate-hk4e-api/proto/PlayerStoreNotify.proto new file mode 100644 index 00000000..d5547d0f --- /dev/null +++ b/gate-hk4e-api/proto/PlayerStoreNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Item.proto"; +import "StoreType.proto"; + +option go_package = "./;proto"; + +// CmdId: 672 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerStoreNotify { + repeated Item item_list = 15; + uint32 weight_limit = 8; + StoreType store_type = 2; +} diff --git a/gate-hk4e-api/proto/PlayerTimeNotify.pb.go b/gate-hk4e-api/proto/PlayerTimeNotify.pb.go new file mode 100644 index 00000000..8c706fc7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerTimeNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 191 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerTime uint64 `protobuf:"varint,5,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` + PlayerTime uint64 `protobuf:"varint,11,opt,name=player_time,json=playerTime,proto3" json:"player_time,omitempty"` + IsPaused bool `protobuf:"varint,14,opt,name=is_paused,json=isPaused,proto3" json:"is_paused,omitempty"` +} + +func (x *PlayerTimeNotify) Reset() { + *x = PlayerTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerTimeNotify) ProtoMessage() {} + +func (x *PlayerTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerTimeNotify.ProtoReflect.Descriptor instead. +func (*PlayerTimeNotify) Descriptor() ([]byte, []int) { + return file_PlayerTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerTimeNotify) GetServerTime() uint64 { + if x != nil { + return x.ServerTime + } + return 0 +} + +func (x *PlayerTimeNotify) GetPlayerTime() uint64 { + if x != nil { + return x.PlayerTime + } + return 0 +} + +func (x *PlayerTimeNotify) GetIsPaused() bool { + if x != nil { + return x.IsPaused + } + return false +} + +var File_PlayerTimeNotify_proto protoreflect.FileDescriptor + +var file_PlayerTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerTimeNotify_proto_rawDescOnce sync.Once + file_PlayerTimeNotify_proto_rawDescData = file_PlayerTimeNotify_proto_rawDesc +) + +func file_PlayerTimeNotify_proto_rawDescGZIP() []byte { + file_PlayerTimeNotify_proto_rawDescOnce.Do(func() { + file_PlayerTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerTimeNotify_proto_rawDescData) + }) + return file_PlayerTimeNotify_proto_rawDescData +} + +var file_PlayerTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerTimeNotify_proto_goTypes = []interface{}{ + (*PlayerTimeNotify)(nil), // 0: PlayerTimeNotify +} +var file_PlayerTimeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerTimeNotify_proto_init() } +func file_PlayerTimeNotify_proto_init() { + if File_PlayerTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerTimeNotify_proto_goTypes, + DependencyIndexes: file_PlayerTimeNotify_proto_depIdxs, + MessageInfos: file_PlayerTimeNotify_proto_msgTypes, + }.Build() + File_PlayerTimeNotify_proto = out.File + file_PlayerTimeNotify_proto_rawDesc = nil + file_PlayerTimeNotify_proto_goTypes = nil + file_PlayerTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerTimeNotify.proto b/gate-hk4e-api/proto/PlayerTimeNotify.proto new file mode 100644 index 00000000..718116ce --- /dev/null +++ b/gate-hk4e-api/proto/PlayerTimeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 191 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerTimeNotify { + uint64 server_time = 5; + uint64 player_time = 11; + bool is_paused = 14; +} diff --git a/gate-hk4e-api/proto/PlayerUidExtInfo.pb.go b/gate-hk4e-api/proto/PlayerUidExtInfo.pb.go new file mode 100644 index 00000000..efbc11cb --- /dev/null +++ b/gate-hk4e-api/proto/PlayerUidExtInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerUidExtInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerUidExtInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegPlatform uint32 `protobuf:"varint,1,opt,name=reg_platform,json=regPlatform,proto3" json:"reg_platform,omitempty"` +} + +func (x *PlayerUidExtInfo) Reset() { + *x = PlayerUidExtInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerUidExtInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerUidExtInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerUidExtInfo) ProtoMessage() {} + +func (x *PlayerUidExtInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerUidExtInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerUidExtInfo.ProtoReflect.Descriptor instead. +func (*PlayerUidExtInfo) Descriptor() ([]byte, []int) { + return file_PlayerUidExtInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerUidExtInfo) GetRegPlatform() uint32 { + if x != nil { + return x.RegPlatform + } + return 0 +} + +var File_PlayerUidExtInfo_proto protoreflect.FileDescriptor + +var file_PlayerUidExtInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, 0x45, 0x78, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x55, 0x69, 0x64, 0x45, 0x78, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, + 0x72, 0x65, 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerUidExtInfo_proto_rawDescOnce sync.Once + file_PlayerUidExtInfo_proto_rawDescData = file_PlayerUidExtInfo_proto_rawDesc +) + +func file_PlayerUidExtInfo_proto_rawDescGZIP() []byte { + file_PlayerUidExtInfo_proto_rawDescOnce.Do(func() { + file_PlayerUidExtInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerUidExtInfo_proto_rawDescData) + }) + return file_PlayerUidExtInfo_proto_rawDescData +} + +var file_PlayerUidExtInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerUidExtInfo_proto_goTypes = []interface{}{ + (*PlayerUidExtInfo)(nil), // 0: PlayerUidExtInfo +} +var file_PlayerUidExtInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerUidExtInfo_proto_init() } +func file_PlayerUidExtInfo_proto_init() { + if File_PlayerUidExtInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerUidExtInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerUidExtInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerUidExtInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerUidExtInfo_proto_goTypes, + DependencyIndexes: file_PlayerUidExtInfo_proto_depIdxs, + MessageInfos: file_PlayerUidExtInfo_proto_msgTypes, + }.Build() + File_PlayerUidExtInfo_proto = out.File + file_PlayerUidExtInfo_proto_rawDesc = nil + file_PlayerUidExtInfo_proto_goTypes = nil + file_PlayerUidExtInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerUidExtInfo.proto b/gate-hk4e-api/proto/PlayerUidExtInfo.proto new file mode 100644 index 00000000..d10fa1b5 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerUidExtInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayerUidExtInfo { + uint32 reg_platform = 1; +} diff --git a/gate-hk4e-api/proto/PlayerWorldLocationInfo.pb.go b/gate-hk4e-api/proto/PlayerWorldLocationInfo.pb.go new file mode 100644 index 00000000..5ce0ef48 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldLocationInfo.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerWorldLocationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerWorldLocationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PlayerLoc *PlayerLocationInfo `protobuf:"bytes,12,opt,name=player_loc,json=playerLoc,proto3" json:"player_loc,omitempty"` +} + +func (x *PlayerWorldLocationInfo) Reset() { + *x = PlayerWorldLocationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerWorldLocationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerWorldLocationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerWorldLocationInfo) ProtoMessage() {} + +func (x *PlayerWorldLocationInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerWorldLocationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerWorldLocationInfo.ProtoReflect.Descriptor instead. +func (*PlayerWorldLocationInfo) Descriptor() ([]byte, []int) { + return file_PlayerWorldLocationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerWorldLocationInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *PlayerWorldLocationInfo) GetPlayerLoc() *PlayerLocationInfo { + if x != nil { + return x.PlayerLoc + } + return nil +} + +var File_PlayerWorldLocationInfo_proto protoreflect.FileDescriptor + +var file_PlayerWorldLocationInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x17, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, + 0x32, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x63, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x4c, 0x6f, 0x63, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerWorldLocationInfo_proto_rawDescOnce sync.Once + file_PlayerWorldLocationInfo_proto_rawDescData = file_PlayerWorldLocationInfo_proto_rawDesc +) + +func file_PlayerWorldLocationInfo_proto_rawDescGZIP() []byte { + file_PlayerWorldLocationInfo_proto_rawDescOnce.Do(func() { + file_PlayerWorldLocationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerWorldLocationInfo_proto_rawDescData) + }) + return file_PlayerWorldLocationInfo_proto_rawDescData +} + +var file_PlayerWorldLocationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerWorldLocationInfo_proto_goTypes = []interface{}{ + (*PlayerWorldLocationInfo)(nil), // 0: PlayerWorldLocationInfo + (*PlayerLocationInfo)(nil), // 1: PlayerLocationInfo +} +var file_PlayerWorldLocationInfo_proto_depIdxs = []int32{ + 1, // 0: PlayerWorldLocationInfo.player_loc:type_name -> PlayerLocationInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerWorldLocationInfo_proto_init() } +func file_PlayerWorldLocationInfo_proto_init() { + if File_PlayerWorldLocationInfo_proto != nil { + return + } + file_PlayerLocationInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerWorldLocationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerWorldLocationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerWorldLocationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerWorldLocationInfo_proto_goTypes, + DependencyIndexes: file_PlayerWorldLocationInfo_proto_depIdxs, + MessageInfos: file_PlayerWorldLocationInfo_proto_msgTypes, + }.Build() + File_PlayerWorldLocationInfo_proto = out.File + file_PlayerWorldLocationInfo_proto_rawDesc = nil + file_PlayerWorldLocationInfo_proto_goTypes = nil + file_PlayerWorldLocationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerWorldLocationInfo.proto b/gate-hk4e-api/proto/PlayerWorldLocationInfo.proto new file mode 100644 index 00000000..1ff529a7 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldLocationInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerLocationInfo.proto"; + +option go_package = "./;proto"; + +message PlayerWorldLocationInfo { + uint32 scene_id = 1; + PlayerLocationInfo player_loc = 12; +} diff --git a/gate-hk4e-api/proto/PlayerWorldSceneInfo.pb.go b/gate-hk4e-api/proto/PlayerWorldSceneInfo.pb.go new file mode 100644 index 00000000..260cd45e --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldSceneInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerWorldSceneInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PlayerWorldSceneInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,11,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + SceneTagIdList []uint32 `protobuf:"varint,8,rep,packed,name=scene_tag_id_list,json=sceneTagIdList,proto3" json:"scene_tag_id_list,omitempty"` + IsLocked bool `protobuf:"varint,12,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` +} + +func (x *PlayerWorldSceneInfo) Reset() { + *x = PlayerWorldSceneInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerWorldSceneInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerWorldSceneInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerWorldSceneInfo) ProtoMessage() {} + +func (x *PlayerWorldSceneInfo) ProtoReflect() protoreflect.Message { + mi := &file_PlayerWorldSceneInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerWorldSceneInfo.ProtoReflect.Descriptor instead. +func (*PlayerWorldSceneInfo) Descriptor() ([]byte, []int) { + return file_PlayerWorldSceneInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerWorldSceneInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *PlayerWorldSceneInfo) GetSceneTagIdList() []uint32 { + if x != nil { + return x.SceneTagIdList + } + return nil +} + +func (x *PlayerWorldSceneInfo) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +var File_PlayerWorldSceneInfo_proto protoreflect.FileDescriptor + +var file_PlayerWorldSceneInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x14, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, + 0x29, 0x0a, 0x11, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x54, 0x61, 0x67, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerWorldSceneInfo_proto_rawDescOnce sync.Once + file_PlayerWorldSceneInfo_proto_rawDescData = file_PlayerWorldSceneInfo_proto_rawDesc +) + +func file_PlayerWorldSceneInfo_proto_rawDescGZIP() []byte { + file_PlayerWorldSceneInfo_proto_rawDescOnce.Do(func() { + file_PlayerWorldSceneInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerWorldSceneInfo_proto_rawDescData) + }) + return file_PlayerWorldSceneInfo_proto_rawDescData +} + +var file_PlayerWorldSceneInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerWorldSceneInfo_proto_goTypes = []interface{}{ + (*PlayerWorldSceneInfo)(nil), // 0: PlayerWorldSceneInfo +} +var file_PlayerWorldSceneInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PlayerWorldSceneInfo_proto_init() } +func file_PlayerWorldSceneInfo_proto_init() { + if File_PlayerWorldSceneInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PlayerWorldSceneInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerWorldSceneInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerWorldSceneInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerWorldSceneInfo_proto_goTypes, + DependencyIndexes: file_PlayerWorldSceneInfo_proto_depIdxs, + MessageInfos: file_PlayerWorldSceneInfo_proto_msgTypes, + }.Build() + File_PlayerWorldSceneInfo_proto = out.File + file_PlayerWorldSceneInfo_proto_rawDesc = nil + file_PlayerWorldSceneInfo_proto_goTypes = nil + file_PlayerWorldSceneInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerWorldSceneInfo.proto b/gate-hk4e-api/proto/PlayerWorldSceneInfo.proto new file mode 100644 index 00000000..7f3b7332 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldSceneInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PlayerWorldSceneInfo { + uint32 scene_id = 11; + repeated uint32 scene_tag_id_list = 8; + bool is_locked = 12; +} diff --git a/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.pb.go b/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.pb.go new file mode 100644 index 00000000..ae3359e1 --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PlayerWorldSceneInfoListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3129 +// EnetChannelId: 0 +// EnetIsReliable: true +type PlayerWorldSceneInfoListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*PlayerWorldSceneInfo `protobuf:"bytes,5,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *PlayerWorldSceneInfoListNotify) Reset() { + *x = PlayerWorldSceneInfoListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PlayerWorldSceneInfoListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlayerWorldSceneInfoListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlayerWorldSceneInfoListNotify) ProtoMessage() {} + +func (x *PlayerWorldSceneInfoListNotify) ProtoReflect() protoreflect.Message { + mi := &file_PlayerWorldSceneInfoListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlayerWorldSceneInfoListNotify.ProtoReflect.Descriptor instead. +func (*PlayerWorldSceneInfoListNotify) Descriptor() ([]byte, []int) { + return file_PlayerWorldSceneInfoListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PlayerWorldSceneInfoListNotify) GetInfoList() []*PlayerWorldSceneInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_PlayerWorldSceneInfoListNotify_proto protoreflect.FileDescriptor + +var file_PlayerWorldSceneInfoListNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, + 0x72, 0x6c, 0x64, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x1e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x69, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PlayerWorldSceneInfoListNotify_proto_rawDescOnce sync.Once + file_PlayerWorldSceneInfoListNotify_proto_rawDescData = file_PlayerWorldSceneInfoListNotify_proto_rawDesc +) + +func file_PlayerWorldSceneInfoListNotify_proto_rawDescGZIP() []byte { + file_PlayerWorldSceneInfoListNotify_proto_rawDescOnce.Do(func() { + file_PlayerWorldSceneInfoListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PlayerWorldSceneInfoListNotify_proto_rawDescData) + }) + return file_PlayerWorldSceneInfoListNotify_proto_rawDescData +} + +var file_PlayerWorldSceneInfoListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PlayerWorldSceneInfoListNotify_proto_goTypes = []interface{}{ + (*PlayerWorldSceneInfoListNotify)(nil), // 0: PlayerWorldSceneInfoListNotify + (*PlayerWorldSceneInfo)(nil), // 1: PlayerWorldSceneInfo +} +var file_PlayerWorldSceneInfoListNotify_proto_depIdxs = []int32{ + 1, // 0: PlayerWorldSceneInfoListNotify.info_list:type_name -> PlayerWorldSceneInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PlayerWorldSceneInfoListNotify_proto_init() } +func file_PlayerWorldSceneInfoListNotify_proto_init() { + if File_PlayerWorldSceneInfoListNotify_proto != nil { + return + } + file_PlayerWorldSceneInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PlayerWorldSceneInfoListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayerWorldSceneInfoListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PlayerWorldSceneInfoListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PlayerWorldSceneInfoListNotify_proto_goTypes, + DependencyIndexes: file_PlayerWorldSceneInfoListNotify_proto_depIdxs, + MessageInfos: file_PlayerWorldSceneInfoListNotify_proto_msgTypes, + }.Build() + File_PlayerWorldSceneInfoListNotify_proto = out.File + file_PlayerWorldSceneInfoListNotify_proto_rawDesc = nil + file_PlayerWorldSceneInfoListNotify_proto_goTypes = nil + file_PlayerWorldSceneInfoListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.proto b/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.proto new file mode 100644 index 00000000..aacb81bd --- /dev/null +++ b/gate-hk4e-api/proto/PlayerWorldSceneInfoListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerWorldSceneInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3129 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerWorldSceneInfoListNotify { + repeated PlayerWorldSceneInfo info_list = 5; +} diff --git a/gate-hk4e-api/proto/PolygonRegionSize.pb.go b/gate-hk4e-api/proto/PolygonRegionSize.pb.go new file mode 100644 index 00000000..bd20ec25 --- /dev/null +++ b/gate-hk4e-api/proto/PolygonRegionSize.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PolygonRegionSize.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PolygonRegionSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointList []*VectorPlane `protobuf:"bytes,5,rep,name=point_list,json=pointList,proto3" json:"point_list,omitempty"` + Height float32 `protobuf:"fixed32,9,opt,name=height,proto3" json:"height,omitempty"` +} + +func (x *PolygonRegionSize) Reset() { + *x = PolygonRegionSize{} + if protoimpl.UnsafeEnabled { + mi := &file_PolygonRegionSize_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PolygonRegionSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PolygonRegionSize) ProtoMessage() {} + +func (x *PolygonRegionSize) ProtoReflect() protoreflect.Message { + mi := &file_PolygonRegionSize_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PolygonRegionSize.ProtoReflect.Descriptor instead. +func (*PolygonRegionSize) Descriptor() ([]byte, []int) { + return file_PolygonRegionSize_proto_rawDescGZIP(), []int{0} +} + +func (x *PolygonRegionSize) GetPointList() []*VectorPlane { + if x != nil { + return x.PointList + } + return nil +} + +func (x *PolygonRegionSize) GetHeight() float32 { + if x != nil { + return x.Height + } + return 0 +} + +var File_PolygonRegionSize_proto protoreflect.FileDescriptor + +var file_PolygonRegionSize_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, + 0x69, 0x7a, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x11, + 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x2b, 0x0a, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, + 0x61, 0x6e, 0x65, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PolygonRegionSize_proto_rawDescOnce sync.Once + file_PolygonRegionSize_proto_rawDescData = file_PolygonRegionSize_proto_rawDesc +) + +func file_PolygonRegionSize_proto_rawDescGZIP() []byte { + file_PolygonRegionSize_proto_rawDescOnce.Do(func() { + file_PolygonRegionSize_proto_rawDescData = protoimpl.X.CompressGZIP(file_PolygonRegionSize_proto_rawDescData) + }) + return file_PolygonRegionSize_proto_rawDescData +} + +var file_PolygonRegionSize_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PolygonRegionSize_proto_goTypes = []interface{}{ + (*PolygonRegionSize)(nil), // 0: PolygonRegionSize + (*VectorPlane)(nil), // 1: VectorPlane +} +var file_PolygonRegionSize_proto_depIdxs = []int32{ + 1, // 0: PolygonRegionSize.point_list:type_name -> VectorPlane + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PolygonRegionSize_proto_init() } +func file_PolygonRegionSize_proto_init() { + if File_PolygonRegionSize_proto != nil { + return + } + file_VectorPlane_proto_init() + if !protoimpl.UnsafeEnabled { + file_PolygonRegionSize_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PolygonRegionSize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PolygonRegionSize_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PolygonRegionSize_proto_goTypes, + DependencyIndexes: file_PolygonRegionSize_proto_depIdxs, + MessageInfos: file_PolygonRegionSize_proto_msgTypes, + }.Build() + File_PolygonRegionSize_proto = out.File + file_PolygonRegionSize_proto_rawDesc = nil + file_PolygonRegionSize_proto_goTypes = nil + file_PolygonRegionSize_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PolygonRegionSize.proto b/gate-hk4e-api/proto/PolygonRegionSize.proto new file mode 100644 index 00000000..f85b4c4f --- /dev/null +++ b/gate-hk4e-api/proto/PolygonRegionSize.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "VectorPlane.proto"; + +option go_package = "./;proto"; + +message PolygonRegionSize { + repeated VectorPlane point_list = 5; + float height = 9; +} diff --git a/gate-hk4e-api/proto/PostEnterSceneReq.pb.go b/gate-hk4e-api/proto/PostEnterSceneReq.pb.go new file mode 100644 index 00000000..a5bd3d85 --- /dev/null +++ b/gate-hk4e-api/proto/PostEnterSceneReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PostEnterSceneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PostEnterSceneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,12,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *PostEnterSceneReq) Reset() { + *x = PostEnterSceneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PostEnterSceneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostEnterSceneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostEnterSceneReq) ProtoMessage() {} + +func (x *PostEnterSceneReq) ProtoReflect() protoreflect.Message { + mi := &file_PostEnterSceneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostEnterSceneReq.ProtoReflect.Descriptor instead. +func (*PostEnterSceneReq) Descriptor() ([]byte, []int) { + return file_PostEnterSceneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PostEnterSceneReq) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_PostEnterSceneReq_proto protoreflect.FileDescriptor + +var file_PostEnterSceneReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x11, 0x50, 0x6f, 0x73, + 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x2a, + 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PostEnterSceneReq_proto_rawDescOnce sync.Once + file_PostEnterSceneReq_proto_rawDescData = file_PostEnterSceneReq_proto_rawDesc +) + +func file_PostEnterSceneReq_proto_rawDescGZIP() []byte { + file_PostEnterSceneReq_proto_rawDescOnce.Do(func() { + file_PostEnterSceneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PostEnterSceneReq_proto_rawDescData) + }) + return file_PostEnterSceneReq_proto_rawDescData +} + +var file_PostEnterSceneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PostEnterSceneReq_proto_goTypes = []interface{}{ + (*PostEnterSceneReq)(nil), // 0: PostEnterSceneReq +} +var file_PostEnterSceneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PostEnterSceneReq_proto_init() } +func file_PostEnterSceneReq_proto_init() { + if File_PostEnterSceneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PostEnterSceneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostEnterSceneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PostEnterSceneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PostEnterSceneReq_proto_goTypes, + DependencyIndexes: file_PostEnterSceneReq_proto_depIdxs, + MessageInfos: file_PostEnterSceneReq_proto_msgTypes, + }.Build() + File_PostEnterSceneReq_proto = out.File + file_PostEnterSceneReq_proto_rawDesc = nil + file_PostEnterSceneReq_proto_goTypes = nil + file_PostEnterSceneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PostEnterSceneReq.proto b/gate-hk4e-api/proto/PostEnterSceneReq.proto new file mode 100644 index 00000000..6a5f544c --- /dev/null +++ b/gate-hk4e-api/proto/PostEnterSceneReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PostEnterSceneReq { + uint32 enter_scene_token = 12; +} diff --git a/gate-hk4e-api/proto/PostEnterSceneRsp.pb.go b/gate-hk4e-api/proto/PostEnterSceneRsp.pb.go new file mode 100644 index 00000000..1b96a1ee --- /dev/null +++ b/gate-hk4e-api/proto/PostEnterSceneRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PostEnterSceneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3184 +// EnetChannelId: 0 +// EnetIsReliable: true +type PostEnterSceneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + EnterSceneToken uint32 `protobuf:"varint,12,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *PostEnterSceneRsp) Reset() { + *x = PostEnterSceneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PostEnterSceneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostEnterSceneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostEnterSceneRsp) ProtoMessage() {} + +func (x *PostEnterSceneRsp) ProtoReflect() protoreflect.Message { + mi := &file_PostEnterSceneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostEnterSceneRsp.ProtoReflect.Descriptor instead. +func (*PostEnterSceneRsp) Descriptor() ([]byte, []int) { + return file_PostEnterSceneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PostEnterSceneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *PostEnterSceneRsp) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_PostEnterSceneRsp_proto protoreflect.FileDescriptor + +var file_PostEnterSceneRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x11, 0x50, 0x6f, 0x73, + 0x74, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PostEnterSceneRsp_proto_rawDescOnce sync.Once + file_PostEnterSceneRsp_proto_rawDescData = file_PostEnterSceneRsp_proto_rawDesc +) + +func file_PostEnterSceneRsp_proto_rawDescGZIP() []byte { + file_PostEnterSceneRsp_proto_rawDescOnce.Do(func() { + file_PostEnterSceneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PostEnterSceneRsp_proto_rawDescData) + }) + return file_PostEnterSceneRsp_proto_rawDescData +} + +var file_PostEnterSceneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PostEnterSceneRsp_proto_goTypes = []interface{}{ + (*PostEnterSceneRsp)(nil), // 0: PostEnterSceneRsp +} +var file_PostEnterSceneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PostEnterSceneRsp_proto_init() } +func file_PostEnterSceneRsp_proto_init() { + if File_PostEnterSceneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PostEnterSceneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostEnterSceneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PostEnterSceneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PostEnterSceneRsp_proto_goTypes, + DependencyIndexes: file_PostEnterSceneRsp_proto_depIdxs, + MessageInfos: file_PostEnterSceneRsp_proto_msgTypes, + }.Build() + File_PostEnterSceneRsp_proto = out.File + file_PostEnterSceneRsp_proto_rawDesc = nil + file_PostEnterSceneRsp_proto_goTypes = nil + file_PostEnterSceneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PostEnterSceneRsp.proto b/gate-hk4e-api/proto/PostEnterSceneRsp.proto new file mode 100644 index 00000000..7631d46e --- /dev/null +++ b/gate-hk4e-api/proto/PostEnterSceneRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3184 +// EnetChannelId: 0 +// EnetIsReliable: true +message PostEnterSceneRsp { + int32 retcode = 4; + uint32 enter_scene_token = 12; +} diff --git a/gate-hk4e-api/proto/PotionActivityDetailInfo.pb.go b/gate-hk4e-api/proto/PotionActivityDetailInfo.pb.go new file mode 100644 index 00000000..939339bf --- /dev/null +++ b/gate-hk4e-api/proto/PotionActivityDetailInfo.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PotionActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PotionActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageList []*PotionStage `protobuf:"bytes,10,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` +} + +func (x *PotionActivityDetailInfo) Reset() { + *x = PotionActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PotionActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PotionActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PotionActivityDetailInfo) ProtoMessage() {} + +func (x *PotionActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_PotionActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PotionActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*PotionActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_PotionActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PotionActivityDetailInfo) GetStageList() []*PotionStage { + if x != nil { + return x.StageList + } + return nil +} + +var File_PotionActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_PotionActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x18, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2b, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PotionActivityDetailInfo_proto_rawDescOnce sync.Once + file_PotionActivityDetailInfo_proto_rawDescData = file_PotionActivityDetailInfo_proto_rawDesc +) + +func file_PotionActivityDetailInfo_proto_rawDescGZIP() []byte { + file_PotionActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_PotionActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PotionActivityDetailInfo_proto_rawDescData) + }) + return file_PotionActivityDetailInfo_proto_rawDescData +} + +var file_PotionActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PotionActivityDetailInfo_proto_goTypes = []interface{}{ + (*PotionActivityDetailInfo)(nil), // 0: PotionActivityDetailInfo + (*PotionStage)(nil), // 1: PotionStage +} +var file_PotionActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: PotionActivityDetailInfo.stage_list:type_name -> PotionStage + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PotionActivityDetailInfo_proto_init() } +func file_PotionActivityDetailInfo_proto_init() { + if File_PotionActivityDetailInfo_proto != nil { + return + } + file_PotionStage_proto_init() + if !protoimpl.UnsafeEnabled { + file_PotionActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PotionActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PotionActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PotionActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_PotionActivityDetailInfo_proto_depIdxs, + MessageInfos: file_PotionActivityDetailInfo_proto_msgTypes, + }.Build() + File_PotionActivityDetailInfo_proto = out.File + file_PotionActivityDetailInfo_proto_rawDesc = nil + file_PotionActivityDetailInfo_proto_goTypes = nil + file_PotionActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PotionActivityDetailInfo.proto b/gate-hk4e-api/proto/PotionActivityDetailInfo.proto new file mode 100644 index 00000000..84094486 --- /dev/null +++ b/gate-hk4e-api/proto/PotionActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PotionStage.proto"; + +option go_package = "./;proto"; + +message PotionActivityDetailInfo { + repeated PotionStage stage_list = 10; +} diff --git a/gate-hk4e-api/proto/PotionDungeonResultInfo.pb.go b/gate-hk4e-api/proto/PotionDungeonResultInfo.pb.go new file mode 100644 index 00000000..158db98b --- /dev/null +++ b/gate-hk4e-api/proto/PotionDungeonResultInfo.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PotionDungeonResultInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PotionDungeonResultInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinalScore uint32 `protobuf:"varint,8,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + LeftTime uint32 `protobuf:"varint,9,opt,name=left_time,json=leftTime,proto3" json:"left_time,omitempty"` + Unk2700_FHEHGDABALE uint32 `protobuf:"varint,14,opt,name=Unk2700_FHEHGDABALE,json=Unk2700FHEHGDABALE,proto3" json:"Unk2700_FHEHGDABALE,omitempty"` + Unk2700_HKFEBBCMBHL uint32 `protobuf:"varint,11,opt,name=Unk2700_HKFEBBCMBHL,json=Unk2700HKFEBBCMBHL,proto3" json:"Unk2700_HKFEBBCMBHL,omitempty"` + LevelId uint32 `protobuf:"varint,4,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *PotionDungeonResultInfo) Reset() { + *x = PotionDungeonResultInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_PotionDungeonResultInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PotionDungeonResultInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PotionDungeonResultInfo) ProtoMessage() {} + +func (x *PotionDungeonResultInfo) ProtoReflect() protoreflect.Message { + mi := &file_PotionDungeonResultInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PotionDungeonResultInfo.ProtoReflect.Descriptor instead. +func (*PotionDungeonResultInfo) Descriptor() ([]byte, []int) { + return file_PotionDungeonResultInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *PotionDungeonResultInfo) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *PotionDungeonResultInfo) GetLeftTime() uint32 { + if x != nil { + return x.LeftTime + } + return 0 +} + +func (x *PotionDungeonResultInfo) GetUnk2700_FHEHGDABALE() uint32 { + if x != nil { + return x.Unk2700_FHEHGDABALE + } + return 0 +} + +func (x *PotionDungeonResultInfo) GetUnk2700_HKFEBBCMBHL() uint32 { + if x != nil { + return x.Unk2700_HKFEBBCMBHL + } + return 0 +} + +func (x *PotionDungeonResultInfo) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *PotionDungeonResultInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_PotionDungeonResultInfo_proto protoreflect.FileDescriptor + +var file_PotionDungeonResultInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xef, 0x01, 0x0a, 0x17, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6c, 0x65, 0x66, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x45, 0x48, 0x47, 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, + 0x48, 0x45, 0x48, 0x47, 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, 0x48, + 0x4c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, 0x48, 0x4c, 0x12, 0x19, 0x0a, 0x08, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PotionDungeonResultInfo_proto_rawDescOnce sync.Once + file_PotionDungeonResultInfo_proto_rawDescData = file_PotionDungeonResultInfo_proto_rawDesc +) + +func file_PotionDungeonResultInfo_proto_rawDescGZIP() []byte { + file_PotionDungeonResultInfo_proto_rawDescOnce.Do(func() { + file_PotionDungeonResultInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_PotionDungeonResultInfo_proto_rawDescData) + }) + return file_PotionDungeonResultInfo_proto_rawDescData +} + +var file_PotionDungeonResultInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PotionDungeonResultInfo_proto_goTypes = []interface{}{ + (*PotionDungeonResultInfo)(nil), // 0: PotionDungeonResultInfo +} +var file_PotionDungeonResultInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PotionDungeonResultInfo_proto_init() } +func file_PotionDungeonResultInfo_proto_init() { + if File_PotionDungeonResultInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PotionDungeonResultInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PotionDungeonResultInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PotionDungeonResultInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PotionDungeonResultInfo_proto_goTypes, + DependencyIndexes: file_PotionDungeonResultInfo_proto_depIdxs, + MessageInfos: file_PotionDungeonResultInfo_proto_msgTypes, + }.Build() + File_PotionDungeonResultInfo_proto = out.File + file_PotionDungeonResultInfo_proto_rawDesc = nil + file_PotionDungeonResultInfo_proto_goTypes = nil + file_PotionDungeonResultInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PotionDungeonResultInfo.proto b/gate-hk4e-api/proto/PotionDungeonResultInfo.proto new file mode 100644 index 00000000..b7c69cb5 --- /dev/null +++ b/gate-hk4e-api/proto/PotionDungeonResultInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PotionDungeonResultInfo { + uint32 final_score = 8; + uint32 left_time = 9; + uint32 Unk2700_FHEHGDABALE = 14; + uint32 Unk2700_HKFEBBCMBHL = 11; + uint32 level_id = 4; + uint32 stage_id = 2; +} diff --git a/gate-hk4e-api/proto/PotionStage.pb.go b/gate-hk4e-api/proto/PotionStage.pb.go new file mode 100644 index 00000000..effd6a2a --- /dev/null +++ b/gate-hk4e-api/proto/PotionStage.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PotionStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PotionStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,11,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_HFHCCJFDOKA []uint32 `protobuf:"varint,2,rep,packed,name=Unk2700_HFHCCJFDOKA,json=Unk2700HFHCCJFDOKA,proto3" json:"Unk2700_HFHCCJFDOKA,omitempty"` + IsOpen bool `protobuf:"varint,15,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + LevelList []*Unk2700_JLHKOLGFAMI `protobuf:"bytes,14,rep,name=level_list,json=levelList,proto3" json:"level_list,omitempty"` + Unk2700_LONIJGBDPIG []uint32 `protobuf:"varint,13,rep,packed,name=Unk2700_LONIJGBDPIG,json=Unk2700LONIJGBDPIG,proto3" json:"Unk2700_LONIJGBDPIG,omitempty"` +} + +func (x *PotionStage) Reset() { + *x = PotionStage{} + if protoimpl.UnsafeEnabled { + mi := &file_PotionStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PotionStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PotionStage) ProtoMessage() {} + +func (x *PotionStage) ProtoReflect() protoreflect.Message { + mi := &file_PotionStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PotionStage.ProtoReflect.Descriptor instead. +func (*PotionStage) Descriptor() ([]byte, []int) { + return file_PotionStage_proto_rawDescGZIP(), []int{0} +} + +func (x *PotionStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *PotionStage) GetUnk2700_HFHCCJFDOKA() []uint32 { + if x != nil { + return x.Unk2700_HFHCCJFDOKA + } + return nil +} + +func (x *PotionStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *PotionStage) GetLevelList() []*Unk2700_JLHKOLGFAMI { + if x != nil { + return x.LevelList + } + return nil +} + +func (x *PotionStage) GetUnk2700_LONIJGBDPIG() []uint32 { + if x != nil { + return x.Unk2700_LONIJGBDPIG + } + return nil +} + +var File_PotionStage_proto protoreflect.FileDescriptor + +var file_PotionStage_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4c, 0x48, + 0x4b, 0x4f, 0x4c, 0x47, 0x46, 0x41, 0x4d, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, + 0x01, 0x0a, 0x0b, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x48, 0x43, 0x43, 0x4a, 0x46, 0x44, 0x4f, 0x4b, 0x41, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x46, 0x48, 0x43, 0x43, 0x4a, 0x46, 0x44, 0x4f, 0x4b, 0x41, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, + 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, + 0x70, 0x65, 0x6e, 0x12, 0x33, 0x0a, 0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x4c, 0x48, 0x4b, 0x4f, 0x4c, 0x47, 0x46, 0x41, 0x4d, 0x49, 0x52, 0x09, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x4e, 0x49, 0x4a, 0x47, 0x42, 0x44, 0x50, 0x49, 0x47, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4f, + 0x4e, 0x49, 0x4a, 0x47, 0x42, 0x44, 0x50, 0x49, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PotionStage_proto_rawDescOnce sync.Once + file_PotionStage_proto_rawDescData = file_PotionStage_proto_rawDesc +) + +func file_PotionStage_proto_rawDescGZIP() []byte { + file_PotionStage_proto_rawDescOnce.Do(func() { + file_PotionStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_PotionStage_proto_rawDescData) + }) + return file_PotionStage_proto_rawDescData +} + +var file_PotionStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PotionStage_proto_goTypes = []interface{}{ + (*PotionStage)(nil), // 0: PotionStage + (*Unk2700_JLHKOLGFAMI)(nil), // 1: Unk2700_JLHKOLGFAMI +} +var file_PotionStage_proto_depIdxs = []int32{ + 1, // 0: PotionStage.level_list:type_name -> Unk2700_JLHKOLGFAMI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PotionStage_proto_init() } +func file_PotionStage_proto_init() { + if File_PotionStage_proto != nil { + return + } + file_Unk2700_JLHKOLGFAMI_proto_init() + if !protoimpl.UnsafeEnabled { + file_PotionStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PotionStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PotionStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PotionStage_proto_goTypes, + DependencyIndexes: file_PotionStage_proto_depIdxs, + MessageInfos: file_PotionStage_proto_msgTypes, + }.Build() + File_PotionStage_proto = out.File + file_PotionStage_proto_rawDesc = nil + file_PotionStage_proto_goTypes = nil + file_PotionStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PotionStage.proto b/gate-hk4e-api/proto/PotionStage.proto new file mode 100644 index 00000000..77b67081 --- /dev/null +++ b/gate-hk4e-api/proto/PotionStage.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JLHKOLGFAMI.proto"; + +option go_package = "./;proto"; + +message PotionStage { + uint32 stage_id = 11; + repeated uint32 Unk2700_HFHCCJFDOKA = 2; + bool is_open = 15; + repeated Unk2700_JLHKOLGFAMI level_list = 14; + repeated uint32 Unk2700_LONIJGBDPIG = 13; +} diff --git a/gate-hk4e-api/proto/PrivateChatNotify.pb.go b/gate-hk4e-api/proto/PrivateChatNotify.pb.go new file mode 100644 index 00000000..497f4574 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PrivateChatNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4962 +// EnetChannelId: 0 +// EnetIsReliable: true +type PrivateChatNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatInfo *ChatInfo `protobuf:"bytes,7,opt,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` +} + +func (x *PrivateChatNotify) Reset() { + *x = PrivateChatNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PrivateChatNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateChatNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateChatNotify) ProtoMessage() {} + +func (x *PrivateChatNotify) ProtoReflect() protoreflect.Message { + mi := &file_PrivateChatNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateChatNotify.ProtoReflect.Descriptor instead. +func (*PrivateChatNotify) Descriptor() ([]byte, []int) { + return file_PrivateChatNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PrivateChatNotify) GetChatInfo() *ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +var File_PrivateChatNotify_proto protoreflect.FileDescriptor + +var file_PrivateChatNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x11, 0x50, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, + 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PrivateChatNotify_proto_rawDescOnce sync.Once + file_PrivateChatNotify_proto_rawDescData = file_PrivateChatNotify_proto_rawDesc +) + +func file_PrivateChatNotify_proto_rawDescGZIP() []byte { + file_PrivateChatNotify_proto_rawDescOnce.Do(func() { + file_PrivateChatNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PrivateChatNotify_proto_rawDescData) + }) + return file_PrivateChatNotify_proto_rawDescData +} + +var file_PrivateChatNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PrivateChatNotify_proto_goTypes = []interface{}{ + (*PrivateChatNotify)(nil), // 0: PrivateChatNotify + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_PrivateChatNotify_proto_depIdxs = []int32{ + 1, // 0: PrivateChatNotify.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PrivateChatNotify_proto_init() } +func file_PrivateChatNotify_proto_init() { + if File_PrivateChatNotify_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PrivateChatNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateChatNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PrivateChatNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PrivateChatNotify_proto_goTypes, + DependencyIndexes: file_PrivateChatNotify_proto_depIdxs, + MessageInfos: file_PrivateChatNotify_proto_msgTypes, + }.Build() + File_PrivateChatNotify_proto = out.File + file_PrivateChatNotify_proto_rawDesc = nil + file_PrivateChatNotify_proto_goTypes = nil + file_PrivateChatNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PrivateChatNotify.proto b/gate-hk4e-api/proto/PrivateChatNotify.proto new file mode 100644 index 00000000..ee5708ca --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4962 +// EnetChannelId: 0 +// EnetIsReliable: true +message PrivateChatNotify { + ChatInfo chat_info = 7; +} diff --git a/gate-hk4e-api/proto/PrivateChatReq.pb.go b/gate-hk4e-api/proto/PrivateChatReq.pb.go new file mode 100644 index 00000000..adcb2e00 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatReq.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PrivateChatReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5022 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PrivateChatReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,7,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + // Types that are assignable to Content: + // *PrivateChatReq_Text + // *PrivateChatReq_Icon + Content isPrivateChatReq_Content `protobuf_oneof:"content"` +} + +func (x *PrivateChatReq) Reset() { + *x = PrivateChatReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PrivateChatReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateChatReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateChatReq) ProtoMessage() {} + +func (x *PrivateChatReq) ProtoReflect() protoreflect.Message { + mi := &file_PrivateChatReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateChatReq.ProtoReflect.Descriptor instead. +func (*PrivateChatReq) Descriptor() ([]byte, []int) { + return file_PrivateChatReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PrivateChatReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (m *PrivateChatReq) GetContent() isPrivateChatReq_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *PrivateChatReq) GetText() string { + if x, ok := x.GetContent().(*PrivateChatReq_Text); ok { + return x.Text + } + return "" +} + +func (x *PrivateChatReq) GetIcon() uint32 { + if x, ok := x.GetContent().(*PrivateChatReq_Icon); ok { + return x.Icon + } + return 0 +} + +type isPrivateChatReq_Content interface { + isPrivateChatReq_Content() +} + +type PrivateChatReq_Text struct { + Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"` +} + +type PrivateChatReq_Icon struct { + Icon uint32 `protobuf:"varint,4,opt,name=icon,proto3,oneof"` +} + +func (*PrivateChatReq_Text) isPrivateChatReq_Content() {} + +func (*PrivateChatReq_Icon) isPrivateChatReq_Content() {} + +var File_PrivateChatReq_proto protoreflect.FileDescriptor + +var file_PrivateChatReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, + 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x04, 0x69, + 0x63, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_PrivateChatReq_proto_rawDescOnce sync.Once + file_PrivateChatReq_proto_rawDescData = file_PrivateChatReq_proto_rawDesc +) + +func file_PrivateChatReq_proto_rawDescGZIP() []byte { + file_PrivateChatReq_proto_rawDescOnce.Do(func() { + file_PrivateChatReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PrivateChatReq_proto_rawDescData) + }) + return file_PrivateChatReq_proto_rawDescData +} + +var file_PrivateChatReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PrivateChatReq_proto_goTypes = []interface{}{ + (*PrivateChatReq)(nil), // 0: PrivateChatReq +} +var file_PrivateChatReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PrivateChatReq_proto_init() } +func file_PrivateChatReq_proto_init() { + if File_PrivateChatReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PrivateChatReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateChatReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_PrivateChatReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*PrivateChatReq_Text)(nil), + (*PrivateChatReq_Icon)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PrivateChatReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PrivateChatReq_proto_goTypes, + DependencyIndexes: file_PrivateChatReq_proto_depIdxs, + MessageInfos: file_PrivateChatReq_proto_msgTypes, + }.Build() + File_PrivateChatReq_proto = out.File + file_PrivateChatReq_proto_rawDesc = nil + file_PrivateChatReq_proto_goTypes = nil + file_PrivateChatReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PrivateChatReq.proto b/gate-hk4e-api/proto/PrivateChatReq.proto new file mode 100644 index 00000000..0742e1f8 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5022 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PrivateChatReq { + uint32 target_uid = 7; + oneof content { + string text = 3; + uint32 icon = 4; + } +} diff --git a/gate-hk4e-api/proto/PrivateChatRsp.pb.go b/gate-hk4e-api/proto/PrivateChatRsp.pb.go new file mode 100644 index 00000000..e03ba744 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PrivateChatRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5048 +// EnetChannelId: 0 +// EnetIsReliable: true +type PrivateChatRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatForbiddenEndtime uint32 `protobuf:"varint,12,opt,name=chat_forbidden_endtime,json=chatForbiddenEndtime,proto3" json:"chat_forbidden_endtime,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PrivateChatRsp) Reset() { + *x = PrivateChatRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PrivateChatRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateChatRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateChatRsp) ProtoMessage() {} + +func (x *PrivateChatRsp) ProtoReflect() protoreflect.Message { + mi := &file_PrivateChatRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateChatRsp.ProtoReflect.Descriptor instead. +func (*PrivateChatRsp) Descriptor() ([]byte, []int) { + return file_PrivateChatRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PrivateChatRsp) GetChatForbiddenEndtime() uint32 { + if x != nil { + return x.ChatForbiddenEndtime + } + return 0 +} + +func (x *PrivateChatRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PrivateChatRsp_proto protoreflect.FileDescriptor + +var file_PrivateChatRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x68, 0x61, 0x74, + 0x5f, 0x66, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x63, 0x68, 0x61, 0x74, 0x46, 0x6f, + 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PrivateChatRsp_proto_rawDescOnce sync.Once + file_PrivateChatRsp_proto_rawDescData = file_PrivateChatRsp_proto_rawDesc +) + +func file_PrivateChatRsp_proto_rawDescGZIP() []byte { + file_PrivateChatRsp_proto_rawDescOnce.Do(func() { + file_PrivateChatRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PrivateChatRsp_proto_rawDescData) + }) + return file_PrivateChatRsp_proto_rawDescData +} + +var file_PrivateChatRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PrivateChatRsp_proto_goTypes = []interface{}{ + (*PrivateChatRsp)(nil), // 0: PrivateChatRsp +} +var file_PrivateChatRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PrivateChatRsp_proto_init() } +func file_PrivateChatRsp_proto_init() { + if File_PrivateChatRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PrivateChatRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateChatRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PrivateChatRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PrivateChatRsp_proto_goTypes, + DependencyIndexes: file_PrivateChatRsp_proto_depIdxs, + MessageInfos: file_PrivateChatRsp_proto_msgTypes, + }.Build() + File_PrivateChatRsp_proto = out.File + file_PrivateChatRsp_proto_rawDesc = nil + file_PrivateChatRsp_proto_goTypes = nil + file_PrivateChatRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PrivateChatRsp.proto b/gate-hk4e-api/proto/PrivateChatRsp.proto new file mode 100644 index 00000000..960c7d4f --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5048 +// EnetChannelId: 0 +// EnetIsReliable: true +message PrivateChatRsp { + uint32 chat_forbidden_endtime = 12; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/PrivateChatSetSequenceReq.pb.go b/gate-hk4e-api/proto/PrivateChatSetSequenceReq.pb.go new file mode 100644 index 00000000..84660364 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatSetSequenceReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PrivateChatSetSequenceReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4985 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PrivateChatSetSequenceReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,11,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Sequence uint32 `protobuf:"varint,15,opt,name=sequence,proto3" json:"sequence,omitempty"` +} + +func (x *PrivateChatSetSequenceReq) Reset() { + *x = PrivateChatSetSequenceReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PrivateChatSetSequenceReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateChatSetSequenceReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateChatSetSequenceReq) ProtoMessage() {} + +func (x *PrivateChatSetSequenceReq) ProtoReflect() protoreflect.Message { + mi := &file_PrivateChatSetSequenceReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateChatSetSequenceReq.ProtoReflect.Descriptor instead. +func (*PrivateChatSetSequenceReq) Descriptor() ([]byte, []int) { + return file_PrivateChatSetSequenceReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PrivateChatSetSequenceReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PrivateChatSetSequenceReq) GetSequence() uint32 { + if x != nil { + return x.Sequence + } + return 0 +} + +var File_PrivateChatSetSequenceReq_proto protoreflect.FileDescriptor + +var file_PrivateChatSetSequenceReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x53, 0x65, 0x74, + 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x56, 0x0a, 0x19, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, + 0x53, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PrivateChatSetSequenceReq_proto_rawDescOnce sync.Once + file_PrivateChatSetSequenceReq_proto_rawDescData = file_PrivateChatSetSequenceReq_proto_rawDesc +) + +func file_PrivateChatSetSequenceReq_proto_rawDescGZIP() []byte { + file_PrivateChatSetSequenceReq_proto_rawDescOnce.Do(func() { + file_PrivateChatSetSequenceReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PrivateChatSetSequenceReq_proto_rawDescData) + }) + return file_PrivateChatSetSequenceReq_proto_rawDescData +} + +var file_PrivateChatSetSequenceReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PrivateChatSetSequenceReq_proto_goTypes = []interface{}{ + (*PrivateChatSetSequenceReq)(nil), // 0: PrivateChatSetSequenceReq +} +var file_PrivateChatSetSequenceReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PrivateChatSetSequenceReq_proto_init() } +func file_PrivateChatSetSequenceReq_proto_init() { + if File_PrivateChatSetSequenceReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PrivateChatSetSequenceReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateChatSetSequenceReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PrivateChatSetSequenceReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PrivateChatSetSequenceReq_proto_goTypes, + DependencyIndexes: file_PrivateChatSetSequenceReq_proto_depIdxs, + MessageInfos: file_PrivateChatSetSequenceReq_proto_msgTypes, + }.Build() + File_PrivateChatSetSequenceReq_proto = out.File + file_PrivateChatSetSequenceReq_proto_rawDesc = nil + file_PrivateChatSetSequenceReq_proto_goTypes = nil + file_PrivateChatSetSequenceReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PrivateChatSetSequenceReq.proto b/gate-hk4e-api/proto/PrivateChatSetSequenceReq.proto new file mode 100644 index 00000000..b72c26dd --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatSetSequenceReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4985 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PrivateChatSetSequenceReq { + uint32 target_uid = 11; + uint32 sequence = 15; +} diff --git a/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.pb.go b/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.pb.go new file mode 100644 index 00000000..166c52a4 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PrivateChatSetSequenceRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4957 +// EnetChannelId: 0 +// EnetIsReliable: true +type PrivateChatSetSequenceRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PrivateChatSetSequenceRsp) Reset() { + *x = PrivateChatSetSequenceRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PrivateChatSetSequenceRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateChatSetSequenceRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateChatSetSequenceRsp) ProtoMessage() {} + +func (x *PrivateChatSetSequenceRsp) ProtoReflect() protoreflect.Message { + mi := &file_PrivateChatSetSequenceRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateChatSetSequenceRsp.ProtoReflect.Descriptor instead. +func (*PrivateChatSetSequenceRsp) Descriptor() ([]byte, []int) { + return file_PrivateChatSetSequenceRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PrivateChatSetSequenceRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PrivateChatSetSequenceRsp_proto protoreflect.FileDescriptor + +var file_PrivateChatSetSequenceRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x53, 0x65, 0x74, + 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x35, 0x0a, 0x19, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, + 0x53, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PrivateChatSetSequenceRsp_proto_rawDescOnce sync.Once + file_PrivateChatSetSequenceRsp_proto_rawDescData = file_PrivateChatSetSequenceRsp_proto_rawDesc +) + +func file_PrivateChatSetSequenceRsp_proto_rawDescGZIP() []byte { + file_PrivateChatSetSequenceRsp_proto_rawDescOnce.Do(func() { + file_PrivateChatSetSequenceRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PrivateChatSetSequenceRsp_proto_rawDescData) + }) + return file_PrivateChatSetSequenceRsp_proto_rawDescData +} + +var file_PrivateChatSetSequenceRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PrivateChatSetSequenceRsp_proto_goTypes = []interface{}{ + (*PrivateChatSetSequenceRsp)(nil), // 0: PrivateChatSetSequenceRsp +} +var file_PrivateChatSetSequenceRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PrivateChatSetSequenceRsp_proto_init() } +func file_PrivateChatSetSequenceRsp_proto_init() { + if File_PrivateChatSetSequenceRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PrivateChatSetSequenceRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateChatSetSequenceRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PrivateChatSetSequenceRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PrivateChatSetSequenceRsp_proto_goTypes, + DependencyIndexes: file_PrivateChatSetSequenceRsp_proto_depIdxs, + MessageInfos: file_PrivateChatSetSequenceRsp_proto_msgTypes, + }.Build() + File_PrivateChatSetSequenceRsp_proto = out.File + file_PrivateChatSetSequenceRsp_proto_rawDesc = nil + file_PrivateChatSetSequenceRsp_proto_goTypes = nil + file_PrivateChatSetSequenceRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.proto b/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.proto new file mode 100644 index 00000000..751435d2 --- /dev/null +++ b/gate-hk4e-api/proto/PrivateChatSetSequenceRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4957 +// EnetChannelId: 0 +// EnetIsReliable: true +message PrivateChatSetSequenceRsp { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/ProductPriceTier.pb.go b/gate-hk4e-api/proto/ProductPriceTier.pb.go new file mode 100644 index 00000000..84437767 --- /dev/null +++ b/gate-hk4e-api/proto/ProductPriceTier.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProductPriceTier.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ProductPriceTier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId string `protobuf:"bytes,6,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + PriceTier string `protobuf:"bytes,12,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` +} + +func (x *ProductPriceTier) Reset() { + *x = ProductPriceTier{} + if protoimpl.UnsafeEnabled { + mi := &file_ProductPriceTier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProductPriceTier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProductPriceTier) ProtoMessage() {} + +func (x *ProductPriceTier) ProtoReflect() protoreflect.Message { + mi := &file_ProductPriceTier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProductPriceTier.ProtoReflect.Descriptor instead. +func (*ProductPriceTier) Descriptor() ([]byte, []int) { + return file_ProductPriceTier_proto_rawDescGZIP(), []int{0} +} + +func (x *ProductPriceTier) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *ProductPriceTier) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +var File_ProductPriceTier_proto protoreflect.FileDescriptor + +var file_ProductPriceTier_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProductPriceTier_proto_rawDescOnce sync.Once + file_ProductPriceTier_proto_rawDescData = file_ProductPriceTier_proto_rawDesc +) + +func file_ProductPriceTier_proto_rawDescGZIP() []byte { + file_ProductPriceTier_proto_rawDescOnce.Do(func() { + file_ProductPriceTier_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProductPriceTier_proto_rawDescData) + }) + return file_ProductPriceTier_proto_rawDescData +} + +var file_ProductPriceTier_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProductPriceTier_proto_goTypes = []interface{}{ + (*ProductPriceTier)(nil), // 0: ProductPriceTier +} +var file_ProductPriceTier_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProductPriceTier_proto_init() } +func file_ProductPriceTier_proto_init() { + if File_ProductPriceTier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProductPriceTier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductPriceTier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProductPriceTier_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProductPriceTier_proto_goTypes, + DependencyIndexes: file_ProductPriceTier_proto_depIdxs, + MessageInfos: file_ProductPriceTier_proto_msgTypes, + }.Build() + File_ProductPriceTier_proto = out.File + file_ProductPriceTier_proto_rawDesc = nil + file_ProductPriceTier_proto_goTypes = nil + file_ProductPriceTier_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProductPriceTier.proto b/gate-hk4e-api/proto/ProductPriceTier.proto new file mode 100644 index 00000000..31229c7f --- /dev/null +++ b/gate-hk4e-api/proto/ProductPriceTier.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ProductPriceTier { + string product_id = 6; + string price_tier = 12; +} diff --git a/gate-hk4e-api/proto/ProfilePicture.pb.go b/gate-hk4e-api/proto/ProfilePicture.pb.go new file mode 100644 index 00000000..7efe9cb0 --- /dev/null +++ b/gate-hk4e-api/proto/ProfilePicture.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProfilePicture.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ProfilePicture struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + CostumeId uint32 `protobuf:"varint,2,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *ProfilePicture) Reset() { + *x = ProfilePicture{} + if protoimpl.UnsafeEnabled { + mi := &file_ProfilePicture_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProfilePicture) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProfilePicture) ProtoMessage() {} + +func (x *ProfilePicture) ProtoReflect() protoreflect.Message { + mi := &file_ProfilePicture_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProfilePicture.ProtoReflect.Descriptor instead. +func (*ProfilePicture) Descriptor() ([]byte, []int) { + return file_ProfilePicture_proto_rawDescGZIP(), []int{0} +} + +func (x *ProfilePicture) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *ProfilePicture) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_ProfilePicture_proto protoreflect.FileDescriptor + +var file_ProfilePicture_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, + 0x6d, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProfilePicture_proto_rawDescOnce sync.Once + file_ProfilePicture_proto_rawDescData = file_ProfilePicture_proto_rawDesc +) + +func file_ProfilePicture_proto_rawDescGZIP() []byte { + file_ProfilePicture_proto_rawDescOnce.Do(func() { + file_ProfilePicture_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProfilePicture_proto_rawDescData) + }) + return file_ProfilePicture_proto_rawDescData +} + +var file_ProfilePicture_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProfilePicture_proto_goTypes = []interface{}{ + (*ProfilePicture)(nil), // 0: ProfilePicture +} +var file_ProfilePicture_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProfilePicture_proto_init() } +func file_ProfilePicture_proto_init() { + if File_ProfilePicture_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProfilePicture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProfilePicture); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProfilePicture_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProfilePicture_proto_goTypes, + DependencyIndexes: file_ProfilePicture_proto_depIdxs, + MessageInfos: file_ProfilePicture_proto_msgTypes, + }.Build() + File_ProfilePicture_proto = out.File + file_ProfilePicture_proto_rawDesc = nil + file_ProfilePicture_proto_goTypes = nil + file_ProfilePicture_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProfilePicture.proto b/gate-hk4e-api/proto/ProfilePicture.proto new file mode 100644 index 00000000..dac808ec --- /dev/null +++ b/gate-hk4e-api/proto/ProfilePicture.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ProfilePicture { + uint32 avatar_id = 1; + uint32 costume_id = 2; +} diff --git a/gate-hk4e-api/proto/ProfilePictureChangeNotify.pb.go b/gate-hk4e-api/proto/ProfilePictureChangeNotify.pb.go new file mode 100644 index 00000000..11e3a923 --- /dev/null +++ b/gate-hk4e-api/proto/ProfilePictureChangeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProfilePictureChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4016 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ProfilePictureChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,12,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` +} + +func (x *ProfilePictureChangeNotify) Reset() { + *x = ProfilePictureChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ProfilePictureChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProfilePictureChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProfilePictureChangeNotify) ProtoMessage() {} + +func (x *ProfilePictureChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ProfilePictureChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProfilePictureChangeNotify.ProtoReflect.Descriptor instead. +func (*ProfilePictureChangeNotify) Descriptor() ([]byte, []int) { + return file_ProfilePictureChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ProfilePictureChangeNotify) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +var File_ProfilePictureChangeNotify_proto protoreflect.FileDescriptor + +var file_ProfilePictureChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProfilePictureChangeNotify_proto_rawDescOnce sync.Once + file_ProfilePictureChangeNotify_proto_rawDescData = file_ProfilePictureChangeNotify_proto_rawDesc +) + +func file_ProfilePictureChangeNotify_proto_rawDescGZIP() []byte { + file_ProfilePictureChangeNotify_proto_rawDescOnce.Do(func() { + file_ProfilePictureChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProfilePictureChangeNotify_proto_rawDescData) + }) + return file_ProfilePictureChangeNotify_proto_rawDescData +} + +var file_ProfilePictureChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProfilePictureChangeNotify_proto_goTypes = []interface{}{ + (*ProfilePictureChangeNotify)(nil), // 0: ProfilePictureChangeNotify + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_ProfilePictureChangeNotify_proto_depIdxs = []int32{ + 1, // 0: ProfilePictureChangeNotify.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ProfilePictureChangeNotify_proto_init() } +func file_ProfilePictureChangeNotify_proto_init() { + if File_ProfilePictureChangeNotify_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_ProfilePictureChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProfilePictureChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProfilePictureChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProfilePictureChangeNotify_proto_goTypes, + DependencyIndexes: file_ProfilePictureChangeNotify_proto_depIdxs, + MessageInfos: file_ProfilePictureChangeNotify_proto_msgTypes, + }.Build() + File_ProfilePictureChangeNotify_proto = out.File + file_ProfilePictureChangeNotify_proto_rawDesc = nil + file_ProfilePictureChangeNotify_proto_goTypes = nil + file_ProfilePictureChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProfilePictureChangeNotify.proto b/gate-hk4e-api/proto/ProfilePictureChangeNotify.proto new file mode 100644 index 00000000..bafb4c76 --- /dev/null +++ b/gate-hk4e-api/proto/ProfilePictureChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +// CmdId: 4016 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ProfilePictureChangeNotify { + ProfilePicture profile_picture = 12; +} diff --git a/gate-hk4e-api/proto/ProjectorOptionReq.pb.go b/gate-hk4e-api/proto/ProjectorOptionReq.pb.go new file mode 100644 index 00000000..842a2297 --- /dev/null +++ b/gate-hk4e-api/proto/ProjectorOptionReq.pb.go @@ -0,0 +1,231 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProjectorOptionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ProjectorOptionReq_ProjectorOpType int32 + +const ( + ProjectorOptionReq_PROJECTOR_OP_TYPE_NONE ProjectorOptionReq_ProjectorOpType = 0 + ProjectorOptionReq_PROJECTOR_OP_TYPE_CREATE ProjectorOptionReq_ProjectorOpType = 1 + ProjectorOptionReq_PROJECTOR_OP_TYPE_DESTROY ProjectorOptionReq_ProjectorOpType = 2 +) + +// Enum value maps for ProjectorOptionReq_ProjectorOpType. +var ( + ProjectorOptionReq_ProjectorOpType_name = map[int32]string{ + 0: "PROJECTOR_OP_TYPE_NONE", + 1: "PROJECTOR_OP_TYPE_CREATE", + 2: "PROJECTOR_OP_TYPE_DESTROY", + } + ProjectorOptionReq_ProjectorOpType_value = map[string]int32{ + "PROJECTOR_OP_TYPE_NONE": 0, + "PROJECTOR_OP_TYPE_CREATE": 1, + "PROJECTOR_OP_TYPE_DESTROY": 2, + } +) + +func (x ProjectorOptionReq_ProjectorOpType) Enum() *ProjectorOptionReq_ProjectorOpType { + p := new(ProjectorOptionReq_ProjectorOpType) + *p = x + return p +} + +func (x ProjectorOptionReq_ProjectorOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProjectorOptionReq_ProjectorOpType) Descriptor() protoreflect.EnumDescriptor { + return file_ProjectorOptionReq_proto_enumTypes[0].Descriptor() +} + +func (ProjectorOptionReq_ProjectorOpType) Type() protoreflect.EnumType { + return &file_ProjectorOptionReq_proto_enumTypes[0] +} + +func (x ProjectorOptionReq_ProjectorOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProjectorOptionReq_ProjectorOpType.Descriptor instead. +func (ProjectorOptionReq_ProjectorOpType) EnumDescriptor() ([]byte, []int) { + return file_ProjectorOptionReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 863 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ProjectorOptionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpType uint32 `protobuf:"varint,7,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"` + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *ProjectorOptionReq) Reset() { + *x = ProjectorOptionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ProjectorOptionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProjectorOptionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectorOptionReq) ProtoMessage() {} + +func (x *ProjectorOptionReq) ProtoReflect() protoreflect.Message { + mi := &file_ProjectorOptionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectorOptionReq.ProtoReflect.Descriptor instead. +func (*ProjectorOptionReq) Descriptor() ([]byte, []int) { + return file_ProjectorOptionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ProjectorOptionReq) GetOpType() uint32 { + if x != nil { + return x.OpType + } + return 0 +} + +func (x *ProjectorOptionReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_ProjectorOptionReq_proto protoreflect.FileDescriptor + +var file_ProjectorOptionReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x12, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x6a, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, + 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, + 0x54, 0x4f, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, + 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x4f, + 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, + 0x59, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProjectorOptionReq_proto_rawDescOnce sync.Once + file_ProjectorOptionReq_proto_rawDescData = file_ProjectorOptionReq_proto_rawDesc +) + +func file_ProjectorOptionReq_proto_rawDescGZIP() []byte { + file_ProjectorOptionReq_proto_rawDescOnce.Do(func() { + file_ProjectorOptionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProjectorOptionReq_proto_rawDescData) + }) + return file_ProjectorOptionReq_proto_rawDescData +} + +var file_ProjectorOptionReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ProjectorOptionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProjectorOptionReq_proto_goTypes = []interface{}{ + (ProjectorOptionReq_ProjectorOpType)(0), // 0: ProjectorOptionReq.ProjectorOpType + (*ProjectorOptionReq)(nil), // 1: ProjectorOptionReq +} +var file_ProjectorOptionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProjectorOptionReq_proto_init() } +func file_ProjectorOptionReq_proto_init() { + if File_ProjectorOptionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProjectorOptionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectorOptionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProjectorOptionReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProjectorOptionReq_proto_goTypes, + DependencyIndexes: file_ProjectorOptionReq_proto_depIdxs, + EnumInfos: file_ProjectorOptionReq_proto_enumTypes, + MessageInfos: file_ProjectorOptionReq_proto_msgTypes, + }.Build() + File_ProjectorOptionReq_proto = out.File + file_ProjectorOptionReq_proto_rawDesc = nil + file_ProjectorOptionReq_proto_goTypes = nil + file_ProjectorOptionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProjectorOptionReq.proto b/gate-hk4e-api/proto/ProjectorOptionReq.proto new file mode 100644 index 00000000..4b4c669c --- /dev/null +++ b/gate-hk4e-api/proto/ProjectorOptionReq.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 863 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ProjectorOptionReq { + uint32 op_type = 7; + uint32 entity_id = 10; + + enum ProjectorOpType { + PROJECTOR_OP_TYPE_NONE = 0; + PROJECTOR_OP_TYPE_CREATE = 1; + PROJECTOR_OP_TYPE_DESTROY = 2; + } +} diff --git a/gate-hk4e-api/proto/ProjectorOptionRsp.pb.go b/gate-hk4e-api/proto/ProjectorOptionRsp.pb.go new file mode 100644 index 00000000..e8089c8a --- /dev/null +++ b/gate-hk4e-api/proto/ProjectorOptionRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProjectorOptionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 895 +// EnetChannelId: 0 +// EnetIsReliable: true +type ProjectorOptionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + OpType uint32 `protobuf:"varint,13,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"` +} + +func (x *ProjectorOptionRsp) Reset() { + *x = ProjectorOptionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ProjectorOptionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProjectorOptionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectorOptionRsp) ProtoMessage() {} + +func (x *ProjectorOptionRsp) ProtoReflect() protoreflect.Message { + mi := &file_ProjectorOptionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectorOptionRsp.ProtoReflect.Descriptor instead. +func (*ProjectorOptionRsp) Descriptor() ([]byte, []int) { + return file_ProjectorOptionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ProjectorOptionRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ProjectorOptionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ProjectorOptionRsp) GetOpType() uint32 { + if x != nil { + return x.OpType + } + return 0 +} + +var File_ProjectorOptionRsp_proto protoreflect.FileDescriptor + +var file_ProjectorOptionRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x12, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProjectorOptionRsp_proto_rawDescOnce sync.Once + file_ProjectorOptionRsp_proto_rawDescData = file_ProjectorOptionRsp_proto_rawDesc +) + +func file_ProjectorOptionRsp_proto_rawDescGZIP() []byte { + file_ProjectorOptionRsp_proto_rawDescOnce.Do(func() { + file_ProjectorOptionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProjectorOptionRsp_proto_rawDescData) + }) + return file_ProjectorOptionRsp_proto_rawDescData +} + +var file_ProjectorOptionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProjectorOptionRsp_proto_goTypes = []interface{}{ + (*ProjectorOptionRsp)(nil), // 0: ProjectorOptionRsp +} +var file_ProjectorOptionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProjectorOptionRsp_proto_init() } +func file_ProjectorOptionRsp_proto_init() { + if File_ProjectorOptionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProjectorOptionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectorOptionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProjectorOptionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProjectorOptionRsp_proto_goTypes, + DependencyIndexes: file_ProjectorOptionRsp_proto_depIdxs, + MessageInfos: file_ProjectorOptionRsp_proto_msgTypes, + }.Build() + File_ProjectorOptionRsp_proto = out.File + file_ProjectorOptionRsp_proto_rawDesc = nil + file_ProjectorOptionRsp_proto_goTypes = nil + file_ProjectorOptionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProjectorOptionRsp.proto b/gate-hk4e-api/proto/ProjectorOptionRsp.proto new file mode 100644 index 00000000..125dc369 --- /dev/null +++ b/gate-hk4e-api/proto/ProjectorOptionRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 895 +// EnetChannelId: 0 +// EnetIsReliable: true +message ProjectorOptionRsp { + uint32 entity_id = 10; + int32 retcode = 12; + uint32 op_type = 13; +} diff --git a/gate-hk4e-api/proto/PropChangeReason.pb.go b/gate-hk4e-api/proto/PropChangeReason.pb.go new file mode 100644 index 00000000..a747c252 --- /dev/null +++ b/gate-hk4e-api/proto/PropChangeReason.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PropChangeReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PropChangeReason int32 + +const ( + PropChangeReason_PROP_CHANGE_REASON_NONE PropChangeReason = 0 + PropChangeReason_PROP_CHANGE_REASON_STATUE_RECOVER PropChangeReason = 1 + PropChangeReason_PROP_CHANGE_REASON_ENERGY_BALL PropChangeReason = 2 + PropChangeReason_PROP_CHANGE_REASON_ABILITY PropChangeReason = 3 + PropChangeReason_PROP_CHANGE_REASON_LEVELUP PropChangeReason = 4 + PropChangeReason_PROP_CHANGE_REASON_ITEM PropChangeReason = 5 + PropChangeReason_PROP_CHANGE_REASON_AVATAR_CARD PropChangeReason = 6 + PropChangeReason_PROP_CHANGE_REASON_CITY_LEVELUP PropChangeReason = 7 + PropChangeReason_PROP_CHANGE_REASON_AVATAR_UPGRADE PropChangeReason = 8 + PropChangeReason_PROP_CHANGE_REASON_AVATAR_PROMOTE PropChangeReason = 9 + PropChangeReason_PROP_CHANGE_REASON_PLAYER_ADD_EXP PropChangeReason = 10 + PropChangeReason_PROP_CHANGE_REASON_FINISH_QUEST PropChangeReason = 11 + PropChangeReason_PROP_CHANGE_REASON_GM PropChangeReason = 12 + PropChangeReason_PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL PropChangeReason = 13 +) + +// Enum value maps for PropChangeReason. +var ( + PropChangeReason_name = map[int32]string{ + 0: "PROP_CHANGE_REASON_NONE", + 1: "PROP_CHANGE_REASON_STATUE_RECOVER", + 2: "PROP_CHANGE_REASON_ENERGY_BALL", + 3: "PROP_CHANGE_REASON_ABILITY", + 4: "PROP_CHANGE_REASON_LEVELUP", + 5: "PROP_CHANGE_REASON_ITEM", + 6: "PROP_CHANGE_REASON_AVATAR_CARD", + 7: "PROP_CHANGE_REASON_CITY_LEVELUP", + 8: "PROP_CHANGE_REASON_AVATAR_UPGRADE", + 9: "PROP_CHANGE_REASON_AVATAR_PROMOTE", + 10: "PROP_CHANGE_REASON_PLAYER_ADD_EXP", + 11: "PROP_CHANGE_REASON_FINISH_QUEST", + 12: "PROP_CHANGE_REASON_GM", + 13: "PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL", + } + PropChangeReason_value = map[string]int32{ + "PROP_CHANGE_REASON_NONE": 0, + "PROP_CHANGE_REASON_STATUE_RECOVER": 1, + "PROP_CHANGE_REASON_ENERGY_BALL": 2, + "PROP_CHANGE_REASON_ABILITY": 3, + "PROP_CHANGE_REASON_LEVELUP": 4, + "PROP_CHANGE_REASON_ITEM": 5, + "PROP_CHANGE_REASON_AVATAR_CARD": 6, + "PROP_CHANGE_REASON_CITY_LEVELUP": 7, + "PROP_CHANGE_REASON_AVATAR_UPGRADE": 8, + "PROP_CHANGE_REASON_AVATAR_PROMOTE": 9, + "PROP_CHANGE_REASON_PLAYER_ADD_EXP": 10, + "PROP_CHANGE_REASON_FINISH_QUEST": 11, + "PROP_CHANGE_REASON_GM": 12, + "PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL": 13, + } +) + +func (x PropChangeReason) Enum() *PropChangeReason { + p := new(PropChangeReason) + *p = x + return p +} + +func (x PropChangeReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PropChangeReason) Descriptor() protoreflect.EnumDescriptor { + return file_PropChangeReason_proto_enumTypes[0].Descriptor() +} + +func (PropChangeReason) Type() protoreflect.EnumType { + return &file_PropChangeReason_proto_enumTypes[0] +} + +func (x PropChangeReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PropChangeReason.Descriptor instead. +func (PropChangeReason) EnumDescriptor() ([]byte, []int) { + return file_PropChangeReason_proto_rawDescGZIP(), []int{0} +} + +var File_PropChangeReason_proto protoreflect.FileDescriptor + +var file_PropChangeReason_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x87, 0x04, 0x0a, 0x10, 0x50, 0x72, 0x6f, + 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, + 0x17, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, + 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, + 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x5f, 0x42, + 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x42, 0x49, 0x4c, + 0x49, 0x54, 0x59, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x56, 0x45, + 0x4c, 0x55, 0x50, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x54, 0x45, 0x4d, + 0x10, 0x05, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, + 0x43, 0x41, 0x52, 0x44, 0x10, 0x06, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, + 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x49, 0x54, + 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x55, 0x50, 0x10, 0x07, 0x12, 0x25, 0x0a, 0x21, 0x50, + 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x45, + 0x10, 0x08, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, + 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x54, 0x45, 0x10, 0x09, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x4f, + 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x45, 0x58, 0x50, 0x10, 0x0a, + 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x51, 0x55, + 0x45, 0x53, 0x54, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x47, 0x4d, 0x10, 0x0c, + 0x12, 0x30, 0x0a, 0x2c, 0x50, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x5f, 0x41, 0x44, + 0x4a, 0x55, 0x53, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x10, 0x0d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PropChangeReason_proto_rawDescOnce sync.Once + file_PropChangeReason_proto_rawDescData = file_PropChangeReason_proto_rawDesc +) + +func file_PropChangeReason_proto_rawDescGZIP() []byte { + file_PropChangeReason_proto_rawDescOnce.Do(func() { + file_PropChangeReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_PropChangeReason_proto_rawDescData) + }) + return file_PropChangeReason_proto_rawDescData +} + +var file_PropChangeReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_PropChangeReason_proto_goTypes = []interface{}{ + (PropChangeReason)(0), // 0: PropChangeReason +} +var file_PropChangeReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PropChangeReason_proto_init() } +func file_PropChangeReason_proto_init() { + if File_PropChangeReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PropChangeReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PropChangeReason_proto_goTypes, + DependencyIndexes: file_PropChangeReason_proto_depIdxs, + EnumInfos: file_PropChangeReason_proto_enumTypes, + }.Build() + File_PropChangeReason_proto = out.File + file_PropChangeReason_proto_rawDesc = nil + file_PropChangeReason_proto_goTypes = nil + file_PropChangeReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PropChangeReason.proto b/gate-hk4e-api/proto/PropChangeReason.proto new file mode 100644 index 00000000..a5406728 --- /dev/null +++ b/gate-hk4e-api/proto/PropChangeReason.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum PropChangeReason { + PROP_CHANGE_REASON_NONE = 0; + PROP_CHANGE_REASON_STATUE_RECOVER = 1; + PROP_CHANGE_REASON_ENERGY_BALL = 2; + PROP_CHANGE_REASON_ABILITY = 3; + PROP_CHANGE_REASON_LEVELUP = 4; + PROP_CHANGE_REASON_ITEM = 5; + PROP_CHANGE_REASON_AVATAR_CARD = 6; + PROP_CHANGE_REASON_CITY_LEVELUP = 7; + PROP_CHANGE_REASON_AVATAR_UPGRADE = 8; + PROP_CHANGE_REASON_AVATAR_PROMOTE = 9; + PROP_CHANGE_REASON_PLAYER_ADD_EXP = 10; + PROP_CHANGE_REASON_FINISH_QUEST = 11; + PROP_CHANGE_REASON_GM = 12; + PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL = 13; +} diff --git a/gate-hk4e-api/proto/PropPair.pb.go b/gate-hk4e-api/proto/PropPair.pb.go new file mode 100644 index 00000000..c70a3689 --- /dev/null +++ b/gate-hk4e-api/proto/PropPair.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PropPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PropPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + PropValue *PropValue `protobuf:"bytes,2,opt,name=prop_value,json=propValue,proto3" json:"prop_value,omitempty"` +} + +func (x *PropPair) Reset() { + *x = PropPair{} + if protoimpl.UnsafeEnabled { + mi := &file_PropPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropPair) ProtoMessage() {} + +func (x *PropPair) ProtoReflect() protoreflect.Message { + mi := &file_PropPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropPair.ProtoReflect.Descriptor instead. +func (*PropPair) Descriptor() ([]byte, []int) { + return file_PropPair_proto_rawDescGZIP(), []int{0} +} + +func (x *PropPair) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *PropPair) GetPropValue() *PropValue { + if x != nil { + return x.PropValue + } + return nil +} + +var File_PropPair_proto protoreflect.FileDescriptor + +var file_PropPair_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x49, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PropPair_proto_rawDescOnce sync.Once + file_PropPair_proto_rawDescData = file_PropPair_proto_rawDesc +) + +func file_PropPair_proto_rawDescGZIP() []byte { + file_PropPair_proto_rawDescOnce.Do(func() { + file_PropPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_PropPair_proto_rawDescData) + }) + return file_PropPair_proto_rawDescData +} + +var file_PropPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PropPair_proto_goTypes = []interface{}{ + (*PropPair)(nil), // 0: PropPair + (*PropValue)(nil), // 1: PropValue +} +var file_PropPair_proto_depIdxs = []int32{ + 1, // 0: PropPair.prop_value:type_name -> PropValue + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PropPair_proto_init() } +func file_PropPair_proto_init() { + if File_PropPair_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_PropPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PropPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PropPair_proto_goTypes, + DependencyIndexes: file_PropPair_proto_depIdxs, + MessageInfos: file_PropPair_proto_msgTypes, + }.Build() + File_PropPair_proto = out.File + file_PropPair_proto_rawDesc = nil + file_PropPair_proto_goTypes = nil + file_PropPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PropPair.proto b/gate-hk4e-api/proto/PropPair.proto new file mode 100644 index 00000000..11ec3957 --- /dev/null +++ b/gate-hk4e-api/proto/PropPair.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +message PropPair { + uint32 type = 1; + PropValue prop_value = 2; +} diff --git a/gate-hk4e-api/proto/PropValue.pb.go b/gate-hk4e-api/proto/PropValue.pb.go new file mode 100644 index 00000000..e4f8c3e4 --- /dev/null +++ b/gate-hk4e-api/proto/PropValue.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PropValue.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PropValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Val int64 `protobuf:"varint,4,opt,name=val,proto3" json:"val,omitempty"` + // Types that are assignable to Value: + // *PropValue_Ival + // *PropValue_Fval + Value isPropValue_Value `protobuf_oneof:"value"` +} + +func (x *PropValue) Reset() { + *x = PropValue{} + if protoimpl.UnsafeEnabled { + mi := &file_PropValue_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropValue) ProtoMessage() {} + +func (x *PropValue) ProtoReflect() protoreflect.Message { + mi := &file_PropValue_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropValue.ProtoReflect.Descriptor instead. +func (*PropValue) Descriptor() ([]byte, []int) { + return file_PropValue_proto_rawDescGZIP(), []int{0} +} + +func (x *PropValue) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *PropValue) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +func (m *PropValue) GetValue() isPropValue_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *PropValue) GetIval() int64 { + if x, ok := x.GetValue().(*PropValue_Ival); ok { + return x.Ival + } + return 0 +} + +func (x *PropValue) GetFval() float32 { + if x, ok := x.GetValue().(*PropValue_Fval); ok { + return x.Fval + } + return 0 +} + +type isPropValue_Value interface { + isPropValue_Value() +} + +type PropValue_Ival struct { + Ival int64 `protobuf:"varint,2,opt,name=ival,proto3,oneof"` +} + +type PropValue_Fval struct { + Fval float32 `protobuf:"fixed32,3,opt,name=fval,proto3,oneof"` +} + +func (*PropValue_Ival) isPropValue_Value() {} + +func (*PropValue_Fval) isPropValue_Value() {} + +var File_PropValue_proto protoreflect.FileDescriptor + +var file_PropValue_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x66, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x03, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x04, 0x69, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x48, 0x00, 0x52, 0x04, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x76, + 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x04, 0x66, 0x76, 0x61, 0x6c, + 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PropValue_proto_rawDescOnce sync.Once + file_PropValue_proto_rawDescData = file_PropValue_proto_rawDesc +) + +func file_PropValue_proto_rawDescGZIP() []byte { + file_PropValue_proto_rawDescOnce.Do(func() { + file_PropValue_proto_rawDescData = protoimpl.X.CompressGZIP(file_PropValue_proto_rawDescData) + }) + return file_PropValue_proto_rawDescData +} + +var file_PropValue_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PropValue_proto_goTypes = []interface{}{ + (*PropValue)(nil), // 0: PropValue +} +var file_PropValue_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PropValue_proto_init() } +func file_PropValue_proto_init() { + if File_PropValue_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PropValue_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_PropValue_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*PropValue_Ival)(nil), + (*PropValue_Fval)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PropValue_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PropValue_proto_goTypes, + DependencyIndexes: file_PropValue_proto_depIdxs, + MessageInfos: file_PropValue_proto_msgTypes, + }.Build() + File_PropValue_proto = out.File + file_PropValue_proto_rawDesc = nil + file_PropValue_proto_goTypes = nil + file_PropValue_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PropValue.proto b/gate-hk4e-api/proto/PropValue.proto new file mode 100644 index 00000000..0668d705 --- /dev/null +++ b/gate-hk4e-api/proto/PropValue.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PropValue { + uint32 type = 1; + int64 val = 4; + oneof value { + int64 ival = 2; + float fval = 3; + } +} diff --git a/gate-hk4e-api/proto/ProtEntityType.pb.go b/gate-hk4e-api/proto/ProtEntityType.pb.go new file mode 100644 index 00000000..423d7431 --- /dev/null +++ b/gate-hk4e-api/proto/ProtEntityType.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProtEntityType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ProtEntityType int32 + +const ( + ProtEntityType_PROT_ENTITY_TYPE_NONE ProtEntityType = 0 + ProtEntityType_PROT_ENTITY_TYPE_AVATAR ProtEntityType = 1 + ProtEntityType_PROT_ENTITY_TYPE_MONSTER ProtEntityType = 2 + ProtEntityType_PROT_ENTITY_TYPE_NPC ProtEntityType = 3 + ProtEntityType_PROT_ENTITY_TYPE_GADGET ProtEntityType = 4 + ProtEntityType_PROT_ENTITY_TYPE_REGION ProtEntityType = 5 + ProtEntityType_PROT_ENTITY_TYPE_WEAPON ProtEntityType = 6 + ProtEntityType_PROT_ENTITY_TYPE_WEATHER ProtEntityType = 7 + ProtEntityType_PROT_ENTITY_TYPE_SCENE ProtEntityType = 8 + ProtEntityType_PROT_ENTITY_TYPE_TEAM ProtEntityType = 9 + ProtEntityType_PROT_ENTITY_TYPE_MASSIVE_ENTITY ProtEntityType = 10 + ProtEntityType_PROT_ENTITY_TYPE_MP_LEVEL ProtEntityType = 11 + ProtEntityType_PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY ProtEntityType = 12 + ProtEntityType_PROT_ENTITY_TYPE_EYE_POINT ProtEntityType = 13 + ProtEntityType_PROT_ENTITY_TYPE_MAX ProtEntityType = 14 +) + +// Enum value maps for ProtEntityType. +var ( + ProtEntityType_name = map[int32]string{ + 0: "PROT_ENTITY_TYPE_NONE", + 1: "PROT_ENTITY_TYPE_AVATAR", + 2: "PROT_ENTITY_TYPE_MONSTER", + 3: "PROT_ENTITY_TYPE_NPC", + 4: "PROT_ENTITY_TYPE_GADGET", + 5: "PROT_ENTITY_TYPE_REGION", + 6: "PROT_ENTITY_TYPE_WEAPON", + 7: "PROT_ENTITY_TYPE_WEATHER", + 8: "PROT_ENTITY_TYPE_SCENE", + 9: "PROT_ENTITY_TYPE_TEAM", + 10: "PROT_ENTITY_TYPE_MASSIVE_ENTITY", + 11: "PROT_ENTITY_TYPE_MP_LEVEL", + 12: "PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY", + 13: "PROT_ENTITY_TYPE_EYE_POINT", + 14: "PROT_ENTITY_TYPE_MAX", + } + ProtEntityType_value = map[string]int32{ + "PROT_ENTITY_TYPE_NONE": 0, + "PROT_ENTITY_TYPE_AVATAR": 1, + "PROT_ENTITY_TYPE_MONSTER": 2, + "PROT_ENTITY_TYPE_NPC": 3, + "PROT_ENTITY_TYPE_GADGET": 4, + "PROT_ENTITY_TYPE_REGION": 5, + "PROT_ENTITY_TYPE_WEAPON": 6, + "PROT_ENTITY_TYPE_WEATHER": 7, + "PROT_ENTITY_TYPE_SCENE": 8, + "PROT_ENTITY_TYPE_TEAM": 9, + "PROT_ENTITY_TYPE_MASSIVE_ENTITY": 10, + "PROT_ENTITY_TYPE_MP_LEVEL": 11, + "PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY": 12, + "PROT_ENTITY_TYPE_EYE_POINT": 13, + "PROT_ENTITY_TYPE_MAX": 14, + } +) + +func (x ProtEntityType) Enum() *ProtEntityType { + p := new(ProtEntityType) + *p = x + return p +} + +func (x ProtEntityType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProtEntityType) Descriptor() protoreflect.EnumDescriptor { + return file_ProtEntityType_proto_enumTypes[0].Descriptor() +} + +func (ProtEntityType) Type() protoreflect.EnumType { + return &file_ProtEntityType_proto_enumTypes[0] +} + +func (x ProtEntityType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProtEntityType.Descriptor instead. +func (ProtEntityType) EnumDescriptor() ([]byte, []int) { + return file_ProtEntityType_proto_rawDescGZIP(), []int{0} +} + +var File_ProtEntityType_proto protoreflect.FileDescriptor + +var file_ProtEntityType_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xd1, 0x03, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, + 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, + 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, + 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x50, 0x43, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x41, + 0x44, 0x47, 0x45, 0x54, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x4f, + 0x4e, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x41, 0x50, 0x4f, 0x4e, 0x10, 0x06, + 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07, 0x12, 0x1a, + 0x0a, 0x16, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, + 0x45, 0x41, 0x4d, 0x10, 0x09, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, + 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x53, 0x49, 0x56, + 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, + 0x50, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x0b, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x0c, + 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x0d, + 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x0e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProtEntityType_proto_rawDescOnce sync.Once + file_ProtEntityType_proto_rawDescData = file_ProtEntityType_proto_rawDesc +) + +func file_ProtEntityType_proto_rawDescGZIP() []byte { + file_ProtEntityType_proto_rawDescOnce.Do(func() { + file_ProtEntityType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProtEntityType_proto_rawDescData) + }) + return file_ProtEntityType_proto_rawDescData +} + +var file_ProtEntityType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ProtEntityType_proto_goTypes = []interface{}{ + (ProtEntityType)(0), // 0: ProtEntityType +} +var file_ProtEntityType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProtEntityType_proto_init() } +func file_ProtEntityType_proto_init() { + if File_ProtEntityType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProtEntityType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProtEntityType_proto_goTypes, + DependencyIndexes: file_ProtEntityType_proto_depIdxs, + EnumInfos: file_ProtEntityType_proto_enumTypes, + }.Build() + File_ProtEntityType_proto = out.File + file_ProtEntityType_proto_rawDesc = nil + file_ProtEntityType_proto_goTypes = nil + file_ProtEntityType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProtEntityType.proto b/gate-hk4e-api/proto/ProtEntityType.proto new file mode 100644 index 00000000..c3e35d4b --- /dev/null +++ b/gate-hk4e-api/proto/ProtEntityType.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ProtEntityType { + PROT_ENTITY_TYPE_NONE = 0; + PROT_ENTITY_TYPE_AVATAR = 1; + PROT_ENTITY_TYPE_MONSTER = 2; + PROT_ENTITY_TYPE_NPC = 3; + PROT_ENTITY_TYPE_GADGET = 4; + PROT_ENTITY_TYPE_REGION = 5; + PROT_ENTITY_TYPE_WEAPON = 6; + PROT_ENTITY_TYPE_WEATHER = 7; + PROT_ENTITY_TYPE_SCENE = 8; + PROT_ENTITY_TYPE_TEAM = 9; + PROT_ENTITY_TYPE_MASSIVE_ENTITY = 10; + PROT_ENTITY_TYPE_MP_LEVEL = 11; + PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12; + PROT_ENTITY_TYPE_EYE_POINT = 13; + PROT_ENTITY_TYPE_MAX = 14; +} diff --git a/gate-hk4e-api/proto/ProudSkillChangeNotify.pb.go b/gate-hk4e-api/proto/ProudSkillChangeNotify.pb.go new file mode 100644 index 00000000..3511465c --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillChangeNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProudSkillChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1031 +// EnetChannelId: 0 +// EnetIsReliable: true +type ProudSkillChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + SkillDepotId uint32 `protobuf:"varint,8,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + ProudSkillList []uint32 `protobuf:"varint,12,rep,packed,name=proud_skill_list,json=proudSkillList,proto3" json:"proud_skill_list,omitempty"` +} + +func (x *ProudSkillChangeNotify) Reset() { + *x = ProudSkillChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ProudSkillChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProudSkillChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProudSkillChangeNotify) ProtoMessage() {} + +func (x *ProudSkillChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ProudSkillChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProudSkillChangeNotify.ProtoReflect.Descriptor instead. +func (*ProudSkillChangeNotify) Descriptor() ([]byte, []int) { + return file_ProudSkillChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ProudSkillChangeNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *ProudSkillChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ProudSkillChangeNotify) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *ProudSkillChangeNotify) GetProudSkillList() []uint32 { + if x != nil { + return x.ProudSkillList + } + return nil +} + +var File_ProudSkillChangeNotify_proto protoreflect.FileDescriptor + +var file_ProudSkillChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, + 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, + 0x10, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProudSkillChangeNotify_proto_rawDescOnce sync.Once + file_ProudSkillChangeNotify_proto_rawDescData = file_ProudSkillChangeNotify_proto_rawDesc +) + +func file_ProudSkillChangeNotify_proto_rawDescGZIP() []byte { + file_ProudSkillChangeNotify_proto_rawDescOnce.Do(func() { + file_ProudSkillChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProudSkillChangeNotify_proto_rawDescData) + }) + return file_ProudSkillChangeNotify_proto_rawDescData +} + +var file_ProudSkillChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProudSkillChangeNotify_proto_goTypes = []interface{}{ + (*ProudSkillChangeNotify)(nil), // 0: ProudSkillChangeNotify +} +var file_ProudSkillChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProudSkillChangeNotify_proto_init() } +func file_ProudSkillChangeNotify_proto_init() { + if File_ProudSkillChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProudSkillChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProudSkillChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProudSkillChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProudSkillChangeNotify_proto_goTypes, + DependencyIndexes: file_ProudSkillChangeNotify_proto_depIdxs, + MessageInfos: file_ProudSkillChangeNotify_proto_msgTypes, + }.Build() + File_ProudSkillChangeNotify_proto = out.File + file_ProudSkillChangeNotify_proto_rawDesc = nil + file_ProudSkillChangeNotify_proto_goTypes = nil + file_ProudSkillChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProudSkillChangeNotify.proto b/gate-hk4e-api/proto/ProudSkillChangeNotify.proto new file mode 100644 index 00000000..a10ca4e1 --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1031 +// EnetChannelId: 0 +// EnetIsReliable: true +message ProudSkillChangeNotify { + uint64 avatar_guid = 11; + uint32 entity_id = 4; + uint32 skill_depot_id = 8; + repeated uint32 proud_skill_list = 12; +} diff --git a/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.pb.go b/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.pb.go new file mode 100644 index 00000000..f1257ff0 --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProudSkillExtraLevelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1081 +// EnetChannelId: 0 +// EnetIsReliable: true +type ProudSkillExtraLevelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TalentType uint32 `protobuf:"varint,11,opt,name=talent_type,json=talentType,proto3" json:"talent_type,omitempty"` + TalentIndex uint32 `protobuf:"varint,8,opt,name=talent_index,json=talentIndex,proto3" json:"talent_index,omitempty"` + AvatarGuid uint64 `protobuf:"varint,15,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + ExtraLevel uint32 `protobuf:"varint,3,opt,name=extra_level,json=extraLevel,proto3" json:"extra_level,omitempty"` +} + +func (x *ProudSkillExtraLevelNotify) Reset() { + *x = ProudSkillExtraLevelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ProudSkillExtraLevelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProudSkillExtraLevelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProudSkillExtraLevelNotify) ProtoMessage() {} + +func (x *ProudSkillExtraLevelNotify) ProtoReflect() protoreflect.Message { + mi := &file_ProudSkillExtraLevelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProudSkillExtraLevelNotify.ProtoReflect.Descriptor instead. +func (*ProudSkillExtraLevelNotify) Descriptor() ([]byte, []int) { + return file_ProudSkillExtraLevelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ProudSkillExtraLevelNotify) GetTalentType() uint32 { + if x != nil { + return x.TalentType + } + return 0 +} + +func (x *ProudSkillExtraLevelNotify) GetTalentIndex() uint32 { + if x != nil { + return x.TalentIndex + } + return 0 +} + +func (x *ProudSkillExtraLevelNotify) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *ProudSkillExtraLevelNotify) GetExtraLevel() uint32 { + if x != nil { + return x.ExtraLevel + } + return 0 +} + +var File_ProudSkillExtraLevelNotify_proto protoreflect.FileDescriptor + +var file_ProudSkillExtraLevelNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, + 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, + 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, 0x78, 0x74, + 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProudSkillExtraLevelNotify_proto_rawDescOnce sync.Once + file_ProudSkillExtraLevelNotify_proto_rawDescData = file_ProudSkillExtraLevelNotify_proto_rawDesc +) + +func file_ProudSkillExtraLevelNotify_proto_rawDescGZIP() []byte { + file_ProudSkillExtraLevelNotify_proto_rawDescOnce.Do(func() { + file_ProudSkillExtraLevelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProudSkillExtraLevelNotify_proto_rawDescData) + }) + return file_ProudSkillExtraLevelNotify_proto_rawDescData +} + +var file_ProudSkillExtraLevelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProudSkillExtraLevelNotify_proto_goTypes = []interface{}{ + (*ProudSkillExtraLevelNotify)(nil), // 0: ProudSkillExtraLevelNotify +} +var file_ProudSkillExtraLevelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProudSkillExtraLevelNotify_proto_init() } +func file_ProudSkillExtraLevelNotify_proto_init() { + if File_ProudSkillExtraLevelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProudSkillExtraLevelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProudSkillExtraLevelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProudSkillExtraLevelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProudSkillExtraLevelNotify_proto_goTypes, + DependencyIndexes: file_ProudSkillExtraLevelNotify_proto_depIdxs, + MessageInfos: file_ProudSkillExtraLevelNotify_proto_msgTypes, + }.Build() + File_ProudSkillExtraLevelNotify_proto = out.File + file_ProudSkillExtraLevelNotify_proto_rawDesc = nil + file_ProudSkillExtraLevelNotify_proto_goTypes = nil + file_ProudSkillExtraLevelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.proto b/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.proto new file mode 100644 index 00000000..7cc0ecf7 --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillExtraLevelNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1081 +// EnetChannelId: 0 +// EnetIsReliable: true +message ProudSkillExtraLevelNotify { + uint32 talent_type = 11; + uint32 talent_index = 8; + uint64 avatar_guid = 15; + uint32 extra_level = 3; +} diff --git a/gate-hk4e-api/proto/ProudSkillUpgradeReq.pb.go b/gate-hk4e-api/proto/ProudSkillUpgradeReq.pb.go new file mode 100644 index 00000000..a942323e --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillUpgradeReq.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProudSkillUpgradeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ProudSkillUpgradeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,5,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + OldProudSkillLevel uint32 `protobuf:"varint,4,opt,name=old_proud_skill_level,json=oldProudSkillLevel,proto3" json:"old_proud_skill_level,omitempty"` + ProudSkillId uint32 `protobuf:"varint,14,opt,name=proud_skill_id,json=proudSkillId,proto3" json:"proud_skill_id,omitempty"` +} + +func (x *ProudSkillUpgradeReq) Reset() { + *x = ProudSkillUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ProudSkillUpgradeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProudSkillUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProudSkillUpgradeReq) ProtoMessage() {} + +func (x *ProudSkillUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_ProudSkillUpgradeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProudSkillUpgradeReq.ProtoReflect.Descriptor instead. +func (*ProudSkillUpgradeReq) Descriptor() ([]byte, []int) { + return file_ProudSkillUpgradeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ProudSkillUpgradeReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *ProudSkillUpgradeReq) GetOldProudSkillLevel() uint32 { + if x != nil { + return x.OldProudSkillLevel + } + return 0 +} + +func (x *ProudSkillUpgradeReq) GetProudSkillId() uint32 { + if x != nil { + return x.ProudSkillId + } + return 0 +} + +var File_ProudSkillUpgradeReq_proto protoreflect.FileDescriptor + +var file_ProudSkillUpgradeReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, + 0x14, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, + 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, + 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x72, 0x6f, + 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ProudSkillUpgradeReq_proto_rawDescOnce sync.Once + file_ProudSkillUpgradeReq_proto_rawDescData = file_ProudSkillUpgradeReq_proto_rawDesc +) + +func file_ProudSkillUpgradeReq_proto_rawDescGZIP() []byte { + file_ProudSkillUpgradeReq_proto_rawDescOnce.Do(func() { + file_ProudSkillUpgradeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProudSkillUpgradeReq_proto_rawDescData) + }) + return file_ProudSkillUpgradeReq_proto_rawDescData +} + +var file_ProudSkillUpgradeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProudSkillUpgradeReq_proto_goTypes = []interface{}{ + (*ProudSkillUpgradeReq)(nil), // 0: ProudSkillUpgradeReq +} +var file_ProudSkillUpgradeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProudSkillUpgradeReq_proto_init() } +func file_ProudSkillUpgradeReq_proto_init() { + if File_ProudSkillUpgradeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProudSkillUpgradeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProudSkillUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProudSkillUpgradeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProudSkillUpgradeReq_proto_goTypes, + DependencyIndexes: file_ProudSkillUpgradeReq_proto_depIdxs, + MessageInfos: file_ProudSkillUpgradeReq_proto_msgTypes, + }.Build() + File_ProudSkillUpgradeReq_proto = out.File + file_ProudSkillUpgradeReq_proto_rawDesc = nil + file_ProudSkillUpgradeReq_proto_goTypes = nil + file_ProudSkillUpgradeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProudSkillUpgradeReq.proto b/gate-hk4e-api/proto/ProudSkillUpgradeReq.proto new file mode 100644 index 00000000..83fa9594 --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillUpgradeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1073 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ProudSkillUpgradeReq { + uint64 avatar_guid = 5; + uint32 old_proud_skill_level = 4; + uint32 proud_skill_id = 14; +} diff --git a/gate-hk4e-api/proto/ProudSkillUpgradeRsp.pb.go b/gate-hk4e-api/proto/ProudSkillUpgradeRsp.pb.go new file mode 100644 index 00000000..1fc8643a --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillUpgradeRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ProudSkillUpgradeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1099 +// EnetChannelId: 0 +// EnetIsReliable: true +type ProudSkillUpgradeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,6,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + ProudSkillId uint32 `protobuf:"varint,10,opt,name=proud_skill_id,json=proudSkillId,proto3" json:"proud_skill_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ProudSkillUpgradeRsp) Reset() { + *x = ProudSkillUpgradeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ProudSkillUpgradeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProudSkillUpgradeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProudSkillUpgradeRsp) ProtoMessage() {} + +func (x *ProudSkillUpgradeRsp) ProtoReflect() protoreflect.Message { + mi := &file_ProudSkillUpgradeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProudSkillUpgradeRsp.ProtoReflect.Descriptor instead. +func (*ProudSkillUpgradeRsp) Descriptor() ([]byte, []int) { + return file_ProudSkillUpgradeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ProudSkillUpgradeRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *ProudSkillUpgradeRsp) GetProudSkillId() uint32 { + if x != nil { + return x.ProudSkillId + } + return 0 +} + +func (x *ProudSkillUpgradeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ProudSkillUpgradeRsp_proto protoreflect.FileDescriptor + +var file_ProudSkillUpgradeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x14, + 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, + 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ProudSkillUpgradeRsp_proto_rawDescOnce sync.Once + file_ProudSkillUpgradeRsp_proto_rawDescData = file_ProudSkillUpgradeRsp_proto_rawDesc +) + +func file_ProudSkillUpgradeRsp_proto_rawDescGZIP() []byte { + file_ProudSkillUpgradeRsp_proto_rawDescOnce.Do(func() { + file_ProudSkillUpgradeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProudSkillUpgradeRsp_proto_rawDescData) + }) + return file_ProudSkillUpgradeRsp_proto_rawDescData +} + +var file_ProudSkillUpgradeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ProudSkillUpgradeRsp_proto_goTypes = []interface{}{ + (*ProudSkillUpgradeRsp)(nil), // 0: ProudSkillUpgradeRsp +} +var file_ProudSkillUpgradeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ProudSkillUpgradeRsp_proto_init() } +func file_ProudSkillUpgradeRsp_proto_init() { + if File_ProudSkillUpgradeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ProudSkillUpgradeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProudSkillUpgradeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ProudSkillUpgradeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ProudSkillUpgradeRsp_proto_goTypes, + DependencyIndexes: file_ProudSkillUpgradeRsp_proto_depIdxs, + MessageInfos: file_ProudSkillUpgradeRsp_proto_msgTypes, + }.Build() + File_ProudSkillUpgradeRsp_proto = out.File + file_ProudSkillUpgradeRsp_proto_rawDesc = nil + file_ProudSkillUpgradeRsp_proto_goTypes = nil + file_ProudSkillUpgradeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ProudSkillUpgradeRsp.proto b/gate-hk4e-api/proto/ProudSkillUpgradeRsp.proto new file mode 100644 index 00000000..5bdc03c4 --- /dev/null +++ b/gate-hk4e-api/proto/ProudSkillUpgradeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1099 +// EnetChannelId: 0 +// EnetIsReliable: true +message ProudSkillUpgradeRsp { + uint64 avatar_guid = 6; + uint32 proud_skill_id = 10; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/PullPrivateChatReq.pb.go b/gate-hk4e-api/proto/PullPrivateChatReq.pb.go new file mode 100644 index 00000000..ca4cf856 --- /dev/null +++ b/gate-hk4e-api/proto/PullPrivateChatReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PullPrivateChatReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4971 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PullPrivateChatReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,5,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + PullNum uint32 `protobuf:"varint,7,opt,name=pull_num,json=pullNum,proto3" json:"pull_num,omitempty"` + FromSequence uint32 `protobuf:"varint,12,opt,name=from_sequence,json=fromSequence,proto3" json:"from_sequence,omitempty"` +} + +func (x *PullPrivateChatReq) Reset() { + *x = PullPrivateChatReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PullPrivateChatReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PullPrivateChatReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PullPrivateChatReq) ProtoMessage() {} + +func (x *PullPrivateChatReq) ProtoReflect() protoreflect.Message { + mi := &file_PullPrivateChatReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PullPrivateChatReq.ProtoReflect.Descriptor instead. +func (*PullPrivateChatReq) Descriptor() ([]byte, []int) { + return file_PullPrivateChatReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PullPrivateChatReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *PullPrivateChatReq) GetPullNum() uint32 { + if x != nil { + return x.PullNum + } + return 0 +} + +func (x *PullPrivateChatReq) GetFromSequence() uint32 { + if x != nil { + return x.FromSequence + } + return 0 +} + +var File_PullPrivateChatReq_proto protoreflect.FileDescriptor + +var file_PullPrivateChatReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x12, 0x50, 0x75, + 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x70, 0x75, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PullPrivateChatReq_proto_rawDescOnce sync.Once + file_PullPrivateChatReq_proto_rawDescData = file_PullPrivateChatReq_proto_rawDesc +) + +func file_PullPrivateChatReq_proto_rawDescGZIP() []byte { + file_PullPrivateChatReq_proto_rawDescOnce.Do(func() { + file_PullPrivateChatReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PullPrivateChatReq_proto_rawDescData) + }) + return file_PullPrivateChatReq_proto_rawDescData +} + +var file_PullPrivateChatReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PullPrivateChatReq_proto_goTypes = []interface{}{ + (*PullPrivateChatReq)(nil), // 0: PullPrivateChatReq +} +var file_PullPrivateChatReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PullPrivateChatReq_proto_init() } +func file_PullPrivateChatReq_proto_init() { + if File_PullPrivateChatReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PullPrivateChatReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PullPrivateChatReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PullPrivateChatReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PullPrivateChatReq_proto_goTypes, + DependencyIndexes: file_PullPrivateChatReq_proto_depIdxs, + MessageInfos: file_PullPrivateChatReq_proto_msgTypes, + }.Build() + File_PullPrivateChatReq_proto = out.File + file_PullPrivateChatReq_proto_rawDesc = nil + file_PullPrivateChatReq_proto_goTypes = nil + file_PullPrivateChatReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PullPrivateChatReq.proto b/gate-hk4e-api/proto/PullPrivateChatReq.proto new file mode 100644 index 00000000..cc104d3d --- /dev/null +++ b/gate-hk4e-api/proto/PullPrivateChatReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4971 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PullPrivateChatReq { + uint32 target_uid = 5; + uint32 pull_num = 7; + uint32 from_sequence = 12; +} diff --git a/gate-hk4e-api/proto/PullPrivateChatRsp.pb.go b/gate-hk4e-api/proto/PullPrivateChatRsp.pb.go new file mode 100644 index 00000000..f0e749bb --- /dev/null +++ b/gate-hk4e-api/proto/PullPrivateChatRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PullPrivateChatRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4953 +// EnetChannelId: 0 +// EnetIsReliable: true +type PullPrivateChatRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatInfo []*ChatInfo `protobuf:"bytes,15,rep,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PullPrivateChatRsp) Reset() { + *x = PullPrivateChatRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PullPrivateChatRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PullPrivateChatRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PullPrivateChatRsp) ProtoMessage() {} + +func (x *PullPrivateChatRsp) ProtoReflect() protoreflect.Message { + mi := &file_PullPrivateChatRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PullPrivateChatRsp.ProtoReflect.Descriptor instead. +func (*PullPrivateChatRsp) Descriptor() ([]byte, []int) { + return file_PullPrivateChatRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PullPrivateChatRsp) GetChatInfo() []*ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +func (x *PullPrivateChatRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PullPrivateChatRsp_proto protoreflect.FileDescriptor + +var file_PullPrivateChatRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x12, 0x50, 0x75, + 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x26, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PullPrivateChatRsp_proto_rawDescOnce sync.Once + file_PullPrivateChatRsp_proto_rawDescData = file_PullPrivateChatRsp_proto_rawDesc +) + +func file_PullPrivateChatRsp_proto_rawDescGZIP() []byte { + file_PullPrivateChatRsp_proto_rawDescOnce.Do(func() { + file_PullPrivateChatRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PullPrivateChatRsp_proto_rawDescData) + }) + return file_PullPrivateChatRsp_proto_rawDescData +} + +var file_PullPrivateChatRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PullPrivateChatRsp_proto_goTypes = []interface{}{ + (*PullPrivateChatRsp)(nil), // 0: PullPrivateChatRsp + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_PullPrivateChatRsp_proto_depIdxs = []int32{ + 1, // 0: PullPrivateChatRsp.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PullPrivateChatRsp_proto_init() } +func file_PullPrivateChatRsp_proto_init() { + if File_PullPrivateChatRsp_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PullPrivateChatRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PullPrivateChatRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PullPrivateChatRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PullPrivateChatRsp_proto_goTypes, + DependencyIndexes: file_PullPrivateChatRsp_proto_depIdxs, + MessageInfos: file_PullPrivateChatRsp_proto_msgTypes, + }.Build() + File_PullPrivateChatRsp_proto = out.File + file_PullPrivateChatRsp_proto_rawDesc = nil + file_PullPrivateChatRsp_proto_goTypes = nil + file_PullPrivateChatRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PullPrivateChatRsp.proto b/gate-hk4e-api/proto/PullPrivateChatRsp.proto new file mode 100644 index 00000000..e7532f10 --- /dev/null +++ b/gate-hk4e-api/proto/PullPrivateChatRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4953 +// EnetChannelId: 0 +// EnetIsReliable: true +message PullPrivateChatRsp { + repeated ChatInfo chat_info = 15; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/PullRecentChatReq.pb.go b/gate-hk4e-api/proto/PullRecentChatReq.pb.go new file mode 100644 index 00000000..0e9390c2 --- /dev/null +++ b/gate-hk4e-api/proto/PullRecentChatReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PullRecentChatReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5040 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PullRecentChatReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PullNum uint32 `protobuf:"varint,6,opt,name=pull_num,json=pullNum,proto3" json:"pull_num,omitempty"` + BeginSequence uint32 `protobuf:"varint,15,opt,name=begin_sequence,json=beginSequence,proto3" json:"begin_sequence,omitempty"` +} + +func (x *PullRecentChatReq) Reset() { + *x = PullRecentChatReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PullRecentChatReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PullRecentChatReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PullRecentChatReq) ProtoMessage() {} + +func (x *PullRecentChatReq) ProtoReflect() protoreflect.Message { + mi := &file_PullRecentChatReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PullRecentChatReq.ProtoReflect.Descriptor instead. +func (*PullRecentChatReq) Descriptor() ([]byte, []int) { + return file_PullRecentChatReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PullRecentChatReq) GetPullNum() uint32 { + if x != nil { + return x.PullNum + } + return 0 +} + +func (x *PullRecentChatReq) GetBeginSequence() uint32 { + if x != nil { + return x.BeginSequence + } + return 0 +} + +var File_PullRecentChatReq_proto protoreflect.FileDescriptor + +var file_PullRecentChatReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x50, 0x75, 0x6c, + 0x6c, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, + 0x0a, 0x08, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x70, 0x75, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x65, 0x67, + 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0d, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PullRecentChatReq_proto_rawDescOnce sync.Once + file_PullRecentChatReq_proto_rawDescData = file_PullRecentChatReq_proto_rawDesc +) + +func file_PullRecentChatReq_proto_rawDescGZIP() []byte { + file_PullRecentChatReq_proto_rawDescOnce.Do(func() { + file_PullRecentChatReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PullRecentChatReq_proto_rawDescData) + }) + return file_PullRecentChatReq_proto_rawDescData +} + +var file_PullRecentChatReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PullRecentChatReq_proto_goTypes = []interface{}{ + (*PullRecentChatReq)(nil), // 0: PullRecentChatReq +} +var file_PullRecentChatReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PullRecentChatReq_proto_init() } +func file_PullRecentChatReq_proto_init() { + if File_PullRecentChatReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PullRecentChatReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PullRecentChatReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PullRecentChatReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PullRecentChatReq_proto_goTypes, + DependencyIndexes: file_PullRecentChatReq_proto_depIdxs, + MessageInfos: file_PullRecentChatReq_proto_msgTypes, + }.Build() + File_PullRecentChatReq_proto = out.File + file_PullRecentChatReq_proto_rawDesc = nil + file_PullRecentChatReq_proto_goTypes = nil + file_PullRecentChatReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PullRecentChatReq.proto b/gate-hk4e-api/proto/PullRecentChatReq.proto new file mode 100644 index 00000000..279b582e --- /dev/null +++ b/gate-hk4e-api/proto/PullRecentChatReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5040 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PullRecentChatReq { + uint32 pull_num = 6; + uint32 begin_sequence = 15; +} diff --git a/gate-hk4e-api/proto/PullRecentChatRsp.pb.go b/gate-hk4e-api/proto/PullRecentChatRsp.pb.go new file mode 100644 index 00000000..abde1e16 --- /dev/null +++ b/gate-hk4e-api/proto/PullRecentChatRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PullRecentChatRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5023 +// EnetChannelId: 0 +// EnetIsReliable: true +type PullRecentChatRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatInfo []*ChatInfo `protobuf:"bytes,15,rep,name=chat_info,json=chatInfo,proto3" json:"chat_info,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PullRecentChatRsp) Reset() { + *x = PullRecentChatRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PullRecentChatRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PullRecentChatRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PullRecentChatRsp) ProtoMessage() {} + +func (x *PullRecentChatRsp) ProtoReflect() protoreflect.Message { + mi := &file_PullRecentChatRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PullRecentChatRsp.ProtoReflect.Descriptor instead. +func (*PullRecentChatRsp) Descriptor() ([]byte, []int) { + return file_PullRecentChatRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PullRecentChatRsp) GetChatInfo() []*ChatInfo { + if x != nil { + return x.ChatInfo + } + return nil +} + +func (x *PullRecentChatRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PullRecentChatRsp_proto protoreflect.FileDescriptor + +var file_PullRecentChatRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x43, 0x68, 0x61, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x50, 0x75, 0x6c, + 0x6c, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, 0x12, 0x26, + 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PullRecentChatRsp_proto_rawDescOnce sync.Once + file_PullRecentChatRsp_proto_rawDescData = file_PullRecentChatRsp_proto_rawDesc +) + +func file_PullRecentChatRsp_proto_rawDescGZIP() []byte { + file_PullRecentChatRsp_proto_rawDescOnce.Do(func() { + file_PullRecentChatRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PullRecentChatRsp_proto_rawDescData) + }) + return file_PullRecentChatRsp_proto_rawDescData +} + +var file_PullRecentChatRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PullRecentChatRsp_proto_goTypes = []interface{}{ + (*PullRecentChatRsp)(nil), // 0: PullRecentChatRsp + (*ChatInfo)(nil), // 1: ChatInfo +} +var file_PullRecentChatRsp_proto_depIdxs = []int32{ + 1, // 0: PullRecentChatRsp.chat_info:type_name -> ChatInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PullRecentChatRsp_proto_init() } +func file_PullRecentChatRsp_proto_init() { + if File_PullRecentChatRsp_proto != nil { + return + } + file_ChatInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_PullRecentChatRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PullRecentChatRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PullRecentChatRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PullRecentChatRsp_proto_goTypes, + DependencyIndexes: file_PullRecentChatRsp_proto_depIdxs, + MessageInfos: file_PullRecentChatRsp_proto_msgTypes, + }.Build() + File_PullRecentChatRsp_proto = out.File + file_PullRecentChatRsp_proto_rawDesc = nil + file_PullRecentChatRsp_proto_goTypes = nil + file_PullRecentChatRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PullRecentChatRsp.proto b/gate-hk4e-api/proto/PullRecentChatRsp.proto new file mode 100644 index 00000000..65813017 --- /dev/null +++ b/gate-hk4e-api/proto/PullRecentChatRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5023 +// EnetChannelId: 0 +// EnetIsReliable: true +message PullRecentChatRsp { + repeated ChatInfo chat_info = 15; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/PushTipsAllDataNotify.pb.go b/gate-hk4e-api/proto/PushTipsAllDataNotify.pb.go new file mode 100644 index 00000000..b9383fc5 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsAllDataNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PushTipsAllDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2222 +// EnetChannelId: 0 +// EnetIsReliable: true +type PushTipsAllDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsList []*PushTipsData `protobuf:"bytes,4,rep,name=push_tips_list,json=pushTipsList,proto3" json:"push_tips_list,omitempty"` +} + +func (x *PushTipsAllDataNotify) Reset() { + *x = PushTipsAllDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PushTipsAllDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PushTipsAllDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PushTipsAllDataNotify) ProtoMessage() {} + +func (x *PushTipsAllDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_PushTipsAllDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PushTipsAllDataNotify.ProtoReflect.Descriptor instead. +func (*PushTipsAllDataNotify) Descriptor() ([]byte, []int) { + return file_PushTipsAllDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PushTipsAllDataNotify) GetPushTipsList() []*PushTipsData { + if x != nil { + return x.PushTipsList + } + return nil +} + +var File_PushTipsAllDataNotify_proto protoreflect.FileDescriptor + +var file_PushTipsAllDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x50, + 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x4c, 0x0a, 0x15, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x41, 0x6c, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x0e, 0x70, 0x75, + 0x73, 0x68, 0x5f, 0x74, 0x69, 0x70, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_PushTipsAllDataNotify_proto_rawDescOnce sync.Once + file_PushTipsAllDataNotify_proto_rawDescData = file_PushTipsAllDataNotify_proto_rawDesc +) + +func file_PushTipsAllDataNotify_proto_rawDescGZIP() []byte { + file_PushTipsAllDataNotify_proto_rawDescOnce.Do(func() { + file_PushTipsAllDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PushTipsAllDataNotify_proto_rawDescData) + }) + return file_PushTipsAllDataNotify_proto_rawDescData +} + +var file_PushTipsAllDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PushTipsAllDataNotify_proto_goTypes = []interface{}{ + (*PushTipsAllDataNotify)(nil), // 0: PushTipsAllDataNotify + (*PushTipsData)(nil), // 1: PushTipsData +} +var file_PushTipsAllDataNotify_proto_depIdxs = []int32{ + 1, // 0: PushTipsAllDataNotify.push_tips_list:type_name -> PushTipsData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PushTipsAllDataNotify_proto_init() } +func file_PushTipsAllDataNotify_proto_init() { + if File_PushTipsAllDataNotify_proto != nil { + return + } + file_PushTipsData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PushTipsAllDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushTipsAllDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PushTipsAllDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PushTipsAllDataNotify_proto_goTypes, + DependencyIndexes: file_PushTipsAllDataNotify_proto_depIdxs, + MessageInfos: file_PushTipsAllDataNotify_proto_msgTypes, + }.Build() + File_PushTipsAllDataNotify_proto = out.File + file_PushTipsAllDataNotify_proto_rawDesc = nil + file_PushTipsAllDataNotify_proto_goTypes = nil + file_PushTipsAllDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PushTipsAllDataNotify.proto b/gate-hk4e-api/proto/PushTipsAllDataNotify.proto new file mode 100644 index 00000000..4f0c93b5 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsAllDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PushTipsData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2222 +// EnetChannelId: 0 +// EnetIsReliable: true +message PushTipsAllDataNotify { + repeated PushTipsData push_tips_list = 4; +} diff --git a/gate-hk4e-api/proto/PushTipsChangeNotify.pb.go b/gate-hk4e-api/proto/PushTipsChangeNotify.pb.go new file mode 100644 index 00000000..fe1e31c3 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsChangeNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PushTipsChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2265 +// EnetChannelId: 0 +// EnetIsReliable: true +type PushTipsChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsList []*PushTipsData `protobuf:"bytes,9,rep,name=push_tips_list,json=pushTipsList,proto3" json:"push_tips_list,omitempty"` +} + +func (x *PushTipsChangeNotify) Reset() { + *x = PushTipsChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_PushTipsChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PushTipsChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PushTipsChangeNotify) ProtoMessage() {} + +func (x *PushTipsChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_PushTipsChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PushTipsChangeNotify.ProtoReflect.Descriptor instead. +func (*PushTipsChangeNotify) Descriptor() ([]byte, []int) { + return file_PushTipsChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *PushTipsChangeNotify) GetPushTipsList() []*PushTipsData { + if x != nil { + return x.PushTipsList + } + return nil +} + +var File_PushTipsChangeNotify_proto protoreflect.FileDescriptor + +var file_PushTipsChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x50, 0x75, + 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4b, 0x0a, 0x14, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x0e, 0x70, 0x75, 0x73, 0x68, + 0x5f, 0x74, 0x69, 0x70, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x0c, 0x70, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_PushTipsChangeNotify_proto_rawDescOnce sync.Once + file_PushTipsChangeNotify_proto_rawDescData = file_PushTipsChangeNotify_proto_rawDesc +) + +func file_PushTipsChangeNotify_proto_rawDescGZIP() []byte { + file_PushTipsChangeNotify_proto_rawDescOnce.Do(func() { + file_PushTipsChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_PushTipsChangeNotify_proto_rawDescData) + }) + return file_PushTipsChangeNotify_proto_rawDescData +} + +var file_PushTipsChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PushTipsChangeNotify_proto_goTypes = []interface{}{ + (*PushTipsChangeNotify)(nil), // 0: PushTipsChangeNotify + (*PushTipsData)(nil), // 1: PushTipsData +} +var file_PushTipsChangeNotify_proto_depIdxs = []int32{ + 1, // 0: PushTipsChangeNotify.push_tips_list:type_name -> PushTipsData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_PushTipsChangeNotify_proto_init() } +func file_PushTipsChangeNotify_proto_init() { + if File_PushTipsChangeNotify_proto != nil { + return + } + file_PushTipsData_proto_init() + if !protoimpl.UnsafeEnabled { + file_PushTipsChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushTipsChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PushTipsChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PushTipsChangeNotify_proto_goTypes, + DependencyIndexes: file_PushTipsChangeNotify_proto_depIdxs, + MessageInfos: file_PushTipsChangeNotify_proto_msgTypes, + }.Build() + File_PushTipsChangeNotify_proto = out.File + file_PushTipsChangeNotify_proto_rawDesc = nil + file_PushTipsChangeNotify_proto_goTypes = nil + file_PushTipsChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PushTipsChangeNotify.proto b/gate-hk4e-api/proto/PushTipsChangeNotify.proto new file mode 100644 index 00000000..9c98f459 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PushTipsData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2265 +// EnetChannelId: 0 +// EnetIsReliable: true +message PushTipsChangeNotify { + repeated PushTipsData push_tips_list = 9; +} diff --git a/gate-hk4e-api/proto/PushTipsData.pb.go b/gate-hk4e-api/proto/PushTipsData.pb.go new file mode 100644 index 00000000..f0ee07f5 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsData.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PushTipsData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PushTipsData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsId uint32 `protobuf:"varint,13,opt,name=push_tips_id,json=pushTipsId,proto3" json:"push_tips_id,omitempty"` + State uint32 `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"` +} + +func (x *PushTipsData) Reset() { + *x = PushTipsData{} + if protoimpl.UnsafeEnabled { + mi := &file_PushTipsData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PushTipsData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PushTipsData) ProtoMessage() {} + +func (x *PushTipsData) ProtoReflect() protoreflect.Message { + mi := &file_PushTipsData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PushTipsData.ProtoReflect.Descriptor instead. +func (*PushTipsData) Descriptor() ([]byte, []int) { + return file_PushTipsData_proto_rawDescGZIP(), []int{0} +} + +func (x *PushTipsData) GetPushTipsId() uint32 { + if x != nil { + return x.PushTipsId + } + return 0 +} + +func (x *PushTipsData) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +var File_PushTipsData_proto protoreflect.FileDescriptor + +var file_PushTipsData_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x0c, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x70, + 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x75, 0x73, 0x68, + 0x54, 0x69, 0x70, 0x73, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PushTipsData_proto_rawDescOnce sync.Once + file_PushTipsData_proto_rawDescData = file_PushTipsData_proto_rawDesc +) + +func file_PushTipsData_proto_rawDescGZIP() []byte { + file_PushTipsData_proto_rawDescOnce.Do(func() { + file_PushTipsData_proto_rawDescData = protoimpl.X.CompressGZIP(file_PushTipsData_proto_rawDescData) + }) + return file_PushTipsData_proto_rawDescData +} + +var file_PushTipsData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PushTipsData_proto_goTypes = []interface{}{ + (*PushTipsData)(nil), // 0: PushTipsData +} +var file_PushTipsData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PushTipsData_proto_init() } +func file_PushTipsData_proto_init() { + if File_PushTipsData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PushTipsData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushTipsData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PushTipsData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PushTipsData_proto_goTypes, + DependencyIndexes: file_PushTipsData_proto_depIdxs, + MessageInfos: file_PushTipsData_proto_msgTypes, + }.Build() + File_PushTipsData_proto = out.File + file_PushTipsData_proto_rawDesc = nil + file_PushTipsData_proto_goTypes = nil + file_PushTipsData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PushTipsData.proto b/gate-hk4e-api/proto/PushTipsData.proto new file mode 100644 index 00000000..3b1f0b90 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message PushTipsData { + uint32 push_tips_id = 13; + uint32 state = 4; +} diff --git a/gate-hk4e-api/proto/PushTipsReadFinishReq.pb.go b/gate-hk4e-api/proto/PushTipsReadFinishReq.pb.go new file mode 100644 index 00000000..8bfe1041 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsReadFinishReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PushTipsReadFinishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2204 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type PushTipsReadFinishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsId uint32 `protobuf:"varint,11,opt,name=push_tips_id,json=pushTipsId,proto3" json:"push_tips_id,omitempty"` +} + +func (x *PushTipsReadFinishReq) Reset() { + *x = PushTipsReadFinishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_PushTipsReadFinishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PushTipsReadFinishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PushTipsReadFinishReq) ProtoMessage() {} + +func (x *PushTipsReadFinishReq) ProtoReflect() protoreflect.Message { + mi := &file_PushTipsReadFinishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PushTipsReadFinishReq.ProtoReflect.Descriptor instead. +func (*PushTipsReadFinishReq) Descriptor() ([]byte, []int) { + return file_PushTipsReadFinishReq_proto_rawDescGZIP(), []int{0} +} + +func (x *PushTipsReadFinishReq) GetPushTipsId() uint32 { + if x != nil { + return x.PushTipsId + } + return 0 +} + +var File_PushTipsReadFinishReq_proto protoreflect.FileDescriptor + +var file_PushTipsReadFinishReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, + 0x15, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x74, + 0x69, 0x70, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x75, + 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PushTipsReadFinishReq_proto_rawDescOnce sync.Once + file_PushTipsReadFinishReq_proto_rawDescData = file_PushTipsReadFinishReq_proto_rawDesc +) + +func file_PushTipsReadFinishReq_proto_rawDescGZIP() []byte { + file_PushTipsReadFinishReq_proto_rawDescOnce.Do(func() { + file_PushTipsReadFinishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_PushTipsReadFinishReq_proto_rawDescData) + }) + return file_PushTipsReadFinishReq_proto_rawDescData +} + +var file_PushTipsReadFinishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PushTipsReadFinishReq_proto_goTypes = []interface{}{ + (*PushTipsReadFinishReq)(nil), // 0: PushTipsReadFinishReq +} +var file_PushTipsReadFinishReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PushTipsReadFinishReq_proto_init() } +func file_PushTipsReadFinishReq_proto_init() { + if File_PushTipsReadFinishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PushTipsReadFinishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushTipsReadFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PushTipsReadFinishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PushTipsReadFinishReq_proto_goTypes, + DependencyIndexes: file_PushTipsReadFinishReq_proto_depIdxs, + MessageInfos: file_PushTipsReadFinishReq_proto_msgTypes, + }.Build() + File_PushTipsReadFinishReq_proto = out.File + file_PushTipsReadFinishReq_proto_rawDesc = nil + file_PushTipsReadFinishReq_proto_goTypes = nil + file_PushTipsReadFinishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PushTipsReadFinishReq.proto b/gate-hk4e-api/proto/PushTipsReadFinishReq.proto new file mode 100644 index 00000000..a673c826 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsReadFinishReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2204 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message PushTipsReadFinishReq { + uint32 push_tips_id = 11; +} diff --git a/gate-hk4e-api/proto/PushTipsReadFinishRsp.pb.go b/gate-hk4e-api/proto/PushTipsReadFinishRsp.pb.go new file mode 100644 index 00000000..5f9cbf30 --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsReadFinishRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: PushTipsReadFinishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2293 +// EnetChannelId: 0 +// EnetIsReliable: true +type PushTipsReadFinishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PushTipsId uint32 `protobuf:"varint,3,opt,name=push_tips_id,json=pushTipsId,proto3" json:"push_tips_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *PushTipsReadFinishRsp) Reset() { + *x = PushTipsReadFinishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_PushTipsReadFinishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PushTipsReadFinishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PushTipsReadFinishRsp) ProtoMessage() {} + +func (x *PushTipsReadFinishRsp) ProtoReflect() protoreflect.Message { + mi := &file_PushTipsReadFinishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PushTipsReadFinishRsp.ProtoReflect.Descriptor instead. +func (*PushTipsReadFinishRsp) Descriptor() ([]byte, []int) { + return file_PushTipsReadFinishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *PushTipsReadFinishRsp) GetPushTipsId() uint32 { + if x != nil { + return x.PushTipsId + } + return 0 +} + +func (x *PushTipsReadFinishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_PushTipsReadFinishRsp_proto protoreflect.FileDescriptor + +var file_PushTipsReadFinishRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, + 0x15, 0x50, 0x75, 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x74, + 0x69, 0x70, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x75, + 0x73, 0x68, 0x54, 0x69, 0x70, 0x73, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_PushTipsReadFinishRsp_proto_rawDescOnce sync.Once + file_PushTipsReadFinishRsp_proto_rawDescData = file_PushTipsReadFinishRsp_proto_rawDesc +) + +func file_PushTipsReadFinishRsp_proto_rawDescGZIP() []byte { + file_PushTipsReadFinishRsp_proto_rawDescOnce.Do(func() { + file_PushTipsReadFinishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_PushTipsReadFinishRsp_proto_rawDescData) + }) + return file_PushTipsReadFinishRsp_proto_rawDescData +} + +var file_PushTipsReadFinishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_PushTipsReadFinishRsp_proto_goTypes = []interface{}{ + (*PushTipsReadFinishRsp)(nil), // 0: PushTipsReadFinishRsp +} +var file_PushTipsReadFinishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_PushTipsReadFinishRsp_proto_init() } +func file_PushTipsReadFinishRsp_proto_init() { + if File_PushTipsReadFinishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_PushTipsReadFinishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushTipsReadFinishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_PushTipsReadFinishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_PushTipsReadFinishRsp_proto_goTypes, + DependencyIndexes: file_PushTipsReadFinishRsp_proto_depIdxs, + MessageInfos: file_PushTipsReadFinishRsp_proto_msgTypes, + }.Build() + File_PushTipsReadFinishRsp_proto = out.File + file_PushTipsReadFinishRsp_proto_rawDesc = nil + file_PushTipsReadFinishRsp_proto_goTypes = nil + file_PushTipsReadFinishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/PushTipsReadFinishRsp.proto b/gate-hk4e-api/proto/PushTipsReadFinishRsp.proto new file mode 100644 index 00000000..c156541b --- /dev/null +++ b/gate-hk4e-api/proto/PushTipsReadFinishRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2293 +// EnetChannelId: 0 +// EnetIsReliable: true +message PushTipsReadFinishRsp { + uint32 push_tips_id = 3; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.pb.go b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.pb.go new file mode 100644 index 00000000..17e44476 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryCodexMonsterBeKilledNumReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4203 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QueryCodexMonsterBeKilledNumReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CodexIdList []uint32 `protobuf:"varint,14,rep,packed,name=codex_id_list,json=codexIdList,proto3" json:"codex_id_list,omitempty"` +} + +func (x *QueryCodexMonsterBeKilledNumReq) Reset() { + *x = QueryCodexMonsterBeKilledNumReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryCodexMonsterBeKilledNumReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryCodexMonsterBeKilledNumReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryCodexMonsterBeKilledNumReq) ProtoMessage() {} + +func (x *QueryCodexMonsterBeKilledNumReq) ProtoReflect() protoreflect.Message { + mi := &file_QueryCodexMonsterBeKilledNumReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryCodexMonsterBeKilledNumReq.ProtoReflect.Descriptor instead. +func (*QueryCodexMonsterBeKilledNumReq) Descriptor() ([]byte, []int) { + return file_QueryCodexMonsterBeKilledNumReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryCodexMonsterBeKilledNumReq) GetCodexIdList() []uint32 { + if x != nil { + return x.CodexIdList + } + return nil +} + +var File_QueryCodexMonsterBeKilledNumReq_proto protoreflect.FileDescriptor + +var file_QueryCodexMonsterBeKilledNumReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x42, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x43, 0x6f, 0x64, 0x65, 0x78, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x65, 0x4b, 0x69, + 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6f, + 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x78, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_QueryCodexMonsterBeKilledNumReq_proto_rawDescOnce sync.Once + file_QueryCodexMonsterBeKilledNumReq_proto_rawDescData = file_QueryCodexMonsterBeKilledNumReq_proto_rawDesc +) + +func file_QueryCodexMonsterBeKilledNumReq_proto_rawDescGZIP() []byte { + file_QueryCodexMonsterBeKilledNumReq_proto_rawDescOnce.Do(func() { + file_QueryCodexMonsterBeKilledNumReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryCodexMonsterBeKilledNumReq_proto_rawDescData) + }) + return file_QueryCodexMonsterBeKilledNumReq_proto_rawDescData +} + +var file_QueryCodexMonsterBeKilledNumReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryCodexMonsterBeKilledNumReq_proto_goTypes = []interface{}{ + (*QueryCodexMonsterBeKilledNumReq)(nil), // 0: QueryCodexMonsterBeKilledNumReq +} +var file_QueryCodexMonsterBeKilledNumReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QueryCodexMonsterBeKilledNumReq_proto_init() } +func file_QueryCodexMonsterBeKilledNumReq_proto_init() { + if File_QueryCodexMonsterBeKilledNumReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QueryCodexMonsterBeKilledNumReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryCodexMonsterBeKilledNumReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryCodexMonsterBeKilledNumReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryCodexMonsterBeKilledNumReq_proto_goTypes, + DependencyIndexes: file_QueryCodexMonsterBeKilledNumReq_proto_depIdxs, + MessageInfos: file_QueryCodexMonsterBeKilledNumReq_proto_msgTypes, + }.Build() + File_QueryCodexMonsterBeKilledNumReq_proto = out.File + file_QueryCodexMonsterBeKilledNumReq_proto_rawDesc = nil + file_QueryCodexMonsterBeKilledNumReq_proto_goTypes = nil + file_QueryCodexMonsterBeKilledNumReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.proto b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.proto new file mode 100644 index 00000000..bf62b1a0 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4203 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QueryCodexMonsterBeKilledNumReq { + repeated uint32 codex_id_list = 14; +} diff --git a/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.pb.go b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.pb.go new file mode 100644 index 00000000..9e028d91 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryCodexMonsterBeKilledNumRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4209 +// EnetChannelId: 0 +// EnetIsReliable: true +type QueryCodexMonsterBeKilledNumRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CodexIdList []uint32 `protobuf:"varint,4,rep,packed,name=codex_id_list,json=codexIdList,proto3" json:"codex_id_list,omitempty"` + Unk2700_MKOBMGGPNMI []uint32 `protobuf:"varint,6,rep,packed,name=Unk2700_MKOBMGGPNMI,json=Unk2700MKOBMGGPNMI,proto3" json:"Unk2700_MKOBMGGPNMI,omitempty"` + BeKilledNumList []uint32 `protobuf:"varint,12,rep,packed,name=be_killed_num_list,json=beKilledNumList,proto3" json:"be_killed_num_list,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *QueryCodexMonsterBeKilledNumRsp) Reset() { + *x = QueryCodexMonsterBeKilledNumRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryCodexMonsterBeKilledNumRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryCodexMonsterBeKilledNumRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryCodexMonsterBeKilledNumRsp) ProtoMessage() {} + +func (x *QueryCodexMonsterBeKilledNumRsp) ProtoReflect() protoreflect.Message { + mi := &file_QueryCodexMonsterBeKilledNumRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryCodexMonsterBeKilledNumRsp.ProtoReflect.Descriptor instead. +func (*QueryCodexMonsterBeKilledNumRsp) Descriptor() ([]byte, []int) { + return file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryCodexMonsterBeKilledNumRsp) GetCodexIdList() []uint32 { + if x != nil { + return x.CodexIdList + } + return nil +} + +func (x *QueryCodexMonsterBeKilledNumRsp) GetUnk2700_MKOBMGGPNMI() []uint32 { + if x != nil { + return x.Unk2700_MKOBMGGPNMI + } + return nil +} + +func (x *QueryCodexMonsterBeKilledNumRsp) GetBeKilledNumList() []uint32 { + if x != nil { + return x.BeKilledNumList + } + return nil +} + +func (x *QueryCodexMonsterBeKilledNumRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_QueryCodexMonsterBeKilledNumRsp_proto protoreflect.FileDescriptor + +var file_QueryCodexMonsterBeKilledNumRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x42, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x65, 0x4b, + 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x63, + 0x6f, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x78, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4f, 0x42, 0x4d, + 0x47, 0x47, 0x50, 0x4e, 0x4d, 0x49, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4b, 0x4f, 0x42, 0x4d, 0x47, 0x47, 0x50, 0x4e, 0x4d, 0x49, + 0x12, 0x2b, 0x0a, 0x12, 0x62, 0x65, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x6e, 0x75, + 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x65, + 0x4b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescOnce sync.Once + file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescData = file_QueryCodexMonsterBeKilledNumRsp_proto_rawDesc +) + +func file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescGZIP() []byte { + file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescOnce.Do(func() { + file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescData) + }) + return file_QueryCodexMonsterBeKilledNumRsp_proto_rawDescData +} + +var file_QueryCodexMonsterBeKilledNumRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryCodexMonsterBeKilledNumRsp_proto_goTypes = []interface{}{ + (*QueryCodexMonsterBeKilledNumRsp)(nil), // 0: QueryCodexMonsterBeKilledNumRsp +} +var file_QueryCodexMonsterBeKilledNumRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QueryCodexMonsterBeKilledNumRsp_proto_init() } +func file_QueryCodexMonsterBeKilledNumRsp_proto_init() { + if File_QueryCodexMonsterBeKilledNumRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QueryCodexMonsterBeKilledNumRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryCodexMonsterBeKilledNumRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryCodexMonsterBeKilledNumRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryCodexMonsterBeKilledNumRsp_proto_goTypes, + DependencyIndexes: file_QueryCodexMonsterBeKilledNumRsp_proto_depIdxs, + MessageInfos: file_QueryCodexMonsterBeKilledNumRsp_proto_msgTypes, + }.Build() + File_QueryCodexMonsterBeKilledNumRsp_proto = out.File + file_QueryCodexMonsterBeKilledNumRsp_proto_rawDesc = nil + file_QueryCodexMonsterBeKilledNumRsp_proto_goTypes = nil + file_QueryCodexMonsterBeKilledNumRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.proto b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.proto new file mode 100644 index 00000000..f73d7845 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCodexMonsterBeKilledNumRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4209 +// EnetChannelId: 0 +// EnetIsReliable: true +message QueryCodexMonsterBeKilledNumRsp { + repeated uint32 codex_id_list = 4; + repeated uint32 Unk2700_MKOBMGGPNMI = 6; + repeated uint32 be_killed_num_list = 12; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.pb.go b/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.pb.go new file mode 100644 index 00000000..7c8c8fb5 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.pb.go @@ -0,0 +1,280 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryCurrRegionHttpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryCurrRegionHttpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + RegionInfo *RegionInfo `protobuf:"bytes,3,opt,name=region_info,json=regionInfo,proto3" json:"region_info,omitempty"` + ClientSecretKey []byte `protobuf:"bytes,11,opt,name=client_secret_key,json=clientSecretKey,proto3" json:"client_secret_key,omitempty"` + RegionCustomConfigEncrypted []byte `protobuf:"bytes,12,opt,name=region_custom_config_encrypted,json=regionCustomConfigEncrypted,proto3" json:"region_custom_config_encrypted,omitempty"` + ClientRegionCustomConfigEncrypted []byte `protobuf:"bytes,13,opt,name=client_region_custom_config_encrypted,json=clientRegionCustomConfigEncrypted,proto3" json:"client_region_custom_config_encrypted,omitempty"` + // Types that are assignable to Detail: + // *QueryCurrRegionHttpRsp_ForceUdpate + // *QueryCurrRegionHttpRsp_StopServer + Detail isQueryCurrRegionHttpRsp_Detail `protobuf_oneof:"detail"` +} + +func (x *QueryCurrRegionHttpRsp) Reset() { + *x = QueryCurrRegionHttpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryCurrRegionHttpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryCurrRegionHttpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryCurrRegionHttpRsp) ProtoMessage() {} + +func (x *QueryCurrRegionHttpRsp) ProtoReflect() protoreflect.Message { + mi := &file_QueryCurrRegionHttpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryCurrRegionHttpRsp.ProtoReflect.Descriptor instead. +func (*QueryCurrRegionHttpRsp) Descriptor() ([]byte, []int) { + return file_QueryCurrRegionHttpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryCurrRegionHttpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *QueryCurrRegionHttpRsp) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + +func (x *QueryCurrRegionHttpRsp) GetRegionInfo() *RegionInfo { + if x != nil { + return x.RegionInfo + } + return nil +} + +func (x *QueryCurrRegionHttpRsp) GetClientSecretKey() []byte { + if x != nil { + return x.ClientSecretKey + } + return nil +} + +func (x *QueryCurrRegionHttpRsp) GetRegionCustomConfigEncrypted() []byte { + if x != nil { + return x.RegionCustomConfigEncrypted + } + return nil +} + +func (x *QueryCurrRegionHttpRsp) GetClientRegionCustomConfigEncrypted() []byte { + if x != nil { + return x.ClientRegionCustomConfigEncrypted + } + return nil +} + +func (m *QueryCurrRegionHttpRsp) GetDetail() isQueryCurrRegionHttpRsp_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *QueryCurrRegionHttpRsp) GetForceUdpate() *ForceUpdateInfo { + if x, ok := x.GetDetail().(*QueryCurrRegionHttpRsp_ForceUdpate); ok { + return x.ForceUdpate + } + return nil +} + +func (x *QueryCurrRegionHttpRsp) GetStopServer() *StopServerInfo { + if x, ok := x.GetDetail().(*QueryCurrRegionHttpRsp_StopServer); ok { + return x.StopServer + } + return nil +} + +type isQueryCurrRegionHttpRsp_Detail interface { + isQueryCurrRegionHttpRsp_Detail() +} + +type QueryCurrRegionHttpRsp_ForceUdpate struct { + ForceUdpate *ForceUpdateInfo `protobuf:"bytes,4,opt,name=force_udpate,json=forceUdpate,proto3,oneof"` +} + +type QueryCurrRegionHttpRsp_StopServer struct { + StopServer *StopServerInfo `protobuf:"bytes,5,opt,name=stop_server,json=stopServer,proto3,oneof"` +} + +func (*QueryCurrRegionHttpRsp_ForceUdpate) isQueryCurrRegionHttpRsp_Detail() {} + +func (*QueryCurrRegionHttpRsp_StopServer) isQueryCurrRegionHttpRsp_Detail() {} + +var File_QueryCurrRegionHttpRsp_proto protoreflect.FileDescriptor + +var file_QueryCurrRegionHttpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x75, 0x72, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x03, + 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x75, 0x72, 0x72, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2c, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x43, + 0x0a, 0x1e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x25, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x21, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, + 0x64, 0x70, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x46, 0x6f, + 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x64, 0x70, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x0b, + 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QueryCurrRegionHttpRsp_proto_rawDescOnce sync.Once + file_QueryCurrRegionHttpRsp_proto_rawDescData = file_QueryCurrRegionHttpRsp_proto_rawDesc +) + +func file_QueryCurrRegionHttpRsp_proto_rawDescGZIP() []byte { + file_QueryCurrRegionHttpRsp_proto_rawDescOnce.Do(func() { + file_QueryCurrRegionHttpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryCurrRegionHttpRsp_proto_rawDescData) + }) + return file_QueryCurrRegionHttpRsp_proto_rawDescData +} + +var file_QueryCurrRegionHttpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryCurrRegionHttpRsp_proto_goTypes = []interface{}{ + (*QueryCurrRegionHttpRsp)(nil), // 0: QueryCurrRegionHttpRsp + (*RegionInfo)(nil), // 1: RegionInfo + (*ForceUpdateInfo)(nil), // 2: ForceUpdateInfo + (*StopServerInfo)(nil), // 3: StopServerInfo +} +var file_QueryCurrRegionHttpRsp_proto_depIdxs = []int32{ + 1, // 0: QueryCurrRegionHttpRsp.region_info:type_name -> RegionInfo + 2, // 1: QueryCurrRegionHttpRsp.force_udpate:type_name -> ForceUpdateInfo + 3, // 2: QueryCurrRegionHttpRsp.stop_server:type_name -> StopServerInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_QueryCurrRegionHttpRsp_proto_init() } +func file_QueryCurrRegionHttpRsp_proto_init() { + if File_QueryCurrRegionHttpRsp_proto != nil { + return + } + file_ForceUpdateInfo_proto_init() + file_RegionInfo_proto_init() + file_StopServerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_QueryCurrRegionHttpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryCurrRegionHttpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_QueryCurrRegionHttpRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*QueryCurrRegionHttpRsp_ForceUdpate)(nil), + (*QueryCurrRegionHttpRsp_StopServer)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryCurrRegionHttpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryCurrRegionHttpRsp_proto_goTypes, + DependencyIndexes: file_QueryCurrRegionHttpRsp_proto_depIdxs, + MessageInfos: file_QueryCurrRegionHttpRsp_proto_msgTypes, + }.Build() + File_QueryCurrRegionHttpRsp_proto = out.File + file_QueryCurrRegionHttpRsp_proto_rawDesc = nil + file_QueryCurrRegionHttpRsp_proto_goTypes = nil + file_QueryCurrRegionHttpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.proto b/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.proto new file mode 100644 index 00000000..d1efc415 --- /dev/null +++ b/gate-hk4e-api/proto/QueryCurrRegionHttpRsp.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ForceUpdateInfo.proto"; +import "RegionInfo.proto"; +import "StopServerInfo.proto"; + +option go_package = "./;proto"; + +message QueryCurrRegionHttpRsp { + int32 retcode = 1; + string msg = 2; + RegionInfo region_info = 3; + bytes client_secret_key = 11; + bytes region_custom_config_encrypted = 12; + bytes client_region_custom_config_encrypted = 13; + oneof detail { + ForceUpdateInfo force_udpate = 4; + StopServerInfo stop_server = 5; + } +} diff --git a/gate-hk4e-api/proto/QueryFilter.pb.go b/gate-hk4e-api/proto/QueryFilter.pb.go new file mode 100644 index 00000000..0bd1234d --- /dev/null +++ b/gate-hk4e-api/proto/QueryFilter.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryFilter.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TypeId int32 `protobuf:"varint,9,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` + AreaMask int32 `protobuf:"varint,13,opt,name=area_mask,json=areaMask,proto3" json:"area_mask,omitempty"` +} + +func (x *QueryFilter) Reset() { + *x = QueryFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryFilter_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryFilter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryFilter) ProtoMessage() {} + +func (x *QueryFilter) ProtoReflect() protoreflect.Message { + mi := &file_QueryFilter_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryFilter.ProtoReflect.Descriptor instead. +func (*QueryFilter) Descriptor() ([]byte, []int) { + return file_QueryFilter_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryFilter) GetTypeId() int32 { + if x != nil { + return x.TypeId + } + return 0 +} + +func (x *QueryFilter) GetAreaMask() int32 { + if x != nil { + return x.AreaMask + } + return 0 +} + +var File_QueryFilter_proto protoreflect.FileDescriptor + +var file_QueryFilter_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, + 0x72, 0x65, 0x61, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x61, 0x72, 0x65, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QueryFilter_proto_rawDescOnce sync.Once + file_QueryFilter_proto_rawDescData = file_QueryFilter_proto_rawDesc +) + +func file_QueryFilter_proto_rawDescGZIP() []byte { + file_QueryFilter_proto_rawDescOnce.Do(func() { + file_QueryFilter_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryFilter_proto_rawDescData) + }) + return file_QueryFilter_proto_rawDescData +} + +var file_QueryFilter_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryFilter_proto_goTypes = []interface{}{ + (*QueryFilter)(nil), // 0: QueryFilter +} +var file_QueryFilter_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QueryFilter_proto_init() } +func file_QueryFilter_proto_init() { + if File_QueryFilter_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QueryFilter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryFilter_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryFilter_proto_goTypes, + DependencyIndexes: file_QueryFilter_proto_depIdxs, + MessageInfos: file_QueryFilter_proto_msgTypes, + }.Build() + File_QueryFilter_proto = out.File + file_QueryFilter_proto_rawDesc = nil + file_QueryFilter_proto_goTypes = nil + file_QueryFilter_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryFilter.proto b/gate-hk4e-api/proto/QueryFilter.proto new file mode 100644 index 00000000..05a577b5 --- /dev/null +++ b/gate-hk4e-api/proto/QueryFilter.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message QueryFilter { + int32 type_id = 9; + int32 area_mask = 13; +} diff --git a/gate-hk4e-api/proto/QueryPathReq.pb.go b/gate-hk4e-api/proto/QueryPathReq.pb.go new file mode 100644 index 00000000..a77bb04b --- /dev/null +++ b/gate-hk4e-api/proto/QueryPathReq.pb.go @@ -0,0 +1,311 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryPathReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryPathReq_OptionType int32 + +const ( + QueryPathReq_OPTION_TYPE_NONE QueryPathReq_OptionType = 0 + QueryPathReq_OPTION_TYPE_NORMAL QueryPathReq_OptionType = 1 + QueryPathReq_OPTION_TYPE_FIRST_CAN_GO QueryPathReq_OptionType = 2 +) + +// Enum value maps for QueryPathReq_OptionType. +var ( + QueryPathReq_OptionType_name = map[int32]string{ + 0: "OPTION_TYPE_NONE", + 1: "OPTION_TYPE_NORMAL", + 2: "OPTION_TYPE_FIRST_CAN_GO", + } + QueryPathReq_OptionType_value = map[string]int32{ + "OPTION_TYPE_NONE": 0, + "OPTION_TYPE_NORMAL": 1, + "OPTION_TYPE_FIRST_CAN_GO": 2, + } +) + +func (x QueryPathReq_OptionType) Enum() *QueryPathReq_OptionType { + p := new(QueryPathReq_OptionType) + *p = x + return p +} + +func (x QueryPathReq_OptionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QueryPathReq_OptionType) Descriptor() protoreflect.EnumDescriptor { + return file_QueryPathReq_proto_enumTypes[0].Descriptor() +} + +func (QueryPathReq_OptionType) Type() protoreflect.EnumType { + return &file_QueryPathReq_proto_enumTypes[0] +} + +func (x QueryPathReq_OptionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use QueryPathReq_OptionType.Descriptor instead. +func (QueryPathReq_OptionType) EnumDescriptor() ([]byte, []int) { + return file_QueryPathReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 2372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QueryPathReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QueryType QueryPathReq_OptionType `protobuf:"varint,13,opt,name=query_type,json=queryType,proto3,enum=QueryPathReq_OptionType" json:"query_type,omitempty"` + SourceExtend *Vector3Int `protobuf:"bytes,6,opt,name=source_extend,json=sourceExtend,proto3" json:"source_extend,omitempty"` + SourcePos *Vector `protobuf:"bytes,2,opt,name=source_pos,json=sourcePos,proto3" json:"source_pos,omitempty"` + Filter *QueryFilter `protobuf:"bytes,12,opt,name=filter,proto3" json:"filter,omitempty"` + QueryId int32 `protobuf:"varint,15,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + DestinationExtend *Vector3Int `protobuf:"bytes,4,opt,name=destination_extend,json=destinationExtend,proto3" json:"destination_extend,omitempty"` + DestinationPos []*Vector `protobuf:"bytes,10,rep,name=destination_pos,json=destinationPos,proto3" json:"destination_pos,omitempty"` + SceneId uint32 `protobuf:"varint,11,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *QueryPathReq) Reset() { + *x = QueryPathReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryPathReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryPathReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryPathReq) ProtoMessage() {} + +func (x *QueryPathReq) ProtoReflect() protoreflect.Message { + mi := &file_QueryPathReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryPathReq.ProtoReflect.Descriptor instead. +func (*QueryPathReq) Descriptor() ([]byte, []int) { + return file_QueryPathReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryPathReq) GetQueryType() QueryPathReq_OptionType { + if x != nil { + return x.QueryType + } + return QueryPathReq_OPTION_TYPE_NONE +} + +func (x *QueryPathReq) GetSourceExtend() *Vector3Int { + if x != nil { + return x.SourceExtend + } + return nil +} + +func (x *QueryPathReq) GetSourcePos() *Vector { + if x != nil { + return x.SourcePos + } + return nil +} + +func (x *QueryPathReq) GetFilter() *QueryFilter { + if x != nil { + return x.Filter + } + return nil +} + +func (x *QueryPathReq) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *QueryPathReq) GetDestinationExtend() *Vector3Int { + if x != nil { + return x.DestinationExtend + } + return nil +} + +func (x *QueryPathReq) GetDestinationPos() []*Vector { + if x != nil { + return x.DestinationPos + } + return nil +} + +func (x *QueryPathReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_QueryPathReq_proto protoreflect.FileDescriptor + +var file_QueryPathReq_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x33, 0x49, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x03, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x2e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x30, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, + 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x33, 0x49, 0x6e, 0x74, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x24, 0x0a, 0x06, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x12, + 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x74, 0x65, + 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x33, 0x49, 0x6e, 0x74, 0x52, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x12, 0x30, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x0a, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, + 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x47, 0x4f, 0x10, 0x02, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_QueryPathReq_proto_rawDescOnce sync.Once + file_QueryPathReq_proto_rawDescData = file_QueryPathReq_proto_rawDesc +) + +func file_QueryPathReq_proto_rawDescGZIP() []byte { + file_QueryPathReq_proto_rawDescOnce.Do(func() { + file_QueryPathReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryPathReq_proto_rawDescData) + }) + return file_QueryPathReq_proto_rawDescData +} + +var file_QueryPathReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_QueryPathReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryPathReq_proto_goTypes = []interface{}{ + (QueryPathReq_OptionType)(0), // 0: QueryPathReq.OptionType + (*QueryPathReq)(nil), // 1: QueryPathReq + (*Vector3Int)(nil), // 2: Vector3Int + (*Vector)(nil), // 3: Vector + (*QueryFilter)(nil), // 4: QueryFilter +} +var file_QueryPathReq_proto_depIdxs = []int32{ + 0, // 0: QueryPathReq.query_type:type_name -> QueryPathReq.OptionType + 2, // 1: QueryPathReq.source_extend:type_name -> Vector3Int + 3, // 2: QueryPathReq.source_pos:type_name -> Vector + 4, // 3: QueryPathReq.filter:type_name -> QueryFilter + 2, // 4: QueryPathReq.destination_extend:type_name -> Vector3Int + 3, // 5: QueryPathReq.destination_pos:type_name -> Vector + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_QueryPathReq_proto_init() } +func file_QueryPathReq_proto_init() { + if File_QueryPathReq_proto != nil { + return + } + file_QueryFilter_proto_init() + file_Vector_proto_init() + file_Vector3Int_proto_init() + if !protoimpl.UnsafeEnabled { + file_QueryPathReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryPathReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryPathReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryPathReq_proto_goTypes, + DependencyIndexes: file_QueryPathReq_proto_depIdxs, + EnumInfos: file_QueryPathReq_proto_enumTypes, + MessageInfos: file_QueryPathReq_proto_msgTypes, + }.Build() + File_QueryPathReq_proto = out.File + file_QueryPathReq_proto_rawDesc = nil + file_QueryPathReq_proto_goTypes = nil + file_QueryPathReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryPathReq.proto b/gate-hk4e-api/proto/QueryPathReq.proto new file mode 100644 index 00000000..ea105945 --- /dev/null +++ b/gate-hk4e-api/proto/QueryPathReq.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "QueryFilter.proto"; +import "Vector.proto"; +import "Vector3Int.proto"; + +option go_package = "./;proto"; + +// CmdId: 2372 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QueryPathReq { + OptionType query_type = 13; + Vector3Int source_extend = 6; + Vector source_pos = 2; + QueryFilter filter = 12; + int32 query_id = 15; + Vector3Int destination_extend = 4; + repeated Vector destination_pos = 10; + uint32 scene_id = 11; + + enum OptionType { + OPTION_TYPE_NONE = 0; + OPTION_TYPE_NORMAL = 1; + OPTION_TYPE_FIRST_CAN_GO = 2; + } +} diff --git a/gate-hk4e-api/proto/QueryPathRsp.pb.go b/gate-hk4e-api/proto/QueryPathRsp.pb.go new file mode 100644 index 00000000..7b5245a5 --- /dev/null +++ b/gate-hk4e-api/proto/QueryPathRsp.pb.go @@ -0,0 +1,256 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryPathRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryPathRsp_PathStatusType int32 + +const ( + QueryPathRsp_PATH_STATUS_TYPE_FAIL QueryPathRsp_PathStatusType = 0 + QueryPathRsp_PATH_STATUS_TYPE_SUCC QueryPathRsp_PathStatusType = 1 + QueryPathRsp_PATH_STATUS_TYPE_PARTIAL QueryPathRsp_PathStatusType = 2 +) + +// Enum value maps for QueryPathRsp_PathStatusType. +var ( + QueryPathRsp_PathStatusType_name = map[int32]string{ + 0: "PATH_STATUS_TYPE_FAIL", + 1: "PATH_STATUS_TYPE_SUCC", + 2: "PATH_STATUS_TYPE_PARTIAL", + } + QueryPathRsp_PathStatusType_value = map[string]int32{ + "PATH_STATUS_TYPE_FAIL": 0, + "PATH_STATUS_TYPE_SUCC": 1, + "PATH_STATUS_TYPE_PARTIAL": 2, + } +) + +func (x QueryPathRsp_PathStatusType) Enum() *QueryPathRsp_PathStatusType { + p := new(QueryPathRsp_PathStatusType) + *p = x + return p +} + +func (x QueryPathRsp_PathStatusType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QueryPathRsp_PathStatusType) Descriptor() protoreflect.EnumDescriptor { + return file_QueryPathRsp_proto_enumTypes[0].Descriptor() +} + +func (QueryPathRsp_PathStatusType) Type() protoreflect.EnumType { + return &file_QueryPathRsp_proto_enumTypes[0] +} + +func (x QueryPathRsp_PathStatusType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use QueryPathRsp_PathStatusType.Descriptor instead. +func (QueryPathRsp_PathStatusType) EnumDescriptor() ([]byte, []int) { + return file_QueryPathRsp_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 2398 +// EnetChannelId: 0 +// EnetIsReliable: true +type QueryPathRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QueryId int32 `protobuf:"varint,12,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + Corners []*Vector `protobuf:"bytes,6,rep,name=corners,proto3" json:"corners,omitempty"` + QueryStatus QueryPathRsp_PathStatusType `protobuf:"varint,8,opt,name=query_status,json=queryStatus,proto3,enum=QueryPathRsp_PathStatusType" json:"query_status,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *QueryPathRsp) Reset() { + *x = QueryPathRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryPathRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryPathRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryPathRsp) ProtoMessage() {} + +func (x *QueryPathRsp) ProtoReflect() protoreflect.Message { + mi := &file_QueryPathRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryPathRsp.ProtoReflect.Descriptor instead. +func (*QueryPathRsp) Descriptor() ([]byte, []int) { + return file_QueryPathRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryPathRsp) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *QueryPathRsp) GetCorners() []*Vector { + if x != nil { + return x.Corners + } + return nil +} + +func (x *QueryPathRsp) GetQueryStatus() QueryPathRsp_PathStatusType { + if x != nil { + return x.QueryStatus + } + return QueryPathRsp_PATH_STATUS_TYPE_FAIL +} + +func (x *QueryPathRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_QueryPathRsp_proto protoreflect.FileDescriptor + +var file_QueryPathRsp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x07, 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, + 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x64, 0x0a, 0x0e, + 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, + 0x0a, 0x15, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41, 0x54, + 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x55, + 0x43, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, + 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QueryPathRsp_proto_rawDescOnce sync.Once + file_QueryPathRsp_proto_rawDescData = file_QueryPathRsp_proto_rawDesc +) + +func file_QueryPathRsp_proto_rawDescGZIP() []byte { + file_QueryPathRsp_proto_rawDescOnce.Do(func() { + file_QueryPathRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryPathRsp_proto_rawDescData) + }) + return file_QueryPathRsp_proto_rawDescData +} + +var file_QueryPathRsp_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_QueryPathRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryPathRsp_proto_goTypes = []interface{}{ + (QueryPathRsp_PathStatusType)(0), // 0: QueryPathRsp.PathStatusType + (*QueryPathRsp)(nil), // 1: QueryPathRsp + (*Vector)(nil), // 2: Vector +} +var file_QueryPathRsp_proto_depIdxs = []int32{ + 2, // 0: QueryPathRsp.corners:type_name -> Vector + 0, // 1: QueryPathRsp.query_status:type_name -> QueryPathRsp.PathStatusType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_QueryPathRsp_proto_init() } +func file_QueryPathRsp_proto_init() { + if File_QueryPathRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_QueryPathRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryPathRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryPathRsp_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryPathRsp_proto_goTypes, + DependencyIndexes: file_QueryPathRsp_proto_depIdxs, + EnumInfos: file_QueryPathRsp_proto_enumTypes, + MessageInfos: file_QueryPathRsp_proto_msgTypes, + }.Build() + File_QueryPathRsp_proto = out.File + file_QueryPathRsp_proto_rawDesc = nil + file_QueryPathRsp_proto_goTypes = nil + file_QueryPathRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryPathRsp.proto b/gate-hk4e-api/proto/QueryPathRsp.proto new file mode 100644 index 00000000..f6e2abba --- /dev/null +++ b/gate-hk4e-api/proto/QueryPathRsp.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 2398 +// EnetChannelId: 0 +// EnetIsReliable: true +message QueryPathRsp { + int32 query_id = 12; + repeated Vector corners = 6; + PathStatusType query_status = 8; + int32 retcode = 1; + + enum PathStatusType { + PATH_STATUS_TYPE_FAIL = 0; + PATH_STATUS_TYPE_SUCC = 1; + PATH_STATUS_TYPE_PARTIAL = 2; + } +} diff --git a/gate-hk4e-api/proto/QueryRegionListHttpRsp.pb.go b/gate-hk4e-api/proto/QueryRegionListHttpRsp.pb.go new file mode 100644 index 00000000..3a7b76bd --- /dev/null +++ b/gate-hk4e-api/proto/QueryRegionListHttpRsp.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QueryRegionListHttpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryRegionListHttpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + RegionList []*RegionSimpleInfo `protobuf:"bytes,2,rep,name=region_list,json=regionList,proto3" json:"region_list,omitempty"` + ClientSecretKey []byte `protobuf:"bytes,5,opt,name=client_secret_key,json=clientSecretKey,proto3" json:"client_secret_key,omitempty"` + ClientCustomConfigEncrypted []byte `protobuf:"bytes,6,opt,name=client_custom_config_encrypted,json=clientCustomConfigEncrypted,proto3" json:"client_custom_config_encrypted,omitempty"` + EnableLoginPc bool `protobuf:"varint,7,opt,name=enable_login_pc,json=enableLoginPc,proto3" json:"enable_login_pc,omitempty"` +} + +func (x *QueryRegionListHttpRsp) Reset() { + *x = QueryRegionListHttpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QueryRegionListHttpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryRegionListHttpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryRegionListHttpRsp) ProtoMessage() {} + +func (x *QueryRegionListHttpRsp) ProtoReflect() protoreflect.Message { + mi := &file_QueryRegionListHttpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryRegionListHttpRsp.ProtoReflect.Descriptor instead. +func (*QueryRegionListHttpRsp) Descriptor() ([]byte, []int) { + return file_QueryRegionListHttpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryRegionListHttpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *QueryRegionListHttpRsp) GetRegionList() []*RegionSimpleInfo { + if x != nil { + return x.RegionList + } + return nil +} + +func (x *QueryRegionListHttpRsp) GetClientSecretKey() []byte { + if x != nil { + return x.ClientSecretKey + } + return nil +} + +func (x *QueryRegionListHttpRsp) GetClientCustomConfigEncrypted() []byte { + if x != nil { + return x.ClientCustomConfigEncrypted + } + return nil +} + +func (x *QueryRegionListHttpRsp) GetEnableLoginPc() bool { + if x != nil { + return x.EnableLoginPc + } + return false +} + +var File_QueryRegionListHttpRsp_proto protoreflect.FileDescriptor + +var file_QueryRegionListHttpRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x0b, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x1e, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, + 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, + 0x5f, 0x70, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x63, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QueryRegionListHttpRsp_proto_rawDescOnce sync.Once + file_QueryRegionListHttpRsp_proto_rawDescData = file_QueryRegionListHttpRsp_proto_rawDesc +) + +func file_QueryRegionListHttpRsp_proto_rawDescGZIP() []byte { + file_QueryRegionListHttpRsp_proto_rawDescOnce.Do(func() { + file_QueryRegionListHttpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QueryRegionListHttpRsp_proto_rawDescData) + }) + return file_QueryRegionListHttpRsp_proto_rawDescData +} + +var file_QueryRegionListHttpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QueryRegionListHttpRsp_proto_goTypes = []interface{}{ + (*QueryRegionListHttpRsp)(nil), // 0: QueryRegionListHttpRsp + (*RegionSimpleInfo)(nil), // 1: RegionSimpleInfo +} +var file_QueryRegionListHttpRsp_proto_depIdxs = []int32{ + 1, // 0: QueryRegionListHttpRsp.region_list:type_name -> RegionSimpleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QueryRegionListHttpRsp_proto_init() } +func file_QueryRegionListHttpRsp_proto_init() { + if File_QueryRegionListHttpRsp_proto != nil { + return + } + file_RegionSimpleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_QueryRegionListHttpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryRegionListHttpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QueryRegionListHttpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QueryRegionListHttpRsp_proto_goTypes, + DependencyIndexes: file_QueryRegionListHttpRsp_proto_depIdxs, + MessageInfos: file_QueryRegionListHttpRsp_proto_msgTypes, + }.Build() + File_QueryRegionListHttpRsp_proto = out.File + file_QueryRegionListHttpRsp_proto_rawDesc = nil + file_QueryRegionListHttpRsp_proto_goTypes = nil + file_QueryRegionListHttpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QueryRegionListHttpRsp.proto b/gate-hk4e-api/proto/QueryRegionListHttpRsp.proto new file mode 100644 index 00000000..858854cc --- /dev/null +++ b/gate-hk4e-api/proto/QueryRegionListHttpRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RegionSimpleInfo.proto"; + +option go_package = "./;proto"; + +message QueryRegionListHttpRsp { + int32 retcode = 1; + repeated RegionSimpleInfo region_list = 2; + bytes client_secret_key = 5; + bytes client_custom_config_encrypted = 6; + bool enable_login_pc = 7; +} diff --git a/gate-hk4e-api/proto/Quest.pb.go b/gate-hk4e-api/proto/Quest.pb.go new file mode 100644 index 00000000..627a3566 --- /dev/null +++ b/gate-hk4e-api/proto/Quest.pb.go @@ -0,0 +1,307 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Quest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Quest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,1,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + State uint32 `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"` + StartTime uint32 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + IsRandom bool `protobuf:"varint,5,opt,name=is_random,json=isRandom,proto3" json:"is_random,omitempty"` + ParentQuestId uint32 `protobuf:"varint,6,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + QuestConfigId uint32 `protobuf:"varint,7,opt,name=quest_config_id,json=questConfigId,proto3" json:"quest_config_id,omitempty"` + StartGameTime uint32 `protobuf:"varint,8,opt,name=start_game_time,json=startGameTime,proto3" json:"start_game_time,omitempty"` + AcceptTime uint32 `protobuf:"varint,9,opt,name=accept_time,json=acceptTime,proto3" json:"accept_time,omitempty"` + LackedNpcList []uint32 `protobuf:"varint,10,rep,packed,name=lacked_npc_list,json=lackedNpcList,proto3" json:"lacked_npc_list,omitempty"` + FinishProgressList []uint32 `protobuf:"varint,11,rep,packed,name=finish_progress_list,json=finishProgressList,proto3" json:"finish_progress_list,omitempty"` + FailProgressList []uint32 `protobuf:"varint,12,rep,packed,name=fail_progress_list,json=failProgressList,proto3" json:"fail_progress_list,omitempty"` + LackedNpcMap map[uint32]uint32 `protobuf:"bytes,13,rep,name=lacked_npc_map,json=lackedNpcMap,proto3" json:"lacked_npc_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LackedPlaceList []uint32 `protobuf:"varint,14,rep,packed,name=lacked_place_list,json=lackedPlaceList,proto3" json:"lacked_place_list,omitempty"` + LackedPlaceMap map[uint32]uint32 `protobuf:"bytes,15,rep,name=lacked_place_map,json=lackedPlaceMap,proto3" json:"lacked_place_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Quest) Reset() { + *x = Quest{} + if protoimpl.UnsafeEnabled { + mi := &file_Quest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Quest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Quest) ProtoMessage() {} + +func (x *Quest) ProtoReflect() protoreflect.Message { + mi := &file_Quest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Quest.ProtoReflect.Descriptor instead. +func (*Quest) Descriptor() ([]byte, []int) { + return file_Quest_proto_rawDescGZIP(), []int{0} +} + +func (x *Quest) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *Quest) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *Quest) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *Quest) GetIsRandom() bool { + if x != nil { + return x.IsRandom + } + return false +} + +func (x *Quest) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *Quest) GetQuestConfigId() uint32 { + if x != nil { + return x.QuestConfigId + } + return 0 +} + +func (x *Quest) GetStartGameTime() uint32 { + if x != nil { + return x.StartGameTime + } + return 0 +} + +func (x *Quest) GetAcceptTime() uint32 { + if x != nil { + return x.AcceptTime + } + return 0 +} + +func (x *Quest) GetLackedNpcList() []uint32 { + if x != nil { + return x.LackedNpcList + } + return nil +} + +func (x *Quest) GetFinishProgressList() []uint32 { + if x != nil { + return x.FinishProgressList + } + return nil +} + +func (x *Quest) GetFailProgressList() []uint32 { + if x != nil { + return x.FailProgressList + } + return nil +} + +func (x *Quest) GetLackedNpcMap() map[uint32]uint32 { + if x != nil { + return x.LackedNpcMap + } + return nil +} + +func (x *Quest) GetLackedPlaceList() []uint32 { + if x != nil { + return x.LackedPlaceList + } + return nil +} + +func (x *Quest) GetLackedPlaceMap() map[uint32]uint32 { + if x != nil { + return x.LackedPlaceMap + } + return nil +} + +var File_Quest_proto protoreflect.FileDescriptor + +var file_Quest_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x05, + 0x0a, 0x05, 0x51, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x72, 0x61, + 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x52, 0x61, + 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x67, 0x61, + 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, + 0x0f, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6e, 0x70, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4e, 0x70, + 0x63, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, 0x69, 0x6c, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0e, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, + 0x6e, 0x70, 0x63, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4e, 0x70, 0x63, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4e, + 0x70, 0x63, 0x4d, 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0f, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, + 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x4c, 0x61, 0x63, 0x6b, 0x65, + 0x64, 0x4e, 0x70, 0x63, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x4c, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Quest_proto_rawDescOnce sync.Once + file_Quest_proto_rawDescData = file_Quest_proto_rawDesc +) + +func file_Quest_proto_rawDescGZIP() []byte { + file_Quest_proto_rawDescOnce.Do(func() { + file_Quest_proto_rawDescData = protoimpl.X.CompressGZIP(file_Quest_proto_rawDescData) + }) + return file_Quest_proto_rawDescData +} + +var file_Quest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_Quest_proto_goTypes = []interface{}{ + (*Quest)(nil), // 0: Quest + nil, // 1: Quest.LackedNpcMapEntry + nil, // 2: Quest.LackedPlaceMapEntry +} +var file_Quest_proto_depIdxs = []int32{ + 1, // 0: Quest.lacked_npc_map:type_name -> Quest.LackedNpcMapEntry + 2, // 1: Quest.lacked_place_map:type_name -> Quest.LackedPlaceMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Quest_proto_init() } +func file_Quest_proto_init() { + if File_Quest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Quest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Quest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Quest_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Quest_proto_goTypes, + DependencyIndexes: file_Quest_proto_depIdxs, + MessageInfos: file_Quest_proto_msgTypes, + }.Build() + File_Quest_proto = out.File + file_Quest_proto_rawDesc = nil + file_Quest_proto_goTypes = nil + file_Quest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Quest.proto b/gate-hk4e-api/proto/Quest.proto new file mode 100644 index 00000000..95adf878 --- /dev/null +++ b/gate-hk4e-api/proto/Quest.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Quest { + uint32 quest_id = 1; + uint32 state = 2; + uint32 start_time = 4; + bool is_random = 5; + uint32 parent_quest_id = 6; + uint32 quest_config_id = 7; + uint32 start_game_time = 8; + uint32 accept_time = 9; + repeated uint32 lacked_npc_list = 10; + repeated uint32 finish_progress_list = 11; + repeated uint32 fail_progress_list = 12; + map lacked_npc_map = 13; + repeated uint32 lacked_place_list = 14; + map lacked_place_map = 15; +} diff --git a/gate-hk4e-api/proto/QuestCreateEntityReq.pb.go b/gate-hk4e-api/proto/QuestCreateEntityReq.pb.go new file mode 100644 index 00000000..45237fb7 --- /dev/null +++ b/gate-hk4e-api/proto/QuestCreateEntityReq.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestCreateEntityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 499 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuestCreateEntityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,9,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + IsRewind bool `protobuf:"varint,3,opt,name=is_rewind,json=isRewind,proto3" json:"is_rewind,omitempty"` + QuestId uint32 `protobuf:"varint,2,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + Entity *CreateEntityInfo `protobuf:"bytes,13,opt,name=entity,proto3" json:"entity,omitempty"` +} + +func (x *QuestCreateEntityReq) Reset() { + *x = QuestCreateEntityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestCreateEntityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestCreateEntityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestCreateEntityReq) ProtoMessage() {} + +func (x *QuestCreateEntityReq) ProtoReflect() protoreflect.Message { + mi := &file_QuestCreateEntityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestCreateEntityReq.ProtoReflect.Descriptor instead. +func (*QuestCreateEntityReq) Descriptor() ([]byte, []int) { + return file_QuestCreateEntityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestCreateEntityReq) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestCreateEntityReq) GetIsRewind() bool { + if x != nil { + return x.IsRewind + } + return false +} + +func (x *QuestCreateEntityReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *QuestCreateEntityReq) GetEntity() *CreateEntityInfo { + if x != nil { + return x.Entity + } + return nil +} + +var File_QuestCreateEntityReq_proto protoreflect.FileDescriptor + +var file_QuestCreateEntityReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, + 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x77, 0x69, + 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x52, 0x65, 0x77, 0x69, + 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, + 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestCreateEntityReq_proto_rawDescOnce sync.Once + file_QuestCreateEntityReq_proto_rawDescData = file_QuestCreateEntityReq_proto_rawDesc +) + +func file_QuestCreateEntityReq_proto_rawDescGZIP() []byte { + file_QuestCreateEntityReq_proto_rawDescOnce.Do(func() { + file_QuestCreateEntityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestCreateEntityReq_proto_rawDescData) + }) + return file_QuestCreateEntityReq_proto_rawDescData +} + +var file_QuestCreateEntityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestCreateEntityReq_proto_goTypes = []interface{}{ + (*QuestCreateEntityReq)(nil), // 0: QuestCreateEntityReq + (*CreateEntityInfo)(nil), // 1: CreateEntityInfo +} +var file_QuestCreateEntityReq_proto_depIdxs = []int32{ + 1, // 0: QuestCreateEntityReq.entity:type_name -> CreateEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestCreateEntityReq_proto_init() } +func file_QuestCreateEntityReq_proto_init() { + if File_QuestCreateEntityReq_proto != nil { + return + } + file_CreateEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestCreateEntityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestCreateEntityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestCreateEntityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestCreateEntityReq_proto_goTypes, + DependencyIndexes: file_QuestCreateEntityReq_proto_depIdxs, + MessageInfos: file_QuestCreateEntityReq_proto_msgTypes, + }.Build() + File_QuestCreateEntityReq_proto = out.File + file_QuestCreateEntityReq_proto_rawDesc = nil + file_QuestCreateEntityReq_proto_goTypes = nil + file_QuestCreateEntityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestCreateEntityReq.proto b/gate-hk4e-api/proto/QuestCreateEntityReq.proto new file mode 100644 index 00000000..41d57768 --- /dev/null +++ b/gate-hk4e-api/proto/QuestCreateEntityReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CreateEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 499 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuestCreateEntityReq { + uint32 parent_quest_id = 9; + bool is_rewind = 3; + uint32 quest_id = 2; + CreateEntityInfo entity = 13; +} diff --git a/gate-hk4e-api/proto/QuestCreateEntityRsp.pb.go b/gate-hk4e-api/proto/QuestCreateEntityRsp.pb.go new file mode 100644 index 00000000..af02a9e6 --- /dev/null +++ b/gate-hk4e-api/proto/QuestCreateEntityRsp.pb.go @@ -0,0 +1,217 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestCreateEntityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 431 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestCreateEntityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,13,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Entity *CreateEntityInfo `protobuf:"bytes,11,opt,name=entity,proto3" json:"entity,omitempty"` + ParentQuestId uint32 `protobuf:"varint,1,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + IsRewind bool `protobuf:"varint,14,opt,name=is_rewind,json=isRewind,proto3" json:"is_rewind,omitempty"` +} + +func (x *QuestCreateEntityRsp) Reset() { + *x = QuestCreateEntityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestCreateEntityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestCreateEntityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestCreateEntityRsp) ProtoMessage() {} + +func (x *QuestCreateEntityRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuestCreateEntityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestCreateEntityRsp.ProtoReflect.Descriptor instead. +func (*QuestCreateEntityRsp) Descriptor() ([]byte, []int) { + return file_QuestCreateEntityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestCreateEntityRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *QuestCreateEntityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *QuestCreateEntityRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *QuestCreateEntityRsp) GetEntity() *CreateEntityInfo { + if x != nil { + return x.Entity + } + return nil +} + +func (x *QuestCreateEntityRsp) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestCreateEntityRsp) GetIsRewind() bool { + if x != nil { + return x.IsRewind + } + return false +} + +var File_QuestCreateEntityRsp_proto protoreflect.FileDescriptor + +var file_QuestCreateEntityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, + 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x29, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x77, 0x69, 0x6e, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x52, 0x65, 0x77, 0x69, 0x6e, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_QuestCreateEntityRsp_proto_rawDescOnce sync.Once + file_QuestCreateEntityRsp_proto_rawDescData = file_QuestCreateEntityRsp_proto_rawDesc +) + +func file_QuestCreateEntityRsp_proto_rawDescGZIP() []byte { + file_QuestCreateEntityRsp_proto_rawDescOnce.Do(func() { + file_QuestCreateEntityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestCreateEntityRsp_proto_rawDescData) + }) + return file_QuestCreateEntityRsp_proto_rawDescData +} + +var file_QuestCreateEntityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestCreateEntityRsp_proto_goTypes = []interface{}{ + (*QuestCreateEntityRsp)(nil), // 0: QuestCreateEntityRsp + (*CreateEntityInfo)(nil), // 1: CreateEntityInfo +} +var file_QuestCreateEntityRsp_proto_depIdxs = []int32{ + 1, // 0: QuestCreateEntityRsp.entity:type_name -> CreateEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestCreateEntityRsp_proto_init() } +func file_QuestCreateEntityRsp_proto_init() { + if File_QuestCreateEntityRsp_proto != nil { + return + } + file_CreateEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestCreateEntityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestCreateEntityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestCreateEntityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestCreateEntityRsp_proto_goTypes, + DependencyIndexes: file_QuestCreateEntityRsp_proto_depIdxs, + MessageInfos: file_QuestCreateEntityRsp_proto_msgTypes, + }.Build() + File_QuestCreateEntityRsp_proto = out.File + file_QuestCreateEntityRsp_proto_rawDesc = nil + file_QuestCreateEntityRsp_proto_goTypes = nil + file_QuestCreateEntityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestCreateEntityRsp.proto b/gate-hk4e-api/proto/QuestCreateEntityRsp.proto new file mode 100644 index 00000000..162a104d --- /dev/null +++ b/gate-hk4e-api/proto/QuestCreateEntityRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CreateEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 431 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestCreateEntityRsp { + uint32 quest_id = 13; + int32 retcode = 8; + uint32 entity_id = 7; + CreateEntityInfo entity = 11; + uint32 parent_quest_id = 1; + bool is_rewind = 14; +} diff --git a/gate-hk4e-api/proto/QuestDelNotify.pb.go b/gate-hk4e-api/proto/QuestDelNotify.pb.go new file mode 100644 index 00000000..d08be95b --- /dev/null +++ b/gate-hk4e-api/proto/QuestDelNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestDelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 412 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestDelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,1,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *QuestDelNotify) Reset() { + *x = QuestDelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestDelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestDelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestDelNotify) ProtoMessage() {} + +func (x *QuestDelNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestDelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestDelNotify.ProtoReflect.Descriptor instead. +func (*QuestDelNotify) Descriptor() ([]byte, []int) { + return file_QuestDelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestDelNotify) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_QuestDelNotify_proto protoreflect.FileDescriptor + +var file_QuestDelNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, + 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestDelNotify_proto_rawDescOnce sync.Once + file_QuestDelNotify_proto_rawDescData = file_QuestDelNotify_proto_rawDesc +) + +func file_QuestDelNotify_proto_rawDescGZIP() []byte { + file_QuestDelNotify_proto_rawDescOnce.Do(func() { + file_QuestDelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestDelNotify_proto_rawDescData) + }) + return file_QuestDelNotify_proto_rawDescData +} + +var file_QuestDelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestDelNotify_proto_goTypes = []interface{}{ + (*QuestDelNotify)(nil), // 0: QuestDelNotify +} +var file_QuestDelNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestDelNotify_proto_init() } +func file_QuestDelNotify_proto_init() { + if File_QuestDelNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestDelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestDelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestDelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestDelNotify_proto_goTypes, + DependencyIndexes: file_QuestDelNotify_proto_depIdxs, + MessageInfos: file_QuestDelNotify_proto_msgTypes, + }.Build() + File_QuestDelNotify_proto = out.File + file_QuestDelNotify_proto_rawDesc = nil + file_QuestDelNotify_proto_goTypes = nil + file_QuestDelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestDelNotify.proto b/gate-hk4e-api/proto/QuestDelNotify.proto new file mode 100644 index 00000000..581996e6 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDelNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 412 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestDelNotify { + uint32 quest_id = 1; +} diff --git a/gate-hk4e-api/proto/QuestDestroyEntityReq.pb.go b/gate-hk4e-api/proto/QuestDestroyEntityReq.pb.go new file mode 100644 index 00000000..adea6007 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyEntityReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestDestroyEntityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 475 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuestDestroyEntityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + QuestId uint32 `protobuf:"varint,8,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *QuestDestroyEntityReq) Reset() { + *x = QuestDestroyEntityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestDestroyEntityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestDestroyEntityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestDestroyEntityReq) ProtoMessage() {} + +func (x *QuestDestroyEntityReq) ProtoReflect() protoreflect.Message { + mi := &file_QuestDestroyEntityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestDestroyEntityReq.ProtoReflect.Descriptor instead. +func (*QuestDestroyEntityReq) Descriptor() ([]byte, []int) { + return file_QuestDestroyEntityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestDestroyEntityReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *QuestDestroyEntityReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *QuestDestroyEntityReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_QuestDestroyEntityReq_proto protoreflect.FileDescriptor + +var file_QuestDestroyEntityReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, + 0x15, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestDestroyEntityReq_proto_rawDescOnce sync.Once + file_QuestDestroyEntityReq_proto_rawDescData = file_QuestDestroyEntityReq_proto_rawDesc +) + +func file_QuestDestroyEntityReq_proto_rawDescGZIP() []byte { + file_QuestDestroyEntityReq_proto_rawDescOnce.Do(func() { + file_QuestDestroyEntityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestDestroyEntityReq_proto_rawDescData) + }) + return file_QuestDestroyEntityReq_proto_rawDescData +} + +var file_QuestDestroyEntityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestDestroyEntityReq_proto_goTypes = []interface{}{ + (*QuestDestroyEntityReq)(nil), // 0: QuestDestroyEntityReq +} +var file_QuestDestroyEntityReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestDestroyEntityReq_proto_init() } +func file_QuestDestroyEntityReq_proto_init() { + if File_QuestDestroyEntityReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestDestroyEntityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestDestroyEntityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestDestroyEntityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestDestroyEntityReq_proto_goTypes, + DependencyIndexes: file_QuestDestroyEntityReq_proto_depIdxs, + MessageInfos: file_QuestDestroyEntityReq_proto_msgTypes, + }.Build() + File_QuestDestroyEntityReq_proto = out.File + file_QuestDestroyEntityReq_proto_rawDesc = nil + file_QuestDestroyEntityReq_proto_goTypes = nil + file_QuestDestroyEntityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestDestroyEntityReq.proto b/gate-hk4e-api/proto/QuestDestroyEntityReq.proto new file mode 100644 index 00000000..cd4b2c3e --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyEntityReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 475 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuestDestroyEntityReq { + uint32 scene_id = 2; + uint32 entity_id = 9; + uint32 quest_id = 8; +} diff --git a/gate-hk4e-api/proto/QuestDestroyEntityRsp.pb.go b/gate-hk4e-api/proto/QuestDestroyEntityRsp.pb.go new file mode 100644 index 00000000..e19a1506 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyEntityRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestDestroyEntityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 448 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestDestroyEntityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,14,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + EntityId uint32 `protobuf:"varint,12,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *QuestDestroyEntityRsp) Reset() { + *x = QuestDestroyEntityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestDestroyEntityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestDestroyEntityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestDestroyEntityRsp) ProtoMessage() {} + +func (x *QuestDestroyEntityRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuestDestroyEntityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestDestroyEntityRsp.ProtoReflect.Descriptor instead. +func (*QuestDestroyEntityRsp) Descriptor() ([]byte, []int) { + return file_QuestDestroyEntityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestDestroyEntityRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *QuestDestroyEntityRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *QuestDestroyEntityRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *QuestDestroyEntityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_QuestDestroyEntityRsp_proto protoreflect.FileDescriptor + +var file_QuestDestroyEntityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, + 0x0a, 0x15, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestDestroyEntityRsp_proto_rawDescOnce sync.Once + file_QuestDestroyEntityRsp_proto_rawDescData = file_QuestDestroyEntityRsp_proto_rawDesc +) + +func file_QuestDestroyEntityRsp_proto_rawDescGZIP() []byte { + file_QuestDestroyEntityRsp_proto_rawDescOnce.Do(func() { + file_QuestDestroyEntityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestDestroyEntityRsp_proto_rawDescData) + }) + return file_QuestDestroyEntityRsp_proto_rawDescData +} + +var file_QuestDestroyEntityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestDestroyEntityRsp_proto_goTypes = []interface{}{ + (*QuestDestroyEntityRsp)(nil), // 0: QuestDestroyEntityRsp +} +var file_QuestDestroyEntityRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestDestroyEntityRsp_proto_init() } +func file_QuestDestroyEntityRsp_proto_init() { + if File_QuestDestroyEntityRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestDestroyEntityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestDestroyEntityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestDestroyEntityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestDestroyEntityRsp_proto_goTypes, + DependencyIndexes: file_QuestDestroyEntityRsp_proto_depIdxs, + MessageInfos: file_QuestDestroyEntityRsp_proto_msgTypes, + }.Build() + File_QuestDestroyEntityRsp_proto = out.File + file_QuestDestroyEntityRsp_proto_rawDesc = nil + file_QuestDestroyEntityRsp_proto_goTypes = nil + file_QuestDestroyEntityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestDestroyEntityRsp.proto b/gate-hk4e-api/proto/QuestDestroyEntityRsp.proto new file mode 100644 index 00000000..9ce8b0a9 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyEntityRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 448 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestDestroyEntityRsp { + uint32 quest_id = 14; + uint32 scene_id = 9; + uint32 entity_id = 12; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/QuestDestroyNpcReq.pb.go b/gate-hk4e-api/proto/QuestDestroyNpcReq.pb.go new file mode 100644 index 00000000..e11e12d7 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyNpcReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestDestroyNpcReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 422 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuestDestroyNpcReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcId uint32 `protobuf:"varint,1,opt,name=npc_id,json=npcId,proto3" json:"npc_id,omitempty"` + ParentQuestId uint32 `protobuf:"varint,12,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *QuestDestroyNpcReq) Reset() { + *x = QuestDestroyNpcReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestDestroyNpcReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestDestroyNpcReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestDestroyNpcReq) ProtoMessage() {} + +func (x *QuestDestroyNpcReq) ProtoReflect() protoreflect.Message { + mi := &file_QuestDestroyNpcReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestDestroyNpcReq.ProtoReflect.Descriptor instead. +func (*QuestDestroyNpcReq) Descriptor() ([]byte, []int) { + return file_QuestDestroyNpcReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestDestroyNpcReq) GetNpcId() uint32 { + if x != nil { + return x.NpcId + } + return 0 +} + +func (x *QuestDestroyNpcReq) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_QuestDestroyNpcReq_proto protoreflect.FileDescriptor + +var file_QuestDestroyNpcReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x70, + 0x63, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x12, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x70, 0x63, 0x52, 0x65, 0x71, + 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_QuestDestroyNpcReq_proto_rawDescOnce sync.Once + file_QuestDestroyNpcReq_proto_rawDescData = file_QuestDestroyNpcReq_proto_rawDesc +) + +func file_QuestDestroyNpcReq_proto_rawDescGZIP() []byte { + file_QuestDestroyNpcReq_proto_rawDescOnce.Do(func() { + file_QuestDestroyNpcReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestDestroyNpcReq_proto_rawDescData) + }) + return file_QuestDestroyNpcReq_proto_rawDescData +} + +var file_QuestDestroyNpcReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestDestroyNpcReq_proto_goTypes = []interface{}{ + (*QuestDestroyNpcReq)(nil), // 0: QuestDestroyNpcReq +} +var file_QuestDestroyNpcReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestDestroyNpcReq_proto_init() } +func file_QuestDestroyNpcReq_proto_init() { + if File_QuestDestroyNpcReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestDestroyNpcReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestDestroyNpcReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestDestroyNpcReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestDestroyNpcReq_proto_goTypes, + DependencyIndexes: file_QuestDestroyNpcReq_proto_depIdxs, + MessageInfos: file_QuestDestroyNpcReq_proto_msgTypes, + }.Build() + File_QuestDestroyNpcReq_proto = out.File + file_QuestDestroyNpcReq_proto_rawDesc = nil + file_QuestDestroyNpcReq_proto_goTypes = nil + file_QuestDestroyNpcReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestDestroyNpcReq.proto b/gate-hk4e-api/proto/QuestDestroyNpcReq.proto new file mode 100644 index 00000000..c00a545f --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyNpcReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 422 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuestDestroyNpcReq { + uint32 npc_id = 1; + uint32 parent_quest_id = 12; +} diff --git a/gate-hk4e-api/proto/QuestDestroyNpcRsp.pb.go b/gate-hk4e-api/proto/QuestDestroyNpcRsp.pb.go new file mode 100644 index 00000000..c5ee1294 --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyNpcRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestDestroyNpcRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 465 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestDestroyNpcRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcId uint32 `protobuf:"varint,12,opt,name=npc_id,json=npcId,proto3" json:"npc_id,omitempty"` + ParentQuestId uint32 `protobuf:"varint,4,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *QuestDestroyNpcRsp) Reset() { + *x = QuestDestroyNpcRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestDestroyNpcRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestDestroyNpcRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestDestroyNpcRsp) ProtoMessage() {} + +func (x *QuestDestroyNpcRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuestDestroyNpcRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestDestroyNpcRsp.ProtoReflect.Descriptor instead. +func (*QuestDestroyNpcRsp) Descriptor() ([]byte, []int) { + return file_QuestDestroyNpcRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestDestroyNpcRsp) GetNpcId() uint32 { + if x != nil { + return x.NpcId + } + return 0 +} + +func (x *QuestDestroyNpcRsp) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestDestroyNpcRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_QuestDestroyNpcRsp_proto protoreflect.FileDescriptor + +var file_QuestDestroyNpcRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x51, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x70, + 0x63, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x12, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x70, 0x63, 0x52, 0x73, 0x70, + 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestDestroyNpcRsp_proto_rawDescOnce sync.Once + file_QuestDestroyNpcRsp_proto_rawDescData = file_QuestDestroyNpcRsp_proto_rawDesc +) + +func file_QuestDestroyNpcRsp_proto_rawDescGZIP() []byte { + file_QuestDestroyNpcRsp_proto_rawDescOnce.Do(func() { + file_QuestDestroyNpcRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestDestroyNpcRsp_proto_rawDescData) + }) + return file_QuestDestroyNpcRsp_proto_rawDescData +} + +var file_QuestDestroyNpcRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestDestroyNpcRsp_proto_goTypes = []interface{}{ + (*QuestDestroyNpcRsp)(nil), // 0: QuestDestroyNpcRsp +} +var file_QuestDestroyNpcRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestDestroyNpcRsp_proto_init() } +func file_QuestDestroyNpcRsp_proto_init() { + if File_QuestDestroyNpcRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestDestroyNpcRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestDestroyNpcRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestDestroyNpcRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestDestroyNpcRsp_proto_goTypes, + DependencyIndexes: file_QuestDestroyNpcRsp_proto_depIdxs, + MessageInfos: file_QuestDestroyNpcRsp_proto_msgTypes, + }.Build() + File_QuestDestroyNpcRsp_proto = out.File + file_QuestDestroyNpcRsp_proto_rawDesc = nil + file_QuestDestroyNpcRsp_proto_goTypes = nil + file_QuestDestroyNpcRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestDestroyNpcRsp.proto b/gate-hk4e-api/proto/QuestDestroyNpcRsp.proto new file mode 100644 index 00000000..66480f1a --- /dev/null +++ b/gate-hk4e-api/proto/QuestDestroyNpcRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 465 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestDestroyNpcRsp { + uint32 npc_id = 12; + uint32 parent_quest_id = 4; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/QuestGlobalVar.pb.go b/gate-hk4e-api/proto/QuestGlobalVar.pb.go new file mode 100644 index 00000000..1b9860ef --- /dev/null +++ b/gate-hk4e-api/proto/QuestGlobalVar.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestGlobalVar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QuestGlobalVar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int32 `protobuf:"varint,8,opt,name=value,proto3" json:"value,omitempty"` + Key uint32 `protobuf:"varint,4,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *QuestGlobalVar) Reset() { + *x = QuestGlobalVar{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestGlobalVar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestGlobalVar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestGlobalVar) ProtoMessage() {} + +func (x *QuestGlobalVar) ProtoReflect() protoreflect.Message { + mi := &file_QuestGlobalVar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestGlobalVar.ProtoReflect.Descriptor instead. +func (*QuestGlobalVar) Descriptor() ([]byte, []int) { + return file_QuestGlobalVar_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestGlobalVar) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *QuestGlobalVar) GetKey() uint32 { + if x != nil { + return x.Key + } + return 0 +} + +var File_QuestGlobalVar_proto protoreflect.FileDescriptor + +var file_QuestGlobalVar_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestGlobalVar_proto_rawDescOnce sync.Once + file_QuestGlobalVar_proto_rawDescData = file_QuestGlobalVar_proto_rawDesc +) + +func file_QuestGlobalVar_proto_rawDescGZIP() []byte { + file_QuestGlobalVar_proto_rawDescOnce.Do(func() { + file_QuestGlobalVar_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestGlobalVar_proto_rawDescData) + }) + return file_QuestGlobalVar_proto_rawDescData +} + +var file_QuestGlobalVar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestGlobalVar_proto_goTypes = []interface{}{ + (*QuestGlobalVar)(nil), // 0: QuestGlobalVar +} +var file_QuestGlobalVar_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestGlobalVar_proto_init() } +func file_QuestGlobalVar_proto_init() { + if File_QuestGlobalVar_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestGlobalVar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestGlobalVar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestGlobalVar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestGlobalVar_proto_goTypes, + DependencyIndexes: file_QuestGlobalVar_proto_depIdxs, + MessageInfos: file_QuestGlobalVar_proto_msgTypes, + }.Build() + File_QuestGlobalVar_proto = out.File + file_QuestGlobalVar_proto_rawDesc = nil + file_QuestGlobalVar_proto_goTypes = nil + file_QuestGlobalVar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestGlobalVar.proto b/gate-hk4e-api/proto/QuestGlobalVar.proto new file mode 100644 index 00000000..e0a2366e --- /dev/null +++ b/gate-hk4e-api/proto/QuestGlobalVar.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message QuestGlobalVar { + int32 value = 8; + uint32 key = 4; +} diff --git a/gate-hk4e-api/proto/QuestGlobalVarNotify.pb.go b/gate-hk4e-api/proto/QuestGlobalVarNotify.pb.go new file mode 100644 index 00000000..aef15c45 --- /dev/null +++ b/gate-hk4e-api/proto/QuestGlobalVarNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestGlobalVarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 434 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestGlobalVarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VarList []*QuestGlobalVar `protobuf:"bytes,1,rep,name=var_list,json=varList,proto3" json:"var_list,omitempty"` +} + +func (x *QuestGlobalVarNotify) Reset() { + *x = QuestGlobalVarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestGlobalVarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestGlobalVarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestGlobalVarNotify) ProtoMessage() {} + +func (x *QuestGlobalVarNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestGlobalVarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestGlobalVarNotify.ProtoReflect.Descriptor instead. +func (*QuestGlobalVarNotify) Descriptor() ([]byte, []int) { + return file_QuestGlobalVarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestGlobalVarNotify) GetVarList() []*QuestGlobalVar { + if x != nil { + return x.VarList + } + return nil +} + +var File_QuestGlobalVarNotify_proto protoreflect.FileDescriptor + +var file_QuestGlobalVarNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x73, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x08, 0x76, 0x61, + 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x72, 0x52, 0x07, 0x76, + 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestGlobalVarNotify_proto_rawDescOnce sync.Once + file_QuestGlobalVarNotify_proto_rawDescData = file_QuestGlobalVarNotify_proto_rawDesc +) + +func file_QuestGlobalVarNotify_proto_rawDescGZIP() []byte { + file_QuestGlobalVarNotify_proto_rawDescOnce.Do(func() { + file_QuestGlobalVarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestGlobalVarNotify_proto_rawDescData) + }) + return file_QuestGlobalVarNotify_proto_rawDescData +} + +var file_QuestGlobalVarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestGlobalVarNotify_proto_goTypes = []interface{}{ + (*QuestGlobalVarNotify)(nil), // 0: QuestGlobalVarNotify + (*QuestGlobalVar)(nil), // 1: QuestGlobalVar +} +var file_QuestGlobalVarNotify_proto_depIdxs = []int32{ + 1, // 0: QuestGlobalVarNotify.var_list:type_name -> QuestGlobalVar + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestGlobalVarNotify_proto_init() } +func file_QuestGlobalVarNotify_proto_init() { + if File_QuestGlobalVarNotify_proto != nil { + return + } + file_QuestGlobalVar_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestGlobalVarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestGlobalVarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestGlobalVarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestGlobalVarNotify_proto_goTypes, + DependencyIndexes: file_QuestGlobalVarNotify_proto_depIdxs, + MessageInfos: file_QuestGlobalVarNotify_proto_msgTypes, + }.Build() + File_QuestGlobalVarNotify_proto = out.File + file_QuestGlobalVarNotify_proto_rawDesc = nil + file_QuestGlobalVarNotify_proto_goTypes = nil + file_QuestGlobalVarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestGlobalVarNotify.proto b/gate-hk4e-api/proto/QuestGlobalVarNotify.proto new file mode 100644 index 00000000..1f51f47e --- /dev/null +++ b/gate-hk4e-api/proto/QuestGlobalVarNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "QuestGlobalVar.proto"; + +option go_package = "./;proto"; + +// CmdId: 434 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestGlobalVarNotify { + repeated QuestGlobalVar var_list = 1; +} diff --git a/gate-hk4e-api/proto/QuestListNotify.pb.go b/gate-hk4e-api/proto/QuestListNotify.pb.go new file mode 100644 index 00000000..3e8bddd3 --- /dev/null +++ b/gate-hk4e-api/proto/QuestListNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 472 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestList []*Quest `protobuf:"bytes,1,rep,name=quest_list,json=questList,proto3" json:"quest_list,omitempty"` +} + +func (x *QuestListNotify) Reset() { + *x = QuestListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestListNotify) ProtoMessage() {} + +func (x *QuestListNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestListNotify.ProtoReflect.Descriptor instead. +func (*QuestListNotify) Descriptor() ([]byte, []int) { + return file_QuestListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestListNotify) GetQuestList() []*Quest { + if x != nil { + return x.QuestList + } + return nil +} + +var File_QuestListNotify_proto protoreflect.FileDescriptor + +var file_QuestListNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x51, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x0f, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_QuestListNotify_proto_rawDescOnce sync.Once + file_QuestListNotify_proto_rawDescData = file_QuestListNotify_proto_rawDesc +) + +func file_QuestListNotify_proto_rawDescGZIP() []byte { + file_QuestListNotify_proto_rawDescOnce.Do(func() { + file_QuestListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestListNotify_proto_rawDescData) + }) + return file_QuestListNotify_proto_rawDescData +} + +var file_QuestListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestListNotify_proto_goTypes = []interface{}{ + (*QuestListNotify)(nil), // 0: QuestListNotify + (*Quest)(nil), // 1: Quest +} +var file_QuestListNotify_proto_depIdxs = []int32{ + 1, // 0: QuestListNotify.quest_list:type_name -> Quest + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestListNotify_proto_init() } +func file_QuestListNotify_proto_init() { + if File_QuestListNotify_proto != nil { + return + } + file_Quest_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestListNotify_proto_goTypes, + DependencyIndexes: file_QuestListNotify_proto_depIdxs, + MessageInfos: file_QuestListNotify_proto_msgTypes, + }.Build() + File_QuestListNotify_proto = out.File + file_QuestListNotify_proto_rawDesc = nil + file_QuestListNotify_proto_goTypes = nil + file_QuestListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestListNotify.proto b/gate-hk4e-api/proto/QuestListNotify.proto new file mode 100644 index 00000000..05eb6952 --- /dev/null +++ b/gate-hk4e-api/proto/QuestListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Quest.proto"; + +option go_package = "./;proto"; + +// CmdId: 472 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestListNotify { + repeated Quest quest_list = 1; +} diff --git a/gate-hk4e-api/proto/QuestListUpdateNotify.pb.go b/gate-hk4e-api/proto/QuestListUpdateNotify.pb.go new file mode 100644 index 00000000..9cee523f --- /dev/null +++ b/gate-hk4e-api/proto/QuestListUpdateNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestListUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 498 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestListUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestList []*Quest `protobuf:"bytes,6,rep,name=quest_list,json=questList,proto3" json:"quest_list,omitempty"` +} + +func (x *QuestListUpdateNotify) Reset() { + *x = QuestListUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestListUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestListUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestListUpdateNotify) ProtoMessage() {} + +func (x *QuestListUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestListUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestListUpdateNotify.ProtoReflect.Descriptor instead. +func (*QuestListUpdateNotify) Descriptor() ([]byte, []int) { + return file_QuestListUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestListUpdateNotify) GetQuestList() []*Quest { + if x != nil { + return x.QuestList + } + return nil +} + +var File_QuestListUpdateNotify_proto protoreflect.FileDescriptor + +var file_QuestListUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x15, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestListUpdateNotify_proto_rawDescOnce sync.Once + file_QuestListUpdateNotify_proto_rawDescData = file_QuestListUpdateNotify_proto_rawDesc +) + +func file_QuestListUpdateNotify_proto_rawDescGZIP() []byte { + file_QuestListUpdateNotify_proto_rawDescOnce.Do(func() { + file_QuestListUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestListUpdateNotify_proto_rawDescData) + }) + return file_QuestListUpdateNotify_proto_rawDescData +} + +var file_QuestListUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestListUpdateNotify_proto_goTypes = []interface{}{ + (*QuestListUpdateNotify)(nil), // 0: QuestListUpdateNotify + (*Quest)(nil), // 1: Quest +} +var file_QuestListUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: QuestListUpdateNotify.quest_list:type_name -> Quest + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestListUpdateNotify_proto_init() } +func file_QuestListUpdateNotify_proto_init() { + if File_QuestListUpdateNotify_proto != nil { + return + } + file_Quest_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestListUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestListUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestListUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestListUpdateNotify_proto_goTypes, + DependencyIndexes: file_QuestListUpdateNotify_proto_depIdxs, + MessageInfos: file_QuestListUpdateNotify_proto_msgTypes, + }.Build() + File_QuestListUpdateNotify_proto = out.File + file_QuestListUpdateNotify_proto_rawDesc = nil + file_QuestListUpdateNotify_proto_goTypes = nil + file_QuestListUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestListUpdateNotify.proto b/gate-hk4e-api/proto/QuestListUpdateNotify.proto new file mode 100644 index 00000000..18fef685 --- /dev/null +++ b/gate-hk4e-api/proto/QuestListUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Quest.proto"; + +option go_package = "./;proto"; + +// CmdId: 498 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestListUpdateNotify { + repeated Quest quest_list = 6; +} diff --git a/gate-hk4e-api/proto/QuestProgressUpdateNotify.pb.go b/gate-hk4e-api/proto/QuestProgressUpdateNotify.pb.go new file mode 100644 index 00000000..594160a0 --- /dev/null +++ b/gate-hk4e-api/proto/QuestProgressUpdateNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestProgressUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 482 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestProgressUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,12,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + FailProgressList []uint32 `protobuf:"varint,6,rep,packed,name=fail_progress_list,json=failProgressList,proto3" json:"fail_progress_list,omitempty"` + FinishProgressList []uint32 `protobuf:"varint,13,rep,packed,name=finish_progress_list,json=finishProgressList,proto3" json:"finish_progress_list,omitempty"` +} + +func (x *QuestProgressUpdateNotify) Reset() { + *x = QuestProgressUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestProgressUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestProgressUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestProgressUpdateNotify) ProtoMessage() {} + +func (x *QuestProgressUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestProgressUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestProgressUpdateNotify.ProtoReflect.Descriptor instead. +func (*QuestProgressUpdateNotify) Descriptor() ([]byte, []int) { + return file_QuestProgressUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestProgressUpdateNotify) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *QuestProgressUpdateNotify) GetFailProgressList() []uint32 { + if x != nil { + return x.FailProgressList + } + return nil +} + +func (x *QuestProgressUpdateNotify) GetFinishProgressList() []uint32 { + if x != nil { + return x.FinishProgressList + } + return nil +} + +var File_QuestProgressUpdateNotify_proto protoreflect.FileDescriptor + +var file_QuestProgressUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x61, + 0x69, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestProgressUpdateNotify_proto_rawDescOnce sync.Once + file_QuestProgressUpdateNotify_proto_rawDescData = file_QuestProgressUpdateNotify_proto_rawDesc +) + +func file_QuestProgressUpdateNotify_proto_rawDescGZIP() []byte { + file_QuestProgressUpdateNotify_proto_rawDescOnce.Do(func() { + file_QuestProgressUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestProgressUpdateNotify_proto_rawDescData) + }) + return file_QuestProgressUpdateNotify_proto_rawDescData +} + +var file_QuestProgressUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestProgressUpdateNotify_proto_goTypes = []interface{}{ + (*QuestProgressUpdateNotify)(nil), // 0: QuestProgressUpdateNotify +} +var file_QuestProgressUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestProgressUpdateNotify_proto_init() } +func file_QuestProgressUpdateNotify_proto_init() { + if File_QuestProgressUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestProgressUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestProgressUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestProgressUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestProgressUpdateNotify_proto_goTypes, + DependencyIndexes: file_QuestProgressUpdateNotify_proto_depIdxs, + MessageInfos: file_QuestProgressUpdateNotify_proto_msgTypes, + }.Build() + File_QuestProgressUpdateNotify_proto = out.File + file_QuestProgressUpdateNotify_proto_rawDesc = nil + file_QuestProgressUpdateNotify_proto_goTypes = nil + file_QuestProgressUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestProgressUpdateNotify.proto b/gate-hk4e-api/proto/QuestProgressUpdateNotify.proto new file mode 100644 index 00000000..3e7fb0a4 --- /dev/null +++ b/gate-hk4e-api/proto/QuestProgressUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 482 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestProgressUpdateNotify { + uint32 quest_id = 12; + repeated uint32 fail_progress_list = 6; + repeated uint32 finish_progress_list = 13; +} diff --git a/gate-hk4e-api/proto/QuestTransmitReq.pb.go b/gate-hk4e-api/proto/QuestTransmitReq.pb.go new file mode 100644 index 00000000..e3092226 --- /dev/null +++ b/gate-hk4e-api/proto/QuestTransmitReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestTransmitReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 450 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuestTransmitReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,15,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + QuestId uint32 `protobuf:"varint,5,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *QuestTransmitReq) Reset() { + *x = QuestTransmitReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestTransmitReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestTransmitReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestTransmitReq) ProtoMessage() {} + +func (x *QuestTransmitReq) ProtoReflect() protoreflect.Message { + mi := &file_QuestTransmitReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestTransmitReq.ProtoReflect.Descriptor instead. +func (*QuestTransmitReq) Descriptor() ([]byte, []int) { + return file_QuestTransmitReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestTransmitReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *QuestTransmitReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_QuestTransmitReq_proto protoreflect.FileDescriptor + +var file_QuestTransmitReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestTransmitReq_proto_rawDescOnce sync.Once + file_QuestTransmitReq_proto_rawDescData = file_QuestTransmitReq_proto_rawDesc +) + +func file_QuestTransmitReq_proto_rawDescGZIP() []byte { + file_QuestTransmitReq_proto_rawDescOnce.Do(func() { + file_QuestTransmitReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestTransmitReq_proto_rawDescData) + }) + return file_QuestTransmitReq_proto_rawDescData +} + +var file_QuestTransmitReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestTransmitReq_proto_goTypes = []interface{}{ + (*QuestTransmitReq)(nil), // 0: QuestTransmitReq +} +var file_QuestTransmitReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestTransmitReq_proto_init() } +func file_QuestTransmitReq_proto_init() { + if File_QuestTransmitReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestTransmitReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestTransmitReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestTransmitReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestTransmitReq_proto_goTypes, + DependencyIndexes: file_QuestTransmitReq_proto_depIdxs, + MessageInfos: file_QuestTransmitReq_proto_msgTypes, + }.Build() + File_QuestTransmitReq_proto = out.File + file_QuestTransmitReq_proto_rawDesc = nil + file_QuestTransmitReq_proto_goTypes = nil + file_QuestTransmitReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestTransmitReq.proto b/gate-hk4e-api/proto/QuestTransmitReq.proto new file mode 100644 index 00000000..ddfaa404 --- /dev/null +++ b/gate-hk4e-api/proto/QuestTransmitReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 450 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuestTransmitReq { + uint32 point_id = 15; + uint32 quest_id = 5; +} diff --git a/gate-hk4e-api/proto/QuestTransmitRsp.pb.go b/gate-hk4e-api/proto/QuestTransmitRsp.pb.go new file mode 100644 index 00000000..7fc4c81a --- /dev/null +++ b/gate-hk4e-api/proto/QuestTransmitRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestTransmitRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 443 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestTransmitRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + QuestId uint32 `protobuf:"varint,3,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *QuestTransmitRsp) Reset() { + *x = QuestTransmitRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestTransmitRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestTransmitRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestTransmitRsp) ProtoMessage() {} + +func (x *QuestTransmitRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuestTransmitRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestTransmitRsp.ProtoReflect.Descriptor instead. +func (*QuestTransmitRsp) Descriptor() ([]byte, []int) { + return file_QuestTransmitRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestTransmitRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *QuestTransmitRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *QuestTransmitRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_QuestTransmitRsp_proto protoreflect.FileDescriptor + +var file_QuestTransmitRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestTransmitRsp_proto_rawDescOnce sync.Once + file_QuestTransmitRsp_proto_rawDescData = file_QuestTransmitRsp_proto_rawDesc +) + +func file_QuestTransmitRsp_proto_rawDescGZIP() []byte { + file_QuestTransmitRsp_proto_rawDescOnce.Do(func() { + file_QuestTransmitRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestTransmitRsp_proto_rawDescData) + }) + return file_QuestTransmitRsp_proto_rawDescData +} + +var file_QuestTransmitRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestTransmitRsp_proto_goTypes = []interface{}{ + (*QuestTransmitRsp)(nil), // 0: QuestTransmitRsp +} +var file_QuestTransmitRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestTransmitRsp_proto_init() } +func file_QuestTransmitRsp_proto_init() { + if File_QuestTransmitRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestTransmitRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestTransmitRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestTransmitRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestTransmitRsp_proto_goTypes, + DependencyIndexes: file_QuestTransmitRsp_proto_depIdxs, + MessageInfos: file_QuestTransmitRsp_proto_msgTypes, + }.Build() + File_QuestTransmitRsp_proto = out.File + file_QuestTransmitRsp_proto_rawDesc = nil + file_QuestTransmitRsp_proto_goTypes = nil + file_QuestTransmitRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestTransmitRsp.proto b/gate-hk4e-api/proto/QuestTransmitRsp.proto new file mode 100644 index 00000000..901f7b5a --- /dev/null +++ b/gate-hk4e-api/proto/QuestTransmitRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 443 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestTransmitRsp { + uint32 point_id = 12; + int32 retcode = 5; + uint32 quest_id = 3; +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.pb.go b/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.pb.go new file mode 100644 index 00000000..3a4c433c --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestUpdateQuestTimeVarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 456 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestUpdateQuestTimeVarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeVarMap map[uint32]uint32 `protobuf:"bytes,1,rep,name=time_var_map,json=timeVarMap,proto3" json:"time_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ParentQuestId uint32 `protobuf:"varint,3,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *QuestUpdateQuestTimeVarNotify) Reset() { + *x = QuestUpdateQuestTimeVarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestUpdateQuestTimeVarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestUpdateQuestTimeVarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestUpdateQuestTimeVarNotify) ProtoMessage() {} + +func (x *QuestUpdateQuestTimeVarNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestUpdateQuestTimeVarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestUpdateQuestTimeVarNotify.ProtoReflect.Descriptor instead. +func (*QuestUpdateQuestTimeVarNotify) Descriptor() ([]byte, []int) { + return file_QuestUpdateQuestTimeVarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestUpdateQuestTimeVarNotify) GetTimeVarMap() map[uint32]uint32 { + if x != nil { + return x.TimeVarMap + } + return nil +} + +func (x *QuestUpdateQuestTimeVarNotify) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_QuestUpdateQuestTimeVarNotify_proto protoreflect.FileDescriptor + +var file_QuestUpdateQuestTimeVarNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x50, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x76, 0x61, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, + 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x1a, 0x3d, 0x0a, 0x0f, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestUpdateQuestTimeVarNotify_proto_rawDescOnce sync.Once + file_QuestUpdateQuestTimeVarNotify_proto_rawDescData = file_QuestUpdateQuestTimeVarNotify_proto_rawDesc +) + +func file_QuestUpdateQuestTimeVarNotify_proto_rawDescGZIP() []byte { + file_QuestUpdateQuestTimeVarNotify_proto_rawDescOnce.Do(func() { + file_QuestUpdateQuestTimeVarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestUpdateQuestTimeVarNotify_proto_rawDescData) + }) + return file_QuestUpdateQuestTimeVarNotify_proto_rawDescData +} + +var file_QuestUpdateQuestTimeVarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_QuestUpdateQuestTimeVarNotify_proto_goTypes = []interface{}{ + (*QuestUpdateQuestTimeVarNotify)(nil), // 0: QuestUpdateQuestTimeVarNotify + nil, // 1: QuestUpdateQuestTimeVarNotify.TimeVarMapEntry +} +var file_QuestUpdateQuestTimeVarNotify_proto_depIdxs = []int32{ + 1, // 0: QuestUpdateQuestTimeVarNotify.time_var_map:type_name -> QuestUpdateQuestTimeVarNotify.TimeVarMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestUpdateQuestTimeVarNotify_proto_init() } +func file_QuestUpdateQuestTimeVarNotify_proto_init() { + if File_QuestUpdateQuestTimeVarNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestUpdateQuestTimeVarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestUpdateQuestTimeVarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestUpdateQuestTimeVarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestUpdateQuestTimeVarNotify_proto_goTypes, + DependencyIndexes: file_QuestUpdateQuestTimeVarNotify_proto_depIdxs, + MessageInfos: file_QuestUpdateQuestTimeVarNotify_proto_msgTypes, + }.Build() + File_QuestUpdateQuestTimeVarNotify_proto = out.File + file_QuestUpdateQuestTimeVarNotify_proto_rawDesc = nil + file_QuestUpdateQuestTimeVarNotify_proto_goTypes = nil + file_QuestUpdateQuestTimeVarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.proto b/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.proto new file mode 100644 index 00000000..f05d62d8 --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestTimeVarNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 456 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestUpdateQuestTimeVarNotify { + map time_var_map = 1; + uint32 parent_quest_id = 3; +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.pb.go b/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.pb.go new file mode 100644 index 00000000..4384084b --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestUpdateQuestVarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 453 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestUpdateQuestVarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestVar []int32 `protobuf:"varint,1,rep,packed,name=quest_var,json=questVar,proto3" json:"quest_var,omitempty"` + ParentQuestId uint32 `protobuf:"varint,12,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + ParentQuestVarSeq uint32 `protobuf:"varint,8,opt,name=parent_quest_var_seq,json=parentQuestVarSeq,proto3" json:"parent_quest_var_seq,omitempty"` +} + +func (x *QuestUpdateQuestVarNotify) Reset() { + *x = QuestUpdateQuestVarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestUpdateQuestVarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestUpdateQuestVarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestUpdateQuestVarNotify) ProtoMessage() {} + +func (x *QuestUpdateQuestVarNotify) ProtoReflect() protoreflect.Message { + mi := &file_QuestUpdateQuestVarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestUpdateQuestVarNotify.ProtoReflect.Descriptor instead. +func (*QuestUpdateQuestVarNotify) Descriptor() ([]byte, []int) { + return file_QuestUpdateQuestVarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestUpdateQuestVarNotify) GetQuestVar() []int32 { + if x != nil { + return x.QuestVar + } + return nil +} + +func (x *QuestUpdateQuestVarNotify) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestUpdateQuestVarNotify) GetParentQuestVarSeq() uint32 { + if x != nil { + return x.ParentQuestVarSeq + } + return 0 +} + +var File_QuestUpdateQuestVarNotify_proto protoreflect.FileDescriptor + +var file_QuestUpdateQuestVarNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x1b, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x05, 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x12, 0x26, 0x0a, 0x0f, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, + 0x61, 0x72, 0x53, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestUpdateQuestVarNotify_proto_rawDescOnce sync.Once + file_QuestUpdateQuestVarNotify_proto_rawDescData = file_QuestUpdateQuestVarNotify_proto_rawDesc +) + +func file_QuestUpdateQuestVarNotify_proto_rawDescGZIP() []byte { + file_QuestUpdateQuestVarNotify_proto_rawDescOnce.Do(func() { + file_QuestUpdateQuestVarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestUpdateQuestVarNotify_proto_rawDescData) + }) + return file_QuestUpdateQuestVarNotify_proto_rawDescData +} + +var file_QuestUpdateQuestVarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestUpdateQuestVarNotify_proto_goTypes = []interface{}{ + (*QuestUpdateQuestVarNotify)(nil), // 0: QuestUpdateQuestVarNotify +} +var file_QuestUpdateQuestVarNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestUpdateQuestVarNotify_proto_init() } +func file_QuestUpdateQuestVarNotify_proto_init() { + if File_QuestUpdateQuestVarNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestUpdateQuestVarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestUpdateQuestVarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestUpdateQuestVarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestUpdateQuestVarNotify_proto_goTypes, + DependencyIndexes: file_QuestUpdateQuestVarNotify_proto_depIdxs, + MessageInfos: file_QuestUpdateQuestVarNotify_proto_msgTypes, + }.Build() + File_QuestUpdateQuestVarNotify_proto = out.File + file_QuestUpdateQuestVarNotify_proto_rawDesc = nil + file_QuestUpdateQuestVarNotify_proto_goTypes = nil + file_QuestUpdateQuestVarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.proto b/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.proto new file mode 100644 index 00000000..23d132bf --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 453 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestUpdateQuestVarNotify { + repeated int32 quest_var = 1; + uint32 parent_quest_id = 12; + uint32 parent_quest_var_seq = 8; +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarReq.pb.go b/gate-hk4e-api/proto/QuestUpdateQuestVarReq.pb.go new file mode 100644 index 00000000..63301073 --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarReq.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestUpdateQuestVarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 447 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuestUpdateQuestVarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,9,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + QuestVarOpList []*QuestVarOp `protobuf:"bytes,4,rep,name=quest_var_op_list,json=questVarOpList,proto3" json:"quest_var_op_list,omitempty"` + QuestId uint32 `protobuf:"varint,11,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + ParentQuestVarSeq uint32 `protobuf:"varint,1,opt,name=parent_quest_var_seq,json=parentQuestVarSeq,proto3" json:"parent_quest_var_seq,omitempty"` +} + +func (x *QuestUpdateQuestVarReq) Reset() { + *x = QuestUpdateQuestVarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestUpdateQuestVarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestUpdateQuestVarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestUpdateQuestVarReq) ProtoMessage() {} + +func (x *QuestUpdateQuestVarReq) ProtoReflect() protoreflect.Message { + mi := &file_QuestUpdateQuestVarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestUpdateQuestVarReq.ProtoReflect.Descriptor instead. +func (*QuestUpdateQuestVarReq) Descriptor() ([]byte, []int) { + return file_QuestUpdateQuestVarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestUpdateQuestVarReq) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestUpdateQuestVarReq) GetQuestVarOpList() []*QuestVarOp { + if x != nil { + return x.QuestVarOpList + } + return nil +} + +func (x *QuestUpdateQuestVarReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *QuestUpdateQuestVarReq) GetParentQuestVarSeq() uint32 { + if x != nil { + return x.ParentQuestVarSeq + } + return 0 +} + +var File_QuestUpdateQuestVarReq_proto protoreflect.FileDescriptor + +var file_QuestUpdateQuestVarReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x56, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x4f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc4, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x11, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, + 0x5f, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, + 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x4f, 0x70, 0x52, 0x0e, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x56, 0x61, 0x72, 0x4f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, + 0x74, 0x56, 0x61, 0x72, 0x53, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestUpdateQuestVarReq_proto_rawDescOnce sync.Once + file_QuestUpdateQuestVarReq_proto_rawDescData = file_QuestUpdateQuestVarReq_proto_rawDesc +) + +func file_QuestUpdateQuestVarReq_proto_rawDescGZIP() []byte { + file_QuestUpdateQuestVarReq_proto_rawDescOnce.Do(func() { + file_QuestUpdateQuestVarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestUpdateQuestVarReq_proto_rawDescData) + }) + return file_QuestUpdateQuestVarReq_proto_rawDescData +} + +var file_QuestUpdateQuestVarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestUpdateQuestVarReq_proto_goTypes = []interface{}{ + (*QuestUpdateQuestVarReq)(nil), // 0: QuestUpdateQuestVarReq + (*QuestVarOp)(nil), // 1: QuestVarOp +} +var file_QuestUpdateQuestVarReq_proto_depIdxs = []int32{ + 1, // 0: QuestUpdateQuestVarReq.quest_var_op_list:type_name -> QuestVarOp + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_QuestUpdateQuestVarReq_proto_init() } +func file_QuestUpdateQuestVarReq_proto_init() { + if File_QuestUpdateQuestVarReq_proto != nil { + return + } + file_QuestVarOp_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuestUpdateQuestVarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestUpdateQuestVarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestUpdateQuestVarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestUpdateQuestVarReq_proto_goTypes, + DependencyIndexes: file_QuestUpdateQuestVarReq_proto_depIdxs, + MessageInfos: file_QuestUpdateQuestVarReq_proto_msgTypes, + }.Build() + File_QuestUpdateQuestVarReq_proto = out.File + file_QuestUpdateQuestVarReq_proto_rawDesc = nil + file_QuestUpdateQuestVarReq_proto_goTypes = nil + file_QuestUpdateQuestVarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarReq.proto b/gate-hk4e-api/proto/QuestUpdateQuestVarReq.proto new file mode 100644 index 00000000..b2953b18 --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "QuestVarOp.proto"; + +option go_package = "./;proto"; + +// CmdId: 447 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuestUpdateQuestVarReq { + uint32 parent_quest_id = 9; + repeated QuestVarOp quest_var_op_list = 4; + uint32 quest_id = 11; + uint32 parent_quest_var_seq = 1; +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.pb.go b/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.pb.go new file mode 100644 index 00000000..94ff5ad5 --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestUpdateQuestVarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 439 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuestUpdateQuestVarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + ParentQuestVarSeq uint32 `protobuf:"varint,2,opt,name=parent_quest_var_seq,json=parentQuestVarSeq,proto3" json:"parent_quest_var_seq,omitempty"` + ParentQuestId uint32 `protobuf:"varint,8,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + QuestId uint32 `protobuf:"varint,15,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *QuestUpdateQuestVarRsp) Reset() { + *x = QuestUpdateQuestVarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestUpdateQuestVarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestUpdateQuestVarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestUpdateQuestVarRsp) ProtoMessage() {} + +func (x *QuestUpdateQuestVarRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuestUpdateQuestVarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestUpdateQuestVarRsp.ProtoReflect.Descriptor instead. +func (*QuestUpdateQuestVarRsp) Descriptor() ([]byte, []int) { + return file_QuestUpdateQuestVarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestUpdateQuestVarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *QuestUpdateQuestVarRsp) GetParentQuestVarSeq() uint32 { + if x != nil { + return x.ParentQuestVarSeq + } + return 0 +} + +func (x *QuestUpdateQuestVarRsp) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *QuestUpdateQuestVarRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_QuestUpdateQuestVarRsp_proto protoreflect.FileDescriptor + +var file_QuestUpdateQuestVarRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x56, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, + 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, + 0x72, 0x53, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestUpdateQuestVarRsp_proto_rawDescOnce sync.Once + file_QuestUpdateQuestVarRsp_proto_rawDescData = file_QuestUpdateQuestVarRsp_proto_rawDesc +) + +func file_QuestUpdateQuestVarRsp_proto_rawDescGZIP() []byte { + file_QuestUpdateQuestVarRsp_proto_rawDescOnce.Do(func() { + file_QuestUpdateQuestVarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestUpdateQuestVarRsp_proto_rawDescData) + }) + return file_QuestUpdateQuestVarRsp_proto_rawDescData +} + +var file_QuestUpdateQuestVarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestUpdateQuestVarRsp_proto_goTypes = []interface{}{ + (*QuestUpdateQuestVarRsp)(nil), // 0: QuestUpdateQuestVarRsp +} +var file_QuestUpdateQuestVarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestUpdateQuestVarRsp_proto_init() } +func file_QuestUpdateQuestVarRsp_proto_init() { + if File_QuestUpdateQuestVarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestUpdateQuestVarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestUpdateQuestVarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestUpdateQuestVarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestUpdateQuestVarRsp_proto_goTypes, + DependencyIndexes: file_QuestUpdateQuestVarRsp_proto_depIdxs, + MessageInfos: file_QuestUpdateQuestVarRsp_proto_msgTypes, + }.Build() + File_QuestUpdateQuestVarRsp_proto = out.File + file_QuestUpdateQuestVarRsp_proto_rawDesc = nil + file_QuestUpdateQuestVarRsp_proto_goTypes = nil + file_QuestUpdateQuestVarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.proto b/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.proto new file mode 100644 index 00000000..cacb1e25 --- /dev/null +++ b/gate-hk4e-api/proto/QuestUpdateQuestVarRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 439 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuestUpdateQuestVarRsp { + int32 retcode = 10; + uint32 parent_quest_var_seq = 2; + uint32 parent_quest_id = 8; + uint32 quest_id = 15; +} diff --git a/gate-hk4e-api/proto/QuestVarOp.pb.go b/gate-hk4e-api/proto/QuestVarOp.pb.go new file mode 100644 index 00000000..9b977aff --- /dev/null +++ b/gate-hk4e-api/proto/QuestVarOp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuestVarOp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QuestVarOp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` + Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` + IsAdd bool `protobuf:"varint,6,opt,name=is_add,json=isAdd,proto3" json:"is_add,omitempty"` +} + +func (x *QuestVarOp) Reset() { + *x = QuestVarOp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuestVarOp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestVarOp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestVarOp) ProtoMessage() {} + +func (x *QuestVarOp) ProtoReflect() protoreflect.Message { + mi := &file_QuestVarOp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuestVarOp.ProtoReflect.Descriptor instead. +func (*QuestVarOp) Descriptor() ([]byte, []int) { + return file_QuestVarOp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuestVarOp) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *QuestVarOp) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *QuestVarOp) GetIsAdd() bool { + if x != nil { + return x.IsAdd + } + return false +} + +var File_QuestVarOp_proto protoreflect.FileDescriptor + +var file_QuestVarOp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x4f, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x73, 0x74, 0x56, 0x61, 0x72, 0x4f, 0x70, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x15, 0x0a, 0x06, + 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, + 0x41, 0x64, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuestVarOp_proto_rawDescOnce sync.Once + file_QuestVarOp_proto_rawDescData = file_QuestVarOp_proto_rawDesc +) + +func file_QuestVarOp_proto_rawDescGZIP() []byte { + file_QuestVarOp_proto_rawDescOnce.Do(func() { + file_QuestVarOp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuestVarOp_proto_rawDescData) + }) + return file_QuestVarOp_proto_rawDescData +} + +var file_QuestVarOp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuestVarOp_proto_goTypes = []interface{}{ + (*QuestVarOp)(nil), // 0: QuestVarOp +} +var file_QuestVarOp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_QuestVarOp_proto_init() } +func file_QuestVarOp_proto_init() { + if File_QuestVarOp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_QuestVarOp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuestVarOp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuestVarOp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuestVarOp_proto_goTypes, + DependencyIndexes: file_QuestVarOp_proto_depIdxs, + MessageInfos: file_QuestVarOp_proto_msgTypes, + }.Build() + File_QuestVarOp_proto = out.File + file_QuestVarOp_proto_rawDesc = nil + file_QuestVarOp_proto_goTypes = nil + file_QuestVarOp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuestVarOp.proto b/gate-hk4e-api/proto/QuestVarOp.proto new file mode 100644 index 00000000..4feb871d --- /dev/null +++ b/gate-hk4e-api/proto/QuestVarOp.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message QuestVarOp { + uint32 index = 9; + int32 value = 5; + bool is_add = 6; +} diff --git a/gate-hk4e-api/proto/QuickUseWidgetReq.pb.go b/gate-hk4e-api/proto/QuickUseWidgetReq.pb.go new file mode 100644 index 00000000..65011b14 --- /dev/null +++ b/gate-hk4e-api/proto/QuickUseWidgetReq.pb.go @@ -0,0 +1,265 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuickUseWidgetReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4299 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type QuickUseWidgetReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Param: + // *QuickUseWidgetReq_LocationInfo + // *QuickUseWidgetReq_CameraInfo + // *QuickUseWidgetReq_CreatorInfo + // *QuickUseWidgetReq_ThunderBirdFeatherInfo + Param isQuickUseWidgetReq_Param `protobuf_oneof:"param"` +} + +func (x *QuickUseWidgetReq) Reset() { + *x = QuickUseWidgetReq{} + if protoimpl.UnsafeEnabled { + mi := &file_QuickUseWidgetReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuickUseWidgetReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuickUseWidgetReq) ProtoMessage() {} + +func (x *QuickUseWidgetReq) ProtoReflect() protoreflect.Message { + mi := &file_QuickUseWidgetReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuickUseWidgetReq.ProtoReflect.Descriptor instead. +func (*QuickUseWidgetReq) Descriptor() ([]byte, []int) { + return file_QuickUseWidgetReq_proto_rawDescGZIP(), []int{0} +} + +func (m *QuickUseWidgetReq) GetParam() isQuickUseWidgetReq_Param { + if m != nil { + return m.Param + } + return nil +} + +func (x *QuickUseWidgetReq) GetLocationInfo() *WidgetCreateLocationInfo { + if x, ok := x.GetParam().(*QuickUseWidgetReq_LocationInfo); ok { + return x.LocationInfo + } + return nil +} + +func (x *QuickUseWidgetReq) GetCameraInfo() *WidgetCameraInfo { + if x, ok := x.GetParam().(*QuickUseWidgetReq_CameraInfo); ok { + return x.CameraInfo + } + return nil +} + +func (x *QuickUseWidgetReq) GetCreatorInfo() *WidgetCreatorInfo { + if x, ok := x.GetParam().(*QuickUseWidgetReq_CreatorInfo); ok { + return x.CreatorInfo + } + return nil +} + +func (x *QuickUseWidgetReq) GetThunderBirdFeatherInfo() *WidgetThunderBirdFeatherInfo { + if x, ok := x.GetParam().(*QuickUseWidgetReq_ThunderBirdFeatherInfo); ok { + return x.ThunderBirdFeatherInfo + } + return nil +} + +type isQuickUseWidgetReq_Param interface { + isQuickUseWidgetReq_Param() +} + +type QuickUseWidgetReq_LocationInfo struct { + LocationInfo *WidgetCreateLocationInfo `protobuf:"bytes,676,opt,name=location_info,json=locationInfo,proto3,oneof"` +} + +type QuickUseWidgetReq_CameraInfo struct { + CameraInfo *WidgetCameraInfo `protobuf:"bytes,478,opt,name=camera_info,json=cameraInfo,proto3,oneof"` +} + +type QuickUseWidgetReq_CreatorInfo struct { + CreatorInfo *WidgetCreatorInfo `protobuf:"bytes,812,opt,name=creator_info,json=creatorInfo,proto3,oneof"` +} + +type QuickUseWidgetReq_ThunderBirdFeatherInfo struct { + ThunderBirdFeatherInfo *WidgetThunderBirdFeatherInfo `protobuf:"bytes,1859,opt,name=thunder_bird_feather_info,json=thunderBirdFeatherInfo,proto3,oneof"` +} + +func (*QuickUseWidgetReq_LocationInfo) isQuickUseWidgetReq_Param() {} + +func (*QuickUseWidgetReq_CameraInfo) isQuickUseWidgetReq_Param() {} + +func (*QuickUseWidgetReq_CreatorInfo) isQuickUseWidgetReq_Param() {} + +func (*QuickUseWidgetReq_ThunderBirdFeatherInfo) isQuickUseWidgetReq_Param() {} + +var File_QuickUseWidgetReq_proto protoreflect.FileDescriptor + +var file_QuickUseWidgetReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x54, 0x68, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x69, 0x72, 0x64, 0x46, 0x65, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, + 0x02, 0x0a, 0x11, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x41, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xa4, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x65, 0x72, + 0x61, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xde, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x00, 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, + 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xac, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x19, 0x74, 0x68, 0x75, 0x6e, + 0x64, 0x65, 0x72, 0x5f, 0x62, 0x69, 0x72, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc3, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x69, 0x72, 0x64, + 0x46, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x16, 0x74, + 0x68, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x69, 0x72, 0x64, 0x46, 0x65, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x07, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_QuickUseWidgetReq_proto_rawDescOnce sync.Once + file_QuickUseWidgetReq_proto_rawDescData = file_QuickUseWidgetReq_proto_rawDesc +) + +func file_QuickUseWidgetReq_proto_rawDescGZIP() []byte { + file_QuickUseWidgetReq_proto_rawDescOnce.Do(func() { + file_QuickUseWidgetReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuickUseWidgetReq_proto_rawDescData) + }) + return file_QuickUseWidgetReq_proto_rawDescData +} + +var file_QuickUseWidgetReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuickUseWidgetReq_proto_goTypes = []interface{}{ + (*QuickUseWidgetReq)(nil), // 0: QuickUseWidgetReq + (*WidgetCreateLocationInfo)(nil), // 1: WidgetCreateLocationInfo + (*WidgetCameraInfo)(nil), // 2: WidgetCameraInfo + (*WidgetCreatorInfo)(nil), // 3: WidgetCreatorInfo + (*WidgetThunderBirdFeatherInfo)(nil), // 4: WidgetThunderBirdFeatherInfo +} +var file_QuickUseWidgetReq_proto_depIdxs = []int32{ + 1, // 0: QuickUseWidgetReq.location_info:type_name -> WidgetCreateLocationInfo + 2, // 1: QuickUseWidgetReq.camera_info:type_name -> WidgetCameraInfo + 3, // 2: QuickUseWidgetReq.creator_info:type_name -> WidgetCreatorInfo + 4, // 3: QuickUseWidgetReq.thunder_bird_feather_info:type_name -> WidgetThunderBirdFeatherInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_QuickUseWidgetReq_proto_init() } +func file_QuickUseWidgetReq_proto_init() { + if File_QuickUseWidgetReq_proto != nil { + return + } + file_WidgetCameraInfo_proto_init() + file_WidgetCreateLocationInfo_proto_init() + file_WidgetCreatorInfo_proto_init() + file_WidgetThunderBirdFeatherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuickUseWidgetReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuickUseWidgetReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_QuickUseWidgetReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*QuickUseWidgetReq_LocationInfo)(nil), + (*QuickUseWidgetReq_CameraInfo)(nil), + (*QuickUseWidgetReq_CreatorInfo)(nil), + (*QuickUseWidgetReq_ThunderBirdFeatherInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuickUseWidgetReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuickUseWidgetReq_proto_goTypes, + DependencyIndexes: file_QuickUseWidgetReq_proto_depIdxs, + MessageInfos: file_QuickUseWidgetReq_proto_msgTypes, + }.Build() + File_QuickUseWidgetReq_proto = out.File + file_QuickUseWidgetReq_proto_rawDesc = nil + file_QuickUseWidgetReq_proto_goTypes = nil + file_QuickUseWidgetReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuickUseWidgetReq.proto b/gate-hk4e-api/proto/QuickUseWidgetReq.proto new file mode 100644 index 00000000..d700f571 --- /dev/null +++ b/gate-hk4e-api/proto/QuickUseWidgetReq.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetCameraInfo.proto"; +import "WidgetCreateLocationInfo.proto"; +import "WidgetCreatorInfo.proto"; +import "WidgetThunderBirdFeatherInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4299 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message QuickUseWidgetReq { + oneof param { + WidgetCreateLocationInfo location_info = 676; + WidgetCameraInfo camera_info = 478; + WidgetCreatorInfo creator_info = 812; + WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1859; + } +} diff --git a/gate-hk4e-api/proto/QuickUseWidgetRsp.pb.go b/gate-hk4e-api/proto/QuickUseWidgetRsp.pb.go new file mode 100644 index 00000000..e2471798 --- /dev/null +++ b/gate-hk4e-api/proto/QuickUseWidgetRsp.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: QuickUseWidgetRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4270 +// EnetChannelId: 0 +// EnetIsReliable: true +type QuickUseWidgetRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialId uint32 `protobuf:"varint,6,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + // Types that are assignable to Param: + // *QuickUseWidgetRsp_DetectorData + // *QuickUseWidgetRsp_ClientCollectorData + // *QuickUseWidgetRsp_SkyCrystalDetectorQuickUseResult + Param isQuickUseWidgetRsp_Param `protobuf_oneof:"param"` +} + +func (x *QuickUseWidgetRsp) Reset() { + *x = QuickUseWidgetRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_QuickUseWidgetRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuickUseWidgetRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuickUseWidgetRsp) ProtoMessage() {} + +func (x *QuickUseWidgetRsp) ProtoReflect() protoreflect.Message { + mi := &file_QuickUseWidgetRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QuickUseWidgetRsp.ProtoReflect.Descriptor instead. +func (*QuickUseWidgetRsp) Descriptor() ([]byte, []int) { + return file_QuickUseWidgetRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *QuickUseWidgetRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *QuickUseWidgetRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (m *QuickUseWidgetRsp) GetParam() isQuickUseWidgetRsp_Param { + if m != nil { + return m.Param + } + return nil +} + +func (x *QuickUseWidgetRsp) GetDetectorData() *OneofGatherPointDetectorData { + if x, ok := x.GetParam().(*QuickUseWidgetRsp_DetectorData); ok { + return x.DetectorData + } + return nil +} + +func (x *QuickUseWidgetRsp) GetClientCollectorData() *ClientCollectorData { + if x, ok := x.GetParam().(*QuickUseWidgetRsp_ClientCollectorData); ok { + return x.ClientCollectorData + } + return nil +} + +func (x *QuickUseWidgetRsp) GetSkyCrystalDetectorQuickUseResult() *SkyCrystalDetectorQuickUseResult { + if x, ok := x.GetParam().(*QuickUseWidgetRsp_SkyCrystalDetectorQuickUseResult); ok { + return x.SkyCrystalDetectorQuickUseResult + } + return nil +} + +type isQuickUseWidgetRsp_Param interface { + isQuickUseWidgetRsp_Param() +} + +type QuickUseWidgetRsp_DetectorData struct { + DetectorData *OneofGatherPointDetectorData `protobuf:"bytes,3,opt,name=detector_data,json=detectorData,proto3,oneof"` +} + +type QuickUseWidgetRsp_ClientCollectorData struct { + ClientCollectorData *ClientCollectorData `protobuf:"bytes,15,opt,name=client_collector_data,json=clientCollectorData,proto3,oneof"` +} + +type QuickUseWidgetRsp_SkyCrystalDetectorQuickUseResult struct { + SkyCrystalDetectorQuickUseResult *SkyCrystalDetectorQuickUseResult `protobuf:"bytes,168922,opt,name=sky_crystal_detector_quick_use_result,json=skyCrystalDetectorQuickUseResult,proto3,oneof"` +} + +func (*QuickUseWidgetRsp_DetectorData) isQuickUseWidgetRsp_Param() {} + +func (*QuickUseWidgetRsp_ClientCollectorData) isQuickUseWidgetRsp_Param() {} + +func (*QuickUseWidgetRsp_SkyCrystalDetectorQuickUseResult) isQuickUseWidgetRsp_Param() {} + +var File_QuickUseWidgetRsp_proto protoreflect.FileDescriptor + +var file_QuickUseWidgetRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x53, 0x6b, 0x79, 0x43, 0x72, 0x79, + 0x73, 0x74, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x69, 0x63, + 0x6b, 0x55, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe1, 0x02, 0x0a, 0x11, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, + 0x47, 0x61, 0x74, 0x68, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, 0x74, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x13, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x76, 0x0a, 0x25, 0x73, 0x6b, 0x79, 0x5f, 0x63, 0x72, 0x79, 0x73, 0x74, + 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x71, 0x75, 0x69, 0x63, + 0x6b, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0xda, 0xa7, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x53, 0x6b, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, + 0x6c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x20, 0x73, 0x6b, 0x79, 0x43, 0x72, + 0x79, 0x73, 0x74, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x69, + 0x63, 0x6b, 0x55, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_QuickUseWidgetRsp_proto_rawDescOnce sync.Once + file_QuickUseWidgetRsp_proto_rawDescData = file_QuickUseWidgetRsp_proto_rawDesc +) + +func file_QuickUseWidgetRsp_proto_rawDescGZIP() []byte { + file_QuickUseWidgetRsp_proto_rawDescOnce.Do(func() { + file_QuickUseWidgetRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_QuickUseWidgetRsp_proto_rawDescData) + }) + return file_QuickUseWidgetRsp_proto_rawDescData +} + +var file_QuickUseWidgetRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_QuickUseWidgetRsp_proto_goTypes = []interface{}{ + (*QuickUseWidgetRsp)(nil), // 0: QuickUseWidgetRsp + (*OneofGatherPointDetectorData)(nil), // 1: OneofGatherPointDetectorData + (*ClientCollectorData)(nil), // 2: ClientCollectorData + (*SkyCrystalDetectorQuickUseResult)(nil), // 3: SkyCrystalDetectorQuickUseResult +} +var file_QuickUseWidgetRsp_proto_depIdxs = []int32{ + 1, // 0: QuickUseWidgetRsp.detector_data:type_name -> OneofGatherPointDetectorData + 2, // 1: QuickUseWidgetRsp.client_collector_data:type_name -> ClientCollectorData + 3, // 2: QuickUseWidgetRsp.sky_crystal_detector_quick_use_result:type_name -> SkyCrystalDetectorQuickUseResult + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_QuickUseWidgetRsp_proto_init() } +func file_QuickUseWidgetRsp_proto_init() { + if File_QuickUseWidgetRsp_proto != nil { + return + } + file_ClientCollectorData_proto_init() + file_OneofGatherPointDetectorData_proto_init() + file_SkyCrystalDetectorQuickUseResult_proto_init() + if !protoimpl.UnsafeEnabled { + file_QuickUseWidgetRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuickUseWidgetRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_QuickUseWidgetRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*QuickUseWidgetRsp_DetectorData)(nil), + (*QuickUseWidgetRsp_ClientCollectorData)(nil), + (*QuickUseWidgetRsp_SkyCrystalDetectorQuickUseResult)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_QuickUseWidgetRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_QuickUseWidgetRsp_proto_goTypes, + DependencyIndexes: file_QuickUseWidgetRsp_proto_depIdxs, + MessageInfos: file_QuickUseWidgetRsp_proto_msgTypes, + }.Build() + File_QuickUseWidgetRsp_proto = out.File + file_QuickUseWidgetRsp_proto_rawDesc = nil + file_QuickUseWidgetRsp_proto_goTypes = nil + file_QuickUseWidgetRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/QuickUseWidgetRsp.proto b/gate-hk4e-api/proto/QuickUseWidgetRsp.proto new file mode 100644 index 00000000..5203c32a --- /dev/null +++ b/gate-hk4e-api/proto/QuickUseWidgetRsp.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ClientCollectorData.proto"; +import "OneofGatherPointDetectorData.proto"; +import "SkyCrystalDetectorQuickUseResult.proto"; + +option go_package = "./;proto"; + +// CmdId: 4270 +// EnetChannelId: 0 +// EnetIsReliable: true +message QuickUseWidgetRsp { + uint32 material_id = 6; + int32 retcode = 5; + oneof param { + OneofGatherPointDetectorData detector_data = 3; + ClientCollectorData client_collector_data = 15; + SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922; + } +} diff --git a/gate-hk4e-api/proto/RacingGalleryInfo.pb.go b/gate-hk4e-api/proto/RacingGalleryInfo.pb.go new file mode 100644 index 00000000..98875c13 --- /dev/null +++ b/gate-hk4e-api/proto/RacingGalleryInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RacingGalleryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RacingGalleryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecordList []*Unk2700_OJJNGIHDJEH `protobuf:"bytes,7,rep,name=record_list,json=recordList,proto3" json:"record_list,omitempty"` +} + +func (x *RacingGalleryInfo) Reset() { + *x = RacingGalleryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RacingGalleryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RacingGalleryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RacingGalleryInfo) ProtoMessage() {} + +func (x *RacingGalleryInfo) ProtoReflect() protoreflect.Message { + mi := &file_RacingGalleryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RacingGalleryInfo.ProtoReflect.Descriptor instead. +func (*RacingGalleryInfo) Descriptor() ([]byte, []int) { + return file_RacingGalleryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RacingGalleryInfo) GetRecordList() []*Unk2700_OJJNGIHDJEH { + if x != nil { + return x.RecordList + } + return nil +} + +var File_RacingGalleryInfo_proto protoreflect.FileDescriptor + +var file_RacingGalleryInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4a, 0x4e, 0x47, 0x49, 0x48, 0x44, 0x4a, 0x45, 0x48, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x11, 0x52, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4a, 0x4e, 0x47, 0x49, 0x48, + 0x44, 0x4a, 0x45, 0x48, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RacingGalleryInfo_proto_rawDescOnce sync.Once + file_RacingGalleryInfo_proto_rawDescData = file_RacingGalleryInfo_proto_rawDesc +) + +func file_RacingGalleryInfo_proto_rawDescGZIP() []byte { + file_RacingGalleryInfo_proto_rawDescOnce.Do(func() { + file_RacingGalleryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RacingGalleryInfo_proto_rawDescData) + }) + return file_RacingGalleryInfo_proto_rawDescData +} + +var file_RacingGalleryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RacingGalleryInfo_proto_goTypes = []interface{}{ + (*RacingGalleryInfo)(nil), // 0: RacingGalleryInfo + (*Unk2700_OJJNGIHDJEH)(nil), // 1: Unk2700_OJJNGIHDJEH +} +var file_RacingGalleryInfo_proto_depIdxs = []int32{ + 1, // 0: RacingGalleryInfo.record_list:type_name -> Unk2700_OJJNGIHDJEH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RacingGalleryInfo_proto_init() } +func file_RacingGalleryInfo_proto_init() { + if File_RacingGalleryInfo_proto != nil { + return + } + file_Unk2700_OJJNGIHDJEH_proto_init() + if !protoimpl.UnsafeEnabled { + file_RacingGalleryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RacingGalleryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RacingGalleryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RacingGalleryInfo_proto_goTypes, + DependencyIndexes: file_RacingGalleryInfo_proto_depIdxs, + MessageInfos: file_RacingGalleryInfo_proto_msgTypes, + }.Build() + File_RacingGalleryInfo_proto = out.File + file_RacingGalleryInfo_proto_rawDesc = nil + file_RacingGalleryInfo_proto_goTypes = nil + file_RacingGalleryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RacingGalleryInfo.proto b/gate-hk4e-api/proto/RacingGalleryInfo.proto new file mode 100644 index 00000000..503d7529 --- /dev/null +++ b/gate-hk4e-api/proto/RacingGalleryInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OJJNGIHDJEH.proto"; + +option go_package = "./;proto"; + +message RacingGalleryInfo { + repeated Unk2700_OJJNGIHDJEH record_list = 7; +} diff --git a/gate-hk4e-api/proto/ReadMailNotify.pb.go b/gate-hk4e-api/proto/ReadMailNotify.pb.go new file mode 100644 index 00000000..24fd3e49 --- /dev/null +++ b/gate-hk4e-api/proto/ReadMailNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReadMailNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1412 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReadMailNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MailIdList []uint32 `protobuf:"varint,2,rep,packed,name=mail_id_list,json=mailIdList,proto3" json:"mail_id_list,omitempty"` +} + +func (x *ReadMailNotify) Reset() { + *x = ReadMailNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReadMailNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadMailNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadMailNotify) ProtoMessage() {} + +func (x *ReadMailNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReadMailNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadMailNotify.ProtoReflect.Descriptor instead. +func (*ReadMailNotify) Descriptor() ([]byte, []int) { + return file_ReadMailNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReadMailNotify) GetMailIdList() []uint32 { + if x != nil { + return x.MailIdList + } + return nil +} + +var File_ReadMailNotify_proto protoreflect.FileDescriptor + +var file_ReadMailNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x61, + 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x6d, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReadMailNotify_proto_rawDescOnce sync.Once + file_ReadMailNotify_proto_rawDescData = file_ReadMailNotify_proto_rawDesc +) + +func file_ReadMailNotify_proto_rawDescGZIP() []byte { + file_ReadMailNotify_proto_rawDescOnce.Do(func() { + file_ReadMailNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReadMailNotify_proto_rawDescData) + }) + return file_ReadMailNotify_proto_rawDescData +} + +var file_ReadMailNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReadMailNotify_proto_goTypes = []interface{}{ + (*ReadMailNotify)(nil), // 0: ReadMailNotify +} +var file_ReadMailNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReadMailNotify_proto_init() } +func file_ReadMailNotify_proto_init() { + if File_ReadMailNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReadMailNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadMailNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReadMailNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReadMailNotify_proto_goTypes, + DependencyIndexes: file_ReadMailNotify_proto_depIdxs, + MessageInfos: file_ReadMailNotify_proto_msgTypes, + }.Build() + File_ReadMailNotify_proto = out.File + file_ReadMailNotify_proto_rawDesc = nil + file_ReadMailNotify_proto_goTypes = nil + file_ReadMailNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReadMailNotify.proto b/gate-hk4e-api/proto/ReadMailNotify.proto new file mode 100644 index 00000000..afd2801a --- /dev/null +++ b/gate-hk4e-api/proto/ReadMailNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1412 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReadMailNotify { + repeated uint32 mail_id_list = 2; +} diff --git a/gate-hk4e-api/proto/ReadPrivateChatReq.pb.go b/gate-hk4e-api/proto/ReadPrivateChatReq.pb.go new file mode 100644 index 00000000..a583ec06 --- /dev/null +++ b/gate-hk4e-api/proto/ReadPrivateChatReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReadPrivateChatReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5049 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReadPrivateChatReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,1,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *ReadPrivateChatReq) Reset() { + *x = ReadPrivateChatReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReadPrivateChatReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadPrivateChatReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadPrivateChatReq) ProtoMessage() {} + +func (x *ReadPrivateChatReq) ProtoReflect() protoreflect.Message { + mi := &file_ReadPrivateChatReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadPrivateChatReq.ProtoReflect.Descriptor instead. +func (*ReadPrivateChatReq) Descriptor() ([]byte, []int) { + return file_ReadPrivateChatReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ReadPrivateChatReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_ReadPrivateChatReq_proto protoreflect.FileDescriptor + +var file_ReadPrivateChatReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x52, 0x65, + 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ReadPrivateChatReq_proto_rawDescOnce sync.Once + file_ReadPrivateChatReq_proto_rawDescData = file_ReadPrivateChatReq_proto_rawDesc +) + +func file_ReadPrivateChatReq_proto_rawDescGZIP() []byte { + file_ReadPrivateChatReq_proto_rawDescOnce.Do(func() { + file_ReadPrivateChatReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReadPrivateChatReq_proto_rawDescData) + }) + return file_ReadPrivateChatReq_proto_rawDescData +} + +var file_ReadPrivateChatReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReadPrivateChatReq_proto_goTypes = []interface{}{ + (*ReadPrivateChatReq)(nil), // 0: ReadPrivateChatReq +} +var file_ReadPrivateChatReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReadPrivateChatReq_proto_init() } +func file_ReadPrivateChatReq_proto_init() { + if File_ReadPrivateChatReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReadPrivateChatReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadPrivateChatReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReadPrivateChatReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReadPrivateChatReq_proto_goTypes, + DependencyIndexes: file_ReadPrivateChatReq_proto_depIdxs, + MessageInfos: file_ReadPrivateChatReq_proto_msgTypes, + }.Build() + File_ReadPrivateChatReq_proto = out.File + file_ReadPrivateChatReq_proto_rawDesc = nil + file_ReadPrivateChatReq_proto_goTypes = nil + file_ReadPrivateChatReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReadPrivateChatReq.proto b/gate-hk4e-api/proto/ReadPrivateChatReq.proto new file mode 100644 index 00000000..0f6b5349 --- /dev/null +++ b/gate-hk4e-api/proto/ReadPrivateChatReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5049 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReadPrivateChatReq { + uint32 target_uid = 1; +} diff --git a/gate-hk4e-api/proto/ReadPrivateChatRsp.pb.go b/gate-hk4e-api/proto/ReadPrivateChatRsp.pb.go new file mode 100644 index 00000000..1ac6526e --- /dev/null +++ b/gate-hk4e-api/proto/ReadPrivateChatRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReadPrivateChatRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4981 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReadPrivateChatRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ReadPrivateChatRsp) Reset() { + *x = ReadPrivateChatRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReadPrivateChatRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadPrivateChatRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadPrivateChatRsp) ProtoMessage() {} + +func (x *ReadPrivateChatRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReadPrivateChatRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadPrivateChatRsp.ProtoReflect.Descriptor instead. +func (*ReadPrivateChatRsp) Descriptor() ([]byte, []int) { + return file_ReadPrivateChatRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReadPrivateChatRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ReadPrivateChatRsp_proto protoreflect.FileDescriptor + +var file_ReadPrivateChatRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x52, 0x65, + 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReadPrivateChatRsp_proto_rawDescOnce sync.Once + file_ReadPrivateChatRsp_proto_rawDescData = file_ReadPrivateChatRsp_proto_rawDesc +) + +func file_ReadPrivateChatRsp_proto_rawDescGZIP() []byte { + file_ReadPrivateChatRsp_proto_rawDescOnce.Do(func() { + file_ReadPrivateChatRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReadPrivateChatRsp_proto_rawDescData) + }) + return file_ReadPrivateChatRsp_proto_rawDescData +} + +var file_ReadPrivateChatRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReadPrivateChatRsp_proto_goTypes = []interface{}{ + (*ReadPrivateChatRsp)(nil), // 0: ReadPrivateChatRsp +} +var file_ReadPrivateChatRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReadPrivateChatRsp_proto_init() } +func file_ReadPrivateChatRsp_proto_init() { + if File_ReadPrivateChatRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReadPrivateChatRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadPrivateChatRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReadPrivateChatRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReadPrivateChatRsp_proto_goTypes, + DependencyIndexes: file_ReadPrivateChatRsp_proto_depIdxs, + MessageInfos: file_ReadPrivateChatRsp_proto_msgTypes, + }.Build() + File_ReadPrivateChatRsp_proto = out.File + file_ReadPrivateChatRsp_proto_rawDesc = nil + file_ReadPrivateChatRsp_proto_goTypes = nil + file_ReadPrivateChatRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReadPrivateChatRsp.proto b/gate-hk4e-api/proto/ReadPrivateChatRsp.proto new file mode 100644 index 00000000..a5328d64 --- /dev/null +++ b/gate-hk4e-api/proto/ReadPrivateChatRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4981 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReadPrivateChatRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.pb.go b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.pb.go new file mode 100644 index 00000000..1912048e --- /dev/null +++ b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReceivedTrialAvatarActivityRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2130 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReceivedTrialAvatarActivityRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialAvatarIndexId uint32 `protobuf:"varint,4,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` +} + +func (x *ReceivedTrialAvatarActivityRewardReq) Reset() { + *x = ReceivedTrialAvatarActivityRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReceivedTrialAvatarActivityRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReceivedTrialAvatarActivityRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReceivedTrialAvatarActivityRewardReq) ProtoMessage() {} + +func (x *ReceivedTrialAvatarActivityRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_ReceivedTrialAvatarActivityRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReceivedTrialAvatarActivityRewardReq.ProtoReflect.Descriptor instead. +func (*ReceivedTrialAvatarActivityRewardReq) Descriptor() ([]byte, []int) { + return file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ReceivedTrialAvatarActivityRewardReq) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +var File_ReceivedTrialAvatarActivityRewardReq_proto protoreflect.FileDescriptor + +var file_ReceivedTrialAvatarActivityRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x24, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescOnce sync.Once + file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescData = file_ReceivedTrialAvatarActivityRewardReq_proto_rawDesc +) + +func file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescGZIP() []byte { + file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescOnce.Do(func() { + file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescData) + }) + return file_ReceivedTrialAvatarActivityRewardReq_proto_rawDescData +} + +var file_ReceivedTrialAvatarActivityRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReceivedTrialAvatarActivityRewardReq_proto_goTypes = []interface{}{ + (*ReceivedTrialAvatarActivityRewardReq)(nil), // 0: ReceivedTrialAvatarActivityRewardReq +} +var file_ReceivedTrialAvatarActivityRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReceivedTrialAvatarActivityRewardReq_proto_init() } +func file_ReceivedTrialAvatarActivityRewardReq_proto_init() { + if File_ReceivedTrialAvatarActivityRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReceivedTrialAvatarActivityRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceivedTrialAvatarActivityRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReceivedTrialAvatarActivityRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReceivedTrialAvatarActivityRewardReq_proto_goTypes, + DependencyIndexes: file_ReceivedTrialAvatarActivityRewardReq_proto_depIdxs, + MessageInfos: file_ReceivedTrialAvatarActivityRewardReq_proto_msgTypes, + }.Build() + File_ReceivedTrialAvatarActivityRewardReq_proto = out.File + file_ReceivedTrialAvatarActivityRewardReq_proto_rawDesc = nil + file_ReceivedTrialAvatarActivityRewardReq_proto_goTypes = nil + file_ReceivedTrialAvatarActivityRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.proto b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.proto new file mode 100644 index 00000000..8e882904 --- /dev/null +++ b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2130 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReceivedTrialAvatarActivityRewardReq { + uint32 trial_avatar_index_id = 4; +} diff --git a/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.pb.go b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.pb.go new file mode 100644 index 00000000..a8ae06c0 --- /dev/null +++ b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReceivedTrialAvatarActivityRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2076 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReceivedTrialAvatarActivityRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,13,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + TrialAvatarIndexId uint32 `protobuf:"varint,9,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` +} + +func (x *ReceivedTrialAvatarActivityRewardRsp) Reset() { + *x = ReceivedTrialAvatarActivityRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReceivedTrialAvatarActivityRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReceivedTrialAvatarActivityRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReceivedTrialAvatarActivityRewardRsp) ProtoMessage() {} + +func (x *ReceivedTrialAvatarActivityRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReceivedTrialAvatarActivityRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReceivedTrialAvatarActivityRewardRsp.ProtoReflect.Descriptor instead. +func (*ReceivedTrialAvatarActivityRewardRsp) Descriptor() ([]byte, []int) { + return file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReceivedTrialAvatarActivityRewardRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *ReceivedTrialAvatarActivityRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ReceivedTrialAvatarActivityRewardRsp) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +var File_ReceivedTrialAvatarActivityRewardRsp_proto protoreflect.FileDescriptor + +var file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, + 0x24, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x31, 0x0a, 0x15, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescOnce sync.Once + file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescData = file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDesc +) + +func file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescGZIP() []byte { + file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescOnce.Do(func() { + file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescData) + }) + return file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDescData +} + +var file_ReceivedTrialAvatarActivityRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReceivedTrialAvatarActivityRewardRsp_proto_goTypes = []interface{}{ + (*ReceivedTrialAvatarActivityRewardRsp)(nil), // 0: ReceivedTrialAvatarActivityRewardRsp +} +var file_ReceivedTrialAvatarActivityRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReceivedTrialAvatarActivityRewardRsp_proto_init() } +func file_ReceivedTrialAvatarActivityRewardRsp_proto_init() { + if File_ReceivedTrialAvatarActivityRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReceivedTrialAvatarActivityRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceivedTrialAvatarActivityRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReceivedTrialAvatarActivityRewardRsp_proto_goTypes, + DependencyIndexes: file_ReceivedTrialAvatarActivityRewardRsp_proto_depIdxs, + MessageInfos: file_ReceivedTrialAvatarActivityRewardRsp_proto_msgTypes, + }.Build() + File_ReceivedTrialAvatarActivityRewardRsp_proto = out.File + file_ReceivedTrialAvatarActivityRewardRsp_proto_rawDesc = nil + file_ReceivedTrialAvatarActivityRewardRsp_proto_goTypes = nil + file_ReceivedTrialAvatarActivityRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.proto b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.proto new file mode 100644 index 00000000..4bc760e8 --- /dev/null +++ b/gate-hk4e-api/proto/ReceivedTrialAvatarActivityRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2076 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReceivedTrialAvatarActivityRewardRsp { + uint32 activity_id = 13; + int32 retcode = 3; + uint32 trial_avatar_index_id = 9; +} diff --git a/gate-hk4e-api/proto/RechargeReq.pb.go b/gate-hk4e-api/proto/RechargeReq.pb.go new file mode 100644 index 00000000..3dbde43f --- /dev/null +++ b/gate-hk4e-api/proto/RechargeReq.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RechargeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RechargeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayProduct *PlayProduct `protobuf:"bytes,10,opt,name=play_product,json=playProduct,proto3" json:"play_product,omitempty"` + CardProduct *ShopCardProduct `protobuf:"bytes,8,opt,name=card_product,json=cardProduct,proto3" json:"card_product,omitempty"` + McoinProduct *ShopMcoinProduct `protobuf:"bytes,14,opt,name=mcoin_product,json=mcoinProduct,proto3" json:"mcoin_product,omitempty"` + ConcertProduct *ShopConcertProduct `protobuf:"bytes,7,opt,name=concert_product,json=concertProduct,proto3" json:"concert_product,omitempty"` +} + +func (x *RechargeReq) Reset() { + *x = RechargeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RechargeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RechargeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RechargeReq) ProtoMessage() {} + +func (x *RechargeReq) ProtoReflect() protoreflect.Message { + mi := &file_RechargeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RechargeReq.ProtoReflect.Descriptor instead. +func (*RechargeReq) Descriptor() ([]byte, []int) { + return file_RechargeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RechargeReq) GetPlayProduct() *PlayProduct { + if x != nil { + return x.PlayProduct + } + return nil +} + +func (x *RechargeReq) GetCardProduct() *ShopCardProduct { + if x != nil { + return x.CardProduct + } + return nil +} + +func (x *RechargeReq) GetMcoinProduct() *ShopMcoinProduct { + if x != nil { + return x.McoinProduct + } + return nil +} + +func (x *RechargeReq) GetConcertProduct() *ShopConcertProduct { + if x != nil { + return x.ConcertProduct + } + return nil +} + +var File_RechargeReq_proto protoreflect.FileDescriptor + +var file_RechargeReq_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x72, 0x64, + 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x53, + 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x53, 0x68, 0x6f, 0x70, 0x4d, 0x63, 0x6f, + 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xe9, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, + 0x2f, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x74, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x12, 0x33, 0x0a, 0x0c, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x72, + 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x63, 0x61, 0x72, 0x64, 0x50, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x36, 0x0a, 0x0d, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x70, + 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53, + 0x68, 0x6f, 0x70, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, + 0x0c, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x3c, 0x0a, + 0x0f, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, + 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x63, 0x6f, 0x6e, + 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RechargeReq_proto_rawDescOnce sync.Once + file_RechargeReq_proto_rawDescData = file_RechargeReq_proto_rawDesc +) + +func file_RechargeReq_proto_rawDescGZIP() []byte { + file_RechargeReq_proto_rawDescOnce.Do(func() { + file_RechargeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RechargeReq_proto_rawDescData) + }) + return file_RechargeReq_proto_rawDescData +} + +var file_RechargeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RechargeReq_proto_goTypes = []interface{}{ + (*RechargeReq)(nil), // 0: RechargeReq + (*PlayProduct)(nil), // 1: PlayProduct + (*ShopCardProduct)(nil), // 2: ShopCardProduct + (*ShopMcoinProduct)(nil), // 3: ShopMcoinProduct + (*ShopConcertProduct)(nil), // 4: ShopConcertProduct +} +var file_RechargeReq_proto_depIdxs = []int32{ + 1, // 0: RechargeReq.play_product:type_name -> PlayProduct + 2, // 1: RechargeReq.card_product:type_name -> ShopCardProduct + 3, // 2: RechargeReq.mcoin_product:type_name -> ShopMcoinProduct + 4, // 3: RechargeReq.concert_product:type_name -> ShopConcertProduct + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_RechargeReq_proto_init() } +func file_RechargeReq_proto_init() { + if File_RechargeReq_proto != nil { + return + } + file_PlayProduct_proto_init() + file_ShopCardProduct_proto_init() + file_ShopConcertProduct_proto_init() + file_ShopMcoinProduct_proto_init() + if !protoimpl.UnsafeEnabled { + file_RechargeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RechargeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RechargeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RechargeReq_proto_goTypes, + DependencyIndexes: file_RechargeReq_proto_depIdxs, + MessageInfos: file_RechargeReq_proto_msgTypes, + }.Build() + File_RechargeReq_proto = out.File + file_RechargeReq_proto_rawDesc = nil + file_RechargeReq_proto_goTypes = nil + file_RechargeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RechargeReq.proto b/gate-hk4e-api/proto/RechargeReq.proto new file mode 100644 index 00000000..f7f87711 --- /dev/null +++ b/gate-hk4e-api/proto/RechargeReq.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayProduct.proto"; +import "ShopCardProduct.proto"; +import "ShopConcertProduct.proto"; +import "ShopMcoinProduct.proto"; + +option go_package = "./;proto"; + +// CmdId: 4126 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RechargeReq { + PlayProduct play_product = 10; + ShopCardProduct card_product = 8; + ShopMcoinProduct mcoin_product = 14; + ShopConcertProduct concert_product = 7; +} diff --git a/gate-hk4e-api/proto/RechargeRsp.pb.go b/gate-hk4e-api/proto/RechargeRsp.pb.go new file mode 100644 index 00000000..4bde0756 --- /dev/null +++ b/gate-hk4e-api/proto/RechargeRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RechargeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4118 +// EnetChannelId: 0 +// EnetIsReliable: true +type RechargeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_FGENAOBDIEA bool `protobuf:"varint,6,opt,name=Unk2700_FGENAOBDIEA,json=Unk2700FGENAOBDIEA,proto3" json:"Unk2700_FGENAOBDIEA,omitempty"` + ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` +} + +func (x *RechargeRsp) Reset() { + *x = RechargeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RechargeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RechargeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RechargeRsp) ProtoMessage() {} + +func (x *RechargeRsp) ProtoReflect() protoreflect.Message { + mi := &file_RechargeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RechargeRsp.ProtoReflect.Descriptor instead. +func (*RechargeRsp) Descriptor() ([]byte, []int) { + return file_RechargeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RechargeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RechargeRsp) GetUnk2700_FGENAOBDIEA() bool { + if x != nil { + return x.Unk2700_FGENAOBDIEA + } + return false +} + +func (x *RechargeRsp) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +var File_RechargeRsp_proto protoreflect.FileDescriptor + +var file_RechargeRsp_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x45, 0x4e, 0x41, 0x4f, 0x42, 0x44, + 0x49, 0x45, 0x41, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x46, 0x47, 0x45, 0x4e, 0x41, 0x4f, 0x42, 0x44, 0x49, 0x45, 0x41, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RechargeRsp_proto_rawDescOnce sync.Once + file_RechargeRsp_proto_rawDescData = file_RechargeRsp_proto_rawDesc +) + +func file_RechargeRsp_proto_rawDescGZIP() []byte { + file_RechargeRsp_proto_rawDescOnce.Do(func() { + file_RechargeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RechargeRsp_proto_rawDescData) + }) + return file_RechargeRsp_proto_rawDescData +} + +var file_RechargeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RechargeRsp_proto_goTypes = []interface{}{ + (*RechargeRsp)(nil), // 0: RechargeRsp +} +var file_RechargeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RechargeRsp_proto_init() } +func file_RechargeRsp_proto_init() { + if File_RechargeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RechargeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RechargeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RechargeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RechargeRsp_proto_goTypes, + DependencyIndexes: file_RechargeRsp_proto_depIdxs, + MessageInfos: file_RechargeRsp_proto_msgTypes, + }.Build() + File_RechargeRsp_proto = out.File + file_RechargeRsp_proto_rawDesc = nil + file_RechargeRsp_proto_goTypes = nil + file_RechargeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RechargeRsp.proto b/gate-hk4e-api/proto/RechargeRsp.proto new file mode 100644 index 00000000..37bae321 --- /dev/null +++ b/gate-hk4e-api/proto/RechargeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4118 +// EnetChannelId: 0 +// EnetIsReliable: true +message RechargeRsp { + int32 retcode = 12; + bool Unk2700_FGENAOBDIEA = 6; + string product_id = 2; +} diff --git a/gate-hk4e-api/proto/RedPointData.pb.go b/gate-hk4e-api/proto/RedPointData.pb.go new file mode 100644 index 00000000..89358c4e --- /dev/null +++ b/gate-hk4e-api/proto/RedPointData.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RedPointData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RedPointData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RedPointType uint32 `protobuf:"varint,1,opt,name=red_point_type,json=redPointType,proto3" json:"red_point_type,omitempty"` + IsShow bool `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3" json:"is_show,omitempty"` + ContentId uint32 `protobuf:"varint,3,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` +} + +func (x *RedPointData) Reset() { + *x = RedPointData{} + if protoimpl.UnsafeEnabled { + mi := &file_RedPointData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RedPointData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RedPointData) ProtoMessage() {} + +func (x *RedPointData) ProtoReflect() protoreflect.Message { + mi := &file_RedPointData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RedPointData.ProtoReflect.Descriptor instead. +func (*RedPointData) Descriptor() ([]byte, []int) { + return file_RedPointData_proto_rawDescGZIP(), []int{0} +} + +func (x *RedPointData) GetRedPointType() uint32 { + if x != nil { + return x.RedPointType + } + return 0 +} + +func (x *RedPointData) GetIsShow() bool { + if x != nil { + return x.IsShow + } + return false +} + +func (x *RedPointData) GetContentId() uint32 { + if x != nil { + return x.ContentId + } + return 0 +} + +var File_RedPointData_proto protoreflect.FileDescriptor + +var file_RedPointData_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x52, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0c, 0x52, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, + 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, + 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, + 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RedPointData_proto_rawDescOnce sync.Once + file_RedPointData_proto_rawDescData = file_RedPointData_proto_rawDesc +) + +func file_RedPointData_proto_rawDescGZIP() []byte { + file_RedPointData_proto_rawDescOnce.Do(func() { + file_RedPointData_proto_rawDescData = protoimpl.X.CompressGZIP(file_RedPointData_proto_rawDescData) + }) + return file_RedPointData_proto_rawDescData +} + +var file_RedPointData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RedPointData_proto_goTypes = []interface{}{ + (*RedPointData)(nil), // 0: RedPointData +} +var file_RedPointData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RedPointData_proto_init() } +func file_RedPointData_proto_init() { + if File_RedPointData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RedPointData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RedPointData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RedPointData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RedPointData_proto_goTypes, + DependencyIndexes: file_RedPointData_proto_depIdxs, + MessageInfos: file_RedPointData_proto_msgTypes, + }.Build() + File_RedPointData_proto = out.File + file_RedPointData_proto_rawDesc = nil + file_RedPointData_proto_goTypes = nil + file_RedPointData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RedPointData.proto b/gate-hk4e-api/proto/RedPointData.proto new file mode 100644 index 00000000..66663547 --- /dev/null +++ b/gate-hk4e-api/proto/RedPointData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RedPointData { + uint32 red_point_type = 1; + bool is_show = 2; + uint32 content_id = 3; +} diff --git a/gate-hk4e-api/proto/RedeemLegendaryKeyReq.pb.go b/gate-hk4e-api/proto/RedeemLegendaryKeyReq.pb.go new file mode 100644 index 00000000..3ed2027f --- /dev/null +++ b/gate-hk4e-api/proto/RedeemLegendaryKeyReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RedeemLegendaryKeyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 446 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RedeemLegendaryKeyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RedeemLegendaryKeyReq) Reset() { + *x = RedeemLegendaryKeyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RedeemLegendaryKeyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RedeemLegendaryKeyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RedeemLegendaryKeyReq) ProtoMessage() {} + +func (x *RedeemLegendaryKeyReq) ProtoReflect() protoreflect.Message { + mi := &file_RedeemLegendaryKeyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RedeemLegendaryKeyReq.ProtoReflect.Descriptor instead. +func (*RedeemLegendaryKeyReq) Descriptor() ([]byte, []int) { + return file_RedeemLegendaryKeyReq_proto_rawDescGZIP(), []int{0} +} + +var File_RedeemLegendaryKeyReq_proto protoreflect.FileDescriptor + +var file_RedeemLegendaryKeyReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, + 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x79, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RedeemLegendaryKeyReq_proto_rawDescOnce sync.Once + file_RedeemLegendaryKeyReq_proto_rawDescData = file_RedeemLegendaryKeyReq_proto_rawDesc +) + +func file_RedeemLegendaryKeyReq_proto_rawDescGZIP() []byte { + file_RedeemLegendaryKeyReq_proto_rawDescOnce.Do(func() { + file_RedeemLegendaryKeyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RedeemLegendaryKeyReq_proto_rawDescData) + }) + return file_RedeemLegendaryKeyReq_proto_rawDescData +} + +var file_RedeemLegendaryKeyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RedeemLegendaryKeyReq_proto_goTypes = []interface{}{ + (*RedeemLegendaryKeyReq)(nil), // 0: RedeemLegendaryKeyReq +} +var file_RedeemLegendaryKeyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RedeemLegendaryKeyReq_proto_init() } +func file_RedeemLegendaryKeyReq_proto_init() { + if File_RedeemLegendaryKeyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RedeemLegendaryKeyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RedeemLegendaryKeyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RedeemLegendaryKeyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RedeemLegendaryKeyReq_proto_goTypes, + DependencyIndexes: file_RedeemLegendaryKeyReq_proto_depIdxs, + MessageInfos: file_RedeemLegendaryKeyReq_proto_msgTypes, + }.Build() + File_RedeemLegendaryKeyReq_proto = out.File + file_RedeemLegendaryKeyReq_proto_rawDesc = nil + file_RedeemLegendaryKeyReq_proto_goTypes = nil + file_RedeemLegendaryKeyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RedeemLegendaryKeyReq.proto b/gate-hk4e-api/proto/RedeemLegendaryKeyReq.proto new file mode 100644 index 00000000..e11fb647 --- /dev/null +++ b/gate-hk4e-api/proto/RedeemLegendaryKeyReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 446 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RedeemLegendaryKeyReq {} diff --git a/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.pb.go b/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.pb.go new file mode 100644 index 00000000..7af6b7d6 --- /dev/null +++ b/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RedeemLegendaryKeyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 441 +// EnetChannelId: 0 +// EnetIsReliable: true +type RedeemLegendaryKeyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LegendaryKeyCount uint32 `protobuf:"varint,11,opt,name=legendary_key_count,json=legendaryKeyCount,proto3" json:"legendary_key_count,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RedeemLegendaryKeyRsp) Reset() { + *x = RedeemLegendaryKeyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RedeemLegendaryKeyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RedeemLegendaryKeyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RedeemLegendaryKeyRsp) ProtoMessage() {} + +func (x *RedeemLegendaryKeyRsp) ProtoReflect() protoreflect.Message { + mi := &file_RedeemLegendaryKeyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RedeemLegendaryKeyRsp.ProtoReflect.Descriptor instead. +func (*RedeemLegendaryKeyRsp) Descriptor() ([]byte, []int) { + return file_RedeemLegendaryKeyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RedeemLegendaryKeyRsp) GetLegendaryKeyCount() uint32 { + if x != nil { + return x.LegendaryKeyCount + } + return 0 +} + +func (x *RedeemLegendaryKeyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RedeemLegendaryKeyRsp_proto protoreflect.FileDescriptor + +var file_RedeemLegendaryKeyRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, + 0x79, 0x4b, 0x65, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, + 0x15, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x79, + 0x4b, 0x65, 0x79, 0x52, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, + 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, + 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RedeemLegendaryKeyRsp_proto_rawDescOnce sync.Once + file_RedeemLegendaryKeyRsp_proto_rawDescData = file_RedeemLegendaryKeyRsp_proto_rawDesc +) + +func file_RedeemLegendaryKeyRsp_proto_rawDescGZIP() []byte { + file_RedeemLegendaryKeyRsp_proto_rawDescOnce.Do(func() { + file_RedeemLegendaryKeyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RedeemLegendaryKeyRsp_proto_rawDescData) + }) + return file_RedeemLegendaryKeyRsp_proto_rawDescData +} + +var file_RedeemLegendaryKeyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RedeemLegendaryKeyRsp_proto_goTypes = []interface{}{ + (*RedeemLegendaryKeyRsp)(nil), // 0: RedeemLegendaryKeyRsp +} +var file_RedeemLegendaryKeyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RedeemLegendaryKeyRsp_proto_init() } +func file_RedeemLegendaryKeyRsp_proto_init() { + if File_RedeemLegendaryKeyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RedeemLegendaryKeyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RedeemLegendaryKeyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RedeemLegendaryKeyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RedeemLegendaryKeyRsp_proto_goTypes, + DependencyIndexes: file_RedeemLegendaryKeyRsp_proto_depIdxs, + MessageInfos: file_RedeemLegendaryKeyRsp_proto_msgTypes, + }.Build() + File_RedeemLegendaryKeyRsp_proto = out.File + file_RedeemLegendaryKeyRsp_proto_rawDesc = nil + file_RedeemLegendaryKeyRsp_proto_goTypes = nil + file_RedeemLegendaryKeyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.proto b/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.proto new file mode 100644 index 00000000..daa3fc47 --- /dev/null +++ b/gate-hk4e-api/proto/RedeemLegendaryKeyRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 441 +// EnetChannelId: 0 +// EnetIsReliable: true +message RedeemLegendaryKeyRsp { + uint32 legendary_key_count = 11; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.pb.go b/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.pb.go new file mode 100644 index 00000000..fb3801d1 --- /dev/null +++ b/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RefreshBackgroundAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1743 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RefreshBackgroundAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshBackgroundAvatarReq) Reset() { + *x = RefreshBackgroundAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RefreshBackgroundAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshBackgroundAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshBackgroundAvatarReq) ProtoMessage() {} + +func (x *RefreshBackgroundAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_RefreshBackgroundAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshBackgroundAvatarReq.ProtoReflect.Descriptor instead. +func (*RefreshBackgroundAvatarReq) Descriptor() ([]byte, []int) { + return file_RefreshBackgroundAvatarReq_proto_rawDescGZIP(), []int{0} +} + +var File_RefreshBackgroundAvatarReq_proto protoreflect.FileDescriptor + +var file_RefreshBackgroundAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, 0x63, + 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RefreshBackgroundAvatarReq_proto_rawDescOnce sync.Once + file_RefreshBackgroundAvatarReq_proto_rawDescData = file_RefreshBackgroundAvatarReq_proto_rawDesc +) + +func file_RefreshBackgroundAvatarReq_proto_rawDescGZIP() []byte { + file_RefreshBackgroundAvatarReq_proto_rawDescOnce.Do(func() { + file_RefreshBackgroundAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshBackgroundAvatarReq_proto_rawDescData) + }) + return file_RefreshBackgroundAvatarReq_proto_rawDescData +} + +var file_RefreshBackgroundAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RefreshBackgroundAvatarReq_proto_goTypes = []interface{}{ + (*RefreshBackgroundAvatarReq)(nil), // 0: RefreshBackgroundAvatarReq +} +var file_RefreshBackgroundAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RefreshBackgroundAvatarReq_proto_init() } +func file_RefreshBackgroundAvatarReq_proto_init() { + if File_RefreshBackgroundAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RefreshBackgroundAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshBackgroundAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RefreshBackgroundAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RefreshBackgroundAvatarReq_proto_goTypes, + DependencyIndexes: file_RefreshBackgroundAvatarReq_proto_depIdxs, + MessageInfos: file_RefreshBackgroundAvatarReq_proto_msgTypes, + }.Build() + File_RefreshBackgroundAvatarReq_proto = out.File + file_RefreshBackgroundAvatarReq_proto_rawDesc = nil + file_RefreshBackgroundAvatarReq_proto_goTypes = nil + file_RefreshBackgroundAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.proto b/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.proto new file mode 100644 index 00000000..391aecdc --- /dev/null +++ b/gate-hk4e-api/proto/RefreshBackgroundAvatarReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1743 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RefreshBackgroundAvatarReq {} diff --git a/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.pb.go b/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.pb.go new file mode 100644 index 00000000..09b7667f --- /dev/null +++ b/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RefreshBackgroundAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1800 +// EnetChannelId: 0 +// EnetIsReliable: true +type RefreshBackgroundAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HpFullTimeMap map[uint64]uint32 `protobuf:"bytes,15,rep,name=hp_full_time_map,json=hpFullTimeMap,proto3" json:"hp_full_time_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RefreshBackgroundAvatarRsp) Reset() { + *x = RefreshBackgroundAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RefreshBackgroundAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshBackgroundAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshBackgroundAvatarRsp) ProtoMessage() {} + +func (x *RefreshBackgroundAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_RefreshBackgroundAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshBackgroundAvatarRsp.ProtoReflect.Descriptor instead. +func (*RefreshBackgroundAvatarRsp) Descriptor() ([]byte, []int) { + return file_RefreshBackgroundAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RefreshBackgroundAvatarRsp) GetHpFullTimeMap() map[uint64]uint32 { + if x != nil { + return x.HpFullTimeMap + } + return nil +} + +func (x *RefreshBackgroundAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RefreshBackgroundAvatarRsp_proto protoreflect.FileDescriptor + +var file_RefreshBackgroundAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, + 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, + 0x70, 0x12, 0x57, 0x0a, 0x10, 0x68, 0x70, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x48, 0x70, 0x46, 0x75, 0x6c, 0x6c, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x68, 0x70, 0x46, + 0x75, 0x6c, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x40, 0x0a, 0x12, 0x48, 0x70, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x69, + 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RefreshBackgroundAvatarRsp_proto_rawDescOnce sync.Once + file_RefreshBackgroundAvatarRsp_proto_rawDescData = file_RefreshBackgroundAvatarRsp_proto_rawDesc +) + +func file_RefreshBackgroundAvatarRsp_proto_rawDescGZIP() []byte { + file_RefreshBackgroundAvatarRsp_proto_rawDescOnce.Do(func() { + file_RefreshBackgroundAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshBackgroundAvatarRsp_proto_rawDescData) + }) + return file_RefreshBackgroundAvatarRsp_proto_rawDescData +} + +var file_RefreshBackgroundAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_RefreshBackgroundAvatarRsp_proto_goTypes = []interface{}{ + (*RefreshBackgroundAvatarRsp)(nil), // 0: RefreshBackgroundAvatarRsp + nil, // 1: RefreshBackgroundAvatarRsp.HpFullTimeMapEntry +} +var file_RefreshBackgroundAvatarRsp_proto_depIdxs = []int32{ + 1, // 0: RefreshBackgroundAvatarRsp.hp_full_time_map:type_name -> RefreshBackgroundAvatarRsp.HpFullTimeMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RefreshBackgroundAvatarRsp_proto_init() } +func file_RefreshBackgroundAvatarRsp_proto_init() { + if File_RefreshBackgroundAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RefreshBackgroundAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshBackgroundAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RefreshBackgroundAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RefreshBackgroundAvatarRsp_proto_goTypes, + DependencyIndexes: file_RefreshBackgroundAvatarRsp_proto_depIdxs, + MessageInfos: file_RefreshBackgroundAvatarRsp_proto_msgTypes, + }.Build() + File_RefreshBackgroundAvatarRsp_proto = out.File + file_RefreshBackgroundAvatarRsp_proto_rawDesc = nil + file_RefreshBackgroundAvatarRsp_proto_goTypes = nil + file_RefreshBackgroundAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.proto b/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.proto new file mode 100644 index 00000000..da572aba --- /dev/null +++ b/gate-hk4e-api/proto/RefreshBackgroundAvatarRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1800 +// EnetChannelId: 0 +// EnetIsReliable: true +message RefreshBackgroundAvatarRsp { + map hp_full_time_map = 15; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.pb.go b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.pb.go new file mode 100644 index 00000000..c5db584f --- /dev/null +++ b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RefreshRoguelikeDungeonCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8279 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RefreshRoguelikeDungeonCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshRoguelikeDungeonCardReq) Reset() { + *x = RefreshRoguelikeDungeonCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RefreshRoguelikeDungeonCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshRoguelikeDungeonCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshRoguelikeDungeonCardReq) ProtoMessage() {} + +func (x *RefreshRoguelikeDungeonCardReq) ProtoReflect() protoreflect.Message { + mi := &file_RefreshRoguelikeDungeonCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshRoguelikeDungeonCardReq.ProtoReflect.Descriptor instead. +func (*RefreshRoguelikeDungeonCardReq) Descriptor() ([]byte, []int) { + return file_RefreshRoguelikeDungeonCardReq_proto_rawDescGZIP(), []int{0} +} + +var File_RefreshRoguelikeDungeonCardReq_proto protoreflect.FileDescriptor + +var file_RefreshRoguelikeDungeonCardReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RefreshRoguelikeDungeonCardReq_proto_rawDescOnce sync.Once + file_RefreshRoguelikeDungeonCardReq_proto_rawDescData = file_RefreshRoguelikeDungeonCardReq_proto_rawDesc +) + +func file_RefreshRoguelikeDungeonCardReq_proto_rawDescGZIP() []byte { + file_RefreshRoguelikeDungeonCardReq_proto_rawDescOnce.Do(func() { + file_RefreshRoguelikeDungeonCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshRoguelikeDungeonCardReq_proto_rawDescData) + }) + return file_RefreshRoguelikeDungeonCardReq_proto_rawDescData +} + +var file_RefreshRoguelikeDungeonCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RefreshRoguelikeDungeonCardReq_proto_goTypes = []interface{}{ + (*RefreshRoguelikeDungeonCardReq)(nil), // 0: RefreshRoguelikeDungeonCardReq +} +var file_RefreshRoguelikeDungeonCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RefreshRoguelikeDungeonCardReq_proto_init() } +func file_RefreshRoguelikeDungeonCardReq_proto_init() { + if File_RefreshRoguelikeDungeonCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RefreshRoguelikeDungeonCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshRoguelikeDungeonCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RefreshRoguelikeDungeonCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RefreshRoguelikeDungeonCardReq_proto_goTypes, + DependencyIndexes: file_RefreshRoguelikeDungeonCardReq_proto_depIdxs, + MessageInfos: file_RefreshRoguelikeDungeonCardReq_proto_msgTypes, + }.Build() + File_RefreshRoguelikeDungeonCardReq_proto = out.File + file_RefreshRoguelikeDungeonCardReq_proto_rawDesc = nil + file_RefreshRoguelikeDungeonCardReq_proto_goTypes = nil + file_RefreshRoguelikeDungeonCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.proto b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..10b27b6b --- /dev/null +++ b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8279 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RefreshRoguelikeDungeonCardReq {} diff --git a/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.pb.go b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.pb.go new file mode 100644 index 00000000..6c5a8154 --- /dev/null +++ b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RefreshRoguelikeDungeonCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8349 +// EnetChannelId: 0 +// EnetIsReliable: true +type RefreshRoguelikeDungeonCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + ResCardList []uint32 `protobuf:"varint,9,rep,packed,name=res_card_list,json=resCardList,proto3" json:"res_card_list,omitempty"` +} + +func (x *RefreshRoguelikeDungeonCardRsp) Reset() { + *x = RefreshRoguelikeDungeonCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RefreshRoguelikeDungeonCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshRoguelikeDungeonCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshRoguelikeDungeonCardRsp) ProtoMessage() {} + +func (x *RefreshRoguelikeDungeonCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_RefreshRoguelikeDungeonCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshRoguelikeDungeonCardRsp.ProtoReflect.Descriptor instead. +func (*RefreshRoguelikeDungeonCardRsp) Descriptor() ([]byte, []int) { + return file_RefreshRoguelikeDungeonCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RefreshRoguelikeDungeonCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RefreshRoguelikeDungeonCardRsp) GetResCardList() []uint32 { + if x != nil { + return x.ResCardList + } + return nil +} + +var File_RefreshRoguelikeDungeonCardRsp_proto protoreflect.FileDescriptor + +var file_RefreshRoguelikeDungeonCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x43, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RefreshRoguelikeDungeonCardRsp_proto_rawDescOnce sync.Once + file_RefreshRoguelikeDungeonCardRsp_proto_rawDescData = file_RefreshRoguelikeDungeonCardRsp_proto_rawDesc +) + +func file_RefreshRoguelikeDungeonCardRsp_proto_rawDescGZIP() []byte { + file_RefreshRoguelikeDungeonCardRsp_proto_rawDescOnce.Do(func() { + file_RefreshRoguelikeDungeonCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshRoguelikeDungeonCardRsp_proto_rawDescData) + }) + return file_RefreshRoguelikeDungeonCardRsp_proto_rawDescData +} + +var file_RefreshRoguelikeDungeonCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RefreshRoguelikeDungeonCardRsp_proto_goTypes = []interface{}{ + (*RefreshRoguelikeDungeonCardRsp)(nil), // 0: RefreshRoguelikeDungeonCardRsp +} +var file_RefreshRoguelikeDungeonCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RefreshRoguelikeDungeonCardRsp_proto_init() } +func file_RefreshRoguelikeDungeonCardRsp_proto_init() { + if File_RefreshRoguelikeDungeonCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RefreshRoguelikeDungeonCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefreshRoguelikeDungeonCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RefreshRoguelikeDungeonCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RefreshRoguelikeDungeonCardRsp_proto_goTypes, + DependencyIndexes: file_RefreshRoguelikeDungeonCardRsp_proto_depIdxs, + MessageInfos: file_RefreshRoguelikeDungeonCardRsp_proto_msgTypes, + }.Build() + File_RefreshRoguelikeDungeonCardRsp_proto = out.File + file_RefreshRoguelikeDungeonCardRsp_proto_rawDesc = nil + file_RefreshRoguelikeDungeonCardRsp_proto_goTypes = nil + file_RefreshRoguelikeDungeonCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.proto b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..c7060859 --- /dev/null +++ b/gate-hk4e-api/proto/RefreshRoguelikeDungeonCardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8349 +// EnetChannelId: 0 +// EnetIsReliable: true +message RefreshRoguelikeDungeonCardRsp { + int32 retcode = 3; + repeated uint32 res_card_list = 9; +} diff --git a/gate-hk4e-api/proto/RegionInfo.pb.go b/gate-hk4e-api/proto/RegionInfo.pb.go new file mode 100644 index 00000000..755c7df9 --- /dev/null +++ b/gate-hk4e-api/proto/RegionInfo.pb.go @@ -0,0 +1,456 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GateserverIp string `protobuf:"bytes,1,opt,name=gateserver_ip,json=gateserverIp,proto3" json:"gateserver_ip,omitempty"` + GateserverPort uint32 `protobuf:"varint,2,opt,name=gateserver_port,json=gateserverPort,proto3" json:"gateserver_port,omitempty"` + PayCallbackUrl string `protobuf:"bytes,3,opt,name=pay_callback_url,json=payCallbackUrl,proto3" json:"pay_callback_url,omitempty"` + AreaType string `protobuf:"bytes,7,opt,name=area_type,json=areaType,proto3" json:"area_type,omitempty"` + ResourceUrl string `protobuf:"bytes,8,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` + DataUrl string `protobuf:"bytes,9,opt,name=data_url,json=dataUrl,proto3" json:"data_url,omitempty"` + FeedbackUrl string `protobuf:"bytes,10,opt,name=feedback_url,json=feedbackUrl,proto3" json:"feedback_url,omitempty"` + BulletinUrl string `protobuf:"bytes,11,opt,name=bulletin_url,json=bulletinUrl,proto3" json:"bulletin_url,omitempty"` + ResourceUrlBak string `protobuf:"bytes,12,opt,name=resource_url_bak,json=resourceUrlBak,proto3" json:"resource_url_bak,omitempty"` + DataUrlBak string `protobuf:"bytes,13,opt,name=data_url_bak,json=dataUrlBak,proto3" json:"data_url_bak,omitempty"` + ClientDataVersion uint32 `protobuf:"varint,14,opt,name=client_data_version,json=clientDataVersion,proto3" json:"client_data_version,omitempty"` + HandbookUrl string `protobuf:"bytes,16,opt,name=handbook_url,json=handbookUrl,proto3" json:"handbook_url,omitempty"` + ClientSilenceDataVersion uint32 `protobuf:"varint,18,opt,name=client_silence_data_version,json=clientSilenceDataVersion,proto3" json:"client_silence_data_version,omitempty"` + ClientDataMd5 string `protobuf:"bytes,19,opt,name=client_data_md5,json=clientDataMd5,proto3" json:"client_data_md5,omitempty"` + ClientSilenceDataMd5 string `protobuf:"bytes,20,opt,name=client_silence_data_md5,json=clientSilenceDataMd5,proto3" json:"client_silence_data_md5,omitempty"` + ResVersionConfig *ResVersionConfig `protobuf:"bytes,22,opt,name=res_version_config,json=resVersionConfig,proto3" json:"res_version_config,omitempty"` + SecretKey []byte `protobuf:"bytes,23,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` + OfficialCommunityUrl string `protobuf:"bytes,24,opt,name=official_community_url,json=officialCommunityUrl,proto3" json:"official_community_url,omitempty"` + ClientVersionSuffix string `protobuf:"bytes,26,opt,name=client_version_suffix,json=clientVersionSuffix,proto3" json:"client_version_suffix,omitempty"` + ClientSilenceVersionSuffix string `protobuf:"bytes,27,opt,name=client_silence_version_suffix,json=clientSilenceVersionSuffix,proto3" json:"client_silence_version_suffix,omitempty"` + UseGateserverDomainName bool `protobuf:"varint,28,opt,name=use_gateserver_domain_name,json=useGateserverDomainName,proto3" json:"use_gateserver_domain_name,omitempty"` + GateserverDomainName string `protobuf:"bytes,29,opt,name=gateserver_domain_name,json=gateserverDomainName,proto3" json:"gateserver_domain_name,omitempty"` + UserCenterUrl string `protobuf:"bytes,30,opt,name=user_center_url,json=userCenterUrl,proto3" json:"user_center_url,omitempty"` + AccountBindUrl string `protobuf:"bytes,31,opt,name=account_bind_url,json=accountBindUrl,proto3" json:"account_bind_url,omitempty"` + CdkeyUrl string `protobuf:"bytes,32,opt,name=cdkey_url,json=cdkeyUrl,proto3" json:"cdkey_url,omitempty"` + PrivacyPolicyUrl string `protobuf:"bytes,33,opt,name=privacy_policy_url,json=privacyPolicyUrl,proto3" json:"privacy_policy_url,omitempty"` + NextResourceUrl string `protobuf:"bytes,34,opt,name=next_resource_url,json=nextResourceUrl,proto3" json:"next_resource_url,omitempty"` + NextResVersionConfig *ResVersionConfig `protobuf:"bytes,35,opt,name=next_res_version_config,json=nextResVersionConfig,proto3" json:"next_res_version_config,omitempty"` +} + +func (x *RegionInfo) Reset() { + *x = RegionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionInfo) ProtoMessage() {} + +func (x *RegionInfo) ProtoReflect() protoreflect.Message { + mi := &file_RegionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead. +func (*RegionInfo) Descriptor() ([]byte, []int) { + return file_RegionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionInfo) GetGateserverIp() string { + if x != nil { + return x.GateserverIp + } + return "" +} + +func (x *RegionInfo) GetGateserverPort() uint32 { + if x != nil { + return x.GateserverPort + } + return 0 +} + +func (x *RegionInfo) GetPayCallbackUrl() string { + if x != nil { + return x.PayCallbackUrl + } + return "" +} + +func (x *RegionInfo) GetAreaType() string { + if x != nil { + return x.AreaType + } + return "" +} + +func (x *RegionInfo) GetResourceUrl() string { + if x != nil { + return x.ResourceUrl + } + return "" +} + +func (x *RegionInfo) GetDataUrl() string { + if x != nil { + return x.DataUrl + } + return "" +} + +func (x *RegionInfo) GetFeedbackUrl() string { + if x != nil { + return x.FeedbackUrl + } + return "" +} + +func (x *RegionInfo) GetBulletinUrl() string { + if x != nil { + return x.BulletinUrl + } + return "" +} + +func (x *RegionInfo) GetResourceUrlBak() string { + if x != nil { + return x.ResourceUrlBak + } + return "" +} + +func (x *RegionInfo) GetDataUrlBak() string { + if x != nil { + return x.DataUrlBak + } + return "" +} + +func (x *RegionInfo) GetClientDataVersion() uint32 { + if x != nil { + return x.ClientDataVersion + } + return 0 +} + +func (x *RegionInfo) GetHandbookUrl() string { + if x != nil { + return x.HandbookUrl + } + return "" +} + +func (x *RegionInfo) GetClientSilenceDataVersion() uint32 { + if x != nil { + return x.ClientSilenceDataVersion + } + return 0 +} + +func (x *RegionInfo) GetClientDataMd5() string { + if x != nil { + return x.ClientDataMd5 + } + return "" +} + +func (x *RegionInfo) GetClientSilenceDataMd5() string { + if x != nil { + return x.ClientSilenceDataMd5 + } + return "" +} + +func (x *RegionInfo) GetResVersionConfig() *ResVersionConfig { + if x != nil { + return x.ResVersionConfig + } + return nil +} + +func (x *RegionInfo) GetSecretKey() []byte { + if x != nil { + return x.SecretKey + } + return nil +} + +func (x *RegionInfo) GetOfficialCommunityUrl() string { + if x != nil { + return x.OfficialCommunityUrl + } + return "" +} + +func (x *RegionInfo) GetClientVersionSuffix() string { + if x != nil { + return x.ClientVersionSuffix + } + return "" +} + +func (x *RegionInfo) GetClientSilenceVersionSuffix() string { + if x != nil { + return x.ClientSilenceVersionSuffix + } + return "" +} + +func (x *RegionInfo) GetUseGateserverDomainName() bool { + if x != nil { + return x.UseGateserverDomainName + } + return false +} + +func (x *RegionInfo) GetGateserverDomainName() string { + if x != nil { + return x.GateserverDomainName + } + return "" +} + +func (x *RegionInfo) GetUserCenterUrl() string { + if x != nil { + return x.UserCenterUrl + } + return "" +} + +func (x *RegionInfo) GetAccountBindUrl() string { + if x != nil { + return x.AccountBindUrl + } + return "" +} + +func (x *RegionInfo) GetCdkeyUrl() string { + if x != nil { + return x.CdkeyUrl + } + return "" +} + +func (x *RegionInfo) GetPrivacyPolicyUrl() string { + if x != nil { + return x.PrivacyPolicyUrl + } + return "" +} + +func (x *RegionInfo) GetNextResourceUrl() string { + if x != nil { + return x.NextResourceUrl + } + return "" +} + +func (x *RegionInfo) GetNextResVersionConfig() *ResVersionConfig { + if x != nil { + return x.NextResVersionConfig + } + return nil +} + +var File_RegionInfo_proto protoreflect.FileDescriptor + +var file_RegionInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x09, 0x0a, 0x0a, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x61, 0x74, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x12, 0x27, + 0x0a, 0x0f, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x61, 0x79, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x55, 0x72, + 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, + 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, + 0x66, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x66, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x12, + 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x55, + 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, + 0x72, 0x6c, 0x5f, 0x62, 0x61, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x42, 0x61, 0x6b, 0x12, 0x20, 0x0a, 0x0c, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x62, 0x61, 0x6b, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x55, 0x72, 0x6c, 0x42, 0x61, 0x6b, 0x12, 0x2e, + 0x0a, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, + 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x72, + 0x6c, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, + 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x6d, 0x64, 0x35, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x64, 0x35, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x6d, 0x64, 0x35, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x64, 0x35, 0x12, + 0x3f, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, + 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, + 0x72, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x17, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, + 0x34, 0x0a, 0x16, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, + 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x14, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, + 0x74, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x1a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x1a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x3b, 0x0a, 0x1a, + 0x75, 0x73, 0x65, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x17, 0x75, 0x73, 0x65, 0x47, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x67, 0x61, 0x74, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x67, 0x61, 0x74, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x75, + 0x72, 0x6c, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x43, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x1f, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x69, 0x6e, 0x64, 0x55, 0x72, + 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x64, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x20, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x64, 0x6b, 0x65, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x2c, + 0x0a, 0x12, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x2a, 0x0a, 0x11, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x48, 0x0a, 0x17, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x72, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x73, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x14, 0x6e, 0x65, + 0x78, 0x74, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RegionInfo_proto_rawDescOnce sync.Once + file_RegionInfo_proto_rawDescData = file_RegionInfo_proto_rawDesc +) + +func file_RegionInfo_proto_rawDescGZIP() []byte { + file_RegionInfo_proto_rawDescOnce.Do(func() { + file_RegionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionInfo_proto_rawDescData) + }) + return file_RegionInfo_proto_rawDescData +} + +var file_RegionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionInfo_proto_goTypes = []interface{}{ + (*RegionInfo)(nil), // 0: RegionInfo + (*ResVersionConfig)(nil), // 1: ResVersionConfig +} +var file_RegionInfo_proto_depIdxs = []int32{ + 1, // 0: RegionInfo.res_version_config:type_name -> ResVersionConfig + 1, // 1: RegionInfo.next_res_version_config:type_name -> ResVersionConfig + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RegionInfo_proto_init() } +func file_RegionInfo_proto_init() { + if File_RegionInfo_proto != nil { + return + } + file_ResVersionConfig_proto_init() + if !protoimpl.UnsafeEnabled { + file_RegionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionInfo_proto_goTypes, + DependencyIndexes: file_RegionInfo_proto_depIdxs, + MessageInfos: file_RegionInfo_proto_msgTypes, + }.Build() + File_RegionInfo_proto = out.File + file_RegionInfo_proto_rawDesc = nil + file_RegionInfo_proto_goTypes = nil + file_RegionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionInfo.proto b/gate-hk4e-api/proto/RegionInfo.proto new file mode 100644 index 00000000..4e23da87 --- /dev/null +++ b/gate-hk4e-api/proto/RegionInfo.proto @@ -0,0 +1,52 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ResVersionConfig.proto"; + +option go_package = "./;proto"; + +message RegionInfo { + string gateserver_ip = 1; + uint32 gateserver_port = 2; + string pay_callback_url = 3; + string area_type = 7; + string resource_url = 8; + string data_url = 9; + string feedback_url = 10; + string bulletin_url = 11; + string resource_url_bak = 12; + string data_url_bak = 13; + uint32 client_data_version = 14; + string handbook_url = 16; + uint32 client_silence_data_version = 18; + string client_data_md5 = 19; + string client_silence_data_md5 = 20; + ResVersionConfig res_version_config = 22; + bytes secret_key = 23; + string official_community_url = 24; + string client_version_suffix = 26; + string client_silence_version_suffix = 27; + bool use_gateserver_domain_name = 28; + string gateserver_domain_name = 29; + string user_center_url = 30; + string account_bind_url = 31; + string cdkey_url = 32; + string privacy_policy_url = 33; + string next_resource_url = 34; + ResVersionConfig next_res_version_config = 35; +} diff --git a/gate-hk4e-api/proto/RegionSearch.pb.go b/gate-hk4e-api/proto/RegionSearch.pb.go new file mode 100644 index 00000000..d3831fd5 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearch.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSearch.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionSearch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEntered bool `protobuf:"varint,13,opt,name=is_entered,json=isEntered,proto3" json:"is_entered,omitempty"` + Progress uint32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"` + State RegionSearchState `protobuf:"varint,2,opt,name=state,proto3,enum=RegionSearchState" json:"state,omitempty"` + RegionSearchId uint32 `protobuf:"varint,8,opt,name=region_search_id,json=regionSearchId,proto3" json:"region_search_id,omitempty"` +} + +func (x *RegionSearch) Reset() { + *x = RegionSearch{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionSearch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionSearch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionSearch) ProtoMessage() {} + +func (x *RegionSearch) ProtoReflect() protoreflect.Message { + mi := &file_RegionSearch_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionSearch.ProtoReflect.Descriptor instead. +func (*RegionSearch) Descriptor() ([]byte, []int) { + return file_RegionSearch_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionSearch) GetIsEntered() bool { + if x != nil { + return x.IsEntered + } + return false +} + +func (x *RegionSearch) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *RegionSearch) GetState() RegionSearchState { + if x != nil { + return x.State + } + return RegionSearchState_REGION_SEARCH_STATE_NONE +} + +func (x *RegionSearch) GetRegionSearchId() uint32 { + if x != nil { + return x.RegionSearchId + } + return 0 +} + +var File_RegionSearch_proto protoreflect.FileDescriptor + +var file_RegionSearch_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, + 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x1d, + 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_RegionSearch_proto_rawDescOnce sync.Once + file_RegionSearch_proto_rawDescData = file_RegionSearch_proto_rawDesc +) + +func file_RegionSearch_proto_rawDescGZIP() []byte { + file_RegionSearch_proto_rawDescOnce.Do(func() { + file_RegionSearch_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSearch_proto_rawDescData) + }) + return file_RegionSearch_proto_rawDescData +} + +var file_RegionSearch_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionSearch_proto_goTypes = []interface{}{ + (*RegionSearch)(nil), // 0: RegionSearch + (RegionSearchState)(0), // 1: RegionSearchState +} +var file_RegionSearch_proto_depIdxs = []int32{ + 1, // 0: RegionSearch.state:type_name -> RegionSearchState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RegionSearch_proto_init() } +func file_RegionSearch_proto_init() { + if File_RegionSearch_proto != nil { + return + } + file_RegionSearchState_proto_init() + if !protoimpl.UnsafeEnabled { + file_RegionSearch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSearch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSearch_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSearch_proto_goTypes, + DependencyIndexes: file_RegionSearch_proto_depIdxs, + MessageInfos: file_RegionSearch_proto_msgTypes, + }.Build() + File_RegionSearch_proto = out.File + file_RegionSearch_proto_rawDesc = nil + file_RegionSearch_proto_goTypes = nil + file_RegionSearch_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSearch.proto b/gate-hk4e-api/proto/RegionSearch.proto new file mode 100644 index 00000000..59a2d7c7 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearch.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RegionSearchState.proto"; + +option go_package = "./;proto"; + +message RegionSearch { + bool is_entered = 13; + uint32 progress = 5; + RegionSearchState state = 2; + uint32 region_search_id = 8; +} diff --git a/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.pb.go b/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.pb.go new file mode 100644 index 00000000..d620c91b --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSearchChangeRegionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionSearchChangeRegionNotify_RegionEvent int32 + +const ( + RegionSearchChangeRegionNotify_REGION_EVENT_NONE RegionSearchChangeRegionNotify_RegionEvent = 0 + RegionSearchChangeRegionNotify_REGION_EVENT_ENTER RegionSearchChangeRegionNotify_RegionEvent = 1 + RegionSearchChangeRegionNotify_REGION_EVENT_LEAVE RegionSearchChangeRegionNotify_RegionEvent = 2 +) + +// Enum value maps for RegionSearchChangeRegionNotify_RegionEvent. +var ( + RegionSearchChangeRegionNotify_RegionEvent_name = map[int32]string{ + 0: "REGION_EVENT_NONE", + 1: "REGION_EVENT_ENTER", + 2: "REGION_EVENT_LEAVE", + } + RegionSearchChangeRegionNotify_RegionEvent_value = map[string]int32{ + "REGION_EVENT_NONE": 0, + "REGION_EVENT_ENTER": 1, + "REGION_EVENT_LEAVE": 2, + } +) + +func (x RegionSearchChangeRegionNotify_RegionEvent) Enum() *RegionSearchChangeRegionNotify_RegionEvent { + p := new(RegionSearchChangeRegionNotify_RegionEvent) + *p = x + return p +} + +func (x RegionSearchChangeRegionNotify_RegionEvent) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RegionSearchChangeRegionNotify_RegionEvent) Descriptor() protoreflect.EnumDescriptor { + return file_RegionSearchChangeRegionNotify_proto_enumTypes[0].Descriptor() +} + +func (RegionSearchChangeRegionNotify_RegionEvent) Type() protoreflect.EnumType { + return &file_RegionSearchChangeRegionNotify_proto_enumTypes[0] +} + +func (x RegionSearchChangeRegionNotify_RegionEvent) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RegionSearchChangeRegionNotify_RegionEvent.Descriptor instead. +func (RegionSearchChangeRegionNotify_RegionEvent) EnumDescriptor() ([]byte, []int) { + return file_RegionSearchChangeRegionNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 5618 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RegionSearchChangeRegionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event RegionSearchChangeRegionNotify_RegionEvent `protobuf:"varint,1,opt,name=event,proto3,enum=RegionSearchChangeRegionNotify_RegionEvent" json:"event,omitempty"` + RegionId uint32 `protobuf:"varint,10,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` +} + +func (x *RegionSearchChangeRegionNotify) Reset() { + *x = RegionSearchChangeRegionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionSearchChangeRegionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionSearchChangeRegionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionSearchChangeRegionNotify) ProtoMessage() {} + +func (x *RegionSearchChangeRegionNotify) ProtoReflect() protoreflect.Message { + mi := &file_RegionSearchChangeRegionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionSearchChangeRegionNotify.ProtoReflect.Descriptor instead. +func (*RegionSearchChangeRegionNotify) Descriptor() ([]byte, []int) { + return file_RegionSearchChangeRegionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionSearchChangeRegionNotify) GetEvent() RegionSearchChangeRegionNotify_RegionEvent { + if x != nil { + return x.Event + } + return RegionSearchChangeRegionNotify_REGION_EVENT_NONE +} + +func (x *RegionSearchChangeRegionNotify) GetRegionId() uint32 { + if x != nil { + return x.RegionId + } + return 0 +} + +var File_RegionSearchChangeRegionNotify_proto protoreflect.FileDescriptor + +var file_RegionSearchChangeRegionNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x0b, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x47, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, + 0x16, 0x0a, 0x12, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, + 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x47, 0x49, 0x4f, + 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x02, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RegionSearchChangeRegionNotify_proto_rawDescOnce sync.Once + file_RegionSearchChangeRegionNotify_proto_rawDescData = file_RegionSearchChangeRegionNotify_proto_rawDesc +) + +func file_RegionSearchChangeRegionNotify_proto_rawDescGZIP() []byte { + file_RegionSearchChangeRegionNotify_proto_rawDescOnce.Do(func() { + file_RegionSearchChangeRegionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSearchChangeRegionNotify_proto_rawDescData) + }) + return file_RegionSearchChangeRegionNotify_proto_rawDescData +} + +var file_RegionSearchChangeRegionNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_RegionSearchChangeRegionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionSearchChangeRegionNotify_proto_goTypes = []interface{}{ + (RegionSearchChangeRegionNotify_RegionEvent)(0), // 0: RegionSearchChangeRegionNotify.RegionEvent + (*RegionSearchChangeRegionNotify)(nil), // 1: RegionSearchChangeRegionNotify +} +var file_RegionSearchChangeRegionNotify_proto_depIdxs = []int32{ + 0, // 0: RegionSearchChangeRegionNotify.event:type_name -> RegionSearchChangeRegionNotify.RegionEvent + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RegionSearchChangeRegionNotify_proto_init() } +func file_RegionSearchChangeRegionNotify_proto_init() { + if File_RegionSearchChangeRegionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RegionSearchChangeRegionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSearchChangeRegionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSearchChangeRegionNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSearchChangeRegionNotify_proto_goTypes, + DependencyIndexes: file_RegionSearchChangeRegionNotify_proto_depIdxs, + EnumInfos: file_RegionSearchChangeRegionNotify_proto_enumTypes, + MessageInfos: file_RegionSearchChangeRegionNotify_proto_msgTypes, + }.Build() + File_RegionSearchChangeRegionNotify_proto = out.File + file_RegionSearchChangeRegionNotify_proto_rawDesc = nil + file_RegionSearchChangeRegionNotify_proto_goTypes = nil + file_RegionSearchChangeRegionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.proto b/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.proto new file mode 100644 index 00000000..bcc84e22 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchChangeRegionNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5618 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RegionSearchChangeRegionNotify { + RegionEvent event = 1; + uint32 region_id = 10; + + enum RegionEvent { + REGION_EVENT_NONE = 0; + REGION_EVENT_ENTER = 1; + REGION_EVENT_LEAVE = 2; + } +} diff --git a/gate-hk4e-api/proto/RegionSearchInfo.pb.go b/gate-hk4e-api/proto/RegionSearchInfo.pb.go new file mode 100644 index 00000000..7a198cd5 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchInfo.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSearchInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionSearchInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + RegionSearchList []*RegionSearch `protobuf:"bytes,1,rep,name=region_search_list,json=regionSearchList,proto3" json:"region_search_list,omitempty"` + IsEntered bool `protobuf:"varint,7,opt,name=is_entered,json=isEntered,proto3" json:"is_entered,omitempty"` +} + +func (x *RegionSearchInfo) Reset() { + *x = RegionSearchInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionSearchInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionSearchInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionSearchInfo) ProtoMessage() {} + +func (x *RegionSearchInfo) ProtoReflect() protoreflect.Message { + mi := &file_RegionSearchInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionSearchInfo.ProtoReflect.Descriptor instead. +func (*RegionSearchInfo) Descriptor() ([]byte, []int) { + return file_RegionSearchInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionSearchInfo) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *RegionSearchInfo) GetRegionSearchList() []*RegionSearch { + if x != nil { + return x.RegionSearchList + } + return nil +} + +func (x *RegionSearchInfo) GetIsEntered() bool { + if x != nil { + return x.IsEntered + } + return false +} + +var File_RegionSearchInfo_proto protoreflect.FileDescriptor + +var file_RegionSearchInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x10, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x3b, 0x0a, 0x12, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x10, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RegionSearchInfo_proto_rawDescOnce sync.Once + file_RegionSearchInfo_proto_rawDescData = file_RegionSearchInfo_proto_rawDesc +) + +func file_RegionSearchInfo_proto_rawDescGZIP() []byte { + file_RegionSearchInfo_proto_rawDescOnce.Do(func() { + file_RegionSearchInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSearchInfo_proto_rawDescData) + }) + return file_RegionSearchInfo_proto_rawDescData +} + +var file_RegionSearchInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionSearchInfo_proto_goTypes = []interface{}{ + (*RegionSearchInfo)(nil), // 0: RegionSearchInfo + (*RegionSearch)(nil), // 1: RegionSearch +} +var file_RegionSearchInfo_proto_depIdxs = []int32{ + 1, // 0: RegionSearchInfo.region_search_list:type_name -> RegionSearch + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RegionSearchInfo_proto_init() } +func file_RegionSearchInfo_proto_init() { + if File_RegionSearchInfo_proto != nil { + return + } + file_RegionSearch_proto_init() + if !protoimpl.UnsafeEnabled { + file_RegionSearchInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSearchInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSearchInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSearchInfo_proto_goTypes, + DependencyIndexes: file_RegionSearchInfo_proto_depIdxs, + MessageInfos: file_RegionSearchInfo_proto_msgTypes, + }.Build() + File_RegionSearchInfo_proto = out.File + file_RegionSearchInfo_proto_rawDesc = nil + file_RegionSearchInfo_proto_goTypes = nil + file_RegionSearchInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSearchInfo.proto b/gate-hk4e-api/proto/RegionSearchInfo.proto new file mode 100644 index 00000000..b84d5775 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RegionSearch.proto"; + +option go_package = "./;proto"; + +message RegionSearchInfo { + uint32 id = 5; + repeated RegionSearch region_search_list = 1; + bool is_entered = 7; +} diff --git a/gate-hk4e-api/proto/RegionSearchNotify.pb.go b/gate-hk4e-api/proto/RegionSearchNotify.pb.go new file mode 100644 index 00000000..f1428662 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSearchNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5626 +// EnetChannelId: 0 +// EnetIsReliable: true +type RegionSearchNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegionSearchList []*RegionSearchInfo `protobuf:"bytes,1,rep,name=region_search_list,json=regionSearchList,proto3" json:"region_search_list,omitempty"` + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *RegionSearchNotify) Reset() { + *x = RegionSearchNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionSearchNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionSearchNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionSearchNotify) ProtoMessage() {} + +func (x *RegionSearchNotify) ProtoReflect() protoreflect.Message { + mi := &file_RegionSearchNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionSearchNotify.ProtoReflect.Descriptor instead. +func (*RegionSearchNotify) Descriptor() ([]byte, []int) { + return file_RegionSearchNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionSearchNotify) GetRegionSearchList() []*RegionSearchInfo { + if x != nil { + return x.RegionSearchList + } + return nil +} + +func (x *RegionSearchNotify) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_RegionSearchNotify_proto protoreflect.FileDescriptor + +var file_RegionSearchNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3f, 0x0a, 0x12, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RegionSearchNotify_proto_rawDescOnce sync.Once + file_RegionSearchNotify_proto_rawDescData = file_RegionSearchNotify_proto_rawDesc +) + +func file_RegionSearchNotify_proto_rawDescGZIP() []byte { + file_RegionSearchNotify_proto_rawDescOnce.Do(func() { + file_RegionSearchNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSearchNotify_proto_rawDescData) + }) + return file_RegionSearchNotify_proto_rawDescData +} + +var file_RegionSearchNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionSearchNotify_proto_goTypes = []interface{}{ + (*RegionSearchNotify)(nil), // 0: RegionSearchNotify + (*RegionSearchInfo)(nil), // 1: RegionSearchInfo +} +var file_RegionSearchNotify_proto_depIdxs = []int32{ + 1, // 0: RegionSearchNotify.region_search_list:type_name -> RegionSearchInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RegionSearchNotify_proto_init() } +func file_RegionSearchNotify_proto_init() { + if File_RegionSearchNotify_proto != nil { + return + } + file_RegionSearchInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_RegionSearchNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSearchNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSearchNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSearchNotify_proto_goTypes, + DependencyIndexes: file_RegionSearchNotify_proto_depIdxs, + MessageInfos: file_RegionSearchNotify_proto_msgTypes, + }.Build() + File_RegionSearchNotify_proto = out.File + file_RegionSearchNotify_proto_rawDesc = nil + file_RegionSearchNotify_proto_goTypes = nil + file_RegionSearchNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSearchNotify.proto b/gate-hk4e-api/proto/RegionSearchNotify.proto new file mode 100644 index 00000000..e442c1e6 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RegionSearchInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5626 +// EnetChannelId: 0 +// EnetIsReliable: true +message RegionSearchNotify { + repeated RegionSearchInfo region_search_list = 1; + uint32 uid = 8; +} diff --git a/gate-hk4e-api/proto/RegionSearchState.pb.go b/gate-hk4e-api/proto/RegionSearchState.pb.go new file mode 100644 index 00000000..032ad360 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchState.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSearchState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionSearchState int32 + +const ( + RegionSearchState_REGION_SEARCH_STATE_NONE RegionSearchState = 0 + RegionSearchState_REGION_SEARCH_STATE_UNSTARTED RegionSearchState = 1 + RegionSearchState_REGION_SEARCH_STATE_STARTED RegionSearchState = 2 + RegionSearchState_REGION_SEARCH_STATE_WAIT_REWARD RegionSearchState = 3 + RegionSearchState_REGION_SEARCH_STATE_FINISHED RegionSearchState = 4 +) + +// Enum value maps for RegionSearchState. +var ( + RegionSearchState_name = map[int32]string{ + 0: "REGION_SEARCH_STATE_NONE", + 1: "REGION_SEARCH_STATE_UNSTARTED", + 2: "REGION_SEARCH_STATE_STARTED", + 3: "REGION_SEARCH_STATE_WAIT_REWARD", + 4: "REGION_SEARCH_STATE_FINISHED", + } + RegionSearchState_value = map[string]int32{ + "REGION_SEARCH_STATE_NONE": 0, + "REGION_SEARCH_STATE_UNSTARTED": 1, + "REGION_SEARCH_STATE_STARTED": 2, + "REGION_SEARCH_STATE_WAIT_REWARD": 3, + "REGION_SEARCH_STATE_FINISHED": 4, + } +) + +func (x RegionSearchState) Enum() *RegionSearchState { + p := new(RegionSearchState) + *p = x + return p +} + +func (x RegionSearchState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RegionSearchState) Descriptor() protoreflect.EnumDescriptor { + return file_RegionSearchState_proto_enumTypes[0].Descriptor() +} + +func (RegionSearchState) Type() protoreflect.EnumType { + return &file_RegionSearchState_proto_enumTypes[0] +} + +func (x RegionSearchState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RegionSearchState.Descriptor instead. +func (RegionSearchState) EnumDescriptor() ([]byte, []int) { + return file_RegionSearchState_proto_rawDescGZIP(), []int{0} +} + +var File_RegionSearchState_proto protoreflect.FileDescriptor + +var file_RegionSearchState_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xbc, 0x01, 0x0a, 0x11, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, + 0x1d, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, + 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x02, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, 0x52, + 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x52, 0x45, + 0x57, 0x41, 0x52, 0x44, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, + 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, + 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RegionSearchState_proto_rawDescOnce sync.Once + file_RegionSearchState_proto_rawDescData = file_RegionSearchState_proto_rawDesc +) + +func file_RegionSearchState_proto_rawDescGZIP() []byte { + file_RegionSearchState_proto_rawDescOnce.Do(func() { + file_RegionSearchState_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSearchState_proto_rawDescData) + }) + return file_RegionSearchState_proto_rawDescData +} + +var file_RegionSearchState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_RegionSearchState_proto_goTypes = []interface{}{ + (RegionSearchState)(0), // 0: RegionSearchState +} +var file_RegionSearchState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RegionSearchState_proto_init() } +func file_RegionSearchState_proto_init() { + if File_RegionSearchState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSearchState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSearchState_proto_goTypes, + DependencyIndexes: file_RegionSearchState_proto_depIdxs, + EnumInfos: file_RegionSearchState_proto_enumTypes, + }.Build() + File_RegionSearchState_proto = out.File + file_RegionSearchState_proto_rawDesc = nil + file_RegionSearchState_proto_goTypes = nil + file_RegionSearchState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSearchState.proto b/gate-hk4e-api/proto/RegionSearchState.proto new file mode 100644 index 00000000..8ccacf28 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSearchState.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum RegionSearchState { + REGION_SEARCH_STATE_NONE = 0; + REGION_SEARCH_STATE_UNSTARTED = 1; + REGION_SEARCH_STATE_STARTED = 2; + REGION_SEARCH_STATE_WAIT_REWARD = 3; + REGION_SEARCH_STATE_FINISHED = 4; +} diff --git a/gate-hk4e-api/proto/RegionSimpleInfo.pb.go b/gate-hk4e-api/proto/RegionSimpleInfo.pb.go new file mode 100644 index 00000000..39e2036c --- /dev/null +++ b/gate-hk4e-api/proto/RegionSimpleInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RegionSimpleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RegionSimpleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + DispatchUrl string `protobuf:"bytes,4,opt,name=dispatch_url,json=dispatchUrl,proto3" json:"dispatch_url,omitempty"` +} + +func (x *RegionSimpleInfo) Reset() { + *x = RegionSimpleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RegionSimpleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegionSimpleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegionSimpleInfo) ProtoMessage() {} + +func (x *RegionSimpleInfo) ProtoReflect() protoreflect.Message { + mi := &file_RegionSimpleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegionSimpleInfo.ProtoReflect.Descriptor instead. +func (*RegionSimpleInfo) Descriptor() ([]byte, []int) { + return file_RegionSimpleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RegionSimpleInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *RegionSimpleInfo) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *RegionSimpleInfo) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *RegionSimpleInfo) GetDispatchUrl() string { + if x != nil { + return x.DispatchUrl + } + return "" +} + +var File_RegionSimpleInfo_proto protoreflect.FileDescriptor + +var file_RegionSimpleInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x55, 0x72, 0x6c, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_RegionSimpleInfo_proto_rawDescOnce sync.Once + file_RegionSimpleInfo_proto_rawDescData = file_RegionSimpleInfo_proto_rawDesc +) + +func file_RegionSimpleInfo_proto_rawDescGZIP() []byte { + file_RegionSimpleInfo_proto_rawDescOnce.Do(func() { + file_RegionSimpleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RegionSimpleInfo_proto_rawDescData) + }) + return file_RegionSimpleInfo_proto_rawDescData +} + +var file_RegionSimpleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RegionSimpleInfo_proto_goTypes = []interface{}{ + (*RegionSimpleInfo)(nil), // 0: RegionSimpleInfo +} +var file_RegionSimpleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RegionSimpleInfo_proto_init() } +func file_RegionSimpleInfo_proto_init() { + if File_RegionSimpleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RegionSimpleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSimpleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RegionSimpleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RegionSimpleInfo_proto_goTypes, + DependencyIndexes: file_RegionSimpleInfo_proto_depIdxs, + MessageInfos: file_RegionSimpleInfo_proto_msgTypes, + }.Build() + File_RegionSimpleInfo_proto = out.File + file_RegionSimpleInfo_proto_rawDesc = nil + file_RegionSimpleInfo_proto_goTypes = nil + file_RegionSimpleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RegionSimpleInfo.proto b/gate-hk4e-api/proto/RegionSimpleInfo.proto new file mode 100644 index 00000000..a604d905 --- /dev/null +++ b/gate-hk4e-api/proto/RegionSimpleInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RegionSimpleInfo { + string name = 1; + string title = 2; + string type = 3; + string dispatch_url = 4; +} diff --git a/gate-hk4e-api/proto/Reliquary.pb.go b/gate-hk4e-api/proto/Reliquary.pb.go new file mode 100644 index 00000000..00cad926 --- /dev/null +++ b/gate-hk4e-api/proto/Reliquary.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Reliquary.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Reliquary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` + Exp uint32 `protobuf:"varint,2,opt,name=exp,proto3" json:"exp,omitempty"` + PromoteLevel uint32 `protobuf:"varint,3,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` + MainPropId uint32 `protobuf:"varint,4,opt,name=main_prop_id,json=mainPropId,proto3" json:"main_prop_id,omitempty"` + AppendPropIdList []uint32 `protobuf:"varint,5,rep,packed,name=append_prop_id_list,json=appendPropIdList,proto3" json:"append_prop_id_list,omitempty"` +} + +func (x *Reliquary) Reset() { + *x = Reliquary{} + if protoimpl.UnsafeEnabled { + mi := &file_Reliquary_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Reliquary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Reliquary) ProtoMessage() {} + +func (x *Reliquary) ProtoReflect() protoreflect.Message { + mi := &file_Reliquary_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Reliquary.ProtoReflect.Descriptor instead. +func (*Reliquary) Descriptor() ([]byte, []int) { + return file_Reliquary_proto_rawDescGZIP(), []int{0} +} + +func (x *Reliquary) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *Reliquary) GetExp() uint32 { + if x != nil { + return x.Exp + } + return 0 +} + +func (x *Reliquary) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +func (x *Reliquary) GetMainPropId() uint32 { + if x != nil { + return x.MainPropId + } + return 0 +} + +func (x *Reliquary) GetAppendPropIdList() []uint32 { + if x != nil { + return x.AppendPropIdList + } + return nil +} + +var File_Reliquary_proto protoreflect.FileDescriptor + +var file_Reliquary_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0c, + 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x2d, + 0x0a, 0x13, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x61, 0x70, 0x70, + 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Reliquary_proto_rawDescOnce sync.Once + file_Reliquary_proto_rawDescData = file_Reliquary_proto_rawDesc +) + +func file_Reliquary_proto_rawDescGZIP() []byte { + file_Reliquary_proto_rawDescOnce.Do(func() { + file_Reliquary_proto_rawDescData = protoimpl.X.CompressGZIP(file_Reliquary_proto_rawDescData) + }) + return file_Reliquary_proto_rawDescData +} + +var file_Reliquary_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Reliquary_proto_goTypes = []interface{}{ + (*Reliquary)(nil), // 0: Reliquary +} +var file_Reliquary_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Reliquary_proto_init() } +func file_Reliquary_proto_init() { + if File_Reliquary_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Reliquary_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reliquary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Reliquary_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Reliquary_proto_goTypes, + DependencyIndexes: file_Reliquary_proto_depIdxs, + MessageInfos: file_Reliquary_proto_msgTypes, + }.Build() + File_Reliquary_proto = out.File + file_Reliquary_proto_rawDesc = nil + file_Reliquary_proto_goTypes = nil + file_Reliquary_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Reliquary.proto b/gate-hk4e-api/proto/Reliquary.proto new file mode 100644 index 00000000..92b056ec --- /dev/null +++ b/gate-hk4e-api/proto/Reliquary.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Reliquary { + uint32 level = 1; + uint32 exp = 2; + uint32 promote_level = 3; + uint32 main_prop_id = 4; + repeated uint32 append_prop_id_list = 5; +} diff --git a/gate-hk4e-api/proto/ReliquaryDecomposeReq.pb.go b/gate-hk4e-api/proto/ReliquaryDecomposeReq.pb.go new file mode 100644 index 00000000..70040c27 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryDecomposeReq.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryDecomposeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 638 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReliquaryDecomposeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigId uint32 `protobuf:"varint,13,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + TargetCount uint32 `protobuf:"varint,9,opt,name=target_count,json=targetCount,proto3" json:"target_count,omitempty"` + GuidList []uint64 `protobuf:"varint,8,rep,packed,name=guid_list,json=guidList,proto3" json:"guid_list,omitempty"` +} + +func (x *ReliquaryDecomposeReq) Reset() { + *x = ReliquaryDecomposeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryDecomposeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryDecomposeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryDecomposeReq) ProtoMessage() {} + +func (x *ReliquaryDecomposeReq) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryDecomposeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryDecomposeReq.ProtoReflect.Descriptor instead. +func (*ReliquaryDecomposeReq) Descriptor() ([]byte, []int) { + return file_ReliquaryDecomposeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryDecomposeReq) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *ReliquaryDecomposeReq) GetTargetCount() uint32 { + if x != nil { + return x.TargetCount + } + return 0 +} + +func (x *ReliquaryDecomposeReq) GetGuidList() []uint64 { + if x != nil { + return x.GuidList + } + return nil +} + +var File_ReliquaryDecomposeReq_proto protoreflect.FileDescriptor + +var file_ReliquaryDecomposeReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x44, 0x65, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, + 0x15, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x44, 0x65, 0x63, 0x6f, 0x6d, 0x70, + 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x67, 0x75, 0x69, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryDecomposeReq_proto_rawDescOnce sync.Once + file_ReliquaryDecomposeReq_proto_rawDescData = file_ReliquaryDecomposeReq_proto_rawDesc +) + +func file_ReliquaryDecomposeReq_proto_rawDescGZIP() []byte { + file_ReliquaryDecomposeReq_proto_rawDescOnce.Do(func() { + file_ReliquaryDecomposeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryDecomposeReq_proto_rawDescData) + }) + return file_ReliquaryDecomposeReq_proto_rawDescData +} + +var file_ReliquaryDecomposeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryDecomposeReq_proto_goTypes = []interface{}{ + (*ReliquaryDecomposeReq)(nil), // 0: ReliquaryDecomposeReq +} +var file_ReliquaryDecomposeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryDecomposeReq_proto_init() } +func file_ReliquaryDecomposeReq_proto_init() { + if File_ReliquaryDecomposeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryDecomposeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryDecomposeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryDecomposeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryDecomposeReq_proto_goTypes, + DependencyIndexes: file_ReliquaryDecomposeReq_proto_depIdxs, + MessageInfos: file_ReliquaryDecomposeReq_proto_msgTypes, + }.Build() + File_ReliquaryDecomposeReq_proto = out.File + file_ReliquaryDecomposeReq_proto_rawDesc = nil + file_ReliquaryDecomposeReq_proto_goTypes = nil + file_ReliquaryDecomposeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryDecomposeReq.proto b/gate-hk4e-api/proto/ReliquaryDecomposeReq.proto new file mode 100644 index 00000000..88af84a4 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryDecomposeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 638 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReliquaryDecomposeReq { + uint32 config_id = 13; + uint32 target_count = 9; + repeated uint64 guid_list = 8; +} diff --git a/gate-hk4e-api/proto/ReliquaryDecomposeRsp.pb.go b/gate-hk4e-api/proto/ReliquaryDecomposeRsp.pb.go new file mode 100644 index 00000000..12448551 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryDecomposeRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryDecomposeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 611 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReliquaryDecomposeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + GuidList []uint64 `protobuf:"varint,14,rep,packed,name=guid_list,json=guidList,proto3" json:"guid_list,omitempty"` +} + +func (x *ReliquaryDecomposeRsp) Reset() { + *x = ReliquaryDecomposeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryDecomposeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryDecomposeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryDecomposeRsp) ProtoMessage() {} + +func (x *ReliquaryDecomposeRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryDecomposeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryDecomposeRsp.ProtoReflect.Descriptor instead. +func (*ReliquaryDecomposeRsp) Descriptor() ([]byte, []int) { + return file_ReliquaryDecomposeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryDecomposeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ReliquaryDecomposeRsp) GetGuidList() []uint64 { + if x != nil { + return x.GuidList + } + return nil +} + +var File_ReliquaryDecomposeRsp_proto protoreflect.FileDescriptor + +var file_ReliquaryDecomposeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x44, 0x65, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x73, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, + 0x15, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x44, 0x65, 0x63, 0x6f, 0x6d, 0x70, + 0x6f, 0x73, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x04, 0x52, 0x08, 0x67, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ReliquaryDecomposeRsp_proto_rawDescOnce sync.Once + file_ReliquaryDecomposeRsp_proto_rawDescData = file_ReliquaryDecomposeRsp_proto_rawDesc +) + +func file_ReliquaryDecomposeRsp_proto_rawDescGZIP() []byte { + file_ReliquaryDecomposeRsp_proto_rawDescOnce.Do(func() { + file_ReliquaryDecomposeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryDecomposeRsp_proto_rawDescData) + }) + return file_ReliquaryDecomposeRsp_proto_rawDescData +} + +var file_ReliquaryDecomposeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryDecomposeRsp_proto_goTypes = []interface{}{ + (*ReliquaryDecomposeRsp)(nil), // 0: ReliquaryDecomposeRsp +} +var file_ReliquaryDecomposeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryDecomposeRsp_proto_init() } +func file_ReliquaryDecomposeRsp_proto_init() { + if File_ReliquaryDecomposeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryDecomposeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryDecomposeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryDecomposeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryDecomposeRsp_proto_goTypes, + DependencyIndexes: file_ReliquaryDecomposeRsp_proto_depIdxs, + MessageInfos: file_ReliquaryDecomposeRsp_proto_msgTypes, + }.Build() + File_ReliquaryDecomposeRsp_proto = out.File + file_ReliquaryDecomposeRsp_proto_rawDesc = nil + file_ReliquaryDecomposeRsp_proto_goTypes = nil + file_ReliquaryDecomposeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryDecomposeRsp.proto b/gate-hk4e-api/proto/ReliquaryDecomposeRsp.proto new file mode 100644 index 00000000..20dd61b2 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryDecomposeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 611 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReliquaryDecomposeRsp { + int32 retcode = 3; + repeated uint64 guid_list = 14; +} diff --git a/gate-hk4e-api/proto/ReliquaryPromoteReq.pb.go b/gate-hk4e-api/proto/ReliquaryPromoteReq.pb.go new file mode 100644 index 00000000..7bfe416c --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryPromoteReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryPromoteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 627 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReliquaryPromoteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemGuid uint64 `protobuf:"varint,10,opt,name=item_guid,json=itemGuid,proto3" json:"item_guid,omitempty"` + TargetGuid uint64 `protobuf:"varint,13,opt,name=target_guid,json=targetGuid,proto3" json:"target_guid,omitempty"` +} + +func (x *ReliquaryPromoteReq) Reset() { + *x = ReliquaryPromoteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryPromoteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryPromoteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryPromoteReq) ProtoMessage() {} + +func (x *ReliquaryPromoteReq) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryPromoteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryPromoteReq.ProtoReflect.Descriptor instead. +func (*ReliquaryPromoteReq) Descriptor() ([]byte, []int) { + return file_ReliquaryPromoteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryPromoteReq) GetItemGuid() uint64 { + if x != nil { + return x.ItemGuid + } + return 0 +} + +func (x *ReliquaryPromoteReq) GetTargetGuid() uint64 { + if x != nil { + return x.TargetGuid + } + return 0 +} + +var File_ReliquaryPromoteReq_proto protoreflect.FileDescriptor + +var file_ReliquaryPromoteReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x52, + 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x47, 0x75, 0x69, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryPromoteReq_proto_rawDescOnce sync.Once + file_ReliquaryPromoteReq_proto_rawDescData = file_ReliquaryPromoteReq_proto_rawDesc +) + +func file_ReliquaryPromoteReq_proto_rawDescGZIP() []byte { + file_ReliquaryPromoteReq_proto_rawDescOnce.Do(func() { + file_ReliquaryPromoteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryPromoteReq_proto_rawDescData) + }) + return file_ReliquaryPromoteReq_proto_rawDescData +} + +var file_ReliquaryPromoteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryPromoteReq_proto_goTypes = []interface{}{ + (*ReliquaryPromoteReq)(nil), // 0: ReliquaryPromoteReq +} +var file_ReliquaryPromoteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryPromoteReq_proto_init() } +func file_ReliquaryPromoteReq_proto_init() { + if File_ReliquaryPromoteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryPromoteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryPromoteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryPromoteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryPromoteReq_proto_goTypes, + DependencyIndexes: file_ReliquaryPromoteReq_proto_depIdxs, + MessageInfos: file_ReliquaryPromoteReq_proto_msgTypes, + }.Build() + File_ReliquaryPromoteReq_proto = out.File + file_ReliquaryPromoteReq_proto_rawDesc = nil + file_ReliquaryPromoteReq_proto_goTypes = nil + file_ReliquaryPromoteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryPromoteReq.proto b/gate-hk4e-api/proto/ReliquaryPromoteReq.proto new file mode 100644 index 00000000..bd02eb39 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryPromoteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 627 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReliquaryPromoteReq { + uint64 item_guid = 10; + uint64 target_guid = 13; +} diff --git a/gate-hk4e-api/proto/ReliquaryPromoteRsp.pb.go b/gate-hk4e-api/proto/ReliquaryPromoteRsp.pb.go new file mode 100644 index 00000000..4eafb176 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryPromoteRsp.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryPromoteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 694 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReliquaryPromoteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OldPromoteLevel uint32 `protobuf:"varint,10,opt,name=old_promote_level,json=oldPromoteLevel,proto3" json:"old_promote_level,omitempty"` + TargetReliquaryGuid uint64 `protobuf:"varint,6,opt,name=target_reliquary_guid,json=targetReliquaryGuid,proto3" json:"target_reliquary_guid,omitempty"` + CurAppendPropList []uint32 `protobuf:"varint,9,rep,packed,name=cur_append_prop_list,json=curAppendPropList,proto3" json:"cur_append_prop_list,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurPromoteLevel uint32 `protobuf:"varint,2,opt,name=cur_promote_level,json=curPromoteLevel,proto3" json:"cur_promote_level,omitempty"` + OldAppendPropList []uint32 `protobuf:"varint,8,rep,packed,name=old_append_prop_list,json=oldAppendPropList,proto3" json:"old_append_prop_list,omitempty"` +} + +func (x *ReliquaryPromoteRsp) Reset() { + *x = ReliquaryPromoteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryPromoteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryPromoteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryPromoteRsp) ProtoMessage() {} + +func (x *ReliquaryPromoteRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryPromoteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryPromoteRsp.ProtoReflect.Descriptor instead. +func (*ReliquaryPromoteRsp) Descriptor() ([]byte, []int) { + return file_ReliquaryPromoteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryPromoteRsp) GetOldPromoteLevel() uint32 { + if x != nil { + return x.OldPromoteLevel + } + return 0 +} + +func (x *ReliquaryPromoteRsp) GetTargetReliquaryGuid() uint64 { + if x != nil { + return x.TargetReliquaryGuid + } + return 0 +} + +func (x *ReliquaryPromoteRsp) GetCurAppendPropList() []uint32 { + if x != nil { + return x.CurAppendPropList + } + return nil +} + +func (x *ReliquaryPromoteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ReliquaryPromoteRsp) GetCurPromoteLevel() uint32 { + if x != nil { + return x.CurPromoteLevel + } + return 0 +} + +func (x *ReliquaryPromoteRsp) GetOldAppendPropList() []uint32 { + if x != nil { + return x.OldAppendPropList + } + return nil +} + +var File_ReliquaryPromoteRsp_proto protoreflect.FileDescriptor + +var file_ReliquaryPromoteRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x13, + 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, + 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x32, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, + 0x61, 0x72, 0x79, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x65, 0x6e, + 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x11, 0x63, 0x75, 0x72, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x70, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x50, 0x72, + 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2f, 0x0a, 0x14, 0x6f, 0x6c, + 0x64, 0x5f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x6c, 0x64, 0x41, 0x70, 0x70, + 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryPromoteRsp_proto_rawDescOnce sync.Once + file_ReliquaryPromoteRsp_proto_rawDescData = file_ReliquaryPromoteRsp_proto_rawDesc +) + +func file_ReliquaryPromoteRsp_proto_rawDescGZIP() []byte { + file_ReliquaryPromoteRsp_proto_rawDescOnce.Do(func() { + file_ReliquaryPromoteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryPromoteRsp_proto_rawDescData) + }) + return file_ReliquaryPromoteRsp_proto_rawDescData +} + +var file_ReliquaryPromoteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryPromoteRsp_proto_goTypes = []interface{}{ + (*ReliquaryPromoteRsp)(nil), // 0: ReliquaryPromoteRsp +} +var file_ReliquaryPromoteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryPromoteRsp_proto_init() } +func file_ReliquaryPromoteRsp_proto_init() { + if File_ReliquaryPromoteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryPromoteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryPromoteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryPromoteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryPromoteRsp_proto_goTypes, + DependencyIndexes: file_ReliquaryPromoteRsp_proto_depIdxs, + MessageInfos: file_ReliquaryPromoteRsp_proto_msgTypes, + }.Build() + File_ReliquaryPromoteRsp_proto = out.File + file_ReliquaryPromoteRsp_proto_rawDesc = nil + file_ReliquaryPromoteRsp_proto_goTypes = nil + file_ReliquaryPromoteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryPromoteRsp.proto b/gate-hk4e-api/proto/ReliquaryPromoteRsp.proto new file mode 100644 index 00000000..9e510f3e --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryPromoteRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 694 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReliquaryPromoteRsp { + uint32 old_promote_level = 10; + uint64 target_reliquary_guid = 6; + repeated uint32 cur_append_prop_list = 9; + int32 retcode = 12; + uint32 cur_promote_level = 2; + repeated uint32 old_append_prop_list = 8; +} diff --git a/gate-hk4e-api/proto/ReliquaryRequest.pb.go b/gate-hk4e-api/proto/ReliquaryRequest.pb.go new file mode 100644 index 00000000..ae9c1533 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryRequest.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryRequest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReliquaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EquipType uint32 `protobuf:"varint,6,opt,name=equip_type,json=equipType,proto3" json:"equip_type,omitempty"` +} + +func (x *ReliquaryRequest) Reset() { + *x = ReliquaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryRequest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryRequest) ProtoMessage() {} + +func (x *ReliquaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryRequest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryRequest.ProtoReflect.Descriptor instead. +func (*ReliquaryRequest) Descriptor() ([]byte, []int) { + return file_ReliquaryRequest_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryRequest) GetEquipType() uint32 { + if x != nil { + return x.EquipType + } + return 0 +} + +var File_ReliquaryRequest_proto protoreflect.FileDescriptor + +var file_ReliquaryRequest_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x69, + 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryRequest_proto_rawDescOnce sync.Once + file_ReliquaryRequest_proto_rawDescData = file_ReliquaryRequest_proto_rawDesc +) + +func file_ReliquaryRequest_proto_rawDescGZIP() []byte { + file_ReliquaryRequest_proto_rawDescOnce.Do(func() { + file_ReliquaryRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryRequest_proto_rawDescData) + }) + return file_ReliquaryRequest_proto_rawDescData +} + +var file_ReliquaryRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryRequest_proto_goTypes = []interface{}{ + (*ReliquaryRequest)(nil), // 0: ReliquaryRequest +} +var file_ReliquaryRequest_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryRequest_proto_init() } +func file_ReliquaryRequest_proto_init() { + if File_ReliquaryRequest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryRequest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryRequest_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryRequest_proto_goTypes, + DependencyIndexes: file_ReliquaryRequest_proto_depIdxs, + MessageInfos: file_ReliquaryRequest_proto_msgTypes, + }.Build() + File_ReliquaryRequest_proto = out.File + file_ReliquaryRequest_proto_rawDesc = nil + file_ReliquaryRequest_proto_goTypes = nil + file_ReliquaryRequest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryRequest.proto b/gate-hk4e-api/proto/ReliquaryRequest.proto new file mode 100644 index 00000000..d6bd2ea1 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryRequest.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ReliquaryRequest { + uint32 equip_type = 6; +} diff --git a/gate-hk4e-api/proto/ReliquaryResponse.pb.go b/gate-hk4e-api/proto/ReliquaryResponse.pb.go new file mode 100644 index 00000000..30d08797 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryResponse.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryResponse.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReliquaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DMDHDIHGPFA []*Unk2700_GBBDJMDIDEI `protobuf:"bytes,8,rep,name=Unk2700_DMDHDIHGPFA,json=Unk2700DMDHDIHGPFA,proto3" json:"Unk2700_DMDHDIHGPFA,omitempty"` + EquipType uint32 `protobuf:"varint,3,opt,name=equip_type,json=equipType,proto3" json:"equip_type,omitempty"` +} + +func (x *ReliquaryResponse) Reset() { + *x = ReliquaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryResponse_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryResponse) ProtoMessage() {} + +func (x *ReliquaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryResponse_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryResponse.ProtoReflect.Descriptor instead. +func (*ReliquaryResponse) Descriptor() ([]byte, []int) { + return file_ReliquaryResponse_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryResponse) GetUnk2700_DMDHDIHGPFA() []*Unk2700_GBBDJMDIDEI { + if x != nil { + return x.Unk2700_DMDHDIHGPFA + } + return nil +} + +func (x *ReliquaryResponse) GetEquipType() uint32 { + if x != nil { + return x.EquipType + } + return 0 +} + +var File_ReliquaryResponse_proto protoreflect.FileDescriptor + +var file_ReliquaryResponse_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x44, 0x49, 0x44, 0x45, 0x49, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x44, 0x48, 0x44, 0x49, 0x48, 0x47, 0x50, 0x46, 0x41, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x44, 0x49, 0x44, 0x45, 0x49, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4d, 0x44, 0x48, 0x44, 0x49, 0x48, 0x47, 0x50, 0x46, 0x41, + 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryResponse_proto_rawDescOnce sync.Once + file_ReliquaryResponse_proto_rawDescData = file_ReliquaryResponse_proto_rawDesc +) + +func file_ReliquaryResponse_proto_rawDescGZIP() []byte { + file_ReliquaryResponse_proto_rawDescOnce.Do(func() { + file_ReliquaryResponse_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryResponse_proto_rawDescData) + }) + return file_ReliquaryResponse_proto_rawDescData +} + +var file_ReliquaryResponse_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryResponse_proto_goTypes = []interface{}{ + (*ReliquaryResponse)(nil), // 0: ReliquaryResponse + (*Unk2700_GBBDJMDIDEI)(nil), // 1: Unk2700_GBBDJMDIDEI +} +var file_ReliquaryResponse_proto_depIdxs = []int32{ + 1, // 0: ReliquaryResponse.Unk2700_DMDHDIHGPFA:type_name -> Unk2700_GBBDJMDIDEI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReliquaryResponse_proto_init() } +func file_ReliquaryResponse_proto_init() { + if File_ReliquaryResponse_proto != nil { + return + } + file_Unk2700_GBBDJMDIDEI_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReliquaryResponse_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryResponse_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryResponse_proto_goTypes, + DependencyIndexes: file_ReliquaryResponse_proto_depIdxs, + MessageInfos: file_ReliquaryResponse_proto_msgTypes, + }.Build() + File_ReliquaryResponse_proto = out.File + file_ReliquaryResponse_proto_rawDesc = nil + file_ReliquaryResponse_proto_goTypes = nil + file_ReliquaryResponse_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryResponse.proto b/gate-hk4e-api/proto/ReliquaryResponse.proto new file mode 100644 index 00000000..547ed64d --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryResponse.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GBBDJMDIDEI.proto"; + +option go_package = "./;proto"; + +message ReliquaryResponse { + repeated Unk2700_GBBDJMDIDEI Unk2700_DMDHDIHGPFA = 8; + uint32 equip_type = 3; +} diff --git a/gate-hk4e-api/proto/ReliquaryUpgradeReq.pb.go b/gate-hk4e-api/proto/ReliquaryUpgradeReq.pb.go new file mode 100644 index 00000000..e0a45228 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryUpgradeReq.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryUpgradeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 604 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReliquaryUpgradeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemParamList []*ItemParam `protobuf:"bytes,11,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + TargetReliquaryGuid uint64 `protobuf:"varint,6,opt,name=target_reliquary_guid,json=targetReliquaryGuid,proto3" json:"target_reliquary_guid,omitempty"` + FoodReliquaryGuidList []uint64 `protobuf:"varint,12,rep,packed,name=food_reliquary_guid_list,json=foodReliquaryGuidList,proto3" json:"food_reliquary_guid_list,omitempty"` +} + +func (x *ReliquaryUpgradeReq) Reset() { + *x = ReliquaryUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryUpgradeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryUpgradeReq) ProtoMessage() {} + +func (x *ReliquaryUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryUpgradeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryUpgradeReq.ProtoReflect.Descriptor instead. +func (*ReliquaryUpgradeReq) Descriptor() ([]byte, []int) { + return file_ReliquaryUpgradeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryUpgradeReq) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *ReliquaryUpgradeReq) GetTargetReliquaryGuid() uint64 { + if x != nil { + return x.TargetReliquaryGuid + } + return 0 +} + +func (x *ReliquaryUpgradeReq) GetFoodReliquaryGuidList() []uint64 { + if x != nil { + return x.FoodReliquaryGuidList + } + return nil +} + +var File_ReliquaryUpgradeReq_proto protoreflect.FileDescriptor + +var file_ReliquaryUpgradeReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, + 0x13, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x47, 0x75, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, + 0x66, 0x6f, 0x6f, 0x64, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x04, 0x52, 0x15, + 0x66, 0x6f, 0x6f, 0x64, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x47, 0x75, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryUpgradeReq_proto_rawDescOnce sync.Once + file_ReliquaryUpgradeReq_proto_rawDescData = file_ReliquaryUpgradeReq_proto_rawDesc +) + +func file_ReliquaryUpgradeReq_proto_rawDescGZIP() []byte { + file_ReliquaryUpgradeReq_proto_rawDescOnce.Do(func() { + file_ReliquaryUpgradeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryUpgradeReq_proto_rawDescData) + }) + return file_ReliquaryUpgradeReq_proto_rawDescData +} + +var file_ReliquaryUpgradeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryUpgradeReq_proto_goTypes = []interface{}{ + (*ReliquaryUpgradeReq)(nil), // 0: ReliquaryUpgradeReq + (*ItemParam)(nil), // 1: ItemParam +} +var file_ReliquaryUpgradeReq_proto_depIdxs = []int32{ + 1, // 0: ReliquaryUpgradeReq.item_param_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReliquaryUpgradeReq_proto_init() } +func file_ReliquaryUpgradeReq_proto_init() { + if File_ReliquaryUpgradeReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReliquaryUpgradeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryUpgradeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryUpgradeReq_proto_goTypes, + DependencyIndexes: file_ReliquaryUpgradeReq_proto_depIdxs, + MessageInfos: file_ReliquaryUpgradeReq_proto_msgTypes, + }.Build() + File_ReliquaryUpgradeReq_proto = out.File + file_ReliquaryUpgradeReq_proto_rawDesc = nil + file_ReliquaryUpgradeReq_proto_goTypes = nil + file_ReliquaryUpgradeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryUpgradeReq.proto b/gate-hk4e-api/proto/ReliquaryUpgradeReq.proto new file mode 100644 index 00000000..efc04e4f --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryUpgradeReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 604 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReliquaryUpgradeReq { + repeated ItemParam item_param_list = 11; + uint64 target_reliquary_guid = 6; + repeated uint64 food_reliquary_guid_list = 12; +} diff --git a/gate-hk4e-api/proto/ReliquaryUpgradeRsp.pb.go b/gate-hk4e-api/proto/ReliquaryUpgradeRsp.pb.go new file mode 100644 index 00000000..0ea6edb5 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryUpgradeRsp.pb.go @@ -0,0 +1,225 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReliquaryUpgradeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 693 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReliquaryUpgradeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OldLevel uint32 `protobuf:"varint,4,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + CurLevel uint32 `protobuf:"varint,13,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + TargetReliquaryGuid uint64 `protobuf:"varint,9,opt,name=target_reliquary_guid,json=targetReliquaryGuid,proto3" json:"target_reliquary_guid,omitempty"` + CurAppendPropList []uint32 `protobuf:"varint,2,rep,packed,name=cur_append_prop_list,json=curAppendPropList,proto3" json:"cur_append_prop_list,omitempty"` + PowerUpRate uint32 `protobuf:"varint,6,opt,name=power_up_rate,json=powerUpRate,proto3" json:"power_up_rate,omitempty"` + OldAppendPropList []uint32 `protobuf:"varint,15,rep,packed,name=old_append_prop_list,json=oldAppendPropList,proto3" json:"old_append_prop_list,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ReliquaryUpgradeRsp) Reset() { + *x = ReliquaryUpgradeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReliquaryUpgradeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReliquaryUpgradeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReliquaryUpgradeRsp) ProtoMessage() {} + +func (x *ReliquaryUpgradeRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReliquaryUpgradeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReliquaryUpgradeRsp.ProtoReflect.Descriptor instead. +func (*ReliquaryUpgradeRsp) Descriptor() ([]byte, []int) { + return file_ReliquaryUpgradeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReliquaryUpgradeRsp) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *ReliquaryUpgradeRsp) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *ReliquaryUpgradeRsp) GetTargetReliquaryGuid() uint64 { + if x != nil { + return x.TargetReliquaryGuid + } + return 0 +} + +func (x *ReliquaryUpgradeRsp) GetCurAppendPropList() []uint32 { + if x != nil { + return x.CurAppendPropList + } + return nil +} + +func (x *ReliquaryUpgradeRsp) GetPowerUpRate() uint32 { + if x != nil { + return x.PowerUpRate + } + return 0 +} + +func (x *ReliquaryUpgradeRsp) GetOldAppendPropList() []uint32 { + if x != nil { + return x.OldAppendPropList + } + return nil +} + +func (x *ReliquaryUpgradeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ReliquaryUpgradeRsp_proto protoreflect.FileDescriptor + +var file_ReliquaryUpgradeRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x02, 0x0a, 0x13, + 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, + 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x32, 0x0a, + 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, + 0x79, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x47, 0x75, 0x69, + 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, + 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x11, 0x63, 0x75, 0x72, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x75, 0x70, 0x5f, 0x72, + 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x6f, 0x77, 0x65, 0x72, + 0x55, 0x70, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x70, + 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x6c, 0x64, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x50, + 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReliquaryUpgradeRsp_proto_rawDescOnce sync.Once + file_ReliquaryUpgradeRsp_proto_rawDescData = file_ReliquaryUpgradeRsp_proto_rawDesc +) + +func file_ReliquaryUpgradeRsp_proto_rawDescGZIP() []byte { + file_ReliquaryUpgradeRsp_proto_rawDescOnce.Do(func() { + file_ReliquaryUpgradeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReliquaryUpgradeRsp_proto_rawDescData) + }) + return file_ReliquaryUpgradeRsp_proto_rawDescData +} + +var file_ReliquaryUpgradeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReliquaryUpgradeRsp_proto_goTypes = []interface{}{ + (*ReliquaryUpgradeRsp)(nil), // 0: ReliquaryUpgradeRsp +} +var file_ReliquaryUpgradeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReliquaryUpgradeRsp_proto_init() } +func file_ReliquaryUpgradeRsp_proto_init() { + if File_ReliquaryUpgradeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReliquaryUpgradeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReliquaryUpgradeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReliquaryUpgradeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReliquaryUpgradeRsp_proto_goTypes, + DependencyIndexes: file_ReliquaryUpgradeRsp_proto_depIdxs, + MessageInfos: file_ReliquaryUpgradeRsp_proto_msgTypes, + }.Build() + File_ReliquaryUpgradeRsp_proto = out.File + file_ReliquaryUpgradeRsp_proto_rawDesc = nil + file_ReliquaryUpgradeRsp_proto_goTypes = nil + file_ReliquaryUpgradeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReliquaryUpgradeRsp.proto b/gate-hk4e-api/proto/ReliquaryUpgradeRsp.proto new file mode 100644 index 00000000..05478662 --- /dev/null +++ b/gate-hk4e-api/proto/ReliquaryUpgradeRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 693 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReliquaryUpgradeRsp { + uint32 old_level = 4; + uint32 cur_level = 13; + uint64 target_reliquary_guid = 9; + repeated uint32 cur_append_prop_list = 2; + uint32 power_up_rate = 6; + repeated uint32 old_append_prop_list = 15; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/RemoveBlacklistReq.pb.go b/gate-hk4e-api/proto/RemoveBlacklistReq.pb.go new file mode 100644 index 00000000..4b082cfd --- /dev/null +++ b/gate-hk4e-api/proto/RemoveBlacklistReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RemoveBlacklistReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4063 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RemoveBlacklistReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,13,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *RemoveBlacklistReq) Reset() { + *x = RemoveBlacklistReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RemoveBlacklistReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveBlacklistReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveBlacklistReq) ProtoMessage() {} + +func (x *RemoveBlacklistReq) ProtoReflect() protoreflect.Message { + mi := &file_RemoveBlacklistReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveBlacklistReq.ProtoReflect.Descriptor instead. +func (*RemoveBlacklistReq) Descriptor() ([]byte, []int) { + return file_RemoveBlacklistReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RemoveBlacklistReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_RemoveBlacklistReq_proto protoreflect.FileDescriptor + +var file_RemoveBlacklistReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RemoveBlacklistReq_proto_rawDescOnce sync.Once + file_RemoveBlacklistReq_proto_rawDescData = file_RemoveBlacklistReq_proto_rawDesc +) + +func file_RemoveBlacklistReq_proto_rawDescGZIP() []byte { + file_RemoveBlacklistReq_proto_rawDescOnce.Do(func() { + file_RemoveBlacklistReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RemoveBlacklistReq_proto_rawDescData) + }) + return file_RemoveBlacklistReq_proto_rawDescData +} + +var file_RemoveBlacklistReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RemoveBlacklistReq_proto_goTypes = []interface{}{ + (*RemoveBlacklistReq)(nil), // 0: RemoveBlacklistReq +} +var file_RemoveBlacklistReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RemoveBlacklistReq_proto_init() } +func file_RemoveBlacklistReq_proto_init() { + if File_RemoveBlacklistReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RemoveBlacklistReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBlacklistReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RemoveBlacklistReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RemoveBlacklistReq_proto_goTypes, + DependencyIndexes: file_RemoveBlacklistReq_proto_depIdxs, + MessageInfos: file_RemoveBlacklistReq_proto_msgTypes, + }.Build() + File_RemoveBlacklistReq_proto = out.File + file_RemoveBlacklistReq_proto_rawDesc = nil + file_RemoveBlacklistReq_proto_goTypes = nil + file_RemoveBlacklistReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RemoveBlacklistReq.proto b/gate-hk4e-api/proto/RemoveBlacklistReq.proto new file mode 100644 index 00000000..8b478612 --- /dev/null +++ b/gate-hk4e-api/proto/RemoveBlacklistReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4063 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RemoveBlacklistReq { + uint32 target_uid = 13; +} diff --git a/gate-hk4e-api/proto/RemoveBlacklistRsp.pb.go b/gate-hk4e-api/proto/RemoveBlacklistRsp.pb.go new file mode 100644 index 00000000..8a88a4e9 --- /dev/null +++ b/gate-hk4e-api/proto/RemoveBlacklistRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RemoveBlacklistRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4095 +// EnetChannelId: 0 +// EnetIsReliable: true +type RemoveBlacklistRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,7,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *RemoveBlacklistRsp) Reset() { + *x = RemoveBlacklistRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RemoveBlacklistRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveBlacklistRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveBlacklistRsp) ProtoMessage() {} + +func (x *RemoveBlacklistRsp) ProtoReflect() protoreflect.Message { + mi := &file_RemoveBlacklistRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveBlacklistRsp.ProtoReflect.Descriptor instead. +func (*RemoveBlacklistRsp) Descriptor() ([]byte, []int) { + return file_RemoveBlacklistRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RemoveBlacklistRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RemoveBlacklistRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_RemoveBlacklistRsp_proto protoreflect.FileDescriptor + +var file_RemoveBlacklistRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x12, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RemoveBlacklistRsp_proto_rawDescOnce sync.Once + file_RemoveBlacklistRsp_proto_rawDescData = file_RemoveBlacklistRsp_proto_rawDesc +) + +func file_RemoveBlacklistRsp_proto_rawDescGZIP() []byte { + file_RemoveBlacklistRsp_proto_rawDescOnce.Do(func() { + file_RemoveBlacklistRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RemoveBlacklistRsp_proto_rawDescData) + }) + return file_RemoveBlacklistRsp_proto_rawDescData +} + +var file_RemoveBlacklistRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RemoveBlacklistRsp_proto_goTypes = []interface{}{ + (*RemoveBlacklistRsp)(nil), // 0: RemoveBlacklistRsp +} +var file_RemoveBlacklistRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RemoveBlacklistRsp_proto_init() } +func file_RemoveBlacklistRsp_proto_init() { + if File_RemoveBlacklistRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RemoveBlacklistRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBlacklistRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RemoveBlacklistRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RemoveBlacklistRsp_proto_goTypes, + DependencyIndexes: file_RemoveBlacklistRsp_proto_depIdxs, + MessageInfos: file_RemoveBlacklistRsp_proto_msgTypes, + }.Build() + File_RemoveBlacklistRsp_proto = out.File + file_RemoveBlacklistRsp_proto_rawDesc = nil + file_RemoveBlacklistRsp_proto_goTypes = nil + file_RemoveBlacklistRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RemoveBlacklistRsp.proto b/gate-hk4e-api/proto/RemoveBlacklistRsp.proto new file mode 100644 index 00000000..9894441d --- /dev/null +++ b/gate-hk4e-api/proto/RemoveBlacklistRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4095 +// EnetChannelId: 0 +// EnetIsReliable: true +message RemoveBlacklistRsp { + int32 retcode = 12; + uint32 target_uid = 7; +} diff --git a/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.pb.go b/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.pb.go new file mode 100644 index 00000000..0474d6bb --- /dev/null +++ b/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.pb.go @@ -0,0 +1,248 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RemoveRandTaskInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RemoveRandTaskInfoNotify_FinishReason int32 + +const ( + RemoveRandTaskInfoNotify_FINISH_REASON_DEFAULT RemoveRandTaskInfoNotify_FinishReason = 0 + RemoveRandTaskInfoNotify_FINISH_REASON_CLEAR RemoveRandTaskInfoNotify_FinishReason = 1 + RemoveRandTaskInfoNotify_FINISH_REASON_DISTANCE RemoveRandTaskInfoNotify_FinishReason = 2 + RemoveRandTaskInfoNotify_FINISH_REASON_FINISH RemoveRandTaskInfoNotify_FinishReason = 3 +) + +// Enum value maps for RemoveRandTaskInfoNotify_FinishReason. +var ( + RemoveRandTaskInfoNotify_FinishReason_name = map[int32]string{ + 0: "FINISH_REASON_DEFAULT", + 1: "FINISH_REASON_CLEAR", + 2: "FINISH_REASON_DISTANCE", + 3: "FINISH_REASON_FINISH", + } + RemoveRandTaskInfoNotify_FinishReason_value = map[string]int32{ + "FINISH_REASON_DEFAULT": 0, + "FINISH_REASON_CLEAR": 1, + "FINISH_REASON_DISTANCE": 2, + "FINISH_REASON_FINISH": 3, + } +) + +func (x RemoveRandTaskInfoNotify_FinishReason) Enum() *RemoveRandTaskInfoNotify_FinishReason { + p := new(RemoveRandTaskInfoNotify_FinishReason) + *p = x + return p +} + +func (x RemoveRandTaskInfoNotify_FinishReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RemoveRandTaskInfoNotify_FinishReason) Descriptor() protoreflect.EnumDescriptor { + return file_RemoveRandTaskInfoNotify_proto_enumTypes[0].Descriptor() +} + +func (RemoveRandTaskInfoNotify_FinishReason) Type() protoreflect.EnumType { + return &file_RemoveRandTaskInfoNotify_proto_enumTypes[0] +} + +func (x RemoveRandTaskInfoNotify_FinishReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RemoveRandTaskInfoNotify_FinishReason.Descriptor instead. +func (RemoveRandTaskInfoNotify_FinishReason) EnumDescriptor() ([]byte, []int) { + return file_RemoveRandTaskInfoNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 161 +// EnetChannelId: 0 +// EnetIsReliable: true +type RemoveRandTaskInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSucc bool `protobuf:"varint,9,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"` + Reason RemoveRandTaskInfoNotify_FinishReason `protobuf:"varint,10,opt,name=reason,proto3,enum=RemoveRandTaskInfoNotify_FinishReason" json:"reason,omitempty"` + RandTaskId uint32 `protobuf:"varint,13,opt,name=rand_task_id,json=randTaskId,proto3" json:"rand_task_id,omitempty"` +} + +func (x *RemoveRandTaskInfoNotify) Reset() { + *x = RemoveRandTaskInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RemoveRandTaskInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveRandTaskInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRandTaskInfoNotify) ProtoMessage() {} + +func (x *RemoveRandTaskInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_RemoveRandTaskInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveRandTaskInfoNotify.ProtoReflect.Descriptor instead. +func (*RemoveRandTaskInfoNotify) Descriptor() ([]byte, []int) { + return file_RemoveRandTaskInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RemoveRandTaskInfoNotify) GetIsSucc() bool { + if x != nil { + return x.IsSucc + } + return false +} + +func (x *RemoveRandTaskInfoNotify) GetReason() RemoveRandTaskInfoNotify_FinishReason { + if x != nil { + return x.Reason + } + return RemoveRandTaskInfoNotify_FINISH_REASON_DEFAULT +} + +func (x *RemoveRandTaskInfoNotify) GetRandTaskId() uint32 { + if x != nil { + return x.RandTaskId + } + return 0 +} + +var File_RemoveRandTaskInfoNotify_proto protoreflect.FileDescriptor + +var file_RemoveRandTaskInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8f, 0x02, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x64, 0x54, + 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, + 0x61, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x5f, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x61, + 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x78, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, + 0x54, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, + 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x44, 0x49, + 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RemoveRandTaskInfoNotify_proto_rawDescOnce sync.Once + file_RemoveRandTaskInfoNotify_proto_rawDescData = file_RemoveRandTaskInfoNotify_proto_rawDesc +) + +func file_RemoveRandTaskInfoNotify_proto_rawDescGZIP() []byte { + file_RemoveRandTaskInfoNotify_proto_rawDescOnce.Do(func() { + file_RemoveRandTaskInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RemoveRandTaskInfoNotify_proto_rawDescData) + }) + return file_RemoveRandTaskInfoNotify_proto_rawDescData +} + +var file_RemoveRandTaskInfoNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_RemoveRandTaskInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RemoveRandTaskInfoNotify_proto_goTypes = []interface{}{ + (RemoveRandTaskInfoNotify_FinishReason)(0), // 0: RemoveRandTaskInfoNotify.FinishReason + (*RemoveRandTaskInfoNotify)(nil), // 1: RemoveRandTaskInfoNotify +} +var file_RemoveRandTaskInfoNotify_proto_depIdxs = []int32{ + 0, // 0: RemoveRandTaskInfoNotify.reason:type_name -> RemoveRandTaskInfoNotify.FinishReason + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RemoveRandTaskInfoNotify_proto_init() } +func file_RemoveRandTaskInfoNotify_proto_init() { + if File_RemoveRandTaskInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RemoveRandTaskInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRandTaskInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RemoveRandTaskInfoNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RemoveRandTaskInfoNotify_proto_goTypes, + DependencyIndexes: file_RemoveRandTaskInfoNotify_proto_depIdxs, + EnumInfos: file_RemoveRandTaskInfoNotify_proto_enumTypes, + MessageInfos: file_RemoveRandTaskInfoNotify_proto_msgTypes, + }.Build() + File_RemoveRandTaskInfoNotify_proto = out.File + file_RemoveRandTaskInfoNotify_proto_rawDesc = nil + file_RemoveRandTaskInfoNotify_proto_goTypes = nil + file_RemoveRandTaskInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.proto b/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.proto new file mode 100644 index 00000000..540d7534 --- /dev/null +++ b/gate-hk4e-api/proto/RemoveRandTaskInfoNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 161 +// EnetChannelId: 0 +// EnetIsReliable: true +message RemoveRandTaskInfoNotify { + bool is_succ = 9; + FinishReason reason = 10; + uint32 rand_task_id = 13; + + enum FinishReason { + FINISH_REASON_DEFAULT = 0; + FINISH_REASON_CLEAR = 1; + FINISH_REASON_DISTANCE = 2; + FINISH_REASON_FINISH = 3; + } +} diff --git a/gate-hk4e-api/proto/ReportFightAntiCheatNotify.pb.go b/gate-hk4e-api/proto/ReportFightAntiCheatNotify.pb.go new file mode 100644 index 00000000..7f1a523e --- /dev/null +++ b/gate-hk4e-api/proto/ReportFightAntiCheatNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReportFightAntiCheatNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 368 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReportFightAntiCheatNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CheatCount uint32 `protobuf:"varint,8,opt,name=cheat_count,json=cheatCount,proto3" json:"cheat_count,omitempty"` + CheatType uint32 `protobuf:"varint,12,opt,name=cheat_type,json=cheatType,proto3" json:"cheat_type,omitempty"` +} + +func (x *ReportFightAntiCheatNotify) Reset() { + *x = ReportFightAntiCheatNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReportFightAntiCheatNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReportFightAntiCheatNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReportFightAntiCheatNotify) ProtoMessage() {} + +func (x *ReportFightAntiCheatNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReportFightAntiCheatNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReportFightAntiCheatNotify.ProtoReflect.Descriptor instead. +func (*ReportFightAntiCheatNotify) Descriptor() ([]byte, []int) { + return file_ReportFightAntiCheatNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReportFightAntiCheatNotify) GetCheatCount() uint32 { + if x != nil { + return x.CheatCount + } + return 0 +} + +func (x *ReportFightAntiCheatNotify) GetCheatType() uint32 { + if x != nil { + return x.CheatType + } + return 0 +} + +var File_ReportFightAntiCheatNotify_proto protoreflect.FileDescriptor + +var file_ReportFightAntiCheatNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x67, 0x68, 0x74, 0x41, 0x6e, 0x74, + 0x69, 0x43, 0x68, 0x65, 0x61, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x67, 0x68, + 0x74, 0x41, 0x6e, 0x74, 0x69, 0x43, 0x68, 0x65, 0x61, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x68, 0x65, 0x61, 0x74, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x61, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x65, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReportFightAntiCheatNotify_proto_rawDescOnce sync.Once + file_ReportFightAntiCheatNotify_proto_rawDescData = file_ReportFightAntiCheatNotify_proto_rawDesc +) + +func file_ReportFightAntiCheatNotify_proto_rawDescGZIP() []byte { + file_ReportFightAntiCheatNotify_proto_rawDescOnce.Do(func() { + file_ReportFightAntiCheatNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReportFightAntiCheatNotify_proto_rawDescData) + }) + return file_ReportFightAntiCheatNotify_proto_rawDescData +} + +var file_ReportFightAntiCheatNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReportFightAntiCheatNotify_proto_goTypes = []interface{}{ + (*ReportFightAntiCheatNotify)(nil), // 0: ReportFightAntiCheatNotify +} +var file_ReportFightAntiCheatNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReportFightAntiCheatNotify_proto_init() } +func file_ReportFightAntiCheatNotify_proto_init() { + if File_ReportFightAntiCheatNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReportFightAntiCheatNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportFightAntiCheatNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReportFightAntiCheatNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReportFightAntiCheatNotify_proto_goTypes, + DependencyIndexes: file_ReportFightAntiCheatNotify_proto_depIdxs, + MessageInfos: file_ReportFightAntiCheatNotify_proto_msgTypes, + }.Build() + File_ReportFightAntiCheatNotify_proto = out.File + file_ReportFightAntiCheatNotify_proto_rawDesc = nil + file_ReportFightAntiCheatNotify_proto_goTypes = nil + file_ReportFightAntiCheatNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReportFightAntiCheatNotify.proto b/gate-hk4e-api/proto/ReportFightAntiCheatNotify.proto new file mode 100644 index 00000000..39b10981 --- /dev/null +++ b/gate-hk4e-api/proto/ReportFightAntiCheatNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 368 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReportFightAntiCheatNotify { + uint32 cheat_count = 8; + uint32 cheat_type = 12; +} diff --git a/gate-hk4e-api/proto/ReportReasonType.pb.go b/gate-hk4e-api/proto/ReportReasonType.pb.go new file mode 100644 index 00000000..9576465d --- /dev/null +++ b/gate-hk4e-api/proto/ReportReasonType.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReportReasonType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReportReasonType int32 + +const ( + ReportReasonType_REPORT_REASON_TYPE_NONE ReportReasonType = 0 + ReportReasonType_REPORT_REASON_TYPE_DECEPTIVE_ADS ReportReasonType = 1 + ReportReasonType_REPORT_REASON_TYPE_ABUSING ReportReasonType = 2 + ReportReasonType_REPORT_REASON_TYPE_CHEAT ReportReasonType = 3 + ReportReasonType_REPORT_REASON_TYPE_POLITICAL ReportReasonType = 4 + ReportReasonType_REPORT_REASON_TYPE_OTHER ReportReasonType = 5 + ReportReasonType_REPORT_REASON_TYPE_HOME ReportReasonType = 6 +) + +// Enum value maps for ReportReasonType. +var ( + ReportReasonType_name = map[int32]string{ + 0: "REPORT_REASON_TYPE_NONE", + 1: "REPORT_REASON_TYPE_DECEPTIVE_ADS", + 2: "REPORT_REASON_TYPE_ABUSING", + 3: "REPORT_REASON_TYPE_CHEAT", + 4: "REPORT_REASON_TYPE_POLITICAL", + 5: "REPORT_REASON_TYPE_OTHER", + 6: "REPORT_REASON_TYPE_HOME", + } + ReportReasonType_value = map[string]int32{ + "REPORT_REASON_TYPE_NONE": 0, + "REPORT_REASON_TYPE_DECEPTIVE_ADS": 1, + "REPORT_REASON_TYPE_ABUSING": 2, + "REPORT_REASON_TYPE_CHEAT": 3, + "REPORT_REASON_TYPE_POLITICAL": 4, + "REPORT_REASON_TYPE_OTHER": 5, + "REPORT_REASON_TYPE_HOME": 6, + } +) + +func (x ReportReasonType) Enum() *ReportReasonType { + p := new(ReportReasonType) + *p = x + return p +} + +func (x ReportReasonType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ReportReasonType) Descriptor() protoreflect.EnumDescriptor { + return file_ReportReasonType_proto_enumTypes[0].Descriptor() +} + +func (ReportReasonType) Type() protoreflect.EnumType { + return &file_ReportReasonType_proto_enumTypes[0] +} + +func (x ReportReasonType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReportReasonType.Descriptor instead. +func (ReportReasonType) EnumDescriptor() ([]byte, []int) { + return file_ReportReasonType_proto_rawDescGZIP(), []int{0} +} + +var File_ReportReasonType_proto protoreflect.FileDescriptor + +var file_ReportReasonType_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xf0, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, + 0x17, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, + 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x44, 0x45, 0x43, 0x45, 0x50, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x41, 0x44, 0x53, 0x10, 0x01, + 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x42, 0x55, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x02, + 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x41, 0x54, 0x10, 0x03, 0x12, 0x20, + 0x0a, 0x1c, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x04, + 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x05, 0x12, 0x1b, + 0x0a, 0x17, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x06, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReportReasonType_proto_rawDescOnce sync.Once + file_ReportReasonType_proto_rawDescData = file_ReportReasonType_proto_rawDesc +) + +func file_ReportReasonType_proto_rawDescGZIP() []byte { + file_ReportReasonType_proto_rawDescOnce.Do(func() { + file_ReportReasonType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReportReasonType_proto_rawDescData) + }) + return file_ReportReasonType_proto_rawDescData +} + +var file_ReportReasonType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ReportReasonType_proto_goTypes = []interface{}{ + (ReportReasonType)(0), // 0: ReportReasonType +} +var file_ReportReasonType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReportReasonType_proto_init() } +func file_ReportReasonType_proto_init() { + if File_ReportReasonType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReportReasonType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReportReasonType_proto_goTypes, + DependencyIndexes: file_ReportReasonType_proto_depIdxs, + EnumInfos: file_ReportReasonType_proto_enumTypes, + }.Build() + File_ReportReasonType_proto = out.File + file_ReportReasonType_proto_rawDesc = nil + file_ReportReasonType_proto_goTypes = nil + file_ReportReasonType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReportReasonType.proto b/gate-hk4e-api/proto/ReportReasonType.proto new file mode 100644 index 00000000..43cb7d3a --- /dev/null +++ b/gate-hk4e-api/proto/ReportReasonType.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ReportReasonType { + REPORT_REASON_TYPE_NONE = 0; + REPORT_REASON_TYPE_DECEPTIVE_ADS = 1; + REPORT_REASON_TYPE_ABUSING = 2; + REPORT_REASON_TYPE_CHEAT = 3; + REPORT_REASON_TYPE_POLITICAL = 4; + REPORT_REASON_TYPE_OTHER = 5; + REPORT_REASON_TYPE_HOME = 6; +} diff --git a/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.pb.go b/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.pb.go new file mode 100644 index 00000000..4a829e60 --- /dev/null +++ b/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReportTrackingIOInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReportTrackingIOInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rydevicetype string `protobuf:"bytes,12,opt,name=rydevicetype,proto3" json:"rydevicetype,omitempty"` + Deviceid string `protobuf:"bytes,1,opt,name=deviceid,proto3" json:"deviceid,omitempty"` + ClientTz string `protobuf:"bytes,13,opt,name=client_tz,json=clientTz,proto3" json:"client_tz,omitempty"` + Appid string `protobuf:"bytes,14,opt,name=appid,proto3" json:"appid,omitempty"` + Mac string `protobuf:"bytes,15,opt,name=mac,proto3" json:"mac,omitempty"` +} + +func (x *ReportTrackingIOInfoNotify) Reset() { + *x = ReportTrackingIOInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReportTrackingIOInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReportTrackingIOInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReportTrackingIOInfoNotify) ProtoMessage() {} + +func (x *ReportTrackingIOInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReportTrackingIOInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReportTrackingIOInfoNotify.ProtoReflect.Descriptor instead. +func (*ReportTrackingIOInfoNotify) Descriptor() ([]byte, []int) { + return file_ReportTrackingIOInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReportTrackingIOInfoNotify) GetRydevicetype() string { + if x != nil { + return x.Rydevicetype + } + return "" +} + +func (x *ReportTrackingIOInfoNotify) GetDeviceid() string { + if x != nil { + return x.Deviceid + } + return "" +} + +func (x *ReportTrackingIOInfoNotify) GetClientTz() string { + if x != nil { + return x.ClientTz + } + return "" +} + +func (x *ReportTrackingIOInfoNotify) GetAppid() string { + if x != nil { + return x.Appid + } + return "" +} + +func (x *ReportTrackingIOInfoNotify) GetMac() string { + if x != nil { + return x.Mac + } + return "" +} + +var File_ReportTrackingIOInfoNotify_proto protoreflect.FileDescriptor + +var file_ReportTrackingIOInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, + 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, + 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x79, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x79, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x69, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x7a, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x7a, 0x12, 0x14, + 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, + 0x70, 0x70, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x63, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6d, 0x61, 0x63, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReportTrackingIOInfoNotify_proto_rawDescOnce sync.Once + file_ReportTrackingIOInfoNotify_proto_rawDescData = file_ReportTrackingIOInfoNotify_proto_rawDesc +) + +func file_ReportTrackingIOInfoNotify_proto_rawDescGZIP() []byte { + file_ReportTrackingIOInfoNotify_proto_rawDescOnce.Do(func() { + file_ReportTrackingIOInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReportTrackingIOInfoNotify_proto_rawDescData) + }) + return file_ReportTrackingIOInfoNotify_proto_rawDescData +} + +var file_ReportTrackingIOInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReportTrackingIOInfoNotify_proto_goTypes = []interface{}{ + (*ReportTrackingIOInfoNotify)(nil), // 0: ReportTrackingIOInfoNotify +} +var file_ReportTrackingIOInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReportTrackingIOInfoNotify_proto_init() } +func file_ReportTrackingIOInfoNotify_proto_init() { + if File_ReportTrackingIOInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReportTrackingIOInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportTrackingIOInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReportTrackingIOInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReportTrackingIOInfoNotify_proto_goTypes, + DependencyIndexes: file_ReportTrackingIOInfoNotify_proto_depIdxs, + MessageInfos: file_ReportTrackingIOInfoNotify_proto_msgTypes, + }.Build() + File_ReportTrackingIOInfoNotify_proto = out.File + file_ReportTrackingIOInfoNotify_proto_rawDesc = nil + file_ReportTrackingIOInfoNotify_proto_goTypes = nil + file_ReportTrackingIOInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.proto b/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.proto new file mode 100644 index 00000000..90f8b175 --- /dev/null +++ b/gate-hk4e-api/proto/ReportTrackingIOInfoNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReportTrackingIOInfoNotify { + string rydevicetype = 12; + string deviceid = 1; + string client_tz = 13; + string appid = 14; + string mac = 15; +} diff --git a/gate-hk4e-api/proto/RequestLiveInfoReq.pb.go b/gate-hk4e-api/proto/RequestLiveInfoReq.pb.go new file mode 100644 index 00000000..5f3cf4a9 --- /dev/null +++ b/gate-hk4e-api/proto/RequestLiveInfoReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RequestLiveInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 894 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RequestLiveInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LiveId uint32 `protobuf:"varint,6,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"` +} + +func (x *RequestLiveInfoReq) Reset() { + *x = RequestLiveInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RequestLiveInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RequestLiveInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestLiveInfoReq) ProtoMessage() {} + +func (x *RequestLiveInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_RequestLiveInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequestLiveInfoReq.ProtoReflect.Descriptor instead. +func (*RequestLiveInfoReq) Descriptor() ([]byte, []int) { + return file_RequestLiveInfoReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RequestLiveInfoReq) GetLiveId() uint32 { + if x != nil { + return x.LiveId + } + return 0 +} + +var File_RequestLiveInfoReq_proto protoreflect.FileDescriptor + +var file_RequestLiveInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x12, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RequestLiveInfoReq_proto_rawDescOnce sync.Once + file_RequestLiveInfoReq_proto_rawDescData = file_RequestLiveInfoReq_proto_rawDesc +) + +func file_RequestLiveInfoReq_proto_rawDescGZIP() []byte { + file_RequestLiveInfoReq_proto_rawDescOnce.Do(func() { + file_RequestLiveInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RequestLiveInfoReq_proto_rawDescData) + }) + return file_RequestLiveInfoReq_proto_rawDescData +} + +var file_RequestLiveInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RequestLiveInfoReq_proto_goTypes = []interface{}{ + (*RequestLiveInfoReq)(nil), // 0: RequestLiveInfoReq +} +var file_RequestLiveInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RequestLiveInfoReq_proto_init() } +func file_RequestLiveInfoReq_proto_init() { + if File_RequestLiveInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RequestLiveInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestLiveInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RequestLiveInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RequestLiveInfoReq_proto_goTypes, + DependencyIndexes: file_RequestLiveInfoReq_proto_depIdxs, + MessageInfos: file_RequestLiveInfoReq_proto_msgTypes, + }.Build() + File_RequestLiveInfoReq_proto = out.File + file_RequestLiveInfoReq_proto_rawDesc = nil + file_RequestLiveInfoReq_proto_goTypes = nil + file_RequestLiveInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RequestLiveInfoReq.proto b/gate-hk4e-api/proto/RequestLiveInfoReq.proto new file mode 100644 index 00000000..d5624b46 --- /dev/null +++ b/gate-hk4e-api/proto/RequestLiveInfoReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 894 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RequestLiveInfoReq { + uint32 live_id = 6; +} diff --git a/gate-hk4e-api/proto/RequestLiveInfoRsp.pb.go b/gate-hk4e-api/proto/RequestLiveInfoRsp.pb.go new file mode 100644 index 00000000..a591be63 --- /dev/null +++ b/gate-hk4e-api/proto/RequestLiveInfoRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RequestLiveInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 888 +// EnetChannelId: 0 +// EnetIsReliable: true +type RequestLiveInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpareLiveUrl string `protobuf:"bytes,14,opt,name=spare_live_url,json=spareLiveUrl,proto3" json:"spare_live_url,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + LiveUrl string `protobuf:"bytes,12,opt,name=live_url,json=liveUrl,proto3" json:"live_url,omitempty"` + LiveId uint32 `protobuf:"varint,2,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"` +} + +func (x *RequestLiveInfoRsp) Reset() { + *x = RequestLiveInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RequestLiveInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RequestLiveInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestLiveInfoRsp) ProtoMessage() {} + +func (x *RequestLiveInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_RequestLiveInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequestLiveInfoRsp.ProtoReflect.Descriptor instead. +func (*RequestLiveInfoRsp) Descriptor() ([]byte, []int) { + return file_RequestLiveInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RequestLiveInfoRsp) GetSpareLiveUrl() string { + if x != nil { + return x.SpareLiveUrl + } + return "" +} + +func (x *RequestLiveInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RequestLiveInfoRsp) GetLiveUrl() string { + if x != nil { + return x.LiveUrl + } + return "" +} + +func (x *RequestLiveInfoRsp) GetLiveId() uint32 { + if x != nil { + return x.LiveId + } + return 0 +} + +var File_RequestLiveInfoRsp_proto protoreflect.FileDescriptor + +var file_RequestLiveInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, + 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x70, 0x61, 0x72, 0x65, + 0x4c, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x07, + 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, + 0x69, 0x76, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RequestLiveInfoRsp_proto_rawDescOnce sync.Once + file_RequestLiveInfoRsp_proto_rawDescData = file_RequestLiveInfoRsp_proto_rawDesc +) + +func file_RequestLiveInfoRsp_proto_rawDescGZIP() []byte { + file_RequestLiveInfoRsp_proto_rawDescOnce.Do(func() { + file_RequestLiveInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RequestLiveInfoRsp_proto_rawDescData) + }) + return file_RequestLiveInfoRsp_proto_rawDescData +} + +var file_RequestLiveInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RequestLiveInfoRsp_proto_goTypes = []interface{}{ + (*RequestLiveInfoRsp)(nil), // 0: RequestLiveInfoRsp +} +var file_RequestLiveInfoRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RequestLiveInfoRsp_proto_init() } +func file_RequestLiveInfoRsp_proto_init() { + if File_RequestLiveInfoRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RequestLiveInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestLiveInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RequestLiveInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RequestLiveInfoRsp_proto_goTypes, + DependencyIndexes: file_RequestLiveInfoRsp_proto_depIdxs, + MessageInfos: file_RequestLiveInfoRsp_proto_msgTypes, + }.Build() + File_RequestLiveInfoRsp_proto = out.File + file_RequestLiveInfoRsp_proto_rawDesc = nil + file_RequestLiveInfoRsp_proto_goTypes = nil + file_RequestLiveInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RequestLiveInfoRsp.proto b/gate-hk4e-api/proto/RequestLiveInfoRsp.proto new file mode 100644 index 00000000..91ff9495 --- /dev/null +++ b/gate-hk4e-api/proto/RequestLiveInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 888 +// EnetChannelId: 0 +// EnetIsReliable: true +message RequestLiveInfoRsp { + string spare_live_url = 14; + int32 retcode = 9; + string live_url = 12; + uint32 live_id = 2; +} diff --git a/gate-hk4e-api/proto/ResVersionConfig.pb.go b/gate-hk4e-api/proto/ResVersionConfig.pb.go new file mode 100644 index 00000000..70adf2fa --- /dev/null +++ b/gate-hk4e-api/proto/ResVersionConfig.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ResVersionConfig.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ResVersionConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` + Relogin bool `protobuf:"varint,2,opt,name=relogin,proto3" json:"relogin,omitempty"` + Md5 string `protobuf:"bytes,3,opt,name=md5,proto3" json:"md5,omitempty"` + ReleaseTotalSize string `protobuf:"bytes,4,opt,name=release_total_size,json=releaseTotalSize,proto3" json:"release_total_size,omitempty"` + VersionSuffix string `protobuf:"bytes,5,opt,name=version_suffix,json=versionSuffix,proto3" json:"version_suffix,omitempty"` + Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` + NextScriptVersion string `protobuf:"bytes,7,opt,name=next_script_version,json=nextScriptVersion,proto3" json:"next_script_version,omitempty"` +} + +func (x *ResVersionConfig) Reset() { + *x = ResVersionConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_ResVersionConfig_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResVersionConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResVersionConfig) ProtoMessage() {} + +func (x *ResVersionConfig) ProtoReflect() protoreflect.Message { + mi := &file_ResVersionConfig_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResVersionConfig.ProtoReflect.Descriptor instead. +func (*ResVersionConfig) Descriptor() ([]byte, []int) { + return file_ResVersionConfig_proto_rawDescGZIP(), []int{0} +} + +func (x *ResVersionConfig) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *ResVersionConfig) GetRelogin() bool { + if x != nil { + return x.Relogin + } + return false +} + +func (x *ResVersionConfig) GetMd5() string { + if x != nil { + return x.Md5 + } + return "" +} + +func (x *ResVersionConfig) GetReleaseTotalSize() string { + if x != nil { + return x.ReleaseTotalSize + } + return "" +} + +func (x *ResVersionConfig) GetVersionSuffix() string { + if x != nil { + return x.VersionSuffix + } + return "" +} + +func (x *ResVersionConfig) GetBranch() string { + if x != nil { + return x.Branch + } + return "" +} + +func (x *ResVersionConfig) GetNextScriptVersion() string { + if x != nil { + return x.NextScriptVersion + } + return "" +} + +var File_ResVersionConfig_proto protoreflect.FileDescriptor + +var file_ResVersionConfig_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x6f, 0x67, + 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x6f, 0x67, 0x69, + 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6d, 0x64, 0x35, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x75, 0x66, + 0x66, 0x69, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6e, + 0x65, 0x78, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ResVersionConfig_proto_rawDescOnce sync.Once + file_ResVersionConfig_proto_rawDescData = file_ResVersionConfig_proto_rawDesc +) + +func file_ResVersionConfig_proto_rawDescGZIP() []byte { + file_ResVersionConfig_proto_rawDescOnce.Do(func() { + file_ResVersionConfig_proto_rawDescData = protoimpl.X.CompressGZIP(file_ResVersionConfig_proto_rawDescData) + }) + return file_ResVersionConfig_proto_rawDescData +} + +var file_ResVersionConfig_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ResVersionConfig_proto_goTypes = []interface{}{ + (*ResVersionConfig)(nil), // 0: ResVersionConfig +} +var file_ResVersionConfig_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ResVersionConfig_proto_init() } +func file_ResVersionConfig_proto_init() { + if File_ResVersionConfig_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ResVersionConfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResVersionConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ResVersionConfig_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ResVersionConfig_proto_goTypes, + DependencyIndexes: file_ResVersionConfig_proto_depIdxs, + MessageInfos: file_ResVersionConfig_proto_msgTypes, + }.Build() + File_ResVersionConfig_proto = out.File + file_ResVersionConfig_proto_rawDesc = nil + file_ResVersionConfig_proto_goTypes = nil + file_ResVersionConfig_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ResVersionConfig.proto b/gate-hk4e-api/proto/ResVersionConfig.proto new file mode 100644 index 00000000..d8114d74 --- /dev/null +++ b/gate-hk4e-api/proto/ResVersionConfig.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ResVersionConfig { + uint32 version = 1; + bool relogin = 2; + string md5 = 3; + string release_total_size = 4; + string version_suffix = 5; + string branch = 6; + string next_script_version = 7; +} diff --git a/gate-hk4e-api/proto/ResinCardData.pb.go b/gate-hk4e-api/proto/ResinCardData.pb.go new file mode 100644 index 00000000..d94a4435 --- /dev/null +++ b/gate-hk4e-api/proto/ResinCardData.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ResinCardData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ResinCardData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemainRewardDays uint32 `protobuf:"varint,3,opt,name=remain_reward_days,json=remainRewardDays,proto3" json:"remain_reward_days,omitempty"` + ExpireTime uint32 `protobuf:"varint,12,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + LastDailyRewardTime uint32 `protobuf:"varint,2,opt,name=last_daily_reward_time,json=lastDailyRewardTime,proto3" json:"last_daily_reward_time,omitempty"` + ConfigId uint32 `protobuf:"varint,7,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *ResinCardData) Reset() { + *x = ResinCardData{} + if protoimpl.UnsafeEnabled { + mi := &file_ResinCardData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResinCardData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResinCardData) ProtoMessage() {} + +func (x *ResinCardData) ProtoReflect() protoreflect.Message { + mi := &file_ResinCardData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResinCardData.ProtoReflect.Descriptor instead. +func (*ResinCardData) Descriptor() ([]byte, []int) { + return file_ResinCardData_proto_rawDescGZIP(), []int{0} +} + +func (x *ResinCardData) GetRemainRewardDays() uint32 { + if x != nil { + return x.RemainRewardDays + } + return 0 +} + +func (x *ResinCardData) GetExpireTime() uint32 { + if x != nil { + return x.ExpireTime + } + return 0 +} + +func (x *ResinCardData) GetLastDailyRewardTime() uint32 { + if x != nil { + return x.LastDailyRewardTime + } + return 0 +} + +func (x *ResinCardData) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_ResinCardData_proto protoreflect.FileDescriptor + +var file_ResinCardData_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x61, 0x69, + 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, + 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x61, 0x69, 0x6c, + 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ResinCardData_proto_rawDescOnce sync.Once + file_ResinCardData_proto_rawDescData = file_ResinCardData_proto_rawDesc +) + +func file_ResinCardData_proto_rawDescGZIP() []byte { + file_ResinCardData_proto_rawDescOnce.Do(func() { + file_ResinCardData_proto_rawDescData = protoimpl.X.CompressGZIP(file_ResinCardData_proto_rawDescData) + }) + return file_ResinCardData_proto_rawDescData +} + +var file_ResinCardData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ResinCardData_proto_goTypes = []interface{}{ + (*ResinCardData)(nil), // 0: ResinCardData +} +var file_ResinCardData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ResinCardData_proto_init() } +func file_ResinCardData_proto_init() { + if File_ResinCardData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ResinCardData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResinCardData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ResinCardData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ResinCardData_proto_goTypes, + DependencyIndexes: file_ResinCardData_proto_depIdxs, + MessageInfos: file_ResinCardData_proto_msgTypes, + }.Build() + File_ResinCardData_proto = out.File + file_ResinCardData_proto_rawDesc = nil + file_ResinCardData_proto_goTypes = nil + file_ResinCardData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ResinCardData.proto b/gate-hk4e-api/proto/ResinCardData.proto new file mode 100644 index 00000000..3c1f5cf7 --- /dev/null +++ b/gate-hk4e-api/proto/ResinCardData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ResinCardData { + uint32 remain_reward_days = 3; + uint32 expire_time = 12; + uint32 last_daily_reward_time = 2; + uint32 config_id = 7; +} diff --git a/gate-hk4e-api/proto/ResinCardDataUpdateNotify.pb.go b/gate-hk4e-api/proto/ResinCardDataUpdateNotify.pb.go new file mode 100644 index 00000000..e784d0c7 --- /dev/null +++ b/gate-hk4e-api/proto/ResinCardDataUpdateNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ResinCardDataUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4149 +// EnetChannelId: 0 +// EnetIsReliable: true +type ResinCardDataUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TodayStartTime uint32 `protobuf:"varint,6,opt,name=today_start_time,json=todayStartTime,proto3" json:"today_start_time,omitempty"` + CardDataList []*ResinCardData `protobuf:"bytes,2,rep,name=card_data_list,json=cardDataList,proto3" json:"card_data_list,omitempty"` +} + +func (x *ResinCardDataUpdateNotify) Reset() { + *x = ResinCardDataUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ResinCardDataUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResinCardDataUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResinCardDataUpdateNotify) ProtoMessage() {} + +func (x *ResinCardDataUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ResinCardDataUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResinCardDataUpdateNotify.ProtoReflect.Descriptor instead. +func (*ResinCardDataUpdateNotify) Descriptor() ([]byte, []int) { + return file_ResinCardDataUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ResinCardDataUpdateNotify) GetTodayStartTime() uint32 { + if x != nil { + return x.TodayStartTime + } + return 0 +} + +func (x *ResinCardDataUpdateNotify) GetCardDataList() []*ResinCardData { + if x != nil { + return x.CardDataList + } + return nil +} + +var File_ResinCardDataUpdateNotify_proto protoreflect.FileDescriptor + +var file_ResinCardDataUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, + 0x6f, 0x64, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a, + 0x0e, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x63, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ResinCardDataUpdateNotify_proto_rawDescOnce sync.Once + file_ResinCardDataUpdateNotify_proto_rawDescData = file_ResinCardDataUpdateNotify_proto_rawDesc +) + +func file_ResinCardDataUpdateNotify_proto_rawDescGZIP() []byte { + file_ResinCardDataUpdateNotify_proto_rawDescOnce.Do(func() { + file_ResinCardDataUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ResinCardDataUpdateNotify_proto_rawDescData) + }) + return file_ResinCardDataUpdateNotify_proto_rawDescData +} + +var file_ResinCardDataUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ResinCardDataUpdateNotify_proto_goTypes = []interface{}{ + (*ResinCardDataUpdateNotify)(nil), // 0: ResinCardDataUpdateNotify + (*ResinCardData)(nil), // 1: ResinCardData +} +var file_ResinCardDataUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: ResinCardDataUpdateNotify.card_data_list:type_name -> ResinCardData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ResinCardDataUpdateNotify_proto_init() } +func file_ResinCardDataUpdateNotify_proto_init() { + if File_ResinCardDataUpdateNotify_proto != nil { + return + } + file_ResinCardData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ResinCardDataUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResinCardDataUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ResinCardDataUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ResinCardDataUpdateNotify_proto_goTypes, + DependencyIndexes: file_ResinCardDataUpdateNotify_proto_depIdxs, + MessageInfos: file_ResinCardDataUpdateNotify_proto_msgTypes, + }.Build() + File_ResinCardDataUpdateNotify_proto = out.File + file_ResinCardDataUpdateNotify_proto_rawDesc = nil + file_ResinCardDataUpdateNotify_proto_goTypes = nil + file_ResinCardDataUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ResinCardDataUpdateNotify.proto b/gate-hk4e-api/proto/ResinCardDataUpdateNotify.proto new file mode 100644 index 00000000..84717eea --- /dev/null +++ b/gate-hk4e-api/proto/ResinCardDataUpdateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ResinCardData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4149 +// EnetChannelId: 0 +// EnetIsReliable: true +message ResinCardDataUpdateNotify { + uint32 today_start_time = 6; + repeated ResinCardData card_data_list = 2; +} diff --git a/gate-hk4e-api/proto/ResinChangeNotify.pb.go b/gate-hk4e-api/proto/ResinChangeNotify.pb.go new file mode 100644 index 00000000..e2009faa --- /dev/null +++ b/gate-hk4e-api/proto/ResinChangeNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ResinChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 642 +// EnetChannelId: 0 +// EnetIsReliable: true +type ResinChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextAddTimestamp uint32 `protobuf:"varint,6,opt,name=next_add_timestamp,json=nextAddTimestamp,proto3" json:"next_add_timestamp,omitempty"` + CurBuyCount uint32 `protobuf:"varint,4,opt,name=cur_buy_count,json=curBuyCount,proto3" json:"cur_buy_count,omitempty"` + CurValue uint32 `protobuf:"varint,12,opt,name=cur_value,json=curValue,proto3" json:"cur_value,omitempty"` +} + +func (x *ResinChangeNotify) Reset() { + *x = ResinChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ResinChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResinChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResinChangeNotify) ProtoMessage() {} + +func (x *ResinChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ResinChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResinChangeNotify.ProtoReflect.Descriptor instead. +func (*ResinChangeNotify) Descriptor() ([]byte, []int) { + return file_ResinChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ResinChangeNotify) GetNextAddTimestamp() uint32 { + if x != nil { + return x.NextAddTimestamp + } + return 0 +} + +func (x *ResinChangeNotify) GetCurBuyCount() uint32 { + if x != nil { + return x.CurBuyCount + } + return 0 +} + +func (x *ResinChangeNotify) GetCurValue() uint32 { + if x != nil { + return x.CurValue + } + return 0 +} + +var File_ResinChangeNotify_proto protoreflect.FileDescriptor + +var file_ResinChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x52, 0x65, + 0x73, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6e, 0x65, 0x78, + 0x74, 0x41, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x22, 0x0a, + 0x0d, 0x63, 0x75, 0x72, 0x5f, 0x62, 0x75, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x42, 0x75, 0x79, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ResinChangeNotify_proto_rawDescOnce sync.Once + file_ResinChangeNotify_proto_rawDescData = file_ResinChangeNotify_proto_rawDesc +) + +func file_ResinChangeNotify_proto_rawDescGZIP() []byte { + file_ResinChangeNotify_proto_rawDescOnce.Do(func() { + file_ResinChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ResinChangeNotify_proto_rawDescData) + }) + return file_ResinChangeNotify_proto_rawDescData +} + +var file_ResinChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ResinChangeNotify_proto_goTypes = []interface{}{ + (*ResinChangeNotify)(nil), // 0: ResinChangeNotify +} +var file_ResinChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ResinChangeNotify_proto_init() } +func file_ResinChangeNotify_proto_init() { + if File_ResinChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ResinChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResinChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ResinChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ResinChangeNotify_proto_goTypes, + DependencyIndexes: file_ResinChangeNotify_proto_depIdxs, + MessageInfos: file_ResinChangeNotify_proto_msgTypes, + }.Build() + File_ResinChangeNotify_proto = out.File + file_ResinChangeNotify_proto_rawDesc = nil + file_ResinChangeNotify_proto_goTypes = nil + file_ResinChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ResinChangeNotify.proto b/gate-hk4e-api/proto/ResinChangeNotify.proto new file mode 100644 index 00000000..d2ce3e6b --- /dev/null +++ b/gate-hk4e-api/proto/ResinChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 642 +// EnetChannelId: 0 +// EnetIsReliable: true +message ResinChangeNotify { + uint32 next_add_timestamp = 6; + uint32 cur_buy_count = 4; + uint32 cur_value = 12; +} diff --git a/gate-hk4e-api/proto/ResinCostType.pb.go b/gate-hk4e-api/proto/ResinCostType.pb.go new file mode 100644 index 00000000..f78a496e --- /dev/null +++ b/gate-hk4e-api/proto/ResinCostType.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ResinCostType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ResinCostType int32 + +const ( + ResinCostType_RESIN_COST_TYPE_NONE ResinCostType = 0 + ResinCostType_RESIN_COST_TYPE_NORMAL ResinCostType = 1 + ResinCostType_RESIN_COST_TYPE_CONDENSE ResinCostType = 2 + ResinCostType_RESIN_COST_TYPE_REUNION_PRIVILEGE ResinCostType = 3 + ResinCostType_RESIN_COST_TYPE_OP_ACTIVITY ResinCostType = 4 + ResinCostType_RESIN_COST_TYPE_MATERIAL ResinCostType = 5 +) + +// Enum value maps for ResinCostType. +var ( + ResinCostType_name = map[int32]string{ + 0: "RESIN_COST_TYPE_NONE", + 1: "RESIN_COST_TYPE_NORMAL", + 2: "RESIN_COST_TYPE_CONDENSE", + 3: "RESIN_COST_TYPE_REUNION_PRIVILEGE", + 4: "RESIN_COST_TYPE_OP_ACTIVITY", + 5: "RESIN_COST_TYPE_MATERIAL", + } + ResinCostType_value = map[string]int32{ + "RESIN_COST_TYPE_NONE": 0, + "RESIN_COST_TYPE_NORMAL": 1, + "RESIN_COST_TYPE_CONDENSE": 2, + "RESIN_COST_TYPE_REUNION_PRIVILEGE": 3, + "RESIN_COST_TYPE_OP_ACTIVITY": 4, + "RESIN_COST_TYPE_MATERIAL": 5, + } +) + +func (x ResinCostType) Enum() *ResinCostType { + p := new(ResinCostType) + *p = x + return p +} + +func (x ResinCostType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResinCostType) Descriptor() protoreflect.EnumDescriptor { + return file_ResinCostType_proto_enumTypes[0].Descriptor() +} + +func (ResinCostType) Type() protoreflect.EnumType { + return &file_ResinCostType_proto_enumTypes[0] +} + +func (x ResinCostType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResinCostType.Descriptor instead. +func (ResinCostType) EnumDescriptor() ([]byte, []int) { + return file_ResinCostType_proto_rawDescGZIP(), []int{0} +} + +var File_ResinCostType_proto protoreflect.FileDescriptor + +var file_ResinCostType_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x6f, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x49, 0x4e, + 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x1c, 0x0a, + 0x18, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x45, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x52, + 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, + 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, + 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x53, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x50, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, + 0x59, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x53, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x10, + 0x05, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ResinCostType_proto_rawDescOnce sync.Once + file_ResinCostType_proto_rawDescData = file_ResinCostType_proto_rawDesc +) + +func file_ResinCostType_proto_rawDescGZIP() []byte { + file_ResinCostType_proto_rawDescOnce.Do(func() { + file_ResinCostType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ResinCostType_proto_rawDescData) + }) + return file_ResinCostType_proto_rawDescData +} + +var file_ResinCostType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ResinCostType_proto_goTypes = []interface{}{ + (ResinCostType)(0), // 0: ResinCostType +} +var file_ResinCostType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ResinCostType_proto_init() } +func file_ResinCostType_proto_init() { + if File_ResinCostType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ResinCostType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ResinCostType_proto_goTypes, + DependencyIndexes: file_ResinCostType_proto_depIdxs, + EnumInfos: file_ResinCostType_proto_enumTypes, + }.Build() + File_ResinCostType_proto = out.File + file_ResinCostType_proto_rawDesc = nil + file_ResinCostType_proto_goTypes = nil + file_ResinCostType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ResinCostType.proto b/gate-hk4e-api/proto/ResinCostType.proto new file mode 100644 index 00000000..3047693c --- /dev/null +++ b/gate-hk4e-api/proto/ResinCostType.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ResinCostType { + RESIN_COST_TYPE_NONE = 0; + RESIN_COST_TYPE_NORMAL = 1; + RESIN_COST_TYPE_CONDENSE = 2; + RESIN_COST_TYPE_REUNION_PRIVILEGE = 3; + RESIN_COST_TYPE_OP_ACTIVITY = 4; + RESIN_COST_TYPE_MATERIAL = 5; +} diff --git a/gate-hk4e-api/proto/RestartEffigyChallengeReq.pb.go b/gate-hk4e-api/proto/RestartEffigyChallengeReq.pb.go new file mode 100644 index 00000000..5bab845a --- /dev/null +++ b/gate-hk4e-api/proto/RestartEffigyChallengeReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RestartEffigyChallengeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RestartEffigyChallengeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RestartEffigyChallengeReq) Reset() { + *x = RestartEffigyChallengeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RestartEffigyChallengeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartEffigyChallengeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartEffigyChallengeReq) ProtoMessage() {} + +func (x *RestartEffigyChallengeReq) ProtoReflect() protoreflect.Message { + mi := &file_RestartEffigyChallengeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartEffigyChallengeReq.ProtoReflect.Descriptor instead. +func (*RestartEffigyChallengeReq) Descriptor() ([]byte, []int) { + return file_RestartEffigyChallengeReq_proto_rawDescGZIP(), []int{0} +} + +var File_RestartEffigyChallengeReq_proto protoreflect.FileDescriptor + +var file_RestartEffigyChallengeReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_RestartEffigyChallengeReq_proto_rawDescOnce sync.Once + file_RestartEffigyChallengeReq_proto_rawDescData = file_RestartEffigyChallengeReq_proto_rawDesc +) + +func file_RestartEffigyChallengeReq_proto_rawDescGZIP() []byte { + file_RestartEffigyChallengeReq_proto_rawDescOnce.Do(func() { + file_RestartEffigyChallengeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RestartEffigyChallengeReq_proto_rawDescData) + }) + return file_RestartEffigyChallengeReq_proto_rawDescData +} + +var file_RestartEffigyChallengeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RestartEffigyChallengeReq_proto_goTypes = []interface{}{ + (*RestartEffigyChallengeReq)(nil), // 0: RestartEffigyChallengeReq +} +var file_RestartEffigyChallengeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RestartEffigyChallengeReq_proto_init() } +func file_RestartEffigyChallengeReq_proto_init() { + if File_RestartEffigyChallengeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RestartEffigyChallengeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartEffigyChallengeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RestartEffigyChallengeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RestartEffigyChallengeReq_proto_goTypes, + DependencyIndexes: file_RestartEffigyChallengeReq_proto_depIdxs, + MessageInfos: file_RestartEffigyChallengeReq_proto_msgTypes, + }.Build() + File_RestartEffigyChallengeReq_proto = out.File + file_RestartEffigyChallengeReq_proto_rawDesc = nil + file_RestartEffigyChallengeReq_proto_goTypes = nil + file_RestartEffigyChallengeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RestartEffigyChallengeReq.proto b/gate-hk4e-api/proto/RestartEffigyChallengeReq.proto new file mode 100644 index 00000000..48317d55 --- /dev/null +++ b/gate-hk4e-api/proto/RestartEffigyChallengeReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2148 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RestartEffigyChallengeReq {} diff --git a/gate-hk4e-api/proto/RestartEffigyChallengeRsp.pb.go b/gate-hk4e-api/proto/RestartEffigyChallengeRsp.pb.go new file mode 100644 index 00000000..e9a10e12 --- /dev/null +++ b/gate-hk4e-api/proto/RestartEffigyChallengeRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RestartEffigyChallengeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2042 +// EnetChannelId: 0 +// EnetIsReliable: true +type RestartEffigyChallengeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RestartEffigyChallengeRsp) Reset() { + *x = RestartEffigyChallengeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RestartEffigyChallengeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartEffigyChallengeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartEffigyChallengeRsp) ProtoMessage() {} + +func (x *RestartEffigyChallengeRsp) ProtoReflect() protoreflect.Message { + mi := &file_RestartEffigyChallengeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartEffigyChallengeRsp.ProtoReflect.Descriptor instead. +func (*RestartEffigyChallengeRsp) Descriptor() ([]byte, []int) { + return file_RestartEffigyChallengeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RestartEffigyChallengeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RestartEffigyChallengeRsp_proto protoreflect.FileDescriptor + +var file_RestartEffigyChallengeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x35, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RestartEffigyChallengeRsp_proto_rawDescOnce sync.Once + file_RestartEffigyChallengeRsp_proto_rawDescData = file_RestartEffigyChallengeRsp_proto_rawDesc +) + +func file_RestartEffigyChallengeRsp_proto_rawDescGZIP() []byte { + file_RestartEffigyChallengeRsp_proto_rawDescOnce.Do(func() { + file_RestartEffigyChallengeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RestartEffigyChallengeRsp_proto_rawDescData) + }) + return file_RestartEffigyChallengeRsp_proto_rawDescData +} + +var file_RestartEffigyChallengeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RestartEffigyChallengeRsp_proto_goTypes = []interface{}{ + (*RestartEffigyChallengeRsp)(nil), // 0: RestartEffigyChallengeRsp +} +var file_RestartEffigyChallengeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RestartEffigyChallengeRsp_proto_init() } +func file_RestartEffigyChallengeRsp_proto_init() { + if File_RestartEffigyChallengeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RestartEffigyChallengeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartEffigyChallengeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RestartEffigyChallengeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RestartEffigyChallengeRsp_proto_goTypes, + DependencyIndexes: file_RestartEffigyChallengeRsp_proto_depIdxs, + MessageInfos: file_RestartEffigyChallengeRsp_proto_msgTypes, + }.Build() + File_RestartEffigyChallengeRsp_proto = out.File + file_RestartEffigyChallengeRsp_proto_rawDesc = nil + file_RestartEffigyChallengeRsp_proto_goTypes = nil + file_RestartEffigyChallengeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RestartEffigyChallengeRsp.proto b/gate-hk4e-api/proto/RestartEffigyChallengeRsp.proto new file mode 100644 index 00000000..acf32166 --- /dev/null +++ b/gate-hk4e-api/proto/RestartEffigyChallengeRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2042 +// EnetChannelId: 0 +// EnetIsReliable: true +message RestartEffigyChallengeRsp { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Retcode.pb.go b/gate-hk4e-api/proto/Retcode.pb.go new file mode 100644 index 00000000..bbb72fcd --- /dev/null +++ b/gate-hk4e-api/proto/Retcode.pb.go @@ -0,0 +1,5998 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Retcode.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Retcode int32 + +const ( + Retcode_RETCODE_RET_SUCC Retcode = 0 + Retcode_RETCODE_RET_FAIL Retcode = -1 + Retcode_RETCODE_RET_SVR_ERROR Retcode = 1 + Retcode_RETCODE_RET_UNKNOWN_ERROR Retcode = 2 + Retcode_RETCODE_RET_FREQUENT Retcode = 3 + Retcode_RETCODE_RET_NODE_FORWARD_ERROR Retcode = 4 + Retcode_RETCODE_RET_NOT_FOUND_CONFIG Retcode = 5 + Retcode_RETCODE_RET_SYSTEM_BUSY Retcode = 6 + Retcode_RETCODE_RET_GM_UID_BIND Retcode = 7 + Retcode_RETCODE_RET_FORBIDDEN Retcode = 8 + Retcode_RETCODE_RET_STOP_REGISTER Retcode = 10 + Retcode_RETCODE_RET_STOP_SERVER Retcode = 11 + Retcode_RETCODE_RET_ACCOUNT_VEIRFY_ERROR Retcode = 12 + Retcode_RETCODE_RET_ACCOUNT_FREEZE Retcode = 13 + Retcode_RETCODE_RET_REPEAT_LOGIN Retcode = 14 + Retcode_RETCODE_RET_CLIENT_VERSION_ERROR Retcode = 15 + Retcode_RETCODE_RET_TOKEN_ERROR Retcode = 16 + Retcode_RETCODE_RET_ACCOUNT_NOT_EXIST Retcode = 17 + Retcode_RETCODE_RET_WAIT_OTHER_LOGIN Retcode = 18 + Retcode_RETCODE_RET_ANOTHER_LOGIN Retcode = 19 + Retcode_RETCODE_RET_CLIENT_FORCE_UPDATE Retcode = 20 + Retcode_RETCODE_RET_BLACK_UID Retcode = 21 + Retcode_RETCODE_RET_LOGIN_DB_FAIL Retcode = 22 + Retcode_RETCODE_RET_LOGIN_INIT_FAIL Retcode = 23 + Retcode_RETCODE_RET_MYSQL_DUPLICATE Retcode = 24 + Retcode_RETCODE_RET_MAX_PLAYER Retcode = 25 + Retcode_RETCODE_RET_ANTI_ADDICT Retcode = 26 + Retcode_RETCODE_RET_PS_PLAYER_WITHOUT_ONLINE_ID Retcode = 27 + Retcode_RETCODE_RET_ONLINE_ID_NOT_FOUND Retcode = 28 + Retcode_RETCODE_RET_ONLNE_ID_NOT_MATCH Retcode = 29 + Retcode_RETCODE_RET_REGISTER_IS_FULL Retcode = 30 + Retcode_RETCODE_RET_CHECKSUM_INVALID Retcode = 31 + Retcode_RETCODE_RET_BLACK_REGISTER_IP Retcode = 32 + Retcode_RETCODE_RET_EXCEED_REGISTER_RATE Retcode = 33 + Retcode_RETCODE_RET_UNKNOWN_PLATFORM Retcode = 34 + Retcode_RETCODE_RET_TOKEN_PARAM_ERROR Retcode = 35 + Retcode_RETCODE_RET_ANTI_OFFLINE_ERROR Retcode = 36 + Retcode_RETCODE_RET_BLACK_LOGIN_IP Retcode = 37 + Retcode_RETCODE_RET_GET_TOKEN_SESSION_HAS_UID Retcode = 38 + Retcode_RETCODE_RET_ENVIRONMENT_ERROR Retcode = 39 + Retcode_RETCODE_RET_CHECK_CLIENT_VERSION_HASH_FAIL Retcode = 40 + Retcode_RETCODE_RET_MINOR_REGISTER_FOBIDDEN Retcode = 41 + Retcode_RETCODE_RET_SECURITY_LIBRARY_ERROR Retcode = 42 + Retcode_RETCODE_RET_AVATAR_IN_CD Retcode = 101 + Retcode_RETCODE_RET_AVATAR_NOT_ALIVE Retcode = 102 + Retcode_RETCODE_RET_AVATAR_NOT_ON_SCENE Retcode = 103 + Retcode_RETCODE_RET_CAN_NOT_FIND_AVATAR Retcode = 104 + Retcode_RETCODE_RET_CAN_NOT_DEL_CUR_AVATAR Retcode = 105 + Retcode_RETCODE_RET_DUPLICATE_AVATAR Retcode = 106 + Retcode_RETCODE_RET_AVATAR_IS_SAME_ONE Retcode = 107 + Retcode_RETCODE_RET_AVATAR_LEVEL_LESS_THAN Retcode = 108 + Retcode_RETCODE_RET_AVATAR_CAN_NOT_CHANGE_ELEMENT Retcode = 109 + Retcode_RETCODE_RET_AVATAR_BREAK_LEVEL_LESS_THAN Retcode = 110 + Retcode_RETCODE_RET_AVATAR_ON_MAX_BREAK_LEVEL Retcode = 111 + Retcode_RETCODE_RET_AVATAR_ID_ALREADY_EXIST Retcode = 112 + Retcode_RETCODE_RET_AVATAR_NOT_DEAD Retcode = 113 + Retcode_RETCODE_RET_AVATAR_IS_REVIVING Retcode = 114 + Retcode_RETCODE_RET_AVATAR_ID_ERROR Retcode = 115 + Retcode_RETCODE_RET_REPEAT_SET_PLAYER_BORN_DATA Retcode = 116 + Retcode_RETCODE_RET_PLAYER_LEVEL_LESS_THAN Retcode = 117 + Retcode_RETCODE_RET_AVATAR_LIMIT_LEVEL_ERROR Retcode = 118 + Retcode_RETCODE_RET_CUR_AVATAR_NOT_ALIVE Retcode = 119 + Retcode_RETCODE_RET_CAN_NOT_FIND_TEAM Retcode = 120 + Retcode_RETCODE_RET_CAN_NOT_FIND_CUR_TEAM Retcode = 121 + Retcode_RETCODE_RET_AVATAR_NOT_EXIST_IN_TEAM Retcode = 122 + Retcode_RETCODE_RET_CAN_NOT_REMOVE_CUR_AVATAR_FROM_TEAM Retcode = 123 + Retcode_RETCODE_RET_CAN_NOT_USE_REVIVE_ITEM_FOR_CUR_AVATAR Retcode = 124 + Retcode_RETCODE_RET_TEAM_COST_EXCEED_LIMIT Retcode = 125 + Retcode_RETCODE_RET_TEAM_AVATAR_IN_EXPEDITION Retcode = 126 + Retcode_RETCODE_RET_TEAM_CAN_NOT_CHOSE_REPLACE_USE Retcode = 127 + Retcode_RETCODE_RET_AVATAR_IN_COMBAT Retcode = 128 + Retcode_RETCODE_RET_NICKNAME_UTF8_ERROR Retcode = 130 + Retcode_RETCODE_RET_NICKNAME_TOO_LONG Retcode = 131 + Retcode_RETCODE_RET_NICKNAME_WORD_ILLEGAL Retcode = 132 + Retcode_RETCODE_RET_NICKNAME_TOO_MANY_DIGITS Retcode = 133 + Retcode_RETCODE_RET_NICKNAME_IS_EMPTY Retcode = 134 + Retcode_RETCODE_RET_NICKNAME_MONTHLY_LIMIT Retcode = 135 + Retcode_RETCODE_RET_NICKNAME_NOT_CHANGED Retcode = 136 + Retcode_RETCODE_RET_PLAYER_NOT_ONLINE Retcode = 140 + Retcode_RETCODE_RET_OPEN_STATE_NOT_OPEN Retcode = 141 + Retcode_RETCODE_RET_FEATURE_CLOSED Retcode = 142 + Retcode_RETCODE_RET_AVATAR_EXPEDITION_AVATAR_DIE Retcode = 152 + Retcode_RETCODE_RET_AVATAR_EXPEDITION_COUNT_LIMIT Retcode = 153 + Retcode_RETCODE_RET_AVATAR_EXPEDITION_MAIN_FORBID Retcode = 154 + Retcode_RETCODE_RET_AVATAR_EXPEDITION_TRIAL_FORBID Retcode = 155 + Retcode_RETCODE_RET_TEAM_NAME_ILLEGAL Retcode = 156 + Retcode_RETCODE_RET_IS_NOT_IN_STANDBY Retcode = 157 + Retcode_RETCODE_RET_IS_IN_DUNGEON Retcode = 158 + Retcode_RETCODE_RET_IS_IN_LOCK_AVATAR_QUEST Retcode = 159 + Retcode_RETCODE_RET_IS_USING_TRIAL_AVATAR Retcode = 160 + Retcode_RETCODE_RET_IS_USING_TEMP_AVATAR Retcode = 161 + Retcode_RETCODE_RET_NOT_HAS_FLYCLOAK Retcode = 162 + Retcode_RETCODE_RET_FETTER_REWARD_ALREADY_GOT Retcode = 163 + Retcode_RETCODE_RET_FETTER_REWARD_LEVEL_NOT_ENOUGH Retcode = 164 + Retcode_RETCODE_RET_WORLD_LEVEL_ADJUST_MIN_LEVEL Retcode = 165 + Retcode_RETCODE_RET_WORLD_LEVEL_ADJUST_CD Retcode = 166 + Retcode_RETCODE_RET_NOT_HAS_COSTUME Retcode = 167 + Retcode_RETCODE_RET_COSTUME_AVATAR_ERROR Retcode = 168 + Retcode_RETCODE_RET_FLYCLOAK_PLATFORM_TYPE_ERR Retcode = 169 + Retcode_RETCODE_RET_IN_TRANSFER Retcode = 170 + Retcode_RETCODE_RET_IS_IN_LOCK_AVATAR Retcode = 171 + Retcode_RETCODE_RET_FULL_BACKUP_TEAM Retcode = 172 + Retcode_RETCODE_RET_BACKUP_TEAM_ID_NOT_VALID Retcode = 173 + Retcode_RETCODE_RET_BACKUP_TEAM_IS_CUR_TEAM Retcode = 174 + Retcode_RETCODE_RET_FLOAT_ERROR Retcode = 201 + Retcode_RETCODE_RET_NPC_NOT_EXIST Retcode = 301 + Retcode_RETCODE_RET_NPC_TOO_FAR Retcode = 302 + Retcode_RETCODE_RET_NOT_CURRENT_TALK Retcode = 303 + Retcode_RETCODE_RET_NPC_CREATE_FAIL Retcode = 304 + Retcode_RETCODE_RET_NPC_MOVE_FAIL Retcode = 305 + Retcode_RETCODE_RET_QUEST_NOT_EXIST Retcode = 401 + Retcode_RETCODE_RET_QUEST_IS_FAIL Retcode = 402 + Retcode_RETCODE_RET_QUEST_CONTENT_ERROR Retcode = 403 + Retcode_RETCODE_RET_BARGAIN_NOT_ACTIVATED Retcode = 404 + Retcode_RETCODE_RET_BARGAIN_FINISHED Retcode = 405 + Retcode_RETCODE_RET_INFERENCE_ASSOCIATE_WORD_ERROR Retcode = 406 + Retcode_RETCODE_RET_INFERENCE_SUBMIT_WORD_NO_CONCLUSION Retcode = 407 + Retcode_RETCODE_RET_POINT_NOT_UNLOCKED Retcode = 501 + Retcode_RETCODE_RET_POINT_TOO_FAR Retcode = 502 + Retcode_RETCODE_RET_POINT_ALREAY_UNLOCKED Retcode = 503 + Retcode_RETCODE_RET_ENTITY_NOT_EXIST Retcode = 504 + Retcode_RETCODE_RET_ENTER_SCENE_FAIL Retcode = 505 + Retcode_RETCODE_RET_PLAYER_IS_ENTER_SCENE Retcode = 506 + Retcode_RETCODE_RET_CITY_MAX_LEVEL Retcode = 507 + Retcode_RETCODE_RET_AREA_LOCKED Retcode = 508 + Retcode_RETCODE_RET_JOIN_OTHER_WAIT Retcode = 509 + Retcode_RETCODE_RET_WEATHER_AREA_NOT_FOUND Retcode = 510 + Retcode_RETCODE_RET_WEATHER_IS_LOCKED Retcode = 511 + Retcode_RETCODE_RET_NOT_IN_SELF_SCENE Retcode = 512 + Retcode_RETCODE_RET_GROUP_NOT_EXIST Retcode = 513 + Retcode_RETCODE_RET_MARK_NAME_ILLEGAL Retcode = 514 + Retcode_RETCODE_RET_MARK_ALREADY_EXISTS Retcode = 515 + Retcode_RETCODE_RET_MARK_OVERFLOW Retcode = 516 + Retcode_RETCODE_RET_MARK_NOT_EXISTS Retcode = 517 + Retcode_RETCODE_RET_MARK_UNKNOWN_TYPE Retcode = 518 + Retcode_RETCODE_RET_MARK_NAME_TOO_LONG Retcode = 519 + Retcode_RETCODE_RET_DISTANCE_LONG Retcode = 520 + Retcode_RETCODE_RET_ENTER_SCENE_TOKEN_INVALID Retcode = 521 + Retcode_RETCODE_RET_NOT_IN_WORLD_SCENE Retcode = 522 + Retcode_RETCODE_RET_ANY_GALLERY_STARTED Retcode = 523 + Retcode_RETCODE_RET_GALLERY_NOT_START Retcode = 524 + Retcode_RETCODE_RET_GALLERY_INTERRUPT_ONLY_ON_SINGLE_MODE Retcode = 525 + Retcode_RETCODE_RET_GALLERY_CANNOT_INTERRUPT Retcode = 526 + Retcode_RETCODE_RET_GALLERY_WORLD_NOT_MEET Retcode = 527 + Retcode_RETCODE_RET_GALLERY_SCENE_NOT_MEET Retcode = 528 + Retcode_RETCODE_RET_CUR_PLAY_CANNOT_TRANSFER Retcode = 529 + Retcode_RETCODE_RET_CANT_USE_WIDGET_IN_HOME_SCENE Retcode = 530 + Retcode_RETCODE_RET_SCENE_GROUP_NOT_MATCH Retcode = 531 + Retcode_RETCODE_RET_POS_ROT_INVALID Retcode = 551 + Retcode_RETCODE_RET_MARK_INVALID_SCENE_ID Retcode = 552 + Retcode_RETCODE_RET_INVALID_SCENE_TO_USE_ANCHOR_POINT Retcode = 553 + Retcode_RETCODE_RET_ENTER_HOME_SCENE_FAIL Retcode = 554 + Retcode_RETCODE_RET_CUR_SCENE_IS_NULL Retcode = 555 + Retcode_RETCODE_RET_GROUP_ID_ERROR Retcode = 556 + Retcode_RETCODE_RET_GALLERY_INTERRUPT_NOT_OWNER Retcode = 557 + Retcode_RETCODE_RET_NO_SPRING_IN_AREA Retcode = 558 + Retcode_RETCODE_RET_AREA_NOT_IN_SCENE Retcode = 559 + Retcode_RETCODE_RET_INVALID_CITY_ID Retcode = 560 + Retcode_RETCODE_RET_INVALID_SCENE_ID Retcode = 561 + Retcode_RETCODE_RET_DEST_SCENE_IS_NOT_ALLOW Retcode = 562 + Retcode_RETCODE_RET_LEVEL_TAG_SWITCH_IN_CD Retcode = 563 + Retcode_RETCODE_RET_LEVEL_TAG_ALREADY_EXIST Retcode = 564 + Retcode_RETCODE_RET_INVALID_AREA_ID Retcode = 565 + Retcode_RETCODE_RET_ITEM_NOT_EXIST Retcode = 601 + Retcode_RETCODE_RET_PACK_EXCEED_MAX_WEIGHT Retcode = 602 + Retcode_RETCODE_RET_ITEM_NOT_DROPABLE Retcode = 603 + Retcode_RETCODE_RET_ITEM_NOT_USABLE Retcode = 604 + Retcode_RETCODE_RET_ITEM_INVALID_USE_COUNT Retcode = 605 + Retcode_RETCODE_RET_ITEM_INVALID_DROP_COUNT Retcode = 606 + Retcode_RETCODE_RET_ITEM_ALREADY_EXIST Retcode = 607 + Retcode_RETCODE_RET_ITEM_IN_COOLDOWN Retcode = 608 + Retcode_RETCODE_RET_ITEM_COUNT_NOT_ENOUGH Retcode = 609 + Retcode_RETCODE_RET_ITEM_INVALID_TARGET Retcode = 610 + Retcode_RETCODE_RET_RECIPE_NOT_EXIST Retcode = 611 + Retcode_RETCODE_RET_RECIPE_LOCKED Retcode = 612 + Retcode_RETCODE_RET_RECIPE_UNLOCKED Retcode = 613 + Retcode_RETCODE_RET_COMPOUND_QUEUE_FULL Retcode = 614 + Retcode_RETCODE_RET_COMPOUND_NOT_FINISH Retcode = 615 + Retcode_RETCODE_RET_MAIL_ITEM_NOT_GET Retcode = 616 + Retcode_RETCODE_RET_ITEM_EXCEED_LIMIT Retcode = 617 + Retcode_RETCODE_RET_AVATAR_CAN_NOT_USE Retcode = 618 + Retcode_RETCODE_RET_ITEM_NEED_PLAYER_LEVEL Retcode = 619 + Retcode_RETCODE_RET_RECIPE_NOT_AUTO_QTE Retcode = 620 + Retcode_RETCODE_RET_COMPOUND_BUSY_QUEUE Retcode = 621 + Retcode_RETCODE_RET_NEED_MORE_SCOIN Retcode = 622 + Retcode_RETCODE_RET_SKILL_DEPOT_NOT_FOUND Retcode = 623 + Retcode_RETCODE_RET_HCOIN_NOT_ENOUGH Retcode = 624 + Retcode_RETCODE_RET_SCOIN_NOT_ENOUGH Retcode = 625 + Retcode_RETCODE_RET_HCOIN_EXCEED_LIMIT Retcode = 626 + Retcode_RETCODE_RET_SCOIN_EXCEED_LIMIT Retcode = 627 + Retcode_RETCODE_RET_MAIL_EXPIRED Retcode = 628 + Retcode_RETCODE_RET_REWARD_HAS_TAKEN Retcode = 629 + Retcode_RETCODE_RET_COMBINE_COUNT_TOO_LARGE Retcode = 630 + Retcode_RETCODE_RET_GIVING_ITEM_WRONG Retcode = 631 + Retcode_RETCODE_RET_GIVING_IS_FINISHED Retcode = 632 + Retcode_RETCODE_RET_GIVING_NOT_ACTIVED Retcode = 633 + Retcode_RETCODE_RET_FORGE_QUEUE_FULL Retcode = 634 + Retcode_RETCODE_RET_FORGE_QUEUE_CAPACITY Retcode = 635 + Retcode_RETCODE_RET_FORGE_QUEUE_NOT_FOUND Retcode = 636 + Retcode_RETCODE_RET_FORGE_QUEUE_EMPTY Retcode = 637 + Retcode_RETCODE_RET_NOT_SUPPORT_ITEM Retcode = 638 + Retcode_RETCODE_RET_ITEM_EMPTY Retcode = 639 + Retcode_RETCODE_RET_VIRTUAL_EXCEED_LIMIT Retcode = 640 + Retcode_RETCODE_RET_MATERIAL_EXCEED_LIMIT Retcode = 641 + Retcode_RETCODE_RET_EQUIP_EXCEED_LIMIT Retcode = 642 + Retcode_RETCODE_RET_ITEM_SHOULD_HAVE_NO_LEVEL Retcode = 643 + Retcode_RETCODE_RET_WEAPON_PROMOTE_LEVEL_EXCEED_LIMIT Retcode = 644 + Retcode_RETCODE_RET_WEAPON_LEVEL_INVALID Retcode = 645 + Retcode_RETCODE_RET_UNKNOW_ITEM_TYPE Retcode = 646 + Retcode_RETCODE_RET_ITEM_COUNT_IS_ZERO Retcode = 647 + Retcode_RETCODE_RET_ITEM_IS_EXPIRED Retcode = 648 + Retcode_RETCODE_RET_ITEM_EXCEED_OUTPUT_LIMIT Retcode = 649 + Retcode_RETCODE_RET_EQUIP_LEVEL_HIGHER Retcode = 650 + Retcode_RETCODE_RET_EQUIP_CAN_NOT_WAKE_OFF_WEAPON Retcode = 651 + Retcode_RETCODE_RET_EQUIP_HAS_BEEN_WEARED Retcode = 652 + Retcode_RETCODE_RET_EQUIP_WEARED_CANNOT_DROP Retcode = 653 + Retcode_RETCODE_RET_AWAKEN_LEVEL_MAX Retcode = 654 + Retcode_RETCODE_RET_MCOIN_NOT_ENOUGH Retcode = 655 + Retcode_RETCODE_RET_MCOIN_EXCEED_LIMIT Retcode = 656 + Retcode_RETCODE_RET_RESIN_NOT_ENOUGH Retcode = 660 + Retcode_RETCODE_RET_RESIN_EXCEED_LIMIT Retcode = 661 + Retcode_RETCODE_RET_RESIN_OPENSTATE_OFF Retcode = 662 + Retcode_RETCODE_RET_RESIN_BOUGHT_COUNT_EXCEEDED Retcode = 663 + Retcode_RETCODE_RET_RESIN_CARD_DAILY_REWARD_HAS_TAKEN Retcode = 664 + Retcode_RETCODE_RET_RESIN_CARD_EXPIRED Retcode = 665 + Retcode_RETCODE_RET_AVATAR_CAN_NOT_COOK Retcode = 666 + Retcode_RETCODE_RET_ATTACH_AVATAR_CD Retcode = 667 + Retcode_RETCODE_RET_AUTO_RECOVER_OPENSTATE_OFF Retcode = 668 + Retcode_RETCODE_RET_AUTO_RECOVER_BOUGHT_COUNT_EXCEEDED Retcode = 669 + Retcode_RETCODE_RET_RESIN_GAIN_FAILED Retcode = 670 + Retcode_RETCODE_RET_WIDGET_ORNAMENTS_TYPE_ERROR Retcode = 671 + Retcode_RETCODE_RET_ALL_TARGET_SATIATION_FULL Retcode = 672 + Retcode_RETCODE_RET_FORGE_WORLD_LEVEL_NOT_MATCH Retcode = 673 + Retcode_RETCODE_RET_FORGE_POINT_NOT_ENOUGH Retcode = 674 + Retcode_RETCODE_RET_WIDGET_ANCHOR_POINT_FULL Retcode = 675 + Retcode_RETCODE_RET_WIDGET_ANCHOR_POINT_NOT_FOUND Retcode = 676 + Retcode_RETCODE_RET_ALL_BONFIRE_EXCEED_MAX_COUNT Retcode = 677 + Retcode_RETCODE_RET_BONFIRE_EXCEED_MAX_COUNT Retcode = 678 + Retcode_RETCODE_RET_LUNCH_BOX_DATA_ERROR Retcode = 679 + Retcode_RETCODE_RET_INVALID_QUICK_USE_WIDGET Retcode = 680 + Retcode_RETCODE_RET_INVALID_REPLACE_RESIN_COUNT Retcode = 681 + Retcode_RETCODE_RET_PREV_DETECTED_GATHER_NOT_FOUND Retcode = 682 + Retcode_RETCODE_RET_GOT_ALL_ONEOFF_GAHTER Retcode = 683 + Retcode_RETCODE_RET_INVALID_WIDGET_MATERIAL_ID Retcode = 684 + Retcode_RETCODE_RET_WIDGET_DETECTOR_NO_HINT_TO_CLEAR Retcode = 685 + Retcode_RETCODE_RET_WIDGET_ALREADY_WITHIN_NEARBY_RADIUS Retcode = 686 + Retcode_RETCODE_RET_WIDGET_CLIENT_COLLECTOR_NEED_POINTS Retcode = 687 + Retcode_RETCODE_RET_WIDGET_IN_COMBAT Retcode = 688 + Retcode_RETCODE_RET_WIDGET_NOT_SET_QUICK_USE Retcode = 689 + Retcode_RETCODE_RET_ALREADY_ATTACH_WIDGET Retcode = 690 + Retcode_RETCODE_RET_EQUIP_IS_LOCKED Retcode = 691 + Retcode_RETCODE_RET_FORGE_IS_LOCKED Retcode = 692 + Retcode_RETCODE_RET_COMBINE_IS_LOCKED Retcode = 693 + Retcode_RETCODE_RET_FORGE_OUTPUT_STACK_LIMIT Retcode = 694 + Retcode_RETCODE_RET_ALREADY_DETTACH_WIDGET Retcode = 695 + Retcode_RETCODE_RET_GADGET_BUILDER_EXCEED_MAX_COUNT Retcode = 696 + Retcode_RETCODE_RET_REUNION_PRIVILEGE_RESIN_TYPE_IS_NORMAL Retcode = 697 + Retcode_RETCODE_RET_BONUS_COUNT_EXCEED_DOUBLE_LIMIT Retcode = 698 + Retcode_RETCODE_RET_RELIQUARY_DECOMPOSE_PARAM_ERROR Retcode = 699 + Retcode_RETCODE_RET_ITEM_COMBINE_COUNT_NOT_ENOUGH Retcode = 700 + Retcode_RETCODE_RET_GOODS_NOT_EXIST Retcode = 701 + Retcode_RETCODE_RET_GOODS_MATERIAL_NOT_ENOUGH Retcode = 702 + Retcode_RETCODE_RET_GOODS_NOT_IN_TIME Retcode = 703 + Retcode_RETCODE_RET_GOODS_BUY_NUM_NOT_ENOUGH Retcode = 704 + Retcode_RETCODE_RET_GOODS_BUY_NUM_ERROR Retcode = 705 + Retcode_RETCODE_RET_SHOP_NOT_OPEN Retcode = 706 + Retcode_RETCODE_RET_SHOP_CONTENT_NOT_MATCH Retcode = 707 + Retcode_RETCODE_RET_CHAT_FORBIDDEN Retcode = 798 + Retcode_RETCODE_RET_CHAT_CD Retcode = 799 + Retcode_RETCODE_RET_CHAT_FREQUENTLY Retcode = 800 + Retcode_RETCODE_RET_GADGET_NOT_EXIST Retcode = 801 + Retcode_RETCODE_RET_GADGET_NOT_INTERACTIVE Retcode = 802 + Retcode_RETCODE_RET_GADGET_NOT_GATHERABLE Retcode = 803 + Retcode_RETCODE_RET_CHEST_IS_LOCKED Retcode = 804 + Retcode_RETCODE_RET_GADGET_CREATE_FAIL Retcode = 805 + Retcode_RETCODE_RET_WORKTOP_OPTION_NOT_EXIST Retcode = 806 + Retcode_RETCODE_RET_GADGET_STATUE_NOT_ACTIVE Retcode = 807 + Retcode_RETCODE_RET_GADGET_STATUE_OPENED Retcode = 808 + Retcode_RETCODE_RET_BOSS_CHEST_NO_QUALIFICATION Retcode = 809 + Retcode_RETCODE_RET_BOSS_CHEST_LIFE_TIME_OVER Retcode = 810 + Retcode_RETCODE_RET_BOSS_CHEST_WEEK_NUM_LIMIT Retcode = 811 + Retcode_RETCODE_RET_BOSS_CHEST_GUEST_WORLD_LEVEL Retcode = 812 + Retcode_RETCODE_RET_BOSS_CHEST_HAS_TAKEN Retcode = 813 + Retcode_RETCODE_RET_BLOSSOM_CHEST_NO_QUALIFICATION Retcode = 814 + Retcode_RETCODE_RET_BLOSSOM_CHEST_LIFE_TIME_OVER Retcode = 815 + Retcode_RETCODE_RET_BLOSSOM_CHEST_HAS_TAKEN Retcode = 816 + Retcode_RETCODE_RET_BLOSSOM_CHEST_GUEST_WORLD_LEVEL Retcode = 817 + Retcode_RETCODE_RET_MP_PLAY_REWARD_NO_QUALIFICATION Retcode = 818 + Retcode_RETCODE_RET_MP_PLAY_REWARD_HAS_TAKEN Retcode = 819 + Retcode_RETCODE_RET_GENERAL_REWARD_NO_QUALIFICATION Retcode = 820 + Retcode_RETCODE_RET_GENERAL_REWARD_LIFE_TIME_OVER Retcode = 821 + Retcode_RETCODE_RET_GENERAL_REWARD_HAS_TAKEN Retcode = 822 + Retcode_RETCODE_RET_GADGET_NOT_VEHICLE Retcode = 823 + Retcode_RETCODE_RET_VEHICLE_SLOT_OCCUPIED Retcode = 824 + Retcode_RETCODE_RET_NOT_IN_VEHICLE Retcode = 825 + Retcode_RETCODE_RET_CREATE_VEHICLE_IN_CD Retcode = 826 + Retcode_RETCODE_RET_CREATE_VEHICLE_POS_INVALID Retcode = 827 + Retcode_RETCODE_RET_VEHICLE_POINT_NOT_UNLOCK Retcode = 828 + Retcode_RETCODE_RET_GADGET_INTERACT_COND_NOT_MEET Retcode = 829 + Retcode_RETCODE_RET_GADGET_INTERACT_PARAM_ERROR Retcode = 830 + Retcode_RETCODE_RET_GADGET_CUSTOM_COMBINATION_INVALID Retcode = 831 + Retcode_RETCODE_RET_DESHRET_OBELISK_DUPLICATE_INTERACT Retcode = 832 + Retcode_RETCODE_RET_DESHRET_OBELISK_NO_AVAIL_CHEST Retcode = 833 + Retcode_RETCODE_RET_ACTIVITY_CLOSE Retcode = 860 + Retcode_RETCODE_RET_ACTIVITY_ITEM_ERROR Retcode = 861 + Retcode_RETCODE_RET_ACTIVITY_CONTRIBUTION_NOT_ENOUGH Retcode = 862 + Retcode_RETCODE_RET_SEA_LAMP_PHASE_NOT_FINISH Retcode = 863 + Retcode_RETCODE_RET_SEA_LAMP_FLY_NUM_LIMIT Retcode = 864 + Retcode_RETCODE_RET_SEA_LAMP_FLY_LAMP_WORD_ILLEGAL Retcode = 865 + Retcode_RETCODE_RET_ACTIVITY_WATCHER_REWARD_TAKEN Retcode = 866 + Retcode_RETCODE_RET_ACTIVITY_WATCHER_REWARD_NOT_FINISHED Retcode = 867 + Retcode_RETCODE_RET_SALESMAN_ALREADY_DELIVERED Retcode = 868 + Retcode_RETCODE_RET_SALESMAN_REWARD_COUNT_NOT_ENOUGH Retcode = 869 + Retcode_RETCODE_RET_SALESMAN_POSITION_INVALID Retcode = 870 + Retcode_RETCODE_RET_DELIVER_NOT_FINISH_ALL_QUEST Retcode = 871 + Retcode_RETCODE_RET_DELIVER_ALREADY_TAKE_DAILY_REWARD Retcode = 872 + Retcode_RETCODE_RET_ASTER_PROGRESS_EXCEED_LIMIT Retcode = 873 + Retcode_RETCODE_RET_ASTER_CREDIT_EXCEED_LIMIT Retcode = 874 + Retcode_RETCODE_RET_ASTER_TOKEN_EXCEED_LIMIT Retcode = 875 + Retcode_RETCODE_RET_ASTER_CREDIT_NOT_ENOUGH Retcode = 876 + Retcode_RETCODE_RET_ASTER_TOKEN_NOT_ENOUGH Retcode = 877 + Retcode_RETCODE_RET_ASTER_SPECIAL_REWARD_HAS_TAKEN Retcode = 878 + Retcode_RETCODE_RET_FLIGHT_GROUP_ACTIVITY_NOT_STARTED Retcode = 879 + Retcode_RETCODE_RET_ASTER_MID_PREVIOUS_BATTLE_NOT_FINISHED Retcode = 880 + Retcode_RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_EXCEED_LIMIT Retcode = 881 + Retcode_RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_EXCEED_LIMIT Retcode = 882 + Retcode_RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_EXCEED_LIMIT Retcode = 883 + Retcode_RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_NOT_ENOUGH Retcode = 884 + Retcode_RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_NOT_ENOUGH Retcode = 885 + Retcode_RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_NOT_ENOUGH Retcode = 886 + Retcode_RETCODE_RET_EFFIGY_FIRST_PASS_REWARD_HAS_TAKEN Retcode = 891 + Retcode_RETCODE_RET_EFFIGY_REWARD_HAS_TAKEN Retcode = 892 + Retcode_RETCODE_RET_TREASURE_MAP_ADD_TOKEN_EXCEED_LIMIT Retcode = 893 + Retcode_RETCODE_RET_TREASURE_MAP_TOKEN_NOT_ENOUGHT Retcode = 894 + Retcode_RETCODE_RET_SEA_LAMP_COIN_EXCEED_LIMIT Retcode = 895 + Retcode_RETCODE_RET_SEA_LAMP_COIN_NOT_ENOUGH Retcode = 896 + Retcode_RETCODE_RET_SEA_LAMP_POPULARITY_EXCEED_LIMIT Retcode = 897 + Retcode_RETCODE_RET_ACTIVITY_AVATAR_REWARD_NOT_OPEN Retcode = 898 + Retcode_RETCODE_RET_ACTIVITY_AVATAR_REWARD_HAS_TAKEN Retcode = 899 + Retcode_RETCODE_RET_ARENA_ACTIVITY_ALREADY_STARTED Retcode = 900 + Retcode_RETCODE_RET_TALENT_ALREAY_UNLOCKED Retcode = 901 + Retcode_RETCODE_RET_PREV_TALENT_NOT_UNLOCKED Retcode = 902 + Retcode_RETCODE_RET_BIG_TALENT_POINT_NOT_ENOUGH Retcode = 903 + Retcode_RETCODE_RET_SMALL_TALENT_POINT_NOT_ENOUGH Retcode = 904 + Retcode_RETCODE_RET_PROUD_SKILL_ALREADY_GOT Retcode = 905 + Retcode_RETCODE_RET_PREV_PROUD_SKILL_NOT_GET Retcode = 906 + Retcode_RETCODE_RET_PROUD_SKILL_MAX_LEVEL Retcode = 907 + Retcode_RETCODE_RET_CANDIDATE_SKILL_DEPOT_ID_NOT_FIND Retcode = 910 + Retcode_RETCODE_RET_SKILL_DEPOT_IS_THE_SAME Retcode = 911 + Retcode_RETCODE_RET_MONSTER_NOT_EXIST Retcode = 1001 + Retcode_RETCODE_RET_MONSTER_CREATE_FAIL Retcode = 1002 + Retcode_RETCODE_RET_DUNGEON_ENTER_FAIL Retcode = 1101 + Retcode_RETCODE_RET_DUNGEON_QUIT_FAIL Retcode = 1102 + Retcode_RETCODE_RET_DUNGEON_ENTER_EXCEED_DAY_COUNT Retcode = 1103 + Retcode_RETCODE_RET_DUNGEON_REVIVE_EXCEED_MAX_COUNT Retcode = 1104 + Retcode_RETCODE_RET_DUNGEON_REVIVE_FAIL Retcode = 1105 + Retcode_RETCODE_RET_DUNGEON_NOT_SUCCEED Retcode = 1106 + Retcode_RETCODE_RET_DUNGEON_CAN_NOT_CANCEL Retcode = 1107 + Retcode_RETCODE_RET_DEST_DUNGEON_SETTLED Retcode = 1108 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_FULL Retcode = 1109 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_DISMISS Retcode = 1110 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_TEAM_NOT_ALL_READY Retcode = 1111 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_TEAM_HAS_REPEAT_AVATAR Retcode = 1112 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_NOT_SINGEL_PASS Retcode = 1113 + Retcode_RETCODE_RET_DUNGEON_REPLAY_NEED_ALL_PLAYER_DIE Retcode = 1114 + Retcode_RETCODE_RET_DUNGEON_REPLAY_HAS_REVIVE_COUNT Retcode = 1115 + Retcode_RETCODE_RET_DUNGEON_OTHERS_LEAVE Retcode = 1116 + Retcode_RETCODE_RET_DUNGEON_ENTER_LEVEL_LIMIT Retcode = 1117 + Retcode_RETCODE_RET_DUNGEON_CANNOT_ENTER_PLOT_IN_MP Retcode = 1118 + Retcode_RETCODE_RET_DUNGEON_DROP_SUBFIELD_LIMIT Retcode = 1119 + Retcode_RETCODE_RET_DUNGEON_BE_INVITE_PLAYER_AVATAR_ALL_DIE Retcode = 1120 + Retcode_RETCODE_RET_DUNGEON_CANNOT_KICK Retcode = 1121 + Retcode_RETCODE_RET_DUNGEON_CANDIDATE_TEAM_SOMEONE_LEVEL_LIMIT Retcode = 1122 + Retcode_RETCODE_RET_DUNGEON_IN_FORCE_QUIT Retcode = 1123 + Retcode_RETCODE_RET_DUNGEON_GUEST_QUIT_DUNGEON Retcode = 1124 + Retcode_RETCODE_RET_DUNGEON_TICKET_FAIL Retcode = 1125 + Retcode_RETCODE_RET_MP_NOT_IN_MY_WORLD Retcode = 1201 + Retcode_RETCODE_RET_MP_IN_MP_MODE Retcode = 1202 + Retcode_RETCODE_RET_MP_SCENE_IS_FULL Retcode = 1203 + Retcode_RETCODE_RET_MP_MODE_NOT_AVAILABLE Retcode = 1204 + Retcode_RETCODE_RET_MP_PLAYER_NOT_ENTERABLE Retcode = 1205 + Retcode_RETCODE_RET_MP_QUEST_BLOCK_MP Retcode = 1206 + Retcode_RETCODE_RET_MP_IN_ROOM_SCENE Retcode = 1207 + Retcode_RETCODE_RET_MP_WORLD_IS_FULL Retcode = 1208 + Retcode_RETCODE_RET_MP_PLAYER_NOT_ALLOW_ENTER Retcode = 1209 + Retcode_RETCODE_RET_MP_PLAYER_DISCONNECTED Retcode = 1210 + Retcode_RETCODE_RET_MP_NOT_IN_MP_MODE Retcode = 1211 + Retcode_RETCODE_RET_MP_OWNER_NOT_ENTER Retcode = 1212 + Retcode_RETCODE_RET_MP_ALLOW_ENTER_PLAYER_FULL Retcode = 1213 + Retcode_RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER Retcode = 1214 + Retcode_RETCODE_RET_MP_TARGET_ENTERING_OTHER Retcode = 1215 + Retcode_RETCODE_RET_MP_OTHER_ENTERING Retcode = 1216 + Retcode_RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_PLOT Retcode = 1217 + Retcode_RETCODE_RET_MP_NOT_PS_PLAYER Retcode = 1218 + Retcode_RETCODE_RET_MP_PLAY_NOT_ACTIVE Retcode = 1219 + Retcode_RETCODE_RET_MP_PLAY_REMAIN_REWARDS Retcode = 1220 + Retcode_RETCODE_RET_MP_PLAY_NO_REWARD Retcode = 1221 + Retcode_RETCODE_RET_MP_OPEN_STATE_FAIL Retcode = 1223 + Retcode_RETCODE_RET_MP_PLAYER_IN_BLACKLIST Retcode = 1224 + Retcode_RETCODE_RET_MP_REPLY_TIMEOUT Retcode = 1225 + Retcode_RETCODE_RET_MP_IS_BLOCK Retcode = 1226 + Retcode_RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_MP_PLAY Retcode = 1227 + Retcode_RETCODE_RET_MP_IN_MP_PLAY_BATTLE Retcode = 1228 + Retcode_RETCODE_RET_MP_GUEST_HAS_REWARD_REMAINED Retcode = 1229 + Retcode_RETCODE_RET_MP_QUIT_MP_INVALID Retcode = 1230 + Retcode_RETCODE_RET_MP_OTHER_DATA_VERSION_NOT_LATEST Retcode = 1231 + Retcode_RETCODE_RET_MP_DATA_VERSION_NOT_LATEST Retcode = 1232 + Retcode_RETCODE_RET_MP_CUR_WORLD_NOT_ENTERABLE Retcode = 1233 + Retcode_RETCODE_RET_MP_ANY_GALLERY_STARTED Retcode = 1234 + Retcode_RETCODE_RET_MP_HAS_ACTIVE_DRAFT Retcode = 1235 + Retcode_RETCODE_RET_MP_PLAYER_IN_DUNGEON Retcode = 1236 + Retcode_RETCODE_RET_MP_MATCH_FULL Retcode = 1237 + Retcode_RETCODE_RET_MP_MATCH_LIMIT Retcode = 1238 + Retcode_RETCODE_RET_MP_MATCH_IN_PUNISH Retcode = 1239 + Retcode_RETCODE_RET_MP_IS_IN_MULTISTAGE Retcode = 1240 + Retcode_RETCODE_RET_MP_MATCH_PLAY_NOT_OPEN Retcode = 1241 + Retcode_RETCODE_RET_MP_ONLY_MP_WITH_PS_PLAYER Retcode = 1242 + Retcode_RETCODE_RET_MP_GUEST_LOADING_FIRST_ENTER Retcode = 1243 + Retcode_RETCODE_RET_MP_SUMMER_TIME_SPRINT_BOAT_ONGOING Retcode = 1244 + Retcode_RETCODE_RET_MP_BLITZ_RUSH_PARKOUR_CHALLENGE_ONGOING Retcode = 1245 + Retcode_RETCODE_RET_MP_MUSIC_GAME_ONGOING Retcode = 1246 + Retcode_RETCODE_RET_MP_IN_MPING_MODE Retcode = 1247 + Retcode_RETCODE_RET_MP_OWNER_IN_SINGLE_SCENE Retcode = 1248 + Retcode_RETCODE_RET_MP_IN_SINGLE_SCENE Retcode = 1249 + Retcode_RETCODE_RET_MP_REPLY_NO_VALID_AVATAR Retcode = 1250 + Retcode_RETCODE_RET_MAIL_PARA_ERR Retcode = 1301 + Retcode_RETCODE_RET_MAIL_MAX_NUM Retcode = 1302 + Retcode_RETCODE_RET_MAIL_ITEM_NUM_EXCEED Retcode = 1303 + Retcode_RETCODE_RET_MAIL_TITLE_LEN_EXCEED Retcode = 1304 + Retcode_RETCODE_RET_MAIL_CONTENT_LEN_EXCEED Retcode = 1305 + Retcode_RETCODE_RET_MAIL_SENDER_LEN_EXCEED Retcode = 1306 + Retcode_RETCODE_RET_MAIL_PARSE_PACKET_FAIL Retcode = 1307 + Retcode_RETCODE_RET_OFFLINE_MSG_MAX_NUM Retcode = 1308 + Retcode_RETCODE_RET_OFFLINE_MSG_SAME_TICKET Retcode = 1309 + Retcode_RETCODE_RET_MAIL_EXCEL_MAIL_TYPE_ERROR Retcode = 1310 + Retcode_RETCODE_RET_MAIL_CANNOT_SEND_MCOIN Retcode = 1311 + Retcode_RETCODE_RET_MAIL_HCOIN_EXCEED_LIMIT Retcode = 1312 + Retcode_RETCODE_RET_MAIL_SCOIN_EXCEED_LIMIT Retcode = 1313 + Retcode_RETCODE_RET_MAIL_MATERIAL_ID_INVALID Retcode = 1314 + Retcode_RETCODE_RET_MAIL_AVATAR_EXCEED_LIMIT Retcode = 1315 + Retcode_RETCODE_RET_MAIL_GACHA_TICKET_ETC_EXCEED_LIMIT Retcode = 1316 + Retcode_RETCODE_RET_MAIL_ITEM_EXCEED_CEHUA_LIMIT Retcode = 1317 + Retcode_RETCODE_RET_MAIL_SPACE_OR_REST_NUM_NOT_ENOUGH Retcode = 1318 + Retcode_RETCODE_RET_MAIL_TICKET_IS_EMPTY Retcode = 1319 + Retcode_RETCODE_RET_MAIL_TRANSACTION_IS_EMPTY Retcode = 1320 + Retcode_RETCODE_RET_MAIL_DELETE_COLLECTED Retcode = 1321 + Retcode_RETCODE_RET_DAILY_TASK_NOT_FINISH Retcode = 1330 + Retcode_RETCODE_RET_DAILY_TAKS_HAS_TAKEN Retcode = 1331 + Retcode_RETCODE_RET_SOCIAL_OFFLINE_MSG_NUM_EXCEED Retcode = 1332 + Retcode_RETCODE_RET_DAILY_TASK_FILTER_CITY_NOT_OPEN Retcode = 1333 + Retcode_RETCODE_RET_GACHA_INAVAILABLE Retcode = 1401 + Retcode_RETCODE_RET_GACHA_RANDOM_NOT_MATCH Retcode = 1402 + Retcode_RETCODE_RET_GACHA_SCHEDULE_NOT_MATCH Retcode = 1403 + Retcode_RETCODE_RET_GACHA_INVALID_TIMES Retcode = 1404 + Retcode_RETCODE_RET_GACHA_COST_ITEM_NOT_ENOUGH Retcode = 1405 + Retcode_RETCODE_RET_GACHA_TIMES_LIMIT Retcode = 1406 + Retcode_RETCODE_RET_GACHA_WISH_SAME_ITEM Retcode = 1407 + Retcode_RETCODE_RET_GACHA_WISH_INVALID_ITEM Retcode = 1408 + Retcode_RETCODE_RET_GACHA_MINORS_TIMES_LIMIT Retcode = 1409 + Retcode_RETCODE_RET_INVESTIGAITON_NOT_IN_PROGRESS Retcode = 1501 + Retcode_RETCODE_RET_INVESTIGAITON_UNCOMPLETE Retcode = 1502 + Retcode_RETCODE_RET_INVESTIGAITON_REWARD_TAKEN Retcode = 1503 + Retcode_RETCODE_RET_INVESTIGAITON_TARGET_STATE_ERROR Retcode = 1504 + Retcode_RETCODE_RET_PUSH_TIPS_NOT_FOUND Retcode = 1505 + Retcode_RETCODE_RET_SIGN_IN_RECORD_NOT_FOUND Retcode = 1506 + Retcode_RETCODE_RET_ALREADY_HAVE_SIGNED_IN Retcode = 1507 + Retcode_RETCODE_RET_SIGN_IN_COND_NOT_SATISFIED Retcode = 1508 + Retcode_RETCODE_RET_BONUS_ACTIVITY_NOT_UNREWARDED Retcode = 1509 + Retcode_RETCODE_RET_SIGN_IN_REWARDED Retcode = 1510 + Retcode_RETCODE_RET_TOWER_NOT_OPEN Retcode = 1521 + Retcode_RETCODE_RET_TOWER_HAVE_DAILY_RECORD Retcode = 1522 + Retcode_RETCODE_RET_TOWER_NOT_RECORD Retcode = 1523 + Retcode_RETCODE_RET_TOWER_HAVE_RECORD Retcode = 1524 + Retcode_RETCODE_RET_TOWER_TEAM_NUM_ERROR Retcode = 1525 + Retcode_RETCODE_RET_TOWER_FLOOR_NOT_OPEN Retcode = 1526 + Retcode_RETCODE_RET_TOWER_NO_FLOOR_STAR_RECORD Retcode = 1527 + Retcode_RETCODE_RET_ALREADY_HAS_TOWER_BUFF Retcode = 1528 + Retcode_RETCODE_RET_DUPLICATE_ENTER_LEVEL Retcode = 1529 + Retcode_RETCODE_RET_NOT_IN_TOWER_LEVEL Retcode = 1530 + Retcode_RETCODE_RET_IN_TOWER_LEVEL Retcode = 1531 + Retcode_RETCODE_RET_TOWER_PREV_FLOOR_NOT_FINISH Retcode = 1532 + Retcode_RETCODE_RET_TOWER_STAR_NOT_ENOUGH Retcode = 1533 + Retcode_RETCODE_RET_BATTLE_PASS_NO_SCHEDULE Retcode = 1541 + Retcode_RETCODE_RET_BATTLE_PASS_HAS_BUYED Retcode = 1542 + Retcode_RETCODE_RET_BATTLE_PASS_LEVEL_OVERFLOW Retcode = 1543 + Retcode_RETCODE_RET_BATTLE_PASS_PRODUCT_EXPIRED Retcode = 1544 + Retcode_RETCODE_RET_MATCH_HOST_QUIT Retcode = 1561 + Retcode_RETCODE_RET_MATCH_ALREADY_IN_MATCH Retcode = 1562 + Retcode_RETCODE_RET_MATCH_NOT_IN_MATCH Retcode = 1563 + Retcode_RETCODE_RET_MATCH_APPLYING_ENTER_MP Retcode = 1564 + Retcode_RETCODE_RET_WIDGET_TREASURE_SPOT_NOT_FOUND Retcode = 1581 + Retcode_RETCODE_RET_WIDGET_TREASURE_ENTITY_EXISTS Retcode = 1582 + Retcode_RETCODE_RET_WIDGET_TREASURE_SPOT_FAR_AWAY Retcode = 1583 + Retcode_RETCODE_RET_WIDGET_TREASURE_FINISHED_TODAY Retcode = 1584 + Retcode_RETCODE_RET_WIDGET_QUICK_USE_REQ_PARAM_ERROR Retcode = 1585 + Retcode_RETCODE_RET_WIDGET_CAMERA_SCAN_ID_ERROR Retcode = 1586 + Retcode_RETCODE_RET_WIDGET_NOT_ACTIVE Retcode = 1587 + Retcode_RETCODE_RET_WIDGET_FEATHER_NOT_ACTIVE Retcode = 1588 + Retcode_RETCODE_RET_WIDGET_FEATHER_GADGET_TOO_FAR_AWAY Retcode = 1589 + Retcode_RETCODE_RET_WIDGET_CAPTURE_ANIMAL_NOT_EXIST Retcode = 1590 + Retcode_RETCODE_RET_WIDGET_CAPTURE_ANIMAL_DROP_BAG_LIMIT Retcode = 1591 + Retcode_RETCODE_RET_WIDGET_CAPTURE_ANIMAL_CAN_NOT_CAPTURE Retcode = 1592 + Retcode_RETCODE_RET_WIDGET_SKY_CRYSTAL_ALL_COLLECTED Retcode = 1593 + Retcode_RETCODE_RET_WIDGET_SKY_CRYSTAL_HINT_ALREADY_EXIST Retcode = 1594 + Retcode_RETCODE_RET_WIDGET_SKY_CRYSTAL_NOT_FOUND Retcode = 1595 + Retcode_RETCODE_RET_WIDGET_SKY_CRYSTAL_NO_HINT_TO_CLEAR Retcode = 1596 + Retcode_RETCODE_RET_WIDGET_LIGHT_STONE_ENERGY_NOT_ENOUGH Retcode = 1597 + Retcode_RETCODE_RET_WIDGET_TOY_CRYSTAL_ENERGY_NOT_ENOUGH Retcode = 1598 + Retcode_RETCODE_RET_WIDGET_LIGHT_STONE_LEVEL_NOT_ENOUGH Retcode = 1599 + Retcode_RETCODE_RET_UID_NOT_EXIST Retcode = 2001 + Retcode_RETCODE_RET_PARSE_BIN_ERROR Retcode = 2002 + Retcode_RETCODE_RET_ACCOUNT_INFO_NOT_EXIST Retcode = 2003 + Retcode_RETCODE_RET_ORDER_INFO_NOT_EXIST Retcode = 2004 + Retcode_RETCODE_RET_SNAPSHOT_INDEX_ERROR Retcode = 2005 + Retcode_RETCODE_RET_MAIL_HAS_BEEN_SENT Retcode = 2006 + Retcode_RETCODE_RET_PRODUCT_NOT_EXIST Retcode = 2007 + Retcode_RETCODE_RET_UNFINISH_ORDER Retcode = 2008 + Retcode_RETCODE_RET_ID_NOT_EXIST Retcode = 2009 + Retcode_RETCODE_RET_ORDER_TRADE_EARLY Retcode = 2010 + Retcode_RETCODE_RET_ORDER_FINISHED Retcode = 2011 + Retcode_RETCODE_RET_GAMESERVER_VERSION_WRONG Retcode = 2012 + Retcode_RETCODE_RET_OFFLINE_OP_FULL_LENGTH Retcode = 2013 + Retcode_RETCODE_RET_CONCERT_PRODUCT_OBTAIN_LIMIT Retcode = 2014 + Retcode_RETCODE_RET_CONCERT_PRODUCT_TICKET_DUPLICATED Retcode = 2015 + Retcode_RETCODE_RET_CONCERT_PRODUCT_TICKET_EMPTY Retcode = 2016 + Retcode_RETCODE_RET_REDIS_MODIFIED Retcode = 5001 + Retcode_RETCODE_RET_REDIS_UID_NOT_EXIST Retcode = 5002 + Retcode_RETCODE_RET_PATHFINDING_DATA_NOT_EXIST Retcode = 6001 + Retcode_RETCODE_RET_PATHFINDING_DESTINATION_NOT_EXIST Retcode = 6002 + Retcode_RETCODE_RET_PATHFINDING_ERROR_SCENE Retcode = 6003 + Retcode_RETCODE_RET_PATHFINDING_SCENE_DATA_LOADING Retcode = 6004 + Retcode_RETCODE_RET_FRIEND_COUNT_EXCEEDED Retcode = 7001 + Retcode_RETCODE_RET_PLAYER_NOT_EXIST Retcode = 7002 + Retcode_RETCODE_RET_ALREADY_SENT_ADD_REQUEST Retcode = 7003 + Retcode_RETCODE_RET_ASK_FRIEND_LIST_FULL Retcode = 7004 + Retcode_RETCODE_RET_PLAYER_ALREADY_IS_FRIEND Retcode = 7005 + Retcode_RETCODE_RET_PLAYER_NOT_ASK_FRIEND Retcode = 7006 + Retcode_RETCODE_RET_TARGET_FRIEND_COUNT_EXCEED Retcode = 7007 + Retcode_RETCODE_RET_NOT_FRIEND Retcode = 7008 + Retcode_RETCODE_RET_BIRTHDAY_CANNOT_BE_SET_TWICE Retcode = 7009 + Retcode_RETCODE_RET_CANNOT_ADD_SELF_FRIEND Retcode = 7010 + Retcode_RETCODE_RET_SIGNATURE_ILLEGAL Retcode = 7011 + Retcode_RETCODE_RET_PS_PLAYER_CANNOT_ADD_FRIENDS Retcode = 7012 + Retcode_RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_FRIENDS Retcode = 7013 + Retcode_RETCODE_RET_NAME_CARD_NOT_UNLOCKED Retcode = 7014 + Retcode_RETCODE_RET_ALREADY_IN_BLACKLIST Retcode = 7015 + Retcode_RETCODE_RET_PS_PALEYRS_CANNOT_ADD_BLACKLIST Retcode = 7016 + Retcode_RETCODE_RET_PLAYER_BLACKLIST_FULL Retcode = 7017 + Retcode_RETCODE_RET_PLAYER_NOT_IN_BLACKLIST Retcode = 7018 + Retcode_RETCODE_RET_BLACKLIST_PLAYER_CANNOT_ADD_FRIEND Retcode = 7019 + Retcode_RETCODE_RET_IN_TARGET_BLACKLIST Retcode = 7020 + Retcode_RETCODE_RET_CANNOT_ADD_TARGET_FRIEND Retcode = 7021 + Retcode_RETCODE_RET_BIRTHDAY_FORMAT_ERROR Retcode = 7022 + Retcode_RETCODE_RET_ONLINE_ID_NOT_EXISTS Retcode = 7023 + Retcode_RETCODE_RET_FIRST_SHARE_REWARD_HAS_TAKEN Retcode = 7024 + Retcode_RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_BLACKLIST Retcode = 7025 + Retcode_RETCODE_RET_REPORT_CD Retcode = 7026 + Retcode_RETCODE_RET_REPORT_CONTENT_ILLEGAL Retcode = 7027 + Retcode_RETCODE_RET_REMARK_WORD_ILLEGAL Retcode = 7028 + Retcode_RETCODE_RET_REMARK_TOO_LONG Retcode = 7029 + Retcode_RETCODE_RET_REMARK_UTF8_ERROR Retcode = 7030 + Retcode_RETCODE_RET_REMARK_IS_EMPTY Retcode = 7031 + Retcode_RETCODE_RET_ASK_ADD_FRIEND_CD Retcode = 7032 + Retcode_RETCODE_RET_SHOW_AVATAR_INFO_NOT_EXIST Retcode = 7033 + Retcode_RETCODE_RET_PLAYER_NOT_SHOW_AVATAR Retcode = 7034 + Retcode_RETCODE_RET_SOCIAL_UPDATE_SHOW_LIST_REPEAT_ID Retcode = 7035 + Retcode_RETCODE_RET_PSN_ID_NOT_FOUND Retcode = 7036 + Retcode_RETCODE_RET_EMOJI_COLLECTION_NUM_EXCEED_LIMIT Retcode = 7037 + Retcode_RETCODE_RET_REMARK_EMPTY Retcode = 7038 + Retcode_RETCODE_RET_IN_TARGET_PSN_BLACKLIST Retcode = 7039 + Retcode_RETCODE_RET_SIGNATURE_NOT_CHANGED Retcode = 7040 + Retcode_RETCODE_RET_SIGNATURE_MONTHLY_LIMIT Retcode = 7041 + Retcode_RETCODE_RET_OFFERING_NOT_OPEN Retcode = 7081 + Retcode_RETCODE_RET_OFFERING_LEVEL_LIMIT Retcode = 7082 + Retcode_RETCODE_RET_OFFERING_LEVEL_NOT_REACH Retcode = 7083 + Retcode_RETCODE_RET_OFFERING_LEVEL_HAS_TAKEN Retcode = 7084 + Retcode_RETCODE_RET_CITY_REPUTATION_NOT_OPEN Retcode = 7101 + Retcode_RETCODE_RET_CITY_REPUTATION_LEVEL_TAKEN Retcode = 7102 + Retcode_RETCODE_RET_CITY_REPUTATION_LEVEL_NOT_REACH Retcode = 7103 + Retcode_RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_TAKEN Retcode = 7104 + Retcode_RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_UNFINISH Retcode = 7105 + Retcode_RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST Retcode = 7106 + Retcode_RETCODE_RET_CITY_REPUTATION_NOT_ACCEPT_REQUEST Retcode = 7107 + Retcode_RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST_LIMIT Retcode = 7108 + Retcode_RETCODE_RET_CITY_REPUTATION_ENTRANCE_NOT_OPEN Retcode = 7109 + Retcode_RETCODE_RET_CITY_REPUTATION_TAKEN_REQUEST_REWARD Retcode = 7110 + Retcode_RETCODE_RET_CITY_REPUTATION_SWITCH_CLOSE Retcode = 7111 + Retcode_RETCODE_RET_CITY_REPUTATION_ENTRACE_SWITCH_CLOSE Retcode = 7112 + Retcode_RETCODE_RET_CITY_REPUTATION_TAKEN_EXPLORE_REWARD Retcode = 7113 + Retcode_RETCODE_RET_CITY_REPUTATION_EXPLORE_NOT_REACH Retcode = 7114 + Retcode_RETCODE_RET_MECHANICUS_NOT_OPEN Retcode = 7120 + Retcode_RETCODE_RET_MECHANICUS_GEAR_UNLOCK Retcode = 7121 + Retcode_RETCODE_RET_MECHANICUS_GEAR_LOCK Retcode = 7122 + Retcode_RETCODE_RET_MECHANICUS_GEAR_LEVEL_LIMIT Retcode = 7123 + Retcode_RETCODE_RET_MECHANICUS_COIN_NOT_ENOUGH Retcode = 7124 + Retcode_RETCODE_RET_MECHANICUS_NO_SEQUENCE Retcode = 7125 + Retcode_RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_LEVEL Retcode = 7126 + Retcode_RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_OPEN Retcode = 7127 + Retcode_RETCODE_RET_MECHANICUS_DIFFICULT_NOT_SUPPORT Retcode = 7128 + Retcode_RETCODE_RET_MECHANICUS_TICKET_NOT_ENOUGH Retcode = 7129 + Retcode_RETCODE_RET_MECHANICUS_TEACH_NOT_FINISH Retcode = 7130 + Retcode_RETCODE_RET_MECHANICUS_TEACH_FINISHED Retcode = 7131 + Retcode_RETCODE_RET_MECHANICUS_PREV_DIFFICULT_LEVEL_BLOCK Retcode = 7132 + Retcode_RETCODE_RET_MECHANICUS_PLAYER_LIMIT Retcode = 7133 + Retcode_RETCODE_RET_MECHANICUS_PUNISH_TIME Retcode = 7134 + Retcode_RETCODE_RET_MECHANICUS_SWITCH_CLOSE Retcode = 7135 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_DUNGEON Retcode = 7150 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_PLAY_NOT_FOUND Retcode = 7151 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_DUPLICATE_PICK_CARD Retcode = 7152 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_PLAYER_NOT_IN_PLAY Retcode = 7153 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_AVAILABLE Retcode = 7154 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_CARD_STAGE Retcode = 7155 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_IS_WAITING Retcode = 7156 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_ALL_CONFIRMED Retcode = 7157 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_CONFIRMED Retcode = 7158 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_CONFIRMED_BY_OTHER Retcode = 7159 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_ENOUGH_POINTS Retcode = 7160 + Retcode_RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_SKIPPED Retcode = 7161 + Retcode_RETCODE_RET_LEGENDARY_KEY_NOT_ENOUGH Retcode = 8001 + Retcode_RETCODE_RET_LEGENDARY_KEY_EXCEED_LIMIT Retcode = 8002 + Retcode_RETCODE_RET_DAILY_TASK_NOT_ENOUGH_TO_REDEEM Retcode = 8003 + Retcode_RETCODE_RET_PERSONAL_LINE_OPEN_STATE_OFF Retcode = 8004 + Retcode_RETCODE_RET_PERSONAL_LINE_LEVEL_NOT_ENOUGH Retcode = 8005 + Retcode_RETCODE_RET_PERSONAL_LINE_NOT_OPEN Retcode = 8006 + Retcode_RETCODE_RET_PERSONAL_LINE_PRE_QUEST_NOT_FINISH Retcode = 8007 + Retcode_RETCODE_RET_HUNTING_ALREADY_FINISH_OFFER_LIMIT Retcode = 8201 + Retcode_RETCODE_RET_HUNTING_HAS_UNFINISHED_OFFER Retcode = 8202 + Retcode_RETCODE_RET_HUNTING_FAILED_OFFER_NOT_CD_READY Retcode = 8203 + Retcode_RETCODE_RET_HUNTING_NOT_TAKE_OFFER Retcode = 8204 + Retcode_RETCODE_RET_HUNTING_CANNOT_TAKE_TWICE Retcode = 8205 + Retcode_RETCODE_RET_RPIVATE_CHAT_INVALID_CONTENT_TYPE Retcode = 8901 + Retcode_RETCODE_RET_PRIVATE_CHAT_TARGET_IS_NOT_FRIEND Retcode = 8902 + Retcode_RETCODE_RET_PRIVATE_CHAT_CONTENT_NOT_SUPPORTED Retcode = 8903 + Retcode_RETCODE_RET_PRIVATE_CHAT_CONTENT_TOO_LONG Retcode = 8904 + Retcode_RETCODE_RET_PRIVATE_CHAT_PULL_TOO_FAST Retcode = 8905 + Retcode_RETCODE_RET_PRIVATE_CHAT_REPEAT_READ Retcode = 8906 + Retcode_RETCODE_RET_PRIVATE_CHAT_READ_NOT_FRIEND Retcode = 8907 + Retcode_RETCODE_RET_REUNION_FINISHED Retcode = 9001 + Retcode_RETCODE_RET_REUNION_NOT_ACTIVATED Retcode = 9002 + Retcode_RETCODE_RET_REUNION_ALREADY_TAKE_FIRST_REWARD Retcode = 9003 + Retcode_RETCODE_RET_REUNION_SIGN_IN_REWARDED Retcode = 9004 + Retcode_RETCODE_RET_REUNION_WATCHER_REWARDED Retcode = 9005 + Retcode_RETCODE_RET_REUNION_WATCHER_NOT_FINISH Retcode = 9006 + Retcode_RETCODE_RET_REUNION_MISSION_REWARDED Retcode = 9007 + Retcode_RETCODE_RET_REUNION_MISSION_NOT_FINISH Retcode = 9008 + Retcode_RETCODE_RET_REUNION_WATCHER_REWARD_NOT_UNLOCKED Retcode = 9009 + Retcode_RETCODE_RET_BLESSING_CONTENT_CLOSED Retcode = 9101 + Retcode_RETCODE_RET_BLESSING_NOT_ACTIVE Retcode = 9102 + Retcode_RETCODE_RET_BLESSING_NOT_TODAY_ENTITY Retcode = 9103 + Retcode_RETCODE_RET_BLESSING_ENTITY_EXCEED_SCAN_NUM_LIMIT Retcode = 9104 + Retcode_RETCODE_RET_BLESSING_DAILY_SCAN_NUM_EXCEED_LIMIT Retcode = 9105 + Retcode_RETCODE_RET_BLESSING_REDEEM_REWARD_NUM_EXCEED_LIMIT Retcode = 9106 + Retcode_RETCODE_RET_BLESSING_REDEEM_PIC_NUM_NOT_ENOUGH Retcode = 9107 + Retcode_RETCODE_RET_BLESSING_PIC_NOT_ENOUGH Retcode = 9108 + Retcode_RETCODE_RET_BLESSING_PIC_HAS_RECEIVED Retcode = 9109 + Retcode_RETCODE_RET_BLESSING_TARGET_RECV_NUM_EXCEED Retcode = 9110 + Retcode_RETCODE_RET_FLEUR_FAIR_CREDIT_EXCEED_LIMIT Retcode = 9111 + Retcode_RETCODE_RET_FLEUR_FAIR_CREDIT_NOT_ENOUGH Retcode = 9112 + Retcode_RETCODE_RET_FLEUR_FAIR_TOKEN_EXCEED_LIMIT Retcode = 9113 + Retcode_RETCODE_RET_FLEUR_FAIR_TOKEN_NOT_ENOUGH Retcode = 9114 + Retcode_RETCODE_RET_FLEUR_FAIR_MINIGAME_NOT_OPEN Retcode = 9115 + Retcode_RETCODE_RET_FLEUR_FAIR_MUSIC_GAME_DIFFICULTY_NOT_UNLOCK Retcode = 9116 + Retcode_RETCODE_RET_FLEUR_FAIR_DUNGEON_LOCKED Retcode = 9117 + Retcode_RETCODE_RET_FLEUR_FAIR_DUNGEON_PUNISH_TIME Retcode = 9118 + Retcode_RETCODE_RET_FLEUR_FAIR_ONLY_OWNER_CAN_RESTART_MINIGAM Retcode = 9119 + Retcode_RETCODE_RET_WATER_SPIRIT_COIN_EXCEED_LIMIT Retcode = 9120 + Retcode_RETCODE_RET_WATER_SPIRIT_COIN_NOT_ENOUGH Retcode = 9121 + Retcode_RETCODE_RET_REGION_SEARCH_NO_SEARCH Retcode = 9122 + Retcode_RETCODE_RET_REGION_SEARCH_STATE_ERROR Retcode = 9123 + Retcode_RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_STAGE_NOT_OPEN Retcode = 9130 + Retcode_RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_NOT_OPEN Retcode = 9131 + Retcode_RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_FIRST_PASS_REWARD_HAS_TAKEN Retcode = 9132 + Retcode_RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_SCORE_REWARD_HAS_TAKEN Retcode = 9133 + Retcode_RETCODE_RET_CHANNELLER_SLAB_INVALID_ONE_OFF_DUNGEON Retcode = 9134 + Retcode_RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_DONE Retcode = 9135 + Retcode_RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_STAGE_NOT_OPEN Retcode = 9136 + Retcode_RETCODE_RET_CHANNELLER_SLAB_TOKEN_EXCEED_LIMIT Retcode = 9137 + Retcode_RETCODE_RET_CHANNELLER_SLAB_TOKEN_NOT_ENOUGH Retcode = 9138 + Retcode_RETCODE_RET_CHANNELLER_SLAB_PLAYER_NOT_IN_ONE_OFF_DUNGEON Retcode = 9139 + Retcode_RETCODE_RET_MIST_TRIAL_SELECT_CHARACTER_NUM_NOT_ENOUGH Retcode = 9150 + Retcode_RETCODE_RET_HIDE_AND_SEEK_PLAY_NOT_OPEN Retcode = 9160 + Retcode_RETCODE_RET_HIDE_AND_SEEK_PLAY_MAP_NOT_OPEN Retcode = 9161 + Retcode_RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_EXCEED_LIMIT Retcode = 9170 + Retcode_RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_NOT_ENOUGH Retcode = 9171 + Retcode_RETCODE_RET_SUMMER_TIME_MINI_HARPASTUM_EXCEED_LIMIT Retcode = 9172 + Retcode_RETCODE_RET_SUMMER_TIME_MINI_HARPASTUMNOT_ENOUGH Retcode = 9173 + Retcode_RETCODE_RET_BOUNCE_CONJURING_COIN_EXCEED_LIMIT Retcode = 9180 + Retcode_RETCODE_RET_BOUNCE_CONJURING_COIN_NOT_ENOUGH Retcode = 9181 + Retcode_RETCODE_RET_CHESS_TEACH_MAP_FINISHED Retcode = 9183 + Retcode_RETCODE_RET_CHESS_TEACH_MAP_UNFINISHED Retcode = 9184 + Retcode_RETCODE_RET_CHESS_COIN_EXCEED_LIMIT Retcode = 9185 + Retcode_RETCODE_RET_CHESS_COIN_NOT_ENOUGH Retcode = 9186 + Retcode_RETCODE_RET_CHESS_IN_PUNISH_TIME Retcode = 9187 + Retcode_RETCODE_RET_CHESS_PREV_MAP_UNFINISHED Retcode = 9188 + Retcode_RETCODE_RET_CHESS_MAP_LOCKED Retcode = 9189 + Retcode_RETCODE_RET_BLITZ_RUSH_NOT_OPEN Retcode = 9192 + Retcode_RETCODE_RET_BLITZ_RUSH_DUNGEON_NOT_OPEN Retcode = 9193 + Retcode_RETCODE_RET_BLITZ_RUSH_COIN_A_EXCEED_LIMIT Retcode = 9194 + Retcode_RETCODE_RET_BLITZ_RUSH_COIN_B_EXCEED_LIMIT Retcode = 9195 + Retcode_RETCODE_RET_BLITZ_RUSH_COIN_A_NOT_ENOUGH Retcode = 9196 + Retcode_RETCODE_RET_BLITZ_RUSH_COIN_B_NOT_ENOUGH Retcode = 9197 + Retcode_RETCODE_RET_MIRACLE_RING_VALUE_NOT_ENOUGH Retcode = 9201 + Retcode_RETCODE_RET_MIRACLE_RING_CD Retcode = 9202 + Retcode_RETCODE_RET_MIRACLE_RING_REWARD_NOT_TAKEN Retcode = 9203 + Retcode_RETCODE_RET_MIRACLE_RING_NOT_DELIVER Retcode = 9204 + Retcode_RETCODE_RET_MIRACLE_RING_DELIVER_EXCEED Retcode = 9205 + Retcode_RETCODE_RET_MIRACLE_RING_HAS_CREATED Retcode = 9206 + Retcode_RETCODE_RET_MIRACLE_RING_HAS_NOT_CREATED Retcode = 9207 + Retcode_RETCODE_RET_MIRACLE_RING_NOT_YOURS Retcode = 9208 + Retcode_RETCODE_RET_GADGET_FOUNDATION_UNAUTHORIZED Retcode = 9251 + Retcode_RETCODE_RET_GADGET_FOUNDATION_SCENE_NOT_FOUND Retcode = 9252 + Retcode_RETCODE_RET_GADGET_FOUNDATION_NOT_IN_INIT_STATE Retcode = 9253 + Retcode_RETCODE_RET_GADGET_FOUNDATION_BILDING_POINT_NOT_ENOUGHT Retcode = 9254 + Retcode_RETCODE_RET_GADGET_FOUNDATION_NOT_IN_BUILT_STATE Retcode = 9255 + Retcode_RETCODE_RET_GADGET_FOUNDATION_OP_NOT_SUPPORTED Retcode = 9256 + Retcode_RETCODE_RET_GADGET_FOUNDATION_REQ_PLAYER_NOT_IN_SCENE Retcode = 9257 + Retcode_RETCODE_RET_GADGET_FOUNDATION_LOCKED_BY_ANOTHER_PLAYER Retcode = 9258 + Retcode_RETCODE_RET_GADGET_FOUNDATION_NOT_LOCKED Retcode = 9259 + Retcode_RETCODE_RET_GADGET_FOUNDATION_DUPLICATE_LOCK Retcode = 9260 + Retcode_RETCODE_RET_GADGET_FOUNDATION_PLAYER_NOT_FOUND Retcode = 9261 + Retcode_RETCODE_RET_GADGET_FOUNDATION_PLAYER_GEAR_NOT_FOUND Retcode = 9262 + Retcode_RETCODE_RET_GADGET_FOUNDATION_ROTAION_DISABLED Retcode = 9263 + Retcode_RETCODE_RET_GADGET_FOUNDATION_REACH_DUNGEON_GEAR_LIMIT Retcode = 9264 + Retcode_RETCODE_RET_GADGET_FOUNDATION_REACH_SINGLE_GEAR_LIMIT Retcode = 9265 + Retcode_RETCODE_RET_GADGET_FOUNDATION_ROTATION_ON_GOING Retcode = 9266 + Retcode_RETCODE_RET_OP_ACTIVITY_BONUS_NOT_FOUND Retcode = 9301 + Retcode_RETCODE_RET_OP_ACTIVITY_NOT_OPEN Retcode = 9302 + Retcode_RETCODE_RET_MULTISTAGE_PLAY_PLAYER_NOT_IN_SCENE Retcode = 9501 + Retcode_RETCODE_RET_MULTISTAGE_PLAY_NOT_FOUND Retcode = 9502 + Retcode_RETCODE_RET_COOP_CHAPTER_NOT_OPEN Retcode = 9601 + Retcode_RETCODE_RET_COOP_COND_NOT_MEET Retcode = 9602 + Retcode_RETCODE_RET_COOP_POINT_LOCKED Retcode = 9603 + Retcode_RETCODE_RET_COOP_NOT_HAVE_PROGRESS Retcode = 9604 + Retcode_RETCODE_RET_COOP_REWARD_HAS_TAKEN Retcode = 9605 + Retcode_RETCODE_RET_DRAFT_HAS_ACTIVE_DRAFT Retcode = 9651 + Retcode_RETCODE_RET_DRAFT_NOT_IN_MY_WORLD Retcode = 9652 + Retcode_RETCODE_RET_DRAFT_NOT_SUPPORT_MP Retcode = 9653 + Retcode_RETCODE_RET_DRAFT_PLAYER_NOT_ENOUGH Retcode = 9654 + Retcode_RETCODE_RET_DRAFT_INCORRECT_SCENE Retcode = 9655 + Retcode_RETCODE_RET_DRAFT_OTHER_PLAYER_ENTERING Retcode = 9656 + Retcode_RETCODE_RET_DRAFT_GUEST_IS_TRANSFERRING Retcode = 9657 + Retcode_RETCODE_RET_DRAFT_GUEST_NOT_IN_DRAFT_SCENE Retcode = 9658 + Retcode_RETCODE_RET_DRAFT_INVITE_OVER_TIME Retcode = 9659 + Retcode_RETCODE_RET_DRAFT_TWICE_CONFIRM_OVER_TIMER Retcode = 9660 + Retcode_RETCODE_RET_HOME_UNKOWN Retcode = 9701 + Retcode_RETCODE_RET_HOME_INVALID_CLIENT_PARAM Retcode = 9702 + Retcode_RETCODE_RET_HOME_TARGE_PLAYER_HAS_NO_HOME Retcode = 9703 + Retcode_RETCODE_RET_HOME_NOT_ONLINE Retcode = 9704 + Retcode_RETCODE_RET_HOME_PLAYER_FULL Retcode = 9705 + Retcode_RETCODE_RET_HOME_BLOCKED Retcode = 9706 + Retcode_RETCODE_RET_HOME_ALREADY_IN_TARGET_HOME_WORLD Retcode = 9707 + Retcode_RETCODE_RET_HOME_IN_EDIT_MODE Retcode = 9708 + Retcode_RETCODE_RET_HOME_NOT_IN_EDIT_MODE Retcode = 9709 + Retcode_RETCODE_RET_HOME_HAS_GUEST Retcode = 9710 + Retcode_RETCODE_RET_HOME_CANT_ENTER_BY_IN_EDIT_MODE Retcode = 9711 + Retcode_RETCODE_RET_HOME_CLIENT_PARAM_INVALID Retcode = 9712 + Retcode_RETCODE_RET_HOME_PLAYER_NOT_IN_HOME_WORLD Retcode = 9713 + Retcode_RETCODE_RET_HOME_PLAYER_NOT_IN_SELF_HOME_WORLD Retcode = 9714 + Retcode_RETCODE_RET_HOME_NOT_FOUND_IN_MEM Retcode = 9715 + Retcode_RETCODE_RET_HOME_PLAYER_IN_HOME_ROOM_SCENE Retcode = 9716 + Retcode_RETCODE_RET_HOME_HOME_REFUSE_GUEST_ENTER Retcode = 9717 + Retcode_RETCODE_RET_HOME_OWNER_REFUSE_TO_ENTER_HOME Retcode = 9718 + Retcode_RETCODE_RET_HOME_OWNER_OFFLINE Retcode = 9719 + Retcode_RETCODE_RET_HOME_FURNITURE_EXCEED_LIMIT Retcode = 9720 + Retcode_RETCODE_RET_HOME_FURNITURE_COUNT_NOT_ENOUGH Retcode = 9721 + Retcode_RETCODE_RET_HOME_IN_TRY_ENTER_PROCESS Retcode = 9722 + Retcode_RETCODE_RET_HOME_ALREADY_IN_TARGET_SCENE Retcode = 9723 + Retcode_RETCODE_RET_HOME_COIN_EXCEED_LIMIT Retcode = 9724 + Retcode_RETCODE_RET_HOME_COIN_NOT_ENOUGH Retcode = 9725 + Retcode_RETCODE_RET_HOME_MODULE_NOT_UNLOCKED Retcode = 9726 + Retcode_RETCODE_RET_HOME_CUR_MODULE_CLOSED Retcode = 9727 + Retcode_RETCODE_RET_HOME_FURNITURE_SUITE_NOT_UNLOCKED Retcode = 9728 + Retcode_RETCODE_RET_HOME_IN_MATCH Retcode = 9729 + Retcode_RETCODE_RET_HOME_IN_COMBAT Retcode = 9730 + Retcode_RETCODE_RET_HOME_EDIT_MODE_CD Retcode = 9731 + Retcode_RETCODE_RET_HOME_UPDATE_FURNITURE_CD Retcode = 9732 + Retcode_RETCODE_RET_HOME_BLOCK_FURNITURE_LIMIT Retcode = 9733 + Retcode_RETCODE_RET_HOME_NOT_SUPPORT Retcode = 9734 + Retcode_RETCODE_RET_HOME_STATE_NOT_OPEN Retcode = 9735 + Retcode_RETCODE_RET_HOME_TARGET_STATE_NOT_OPEN Retcode = 9736 + Retcode_RETCODE_RET_HOME_APPLY_ENTER_OTHER_HOME_FAIL Retcode = 9737 + Retcode_RETCODE_RET_HOME_SAVE_NO_MAIN_HOUSE Retcode = 9738 + Retcode_RETCODE_RET_HOME_IN_DUNGEON Retcode = 9739 + Retcode_RETCODE_RET_HOME_ANY_GALLERY_STARTED Retcode = 9740 + Retcode_RETCODE_RET_HOME_QUEST_BLOCK_HOME Retcode = 9741 + Retcode_RETCODE_RET_HOME_WAITING_PRIOR_CHECK Retcode = 9742 + Retcode_RETCODE_RET_HOME_PERSISTENT_CHECK_FAIL Retcode = 9743 + Retcode_RETCODE_RET_HOME_FIND_ONLINE_HOME_FAIL Retcode = 9744 + Retcode_RETCODE_RET_HOME_JOIN_SCENE_FAIL Retcode = 9745 + Retcode_RETCODE_RET_HOME_MAX_PLAYER Retcode = 9746 + Retcode_RETCODE_RET_HOME_IN_TRANSFER Retcode = 9747 + Retcode_RETCODE_RET_HOME_ANY_HOME_GALLERY_STARTED Retcode = 9748 + Retcode_RETCODE_RET_HOME_CAN_NOT_ENTER_IN_AUDIT Retcode = 9749 + Retcode_RETCODE_RET_FURNITURE_MAKE_INDEX_ERROR Retcode = 9750 + Retcode_RETCODE_RET_FURNITURE_MAKE_LOCKED Retcode = 9751 + Retcode_RETCODE_RET_FURNITURE_MAKE_CONFIG_ERROR Retcode = 9752 + Retcode_RETCODE_RET_FURNITURE_MAKE_SLOT_FULL Retcode = 9753 + Retcode_RETCODE_RET_FURNITURE_MAKE_ADD_FURNITURE_FAIL Retcode = 9754 + Retcode_RETCODE_RET_FURNITURE_MAKE_UNFINISH Retcode = 9755 + Retcode_RETCODE_RET_FURNITURE_MAKE_IS_FINISH Retcode = 9756 + Retcode_RETCODE_RET_FURNITURE_MAKE_NOT_IN_CORRECT_HOME Retcode = 9757 + Retcode_RETCODE_RET_FURNITURE_MAKE_NO_COUNT Retcode = 9758 + Retcode_RETCODE_RET_FURNITURE_MAKE_ACCELERATE_LIMIT Retcode = 9759 + Retcode_RETCODE_RET_FURNITURE_MAKE_NO_MAKE_DATA Retcode = 9760 + Retcode_RETCODE_RET_HOME_LIMITED_SHOP_CLOSE Retcode = 9761 + Retcode_RETCODE_RET_HOME_AVATAR_NOT_SHOW Retcode = 9762 + Retcode_RETCODE_RET_HOME_EVENT_COND_NOT_SATISFIED Retcode = 9763 + Retcode_RETCODE_RET_HOME_INVALID_ARRANGE_ANIMAL_PARAM Retcode = 9764 + Retcode_RETCODE_RET_HOME_INVALID_ARRANGE_NPC_PARAM Retcode = 9765 + Retcode_RETCODE_RET_HOME_INVALID_ARRANGE_SUITE_PARAM Retcode = 9766 + Retcode_RETCODE_RET_HOME_INVALID_ARRANGE_MAIN_HOUSE_PARAM Retcode = 9767 + Retcode_RETCODE_RET_HOME_AVATAR_STATE_NOT_OPEN Retcode = 9768 + Retcode_RETCODE_RET_HOME_PLANT_FIELD_NOT_EMPTY Retcode = 9769 + Retcode_RETCODE_RET_HOME_PLANT_FIELD_EMPTY Retcode = 9770 + Retcode_RETCODE_RET_HOME_PLANT_FIELD_TYPE_ERROR Retcode = 9771 + Retcode_RETCODE_RET_HOME_PLANT_TIME_NOT_ENOUGH Retcode = 9772 + Retcode_RETCODE_RET_HOME_PLANT_SUB_FIELD_NUM_NOT_ENOUGH Retcode = 9773 + Retcode_RETCODE_RET_HOME_PLANT_FIELD_PARAM_ERROR Retcode = 9774 + Retcode_RETCODE_RET_HOME_FURNITURE_GUID_ERROR Retcode = 9775 + Retcode_RETCODE_RET_HOME_FURNITURE_ARRANGE_LIMIT Retcode = 9776 + Retcode_RETCODE_RET_HOME_FISH_FARMING_LIMIT Retcode = 9777 + Retcode_RETCODE_RET_HOME_FISH_COUNT_NOT_ENOUGH Retcode = 9778 + Retcode_RETCODE_RET_HOME_FURNITURE_COST_LIMIT Retcode = 9779 + Retcode_RETCODE_RET_HOME_CUSTOM_FURNITURE_INVALID Retcode = 9780 + Retcode_RETCODE_RET_HOME_INVALID_ARRANGE_GROUP_PARAM Retcode = 9781 + Retcode_RETCODE_RET_HOME_FURNITURE_ARRANGE_GROUP_LIMIT Retcode = 9782 + Retcode_RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_GENDER_ERROR Retcode = 9783 + Retcode_RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_NOT_UNLOCK Retcode = 9784 + Retcode_RETCODE_RET_HOME_FURNITURE_CANNOT_ARRANGE Retcode = 9785 + Retcode_RETCODE_RET_HOME_FURNITURE_IN_DUPLICATE_SUITE Retcode = 9786 + Retcode_RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_SMALL Retcode = 9787 + Retcode_RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_BIG Retcode = 9788 + Retcode_RETCODE_RET_HOME_FURNITURE_SUITE_EXCEED_LIMIT Retcode = 9789 + Retcode_RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_EXCEED_LIMIT Retcode = 9790 + Retcode_RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_INVALID_SURFACE_TYPE Retcode = 9791 + Retcode_RETCODE_RET_HOME_BGM_ID_NOT_FOUND Retcode = 9792 + Retcode_RETCODE_RET_HOME_BGM_NOT_UNLOCKED Retcode = 9793 + Retcode_RETCODE_RET_HOME_BGM_FURNITURE_NOT_FOUND Retcode = 9794 + Retcode_RETCODE_RET_HOME_BGM_NOT_SUPPORT_BY_CUR_SCENE Retcode = 9795 + Retcode_RETCODE_RET_HOME_LIMITED_SHOP_GOODS_DISABLE Retcode = 9796 + Retcode_RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_EMPTY Retcode = 9797 + Retcode_RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_NOT_FOUND Retcode = 9798 + Retcode_RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_COUNT_INVALID Retcode = 9799 + Retcode_RETCODE_RET_HOME_WORLD_WOOD_EXCHANGE_EXCEED_LIMIT Retcode = 9800 + Retcode_RETCODE_RET_SUMO_ACTIVITY_STAGE_NOT_OPEN Retcode = 10000 + Retcode_RETCODE_RET_SUMO_ACTIVITY_SWITCH_TEAM_IN_CD Retcode = 10001 + Retcode_RETCODE_RET_SUMO_ACTIVITY_TEAM_NUM_INCORRECT Retcode = 10002 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_AREA_ID_ERROR Retcode = 10004 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_BATTLE_NOT_FINISH Retcode = 10005 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_SACRIFICE Retcode = 10006 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_TAKE_REWARD Retcode = 10007 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_SACRIFICE_NOT_ENOUGH Retcode = 10008 + Retcode_RETCODE_RET_LUNA_RITE_ACTIVITY_SEARCHING_COND_NOT_MEET Retcode = 10009 + Retcode_RETCODE_RET_DIG_GADGET_CONFIG_ID_NOT_MATCH Retcode = 10015 + Retcode_RETCODE_RET_DIG_FIND_NEAREST_POS_FAIL Retcode = 10016 + Retcode_RETCODE_RET_MUSIC_GAME_LEVEL_NOT_OPEN Retcode = 10021 + Retcode_RETCODE_RET_MUSIC_GAME_LEVEL_NOT_UNLOCK Retcode = 10022 + Retcode_RETCODE_RET_MUSIC_GAME_LEVEL_NOT_STARTED Retcode = 10023 + Retcode_RETCODE_RET_MUSIC_GAME_LEVEL_CONFIG_NOT_FOUND Retcode = 10024 + Retcode_RETCODE_RET_MUSIC_GAME_LEVEL_ID_NOT_MATCH Retcode = 10025 + Retcode_RETCODE_RET_ROGUELIKE_COIN_A_NOT_ENOUGH Retcode = 10031 + Retcode_RETCODE_RET_ROGUELIKE_COIN_B_NOT_ENOUGH Retcode = 10032 + Retcode_RETCODE_RET_ROGUELIKE_COIN_C_NOT_ENOUGH Retcode = 10033 + Retcode_RETCODE_RET_ROGUELIKE_COIN_A_EXCEED_LIMIT Retcode = 10034 + Retcode_RETCODE_RET_ROGUELIKE_COIN_B_EXCEED_LIMIT Retcode = 10035 + Retcode_RETCODE_RET_ROGUELIKE_COIN_C_EXCEED_LIMIT Retcode = 10036 + Retcode_RETCODE_RET_ROGUELIKE_RUNE_COUNT_NOT_ENOUGH Retcode = 10037 + Retcode_RETCODE_RET_ROGUELIKE_NOT_IN_ROGUE_DUNGEON Retcode = 10038 + Retcode_RETCODE_RET_ROGUELIKE_CELL_NOT_FOUND Retcode = 10039 + Retcode_RETCODE_RET_ROGUELIKE_CELL_TYPE_INCORRECT Retcode = 10040 + Retcode_RETCODE_RET_ROGUELIKE_CELL_ALREADY_FINISHED Retcode = 10041 + Retcode_RETCODE_RET_ROGUELIKE_DUNGEON_HAVE_UNFINISHED_PROGRESS Retcode = 10042 + Retcode_RETCODE_RET_ROGUELIKE_STAGE_NOT_FINISHED Retcode = 10043 + Retcode_RETCODE_RET_ROGUELIKE_STAGE_FIRST_PASS_REWARD_HAS_TAKEN Retcode = 10045 + Retcode_RETCODE_RET_ROGUELIKE_ACTIVITY_CONTENT_CLOSED Retcode = 10046 + Retcode_RETCODE_RET_ROGUELIKE_DUNGEON_PRE_QUEST_NOT_FINISHED Retcode = 10047 + Retcode_RETCODE_RET_ROGUELIKE_DUNGEON_NOT_OPEN Retcode = 10048 + Retcode_RETCODE_RET_ROGUELIKE_SPRINT_IS_BANNED Retcode = 10049 + Retcode_RETCODE_RET_ROGUELIKE_DUNGEON_PRE_STAGE_NOT_FINISHED Retcode = 10050 + Retcode_RETCODE_RET_ROGUELIKE_ALL_AVATAR_DIE_CANNOT_RESUME Retcode = 10051 + Retcode_RETCODE_RET_PLANT_FLOWER_ALREADY_TAKE_SEED Retcode = 10056 + Retcode_RETCODE_RET_PLANT_FLOWER_FRIEND_HAVE_FLOWER_LIMIT Retcode = 10057 + Retcode_RETCODE_RET_PLANT_FLOWER_CAN_GIVE_FLOWER_NOT_ENOUGH Retcode = 10058 + Retcode_RETCODE_RET_PLANT_FLOWER_WISH_FLOWER_KINDS_LIMIT Retcode = 10059 + Retcode_RETCODE_RET_PLANT_FLOWER_HAVE_FLOWER_NOT_ENOUGH Retcode = 10060 + Retcode_RETCODE_RET_PLANT_FLOWER_FLOWER_COMBINATION_INVALID Retcode = 10061 + Retcode_RETCODE_RET_HACHI_DUNGEON_NOT_VALID Retcode = 10052 + Retcode_RETCODE_RET_HACHI_DUNGEON_STAGE_NOT_OPEN Retcode = 10053 + Retcode_RETCODE_RET_HACHI_DUNGEON_TEAMMATE_NOT_PASS Retcode = 10054 + Retcode_RETCODE_RET_WINTER_CAMP_COIN_A_NOT_ENOUGH Retcode = 10071 + Retcode_RETCODE_RET_WINTER_CAMP_COIN_B_NOT_ENOUGH Retcode = 10072 + Retcode_RETCODE_RET_WINTER_CAMP_COIN_A_EXCEED_LIMIT Retcode = 10073 + Retcode_RETCODE_RET_WINTER_CAMP_COIN_B_EXCEED_LIMIT Retcode = 10074 + Retcode_RETCODE_RET_WINTER_CAMP_WISH_ID_INVALID Retcode = 10075 + Retcode_RETCODE_RET_WINTER_CAMP_NOT_FOUND_RECV_ITEM_DATA Retcode = 10076 + Retcode_RETCODE_RET_WINTER_CAMP_FRIEND_ITEM_COUNT_OVERFLOW Retcode = 10077 + Retcode_RETCODE_RET_WINTER_CAMP_SELECT_ITEM_DATA_INVALID Retcode = 10078 + Retcode_RETCODE_RET_WINTER_CAMP_ITEM_LIST_EMPTY Retcode = 10079 + Retcode_RETCODE_RET_WINTER_CAMP_REWARD_ALREADY_TAKEN Retcode = 10080 + Retcode_RETCODE_RET_WINTER_CAMP_STAGE_NOT_FINISH Retcode = 10081 + Retcode_RETCODE_RET_WINTER_CAMP_GADGET_INVALID Retcode = 10082 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_A_NOT_ENOUGH Retcode = 10090 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_B_NOT_ENOUGH Retcode = 10091 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_C_NOT_ENOUGH Retcode = 10092 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_A_EXCEED_LIMIT Retcode = 10093 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_B_EXCEED_LIMIT Retcode = 10094 + Retcode_RETCODE_RET_LANTERN_RITE_COIN_C_EXCEED_LIMIT Retcode = 10095 + Retcode_RETCODE_RET_LANTERN_RITE_PROJECTION_CONTENT_CLOSED Retcode = 10096 + Retcode_RETCODE_RET_LANTERN_RITE_PROJECTION_CAN_NOT_START Retcode = 10097 + Retcode_RETCODE_RET_LANTERN_RITE_DUNGEON_NOT_OPEN Retcode = 10098 + Retcode_RETCODE_RET_LANTERN_RITE_HAS_TAKEN_SKIN_REWARD Retcode = 10099 + Retcode_RETCODE_RET_LANTERN_RITE_NOT_FINISHED_SKIN_WATCHERS Retcode = 10100 + Retcode_RETCODE_RET_LANTERN_RITE_FIREWORKS_CONTENT_CLOSED Retcode = 10101 + Retcode_RETCODE_RET_LANTERN_RITE_FIREWORKS_CHALLENGE_NOT_START Retcode = 10102 + Retcode_RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_PARAM_ERROR Retcode = 10103 + Retcode_RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_SKILL_LOCK Retcode = 10104 + Retcode_RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_STAMINA_NOT_ENOUGH Retcode = 10105 + Retcode_RETCODE_RET_POTION_ACTIVITY_STAGE_NOT_OPEN Retcode = 10110 + Retcode_RETCODE_RET_POTION_ACTIVITY_LEVEL_HAVE_PASS Retcode = 10111 + Retcode_RETCODE_RET_POTION_ACTIVITY_TEAM_NUM_INCORRECT Retcode = 10112 + Retcode_RETCODE_RET_POTION_ACTIVITY_AVATAR_IN_CD Retcode = 10113 + Retcode_RETCODE_RET_POTION_ACTIVITY_BUFF_IN_CD Retcode = 10114 + Retcode_RETCODE_RET_IRODORI_POETRY_INVALID_LINE_ID Retcode = 10120 + Retcode_RETCODE_RET_IRODORI_POETRY_INVALID_THEME_ID Retcode = 10121 + Retcode_RETCODE_RET_IRODORI_POETRY_NOT_GET_ALL_INSPIRATION Retcode = 10122 + Retcode_RETCODE_RET_IRODORI_POETRY_INSPIRATION_REACH_LIMIE Retcode = 10123 + Retcode_RETCODE_RET_IRODORI_POETRY_ENTITY_ALREADY_SCANNED Retcode = 10124 + Retcode_RETCODE_RET_ACTIVITY_BANNER_ALREADY_CLEARED Retcode = 10300 + Retcode_RETCODE_RET_IRODORI_CHESS_NOT_OPEN Retcode = 10301 + Retcode_RETCODE_RET_IRODORI_CHESS_LEVEL_NOT_OPEN Retcode = 10302 + Retcode_RETCODE_RET_IRODORI_CHESS_MAP_NOT_OPEN Retcode = 10303 + Retcode_RETCODE_RET_IRODORI_CHESS_MAP_CARD_ALREADY_EQUIPED Retcode = 10304 + Retcode_RETCODE_RET_IRODORI_CHESS_EQUIP_CARD_EXCEED_LIMIT Retcode = 10305 + Retcode_RETCODE_RET_IRODORI_CHESS_MAP_CARD_NOT_EQUIPED Retcode = 10306 + Retcode_RETCODE_RET_IRODORI_CHESS_ENTER_FAIL_CARD_EXCEED_LIMIT Retcode = 10307 + Retcode_RETCODE_RET_ACTIVITY_FRIEND_HAVE_GIFT_LIMIT Retcode = 10310 + Retcode_RETCODE_RET_GACHA_ACTIVITY_HAVE_REWARD_LIMIT Retcode = 10315 + Retcode_RETCODE_RET_GACHA_ACTIVITY_HAVE_ROBOT_LIMIT Retcode = 10316 + Retcode_RETCODE_RET_SUMMER_TIME_V2_COIN_EXCEED_LIMIT Retcode = 10317 + Retcode_RETCODE_RET_SUMMER_TIME_V2_COIN_NOT_ENOUGH Retcode = 10318 + Retcode_RETCODE_RET_SUMMER_TIME_V2_DUNGEON_STAGE_NOT_OPEN Retcode = 10319 + Retcode_RETCODE_RET_SUMMER_TIME_V2_PREV_DUNGEON_NOT_COMPLETE Retcode = 10320 + Retcode_RETCODE_RET_ROGUE_DIARY_AVATAR_DEATH Retcode = 10350 + Retcode_RETCODE_RET_ROGUE_DIARY_AVATAR_TIRED Retcode = 10351 + Retcode_RETCODE_RET_ROGUE_DIARY_AVATAR_DUPLICATED Retcode = 10352 + Retcode_RETCODE_RET_ROGUE_DIARY_COIN_NOT_ENOUGH Retcode = 10353 + Retcode_RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_EXCEED_LIMIT Retcode = 10354 + Retcode_RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_NOT_ENOUGH Retcode = 10355 + Retcode_RETCODE_RET_ROGUE_DIARY_CONTENT_CLOSED Retcode = 10366 + Retcode_RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_NOT_ENOUGH Retcode = 10380 + Retcode_RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_NOT_ENOUGH Retcode = 10381 + Retcode_RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_EXCEED_LIMIT Retcode = 10382 + Retcode_RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_EXCEED_LIMIT Retcode = 10383 + Retcode_RETCODE_RET_ISLAND_PARTY_STAGE_NOT_OPEN Retcode = 10371 + Retcode_RETCODE_RET_NOT_IN_FISHING Retcode = 11001 + Retcode_RETCODE_RET_FISH_STATE_ERROR Retcode = 11002 + Retcode_RETCODE_RET_FISH_BAIT_LIMIT Retcode = 11003 + Retcode_RETCODE_RET_FISHING_MAX_DISTANCE Retcode = 11004 + Retcode_RETCODE_RET_FISHING_IN_COMBAT Retcode = 11005 + Retcode_RETCODE_RET_FISHING_BATTLE_TOO_SHORT Retcode = 11006 + Retcode_RETCODE_RET_FISH_GONE_AWAY Retcode = 11007 + Retcode_RETCODE_RET_CAN_NOT_EDIT_OTHER_DUNGEON Retcode = 11051 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_DISMATCH Retcode = 11052 + Retcode_RETCODE_RET_NO_CUSTOM_DUNGEON_DATA Retcode = 11053 + Retcode_RETCODE_RET_BUILD_CUSTOM_DUNGEON_FAIL Retcode = 11054 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_ROOM_CHECK_FAIL Retcode = 11055 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_SAVE_MAY_FAIL Retcode = 11056 + Retcode_RETCODE_RET_NOT_IN_CUSTOM_DUNGEON Retcode = 11057 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_INTERNAL_FAIL Retcode = 11058 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_TRY Retcode = 11059 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NO_START_ROOM Retcode = 11060 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NO_ROOM_DATA Retcode = 11061 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_SAVE_TOO_FREQUENT Retcode = 11062 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_SELF_PASS Retcode = 11063 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_LACK_COIN Retcode = 11064 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_BRICK Retcode = 11065 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_MULTI_FINISH Retcode = 11066 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_PUBLISHED Retcode = 11067 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_FULL_STORE Retcode = 11068 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_STORE_REPEAT Retcode = 11069 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_STORE_SELF Retcode = 11070 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_SAVE_SUCC Retcode = 11071 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_LIKE_SELF Retcode = 11072 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_FOUND Retcode = 11073 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_INVALID_SETTING Retcode = 11074 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_SETTING Retcode = 11075 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_SAVE_NOTHING Retcode = 11076 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_IN_GROUP Retcode = 11077 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_OFFICIAL Retcode = 11078 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_LIFE_NUM_ERROR Retcode = 11079 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NO_OPEN_ROOM Retcode = 11080 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_BRICK_EXCEED_LIMIT Retcode = 11081 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_OFFICIAL_NOT_UNLOCK Retcode = 11082 + Retcode_RETCODE_RET_CAN_NOT_EDIT_OFFICIAL_SETTING Retcode = 11083 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_BAN_PUBLISH Retcode = 11084 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_REPLAY Retcode = 11085 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN_GROUP Retcode = 11086 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_MAX_EDIT_NUM Retcode = 11087 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_OUT_STUCK Retcode = 11088 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_MAX_TAG Retcode = 11089 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_INVALID_TAG Retcode = 11090 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_MAX_COST Retcode = 11091 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_REQUEST_TOO_FREQUENT Retcode = 11092 + Retcode_RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN Retcode = 11093 + Retcode_RETCODE_RET_SHARE_CD_ID_ERROR Retcode = 11101 + Retcode_RETCODE_RET_SHARE_CD_INDEX_ERROR Retcode = 11102 + Retcode_RETCODE_RET_SHARE_CD_IN_CD Retcode = 11103 + Retcode_RETCODE_RET_SHARE_CD_TOKEN_NOT_ENOUGH Retcode = 11104 + Retcode_RETCODE_RET_UGC_DISMATCH Retcode = 11151 + Retcode_RETCODE_RET_UGC_DATA_NOT_FOUND Retcode = 11152 + Retcode_RETCODE_RET_UGC_BRIEF_NOT_FOUND Retcode = 11153 + Retcode_RETCODE_RET_UGC_DISABLED Retcode = 11154 + Retcode_RETCODE_RET_UGC_LIMITED Retcode = 11155 + Retcode_RETCODE_RET_UGC_LOCKED Retcode = 11156 + Retcode_RETCODE_RET_UGC_NOT_AUTH Retcode = 11157 + Retcode_RETCODE_RET_UGC_NOT_OPEN Retcode = 11158 + Retcode_RETCODE_RET_UGC_BAN_PUBLISH Retcode = 11159 + Retcode_RETCODE_RET_COMPOUND_BOOST_ITEM_NOT_EXIST Retcode = 11201 + Retcode_RETCODE_RET_COMPOUND_BOOST_TARGET_NOT_EXIST Retcode = 11202 + Retcode_RETCODE_RET_QUICK_HIT_TREE_EMPTY_TREES Retcode = 11211 +) + +// Enum value maps for Retcode. +var ( + Retcode_name = map[int32]string{ + 0: "RETCODE_RET_SUCC", + -1: "RETCODE_RET_FAIL", + 1: "RETCODE_RET_SVR_ERROR", + 2: "RETCODE_RET_UNKNOWN_ERROR", + 3: "RETCODE_RET_FREQUENT", + 4: "RETCODE_RET_NODE_FORWARD_ERROR", + 5: "RETCODE_RET_NOT_FOUND_CONFIG", + 6: "RETCODE_RET_SYSTEM_BUSY", + 7: "RETCODE_RET_GM_UID_BIND", + 8: "RETCODE_RET_FORBIDDEN", + 10: "RETCODE_RET_STOP_REGISTER", + 11: "RETCODE_RET_STOP_SERVER", + 12: "RETCODE_RET_ACCOUNT_VEIRFY_ERROR", + 13: "RETCODE_RET_ACCOUNT_FREEZE", + 14: "RETCODE_RET_REPEAT_LOGIN", + 15: "RETCODE_RET_CLIENT_VERSION_ERROR", + 16: "RETCODE_RET_TOKEN_ERROR", + 17: "RETCODE_RET_ACCOUNT_NOT_EXIST", + 18: "RETCODE_RET_WAIT_OTHER_LOGIN", + 19: "RETCODE_RET_ANOTHER_LOGIN", + 20: "RETCODE_RET_CLIENT_FORCE_UPDATE", + 21: "RETCODE_RET_BLACK_UID", + 22: "RETCODE_RET_LOGIN_DB_FAIL", + 23: "RETCODE_RET_LOGIN_INIT_FAIL", + 24: "RETCODE_RET_MYSQL_DUPLICATE", + 25: "RETCODE_RET_MAX_PLAYER", + 26: "RETCODE_RET_ANTI_ADDICT", + 27: "RETCODE_RET_PS_PLAYER_WITHOUT_ONLINE_ID", + 28: "RETCODE_RET_ONLINE_ID_NOT_FOUND", + 29: "RETCODE_RET_ONLNE_ID_NOT_MATCH", + 30: "RETCODE_RET_REGISTER_IS_FULL", + 31: "RETCODE_RET_CHECKSUM_INVALID", + 32: "RETCODE_RET_BLACK_REGISTER_IP", + 33: "RETCODE_RET_EXCEED_REGISTER_RATE", + 34: "RETCODE_RET_UNKNOWN_PLATFORM", + 35: "RETCODE_RET_TOKEN_PARAM_ERROR", + 36: "RETCODE_RET_ANTI_OFFLINE_ERROR", + 37: "RETCODE_RET_BLACK_LOGIN_IP", + 38: "RETCODE_RET_GET_TOKEN_SESSION_HAS_UID", + 39: "RETCODE_RET_ENVIRONMENT_ERROR", + 40: "RETCODE_RET_CHECK_CLIENT_VERSION_HASH_FAIL", + 41: "RETCODE_RET_MINOR_REGISTER_FOBIDDEN", + 42: "RETCODE_RET_SECURITY_LIBRARY_ERROR", + 101: "RETCODE_RET_AVATAR_IN_CD", + 102: "RETCODE_RET_AVATAR_NOT_ALIVE", + 103: "RETCODE_RET_AVATAR_NOT_ON_SCENE", + 104: "RETCODE_RET_CAN_NOT_FIND_AVATAR", + 105: "RETCODE_RET_CAN_NOT_DEL_CUR_AVATAR", + 106: "RETCODE_RET_DUPLICATE_AVATAR", + 107: "RETCODE_RET_AVATAR_IS_SAME_ONE", + 108: "RETCODE_RET_AVATAR_LEVEL_LESS_THAN", + 109: "RETCODE_RET_AVATAR_CAN_NOT_CHANGE_ELEMENT", + 110: "RETCODE_RET_AVATAR_BREAK_LEVEL_LESS_THAN", + 111: "RETCODE_RET_AVATAR_ON_MAX_BREAK_LEVEL", + 112: "RETCODE_RET_AVATAR_ID_ALREADY_EXIST", + 113: "RETCODE_RET_AVATAR_NOT_DEAD", + 114: "RETCODE_RET_AVATAR_IS_REVIVING", + 115: "RETCODE_RET_AVATAR_ID_ERROR", + 116: "RETCODE_RET_REPEAT_SET_PLAYER_BORN_DATA", + 117: "RETCODE_RET_PLAYER_LEVEL_LESS_THAN", + 118: "RETCODE_RET_AVATAR_LIMIT_LEVEL_ERROR", + 119: "RETCODE_RET_CUR_AVATAR_NOT_ALIVE", + 120: "RETCODE_RET_CAN_NOT_FIND_TEAM", + 121: "RETCODE_RET_CAN_NOT_FIND_CUR_TEAM", + 122: "RETCODE_RET_AVATAR_NOT_EXIST_IN_TEAM", + 123: "RETCODE_RET_CAN_NOT_REMOVE_CUR_AVATAR_FROM_TEAM", + 124: "RETCODE_RET_CAN_NOT_USE_REVIVE_ITEM_FOR_CUR_AVATAR", + 125: "RETCODE_RET_TEAM_COST_EXCEED_LIMIT", + 126: "RETCODE_RET_TEAM_AVATAR_IN_EXPEDITION", + 127: "RETCODE_RET_TEAM_CAN_NOT_CHOSE_REPLACE_USE", + 128: "RETCODE_RET_AVATAR_IN_COMBAT", + 130: "RETCODE_RET_NICKNAME_UTF8_ERROR", + 131: "RETCODE_RET_NICKNAME_TOO_LONG", + 132: "RETCODE_RET_NICKNAME_WORD_ILLEGAL", + 133: "RETCODE_RET_NICKNAME_TOO_MANY_DIGITS", + 134: "RETCODE_RET_NICKNAME_IS_EMPTY", + 135: "RETCODE_RET_NICKNAME_MONTHLY_LIMIT", + 136: "RETCODE_RET_NICKNAME_NOT_CHANGED", + 140: "RETCODE_RET_PLAYER_NOT_ONLINE", + 141: "RETCODE_RET_OPEN_STATE_NOT_OPEN", + 142: "RETCODE_RET_FEATURE_CLOSED", + 152: "RETCODE_RET_AVATAR_EXPEDITION_AVATAR_DIE", + 153: "RETCODE_RET_AVATAR_EXPEDITION_COUNT_LIMIT", + 154: "RETCODE_RET_AVATAR_EXPEDITION_MAIN_FORBID", + 155: "RETCODE_RET_AVATAR_EXPEDITION_TRIAL_FORBID", + 156: "RETCODE_RET_TEAM_NAME_ILLEGAL", + 157: "RETCODE_RET_IS_NOT_IN_STANDBY", + 158: "RETCODE_RET_IS_IN_DUNGEON", + 159: "RETCODE_RET_IS_IN_LOCK_AVATAR_QUEST", + 160: "RETCODE_RET_IS_USING_TRIAL_AVATAR", + 161: "RETCODE_RET_IS_USING_TEMP_AVATAR", + 162: "RETCODE_RET_NOT_HAS_FLYCLOAK", + 163: "RETCODE_RET_FETTER_REWARD_ALREADY_GOT", + 164: "RETCODE_RET_FETTER_REWARD_LEVEL_NOT_ENOUGH", + 165: "RETCODE_RET_WORLD_LEVEL_ADJUST_MIN_LEVEL", + 166: "RETCODE_RET_WORLD_LEVEL_ADJUST_CD", + 167: "RETCODE_RET_NOT_HAS_COSTUME", + 168: "RETCODE_RET_COSTUME_AVATAR_ERROR", + 169: "RETCODE_RET_FLYCLOAK_PLATFORM_TYPE_ERR", + 170: "RETCODE_RET_IN_TRANSFER", + 171: "RETCODE_RET_IS_IN_LOCK_AVATAR", + 172: "RETCODE_RET_FULL_BACKUP_TEAM", + 173: "RETCODE_RET_BACKUP_TEAM_ID_NOT_VALID", + 174: "RETCODE_RET_BACKUP_TEAM_IS_CUR_TEAM", + 201: "RETCODE_RET_FLOAT_ERROR", + 301: "RETCODE_RET_NPC_NOT_EXIST", + 302: "RETCODE_RET_NPC_TOO_FAR", + 303: "RETCODE_RET_NOT_CURRENT_TALK", + 304: "RETCODE_RET_NPC_CREATE_FAIL", + 305: "RETCODE_RET_NPC_MOVE_FAIL", + 401: "RETCODE_RET_QUEST_NOT_EXIST", + 402: "RETCODE_RET_QUEST_IS_FAIL", + 403: "RETCODE_RET_QUEST_CONTENT_ERROR", + 404: "RETCODE_RET_BARGAIN_NOT_ACTIVATED", + 405: "RETCODE_RET_BARGAIN_FINISHED", + 406: "RETCODE_RET_INFERENCE_ASSOCIATE_WORD_ERROR", + 407: "RETCODE_RET_INFERENCE_SUBMIT_WORD_NO_CONCLUSION", + 501: "RETCODE_RET_POINT_NOT_UNLOCKED", + 502: "RETCODE_RET_POINT_TOO_FAR", + 503: "RETCODE_RET_POINT_ALREAY_UNLOCKED", + 504: "RETCODE_RET_ENTITY_NOT_EXIST", + 505: "RETCODE_RET_ENTER_SCENE_FAIL", + 506: "RETCODE_RET_PLAYER_IS_ENTER_SCENE", + 507: "RETCODE_RET_CITY_MAX_LEVEL", + 508: "RETCODE_RET_AREA_LOCKED", + 509: "RETCODE_RET_JOIN_OTHER_WAIT", + 510: "RETCODE_RET_WEATHER_AREA_NOT_FOUND", + 511: "RETCODE_RET_WEATHER_IS_LOCKED", + 512: "RETCODE_RET_NOT_IN_SELF_SCENE", + 513: "RETCODE_RET_GROUP_NOT_EXIST", + 514: "RETCODE_RET_MARK_NAME_ILLEGAL", + 515: "RETCODE_RET_MARK_ALREADY_EXISTS", + 516: "RETCODE_RET_MARK_OVERFLOW", + 517: "RETCODE_RET_MARK_NOT_EXISTS", + 518: "RETCODE_RET_MARK_UNKNOWN_TYPE", + 519: "RETCODE_RET_MARK_NAME_TOO_LONG", + 520: "RETCODE_RET_DISTANCE_LONG", + 521: "RETCODE_RET_ENTER_SCENE_TOKEN_INVALID", + 522: "RETCODE_RET_NOT_IN_WORLD_SCENE", + 523: "RETCODE_RET_ANY_GALLERY_STARTED", + 524: "RETCODE_RET_GALLERY_NOT_START", + 525: "RETCODE_RET_GALLERY_INTERRUPT_ONLY_ON_SINGLE_MODE", + 526: "RETCODE_RET_GALLERY_CANNOT_INTERRUPT", + 527: "RETCODE_RET_GALLERY_WORLD_NOT_MEET", + 528: "RETCODE_RET_GALLERY_SCENE_NOT_MEET", + 529: "RETCODE_RET_CUR_PLAY_CANNOT_TRANSFER", + 530: "RETCODE_RET_CANT_USE_WIDGET_IN_HOME_SCENE", + 531: "RETCODE_RET_SCENE_GROUP_NOT_MATCH", + 551: "RETCODE_RET_POS_ROT_INVALID", + 552: "RETCODE_RET_MARK_INVALID_SCENE_ID", + 553: "RETCODE_RET_INVALID_SCENE_TO_USE_ANCHOR_POINT", + 554: "RETCODE_RET_ENTER_HOME_SCENE_FAIL", + 555: "RETCODE_RET_CUR_SCENE_IS_NULL", + 556: "RETCODE_RET_GROUP_ID_ERROR", + 557: "RETCODE_RET_GALLERY_INTERRUPT_NOT_OWNER", + 558: "RETCODE_RET_NO_SPRING_IN_AREA", + 559: "RETCODE_RET_AREA_NOT_IN_SCENE", + 560: "RETCODE_RET_INVALID_CITY_ID", + 561: "RETCODE_RET_INVALID_SCENE_ID", + 562: "RETCODE_RET_DEST_SCENE_IS_NOT_ALLOW", + 563: "RETCODE_RET_LEVEL_TAG_SWITCH_IN_CD", + 564: "RETCODE_RET_LEVEL_TAG_ALREADY_EXIST", + 565: "RETCODE_RET_INVALID_AREA_ID", + 601: "RETCODE_RET_ITEM_NOT_EXIST", + 602: "RETCODE_RET_PACK_EXCEED_MAX_WEIGHT", + 603: "RETCODE_RET_ITEM_NOT_DROPABLE", + 604: "RETCODE_RET_ITEM_NOT_USABLE", + 605: "RETCODE_RET_ITEM_INVALID_USE_COUNT", + 606: "RETCODE_RET_ITEM_INVALID_DROP_COUNT", + 607: "RETCODE_RET_ITEM_ALREADY_EXIST", + 608: "RETCODE_RET_ITEM_IN_COOLDOWN", + 609: "RETCODE_RET_ITEM_COUNT_NOT_ENOUGH", + 610: "RETCODE_RET_ITEM_INVALID_TARGET", + 611: "RETCODE_RET_RECIPE_NOT_EXIST", + 612: "RETCODE_RET_RECIPE_LOCKED", + 613: "RETCODE_RET_RECIPE_UNLOCKED", + 614: "RETCODE_RET_COMPOUND_QUEUE_FULL", + 615: "RETCODE_RET_COMPOUND_NOT_FINISH", + 616: "RETCODE_RET_MAIL_ITEM_NOT_GET", + 617: "RETCODE_RET_ITEM_EXCEED_LIMIT", + 618: "RETCODE_RET_AVATAR_CAN_NOT_USE", + 619: "RETCODE_RET_ITEM_NEED_PLAYER_LEVEL", + 620: "RETCODE_RET_RECIPE_NOT_AUTO_QTE", + 621: "RETCODE_RET_COMPOUND_BUSY_QUEUE", + 622: "RETCODE_RET_NEED_MORE_SCOIN", + 623: "RETCODE_RET_SKILL_DEPOT_NOT_FOUND", + 624: "RETCODE_RET_HCOIN_NOT_ENOUGH", + 625: "RETCODE_RET_SCOIN_NOT_ENOUGH", + 626: "RETCODE_RET_HCOIN_EXCEED_LIMIT", + 627: "RETCODE_RET_SCOIN_EXCEED_LIMIT", + 628: "RETCODE_RET_MAIL_EXPIRED", + 629: "RETCODE_RET_REWARD_HAS_TAKEN", + 630: "RETCODE_RET_COMBINE_COUNT_TOO_LARGE", + 631: "RETCODE_RET_GIVING_ITEM_WRONG", + 632: "RETCODE_RET_GIVING_IS_FINISHED", + 633: "RETCODE_RET_GIVING_NOT_ACTIVED", + 634: "RETCODE_RET_FORGE_QUEUE_FULL", + 635: "RETCODE_RET_FORGE_QUEUE_CAPACITY", + 636: "RETCODE_RET_FORGE_QUEUE_NOT_FOUND", + 637: "RETCODE_RET_FORGE_QUEUE_EMPTY", + 638: "RETCODE_RET_NOT_SUPPORT_ITEM", + 639: "RETCODE_RET_ITEM_EMPTY", + 640: "RETCODE_RET_VIRTUAL_EXCEED_LIMIT", + 641: "RETCODE_RET_MATERIAL_EXCEED_LIMIT", + 642: "RETCODE_RET_EQUIP_EXCEED_LIMIT", + 643: "RETCODE_RET_ITEM_SHOULD_HAVE_NO_LEVEL", + 644: "RETCODE_RET_WEAPON_PROMOTE_LEVEL_EXCEED_LIMIT", + 645: "RETCODE_RET_WEAPON_LEVEL_INVALID", + 646: "RETCODE_RET_UNKNOW_ITEM_TYPE", + 647: "RETCODE_RET_ITEM_COUNT_IS_ZERO", + 648: "RETCODE_RET_ITEM_IS_EXPIRED", + 649: "RETCODE_RET_ITEM_EXCEED_OUTPUT_LIMIT", + 650: "RETCODE_RET_EQUIP_LEVEL_HIGHER", + 651: "RETCODE_RET_EQUIP_CAN_NOT_WAKE_OFF_WEAPON", + 652: "RETCODE_RET_EQUIP_HAS_BEEN_WEARED", + 653: "RETCODE_RET_EQUIP_WEARED_CANNOT_DROP", + 654: "RETCODE_RET_AWAKEN_LEVEL_MAX", + 655: "RETCODE_RET_MCOIN_NOT_ENOUGH", + 656: "RETCODE_RET_MCOIN_EXCEED_LIMIT", + 660: "RETCODE_RET_RESIN_NOT_ENOUGH", + 661: "RETCODE_RET_RESIN_EXCEED_LIMIT", + 662: "RETCODE_RET_RESIN_OPENSTATE_OFF", + 663: "RETCODE_RET_RESIN_BOUGHT_COUNT_EXCEEDED", + 664: "RETCODE_RET_RESIN_CARD_DAILY_REWARD_HAS_TAKEN", + 665: "RETCODE_RET_RESIN_CARD_EXPIRED", + 666: "RETCODE_RET_AVATAR_CAN_NOT_COOK", + 667: "RETCODE_RET_ATTACH_AVATAR_CD", + 668: "RETCODE_RET_AUTO_RECOVER_OPENSTATE_OFF", + 669: "RETCODE_RET_AUTO_RECOVER_BOUGHT_COUNT_EXCEEDED", + 670: "RETCODE_RET_RESIN_GAIN_FAILED", + 671: "RETCODE_RET_WIDGET_ORNAMENTS_TYPE_ERROR", + 672: "RETCODE_RET_ALL_TARGET_SATIATION_FULL", + 673: "RETCODE_RET_FORGE_WORLD_LEVEL_NOT_MATCH", + 674: "RETCODE_RET_FORGE_POINT_NOT_ENOUGH", + 675: "RETCODE_RET_WIDGET_ANCHOR_POINT_FULL", + 676: "RETCODE_RET_WIDGET_ANCHOR_POINT_NOT_FOUND", + 677: "RETCODE_RET_ALL_BONFIRE_EXCEED_MAX_COUNT", + 678: "RETCODE_RET_BONFIRE_EXCEED_MAX_COUNT", + 679: "RETCODE_RET_LUNCH_BOX_DATA_ERROR", + 680: "RETCODE_RET_INVALID_QUICK_USE_WIDGET", + 681: "RETCODE_RET_INVALID_REPLACE_RESIN_COUNT", + 682: "RETCODE_RET_PREV_DETECTED_GATHER_NOT_FOUND", + 683: "RETCODE_RET_GOT_ALL_ONEOFF_GAHTER", + 684: "RETCODE_RET_INVALID_WIDGET_MATERIAL_ID", + 685: "RETCODE_RET_WIDGET_DETECTOR_NO_HINT_TO_CLEAR", + 686: "RETCODE_RET_WIDGET_ALREADY_WITHIN_NEARBY_RADIUS", + 687: "RETCODE_RET_WIDGET_CLIENT_COLLECTOR_NEED_POINTS", + 688: "RETCODE_RET_WIDGET_IN_COMBAT", + 689: "RETCODE_RET_WIDGET_NOT_SET_QUICK_USE", + 690: "RETCODE_RET_ALREADY_ATTACH_WIDGET", + 691: "RETCODE_RET_EQUIP_IS_LOCKED", + 692: "RETCODE_RET_FORGE_IS_LOCKED", + 693: "RETCODE_RET_COMBINE_IS_LOCKED", + 694: "RETCODE_RET_FORGE_OUTPUT_STACK_LIMIT", + 695: "RETCODE_RET_ALREADY_DETTACH_WIDGET", + 696: "RETCODE_RET_GADGET_BUILDER_EXCEED_MAX_COUNT", + 697: "RETCODE_RET_REUNION_PRIVILEGE_RESIN_TYPE_IS_NORMAL", + 698: "RETCODE_RET_BONUS_COUNT_EXCEED_DOUBLE_LIMIT", + 699: "RETCODE_RET_RELIQUARY_DECOMPOSE_PARAM_ERROR", + 700: "RETCODE_RET_ITEM_COMBINE_COUNT_NOT_ENOUGH", + 701: "RETCODE_RET_GOODS_NOT_EXIST", + 702: "RETCODE_RET_GOODS_MATERIAL_NOT_ENOUGH", + 703: "RETCODE_RET_GOODS_NOT_IN_TIME", + 704: "RETCODE_RET_GOODS_BUY_NUM_NOT_ENOUGH", + 705: "RETCODE_RET_GOODS_BUY_NUM_ERROR", + 706: "RETCODE_RET_SHOP_NOT_OPEN", + 707: "RETCODE_RET_SHOP_CONTENT_NOT_MATCH", + 798: "RETCODE_RET_CHAT_FORBIDDEN", + 799: "RETCODE_RET_CHAT_CD", + 800: "RETCODE_RET_CHAT_FREQUENTLY", + 801: "RETCODE_RET_GADGET_NOT_EXIST", + 802: "RETCODE_RET_GADGET_NOT_INTERACTIVE", + 803: "RETCODE_RET_GADGET_NOT_GATHERABLE", + 804: "RETCODE_RET_CHEST_IS_LOCKED", + 805: "RETCODE_RET_GADGET_CREATE_FAIL", + 806: "RETCODE_RET_WORKTOP_OPTION_NOT_EXIST", + 807: "RETCODE_RET_GADGET_STATUE_NOT_ACTIVE", + 808: "RETCODE_RET_GADGET_STATUE_OPENED", + 809: "RETCODE_RET_BOSS_CHEST_NO_QUALIFICATION", + 810: "RETCODE_RET_BOSS_CHEST_LIFE_TIME_OVER", + 811: "RETCODE_RET_BOSS_CHEST_WEEK_NUM_LIMIT", + 812: "RETCODE_RET_BOSS_CHEST_GUEST_WORLD_LEVEL", + 813: "RETCODE_RET_BOSS_CHEST_HAS_TAKEN", + 814: "RETCODE_RET_BLOSSOM_CHEST_NO_QUALIFICATION", + 815: "RETCODE_RET_BLOSSOM_CHEST_LIFE_TIME_OVER", + 816: "RETCODE_RET_BLOSSOM_CHEST_HAS_TAKEN", + 817: "RETCODE_RET_BLOSSOM_CHEST_GUEST_WORLD_LEVEL", + 818: "RETCODE_RET_MP_PLAY_REWARD_NO_QUALIFICATION", + 819: "RETCODE_RET_MP_PLAY_REWARD_HAS_TAKEN", + 820: "RETCODE_RET_GENERAL_REWARD_NO_QUALIFICATION", + 821: "RETCODE_RET_GENERAL_REWARD_LIFE_TIME_OVER", + 822: "RETCODE_RET_GENERAL_REWARD_HAS_TAKEN", + 823: "RETCODE_RET_GADGET_NOT_VEHICLE", + 824: "RETCODE_RET_VEHICLE_SLOT_OCCUPIED", + 825: "RETCODE_RET_NOT_IN_VEHICLE", + 826: "RETCODE_RET_CREATE_VEHICLE_IN_CD", + 827: "RETCODE_RET_CREATE_VEHICLE_POS_INVALID", + 828: "RETCODE_RET_VEHICLE_POINT_NOT_UNLOCK", + 829: "RETCODE_RET_GADGET_INTERACT_COND_NOT_MEET", + 830: "RETCODE_RET_GADGET_INTERACT_PARAM_ERROR", + 831: "RETCODE_RET_GADGET_CUSTOM_COMBINATION_INVALID", + 832: "RETCODE_RET_DESHRET_OBELISK_DUPLICATE_INTERACT", + 833: "RETCODE_RET_DESHRET_OBELISK_NO_AVAIL_CHEST", + 860: "RETCODE_RET_ACTIVITY_CLOSE", + 861: "RETCODE_RET_ACTIVITY_ITEM_ERROR", + 862: "RETCODE_RET_ACTIVITY_CONTRIBUTION_NOT_ENOUGH", + 863: "RETCODE_RET_SEA_LAMP_PHASE_NOT_FINISH", + 864: "RETCODE_RET_SEA_LAMP_FLY_NUM_LIMIT", + 865: "RETCODE_RET_SEA_LAMP_FLY_LAMP_WORD_ILLEGAL", + 866: "RETCODE_RET_ACTIVITY_WATCHER_REWARD_TAKEN", + 867: "RETCODE_RET_ACTIVITY_WATCHER_REWARD_NOT_FINISHED", + 868: "RETCODE_RET_SALESMAN_ALREADY_DELIVERED", + 869: "RETCODE_RET_SALESMAN_REWARD_COUNT_NOT_ENOUGH", + 870: "RETCODE_RET_SALESMAN_POSITION_INVALID", + 871: "RETCODE_RET_DELIVER_NOT_FINISH_ALL_QUEST", + 872: "RETCODE_RET_DELIVER_ALREADY_TAKE_DAILY_REWARD", + 873: "RETCODE_RET_ASTER_PROGRESS_EXCEED_LIMIT", + 874: "RETCODE_RET_ASTER_CREDIT_EXCEED_LIMIT", + 875: "RETCODE_RET_ASTER_TOKEN_EXCEED_LIMIT", + 876: "RETCODE_RET_ASTER_CREDIT_NOT_ENOUGH", + 877: "RETCODE_RET_ASTER_TOKEN_NOT_ENOUGH", + 878: "RETCODE_RET_ASTER_SPECIAL_REWARD_HAS_TAKEN", + 879: "RETCODE_RET_FLIGHT_GROUP_ACTIVITY_NOT_STARTED", + 880: "RETCODE_RET_ASTER_MID_PREVIOUS_BATTLE_NOT_FINISHED", + 881: "RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_EXCEED_LIMIT", + 882: "RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_EXCEED_LIMIT", + 883: "RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_EXCEED_LIMIT", + 884: "RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_NOT_ENOUGH", + 885: "RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_NOT_ENOUGH", + 886: "RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_NOT_ENOUGH", + 891: "RETCODE_RET_EFFIGY_FIRST_PASS_REWARD_HAS_TAKEN", + 892: "RETCODE_RET_EFFIGY_REWARD_HAS_TAKEN", + 893: "RETCODE_RET_TREASURE_MAP_ADD_TOKEN_EXCEED_LIMIT", + 894: "RETCODE_RET_TREASURE_MAP_TOKEN_NOT_ENOUGHT", + 895: "RETCODE_RET_SEA_LAMP_COIN_EXCEED_LIMIT", + 896: "RETCODE_RET_SEA_LAMP_COIN_NOT_ENOUGH", + 897: "RETCODE_RET_SEA_LAMP_POPULARITY_EXCEED_LIMIT", + 898: "RETCODE_RET_ACTIVITY_AVATAR_REWARD_NOT_OPEN", + 899: "RETCODE_RET_ACTIVITY_AVATAR_REWARD_HAS_TAKEN", + 900: "RETCODE_RET_ARENA_ACTIVITY_ALREADY_STARTED", + 901: "RETCODE_RET_TALENT_ALREAY_UNLOCKED", + 902: "RETCODE_RET_PREV_TALENT_NOT_UNLOCKED", + 903: "RETCODE_RET_BIG_TALENT_POINT_NOT_ENOUGH", + 904: "RETCODE_RET_SMALL_TALENT_POINT_NOT_ENOUGH", + 905: "RETCODE_RET_PROUD_SKILL_ALREADY_GOT", + 906: "RETCODE_RET_PREV_PROUD_SKILL_NOT_GET", + 907: "RETCODE_RET_PROUD_SKILL_MAX_LEVEL", + 910: "RETCODE_RET_CANDIDATE_SKILL_DEPOT_ID_NOT_FIND", + 911: "RETCODE_RET_SKILL_DEPOT_IS_THE_SAME", + 1001: "RETCODE_RET_MONSTER_NOT_EXIST", + 1002: "RETCODE_RET_MONSTER_CREATE_FAIL", + 1101: "RETCODE_RET_DUNGEON_ENTER_FAIL", + 1102: "RETCODE_RET_DUNGEON_QUIT_FAIL", + 1103: "RETCODE_RET_DUNGEON_ENTER_EXCEED_DAY_COUNT", + 1104: "RETCODE_RET_DUNGEON_REVIVE_EXCEED_MAX_COUNT", + 1105: "RETCODE_RET_DUNGEON_REVIVE_FAIL", + 1106: "RETCODE_RET_DUNGEON_NOT_SUCCEED", + 1107: "RETCODE_RET_DUNGEON_CAN_NOT_CANCEL", + 1108: "RETCODE_RET_DEST_DUNGEON_SETTLED", + 1109: "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_FULL", + 1110: "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_DISMISS", + 1111: "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_NOT_ALL_READY", + 1112: "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_HAS_REPEAT_AVATAR", + 1113: "RETCODE_RET_DUNGEON_CANDIDATE_NOT_SINGEL_PASS", + 1114: "RETCODE_RET_DUNGEON_REPLAY_NEED_ALL_PLAYER_DIE", + 1115: "RETCODE_RET_DUNGEON_REPLAY_HAS_REVIVE_COUNT", + 1116: "RETCODE_RET_DUNGEON_OTHERS_LEAVE", + 1117: "RETCODE_RET_DUNGEON_ENTER_LEVEL_LIMIT", + 1118: "RETCODE_RET_DUNGEON_CANNOT_ENTER_PLOT_IN_MP", + 1119: "RETCODE_RET_DUNGEON_DROP_SUBFIELD_LIMIT", + 1120: "RETCODE_RET_DUNGEON_BE_INVITE_PLAYER_AVATAR_ALL_DIE", + 1121: "RETCODE_RET_DUNGEON_CANNOT_KICK", + 1122: "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_SOMEONE_LEVEL_LIMIT", + 1123: "RETCODE_RET_DUNGEON_IN_FORCE_QUIT", + 1124: "RETCODE_RET_DUNGEON_GUEST_QUIT_DUNGEON", + 1125: "RETCODE_RET_DUNGEON_TICKET_FAIL", + 1201: "RETCODE_RET_MP_NOT_IN_MY_WORLD", + 1202: "RETCODE_RET_MP_IN_MP_MODE", + 1203: "RETCODE_RET_MP_SCENE_IS_FULL", + 1204: "RETCODE_RET_MP_MODE_NOT_AVAILABLE", + 1205: "RETCODE_RET_MP_PLAYER_NOT_ENTERABLE", + 1206: "RETCODE_RET_MP_QUEST_BLOCK_MP", + 1207: "RETCODE_RET_MP_IN_ROOM_SCENE", + 1208: "RETCODE_RET_MP_WORLD_IS_FULL", + 1209: "RETCODE_RET_MP_PLAYER_NOT_ALLOW_ENTER", + 1210: "RETCODE_RET_MP_PLAYER_DISCONNECTED", + 1211: "RETCODE_RET_MP_NOT_IN_MP_MODE", + 1212: "RETCODE_RET_MP_OWNER_NOT_ENTER", + 1213: "RETCODE_RET_MP_ALLOW_ENTER_PLAYER_FULL", + 1214: "RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER", + 1215: "RETCODE_RET_MP_TARGET_ENTERING_OTHER", + 1216: "RETCODE_RET_MP_OTHER_ENTERING", + 1217: "RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_PLOT", + 1218: "RETCODE_RET_MP_NOT_PS_PLAYER", + 1219: "RETCODE_RET_MP_PLAY_NOT_ACTIVE", + 1220: "RETCODE_RET_MP_PLAY_REMAIN_REWARDS", + 1221: "RETCODE_RET_MP_PLAY_NO_REWARD", + 1223: "RETCODE_RET_MP_OPEN_STATE_FAIL", + 1224: "RETCODE_RET_MP_PLAYER_IN_BLACKLIST", + 1225: "RETCODE_RET_MP_REPLY_TIMEOUT", + 1226: "RETCODE_RET_MP_IS_BLOCK", + 1227: "RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_MP_PLAY", + 1228: "RETCODE_RET_MP_IN_MP_PLAY_BATTLE", + 1229: "RETCODE_RET_MP_GUEST_HAS_REWARD_REMAINED", + 1230: "RETCODE_RET_MP_QUIT_MP_INVALID", + 1231: "RETCODE_RET_MP_OTHER_DATA_VERSION_NOT_LATEST", + 1232: "RETCODE_RET_MP_DATA_VERSION_NOT_LATEST", + 1233: "RETCODE_RET_MP_CUR_WORLD_NOT_ENTERABLE", + 1234: "RETCODE_RET_MP_ANY_GALLERY_STARTED", + 1235: "RETCODE_RET_MP_HAS_ACTIVE_DRAFT", + 1236: "RETCODE_RET_MP_PLAYER_IN_DUNGEON", + 1237: "RETCODE_RET_MP_MATCH_FULL", + 1238: "RETCODE_RET_MP_MATCH_LIMIT", + 1239: "RETCODE_RET_MP_MATCH_IN_PUNISH", + 1240: "RETCODE_RET_MP_IS_IN_MULTISTAGE", + 1241: "RETCODE_RET_MP_MATCH_PLAY_NOT_OPEN", + 1242: "RETCODE_RET_MP_ONLY_MP_WITH_PS_PLAYER", + 1243: "RETCODE_RET_MP_GUEST_LOADING_FIRST_ENTER", + 1244: "RETCODE_RET_MP_SUMMER_TIME_SPRINT_BOAT_ONGOING", + 1245: "RETCODE_RET_MP_BLITZ_RUSH_PARKOUR_CHALLENGE_ONGOING", + 1246: "RETCODE_RET_MP_MUSIC_GAME_ONGOING", + 1247: "RETCODE_RET_MP_IN_MPING_MODE", + 1248: "RETCODE_RET_MP_OWNER_IN_SINGLE_SCENE", + 1249: "RETCODE_RET_MP_IN_SINGLE_SCENE", + 1250: "RETCODE_RET_MP_REPLY_NO_VALID_AVATAR", + 1301: "RETCODE_RET_MAIL_PARA_ERR", + 1302: "RETCODE_RET_MAIL_MAX_NUM", + 1303: "RETCODE_RET_MAIL_ITEM_NUM_EXCEED", + 1304: "RETCODE_RET_MAIL_TITLE_LEN_EXCEED", + 1305: "RETCODE_RET_MAIL_CONTENT_LEN_EXCEED", + 1306: "RETCODE_RET_MAIL_SENDER_LEN_EXCEED", + 1307: "RETCODE_RET_MAIL_PARSE_PACKET_FAIL", + 1308: "RETCODE_RET_OFFLINE_MSG_MAX_NUM", + 1309: "RETCODE_RET_OFFLINE_MSG_SAME_TICKET", + 1310: "RETCODE_RET_MAIL_EXCEL_MAIL_TYPE_ERROR", + 1311: "RETCODE_RET_MAIL_CANNOT_SEND_MCOIN", + 1312: "RETCODE_RET_MAIL_HCOIN_EXCEED_LIMIT", + 1313: "RETCODE_RET_MAIL_SCOIN_EXCEED_LIMIT", + 1314: "RETCODE_RET_MAIL_MATERIAL_ID_INVALID", + 1315: "RETCODE_RET_MAIL_AVATAR_EXCEED_LIMIT", + 1316: "RETCODE_RET_MAIL_GACHA_TICKET_ETC_EXCEED_LIMIT", + 1317: "RETCODE_RET_MAIL_ITEM_EXCEED_CEHUA_LIMIT", + 1318: "RETCODE_RET_MAIL_SPACE_OR_REST_NUM_NOT_ENOUGH", + 1319: "RETCODE_RET_MAIL_TICKET_IS_EMPTY", + 1320: "RETCODE_RET_MAIL_TRANSACTION_IS_EMPTY", + 1321: "RETCODE_RET_MAIL_DELETE_COLLECTED", + 1330: "RETCODE_RET_DAILY_TASK_NOT_FINISH", + 1331: "RETCODE_RET_DAILY_TAKS_HAS_TAKEN", + 1332: "RETCODE_RET_SOCIAL_OFFLINE_MSG_NUM_EXCEED", + 1333: "RETCODE_RET_DAILY_TASK_FILTER_CITY_NOT_OPEN", + 1401: "RETCODE_RET_GACHA_INAVAILABLE", + 1402: "RETCODE_RET_GACHA_RANDOM_NOT_MATCH", + 1403: "RETCODE_RET_GACHA_SCHEDULE_NOT_MATCH", + 1404: "RETCODE_RET_GACHA_INVALID_TIMES", + 1405: "RETCODE_RET_GACHA_COST_ITEM_NOT_ENOUGH", + 1406: "RETCODE_RET_GACHA_TIMES_LIMIT", + 1407: "RETCODE_RET_GACHA_WISH_SAME_ITEM", + 1408: "RETCODE_RET_GACHA_WISH_INVALID_ITEM", + 1409: "RETCODE_RET_GACHA_MINORS_TIMES_LIMIT", + 1501: "RETCODE_RET_INVESTIGAITON_NOT_IN_PROGRESS", + 1502: "RETCODE_RET_INVESTIGAITON_UNCOMPLETE", + 1503: "RETCODE_RET_INVESTIGAITON_REWARD_TAKEN", + 1504: "RETCODE_RET_INVESTIGAITON_TARGET_STATE_ERROR", + 1505: "RETCODE_RET_PUSH_TIPS_NOT_FOUND", + 1506: "RETCODE_RET_SIGN_IN_RECORD_NOT_FOUND", + 1507: "RETCODE_RET_ALREADY_HAVE_SIGNED_IN", + 1508: "RETCODE_RET_SIGN_IN_COND_NOT_SATISFIED", + 1509: "RETCODE_RET_BONUS_ACTIVITY_NOT_UNREWARDED", + 1510: "RETCODE_RET_SIGN_IN_REWARDED", + 1521: "RETCODE_RET_TOWER_NOT_OPEN", + 1522: "RETCODE_RET_TOWER_HAVE_DAILY_RECORD", + 1523: "RETCODE_RET_TOWER_NOT_RECORD", + 1524: "RETCODE_RET_TOWER_HAVE_RECORD", + 1525: "RETCODE_RET_TOWER_TEAM_NUM_ERROR", + 1526: "RETCODE_RET_TOWER_FLOOR_NOT_OPEN", + 1527: "RETCODE_RET_TOWER_NO_FLOOR_STAR_RECORD", + 1528: "RETCODE_RET_ALREADY_HAS_TOWER_BUFF", + 1529: "RETCODE_RET_DUPLICATE_ENTER_LEVEL", + 1530: "RETCODE_RET_NOT_IN_TOWER_LEVEL", + 1531: "RETCODE_RET_IN_TOWER_LEVEL", + 1532: "RETCODE_RET_TOWER_PREV_FLOOR_NOT_FINISH", + 1533: "RETCODE_RET_TOWER_STAR_NOT_ENOUGH", + 1541: "RETCODE_RET_BATTLE_PASS_NO_SCHEDULE", + 1542: "RETCODE_RET_BATTLE_PASS_HAS_BUYED", + 1543: "RETCODE_RET_BATTLE_PASS_LEVEL_OVERFLOW", + 1544: "RETCODE_RET_BATTLE_PASS_PRODUCT_EXPIRED", + 1561: "RETCODE_RET_MATCH_HOST_QUIT", + 1562: "RETCODE_RET_MATCH_ALREADY_IN_MATCH", + 1563: "RETCODE_RET_MATCH_NOT_IN_MATCH", + 1564: "RETCODE_RET_MATCH_APPLYING_ENTER_MP", + 1581: "RETCODE_RET_WIDGET_TREASURE_SPOT_NOT_FOUND", + 1582: "RETCODE_RET_WIDGET_TREASURE_ENTITY_EXISTS", + 1583: "RETCODE_RET_WIDGET_TREASURE_SPOT_FAR_AWAY", + 1584: "RETCODE_RET_WIDGET_TREASURE_FINISHED_TODAY", + 1585: "RETCODE_RET_WIDGET_QUICK_USE_REQ_PARAM_ERROR", + 1586: "RETCODE_RET_WIDGET_CAMERA_SCAN_ID_ERROR", + 1587: "RETCODE_RET_WIDGET_NOT_ACTIVE", + 1588: "RETCODE_RET_WIDGET_FEATHER_NOT_ACTIVE", + 1589: "RETCODE_RET_WIDGET_FEATHER_GADGET_TOO_FAR_AWAY", + 1590: "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_NOT_EXIST", + 1591: "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_DROP_BAG_LIMIT", + 1592: "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_CAN_NOT_CAPTURE", + 1593: "RETCODE_RET_WIDGET_SKY_CRYSTAL_ALL_COLLECTED", + 1594: "RETCODE_RET_WIDGET_SKY_CRYSTAL_HINT_ALREADY_EXIST", + 1595: "RETCODE_RET_WIDGET_SKY_CRYSTAL_NOT_FOUND", + 1596: "RETCODE_RET_WIDGET_SKY_CRYSTAL_NO_HINT_TO_CLEAR", + 1597: "RETCODE_RET_WIDGET_LIGHT_STONE_ENERGY_NOT_ENOUGH", + 1598: "RETCODE_RET_WIDGET_TOY_CRYSTAL_ENERGY_NOT_ENOUGH", + 1599: "RETCODE_RET_WIDGET_LIGHT_STONE_LEVEL_NOT_ENOUGH", + 2001: "RETCODE_RET_UID_NOT_EXIST", + 2002: "RETCODE_RET_PARSE_BIN_ERROR", + 2003: "RETCODE_RET_ACCOUNT_INFO_NOT_EXIST", + 2004: "RETCODE_RET_ORDER_INFO_NOT_EXIST", + 2005: "RETCODE_RET_SNAPSHOT_INDEX_ERROR", + 2006: "RETCODE_RET_MAIL_HAS_BEEN_SENT", + 2007: "RETCODE_RET_PRODUCT_NOT_EXIST", + 2008: "RETCODE_RET_UNFINISH_ORDER", + 2009: "RETCODE_RET_ID_NOT_EXIST", + 2010: "RETCODE_RET_ORDER_TRADE_EARLY", + 2011: "RETCODE_RET_ORDER_FINISHED", + 2012: "RETCODE_RET_GAMESERVER_VERSION_WRONG", + 2013: "RETCODE_RET_OFFLINE_OP_FULL_LENGTH", + 2014: "RETCODE_RET_CONCERT_PRODUCT_OBTAIN_LIMIT", + 2015: "RETCODE_RET_CONCERT_PRODUCT_TICKET_DUPLICATED", + 2016: "RETCODE_RET_CONCERT_PRODUCT_TICKET_EMPTY", + 5001: "RETCODE_RET_REDIS_MODIFIED", + 5002: "RETCODE_RET_REDIS_UID_NOT_EXIST", + 6001: "RETCODE_RET_PATHFINDING_DATA_NOT_EXIST", + 6002: "RETCODE_RET_PATHFINDING_DESTINATION_NOT_EXIST", + 6003: "RETCODE_RET_PATHFINDING_ERROR_SCENE", + 6004: "RETCODE_RET_PATHFINDING_SCENE_DATA_LOADING", + 7001: "RETCODE_RET_FRIEND_COUNT_EXCEEDED", + 7002: "RETCODE_RET_PLAYER_NOT_EXIST", + 7003: "RETCODE_RET_ALREADY_SENT_ADD_REQUEST", + 7004: "RETCODE_RET_ASK_FRIEND_LIST_FULL", + 7005: "RETCODE_RET_PLAYER_ALREADY_IS_FRIEND", + 7006: "RETCODE_RET_PLAYER_NOT_ASK_FRIEND", + 7007: "RETCODE_RET_TARGET_FRIEND_COUNT_EXCEED", + 7008: "RETCODE_RET_NOT_FRIEND", + 7009: "RETCODE_RET_BIRTHDAY_CANNOT_BE_SET_TWICE", + 7010: "RETCODE_RET_CANNOT_ADD_SELF_FRIEND", + 7011: "RETCODE_RET_SIGNATURE_ILLEGAL", + 7012: "RETCODE_RET_PS_PLAYER_CANNOT_ADD_FRIENDS", + 7013: "RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_FRIENDS", + 7014: "RETCODE_RET_NAME_CARD_NOT_UNLOCKED", + 7015: "RETCODE_RET_ALREADY_IN_BLACKLIST", + 7016: "RETCODE_RET_PS_PALEYRS_CANNOT_ADD_BLACKLIST", + 7017: "RETCODE_RET_PLAYER_BLACKLIST_FULL", + 7018: "RETCODE_RET_PLAYER_NOT_IN_BLACKLIST", + 7019: "RETCODE_RET_BLACKLIST_PLAYER_CANNOT_ADD_FRIEND", + 7020: "RETCODE_RET_IN_TARGET_BLACKLIST", + 7021: "RETCODE_RET_CANNOT_ADD_TARGET_FRIEND", + 7022: "RETCODE_RET_BIRTHDAY_FORMAT_ERROR", + 7023: "RETCODE_RET_ONLINE_ID_NOT_EXISTS", + 7024: "RETCODE_RET_FIRST_SHARE_REWARD_HAS_TAKEN", + 7025: "RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_BLACKLIST", + 7026: "RETCODE_RET_REPORT_CD", + 7027: "RETCODE_RET_REPORT_CONTENT_ILLEGAL", + 7028: "RETCODE_RET_REMARK_WORD_ILLEGAL", + 7029: "RETCODE_RET_REMARK_TOO_LONG", + 7030: "RETCODE_RET_REMARK_UTF8_ERROR", + 7031: "RETCODE_RET_REMARK_IS_EMPTY", + 7032: "RETCODE_RET_ASK_ADD_FRIEND_CD", + 7033: "RETCODE_RET_SHOW_AVATAR_INFO_NOT_EXIST", + 7034: "RETCODE_RET_PLAYER_NOT_SHOW_AVATAR", + 7035: "RETCODE_RET_SOCIAL_UPDATE_SHOW_LIST_REPEAT_ID", + 7036: "RETCODE_RET_PSN_ID_NOT_FOUND", + 7037: "RETCODE_RET_EMOJI_COLLECTION_NUM_EXCEED_LIMIT", + 7038: "RETCODE_RET_REMARK_EMPTY", + 7039: "RETCODE_RET_IN_TARGET_PSN_BLACKLIST", + 7040: "RETCODE_RET_SIGNATURE_NOT_CHANGED", + 7041: "RETCODE_RET_SIGNATURE_MONTHLY_LIMIT", + 7081: "RETCODE_RET_OFFERING_NOT_OPEN", + 7082: "RETCODE_RET_OFFERING_LEVEL_LIMIT", + 7083: "RETCODE_RET_OFFERING_LEVEL_NOT_REACH", + 7084: "RETCODE_RET_OFFERING_LEVEL_HAS_TAKEN", + 7101: "RETCODE_RET_CITY_REPUTATION_NOT_OPEN", + 7102: "RETCODE_RET_CITY_REPUTATION_LEVEL_TAKEN", + 7103: "RETCODE_RET_CITY_REPUTATION_LEVEL_NOT_REACH", + 7104: "RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_TAKEN", + 7105: "RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_UNFINISH", + 7106: "RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST", + 7107: "RETCODE_RET_CITY_REPUTATION_NOT_ACCEPT_REQUEST", + 7108: "RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST_LIMIT", + 7109: "RETCODE_RET_CITY_REPUTATION_ENTRANCE_NOT_OPEN", + 7110: "RETCODE_RET_CITY_REPUTATION_TAKEN_REQUEST_REWARD", + 7111: "RETCODE_RET_CITY_REPUTATION_SWITCH_CLOSE", + 7112: "RETCODE_RET_CITY_REPUTATION_ENTRACE_SWITCH_CLOSE", + 7113: "RETCODE_RET_CITY_REPUTATION_TAKEN_EXPLORE_REWARD", + 7114: "RETCODE_RET_CITY_REPUTATION_EXPLORE_NOT_REACH", + 7120: "RETCODE_RET_MECHANICUS_NOT_OPEN", + 7121: "RETCODE_RET_MECHANICUS_GEAR_UNLOCK", + 7122: "RETCODE_RET_MECHANICUS_GEAR_LOCK", + 7123: "RETCODE_RET_MECHANICUS_GEAR_LEVEL_LIMIT", + 7124: "RETCODE_RET_MECHANICUS_COIN_NOT_ENOUGH", + 7125: "RETCODE_RET_MECHANICUS_NO_SEQUENCE", + 7126: "RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_LEVEL", + 7127: "RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_OPEN", + 7128: "RETCODE_RET_MECHANICUS_DIFFICULT_NOT_SUPPORT", + 7129: "RETCODE_RET_MECHANICUS_TICKET_NOT_ENOUGH", + 7130: "RETCODE_RET_MECHANICUS_TEACH_NOT_FINISH", + 7131: "RETCODE_RET_MECHANICUS_TEACH_FINISHED", + 7132: "RETCODE_RET_MECHANICUS_PREV_DIFFICULT_LEVEL_BLOCK", + 7133: "RETCODE_RET_MECHANICUS_PLAYER_LIMIT", + 7134: "RETCODE_RET_MECHANICUS_PUNISH_TIME", + 7135: "RETCODE_RET_MECHANICUS_SWITCH_CLOSE", + 7150: "RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_DUNGEON", + 7151: "RETCODE_RET_MECHANICUS_BATTLE_PLAY_NOT_FOUND", + 7152: "RETCODE_RET_MECHANICUS_BATTLE_DUPLICATE_PICK_CARD", + 7153: "RETCODE_RET_MECHANICUS_BATTLE_PLAYER_NOT_IN_PLAY", + 7154: "RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_AVAILABLE", + 7155: "RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_CARD_STAGE", + 7156: "RETCODE_RET_MECHANICUS_BATTLE_CARD_IS_WAITING", + 7157: "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALL_CONFIRMED", + 7158: "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_CONFIRMED", + 7159: "RETCODE_RET_MECHANICUS_BATTLE_CARD_CONFIRMED_BY_OTHER", + 7160: "RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_ENOUGH_POINTS", + 7161: "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_SKIPPED", + 8001: "RETCODE_RET_LEGENDARY_KEY_NOT_ENOUGH", + 8002: "RETCODE_RET_LEGENDARY_KEY_EXCEED_LIMIT", + 8003: "RETCODE_RET_DAILY_TASK_NOT_ENOUGH_TO_REDEEM", + 8004: "RETCODE_RET_PERSONAL_LINE_OPEN_STATE_OFF", + 8005: "RETCODE_RET_PERSONAL_LINE_LEVEL_NOT_ENOUGH", + 8006: "RETCODE_RET_PERSONAL_LINE_NOT_OPEN", + 8007: "RETCODE_RET_PERSONAL_LINE_PRE_QUEST_NOT_FINISH", + 8201: "RETCODE_RET_HUNTING_ALREADY_FINISH_OFFER_LIMIT", + 8202: "RETCODE_RET_HUNTING_HAS_UNFINISHED_OFFER", + 8203: "RETCODE_RET_HUNTING_FAILED_OFFER_NOT_CD_READY", + 8204: "RETCODE_RET_HUNTING_NOT_TAKE_OFFER", + 8205: "RETCODE_RET_HUNTING_CANNOT_TAKE_TWICE", + 8901: "RETCODE_RET_RPIVATE_CHAT_INVALID_CONTENT_TYPE", + 8902: "RETCODE_RET_PRIVATE_CHAT_TARGET_IS_NOT_FRIEND", + 8903: "RETCODE_RET_PRIVATE_CHAT_CONTENT_NOT_SUPPORTED", + 8904: "RETCODE_RET_PRIVATE_CHAT_CONTENT_TOO_LONG", + 8905: "RETCODE_RET_PRIVATE_CHAT_PULL_TOO_FAST", + 8906: "RETCODE_RET_PRIVATE_CHAT_REPEAT_READ", + 8907: "RETCODE_RET_PRIVATE_CHAT_READ_NOT_FRIEND", + 9001: "RETCODE_RET_REUNION_FINISHED", + 9002: "RETCODE_RET_REUNION_NOT_ACTIVATED", + 9003: "RETCODE_RET_REUNION_ALREADY_TAKE_FIRST_REWARD", + 9004: "RETCODE_RET_REUNION_SIGN_IN_REWARDED", + 9005: "RETCODE_RET_REUNION_WATCHER_REWARDED", + 9006: "RETCODE_RET_REUNION_WATCHER_NOT_FINISH", + 9007: "RETCODE_RET_REUNION_MISSION_REWARDED", + 9008: "RETCODE_RET_REUNION_MISSION_NOT_FINISH", + 9009: "RETCODE_RET_REUNION_WATCHER_REWARD_NOT_UNLOCKED", + 9101: "RETCODE_RET_BLESSING_CONTENT_CLOSED", + 9102: "RETCODE_RET_BLESSING_NOT_ACTIVE", + 9103: "RETCODE_RET_BLESSING_NOT_TODAY_ENTITY", + 9104: "RETCODE_RET_BLESSING_ENTITY_EXCEED_SCAN_NUM_LIMIT", + 9105: "RETCODE_RET_BLESSING_DAILY_SCAN_NUM_EXCEED_LIMIT", + 9106: "RETCODE_RET_BLESSING_REDEEM_REWARD_NUM_EXCEED_LIMIT", + 9107: "RETCODE_RET_BLESSING_REDEEM_PIC_NUM_NOT_ENOUGH", + 9108: "RETCODE_RET_BLESSING_PIC_NOT_ENOUGH", + 9109: "RETCODE_RET_BLESSING_PIC_HAS_RECEIVED", + 9110: "RETCODE_RET_BLESSING_TARGET_RECV_NUM_EXCEED", + 9111: "RETCODE_RET_FLEUR_FAIR_CREDIT_EXCEED_LIMIT", + 9112: "RETCODE_RET_FLEUR_FAIR_CREDIT_NOT_ENOUGH", + 9113: "RETCODE_RET_FLEUR_FAIR_TOKEN_EXCEED_LIMIT", + 9114: "RETCODE_RET_FLEUR_FAIR_TOKEN_NOT_ENOUGH", + 9115: "RETCODE_RET_FLEUR_FAIR_MINIGAME_NOT_OPEN", + 9116: "RETCODE_RET_FLEUR_FAIR_MUSIC_GAME_DIFFICULTY_NOT_UNLOCK", + 9117: "RETCODE_RET_FLEUR_FAIR_DUNGEON_LOCKED", + 9118: "RETCODE_RET_FLEUR_FAIR_DUNGEON_PUNISH_TIME", + 9119: "RETCODE_RET_FLEUR_FAIR_ONLY_OWNER_CAN_RESTART_MINIGAM", + 9120: "RETCODE_RET_WATER_SPIRIT_COIN_EXCEED_LIMIT", + 9121: "RETCODE_RET_WATER_SPIRIT_COIN_NOT_ENOUGH", + 9122: "RETCODE_RET_REGION_SEARCH_NO_SEARCH", + 9123: "RETCODE_RET_REGION_SEARCH_STATE_ERROR", + 9130: "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_STAGE_NOT_OPEN", + 9131: "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_NOT_OPEN", + 9132: "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_FIRST_PASS_REWARD_HAS_TAKEN", + 9133: "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_SCORE_REWARD_HAS_TAKEN", + 9134: "RETCODE_RET_CHANNELLER_SLAB_INVALID_ONE_OFF_DUNGEON", + 9135: "RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_DONE", + 9136: "RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_STAGE_NOT_OPEN", + 9137: "RETCODE_RET_CHANNELLER_SLAB_TOKEN_EXCEED_LIMIT", + 9138: "RETCODE_RET_CHANNELLER_SLAB_TOKEN_NOT_ENOUGH", + 9139: "RETCODE_RET_CHANNELLER_SLAB_PLAYER_NOT_IN_ONE_OFF_DUNGEON", + 9150: "RETCODE_RET_MIST_TRIAL_SELECT_CHARACTER_NUM_NOT_ENOUGH", + 9160: "RETCODE_RET_HIDE_AND_SEEK_PLAY_NOT_OPEN", + 9161: "RETCODE_RET_HIDE_AND_SEEK_PLAY_MAP_NOT_OPEN", + 9170: "RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_EXCEED_LIMIT", + 9171: "RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_NOT_ENOUGH", + 9172: "RETCODE_RET_SUMMER_TIME_MINI_HARPASTUM_EXCEED_LIMIT", + 9173: "RETCODE_RET_SUMMER_TIME_MINI_HARPASTUMNOT_ENOUGH", + 9180: "RETCODE_RET_BOUNCE_CONJURING_COIN_EXCEED_LIMIT", + 9181: "RETCODE_RET_BOUNCE_CONJURING_COIN_NOT_ENOUGH", + 9183: "RETCODE_RET_CHESS_TEACH_MAP_FINISHED", + 9184: "RETCODE_RET_CHESS_TEACH_MAP_UNFINISHED", + 9185: "RETCODE_RET_CHESS_COIN_EXCEED_LIMIT", + 9186: "RETCODE_RET_CHESS_COIN_NOT_ENOUGH", + 9187: "RETCODE_RET_CHESS_IN_PUNISH_TIME", + 9188: "RETCODE_RET_CHESS_PREV_MAP_UNFINISHED", + 9189: "RETCODE_RET_CHESS_MAP_LOCKED", + 9192: "RETCODE_RET_BLITZ_RUSH_NOT_OPEN", + 9193: "RETCODE_RET_BLITZ_RUSH_DUNGEON_NOT_OPEN", + 9194: "RETCODE_RET_BLITZ_RUSH_COIN_A_EXCEED_LIMIT", + 9195: "RETCODE_RET_BLITZ_RUSH_COIN_B_EXCEED_LIMIT", + 9196: "RETCODE_RET_BLITZ_RUSH_COIN_A_NOT_ENOUGH", + 9197: "RETCODE_RET_BLITZ_RUSH_COIN_B_NOT_ENOUGH", + 9201: "RETCODE_RET_MIRACLE_RING_VALUE_NOT_ENOUGH", + 9202: "RETCODE_RET_MIRACLE_RING_CD", + 9203: "RETCODE_RET_MIRACLE_RING_REWARD_NOT_TAKEN", + 9204: "RETCODE_RET_MIRACLE_RING_NOT_DELIVER", + 9205: "RETCODE_RET_MIRACLE_RING_DELIVER_EXCEED", + 9206: "RETCODE_RET_MIRACLE_RING_HAS_CREATED", + 9207: "RETCODE_RET_MIRACLE_RING_HAS_NOT_CREATED", + 9208: "RETCODE_RET_MIRACLE_RING_NOT_YOURS", + 9251: "RETCODE_RET_GADGET_FOUNDATION_UNAUTHORIZED", + 9252: "RETCODE_RET_GADGET_FOUNDATION_SCENE_NOT_FOUND", + 9253: "RETCODE_RET_GADGET_FOUNDATION_NOT_IN_INIT_STATE", + 9254: "RETCODE_RET_GADGET_FOUNDATION_BILDING_POINT_NOT_ENOUGHT", + 9255: "RETCODE_RET_GADGET_FOUNDATION_NOT_IN_BUILT_STATE", + 9256: "RETCODE_RET_GADGET_FOUNDATION_OP_NOT_SUPPORTED", + 9257: "RETCODE_RET_GADGET_FOUNDATION_REQ_PLAYER_NOT_IN_SCENE", + 9258: "RETCODE_RET_GADGET_FOUNDATION_LOCKED_BY_ANOTHER_PLAYER", + 9259: "RETCODE_RET_GADGET_FOUNDATION_NOT_LOCKED", + 9260: "RETCODE_RET_GADGET_FOUNDATION_DUPLICATE_LOCK", + 9261: "RETCODE_RET_GADGET_FOUNDATION_PLAYER_NOT_FOUND", + 9262: "RETCODE_RET_GADGET_FOUNDATION_PLAYER_GEAR_NOT_FOUND", + 9263: "RETCODE_RET_GADGET_FOUNDATION_ROTAION_DISABLED", + 9264: "RETCODE_RET_GADGET_FOUNDATION_REACH_DUNGEON_GEAR_LIMIT", + 9265: "RETCODE_RET_GADGET_FOUNDATION_REACH_SINGLE_GEAR_LIMIT", + 9266: "RETCODE_RET_GADGET_FOUNDATION_ROTATION_ON_GOING", + 9301: "RETCODE_RET_OP_ACTIVITY_BONUS_NOT_FOUND", + 9302: "RETCODE_RET_OP_ACTIVITY_NOT_OPEN", + 9501: "RETCODE_RET_MULTISTAGE_PLAY_PLAYER_NOT_IN_SCENE", + 9502: "RETCODE_RET_MULTISTAGE_PLAY_NOT_FOUND", + 9601: "RETCODE_RET_COOP_CHAPTER_NOT_OPEN", + 9602: "RETCODE_RET_COOP_COND_NOT_MEET", + 9603: "RETCODE_RET_COOP_POINT_LOCKED", + 9604: "RETCODE_RET_COOP_NOT_HAVE_PROGRESS", + 9605: "RETCODE_RET_COOP_REWARD_HAS_TAKEN", + 9651: "RETCODE_RET_DRAFT_HAS_ACTIVE_DRAFT", + 9652: "RETCODE_RET_DRAFT_NOT_IN_MY_WORLD", + 9653: "RETCODE_RET_DRAFT_NOT_SUPPORT_MP", + 9654: "RETCODE_RET_DRAFT_PLAYER_NOT_ENOUGH", + 9655: "RETCODE_RET_DRAFT_INCORRECT_SCENE", + 9656: "RETCODE_RET_DRAFT_OTHER_PLAYER_ENTERING", + 9657: "RETCODE_RET_DRAFT_GUEST_IS_TRANSFERRING", + 9658: "RETCODE_RET_DRAFT_GUEST_NOT_IN_DRAFT_SCENE", + 9659: "RETCODE_RET_DRAFT_INVITE_OVER_TIME", + 9660: "RETCODE_RET_DRAFT_TWICE_CONFIRM_OVER_TIMER", + 9701: "RETCODE_RET_HOME_UNKOWN", + 9702: "RETCODE_RET_HOME_INVALID_CLIENT_PARAM", + 9703: "RETCODE_RET_HOME_TARGE_PLAYER_HAS_NO_HOME", + 9704: "RETCODE_RET_HOME_NOT_ONLINE", + 9705: "RETCODE_RET_HOME_PLAYER_FULL", + 9706: "RETCODE_RET_HOME_BLOCKED", + 9707: "RETCODE_RET_HOME_ALREADY_IN_TARGET_HOME_WORLD", + 9708: "RETCODE_RET_HOME_IN_EDIT_MODE", + 9709: "RETCODE_RET_HOME_NOT_IN_EDIT_MODE", + 9710: "RETCODE_RET_HOME_HAS_GUEST", + 9711: "RETCODE_RET_HOME_CANT_ENTER_BY_IN_EDIT_MODE", + 9712: "RETCODE_RET_HOME_CLIENT_PARAM_INVALID", + 9713: "RETCODE_RET_HOME_PLAYER_NOT_IN_HOME_WORLD", + 9714: "RETCODE_RET_HOME_PLAYER_NOT_IN_SELF_HOME_WORLD", + 9715: "RETCODE_RET_HOME_NOT_FOUND_IN_MEM", + 9716: "RETCODE_RET_HOME_PLAYER_IN_HOME_ROOM_SCENE", + 9717: "RETCODE_RET_HOME_HOME_REFUSE_GUEST_ENTER", + 9718: "RETCODE_RET_HOME_OWNER_REFUSE_TO_ENTER_HOME", + 9719: "RETCODE_RET_HOME_OWNER_OFFLINE", + 9720: "RETCODE_RET_HOME_FURNITURE_EXCEED_LIMIT", + 9721: "RETCODE_RET_HOME_FURNITURE_COUNT_NOT_ENOUGH", + 9722: "RETCODE_RET_HOME_IN_TRY_ENTER_PROCESS", + 9723: "RETCODE_RET_HOME_ALREADY_IN_TARGET_SCENE", + 9724: "RETCODE_RET_HOME_COIN_EXCEED_LIMIT", + 9725: "RETCODE_RET_HOME_COIN_NOT_ENOUGH", + 9726: "RETCODE_RET_HOME_MODULE_NOT_UNLOCKED", + 9727: "RETCODE_RET_HOME_CUR_MODULE_CLOSED", + 9728: "RETCODE_RET_HOME_FURNITURE_SUITE_NOT_UNLOCKED", + 9729: "RETCODE_RET_HOME_IN_MATCH", + 9730: "RETCODE_RET_HOME_IN_COMBAT", + 9731: "RETCODE_RET_HOME_EDIT_MODE_CD", + 9732: "RETCODE_RET_HOME_UPDATE_FURNITURE_CD", + 9733: "RETCODE_RET_HOME_BLOCK_FURNITURE_LIMIT", + 9734: "RETCODE_RET_HOME_NOT_SUPPORT", + 9735: "RETCODE_RET_HOME_STATE_NOT_OPEN", + 9736: "RETCODE_RET_HOME_TARGET_STATE_NOT_OPEN", + 9737: "RETCODE_RET_HOME_APPLY_ENTER_OTHER_HOME_FAIL", + 9738: "RETCODE_RET_HOME_SAVE_NO_MAIN_HOUSE", + 9739: "RETCODE_RET_HOME_IN_DUNGEON", + 9740: "RETCODE_RET_HOME_ANY_GALLERY_STARTED", + 9741: "RETCODE_RET_HOME_QUEST_BLOCK_HOME", + 9742: "RETCODE_RET_HOME_WAITING_PRIOR_CHECK", + 9743: "RETCODE_RET_HOME_PERSISTENT_CHECK_FAIL", + 9744: "RETCODE_RET_HOME_FIND_ONLINE_HOME_FAIL", + 9745: "RETCODE_RET_HOME_JOIN_SCENE_FAIL", + 9746: "RETCODE_RET_HOME_MAX_PLAYER", + 9747: "RETCODE_RET_HOME_IN_TRANSFER", + 9748: "RETCODE_RET_HOME_ANY_HOME_GALLERY_STARTED", + 9749: "RETCODE_RET_HOME_CAN_NOT_ENTER_IN_AUDIT", + 9750: "RETCODE_RET_FURNITURE_MAKE_INDEX_ERROR", + 9751: "RETCODE_RET_FURNITURE_MAKE_LOCKED", + 9752: "RETCODE_RET_FURNITURE_MAKE_CONFIG_ERROR", + 9753: "RETCODE_RET_FURNITURE_MAKE_SLOT_FULL", + 9754: "RETCODE_RET_FURNITURE_MAKE_ADD_FURNITURE_FAIL", + 9755: "RETCODE_RET_FURNITURE_MAKE_UNFINISH", + 9756: "RETCODE_RET_FURNITURE_MAKE_IS_FINISH", + 9757: "RETCODE_RET_FURNITURE_MAKE_NOT_IN_CORRECT_HOME", + 9758: "RETCODE_RET_FURNITURE_MAKE_NO_COUNT", + 9759: "RETCODE_RET_FURNITURE_MAKE_ACCELERATE_LIMIT", + 9760: "RETCODE_RET_FURNITURE_MAKE_NO_MAKE_DATA", + 9761: "RETCODE_RET_HOME_LIMITED_SHOP_CLOSE", + 9762: "RETCODE_RET_HOME_AVATAR_NOT_SHOW", + 9763: "RETCODE_RET_HOME_EVENT_COND_NOT_SATISFIED", + 9764: "RETCODE_RET_HOME_INVALID_ARRANGE_ANIMAL_PARAM", + 9765: "RETCODE_RET_HOME_INVALID_ARRANGE_NPC_PARAM", + 9766: "RETCODE_RET_HOME_INVALID_ARRANGE_SUITE_PARAM", + 9767: "RETCODE_RET_HOME_INVALID_ARRANGE_MAIN_HOUSE_PARAM", + 9768: "RETCODE_RET_HOME_AVATAR_STATE_NOT_OPEN", + 9769: "RETCODE_RET_HOME_PLANT_FIELD_NOT_EMPTY", + 9770: "RETCODE_RET_HOME_PLANT_FIELD_EMPTY", + 9771: "RETCODE_RET_HOME_PLANT_FIELD_TYPE_ERROR", + 9772: "RETCODE_RET_HOME_PLANT_TIME_NOT_ENOUGH", + 9773: "RETCODE_RET_HOME_PLANT_SUB_FIELD_NUM_NOT_ENOUGH", + 9774: "RETCODE_RET_HOME_PLANT_FIELD_PARAM_ERROR", + 9775: "RETCODE_RET_HOME_FURNITURE_GUID_ERROR", + 9776: "RETCODE_RET_HOME_FURNITURE_ARRANGE_LIMIT", + 9777: "RETCODE_RET_HOME_FISH_FARMING_LIMIT", + 9778: "RETCODE_RET_HOME_FISH_COUNT_NOT_ENOUGH", + 9779: "RETCODE_RET_HOME_FURNITURE_COST_LIMIT", + 9780: "RETCODE_RET_HOME_CUSTOM_FURNITURE_INVALID", + 9781: "RETCODE_RET_HOME_INVALID_ARRANGE_GROUP_PARAM", + 9782: "RETCODE_RET_HOME_FURNITURE_ARRANGE_GROUP_LIMIT", + 9783: "RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_GENDER_ERROR", + 9784: "RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_NOT_UNLOCK", + 9785: "RETCODE_RET_HOME_FURNITURE_CANNOT_ARRANGE", + 9786: "RETCODE_RET_HOME_FURNITURE_IN_DUPLICATE_SUITE", + 9787: "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_SMALL", + 9788: "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_BIG", + 9789: "RETCODE_RET_HOME_FURNITURE_SUITE_EXCEED_LIMIT", + 9790: "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_EXCEED_LIMIT", + 9791: "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_INVALID_SURFACE_TYPE", + 9792: "RETCODE_RET_HOME_BGM_ID_NOT_FOUND", + 9793: "RETCODE_RET_HOME_BGM_NOT_UNLOCKED", + 9794: "RETCODE_RET_HOME_BGM_FURNITURE_NOT_FOUND", + 9795: "RETCODE_RET_HOME_BGM_NOT_SUPPORT_BY_CUR_SCENE", + 9796: "RETCODE_RET_HOME_LIMITED_SHOP_GOODS_DISABLE", + 9797: "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_EMPTY", + 9798: "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_NOT_FOUND", + 9799: "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_COUNT_INVALID", + 9800: "RETCODE_RET_HOME_WORLD_WOOD_EXCHANGE_EXCEED_LIMIT", + 10000: "RETCODE_RET_SUMO_ACTIVITY_STAGE_NOT_OPEN", + 10001: "RETCODE_RET_SUMO_ACTIVITY_SWITCH_TEAM_IN_CD", + 10002: "RETCODE_RET_SUMO_ACTIVITY_TEAM_NUM_INCORRECT", + 10004: "RETCODE_RET_LUNA_RITE_ACTIVITY_AREA_ID_ERROR", + 10005: "RETCODE_RET_LUNA_RITE_ACTIVITY_BATTLE_NOT_FINISH", + 10006: "RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_SACRIFICE", + 10007: "RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_TAKE_REWARD", + 10008: "RETCODE_RET_LUNA_RITE_ACTIVITY_SACRIFICE_NOT_ENOUGH", + 10009: "RETCODE_RET_LUNA_RITE_ACTIVITY_SEARCHING_COND_NOT_MEET", + 10015: "RETCODE_RET_DIG_GADGET_CONFIG_ID_NOT_MATCH", + 10016: "RETCODE_RET_DIG_FIND_NEAREST_POS_FAIL", + 10021: "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_OPEN", + 10022: "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_UNLOCK", + 10023: "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_STARTED", + 10024: "RETCODE_RET_MUSIC_GAME_LEVEL_CONFIG_NOT_FOUND", + 10025: "RETCODE_RET_MUSIC_GAME_LEVEL_ID_NOT_MATCH", + 10031: "RETCODE_RET_ROGUELIKE_COIN_A_NOT_ENOUGH", + 10032: "RETCODE_RET_ROGUELIKE_COIN_B_NOT_ENOUGH", + 10033: "RETCODE_RET_ROGUELIKE_COIN_C_NOT_ENOUGH", + 10034: "RETCODE_RET_ROGUELIKE_COIN_A_EXCEED_LIMIT", + 10035: "RETCODE_RET_ROGUELIKE_COIN_B_EXCEED_LIMIT", + 10036: "RETCODE_RET_ROGUELIKE_COIN_C_EXCEED_LIMIT", + 10037: "RETCODE_RET_ROGUELIKE_RUNE_COUNT_NOT_ENOUGH", + 10038: "RETCODE_RET_ROGUELIKE_NOT_IN_ROGUE_DUNGEON", + 10039: "RETCODE_RET_ROGUELIKE_CELL_NOT_FOUND", + 10040: "RETCODE_RET_ROGUELIKE_CELL_TYPE_INCORRECT", + 10041: "RETCODE_RET_ROGUELIKE_CELL_ALREADY_FINISHED", + 10042: "RETCODE_RET_ROGUELIKE_DUNGEON_HAVE_UNFINISHED_PROGRESS", + 10043: "RETCODE_RET_ROGUELIKE_STAGE_NOT_FINISHED", + 10045: "RETCODE_RET_ROGUELIKE_STAGE_FIRST_PASS_REWARD_HAS_TAKEN", + 10046: "RETCODE_RET_ROGUELIKE_ACTIVITY_CONTENT_CLOSED", + 10047: "RETCODE_RET_ROGUELIKE_DUNGEON_PRE_QUEST_NOT_FINISHED", + 10048: "RETCODE_RET_ROGUELIKE_DUNGEON_NOT_OPEN", + 10049: "RETCODE_RET_ROGUELIKE_SPRINT_IS_BANNED", + 10050: "RETCODE_RET_ROGUELIKE_DUNGEON_PRE_STAGE_NOT_FINISHED", + 10051: "RETCODE_RET_ROGUELIKE_ALL_AVATAR_DIE_CANNOT_RESUME", + 10056: "RETCODE_RET_PLANT_FLOWER_ALREADY_TAKE_SEED", + 10057: "RETCODE_RET_PLANT_FLOWER_FRIEND_HAVE_FLOWER_LIMIT", + 10058: "RETCODE_RET_PLANT_FLOWER_CAN_GIVE_FLOWER_NOT_ENOUGH", + 10059: "RETCODE_RET_PLANT_FLOWER_WISH_FLOWER_KINDS_LIMIT", + 10060: "RETCODE_RET_PLANT_FLOWER_HAVE_FLOWER_NOT_ENOUGH", + 10061: "RETCODE_RET_PLANT_FLOWER_FLOWER_COMBINATION_INVALID", + 10052: "RETCODE_RET_HACHI_DUNGEON_NOT_VALID", + 10053: "RETCODE_RET_HACHI_DUNGEON_STAGE_NOT_OPEN", + 10054: "RETCODE_RET_HACHI_DUNGEON_TEAMMATE_NOT_PASS", + 10071: "RETCODE_RET_WINTER_CAMP_COIN_A_NOT_ENOUGH", + 10072: "RETCODE_RET_WINTER_CAMP_COIN_B_NOT_ENOUGH", + 10073: "RETCODE_RET_WINTER_CAMP_COIN_A_EXCEED_LIMIT", + 10074: "RETCODE_RET_WINTER_CAMP_COIN_B_EXCEED_LIMIT", + 10075: "RETCODE_RET_WINTER_CAMP_WISH_ID_INVALID", + 10076: "RETCODE_RET_WINTER_CAMP_NOT_FOUND_RECV_ITEM_DATA", + 10077: "RETCODE_RET_WINTER_CAMP_FRIEND_ITEM_COUNT_OVERFLOW", + 10078: "RETCODE_RET_WINTER_CAMP_SELECT_ITEM_DATA_INVALID", + 10079: "RETCODE_RET_WINTER_CAMP_ITEM_LIST_EMPTY", + 10080: "RETCODE_RET_WINTER_CAMP_REWARD_ALREADY_TAKEN", + 10081: "RETCODE_RET_WINTER_CAMP_STAGE_NOT_FINISH", + 10082: "RETCODE_RET_WINTER_CAMP_GADGET_INVALID", + 10090: "RETCODE_RET_LANTERN_RITE_COIN_A_NOT_ENOUGH", + 10091: "RETCODE_RET_LANTERN_RITE_COIN_B_NOT_ENOUGH", + 10092: "RETCODE_RET_LANTERN_RITE_COIN_C_NOT_ENOUGH", + 10093: "RETCODE_RET_LANTERN_RITE_COIN_A_EXCEED_LIMIT", + 10094: "RETCODE_RET_LANTERN_RITE_COIN_B_EXCEED_LIMIT", + 10095: "RETCODE_RET_LANTERN_RITE_COIN_C_EXCEED_LIMIT", + 10096: "RETCODE_RET_LANTERN_RITE_PROJECTION_CONTENT_CLOSED", + 10097: "RETCODE_RET_LANTERN_RITE_PROJECTION_CAN_NOT_START", + 10098: "RETCODE_RET_LANTERN_RITE_DUNGEON_NOT_OPEN", + 10099: "RETCODE_RET_LANTERN_RITE_HAS_TAKEN_SKIN_REWARD", + 10100: "RETCODE_RET_LANTERN_RITE_NOT_FINISHED_SKIN_WATCHERS", + 10101: "RETCODE_RET_LANTERN_RITE_FIREWORKS_CONTENT_CLOSED", + 10102: "RETCODE_RET_LANTERN_RITE_FIREWORKS_CHALLENGE_NOT_START", + 10103: "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_PARAM_ERROR", + 10104: "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_SKILL_LOCK", + 10105: "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_STAMINA_NOT_ENOUGH", + 10110: "RETCODE_RET_POTION_ACTIVITY_STAGE_NOT_OPEN", + 10111: "RETCODE_RET_POTION_ACTIVITY_LEVEL_HAVE_PASS", + 10112: "RETCODE_RET_POTION_ACTIVITY_TEAM_NUM_INCORRECT", + 10113: "RETCODE_RET_POTION_ACTIVITY_AVATAR_IN_CD", + 10114: "RETCODE_RET_POTION_ACTIVITY_BUFF_IN_CD", + 10120: "RETCODE_RET_IRODORI_POETRY_INVALID_LINE_ID", + 10121: "RETCODE_RET_IRODORI_POETRY_INVALID_THEME_ID", + 10122: "RETCODE_RET_IRODORI_POETRY_NOT_GET_ALL_INSPIRATION", + 10123: "RETCODE_RET_IRODORI_POETRY_INSPIRATION_REACH_LIMIE", + 10124: "RETCODE_RET_IRODORI_POETRY_ENTITY_ALREADY_SCANNED", + 10300: "RETCODE_RET_ACTIVITY_BANNER_ALREADY_CLEARED", + 10301: "RETCODE_RET_IRODORI_CHESS_NOT_OPEN", + 10302: "RETCODE_RET_IRODORI_CHESS_LEVEL_NOT_OPEN", + 10303: "RETCODE_RET_IRODORI_CHESS_MAP_NOT_OPEN", + 10304: "RETCODE_RET_IRODORI_CHESS_MAP_CARD_ALREADY_EQUIPED", + 10305: "RETCODE_RET_IRODORI_CHESS_EQUIP_CARD_EXCEED_LIMIT", + 10306: "RETCODE_RET_IRODORI_CHESS_MAP_CARD_NOT_EQUIPED", + 10307: "RETCODE_RET_IRODORI_CHESS_ENTER_FAIL_CARD_EXCEED_LIMIT", + 10310: "RETCODE_RET_ACTIVITY_FRIEND_HAVE_GIFT_LIMIT", + 10315: "RETCODE_RET_GACHA_ACTIVITY_HAVE_REWARD_LIMIT", + 10316: "RETCODE_RET_GACHA_ACTIVITY_HAVE_ROBOT_LIMIT", + 10317: "RETCODE_RET_SUMMER_TIME_V2_COIN_EXCEED_LIMIT", + 10318: "RETCODE_RET_SUMMER_TIME_V2_COIN_NOT_ENOUGH", + 10319: "RETCODE_RET_SUMMER_TIME_V2_DUNGEON_STAGE_NOT_OPEN", + 10320: "RETCODE_RET_SUMMER_TIME_V2_PREV_DUNGEON_NOT_COMPLETE", + 10350: "RETCODE_RET_ROGUE_DIARY_AVATAR_DEATH", + 10351: "RETCODE_RET_ROGUE_DIARY_AVATAR_TIRED", + 10352: "RETCODE_RET_ROGUE_DIARY_AVATAR_DUPLICATED", + 10353: "RETCODE_RET_ROGUE_DIARY_COIN_NOT_ENOUGH", + 10354: "RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_EXCEED_LIMIT", + 10355: "RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_NOT_ENOUGH", + 10366: "RETCODE_RET_ROGUE_DIARY_CONTENT_CLOSED", + 10380: "RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_NOT_ENOUGH", + 10381: "RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_NOT_ENOUGH", + 10382: "RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_EXCEED_LIMIT", + 10383: "RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_EXCEED_LIMIT", + 10371: "RETCODE_RET_ISLAND_PARTY_STAGE_NOT_OPEN", + 11001: "RETCODE_RET_NOT_IN_FISHING", + 11002: "RETCODE_RET_FISH_STATE_ERROR", + 11003: "RETCODE_RET_FISH_BAIT_LIMIT", + 11004: "RETCODE_RET_FISHING_MAX_DISTANCE", + 11005: "RETCODE_RET_FISHING_IN_COMBAT", + 11006: "RETCODE_RET_FISHING_BATTLE_TOO_SHORT", + 11007: "RETCODE_RET_FISH_GONE_AWAY", + 11051: "RETCODE_RET_CAN_NOT_EDIT_OTHER_DUNGEON", + 11052: "RETCODE_RET_CUSTOM_DUNGEON_DISMATCH", + 11053: "RETCODE_RET_NO_CUSTOM_DUNGEON_DATA", + 11054: "RETCODE_RET_BUILD_CUSTOM_DUNGEON_FAIL", + 11055: "RETCODE_RET_CUSTOM_DUNGEON_ROOM_CHECK_FAIL", + 11056: "RETCODE_RET_CUSTOM_DUNGEON_SAVE_MAY_FAIL", + 11057: "RETCODE_RET_NOT_IN_CUSTOM_DUNGEON", + 11058: "RETCODE_RET_CUSTOM_DUNGEON_INTERNAL_FAIL", + 11059: "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_TRY", + 11060: "RETCODE_RET_CUSTOM_DUNGEON_NO_START_ROOM", + 11061: "RETCODE_RET_CUSTOM_DUNGEON_NO_ROOM_DATA", + 11062: "RETCODE_RET_CUSTOM_DUNGEON_SAVE_TOO_FREQUENT", + 11063: "RETCODE_RET_CUSTOM_DUNGEON_NOT_SELF_PASS", + 11064: "RETCODE_RET_CUSTOM_DUNGEON_LACK_COIN", + 11065: "RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_BRICK", + 11066: "RETCODE_RET_CUSTOM_DUNGEON_MULTI_FINISH", + 11067: "RETCODE_RET_CUSTOM_DUNGEON_NOT_PUBLISHED", + 11068: "RETCODE_RET_CUSTOM_DUNGEON_FULL_STORE", + 11069: "RETCODE_RET_CUSTOM_DUNGEON_STORE_REPEAT", + 11070: "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_STORE_SELF", + 11071: "RETCODE_RET_CUSTOM_DUNGEON_NOT_SAVE_SUCC", + 11072: "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_LIKE_SELF", + 11073: "RETCODE_RET_CUSTOM_DUNGEON_NOT_FOUND", + 11074: "RETCODE_RET_CUSTOM_DUNGEON_INVALID_SETTING", + 11075: "RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_SETTING", + 11076: "RETCODE_RET_CUSTOM_DUNGEON_SAVE_NOTHING", + 11077: "RETCODE_RET_CUSTOM_DUNGEON_NOT_IN_GROUP", + 11078: "RETCODE_RET_CUSTOM_DUNGEON_NOT_OFFICIAL", + 11079: "RETCODE_RET_CUSTOM_DUNGEON_LIFE_NUM_ERROR", + 11080: "RETCODE_RET_CUSTOM_DUNGEON_NO_OPEN_ROOM", + 11081: "RETCODE_RET_CUSTOM_DUNGEON_BRICK_EXCEED_LIMIT", + 11082: "RETCODE_RET_CUSTOM_DUNGEON_OFFICIAL_NOT_UNLOCK", + 11083: "RETCODE_RET_CAN_NOT_EDIT_OFFICIAL_SETTING", + 11084: "RETCODE_RET_CUSTOM_DUNGEON_BAN_PUBLISH", + 11085: "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_REPLAY", + 11086: "RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN_GROUP", + 11087: "RETCODE_RET_CUSTOM_DUNGEON_MAX_EDIT_NUM", + 11088: "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_OUT_STUCK", + 11089: "RETCODE_RET_CUSTOM_DUNGEON_MAX_TAG", + 11090: "RETCODE_RET_CUSTOM_DUNGEON_INVALID_TAG", + 11091: "RETCODE_RET_CUSTOM_DUNGEON_MAX_COST", + 11092: "RETCODE_RET_CUSTOM_DUNGEON_REQUEST_TOO_FREQUENT", + 11093: "RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN", + 11101: "RETCODE_RET_SHARE_CD_ID_ERROR", + 11102: "RETCODE_RET_SHARE_CD_INDEX_ERROR", + 11103: "RETCODE_RET_SHARE_CD_IN_CD", + 11104: "RETCODE_RET_SHARE_CD_TOKEN_NOT_ENOUGH", + 11151: "RETCODE_RET_UGC_DISMATCH", + 11152: "RETCODE_RET_UGC_DATA_NOT_FOUND", + 11153: "RETCODE_RET_UGC_BRIEF_NOT_FOUND", + 11154: "RETCODE_RET_UGC_DISABLED", + 11155: "RETCODE_RET_UGC_LIMITED", + 11156: "RETCODE_RET_UGC_LOCKED", + 11157: "RETCODE_RET_UGC_NOT_AUTH", + 11158: "RETCODE_RET_UGC_NOT_OPEN", + 11159: "RETCODE_RET_UGC_BAN_PUBLISH", + 11201: "RETCODE_RET_COMPOUND_BOOST_ITEM_NOT_EXIST", + 11202: "RETCODE_RET_COMPOUND_BOOST_TARGET_NOT_EXIST", + 11211: "RETCODE_RET_QUICK_HIT_TREE_EMPTY_TREES", + } + Retcode_value = map[string]int32{ + "RETCODE_RET_SUCC": 0, + "RETCODE_RET_FAIL": -1, + "RETCODE_RET_SVR_ERROR": 1, + "RETCODE_RET_UNKNOWN_ERROR": 2, + "RETCODE_RET_FREQUENT": 3, + "RETCODE_RET_NODE_FORWARD_ERROR": 4, + "RETCODE_RET_NOT_FOUND_CONFIG": 5, + "RETCODE_RET_SYSTEM_BUSY": 6, + "RETCODE_RET_GM_UID_BIND": 7, + "RETCODE_RET_FORBIDDEN": 8, + "RETCODE_RET_STOP_REGISTER": 10, + "RETCODE_RET_STOP_SERVER": 11, + "RETCODE_RET_ACCOUNT_VEIRFY_ERROR": 12, + "RETCODE_RET_ACCOUNT_FREEZE": 13, + "RETCODE_RET_REPEAT_LOGIN": 14, + "RETCODE_RET_CLIENT_VERSION_ERROR": 15, + "RETCODE_RET_TOKEN_ERROR": 16, + "RETCODE_RET_ACCOUNT_NOT_EXIST": 17, + "RETCODE_RET_WAIT_OTHER_LOGIN": 18, + "RETCODE_RET_ANOTHER_LOGIN": 19, + "RETCODE_RET_CLIENT_FORCE_UPDATE": 20, + "RETCODE_RET_BLACK_UID": 21, + "RETCODE_RET_LOGIN_DB_FAIL": 22, + "RETCODE_RET_LOGIN_INIT_FAIL": 23, + "RETCODE_RET_MYSQL_DUPLICATE": 24, + "RETCODE_RET_MAX_PLAYER": 25, + "RETCODE_RET_ANTI_ADDICT": 26, + "RETCODE_RET_PS_PLAYER_WITHOUT_ONLINE_ID": 27, + "RETCODE_RET_ONLINE_ID_NOT_FOUND": 28, + "RETCODE_RET_ONLNE_ID_NOT_MATCH": 29, + "RETCODE_RET_REGISTER_IS_FULL": 30, + "RETCODE_RET_CHECKSUM_INVALID": 31, + "RETCODE_RET_BLACK_REGISTER_IP": 32, + "RETCODE_RET_EXCEED_REGISTER_RATE": 33, + "RETCODE_RET_UNKNOWN_PLATFORM": 34, + "RETCODE_RET_TOKEN_PARAM_ERROR": 35, + "RETCODE_RET_ANTI_OFFLINE_ERROR": 36, + "RETCODE_RET_BLACK_LOGIN_IP": 37, + "RETCODE_RET_GET_TOKEN_SESSION_HAS_UID": 38, + "RETCODE_RET_ENVIRONMENT_ERROR": 39, + "RETCODE_RET_CHECK_CLIENT_VERSION_HASH_FAIL": 40, + "RETCODE_RET_MINOR_REGISTER_FOBIDDEN": 41, + "RETCODE_RET_SECURITY_LIBRARY_ERROR": 42, + "RETCODE_RET_AVATAR_IN_CD": 101, + "RETCODE_RET_AVATAR_NOT_ALIVE": 102, + "RETCODE_RET_AVATAR_NOT_ON_SCENE": 103, + "RETCODE_RET_CAN_NOT_FIND_AVATAR": 104, + "RETCODE_RET_CAN_NOT_DEL_CUR_AVATAR": 105, + "RETCODE_RET_DUPLICATE_AVATAR": 106, + "RETCODE_RET_AVATAR_IS_SAME_ONE": 107, + "RETCODE_RET_AVATAR_LEVEL_LESS_THAN": 108, + "RETCODE_RET_AVATAR_CAN_NOT_CHANGE_ELEMENT": 109, + "RETCODE_RET_AVATAR_BREAK_LEVEL_LESS_THAN": 110, + "RETCODE_RET_AVATAR_ON_MAX_BREAK_LEVEL": 111, + "RETCODE_RET_AVATAR_ID_ALREADY_EXIST": 112, + "RETCODE_RET_AVATAR_NOT_DEAD": 113, + "RETCODE_RET_AVATAR_IS_REVIVING": 114, + "RETCODE_RET_AVATAR_ID_ERROR": 115, + "RETCODE_RET_REPEAT_SET_PLAYER_BORN_DATA": 116, + "RETCODE_RET_PLAYER_LEVEL_LESS_THAN": 117, + "RETCODE_RET_AVATAR_LIMIT_LEVEL_ERROR": 118, + "RETCODE_RET_CUR_AVATAR_NOT_ALIVE": 119, + "RETCODE_RET_CAN_NOT_FIND_TEAM": 120, + "RETCODE_RET_CAN_NOT_FIND_CUR_TEAM": 121, + "RETCODE_RET_AVATAR_NOT_EXIST_IN_TEAM": 122, + "RETCODE_RET_CAN_NOT_REMOVE_CUR_AVATAR_FROM_TEAM": 123, + "RETCODE_RET_CAN_NOT_USE_REVIVE_ITEM_FOR_CUR_AVATAR": 124, + "RETCODE_RET_TEAM_COST_EXCEED_LIMIT": 125, + "RETCODE_RET_TEAM_AVATAR_IN_EXPEDITION": 126, + "RETCODE_RET_TEAM_CAN_NOT_CHOSE_REPLACE_USE": 127, + "RETCODE_RET_AVATAR_IN_COMBAT": 128, + "RETCODE_RET_NICKNAME_UTF8_ERROR": 130, + "RETCODE_RET_NICKNAME_TOO_LONG": 131, + "RETCODE_RET_NICKNAME_WORD_ILLEGAL": 132, + "RETCODE_RET_NICKNAME_TOO_MANY_DIGITS": 133, + "RETCODE_RET_NICKNAME_IS_EMPTY": 134, + "RETCODE_RET_NICKNAME_MONTHLY_LIMIT": 135, + "RETCODE_RET_NICKNAME_NOT_CHANGED": 136, + "RETCODE_RET_PLAYER_NOT_ONLINE": 140, + "RETCODE_RET_OPEN_STATE_NOT_OPEN": 141, + "RETCODE_RET_FEATURE_CLOSED": 142, + "RETCODE_RET_AVATAR_EXPEDITION_AVATAR_DIE": 152, + "RETCODE_RET_AVATAR_EXPEDITION_COUNT_LIMIT": 153, + "RETCODE_RET_AVATAR_EXPEDITION_MAIN_FORBID": 154, + "RETCODE_RET_AVATAR_EXPEDITION_TRIAL_FORBID": 155, + "RETCODE_RET_TEAM_NAME_ILLEGAL": 156, + "RETCODE_RET_IS_NOT_IN_STANDBY": 157, + "RETCODE_RET_IS_IN_DUNGEON": 158, + "RETCODE_RET_IS_IN_LOCK_AVATAR_QUEST": 159, + "RETCODE_RET_IS_USING_TRIAL_AVATAR": 160, + "RETCODE_RET_IS_USING_TEMP_AVATAR": 161, + "RETCODE_RET_NOT_HAS_FLYCLOAK": 162, + "RETCODE_RET_FETTER_REWARD_ALREADY_GOT": 163, + "RETCODE_RET_FETTER_REWARD_LEVEL_NOT_ENOUGH": 164, + "RETCODE_RET_WORLD_LEVEL_ADJUST_MIN_LEVEL": 165, + "RETCODE_RET_WORLD_LEVEL_ADJUST_CD": 166, + "RETCODE_RET_NOT_HAS_COSTUME": 167, + "RETCODE_RET_COSTUME_AVATAR_ERROR": 168, + "RETCODE_RET_FLYCLOAK_PLATFORM_TYPE_ERR": 169, + "RETCODE_RET_IN_TRANSFER": 170, + "RETCODE_RET_IS_IN_LOCK_AVATAR": 171, + "RETCODE_RET_FULL_BACKUP_TEAM": 172, + "RETCODE_RET_BACKUP_TEAM_ID_NOT_VALID": 173, + "RETCODE_RET_BACKUP_TEAM_IS_CUR_TEAM": 174, + "RETCODE_RET_FLOAT_ERROR": 201, + "RETCODE_RET_NPC_NOT_EXIST": 301, + "RETCODE_RET_NPC_TOO_FAR": 302, + "RETCODE_RET_NOT_CURRENT_TALK": 303, + "RETCODE_RET_NPC_CREATE_FAIL": 304, + "RETCODE_RET_NPC_MOVE_FAIL": 305, + "RETCODE_RET_QUEST_NOT_EXIST": 401, + "RETCODE_RET_QUEST_IS_FAIL": 402, + "RETCODE_RET_QUEST_CONTENT_ERROR": 403, + "RETCODE_RET_BARGAIN_NOT_ACTIVATED": 404, + "RETCODE_RET_BARGAIN_FINISHED": 405, + "RETCODE_RET_INFERENCE_ASSOCIATE_WORD_ERROR": 406, + "RETCODE_RET_INFERENCE_SUBMIT_WORD_NO_CONCLUSION": 407, + "RETCODE_RET_POINT_NOT_UNLOCKED": 501, + "RETCODE_RET_POINT_TOO_FAR": 502, + "RETCODE_RET_POINT_ALREAY_UNLOCKED": 503, + "RETCODE_RET_ENTITY_NOT_EXIST": 504, + "RETCODE_RET_ENTER_SCENE_FAIL": 505, + "RETCODE_RET_PLAYER_IS_ENTER_SCENE": 506, + "RETCODE_RET_CITY_MAX_LEVEL": 507, + "RETCODE_RET_AREA_LOCKED": 508, + "RETCODE_RET_JOIN_OTHER_WAIT": 509, + "RETCODE_RET_WEATHER_AREA_NOT_FOUND": 510, + "RETCODE_RET_WEATHER_IS_LOCKED": 511, + "RETCODE_RET_NOT_IN_SELF_SCENE": 512, + "RETCODE_RET_GROUP_NOT_EXIST": 513, + "RETCODE_RET_MARK_NAME_ILLEGAL": 514, + "RETCODE_RET_MARK_ALREADY_EXISTS": 515, + "RETCODE_RET_MARK_OVERFLOW": 516, + "RETCODE_RET_MARK_NOT_EXISTS": 517, + "RETCODE_RET_MARK_UNKNOWN_TYPE": 518, + "RETCODE_RET_MARK_NAME_TOO_LONG": 519, + "RETCODE_RET_DISTANCE_LONG": 520, + "RETCODE_RET_ENTER_SCENE_TOKEN_INVALID": 521, + "RETCODE_RET_NOT_IN_WORLD_SCENE": 522, + "RETCODE_RET_ANY_GALLERY_STARTED": 523, + "RETCODE_RET_GALLERY_NOT_START": 524, + "RETCODE_RET_GALLERY_INTERRUPT_ONLY_ON_SINGLE_MODE": 525, + "RETCODE_RET_GALLERY_CANNOT_INTERRUPT": 526, + "RETCODE_RET_GALLERY_WORLD_NOT_MEET": 527, + "RETCODE_RET_GALLERY_SCENE_NOT_MEET": 528, + "RETCODE_RET_CUR_PLAY_CANNOT_TRANSFER": 529, + "RETCODE_RET_CANT_USE_WIDGET_IN_HOME_SCENE": 530, + "RETCODE_RET_SCENE_GROUP_NOT_MATCH": 531, + "RETCODE_RET_POS_ROT_INVALID": 551, + "RETCODE_RET_MARK_INVALID_SCENE_ID": 552, + "RETCODE_RET_INVALID_SCENE_TO_USE_ANCHOR_POINT": 553, + "RETCODE_RET_ENTER_HOME_SCENE_FAIL": 554, + "RETCODE_RET_CUR_SCENE_IS_NULL": 555, + "RETCODE_RET_GROUP_ID_ERROR": 556, + "RETCODE_RET_GALLERY_INTERRUPT_NOT_OWNER": 557, + "RETCODE_RET_NO_SPRING_IN_AREA": 558, + "RETCODE_RET_AREA_NOT_IN_SCENE": 559, + "RETCODE_RET_INVALID_CITY_ID": 560, + "RETCODE_RET_INVALID_SCENE_ID": 561, + "RETCODE_RET_DEST_SCENE_IS_NOT_ALLOW": 562, + "RETCODE_RET_LEVEL_TAG_SWITCH_IN_CD": 563, + "RETCODE_RET_LEVEL_TAG_ALREADY_EXIST": 564, + "RETCODE_RET_INVALID_AREA_ID": 565, + "RETCODE_RET_ITEM_NOT_EXIST": 601, + "RETCODE_RET_PACK_EXCEED_MAX_WEIGHT": 602, + "RETCODE_RET_ITEM_NOT_DROPABLE": 603, + "RETCODE_RET_ITEM_NOT_USABLE": 604, + "RETCODE_RET_ITEM_INVALID_USE_COUNT": 605, + "RETCODE_RET_ITEM_INVALID_DROP_COUNT": 606, + "RETCODE_RET_ITEM_ALREADY_EXIST": 607, + "RETCODE_RET_ITEM_IN_COOLDOWN": 608, + "RETCODE_RET_ITEM_COUNT_NOT_ENOUGH": 609, + "RETCODE_RET_ITEM_INVALID_TARGET": 610, + "RETCODE_RET_RECIPE_NOT_EXIST": 611, + "RETCODE_RET_RECIPE_LOCKED": 612, + "RETCODE_RET_RECIPE_UNLOCKED": 613, + "RETCODE_RET_COMPOUND_QUEUE_FULL": 614, + "RETCODE_RET_COMPOUND_NOT_FINISH": 615, + "RETCODE_RET_MAIL_ITEM_NOT_GET": 616, + "RETCODE_RET_ITEM_EXCEED_LIMIT": 617, + "RETCODE_RET_AVATAR_CAN_NOT_USE": 618, + "RETCODE_RET_ITEM_NEED_PLAYER_LEVEL": 619, + "RETCODE_RET_RECIPE_NOT_AUTO_QTE": 620, + "RETCODE_RET_COMPOUND_BUSY_QUEUE": 621, + "RETCODE_RET_NEED_MORE_SCOIN": 622, + "RETCODE_RET_SKILL_DEPOT_NOT_FOUND": 623, + "RETCODE_RET_HCOIN_NOT_ENOUGH": 624, + "RETCODE_RET_SCOIN_NOT_ENOUGH": 625, + "RETCODE_RET_HCOIN_EXCEED_LIMIT": 626, + "RETCODE_RET_SCOIN_EXCEED_LIMIT": 627, + "RETCODE_RET_MAIL_EXPIRED": 628, + "RETCODE_RET_REWARD_HAS_TAKEN": 629, + "RETCODE_RET_COMBINE_COUNT_TOO_LARGE": 630, + "RETCODE_RET_GIVING_ITEM_WRONG": 631, + "RETCODE_RET_GIVING_IS_FINISHED": 632, + "RETCODE_RET_GIVING_NOT_ACTIVED": 633, + "RETCODE_RET_FORGE_QUEUE_FULL": 634, + "RETCODE_RET_FORGE_QUEUE_CAPACITY": 635, + "RETCODE_RET_FORGE_QUEUE_NOT_FOUND": 636, + "RETCODE_RET_FORGE_QUEUE_EMPTY": 637, + "RETCODE_RET_NOT_SUPPORT_ITEM": 638, + "RETCODE_RET_ITEM_EMPTY": 639, + "RETCODE_RET_VIRTUAL_EXCEED_LIMIT": 640, + "RETCODE_RET_MATERIAL_EXCEED_LIMIT": 641, + "RETCODE_RET_EQUIP_EXCEED_LIMIT": 642, + "RETCODE_RET_ITEM_SHOULD_HAVE_NO_LEVEL": 643, + "RETCODE_RET_WEAPON_PROMOTE_LEVEL_EXCEED_LIMIT": 644, + "RETCODE_RET_WEAPON_LEVEL_INVALID": 645, + "RETCODE_RET_UNKNOW_ITEM_TYPE": 646, + "RETCODE_RET_ITEM_COUNT_IS_ZERO": 647, + "RETCODE_RET_ITEM_IS_EXPIRED": 648, + "RETCODE_RET_ITEM_EXCEED_OUTPUT_LIMIT": 649, + "RETCODE_RET_EQUIP_LEVEL_HIGHER": 650, + "RETCODE_RET_EQUIP_CAN_NOT_WAKE_OFF_WEAPON": 651, + "RETCODE_RET_EQUIP_HAS_BEEN_WEARED": 652, + "RETCODE_RET_EQUIP_WEARED_CANNOT_DROP": 653, + "RETCODE_RET_AWAKEN_LEVEL_MAX": 654, + "RETCODE_RET_MCOIN_NOT_ENOUGH": 655, + "RETCODE_RET_MCOIN_EXCEED_LIMIT": 656, + "RETCODE_RET_RESIN_NOT_ENOUGH": 660, + "RETCODE_RET_RESIN_EXCEED_LIMIT": 661, + "RETCODE_RET_RESIN_OPENSTATE_OFF": 662, + "RETCODE_RET_RESIN_BOUGHT_COUNT_EXCEEDED": 663, + "RETCODE_RET_RESIN_CARD_DAILY_REWARD_HAS_TAKEN": 664, + "RETCODE_RET_RESIN_CARD_EXPIRED": 665, + "RETCODE_RET_AVATAR_CAN_NOT_COOK": 666, + "RETCODE_RET_ATTACH_AVATAR_CD": 667, + "RETCODE_RET_AUTO_RECOVER_OPENSTATE_OFF": 668, + "RETCODE_RET_AUTO_RECOVER_BOUGHT_COUNT_EXCEEDED": 669, + "RETCODE_RET_RESIN_GAIN_FAILED": 670, + "RETCODE_RET_WIDGET_ORNAMENTS_TYPE_ERROR": 671, + "RETCODE_RET_ALL_TARGET_SATIATION_FULL": 672, + "RETCODE_RET_FORGE_WORLD_LEVEL_NOT_MATCH": 673, + "RETCODE_RET_FORGE_POINT_NOT_ENOUGH": 674, + "RETCODE_RET_WIDGET_ANCHOR_POINT_FULL": 675, + "RETCODE_RET_WIDGET_ANCHOR_POINT_NOT_FOUND": 676, + "RETCODE_RET_ALL_BONFIRE_EXCEED_MAX_COUNT": 677, + "RETCODE_RET_BONFIRE_EXCEED_MAX_COUNT": 678, + "RETCODE_RET_LUNCH_BOX_DATA_ERROR": 679, + "RETCODE_RET_INVALID_QUICK_USE_WIDGET": 680, + "RETCODE_RET_INVALID_REPLACE_RESIN_COUNT": 681, + "RETCODE_RET_PREV_DETECTED_GATHER_NOT_FOUND": 682, + "RETCODE_RET_GOT_ALL_ONEOFF_GAHTER": 683, + "RETCODE_RET_INVALID_WIDGET_MATERIAL_ID": 684, + "RETCODE_RET_WIDGET_DETECTOR_NO_HINT_TO_CLEAR": 685, + "RETCODE_RET_WIDGET_ALREADY_WITHIN_NEARBY_RADIUS": 686, + "RETCODE_RET_WIDGET_CLIENT_COLLECTOR_NEED_POINTS": 687, + "RETCODE_RET_WIDGET_IN_COMBAT": 688, + "RETCODE_RET_WIDGET_NOT_SET_QUICK_USE": 689, + "RETCODE_RET_ALREADY_ATTACH_WIDGET": 690, + "RETCODE_RET_EQUIP_IS_LOCKED": 691, + "RETCODE_RET_FORGE_IS_LOCKED": 692, + "RETCODE_RET_COMBINE_IS_LOCKED": 693, + "RETCODE_RET_FORGE_OUTPUT_STACK_LIMIT": 694, + "RETCODE_RET_ALREADY_DETTACH_WIDGET": 695, + "RETCODE_RET_GADGET_BUILDER_EXCEED_MAX_COUNT": 696, + "RETCODE_RET_REUNION_PRIVILEGE_RESIN_TYPE_IS_NORMAL": 697, + "RETCODE_RET_BONUS_COUNT_EXCEED_DOUBLE_LIMIT": 698, + "RETCODE_RET_RELIQUARY_DECOMPOSE_PARAM_ERROR": 699, + "RETCODE_RET_ITEM_COMBINE_COUNT_NOT_ENOUGH": 700, + "RETCODE_RET_GOODS_NOT_EXIST": 701, + "RETCODE_RET_GOODS_MATERIAL_NOT_ENOUGH": 702, + "RETCODE_RET_GOODS_NOT_IN_TIME": 703, + "RETCODE_RET_GOODS_BUY_NUM_NOT_ENOUGH": 704, + "RETCODE_RET_GOODS_BUY_NUM_ERROR": 705, + "RETCODE_RET_SHOP_NOT_OPEN": 706, + "RETCODE_RET_SHOP_CONTENT_NOT_MATCH": 707, + "RETCODE_RET_CHAT_FORBIDDEN": 798, + "RETCODE_RET_CHAT_CD": 799, + "RETCODE_RET_CHAT_FREQUENTLY": 800, + "RETCODE_RET_GADGET_NOT_EXIST": 801, + "RETCODE_RET_GADGET_NOT_INTERACTIVE": 802, + "RETCODE_RET_GADGET_NOT_GATHERABLE": 803, + "RETCODE_RET_CHEST_IS_LOCKED": 804, + "RETCODE_RET_GADGET_CREATE_FAIL": 805, + "RETCODE_RET_WORKTOP_OPTION_NOT_EXIST": 806, + "RETCODE_RET_GADGET_STATUE_NOT_ACTIVE": 807, + "RETCODE_RET_GADGET_STATUE_OPENED": 808, + "RETCODE_RET_BOSS_CHEST_NO_QUALIFICATION": 809, + "RETCODE_RET_BOSS_CHEST_LIFE_TIME_OVER": 810, + "RETCODE_RET_BOSS_CHEST_WEEK_NUM_LIMIT": 811, + "RETCODE_RET_BOSS_CHEST_GUEST_WORLD_LEVEL": 812, + "RETCODE_RET_BOSS_CHEST_HAS_TAKEN": 813, + "RETCODE_RET_BLOSSOM_CHEST_NO_QUALIFICATION": 814, + "RETCODE_RET_BLOSSOM_CHEST_LIFE_TIME_OVER": 815, + "RETCODE_RET_BLOSSOM_CHEST_HAS_TAKEN": 816, + "RETCODE_RET_BLOSSOM_CHEST_GUEST_WORLD_LEVEL": 817, + "RETCODE_RET_MP_PLAY_REWARD_NO_QUALIFICATION": 818, + "RETCODE_RET_MP_PLAY_REWARD_HAS_TAKEN": 819, + "RETCODE_RET_GENERAL_REWARD_NO_QUALIFICATION": 820, + "RETCODE_RET_GENERAL_REWARD_LIFE_TIME_OVER": 821, + "RETCODE_RET_GENERAL_REWARD_HAS_TAKEN": 822, + "RETCODE_RET_GADGET_NOT_VEHICLE": 823, + "RETCODE_RET_VEHICLE_SLOT_OCCUPIED": 824, + "RETCODE_RET_NOT_IN_VEHICLE": 825, + "RETCODE_RET_CREATE_VEHICLE_IN_CD": 826, + "RETCODE_RET_CREATE_VEHICLE_POS_INVALID": 827, + "RETCODE_RET_VEHICLE_POINT_NOT_UNLOCK": 828, + "RETCODE_RET_GADGET_INTERACT_COND_NOT_MEET": 829, + "RETCODE_RET_GADGET_INTERACT_PARAM_ERROR": 830, + "RETCODE_RET_GADGET_CUSTOM_COMBINATION_INVALID": 831, + "RETCODE_RET_DESHRET_OBELISK_DUPLICATE_INTERACT": 832, + "RETCODE_RET_DESHRET_OBELISK_NO_AVAIL_CHEST": 833, + "RETCODE_RET_ACTIVITY_CLOSE": 860, + "RETCODE_RET_ACTIVITY_ITEM_ERROR": 861, + "RETCODE_RET_ACTIVITY_CONTRIBUTION_NOT_ENOUGH": 862, + "RETCODE_RET_SEA_LAMP_PHASE_NOT_FINISH": 863, + "RETCODE_RET_SEA_LAMP_FLY_NUM_LIMIT": 864, + "RETCODE_RET_SEA_LAMP_FLY_LAMP_WORD_ILLEGAL": 865, + "RETCODE_RET_ACTIVITY_WATCHER_REWARD_TAKEN": 866, + "RETCODE_RET_ACTIVITY_WATCHER_REWARD_NOT_FINISHED": 867, + "RETCODE_RET_SALESMAN_ALREADY_DELIVERED": 868, + "RETCODE_RET_SALESMAN_REWARD_COUNT_NOT_ENOUGH": 869, + "RETCODE_RET_SALESMAN_POSITION_INVALID": 870, + "RETCODE_RET_DELIVER_NOT_FINISH_ALL_QUEST": 871, + "RETCODE_RET_DELIVER_ALREADY_TAKE_DAILY_REWARD": 872, + "RETCODE_RET_ASTER_PROGRESS_EXCEED_LIMIT": 873, + "RETCODE_RET_ASTER_CREDIT_EXCEED_LIMIT": 874, + "RETCODE_RET_ASTER_TOKEN_EXCEED_LIMIT": 875, + "RETCODE_RET_ASTER_CREDIT_NOT_ENOUGH": 876, + "RETCODE_RET_ASTER_TOKEN_NOT_ENOUGH": 877, + "RETCODE_RET_ASTER_SPECIAL_REWARD_HAS_TAKEN": 878, + "RETCODE_RET_FLIGHT_GROUP_ACTIVITY_NOT_STARTED": 879, + "RETCODE_RET_ASTER_MID_PREVIOUS_BATTLE_NOT_FINISHED": 880, + "RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_EXCEED_LIMIT": 881, + "RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_EXCEED_LIMIT": 882, + "RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_EXCEED_LIMIT": 883, + "RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_NOT_ENOUGH": 884, + "RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_NOT_ENOUGH": 885, + "RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_NOT_ENOUGH": 886, + "RETCODE_RET_EFFIGY_FIRST_PASS_REWARD_HAS_TAKEN": 891, + "RETCODE_RET_EFFIGY_REWARD_HAS_TAKEN": 892, + "RETCODE_RET_TREASURE_MAP_ADD_TOKEN_EXCEED_LIMIT": 893, + "RETCODE_RET_TREASURE_MAP_TOKEN_NOT_ENOUGHT": 894, + "RETCODE_RET_SEA_LAMP_COIN_EXCEED_LIMIT": 895, + "RETCODE_RET_SEA_LAMP_COIN_NOT_ENOUGH": 896, + "RETCODE_RET_SEA_LAMP_POPULARITY_EXCEED_LIMIT": 897, + "RETCODE_RET_ACTIVITY_AVATAR_REWARD_NOT_OPEN": 898, + "RETCODE_RET_ACTIVITY_AVATAR_REWARD_HAS_TAKEN": 899, + "RETCODE_RET_ARENA_ACTIVITY_ALREADY_STARTED": 900, + "RETCODE_RET_TALENT_ALREAY_UNLOCKED": 901, + "RETCODE_RET_PREV_TALENT_NOT_UNLOCKED": 902, + "RETCODE_RET_BIG_TALENT_POINT_NOT_ENOUGH": 903, + "RETCODE_RET_SMALL_TALENT_POINT_NOT_ENOUGH": 904, + "RETCODE_RET_PROUD_SKILL_ALREADY_GOT": 905, + "RETCODE_RET_PREV_PROUD_SKILL_NOT_GET": 906, + "RETCODE_RET_PROUD_SKILL_MAX_LEVEL": 907, + "RETCODE_RET_CANDIDATE_SKILL_DEPOT_ID_NOT_FIND": 910, + "RETCODE_RET_SKILL_DEPOT_IS_THE_SAME": 911, + "RETCODE_RET_MONSTER_NOT_EXIST": 1001, + "RETCODE_RET_MONSTER_CREATE_FAIL": 1002, + "RETCODE_RET_DUNGEON_ENTER_FAIL": 1101, + "RETCODE_RET_DUNGEON_QUIT_FAIL": 1102, + "RETCODE_RET_DUNGEON_ENTER_EXCEED_DAY_COUNT": 1103, + "RETCODE_RET_DUNGEON_REVIVE_EXCEED_MAX_COUNT": 1104, + "RETCODE_RET_DUNGEON_REVIVE_FAIL": 1105, + "RETCODE_RET_DUNGEON_NOT_SUCCEED": 1106, + "RETCODE_RET_DUNGEON_CAN_NOT_CANCEL": 1107, + "RETCODE_RET_DEST_DUNGEON_SETTLED": 1108, + "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_FULL": 1109, + "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_DISMISS": 1110, + "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_NOT_ALL_READY": 1111, + "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_HAS_REPEAT_AVATAR": 1112, + "RETCODE_RET_DUNGEON_CANDIDATE_NOT_SINGEL_PASS": 1113, + "RETCODE_RET_DUNGEON_REPLAY_NEED_ALL_PLAYER_DIE": 1114, + "RETCODE_RET_DUNGEON_REPLAY_HAS_REVIVE_COUNT": 1115, + "RETCODE_RET_DUNGEON_OTHERS_LEAVE": 1116, + "RETCODE_RET_DUNGEON_ENTER_LEVEL_LIMIT": 1117, + "RETCODE_RET_DUNGEON_CANNOT_ENTER_PLOT_IN_MP": 1118, + "RETCODE_RET_DUNGEON_DROP_SUBFIELD_LIMIT": 1119, + "RETCODE_RET_DUNGEON_BE_INVITE_PLAYER_AVATAR_ALL_DIE": 1120, + "RETCODE_RET_DUNGEON_CANNOT_KICK": 1121, + "RETCODE_RET_DUNGEON_CANDIDATE_TEAM_SOMEONE_LEVEL_LIMIT": 1122, + "RETCODE_RET_DUNGEON_IN_FORCE_QUIT": 1123, + "RETCODE_RET_DUNGEON_GUEST_QUIT_DUNGEON": 1124, + "RETCODE_RET_DUNGEON_TICKET_FAIL": 1125, + "RETCODE_RET_MP_NOT_IN_MY_WORLD": 1201, + "RETCODE_RET_MP_IN_MP_MODE": 1202, + "RETCODE_RET_MP_SCENE_IS_FULL": 1203, + "RETCODE_RET_MP_MODE_NOT_AVAILABLE": 1204, + "RETCODE_RET_MP_PLAYER_NOT_ENTERABLE": 1205, + "RETCODE_RET_MP_QUEST_BLOCK_MP": 1206, + "RETCODE_RET_MP_IN_ROOM_SCENE": 1207, + "RETCODE_RET_MP_WORLD_IS_FULL": 1208, + "RETCODE_RET_MP_PLAYER_NOT_ALLOW_ENTER": 1209, + "RETCODE_RET_MP_PLAYER_DISCONNECTED": 1210, + "RETCODE_RET_MP_NOT_IN_MP_MODE": 1211, + "RETCODE_RET_MP_OWNER_NOT_ENTER": 1212, + "RETCODE_RET_MP_ALLOW_ENTER_PLAYER_FULL": 1213, + "RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER": 1214, + "RETCODE_RET_MP_TARGET_ENTERING_OTHER": 1215, + "RETCODE_RET_MP_OTHER_ENTERING": 1216, + "RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_PLOT": 1217, + "RETCODE_RET_MP_NOT_PS_PLAYER": 1218, + "RETCODE_RET_MP_PLAY_NOT_ACTIVE": 1219, + "RETCODE_RET_MP_PLAY_REMAIN_REWARDS": 1220, + "RETCODE_RET_MP_PLAY_NO_REWARD": 1221, + "RETCODE_RET_MP_OPEN_STATE_FAIL": 1223, + "RETCODE_RET_MP_PLAYER_IN_BLACKLIST": 1224, + "RETCODE_RET_MP_REPLY_TIMEOUT": 1225, + "RETCODE_RET_MP_IS_BLOCK": 1226, + "RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_MP_PLAY": 1227, + "RETCODE_RET_MP_IN_MP_PLAY_BATTLE": 1228, + "RETCODE_RET_MP_GUEST_HAS_REWARD_REMAINED": 1229, + "RETCODE_RET_MP_QUIT_MP_INVALID": 1230, + "RETCODE_RET_MP_OTHER_DATA_VERSION_NOT_LATEST": 1231, + "RETCODE_RET_MP_DATA_VERSION_NOT_LATEST": 1232, + "RETCODE_RET_MP_CUR_WORLD_NOT_ENTERABLE": 1233, + "RETCODE_RET_MP_ANY_GALLERY_STARTED": 1234, + "RETCODE_RET_MP_HAS_ACTIVE_DRAFT": 1235, + "RETCODE_RET_MP_PLAYER_IN_DUNGEON": 1236, + "RETCODE_RET_MP_MATCH_FULL": 1237, + "RETCODE_RET_MP_MATCH_LIMIT": 1238, + "RETCODE_RET_MP_MATCH_IN_PUNISH": 1239, + "RETCODE_RET_MP_IS_IN_MULTISTAGE": 1240, + "RETCODE_RET_MP_MATCH_PLAY_NOT_OPEN": 1241, + "RETCODE_RET_MP_ONLY_MP_WITH_PS_PLAYER": 1242, + "RETCODE_RET_MP_GUEST_LOADING_FIRST_ENTER": 1243, + "RETCODE_RET_MP_SUMMER_TIME_SPRINT_BOAT_ONGOING": 1244, + "RETCODE_RET_MP_BLITZ_RUSH_PARKOUR_CHALLENGE_ONGOING": 1245, + "RETCODE_RET_MP_MUSIC_GAME_ONGOING": 1246, + "RETCODE_RET_MP_IN_MPING_MODE": 1247, + "RETCODE_RET_MP_OWNER_IN_SINGLE_SCENE": 1248, + "RETCODE_RET_MP_IN_SINGLE_SCENE": 1249, + "RETCODE_RET_MP_REPLY_NO_VALID_AVATAR": 1250, + "RETCODE_RET_MAIL_PARA_ERR": 1301, + "RETCODE_RET_MAIL_MAX_NUM": 1302, + "RETCODE_RET_MAIL_ITEM_NUM_EXCEED": 1303, + "RETCODE_RET_MAIL_TITLE_LEN_EXCEED": 1304, + "RETCODE_RET_MAIL_CONTENT_LEN_EXCEED": 1305, + "RETCODE_RET_MAIL_SENDER_LEN_EXCEED": 1306, + "RETCODE_RET_MAIL_PARSE_PACKET_FAIL": 1307, + "RETCODE_RET_OFFLINE_MSG_MAX_NUM": 1308, + "RETCODE_RET_OFFLINE_MSG_SAME_TICKET": 1309, + "RETCODE_RET_MAIL_EXCEL_MAIL_TYPE_ERROR": 1310, + "RETCODE_RET_MAIL_CANNOT_SEND_MCOIN": 1311, + "RETCODE_RET_MAIL_HCOIN_EXCEED_LIMIT": 1312, + "RETCODE_RET_MAIL_SCOIN_EXCEED_LIMIT": 1313, + "RETCODE_RET_MAIL_MATERIAL_ID_INVALID": 1314, + "RETCODE_RET_MAIL_AVATAR_EXCEED_LIMIT": 1315, + "RETCODE_RET_MAIL_GACHA_TICKET_ETC_EXCEED_LIMIT": 1316, + "RETCODE_RET_MAIL_ITEM_EXCEED_CEHUA_LIMIT": 1317, + "RETCODE_RET_MAIL_SPACE_OR_REST_NUM_NOT_ENOUGH": 1318, + "RETCODE_RET_MAIL_TICKET_IS_EMPTY": 1319, + "RETCODE_RET_MAIL_TRANSACTION_IS_EMPTY": 1320, + "RETCODE_RET_MAIL_DELETE_COLLECTED": 1321, + "RETCODE_RET_DAILY_TASK_NOT_FINISH": 1330, + "RETCODE_RET_DAILY_TAKS_HAS_TAKEN": 1331, + "RETCODE_RET_SOCIAL_OFFLINE_MSG_NUM_EXCEED": 1332, + "RETCODE_RET_DAILY_TASK_FILTER_CITY_NOT_OPEN": 1333, + "RETCODE_RET_GACHA_INAVAILABLE": 1401, + "RETCODE_RET_GACHA_RANDOM_NOT_MATCH": 1402, + "RETCODE_RET_GACHA_SCHEDULE_NOT_MATCH": 1403, + "RETCODE_RET_GACHA_INVALID_TIMES": 1404, + "RETCODE_RET_GACHA_COST_ITEM_NOT_ENOUGH": 1405, + "RETCODE_RET_GACHA_TIMES_LIMIT": 1406, + "RETCODE_RET_GACHA_WISH_SAME_ITEM": 1407, + "RETCODE_RET_GACHA_WISH_INVALID_ITEM": 1408, + "RETCODE_RET_GACHA_MINORS_TIMES_LIMIT": 1409, + "RETCODE_RET_INVESTIGAITON_NOT_IN_PROGRESS": 1501, + "RETCODE_RET_INVESTIGAITON_UNCOMPLETE": 1502, + "RETCODE_RET_INVESTIGAITON_REWARD_TAKEN": 1503, + "RETCODE_RET_INVESTIGAITON_TARGET_STATE_ERROR": 1504, + "RETCODE_RET_PUSH_TIPS_NOT_FOUND": 1505, + "RETCODE_RET_SIGN_IN_RECORD_NOT_FOUND": 1506, + "RETCODE_RET_ALREADY_HAVE_SIGNED_IN": 1507, + "RETCODE_RET_SIGN_IN_COND_NOT_SATISFIED": 1508, + "RETCODE_RET_BONUS_ACTIVITY_NOT_UNREWARDED": 1509, + "RETCODE_RET_SIGN_IN_REWARDED": 1510, + "RETCODE_RET_TOWER_NOT_OPEN": 1521, + "RETCODE_RET_TOWER_HAVE_DAILY_RECORD": 1522, + "RETCODE_RET_TOWER_NOT_RECORD": 1523, + "RETCODE_RET_TOWER_HAVE_RECORD": 1524, + "RETCODE_RET_TOWER_TEAM_NUM_ERROR": 1525, + "RETCODE_RET_TOWER_FLOOR_NOT_OPEN": 1526, + "RETCODE_RET_TOWER_NO_FLOOR_STAR_RECORD": 1527, + "RETCODE_RET_ALREADY_HAS_TOWER_BUFF": 1528, + "RETCODE_RET_DUPLICATE_ENTER_LEVEL": 1529, + "RETCODE_RET_NOT_IN_TOWER_LEVEL": 1530, + "RETCODE_RET_IN_TOWER_LEVEL": 1531, + "RETCODE_RET_TOWER_PREV_FLOOR_NOT_FINISH": 1532, + "RETCODE_RET_TOWER_STAR_NOT_ENOUGH": 1533, + "RETCODE_RET_BATTLE_PASS_NO_SCHEDULE": 1541, + "RETCODE_RET_BATTLE_PASS_HAS_BUYED": 1542, + "RETCODE_RET_BATTLE_PASS_LEVEL_OVERFLOW": 1543, + "RETCODE_RET_BATTLE_PASS_PRODUCT_EXPIRED": 1544, + "RETCODE_RET_MATCH_HOST_QUIT": 1561, + "RETCODE_RET_MATCH_ALREADY_IN_MATCH": 1562, + "RETCODE_RET_MATCH_NOT_IN_MATCH": 1563, + "RETCODE_RET_MATCH_APPLYING_ENTER_MP": 1564, + "RETCODE_RET_WIDGET_TREASURE_SPOT_NOT_FOUND": 1581, + "RETCODE_RET_WIDGET_TREASURE_ENTITY_EXISTS": 1582, + "RETCODE_RET_WIDGET_TREASURE_SPOT_FAR_AWAY": 1583, + "RETCODE_RET_WIDGET_TREASURE_FINISHED_TODAY": 1584, + "RETCODE_RET_WIDGET_QUICK_USE_REQ_PARAM_ERROR": 1585, + "RETCODE_RET_WIDGET_CAMERA_SCAN_ID_ERROR": 1586, + "RETCODE_RET_WIDGET_NOT_ACTIVE": 1587, + "RETCODE_RET_WIDGET_FEATHER_NOT_ACTIVE": 1588, + "RETCODE_RET_WIDGET_FEATHER_GADGET_TOO_FAR_AWAY": 1589, + "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_NOT_EXIST": 1590, + "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_DROP_BAG_LIMIT": 1591, + "RETCODE_RET_WIDGET_CAPTURE_ANIMAL_CAN_NOT_CAPTURE": 1592, + "RETCODE_RET_WIDGET_SKY_CRYSTAL_ALL_COLLECTED": 1593, + "RETCODE_RET_WIDGET_SKY_CRYSTAL_HINT_ALREADY_EXIST": 1594, + "RETCODE_RET_WIDGET_SKY_CRYSTAL_NOT_FOUND": 1595, + "RETCODE_RET_WIDGET_SKY_CRYSTAL_NO_HINT_TO_CLEAR": 1596, + "RETCODE_RET_WIDGET_LIGHT_STONE_ENERGY_NOT_ENOUGH": 1597, + "RETCODE_RET_WIDGET_TOY_CRYSTAL_ENERGY_NOT_ENOUGH": 1598, + "RETCODE_RET_WIDGET_LIGHT_STONE_LEVEL_NOT_ENOUGH": 1599, + "RETCODE_RET_UID_NOT_EXIST": 2001, + "RETCODE_RET_PARSE_BIN_ERROR": 2002, + "RETCODE_RET_ACCOUNT_INFO_NOT_EXIST": 2003, + "RETCODE_RET_ORDER_INFO_NOT_EXIST": 2004, + "RETCODE_RET_SNAPSHOT_INDEX_ERROR": 2005, + "RETCODE_RET_MAIL_HAS_BEEN_SENT": 2006, + "RETCODE_RET_PRODUCT_NOT_EXIST": 2007, + "RETCODE_RET_UNFINISH_ORDER": 2008, + "RETCODE_RET_ID_NOT_EXIST": 2009, + "RETCODE_RET_ORDER_TRADE_EARLY": 2010, + "RETCODE_RET_ORDER_FINISHED": 2011, + "RETCODE_RET_GAMESERVER_VERSION_WRONG": 2012, + "RETCODE_RET_OFFLINE_OP_FULL_LENGTH": 2013, + "RETCODE_RET_CONCERT_PRODUCT_OBTAIN_LIMIT": 2014, + "RETCODE_RET_CONCERT_PRODUCT_TICKET_DUPLICATED": 2015, + "RETCODE_RET_CONCERT_PRODUCT_TICKET_EMPTY": 2016, + "RETCODE_RET_REDIS_MODIFIED": 5001, + "RETCODE_RET_REDIS_UID_NOT_EXIST": 5002, + "RETCODE_RET_PATHFINDING_DATA_NOT_EXIST": 6001, + "RETCODE_RET_PATHFINDING_DESTINATION_NOT_EXIST": 6002, + "RETCODE_RET_PATHFINDING_ERROR_SCENE": 6003, + "RETCODE_RET_PATHFINDING_SCENE_DATA_LOADING": 6004, + "RETCODE_RET_FRIEND_COUNT_EXCEEDED": 7001, + "RETCODE_RET_PLAYER_NOT_EXIST": 7002, + "RETCODE_RET_ALREADY_SENT_ADD_REQUEST": 7003, + "RETCODE_RET_ASK_FRIEND_LIST_FULL": 7004, + "RETCODE_RET_PLAYER_ALREADY_IS_FRIEND": 7005, + "RETCODE_RET_PLAYER_NOT_ASK_FRIEND": 7006, + "RETCODE_RET_TARGET_FRIEND_COUNT_EXCEED": 7007, + "RETCODE_RET_NOT_FRIEND": 7008, + "RETCODE_RET_BIRTHDAY_CANNOT_BE_SET_TWICE": 7009, + "RETCODE_RET_CANNOT_ADD_SELF_FRIEND": 7010, + "RETCODE_RET_SIGNATURE_ILLEGAL": 7011, + "RETCODE_RET_PS_PLAYER_CANNOT_ADD_FRIENDS": 7012, + "RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_FRIENDS": 7013, + "RETCODE_RET_NAME_CARD_NOT_UNLOCKED": 7014, + "RETCODE_RET_ALREADY_IN_BLACKLIST": 7015, + "RETCODE_RET_PS_PALEYRS_CANNOT_ADD_BLACKLIST": 7016, + "RETCODE_RET_PLAYER_BLACKLIST_FULL": 7017, + "RETCODE_RET_PLAYER_NOT_IN_BLACKLIST": 7018, + "RETCODE_RET_BLACKLIST_PLAYER_CANNOT_ADD_FRIEND": 7019, + "RETCODE_RET_IN_TARGET_BLACKLIST": 7020, + "RETCODE_RET_CANNOT_ADD_TARGET_FRIEND": 7021, + "RETCODE_RET_BIRTHDAY_FORMAT_ERROR": 7022, + "RETCODE_RET_ONLINE_ID_NOT_EXISTS": 7023, + "RETCODE_RET_FIRST_SHARE_REWARD_HAS_TAKEN": 7024, + "RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_BLACKLIST": 7025, + "RETCODE_RET_REPORT_CD": 7026, + "RETCODE_RET_REPORT_CONTENT_ILLEGAL": 7027, + "RETCODE_RET_REMARK_WORD_ILLEGAL": 7028, + "RETCODE_RET_REMARK_TOO_LONG": 7029, + "RETCODE_RET_REMARK_UTF8_ERROR": 7030, + "RETCODE_RET_REMARK_IS_EMPTY": 7031, + "RETCODE_RET_ASK_ADD_FRIEND_CD": 7032, + "RETCODE_RET_SHOW_AVATAR_INFO_NOT_EXIST": 7033, + "RETCODE_RET_PLAYER_NOT_SHOW_AVATAR": 7034, + "RETCODE_RET_SOCIAL_UPDATE_SHOW_LIST_REPEAT_ID": 7035, + "RETCODE_RET_PSN_ID_NOT_FOUND": 7036, + "RETCODE_RET_EMOJI_COLLECTION_NUM_EXCEED_LIMIT": 7037, + "RETCODE_RET_REMARK_EMPTY": 7038, + "RETCODE_RET_IN_TARGET_PSN_BLACKLIST": 7039, + "RETCODE_RET_SIGNATURE_NOT_CHANGED": 7040, + "RETCODE_RET_SIGNATURE_MONTHLY_LIMIT": 7041, + "RETCODE_RET_OFFERING_NOT_OPEN": 7081, + "RETCODE_RET_OFFERING_LEVEL_LIMIT": 7082, + "RETCODE_RET_OFFERING_LEVEL_NOT_REACH": 7083, + "RETCODE_RET_OFFERING_LEVEL_HAS_TAKEN": 7084, + "RETCODE_RET_CITY_REPUTATION_NOT_OPEN": 7101, + "RETCODE_RET_CITY_REPUTATION_LEVEL_TAKEN": 7102, + "RETCODE_RET_CITY_REPUTATION_LEVEL_NOT_REACH": 7103, + "RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_TAKEN": 7104, + "RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_UNFINISH": 7105, + "RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST": 7106, + "RETCODE_RET_CITY_REPUTATION_NOT_ACCEPT_REQUEST": 7107, + "RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST_LIMIT": 7108, + "RETCODE_RET_CITY_REPUTATION_ENTRANCE_NOT_OPEN": 7109, + "RETCODE_RET_CITY_REPUTATION_TAKEN_REQUEST_REWARD": 7110, + "RETCODE_RET_CITY_REPUTATION_SWITCH_CLOSE": 7111, + "RETCODE_RET_CITY_REPUTATION_ENTRACE_SWITCH_CLOSE": 7112, + "RETCODE_RET_CITY_REPUTATION_TAKEN_EXPLORE_REWARD": 7113, + "RETCODE_RET_CITY_REPUTATION_EXPLORE_NOT_REACH": 7114, + "RETCODE_RET_MECHANICUS_NOT_OPEN": 7120, + "RETCODE_RET_MECHANICUS_GEAR_UNLOCK": 7121, + "RETCODE_RET_MECHANICUS_GEAR_LOCK": 7122, + "RETCODE_RET_MECHANICUS_GEAR_LEVEL_LIMIT": 7123, + "RETCODE_RET_MECHANICUS_COIN_NOT_ENOUGH": 7124, + "RETCODE_RET_MECHANICUS_NO_SEQUENCE": 7125, + "RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_LEVEL": 7126, + "RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_OPEN": 7127, + "RETCODE_RET_MECHANICUS_DIFFICULT_NOT_SUPPORT": 7128, + "RETCODE_RET_MECHANICUS_TICKET_NOT_ENOUGH": 7129, + "RETCODE_RET_MECHANICUS_TEACH_NOT_FINISH": 7130, + "RETCODE_RET_MECHANICUS_TEACH_FINISHED": 7131, + "RETCODE_RET_MECHANICUS_PREV_DIFFICULT_LEVEL_BLOCK": 7132, + "RETCODE_RET_MECHANICUS_PLAYER_LIMIT": 7133, + "RETCODE_RET_MECHANICUS_PUNISH_TIME": 7134, + "RETCODE_RET_MECHANICUS_SWITCH_CLOSE": 7135, + "RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_DUNGEON": 7150, + "RETCODE_RET_MECHANICUS_BATTLE_PLAY_NOT_FOUND": 7151, + "RETCODE_RET_MECHANICUS_BATTLE_DUPLICATE_PICK_CARD": 7152, + "RETCODE_RET_MECHANICUS_BATTLE_PLAYER_NOT_IN_PLAY": 7153, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_AVAILABLE": 7154, + "RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_CARD_STAGE": 7155, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_IS_WAITING": 7156, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALL_CONFIRMED": 7157, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_CONFIRMED": 7158, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_CONFIRMED_BY_OTHER": 7159, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_ENOUGH_POINTS": 7160, + "RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_SKIPPED": 7161, + "RETCODE_RET_LEGENDARY_KEY_NOT_ENOUGH": 8001, + "RETCODE_RET_LEGENDARY_KEY_EXCEED_LIMIT": 8002, + "RETCODE_RET_DAILY_TASK_NOT_ENOUGH_TO_REDEEM": 8003, + "RETCODE_RET_PERSONAL_LINE_OPEN_STATE_OFF": 8004, + "RETCODE_RET_PERSONAL_LINE_LEVEL_NOT_ENOUGH": 8005, + "RETCODE_RET_PERSONAL_LINE_NOT_OPEN": 8006, + "RETCODE_RET_PERSONAL_LINE_PRE_QUEST_NOT_FINISH": 8007, + "RETCODE_RET_HUNTING_ALREADY_FINISH_OFFER_LIMIT": 8201, + "RETCODE_RET_HUNTING_HAS_UNFINISHED_OFFER": 8202, + "RETCODE_RET_HUNTING_FAILED_OFFER_NOT_CD_READY": 8203, + "RETCODE_RET_HUNTING_NOT_TAKE_OFFER": 8204, + "RETCODE_RET_HUNTING_CANNOT_TAKE_TWICE": 8205, + "RETCODE_RET_RPIVATE_CHAT_INVALID_CONTENT_TYPE": 8901, + "RETCODE_RET_PRIVATE_CHAT_TARGET_IS_NOT_FRIEND": 8902, + "RETCODE_RET_PRIVATE_CHAT_CONTENT_NOT_SUPPORTED": 8903, + "RETCODE_RET_PRIVATE_CHAT_CONTENT_TOO_LONG": 8904, + "RETCODE_RET_PRIVATE_CHAT_PULL_TOO_FAST": 8905, + "RETCODE_RET_PRIVATE_CHAT_REPEAT_READ": 8906, + "RETCODE_RET_PRIVATE_CHAT_READ_NOT_FRIEND": 8907, + "RETCODE_RET_REUNION_FINISHED": 9001, + "RETCODE_RET_REUNION_NOT_ACTIVATED": 9002, + "RETCODE_RET_REUNION_ALREADY_TAKE_FIRST_REWARD": 9003, + "RETCODE_RET_REUNION_SIGN_IN_REWARDED": 9004, + "RETCODE_RET_REUNION_WATCHER_REWARDED": 9005, + "RETCODE_RET_REUNION_WATCHER_NOT_FINISH": 9006, + "RETCODE_RET_REUNION_MISSION_REWARDED": 9007, + "RETCODE_RET_REUNION_MISSION_NOT_FINISH": 9008, + "RETCODE_RET_REUNION_WATCHER_REWARD_NOT_UNLOCKED": 9009, + "RETCODE_RET_BLESSING_CONTENT_CLOSED": 9101, + "RETCODE_RET_BLESSING_NOT_ACTIVE": 9102, + "RETCODE_RET_BLESSING_NOT_TODAY_ENTITY": 9103, + "RETCODE_RET_BLESSING_ENTITY_EXCEED_SCAN_NUM_LIMIT": 9104, + "RETCODE_RET_BLESSING_DAILY_SCAN_NUM_EXCEED_LIMIT": 9105, + "RETCODE_RET_BLESSING_REDEEM_REWARD_NUM_EXCEED_LIMIT": 9106, + "RETCODE_RET_BLESSING_REDEEM_PIC_NUM_NOT_ENOUGH": 9107, + "RETCODE_RET_BLESSING_PIC_NOT_ENOUGH": 9108, + "RETCODE_RET_BLESSING_PIC_HAS_RECEIVED": 9109, + "RETCODE_RET_BLESSING_TARGET_RECV_NUM_EXCEED": 9110, + "RETCODE_RET_FLEUR_FAIR_CREDIT_EXCEED_LIMIT": 9111, + "RETCODE_RET_FLEUR_FAIR_CREDIT_NOT_ENOUGH": 9112, + "RETCODE_RET_FLEUR_FAIR_TOKEN_EXCEED_LIMIT": 9113, + "RETCODE_RET_FLEUR_FAIR_TOKEN_NOT_ENOUGH": 9114, + "RETCODE_RET_FLEUR_FAIR_MINIGAME_NOT_OPEN": 9115, + "RETCODE_RET_FLEUR_FAIR_MUSIC_GAME_DIFFICULTY_NOT_UNLOCK": 9116, + "RETCODE_RET_FLEUR_FAIR_DUNGEON_LOCKED": 9117, + "RETCODE_RET_FLEUR_FAIR_DUNGEON_PUNISH_TIME": 9118, + "RETCODE_RET_FLEUR_FAIR_ONLY_OWNER_CAN_RESTART_MINIGAM": 9119, + "RETCODE_RET_WATER_SPIRIT_COIN_EXCEED_LIMIT": 9120, + "RETCODE_RET_WATER_SPIRIT_COIN_NOT_ENOUGH": 9121, + "RETCODE_RET_REGION_SEARCH_NO_SEARCH": 9122, + "RETCODE_RET_REGION_SEARCH_STATE_ERROR": 9123, + "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_STAGE_NOT_OPEN": 9130, + "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_NOT_OPEN": 9131, + "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_FIRST_PASS_REWARD_HAS_TAKEN": 9132, + "RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_SCORE_REWARD_HAS_TAKEN": 9133, + "RETCODE_RET_CHANNELLER_SLAB_INVALID_ONE_OFF_DUNGEON": 9134, + "RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_DONE": 9135, + "RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_STAGE_NOT_OPEN": 9136, + "RETCODE_RET_CHANNELLER_SLAB_TOKEN_EXCEED_LIMIT": 9137, + "RETCODE_RET_CHANNELLER_SLAB_TOKEN_NOT_ENOUGH": 9138, + "RETCODE_RET_CHANNELLER_SLAB_PLAYER_NOT_IN_ONE_OFF_DUNGEON": 9139, + "RETCODE_RET_MIST_TRIAL_SELECT_CHARACTER_NUM_NOT_ENOUGH": 9150, + "RETCODE_RET_HIDE_AND_SEEK_PLAY_NOT_OPEN": 9160, + "RETCODE_RET_HIDE_AND_SEEK_PLAY_MAP_NOT_OPEN": 9161, + "RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_EXCEED_LIMIT": 9170, + "RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_NOT_ENOUGH": 9171, + "RETCODE_RET_SUMMER_TIME_MINI_HARPASTUM_EXCEED_LIMIT": 9172, + "RETCODE_RET_SUMMER_TIME_MINI_HARPASTUMNOT_ENOUGH": 9173, + "RETCODE_RET_BOUNCE_CONJURING_COIN_EXCEED_LIMIT": 9180, + "RETCODE_RET_BOUNCE_CONJURING_COIN_NOT_ENOUGH": 9181, + "RETCODE_RET_CHESS_TEACH_MAP_FINISHED": 9183, + "RETCODE_RET_CHESS_TEACH_MAP_UNFINISHED": 9184, + "RETCODE_RET_CHESS_COIN_EXCEED_LIMIT": 9185, + "RETCODE_RET_CHESS_COIN_NOT_ENOUGH": 9186, + "RETCODE_RET_CHESS_IN_PUNISH_TIME": 9187, + "RETCODE_RET_CHESS_PREV_MAP_UNFINISHED": 9188, + "RETCODE_RET_CHESS_MAP_LOCKED": 9189, + "RETCODE_RET_BLITZ_RUSH_NOT_OPEN": 9192, + "RETCODE_RET_BLITZ_RUSH_DUNGEON_NOT_OPEN": 9193, + "RETCODE_RET_BLITZ_RUSH_COIN_A_EXCEED_LIMIT": 9194, + "RETCODE_RET_BLITZ_RUSH_COIN_B_EXCEED_LIMIT": 9195, + "RETCODE_RET_BLITZ_RUSH_COIN_A_NOT_ENOUGH": 9196, + "RETCODE_RET_BLITZ_RUSH_COIN_B_NOT_ENOUGH": 9197, + "RETCODE_RET_MIRACLE_RING_VALUE_NOT_ENOUGH": 9201, + "RETCODE_RET_MIRACLE_RING_CD": 9202, + "RETCODE_RET_MIRACLE_RING_REWARD_NOT_TAKEN": 9203, + "RETCODE_RET_MIRACLE_RING_NOT_DELIVER": 9204, + "RETCODE_RET_MIRACLE_RING_DELIVER_EXCEED": 9205, + "RETCODE_RET_MIRACLE_RING_HAS_CREATED": 9206, + "RETCODE_RET_MIRACLE_RING_HAS_NOT_CREATED": 9207, + "RETCODE_RET_MIRACLE_RING_NOT_YOURS": 9208, + "RETCODE_RET_GADGET_FOUNDATION_UNAUTHORIZED": 9251, + "RETCODE_RET_GADGET_FOUNDATION_SCENE_NOT_FOUND": 9252, + "RETCODE_RET_GADGET_FOUNDATION_NOT_IN_INIT_STATE": 9253, + "RETCODE_RET_GADGET_FOUNDATION_BILDING_POINT_NOT_ENOUGHT": 9254, + "RETCODE_RET_GADGET_FOUNDATION_NOT_IN_BUILT_STATE": 9255, + "RETCODE_RET_GADGET_FOUNDATION_OP_NOT_SUPPORTED": 9256, + "RETCODE_RET_GADGET_FOUNDATION_REQ_PLAYER_NOT_IN_SCENE": 9257, + "RETCODE_RET_GADGET_FOUNDATION_LOCKED_BY_ANOTHER_PLAYER": 9258, + "RETCODE_RET_GADGET_FOUNDATION_NOT_LOCKED": 9259, + "RETCODE_RET_GADGET_FOUNDATION_DUPLICATE_LOCK": 9260, + "RETCODE_RET_GADGET_FOUNDATION_PLAYER_NOT_FOUND": 9261, + "RETCODE_RET_GADGET_FOUNDATION_PLAYER_GEAR_NOT_FOUND": 9262, + "RETCODE_RET_GADGET_FOUNDATION_ROTAION_DISABLED": 9263, + "RETCODE_RET_GADGET_FOUNDATION_REACH_DUNGEON_GEAR_LIMIT": 9264, + "RETCODE_RET_GADGET_FOUNDATION_REACH_SINGLE_GEAR_LIMIT": 9265, + "RETCODE_RET_GADGET_FOUNDATION_ROTATION_ON_GOING": 9266, + "RETCODE_RET_OP_ACTIVITY_BONUS_NOT_FOUND": 9301, + "RETCODE_RET_OP_ACTIVITY_NOT_OPEN": 9302, + "RETCODE_RET_MULTISTAGE_PLAY_PLAYER_NOT_IN_SCENE": 9501, + "RETCODE_RET_MULTISTAGE_PLAY_NOT_FOUND": 9502, + "RETCODE_RET_COOP_CHAPTER_NOT_OPEN": 9601, + "RETCODE_RET_COOP_COND_NOT_MEET": 9602, + "RETCODE_RET_COOP_POINT_LOCKED": 9603, + "RETCODE_RET_COOP_NOT_HAVE_PROGRESS": 9604, + "RETCODE_RET_COOP_REWARD_HAS_TAKEN": 9605, + "RETCODE_RET_DRAFT_HAS_ACTIVE_DRAFT": 9651, + "RETCODE_RET_DRAFT_NOT_IN_MY_WORLD": 9652, + "RETCODE_RET_DRAFT_NOT_SUPPORT_MP": 9653, + "RETCODE_RET_DRAFT_PLAYER_NOT_ENOUGH": 9654, + "RETCODE_RET_DRAFT_INCORRECT_SCENE": 9655, + "RETCODE_RET_DRAFT_OTHER_PLAYER_ENTERING": 9656, + "RETCODE_RET_DRAFT_GUEST_IS_TRANSFERRING": 9657, + "RETCODE_RET_DRAFT_GUEST_NOT_IN_DRAFT_SCENE": 9658, + "RETCODE_RET_DRAFT_INVITE_OVER_TIME": 9659, + "RETCODE_RET_DRAFT_TWICE_CONFIRM_OVER_TIMER": 9660, + "RETCODE_RET_HOME_UNKOWN": 9701, + "RETCODE_RET_HOME_INVALID_CLIENT_PARAM": 9702, + "RETCODE_RET_HOME_TARGE_PLAYER_HAS_NO_HOME": 9703, + "RETCODE_RET_HOME_NOT_ONLINE": 9704, + "RETCODE_RET_HOME_PLAYER_FULL": 9705, + "RETCODE_RET_HOME_BLOCKED": 9706, + "RETCODE_RET_HOME_ALREADY_IN_TARGET_HOME_WORLD": 9707, + "RETCODE_RET_HOME_IN_EDIT_MODE": 9708, + "RETCODE_RET_HOME_NOT_IN_EDIT_MODE": 9709, + "RETCODE_RET_HOME_HAS_GUEST": 9710, + "RETCODE_RET_HOME_CANT_ENTER_BY_IN_EDIT_MODE": 9711, + "RETCODE_RET_HOME_CLIENT_PARAM_INVALID": 9712, + "RETCODE_RET_HOME_PLAYER_NOT_IN_HOME_WORLD": 9713, + "RETCODE_RET_HOME_PLAYER_NOT_IN_SELF_HOME_WORLD": 9714, + "RETCODE_RET_HOME_NOT_FOUND_IN_MEM": 9715, + "RETCODE_RET_HOME_PLAYER_IN_HOME_ROOM_SCENE": 9716, + "RETCODE_RET_HOME_HOME_REFUSE_GUEST_ENTER": 9717, + "RETCODE_RET_HOME_OWNER_REFUSE_TO_ENTER_HOME": 9718, + "RETCODE_RET_HOME_OWNER_OFFLINE": 9719, + "RETCODE_RET_HOME_FURNITURE_EXCEED_LIMIT": 9720, + "RETCODE_RET_HOME_FURNITURE_COUNT_NOT_ENOUGH": 9721, + "RETCODE_RET_HOME_IN_TRY_ENTER_PROCESS": 9722, + "RETCODE_RET_HOME_ALREADY_IN_TARGET_SCENE": 9723, + "RETCODE_RET_HOME_COIN_EXCEED_LIMIT": 9724, + "RETCODE_RET_HOME_COIN_NOT_ENOUGH": 9725, + "RETCODE_RET_HOME_MODULE_NOT_UNLOCKED": 9726, + "RETCODE_RET_HOME_CUR_MODULE_CLOSED": 9727, + "RETCODE_RET_HOME_FURNITURE_SUITE_NOT_UNLOCKED": 9728, + "RETCODE_RET_HOME_IN_MATCH": 9729, + "RETCODE_RET_HOME_IN_COMBAT": 9730, + "RETCODE_RET_HOME_EDIT_MODE_CD": 9731, + "RETCODE_RET_HOME_UPDATE_FURNITURE_CD": 9732, + "RETCODE_RET_HOME_BLOCK_FURNITURE_LIMIT": 9733, + "RETCODE_RET_HOME_NOT_SUPPORT": 9734, + "RETCODE_RET_HOME_STATE_NOT_OPEN": 9735, + "RETCODE_RET_HOME_TARGET_STATE_NOT_OPEN": 9736, + "RETCODE_RET_HOME_APPLY_ENTER_OTHER_HOME_FAIL": 9737, + "RETCODE_RET_HOME_SAVE_NO_MAIN_HOUSE": 9738, + "RETCODE_RET_HOME_IN_DUNGEON": 9739, + "RETCODE_RET_HOME_ANY_GALLERY_STARTED": 9740, + "RETCODE_RET_HOME_QUEST_BLOCK_HOME": 9741, + "RETCODE_RET_HOME_WAITING_PRIOR_CHECK": 9742, + "RETCODE_RET_HOME_PERSISTENT_CHECK_FAIL": 9743, + "RETCODE_RET_HOME_FIND_ONLINE_HOME_FAIL": 9744, + "RETCODE_RET_HOME_JOIN_SCENE_FAIL": 9745, + "RETCODE_RET_HOME_MAX_PLAYER": 9746, + "RETCODE_RET_HOME_IN_TRANSFER": 9747, + "RETCODE_RET_HOME_ANY_HOME_GALLERY_STARTED": 9748, + "RETCODE_RET_HOME_CAN_NOT_ENTER_IN_AUDIT": 9749, + "RETCODE_RET_FURNITURE_MAKE_INDEX_ERROR": 9750, + "RETCODE_RET_FURNITURE_MAKE_LOCKED": 9751, + "RETCODE_RET_FURNITURE_MAKE_CONFIG_ERROR": 9752, + "RETCODE_RET_FURNITURE_MAKE_SLOT_FULL": 9753, + "RETCODE_RET_FURNITURE_MAKE_ADD_FURNITURE_FAIL": 9754, + "RETCODE_RET_FURNITURE_MAKE_UNFINISH": 9755, + "RETCODE_RET_FURNITURE_MAKE_IS_FINISH": 9756, + "RETCODE_RET_FURNITURE_MAKE_NOT_IN_CORRECT_HOME": 9757, + "RETCODE_RET_FURNITURE_MAKE_NO_COUNT": 9758, + "RETCODE_RET_FURNITURE_MAKE_ACCELERATE_LIMIT": 9759, + "RETCODE_RET_FURNITURE_MAKE_NO_MAKE_DATA": 9760, + "RETCODE_RET_HOME_LIMITED_SHOP_CLOSE": 9761, + "RETCODE_RET_HOME_AVATAR_NOT_SHOW": 9762, + "RETCODE_RET_HOME_EVENT_COND_NOT_SATISFIED": 9763, + "RETCODE_RET_HOME_INVALID_ARRANGE_ANIMAL_PARAM": 9764, + "RETCODE_RET_HOME_INVALID_ARRANGE_NPC_PARAM": 9765, + "RETCODE_RET_HOME_INVALID_ARRANGE_SUITE_PARAM": 9766, + "RETCODE_RET_HOME_INVALID_ARRANGE_MAIN_HOUSE_PARAM": 9767, + "RETCODE_RET_HOME_AVATAR_STATE_NOT_OPEN": 9768, + "RETCODE_RET_HOME_PLANT_FIELD_NOT_EMPTY": 9769, + "RETCODE_RET_HOME_PLANT_FIELD_EMPTY": 9770, + "RETCODE_RET_HOME_PLANT_FIELD_TYPE_ERROR": 9771, + "RETCODE_RET_HOME_PLANT_TIME_NOT_ENOUGH": 9772, + "RETCODE_RET_HOME_PLANT_SUB_FIELD_NUM_NOT_ENOUGH": 9773, + "RETCODE_RET_HOME_PLANT_FIELD_PARAM_ERROR": 9774, + "RETCODE_RET_HOME_FURNITURE_GUID_ERROR": 9775, + "RETCODE_RET_HOME_FURNITURE_ARRANGE_LIMIT": 9776, + "RETCODE_RET_HOME_FISH_FARMING_LIMIT": 9777, + "RETCODE_RET_HOME_FISH_COUNT_NOT_ENOUGH": 9778, + "RETCODE_RET_HOME_FURNITURE_COST_LIMIT": 9779, + "RETCODE_RET_HOME_CUSTOM_FURNITURE_INVALID": 9780, + "RETCODE_RET_HOME_INVALID_ARRANGE_GROUP_PARAM": 9781, + "RETCODE_RET_HOME_FURNITURE_ARRANGE_GROUP_LIMIT": 9782, + "RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_GENDER_ERROR": 9783, + "RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_NOT_UNLOCK": 9784, + "RETCODE_RET_HOME_FURNITURE_CANNOT_ARRANGE": 9785, + "RETCODE_RET_HOME_FURNITURE_IN_DUPLICATE_SUITE": 9786, + "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_SMALL": 9787, + "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_BIG": 9788, + "RETCODE_RET_HOME_FURNITURE_SUITE_EXCEED_LIMIT": 9789, + "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_EXCEED_LIMIT": 9790, + "RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_INVALID_SURFACE_TYPE": 9791, + "RETCODE_RET_HOME_BGM_ID_NOT_FOUND": 9792, + "RETCODE_RET_HOME_BGM_NOT_UNLOCKED": 9793, + "RETCODE_RET_HOME_BGM_FURNITURE_NOT_FOUND": 9794, + "RETCODE_RET_HOME_BGM_NOT_SUPPORT_BY_CUR_SCENE": 9795, + "RETCODE_RET_HOME_LIMITED_SHOP_GOODS_DISABLE": 9796, + "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_EMPTY": 9797, + "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_NOT_FOUND": 9798, + "RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_COUNT_INVALID": 9799, + "RETCODE_RET_HOME_WORLD_WOOD_EXCHANGE_EXCEED_LIMIT": 9800, + "RETCODE_RET_SUMO_ACTIVITY_STAGE_NOT_OPEN": 10000, + "RETCODE_RET_SUMO_ACTIVITY_SWITCH_TEAM_IN_CD": 10001, + "RETCODE_RET_SUMO_ACTIVITY_TEAM_NUM_INCORRECT": 10002, + "RETCODE_RET_LUNA_RITE_ACTIVITY_AREA_ID_ERROR": 10004, + "RETCODE_RET_LUNA_RITE_ACTIVITY_BATTLE_NOT_FINISH": 10005, + "RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_SACRIFICE": 10006, + "RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_TAKE_REWARD": 10007, + "RETCODE_RET_LUNA_RITE_ACTIVITY_SACRIFICE_NOT_ENOUGH": 10008, + "RETCODE_RET_LUNA_RITE_ACTIVITY_SEARCHING_COND_NOT_MEET": 10009, + "RETCODE_RET_DIG_GADGET_CONFIG_ID_NOT_MATCH": 10015, + "RETCODE_RET_DIG_FIND_NEAREST_POS_FAIL": 10016, + "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_OPEN": 10021, + "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_UNLOCK": 10022, + "RETCODE_RET_MUSIC_GAME_LEVEL_NOT_STARTED": 10023, + "RETCODE_RET_MUSIC_GAME_LEVEL_CONFIG_NOT_FOUND": 10024, + "RETCODE_RET_MUSIC_GAME_LEVEL_ID_NOT_MATCH": 10025, + "RETCODE_RET_ROGUELIKE_COIN_A_NOT_ENOUGH": 10031, + "RETCODE_RET_ROGUELIKE_COIN_B_NOT_ENOUGH": 10032, + "RETCODE_RET_ROGUELIKE_COIN_C_NOT_ENOUGH": 10033, + "RETCODE_RET_ROGUELIKE_COIN_A_EXCEED_LIMIT": 10034, + "RETCODE_RET_ROGUELIKE_COIN_B_EXCEED_LIMIT": 10035, + "RETCODE_RET_ROGUELIKE_COIN_C_EXCEED_LIMIT": 10036, + "RETCODE_RET_ROGUELIKE_RUNE_COUNT_NOT_ENOUGH": 10037, + "RETCODE_RET_ROGUELIKE_NOT_IN_ROGUE_DUNGEON": 10038, + "RETCODE_RET_ROGUELIKE_CELL_NOT_FOUND": 10039, + "RETCODE_RET_ROGUELIKE_CELL_TYPE_INCORRECT": 10040, + "RETCODE_RET_ROGUELIKE_CELL_ALREADY_FINISHED": 10041, + "RETCODE_RET_ROGUELIKE_DUNGEON_HAVE_UNFINISHED_PROGRESS": 10042, + "RETCODE_RET_ROGUELIKE_STAGE_NOT_FINISHED": 10043, + "RETCODE_RET_ROGUELIKE_STAGE_FIRST_PASS_REWARD_HAS_TAKEN": 10045, + "RETCODE_RET_ROGUELIKE_ACTIVITY_CONTENT_CLOSED": 10046, + "RETCODE_RET_ROGUELIKE_DUNGEON_PRE_QUEST_NOT_FINISHED": 10047, + "RETCODE_RET_ROGUELIKE_DUNGEON_NOT_OPEN": 10048, + "RETCODE_RET_ROGUELIKE_SPRINT_IS_BANNED": 10049, + "RETCODE_RET_ROGUELIKE_DUNGEON_PRE_STAGE_NOT_FINISHED": 10050, + "RETCODE_RET_ROGUELIKE_ALL_AVATAR_DIE_CANNOT_RESUME": 10051, + "RETCODE_RET_PLANT_FLOWER_ALREADY_TAKE_SEED": 10056, + "RETCODE_RET_PLANT_FLOWER_FRIEND_HAVE_FLOWER_LIMIT": 10057, + "RETCODE_RET_PLANT_FLOWER_CAN_GIVE_FLOWER_NOT_ENOUGH": 10058, + "RETCODE_RET_PLANT_FLOWER_WISH_FLOWER_KINDS_LIMIT": 10059, + "RETCODE_RET_PLANT_FLOWER_HAVE_FLOWER_NOT_ENOUGH": 10060, + "RETCODE_RET_PLANT_FLOWER_FLOWER_COMBINATION_INVALID": 10061, + "RETCODE_RET_HACHI_DUNGEON_NOT_VALID": 10052, + "RETCODE_RET_HACHI_DUNGEON_STAGE_NOT_OPEN": 10053, + "RETCODE_RET_HACHI_DUNGEON_TEAMMATE_NOT_PASS": 10054, + "RETCODE_RET_WINTER_CAMP_COIN_A_NOT_ENOUGH": 10071, + "RETCODE_RET_WINTER_CAMP_COIN_B_NOT_ENOUGH": 10072, + "RETCODE_RET_WINTER_CAMP_COIN_A_EXCEED_LIMIT": 10073, + "RETCODE_RET_WINTER_CAMP_COIN_B_EXCEED_LIMIT": 10074, + "RETCODE_RET_WINTER_CAMP_WISH_ID_INVALID": 10075, + "RETCODE_RET_WINTER_CAMP_NOT_FOUND_RECV_ITEM_DATA": 10076, + "RETCODE_RET_WINTER_CAMP_FRIEND_ITEM_COUNT_OVERFLOW": 10077, + "RETCODE_RET_WINTER_CAMP_SELECT_ITEM_DATA_INVALID": 10078, + "RETCODE_RET_WINTER_CAMP_ITEM_LIST_EMPTY": 10079, + "RETCODE_RET_WINTER_CAMP_REWARD_ALREADY_TAKEN": 10080, + "RETCODE_RET_WINTER_CAMP_STAGE_NOT_FINISH": 10081, + "RETCODE_RET_WINTER_CAMP_GADGET_INVALID": 10082, + "RETCODE_RET_LANTERN_RITE_COIN_A_NOT_ENOUGH": 10090, + "RETCODE_RET_LANTERN_RITE_COIN_B_NOT_ENOUGH": 10091, + "RETCODE_RET_LANTERN_RITE_COIN_C_NOT_ENOUGH": 10092, + "RETCODE_RET_LANTERN_RITE_COIN_A_EXCEED_LIMIT": 10093, + "RETCODE_RET_LANTERN_RITE_COIN_B_EXCEED_LIMIT": 10094, + "RETCODE_RET_LANTERN_RITE_COIN_C_EXCEED_LIMIT": 10095, + "RETCODE_RET_LANTERN_RITE_PROJECTION_CONTENT_CLOSED": 10096, + "RETCODE_RET_LANTERN_RITE_PROJECTION_CAN_NOT_START": 10097, + "RETCODE_RET_LANTERN_RITE_DUNGEON_NOT_OPEN": 10098, + "RETCODE_RET_LANTERN_RITE_HAS_TAKEN_SKIN_REWARD": 10099, + "RETCODE_RET_LANTERN_RITE_NOT_FINISHED_SKIN_WATCHERS": 10100, + "RETCODE_RET_LANTERN_RITE_FIREWORKS_CONTENT_CLOSED": 10101, + "RETCODE_RET_LANTERN_RITE_FIREWORKS_CHALLENGE_NOT_START": 10102, + "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_PARAM_ERROR": 10103, + "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_SKILL_LOCK": 10104, + "RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_STAMINA_NOT_ENOUGH": 10105, + "RETCODE_RET_POTION_ACTIVITY_STAGE_NOT_OPEN": 10110, + "RETCODE_RET_POTION_ACTIVITY_LEVEL_HAVE_PASS": 10111, + "RETCODE_RET_POTION_ACTIVITY_TEAM_NUM_INCORRECT": 10112, + "RETCODE_RET_POTION_ACTIVITY_AVATAR_IN_CD": 10113, + "RETCODE_RET_POTION_ACTIVITY_BUFF_IN_CD": 10114, + "RETCODE_RET_IRODORI_POETRY_INVALID_LINE_ID": 10120, + "RETCODE_RET_IRODORI_POETRY_INVALID_THEME_ID": 10121, + "RETCODE_RET_IRODORI_POETRY_NOT_GET_ALL_INSPIRATION": 10122, + "RETCODE_RET_IRODORI_POETRY_INSPIRATION_REACH_LIMIE": 10123, + "RETCODE_RET_IRODORI_POETRY_ENTITY_ALREADY_SCANNED": 10124, + "RETCODE_RET_ACTIVITY_BANNER_ALREADY_CLEARED": 10300, + "RETCODE_RET_IRODORI_CHESS_NOT_OPEN": 10301, + "RETCODE_RET_IRODORI_CHESS_LEVEL_NOT_OPEN": 10302, + "RETCODE_RET_IRODORI_CHESS_MAP_NOT_OPEN": 10303, + "RETCODE_RET_IRODORI_CHESS_MAP_CARD_ALREADY_EQUIPED": 10304, + "RETCODE_RET_IRODORI_CHESS_EQUIP_CARD_EXCEED_LIMIT": 10305, + "RETCODE_RET_IRODORI_CHESS_MAP_CARD_NOT_EQUIPED": 10306, + "RETCODE_RET_IRODORI_CHESS_ENTER_FAIL_CARD_EXCEED_LIMIT": 10307, + "RETCODE_RET_ACTIVITY_FRIEND_HAVE_GIFT_LIMIT": 10310, + "RETCODE_RET_GACHA_ACTIVITY_HAVE_REWARD_LIMIT": 10315, + "RETCODE_RET_GACHA_ACTIVITY_HAVE_ROBOT_LIMIT": 10316, + "RETCODE_RET_SUMMER_TIME_V2_COIN_EXCEED_LIMIT": 10317, + "RETCODE_RET_SUMMER_TIME_V2_COIN_NOT_ENOUGH": 10318, + "RETCODE_RET_SUMMER_TIME_V2_DUNGEON_STAGE_NOT_OPEN": 10319, + "RETCODE_RET_SUMMER_TIME_V2_PREV_DUNGEON_NOT_COMPLETE": 10320, + "RETCODE_RET_ROGUE_DIARY_AVATAR_DEATH": 10350, + "RETCODE_RET_ROGUE_DIARY_AVATAR_TIRED": 10351, + "RETCODE_RET_ROGUE_DIARY_AVATAR_DUPLICATED": 10352, + "RETCODE_RET_ROGUE_DIARY_COIN_NOT_ENOUGH": 10353, + "RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_EXCEED_LIMIT": 10354, + "RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_NOT_ENOUGH": 10355, + "RETCODE_RET_ROGUE_DIARY_CONTENT_CLOSED": 10366, + "RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_NOT_ENOUGH": 10380, + "RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_NOT_ENOUGH": 10381, + "RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_EXCEED_LIMIT": 10382, + "RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_EXCEED_LIMIT": 10383, + "RETCODE_RET_ISLAND_PARTY_STAGE_NOT_OPEN": 10371, + "RETCODE_RET_NOT_IN_FISHING": 11001, + "RETCODE_RET_FISH_STATE_ERROR": 11002, + "RETCODE_RET_FISH_BAIT_LIMIT": 11003, + "RETCODE_RET_FISHING_MAX_DISTANCE": 11004, + "RETCODE_RET_FISHING_IN_COMBAT": 11005, + "RETCODE_RET_FISHING_BATTLE_TOO_SHORT": 11006, + "RETCODE_RET_FISH_GONE_AWAY": 11007, + "RETCODE_RET_CAN_NOT_EDIT_OTHER_DUNGEON": 11051, + "RETCODE_RET_CUSTOM_DUNGEON_DISMATCH": 11052, + "RETCODE_RET_NO_CUSTOM_DUNGEON_DATA": 11053, + "RETCODE_RET_BUILD_CUSTOM_DUNGEON_FAIL": 11054, + "RETCODE_RET_CUSTOM_DUNGEON_ROOM_CHECK_FAIL": 11055, + "RETCODE_RET_CUSTOM_DUNGEON_SAVE_MAY_FAIL": 11056, + "RETCODE_RET_NOT_IN_CUSTOM_DUNGEON": 11057, + "RETCODE_RET_CUSTOM_DUNGEON_INTERNAL_FAIL": 11058, + "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_TRY": 11059, + "RETCODE_RET_CUSTOM_DUNGEON_NO_START_ROOM": 11060, + "RETCODE_RET_CUSTOM_DUNGEON_NO_ROOM_DATA": 11061, + "RETCODE_RET_CUSTOM_DUNGEON_SAVE_TOO_FREQUENT": 11062, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_SELF_PASS": 11063, + "RETCODE_RET_CUSTOM_DUNGEON_LACK_COIN": 11064, + "RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_BRICK": 11065, + "RETCODE_RET_CUSTOM_DUNGEON_MULTI_FINISH": 11066, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_PUBLISHED": 11067, + "RETCODE_RET_CUSTOM_DUNGEON_FULL_STORE": 11068, + "RETCODE_RET_CUSTOM_DUNGEON_STORE_REPEAT": 11069, + "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_STORE_SELF": 11070, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_SAVE_SUCC": 11071, + "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_LIKE_SELF": 11072, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_FOUND": 11073, + "RETCODE_RET_CUSTOM_DUNGEON_INVALID_SETTING": 11074, + "RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_SETTING": 11075, + "RETCODE_RET_CUSTOM_DUNGEON_SAVE_NOTHING": 11076, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_IN_GROUP": 11077, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_OFFICIAL": 11078, + "RETCODE_RET_CUSTOM_DUNGEON_LIFE_NUM_ERROR": 11079, + "RETCODE_RET_CUSTOM_DUNGEON_NO_OPEN_ROOM": 11080, + "RETCODE_RET_CUSTOM_DUNGEON_BRICK_EXCEED_LIMIT": 11081, + "RETCODE_RET_CUSTOM_DUNGEON_OFFICIAL_NOT_UNLOCK": 11082, + "RETCODE_RET_CAN_NOT_EDIT_OFFICIAL_SETTING": 11083, + "RETCODE_RET_CUSTOM_DUNGEON_BAN_PUBLISH": 11084, + "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_REPLAY": 11085, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN_GROUP": 11086, + "RETCODE_RET_CUSTOM_DUNGEON_MAX_EDIT_NUM": 11087, + "RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_OUT_STUCK": 11088, + "RETCODE_RET_CUSTOM_DUNGEON_MAX_TAG": 11089, + "RETCODE_RET_CUSTOM_DUNGEON_INVALID_TAG": 11090, + "RETCODE_RET_CUSTOM_DUNGEON_MAX_COST": 11091, + "RETCODE_RET_CUSTOM_DUNGEON_REQUEST_TOO_FREQUENT": 11092, + "RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN": 11093, + "RETCODE_RET_SHARE_CD_ID_ERROR": 11101, + "RETCODE_RET_SHARE_CD_INDEX_ERROR": 11102, + "RETCODE_RET_SHARE_CD_IN_CD": 11103, + "RETCODE_RET_SHARE_CD_TOKEN_NOT_ENOUGH": 11104, + "RETCODE_RET_UGC_DISMATCH": 11151, + "RETCODE_RET_UGC_DATA_NOT_FOUND": 11152, + "RETCODE_RET_UGC_BRIEF_NOT_FOUND": 11153, + "RETCODE_RET_UGC_DISABLED": 11154, + "RETCODE_RET_UGC_LIMITED": 11155, + "RETCODE_RET_UGC_LOCKED": 11156, + "RETCODE_RET_UGC_NOT_AUTH": 11157, + "RETCODE_RET_UGC_NOT_OPEN": 11158, + "RETCODE_RET_UGC_BAN_PUBLISH": 11159, + "RETCODE_RET_COMPOUND_BOOST_ITEM_NOT_EXIST": 11201, + "RETCODE_RET_COMPOUND_BOOST_TARGET_NOT_EXIST": 11202, + "RETCODE_RET_QUICK_HIT_TREE_EMPTY_TREES": 11211, + } +) + +func (x Retcode) Enum() *Retcode { + p := new(Retcode) + *p = x + return p +} + +func (x Retcode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Retcode) Descriptor() protoreflect.EnumDescriptor { + return file_Retcode_proto_enumTypes[0].Descriptor() +} + +func (Retcode) Type() protoreflect.EnumType { + return &file_Retcode_proto_enumTypes[0] +} + +func (x Retcode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Retcode.Descriptor instead. +func (Retcode) EnumDescriptor() ([]byte, []int) { + return file_Retcode_proto_rawDescGZIP(), []int{0} +} + +var File_Retcode_proto protoreflect.FileDescriptor + +var file_Retcode_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, + 0xbd, 0xde, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x43, 0x43, + 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x10, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x56, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x55, + 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, + 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, + 0x4d, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, 0x06, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x4d, 0x5f, 0x55, 0x49, 0x44, 0x5f, 0x42, + 0x49, 0x4e, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x42, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x08, + 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x10, 0x0a, 0x12, + 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, + 0x54, 0x4f, 0x50, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x24, 0x0a, 0x20, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x5f, 0x56, 0x45, 0x49, 0x52, 0x46, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x0c, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x46, 0x52, 0x45, 0x45, 0x5a, 0x45, + 0x10, 0x0d, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x0e, + 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0f, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x10, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x58, 0x49, 0x53, 0x54, 0x10, 0x11, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, + 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x12, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, + 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x13, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x4f, + 0x52, 0x43, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x14, 0x12, 0x19, 0x0a, 0x15, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, 0x43, + 0x4b, 0x5f, 0x55, 0x49, 0x44, 0x10, 0x15, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x44, 0x42, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x10, 0x16, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x49, 0x54, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x17, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x5f, 0x44, 0x55, 0x50, + 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x18, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x10, 0x19, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x54, 0x49, 0x5f, 0x41, 0x44, 0x44, 0x49, 0x43, 0x54, 0x10, + 0x1a, 0x12, 0x2b, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x4f, + 0x55, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x1b, 0x12, 0x23, + 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x4e, + 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, + 0x44, 0x10, 0x1c, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x1d, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x5f, + 0x49, 0x53, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x1e, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, + 0x4d, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x1f, 0x12, 0x21, 0x0a, 0x1d, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x49, 0x50, 0x10, 0x20, 0x12, 0x24, + 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x41, + 0x54, 0x45, 0x10, 0x21, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x54, + 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x22, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x50, 0x41, 0x52, 0x41, + 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x23, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x54, 0x49, 0x5f, 0x4f, 0x46, + 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x24, 0x12, 0x1e, 0x0a, + 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, + 0x43, 0x4b, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x49, 0x50, 0x10, 0x25, 0x12, 0x29, 0x0a, + 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x54, + 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x48, + 0x41, 0x53, 0x5f, 0x55, 0x49, 0x44, 0x10, 0x26, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, + 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x27, 0x12, 0x2e, 0x0a, 0x2a, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, + 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, + 0x48, 0x41, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x28, 0x12, 0x27, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x4f, 0x42, 0x49, 0x44, 0x44, + 0x45, 0x4e, 0x10, 0x29, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x49, 0x42, + 0x52, 0x41, 0x52, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x66, 0x12, 0x23, 0x0a, 0x1f, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, + 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x56, + 0x41, 0x54, 0x41, 0x52, 0x10, 0x68, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x45, + 0x4c, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0x69, 0x12, 0x20, + 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, + 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0x6a, + 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x53, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, 0x4f, + 0x4e, 0x45, 0x10, 0x6b, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x6c, 0x12, 0x2d, 0x0a, 0x29, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, + 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x6d, 0x12, 0x2c, 0x0a, 0x28, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, + 0x52, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x45, + 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x6e, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, + 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x5f, 0x4c, 0x45, 0x56, + 0x45, 0x4c, 0x10, 0x6f, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x44, 0x5f, 0x41, 0x4c, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x70, 0x12, 0x1f, 0x0a, + 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, + 0x54, 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x10, 0x71, 0x12, 0x22, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, + 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x53, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x56, 0x49, 0x4e, 0x47, + 0x10, 0x72, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x73, 0x12, 0x2b, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x42, 0x4f, 0x52, 0x4e, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x74, + 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x45, 0x53, + 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x75, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x76, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x41, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x77, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x46, 0x49, 0x4e, 0x44, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x10, 0x78, 0x12, 0x25, 0x0a, 0x21, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x54, 0x45, 0x41, 0x4d, + 0x10, 0x79, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, + 0x53, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x10, 0x7a, 0x12, 0x33, 0x0a, 0x2f, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x41, + 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x10, + 0x7b, 0x12, 0x36, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x56, + 0x49, 0x56, 0x45, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x43, 0x55, 0x52, + 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0x7c, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x43, 0x4f, + 0x53, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0x7d, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x4e, 0x5f, + 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x7e, 0x12, 0x2e, 0x0a, 0x2a, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x45, 0x41, 0x4d, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x4f, 0x53, 0x45, 0x5f, 0x52, + 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x7f, 0x12, 0x21, 0x0a, 0x1c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x10, 0x80, 0x01, 0x12, + 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, + 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x55, 0x54, 0x46, 0x38, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x82, 0x01, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x54, 0x4f, + 0x4f, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x83, 0x01, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, + 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x44, 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x10, 0x84, + 0x01, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4e, 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, + 0x4e, 0x59, 0x5f, 0x44, 0x49, 0x47, 0x49, 0x54, 0x53, 0x10, 0x85, 0x01, 0x12, 0x22, 0x0a, 0x1d, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x49, 0x43, 0x4b, + 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x86, 0x01, + 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4e, 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x4c, 0x59, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x87, 0x01, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x49, 0x43, 0x4b, 0x4e, 0x41, 0x4d, + 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x88, 0x01, + 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, + 0x45, 0x10, 0x8c, 0x01, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x8d, 0x01, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x8e, 0x01, 0x12, 0x2d, 0x0a, 0x28, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, + 0x52, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x41, + 0x54, 0x41, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x10, 0x98, 0x01, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, + 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x99, 0x01, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x49, 0x4e, + 0x5f, 0x46, 0x4f, 0x52, 0x42, 0x49, 0x44, 0x10, 0x9a, 0x01, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x5f, 0x45, 0x58, 0x50, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x49, 0x41, + 0x4c, 0x5f, 0x46, 0x4f, 0x52, 0x42, 0x49, 0x44, 0x10, 0x9b, 0x01, 0x12, 0x22, 0x0a, 0x1d, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, + 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x10, 0x9c, 0x01, 0x12, + 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, + 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x42, 0x59, + 0x10, 0x9d, 0x01, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x10, 0x9e, 0x01, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x41, 0x56, + 0x41, 0x54, 0x41, 0x52, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x9f, 0x01, 0x12, 0x26, 0x0a, + 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, + 0x55, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x10, 0xa0, 0x01, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x55, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x45, + 0x4d, 0x50, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0xa1, 0x01, 0x12, 0x21, 0x0a, 0x1c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x48, 0x41, 0x53, 0x5f, 0x46, 0x4c, 0x59, 0x43, 0x4c, 0x4f, 0x41, 0x4b, 0x10, 0xa2, 0x01, 0x12, + 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x45, 0x54, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x5f, 0x47, 0x4f, 0x54, 0x10, 0xa3, 0x01, 0x12, 0x2f, 0x0a, 0x2a, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x45, 0x54, 0x54, 0x45, + 0x52, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xa4, 0x01, 0x12, 0x2d, 0x0a, 0x28, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x44, 0x4a, 0x55, 0x53, 0x54, 0x5f, 0x4d, + 0x49, 0x4e, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xa5, 0x01, 0x12, 0x26, 0x0a, 0x21, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, + 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x44, 0x4a, 0x55, 0x53, 0x54, 0x5f, 0x43, 0x44, + 0x10, 0xa6, 0x01, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x55, + 0x4d, 0x45, 0x10, 0xa7, 0x01, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x55, 0x4d, 0x45, 0x5f, 0x41, 0x56, 0x41, + 0x54, 0x41, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xa8, 0x01, 0x12, 0x2b, 0x0a, 0x26, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x59, 0x43, + 0x4c, 0x4f, 0x41, 0x4b, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x10, 0xa9, 0x01, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x46, 0x45, 0x52, 0x10, 0xaa, 0x01, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x4c, 0x4f, 0x43, + 0x4b, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0xab, 0x01, 0x12, 0x21, 0x0a, 0x1c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x5f, + 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x10, 0xac, 0x01, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, + 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xad, 0x01, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, + 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x53, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x54, 0x45, 0x41, 0x4d, + 0x10, 0xae, 0x01, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xc9, + 0x01, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4e, 0x50, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xad, + 0x02, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4e, 0x50, 0x43, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x46, 0x41, 0x52, 0x10, 0xae, 0x02, 0x12, + 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x41, 0x4c, 0x4b, 0x10, + 0xaf, 0x02, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4e, 0x50, 0x43, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x10, 0xb0, 0x02, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x50, 0x43, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x10, 0xb1, 0x02, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x10, 0x91, 0x03, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x10, 0x92, 0x03, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x93, 0x03, 0x12, 0x26, 0x0a, 0x21, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x52, 0x47, + 0x41, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, + 0x44, 0x10, 0x94, 0x03, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x52, 0x47, 0x41, 0x49, 0x4e, 0x5f, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x10, 0x95, 0x03, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, + 0x5f, 0x41, 0x53, 0x53, 0x4f, 0x43, 0x49, 0x41, 0x54, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x44, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x96, 0x03, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, + 0x45, 0x5f, 0x53, 0x55, 0x42, 0x4d, 0x49, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x44, 0x5f, 0x4e, 0x4f, + 0x5f, 0x43, 0x4f, 0x4e, 0x43, 0x4c, 0x55, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x97, 0x03, 0x12, 0x23, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, + 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, + 0x10, 0xf5, 0x03, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x46, 0x41, 0x52, + 0x10, 0xf6, 0x03, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x59, 0x5f, + 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xf7, 0x03, 0x12, 0x21, 0x0a, 0x1c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, + 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xf8, 0x03, 0x12, 0x21, + 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x4e, + 0x54, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xf9, + 0x03, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x53, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, + 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xfa, 0x03, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x41, + 0x58, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xfb, 0x03, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4c, + 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xfc, 0x03, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x4f, 0x54, 0x48, + 0x45, 0x52, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x10, 0xfd, 0x03, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, + 0x52, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x10, 0xfe, 0x03, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x49, 0x53, 0x5f, 0x4c, 0x4f, + 0x43, 0x4b, 0x45, 0x44, 0x10, 0xff, 0x03, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x45, + 0x4c, 0x46, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0x80, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x81, 0x04, 0x12, 0x22, 0x0a, + 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, + 0x4b, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x10, 0x82, + 0x04, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x53, 0x10, 0x83, 0x04, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, + 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x84, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x85, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x86, 0x04, 0x12, 0x23, 0x0a, + 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, + 0x4b, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, + 0x87, 0x04, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, + 0x88, 0x04, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x54, 0x4f, + 0x4b, 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x89, 0x04, 0x12, 0x23, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, + 0x10, 0x8a, 0x04, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, + 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x8b, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x8c, 0x04, 0x12, 0x36, 0x0a, + 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4c, + 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, 0x54, 0x5f, 0x4f, + 0x4e, 0x4c, 0x59, 0x5f, 0x4f, 0x4e, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x4d, 0x4f, + 0x44, 0x45, 0x10, 0x8d, 0x04, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x43, 0x41, 0x4e, + 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, 0x54, 0x10, 0x8e, 0x04, + 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x8f, 0x04, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, + 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, + 0x90, 0x04, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, + 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x91, 0x04, 0x12, 0x2e, 0x0a, + 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, + 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0x92, 0x04, 0x12, 0x26, 0x0a, + 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x45, + 0x4e, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, + 0x43, 0x48, 0x10, 0x93, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x53, 0x5f, 0x52, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x56, + 0x41, 0x4c, 0x49, 0x44, 0x10, 0xa7, 0x04, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x10, 0xa8, 0x04, 0x12, + 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x54, 0x4f, 0x5f, + 0x55, 0x53, 0x45, 0x5f, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, + 0x10, 0xa9, 0x04, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x53, 0x43, + 0x45, 0x4e, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xaa, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x53, + 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0xab, 0x04, 0x12, + 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, + 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x49, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xac, 0x04, + 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, + 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0xad, 0x04, 0x12, 0x22, + 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, + 0x5f, 0x53, 0x50, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x10, + 0xae, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x43, + 0x45, 0x4e, 0x45, 0x10, 0xaf, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x49, + 0x54, 0x59, 0x5f, 0x49, 0x44, 0x10, 0xb0, 0x04, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x10, 0xb1, 0x04, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x5f, + 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x4c, 0x4c, + 0x4f, 0x57, 0x10, 0xb2, 0x04, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x54, 0x41, 0x47, 0x5f, 0x53, + 0x57, 0x49, 0x54, 0x43, 0x48, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0xb3, 0x04, 0x12, 0x28, + 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x45, + 0x56, 0x45, 0x4c, 0x5f, 0x54, 0x41, 0x47, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, + 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xb4, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x44, 0x10, 0xb5, 0x04, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd9, 0x04, 0x12, 0x27, 0x0a, 0x22, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x57, 0x45, 0x49, 0x47, 0x48, + 0x54, 0x10, 0xda, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x52, 0x4f, + 0x50, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xdb, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x55, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xdc, 0x04, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x10, 0xdd, 0x04, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0xde, 0x04, 0x12, 0x23, 0x0a, + 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, + 0x4d, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, + 0xdf, 0x04, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4f, 0x4c, 0x44, 0x4f, + 0x57, 0x4e, 0x10, 0xe0, 0x04, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xe1, 0x04, 0x12, 0x24, 0x0a, + 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, + 0x4d, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, + 0x10, 0xe2, 0x04, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x49, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x10, 0xe3, 0x04, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x49, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, + 0x4b, 0x45, 0x44, 0x10, 0xe4, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x49, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4c, + 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xe5, 0x04, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x55, 0x4e, 0x44, + 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xe6, 0x04, 0x12, 0x24, + 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, + 0x4d, 0x50, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x10, 0xe7, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x47, 0x45, 0x54, 0x10, 0xe8, 0x04, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, + 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xe9, 0x04, 0x12, 0x23, 0x0a, 0x1e, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0xea, + 0x04, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x45, 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, + 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xeb, 0x04, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x49, 0x50, 0x45, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x51, 0x54, 0x45, 0x10, 0xec, 0x04, + 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x5f, 0x51, 0x55, + 0x45, 0x55, 0x45, 0x10, 0xed, 0x04, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x45, 0x45, 0x44, 0x5f, 0x4d, 0x4f, 0x52, 0x45, 0x5f, + 0x53, 0x43, 0x4f, 0x49, 0x4e, 0x10, 0xee, 0x04, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x44, 0x45, + 0x50, 0x4f, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xef, 0x04, + 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, + 0x10, 0xf0, 0x04, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0xf1, 0x04, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xf2, 0x04, 0x12, 0x23, 0x0a, 0x1e, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x49, 0x4e, + 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xf3, 0x04, + 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0xf4, 0x04, 0x12, + 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, + 0xf5, 0x04, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x42, 0x49, 0x4e, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, + 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0xf6, 0x04, 0x12, 0x22, 0x0a, 0x1d, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x49, 0x56, 0x49, + 0x4e, 0x47, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x57, 0x52, 0x4f, 0x4e, 0x47, 0x10, 0xf7, 0x04, + 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x49, 0x56, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x53, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x45, 0x44, 0x10, 0xf8, 0x04, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x49, 0x56, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x44, 0x10, 0xf9, 0x04, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, + 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xfa, 0x04, 0x12, 0x25, 0x0a, + 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, + 0x47, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, + 0x59, 0x10, 0xfb, 0x04, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xfc, 0x04, 0x12, 0x22, 0x0a, 0x1d, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x47, + 0x45, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xfd, 0x04, + 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, + 0x10, 0xfe, 0x04, 0x12, 0x1b, 0x0a, 0x16, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xff, 0x04, + 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x56, 0x49, 0x52, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0x80, 0x05, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x81, 0x05, 0x12, + 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, + 0x51, 0x55, 0x49, 0x50, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0x82, 0x05, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x48, 0x4f, 0x55, 0x4c, 0x44, 0x5f, + 0x48, 0x41, 0x56, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x83, 0x05, + 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x57, 0x45, 0x41, 0x50, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0x84, 0x05, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x57, 0x45, 0x41, 0x50, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x85, 0x05, 0x12, 0x21, 0x0a, 0x1c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x86, 0x05, 0x12, 0x23, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, + 0x45, 0x4d, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x5a, 0x45, 0x52, 0x4f, + 0x10, 0x87, 0x05, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x49, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, + 0x45, 0x44, 0x10, 0x88, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x89, 0x05, + 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x45, 0x51, 0x55, 0x49, 0x50, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x48, 0x49, 0x47, 0x48, + 0x45, 0x52, 0x10, 0x8a, 0x05, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x57, 0x41, 0x4b, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x5f, 0x57, 0x45, 0x41, 0x50, + 0x4f, 0x4e, 0x10, 0x8b, 0x05, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x42, + 0x45, 0x45, 0x4e, 0x5f, 0x57, 0x45, 0x41, 0x52, 0x45, 0x44, 0x10, 0x8c, 0x05, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x51, 0x55, + 0x49, 0x50, 0x5f, 0x57, 0x45, 0x41, 0x52, 0x45, 0x44, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, + 0x5f, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x8d, 0x05, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x57, 0x41, 0x4b, 0x45, 0x4e, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x8e, 0x05, 0x12, 0x21, 0x0a, 0x1c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x43, 0x4f, 0x49, 0x4e, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x8f, 0x05, 0x12, 0x23, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x10, 0x90, 0x05, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0x94, 0x05, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x95, 0x05, 0x12, 0x24, 0x0a, 0x1f, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, + 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x10, 0x96, + 0x05, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x42, 0x4f, 0x55, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x97, 0x05, 0x12, + 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, + 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, + 0x10, 0x98, 0x05, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x45, 0x58, + 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x99, 0x05, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x43, + 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4f, 0x4b, 0x10, 0x9a, 0x05, 0x12, 0x21, + 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x54, + 0x54, 0x41, 0x43, 0x48, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x43, 0x44, 0x10, 0x9b, + 0x05, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x4f, 0x50, + 0x45, 0x4e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x10, 0x9c, 0x05, 0x12, 0x33, + 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x55, + 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x4f, 0x55, 0x47, 0x48, + 0x54, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x9d, 0x05, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x47, 0x41, 0x49, 0x4e, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x45, 0x44, 0x10, 0x9e, 0x05, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4f, 0x52, + 0x4e, 0x41, 0x4d, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x9f, 0x05, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, + 0x53, 0x41, 0x54, 0x49, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xa0, + 0x05, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x45, 0x56, + 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0xa1, 0x05, 0x12, + 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xa2, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x41, + 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x55, 0x4c, 0x4c, + 0x10, 0xa3, 0x05, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, + 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x10, 0xa4, 0x05, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x42, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x45, 0x5f, 0x45, + 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, + 0xa5, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x42, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0xa6, 0x05, 0x12, 0x25, 0x0a, + 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, + 0x43, 0x48, 0x5f, 0x42, 0x4f, 0x58, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0xa7, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x51, 0x55, 0x49, 0x43, + 0x4b, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x10, 0xa8, 0x05, 0x12, + 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x52, + 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0xa9, 0x05, 0x12, 0x2f, 0x0a, + 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x45, + 0x56, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x47, 0x41, 0x54, 0x48, 0x45, + 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xaa, 0x05, 0x12, 0x26, + 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x4f, + 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x46, 0x5f, 0x47, 0x41, 0x48, + 0x54, 0x45, 0x52, 0x10, 0xab, 0x05, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x57, 0x49, + 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x49, 0x44, + 0x10, 0xac, 0x05, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, + 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x43, 0x4c, + 0x45, 0x41, 0x52, 0x10, 0xad, 0x05, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x49, 0x4e, 0x5f, 0x4e, 0x45, 0x41, 0x52, + 0x42, 0x59, 0x5f, 0x52, 0x41, 0x44, 0x49, 0x55, 0x53, 0x10, 0xae, 0x05, 0x12, 0x34, 0x0a, 0x2f, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, + 0x54, 0x4f, 0x52, 0x5f, 0x4e, 0x45, 0x45, 0x44, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x53, 0x10, + 0xaf, 0x05, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x42, + 0x41, 0x54, 0x10, 0xb0, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x53, 0x45, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x4b, 0x5f, 0x55, 0x53, 0x45, 0x10, 0xb1, 0x05, + 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x5f, 0x57, + 0x49, 0x44, 0x47, 0x45, 0x54, 0x10, 0xb2, 0x05, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, 0x5f, 0x49, 0x53, + 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xb3, 0x05, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, + 0x49, 0x53, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xb4, 0x05, 0x12, 0x22, 0x0a, 0x1d, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x42, + 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xb5, 0x05, + 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x47, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x5f, 0x53, 0x54, 0x41, + 0x43, 0x4b, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb6, 0x05, 0x12, 0x27, 0x0a, 0x22, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x5f, 0x44, 0x45, 0x54, 0x54, 0x41, 0x43, 0x48, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, + 0x54, 0x10, 0xb7, 0x05, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, + 0x45, 0x52, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x10, 0xb8, 0x05, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, + 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0xb9, 0x05, 0x12, + 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, + 0x4f, 0x4e, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xba, + 0x05, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x4c, 0x49, 0x51, 0x55, 0x41, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x43, 0x4f, 0x4d, + 0x50, 0x4f, 0x53, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0xbb, 0x05, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x4f, 0x4d, 0x42, 0x49, 0x4e, 0x45, 0x5f, + 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, + 0x10, 0xbc, 0x05, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, + 0x53, 0x54, 0x10, 0xbd, 0x05, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, + 0x49, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xbe, + 0x05, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x10, 0xbf, 0x05, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x42, 0x55, 0x59, 0x5f, 0x4e, + 0x55, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xc0, 0x05, + 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x42, 0x55, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0xc1, 0x05, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, + 0x50, 0x45, 0x4e, 0x10, 0xc2, 0x05, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, + 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0xc3, 0x05, 0x12, + 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x48, 0x41, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x42, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x9e, 0x06, + 0x12, 0x18, 0x0a, 0x13, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x41, 0x54, 0x5f, 0x43, 0x44, 0x10, 0x9f, 0x06, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x46, + 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x54, 0x4c, 0x59, 0x10, 0xa0, 0x06, 0x12, 0x21, 0x0a, 0x1c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xa1, 0x06, 0x12, + 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, + 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0xa2, 0x06, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x47, 0x41, 0x54, 0x48, 0x45, 0x52, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xa3, 0x06, + 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, + 0xa4, 0x06, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x10, 0xa5, 0x06, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x54, 0x4f, 0x50, 0x5f, 0x4f, + 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, + 0xa6, 0x06, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0xa7, 0x06, 0x12, 0x25, 0x0a, + 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, + 0x47, 0x45, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x45, + 0x44, 0x10, 0xa8, 0x06, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x53, 0x53, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x4e, + 0x4f, 0x5f, 0x51, 0x55, 0x41, 0x4c, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, + 0xa9, 0x06, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x42, 0x4f, 0x53, 0x53, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x4c, 0x49, 0x46, + 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0xaa, 0x06, 0x12, 0x2a, + 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, + 0x53, 0x53, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x4e, 0x55, + 0x4d, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xab, 0x06, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x53, 0x53, 0x5f, 0x43, + 0x48, 0x45, 0x53, 0x54, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, + 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xac, 0x06, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x53, 0x53, 0x5f, 0x43, 0x48, + 0x45, 0x53, 0x54, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xad, 0x06, + 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x42, 0x4c, 0x4f, 0x53, 0x53, 0x4f, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, + 0x5f, 0x51, 0x55, 0x41, 0x4c, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0xae, + 0x06, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x42, 0x4c, 0x4f, 0x53, 0x53, 0x4f, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x4c, + 0x49, 0x46, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0xaf, 0x06, + 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x42, 0x4c, 0x4f, 0x53, 0x53, 0x4f, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x48, 0x41, + 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xb0, 0x06, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x53, 0x53, 0x4f, + 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x57, 0x4f, + 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xb1, 0x06, 0x12, 0x30, 0x0a, 0x2b, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, + 0x4c, 0x41, 0x59, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x5f, 0x51, 0x55, + 0x41, 0x4c, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0xb2, 0x06, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, + 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xb3, 0x06, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, + 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x5f, 0x51, 0x55, 0x41, 0x4c, 0x49, + 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0xb4, 0x06, 0x12, 0x2e, 0x0a, 0x29, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4c, 0x49, 0x46, 0x45, 0x5f, 0x54, + 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0xb5, 0x06, 0x12, 0x29, 0x0a, 0x24, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, + 0x4b, 0x45, 0x4e, 0x10, 0xb6, 0x06, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x10, 0xb7, 0x06, 0x12, 0x26, 0x0a, 0x21, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, + 0x4c, 0x45, 0x5f, 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x4f, 0x43, 0x43, 0x55, 0x50, 0x49, 0x45, 0x44, + 0x10, 0xb8, 0x06, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, + 0x45, 0x10, 0xb9, 0x06, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, + 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0xba, 0x06, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, + 0x45, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, 0x50, 0x4f, 0x53, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xbb, 0x06, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, + 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, + 0x10, 0xbc, 0x06, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, + 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, + 0x10, 0xbd, 0x06, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, + 0x43, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xbe, + 0x06, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x43, + 0x4f, 0x4d, 0x42, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x10, 0xbf, 0x06, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x53, 0x48, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x42, 0x45, + 0x4c, 0x49, 0x53, 0x4b, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x49, + 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x10, 0xc0, 0x06, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x53, 0x48, 0x52, 0x45, + 0x54, 0x5f, 0x4f, 0x42, 0x45, 0x4c, 0x49, 0x53, 0x4b, 0x5f, 0x4e, 0x4f, 0x5f, 0x41, 0x56, 0x41, + 0x49, 0x4c, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x54, 0x10, 0xc1, 0x06, 0x12, 0x1f, 0x0a, 0x1a, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0xdc, 0x06, 0x12, 0x24, 0x0a, 0x1f, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0xdd, 0x06, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, + 0x49, 0x42, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x10, 0xde, 0x06, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x41, 0x5f, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x50, 0x48, + 0x41, 0x53, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xdf, + 0x06, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x45, 0x41, 0x5f, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x59, 0x5f, 0x4e, 0x55, + 0x4d, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xe0, 0x06, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x41, 0x5f, 0x4c, 0x41, + 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x59, 0x5f, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x57, 0x4f, 0x52, 0x44, + 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x10, 0xe1, 0x06, 0x12, 0x2e, 0x0a, 0x29, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x57, 0x41, + 0x52, 0x44, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xe2, 0x06, 0x12, 0x35, 0x0a, 0x30, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x57, 0x41, + 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, + 0xe3, 0x06, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x49, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0xe4, 0x06, 0x12, + 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, + 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x43, + 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, + 0xe5, 0x06, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xe6, 0x06, 0x12, 0x2d, + 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, + 0x4c, 0x49, 0x56, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0xe7, 0x06, 0x12, 0x32, 0x0a, + 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x4c, + 0x49, 0x56, 0x45, 0x52, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x54, 0x41, 0x4b, + 0x45, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0xe8, + 0x06, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x41, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xe9, 0x06, 0x12, + 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, + 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xea, 0x06, 0x12, 0x29, 0x0a, 0x24, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, 0x54, 0x45, 0x52, + 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xeb, 0x06, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x44, + 0x49, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xec, 0x06, + 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x41, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xed, 0x06, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, + 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xee, 0x06, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x49, 0x47, 0x48, 0x54, + 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0xef, 0x06, 0x12, 0x37, + 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, + 0x54, 0x45, 0x52, 0x5f, 0x4d, 0x49, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x56, 0x49, 0x4f, 0x55, 0x53, + 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x10, 0xf0, 0x06, 0x12, 0x3d, 0x0a, 0x38, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x50, + 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x48, 0x49, 0x4d, 0x4d, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x45, + 0x53, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xf1, 0x06, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x50, 0x49, + 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x52, 0x4d, 0x5f, 0x45, 0x53, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xf2, 0x06, 0x12, + 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, + 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x50, 0x49, 0x4e, 0x45, 0x5f, 0x57, 0x4f, 0x4e, 0x44, + 0x52, 0x4f, 0x55, 0x53, 0x5f, 0x45, 0x53, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x43, + 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xf3, 0x06, 0x12, 0x3b, 0x0a, 0x36, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x47, + 0x4f, 0x4e, 0x5f, 0x53, 0x50, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x48, 0x49, 0x4d, 0x4d, 0x45, 0x52, + 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x53, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf4, 0x06, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, + 0x53, 0x50, 0x49, 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x52, 0x4d, 0x5f, 0x45, 0x53, 0x53, 0x45, 0x4e, + 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf5, 0x06, + 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x44, 0x52, 0x41, 0x47, 0x4f, 0x4e, 0x5f, 0x53, 0x50, 0x49, 0x4e, 0x45, 0x5f, 0x57, 0x4f, 0x4e, + 0x44, 0x52, 0x4f, 0x55, 0x53, 0x5f, 0x45, 0x53, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf6, 0x06, 0x12, 0x33, 0x0a, 0x2e, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x49, 0x47, + 0x59, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x52, 0x45, 0x57, + 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xfb, 0x06, + 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x45, 0x46, 0x46, 0x49, 0x47, 0x59, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, + 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xfc, 0x06, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, + 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, + 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xfd, 0x06, + 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x54, 0x4f, 0x4b, + 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x54, 0x10, 0xfe, + 0x06, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x45, 0x41, 0x5f, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, + 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xff, 0x06, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x45, + 0x41, 0x5f, 0x4c, 0x41, 0x4d, 0x50, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x80, 0x07, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x41, 0x5f, 0x4c, 0x41, 0x4d, + 0x50, 0x5f, 0x50, 0x4f, 0x50, 0x55, 0x4c, 0x41, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x58, 0x43, + 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x81, 0x07, 0x12, 0x30, 0x0a, 0x2b, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x52, 0x45, 0x57, 0x41, + 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x82, 0x07, 0x12, 0x31, + 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x52, 0x45, + 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0x83, + 0x07, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x41, 0x52, 0x45, 0x4e, 0x41, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x84, 0x07, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x54, 0x41, 0x4c, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x59, 0x5f, + 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x85, 0x07, 0x12, 0x29, 0x0a, 0x24, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x45, 0x56, 0x5f, + 0x54, 0x41, 0x4c, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, + 0x4b, 0x45, 0x44, 0x10, 0x86, 0x07, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x41, 0x4c, 0x45, 0x4e, 0x54, + 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, + 0x48, 0x10, 0x87, 0x07, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x5f, 0x54, 0x41, 0x4c, 0x45, 0x4e, 0x54, + 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, + 0x48, 0x10, 0x88, 0x07, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x47, 0x4f, 0x54, 0x10, 0x89, 0x07, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, + 0x45, 0x56, 0x5f, 0x50, 0x52, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x47, 0x45, 0x54, 0x10, 0x8a, 0x07, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x55, 0x44, 0x5f, 0x53, + 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x8b, + 0x07, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, + 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x54, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, + 0x4e, 0x44, 0x10, 0x8e, 0x07, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x54, + 0x5f, 0x49, 0x53, 0x5f, 0x54, 0x48, 0x45, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x10, 0x8f, 0x07, 0x12, + 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, + 0x10, 0xe9, 0x07, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, + 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xea, 0x07, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xcd, 0x08, 0x12, 0x22, + 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0xce, 0x08, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x10, 0xcf, 0x08, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x56, + 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x10, 0xd0, 0x08, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x56, + 0x49, 0x56, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xd1, 0x08, 0x12, 0x24, 0x0a, 0x1f, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x10, 0xd2, + 0x08, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x10, 0xd3, 0x08, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x5f, 0x44, + 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x44, 0x10, 0xd4, + 0x08, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, + 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x53, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, + 0xd5, 0x08, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, + 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x53, 0x5f, 0x44, 0x49, 0x53, 0x4d, + 0x49, 0x53, 0x53, 0x10, 0xd6, 0x08, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, + 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0xd7, 0x08, 0x12, 0x39, 0x0a, + 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, + 0x45, 0x41, 0x4d, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x5f, 0x41, + 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0xd8, 0x08, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x49, + 0x4e, 0x47, 0x45, 0x4c, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x10, 0xd9, 0x08, 0x12, 0x33, 0x0a, 0x2e, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, + 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x45, 0x45, 0x44, 0x5f, + 0x41, 0x4c, 0x4c, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x10, 0xda, + 0x08, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, 0x5f, + 0x48, 0x41, 0x53, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x10, 0xdb, 0x08, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, + 0x53, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0xdc, 0x08, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xdd, 0x08, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, + 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x4f, 0x54, 0x5f, + 0x49, 0x4e, 0x5f, 0x4d, 0x50, 0x10, 0xde, 0x08, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x53, 0x55, 0x42, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xdf, 0x08, 0x12, 0x38, 0x0a, 0x33, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x42, 0x45, + 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x41, + 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x44, 0x49, 0x45, 0x10, 0xe0, 0x08, + 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x4b, + 0x49, 0x43, 0x4b, 0x10, 0xe1, 0x08, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x43, 0x41, + 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x53, 0x4f, 0x4d, + 0x45, 0x4f, 0x4e, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x10, 0xe2, 0x08, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x46, 0x4f, + 0x52, 0x43, 0x45, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x10, 0xe3, 0x08, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0xe4, 0x08, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xe5, 0x08, 0x12, 0x23, + 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x59, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, + 0x10, 0xb1, 0x09, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x50, 0x5f, 0x4d, 0x4f, 0x44, 0x45, + 0x10, 0xb2, 0x09, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x46, + 0x55, 0x4c, 0x4c, 0x10, 0xb3, 0x09, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xb4, 0x09, 0x12, 0x28, + 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, + 0x52, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xb5, 0x09, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, + 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x4d, 0x50, 0x10, 0xb6, 0x09, 0x12, 0x21, 0x0a, 0x1c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x49, + 0x4e, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xb7, 0x09, 0x12, + 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x50, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x49, 0x53, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, + 0xb8, 0x09, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0xb9, 0x09, 0x12, 0x27, + 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, + 0x43, 0x54, 0x45, 0x44, 0x10, 0xba, 0x09, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, + 0x5f, 0x4d, 0x50, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0xbb, 0x09, 0x12, 0x23, 0x0a, 0x1e, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4f, 0x57, + 0x4e, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0xbc, 0x09, + 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x50, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x50, + 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xbd, 0x09, 0x12, 0x2d, 0x0a, + 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, + 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x4e, + 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0xbe, 0x09, 0x12, 0x29, 0x0a, 0x24, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, + 0x54, 0x48, 0x45, 0x52, 0x10, 0xbf, 0x09, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, + 0x45, 0x4e, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0xc0, 0x09, 0x12, 0x2d, 0x0a, 0x28, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x45, 0x4e, + 0x54, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, + 0x49, 0x4e, 0x5f, 0x50, 0x4c, 0x4f, 0x54, 0x10, 0xc1, 0x09, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x10, 0xc2, 0x09, 0x12, 0x23, 0x0a, + 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, + 0xc3, 0x09, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x52, 0x45, 0x4d, 0x41, 0x49, 0x4e, + 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x53, 0x10, 0xc4, 0x09, 0x12, 0x22, 0x0a, 0x1d, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0xc5, 0x09, 0x12, + 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x50, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x10, 0xc7, 0x09, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x4e, + 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, 0x54, 0x10, 0xc8, 0x09, 0x12, 0x21, 0x0a, + 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, + 0x52, 0x45, 0x50, 0x4c, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0xc9, 0x09, + 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x50, 0x5f, 0x49, 0x53, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xca, 0x09, 0x12, 0x30, + 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x10, 0xcb, 0x09, + 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x50, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x42, 0x41, + 0x54, 0x54, 0x4c, 0x45, 0x10, 0xcc, 0x09, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, + 0x48, 0x41, 0x53, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x52, 0x45, 0x4d, 0x41, 0x49, + 0x4e, 0x45, 0x44, 0x10, 0xcd, 0x09, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xce, 0x09, 0x12, 0x31, 0x0a, 0x2c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4f, 0x54, + 0x48, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, 0xcf, 0x09, 0x12, 0x2b, + 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x54, 0x10, 0xd0, 0x09, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x43, 0x55, + 0x52, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, + 0x52, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xd1, 0x09, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x47, + 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0xd2, + 0x09, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x50, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x44, + 0x52, 0x41, 0x46, 0x54, 0x10, 0xd3, 0x09, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, + 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0xd4, 0x09, 0x12, 0x1e, + 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xd5, 0x09, 0x12, 0x1f, + 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xd6, 0x09, 0x12, + 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x50, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x55, 0x4e, 0x49, 0x53, + 0x48, 0x10, 0xd7, 0x09, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x49, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x55, 0x4c, + 0x54, 0x49, 0x53, 0x54, 0x41, 0x47, 0x45, 0x10, 0xd8, 0x09, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4d, 0x41, 0x54, + 0x43, 0x48, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, + 0x10, 0xd9, 0x09, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x4d, 0x50, 0x5f, 0x57, 0x49, + 0x54, 0x48, 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x10, 0xda, 0x09, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x50, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x5f, + 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0xdb, 0x09, 0x12, 0x33, + 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, + 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x50, 0x52, + 0x49, 0x4e, 0x54, 0x5f, 0x42, 0x4f, 0x41, 0x54, 0x5f, 0x4f, 0x4e, 0x47, 0x4f, 0x49, 0x4e, 0x47, + 0x10, 0xdc, 0x09, 0x12, 0x38, 0x0a, 0x33, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, 0x5f, 0x52, 0x55, 0x53, 0x48, + 0x5f, 0x50, 0x41, 0x52, 0x4b, 0x4f, 0x55, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, + 0x47, 0x45, 0x5f, 0x4f, 0x4e, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0xdd, 0x09, 0x12, 0x26, 0x0a, + 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, + 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4f, 0x4e, 0x47, 0x4f, 0x49, + 0x4e, 0x47, 0x10, 0xde, 0x09, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x50, 0x49, 0x4e, 0x47, + 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0xdf, 0x09, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, + 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, + 0x10, 0xe0, 0x09, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, + 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xe1, 0x09, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x50, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x59, + 0x5f, 0x4e, 0x4f, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, + 0x10, 0xe2, 0x09, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x5f, 0x45, 0x52, 0x52, + 0x10, 0x95, 0x0a, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x4e, 0x55, 0x4d, 0x10, + 0x96, 0x0a, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0x97, 0x0a, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x54, 0x49, + 0x54, 0x4c, 0x45, 0x5f, 0x4c, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0x98, + 0x0a, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x45, + 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0x99, 0x0a, 0x12, 0x27, 0x0a, 0x22, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, + 0x53, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x10, 0x9a, 0x0a, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x45, 0x5f, 0x50, + 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x9b, 0x0a, 0x12, 0x24, 0x0a, + 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x46, 0x46, + 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x4e, 0x55, 0x4d, + 0x10, 0x9c, 0x0a, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x53, + 0x41, 0x4d, 0x45, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x9d, 0x0a, 0x12, 0x2b, 0x0a, + 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, + 0x4c, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x4c, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x9e, 0x0a, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x43, + 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x4d, 0x43, 0x4f, 0x49, 0x4e, + 0x10, 0x9f, 0x0a, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x48, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xa0, 0x0a, 0x12, 0x28, 0x0a, + 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, + 0x4c, 0x5f, 0x53, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xa1, 0x0a, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x4d, 0x41, 0x54, 0x45, + 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, + 0xa2, 0x0a, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xa3, 0x0a, 0x12, 0x33, 0x0a, + 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, + 0x4c, 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x45, + 0x54, 0x43, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0xa4, 0x0a, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x43, 0x45, 0x48, 0x55, 0x41, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xa5, + 0x0a, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4f, 0x52, 0x5f, 0x52, + 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x10, 0xa6, 0x0a, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, + 0x5f, 0x49, 0x53, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xa7, 0x0a, 0x12, 0x2a, 0x0a, 0x25, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, + 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x53, 0x5f, + 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xa8, 0x0a, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x44, 0x45, 0x4c, + 0x45, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0xa9, 0x0a, + 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, + 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xb2, 0x0a, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x54, 0x41, + 0x4b, 0x53, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xb3, 0x0a, 0x12, + 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, + 0x4f, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4d, 0x53, + 0x47, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0xb4, 0x0a, 0x12, + 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, + 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, + 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xb5, + 0x0a, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x49, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, + 0x4c, 0x45, 0x10, 0xf9, 0x0a, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, + 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0xfa, 0x0a, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, + 0x43, 0x48, 0x41, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0xfb, 0x0a, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x10, 0xfc, 0x0a, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, + 0x41, 0x43, 0x48, 0x41, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xfd, 0x0a, 0x12, 0x22, 0x0a, 0x1d, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x43, 0x48, + 0x41, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xfe, 0x0a, + 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x57, 0x49, 0x53, 0x48, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, + 0x49, 0x54, 0x45, 0x4d, 0x10, 0xff, 0x0a, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x57, 0x49, 0x53, + 0x48, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x10, 0x80, + 0x0b, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x81, 0x0b, 0x12, 0x2e, 0x0a, 0x29, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x45, + 0x53, 0x54, 0x49, 0x47, 0x41, 0x49, 0x54, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, + 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0xdd, 0x0b, 0x12, 0x29, 0x0a, 0x24, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x45, + 0x53, 0x54, 0x49, 0x47, 0x41, 0x49, 0x54, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x43, 0x4f, 0x4d, 0x50, + 0x4c, 0x45, 0x54, 0x45, 0x10, 0xde, 0x0b, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x45, 0x53, 0x54, 0x49, 0x47, 0x41, + 0x49, 0x54, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x41, 0x4b, 0x45, + 0x4e, 0x10, 0xdf, 0x0b, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x45, 0x53, 0x54, 0x49, 0x47, 0x41, 0x49, 0x54, 0x4f, + 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0xe0, 0x0b, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x54, 0x49, 0x50, 0x53, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xe1, 0x0b, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x47, + 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xe2, 0x0b, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, + 0x48, 0x41, 0x56, 0x45, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x10, 0xe3, + 0x0b, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x53, 0x41, 0x54, 0x49, 0x53, 0x46, 0x49, 0x45, 0x44, 0x10, 0xe4, 0x0b, 0x12, 0x2e, + 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, + 0x4e, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, 0x10, 0xe5, 0x0b, 0x12, 0x21, + 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x49, + 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, 0x10, 0xe6, + 0x0b, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, + 0xf1, 0x0b, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x44, 0x41, 0x49, + 0x4c, 0x59, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x10, 0xf2, 0x0b, 0x12, 0x21, 0x0a, 0x1c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, + 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x10, 0xf3, 0x0b, 0x12, + 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, + 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, + 0x10, 0xf4, 0x0b, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x4e, 0x55, + 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xf5, 0x0b, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, + 0x46, 0x4c, 0x4f, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xf6, + 0x0b, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, 0x46, 0x4c, 0x4f, 0x4f, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x52, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x10, 0xf7, 0x0b, 0x12, 0x27, + 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4c, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, + 0x42, 0x55, 0x46, 0x46, 0x10, 0xf8, 0x0b, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, + 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0xf9, 0x0b, 0x12, + 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x56, 0x45, + 0x4c, 0x10, 0xfa, 0x0b, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4c, 0x45, 0x56, + 0x45, 0x4c, 0x10, 0xfb, 0x0b, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x45, 0x56, 0x5f, + 0x46, 0x4c, 0x4f, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x10, 0xfc, 0x0b, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xfd, 0x0b, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, + 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, + 0x4c, 0x45, 0x10, 0x85, 0x0c, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, + 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x42, 0x55, 0x59, 0x45, 0x44, 0x10, 0x86, 0x0c, 0x12, 0x2b, 0x0a, + 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4f, + 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x87, 0x0c, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, + 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x45, 0x58, + 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x88, 0x0c, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x48, 0x4f, + 0x53, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x10, 0x99, 0x0c, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, + 0x10, 0x9a, 0x0c, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x9b, 0x0c, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41, 0x50, + 0x50, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4d, 0x50, 0x10, + 0x9c, 0x0c, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, 0x52, + 0x45, 0x5f, 0x53, 0x50, 0x4f, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x10, 0xad, 0x0c, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, + 0x52, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, + 0x10, 0xae, 0x0c, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, + 0x52, 0x45, 0x5f, 0x53, 0x50, 0x4f, 0x54, 0x5f, 0x46, 0x41, 0x52, 0x5f, 0x41, 0x57, 0x41, 0x59, + 0x10, 0xaf, 0x0c, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x45, 0x41, 0x53, 0x55, + 0x52, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x44, 0x41, + 0x59, 0x10, 0xb0, 0x0c, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x4b, + 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0xb1, 0x0c, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x41, + 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x49, 0x44, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0xb2, 0x0c, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0xb3, 0x0c, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, + 0x46, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x45, 0x10, 0xb4, 0x0c, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x45, 0x41, 0x54, + 0x48, 0x45, 0x52, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x46, + 0x41, 0x52, 0x5f, 0x41, 0x57, 0x41, 0x59, 0x10, 0xb5, 0x0c, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, + 0x5f, 0x43, 0x41, 0x50, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xb6, 0x0c, 0x12, 0x35, 0x0a, 0x30, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x43, 0x41, 0x50, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, + 0x4c, 0x5f, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x42, 0x41, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x10, 0xb7, 0x0c, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x50, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x43, 0x41, 0x50, 0x54, 0x55, 0x52, 0x45, 0x10, 0xb8, 0x0c, 0x12, 0x31, 0x0a, 0x2c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, + 0x54, 0x5f, 0x53, 0x4b, 0x59, 0x5f, 0x43, 0x52, 0x59, 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x41, 0x4c, + 0x4c, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0xb9, 0x0c, 0x12, 0x36, + 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, + 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x59, 0x5f, 0x43, 0x52, 0x59, 0x53, 0x54, 0x41, 0x4c, + 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x10, 0xba, 0x0c, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x59, + 0x5f, 0x43, 0x52, 0x59, 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x10, 0xbb, 0x0c, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x59, 0x5f, + 0x43, 0x52, 0x59, 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x5f, + 0x54, 0x4f, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x10, 0xbc, 0x0c, 0x12, 0x35, 0x0a, 0x30, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, + 0x54, 0x5f, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x53, 0x54, 0x4f, 0x4e, 0x45, 0x5f, 0x45, 0x4e, + 0x45, 0x52, 0x47, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, + 0xbd, 0x0c, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x59, 0x5f, 0x43, 0x52, 0x59, + 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xbe, 0x0c, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, + 0x4c, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x53, 0x54, 0x4f, 0x4e, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, + 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xbf, 0x0c, 0x12, + 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, + 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd1, 0x0f, 0x12, + 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, + 0x41, 0x52, 0x53, 0x45, 0x5f, 0x42, 0x49, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xd2, + 0x0f, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd3, 0x0f, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, + 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd4, + 0x0f, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xd5, 0x0f, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x48, 0x41, 0x53, + 0x5f, 0x42, 0x45, 0x45, 0x4e, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x10, 0xd6, 0x0f, 0x12, 0x22, 0x0a, + 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd7, + 0x0f, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x55, 0x4e, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, + 0xd8, 0x0f, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xd9, + 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x44, 0x45, 0x5f, 0x45, 0x41, 0x52, + 0x4c, 0x59, 0x10, 0xda, 0x0f, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0xdb, 0x0f, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, + 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x52, 0x4f, 0x4e, 0x47, 0x10, 0xdc, + 0x0f, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4f, 0x50, 0x5f, 0x46, 0x55, 0x4c, 0x4c, + 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, 0xdd, 0x0f, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x52, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4f, 0x42, 0x54, 0x41, 0x49, 0x4e, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xde, 0x0f, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x52, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, + 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0xdf, 0x0f, 0x12, 0x2d, 0x0a, + 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4e, + 0x43, 0x45, 0x52, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x54, 0x49, 0x43, + 0x4b, 0x45, 0x54, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xe0, 0x0f, 0x12, 0x1f, 0x0a, 0x1a, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x44, 0x49, + 0x53, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x89, 0x27, 0x12, 0x24, 0x0a, + 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x44, + 0x49, 0x53, 0x5f, 0x55, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, + 0x10, 0x8a, 0x27, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x50, 0x41, 0x54, 0x48, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x44, + 0x41, 0x54, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xf1, 0x2e, + 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x50, 0x41, 0x54, 0x48, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x45, 0x53, 0x54, + 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, + 0x54, 0x10, 0xf2, 0x2e, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x50, 0x41, 0x54, 0x48, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xf3, 0x2e, 0x12, 0x2f, + 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x41, + 0x54, 0x48, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, + 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0xf4, 0x2e, 0x12, + 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x45, 0x44, 0x10, 0xd9, 0x36, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xda, 0x36, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x10, 0xdb, 0x36, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, + 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xdc, 0x36, 0x12, 0x29, 0x0a, 0x24, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x49, 0x53, 0x5f, 0x46, 0x52, + 0x49, 0x45, 0x4e, 0x44, 0x10, 0xdd, 0x36, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xde, 0x36, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0xdf, 0x36, 0x12, 0x1b, 0x0a, 0x16, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xe0, 0x36, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x49, 0x52, 0x54, 0x48, 0x44, 0x41, + 0x59, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x42, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x5f, + 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, 0xe1, 0x36, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x41, + 0x44, 0x44, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xe2, + 0x36, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, + 0x41, 0x4c, 0x10, 0xe3, 0x36, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, + 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, + 0x53, 0x10, 0xe4, 0x36, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x41, + 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x46, 0x52, 0x49, 0x45, + 0x4e, 0x44, 0x53, 0x10, 0xe5, 0x36, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xe6, 0x36, 0x12, + 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, + 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, + 0x49, 0x53, 0x54, 0x10, 0xe7, 0x36, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x53, 0x5f, 0x50, 0x41, 0x4c, 0x45, 0x59, 0x52, 0x53, + 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x42, 0x4c, 0x41, 0x43, + 0x4b, 0x4c, 0x49, 0x53, 0x54, 0x10, 0xe8, 0x36, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x42, + 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0xe9, 0x36, + 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x42, 0x4c, + 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, 0x54, 0x10, 0xea, 0x36, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, + 0x49, 0x53, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, + 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xeb, 0x36, 0x12, + 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, + 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, + 0x53, 0x54, 0x10, 0xec, 0x36, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x5f, + 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xed, 0x36, + 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x42, 0x49, 0x52, 0x54, 0x48, 0x44, 0x41, 0x59, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xee, 0x36, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x49, + 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0xef, 0x36, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x49, 0x52, 0x53, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, + 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xf0, 0x36, 0x12, 0x32, + 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x53, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x52, + 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, 0x54, 0x10, + 0xf1, 0x36, 0x12, 0x1a, 0x0a, 0x15, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x44, 0x10, 0xf2, 0x36, 0x12, 0x27, + 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x4c, 0x4c, + 0x45, 0x47, 0x41, 0x4c, 0x10, 0xf3, 0x36, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x57, 0x4f, + 0x52, 0x44, 0x5f, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x10, 0xf4, 0x36, 0x12, 0x20, 0x0a, + 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x4d, + 0x41, 0x52, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0xf5, 0x36, 0x12, + 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x55, 0x54, 0x46, 0x38, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0xf6, 0x36, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x41, 0x52, 0x4b, 0x5f, 0x49, 0x53, 0x5f, 0x45, 0x4d, 0x50, + 0x54, 0x59, 0x10, 0xf7, 0x36, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x53, 0x4b, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, + 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x44, 0x10, 0xf8, 0x36, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x57, 0x5f, 0x41, 0x56, + 0x41, 0x54, 0x41, 0x52, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x10, 0xf9, 0x36, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x53, 0x48, 0x4f, 0x57, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0xfa, 0x36, 0x12, + 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, + 0x4f, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x48, 0x4f, + 0x57, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x5f, 0x49, 0x44, + 0x10, 0xfb, 0x36, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x50, 0x53, 0x4e, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x10, 0xfc, 0x36, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, + 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xfd, 0x36, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x41, 0x52, 0x4b, + 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xfe, 0x36, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, + 0x45, 0x54, 0x5f, 0x50, 0x53, 0x4e, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b, 0x4c, 0x49, 0x53, 0x54, + 0x10, 0xff, 0x36, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x80, 0x37, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, + 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x4c, 0x59, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0x81, 0x37, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xa9, 0x37, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x49, 0x4e, + 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xaa, 0x37, + 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4f, 0x46, 0x46, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x10, 0xab, 0x37, 0x12, 0x29, 0x0a, 0x24, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, + 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, + 0x4b, 0x45, 0x4e, 0x10, 0xac, 0x37, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xbd, + 0x37, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xbe, 0x37, 0x12, + 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x10, 0xbf, + 0x37, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x50, 0x41, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x41, + 0x4b, 0x45, 0x4e, 0x10, 0xc0, 0x37, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x5f, 0x55, 0x4e, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xc1, 0x37, 0x12, 0x2f, + 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, + 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, + 0x43, 0x45, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0xc2, 0x37, 0x12, + 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, + 0x54, 0x10, 0xc3, 0x37, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc4, 0x37, 0x12, 0x32, 0x0a, 0x2d, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, + 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x41, + 0x4e, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc5, 0x37, 0x12, + 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, + 0x41, 0x4b, 0x45, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x52, 0x45, 0x57, + 0x41, 0x52, 0x44, 0x10, 0xc6, 0x37, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x57, 0x49, 0x54, 0x43, 0x48, 0x5f, 0x43, 0x4c, 0x4f, + 0x53, 0x45, 0x10, 0xc7, 0x37, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x53, 0x57, 0x49, + 0x54, 0x43, 0x48, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0xc8, 0x37, 0x12, 0x35, 0x0a, 0x30, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, + 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x4b, 0x45, + 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x4c, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, + 0x10, 0xc9, 0x37, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x4c, 0x4f, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, + 0x45, 0x41, 0x43, 0x48, 0x10, 0xca, 0x37, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, + 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xd0, 0x37, 0x12, 0x27, 0x0a, + 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, + 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, 0x55, 0x4e, 0x4c, + 0x4f, 0x43, 0x4b, 0x10, 0xd1, 0x37, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, + 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xd2, 0x37, 0x12, 0x2c, 0x0a, + 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, + 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, 0x4c, 0x45, 0x56, + 0x45, 0x4c, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xd3, 0x37, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, + 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xd4, 0x37, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, + 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x45, 0x10, 0xd5, + 0x37, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x53, 0x45, 0x51, 0x55, + 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x10, 0xd6, 0x37, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x53, 0x45, + 0x51, 0x55, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x4f, 0x50, 0x45, + 0x4e, 0x10, 0xd7, 0x37, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x44, + 0x49, 0x46, 0x46, 0x49, 0x43, 0x55, 0x4c, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x50, + 0x50, 0x4f, 0x52, 0x54, 0x10, 0xd8, 0x37, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, + 0x53, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0xd9, 0x37, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, + 0x5f, 0x54, 0x45, 0x41, 0x43, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x10, 0xda, 0x37, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x54, + 0x45, 0x41, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xdb, 0x37, + 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x50, 0x52, 0x45, 0x56, 0x5f, + 0x44, 0x49, 0x46, 0x46, 0x49, 0x43, 0x55, 0x4c, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, + 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xdc, 0x37, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, + 0x55, 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0xdd, 0x37, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x50, 0x55, 0x4e, + 0x49, 0x53, 0x48, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0xde, 0x37, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, + 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x53, 0x57, 0x49, 0x54, 0x43, 0x48, 0x5f, 0x43, 0x4c, 0x4f, + 0x53, 0x45, 0x10, 0xdf, 0x37, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, + 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0xee, 0x37, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, + 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xef, 0x37, 0x12, 0x36, 0x0a, 0x31, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, + 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x44, 0x55, 0x50, + 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x49, 0x43, 0x4b, 0x5f, 0x43, 0x41, 0x52, 0x44, + 0x10, 0xf0, 0x37, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, + 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x49, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x10, 0xf1, 0x37, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, + 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0xf2, + 0x37, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, + 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, + 0x54, 0x41, 0x47, 0x45, 0x10, 0xf3, 0x37, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, + 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x49, 0x53, + 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0xf4, 0x37, 0x12, 0x35, 0x0a, 0x30, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, + 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, + 0x44, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x45, 0x44, 0x10, + 0xf5, 0x37, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, + 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x45, 0x44, 0x10, 0xf6, 0x37, 0x12, 0x3a, 0x0a, + 0x35, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, + 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, + 0x41, 0x52, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x45, 0x44, 0x5f, 0x42, 0x59, + 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0xf7, 0x37, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, + 0x43, 0x55, 0x53, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, + 0x53, 0x10, 0xf8, 0x37, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x42, + 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0xf9, 0x37, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x45, 0x47, + 0x45, 0x4e, 0x44, 0x41, 0x52, 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xc1, 0x3e, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x41, 0x52, + 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0xc2, 0x3e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x54, 0x4f, 0x5f, 0x52, 0x45, + 0x44, 0x45, 0x45, 0x4d, 0x10, 0xc3, 0x3e, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, + 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x4f, 0x46, 0x46, 0x10, 0xc4, 0x3e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4c, + 0x49, 0x4e, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, + 0x4f, 0x55, 0x47, 0x48, 0x10, 0xc5, 0x3e, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, + 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc6, 0x3e, + 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x50, 0x52, + 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x10, 0xc7, 0x3e, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4c, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x4f, 0x46, 0x46, 0x45, + 0x52, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x89, 0x40, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x55, 0x4e, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, + 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x10, 0x8a, 0x40, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x43, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x8b, 0x40, 0x12, 0x27, 0x0a, + 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x55, 0x4e, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x5f, 0x4f, 0x46, + 0x46, 0x45, 0x52, 0x10, 0x8c, 0x40, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x55, 0x4e, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x41, + 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, + 0x8d, 0x40, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x52, 0x50, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x10, 0xc5, 0x45, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, + 0x41, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0xc6, 0x45, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, + 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0xc7, 0x45, 0x12, + 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, + 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0xc8, 0x45, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, + 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x50, 0x55, 0x4c, 0x4c, + 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x10, 0xc9, 0x45, 0x12, 0x29, 0x0a, 0x24, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x49, 0x56, + 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x5f, + 0x52, 0x45, 0x41, 0x44, 0x10, 0xca, 0x45, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x43, + 0x48, 0x41, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x52, 0x49, + 0x45, 0x4e, 0x44, 0x10, 0xcb, 0x45, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, + 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xa9, 0x46, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0xaa, + 0x46, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x52, 0x45, 0x57, 0x41, + 0x52, 0x44, 0x10, 0xab, 0x46, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x49, 0x47, + 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, 0x10, 0xac, 0x46, + 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x5f, + 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, 0x10, 0xad, 0x46, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, + 0x4f, 0x4e, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, + 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xae, 0x46, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, + 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x45, 0x44, + 0x10, 0xaf, 0x46, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xb0, 0x46, + 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x52, 0x45, 0x55, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x5f, + 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, + 0x4b, 0x45, 0x44, 0x10, 0xb1, 0x46, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x43, + 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x8d, 0x47, + 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x45, 0x10, 0x8e, 0x47, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x54, 0x4f, 0x44, 0x41, 0x59, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, + 0x8f, 0x47, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, + 0x59, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x55, + 0x4d, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x90, 0x47, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, + 0x4e, 0x47, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x55, + 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x91, + 0x47, 0x12, 0x38, 0x0a, 0x33, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x44, 0x45, 0x45, 0x4d, + 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x92, 0x47, 0x12, 0x33, 0x0a, 0x2e, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, + 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x44, 0x45, 0x45, 0x4d, 0x5f, 0x50, 0x49, 0x43, 0x5f, 0x4e, + 0x55, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x93, 0x47, + 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x43, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x94, 0x47, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, + 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x43, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, + 0x56, 0x45, 0x44, 0x10, 0x95, 0x47, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x56, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, + 0x58, 0x43, 0x45, 0x45, 0x44, 0x10, 0x96, 0x47, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, + 0x49, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x97, 0x47, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, + 0x41, 0x49, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x98, 0x47, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, + 0x49, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x99, 0x47, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, + 0x49, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0x9a, 0x47, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x52, + 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, + 0x45, 0x4e, 0x10, 0x9b, 0x47, 0x12, 0x3c, 0x0a, 0x37, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x52, 0x5f, + 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x49, + 0x43, 0x55, 0x4c, 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, + 0x10, 0x9c, 0x47, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x52, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x9d, 0x47, 0x12, + 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x52, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x50, 0x55, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x9e, 0x47, + 0x12, 0x3a, 0x0a, 0x35, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x46, 0x4c, 0x45, 0x55, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, + 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, + 0x54, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x47, 0x41, 0x4d, 0x10, 0x9f, 0x47, 0x12, 0x2f, 0x0a, 0x2a, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x41, 0x54, 0x45, + 0x52, 0x5f, 0x53, 0x50, 0x49, 0x52, 0x49, 0x54, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xa0, 0x47, 0x12, 0x2d, 0x0a, + 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x41, 0x54, + 0x45, 0x52, 0x5f, 0x53, 0x50, 0x49, 0x52, 0x49, 0x54, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xa1, 0x47, 0x12, 0x28, 0x0a, 0x23, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x45, 0x41, + 0x52, 0x43, 0x48, 0x10, 0xa2, 0x47, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x41, + 0x52, 0x43, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0xa3, 0x47, 0x12, 0x3c, 0x0a, 0x37, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, + 0x42, 0x5f, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xaa, 0x47, + 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, + 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xab, 0x47, 0x12, 0x49, 0x0a, 0x44, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, + 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, + 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, + 0x10, 0xac, 0x47, 0x12, 0x44, 0x0a, 0x3f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, + 0x41, 0x42, 0x5f, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x53, 0x43, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, + 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xad, 0x47, 0x12, 0x38, 0x0a, 0x33, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, + 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x10, 0xae, 0x47, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, + 0x41, 0x42, 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0xaf, 0x47, 0x12, 0x3f, 0x0a, 0x3a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, + 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x4f, 0x46, + 0x46, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xb0, 0x47, 0x12, 0x33, 0x0a, 0x2e, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, + 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, + 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb1, 0x47, + 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, 0x41, 0x42, 0x5f, + 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, + 0x10, 0xb2, 0x47, 0x12, 0x3e, 0x0a, 0x39, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x4c, + 0x41, 0x42, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, + 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x10, 0xb3, 0x47, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x45, + 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x5f, 0x4e, + 0x55, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xbe, 0x47, + 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x49, 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc8, 0x47, 0x12, 0x30, + 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x49, + 0x44, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x45, 0x4b, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc9, 0x47, + 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x44, 0x52, 0x41, 0x46, + 0x54, 0x5f, 0x57, 0x4f, 0x4f, 0x52, 0x44, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xd2, 0x47, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x57, 0x4f, 0x4f, 0x52, 0x44, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xd3, 0x47, 0x12, 0x38, 0x0a, 0x33, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, + 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x5f, 0x48, 0x41, 0x52, + 0x50, 0x41, 0x53, 0x54, 0x55, 0x4d, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xd4, 0x47, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, + 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x5f, 0x48, 0x41, 0x52, 0x50, 0x41, 0x53, 0x54, 0x55, 0x4d, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xd5, 0x47, 0x12, 0x33, 0x0a, + 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4f, 0x55, + 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4a, 0x55, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4f, + 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0xdc, 0x47, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4a, 0x55, 0x52, 0x49, + 0x4e, 0x47, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x10, 0xdd, 0x47, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x45, 0x41, 0x43, 0x48, + 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xdf, 0x47, + 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x45, 0x41, 0x43, 0x48, 0x5f, 0x4d, 0x41, 0x50, 0x5f, + 0x55, 0x4e, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xe0, 0x47, 0x12, 0x28, 0x0a, + 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, + 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xe1, 0x47, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x49, + 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xe2, 0x47, 0x12, + 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x48, 0x45, 0x53, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x55, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x54, + 0x49, 0x4d, 0x45, 0x10, 0xe3, 0x47, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x52, 0x45, 0x56, + 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x55, 0x4e, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, + 0xe4, 0x47, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, + 0x45, 0x44, 0x10, 0xe5, 0x47, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, 0x5f, 0x52, 0x55, 0x53, 0x48, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xe8, 0x47, 0x12, 0x2c, 0x0a, 0x27, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, + 0x5f, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xe9, 0x47, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, 0x5f, 0x52, + 0x55, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xea, 0x47, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, 0x5f, + 0x52, 0x55, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xeb, 0x47, 0x12, 0x2d, 0x0a, 0x28, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, + 0x5f, 0x52, 0x55, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xec, 0x47, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x49, 0x54, 0x5a, 0x5f, + 0x52, 0x55, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xed, 0x47, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, + 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf1, 0x47, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, + 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x44, 0x10, 0xf2, 0x47, 0x12, 0x2e, 0x0a, 0x29, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, + 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xf3, 0x47, 0x12, 0x29, 0x0a, 0x24, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, + 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x49, + 0x56, 0x45, 0x52, 0x10, 0xf4, 0x47, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, + 0x4e, 0x47, 0x5f, 0x44, 0x45, 0x4c, 0x49, 0x56, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, + 0x44, 0x10, 0xf5, 0x47, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, + 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0xf6, 0x47, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x49, 0x52, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x41, 0x53, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0xf7, 0x47, 0x12, 0x27, + 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x49, + 0x52, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x59, + 0x4f, 0x55, 0x52, 0x53, 0x10, 0xf8, 0x47, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, + 0x52, 0x49, 0x5a, 0x45, 0x44, 0x10, 0xa3, 0x48, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xa4, 0x48, 0x12, 0x34, 0x0a, 0x2f, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, + 0xa5, 0x48, 0x12, 0x3c, 0x0a, 0x37, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4c, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x49, 0x4e, + 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x54, 0x10, 0xa6, 0x48, + 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x54, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x10, 0xa7, 0x48, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0xa8, 0x48, 0x12, 0x3a, 0x0a, 0x35, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, + 0x51, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, + 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xa9, 0x48, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, + 0x5f, 0x42, 0x59, 0x5f, 0x41, 0x4e, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x59, + 0x45, 0x52, 0x10, 0xaa, 0x48, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, + 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, + 0x44, 0x10, 0xab, 0x48, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, + 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xac, 0x48, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xad, 0x48, 0x12, 0x38, 0x0a, 0x33, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, + 0x41, 0x59, 0x45, 0x52, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x10, 0xae, 0x48, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x54, 0x41, 0x49, 0x4f, 0x4e, 0x5f, + 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0xaf, 0x48, 0x12, 0x3b, 0x0a, 0x36, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, + 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, + 0x43, 0x48, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb0, 0x48, 0x12, 0x3a, 0x0a, 0x35, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x5f, + 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x47, 0x45, 0x41, 0x52, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0xb1, 0x48, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, + 0x4e, 0x5f, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0xb2, 0x48, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x50, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x4f, 0x4e, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xd5, 0x48, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4f, 0x50, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xd6, 0x48, 0x12, + 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, + 0x55, 0x4c, 0x54, 0x49, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x50, + 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x43, 0x45, + 0x4e, 0x45, 0x10, 0x9d, 0x4a, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, + 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x9e, + 0x4a, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x4f, 0x4f, 0x50, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x81, 0x4b, 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4f, 0x50, 0x5f, 0x43, 0x4f, + 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x82, 0x4b, 0x12, 0x22, + 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, + 0x4f, 0x50, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, + 0x83, 0x4b, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x4f, 0x4f, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x84, 0x4b, 0x12, 0x26, 0x0a, 0x21, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4f, 0x50, 0x5f, + 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, + 0x10, 0x85, 0x4b, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x45, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x10, 0xb3, 0x4b, 0x12, 0x26, 0x0a, 0x21, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, + 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x59, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x10, 0xb4, 0x4b, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, + 0x50, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x4d, 0x50, 0x10, 0xb5, 0x4b, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, + 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x10, 0xb6, 0x4b, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, + 0x52, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xb7, 0x4b, 0x12, 0x2c, 0x0a, + 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, + 0x46, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, + 0x45, 0x4e, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0xb8, 0x4b, 0x12, 0x2c, 0x0a, 0x27, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, + 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x49, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, + 0x45, 0x52, 0x52, 0x49, 0x4e, 0x47, 0x10, 0xb9, 0x4b, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x47, + 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x52, 0x41, 0x46, + 0x54, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xba, 0x4b, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, + 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, + 0x10, 0xbb, 0x4b, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x5f, 0x43, + 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, + 0x52, 0x10, 0xbc, 0x4b, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4f, 0x57, 0x4e, 0x10, + 0xe5, 0x4b, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, + 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x10, 0xe6, 0x4b, 0x12, 0x2e, + 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, + 0x48, 0x41, 0x53, 0x5f, 0x4e, 0x4f, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0xe7, 0x4b, 0x12, 0x20, + 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0xe8, 0x4b, + 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, 0x4c, + 0x10, 0xe9, 0x4b, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, + 0xea, 0x4b, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x49, + 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, + 0x52, 0x4c, 0x44, 0x10, 0xeb, 0x4b, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x44, + 0x49, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0xec, 0x4b, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, + 0xed, 0x4b, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x47, 0x55, 0x45, 0x53, 0x54, + 0x10, 0xee, 0x4b, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x54, 0x5f, 0x45, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x4f, + 0x44, 0x45, 0x10, 0xef, 0x4b, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, + 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xf0, + 0x4b, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x49, 0x4e, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x10, 0xf1, + 0x4b, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, + 0x52, 0x4c, 0x44, 0x10, 0xf2, 0x4b, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x10, 0xf3, 0x4b, 0x12, 0x2f, + 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x48, 0x4f, 0x4d, + 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xf4, 0x4b, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, + 0x4f, 0x4d, 0x45, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x46, 0x55, 0x53, 0x45, 0x5f, + 0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0xf5, 0x4b, 0x12, 0x30, + 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x46, 0x55, 0x53, 0x45, 0x5f, + 0x54, 0x4f, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0xf6, 0x4b, + 0x12, 0x23, 0x0a, 0x1e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, + 0x4e, 0x45, 0x10, 0xf7, 0x4b, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, + 0x55, 0x52, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x10, 0xf8, 0x4b, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x10, 0xf9, 0x4b, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x52, 0x59, + 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x10, 0xfa, + 0x4b, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x49, 0x4e, + 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x10, 0xfb, 0x4b, + 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xfc, 0x4b, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x4f, + 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xfd, 0x4b, + 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0xfe, 0x4b, 0x12, 0x27, 0x0a, 0x22, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x43, 0x55, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, + 0x44, 0x10, 0xff, 0x4b, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, + 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x80, 0x4c, 0x12, 0x1e, 0x0a, 0x19, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x81, 0x4c, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, + 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, 0x10, 0x82, 0x4c, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x45, 0x44, + 0x49, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x44, 0x10, 0x83, 0x4c, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, + 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x43, 0x44, 0x10, 0x84, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x4c, 0x4f, + 0x43, 0x4b, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0x85, 0x4c, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, + 0x50, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x86, 0x4c, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x87, 0x4c, 0x12, 0x2b, + 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x88, 0x4c, 0x12, 0x31, 0x0a, 0x2c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x54, 0x48, 0x45, + 0x52, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x89, 0x4c, 0x12, 0x28, + 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, + 0x48, 0x4f, 0x55, 0x53, 0x45, 0x10, 0x8a, 0x4c, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x5f, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0x8b, 0x4c, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x41, + 0x4e, 0x59, 0x5f, 0x47, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, + 0x45, 0x44, 0x10, 0x8c, 0x4c, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, + 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x8d, 0x4c, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, + 0x45, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x5f, + 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x8e, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x45, 0x52, + 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x10, 0x8f, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x44, 0x5f, 0x4f, + 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0x90, 0x4c, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x53, 0x43, 0x45, 0x4e, + 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x91, 0x4c, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x41, + 0x58, 0x5f, 0x50, 0x4c, 0x41, 0x59, 0x45, 0x52, 0x10, 0x92, 0x4c, 0x12, 0x21, 0x0a, 0x1c, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x49, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x93, 0x4c, 0x12, 0x2e, + 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x47, 0x41, 0x4c, 0x4c, + 0x45, 0x52, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x94, 0x4c, 0x12, 0x2c, + 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, + 0x5f, 0x49, 0x4e, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x54, 0x10, 0x95, 0x4c, 0x12, 0x2b, 0x0a, 0x26, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, + 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x96, 0x4c, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x97, + 0x4c, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, + 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x98, 0x4c, 0x12, + 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x53, 0x4c, + 0x4f, 0x54, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x99, 0x4c, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, + 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x55, 0x52, + 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x9a, 0x4c, 0x12, 0x28, + 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, + 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x55, 0x4e, 0x46, + 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0x9b, 0x4c, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x10, 0x9c, 0x4c, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, + 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x9d, 0x4c, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, + 0x9e, 0x4c, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4b, 0x45, + 0x5f, 0x41, 0x43, 0x43, 0x45, 0x4c, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0x9f, 0x4c, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, + 0x4b, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x4d, 0x41, 0x4b, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, + 0xa0, 0x4c, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x5f, 0x53, + 0x48, 0x4f, 0x50, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0xa1, 0x4c, 0x12, 0x25, 0x0a, 0x20, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, + 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x57, + 0x10, 0xa2, 0x4c, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4f, + 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x41, 0x54, 0x49, 0x53, 0x46, 0x49, 0x45, 0x44, + 0x10, 0xa3, 0x4c, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x41, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x5f, 0x50, + 0x41, 0x52, 0x41, 0x4d, 0x10, 0xa4, 0x4c, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x4e, 0x50, 0x43, 0x5f, + 0x50, 0x41, 0x52, 0x41, 0x4d, 0x10, 0xa5, 0x4c, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x56, + 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x53, 0x55, 0x49, + 0x54, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x10, 0xa6, 0x4c, 0x12, 0x36, 0x0a, 0x31, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x4f, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, + 0x10, 0xa7, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xa8, 0x4c, + 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xa9, 0x4c, 0x12, 0x27, 0x0a, + 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, + 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4d, + 0x50, 0x54, 0x59, 0x10, 0xaa, 0x4c, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, + 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0xab, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x54, + 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xac, + 0x4c, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x5f, + 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, + 0x4f, 0x55, 0x47, 0x48, 0x10, 0xad, 0x4c, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x4c, 0x41, 0x4e, + 0x54, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0xae, 0x4c, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, + 0x54, 0x55, 0x52, 0x45, 0x5f, 0x47, 0x55, 0x49, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0xaf, 0x4c, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb0, + 0x4c, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x52, 0x4d, 0x49, + 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb1, 0x4c, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, + 0x46, 0x49, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xb2, 0x4c, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, + 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0xb3, 0x4c, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, + 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0xb4, 0x4c, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x50, + 0x41, 0x52, 0x41, 0x4d, 0x10, 0xb5, 0x4c, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, + 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x47, 0x52, + 0x4f, 0x55, 0x50, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb6, 0x4c, 0x12, 0x38, 0x0a, 0x33, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, + 0x5f, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x43, + 0x4f, 0x4f, 0x50, 0x5f, 0x43, 0x47, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0xb7, 0x4c, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x49, 0x43, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x43, 0x4f, 0x4f, 0x50, 0x5f, 0x43, 0x47, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xb8, 0x4c, 0x12, 0x2e, + 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x4e, + 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0xb9, 0x4c, 0x12, 0x32, + 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, + 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x4e, 0x5f, + 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x10, + 0xba, 0x4c, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, 0x54, 0x4f, + 0x4f, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0xbb, 0x4c, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, + 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, + 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x10, 0xbc, 0x4c, + 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x53, + 0x55, 0x49, 0x54, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0xbd, 0x4c, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xbe, 0x4c, 0x12, + 0x41, 0x0a, 0x3c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, + 0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x55, + 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, + 0xbf, 0x4c, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x47, 0x4d, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xc0, 0x4c, 0x12, 0x26, 0x0a, 0x21, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, + 0x47, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, + 0xc1, 0x4c, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x47, 0x4d, 0x5f, 0x46, 0x55, 0x52, 0x4e, 0x49, + 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xc2, + 0x4c, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x42, 0x47, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, + 0x50, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x43, 0x55, 0x52, 0x5f, 0x53, 0x43, 0x45, + 0x4e, 0x45, 0x10, 0xc3, 0x4c, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, + 0x44, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x44, 0x49, 0x53, + 0x41, 0x42, 0x4c, 0x45, 0x10, 0xc4, 0x4c, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, + 0x44, 0x5f, 0x57, 0x4f, 0x4f, 0x44, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, + 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xc5, 0x4c, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, 0x52, + 0x4c, 0x44, 0x5f, 0x57, 0x4f, 0x4f, 0x44, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xc6, 0x4c, 0x12, 0x37, 0x0a, + 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, + 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x57, 0x4f, 0x4f, 0x44, 0x5f, 0x4d, 0x41, 0x54, + 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x10, 0xc7, 0x4c, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, + 0x5f, 0x57, 0x4f, 0x4f, 0x44, 0x5f, 0x45, 0x58, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, + 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc8, 0x4c, 0x12, 0x2d, + 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, + 0x4d, 0x4f, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x47, + 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x90, 0x4e, 0x12, 0x30, 0x0a, + 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, + 0x4f, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x57, 0x49, 0x54, 0x43, + 0x48, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0x91, 0x4e, 0x12, + 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, + 0x55, 0x4d, 0x4f, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x45, 0x41, + 0x4d, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x10, + 0x92, 0x4e, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x94, 0x4e, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0x95, 0x4e, 0x12, 0x35, 0x0a, 0x30, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, + 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, + 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x53, 0x41, 0x43, 0x52, 0x49, 0x46, 0x49, 0x43, 0x45, + 0x10, 0x96, 0x4e, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x54, 0x41, + 0x4b, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0x97, 0x4e, 0x12, 0x38, 0x0a, 0x33, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, + 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x53, + 0x41, 0x43, 0x52, 0x49, 0x46, 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0x98, 0x4e, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x55, 0x4e, 0x41, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x49, + 0x4e, 0x47, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x45, 0x45, 0x54, + 0x10, 0x99, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x44, 0x49, 0x47, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x4f, + 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, + 0x48, 0x10, 0x9f, 0x4e, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x44, 0x49, 0x47, 0x5f, 0x46, 0x49, 0x4e, 0x44, 0x5f, 0x4e, 0x45, 0x41, + 0x52, 0x45, 0x53, 0x54, 0x5f, 0x50, 0x4f, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xa0, 0x4e, + 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xa5, 0x4e, 0x12, 0x2c, 0x0a, 0x27, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x55, 0x53, 0x49, + 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xa6, 0x4e, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, + 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, + 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0xa7, 0x4e, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, 0x47, + 0x41, 0x4d, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xa8, 0x4e, 0x12, 0x2e, 0x0a, + 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x55, 0x53, + 0x49, 0x43, 0x5f, 0x47, 0x41, 0x4d, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x44, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0xa9, 0x4e, 0x12, 0x2c, 0x0a, + 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, + 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xaf, 0x4e, 0x12, 0x2c, 0x0a, 0x27, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, + 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xb0, 0x4e, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, + 0x4b, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, + 0x4f, 0x55, 0x47, 0x48, 0x10, 0xb1, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, + 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb2, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, + 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb3, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, + 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xb4, 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, + 0x5f, 0x52, 0x55, 0x4e, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xb5, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, + 0x4b, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0xb6, 0x4e, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, + 0x49, 0x4b, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, + 0x4e, 0x44, 0x10, 0xb7, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x43, + 0x45, 0x4c, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, + 0x43, 0x54, 0x10, 0xb8, 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x43, + 0x45, 0x4c, 0x4c, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x10, 0xb9, 0x4e, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x55, 0x4e, + 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, + 0x53, 0x10, 0xba, 0x4e, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x53, 0x54, + 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, + 0x10, 0xbb, 0x4e, 0x12, 0x3c, 0x0a, 0x37, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x47, 0x45, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x52, 0x45, + 0x57, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xbd, + 0x4e, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53, + 0x45, 0x44, 0x10, 0xbe, 0x4e, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x44, + 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xbf, 0x4e, + 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc0, 0x4e, 0x12, 0x2b, 0x0a, + 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, + 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x53, 0x50, 0x52, 0x49, 0x4e, 0x54, 0x5f, 0x49, 0x53, + 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x10, 0xc1, 0x4e, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, + 0x49, 0x4b, 0x45, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x5f, + 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, + 0x45, 0x44, 0x10, 0xc2, 0x4e, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x4c, 0x49, 0x4b, 0x45, 0x5f, 0x41, + 0x4c, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x44, 0x49, 0x45, 0x5f, 0x43, 0x41, + 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4d, 0x45, 0x10, 0xc3, 0x4e, 0x12, 0x2f, + 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, + 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x5f, 0x53, 0x45, 0x45, 0x44, 0x10, 0xc8, 0x4e, 0x12, + 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, + 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x46, 0x52, 0x49, 0x45, + 0x4e, 0x44, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc9, 0x4e, 0x12, 0x38, 0x0a, 0x33, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x4f, + 0x57, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x47, 0x49, 0x56, 0x45, 0x5f, 0x46, 0x4c, 0x4f, + 0x57, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xca, + 0x4e, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x57, 0x49, + 0x53, 0x48, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x53, 0x5f, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xcb, 0x4e, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, + 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xcc, 0x4e, 0x12, 0x38, + 0x0a, 0x33, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4c, + 0x41, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x45, + 0x52, 0x5f, 0x43, 0x4f, 0x4d, 0x42, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xcd, 0x4e, 0x12, 0x28, 0x0a, 0x23, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x48, 0x41, 0x43, 0x48, 0x49, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, + 0xc4, 0x4e, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x48, 0x41, 0x43, 0x48, 0x49, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xc5, + 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x48, 0x41, 0x43, 0x48, 0x49, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x54, + 0x45, 0x41, 0x4d, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, + 0x10, 0xc6, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, + 0x10, 0xd7, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, + 0x10, 0xd8, 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0xd9, 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, + 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, + 0x49, 0x4d, 0x49, 0x54, 0x10, 0xda, 0x4e, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, + 0x4d, 0x50, 0x5f, 0x57, 0x49, 0x53, 0x48, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x10, 0xdb, 0x4e, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x56, 0x5f, + 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0xdc, 0x4e, 0x12, 0x37, 0x0a, 0x32, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x49, + 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, + 0x4f, 0x57, 0x10, 0xdd, 0x4e, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, + 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x44, 0x41, 0x54, + 0x41, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xde, 0x4e, 0x12, 0x2c, 0x0a, 0x27, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4c, 0x49, 0x53, + 0x54, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0xdf, 0x4e, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x10, 0xe0, 0x4e, 0x12, 0x2d, 0x0a, + 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xe1, 0x4e, 0x12, 0x2b, 0x0a, 0x26, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4d, 0x50, 0x5f, 0x47, 0x41, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0xe2, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, + 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xea, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, + 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xeb, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, + 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xec, 0x4e, 0x12, 0x31, 0x0a, 0x2c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, + 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xed, 0x4e, 0x12, + 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, + 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, + 0x5f, 0x42, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0xee, 0x4e, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0xef, 0x4e, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, + 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, + 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0xf0, 0x4e, 0x12, 0x36, + 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, + 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, + 0x41, 0x52, 0x54, 0x10, 0xf1, 0x4e, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, + 0x54, 0x45, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, + 0x50, 0x45, 0x4e, 0x10, 0xf2, 0x4e, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, + 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x54, 0x41, 0x4b, 0x45, 0x4e, 0x5f, 0x53, 0x4b, 0x49, + 0x4e, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x10, 0xf3, 0x4e, 0x12, 0x38, 0x0a, 0x33, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, + 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x49, 0x4e, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x5f, 0x53, 0x4b, 0x49, 0x4e, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x45, + 0x52, 0x53, 0x10, 0xf4, 0x4e, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, + 0x45, 0x5f, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0xf5, 0x4e, 0x12, 0x3b, 0x0a, + 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, + 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, + 0x52, 0x4b, 0x53, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0xf6, 0x4e, 0x12, 0x3a, 0x0a, 0x35, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, + 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x53, + 0x5f, 0x52, 0x45, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0xf7, 0x4e, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, + 0x54, 0x45, 0x5f, 0x46, 0x49, 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x5f, 0x52, 0x45, 0x46, + 0x4f, 0x52, 0x4d, 0x5f, 0x53, 0x4b, 0x49, 0x4c, 0x4c, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xf8, + 0x4e, 0x12, 0x41, 0x0a, 0x3c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x4c, 0x41, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x5f, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x46, 0x49, + 0x52, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x5f, 0x52, 0x45, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x53, + 0x54, 0x41, 0x4d, 0x49, 0x4e, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, + 0x48, 0x10, 0xf9, 0x4e, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, + 0x45, 0x4e, 0x10, 0xfe, 0x4e, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, + 0x50, 0x41, 0x53, 0x53, 0x10, 0xff, 0x4e, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, + 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x10, 0x80, 0x4f, 0x12, 0x2d, 0x0a, 0x28, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0x81, 0x4f, 0x12, 0x2b, 0x0a, 0x26, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x5f, + 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0x82, 0x4f, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, + 0x50, 0x4f, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4c, + 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x88, 0x4f, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, + 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x54, 0x48, 0x45, 0x4d, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x89, 0x4f, 0x12, 0x37, 0x0a, 0x32, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, + 0x52, 0x49, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x47, 0x45, + 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 0x4e, 0x53, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x10, 0x8a, 0x4f, 0x12, 0x37, 0x0a, 0x32, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x50, 0x4f, 0x45, 0x54, + 0x52, 0x59, 0x5f, 0x49, 0x4e, 0x53, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, + 0x45, 0x41, 0x43, 0x48, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x45, 0x10, 0x8b, 0x4f, 0x12, 0x36, 0x0a, + 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, + 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x4e, + 0x45, 0x44, 0x10, 0x8c, 0x4f, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x41, + 0x4e, 0x4e, 0x45, 0x52, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x43, 0x4c, 0x45, + 0x41, 0x52, 0x45, 0x44, 0x10, 0xbc, 0x50, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, + 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xbd, 0x50, + 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x45, + 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xbe, 0x50, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, + 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4d, 0x41, 0x50, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0xbf, 0x50, 0x12, 0x37, 0x0a, 0x32, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, + 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x43, 0x41, + 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, + 0x45, 0x44, 0x10, 0xc0, 0x50, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, + 0x53, 0x53, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc1, 0x50, 0x12, 0x33, 0x0a, + 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x49, 0x52, 0x4f, + 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, 0x4d, 0x41, 0x50, 0x5f, 0x43, + 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x49, 0x50, 0x45, 0x44, 0x10, + 0xc2, 0x50, 0x12, 0x3b, 0x0a, 0x36, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x49, 0x52, 0x4f, 0x44, 0x4f, 0x52, 0x49, 0x5f, 0x43, 0x48, 0x45, 0x53, 0x53, 0x5f, + 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x43, 0x41, 0x52, 0x44, 0x5f, + 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc3, 0x50, 0x12, + 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x5f, 0x48, + 0x41, 0x56, 0x45, 0x5f, 0x47, 0x49, 0x46, 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xc6, + 0x50, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, + 0x48, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0xcb, 0x50, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x47, 0x41, 0x43, 0x48, 0x41, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, + 0x54, 0x59, 0x5f, 0x48, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x10, 0xcc, 0x50, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, + 0x45, 0x5f, 0x56, 0x32, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xcd, 0x50, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, + 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x56, 0x32, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xce, 0x50, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, + 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x56, 0x32, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, + 0xcf, 0x50, 0x12, 0x39, 0x0a, 0x34, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x56, 0x32, + 0x5f, 0x50, 0x52, 0x45, 0x56, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0xd0, 0x50, 0x12, 0x29, 0x0a, + 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, + 0x55, 0x45, 0x5f, 0x44, 0x49, 0x41, 0x52, 0x59, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, + 0x44, 0x45, 0x41, 0x54, 0x48, 0x10, 0xee, 0x50, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, 0x49, + 0x41, 0x52, 0x59, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x54, 0x49, 0x52, 0x45, 0x44, + 0x10, 0xef, 0x50, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x41, 0x52, 0x59, 0x5f, 0x41, + 0x56, 0x41, 0x54, 0x41, 0x52, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, + 0x10, 0xf0, 0x50, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x41, 0x52, 0x59, 0x5f, 0x43, + 0x4f, 0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf1, + 0x50, 0x12, 0x36, 0x0a, 0x31, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x41, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x52, + 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xf2, 0x50, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, + 0x49, 0x41, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x52, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x49, + 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xf3, 0x50, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x41, 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, + 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0xfe, 0x50, 0x12, 0x33, 0x0a, 0x2e, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x56, + 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x4e, 0x4f, 0x43, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x49, + 0x4e, 0x5f, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x8c, + 0x51, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x47, 0x52, 0x41, 0x56, 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x4e, 0x4f, 0x43, 0x45, 0x4e, 0x43, + 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, + 0x55, 0x47, 0x48, 0x10, 0x8d, 0x51, 0x12, 0x35, 0x0a, 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x56, 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x4e, + 0x4f, 0x43, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x8e, 0x51, 0x12, 0x35, 0x0a, + 0x30, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x47, 0x52, 0x41, + 0x56, 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x4e, 0x4f, 0x43, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, + 0x49, 0x4e, 0x5f, 0x42, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, + 0x54, 0x10, 0x8f, 0x51, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x49, 0x53, 0x4c, 0x41, 0x4e, 0x44, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x59, + 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, + 0x83, 0x51, 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x49, 0x4e, 0x47, + 0x10, 0xf9, 0x55, 0x12, 0x21, 0x0a, 0x1c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0xfa, 0x55, 0x12, 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x41, 0x49, 0x54, 0x5f, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0xfb, 0x55, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x49, 0x4e, 0x47, 0x5f, + 0x4d, 0x41, 0x58, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0xfc, 0x55, 0x12, + 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, + 0x49, 0x53, 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x42, 0x41, 0x54, + 0x10, 0xfd, 0x55, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, + 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x53, 0x48, 0x4f, 0x52, 0x54, 0x10, 0xfe, 0x55, 0x12, 0x1f, + 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x46, 0x49, + 0x53, 0x48, 0x5f, 0x47, 0x4f, 0x4e, 0x45, 0x5f, 0x41, 0x57, 0x41, 0x59, 0x10, 0xff, 0x55, 0x12, + 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, + 0x52, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x10, 0xab, 0x56, 0x12, 0x28, 0x0a, 0x23, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, + 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x10, 0xac, 0x56, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0xad, 0x56, 0x12, + 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x42, + 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, + 0x45, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xae, 0x56, 0x12, 0x2f, 0x0a, 0x2a, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, + 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x43, + 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xaf, 0x56, 0x12, 0x2d, 0x0a, 0x28, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, + 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x5f, + 0x4d, 0x41, 0x59, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0xb0, 0x56, 0x12, 0x26, 0x0a, 0x21, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, + 0x4e, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x10, 0xb1, 0x56, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0xb2, 0x56, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x54, 0x52, 0x59, 0x10, 0xb3, 0x56, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0xb4, 0x56, 0x12, 0x2c, + 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, + 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x5f, + 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0xb5, 0x56, 0x12, 0x31, 0x0a, 0x2c, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, + 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x5f, + 0x54, 0x4f, 0x4f, 0x5f, 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x54, 0x10, 0xb6, 0x56, 0x12, + 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, + 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x10, 0xb7, 0x56, 0x12, 0x29, + 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, + 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4c, 0x41, 0x43, + 0x4b, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x10, 0xb8, 0x56, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, + 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, + 0x48, 0x5f, 0x42, 0x52, 0x49, 0x43, 0x4b, 0x10, 0xb9, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, + 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x46, + 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0xba, 0x56, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, + 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, + 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x10, 0xbb, 0x56, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x45, + 0x10, 0xbc, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x10, 0xbd, + 0x56, 0x12, 0x32, 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, + 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x53, 0x45, + 0x4c, 0x46, 0x10, 0xbe, 0x56, 0x12, 0x2d, 0x0a, 0x28, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, + 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x5f, 0x53, 0x55, 0x43, + 0x43, 0x10, 0xbf, 0x56, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x49, 0x4b, 0x45, 0x5f, + 0x53, 0x45, 0x4c, 0x46, 0x10, 0xc0, 0x56, 0x12, 0x29, 0x0a, 0x24, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, + 0xc1, 0x56, 0x12, 0x2f, 0x0a, 0x2a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, + 0x10, 0xc2, 0x56, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, + 0x4e, 0x5f, 0x4e, 0x4f, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x5f, 0x53, 0x45, 0x54, 0x54, + 0x49, 0x4e, 0x47, 0x10, 0xc3, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, + 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x48, 0x49, 0x4e, + 0x47, 0x10, 0xc4, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, + 0xc5, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x49, 0x43, 0x49, 0x41, 0x4c, 0x10, 0xc6, 0x56, + 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4c, + 0x49, 0x46, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xc7, 0x56, + 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, + 0x4f, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0xc8, 0x56, 0x12, 0x32, + 0x0a, 0x2d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, + 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x42, 0x52, 0x49, + 0x43, 0x4b, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, + 0xc9, 0x56, 0x12, 0x33, 0x0a, 0x2e, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x4f, 0x46, 0x46, 0x49, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x4e, + 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0xca, 0x56, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x44, 0x49, 0x54, 0x5f, 0x4f, 0x46, 0x46, 0x49, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x45, 0x54, + 0x54, 0x49, 0x4e, 0x47, 0x10, 0xcb, 0x56, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, + 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x42, 0x41, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x10, 0xcc, 0x56, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, + 0x59, 0x10, 0xcd, 0x56, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, + 0x50, 0x10, 0xce, 0x56, 0x12, 0x2c, 0x0a, 0x27, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, + 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4e, 0x55, 0x4d, 0x10, + 0xcf, 0x56, 0x12, 0x31, 0x0a, 0x2c, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, + 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x53, 0x54, 0x55, + 0x43, 0x4b, 0x10, 0xd0, 0x56, 0x12, 0x27, 0x0a, 0x22, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, + 0x45, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x54, 0x41, 0x47, 0x10, 0xd1, 0x56, 0x12, 0x2b, + 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, + 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, + 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x54, 0x41, 0x47, 0x10, 0xd2, 0x56, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, + 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, + 0x53, 0x54, 0x10, 0xd3, 0x56, 0x12, 0x34, 0x0a, 0x2f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, + 0x45, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, + 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x54, 0x10, 0xd4, 0x56, 0x12, 0x28, 0x0a, 0x23, 0x52, + 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, + 0x4d, 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, + 0x45, 0x4e, 0x10, 0xd5, 0x56, 0x12, 0x22, 0x0a, 0x1d, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x43, 0x44, 0x5f, 0x49, 0x44, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xdd, 0x56, 0x12, 0x25, 0x0a, 0x20, 0x52, 0x45, 0x54, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x43, + 0x44, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0xde, 0x56, + 0x12, 0x1f, 0x0a, 0x1a, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x43, 0x44, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x44, 0x10, 0xdf, + 0x56, 0x12, 0x2a, 0x0a, 0x25, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x43, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x10, 0xe0, 0x56, 0x12, 0x1d, 0x0a, + 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x47, 0x43, + 0x5f, 0x44, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x8f, 0x57, 0x12, 0x23, 0x0a, 0x1e, + 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x47, 0x43, 0x5f, + 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x90, + 0x57, 0x12, 0x24, 0x0a, 0x1f, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x55, 0x47, 0x43, 0x5f, 0x42, 0x52, 0x49, 0x45, 0x46, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, + 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x91, 0x57, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, + 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x47, 0x43, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, + 0x4c, 0x45, 0x44, 0x10, 0x92, 0x57, 0x12, 0x1c, 0x0a, 0x17, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, 0x47, 0x43, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, + 0x44, 0x10, 0x93, 0x57, 0x12, 0x1b, 0x0a, 0x16, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x52, 0x45, 0x54, 0x5f, 0x55, 0x47, 0x43, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x94, + 0x57, 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x55, 0x47, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x95, 0x57, + 0x12, 0x1d, 0x0a, 0x18, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, + 0x55, 0x47, 0x43, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x96, 0x57, 0x12, + 0x20, 0x0a, 0x1b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x5f, 0x55, + 0x47, 0x43, 0x5f, 0x42, 0x41, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x97, + 0x57, 0x12, 0x2e, 0x0a, 0x29, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x42, 0x4f, 0x4f, 0x53, 0x54, 0x5f, + 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0xc1, + 0x57, 0x12, 0x30, 0x0a, 0x2b, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x54, + 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x42, 0x4f, 0x4f, 0x53, 0x54, 0x5f, + 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, + 0x10, 0xc2, 0x57, 0x12, 0x2b, 0x0a, 0x26, 0x52, 0x45, 0x54, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x4b, 0x5f, 0x48, 0x49, 0x54, 0x5f, 0x54, 0x52, 0x45, + 0x45, 0x5f, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x5f, 0x54, 0x52, 0x45, 0x45, 0x53, 0x10, 0xcb, 0x57, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Retcode_proto_rawDescOnce sync.Once + file_Retcode_proto_rawDescData = file_Retcode_proto_rawDesc +) + +func file_Retcode_proto_rawDescGZIP() []byte { + file_Retcode_proto_rawDescOnce.Do(func() { + file_Retcode_proto_rawDescData = protoimpl.X.CompressGZIP(file_Retcode_proto_rawDescData) + }) + return file_Retcode_proto_rawDescData +} + +var file_Retcode_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Retcode_proto_goTypes = []interface{}{ + (Retcode)(0), // 0: Retcode +} +var file_Retcode_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Retcode_proto_init() } +func file_Retcode_proto_init() { + if File_Retcode_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Retcode_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Retcode_proto_goTypes, + DependencyIndexes: file_Retcode_proto_depIdxs, + EnumInfos: file_Retcode_proto_enumTypes, + }.Build() + File_Retcode_proto = out.File + file_Retcode_proto_rawDesc = nil + file_Retcode_proto_goTypes = nil + file_Retcode_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Retcode.proto b/gate-hk4e-api/proto/Retcode.proto new file mode 100644 index 00000000..54486b74 --- /dev/null +++ b/gate-hk4e-api/proto/Retcode.proto @@ -0,0 +1,1042 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Retcode { + RETCODE_RET_SUCC = 0; + RETCODE_RET_FAIL = -1; + RETCODE_RET_SVR_ERROR = 1; + RETCODE_RET_UNKNOWN_ERROR = 2; + RETCODE_RET_FREQUENT = 3; + RETCODE_RET_NODE_FORWARD_ERROR = 4; + RETCODE_RET_NOT_FOUND_CONFIG = 5; + RETCODE_RET_SYSTEM_BUSY = 6; + RETCODE_RET_GM_UID_BIND = 7; + RETCODE_RET_FORBIDDEN = 8; + RETCODE_RET_STOP_REGISTER = 10; + RETCODE_RET_STOP_SERVER = 11; + RETCODE_RET_ACCOUNT_VEIRFY_ERROR = 12; + RETCODE_RET_ACCOUNT_FREEZE = 13; + RETCODE_RET_REPEAT_LOGIN = 14; + RETCODE_RET_CLIENT_VERSION_ERROR = 15; + RETCODE_RET_TOKEN_ERROR = 16; + RETCODE_RET_ACCOUNT_NOT_EXIST = 17; + RETCODE_RET_WAIT_OTHER_LOGIN = 18; + RETCODE_RET_ANOTHER_LOGIN = 19; + RETCODE_RET_CLIENT_FORCE_UPDATE = 20; + RETCODE_RET_BLACK_UID = 21; + RETCODE_RET_LOGIN_DB_FAIL = 22; + RETCODE_RET_LOGIN_INIT_FAIL = 23; + RETCODE_RET_MYSQL_DUPLICATE = 24; + RETCODE_RET_MAX_PLAYER = 25; + RETCODE_RET_ANTI_ADDICT = 26; + RETCODE_RET_PS_PLAYER_WITHOUT_ONLINE_ID = 27; + RETCODE_RET_ONLINE_ID_NOT_FOUND = 28; + RETCODE_RET_ONLNE_ID_NOT_MATCH = 29; + RETCODE_RET_REGISTER_IS_FULL = 30; + RETCODE_RET_CHECKSUM_INVALID = 31; + RETCODE_RET_BLACK_REGISTER_IP = 32; + RETCODE_RET_EXCEED_REGISTER_RATE = 33; + RETCODE_RET_UNKNOWN_PLATFORM = 34; + RETCODE_RET_TOKEN_PARAM_ERROR = 35; + RETCODE_RET_ANTI_OFFLINE_ERROR = 36; + RETCODE_RET_BLACK_LOGIN_IP = 37; + RETCODE_RET_GET_TOKEN_SESSION_HAS_UID = 38; + RETCODE_RET_ENVIRONMENT_ERROR = 39; + RETCODE_RET_CHECK_CLIENT_VERSION_HASH_FAIL = 40; + RETCODE_RET_MINOR_REGISTER_FOBIDDEN = 41; + RETCODE_RET_SECURITY_LIBRARY_ERROR = 42; + RETCODE_RET_AVATAR_IN_CD = 101; + RETCODE_RET_AVATAR_NOT_ALIVE = 102; + RETCODE_RET_AVATAR_NOT_ON_SCENE = 103; + RETCODE_RET_CAN_NOT_FIND_AVATAR = 104; + RETCODE_RET_CAN_NOT_DEL_CUR_AVATAR = 105; + RETCODE_RET_DUPLICATE_AVATAR = 106; + RETCODE_RET_AVATAR_IS_SAME_ONE = 107; + RETCODE_RET_AVATAR_LEVEL_LESS_THAN = 108; + RETCODE_RET_AVATAR_CAN_NOT_CHANGE_ELEMENT = 109; + RETCODE_RET_AVATAR_BREAK_LEVEL_LESS_THAN = 110; + RETCODE_RET_AVATAR_ON_MAX_BREAK_LEVEL = 111; + RETCODE_RET_AVATAR_ID_ALREADY_EXIST = 112; + RETCODE_RET_AVATAR_NOT_DEAD = 113; + RETCODE_RET_AVATAR_IS_REVIVING = 114; + RETCODE_RET_AVATAR_ID_ERROR = 115; + RETCODE_RET_REPEAT_SET_PLAYER_BORN_DATA = 116; + RETCODE_RET_PLAYER_LEVEL_LESS_THAN = 117; + RETCODE_RET_AVATAR_LIMIT_LEVEL_ERROR = 118; + RETCODE_RET_CUR_AVATAR_NOT_ALIVE = 119; + RETCODE_RET_CAN_NOT_FIND_TEAM = 120; + RETCODE_RET_CAN_NOT_FIND_CUR_TEAM = 121; + RETCODE_RET_AVATAR_NOT_EXIST_IN_TEAM = 122; + RETCODE_RET_CAN_NOT_REMOVE_CUR_AVATAR_FROM_TEAM = 123; + RETCODE_RET_CAN_NOT_USE_REVIVE_ITEM_FOR_CUR_AVATAR = 124; + RETCODE_RET_TEAM_COST_EXCEED_LIMIT = 125; + RETCODE_RET_TEAM_AVATAR_IN_EXPEDITION = 126; + RETCODE_RET_TEAM_CAN_NOT_CHOSE_REPLACE_USE = 127; + RETCODE_RET_AVATAR_IN_COMBAT = 128; + RETCODE_RET_NICKNAME_UTF8_ERROR = 130; + RETCODE_RET_NICKNAME_TOO_LONG = 131; + RETCODE_RET_NICKNAME_WORD_ILLEGAL = 132; + RETCODE_RET_NICKNAME_TOO_MANY_DIGITS = 133; + RETCODE_RET_NICKNAME_IS_EMPTY = 134; + RETCODE_RET_NICKNAME_MONTHLY_LIMIT = 135; + RETCODE_RET_NICKNAME_NOT_CHANGED = 136; + RETCODE_RET_PLAYER_NOT_ONLINE = 140; + RETCODE_RET_OPEN_STATE_NOT_OPEN = 141; + RETCODE_RET_FEATURE_CLOSED = 142; + RETCODE_RET_AVATAR_EXPEDITION_AVATAR_DIE = 152; + RETCODE_RET_AVATAR_EXPEDITION_COUNT_LIMIT = 153; + RETCODE_RET_AVATAR_EXPEDITION_MAIN_FORBID = 154; + RETCODE_RET_AVATAR_EXPEDITION_TRIAL_FORBID = 155; + RETCODE_RET_TEAM_NAME_ILLEGAL = 156; + RETCODE_RET_IS_NOT_IN_STANDBY = 157; + RETCODE_RET_IS_IN_DUNGEON = 158; + RETCODE_RET_IS_IN_LOCK_AVATAR_QUEST = 159; + RETCODE_RET_IS_USING_TRIAL_AVATAR = 160; + RETCODE_RET_IS_USING_TEMP_AVATAR = 161; + RETCODE_RET_NOT_HAS_FLYCLOAK = 162; + RETCODE_RET_FETTER_REWARD_ALREADY_GOT = 163; + RETCODE_RET_FETTER_REWARD_LEVEL_NOT_ENOUGH = 164; + RETCODE_RET_WORLD_LEVEL_ADJUST_MIN_LEVEL = 165; + RETCODE_RET_WORLD_LEVEL_ADJUST_CD = 166; + RETCODE_RET_NOT_HAS_COSTUME = 167; + RETCODE_RET_COSTUME_AVATAR_ERROR = 168; + RETCODE_RET_FLYCLOAK_PLATFORM_TYPE_ERR = 169; + RETCODE_RET_IN_TRANSFER = 170; + RETCODE_RET_IS_IN_LOCK_AVATAR = 171; + RETCODE_RET_FULL_BACKUP_TEAM = 172; + RETCODE_RET_BACKUP_TEAM_ID_NOT_VALID = 173; + RETCODE_RET_BACKUP_TEAM_IS_CUR_TEAM = 174; + RETCODE_RET_FLOAT_ERROR = 201; + RETCODE_RET_NPC_NOT_EXIST = 301; + RETCODE_RET_NPC_TOO_FAR = 302; + RETCODE_RET_NOT_CURRENT_TALK = 303; + RETCODE_RET_NPC_CREATE_FAIL = 304; + RETCODE_RET_NPC_MOVE_FAIL = 305; + RETCODE_RET_QUEST_NOT_EXIST = 401; + RETCODE_RET_QUEST_IS_FAIL = 402; + RETCODE_RET_QUEST_CONTENT_ERROR = 403; + RETCODE_RET_BARGAIN_NOT_ACTIVATED = 404; + RETCODE_RET_BARGAIN_FINISHED = 405; + RETCODE_RET_INFERENCE_ASSOCIATE_WORD_ERROR = 406; + RETCODE_RET_INFERENCE_SUBMIT_WORD_NO_CONCLUSION = 407; + RETCODE_RET_POINT_NOT_UNLOCKED = 501; + RETCODE_RET_POINT_TOO_FAR = 502; + RETCODE_RET_POINT_ALREAY_UNLOCKED = 503; + RETCODE_RET_ENTITY_NOT_EXIST = 504; + RETCODE_RET_ENTER_SCENE_FAIL = 505; + RETCODE_RET_PLAYER_IS_ENTER_SCENE = 506; + RETCODE_RET_CITY_MAX_LEVEL = 507; + RETCODE_RET_AREA_LOCKED = 508; + RETCODE_RET_JOIN_OTHER_WAIT = 509; + RETCODE_RET_WEATHER_AREA_NOT_FOUND = 510; + RETCODE_RET_WEATHER_IS_LOCKED = 511; + RETCODE_RET_NOT_IN_SELF_SCENE = 512; + RETCODE_RET_GROUP_NOT_EXIST = 513; + RETCODE_RET_MARK_NAME_ILLEGAL = 514; + RETCODE_RET_MARK_ALREADY_EXISTS = 515; + RETCODE_RET_MARK_OVERFLOW = 516; + RETCODE_RET_MARK_NOT_EXISTS = 517; + RETCODE_RET_MARK_UNKNOWN_TYPE = 518; + RETCODE_RET_MARK_NAME_TOO_LONG = 519; + RETCODE_RET_DISTANCE_LONG = 520; + RETCODE_RET_ENTER_SCENE_TOKEN_INVALID = 521; + RETCODE_RET_NOT_IN_WORLD_SCENE = 522; + RETCODE_RET_ANY_GALLERY_STARTED = 523; + RETCODE_RET_GALLERY_NOT_START = 524; + RETCODE_RET_GALLERY_INTERRUPT_ONLY_ON_SINGLE_MODE = 525; + RETCODE_RET_GALLERY_CANNOT_INTERRUPT = 526; + RETCODE_RET_GALLERY_WORLD_NOT_MEET = 527; + RETCODE_RET_GALLERY_SCENE_NOT_MEET = 528; + RETCODE_RET_CUR_PLAY_CANNOT_TRANSFER = 529; + RETCODE_RET_CANT_USE_WIDGET_IN_HOME_SCENE = 530; + RETCODE_RET_SCENE_GROUP_NOT_MATCH = 531; + RETCODE_RET_POS_ROT_INVALID = 551; + RETCODE_RET_MARK_INVALID_SCENE_ID = 552; + RETCODE_RET_INVALID_SCENE_TO_USE_ANCHOR_POINT = 553; + RETCODE_RET_ENTER_HOME_SCENE_FAIL = 554; + RETCODE_RET_CUR_SCENE_IS_NULL = 555; + RETCODE_RET_GROUP_ID_ERROR = 556; + RETCODE_RET_GALLERY_INTERRUPT_NOT_OWNER = 557; + RETCODE_RET_NO_SPRING_IN_AREA = 558; + RETCODE_RET_AREA_NOT_IN_SCENE = 559; + RETCODE_RET_INVALID_CITY_ID = 560; + RETCODE_RET_INVALID_SCENE_ID = 561; + RETCODE_RET_DEST_SCENE_IS_NOT_ALLOW = 562; + RETCODE_RET_LEVEL_TAG_SWITCH_IN_CD = 563; + RETCODE_RET_LEVEL_TAG_ALREADY_EXIST = 564; + RETCODE_RET_INVALID_AREA_ID = 565; + RETCODE_RET_ITEM_NOT_EXIST = 601; + RETCODE_RET_PACK_EXCEED_MAX_WEIGHT = 602; + RETCODE_RET_ITEM_NOT_DROPABLE = 603; + RETCODE_RET_ITEM_NOT_USABLE = 604; + RETCODE_RET_ITEM_INVALID_USE_COUNT = 605; + RETCODE_RET_ITEM_INVALID_DROP_COUNT = 606; + RETCODE_RET_ITEM_ALREADY_EXIST = 607; + RETCODE_RET_ITEM_IN_COOLDOWN = 608; + RETCODE_RET_ITEM_COUNT_NOT_ENOUGH = 609; + RETCODE_RET_ITEM_INVALID_TARGET = 610; + RETCODE_RET_RECIPE_NOT_EXIST = 611; + RETCODE_RET_RECIPE_LOCKED = 612; + RETCODE_RET_RECIPE_UNLOCKED = 613; + RETCODE_RET_COMPOUND_QUEUE_FULL = 614; + RETCODE_RET_COMPOUND_NOT_FINISH = 615; + RETCODE_RET_MAIL_ITEM_NOT_GET = 616; + RETCODE_RET_ITEM_EXCEED_LIMIT = 617; + RETCODE_RET_AVATAR_CAN_NOT_USE = 618; + RETCODE_RET_ITEM_NEED_PLAYER_LEVEL = 619; + RETCODE_RET_RECIPE_NOT_AUTO_QTE = 620; + RETCODE_RET_COMPOUND_BUSY_QUEUE = 621; + RETCODE_RET_NEED_MORE_SCOIN = 622; + RETCODE_RET_SKILL_DEPOT_NOT_FOUND = 623; + RETCODE_RET_HCOIN_NOT_ENOUGH = 624; + RETCODE_RET_SCOIN_NOT_ENOUGH = 625; + RETCODE_RET_HCOIN_EXCEED_LIMIT = 626; + RETCODE_RET_SCOIN_EXCEED_LIMIT = 627; + RETCODE_RET_MAIL_EXPIRED = 628; + RETCODE_RET_REWARD_HAS_TAKEN = 629; + RETCODE_RET_COMBINE_COUNT_TOO_LARGE = 630; + RETCODE_RET_GIVING_ITEM_WRONG = 631; + RETCODE_RET_GIVING_IS_FINISHED = 632; + RETCODE_RET_GIVING_NOT_ACTIVED = 633; + RETCODE_RET_FORGE_QUEUE_FULL = 634; + RETCODE_RET_FORGE_QUEUE_CAPACITY = 635; + RETCODE_RET_FORGE_QUEUE_NOT_FOUND = 636; + RETCODE_RET_FORGE_QUEUE_EMPTY = 637; + RETCODE_RET_NOT_SUPPORT_ITEM = 638; + RETCODE_RET_ITEM_EMPTY = 639; + RETCODE_RET_VIRTUAL_EXCEED_LIMIT = 640; + RETCODE_RET_MATERIAL_EXCEED_LIMIT = 641; + RETCODE_RET_EQUIP_EXCEED_LIMIT = 642; + RETCODE_RET_ITEM_SHOULD_HAVE_NO_LEVEL = 643; + RETCODE_RET_WEAPON_PROMOTE_LEVEL_EXCEED_LIMIT = 644; + RETCODE_RET_WEAPON_LEVEL_INVALID = 645; + RETCODE_RET_UNKNOW_ITEM_TYPE = 646; + RETCODE_RET_ITEM_COUNT_IS_ZERO = 647; + RETCODE_RET_ITEM_IS_EXPIRED = 648; + RETCODE_RET_ITEM_EXCEED_OUTPUT_LIMIT = 649; + RETCODE_RET_EQUIP_LEVEL_HIGHER = 650; + RETCODE_RET_EQUIP_CAN_NOT_WAKE_OFF_WEAPON = 651; + RETCODE_RET_EQUIP_HAS_BEEN_WEARED = 652; + RETCODE_RET_EQUIP_WEARED_CANNOT_DROP = 653; + RETCODE_RET_AWAKEN_LEVEL_MAX = 654; + RETCODE_RET_MCOIN_NOT_ENOUGH = 655; + RETCODE_RET_MCOIN_EXCEED_LIMIT = 656; + RETCODE_RET_RESIN_NOT_ENOUGH = 660; + RETCODE_RET_RESIN_EXCEED_LIMIT = 661; + RETCODE_RET_RESIN_OPENSTATE_OFF = 662; + RETCODE_RET_RESIN_BOUGHT_COUNT_EXCEEDED = 663; + RETCODE_RET_RESIN_CARD_DAILY_REWARD_HAS_TAKEN = 664; + RETCODE_RET_RESIN_CARD_EXPIRED = 665; + RETCODE_RET_AVATAR_CAN_NOT_COOK = 666; + RETCODE_RET_ATTACH_AVATAR_CD = 667; + RETCODE_RET_AUTO_RECOVER_OPENSTATE_OFF = 668; + RETCODE_RET_AUTO_RECOVER_BOUGHT_COUNT_EXCEEDED = 669; + RETCODE_RET_RESIN_GAIN_FAILED = 670; + RETCODE_RET_WIDGET_ORNAMENTS_TYPE_ERROR = 671; + RETCODE_RET_ALL_TARGET_SATIATION_FULL = 672; + RETCODE_RET_FORGE_WORLD_LEVEL_NOT_MATCH = 673; + RETCODE_RET_FORGE_POINT_NOT_ENOUGH = 674; + RETCODE_RET_WIDGET_ANCHOR_POINT_FULL = 675; + RETCODE_RET_WIDGET_ANCHOR_POINT_NOT_FOUND = 676; + RETCODE_RET_ALL_BONFIRE_EXCEED_MAX_COUNT = 677; + RETCODE_RET_BONFIRE_EXCEED_MAX_COUNT = 678; + RETCODE_RET_LUNCH_BOX_DATA_ERROR = 679; + RETCODE_RET_INVALID_QUICK_USE_WIDGET = 680; + RETCODE_RET_INVALID_REPLACE_RESIN_COUNT = 681; + RETCODE_RET_PREV_DETECTED_GATHER_NOT_FOUND = 682; + RETCODE_RET_GOT_ALL_ONEOFF_GAHTER = 683; + RETCODE_RET_INVALID_WIDGET_MATERIAL_ID = 684; + RETCODE_RET_WIDGET_DETECTOR_NO_HINT_TO_CLEAR = 685; + RETCODE_RET_WIDGET_ALREADY_WITHIN_NEARBY_RADIUS = 686; + RETCODE_RET_WIDGET_CLIENT_COLLECTOR_NEED_POINTS = 687; + RETCODE_RET_WIDGET_IN_COMBAT = 688; + RETCODE_RET_WIDGET_NOT_SET_QUICK_USE = 689; + RETCODE_RET_ALREADY_ATTACH_WIDGET = 690; + RETCODE_RET_EQUIP_IS_LOCKED = 691; + RETCODE_RET_FORGE_IS_LOCKED = 692; + RETCODE_RET_COMBINE_IS_LOCKED = 693; + RETCODE_RET_FORGE_OUTPUT_STACK_LIMIT = 694; + RETCODE_RET_ALREADY_DETTACH_WIDGET = 695; + RETCODE_RET_GADGET_BUILDER_EXCEED_MAX_COUNT = 696; + RETCODE_RET_REUNION_PRIVILEGE_RESIN_TYPE_IS_NORMAL = 697; + RETCODE_RET_BONUS_COUNT_EXCEED_DOUBLE_LIMIT = 698; + RETCODE_RET_RELIQUARY_DECOMPOSE_PARAM_ERROR = 699; + RETCODE_RET_ITEM_COMBINE_COUNT_NOT_ENOUGH = 700; + RETCODE_RET_GOODS_NOT_EXIST = 701; + RETCODE_RET_GOODS_MATERIAL_NOT_ENOUGH = 702; + RETCODE_RET_GOODS_NOT_IN_TIME = 703; + RETCODE_RET_GOODS_BUY_NUM_NOT_ENOUGH = 704; + RETCODE_RET_GOODS_BUY_NUM_ERROR = 705; + RETCODE_RET_SHOP_NOT_OPEN = 706; + RETCODE_RET_SHOP_CONTENT_NOT_MATCH = 707; + RETCODE_RET_CHAT_FORBIDDEN = 798; + RETCODE_RET_CHAT_CD = 799; + RETCODE_RET_CHAT_FREQUENTLY = 800; + RETCODE_RET_GADGET_NOT_EXIST = 801; + RETCODE_RET_GADGET_NOT_INTERACTIVE = 802; + RETCODE_RET_GADGET_NOT_GATHERABLE = 803; + RETCODE_RET_CHEST_IS_LOCKED = 804; + RETCODE_RET_GADGET_CREATE_FAIL = 805; + RETCODE_RET_WORKTOP_OPTION_NOT_EXIST = 806; + RETCODE_RET_GADGET_STATUE_NOT_ACTIVE = 807; + RETCODE_RET_GADGET_STATUE_OPENED = 808; + RETCODE_RET_BOSS_CHEST_NO_QUALIFICATION = 809; + RETCODE_RET_BOSS_CHEST_LIFE_TIME_OVER = 810; + RETCODE_RET_BOSS_CHEST_WEEK_NUM_LIMIT = 811; + RETCODE_RET_BOSS_CHEST_GUEST_WORLD_LEVEL = 812; + RETCODE_RET_BOSS_CHEST_HAS_TAKEN = 813; + RETCODE_RET_BLOSSOM_CHEST_NO_QUALIFICATION = 814; + RETCODE_RET_BLOSSOM_CHEST_LIFE_TIME_OVER = 815; + RETCODE_RET_BLOSSOM_CHEST_HAS_TAKEN = 816; + RETCODE_RET_BLOSSOM_CHEST_GUEST_WORLD_LEVEL = 817; + RETCODE_RET_MP_PLAY_REWARD_NO_QUALIFICATION = 818; + RETCODE_RET_MP_PLAY_REWARD_HAS_TAKEN = 819; + RETCODE_RET_GENERAL_REWARD_NO_QUALIFICATION = 820; + RETCODE_RET_GENERAL_REWARD_LIFE_TIME_OVER = 821; + RETCODE_RET_GENERAL_REWARD_HAS_TAKEN = 822; + RETCODE_RET_GADGET_NOT_VEHICLE = 823; + RETCODE_RET_VEHICLE_SLOT_OCCUPIED = 824; + RETCODE_RET_NOT_IN_VEHICLE = 825; + RETCODE_RET_CREATE_VEHICLE_IN_CD = 826; + RETCODE_RET_CREATE_VEHICLE_POS_INVALID = 827; + RETCODE_RET_VEHICLE_POINT_NOT_UNLOCK = 828; + RETCODE_RET_GADGET_INTERACT_COND_NOT_MEET = 829; + RETCODE_RET_GADGET_INTERACT_PARAM_ERROR = 830; + RETCODE_RET_GADGET_CUSTOM_COMBINATION_INVALID = 831; + RETCODE_RET_DESHRET_OBELISK_DUPLICATE_INTERACT = 832; + RETCODE_RET_DESHRET_OBELISK_NO_AVAIL_CHEST = 833; + RETCODE_RET_ACTIVITY_CLOSE = 860; + RETCODE_RET_ACTIVITY_ITEM_ERROR = 861; + RETCODE_RET_ACTIVITY_CONTRIBUTION_NOT_ENOUGH = 862; + RETCODE_RET_SEA_LAMP_PHASE_NOT_FINISH = 863; + RETCODE_RET_SEA_LAMP_FLY_NUM_LIMIT = 864; + RETCODE_RET_SEA_LAMP_FLY_LAMP_WORD_ILLEGAL = 865; + RETCODE_RET_ACTIVITY_WATCHER_REWARD_TAKEN = 866; + RETCODE_RET_ACTIVITY_WATCHER_REWARD_NOT_FINISHED = 867; + RETCODE_RET_SALESMAN_ALREADY_DELIVERED = 868; + RETCODE_RET_SALESMAN_REWARD_COUNT_NOT_ENOUGH = 869; + RETCODE_RET_SALESMAN_POSITION_INVALID = 870; + RETCODE_RET_DELIVER_NOT_FINISH_ALL_QUEST = 871; + RETCODE_RET_DELIVER_ALREADY_TAKE_DAILY_REWARD = 872; + RETCODE_RET_ASTER_PROGRESS_EXCEED_LIMIT = 873; + RETCODE_RET_ASTER_CREDIT_EXCEED_LIMIT = 874; + RETCODE_RET_ASTER_TOKEN_EXCEED_LIMIT = 875; + RETCODE_RET_ASTER_CREDIT_NOT_ENOUGH = 876; + RETCODE_RET_ASTER_TOKEN_NOT_ENOUGH = 877; + RETCODE_RET_ASTER_SPECIAL_REWARD_HAS_TAKEN = 878; + RETCODE_RET_FLIGHT_GROUP_ACTIVITY_NOT_STARTED = 879; + RETCODE_RET_ASTER_MID_PREVIOUS_BATTLE_NOT_FINISHED = 880; + RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_EXCEED_LIMIT = 881; + RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_EXCEED_LIMIT = 882; + RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_EXCEED_LIMIT = 883; + RETCODE_RET_DRAGON_SPINE_SHIMMERING_ESSENCE_NOT_ENOUGH = 884; + RETCODE_RET_DRAGON_SPINE_WARM_ESSENCE_NOT_ENOUGH = 885; + RETCODE_RET_DRAGON_SPINE_WONDROUS_ESSENCE_NOT_ENOUGH = 886; + RETCODE_RET_EFFIGY_FIRST_PASS_REWARD_HAS_TAKEN = 891; + RETCODE_RET_EFFIGY_REWARD_HAS_TAKEN = 892; + RETCODE_RET_TREASURE_MAP_ADD_TOKEN_EXCEED_LIMIT = 893; + RETCODE_RET_TREASURE_MAP_TOKEN_NOT_ENOUGHT = 894; + RETCODE_RET_SEA_LAMP_COIN_EXCEED_LIMIT = 895; + RETCODE_RET_SEA_LAMP_COIN_NOT_ENOUGH = 896; + RETCODE_RET_SEA_LAMP_POPULARITY_EXCEED_LIMIT = 897; + RETCODE_RET_ACTIVITY_AVATAR_REWARD_NOT_OPEN = 898; + RETCODE_RET_ACTIVITY_AVATAR_REWARD_HAS_TAKEN = 899; + RETCODE_RET_ARENA_ACTIVITY_ALREADY_STARTED = 900; + RETCODE_RET_TALENT_ALREAY_UNLOCKED = 901; + RETCODE_RET_PREV_TALENT_NOT_UNLOCKED = 902; + RETCODE_RET_BIG_TALENT_POINT_NOT_ENOUGH = 903; + RETCODE_RET_SMALL_TALENT_POINT_NOT_ENOUGH = 904; + RETCODE_RET_PROUD_SKILL_ALREADY_GOT = 905; + RETCODE_RET_PREV_PROUD_SKILL_NOT_GET = 906; + RETCODE_RET_PROUD_SKILL_MAX_LEVEL = 907; + RETCODE_RET_CANDIDATE_SKILL_DEPOT_ID_NOT_FIND = 910; + RETCODE_RET_SKILL_DEPOT_IS_THE_SAME = 911; + RETCODE_RET_MONSTER_NOT_EXIST = 1001; + RETCODE_RET_MONSTER_CREATE_FAIL = 1002; + RETCODE_RET_DUNGEON_ENTER_FAIL = 1101; + RETCODE_RET_DUNGEON_QUIT_FAIL = 1102; + RETCODE_RET_DUNGEON_ENTER_EXCEED_DAY_COUNT = 1103; + RETCODE_RET_DUNGEON_REVIVE_EXCEED_MAX_COUNT = 1104; + RETCODE_RET_DUNGEON_REVIVE_FAIL = 1105; + RETCODE_RET_DUNGEON_NOT_SUCCEED = 1106; + RETCODE_RET_DUNGEON_CAN_NOT_CANCEL = 1107; + RETCODE_RET_DEST_DUNGEON_SETTLED = 1108; + RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_FULL = 1109; + RETCODE_RET_DUNGEON_CANDIDATE_TEAM_IS_DISMISS = 1110; + RETCODE_RET_DUNGEON_CANDIDATE_TEAM_NOT_ALL_READY = 1111; + RETCODE_RET_DUNGEON_CANDIDATE_TEAM_HAS_REPEAT_AVATAR = 1112; + RETCODE_RET_DUNGEON_CANDIDATE_NOT_SINGEL_PASS = 1113; + RETCODE_RET_DUNGEON_REPLAY_NEED_ALL_PLAYER_DIE = 1114; + RETCODE_RET_DUNGEON_REPLAY_HAS_REVIVE_COUNT = 1115; + RETCODE_RET_DUNGEON_OTHERS_LEAVE = 1116; + RETCODE_RET_DUNGEON_ENTER_LEVEL_LIMIT = 1117; + RETCODE_RET_DUNGEON_CANNOT_ENTER_PLOT_IN_MP = 1118; + RETCODE_RET_DUNGEON_DROP_SUBFIELD_LIMIT = 1119; + RETCODE_RET_DUNGEON_BE_INVITE_PLAYER_AVATAR_ALL_DIE = 1120; + RETCODE_RET_DUNGEON_CANNOT_KICK = 1121; + RETCODE_RET_DUNGEON_CANDIDATE_TEAM_SOMEONE_LEVEL_LIMIT = 1122; + RETCODE_RET_DUNGEON_IN_FORCE_QUIT = 1123; + RETCODE_RET_DUNGEON_GUEST_QUIT_DUNGEON = 1124; + RETCODE_RET_DUNGEON_TICKET_FAIL = 1125; + RETCODE_RET_MP_NOT_IN_MY_WORLD = 1201; + RETCODE_RET_MP_IN_MP_MODE = 1202; + RETCODE_RET_MP_SCENE_IS_FULL = 1203; + RETCODE_RET_MP_MODE_NOT_AVAILABLE = 1204; + RETCODE_RET_MP_PLAYER_NOT_ENTERABLE = 1205; + RETCODE_RET_MP_QUEST_BLOCK_MP = 1206; + RETCODE_RET_MP_IN_ROOM_SCENE = 1207; + RETCODE_RET_MP_WORLD_IS_FULL = 1208; + RETCODE_RET_MP_PLAYER_NOT_ALLOW_ENTER = 1209; + RETCODE_RET_MP_PLAYER_DISCONNECTED = 1210; + RETCODE_RET_MP_NOT_IN_MP_MODE = 1211; + RETCODE_RET_MP_OWNER_NOT_ENTER = 1212; + RETCODE_RET_MP_ALLOW_ENTER_PLAYER_FULL = 1213; + RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER = 1214; + RETCODE_RET_MP_TARGET_ENTERING_OTHER = 1215; + RETCODE_RET_MP_OTHER_ENTERING = 1216; + RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_PLOT = 1217; + RETCODE_RET_MP_NOT_PS_PLAYER = 1218; + RETCODE_RET_MP_PLAY_NOT_ACTIVE = 1219; + RETCODE_RET_MP_PLAY_REMAIN_REWARDS = 1220; + RETCODE_RET_MP_PLAY_NO_REWARD = 1221; + RETCODE_RET_MP_OPEN_STATE_FAIL = 1223; + RETCODE_RET_MP_PLAYER_IN_BLACKLIST = 1224; + RETCODE_RET_MP_REPLY_TIMEOUT = 1225; + RETCODE_RET_MP_IS_BLOCK = 1226; + RETCODE_RET_MP_ENTER_MAIN_PLAYER_IN_MP_PLAY = 1227; + RETCODE_RET_MP_IN_MP_PLAY_BATTLE = 1228; + RETCODE_RET_MP_GUEST_HAS_REWARD_REMAINED = 1229; + RETCODE_RET_MP_QUIT_MP_INVALID = 1230; + RETCODE_RET_MP_OTHER_DATA_VERSION_NOT_LATEST = 1231; + RETCODE_RET_MP_DATA_VERSION_NOT_LATEST = 1232; + RETCODE_RET_MP_CUR_WORLD_NOT_ENTERABLE = 1233; + RETCODE_RET_MP_ANY_GALLERY_STARTED = 1234; + RETCODE_RET_MP_HAS_ACTIVE_DRAFT = 1235; + RETCODE_RET_MP_PLAYER_IN_DUNGEON = 1236; + RETCODE_RET_MP_MATCH_FULL = 1237; + RETCODE_RET_MP_MATCH_LIMIT = 1238; + RETCODE_RET_MP_MATCH_IN_PUNISH = 1239; + RETCODE_RET_MP_IS_IN_MULTISTAGE = 1240; + RETCODE_RET_MP_MATCH_PLAY_NOT_OPEN = 1241; + RETCODE_RET_MP_ONLY_MP_WITH_PS_PLAYER = 1242; + RETCODE_RET_MP_GUEST_LOADING_FIRST_ENTER = 1243; + RETCODE_RET_MP_SUMMER_TIME_SPRINT_BOAT_ONGOING = 1244; + RETCODE_RET_MP_BLITZ_RUSH_PARKOUR_CHALLENGE_ONGOING = 1245; + RETCODE_RET_MP_MUSIC_GAME_ONGOING = 1246; + RETCODE_RET_MP_IN_MPING_MODE = 1247; + RETCODE_RET_MP_OWNER_IN_SINGLE_SCENE = 1248; + RETCODE_RET_MP_IN_SINGLE_SCENE = 1249; + RETCODE_RET_MP_REPLY_NO_VALID_AVATAR = 1250; + RETCODE_RET_MAIL_PARA_ERR = 1301; + RETCODE_RET_MAIL_MAX_NUM = 1302; + RETCODE_RET_MAIL_ITEM_NUM_EXCEED = 1303; + RETCODE_RET_MAIL_TITLE_LEN_EXCEED = 1304; + RETCODE_RET_MAIL_CONTENT_LEN_EXCEED = 1305; + RETCODE_RET_MAIL_SENDER_LEN_EXCEED = 1306; + RETCODE_RET_MAIL_PARSE_PACKET_FAIL = 1307; + RETCODE_RET_OFFLINE_MSG_MAX_NUM = 1308; + RETCODE_RET_OFFLINE_MSG_SAME_TICKET = 1309; + RETCODE_RET_MAIL_EXCEL_MAIL_TYPE_ERROR = 1310; + RETCODE_RET_MAIL_CANNOT_SEND_MCOIN = 1311; + RETCODE_RET_MAIL_HCOIN_EXCEED_LIMIT = 1312; + RETCODE_RET_MAIL_SCOIN_EXCEED_LIMIT = 1313; + RETCODE_RET_MAIL_MATERIAL_ID_INVALID = 1314; + RETCODE_RET_MAIL_AVATAR_EXCEED_LIMIT = 1315; + RETCODE_RET_MAIL_GACHA_TICKET_ETC_EXCEED_LIMIT = 1316; + RETCODE_RET_MAIL_ITEM_EXCEED_CEHUA_LIMIT = 1317; + RETCODE_RET_MAIL_SPACE_OR_REST_NUM_NOT_ENOUGH = 1318; + RETCODE_RET_MAIL_TICKET_IS_EMPTY = 1319; + RETCODE_RET_MAIL_TRANSACTION_IS_EMPTY = 1320; + RETCODE_RET_MAIL_DELETE_COLLECTED = 1321; + RETCODE_RET_DAILY_TASK_NOT_FINISH = 1330; + RETCODE_RET_DAILY_TAKS_HAS_TAKEN = 1331; + RETCODE_RET_SOCIAL_OFFLINE_MSG_NUM_EXCEED = 1332; + RETCODE_RET_DAILY_TASK_FILTER_CITY_NOT_OPEN = 1333; + RETCODE_RET_GACHA_INAVAILABLE = 1401; + RETCODE_RET_GACHA_RANDOM_NOT_MATCH = 1402; + RETCODE_RET_GACHA_SCHEDULE_NOT_MATCH = 1403; + RETCODE_RET_GACHA_INVALID_TIMES = 1404; + RETCODE_RET_GACHA_COST_ITEM_NOT_ENOUGH = 1405; + RETCODE_RET_GACHA_TIMES_LIMIT = 1406; + RETCODE_RET_GACHA_WISH_SAME_ITEM = 1407; + RETCODE_RET_GACHA_WISH_INVALID_ITEM = 1408; + RETCODE_RET_GACHA_MINORS_TIMES_LIMIT = 1409; + RETCODE_RET_INVESTIGAITON_NOT_IN_PROGRESS = 1501; + RETCODE_RET_INVESTIGAITON_UNCOMPLETE = 1502; + RETCODE_RET_INVESTIGAITON_REWARD_TAKEN = 1503; + RETCODE_RET_INVESTIGAITON_TARGET_STATE_ERROR = 1504; + RETCODE_RET_PUSH_TIPS_NOT_FOUND = 1505; + RETCODE_RET_SIGN_IN_RECORD_NOT_FOUND = 1506; + RETCODE_RET_ALREADY_HAVE_SIGNED_IN = 1507; + RETCODE_RET_SIGN_IN_COND_NOT_SATISFIED = 1508; + RETCODE_RET_BONUS_ACTIVITY_NOT_UNREWARDED = 1509; + RETCODE_RET_SIGN_IN_REWARDED = 1510; + RETCODE_RET_TOWER_NOT_OPEN = 1521; + RETCODE_RET_TOWER_HAVE_DAILY_RECORD = 1522; + RETCODE_RET_TOWER_NOT_RECORD = 1523; + RETCODE_RET_TOWER_HAVE_RECORD = 1524; + RETCODE_RET_TOWER_TEAM_NUM_ERROR = 1525; + RETCODE_RET_TOWER_FLOOR_NOT_OPEN = 1526; + RETCODE_RET_TOWER_NO_FLOOR_STAR_RECORD = 1527; + RETCODE_RET_ALREADY_HAS_TOWER_BUFF = 1528; + RETCODE_RET_DUPLICATE_ENTER_LEVEL = 1529; + RETCODE_RET_NOT_IN_TOWER_LEVEL = 1530; + RETCODE_RET_IN_TOWER_LEVEL = 1531; + RETCODE_RET_TOWER_PREV_FLOOR_NOT_FINISH = 1532; + RETCODE_RET_TOWER_STAR_NOT_ENOUGH = 1533; + RETCODE_RET_BATTLE_PASS_NO_SCHEDULE = 1541; + RETCODE_RET_BATTLE_PASS_HAS_BUYED = 1542; + RETCODE_RET_BATTLE_PASS_LEVEL_OVERFLOW = 1543; + RETCODE_RET_BATTLE_PASS_PRODUCT_EXPIRED = 1544; + RETCODE_RET_MATCH_HOST_QUIT = 1561; + RETCODE_RET_MATCH_ALREADY_IN_MATCH = 1562; + RETCODE_RET_MATCH_NOT_IN_MATCH = 1563; + RETCODE_RET_MATCH_APPLYING_ENTER_MP = 1564; + RETCODE_RET_WIDGET_TREASURE_SPOT_NOT_FOUND = 1581; + RETCODE_RET_WIDGET_TREASURE_ENTITY_EXISTS = 1582; + RETCODE_RET_WIDGET_TREASURE_SPOT_FAR_AWAY = 1583; + RETCODE_RET_WIDGET_TREASURE_FINISHED_TODAY = 1584; + RETCODE_RET_WIDGET_QUICK_USE_REQ_PARAM_ERROR = 1585; + RETCODE_RET_WIDGET_CAMERA_SCAN_ID_ERROR = 1586; + RETCODE_RET_WIDGET_NOT_ACTIVE = 1587; + RETCODE_RET_WIDGET_FEATHER_NOT_ACTIVE = 1588; + RETCODE_RET_WIDGET_FEATHER_GADGET_TOO_FAR_AWAY = 1589; + RETCODE_RET_WIDGET_CAPTURE_ANIMAL_NOT_EXIST = 1590; + RETCODE_RET_WIDGET_CAPTURE_ANIMAL_DROP_BAG_LIMIT = 1591; + RETCODE_RET_WIDGET_CAPTURE_ANIMAL_CAN_NOT_CAPTURE = 1592; + RETCODE_RET_WIDGET_SKY_CRYSTAL_ALL_COLLECTED = 1593; + RETCODE_RET_WIDGET_SKY_CRYSTAL_HINT_ALREADY_EXIST = 1594; + RETCODE_RET_WIDGET_SKY_CRYSTAL_NOT_FOUND = 1595; + RETCODE_RET_WIDGET_SKY_CRYSTAL_NO_HINT_TO_CLEAR = 1596; + RETCODE_RET_WIDGET_LIGHT_STONE_ENERGY_NOT_ENOUGH = 1597; + RETCODE_RET_WIDGET_TOY_CRYSTAL_ENERGY_NOT_ENOUGH = 1598; + RETCODE_RET_WIDGET_LIGHT_STONE_LEVEL_NOT_ENOUGH = 1599; + RETCODE_RET_UID_NOT_EXIST = 2001; + RETCODE_RET_PARSE_BIN_ERROR = 2002; + RETCODE_RET_ACCOUNT_INFO_NOT_EXIST = 2003; + RETCODE_RET_ORDER_INFO_NOT_EXIST = 2004; + RETCODE_RET_SNAPSHOT_INDEX_ERROR = 2005; + RETCODE_RET_MAIL_HAS_BEEN_SENT = 2006; + RETCODE_RET_PRODUCT_NOT_EXIST = 2007; + RETCODE_RET_UNFINISH_ORDER = 2008; + RETCODE_RET_ID_NOT_EXIST = 2009; + RETCODE_RET_ORDER_TRADE_EARLY = 2010; + RETCODE_RET_ORDER_FINISHED = 2011; + RETCODE_RET_GAMESERVER_VERSION_WRONG = 2012; + RETCODE_RET_OFFLINE_OP_FULL_LENGTH = 2013; + RETCODE_RET_CONCERT_PRODUCT_OBTAIN_LIMIT = 2014; + RETCODE_RET_CONCERT_PRODUCT_TICKET_DUPLICATED = 2015; + RETCODE_RET_CONCERT_PRODUCT_TICKET_EMPTY = 2016; + RETCODE_RET_REDIS_MODIFIED = 5001; + RETCODE_RET_REDIS_UID_NOT_EXIST = 5002; + RETCODE_RET_PATHFINDING_DATA_NOT_EXIST = 6001; + RETCODE_RET_PATHFINDING_DESTINATION_NOT_EXIST = 6002; + RETCODE_RET_PATHFINDING_ERROR_SCENE = 6003; + RETCODE_RET_PATHFINDING_SCENE_DATA_LOADING = 6004; + RETCODE_RET_FRIEND_COUNT_EXCEEDED = 7001; + RETCODE_RET_PLAYER_NOT_EXIST = 7002; + RETCODE_RET_ALREADY_SENT_ADD_REQUEST = 7003; + RETCODE_RET_ASK_FRIEND_LIST_FULL = 7004; + RETCODE_RET_PLAYER_ALREADY_IS_FRIEND = 7005; + RETCODE_RET_PLAYER_NOT_ASK_FRIEND = 7006; + RETCODE_RET_TARGET_FRIEND_COUNT_EXCEED = 7007; + RETCODE_RET_NOT_FRIEND = 7008; + RETCODE_RET_BIRTHDAY_CANNOT_BE_SET_TWICE = 7009; + RETCODE_RET_CANNOT_ADD_SELF_FRIEND = 7010; + RETCODE_RET_SIGNATURE_ILLEGAL = 7011; + RETCODE_RET_PS_PLAYER_CANNOT_ADD_FRIENDS = 7012; + RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_FRIENDS = 7013; + RETCODE_RET_NAME_CARD_NOT_UNLOCKED = 7014; + RETCODE_RET_ALREADY_IN_BLACKLIST = 7015; + RETCODE_RET_PS_PALEYRS_CANNOT_ADD_BLACKLIST = 7016; + RETCODE_RET_PLAYER_BLACKLIST_FULL = 7017; + RETCODE_RET_PLAYER_NOT_IN_BLACKLIST = 7018; + RETCODE_RET_BLACKLIST_PLAYER_CANNOT_ADD_FRIEND = 7019; + RETCODE_RET_IN_TARGET_BLACKLIST = 7020; + RETCODE_RET_CANNOT_ADD_TARGET_FRIEND = 7021; + RETCODE_RET_BIRTHDAY_FORMAT_ERROR = 7022; + RETCODE_RET_ONLINE_ID_NOT_EXISTS = 7023; + RETCODE_RET_FIRST_SHARE_REWARD_HAS_TAKEN = 7024; + RETCODE_RET_PS_PLAYER_CANNOT_REMOVE_BLACKLIST = 7025; + RETCODE_RET_REPORT_CD = 7026; + RETCODE_RET_REPORT_CONTENT_ILLEGAL = 7027; + RETCODE_RET_REMARK_WORD_ILLEGAL = 7028; + RETCODE_RET_REMARK_TOO_LONG = 7029; + RETCODE_RET_REMARK_UTF8_ERROR = 7030; + RETCODE_RET_REMARK_IS_EMPTY = 7031; + RETCODE_RET_ASK_ADD_FRIEND_CD = 7032; + RETCODE_RET_SHOW_AVATAR_INFO_NOT_EXIST = 7033; + RETCODE_RET_PLAYER_NOT_SHOW_AVATAR = 7034; + RETCODE_RET_SOCIAL_UPDATE_SHOW_LIST_REPEAT_ID = 7035; + RETCODE_RET_PSN_ID_NOT_FOUND = 7036; + RETCODE_RET_EMOJI_COLLECTION_NUM_EXCEED_LIMIT = 7037; + RETCODE_RET_REMARK_EMPTY = 7038; + RETCODE_RET_IN_TARGET_PSN_BLACKLIST = 7039; + RETCODE_RET_SIGNATURE_NOT_CHANGED = 7040; + RETCODE_RET_SIGNATURE_MONTHLY_LIMIT = 7041; + RETCODE_RET_OFFERING_NOT_OPEN = 7081; + RETCODE_RET_OFFERING_LEVEL_LIMIT = 7082; + RETCODE_RET_OFFERING_LEVEL_NOT_REACH = 7083; + RETCODE_RET_OFFERING_LEVEL_HAS_TAKEN = 7084; + RETCODE_RET_CITY_REPUTATION_NOT_OPEN = 7101; + RETCODE_RET_CITY_REPUTATION_LEVEL_TAKEN = 7102; + RETCODE_RET_CITY_REPUTATION_LEVEL_NOT_REACH = 7103; + RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_TAKEN = 7104; + RETCODE_RET_CITY_REPUTATION_PARENT_QUEST_UNFINISH = 7105; + RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST = 7106; + RETCODE_RET_CITY_REPUTATION_NOT_ACCEPT_REQUEST = 7107; + RETCODE_RET_CITY_REPUTATION_ACCEPT_REQUEST_LIMIT = 7108; + RETCODE_RET_CITY_REPUTATION_ENTRANCE_NOT_OPEN = 7109; + RETCODE_RET_CITY_REPUTATION_TAKEN_REQUEST_REWARD = 7110; + RETCODE_RET_CITY_REPUTATION_SWITCH_CLOSE = 7111; + RETCODE_RET_CITY_REPUTATION_ENTRACE_SWITCH_CLOSE = 7112; + RETCODE_RET_CITY_REPUTATION_TAKEN_EXPLORE_REWARD = 7113; + RETCODE_RET_CITY_REPUTATION_EXPLORE_NOT_REACH = 7114; + RETCODE_RET_MECHANICUS_NOT_OPEN = 7120; + RETCODE_RET_MECHANICUS_GEAR_UNLOCK = 7121; + RETCODE_RET_MECHANICUS_GEAR_LOCK = 7122; + RETCODE_RET_MECHANICUS_GEAR_LEVEL_LIMIT = 7123; + RETCODE_RET_MECHANICUS_COIN_NOT_ENOUGH = 7124; + RETCODE_RET_MECHANICUS_NO_SEQUENCE = 7125; + RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_LEVEL = 7126; + RETCODE_RET_MECHANICUS_SEQUENCE_LIMIT_OPEN = 7127; + RETCODE_RET_MECHANICUS_DIFFICULT_NOT_SUPPORT = 7128; + RETCODE_RET_MECHANICUS_TICKET_NOT_ENOUGH = 7129; + RETCODE_RET_MECHANICUS_TEACH_NOT_FINISH = 7130; + RETCODE_RET_MECHANICUS_TEACH_FINISHED = 7131; + RETCODE_RET_MECHANICUS_PREV_DIFFICULT_LEVEL_BLOCK = 7132; + RETCODE_RET_MECHANICUS_PLAYER_LIMIT = 7133; + RETCODE_RET_MECHANICUS_PUNISH_TIME = 7134; + RETCODE_RET_MECHANICUS_SWITCH_CLOSE = 7135; + RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_DUNGEON = 7150; + RETCODE_RET_MECHANICUS_BATTLE_PLAY_NOT_FOUND = 7151; + RETCODE_RET_MECHANICUS_BATTLE_DUPLICATE_PICK_CARD = 7152; + RETCODE_RET_MECHANICUS_BATTLE_PLAYER_NOT_IN_PLAY = 7153; + RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_AVAILABLE = 7154; + RETCODE_RET_MECHANICUS_BATTLE_NOT_IN_CARD_STAGE = 7155; + RETCODE_RET_MECHANICUS_BATTLE_CARD_IS_WAITING = 7156; + RETCODE_RET_MECHANICUS_BATTLE_CARD_ALL_CONFIRMED = 7157; + RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_CONFIRMED = 7158; + RETCODE_RET_MECHANICUS_BATTLE_CARD_CONFIRMED_BY_OTHER = 7159; + RETCODE_RET_MECHANICUS_BATTLE_CARD_NOT_ENOUGH_POINTS = 7160; + RETCODE_RET_MECHANICUS_BATTLE_CARD_ALREADY_SKIPPED = 7161; + RETCODE_RET_LEGENDARY_KEY_NOT_ENOUGH = 8001; + RETCODE_RET_LEGENDARY_KEY_EXCEED_LIMIT = 8002; + RETCODE_RET_DAILY_TASK_NOT_ENOUGH_TO_REDEEM = 8003; + RETCODE_RET_PERSONAL_LINE_OPEN_STATE_OFF = 8004; + RETCODE_RET_PERSONAL_LINE_LEVEL_NOT_ENOUGH = 8005; + RETCODE_RET_PERSONAL_LINE_NOT_OPEN = 8006; + RETCODE_RET_PERSONAL_LINE_PRE_QUEST_NOT_FINISH = 8007; + RETCODE_RET_HUNTING_ALREADY_FINISH_OFFER_LIMIT = 8201; + RETCODE_RET_HUNTING_HAS_UNFINISHED_OFFER = 8202; + RETCODE_RET_HUNTING_FAILED_OFFER_NOT_CD_READY = 8203; + RETCODE_RET_HUNTING_NOT_TAKE_OFFER = 8204; + RETCODE_RET_HUNTING_CANNOT_TAKE_TWICE = 8205; + RETCODE_RET_RPIVATE_CHAT_INVALID_CONTENT_TYPE = 8901; + RETCODE_RET_PRIVATE_CHAT_TARGET_IS_NOT_FRIEND = 8902; + RETCODE_RET_PRIVATE_CHAT_CONTENT_NOT_SUPPORTED = 8903; + RETCODE_RET_PRIVATE_CHAT_CONTENT_TOO_LONG = 8904; + RETCODE_RET_PRIVATE_CHAT_PULL_TOO_FAST = 8905; + RETCODE_RET_PRIVATE_CHAT_REPEAT_READ = 8906; + RETCODE_RET_PRIVATE_CHAT_READ_NOT_FRIEND = 8907; + RETCODE_RET_REUNION_FINISHED = 9001; + RETCODE_RET_REUNION_NOT_ACTIVATED = 9002; + RETCODE_RET_REUNION_ALREADY_TAKE_FIRST_REWARD = 9003; + RETCODE_RET_REUNION_SIGN_IN_REWARDED = 9004; + RETCODE_RET_REUNION_WATCHER_REWARDED = 9005; + RETCODE_RET_REUNION_WATCHER_NOT_FINISH = 9006; + RETCODE_RET_REUNION_MISSION_REWARDED = 9007; + RETCODE_RET_REUNION_MISSION_NOT_FINISH = 9008; + RETCODE_RET_REUNION_WATCHER_REWARD_NOT_UNLOCKED = 9009; + RETCODE_RET_BLESSING_CONTENT_CLOSED = 9101; + RETCODE_RET_BLESSING_NOT_ACTIVE = 9102; + RETCODE_RET_BLESSING_NOT_TODAY_ENTITY = 9103; + RETCODE_RET_BLESSING_ENTITY_EXCEED_SCAN_NUM_LIMIT = 9104; + RETCODE_RET_BLESSING_DAILY_SCAN_NUM_EXCEED_LIMIT = 9105; + RETCODE_RET_BLESSING_REDEEM_REWARD_NUM_EXCEED_LIMIT = 9106; + RETCODE_RET_BLESSING_REDEEM_PIC_NUM_NOT_ENOUGH = 9107; + RETCODE_RET_BLESSING_PIC_NOT_ENOUGH = 9108; + RETCODE_RET_BLESSING_PIC_HAS_RECEIVED = 9109; + RETCODE_RET_BLESSING_TARGET_RECV_NUM_EXCEED = 9110; + RETCODE_RET_FLEUR_FAIR_CREDIT_EXCEED_LIMIT = 9111; + RETCODE_RET_FLEUR_FAIR_CREDIT_NOT_ENOUGH = 9112; + RETCODE_RET_FLEUR_FAIR_TOKEN_EXCEED_LIMIT = 9113; + RETCODE_RET_FLEUR_FAIR_TOKEN_NOT_ENOUGH = 9114; + RETCODE_RET_FLEUR_FAIR_MINIGAME_NOT_OPEN = 9115; + RETCODE_RET_FLEUR_FAIR_MUSIC_GAME_DIFFICULTY_NOT_UNLOCK = 9116; + RETCODE_RET_FLEUR_FAIR_DUNGEON_LOCKED = 9117; + RETCODE_RET_FLEUR_FAIR_DUNGEON_PUNISH_TIME = 9118; + RETCODE_RET_FLEUR_FAIR_ONLY_OWNER_CAN_RESTART_MINIGAM = 9119; + RETCODE_RET_WATER_SPIRIT_COIN_EXCEED_LIMIT = 9120; + RETCODE_RET_WATER_SPIRIT_COIN_NOT_ENOUGH = 9121; + RETCODE_RET_REGION_SEARCH_NO_SEARCH = 9122; + RETCODE_RET_REGION_SEARCH_STATE_ERROR = 9123; + RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_STAGE_NOT_OPEN = 9130; + RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_NOT_OPEN = 9131; + RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_FIRST_PASS_REWARD_HAS_TAKEN = 9132; + RETCODE_RET_CHANNELLER_SLAB_LOOP_DUNGEON_SCORE_REWARD_HAS_TAKEN = 9133; + RETCODE_RET_CHANNELLER_SLAB_INVALID_ONE_OFF_DUNGEON = 9134; + RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_DONE = 9135; + RETCODE_RET_CHANNELLER_SLAB_ONE_OFF_DUNGEON_STAGE_NOT_OPEN = 9136; + RETCODE_RET_CHANNELLER_SLAB_TOKEN_EXCEED_LIMIT = 9137; + RETCODE_RET_CHANNELLER_SLAB_TOKEN_NOT_ENOUGH = 9138; + RETCODE_RET_CHANNELLER_SLAB_PLAYER_NOT_IN_ONE_OFF_DUNGEON = 9139; + RETCODE_RET_MIST_TRIAL_SELECT_CHARACTER_NUM_NOT_ENOUGH = 9150; + RETCODE_RET_HIDE_AND_SEEK_PLAY_NOT_OPEN = 9160; + RETCODE_RET_HIDE_AND_SEEK_PLAY_MAP_NOT_OPEN = 9161; + RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_EXCEED_LIMIT = 9170; + RETCODE_RET_SUMMER_TIME_DRAFT_WOORD_NOT_ENOUGH = 9171; + RETCODE_RET_SUMMER_TIME_MINI_HARPASTUM_EXCEED_LIMIT = 9172; + RETCODE_RET_SUMMER_TIME_MINI_HARPASTUMNOT_ENOUGH = 9173; + RETCODE_RET_BOUNCE_CONJURING_COIN_EXCEED_LIMIT = 9180; + RETCODE_RET_BOUNCE_CONJURING_COIN_NOT_ENOUGH = 9181; + RETCODE_RET_CHESS_TEACH_MAP_FINISHED = 9183; + RETCODE_RET_CHESS_TEACH_MAP_UNFINISHED = 9184; + RETCODE_RET_CHESS_COIN_EXCEED_LIMIT = 9185; + RETCODE_RET_CHESS_COIN_NOT_ENOUGH = 9186; + RETCODE_RET_CHESS_IN_PUNISH_TIME = 9187; + RETCODE_RET_CHESS_PREV_MAP_UNFINISHED = 9188; + RETCODE_RET_CHESS_MAP_LOCKED = 9189; + RETCODE_RET_BLITZ_RUSH_NOT_OPEN = 9192; + RETCODE_RET_BLITZ_RUSH_DUNGEON_NOT_OPEN = 9193; + RETCODE_RET_BLITZ_RUSH_COIN_A_EXCEED_LIMIT = 9194; + RETCODE_RET_BLITZ_RUSH_COIN_B_EXCEED_LIMIT = 9195; + RETCODE_RET_BLITZ_RUSH_COIN_A_NOT_ENOUGH = 9196; + RETCODE_RET_BLITZ_RUSH_COIN_B_NOT_ENOUGH = 9197; + RETCODE_RET_MIRACLE_RING_VALUE_NOT_ENOUGH = 9201; + RETCODE_RET_MIRACLE_RING_CD = 9202; + RETCODE_RET_MIRACLE_RING_REWARD_NOT_TAKEN = 9203; + RETCODE_RET_MIRACLE_RING_NOT_DELIVER = 9204; + RETCODE_RET_MIRACLE_RING_DELIVER_EXCEED = 9205; + RETCODE_RET_MIRACLE_RING_HAS_CREATED = 9206; + RETCODE_RET_MIRACLE_RING_HAS_NOT_CREATED = 9207; + RETCODE_RET_MIRACLE_RING_NOT_YOURS = 9208; + RETCODE_RET_GADGET_FOUNDATION_UNAUTHORIZED = 9251; + RETCODE_RET_GADGET_FOUNDATION_SCENE_NOT_FOUND = 9252; + RETCODE_RET_GADGET_FOUNDATION_NOT_IN_INIT_STATE = 9253; + RETCODE_RET_GADGET_FOUNDATION_BILDING_POINT_NOT_ENOUGHT = 9254; + RETCODE_RET_GADGET_FOUNDATION_NOT_IN_BUILT_STATE = 9255; + RETCODE_RET_GADGET_FOUNDATION_OP_NOT_SUPPORTED = 9256; + RETCODE_RET_GADGET_FOUNDATION_REQ_PLAYER_NOT_IN_SCENE = 9257; + RETCODE_RET_GADGET_FOUNDATION_LOCKED_BY_ANOTHER_PLAYER = 9258; + RETCODE_RET_GADGET_FOUNDATION_NOT_LOCKED = 9259; + RETCODE_RET_GADGET_FOUNDATION_DUPLICATE_LOCK = 9260; + RETCODE_RET_GADGET_FOUNDATION_PLAYER_NOT_FOUND = 9261; + RETCODE_RET_GADGET_FOUNDATION_PLAYER_GEAR_NOT_FOUND = 9262; + RETCODE_RET_GADGET_FOUNDATION_ROTAION_DISABLED = 9263; + RETCODE_RET_GADGET_FOUNDATION_REACH_DUNGEON_GEAR_LIMIT = 9264; + RETCODE_RET_GADGET_FOUNDATION_REACH_SINGLE_GEAR_LIMIT = 9265; + RETCODE_RET_GADGET_FOUNDATION_ROTATION_ON_GOING = 9266; + RETCODE_RET_OP_ACTIVITY_BONUS_NOT_FOUND = 9301; + RETCODE_RET_OP_ACTIVITY_NOT_OPEN = 9302; + RETCODE_RET_MULTISTAGE_PLAY_PLAYER_NOT_IN_SCENE = 9501; + RETCODE_RET_MULTISTAGE_PLAY_NOT_FOUND = 9502; + RETCODE_RET_COOP_CHAPTER_NOT_OPEN = 9601; + RETCODE_RET_COOP_COND_NOT_MEET = 9602; + RETCODE_RET_COOP_POINT_LOCKED = 9603; + RETCODE_RET_COOP_NOT_HAVE_PROGRESS = 9604; + RETCODE_RET_COOP_REWARD_HAS_TAKEN = 9605; + RETCODE_RET_DRAFT_HAS_ACTIVE_DRAFT = 9651; + RETCODE_RET_DRAFT_NOT_IN_MY_WORLD = 9652; + RETCODE_RET_DRAFT_NOT_SUPPORT_MP = 9653; + RETCODE_RET_DRAFT_PLAYER_NOT_ENOUGH = 9654; + RETCODE_RET_DRAFT_INCORRECT_SCENE = 9655; + RETCODE_RET_DRAFT_OTHER_PLAYER_ENTERING = 9656; + RETCODE_RET_DRAFT_GUEST_IS_TRANSFERRING = 9657; + RETCODE_RET_DRAFT_GUEST_NOT_IN_DRAFT_SCENE = 9658; + RETCODE_RET_DRAFT_INVITE_OVER_TIME = 9659; + RETCODE_RET_DRAFT_TWICE_CONFIRM_OVER_TIMER = 9660; + RETCODE_RET_HOME_UNKOWN = 9701; + RETCODE_RET_HOME_INVALID_CLIENT_PARAM = 9702; + RETCODE_RET_HOME_TARGE_PLAYER_HAS_NO_HOME = 9703; + RETCODE_RET_HOME_NOT_ONLINE = 9704; + RETCODE_RET_HOME_PLAYER_FULL = 9705; + RETCODE_RET_HOME_BLOCKED = 9706; + RETCODE_RET_HOME_ALREADY_IN_TARGET_HOME_WORLD = 9707; + RETCODE_RET_HOME_IN_EDIT_MODE = 9708; + RETCODE_RET_HOME_NOT_IN_EDIT_MODE = 9709; + RETCODE_RET_HOME_HAS_GUEST = 9710; + RETCODE_RET_HOME_CANT_ENTER_BY_IN_EDIT_MODE = 9711; + RETCODE_RET_HOME_CLIENT_PARAM_INVALID = 9712; + RETCODE_RET_HOME_PLAYER_NOT_IN_HOME_WORLD = 9713; + RETCODE_RET_HOME_PLAYER_NOT_IN_SELF_HOME_WORLD = 9714; + RETCODE_RET_HOME_NOT_FOUND_IN_MEM = 9715; + RETCODE_RET_HOME_PLAYER_IN_HOME_ROOM_SCENE = 9716; + RETCODE_RET_HOME_HOME_REFUSE_GUEST_ENTER = 9717; + RETCODE_RET_HOME_OWNER_REFUSE_TO_ENTER_HOME = 9718; + RETCODE_RET_HOME_OWNER_OFFLINE = 9719; + RETCODE_RET_HOME_FURNITURE_EXCEED_LIMIT = 9720; + RETCODE_RET_HOME_FURNITURE_COUNT_NOT_ENOUGH = 9721; + RETCODE_RET_HOME_IN_TRY_ENTER_PROCESS = 9722; + RETCODE_RET_HOME_ALREADY_IN_TARGET_SCENE = 9723; + RETCODE_RET_HOME_COIN_EXCEED_LIMIT = 9724; + RETCODE_RET_HOME_COIN_NOT_ENOUGH = 9725; + RETCODE_RET_HOME_MODULE_NOT_UNLOCKED = 9726; + RETCODE_RET_HOME_CUR_MODULE_CLOSED = 9727; + RETCODE_RET_HOME_FURNITURE_SUITE_NOT_UNLOCKED = 9728; + RETCODE_RET_HOME_IN_MATCH = 9729; + RETCODE_RET_HOME_IN_COMBAT = 9730; + RETCODE_RET_HOME_EDIT_MODE_CD = 9731; + RETCODE_RET_HOME_UPDATE_FURNITURE_CD = 9732; + RETCODE_RET_HOME_BLOCK_FURNITURE_LIMIT = 9733; + RETCODE_RET_HOME_NOT_SUPPORT = 9734; + RETCODE_RET_HOME_STATE_NOT_OPEN = 9735; + RETCODE_RET_HOME_TARGET_STATE_NOT_OPEN = 9736; + RETCODE_RET_HOME_APPLY_ENTER_OTHER_HOME_FAIL = 9737; + RETCODE_RET_HOME_SAVE_NO_MAIN_HOUSE = 9738; + RETCODE_RET_HOME_IN_DUNGEON = 9739; + RETCODE_RET_HOME_ANY_GALLERY_STARTED = 9740; + RETCODE_RET_HOME_QUEST_BLOCK_HOME = 9741; + RETCODE_RET_HOME_WAITING_PRIOR_CHECK = 9742; + RETCODE_RET_HOME_PERSISTENT_CHECK_FAIL = 9743; + RETCODE_RET_HOME_FIND_ONLINE_HOME_FAIL = 9744; + RETCODE_RET_HOME_JOIN_SCENE_FAIL = 9745; + RETCODE_RET_HOME_MAX_PLAYER = 9746; + RETCODE_RET_HOME_IN_TRANSFER = 9747; + RETCODE_RET_HOME_ANY_HOME_GALLERY_STARTED = 9748; + RETCODE_RET_HOME_CAN_NOT_ENTER_IN_AUDIT = 9749; + RETCODE_RET_FURNITURE_MAKE_INDEX_ERROR = 9750; + RETCODE_RET_FURNITURE_MAKE_LOCKED = 9751; + RETCODE_RET_FURNITURE_MAKE_CONFIG_ERROR = 9752; + RETCODE_RET_FURNITURE_MAKE_SLOT_FULL = 9753; + RETCODE_RET_FURNITURE_MAKE_ADD_FURNITURE_FAIL = 9754; + RETCODE_RET_FURNITURE_MAKE_UNFINISH = 9755; + RETCODE_RET_FURNITURE_MAKE_IS_FINISH = 9756; + RETCODE_RET_FURNITURE_MAKE_NOT_IN_CORRECT_HOME = 9757; + RETCODE_RET_FURNITURE_MAKE_NO_COUNT = 9758; + RETCODE_RET_FURNITURE_MAKE_ACCELERATE_LIMIT = 9759; + RETCODE_RET_FURNITURE_MAKE_NO_MAKE_DATA = 9760; + RETCODE_RET_HOME_LIMITED_SHOP_CLOSE = 9761; + RETCODE_RET_HOME_AVATAR_NOT_SHOW = 9762; + RETCODE_RET_HOME_EVENT_COND_NOT_SATISFIED = 9763; + RETCODE_RET_HOME_INVALID_ARRANGE_ANIMAL_PARAM = 9764; + RETCODE_RET_HOME_INVALID_ARRANGE_NPC_PARAM = 9765; + RETCODE_RET_HOME_INVALID_ARRANGE_SUITE_PARAM = 9766; + RETCODE_RET_HOME_INVALID_ARRANGE_MAIN_HOUSE_PARAM = 9767; + RETCODE_RET_HOME_AVATAR_STATE_NOT_OPEN = 9768; + RETCODE_RET_HOME_PLANT_FIELD_NOT_EMPTY = 9769; + RETCODE_RET_HOME_PLANT_FIELD_EMPTY = 9770; + RETCODE_RET_HOME_PLANT_FIELD_TYPE_ERROR = 9771; + RETCODE_RET_HOME_PLANT_TIME_NOT_ENOUGH = 9772; + RETCODE_RET_HOME_PLANT_SUB_FIELD_NUM_NOT_ENOUGH = 9773; + RETCODE_RET_HOME_PLANT_FIELD_PARAM_ERROR = 9774; + RETCODE_RET_HOME_FURNITURE_GUID_ERROR = 9775; + RETCODE_RET_HOME_FURNITURE_ARRANGE_LIMIT = 9776; + RETCODE_RET_HOME_FISH_FARMING_LIMIT = 9777; + RETCODE_RET_HOME_FISH_COUNT_NOT_ENOUGH = 9778; + RETCODE_RET_HOME_FURNITURE_COST_LIMIT = 9779; + RETCODE_RET_HOME_CUSTOM_FURNITURE_INVALID = 9780; + RETCODE_RET_HOME_INVALID_ARRANGE_GROUP_PARAM = 9781; + RETCODE_RET_HOME_FURNITURE_ARRANGE_GROUP_LIMIT = 9782; + RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_GENDER_ERROR = 9783; + RETCODE_RET_HOME_PICTURE_FRAME_COOP_CG_NOT_UNLOCK = 9784; + RETCODE_RET_HOME_FURNITURE_CANNOT_ARRANGE = 9785; + RETCODE_RET_HOME_FURNITURE_IN_DUPLICATE_SUITE = 9786; + RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_SMALL = 9787; + RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_BIG = 9788; + RETCODE_RET_HOME_FURNITURE_SUITE_EXCEED_LIMIT = 9789; + RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_EXCEED_LIMIT = 9790; + RETCODE_RET_HOME_FURNITURE_CUSTOM_SUITE_INVALID_SURFACE_TYPE = 9791; + RETCODE_RET_HOME_BGM_ID_NOT_FOUND = 9792; + RETCODE_RET_HOME_BGM_NOT_UNLOCKED = 9793; + RETCODE_RET_HOME_BGM_FURNITURE_NOT_FOUND = 9794; + RETCODE_RET_HOME_BGM_NOT_SUPPORT_BY_CUR_SCENE = 9795; + RETCODE_RET_HOME_LIMITED_SHOP_GOODS_DISABLE = 9796; + RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_EMPTY = 9797; + RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_NOT_FOUND = 9798; + RETCODE_RET_HOME_WORLD_WOOD_MATERIAL_COUNT_INVALID = 9799; + RETCODE_RET_HOME_WORLD_WOOD_EXCHANGE_EXCEED_LIMIT = 9800; + RETCODE_RET_SUMO_ACTIVITY_STAGE_NOT_OPEN = 10000; + RETCODE_RET_SUMO_ACTIVITY_SWITCH_TEAM_IN_CD = 10001; + RETCODE_RET_SUMO_ACTIVITY_TEAM_NUM_INCORRECT = 10002; + RETCODE_RET_LUNA_RITE_ACTIVITY_AREA_ID_ERROR = 10004; + RETCODE_RET_LUNA_RITE_ACTIVITY_BATTLE_NOT_FINISH = 10005; + RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_SACRIFICE = 10006; + RETCODE_RET_LUNA_RITE_ACTIVITY_ALREADY_TAKE_REWARD = 10007; + RETCODE_RET_LUNA_RITE_ACTIVITY_SACRIFICE_NOT_ENOUGH = 10008; + RETCODE_RET_LUNA_RITE_ACTIVITY_SEARCHING_COND_NOT_MEET = 10009; + RETCODE_RET_DIG_GADGET_CONFIG_ID_NOT_MATCH = 10015; + RETCODE_RET_DIG_FIND_NEAREST_POS_FAIL = 10016; + RETCODE_RET_MUSIC_GAME_LEVEL_NOT_OPEN = 10021; + RETCODE_RET_MUSIC_GAME_LEVEL_NOT_UNLOCK = 10022; + RETCODE_RET_MUSIC_GAME_LEVEL_NOT_STARTED = 10023; + RETCODE_RET_MUSIC_GAME_LEVEL_CONFIG_NOT_FOUND = 10024; + RETCODE_RET_MUSIC_GAME_LEVEL_ID_NOT_MATCH = 10025; + RETCODE_RET_ROGUELIKE_COIN_A_NOT_ENOUGH = 10031; + RETCODE_RET_ROGUELIKE_COIN_B_NOT_ENOUGH = 10032; + RETCODE_RET_ROGUELIKE_COIN_C_NOT_ENOUGH = 10033; + RETCODE_RET_ROGUELIKE_COIN_A_EXCEED_LIMIT = 10034; + RETCODE_RET_ROGUELIKE_COIN_B_EXCEED_LIMIT = 10035; + RETCODE_RET_ROGUELIKE_COIN_C_EXCEED_LIMIT = 10036; + RETCODE_RET_ROGUELIKE_RUNE_COUNT_NOT_ENOUGH = 10037; + RETCODE_RET_ROGUELIKE_NOT_IN_ROGUE_DUNGEON = 10038; + RETCODE_RET_ROGUELIKE_CELL_NOT_FOUND = 10039; + RETCODE_RET_ROGUELIKE_CELL_TYPE_INCORRECT = 10040; + RETCODE_RET_ROGUELIKE_CELL_ALREADY_FINISHED = 10041; + RETCODE_RET_ROGUELIKE_DUNGEON_HAVE_UNFINISHED_PROGRESS = 10042; + RETCODE_RET_ROGUELIKE_STAGE_NOT_FINISHED = 10043; + RETCODE_RET_ROGUELIKE_STAGE_FIRST_PASS_REWARD_HAS_TAKEN = 10045; + RETCODE_RET_ROGUELIKE_ACTIVITY_CONTENT_CLOSED = 10046; + RETCODE_RET_ROGUELIKE_DUNGEON_PRE_QUEST_NOT_FINISHED = 10047; + RETCODE_RET_ROGUELIKE_DUNGEON_NOT_OPEN = 10048; + RETCODE_RET_ROGUELIKE_SPRINT_IS_BANNED = 10049; + RETCODE_RET_ROGUELIKE_DUNGEON_PRE_STAGE_NOT_FINISHED = 10050; + RETCODE_RET_ROGUELIKE_ALL_AVATAR_DIE_CANNOT_RESUME = 10051; + RETCODE_RET_PLANT_FLOWER_ALREADY_TAKE_SEED = 10056; + RETCODE_RET_PLANT_FLOWER_FRIEND_HAVE_FLOWER_LIMIT = 10057; + RETCODE_RET_PLANT_FLOWER_CAN_GIVE_FLOWER_NOT_ENOUGH = 10058; + RETCODE_RET_PLANT_FLOWER_WISH_FLOWER_KINDS_LIMIT = 10059; + RETCODE_RET_PLANT_FLOWER_HAVE_FLOWER_NOT_ENOUGH = 10060; + RETCODE_RET_PLANT_FLOWER_FLOWER_COMBINATION_INVALID = 10061; + RETCODE_RET_HACHI_DUNGEON_NOT_VALID = 10052; + RETCODE_RET_HACHI_DUNGEON_STAGE_NOT_OPEN = 10053; + RETCODE_RET_HACHI_DUNGEON_TEAMMATE_NOT_PASS = 10054; + RETCODE_RET_WINTER_CAMP_COIN_A_NOT_ENOUGH = 10071; + RETCODE_RET_WINTER_CAMP_COIN_B_NOT_ENOUGH = 10072; + RETCODE_RET_WINTER_CAMP_COIN_A_EXCEED_LIMIT = 10073; + RETCODE_RET_WINTER_CAMP_COIN_B_EXCEED_LIMIT = 10074; + RETCODE_RET_WINTER_CAMP_WISH_ID_INVALID = 10075; + RETCODE_RET_WINTER_CAMP_NOT_FOUND_RECV_ITEM_DATA = 10076; + RETCODE_RET_WINTER_CAMP_FRIEND_ITEM_COUNT_OVERFLOW = 10077; + RETCODE_RET_WINTER_CAMP_SELECT_ITEM_DATA_INVALID = 10078; + RETCODE_RET_WINTER_CAMP_ITEM_LIST_EMPTY = 10079; + RETCODE_RET_WINTER_CAMP_REWARD_ALREADY_TAKEN = 10080; + RETCODE_RET_WINTER_CAMP_STAGE_NOT_FINISH = 10081; + RETCODE_RET_WINTER_CAMP_GADGET_INVALID = 10082; + RETCODE_RET_LANTERN_RITE_COIN_A_NOT_ENOUGH = 10090; + RETCODE_RET_LANTERN_RITE_COIN_B_NOT_ENOUGH = 10091; + RETCODE_RET_LANTERN_RITE_COIN_C_NOT_ENOUGH = 10092; + RETCODE_RET_LANTERN_RITE_COIN_A_EXCEED_LIMIT = 10093; + RETCODE_RET_LANTERN_RITE_COIN_B_EXCEED_LIMIT = 10094; + RETCODE_RET_LANTERN_RITE_COIN_C_EXCEED_LIMIT = 10095; + RETCODE_RET_LANTERN_RITE_PROJECTION_CONTENT_CLOSED = 10096; + RETCODE_RET_LANTERN_RITE_PROJECTION_CAN_NOT_START = 10097; + RETCODE_RET_LANTERN_RITE_DUNGEON_NOT_OPEN = 10098; + RETCODE_RET_LANTERN_RITE_HAS_TAKEN_SKIN_REWARD = 10099; + RETCODE_RET_LANTERN_RITE_NOT_FINISHED_SKIN_WATCHERS = 10100; + RETCODE_RET_LANTERN_RITE_FIREWORKS_CONTENT_CLOSED = 10101; + RETCODE_RET_LANTERN_RITE_FIREWORKS_CHALLENGE_NOT_START = 10102; + RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_PARAM_ERROR = 10103; + RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_SKILL_LOCK = 10104; + RETCODE_RET_LANTERN_RITE_FIREWORKS_REFORM_STAMINA_NOT_ENOUGH = 10105; + RETCODE_RET_POTION_ACTIVITY_STAGE_NOT_OPEN = 10110; + RETCODE_RET_POTION_ACTIVITY_LEVEL_HAVE_PASS = 10111; + RETCODE_RET_POTION_ACTIVITY_TEAM_NUM_INCORRECT = 10112; + RETCODE_RET_POTION_ACTIVITY_AVATAR_IN_CD = 10113; + RETCODE_RET_POTION_ACTIVITY_BUFF_IN_CD = 10114; + RETCODE_RET_IRODORI_POETRY_INVALID_LINE_ID = 10120; + RETCODE_RET_IRODORI_POETRY_INVALID_THEME_ID = 10121; + RETCODE_RET_IRODORI_POETRY_NOT_GET_ALL_INSPIRATION = 10122; + RETCODE_RET_IRODORI_POETRY_INSPIRATION_REACH_LIMIE = 10123; + RETCODE_RET_IRODORI_POETRY_ENTITY_ALREADY_SCANNED = 10124; + RETCODE_RET_ACTIVITY_BANNER_ALREADY_CLEARED = 10300; + RETCODE_RET_IRODORI_CHESS_NOT_OPEN = 10301; + RETCODE_RET_IRODORI_CHESS_LEVEL_NOT_OPEN = 10302; + RETCODE_RET_IRODORI_CHESS_MAP_NOT_OPEN = 10303; + RETCODE_RET_IRODORI_CHESS_MAP_CARD_ALREADY_EQUIPED = 10304; + RETCODE_RET_IRODORI_CHESS_EQUIP_CARD_EXCEED_LIMIT = 10305; + RETCODE_RET_IRODORI_CHESS_MAP_CARD_NOT_EQUIPED = 10306; + RETCODE_RET_IRODORI_CHESS_ENTER_FAIL_CARD_EXCEED_LIMIT = 10307; + RETCODE_RET_ACTIVITY_FRIEND_HAVE_GIFT_LIMIT = 10310; + RETCODE_RET_GACHA_ACTIVITY_HAVE_REWARD_LIMIT = 10315; + RETCODE_RET_GACHA_ACTIVITY_HAVE_ROBOT_LIMIT = 10316; + RETCODE_RET_SUMMER_TIME_V2_COIN_EXCEED_LIMIT = 10317; + RETCODE_RET_SUMMER_TIME_V2_COIN_NOT_ENOUGH = 10318; + RETCODE_RET_SUMMER_TIME_V2_DUNGEON_STAGE_NOT_OPEN = 10319; + RETCODE_RET_SUMMER_TIME_V2_PREV_DUNGEON_NOT_COMPLETE = 10320; + RETCODE_RET_ROGUE_DIARY_AVATAR_DEATH = 10350; + RETCODE_RET_ROGUE_DIARY_AVATAR_TIRED = 10351; + RETCODE_RET_ROGUE_DIARY_AVATAR_DUPLICATED = 10352; + RETCODE_RET_ROGUE_DIARY_COIN_NOT_ENOUGH = 10353; + RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_EXCEED_LIMIT = 10354; + RETCODE_RET_ROGUE_DIARY_VIRTUAL_COIN_NOT_ENOUGH = 10355; + RETCODE_RET_ROGUE_DIARY_CONTENT_CLOSED = 10366; + RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_NOT_ENOUGH = 10380; + RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_NOT_ENOUGH = 10381; + RETCODE_RET_GRAVEN_INNOCENCE_COIN_A_EXCEED_LIMIT = 10382; + RETCODE_RET_GRAVEN_INNOCENCE_COIN_B_EXCEED_LIMIT = 10383; + RETCODE_RET_ISLAND_PARTY_STAGE_NOT_OPEN = 10371; + RETCODE_RET_NOT_IN_FISHING = 11001; + RETCODE_RET_FISH_STATE_ERROR = 11002; + RETCODE_RET_FISH_BAIT_LIMIT = 11003; + RETCODE_RET_FISHING_MAX_DISTANCE = 11004; + RETCODE_RET_FISHING_IN_COMBAT = 11005; + RETCODE_RET_FISHING_BATTLE_TOO_SHORT = 11006; + RETCODE_RET_FISH_GONE_AWAY = 11007; + RETCODE_RET_CAN_NOT_EDIT_OTHER_DUNGEON = 11051; + RETCODE_RET_CUSTOM_DUNGEON_DISMATCH = 11052; + RETCODE_RET_NO_CUSTOM_DUNGEON_DATA = 11053; + RETCODE_RET_BUILD_CUSTOM_DUNGEON_FAIL = 11054; + RETCODE_RET_CUSTOM_DUNGEON_ROOM_CHECK_FAIL = 11055; + RETCODE_RET_CUSTOM_DUNGEON_SAVE_MAY_FAIL = 11056; + RETCODE_RET_NOT_IN_CUSTOM_DUNGEON = 11057; + RETCODE_RET_CUSTOM_DUNGEON_INTERNAL_FAIL = 11058; + RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_TRY = 11059; + RETCODE_RET_CUSTOM_DUNGEON_NO_START_ROOM = 11060; + RETCODE_RET_CUSTOM_DUNGEON_NO_ROOM_DATA = 11061; + RETCODE_RET_CUSTOM_DUNGEON_SAVE_TOO_FREQUENT = 11062; + RETCODE_RET_CUSTOM_DUNGEON_NOT_SELF_PASS = 11063; + RETCODE_RET_CUSTOM_DUNGEON_LACK_COIN = 11064; + RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_BRICK = 11065; + RETCODE_RET_CUSTOM_DUNGEON_MULTI_FINISH = 11066; + RETCODE_RET_CUSTOM_DUNGEON_NOT_PUBLISHED = 11067; + RETCODE_RET_CUSTOM_DUNGEON_FULL_STORE = 11068; + RETCODE_RET_CUSTOM_DUNGEON_STORE_REPEAT = 11069; + RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_STORE_SELF = 11070; + RETCODE_RET_CUSTOM_DUNGEON_NOT_SAVE_SUCC = 11071; + RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_LIKE_SELF = 11072; + RETCODE_RET_CUSTOM_DUNGEON_NOT_FOUND = 11073; + RETCODE_RET_CUSTOM_DUNGEON_INVALID_SETTING = 11074; + RETCODE_RET_CUSTOM_DUNGEON_NO_FINISH_SETTING = 11075; + RETCODE_RET_CUSTOM_DUNGEON_SAVE_NOTHING = 11076; + RETCODE_RET_CUSTOM_DUNGEON_NOT_IN_GROUP = 11077; + RETCODE_RET_CUSTOM_DUNGEON_NOT_OFFICIAL = 11078; + RETCODE_RET_CUSTOM_DUNGEON_LIFE_NUM_ERROR = 11079; + RETCODE_RET_CUSTOM_DUNGEON_NO_OPEN_ROOM = 11080; + RETCODE_RET_CUSTOM_DUNGEON_BRICK_EXCEED_LIMIT = 11081; + RETCODE_RET_CUSTOM_DUNGEON_OFFICIAL_NOT_UNLOCK = 11082; + RETCODE_RET_CAN_NOT_EDIT_OFFICIAL_SETTING = 11083; + RETCODE_RET_CUSTOM_DUNGEON_BAN_PUBLISH = 11084; + RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_REPLAY = 11085; + RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN_GROUP = 11086; + RETCODE_RET_CUSTOM_DUNGEON_MAX_EDIT_NUM = 11087; + RETCODE_RET_CUSTOM_DUNGEON_CAN_NOT_OUT_STUCK = 11088; + RETCODE_RET_CUSTOM_DUNGEON_MAX_TAG = 11089; + RETCODE_RET_CUSTOM_DUNGEON_INVALID_TAG = 11090; + RETCODE_RET_CUSTOM_DUNGEON_MAX_COST = 11091; + RETCODE_RET_CUSTOM_DUNGEON_REQUEST_TOO_FREQUENT = 11092; + RETCODE_RET_CUSTOM_DUNGEON_NOT_OPEN = 11093; + RETCODE_RET_SHARE_CD_ID_ERROR = 11101; + RETCODE_RET_SHARE_CD_INDEX_ERROR = 11102; + RETCODE_RET_SHARE_CD_IN_CD = 11103; + RETCODE_RET_SHARE_CD_TOKEN_NOT_ENOUGH = 11104; + RETCODE_RET_UGC_DISMATCH = 11151; + RETCODE_RET_UGC_DATA_NOT_FOUND = 11152; + RETCODE_RET_UGC_BRIEF_NOT_FOUND = 11153; + RETCODE_RET_UGC_DISABLED = 11154; + RETCODE_RET_UGC_LIMITED = 11155; + RETCODE_RET_UGC_LOCKED = 11156; + RETCODE_RET_UGC_NOT_AUTH = 11157; + RETCODE_RET_UGC_NOT_OPEN = 11158; + RETCODE_RET_UGC_BAN_PUBLISH = 11159; + RETCODE_RET_COMPOUND_BOOST_ITEM_NOT_EXIST = 11201; + RETCODE_RET_COMPOUND_BOOST_TARGET_NOT_EXIST = 11202; + RETCODE_RET_QUICK_HIT_TREE_EMPTY_TREES = 11211; +} diff --git a/gate-hk4e-api/proto/ReunionActivateNotify.pb.go b/gate-hk4e-api/proto/ReunionActivateNotify.pb.go new file mode 100644 index 00000000..59b56de8 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionActivateNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionActivateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5085 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReunionActivateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsActivate bool `protobuf:"varint,9,opt,name=is_activate,json=isActivate,proto3" json:"is_activate,omitempty"` + ReunionBriefInfo *ReunionBriefInfo `protobuf:"bytes,13,opt,name=reunion_brief_info,json=reunionBriefInfo,proto3" json:"reunion_brief_info,omitempty"` +} + +func (x *ReunionActivateNotify) Reset() { + *x = ReunionActivateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionActivateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionActivateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionActivateNotify) ProtoMessage() {} + +func (x *ReunionActivateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReunionActivateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionActivateNotify.ProtoReflect.Descriptor instead. +func (*ReunionActivateNotify) Descriptor() ([]byte, []int) { + return file_ReunionActivateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionActivateNotify) GetIsActivate() bool { + if x != nil { + return x.IsActivate + } + return false +} + +func (x *ReunionActivateNotify) GetReunionBriefInfo() *ReunionBriefInfo { + if x != nil { + return x.ReunionBriefInfo + } + return nil +} + +var File_ReunionActivateNotify_proto protoreflect.FileDescriptor + +var file_ReunionActivateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, + 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x15, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, + 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, + 0x3f, 0x0a, 0x12, 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, + 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, + 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionActivateNotify_proto_rawDescOnce sync.Once + file_ReunionActivateNotify_proto_rawDescData = file_ReunionActivateNotify_proto_rawDesc +) + +func file_ReunionActivateNotify_proto_rawDescGZIP() []byte { + file_ReunionActivateNotify_proto_rawDescOnce.Do(func() { + file_ReunionActivateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionActivateNotify_proto_rawDescData) + }) + return file_ReunionActivateNotify_proto_rawDescData +} + +var file_ReunionActivateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionActivateNotify_proto_goTypes = []interface{}{ + (*ReunionActivateNotify)(nil), // 0: ReunionActivateNotify + (*ReunionBriefInfo)(nil), // 1: ReunionBriefInfo +} +var file_ReunionActivateNotify_proto_depIdxs = []int32{ + 1, // 0: ReunionActivateNotify.reunion_brief_info:type_name -> ReunionBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReunionActivateNotify_proto_init() } +func file_ReunionActivateNotify_proto_init() { + if File_ReunionActivateNotify_proto != nil { + return + } + file_ReunionBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReunionActivateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionActivateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionActivateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionActivateNotify_proto_goTypes, + DependencyIndexes: file_ReunionActivateNotify_proto_depIdxs, + MessageInfos: file_ReunionActivateNotify_proto_msgTypes, + }.Build() + File_ReunionActivateNotify_proto = out.File + file_ReunionActivateNotify_proto_rawDesc = nil + file_ReunionActivateNotify_proto_goTypes = nil + file_ReunionActivateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionActivateNotify.proto b/gate-hk4e-api/proto/ReunionActivateNotify.proto new file mode 100644 index 00000000..a2d01eee --- /dev/null +++ b/gate-hk4e-api/proto/ReunionActivateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5085 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReunionActivateNotify { + bool is_activate = 9; + ReunionBriefInfo reunion_brief_info = 13; +} diff --git a/gate-hk4e-api/proto/ReunionBriefInfo.pb.go b/gate-hk4e-api/proto/ReunionBriefInfo.pb.go new file mode 100644 index 00000000..f5932586 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfo.pb.go @@ -0,0 +1,264 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionBriefInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReunionBriefInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTakenFirstGift bool `protobuf:"varint,8,opt,name=is_taken_first_gift,json=isTakenFirstGift,proto3" json:"is_taken_first_gift,omitempty"` + MissionHasReward bool `protobuf:"varint,9,opt,name=mission_has_reward,json=missionHasReward,proto3" json:"mission_has_reward,omitempty"` + PrivilegeId uint32 `protobuf:"varint,5,opt,name=privilege_id,json=privilegeId,proto3" json:"privilege_id,omitempty"` + StartTime uint32 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Version string `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` + SignInHasReward bool `protobuf:"varint,2,opt,name=sign_in_has_reward,json=signInHasReward,proto3" json:"sign_in_has_reward,omitempty"` + FirstGiftRewardId uint32 `protobuf:"varint,15,opt,name=first_gift_reward_id,json=firstGiftRewardId,proto3" json:"first_gift_reward_id,omitempty"` + MissionId uint32 `protobuf:"varint,10,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` + FirstDayStartTime uint32 `protobuf:"varint,3,opt,name=first_day_start_time,json=firstDayStartTime,proto3" json:"first_day_start_time,omitempty"` + SignInConfigId uint32 `protobuf:"varint,6,opt,name=sign_in_config_id,json=signInConfigId,proto3" json:"sign_in_config_id,omitempty"` + FinishTime uint32 `protobuf:"varint,12,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` +} + +func (x *ReunionBriefInfo) Reset() { + *x = ReunionBriefInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionBriefInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionBriefInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionBriefInfo) ProtoMessage() {} + +func (x *ReunionBriefInfo) ProtoReflect() protoreflect.Message { + mi := &file_ReunionBriefInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionBriefInfo.ProtoReflect.Descriptor instead. +func (*ReunionBriefInfo) Descriptor() ([]byte, []int) { + return file_ReunionBriefInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionBriefInfo) GetIsTakenFirstGift() bool { + if x != nil { + return x.IsTakenFirstGift + } + return false +} + +func (x *ReunionBriefInfo) GetMissionHasReward() bool { + if x != nil { + return x.MissionHasReward + } + return false +} + +func (x *ReunionBriefInfo) GetPrivilegeId() uint32 { + if x != nil { + return x.PrivilegeId + } + return 0 +} + +func (x *ReunionBriefInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *ReunionBriefInfo) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *ReunionBriefInfo) GetSignInHasReward() bool { + if x != nil { + return x.SignInHasReward + } + return false +} + +func (x *ReunionBriefInfo) GetFirstGiftRewardId() uint32 { + if x != nil { + return x.FirstGiftRewardId + } + return 0 +} + +func (x *ReunionBriefInfo) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +func (x *ReunionBriefInfo) GetFirstDayStartTime() uint32 { + if x != nil { + return x.FirstDayStartTime + } + return 0 +} + +func (x *ReunionBriefInfo) GetSignInConfigId() uint32 { + if x != nil { + return x.SignInConfigId + } + return 0 +} + +func (x *ReunionBriefInfo) GetFinishTime() uint32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +var File_ReunionBriefInfo_proto protoreflect.FileDescriptor + +var file_ReunionBriefInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x03, 0x0a, 0x10, 0x52, 0x65, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2d, 0x0a, + 0x13, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x67, 0x69, 0x66, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x54, 0x61, + 0x6b, 0x65, 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x12, 0x2c, 0x0a, 0x12, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, + 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x12, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, + 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x67, 0x69, 0x66, + 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x64, 0x61, 0x79, + 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x44, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionBriefInfo_proto_rawDescOnce sync.Once + file_ReunionBriefInfo_proto_rawDescData = file_ReunionBriefInfo_proto_rawDesc +) + +func file_ReunionBriefInfo_proto_rawDescGZIP() []byte { + file_ReunionBriefInfo_proto_rawDescOnce.Do(func() { + file_ReunionBriefInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionBriefInfo_proto_rawDescData) + }) + return file_ReunionBriefInfo_proto_rawDescData +} + +var file_ReunionBriefInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionBriefInfo_proto_goTypes = []interface{}{ + (*ReunionBriefInfo)(nil), // 0: ReunionBriefInfo +} +var file_ReunionBriefInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionBriefInfo_proto_init() } +func file_ReunionBriefInfo_proto_init() { + if File_ReunionBriefInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionBriefInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionBriefInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionBriefInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionBriefInfo_proto_goTypes, + DependencyIndexes: file_ReunionBriefInfo_proto_depIdxs, + MessageInfos: file_ReunionBriefInfo_proto_msgTypes, + }.Build() + File_ReunionBriefInfo_proto = out.File + file_ReunionBriefInfo_proto_rawDesc = nil + file_ReunionBriefInfo_proto_goTypes = nil + file_ReunionBriefInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionBriefInfo.proto b/gate-hk4e-api/proto/ReunionBriefInfo.proto new file mode 100644 index 00000000..3d1e5e42 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ReunionBriefInfo { + bool is_taken_first_gift = 8; + bool mission_has_reward = 9; + uint32 privilege_id = 5; + uint32 start_time = 7; + string version = 13; + bool sign_in_has_reward = 2; + uint32 first_gift_reward_id = 15; + uint32 mission_id = 10; + uint32 first_day_start_time = 3; + uint32 sign_in_config_id = 6; + uint32 finish_time = 12; +} diff --git a/gate-hk4e-api/proto/ReunionBriefInfoReq.pb.go b/gate-hk4e-api/proto/ReunionBriefInfoReq.pb.go new file mode 100644 index 00000000..bcb96f17 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfoReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionBriefInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5076 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ReunionBriefInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReunionBriefInfoReq) Reset() { + *x = ReunionBriefInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionBriefInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionBriefInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionBriefInfoReq) ProtoMessage() {} + +func (x *ReunionBriefInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_ReunionBriefInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionBriefInfoReq.ProtoReflect.Descriptor instead. +func (*ReunionBriefInfoReq) Descriptor() ([]byte, []int) { + return file_ReunionBriefInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_ReunionBriefInfoReq_proto protoreflect.FileDescriptor + +var file_ReunionBriefInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x52, + 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionBriefInfoReq_proto_rawDescOnce sync.Once + file_ReunionBriefInfoReq_proto_rawDescData = file_ReunionBriefInfoReq_proto_rawDesc +) + +func file_ReunionBriefInfoReq_proto_rawDescGZIP() []byte { + file_ReunionBriefInfoReq_proto_rawDescOnce.Do(func() { + file_ReunionBriefInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionBriefInfoReq_proto_rawDescData) + }) + return file_ReunionBriefInfoReq_proto_rawDescData +} + +var file_ReunionBriefInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionBriefInfoReq_proto_goTypes = []interface{}{ + (*ReunionBriefInfoReq)(nil), // 0: ReunionBriefInfoReq +} +var file_ReunionBriefInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionBriefInfoReq_proto_init() } +func file_ReunionBriefInfoReq_proto_init() { + if File_ReunionBriefInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionBriefInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionBriefInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionBriefInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionBriefInfoReq_proto_goTypes, + DependencyIndexes: file_ReunionBriefInfoReq_proto_depIdxs, + MessageInfos: file_ReunionBriefInfoReq_proto_msgTypes, + }.Build() + File_ReunionBriefInfoReq_proto = out.File + file_ReunionBriefInfoReq_proto_rawDesc = nil + file_ReunionBriefInfoReq_proto_goTypes = nil + file_ReunionBriefInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionBriefInfoReq.proto b/gate-hk4e-api/proto/ReunionBriefInfoReq.proto new file mode 100644 index 00000000..a310e10a --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5076 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ReunionBriefInfoReq {} diff --git a/gate-hk4e-api/proto/ReunionBriefInfoRsp.pb.go b/gate-hk4e-api/proto/ReunionBriefInfoRsp.pb.go new file mode 100644 index 00000000..f44745e9 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfoRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionBriefInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5068 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReunionBriefInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsActivate bool `protobuf:"varint,13,opt,name=is_activate,json=isActivate,proto3" json:"is_activate,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + ReunionBriefInfo *ReunionBriefInfo `protobuf:"bytes,5,opt,name=reunion_brief_info,json=reunionBriefInfo,proto3" json:"reunion_brief_info,omitempty"` +} + +func (x *ReunionBriefInfoRsp) Reset() { + *x = ReunionBriefInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionBriefInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionBriefInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionBriefInfoRsp) ProtoMessage() {} + +func (x *ReunionBriefInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_ReunionBriefInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionBriefInfoRsp.ProtoReflect.Descriptor instead. +func (*ReunionBriefInfoRsp) Descriptor() ([]byte, []int) { + return file_ReunionBriefInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionBriefInfoRsp) GetIsActivate() bool { + if x != nil { + return x.IsActivate + } + return false +} + +func (x *ReunionBriefInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ReunionBriefInfoRsp) GetReunionBriefInfo() *ReunionBriefInfo { + if x != nil { + return x.ReunionBriefInfo + } + return nil +} + +var File_ReunionBriefInfoRsp_proto protoreflect.FileDescriptor + +var file_ReunionBriefInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x69, + 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0a, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3f, 0x0a, 0x12, 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, + 0x6e, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, + 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionBriefInfoRsp_proto_rawDescOnce sync.Once + file_ReunionBriefInfoRsp_proto_rawDescData = file_ReunionBriefInfoRsp_proto_rawDesc +) + +func file_ReunionBriefInfoRsp_proto_rawDescGZIP() []byte { + file_ReunionBriefInfoRsp_proto_rawDescOnce.Do(func() { + file_ReunionBriefInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionBriefInfoRsp_proto_rawDescData) + }) + return file_ReunionBriefInfoRsp_proto_rawDescData +} + +var file_ReunionBriefInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionBriefInfoRsp_proto_goTypes = []interface{}{ + (*ReunionBriefInfoRsp)(nil), // 0: ReunionBriefInfoRsp + (*ReunionBriefInfo)(nil), // 1: ReunionBriefInfo +} +var file_ReunionBriefInfoRsp_proto_depIdxs = []int32{ + 1, // 0: ReunionBriefInfoRsp.reunion_brief_info:type_name -> ReunionBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReunionBriefInfoRsp_proto_init() } +func file_ReunionBriefInfoRsp_proto_init() { + if File_ReunionBriefInfoRsp_proto != nil { + return + } + file_ReunionBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReunionBriefInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionBriefInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionBriefInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionBriefInfoRsp_proto_goTypes, + DependencyIndexes: file_ReunionBriefInfoRsp_proto_depIdxs, + MessageInfos: file_ReunionBriefInfoRsp_proto_msgTypes, + }.Build() + File_ReunionBriefInfoRsp_proto = out.File + file_ReunionBriefInfoRsp_proto_rawDesc = nil + file_ReunionBriefInfoRsp_proto_goTypes = nil + file_ReunionBriefInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionBriefInfoRsp.proto b/gate-hk4e-api/proto/ReunionBriefInfoRsp.proto new file mode 100644 index 00000000..d3affa5c --- /dev/null +++ b/gate-hk4e-api/proto/ReunionBriefInfoRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5068 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReunionBriefInfoRsp { + bool is_activate = 13; + int32 retcode = 14; + ReunionBriefInfo reunion_brief_info = 5; +} diff --git a/gate-hk4e-api/proto/ReunionDailyRefreshNotify.pb.go b/gate-hk4e-api/proto/ReunionDailyRefreshNotify.pb.go new file mode 100644 index 00000000..dc3ec312 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionDailyRefreshNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionDailyRefreshNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5100 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReunionDailyRefreshNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReunionBriefInfo *ReunionBriefInfo `protobuf:"bytes,4,opt,name=reunion_brief_info,json=reunionBriefInfo,proto3" json:"reunion_brief_info,omitempty"` +} + +func (x *ReunionDailyRefreshNotify) Reset() { + *x = ReunionDailyRefreshNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionDailyRefreshNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionDailyRefreshNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionDailyRefreshNotify) ProtoMessage() {} + +func (x *ReunionDailyRefreshNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReunionDailyRefreshNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionDailyRefreshNotify.ProtoReflect.Descriptor instead. +func (*ReunionDailyRefreshNotify) Descriptor() ([]byte, []int) { + return file_ReunionDailyRefreshNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionDailyRefreshNotify) GetReunionBriefInfo() *ReunionBriefInfo { + if x != nil { + return x.ReunionBriefInfo + } + return nil +} + +var File_ReunionDailyRefreshNotify_proto protoreflect.FileDescriptor + +var file_ReunionDailyRefreshNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x19, 0x52, 0x65, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3f, 0x0a, 0x12, 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, + 0x6e, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x72, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x72, + 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionDailyRefreshNotify_proto_rawDescOnce sync.Once + file_ReunionDailyRefreshNotify_proto_rawDescData = file_ReunionDailyRefreshNotify_proto_rawDesc +) + +func file_ReunionDailyRefreshNotify_proto_rawDescGZIP() []byte { + file_ReunionDailyRefreshNotify_proto_rawDescOnce.Do(func() { + file_ReunionDailyRefreshNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionDailyRefreshNotify_proto_rawDescData) + }) + return file_ReunionDailyRefreshNotify_proto_rawDescData +} + +var file_ReunionDailyRefreshNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionDailyRefreshNotify_proto_goTypes = []interface{}{ + (*ReunionDailyRefreshNotify)(nil), // 0: ReunionDailyRefreshNotify + (*ReunionBriefInfo)(nil), // 1: ReunionBriefInfo +} +var file_ReunionDailyRefreshNotify_proto_depIdxs = []int32{ + 1, // 0: ReunionDailyRefreshNotify.reunion_brief_info:type_name -> ReunionBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReunionDailyRefreshNotify_proto_init() } +func file_ReunionDailyRefreshNotify_proto_init() { + if File_ReunionDailyRefreshNotify_proto != nil { + return + } + file_ReunionBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReunionDailyRefreshNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionDailyRefreshNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionDailyRefreshNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionDailyRefreshNotify_proto_goTypes, + DependencyIndexes: file_ReunionDailyRefreshNotify_proto_depIdxs, + MessageInfos: file_ReunionDailyRefreshNotify_proto_msgTypes, + }.Build() + File_ReunionDailyRefreshNotify_proto = out.File + file_ReunionDailyRefreshNotify_proto_rawDesc = nil + file_ReunionDailyRefreshNotify_proto_goTypes = nil + file_ReunionDailyRefreshNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionDailyRefreshNotify.proto b/gate-hk4e-api/proto/ReunionDailyRefreshNotify.proto new file mode 100644 index 00000000..812063c5 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionDailyRefreshNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5100 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReunionDailyRefreshNotify { + ReunionBriefInfo reunion_brief_info = 4; +} diff --git a/gate-hk4e-api/proto/ReunionMissionInfo.pb.go b/gate-hk4e-api/proto/ReunionMissionInfo.pb.go new file mode 100644 index 00000000..eb1da390 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionMissionInfo.pb.go @@ -0,0 +1,240 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionMissionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReunionMissionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurDayWatcherList []*ReunionWatcherInfo `protobuf:"bytes,3,rep,name=cur_day_watcher_list,json=curDayWatcherList,proto3" json:"cur_day_watcher_list,omitempty"` + CurScore uint32 `protobuf:"varint,11,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + IsTakenReward bool `protobuf:"varint,8,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` + IsTakenRewardList []bool `protobuf:"varint,6,rep,packed,name=is_taken_reward_list,json=isTakenRewardList,proto3" json:"is_taken_reward_list,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,5,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + IsFinished bool `protobuf:"varint,9,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + MissionId uint32 `protobuf:"varint,12,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` + WatcherList []*ReunionWatcherInfo `protobuf:"bytes,2,rep,name=watcher_list,json=watcherList,proto3" json:"watcher_list,omitempty"` +} + +func (x *ReunionMissionInfo) Reset() { + *x = ReunionMissionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionMissionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionMissionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionMissionInfo) ProtoMessage() {} + +func (x *ReunionMissionInfo) ProtoReflect() protoreflect.Message { + mi := &file_ReunionMissionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionMissionInfo.ProtoReflect.Descriptor instead. +func (*ReunionMissionInfo) Descriptor() ([]byte, []int) { + return file_ReunionMissionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionMissionInfo) GetCurDayWatcherList() []*ReunionWatcherInfo { + if x != nil { + return x.CurDayWatcherList + } + return nil +} + +func (x *ReunionMissionInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *ReunionMissionInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +func (x *ReunionMissionInfo) GetIsTakenRewardList() []bool { + if x != nil { + return x.IsTakenRewardList + } + return nil +} + +func (x *ReunionMissionInfo) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *ReunionMissionInfo) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *ReunionMissionInfo) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +func (x *ReunionMissionInfo) GetWatcherList() []*ReunionWatcherInfo { + if x != nil { + return x.WatcherList + } + return nil +} + +var File_ReunionMissionInfo_proto protoreflect.FileDescriptor + +var file_ReunionMissionInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x52, 0x65, 0x75, 0x6e, + 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x14, 0x63, + 0x75, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x75, 0x6e, + 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, + 0x63, 0x75, 0x72, 0x44, 0x61, 0x79, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x26, + 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x74, 0x61, 0x6b, + 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x0c, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x75, 0x6e, + 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, + 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionMissionInfo_proto_rawDescOnce sync.Once + file_ReunionMissionInfo_proto_rawDescData = file_ReunionMissionInfo_proto_rawDesc +) + +func file_ReunionMissionInfo_proto_rawDescGZIP() []byte { + file_ReunionMissionInfo_proto_rawDescOnce.Do(func() { + file_ReunionMissionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionMissionInfo_proto_rawDescData) + }) + return file_ReunionMissionInfo_proto_rawDescData +} + +var file_ReunionMissionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionMissionInfo_proto_goTypes = []interface{}{ + (*ReunionMissionInfo)(nil), // 0: ReunionMissionInfo + (*ReunionWatcherInfo)(nil), // 1: ReunionWatcherInfo +} +var file_ReunionMissionInfo_proto_depIdxs = []int32{ + 1, // 0: ReunionMissionInfo.cur_day_watcher_list:type_name -> ReunionWatcherInfo + 1, // 1: ReunionMissionInfo.watcher_list:type_name -> ReunionWatcherInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ReunionMissionInfo_proto_init() } +func file_ReunionMissionInfo_proto_init() { + if File_ReunionMissionInfo_proto != nil { + return + } + file_ReunionWatcherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReunionMissionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionMissionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionMissionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionMissionInfo_proto_goTypes, + DependencyIndexes: file_ReunionMissionInfo_proto_depIdxs, + MessageInfos: file_ReunionMissionInfo_proto_msgTypes, + }.Build() + File_ReunionMissionInfo_proto = out.File + file_ReunionMissionInfo_proto_rawDesc = nil + file_ReunionMissionInfo_proto_goTypes = nil + file_ReunionMissionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionMissionInfo.proto b/gate-hk4e-api/proto/ReunionMissionInfo.proto new file mode 100644 index 00000000..61849a43 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionMissionInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionWatcherInfo.proto"; + +option go_package = "./;proto"; + +message ReunionMissionInfo { + repeated ReunionWatcherInfo cur_day_watcher_list = 3; + uint32 cur_score = 11; + bool is_taken_reward = 8; + repeated bool is_taken_reward_list = 6; + uint32 next_refresh_time = 5; + bool is_finished = 9; + uint32 mission_id = 12; + repeated ReunionWatcherInfo watcher_list = 2; +} diff --git a/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.pb.go b/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.pb.go new file mode 100644 index 00000000..cad611e6 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionPrivilegeChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5098 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReunionPrivilegeChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PrivilegeInfo *ReunionPrivilegeInfo `protobuf:"bytes,13,opt,name=privilege_info,json=privilegeInfo,proto3" json:"privilege_info,omitempty"` +} + +func (x *ReunionPrivilegeChangeNotify) Reset() { + *x = ReunionPrivilegeChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionPrivilegeChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionPrivilegeChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionPrivilegeChangeNotify) ProtoMessage() {} + +func (x *ReunionPrivilegeChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReunionPrivilegeChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionPrivilegeChangeNotify.ProtoReflect.Descriptor instead. +func (*ReunionPrivilegeChangeNotify) Descriptor() ([]byte, []int) { + return file_ReunionPrivilegeChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionPrivilegeChangeNotify) GetPrivilegeInfo() *ReunionPrivilegeInfo { + if x != nil { + return x.PrivilegeInfo + } + return nil +} + +var File_ReunionPrivilegeChangeNotify_proto protoreflect.FileDescriptor + +var file_ReunionPrivilegeChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, + 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, + 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5c, 0x0a, 0x1c, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x3c, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, + 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0d, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ReunionPrivilegeChangeNotify_proto_rawDescOnce sync.Once + file_ReunionPrivilegeChangeNotify_proto_rawDescData = file_ReunionPrivilegeChangeNotify_proto_rawDesc +) + +func file_ReunionPrivilegeChangeNotify_proto_rawDescGZIP() []byte { + file_ReunionPrivilegeChangeNotify_proto_rawDescOnce.Do(func() { + file_ReunionPrivilegeChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionPrivilegeChangeNotify_proto_rawDescData) + }) + return file_ReunionPrivilegeChangeNotify_proto_rawDescData +} + +var file_ReunionPrivilegeChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionPrivilegeChangeNotify_proto_goTypes = []interface{}{ + (*ReunionPrivilegeChangeNotify)(nil), // 0: ReunionPrivilegeChangeNotify + (*ReunionPrivilegeInfo)(nil), // 1: ReunionPrivilegeInfo +} +var file_ReunionPrivilegeChangeNotify_proto_depIdxs = []int32{ + 1, // 0: ReunionPrivilegeChangeNotify.privilege_info:type_name -> ReunionPrivilegeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ReunionPrivilegeChangeNotify_proto_init() } +func file_ReunionPrivilegeChangeNotify_proto_init() { + if File_ReunionPrivilegeChangeNotify_proto != nil { + return + } + file_ReunionPrivilegeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ReunionPrivilegeChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionPrivilegeChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionPrivilegeChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionPrivilegeChangeNotify_proto_goTypes, + DependencyIndexes: file_ReunionPrivilegeChangeNotify_proto_depIdxs, + MessageInfos: file_ReunionPrivilegeChangeNotify_proto_msgTypes, + }.Build() + File_ReunionPrivilegeChangeNotify_proto = out.File + file_ReunionPrivilegeChangeNotify_proto_rawDesc = nil + file_ReunionPrivilegeChangeNotify_proto_goTypes = nil + file_ReunionPrivilegeChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.proto b/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.proto new file mode 100644 index 00000000..e113cddb --- /dev/null +++ b/gate-hk4e-api/proto/ReunionPrivilegeChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionPrivilegeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5098 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReunionPrivilegeChangeNotify { + ReunionPrivilegeInfo privilege_info = 13; +} diff --git a/gate-hk4e-api/proto/ReunionPrivilegeInfo.pb.go b/gate-hk4e-api/proto/ReunionPrivilegeInfo.pb.go new file mode 100644 index 00000000..663c3ed0 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionPrivilegeInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionPrivilegeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReunionPrivilegeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurDayCount uint32 `protobuf:"varint,7,opt,name=cur_day_count,json=curDayCount,proto3" json:"cur_day_count,omitempty"` + TotalCount uint32 `protobuf:"varint,10,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` + PrivilegeId uint32 `protobuf:"varint,4,opt,name=privilege_id,json=privilegeId,proto3" json:"privilege_id,omitempty"` +} + +func (x *ReunionPrivilegeInfo) Reset() { + *x = ReunionPrivilegeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionPrivilegeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionPrivilegeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionPrivilegeInfo) ProtoMessage() {} + +func (x *ReunionPrivilegeInfo) ProtoReflect() protoreflect.Message { + mi := &file_ReunionPrivilegeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionPrivilegeInfo.ProtoReflect.Descriptor instead. +func (*ReunionPrivilegeInfo) Descriptor() ([]byte, []int) { + return file_ReunionPrivilegeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionPrivilegeInfo) GetCurDayCount() uint32 { + if x != nil { + return x.CurDayCount + } + return 0 +} + +func (x *ReunionPrivilegeInfo) GetTotalCount() uint32 { + if x != nil { + return x.TotalCount + } + return 0 +} + +func (x *ReunionPrivilegeInfo) GetPrivilegeId() uint32 { + if x != nil { + return x.PrivilegeId + } + return 0 +} + +var File_ReunionPrivilegeInfo_proto protoreflect.FileDescriptor + +var file_ReunionPrivilegeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x14, + 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, + 0x44, 0x61, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, + 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionPrivilegeInfo_proto_rawDescOnce sync.Once + file_ReunionPrivilegeInfo_proto_rawDescData = file_ReunionPrivilegeInfo_proto_rawDesc +) + +func file_ReunionPrivilegeInfo_proto_rawDescGZIP() []byte { + file_ReunionPrivilegeInfo_proto_rawDescOnce.Do(func() { + file_ReunionPrivilegeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionPrivilegeInfo_proto_rawDescData) + }) + return file_ReunionPrivilegeInfo_proto_rawDescData +} + +var file_ReunionPrivilegeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionPrivilegeInfo_proto_goTypes = []interface{}{ + (*ReunionPrivilegeInfo)(nil), // 0: ReunionPrivilegeInfo +} +var file_ReunionPrivilegeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionPrivilegeInfo_proto_init() } +func file_ReunionPrivilegeInfo_proto_init() { + if File_ReunionPrivilegeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionPrivilegeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionPrivilegeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionPrivilegeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionPrivilegeInfo_proto_goTypes, + DependencyIndexes: file_ReunionPrivilegeInfo_proto_depIdxs, + MessageInfos: file_ReunionPrivilegeInfo_proto_msgTypes, + }.Build() + File_ReunionPrivilegeInfo_proto = out.File + file_ReunionPrivilegeInfo_proto_rawDesc = nil + file_ReunionPrivilegeInfo_proto_goTypes = nil + file_ReunionPrivilegeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionPrivilegeInfo.proto b/gate-hk4e-api/proto/ReunionPrivilegeInfo.proto new file mode 100644 index 00000000..3427633e --- /dev/null +++ b/gate-hk4e-api/proto/ReunionPrivilegeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ReunionPrivilegeInfo { + uint32 cur_day_count = 7; + uint32 total_count = 10; + uint32 privilege_id = 4; +} diff --git a/gate-hk4e-api/proto/ReunionSettleNotify.pb.go b/gate-hk4e-api/proto/ReunionSettleNotify.pb.go new file mode 100644 index 00000000..04525abe --- /dev/null +++ b/gate-hk4e-api/proto/ReunionSettleNotify.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5073 +// EnetChannelId: 0 +// EnetIsReliable: true +type ReunionSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReunionSettleNotify) Reset() { + *x = ReunionSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionSettleNotify) ProtoMessage() {} + +func (x *ReunionSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_ReunionSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionSettleNotify.ProtoReflect.Descriptor instead. +func (*ReunionSettleNotify) Descriptor() ([]byte, []int) { + return file_ReunionSettleNotify_proto_rawDescGZIP(), []int{0} +} + +var File_ReunionSettleNotify_proto protoreflect.FileDescriptor + +var file_ReunionSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x52, + 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionSettleNotify_proto_rawDescOnce sync.Once + file_ReunionSettleNotify_proto_rawDescData = file_ReunionSettleNotify_proto_rawDesc +) + +func file_ReunionSettleNotify_proto_rawDescGZIP() []byte { + file_ReunionSettleNotify_proto_rawDescOnce.Do(func() { + file_ReunionSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionSettleNotify_proto_rawDescData) + }) + return file_ReunionSettleNotify_proto_rawDescData +} + +var file_ReunionSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionSettleNotify_proto_goTypes = []interface{}{ + (*ReunionSettleNotify)(nil), // 0: ReunionSettleNotify +} +var file_ReunionSettleNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionSettleNotify_proto_init() } +func file_ReunionSettleNotify_proto_init() { + if File_ReunionSettleNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionSettleNotify_proto_goTypes, + DependencyIndexes: file_ReunionSettleNotify_proto_depIdxs, + MessageInfos: file_ReunionSettleNotify_proto_msgTypes, + }.Build() + File_ReunionSettleNotify_proto = out.File + file_ReunionSettleNotify_proto_rawDesc = nil + file_ReunionSettleNotify_proto_goTypes = nil + file_ReunionSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionSettleNotify.proto b/gate-hk4e-api/proto/ReunionSettleNotify.proto new file mode 100644 index 00000000..a2cdaabb --- /dev/null +++ b/gate-hk4e-api/proto/ReunionSettleNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5073 +// EnetChannelId: 0 +// EnetIsReliable: true +message ReunionSettleNotify {} diff --git a/gate-hk4e-api/proto/ReunionSignInInfo.pb.go b/gate-hk4e-api/proto/ReunionSignInInfo.pb.go new file mode 100644 index 00000000..5a0897ff --- /dev/null +++ b/gate-hk4e-api/proto/ReunionSignInInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionSignInInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReunionSignInInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignInCount uint32 `protobuf:"varint,6,opt,name=sign_in_count,json=signInCount,proto3" json:"sign_in_count,omitempty"` + RewardDayList []uint32 `protobuf:"varint,8,rep,packed,name=reward_day_list,json=rewardDayList,proto3" json:"reward_day_list,omitempty"` + ConfigId uint32 `protobuf:"varint,12,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + LastSignInTime uint32 `protobuf:"varint,11,opt,name=last_sign_in_time,json=lastSignInTime,proto3" json:"last_sign_in_time,omitempty"` +} + +func (x *ReunionSignInInfo) Reset() { + *x = ReunionSignInInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionSignInInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionSignInInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionSignInInfo) ProtoMessage() {} + +func (x *ReunionSignInInfo) ProtoReflect() protoreflect.Message { + mi := &file_ReunionSignInInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionSignInInfo.ProtoReflect.Descriptor instead. +func (*ReunionSignInInfo) Descriptor() ([]byte, []int) { + return file_ReunionSignInInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionSignInInfo) GetSignInCount() uint32 { + if x != nil { + return x.SignInCount + } + return 0 +} + +func (x *ReunionSignInInfo) GetRewardDayList() []uint32 { + if x != nil { + return x.RewardDayList + } + return nil +} + +func (x *ReunionSignInInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *ReunionSignInInfo) GetLastSignInTime() uint32 { + if x != nil { + return x.LastSignInTime + } + return 0 +} + +var File_ReunionSignInInfo_proto protoreflect.FileDescriptor + +var file_ReunionSignInInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x52, 0x65, + 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x22, 0x0a, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, + 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionSignInInfo_proto_rawDescOnce sync.Once + file_ReunionSignInInfo_proto_rawDescData = file_ReunionSignInInfo_proto_rawDesc +) + +func file_ReunionSignInInfo_proto_rawDescGZIP() []byte { + file_ReunionSignInInfo_proto_rawDescOnce.Do(func() { + file_ReunionSignInInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionSignInInfo_proto_rawDescData) + }) + return file_ReunionSignInInfo_proto_rawDescData +} + +var file_ReunionSignInInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionSignInInfo_proto_goTypes = []interface{}{ + (*ReunionSignInInfo)(nil), // 0: ReunionSignInInfo +} +var file_ReunionSignInInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionSignInInfo_proto_init() } +func file_ReunionSignInInfo_proto_init() { + if File_ReunionSignInInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionSignInInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionSignInInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionSignInInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionSignInInfo_proto_goTypes, + DependencyIndexes: file_ReunionSignInInfo_proto_depIdxs, + MessageInfos: file_ReunionSignInInfo_proto_msgTypes, + }.Build() + File_ReunionSignInInfo_proto = out.File + file_ReunionSignInInfo_proto_rawDesc = nil + file_ReunionSignInInfo_proto_goTypes = nil + file_ReunionSignInInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionSignInInfo.proto b/gate-hk4e-api/proto/ReunionSignInInfo.proto new file mode 100644 index 00000000..a5f137c5 --- /dev/null +++ b/gate-hk4e-api/proto/ReunionSignInInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ReunionSignInInfo { + uint32 sign_in_count = 6; + repeated uint32 reward_day_list = 8; + uint32 config_id = 12; + uint32 last_sign_in_time = 11; +} diff --git a/gate-hk4e-api/proto/ReunionWatcherInfo.pb.go b/gate-hk4e-api/proto/ReunionWatcherInfo.pb.go new file mode 100644 index 00000000..9aa6cf0c --- /dev/null +++ b/gate-hk4e-api/proto/ReunionWatcherInfo.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ReunionWatcherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ReunionWatcherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardUnlockTime uint32 `protobuf:"varint,12,opt,name=reward_unlock_time,json=rewardUnlockTime,proto3" json:"reward_unlock_time,omitempty"` + WatcherId uint32 `protobuf:"varint,3,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` + TotalProgress uint32 `protobuf:"varint,4,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + CurProgress uint32 `protobuf:"varint,11,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + IsTakenReward bool `protobuf:"varint,14,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` +} + +func (x *ReunionWatcherInfo) Reset() { + *x = ReunionWatcherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ReunionWatcherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReunionWatcherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReunionWatcherInfo) ProtoMessage() {} + +func (x *ReunionWatcherInfo) ProtoReflect() protoreflect.Message { + mi := &file_ReunionWatcherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReunionWatcherInfo.ProtoReflect.Descriptor instead. +func (*ReunionWatcherInfo) Descriptor() ([]byte, []int) { + return file_ReunionWatcherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ReunionWatcherInfo) GetRewardUnlockTime() uint32 { + if x != nil { + return x.RewardUnlockTime + } + return 0 +} + +func (x *ReunionWatcherInfo) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +func (x *ReunionWatcherInfo) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *ReunionWatcherInfo) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *ReunionWatcherInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +var File_ReunionWatcherInfo_proto protoreflect.FileDescriptor + +var file_ReunionWatcherInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x12, 0x52, + 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x25, + 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x74, + 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0d, 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ReunionWatcherInfo_proto_rawDescOnce sync.Once + file_ReunionWatcherInfo_proto_rawDescData = file_ReunionWatcherInfo_proto_rawDesc +) + +func file_ReunionWatcherInfo_proto_rawDescGZIP() []byte { + file_ReunionWatcherInfo_proto_rawDescOnce.Do(func() { + file_ReunionWatcherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReunionWatcherInfo_proto_rawDescData) + }) + return file_ReunionWatcherInfo_proto_rawDescData +} + +var file_ReunionWatcherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ReunionWatcherInfo_proto_goTypes = []interface{}{ + (*ReunionWatcherInfo)(nil), // 0: ReunionWatcherInfo +} +var file_ReunionWatcherInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ReunionWatcherInfo_proto_init() } +func file_ReunionWatcherInfo_proto_init() { + if File_ReunionWatcherInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ReunionWatcherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReunionWatcherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ReunionWatcherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ReunionWatcherInfo_proto_goTypes, + DependencyIndexes: file_ReunionWatcherInfo_proto_depIdxs, + MessageInfos: file_ReunionWatcherInfo_proto_msgTypes, + }.Build() + File_ReunionWatcherInfo_proto = out.File + file_ReunionWatcherInfo_proto_rawDesc = nil + file_ReunionWatcherInfo_proto_goTypes = nil + file_ReunionWatcherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ReunionWatcherInfo.proto b/gate-hk4e-api/proto/ReunionWatcherInfo.proto new file mode 100644 index 00000000..5181bd7e --- /dev/null +++ b/gate-hk4e-api/proto/ReunionWatcherInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ReunionWatcherInfo { + uint32 reward_unlock_time = 12; + uint32 watcher_id = 3; + uint32 total_progress = 4; + uint32 cur_progress = 11; + bool is_taken_reward = 14; +} diff --git a/gate-hk4e-api/proto/Reward.pb.go b/gate-hk4e-api/proto/Reward.pb.go new file mode 100644 index 00000000..108dab27 --- /dev/null +++ b/gate-hk4e-api/proto/Reward.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Reward.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Reward struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,1,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,2,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *Reward) Reset() { + *x = Reward{} + if protoimpl.UnsafeEnabled { + mi := &file_Reward_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Reward) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Reward) ProtoMessage() {} + +func (x *Reward) ProtoReflect() protoreflect.Message { + mi := &file_Reward_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Reward.ProtoReflect.Descriptor instead. +func (*Reward) Descriptor() ([]byte, []int) { + return file_Reward_proto_rawDescGZIP(), []int{0} +} + +func (x *Reward) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *Reward) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_Reward_proto protoreflect.FileDescriptor + +var file_Reward_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x4e, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Reward_proto_rawDescOnce sync.Once + file_Reward_proto_rawDescData = file_Reward_proto_rawDesc +) + +func file_Reward_proto_rawDescGZIP() []byte { + file_Reward_proto_rawDescOnce.Do(func() { + file_Reward_proto_rawDescData = protoimpl.X.CompressGZIP(file_Reward_proto_rawDescData) + }) + return file_Reward_proto_rawDescData +} + +var file_Reward_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Reward_proto_goTypes = []interface{}{ + (*Reward)(nil), // 0: Reward + (*ItemParam)(nil), // 1: ItemParam +} +var file_Reward_proto_depIdxs = []int32{ + 1, // 0: Reward.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Reward_proto_init() } +func file_Reward_proto_init() { + if File_Reward_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Reward_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reward); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Reward_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Reward_proto_goTypes, + DependencyIndexes: file_Reward_proto_depIdxs, + MessageInfos: file_Reward_proto_msgTypes, + }.Build() + File_Reward_proto = out.File + file_Reward_proto_rawDesc = nil + file_Reward_proto_goTypes = nil + file_Reward_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Reward.proto b/gate-hk4e-api/proto/Reward.proto new file mode 100644 index 00000000..cf694d00 --- /dev/null +++ b/gate-hk4e-api/proto/Reward.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message Reward { + uint32 reward_id = 1; + repeated ItemParam item_list = 2; +} diff --git a/gate-hk4e-api/proto/RobotPushPlayerDataNotify.pb.go b/gate-hk4e-api/proto/RobotPushPlayerDataNotify.pb.go new file mode 100644 index 00000000..e6eb92de --- /dev/null +++ b/gate-hk4e-api/proto/RobotPushPlayerDataNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RobotPushPlayerDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 97 +// EnetChannelId: 0 +// EnetIsReliable: true +type RobotPushPlayerDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Bin []byte `protobuf:"bytes,6,opt,name=bin,proto3" json:"bin,omitempty"` +} + +func (x *RobotPushPlayerDataNotify) Reset() { + *x = RobotPushPlayerDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RobotPushPlayerDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RobotPushPlayerDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RobotPushPlayerDataNotify) ProtoMessage() {} + +func (x *RobotPushPlayerDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_RobotPushPlayerDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RobotPushPlayerDataNotify.ProtoReflect.Descriptor instead. +func (*RobotPushPlayerDataNotify) Descriptor() ([]byte, []int) { + return file_RobotPushPlayerDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RobotPushPlayerDataNotify) GetBin() []byte { + if x != nil { + return x.Bin + } + return nil +} + +var File_RobotPushPlayerDataNotify_proto protoreflect.FileDescriptor + +var file_RobotPushPlayerDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x75, 0x73, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x2d, 0x0a, 0x19, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x75, 0x73, 0x68, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x62, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x62, 0x69, 0x6e, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RobotPushPlayerDataNotify_proto_rawDescOnce sync.Once + file_RobotPushPlayerDataNotify_proto_rawDescData = file_RobotPushPlayerDataNotify_proto_rawDesc +) + +func file_RobotPushPlayerDataNotify_proto_rawDescGZIP() []byte { + file_RobotPushPlayerDataNotify_proto_rawDescOnce.Do(func() { + file_RobotPushPlayerDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RobotPushPlayerDataNotify_proto_rawDescData) + }) + return file_RobotPushPlayerDataNotify_proto_rawDescData +} + +var file_RobotPushPlayerDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RobotPushPlayerDataNotify_proto_goTypes = []interface{}{ + (*RobotPushPlayerDataNotify)(nil), // 0: RobotPushPlayerDataNotify +} +var file_RobotPushPlayerDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RobotPushPlayerDataNotify_proto_init() } +func file_RobotPushPlayerDataNotify_proto_init() { + if File_RobotPushPlayerDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RobotPushPlayerDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RobotPushPlayerDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RobotPushPlayerDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RobotPushPlayerDataNotify_proto_goTypes, + DependencyIndexes: file_RobotPushPlayerDataNotify_proto_depIdxs, + MessageInfos: file_RobotPushPlayerDataNotify_proto_msgTypes, + }.Build() + File_RobotPushPlayerDataNotify_proto = out.File + file_RobotPushPlayerDataNotify_proto_rawDesc = nil + file_RobotPushPlayerDataNotify_proto_goTypes = nil + file_RobotPushPlayerDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RobotPushPlayerDataNotify.proto b/gate-hk4e-api/proto/RobotPushPlayerDataNotify.proto new file mode 100644 index 00000000..5a6bb09d --- /dev/null +++ b/gate-hk4e-api/proto/RobotPushPlayerDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 97 +// EnetChannelId: 0 +// EnetIsReliable: true +message RobotPushPlayerDataNotify { + bytes bin = 6; +} diff --git a/gate-hk4e-api/proto/RogueAvatarInfo.pb.go b/gate-hk4e-api/proto/RogueAvatarInfo.pb.go new file mode 100644 index 00000000..598a7b59 --- /dev/null +++ b/gate-hk4e-api/proto/RogueAvatarInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOnstage bool `protobuf:"varint,5,opt,name=is_onstage,json=isOnstage,proto3" json:"is_onstage,omitempty"` + IsAlive bool `protobuf:"varint,3,opt,name=is_alive,json=isAlive,proto3" json:"is_alive,omitempty"` + AvatarId uint32 `protobuf:"varint,14,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *RogueAvatarInfo) Reset() { + *x = RogueAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueAvatarInfo) ProtoMessage() {} + +func (x *RogueAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_RogueAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueAvatarInfo.ProtoReflect.Descriptor instead. +func (*RogueAvatarInfo) Descriptor() ([]byte, []int) { + return file_RogueAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueAvatarInfo) GetIsOnstage() bool { + if x != nil { + return x.IsOnstage + } + return false +} + +func (x *RogueAvatarInfo) GetIsAlive() bool { + if x != nil { + return x.IsAlive + } + return false +} + +func (x *RogueAvatarInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_RogueAvatarInfo_proto protoreflect.FileDescriptor + +var file_RogueAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0f, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, + 0x5f, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x69, 0x73, 0x4f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, + 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, + 0x6c, 0x69, 0x76, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueAvatarInfo_proto_rawDescOnce sync.Once + file_RogueAvatarInfo_proto_rawDescData = file_RogueAvatarInfo_proto_rawDesc +) + +func file_RogueAvatarInfo_proto_rawDescGZIP() []byte { + file_RogueAvatarInfo_proto_rawDescOnce.Do(func() { + file_RogueAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueAvatarInfo_proto_rawDescData) + }) + return file_RogueAvatarInfo_proto_rawDescData +} + +var file_RogueAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueAvatarInfo_proto_goTypes = []interface{}{ + (*RogueAvatarInfo)(nil), // 0: RogueAvatarInfo +} +var file_RogueAvatarInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueAvatarInfo_proto_init() } +func file_RogueAvatarInfo_proto_init() { + if File_RogueAvatarInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueAvatarInfo_proto_goTypes, + DependencyIndexes: file_RogueAvatarInfo_proto_depIdxs, + MessageInfos: file_RogueAvatarInfo_proto_msgTypes, + }.Build() + File_RogueAvatarInfo_proto = out.File + file_RogueAvatarInfo_proto_rawDesc = nil + file_RogueAvatarInfo_proto_goTypes = nil + file_RogueAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueAvatarInfo.proto b/gate-hk4e-api/proto/RogueAvatarInfo.proto new file mode 100644 index 00000000..8f2d3b15 --- /dev/null +++ b/gate-hk4e-api/proto/RogueAvatarInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RogueAvatarInfo { + bool is_onstage = 5; + bool is_alive = 3; + uint32 avatar_id = 14; +} diff --git a/gate-hk4e-api/proto/RogueCellInfo.pb.go b/gate-hk4e-api/proto/RogueCellInfo.pb.go new file mode 100644 index 00000000..4f6d6fa3 --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueCellInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueCellInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellConfigId uint32 `protobuf:"varint,14,opt,name=cell_config_id,json=cellConfigId,proto3" json:"cell_config_id,omitempty"` + DungeonId uint32 `protobuf:"varint,4,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,9,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` + CellType uint32 `protobuf:"varint,13,opt,name=cell_type,json=cellType,proto3" json:"cell_type,omitempty"` + State RogueCellState `protobuf:"varint,10,opt,name=state,proto3,enum=RogueCellState" json:"state,omitempty"` +} + +func (x *RogueCellInfo) Reset() { + *x = RogueCellInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueCellInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueCellInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueCellInfo) ProtoMessage() {} + +func (x *RogueCellInfo) ProtoReflect() protoreflect.Message { + mi := &file_RogueCellInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueCellInfo.ProtoReflect.Descriptor instead. +func (*RogueCellInfo) Descriptor() ([]byte, []int) { + return file_RogueCellInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueCellInfo) GetCellConfigId() uint32 { + if x != nil { + return x.CellConfigId + } + return 0 +} + +func (x *RogueCellInfo) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *RogueCellInfo) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +func (x *RogueCellInfo) GetCellType() uint32 { + if x != nil { + return x.CellType + } + return 0 +} + +func (x *RogueCellInfo) GetState() RogueCellState { + if x != nil { + return x.State + } + return RogueCellState_ROGUE_CELL_STATE_NONE +} + +var File_RogueCellInfo_proto protoreflect.FileDescriptor + +var file_RogueCellInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x0d, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, + 0x0e, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x65, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x65, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, + 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RogueCellInfo_proto_rawDescOnce sync.Once + file_RogueCellInfo_proto_rawDescData = file_RogueCellInfo_proto_rawDesc +) + +func file_RogueCellInfo_proto_rawDescGZIP() []byte { + file_RogueCellInfo_proto_rawDescOnce.Do(func() { + file_RogueCellInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueCellInfo_proto_rawDescData) + }) + return file_RogueCellInfo_proto_rawDescData +} + +var file_RogueCellInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueCellInfo_proto_goTypes = []interface{}{ + (*RogueCellInfo)(nil), // 0: RogueCellInfo + (RogueCellState)(0), // 1: RogueCellState +} +var file_RogueCellInfo_proto_depIdxs = []int32{ + 1, // 0: RogueCellInfo.state:type_name -> RogueCellState + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RogueCellInfo_proto_init() } +func file_RogueCellInfo_proto_init() { + if File_RogueCellInfo_proto != nil { + return + } + file_RogueCellState_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueCellInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueCellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueCellInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueCellInfo_proto_goTypes, + DependencyIndexes: file_RogueCellInfo_proto_depIdxs, + MessageInfos: file_RogueCellInfo_proto_msgTypes, + }.Build() + File_RogueCellInfo_proto = out.File + file_RogueCellInfo_proto_rawDesc = nil + file_RogueCellInfo_proto_goTypes = nil + file_RogueCellInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueCellInfo.proto b/gate-hk4e-api/proto/RogueCellInfo.proto new file mode 100644 index 00000000..4bd55b5c --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueCellState.proto"; + +option go_package = "./;proto"; + +message RogueCellInfo { + uint32 cell_config_id = 14; + uint32 dungeon_id = 4; + uint32 cell_id = 9; + uint32 cell_type = 13; + RogueCellState state = 10; +} diff --git a/gate-hk4e-api/proto/RogueCellState.pb.go b/gate-hk4e-api/proto/RogueCellState.pb.go new file mode 100644 index 00000000..f9277a4f --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellState.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueCellState.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueCellState int32 + +const ( + RogueCellState_ROGUE_CELL_STATE_NONE RogueCellState = 0 + RogueCellState_ROGUE_CELL_STATE_BATTLE RogueCellState = 1 + RogueCellState_ROGUE_CELL_STATE_SUCCESS RogueCellState = 2 + RogueCellState_ROGUE_CELL_STATE_FINISH RogueCellState = 3 + RogueCellState_ROGUE_CELL_STATE_Unk2200_KKHGKOBCFKJ RogueCellState = 4 +) + +// Enum value maps for RogueCellState. +var ( + RogueCellState_name = map[int32]string{ + 0: "ROGUE_CELL_STATE_NONE", + 1: "ROGUE_CELL_STATE_BATTLE", + 2: "ROGUE_CELL_STATE_SUCCESS", + 3: "ROGUE_CELL_STATE_FINISH", + 4: "ROGUE_CELL_STATE_Unk2200_KKHGKOBCFKJ", + } + RogueCellState_value = map[string]int32{ + "ROGUE_CELL_STATE_NONE": 0, + "ROGUE_CELL_STATE_BATTLE": 1, + "ROGUE_CELL_STATE_SUCCESS": 2, + "ROGUE_CELL_STATE_FINISH": 3, + "ROGUE_CELL_STATE_Unk2200_KKHGKOBCFKJ": 4, + } +) + +func (x RogueCellState) Enum() *RogueCellState { + p := new(RogueCellState) + *p = x + return p +} + +func (x RogueCellState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RogueCellState) Descriptor() protoreflect.EnumDescriptor { + return file_RogueCellState_proto_enumTypes[0].Descriptor() +} + +func (RogueCellState) Type() protoreflect.EnumType { + return &file_RogueCellState_proto_enumTypes[0] +} + +func (x RogueCellState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RogueCellState.Descriptor instead. +func (RogueCellState) EnumDescriptor() ([]byte, []int) { + return file_RogueCellState_proto_rawDescGZIP(), []int{0} +} + +var File_RogueCellState_proto protoreflect.FileDescriptor + +var file_RogueCellState_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xad, 0x01, 0x0a, 0x0e, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x43, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x4f, 0x47, + 0x55, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x43, 0x45, + 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x10, + 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, + 0x1b, 0x0a, 0x17, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x10, 0x03, 0x12, 0x28, 0x0a, 0x24, + 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x32, 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x48, 0x47, 0x4b, 0x4f, 0x42, + 0x43, 0x46, 0x4b, 0x4a, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueCellState_proto_rawDescOnce sync.Once + file_RogueCellState_proto_rawDescData = file_RogueCellState_proto_rawDesc +) + +func file_RogueCellState_proto_rawDescGZIP() []byte { + file_RogueCellState_proto_rawDescOnce.Do(func() { + file_RogueCellState_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueCellState_proto_rawDescData) + }) + return file_RogueCellState_proto_rawDescData +} + +var file_RogueCellState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_RogueCellState_proto_goTypes = []interface{}{ + (RogueCellState)(0), // 0: RogueCellState +} +var file_RogueCellState_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueCellState_proto_init() } +func file_RogueCellState_proto_init() { + if File_RogueCellState_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueCellState_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueCellState_proto_goTypes, + DependencyIndexes: file_RogueCellState_proto_depIdxs, + EnumInfos: file_RogueCellState_proto_enumTypes, + }.Build() + File_RogueCellState_proto = out.File + file_RogueCellState_proto_rawDesc = nil + file_RogueCellState_proto_goTypes = nil + file_RogueCellState_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueCellState.proto b/gate-hk4e-api/proto/RogueCellState.proto new file mode 100644 index 00000000..cb09c391 --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellState.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum RogueCellState { + ROGUE_CELL_STATE_NONE = 0; + ROGUE_CELL_STATE_BATTLE = 1; + ROGUE_CELL_STATE_SUCCESS = 2; + ROGUE_CELL_STATE_FINISH = 3; + ROGUE_CELL_STATE_Unk2200_KKHGKOBCFKJ = 4; +} diff --git a/gate-hk4e-api/proto/RogueCellUpdateNotify.pb.go b/gate-hk4e-api/proto/RogueCellUpdateNotify.pb.go new file mode 100644 index 00000000..93ce7413 --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellUpdateNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueCellUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8642 +// EnetChannelId: 0 +// EnetIsReliable: true +type RogueCellUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellInfo *RogueCellInfo `protobuf:"bytes,7,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *RogueCellUpdateNotify) Reset() { + *x = RogueCellUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueCellUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueCellUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueCellUpdateNotify) ProtoMessage() {} + +func (x *RogueCellUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_RogueCellUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueCellUpdateNotify.ProtoReflect.Descriptor instead. +func (*RogueCellUpdateNotify) Descriptor() ([]byte, []int) { + return file_RogueCellUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueCellUpdateNotify) GetCellInfo() *RogueCellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +var File_RogueCellUpdateNotify_proto protoreflect.FileDescriptor + +var file_RogueCellUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2b, 0x0a, 0x09, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueCellUpdateNotify_proto_rawDescOnce sync.Once + file_RogueCellUpdateNotify_proto_rawDescData = file_RogueCellUpdateNotify_proto_rawDesc +) + +func file_RogueCellUpdateNotify_proto_rawDescGZIP() []byte { + file_RogueCellUpdateNotify_proto_rawDescOnce.Do(func() { + file_RogueCellUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueCellUpdateNotify_proto_rawDescData) + }) + return file_RogueCellUpdateNotify_proto_rawDescData +} + +var file_RogueCellUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueCellUpdateNotify_proto_goTypes = []interface{}{ + (*RogueCellUpdateNotify)(nil), // 0: RogueCellUpdateNotify + (*RogueCellInfo)(nil), // 1: RogueCellInfo +} +var file_RogueCellUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: RogueCellUpdateNotify.cell_info:type_name -> RogueCellInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RogueCellUpdateNotify_proto_init() } +func file_RogueCellUpdateNotify_proto_init() { + if File_RogueCellUpdateNotify_proto != nil { + return + } + file_RogueCellInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueCellUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueCellUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueCellUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueCellUpdateNotify_proto_goTypes, + DependencyIndexes: file_RogueCellUpdateNotify_proto_depIdxs, + MessageInfos: file_RogueCellUpdateNotify_proto_msgTypes, + }.Build() + File_RogueCellUpdateNotify_proto = out.File + file_RogueCellUpdateNotify_proto_rawDesc = nil + file_RogueCellUpdateNotify_proto_goTypes = nil + file_RogueCellUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueCellUpdateNotify.proto b/gate-hk4e-api/proto/RogueCellUpdateNotify.proto new file mode 100644 index 00000000..098a25e9 --- /dev/null +++ b/gate-hk4e-api/proto/RogueCellUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueCellInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8642 +// EnetChannelId: 0 +// EnetIsReliable: true +message RogueCellUpdateNotify { + RogueCellInfo cell_info = 7; +} diff --git a/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.pb.go b/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.pb.go new file mode 100644 index 00000000..06a9113c --- /dev/null +++ b/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueDiaryActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueDiaryActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageList []*RogueDiaryStage `protobuf:"bytes,11,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` + IsHaveProgress bool `protobuf:"varint,10,opt,name=is_have_progress,json=isHaveProgress,proto3" json:"is_have_progress,omitempty"` + IsContentClosed bool `protobuf:"varint,2,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + CurProgress *Unk2700_PILILDPMNNA `protobuf:"bytes,7,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` +} + +func (x *RogueDiaryActivityDetailInfo) Reset() { + *x = RogueDiaryActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueDiaryActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueDiaryActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueDiaryActivityDetailInfo) ProtoMessage() {} + +func (x *RogueDiaryActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_RogueDiaryActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueDiaryActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*RogueDiaryActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_RogueDiaryActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueDiaryActivityDetailInfo) GetStageList() []*RogueDiaryStage { + if x != nil { + return x.StageList + } + return nil +} + +func (x *RogueDiaryActivityDetailInfo) GetIsHaveProgress() bool { + if x != nil { + return x.IsHaveProgress + } + return false +} + +func (x *RogueDiaryActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *RogueDiaryActivityDetailInfo) GetCurProgress() *Unk2700_PILILDPMNNA { + if x != nil { + return x.CurProgress + } + return nil +} + +var File_RogueDiaryActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_RogueDiaryActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x49, 0x4c, 0x44, 0x50, 0x4d, 0x4e, 0x4e, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x1c, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x44, 0x69, 0x61, 0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x09, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x68, + 0x61, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x48, 0x61, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x37, + 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x49, 0x4c, 0x49, 0x4c, 0x44, 0x50, 0x4d, 0x4e, 0x4e, 0x41, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueDiaryActivityDetailInfo_proto_rawDescOnce sync.Once + file_RogueDiaryActivityDetailInfo_proto_rawDescData = file_RogueDiaryActivityDetailInfo_proto_rawDesc +) + +func file_RogueDiaryActivityDetailInfo_proto_rawDescGZIP() []byte { + file_RogueDiaryActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_RogueDiaryActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueDiaryActivityDetailInfo_proto_rawDescData) + }) + return file_RogueDiaryActivityDetailInfo_proto_rawDescData +} + +var file_RogueDiaryActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueDiaryActivityDetailInfo_proto_goTypes = []interface{}{ + (*RogueDiaryActivityDetailInfo)(nil), // 0: RogueDiaryActivityDetailInfo + (*RogueDiaryStage)(nil), // 1: RogueDiaryStage + (*Unk2700_PILILDPMNNA)(nil), // 2: Unk2700_PILILDPMNNA +} +var file_RogueDiaryActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: RogueDiaryActivityDetailInfo.stage_list:type_name -> RogueDiaryStage + 2, // 1: RogueDiaryActivityDetailInfo.cur_progress:type_name -> Unk2700_PILILDPMNNA + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RogueDiaryActivityDetailInfo_proto_init() } +func file_RogueDiaryActivityDetailInfo_proto_init() { + if File_RogueDiaryActivityDetailInfo_proto != nil { + return + } + file_RogueDiaryStage_proto_init() + file_Unk2700_PILILDPMNNA_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueDiaryActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueDiaryActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueDiaryActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueDiaryActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_RogueDiaryActivityDetailInfo_proto_depIdxs, + MessageInfos: file_RogueDiaryActivityDetailInfo_proto_msgTypes, + }.Build() + File_RogueDiaryActivityDetailInfo_proto = out.File + file_RogueDiaryActivityDetailInfo_proto_rawDesc = nil + file_RogueDiaryActivityDetailInfo_proto_goTypes = nil + file_RogueDiaryActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.proto b/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.proto new file mode 100644 index 00000000..458802db --- /dev/null +++ b/gate-hk4e-api/proto/RogueDiaryActivityDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueDiaryStage.proto"; +import "Unk2700_PILILDPMNNA.proto"; + +option go_package = "./;proto"; + +message RogueDiaryActivityDetailInfo { + repeated RogueDiaryStage stage_list = 11; + bool is_have_progress = 10; + bool is_content_closed = 2; + Unk2700_PILILDPMNNA cur_progress = 7; +} diff --git a/gate-hk4e-api/proto/RogueDiaryStage.pb.go b/gate-hk4e-api/proto/RogueDiaryStage.pb.go new file mode 100644 index 00000000..e16b7079 --- /dev/null +++ b/gate-hk4e-api/proto/RogueDiaryStage.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueDiaryStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueDiaryStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + BestRecord *Unk2700_CMOCCENBOLJ `protobuf:"bytes,12,opt,name=best_record,json=bestRecord,proto3" json:"best_record,omitempty"` + Unk2700_PEDCFBJLHGP bool `protobuf:"varint,10,opt,name=Unk2700_PEDCFBJLHGP,json=Unk2700PEDCFBJLHGP,proto3" json:"Unk2700_PEDCFBJLHGP,omitempty"` +} + +func (x *RogueDiaryStage) Reset() { + *x = RogueDiaryStage{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueDiaryStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueDiaryStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueDiaryStage) ProtoMessage() {} + +func (x *RogueDiaryStage) ProtoReflect() protoreflect.Message { + mi := &file_RogueDiaryStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueDiaryStage.ProtoReflect.Descriptor instead. +func (*RogueDiaryStage) Descriptor() ([]byte, []int) { + return file_RogueDiaryStage_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueDiaryStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RogueDiaryStage) GetBestRecord() *Unk2700_CMOCCENBOLJ { + if x != nil { + return x.BestRecord + } + return nil +} + +func (x *RogueDiaryStage) GetUnk2700_PEDCFBJLHGP() bool { + if x != nil { + return x.Unk2700_PEDCFBJLHGP + } + return false +} + +var File_RogueDiaryStage_proto protoreflect.FileDescriptor + +var file_RogueDiaryStage_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x4d, 0x4f, 0x43, 0x43, 0x45, 0x4e, 0x42, 0x4f, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x0f, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x69, 0x61, 0x72, + 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x4d, 0x4f, 0x43, 0x43, 0x45, 0x4e, 0x42, 0x4f, 0x4c, 0x4a, 0x52, 0x0a, 0x62, 0x65, + 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x50, 0x45, 0x44, 0x43, 0x46, 0x42, 0x4a, 0x4c, 0x48, 0x47, 0x50, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x45, + 0x44, 0x43, 0x46, 0x42, 0x4a, 0x4c, 0x48, 0x47, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueDiaryStage_proto_rawDescOnce sync.Once + file_RogueDiaryStage_proto_rawDescData = file_RogueDiaryStage_proto_rawDesc +) + +func file_RogueDiaryStage_proto_rawDescGZIP() []byte { + file_RogueDiaryStage_proto_rawDescOnce.Do(func() { + file_RogueDiaryStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueDiaryStage_proto_rawDescData) + }) + return file_RogueDiaryStage_proto_rawDescData +} + +var file_RogueDiaryStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueDiaryStage_proto_goTypes = []interface{}{ + (*RogueDiaryStage)(nil), // 0: RogueDiaryStage + (*Unk2700_CMOCCENBOLJ)(nil), // 1: Unk2700_CMOCCENBOLJ +} +var file_RogueDiaryStage_proto_depIdxs = []int32{ + 1, // 0: RogueDiaryStage.best_record:type_name -> Unk2700_CMOCCENBOLJ + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RogueDiaryStage_proto_init() } +func file_RogueDiaryStage_proto_init() { + if File_RogueDiaryStage_proto != nil { + return + } + file_Unk2700_CMOCCENBOLJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueDiaryStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueDiaryStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueDiaryStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueDiaryStage_proto_goTypes, + DependencyIndexes: file_RogueDiaryStage_proto_depIdxs, + MessageInfos: file_RogueDiaryStage_proto_msgTypes, + }.Build() + File_RogueDiaryStage_proto = out.File + file_RogueDiaryStage_proto_rawDesc = nil + file_RogueDiaryStage_proto_goTypes = nil + file_RogueDiaryStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueDiaryStage.proto b/gate-hk4e-api/proto/RogueDiaryStage.proto new file mode 100644 index 00000000..a55b2cd1 --- /dev/null +++ b/gate-hk4e-api/proto/RogueDiaryStage.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CMOCCENBOLJ.proto"; + +option go_package = "./;proto"; + +message RogueDiaryStage { + uint32 stage_id = 1; + Unk2700_CMOCCENBOLJ best_record = 12; + bool Unk2700_PEDCFBJLHGP = 10; +} diff --git a/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.pb.go b/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.pb.go new file mode 100644 index 00000000..695b35d6 --- /dev/null +++ b/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueDungeonPlayerCellChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8347 +// EnetChannelId: 0 +// EnetIsReliable: true +type RogueDungeonPlayerCellChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OldCellId uint32 `protobuf:"varint,10,opt,name=old_cell_id,json=oldCellId,proto3" json:"old_cell_id,omitempty"` + CellId uint32 `protobuf:"varint,7,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *RogueDungeonPlayerCellChangeNotify) Reset() { + *x = RogueDungeonPlayerCellChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueDungeonPlayerCellChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueDungeonPlayerCellChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueDungeonPlayerCellChangeNotify) ProtoMessage() {} + +func (x *RogueDungeonPlayerCellChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_RogueDungeonPlayerCellChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueDungeonPlayerCellChangeNotify.ProtoReflect.Descriptor instead. +func (*RogueDungeonPlayerCellChangeNotify) Descriptor() ([]byte, []int) { + return file_RogueDungeonPlayerCellChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueDungeonPlayerCellChangeNotify) GetOldCellId() uint32 { + if x != nil { + return x.OldCellId + } + return 0 +} + +func (x *RogueDungeonPlayerCellChangeNotify) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_RogueDungeonPlayerCellChangeNotify_proto protoreflect.FileDescriptor + +var file_RogueDungeonPlayerCellChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x22, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1e, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueDungeonPlayerCellChangeNotify_proto_rawDescOnce sync.Once + file_RogueDungeonPlayerCellChangeNotify_proto_rawDescData = file_RogueDungeonPlayerCellChangeNotify_proto_rawDesc +) + +func file_RogueDungeonPlayerCellChangeNotify_proto_rawDescGZIP() []byte { + file_RogueDungeonPlayerCellChangeNotify_proto_rawDescOnce.Do(func() { + file_RogueDungeonPlayerCellChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueDungeonPlayerCellChangeNotify_proto_rawDescData) + }) + return file_RogueDungeonPlayerCellChangeNotify_proto_rawDescData +} + +var file_RogueDungeonPlayerCellChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueDungeonPlayerCellChangeNotify_proto_goTypes = []interface{}{ + (*RogueDungeonPlayerCellChangeNotify)(nil), // 0: RogueDungeonPlayerCellChangeNotify +} +var file_RogueDungeonPlayerCellChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueDungeonPlayerCellChangeNotify_proto_init() } +func file_RogueDungeonPlayerCellChangeNotify_proto_init() { + if File_RogueDungeonPlayerCellChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueDungeonPlayerCellChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueDungeonPlayerCellChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueDungeonPlayerCellChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueDungeonPlayerCellChangeNotify_proto_goTypes, + DependencyIndexes: file_RogueDungeonPlayerCellChangeNotify_proto_depIdxs, + MessageInfos: file_RogueDungeonPlayerCellChangeNotify_proto_msgTypes, + }.Build() + File_RogueDungeonPlayerCellChangeNotify_proto = out.File + file_RogueDungeonPlayerCellChangeNotify_proto_rawDesc = nil + file_RogueDungeonPlayerCellChangeNotify_proto_goTypes = nil + file_RogueDungeonPlayerCellChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.proto b/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.proto new file mode 100644 index 00000000..e966ab29 --- /dev/null +++ b/gate-hk4e-api/proto/RogueDungeonPlayerCellChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8347 +// EnetChannelId: 0 +// EnetIsReliable: true +message RogueDungeonPlayerCellChangeNotify { + uint32 old_cell_id = 10; + uint32 cell_id = 7; +} diff --git a/gate-hk4e-api/proto/RogueEffectRecord.pb.go b/gate-hk4e-api/proto/RogueEffectRecord.pb.go new file mode 100644 index 00000000..d55516b6 --- /dev/null +++ b/gate-hk4e-api/proto/RogueEffectRecord.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueEffectRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueEffectRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SourceId uint32 `protobuf:"varint,6,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` + ExtraParamList []uint32 `protobuf:"varint,9,rep,packed,name=extra_param_list,json=extraParamList,proto3" json:"extra_param_list,omitempty"` + Count uint32 `protobuf:"varint,10,opt,name=count,proto3" json:"count,omitempty"` + IsNew bool `protobuf:"varint,5,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` +} + +func (x *RogueEffectRecord) Reset() { + *x = RogueEffectRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueEffectRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueEffectRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueEffectRecord) ProtoMessage() {} + +func (x *RogueEffectRecord) ProtoReflect() protoreflect.Message { + mi := &file_RogueEffectRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueEffectRecord.ProtoReflect.Descriptor instead. +func (*RogueEffectRecord) Descriptor() ([]byte, []int) { + return file_RogueEffectRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueEffectRecord) GetSourceId() uint32 { + if x != nil { + return x.SourceId + } + return 0 +} + +func (x *RogueEffectRecord) GetExtraParamList() []uint32 { + if x != nil { + return x.ExtraParamList + } + return nil +} + +func (x *RogueEffectRecord) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *RogueEffectRecord) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +var File_RogueEffectRecord_proto protoreflect.FileDescriptor + +var file_RogueEffectRecord_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x11, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x72, 0x61, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x06, + 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, + 0x4e, 0x65, 0x77, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueEffectRecord_proto_rawDescOnce sync.Once + file_RogueEffectRecord_proto_rawDescData = file_RogueEffectRecord_proto_rawDesc +) + +func file_RogueEffectRecord_proto_rawDescGZIP() []byte { + file_RogueEffectRecord_proto_rawDescOnce.Do(func() { + file_RogueEffectRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueEffectRecord_proto_rawDescData) + }) + return file_RogueEffectRecord_proto_rawDescData +} + +var file_RogueEffectRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueEffectRecord_proto_goTypes = []interface{}{ + (*RogueEffectRecord)(nil), // 0: RogueEffectRecord +} +var file_RogueEffectRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueEffectRecord_proto_init() } +func file_RogueEffectRecord_proto_init() { + if File_RogueEffectRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueEffectRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueEffectRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueEffectRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueEffectRecord_proto_goTypes, + DependencyIndexes: file_RogueEffectRecord_proto_depIdxs, + MessageInfos: file_RogueEffectRecord_proto_msgTypes, + }.Build() + File_RogueEffectRecord_proto = out.File + file_RogueEffectRecord_proto_rawDesc = nil + file_RogueEffectRecord_proto_goTypes = nil + file_RogueEffectRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueEffectRecord.proto b/gate-hk4e-api/proto/RogueEffectRecord.proto new file mode 100644 index 00000000..1df21c29 --- /dev/null +++ b/gate-hk4e-api/proto/RogueEffectRecord.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RogueEffectRecord { + uint32 source_id = 6; + repeated uint32 extra_param_list = 9; + uint32 count = 10; + bool is_new = 5; +} diff --git a/gate-hk4e-api/proto/RogueEliteCellDifficultyType.pb.go b/gate-hk4e-api/proto/RogueEliteCellDifficultyType.pb.go new file mode 100644 index 00000000..ae18811b --- /dev/null +++ b/gate-hk4e-api/proto/RogueEliteCellDifficultyType.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueEliteCellDifficultyType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueEliteCellDifficultyType int32 + +const ( + RogueEliteCellDifficultyType_ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL RogueEliteCellDifficultyType = 0 + RogueEliteCellDifficultyType_ROGUE_ELITE_CELL_DIFFICULTY_TYPE_HARD RogueEliteCellDifficultyType = 1 +) + +// Enum value maps for RogueEliteCellDifficultyType. +var ( + RogueEliteCellDifficultyType_name = map[int32]string{ + 0: "ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL", + 1: "ROGUE_ELITE_CELL_DIFFICULTY_TYPE_HARD", + } + RogueEliteCellDifficultyType_value = map[string]int32{ + "ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL": 0, + "ROGUE_ELITE_CELL_DIFFICULTY_TYPE_HARD": 1, + } +) + +func (x RogueEliteCellDifficultyType) Enum() *RogueEliteCellDifficultyType { + p := new(RogueEliteCellDifficultyType) + *p = x + return p +} + +func (x RogueEliteCellDifficultyType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RogueEliteCellDifficultyType) Descriptor() protoreflect.EnumDescriptor { + return file_RogueEliteCellDifficultyType_proto_enumTypes[0].Descriptor() +} + +func (RogueEliteCellDifficultyType) Type() protoreflect.EnumType { + return &file_RogueEliteCellDifficultyType_proto_enumTypes[0] +} + +func (x RogueEliteCellDifficultyType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RogueEliteCellDifficultyType.Descriptor instead. +func (RogueEliteCellDifficultyType) EnumDescriptor() ([]byte, []int) { + return file_RogueEliteCellDifficultyType_proto_rawDescGZIP(), []int{0} +} + +var File_RogueEliteCellDifficultyType_proto protoreflect.FileDescriptor + +var file_RogueEliteCellDifficultyType_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x76, 0x0a, 0x1c, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, + 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x27, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x45, 0x4c, + 0x49, 0x54, 0x45, 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x49, 0x43, 0x55, + 0x4c, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, + 0x00, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x4f, 0x47, 0x55, 0x45, 0x5f, 0x45, 0x4c, 0x49, 0x54, 0x45, + 0x5f, 0x43, 0x45, 0x4c, 0x4c, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x49, 0x43, 0x55, 0x4c, 0x54, 0x59, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x41, 0x52, 0x44, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueEliteCellDifficultyType_proto_rawDescOnce sync.Once + file_RogueEliteCellDifficultyType_proto_rawDescData = file_RogueEliteCellDifficultyType_proto_rawDesc +) + +func file_RogueEliteCellDifficultyType_proto_rawDescGZIP() []byte { + file_RogueEliteCellDifficultyType_proto_rawDescOnce.Do(func() { + file_RogueEliteCellDifficultyType_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueEliteCellDifficultyType_proto_rawDescData) + }) + return file_RogueEliteCellDifficultyType_proto_rawDescData +} + +var file_RogueEliteCellDifficultyType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_RogueEliteCellDifficultyType_proto_goTypes = []interface{}{ + (RogueEliteCellDifficultyType)(0), // 0: RogueEliteCellDifficultyType +} +var file_RogueEliteCellDifficultyType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueEliteCellDifficultyType_proto_init() } +func file_RogueEliteCellDifficultyType_proto_init() { + if File_RogueEliteCellDifficultyType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueEliteCellDifficultyType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueEliteCellDifficultyType_proto_goTypes, + DependencyIndexes: file_RogueEliteCellDifficultyType_proto_depIdxs, + EnumInfos: file_RogueEliteCellDifficultyType_proto_enumTypes, + }.Build() + File_RogueEliteCellDifficultyType_proto = out.File + file_RogueEliteCellDifficultyType_proto_rawDesc = nil + file_RogueEliteCellDifficultyType_proto_goTypes = nil + file_RogueEliteCellDifficultyType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueEliteCellDifficultyType.proto b/gate-hk4e-api/proto/RogueEliteCellDifficultyType.proto new file mode 100644 index 00000000..237449e5 --- /dev/null +++ b/gate-hk4e-api/proto/RogueEliteCellDifficultyType.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum RogueEliteCellDifficultyType { + ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL = 0; + ROGUE_ELITE_CELL_DIFFICULTY_TYPE_HARD = 1; +} diff --git a/gate-hk4e-api/proto/RogueHealAvatarsReq.pb.go b/gate-hk4e-api/proto/RogueHealAvatarsReq.pb.go new file mode 100644 index 00000000..b1d8d817 --- /dev/null +++ b/gate-hk4e-api/proto/RogueHealAvatarsReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueHealAvatarsReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8947 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RogueHealAvatarsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,1,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,3,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *RogueHealAvatarsReq) Reset() { + *x = RogueHealAvatarsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueHealAvatarsReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueHealAvatarsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueHealAvatarsReq) ProtoMessage() {} + +func (x *RogueHealAvatarsReq) ProtoReflect() protoreflect.Message { + mi := &file_RogueHealAvatarsReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueHealAvatarsReq.ProtoReflect.Descriptor instead. +func (*RogueHealAvatarsReq) Descriptor() ([]byte, []int) { + return file_RogueHealAvatarsReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueHealAvatarsReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *RogueHealAvatarsReq) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_RogueHealAvatarsReq_proto protoreflect.FileDescriptor + +var file_RogueHealAvatarsReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueHealAvatarsReq_proto_rawDescOnce sync.Once + file_RogueHealAvatarsReq_proto_rawDescData = file_RogueHealAvatarsReq_proto_rawDesc +) + +func file_RogueHealAvatarsReq_proto_rawDescGZIP() []byte { + file_RogueHealAvatarsReq_proto_rawDescOnce.Do(func() { + file_RogueHealAvatarsReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueHealAvatarsReq_proto_rawDescData) + }) + return file_RogueHealAvatarsReq_proto_rawDescData +} + +var file_RogueHealAvatarsReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueHealAvatarsReq_proto_goTypes = []interface{}{ + (*RogueHealAvatarsReq)(nil), // 0: RogueHealAvatarsReq +} +var file_RogueHealAvatarsReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueHealAvatarsReq_proto_init() } +func file_RogueHealAvatarsReq_proto_init() { + if File_RogueHealAvatarsReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueHealAvatarsReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueHealAvatarsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueHealAvatarsReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueHealAvatarsReq_proto_goTypes, + DependencyIndexes: file_RogueHealAvatarsReq_proto_depIdxs, + MessageInfos: file_RogueHealAvatarsReq_proto_msgTypes, + }.Build() + File_RogueHealAvatarsReq_proto = out.File + file_RogueHealAvatarsReq_proto_rawDesc = nil + file_RogueHealAvatarsReq_proto_goTypes = nil + file_RogueHealAvatarsReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueHealAvatarsReq.proto b/gate-hk4e-api/proto/RogueHealAvatarsReq.proto new file mode 100644 index 00000000..527405f6 --- /dev/null +++ b/gate-hk4e-api/proto/RogueHealAvatarsReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8947 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RogueHealAvatarsReq { + uint32 dungeon_id = 1; + uint32 cell_id = 3; +} diff --git a/gate-hk4e-api/proto/RogueHealAvatarsRsp.pb.go b/gate-hk4e-api/proto/RogueHealAvatarsRsp.pb.go new file mode 100644 index 00000000..d8b13c8a --- /dev/null +++ b/gate-hk4e-api/proto/RogueHealAvatarsRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueHealAvatarsRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8949 +// EnetChannelId: 0 +// EnetIsReliable: true +type RogueHealAvatarsRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,10,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + CellId uint32 `protobuf:"varint,14,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *RogueHealAvatarsRsp) Reset() { + *x = RogueHealAvatarsRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueHealAvatarsRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueHealAvatarsRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueHealAvatarsRsp) ProtoMessage() {} + +func (x *RogueHealAvatarsRsp) ProtoReflect() protoreflect.Message { + mi := &file_RogueHealAvatarsRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueHealAvatarsRsp.ProtoReflect.Descriptor instead. +func (*RogueHealAvatarsRsp) Descriptor() ([]byte, []int) { + return file_RogueHealAvatarsRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueHealAvatarsRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *RogueHealAvatarsRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RogueHealAvatarsRsp) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_RogueHealAvatarsRsp_proto protoreflect.FileDescriptor + +var file_RogueHealAvatarsRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x13, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x73, 0x52, + 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, + 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueHealAvatarsRsp_proto_rawDescOnce sync.Once + file_RogueHealAvatarsRsp_proto_rawDescData = file_RogueHealAvatarsRsp_proto_rawDesc +) + +func file_RogueHealAvatarsRsp_proto_rawDescGZIP() []byte { + file_RogueHealAvatarsRsp_proto_rawDescOnce.Do(func() { + file_RogueHealAvatarsRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueHealAvatarsRsp_proto_rawDescData) + }) + return file_RogueHealAvatarsRsp_proto_rawDescData +} + +var file_RogueHealAvatarsRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueHealAvatarsRsp_proto_goTypes = []interface{}{ + (*RogueHealAvatarsRsp)(nil), // 0: RogueHealAvatarsRsp +} +var file_RogueHealAvatarsRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueHealAvatarsRsp_proto_init() } +func file_RogueHealAvatarsRsp_proto_init() { + if File_RogueHealAvatarsRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueHealAvatarsRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueHealAvatarsRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueHealAvatarsRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueHealAvatarsRsp_proto_goTypes, + DependencyIndexes: file_RogueHealAvatarsRsp_proto_depIdxs, + MessageInfos: file_RogueHealAvatarsRsp_proto_msgTypes, + }.Build() + File_RogueHealAvatarsRsp_proto = out.File + file_RogueHealAvatarsRsp_proto_rawDesc = nil + file_RogueHealAvatarsRsp_proto_goTypes = nil + file_RogueHealAvatarsRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueHealAvatarsRsp.proto b/gate-hk4e-api/proto/RogueHealAvatarsRsp.proto new file mode 100644 index 00000000..05df7fa2 --- /dev/null +++ b/gate-hk4e-api/proto/RogueHealAvatarsRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8949 +// EnetChannelId: 0 +// EnetIsReliable: true +message RogueHealAvatarsRsp { + uint32 dungeon_id = 10; + int32 retcode = 9; + uint32 cell_id = 14; +} diff --git a/gate-hk4e-api/proto/RogueResumeDungeonReq.pb.go b/gate-hk4e-api/proto/RogueResumeDungeonReq.pb.go new file mode 100644 index 00000000..6bd3d2c5 --- /dev/null +++ b/gate-hk4e-api/proto/RogueResumeDungeonReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueResumeDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8795 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RogueResumeDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *RogueResumeDungeonReq) Reset() { + *x = RogueResumeDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueResumeDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueResumeDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueResumeDungeonReq) ProtoMessage() {} + +func (x *RogueResumeDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_RogueResumeDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueResumeDungeonReq.ProtoReflect.Descriptor instead. +func (*RogueResumeDungeonReq) Descriptor() ([]byte, []int) { + return file_RogueResumeDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueResumeDungeonReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_RogueResumeDungeonReq_proto protoreflect.FileDescriptor + +var file_RogueResumeDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, + 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueResumeDungeonReq_proto_rawDescOnce sync.Once + file_RogueResumeDungeonReq_proto_rawDescData = file_RogueResumeDungeonReq_proto_rawDesc +) + +func file_RogueResumeDungeonReq_proto_rawDescGZIP() []byte { + file_RogueResumeDungeonReq_proto_rawDescOnce.Do(func() { + file_RogueResumeDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueResumeDungeonReq_proto_rawDescData) + }) + return file_RogueResumeDungeonReq_proto_rawDescData +} + +var file_RogueResumeDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueResumeDungeonReq_proto_goTypes = []interface{}{ + (*RogueResumeDungeonReq)(nil), // 0: RogueResumeDungeonReq +} +var file_RogueResumeDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueResumeDungeonReq_proto_init() } +func file_RogueResumeDungeonReq_proto_init() { + if File_RogueResumeDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueResumeDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueResumeDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueResumeDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueResumeDungeonReq_proto_goTypes, + DependencyIndexes: file_RogueResumeDungeonReq_proto_depIdxs, + MessageInfos: file_RogueResumeDungeonReq_proto_msgTypes, + }.Build() + File_RogueResumeDungeonReq_proto = out.File + file_RogueResumeDungeonReq_proto_rawDesc = nil + file_RogueResumeDungeonReq_proto_goTypes = nil + file_RogueResumeDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueResumeDungeonReq.proto b/gate-hk4e-api/proto/RogueResumeDungeonReq.proto new file mode 100644 index 00000000..90536f7f --- /dev/null +++ b/gate-hk4e-api/proto/RogueResumeDungeonReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8795 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RogueResumeDungeonReq { + uint32 stage_id = 12; +} diff --git a/gate-hk4e-api/proto/RogueResumeDungeonRsp.pb.go b/gate-hk4e-api/proto/RogueResumeDungeonRsp.pb.go new file mode 100644 index 00000000..1beb600c --- /dev/null +++ b/gate-hk4e-api/proto/RogueResumeDungeonRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueResumeDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8647 +// EnetChannelId: 0 +// EnetIsReliable: true +type RogueResumeDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RogueResumeDungeonRsp) Reset() { + *x = RogueResumeDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueResumeDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueResumeDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueResumeDungeonRsp) ProtoMessage() {} + +func (x *RogueResumeDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_RogueResumeDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueResumeDungeonRsp.ProtoReflect.Descriptor instead. +func (*RogueResumeDungeonRsp) Descriptor() ([]byte, []int) { + return file_RogueResumeDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueResumeDungeonRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RogueResumeDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RogueResumeDungeonRsp_proto protoreflect.FileDescriptor + +var file_RogueResumeDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, + 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueResumeDungeonRsp_proto_rawDescOnce sync.Once + file_RogueResumeDungeonRsp_proto_rawDescData = file_RogueResumeDungeonRsp_proto_rawDesc +) + +func file_RogueResumeDungeonRsp_proto_rawDescGZIP() []byte { + file_RogueResumeDungeonRsp_proto_rawDescOnce.Do(func() { + file_RogueResumeDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueResumeDungeonRsp_proto_rawDescData) + }) + return file_RogueResumeDungeonRsp_proto_rawDescData +} + +var file_RogueResumeDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueResumeDungeonRsp_proto_goTypes = []interface{}{ + (*RogueResumeDungeonRsp)(nil), // 0: RogueResumeDungeonRsp +} +var file_RogueResumeDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueResumeDungeonRsp_proto_init() } +func file_RogueResumeDungeonRsp_proto_init() { + if File_RogueResumeDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueResumeDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueResumeDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueResumeDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueResumeDungeonRsp_proto_goTypes, + DependencyIndexes: file_RogueResumeDungeonRsp_proto_depIdxs, + MessageInfos: file_RogueResumeDungeonRsp_proto_msgTypes, + }.Build() + File_RogueResumeDungeonRsp_proto = out.File + file_RogueResumeDungeonRsp_proto_rawDesc = nil + file_RogueResumeDungeonRsp_proto_goTypes = nil + file_RogueResumeDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueResumeDungeonRsp.proto b/gate-hk4e-api/proto/RogueResumeDungeonRsp.proto new file mode 100644 index 00000000..bd6651c3 --- /dev/null +++ b/gate-hk4e-api/proto/RogueResumeDungeonRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8647 +// EnetChannelId: 0 +// EnetIsReliable: true +message RogueResumeDungeonRsp { + uint32 stage_id = 12; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.pb.go b/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.pb.go new file mode 100644 index 00000000..c9ddb8c4 --- /dev/null +++ b/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueShowAvatarTeamInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueShowAvatarTeamInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarList []*RogueAvatarInfo `protobuf:"bytes,12,rep,name=avatar_list,json=avatarList,proto3" json:"avatar_list,omitempty"` +} + +func (x *RogueShowAvatarTeamInfo) Reset() { + *x = RogueShowAvatarTeamInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueShowAvatarTeamInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueShowAvatarTeamInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueShowAvatarTeamInfo) ProtoMessage() {} + +func (x *RogueShowAvatarTeamInfo) ProtoReflect() protoreflect.Message { + mi := &file_RogueShowAvatarTeamInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueShowAvatarTeamInfo.ProtoReflect.Descriptor instead. +func (*RogueShowAvatarTeamInfo) Descriptor() ([]byte, []int) { + return file_RogueShowAvatarTeamInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueShowAvatarTeamInfo) GetAvatarList() []*RogueAvatarInfo { + if x != nil { + return x.AvatarList + } + return nil +} + +var File_RogueShowAvatarTeamInfo_proto protoreflect.FileDescriptor + +var file_RogueShowAvatarTeamInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x15, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x17, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, + 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x31, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueShowAvatarTeamInfo_proto_rawDescOnce sync.Once + file_RogueShowAvatarTeamInfo_proto_rawDescData = file_RogueShowAvatarTeamInfo_proto_rawDesc +) + +func file_RogueShowAvatarTeamInfo_proto_rawDescGZIP() []byte { + file_RogueShowAvatarTeamInfo_proto_rawDescOnce.Do(func() { + file_RogueShowAvatarTeamInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueShowAvatarTeamInfo_proto_rawDescData) + }) + return file_RogueShowAvatarTeamInfo_proto_rawDescData +} + +var file_RogueShowAvatarTeamInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueShowAvatarTeamInfo_proto_goTypes = []interface{}{ + (*RogueShowAvatarTeamInfo)(nil), // 0: RogueShowAvatarTeamInfo + (*RogueAvatarInfo)(nil), // 1: RogueAvatarInfo +} +var file_RogueShowAvatarTeamInfo_proto_depIdxs = []int32{ + 1, // 0: RogueShowAvatarTeamInfo.avatar_list:type_name -> RogueAvatarInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RogueShowAvatarTeamInfo_proto_init() } +func file_RogueShowAvatarTeamInfo_proto_init() { + if File_RogueShowAvatarTeamInfo_proto != nil { + return + } + file_RogueAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueShowAvatarTeamInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueShowAvatarTeamInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueShowAvatarTeamInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueShowAvatarTeamInfo_proto_goTypes, + DependencyIndexes: file_RogueShowAvatarTeamInfo_proto_depIdxs, + MessageInfos: file_RogueShowAvatarTeamInfo_proto_msgTypes, + }.Build() + File_RogueShowAvatarTeamInfo_proto = out.File + file_RogueShowAvatarTeamInfo_proto_rawDesc = nil + file_RogueShowAvatarTeamInfo_proto_goTypes = nil + file_RogueShowAvatarTeamInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.proto b/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.proto new file mode 100644 index 00000000..839754ba --- /dev/null +++ b/gate-hk4e-api/proto/RogueShowAvatarTeamInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueAvatarInfo.proto"; + +option go_package = "./;proto"; + +message RogueShowAvatarTeamInfo { + repeated RogueAvatarInfo avatar_list = 12; +} diff --git a/gate-hk4e-api/proto/RogueStageInfo.pb.go b/gate-hk4e-api/proto/RogueStageInfo.pb.go new file mode 100644 index 00000000..6fbcafb4 --- /dev/null +++ b/gate-hk4e-api/proto/RogueStageInfo.pb.go @@ -0,0 +1,315 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueStageInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RogueStageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarTeam *RogueShowAvatarTeamInfo `protobuf:"bytes,2,opt,name=avatar_team,json=avatarTeam,proto3" json:"avatar_team,omitempty"` + IsPassed bool `protobuf:"varint,5,opt,name=is_passed,json=isPassed,proto3" json:"is_passed,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ReviseMonsterLevel uint32 `protobuf:"varint,205,opt,name=revise_monster_level,json=reviseMonsterLevel,proto3" json:"revise_monster_level,omitempty"` + RuneRecordList []*RoguelikeRuneRecord `protobuf:"bytes,6,rep,name=rune_record_list,json=runeRecordList,proto3" json:"rune_record_list,omitempty"` + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + CurLevel uint32 `protobuf:"varint,4,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + CachedCoinCNum uint32 `protobuf:"varint,1409,opt,name=cached_coin_c_num,json=cachedCoinCNum,proto3" json:"cached_coin_c_num,omitempty"` + IsTakenReward bool `protobuf:"varint,11,opt,name=is_taken_reward,json=isTakenReward,proto3" json:"is_taken_reward,omitempty"` + IsInCombat bool `protobuf:"varint,12,opt,name=is_in_combat,json=isInCombat,proto3" json:"is_in_combat,omitempty"` + CachedCoinBNum uint32 `protobuf:"varint,14,opt,name=cached_coin_b_num,json=cachedCoinBNum,proto3" json:"cached_coin_b_num,omitempty"` + ExploreCellNum uint32 `protobuf:"varint,15,opt,name=explore_cell_num,json=exploreCellNum,proto3" json:"explore_cell_num,omitempty"` + CoinCNum uint32 `protobuf:"varint,8,opt,name=coin_c_num,json=coinCNum,proto3" json:"coin_c_num,omitempty"` + IsExplored bool `protobuf:"varint,9,opt,name=is_explored,json=isExplored,proto3" json:"is_explored,omitempty"` + MaxPassedLevel uint32 `protobuf:"varint,3,opt,name=max_passed_level,json=maxPassedLevel,proto3" json:"max_passed_level,omitempty"` +} + +func (x *RogueStageInfo) Reset() { + *x = RogueStageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueStageInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueStageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueStageInfo) ProtoMessage() {} + +func (x *RogueStageInfo) ProtoReflect() protoreflect.Message { + mi := &file_RogueStageInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueStageInfo.ProtoReflect.Descriptor instead. +func (*RogueStageInfo) Descriptor() ([]byte, []int) { + return file_RogueStageInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueStageInfo) GetAvatarTeam() *RogueShowAvatarTeamInfo { + if x != nil { + return x.AvatarTeam + } + return nil +} + +func (x *RogueStageInfo) GetIsPassed() bool { + if x != nil { + return x.IsPassed + } + return false +} + +func (x *RogueStageInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RogueStageInfo) GetReviseMonsterLevel() uint32 { + if x != nil { + return x.ReviseMonsterLevel + } + return 0 +} + +func (x *RogueStageInfo) GetRuneRecordList() []*RoguelikeRuneRecord { + if x != nil { + return x.RuneRecordList + } + return nil +} + +func (x *RogueStageInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *RogueStageInfo) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *RogueStageInfo) GetCachedCoinCNum() uint32 { + if x != nil { + return x.CachedCoinCNum + } + return 0 +} + +func (x *RogueStageInfo) GetIsTakenReward() bool { + if x != nil { + return x.IsTakenReward + } + return false +} + +func (x *RogueStageInfo) GetIsInCombat() bool { + if x != nil { + return x.IsInCombat + } + return false +} + +func (x *RogueStageInfo) GetCachedCoinBNum() uint32 { + if x != nil { + return x.CachedCoinBNum + } + return 0 +} + +func (x *RogueStageInfo) GetExploreCellNum() uint32 { + if x != nil { + return x.ExploreCellNum + } + return 0 +} + +func (x *RogueStageInfo) GetCoinCNum() uint32 { + if x != nil { + return x.CoinCNum + } + return 0 +} + +func (x *RogueStageInfo) GetIsExplored() bool { + if x != nil { + return x.IsExplored + } + return false +} + +func (x *RogueStageInfo) GetMaxPassedLevel() uint32 { + if x != nil { + return x.MaxPassedLevel + } + return 0 +} + +var File_RogueStageInfo_proto protoreflect.FileDescriptor + +var file_RogueStageInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x68, 0x6f, + 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, + 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe0, 0x04, 0x0a, 0x0e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, + 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x65, + 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0xcd, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x72, 0x65, 0x76, 0x69, 0x73, 0x65, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x10, 0x72, 0x75, 0x6e, + 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, + 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, + 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, + 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x2a, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x63, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x81, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0f, 0x69, + 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, + 0x62, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x49, 0x6e, 0x43, + 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x12, 0x29, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, + 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x62, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4e, 0x75, 0x6d, + 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, + 0x6f, 0x72, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x0a, 0x63, 0x6f, + 0x69, 0x6e, 0x5f, 0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x63, 0x6f, 0x69, 0x6e, 0x43, 0x4e, 0x75, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x65, + 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, + 0x73, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, + 0x5f, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x73, 0x73, 0x65, 0x64, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueStageInfo_proto_rawDescOnce sync.Once + file_RogueStageInfo_proto_rawDescData = file_RogueStageInfo_proto_rawDesc +) + +func file_RogueStageInfo_proto_rawDescGZIP() []byte { + file_RogueStageInfo_proto_rawDescOnce.Do(func() { + file_RogueStageInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueStageInfo_proto_rawDescData) + }) + return file_RogueStageInfo_proto_rawDescData +} + +var file_RogueStageInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueStageInfo_proto_goTypes = []interface{}{ + (*RogueStageInfo)(nil), // 0: RogueStageInfo + (*RogueShowAvatarTeamInfo)(nil), // 1: RogueShowAvatarTeamInfo + (*RoguelikeRuneRecord)(nil), // 2: RoguelikeRuneRecord +} +var file_RogueStageInfo_proto_depIdxs = []int32{ + 1, // 0: RogueStageInfo.avatar_team:type_name -> RogueShowAvatarTeamInfo + 2, // 1: RogueStageInfo.rune_record_list:type_name -> RoguelikeRuneRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RogueStageInfo_proto_init() } +func file_RogueStageInfo_proto_init() { + if File_RogueStageInfo_proto != nil { + return + } + file_RogueShowAvatarTeamInfo_proto_init() + file_RoguelikeRuneRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_RogueStageInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueStageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueStageInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueStageInfo_proto_goTypes, + DependencyIndexes: file_RogueStageInfo_proto_depIdxs, + MessageInfos: file_RogueStageInfo_proto_msgTypes, + }.Build() + File_RogueStageInfo_proto = out.File + file_RogueStageInfo_proto_rawDesc = nil + file_RogueStageInfo_proto_goTypes = nil + file_RogueStageInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueStageInfo.proto b/gate-hk4e-api/proto/RogueStageInfo.proto new file mode 100644 index 00000000..2d3f8797 --- /dev/null +++ b/gate-hk4e-api/proto/RogueStageInfo.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueShowAvatarTeamInfo.proto"; +import "RoguelikeRuneRecord.proto"; + +option go_package = "./;proto"; + +message RogueStageInfo { + RogueShowAvatarTeamInfo avatar_team = 2; + bool is_passed = 5; + uint32 stage_id = 7; + uint32 revise_monster_level = 205; + repeated RoguelikeRuneRecord rune_record_list = 6; + bool is_open = 1; + uint32 cur_level = 4; + uint32 cached_coin_c_num = 1409; + bool is_taken_reward = 11; + bool is_in_combat = 12; + uint32 cached_coin_b_num = 14; + uint32 explore_cell_num = 15; + uint32 coin_c_num = 8; + bool is_explored = 9; + uint32 max_passed_level = 3; +} diff --git a/gate-hk4e-api/proto/RogueSwitchAvatarReq.pb.go b/gate-hk4e-api/proto/RogueSwitchAvatarReq.pb.go new file mode 100644 index 00000000..beff4e64 --- /dev/null +++ b/gate-hk4e-api/proto/RogueSwitchAvatarReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueSwitchAvatarReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8201 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RogueSwitchAvatarReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellId uint32 `protobuf:"varint,15,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` + OnstageAvatarGuidList []uint64 `protobuf:"varint,3,rep,packed,name=onstage_avatar_guid_list,json=onstageAvatarGuidList,proto3" json:"onstage_avatar_guid_list,omitempty"` + CurAvatarGuid uint64 `protobuf:"varint,11,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` + DungeonId uint32 `protobuf:"varint,6,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *RogueSwitchAvatarReq) Reset() { + *x = RogueSwitchAvatarReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueSwitchAvatarReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueSwitchAvatarReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueSwitchAvatarReq) ProtoMessage() {} + +func (x *RogueSwitchAvatarReq) ProtoReflect() protoreflect.Message { + mi := &file_RogueSwitchAvatarReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueSwitchAvatarReq.ProtoReflect.Descriptor instead. +func (*RogueSwitchAvatarReq) Descriptor() ([]byte, []int) { + return file_RogueSwitchAvatarReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueSwitchAvatarReq) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +func (x *RogueSwitchAvatarReq) GetOnstageAvatarGuidList() []uint64 { + if x != nil { + return x.OnstageAvatarGuidList + } + return nil +} + +func (x *RogueSwitchAvatarReq) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +func (x *RogueSwitchAvatarReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_RogueSwitchAvatarReq_proto protoreflect.FileDescriptor + +var file_RogueSwitchAvatarReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, + 0x14, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x37, + 0x0a, 0x18, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, + 0x52, 0x15, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_RogueSwitchAvatarReq_proto_rawDescOnce sync.Once + file_RogueSwitchAvatarReq_proto_rawDescData = file_RogueSwitchAvatarReq_proto_rawDesc +) + +func file_RogueSwitchAvatarReq_proto_rawDescGZIP() []byte { + file_RogueSwitchAvatarReq_proto_rawDescOnce.Do(func() { + file_RogueSwitchAvatarReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueSwitchAvatarReq_proto_rawDescData) + }) + return file_RogueSwitchAvatarReq_proto_rawDescData +} + +var file_RogueSwitchAvatarReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueSwitchAvatarReq_proto_goTypes = []interface{}{ + (*RogueSwitchAvatarReq)(nil), // 0: RogueSwitchAvatarReq +} +var file_RogueSwitchAvatarReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueSwitchAvatarReq_proto_init() } +func file_RogueSwitchAvatarReq_proto_init() { + if File_RogueSwitchAvatarReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueSwitchAvatarReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueSwitchAvatarReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueSwitchAvatarReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueSwitchAvatarReq_proto_goTypes, + DependencyIndexes: file_RogueSwitchAvatarReq_proto_depIdxs, + MessageInfos: file_RogueSwitchAvatarReq_proto_msgTypes, + }.Build() + File_RogueSwitchAvatarReq_proto = out.File + file_RogueSwitchAvatarReq_proto_rawDesc = nil + file_RogueSwitchAvatarReq_proto_goTypes = nil + file_RogueSwitchAvatarReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueSwitchAvatarReq.proto b/gate-hk4e-api/proto/RogueSwitchAvatarReq.proto new file mode 100644 index 00000000..96445a18 --- /dev/null +++ b/gate-hk4e-api/proto/RogueSwitchAvatarReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8201 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RogueSwitchAvatarReq { + uint32 cell_id = 15; + repeated uint64 onstage_avatar_guid_list = 3; + uint64 cur_avatar_guid = 11; + uint32 dungeon_id = 6; +} diff --git a/gate-hk4e-api/proto/RogueSwitchAvatarRsp.pb.go b/gate-hk4e-api/proto/RogueSwitchAvatarRsp.pb.go new file mode 100644 index 00000000..a614d6df --- /dev/null +++ b/gate-hk4e-api/proto/RogueSwitchAvatarRsp.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RogueSwitchAvatarRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8915 +// EnetChannelId: 0 +// EnetIsReliable: true +type RogueSwitchAvatarRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurAvatarGuid uint64 `protobuf:"varint,4,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` + BackstageAvatarGuidList []uint64 `protobuf:"varint,8,rep,packed,name=backstage_avatar_guid_list,json=backstageAvatarGuidList,proto3" json:"backstage_avatar_guid_list,omitempty"` + DungeonId uint32 `protobuf:"varint,14,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,3,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + OnstageAvatarGuidList []uint64 `protobuf:"varint,9,rep,packed,name=onstage_avatar_guid_list,json=onstageAvatarGuidList,proto3" json:"onstage_avatar_guid_list,omitempty"` +} + +func (x *RogueSwitchAvatarRsp) Reset() { + *x = RogueSwitchAvatarRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RogueSwitchAvatarRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RogueSwitchAvatarRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RogueSwitchAvatarRsp) ProtoMessage() {} + +func (x *RogueSwitchAvatarRsp) ProtoReflect() protoreflect.Message { + mi := &file_RogueSwitchAvatarRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RogueSwitchAvatarRsp.ProtoReflect.Descriptor instead. +func (*RogueSwitchAvatarRsp) Descriptor() ([]byte, []int) { + return file_RogueSwitchAvatarRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RogueSwitchAvatarRsp) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +func (x *RogueSwitchAvatarRsp) GetBackstageAvatarGuidList() []uint64 { + if x != nil { + return x.BackstageAvatarGuidList + } + return nil +} + +func (x *RogueSwitchAvatarRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *RogueSwitchAvatarRsp) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +func (x *RogueSwitchAvatarRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RogueSwitchAvatarRsp) GetOnstageAvatarGuidList() []uint64 { + if x != nil { + return x.OnstageAvatarGuidList + } + return nil +} + +var File_RogueSwitchAvatarRsp_proto protoreflect.FileDescriptor + +var file_RogueSwitchAvatarRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x02, 0x0a, + 0x14, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x52, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, + 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x3b, 0x0a, + 0x1a, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x04, 0x52, 0x17, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x37, 0x0a, 0x18, + 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x04, 0x52, 0x15, + 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RogueSwitchAvatarRsp_proto_rawDescOnce sync.Once + file_RogueSwitchAvatarRsp_proto_rawDescData = file_RogueSwitchAvatarRsp_proto_rawDesc +) + +func file_RogueSwitchAvatarRsp_proto_rawDescGZIP() []byte { + file_RogueSwitchAvatarRsp_proto_rawDescOnce.Do(func() { + file_RogueSwitchAvatarRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RogueSwitchAvatarRsp_proto_rawDescData) + }) + return file_RogueSwitchAvatarRsp_proto_rawDescData +} + +var file_RogueSwitchAvatarRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RogueSwitchAvatarRsp_proto_goTypes = []interface{}{ + (*RogueSwitchAvatarRsp)(nil), // 0: RogueSwitchAvatarRsp +} +var file_RogueSwitchAvatarRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RogueSwitchAvatarRsp_proto_init() } +func file_RogueSwitchAvatarRsp_proto_init() { + if File_RogueSwitchAvatarRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RogueSwitchAvatarRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RogueSwitchAvatarRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RogueSwitchAvatarRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RogueSwitchAvatarRsp_proto_goTypes, + DependencyIndexes: file_RogueSwitchAvatarRsp_proto_depIdxs, + MessageInfos: file_RogueSwitchAvatarRsp_proto_msgTypes, + }.Build() + File_RogueSwitchAvatarRsp_proto = out.File + file_RogueSwitchAvatarRsp_proto_rawDesc = nil + file_RogueSwitchAvatarRsp_proto_goTypes = nil + file_RogueSwitchAvatarRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RogueSwitchAvatarRsp.proto b/gate-hk4e-api/proto/RogueSwitchAvatarRsp.proto new file mode 100644 index 00000000..c0756b94 --- /dev/null +++ b/gate-hk4e-api/proto/RogueSwitchAvatarRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8915 +// EnetChannelId: 0 +// EnetIsReliable: true +message RogueSwitchAvatarRsp { + uint64 cur_avatar_guid = 4; + repeated uint64 backstage_avatar_guid_list = 8; + uint32 dungeon_id = 14; + uint32 cell_id = 3; + int32 retcode = 12; + repeated uint64 onstage_avatar_guid_list = 9; +} diff --git a/gate-hk4e-api/proto/RoguelikeCardGachaNotify.pb.go b/gate-hk4e-api/proto/RoguelikeCardGachaNotify.pb.go new file mode 100644 index 00000000..b0060559 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeCardGachaNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeCardGachaNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8925 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeCardGachaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardList []uint32 `protobuf:"varint,10,rep,packed,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` + IsCanRefresh bool `protobuf:"varint,11,opt,name=is_can_refresh,json=isCanRefresh,proto3" json:"is_can_refresh,omitempty"` +} + +func (x *RoguelikeCardGachaNotify) Reset() { + *x = RoguelikeCardGachaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeCardGachaNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeCardGachaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeCardGachaNotify) ProtoMessage() {} + +func (x *RoguelikeCardGachaNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeCardGachaNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeCardGachaNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeCardGachaNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeCardGachaNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeCardGachaNotify) GetCardList() []uint32 { + if x != nil { + return x.CardList + } + return nil +} + +func (x *RoguelikeCardGachaNotify) GetIsCanRefresh() bool { + if x != nil { + return x.IsCanRefresh + } + return false +} + +var File_RoguelikeCardGachaNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeCardGachaNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x61, 0x72, 0x64, 0x47, + 0x61, 0x63, 0x68, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5d, 0x0a, 0x18, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x61, 0x72, + 0x64, 0x47, 0x61, 0x63, 0x68, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, + 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeCardGachaNotify_proto_rawDescOnce sync.Once + file_RoguelikeCardGachaNotify_proto_rawDescData = file_RoguelikeCardGachaNotify_proto_rawDesc +) + +func file_RoguelikeCardGachaNotify_proto_rawDescGZIP() []byte { + file_RoguelikeCardGachaNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeCardGachaNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeCardGachaNotify_proto_rawDescData) + }) + return file_RoguelikeCardGachaNotify_proto_rawDescData +} + +var file_RoguelikeCardGachaNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeCardGachaNotify_proto_goTypes = []interface{}{ + (*RoguelikeCardGachaNotify)(nil), // 0: RoguelikeCardGachaNotify +} +var file_RoguelikeCardGachaNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeCardGachaNotify_proto_init() } +func file_RoguelikeCardGachaNotify_proto_init() { + if File_RoguelikeCardGachaNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeCardGachaNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeCardGachaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeCardGachaNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeCardGachaNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeCardGachaNotify_proto_depIdxs, + MessageInfos: file_RoguelikeCardGachaNotify_proto_msgTypes, + }.Build() + File_RoguelikeCardGachaNotify_proto = out.File + file_RoguelikeCardGachaNotify_proto_rawDesc = nil + file_RoguelikeCardGachaNotify_proto_goTypes = nil + file_RoguelikeCardGachaNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeCardGachaNotify.proto b/gate-hk4e-api/proto/RoguelikeCardGachaNotify.proto new file mode 100644 index 00000000..38418896 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeCardGachaNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8925 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeCardGachaNotify { + repeated uint32 card_list = 10; + bool is_can_refresh = 11; +} diff --git a/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.pb.go b/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.pb.go new file mode 100644 index 00000000..282cfeba --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeDungeonActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeDungeonActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageList []*RogueStageInfo `protobuf:"bytes,8,rep,name=stage_list,json=stageList,proto3" json:"stage_list,omitempty"` + ShikigamiList []*RoguelikeShikigamiRecord `protobuf:"bytes,5,rep,name=shikigami_list,json=shikigamiList,proto3" json:"shikigami_list,omitempty"` + EquippedRuneList []uint32 `protobuf:"varint,14,rep,packed,name=equipped_rune_list,json=equippedRuneList,proto3" json:"equipped_rune_list,omitempty"` + ContentCloseTime uint32 `protobuf:"varint,6,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,10,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + RuneList []uint32 `protobuf:"varint,2,rep,packed,name=rune_list,json=runeList,proto3" json:"rune_list,omitempty"` +} + +func (x *RoguelikeDungeonActivityDetailInfo) Reset() { + *x = RoguelikeDungeonActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeDungeonActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeDungeonActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeDungeonActivityDetailInfo) ProtoMessage() {} + +func (x *RoguelikeDungeonActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeDungeonActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeDungeonActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*RoguelikeDungeonActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_RoguelikeDungeonActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetStageList() []*RogueStageInfo { + if x != nil { + return x.StageList + } + return nil +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetShikigamiList() []*RoguelikeShikigamiRecord { + if x != nil { + return x.ShikigamiList + } + return nil +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetEquippedRuneList() []uint32 { + if x != nil { + return x.EquippedRuneList + } + return nil +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *RoguelikeDungeonActivityDetailInfo) GetRuneList() []uint32 { + if x != nil { + return x.RuneList + } + return nil +} + +var File_RoguelikeDungeonActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_RoguelikeDungeonActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, + 0x67, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xbb, 0x02, 0x0a, 0x22, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0e, 0x73, 0x68, 0x69, 0x6b, 0x69, + 0x67, 0x61, 0x6d, 0x69, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, + 0x67, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0d, 0x73, 0x68, 0x69, 0x6b, + 0x69, 0x67, 0x61, 0x6d, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x71, 0x75, + 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x71, 0x75, 0x69, 0x70, 0x70, 0x65, 0x64, 0x52, + 0x75, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x75, 0x6e, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_RoguelikeDungeonActivityDetailInfo_proto_rawDescOnce sync.Once + file_RoguelikeDungeonActivityDetailInfo_proto_rawDescData = file_RoguelikeDungeonActivityDetailInfo_proto_rawDesc +) + +func file_RoguelikeDungeonActivityDetailInfo_proto_rawDescGZIP() []byte { + file_RoguelikeDungeonActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_RoguelikeDungeonActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeDungeonActivityDetailInfo_proto_rawDescData) + }) + return file_RoguelikeDungeonActivityDetailInfo_proto_rawDescData +} + +var file_RoguelikeDungeonActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeDungeonActivityDetailInfo_proto_goTypes = []interface{}{ + (*RoguelikeDungeonActivityDetailInfo)(nil), // 0: RoguelikeDungeonActivityDetailInfo + (*RogueStageInfo)(nil), // 1: RogueStageInfo + (*RoguelikeShikigamiRecord)(nil), // 2: RoguelikeShikigamiRecord +} +var file_RoguelikeDungeonActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: RoguelikeDungeonActivityDetailInfo.stage_list:type_name -> RogueStageInfo + 2, // 1: RoguelikeDungeonActivityDetailInfo.shikigami_list:type_name -> RoguelikeShikigamiRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RoguelikeDungeonActivityDetailInfo_proto_init() } +func file_RoguelikeDungeonActivityDetailInfo_proto_init() { + if File_RoguelikeDungeonActivityDetailInfo_proto != nil { + return + } + file_RogueStageInfo_proto_init() + file_RoguelikeShikigamiRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoguelikeDungeonActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeDungeonActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeDungeonActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeDungeonActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_RoguelikeDungeonActivityDetailInfo_proto_depIdxs, + MessageInfos: file_RoguelikeDungeonActivityDetailInfo_proto_msgTypes, + }.Build() + File_RoguelikeDungeonActivityDetailInfo_proto = out.File + file_RoguelikeDungeonActivityDetailInfo_proto_rawDesc = nil + file_RoguelikeDungeonActivityDetailInfo_proto_goTypes = nil + file_RoguelikeDungeonActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.proto b/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.proto new file mode 100644 index 00000000..279110e4 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeDungeonActivityDetailInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueStageInfo.proto"; +import "RoguelikeShikigamiRecord.proto"; + +option go_package = "./;proto"; + +message RoguelikeDungeonActivityDetailInfo { + repeated RogueStageInfo stage_list = 8; + repeated RoguelikeShikigamiRecord shikigami_list = 5; + repeated uint32 equipped_rune_list = 14; + uint32 content_close_time = 6; + bool is_content_closed = 10; + repeated uint32 rune_list = 2; +} diff --git a/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.pb.go b/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.pb.go new file mode 100644 index 00000000..d08fde7a --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeDungeonSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeDungeonSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,5,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsFinalLevel bool `protobuf:"varint,15,opt,name=is_final_level,json=isFinalLevel,proto3" json:"is_final_level,omitempty"` + FinishedChallengeCellNumMap map[uint32]*RoguelikeSettleCoinInfo `protobuf:"bytes,3,rep,name=finished_challenge_cell_num_map,json=finishedChallengeCellNumMap,proto3" json:"finished_challenge_cell_num_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + IsCoinCReachLimit bool `protobuf:"varint,13,opt,name=is_coin_c_reach_limit,json=isCoinCReachLimit,proto3" json:"is_coin_c_reach_limit,omitempty"` + CurLevel uint32 `protobuf:"varint,9,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + TotalCoinBNum uint32 `protobuf:"varint,6,opt,name=total_coin_b_num,json=totalCoinBNum,proto3" json:"total_coin_b_num,omitempty"` + TotalCoinCNum uint32 `protobuf:"varint,10,opt,name=total_coin_c_num,json=totalCoinCNum,proto3" json:"total_coin_c_num,omitempty"` +} + +func (x *RoguelikeDungeonSettleInfo) Reset() { + *x = RoguelikeDungeonSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeDungeonSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeDungeonSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeDungeonSettleInfo) ProtoMessage() {} + +func (x *RoguelikeDungeonSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeDungeonSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeDungeonSettleInfo.ProtoReflect.Descriptor instead. +func (*RoguelikeDungeonSettleInfo) Descriptor() ([]byte, []int) { + return file_RoguelikeDungeonSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeDungeonSettleInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RoguelikeDungeonSettleInfo) GetIsFinalLevel() bool { + if x != nil { + return x.IsFinalLevel + } + return false +} + +func (x *RoguelikeDungeonSettleInfo) GetFinishedChallengeCellNumMap() map[uint32]*RoguelikeSettleCoinInfo { + if x != nil { + return x.FinishedChallengeCellNumMap + } + return nil +} + +func (x *RoguelikeDungeonSettleInfo) GetIsCoinCReachLimit() bool { + if x != nil { + return x.IsCoinCReachLimit + } + return false +} + +func (x *RoguelikeDungeonSettleInfo) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *RoguelikeDungeonSettleInfo) GetTotalCoinBNum() uint32 { + if x != nil { + return x.TotalCoinBNum + } + return 0 +} + +func (x *RoguelikeDungeonSettleInfo) GetTotalCoinCNum() uint32 { + if x != nil { + return x.TotalCoinCNum + } + return 0 +} + +var File_RoguelikeDungeonSettleInfo_proto protoreflect.FileDescriptor + +var file_RoguelikeDungeonSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xed, 0x03, 0x0a, 0x1a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x69, + 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x82, 0x01, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x63, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x6e, 0x75, + 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x4e, 0x75, + 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1b, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x30, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x69, + 0x6e, 0x5f, 0x63, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x52, 0x65, + 0x61, 0x63, 0x68, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x27, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, + 0x6f, 0x69, 0x6e, 0x5f, 0x62, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4e, 0x75, 0x6d, 0x12, 0x27, + 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x63, 0x5f, 0x6e, + 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, + 0x6f, 0x69, 0x6e, 0x43, 0x4e, 0x75, 0x6d, 0x1a, 0x68, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x4e, 0x75, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, + 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeDungeonSettleInfo_proto_rawDescOnce sync.Once + file_RoguelikeDungeonSettleInfo_proto_rawDescData = file_RoguelikeDungeonSettleInfo_proto_rawDesc +) + +func file_RoguelikeDungeonSettleInfo_proto_rawDescGZIP() []byte { + file_RoguelikeDungeonSettleInfo_proto_rawDescOnce.Do(func() { + file_RoguelikeDungeonSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeDungeonSettleInfo_proto_rawDescData) + }) + return file_RoguelikeDungeonSettleInfo_proto_rawDescData +} + +var file_RoguelikeDungeonSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_RoguelikeDungeonSettleInfo_proto_goTypes = []interface{}{ + (*RoguelikeDungeonSettleInfo)(nil), // 0: RoguelikeDungeonSettleInfo + nil, // 1: RoguelikeDungeonSettleInfo.FinishedChallengeCellNumMapEntry + (*RoguelikeSettleCoinInfo)(nil), // 2: RoguelikeSettleCoinInfo +} +var file_RoguelikeDungeonSettleInfo_proto_depIdxs = []int32{ + 1, // 0: RoguelikeDungeonSettleInfo.finished_challenge_cell_num_map:type_name -> RoguelikeDungeonSettleInfo.FinishedChallengeCellNumMapEntry + 2, // 1: RoguelikeDungeonSettleInfo.FinishedChallengeCellNumMapEntry.value:type_name -> RoguelikeSettleCoinInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RoguelikeDungeonSettleInfo_proto_init() } +func file_RoguelikeDungeonSettleInfo_proto_init() { + if File_RoguelikeDungeonSettleInfo_proto != nil { + return + } + file_RoguelikeSettleCoinInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoguelikeDungeonSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeDungeonSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeDungeonSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeDungeonSettleInfo_proto_goTypes, + DependencyIndexes: file_RoguelikeDungeonSettleInfo_proto_depIdxs, + MessageInfos: file_RoguelikeDungeonSettleInfo_proto_msgTypes, + }.Build() + File_RoguelikeDungeonSettleInfo_proto = out.File + file_RoguelikeDungeonSettleInfo_proto_rawDesc = nil + file_RoguelikeDungeonSettleInfo_proto_goTypes = nil + file_RoguelikeDungeonSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.proto b/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.proto new file mode 100644 index 00000000..44ff9bcf --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeDungeonSettleInfo.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoguelikeSettleCoinInfo.proto"; + +option go_package = "./;proto"; + +message RoguelikeDungeonSettleInfo { + uint32 stage_id = 5; + bool is_final_level = 15; + map finished_challenge_cell_num_map = 3; + bool is_coin_c_reach_limit = 13; + uint32 cur_level = 9; + uint32 total_coin_b_num = 6; + uint32 total_coin_c_num = 10; +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectDataNotify.pb.go b/gate-hk4e-api/proto/RoguelikeEffectDataNotify.pb.go new file mode 100644 index 00000000..8e680b20 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectDataNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeEffectDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8222 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeEffectDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurseList []*RogueEffectRecord `protobuf:"bytes,7,rep,name=curse_list,json=curseList,proto3" json:"curse_list,omitempty"` + CardList []*RogueEffectRecord `protobuf:"bytes,4,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` +} + +func (x *RoguelikeEffectDataNotify) Reset() { + *x = RoguelikeEffectDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeEffectDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeEffectDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeEffectDataNotify) ProtoMessage() {} + +func (x *RoguelikeEffectDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeEffectDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeEffectDataNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeEffectDataNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeEffectDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeEffectDataNotify) GetCurseList() []*RogueEffectRecord { + if x != nil { + return x.CurseList + } + return nil +} + +func (x *RoguelikeEffectDataNotify) GetCardList() []*RogueEffectRecord { + if x != nil { + return x.CardList + } + return nil +} + +var File_RoguelikeEffectDataNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeEffectDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x19, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x73, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x09, 0x63, 0x75, 0x72, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x61, + 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeEffectDataNotify_proto_rawDescOnce sync.Once + file_RoguelikeEffectDataNotify_proto_rawDescData = file_RoguelikeEffectDataNotify_proto_rawDesc +) + +func file_RoguelikeEffectDataNotify_proto_rawDescGZIP() []byte { + file_RoguelikeEffectDataNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeEffectDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeEffectDataNotify_proto_rawDescData) + }) + return file_RoguelikeEffectDataNotify_proto_rawDescData +} + +var file_RoguelikeEffectDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeEffectDataNotify_proto_goTypes = []interface{}{ + (*RoguelikeEffectDataNotify)(nil), // 0: RoguelikeEffectDataNotify + (*RogueEffectRecord)(nil), // 1: RogueEffectRecord +} +var file_RoguelikeEffectDataNotify_proto_depIdxs = []int32{ + 1, // 0: RoguelikeEffectDataNotify.curse_list:type_name -> RogueEffectRecord + 1, // 1: RoguelikeEffectDataNotify.card_list:type_name -> RogueEffectRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_RoguelikeEffectDataNotify_proto_init() } +func file_RoguelikeEffectDataNotify_proto_init() { + if File_RoguelikeEffectDataNotify_proto != nil { + return + } + file_RogueEffectRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoguelikeEffectDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeEffectDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeEffectDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeEffectDataNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeEffectDataNotify_proto_depIdxs, + MessageInfos: file_RoguelikeEffectDataNotify_proto_msgTypes, + }.Build() + File_RoguelikeEffectDataNotify_proto = out.File + file_RoguelikeEffectDataNotify_proto_rawDesc = nil + file_RoguelikeEffectDataNotify_proto_goTypes = nil + file_RoguelikeEffectDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectDataNotify.proto b/gate-hk4e-api/proto/RoguelikeEffectDataNotify.proto new file mode 100644 index 00000000..af12137c --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectDataNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueEffectRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 8222 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeEffectDataNotify { + repeated RogueEffectRecord curse_list = 7; + repeated RogueEffectRecord card_list = 4; +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectViewReq.pb.go b/gate-hk4e-api/proto/RoguelikeEffectViewReq.pb.go new file mode 100644 index 00000000..52c1ff7c --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectViewReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeEffectViewReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8528 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RoguelikeEffectViewReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ViewCurseList []uint32 `protobuf:"varint,10,rep,packed,name=view_curse_list,json=viewCurseList,proto3" json:"view_curse_list,omitempty"` + ViewCardList []uint32 `protobuf:"varint,2,rep,packed,name=view_card_list,json=viewCardList,proto3" json:"view_card_list,omitempty"` +} + +func (x *RoguelikeEffectViewReq) Reset() { + *x = RoguelikeEffectViewReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeEffectViewReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeEffectViewReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeEffectViewReq) ProtoMessage() {} + +func (x *RoguelikeEffectViewReq) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeEffectViewReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeEffectViewReq.ProtoReflect.Descriptor instead. +func (*RoguelikeEffectViewReq) Descriptor() ([]byte, []int) { + return file_RoguelikeEffectViewReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeEffectViewReq) GetViewCurseList() []uint32 { + if x != nil { + return x.ViewCurseList + } + return nil +} + +func (x *RoguelikeEffectViewReq) GetViewCardList() []uint32 { + if x != nil { + return x.ViewCardList + } + return nil +} + +var File_RoguelikeEffectViewReq_proto protoreflect.FileDescriptor + +var file_RoguelikeEffectViewReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, + 0x0a, 0x16, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x69, 0x65, 0x77, + 0x5f, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0d, 0x76, 0x69, 0x65, 0x77, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x24, 0x0a, 0x0e, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x76, 0x69, 0x65, 0x77, 0x43, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeEffectViewReq_proto_rawDescOnce sync.Once + file_RoguelikeEffectViewReq_proto_rawDescData = file_RoguelikeEffectViewReq_proto_rawDesc +) + +func file_RoguelikeEffectViewReq_proto_rawDescGZIP() []byte { + file_RoguelikeEffectViewReq_proto_rawDescOnce.Do(func() { + file_RoguelikeEffectViewReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeEffectViewReq_proto_rawDescData) + }) + return file_RoguelikeEffectViewReq_proto_rawDescData +} + +var file_RoguelikeEffectViewReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeEffectViewReq_proto_goTypes = []interface{}{ + (*RoguelikeEffectViewReq)(nil), // 0: RoguelikeEffectViewReq +} +var file_RoguelikeEffectViewReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeEffectViewReq_proto_init() } +func file_RoguelikeEffectViewReq_proto_init() { + if File_RoguelikeEffectViewReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeEffectViewReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeEffectViewReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeEffectViewReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeEffectViewReq_proto_goTypes, + DependencyIndexes: file_RoguelikeEffectViewReq_proto_depIdxs, + MessageInfos: file_RoguelikeEffectViewReq_proto_msgTypes, + }.Build() + File_RoguelikeEffectViewReq_proto = out.File + file_RoguelikeEffectViewReq_proto_rawDesc = nil + file_RoguelikeEffectViewReq_proto_goTypes = nil + file_RoguelikeEffectViewReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectViewReq.proto b/gate-hk4e-api/proto/RoguelikeEffectViewReq.proto new file mode 100644 index 00000000..8db72cb5 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectViewReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8528 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RoguelikeEffectViewReq { + repeated uint32 view_curse_list = 10; + repeated uint32 view_card_list = 2; +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectViewRsp.pb.go b/gate-hk4e-api/proto/RoguelikeEffectViewRsp.pb.go new file mode 100644 index 00000000..ec7dd773 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectViewRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeEffectViewRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8639 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RoguelikeEffectViewRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RoguelikeEffectViewRsp) Reset() { + *x = RoguelikeEffectViewRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeEffectViewRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeEffectViewRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeEffectViewRsp) ProtoMessage() {} + +func (x *RoguelikeEffectViewRsp) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeEffectViewRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeEffectViewRsp.ProtoReflect.Descriptor instead. +func (*RoguelikeEffectViewRsp) Descriptor() ([]byte, []int) { + return file_RoguelikeEffectViewRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeEffectViewRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RoguelikeEffectViewRsp_proto protoreflect.FileDescriptor + +var file_RoguelikeEffectViewRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x56, 0x69, 0x65, 0x77, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeEffectViewRsp_proto_rawDescOnce sync.Once + file_RoguelikeEffectViewRsp_proto_rawDescData = file_RoguelikeEffectViewRsp_proto_rawDesc +) + +func file_RoguelikeEffectViewRsp_proto_rawDescGZIP() []byte { + file_RoguelikeEffectViewRsp_proto_rawDescOnce.Do(func() { + file_RoguelikeEffectViewRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeEffectViewRsp_proto_rawDescData) + }) + return file_RoguelikeEffectViewRsp_proto_rawDescData +} + +var file_RoguelikeEffectViewRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeEffectViewRsp_proto_goTypes = []interface{}{ + (*RoguelikeEffectViewRsp)(nil), // 0: RoguelikeEffectViewRsp +} +var file_RoguelikeEffectViewRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeEffectViewRsp_proto_init() } +func file_RoguelikeEffectViewRsp_proto_init() { + if File_RoguelikeEffectViewRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeEffectViewRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeEffectViewRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeEffectViewRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeEffectViewRsp_proto_goTypes, + DependencyIndexes: file_RoguelikeEffectViewRsp_proto_depIdxs, + MessageInfos: file_RoguelikeEffectViewRsp_proto_msgTypes, + }.Build() + File_RoguelikeEffectViewRsp_proto = out.File + file_RoguelikeEffectViewRsp_proto_rawDesc = nil + file_RoguelikeEffectViewRsp_proto_goTypes = nil + file_RoguelikeEffectViewRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeEffectViewRsp.proto b/gate-hk4e-api/proto/RoguelikeEffectViewRsp.proto new file mode 100644 index 00000000..de104ea8 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeEffectViewRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8639 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RoguelikeEffectViewRsp { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/RoguelikeGadgetInfo.pb.go b/gate-hk4e-api/proto/RoguelikeGadgetInfo.pb.go new file mode 100644 index 00000000..ae9c8926 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGadgetInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellConfigId uint32 `protobuf:"varint,1,opt,name=cell_config_id,json=cellConfigId,proto3" json:"cell_config_id,omitempty"` + CellType uint32 `protobuf:"varint,2,opt,name=cell_type,json=cellType,proto3" json:"cell_type,omitempty"` + CellState uint32 `protobuf:"varint,3,opt,name=cell_state,json=cellState,proto3" json:"cell_state,omitempty"` + CellId uint32 `protobuf:"varint,4,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *RoguelikeGadgetInfo) Reset() { + *x = RoguelikeGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeGadgetInfo) ProtoMessage() {} + +func (x *RoguelikeGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeGadgetInfo.ProtoReflect.Descriptor instead. +func (*RoguelikeGadgetInfo) Descriptor() ([]byte, []int) { + return file_RoguelikeGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeGadgetInfo) GetCellConfigId() uint32 { + if x != nil { + return x.CellConfigId + } + return 0 +} + +func (x *RoguelikeGadgetInfo) GetCellType() uint32 { + if x != nil { + return x.CellType + } + return 0 +} + +func (x *RoguelikeGadgetInfo) GetCellState() uint32 { + if x != nil { + return x.CellState + } + return 0 +} + +func (x *RoguelikeGadgetInfo) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_RoguelikeGadgetInfo_proto protoreflect.FileDescriptor + +var file_RoguelikeGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x13, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x65, 0x6c, + 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x65, + 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x65, 0x6c, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_RoguelikeGadgetInfo_proto_rawDescOnce sync.Once + file_RoguelikeGadgetInfo_proto_rawDescData = file_RoguelikeGadgetInfo_proto_rawDesc +) + +func file_RoguelikeGadgetInfo_proto_rawDescGZIP() []byte { + file_RoguelikeGadgetInfo_proto_rawDescOnce.Do(func() { + file_RoguelikeGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeGadgetInfo_proto_rawDescData) + }) + return file_RoguelikeGadgetInfo_proto_rawDescData +} + +var file_RoguelikeGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeGadgetInfo_proto_goTypes = []interface{}{ + (*RoguelikeGadgetInfo)(nil), // 0: RoguelikeGadgetInfo +} +var file_RoguelikeGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeGadgetInfo_proto_init() } +func file_RoguelikeGadgetInfo_proto_init() { + if File_RoguelikeGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeGadgetInfo_proto_goTypes, + DependencyIndexes: file_RoguelikeGadgetInfo_proto_depIdxs, + MessageInfos: file_RoguelikeGadgetInfo_proto_msgTypes, + }.Build() + File_RoguelikeGadgetInfo_proto = out.File + file_RoguelikeGadgetInfo_proto_rawDesc = nil + file_RoguelikeGadgetInfo_proto_goTypes = nil + file_RoguelikeGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeGadgetInfo.proto b/gate-hk4e-api/proto/RoguelikeGadgetInfo.proto new file mode 100644 index 00000000..5fbb8376 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGadgetInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RoguelikeGadgetInfo { + uint32 cell_config_id = 1; + uint32 cell_type = 2; + uint32 cell_state = 3; + uint32 cell_id = 4; +} diff --git a/gate-hk4e-api/proto/RoguelikeGiveUpReq.pb.go b/gate-hk4e-api/proto/RoguelikeGiveUpReq.pb.go new file mode 100644 index 00000000..8f76078f --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGiveUpReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeGiveUpReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8660 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RoguelikeGiveUpReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *RoguelikeGiveUpReq) Reset() { + *x = RoguelikeGiveUpReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeGiveUpReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeGiveUpReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeGiveUpReq) ProtoMessage() {} + +func (x *RoguelikeGiveUpReq) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeGiveUpReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeGiveUpReq.ProtoReflect.Descriptor instead. +func (*RoguelikeGiveUpReq) Descriptor() ([]byte, []int) { + return file_RoguelikeGiveUpReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeGiveUpReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_RoguelikeGiveUpReq_proto protoreflect.FileDescriptor + +var file_RoguelikeGiveUpReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x69, 0x76, 0x65, 0x55, + 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x12, 0x52, 0x6f, + 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeGiveUpReq_proto_rawDescOnce sync.Once + file_RoguelikeGiveUpReq_proto_rawDescData = file_RoguelikeGiveUpReq_proto_rawDesc +) + +func file_RoguelikeGiveUpReq_proto_rawDescGZIP() []byte { + file_RoguelikeGiveUpReq_proto_rawDescOnce.Do(func() { + file_RoguelikeGiveUpReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeGiveUpReq_proto_rawDescData) + }) + return file_RoguelikeGiveUpReq_proto_rawDescData +} + +var file_RoguelikeGiveUpReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeGiveUpReq_proto_goTypes = []interface{}{ + (*RoguelikeGiveUpReq)(nil), // 0: RoguelikeGiveUpReq +} +var file_RoguelikeGiveUpReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeGiveUpReq_proto_init() } +func file_RoguelikeGiveUpReq_proto_init() { + if File_RoguelikeGiveUpReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeGiveUpReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeGiveUpReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeGiveUpReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeGiveUpReq_proto_goTypes, + DependencyIndexes: file_RoguelikeGiveUpReq_proto_depIdxs, + MessageInfos: file_RoguelikeGiveUpReq_proto_msgTypes, + }.Build() + File_RoguelikeGiveUpReq_proto = out.File + file_RoguelikeGiveUpReq_proto_rawDesc = nil + file_RoguelikeGiveUpReq_proto_goTypes = nil + file_RoguelikeGiveUpReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeGiveUpReq.proto b/gate-hk4e-api/proto/RoguelikeGiveUpReq.proto new file mode 100644 index 00000000..c3421c74 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGiveUpReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8660 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RoguelikeGiveUpReq { + uint32 stage_id = 9; +} diff --git a/gate-hk4e-api/proto/RoguelikeGiveUpRsp.pb.go b/gate-hk4e-api/proto/RoguelikeGiveUpRsp.pb.go new file mode 100644 index 00000000..1b037ee5 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGiveUpRsp.pb.go @@ -0,0 +1,211 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeGiveUpRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8139 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeGiveUpRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + // Types that are assignable to Info: + // *RoguelikeGiveUpRsp_SettleInfo + Info isRoguelikeGiveUpRsp_Info `protobuf_oneof:"info"` +} + +func (x *RoguelikeGiveUpRsp) Reset() { + *x = RoguelikeGiveUpRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeGiveUpRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeGiveUpRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeGiveUpRsp) ProtoMessage() {} + +func (x *RoguelikeGiveUpRsp) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeGiveUpRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeGiveUpRsp.ProtoReflect.Descriptor instead. +func (*RoguelikeGiveUpRsp) Descriptor() ([]byte, []int) { + return file_RoguelikeGiveUpRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeGiveUpRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *RoguelikeGiveUpRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (m *RoguelikeGiveUpRsp) GetInfo() isRoguelikeGiveUpRsp_Info { + if m != nil { + return m.Info + } + return nil +} + +func (x *RoguelikeGiveUpRsp) GetSettleInfo() *RoguelikeDungeonSettleInfo { + if x, ok := x.GetInfo().(*RoguelikeGiveUpRsp_SettleInfo); ok { + return x.SettleInfo + } + return nil +} + +type isRoguelikeGiveUpRsp_Info interface { + isRoguelikeGiveUpRsp_Info() +} + +type RoguelikeGiveUpRsp_SettleInfo struct { + SettleInfo *RoguelikeDungeonSettleInfo `protobuf:"bytes,8,opt,name=settle_info,json=settleInfo,proto3,oneof"` +} + +func (*RoguelikeGiveUpRsp_SettleInfo) isRoguelikeGiveUpRsp_Info() {} + +var File_RoguelikeGiveUpRsp_proto protoreflect.FileDescriptor + +var file_RoguelikeGiveUpRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x69, 0x76, 0x65, 0x55, + 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, + 0x12, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x06, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeGiveUpRsp_proto_rawDescOnce sync.Once + file_RoguelikeGiveUpRsp_proto_rawDescData = file_RoguelikeGiveUpRsp_proto_rawDesc +) + +func file_RoguelikeGiveUpRsp_proto_rawDescGZIP() []byte { + file_RoguelikeGiveUpRsp_proto_rawDescOnce.Do(func() { + file_RoguelikeGiveUpRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeGiveUpRsp_proto_rawDescData) + }) + return file_RoguelikeGiveUpRsp_proto_rawDescData +} + +var file_RoguelikeGiveUpRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeGiveUpRsp_proto_goTypes = []interface{}{ + (*RoguelikeGiveUpRsp)(nil), // 0: RoguelikeGiveUpRsp + (*RoguelikeDungeonSettleInfo)(nil), // 1: RoguelikeDungeonSettleInfo +} +var file_RoguelikeGiveUpRsp_proto_depIdxs = []int32{ + 1, // 0: RoguelikeGiveUpRsp.settle_info:type_name -> RoguelikeDungeonSettleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RoguelikeGiveUpRsp_proto_init() } +func file_RoguelikeGiveUpRsp_proto_init() { + if File_RoguelikeGiveUpRsp_proto != nil { + return + } + file_RoguelikeDungeonSettleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoguelikeGiveUpRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeGiveUpRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_RoguelikeGiveUpRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*RoguelikeGiveUpRsp_SettleInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeGiveUpRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeGiveUpRsp_proto_goTypes, + DependencyIndexes: file_RoguelikeGiveUpRsp_proto_depIdxs, + MessageInfos: file_RoguelikeGiveUpRsp_proto_msgTypes, + }.Build() + File_RoguelikeGiveUpRsp_proto = out.File + file_RoguelikeGiveUpRsp_proto_rawDesc = nil + file_RoguelikeGiveUpRsp_proto_goTypes = nil + file_RoguelikeGiveUpRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeGiveUpRsp.proto b/gate-hk4e-api/proto/RoguelikeGiveUpRsp.proto new file mode 100644 index 00000000..eab4b610 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeGiveUpRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoguelikeDungeonSettleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8139 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeGiveUpRsp { + int32 retcode = 4; + uint32 stage_id = 7; + oneof info { + RoguelikeDungeonSettleInfo settle_info = 8; + } +} diff --git a/gate-hk4e-api/proto/RoguelikeMistClearNotify.pb.go b/gate-hk4e-api/proto/RoguelikeMistClearNotify.pb.go new file mode 100644 index 00000000..14ee19fb --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeMistClearNotify.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeMistClearNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8324 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeMistClearNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RoguelikeMistClearNotify) Reset() { + *x = RoguelikeMistClearNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeMistClearNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeMistClearNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeMistClearNotify) ProtoMessage() {} + +func (x *RoguelikeMistClearNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeMistClearNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeMistClearNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeMistClearNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeMistClearNotify_proto_rawDescGZIP(), []int{0} +} + +var File_RoguelikeMistClearNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeMistClearNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x4d, 0x69, 0x73, 0x74, 0x43, + 0x6c, 0x65, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x4d, 0x69, 0x73, + 0x74, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeMistClearNotify_proto_rawDescOnce sync.Once + file_RoguelikeMistClearNotify_proto_rawDescData = file_RoguelikeMistClearNotify_proto_rawDesc +) + +func file_RoguelikeMistClearNotify_proto_rawDescGZIP() []byte { + file_RoguelikeMistClearNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeMistClearNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeMistClearNotify_proto_rawDescData) + }) + return file_RoguelikeMistClearNotify_proto_rawDescData +} + +var file_RoguelikeMistClearNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeMistClearNotify_proto_goTypes = []interface{}{ + (*RoguelikeMistClearNotify)(nil), // 0: RoguelikeMistClearNotify +} +var file_RoguelikeMistClearNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeMistClearNotify_proto_init() } +func file_RoguelikeMistClearNotify_proto_init() { + if File_RoguelikeMistClearNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeMistClearNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeMistClearNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeMistClearNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeMistClearNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeMistClearNotify_proto_depIdxs, + MessageInfos: file_RoguelikeMistClearNotify_proto_msgTypes, + }.Build() + File_RoguelikeMistClearNotify_proto = out.File + file_RoguelikeMistClearNotify_proto_rawDesc = nil + file_RoguelikeMistClearNotify_proto_goTypes = nil + file_RoguelikeMistClearNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeMistClearNotify.proto b/gate-hk4e-api/proto/RoguelikeMistClearNotify.proto new file mode 100644 index 00000000..8d20e624 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeMistClearNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8324 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeMistClearNotify {} diff --git a/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.pb.go b/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.pb.go new file mode 100644 index 00000000..eb4df8ca --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeRefreshCardCostUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8927 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeRefreshCardCostUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemCount uint32 `protobuf:"varint,5,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"` + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` +} + +func (x *RoguelikeRefreshCardCostUpdateNotify) Reset() { + *x = RoguelikeRefreshCardCostUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeRefreshCardCostUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeRefreshCardCostUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeRefreshCardCostUpdateNotify) ProtoMessage() {} + +func (x *RoguelikeRefreshCardCostUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeRefreshCardCostUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeRefreshCardCostUpdateNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeRefreshCardCostUpdateNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeRefreshCardCostUpdateNotify) GetItemCount() uint32 { + if x != nil { + return x.ItemCount + } + return 0 +} + +func (x *RoguelikeRefreshCardCostUpdateNotify) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +var File_RoguelikeRefreshCardCostUpdateNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x43, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x24, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x43, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescOnce sync.Once + file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescData = file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDesc +) + +func file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescGZIP() []byte { + file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescData) + }) + return file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDescData +} + +var file_RoguelikeRefreshCardCostUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeRefreshCardCostUpdateNotify_proto_goTypes = []interface{}{ + (*RoguelikeRefreshCardCostUpdateNotify)(nil), // 0: RoguelikeRefreshCardCostUpdateNotify +} +var file_RoguelikeRefreshCardCostUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeRefreshCardCostUpdateNotify_proto_init() } +func file_RoguelikeRefreshCardCostUpdateNotify_proto_init() { + if File_RoguelikeRefreshCardCostUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeRefreshCardCostUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeRefreshCardCostUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeRefreshCardCostUpdateNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeRefreshCardCostUpdateNotify_proto_depIdxs, + MessageInfos: file_RoguelikeRefreshCardCostUpdateNotify_proto_msgTypes, + }.Build() + File_RoguelikeRefreshCardCostUpdateNotify_proto = out.File + file_RoguelikeRefreshCardCostUpdateNotify_proto_rawDesc = nil + file_RoguelikeRefreshCardCostUpdateNotify_proto_goTypes = nil + file_RoguelikeRefreshCardCostUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.proto b/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.proto new file mode 100644 index 00000000..4eb8c2ab --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRefreshCardCostUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8927 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeRefreshCardCostUpdateNotify { + uint32 item_count = 5; + uint32 item_id = 1; +} diff --git a/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.pb.go b/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.pb.go new file mode 100644 index 00000000..ff2d34dc --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeResourceBonusPropUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8555 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeResourceBonusPropUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BonusResourceProp float32 `protobuf:"fixed32,12,opt,name=bonus_resource_prop,json=bonusResourceProp,proto3" json:"bonus_resource_prop,omitempty"` +} + +func (x *RoguelikeResourceBonusPropUpdateNotify) Reset() { + *x = RoguelikeResourceBonusPropUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeResourceBonusPropUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeResourceBonusPropUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeResourceBonusPropUpdateNotify) ProtoMessage() {} + +func (x *RoguelikeResourceBonusPropUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeResourceBonusPropUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeResourceBonusPropUpdateNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeResourceBonusPropUpdateNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeResourceBonusPropUpdateNotify) GetBonusResourceProp() float32 { + if x != nil { + return x.BonusResourceProp + } + return 0 +} + +var File_RoguelikeResourceBonusPropUpdateNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, + 0x0a, 0x26, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x6f, 0x6e, 0x75, + 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescOnce sync.Once + file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescData = file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDesc +) + +func file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescGZIP() []byte { + file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescData) + }) + return file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDescData +} + +var file_RoguelikeResourceBonusPropUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeResourceBonusPropUpdateNotify_proto_goTypes = []interface{}{ + (*RoguelikeResourceBonusPropUpdateNotify)(nil), // 0: RoguelikeResourceBonusPropUpdateNotify +} +var file_RoguelikeResourceBonusPropUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeResourceBonusPropUpdateNotify_proto_init() } +func file_RoguelikeResourceBonusPropUpdateNotify_proto_init() { + if File_RoguelikeResourceBonusPropUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeResourceBonusPropUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeResourceBonusPropUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeResourceBonusPropUpdateNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeResourceBonusPropUpdateNotify_proto_depIdxs, + MessageInfos: file_RoguelikeResourceBonusPropUpdateNotify_proto_msgTypes, + }.Build() + File_RoguelikeResourceBonusPropUpdateNotify_proto = out.File + file_RoguelikeResourceBonusPropUpdateNotify_proto_rawDesc = nil + file_RoguelikeResourceBonusPropUpdateNotify_proto_goTypes = nil + file_RoguelikeResourceBonusPropUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.proto b/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.proto new file mode 100644 index 00000000..a910022b --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeResourceBonusPropUpdateNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8555 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeResourceBonusPropUpdateNotify { + float bonus_resource_prop = 12; +} diff --git a/gate-hk4e-api/proto/RoguelikeRuneRecord.pb.go b/gate-hk4e-api/proto/RoguelikeRuneRecord.pb.go new file mode 100644 index 00000000..77e51d68 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRuneRecord.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeRuneRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeRuneRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftCount uint32 `protobuf:"varint,14,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` + RuneId uint32 `protobuf:"varint,6,opt,name=rune_id,json=runeId,proto3" json:"rune_id,omitempty"` + MaxCount uint32 `protobuf:"varint,4,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` +} + +func (x *RoguelikeRuneRecord) Reset() { + *x = RoguelikeRuneRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeRuneRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeRuneRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeRuneRecord) ProtoMessage() {} + +func (x *RoguelikeRuneRecord) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeRuneRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeRuneRecord.ProtoReflect.Descriptor instead. +func (*RoguelikeRuneRecord) Descriptor() ([]byte, []int) { + return file_RoguelikeRuneRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeRuneRecord) GetLeftCount() uint32 { + if x != nil { + return x.LeftCount + } + return 0 +} + +func (x *RoguelikeRuneRecord) GetRuneId() uint32 { + if x != nil { + return x.RuneId + } + return 0 +} + +func (x *RoguelikeRuneRecord) GetMaxCount() uint32 { + if x != nil { + return x.MaxCount + } + return 0 +} + +var File_RoguelikeRuneRecord_proto protoreflect.FileDescriptor + +var file_RoguelikeRuneRecord_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x13, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, + 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, + 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeRuneRecord_proto_rawDescOnce sync.Once + file_RoguelikeRuneRecord_proto_rawDescData = file_RoguelikeRuneRecord_proto_rawDesc +) + +func file_RoguelikeRuneRecord_proto_rawDescGZIP() []byte { + file_RoguelikeRuneRecord_proto_rawDescOnce.Do(func() { + file_RoguelikeRuneRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeRuneRecord_proto_rawDescData) + }) + return file_RoguelikeRuneRecord_proto_rawDescData +} + +var file_RoguelikeRuneRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeRuneRecord_proto_goTypes = []interface{}{ + (*RoguelikeRuneRecord)(nil), // 0: RoguelikeRuneRecord +} +var file_RoguelikeRuneRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeRuneRecord_proto_init() } +func file_RoguelikeRuneRecord_proto_init() { + if File_RoguelikeRuneRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeRuneRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeRuneRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeRuneRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeRuneRecord_proto_goTypes, + DependencyIndexes: file_RoguelikeRuneRecord_proto_depIdxs, + MessageInfos: file_RoguelikeRuneRecord_proto_msgTypes, + }.Build() + File_RoguelikeRuneRecord_proto = out.File + file_RoguelikeRuneRecord_proto_rawDesc = nil + file_RoguelikeRuneRecord_proto_goTypes = nil + file_RoguelikeRuneRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeRuneRecord.proto b/gate-hk4e-api/proto/RoguelikeRuneRecord.proto new file mode 100644 index 00000000..287a1940 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRuneRecord.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RoguelikeRuneRecord { + uint32 left_count = 14; + uint32 rune_id = 6; + uint32 max_count = 4; +} diff --git a/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.pb.go b/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.pb.go new file mode 100644 index 00000000..4f9f4e60 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeRuneRecordUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8973 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeRuneRecordUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RuneRecordList []*RoguelikeRuneRecord `protobuf:"bytes,11,rep,name=rune_record_list,json=runeRecordList,proto3" json:"rune_record_list,omitempty"` +} + +func (x *RoguelikeRuneRecordUpdateNotify) Reset() { + *x = RoguelikeRuneRecordUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeRuneRecordUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeRuneRecordUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeRuneRecordUpdateNotify) ProtoMessage() {} + +func (x *RoguelikeRuneRecordUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeRuneRecordUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeRuneRecordUpdateNotify.ProtoReflect.Descriptor instead. +func (*RoguelikeRuneRecordUpdateNotify) Descriptor() ([]byte, []int) { + return file_RoguelikeRuneRecordUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeRuneRecordUpdateNotify) GetRuneRecordList() []*RoguelikeRuneRecord { + if x != nil { + return x.RuneRecordList + } + return nil +} + +var File_RoguelikeRuneRecordUpdateNotify_proto protoreflect.FileDescriptor + +var file_RoguelikeRuneRecordUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1f, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, + 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x10, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x72, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeRuneRecordUpdateNotify_proto_rawDescOnce sync.Once + file_RoguelikeRuneRecordUpdateNotify_proto_rawDescData = file_RoguelikeRuneRecordUpdateNotify_proto_rawDesc +) + +func file_RoguelikeRuneRecordUpdateNotify_proto_rawDescGZIP() []byte { + file_RoguelikeRuneRecordUpdateNotify_proto_rawDescOnce.Do(func() { + file_RoguelikeRuneRecordUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeRuneRecordUpdateNotify_proto_rawDescData) + }) + return file_RoguelikeRuneRecordUpdateNotify_proto_rawDescData +} + +var file_RoguelikeRuneRecordUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeRuneRecordUpdateNotify_proto_goTypes = []interface{}{ + (*RoguelikeRuneRecordUpdateNotify)(nil), // 0: RoguelikeRuneRecordUpdateNotify + (*RoguelikeRuneRecord)(nil), // 1: RoguelikeRuneRecord +} +var file_RoguelikeRuneRecordUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: RoguelikeRuneRecordUpdateNotify.rune_record_list:type_name -> RoguelikeRuneRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_RoguelikeRuneRecordUpdateNotify_proto_init() } +func file_RoguelikeRuneRecordUpdateNotify_proto_init() { + if File_RoguelikeRuneRecordUpdateNotify_proto != nil { + return + } + file_RoguelikeRuneRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoguelikeRuneRecordUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeRuneRecordUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeRuneRecordUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeRuneRecordUpdateNotify_proto_goTypes, + DependencyIndexes: file_RoguelikeRuneRecordUpdateNotify_proto_depIdxs, + MessageInfos: file_RoguelikeRuneRecordUpdateNotify_proto_msgTypes, + }.Build() + File_RoguelikeRuneRecordUpdateNotify_proto = out.File + file_RoguelikeRuneRecordUpdateNotify_proto_rawDesc = nil + file_RoguelikeRuneRecordUpdateNotify_proto_goTypes = nil + file_RoguelikeRuneRecordUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.proto b/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.proto new file mode 100644 index 00000000..66c01c23 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeRuneRecordUpdateNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoguelikeRuneRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 8973 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeRuneRecordUpdateNotify { + repeated RoguelikeRuneRecord rune_record_list = 11; +} diff --git a/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.pb.go b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.pb.go new file mode 100644 index 00000000..42d131a9 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeSelectAvatarAndEnterDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8457 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RoguelikeSelectAvatarAndEnterDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnstageAvatarGuidList []uint64 `protobuf:"varint,14,rep,packed,name=onstage_avatar_guid_list,json=onstageAvatarGuidList,proto3" json:"onstage_avatar_guid_list,omitempty"` + StageId uint32 `protobuf:"varint,4,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + BackstageAvatarGuidList []uint64 `protobuf:"varint,11,rep,packed,name=backstage_avatar_guid_list,json=backstageAvatarGuidList,proto3" json:"backstage_avatar_guid_list,omitempty"` +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) Reset() { + *x = RoguelikeSelectAvatarAndEnterDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeSelectAvatarAndEnterDungeonReq) ProtoMessage() {} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeSelectAvatarAndEnterDungeonReq.ProtoReflect.Descriptor instead. +func (*RoguelikeSelectAvatarAndEnterDungeonReq) Descriptor() ([]byte, []int) { + return file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) GetOnstageAvatarGuidList() []uint64 { + if x != nil { + return x.OnstageAvatarGuidList + } + return nil +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonReq) GetBackstageAvatarGuidList() []uint64 { + if x != nil { + return x.BackstageAvatarGuidList + } + return nil +} + +var File_RoguelikeSelectAvatarAndEnterDungeonReq_proto protoreflect.FileDescriptor + +var file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xba, 0x01, 0x0a, 0x27, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x18, 0x6f, + 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x04, 0x52, 0x15, 0x6f, + 0x6e, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, + 0x3b, 0x0a, 0x1a, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x04, 0x52, 0x17, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescOnce sync.Once + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescData = file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDesc +) + +func file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescGZIP() []byte { + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescOnce.Do(func() { + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescData) + }) + return file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDescData +} + +var file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_goTypes = []interface{}{ + (*RoguelikeSelectAvatarAndEnterDungeonReq)(nil), // 0: RoguelikeSelectAvatarAndEnterDungeonReq +} +var file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_init() } +func file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_init() { + if File_RoguelikeSelectAvatarAndEnterDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeSelectAvatarAndEnterDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_goTypes, + DependencyIndexes: file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_depIdxs, + MessageInfos: file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_msgTypes, + }.Build() + File_RoguelikeSelectAvatarAndEnterDungeonReq_proto = out.File + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_rawDesc = nil + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_goTypes = nil + file_RoguelikeSelectAvatarAndEnterDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto new file mode 100644 index 00000000..113740ba --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8457 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RoguelikeSelectAvatarAndEnterDungeonReq { + repeated uint64 onstage_avatar_guid_list = 14; + uint32 stage_id = 4; + repeated uint64 backstage_avatar_guid_list = 11; +} diff --git a/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.pb.go b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.pb.go new file mode 100644 index 00000000..ec774c62 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeSelectAvatarAndEnterDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8538 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeSelectAvatarAndEnterDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonRsp) Reset() { + *x = RoguelikeSelectAvatarAndEnterDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeSelectAvatarAndEnterDungeonRsp) ProtoMessage() {} + +func (x *RoguelikeSelectAvatarAndEnterDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeSelectAvatarAndEnterDungeonRsp.ProtoReflect.Descriptor instead. +func (*RoguelikeSelectAvatarAndEnterDungeonRsp) Descriptor() ([]byte, []int) { + return file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RoguelikeSelectAvatarAndEnterDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RoguelikeSelectAvatarAndEnterDungeonRsp_proto protoreflect.FileDescriptor + +var file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5e, 0x0a, 0x27, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescOnce sync.Once + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescData = file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDesc +) + +func file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescGZIP() []byte { + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescOnce.Do(func() { + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescData) + }) + return file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDescData +} + +var file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_goTypes = []interface{}{ + (*RoguelikeSelectAvatarAndEnterDungeonRsp)(nil), // 0: RoguelikeSelectAvatarAndEnterDungeonRsp +} +var file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_init() } +func file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_init() { + if File_RoguelikeSelectAvatarAndEnterDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeSelectAvatarAndEnterDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_goTypes, + DependencyIndexes: file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_depIdxs, + MessageInfos: file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_msgTypes, + }.Build() + File_RoguelikeSelectAvatarAndEnterDungeonRsp_proto = out.File + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_rawDesc = nil + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_goTypes = nil + file_RoguelikeSelectAvatarAndEnterDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto new file mode 100644 index 00000000..61883e27 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8538 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeSelectAvatarAndEnterDungeonRsp { + uint32 stage_id = 15; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.pb.go b/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.pb.go new file mode 100644 index 00000000..1ec73f83 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeSettleCoinInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeSettleCoinInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CoinC uint32 `protobuf:"varint,8,opt,name=coin_c,json=coinC,proto3" json:"coin_c,omitempty"` + CoinB uint32 `protobuf:"varint,10,opt,name=coin_b,json=coinB,proto3" json:"coin_b,omitempty"` + CellNum uint32 `protobuf:"varint,1,opt,name=cell_num,json=cellNum,proto3" json:"cell_num,omitempty"` +} + +func (x *RoguelikeSettleCoinInfo) Reset() { + *x = RoguelikeSettleCoinInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeSettleCoinInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeSettleCoinInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeSettleCoinInfo) ProtoMessage() {} + +func (x *RoguelikeSettleCoinInfo) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeSettleCoinInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeSettleCoinInfo.ProtoReflect.Descriptor instead. +func (*RoguelikeSettleCoinInfo) Descriptor() ([]byte, []int) { + return file_RoguelikeSettleCoinInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeSettleCoinInfo) GetCoinC() uint32 { + if x != nil { + return x.CoinC + } + return 0 +} + +func (x *RoguelikeSettleCoinInfo) GetCoinB() uint32 { + if x != nil { + return x.CoinB + } + return 0 +} + +func (x *RoguelikeSettleCoinInfo) GetCellNum() uint32 { + if x != nil { + return x.CellNum + } + return 0 +} + +var File_RoguelikeSettleCoinInfo_proto protoreflect.FileDescriptor + +var file_RoguelikeSettleCoinInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x62, 0x0a, 0x17, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x63, 0x6f, + 0x69, 0x6e, 0x5f, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x69, 0x6e, + 0x43, 0x12, 0x15, 0x0a, 0x06, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x62, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x69, 0x6e, 0x42, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x65, 0x6c, 0x6c, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x65, 0x6c, 0x6c, + 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeSettleCoinInfo_proto_rawDescOnce sync.Once + file_RoguelikeSettleCoinInfo_proto_rawDescData = file_RoguelikeSettleCoinInfo_proto_rawDesc +) + +func file_RoguelikeSettleCoinInfo_proto_rawDescGZIP() []byte { + file_RoguelikeSettleCoinInfo_proto_rawDescOnce.Do(func() { + file_RoguelikeSettleCoinInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeSettleCoinInfo_proto_rawDescData) + }) + return file_RoguelikeSettleCoinInfo_proto_rawDescData +} + +var file_RoguelikeSettleCoinInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeSettleCoinInfo_proto_goTypes = []interface{}{ + (*RoguelikeSettleCoinInfo)(nil), // 0: RoguelikeSettleCoinInfo +} +var file_RoguelikeSettleCoinInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeSettleCoinInfo_proto_init() } +func file_RoguelikeSettleCoinInfo_proto_init() { + if File_RoguelikeSettleCoinInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeSettleCoinInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeSettleCoinInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeSettleCoinInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeSettleCoinInfo_proto_goTypes, + DependencyIndexes: file_RoguelikeSettleCoinInfo_proto_depIdxs, + MessageInfos: file_RoguelikeSettleCoinInfo_proto_msgTypes, + }.Build() + File_RoguelikeSettleCoinInfo_proto = out.File + file_RoguelikeSettleCoinInfo_proto_rawDesc = nil + file_RoguelikeSettleCoinInfo_proto_goTypes = nil + file_RoguelikeSettleCoinInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.proto b/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.proto new file mode 100644 index 00000000..486b82bc --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeSettleCoinInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RoguelikeSettleCoinInfo { + uint32 coin_c = 8; + uint32 coin_b = 10; + uint32 cell_num = 1; +} diff --git a/gate-hk4e-api/proto/RoguelikeShikigamiRecord.pb.go b/gate-hk4e-api/proto/RoguelikeShikigamiRecord.pb.go new file mode 100644 index 00000000..34ce9dfc --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeShikigamiRecord.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeShikigamiRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoguelikeShikigamiRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"` + Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *RoguelikeShikigamiRecord) Reset() { + *x = RoguelikeShikigamiRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeShikigamiRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeShikigamiRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeShikigamiRecord) ProtoMessage() {} + +func (x *RoguelikeShikigamiRecord) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeShikigamiRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeShikigamiRecord.ProtoReflect.Descriptor instead. +func (*RoguelikeShikigamiRecord) Descriptor() ([]byte, []int) { + return file_RoguelikeShikigamiRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeShikigamiRecord) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *RoguelikeShikigamiRecord) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_RoguelikeShikigamiRecord_proto protoreflect.FileDescriptor + +var file_RoguelikeShikigamiRecord_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, + 0x67, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x40, 0x0a, 0x18, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, + 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeShikigamiRecord_proto_rawDescOnce sync.Once + file_RoguelikeShikigamiRecord_proto_rawDescData = file_RoguelikeShikigamiRecord_proto_rawDesc +) + +func file_RoguelikeShikigamiRecord_proto_rawDescGZIP() []byte { + file_RoguelikeShikigamiRecord_proto_rawDescOnce.Do(func() { + file_RoguelikeShikigamiRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeShikigamiRecord_proto_rawDescData) + }) + return file_RoguelikeShikigamiRecord_proto_rawDescData +} + +var file_RoguelikeShikigamiRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeShikigamiRecord_proto_goTypes = []interface{}{ + (*RoguelikeShikigamiRecord)(nil), // 0: RoguelikeShikigamiRecord +} +var file_RoguelikeShikigamiRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeShikigamiRecord_proto_init() } +func file_RoguelikeShikigamiRecord_proto_init() { + if File_RoguelikeShikigamiRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeShikigamiRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeShikigamiRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeShikigamiRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeShikigamiRecord_proto_goTypes, + DependencyIndexes: file_RoguelikeShikigamiRecord_proto_depIdxs, + MessageInfos: file_RoguelikeShikigamiRecord_proto_msgTypes, + }.Build() + File_RoguelikeShikigamiRecord_proto = out.File + file_RoguelikeShikigamiRecord_proto_rawDesc = nil + file_RoguelikeShikigamiRecord_proto_goTypes = nil + file_RoguelikeShikigamiRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeShikigamiRecord.proto b/gate-hk4e-api/proto/RoguelikeShikigamiRecord.proto new file mode 100644 index 00000000..09629437 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeShikigamiRecord.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RoguelikeShikigamiRecord { + uint32 id = 6; + uint32 level = 3; +} diff --git a/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.pb.go b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.pb.go new file mode 100644 index 00000000..2355b9f5 --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeTakeStageFirstPassRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type RoguelikeTakeStageFirstPassRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *RoguelikeTakeStageFirstPassRewardReq) Reset() { + *x = RoguelikeTakeStageFirstPassRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeTakeStageFirstPassRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeTakeStageFirstPassRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeTakeStageFirstPassRewardReq) ProtoMessage() {} + +func (x *RoguelikeTakeStageFirstPassRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeTakeStageFirstPassRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeTakeStageFirstPassRewardReq.ProtoReflect.Descriptor instead. +func (*RoguelikeTakeStageFirstPassRewardReq) Descriptor() ([]byte, []int) { + return file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeTakeStageFirstPassRewardReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_RoguelikeTakeStageFirstPassRewardReq_proto protoreflect.FileDescriptor + +var file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x24, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescOnce sync.Once + file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescData = file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDesc +) + +func file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescGZIP() []byte { + file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescOnce.Do(func() { + file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescData) + }) + return file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDescData +} + +var file_RoguelikeTakeStageFirstPassRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeTakeStageFirstPassRewardReq_proto_goTypes = []interface{}{ + (*RoguelikeTakeStageFirstPassRewardReq)(nil), // 0: RoguelikeTakeStageFirstPassRewardReq +} +var file_RoguelikeTakeStageFirstPassRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeTakeStageFirstPassRewardReq_proto_init() } +func file_RoguelikeTakeStageFirstPassRewardReq_proto_init() { + if File_RoguelikeTakeStageFirstPassRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeTakeStageFirstPassRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeTakeStageFirstPassRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeTakeStageFirstPassRewardReq_proto_goTypes, + DependencyIndexes: file_RoguelikeTakeStageFirstPassRewardReq_proto_depIdxs, + MessageInfos: file_RoguelikeTakeStageFirstPassRewardReq_proto_msgTypes, + }.Build() + File_RoguelikeTakeStageFirstPassRewardReq_proto = out.File + file_RoguelikeTakeStageFirstPassRewardReq_proto_rawDesc = nil + file_RoguelikeTakeStageFirstPassRewardReq_proto_goTypes = nil + file_RoguelikeTakeStageFirstPassRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.proto b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.proto new file mode 100644 index 00000000..42e0834c --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message RoguelikeTakeStageFirstPassRewardReq { + uint32 stage_id = 1; +} diff --git a/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.pb.go b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.pb.go new file mode 100644 index 00000000..f6a1f12b --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoguelikeTakeStageFirstPassRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8552 +// EnetChannelId: 0 +// EnetIsReliable: true +type RoguelikeTakeStageFirstPassRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,14,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *RoguelikeTakeStageFirstPassRewardRsp) Reset() { + *x = RoguelikeTakeStageFirstPassRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_RoguelikeTakeStageFirstPassRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoguelikeTakeStageFirstPassRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoguelikeTakeStageFirstPassRewardRsp) ProtoMessage() {} + +func (x *RoguelikeTakeStageFirstPassRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_RoguelikeTakeStageFirstPassRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoguelikeTakeStageFirstPassRewardRsp.ProtoReflect.Descriptor instead. +func (*RoguelikeTakeStageFirstPassRewardRsp) Descriptor() ([]byte, []int) { + return file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *RoguelikeTakeStageFirstPassRewardRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *RoguelikeTakeStageFirstPassRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_RoguelikeTakeStageFirstPassRewardRsp_proto protoreflect.FileDescriptor + +var file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x24, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescOnce sync.Once + file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescData = file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDesc +) + +func file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescGZIP() []byte { + file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescOnce.Do(func() { + file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescData) + }) + return file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDescData +} + +var file_RoguelikeTakeStageFirstPassRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoguelikeTakeStageFirstPassRewardRsp_proto_goTypes = []interface{}{ + (*RoguelikeTakeStageFirstPassRewardRsp)(nil), // 0: RoguelikeTakeStageFirstPassRewardRsp +} +var file_RoguelikeTakeStageFirstPassRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoguelikeTakeStageFirstPassRewardRsp_proto_init() } +func file_RoguelikeTakeStageFirstPassRewardRsp_proto_init() { + if File_RoguelikeTakeStageFirstPassRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoguelikeTakeStageFirstPassRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoguelikeTakeStageFirstPassRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoguelikeTakeStageFirstPassRewardRsp_proto_goTypes, + DependencyIndexes: file_RoguelikeTakeStageFirstPassRewardRsp_proto_depIdxs, + MessageInfos: file_RoguelikeTakeStageFirstPassRewardRsp_proto_msgTypes, + }.Build() + File_RoguelikeTakeStageFirstPassRewardRsp_proto = out.File + file_RoguelikeTakeStageFirstPassRewardRsp_proto_rawDesc = nil + file_RoguelikeTakeStageFirstPassRewardRsp_proto_goTypes = nil + file_RoguelikeTakeStageFirstPassRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.proto b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.proto new file mode 100644 index 00000000..92d91c4d --- /dev/null +++ b/gate-hk4e-api/proto/RoguelikeTakeStageFirstPassRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8552 +// EnetChannelId: 0 +// EnetIsReliable: true +message RoguelikeTakeStageFirstPassRewardRsp { + uint32 stage_id = 14; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Route.pb.go b/gate-hk4e-api/proto/Route.pb.go new file mode 100644 index 00000000..6371bc04 --- /dev/null +++ b/gate-hk4e-api/proto/Route.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Route.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Route struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutePoints []*RoutePoint `protobuf:"bytes,1,rep,name=route_points,json=routePoints,proto3" json:"route_points,omitempty"` + RouteType uint32 `protobuf:"varint,2,opt,name=route_type,json=routeType,proto3" json:"route_type,omitempty"` +} + +func (x *Route) Reset() { + *x = Route{} + if protoimpl.UnsafeEnabled { + mi := &file_Route_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Route) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Route) ProtoMessage() {} + +func (x *Route) ProtoReflect() protoreflect.Message { + mi := &file_Route_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Route.ProtoReflect.Descriptor instead. +func (*Route) Descriptor() ([]byte, []int) { + return file_Route_proto_rawDescGZIP(), []int{0} +} + +func (x *Route) GetRoutePoints() []*RoutePoint { + if x != nil { + return x.RoutePoints + } + return nil +} + +func (x *Route) GetRouteType() uint32 { + if x != nil { + return x.RouteType + } + return 0 +} + +var File_Route_proto protoreflect.FileDescriptor + +var file_Route_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x56, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, + 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Route_proto_rawDescOnce sync.Once + file_Route_proto_rawDescData = file_Route_proto_rawDesc +) + +func file_Route_proto_rawDescGZIP() []byte { + file_Route_proto_rawDescOnce.Do(func() { + file_Route_proto_rawDescData = protoimpl.X.CompressGZIP(file_Route_proto_rawDescData) + }) + return file_Route_proto_rawDescData +} + +var file_Route_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Route_proto_goTypes = []interface{}{ + (*Route)(nil), // 0: Route + (*RoutePoint)(nil), // 1: RoutePoint +} +var file_Route_proto_depIdxs = []int32{ + 1, // 0: Route.route_points:type_name -> RoutePoint + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Route_proto_init() } +func file_Route_proto_init() { + if File_Route_proto != nil { + return + } + file_RoutePoint_proto_init() + if !protoimpl.UnsafeEnabled { + file_Route_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Route); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Route_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Route_proto_goTypes, + DependencyIndexes: file_Route_proto_depIdxs, + MessageInfos: file_Route_proto_msgTypes, + }.Build() + File_Route_proto = out.File + file_Route_proto_rawDesc = nil + file_Route_proto_goTypes = nil + file_Route_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Route.proto b/gate-hk4e-api/proto/Route.proto new file mode 100644 index 00000000..955b73ce --- /dev/null +++ b/gate-hk4e-api/proto/Route.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoutePoint.proto"; + +option go_package = "./;proto"; + +message Route { + repeated RoutePoint route_points = 1; + uint32 route_type = 2; +} diff --git a/gate-hk4e-api/proto/RoutePoint.pb.go b/gate-hk4e-api/proto/RoutePoint.pb.go new file mode 100644 index 00000000..56b8c398 --- /dev/null +++ b/gate-hk4e-api/proto/RoutePoint.pb.go @@ -0,0 +1,296 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoutePoint.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoutePoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + ArriveRange float32 `protobuf:"fixed32,2,opt,name=arrive_range,json=arriveRange,proto3" json:"arrive_range,omitempty"` + // Types that are assignable to MoveParams: + // *RoutePoint_Velocity + // *RoutePoint_Time + MoveParams isRoutePoint_MoveParams `protobuf_oneof:"move_params"` + // Types that are assignable to RotateParams: + // *RoutePoint_Rotation + // *RoutePoint_RotationSpeed + // *RoutePoint_AxisSpeed + RotateParams isRoutePoint_RotateParams `protobuf_oneof:"rotate_params"` +} + +func (x *RoutePoint) Reset() { + *x = RoutePoint{} + if protoimpl.UnsafeEnabled { + mi := &file_RoutePoint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoutePoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoutePoint) ProtoMessage() {} + +func (x *RoutePoint) ProtoReflect() protoreflect.Message { + mi := &file_RoutePoint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoutePoint.ProtoReflect.Descriptor instead. +func (*RoutePoint) Descriptor() ([]byte, []int) { + return file_RoutePoint_proto_rawDescGZIP(), []int{0} +} + +func (x *RoutePoint) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *RoutePoint) GetArriveRange() float32 { + if x != nil { + return x.ArriveRange + } + return 0 +} + +func (m *RoutePoint) GetMoveParams() isRoutePoint_MoveParams { + if m != nil { + return m.MoveParams + } + return nil +} + +func (x *RoutePoint) GetVelocity() float32 { + if x, ok := x.GetMoveParams().(*RoutePoint_Velocity); ok { + return x.Velocity + } + return 0 +} + +func (x *RoutePoint) GetTime() float32 { + if x, ok := x.GetMoveParams().(*RoutePoint_Time); ok { + return x.Time + } + return 0 +} + +func (m *RoutePoint) GetRotateParams() isRoutePoint_RotateParams { + if m != nil { + return m.RotateParams + } + return nil +} + +func (x *RoutePoint) GetRotation() *Vector { + if x, ok := x.GetRotateParams().(*RoutePoint_Rotation); ok { + return x.Rotation + } + return nil +} + +func (x *RoutePoint) GetRotationSpeed() *MathQuaternion { + if x, ok := x.GetRotateParams().(*RoutePoint_RotationSpeed); ok { + return x.RotationSpeed + } + return nil +} + +func (x *RoutePoint) GetAxisSpeed() *MathQuaternion { + if x, ok := x.GetRotateParams().(*RoutePoint_AxisSpeed); ok { + return x.AxisSpeed + } + return nil +} + +type isRoutePoint_MoveParams interface { + isRoutePoint_MoveParams() +} + +type RoutePoint_Velocity struct { + Velocity float32 `protobuf:"fixed32,11,opt,name=velocity,proto3,oneof"` +} + +type RoutePoint_Time struct { + Time float32 `protobuf:"fixed32,12,opt,name=time,proto3,oneof"` +} + +func (*RoutePoint_Velocity) isRoutePoint_MoveParams() {} + +func (*RoutePoint_Time) isRoutePoint_MoveParams() {} + +type isRoutePoint_RotateParams interface { + isRoutePoint_RotateParams() +} + +type RoutePoint_Rotation struct { + Rotation *Vector `protobuf:"bytes,21,opt,name=rotation,proto3,oneof"` +} + +type RoutePoint_RotationSpeed struct { + RotationSpeed *MathQuaternion `protobuf:"bytes,22,opt,name=rotation_speed,json=rotationSpeed,proto3,oneof"` +} + +type RoutePoint_AxisSpeed struct { + AxisSpeed *MathQuaternion `protobuf:"bytes,23,opt,name=axis_speed,json=axisSpeed,proto3,oneof"` +} + +func (*RoutePoint_Rotation) isRoutePoint_RotateParams() {} + +func (*RoutePoint_RotationSpeed) isRoutePoint_RotateParams() {} + +func (*RoutePoint_AxisSpeed) isRoutePoint_RotateParams() {} + +var File_RoutePoint_proto protoreflect.FileDescriptor + +var file_RoutePoint_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x02, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, + 0x72, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x0b, 0x61, 0x72, 0x72, 0x69, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1c, 0x0a, + 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x48, + 0x00, 0x52, 0x08, 0x76, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x25, 0x0a, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x15, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x48, 0x01, 0x52, 0x08, + 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0e, 0x72, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, + 0x6e, 0x48, 0x01, 0x52, 0x0d, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, + 0x65, 0x64, 0x12, 0x30, 0x0a, 0x0a, 0x61, 0x78, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, + 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x51, 0x75, 0x61, + 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x09, 0x61, 0x78, 0x69, 0x73, 0x53, + 0x70, 0x65, 0x65, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoutePoint_proto_rawDescOnce sync.Once + file_RoutePoint_proto_rawDescData = file_RoutePoint_proto_rawDesc +) + +func file_RoutePoint_proto_rawDescGZIP() []byte { + file_RoutePoint_proto_rawDescOnce.Do(func() { + file_RoutePoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoutePoint_proto_rawDescData) + }) + return file_RoutePoint_proto_rawDescData +} + +var file_RoutePoint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoutePoint_proto_goTypes = []interface{}{ + (*RoutePoint)(nil), // 0: RoutePoint + (*Vector)(nil), // 1: Vector + (*MathQuaternion)(nil), // 2: MathQuaternion +} +var file_RoutePoint_proto_depIdxs = []int32{ + 1, // 0: RoutePoint.position:type_name -> Vector + 1, // 1: RoutePoint.rotation:type_name -> Vector + 2, // 2: RoutePoint.rotation_speed:type_name -> MathQuaternion + 2, // 3: RoutePoint.axis_speed:type_name -> MathQuaternion + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_RoutePoint_proto_init() } +func file_RoutePoint_proto_init() { + if File_RoutePoint_proto != nil { + return + } + file_MathQuaternion_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_RoutePoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoutePoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_RoutePoint_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*RoutePoint_Velocity)(nil), + (*RoutePoint_Time)(nil), + (*RoutePoint_Rotation)(nil), + (*RoutePoint_RotationSpeed)(nil), + (*RoutePoint_AxisSpeed)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoutePoint_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoutePoint_proto_goTypes, + DependencyIndexes: file_RoutePoint_proto_depIdxs, + MessageInfos: file_RoutePoint_proto_msgTypes, + }.Build() + File_RoutePoint_proto = out.File + file_RoutePoint_proto_rawDesc = nil + file_RoutePoint_proto_goTypes = nil + file_RoutePoint_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoutePoint.proto b/gate-hk4e-api/proto/RoutePoint.proto new file mode 100644 index 00000000..acd6389a --- /dev/null +++ b/gate-hk4e-api/proto/RoutePoint.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MathQuaternion.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message RoutePoint { + Vector position = 1; + float arrive_range = 2; + oneof move_params { + float velocity = 11; + float time = 12; + } + oneof rotate_params { + Vector rotation = 21; + MathQuaternion rotation_speed = 22; + MathQuaternion axis_speed = 23; + } +} diff --git a/gate-hk4e-api/proto/RoutePointChangeInfo.pb.go b/gate-hk4e-api/proto/RoutePointChangeInfo.pb.go new file mode 100644 index 00000000..b8e3c467 --- /dev/null +++ b/gate-hk4e-api/proto/RoutePointChangeInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: RoutePointChangeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RoutePointChangeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WaitTime float32 `protobuf:"fixed32,6,opt,name=wait_time,json=waitTime,proto3" json:"wait_time,omitempty"` + TargetVelocity float32 `protobuf:"fixed32,14,opt,name=target_velocity,json=targetVelocity,proto3" json:"target_velocity,omitempty"` + PointIndex uint32 `protobuf:"varint,11,opt,name=point_index,json=pointIndex,proto3" json:"point_index,omitempty"` +} + +func (x *RoutePointChangeInfo) Reset() { + *x = RoutePointChangeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_RoutePointChangeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoutePointChangeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoutePointChangeInfo) ProtoMessage() {} + +func (x *RoutePointChangeInfo) ProtoReflect() protoreflect.Message { + mi := &file_RoutePointChangeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoutePointChangeInfo.ProtoReflect.Descriptor instead. +func (*RoutePointChangeInfo) Descriptor() ([]byte, []int) { + return file_RoutePointChangeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *RoutePointChangeInfo) GetWaitTime() float32 { + if x != nil { + return x.WaitTime + } + return 0 +} + +func (x *RoutePointChangeInfo) GetTargetVelocity() float32 { + if x != nil { + return x.TargetVelocity + } + return 0 +} + +func (x *RoutePointChangeInfo) GetPointIndex() uint32 { + if x != nil { + return x.PointIndex + } + return 0 +} + +var File_RoutePointChangeInfo_proto protoreflect.FileDescriptor + +var file_RoutePointChangeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x14, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x76, 0x65, 0x6c, 0x6f, + 0x63, 0x69, 0x74, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x56, 0x65, 0x6c, 0x6f, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_RoutePointChangeInfo_proto_rawDescOnce sync.Once + file_RoutePointChangeInfo_proto_rawDescData = file_RoutePointChangeInfo_proto_rawDesc +) + +func file_RoutePointChangeInfo_proto_rawDescGZIP() []byte { + file_RoutePointChangeInfo_proto_rawDescOnce.Do(func() { + file_RoutePointChangeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_RoutePointChangeInfo_proto_rawDescData) + }) + return file_RoutePointChangeInfo_proto_rawDescData +} + +var file_RoutePointChangeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_RoutePointChangeInfo_proto_goTypes = []interface{}{ + (*RoutePointChangeInfo)(nil), // 0: RoutePointChangeInfo +} +var file_RoutePointChangeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_RoutePointChangeInfo_proto_init() } +func file_RoutePointChangeInfo_proto_init() { + if File_RoutePointChangeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_RoutePointChangeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoutePointChangeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_RoutePointChangeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_RoutePointChangeInfo_proto_goTypes, + DependencyIndexes: file_RoutePointChangeInfo_proto_depIdxs, + MessageInfos: file_RoutePointChangeInfo_proto_msgTypes, + }.Build() + File_RoutePointChangeInfo_proto = out.File + file_RoutePointChangeInfo_proto_rawDesc = nil + file_RoutePointChangeInfo_proto_goTypes = nil + file_RoutePointChangeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/RoutePointChangeInfo.proto b/gate-hk4e-api/proto/RoutePointChangeInfo.proto new file mode 100644 index 00000000..0a471147 --- /dev/null +++ b/gate-hk4e-api/proto/RoutePointChangeInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message RoutePointChangeInfo { + float wait_time = 6; + float target_velocity = 14; + uint32 point_index = 11; +} diff --git a/gate-hk4e-api/proto/SalesmanActivityDetailInfo.pb.go b/gate-hk4e-api/proto/SalesmanActivityDetailInfo.pb.go new file mode 100644 index 00000000..a1cf4859 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanActivityDetailInfo.pb.go @@ -0,0 +1,273 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SalesmanActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpecialRewardPreviewId uint32 `protobuf:"varint,3,opt,name=special_reward_preview_id,json=specialRewardPreviewId,proto3" json:"special_reward_preview_id,omitempty"` + Status SalesmanStatusType `protobuf:"varint,4,opt,name=status,proto3,enum=SalesmanStatusType" json:"status,omitempty"` + LastDeliverTime uint32 `protobuf:"varint,2,opt,name=last_deliver_time,json=lastDeliverTime,proto3" json:"last_deliver_time,omitempty"` + SelectedRewardIdMap map[uint32]uint32 `protobuf:"bytes,5,rep,name=selected_reward_id_map,json=selectedRewardIdMap,proto3" json:"selected_reward_id_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + DeliverCount uint32 `protobuf:"varint,11,opt,name=deliver_count,json=deliverCount,proto3" json:"deliver_count,omitempty"` + IsHasTakenSpecialReward bool `protobuf:"varint,7,opt,name=is_has_taken_special_reward,json=isHasTakenSpecialReward,proto3" json:"is_has_taken_special_reward,omitempty"` + DayIndex uint32 `protobuf:"varint,12,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` + CondDayCount uint32 `protobuf:"varint,6,opt,name=cond_day_count,json=condDayCount,proto3" json:"cond_day_count,omitempty"` + DayRewardId uint32 `protobuf:"varint,9,opt,name=day_reward_id,json=dayRewardId,proto3" json:"day_reward_id,omitempty"` + IsTodayHasDelivered bool `protobuf:"varint,13,opt,name=is_today_has_delivered,json=isTodayHasDelivered,proto3" json:"is_today_has_delivered,omitempty"` +} + +func (x *SalesmanActivityDetailInfo) Reset() { + *x = SalesmanActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanActivityDetailInfo) ProtoMessage() {} + +func (x *SalesmanActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*SalesmanActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_SalesmanActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanActivityDetailInfo) GetSpecialRewardPreviewId() uint32 { + if x != nil { + return x.SpecialRewardPreviewId + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetStatus() SalesmanStatusType { + if x != nil { + return x.Status + } + return SalesmanStatusType_SALESMAN_STATUS_TYPE_NONE +} + +func (x *SalesmanActivityDetailInfo) GetLastDeliverTime() uint32 { + if x != nil { + return x.LastDeliverTime + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetSelectedRewardIdMap() map[uint32]uint32 { + if x != nil { + return x.SelectedRewardIdMap + } + return nil +} + +func (x *SalesmanActivityDetailInfo) GetDeliverCount() uint32 { + if x != nil { + return x.DeliverCount + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetIsHasTakenSpecialReward() bool { + if x != nil { + return x.IsHasTakenSpecialReward + } + return false +} + +func (x *SalesmanActivityDetailInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetCondDayCount() uint32 { + if x != nil { + return x.CondDayCount + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetDayRewardId() uint32 { + if x != nil { + return x.DayRewardId + } + return 0 +} + +func (x *SalesmanActivityDetailInfo) GetIsTodayHasDelivered() bool { + if x != nil { + return x.IsTodayHasDelivered + } + return false +} + +var File_SalesmanActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_SalesmanActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x18, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x04, 0x0a, + 0x1a, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x19, 0x73, + 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, + 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x72, 0x65, + 0x76, 0x69, 0x65, 0x77, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x69, + 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, + 0x6c, 0x61, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x69, 0x0a, 0x16, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x34, 0x2e, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4d, 0x61, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, + 0x6c, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x3c, 0x0a, 0x1b, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, + 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x48, 0x61, 0x73, 0x54, 0x61, 0x6b, 0x65, 0x6e, + 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x64, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x64, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x6f, + 0x6e, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x64, 0x44, 0x61, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x61, 0x79, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x64, 0x61, 0x79, + 0x5f, 0x68, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x65, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x48, 0x61, 0x73, + 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x65, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanActivityDetailInfo_proto_rawDescOnce sync.Once + file_SalesmanActivityDetailInfo_proto_rawDescData = file_SalesmanActivityDetailInfo_proto_rawDesc +) + +func file_SalesmanActivityDetailInfo_proto_rawDescGZIP() []byte { + file_SalesmanActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_SalesmanActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanActivityDetailInfo_proto_rawDescData) + }) + return file_SalesmanActivityDetailInfo_proto_rawDescData +} + +var file_SalesmanActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SalesmanActivityDetailInfo_proto_goTypes = []interface{}{ + (*SalesmanActivityDetailInfo)(nil), // 0: SalesmanActivityDetailInfo + nil, // 1: SalesmanActivityDetailInfo.SelectedRewardIdMapEntry + (SalesmanStatusType)(0), // 2: SalesmanStatusType +} +var file_SalesmanActivityDetailInfo_proto_depIdxs = []int32{ + 2, // 0: SalesmanActivityDetailInfo.status:type_name -> SalesmanStatusType + 1, // 1: SalesmanActivityDetailInfo.selected_reward_id_map:type_name -> SalesmanActivityDetailInfo.SelectedRewardIdMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SalesmanActivityDetailInfo_proto_init() } +func file_SalesmanActivityDetailInfo_proto_init() { + if File_SalesmanActivityDetailInfo_proto != nil { + return + } + file_SalesmanStatusType_proto_init() + if !protoimpl.UnsafeEnabled { + file_SalesmanActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_SalesmanActivityDetailInfo_proto_depIdxs, + MessageInfos: file_SalesmanActivityDetailInfo_proto_msgTypes, + }.Build() + File_SalesmanActivityDetailInfo_proto = out.File + file_SalesmanActivityDetailInfo_proto_rawDesc = nil + file_SalesmanActivityDetailInfo_proto_goTypes = nil + file_SalesmanActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanActivityDetailInfo.proto b/gate-hk4e-api/proto/SalesmanActivityDetailInfo.proto new file mode 100644 index 00000000..b38ee0f2 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanActivityDetailInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SalesmanStatusType.proto"; + +option go_package = "./;proto"; + +message SalesmanActivityDetailInfo { + uint32 special_reward_preview_id = 3; + SalesmanStatusType status = 4; + uint32 last_deliver_time = 2; + map selected_reward_id_map = 5; + uint32 deliver_count = 11; + bool is_has_taken_special_reward = 7; + uint32 day_index = 12; + uint32 cond_day_count = 6; + uint32 day_reward_id = 9; + bool is_today_has_delivered = 13; +} diff --git a/gate-hk4e-api/proto/SalesmanDeliverItemReq.pb.go b/gate-hk4e-api/proto/SalesmanDeliverItemReq.pb.go new file mode 100644 index 00000000..e649c66f --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanDeliverItemReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanDeliverItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2138 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SalesmanDeliverItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,4,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SalesmanDeliverItemReq) Reset() { + *x = SalesmanDeliverItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanDeliverItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanDeliverItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanDeliverItemReq) ProtoMessage() {} + +func (x *SalesmanDeliverItemReq) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanDeliverItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanDeliverItemReq.ProtoReflect.Descriptor instead. +func (*SalesmanDeliverItemReq) Descriptor() ([]byte, []int) { + return file_SalesmanDeliverItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanDeliverItemReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SalesmanDeliverItemReq_proto protoreflect.FileDescriptor + +var file_SalesmanDeliverItemReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, + 0x0a, 0x16, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanDeliverItemReq_proto_rawDescOnce sync.Once + file_SalesmanDeliverItemReq_proto_rawDescData = file_SalesmanDeliverItemReq_proto_rawDesc +) + +func file_SalesmanDeliverItemReq_proto_rawDescGZIP() []byte { + file_SalesmanDeliverItemReq_proto_rawDescOnce.Do(func() { + file_SalesmanDeliverItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanDeliverItemReq_proto_rawDescData) + }) + return file_SalesmanDeliverItemReq_proto_rawDescData +} + +var file_SalesmanDeliverItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanDeliverItemReq_proto_goTypes = []interface{}{ + (*SalesmanDeliverItemReq)(nil), // 0: SalesmanDeliverItemReq +} +var file_SalesmanDeliverItemReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanDeliverItemReq_proto_init() } +func file_SalesmanDeliverItemReq_proto_init() { + if File_SalesmanDeliverItemReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanDeliverItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanDeliverItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanDeliverItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanDeliverItemReq_proto_goTypes, + DependencyIndexes: file_SalesmanDeliverItemReq_proto_depIdxs, + MessageInfos: file_SalesmanDeliverItemReq_proto_msgTypes, + }.Build() + File_SalesmanDeliverItemReq_proto = out.File + file_SalesmanDeliverItemReq_proto_rawDesc = nil + file_SalesmanDeliverItemReq_proto_goTypes = nil + file_SalesmanDeliverItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanDeliverItemReq.proto b/gate-hk4e-api/proto/SalesmanDeliverItemReq.proto new file mode 100644 index 00000000..c03c4d81 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanDeliverItemReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2138 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SalesmanDeliverItemReq { + uint32 schedule_id = 4; +} diff --git a/gate-hk4e-api/proto/SalesmanDeliverItemRsp.pb.go b/gate-hk4e-api/proto/SalesmanDeliverItemRsp.pb.go new file mode 100644 index 00000000..41bf7fa9 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanDeliverItemRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanDeliverItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2104 +// EnetChannelId: 0 +// EnetIsReliable: true +type SalesmanDeliverItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,9,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SalesmanDeliverItemRsp) Reset() { + *x = SalesmanDeliverItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanDeliverItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanDeliverItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanDeliverItemRsp) ProtoMessage() {} + +func (x *SalesmanDeliverItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanDeliverItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanDeliverItemRsp.ProtoReflect.Descriptor instead. +func (*SalesmanDeliverItemRsp) Descriptor() ([]byte, []int) { + return file_SalesmanDeliverItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanDeliverItemRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SalesmanDeliverItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SalesmanDeliverItemRsp_proto protoreflect.FileDescriptor + +var file_SalesmanDeliverItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, + 0x0a, 0x16, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanDeliverItemRsp_proto_rawDescOnce sync.Once + file_SalesmanDeliverItemRsp_proto_rawDescData = file_SalesmanDeliverItemRsp_proto_rawDesc +) + +func file_SalesmanDeliverItemRsp_proto_rawDescGZIP() []byte { + file_SalesmanDeliverItemRsp_proto_rawDescOnce.Do(func() { + file_SalesmanDeliverItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanDeliverItemRsp_proto_rawDescData) + }) + return file_SalesmanDeliverItemRsp_proto_rawDescData +} + +var file_SalesmanDeliverItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanDeliverItemRsp_proto_goTypes = []interface{}{ + (*SalesmanDeliverItemRsp)(nil), // 0: SalesmanDeliverItemRsp +} +var file_SalesmanDeliverItemRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanDeliverItemRsp_proto_init() } +func file_SalesmanDeliverItemRsp_proto_init() { + if File_SalesmanDeliverItemRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanDeliverItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanDeliverItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanDeliverItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanDeliverItemRsp_proto_goTypes, + DependencyIndexes: file_SalesmanDeliverItemRsp_proto_depIdxs, + MessageInfos: file_SalesmanDeliverItemRsp_proto_msgTypes, + }.Build() + File_SalesmanDeliverItemRsp_proto = out.File + file_SalesmanDeliverItemRsp_proto_rawDesc = nil + file_SalesmanDeliverItemRsp_proto_goTypes = nil + file_SalesmanDeliverItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanDeliverItemRsp.proto b/gate-hk4e-api/proto/SalesmanDeliverItemRsp.proto new file mode 100644 index 00000000..aa02144f --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanDeliverItemRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2104 +// EnetChannelId: 0 +// EnetIsReliable: true +message SalesmanDeliverItemRsp { + uint32 schedule_id = 9; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/SalesmanStatusType.pb.go b/gate-hk4e-api/proto/SalesmanStatusType.pb.go new file mode 100644 index 00000000..478a585a --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanStatusType.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanStatusType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SalesmanStatusType int32 + +const ( + SalesmanStatusType_SALESMAN_STATUS_TYPE_NONE SalesmanStatusType = 0 + SalesmanStatusType_SALESMAN_STATUS_TYPE_UNSTARTED SalesmanStatusType = 1 + SalesmanStatusType_SALESMAN_STATUS_TYPE_STARTED SalesmanStatusType = 2 + SalesmanStatusType_SALESMAN_STATUS_TYPE_DELIVERED SalesmanStatusType = 3 +) + +// Enum value maps for SalesmanStatusType. +var ( + SalesmanStatusType_name = map[int32]string{ + 0: "SALESMAN_STATUS_TYPE_NONE", + 1: "SALESMAN_STATUS_TYPE_UNSTARTED", + 2: "SALESMAN_STATUS_TYPE_STARTED", + 3: "SALESMAN_STATUS_TYPE_DELIVERED", + } + SalesmanStatusType_value = map[string]int32{ + "SALESMAN_STATUS_TYPE_NONE": 0, + "SALESMAN_STATUS_TYPE_UNSTARTED": 1, + "SALESMAN_STATUS_TYPE_STARTED": 2, + "SALESMAN_STATUS_TYPE_DELIVERED": 3, + } +) + +func (x SalesmanStatusType) Enum() *SalesmanStatusType { + p := new(SalesmanStatusType) + *p = x + return p +} + +func (x SalesmanStatusType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SalesmanStatusType) Descriptor() protoreflect.EnumDescriptor { + return file_SalesmanStatusType_proto_enumTypes[0].Descriptor() +} + +func (SalesmanStatusType) Type() protoreflect.EnumType { + return &file_SalesmanStatusType_proto_enumTypes[0] +} + +func (x SalesmanStatusType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SalesmanStatusType.Descriptor instead. +func (SalesmanStatusType) EnumDescriptor() ([]byte, []int) { + return file_SalesmanStatusType_proto_rawDescGZIP(), []int{0} +} + +var File_SalesmanStatusType_proto protoreflect.FileDescriptor + +var file_SalesmanStatusType_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9d, 0x01, 0x0a, 0x12, 0x53, + 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x54, 0x41, 0x52, 0x54, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, 0x41, 0x4e, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x41, 0x4c, 0x45, 0x53, 0x4d, + 0x41, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, + 0x45, 0x4c, 0x49, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanStatusType_proto_rawDescOnce sync.Once + file_SalesmanStatusType_proto_rawDescData = file_SalesmanStatusType_proto_rawDesc +) + +func file_SalesmanStatusType_proto_rawDescGZIP() []byte { + file_SalesmanStatusType_proto_rawDescOnce.Do(func() { + file_SalesmanStatusType_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanStatusType_proto_rawDescData) + }) + return file_SalesmanStatusType_proto_rawDescData +} + +var file_SalesmanStatusType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_SalesmanStatusType_proto_goTypes = []interface{}{ + (SalesmanStatusType)(0), // 0: SalesmanStatusType +} +var file_SalesmanStatusType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanStatusType_proto_init() } +func file_SalesmanStatusType_proto_init() { + if File_SalesmanStatusType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanStatusType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanStatusType_proto_goTypes, + DependencyIndexes: file_SalesmanStatusType_proto_depIdxs, + EnumInfos: file_SalesmanStatusType_proto_enumTypes, + }.Build() + File_SalesmanStatusType_proto = out.File + file_SalesmanStatusType_proto_rawDesc = nil + file_SalesmanStatusType_proto_goTypes = nil + file_SalesmanStatusType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanStatusType.proto b/gate-hk4e-api/proto/SalesmanStatusType.proto new file mode 100644 index 00000000..4c751fbd --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanStatusType.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum SalesmanStatusType { + SALESMAN_STATUS_TYPE_NONE = 0; + SALESMAN_STATUS_TYPE_UNSTARTED = 1; + SALESMAN_STATUS_TYPE_STARTED = 2; + SALESMAN_STATUS_TYPE_DELIVERED = 3; +} diff --git a/gate-hk4e-api/proto/SalesmanTakeRewardReq.pb.go b/gate-hk4e-api/proto/SalesmanTakeRewardReq.pb.go new file mode 100644 index 00000000..d706f6f2 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanTakeRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2191 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SalesmanTakeRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position uint32 `protobuf:"varint,8,opt,name=position,proto3" json:"position,omitempty"` + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SalesmanTakeRewardReq) Reset() { + *x = SalesmanTakeRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanTakeRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanTakeRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanTakeRewardReq) ProtoMessage() {} + +func (x *SalesmanTakeRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanTakeRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanTakeRewardReq.ProtoReflect.Descriptor instead. +func (*SalesmanTakeRewardReq) Descriptor() ([]byte, []int) { + return file_SalesmanTakeRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanTakeRewardReq) GetPosition() uint32 { + if x != nil { + return x.Position + } + return 0 +} + +func (x *SalesmanTakeRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SalesmanTakeRewardReq_proto protoreflect.FileDescriptor + +var file_SalesmanTakeRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, + 0x15, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanTakeRewardReq_proto_rawDescOnce sync.Once + file_SalesmanTakeRewardReq_proto_rawDescData = file_SalesmanTakeRewardReq_proto_rawDesc +) + +func file_SalesmanTakeRewardReq_proto_rawDescGZIP() []byte { + file_SalesmanTakeRewardReq_proto_rawDescOnce.Do(func() { + file_SalesmanTakeRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanTakeRewardReq_proto_rawDescData) + }) + return file_SalesmanTakeRewardReq_proto_rawDescData +} + +var file_SalesmanTakeRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanTakeRewardReq_proto_goTypes = []interface{}{ + (*SalesmanTakeRewardReq)(nil), // 0: SalesmanTakeRewardReq +} +var file_SalesmanTakeRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanTakeRewardReq_proto_init() } +func file_SalesmanTakeRewardReq_proto_init() { + if File_SalesmanTakeRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanTakeRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanTakeRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanTakeRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanTakeRewardReq_proto_goTypes, + DependencyIndexes: file_SalesmanTakeRewardReq_proto_depIdxs, + MessageInfos: file_SalesmanTakeRewardReq_proto_msgTypes, + }.Build() + File_SalesmanTakeRewardReq_proto = out.File + file_SalesmanTakeRewardReq_proto_rawDesc = nil + file_SalesmanTakeRewardReq_proto_goTypes = nil + file_SalesmanTakeRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanTakeRewardReq.proto b/gate-hk4e-api/proto/SalesmanTakeRewardReq.proto new file mode 100644 index 00000000..a7f42f41 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2191 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SalesmanTakeRewardReq { + uint32 position = 8; + uint32 schedule_id = 7; +} diff --git a/gate-hk4e-api/proto/SalesmanTakeRewardRsp.pb.go b/gate-hk4e-api/proto/SalesmanTakeRewardRsp.pb.go new file mode 100644 index 00000000..4b0a481a --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeRewardRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanTakeRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2110 +// EnetChannelId: 0 +// EnetIsReliable: true +type SalesmanTakeRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position uint32 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"` + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + RewardId uint32 `protobuf:"varint,9,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SalesmanTakeRewardRsp) Reset() { + *x = SalesmanTakeRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanTakeRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanTakeRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanTakeRewardRsp) ProtoMessage() {} + +func (x *SalesmanTakeRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanTakeRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanTakeRewardRsp.ProtoReflect.Descriptor instead. +func (*SalesmanTakeRewardRsp) Descriptor() ([]byte, []int) { + return file_SalesmanTakeRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanTakeRewardRsp) GetPosition() uint32 { + if x != nil { + return x.Position + } + return 0 +} + +func (x *SalesmanTakeRewardRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SalesmanTakeRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *SalesmanTakeRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SalesmanTakeRewardRsp_proto protoreflect.FileDescriptor + +var file_SalesmanTakeRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, + 0x0a, 0x15, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanTakeRewardRsp_proto_rawDescOnce sync.Once + file_SalesmanTakeRewardRsp_proto_rawDescData = file_SalesmanTakeRewardRsp_proto_rawDesc +) + +func file_SalesmanTakeRewardRsp_proto_rawDescGZIP() []byte { + file_SalesmanTakeRewardRsp_proto_rawDescOnce.Do(func() { + file_SalesmanTakeRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanTakeRewardRsp_proto_rawDescData) + }) + return file_SalesmanTakeRewardRsp_proto_rawDescData +} + +var file_SalesmanTakeRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanTakeRewardRsp_proto_goTypes = []interface{}{ + (*SalesmanTakeRewardRsp)(nil), // 0: SalesmanTakeRewardRsp +} +var file_SalesmanTakeRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanTakeRewardRsp_proto_init() } +func file_SalesmanTakeRewardRsp_proto_init() { + if File_SalesmanTakeRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanTakeRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanTakeRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanTakeRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanTakeRewardRsp_proto_goTypes, + DependencyIndexes: file_SalesmanTakeRewardRsp_proto_depIdxs, + MessageInfos: file_SalesmanTakeRewardRsp_proto_msgTypes, + }.Build() + File_SalesmanTakeRewardRsp_proto = out.File + file_SalesmanTakeRewardRsp_proto_rawDesc = nil + file_SalesmanTakeRewardRsp_proto_goTypes = nil + file_SalesmanTakeRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanTakeRewardRsp.proto b/gate-hk4e-api/proto/SalesmanTakeRewardRsp.proto new file mode 100644 index 00000000..2c5457f3 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2110 +// EnetChannelId: 0 +// EnetIsReliable: true +message SalesmanTakeRewardRsp { + uint32 position = 13; + uint32 schedule_id = 7; + uint32 reward_id = 9; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.pb.go b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.pb.go new file mode 100644 index 00000000..88f85608 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanTakeSpecialRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SalesmanTakeSpecialRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,13,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SalesmanTakeSpecialRewardReq) Reset() { + *x = SalesmanTakeSpecialRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanTakeSpecialRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanTakeSpecialRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanTakeSpecialRewardReq) ProtoMessage() {} + +func (x *SalesmanTakeSpecialRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanTakeSpecialRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanTakeSpecialRewardReq.ProtoReflect.Descriptor instead. +func (*SalesmanTakeSpecialRewardReq) Descriptor() ([]byte, []int) { + return file_SalesmanTakeSpecialRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanTakeSpecialRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SalesmanTakeSpecialRewardReq_proto protoreflect.FileDescriptor + +var file_SalesmanTakeSpecialRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x1c, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, + 0x54, 0x61, 0x6b, 0x65, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanTakeSpecialRewardReq_proto_rawDescOnce sync.Once + file_SalesmanTakeSpecialRewardReq_proto_rawDescData = file_SalesmanTakeSpecialRewardReq_proto_rawDesc +) + +func file_SalesmanTakeSpecialRewardReq_proto_rawDescGZIP() []byte { + file_SalesmanTakeSpecialRewardReq_proto_rawDescOnce.Do(func() { + file_SalesmanTakeSpecialRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanTakeSpecialRewardReq_proto_rawDescData) + }) + return file_SalesmanTakeSpecialRewardReq_proto_rawDescData +} + +var file_SalesmanTakeSpecialRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanTakeSpecialRewardReq_proto_goTypes = []interface{}{ + (*SalesmanTakeSpecialRewardReq)(nil), // 0: SalesmanTakeSpecialRewardReq +} +var file_SalesmanTakeSpecialRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanTakeSpecialRewardReq_proto_init() } +func file_SalesmanTakeSpecialRewardReq_proto_init() { + if File_SalesmanTakeSpecialRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanTakeSpecialRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanTakeSpecialRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanTakeSpecialRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanTakeSpecialRewardReq_proto_goTypes, + DependencyIndexes: file_SalesmanTakeSpecialRewardReq_proto_depIdxs, + MessageInfos: file_SalesmanTakeSpecialRewardReq_proto_msgTypes, + }.Build() + File_SalesmanTakeSpecialRewardReq_proto = out.File + file_SalesmanTakeSpecialRewardReq_proto_rawDesc = nil + file_SalesmanTakeSpecialRewardReq_proto_goTypes = nil + file_SalesmanTakeSpecialRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.proto b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.proto new file mode 100644 index 00000000..e915dcaf --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SalesmanTakeSpecialRewardReq { + uint32 schedule_id = 13; +} diff --git a/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.pb.go b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.pb.go new file mode 100644 index 00000000..33515669 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SalesmanTakeSpecialRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2124 +// EnetChannelId: 0 +// EnetIsReliable: true +type SalesmanTakeSpecialRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SalesmanTakeSpecialRewardRsp) Reset() { + *x = SalesmanTakeSpecialRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SalesmanTakeSpecialRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SalesmanTakeSpecialRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SalesmanTakeSpecialRewardRsp) ProtoMessage() {} + +func (x *SalesmanTakeSpecialRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SalesmanTakeSpecialRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SalesmanTakeSpecialRewardRsp.ProtoReflect.Descriptor instead. +func (*SalesmanTakeSpecialRewardRsp) Descriptor() ([]byte, []int) { + return file_SalesmanTakeSpecialRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SalesmanTakeSpecialRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SalesmanTakeSpecialRewardRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SalesmanTakeSpecialRewardRsp_proto protoreflect.FileDescriptor + +var file_SalesmanTakeSpecialRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, 0x54, 0x61, 0x6b, 0x65, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x1c, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x6d, 0x61, 0x6e, + 0x54, 0x61, 0x6b, 0x65, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SalesmanTakeSpecialRewardRsp_proto_rawDescOnce sync.Once + file_SalesmanTakeSpecialRewardRsp_proto_rawDescData = file_SalesmanTakeSpecialRewardRsp_proto_rawDesc +) + +func file_SalesmanTakeSpecialRewardRsp_proto_rawDescGZIP() []byte { + file_SalesmanTakeSpecialRewardRsp_proto_rawDescOnce.Do(func() { + file_SalesmanTakeSpecialRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SalesmanTakeSpecialRewardRsp_proto_rawDescData) + }) + return file_SalesmanTakeSpecialRewardRsp_proto_rawDescData +} + +var file_SalesmanTakeSpecialRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SalesmanTakeSpecialRewardRsp_proto_goTypes = []interface{}{ + (*SalesmanTakeSpecialRewardRsp)(nil), // 0: SalesmanTakeSpecialRewardRsp +} +var file_SalesmanTakeSpecialRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SalesmanTakeSpecialRewardRsp_proto_init() } +func file_SalesmanTakeSpecialRewardRsp_proto_init() { + if File_SalesmanTakeSpecialRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SalesmanTakeSpecialRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SalesmanTakeSpecialRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SalesmanTakeSpecialRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SalesmanTakeSpecialRewardRsp_proto_goTypes, + DependencyIndexes: file_SalesmanTakeSpecialRewardRsp_proto_depIdxs, + MessageInfos: file_SalesmanTakeSpecialRewardRsp_proto_msgTypes, + }.Build() + File_SalesmanTakeSpecialRewardRsp_proto = out.File + file_SalesmanTakeSpecialRewardRsp_proto_rawDesc = nil + file_SalesmanTakeSpecialRewardRsp_proto_goTypes = nil + file_SalesmanTakeSpecialRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.proto b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.proto new file mode 100644 index 00000000..f2731b60 --- /dev/null +++ b/gate-hk4e-api/proto/SalesmanTakeSpecialRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2124 +// EnetChannelId: 0 +// EnetIsReliable: true +message SalesmanTakeSpecialRewardRsp { + int32 retcode = 12; + uint32 schedule_id = 5; +} diff --git a/gate-hk4e-api/proto/SaveCoopDialogReq.pb.go b/gate-hk4e-api/proto/SaveCoopDialogReq.pb.go new file mode 100644 index 00000000..661f3662 --- /dev/null +++ b/gate-hk4e-api/proto/SaveCoopDialogReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SaveCoopDialogReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SaveCoopDialogReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MainCoopId uint32 `protobuf:"varint,11,opt,name=main_coop_id,json=mainCoopId,proto3" json:"main_coop_id,omitempty"` + DialogId uint32 `protobuf:"varint,6,opt,name=dialog_id,json=dialogId,proto3" json:"dialog_id,omitempty"` +} + +func (x *SaveCoopDialogReq) Reset() { + *x = SaveCoopDialogReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SaveCoopDialogReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SaveCoopDialogReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SaveCoopDialogReq) ProtoMessage() {} + +func (x *SaveCoopDialogReq) ProtoReflect() protoreflect.Message { + mi := &file_SaveCoopDialogReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SaveCoopDialogReq.ProtoReflect.Descriptor instead. +func (*SaveCoopDialogReq) Descriptor() ([]byte, []int) { + return file_SaveCoopDialogReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SaveCoopDialogReq) GetMainCoopId() uint32 { + if x != nil { + return x.MainCoopId + } + return 0 +} + +func (x *SaveCoopDialogReq) GetDialogId() uint32 { + if x != nil { + return x.DialogId + } + return 0 +} + +var File_SaveCoopDialogReq_proto protoreflect.FileDescriptor + +var file_SaveCoopDialogReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x11, 0x53, 0x61, 0x76, + 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x12, 0x20, + 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SaveCoopDialogReq_proto_rawDescOnce sync.Once + file_SaveCoopDialogReq_proto_rawDescData = file_SaveCoopDialogReq_proto_rawDesc +) + +func file_SaveCoopDialogReq_proto_rawDescGZIP() []byte { + file_SaveCoopDialogReq_proto_rawDescOnce.Do(func() { + file_SaveCoopDialogReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SaveCoopDialogReq_proto_rawDescData) + }) + return file_SaveCoopDialogReq_proto_rawDescData +} + +var file_SaveCoopDialogReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SaveCoopDialogReq_proto_goTypes = []interface{}{ + (*SaveCoopDialogReq)(nil), // 0: SaveCoopDialogReq +} +var file_SaveCoopDialogReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SaveCoopDialogReq_proto_init() } +func file_SaveCoopDialogReq_proto_init() { + if File_SaveCoopDialogReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SaveCoopDialogReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveCoopDialogReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SaveCoopDialogReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SaveCoopDialogReq_proto_goTypes, + DependencyIndexes: file_SaveCoopDialogReq_proto_depIdxs, + MessageInfos: file_SaveCoopDialogReq_proto_msgTypes, + }.Build() + File_SaveCoopDialogReq_proto = out.File + file_SaveCoopDialogReq_proto_rawDesc = nil + file_SaveCoopDialogReq_proto_goTypes = nil + file_SaveCoopDialogReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SaveCoopDialogReq.proto b/gate-hk4e-api/proto/SaveCoopDialogReq.proto new file mode 100644 index 00000000..bf0fa059 --- /dev/null +++ b/gate-hk4e-api/proto/SaveCoopDialogReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SaveCoopDialogReq { + uint32 main_coop_id = 11; + uint32 dialog_id = 6; +} diff --git a/gate-hk4e-api/proto/SaveCoopDialogRsp.pb.go b/gate-hk4e-api/proto/SaveCoopDialogRsp.pb.go new file mode 100644 index 00000000..d76af48a --- /dev/null +++ b/gate-hk4e-api/proto/SaveCoopDialogRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SaveCoopDialogRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1962 +// EnetChannelId: 0 +// EnetIsReliable: true +type SaveCoopDialogRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DialogId uint32 `protobuf:"varint,8,opt,name=dialog_id,json=dialogId,proto3" json:"dialog_id,omitempty"` + MainCoopId uint32 `protobuf:"varint,10,opt,name=main_coop_id,json=mainCoopId,proto3" json:"main_coop_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SaveCoopDialogRsp) Reset() { + *x = SaveCoopDialogRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SaveCoopDialogRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SaveCoopDialogRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SaveCoopDialogRsp) ProtoMessage() {} + +func (x *SaveCoopDialogRsp) ProtoReflect() protoreflect.Message { + mi := &file_SaveCoopDialogRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SaveCoopDialogRsp.ProtoReflect.Descriptor instead. +func (*SaveCoopDialogRsp) Descriptor() ([]byte, []int) { + return file_SaveCoopDialogRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SaveCoopDialogRsp) GetDialogId() uint32 { + if x != nil { + return x.DialogId + } + return 0 +} + +func (x *SaveCoopDialogRsp) GetMainCoopId() uint32 { + if x != nil { + return x.MainCoopId + } + return 0 +} + +func (x *SaveCoopDialogRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SaveCoopDialogRsp_proto protoreflect.FileDescriptor + +var file_SaveCoopDialogRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x11, 0x53, 0x61, 0x76, + 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x73, 0x70, 0x12, 0x1b, + 0x0a, 0x09, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SaveCoopDialogRsp_proto_rawDescOnce sync.Once + file_SaveCoopDialogRsp_proto_rawDescData = file_SaveCoopDialogRsp_proto_rawDesc +) + +func file_SaveCoopDialogRsp_proto_rawDescGZIP() []byte { + file_SaveCoopDialogRsp_proto_rawDescOnce.Do(func() { + file_SaveCoopDialogRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SaveCoopDialogRsp_proto_rawDescData) + }) + return file_SaveCoopDialogRsp_proto_rawDescData +} + +var file_SaveCoopDialogRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SaveCoopDialogRsp_proto_goTypes = []interface{}{ + (*SaveCoopDialogRsp)(nil), // 0: SaveCoopDialogRsp +} +var file_SaveCoopDialogRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SaveCoopDialogRsp_proto_init() } +func file_SaveCoopDialogRsp_proto_init() { + if File_SaveCoopDialogRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SaveCoopDialogRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveCoopDialogRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SaveCoopDialogRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SaveCoopDialogRsp_proto_goTypes, + DependencyIndexes: file_SaveCoopDialogRsp_proto_depIdxs, + MessageInfos: file_SaveCoopDialogRsp_proto_msgTypes, + }.Build() + File_SaveCoopDialogRsp_proto = out.File + file_SaveCoopDialogRsp_proto_rawDesc = nil + file_SaveCoopDialogRsp_proto_goTypes = nil + file_SaveCoopDialogRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SaveCoopDialogRsp.proto b/gate-hk4e-api/proto/SaveCoopDialogRsp.proto new file mode 100644 index 00000000..db836e4e --- /dev/null +++ b/gate-hk4e-api/proto/SaveCoopDialogRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1962 +// EnetChannelId: 0 +// EnetIsReliable: true +message SaveCoopDialogRsp { + uint32 dialog_id = 8; + uint32 main_coop_id = 10; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/SaveMainCoopReq.pb.go b/gate-hk4e-api/proto/SaveMainCoopReq.pb.go new file mode 100644 index 00000000..7cd5ff7f --- /dev/null +++ b/gate-hk4e-api/proto/SaveMainCoopReq.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SaveMainCoopReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1975 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SaveMainCoopReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NormalVarMap map[uint32]int32 `protobuf:"bytes,15,rep,name=normal_var_map,json=normalVarMap,proto3" json:"normal_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SelfConfidence uint32 `protobuf:"varint,2,opt,name=self_confidence,json=selfConfidence,proto3" json:"self_confidence,omitempty"` + SavePointId uint32 `protobuf:"varint,1,opt,name=save_point_id,json=savePointId,proto3" json:"save_point_id,omitempty"` + TempVarMap map[uint32]int32 `protobuf:"bytes,8,rep,name=temp_var_map,json=tempVarMap,proto3" json:"temp_var_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *SaveMainCoopReq) Reset() { + *x = SaveMainCoopReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SaveMainCoopReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SaveMainCoopReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SaveMainCoopReq) ProtoMessage() {} + +func (x *SaveMainCoopReq) ProtoReflect() protoreflect.Message { + mi := &file_SaveMainCoopReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SaveMainCoopReq.ProtoReflect.Descriptor instead. +func (*SaveMainCoopReq) Descriptor() ([]byte, []int) { + return file_SaveMainCoopReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SaveMainCoopReq) GetNormalVarMap() map[uint32]int32 { + if x != nil { + return x.NormalVarMap + } + return nil +} + +func (x *SaveMainCoopReq) GetSelfConfidence() uint32 { + if x != nil { + return x.SelfConfidence + } + return 0 +} + +func (x *SaveMainCoopReq) GetSavePointId() uint32 { + if x != nil { + return x.SavePointId + } + return 0 +} + +func (x *SaveMainCoopReq) GetTempVarMap() map[uint32]int32 { + if x != nil { + return x.TempVarMap + } + return nil +} + +func (x *SaveMainCoopReq) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_SaveMainCoopReq_proto protoreflect.FileDescriptor + +var file_SaveMainCoopReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x0f, 0x53, 0x61, 0x76, 0x65, + 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x12, 0x48, 0x0a, 0x0e, 0x6e, + 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0f, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, + 0x6f, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x61, 0x72, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, + 0x61, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x73, 0x65, 0x6c, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, + 0x0a, 0x0d, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x61, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x4d, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x56, + 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, + 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x56, 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x54, 0x65, 0x6d, 0x70, 0x56, + 0x61, 0x72, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SaveMainCoopReq_proto_rawDescOnce sync.Once + file_SaveMainCoopReq_proto_rawDescData = file_SaveMainCoopReq_proto_rawDesc +) + +func file_SaveMainCoopReq_proto_rawDescGZIP() []byte { + file_SaveMainCoopReq_proto_rawDescOnce.Do(func() { + file_SaveMainCoopReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SaveMainCoopReq_proto_rawDescData) + }) + return file_SaveMainCoopReq_proto_rawDescData +} + +var file_SaveMainCoopReq_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_SaveMainCoopReq_proto_goTypes = []interface{}{ + (*SaveMainCoopReq)(nil), // 0: SaveMainCoopReq + nil, // 1: SaveMainCoopReq.NormalVarMapEntry + nil, // 2: SaveMainCoopReq.TempVarMapEntry +} +var file_SaveMainCoopReq_proto_depIdxs = []int32{ + 1, // 0: SaveMainCoopReq.normal_var_map:type_name -> SaveMainCoopReq.NormalVarMapEntry + 2, // 1: SaveMainCoopReq.temp_var_map:type_name -> SaveMainCoopReq.TempVarMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SaveMainCoopReq_proto_init() } +func file_SaveMainCoopReq_proto_init() { + if File_SaveMainCoopReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SaveMainCoopReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveMainCoopReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SaveMainCoopReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SaveMainCoopReq_proto_goTypes, + DependencyIndexes: file_SaveMainCoopReq_proto_depIdxs, + MessageInfos: file_SaveMainCoopReq_proto_msgTypes, + }.Build() + File_SaveMainCoopReq_proto = out.File + file_SaveMainCoopReq_proto_rawDesc = nil + file_SaveMainCoopReq_proto_goTypes = nil + file_SaveMainCoopReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SaveMainCoopReq.proto b/gate-hk4e-api/proto/SaveMainCoopReq.proto new file mode 100644 index 00000000..65c388b7 --- /dev/null +++ b/gate-hk4e-api/proto/SaveMainCoopReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1975 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SaveMainCoopReq { + map normal_var_map = 15; + uint32 self_confidence = 2; + uint32 save_point_id = 1; + map temp_var_map = 8; + uint32 id = 3; +} diff --git a/gate-hk4e-api/proto/SaveMainCoopRsp.pb.go b/gate-hk4e-api/proto/SaveMainCoopRsp.pb.go new file mode 100644 index 00000000..80be49a2 --- /dev/null +++ b/gate-hk4e-api/proto/SaveMainCoopRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SaveMainCoopRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1957 +// EnetChannelId: 0 +// EnetIsReliable: true +type SaveMainCoopRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + SavePointIdList []uint32 `protobuf:"varint,15,rep,packed,name=save_point_id_list,json=savePointIdList,proto3" json:"save_point_id_list,omitempty"` + Id uint32 `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *SaveMainCoopRsp) Reset() { + *x = SaveMainCoopRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SaveMainCoopRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SaveMainCoopRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SaveMainCoopRsp) ProtoMessage() {} + +func (x *SaveMainCoopRsp) ProtoReflect() protoreflect.Message { + mi := &file_SaveMainCoopRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SaveMainCoopRsp.ProtoReflect.Descriptor instead. +func (*SaveMainCoopRsp) Descriptor() ([]byte, []int) { + return file_SaveMainCoopRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SaveMainCoopRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SaveMainCoopRsp) GetSavePointIdList() []uint32 { + if x != nil { + return x.SavePointIdList + } + return nil +} + +func (x *SaveMainCoopRsp) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_SaveMainCoopRsp_proto protoreflect.FileDescriptor + +var file_SaveMainCoopRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0f, 0x53, 0x61, 0x76, 0x65, 0x4d, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0f, 0x73, 0x61, 0x76, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SaveMainCoopRsp_proto_rawDescOnce sync.Once + file_SaveMainCoopRsp_proto_rawDescData = file_SaveMainCoopRsp_proto_rawDesc +) + +func file_SaveMainCoopRsp_proto_rawDescGZIP() []byte { + file_SaveMainCoopRsp_proto_rawDescOnce.Do(func() { + file_SaveMainCoopRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SaveMainCoopRsp_proto_rawDescData) + }) + return file_SaveMainCoopRsp_proto_rawDescData +} + +var file_SaveMainCoopRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SaveMainCoopRsp_proto_goTypes = []interface{}{ + (*SaveMainCoopRsp)(nil), // 0: SaveMainCoopRsp +} +var file_SaveMainCoopRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SaveMainCoopRsp_proto_init() } +func file_SaveMainCoopRsp_proto_init() { + if File_SaveMainCoopRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SaveMainCoopRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SaveMainCoopRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SaveMainCoopRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SaveMainCoopRsp_proto_goTypes, + DependencyIndexes: file_SaveMainCoopRsp_proto_depIdxs, + MessageInfos: file_SaveMainCoopRsp_proto_msgTypes, + }.Build() + File_SaveMainCoopRsp_proto = out.File + file_SaveMainCoopRsp_proto_rawDesc = nil + file_SaveMainCoopRsp_proto_goTypes = nil + file_SaveMainCoopRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SaveMainCoopRsp.proto b/gate-hk4e-api/proto/SaveMainCoopRsp.proto new file mode 100644 index 00000000..4c18057b --- /dev/null +++ b/gate-hk4e-api/proto/SaveMainCoopRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1957 +// EnetChannelId: 0 +// EnetIsReliable: true +message SaveMainCoopRsp { + int32 retcode = 2; + repeated uint32 save_point_id_list = 15; + uint32 id = 14; +} diff --git a/gate-hk4e-api/proto/SceneAreaUnlockNotify.pb.go b/gate-hk4e-api/proto/SceneAreaUnlockNotify.pb.go new file mode 100644 index 00000000..17d55285 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAreaUnlockNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAreaUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 293 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneAreaUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaList []uint32 `protobuf:"varint,10,rep,packed,name=area_list,json=areaList,proto3" json:"area_list,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *SceneAreaUnlockNotify) Reset() { + *x = SceneAreaUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAreaUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAreaUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAreaUnlockNotify) ProtoMessage() {} + +func (x *SceneAreaUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneAreaUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAreaUnlockNotify.ProtoReflect.Descriptor instead. +func (*SceneAreaUnlockNotify) Descriptor() ([]byte, []int) { + return file_SceneAreaUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAreaUnlockNotify) GetAreaList() []uint32 { + if x != nil { + return x.AreaList + } + return nil +} + +func (x *SceneAreaUnlockNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_SceneAreaUnlockNotify_proto protoreflect.FileDescriptor + +var file_SceneAreaUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneAreaUnlockNotify_proto_rawDescOnce sync.Once + file_SceneAreaUnlockNotify_proto_rawDescData = file_SceneAreaUnlockNotify_proto_rawDesc +) + +func file_SceneAreaUnlockNotify_proto_rawDescGZIP() []byte { + file_SceneAreaUnlockNotify_proto_rawDescOnce.Do(func() { + file_SceneAreaUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAreaUnlockNotify_proto_rawDescData) + }) + return file_SceneAreaUnlockNotify_proto_rawDescData +} + +var file_SceneAreaUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneAreaUnlockNotify_proto_goTypes = []interface{}{ + (*SceneAreaUnlockNotify)(nil), // 0: SceneAreaUnlockNotify +} +var file_SceneAreaUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneAreaUnlockNotify_proto_init() } +func file_SceneAreaUnlockNotify_proto_init() { + if File_SceneAreaUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneAreaUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAreaUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAreaUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAreaUnlockNotify_proto_goTypes, + DependencyIndexes: file_SceneAreaUnlockNotify_proto_depIdxs, + MessageInfos: file_SceneAreaUnlockNotify_proto_msgTypes, + }.Build() + File_SceneAreaUnlockNotify_proto = out.File + file_SceneAreaUnlockNotify_proto_rawDesc = nil + file_SceneAreaUnlockNotify_proto_goTypes = nil + file_SceneAreaUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAreaUnlockNotify.proto b/gate-hk4e-api/proto/SceneAreaUnlockNotify.proto new file mode 100644 index 00000000..ed9a7082 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAreaUnlockNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 293 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneAreaUnlockNotify { + repeated uint32 area_list = 10; + uint32 scene_id = 9; +} diff --git a/gate-hk4e-api/proto/SceneAreaWeatherNotify.pb.go b/gate-hk4e-api/proto/SceneAreaWeatherNotify.pb.go new file mode 100644 index 00000000..7c9ad114 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAreaWeatherNotify.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAreaWeatherNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 230 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneAreaWeatherNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherAreaId uint32 `protobuf:"varint,1,opt,name=weather_area_id,json=weatherAreaId,proto3" json:"weather_area_id,omitempty"` + WeatherGadgetId uint32 `protobuf:"varint,9,opt,name=weather_gadget_id,json=weatherGadgetId,proto3" json:"weather_gadget_id,omitempty"` + ClimateType uint32 `protobuf:"varint,14,opt,name=climate_type,json=climateType,proto3" json:"climate_type,omitempty"` + TransDuration float32 `protobuf:"fixed32,15,opt,name=trans_duration,json=transDuration,proto3" json:"trans_duration,omitempty"` + WeatherValueMap map[uint32]string `protobuf:"bytes,10,rep,name=weather_value_map,json=weatherValueMap,proto3" json:"weather_value_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *SceneAreaWeatherNotify) Reset() { + *x = SceneAreaWeatherNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAreaWeatherNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAreaWeatherNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAreaWeatherNotify) ProtoMessage() {} + +func (x *SceneAreaWeatherNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneAreaWeatherNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAreaWeatherNotify.ProtoReflect.Descriptor instead. +func (*SceneAreaWeatherNotify) Descriptor() ([]byte, []int) { + return file_SceneAreaWeatherNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAreaWeatherNotify) GetWeatherAreaId() uint32 { + if x != nil { + return x.WeatherAreaId + } + return 0 +} + +func (x *SceneAreaWeatherNotify) GetWeatherGadgetId() uint32 { + if x != nil { + return x.WeatherGadgetId + } + return 0 +} + +func (x *SceneAreaWeatherNotify) GetClimateType() uint32 { + if x != nil { + return x.ClimateType + } + return 0 +} + +func (x *SceneAreaWeatherNotify) GetTransDuration() float32 { + if x != nil { + return x.TransDuration + } + return 0 +} + +func (x *SceneAreaWeatherNotify) GetWeatherValueMap() map[uint32]string { + if x != nil { + return x.WeatherValueMap + } + return nil +} + +var File_SceneAreaWeatherNotify_proto protoreflect.FileDescriptor + +var file_SceneAreaWeatherNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x57, 0x65, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, + 0x02, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x57, 0x65, 0x61, 0x74, + 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x65, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x49, + 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x65, + 0x61, 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x11, 0x77, 0x65, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x72, 0x65, 0x61, 0x57, 0x65, + 0x61, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x57, 0x65, 0x61, 0x74, + 0x68, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0f, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, + 0x70, 0x1a, 0x42, 0x0a, 0x14, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneAreaWeatherNotify_proto_rawDescOnce sync.Once + file_SceneAreaWeatherNotify_proto_rawDescData = file_SceneAreaWeatherNotify_proto_rawDesc +) + +func file_SceneAreaWeatherNotify_proto_rawDescGZIP() []byte { + file_SceneAreaWeatherNotify_proto_rawDescOnce.Do(func() { + file_SceneAreaWeatherNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAreaWeatherNotify_proto_rawDescData) + }) + return file_SceneAreaWeatherNotify_proto_rawDescData +} + +var file_SceneAreaWeatherNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneAreaWeatherNotify_proto_goTypes = []interface{}{ + (*SceneAreaWeatherNotify)(nil), // 0: SceneAreaWeatherNotify + nil, // 1: SceneAreaWeatherNotify.WeatherValueMapEntry +} +var file_SceneAreaWeatherNotify_proto_depIdxs = []int32{ + 1, // 0: SceneAreaWeatherNotify.weather_value_map:type_name -> SceneAreaWeatherNotify.WeatherValueMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneAreaWeatherNotify_proto_init() } +func file_SceneAreaWeatherNotify_proto_init() { + if File_SceneAreaWeatherNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneAreaWeatherNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAreaWeatherNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAreaWeatherNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAreaWeatherNotify_proto_goTypes, + DependencyIndexes: file_SceneAreaWeatherNotify_proto_depIdxs, + MessageInfos: file_SceneAreaWeatherNotify_proto_msgTypes, + }.Build() + File_SceneAreaWeatherNotify_proto = out.File + file_SceneAreaWeatherNotify_proto_rawDesc = nil + file_SceneAreaWeatherNotify_proto_goTypes = nil + file_SceneAreaWeatherNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAreaWeatherNotify.proto b/gate-hk4e-api/proto/SceneAreaWeatherNotify.proto new file mode 100644 index 00000000..e28b45ea --- /dev/null +++ b/gate-hk4e-api/proto/SceneAreaWeatherNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 230 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneAreaWeatherNotify { + uint32 weather_area_id = 1; + uint32 weather_gadget_id = 9; + uint32 climate_type = 14; + float trans_duration = 15; + map weather_value_map = 10; +} diff --git a/gate-hk4e-api/proto/SceneAudioNotify.pb.go b/gate-hk4e-api/proto/SceneAudioNotify.pb.go new file mode 100644 index 00000000..af0d2bfb --- /dev/null +++ b/gate-hk4e-api/proto/SceneAudioNotify.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAudioNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3166 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneAudioNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param2 []float32 `protobuf:"fixed32,14,rep,packed,name=param2,proto3" json:"param2,omitempty"` + Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` + Param3 []string `protobuf:"bytes,11,rep,name=param3,proto3" json:"param3,omitempty"` + SourceUid uint32 `protobuf:"varint,6,opt,name=source_uid,json=sourceUid,proto3" json:"source_uid,omitempty"` + Param1 []uint32 `protobuf:"varint,4,rep,packed,name=param1,proto3" json:"param1,omitempty"` +} + +func (x *SceneAudioNotify) Reset() { + *x = SceneAudioNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAudioNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAudioNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAudioNotify) ProtoMessage() {} + +func (x *SceneAudioNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneAudioNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAudioNotify.ProtoReflect.Descriptor instead. +func (*SceneAudioNotify) Descriptor() ([]byte, []int) { + return file_SceneAudioNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAudioNotify) GetParam2() []float32 { + if x != nil { + return x.Param2 + } + return nil +} + +func (x *SceneAudioNotify) GetType() int32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *SceneAudioNotify) GetParam3() []string { + if x != nil { + return x.Param3 + } + return nil +} + +func (x *SceneAudioNotify) GetSourceUid() uint32 { + if x != nil { + return x.SourceUid + } + return 0 +} + +func (x *SceneAudioNotify) GetParam1() []uint32 { + if x != nil { + return x.Param1 + } + return nil +} + +var File_SceneAudioNotify_proto protoreflect.FileDescriptor + +var file_SceneAudioNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x10, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x02, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x33, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x33, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x69, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneAudioNotify_proto_rawDescOnce sync.Once + file_SceneAudioNotify_proto_rawDescData = file_SceneAudioNotify_proto_rawDesc +) + +func file_SceneAudioNotify_proto_rawDescGZIP() []byte { + file_SceneAudioNotify_proto_rawDescOnce.Do(func() { + file_SceneAudioNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAudioNotify_proto_rawDescData) + }) + return file_SceneAudioNotify_proto_rawDescData +} + +var file_SceneAudioNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneAudioNotify_proto_goTypes = []interface{}{ + (*SceneAudioNotify)(nil), // 0: SceneAudioNotify +} +var file_SceneAudioNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneAudioNotify_proto_init() } +func file_SceneAudioNotify_proto_init() { + if File_SceneAudioNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneAudioNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAudioNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAudioNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAudioNotify_proto_goTypes, + DependencyIndexes: file_SceneAudioNotify_proto_depIdxs, + MessageInfos: file_SceneAudioNotify_proto_msgTypes, + }.Build() + File_SceneAudioNotify_proto = out.File + file_SceneAudioNotify_proto_rawDesc = nil + file_SceneAudioNotify_proto_goTypes = nil + file_SceneAudioNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAudioNotify.proto b/gate-hk4e-api/proto/SceneAudioNotify.proto new file mode 100644 index 00000000..1389c191 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAudioNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3166 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneAudioNotify { + repeated float param2 = 14; + int32 type = 3; + repeated string param3 = 11; + uint32 source_uid = 6; + repeated uint32 param1 = 4; +} diff --git a/gate-hk4e-api/proto/SceneAvatarInfo.pb.go b/gate-hk4e-api/proto/SceneAvatarInfo.pb.go new file mode 100644 index 00000000..84e1858c --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarInfo.pb.go @@ -0,0 +1,411 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + AvatarId uint32 `protobuf:"varint,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Guid uint64 `protobuf:"varint,3,opt,name=guid,proto3" json:"guid,omitempty"` + PeerId uint32 `protobuf:"varint,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + EquipIdList []uint32 `protobuf:"varint,5,rep,packed,name=equip_id_list,json=equipIdList,proto3" json:"equip_id_list,omitempty"` + SkillDepotId uint32 `protobuf:"varint,6,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + TalentIdList []uint32 `protobuf:"varint,7,rep,packed,name=talent_id_list,json=talentIdList,proto3" json:"talent_id_list,omitempty"` + Weapon *SceneWeaponInfo `protobuf:"bytes,8,opt,name=weapon,proto3" json:"weapon,omitempty"` + ReliquaryList []*SceneReliquaryInfo `protobuf:"bytes,9,rep,name=reliquary_list,json=reliquaryList,proto3" json:"reliquary_list,omitempty"` + CoreProudSkillLevel uint32 `protobuf:"varint,11,opt,name=core_proud_skill_level,json=coreProudSkillLevel,proto3" json:"core_proud_skill_level,omitempty"` + InherentProudSkillList []uint32 `protobuf:"varint,12,rep,packed,name=inherent_proud_skill_list,json=inherentProudSkillList,proto3" json:"inherent_proud_skill_list,omitempty"` + SkillLevelMap map[uint32]uint32 `protobuf:"bytes,13,rep,name=skill_level_map,json=skillLevelMap,proto3" json:"skill_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ProudSkillExtraLevelMap map[uint32]uint32 `protobuf:"bytes,14,rep,name=proud_skill_extra_level_map,json=proudSkillExtraLevelMap,proto3" json:"proud_skill_extra_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ServerBuffList []*ServerBuff `protobuf:"bytes,15,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` + TeamResonanceList []uint32 `protobuf:"varint,16,rep,packed,name=team_resonance_list,json=teamResonanceList,proto3" json:"team_resonance_list,omitempty"` + WearingFlycloakId uint32 `protobuf:"varint,17,opt,name=wearing_flycloak_id,json=wearingFlycloakId,proto3" json:"wearing_flycloak_id,omitempty"` + BornTime uint32 `protobuf:"varint,18,opt,name=born_time,json=bornTime,proto3" json:"born_time,omitempty"` + CostumeId uint32 `protobuf:"varint,19,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + CurVehicleInfo *CurVehicleInfo `protobuf:"bytes,20,opt,name=cur_vehicle_info,json=curVehicleInfo,proto3" json:"cur_vehicle_info,omitempty"` + ExcelInfo *AvatarExcelInfo `protobuf:"bytes,21,opt,name=excel_info,json=excelInfo,proto3" json:"excel_info,omitempty"` + AnimHash uint32 `protobuf:"varint,22,opt,name=anim_hash,json=animHash,proto3" json:"anim_hash,omitempty"` +} + +func (x *SceneAvatarInfo) Reset() { + *x = SceneAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAvatarInfo) ProtoMessage() {} + +func (x *SceneAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAvatarInfo.ProtoReflect.Descriptor instead. +func (*SceneAvatarInfo) Descriptor() ([]byte, []int) { + return file_SceneAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAvatarInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *SceneAvatarInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *SceneAvatarInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *SceneAvatarInfo) GetPeerId() uint32 { + if x != nil { + return x.PeerId + } + return 0 +} + +func (x *SceneAvatarInfo) GetEquipIdList() []uint32 { + if x != nil { + return x.EquipIdList + } + return nil +} + +func (x *SceneAvatarInfo) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *SceneAvatarInfo) GetTalentIdList() []uint32 { + if x != nil { + return x.TalentIdList + } + return nil +} + +func (x *SceneAvatarInfo) GetWeapon() *SceneWeaponInfo { + if x != nil { + return x.Weapon + } + return nil +} + +func (x *SceneAvatarInfo) GetReliquaryList() []*SceneReliquaryInfo { + if x != nil { + return x.ReliquaryList + } + return nil +} + +func (x *SceneAvatarInfo) GetCoreProudSkillLevel() uint32 { + if x != nil { + return x.CoreProudSkillLevel + } + return 0 +} + +func (x *SceneAvatarInfo) GetInherentProudSkillList() []uint32 { + if x != nil { + return x.InherentProudSkillList + } + return nil +} + +func (x *SceneAvatarInfo) GetSkillLevelMap() map[uint32]uint32 { + if x != nil { + return x.SkillLevelMap + } + return nil +} + +func (x *SceneAvatarInfo) GetProudSkillExtraLevelMap() map[uint32]uint32 { + if x != nil { + return x.ProudSkillExtraLevelMap + } + return nil +} + +func (x *SceneAvatarInfo) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +func (x *SceneAvatarInfo) GetTeamResonanceList() []uint32 { + if x != nil { + return x.TeamResonanceList + } + return nil +} + +func (x *SceneAvatarInfo) GetWearingFlycloakId() uint32 { + if x != nil { + return x.WearingFlycloakId + } + return 0 +} + +func (x *SceneAvatarInfo) GetBornTime() uint32 { + if x != nil { + return x.BornTime + } + return 0 +} + +func (x *SceneAvatarInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *SceneAvatarInfo) GetCurVehicleInfo() *CurVehicleInfo { + if x != nil { + return x.CurVehicleInfo + } + return nil +} + +func (x *SceneAvatarInfo) GetExcelInfo() *AvatarExcelInfo { + if x != nil { + return x.ExcelInfo + } + return nil +} + +func (x *SceneAvatarInfo) GetAnimHash() uint32 { + if x != nil { + return x.AnimHash + } + return 0 +} + +var File_SceneAvatarInfo_proto protoreflect.FileDescriptor + +var file_SceneAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, + 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, + 0x43, 0x75, 0x72, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, + 0x75, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, + 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x08, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x71, 0x75, 0x69, 0x70, + 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, + 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x73, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, + 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x61, 0x6c, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, + 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, + 0x6e, 0x12, 0x3a, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, + 0x16, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, + 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, + 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, + 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x16, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x50, + 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4b, 0x0a, + 0x0f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x6b, 0x69, + 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x6b, 0x0a, 0x1b, 0x70, 0x72, + 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, + 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, + 0x70, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, + 0x0a, 0x13, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, + 0x0a, 0x13, 0x77, 0x65, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6c, 0x79, 0x63, 0x6c, 0x6f, + 0x61, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x77, 0x65, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x79, 0x63, 0x6c, 0x6f, 0x61, 0x6b, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x10, 0x63, 0x75, + 0x72, 0x5f, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x43, 0x75, 0x72, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x63, + 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x69, 0x6d, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x6e, 0x69, 0x6d, 0x48, + 0x61, 0x73, 0x68, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneAvatarInfo_proto_rawDescOnce sync.Once + file_SceneAvatarInfo_proto_rawDescData = file_SceneAvatarInfo_proto_rawDesc +) + +func file_SceneAvatarInfo_proto_rawDescGZIP() []byte { + file_SceneAvatarInfo_proto_rawDescOnce.Do(func() { + file_SceneAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAvatarInfo_proto_rawDescData) + }) + return file_SceneAvatarInfo_proto_rawDescData +} + +var file_SceneAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_SceneAvatarInfo_proto_goTypes = []interface{}{ + (*SceneAvatarInfo)(nil), // 0: SceneAvatarInfo + nil, // 1: SceneAvatarInfo.SkillLevelMapEntry + nil, // 2: SceneAvatarInfo.ProudSkillExtraLevelMapEntry + (*SceneWeaponInfo)(nil), // 3: SceneWeaponInfo + (*SceneReliquaryInfo)(nil), // 4: SceneReliquaryInfo + (*ServerBuff)(nil), // 5: ServerBuff + (*CurVehicleInfo)(nil), // 6: CurVehicleInfo + (*AvatarExcelInfo)(nil), // 7: AvatarExcelInfo +} +var file_SceneAvatarInfo_proto_depIdxs = []int32{ + 3, // 0: SceneAvatarInfo.weapon:type_name -> SceneWeaponInfo + 4, // 1: SceneAvatarInfo.reliquary_list:type_name -> SceneReliquaryInfo + 1, // 2: SceneAvatarInfo.skill_level_map:type_name -> SceneAvatarInfo.SkillLevelMapEntry + 2, // 3: SceneAvatarInfo.proud_skill_extra_level_map:type_name -> SceneAvatarInfo.ProudSkillExtraLevelMapEntry + 5, // 4: SceneAvatarInfo.server_buff_list:type_name -> ServerBuff + 6, // 5: SceneAvatarInfo.cur_vehicle_info:type_name -> CurVehicleInfo + 7, // 6: SceneAvatarInfo.excel_info:type_name -> AvatarExcelInfo + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_SceneAvatarInfo_proto_init() } +func file_SceneAvatarInfo_proto_init() { + if File_SceneAvatarInfo_proto != nil { + return + } + file_AvatarExcelInfo_proto_init() + file_CurVehicleInfo_proto_init() + file_SceneReliquaryInfo_proto_init() + file_SceneWeaponInfo_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAvatarInfo_proto_goTypes, + DependencyIndexes: file_SceneAvatarInfo_proto_depIdxs, + MessageInfos: file_SceneAvatarInfo_proto_msgTypes, + }.Build() + File_SceneAvatarInfo_proto = out.File + file_SceneAvatarInfo_proto_rawDesc = nil + file_SceneAvatarInfo_proto_goTypes = nil + file_SceneAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAvatarInfo.proto b/gate-hk4e-api/proto/SceneAvatarInfo.proto new file mode 100644 index 00000000..6cb8f7ef --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarInfo.proto @@ -0,0 +1,49 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExcelInfo.proto"; +import "CurVehicleInfo.proto"; +import "SceneReliquaryInfo.proto"; +import "SceneWeaponInfo.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +message SceneAvatarInfo { + uint32 uid = 1; + uint32 avatar_id = 2; + uint64 guid = 3; + uint32 peer_id = 4; + repeated uint32 equip_id_list = 5; + uint32 skill_depot_id = 6; + repeated uint32 talent_id_list = 7; + SceneWeaponInfo weapon = 8; + repeated SceneReliquaryInfo reliquary_list = 9; + uint32 core_proud_skill_level = 11; + repeated uint32 inherent_proud_skill_list = 12; + map skill_level_map = 13; + map proud_skill_extra_level_map = 14; + repeated ServerBuff server_buff_list = 15; + repeated uint32 team_resonance_list = 16; + uint32 wearing_flycloak_id = 17; + uint32 born_time = 18; + uint32 costume_id = 19; + CurVehicleInfo cur_vehicle_info = 20; + AvatarExcelInfo excel_info = 21; + uint32 anim_hash = 22; +} diff --git a/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.pb.go b/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.pb.go new file mode 100644 index 00000000..cc5ccd84 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAvatarStaminaStepReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 299 +// EnetChannelId: 1 +// EnetIsReliable: true +// IsAllowClient: true +type SceneAvatarStaminaStepReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UseClientRot bool `protobuf:"varint,15,opt,name=use_client_rot,json=useClientRot,proto3" json:"use_client_rot,omitempty"` + Rot *Vector `protobuf:"bytes,7,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *SceneAvatarStaminaStepReq) Reset() { + *x = SceneAvatarStaminaStepReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAvatarStaminaStepReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAvatarStaminaStepReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAvatarStaminaStepReq) ProtoMessage() {} + +func (x *SceneAvatarStaminaStepReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneAvatarStaminaStepReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAvatarStaminaStepReq.ProtoReflect.Descriptor instead. +func (*SceneAvatarStaminaStepReq) Descriptor() ([]byte, []int) { + return file_SceneAvatarStaminaStepReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAvatarStaminaStepReq) GetUseClientRot() bool { + if x != nil { + return x.UseClientRot + } + return false +} + +func (x *SceneAvatarStaminaStepReq) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_SceneAvatarStaminaStepReq_proto protoreflect.FileDescriptor + +var file_SceneAvatarStaminaStepReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x61, + 0x6d, 0x69, 0x6e, 0x61, 0x53, 0x74, 0x65, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5c, 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, + 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x53, 0x74, 0x65, 0x70, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0e, + 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x74, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SceneAvatarStaminaStepReq_proto_rawDescOnce sync.Once + file_SceneAvatarStaminaStepReq_proto_rawDescData = file_SceneAvatarStaminaStepReq_proto_rawDesc +) + +func file_SceneAvatarStaminaStepReq_proto_rawDescGZIP() []byte { + file_SceneAvatarStaminaStepReq_proto_rawDescOnce.Do(func() { + file_SceneAvatarStaminaStepReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAvatarStaminaStepReq_proto_rawDescData) + }) + return file_SceneAvatarStaminaStepReq_proto_rawDescData +} + +var file_SceneAvatarStaminaStepReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneAvatarStaminaStepReq_proto_goTypes = []interface{}{ + (*SceneAvatarStaminaStepReq)(nil), // 0: SceneAvatarStaminaStepReq + (*Vector)(nil), // 1: Vector +} +var file_SceneAvatarStaminaStepReq_proto_depIdxs = []int32{ + 1, // 0: SceneAvatarStaminaStepReq.rot:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneAvatarStaminaStepReq_proto_init() } +func file_SceneAvatarStaminaStepReq_proto_init() { + if File_SceneAvatarStaminaStepReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneAvatarStaminaStepReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAvatarStaminaStepReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAvatarStaminaStepReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAvatarStaminaStepReq_proto_goTypes, + DependencyIndexes: file_SceneAvatarStaminaStepReq_proto_depIdxs, + MessageInfos: file_SceneAvatarStaminaStepReq_proto_msgTypes, + }.Build() + File_SceneAvatarStaminaStepReq_proto = out.File + file_SceneAvatarStaminaStepReq_proto_rawDesc = nil + file_SceneAvatarStaminaStepReq_proto_goTypes = nil + file_SceneAvatarStaminaStepReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.proto b/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.proto new file mode 100644 index 00000000..b0b663a7 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarStaminaStepReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 299 +// EnetChannelId: 1 +// EnetIsReliable: true +// IsAllowClient: true +message SceneAvatarStaminaStepReq { + bool use_client_rot = 15; + Vector rot = 7; +} diff --git a/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.pb.go b/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.pb.go new file mode 100644 index 00000000..987bfedc --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneAvatarStaminaStepRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 231 +// EnetChannelId: 1 +// EnetIsReliable: true +type SceneAvatarStaminaStepRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UseClientRot bool `protobuf:"varint,9,opt,name=use_client_rot,json=useClientRot,proto3" json:"use_client_rot,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + Rot *Vector `protobuf:"bytes,11,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *SceneAvatarStaminaStepRsp) Reset() { + *x = SceneAvatarStaminaStepRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneAvatarStaminaStepRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneAvatarStaminaStepRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneAvatarStaminaStepRsp) ProtoMessage() {} + +func (x *SceneAvatarStaminaStepRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneAvatarStaminaStepRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneAvatarStaminaStepRsp.ProtoReflect.Descriptor instead. +func (*SceneAvatarStaminaStepRsp) Descriptor() ([]byte, []int) { + return file_SceneAvatarStaminaStepRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneAvatarStaminaStepRsp) GetUseClientRot() bool { + if x != nil { + return x.UseClientRot + } + return false +} + +func (x *SceneAvatarStaminaStepRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneAvatarStaminaStepRsp) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_SceneAvatarStaminaStepRsp_proto protoreflect.FileDescriptor + +var file_SceneAvatarStaminaStepRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, 0x61, + 0x6d, 0x69, 0x6e, 0x61, 0x53, 0x74, 0x65, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x76, 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x53, 0x74, + 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x53, 0x74, 0x65, 0x70, 0x52, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x0e, + 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x74, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x03, + 0x72, 0x6f, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneAvatarStaminaStepRsp_proto_rawDescOnce sync.Once + file_SceneAvatarStaminaStepRsp_proto_rawDescData = file_SceneAvatarStaminaStepRsp_proto_rawDesc +) + +func file_SceneAvatarStaminaStepRsp_proto_rawDescGZIP() []byte { + file_SceneAvatarStaminaStepRsp_proto_rawDescOnce.Do(func() { + file_SceneAvatarStaminaStepRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneAvatarStaminaStepRsp_proto_rawDescData) + }) + return file_SceneAvatarStaminaStepRsp_proto_rawDescData +} + +var file_SceneAvatarStaminaStepRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneAvatarStaminaStepRsp_proto_goTypes = []interface{}{ + (*SceneAvatarStaminaStepRsp)(nil), // 0: SceneAvatarStaminaStepRsp + (*Vector)(nil), // 1: Vector +} +var file_SceneAvatarStaminaStepRsp_proto_depIdxs = []int32{ + 1, // 0: SceneAvatarStaminaStepRsp.rot:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneAvatarStaminaStepRsp_proto_init() } +func file_SceneAvatarStaminaStepRsp_proto_init() { + if File_SceneAvatarStaminaStepRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneAvatarStaminaStepRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneAvatarStaminaStepRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneAvatarStaminaStepRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneAvatarStaminaStepRsp_proto_goTypes, + DependencyIndexes: file_SceneAvatarStaminaStepRsp_proto_depIdxs, + MessageInfos: file_SceneAvatarStaminaStepRsp_proto_msgTypes, + }.Build() + File_SceneAvatarStaminaStepRsp_proto = out.File + file_SceneAvatarStaminaStepRsp_proto_rawDesc = nil + file_SceneAvatarStaminaStepRsp_proto_goTypes = nil + file_SceneAvatarStaminaStepRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.proto b/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.proto new file mode 100644 index 00000000..5b725b62 --- /dev/null +++ b/gate-hk4e-api/proto/SceneAvatarStaminaStepRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 231 +// EnetChannelId: 1 +// EnetIsReliable: true +message SceneAvatarStaminaStepRsp { + bool use_client_rot = 9; + int32 retcode = 7; + Vector rot = 11; +} diff --git a/gate-hk4e-api/proto/SceneCreateEntityReq.pb.go b/gate-hk4e-api/proto/SceneCreateEntityReq.pb.go new file mode 100644 index 00000000..15e6d9af --- /dev/null +++ b/gate-hk4e-api/proto/SceneCreateEntityReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneCreateEntityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 288 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneCreateEntityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Entity *CreateEntityInfo `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` + IsDestroyWhenDisconnect bool `protobuf:"varint,10,opt,name=is_destroy_when_disconnect,json=isDestroyWhenDisconnect,proto3" json:"is_destroy_when_disconnect,omitempty"` + Reason CreateReason `protobuf:"varint,3,opt,name=reason,proto3,enum=CreateReason" json:"reason,omitempty"` +} + +func (x *SceneCreateEntityReq) Reset() { + *x = SceneCreateEntityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneCreateEntityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneCreateEntityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneCreateEntityReq) ProtoMessage() {} + +func (x *SceneCreateEntityReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneCreateEntityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneCreateEntityReq.ProtoReflect.Descriptor instead. +func (*SceneCreateEntityReq) Descriptor() ([]byte, []int) { + return file_SceneCreateEntityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneCreateEntityReq) GetEntity() *CreateEntityInfo { + if x != nil { + return x.Entity + } + return nil +} + +func (x *SceneCreateEntityReq) GetIsDestroyWhenDisconnect() bool { + if x != nil { + return x.IsDestroyWhenDisconnect + } + return false +} + +func (x *SceneCreateEntityReq) GetReason() CreateReason { + if x != nil { + return x.Reason + } + return CreateReason_CREATE_REASON_NONE +} + +var File_SceneCreateEntityReq_proto protoreflect.FileDescriptor + +var file_SceneCreateEntityReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x14, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x71, 0x12, 0x29, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x1a, + 0x69, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x5f, + 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x17, 0x69, 0x73, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x57, 0x68, 0x65, 0x6e, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneCreateEntityReq_proto_rawDescOnce sync.Once + file_SceneCreateEntityReq_proto_rawDescData = file_SceneCreateEntityReq_proto_rawDesc +) + +func file_SceneCreateEntityReq_proto_rawDescGZIP() []byte { + file_SceneCreateEntityReq_proto_rawDescOnce.Do(func() { + file_SceneCreateEntityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneCreateEntityReq_proto_rawDescData) + }) + return file_SceneCreateEntityReq_proto_rawDescData +} + +var file_SceneCreateEntityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneCreateEntityReq_proto_goTypes = []interface{}{ + (*SceneCreateEntityReq)(nil), // 0: SceneCreateEntityReq + (*CreateEntityInfo)(nil), // 1: CreateEntityInfo + (CreateReason)(0), // 2: CreateReason +} +var file_SceneCreateEntityReq_proto_depIdxs = []int32{ + 1, // 0: SceneCreateEntityReq.entity:type_name -> CreateEntityInfo + 2, // 1: SceneCreateEntityReq.reason:type_name -> CreateReason + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneCreateEntityReq_proto_init() } +func file_SceneCreateEntityReq_proto_init() { + if File_SceneCreateEntityReq_proto != nil { + return + } + file_CreateEntityInfo_proto_init() + file_CreateReason_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneCreateEntityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneCreateEntityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneCreateEntityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneCreateEntityReq_proto_goTypes, + DependencyIndexes: file_SceneCreateEntityReq_proto_depIdxs, + MessageInfos: file_SceneCreateEntityReq_proto_msgTypes, + }.Build() + File_SceneCreateEntityReq_proto = out.File + file_SceneCreateEntityReq_proto_rawDesc = nil + file_SceneCreateEntityReq_proto_goTypes = nil + file_SceneCreateEntityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneCreateEntityReq.proto b/gate-hk4e-api/proto/SceneCreateEntityReq.proto new file mode 100644 index 00000000..ac6212e0 --- /dev/null +++ b/gate-hk4e-api/proto/SceneCreateEntityReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CreateEntityInfo.proto"; +import "CreateReason.proto"; + +option go_package = "./;proto"; + +// CmdId: 288 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneCreateEntityReq { + CreateEntityInfo entity = 1; + bool is_destroy_when_disconnect = 10; + CreateReason reason = 3; +} diff --git a/gate-hk4e-api/proto/SceneCreateEntityRsp.pb.go b/gate-hk4e-api/proto/SceneCreateEntityRsp.pb.go new file mode 100644 index 00000000..a983b311 --- /dev/null +++ b/gate-hk4e-api/proto/SceneCreateEntityRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneCreateEntityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 226 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneCreateEntityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Entity *CreateEntityInfo `protobuf:"bytes,10,opt,name=entity,proto3" json:"entity,omitempty"` +} + +func (x *SceneCreateEntityRsp) Reset() { + *x = SceneCreateEntityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneCreateEntityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneCreateEntityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneCreateEntityRsp) ProtoMessage() {} + +func (x *SceneCreateEntityRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneCreateEntityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneCreateEntityRsp.ProtoReflect.Descriptor instead. +func (*SceneCreateEntityRsp) Descriptor() ([]byte, []int) { + return file_SceneCreateEntityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneCreateEntityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneCreateEntityRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneCreateEntityRsp) GetEntity() *CreateEntityInfo { + if x != nil { + return x.Entity + } + return nil +} + +var File_SceneCreateEntityRsp_proto protoreflect.FileDescriptor + +var file_SceneCreateEntityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x14, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneCreateEntityRsp_proto_rawDescOnce sync.Once + file_SceneCreateEntityRsp_proto_rawDescData = file_SceneCreateEntityRsp_proto_rawDesc +) + +func file_SceneCreateEntityRsp_proto_rawDescGZIP() []byte { + file_SceneCreateEntityRsp_proto_rawDescOnce.Do(func() { + file_SceneCreateEntityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneCreateEntityRsp_proto_rawDescData) + }) + return file_SceneCreateEntityRsp_proto_rawDescData +} + +var file_SceneCreateEntityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneCreateEntityRsp_proto_goTypes = []interface{}{ + (*SceneCreateEntityRsp)(nil), // 0: SceneCreateEntityRsp + (*CreateEntityInfo)(nil), // 1: CreateEntityInfo +} +var file_SceneCreateEntityRsp_proto_depIdxs = []int32{ + 1, // 0: SceneCreateEntityRsp.entity:type_name -> CreateEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneCreateEntityRsp_proto_init() } +func file_SceneCreateEntityRsp_proto_init() { + if File_SceneCreateEntityRsp_proto != nil { + return + } + file_CreateEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneCreateEntityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneCreateEntityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneCreateEntityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneCreateEntityRsp_proto_goTypes, + DependencyIndexes: file_SceneCreateEntityRsp_proto_depIdxs, + MessageInfos: file_SceneCreateEntityRsp_proto_msgTypes, + }.Build() + File_SceneCreateEntityRsp_proto = out.File + file_SceneCreateEntityRsp_proto_rawDesc = nil + file_SceneCreateEntityRsp_proto_goTypes = nil + file_SceneCreateEntityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneCreateEntityRsp.proto b/gate-hk4e-api/proto/SceneCreateEntityRsp.proto new file mode 100644 index 00000000..e0227d29 --- /dev/null +++ b/gate-hk4e-api/proto/SceneCreateEntityRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CreateEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 226 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneCreateEntityRsp { + int32 retcode = 14; + uint32 entity_id = 1; + CreateEntityInfo entity = 10; +} diff --git a/gate-hk4e-api/proto/SceneDataNotify.pb.go b/gate-hk4e-api/proto/SceneDataNotify.pb.go new file mode 100644 index 00000000..2ccae112 --- /dev/null +++ b/gate-hk4e-api/proto/SceneDataNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3203 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelConfigNameList []string `protobuf:"bytes,15,rep,name=level_config_name_list,json=levelConfigNameList,proto3" json:"level_config_name_list,omitempty"` + SceneTagIdList []uint32 `protobuf:"varint,8,rep,packed,name=scene_tag_id_list,json=sceneTagIdList,proto3" json:"scene_tag_id_list,omitempty"` +} + +func (x *SceneDataNotify) Reset() { + *x = SceneDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneDataNotify) ProtoMessage() {} + +func (x *SceneDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneDataNotify.ProtoReflect.Descriptor instead. +func (*SceneDataNotify) Descriptor() ([]byte, []int) { + return file_SceneDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneDataNotify) GetLevelConfigNameList() []string { + if x != nil { + return x.LevelConfigNameList + } + return nil +} + +func (x *SceneDataNotify) GetSceneTagIdList() []uint32 { + if x != nil { + return x.SceneTagIdList + } + return nil +} + +var File_SceneDataNotify_proto protoreflect.FileDescriptor + +var file_SceneDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x29, 0x0a, 0x11, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x54, 0x61, 0x67, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneDataNotify_proto_rawDescOnce sync.Once + file_SceneDataNotify_proto_rawDescData = file_SceneDataNotify_proto_rawDesc +) + +func file_SceneDataNotify_proto_rawDescGZIP() []byte { + file_SceneDataNotify_proto_rawDescOnce.Do(func() { + file_SceneDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneDataNotify_proto_rawDescData) + }) + return file_SceneDataNotify_proto_rawDescData +} + +var file_SceneDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneDataNotify_proto_goTypes = []interface{}{ + (*SceneDataNotify)(nil), // 0: SceneDataNotify +} +var file_SceneDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneDataNotify_proto_init() } +func file_SceneDataNotify_proto_init() { + if File_SceneDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneDataNotify_proto_goTypes, + DependencyIndexes: file_SceneDataNotify_proto_depIdxs, + MessageInfos: file_SceneDataNotify_proto_msgTypes, + }.Build() + File_SceneDataNotify_proto = out.File + file_SceneDataNotify_proto_rawDesc = nil + file_SceneDataNotify_proto_goTypes = nil + file_SceneDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneDataNotify.proto b/gate-hk4e-api/proto/SceneDataNotify.proto new file mode 100644 index 00000000..2821cde6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3203 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneDataNotify { + repeated string level_config_name_list = 15; + repeated uint32 scene_tag_id_list = 8; +} diff --git a/gate-hk4e-api/proto/SceneDestroyEntityReq.pb.go b/gate-hk4e-api/proto/SceneDestroyEntityReq.pb.go new file mode 100644 index 00000000..97326c06 --- /dev/null +++ b/gate-hk4e-api/proto/SceneDestroyEntityReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneDestroyEntityReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 263 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneDestroyEntityReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *SceneDestroyEntityReq) Reset() { + *x = SceneDestroyEntityReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneDestroyEntityReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneDestroyEntityReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneDestroyEntityReq) ProtoMessage() {} + +func (x *SceneDestroyEntityReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneDestroyEntityReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneDestroyEntityReq.ProtoReflect.Descriptor instead. +func (*SceneDestroyEntityReq) Descriptor() ([]byte, []int) { + return file_SceneDestroyEntityReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneDestroyEntityReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_SceneDestroyEntityReq_proto protoreflect.FileDescriptor + +var file_SceneDestroyEntityReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneDestroyEntityReq_proto_rawDescOnce sync.Once + file_SceneDestroyEntityReq_proto_rawDescData = file_SceneDestroyEntityReq_proto_rawDesc +) + +func file_SceneDestroyEntityReq_proto_rawDescGZIP() []byte { + file_SceneDestroyEntityReq_proto_rawDescOnce.Do(func() { + file_SceneDestroyEntityReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneDestroyEntityReq_proto_rawDescData) + }) + return file_SceneDestroyEntityReq_proto_rawDescData +} + +var file_SceneDestroyEntityReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneDestroyEntityReq_proto_goTypes = []interface{}{ + (*SceneDestroyEntityReq)(nil), // 0: SceneDestroyEntityReq +} +var file_SceneDestroyEntityReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneDestroyEntityReq_proto_init() } +func file_SceneDestroyEntityReq_proto_init() { + if File_SceneDestroyEntityReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneDestroyEntityReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneDestroyEntityReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneDestroyEntityReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneDestroyEntityReq_proto_goTypes, + DependencyIndexes: file_SceneDestroyEntityReq_proto_depIdxs, + MessageInfos: file_SceneDestroyEntityReq_proto_msgTypes, + }.Build() + File_SceneDestroyEntityReq_proto = out.File + file_SceneDestroyEntityReq_proto_rawDesc = nil + file_SceneDestroyEntityReq_proto_goTypes = nil + file_SceneDestroyEntityReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneDestroyEntityReq.proto b/gate-hk4e-api/proto/SceneDestroyEntityReq.proto new file mode 100644 index 00000000..be804a37 --- /dev/null +++ b/gate-hk4e-api/proto/SceneDestroyEntityReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 263 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneDestroyEntityReq { + uint32 entity_id = 7; +} diff --git a/gate-hk4e-api/proto/SceneDestroyEntityRsp.pb.go b/gate-hk4e-api/proto/SceneDestroyEntityRsp.pb.go new file mode 100644 index 00000000..5135ce2b --- /dev/null +++ b/gate-hk4e-api/proto/SceneDestroyEntityRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneDestroyEntityRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 295 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneDestroyEntityRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *SceneDestroyEntityRsp) Reset() { + *x = SceneDestroyEntityRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneDestroyEntityRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneDestroyEntityRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneDestroyEntityRsp) ProtoMessage() {} + +func (x *SceneDestroyEntityRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneDestroyEntityRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneDestroyEntityRsp.ProtoReflect.Descriptor instead. +func (*SceneDestroyEntityRsp) Descriptor() ([]byte, []int) { + return file_SceneDestroyEntityRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneDestroyEntityRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneDestroyEntityRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_SceneDestroyEntityRsp_proto protoreflect.FileDescriptor + +var file_SceneDestroyEntityRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SceneDestroyEntityRsp_proto_rawDescOnce sync.Once + file_SceneDestroyEntityRsp_proto_rawDescData = file_SceneDestroyEntityRsp_proto_rawDesc +) + +func file_SceneDestroyEntityRsp_proto_rawDescGZIP() []byte { + file_SceneDestroyEntityRsp_proto_rawDescOnce.Do(func() { + file_SceneDestroyEntityRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneDestroyEntityRsp_proto_rawDescData) + }) + return file_SceneDestroyEntityRsp_proto_rawDescData +} + +var file_SceneDestroyEntityRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneDestroyEntityRsp_proto_goTypes = []interface{}{ + (*SceneDestroyEntityRsp)(nil), // 0: SceneDestroyEntityRsp +} +var file_SceneDestroyEntityRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneDestroyEntityRsp_proto_init() } +func file_SceneDestroyEntityRsp_proto_init() { + if File_SceneDestroyEntityRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneDestroyEntityRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneDestroyEntityRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneDestroyEntityRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneDestroyEntityRsp_proto_goTypes, + DependencyIndexes: file_SceneDestroyEntityRsp_proto_depIdxs, + MessageInfos: file_SceneDestroyEntityRsp_proto_msgTypes, + }.Build() + File_SceneDestroyEntityRsp_proto = out.File + file_SceneDestroyEntityRsp_proto_rawDesc = nil + file_SceneDestroyEntityRsp_proto_goTypes = nil + file_SceneDestroyEntityRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneDestroyEntityRsp.proto b/gate-hk4e-api/proto/SceneDestroyEntityRsp.proto new file mode 100644 index 00000000..fd4b0c64 --- /dev/null +++ b/gate-hk4e-api/proto/SceneDestroyEntityRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 295 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneDestroyEntityRsp { + int32 retcode = 14; + uint32 entity_id = 7; +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.pb.go b/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.pb.go new file mode 100644 index 00000000..6c47d80f --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntitiesMoveCombineNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3387 +// EnetChannelId: 1 +// EnetIsReliable: false +type SceneEntitiesMoveCombineNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityMoveInfoList []*EntityMoveInfo `protobuf:"bytes,8,rep,name=entity_move_info_list,json=entityMoveInfoList,proto3" json:"entity_move_info_list,omitempty"` +} + +func (x *SceneEntitiesMoveCombineNotify) Reset() { + *x = SceneEntitiesMoveCombineNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntitiesMoveCombineNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntitiesMoveCombineNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntitiesMoveCombineNotify) ProtoMessage() {} + +func (x *SceneEntitiesMoveCombineNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntitiesMoveCombineNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntitiesMoveCombineNotify.ProtoReflect.Descriptor instead. +func (*SceneEntitiesMoveCombineNotify) Descriptor() ([]byte, []int) { + return file_SceneEntitiesMoveCombineNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntitiesMoveCombineNotify) GetEntityMoveInfoList() []*EntityMoveInfo { + if x != nil { + return x.EntityMoveInfoList + } + return nil +} + +var File_SceneEntitiesMoveCombineNotify_proto protoreflect.FileDescriptor + +var file_SceneEntitiesMoveCombineNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, + 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, + 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, 0x6f, 0x76, + 0x65, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x42, + 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntitiesMoveCombineNotify_proto_rawDescOnce sync.Once + file_SceneEntitiesMoveCombineNotify_proto_rawDescData = file_SceneEntitiesMoveCombineNotify_proto_rawDesc +) + +func file_SceneEntitiesMoveCombineNotify_proto_rawDescGZIP() []byte { + file_SceneEntitiesMoveCombineNotify_proto_rawDescOnce.Do(func() { + file_SceneEntitiesMoveCombineNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntitiesMoveCombineNotify_proto_rawDescData) + }) + return file_SceneEntitiesMoveCombineNotify_proto_rawDescData +} + +var file_SceneEntitiesMoveCombineNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntitiesMoveCombineNotify_proto_goTypes = []interface{}{ + (*SceneEntitiesMoveCombineNotify)(nil), // 0: SceneEntitiesMoveCombineNotify + (*EntityMoveInfo)(nil), // 1: EntityMoveInfo +} +var file_SceneEntitiesMoveCombineNotify_proto_depIdxs = []int32{ + 1, // 0: SceneEntitiesMoveCombineNotify.entity_move_info_list:type_name -> EntityMoveInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntitiesMoveCombineNotify_proto_init() } +func file_SceneEntitiesMoveCombineNotify_proto_init() { + if File_SceneEntitiesMoveCombineNotify_proto != nil { + return + } + file_EntityMoveInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntitiesMoveCombineNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntitiesMoveCombineNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntitiesMoveCombineNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntitiesMoveCombineNotify_proto_goTypes, + DependencyIndexes: file_SceneEntitiesMoveCombineNotify_proto_depIdxs, + MessageInfos: file_SceneEntitiesMoveCombineNotify_proto_msgTypes, + }.Build() + File_SceneEntitiesMoveCombineNotify_proto = out.File + file_SceneEntitiesMoveCombineNotify_proto_rawDesc = nil + file_SceneEntitiesMoveCombineNotify_proto_goTypes = nil + file_SceneEntitiesMoveCombineNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.proto b/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.proto new file mode 100644 index 00000000..69e5f8de --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMoveCombineNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityMoveInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3387 +// EnetChannelId: 1 +// EnetIsReliable: false +message SceneEntitiesMoveCombineNotify { + repeated EntityMoveInfo entity_move_info_list = 8; +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMovesReq.pb.go b/gate-hk4e-api/proto/SceneEntitiesMovesReq.pb.go new file mode 100644 index 00000000..16909a9c --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMovesReq.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntitiesMovesReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 279 +// EnetChannelId: 1 +// EnetIsReliable: false +// IsAllowClient: true +type SceneEntitiesMovesReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityMoveInfoList []*EntityMoveInfo `protobuf:"bytes,14,rep,name=entity_move_info_list,json=entityMoveInfoList,proto3" json:"entity_move_info_list,omitempty"` +} + +func (x *SceneEntitiesMovesReq) Reset() { + *x = SceneEntitiesMovesReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntitiesMovesReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntitiesMovesReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntitiesMovesReq) ProtoMessage() {} + +func (x *SceneEntitiesMovesReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntitiesMovesReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntitiesMovesReq.ProtoReflect.Descriptor instead. +func (*SceneEntitiesMovesReq) Descriptor() ([]byte, []int) { + return file_SceneEntitiesMovesReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntitiesMovesReq) GetEntityMoveInfoList() []*EntityMoveInfo { + if x != nil { + return x.EntityMoveInfoList + } + return nil +} + +var File_SceneEntitiesMovesReq_proto protoreflect.FileDescriptor + +var file_SceneEntitiesMovesReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, + 0x6f, 0x76, 0x65, 0x73, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x4d, 0x6f, 0x76, 0x65, 0x73, 0x52, 0x65, 0x71, 0x12, 0x42, 0x0a, 0x15, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntitiesMovesReq_proto_rawDescOnce sync.Once + file_SceneEntitiesMovesReq_proto_rawDescData = file_SceneEntitiesMovesReq_proto_rawDesc +) + +func file_SceneEntitiesMovesReq_proto_rawDescGZIP() []byte { + file_SceneEntitiesMovesReq_proto_rawDescOnce.Do(func() { + file_SceneEntitiesMovesReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntitiesMovesReq_proto_rawDescData) + }) + return file_SceneEntitiesMovesReq_proto_rawDescData +} + +var file_SceneEntitiesMovesReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntitiesMovesReq_proto_goTypes = []interface{}{ + (*SceneEntitiesMovesReq)(nil), // 0: SceneEntitiesMovesReq + (*EntityMoveInfo)(nil), // 1: EntityMoveInfo +} +var file_SceneEntitiesMovesReq_proto_depIdxs = []int32{ + 1, // 0: SceneEntitiesMovesReq.entity_move_info_list:type_name -> EntityMoveInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntitiesMovesReq_proto_init() } +func file_SceneEntitiesMovesReq_proto_init() { + if File_SceneEntitiesMovesReq_proto != nil { + return + } + file_EntityMoveInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntitiesMovesReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntitiesMovesReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntitiesMovesReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntitiesMovesReq_proto_goTypes, + DependencyIndexes: file_SceneEntitiesMovesReq_proto_depIdxs, + MessageInfos: file_SceneEntitiesMovesReq_proto_msgTypes, + }.Build() + File_SceneEntitiesMovesReq_proto = out.File + file_SceneEntitiesMovesReq_proto_rawDesc = nil + file_SceneEntitiesMovesReq_proto_goTypes = nil + file_SceneEntitiesMovesReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMovesReq.proto b/gate-hk4e-api/proto/SceneEntitiesMovesReq.proto new file mode 100644 index 00000000..9f6d3e67 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMovesReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityMoveInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 279 +// EnetChannelId: 1 +// EnetIsReliable: false +// IsAllowClient: true +message SceneEntitiesMovesReq { + repeated EntityMoveInfo entity_move_info_list = 14; +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMovesRsp.pb.go b/gate-hk4e-api/proto/SceneEntitiesMovesRsp.pb.go new file mode 100644 index 00000000..d09cc286 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMovesRsp.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntitiesMovesRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 255 +// EnetChannelId: 1 +// EnetIsReliable: false +type SceneEntitiesMovesRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityMoveFailInfoList []*EntityMoveFailInfo `protobuf:"bytes,11,rep,name=entity_move_fail_info_list,json=entityMoveFailInfoList,proto3" json:"entity_move_fail_info_list,omitempty"` +} + +func (x *SceneEntitiesMovesRsp) Reset() { + *x = SceneEntitiesMovesRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntitiesMovesRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntitiesMovesRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntitiesMovesRsp) ProtoMessage() {} + +func (x *SceneEntitiesMovesRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntitiesMovesRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntitiesMovesRsp.ProtoReflect.Descriptor instead. +func (*SceneEntitiesMovesRsp) Descriptor() ([]byte, []int) { + return file_SceneEntitiesMovesRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntitiesMovesRsp) GetEntityMoveFailInfoList() []*EntityMoveFailInfo { + if x != nil { + return x.EntityMoveFailInfoList + } + return nil +} + +var File_SceneEntitiesMovesRsp_proto protoreflect.FileDescriptor + +var file_SceneEntitiesMovesRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, + 0x6f, 0x76, 0x65, 0x73, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, 0x6f, 0x76, 0x65, 0x73, 0x52, 0x73, 0x70, + 0x12, 0x4f, 0x0a, 0x1a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, + 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, + 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntitiesMovesRsp_proto_rawDescOnce sync.Once + file_SceneEntitiesMovesRsp_proto_rawDescData = file_SceneEntitiesMovesRsp_proto_rawDesc +) + +func file_SceneEntitiesMovesRsp_proto_rawDescGZIP() []byte { + file_SceneEntitiesMovesRsp_proto_rawDescOnce.Do(func() { + file_SceneEntitiesMovesRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntitiesMovesRsp_proto_rawDescData) + }) + return file_SceneEntitiesMovesRsp_proto_rawDescData +} + +var file_SceneEntitiesMovesRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntitiesMovesRsp_proto_goTypes = []interface{}{ + (*SceneEntitiesMovesRsp)(nil), // 0: SceneEntitiesMovesRsp + (*EntityMoveFailInfo)(nil), // 1: EntityMoveFailInfo +} +var file_SceneEntitiesMovesRsp_proto_depIdxs = []int32{ + 1, // 0: SceneEntitiesMovesRsp.entity_move_fail_info_list:type_name -> EntityMoveFailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntitiesMovesRsp_proto_init() } +func file_SceneEntitiesMovesRsp_proto_init() { + if File_SceneEntitiesMovesRsp_proto != nil { + return + } + file_EntityMoveFailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntitiesMovesRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntitiesMovesRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntitiesMovesRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntitiesMovesRsp_proto_goTypes, + DependencyIndexes: file_SceneEntitiesMovesRsp_proto_depIdxs, + MessageInfos: file_SceneEntitiesMovesRsp_proto_msgTypes, + }.Build() + File_SceneEntitiesMovesRsp_proto = out.File + file_SceneEntitiesMovesRsp_proto_rawDesc = nil + file_SceneEntitiesMovesRsp_proto_goTypes = nil + file_SceneEntitiesMovesRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntitiesMovesRsp.proto b/gate-hk4e-api/proto/SceneEntitiesMovesRsp.proto new file mode 100644 index 00000000..4a29375b --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntitiesMovesRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityMoveFailInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 255 +// EnetChannelId: 1 +// EnetIsReliable: false +message SceneEntitiesMovesRsp { + repeated EntityMoveFailInfo entity_move_fail_info_list = 11; +} diff --git a/gate-hk4e-api/proto/SceneEntityAiInfo.pb.go b/gate-hk4e-api/proto/SceneEntityAiInfo.pb.go new file mode 100644 index 00000000..81ee6ed5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityAiInfo.pb.go @@ -0,0 +1,254 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityAiInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneEntityAiInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAiOpen bool `protobuf:"varint,1,opt,name=is_ai_open,json=isAiOpen,proto3" json:"is_ai_open,omitempty"` + BornPos *Vector `protobuf:"bytes,2,opt,name=born_pos,json=bornPos,proto3" json:"born_pos,omitempty"` + SkillCdMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=skill_cd_map,json=skillCdMap,proto3" json:"skill_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ServantInfo *ServantInfo `protobuf:"bytes,4,opt,name=servant_info,json=servantInfo,proto3" json:"servant_info,omitempty"` + AiThreatMap map[uint32]uint32 `protobuf:"bytes,5,rep,name=ai_threat_map,json=aiThreatMap,proto3" json:"ai_threat_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SkillGroupCdMap map[uint32]uint32 `protobuf:"bytes,6,rep,name=skill_group_cd_map,json=skillGroupCdMap,proto3" json:"skill_group_cd_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CurTactic uint32 `protobuf:"varint,7,opt,name=cur_tactic,json=curTactic,proto3" json:"cur_tactic,omitempty"` +} + +func (x *SceneEntityAiInfo) Reset() { + *x = SceneEntityAiInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityAiInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityAiInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityAiInfo) ProtoMessage() {} + +func (x *SceneEntityAiInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityAiInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityAiInfo.ProtoReflect.Descriptor instead. +func (*SceneEntityAiInfo) Descriptor() ([]byte, []int) { + return file_SceneEntityAiInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityAiInfo) GetIsAiOpen() bool { + if x != nil { + return x.IsAiOpen + } + return false +} + +func (x *SceneEntityAiInfo) GetBornPos() *Vector { + if x != nil { + return x.BornPos + } + return nil +} + +func (x *SceneEntityAiInfo) GetSkillCdMap() map[uint32]uint32 { + if x != nil { + return x.SkillCdMap + } + return nil +} + +func (x *SceneEntityAiInfo) GetServantInfo() *ServantInfo { + if x != nil { + return x.ServantInfo + } + return nil +} + +func (x *SceneEntityAiInfo) GetAiThreatMap() map[uint32]uint32 { + if x != nil { + return x.AiThreatMap + } + return nil +} + +func (x *SceneEntityAiInfo) GetSkillGroupCdMap() map[uint32]uint32 { + if x != nil { + return x.SkillGroupCdMap + } + return nil +} + +func (x *SceneEntityAiInfo) GetCurTactic() uint32 { + if x != nil { + return x.CurTactic + } + return 0 +} + +var File_SceneEntityAiInfo_proto protoreflect.FileDescriptor + +var file_SceneEntityAiInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x61, + 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x04, 0x0a, 0x11, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x61, 0x69, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x69, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x22, + 0x0a, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x62, 0x6f, 0x72, 0x6e, 0x50, + 0x6f, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x63, 0x64, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x6b, 0x69, + 0x6c, 0x6c, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, + 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65, + 0x72, 0x76, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x0d, 0x61, 0x69, 0x5f, + 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x69, 0x54, 0x68, 0x72, 0x65, 0x61, 0x74, 0x4d, + 0x61, 0x70, 0x12, 0x54, 0x0a, 0x12, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x63, 0x64, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x69, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x64, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x5f, + 0x74, 0x61, 0x63, 0x74, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x75, + 0x72, 0x54, 0x61, 0x63, 0x74, 0x69, 0x63, 0x1a, 0x3d, 0x0a, 0x0f, 0x53, 0x6b, 0x69, 0x6c, 0x6c, + 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x69, 0x54, 0x68, 0x72, 0x65, + 0x61, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x43, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityAiInfo_proto_rawDescOnce sync.Once + file_SceneEntityAiInfo_proto_rawDescData = file_SceneEntityAiInfo_proto_rawDesc +) + +func file_SceneEntityAiInfo_proto_rawDescGZIP() []byte { + file_SceneEntityAiInfo_proto_rawDescOnce.Do(func() { + file_SceneEntityAiInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityAiInfo_proto_rawDescData) + }) + return file_SceneEntityAiInfo_proto_rawDescData +} + +var file_SceneEntityAiInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_SceneEntityAiInfo_proto_goTypes = []interface{}{ + (*SceneEntityAiInfo)(nil), // 0: SceneEntityAiInfo + nil, // 1: SceneEntityAiInfo.SkillCdMapEntry + nil, // 2: SceneEntityAiInfo.AiThreatMapEntry + nil, // 3: SceneEntityAiInfo.SkillGroupCdMapEntry + (*Vector)(nil), // 4: Vector + (*ServantInfo)(nil), // 5: ServantInfo +} +var file_SceneEntityAiInfo_proto_depIdxs = []int32{ + 4, // 0: SceneEntityAiInfo.born_pos:type_name -> Vector + 1, // 1: SceneEntityAiInfo.skill_cd_map:type_name -> SceneEntityAiInfo.SkillCdMapEntry + 5, // 2: SceneEntityAiInfo.servant_info:type_name -> ServantInfo + 2, // 3: SceneEntityAiInfo.ai_threat_map:type_name -> SceneEntityAiInfo.AiThreatMapEntry + 3, // 4: SceneEntityAiInfo.skill_group_cd_map:type_name -> SceneEntityAiInfo.SkillGroupCdMapEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_SceneEntityAiInfo_proto_init() } +func file_SceneEntityAiInfo_proto_init() { + if File_SceneEntityAiInfo_proto != nil { + return + } + file_ServantInfo_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityAiInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityAiInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityAiInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityAiInfo_proto_goTypes, + DependencyIndexes: file_SceneEntityAiInfo_proto_depIdxs, + MessageInfos: file_SceneEntityAiInfo_proto_msgTypes, + }.Build() + File_SceneEntityAiInfo_proto = out.File + file_SceneEntityAiInfo_proto_rawDesc = nil + file_SceneEntityAiInfo_proto_goTypes = nil + file_SceneEntityAiInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityAiInfo.proto b/gate-hk4e-api/proto/SceneEntityAiInfo.proto new file mode 100644 index 00000000..69df1964 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityAiInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ServantInfo.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message SceneEntityAiInfo { + bool is_ai_open = 1; + Vector born_pos = 2; + map skill_cd_map = 3; + ServantInfo servant_info = 4; + map ai_threat_map = 5; + map skill_group_cd_map = 6; + uint32 cur_tactic = 7; +} diff --git a/gate-hk4e-api/proto/SceneEntityAppearNotify.pb.go b/gate-hk4e-api/proto/SceneEntityAppearNotify.pb.go new file mode 100644 index 00000000..9dd254c5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityAppearNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityAppearNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 221 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneEntityAppearNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AppearType VisionType `protobuf:"varint,15,opt,name=appear_type,json=appearType,proto3,enum=VisionType" json:"appear_type,omitempty"` + Param uint32 `protobuf:"varint,9,opt,name=param,proto3" json:"param,omitempty"` + EntityList []*SceneEntityInfo `protobuf:"bytes,5,rep,name=entity_list,json=entityList,proto3" json:"entity_list,omitempty"` +} + +func (x *SceneEntityAppearNotify) Reset() { + *x = SceneEntityAppearNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityAppearNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityAppearNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityAppearNotify) ProtoMessage() {} + +func (x *SceneEntityAppearNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityAppearNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityAppearNotify.ProtoReflect.Descriptor instead. +func (*SceneEntityAppearNotify) Descriptor() ([]byte, []int) { + return file_SceneEntityAppearNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityAppearNotify) GetAppearType() VisionType { + if x != nil { + return x.AppearType + } + return VisionType_VISION_TYPE_NONE +} + +func (x *SceneEntityAppearNotify) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *SceneEntityAppearNotify) GetEntityList() []*SceneEntityInfo { + if x != nil { + return x.EntityList + } + return nil +} + +var File_SceneEntityAppearNotify_proto protoreflect.FileDescriptor + +var file_SceneEntityAppearNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, + 0x65, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x17, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x56, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityAppearNotify_proto_rawDescOnce sync.Once + file_SceneEntityAppearNotify_proto_rawDescData = file_SceneEntityAppearNotify_proto_rawDesc +) + +func file_SceneEntityAppearNotify_proto_rawDescGZIP() []byte { + file_SceneEntityAppearNotify_proto_rawDescOnce.Do(func() { + file_SceneEntityAppearNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityAppearNotify_proto_rawDescData) + }) + return file_SceneEntityAppearNotify_proto_rawDescData +} + +var file_SceneEntityAppearNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityAppearNotify_proto_goTypes = []interface{}{ + (*SceneEntityAppearNotify)(nil), // 0: SceneEntityAppearNotify + (VisionType)(0), // 1: VisionType + (*SceneEntityInfo)(nil), // 2: SceneEntityInfo +} +var file_SceneEntityAppearNotify_proto_depIdxs = []int32{ + 1, // 0: SceneEntityAppearNotify.appear_type:type_name -> VisionType + 2, // 1: SceneEntityAppearNotify.entity_list:type_name -> SceneEntityInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneEntityAppearNotify_proto_init() } +func file_SceneEntityAppearNotify_proto_init() { + if File_SceneEntityAppearNotify_proto != nil { + return + } + file_SceneEntityInfo_proto_init() + file_VisionType_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityAppearNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityAppearNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityAppearNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityAppearNotify_proto_goTypes, + DependencyIndexes: file_SceneEntityAppearNotify_proto_depIdxs, + MessageInfos: file_SceneEntityAppearNotify_proto_msgTypes, + }.Build() + File_SceneEntityAppearNotify_proto = out.File + file_SceneEntityAppearNotify_proto_rawDesc = nil + file_SceneEntityAppearNotify_proto_goTypes = nil + file_SceneEntityAppearNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityAppearNotify.proto b/gate-hk4e-api/proto/SceneEntityAppearNotify.proto new file mode 100644 index 00000000..2fbf8463 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityAppearNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneEntityInfo.proto"; +import "VisionType.proto"; + +option go_package = "./;proto"; + +// CmdId: 221 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneEntityAppearNotify { + VisionType appear_type = 15; + uint32 param = 9; + repeated SceneEntityInfo entity_list = 5; +} diff --git a/gate-hk4e-api/proto/SceneEntityDisappearNotify.pb.go b/gate-hk4e-api/proto/SceneEntityDisappearNotify.pb.go new file mode 100644 index 00000000..80f3614f --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDisappearNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityDisappearNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 203 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneEntityDisappearNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,6,opt,name=param,proto3" json:"param,omitempty"` + EntityList []uint32 `protobuf:"varint,1,rep,packed,name=entity_list,json=entityList,proto3" json:"entity_list,omitempty"` + DisappearType VisionType `protobuf:"varint,2,opt,name=disappear_type,json=disappearType,proto3,enum=VisionType" json:"disappear_type,omitempty"` +} + +func (x *SceneEntityDisappearNotify) Reset() { + *x = SceneEntityDisappearNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityDisappearNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityDisappearNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityDisappearNotify) ProtoMessage() {} + +func (x *SceneEntityDisappearNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityDisappearNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityDisappearNotify.ProtoReflect.Descriptor instead. +func (*SceneEntityDisappearNotify) Descriptor() ([]byte, []int) { + return file_SceneEntityDisappearNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityDisappearNotify) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *SceneEntityDisappearNotify) GetEntityList() []uint32 { + if x != nil { + return x.EntityList + } + return nil +} + +func (x *SceneEntityDisappearNotify) GetDisappearType() VisionType { + if x != nil { + return x.DisappearType + } + return VisionType_VISION_TYPE_NONE +} + +var File_SceneEntityDisappearNotify_proto protoreflect.FileDescriptor + +var file_SceneEntityDisappearNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x69, 0x73, + 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x44, 0x69, 0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0e, 0x64, 0x69, + 0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0d, 0x64, 0x69, 0x73, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneEntityDisappearNotify_proto_rawDescOnce sync.Once + file_SceneEntityDisappearNotify_proto_rawDescData = file_SceneEntityDisappearNotify_proto_rawDesc +) + +func file_SceneEntityDisappearNotify_proto_rawDescGZIP() []byte { + file_SceneEntityDisappearNotify_proto_rawDescOnce.Do(func() { + file_SceneEntityDisappearNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityDisappearNotify_proto_rawDescData) + }) + return file_SceneEntityDisappearNotify_proto_rawDescData +} + +var file_SceneEntityDisappearNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityDisappearNotify_proto_goTypes = []interface{}{ + (*SceneEntityDisappearNotify)(nil), // 0: SceneEntityDisappearNotify + (VisionType)(0), // 1: VisionType +} +var file_SceneEntityDisappearNotify_proto_depIdxs = []int32{ + 1, // 0: SceneEntityDisappearNotify.disappear_type:type_name -> VisionType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntityDisappearNotify_proto_init() } +func file_SceneEntityDisappearNotify_proto_init() { + if File_SceneEntityDisappearNotify_proto != nil { + return + } + file_VisionType_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityDisappearNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityDisappearNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityDisappearNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityDisappearNotify_proto_goTypes, + DependencyIndexes: file_SceneEntityDisappearNotify_proto_depIdxs, + MessageInfos: file_SceneEntityDisappearNotify_proto_msgTypes, + }.Build() + File_SceneEntityDisappearNotify_proto = out.File + file_SceneEntityDisappearNotify_proto_rawDesc = nil + file_SceneEntityDisappearNotify_proto_goTypes = nil + file_SceneEntityDisappearNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityDisappearNotify.proto b/gate-hk4e-api/proto/SceneEntityDisappearNotify.proto new file mode 100644 index 00000000..bdce7dac --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDisappearNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "VisionType.proto"; + +option go_package = "./;proto"; + +// CmdId: 203 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneEntityDisappearNotify { + uint32 param = 6; + repeated uint32 entity_list = 1; + VisionType disappear_type = 2; +} diff --git a/gate-hk4e-api/proto/SceneEntityDrownReq.pb.go b/gate-hk4e-api/proto/SceneEntityDrownReq.pb.go new file mode 100644 index 00000000..10199915 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDrownReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityDrownReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneEntityDrownReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *SceneEntityDrownReq) Reset() { + *x = SceneEntityDrownReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityDrownReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityDrownReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityDrownReq) ProtoMessage() {} + +func (x *SceneEntityDrownReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityDrownReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityDrownReq.ProtoReflect.Descriptor instead. +func (*SceneEntityDrownReq) Descriptor() ([]byte, []int) { + return file_SceneEntityDrownReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityDrownReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_SceneEntityDrownReq_proto protoreflect.FileDescriptor + +var file_SceneEntityDrownReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x72, 0x6f, + 0x77, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x13, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x72, 0x6f, 0x77, 0x6e, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityDrownReq_proto_rawDescOnce sync.Once + file_SceneEntityDrownReq_proto_rawDescData = file_SceneEntityDrownReq_proto_rawDesc +) + +func file_SceneEntityDrownReq_proto_rawDescGZIP() []byte { + file_SceneEntityDrownReq_proto_rawDescOnce.Do(func() { + file_SceneEntityDrownReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityDrownReq_proto_rawDescData) + }) + return file_SceneEntityDrownReq_proto_rawDescData +} + +var file_SceneEntityDrownReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityDrownReq_proto_goTypes = []interface{}{ + (*SceneEntityDrownReq)(nil), // 0: SceneEntityDrownReq +} +var file_SceneEntityDrownReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneEntityDrownReq_proto_init() } +func file_SceneEntityDrownReq_proto_init() { + if File_SceneEntityDrownReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneEntityDrownReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityDrownReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityDrownReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityDrownReq_proto_goTypes, + DependencyIndexes: file_SceneEntityDrownReq_proto_depIdxs, + MessageInfos: file_SceneEntityDrownReq_proto_msgTypes, + }.Build() + File_SceneEntityDrownReq_proto = out.File + file_SceneEntityDrownReq_proto_rawDesc = nil + file_SceneEntityDrownReq_proto_goTypes = nil + file_SceneEntityDrownReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityDrownReq.proto b/gate-hk4e-api/proto/SceneEntityDrownReq.proto new file mode 100644 index 00000000..404e7e34 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDrownReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneEntityDrownReq { + uint32 entity_id = 10; +} diff --git a/gate-hk4e-api/proto/SceneEntityDrownRsp.pb.go b/gate-hk4e-api/proto/SceneEntityDrownRsp.pb.go new file mode 100644 index 00000000..42752ead --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDrownRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityDrownRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 294 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneEntityDrownRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *SceneEntityDrownRsp) Reset() { + *x = SceneEntityDrownRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityDrownRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityDrownRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityDrownRsp) ProtoMessage() {} + +func (x *SceneEntityDrownRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityDrownRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityDrownRsp.ProtoReflect.Descriptor instead. +func (*SceneEntityDrownRsp) Descriptor() ([]byte, []int) { + return file_SceneEntityDrownRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityDrownRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneEntityDrownRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_SceneEntityDrownRsp_proto protoreflect.FileDescriptor + +var file_SceneEntityDrownRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x72, 0x6f, + 0x77, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x13, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x72, 0x6f, 0x77, 0x6e, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityDrownRsp_proto_rawDescOnce sync.Once + file_SceneEntityDrownRsp_proto_rawDescData = file_SceneEntityDrownRsp_proto_rawDesc +) + +func file_SceneEntityDrownRsp_proto_rawDescGZIP() []byte { + file_SceneEntityDrownRsp_proto_rawDescOnce.Do(func() { + file_SceneEntityDrownRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityDrownRsp_proto_rawDescData) + }) + return file_SceneEntityDrownRsp_proto_rawDescData +} + +var file_SceneEntityDrownRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityDrownRsp_proto_goTypes = []interface{}{ + (*SceneEntityDrownRsp)(nil), // 0: SceneEntityDrownRsp +} +var file_SceneEntityDrownRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneEntityDrownRsp_proto_init() } +func file_SceneEntityDrownRsp_proto_init() { + if File_SceneEntityDrownRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneEntityDrownRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityDrownRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityDrownRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityDrownRsp_proto_goTypes, + DependencyIndexes: file_SceneEntityDrownRsp_proto_depIdxs, + MessageInfos: file_SceneEntityDrownRsp_proto_msgTypes, + }.Build() + File_SceneEntityDrownRsp_proto = out.File + file_SceneEntityDrownRsp_proto_rawDesc = nil + file_SceneEntityDrownRsp_proto_goTypes = nil + file_SceneEntityDrownRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityDrownRsp.proto b/gate-hk4e-api/proto/SceneEntityDrownRsp.proto new file mode 100644 index 00000000..ade27cd0 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityDrownRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 294 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneEntityDrownRsp { + int32 retcode = 8; + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/SceneEntityInfo.pb.go b/gate-hk4e-api/proto/SceneEntityInfo.pb.go new file mode 100644 index 00000000..dda9064b --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityInfo.pb.go @@ -0,0 +1,461 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneEntityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityType ProtEntityType `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3,enum=ProtEntityType" json:"entity_type,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + MotionInfo *MotionInfo `protobuf:"bytes,4,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + PropList []*PropPair `protobuf:"bytes,5,rep,name=prop_list,json=propList,proto3" json:"prop_list,omitempty"` + FightPropList []*FightPropPair `protobuf:"bytes,6,rep,name=fight_prop_list,json=fightPropList,proto3" json:"fight_prop_list,omitempty"` + LifeState uint32 `protobuf:"varint,7,opt,name=life_state,json=lifeState,proto3" json:"life_state,omitempty"` + AnimatorParaList []*AnimatorParameterValueInfoPair `protobuf:"bytes,9,rep,name=animator_para_list,json=animatorParaList,proto3" json:"animator_para_list,omitempty"` + LastMoveSceneTimeMs uint32 `protobuf:"varint,17,opt,name=last_move_scene_time_ms,json=lastMoveSceneTimeMs,proto3" json:"last_move_scene_time_ms,omitempty"` + LastMoveReliableSeq uint32 `protobuf:"varint,18,opt,name=last_move_reliable_seq,json=lastMoveReliableSeq,proto3" json:"last_move_reliable_seq,omitempty"` + EntityClientData *EntityClientData `protobuf:"bytes,19,opt,name=entity_client_data,json=entityClientData,proto3" json:"entity_client_data,omitempty"` + EntityEnvironmentInfoList []*EntityEnvironmentInfo `protobuf:"bytes,20,rep,name=entity_environment_info_list,json=entityEnvironmentInfoList,proto3" json:"entity_environment_info_list,omitempty"` + EntityAuthorityInfo *EntityAuthorityInfo `protobuf:"bytes,21,opt,name=entity_authority_info,json=entityAuthorityInfo,proto3" json:"entity_authority_info,omitempty"` + TagList []string `protobuf:"bytes,22,rep,name=tag_list,json=tagList,proto3" json:"tag_list,omitempty"` + ServerBuffList []*ServerBuff `protobuf:"bytes,23,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` + // Types that are assignable to Entity: + // *SceneEntityInfo_Avatar + // *SceneEntityInfo_Monster + // *SceneEntityInfo_Npc + // *SceneEntityInfo_Gadget + Entity isSceneEntityInfo_Entity `protobuf_oneof:"entity"` +} + +func (x *SceneEntityInfo) Reset() { + *x = SceneEntityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityInfo) ProtoMessage() {} + +func (x *SceneEntityInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityInfo.ProtoReflect.Descriptor instead. +func (*SceneEntityInfo) Descriptor() ([]byte, []int) { + return file_SceneEntityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityInfo) GetEntityType() ProtEntityType { + if x != nil { + return x.EntityType + } + return ProtEntityType_PROT_ENTITY_TYPE_NONE +} + +func (x *SceneEntityInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneEntityInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SceneEntityInfo) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *SceneEntityInfo) GetPropList() []*PropPair { + if x != nil { + return x.PropList + } + return nil +} + +func (x *SceneEntityInfo) GetFightPropList() []*FightPropPair { + if x != nil { + return x.FightPropList + } + return nil +} + +func (x *SceneEntityInfo) GetLifeState() uint32 { + if x != nil { + return x.LifeState + } + return 0 +} + +func (x *SceneEntityInfo) GetAnimatorParaList() []*AnimatorParameterValueInfoPair { + if x != nil { + return x.AnimatorParaList + } + return nil +} + +func (x *SceneEntityInfo) GetLastMoveSceneTimeMs() uint32 { + if x != nil { + return x.LastMoveSceneTimeMs + } + return 0 +} + +func (x *SceneEntityInfo) GetLastMoveReliableSeq() uint32 { + if x != nil { + return x.LastMoveReliableSeq + } + return 0 +} + +func (x *SceneEntityInfo) GetEntityClientData() *EntityClientData { + if x != nil { + return x.EntityClientData + } + return nil +} + +func (x *SceneEntityInfo) GetEntityEnvironmentInfoList() []*EntityEnvironmentInfo { + if x != nil { + return x.EntityEnvironmentInfoList + } + return nil +} + +func (x *SceneEntityInfo) GetEntityAuthorityInfo() *EntityAuthorityInfo { + if x != nil { + return x.EntityAuthorityInfo + } + return nil +} + +func (x *SceneEntityInfo) GetTagList() []string { + if x != nil { + return x.TagList + } + return nil +} + +func (x *SceneEntityInfo) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +func (m *SceneEntityInfo) GetEntity() isSceneEntityInfo_Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (x *SceneEntityInfo) GetAvatar() *SceneAvatarInfo { + if x, ok := x.GetEntity().(*SceneEntityInfo_Avatar); ok { + return x.Avatar + } + return nil +} + +func (x *SceneEntityInfo) GetMonster() *SceneMonsterInfo { + if x, ok := x.GetEntity().(*SceneEntityInfo_Monster); ok { + return x.Monster + } + return nil +} + +func (x *SceneEntityInfo) GetNpc() *SceneNpcInfo { + if x, ok := x.GetEntity().(*SceneEntityInfo_Npc); ok { + return x.Npc + } + return nil +} + +func (x *SceneEntityInfo) GetGadget() *SceneGadgetInfo { + if x, ok := x.GetEntity().(*SceneEntityInfo_Gadget); ok { + return x.Gadget + } + return nil +} + +type isSceneEntityInfo_Entity interface { + isSceneEntityInfo_Entity() +} + +type SceneEntityInfo_Avatar struct { + Avatar *SceneAvatarInfo `protobuf:"bytes,10,opt,name=avatar,proto3,oneof"` +} + +type SceneEntityInfo_Monster struct { + Monster *SceneMonsterInfo `protobuf:"bytes,11,opt,name=monster,proto3,oneof"` +} + +type SceneEntityInfo_Npc struct { + Npc *SceneNpcInfo `protobuf:"bytes,12,opt,name=npc,proto3,oneof"` +} + +type SceneEntityInfo_Gadget struct { + Gadget *SceneGadgetInfo `protobuf:"bytes,13,opt,name=gadget,proto3,oneof"` +} + +func (*SceneEntityInfo_Avatar) isSceneEntityInfo_Entity() {} + +func (*SceneEntityInfo_Monster) isSceneEntityInfo_Entity() {} + +func (*SceneEntityInfo_Npc) isSceneEntityInfo_Entity() {} + +func (*SceneEntityInfo_Gadget) isSceneEntityInfo_Entity() {} + +var File_SceneEntityInfo_proto protoreflect.FileDescriptor + +var file_SceneEntityInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x46, + 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x12, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x07, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x0b, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, + 0x0b, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x09, 0x70, + 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x0f, 0x66, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70, 0x72, 0x6f, + 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x46, + 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0d, 0x66, 0x69, + 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, + 0x69, 0x66, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x6c, 0x69, 0x66, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x61, 0x6e, + 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x69, 0x72, 0x52, 0x10, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x17, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, + 0x4d, 0x6f, 0x76, 0x65, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x73, 0x12, + 0x33, 0x0a, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6c, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x13, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x53, 0x65, 0x71, 0x12, 0x3f, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x57, 0x0a, 0x1c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x19, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x48, + 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, + 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x06, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4d, + 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x03, 0x6e, 0x70, 0x63, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x03, 0x6e, 0x70, 0x63, 0x12, 0x2a, 0x0a, 0x06, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x06, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneEntityInfo_proto_rawDescOnce sync.Once + file_SceneEntityInfo_proto_rawDescData = file_SceneEntityInfo_proto_rawDesc +) + +func file_SceneEntityInfo_proto_rawDescGZIP() []byte { + file_SceneEntityInfo_proto_rawDescOnce.Do(func() { + file_SceneEntityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityInfo_proto_rawDescData) + }) + return file_SceneEntityInfo_proto_rawDescData +} + +var file_SceneEntityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityInfo_proto_goTypes = []interface{}{ + (*SceneEntityInfo)(nil), // 0: SceneEntityInfo + (ProtEntityType)(0), // 1: ProtEntityType + (*MotionInfo)(nil), // 2: MotionInfo + (*PropPair)(nil), // 3: PropPair + (*FightPropPair)(nil), // 4: FightPropPair + (*AnimatorParameterValueInfoPair)(nil), // 5: AnimatorParameterValueInfoPair + (*EntityClientData)(nil), // 6: EntityClientData + (*EntityEnvironmentInfo)(nil), // 7: EntityEnvironmentInfo + (*EntityAuthorityInfo)(nil), // 8: EntityAuthorityInfo + (*ServerBuff)(nil), // 9: ServerBuff + (*SceneAvatarInfo)(nil), // 10: SceneAvatarInfo + (*SceneMonsterInfo)(nil), // 11: SceneMonsterInfo + (*SceneNpcInfo)(nil), // 12: SceneNpcInfo + (*SceneGadgetInfo)(nil), // 13: SceneGadgetInfo +} +var file_SceneEntityInfo_proto_depIdxs = []int32{ + 1, // 0: SceneEntityInfo.entity_type:type_name -> ProtEntityType + 2, // 1: SceneEntityInfo.motion_info:type_name -> MotionInfo + 3, // 2: SceneEntityInfo.prop_list:type_name -> PropPair + 4, // 3: SceneEntityInfo.fight_prop_list:type_name -> FightPropPair + 5, // 4: SceneEntityInfo.animator_para_list:type_name -> AnimatorParameterValueInfoPair + 6, // 5: SceneEntityInfo.entity_client_data:type_name -> EntityClientData + 7, // 6: SceneEntityInfo.entity_environment_info_list:type_name -> EntityEnvironmentInfo + 8, // 7: SceneEntityInfo.entity_authority_info:type_name -> EntityAuthorityInfo + 9, // 8: SceneEntityInfo.server_buff_list:type_name -> ServerBuff + 10, // 9: SceneEntityInfo.avatar:type_name -> SceneAvatarInfo + 11, // 10: SceneEntityInfo.monster:type_name -> SceneMonsterInfo + 12, // 11: SceneEntityInfo.npc:type_name -> SceneNpcInfo + 13, // 12: SceneEntityInfo.gadget:type_name -> SceneGadgetInfo + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_SceneEntityInfo_proto_init() } +func file_SceneEntityInfo_proto_init() { + if File_SceneEntityInfo_proto != nil { + return + } + file_AnimatorParameterValueInfoPair_proto_init() + file_EntityAuthorityInfo_proto_init() + file_EntityClientData_proto_init() + file_EntityEnvironmentInfo_proto_init() + file_FightPropPair_proto_init() + file_MotionInfo_proto_init() + file_PropPair_proto_init() + file_ProtEntityType_proto_init() + file_SceneAvatarInfo_proto_init() + file_SceneGadgetInfo_proto_init() + file_SceneMonsterInfo_proto_init() + file_SceneNpcInfo_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_SceneEntityInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SceneEntityInfo_Avatar)(nil), + (*SceneEntityInfo_Monster)(nil), + (*SceneEntityInfo_Npc)(nil), + (*SceneEntityInfo_Gadget)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityInfo_proto_goTypes, + DependencyIndexes: file_SceneEntityInfo_proto_depIdxs, + MessageInfos: file_SceneEntityInfo_proto_msgTypes, + }.Build() + File_SceneEntityInfo_proto = out.File + file_SceneEntityInfo_proto_rawDesc = nil + file_SceneEntityInfo_proto_goTypes = nil + file_SceneEntityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityInfo.proto b/gate-hk4e-api/proto/SceneEntityInfo.proto new file mode 100644 index 00000000..fdb7703a --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityInfo.proto @@ -0,0 +1,57 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnimatorParameterValueInfoPair.proto"; +import "EntityAuthorityInfo.proto"; +import "EntityClientData.proto"; +import "EntityEnvironmentInfo.proto"; +import "FightPropPair.proto"; +import "MotionInfo.proto"; +import "PropPair.proto"; +import "ProtEntityType.proto"; +import "SceneAvatarInfo.proto"; +import "SceneGadgetInfo.proto"; +import "SceneMonsterInfo.proto"; +import "SceneNpcInfo.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +message SceneEntityInfo { + ProtEntityType entity_type = 1; + uint32 entity_id = 2; + string name = 3; + MotionInfo motion_info = 4; + repeated PropPair prop_list = 5; + repeated FightPropPair fight_prop_list = 6; + uint32 life_state = 7; + repeated AnimatorParameterValueInfoPair animator_para_list = 9; + uint32 last_move_scene_time_ms = 17; + uint32 last_move_reliable_seq = 18; + EntityClientData entity_client_data = 19; + repeated EntityEnvironmentInfo entity_environment_info_list = 20; + EntityAuthorityInfo entity_authority_info = 21; + repeated string tag_list = 22; + repeated ServerBuff server_buff_list = 23; + oneof entity { + SceneAvatarInfo avatar = 10; + SceneMonsterInfo monster = 11; + SceneNpcInfo npc = 12; + SceneGadgetInfo gadget = 13; + } +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveNotify.pb.go b/gate-hk4e-api/proto/SceneEntityMoveNotify.pb.go new file mode 100644 index 00000000..8f058646 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveNotify.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityMoveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 275 +// EnetChannelId: 1 +// EnetIsReliable: true +type SceneEntityMoveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MotionInfo *MotionInfo `protobuf:"bytes,6,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + SceneTime uint32 `protobuf:"varint,15,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + ReliableSeq uint32 `protobuf:"varint,2,opt,name=reliable_seq,json=reliableSeq,proto3" json:"reliable_seq,omitempty"` +} + +func (x *SceneEntityMoveNotify) Reset() { + *x = SceneEntityMoveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityMoveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityMoveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityMoveNotify) ProtoMessage() {} + +func (x *SceneEntityMoveNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityMoveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityMoveNotify.ProtoReflect.Descriptor instead. +func (*SceneEntityMoveNotify) Descriptor() ([]byte, []int) { + return file_SceneEntityMoveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityMoveNotify) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *SceneEntityMoveNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneEntityMoveNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *SceneEntityMoveNotify) GetReliableSeq() uint32 { + if x != nil { + return x.ReliableSeq + } + return 0 +} + +var File_SceneEntityMoveNotify_proto protoreflect.FileDescriptor + +var file_SceneEntityMoveNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, + 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa4, 0x01, 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, + 0x6f, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x0b, 0x6d, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, + 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityMoveNotify_proto_rawDescOnce sync.Once + file_SceneEntityMoveNotify_proto_rawDescData = file_SceneEntityMoveNotify_proto_rawDesc +) + +func file_SceneEntityMoveNotify_proto_rawDescGZIP() []byte { + file_SceneEntityMoveNotify_proto_rawDescOnce.Do(func() { + file_SceneEntityMoveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityMoveNotify_proto_rawDescData) + }) + return file_SceneEntityMoveNotify_proto_rawDescData +} + +var file_SceneEntityMoveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityMoveNotify_proto_goTypes = []interface{}{ + (*SceneEntityMoveNotify)(nil), // 0: SceneEntityMoveNotify + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_SceneEntityMoveNotify_proto_depIdxs = []int32{ + 1, // 0: SceneEntityMoveNotify.motion_info:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntityMoveNotify_proto_init() } +func file_SceneEntityMoveNotify_proto_init() { + if File_SceneEntityMoveNotify_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityMoveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityMoveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityMoveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityMoveNotify_proto_goTypes, + DependencyIndexes: file_SceneEntityMoveNotify_proto_depIdxs, + MessageInfos: file_SceneEntityMoveNotify_proto_msgTypes, + }.Build() + File_SceneEntityMoveNotify_proto = out.File + file_SceneEntityMoveNotify_proto_rawDesc = nil + file_SceneEntityMoveNotify_proto_goTypes = nil + file_SceneEntityMoveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveNotify.proto b/gate-hk4e-api/proto/SceneEntityMoveNotify.proto new file mode 100644 index 00000000..261494e7 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 275 +// EnetChannelId: 1 +// EnetIsReliable: true +message SceneEntityMoveNotify { + MotionInfo motion_info = 6; + uint32 entity_id = 8; + uint32 scene_time = 15; + uint32 reliable_seq = 2; +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveReq.pb.go b/gate-hk4e-api/proto/SceneEntityMoveReq.pb.go new file mode 100644 index 00000000..b052c4b5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveReq.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityMoveReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 290 +// EnetChannelId: 1 +// EnetIsReliable: false +// IsAllowClient: true +type SceneEntityMoveReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MotionInfo *MotionInfo `protobuf:"bytes,7,opt,name=motion_info,json=motionInfo,proto3" json:"motion_info,omitempty"` + SceneTime uint32 `protobuf:"varint,4,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ReliableSeq uint32 `protobuf:"varint,15,opt,name=reliable_seq,json=reliableSeq,proto3" json:"reliable_seq,omitempty"` +} + +func (x *SceneEntityMoveReq) Reset() { + *x = SceneEntityMoveReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityMoveReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityMoveReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityMoveReq) ProtoMessage() {} + +func (x *SceneEntityMoveReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityMoveReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityMoveReq.ProtoReflect.Descriptor instead. +func (*SceneEntityMoveReq) Descriptor() ([]byte, []int) { + return file_SceneEntityMoveReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityMoveReq) GetMotionInfo() *MotionInfo { + if x != nil { + return x.MotionInfo + } + return nil +} + +func (x *SceneEntityMoveReq) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *SceneEntityMoveReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneEntityMoveReq) GetReliableSeq() uint32 { + if x != nil { + return x.ReliableSeq + } + return 0 +} + +var File_SceneEntityMoveReq_proto protoreflect.FileDescriptor + +var file_SceneEntityMoveReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, + 0x12, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, + 0x52, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x0b, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityMoveReq_proto_rawDescOnce sync.Once + file_SceneEntityMoveReq_proto_rawDescData = file_SceneEntityMoveReq_proto_rawDesc +) + +func file_SceneEntityMoveReq_proto_rawDescGZIP() []byte { + file_SceneEntityMoveReq_proto_rawDescOnce.Do(func() { + file_SceneEntityMoveReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityMoveReq_proto_rawDescData) + }) + return file_SceneEntityMoveReq_proto_rawDescData +} + +var file_SceneEntityMoveReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityMoveReq_proto_goTypes = []interface{}{ + (*SceneEntityMoveReq)(nil), // 0: SceneEntityMoveReq + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_SceneEntityMoveReq_proto_depIdxs = []int32{ + 1, // 0: SceneEntityMoveReq.motion_info:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntityMoveReq_proto_init() } +func file_SceneEntityMoveReq_proto_init() { + if File_SceneEntityMoveReq_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityMoveReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityMoveReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityMoveReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityMoveReq_proto_goTypes, + DependencyIndexes: file_SceneEntityMoveReq_proto_depIdxs, + MessageInfos: file_SceneEntityMoveReq_proto_msgTypes, + }.Build() + File_SceneEntityMoveReq_proto = out.File + file_SceneEntityMoveReq_proto_rawDesc = nil + file_SceneEntityMoveReq_proto_goTypes = nil + file_SceneEntityMoveReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveReq.proto b/gate-hk4e-api/proto/SceneEntityMoveReq.proto new file mode 100644 index 00000000..5e0ee50d --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 290 +// EnetChannelId: 1 +// EnetIsReliable: false +// IsAllowClient: true +message SceneEntityMoveReq { + MotionInfo motion_info = 7; + uint32 scene_time = 4; + uint32 entity_id = 8; + uint32 reliable_seq = 15; +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveRsp.pb.go b/gate-hk4e-api/proto/SceneEntityMoveRsp.pb.go new file mode 100644 index 00000000..648a6283 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveRsp.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityMoveRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 273 +// EnetChannelId: 1 +// EnetIsReliable: true +type SceneEntityMoveRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + FailMotion *MotionInfo `protobuf:"bytes,1,opt,name=fail_motion,json=failMotion,proto3" json:"fail_motion,omitempty"` + SceneTime uint32 `protobuf:"varint,10,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + ReliableSeq uint32 `protobuf:"varint,6,opt,name=reliable_seq,json=reliableSeq,proto3" json:"reliable_seq,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SceneEntityMoveRsp) Reset() { + *x = SceneEntityMoveRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityMoveRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityMoveRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityMoveRsp) ProtoMessage() {} + +func (x *SceneEntityMoveRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityMoveRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityMoveRsp.ProtoReflect.Descriptor instead. +func (*SceneEntityMoveRsp) Descriptor() ([]byte, []int) { + return file_SceneEntityMoveRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityMoveRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneEntityMoveRsp) GetFailMotion() *MotionInfo { + if x != nil { + return x.FailMotion + } + return nil +} + +func (x *SceneEntityMoveRsp) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *SceneEntityMoveRsp) GetReliableSeq() uint32 { + if x != nil { + return x.ReliableSeq + } + return 0 +} + +func (x *SceneEntityMoveRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SceneEntityMoveRsp_proto protoreflect.FileDescriptor + +var file_SceneEntityMoveRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, + 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x4d, 0x6f, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, + 0x12, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x76, 0x65, + 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x2c, 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x4d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x71, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityMoveRsp_proto_rawDescOnce sync.Once + file_SceneEntityMoveRsp_proto_rawDescData = file_SceneEntityMoveRsp_proto_rawDesc +) + +func file_SceneEntityMoveRsp_proto_rawDescGZIP() []byte { + file_SceneEntityMoveRsp_proto_rawDescOnce.Do(func() { + file_SceneEntityMoveRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityMoveRsp_proto_rawDescData) + }) + return file_SceneEntityMoveRsp_proto_rawDescData +} + +var file_SceneEntityMoveRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityMoveRsp_proto_goTypes = []interface{}{ + (*SceneEntityMoveRsp)(nil), // 0: SceneEntityMoveRsp + (*MotionInfo)(nil), // 1: MotionInfo +} +var file_SceneEntityMoveRsp_proto_depIdxs = []int32{ + 1, // 0: SceneEntityMoveRsp.fail_motion:type_name -> MotionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneEntityMoveRsp_proto_init() } +func file_SceneEntityMoveRsp_proto_init() { + if File_SceneEntityMoveRsp_proto != nil { + return + } + file_MotionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityMoveRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityMoveRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityMoveRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityMoveRsp_proto_goTypes, + DependencyIndexes: file_SceneEntityMoveRsp_proto_depIdxs, + MessageInfos: file_SceneEntityMoveRsp_proto_msgTypes, + }.Build() + File_SceneEntityMoveRsp_proto = out.File + file_SceneEntityMoveRsp_proto_rawDesc = nil + file_SceneEntityMoveRsp_proto_goTypes = nil + file_SceneEntityMoveRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityMoveRsp.proto b/gate-hk4e-api/proto/SceneEntityMoveRsp.proto new file mode 100644 index 00000000..7754537b --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityMoveRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MotionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 273 +// EnetChannelId: 1 +// EnetIsReliable: true +message SceneEntityMoveRsp { + uint32 entity_id = 4; + MotionInfo fail_motion = 1; + uint32 scene_time = 10; + uint32 reliable_seq = 6; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/SceneEntityUpdateNotify.pb.go b/gate-hk4e-api/proto/SceneEntityUpdateNotify.pb.go new file mode 100644 index 00000000..54d3f5c2 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityUpdateNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneEntityUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3412 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneEntityUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,10,opt,name=param,proto3" json:"param,omitempty"` + AppearType VisionType `protobuf:"varint,13,opt,name=appear_type,json=appearType,proto3,enum=VisionType" json:"appear_type,omitempty"` + EntityList []*SceneEntityInfo `protobuf:"bytes,5,rep,name=entity_list,json=entityList,proto3" json:"entity_list,omitempty"` +} + +func (x *SceneEntityUpdateNotify) Reset() { + *x = SceneEntityUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneEntityUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneEntityUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneEntityUpdateNotify) ProtoMessage() {} + +func (x *SceneEntityUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneEntityUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneEntityUpdateNotify.ProtoReflect.Descriptor instead. +func (*SceneEntityUpdateNotify) Descriptor() ([]byte, []int) { + return file_SceneEntityUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneEntityUpdateNotify) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *SceneEntityUpdateNotify) GetAppearType() VisionType { + if x != nil { + return x.AppearType + } + return VisionType_VISION_TYPE_NONE +} + +func (x *SceneEntityUpdateNotify) GetEntityList() []*SceneEntityInfo { + if x != nil { + return x.EntityList + } + return nil +} + +var File_SceneEntityUpdateNotify_proto protoreflect.FileDescriptor + +var file_SceneEntityUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x17, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2c, 0x0a, 0x0b, 0x61, 0x70, + 0x70, 0x65, 0x61, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0b, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x61, 0x70, + 0x70, 0x65, 0x61, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneEntityUpdateNotify_proto_rawDescOnce sync.Once + file_SceneEntityUpdateNotify_proto_rawDescData = file_SceneEntityUpdateNotify_proto_rawDesc +) + +func file_SceneEntityUpdateNotify_proto_rawDescGZIP() []byte { + file_SceneEntityUpdateNotify_proto_rawDescOnce.Do(func() { + file_SceneEntityUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneEntityUpdateNotify_proto_rawDescData) + }) + return file_SceneEntityUpdateNotify_proto_rawDescData +} + +var file_SceneEntityUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneEntityUpdateNotify_proto_goTypes = []interface{}{ + (*SceneEntityUpdateNotify)(nil), // 0: SceneEntityUpdateNotify + (VisionType)(0), // 1: VisionType + (*SceneEntityInfo)(nil), // 2: SceneEntityInfo +} +var file_SceneEntityUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: SceneEntityUpdateNotify.appear_type:type_name -> VisionType + 2, // 1: SceneEntityUpdateNotify.entity_list:type_name -> SceneEntityInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneEntityUpdateNotify_proto_init() } +func file_SceneEntityUpdateNotify_proto_init() { + if File_SceneEntityUpdateNotify_proto != nil { + return + } + file_SceneEntityInfo_proto_init() + file_VisionType_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneEntityUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneEntityUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneEntityUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneEntityUpdateNotify_proto_goTypes, + DependencyIndexes: file_SceneEntityUpdateNotify_proto_depIdxs, + MessageInfos: file_SceneEntityUpdateNotify_proto_msgTypes, + }.Build() + File_SceneEntityUpdateNotify_proto = out.File + file_SceneEntityUpdateNotify_proto_rawDesc = nil + file_SceneEntityUpdateNotify_proto_goTypes = nil + file_SceneEntityUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneEntityUpdateNotify.proto b/gate-hk4e-api/proto/SceneEntityUpdateNotify.proto new file mode 100644 index 00000000..7743a573 --- /dev/null +++ b/gate-hk4e-api/proto/SceneEntityUpdateNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneEntityInfo.proto"; +import "VisionType.proto"; + +option go_package = "./;proto"; + +// CmdId: 3412 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneEntityUpdateNotify { + uint32 param = 10; + VisionType appear_type = 13; + repeated SceneEntityInfo entity_list = 5; +} diff --git a/gate-hk4e-api/proto/SceneFishInfo.pb.go b/gate-hk4e-api/proto/SceneFishInfo.pb.go new file mode 100644 index 00000000..9bbbfcbd --- /dev/null +++ b/gate-hk4e-api/proto/SceneFishInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneFishInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneFishInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FishId uint32 `protobuf:"varint,1,opt,name=fish_id,json=fishId,proto3" json:"fish_id,omitempty"` + FishPoolEntityId uint32 `protobuf:"varint,2,opt,name=fish_pool_entity_id,json=fishPoolEntityId,proto3" json:"fish_pool_entity_id,omitempty"` + FishPoolPos *Vector `protobuf:"bytes,3,opt,name=fish_pool_pos,json=fishPoolPos,proto3" json:"fish_pool_pos,omitempty"` + FishPoolGadgetId uint32 `protobuf:"varint,4,opt,name=fish_pool_gadget_id,json=fishPoolGadgetId,proto3" json:"fish_pool_gadget_id,omitempty"` + Unk2700_HIPFHKFMBBE uint32 `protobuf:"varint,5,opt,name=Unk2700_HIPFHKFMBBE,json=Unk2700HIPFHKFMBBE,proto3" json:"Unk2700_HIPFHKFMBBE,omitempty"` +} + +func (x *SceneFishInfo) Reset() { + *x = SceneFishInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneFishInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneFishInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneFishInfo) ProtoMessage() {} + +func (x *SceneFishInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneFishInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneFishInfo.ProtoReflect.Descriptor instead. +func (*SceneFishInfo) Descriptor() ([]byte, []int) { + return file_SceneFishInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneFishInfo) GetFishId() uint32 { + if x != nil { + return x.FishId + } + return 0 +} + +func (x *SceneFishInfo) GetFishPoolEntityId() uint32 { + if x != nil { + return x.FishPoolEntityId + } + return 0 +} + +func (x *SceneFishInfo) GetFishPoolPos() *Vector { + if x != nil { + return x.FishPoolPos + } + return nil +} + +func (x *SceneFishInfo) GetFishPoolGadgetId() uint32 { + if x != nil { + return x.FishPoolGadgetId + } + return 0 +} + +func (x *SceneFishInfo) GetUnk2700_HIPFHKFMBBE() uint32 { + if x != nil { + return x.Unk2700_HIPFHKFMBBE + } + return 0 +} + +var File_SceneFishInfo_proto protoreflect.FileDescriptor + +var file_SceneFishInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x69, 0x73, + 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x69, 0x73, 0x68, 0x49, 0x64, 0x12, 0x2d, + 0x0a, 0x13, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x69, 0x73, + 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, + 0x0d, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0b, 0x66, + 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x50, 0x6f, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x66, 0x69, + 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x66, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, + 0x6c, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x50, 0x46, 0x48, 0x4b, 0x46, 0x4d, 0x42, 0x42, 0x45, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x49, 0x50, 0x46, 0x48, 0x4b, 0x46, 0x4d, 0x42, 0x42, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneFishInfo_proto_rawDescOnce sync.Once + file_SceneFishInfo_proto_rawDescData = file_SceneFishInfo_proto_rawDesc +) + +func file_SceneFishInfo_proto_rawDescGZIP() []byte { + file_SceneFishInfo_proto_rawDescOnce.Do(func() { + file_SceneFishInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneFishInfo_proto_rawDescData) + }) + return file_SceneFishInfo_proto_rawDescData +} + +var file_SceneFishInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneFishInfo_proto_goTypes = []interface{}{ + (*SceneFishInfo)(nil), // 0: SceneFishInfo + (*Vector)(nil), // 1: Vector +} +var file_SceneFishInfo_proto_depIdxs = []int32{ + 1, // 0: SceneFishInfo.fish_pool_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneFishInfo_proto_init() } +func file_SceneFishInfo_proto_init() { + if File_SceneFishInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneFishInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneFishInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneFishInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneFishInfo_proto_goTypes, + DependencyIndexes: file_SceneFishInfo_proto_depIdxs, + MessageInfos: file_SceneFishInfo_proto_msgTypes, + }.Build() + File_SceneFishInfo_proto = out.File + file_SceneFishInfo_proto_rawDesc = nil + file_SceneFishInfo_proto_goTypes = nil + file_SceneFishInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneFishInfo.proto b/gate-hk4e-api/proto/SceneFishInfo.proto new file mode 100644 index 00000000..6e859aad --- /dev/null +++ b/gate-hk4e-api/proto/SceneFishInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message SceneFishInfo { + uint32 fish_id = 1; + uint32 fish_pool_entity_id = 2; + Vector fish_pool_pos = 3; + uint32 fish_pool_gadget_id = 4; + uint32 Unk2700_HIPFHKFMBBE = 5; +} diff --git a/gate-hk4e-api/proto/SceneForceLockNotify.pb.go b/gate-hk4e-api/proto/SceneForceLockNotify.pb.go new file mode 100644 index 00000000..70652b88 --- /dev/null +++ b/gate-hk4e-api/proto/SceneForceLockNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneForceLockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 234 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneForceLockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ForceIdList []uint32 `protobuf:"varint,9,rep,packed,name=force_id_list,json=forceIdList,proto3" json:"force_id_list,omitempty"` +} + +func (x *SceneForceLockNotify) Reset() { + *x = SceneForceLockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneForceLockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneForceLockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneForceLockNotify) ProtoMessage() {} + +func (x *SceneForceLockNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneForceLockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneForceLockNotify.ProtoReflect.Descriptor instead. +func (*SceneForceLockNotify) Descriptor() ([]byte, []int) { + return file_SceneForceLockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneForceLockNotify) GetForceIdList() []uint32 { + if x != nil { + return x.ForceIdList + } + return nil +} + +var File_SceneForceLockNotify_proto protoreflect.FileDescriptor + +var file_SceneForceLockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x14, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x6f, 0x72, + 0x63, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneForceLockNotify_proto_rawDescOnce sync.Once + file_SceneForceLockNotify_proto_rawDescData = file_SceneForceLockNotify_proto_rawDesc +) + +func file_SceneForceLockNotify_proto_rawDescGZIP() []byte { + file_SceneForceLockNotify_proto_rawDescOnce.Do(func() { + file_SceneForceLockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneForceLockNotify_proto_rawDescData) + }) + return file_SceneForceLockNotify_proto_rawDescData +} + +var file_SceneForceLockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneForceLockNotify_proto_goTypes = []interface{}{ + (*SceneForceLockNotify)(nil), // 0: SceneForceLockNotify +} +var file_SceneForceLockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneForceLockNotify_proto_init() } +func file_SceneForceLockNotify_proto_init() { + if File_SceneForceLockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneForceLockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneForceLockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneForceLockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneForceLockNotify_proto_goTypes, + DependencyIndexes: file_SceneForceLockNotify_proto_depIdxs, + MessageInfos: file_SceneForceLockNotify_proto_msgTypes, + }.Build() + File_SceneForceLockNotify_proto = out.File + file_SceneForceLockNotify_proto_rawDesc = nil + file_SceneForceLockNotify_proto_goTypes = nil + file_SceneForceLockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneForceLockNotify.proto b/gate-hk4e-api/proto/SceneForceLockNotify.proto new file mode 100644 index 00000000..4b838cab --- /dev/null +++ b/gate-hk4e-api/proto/SceneForceLockNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 234 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneForceLockNotify { + repeated uint32 force_id_list = 9; +} diff --git a/gate-hk4e-api/proto/SceneForceUnlockNotify.pb.go b/gate-hk4e-api/proto/SceneForceUnlockNotify.pb.go new file mode 100644 index 00000000..d6617990 --- /dev/null +++ b/gate-hk4e-api/proto/SceneForceUnlockNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneForceUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 206 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneForceUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAdd bool `protobuf:"varint,10,opt,name=is_add,json=isAdd,proto3" json:"is_add,omitempty"` + ForceIdList []uint32 `protobuf:"varint,2,rep,packed,name=force_id_list,json=forceIdList,proto3" json:"force_id_list,omitempty"` +} + +func (x *SceneForceUnlockNotify) Reset() { + *x = SceneForceUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneForceUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneForceUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneForceUnlockNotify) ProtoMessage() {} + +func (x *SceneForceUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneForceUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneForceUnlockNotify.ProtoReflect.Descriptor instead. +func (*SceneForceUnlockNotify) Descriptor() ([]byte, []int) { + return file_SceneForceUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneForceUnlockNotify) GetIsAdd() bool { + if x != nil { + return x.IsAdd + } + return false +} + +func (x *SceneForceUnlockNotify) GetForceIdList() []uint32 { + if x != nil { + return x.ForceIdList + } + return nil +} + +var File_SceneForceUnlockNotify_proto protoreflect.FileDescriptor + +var file_SceneForceUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x61, + 0x64, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x41, 0x64, 0x64, 0x12, + 0x22, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneForceUnlockNotify_proto_rawDescOnce sync.Once + file_SceneForceUnlockNotify_proto_rawDescData = file_SceneForceUnlockNotify_proto_rawDesc +) + +func file_SceneForceUnlockNotify_proto_rawDescGZIP() []byte { + file_SceneForceUnlockNotify_proto_rawDescOnce.Do(func() { + file_SceneForceUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneForceUnlockNotify_proto_rawDescData) + }) + return file_SceneForceUnlockNotify_proto_rawDescData +} + +var file_SceneForceUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneForceUnlockNotify_proto_goTypes = []interface{}{ + (*SceneForceUnlockNotify)(nil), // 0: SceneForceUnlockNotify +} +var file_SceneForceUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneForceUnlockNotify_proto_init() } +func file_SceneForceUnlockNotify_proto_init() { + if File_SceneForceUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneForceUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneForceUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneForceUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneForceUnlockNotify_proto_goTypes, + DependencyIndexes: file_SceneForceUnlockNotify_proto_depIdxs, + MessageInfos: file_SceneForceUnlockNotify_proto_msgTypes, + }.Build() + File_SceneForceUnlockNotify_proto = out.File + file_SceneForceUnlockNotify_proto_rawDesc = nil + file_SceneForceUnlockNotify_proto_goTypes = nil + file_SceneForceUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneForceUnlockNotify.proto b/gate-hk4e-api/proto/SceneForceUnlockNotify.proto new file mode 100644 index 00000000..0f004e8e --- /dev/null +++ b/gate-hk4e-api/proto/SceneForceUnlockNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 206 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneForceUnlockNotify { + bool is_add = 10; + repeated uint32 force_id_list = 2; +} diff --git a/gate-hk4e-api/proto/SceneGadgetInfo.pb.go b/gate-hk4e-api/proto/SceneGadgetInfo.pb.go new file mode 100644 index 00000000..7b70886e --- /dev/null +++ b/gate-hk4e-api/proto/SceneGadgetInfo.pb.go @@ -0,0 +1,849 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetId uint32 `protobuf:"varint,1,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,4,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` + BornType GadgetBornType `protobuf:"varint,5,opt,name=born_type,json=bornType,proto3,enum=GadgetBornType" json:"born_type,omitempty"` + GadgetState uint32 `protobuf:"varint,6,opt,name=gadget_state,json=gadgetState,proto3" json:"gadget_state,omitempty"` + GadgetType uint32 `protobuf:"varint,7,opt,name=gadget_type,json=gadgetType,proto3" json:"gadget_type,omitempty"` + IsShowCutscene bool `protobuf:"varint,8,opt,name=is_show_cutscene,json=isShowCutscene,proto3" json:"is_show_cutscene,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,9,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + IsEnableInteract bool `protobuf:"varint,10,opt,name=is_enable_interact,json=isEnableInteract,proto3" json:"is_enable_interact,omitempty"` + InteractId uint32 `protobuf:"varint,11,opt,name=interact_id,json=interactId,proto3" json:"interact_id,omitempty"` + MarkFlag uint32 `protobuf:"varint,21,opt,name=mark_flag,json=markFlag,proto3" json:"mark_flag,omitempty"` + PropOwnerEntityId uint32 `protobuf:"varint,22,opt,name=prop_owner_entity_id,json=propOwnerEntityId,proto3" json:"prop_owner_entity_id,omitempty"` + Platform *PlatformInfo `protobuf:"bytes,23,opt,name=platform,proto3" json:"platform,omitempty"` + InteractUidList []uint32 `protobuf:"varint,24,rep,packed,name=interact_uid_list,json=interactUidList,proto3" json:"interact_uid_list,omitempty"` + DraftId uint32 `protobuf:"varint,25,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` + GadgetTalkState uint32 `protobuf:"varint,26,opt,name=gadget_talk_state,json=gadgetTalkState,proto3" json:"gadget_talk_state,omitempty"` + PlayInfo *GadgetPlayInfo `protobuf:"bytes,100,opt,name=play_info,json=playInfo,proto3" json:"play_info,omitempty"` + // Types that are assignable to Content: + // *SceneGadgetInfo_TrifleItem + // *SceneGadgetInfo_GatherGadget + // *SceneGadgetInfo_Worktop + // *SceneGadgetInfo_ClientGadget + // *SceneGadgetInfo_Weather + // *SceneGadgetInfo_AbilityGadget + // *SceneGadgetInfo_StatueGadget + // *SceneGadgetInfo_BossChest + // *SceneGadgetInfo_BlossomChest + // *SceneGadgetInfo_MpPlayReward + // *SceneGadgetInfo_GeneralReward + // *SceneGadgetInfo_OfferingInfo + // *SceneGadgetInfo_FoundationInfo + // *SceneGadgetInfo_VehicleInfo + // *SceneGadgetInfo_ShellInfo + // *SceneGadgetInfo_ScreenInfo + // *SceneGadgetInfo_FishPoolInfo + // *SceneGadgetInfo_CustomGadgetTreeInfo + // *SceneGadgetInfo_RoguelikeGadgetInfo + // *SceneGadgetInfo_NightCrowGadgetInfo + // *SceneGadgetInfo_DeshretObeliskGadgetInfo + Content isSceneGadgetInfo_Content `protobuf_oneof:"content"` +} + +func (x *SceneGadgetInfo) Reset() { + *x = SceneGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGadgetInfo) ProtoMessage() {} + +func (x *SceneGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGadgetInfo.ProtoReflect.Descriptor instead. +func (*SceneGadgetInfo) Descriptor() ([]byte, []int) { + return file_SceneGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGadgetInfo) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *SceneGadgetInfo) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *SceneGadgetInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *SceneGadgetInfo) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +func (x *SceneGadgetInfo) GetBornType() GadgetBornType { + if x != nil { + return x.BornType + } + return GadgetBornType_GADGET_BORN_TYPE_NONE +} + +func (x *SceneGadgetInfo) GetGadgetState() uint32 { + if x != nil { + return x.GadgetState + } + return 0 +} + +func (x *SceneGadgetInfo) GetGadgetType() uint32 { + if x != nil { + return x.GadgetType + } + return 0 +} + +func (x *SceneGadgetInfo) GetIsShowCutscene() bool { + if x != nil { + return x.IsShowCutscene + } + return false +} + +func (x *SceneGadgetInfo) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *SceneGadgetInfo) GetIsEnableInteract() bool { + if x != nil { + return x.IsEnableInteract + } + return false +} + +func (x *SceneGadgetInfo) GetInteractId() uint32 { + if x != nil { + return x.InteractId + } + return 0 +} + +func (x *SceneGadgetInfo) GetMarkFlag() uint32 { + if x != nil { + return x.MarkFlag + } + return 0 +} + +func (x *SceneGadgetInfo) GetPropOwnerEntityId() uint32 { + if x != nil { + return x.PropOwnerEntityId + } + return 0 +} + +func (x *SceneGadgetInfo) GetPlatform() *PlatformInfo { + if x != nil { + return x.Platform + } + return nil +} + +func (x *SceneGadgetInfo) GetInteractUidList() []uint32 { + if x != nil { + return x.InteractUidList + } + return nil +} + +func (x *SceneGadgetInfo) GetDraftId() uint32 { + if x != nil { + return x.DraftId + } + return 0 +} + +func (x *SceneGadgetInfo) GetGadgetTalkState() uint32 { + if x != nil { + return x.GadgetTalkState + } + return 0 +} + +func (x *SceneGadgetInfo) GetPlayInfo() *GadgetPlayInfo { + if x != nil { + return x.PlayInfo + } + return nil +} + +func (m *SceneGadgetInfo) GetContent() isSceneGadgetInfo_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *SceneGadgetInfo) GetTrifleItem() *Item { + if x, ok := x.GetContent().(*SceneGadgetInfo_TrifleItem); ok { + return x.TrifleItem + } + return nil +} + +func (x *SceneGadgetInfo) GetGatherGadget() *GatherGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_GatherGadget); ok { + return x.GatherGadget + } + return nil +} + +func (x *SceneGadgetInfo) GetWorktop() *WorktopInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_Worktop); ok { + return x.Worktop + } + return nil +} + +func (x *SceneGadgetInfo) GetClientGadget() *ClientGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_ClientGadget); ok { + return x.ClientGadget + } + return nil +} + +func (x *SceneGadgetInfo) GetWeather() *WeatherInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_Weather); ok { + return x.Weather + } + return nil +} + +func (x *SceneGadgetInfo) GetAbilityGadget() *AbilityGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_AbilityGadget); ok { + return x.AbilityGadget + } + return nil +} + +func (x *SceneGadgetInfo) GetStatueGadget() *StatueGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_StatueGadget); ok { + return x.StatueGadget + } + return nil +} + +func (x *SceneGadgetInfo) GetBossChest() *BossChestInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_BossChest); ok { + return x.BossChest + } + return nil +} + +func (x *SceneGadgetInfo) GetBlossomChest() *BlossomChestInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_BlossomChest); ok { + return x.BlossomChest + } + return nil +} + +func (x *SceneGadgetInfo) GetMpPlayReward() *MpPlayRewardInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_MpPlayReward); ok { + return x.MpPlayReward + } + return nil +} + +func (x *SceneGadgetInfo) GetGeneralReward() *GadgetGeneralRewardInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_GeneralReward); ok { + return x.GeneralReward + } + return nil +} + +func (x *SceneGadgetInfo) GetOfferingInfo() *OfferingInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_OfferingInfo); ok { + return x.OfferingInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetFoundationInfo() *FoundationInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_FoundationInfo); ok { + return x.FoundationInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetVehicleInfo() *VehicleInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_VehicleInfo); ok { + return x.VehicleInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetShellInfo() *EchoShellInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_ShellInfo); ok { + return x.ShellInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetScreenInfo() *ScreenInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_ScreenInfo); ok { + return x.ScreenInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetFishPoolInfo() *FishPoolInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_FishPoolInfo); ok { + return x.FishPoolInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetCustomGadgetTreeInfo() *CustomGadgetTreeInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_CustomGadgetTreeInfo); ok { + return x.CustomGadgetTreeInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetRoguelikeGadgetInfo() *RoguelikeGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_RoguelikeGadgetInfo); ok { + return x.RoguelikeGadgetInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetNightCrowGadgetInfo() *NightCrowGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_NightCrowGadgetInfo); ok { + return x.NightCrowGadgetInfo + } + return nil +} + +func (x *SceneGadgetInfo) GetDeshretObeliskGadgetInfo() *DeshretObeliskGadgetInfo { + if x, ok := x.GetContent().(*SceneGadgetInfo_DeshretObeliskGadgetInfo); ok { + return x.DeshretObeliskGadgetInfo + } + return nil +} + +type isSceneGadgetInfo_Content interface { + isSceneGadgetInfo_Content() +} + +type SceneGadgetInfo_TrifleItem struct { + TrifleItem *Item `protobuf:"bytes,12,opt,name=trifle_item,json=trifleItem,proto3,oneof"` +} + +type SceneGadgetInfo_GatherGadget struct { + GatherGadget *GatherGadgetInfo `protobuf:"bytes,13,opt,name=gather_gadget,json=gatherGadget,proto3,oneof"` +} + +type SceneGadgetInfo_Worktop struct { + Worktop *WorktopInfo `protobuf:"bytes,14,opt,name=worktop,proto3,oneof"` +} + +type SceneGadgetInfo_ClientGadget struct { + ClientGadget *ClientGadgetInfo `protobuf:"bytes,15,opt,name=client_gadget,json=clientGadget,proto3,oneof"` +} + +type SceneGadgetInfo_Weather struct { + Weather *WeatherInfo `protobuf:"bytes,17,opt,name=weather,proto3,oneof"` +} + +type SceneGadgetInfo_AbilityGadget struct { + AbilityGadget *AbilityGadgetInfo `protobuf:"bytes,18,opt,name=ability_gadget,json=abilityGadget,proto3,oneof"` +} + +type SceneGadgetInfo_StatueGadget struct { + StatueGadget *StatueGadgetInfo `protobuf:"bytes,19,opt,name=statue_gadget,json=statueGadget,proto3,oneof"` +} + +type SceneGadgetInfo_BossChest struct { + BossChest *BossChestInfo `protobuf:"bytes,20,opt,name=boss_chest,json=bossChest,proto3,oneof"` +} + +type SceneGadgetInfo_BlossomChest struct { + BlossomChest *BlossomChestInfo `protobuf:"bytes,41,opt,name=blossom_chest,json=blossomChest,proto3,oneof"` +} + +type SceneGadgetInfo_MpPlayReward struct { + MpPlayReward *MpPlayRewardInfo `protobuf:"bytes,42,opt,name=mp_play_reward,json=mpPlayReward,proto3,oneof"` +} + +type SceneGadgetInfo_GeneralReward struct { + GeneralReward *GadgetGeneralRewardInfo `protobuf:"bytes,43,opt,name=general_reward,json=generalReward,proto3,oneof"` +} + +type SceneGadgetInfo_OfferingInfo struct { + OfferingInfo *OfferingInfo `protobuf:"bytes,44,opt,name=offering_info,json=offeringInfo,proto3,oneof"` +} + +type SceneGadgetInfo_FoundationInfo struct { + FoundationInfo *FoundationInfo `protobuf:"bytes,45,opt,name=foundation_info,json=foundationInfo,proto3,oneof"` +} + +type SceneGadgetInfo_VehicleInfo struct { + VehicleInfo *VehicleInfo `protobuf:"bytes,46,opt,name=vehicle_info,json=vehicleInfo,proto3,oneof"` +} + +type SceneGadgetInfo_ShellInfo struct { + ShellInfo *EchoShellInfo `protobuf:"bytes,47,opt,name=shell_info,json=shellInfo,proto3,oneof"` +} + +type SceneGadgetInfo_ScreenInfo struct { + ScreenInfo *ScreenInfo `protobuf:"bytes,48,opt,name=screen_info,json=screenInfo,proto3,oneof"` +} + +type SceneGadgetInfo_FishPoolInfo struct { + FishPoolInfo *FishPoolInfo `protobuf:"bytes,59,opt,name=fish_pool_info,json=fishPoolInfo,proto3,oneof"` +} + +type SceneGadgetInfo_CustomGadgetTreeInfo struct { + CustomGadgetTreeInfo *CustomGadgetTreeInfo `protobuf:"bytes,60,opt,name=custom_gadget_tree_info,json=customGadgetTreeInfo,proto3,oneof"` +} + +type SceneGadgetInfo_RoguelikeGadgetInfo struct { + RoguelikeGadgetInfo *RoguelikeGadgetInfo `protobuf:"bytes,61,opt,name=roguelike_gadget_info,json=roguelikeGadgetInfo,proto3,oneof"` +} + +type SceneGadgetInfo_NightCrowGadgetInfo struct { + NightCrowGadgetInfo *NightCrowGadgetInfo `protobuf:"bytes,62,opt,name=night_crow_gadget_info,json=nightCrowGadgetInfo,proto3,oneof"` +} + +type SceneGadgetInfo_DeshretObeliskGadgetInfo struct { + DeshretObeliskGadgetInfo *DeshretObeliskGadgetInfo `protobuf:"bytes,63,opt,name=deshret_obelisk_gadget_info,json=deshretObeliskGadgetInfo,proto3,oneof"` +} + +func (*SceneGadgetInfo_TrifleItem) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_GatherGadget) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_Worktop) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_ClientGadget) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_Weather) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_AbilityGadget) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_StatueGadget) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_BossChest) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_BlossomChest) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_MpPlayReward) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_GeneralReward) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_OfferingInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_FoundationInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_VehicleInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_ShellInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_ScreenInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_FishPoolInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_CustomGadgetTreeInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_RoguelikeGadgetInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_NightCrowGadgetInfo) isSceneGadgetInfo_Content() {} + +func (*SceneGadgetInfo_DeshretObeliskGadgetInfo) isSceneGadgetInfo_Content() {} + +var File_SceneGadgetInfo_proto protoreflect.FileDescriptor + +var file_SceneGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x44, 0x65, 0x73, 0x68, 0x72, 0x65, 0x74, 0x4f, 0x62, 0x65, 0x6c, 0x69, 0x73, + 0x6b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x13, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x46, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x6f, 0x75, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x47, 0x61, 0x74, + 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x16, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x4e, 0x69, 0x67, 0x68, 0x74, 0x43, 0x72, + 0x6f, 0x77, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x12, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x52, 0x6f, 0x67, 0x75, + 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x47, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x11, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x0f, 0x0a, 0x0f, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, + 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, + 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x6f, 0x72, + 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x47, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, + 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x69, + 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x63, 0x75, 0x74, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x75, 0x74, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, + 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x15, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x2f, 0x0a, + 0x14, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, + 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x29, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x18, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x55, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x64, 0x72, 0x61, 0x66, 0x74, 0x49, 0x64, + 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x54, 0x61, 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x09, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0b, 0x74, 0x72, + 0x69, 0x66, 0x6c, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x05, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x66, 0x6c, 0x65, + 0x49, 0x74, 0x65, 0x6d, 0x12, 0x38, 0x0a, 0x0d, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x47, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0c, 0x67, 0x61, 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x12, 0x28, + 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x12, 0x38, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x12, 0x28, 0x0a, 0x07, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0e, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x65, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x73, + 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x68, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x43, + 0x68, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x5f, + 0x63, 0x68, 0x65, 0x73, 0x74, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x42, 0x6c, + 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x43, 0x68, 0x65, 0x73, 0x74, 0x12, 0x39, + 0x0a, 0x0e, 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x70, 0x50, + 0x6c, 0x61, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x41, 0x0a, 0x0e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x2b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x34, 0x0a, 0x0d, + 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x2c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x46, 0x6f, + 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, + 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, + 0x0a, 0x0c, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x2e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2f, 0x0a, 0x0a, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x68, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x0b, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x30, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0e, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x3b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x46, 0x69, 0x73, + 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x69, 0x73, + 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x17, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4a, 0x0a, 0x15, 0x72, 0x6f, 0x67, + 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x3d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, + 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x13, 0x72, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x16, 0x6e, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, + 0x72, 0x6f, 0x77, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x3e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x4e, 0x69, 0x67, 0x68, 0x74, 0x43, 0x72, 0x6f, + 0x77, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x13, 0x6e, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x72, 0x6f, 0x77, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x1b, 0x64, 0x65, 0x73, 0x68, 0x72, 0x65, 0x74, 0x5f, 0x6f, 0x62, + 0x65, 0x6c, 0x69, 0x73, 0x6b, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x3f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x65, 0x73, 0x68, 0x72, 0x65, + 0x74, 0x4f, 0x62, 0x65, 0x6c, 0x69, 0x73, 0x6b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x18, 0x64, 0x65, 0x73, 0x68, 0x72, 0x65, 0x74, 0x4f, 0x62, 0x65, + 0x6c, 0x69, 0x73, 0x6b, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x09, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGadgetInfo_proto_rawDescOnce sync.Once + file_SceneGadgetInfo_proto_rawDescData = file_SceneGadgetInfo_proto_rawDesc +) + +func file_SceneGadgetInfo_proto_rawDescGZIP() []byte { + file_SceneGadgetInfo_proto_rawDescOnce.Do(func() { + file_SceneGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGadgetInfo_proto_rawDescData) + }) + return file_SceneGadgetInfo_proto_rawDescData +} + +var file_SceneGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGadgetInfo_proto_goTypes = []interface{}{ + (*SceneGadgetInfo)(nil), // 0: SceneGadgetInfo + (GadgetBornType)(0), // 1: GadgetBornType + (*PlatformInfo)(nil), // 2: PlatformInfo + (*GadgetPlayInfo)(nil), // 3: GadgetPlayInfo + (*Item)(nil), // 4: Item + (*GatherGadgetInfo)(nil), // 5: GatherGadgetInfo + (*WorktopInfo)(nil), // 6: WorktopInfo + (*ClientGadgetInfo)(nil), // 7: ClientGadgetInfo + (*WeatherInfo)(nil), // 8: WeatherInfo + (*AbilityGadgetInfo)(nil), // 9: AbilityGadgetInfo + (*StatueGadgetInfo)(nil), // 10: StatueGadgetInfo + (*BossChestInfo)(nil), // 11: BossChestInfo + (*BlossomChestInfo)(nil), // 12: BlossomChestInfo + (*MpPlayRewardInfo)(nil), // 13: MpPlayRewardInfo + (*GadgetGeneralRewardInfo)(nil), // 14: GadgetGeneralRewardInfo + (*OfferingInfo)(nil), // 15: OfferingInfo + (*FoundationInfo)(nil), // 16: FoundationInfo + (*VehicleInfo)(nil), // 17: VehicleInfo + (*EchoShellInfo)(nil), // 18: EchoShellInfo + (*ScreenInfo)(nil), // 19: ScreenInfo + (*FishPoolInfo)(nil), // 20: FishPoolInfo + (*CustomGadgetTreeInfo)(nil), // 21: CustomGadgetTreeInfo + (*RoguelikeGadgetInfo)(nil), // 22: RoguelikeGadgetInfo + (*NightCrowGadgetInfo)(nil), // 23: NightCrowGadgetInfo + (*DeshretObeliskGadgetInfo)(nil), // 24: DeshretObeliskGadgetInfo +} +var file_SceneGadgetInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGadgetInfo.born_type:type_name -> GadgetBornType + 2, // 1: SceneGadgetInfo.platform:type_name -> PlatformInfo + 3, // 2: SceneGadgetInfo.play_info:type_name -> GadgetPlayInfo + 4, // 3: SceneGadgetInfo.trifle_item:type_name -> Item + 5, // 4: SceneGadgetInfo.gather_gadget:type_name -> GatherGadgetInfo + 6, // 5: SceneGadgetInfo.worktop:type_name -> WorktopInfo + 7, // 6: SceneGadgetInfo.client_gadget:type_name -> ClientGadgetInfo + 8, // 7: SceneGadgetInfo.weather:type_name -> WeatherInfo + 9, // 8: SceneGadgetInfo.ability_gadget:type_name -> AbilityGadgetInfo + 10, // 9: SceneGadgetInfo.statue_gadget:type_name -> StatueGadgetInfo + 11, // 10: SceneGadgetInfo.boss_chest:type_name -> BossChestInfo + 12, // 11: SceneGadgetInfo.blossom_chest:type_name -> BlossomChestInfo + 13, // 12: SceneGadgetInfo.mp_play_reward:type_name -> MpPlayRewardInfo + 14, // 13: SceneGadgetInfo.general_reward:type_name -> GadgetGeneralRewardInfo + 15, // 14: SceneGadgetInfo.offering_info:type_name -> OfferingInfo + 16, // 15: SceneGadgetInfo.foundation_info:type_name -> FoundationInfo + 17, // 16: SceneGadgetInfo.vehicle_info:type_name -> VehicleInfo + 18, // 17: SceneGadgetInfo.shell_info:type_name -> EchoShellInfo + 19, // 18: SceneGadgetInfo.screen_info:type_name -> ScreenInfo + 20, // 19: SceneGadgetInfo.fish_pool_info:type_name -> FishPoolInfo + 21, // 20: SceneGadgetInfo.custom_gadget_tree_info:type_name -> CustomGadgetTreeInfo + 22, // 21: SceneGadgetInfo.roguelike_gadget_info:type_name -> RoguelikeGadgetInfo + 23, // 22: SceneGadgetInfo.night_crow_gadget_info:type_name -> NightCrowGadgetInfo + 24, // 23: SceneGadgetInfo.deshret_obelisk_gadget_info:type_name -> DeshretObeliskGadgetInfo + 24, // [24:24] is the sub-list for method output_type + 24, // [24:24] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_SceneGadgetInfo_proto_init() } +func file_SceneGadgetInfo_proto_init() { + if File_SceneGadgetInfo_proto != nil { + return + } + file_AbilityGadgetInfo_proto_init() + file_BlossomChestInfo_proto_init() + file_BossChestInfo_proto_init() + file_ClientGadgetInfo_proto_init() + file_CustomGadgetTreeInfo_proto_init() + file_DeshretObeliskGadgetInfo_proto_init() + file_EchoShellInfo_proto_init() + file_FishPoolInfo_proto_init() + file_FoundationInfo_proto_init() + file_GadgetBornType_proto_init() + file_GadgetGeneralRewardInfo_proto_init() + file_GadgetPlayInfo_proto_init() + file_GatherGadgetInfo_proto_init() + file_Item_proto_init() + file_MpPlayRewardInfo_proto_init() + file_NightCrowGadgetInfo_proto_init() + file_OfferingInfo_proto_init() + file_PlatformInfo_proto_init() + file_RoguelikeGadgetInfo_proto_init() + file_ScreenInfo_proto_init() + file_StatueGadgetInfo_proto_init() + file_VehicleInfo_proto_init() + file_WeatherInfo_proto_init() + file_WorktopInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_SceneGadgetInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SceneGadgetInfo_TrifleItem)(nil), + (*SceneGadgetInfo_GatherGadget)(nil), + (*SceneGadgetInfo_Worktop)(nil), + (*SceneGadgetInfo_ClientGadget)(nil), + (*SceneGadgetInfo_Weather)(nil), + (*SceneGadgetInfo_AbilityGadget)(nil), + (*SceneGadgetInfo_StatueGadget)(nil), + (*SceneGadgetInfo_BossChest)(nil), + (*SceneGadgetInfo_BlossomChest)(nil), + (*SceneGadgetInfo_MpPlayReward)(nil), + (*SceneGadgetInfo_GeneralReward)(nil), + (*SceneGadgetInfo_OfferingInfo)(nil), + (*SceneGadgetInfo_FoundationInfo)(nil), + (*SceneGadgetInfo_VehicleInfo)(nil), + (*SceneGadgetInfo_ShellInfo)(nil), + (*SceneGadgetInfo_ScreenInfo)(nil), + (*SceneGadgetInfo_FishPoolInfo)(nil), + (*SceneGadgetInfo_CustomGadgetTreeInfo)(nil), + (*SceneGadgetInfo_RoguelikeGadgetInfo)(nil), + (*SceneGadgetInfo_NightCrowGadgetInfo)(nil), + (*SceneGadgetInfo_DeshretObeliskGadgetInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGadgetInfo_proto_goTypes, + DependencyIndexes: file_SceneGadgetInfo_proto_depIdxs, + MessageInfos: file_SceneGadgetInfo_proto_msgTypes, + }.Build() + File_SceneGadgetInfo_proto = out.File + file_SceneGadgetInfo_proto_rawDesc = nil + file_SceneGadgetInfo_proto_goTypes = nil + file_SceneGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGadgetInfo.proto b/gate-hk4e-api/proto/SceneGadgetInfo.proto new file mode 100644 index 00000000..7b22f20c --- /dev/null +++ b/gate-hk4e-api/proto/SceneGadgetInfo.proto @@ -0,0 +1,88 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityGadgetInfo.proto"; +import "BlossomChestInfo.proto"; +import "BossChestInfo.proto"; +import "ClientGadgetInfo.proto"; +import "CustomGadgetTreeInfo.proto"; +import "DeshretObeliskGadgetInfo.proto"; +import "EchoShellInfo.proto"; +import "FishPoolInfo.proto"; +import "FoundationInfo.proto"; +import "GadgetBornType.proto"; +import "GadgetGeneralRewardInfo.proto"; +import "GadgetPlayInfo.proto"; +import "GatherGadgetInfo.proto"; +import "Item.proto"; +import "MpPlayRewardInfo.proto"; +import "NightCrowGadgetInfo.proto"; +import "OfferingInfo.proto"; +import "PlatformInfo.proto"; +import "RoguelikeGadgetInfo.proto"; +import "ScreenInfo.proto"; +import "StatueGadgetInfo.proto"; +import "VehicleInfo.proto"; +import "WeatherInfo.proto"; +import "WorktopInfo.proto"; + +option go_package = "./;proto"; + +message SceneGadgetInfo { + uint32 gadget_id = 1; + uint32 group_id = 2; + uint32 config_id = 3; + uint32 owner_entity_id = 4; + GadgetBornType born_type = 5; + uint32 gadget_state = 6; + uint32 gadget_type = 7; + bool is_show_cutscene = 8; + uint32 authority_peer_id = 9; + bool is_enable_interact = 10; + uint32 interact_id = 11; + uint32 mark_flag = 21; + uint32 prop_owner_entity_id = 22; + PlatformInfo platform = 23; + repeated uint32 interact_uid_list = 24; + uint32 draft_id = 25; + uint32 gadget_talk_state = 26; + GadgetPlayInfo play_info = 100; + oneof content { + Item trifle_item = 12; + GatherGadgetInfo gather_gadget = 13; + WorktopInfo worktop = 14; + ClientGadgetInfo client_gadget = 15; + WeatherInfo weather = 17; + AbilityGadgetInfo ability_gadget = 18; + StatueGadgetInfo statue_gadget = 19; + BossChestInfo boss_chest = 20; + BlossomChestInfo blossom_chest = 41; + MpPlayRewardInfo mp_play_reward = 42; + GadgetGeneralRewardInfo general_reward = 43; + OfferingInfo offering_info = 44; + FoundationInfo foundation_info = 45; + VehicleInfo vehicle_info = 46; + EchoShellInfo shell_info = 47; + ScreenInfo screen_info = 48; + FishPoolInfo fish_pool_info = 59; + CustomGadgetTreeInfo custom_gadget_tree_info = 60; + RoguelikeGadgetInfo roguelike_gadget_info = 61; + NightCrowGadgetInfo night_crow_gadget_info = 62; + DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63; + } +} diff --git a/gate-hk4e-api/proto/SceneGalleryBalloonInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryBalloonInfo.pb.go new file mode 100644 index 00000000..02b07466 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBalloonInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryBalloonInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryBalloonInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScenePlayerBalloonInfoMap map[uint32]*BalloonPlayerInfo `protobuf:"bytes,14,rep,name=scene_player_balloon_info_map,json=scenePlayerBalloonInfoMap,proto3" json:"scene_player_balloon_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + EndTime uint32 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *SceneGalleryBalloonInfo) Reset() { + *x = SceneGalleryBalloonInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryBalloonInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryBalloonInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryBalloonInfo) ProtoMessage() {} + +func (x *SceneGalleryBalloonInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryBalloonInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryBalloonInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryBalloonInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryBalloonInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryBalloonInfo) GetScenePlayerBalloonInfoMap() map[uint32]*BalloonPlayerInfo { + if x != nil { + return x.ScenePlayerBalloonInfoMap + } + return nil +} + +func (x *SceneGalleryBalloonInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_SceneGalleryBalloonInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryBalloonInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, + 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x17, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x79, 0x0a, 0x1d, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x60, 0x0a, 0x1e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryBalloonInfo_proto_rawDescOnce sync.Once + file_SceneGalleryBalloonInfo_proto_rawDescData = file_SceneGalleryBalloonInfo_proto_rawDesc +) + +func file_SceneGalleryBalloonInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryBalloonInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryBalloonInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryBalloonInfo_proto_rawDescData) + }) + return file_SceneGalleryBalloonInfo_proto_rawDescData +} + +var file_SceneGalleryBalloonInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneGalleryBalloonInfo_proto_goTypes = []interface{}{ + (*SceneGalleryBalloonInfo)(nil), // 0: SceneGalleryBalloonInfo + nil, // 1: SceneGalleryBalloonInfo.ScenePlayerBalloonInfoMapEntry + (*BalloonPlayerInfo)(nil), // 2: BalloonPlayerInfo +} +var file_SceneGalleryBalloonInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryBalloonInfo.scene_player_balloon_info_map:type_name -> SceneGalleryBalloonInfo.ScenePlayerBalloonInfoMapEntry + 2, // 1: SceneGalleryBalloonInfo.ScenePlayerBalloonInfoMapEntry.value:type_name -> BalloonPlayerInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneGalleryBalloonInfo_proto_init() } +func file_SceneGalleryBalloonInfo_proto_init() { + if File_SceneGalleryBalloonInfo_proto != nil { + return + } + file_BalloonPlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryBalloonInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryBalloonInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryBalloonInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryBalloonInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryBalloonInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryBalloonInfo_proto_msgTypes, + }.Build() + File_SceneGalleryBalloonInfo_proto = out.File + file_SceneGalleryBalloonInfo_proto_rawDesc = nil + file_SceneGalleryBalloonInfo_proto_goTypes = nil + file_SceneGalleryBalloonInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryBalloonInfo.proto b/gate-hk4e-api/proto/SceneGalleryBalloonInfo.proto new file mode 100644 index 00000000..039a70f6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBalloonInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BalloonPlayerInfo.proto"; + +option go_package = "./;proto"; + +message SceneGalleryBalloonInfo { + map scene_player_balloon_info_map = 14; + uint32 end_time = 5; +} diff --git a/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.pb.go new file mode 100644 index 00000000..bab14af8 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryBounceConjuringInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryBounceConjuringInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalDestroyedMachineCount uint32 `protobuf:"varint,4,opt,name=total_destroyed_machine_count,json=totalDestroyedMachineCount,proto3" json:"total_destroyed_machine_count,omitempty"` + TotalScore uint32 `protobuf:"varint,6,opt,name=total_score,json=totalScore,proto3" json:"total_score,omitempty"` +} + +func (x *SceneGalleryBounceConjuringInfo) Reset() { + *x = SceneGalleryBounceConjuringInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryBounceConjuringInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryBounceConjuringInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryBounceConjuringInfo) ProtoMessage() {} + +func (x *SceneGalleryBounceConjuringInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryBounceConjuringInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryBounceConjuringInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryBounceConjuringInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryBounceConjuringInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryBounceConjuringInfo) GetTotalDestroyedMachineCount() uint32 { + if x != nil { + return x.TotalDestroyedMachineCount + } + return 0 +} + +func (x *SceneGalleryBounceConjuringInfo) GetTotalScore() uint32 { + if x != nil { + return x.TotalScore + } + return 0 +} + +var File_SceneGalleryBounceConjuringInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryBounceConjuringInfo_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x6f, + 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x1d, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x5f, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, + 0x65, 0x64, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryBounceConjuringInfo_proto_rawDescOnce sync.Once + file_SceneGalleryBounceConjuringInfo_proto_rawDescData = file_SceneGalleryBounceConjuringInfo_proto_rawDesc +) + +func file_SceneGalleryBounceConjuringInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryBounceConjuringInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryBounceConjuringInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryBounceConjuringInfo_proto_rawDescData) + }) + return file_SceneGalleryBounceConjuringInfo_proto_rawDescData +} + +var file_SceneGalleryBounceConjuringInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryBounceConjuringInfo_proto_goTypes = []interface{}{ + (*SceneGalleryBounceConjuringInfo)(nil), // 0: SceneGalleryBounceConjuringInfo +} +var file_SceneGalleryBounceConjuringInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryBounceConjuringInfo_proto_init() } +func file_SceneGalleryBounceConjuringInfo_proto_init() { + if File_SceneGalleryBounceConjuringInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryBounceConjuringInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryBounceConjuringInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryBounceConjuringInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryBounceConjuringInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryBounceConjuringInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryBounceConjuringInfo_proto_msgTypes, + }.Build() + File_SceneGalleryBounceConjuringInfo_proto = out.File + file_SceneGalleryBounceConjuringInfo_proto_rawDesc = nil + file_SceneGalleryBounceConjuringInfo_proto_goTypes = nil + file_SceneGalleryBounceConjuringInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.proto b/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.proto new file mode 100644 index 00000000..ad574cf6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBounceConjuringInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryBounceConjuringInfo { + uint32 total_destroyed_machine_count = 4; + uint32 total_score = 6; +} diff --git a/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.pb.go new file mode 100644 index 00000000..2a525036 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryBrokenFloorInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryBrokenFloorInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FallCountMap map[uint32]uint32 `protobuf:"bytes,3,rep,name=fall_count_map,json=fallCountMap,proto3" json:"fall_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + EndTime uint32 `protobuf:"varint,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *SceneGalleryBrokenFloorInfo) Reset() { + *x = SceneGalleryBrokenFloorInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryBrokenFloorInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryBrokenFloorInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryBrokenFloorInfo) ProtoMessage() {} + +func (x *SceneGalleryBrokenFloorInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryBrokenFloorInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryBrokenFloorInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryBrokenFloorInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryBrokenFloorInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryBrokenFloorInfo) GetFallCountMap() map[uint32]uint32 { + if x != nil { + return x.FallCountMap + } + return nil +} + +func (x *SceneGalleryBrokenFloorInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_SceneGalleryBrokenFloorInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryBrokenFloorInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, + 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xcf, 0x01, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x54, 0x0a, 0x0e, 0x66, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x6e, + 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x66, 0x61, 0x6c, + 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x61, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryBrokenFloorInfo_proto_rawDescOnce sync.Once + file_SceneGalleryBrokenFloorInfo_proto_rawDescData = file_SceneGalleryBrokenFloorInfo_proto_rawDesc +) + +func file_SceneGalleryBrokenFloorInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryBrokenFloorInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryBrokenFloorInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryBrokenFloorInfo_proto_rawDescData) + }) + return file_SceneGalleryBrokenFloorInfo_proto_rawDescData +} + +var file_SceneGalleryBrokenFloorInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneGalleryBrokenFloorInfo_proto_goTypes = []interface{}{ + (*SceneGalleryBrokenFloorInfo)(nil), // 0: SceneGalleryBrokenFloorInfo + nil, // 1: SceneGalleryBrokenFloorInfo.FallCountMapEntry +} +var file_SceneGalleryBrokenFloorInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryBrokenFloorInfo.fall_count_map:type_name -> SceneGalleryBrokenFloorInfo.FallCountMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryBrokenFloorInfo_proto_init() } +func file_SceneGalleryBrokenFloorInfo_proto_init() { + if File_SceneGalleryBrokenFloorInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryBrokenFloorInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryBrokenFloorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryBrokenFloorInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryBrokenFloorInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryBrokenFloorInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryBrokenFloorInfo_proto_msgTypes, + }.Build() + File_SceneGalleryBrokenFloorInfo_proto = out.File + file_SceneGalleryBrokenFloorInfo_proto_rawDesc = nil + file_SceneGalleryBrokenFloorInfo_proto_goTypes = nil + file_SceneGalleryBrokenFloorInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.proto b/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.proto new file mode 100644 index 00000000..ccd19658 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBrokenFloorInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryBrokenFloorInfo { + map fall_count_map = 3; + uint32 end_time = 9; +} diff --git a/gate-hk4e-api/proto/SceneGalleryBulletInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryBulletInfo.pb.go new file mode 100644 index 00000000..cde8f5e1 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBulletInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryBulletInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryBulletInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + HitCountMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=hit_count_map,json=hitCountMap,proto3" json:"hit_count_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *SceneGalleryBulletInfo) Reset() { + *x = SceneGalleryBulletInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryBulletInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryBulletInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryBulletInfo) ProtoMessage() {} + +func (x *SceneGalleryBulletInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryBulletInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryBulletInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryBulletInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryBulletInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryBulletInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *SceneGalleryBulletInfo) GetHitCountMap() map[uint32]uint32 { + if x != nil { + return x.HitCountMap + } + return nil +} + +var File_SceneGalleryBulletInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryBulletInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, + 0x6c, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, + 0x01, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, + 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x68, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, + 0x61, 0x70, 0x1a, 0x3e, 0x0a, 0x10, 0x48, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryBulletInfo_proto_rawDescOnce sync.Once + file_SceneGalleryBulletInfo_proto_rawDescData = file_SceneGalleryBulletInfo_proto_rawDesc +) + +func file_SceneGalleryBulletInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryBulletInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryBulletInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryBulletInfo_proto_rawDescData) + }) + return file_SceneGalleryBulletInfo_proto_rawDescData +} + +var file_SceneGalleryBulletInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneGalleryBulletInfo_proto_goTypes = []interface{}{ + (*SceneGalleryBulletInfo)(nil), // 0: SceneGalleryBulletInfo + nil, // 1: SceneGalleryBulletInfo.HitCountMapEntry +} +var file_SceneGalleryBulletInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryBulletInfo.hit_count_map:type_name -> SceneGalleryBulletInfo.HitCountMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryBulletInfo_proto_init() } +func file_SceneGalleryBulletInfo_proto_init() { + if File_SceneGalleryBulletInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryBulletInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryBulletInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryBulletInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryBulletInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryBulletInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryBulletInfo_proto_msgTypes, + }.Build() + File_SceneGalleryBulletInfo_proto = out.File + file_SceneGalleryBulletInfo_proto_rawDesc = nil + file_SceneGalleryBulletInfo_proto_goTypes = nil + file_SceneGalleryBulletInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryBulletInfo.proto b/gate-hk4e-api/proto/SceneGalleryBulletInfo.proto new file mode 100644 index 00000000..5315e487 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBulletInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryBulletInfo { + uint32 end_time = 1; + map hit_count_map = 10; +} diff --git a/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.pb.go new file mode 100644 index 00000000..073971c5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryBuoyantCombatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryBuoyantCombatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,6,opt,name=score,proto3" json:"score,omitempty"` + KillSpecialMonsterCount uint32 `protobuf:"varint,1,opt,name=kill_special_monster_count,json=killSpecialMonsterCount,proto3" json:"kill_special_monster_count,omitempty"` + KillMonsterCount uint32 `protobuf:"varint,14,opt,name=kill_monster_count,json=killMonsterCount,proto3" json:"kill_monster_count,omitempty"` +} + +func (x *SceneGalleryBuoyantCombatInfo) Reset() { + *x = SceneGalleryBuoyantCombatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryBuoyantCombatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryBuoyantCombatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryBuoyantCombatInfo) ProtoMessage() {} + +func (x *SceneGalleryBuoyantCombatInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryBuoyantCombatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryBuoyantCombatInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryBuoyantCombatInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryBuoyantCombatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryBuoyantCombatInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SceneGalleryBuoyantCombatInfo) GetKillSpecialMonsterCount() uint32 { + if x != nil { + return x.KillSpecialMonsterCount + } + return 0 +} + +func (x *SceneGalleryBuoyantCombatInfo) GetKillMonsterCount() uint32 { + if x != nil { + return x.KillMonsterCount + } + return 0 +} + +var File_SceneGalleryBuoyantCombatInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryBuoyantCombatInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, + 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, + 0x62, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x3b, 0x0a, + 0x1a, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x17, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x4d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x69, + 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryBuoyantCombatInfo_proto_rawDescOnce sync.Once + file_SceneGalleryBuoyantCombatInfo_proto_rawDescData = file_SceneGalleryBuoyantCombatInfo_proto_rawDesc +) + +func file_SceneGalleryBuoyantCombatInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryBuoyantCombatInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryBuoyantCombatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryBuoyantCombatInfo_proto_rawDescData) + }) + return file_SceneGalleryBuoyantCombatInfo_proto_rawDescData +} + +var file_SceneGalleryBuoyantCombatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryBuoyantCombatInfo_proto_goTypes = []interface{}{ + (*SceneGalleryBuoyantCombatInfo)(nil), // 0: SceneGalleryBuoyantCombatInfo +} +var file_SceneGalleryBuoyantCombatInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryBuoyantCombatInfo_proto_init() } +func file_SceneGalleryBuoyantCombatInfo_proto_init() { + if File_SceneGalleryBuoyantCombatInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryBuoyantCombatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryBuoyantCombatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryBuoyantCombatInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryBuoyantCombatInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryBuoyantCombatInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryBuoyantCombatInfo_proto_msgTypes, + }.Build() + File_SceneGalleryBuoyantCombatInfo_proto = out.File + file_SceneGalleryBuoyantCombatInfo_proto_rawDesc = nil + file_SceneGalleryBuoyantCombatInfo_proto_goTypes = nil + file_SceneGalleryBuoyantCombatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.proto b/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.proto new file mode 100644 index 00000000..3747a445 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryBuoyantCombatInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryBuoyantCombatInfo { + uint32 score = 6; + uint32 kill_special_monster_count = 1; + uint32 kill_monster_count = 14; +} diff --git a/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.pb.go new file mode 100644 index 00000000..b76a9bd6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryCrystalLinkInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryCrystalLinkInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *SceneGalleryCrystalLinkInfo) Reset() { + *x = SceneGalleryCrystalLinkInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryCrystalLinkInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryCrystalLinkInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryCrystalLinkInfo) ProtoMessage() {} + +func (x *SceneGalleryCrystalLinkInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryCrystalLinkInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryCrystalLinkInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryCrystalLinkInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryCrystalLinkInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryCrystalLinkInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +var File_SceneGalleryCrystalLinkInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryCrystalLinkInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x43, 0x72, + 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryCrystalLinkInfo_proto_rawDescOnce sync.Once + file_SceneGalleryCrystalLinkInfo_proto_rawDescData = file_SceneGalleryCrystalLinkInfo_proto_rawDesc +) + +func file_SceneGalleryCrystalLinkInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryCrystalLinkInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryCrystalLinkInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryCrystalLinkInfo_proto_rawDescData) + }) + return file_SceneGalleryCrystalLinkInfo_proto_rawDescData +} + +var file_SceneGalleryCrystalLinkInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryCrystalLinkInfo_proto_goTypes = []interface{}{ + (*SceneGalleryCrystalLinkInfo)(nil), // 0: SceneGalleryCrystalLinkInfo +} +var file_SceneGalleryCrystalLinkInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryCrystalLinkInfo_proto_init() } +func file_SceneGalleryCrystalLinkInfo_proto_init() { + if File_SceneGalleryCrystalLinkInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryCrystalLinkInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryCrystalLinkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryCrystalLinkInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryCrystalLinkInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryCrystalLinkInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryCrystalLinkInfo_proto_msgTypes, + }.Build() + File_SceneGalleryCrystalLinkInfo_proto = out.File + file_SceneGalleryCrystalLinkInfo_proto_rawDesc = nil + file_SceneGalleryCrystalLinkInfo_proto_goTypes = nil + file_SceneGalleryCrystalLinkInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.proto b/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.proto new file mode 100644 index 00000000..008c5e2e --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryCrystalLinkInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryCrystalLinkInfo { + uint32 score = 10; +} diff --git a/gate-hk4e-api/proto/SceneGalleryFallInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryFallInfo.pb.go new file mode 100644 index 00000000..240f26a9 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryFallInfo.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryFallInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryFallInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScenePlayerFallInfoMap map[uint32]*FallPlayerInfo `protobuf:"bytes,12,rep,name=scene_player_fall_info_map,json=scenePlayerFallInfoMap,proto3" json:"scene_player_fall_info_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + EndTime uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *SceneGalleryFallInfo) Reset() { + *x = SceneGalleryFallInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryFallInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryFallInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryFallInfo) ProtoMessage() {} + +func (x *SceneGalleryFallInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryFallInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryFallInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryFallInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryFallInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryFallInfo) GetScenePlayerFallInfoMap() map[uint32]*FallPlayerInfo { + if x != nil { + return x.ScenePlayerFallInfoMap + } + return nil +} + +func (x *SceneGalleryFallInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_SceneGalleryFallInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryFallInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x46, 0x61, + 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xfc, 0x01, 0x0a, 0x14, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x6d, 0x0a, 0x1a, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x6c, 0x6c, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x16, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x46, + 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x5a, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryFallInfo_proto_rawDescOnce sync.Once + file_SceneGalleryFallInfo_proto_rawDescData = file_SceneGalleryFallInfo_proto_rawDesc +) + +func file_SceneGalleryFallInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryFallInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryFallInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryFallInfo_proto_rawDescData) + }) + return file_SceneGalleryFallInfo_proto_rawDescData +} + +var file_SceneGalleryFallInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneGalleryFallInfo_proto_goTypes = []interface{}{ + (*SceneGalleryFallInfo)(nil), // 0: SceneGalleryFallInfo + nil, // 1: SceneGalleryFallInfo.ScenePlayerFallInfoMapEntry + (*FallPlayerInfo)(nil), // 2: FallPlayerInfo +} +var file_SceneGalleryFallInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryFallInfo.scene_player_fall_info_map:type_name -> SceneGalleryFallInfo.ScenePlayerFallInfoMapEntry + 2, // 1: SceneGalleryFallInfo.ScenePlayerFallInfoMapEntry.value:type_name -> FallPlayerInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneGalleryFallInfo_proto_init() } +func file_SceneGalleryFallInfo_proto_init() { + if File_SceneGalleryFallInfo_proto != nil { + return + } + file_FallPlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryFallInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryFallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryFallInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryFallInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryFallInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryFallInfo_proto_msgTypes, + }.Build() + File_SceneGalleryFallInfo_proto = out.File + file_SceneGalleryFallInfo_proto_rawDesc = nil + file_SceneGalleryFallInfo_proto_goTypes = nil + file_SceneGalleryFallInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryFallInfo.proto b/gate-hk4e-api/proto/SceneGalleryFallInfo.proto new file mode 100644 index 00000000..4e410cd4 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryFallInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FallPlayerInfo.proto"; + +option go_package = "./;proto"; + +message SceneGalleryFallInfo { + map scene_player_fall_info_map = 12; + uint32 end_time = 2; +} diff --git a/gate-hk4e-api/proto/SceneGalleryFlowerInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryFlowerInfo.pb.go new file mode 100644 index 00000000..815e7202 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryFlowerInfo.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryFlowerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryFlowerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + TargetScore uint32 `protobuf:"varint,13,opt,name=target_score,json=targetScore,proto3" json:"target_score,omitempty"` + CurScore uint32 `protobuf:"varint,9,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` +} + +func (x *SceneGalleryFlowerInfo) Reset() { + *x = SceneGalleryFlowerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryFlowerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryFlowerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryFlowerInfo) ProtoMessage() {} + +func (x *SceneGalleryFlowerInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryFlowerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryFlowerInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryFlowerInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryFlowerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryFlowerInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *SceneGalleryFlowerInfo) GetTargetScore() uint32 { + if x != nil { + return x.TargetScore + } + return 0 +} + +func (x *SceneGalleryFlowerInfo) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +var File_SceneGalleryFlowerInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryFlowerInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, + 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryFlowerInfo_proto_rawDescOnce sync.Once + file_SceneGalleryFlowerInfo_proto_rawDescData = file_SceneGalleryFlowerInfo_proto_rawDesc +) + +func file_SceneGalleryFlowerInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryFlowerInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryFlowerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryFlowerInfo_proto_rawDescData) + }) + return file_SceneGalleryFlowerInfo_proto_rawDescData +} + +var file_SceneGalleryFlowerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryFlowerInfo_proto_goTypes = []interface{}{ + (*SceneGalleryFlowerInfo)(nil), // 0: SceneGalleryFlowerInfo +} +var file_SceneGalleryFlowerInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryFlowerInfo_proto_init() } +func file_SceneGalleryFlowerInfo_proto_init() { + if File_SceneGalleryFlowerInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryFlowerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryFlowerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryFlowerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryFlowerInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryFlowerInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryFlowerInfo_proto_msgTypes, + }.Build() + File_SceneGalleryFlowerInfo_proto = out.File + file_SceneGalleryFlowerInfo_proto_rawDesc = nil + file_SceneGalleryFlowerInfo_proto_goTypes = nil + file_SceneGalleryFlowerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryFlowerInfo.proto b/gate-hk4e-api/proto/SceneGalleryFlowerInfo.proto new file mode 100644 index 00000000..d365bfe2 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryFlowerInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryFlowerInfo { + uint32 end_time = 7; + uint32 target_score = 13; + uint32 cur_score = 9; +} diff --git a/gate-hk4e-api/proto/SceneGalleryHandballInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryHandballInfo.pb.go new file mode 100644 index 00000000..eb34b7d9 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHandballInfo.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryHandballInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryHandballInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BallPlaceInfo *PlaceInfo `protobuf:"bytes,9,opt,name=ball_place_info,json=ballPlaceInfo,proto3" json:"ball_place_info,omitempty"` + IsHaveBall bool `protobuf:"varint,15,opt,name=is_have_ball,json=isHaveBall,proto3" json:"is_have_ball,omitempty"` +} + +func (x *SceneGalleryHandballInfo) Reset() { + *x = SceneGalleryHandballInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryHandballInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryHandballInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryHandballInfo) ProtoMessage() {} + +func (x *SceneGalleryHandballInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryHandballInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryHandballInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryHandballInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryHandballInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryHandballInfo) GetBallPlaceInfo() *PlaceInfo { + if x != nil { + return x.BallPlaceInfo + } + return nil +} + +func (x *SceneGalleryHandballInfo) GetIsHaveBall() bool { + if x != nil { + return x.IsHaveBall + } + return false +} + +var File_SceneGalleryHandballInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryHandballInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x61, + 0x6e, 0x64, 0x62, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x70, 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x48, 0x61, 0x6e, 0x64, 0x62, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, + 0x0f, 0x62, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0d, 0x62, 0x61, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x68, 0x61, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, + 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x48, 0x61, 0x76, 0x65, 0x42, + 0x61, 0x6c, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryHandballInfo_proto_rawDescOnce sync.Once + file_SceneGalleryHandballInfo_proto_rawDescData = file_SceneGalleryHandballInfo_proto_rawDesc +) + +func file_SceneGalleryHandballInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryHandballInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryHandballInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryHandballInfo_proto_rawDescData) + }) + return file_SceneGalleryHandballInfo_proto_rawDescData +} + +var file_SceneGalleryHandballInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryHandballInfo_proto_goTypes = []interface{}{ + (*SceneGalleryHandballInfo)(nil), // 0: SceneGalleryHandballInfo + (*PlaceInfo)(nil), // 1: PlaceInfo +} +var file_SceneGalleryHandballInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryHandballInfo.ball_place_info:type_name -> PlaceInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryHandballInfo_proto_init() } +func file_SceneGalleryHandballInfo_proto_init() { + if File_SceneGalleryHandballInfo_proto != nil { + return + } + file_PlaceInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryHandballInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryHandballInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryHandballInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryHandballInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryHandballInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryHandballInfo_proto_msgTypes, + }.Build() + File_SceneGalleryHandballInfo_proto = out.File + file_SceneGalleryHandballInfo_proto_rawDesc = nil + file_SceneGalleryHandballInfo_proto_goTypes = nil + file_SceneGalleryHandballInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryHandballInfo.proto b/gate-hk4e-api/proto/SceneGalleryHandballInfo.proto new file mode 100644 index 00000000..ed03e1d6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHandballInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlaceInfo.proto"; + +option go_package = "./;proto"; + +message SceneGalleryHandballInfo { + PlaceInfo ball_place_info = 9; + bool is_have_ball = 15; +} diff --git a/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.pb.go new file mode 100644 index 00000000..e5f1d477 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryHideAndSeekInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryHideAndSeekInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VisibleUidList []uint32 `protobuf:"varint,13,rep,packed,name=visible_uid_list,json=visibleUidList,proto3" json:"visible_uid_list,omitempty"` + CaughtUidList []uint32 `protobuf:"varint,4,rep,packed,name=caught_uid_list,json=caughtUidList,proto3" json:"caught_uid_list,omitempty"` +} + +func (x *SceneGalleryHideAndSeekInfo) Reset() { + *x = SceneGalleryHideAndSeekInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryHideAndSeekInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryHideAndSeekInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryHideAndSeekInfo) ProtoMessage() {} + +func (x *SceneGalleryHideAndSeekInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryHideAndSeekInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryHideAndSeekInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryHideAndSeekInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryHideAndSeekInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryHideAndSeekInfo) GetVisibleUidList() []uint32 { + if x != nil { + return x.VisibleUidList + } + return nil +} + +func (x *SceneGalleryHideAndSeekInfo) GetCaughtUidList() []uint32 { + if x != nil { + return x.CaughtUidList + } + return nil +} + +var File_SceneGalleryHideAndSeekInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryHideAndSeekInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x69, + 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x75, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x76, 0x69, + 0x73, 0x69, 0x62, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, + 0x63, 0x61, 0x75, 0x67, 0x68, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x61, 0x75, 0x67, 0x68, 0x74, 0x55, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryHideAndSeekInfo_proto_rawDescOnce sync.Once + file_SceneGalleryHideAndSeekInfo_proto_rawDescData = file_SceneGalleryHideAndSeekInfo_proto_rawDesc +) + +func file_SceneGalleryHideAndSeekInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryHideAndSeekInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryHideAndSeekInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryHideAndSeekInfo_proto_rawDescData) + }) + return file_SceneGalleryHideAndSeekInfo_proto_rawDescData +} + +var file_SceneGalleryHideAndSeekInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryHideAndSeekInfo_proto_goTypes = []interface{}{ + (*SceneGalleryHideAndSeekInfo)(nil), // 0: SceneGalleryHideAndSeekInfo +} +var file_SceneGalleryHideAndSeekInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryHideAndSeekInfo_proto_init() } +func file_SceneGalleryHideAndSeekInfo_proto_init() { + if File_SceneGalleryHideAndSeekInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryHideAndSeekInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryHideAndSeekInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryHideAndSeekInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryHideAndSeekInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryHideAndSeekInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryHideAndSeekInfo_proto_msgTypes, + }.Build() + File_SceneGalleryHideAndSeekInfo_proto = out.File + file_SceneGalleryHideAndSeekInfo_proto_rawDesc = nil + file_SceneGalleryHideAndSeekInfo_proto_goTypes = nil + file_SceneGalleryHideAndSeekInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.proto b/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.proto new file mode 100644 index 00000000..3a184b57 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHideAndSeekInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryHideAndSeekInfo { + repeated uint32 visible_uid_list = 13; + repeated uint32 caught_uid_list = 4; +} diff --git a/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.pb.go new file mode 100644 index 00000000..1a885863 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryHomeBalloonInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryHomeBalloonInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *SceneGalleryHomeBalloonInfo) Reset() { + *x = SceneGalleryHomeBalloonInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryHomeBalloonInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryHomeBalloonInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryHomeBalloonInfo) ProtoMessage() {} + +func (x *SceneGalleryHomeBalloonInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryHomeBalloonInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryHomeBalloonInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryHomeBalloonInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryHomeBalloonInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryHomeBalloonInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +var File_SceneGalleryHomeBalloonInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryHomeBalloonInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, + 0x6d, 0x65, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryHomeBalloonInfo_proto_rawDescOnce sync.Once + file_SceneGalleryHomeBalloonInfo_proto_rawDescData = file_SceneGalleryHomeBalloonInfo_proto_rawDesc +) + +func file_SceneGalleryHomeBalloonInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryHomeBalloonInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryHomeBalloonInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryHomeBalloonInfo_proto_rawDescData) + }) + return file_SceneGalleryHomeBalloonInfo_proto_rawDescData +} + +var file_SceneGalleryHomeBalloonInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryHomeBalloonInfo_proto_goTypes = []interface{}{ + (*SceneGalleryHomeBalloonInfo)(nil), // 0: SceneGalleryHomeBalloonInfo +} +var file_SceneGalleryHomeBalloonInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryHomeBalloonInfo_proto_init() } +func file_SceneGalleryHomeBalloonInfo_proto_init() { + if File_SceneGalleryHomeBalloonInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryHomeBalloonInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryHomeBalloonInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryHomeBalloonInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryHomeBalloonInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryHomeBalloonInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryHomeBalloonInfo_proto_msgTypes, + }.Build() + File_SceneGalleryHomeBalloonInfo_proto = out.File + file_SceneGalleryHomeBalloonInfo_proto_rawDesc = nil + file_SceneGalleryHomeBalloonInfo_proto_goTypes = nil + file_SceneGalleryHomeBalloonInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.proto b/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.proto new file mode 100644 index 00000000..3291248f --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHomeBalloonInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryHomeBalloonInfo { + uint32 score = 7; +} diff --git a/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.pb.go new file mode 100644 index 00000000..775ef4ba --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryHomeSeekFurnitureInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryHomeSeekFurnitureInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KDBENBBODGP uint32 `protobuf:"varint,6,opt,name=Unk2700_KDBENBBODGP,json=Unk2700KDBENBBODGP,proto3" json:"Unk2700_KDBENBBODGP,omitempty"` + Unk2700_DDHOJHOICBL map[uint32]uint32 `protobuf:"bytes,8,rep,name=Unk2700_DDHOJHOICBL,json=Unk2700DDHOJHOICBL,proto3" json:"Unk2700_DDHOJHOICBL,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_LODFFCPFJLC uint32 `protobuf:"varint,12,opt,name=Unk2700_LODFFCPFJLC,json=Unk2700LODFFCPFJLC,proto3" json:"Unk2700_LODFFCPFJLC,omitempty"` + Unk2700_HLCIHCCGFFC uint32 `protobuf:"varint,9,opt,name=Unk2700_HLCIHCCGFFC,json=Unk2700HLCIHCCGFFC,proto3" json:"Unk2700_HLCIHCCGFFC,omitempty"` +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) Reset() { + *x = SceneGalleryHomeSeekFurnitureInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryHomeSeekFurnitureInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryHomeSeekFurnitureInfo) ProtoMessage() {} + +func (x *SceneGalleryHomeSeekFurnitureInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryHomeSeekFurnitureInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryHomeSeekFurnitureInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryHomeSeekFurnitureInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) GetUnk2700_KDBENBBODGP() uint32 { + if x != nil { + return x.Unk2700_KDBENBBODGP + } + return 0 +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) GetUnk2700_DDHOJHOICBL() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DDHOJHOICBL + } + return nil +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) GetUnk2700_LODFFCPFJLC() uint32 { + if x != nil { + return x.Unk2700_LODFFCPFJLC + } + return 0 +} + +func (x *SceneGalleryHomeSeekFurnitureInfo) GetUnk2700_HLCIHCCGFFC() uint32 { + if x != nil { + return x.Unk2700_HLCIHCCGFFC + } + return 0 +} + +var File_SceneGalleryHomeSeekFurnitureInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, + 0x6d, 0x65, 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x02, 0x0a, 0x21, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x65, + 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x42, 0x45, 0x4e, + 0x42, 0x42, 0x4f, 0x44, 0x47, 0x50, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x44, 0x42, 0x45, 0x4e, 0x42, 0x42, 0x4f, 0x44, 0x47, 0x50, + 0x12, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x44, 0x48, 0x4f, + 0x4a, 0x48, 0x4f, 0x49, 0x43, 0x42, 0x4c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, 0x65, + 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x44, 0x48, 0x4f, 0x4a, 0x48, 0x4f, + 0x49, 0x43, 0x42, 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x44, 0x44, 0x48, 0x4f, 0x4a, 0x48, 0x4f, 0x49, 0x43, 0x42, 0x4c, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x44, 0x46, 0x46, 0x43, 0x50, + 0x46, 0x4a, 0x4c, 0x43, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4c, 0x4f, 0x44, 0x46, 0x46, 0x43, 0x50, 0x46, 0x4a, 0x4c, 0x43, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x43, 0x49, 0x48, 0x43, + 0x43, 0x47, 0x46, 0x46, 0x43, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x4c, 0x43, 0x49, 0x48, 0x43, 0x43, 0x47, 0x46, 0x46, 0x43, 0x1a, + 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x44, 0x48, 0x4f, 0x4a, 0x48, + 0x4f, 0x49, 0x43, 0x42, 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescOnce sync.Once + file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescData = file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDesc +) + +func file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescData) + }) + return file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDescData +} + +var file_SceneGalleryHomeSeekFurnitureInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneGalleryHomeSeekFurnitureInfo_proto_goTypes = []interface{}{ + (*SceneGalleryHomeSeekFurnitureInfo)(nil), // 0: SceneGalleryHomeSeekFurnitureInfo + nil, // 1: SceneGalleryHomeSeekFurnitureInfo.Unk2700DDHOJHOICBLEntry +} +var file_SceneGalleryHomeSeekFurnitureInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryHomeSeekFurnitureInfo.Unk2700_DDHOJHOICBL:type_name -> SceneGalleryHomeSeekFurnitureInfo.Unk2700DDHOJHOICBLEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryHomeSeekFurnitureInfo_proto_init() } +func file_SceneGalleryHomeSeekFurnitureInfo_proto_init() { + if File_SceneGalleryHomeSeekFurnitureInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryHomeSeekFurnitureInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryHomeSeekFurnitureInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryHomeSeekFurnitureInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryHomeSeekFurnitureInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryHomeSeekFurnitureInfo_proto_msgTypes, + }.Build() + File_SceneGalleryHomeSeekFurnitureInfo_proto = out.File + file_SceneGalleryHomeSeekFurnitureInfo_proto_rawDesc = nil + file_SceneGalleryHomeSeekFurnitureInfo_proto_goTypes = nil + file_SceneGalleryHomeSeekFurnitureInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.proto b/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.proto new file mode 100644 index 00000000..a8c4adda --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryHomeSeekFurnitureInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryHomeSeekFurnitureInfo { + uint32 Unk2700_KDBENBBODGP = 6; + map Unk2700_DDHOJHOICBL = 8; + uint32 Unk2700_LODFFCPFJLC = 12; + uint32 Unk2700_HLCIHCCGFFC = 9; +} diff --git a/gate-hk4e-api/proto/SceneGalleryInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryInfo.pb.go new file mode 100644 index 00000000..9626d37b --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInfo.pb.go @@ -0,0 +1,854 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EndTime uint32 `protobuf:"varint,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + PreStartEndTime uint32 `protobuf:"varint,15,opt,name=pre_start_end_time,json=preStartEndTime,proto3" json:"pre_start_end_time,omitempty"` + Stage GalleryStageType `protobuf:"varint,5,opt,name=stage,proto3,enum=GalleryStageType" json:"stage,omitempty"` + OwnerUid uint32 `protobuf:"varint,9,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` + PlayerCount uint32 `protobuf:"varint,1,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"` + ProgressInfoList []*SceneGalleryProgressInfo `protobuf:"bytes,4,rep,name=progress_info_list,json=progressInfoList,proto3" json:"progress_info_list,omitempty"` + GalleryId uint32 `protobuf:"varint,2,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + // Types that are assignable to Info: + // *SceneGalleryInfo_BalloonInfo + // *SceneGalleryInfo_FallInfo + // *SceneGalleryInfo_FlowerInfo + // *SceneGalleryInfo_BulletInfo + // *SceneGalleryInfo_BrokenFloorInfo + // *SceneGalleryInfo_HideAndSeekInfo + // *SceneGalleryInfo_BuoyantCombatInfo + // *SceneGalleryInfo_BounceConjuringInfo + // *SceneGalleryInfo_HandballInfo + // *SceneGalleryInfo_SumoInfo + // *SceneGalleryInfo_SalvagePreventInfo + // *SceneGalleryInfo_SalvageEscortInfo + // *SceneGalleryInfo_HomeBalloonInfo + // *SceneGalleryInfo_CrystalLinkInfo + // *SceneGalleryInfo_IrodoriMasterInfo + // *SceneGalleryInfo_LuminanceStoneChallengeInfo + // *SceneGalleryInfo_HomeSeekFurnitureInfo + // *SceneGalleryInfo_IslandPartyDownHillInfo + // *SceneGalleryInfo_SummerTimeV2BoatInfo + // *SceneGalleryInfo_IslandPartyRaftInfo + // *SceneGalleryInfo_IslandPartySailInfo + // *SceneGalleryInfo_InstableSprayInfo + // *SceneGalleryInfo_MuqadasPotionInfo + // *SceneGalleryInfo_TreasureSeelieInfo + Info isSceneGalleryInfo_Info `protobuf_oneof:"info"` +} + +func (x *SceneGalleryInfo) Reset() { + *x = SceneGalleryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryInfo) ProtoMessage() {} + +func (x *SceneGalleryInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *SceneGalleryInfo) GetPreStartEndTime() uint32 { + if x != nil { + return x.PreStartEndTime + } + return 0 +} + +func (x *SceneGalleryInfo) GetStage() GalleryStageType { + if x != nil { + return x.Stage + } + return GalleryStageType_GALLERY_STAGE_TYPE_NONE +} + +func (x *SceneGalleryInfo) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +func (x *SceneGalleryInfo) GetPlayerCount() uint32 { + if x != nil { + return x.PlayerCount + } + return 0 +} + +func (x *SceneGalleryInfo) GetProgressInfoList() []*SceneGalleryProgressInfo { + if x != nil { + return x.ProgressInfoList + } + return nil +} + +func (x *SceneGalleryInfo) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (m *SceneGalleryInfo) GetInfo() isSceneGalleryInfo_Info { + if m != nil { + return m.Info + } + return nil +} + +func (x *SceneGalleryInfo) GetBalloonInfo() *SceneGalleryBalloonInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_BalloonInfo); ok { + return x.BalloonInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetFallInfo() *SceneGalleryFallInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_FallInfo); ok { + return x.FallInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetFlowerInfo() *SceneGalleryFlowerInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_FlowerInfo); ok { + return x.FlowerInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetBulletInfo() *SceneGalleryBulletInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_BulletInfo); ok { + return x.BulletInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetBrokenFloorInfo() *SceneGalleryBrokenFloorInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_BrokenFloorInfo); ok { + return x.BrokenFloorInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetHideAndSeekInfo() *SceneGalleryHideAndSeekInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_HideAndSeekInfo); ok { + return x.HideAndSeekInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetBuoyantCombatInfo() *SceneGalleryBuoyantCombatInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_BuoyantCombatInfo); ok { + return x.BuoyantCombatInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetBounceConjuringInfo() *SceneGalleryBounceConjuringInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_BounceConjuringInfo); ok { + return x.BounceConjuringInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetHandballInfo() *SceneGalleryHandballInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_HandballInfo); ok { + return x.HandballInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetSumoInfo() *SceneGallerySumoInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_SumoInfo); ok { + return x.SumoInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetSalvagePreventInfo() *SceneGallerySalvagePreventInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_SalvagePreventInfo); ok { + return x.SalvagePreventInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetSalvageEscortInfo() *SceneGallerySalvageEscortInfoInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_SalvageEscortInfo); ok { + return x.SalvageEscortInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetHomeBalloonInfo() *SceneGalleryHomeBalloonInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_HomeBalloonInfo); ok { + return x.HomeBalloonInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetCrystalLinkInfo() *SceneGalleryCrystalLinkInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_CrystalLinkInfo); ok { + return x.CrystalLinkInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetIrodoriMasterInfo() *SceneGalleryIrodoriMasterInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_IrodoriMasterInfo); ok { + return x.IrodoriMasterInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetLuminanceStoneChallengeInfo() *SceneGalleryLuminanceStoneChallengeInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_LuminanceStoneChallengeInfo); ok { + return x.LuminanceStoneChallengeInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetHomeSeekFurnitureInfo() *SceneGalleryHomeSeekFurnitureInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_HomeSeekFurnitureInfo); ok { + return x.HomeSeekFurnitureInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetIslandPartyDownHillInfo() *SceneGalleryIslandPartyDownHillInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_IslandPartyDownHillInfo); ok { + return x.IslandPartyDownHillInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetSummerTimeV2BoatInfo() *SceneGallerySummerTimeV2BoatInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_SummerTimeV2BoatInfo); ok { + return x.SummerTimeV2BoatInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetIslandPartyRaftInfo() *SceneGalleryIslandPartyRaftInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_IslandPartyRaftInfo); ok { + return x.IslandPartyRaftInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetIslandPartySailInfo() *SceneGalleryIslandPartySailInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_IslandPartySailInfo); ok { + return x.IslandPartySailInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetInstableSprayInfo() *SceneGalleryInstableSprayInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_InstableSprayInfo); ok { + return x.InstableSprayInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetMuqadasPotionInfo() *SceneGalleryMuqadasPotionInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_MuqadasPotionInfo); ok { + return x.MuqadasPotionInfo + } + return nil +} + +func (x *SceneGalleryInfo) GetTreasureSeelieInfo() *SceneGalleryTreasureSeelieInfo { + if x, ok := x.GetInfo().(*SceneGalleryInfo_TreasureSeelieInfo); ok { + return x.TreasureSeelieInfo + } + return nil +} + +type isSceneGalleryInfo_Info interface { + isSceneGalleryInfo_Info() +} + +type SceneGalleryInfo_BalloonInfo struct { + BalloonInfo *SceneGalleryBalloonInfo `protobuf:"bytes,14,opt,name=balloon_info,json=balloonInfo,proto3,oneof"` +} + +type SceneGalleryInfo_FallInfo struct { + FallInfo *SceneGalleryFallInfo `protobuf:"bytes,7,opt,name=fall_info,json=fallInfo,proto3,oneof"` +} + +type SceneGalleryInfo_FlowerInfo struct { + FlowerInfo *SceneGalleryFlowerInfo `protobuf:"bytes,8,opt,name=flower_info,json=flowerInfo,proto3,oneof"` +} + +type SceneGalleryInfo_BulletInfo struct { + BulletInfo *SceneGalleryBulletInfo `protobuf:"bytes,13,opt,name=bullet_info,json=bulletInfo,proto3,oneof"` +} + +type SceneGalleryInfo_BrokenFloorInfo struct { + BrokenFloorInfo *SceneGalleryBrokenFloorInfo `protobuf:"bytes,10,opt,name=broken_floor_info,json=brokenFloorInfo,proto3,oneof"` +} + +type SceneGalleryInfo_HideAndSeekInfo struct { + HideAndSeekInfo *SceneGalleryHideAndSeekInfo `protobuf:"bytes,6,opt,name=hide_and_seek_info,json=hideAndSeekInfo,proto3,oneof"` +} + +type SceneGalleryInfo_BuoyantCombatInfo struct { + BuoyantCombatInfo *SceneGalleryBuoyantCombatInfo `protobuf:"bytes,1384,opt,name=buoyant_combat_info,json=buoyantCombatInfo,proto3,oneof"` +} + +type SceneGalleryInfo_BounceConjuringInfo struct { + BounceConjuringInfo *SceneGalleryBounceConjuringInfo `protobuf:"bytes,708,opt,name=bounce_conjuring_info,json=bounceConjuringInfo,proto3,oneof"` +} + +type SceneGalleryInfo_HandballInfo struct { + HandballInfo *SceneGalleryHandballInfo `protobuf:"bytes,1997,opt,name=handball_info,json=handballInfo,proto3,oneof"` +} + +type SceneGalleryInfo_SumoInfo struct { + SumoInfo *SceneGallerySumoInfo `protobuf:"bytes,811,opt,name=sumo_info,json=sumoInfo,proto3,oneof"` +} + +type SceneGalleryInfo_SalvagePreventInfo struct { + SalvagePreventInfo *SceneGallerySalvagePreventInfo `protobuf:"bytes,1700,opt,name=salvage_prevent_info,json=salvagePreventInfo,proto3,oneof"` +} + +type SceneGalleryInfo_SalvageEscortInfo struct { + SalvageEscortInfo *SceneGallerySalvageEscortInfoInfo `protobuf:"bytes,759,opt,name=salvage_escort_info,json=salvageEscortInfo,proto3,oneof"` +} + +type SceneGalleryInfo_HomeBalloonInfo struct { + HomeBalloonInfo *SceneGalleryHomeBalloonInfo `protobuf:"bytes,1034,opt,name=home_balloon_info,json=homeBalloonInfo,proto3,oneof"` +} + +type SceneGalleryInfo_CrystalLinkInfo struct { + CrystalLinkInfo *SceneGalleryCrystalLinkInfo `protobuf:"bytes,2004,opt,name=crystal_link_info,json=crystalLinkInfo,proto3,oneof"` +} + +type SceneGalleryInfo_IrodoriMasterInfo struct { + IrodoriMasterInfo *SceneGalleryIrodoriMasterInfo `protobuf:"bytes,1953,opt,name=irodori_master_info,json=irodoriMasterInfo,proto3,oneof"` +} + +type SceneGalleryInfo_LuminanceStoneChallengeInfo struct { + LuminanceStoneChallengeInfo *SceneGalleryLuminanceStoneChallengeInfo `protobuf:"bytes,106,opt,name=luminance_stone_challenge_info,json=luminanceStoneChallengeInfo,proto3,oneof"` +} + +type SceneGalleryInfo_HomeSeekFurnitureInfo struct { + HomeSeekFurnitureInfo *SceneGalleryHomeSeekFurnitureInfo `protobuf:"bytes,1456,opt,name=home_seek_furniture_info,json=homeSeekFurnitureInfo,proto3,oneof"` +} + +type SceneGalleryInfo_IslandPartyDownHillInfo struct { + IslandPartyDownHillInfo *SceneGalleryIslandPartyDownHillInfo `protobuf:"bytes,462,opt,name=island_party_down_hill_info,json=islandPartyDownHillInfo,proto3,oneof"` +} + +type SceneGalleryInfo_SummerTimeV2BoatInfo struct { + SummerTimeV2BoatInfo *SceneGallerySummerTimeV2BoatInfo `protobuf:"bytes,296,opt,name=summer_time_v2_boat_info,json=summerTimeV2BoatInfo,proto3,oneof"` +} + +type SceneGalleryInfo_IslandPartyRaftInfo struct { + IslandPartyRaftInfo *SceneGalleryIslandPartyRaftInfo `protobuf:"bytes,1805,opt,name=island_party_raft_info,json=islandPartyRaftInfo,proto3,oneof"` +} + +type SceneGalleryInfo_IslandPartySailInfo struct { + IslandPartySailInfo *SceneGalleryIslandPartySailInfo `protobuf:"bytes,1133,opt,name=island_party_sail_info,json=islandPartySailInfo,proto3,oneof"` +} + +type SceneGalleryInfo_InstableSprayInfo struct { + InstableSprayInfo *SceneGalleryInstableSprayInfo `protobuf:"bytes,1196,opt,name=instable_spray_info,json=instableSprayInfo,proto3,oneof"` +} + +type SceneGalleryInfo_MuqadasPotionInfo struct { + MuqadasPotionInfo *SceneGalleryMuqadasPotionInfo `protobuf:"bytes,865,opt,name=muqadas_potion_info,json=muqadasPotionInfo,proto3,oneof"` +} + +type SceneGalleryInfo_TreasureSeelieInfo struct { + TreasureSeelieInfo *SceneGalleryTreasureSeelieInfo `protobuf:"bytes,1525,opt,name=treasure_seelie_info,json=treasureSeelieInfo,proto3,oneof"` +} + +func (*SceneGalleryInfo_BalloonInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_FallInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_FlowerInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_BulletInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_BrokenFloorInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_HideAndSeekInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_BuoyantCombatInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_BounceConjuringInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_HandballInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_SumoInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_SalvagePreventInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_SalvageEscortInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_HomeBalloonInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_CrystalLinkInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_IrodoriMasterInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_LuminanceStoneChallengeInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_HomeSeekFurnitureInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_IslandPartyDownHillInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_SummerTimeV2BoatInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_IslandPartyRaftInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_IslandPartySailInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_InstableSprayInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_MuqadasPotionInfo) isSceneGalleryInfo_Info() {} + +func (*SceneGalleryInfo_TreasureSeelieInfo) isSceneGalleryInfo_Info() {} + +var File_SceneGalleryInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, + 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x6f, 0x75, + 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, + 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x61, 0x6e, 0x64, 0x62, 0x61, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, + 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, + 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x27, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, + 0x65, 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, + 0x72, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x72, 0x6f, 0x64, 0x6f, + 0x72, 0x69, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x29, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x48, + 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, + 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, + 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, + 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x27, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, 0x6c, + 0x76, 0x61, 0x67, 0x65, 0x45, 0x73, 0x63, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, 0x6d, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x11, 0x0a, 0x10, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, + 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, + 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, + 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x6c, 0x6f, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x09, 0x66, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x08, 0x66, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, 0x66, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x46, + 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, 0x62, 0x75, 0x6c, 0x6c, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6c, 0x6c, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x4a, 0x0a, 0x11, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x66, 0x6c, + 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x72, 0x6f, + 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, + 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x4b, 0x0a, 0x12, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x65, 0x6b, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x69, 0x64, 0x65, 0x41, 0x6e, + 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x69, 0x64, + 0x65, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x13, + 0x62, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0xe8, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, + 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x62, 0x75, + 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x57, 0x0a, 0x15, 0x62, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6a, 0x75, 0x72, + 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc4, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x42, 0x6f, + 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x13, 0x62, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6a, 0x75, + 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0d, 0x68, 0x61, 0x6e, 0x64, + 0x62, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xcd, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, + 0x61, 0x6e, 0x64, 0x62, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x68, + 0x61, 0x6e, 0x64, 0x62, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x09, 0x73, + 0x75, 0x6d, 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xab, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, + 0x6d, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x08, 0x73, 0x75, 0x6d, 0x6f, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x54, 0x0a, 0x14, 0x73, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xa4, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x53, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x73, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, 0x13, 0x73, 0x61, 0x6c, 0x76, + 0x61, 0x67, 0x65, 0x5f, 0x65, 0x73, 0x63, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0xf7, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x45, 0x73, 0x63, 0x6f, + 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x73, 0x61, + 0x6c, 0x76, 0x61, 0x67, 0x65, 0x45, 0x73, 0x63, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x4b, 0x0a, 0x11, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x8a, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, 0x6f, 0x6d, 0x65, 0x42, 0x61, + 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x6f, 0x6d, + 0x65, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4b, 0x0a, 0x11, + 0x63, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0xd4, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x4c, 0x69, + 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, 0x79, 0x73, 0x74, 0x61, + 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x13, 0x69, 0x72, 0x6f, + 0x64, 0x6f, 0x72, 0x69, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0xa1, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x4d, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x69, 0x72, 0x6f, 0x64, 0x6f, + 0x72, 0x69, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x6f, 0x0a, 0x1e, + 0x6c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x5f, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x6a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, + 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x1b, 0x6c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5e, 0x0a, + 0x18, 0x68, 0x6f, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x65, 0x6b, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, + 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xb0, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x48, + 0x6f, 0x6d, 0x65, 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x15, 0x68, 0x6f, 0x6d, 0x65, 0x53, 0x65, 0x65, 0x6b, + 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x65, 0x0a, + 0x1b, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x64, 0x6f, + 0x77, 0x6e, 0x5f, 0x68, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xce, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x44, 0x6f, 0x77, + 0x6e, 0x48, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x17, 0x69, 0x73, 0x6c, + 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x48, 0x69, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5c, 0x0a, 0x18, 0x73, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x32, 0x5f, 0x62, 0x6f, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0xa8, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x56, 0x32, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x14, 0x73, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, + 0x74, 0x79, 0x5f, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x8d, 0x0e, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x52, 0x61, 0x66, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x13, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, + 0x61, 0x72, 0x74, 0x79, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x58, 0x0a, 0x16, + 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x61, 0x69, + 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xed, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, + 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x13, 0x69, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x72, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xac, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x70, 0x72, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x51, 0x0a, 0x13, 0x6d, 0x75, 0x71, + 0x61, 0x64, 0x61, 0x73, 0x5f, 0x70, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0xe1, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x75, 0x71, 0x61, 0x64, + 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x54, 0x0a, 0x14, + 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xf5, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, + 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, + 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x06, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryInfo_proto_rawDescOnce sync.Once + file_SceneGalleryInfo_proto_rawDescData = file_SceneGalleryInfo_proto_rawDesc +) + +func file_SceneGalleryInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryInfo_proto_rawDescData) + }) + return file_SceneGalleryInfo_proto_rawDescData +} + +var file_SceneGalleryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryInfo_proto_goTypes = []interface{}{ + (*SceneGalleryInfo)(nil), // 0: SceneGalleryInfo + (GalleryStageType)(0), // 1: GalleryStageType + (*SceneGalleryProgressInfo)(nil), // 2: SceneGalleryProgressInfo + (*SceneGalleryBalloonInfo)(nil), // 3: SceneGalleryBalloonInfo + (*SceneGalleryFallInfo)(nil), // 4: SceneGalleryFallInfo + (*SceneGalleryFlowerInfo)(nil), // 5: SceneGalleryFlowerInfo + (*SceneGalleryBulletInfo)(nil), // 6: SceneGalleryBulletInfo + (*SceneGalleryBrokenFloorInfo)(nil), // 7: SceneGalleryBrokenFloorInfo + (*SceneGalleryHideAndSeekInfo)(nil), // 8: SceneGalleryHideAndSeekInfo + (*SceneGalleryBuoyantCombatInfo)(nil), // 9: SceneGalleryBuoyantCombatInfo + (*SceneGalleryBounceConjuringInfo)(nil), // 10: SceneGalleryBounceConjuringInfo + (*SceneGalleryHandballInfo)(nil), // 11: SceneGalleryHandballInfo + (*SceneGallerySumoInfo)(nil), // 12: SceneGallerySumoInfo + (*SceneGallerySalvagePreventInfo)(nil), // 13: SceneGallerySalvagePreventInfo + (*SceneGallerySalvageEscortInfoInfo)(nil), // 14: SceneGallerySalvageEscortInfoInfo + (*SceneGalleryHomeBalloonInfo)(nil), // 15: SceneGalleryHomeBalloonInfo + (*SceneGalleryCrystalLinkInfo)(nil), // 16: SceneGalleryCrystalLinkInfo + (*SceneGalleryIrodoriMasterInfo)(nil), // 17: SceneGalleryIrodoriMasterInfo + (*SceneGalleryLuminanceStoneChallengeInfo)(nil), // 18: SceneGalleryLuminanceStoneChallengeInfo + (*SceneGalleryHomeSeekFurnitureInfo)(nil), // 19: SceneGalleryHomeSeekFurnitureInfo + (*SceneGalleryIslandPartyDownHillInfo)(nil), // 20: SceneGalleryIslandPartyDownHillInfo + (*SceneGallerySummerTimeV2BoatInfo)(nil), // 21: SceneGallerySummerTimeV2BoatInfo + (*SceneGalleryIslandPartyRaftInfo)(nil), // 22: SceneGalleryIslandPartyRaftInfo + (*SceneGalleryIslandPartySailInfo)(nil), // 23: SceneGalleryIslandPartySailInfo + (*SceneGalleryInstableSprayInfo)(nil), // 24: SceneGalleryInstableSprayInfo + (*SceneGalleryMuqadasPotionInfo)(nil), // 25: SceneGalleryMuqadasPotionInfo + (*SceneGalleryTreasureSeelieInfo)(nil), // 26: SceneGalleryTreasureSeelieInfo +} +var file_SceneGalleryInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryInfo.stage:type_name -> GalleryStageType + 2, // 1: SceneGalleryInfo.progress_info_list:type_name -> SceneGalleryProgressInfo + 3, // 2: SceneGalleryInfo.balloon_info:type_name -> SceneGalleryBalloonInfo + 4, // 3: SceneGalleryInfo.fall_info:type_name -> SceneGalleryFallInfo + 5, // 4: SceneGalleryInfo.flower_info:type_name -> SceneGalleryFlowerInfo + 6, // 5: SceneGalleryInfo.bullet_info:type_name -> SceneGalleryBulletInfo + 7, // 6: SceneGalleryInfo.broken_floor_info:type_name -> SceneGalleryBrokenFloorInfo + 8, // 7: SceneGalleryInfo.hide_and_seek_info:type_name -> SceneGalleryHideAndSeekInfo + 9, // 8: SceneGalleryInfo.buoyant_combat_info:type_name -> SceneGalleryBuoyantCombatInfo + 10, // 9: SceneGalleryInfo.bounce_conjuring_info:type_name -> SceneGalleryBounceConjuringInfo + 11, // 10: SceneGalleryInfo.handball_info:type_name -> SceneGalleryHandballInfo + 12, // 11: SceneGalleryInfo.sumo_info:type_name -> SceneGallerySumoInfo + 13, // 12: SceneGalleryInfo.salvage_prevent_info:type_name -> SceneGallerySalvagePreventInfo + 14, // 13: SceneGalleryInfo.salvage_escort_info:type_name -> SceneGallerySalvageEscortInfoInfo + 15, // 14: SceneGalleryInfo.home_balloon_info:type_name -> SceneGalleryHomeBalloonInfo + 16, // 15: SceneGalleryInfo.crystal_link_info:type_name -> SceneGalleryCrystalLinkInfo + 17, // 16: SceneGalleryInfo.irodori_master_info:type_name -> SceneGalleryIrodoriMasterInfo + 18, // 17: SceneGalleryInfo.luminance_stone_challenge_info:type_name -> SceneGalleryLuminanceStoneChallengeInfo + 19, // 18: SceneGalleryInfo.home_seek_furniture_info:type_name -> SceneGalleryHomeSeekFurnitureInfo + 20, // 19: SceneGalleryInfo.island_party_down_hill_info:type_name -> SceneGalleryIslandPartyDownHillInfo + 21, // 20: SceneGalleryInfo.summer_time_v2_boat_info:type_name -> SceneGallerySummerTimeV2BoatInfo + 22, // 21: SceneGalleryInfo.island_party_raft_info:type_name -> SceneGalleryIslandPartyRaftInfo + 23, // 22: SceneGalleryInfo.island_party_sail_info:type_name -> SceneGalleryIslandPartySailInfo + 24, // 23: SceneGalleryInfo.instable_spray_info:type_name -> SceneGalleryInstableSprayInfo + 25, // 24: SceneGalleryInfo.muqadas_potion_info:type_name -> SceneGalleryMuqadasPotionInfo + 26, // 25: SceneGalleryInfo.treasure_seelie_info:type_name -> SceneGalleryTreasureSeelieInfo + 26, // [26:26] is the sub-list for method output_type + 26, // [26:26] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name +} + +func init() { file_SceneGalleryInfo_proto_init() } +func file_SceneGalleryInfo_proto_init() { + if File_SceneGalleryInfo_proto != nil { + return + } + file_GalleryStageType_proto_init() + file_SceneGalleryBalloonInfo_proto_init() + file_SceneGalleryBounceConjuringInfo_proto_init() + file_SceneGalleryBrokenFloorInfo_proto_init() + file_SceneGalleryBulletInfo_proto_init() + file_SceneGalleryBuoyantCombatInfo_proto_init() + file_SceneGalleryCrystalLinkInfo_proto_init() + file_SceneGalleryFallInfo_proto_init() + file_SceneGalleryFlowerInfo_proto_init() + file_SceneGalleryHandballInfo_proto_init() + file_SceneGalleryHideAndSeekInfo_proto_init() + file_SceneGalleryHomeBalloonInfo_proto_init() + file_SceneGalleryHomeSeekFurnitureInfo_proto_init() + file_SceneGalleryInstableSprayInfo_proto_init() + file_SceneGalleryIrodoriMasterInfo_proto_init() + file_SceneGalleryIslandPartyDownHillInfo_proto_init() + file_SceneGalleryIslandPartyRaftInfo_proto_init() + file_SceneGalleryIslandPartySailInfo_proto_init() + file_SceneGalleryLuminanceStoneChallengeInfo_proto_init() + file_SceneGalleryMuqadasPotionInfo_proto_init() + file_SceneGalleryProgressInfo_proto_init() + file_SceneGallerySalvageEscortInfoInfo_proto_init() + file_SceneGallerySalvagePreventInfo_proto_init() + file_SceneGallerySummerTimeV2BoatInfo_proto_init() + file_SceneGallerySumoInfo_proto_init() + file_SceneGalleryTreasureSeelieInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_SceneGalleryInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SceneGalleryInfo_BalloonInfo)(nil), + (*SceneGalleryInfo_FallInfo)(nil), + (*SceneGalleryInfo_FlowerInfo)(nil), + (*SceneGalleryInfo_BulletInfo)(nil), + (*SceneGalleryInfo_BrokenFloorInfo)(nil), + (*SceneGalleryInfo_HideAndSeekInfo)(nil), + (*SceneGalleryInfo_BuoyantCombatInfo)(nil), + (*SceneGalleryInfo_BounceConjuringInfo)(nil), + (*SceneGalleryInfo_HandballInfo)(nil), + (*SceneGalleryInfo_SumoInfo)(nil), + (*SceneGalleryInfo_SalvagePreventInfo)(nil), + (*SceneGalleryInfo_SalvageEscortInfo)(nil), + (*SceneGalleryInfo_HomeBalloonInfo)(nil), + (*SceneGalleryInfo_CrystalLinkInfo)(nil), + (*SceneGalleryInfo_IrodoriMasterInfo)(nil), + (*SceneGalleryInfo_LuminanceStoneChallengeInfo)(nil), + (*SceneGalleryInfo_HomeSeekFurnitureInfo)(nil), + (*SceneGalleryInfo_IslandPartyDownHillInfo)(nil), + (*SceneGalleryInfo_SummerTimeV2BoatInfo)(nil), + (*SceneGalleryInfo_IslandPartyRaftInfo)(nil), + (*SceneGalleryInfo_IslandPartySailInfo)(nil), + (*SceneGalleryInfo_InstableSprayInfo)(nil), + (*SceneGalleryInfo_MuqadasPotionInfo)(nil), + (*SceneGalleryInfo_TreasureSeelieInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryInfo_proto_msgTypes, + }.Build() + File_SceneGalleryInfo_proto = out.File + file_SceneGalleryInfo_proto_rawDesc = nil + file_SceneGalleryInfo_proto_goTypes = nil + file_SceneGalleryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryInfo.proto b/gate-hk4e-api/proto/SceneGalleryInfo.proto new file mode 100644 index 00000000..ab58c2f7 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInfo.proto @@ -0,0 +1,82 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GalleryStageType.proto"; +import "SceneGalleryBalloonInfo.proto"; +import "SceneGalleryBounceConjuringInfo.proto"; +import "SceneGalleryBrokenFloorInfo.proto"; +import "SceneGalleryBulletInfo.proto"; +import "SceneGalleryBuoyantCombatInfo.proto"; +import "SceneGalleryCrystalLinkInfo.proto"; +import "SceneGalleryFallInfo.proto"; +import "SceneGalleryFlowerInfo.proto"; +import "SceneGalleryHandballInfo.proto"; +import "SceneGalleryHideAndSeekInfo.proto"; +import "SceneGalleryHomeBalloonInfo.proto"; +import "SceneGalleryHomeSeekFurnitureInfo.proto"; +import "SceneGalleryInstableSprayInfo.proto"; +import "SceneGalleryIrodoriMasterInfo.proto"; +import "SceneGalleryIslandPartyDownHillInfo.proto"; +import "SceneGalleryIslandPartyRaftInfo.proto"; +import "SceneGalleryIslandPartySailInfo.proto"; +import "SceneGalleryLuminanceStoneChallengeInfo.proto"; +import "SceneGalleryMuqadasPotionInfo.proto"; +import "SceneGalleryProgressInfo.proto"; +import "SceneGallerySalvageEscortInfoInfo.proto"; +import "SceneGallerySalvagePreventInfo.proto"; +import "SceneGallerySummerTimeV2BoatInfo.proto"; +import "SceneGallerySumoInfo.proto"; +import "SceneGalleryTreasureSeelieInfo.proto"; + +option go_package = "./;proto"; + +message SceneGalleryInfo { + uint32 end_time = 11; + uint32 pre_start_end_time = 15; + GalleryStageType stage = 5; + uint32 owner_uid = 9; + uint32 player_count = 1; + repeated SceneGalleryProgressInfo progress_info_list = 4; + uint32 gallery_id = 2; + oneof info { + SceneGalleryBalloonInfo balloon_info = 14; + SceneGalleryFallInfo fall_info = 7; + SceneGalleryFlowerInfo flower_info = 8; + SceneGalleryBulletInfo bullet_info = 13; + SceneGalleryBrokenFloorInfo broken_floor_info = 10; + SceneGalleryHideAndSeekInfo hide_and_seek_info = 6; + SceneGalleryBuoyantCombatInfo buoyant_combat_info = 1384; + SceneGalleryBounceConjuringInfo bounce_conjuring_info = 708; + SceneGalleryHandballInfo handball_info = 1997; + SceneGallerySumoInfo sumo_info = 811; + SceneGallerySalvagePreventInfo salvage_prevent_info = 1700; + SceneGallerySalvageEscortInfoInfo salvage_escort_info = 759; + SceneGalleryHomeBalloonInfo home_balloon_info = 1034; + SceneGalleryCrystalLinkInfo crystal_link_info = 2004; + SceneGalleryIrodoriMasterInfo irodori_master_info = 1953; + SceneGalleryLuminanceStoneChallengeInfo luminance_stone_challenge_info = 106; + SceneGalleryHomeSeekFurnitureInfo home_seek_furniture_info = 1456; + SceneGalleryIslandPartyDownHillInfo island_party_down_hill_info = 462; + SceneGallerySummerTimeV2BoatInfo summer_time_v2_boat_info = 296; + SceneGalleryIslandPartyRaftInfo island_party_raft_info = 1805; + SceneGalleryIslandPartySailInfo island_party_sail_info = 1133; + SceneGalleryInstableSprayInfo instable_spray_info = 1196; + SceneGalleryMuqadasPotionInfo muqadas_potion_info = 865; + SceneGalleryTreasureSeelieInfo treasure_seelie_info = 1525; + } +} diff --git a/gate-hk4e-api/proto/SceneGalleryInfoNotify.pb.go b/gate-hk4e-api/proto/SceneGalleryInfoNotify.pb.go new file mode 100644 index 00000000..cc5421ef --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5581 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneGalleryInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryInfo *SceneGalleryInfo `protobuf:"bytes,4,opt,name=gallery_info,json=galleryInfo,proto3" json:"gallery_info,omitempty"` +} + +func (x *SceneGalleryInfoNotify) Reset() { + *x = SceneGalleryInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryInfoNotify) ProtoMessage() {} + +func (x *SceneGalleryInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryInfoNotify.ProtoReflect.Descriptor instead. +func (*SceneGalleryInfoNotify) Descriptor() ([]byte, []int) { + return file_SceneGalleryInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryInfoNotify) GetGalleryInfo() *SceneGalleryInfo { + if x != nil { + return x.GalleryInfo + } + return nil +} + +var File_SceneGalleryInfoNotify_proto protoreflect.FileDescriptor + +var file_SceneGalleryInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x34, 0x0a, 0x0c, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryInfoNotify_proto_rawDescOnce sync.Once + file_SceneGalleryInfoNotify_proto_rawDescData = file_SceneGalleryInfoNotify_proto_rawDesc +) + +func file_SceneGalleryInfoNotify_proto_rawDescGZIP() []byte { + file_SceneGalleryInfoNotify_proto_rawDescOnce.Do(func() { + file_SceneGalleryInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryInfoNotify_proto_rawDescData) + }) + return file_SceneGalleryInfoNotify_proto_rawDescData +} + +var file_SceneGalleryInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryInfoNotify_proto_goTypes = []interface{}{ + (*SceneGalleryInfoNotify)(nil), // 0: SceneGalleryInfoNotify + (*SceneGalleryInfo)(nil), // 1: SceneGalleryInfo +} +var file_SceneGalleryInfoNotify_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryInfoNotify.gallery_info:type_name -> SceneGalleryInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryInfoNotify_proto_init() } +func file_SceneGalleryInfoNotify_proto_init() { + if File_SceneGalleryInfoNotify_proto != nil { + return + } + file_SceneGalleryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryInfoNotify_proto_goTypes, + DependencyIndexes: file_SceneGalleryInfoNotify_proto_depIdxs, + MessageInfos: file_SceneGalleryInfoNotify_proto_msgTypes, + }.Build() + File_SceneGalleryInfoNotify_proto = out.File + file_SceneGalleryInfoNotify_proto_rawDesc = nil + file_SceneGalleryInfoNotify_proto_goTypes = nil + file_SceneGalleryInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryInfoNotify.proto b/gate-hk4e-api/proto/SceneGalleryInfoNotify.proto new file mode 100644 index 00000000..b860dd2f --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneGalleryInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5581 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneGalleryInfoNotify { + SceneGalleryInfo gallery_info = 4; +} diff --git a/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.pb.go new file mode 100644 index 00000000..64477655 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryInstableSprayInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryInstableSprayInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,5,opt,name=score,proto3" json:"score,omitempty"` + Unk2700_INIBKFPMCFO []*Unk3000_OMCBMAHOLHB `protobuf:"bytes,12,rep,name=Unk2700_INIBKFPMCFO,json=Unk2700INIBKFPMCFO,proto3" json:"Unk2700_INIBKFPMCFO,omitempty"` +} + +func (x *SceneGalleryInstableSprayInfo) Reset() { + *x = SceneGalleryInstableSprayInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryInstableSprayInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryInstableSprayInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryInstableSprayInfo) ProtoMessage() {} + +func (x *SceneGalleryInstableSprayInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryInstableSprayInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryInstableSprayInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryInstableSprayInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryInstableSprayInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryInstableSprayInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SceneGalleryInstableSprayInfo) GetUnk2700_INIBKFPMCFO() []*Unk3000_OMCBMAHOLHB { + if x != nil { + return x.Unk2700_INIBKFPMCFO + } + return nil +} + +var File_SceneGalleryInstableSprayInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryInstableSprayInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, + 0x4d, 0x43, 0x42, 0x4d, 0x41, 0x48, 0x4f, 0x4c, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x7c, 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x72, 0x61, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, + 0x4d, 0x43, 0x42, 0x4d, 0x41, 0x48, 0x4f, 0x4c, 0x48, 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneGalleryInstableSprayInfo_proto_rawDescOnce sync.Once + file_SceneGalleryInstableSprayInfo_proto_rawDescData = file_SceneGalleryInstableSprayInfo_proto_rawDesc +) + +func file_SceneGalleryInstableSprayInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryInstableSprayInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryInstableSprayInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryInstableSprayInfo_proto_rawDescData) + }) + return file_SceneGalleryInstableSprayInfo_proto_rawDescData +} + +var file_SceneGalleryInstableSprayInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryInstableSprayInfo_proto_goTypes = []interface{}{ + (*SceneGalleryInstableSprayInfo)(nil), // 0: SceneGalleryInstableSprayInfo + (*Unk3000_OMCBMAHOLHB)(nil), // 1: Unk3000_OMCBMAHOLHB +} +var file_SceneGalleryInstableSprayInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryInstableSprayInfo.Unk2700_INIBKFPMCFO:type_name -> Unk3000_OMCBMAHOLHB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryInstableSprayInfo_proto_init() } +func file_SceneGalleryInstableSprayInfo_proto_init() { + if File_SceneGalleryInstableSprayInfo_proto != nil { + return + } + file_Unk3000_OMCBMAHOLHB_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryInstableSprayInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryInstableSprayInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryInstableSprayInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryInstableSprayInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryInstableSprayInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryInstableSprayInfo_proto_msgTypes, + }.Build() + File_SceneGalleryInstableSprayInfo_proto = out.File + file_SceneGalleryInstableSprayInfo_proto_rawDesc = nil + file_SceneGalleryInstableSprayInfo_proto_goTypes = nil + file_SceneGalleryInstableSprayInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.proto b/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.proto new file mode 100644 index 00000000..7d402f0c --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryInstableSprayInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_OMCBMAHOLHB.proto"; + +option go_package = "./;proto"; + +message SceneGalleryInstableSprayInfo { + uint32 score = 5; + repeated Unk3000_OMCBMAHOLHB Unk2700_INIBKFPMCFO = 12; +} diff --git a/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.pb.go new file mode 100644 index 00000000..1893c570 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryIrodoriMasterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryIrodoriMasterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,8,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Difficulty uint32 `protobuf:"varint,1,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + Unk2700_FKDMOBOGMCM bool `protobuf:"varint,5,opt,name=Unk2700_FKDMOBOGMCM,json=Unk2700FKDMOBOGMCM,proto3" json:"Unk2700_FKDMOBOGMCM,omitempty"` +} + +func (x *SceneGalleryIrodoriMasterInfo) Reset() { + *x = SceneGalleryIrodoriMasterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryIrodoriMasterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryIrodoriMasterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryIrodoriMasterInfo) ProtoMessage() {} + +func (x *SceneGalleryIrodoriMasterInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryIrodoriMasterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryIrodoriMasterInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryIrodoriMasterInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryIrodoriMasterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryIrodoriMasterInfo) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *SceneGalleryIrodoriMasterInfo) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *SceneGalleryIrodoriMasterInfo) GetUnk2700_FKDMOBOGMCM() bool { + if x != nil { + return x.Unk2700_FKDMOBOGMCM + } + return false +} + +var File_SceneGalleryIrodoriMasterInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryIrodoriMasterInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x72, + 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x72, 0x6f, 0x64, 0x6f, 0x72, 0x69, 0x4d, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4b, + 0x44, 0x4d, 0x4f, 0x42, 0x4f, 0x47, 0x4d, 0x43, 0x4d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4b, 0x44, 0x4d, 0x4f, 0x42, 0x4f, 0x47, + 0x4d, 0x43, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryIrodoriMasterInfo_proto_rawDescOnce sync.Once + file_SceneGalleryIrodoriMasterInfo_proto_rawDescData = file_SceneGalleryIrodoriMasterInfo_proto_rawDesc +) + +func file_SceneGalleryIrodoriMasterInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryIrodoriMasterInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryIrodoriMasterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryIrodoriMasterInfo_proto_rawDescData) + }) + return file_SceneGalleryIrodoriMasterInfo_proto_rawDescData +} + +var file_SceneGalleryIrodoriMasterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryIrodoriMasterInfo_proto_goTypes = []interface{}{ + (*SceneGalleryIrodoriMasterInfo)(nil), // 0: SceneGalleryIrodoriMasterInfo +} +var file_SceneGalleryIrodoriMasterInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryIrodoriMasterInfo_proto_init() } +func file_SceneGalleryIrodoriMasterInfo_proto_init() { + if File_SceneGalleryIrodoriMasterInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryIrodoriMasterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryIrodoriMasterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryIrodoriMasterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryIrodoriMasterInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryIrodoriMasterInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryIrodoriMasterInfo_proto_msgTypes, + }.Build() + File_SceneGalleryIrodoriMasterInfo_proto = out.File + file_SceneGalleryIrodoriMasterInfo_proto_rawDesc = nil + file_SceneGalleryIrodoriMasterInfo_proto_goTypes = nil + file_SceneGalleryIrodoriMasterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.proto b/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.proto new file mode 100644 index 00000000..4c114b6f --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIrodoriMasterInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryIrodoriMasterInfo { + uint32 level_id = 8; + uint32 difficulty = 1; + bool Unk2700_FKDMOBOGMCM = 5; +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.pb.go new file mode 100644 index 00000000..6fee70e1 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryIslandPartyDownHillInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryIslandPartyDownHillInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_LBPCDCHOOLJ uint32 `protobuf:"varint,14,opt,name=Unk2800_LBPCDCHOOLJ,json=Unk2800LBPCDCHOOLJ,proto3" json:"Unk2800_LBPCDCHOOLJ,omitempty"` + Unk2800_ENJGEFBCLOL Unk2800_FMAOEPEBKHB `protobuf:"varint,15,opt,name=Unk2800_ENJGEFBCLOL,json=Unk2800ENJGEFBCLOL,proto3,enum=Unk2800_FMAOEPEBKHB" json:"Unk2800_ENJGEFBCLOL,omitempty"` + Unk2800_BKEFLDCEBLF uint32 `protobuf:"varint,5,opt,name=Unk2800_BKEFLDCEBLF,json=Unk2800BKEFLDCEBLF,proto3" json:"Unk2800_BKEFLDCEBLF,omitempty"` + Coin uint32 `protobuf:"varint,13,opt,name=coin,proto3" json:"coin,omitempty"` +} + +func (x *SceneGalleryIslandPartyDownHillInfo) Reset() { + *x = SceneGalleryIslandPartyDownHillInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryIslandPartyDownHillInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryIslandPartyDownHillInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryIslandPartyDownHillInfo) ProtoMessage() {} + +func (x *SceneGalleryIslandPartyDownHillInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryIslandPartyDownHillInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryIslandPartyDownHillInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryIslandPartyDownHillInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryIslandPartyDownHillInfo) GetUnk2800_LBPCDCHOOLJ() uint32 { + if x != nil { + return x.Unk2800_LBPCDCHOOLJ + } + return 0 +} + +func (x *SceneGalleryIslandPartyDownHillInfo) GetUnk2800_ENJGEFBCLOL() Unk2800_FMAOEPEBKHB { + if x != nil { + return x.Unk2800_ENJGEFBCLOL + } + return Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO +} + +func (x *SceneGalleryIslandPartyDownHillInfo) GetUnk2800_BKEFLDCEBLF() uint32 { + if x != nil { + return x.Unk2800_BKEFLDCEBLF + } + return 0 +} + +func (x *SceneGalleryIslandPartyDownHillInfo) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +var File_SceneGalleryIslandPartyDownHillInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryIslandPartyDownHillInfo_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, + 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x48, 0x69, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, + 0x74, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x48, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x50, 0x43, 0x44, 0x43, + 0x48, 0x4f, 0x4f, 0x4c, 0x4a, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x4c, 0x42, 0x50, 0x43, 0x44, 0x43, 0x48, 0x4f, 0x4f, 0x4c, 0x4a, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4a, 0x47, 0x45, + 0x46, 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, + 0x48, 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4e, 0x4a, 0x47, 0x45, + 0x46, 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x42, 0x4b, 0x45, 0x46, 0x4c, 0x44, 0x43, 0x45, 0x42, 0x4c, 0x46, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x42, 0x4b, 0x45, 0x46, + 0x4c, 0x44, 0x43, 0x45, 0x42, 0x4c, 0x46, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescOnce sync.Once + file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescData = file_SceneGalleryIslandPartyDownHillInfo_proto_rawDesc +) + +func file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescData) + }) + return file_SceneGalleryIslandPartyDownHillInfo_proto_rawDescData +} + +var file_SceneGalleryIslandPartyDownHillInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryIslandPartyDownHillInfo_proto_goTypes = []interface{}{ + (*SceneGalleryIslandPartyDownHillInfo)(nil), // 0: SceneGalleryIslandPartyDownHillInfo + (Unk2800_FMAOEPEBKHB)(0), // 1: Unk2800_FMAOEPEBKHB +} +var file_SceneGalleryIslandPartyDownHillInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryIslandPartyDownHillInfo.Unk2800_ENJGEFBCLOL:type_name -> Unk2800_FMAOEPEBKHB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryIslandPartyDownHillInfo_proto_init() } +func file_SceneGalleryIslandPartyDownHillInfo_proto_init() { + if File_SceneGalleryIslandPartyDownHillInfo_proto != nil { + return + } + file_Unk2800_FMAOEPEBKHB_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryIslandPartyDownHillInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryIslandPartyDownHillInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryIslandPartyDownHillInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryIslandPartyDownHillInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryIslandPartyDownHillInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryIslandPartyDownHillInfo_proto_msgTypes, + }.Build() + File_SceneGalleryIslandPartyDownHillInfo_proto = out.File + file_SceneGalleryIslandPartyDownHillInfo_proto_rawDesc = nil + file_SceneGalleryIslandPartyDownHillInfo_proto_goTypes = nil + file_SceneGalleryIslandPartyDownHillInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.proto b/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.proto new file mode 100644 index 00000000..064a447a --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartyDownHillInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FMAOEPEBKHB.proto"; + +option go_package = "./;proto"; + +message SceneGalleryIslandPartyDownHillInfo { + uint32 Unk2800_LBPCDCHOOLJ = 14; + Unk2800_FMAOEPEBKHB Unk2800_ENJGEFBCLOL = 15; + uint32 Unk2800_BKEFLDCEBLF = 5; + uint32 coin = 13; +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.pb.go new file mode 100644 index 00000000..7654ec3f --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.pb.go @@ -0,0 +1,220 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryIslandPartyRaftInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryIslandPartyRaftInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Coin uint32 `protobuf:"varint,6,opt,name=coin,proto3" json:"coin,omitempty"` + Unk2800_ENJGEFBCLOL Unk2800_FMAOEPEBKHB `protobuf:"varint,7,opt,name=Unk2800_ENJGEFBCLOL,json=Unk2800ENJGEFBCLOL,proto3,enum=Unk2800_FMAOEPEBKHB" json:"Unk2800_ENJGEFBCLOL,omitempty"` + Unk2800_BAEEDEAADIA uint32 `protobuf:"varint,1,opt,name=Unk2800_BAEEDEAADIA,json=Unk2800BAEEDEAADIA,proto3" json:"Unk2800_BAEEDEAADIA,omitempty"` + Unk2800_EOFOECJJMLJ uint32 `protobuf:"varint,15,opt,name=Unk2800_EOFOECJJMLJ,json=Unk2800EOFOECJJMLJ,proto3" json:"Unk2800_EOFOECJJMLJ,omitempty"` + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Unk2800_MKNGANDAJFJ uint32 `protobuf:"varint,4,opt,name=Unk2800_MKNGANDAJFJ,json=Unk2800MKNGANDAJFJ,proto3" json:"Unk2800_MKNGANDAJFJ,omitempty"` +} + +func (x *SceneGalleryIslandPartyRaftInfo) Reset() { + *x = SceneGalleryIslandPartyRaftInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryIslandPartyRaftInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryIslandPartyRaftInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryIslandPartyRaftInfo) ProtoMessage() {} + +func (x *SceneGalleryIslandPartyRaftInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryIslandPartyRaftInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryIslandPartyRaftInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryIslandPartyRaftInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryIslandPartyRaftInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetUnk2800_ENJGEFBCLOL() Unk2800_FMAOEPEBKHB { + if x != nil { + return x.Unk2800_ENJGEFBCLOL + } + return Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetUnk2800_BAEEDEAADIA() uint32 { + if x != nil { + return x.Unk2800_BAEEDEAADIA + } + return 0 +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetUnk2800_EOFOECJJMLJ() uint32 { + if x != nil { + return x.Unk2800_EOFOECJJMLJ + } + return 0 +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *SceneGalleryIslandPartyRaftInfo) GetUnk2800_MKNGANDAJFJ() uint32 { + if x != nil { + return x.Unk2800_MKNGANDAJFJ + } + return 0 +} + +var File_SceneGalleryIslandPartyRaftInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryIslandPartyRaftInfo_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, + 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xaa, 0x02, 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x73, 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x52, 0x61, + 0x66, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4a, 0x47, 0x45, 0x46, 0x42, 0x43, 0x4c, 0x4f, + 0x4c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4e, 0x4a, 0x47, 0x45, 0x46, 0x42, 0x43, 0x4c, 0x4f, + 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x41, 0x45, + 0x45, 0x44, 0x45, 0x41, 0x41, 0x44, 0x49, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x42, 0x41, 0x45, 0x45, 0x44, 0x45, 0x41, 0x41, 0x44, + 0x49, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4f, + 0x46, 0x4f, 0x45, 0x43, 0x4a, 0x4a, 0x4d, 0x4c, 0x4a, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4f, 0x46, 0x4f, 0x45, 0x43, 0x4a, 0x4a, + 0x4d, 0x4c, 0x4a, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4e, 0x47, 0x41, 0x4e, + 0x44, 0x41, 0x4a, 0x46, 0x4a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x4d, 0x4b, 0x4e, 0x47, 0x41, 0x4e, 0x44, 0x41, 0x4a, 0x46, 0x4a, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryIslandPartyRaftInfo_proto_rawDescOnce sync.Once + file_SceneGalleryIslandPartyRaftInfo_proto_rawDescData = file_SceneGalleryIslandPartyRaftInfo_proto_rawDesc +) + +func file_SceneGalleryIslandPartyRaftInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryIslandPartyRaftInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryIslandPartyRaftInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryIslandPartyRaftInfo_proto_rawDescData) + }) + return file_SceneGalleryIslandPartyRaftInfo_proto_rawDescData +} + +var file_SceneGalleryIslandPartyRaftInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryIslandPartyRaftInfo_proto_goTypes = []interface{}{ + (*SceneGalleryIslandPartyRaftInfo)(nil), // 0: SceneGalleryIslandPartyRaftInfo + (Unk2800_FMAOEPEBKHB)(0), // 1: Unk2800_FMAOEPEBKHB +} +var file_SceneGalleryIslandPartyRaftInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryIslandPartyRaftInfo.Unk2800_ENJGEFBCLOL:type_name -> Unk2800_FMAOEPEBKHB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneGalleryIslandPartyRaftInfo_proto_init() } +func file_SceneGalleryIslandPartyRaftInfo_proto_init() { + if File_SceneGalleryIslandPartyRaftInfo_proto != nil { + return + } + file_Unk2800_FMAOEPEBKHB_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryIslandPartyRaftInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryIslandPartyRaftInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryIslandPartyRaftInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryIslandPartyRaftInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryIslandPartyRaftInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryIslandPartyRaftInfo_proto_msgTypes, + }.Build() + File_SceneGalleryIslandPartyRaftInfo_proto = out.File + file_SceneGalleryIslandPartyRaftInfo_proto_rawDesc = nil + file_SceneGalleryIslandPartyRaftInfo_proto_goTypes = nil + file_SceneGalleryIslandPartyRaftInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.proto b/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.proto new file mode 100644 index 00000000..55e14858 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartyRaftInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FMAOEPEBKHB.proto"; + +option go_package = "./;proto"; + +message SceneGalleryIslandPartyRaftInfo { + uint32 coin = 6; + Unk2800_FMAOEPEBKHB Unk2800_ENJGEFBCLOL = 7; + uint32 Unk2800_BAEEDEAADIA = 1; + uint32 Unk2800_EOFOECJJMLJ = 15; + uint32 point_id = 12; + uint32 Unk2800_MKNGANDAJFJ = 4; +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.pb.go new file mode 100644 index 00000000..c8db7316 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.pb.go @@ -0,0 +1,236 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryIslandPartySailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryIslandPartySailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_HKHENLCIFNN uint32 `protobuf:"varint,14,opt,name=Unk2800_HKHENLCIFNN,json=Unk2800HKHENLCIFNN,proto3" json:"Unk2800_HKHENLCIFNN,omitempty"` + Unk2800_NGPLGLLFGOG uint32 `protobuf:"varint,10,opt,name=Unk2800_NGPLGLLFGOG,json=Unk2800NGPLGLLFGOG,proto3" json:"Unk2800_NGPLGLLFGOG,omitempty"` + Unk2800_ENJGEFBCLOL Unk2800_FMAOEPEBKHB `protobuf:"varint,1,opt,name=Unk2800_ENJGEFBCLOL,json=Unk2800ENJGEFBCLOL,proto3,enum=Unk2800_FMAOEPEBKHB" json:"Unk2800_ENJGEFBCLOL,omitempty"` + Unk2800_DNDKJOJCDBI uint32 `protobuf:"varint,11,opt,name=Unk2800_DNDKJOJCDBI,json=Unk2800DNDKJOJCDBI,proto3" json:"Unk2800_DNDKJOJCDBI,omitempty"` + Coin uint32 `protobuf:"varint,15,opt,name=coin,proto3" json:"coin,omitempty"` + Stage Unk2800_IMLDGLIMODE `protobuf:"varint,12,opt,name=stage,proto3,enum=Unk2800_IMLDGLIMODE" json:"stage,omitempty"` + Unk2800_GMOCMEFBGIP uint32 `protobuf:"varint,8,opt,name=Unk2800_GMOCMEFBGIP,json=Unk2800GMOCMEFBGIP,proto3" json:"Unk2800_GMOCMEFBGIP,omitempty"` +} + +func (x *SceneGalleryIslandPartySailInfo) Reset() { + *x = SceneGalleryIslandPartySailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryIslandPartySailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryIslandPartySailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryIslandPartySailInfo) ProtoMessage() {} + +func (x *SceneGalleryIslandPartySailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryIslandPartySailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryIslandPartySailInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryIslandPartySailInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryIslandPartySailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryIslandPartySailInfo) GetUnk2800_HKHENLCIFNN() uint32 { + if x != nil { + return x.Unk2800_HKHENLCIFNN + } + return 0 +} + +func (x *SceneGalleryIslandPartySailInfo) GetUnk2800_NGPLGLLFGOG() uint32 { + if x != nil { + return x.Unk2800_NGPLGLLFGOG + } + return 0 +} + +func (x *SceneGalleryIslandPartySailInfo) GetUnk2800_ENJGEFBCLOL() Unk2800_FMAOEPEBKHB { + if x != nil { + return x.Unk2800_ENJGEFBCLOL + } + return Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO +} + +func (x *SceneGalleryIslandPartySailInfo) GetUnk2800_DNDKJOJCDBI() uint32 { + if x != nil { + return x.Unk2800_DNDKJOJCDBI + } + return 0 +} + +func (x *SceneGalleryIslandPartySailInfo) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *SceneGalleryIslandPartySailInfo) GetStage() Unk2800_IMLDGLIMODE { + if x != nil { + return x.Stage + } + return Unk2800_IMLDGLIMODE_Unk2800_IMLDGLIMODE_NONE +} + +func (x *SceneGalleryIslandPartySailInfo) GetUnk2800_GMOCMEFBGIP() uint32 { + if x != nil { + return x.Unk2800_GMOCMEFBGIP + } + return 0 +} + +var File_SceneGalleryIslandPartySailInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryIslandPartySailInfo_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, + 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, + 0x47, 0x4c, 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x02, + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x73, + 0x6c, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x48, + 0x45, 0x4e, 0x4c, 0x43, 0x49, 0x46, 0x4e, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x48, 0x4b, 0x48, 0x45, 0x4e, 0x4c, 0x43, 0x49, 0x46, + 0x4e, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4e, 0x47, + 0x50, 0x4c, 0x47, 0x4c, 0x4c, 0x46, 0x47, 0x4f, 0x47, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4e, 0x47, 0x50, 0x4c, 0x47, 0x4c, 0x4c, 0x46, + 0x47, 0x4f, 0x47, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, + 0x4e, 0x4a, 0x47, 0x45, 0x46, 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, + 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, + 0x4e, 0x4a, 0x47, 0x45, 0x46, 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x4e, 0x44, 0x4b, 0x4a, 0x4f, 0x4a, 0x43, 0x44, 0x42, + 0x49, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x44, 0x4e, 0x44, 0x4b, 0x4a, 0x4f, 0x4a, 0x43, 0x44, 0x42, 0x49, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x6f, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, + 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, 0x47, 0x4c, 0x49, + 0x4d, 0x4f, 0x44, 0x45, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x4f, 0x43, 0x4d, 0x45, 0x46, 0x42, 0x47, + 0x49, 0x50, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x47, 0x4d, 0x4f, 0x43, 0x4d, 0x45, 0x46, 0x42, 0x47, 0x49, 0x50, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryIslandPartySailInfo_proto_rawDescOnce sync.Once + file_SceneGalleryIslandPartySailInfo_proto_rawDescData = file_SceneGalleryIslandPartySailInfo_proto_rawDesc +) + +func file_SceneGalleryIslandPartySailInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryIslandPartySailInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryIslandPartySailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryIslandPartySailInfo_proto_rawDescData) + }) + return file_SceneGalleryIslandPartySailInfo_proto_rawDescData +} + +var file_SceneGalleryIslandPartySailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryIslandPartySailInfo_proto_goTypes = []interface{}{ + (*SceneGalleryIslandPartySailInfo)(nil), // 0: SceneGalleryIslandPartySailInfo + (Unk2800_FMAOEPEBKHB)(0), // 1: Unk2800_FMAOEPEBKHB + (Unk2800_IMLDGLIMODE)(0), // 2: Unk2800_IMLDGLIMODE +} +var file_SceneGalleryIslandPartySailInfo_proto_depIdxs = []int32{ + 1, // 0: SceneGalleryIslandPartySailInfo.Unk2800_ENJGEFBCLOL:type_name -> Unk2800_FMAOEPEBKHB + 2, // 1: SceneGalleryIslandPartySailInfo.stage:type_name -> Unk2800_IMLDGLIMODE + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SceneGalleryIslandPartySailInfo_proto_init() } +func file_SceneGalleryIslandPartySailInfo_proto_init() { + if File_SceneGalleryIslandPartySailInfo_proto != nil { + return + } + file_Unk2800_FMAOEPEBKHB_proto_init() + file_Unk2800_IMLDGLIMODE_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneGalleryIslandPartySailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryIslandPartySailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryIslandPartySailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryIslandPartySailInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryIslandPartySailInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryIslandPartySailInfo_proto_msgTypes, + }.Build() + File_SceneGalleryIslandPartySailInfo_proto = out.File + file_SceneGalleryIslandPartySailInfo_proto_rawDesc = nil + file_SceneGalleryIslandPartySailInfo_proto_goTypes = nil + file_SceneGalleryIslandPartySailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.proto b/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.proto new file mode 100644 index 00000000..23623a2d --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryIslandPartySailInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FMAOEPEBKHB.proto"; +import "Unk2800_IMLDGLIMODE.proto"; + +option go_package = "./;proto"; + +message SceneGalleryIslandPartySailInfo { + uint32 Unk2800_HKHENLCIFNN = 14; + uint32 Unk2800_NGPLGLLFGOG = 10; + Unk2800_FMAOEPEBKHB Unk2800_ENJGEFBCLOL = 1; + uint32 Unk2800_DNDKJOJCDBI = 11; + uint32 coin = 15; + Unk2800_IMLDGLIMODE stage = 12; + uint32 Unk2800_GMOCMEFBGIP = 8; +} diff --git a/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.pb.go new file mode 100644 index 00000000..1fb2b4a0 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryLuminanceStoneChallengeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryLuminanceStoneChallengeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KillMonsterCount uint32 `protobuf:"varint,5,opt,name=kill_monster_count,json=killMonsterCount,proto3" json:"kill_monster_count,omitempty"` + Score uint32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` + Unk2700_OFKHLGLOPCM uint32 `protobuf:"varint,2,opt,name=Unk2700_OFKHLGLOPCM,json=Unk2700OFKHLGLOPCM,proto3" json:"Unk2700_OFKHLGLOPCM,omitempty"` + KillSpecialMonsterCount uint32 `protobuf:"varint,6,opt,name=kill_special_monster_count,json=killSpecialMonsterCount,proto3" json:"kill_special_monster_count,omitempty"` +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) Reset() { + *x = SceneGalleryLuminanceStoneChallengeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryLuminanceStoneChallengeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryLuminanceStoneChallengeInfo) ProtoMessage() {} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryLuminanceStoneChallengeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryLuminanceStoneChallengeInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryLuminanceStoneChallengeInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) GetKillMonsterCount() uint32 { + if x != nil { + return x.KillMonsterCount + } + return 0 +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) GetUnk2700_OFKHLGLOPCM() uint32 { + if x != nil { + return x.Unk2700_OFKHLGLOPCM + } + return 0 +} + +func (x *SceneGalleryLuminanceStoneChallengeInfo) GetKillSpecialMonsterCount() uint32 { + if x != nil { + return x.KillSpecialMonsterCount + } + return 0 +} + +var File_SceneGalleryLuminanceStoneChallengeInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4c, 0x75, + 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xdb, 0x01, 0x0a, 0x27, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x4c, 0x75, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x6b, + 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x4b, 0x48, 0x4c, + 0x47, 0x4c, 0x4f, 0x50, 0x43, 0x4d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x46, 0x4b, 0x48, 0x4c, 0x47, 0x4c, 0x4f, 0x50, 0x43, 0x4d, + 0x12, 0x3b, 0x0a, 0x1a, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, + 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, + 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescOnce sync.Once + file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescData = file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDesc +) + +func file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescData) + }) + return file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDescData +} + +var file_SceneGalleryLuminanceStoneChallengeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryLuminanceStoneChallengeInfo_proto_goTypes = []interface{}{ + (*SceneGalleryLuminanceStoneChallengeInfo)(nil), // 0: SceneGalleryLuminanceStoneChallengeInfo +} +var file_SceneGalleryLuminanceStoneChallengeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryLuminanceStoneChallengeInfo_proto_init() } +func file_SceneGalleryLuminanceStoneChallengeInfo_proto_init() { + if File_SceneGalleryLuminanceStoneChallengeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryLuminanceStoneChallengeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryLuminanceStoneChallengeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryLuminanceStoneChallengeInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryLuminanceStoneChallengeInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryLuminanceStoneChallengeInfo_proto_msgTypes, + }.Build() + File_SceneGalleryLuminanceStoneChallengeInfo_proto = out.File + file_SceneGalleryLuminanceStoneChallengeInfo_proto_rawDesc = nil + file_SceneGalleryLuminanceStoneChallengeInfo_proto_goTypes = nil + file_SceneGalleryLuminanceStoneChallengeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.proto b/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.proto new file mode 100644 index 00000000..25db2b21 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryLuminanceStoneChallengeInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryLuminanceStoneChallengeInfo { + uint32 kill_monster_count = 5; + uint32 score = 3; + uint32 Unk2700_OFKHLGLOPCM = 2; + uint32 kill_special_monster_count = 6; +} diff --git a/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.pb.go new file mode 100644 index 00000000..2a7ed498 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryMuqadasPotionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryMuqadasPotionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,6,opt,name=score,proto3" json:"score,omitempty"` + Unk3000_MKFIPLFHJNE uint32 `protobuf:"varint,4,opt,name=Unk3000_MKFIPLFHJNE,json=Unk3000MKFIPLFHJNE,proto3" json:"Unk3000_MKFIPLFHJNE,omitempty"` + Unk3000_FELJKCAAJMJ uint32 `protobuf:"varint,10,opt,name=Unk3000_FELJKCAAJMJ,json=Unk3000FELJKCAAJMJ,proto3" json:"Unk3000_FELJKCAAJMJ,omitempty"` + Unk3000_JKHKNKNBFDC uint32 `protobuf:"varint,9,opt,name=Unk3000_JKHKNKNBFDC,json=Unk3000JKHKNKNBFDC,proto3" json:"Unk3000_JKHKNKNBFDC,omitempty"` +} + +func (x *SceneGalleryMuqadasPotionInfo) Reset() { + *x = SceneGalleryMuqadasPotionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryMuqadasPotionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryMuqadasPotionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryMuqadasPotionInfo) ProtoMessage() {} + +func (x *SceneGalleryMuqadasPotionInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryMuqadasPotionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryMuqadasPotionInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryMuqadasPotionInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryMuqadasPotionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryMuqadasPotionInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SceneGalleryMuqadasPotionInfo) GetUnk3000_MKFIPLFHJNE() uint32 { + if x != nil { + return x.Unk3000_MKFIPLFHJNE + } + return 0 +} + +func (x *SceneGalleryMuqadasPotionInfo) GetUnk3000_FELJKCAAJMJ() uint32 { + if x != nil { + return x.Unk3000_FELJKCAAJMJ + } + return 0 +} + +func (x *SceneGalleryMuqadasPotionInfo) GetUnk3000_JKHKNKNBFDC() uint32 { + if x != nil { + return x.Unk3000_JKHKNKNBFDC + } + return 0 +} + +var File_SceneGalleryMuqadasPotionInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryMuqadasPotionInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4d, 0x75, + 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x01, 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x4d, 0x75, 0x71, 0x61, 0x64, 0x61, 0x73, 0x50, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x46, 0x49, 0x50, 0x4c, 0x46, + 0x48, 0x4a, 0x4e, 0x45, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x46, 0x49, 0x50, 0x4c, 0x46, 0x48, 0x4a, 0x4e, 0x45, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4c, 0x4a, 0x4b, 0x43, + 0x41, 0x41, 0x4a, 0x4d, 0x4a, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x46, 0x45, 0x4c, 0x4a, 0x4b, 0x43, 0x41, 0x41, 0x4a, 0x4d, 0x4a, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x48, 0x4b, 0x4e, + 0x4b, 0x4e, 0x42, 0x46, 0x44, 0x43, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4a, 0x4b, 0x48, 0x4b, 0x4e, 0x4b, 0x4e, 0x42, 0x46, 0x44, 0x43, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryMuqadasPotionInfo_proto_rawDescOnce sync.Once + file_SceneGalleryMuqadasPotionInfo_proto_rawDescData = file_SceneGalleryMuqadasPotionInfo_proto_rawDesc +) + +func file_SceneGalleryMuqadasPotionInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryMuqadasPotionInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryMuqadasPotionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryMuqadasPotionInfo_proto_rawDescData) + }) + return file_SceneGalleryMuqadasPotionInfo_proto_rawDescData +} + +var file_SceneGalleryMuqadasPotionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryMuqadasPotionInfo_proto_goTypes = []interface{}{ + (*SceneGalleryMuqadasPotionInfo)(nil), // 0: SceneGalleryMuqadasPotionInfo +} +var file_SceneGalleryMuqadasPotionInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryMuqadasPotionInfo_proto_init() } +func file_SceneGalleryMuqadasPotionInfo_proto_init() { + if File_SceneGalleryMuqadasPotionInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryMuqadasPotionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryMuqadasPotionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryMuqadasPotionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryMuqadasPotionInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryMuqadasPotionInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryMuqadasPotionInfo_proto_msgTypes, + }.Build() + File_SceneGalleryMuqadasPotionInfo_proto = out.File + file_SceneGalleryMuqadasPotionInfo_proto_rawDesc = nil + file_SceneGalleryMuqadasPotionInfo_proto_goTypes = nil + file_SceneGalleryMuqadasPotionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.proto b/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.proto new file mode 100644 index 00000000..79db7596 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryMuqadasPotionInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryMuqadasPotionInfo { + uint32 score = 6; + uint32 Unk3000_MKFIPLFHJNE = 4; + uint32 Unk3000_FELJKCAAJMJ = 10; + uint32 Unk3000_JKHKNKNBFDC = 9; +} diff --git a/gate-hk4e-api/proto/SceneGalleryProgressInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryProgressInfo.pb.go new file mode 100644 index 00000000..11163588 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryProgressInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryProgressInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryProgressInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProgressStageList []uint32 `protobuf:"varint,8,rep,packed,name=progress_stage_list,json=progressStageList,proto3" json:"progress_stage_list,omitempty"` + Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` + Progress uint32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"` + UiForm uint32 `protobuf:"varint,12,opt,name=ui_form,json=uiForm,proto3" json:"ui_form,omitempty"` +} + +func (x *SceneGalleryProgressInfo) Reset() { + *x = SceneGalleryProgressInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryProgressInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryProgressInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryProgressInfo) ProtoMessage() {} + +func (x *SceneGalleryProgressInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryProgressInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryProgressInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryProgressInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryProgressInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryProgressInfo) GetProgressStageList() []uint32 { + if x != nil { + return x.ProgressStageList + } + return nil +} + +func (x *SceneGalleryProgressInfo) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *SceneGalleryProgressInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *SceneGalleryProgressInfo) GetUiForm() uint32 { + if x != nil { + return x.UiForm + } + return 0 +} + +var File_SceneGalleryProgressInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryProgressInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x91, 0x01, 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, + 0x13, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, + 0x69, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x69, + 0x46, 0x6f, 0x72, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryProgressInfo_proto_rawDescOnce sync.Once + file_SceneGalleryProgressInfo_proto_rawDescData = file_SceneGalleryProgressInfo_proto_rawDesc +) + +func file_SceneGalleryProgressInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryProgressInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryProgressInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryProgressInfo_proto_rawDescData) + }) + return file_SceneGalleryProgressInfo_proto_rawDescData +} + +var file_SceneGalleryProgressInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryProgressInfo_proto_goTypes = []interface{}{ + (*SceneGalleryProgressInfo)(nil), // 0: SceneGalleryProgressInfo +} +var file_SceneGalleryProgressInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryProgressInfo_proto_init() } +func file_SceneGalleryProgressInfo_proto_init() { + if File_SceneGalleryProgressInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryProgressInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryProgressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryProgressInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryProgressInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryProgressInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryProgressInfo_proto_msgTypes, + }.Build() + File_SceneGalleryProgressInfo_proto = out.File + file_SceneGalleryProgressInfo_proto_rawDesc = nil + file_SceneGalleryProgressInfo_proto_goTypes = nil + file_SceneGalleryProgressInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryProgressInfo.proto b/gate-hk4e-api/proto/SceneGalleryProgressInfo.proto new file mode 100644 index 00000000..0dafc819 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryProgressInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryProgressInfo { + repeated uint32 progress_stage_list = 8; + string key = 11; + uint32 progress = 5; + uint32 ui_form = 12; +} diff --git a/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.pb.go b/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.pb.go new file mode 100644 index 00000000..7d2d3381 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGallerySalvageEscortInfoInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGallerySalvageEscortInfoInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_NECHECIDCEG uint32 `protobuf:"varint,14,opt,name=Unk2700_NECHECIDCEG,json=Unk2700NECHECIDCEG,proto3" json:"Unk2700_NECHECIDCEG,omitempty"` + Unk2700_AMJEKEJLOGJ uint32 `protobuf:"varint,3,opt,name=Unk2700_AMJEKEJLOGJ,json=Unk2700AMJEKEJLOGJ,proto3" json:"Unk2700_AMJEKEJLOGJ,omitempty"` + Unk2700_MCFMMIDNLIF uint32 `protobuf:"varint,7,opt,name=Unk2700_MCFMMIDNLIF,json=Unk2700MCFMMIDNLIF,proto3" json:"Unk2700_MCFMMIDNLIF,omitempty"` + Unk2700_FFCCLGIFGIP uint32 `protobuf:"varint,11,opt,name=Unk2700_FFCCLGIFGIP,json=Unk2700FFCCLGIFGIP,proto3" json:"Unk2700_FFCCLGIFGIP,omitempty"` +} + +func (x *SceneGallerySalvageEscortInfoInfo) Reset() { + *x = SceneGallerySalvageEscortInfoInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGallerySalvageEscortInfoInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGallerySalvageEscortInfoInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGallerySalvageEscortInfoInfo) ProtoMessage() {} + +func (x *SceneGallerySalvageEscortInfoInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGallerySalvageEscortInfoInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGallerySalvageEscortInfoInfo.ProtoReflect.Descriptor instead. +func (*SceneGallerySalvageEscortInfoInfo) Descriptor() ([]byte, []int) { + return file_SceneGallerySalvageEscortInfoInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGallerySalvageEscortInfoInfo) GetUnk2700_NECHECIDCEG() uint32 { + if x != nil { + return x.Unk2700_NECHECIDCEG + } + return 0 +} + +func (x *SceneGallerySalvageEscortInfoInfo) GetUnk2700_AMJEKEJLOGJ() uint32 { + if x != nil { + return x.Unk2700_AMJEKEJLOGJ + } + return 0 +} + +func (x *SceneGallerySalvageEscortInfoInfo) GetUnk2700_MCFMMIDNLIF() uint32 { + if x != nil { + return x.Unk2700_MCFMMIDNLIF + } + return 0 +} + +func (x *SceneGallerySalvageEscortInfoInfo) GetUnk2700_FFCCLGIFGIP() uint32 { + if x != nil { + return x.Unk2700_FFCCLGIFGIP + } + return 0 +} + +var File_SceneGallerySalvageEscortInfoInfo_proto protoreflect.FileDescriptor + +var file_SceneGallerySalvageEscortInfoInfo_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, + 0x6c, 0x76, 0x61, 0x67, 0x65, 0x45, 0x73, 0x63, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x01, 0x0a, 0x21, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, 0x6c, 0x76, 0x61, 0x67, + 0x65, 0x45, 0x73, 0x63, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x45, 0x43, 0x48, 0x45, + 0x43, 0x49, 0x44, 0x43, 0x45, 0x47, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x45, 0x43, 0x48, 0x45, 0x43, 0x49, 0x44, 0x43, 0x45, 0x47, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4a, 0x45, + 0x4b, 0x45, 0x4a, 0x4c, 0x4f, 0x47, 0x4a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4d, 0x4a, 0x45, 0x4b, 0x45, 0x4a, 0x4c, 0x4f, 0x47, + 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x46, + 0x4d, 0x4d, 0x49, 0x44, 0x4e, 0x4c, 0x49, 0x46, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x43, 0x46, 0x4d, 0x4d, 0x49, 0x44, 0x4e, 0x4c, + 0x49, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, + 0x43, 0x43, 0x4c, 0x47, 0x49, 0x46, 0x47, 0x49, 0x50, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x46, 0x43, 0x43, 0x4c, 0x47, 0x49, 0x46, + 0x47, 0x49, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGallerySalvageEscortInfoInfo_proto_rawDescOnce sync.Once + file_SceneGallerySalvageEscortInfoInfo_proto_rawDescData = file_SceneGallerySalvageEscortInfoInfo_proto_rawDesc +) + +func file_SceneGallerySalvageEscortInfoInfo_proto_rawDescGZIP() []byte { + file_SceneGallerySalvageEscortInfoInfo_proto_rawDescOnce.Do(func() { + file_SceneGallerySalvageEscortInfoInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGallerySalvageEscortInfoInfo_proto_rawDescData) + }) + return file_SceneGallerySalvageEscortInfoInfo_proto_rawDescData +} + +var file_SceneGallerySalvageEscortInfoInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGallerySalvageEscortInfoInfo_proto_goTypes = []interface{}{ + (*SceneGallerySalvageEscortInfoInfo)(nil), // 0: SceneGallerySalvageEscortInfoInfo +} +var file_SceneGallerySalvageEscortInfoInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGallerySalvageEscortInfoInfo_proto_init() } +func file_SceneGallerySalvageEscortInfoInfo_proto_init() { + if File_SceneGallerySalvageEscortInfoInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGallerySalvageEscortInfoInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGallerySalvageEscortInfoInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGallerySalvageEscortInfoInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGallerySalvageEscortInfoInfo_proto_goTypes, + DependencyIndexes: file_SceneGallerySalvageEscortInfoInfo_proto_depIdxs, + MessageInfos: file_SceneGallerySalvageEscortInfoInfo_proto_msgTypes, + }.Build() + File_SceneGallerySalvageEscortInfoInfo_proto = out.File + file_SceneGallerySalvageEscortInfoInfo_proto_rawDesc = nil + file_SceneGallerySalvageEscortInfoInfo_proto_goTypes = nil + file_SceneGallerySalvageEscortInfoInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.proto b/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.proto new file mode 100644 index 00000000..2eaaa66d --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySalvageEscortInfoInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGallerySalvageEscortInfoInfo { + uint32 Unk2700_NECHECIDCEG = 14; + uint32 Unk2700_AMJEKEJLOGJ = 3; + uint32 Unk2700_MCFMMIDNLIF = 7; + uint32 Unk2700_FFCCLGIFGIP = 11; +} diff --git a/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.pb.go b/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.pb.go new file mode 100644 index 00000000..957cd4d6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGallerySalvagePreventInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGallerySalvagePreventInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FFCCLGIFGIP uint32 `protobuf:"varint,7,opt,name=Unk2700_FFCCLGIFGIP,json=Unk2700FFCCLGIFGIP,proto3" json:"Unk2700_FFCCLGIFGIP,omitempty"` +} + +func (x *SceneGallerySalvagePreventInfo) Reset() { + *x = SceneGallerySalvagePreventInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGallerySalvagePreventInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGallerySalvagePreventInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGallerySalvagePreventInfo) ProtoMessage() {} + +func (x *SceneGallerySalvagePreventInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGallerySalvagePreventInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGallerySalvagePreventInfo.ProtoReflect.Descriptor instead. +func (*SceneGallerySalvagePreventInfo) Descriptor() ([]byte, []int) { + return file_SceneGallerySalvagePreventInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGallerySalvagePreventInfo) GetUnk2700_FFCCLGIFGIP() uint32 { + if x != nil { + return x.Unk2700_FFCCLGIFGIP + } + return 0 +} + +var File_SceneGallerySalvagePreventInfo_proto protoreflect.FileDescriptor + +var file_SceneGallerySalvagePreventInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, + 0x6c, 0x76, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x61, 0x6c, 0x76, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x43, 0x43, 0x4c, 0x47, 0x49, 0x46, 0x47, 0x49, 0x50, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x46, + 0x43, 0x43, 0x4c, 0x47, 0x49, 0x46, 0x47, 0x49, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGallerySalvagePreventInfo_proto_rawDescOnce sync.Once + file_SceneGallerySalvagePreventInfo_proto_rawDescData = file_SceneGallerySalvagePreventInfo_proto_rawDesc +) + +func file_SceneGallerySalvagePreventInfo_proto_rawDescGZIP() []byte { + file_SceneGallerySalvagePreventInfo_proto_rawDescOnce.Do(func() { + file_SceneGallerySalvagePreventInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGallerySalvagePreventInfo_proto_rawDescData) + }) + return file_SceneGallerySalvagePreventInfo_proto_rawDescData +} + +var file_SceneGallerySalvagePreventInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGallerySalvagePreventInfo_proto_goTypes = []interface{}{ + (*SceneGallerySalvagePreventInfo)(nil), // 0: SceneGallerySalvagePreventInfo +} +var file_SceneGallerySalvagePreventInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGallerySalvagePreventInfo_proto_init() } +func file_SceneGallerySalvagePreventInfo_proto_init() { + if File_SceneGallerySalvagePreventInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGallerySalvagePreventInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGallerySalvagePreventInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGallerySalvagePreventInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGallerySalvagePreventInfo_proto_goTypes, + DependencyIndexes: file_SceneGallerySalvagePreventInfo_proto_depIdxs, + MessageInfos: file_SceneGallerySalvagePreventInfo_proto_msgTypes, + }.Build() + File_SceneGallerySalvagePreventInfo_proto = out.File + file_SceneGallerySalvagePreventInfo_proto_rawDesc = nil + file_SceneGallerySalvagePreventInfo_proto_goTypes = nil + file_SceneGallerySalvagePreventInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.proto b/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.proto new file mode 100644 index 00000000..e7a2e048 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySalvagePreventInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGallerySalvagePreventInfo { + uint32 Unk2700_FFCCLGIFGIP = 7; +} diff --git a/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.pb.go b/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.pb.go new file mode 100644 index 00000000..8cfa8ff5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGallerySummerTimeV2BoatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGallerySummerTimeV2BoatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param1 uint32 `protobuf:"varint,15,opt,name=param1,proto3" json:"param1,omitempty"` + Param3 uint32 `protobuf:"varint,3,opt,name=param3,proto3" json:"param3,omitempty"` + Unk2800_NGGPIECNHJA uint32 `protobuf:"varint,11,opt,name=Unk2800_NGGPIECNHJA,json=Unk2800NGGPIECNHJA,proto3" json:"Unk2800_NGGPIECNHJA,omitempty"` + Param2 uint32 `protobuf:"varint,7,opt,name=param2,proto3" json:"param2,omitempty"` +} + +func (x *SceneGallerySummerTimeV2BoatInfo) Reset() { + *x = SceneGallerySummerTimeV2BoatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGallerySummerTimeV2BoatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGallerySummerTimeV2BoatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGallerySummerTimeV2BoatInfo) ProtoMessage() {} + +func (x *SceneGallerySummerTimeV2BoatInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGallerySummerTimeV2BoatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGallerySummerTimeV2BoatInfo.ProtoReflect.Descriptor instead. +func (*SceneGallerySummerTimeV2BoatInfo) Descriptor() ([]byte, []int) { + return file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGallerySummerTimeV2BoatInfo) GetParam1() uint32 { + if x != nil { + return x.Param1 + } + return 0 +} + +func (x *SceneGallerySummerTimeV2BoatInfo) GetParam3() uint32 { + if x != nil { + return x.Param3 + } + return 0 +} + +func (x *SceneGallerySummerTimeV2BoatInfo) GetUnk2800_NGGPIECNHJA() uint32 { + if x != nil { + return x.Unk2800_NGGPIECNHJA + } + return 0 +} + +func (x *SceneGallerySummerTimeV2BoatInfo) GetParam2() uint32 { + if x != nil { + return x.Param2 + } + return 0 +} + +var File_SceneGallerySummerTimeV2BoatInfo_proto protoreflect.FileDescriptor + +var file_SceneGallerySummerTimeV2BoatInfo_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x20, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, + 0x69, 0x6d, 0x65, 0x56, 0x32, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4e, 0x47, 0x47, 0x50, 0x49, 0x45, 0x43, + 0x4e, 0x48, 0x4a, 0x41, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x4e, 0x47, 0x47, 0x50, 0x49, 0x45, 0x43, 0x4e, 0x48, 0x4a, 0x41, 0x12, 0x16, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescOnce sync.Once + file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescData = file_SceneGallerySummerTimeV2BoatInfo_proto_rawDesc +) + +func file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescGZIP() []byte { + file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescOnce.Do(func() { + file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescData) + }) + return file_SceneGallerySummerTimeV2BoatInfo_proto_rawDescData +} + +var file_SceneGallerySummerTimeV2BoatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGallerySummerTimeV2BoatInfo_proto_goTypes = []interface{}{ + (*SceneGallerySummerTimeV2BoatInfo)(nil), // 0: SceneGallerySummerTimeV2BoatInfo +} +var file_SceneGallerySummerTimeV2BoatInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGallerySummerTimeV2BoatInfo_proto_init() } +func file_SceneGallerySummerTimeV2BoatInfo_proto_init() { + if File_SceneGallerySummerTimeV2BoatInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGallerySummerTimeV2BoatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGallerySummerTimeV2BoatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGallerySummerTimeV2BoatInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGallerySummerTimeV2BoatInfo_proto_goTypes, + DependencyIndexes: file_SceneGallerySummerTimeV2BoatInfo_proto_depIdxs, + MessageInfos: file_SceneGallerySummerTimeV2BoatInfo_proto_msgTypes, + }.Build() + File_SceneGallerySummerTimeV2BoatInfo_proto = out.File + file_SceneGallerySummerTimeV2BoatInfo_proto_rawDesc = nil + file_SceneGallerySummerTimeV2BoatInfo_proto_goTypes = nil + file_SceneGallerySummerTimeV2BoatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.proto b/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.proto new file mode 100644 index 00000000..4c5df3af --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySummerTimeV2BoatInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGallerySummerTimeV2BoatInfo { + uint32 param1 = 15; + uint32 param3 = 3; + uint32 Unk2800_NGGPIECNHJA = 11; + uint32 param2 = 7; +} diff --git a/gate-hk4e-api/proto/SceneGallerySumoInfo.pb.go b/gate-hk4e-api/proto/SceneGallerySumoInfo.pb.go new file mode 100644 index 00000000..5b08f34b --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySumoInfo.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGallerySumoInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGallerySumoInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` + KillNormalMosnterNum uint32 `protobuf:"varint,15,opt,name=kill_normal_mosnter_num,json=killNormalMosnterNum,proto3" json:"kill_normal_mosnter_num,omitempty"` + KillEliteMonsterNum uint32 `protobuf:"varint,14,opt,name=kill_elite_monster_num,json=killEliteMonsterNum,proto3" json:"kill_elite_monster_num,omitempty"` +} + +func (x *SceneGallerySumoInfo) Reset() { + *x = SceneGallerySumoInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGallerySumoInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGallerySumoInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGallerySumoInfo) ProtoMessage() {} + +func (x *SceneGallerySumoInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGallerySumoInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGallerySumoInfo.ProtoReflect.Descriptor instead. +func (*SceneGallerySumoInfo) Descriptor() ([]byte, []int) { + return file_SceneGallerySumoInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGallerySumoInfo) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SceneGallerySumoInfo) GetKillNormalMosnterNum() uint32 { + if x != nil { + return x.KillNormalMosnterNum + } + return 0 +} + +func (x *SceneGallerySumoInfo) GetKillEliteMonsterNum() uint32 { + if x != nil { + return x.KillEliteMonsterNum + } + return 0 +} + +var File_SceneGallerySumoInfo_proto protoreflect.FileDescriptor + +var file_SceneGallerySumoInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, + 0x6d, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, + 0x14, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x53, 0x75, 0x6d, + 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x6b, + 0x69, 0x6c, 0x6c, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x73, 0x6e, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6b, 0x69, + 0x6c, 0x6c, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4d, 0x6f, 0x73, 0x6e, 0x74, 0x65, 0x72, 0x4e, + 0x75, 0x6d, 0x12, 0x33, 0x0a, 0x16, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x6c, 0x69, 0x74, 0x65, + 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x13, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGallerySumoInfo_proto_rawDescOnce sync.Once + file_SceneGallerySumoInfo_proto_rawDescData = file_SceneGallerySumoInfo_proto_rawDesc +) + +func file_SceneGallerySumoInfo_proto_rawDescGZIP() []byte { + file_SceneGallerySumoInfo_proto_rawDescOnce.Do(func() { + file_SceneGallerySumoInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGallerySumoInfo_proto_rawDescData) + }) + return file_SceneGallerySumoInfo_proto_rawDescData +} + +var file_SceneGallerySumoInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGallerySumoInfo_proto_goTypes = []interface{}{ + (*SceneGallerySumoInfo)(nil), // 0: SceneGallerySumoInfo +} +var file_SceneGallerySumoInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGallerySumoInfo_proto_init() } +func file_SceneGallerySumoInfo_proto_init() { + if File_SceneGallerySumoInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGallerySumoInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGallerySumoInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGallerySumoInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGallerySumoInfo_proto_goTypes, + DependencyIndexes: file_SceneGallerySumoInfo_proto_depIdxs, + MessageInfos: file_SceneGallerySumoInfo_proto_msgTypes, + }.Build() + File_SceneGallerySumoInfo_proto = out.File + file_SceneGallerySumoInfo_proto_rawDesc = nil + file_SceneGallerySumoInfo_proto_goTypes = nil + file_SceneGallerySumoInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGallerySumoInfo.proto b/gate-hk4e-api/proto/SceneGallerySumoInfo.proto new file mode 100644 index 00000000..dd591cbe --- /dev/null +++ b/gate-hk4e-api/proto/SceneGallerySumoInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGallerySumoInfo { + uint32 score = 2; + uint32 kill_normal_mosnter_num = 15; + uint32 kill_elite_monster_num = 14; +} diff --git a/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.pb.go b/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.pb.go new file mode 100644 index 00000000..6cb1e65c --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneGalleryTreasureSeelieInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneGalleryTreasureSeelieInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Progress uint32 `protobuf:"varint,15,opt,name=progress,proto3" json:"progress,omitempty"` + Unk3000_MONNEPNGNCA uint32 `protobuf:"varint,14,opt,name=Unk3000_MONNEPNGNCA,json=Unk3000MONNEPNGNCA,proto3" json:"Unk3000_MONNEPNGNCA,omitempty"` +} + +func (x *SceneGalleryTreasureSeelieInfo) Reset() { + *x = SceneGalleryTreasureSeelieInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneGalleryTreasureSeelieInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneGalleryTreasureSeelieInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneGalleryTreasureSeelieInfo) ProtoMessage() {} + +func (x *SceneGalleryTreasureSeelieInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneGalleryTreasureSeelieInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneGalleryTreasureSeelieInfo.ProtoReflect.Descriptor instead. +func (*SceneGalleryTreasureSeelieInfo) Descriptor() ([]byte, []int) { + return file_SceneGalleryTreasureSeelieInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneGalleryTreasureSeelieInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *SceneGalleryTreasureSeelieInfo) GetUnk3000_MONNEPNGNCA() uint32 { + if x != nil { + return x.Unk3000_MONNEPNGNCA + } + return 0 +} + +var File_SceneGalleryTreasureSeelieInfo_proto protoreflect.FileDescriptor + +var file_SceneGalleryTreasureSeelieInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x54, 0x72, + 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, + 0x65, 0x6c, 0x69, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4d, 0x4f, 0x4e, 0x4e, 0x45, 0x50, 0x4e, 0x47, 0x4e, 0x43, 0x41, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4f, 0x4e, 0x4e, 0x45, 0x50, + 0x4e, 0x47, 0x4e, 0x43, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneGalleryTreasureSeelieInfo_proto_rawDescOnce sync.Once + file_SceneGalleryTreasureSeelieInfo_proto_rawDescData = file_SceneGalleryTreasureSeelieInfo_proto_rawDesc +) + +func file_SceneGalleryTreasureSeelieInfo_proto_rawDescGZIP() []byte { + file_SceneGalleryTreasureSeelieInfo_proto_rawDescOnce.Do(func() { + file_SceneGalleryTreasureSeelieInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneGalleryTreasureSeelieInfo_proto_rawDescData) + }) + return file_SceneGalleryTreasureSeelieInfo_proto_rawDescData +} + +var file_SceneGalleryTreasureSeelieInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneGalleryTreasureSeelieInfo_proto_goTypes = []interface{}{ + (*SceneGalleryTreasureSeelieInfo)(nil), // 0: SceneGalleryTreasureSeelieInfo +} +var file_SceneGalleryTreasureSeelieInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneGalleryTreasureSeelieInfo_proto_init() } +func file_SceneGalleryTreasureSeelieInfo_proto_init() { + if File_SceneGalleryTreasureSeelieInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneGalleryTreasureSeelieInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneGalleryTreasureSeelieInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneGalleryTreasureSeelieInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneGalleryTreasureSeelieInfo_proto_goTypes, + DependencyIndexes: file_SceneGalleryTreasureSeelieInfo_proto_depIdxs, + MessageInfos: file_SceneGalleryTreasureSeelieInfo_proto_msgTypes, + }.Build() + File_SceneGalleryTreasureSeelieInfo_proto = out.File + file_SceneGalleryTreasureSeelieInfo_proto_rawDesc = nil + file_SceneGalleryTreasureSeelieInfo_proto_goTypes = nil + file_SceneGalleryTreasureSeelieInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.proto b/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.proto new file mode 100644 index 00000000..756e06cf --- /dev/null +++ b/gate-hk4e-api/proto/SceneGalleryTreasureSeelieInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneGalleryTreasureSeelieInfo { + uint32 progress = 15; + uint32 Unk3000_MONNEPNGNCA = 14; +} diff --git a/gate-hk4e-api/proto/SceneInitFinishReq.pb.go b/gate-hk4e-api/proto/SceneInitFinishReq.pb.go new file mode 100644 index 00000000..224bca6e --- /dev/null +++ b/gate-hk4e-api/proto/SceneInitFinishReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneInitFinishReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneInitFinishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterSceneToken uint32 `protobuf:"varint,11,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *SceneInitFinishReq) Reset() { + *x = SceneInitFinishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneInitFinishReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneInitFinishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneInitFinishReq) ProtoMessage() {} + +func (x *SceneInitFinishReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneInitFinishReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneInitFinishReq.ProtoReflect.Descriptor instead. +func (*SceneInitFinishReq) Descriptor() ([]byte, []int) { + return file_SceneInitFinishReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneInitFinishReq) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_SceneInitFinishReq_proto protoreflect.FileDescriptor + +var file_SceneInitFinishReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x12, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, + 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneInitFinishReq_proto_rawDescOnce sync.Once + file_SceneInitFinishReq_proto_rawDescData = file_SceneInitFinishReq_proto_rawDesc +) + +func file_SceneInitFinishReq_proto_rawDescGZIP() []byte { + file_SceneInitFinishReq_proto_rawDescOnce.Do(func() { + file_SceneInitFinishReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneInitFinishReq_proto_rawDescData) + }) + return file_SceneInitFinishReq_proto_rawDescData +} + +var file_SceneInitFinishReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneInitFinishReq_proto_goTypes = []interface{}{ + (*SceneInitFinishReq)(nil), // 0: SceneInitFinishReq +} +var file_SceneInitFinishReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneInitFinishReq_proto_init() } +func file_SceneInitFinishReq_proto_init() { + if File_SceneInitFinishReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneInitFinishReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneInitFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneInitFinishReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneInitFinishReq_proto_goTypes, + DependencyIndexes: file_SceneInitFinishReq_proto_depIdxs, + MessageInfos: file_SceneInitFinishReq_proto_msgTypes, + }.Build() + File_SceneInitFinishReq_proto = out.File + file_SceneInitFinishReq_proto_rawDesc = nil + file_SceneInitFinishReq_proto_goTypes = nil + file_SceneInitFinishReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneInitFinishReq.proto b/gate-hk4e-api/proto/SceneInitFinishReq.proto new file mode 100644 index 00000000..b67e5452 --- /dev/null +++ b/gate-hk4e-api/proto/SceneInitFinishReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneInitFinishReq { + uint32 enter_scene_token = 11; +} diff --git a/gate-hk4e-api/proto/SceneInitFinishRsp.pb.go b/gate-hk4e-api/proto/SceneInitFinishRsp.pb.go new file mode 100644 index 00000000..05552004 --- /dev/null +++ b/gate-hk4e-api/proto/SceneInitFinishRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneInitFinishRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneInitFinishRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + EnterSceneToken uint32 `protobuf:"varint,8,opt,name=enter_scene_token,json=enterSceneToken,proto3" json:"enter_scene_token,omitempty"` +} + +func (x *SceneInitFinishRsp) Reset() { + *x = SceneInitFinishRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneInitFinishRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneInitFinishRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneInitFinishRsp) ProtoMessage() {} + +func (x *SceneInitFinishRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneInitFinishRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneInitFinishRsp.ProtoReflect.Descriptor instead. +func (*SceneInitFinishRsp) Descriptor() ([]byte, []int) { + return file_SceneInitFinishRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneInitFinishRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneInitFinishRsp) GetEnterSceneToken() uint32 { + if x != nil { + return x.EnterSceneToken + } + return 0 +} + +var File_SceneInitFinishRsp_proto protoreflect.FileDescriptor + +var file_SceneInitFinishRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x12, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneInitFinishRsp_proto_rawDescOnce sync.Once + file_SceneInitFinishRsp_proto_rawDescData = file_SceneInitFinishRsp_proto_rawDesc +) + +func file_SceneInitFinishRsp_proto_rawDescGZIP() []byte { + file_SceneInitFinishRsp_proto_rawDescOnce.Do(func() { + file_SceneInitFinishRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneInitFinishRsp_proto_rawDescData) + }) + return file_SceneInitFinishRsp_proto_rawDescData +} + +var file_SceneInitFinishRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneInitFinishRsp_proto_goTypes = []interface{}{ + (*SceneInitFinishRsp)(nil), // 0: SceneInitFinishRsp +} +var file_SceneInitFinishRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneInitFinishRsp_proto_init() } +func file_SceneInitFinishRsp_proto_init() { + if File_SceneInitFinishRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneInitFinishRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneInitFinishRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneInitFinishRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneInitFinishRsp_proto_goTypes, + DependencyIndexes: file_SceneInitFinishRsp_proto_depIdxs, + MessageInfos: file_SceneInitFinishRsp_proto_msgTypes, + }.Build() + File_SceneInitFinishRsp_proto = out.File + file_SceneInitFinishRsp_proto_rawDesc = nil + file_SceneInitFinishRsp_proto_goTypes = nil + file_SceneInitFinishRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneInitFinishRsp.proto b/gate-hk4e-api/proto/SceneInitFinishRsp.proto new file mode 100644 index 00000000..25ada62c --- /dev/null +++ b/gate-hk4e-api/proto/SceneInitFinishRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneInitFinishRsp { + int32 retcode = 13; + uint32 enter_scene_token = 8; +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerNotify.pb.go b/gate-hk4e-api/proto/SceneKickPlayerNotify.pb.go new file mode 100644 index 00000000..18136585 --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneKickPlayerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 211 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneKickPlayerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,8,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + KickerUid uint32 `protobuf:"varint,9,opt,name=kicker_uid,json=kickerUid,proto3" json:"kicker_uid,omitempty"` +} + +func (x *SceneKickPlayerNotify) Reset() { + *x = SceneKickPlayerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneKickPlayerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneKickPlayerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneKickPlayerNotify) ProtoMessage() {} + +func (x *SceneKickPlayerNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneKickPlayerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneKickPlayerNotify.ProtoReflect.Descriptor instead. +func (*SceneKickPlayerNotify) Descriptor() ([]byte, []int) { + return file_SceneKickPlayerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneKickPlayerNotify) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *SceneKickPlayerNotify) GetKickerUid() uint32 { + if x != nil { + return x.KickerUid + } + return 0 +} + +var File_SceneKickPlayerNotify_proto protoreflect.FileDescriptor + +var file_SceneKickPlayerNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, + 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, + 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6b, 0x69, 0x63, 0x6b, 0x65, + 0x72, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneKickPlayerNotify_proto_rawDescOnce sync.Once + file_SceneKickPlayerNotify_proto_rawDescData = file_SceneKickPlayerNotify_proto_rawDesc +) + +func file_SceneKickPlayerNotify_proto_rawDescGZIP() []byte { + file_SceneKickPlayerNotify_proto_rawDescOnce.Do(func() { + file_SceneKickPlayerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneKickPlayerNotify_proto_rawDescData) + }) + return file_SceneKickPlayerNotify_proto_rawDescData +} + +var file_SceneKickPlayerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneKickPlayerNotify_proto_goTypes = []interface{}{ + (*SceneKickPlayerNotify)(nil), // 0: SceneKickPlayerNotify +} +var file_SceneKickPlayerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneKickPlayerNotify_proto_init() } +func file_SceneKickPlayerNotify_proto_init() { + if File_SceneKickPlayerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneKickPlayerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneKickPlayerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneKickPlayerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneKickPlayerNotify_proto_goTypes, + DependencyIndexes: file_SceneKickPlayerNotify_proto_depIdxs, + MessageInfos: file_SceneKickPlayerNotify_proto_msgTypes, + }.Build() + File_SceneKickPlayerNotify_proto = out.File + file_SceneKickPlayerNotify_proto_rawDesc = nil + file_SceneKickPlayerNotify_proto_goTypes = nil + file_SceneKickPlayerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerNotify.proto b/gate-hk4e-api/proto/SceneKickPlayerNotify.proto new file mode 100644 index 00000000..dbdf03ec --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 211 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneKickPlayerNotify { + uint32 target_uid = 8; + uint32 kicker_uid = 9; +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerReq.pb.go b/gate-hk4e-api/proto/SceneKickPlayerReq.pb.go new file mode 100644 index 00000000..0c39e2dd --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneKickPlayerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 264 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneKickPlayerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,6,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *SceneKickPlayerReq) Reset() { + *x = SceneKickPlayerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneKickPlayerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneKickPlayerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneKickPlayerReq) ProtoMessage() {} + +func (x *SceneKickPlayerReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneKickPlayerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneKickPlayerReq.ProtoReflect.Descriptor instead. +func (*SceneKickPlayerReq) Descriptor() ([]byte, []int) { + return file_SceneKickPlayerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneKickPlayerReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_SceneKickPlayerReq_proto protoreflect.FileDescriptor + +var file_SceneKickPlayerReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SceneKickPlayerReq_proto_rawDescOnce sync.Once + file_SceneKickPlayerReq_proto_rawDescData = file_SceneKickPlayerReq_proto_rawDesc +) + +func file_SceneKickPlayerReq_proto_rawDescGZIP() []byte { + file_SceneKickPlayerReq_proto_rawDescOnce.Do(func() { + file_SceneKickPlayerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneKickPlayerReq_proto_rawDescData) + }) + return file_SceneKickPlayerReq_proto_rawDescData +} + +var file_SceneKickPlayerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneKickPlayerReq_proto_goTypes = []interface{}{ + (*SceneKickPlayerReq)(nil), // 0: SceneKickPlayerReq +} +var file_SceneKickPlayerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneKickPlayerReq_proto_init() } +func file_SceneKickPlayerReq_proto_init() { + if File_SceneKickPlayerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneKickPlayerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneKickPlayerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneKickPlayerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneKickPlayerReq_proto_goTypes, + DependencyIndexes: file_SceneKickPlayerReq_proto_depIdxs, + MessageInfos: file_SceneKickPlayerReq_proto_msgTypes, + }.Build() + File_SceneKickPlayerReq_proto = out.File + file_SceneKickPlayerReq_proto_rawDesc = nil + file_SceneKickPlayerReq_proto_goTypes = nil + file_SceneKickPlayerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerReq.proto b/gate-hk4e-api/proto/SceneKickPlayerReq.proto new file mode 100644 index 00000000..ac969aa7 --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 264 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneKickPlayerReq { + uint32 target_uid = 6; +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerRsp.pb.go b/gate-hk4e-api/proto/SceneKickPlayerRsp.pb.go new file mode 100644 index 00000000..94375162 --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneKickPlayerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 238 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneKickPlayerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + TargetUid uint32 `protobuf:"varint,10,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` +} + +func (x *SceneKickPlayerRsp) Reset() { + *x = SceneKickPlayerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneKickPlayerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneKickPlayerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneKickPlayerRsp) ProtoMessage() {} + +func (x *SceneKickPlayerRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneKickPlayerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneKickPlayerRsp.ProtoReflect.Descriptor instead. +func (*SceneKickPlayerRsp) Descriptor() ([]byte, []int) { + return file_SceneKickPlayerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneKickPlayerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SceneKickPlayerRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +var File_SceneKickPlayerRsp_proto protoreflect.FileDescriptor + +var file_SceneKickPlayerRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x12, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x4b, 0x69, 0x63, 0x6b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneKickPlayerRsp_proto_rawDescOnce sync.Once + file_SceneKickPlayerRsp_proto_rawDescData = file_SceneKickPlayerRsp_proto_rawDesc +) + +func file_SceneKickPlayerRsp_proto_rawDescGZIP() []byte { + file_SceneKickPlayerRsp_proto_rawDescOnce.Do(func() { + file_SceneKickPlayerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneKickPlayerRsp_proto_rawDescData) + }) + return file_SceneKickPlayerRsp_proto_rawDescData +} + +var file_SceneKickPlayerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneKickPlayerRsp_proto_goTypes = []interface{}{ + (*SceneKickPlayerRsp)(nil), // 0: SceneKickPlayerRsp +} +var file_SceneKickPlayerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneKickPlayerRsp_proto_init() } +func file_SceneKickPlayerRsp_proto_init() { + if File_SceneKickPlayerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneKickPlayerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneKickPlayerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneKickPlayerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneKickPlayerRsp_proto_goTypes, + DependencyIndexes: file_SceneKickPlayerRsp_proto_depIdxs, + MessageInfos: file_SceneKickPlayerRsp_proto_msgTypes, + }.Build() + File_SceneKickPlayerRsp_proto = out.File + file_SceneKickPlayerRsp_proto_rawDesc = nil + file_SceneKickPlayerRsp_proto_goTypes = nil + file_SceneKickPlayerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneKickPlayerRsp.proto b/gate-hk4e-api/proto/SceneKickPlayerRsp.proto new file mode 100644 index 00000000..a149dc72 --- /dev/null +++ b/gate-hk4e-api/proto/SceneKickPlayerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 238 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneKickPlayerRsp { + int32 retcode = 13; + uint32 target_uid = 10; +} diff --git a/gate-hk4e-api/proto/SceneMonsterInfo.pb.go b/gate-hk4e-api/proto/SceneMonsterInfo.pb.go new file mode 100644 index 00000000..c898735f --- /dev/null +++ b/gate-hk4e-api/proto/SceneMonsterInfo.pb.go @@ -0,0 +1,469 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneMonsterInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneMonsterInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterId uint32 `protobuf:"varint,1,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + WeaponList []*SceneWeaponInfo `protobuf:"bytes,4,rep,name=weapon_list,json=weaponList,proto3" json:"weapon_list,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,5,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + AffixList []uint32 `protobuf:"varint,6,rep,packed,name=affix_list,json=affixList,proto3" json:"affix_list,omitempty"` + IsElite bool `protobuf:"varint,7,opt,name=is_elite,json=isElite,proto3" json:"is_elite,omitempty"` + OwnerEntityId uint32 `protobuf:"varint,8,opt,name=owner_entity_id,json=ownerEntityId,proto3" json:"owner_entity_id,omitempty"` + SummonedTag uint32 `protobuf:"varint,9,opt,name=summoned_tag,json=summonedTag,proto3" json:"summoned_tag,omitempty"` + SummonTagMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=summon_tag_map,json=summonTagMap,proto3" json:"summon_tag_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + PoseId uint32 `protobuf:"varint,11,opt,name=pose_id,json=poseId,proto3" json:"pose_id,omitempty"` + BornType MonsterBornType `protobuf:"varint,12,opt,name=born_type,json=bornType,proto3,enum=MonsterBornType" json:"born_type,omitempty"` + BlockId uint32 `protobuf:"varint,13,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + MarkFlag uint32 `protobuf:"varint,14,opt,name=mark_flag,json=markFlag,proto3" json:"mark_flag,omitempty"` + TitleId uint32 `protobuf:"varint,15,opt,name=title_id,json=titleId,proto3" json:"title_id,omitempty"` + SpecialNameId uint32 `protobuf:"varint,16,opt,name=special_name_id,json=specialNameId,proto3" json:"special_name_id,omitempty"` + AttackTargetId uint32 `protobuf:"varint,17,opt,name=attack_target_id,json=attackTargetId,proto3" json:"attack_target_id,omitempty"` + MonsterRoute *MonsterRoute `protobuf:"bytes,18,opt,name=monster_route,json=monsterRoute,proto3" json:"monster_route,omitempty"` + AiConfigId uint32 `protobuf:"varint,19,opt,name=ai_config_id,json=aiConfigId,proto3" json:"ai_config_id,omitempty"` + LevelRouteId uint32 `protobuf:"varint,20,opt,name=level_route_id,json=levelRouteId,proto3" json:"level_route_id,omitempty"` + InitPoseId uint32 `protobuf:"varint,21,opt,name=init_pose_id,json=initPoseId,proto3" json:"init_pose_id,omitempty"` + Unk2800_JEGLENPDPNI bool `protobuf:"varint,22,opt,name=Unk2800_JEGLENPDPNI,json=Unk2800JEGLENPDPNI,proto3" json:"Unk2800_JEGLENPDPNI,omitempty"` + Unk3000_CCKJDCBDEKD uint32 `protobuf:"varint,23,opt,name=Unk3000_CCKJDCBDEKD,json=Unk3000CCKJDCBDEKD,proto3" json:"Unk3000_CCKJDCBDEKD,omitempty"` + // Types that are assignable to Content: + // *SceneMonsterInfo_FishInfo + // *SceneMonsterInfo_FishtankFishInfo + Content isSceneMonsterInfo_Content `protobuf_oneof:"content"` +} + +func (x *SceneMonsterInfo) Reset() { + *x = SceneMonsterInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneMonsterInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneMonsterInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneMonsterInfo) ProtoMessage() {} + +func (x *SceneMonsterInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneMonsterInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneMonsterInfo.ProtoReflect.Descriptor instead. +func (*SceneMonsterInfo) Descriptor() ([]byte, []int) { + return file_SceneMonsterInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneMonsterInfo) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *SceneMonsterInfo) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *SceneMonsterInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *SceneMonsterInfo) GetWeaponList() []*SceneWeaponInfo { + if x != nil { + return x.WeaponList + } + return nil +} + +func (x *SceneMonsterInfo) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *SceneMonsterInfo) GetAffixList() []uint32 { + if x != nil { + return x.AffixList + } + return nil +} + +func (x *SceneMonsterInfo) GetIsElite() bool { + if x != nil { + return x.IsElite + } + return false +} + +func (x *SceneMonsterInfo) GetOwnerEntityId() uint32 { + if x != nil { + return x.OwnerEntityId + } + return 0 +} + +func (x *SceneMonsterInfo) GetSummonedTag() uint32 { + if x != nil { + return x.SummonedTag + } + return 0 +} + +func (x *SceneMonsterInfo) GetSummonTagMap() map[uint32]uint32 { + if x != nil { + return x.SummonTagMap + } + return nil +} + +func (x *SceneMonsterInfo) GetPoseId() uint32 { + if x != nil { + return x.PoseId + } + return 0 +} + +func (x *SceneMonsterInfo) GetBornType() MonsterBornType { + if x != nil { + return x.BornType + } + return MonsterBornType_MONSTER_BORN_TYPE_NONE +} + +func (x *SceneMonsterInfo) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *SceneMonsterInfo) GetMarkFlag() uint32 { + if x != nil { + return x.MarkFlag + } + return 0 +} + +func (x *SceneMonsterInfo) GetTitleId() uint32 { + if x != nil { + return x.TitleId + } + return 0 +} + +func (x *SceneMonsterInfo) GetSpecialNameId() uint32 { + if x != nil { + return x.SpecialNameId + } + return 0 +} + +func (x *SceneMonsterInfo) GetAttackTargetId() uint32 { + if x != nil { + return x.AttackTargetId + } + return 0 +} + +func (x *SceneMonsterInfo) GetMonsterRoute() *MonsterRoute { + if x != nil { + return x.MonsterRoute + } + return nil +} + +func (x *SceneMonsterInfo) GetAiConfigId() uint32 { + if x != nil { + return x.AiConfigId + } + return 0 +} + +func (x *SceneMonsterInfo) GetLevelRouteId() uint32 { + if x != nil { + return x.LevelRouteId + } + return 0 +} + +func (x *SceneMonsterInfo) GetInitPoseId() uint32 { + if x != nil { + return x.InitPoseId + } + return 0 +} + +func (x *SceneMonsterInfo) GetUnk2800_JEGLENPDPNI() bool { + if x != nil { + return x.Unk2800_JEGLENPDPNI + } + return false +} + +func (x *SceneMonsterInfo) GetUnk3000_CCKJDCBDEKD() uint32 { + if x != nil { + return x.Unk3000_CCKJDCBDEKD + } + return 0 +} + +func (m *SceneMonsterInfo) GetContent() isSceneMonsterInfo_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *SceneMonsterInfo) GetFishInfo() *SceneFishInfo { + if x, ok := x.GetContent().(*SceneMonsterInfo_FishInfo); ok { + return x.FishInfo + } + return nil +} + +func (x *SceneMonsterInfo) GetFishtankFishInfo() *FishtankFishInfo { + if x, ok := x.GetContent().(*SceneMonsterInfo_FishtankFishInfo); ok { + return x.FishtankFishInfo + } + return nil +} + +type isSceneMonsterInfo_Content interface { + isSceneMonsterInfo_Content() +} + +type SceneMonsterInfo_FishInfo struct { + FishInfo *SceneFishInfo `protobuf:"bytes,50,opt,name=fish_info,json=fishInfo,proto3,oneof"` +} + +type SceneMonsterInfo_FishtankFishInfo struct { + FishtankFishInfo *FishtankFishInfo `protobuf:"bytes,51,opt,name=fishtank_fish_info,json=fishtankFishInfo,proto3,oneof"` +} + +func (*SceneMonsterInfo_FishInfo) isSceneMonsterInfo_Content() {} + +func (*SceneMonsterInfo_FishtankFishInfo) isSceneMonsterInfo_Content() {} + +var File_SceneMonsterInfo_proto protoreflect.FileDescriptor + +var file_SceneMonsterInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x46, 0x69, 0x73, 0x68, 0x74, 0x61, + 0x6e, 0x6b, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x15, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x08, 0x0a, 0x10, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x0b, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x77, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x65, 0x64, + 0x5f, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x75, 0x6d, 0x6d, + 0x6f, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x67, 0x12, 0x49, 0x0a, 0x0e, 0x73, 0x75, 0x6d, 0x6d, 0x6f, + 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x4d, + 0x61, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x09, 0x62, + 0x6f, 0x72, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, + 0x2e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x08, 0x62, 0x6f, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x66, 0x6c, + 0x61, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x46, 0x6c, + 0x61, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x4e, + 0x61, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, + 0x32, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x69, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x69, + 0x6e, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x47, 0x4c, 0x45, 0x4e, 0x50, + 0x44, 0x50, 0x4e, 0x49, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x4a, 0x45, 0x47, 0x4c, 0x45, 0x4e, 0x50, 0x44, 0x50, 0x4e, 0x49, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x4b, 0x4a, 0x44, 0x43, + 0x42, 0x44, 0x45, 0x4b, 0x44, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x43, 0x43, 0x4b, 0x4a, 0x44, 0x43, 0x42, 0x44, 0x45, 0x4b, 0x44, 0x12, + 0x2d, 0x0a, 0x09, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x32, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, + 0x0a, 0x12, 0x66, 0x69, 0x73, 0x68, 0x74, 0x61, 0x6e, 0x6b, 0x5f, 0x66, 0x69, 0x73, 0x68, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x33, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x46, 0x69, 0x73, + 0x68, 0x74, 0x61, 0x6e, 0x6b, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, + 0x10, 0x66, 0x69, 0x73, 0x68, 0x74, 0x61, 0x6e, 0x6b, 0x46, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, + 0x6f, 0x1a, 0x3f, 0x0a, 0x11, 0x53, 0x75, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SceneMonsterInfo_proto_rawDescOnce sync.Once + file_SceneMonsterInfo_proto_rawDescData = file_SceneMonsterInfo_proto_rawDesc +) + +func file_SceneMonsterInfo_proto_rawDescGZIP() []byte { + file_SceneMonsterInfo_proto_rawDescOnce.Do(func() { + file_SceneMonsterInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneMonsterInfo_proto_rawDescData) + }) + return file_SceneMonsterInfo_proto_rawDescData +} + +var file_SceneMonsterInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneMonsterInfo_proto_goTypes = []interface{}{ + (*SceneMonsterInfo)(nil), // 0: SceneMonsterInfo + nil, // 1: SceneMonsterInfo.SummonTagMapEntry + (*SceneWeaponInfo)(nil), // 2: SceneWeaponInfo + (MonsterBornType)(0), // 3: MonsterBornType + (*MonsterRoute)(nil), // 4: MonsterRoute + (*SceneFishInfo)(nil), // 5: SceneFishInfo + (*FishtankFishInfo)(nil), // 6: FishtankFishInfo +} +var file_SceneMonsterInfo_proto_depIdxs = []int32{ + 2, // 0: SceneMonsterInfo.weapon_list:type_name -> SceneWeaponInfo + 1, // 1: SceneMonsterInfo.summon_tag_map:type_name -> SceneMonsterInfo.SummonTagMapEntry + 3, // 2: SceneMonsterInfo.born_type:type_name -> MonsterBornType + 4, // 3: SceneMonsterInfo.monster_route:type_name -> MonsterRoute + 5, // 4: SceneMonsterInfo.fish_info:type_name -> SceneFishInfo + 6, // 5: SceneMonsterInfo.fishtank_fish_info:type_name -> FishtankFishInfo + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_SceneMonsterInfo_proto_init() } +func file_SceneMonsterInfo_proto_init() { + if File_SceneMonsterInfo_proto != nil { + return + } + file_FishtankFishInfo_proto_init() + file_MonsterBornType_proto_init() + file_MonsterRoute_proto_init() + file_SceneFishInfo_proto_init() + file_SceneWeaponInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneMonsterInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneMonsterInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_SceneMonsterInfo_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SceneMonsterInfo_FishInfo)(nil), + (*SceneMonsterInfo_FishtankFishInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneMonsterInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneMonsterInfo_proto_goTypes, + DependencyIndexes: file_SceneMonsterInfo_proto_depIdxs, + MessageInfos: file_SceneMonsterInfo_proto_msgTypes, + }.Build() + File_SceneMonsterInfo_proto = out.File + file_SceneMonsterInfo_proto_rawDesc = nil + file_SceneMonsterInfo_proto_goTypes = nil + file_SceneMonsterInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneMonsterInfo.proto b/gate-hk4e-api/proto/SceneMonsterInfo.proto new file mode 100644 index 00000000..447906f6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneMonsterInfo.proto @@ -0,0 +1,55 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FishtankFishInfo.proto"; +import "MonsterBornType.proto"; +import "MonsterRoute.proto"; +import "SceneFishInfo.proto"; +import "SceneWeaponInfo.proto"; + +option go_package = "./;proto"; + +message SceneMonsterInfo { + uint32 monster_id = 1; + uint32 group_id = 2; + uint32 config_id = 3; + repeated SceneWeaponInfo weapon_list = 4; + uint32 authority_peer_id = 5; + repeated uint32 affix_list = 6; + bool is_elite = 7; + uint32 owner_entity_id = 8; + uint32 summoned_tag = 9; + map summon_tag_map = 10; + uint32 pose_id = 11; + MonsterBornType born_type = 12; + uint32 block_id = 13; + uint32 mark_flag = 14; + uint32 title_id = 15; + uint32 special_name_id = 16; + uint32 attack_target_id = 17; + MonsterRoute monster_route = 18; + uint32 ai_config_id = 19; + uint32 level_route_id = 20; + uint32 init_pose_id = 21; + bool Unk2800_JEGLENPDPNI = 22; + uint32 Unk3000_CCKJDCBDEKD = 23; + oneof content { + SceneFishInfo fish_info = 50; + FishtankFishInfo fishtank_fish_info = 51; + } +} diff --git a/gate-hk4e-api/proto/SceneNpcInfo.pb.go b/gate-hk4e-api/proto/SceneNpcInfo.pb.go new file mode 100644 index 00000000..9c3d3adf --- /dev/null +++ b/gate-hk4e-api/proto/SceneNpcInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneNpcInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneNpcInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NpcId uint32 `protobuf:"varint,1,opt,name=npc_id,json=npcId,proto3" json:"npc_id,omitempty"` + RoomId uint32 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + ParentQuestId uint32 `protobuf:"varint,3,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + BlockId uint32 `protobuf:"varint,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` +} + +func (x *SceneNpcInfo) Reset() { + *x = SceneNpcInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneNpcInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneNpcInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneNpcInfo) ProtoMessage() {} + +func (x *SceneNpcInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneNpcInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneNpcInfo.ProtoReflect.Descriptor instead. +func (*SceneNpcInfo) Descriptor() ([]byte, []int) { + return file_SceneNpcInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneNpcInfo) GetNpcId() uint32 { + if x != nil { + return x.NpcId + } + return 0 +} + +func (x *SceneNpcInfo) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *SceneNpcInfo) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *SceneNpcInfo) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +var File_SceneNpcInfo_proto protoreflect.FileDescriptor + +var file_SceneNpcInfo_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x4e, 0x70, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x70, 0x63, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, + 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, + 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneNpcInfo_proto_rawDescOnce sync.Once + file_SceneNpcInfo_proto_rawDescData = file_SceneNpcInfo_proto_rawDesc +) + +func file_SceneNpcInfo_proto_rawDescGZIP() []byte { + file_SceneNpcInfo_proto_rawDescOnce.Do(func() { + file_SceneNpcInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneNpcInfo_proto_rawDescData) + }) + return file_SceneNpcInfo_proto_rawDescData +} + +var file_SceneNpcInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneNpcInfo_proto_goTypes = []interface{}{ + (*SceneNpcInfo)(nil), // 0: SceneNpcInfo +} +var file_SceneNpcInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneNpcInfo_proto_init() } +func file_SceneNpcInfo_proto_init() { + if File_SceneNpcInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneNpcInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneNpcInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneNpcInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneNpcInfo_proto_goTypes, + DependencyIndexes: file_SceneNpcInfo_proto_depIdxs, + MessageInfos: file_SceneNpcInfo_proto_msgTypes, + }.Build() + File_SceneNpcInfo_proto = out.File + file_SceneNpcInfo_proto_rawDesc = nil + file_SceneNpcInfo_proto_goTypes = nil + file_SceneNpcInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneNpcInfo.proto b/gate-hk4e-api/proto/SceneNpcInfo.proto new file mode 100644 index 00000000..80f45623 --- /dev/null +++ b/gate-hk4e-api/proto/SceneNpcInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneNpcInfo { + uint32 npc_id = 1; + uint32 room_id = 2; + uint32 parent_quest_id = 3; + uint32 block_id = 4; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfo.pb.go b/gate-hk4e-api/proto/ScenePlayBattleInfo.pb.go new file mode 100644 index 00000000..a1c7b641 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfo.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScenePlayBattleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mode uint32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` + ProgressStageList []uint32 `protobuf:"varint,3,rep,packed,name=progress_stage_list,json=progressStageList,proto3" json:"progress_stage_list,omitempty"` + StartTime uint32 `protobuf:"varint,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Duration uint32 `protobuf:"varint,14,opt,name=duration,proto3" json:"duration,omitempty"` + PlayType uint32 `protobuf:"varint,12,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + PlayId uint32 `protobuf:"varint,1,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + PrepareEndTime uint32 `protobuf:"varint,7,opt,name=prepare_end_time,json=prepareEndTime,proto3" json:"prepare_end_time,omitempty"` + Progress uint32 `protobuf:"varint,11,opt,name=progress,proto3" json:"progress,omitempty"` + State uint32 `protobuf:"varint,8,opt,name=state,proto3" json:"state,omitempty"` + Type uint32 `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"` +} + +func (x *ScenePlayBattleInfo) Reset() { + *x = ScenePlayBattleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleInfo) ProtoMessage() {} + +func (x *ScenePlayBattleInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleInfo.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleInfo) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleInfo) GetMode() uint32 { + if x != nil { + return x.Mode + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetProgressStageList() []uint32 { + if x != nil { + return x.ProgressStageList + } + return nil +} + +func (x *ScenePlayBattleInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetDuration() uint32 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetPrepareEndTime() uint32 { + if x != nil { + return x.PrepareEndTime + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetState() uint32 { + if x != nil { + return x.State + } + return 0 +} + +func (x *ScenePlayBattleInfo) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +var File_ScenePlayBattleInfo_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x02, 0x0a, 0x13, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, + 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x45, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleInfo_proto_rawDescOnce sync.Once + file_ScenePlayBattleInfo_proto_rawDescData = file_ScenePlayBattleInfo_proto_rawDesc +) + +func file_ScenePlayBattleInfo_proto_rawDescGZIP() []byte { + file_ScenePlayBattleInfo_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleInfo_proto_rawDescData) + }) + return file_ScenePlayBattleInfo_proto_rawDescData +} + +var file_ScenePlayBattleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleInfo_proto_goTypes = []interface{}{ + (*ScenePlayBattleInfo)(nil), // 0: ScenePlayBattleInfo +} +var file_ScenePlayBattleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleInfo_proto_init() } +func file_ScenePlayBattleInfo_proto_init() { + if File_ScenePlayBattleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleInfo_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleInfo_proto_depIdxs, + MessageInfos: file_ScenePlayBattleInfo_proto_msgTypes, + }.Build() + File_ScenePlayBattleInfo_proto = out.File + file_ScenePlayBattleInfo_proto_rawDesc = nil + file_ScenePlayBattleInfo_proto_goTypes = nil + file_ScenePlayBattleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfo.proto b/gate-hk4e-api/proto/ScenePlayBattleInfo.proto new file mode 100644 index 00000000..43a97615 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ScenePlayBattleInfo { + uint32 mode = 4; + repeated uint32 progress_stage_list = 3; + uint32 start_time = 10; + uint32 duration = 14; + uint32 play_type = 12; + uint32 play_id = 1; + uint32 prepare_end_time = 7; + uint32 progress = 11; + uint32 state = 8; + uint32 type = 9; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.pb.go b/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.pb.go new file mode 100644 index 00000000..95e8a37d --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleInfoListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4431 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayBattleInfoListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BattleInfoList []*ScenePlayBattleInfo `protobuf:"bytes,12,rep,name=battle_info_list,json=battleInfoList,proto3" json:"battle_info_list,omitempty"` +} + +func (x *ScenePlayBattleInfoListNotify) Reset() { + *x = ScenePlayBattleInfoListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleInfoListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleInfoListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleInfoListNotify) ProtoMessage() {} + +func (x *ScenePlayBattleInfoListNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleInfoListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleInfoListNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleInfoListNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleInfoListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleInfoListNotify) GetBattleInfoList() []*ScenePlayBattleInfo { + if x != nil { + return x.BattleInfoList + } + return nil +} + +var File_ScenePlayBattleInfoListNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleInfoListNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5f, 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x3e, 0x0a, 0x10, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleInfoListNotify_proto_rawDescOnce sync.Once + file_ScenePlayBattleInfoListNotify_proto_rawDescData = file_ScenePlayBattleInfoListNotify_proto_rawDesc +) + +func file_ScenePlayBattleInfoListNotify_proto_rawDescGZIP() []byte { + file_ScenePlayBattleInfoListNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleInfoListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleInfoListNotify_proto_rawDescData) + }) + return file_ScenePlayBattleInfoListNotify_proto_rawDescData +} + +var file_ScenePlayBattleInfoListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleInfoListNotify_proto_goTypes = []interface{}{ + (*ScenePlayBattleInfoListNotify)(nil), // 0: ScenePlayBattleInfoListNotify + (*ScenePlayBattleInfo)(nil), // 1: ScenePlayBattleInfo +} +var file_ScenePlayBattleInfoListNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayBattleInfoListNotify.battle_info_list:type_name -> ScenePlayBattleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleInfoListNotify_proto_init() } +func file_ScenePlayBattleInfoListNotify_proto_init() { + if File_ScenePlayBattleInfoListNotify_proto != nil { + return + } + file_ScenePlayBattleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleInfoListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleInfoListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleInfoListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleInfoListNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleInfoListNotify_proto_depIdxs, + MessageInfos: file_ScenePlayBattleInfoListNotify_proto_msgTypes, + }.Build() + File_ScenePlayBattleInfoListNotify_proto = out.File + file_ScenePlayBattleInfoListNotify_proto_rawDesc = nil + file_ScenePlayBattleInfoListNotify_proto_goTypes = nil + file_ScenePlayBattleInfoListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.proto b/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.proto new file mode 100644 index 00000000..cf74ca60 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfoListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ScenePlayBattleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4431 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayBattleInfoListNotify { + repeated ScenePlayBattleInfo battle_info_list = 12; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.pb.go b/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.pb.go new file mode 100644 index 00000000..5633771d --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4422 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayBattleInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BattleInfo *ScenePlayBattleInfo `protobuf:"bytes,11,opt,name=battle_info,json=battleInfo,proto3" json:"battle_info,omitempty"` +} + +func (x *ScenePlayBattleInfoNotify) Reset() { + *x = ScenePlayBattleInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleInfoNotify) ProtoMessage() {} + +func (x *ScenePlayBattleInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleInfoNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleInfoNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleInfoNotify) GetBattleInfo() *ScenePlayBattleInfo { + if x != nil { + return x.BattleInfo + } + return nil +} + +var File_ScenePlayBattleInfoNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x19, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleInfoNotify_proto_rawDescOnce sync.Once + file_ScenePlayBattleInfoNotify_proto_rawDescData = file_ScenePlayBattleInfoNotify_proto_rawDesc +) + +func file_ScenePlayBattleInfoNotify_proto_rawDescGZIP() []byte { + file_ScenePlayBattleInfoNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleInfoNotify_proto_rawDescData) + }) + return file_ScenePlayBattleInfoNotify_proto_rawDescData +} + +var file_ScenePlayBattleInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleInfoNotify_proto_goTypes = []interface{}{ + (*ScenePlayBattleInfoNotify)(nil), // 0: ScenePlayBattleInfoNotify + (*ScenePlayBattleInfo)(nil), // 1: ScenePlayBattleInfo +} +var file_ScenePlayBattleInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayBattleInfoNotify.battle_info:type_name -> ScenePlayBattleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleInfoNotify_proto_init() } +func file_ScenePlayBattleInfoNotify_proto_init() { + if File_ScenePlayBattleInfoNotify_proto != nil { + return + } + file_ScenePlayBattleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleInfoNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleInfoNotify_proto_depIdxs, + MessageInfos: file_ScenePlayBattleInfoNotify_proto_msgTypes, + }.Build() + File_ScenePlayBattleInfoNotify_proto = out.File + file_ScenePlayBattleInfoNotify_proto_rawDesc = nil + file_ScenePlayBattleInfoNotify_proto_goTypes = nil + file_ScenePlayBattleInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.proto b/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.proto new file mode 100644 index 00000000..c031c20c --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ScenePlayBattleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4422 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayBattleInfoNotify { + ScenePlayBattleInfo battle_info = 11; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.pb.go b/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.pb.go new file mode 100644 index 00000000..416c8989 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleInterruptNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4425 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayBattleInterruptNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InterruptState uint32 `protobuf:"varint,6,opt,name=interrupt_state,json=interruptState,proto3" json:"interrupt_state,omitempty"` + PlayId uint32 `protobuf:"varint,5,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + PlayType uint32 `protobuf:"varint,1,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` +} + +func (x *ScenePlayBattleInterruptNotify) Reset() { + *x = ScenePlayBattleInterruptNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleInterruptNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleInterruptNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleInterruptNotify) ProtoMessage() {} + +func (x *ScenePlayBattleInterruptNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleInterruptNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleInterruptNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleInterruptNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleInterruptNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleInterruptNotify) GetInterruptState() uint32 { + if x != nil { + return x.InterruptState + } + return 0 +} + +func (x *ScenePlayBattleInterruptNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayBattleInterruptNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +var File_ScenePlayBattleInterruptNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleInterruptNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x1e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x72, 0x75, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleInterruptNotify_proto_rawDescOnce sync.Once + file_ScenePlayBattleInterruptNotify_proto_rawDescData = file_ScenePlayBattleInterruptNotify_proto_rawDesc +) + +func file_ScenePlayBattleInterruptNotify_proto_rawDescGZIP() []byte { + file_ScenePlayBattleInterruptNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleInterruptNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleInterruptNotify_proto_rawDescData) + }) + return file_ScenePlayBattleInterruptNotify_proto_rawDescData +} + +var file_ScenePlayBattleInterruptNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleInterruptNotify_proto_goTypes = []interface{}{ + (*ScenePlayBattleInterruptNotify)(nil), // 0: ScenePlayBattleInterruptNotify +} +var file_ScenePlayBattleInterruptNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleInterruptNotify_proto_init() } +func file_ScenePlayBattleInterruptNotify_proto_init() { + if File_ScenePlayBattleInterruptNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleInterruptNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleInterruptNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleInterruptNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleInterruptNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleInterruptNotify_proto_depIdxs, + MessageInfos: file_ScenePlayBattleInterruptNotify_proto_msgTypes, + }.Build() + File_ScenePlayBattleInterruptNotify_proto = out.File + file_ScenePlayBattleInterruptNotify_proto_rawDesc = nil + file_ScenePlayBattleInterruptNotify_proto_goTypes = nil + file_ScenePlayBattleInterruptNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.proto b/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.proto new file mode 100644 index 00000000..3b0c47e2 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleInterruptNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4425 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayBattleInterruptNotify { + uint32 interrupt_state = 6; + uint32 play_id = 5; + uint32 play_type = 1; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleResultNotify.pb.go b/gate-hk4e-api/proto/ScenePlayBattleResultNotify.pb.go new file mode 100644 index 00000000..8ba78435 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleResultNotify.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4398 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayBattleResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWin bool `protobuf:"varint,1,opt,name=is_win,json=isWin,proto3" json:"is_win,omitempty"` + CostTime uint32 `protobuf:"varint,7,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` + PlayType uint32 `protobuf:"varint,15,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + PlayId uint32 `protobuf:"varint,11,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + SettlePlayerInfoList []*ScenePlayBattleSettlePlayerInfo `protobuf:"bytes,4,rep,name=settle_player_info_list,json=settlePlayerInfoList,proto3" json:"settle_player_info_list,omitempty"` + Unk2700_HMENAAMGMBB []*Unk2700_OHOKEEGPPBG `protobuf:"bytes,14,rep,name=Unk2700_HMENAAMGMBB,json=Unk2700HMENAAMGMBB,proto3" json:"Unk2700_HMENAAMGMBB,omitempty"` +} + +func (x *ScenePlayBattleResultNotify) Reset() { + *x = ScenePlayBattleResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleResultNotify) ProtoMessage() {} + +func (x *ScenePlayBattleResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleResultNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleResultNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleResultNotify) GetIsWin() bool { + if x != nil { + return x.IsWin + } + return false +} + +func (x *ScenePlayBattleResultNotify) GetCostTime() uint32 { + if x != nil { + return x.CostTime + } + return 0 +} + +func (x *ScenePlayBattleResultNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *ScenePlayBattleResultNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayBattleResultNotify) GetSettlePlayerInfoList() []*ScenePlayBattleSettlePlayerInfo { + if x != nil { + return x.SettlePlayerInfoList + } + return nil +} + +func (x *ScenePlayBattleResultNotify) GetUnk2700_HMENAAMGMBB() []*Unk2700_OHOKEEGPPBG { + if x != nil { + return x.Unk2700_HMENAAMGMBB + } + return nil +} + +var File_ScenePlayBattleResultNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x4f, 0x4b, 0x45, 0x45, 0x47, 0x50, 0x50, 0x42, 0x47, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x57, 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, + 0x57, 0x0a, 0x17, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x14, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x45, 0x4e, 0x41, 0x41, 0x4d, 0x47, 0x4d, 0x42, 0x42, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x48, 0x4f, 0x4b, 0x45, 0x45, 0x47, 0x50, 0x50, 0x42, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x4d, 0x45, 0x4e, 0x41, 0x41, 0x4d, 0x47, 0x4d, 0x42, 0x42, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleResultNotify_proto_rawDescOnce sync.Once + file_ScenePlayBattleResultNotify_proto_rawDescData = file_ScenePlayBattleResultNotify_proto_rawDesc +) + +func file_ScenePlayBattleResultNotify_proto_rawDescGZIP() []byte { + file_ScenePlayBattleResultNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleResultNotify_proto_rawDescData) + }) + return file_ScenePlayBattleResultNotify_proto_rawDescData +} + +var file_ScenePlayBattleResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleResultNotify_proto_goTypes = []interface{}{ + (*ScenePlayBattleResultNotify)(nil), // 0: ScenePlayBattleResultNotify + (*ScenePlayBattleSettlePlayerInfo)(nil), // 1: ScenePlayBattleSettlePlayerInfo + (*Unk2700_OHOKEEGPPBG)(nil), // 2: Unk2700_OHOKEEGPPBG +} +var file_ScenePlayBattleResultNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayBattleResultNotify.settle_player_info_list:type_name -> ScenePlayBattleSettlePlayerInfo + 2, // 1: ScenePlayBattleResultNotify.Unk2700_HMENAAMGMBB:type_name -> Unk2700_OHOKEEGPPBG + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleResultNotify_proto_init() } +func file_ScenePlayBattleResultNotify_proto_init() { + if File_ScenePlayBattleResultNotify_proto != nil { + return + } + file_ScenePlayBattleSettlePlayerInfo_proto_init() + file_Unk2700_OHOKEEGPPBG_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleResultNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleResultNotify_proto_depIdxs, + MessageInfos: file_ScenePlayBattleResultNotify_proto_msgTypes, + }.Build() + File_ScenePlayBattleResultNotify_proto = out.File + file_ScenePlayBattleResultNotify_proto_rawDesc = nil + file_ScenePlayBattleResultNotify_proto_goTypes = nil + file_ScenePlayBattleResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleResultNotify.proto b/gate-hk4e-api/proto/ScenePlayBattleResultNotify.proto new file mode 100644 index 00000000..d49614d7 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleResultNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ScenePlayBattleSettlePlayerInfo.proto"; +import "Unk2700_OHOKEEGPPBG.proto"; + +option go_package = "./;proto"; + +// CmdId: 4398 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayBattleResultNotify { + bool is_win = 1; + uint32 cost_time = 7; + uint32 play_type = 15; + uint32 play_id = 11; + repeated ScenePlayBattleSettlePlayerInfo settle_player_info_list = 4; + repeated Unk2700_OHOKEEGPPBG Unk2700_HMENAAMGMBB = 14; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.pb.go b/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.pb.go new file mode 100644 index 00000000..79c1f532 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.pb.go @@ -0,0 +1,241 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleSettlePlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScenePlayBattleSettlePlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardList []*ExhibitionDisplayInfo `protobuf:"bytes,14,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,10,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + HeadImage uint32 `protobuf:"varint,11,opt,name=head_image,json=headImage,proto3" json:"head_image,omitempty"` + StatisticId uint32 `protobuf:"varint,4,opt,name=statistic_id,json=statisticId,proto3" json:"statistic_id,omitempty"` + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Param int64 `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"` + OnlineId string `protobuf:"bytes,12,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + Nickname string `protobuf:"bytes,15,opt,name=nickname,proto3" json:"nickname,omitempty"` +} + +func (x *ScenePlayBattleSettlePlayerInfo) Reset() { + *x = ScenePlayBattleSettlePlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleSettlePlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleSettlePlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleSettlePlayerInfo) ProtoMessage() {} + +func (x *ScenePlayBattleSettlePlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleSettlePlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleSettlePlayerInfo.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleSettlePlayerInfo) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleSettlePlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetCardList() []*ExhibitionDisplayInfo { + if x != nil { + return x.CardList + } + return nil +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetHeadImage() uint32 { + if x != nil { + return x.HeadImage + } + return 0 +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetStatisticId() uint32 { + if x != nil { + return x.StatisticId + } + return 0 +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetParam() int64 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *ScenePlayBattleSettlePlayerInfo) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +var File_ScenePlayBattleSettlePlayerInfo_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleSettlePlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, + 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x02, 0x0a, 0x1f, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, + 0x0a, 0x09, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, + 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleSettlePlayerInfo_proto_rawDescOnce sync.Once + file_ScenePlayBattleSettlePlayerInfo_proto_rawDescData = file_ScenePlayBattleSettlePlayerInfo_proto_rawDesc +) + +func file_ScenePlayBattleSettlePlayerInfo_proto_rawDescGZIP() []byte { + file_ScenePlayBattleSettlePlayerInfo_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleSettlePlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleSettlePlayerInfo_proto_rawDescData) + }) + return file_ScenePlayBattleSettlePlayerInfo_proto_rawDescData +} + +var file_ScenePlayBattleSettlePlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleSettlePlayerInfo_proto_goTypes = []interface{}{ + (*ScenePlayBattleSettlePlayerInfo)(nil), // 0: ScenePlayBattleSettlePlayerInfo + (*ExhibitionDisplayInfo)(nil), // 1: ExhibitionDisplayInfo + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_ScenePlayBattleSettlePlayerInfo_proto_depIdxs = []int32{ + 1, // 0: ScenePlayBattleSettlePlayerInfo.card_list:type_name -> ExhibitionDisplayInfo + 2, // 1: ScenePlayBattleSettlePlayerInfo.profile_picture:type_name -> ProfilePicture + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleSettlePlayerInfo_proto_init() } +func file_ScenePlayBattleSettlePlayerInfo_proto_init() { + if File_ScenePlayBattleSettlePlayerInfo_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleSettlePlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleSettlePlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleSettlePlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleSettlePlayerInfo_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleSettlePlayerInfo_proto_depIdxs, + MessageInfos: file_ScenePlayBattleSettlePlayerInfo_proto_msgTypes, + }.Build() + File_ScenePlayBattleSettlePlayerInfo_proto = out.File + file_ScenePlayBattleSettlePlayerInfo_proto_rawDesc = nil + file_ScenePlayBattleSettlePlayerInfo_proto_goTypes = nil + file_ScenePlayBattleSettlePlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.proto b/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.proto new file mode 100644 index 00000000..4952a618 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleSettlePlayerInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message ScenePlayBattleSettlePlayerInfo { + repeated ExhibitionDisplayInfo card_list = 14; + ProfilePicture profile_picture = 10; + uint32 head_image = 11; + uint32 statistic_id = 4; + uint32 uid = 1; + int64 param = 5; + string online_id = 12; + string nickname = 15; +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.pb.go b/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.pb.go new file mode 100644 index 00000000..61595c30 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.pb.go @@ -0,0 +1,252 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayBattleUidOpNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4447 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayBattleUidOpNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Op uint32 `protobuf:"varint,7,opt,name=op,proto3" json:"op,omitempty"` + ParamTargetList []uint32 `protobuf:"varint,9,rep,packed,name=param_target_list,json=paramTargetList,proto3" json:"param_target_list,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + ParamStr string `protobuf:"bytes,3,opt,name=param_str,json=paramStr,proto3" json:"param_str,omitempty"` + UidList []uint32 `protobuf:"varint,6,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` + ParamIndex uint32 `protobuf:"varint,11,opt,name=param_index,json=paramIndex,proto3" json:"param_index,omitempty"` + PlayType uint32 `protobuf:"varint,8,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + ParamDuration uint32 `protobuf:"varint,12,opt,name=param_duration,json=paramDuration,proto3" json:"param_duration,omitempty"` + ParamList []uint32 `protobuf:"varint,15,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + PlayId uint32 `protobuf:"varint,5,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayBattleUidOpNotify) Reset() { + *x = ScenePlayBattleUidOpNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayBattleUidOpNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayBattleUidOpNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayBattleUidOpNotify) ProtoMessage() {} + +func (x *ScenePlayBattleUidOpNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayBattleUidOpNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayBattleUidOpNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayBattleUidOpNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayBattleUidOpNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayBattleUidOpNotify) GetOp() uint32 { + if x != nil { + return x.Op + } + return 0 +} + +func (x *ScenePlayBattleUidOpNotify) GetParamTargetList() []uint32 { + if x != nil { + return x.ParamTargetList + } + return nil +} + +func (x *ScenePlayBattleUidOpNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ScenePlayBattleUidOpNotify) GetParamStr() string { + if x != nil { + return x.ParamStr + } + return "" +} + +func (x *ScenePlayBattleUidOpNotify) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +func (x *ScenePlayBattleUidOpNotify) GetParamIndex() uint32 { + if x != nil { + return x.ParamIndex + } + return 0 +} + +func (x *ScenePlayBattleUidOpNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *ScenePlayBattleUidOpNotify) GetParamDuration() uint32 { + if x != nil { + return x.ParamDuration + } + return 0 +} + +func (x *ScenePlayBattleUidOpNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *ScenePlayBattleUidOpNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayBattleUidOpNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayBattleUidOpNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x55, 0x69, 0x64, 0x4f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xca, 0x02, 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x4f, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x6f, + 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x53, 0x74, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x69, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayBattleUidOpNotify_proto_rawDescOnce sync.Once + file_ScenePlayBattleUidOpNotify_proto_rawDescData = file_ScenePlayBattleUidOpNotify_proto_rawDesc +) + +func file_ScenePlayBattleUidOpNotify_proto_rawDescGZIP() []byte { + file_ScenePlayBattleUidOpNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayBattleUidOpNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayBattleUidOpNotify_proto_rawDescData) + }) + return file_ScenePlayBattleUidOpNotify_proto_rawDescData +} + +var file_ScenePlayBattleUidOpNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayBattleUidOpNotify_proto_goTypes = []interface{}{ + (*ScenePlayBattleUidOpNotify)(nil), // 0: ScenePlayBattleUidOpNotify +} +var file_ScenePlayBattleUidOpNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayBattleUidOpNotify_proto_init() } +func file_ScenePlayBattleUidOpNotify_proto_init() { + if File_ScenePlayBattleUidOpNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayBattleUidOpNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayBattleUidOpNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayBattleUidOpNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayBattleUidOpNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayBattleUidOpNotify_proto_depIdxs, + MessageInfos: file_ScenePlayBattleUidOpNotify_proto_msgTypes, + }.Build() + File_ScenePlayBattleUidOpNotify_proto = out.File + file_ScenePlayBattleUidOpNotify_proto_rawDesc = nil + file_ScenePlayBattleUidOpNotify_proto_goTypes = nil + file_ScenePlayBattleUidOpNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.proto b/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.proto new file mode 100644 index 00000000..99a00247 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayBattleUidOpNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4447 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayBattleUidOpNotify { + uint32 op = 7; + repeated uint32 param_target_list = 9; + uint32 entity_id = 2; + string param_str = 3; + repeated uint32 uid_list = 6; + uint32 param_index = 11; + uint32 play_type = 8; + uint32 param_duration = 12; + repeated uint32 param_list = 15; + uint32 play_id = 5; +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.pb.go b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.pb.go new file mode 100644 index 00000000..8d6f2cfa --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayGuestReplyInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4353 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ScenePlayGuestReplyInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAgree bool `protobuf:"varint,15,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + PlayId uint32 `protobuf:"varint,6,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayGuestReplyInviteReq) Reset() { + *x = ScenePlayGuestReplyInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayGuestReplyInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayGuestReplyInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayGuestReplyInviteReq) ProtoMessage() {} + +func (x *ScenePlayGuestReplyInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayGuestReplyInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayGuestReplyInviteReq.ProtoReflect.Descriptor instead. +func (*ScenePlayGuestReplyInviteReq) Descriptor() ([]byte, []int) { + return file_ScenePlayGuestReplyInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayGuestReplyInviteReq) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *ScenePlayGuestReplyInviteReq) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayGuestReplyInviteReq_proto protoreflect.FileDescriptor + +var file_ScenePlayGuestReplyInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayGuestReplyInviteReq_proto_rawDescOnce sync.Once + file_ScenePlayGuestReplyInviteReq_proto_rawDescData = file_ScenePlayGuestReplyInviteReq_proto_rawDesc +) + +func file_ScenePlayGuestReplyInviteReq_proto_rawDescGZIP() []byte { + file_ScenePlayGuestReplyInviteReq_proto_rawDescOnce.Do(func() { + file_ScenePlayGuestReplyInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayGuestReplyInviteReq_proto_rawDescData) + }) + return file_ScenePlayGuestReplyInviteReq_proto_rawDescData +} + +var file_ScenePlayGuestReplyInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayGuestReplyInviteReq_proto_goTypes = []interface{}{ + (*ScenePlayGuestReplyInviteReq)(nil), // 0: ScenePlayGuestReplyInviteReq +} +var file_ScenePlayGuestReplyInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayGuestReplyInviteReq_proto_init() } +func file_ScenePlayGuestReplyInviteReq_proto_init() { + if File_ScenePlayGuestReplyInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayGuestReplyInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayGuestReplyInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayGuestReplyInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayGuestReplyInviteReq_proto_goTypes, + DependencyIndexes: file_ScenePlayGuestReplyInviteReq_proto_depIdxs, + MessageInfos: file_ScenePlayGuestReplyInviteReq_proto_msgTypes, + }.Build() + File_ScenePlayGuestReplyInviteReq_proto = out.File + file_ScenePlayGuestReplyInviteReq_proto_rawDesc = nil + file_ScenePlayGuestReplyInviteReq_proto_goTypes = nil + file_ScenePlayGuestReplyInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.proto b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.proto new file mode 100644 index 00000000..0250af37 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4353 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ScenePlayGuestReplyInviteReq { + bool is_agree = 15; + uint32 play_id = 6; +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.pb.go b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.pb.go new file mode 100644 index 00000000..73a40e7f --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayGuestReplyInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4440 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayGuestReplyInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsAgree bool `protobuf:"varint,2,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` + PlayId uint32 `protobuf:"varint,8,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayGuestReplyInviteRsp) Reset() { + *x = ScenePlayGuestReplyInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayGuestReplyInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayGuestReplyInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayGuestReplyInviteRsp) ProtoMessage() {} + +func (x *ScenePlayGuestReplyInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayGuestReplyInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayGuestReplyInviteRsp.ProtoReflect.Descriptor instead. +func (*ScenePlayGuestReplyInviteRsp) Descriptor() ([]byte, []int) { + return file_ScenePlayGuestReplyInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayGuestReplyInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ScenePlayGuestReplyInviteRsp) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +func (x *ScenePlayGuestReplyInviteRsp) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayGuestReplyInviteRsp_proto protoreflect.FileDescriptor + +var file_ScenePlayGuestReplyInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayGuestReplyInviteRsp_proto_rawDescOnce sync.Once + file_ScenePlayGuestReplyInviteRsp_proto_rawDescData = file_ScenePlayGuestReplyInviteRsp_proto_rawDesc +) + +func file_ScenePlayGuestReplyInviteRsp_proto_rawDescGZIP() []byte { + file_ScenePlayGuestReplyInviteRsp_proto_rawDescOnce.Do(func() { + file_ScenePlayGuestReplyInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayGuestReplyInviteRsp_proto_rawDescData) + }) + return file_ScenePlayGuestReplyInviteRsp_proto_rawDescData +} + +var file_ScenePlayGuestReplyInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayGuestReplyInviteRsp_proto_goTypes = []interface{}{ + (*ScenePlayGuestReplyInviteRsp)(nil), // 0: ScenePlayGuestReplyInviteRsp +} +var file_ScenePlayGuestReplyInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayGuestReplyInviteRsp_proto_init() } +func file_ScenePlayGuestReplyInviteRsp_proto_init() { + if File_ScenePlayGuestReplyInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayGuestReplyInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayGuestReplyInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayGuestReplyInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayGuestReplyInviteRsp_proto_goTypes, + DependencyIndexes: file_ScenePlayGuestReplyInviteRsp_proto_depIdxs, + MessageInfos: file_ScenePlayGuestReplyInviteRsp_proto_msgTypes, + }.Build() + File_ScenePlayGuestReplyInviteRsp_proto = out.File + file_ScenePlayGuestReplyInviteRsp_proto_rawDesc = nil + file_ScenePlayGuestReplyInviteRsp_proto_goTypes = nil + file_ScenePlayGuestReplyInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.proto b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.proto new file mode 100644 index 00000000..886fa0be --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyInviteRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4440 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayGuestReplyInviteRsp { + int32 retcode = 6; + bool is_agree = 2; + uint32 play_id = 8; +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.pb.go b/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.pb.go new file mode 100644 index 00000000..e2efd0fa --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayGuestReplyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4423 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayGuestReplyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayId uint32 `protobuf:"varint,13,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + GuestUid uint32 `protobuf:"varint,12,opt,name=guest_uid,json=guestUid,proto3" json:"guest_uid,omitempty"` + IsAgree bool `protobuf:"varint,3,opt,name=is_agree,json=isAgree,proto3" json:"is_agree,omitempty"` +} + +func (x *ScenePlayGuestReplyNotify) Reset() { + *x = ScenePlayGuestReplyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayGuestReplyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayGuestReplyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayGuestReplyNotify) ProtoMessage() {} + +func (x *ScenePlayGuestReplyNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayGuestReplyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayGuestReplyNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayGuestReplyNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayGuestReplyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayGuestReplyNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayGuestReplyNotify) GetGuestUid() uint32 { + if x != nil { + return x.GuestUid + } + return 0 +} + +func (x *ScenePlayGuestReplyNotify) GetIsAgree() bool { + if x != nil { + return x.IsAgree + } + return false +} + +var File_ScenePlayGuestReplyNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayGuestReplyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x6c, 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x75, 0x65, 0x73, + 0x74, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x67, 0x72, 0x65, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayGuestReplyNotify_proto_rawDescOnce sync.Once + file_ScenePlayGuestReplyNotify_proto_rawDescData = file_ScenePlayGuestReplyNotify_proto_rawDesc +) + +func file_ScenePlayGuestReplyNotify_proto_rawDescGZIP() []byte { + file_ScenePlayGuestReplyNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayGuestReplyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayGuestReplyNotify_proto_rawDescData) + }) + return file_ScenePlayGuestReplyNotify_proto_rawDescData +} + +var file_ScenePlayGuestReplyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayGuestReplyNotify_proto_goTypes = []interface{}{ + (*ScenePlayGuestReplyNotify)(nil), // 0: ScenePlayGuestReplyNotify +} +var file_ScenePlayGuestReplyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayGuestReplyNotify_proto_init() } +func file_ScenePlayGuestReplyNotify_proto_init() { + if File_ScenePlayGuestReplyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayGuestReplyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayGuestReplyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayGuestReplyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayGuestReplyNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayGuestReplyNotify_proto_depIdxs, + MessageInfos: file_ScenePlayGuestReplyNotify_proto_msgTypes, + }.Build() + File_ScenePlayGuestReplyNotify_proto = out.File + file_ScenePlayGuestReplyNotify_proto_rawDesc = nil + file_ScenePlayGuestReplyNotify_proto_goTypes = nil + file_ScenePlayGuestReplyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.proto b/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.proto new file mode 100644 index 00000000..61810884 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayGuestReplyNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4423 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayGuestReplyNotify { + uint32 play_id = 13; + uint32 guest_uid = 12; + bool is_agree = 3; +} diff --git a/gate-hk4e-api/proto/ScenePlayInfo.pb.go b/gate-hk4e-api/proto/ScenePlayInfo.pb.go new file mode 100644 index 00000000..70a8ef86 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScenePlayInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntryId uint32 `protobuf:"varint,15,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"` + PlayId uint32 `protobuf:"varint,11,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + PlayType uint32 `protobuf:"varint,3,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *ScenePlayInfo) Reset() { + *x = ScenePlayInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayInfo) ProtoMessage() {} + +func (x *ScenePlayInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayInfo.ProtoReflect.Descriptor instead. +func (*ScenePlayInfo) Descriptor() ([]byte, []int) { + return file_ScenePlayInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayInfo) GetEntryId() uint32 { + if x != nil { + return x.EntryId + } + return 0 +} + +func (x *ScenePlayInfo) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayInfo) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *ScenePlayInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_ScenePlayInfo_proto protoreflect.FileDescriptor + +var file_ScenePlayInfo_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x0d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, + 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayInfo_proto_rawDescOnce sync.Once + file_ScenePlayInfo_proto_rawDescData = file_ScenePlayInfo_proto_rawDesc +) + +func file_ScenePlayInfo_proto_rawDescGZIP() []byte { + file_ScenePlayInfo_proto_rawDescOnce.Do(func() { + file_ScenePlayInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayInfo_proto_rawDescData) + }) + return file_ScenePlayInfo_proto_rawDescData +} + +var file_ScenePlayInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayInfo_proto_goTypes = []interface{}{ + (*ScenePlayInfo)(nil), // 0: ScenePlayInfo +} +var file_ScenePlayInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayInfo_proto_init() } +func file_ScenePlayInfo_proto_init() { + if File_ScenePlayInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayInfo_proto_goTypes, + DependencyIndexes: file_ScenePlayInfo_proto_depIdxs, + MessageInfos: file_ScenePlayInfo_proto_msgTypes, + }.Build() + File_ScenePlayInfo_proto = out.File + file_ScenePlayInfo_proto_rawDesc = nil + file_ScenePlayInfo_proto_goTypes = nil + file_ScenePlayInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayInfo.proto b/gate-hk4e-api/proto/ScenePlayInfo.proto new file mode 100644 index 00000000..fa9533b4 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ScenePlayInfo { + uint32 entry_id = 15; + uint32 play_id = 11; + uint32 play_type = 3; + bool is_open = 9; +} diff --git a/gate-hk4e-api/proto/ScenePlayInfoListNotify.pb.go b/gate-hk4e-api/proto/ScenePlayInfoListNotify.pb.go new file mode 100644 index 00000000..f6d6e2f3 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInfoListNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayInfoListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4381 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayInfoListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayInfoList []*ScenePlayInfo `protobuf:"bytes,6,rep,name=play_info_list,json=playInfoList,proto3" json:"play_info_list,omitempty"` +} + +func (x *ScenePlayInfoListNotify) Reset() { + *x = ScenePlayInfoListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayInfoListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayInfoListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayInfoListNotify) ProtoMessage() {} + +func (x *ScenePlayInfoListNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayInfoListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayInfoListNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayInfoListNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayInfoListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayInfoListNotify) GetPlayInfoList() []*ScenePlayInfo { + if x != nil { + return x.PlayInfoList + } + return nil +} + +var File_ScenePlayInfoListNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayInfoListNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x13, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x17, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x34, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayInfoListNotify_proto_rawDescOnce sync.Once + file_ScenePlayInfoListNotify_proto_rawDescData = file_ScenePlayInfoListNotify_proto_rawDesc +) + +func file_ScenePlayInfoListNotify_proto_rawDescGZIP() []byte { + file_ScenePlayInfoListNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayInfoListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayInfoListNotify_proto_rawDescData) + }) + return file_ScenePlayInfoListNotify_proto_rawDescData +} + +var file_ScenePlayInfoListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayInfoListNotify_proto_goTypes = []interface{}{ + (*ScenePlayInfoListNotify)(nil), // 0: ScenePlayInfoListNotify + (*ScenePlayInfo)(nil), // 1: ScenePlayInfo +} +var file_ScenePlayInfoListNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayInfoListNotify.play_info_list:type_name -> ScenePlayInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ScenePlayInfoListNotify_proto_init() } +func file_ScenePlayInfoListNotify_proto_init() { + if File_ScenePlayInfoListNotify_proto != nil { + return + } + file_ScenePlayInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayInfoListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayInfoListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayInfoListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayInfoListNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayInfoListNotify_proto_depIdxs, + MessageInfos: file_ScenePlayInfoListNotify_proto_msgTypes, + }.Build() + File_ScenePlayInfoListNotify_proto = out.File + file_ScenePlayInfoListNotify_proto_rawDesc = nil + file_ScenePlayInfoListNotify_proto_goTypes = nil + file_ScenePlayInfoListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayInfoListNotify.proto b/gate-hk4e-api/proto/ScenePlayInfoListNotify.proto new file mode 100644 index 00000000..0338ea8b --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInfoListNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ScenePlayInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4381 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayInfoListNotify { + repeated ScenePlayInfo play_info_list = 6; +} diff --git a/gate-hk4e-api/proto/ScenePlayInviteResultNotify.pb.go b/gate-hk4e-api/proto/ScenePlayInviteResultNotify.pb.go new file mode 100644 index 00000000..04c05627 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInviteResultNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayInviteResultNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4449 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayInviteResultNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAllArgee bool `protobuf:"varint,11,opt,name=is_all_argee,json=isAllArgee,proto3" json:"is_all_argee,omitempty"` + PlayId uint32 `protobuf:"varint,15,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayInviteResultNotify) Reset() { + *x = ScenePlayInviteResultNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayInviteResultNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayInviteResultNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayInviteResultNotify) ProtoMessage() {} + +func (x *ScenePlayInviteResultNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayInviteResultNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayInviteResultNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayInviteResultNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayInviteResultNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayInviteResultNotify) GetIsAllArgee() bool { + if x != nil { + return x.IsAllArgee + } + return false +} + +func (x *ScenePlayInviteResultNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayInviteResultNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayInviteResultNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x61, 0x72, 0x67, + 0x65, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x41, + 0x72, 0x67, 0x65, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ScenePlayInviteResultNotify_proto_rawDescOnce sync.Once + file_ScenePlayInviteResultNotify_proto_rawDescData = file_ScenePlayInviteResultNotify_proto_rawDesc +) + +func file_ScenePlayInviteResultNotify_proto_rawDescGZIP() []byte { + file_ScenePlayInviteResultNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayInviteResultNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayInviteResultNotify_proto_rawDescData) + }) + return file_ScenePlayInviteResultNotify_proto_rawDescData +} + +var file_ScenePlayInviteResultNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayInviteResultNotify_proto_goTypes = []interface{}{ + (*ScenePlayInviteResultNotify)(nil), // 0: ScenePlayInviteResultNotify +} +var file_ScenePlayInviteResultNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayInviteResultNotify_proto_init() } +func file_ScenePlayInviteResultNotify_proto_init() { + if File_ScenePlayInviteResultNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayInviteResultNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayInviteResultNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayInviteResultNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayInviteResultNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayInviteResultNotify_proto_depIdxs, + MessageInfos: file_ScenePlayInviteResultNotify_proto_msgTypes, + }.Build() + File_ScenePlayInviteResultNotify_proto = out.File + file_ScenePlayInviteResultNotify_proto_rawDesc = nil + file_ScenePlayInviteResultNotify_proto_goTypes = nil + file_ScenePlayInviteResultNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayInviteResultNotify.proto b/gate-hk4e-api/proto/ScenePlayInviteResultNotify.proto new file mode 100644 index 00000000..6f321080 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayInviteResultNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4449 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayInviteResultNotify { + bool is_all_argee = 11; + uint32 play_id = 15; +} diff --git a/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.pb.go b/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.pb.go new file mode 100644 index 00000000..e451f8d2 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOutofRegionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4355 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ScenePlayOutofRegionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayId uint32 `protobuf:"varint,13,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayOutofRegionNotify) Reset() { + *x = ScenePlayOutofRegionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOutofRegionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOutofRegionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOutofRegionNotify) ProtoMessage() {} + +func (x *ScenePlayOutofRegionNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOutofRegionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOutofRegionNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayOutofRegionNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayOutofRegionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOutofRegionNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayOutofRegionNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayOutofRegionNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x75, 0x74, 0x6f, 0x66, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, + 0x75, 0x74, 0x6f, 0x66, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOutofRegionNotify_proto_rawDescOnce sync.Once + file_ScenePlayOutofRegionNotify_proto_rawDescData = file_ScenePlayOutofRegionNotify_proto_rawDesc +) + +func file_ScenePlayOutofRegionNotify_proto_rawDescGZIP() []byte { + file_ScenePlayOutofRegionNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayOutofRegionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOutofRegionNotify_proto_rawDescData) + }) + return file_ScenePlayOutofRegionNotify_proto_rawDescData +} + +var file_ScenePlayOutofRegionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOutofRegionNotify_proto_goTypes = []interface{}{ + (*ScenePlayOutofRegionNotify)(nil), // 0: ScenePlayOutofRegionNotify +} +var file_ScenePlayOutofRegionNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOutofRegionNotify_proto_init() } +func file_ScenePlayOutofRegionNotify_proto_init() { + if File_ScenePlayOutofRegionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOutofRegionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOutofRegionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOutofRegionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOutofRegionNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayOutofRegionNotify_proto_depIdxs, + MessageInfos: file_ScenePlayOutofRegionNotify_proto_msgTypes, + }.Build() + File_ScenePlayOutofRegionNotify_proto = out.File + file_ScenePlayOutofRegionNotify_proto_rawDesc = nil + file_ScenePlayOutofRegionNotify_proto_goTypes = nil + file_ScenePlayOutofRegionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.proto b/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.proto new file mode 100644 index 00000000..ea459b51 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOutofRegionNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4355 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ScenePlayOutofRegionNotify { + uint32 play_id = 13; +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.pb.go b/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.pb.go new file mode 100644 index 00000000..029c683c --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOwnerCheckReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ScenePlayOwnerCheckReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayId uint32 `protobuf:"varint,9,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + IsSkipMatch bool `protobuf:"varint,6,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` +} + +func (x *ScenePlayOwnerCheckReq) Reset() { + *x = ScenePlayOwnerCheckReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOwnerCheckReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOwnerCheckReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOwnerCheckReq) ProtoMessage() {} + +func (x *ScenePlayOwnerCheckReq) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOwnerCheckReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOwnerCheckReq.ProtoReflect.Descriptor instead. +func (*ScenePlayOwnerCheckReq) Descriptor() ([]byte, []int) { + return file_ScenePlayOwnerCheckReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOwnerCheckReq) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayOwnerCheckReq) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +var File_ScenePlayOwnerCheckReq_proto protoreflect.FileDescriptor + +var file_ScenePlayOwnerCheckReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, + 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x61, 0x74, + 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, + 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOwnerCheckReq_proto_rawDescOnce sync.Once + file_ScenePlayOwnerCheckReq_proto_rawDescData = file_ScenePlayOwnerCheckReq_proto_rawDesc +) + +func file_ScenePlayOwnerCheckReq_proto_rawDescGZIP() []byte { + file_ScenePlayOwnerCheckReq_proto_rawDescOnce.Do(func() { + file_ScenePlayOwnerCheckReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOwnerCheckReq_proto_rawDescData) + }) + return file_ScenePlayOwnerCheckReq_proto_rawDescData +} + +var file_ScenePlayOwnerCheckReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOwnerCheckReq_proto_goTypes = []interface{}{ + (*ScenePlayOwnerCheckReq)(nil), // 0: ScenePlayOwnerCheckReq +} +var file_ScenePlayOwnerCheckReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOwnerCheckReq_proto_init() } +func file_ScenePlayOwnerCheckReq_proto_init() { + if File_ScenePlayOwnerCheckReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOwnerCheckReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOwnerCheckReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOwnerCheckReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOwnerCheckReq_proto_goTypes, + DependencyIndexes: file_ScenePlayOwnerCheckReq_proto_depIdxs, + MessageInfos: file_ScenePlayOwnerCheckReq_proto_msgTypes, + }.Build() + File_ScenePlayOwnerCheckReq_proto = out.File + file_ScenePlayOwnerCheckReq_proto_rawDesc = nil + file_ScenePlayOwnerCheckReq_proto_goTypes = nil + file_ScenePlayOwnerCheckReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.proto b/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.proto new file mode 100644 index 00000000..e20042de --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerCheckReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ScenePlayOwnerCheckReq { + uint32 play_id = 9; + bool is_skip_match = 6; +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.pb.go b/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.pb.go new file mode 100644 index 00000000..0e10490a --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOwnerCheckRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4362 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayOwnerCheckRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList []uint32 `protobuf:"varint,8,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + IsSkipMatch bool `protobuf:"varint,1,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` + PlayId uint32 `protobuf:"varint,9,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + WrongUid uint32 `protobuf:"varint,5,opt,name=wrong_uid,json=wrongUid,proto3" json:"wrong_uid,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *ScenePlayOwnerCheckRsp) Reset() { + *x = ScenePlayOwnerCheckRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOwnerCheckRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOwnerCheckRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOwnerCheckRsp) ProtoMessage() {} + +func (x *ScenePlayOwnerCheckRsp) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOwnerCheckRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOwnerCheckRsp.ProtoReflect.Descriptor instead. +func (*ScenePlayOwnerCheckRsp) Descriptor() ([]byte, []int) { + return file_ScenePlayOwnerCheckRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOwnerCheckRsp) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *ScenePlayOwnerCheckRsp) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +func (x *ScenePlayOwnerCheckRsp) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayOwnerCheckRsp) GetWrongUid() uint32 { + if x != nil { + return x.WrongUid + } + return 0 +} + +func (x *ScenePlayOwnerCheckRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_ScenePlayOwnerCheckRsp_proto protoreflect.FileDescriptor + +var file_ScenePlayOwnerCheckRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, + 0x01, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, + 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, + 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, + 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x5f, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x55, + 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOwnerCheckRsp_proto_rawDescOnce sync.Once + file_ScenePlayOwnerCheckRsp_proto_rawDescData = file_ScenePlayOwnerCheckRsp_proto_rawDesc +) + +func file_ScenePlayOwnerCheckRsp_proto_rawDescGZIP() []byte { + file_ScenePlayOwnerCheckRsp_proto_rawDescOnce.Do(func() { + file_ScenePlayOwnerCheckRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOwnerCheckRsp_proto_rawDescData) + }) + return file_ScenePlayOwnerCheckRsp_proto_rawDescData +} + +var file_ScenePlayOwnerCheckRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOwnerCheckRsp_proto_goTypes = []interface{}{ + (*ScenePlayOwnerCheckRsp)(nil), // 0: ScenePlayOwnerCheckRsp +} +var file_ScenePlayOwnerCheckRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOwnerCheckRsp_proto_init() } +func file_ScenePlayOwnerCheckRsp_proto_init() { + if File_ScenePlayOwnerCheckRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOwnerCheckRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOwnerCheckRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOwnerCheckRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOwnerCheckRsp_proto_goTypes, + DependencyIndexes: file_ScenePlayOwnerCheckRsp_proto_depIdxs, + MessageInfos: file_ScenePlayOwnerCheckRsp_proto_msgTypes, + }.Build() + File_ScenePlayOwnerCheckRsp_proto = out.File + file_ScenePlayOwnerCheckRsp_proto_rawDesc = nil + file_ScenePlayOwnerCheckRsp_proto_goTypes = nil + file_ScenePlayOwnerCheckRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.proto b/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.proto new file mode 100644 index 00000000..dd839af7 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerCheckRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4362 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayOwnerCheckRsp { + repeated uint32 param_list = 8; + bool is_skip_match = 1; + uint32 play_id = 9; + uint32 wrong_uid = 5; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.pb.go b/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.pb.go new file mode 100644 index 00000000..bbb4d64c --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOwnerInviteNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4371 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayOwnerInviteNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InviteCd uint32 `protobuf:"varint,14,opt,name=invite_cd,json=inviteCd,proto3" json:"invite_cd,omitempty"` + PlayId uint32 `protobuf:"varint,5,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` + IsRemainReward bool `protobuf:"varint,15,opt,name=is_remain_reward,json=isRemainReward,proto3" json:"is_remain_reward,omitempty"` +} + +func (x *ScenePlayOwnerInviteNotify) Reset() { + *x = ScenePlayOwnerInviteNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOwnerInviteNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOwnerInviteNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOwnerInviteNotify) ProtoMessage() {} + +func (x *ScenePlayOwnerInviteNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOwnerInviteNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOwnerInviteNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayOwnerInviteNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayOwnerInviteNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOwnerInviteNotify) GetInviteCd() uint32 { + if x != nil { + return x.InviteCd + } + return 0 +} + +func (x *ScenePlayOwnerInviteNotify) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +func (x *ScenePlayOwnerInviteNotify) GetIsRemainReward() bool { + if x != nil { + return x.IsRemainReward + } + return false +} + +var File_ScenePlayOwnerInviteNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayOwnerInviteNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x43, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0e, 0x69, 0x73, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOwnerInviteNotify_proto_rawDescOnce sync.Once + file_ScenePlayOwnerInviteNotify_proto_rawDescData = file_ScenePlayOwnerInviteNotify_proto_rawDesc +) + +func file_ScenePlayOwnerInviteNotify_proto_rawDescGZIP() []byte { + file_ScenePlayOwnerInviteNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayOwnerInviteNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOwnerInviteNotify_proto_rawDescData) + }) + return file_ScenePlayOwnerInviteNotify_proto_rawDescData +} + +var file_ScenePlayOwnerInviteNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOwnerInviteNotify_proto_goTypes = []interface{}{ + (*ScenePlayOwnerInviteNotify)(nil), // 0: ScenePlayOwnerInviteNotify +} +var file_ScenePlayOwnerInviteNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOwnerInviteNotify_proto_init() } +func file_ScenePlayOwnerInviteNotify_proto_init() { + if File_ScenePlayOwnerInviteNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOwnerInviteNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOwnerInviteNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOwnerInviteNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOwnerInviteNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayOwnerInviteNotify_proto_depIdxs, + MessageInfos: file_ScenePlayOwnerInviteNotify_proto_msgTypes, + }.Build() + File_ScenePlayOwnerInviteNotify_proto = out.File + file_ScenePlayOwnerInviteNotify_proto_rawDesc = nil + file_ScenePlayOwnerInviteNotify_proto_goTypes = nil + file_ScenePlayOwnerInviteNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.proto b/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.proto new file mode 100644 index 00000000..34ed8640 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerInviteNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4371 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayOwnerInviteNotify { + uint32 invite_cd = 14; + uint32 play_id = 5; + bool is_remain_reward = 15; +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.pb.go b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.pb.go new file mode 100644 index 00000000..cce0350b --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOwnerStartInviteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4385 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ScenePlayOwnerStartInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSkipMatch bool `protobuf:"varint,8,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` + PlayId uint32 `protobuf:"varint,13,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayOwnerStartInviteReq) Reset() { + *x = ScenePlayOwnerStartInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOwnerStartInviteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOwnerStartInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOwnerStartInviteReq) ProtoMessage() {} + +func (x *ScenePlayOwnerStartInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOwnerStartInviteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOwnerStartInviteReq.ProtoReflect.Descriptor instead. +func (*ScenePlayOwnerStartInviteReq) Descriptor() ([]byte, []int) { + return file_ScenePlayOwnerStartInviteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOwnerStartInviteReq) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +func (x *ScenePlayOwnerStartInviteReq) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayOwnerStartInviteReq_proto protoreflect.FileDescriptor + +var file_ScenePlayOwnerStartInviteReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, + 0x6b, 0x69, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOwnerStartInviteReq_proto_rawDescOnce sync.Once + file_ScenePlayOwnerStartInviteReq_proto_rawDescData = file_ScenePlayOwnerStartInviteReq_proto_rawDesc +) + +func file_ScenePlayOwnerStartInviteReq_proto_rawDescGZIP() []byte { + file_ScenePlayOwnerStartInviteReq_proto_rawDescOnce.Do(func() { + file_ScenePlayOwnerStartInviteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOwnerStartInviteReq_proto_rawDescData) + }) + return file_ScenePlayOwnerStartInviteReq_proto_rawDescData +} + +var file_ScenePlayOwnerStartInviteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOwnerStartInviteReq_proto_goTypes = []interface{}{ + (*ScenePlayOwnerStartInviteReq)(nil), // 0: ScenePlayOwnerStartInviteReq +} +var file_ScenePlayOwnerStartInviteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOwnerStartInviteReq_proto_init() } +func file_ScenePlayOwnerStartInviteReq_proto_init() { + if File_ScenePlayOwnerStartInviteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOwnerStartInviteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOwnerStartInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOwnerStartInviteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOwnerStartInviteReq_proto_goTypes, + DependencyIndexes: file_ScenePlayOwnerStartInviteReq_proto_depIdxs, + MessageInfos: file_ScenePlayOwnerStartInviteReq_proto_msgTypes, + }.Build() + File_ScenePlayOwnerStartInviteReq_proto = out.File + file_ScenePlayOwnerStartInviteReq_proto_rawDesc = nil + file_ScenePlayOwnerStartInviteReq_proto_goTypes = nil + file_ScenePlayOwnerStartInviteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.proto b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.proto new file mode 100644 index 00000000..ccd3c062 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4385 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ScenePlayOwnerStartInviteReq { + bool is_skip_match = 8; + uint32 play_id = 13; +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.pb.go b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.pb.go new file mode 100644 index 00000000..e127cd5b --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayOwnerStartInviteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4357 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayOwnerStartInviteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSkipMatch bool `protobuf:"varint,7,opt,name=is_skip_match,json=isSkipMatch,proto3" json:"is_skip_match,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + PlayId uint32 `protobuf:"varint,11,opt,name=play_id,json=playId,proto3" json:"play_id,omitempty"` +} + +func (x *ScenePlayOwnerStartInviteRsp) Reset() { + *x = ScenePlayOwnerStartInviteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayOwnerStartInviteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayOwnerStartInviteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayOwnerStartInviteRsp) ProtoMessage() {} + +func (x *ScenePlayOwnerStartInviteRsp) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayOwnerStartInviteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayOwnerStartInviteRsp.ProtoReflect.Descriptor instead. +func (*ScenePlayOwnerStartInviteRsp) Descriptor() ([]byte, []int) { + return file_ScenePlayOwnerStartInviteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayOwnerStartInviteRsp) GetIsSkipMatch() bool { + if x != nil { + return x.IsSkipMatch + } + return false +} + +func (x *ScenePlayOwnerStartInviteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ScenePlayOwnerStartInviteRsp) GetPlayId() uint32 { + if x != nil { + return x.PlayId + } + return 0 +} + +var File_ScenePlayOwnerStartInviteRsp_proto protoreflect.FileDescriptor + +var file_ScenePlayOwnerStartInviteRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, + 0x6b, 0x69, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayOwnerStartInviteRsp_proto_rawDescOnce sync.Once + file_ScenePlayOwnerStartInviteRsp_proto_rawDescData = file_ScenePlayOwnerStartInviteRsp_proto_rawDesc +) + +func file_ScenePlayOwnerStartInviteRsp_proto_rawDescGZIP() []byte { + file_ScenePlayOwnerStartInviteRsp_proto_rawDescOnce.Do(func() { + file_ScenePlayOwnerStartInviteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayOwnerStartInviteRsp_proto_rawDescData) + }) + return file_ScenePlayOwnerStartInviteRsp_proto_rawDescData +} + +var file_ScenePlayOwnerStartInviteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayOwnerStartInviteRsp_proto_goTypes = []interface{}{ + (*ScenePlayOwnerStartInviteRsp)(nil), // 0: ScenePlayOwnerStartInviteRsp +} +var file_ScenePlayOwnerStartInviteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePlayOwnerStartInviteRsp_proto_init() } +func file_ScenePlayOwnerStartInviteRsp_proto_init() { + if File_ScenePlayOwnerStartInviteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePlayOwnerStartInviteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayOwnerStartInviteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayOwnerStartInviteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayOwnerStartInviteRsp_proto_goTypes, + DependencyIndexes: file_ScenePlayOwnerStartInviteRsp_proto_depIdxs, + MessageInfos: file_ScenePlayOwnerStartInviteRsp_proto_msgTypes, + }.Build() + File_ScenePlayOwnerStartInviteRsp_proto = out.File + file_ScenePlayOwnerStartInviteRsp_proto_rawDesc = nil + file_ScenePlayOwnerStartInviteRsp_proto_goTypes = nil + file_ScenePlayOwnerStartInviteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.proto b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.proto new file mode 100644 index 00000000..18d4eafd --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayOwnerStartInviteRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4357 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayOwnerStartInviteRsp { + bool is_skip_match = 7; + int32 retcode = 15; + uint32 play_id = 11; +} diff --git a/gate-hk4e-api/proto/ScenePlayerInfo.pb.go b/gate-hk4e-api/proto/ScenePlayerInfo.pb.go new file mode 100644 index 00000000..4673733b --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerInfo.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScenePlayerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,10,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PeerId uint32 `protobuf:"varint,6,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + OnlinePlayerInfo *OnlinePlayerInfo `protobuf:"bytes,13,opt,name=online_player_info,json=onlinePlayerInfo,proto3" json:"online_player_info,omitempty"` + IsConnected bool `protobuf:"varint,2,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` + Name string `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"` + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *ScenePlayerInfo) Reset() { + *x = ScenePlayerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayerInfo) ProtoMessage() {} + +func (x *ScenePlayerInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayerInfo.ProtoReflect.Descriptor instead. +func (*ScenePlayerInfo) Descriptor() ([]byte, []int) { + return file_ScenePlayerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayerInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *ScenePlayerInfo) GetPeerId() uint32 { + if x != nil { + return x.PeerId + } + return 0 +} + +func (x *ScenePlayerInfo) GetOnlinePlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.OnlinePlayerInfo + } + return nil +} + +func (x *ScenePlayerInfo) GetIsConnected() bool { + if x != nil { + return x.IsConnected + } + return false +} + +func (x *ScenePlayerInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ScenePlayerInfo) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_ScenePlayerInfo_proto protoreflect.FileDescriptor + +var file_ScenePlayerInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xcf, 0x01, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, + 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayerInfo_proto_rawDescOnce sync.Once + file_ScenePlayerInfo_proto_rawDescData = file_ScenePlayerInfo_proto_rawDesc +) + +func file_ScenePlayerInfo_proto_rawDescGZIP() []byte { + file_ScenePlayerInfo_proto_rawDescOnce.Do(func() { + file_ScenePlayerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayerInfo_proto_rawDescData) + }) + return file_ScenePlayerInfo_proto_rawDescData +} + +var file_ScenePlayerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayerInfo_proto_goTypes = []interface{}{ + (*ScenePlayerInfo)(nil), // 0: ScenePlayerInfo + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo +} +var file_ScenePlayerInfo_proto_depIdxs = []int32{ + 1, // 0: ScenePlayerInfo.online_player_info:type_name -> OnlinePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ScenePlayerInfo_proto_init() } +func file_ScenePlayerInfo_proto_init() { + if File_ScenePlayerInfo_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayerInfo_proto_goTypes, + DependencyIndexes: file_ScenePlayerInfo_proto_depIdxs, + MessageInfos: file_ScenePlayerInfo_proto_msgTypes, + }.Build() + File_ScenePlayerInfo_proto = out.File + file_ScenePlayerInfo_proto_rawDesc = nil + file_ScenePlayerInfo_proto_goTypes = nil + file_ScenePlayerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayerInfo.proto b/gate-hk4e-api/proto/ScenePlayerInfo.proto new file mode 100644 index 00000000..e43187f1 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message ScenePlayerInfo { + uint32 scene_id = 10; + uint32 peer_id = 6; + OnlinePlayerInfo online_player_info = 13; + bool is_connected = 2; + string name = 15; + uint32 uid = 8; +} diff --git a/gate-hk4e-api/proto/ScenePlayerInfoNotify.pb.go b/gate-hk4e-api/proto/ScenePlayerInfoNotify.pb.go new file mode 100644 index 00000000..66ebd523 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerInfoNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayerInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 267 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayerInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfoList []*ScenePlayerInfo `protobuf:"bytes,5,rep,name=player_info_list,json=playerInfoList,proto3" json:"player_info_list,omitempty"` +} + +func (x *ScenePlayerInfoNotify) Reset() { + *x = ScenePlayerInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayerInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayerInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayerInfoNotify) ProtoMessage() {} + +func (x *ScenePlayerInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayerInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayerInfoNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayerInfoNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayerInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayerInfoNotify) GetPlayerInfoList() []*ScenePlayerInfo { + if x != nil { + return x.PlayerInfoList + } + return nil +} + +var File_ScenePlayerInfoNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayerInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3a, 0x0a, + 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayerInfoNotify_proto_rawDescOnce sync.Once + file_ScenePlayerInfoNotify_proto_rawDescData = file_ScenePlayerInfoNotify_proto_rawDesc +) + +func file_ScenePlayerInfoNotify_proto_rawDescGZIP() []byte { + file_ScenePlayerInfoNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayerInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayerInfoNotify_proto_rawDescData) + }) + return file_ScenePlayerInfoNotify_proto_rawDescData +} + +var file_ScenePlayerInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayerInfoNotify_proto_goTypes = []interface{}{ + (*ScenePlayerInfoNotify)(nil), // 0: ScenePlayerInfoNotify + (*ScenePlayerInfo)(nil), // 1: ScenePlayerInfo +} +var file_ScenePlayerInfoNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayerInfoNotify.player_info_list:type_name -> ScenePlayerInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ScenePlayerInfoNotify_proto_init() } +func file_ScenePlayerInfoNotify_proto_init() { + if File_ScenePlayerInfoNotify_proto != nil { + return + } + file_ScenePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayerInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayerInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayerInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayerInfoNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayerInfoNotify_proto_depIdxs, + MessageInfos: file_ScenePlayerInfoNotify_proto_msgTypes, + }.Build() + File_ScenePlayerInfoNotify_proto = out.File + file_ScenePlayerInfoNotify_proto_rawDesc = nil + file_ScenePlayerInfoNotify_proto_goTypes = nil + file_ScenePlayerInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayerInfoNotify.proto b/gate-hk4e-api/proto/ScenePlayerInfoNotify.proto new file mode 100644 index 00000000..62730c05 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ScenePlayerInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 267 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayerInfoNotify { + repeated ScenePlayerInfo player_info_list = 5; +} diff --git a/gate-hk4e-api/proto/ScenePlayerLocationNotify.pb.go b/gate-hk4e-api/proto/ScenePlayerLocationNotify.pb.go new file mode 100644 index 00000000..bd6c90cb --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerLocationNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayerLocationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 248 +// EnetChannelId: 1 +// EnetIsReliable: true +type ScenePlayerLocationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VehicleLocList []*VehicleLocationInfo `protobuf:"bytes,3,rep,name=vehicle_loc_list,json=vehicleLocList,proto3" json:"vehicle_loc_list,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PlayerLocList []*PlayerLocationInfo `protobuf:"bytes,14,rep,name=player_loc_list,json=playerLocList,proto3" json:"player_loc_list,omitempty"` +} + +func (x *ScenePlayerLocationNotify) Reset() { + *x = ScenePlayerLocationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayerLocationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayerLocationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayerLocationNotify) ProtoMessage() {} + +func (x *ScenePlayerLocationNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayerLocationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayerLocationNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayerLocationNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayerLocationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayerLocationNotify) GetVehicleLocList() []*VehicleLocationInfo { + if x != nil { + return x.VehicleLocList + } + return nil +} + +func (x *ScenePlayerLocationNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *ScenePlayerLocationNotify) GetPlayerLocList() []*PlayerLocationInfo { + if x != nil { + return x.PlayerLocList + } + return nil +} + +var File_ScenePlayerLocationNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayerLocationNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x56, 0x65, 0x68, + 0x69, 0x63, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x19, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x10, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, + 0x6c, 0x6f, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4c, 0x6f, 0x63, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, + 0x3b, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x63, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePlayerLocationNotify_proto_rawDescOnce sync.Once + file_ScenePlayerLocationNotify_proto_rawDescData = file_ScenePlayerLocationNotify_proto_rawDesc +) + +func file_ScenePlayerLocationNotify_proto_rawDescGZIP() []byte { + file_ScenePlayerLocationNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayerLocationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayerLocationNotify_proto_rawDescData) + }) + return file_ScenePlayerLocationNotify_proto_rawDescData +} + +var file_ScenePlayerLocationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayerLocationNotify_proto_goTypes = []interface{}{ + (*ScenePlayerLocationNotify)(nil), // 0: ScenePlayerLocationNotify + (*VehicleLocationInfo)(nil), // 1: VehicleLocationInfo + (*PlayerLocationInfo)(nil), // 2: PlayerLocationInfo +} +var file_ScenePlayerLocationNotify_proto_depIdxs = []int32{ + 1, // 0: ScenePlayerLocationNotify.vehicle_loc_list:type_name -> VehicleLocationInfo + 2, // 1: ScenePlayerLocationNotify.player_loc_list:type_name -> PlayerLocationInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ScenePlayerLocationNotify_proto_init() } +func file_ScenePlayerLocationNotify_proto_init() { + if File_ScenePlayerLocationNotify_proto != nil { + return + } + file_PlayerLocationInfo_proto_init() + file_VehicleLocationInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayerLocationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayerLocationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayerLocationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayerLocationNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayerLocationNotify_proto_depIdxs, + MessageInfos: file_ScenePlayerLocationNotify_proto_msgTypes, + }.Build() + File_ScenePlayerLocationNotify_proto = out.File + file_ScenePlayerLocationNotify_proto_rawDesc = nil + file_ScenePlayerLocationNotify_proto_goTypes = nil + file_ScenePlayerLocationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayerLocationNotify.proto b/gate-hk4e-api/proto/ScenePlayerLocationNotify.proto new file mode 100644 index 00000000..f086dc47 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerLocationNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerLocationInfo.proto"; +import "VehicleLocationInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 248 +// EnetChannelId: 1 +// EnetIsReliable: true +message ScenePlayerLocationNotify { + repeated VehicleLocationInfo vehicle_loc_list = 3; + uint32 scene_id = 9; + repeated PlayerLocationInfo player_loc_list = 14; +} diff --git a/gate-hk4e-api/proto/ScenePlayerSoundNotify.pb.go b/gate-hk4e-api/proto/ScenePlayerSoundNotify.pb.go new file mode 100644 index 00000000..2a35f953 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerSoundNotify.pb.go @@ -0,0 +1,248 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePlayerSoundNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScenePlayerSoundNotify_PlaySoundType int32 + +const ( + ScenePlayerSoundNotify_PLAY_SOUND_TYPE_NONE ScenePlayerSoundNotify_PlaySoundType = 0 + ScenePlayerSoundNotify_PLAY_SOUND_TYPE_START ScenePlayerSoundNotify_PlaySoundType = 1 + ScenePlayerSoundNotify_PLAY_SOUND_TYPE_STOP ScenePlayerSoundNotify_PlaySoundType = 2 +) + +// Enum value maps for ScenePlayerSoundNotify_PlaySoundType. +var ( + ScenePlayerSoundNotify_PlaySoundType_name = map[int32]string{ + 0: "PLAY_SOUND_TYPE_NONE", + 1: "PLAY_SOUND_TYPE_START", + 2: "PLAY_SOUND_TYPE_STOP", + } + ScenePlayerSoundNotify_PlaySoundType_value = map[string]int32{ + "PLAY_SOUND_TYPE_NONE": 0, + "PLAY_SOUND_TYPE_START": 1, + "PLAY_SOUND_TYPE_STOP": 2, + } +) + +func (x ScenePlayerSoundNotify_PlaySoundType) Enum() *ScenePlayerSoundNotify_PlaySoundType { + p := new(ScenePlayerSoundNotify_PlaySoundType) + *p = x + return p +} + +func (x ScenePlayerSoundNotify_PlaySoundType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ScenePlayerSoundNotify_PlaySoundType) Descriptor() protoreflect.EnumDescriptor { + return file_ScenePlayerSoundNotify_proto_enumTypes[0].Descriptor() +} + +func (ScenePlayerSoundNotify_PlaySoundType) Type() protoreflect.EnumType { + return &file_ScenePlayerSoundNotify_proto_enumTypes[0] +} + +func (x ScenePlayerSoundNotify_PlaySoundType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ScenePlayerSoundNotify_PlaySoundType.Descriptor instead. +func (ScenePlayerSoundNotify_PlaySoundType) EnumDescriptor() ([]byte, []int) { + return file_ScenePlayerSoundNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 233 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePlayerSoundNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SoundName string `protobuf:"bytes,4,opt,name=sound_name,json=soundName,proto3" json:"sound_name,omitempty"` + PlayType ScenePlayerSoundNotify_PlaySoundType `protobuf:"varint,8,opt,name=play_type,json=playType,proto3,enum=ScenePlayerSoundNotify_PlaySoundType" json:"play_type,omitempty"` + PlayPos *Vector `protobuf:"bytes,3,opt,name=play_pos,json=playPos,proto3" json:"play_pos,omitempty"` +} + +func (x *ScenePlayerSoundNotify) Reset() { + *x = ScenePlayerSoundNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePlayerSoundNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePlayerSoundNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePlayerSoundNotify) ProtoMessage() {} + +func (x *ScenePlayerSoundNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePlayerSoundNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePlayerSoundNotify.ProtoReflect.Descriptor instead. +func (*ScenePlayerSoundNotify) Descriptor() ([]byte, []int) { + return file_ScenePlayerSoundNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePlayerSoundNotify) GetSoundName() string { + if x != nil { + return x.SoundName + } + return "" +} + +func (x *ScenePlayerSoundNotify) GetPlayType() ScenePlayerSoundNotify_PlaySoundType { + if x != nil { + return x.PlayType + } + return ScenePlayerSoundNotify_PLAY_SOUND_TYPE_NONE +} + +func (x *ScenePlayerSoundNotify) GetPlayPos() *Vector { + if x != nil { + return x.PlayPos + } + return nil +} + +var File_ScenePlayerSoundNotify_proto protoreflect.FileDescriptor + +var file_ScenePlayerSoundNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x75, + 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, 0x0a, + 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x6e, + 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, + 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x53, 0x63, 0x65, 0x6e, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x6f, 0x73, 0x22, 0x5e, + 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x53, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, + 0x59, 0x5f, 0x53, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x52, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x53, 0x4f, 0x55, + 0x4e, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ScenePlayerSoundNotify_proto_rawDescOnce sync.Once + file_ScenePlayerSoundNotify_proto_rawDescData = file_ScenePlayerSoundNotify_proto_rawDesc +) + +func file_ScenePlayerSoundNotify_proto_rawDescGZIP() []byte { + file_ScenePlayerSoundNotify_proto_rawDescOnce.Do(func() { + file_ScenePlayerSoundNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePlayerSoundNotify_proto_rawDescData) + }) + return file_ScenePlayerSoundNotify_proto_rawDescData +} + +var file_ScenePlayerSoundNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ScenePlayerSoundNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePlayerSoundNotify_proto_goTypes = []interface{}{ + (ScenePlayerSoundNotify_PlaySoundType)(0), // 0: ScenePlayerSoundNotify.PlaySoundType + (*ScenePlayerSoundNotify)(nil), // 1: ScenePlayerSoundNotify + (*Vector)(nil), // 2: Vector +} +var file_ScenePlayerSoundNotify_proto_depIdxs = []int32{ + 0, // 0: ScenePlayerSoundNotify.play_type:type_name -> ScenePlayerSoundNotify.PlaySoundType + 2, // 1: ScenePlayerSoundNotify.play_pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ScenePlayerSoundNotify_proto_init() } +func file_ScenePlayerSoundNotify_proto_init() { + if File_ScenePlayerSoundNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ScenePlayerSoundNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePlayerSoundNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePlayerSoundNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePlayerSoundNotify_proto_goTypes, + DependencyIndexes: file_ScenePlayerSoundNotify_proto_depIdxs, + EnumInfos: file_ScenePlayerSoundNotify_proto_enumTypes, + MessageInfos: file_ScenePlayerSoundNotify_proto_msgTypes, + }.Build() + File_ScenePlayerSoundNotify_proto = out.File + file_ScenePlayerSoundNotify_proto_rawDesc = nil + file_ScenePlayerSoundNotify_proto_goTypes = nil + file_ScenePlayerSoundNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePlayerSoundNotify.proto b/gate-hk4e-api/proto/ScenePlayerSoundNotify.proto new file mode 100644 index 00000000..38ba678a --- /dev/null +++ b/gate-hk4e-api/proto/ScenePlayerSoundNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 233 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePlayerSoundNotify { + string sound_name = 4; + PlaySoundType play_type = 8; + Vector play_pos = 3; + + enum PlaySoundType { + PLAY_SOUND_TYPE_NONE = 0; + PLAY_SOUND_TYPE_START = 1; + PLAY_SOUND_TYPE_STOP = 2; + } +} diff --git a/gate-hk4e-api/proto/ScenePointUnlockNotify.pb.go b/gate-hk4e-api/proto/ScenePointUnlockNotify.pb.go new file mode 100644 index 00000000..1f688746 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePointUnlockNotify.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScenePointUnlockNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 247 +// EnetChannelId: 0 +// EnetIsReliable: true +type ScenePointUnlockNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointList []uint32 `protobuf:"varint,13,rep,packed,name=point_list,json=pointList,proto3" json:"point_list,omitempty"` + SceneId uint32 `protobuf:"varint,6,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + UnhidePointList []uint32 `protobuf:"varint,12,rep,packed,name=unhide_point_list,json=unhidePointList,proto3" json:"unhide_point_list,omitempty"` + HidePointList []uint32 `protobuf:"varint,1,rep,packed,name=hide_point_list,json=hidePointList,proto3" json:"hide_point_list,omitempty"` + LockedPointList []uint32 `protobuf:"varint,8,rep,packed,name=locked_point_list,json=lockedPointList,proto3" json:"locked_point_list,omitempty"` +} + +func (x *ScenePointUnlockNotify) Reset() { + *x = ScenePointUnlockNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ScenePointUnlockNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScenePointUnlockNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScenePointUnlockNotify) ProtoMessage() {} + +func (x *ScenePointUnlockNotify) ProtoReflect() protoreflect.Message { + mi := &file_ScenePointUnlockNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScenePointUnlockNotify.ProtoReflect.Descriptor instead. +func (*ScenePointUnlockNotify) Descriptor() ([]byte, []int) { + return file_ScenePointUnlockNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ScenePointUnlockNotify) GetPointList() []uint32 { + if x != nil { + return x.PointList + } + return nil +} + +func (x *ScenePointUnlockNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *ScenePointUnlockNotify) GetUnhidePointList() []uint32 { + if x != nil { + return x.UnhidePointList + } + return nil +} + +func (x *ScenePointUnlockNotify) GetHidePointList() []uint32 { + if x != nil { + return x.HidePointList + } + return nil +} + +func (x *ScenePointUnlockNotify) GetLockedPointList() []uint32 { + if x != nil { + return x.LockedPointList + } + return nil +} + +var File_ScenePointUnlockNotify_proto protoreflect.FileDescriptor + +var file_ScenePointUnlockNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, + 0x01, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, + 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x26, 0x0a, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x68, 0x69, 0x64, 0x65, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScenePointUnlockNotify_proto_rawDescOnce sync.Once + file_ScenePointUnlockNotify_proto_rawDescData = file_ScenePointUnlockNotify_proto_rawDesc +) + +func file_ScenePointUnlockNotify_proto_rawDescGZIP() []byte { + file_ScenePointUnlockNotify_proto_rawDescOnce.Do(func() { + file_ScenePointUnlockNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScenePointUnlockNotify_proto_rawDescData) + }) + return file_ScenePointUnlockNotify_proto_rawDescData +} + +var file_ScenePointUnlockNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScenePointUnlockNotify_proto_goTypes = []interface{}{ + (*ScenePointUnlockNotify)(nil), // 0: ScenePointUnlockNotify +} +var file_ScenePointUnlockNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScenePointUnlockNotify_proto_init() } +func file_ScenePointUnlockNotify_proto_init() { + if File_ScenePointUnlockNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScenePointUnlockNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScenePointUnlockNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScenePointUnlockNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScenePointUnlockNotify_proto_goTypes, + DependencyIndexes: file_ScenePointUnlockNotify_proto_depIdxs, + MessageInfos: file_ScenePointUnlockNotify_proto_msgTypes, + }.Build() + File_ScenePointUnlockNotify_proto = out.File + file_ScenePointUnlockNotify_proto_rawDesc = nil + file_ScenePointUnlockNotify_proto_goTypes = nil + file_ScenePointUnlockNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScenePointUnlockNotify.proto b/gate-hk4e-api/proto/ScenePointUnlockNotify.proto new file mode 100644 index 00000000..9bc69d01 --- /dev/null +++ b/gate-hk4e-api/proto/ScenePointUnlockNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 247 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePointUnlockNotify { + repeated uint32 point_list = 13; + uint32 scene_id = 6; + repeated uint32 unhide_point_list = 12; + repeated uint32 hide_point_list = 1; + repeated uint32 locked_point_list = 8; +} diff --git a/gate-hk4e-api/proto/SceneReliquaryInfo.pb.go b/gate-hk4e-api/proto/SceneReliquaryInfo.pb.go new file mode 100644 index 00000000..4ccf2d3f --- /dev/null +++ b/gate-hk4e-api/proto/SceneReliquaryInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneReliquaryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneReliquaryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Guid uint64 `protobuf:"varint,2,opt,name=guid,proto3" json:"guid,omitempty"` + Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` + PromoteLevel uint32 `protobuf:"varint,4,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` +} + +func (x *SceneReliquaryInfo) Reset() { + *x = SceneReliquaryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneReliquaryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneReliquaryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneReliquaryInfo) ProtoMessage() {} + +func (x *SceneReliquaryInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneReliquaryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneReliquaryInfo.ProtoReflect.Descriptor instead. +func (*SceneReliquaryInfo) Descriptor() ([]byte, []int) { + return file_SceneReliquaryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneReliquaryInfo) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *SceneReliquaryInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *SceneReliquaryInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *SceneReliquaryInfo) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +var File_SceneReliquaryInfo_proto protoreflect.FileDescriptor + +var file_SceneReliquaryInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x12, 0x53, 0x63, + 0x65, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneReliquaryInfo_proto_rawDescOnce sync.Once + file_SceneReliquaryInfo_proto_rawDescData = file_SceneReliquaryInfo_proto_rawDesc +) + +func file_SceneReliquaryInfo_proto_rawDescGZIP() []byte { + file_SceneReliquaryInfo_proto_rawDescOnce.Do(func() { + file_SceneReliquaryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneReliquaryInfo_proto_rawDescData) + }) + return file_SceneReliquaryInfo_proto_rawDescData +} + +var file_SceneReliquaryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneReliquaryInfo_proto_goTypes = []interface{}{ + (*SceneReliquaryInfo)(nil), // 0: SceneReliquaryInfo +} +var file_SceneReliquaryInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneReliquaryInfo_proto_init() } +func file_SceneReliquaryInfo_proto_init() { + if File_SceneReliquaryInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneReliquaryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneReliquaryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneReliquaryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneReliquaryInfo_proto_goTypes, + DependencyIndexes: file_SceneReliquaryInfo_proto_depIdxs, + MessageInfos: file_SceneReliquaryInfo_proto_msgTypes, + }.Build() + File_SceneReliquaryInfo_proto = out.File + file_SceneReliquaryInfo_proto_rawDesc = nil + file_SceneReliquaryInfo_proto_goTypes = nil + file_SceneReliquaryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneReliquaryInfo.proto b/gate-hk4e-api/proto/SceneReliquaryInfo.proto new file mode 100644 index 00000000..db95d210 --- /dev/null +++ b/gate-hk4e-api/proto/SceneReliquaryInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SceneReliquaryInfo { + uint32 item_id = 1; + uint64 guid = 2; + uint32 level = 3; + uint32 promote_level = 4; +} diff --git a/gate-hk4e-api/proto/SceneRouteChangeInfo.pb.go b/gate-hk4e-api/proto/SceneRouteChangeInfo.pb.go new file mode 100644 index 00000000..85050ade --- /dev/null +++ b/gate-hk4e-api/proto/SceneRouteChangeInfo.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneRouteChangeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneRouteChangeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsForward bool `protobuf:"varint,12,opt,name=is_forward,json=isForward,proto3" json:"is_forward,omitempty"` + RouteId uint32 `protobuf:"varint,15,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` + Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` + PointList []*RoutePointChangeInfo `protobuf:"bytes,1,rep,name=point_list,json=pointList,proto3" json:"point_list,omitempty"` +} + +func (x *SceneRouteChangeInfo) Reset() { + *x = SceneRouteChangeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneRouteChangeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneRouteChangeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneRouteChangeInfo) ProtoMessage() {} + +func (x *SceneRouteChangeInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneRouteChangeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneRouteChangeInfo.ProtoReflect.Descriptor instead. +func (*SceneRouteChangeInfo) Descriptor() ([]byte, []int) { + return file_SceneRouteChangeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneRouteChangeInfo) GetIsForward() bool { + if x != nil { + return x.IsForward + } + return false +} + +func (x *SceneRouteChangeInfo) GetRouteId() uint32 { + if x != nil { + return x.RouteId + } + return 0 +} + +func (x *SceneRouteChangeInfo) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *SceneRouteChangeInfo) GetPointList() []*RoutePointChangeInfo { + if x != nil { + return x.PointList + } + return nil +} + +var File_SceneRouteChangeInfo_proto protoreflect.FileDescriptor + +var file_SceneRouteChangeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x53, 0x63, 0x65, + 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x34, 0x0a, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneRouteChangeInfo_proto_rawDescOnce sync.Once + file_SceneRouteChangeInfo_proto_rawDescData = file_SceneRouteChangeInfo_proto_rawDesc +) + +func file_SceneRouteChangeInfo_proto_rawDescGZIP() []byte { + file_SceneRouteChangeInfo_proto_rawDescOnce.Do(func() { + file_SceneRouteChangeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneRouteChangeInfo_proto_rawDescData) + }) + return file_SceneRouteChangeInfo_proto_rawDescData +} + +var file_SceneRouteChangeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneRouteChangeInfo_proto_goTypes = []interface{}{ + (*SceneRouteChangeInfo)(nil), // 0: SceneRouteChangeInfo + (*RoutePointChangeInfo)(nil), // 1: RoutePointChangeInfo +} +var file_SceneRouteChangeInfo_proto_depIdxs = []int32{ + 1, // 0: SceneRouteChangeInfo.point_list:type_name -> RoutePointChangeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneRouteChangeInfo_proto_init() } +func file_SceneRouteChangeInfo_proto_init() { + if File_SceneRouteChangeInfo_proto != nil { + return + } + file_RoutePointChangeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneRouteChangeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneRouteChangeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneRouteChangeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneRouteChangeInfo_proto_goTypes, + DependencyIndexes: file_SceneRouteChangeInfo_proto_depIdxs, + MessageInfos: file_SceneRouteChangeInfo_proto_msgTypes, + }.Build() + File_SceneRouteChangeInfo_proto = out.File + file_SceneRouteChangeInfo_proto_rawDesc = nil + file_SceneRouteChangeInfo_proto_goTypes = nil + file_SceneRouteChangeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneRouteChangeInfo.proto b/gate-hk4e-api/proto/SceneRouteChangeInfo.proto new file mode 100644 index 00000000..ded6dbe8 --- /dev/null +++ b/gate-hk4e-api/proto/SceneRouteChangeInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RoutePointChangeInfo.proto"; + +option go_package = "./;proto"; + +message SceneRouteChangeInfo { + bool is_forward = 12; + uint32 route_id = 15; + uint32 type = 4; + repeated RoutePointChangeInfo point_list = 1; +} diff --git a/gate-hk4e-api/proto/SceneRouteChangeNotify.pb.go b/gate-hk4e-api/proto/SceneRouteChangeNotify.pb.go new file mode 100644 index 00000000..3872a30c --- /dev/null +++ b/gate-hk4e-api/proto/SceneRouteChangeNotify.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneRouteChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 240 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneRouteChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,12,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + SceneTime uint32 `protobuf:"varint,11,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + RouteList []*SceneRouteChangeInfo `protobuf:"bytes,2,rep,name=route_list,json=routeList,proto3" json:"route_list,omitempty"` +} + +func (x *SceneRouteChangeNotify) Reset() { + *x = SceneRouteChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneRouteChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneRouteChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneRouteChangeNotify) ProtoMessage() {} + +func (x *SceneRouteChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneRouteChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneRouteChangeNotify.ProtoReflect.Descriptor instead. +func (*SceneRouteChangeNotify) Descriptor() ([]byte, []int) { + return file_SceneRouteChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneRouteChangeNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SceneRouteChangeNotify) GetSceneTime() uint32 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *SceneRouteChangeNotify) GetRouteList() []*SceneRouteChangeInfo { + if x != nil { + return x.RouteList + } + return nil +} + +var File_SceneRouteChangeNotify_proto protoreflect.FileDescriptor + +var file_SceneRouteChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x16, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x34, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneRouteChangeNotify_proto_rawDescOnce sync.Once + file_SceneRouteChangeNotify_proto_rawDescData = file_SceneRouteChangeNotify_proto_rawDesc +) + +func file_SceneRouteChangeNotify_proto_rawDescGZIP() []byte { + file_SceneRouteChangeNotify_proto_rawDescOnce.Do(func() { + file_SceneRouteChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneRouteChangeNotify_proto_rawDescData) + }) + return file_SceneRouteChangeNotify_proto_rawDescData +} + +var file_SceneRouteChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneRouteChangeNotify_proto_goTypes = []interface{}{ + (*SceneRouteChangeNotify)(nil), // 0: SceneRouteChangeNotify + (*SceneRouteChangeInfo)(nil), // 1: SceneRouteChangeInfo +} +var file_SceneRouteChangeNotify_proto_depIdxs = []int32{ + 1, // 0: SceneRouteChangeNotify.route_list:type_name -> SceneRouteChangeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneRouteChangeNotify_proto_init() } +func file_SceneRouteChangeNotify_proto_init() { + if File_SceneRouteChangeNotify_proto != nil { + return + } + file_SceneRouteChangeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneRouteChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneRouteChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneRouteChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneRouteChangeNotify_proto_goTypes, + DependencyIndexes: file_SceneRouteChangeNotify_proto_depIdxs, + MessageInfos: file_SceneRouteChangeNotify_proto_msgTypes, + }.Build() + File_SceneRouteChangeNotify_proto = out.File + file_SceneRouteChangeNotify_proto_rawDesc = nil + file_SceneRouteChangeNotify_proto_goTypes = nil + file_SceneRouteChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneRouteChangeNotify.proto b/gate-hk4e-api/proto/SceneRouteChangeNotify.proto new file mode 100644 index 00000000..5fc22363 --- /dev/null +++ b/gate-hk4e-api/proto/SceneRouteChangeNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneRouteChangeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 240 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneRouteChangeNotify { + uint32 scene_id = 12; + uint32 scene_time = 11; + repeated SceneRouteChangeInfo route_list = 2; +} diff --git a/gate-hk4e-api/proto/SceneSurfaceMaterial.pb.go b/gate-hk4e-api/proto/SceneSurfaceMaterial.pb.go new file mode 100644 index 00000000..7c0013b5 --- /dev/null +++ b/gate-hk4e-api/proto/SceneSurfaceMaterial.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneSurfaceMaterial.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneSurfaceMaterial int32 + +const ( + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_INVALID SceneSurfaceMaterial = 0 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_GRASS SceneSurfaceMaterial = 1 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_DIRT SceneSurfaceMaterial = 2 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_ROCK SceneSurfaceMaterial = 3 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_SNOW SceneSurfaceMaterial = 4 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_WATER SceneSurfaceMaterial = 5 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_TILE SceneSurfaceMaterial = 6 + SceneSurfaceMaterial_SCENE_SURFACE_MATERIAL_SAND SceneSurfaceMaterial = 7 +) + +// Enum value maps for SceneSurfaceMaterial. +var ( + SceneSurfaceMaterial_name = map[int32]string{ + 0: "SCENE_SURFACE_MATERIAL_INVALID", + 1: "SCENE_SURFACE_MATERIAL_GRASS", + 2: "SCENE_SURFACE_MATERIAL_DIRT", + 3: "SCENE_SURFACE_MATERIAL_ROCK", + 4: "SCENE_SURFACE_MATERIAL_SNOW", + 5: "SCENE_SURFACE_MATERIAL_WATER", + 6: "SCENE_SURFACE_MATERIAL_TILE", + 7: "SCENE_SURFACE_MATERIAL_SAND", + } + SceneSurfaceMaterial_value = map[string]int32{ + "SCENE_SURFACE_MATERIAL_INVALID": 0, + "SCENE_SURFACE_MATERIAL_GRASS": 1, + "SCENE_SURFACE_MATERIAL_DIRT": 2, + "SCENE_SURFACE_MATERIAL_ROCK": 3, + "SCENE_SURFACE_MATERIAL_SNOW": 4, + "SCENE_SURFACE_MATERIAL_WATER": 5, + "SCENE_SURFACE_MATERIAL_TILE": 6, + "SCENE_SURFACE_MATERIAL_SAND": 7, + } +) + +func (x SceneSurfaceMaterial) Enum() *SceneSurfaceMaterial { + p := new(SceneSurfaceMaterial) + *p = x + return p +} + +func (x SceneSurfaceMaterial) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SceneSurfaceMaterial) Descriptor() protoreflect.EnumDescriptor { + return file_SceneSurfaceMaterial_proto_enumTypes[0].Descriptor() +} + +func (SceneSurfaceMaterial) Type() protoreflect.EnumType { + return &file_SceneSurfaceMaterial_proto_enumTypes[0] +} + +func (x SceneSurfaceMaterial) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SceneSurfaceMaterial.Descriptor instead. +func (SceneSurfaceMaterial) EnumDescriptor() ([]byte, []int) { + return file_SceneSurfaceMaterial_proto_rawDescGZIP(), []int{0} +} + +var File_SceneSurfaceMaterial_proto protoreflect.FileDescriptor + +var file_SceneSurfaceMaterial_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xa3, 0x02, 0x0a, + 0x14, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, + 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x43, 0x45, + 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, + 0x49, 0x41, 0x4c, 0x5f, 0x47, 0x52, 0x41, 0x53, 0x53, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, + 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x41, 0x54, + 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x49, 0x52, 0x54, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, + 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x41, + 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x52, 0x4f, 0x43, 0x4b, 0x10, 0x03, 0x12, 0x1f, 0x0a, + 0x1b, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x4d, + 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x4e, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x20, + 0x0a, 0x1c, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, 0x45, 0x5f, + 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x57, 0x41, 0x54, 0x45, 0x52, 0x10, 0x05, + 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, 0x43, + 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x54, 0x49, 0x4c, 0x45, 0x10, + 0x06, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, 0x45, 0x4e, 0x45, 0x5f, 0x53, 0x55, 0x52, 0x46, 0x41, + 0x43, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x41, 0x4e, 0x44, + 0x10, 0x07, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneSurfaceMaterial_proto_rawDescOnce sync.Once + file_SceneSurfaceMaterial_proto_rawDescData = file_SceneSurfaceMaterial_proto_rawDesc +) + +func file_SceneSurfaceMaterial_proto_rawDescGZIP() []byte { + file_SceneSurfaceMaterial_proto_rawDescOnce.Do(func() { + file_SceneSurfaceMaterial_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneSurfaceMaterial_proto_rawDescData) + }) + return file_SceneSurfaceMaterial_proto_rawDescData +} + +var file_SceneSurfaceMaterial_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_SceneSurfaceMaterial_proto_goTypes = []interface{}{ + (SceneSurfaceMaterial)(0), // 0: SceneSurfaceMaterial +} +var file_SceneSurfaceMaterial_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneSurfaceMaterial_proto_init() } +func file_SceneSurfaceMaterial_proto_init() { + if File_SceneSurfaceMaterial_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneSurfaceMaterial_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneSurfaceMaterial_proto_goTypes, + DependencyIndexes: file_SceneSurfaceMaterial_proto_depIdxs, + EnumInfos: file_SceneSurfaceMaterial_proto_enumTypes, + }.Build() + File_SceneSurfaceMaterial_proto = out.File + file_SceneSurfaceMaterial_proto_rawDesc = nil + file_SceneSurfaceMaterial_proto_goTypes = nil + file_SceneSurfaceMaterial_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneSurfaceMaterial.proto b/gate-hk4e-api/proto/SceneSurfaceMaterial.proto new file mode 100644 index 00000000..5359ca27 --- /dev/null +++ b/gate-hk4e-api/proto/SceneSurfaceMaterial.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum SceneSurfaceMaterial { + SCENE_SURFACE_MATERIAL_INVALID = 0; + SCENE_SURFACE_MATERIAL_GRASS = 1; + SCENE_SURFACE_MATERIAL_DIRT = 2; + SCENE_SURFACE_MATERIAL_ROCK = 3; + SCENE_SURFACE_MATERIAL_SNOW = 4; + SCENE_SURFACE_MATERIAL_WATER = 5; + SCENE_SURFACE_MATERIAL_TILE = 6; + SCENE_SURFACE_MATERIAL_SAND = 7; +} diff --git a/gate-hk4e-api/proto/SceneTeamAvatar.pb.go b/gate-hk4e-api/proto/SceneTeamAvatar.pb.go new file mode 100644 index 00000000..1b165ed2 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTeamAvatar.pb.go @@ -0,0 +1,351 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneTeamAvatar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneTeamAvatar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,5,opt,name=avatar_ability_info,json=avatarAbilityInfo,proto3" json:"avatar_ability_info,omitempty"` + AvatarInfo *AvatarInfo `protobuf:"bytes,8,opt,name=avatar_info,json=avatarInfo,proto3" json:"avatar_info,omitempty"` + IsOnScene bool `protobuf:"varint,152,opt,name=is_on_scene,json=isOnScene,proto3" json:"is_on_scene,omitempty"` + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,15,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + SceneId uint32 `protobuf:"varint,1,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + WeaponEntityId uint32 `protobuf:"varint,7,opt,name=weapon_entity_id,json=weaponEntityId,proto3" json:"weapon_entity_id,omitempty"` + SceneAvatarInfo *SceneAvatarInfo `protobuf:"bytes,3,opt,name=scene_avatar_info,json=sceneAvatarInfo,proto3" json:"scene_avatar_info,omitempty"` + WeaponGuid uint64 `protobuf:"varint,4,opt,name=weapon_guid,json=weaponGuid,proto3" json:"weapon_guid,omitempty"` + WeaponAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,11,opt,name=weapon_ability_info,json=weaponAbilityInfo,proto3" json:"weapon_ability_info,omitempty"` + SceneEntityInfo *SceneEntityInfo `protobuf:"bytes,12,opt,name=scene_entity_info,json=sceneEntityInfo,proto3" json:"scene_entity_info,omitempty"` + PlayerUid uint32 `protobuf:"varint,14,opt,name=player_uid,json=playerUid,proto3" json:"player_uid,omitempty"` + IsReconnect bool `protobuf:"varint,6,opt,name=is_reconnect,json=isReconnect,proto3" json:"is_reconnect,omitempty"` + AbilityControlBlock *AbilityControlBlock `protobuf:"bytes,2,opt,name=ability_control_block,json=abilityControlBlock,proto3" json:"ability_control_block,omitempty"` + IsPlayerCurAvatar bool `protobuf:"varint,13,opt,name=is_player_cur_avatar,json=isPlayerCurAvatar,proto3" json:"is_player_cur_avatar,omitempty"` + ServerBuffList []*ServerBuff `protobuf:"bytes,10,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` +} + +func (x *SceneTeamAvatar) Reset() { + *x = SceneTeamAvatar{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneTeamAvatar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneTeamAvatar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneTeamAvatar) ProtoMessage() {} + +func (x *SceneTeamAvatar) ProtoReflect() protoreflect.Message { + mi := &file_SceneTeamAvatar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneTeamAvatar.ProtoReflect.Descriptor instead. +func (*SceneTeamAvatar) Descriptor() ([]byte, []int) { + return file_SceneTeamAvatar_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneTeamAvatar) GetAvatarAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AvatarAbilityInfo + } + return nil +} + +func (x *SceneTeamAvatar) GetAvatarInfo() *AvatarInfo { + if x != nil { + return x.AvatarInfo + } + return nil +} + +func (x *SceneTeamAvatar) GetIsOnScene() bool { + if x != nil { + return x.IsOnScene + } + return false +} + +func (x *SceneTeamAvatar) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneTeamAvatar) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *SceneTeamAvatar) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SceneTeamAvatar) GetWeaponEntityId() uint32 { + if x != nil { + return x.WeaponEntityId + } + return 0 +} + +func (x *SceneTeamAvatar) GetSceneAvatarInfo() *SceneAvatarInfo { + if x != nil { + return x.SceneAvatarInfo + } + return nil +} + +func (x *SceneTeamAvatar) GetWeaponGuid() uint64 { + if x != nil { + return x.WeaponGuid + } + return 0 +} + +func (x *SceneTeamAvatar) GetWeaponAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.WeaponAbilityInfo + } + return nil +} + +func (x *SceneTeamAvatar) GetSceneEntityInfo() *SceneEntityInfo { + if x != nil { + return x.SceneEntityInfo + } + return nil +} + +func (x *SceneTeamAvatar) GetPlayerUid() uint32 { + if x != nil { + return x.PlayerUid + } + return 0 +} + +func (x *SceneTeamAvatar) GetIsReconnect() bool { + if x != nil { + return x.IsReconnect + } + return false +} + +func (x *SceneTeamAvatar) GetAbilityControlBlock() *AbilityControlBlock { + if x != nil { + return x.AbilityControlBlock + } + return nil +} + +func (x *SceneTeamAvatar) GetIsPlayerCurAvatar() bool { + if x != nil { + return x.IsPlayerCurAvatar + } + return false +} + +func (x *SceneTeamAvatar) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +var File_SceneTeamAvatar_proto protoreflect.FileDescriptor + +var file_SceneTeamAvatar_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x82, 0x06, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x12, 0x45, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x0b, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, + 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x98, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x69, 0x73, 0x4f, 0x6e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x77, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x3c, 0x0a, + 0x11, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x73, 0x63, 0x65, 0x6e, + 0x65, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x77, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0a, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x12, 0x45, 0x0a, 0x13, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x11, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x11, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, 0x15, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x13, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2f, 0x0a, + 0x14, 0x69, 0x73, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x72, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x35, + 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x42, 0x75, 0x66, 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, + 0x66, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneTeamAvatar_proto_rawDescOnce sync.Once + file_SceneTeamAvatar_proto_rawDescData = file_SceneTeamAvatar_proto_rawDesc +) + +func file_SceneTeamAvatar_proto_rawDescGZIP() []byte { + file_SceneTeamAvatar_proto_rawDescOnce.Do(func() { + file_SceneTeamAvatar_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneTeamAvatar_proto_rawDescData) + }) + return file_SceneTeamAvatar_proto_rawDescData +} + +var file_SceneTeamAvatar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneTeamAvatar_proto_goTypes = []interface{}{ + (*SceneTeamAvatar)(nil), // 0: SceneTeamAvatar + (*AbilitySyncStateInfo)(nil), // 1: AbilitySyncStateInfo + (*AvatarInfo)(nil), // 2: AvatarInfo + (*SceneAvatarInfo)(nil), // 3: SceneAvatarInfo + (*SceneEntityInfo)(nil), // 4: SceneEntityInfo + (*AbilityControlBlock)(nil), // 5: AbilityControlBlock + (*ServerBuff)(nil), // 6: ServerBuff +} +var file_SceneTeamAvatar_proto_depIdxs = []int32{ + 1, // 0: SceneTeamAvatar.avatar_ability_info:type_name -> AbilitySyncStateInfo + 2, // 1: SceneTeamAvatar.avatar_info:type_name -> AvatarInfo + 3, // 2: SceneTeamAvatar.scene_avatar_info:type_name -> SceneAvatarInfo + 1, // 3: SceneTeamAvatar.weapon_ability_info:type_name -> AbilitySyncStateInfo + 4, // 4: SceneTeamAvatar.scene_entity_info:type_name -> SceneEntityInfo + 5, // 5: SceneTeamAvatar.ability_control_block:type_name -> AbilityControlBlock + 6, // 6: SceneTeamAvatar.server_buff_list:type_name -> ServerBuff + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_SceneTeamAvatar_proto_init() } +func file_SceneTeamAvatar_proto_init() { + if File_SceneTeamAvatar_proto != nil { + return + } + file_AbilityControlBlock_proto_init() + file_AbilitySyncStateInfo_proto_init() + file_AvatarInfo_proto_init() + file_SceneAvatarInfo_proto_init() + file_SceneEntityInfo_proto_init() + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneTeamAvatar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneTeamAvatar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneTeamAvatar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneTeamAvatar_proto_goTypes, + DependencyIndexes: file_SceneTeamAvatar_proto_depIdxs, + MessageInfos: file_SceneTeamAvatar_proto_msgTypes, + }.Build() + File_SceneTeamAvatar_proto = out.File + file_SceneTeamAvatar_proto_rawDesc = nil + file_SceneTeamAvatar_proto_goTypes = nil + file_SceneTeamAvatar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneTeamAvatar.proto b/gate-hk4e-api/proto/SceneTeamAvatar.proto new file mode 100644 index 00000000..c986ed1d --- /dev/null +++ b/gate-hk4e-api/proto/SceneTeamAvatar.proto @@ -0,0 +1,45 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityControlBlock.proto"; +import "AbilitySyncStateInfo.proto"; +import "AvatarInfo.proto"; +import "SceneAvatarInfo.proto"; +import "SceneEntityInfo.proto"; +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +message SceneTeamAvatar { + AbilitySyncStateInfo avatar_ability_info = 5; + AvatarInfo avatar_info = 8; + bool is_on_scene = 152; + uint32 entity_id = 9; + uint64 avatar_guid = 15; + uint32 scene_id = 1; + uint32 weapon_entity_id = 7; + SceneAvatarInfo scene_avatar_info = 3; + uint64 weapon_guid = 4; + AbilitySyncStateInfo weapon_ability_info = 11; + SceneEntityInfo scene_entity_info = 12; + uint32 player_uid = 14; + bool is_reconnect = 6; + AbilityControlBlock ability_control_block = 2; + bool is_player_cur_avatar = 13; + repeated ServerBuff server_buff_list = 10; +} diff --git a/gate-hk4e-api/proto/SceneTeamUpdateNotify.pb.go b/gate-hk4e-api/proto/SceneTeamUpdateNotify.pb.go new file mode 100644 index 00000000..68dc35e6 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTeamUpdateNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneTeamUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1775 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneTeamUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTeamAvatarList []*SceneTeamAvatar `protobuf:"bytes,11,rep,name=scene_team_avatar_list,json=sceneTeamAvatarList,proto3" json:"scene_team_avatar_list,omitempty"` + IsInMp bool `protobuf:"varint,15,opt,name=is_in_mp,json=isInMp,proto3" json:"is_in_mp,omitempty"` +} + +func (x *SceneTeamUpdateNotify) Reset() { + *x = SceneTeamUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneTeamUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneTeamUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneTeamUpdateNotify) ProtoMessage() {} + +func (x *SceneTeamUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneTeamUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneTeamUpdateNotify.ProtoReflect.Descriptor instead. +func (*SceneTeamUpdateNotify) Descriptor() ([]byte, []int) { + return file_SceneTeamUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneTeamUpdateNotify) GetSceneTeamAvatarList() []*SceneTeamAvatar { + if x != nil { + return x.SceneTeamAvatarList + } + return nil +} + +func (x *SceneTeamUpdateNotify) GetIsInMp() bool { + if x != nil { + return x.IsInMp + } + return false +} + +var File_SceneTeamUpdateNotify_proto protoreflect.FileDescriptor + +var file_SceneTeamUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, + 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, + 0x16, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, + 0x13, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6d, 0x70, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x49, 0x6e, 0x4d, 0x70, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneTeamUpdateNotify_proto_rawDescOnce sync.Once + file_SceneTeamUpdateNotify_proto_rawDescData = file_SceneTeamUpdateNotify_proto_rawDesc +) + +func file_SceneTeamUpdateNotify_proto_rawDescGZIP() []byte { + file_SceneTeamUpdateNotify_proto_rawDescOnce.Do(func() { + file_SceneTeamUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneTeamUpdateNotify_proto_rawDescData) + }) + return file_SceneTeamUpdateNotify_proto_rawDescData +} + +var file_SceneTeamUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneTeamUpdateNotify_proto_goTypes = []interface{}{ + (*SceneTeamUpdateNotify)(nil), // 0: SceneTeamUpdateNotify + (*SceneTeamAvatar)(nil), // 1: SceneTeamAvatar +} +var file_SceneTeamUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: SceneTeamUpdateNotify.scene_team_avatar_list:type_name -> SceneTeamAvatar + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SceneTeamUpdateNotify_proto_init() } +func file_SceneTeamUpdateNotify_proto_init() { + if File_SceneTeamUpdateNotify_proto != nil { + return + } + file_SceneTeamAvatar_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneTeamUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneTeamUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneTeamUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneTeamUpdateNotify_proto_goTypes, + DependencyIndexes: file_SceneTeamUpdateNotify_proto_depIdxs, + MessageInfos: file_SceneTeamUpdateNotify_proto_msgTypes, + }.Build() + File_SceneTeamUpdateNotify_proto = out.File + file_SceneTeamUpdateNotify_proto_rawDesc = nil + file_SceneTeamUpdateNotify_proto_goTypes = nil + file_SceneTeamUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneTeamUpdateNotify.proto b/gate-hk4e-api/proto/SceneTeamUpdateNotify.proto new file mode 100644 index 00000000..21e02e70 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTeamUpdateNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SceneTeamAvatar.proto"; + +option go_package = "./;proto"; + +// CmdId: 1775 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneTeamUpdateNotify { + repeated SceneTeamAvatar scene_team_avatar_list = 11; + bool is_in_mp = 15; +} diff --git a/gate-hk4e-api/proto/SceneTimeNotify.pb.go b/gate-hk4e-api/proto/SceneTimeNotify.pb.go new file mode 100644 index 00000000..74e8f424 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTimeNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 245 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneTime uint64 `protobuf:"varint,14,opt,name=scene_time,json=sceneTime,proto3" json:"scene_time,omitempty"` + IsPaused bool `protobuf:"varint,1,opt,name=is_paused,json=isPaused,proto3" json:"is_paused,omitempty"` + SceneId uint32 `protobuf:"varint,7,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *SceneTimeNotify) Reset() { + *x = SceneTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneTimeNotify) ProtoMessage() {} + +func (x *SceneTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_SceneTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneTimeNotify.ProtoReflect.Descriptor instead. +func (*SceneTimeNotify) Descriptor() ([]byte, []int) { + return file_SceneTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneTimeNotify) GetSceneTime() uint64 { + if x != nil { + return x.SceneTime + } + return 0 +} + +func (x *SceneTimeNotify) GetIsPaused() bool { + if x != nil { + return x.IsPaused + } + return false +} + +func (x *SceneTimeNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_SceneTimeNotify_proto protoreflect.FileDescriptor + +var file_SceneTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, + 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, + 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneTimeNotify_proto_rawDescOnce sync.Once + file_SceneTimeNotify_proto_rawDescData = file_SceneTimeNotify_proto_rawDesc +) + +func file_SceneTimeNotify_proto_rawDescGZIP() []byte { + file_SceneTimeNotify_proto_rawDescOnce.Do(func() { + file_SceneTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneTimeNotify_proto_rawDescData) + }) + return file_SceneTimeNotify_proto_rawDescData +} + +var file_SceneTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneTimeNotify_proto_goTypes = []interface{}{ + (*SceneTimeNotify)(nil), // 0: SceneTimeNotify +} +var file_SceneTimeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneTimeNotify_proto_init() } +func file_SceneTimeNotify_proto_init() { + if File_SceneTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneTimeNotify_proto_goTypes, + DependencyIndexes: file_SceneTimeNotify_proto_depIdxs, + MessageInfos: file_SceneTimeNotify_proto_msgTypes, + }.Build() + File_SceneTimeNotify_proto = out.File + file_SceneTimeNotify_proto_rawDesc = nil + file_SceneTimeNotify_proto_goTypes = nil + file_SceneTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneTimeNotify.proto b/gate-hk4e-api/proto/SceneTimeNotify.proto new file mode 100644 index 00000000..66c60a36 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTimeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 245 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneTimeNotify { + uint64 scene_time = 14; + bool is_paused = 1; + uint32 scene_id = 7; +} diff --git a/gate-hk4e-api/proto/SceneTransToPointReq.pb.go b/gate-hk4e-api/proto/SceneTransToPointReq.pb.go new file mode 100644 index 00000000..b239f248 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTransToPointReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneTransToPointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 239 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneTransToPointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,13,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PointId uint32 `protobuf:"varint,1,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *SceneTransToPointReq) Reset() { + *x = SceneTransToPointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneTransToPointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneTransToPointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneTransToPointReq) ProtoMessage() {} + +func (x *SceneTransToPointReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneTransToPointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneTransToPointReq.ProtoReflect.Descriptor instead. +func (*SceneTransToPointReq) Descriptor() ([]byte, []int) { + return file_SceneTransToPointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneTransToPointReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SceneTransToPointReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_SceneTransToPointReq_proto protoreflect.FileDescriptor + +var file_SceneTransToPointReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x6f, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x14, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x6f, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneTransToPointReq_proto_rawDescOnce sync.Once + file_SceneTransToPointReq_proto_rawDescData = file_SceneTransToPointReq_proto_rawDesc +) + +func file_SceneTransToPointReq_proto_rawDescGZIP() []byte { + file_SceneTransToPointReq_proto_rawDescOnce.Do(func() { + file_SceneTransToPointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneTransToPointReq_proto_rawDescData) + }) + return file_SceneTransToPointReq_proto_rawDescData +} + +var file_SceneTransToPointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneTransToPointReq_proto_goTypes = []interface{}{ + (*SceneTransToPointReq)(nil), // 0: SceneTransToPointReq +} +var file_SceneTransToPointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneTransToPointReq_proto_init() } +func file_SceneTransToPointReq_proto_init() { + if File_SceneTransToPointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneTransToPointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneTransToPointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneTransToPointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneTransToPointReq_proto_goTypes, + DependencyIndexes: file_SceneTransToPointReq_proto_depIdxs, + MessageInfos: file_SceneTransToPointReq_proto_msgTypes, + }.Build() + File_SceneTransToPointReq_proto = out.File + file_SceneTransToPointReq_proto_rawDesc = nil + file_SceneTransToPointReq_proto_goTypes = nil + file_SceneTransToPointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneTransToPointReq.proto b/gate-hk4e-api/proto/SceneTransToPointReq.proto new file mode 100644 index 00000000..178e7a93 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTransToPointReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 239 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneTransToPointReq { + uint32 scene_id = 13; + uint32 point_id = 1; +} diff --git a/gate-hk4e-api/proto/SceneTransToPointRsp.pb.go b/gate-hk4e-api/proto/SceneTransToPointRsp.pb.go new file mode 100644 index 00000000..4662335c --- /dev/null +++ b/gate-hk4e-api/proto/SceneTransToPointRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneTransToPointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 253 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneTransToPointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,14,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + SceneId uint32 `protobuf:"varint,3,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SceneTransToPointRsp) Reset() { + *x = SceneTransToPointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneTransToPointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneTransToPointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneTransToPointRsp) ProtoMessage() {} + +func (x *SceneTransToPointRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneTransToPointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneTransToPointRsp.ProtoReflect.Descriptor instead. +func (*SceneTransToPointRsp) Descriptor() ([]byte, []int) { + return file_SceneTransToPointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneTransToPointRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *SceneTransToPointRsp) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SceneTransToPointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SceneTransToPointRsp_proto protoreflect.FileDescriptor + +var file_SceneTransToPointRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x6f, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x14, + 0x53, 0x63, 0x65, 0x6e, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x6f, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneTransToPointRsp_proto_rawDescOnce sync.Once + file_SceneTransToPointRsp_proto_rawDescData = file_SceneTransToPointRsp_proto_rawDesc +) + +func file_SceneTransToPointRsp_proto_rawDescGZIP() []byte { + file_SceneTransToPointRsp_proto_rawDescOnce.Do(func() { + file_SceneTransToPointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneTransToPointRsp_proto_rawDescData) + }) + return file_SceneTransToPointRsp_proto_rawDescData +} + +var file_SceneTransToPointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneTransToPointRsp_proto_goTypes = []interface{}{ + (*SceneTransToPointRsp)(nil), // 0: SceneTransToPointRsp +} +var file_SceneTransToPointRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneTransToPointRsp_proto_init() } +func file_SceneTransToPointRsp_proto_init() { + if File_SceneTransToPointRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneTransToPointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneTransToPointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneTransToPointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneTransToPointRsp_proto_goTypes, + DependencyIndexes: file_SceneTransToPointRsp_proto_depIdxs, + MessageInfos: file_SceneTransToPointRsp_proto_msgTypes, + }.Build() + File_SceneTransToPointRsp_proto = out.File + file_SceneTransToPointRsp_proto_rawDesc = nil + file_SceneTransToPointRsp_proto_goTypes = nil + file_SceneTransToPointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneTransToPointRsp.proto b/gate-hk4e-api/proto/SceneTransToPointRsp.proto new file mode 100644 index 00000000..b46a4a75 --- /dev/null +++ b/gate-hk4e-api/proto/SceneTransToPointRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 253 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneTransToPointRsp { + uint32 point_id = 14; + uint32 scene_id = 3; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/SceneWeaponInfo.pb.go b/gate-hk4e-api/proto/SceneWeaponInfo.pb.go new file mode 100644 index 00000000..ab9685c2 --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeaponInfo.pb.go @@ -0,0 +1,259 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneWeaponInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SceneWeaponInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + GadgetId uint32 `protobuf:"varint,2,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + ItemId uint32 `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Guid uint64 `protobuf:"varint,4,opt,name=guid,proto3" json:"guid,omitempty"` + Level uint32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` + PromoteLevel uint32 `protobuf:"varint,6,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` + AbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,7,opt,name=ability_info,json=abilityInfo,proto3" json:"ability_info,omitempty"` + AffixMap map[uint32]uint32 `protobuf:"bytes,8,rep,name=affix_map,json=affixMap,proto3" json:"affix_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + RendererChangedInfo *EntityRendererChangedInfo `protobuf:"bytes,9,opt,name=renderer_changed_info,json=rendererChangedInfo,proto3" json:"renderer_changed_info,omitempty"` +} + +func (x *SceneWeaponInfo) Reset() { + *x = SceneWeaponInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneWeaponInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneWeaponInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneWeaponInfo) ProtoMessage() {} + +func (x *SceneWeaponInfo) ProtoReflect() protoreflect.Message { + mi := &file_SceneWeaponInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneWeaponInfo.ProtoReflect.Descriptor instead. +func (*SceneWeaponInfo) Descriptor() ([]byte, []int) { + return file_SceneWeaponInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneWeaponInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SceneWeaponInfo) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *SceneWeaponInfo) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *SceneWeaponInfo) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *SceneWeaponInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *SceneWeaponInfo) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +func (x *SceneWeaponInfo) GetAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.AbilityInfo + } + return nil +} + +func (x *SceneWeaponInfo) GetAffixMap() map[uint32]uint32 { + if x != nil { + return x.AffixMap + } + return nil +} + +func (x *SceneWeaponInfo) GetRendererChangedInfo() *EntityRendererChangedInfo { + if x != nil { + return x.RendererChangedInfo + } + return nil +} + +var File_SceneWeaponInfo_proto protoreflect.FileDescriptor + +var file_SceneWeaponInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x03, 0x0a, 0x0f, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, + 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x38, 0x0a, 0x0c, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6d, 0x61, + 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4d, 0x61, + 0x70, 0x12, 0x4e, 0x0a, 0x15, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x65, + 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x72, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SceneWeaponInfo_proto_rawDescOnce sync.Once + file_SceneWeaponInfo_proto_rawDescData = file_SceneWeaponInfo_proto_rawDesc +) + +func file_SceneWeaponInfo_proto_rawDescGZIP() []byte { + file_SceneWeaponInfo_proto_rawDescOnce.Do(func() { + file_SceneWeaponInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneWeaponInfo_proto_rawDescData) + }) + return file_SceneWeaponInfo_proto_rawDescData +} + +var file_SceneWeaponInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SceneWeaponInfo_proto_goTypes = []interface{}{ + (*SceneWeaponInfo)(nil), // 0: SceneWeaponInfo + nil, // 1: SceneWeaponInfo.AffixMapEntry + (*AbilitySyncStateInfo)(nil), // 2: AbilitySyncStateInfo + (*EntityRendererChangedInfo)(nil), // 3: EntityRendererChangedInfo +} +var file_SceneWeaponInfo_proto_depIdxs = []int32{ + 2, // 0: SceneWeaponInfo.ability_info:type_name -> AbilitySyncStateInfo + 1, // 1: SceneWeaponInfo.affix_map:type_name -> SceneWeaponInfo.AffixMapEntry + 3, // 2: SceneWeaponInfo.renderer_changed_info:type_name -> EntityRendererChangedInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_SceneWeaponInfo_proto_init() } +func file_SceneWeaponInfo_proto_init() { + if File_SceneWeaponInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + file_EntityRendererChangedInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SceneWeaponInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneWeaponInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneWeaponInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneWeaponInfo_proto_goTypes, + DependencyIndexes: file_SceneWeaponInfo_proto_depIdxs, + MessageInfos: file_SceneWeaponInfo_proto_msgTypes, + }.Build() + File_SceneWeaponInfo_proto = out.File + file_SceneWeaponInfo_proto_rawDesc = nil + file_SceneWeaponInfo_proto_goTypes = nil + file_SceneWeaponInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneWeaponInfo.proto b/gate-hk4e-api/proto/SceneWeaponInfo.proto new file mode 100644 index 00000000..13a7cc1a --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeaponInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; +import "EntityRendererChangedInfo.proto"; + +option go_package = "./;proto"; + +message SceneWeaponInfo { + uint32 entity_id = 1; + uint32 gadget_id = 2; + uint32 item_id = 3; + uint64 guid = 4; + uint32 level = 5; + uint32 promote_level = 6; + AbilitySyncStateInfo ability_info = 7; + map affix_map = 8; + EntityRendererChangedInfo renderer_changed_info = 9; +} diff --git a/gate-hk4e-api/proto/SceneWeatherForcastReq.pb.go b/gate-hk4e-api/proto/SceneWeatherForcastReq.pb.go new file mode 100644 index 00000000..83e4e3ad --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeatherForcastReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneWeatherForcastReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3110 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SceneWeatherForcastReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherAreaId uint32 `protobuf:"varint,15,opt,name=weather_area_id,json=weatherAreaId,proto3" json:"weather_area_id,omitempty"` +} + +func (x *SceneWeatherForcastReq) Reset() { + *x = SceneWeatherForcastReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneWeatherForcastReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneWeatherForcastReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneWeatherForcastReq) ProtoMessage() {} + +func (x *SceneWeatherForcastReq) ProtoReflect() protoreflect.Message { + mi := &file_SceneWeatherForcastReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneWeatherForcastReq.ProtoReflect.Descriptor instead. +func (*SceneWeatherForcastReq) Descriptor() ([]byte, []int) { + return file_SceneWeatherForcastReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneWeatherForcastReq) GetWeatherAreaId() uint32 { + if x != nil { + return x.WeatherAreaId + } + return 0 +} + +var File_SceneWeatherForcastReq_proto protoreflect.FileDescriptor + +var file_SceneWeatherForcastReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, + 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x65, 0x61, 0x74, + 0x68, 0x65, 0x72, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0d, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneWeatherForcastReq_proto_rawDescOnce sync.Once + file_SceneWeatherForcastReq_proto_rawDescData = file_SceneWeatherForcastReq_proto_rawDesc +) + +func file_SceneWeatherForcastReq_proto_rawDescGZIP() []byte { + file_SceneWeatherForcastReq_proto_rawDescOnce.Do(func() { + file_SceneWeatherForcastReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneWeatherForcastReq_proto_rawDescData) + }) + return file_SceneWeatherForcastReq_proto_rawDescData +} + +var file_SceneWeatherForcastReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneWeatherForcastReq_proto_goTypes = []interface{}{ + (*SceneWeatherForcastReq)(nil), // 0: SceneWeatherForcastReq +} +var file_SceneWeatherForcastReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneWeatherForcastReq_proto_init() } +func file_SceneWeatherForcastReq_proto_init() { + if File_SceneWeatherForcastReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneWeatherForcastReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneWeatherForcastReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneWeatherForcastReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneWeatherForcastReq_proto_goTypes, + DependencyIndexes: file_SceneWeatherForcastReq_proto_depIdxs, + MessageInfos: file_SceneWeatherForcastReq_proto_msgTypes, + }.Build() + File_SceneWeatherForcastReq_proto = out.File + file_SceneWeatherForcastReq_proto_rawDesc = nil + file_SceneWeatherForcastReq_proto_goTypes = nil + file_SceneWeatherForcastReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneWeatherForcastReq.proto b/gate-hk4e-api/proto/SceneWeatherForcastReq.proto new file mode 100644 index 00000000..e701973f --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeatherForcastReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3110 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SceneWeatherForcastReq { + uint32 weather_area_id = 15; +} diff --git a/gate-hk4e-api/proto/SceneWeatherForcastRsp.pb.go b/gate-hk4e-api/proto/SceneWeatherForcastRsp.pb.go new file mode 100644 index 00000000..6735013d --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeatherForcastRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SceneWeatherForcastRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3012 +// EnetChannelId: 0 +// EnetIsReliable: true +type SceneWeatherForcastRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextClimateTime uint64 `protobuf:"varint,14,opt,name=next_climate_time,json=nextClimateTime,proto3" json:"next_climate_time,omitempty"` + ForcastClimateList []uint32 `protobuf:"varint,2,rep,packed,name=forcast_climate_list,json=forcastClimateList,proto3" json:"forcast_climate_list,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SceneWeatherForcastRsp) Reset() { + *x = SceneWeatherForcastRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SceneWeatherForcastRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SceneWeatherForcastRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SceneWeatherForcastRsp) ProtoMessage() {} + +func (x *SceneWeatherForcastRsp) ProtoReflect() protoreflect.Message { + mi := &file_SceneWeatherForcastRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SceneWeatherForcastRsp.ProtoReflect.Descriptor instead. +func (*SceneWeatherForcastRsp) Descriptor() ([]byte, []int) { + return file_SceneWeatherForcastRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SceneWeatherForcastRsp) GetNextClimateTime() uint64 { + if x != nil { + return x.NextClimateTime + } + return 0 +} + +func (x *SceneWeatherForcastRsp) GetForcastClimateList() []uint32 { + if x != nil { + return x.ForcastClimateList + } + return nil +} + +func (x *SceneWeatherForcastRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SceneWeatherForcastRsp_proto protoreflect.FileDescriptor + +var file_SceneWeatherForcastRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x63, 0x61, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, + 0x01, 0x0a, 0x16, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x46, + 0x6f, 0x72, 0x63, 0x61, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x43, 0x6c, 0x69, 0x6d, 0x61, 0x74, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x6f, 0x72, 0x63, 0x61, 0x73, 0x74, + 0x5f, 0x63, 0x6c, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x61, 0x73, 0x74, 0x43, 0x6c, 0x69, 0x6d, + 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SceneWeatherForcastRsp_proto_rawDescOnce sync.Once + file_SceneWeatherForcastRsp_proto_rawDescData = file_SceneWeatherForcastRsp_proto_rawDesc +) + +func file_SceneWeatherForcastRsp_proto_rawDescGZIP() []byte { + file_SceneWeatherForcastRsp_proto_rawDescOnce.Do(func() { + file_SceneWeatherForcastRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SceneWeatherForcastRsp_proto_rawDescData) + }) + return file_SceneWeatherForcastRsp_proto_rawDescData +} + +var file_SceneWeatherForcastRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SceneWeatherForcastRsp_proto_goTypes = []interface{}{ + (*SceneWeatherForcastRsp)(nil), // 0: SceneWeatherForcastRsp +} +var file_SceneWeatherForcastRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SceneWeatherForcastRsp_proto_init() } +func file_SceneWeatherForcastRsp_proto_init() { + if File_SceneWeatherForcastRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SceneWeatherForcastRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SceneWeatherForcastRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SceneWeatherForcastRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SceneWeatherForcastRsp_proto_goTypes, + DependencyIndexes: file_SceneWeatherForcastRsp_proto_depIdxs, + MessageInfos: file_SceneWeatherForcastRsp_proto_msgTypes, + }.Build() + File_SceneWeatherForcastRsp_proto = out.File + file_SceneWeatherForcastRsp_proto_rawDesc = nil + file_SceneWeatherForcastRsp_proto_goTypes = nil + file_SceneWeatherForcastRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SceneWeatherForcastRsp.proto b/gate-hk4e-api/proto/SceneWeatherForcastRsp.proto new file mode 100644 index 00000000..bd26b533 --- /dev/null +++ b/gate-hk4e-api/proto/SceneWeatherForcastRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3012 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneWeatherForcastRsp { + uint64 next_climate_time = 14; + repeated uint32 forcast_climate_list = 2; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/ScoreChallengeInfo.pb.go b/gate-hk4e-api/proto/ScoreChallengeInfo.pb.go new file mode 100644 index 00000000..ce4af3a1 --- /dev/null +++ b/gate-hk4e-api/proto/ScoreChallengeInfo.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScoreChallengeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScoreChallengeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LJCOLDIKHNE uint32 `protobuf:"varint,13,opt,name=Unk2700_LJCOLDIKHNE,json=Unk2700LJCOLDIKHNE,proto3" json:"Unk2700_LJCOLDIKHNE,omitempty"` + MaxScore uint32 `protobuf:"varint,7,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` +} + +func (x *ScoreChallengeInfo) Reset() { + *x = ScoreChallengeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScoreChallengeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScoreChallengeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScoreChallengeInfo) ProtoMessage() {} + +func (x *ScoreChallengeInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScoreChallengeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScoreChallengeInfo.ProtoReflect.Descriptor instead. +func (*ScoreChallengeInfo) Descriptor() ([]byte, []int) { + return file_ScoreChallengeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScoreChallengeInfo) GetUnk2700_LJCOLDIKHNE() uint32 { + if x != nil { + return x.Unk2700_LJCOLDIKHNE + } + return 0 +} + +func (x *ScoreChallengeInfo) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +var File_ScoreChallengeInfo_proto protoreflect.FileDescriptor + +var file_ScoreChallengeInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x12, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4a, 0x43, 0x4f, + 0x4c, 0x44, 0x49, 0x4b, 0x48, 0x4e, 0x45, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4a, 0x43, 0x4f, 0x4c, 0x44, 0x49, 0x4b, 0x48, 0x4e, + 0x45, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ScoreChallengeInfo_proto_rawDescOnce sync.Once + file_ScoreChallengeInfo_proto_rawDescData = file_ScoreChallengeInfo_proto_rawDesc +) + +func file_ScoreChallengeInfo_proto_rawDescGZIP() []byte { + file_ScoreChallengeInfo_proto_rawDescOnce.Do(func() { + file_ScoreChallengeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScoreChallengeInfo_proto_rawDescData) + }) + return file_ScoreChallengeInfo_proto_rawDescData +} + +var file_ScoreChallengeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScoreChallengeInfo_proto_goTypes = []interface{}{ + (*ScoreChallengeInfo)(nil), // 0: ScoreChallengeInfo +} +var file_ScoreChallengeInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScoreChallengeInfo_proto_init() } +func file_ScoreChallengeInfo_proto_init() { + if File_ScoreChallengeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScoreChallengeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScoreChallengeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScoreChallengeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScoreChallengeInfo_proto_goTypes, + DependencyIndexes: file_ScoreChallengeInfo_proto_depIdxs, + MessageInfos: file_ScoreChallengeInfo_proto_msgTypes, + }.Build() + File_ScoreChallengeInfo_proto = out.File + file_ScoreChallengeInfo_proto_rawDesc = nil + file_ScoreChallengeInfo_proto_goTypes = nil + file_ScoreChallengeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScoreChallengeInfo.proto b/gate-hk4e-api/proto/ScoreChallengeInfo.proto new file mode 100644 index 00000000..9cbdc89f --- /dev/null +++ b/gate-hk4e-api/proto/ScoreChallengeInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ScoreChallengeInfo { + uint32 Unk2700_LJCOLDIKHNE = 13; + uint32 max_score = 7; +} diff --git a/gate-hk4e-api/proto/ScreenInfo.pb.go b/gate-hk4e-api/proto/ScreenInfo.pb.go new file mode 100644 index 00000000..c86e363f --- /dev/null +++ b/gate-hk4e-api/proto/ScreenInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ScreenInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ScreenInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LiveId uint32 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"` + ProjectorEntityId uint32 `protobuf:"varint,2,opt,name=projector_entity_id,json=projectorEntityId,proto3" json:"projector_entity_id,omitempty"` +} + +func (x *ScreenInfo) Reset() { + *x = ScreenInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ScreenInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScreenInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScreenInfo) ProtoMessage() {} + +func (x *ScreenInfo) ProtoReflect() protoreflect.Message { + mi := &file_ScreenInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScreenInfo.ProtoReflect.Descriptor instead. +func (*ScreenInfo) Descriptor() ([]byte, []int) { + return file_ScreenInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ScreenInfo) GetLiveId() uint32 { + if x != nil { + return x.LiveId + } + return 0 +} + +func (x *ScreenInfo) GetProjectorEntityId() uint32 { + if x != nil { + return x.ProjectorEntityId + } + return 0 +} + +var File_ScreenInfo_proto protoreflect.FileDescriptor + +var file_ScreenInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x0a, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ScreenInfo_proto_rawDescOnce sync.Once + file_ScreenInfo_proto_rawDescData = file_ScreenInfo_proto_rawDesc +) + +func file_ScreenInfo_proto_rawDescGZIP() []byte { + file_ScreenInfo_proto_rawDescOnce.Do(func() { + file_ScreenInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ScreenInfo_proto_rawDescData) + }) + return file_ScreenInfo_proto_rawDescData +} + +var file_ScreenInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ScreenInfo_proto_goTypes = []interface{}{ + (*ScreenInfo)(nil), // 0: ScreenInfo +} +var file_ScreenInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ScreenInfo_proto_init() } +func file_ScreenInfo_proto_init() { + if File_ScreenInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ScreenInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScreenInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ScreenInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ScreenInfo_proto_goTypes, + DependencyIndexes: file_ScreenInfo_proto_depIdxs, + MessageInfos: file_ScreenInfo_proto_msgTypes, + }.Build() + File_ScreenInfo_proto = out.File + file_ScreenInfo_proto_rawDesc = nil + file_ScreenInfo_proto_goTypes = nil + file_ScreenInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ScreenInfo.proto b/gate-hk4e-api/proto/ScreenInfo.proto new file mode 100644 index 00000000..ce154bed --- /dev/null +++ b/gate-hk4e-api/proto/ScreenInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ScreenInfo { + uint32 live_id = 1; + uint32 projector_entity_id = 2; +} diff --git a/gate-hk4e-api/proto/SeaLampActivityDetailInfo.pb.go b/gate-hk4e-api/proto/SeaLampActivityDetailInfo.pb.go new file mode 100644 index 00000000..6b92eb41 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampActivityDetailInfo.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SeaLampActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseId uint32 `protobuf:"varint,14,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"` + TakenPhaseRewardList []uint32 `protobuf:"varint,1,rep,packed,name=taken_phase_reward_list,json=takenPhaseRewardList,proto3" json:"taken_phase_reward_list,omitempty"` + TakenContributionRewardList []uint32 `protobuf:"varint,7,rep,packed,name=taken_contribution_reward_list,json=takenContributionRewardList,proto3" json:"taken_contribution_reward_list,omitempty"` + Progress uint32 `protobuf:"varint,8,opt,name=progress,proto3" json:"progress,omitempty"` + Contribution uint32 `protobuf:"varint,15,opt,name=contribution,proto3" json:"contribution,omitempty"` + Factor uint32 `protobuf:"varint,13,opt,name=factor,proto3" json:"factor,omitempty"` + Days uint32 `protobuf:"varint,4,opt,name=days,proto3" json:"days,omitempty"` +} + +func (x *SeaLampActivityDetailInfo) Reset() { + *x = SeaLampActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampActivityDetailInfo) ProtoMessage() {} + +func (x *SeaLampActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*SeaLampActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_SeaLampActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampActivityDetailInfo) GetPhaseId() uint32 { + if x != nil { + return x.PhaseId + } + return 0 +} + +func (x *SeaLampActivityDetailInfo) GetTakenPhaseRewardList() []uint32 { + if x != nil { + return x.TakenPhaseRewardList + } + return nil +} + +func (x *SeaLampActivityDetailInfo) GetTakenContributionRewardList() []uint32 { + if x != nil { + return x.TakenContributionRewardList + } + return nil +} + +func (x *SeaLampActivityDetailInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *SeaLampActivityDetailInfo) GetContribution() uint32 { + if x != nil { + return x.Contribution + } + return 0 +} + +func (x *SeaLampActivityDetailInfo) GetFactor() uint32 { + if x != nil { + return x.Factor + } + return 0 +} + +func (x *SeaLampActivityDetailInfo) GetDays() uint32 { + if x != nil { + return x.Days + } + return 0 +} + +var File_SeaLampActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_SeaLampActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9e, 0x02, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x70, 0x68, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, + 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x61, 0x6b, + 0x65, 0x6e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x1b, 0x74, 0x61, 0x6b, 0x65, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x64, 0x61, + 0x79, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampActivityDetailInfo_proto_rawDescOnce sync.Once + file_SeaLampActivityDetailInfo_proto_rawDescData = file_SeaLampActivityDetailInfo_proto_rawDesc +) + +func file_SeaLampActivityDetailInfo_proto_rawDescGZIP() []byte { + file_SeaLampActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_SeaLampActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampActivityDetailInfo_proto_rawDescData) + }) + return file_SeaLampActivityDetailInfo_proto_rawDescData +} + +var file_SeaLampActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampActivityDetailInfo_proto_goTypes = []interface{}{ + (*SeaLampActivityDetailInfo)(nil), // 0: SeaLampActivityDetailInfo +} +var file_SeaLampActivityDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampActivityDetailInfo_proto_init() } +func file_SeaLampActivityDetailInfo_proto_init() { + if File_SeaLampActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_SeaLampActivityDetailInfo_proto_depIdxs, + MessageInfos: file_SeaLampActivityDetailInfo_proto_msgTypes, + }.Build() + File_SeaLampActivityDetailInfo_proto = out.File + file_SeaLampActivityDetailInfo_proto_rawDesc = nil + file_SeaLampActivityDetailInfo_proto_goTypes = nil + file_SeaLampActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampActivityDetailInfo.proto b/gate-hk4e-api/proto/SeaLampActivityDetailInfo.proto new file mode 100644 index 00000000..f2b8ad73 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampActivityDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SeaLampActivityDetailInfo { + uint32 phase_id = 14; + repeated uint32 taken_phase_reward_list = 1; + repeated uint32 taken_contribution_reward_list = 7; + uint32 progress = 8; + uint32 contribution = 15; + uint32 factor = 13; + uint32 days = 4; +} diff --git a/gate-hk4e-api/proto/SeaLampActivityInfo.pb.go b/gate-hk4e-api/proto/SeaLampActivityInfo.pb.go new file mode 100644 index 00000000..3fb13bac --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampActivityInfo.pb.go @@ -0,0 +1,251 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampActivityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SeaLampActivityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsMechanicusOpen bool `protobuf:"varint,14,opt,name=is_mechanicus_open,json=isMechanicusOpen,proto3" json:"is_mechanicus_open,omitempty"` + DayIndex uint32 `protobuf:"varint,1,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"` + SectionInfoList []*SeaLampSectionInfo `protobuf:"bytes,6,rep,name=section_info_list,json=sectionInfoList,proto3" json:"section_info_list,omitempty"` + Popularity uint32 `protobuf:"varint,10,opt,name=popularity,proto3" json:"popularity,omitempty"` + SeaLampCoin uint32 `protobuf:"varint,15,opt,name=sea_lamp_coin,json=seaLampCoin,proto3" json:"sea_lamp_coin,omitempty"` + FirstDayStartTime uint32 `protobuf:"varint,11,opt,name=first_day_start_time,json=firstDayStartTime,proto3" json:"first_day_start_time,omitempty"` + MechanicusId uint32 `protobuf:"varint,9,opt,name=mechanicus_id,json=mechanicusId,proto3" json:"mechanicus_id,omitempty"` + IsMechanicusFeatureClose bool `protobuf:"varint,12,opt,name=is_mechanicus_feature_close,json=isMechanicusFeatureClose,proto3" json:"is_mechanicus_feature_close,omitempty"` + IsContentClosed bool `protobuf:"varint,5,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` +} + +func (x *SeaLampActivityInfo) Reset() { + *x = SeaLampActivityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampActivityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampActivityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampActivityInfo) ProtoMessage() {} + +func (x *SeaLampActivityInfo) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampActivityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampActivityInfo.ProtoReflect.Descriptor instead. +func (*SeaLampActivityInfo) Descriptor() ([]byte, []int) { + return file_SeaLampActivityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampActivityInfo) GetIsMechanicusOpen() bool { + if x != nil { + return x.IsMechanicusOpen + } + return false +} + +func (x *SeaLampActivityInfo) GetDayIndex() uint32 { + if x != nil { + return x.DayIndex + } + return 0 +} + +func (x *SeaLampActivityInfo) GetSectionInfoList() []*SeaLampSectionInfo { + if x != nil { + return x.SectionInfoList + } + return nil +} + +func (x *SeaLampActivityInfo) GetPopularity() uint32 { + if x != nil { + return x.Popularity + } + return 0 +} + +func (x *SeaLampActivityInfo) GetSeaLampCoin() uint32 { + if x != nil { + return x.SeaLampCoin + } + return 0 +} + +func (x *SeaLampActivityInfo) GetFirstDayStartTime() uint32 { + if x != nil { + return x.FirstDayStartTime + } + return 0 +} + +func (x *SeaLampActivityInfo) GetMechanicusId() uint32 { + if x != nil { + return x.MechanicusId + } + return 0 +} + +func (x *SeaLampActivityInfo) GetIsMechanicusFeatureClose() bool { + if x != nil { + return x.IsMechanicusFeatureClose + } + return false +} + +func (x *SeaLampActivityInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +var File_SeaLampActivityInfo_proto protoreflect.FileDescriptor + +var file_SeaLampActivityInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x53, 0x65, 0x61, + 0x4c, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x03, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, + 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, + 0x12, 0x69, 0x73, 0x5f, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x6f, + 0x70, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x4d, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, + 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x64, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x70, + 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x70, + 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x61, + 0x5f, 0x6c, 0x61, 0x6d, 0x70, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x73, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x2f, 0x0a, + 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x44, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x63, 0x75, + 0x73, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x1b, 0x69, 0x73, 0x5f, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x69, 0x63, 0x75, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x69, 0x73, 0x4d, 0x65, 0x63, 0x68, + 0x61, 0x6e, 0x69, 0x63, 0x75, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SeaLampActivityInfo_proto_rawDescOnce sync.Once + file_SeaLampActivityInfo_proto_rawDescData = file_SeaLampActivityInfo_proto_rawDesc +) + +func file_SeaLampActivityInfo_proto_rawDescGZIP() []byte { + file_SeaLampActivityInfo_proto_rawDescOnce.Do(func() { + file_SeaLampActivityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampActivityInfo_proto_rawDescData) + }) + return file_SeaLampActivityInfo_proto_rawDescData +} + +var file_SeaLampActivityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampActivityInfo_proto_goTypes = []interface{}{ + (*SeaLampActivityInfo)(nil), // 0: SeaLampActivityInfo + (*SeaLampSectionInfo)(nil), // 1: SeaLampSectionInfo +} +var file_SeaLampActivityInfo_proto_depIdxs = []int32{ + 1, // 0: SeaLampActivityInfo.section_info_list:type_name -> SeaLampSectionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SeaLampActivityInfo_proto_init() } +func file_SeaLampActivityInfo_proto_init() { + if File_SeaLampActivityInfo_proto != nil { + return + } + file_SeaLampSectionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SeaLampActivityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampActivityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampActivityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampActivityInfo_proto_goTypes, + DependencyIndexes: file_SeaLampActivityInfo_proto_depIdxs, + MessageInfos: file_SeaLampActivityInfo_proto_msgTypes, + }.Build() + File_SeaLampActivityInfo_proto = out.File + file_SeaLampActivityInfo_proto_rawDesc = nil + file_SeaLampActivityInfo_proto_goTypes = nil + file_SeaLampActivityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampActivityInfo.proto b/gate-hk4e-api/proto/SeaLampActivityInfo.proto new file mode 100644 index 00000000..36f7b26d --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampActivityInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SeaLampSectionInfo.proto"; + +option go_package = "./;proto"; + +message SeaLampActivityInfo { + bool is_mechanicus_open = 14; + uint32 day_index = 1; + repeated SeaLampSectionInfo section_info_list = 6; + uint32 popularity = 10; + uint32 sea_lamp_coin = 15; + uint32 first_day_start_time = 11; + uint32 mechanicus_id = 9; + bool is_mechanicus_feature_close = 12; + bool is_content_closed = 5; +} diff --git a/gate-hk4e-api/proto/SeaLampCoinNotify.pb.go b/gate-hk4e-api/proto/SeaLampCoinNotify.pb.go new file mode 100644 index 00000000..7d00377a --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampCoinNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampCoinNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2114 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampCoinNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeaLampCoin uint32 `protobuf:"varint,8,opt,name=sea_lamp_coin,json=seaLampCoin,proto3" json:"sea_lamp_coin,omitempty"` +} + +func (x *SeaLampCoinNotify) Reset() { + *x = SeaLampCoinNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampCoinNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampCoinNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampCoinNotify) ProtoMessage() {} + +func (x *SeaLampCoinNotify) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampCoinNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampCoinNotify.ProtoReflect.Descriptor instead. +func (*SeaLampCoinNotify) Descriptor() ([]byte, []int) { + return file_SeaLampCoinNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampCoinNotify) GetSeaLampCoin() uint32 { + if x != nil { + return x.SeaLampCoin + } + return 0 +} + +var File_SeaLampCoinNotify_proto protoreflect.FileDescriptor + +var file_SeaLampCoinNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x11, 0x53, 0x65, 0x61, + 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, + 0x0a, 0x0d, 0x73, 0x65, 0x61, 0x5f, 0x6c, 0x61, 0x6d, 0x70, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, + 0x69, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampCoinNotify_proto_rawDescOnce sync.Once + file_SeaLampCoinNotify_proto_rawDescData = file_SeaLampCoinNotify_proto_rawDesc +) + +func file_SeaLampCoinNotify_proto_rawDescGZIP() []byte { + file_SeaLampCoinNotify_proto_rawDescOnce.Do(func() { + file_SeaLampCoinNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampCoinNotify_proto_rawDescData) + }) + return file_SeaLampCoinNotify_proto_rawDescData +} + +var file_SeaLampCoinNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampCoinNotify_proto_goTypes = []interface{}{ + (*SeaLampCoinNotify)(nil), // 0: SeaLampCoinNotify +} +var file_SeaLampCoinNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampCoinNotify_proto_init() } +func file_SeaLampCoinNotify_proto_init() { + if File_SeaLampCoinNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampCoinNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampCoinNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampCoinNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampCoinNotify_proto_goTypes, + DependencyIndexes: file_SeaLampCoinNotify_proto_depIdxs, + MessageInfos: file_SeaLampCoinNotify_proto_msgTypes, + }.Build() + File_SeaLampCoinNotify_proto = out.File + file_SeaLampCoinNotify_proto_rawDesc = nil + file_SeaLampCoinNotify_proto_goTypes = nil + file_SeaLampCoinNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampCoinNotify.proto b/gate-hk4e-api/proto/SeaLampCoinNotify.proto new file mode 100644 index 00000000..9ec35bc8 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampCoinNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2114 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampCoinNotify { + uint32 sea_lamp_coin = 8; +} diff --git a/gate-hk4e-api/proto/SeaLampContributeItemReq.pb.go b/gate-hk4e-api/proto/SeaLampContributeItemReq.pb.go new file mode 100644 index 00000000..416ae15c --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampContributeItemReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampContributeItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2123 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SeaLampContributeItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,8,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,1,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *SeaLampContributeItemReq) Reset() { + *x = SeaLampContributeItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampContributeItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampContributeItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampContributeItemReq) ProtoMessage() {} + +func (x *SeaLampContributeItemReq) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampContributeItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampContributeItemReq.ProtoReflect.Descriptor instead. +func (*SeaLampContributeItemReq) Descriptor() ([]byte, []int) { + return file_SeaLampContributeItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampContributeItemReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SeaLampContributeItemReq) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_SeaLampContributeItemReq_proto protoreflect.FileDescriptor + +var file_SeaLampContributeItemReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x64, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, + 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampContributeItemReq_proto_rawDescOnce sync.Once + file_SeaLampContributeItemReq_proto_rawDescData = file_SeaLampContributeItemReq_proto_rawDesc +) + +func file_SeaLampContributeItemReq_proto_rawDescGZIP() []byte { + file_SeaLampContributeItemReq_proto_rawDescOnce.Do(func() { + file_SeaLampContributeItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampContributeItemReq_proto_rawDescData) + }) + return file_SeaLampContributeItemReq_proto_rawDescData +} + +var file_SeaLampContributeItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampContributeItemReq_proto_goTypes = []interface{}{ + (*SeaLampContributeItemReq)(nil), // 0: SeaLampContributeItemReq + (*ItemParam)(nil), // 1: ItemParam +} +var file_SeaLampContributeItemReq_proto_depIdxs = []int32{ + 1, // 0: SeaLampContributeItemReq.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SeaLampContributeItemReq_proto_init() } +func file_SeaLampContributeItemReq_proto_init() { + if File_SeaLampContributeItemReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_SeaLampContributeItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampContributeItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampContributeItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampContributeItemReq_proto_goTypes, + DependencyIndexes: file_SeaLampContributeItemReq_proto_depIdxs, + MessageInfos: file_SeaLampContributeItemReq_proto_msgTypes, + }.Build() + File_SeaLampContributeItemReq_proto = out.File + file_SeaLampContributeItemReq_proto_rawDesc = nil + file_SeaLampContributeItemReq_proto_goTypes = nil + file_SeaLampContributeItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampContributeItemReq.proto b/gate-hk4e-api/proto/SeaLampContributeItemReq.proto new file mode 100644 index 00000000..47feee68 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampContributeItemReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2123 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SeaLampContributeItemReq { + uint32 activity_id = 8; + repeated ItemParam item_list = 1; +} diff --git a/gate-hk4e-api/proto/SeaLampContributeItemRsp.pb.go b/gate-hk4e-api/proto/SeaLampContributeItemRsp.pb.go new file mode 100644 index 00000000..0d5827a3 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampContributeItemRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampContributeItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2139 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampContributeItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddContribution uint32 `protobuf:"varint,7,opt,name=add_contribution,json=addContribution,proto3" json:"add_contribution,omitempty"` + AddProgress uint32 `protobuf:"varint,1,opt,name=add_progress,json=addProgress,proto3" json:"add_progress,omitempty"` + TotalContribution uint32 `protobuf:"varint,14,opt,name=total_contribution,json=totalContribution,proto3" json:"total_contribution,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SeaLampContributeItemRsp) Reset() { + *x = SeaLampContributeItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampContributeItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampContributeItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampContributeItemRsp) ProtoMessage() {} + +func (x *SeaLampContributeItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampContributeItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampContributeItemRsp.ProtoReflect.Descriptor instead. +func (*SeaLampContributeItemRsp) Descriptor() ([]byte, []int) { + return file_SeaLampContributeItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampContributeItemRsp) GetAddContribution() uint32 { + if x != nil { + return x.AddContribution + } + return 0 +} + +func (x *SeaLampContributeItemRsp) GetAddProgress() uint32 { + if x != nil { + return x.AddProgress + } + return 0 +} + +func (x *SeaLampContributeItemRsp) GetTotalContribution() uint32 { + if x != nil { + return x.TotalContribution + } + return 0 +} + +func (x *SeaLampContributeItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SeaLampContributeItemRsp_proto protoreflect.FileDescriptor + +var file_SeaLampContributeItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb1, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x29, 0x0a, + 0x10, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampContributeItemRsp_proto_rawDescOnce sync.Once + file_SeaLampContributeItemRsp_proto_rawDescData = file_SeaLampContributeItemRsp_proto_rawDesc +) + +func file_SeaLampContributeItemRsp_proto_rawDescGZIP() []byte { + file_SeaLampContributeItemRsp_proto_rawDescOnce.Do(func() { + file_SeaLampContributeItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampContributeItemRsp_proto_rawDescData) + }) + return file_SeaLampContributeItemRsp_proto_rawDescData +} + +var file_SeaLampContributeItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampContributeItemRsp_proto_goTypes = []interface{}{ + (*SeaLampContributeItemRsp)(nil), // 0: SeaLampContributeItemRsp +} +var file_SeaLampContributeItemRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampContributeItemRsp_proto_init() } +func file_SeaLampContributeItemRsp_proto_init() { + if File_SeaLampContributeItemRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampContributeItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampContributeItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampContributeItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampContributeItemRsp_proto_goTypes, + DependencyIndexes: file_SeaLampContributeItemRsp_proto_depIdxs, + MessageInfos: file_SeaLampContributeItemRsp_proto_msgTypes, + }.Build() + File_SeaLampContributeItemRsp_proto = out.File + file_SeaLampContributeItemRsp_proto_rawDesc = nil + file_SeaLampContributeItemRsp_proto_goTypes = nil + file_SeaLampContributeItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampContributeItemRsp.proto b/gate-hk4e-api/proto/SeaLampContributeItemRsp.proto new file mode 100644 index 00000000..4ce5f354 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampContributeItemRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2139 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampContributeItemRsp { + uint32 add_contribution = 7; + uint32 add_progress = 1; + uint32 total_contribution = 14; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampNotify.pb.go b/gate-hk4e-api/proto/SeaLampFlyLampNotify.pb.go new file mode 100644 index 00000000..a214d42d --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampNotify.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampFlyLampNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2105 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampFlyLampNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,11,opt,name=pos,proto3" json:"pos,omitempty"` + ItemNum uint32 `protobuf:"varint,10,opt,name=item_num,json=itemNum,proto3" json:"item_num,omitempty"` + ItemId uint32 `protobuf:"varint,7,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Param int32 `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *SeaLampFlyLampNotify) Reset() { + *x = SeaLampFlyLampNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampFlyLampNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampFlyLampNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampFlyLampNotify) ProtoMessage() {} + +func (x *SeaLampFlyLampNotify) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampFlyLampNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampFlyLampNotify.ProtoReflect.Descriptor instead. +func (*SeaLampFlyLampNotify) Descriptor() ([]byte, []int) { + return file_SeaLampFlyLampNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampFlyLampNotify) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *SeaLampFlyLampNotify) GetItemNum() uint32 { + if x != nil { + return x.ItemNum + } + return 0 +} + +func (x *SeaLampFlyLampNotify) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *SeaLampFlyLampNotify) GetParam() int32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_SeaLampFlyLampNotify_proto protoreflect.FileDescriptor + +var file_SeaLampFlyLampNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x14, 0x53, 0x65, + 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampFlyLampNotify_proto_rawDescOnce sync.Once + file_SeaLampFlyLampNotify_proto_rawDescData = file_SeaLampFlyLampNotify_proto_rawDesc +) + +func file_SeaLampFlyLampNotify_proto_rawDescGZIP() []byte { + file_SeaLampFlyLampNotify_proto_rawDescOnce.Do(func() { + file_SeaLampFlyLampNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampFlyLampNotify_proto_rawDescData) + }) + return file_SeaLampFlyLampNotify_proto_rawDescData +} + +var file_SeaLampFlyLampNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampFlyLampNotify_proto_goTypes = []interface{}{ + (*SeaLampFlyLampNotify)(nil), // 0: SeaLampFlyLampNotify + (*Vector)(nil), // 1: Vector +} +var file_SeaLampFlyLampNotify_proto_depIdxs = []int32{ + 1, // 0: SeaLampFlyLampNotify.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SeaLampFlyLampNotify_proto_init() } +func file_SeaLampFlyLampNotify_proto_init() { + if File_SeaLampFlyLampNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SeaLampFlyLampNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampFlyLampNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampFlyLampNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampFlyLampNotify_proto_goTypes, + DependencyIndexes: file_SeaLampFlyLampNotify_proto_depIdxs, + MessageInfos: file_SeaLampFlyLampNotify_proto_msgTypes, + }.Build() + File_SeaLampFlyLampNotify_proto = out.File + file_SeaLampFlyLampNotify_proto_rawDesc = nil + file_SeaLampFlyLampNotify_proto_goTypes = nil + file_SeaLampFlyLampNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampNotify.proto b/gate-hk4e-api/proto/SeaLampFlyLampNotify.proto new file mode 100644 index 00000000..86caff39 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 2105 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampFlyLampNotify { + Vector pos = 11; + uint32 item_num = 10; + uint32 item_id = 7; + int32 param = 5; +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampReq.pb.go b/gate-hk4e-api/proto/SeaLampFlyLampReq.pb.go new file mode 100644 index 00000000..9647f4aa --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampFlyLampReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2199 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SeaLampFlyLampReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,9,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Param int32 `protobuf:"varint,10,opt,name=param,proto3" json:"param,omitempty"` + Pos *Vector `protobuf:"bytes,7,opt,name=pos,proto3" json:"pos,omitempty"` + ItemNum uint32 `protobuf:"varint,5,opt,name=item_num,json=itemNum,proto3" json:"item_num,omitempty"` +} + +func (x *SeaLampFlyLampReq) Reset() { + *x = SeaLampFlyLampReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampFlyLampReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampFlyLampReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampFlyLampReq) ProtoMessage() {} + +func (x *SeaLampFlyLampReq) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampFlyLampReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampFlyLampReq.ProtoReflect.Descriptor instead. +func (*SeaLampFlyLampReq) Descriptor() ([]byte, []int) { + return file_SeaLampFlyLampReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampFlyLampReq) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *SeaLampFlyLampReq) GetParam() int32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *SeaLampFlyLampReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *SeaLampFlyLampReq) GetItemNum() uint32 { + if x != nil { + return x.ItemNum + } + return 0 +} + +var File_SeaLampFlyLampReq_proto protoreflect.FileDescriptor + +var file_SeaLampFlyLampReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x4c, 0x61, + 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, + 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x19, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, + 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x75, + 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampFlyLampReq_proto_rawDescOnce sync.Once + file_SeaLampFlyLampReq_proto_rawDescData = file_SeaLampFlyLampReq_proto_rawDesc +) + +func file_SeaLampFlyLampReq_proto_rawDescGZIP() []byte { + file_SeaLampFlyLampReq_proto_rawDescOnce.Do(func() { + file_SeaLampFlyLampReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampFlyLampReq_proto_rawDescData) + }) + return file_SeaLampFlyLampReq_proto_rawDescData +} + +var file_SeaLampFlyLampReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampFlyLampReq_proto_goTypes = []interface{}{ + (*SeaLampFlyLampReq)(nil), // 0: SeaLampFlyLampReq + (*Vector)(nil), // 1: Vector +} +var file_SeaLampFlyLampReq_proto_depIdxs = []int32{ + 1, // 0: SeaLampFlyLampReq.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SeaLampFlyLampReq_proto_init() } +func file_SeaLampFlyLampReq_proto_init() { + if File_SeaLampFlyLampReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SeaLampFlyLampReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampFlyLampReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampFlyLampReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampFlyLampReq_proto_goTypes, + DependencyIndexes: file_SeaLampFlyLampReq_proto_depIdxs, + MessageInfos: file_SeaLampFlyLampReq_proto_msgTypes, + }.Build() + File_SeaLampFlyLampReq_proto = out.File + file_SeaLampFlyLampReq_proto_rawDesc = nil + file_SeaLampFlyLampReq_proto_goTypes = nil + file_SeaLampFlyLampReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampReq.proto b/gate-hk4e-api/proto/SeaLampFlyLampReq.proto new file mode 100644 index 00000000..59d7a5a0 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 2199 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SeaLampFlyLampReq { + uint32 item_id = 9; + int32 param = 10; + Vector pos = 7; + uint32 item_num = 5; +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampRsp.pb.go b/gate-hk4e-api/proto/SeaLampFlyLampRsp.pb.go new file mode 100644 index 00000000..3cf13f84 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampFlyLampRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2192 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampFlyLampRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemNum uint32 `protobuf:"varint,9,opt,name=item_num,json=itemNum,proto3" json:"item_num,omitempty"` + ItemId uint32 `protobuf:"varint,15,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SeaLampFlyLampRsp) Reset() { + *x = SeaLampFlyLampRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampFlyLampRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampFlyLampRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampFlyLampRsp) ProtoMessage() {} + +func (x *SeaLampFlyLampRsp) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampFlyLampRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampFlyLampRsp.ProtoReflect.Descriptor instead. +func (*SeaLampFlyLampRsp) Descriptor() ([]byte, []int) { + return file_SeaLampFlyLampRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampFlyLampRsp) GetItemNum() uint32 { + if x != nil { + return x.ItemNum + } + return 0 +} + +func (x *SeaLampFlyLampRsp) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *SeaLampFlyLampRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SeaLampFlyLampRsp_proto protoreflect.FileDescriptor + +var file_SeaLampFlyLampRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x11, 0x53, 0x65, 0x61, + 0x4c, 0x61, 0x6d, 0x70, 0x46, 0x6c, 0x79, 0x4c, 0x61, 0x6d, 0x70, 0x52, 0x73, 0x70, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampFlyLampRsp_proto_rawDescOnce sync.Once + file_SeaLampFlyLampRsp_proto_rawDescData = file_SeaLampFlyLampRsp_proto_rawDesc +) + +func file_SeaLampFlyLampRsp_proto_rawDescGZIP() []byte { + file_SeaLampFlyLampRsp_proto_rawDescOnce.Do(func() { + file_SeaLampFlyLampRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampFlyLampRsp_proto_rawDescData) + }) + return file_SeaLampFlyLampRsp_proto_rawDescData +} + +var file_SeaLampFlyLampRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampFlyLampRsp_proto_goTypes = []interface{}{ + (*SeaLampFlyLampRsp)(nil), // 0: SeaLampFlyLampRsp +} +var file_SeaLampFlyLampRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampFlyLampRsp_proto_init() } +func file_SeaLampFlyLampRsp_proto_init() { + if File_SeaLampFlyLampRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampFlyLampRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampFlyLampRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampFlyLampRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampFlyLampRsp_proto_goTypes, + DependencyIndexes: file_SeaLampFlyLampRsp_proto_depIdxs, + MessageInfos: file_SeaLampFlyLampRsp_proto_msgTypes, + }.Build() + File_SeaLampFlyLampRsp_proto = out.File + file_SeaLampFlyLampRsp_proto_rawDesc = nil + file_SeaLampFlyLampRsp_proto_goTypes = nil + file_SeaLampFlyLampRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampFlyLampRsp.proto b/gate-hk4e-api/proto/SeaLampFlyLampRsp.proto new file mode 100644 index 00000000..3df9eb42 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampFlyLampRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2192 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampFlyLampRsp { + uint32 item_num = 9; + uint32 item_id = 15; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/SeaLampPopularityNotify.pb.go b/gate-hk4e-api/proto/SeaLampPopularityNotify.pb.go new file mode 100644 index 00000000..80796f85 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampPopularityNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampPopularityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2032 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampPopularityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Popularity uint32 `protobuf:"varint,4,opt,name=popularity,proto3" json:"popularity,omitempty"` +} + +func (x *SeaLampPopularityNotify) Reset() { + *x = SeaLampPopularityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampPopularityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampPopularityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampPopularityNotify) ProtoMessage() {} + +func (x *SeaLampPopularityNotify) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampPopularityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampPopularityNotify.ProtoReflect.Descriptor instead. +func (*SeaLampPopularityNotify) Descriptor() ([]byte, []int) { + return file_SeaLampPopularityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampPopularityNotify) GetPopularity() uint32 { + if x != nil { + return x.Popularity + } + return 0 +} + +var File_SeaLampPopularityNotify_proto protoreflect.FileDescriptor + +var file_SeaLampPopularityNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, + 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x39, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, + 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, + 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampPopularityNotify_proto_rawDescOnce sync.Once + file_SeaLampPopularityNotify_proto_rawDescData = file_SeaLampPopularityNotify_proto_rawDesc +) + +func file_SeaLampPopularityNotify_proto_rawDescGZIP() []byte { + file_SeaLampPopularityNotify_proto_rawDescOnce.Do(func() { + file_SeaLampPopularityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampPopularityNotify_proto_rawDescData) + }) + return file_SeaLampPopularityNotify_proto_rawDescData +} + +var file_SeaLampPopularityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampPopularityNotify_proto_goTypes = []interface{}{ + (*SeaLampPopularityNotify)(nil), // 0: SeaLampPopularityNotify +} +var file_SeaLampPopularityNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampPopularityNotify_proto_init() } +func file_SeaLampPopularityNotify_proto_init() { + if File_SeaLampPopularityNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampPopularityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampPopularityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampPopularityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampPopularityNotify_proto_goTypes, + DependencyIndexes: file_SeaLampPopularityNotify_proto_depIdxs, + MessageInfos: file_SeaLampPopularityNotify_proto_msgTypes, + }.Build() + File_SeaLampPopularityNotify_proto = out.File + file_SeaLampPopularityNotify_proto_rawDesc = nil + file_SeaLampPopularityNotify_proto_goTypes = nil + file_SeaLampPopularityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampPopularityNotify.proto b/gate-hk4e-api/proto/SeaLampPopularityNotify.proto new file mode 100644 index 00000000..49fb256d --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampPopularityNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2032 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampPopularityNotify { + uint32 popularity = 4; +} diff --git a/gate-hk4e-api/proto/SeaLampSectionInfo.pb.go b/gate-hk4e-api/proto/SeaLampSectionInfo.pb.go new file mode 100644 index 00000000..ee06adf1 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampSectionInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampSectionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SeaLampSectionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SectionId uint32 `protobuf:"varint,11,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` +} + +func (x *SeaLampSectionInfo) Reset() { + *x = SeaLampSectionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampSectionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampSectionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampSectionInfo) ProtoMessage() {} + +func (x *SeaLampSectionInfo) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampSectionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampSectionInfo.ProtoReflect.Descriptor instead. +func (*SeaLampSectionInfo) Descriptor() ([]byte, []int) { + return file_SeaLampSectionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampSectionInfo) GetSectionId() uint32 { + if x != nil { + return x.SectionId + } + return 0 +} + +var File_SeaLampSectionInfo_proto protoreflect.FileDescriptor + +var file_SeaLampSectionInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x12, 0x53, 0x65, + 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampSectionInfo_proto_rawDescOnce sync.Once + file_SeaLampSectionInfo_proto_rawDescData = file_SeaLampSectionInfo_proto_rawDesc +) + +func file_SeaLampSectionInfo_proto_rawDescGZIP() []byte { + file_SeaLampSectionInfo_proto_rawDescOnce.Do(func() { + file_SeaLampSectionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampSectionInfo_proto_rawDescData) + }) + return file_SeaLampSectionInfo_proto_rawDescData +} + +var file_SeaLampSectionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampSectionInfo_proto_goTypes = []interface{}{ + (*SeaLampSectionInfo)(nil), // 0: SeaLampSectionInfo +} +var file_SeaLampSectionInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampSectionInfo_proto_init() } +func file_SeaLampSectionInfo_proto_init() { + if File_SeaLampSectionInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampSectionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampSectionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampSectionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampSectionInfo_proto_goTypes, + DependencyIndexes: file_SeaLampSectionInfo_proto_depIdxs, + MessageInfos: file_SeaLampSectionInfo_proto_msgTypes, + }.Build() + File_SeaLampSectionInfo_proto = out.File + file_SeaLampSectionInfo_proto_rawDesc = nil + file_SeaLampSectionInfo_proto_goTypes = nil + file_SeaLampSectionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampSectionInfo.proto b/gate-hk4e-api/proto/SeaLampSectionInfo.proto new file mode 100644 index 00000000..3b2bcc78 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampSectionInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SeaLampSectionInfo { + uint32 section_id = 11; +} diff --git a/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.pb.go b/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.pb.go new file mode 100644 index 00000000..9e234660 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampTakeContributionRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2019 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SeaLampTakeContributionRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ConfigId uint32 `protobuf:"varint,10,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *SeaLampTakeContributionRewardReq) Reset() { + *x = SeaLampTakeContributionRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampTakeContributionRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampTakeContributionRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampTakeContributionRewardReq) ProtoMessage() {} + +func (x *SeaLampTakeContributionRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampTakeContributionRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampTakeContributionRewardReq.ProtoReflect.Descriptor instead. +func (*SeaLampTakeContributionRewardReq) Descriptor() ([]byte, []int) { + return file_SeaLampTakeContributionRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampTakeContributionRewardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SeaLampTakeContributionRewardReq) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_SeaLampTakeContributionRewardReq_proto protoreflect.FileDescriptor + +var file_SeaLampTakeContributionRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x20, 0x53, 0x65, 0x61, 0x4c, + 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampTakeContributionRewardReq_proto_rawDescOnce sync.Once + file_SeaLampTakeContributionRewardReq_proto_rawDescData = file_SeaLampTakeContributionRewardReq_proto_rawDesc +) + +func file_SeaLampTakeContributionRewardReq_proto_rawDescGZIP() []byte { + file_SeaLampTakeContributionRewardReq_proto_rawDescOnce.Do(func() { + file_SeaLampTakeContributionRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampTakeContributionRewardReq_proto_rawDescData) + }) + return file_SeaLampTakeContributionRewardReq_proto_rawDescData +} + +var file_SeaLampTakeContributionRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampTakeContributionRewardReq_proto_goTypes = []interface{}{ + (*SeaLampTakeContributionRewardReq)(nil), // 0: SeaLampTakeContributionRewardReq +} +var file_SeaLampTakeContributionRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampTakeContributionRewardReq_proto_init() } +func file_SeaLampTakeContributionRewardReq_proto_init() { + if File_SeaLampTakeContributionRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampTakeContributionRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampTakeContributionRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampTakeContributionRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampTakeContributionRewardReq_proto_goTypes, + DependencyIndexes: file_SeaLampTakeContributionRewardReq_proto_depIdxs, + MessageInfos: file_SeaLampTakeContributionRewardReq_proto_msgTypes, + }.Build() + File_SeaLampTakeContributionRewardReq_proto = out.File + file_SeaLampTakeContributionRewardReq_proto_rawDesc = nil + file_SeaLampTakeContributionRewardReq_proto_goTypes = nil + file_SeaLampTakeContributionRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.proto b/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.proto new file mode 100644 index 00000000..a3b05559 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakeContributionRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2019 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SeaLampTakeContributionRewardReq { + uint32 activity_id = 4; + uint32 config_id = 10; +} diff --git a/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.pb.go b/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.pb.go new file mode 100644 index 00000000..3de709f7 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampTakeContributionRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2177 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampTakeContributionRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigId uint32 `protobuf:"varint,9,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SeaLampTakeContributionRewardRsp) Reset() { + *x = SeaLampTakeContributionRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampTakeContributionRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampTakeContributionRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampTakeContributionRewardRsp) ProtoMessage() {} + +func (x *SeaLampTakeContributionRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampTakeContributionRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampTakeContributionRewardRsp.ProtoReflect.Descriptor instead. +func (*SeaLampTakeContributionRewardRsp) Descriptor() ([]byte, []int) { + return file_SeaLampTakeContributionRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampTakeContributionRewardRsp) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *SeaLampTakeContributionRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SeaLampTakeContributionRewardRsp_proto protoreflect.FileDescriptor + +var file_SeaLampTakeContributionRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x20, 0x53, 0x65, 0x61, 0x4c, + 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampTakeContributionRewardRsp_proto_rawDescOnce sync.Once + file_SeaLampTakeContributionRewardRsp_proto_rawDescData = file_SeaLampTakeContributionRewardRsp_proto_rawDesc +) + +func file_SeaLampTakeContributionRewardRsp_proto_rawDescGZIP() []byte { + file_SeaLampTakeContributionRewardRsp_proto_rawDescOnce.Do(func() { + file_SeaLampTakeContributionRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampTakeContributionRewardRsp_proto_rawDescData) + }) + return file_SeaLampTakeContributionRewardRsp_proto_rawDescData +} + +var file_SeaLampTakeContributionRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampTakeContributionRewardRsp_proto_goTypes = []interface{}{ + (*SeaLampTakeContributionRewardRsp)(nil), // 0: SeaLampTakeContributionRewardRsp +} +var file_SeaLampTakeContributionRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampTakeContributionRewardRsp_proto_init() } +func file_SeaLampTakeContributionRewardRsp_proto_init() { + if File_SeaLampTakeContributionRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampTakeContributionRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampTakeContributionRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampTakeContributionRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampTakeContributionRewardRsp_proto_goTypes, + DependencyIndexes: file_SeaLampTakeContributionRewardRsp_proto_depIdxs, + MessageInfos: file_SeaLampTakeContributionRewardRsp_proto_msgTypes, + }.Build() + File_SeaLampTakeContributionRewardRsp_proto = out.File + file_SeaLampTakeContributionRewardRsp_proto_rawDesc = nil + file_SeaLampTakeContributionRewardRsp_proto_goTypes = nil + file_SeaLampTakeContributionRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.proto b/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.proto new file mode 100644 index 00000000..3f70c239 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakeContributionRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2177 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampTakeContributionRewardRsp { + uint32 config_id = 9; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.pb.go b/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.pb.go new file mode 100644 index 00000000..9c385506 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampTakePhaseRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2176 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SeaLampTakePhaseRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseId uint32 `protobuf:"varint,12,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"` + ActivityId uint32 `protobuf:"varint,11,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *SeaLampTakePhaseRewardReq) Reset() { + *x = SeaLampTakePhaseRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampTakePhaseRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampTakePhaseRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampTakePhaseRewardReq) ProtoMessage() {} + +func (x *SeaLampTakePhaseRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampTakePhaseRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampTakePhaseRewardReq.ProtoReflect.Descriptor instead. +func (*SeaLampTakePhaseRewardReq) Descriptor() ([]byte, []int) { + return file_SeaLampTakePhaseRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampTakePhaseRewardReq) GetPhaseId() uint32 { + if x != nil { + return x.PhaseId + } + return 0 +} + +func (x *SeaLampTakePhaseRewardReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_SeaLampTakePhaseRewardReq_proto protoreflect.FileDescriptor + +var file_SeaLampTakePhaseRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x68, 0x61, + 0x73, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x57, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, + 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, + 0x0a, 0x08, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x70, 0x68, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampTakePhaseRewardReq_proto_rawDescOnce sync.Once + file_SeaLampTakePhaseRewardReq_proto_rawDescData = file_SeaLampTakePhaseRewardReq_proto_rawDesc +) + +func file_SeaLampTakePhaseRewardReq_proto_rawDescGZIP() []byte { + file_SeaLampTakePhaseRewardReq_proto_rawDescOnce.Do(func() { + file_SeaLampTakePhaseRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampTakePhaseRewardReq_proto_rawDescData) + }) + return file_SeaLampTakePhaseRewardReq_proto_rawDescData +} + +var file_SeaLampTakePhaseRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampTakePhaseRewardReq_proto_goTypes = []interface{}{ + (*SeaLampTakePhaseRewardReq)(nil), // 0: SeaLampTakePhaseRewardReq +} +var file_SeaLampTakePhaseRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampTakePhaseRewardReq_proto_init() } +func file_SeaLampTakePhaseRewardReq_proto_init() { + if File_SeaLampTakePhaseRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampTakePhaseRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampTakePhaseRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampTakePhaseRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampTakePhaseRewardReq_proto_goTypes, + DependencyIndexes: file_SeaLampTakePhaseRewardReq_proto_depIdxs, + MessageInfos: file_SeaLampTakePhaseRewardReq_proto_msgTypes, + }.Build() + File_SeaLampTakePhaseRewardReq_proto = out.File + file_SeaLampTakePhaseRewardReq_proto_rawDesc = nil + file_SeaLampTakePhaseRewardReq_proto_goTypes = nil + file_SeaLampTakePhaseRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.proto b/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.proto new file mode 100644 index 00000000..3cf54107 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakePhaseRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2176 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SeaLampTakePhaseRewardReq { + uint32 phase_id = 12; + uint32 activity_id = 11; +} diff --git a/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.pb.go b/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.pb.go new file mode 100644 index 00000000..f12a1837 --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeaLampTakePhaseRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2190 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeaLampTakePhaseRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseId uint32 `protobuf:"varint,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SeaLampTakePhaseRewardRsp) Reset() { + *x = SeaLampTakePhaseRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SeaLampTakePhaseRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeaLampTakePhaseRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeaLampTakePhaseRewardRsp) ProtoMessage() {} + +func (x *SeaLampTakePhaseRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SeaLampTakePhaseRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeaLampTakePhaseRewardRsp.ProtoReflect.Descriptor instead. +func (*SeaLampTakePhaseRewardRsp) Descriptor() ([]byte, []int) { + return file_SeaLampTakePhaseRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SeaLampTakePhaseRewardRsp) GetPhaseId() uint32 { + if x != nil { + return x.PhaseId + } + return 0 +} + +func (x *SeaLampTakePhaseRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SeaLampTakePhaseRewardRsp_proto protoreflect.FileDescriptor + +var file_SeaLampTakePhaseRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x68, 0x61, + 0x73, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x50, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x4c, 0x61, 0x6d, 0x70, 0x54, 0x61, 0x6b, 0x65, + 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x19, + 0x0a, 0x08, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x70, 0x68, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeaLampTakePhaseRewardRsp_proto_rawDescOnce sync.Once + file_SeaLampTakePhaseRewardRsp_proto_rawDescData = file_SeaLampTakePhaseRewardRsp_proto_rawDesc +) + +func file_SeaLampTakePhaseRewardRsp_proto_rawDescGZIP() []byte { + file_SeaLampTakePhaseRewardRsp_proto_rawDescOnce.Do(func() { + file_SeaLampTakePhaseRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeaLampTakePhaseRewardRsp_proto_rawDescData) + }) + return file_SeaLampTakePhaseRewardRsp_proto_rawDescData +} + +var file_SeaLampTakePhaseRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeaLampTakePhaseRewardRsp_proto_goTypes = []interface{}{ + (*SeaLampTakePhaseRewardRsp)(nil), // 0: SeaLampTakePhaseRewardRsp +} +var file_SeaLampTakePhaseRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeaLampTakePhaseRewardRsp_proto_init() } +func file_SeaLampTakePhaseRewardRsp_proto_init() { + if File_SeaLampTakePhaseRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeaLampTakePhaseRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeaLampTakePhaseRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeaLampTakePhaseRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeaLampTakePhaseRewardRsp_proto_goTypes, + DependencyIndexes: file_SeaLampTakePhaseRewardRsp_proto_depIdxs, + MessageInfos: file_SeaLampTakePhaseRewardRsp_proto_msgTypes, + }.Build() + File_SeaLampTakePhaseRewardRsp_proto = out.File + file_SeaLampTakePhaseRewardRsp_proto_rawDesc = nil + file_SeaLampTakePhaseRewardRsp_proto_goTypes = nil + file_SeaLampTakePhaseRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.proto b/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.proto new file mode 100644 index 00000000..2a4e7f4c --- /dev/null +++ b/gate-hk4e-api/proto/SeaLampTakePhaseRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2190 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeaLampTakePhaseRewardRsp { + uint32 phase_id = 2; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/SealBattleBeginNotify.pb.go b/gate-hk4e-api/proto/SealBattleBeginNotify.pb.go new file mode 100644 index 00000000..60835438 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleBeginNotify.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SealBattleBeginNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 289 +// EnetChannelId: 0 +// EnetIsReliable: true +type SealBattleBeginNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SealMaxProgress uint32 `protobuf:"varint,9,opt,name=seal_max_progress,json=sealMaxProgress,proto3" json:"seal_max_progress,omitempty"` + SealEntityId uint32 `protobuf:"varint,1,opt,name=seal_entity_id,json=sealEntityId,proto3" json:"seal_entity_id,omitempty"` + SealRadius uint32 `protobuf:"varint,12,opt,name=seal_radius,json=sealRadius,proto3" json:"seal_radius,omitempty"` + BattleType SealBattleType `protobuf:"varint,14,opt,name=battle_type,json=battleType,proto3,enum=SealBattleType" json:"battle_type,omitempty"` +} + +func (x *SealBattleBeginNotify) Reset() { + *x = SealBattleBeginNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SealBattleBeginNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SealBattleBeginNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SealBattleBeginNotify) ProtoMessage() {} + +func (x *SealBattleBeginNotify) ProtoReflect() protoreflect.Message { + mi := &file_SealBattleBeginNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SealBattleBeginNotify.ProtoReflect.Descriptor instead. +func (*SealBattleBeginNotify) Descriptor() ([]byte, []int) { + return file_SealBattleBeginNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SealBattleBeginNotify) GetSealMaxProgress() uint32 { + if x != nil { + return x.SealMaxProgress + } + return 0 +} + +func (x *SealBattleBeginNotify) GetSealEntityId() uint32 { + if x != nil { + return x.SealEntityId + } + return 0 +} + +func (x *SealBattleBeginNotify) GetSealRadius() uint32 { + if x != nil { + return x.SealRadius + } + return 0 +} + +func (x *SealBattleBeginNotify) GetBattleType() SealBattleType { + if x != nil { + return x.BattleType + } + return SealBattleType_SEAL_BATTLE_TYPE_KEEP_ALIVE +} + +var File_SealBattleBeginNotify_proto protoreflect.FileDescriptor + +var file_SealBattleBeginNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x53, + 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, + 0x11, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x65, 0x61, 0x6c, 0x4d, 0x61, + 0x78, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x61, + 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, + 0x12, 0x30, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SealBattleBeginNotify_proto_rawDescOnce sync.Once + file_SealBattleBeginNotify_proto_rawDescData = file_SealBattleBeginNotify_proto_rawDesc +) + +func file_SealBattleBeginNotify_proto_rawDescGZIP() []byte { + file_SealBattleBeginNotify_proto_rawDescOnce.Do(func() { + file_SealBattleBeginNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SealBattleBeginNotify_proto_rawDescData) + }) + return file_SealBattleBeginNotify_proto_rawDescData +} + +var file_SealBattleBeginNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SealBattleBeginNotify_proto_goTypes = []interface{}{ + (*SealBattleBeginNotify)(nil), // 0: SealBattleBeginNotify + (SealBattleType)(0), // 1: SealBattleType +} +var file_SealBattleBeginNotify_proto_depIdxs = []int32{ + 1, // 0: SealBattleBeginNotify.battle_type:type_name -> SealBattleType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SealBattleBeginNotify_proto_init() } +func file_SealBattleBeginNotify_proto_init() { + if File_SealBattleBeginNotify_proto != nil { + return + } + file_SealBattleType_proto_init() + if !protoimpl.UnsafeEnabled { + file_SealBattleBeginNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SealBattleBeginNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SealBattleBeginNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SealBattleBeginNotify_proto_goTypes, + DependencyIndexes: file_SealBattleBeginNotify_proto_depIdxs, + MessageInfos: file_SealBattleBeginNotify_proto_msgTypes, + }.Build() + File_SealBattleBeginNotify_proto = out.File + file_SealBattleBeginNotify_proto_rawDesc = nil + file_SealBattleBeginNotify_proto_goTypes = nil + file_SealBattleBeginNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SealBattleBeginNotify.proto b/gate-hk4e-api/proto/SealBattleBeginNotify.proto new file mode 100644 index 00000000..156aa116 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleBeginNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SealBattleType.proto"; + +option go_package = "./;proto"; + +// CmdId: 289 +// EnetChannelId: 0 +// EnetIsReliable: true +message SealBattleBeginNotify { + uint32 seal_max_progress = 9; + uint32 seal_entity_id = 1; + uint32 seal_radius = 12; + SealBattleType battle_type = 14; +} diff --git a/gate-hk4e-api/proto/SealBattleEndNotify.pb.go b/gate-hk4e-api/proto/SealBattleEndNotify.pb.go new file mode 100644 index 00000000..efce1c95 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleEndNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SealBattleEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 259 +// EnetChannelId: 0 +// EnetIsReliable: true +type SealBattleEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWin bool `protobuf:"varint,4,opt,name=is_win,json=isWin,proto3" json:"is_win,omitempty"` + SealEntityId uint32 `protobuf:"varint,15,opt,name=seal_entity_id,json=sealEntityId,proto3" json:"seal_entity_id,omitempty"` +} + +func (x *SealBattleEndNotify) Reset() { + *x = SealBattleEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SealBattleEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SealBattleEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SealBattleEndNotify) ProtoMessage() {} + +func (x *SealBattleEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_SealBattleEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SealBattleEndNotify.ProtoReflect.Descriptor instead. +func (*SealBattleEndNotify) Descriptor() ([]byte, []int) { + return file_SealBattleEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SealBattleEndNotify) GetIsWin() bool { + if x != nil { + return x.IsWin + } + return false +} + +func (x *SealBattleEndNotify) GetSealEntityId() uint32 { + if x != nil { + return x.SealEntityId + } + return 0 +} + +var File_SealBattleEndNotify_proto protoreflect.FileDescriptor + +var file_SealBattleEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x13, 0x53, + 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x57, 0x69, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x61, + 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SealBattleEndNotify_proto_rawDescOnce sync.Once + file_SealBattleEndNotify_proto_rawDescData = file_SealBattleEndNotify_proto_rawDesc +) + +func file_SealBattleEndNotify_proto_rawDescGZIP() []byte { + file_SealBattleEndNotify_proto_rawDescOnce.Do(func() { + file_SealBattleEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SealBattleEndNotify_proto_rawDescData) + }) + return file_SealBattleEndNotify_proto_rawDescData +} + +var file_SealBattleEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SealBattleEndNotify_proto_goTypes = []interface{}{ + (*SealBattleEndNotify)(nil), // 0: SealBattleEndNotify +} +var file_SealBattleEndNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SealBattleEndNotify_proto_init() } +func file_SealBattleEndNotify_proto_init() { + if File_SealBattleEndNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SealBattleEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SealBattleEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SealBattleEndNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SealBattleEndNotify_proto_goTypes, + DependencyIndexes: file_SealBattleEndNotify_proto_depIdxs, + MessageInfos: file_SealBattleEndNotify_proto_msgTypes, + }.Build() + File_SealBattleEndNotify_proto = out.File + file_SealBattleEndNotify_proto_rawDesc = nil + file_SealBattleEndNotify_proto_goTypes = nil + file_SealBattleEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SealBattleEndNotify.proto b/gate-hk4e-api/proto/SealBattleEndNotify.proto new file mode 100644 index 00000000..2d93dbe3 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleEndNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 259 +// EnetChannelId: 0 +// EnetIsReliable: true +message SealBattleEndNotify { + bool is_win = 4; + uint32 seal_entity_id = 15; +} diff --git a/gate-hk4e-api/proto/SealBattleProgressNotify.pb.go b/gate-hk4e-api/proto/SealBattleProgressNotify.pb.go new file mode 100644 index 00000000..b72d3a33 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleProgressNotify.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SealBattleProgressNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 232 +// EnetChannelId: 0 +// EnetIsReliable: true +type SealBattleProgressNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SealEntityId uint32 `protobuf:"varint,9,opt,name=seal_entity_id,json=sealEntityId,proto3" json:"seal_entity_id,omitempty"` + MaxProgress uint32 `protobuf:"varint,10,opt,name=max_progress,json=maxProgress,proto3" json:"max_progress,omitempty"` + SealRadius uint32 `protobuf:"varint,4,opt,name=seal_radius,json=sealRadius,proto3" json:"seal_radius,omitempty"` + Progress uint32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"` + EndTime uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *SealBattleProgressNotify) Reset() { + *x = SealBattleProgressNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SealBattleProgressNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SealBattleProgressNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SealBattleProgressNotify) ProtoMessage() {} + +func (x *SealBattleProgressNotify) ProtoReflect() protoreflect.Message { + mi := &file_SealBattleProgressNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SealBattleProgressNotify.ProtoReflect.Descriptor instead. +func (*SealBattleProgressNotify) Descriptor() ([]byte, []int) { + return file_SealBattleProgressNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SealBattleProgressNotify) GetSealEntityId() uint32 { + if x != nil { + return x.SealEntityId + } + return 0 +} + +func (x *SealBattleProgressNotify) GetMaxProgress() uint32 { + if x != nil { + return x.MaxProgress + } + return 0 +} + +func (x *SealBattleProgressNotify) GetSealRadius() uint32 { + if x != nil { + return x.SealRadius + } + return 0 +} + +func (x *SealBattleProgressNotify) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *SealBattleProgressNotify) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_SealBattleProgressNotify_proto protoreflect.FileDescriptor + +var file_SealBattleProgressNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xbb, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, + 0x0e, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x6c, 0x5f, 0x72, + 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x65, 0x61, + 0x6c, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SealBattleProgressNotify_proto_rawDescOnce sync.Once + file_SealBattleProgressNotify_proto_rawDescData = file_SealBattleProgressNotify_proto_rawDesc +) + +func file_SealBattleProgressNotify_proto_rawDescGZIP() []byte { + file_SealBattleProgressNotify_proto_rawDescOnce.Do(func() { + file_SealBattleProgressNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SealBattleProgressNotify_proto_rawDescData) + }) + return file_SealBattleProgressNotify_proto_rawDescData +} + +var file_SealBattleProgressNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SealBattleProgressNotify_proto_goTypes = []interface{}{ + (*SealBattleProgressNotify)(nil), // 0: SealBattleProgressNotify +} +var file_SealBattleProgressNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SealBattleProgressNotify_proto_init() } +func file_SealBattleProgressNotify_proto_init() { + if File_SealBattleProgressNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SealBattleProgressNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SealBattleProgressNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SealBattleProgressNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SealBattleProgressNotify_proto_goTypes, + DependencyIndexes: file_SealBattleProgressNotify_proto_depIdxs, + MessageInfos: file_SealBattleProgressNotify_proto_msgTypes, + }.Build() + File_SealBattleProgressNotify_proto = out.File + file_SealBattleProgressNotify_proto_rawDesc = nil + file_SealBattleProgressNotify_proto_goTypes = nil + file_SealBattleProgressNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SealBattleProgressNotify.proto b/gate-hk4e-api/proto/SealBattleProgressNotify.proto new file mode 100644 index 00000000..1df995fa --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleProgressNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 232 +// EnetChannelId: 0 +// EnetIsReliable: true +message SealBattleProgressNotify { + uint32 seal_entity_id = 9; + uint32 max_progress = 10; + uint32 seal_radius = 4; + uint32 progress = 5; + uint32 end_time = 2; +} diff --git a/gate-hk4e-api/proto/SealBattleType.pb.go b/gate-hk4e-api/proto/SealBattleType.pb.go new file mode 100644 index 00000000..e9d0f969 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleType.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SealBattleType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SealBattleType int32 + +const ( + SealBattleType_SEAL_BATTLE_TYPE_KEEP_ALIVE SealBattleType = 0 + SealBattleType_SEAL_BATTLE_TYPE_KILL_MONSTER SealBattleType = 1 + SealBattleType_SEAL_BATTLE_TYPE_ENERGY_CHARGE SealBattleType = 2 +) + +// Enum value maps for SealBattleType. +var ( + SealBattleType_name = map[int32]string{ + 0: "SEAL_BATTLE_TYPE_KEEP_ALIVE", + 1: "SEAL_BATTLE_TYPE_KILL_MONSTER", + 2: "SEAL_BATTLE_TYPE_ENERGY_CHARGE", + } + SealBattleType_value = map[string]int32{ + "SEAL_BATTLE_TYPE_KEEP_ALIVE": 0, + "SEAL_BATTLE_TYPE_KILL_MONSTER": 1, + "SEAL_BATTLE_TYPE_ENERGY_CHARGE": 2, + } +) + +func (x SealBattleType) Enum() *SealBattleType { + p := new(SealBattleType) + *p = x + return p +} + +func (x SealBattleType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SealBattleType) Descriptor() protoreflect.EnumDescriptor { + return file_SealBattleType_proto_enumTypes[0].Descriptor() +} + +func (SealBattleType) Type() protoreflect.EnumType { + return &file_SealBattleType_proto_enumTypes[0] +} + +func (x SealBattleType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SealBattleType.Descriptor instead. +func (SealBattleType) EnumDescriptor() ([]byte, []int) { + return file_SealBattleType_proto_rawDescGZIP(), []int{0} +} + +var File_SealBattleType_proto protoreflect.FileDescriptor + +var file_SealBattleType_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x78, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x45, 0x41, 0x4c, + 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x45, + 0x50, 0x5f, 0x41, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, 0x41, + 0x4c, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x49, + 0x4c, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, + 0x53, 0x45, 0x41, 0x4c, 0x5f, 0x42, 0x41, 0x54, 0x54, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x52, 0x47, 0x45, 0x10, 0x02, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SealBattleType_proto_rawDescOnce sync.Once + file_SealBattleType_proto_rawDescData = file_SealBattleType_proto_rawDesc +) + +func file_SealBattleType_proto_rawDescGZIP() []byte { + file_SealBattleType_proto_rawDescOnce.Do(func() { + file_SealBattleType_proto_rawDescData = protoimpl.X.CompressGZIP(file_SealBattleType_proto_rawDescData) + }) + return file_SealBattleType_proto_rawDescData +} + +var file_SealBattleType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_SealBattleType_proto_goTypes = []interface{}{ + (SealBattleType)(0), // 0: SealBattleType +} +var file_SealBattleType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SealBattleType_proto_init() } +func file_SealBattleType_proto_init() { + if File_SealBattleType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SealBattleType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SealBattleType_proto_goTypes, + DependencyIndexes: file_SealBattleType_proto_depIdxs, + EnumInfos: file_SealBattleType_proto_enumTypes, + }.Build() + File_SealBattleType_proto = out.File + file_SealBattleType_proto_rawDesc = nil + file_SealBattleType_proto_goTypes = nil + file_SealBattleType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SealBattleType.proto b/gate-hk4e-api/proto/SealBattleType.proto new file mode 100644 index 00000000..32fcca11 --- /dev/null +++ b/gate-hk4e-api/proto/SealBattleType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum SealBattleType { + SEAL_BATTLE_TYPE_KEEP_ALIVE = 0; + SEAL_BATTLE_TYPE_KILL_MONSTER = 1; + SEAL_BATTLE_TYPE_ENERGY_CHARGE = 2; +} diff --git a/gate-hk4e-api/proto/SeeMonsterReq.pb.go b/gate-hk4e-api/proto/SeeMonsterReq.pb.go new file mode 100644 index 00000000..46d9a291 --- /dev/null +++ b/gate-hk4e-api/proto/SeeMonsterReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeeMonsterReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 228 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SeeMonsterReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterId uint32 `protobuf:"varint,7,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` +} + +func (x *SeeMonsterReq) Reset() { + *x = SeeMonsterReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SeeMonsterReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeeMonsterReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeeMonsterReq) ProtoMessage() {} + +func (x *SeeMonsterReq) ProtoReflect() protoreflect.Message { + mi := &file_SeeMonsterReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeeMonsterReq.ProtoReflect.Descriptor instead. +func (*SeeMonsterReq) Descriptor() ([]byte, []int) { + return file_SeeMonsterReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SeeMonsterReq) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +var File_SeeMonsterReq_proto protoreflect.FileDescriptor + +var file_SeeMonsterReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x65, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x0d, 0x53, 0x65, 0x65, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeeMonsterReq_proto_rawDescOnce sync.Once + file_SeeMonsterReq_proto_rawDescData = file_SeeMonsterReq_proto_rawDesc +) + +func file_SeeMonsterReq_proto_rawDescGZIP() []byte { + file_SeeMonsterReq_proto_rawDescOnce.Do(func() { + file_SeeMonsterReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeeMonsterReq_proto_rawDescData) + }) + return file_SeeMonsterReq_proto_rawDescData +} + +var file_SeeMonsterReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeeMonsterReq_proto_goTypes = []interface{}{ + (*SeeMonsterReq)(nil), // 0: SeeMonsterReq +} +var file_SeeMonsterReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeeMonsterReq_proto_init() } +func file_SeeMonsterReq_proto_init() { + if File_SeeMonsterReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeeMonsterReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeeMonsterReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeeMonsterReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeeMonsterReq_proto_goTypes, + DependencyIndexes: file_SeeMonsterReq_proto_depIdxs, + MessageInfos: file_SeeMonsterReq_proto_msgTypes, + }.Build() + File_SeeMonsterReq_proto = out.File + file_SeeMonsterReq_proto_rawDesc = nil + file_SeeMonsterReq_proto_goTypes = nil + file_SeeMonsterReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeeMonsterReq.proto b/gate-hk4e-api/proto/SeeMonsterReq.proto new file mode 100644 index 00000000..f30f0da5 --- /dev/null +++ b/gate-hk4e-api/proto/SeeMonsterReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 228 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SeeMonsterReq { + uint32 monster_id = 7; +} diff --git a/gate-hk4e-api/proto/SeeMonsterRsp.pb.go b/gate-hk4e-api/proto/SeeMonsterRsp.pb.go new file mode 100644 index 00000000..c82d1ef3 --- /dev/null +++ b/gate-hk4e-api/proto/SeeMonsterRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeeMonsterRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 251 +// EnetChannelId: 0 +// EnetIsReliable: true +type SeeMonsterRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SeeMonsterRsp) Reset() { + *x = SeeMonsterRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SeeMonsterRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeeMonsterRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeeMonsterRsp) ProtoMessage() {} + +func (x *SeeMonsterRsp) ProtoReflect() protoreflect.Message { + mi := &file_SeeMonsterRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeeMonsterRsp.ProtoReflect.Descriptor instead. +func (*SeeMonsterRsp) Descriptor() ([]byte, []int) { + return file_SeeMonsterRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SeeMonsterRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SeeMonsterRsp_proto protoreflect.FileDescriptor + +var file_SeeMonsterRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x65, 0x65, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x53, 0x65, 0x65, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SeeMonsterRsp_proto_rawDescOnce sync.Once + file_SeeMonsterRsp_proto_rawDescData = file_SeeMonsterRsp_proto_rawDesc +) + +func file_SeeMonsterRsp_proto_rawDescGZIP() []byte { + file_SeeMonsterRsp_proto_rawDescOnce.Do(func() { + file_SeeMonsterRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeeMonsterRsp_proto_rawDescData) + }) + return file_SeeMonsterRsp_proto_rawDescData +} + +var file_SeeMonsterRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeeMonsterRsp_proto_goTypes = []interface{}{ + (*SeeMonsterRsp)(nil), // 0: SeeMonsterRsp +} +var file_SeeMonsterRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SeeMonsterRsp_proto_init() } +func file_SeeMonsterRsp_proto_init() { + if File_SeeMonsterRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SeeMonsterRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeeMonsterRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeeMonsterRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeeMonsterRsp_proto_goTypes, + DependencyIndexes: file_SeeMonsterRsp_proto_depIdxs, + MessageInfos: file_SeeMonsterRsp_proto_msgTypes, + }.Build() + File_SeeMonsterRsp_proto = out.File + file_SeeMonsterRsp_proto_rawDesc = nil + file_SeeMonsterRsp_proto_goTypes = nil + file_SeeMonsterRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeeMonsterRsp.proto b/gate-hk4e-api/proto/SeeMonsterRsp.proto new file mode 100644 index 00000000..601c5923 --- /dev/null +++ b/gate-hk4e-api/proto/SeeMonsterRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 251 +// EnetChannelId: 0 +// EnetIsReliable: true +message SeeMonsterRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.pb.go b/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.pb.go new file mode 100644 index 00000000..17ecdf9a --- /dev/null +++ b/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SeekFurnitureGalleryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SeekFurnitureGalleryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecordList []*Unk2700_JCBJHCFEONO `protobuf:"bytes,5,rep,name=record_list,json=recordList,proto3" json:"record_list,omitempty"` +} + +func (x *SeekFurnitureGalleryInfo) Reset() { + *x = SeekFurnitureGalleryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SeekFurnitureGalleryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeekFurnitureGalleryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeekFurnitureGalleryInfo) ProtoMessage() {} + +func (x *SeekFurnitureGalleryInfo) ProtoReflect() protoreflect.Message { + mi := &file_SeekFurnitureGalleryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SeekFurnitureGalleryInfo.ProtoReflect.Descriptor instead. +func (*SeekFurnitureGalleryInfo) Descriptor() ([]byte, []int) { + return file_SeekFurnitureGalleryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SeekFurnitureGalleryInfo) GetRecordList() []*Unk2700_JCBJHCFEONO { + if x != nil { + return x.RecordList + } + return nil +} + +var File_SeekFurnitureGalleryInfo_proto protoreflect.FileDescriptor + +var file_SeekFurnitureGalleryInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x47, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, + 0x46, 0x45, 0x4f, 0x4e, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x18, 0x53, + 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x47, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, 0x46, 0x45, 0x4f, + 0x4e, 0x4f, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SeekFurnitureGalleryInfo_proto_rawDescOnce sync.Once + file_SeekFurnitureGalleryInfo_proto_rawDescData = file_SeekFurnitureGalleryInfo_proto_rawDesc +) + +func file_SeekFurnitureGalleryInfo_proto_rawDescGZIP() []byte { + file_SeekFurnitureGalleryInfo_proto_rawDescOnce.Do(func() { + file_SeekFurnitureGalleryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SeekFurnitureGalleryInfo_proto_rawDescData) + }) + return file_SeekFurnitureGalleryInfo_proto_rawDescData +} + +var file_SeekFurnitureGalleryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SeekFurnitureGalleryInfo_proto_goTypes = []interface{}{ + (*SeekFurnitureGalleryInfo)(nil), // 0: SeekFurnitureGalleryInfo + (*Unk2700_JCBJHCFEONO)(nil), // 1: Unk2700_JCBJHCFEONO +} +var file_SeekFurnitureGalleryInfo_proto_depIdxs = []int32{ + 1, // 0: SeekFurnitureGalleryInfo.record_list:type_name -> Unk2700_JCBJHCFEONO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SeekFurnitureGalleryInfo_proto_init() } +func file_SeekFurnitureGalleryInfo_proto_init() { + if File_SeekFurnitureGalleryInfo_proto != nil { + return + } + file_Unk2700_JCBJHCFEONO_proto_init() + if !protoimpl.UnsafeEnabled { + file_SeekFurnitureGalleryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeekFurnitureGalleryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SeekFurnitureGalleryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SeekFurnitureGalleryInfo_proto_goTypes, + DependencyIndexes: file_SeekFurnitureGalleryInfo_proto_depIdxs, + MessageInfos: file_SeekFurnitureGalleryInfo_proto_msgTypes, + }.Build() + File_SeekFurnitureGalleryInfo_proto = out.File + file_SeekFurnitureGalleryInfo_proto_rawDesc = nil + file_SeekFurnitureGalleryInfo_proto_goTypes = nil + file_SeekFurnitureGalleryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.proto b/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.proto new file mode 100644 index 00000000..196f32c0 --- /dev/null +++ b/gate-hk4e-api/proto/SeekFurnitureGalleryInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JCBJHCFEONO.proto"; + +option go_package = "./;proto"; + +message SeekFurnitureGalleryInfo { + repeated Unk2700_JCBJHCFEONO record_list = 5; +} diff --git a/gate-hk4e-api/proto/SegmentCRCInfo.pb.go b/gate-hk4e-api/proto/SegmentCRCInfo.pb.go new file mode 100644 index 00000000..49242294 --- /dev/null +++ b/gate-hk4e-api/proto/SegmentCRCInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SegmentCRCInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SegmentCRCInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Module uint32 `protobuf:"varint,13,opt,name=module,proto3" json:"module,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Size uint32 `protobuf:"varint,10,opt,name=size,proto3" json:"size,omitempty"` + Crc string `protobuf:"bytes,3,opt,name=crc,proto3" json:"crc,omitempty"` + Offset uint32 `protobuf:"varint,11,opt,name=offset,proto3" json:"offset,omitempty"` +} + +func (x *SegmentCRCInfo) Reset() { + *x = SegmentCRCInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SegmentCRCInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SegmentCRCInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SegmentCRCInfo) ProtoMessage() {} + +func (x *SegmentCRCInfo) ProtoReflect() protoreflect.Message { + mi := &file_SegmentCRCInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SegmentCRCInfo.ProtoReflect.Descriptor instead. +func (*SegmentCRCInfo) Descriptor() ([]byte, []int) { + return file_SegmentCRCInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SegmentCRCInfo) GetModule() uint32 { + if x != nil { + return x.Module + } + return 0 +} + +func (x *SegmentCRCInfo) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SegmentCRCInfo) GetSize() uint32 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *SegmentCRCInfo) GetCrc() string { + if x != nil { + return x.Crc + } + return "" +} + +func (x *SegmentCRCInfo) GetOffset() uint32 { + if x != nil { + return x.Offset + } + return 0 +} + +var File_SegmentCRCInfo_proto protoreflect.FileDescriptor + +var file_SegmentCRCInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x52, 0x43, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x43, 0x52, 0x43, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x63, 0x72, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x72, + 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SegmentCRCInfo_proto_rawDescOnce sync.Once + file_SegmentCRCInfo_proto_rawDescData = file_SegmentCRCInfo_proto_rawDesc +) + +func file_SegmentCRCInfo_proto_rawDescGZIP() []byte { + file_SegmentCRCInfo_proto_rawDescOnce.Do(func() { + file_SegmentCRCInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SegmentCRCInfo_proto_rawDescData) + }) + return file_SegmentCRCInfo_proto_rawDescData +} + +var file_SegmentCRCInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SegmentCRCInfo_proto_goTypes = []interface{}{ + (*SegmentCRCInfo)(nil), // 0: SegmentCRCInfo +} +var file_SegmentCRCInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SegmentCRCInfo_proto_init() } +func file_SegmentCRCInfo_proto_init() { + if File_SegmentCRCInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SegmentCRCInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentCRCInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SegmentCRCInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SegmentCRCInfo_proto_goTypes, + DependencyIndexes: file_SegmentCRCInfo_proto_depIdxs, + MessageInfos: file_SegmentCRCInfo_proto_msgTypes, + }.Build() + File_SegmentCRCInfo_proto = out.File + file_SegmentCRCInfo_proto_rawDesc = nil + file_SegmentCRCInfo_proto_goTypes = nil + file_SegmentCRCInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SegmentCRCInfo.proto b/gate-hk4e-api/proto/SegmentCRCInfo.proto new file mode 100644 index 00000000..30efa87c --- /dev/null +++ b/gate-hk4e-api/proto/SegmentCRCInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SegmentCRCInfo { + uint32 module = 13; + int32 retcode = 5; + uint32 size = 10; + string crc = 3; + uint32 offset = 11; +} diff --git a/gate-hk4e-api/proto/SegmentInfo.pb.go b/gate-hk4e-api/proto/SegmentInfo.pb.go new file mode 100644 index 00000000..a056a7a8 --- /dev/null +++ b/gate-hk4e-api/proto/SegmentInfo.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SegmentInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SegmentInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Module uint32 `protobuf:"varint,7,opt,name=module,proto3" json:"module,omitempty"` + Size uint32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` +} + +func (x *SegmentInfo) Reset() { + *x = SegmentInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SegmentInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SegmentInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SegmentInfo) ProtoMessage() {} + +func (x *SegmentInfo) ProtoReflect() protoreflect.Message { + mi := &file_SegmentInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SegmentInfo.ProtoReflect.Descriptor instead. +func (*SegmentInfo) Descriptor() ([]byte, []int) { + return file_SegmentInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SegmentInfo) GetOffset() uint32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *SegmentInfo) GetModule() uint32 { + if x != nil { + return x.Module + } + return 0 +} + +func (x *SegmentInfo) GetSize() uint32 { + if x != nil { + return x.Size + } + return 0 +} + +var File_SegmentInfo_proto protoreflect.FileDescriptor + +var file_SegmentInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x0b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SegmentInfo_proto_rawDescOnce sync.Once + file_SegmentInfo_proto_rawDescData = file_SegmentInfo_proto_rawDesc +) + +func file_SegmentInfo_proto_rawDescGZIP() []byte { + file_SegmentInfo_proto_rawDescOnce.Do(func() { + file_SegmentInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SegmentInfo_proto_rawDescData) + }) + return file_SegmentInfo_proto_rawDescData +} + +var file_SegmentInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SegmentInfo_proto_goTypes = []interface{}{ + (*SegmentInfo)(nil), // 0: SegmentInfo +} +var file_SegmentInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SegmentInfo_proto_init() } +func file_SegmentInfo_proto_init() { + if File_SegmentInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SegmentInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SegmentInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SegmentInfo_proto_goTypes, + DependencyIndexes: file_SegmentInfo_proto_depIdxs, + MessageInfos: file_SegmentInfo_proto_msgTypes, + }.Build() + File_SegmentInfo_proto = out.File + file_SegmentInfo_proto_rawDesc = nil + file_SegmentInfo_proto_goTypes = nil + file_SegmentInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SegmentInfo.proto b/gate-hk4e-api/proto/SegmentInfo.proto new file mode 100644 index 00000000..00585303 --- /dev/null +++ b/gate-hk4e-api/proto/SegmentInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SegmentInfo { + uint32 offset = 3; + uint32 module = 7; + uint32 size = 8; +} diff --git a/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.pb.go b/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.pb.go new file mode 100644 index 00000000..427ec59b --- /dev/null +++ b/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectAsterMidDifficultyReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2134 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SelectAsterMidDifficultyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,13,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,5,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *SelectAsterMidDifficultyReq) Reset() { + *x = SelectAsterMidDifficultyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectAsterMidDifficultyReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectAsterMidDifficultyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectAsterMidDifficultyReq) ProtoMessage() {} + +func (x *SelectAsterMidDifficultyReq) ProtoReflect() protoreflect.Message { + mi := &file_SelectAsterMidDifficultyReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectAsterMidDifficultyReq.ProtoReflect.Descriptor instead. +func (*SelectAsterMidDifficultyReq) Descriptor() ([]byte, []int) { + return file_SelectAsterMidDifficultyReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectAsterMidDifficultyReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *SelectAsterMidDifficultyReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SelectAsterMidDifficultyReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_SelectAsterMidDifficultyReq_proto protoreflect.FileDescriptor + +var file_SelectAsterMidDifficultyReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, + 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SelectAsterMidDifficultyReq_proto_rawDescOnce sync.Once + file_SelectAsterMidDifficultyReq_proto_rawDescData = file_SelectAsterMidDifficultyReq_proto_rawDesc +) + +func file_SelectAsterMidDifficultyReq_proto_rawDescGZIP() []byte { + file_SelectAsterMidDifficultyReq_proto_rawDescOnce.Do(func() { + file_SelectAsterMidDifficultyReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectAsterMidDifficultyReq_proto_rawDescData) + }) + return file_SelectAsterMidDifficultyReq_proto_rawDescData +} + +var file_SelectAsterMidDifficultyReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectAsterMidDifficultyReq_proto_goTypes = []interface{}{ + (*SelectAsterMidDifficultyReq)(nil), // 0: SelectAsterMidDifficultyReq +} +var file_SelectAsterMidDifficultyReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectAsterMidDifficultyReq_proto_init() } +func file_SelectAsterMidDifficultyReq_proto_init() { + if File_SelectAsterMidDifficultyReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectAsterMidDifficultyReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectAsterMidDifficultyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectAsterMidDifficultyReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectAsterMidDifficultyReq_proto_goTypes, + DependencyIndexes: file_SelectAsterMidDifficultyReq_proto_depIdxs, + MessageInfos: file_SelectAsterMidDifficultyReq_proto_msgTypes, + }.Build() + File_SelectAsterMidDifficultyReq_proto = out.File + file_SelectAsterMidDifficultyReq_proto_rawDesc = nil + file_SelectAsterMidDifficultyReq_proto_goTypes = nil + file_SelectAsterMidDifficultyReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.proto b/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.proto new file mode 100644 index 00000000..b91c7f5e --- /dev/null +++ b/gate-hk4e-api/proto/SelectAsterMidDifficultyReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2134 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SelectAsterMidDifficultyReq { + uint32 gadget_entity_id = 13; + uint32 schedule_id = 1; + uint32 difficulty_id = 5; +} diff --git a/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.pb.go b/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.pb.go new file mode 100644 index 00000000..f7e6d84e --- /dev/null +++ b/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectAsterMidDifficultyRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2180 +// EnetChannelId: 0 +// EnetIsReliable: true +type SelectAsterMidDifficultyRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,5,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,14,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *SelectAsterMidDifficultyRsp) Reset() { + *x = SelectAsterMidDifficultyRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectAsterMidDifficultyRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectAsterMidDifficultyRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectAsterMidDifficultyRsp) ProtoMessage() {} + +func (x *SelectAsterMidDifficultyRsp) ProtoReflect() protoreflect.Message { + mi := &file_SelectAsterMidDifficultyRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectAsterMidDifficultyRsp.ProtoReflect.Descriptor instead. +func (*SelectAsterMidDifficultyRsp) Descriptor() ([]byte, []int) { + return file_SelectAsterMidDifficultyRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectAsterMidDifficultyRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SelectAsterMidDifficultyRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SelectAsterMidDifficultyRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *SelectAsterMidDifficultyRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_SelectAsterMidDifficultyRsp_proto protoreflect.FileDescriptor + +var file_SelectAsterMidDifficultyRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, + 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x73, + 0x74, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SelectAsterMidDifficultyRsp_proto_rawDescOnce sync.Once + file_SelectAsterMidDifficultyRsp_proto_rawDescData = file_SelectAsterMidDifficultyRsp_proto_rawDesc +) + +func file_SelectAsterMidDifficultyRsp_proto_rawDescGZIP() []byte { + file_SelectAsterMidDifficultyRsp_proto_rawDescOnce.Do(func() { + file_SelectAsterMidDifficultyRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectAsterMidDifficultyRsp_proto_rawDescData) + }) + return file_SelectAsterMidDifficultyRsp_proto_rawDescData +} + +var file_SelectAsterMidDifficultyRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectAsterMidDifficultyRsp_proto_goTypes = []interface{}{ + (*SelectAsterMidDifficultyRsp)(nil), // 0: SelectAsterMidDifficultyRsp +} +var file_SelectAsterMidDifficultyRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectAsterMidDifficultyRsp_proto_init() } +func file_SelectAsterMidDifficultyRsp_proto_init() { + if File_SelectAsterMidDifficultyRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectAsterMidDifficultyRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectAsterMidDifficultyRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectAsterMidDifficultyRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectAsterMidDifficultyRsp_proto_goTypes, + DependencyIndexes: file_SelectAsterMidDifficultyRsp_proto_depIdxs, + MessageInfos: file_SelectAsterMidDifficultyRsp_proto_msgTypes, + }.Build() + File_SelectAsterMidDifficultyRsp_proto = out.File + file_SelectAsterMidDifficultyRsp_proto_rawDesc = nil + file_SelectAsterMidDifficultyRsp_proto_goTypes = nil + file_SelectAsterMidDifficultyRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.proto b/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.proto new file mode 100644 index 00000000..b8fdb69c --- /dev/null +++ b/gate-hk4e-api/proto/SelectAsterMidDifficultyRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2180 +// EnetChannelId: 0 +// EnetIsReliable: true +message SelectAsterMidDifficultyRsp { + int32 retcode = 15; + uint32 schedule_id = 2; + uint32 gadget_entity_id = 5; + uint32 difficulty_id = 14; +} diff --git a/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.pb.go b/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.pb.go new file mode 100644 index 00000000..3283d2a7 --- /dev/null +++ b/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectEffigyChallengeConditionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2064 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SelectEffigyChallengeConditionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultyId uint32 `protobuf:"varint,15,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,7,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,9,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` +} + +func (x *SelectEffigyChallengeConditionReq) Reset() { + *x = SelectEffigyChallengeConditionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectEffigyChallengeConditionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectEffigyChallengeConditionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectEffigyChallengeConditionReq) ProtoMessage() {} + +func (x *SelectEffigyChallengeConditionReq) ProtoReflect() protoreflect.Message { + mi := &file_SelectEffigyChallengeConditionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectEffigyChallengeConditionReq.ProtoReflect.Descriptor instead. +func (*SelectEffigyChallengeConditionReq) Descriptor() ([]byte, []int) { + return file_SelectEffigyChallengeConditionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectEffigyChallengeConditionReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SelectEffigyChallengeConditionReq) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *SelectEffigyChallengeConditionReq) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +var File_SelectEffigyChallengeConditionReq_proto protoreflect.FileDescriptor + +var file_SelectEffigyChallengeConditionReq_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x21, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, + 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SelectEffigyChallengeConditionReq_proto_rawDescOnce sync.Once + file_SelectEffigyChallengeConditionReq_proto_rawDescData = file_SelectEffigyChallengeConditionReq_proto_rawDesc +) + +func file_SelectEffigyChallengeConditionReq_proto_rawDescGZIP() []byte { + file_SelectEffigyChallengeConditionReq_proto_rawDescOnce.Do(func() { + file_SelectEffigyChallengeConditionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectEffigyChallengeConditionReq_proto_rawDescData) + }) + return file_SelectEffigyChallengeConditionReq_proto_rawDescData +} + +var file_SelectEffigyChallengeConditionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectEffigyChallengeConditionReq_proto_goTypes = []interface{}{ + (*SelectEffigyChallengeConditionReq)(nil), // 0: SelectEffigyChallengeConditionReq +} +var file_SelectEffigyChallengeConditionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectEffigyChallengeConditionReq_proto_init() } +func file_SelectEffigyChallengeConditionReq_proto_init() { + if File_SelectEffigyChallengeConditionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectEffigyChallengeConditionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectEffigyChallengeConditionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectEffigyChallengeConditionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectEffigyChallengeConditionReq_proto_goTypes, + DependencyIndexes: file_SelectEffigyChallengeConditionReq_proto_depIdxs, + MessageInfos: file_SelectEffigyChallengeConditionReq_proto_msgTypes, + }.Build() + File_SelectEffigyChallengeConditionReq_proto = out.File + file_SelectEffigyChallengeConditionReq_proto_rawDesc = nil + file_SelectEffigyChallengeConditionReq_proto_goTypes = nil + file_SelectEffigyChallengeConditionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.proto b/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.proto new file mode 100644 index 00000000..7baa3c9b --- /dev/null +++ b/gate-hk4e-api/proto/SelectEffigyChallengeConditionReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2064 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SelectEffigyChallengeConditionReq { + uint32 difficulty_id = 15; + uint32 challenge_id = 7; + repeated uint32 condition_id_list = 9; +} diff --git a/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.pb.go b/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.pb.go new file mode 100644 index 00000000..2399dab2 --- /dev/null +++ b/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectEffigyChallengeConditionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2039 +// EnetChannelId: 0 +// EnetIsReliable: true +type SelectEffigyChallengeConditionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConditionIdList []uint32 `protobuf:"varint,12,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + DifficultyId uint32 `protobuf:"varint,7,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,2,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *SelectEffigyChallengeConditionRsp) Reset() { + *x = SelectEffigyChallengeConditionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectEffigyChallengeConditionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectEffigyChallengeConditionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectEffigyChallengeConditionRsp) ProtoMessage() {} + +func (x *SelectEffigyChallengeConditionRsp) ProtoReflect() protoreflect.Message { + mi := &file_SelectEffigyChallengeConditionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectEffigyChallengeConditionRsp.ProtoReflect.Descriptor instead. +func (*SelectEffigyChallengeConditionRsp) Descriptor() ([]byte, []int) { + return file_SelectEffigyChallengeConditionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectEffigyChallengeConditionRsp) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *SelectEffigyChallengeConditionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SelectEffigyChallengeConditionRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SelectEffigyChallengeConditionRsp) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_SelectEffigyChallengeConditionRsp_proto protoreflect.FileDescriptor + +var file_SelectEffigyChallengeConditionRsp_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x21, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, + 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, + 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SelectEffigyChallengeConditionRsp_proto_rawDescOnce sync.Once + file_SelectEffigyChallengeConditionRsp_proto_rawDescData = file_SelectEffigyChallengeConditionRsp_proto_rawDesc +) + +func file_SelectEffigyChallengeConditionRsp_proto_rawDescGZIP() []byte { + file_SelectEffigyChallengeConditionRsp_proto_rawDescOnce.Do(func() { + file_SelectEffigyChallengeConditionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectEffigyChallengeConditionRsp_proto_rawDescData) + }) + return file_SelectEffigyChallengeConditionRsp_proto_rawDescData +} + +var file_SelectEffigyChallengeConditionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectEffigyChallengeConditionRsp_proto_goTypes = []interface{}{ + (*SelectEffigyChallengeConditionRsp)(nil), // 0: SelectEffigyChallengeConditionRsp +} +var file_SelectEffigyChallengeConditionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectEffigyChallengeConditionRsp_proto_init() } +func file_SelectEffigyChallengeConditionRsp_proto_init() { + if File_SelectEffigyChallengeConditionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectEffigyChallengeConditionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectEffigyChallengeConditionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectEffigyChallengeConditionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectEffigyChallengeConditionRsp_proto_goTypes, + DependencyIndexes: file_SelectEffigyChallengeConditionRsp_proto_depIdxs, + MessageInfos: file_SelectEffigyChallengeConditionRsp_proto_msgTypes, + }.Build() + File_SelectEffigyChallengeConditionRsp_proto = out.File + file_SelectEffigyChallengeConditionRsp_proto_rawDesc = nil + file_SelectEffigyChallengeConditionRsp_proto_goTypes = nil + file_SelectEffigyChallengeConditionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.proto b/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.proto new file mode 100644 index 00000000..f6cb8e68 --- /dev/null +++ b/gate-hk4e-api/proto/SelectEffigyChallengeConditionRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2039 +// EnetChannelId: 0 +// EnetIsReliable: true +message SelectEffigyChallengeConditionRsp { + repeated uint32 condition_id_list = 12; + int32 retcode = 6; + uint32 difficulty_id = 7; + uint32 challenge_id = 2; +} diff --git a/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.pb.go b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.pb.go new file mode 100644 index 00000000..847ba7d3 --- /dev/null +++ b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectRoguelikeDungeonCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8085 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SelectRoguelikeDungeonCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,13,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *SelectRoguelikeDungeonCardReq) Reset() { + *x = SelectRoguelikeDungeonCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectRoguelikeDungeonCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectRoguelikeDungeonCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectRoguelikeDungeonCardReq) ProtoMessage() {} + +func (x *SelectRoguelikeDungeonCardReq) ProtoReflect() protoreflect.Message { + mi := &file_SelectRoguelikeDungeonCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectRoguelikeDungeonCardReq.ProtoReflect.Descriptor instead. +func (*SelectRoguelikeDungeonCardReq) Descriptor() ([]byte, []int) { + return file_SelectRoguelikeDungeonCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectRoguelikeDungeonCardReq) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_SelectRoguelikeDungeonCardReq_proto protoreflect.FileDescriptor + +var file_SelectRoguelikeDungeonCardReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, + 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SelectRoguelikeDungeonCardReq_proto_rawDescOnce sync.Once + file_SelectRoguelikeDungeonCardReq_proto_rawDescData = file_SelectRoguelikeDungeonCardReq_proto_rawDesc +) + +func file_SelectRoguelikeDungeonCardReq_proto_rawDescGZIP() []byte { + file_SelectRoguelikeDungeonCardReq_proto_rawDescOnce.Do(func() { + file_SelectRoguelikeDungeonCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectRoguelikeDungeonCardReq_proto_rawDescData) + }) + return file_SelectRoguelikeDungeonCardReq_proto_rawDescData +} + +var file_SelectRoguelikeDungeonCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectRoguelikeDungeonCardReq_proto_goTypes = []interface{}{ + (*SelectRoguelikeDungeonCardReq)(nil), // 0: SelectRoguelikeDungeonCardReq +} +var file_SelectRoguelikeDungeonCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectRoguelikeDungeonCardReq_proto_init() } +func file_SelectRoguelikeDungeonCardReq_proto_init() { + if File_SelectRoguelikeDungeonCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectRoguelikeDungeonCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectRoguelikeDungeonCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectRoguelikeDungeonCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectRoguelikeDungeonCardReq_proto_goTypes, + DependencyIndexes: file_SelectRoguelikeDungeonCardReq_proto_depIdxs, + MessageInfos: file_SelectRoguelikeDungeonCardReq_proto_msgTypes, + }.Build() + File_SelectRoguelikeDungeonCardReq_proto = out.File + file_SelectRoguelikeDungeonCardReq_proto_rawDesc = nil + file_SelectRoguelikeDungeonCardReq_proto_goTypes = nil + file_SelectRoguelikeDungeonCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.proto b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..605b8a55 --- /dev/null +++ b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8085 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SelectRoguelikeDungeonCardReq { + uint32 card_id = 13; +} diff --git a/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.pb.go b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.pb.go new file mode 100644 index 00000000..0ca5b68d --- /dev/null +++ b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectRoguelikeDungeonCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8138 +// EnetChannelId: 0 +// EnetIsReliable: true +type SelectRoguelikeDungeonCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,9,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SelectRoguelikeDungeonCardRsp) Reset() { + *x = SelectRoguelikeDungeonCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectRoguelikeDungeonCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectRoguelikeDungeonCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectRoguelikeDungeonCardRsp) ProtoMessage() {} + +func (x *SelectRoguelikeDungeonCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SelectRoguelikeDungeonCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectRoguelikeDungeonCardRsp.ProtoReflect.Descriptor instead. +func (*SelectRoguelikeDungeonCardRsp) Descriptor() ([]byte, []int) { + return file_SelectRoguelikeDungeonCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectRoguelikeDungeonCardRsp) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *SelectRoguelikeDungeonCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SelectRoguelikeDungeonCardRsp_proto protoreflect.FileDescriptor + +var file_SelectRoguelikeDungeonCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, + 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SelectRoguelikeDungeonCardRsp_proto_rawDescOnce sync.Once + file_SelectRoguelikeDungeonCardRsp_proto_rawDescData = file_SelectRoguelikeDungeonCardRsp_proto_rawDesc +) + +func file_SelectRoguelikeDungeonCardRsp_proto_rawDescGZIP() []byte { + file_SelectRoguelikeDungeonCardRsp_proto_rawDescOnce.Do(func() { + file_SelectRoguelikeDungeonCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectRoguelikeDungeonCardRsp_proto_rawDescData) + }) + return file_SelectRoguelikeDungeonCardRsp_proto_rawDescData +} + +var file_SelectRoguelikeDungeonCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectRoguelikeDungeonCardRsp_proto_goTypes = []interface{}{ + (*SelectRoguelikeDungeonCardRsp)(nil), // 0: SelectRoguelikeDungeonCardRsp +} +var file_SelectRoguelikeDungeonCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectRoguelikeDungeonCardRsp_proto_init() } +func file_SelectRoguelikeDungeonCardRsp_proto_init() { + if File_SelectRoguelikeDungeonCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectRoguelikeDungeonCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectRoguelikeDungeonCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectRoguelikeDungeonCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectRoguelikeDungeonCardRsp_proto_goTypes, + DependencyIndexes: file_SelectRoguelikeDungeonCardRsp_proto_depIdxs, + MessageInfos: file_SelectRoguelikeDungeonCardRsp_proto_msgTypes, + }.Build() + File_SelectRoguelikeDungeonCardRsp_proto = out.File + file_SelectRoguelikeDungeonCardRsp_proto_rawDesc = nil + file_SelectRoguelikeDungeonCardRsp_proto_goTypes = nil + file_SelectRoguelikeDungeonCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.proto b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..e9f25c29 --- /dev/null +++ b/gate-hk4e-api/proto/SelectRoguelikeDungeonCardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8138 +// EnetChannelId: 0 +// EnetIsReliable: true +message SelectRoguelikeDungeonCardRsp { + uint32 card_id = 9; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/SelectWorktopOptionReq.pb.go b/gate-hk4e-api/proto/SelectWorktopOptionReq.pb.go new file mode 100644 index 00000000..a0cfc92d --- /dev/null +++ b/gate-hk4e-api/proto/SelectWorktopOptionReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectWorktopOptionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 807 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SelectWorktopOptionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,12,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + OptionId uint32 `protobuf:"varint,11,opt,name=option_id,json=optionId,proto3" json:"option_id,omitempty"` +} + +func (x *SelectWorktopOptionReq) Reset() { + *x = SelectWorktopOptionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectWorktopOptionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectWorktopOptionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectWorktopOptionReq) ProtoMessage() {} + +func (x *SelectWorktopOptionReq) ProtoReflect() protoreflect.Message { + mi := &file_SelectWorktopOptionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectWorktopOptionReq.ProtoReflect.Descriptor instead. +func (*SelectWorktopOptionReq) Descriptor() ([]byte, []int) { + return file_SelectWorktopOptionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectWorktopOptionReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *SelectWorktopOptionReq) GetOptionId() uint32 { + if x != nil { + return x.OptionId + } + return 0 +} + +var File_SelectWorktopOptionReq_proto protoreflect.FileDescriptor + +var file_SelectWorktopOptionReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, + 0x0a, 0x16, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SelectWorktopOptionReq_proto_rawDescOnce sync.Once + file_SelectWorktopOptionReq_proto_rawDescData = file_SelectWorktopOptionReq_proto_rawDesc +) + +func file_SelectWorktopOptionReq_proto_rawDescGZIP() []byte { + file_SelectWorktopOptionReq_proto_rawDescOnce.Do(func() { + file_SelectWorktopOptionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectWorktopOptionReq_proto_rawDescData) + }) + return file_SelectWorktopOptionReq_proto_rawDescData +} + +var file_SelectWorktopOptionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectWorktopOptionReq_proto_goTypes = []interface{}{ + (*SelectWorktopOptionReq)(nil), // 0: SelectWorktopOptionReq +} +var file_SelectWorktopOptionReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectWorktopOptionReq_proto_init() } +func file_SelectWorktopOptionReq_proto_init() { + if File_SelectWorktopOptionReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectWorktopOptionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectWorktopOptionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectWorktopOptionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectWorktopOptionReq_proto_goTypes, + DependencyIndexes: file_SelectWorktopOptionReq_proto_depIdxs, + MessageInfos: file_SelectWorktopOptionReq_proto_msgTypes, + }.Build() + File_SelectWorktopOptionReq_proto = out.File + file_SelectWorktopOptionReq_proto_rawDesc = nil + file_SelectWorktopOptionReq_proto_goTypes = nil + file_SelectWorktopOptionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectWorktopOptionReq.proto b/gate-hk4e-api/proto/SelectWorktopOptionReq.proto new file mode 100644 index 00000000..fef6f67c --- /dev/null +++ b/gate-hk4e-api/proto/SelectWorktopOptionReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 807 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SelectWorktopOptionReq { + uint32 gadget_entity_id = 12; + uint32 option_id = 11; +} diff --git a/gate-hk4e-api/proto/SelectWorktopOptionRsp.pb.go b/gate-hk4e-api/proto/SelectWorktopOptionRsp.pb.go new file mode 100644 index 00000000..e3ec9406 --- /dev/null +++ b/gate-hk4e-api/proto/SelectWorktopOptionRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SelectWorktopOptionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 821 +// EnetChannelId: 0 +// EnetIsReliable: true +type SelectWorktopOptionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,13,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + OptionId uint32 `protobuf:"varint,7,opt,name=option_id,json=optionId,proto3" json:"option_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SelectWorktopOptionRsp) Reset() { + *x = SelectWorktopOptionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SelectWorktopOptionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SelectWorktopOptionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SelectWorktopOptionRsp) ProtoMessage() {} + +func (x *SelectWorktopOptionRsp) ProtoReflect() protoreflect.Message { + mi := &file_SelectWorktopOptionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SelectWorktopOptionRsp.ProtoReflect.Descriptor instead. +func (*SelectWorktopOptionRsp) Descriptor() ([]byte, []int) { + return file_SelectWorktopOptionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SelectWorktopOptionRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *SelectWorktopOptionRsp) GetOptionId() uint32 { + if x != nil { + return x.OptionId + } + return 0 +} + +func (x *SelectWorktopOptionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SelectWorktopOptionRsp_proto protoreflect.FileDescriptor + +var file_SelectWorktopOptionRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, + 0x0a, 0x16, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SelectWorktopOptionRsp_proto_rawDescOnce sync.Once + file_SelectWorktopOptionRsp_proto_rawDescData = file_SelectWorktopOptionRsp_proto_rawDesc +) + +func file_SelectWorktopOptionRsp_proto_rawDescGZIP() []byte { + file_SelectWorktopOptionRsp_proto_rawDescOnce.Do(func() { + file_SelectWorktopOptionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SelectWorktopOptionRsp_proto_rawDescData) + }) + return file_SelectWorktopOptionRsp_proto_rawDescData +} + +var file_SelectWorktopOptionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SelectWorktopOptionRsp_proto_goTypes = []interface{}{ + (*SelectWorktopOptionRsp)(nil), // 0: SelectWorktopOptionRsp +} +var file_SelectWorktopOptionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SelectWorktopOptionRsp_proto_init() } +func file_SelectWorktopOptionRsp_proto_init() { + if File_SelectWorktopOptionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SelectWorktopOptionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SelectWorktopOptionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SelectWorktopOptionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SelectWorktopOptionRsp_proto_goTypes, + DependencyIndexes: file_SelectWorktopOptionRsp_proto_depIdxs, + MessageInfos: file_SelectWorktopOptionRsp_proto_msgTypes, + }.Build() + File_SelectWorktopOptionRsp_proto = out.File + file_SelectWorktopOptionRsp_proto_rawDesc = nil + file_SelectWorktopOptionRsp_proto_goTypes = nil + file_SelectWorktopOptionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SelectWorktopOptionRsp.proto b/gate-hk4e-api/proto/SelectWorktopOptionRsp.proto new file mode 100644 index 00000000..78317600 --- /dev/null +++ b/gate-hk4e-api/proto/SelectWorktopOptionRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 821 +// EnetChannelId: 0 +// EnetIsReliable: true +message SelectWorktopOptionRsp { + uint32 gadget_entity_id = 13; + uint32 option_id = 7; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/ServantInfo.pb.go b/gate-hk4e-api/proto/ServantInfo.pb.go new file mode 100644 index 00000000..6b4f89ed --- /dev/null +++ b/gate-hk4e-api/proto/ServantInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServantInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServantInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MasterEntityId uint32 `protobuf:"varint,1,opt,name=master_entity_id,json=masterEntityId,proto3" json:"master_entity_id,omitempty"` + BornSlotIndex uint32 `protobuf:"varint,2,opt,name=born_slot_index,json=bornSlotIndex,proto3" json:"born_slot_index,omitempty"` +} + +func (x *ServantInfo) Reset() { + *x = ServantInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ServantInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServantInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServantInfo) ProtoMessage() {} + +func (x *ServantInfo) ProtoReflect() protoreflect.Message { + mi := &file_ServantInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServantInfo.ProtoReflect.Descriptor instead. +func (*ServantInfo) Descriptor() ([]byte, []int) { + return file_ServantInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ServantInfo) GetMasterEntityId() uint32 { + if x != nil { + return x.MasterEntityId + } + return 0 +} + +func (x *ServantInfo) GetBornSlotIndex() uint32 { + if x != nil { + return x.BornSlotIndex + } + return 0 +} + +var File_ServantInfo_proto protoreflect.FileDescriptor + +var file_ServantInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x61, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x62, 0x6f, 0x72, 0x6e, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x62, 0x6f, 0x72, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServantInfo_proto_rawDescOnce sync.Once + file_ServantInfo_proto_rawDescData = file_ServantInfo_proto_rawDesc +) + +func file_ServantInfo_proto_rawDescGZIP() []byte { + file_ServantInfo_proto_rawDescOnce.Do(func() { + file_ServantInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServantInfo_proto_rawDescData) + }) + return file_ServantInfo_proto_rawDescData +} + +var file_ServantInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServantInfo_proto_goTypes = []interface{}{ + (*ServantInfo)(nil), // 0: ServantInfo +} +var file_ServantInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServantInfo_proto_init() } +func file_ServantInfo_proto_init() { + if File_ServantInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServantInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServantInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServantInfo_proto_goTypes, + DependencyIndexes: file_ServantInfo_proto_depIdxs, + MessageInfos: file_ServantInfo_proto_msgTypes, + }.Build() + File_ServantInfo_proto = out.File + file_ServantInfo_proto_rawDesc = nil + file_ServantInfo_proto_goTypes = nil + file_ServantInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServantInfo.proto b/gate-hk4e-api/proto/ServantInfo.proto new file mode 100644 index 00000000..e1473f3d --- /dev/null +++ b/gate-hk4e-api/proto/ServantInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ServantInfo { + uint32 master_entity_id = 1; + uint32 born_slot_index = 2; +} diff --git a/gate-hk4e-api/proto/ServerAnnounceNotify.pb.go b/gate-hk4e-api/proto/ServerAnnounceNotify.pb.go new file mode 100644 index 00000000..ca996541 --- /dev/null +++ b/gate-hk4e-api/proto/ServerAnnounceNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerAnnounceNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2197 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerAnnounceNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnnounceDataList []*AnnounceData `protobuf:"bytes,11,rep,name=announce_data_list,json=announceDataList,proto3" json:"announce_data_list,omitempty"` +} + +func (x *ServerAnnounceNotify) Reset() { + *x = ServerAnnounceNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerAnnounceNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerAnnounceNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerAnnounceNotify) ProtoMessage() {} + +func (x *ServerAnnounceNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerAnnounceNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerAnnounceNotify.ProtoReflect.Descriptor instead. +func (*ServerAnnounceNotify) Descriptor() ([]byte, []int) { + return file_ServerAnnounceNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerAnnounceNotify) GetAnnounceDataList() []*AnnounceData { + if x != nil { + return x.AnnounceDataList + } + return nil +} + +var File_ServerAnnounceNotify_proto protoreflect.FileDescriptor + +var file_ServerAnnounceNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x41, 0x6e, + 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x53, 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, + 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3b, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, + 0x75, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerAnnounceNotify_proto_rawDescOnce sync.Once + file_ServerAnnounceNotify_proto_rawDescData = file_ServerAnnounceNotify_proto_rawDesc +) + +func file_ServerAnnounceNotify_proto_rawDescGZIP() []byte { + file_ServerAnnounceNotify_proto_rawDescOnce.Do(func() { + file_ServerAnnounceNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerAnnounceNotify_proto_rawDescData) + }) + return file_ServerAnnounceNotify_proto_rawDescData +} + +var file_ServerAnnounceNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerAnnounceNotify_proto_goTypes = []interface{}{ + (*ServerAnnounceNotify)(nil), // 0: ServerAnnounceNotify + (*AnnounceData)(nil), // 1: AnnounceData +} +var file_ServerAnnounceNotify_proto_depIdxs = []int32{ + 1, // 0: ServerAnnounceNotify.announce_data_list:type_name -> AnnounceData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ServerAnnounceNotify_proto_init() } +func file_ServerAnnounceNotify_proto_init() { + if File_ServerAnnounceNotify_proto != nil { + return + } + file_AnnounceData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ServerAnnounceNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerAnnounceNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerAnnounceNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerAnnounceNotify_proto_goTypes, + DependencyIndexes: file_ServerAnnounceNotify_proto_depIdxs, + MessageInfos: file_ServerAnnounceNotify_proto_msgTypes, + }.Build() + File_ServerAnnounceNotify_proto = out.File + file_ServerAnnounceNotify_proto_rawDesc = nil + file_ServerAnnounceNotify_proto_goTypes = nil + file_ServerAnnounceNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerAnnounceNotify.proto b/gate-hk4e-api/proto/ServerAnnounceNotify.proto new file mode 100644 index 00000000..2eef773e --- /dev/null +++ b/gate-hk4e-api/proto/ServerAnnounceNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnnounceData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2197 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerAnnounceNotify { + repeated AnnounceData announce_data_list = 11; +} diff --git a/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.pb.go b/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.pb.go new file mode 100644 index 00000000..766db3a9 --- /dev/null +++ b/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerAnnounceRevokeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2092 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerAnnounceRevokeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigIdList []uint32 `protobuf:"varint,15,rep,packed,name=config_id_list,json=configIdList,proto3" json:"config_id_list,omitempty"` +} + +func (x *ServerAnnounceRevokeNotify) Reset() { + *x = ServerAnnounceRevokeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerAnnounceRevokeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerAnnounceRevokeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerAnnounceRevokeNotify) ProtoMessage() {} + +func (x *ServerAnnounceRevokeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerAnnounceRevokeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerAnnounceRevokeNotify.ProtoReflect.Descriptor instead. +func (*ServerAnnounceRevokeNotify) Descriptor() ([]byte, []int) { + return file_ServerAnnounceRevokeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerAnnounceRevokeNotify) GetConfigIdList() []uint32 { + if x != nil { + return x.ConfigIdList + } + return nil +} + +var File_ServerAnnounceRevokeNotify_proto protoreflect.FileDescriptor + +var file_ServerAnnounceRevokeNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x1a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x6e, 0x6e, 0x6f, + 0x75, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerAnnounceRevokeNotify_proto_rawDescOnce sync.Once + file_ServerAnnounceRevokeNotify_proto_rawDescData = file_ServerAnnounceRevokeNotify_proto_rawDesc +) + +func file_ServerAnnounceRevokeNotify_proto_rawDescGZIP() []byte { + file_ServerAnnounceRevokeNotify_proto_rawDescOnce.Do(func() { + file_ServerAnnounceRevokeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerAnnounceRevokeNotify_proto_rawDescData) + }) + return file_ServerAnnounceRevokeNotify_proto_rawDescData +} + +var file_ServerAnnounceRevokeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerAnnounceRevokeNotify_proto_goTypes = []interface{}{ + (*ServerAnnounceRevokeNotify)(nil), // 0: ServerAnnounceRevokeNotify +} +var file_ServerAnnounceRevokeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerAnnounceRevokeNotify_proto_init() } +func file_ServerAnnounceRevokeNotify_proto_init() { + if File_ServerAnnounceRevokeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerAnnounceRevokeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerAnnounceRevokeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerAnnounceRevokeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerAnnounceRevokeNotify_proto_goTypes, + DependencyIndexes: file_ServerAnnounceRevokeNotify_proto_depIdxs, + MessageInfos: file_ServerAnnounceRevokeNotify_proto_msgTypes, + }.Build() + File_ServerAnnounceRevokeNotify_proto = out.File + file_ServerAnnounceRevokeNotify_proto_rawDesc = nil + file_ServerAnnounceRevokeNotify_proto_goTypes = nil + file_ServerAnnounceRevokeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.proto b/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.proto new file mode 100644 index 00000000..43302653 --- /dev/null +++ b/gate-hk4e-api/proto/ServerAnnounceRevokeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2092 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerAnnounceRevokeNotify { + repeated uint32 config_id_list = 15; +} diff --git a/gate-hk4e-api/proto/ServerBuff.pb.go b/gate-hk4e-api/proto/ServerBuff.pb.go new file mode 100644 index 00000000..3f329125 --- /dev/null +++ b/gate-hk4e-api/proto/ServerBuff.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerBuff.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerBuff struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerBuffUid uint32 `protobuf:"varint,1,opt,name=server_buff_uid,json=serverBuffUid,proto3" json:"server_buff_uid,omitempty"` + ServerBuffId uint32 `protobuf:"varint,2,opt,name=server_buff_id,json=serverBuffId,proto3" json:"server_buff_id,omitempty"` + ServerBuffType uint32 `protobuf:"varint,3,opt,name=server_buff_type,json=serverBuffType,proto3" json:"server_buff_type,omitempty"` + InstancedModifierId uint32 `protobuf:"varint,4,opt,name=instanced_modifier_id,json=instancedModifierId,proto3" json:"instanced_modifier_id,omitempty"` + IsModifierAdded bool `protobuf:"varint,5,opt,name=is_modifier_added,json=isModifierAdded,proto3" json:"is_modifier_added,omitempty"` +} + +func (x *ServerBuff) Reset() { + *x = ServerBuff{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerBuff_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerBuff) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerBuff) ProtoMessage() {} + +func (x *ServerBuff) ProtoReflect() protoreflect.Message { + mi := &file_ServerBuff_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerBuff.ProtoReflect.Descriptor instead. +func (*ServerBuff) Descriptor() ([]byte, []int) { + return file_ServerBuff_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerBuff) GetServerBuffUid() uint32 { + if x != nil { + return x.ServerBuffUid + } + return 0 +} + +func (x *ServerBuff) GetServerBuffId() uint32 { + if x != nil { + return x.ServerBuffId + } + return 0 +} + +func (x *ServerBuff) GetServerBuffType() uint32 { + if x != nil { + return x.ServerBuffType + } + return 0 +} + +func (x *ServerBuff) GetInstancedModifierId() uint32 { + if x != nil { + return x.InstancedModifierId + } + return 0 +} + +func (x *ServerBuff) GetIsModifierAdded() bool { + if x != nil { + return x.IsModifierAdded + } + return false +} + +var File_ServerBuff_proto protoreflect.FileDescriptor + +var file_ServerBuff_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, + 0x66, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, + 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x55, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, + 0x28, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x42, 0x75, 0x66, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, + 0x11, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x4d, 0x6f, 0x64, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerBuff_proto_rawDescOnce sync.Once + file_ServerBuff_proto_rawDescData = file_ServerBuff_proto_rawDesc +) + +func file_ServerBuff_proto_rawDescGZIP() []byte { + file_ServerBuff_proto_rawDescOnce.Do(func() { + file_ServerBuff_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerBuff_proto_rawDescData) + }) + return file_ServerBuff_proto_rawDescData +} + +var file_ServerBuff_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerBuff_proto_goTypes = []interface{}{ + (*ServerBuff)(nil), // 0: ServerBuff +} +var file_ServerBuff_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerBuff_proto_init() } +func file_ServerBuff_proto_init() { + if File_ServerBuff_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerBuff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerBuff); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerBuff_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerBuff_proto_goTypes, + DependencyIndexes: file_ServerBuff_proto_depIdxs, + MessageInfos: file_ServerBuff_proto_msgTypes, + }.Build() + File_ServerBuff_proto = out.File + file_ServerBuff_proto_rawDesc = nil + file_ServerBuff_proto_goTypes = nil + file_ServerBuff_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerBuff.proto b/gate-hk4e-api/proto/ServerBuff.proto new file mode 100644 index 00000000..eb2dd805 --- /dev/null +++ b/gate-hk4e-api/proto/ServerBuff.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ServerBuff { + uint32 server_buff_uid = 1; + uint32 server_buff_id = 2; + uint32 server_buff_type = 3; + uint32 instanced_modifier_id = 4; + bool is_modifier_added = 5; +} diff --git a/gate-hk4e-api/proto/ServerBuffChangeNotify.pb.go b/gate-hk4e-api/proto/ServerBuffChangeNotify.pb.go new file mode 100644 index 00000000..36b3edb0 --- /dev/null +++ b/gate-hk4e-api/proto/ServerBuffChangeNotify.pb.go @@ -0,0 +1,271 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerBuffChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerBuffChangeNotify_ServerBuffChangeType int32 + +const ( + ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF ServerBuffChangeNotify_ServerBuffChangeType = 0 + ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF ServerBuffChangeNotify_ServerBuffChangeType = 1 +) + +// Enum value maps for ServerBuffChangeNotify_ServerBuffChangeType. +var ( + ServerBuffChangeNotify_ServerBuffChangeType_name = map[int32]string{ + 0: "SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF", + 1: "SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF", + } + ServerBuffChangeNotify_ServerBuffChangeType_value = map[string]int32{ + "SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF": 0, + "SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF": 1, + } +) + +func (x ServerBuffChangeNotify_ServerBuffChangeType) Enum() *ServerBuffChangeNotify_ServerBuffChangeType { + p := new(ServerBuffChangeNotify_ServerBuffChangeType) + *p = x + return p +} + +func (x ServerBuffChangeNotify_ServerBuffChangeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServerBuffChangeNotify_ServerBuffChangeType) Descriptor() protoreflect.EnumDescriptor { + return file_ServerBuffChangeNotify_proto_enumTypes[0].Descriptor() +} + +func (ServerBuffChangeNotify_ServerBuffChangeType) Type() protoreflect.EnumType { + return &file_ServerBuffChangeNotify_proto_enumTypes[0] +} + +func (x ServerBuffChangeNotify_ServerBuffChangeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ServerBuffChangeNotify_ServerBuffChangeType.Descriptor instead. +func (ServerBuffChangeNotify_ServerBuffChangeType) EnumDescriptor() ([]byte, []int) { + return file_ServerBuffChangeNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 361 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerBuffChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerBuffChangeType ServerBuffChangeNotify_ServerBuffChangeType `protobuf:"varint,7,opt,name=server_buff_change_type,json=serverBuffChangeType,proto3,enum=ServerBuffChangeNotify_ServerBuffChangeType" json:"server_buff_change_type,omitempty"` + IsCreatureBuff bool `protobuf:"varint,10,opt,name=is_creature_buff,json=isCreatureBuff,proto3" json:"is_creature_buff,omitempty"` + EntityIdList []uint32 `protobuf:"varint,1,rep,packed,name=entity_id_list,json=entityIdList,proto3" json:"entity_id_list,omitempty"` + AvatarGuidList []uint64 `protobuf:"varint,12,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` + ServerBuffList []*ServerBuff `protobuf:"bytes,11,rep,name=server_buff_list,json=serverBuffList,proto3" json:"server_buff_list,omitempty"` +} + +func (x *ServerBuffChangeNotify) Reset() { + *x = ServerBuffChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerBuffChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerBuffChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerBuffChangeNotify) ProtoMessage() {} + +func (x *ServerBuffChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerBuffChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerBuffChangeNotify.ProtoReflect.Descriptor instead. +func (*ServerBuffChangeNotify) Descriptor() ([]byte, []int) { + return file_ServerBuffChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerBuffChangeNotify) GetServerBuffChangeType() ServerBuffChangeNotify_ServerBuffChangeType { + if x != nil { + return x.ServerBuffChangeType + } + return ServerBuffChangeNotify_SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF +} + +func (x *ServerBuffChangeNotify) GetIsCreatureBuff() bool { + if x != nil { + return x.IsCreatureBuff + } + return false +} + +func (x *ServerBuffChangeNotify) GetEntityIdList() []uint32 { + if x != nil { + return x.EntityIdList + } + return nil +} + +func (x *ServerBuffChangeNotify) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +func (x *ServerBuffChangeNotify) GetServerBuffList() []*ServerBuff { + if x != nil { + return x.ServerBuffList + } + return nil +} + +var File_ServerBuffChangeNotify_proto protoreflect.FileDescriptor + +var file_ServerBuffChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xa0, 0x03, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x63, 0x0a, 0x17, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x14, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, + 0x62, 0x75, 0x66, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x75, 0x66, 0x66, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x10, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, + 0x66, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x70, 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x45, 0x52, + 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, + 0x42, 0x55, 0x46, 0x46, 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, + 0x5f, 0x42, 0x55, 0x46, 0x46, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x46, + 0x46, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerBuffChangeNotify_proto_rawDescOnce sync.Once + file_ServerBuffChangeNotify_proto_rawDescData = file_ServerBuffChangeNotify_proto_rawDesc +) + +func file_ServerBuffChangeNotify_proto_rawDescGZIP() []byte { + file_ServerBuffChangeNotify_proto_rawDescOnce.Do(func() { + file_ServerBuffChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerBuffChangeNotify_proto_rawDescData) + }) + return file_ServerBuffChangeNotify_proto_rawDescData +} + +var file_ServerBuffChangeNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ServerBuffChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerBuffChangeNotify_proto_goTypes = []interface{}{ + (ServerBuffChangeNotify_ServerBuffChangeType)(0), // 0: ServerBuffChangeNotify.ServerBuffChangeType + (*ServerBuffChangeNotify)(nil), // 1: ServerBuffChangeNotify + (*ServerBuff)(nil), // 2: ServerBuff +} +var file_ServerBuffChangeNotify_proto_depIdxs = []int32{ + 0, // 0: ServerBuffChangeNotify.server_buff_change_type:type_name -> ServerBuffChangeNotify.ServerBuffChangeType + 2, // 1: ServerBuffChangeNotify.server_buff_list:type_name -> ServerBuff + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ServerBuffChangeNotify_proto_init() } +func file_ServerBuffChangeNotify_proto_init() { + if File_ServerBuffChangeNotify_proto != nil { + return + } + file_ServerBuff_proto_init() + if !protoimpl.UnsafeEnabled { + file_ServerBuffChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerBuffChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerBuffChangeNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerBuffChangeNotify_proto_goTypes, + DependencyIndexes: file_ServerBuffChangeNotify_proto_depIdxs, + EnumInfos: file_ServerBuffChangeNotify_proto_enumTypes, + MessageInfos: file_ServerBuffChangeNotify_proto_msgTypes, + }.Build() + File_ServerBuffChangeNotify_proto = out.File + file_ServerBuffChangeNotify_proto_rawDesc = nil + file_ServerBuffChangeNotify_proto_goTypes = nil + file_ServerBuffChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerBuffChangeNotify.proto b/gate-hk4e-api/proto/ServerBuffChangeNotify.proto new file mode 100644 index 00000000..30729967 --- /dev/null +++ b/gate-hk4e-api/proto/ServerBuffChangeNotify.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ServerBuff.proto"; + +option go_package = "./;proto"; + +// CmdId: 361 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerBuffChangeNotify { + ServerBuffChangeType server_buff_change_type = 7; + bool is_creature_buff = 10; + repeated uint32 entity_id_list = 1; + repeated uint64 avatar_guid_list = 12; + repeated ServerBuff server_buff_list = 11; + + enum ServerBuffChangeType { + SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0; + SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1; + } +} diff --git a/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.pb.go b/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.pb.go new file mode 100644 index 00000000..735412f5 --- /dev/null +++ b/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerCondMeetQuestListUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 406 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerCondMeetQuestListUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelQuestIdList []uint32 `protobuf:"varint,1,rep,packed,name=del_quest_id_list,json=delQuestIdList,proto3" json:"del_quest_id_list,omitempty"` + AddQuestIdList []uint32 `protobuf:"varint,12,rep,packed,name=add_quest_id_list,json=addQuestIdList,proto3" json:"add_quest_id_list,omitempty"` +} + +func (x *ServerCondMeetQuestListUpdateNotify) Reset() { + *x = ServerCondMeetQuestListUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerCondMeetQuestListUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerCondMeetQuestListUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerCondMeetQuestListUpdateNotify) ProtoMessage() {} + +func (x *ServerCondMeetQuestListUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerCondMeetQuestListUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerCondMeetQuestListUpdateNotify.ProtoReflect.Descriptor instead. +func (*ServerCondMeetQuestListUpdateNotify) Descriptor() ([]byte, []int) { + return file_ServerCondMeetQuestListUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerCondMeetQuestListUpdateNotify) GetDelQuestIdList() []uint32 { + if x != nil { + return x.DelQuestIdList + } + return nil +} + +func (x *ServerCondMeetQuestListUpdateNotify) GetAddQuestIdList() []uint32 { + if x != nil { + return x.AddQuestIdList + } + return nil +} + +var File_ServerCondMeetQuestListUpdateNotify_proto protoreflect.FileDescriptor + +var file_ServerCondMeetQuestListUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x4d, 0x65, 0x65, 0x74, + 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x23, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x4d, 0x65, 0x65, 0x74, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x29, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x64, + 0x65, 0x6c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, 0x0a, + 0x11, 0x61, 0x64, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x51, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerCondMeetQuestListUpdateNotify_proto_rawDescOnce sync.Once + file_ServerCondMeetQuestListUpdateNotify_proto_rawDescData = file_ServerCondMeetQuestListUpdateNotify_proto_rawDesc +) + +func file_ServerCondMeetQuestListUpdateNotify_proto_rawDescGZIP() []byte { + file_ServerCondMeetQuestListUpdateNotify_proto_rawDescOnce.Do(func() { + file_ServerCondMeetQuestListUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerCondMeetQuestListUpdateNotify_proto_rawDescData) + }) + return file_ServerCondMeetQuestListUpdateNotify_proto_rawDescData +} + +var file_ServerCondMeetQuestListUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerCondMeetQuestListUpdateNotify_proto_goTypes = []interface{}{ + (*ServerCondMeetQuestListUpdateNotify)(nil), // 0: ServerCondMeetQuestListUpdateNotify +} +var file_ServerCondMeetQuestListUpdateNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerCondMeetQuestListUpdateNotify_proto_init() } +func file_ServerCondMeetQuestListUpdateNotify_proto_init() { + if File_ServerCondMeetQuestListUpdateNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerCondMeetQuestListUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerCondMeetQuestListUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerCondMeetQuestListUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerCondMeetQuestListUpdateNotify_proto_goTypes, + DependencyIndexes: file_ServerCondMeetQuestListUpdateNotify_proto_depIdxs, + MessageInfos: file_ServerCondMeetQuestListUpdateNotify_proto_msgTypes, + }.Build() + File_ServerCondMeetQuestListUpdateNotify_proto = out.File + file_ServerCondMeetQuestListUpdateNotify_proto_rawDesc = nil + file_ServerCondMeetQuestListUpdateNotify_proto_goTypes = nil + file_ServerCondMeetQuestListUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.proto b/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.proto new file mode 100644 index 00000000..dfdc6f6b --- /dev/null +++ b/gate-hk4e-api/proto/ServerCondMeetQuestListUpdateNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 406 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerCondMeetQuestListUpdateNotify { + repeated uint32 del_quest_id_list = 1; + repeated uint32 add_quest_id_list = 12; +} diff --git a/gate-hk4e-api/proto/ServerDisconnectClientNotify.pb.go b/gate-hk4e-api/proto/ServerDisconnectClientNotify.pb.go new file mode 100644 index 00000000..f205240d --- /dev/null +++ b/gate-hk4e-api/proto/ServerDisconnectClientNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerDisconnectClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 184 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerDisconnectClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data uint32 `protobuf:"varint,10,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *ServerDisconnectClientNotify) Reset() { + *x = ServerDisconnectClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerDisconnectClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerDisconnectClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerDisconnectClientNotify) ProtoMessage() {} + +func (x *ServerDisconnectClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerDisconnectClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerDisconnectClientNotify.ProtoReflect.Descriptor instead. +func (*ServerDisconnectClientNotify) Descriptor() ([]byte, []int) { + return file_ServerDisconnectClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerDisconnectClientNotify) GetData() uint32 { + if x != nil { + return x.Data + } + return 0 +} + +var File_ServerDisconnectClientNotify_proto protoreflect.FileDescriptor + +var file_ServerDisconnectClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x1c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x69, + 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerDisconnectClientNotify_proto_rawDescOnce sync.Once + file_ServerDisconnectClientNotify_proto_rawDescData = file_ServerDisconnectClientNotify_proto_rawDesc +) + +func file_ServerDisconnectClientNotify_proto_rawDescGZIP() []byte { + file_ServerDisconnectClientNotify_proto_rawDescOnce.Do(func() { + file_ServerDisconnectClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerDisconnectClientNotify_proto_rawDescData) + }) + return file_ServerDisconnectClientNotify_proto_rawDescData +} + +var file_ServerDisconnectClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerDisconnectClientNotify_proto_goTypes = []interface{}{ + (*ServerDisconnectClientNotify)(nil), // 0: ServerDisconnectClientNotify +} +var file_ServerDisconnectClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerDisconnectClientNotify_proto_init() } +func file_ServerDisconnectClientNotify_proto_init() { + if File_ServerDisconnectClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerDisconnectClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerDisconnectClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerDisconnectClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerDisconnectClientNotify_proto_goTypes, + DependencyIndexes: file_ServerDisconnectClientNotify_proto_depIdxs, + MessageInfos: file_ServerDisconnectClientNotify_proto_msgTypes, + }.Build() + File_ServerDisconnectClientNotify_proto = out.File + file_ServerDisconnectClientNotify_proto_rawDesc = nil + file_ServerDisconnectClientNotify_proto_goTypes = nil + file_ServerDisconnectClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerDisconnectClientNotify.proto b/gate-hk4e-api/proto/ServerDisconnectClientNotify.proto new file mode 100644 index 00000000..affc931a --- /dev/null +++ b/gate-hk4e-api/proto/ServerDisconnectClientNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 184 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerDisconnectClientNotify { + uint32 data = 10; +} diff --git a/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.pb.go b/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.pb.go new file mode 100644 index 00000000..b8273aa7 --- /dev/null +++ b/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerGlobalValueChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1197 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerGlobalValueChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Value float32 `protobuf:"fixed32,12,opt,name=value,proto3" json:"value,omitempty"` + KeyHash uint32 `protobuf:"varint,13,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"` +} + +func (x *ServerGlobalValueChangeNotify) Reset() { + *x = ServerGlobalValueChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerGlobalValueChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerGlobalValueChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerGlobalValueChangeNotify) ProtoMessage() {} + +func (x *ServerGlobalValueChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerGlobalValueChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerGlobalValueChangeNotify.ProtoReflect.Descriptor instead. +func (*ServerGlobalValueChangeNotify) Descriptor() ([]byte, []int) { + return file_ServerGlobalValueChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerGlobalValueChangeNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ServerGlobalValueChangeNotify) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *ServerGlobalValueChangeNotify) GetKeyHash() uint32 { + if x != nil { + return x.KeyHash + } + return 0 +} + +var File_ServerGlobalValueChangeNotify_proto protoreflect.FileDescriptor + +var file_ServerGlobalValueChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x1d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6b, 0x65, 0x79, + 0x48, 0x61, 0x73, 0x68, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerGlobalValueChangeNotify_proto_rawDescOnce sync.Once + file_ServerGlobalValueChangeNotify_proto_rawDescData = file_ServerGlobalValueChangeNotify_proto_rawDesc +) + +func file_ServerGlobalValueChangeNotify_proto_rawDescGZIP() []byte { + file_ServerGlobalValueChangeNotify_proto_rawDescOnce.Do(func() { + file_ServerGlobalValueChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerGlobalValueChangeNotify_proto_rawDescData) + }) + return file_ServerGlobalValueChangeNotify_proto_rawDescData +} + +var file_ServerGlobalValueChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerGlobalValueChangeNotify_proto_goTypes = []interface{}{ + (*ServerGlobalValueChangeNotify)(nil), // 0: ServerGlobalValueChangeNotify +} +var file_ServerGlobalValueChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerGlobalValueChangeNotify_proto_init() } +func file_ServerGlobalValueChangeNotify_proto_init() { + if File_ServerGlobalValueChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerGlobalValueChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerGlobalValueChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerGlobalValueChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerGlobalValueChangeNotify_proto_goTypes, + DependencyIndexes: file_ServerGlobalValueChangeNotify_proto_depIdxs, + MessageInfos: file_ServerGlobalValueChangeNotify_proto_msgTypes, + }.Build() + File_ServerGlobalValueChangeNotify_proto = out.File + file_ServerGlobalValueChangeNotify_proto_rawDesc = nil + file_ServerGlobalValueChangeNotify_proto_goTypes = nil + file_ServerGlobalValueChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.proto b/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.proto new file mode 100644 index 00000000..e0cc65da --- /dev/null +++ b/gate-hk4e-api/proto/ServerGlobalValueChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1197 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerGlobalValueChangeNotify { + uint32 entity_id = 6; + float value = 12; + uint32 key_hash = 13; +} diff --git a/gate-hk4e-api/proto/ServerLogLevel.pb.go b/gate-hk4e-api/proto/ServerLogLevel.pb.go new file mode 100644 index 00000000..a966660a --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogLevel.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerLogLevel.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerLogLevel int32 + +const ( + ServerLogLevel_SERVER_LOG_LEVEL_NONE ServerLogLevel = 0 + ServerLogLevel_SERVER_LOG_LEVEL_DEBUG ServerLogLevel = 1 + ServerLogLevel_SERVER_LOG_LEVEL_INFO ServerLogLevel = 2 + ServerLogLevel_SERVER_LOG_LEVEL_WARNING ServerLogLevel = 3 + ServerLogLevel_SERVER_LOG_LEVEL_ERROR ServerLogLevel = 4 +) + +// Enum value maps for ServerLogLevel. +var ( + ServerLogLevel_name = map[int32]string{ + 0: "SERVER_LOG_LEVEL_NONE", + 1: "SERVER_LOG_LEVEL_DEBUG", + 2: "SERVER_LOG_LEVEL_INFO", + 3: "SERVER_LOG_LEVEL_WARNING", + 4: "SERVER_LOG_LEVEL_ERROR", + } + ServerLogLevel_value = map[string]int32{ + "SERVER_LOG_LEVEL_NONE": 0, + "SERVER_LOG_LEVEL_DEBUG": 1, + "SERVER_LOG_LEVEL_INFO": 2, + "SERVER_LOG_LEVEL_WARNING": 3, + "SERVER_LOG_LEVEL_ERROR": 4, + } +) + +func (x ServerLogLevel) Enum() *ServerLogLevel { + p := new(ServerLogLevel) + *p = x + return p +} + +func (x ServerLogLevel) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServerLogLevel) Descriptor() protoreflect.EnumDescriptor { + return file_ServerLogLevel_proto_enumTypes[0].Descriptor() +} + +func (ServerLogLevel) Type() protoreflect.EnumType { + return &file_ServerLogLevel_proto_enumTypes[0] +} + +func (x ServerLogLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ServerLogLevel.Descriptor instead. +func (ServerLogLevel) EnumDescriptor() ([]byte, []int) { + return file_ServerLogLevel_proto_rawDescGZIP(), []int{0} +} + +var File_ServerLogLevel_proto protoreflect.FileDescriptor + +var file_ServerLogLevel_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x52, + 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4c, + 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, + 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x53, + 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, + 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x52, + 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerLogLevel_proto_rawDescOnce sync.Once + file_ServerLogLevel_proto_rawDescData = file_ServerLogLevel_proto_rawDesc +) + +func file_ServerLogLevel_proto_rawDescGZIP() []byte { + file_ServerLogLevel_proto_rawDescOnce.Do(func() { + file_ServerLogLevel_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerLogLevel_proto_rawDescData) + }) + return file_ServerLogLevel_proto_rawDescData +} + +var file_ServerLogLevel_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ServerLogLevel_proto_goTypes = []interface{}{ + (ServerLogLevel)(0), // 0: ServerLogLevel +} +var file_ServerLogLevel_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerLogLevel_proto_init() } +func file_ServerLogLevel_proto_init() { + if File_ServerLogLevel_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerLogLevel_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerLogLevel_proto_goTypes, + DependencyIndexes: file_ServerLogLevel_proto_depIdxs, + EnumInfos: file_ServerLogLevel_proto_enumTypes, + }.Build() + File_ServerLogLevel_proto = out.File + file_ServerLogLevel_proto_rawDesc = nil + file_ServerLogLevel_proto_goTypes = nil + file_ServerLogLevel_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerLogLevel.proto b/gate-hk4e-api/proto/ServerLogLevel.proto new file mode 100644 index 00000000..34685cba --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogLevel.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ServerLogLevel { + SERVER_LOG_LEVEL_NONE = 0; + SERVER_LOG_LEVEL_DEBUG = 1; + SERVER_LOG_LEVEL_INFO = 2; + SERVER_LOG_LEVEL_WARNING = 3; + SERVER_LOG_LEVEL_ERROR = 4; +} diff --git a/gate-hk4e-api/proto/ServerLogNotify.pb.go b/gate-hk4e-api/proto/ServerLogNotify.pb.go new file mode 100644 index 00000000..fb3673ed --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogNotify.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerLogNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 31 +// EnetChannelId: 1 +// EnetIsReliable: true +type ServerLogNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerLog string `protobuf:"bytes,7,opt,name=server_log,json=serverLog,proto3" json:"server_log,omitempty"` + LogType ServerLogType `protobuf:"varint,9,opt,name=log_type,json=logType,proto3,enum=ServerLogType" json:"log_type,omitempty"` + LogLevel ServerLogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,proto3,enum=ServerLogLevel" json:"log_level,omitempty"` +} + +func (x *ServerLogNotify) Reset() { + *x = ServerLogNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerLogNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerLogNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerLogNotify) ProtoMessage() {} + +func (x *ServerLogNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerLogNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerLogNotify.ProtoReflect.Descriptor instead. +func (*ServerLogNotify) Descriptor() ([]byte, []int) { + return file_ServerLogNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerLogNotify) GetServerLog() string { + if x != nil { + return x.ServerLog + } + return "" +} + +func (x *ServerLogNotify) GetLogType() ServerLogType { + if x != nil { + return x.LogType + } + return ServerLogType_SERVER_LOG_TYPE_NONE +} + +func (x *ServerLogNotify) GetLogLevel() ServerLogLevel { + if x != nil { + return x.LogLevel + } + return ServerLogLevel_SERVER_LOG_LEVEL_NONE +} + +var File_ServerLogNotify_proto protoreflect.FileDescriptor + +var file_ServerLogNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, + 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x29, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x2c, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ServerLogNotify_proto_rawDescOnce sync.Once + file_ServerLogNotify_proto_rawDescData = file_ServerLogNotify_proto_rawDesc +) + +func file_ServerLogNotify_proto_rawDescGZIP() []byte { + file_ServerLogNotify_proto_rawDescOnce.Do(func() { + file_ServerLogNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerLogNotify_proto_rawDescData) + }) + return file_ServerLogNotify_proto_rawDescData +} + +var file_ServerLogNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerLogNotify_proto_goTypes = []interface{}{ + (*ServerLogNotify)(nil), // 0: ServerLogNotify + (ServerLogType)(0), // 1: ServerLogType + (ServerLogLevel)(0), // 2: ServerLogLevel +} +var file_ServerLogNotify_proto_depIdxs = []int32{ + 1, // 0: ServerLogNotify.log_type:type_name -> ServerLogType + 2, // 1: ServerLogNotify.log_level:type_name -> ServerLogLevel + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ServerLogNotify_proto_init() } +func file_ServerLogNotify_proto_init() { + if File_ServerLogNotify_proto != nil { + return + } + file_ServerLogLevel_proto_init() + file_ServerLogType_proto_init() + if !protoimpl.UnsafeEnabled { + file_ServerLogNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerLogNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerLogNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerLogNotify_proto_goTypes, + DependencyIndexes: file_ServerLogNotify_proto_depIdxs, + MessageInfos: file_ServerLogNotify_proto_msgTypes, + }.Build() + File_ServerLogNotify_proto = out.File + file_ServerLogNotify_proto_rawDesc = nil + file_ServerLogNotify_proto_goTypes = nil + file_ServerLogNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerLogNotify.proto b/gate-hk4e-api/proto/ServerLogNotify.proto new file mode 100644 index 00000000..937d6a11 --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ServerLogLevel.proto"; +import "ServerLogType.proto"; + +option go_package = "./;proto"; + +// CmdId: 31 +// EnetChannelId: 1 +// EnetIsReliable: true +message ServerLogNotify { + string server_log = 7; + ServerLogType log_type = 9; + ServerLogLevel log_level = 15; +} diff --git a/gate-hk4e-api/proto/ServerLogType.pb.go b/gate-hk4e-api/proto/ServerLogType.pb.go new file mode 100644 index 00000000..77977e2c --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogType.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerLogType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerLogType int32 + +const ( + ServerLogType_SERVER_LOG_TYPE_NONE ServerLogType = 0 + ServerLogType_SERVER_LOG_TYPE_ABILITY ServerLogType = 1 + ServerLogType_SERVER_LOG_TYPE_LEVEL ServerLogType = 2 + ServerLogType_SERVER_LOG_TYPE_ENTITY ServerLogType = 3 + ServerLogType_SERVER_LOG_TYPE_LUA ServerLogType = 4 +) + +// Enum value maps for ServerLogType. +var ( + ServerLogType_name = map[int32]string{ + 0: "SERVER_LOG_TYPE_NONE", + 1: "SERVER_LOG_TYPE_ABILITY", + 2: "SERVER_LOG_TYPE_LEVEL", + 3: "SERVER_LOG_TYPE_ENTITY", + 4: "SERVER_LOG_TYPE_LUA", + } + ServerLogType_value = map[string]int32{ + "SERVER_LOG_TYPE_NONE": 0, + "SERVER_LOG_TYPE_ABILITY": 1, + "SERVER_LOG_TYPE_LEVEL": 2, + "SERVER_LOG_TYPE_ENTITY": 3, + "SERVER_LOG_TYPE_LUA": 4, + } +) + +func (x ServerLogType) Enum() *ServerLogType { + p := new(ServerLogType) + *p = x + return p +} + +func (x ServerLogType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServerLogType) Descriptor() protoreflect.EnumDescriptor { + return file_ServerLogType_proto_enumTypes[0].Descriptor() +} + +func (ServerLogType) Type() protoreflect.EnumType { + return &file_ServerLogType_proto_enumTypes[0] +} + +func (x ServerLogType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ServerLogType.Descriptor instead. +func (ServerLogType) EnumDescriptor() ([]byte, []int) { + return file_ServerLogType_proto_rawDescGZIP(), []int{0} +} + +var File_ServerLogType_proto protoreflect.FileDescriptor + +var file_ServerLogType_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x96, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x52, 0x56, 0x45, + 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x01, 0x12, 0x19, + 0x0a, 0x15, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x52, + 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x54, + 0x49, 0x54, 0x59, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, + 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x55, 0x41, 0x10, 0x04, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ServerLogType_proto_rawDescOnce sync.Once + file_ServerLogType_proto_rawDescData = file_ServerLogType_proto_rawDesc +) + +func file_ServerLogType_proto_rawDescGZIP() []byte { + file_ServerLogType_proto_rawDescOnce.Do(func() { + file_ServerLogType_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerLogType_proto_rawDescData) + }) + return file_ServerLogType_proto_rawDescData +} + +var file_ServerLogType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ServerLogType_proto_goTypes = []interface{}{ + (ServerLogType)(0), // 0: ServerLogType +} +var file_ServerLogType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerLogType_proto_init() } +func file_ServerLogType_proto_init() { + if File_ServerLogType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerLogType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerLogType_proto_goTypes, + DependencyIndexes: file_ServerLogType_proto_depIdxs, + EnumInfos: file_ServerLogType_proto_enumTypes, + }.Build() + File_ServerLogType_proto = out.File + file_ServerLogType_proto_rawDesc = nil + file_ServerLogType_proto_goTypes = nil + file_ServerLogType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerLogType.proto b/gate-hk4e-api/proto/ServerLogType.proto new file mode 100644 index 00000000..63689239 --- /dev/null +++ b/gate-hk4e-api/proto/ServerLogType.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum ServerLogType { + SERVER_LOG_TYPE_NONE = 0; + SERVER_LOG_TYPE_ABILITY = 1; + SERVER_LOG_TYPE_LEVEL = 2; + SERVER_LOG_TYPE_ENTITY = 3; + SERVER_LOG_TYPE_LUA = 4; +} diff --git a/gate-hk4e-api/proto/ServerMassiveEntity.pb.go b/gate-hk4e-api/proto/ServerMassiveEntity.pb.go new file mode 100644 index 00000000..49dfc067 --- /dev/null +++ b/gate-hk4e-api/proto/ServerMassiveEntity.pb.go @@ -0,0 +1,283 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerMassiveEntity.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerMassiveEntity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityType uint32 `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` + ConfigId uint32 `protobuf:"varint,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + RuntimeId uint32 `protobuf:"varint,3,opt,name=runtime_id,json=runtimeId,proto3" json:"runtime_id,omitempty"` + AuthorityPeerId uint32 `protobuf:"varint,4,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + ObjId int64 `protobuf:"varint,5,opt,name=obj_id,json=objId,proto3" json:"obj_id,omitempty"` + // Types that are assignable to EntityInfo: + // *ServerMassiveEntity_WaterInfo + // *ServerMassiveEntity_GrassInfo + // *ServerMassiveEntity_BoxInfo + EntityInfo isServerMassiveEntity_EntityInfo `protobuf_oneof:"entity_info"` +} + +func (x *ServerMassiveEntity) Reset() { + *x = ServerMassiveEntity{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerMassiveEntity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerMassiveEntity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerMassiveEntity) ProtoMessage() {} + +func (x *ServerMassiveEntity) ProtoReflect() protoreflect.Message { + mi := &file_ServerMassiveEntity_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerMassiveEntity.ProtoReflect.Descriptor instead. +func (*ServerMassiveEntity) Descriptor() ([]byte, []int) { + return file_ServerMassiveEntity_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerMassiveEntity) GetEntityType() uint32 { + if x != nil { + return x.EntityType + } + return 0 +} + +func (x *ServerMassiveEntity) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *ServerMassiveEntity) GetRuntimeId() uint32 { + if x != nil { + return x.RuntimeId + } + return 0 +} + +func (x *ServerMassiveEntity) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *ServerMassiveEntity) GetObjId() int64 { + if x != nil { + return x.ObjId + } + return 0 +} + +func (m *ServerMassiveEntity) GetEntityInfo() isServerMassiveEntity_EntityInfo { + if m != nil { + return m.EntityInfo + } + return nil +} + +func (x *ServerMassiveEntity) GetWaterInfo() *MassiveWaterInfo { + if x, ok := x.GetEntityInfo().(*ServerMassiveEntity_WaterInfo); ok { + return x.WaterInfo + } + return nil +} + +func (x *ServerMassiveEntity) GetGrassInfo() *MassiveGrassInfo { + if x, ok := x.GetEntityInfo().(*ServerMassiveEntity_GrassInfo); ok { + return x.GrassInfo + } + return nil +} + +func (x *ServerMassiveEntity) GetBoxInfo() *MassiveBoxInfo { + if x, ok := x.GetEntityInfo().(*ServerMassiveEntity_BoxInfo); ok { + return x.BoxInfo + } + return nil +} + +type isServerMassiveEntity_EntityInfo interface { + isServerMassiveEntity_EntityInfo() +} + +type ServerMassiveEntity_WaterInfo struct { + WaterInfo *MassiveWaterInfo `protobuf:"bytes,6,opt,name=water_info,json=waterInfo,proto3,oneof"` +} + +type ServerMassiveEntity_GrassInfo struct { + GrassInfo *MassiveGrassInfo `protobuf:"bytes,7,opt,name=grass_info,json=grassInfo,proto3,oneof"` +} + +type ServerMassiveEntity_BoxInfo struct { + BoxInfo *MassiveBoxInfo `protobuf:"bytes,8,opt,name=box_info,json=boxInfo,proto3,oneof"` +} + +func (*ServerMassiveEntity_WaterInfo) isServerMassiveEntity_EntityInfo() {} + +func (*ServerMassiveEntity_GrassInfo) isServerMassiveEntity_EntityInfo() {} + +func (*ServerMassiveEntity_BoxInfo) isServerMassiveEntity_EntityInfo() {} + +var File_ServerMassiveEntity_proto protoreflect.FileDescriptor + +var file_ServerMassiveEntity_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x47, 0x72, 0x61, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4d, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xda, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x05, 0x6f, 0x62, 0x6a, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0a, 0x77, 0x61, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x00, 0x52, 0x09, 0x77, 0x61, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, + 0x0a, 0x67, 0x72, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x47, 0x72, 0x61, 0x73, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x09, 0x67, 0x72, 0x61, 0x73, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x62, 0x6f, 0x78, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x78, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x42, + 0x0d, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_ServerMassiveEntity_proto_rawDescOnce sync.Once + file_ServerMassiveEntity_proto_rawDescData = file_ServerMassiveEntity_proto_rawDesc +) + +func file_ServerMassiveEntity_proto_rawDescGZIP() []byte { + file_ServerMassiveEntity_proto_rawDescOnce.Do(func() { + file_ServerMassiveEntity_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerMassiveEntity_proto_rawDescData) + }) + return file_ServerMassiveEntity_proto_rawDescData +} + +var file_ServerMassiveEntity_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerMassiveEntity_proto_goTypes = []interface{}{ + (*ServerMassiveEntity)(nil), // 0: ServerMassiveEntity + (*MassiveWaterInfo)(nil), // 1: MassiveWaterInfo + (*MassiveGrassInfo)(nil), // 2: MassiveGrassInfo + (*MassiveBoxInfo)(nil), // 3: MassiveBoxInfo +} +var file_ServerMassiveEntity_proto_depIdxs = []int32{ + 1, // 0: ServerMassiveEntity.water_info:type_name -> MassiveWaterInfo + 2, // 1: ServerMassiveEntity.grass_info:type_name -> MassiveGrassInfo + 3, // 2: ServerMassiveEntity.box_info:type_name -> MassiveBoxInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ServerMassiveEntity_proto_init() } +func file_ServerMassiveEntity_proto_init() { + if File_ServerMassiveEntity_proto != nil { + return + } + file_MassiveBoxInfo_proto_init() + file_MassiveGrassInfo_proto_init() + file_MassiveWaterInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_ServerMassiveEntity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerMassiveEntity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ServerMassiveEntity_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ServerMassiveEntity_WaterInfo)(nil), + (*ServerMassiveEntity_GrassInfo)(nil), + (*ServerMassiveEntity_BoxInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerMassiveEntity_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerMassiveEntity_proto_goTypes, + DependencyIndexes: file_ServerMassiveEntity_proto_depIdxs, + MessageInfos: file_ServerMassiveEntity_proto_msgTypes, + }.Build() + File_ServerMassiveEntity_proto = out.File + file_ServerMassiveEntity_proto_rawDesc = nil + file_ServerMassiveEntity_proto_goTypes = nil + file_ServerMassiveEntity_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerMassiveEntity.proto b/gate-hk4e-api/proto/ServerMassiveEntity.proto new file mode 100644 index 00000000..e7431ce8 --- /dev/null +++ b/gate-hk4e-api/proto/ServerMassiveEntity.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MassiveBoxInfo.proto"; +import "MassiveGrassInfo.proto"; +import "MassiveWaterInfo.proto"; + +option go_package = "./;proto"; + +message ServerMassiveEntity { + uint32 entity_type = 1; + uint32 config_id = 2; + uint32 runtime_id = 3; + uint32 authority_peer_id = 4; + int64 obj_id = 5; + oneof entity_info { + MassiveWaterInfo water_info = 6; + MassiveGrassInfo grass_info = 7; + MassiveBoxInfo box_info = 8; + } +} diff --git a/gate-hk4e-api/proto/ServerMessageNotify.pb.go b/gate-hk4e-api/proto/ServerMessageNotify.pb.go new file mode 100644 index 00000000..7b6f6b02 --- /dev/null +++ b/gate-hk4e-api/proto/ServerMessageNotify.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerMessageNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5718 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerMessageNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *ServerMessageNotify) Reset() { + *x = ServerMessageNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerMessageNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerMessageNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerMessageNotify) ProtoMessage() {} + +func (x *ServerMessageNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerMessageNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerMessageNotify.ProtoReflect.Descriptor instead. +func (*ServerMessageNotify) Descriptor() ([]byte, []int) { + return file_ServerMessageNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerMessageNotify) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +var File_ServerMessageNotify_proto protoreflect.FileDescriptor + +var file_ServerMessageNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerMessageNotify_proto_rawDescOnce sync.Once + file_ServerMessageNotify_proto_rawDescData = file_ServerMessageNotify_proto_rawDesc +) + +func file_ServerMessageNotify_proto_rawDescGZIP() []byte { + file_ServerMessageNotify_proto_rawDescOnce.Do(func() { + file_ServerMessageNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerMessageNotify_proto_rawDescData) + }) + return file_ServerMessageNotify_proto_rawDescData +} + +var file_ServerMessageNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerMessageNotify_proto_goTypes = []interface{}{ + (*ServerMessageNotify)(nil), // 0: ServerMessageNotify +} +var file_ServerMessageNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerMessageNotify_proto_init() } +func file_ServerMessageNotify_proto_init() { + if File_ServerMessageNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerMessageNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerMessageNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerMessageNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerMessageNotify_proto_goTypes, + DependencyIndexes: file_ServerMessageNotify_proto_depIdxs, + MessageInfos: file_ServerMessageNotify_proto_msgTypes, + }.Build() + File_ServerMessageNotify_proto = out.File + file_ServerMessageNotify_proto_rawDesc = nil + file_ServerMessageNotify_proto_goTypes = nil + file_ServerMessageNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerMessageNotify.proto b/gate-hk4e-api/proto/ServerMessageNotify.proto new file mode 100644 index 00000000..5ce88ad7 --- /dev/null +++ b/gate-hk4e-api/proto/ServerMessageNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5718 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerMessageNotify { + uint32 index = 1; +} diff --git a/gate-hk4e-api/proto/ServerTimeNotify.pb.go b/gate-hk4e-api/proto/ServerTimeNotify.pb.go new file mode 100644 index 00000000..dda2ad23 --- /dev/null +++ b/gate-hk4e-api/proto/ServerTimeNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 99 +// EnetChannelId: 1 +// EnetIsReliable: true +type ServerTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerTime uint64 `protobuf:"varint,5,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` +} + +func (x *ServerTimeNotify) Reset() { + *x = ServerTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerTimeNotify) ProtoMessage() {} + +func (x *ServerTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerTimeNotify.ProtoReflect.Descriptor instead. +func (*ServerTimeNotify) Descriptor() ([]byte, []int) { + return file_ServerTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerTimeNotify) GetServerTime() uint64 { + if x != nil { + return x.ServerTime + } + return 0 +} + +var File_ServerTimeNotify_proto protoreflect.FileDescriptor + +var file_ServerTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ServerTimeNotify_proto_rawDescOnce sync.Once + file_ServerTimeNotify_proto_rawDescData = file_ServerTimeNotify_proto_rawDesc +) + +func file_ServerTimeNotify_proto_rawDescGZIP() []byte { + file_ServerTimeNotify_proto_rawDescOnce.Do(func() { + file_ServerTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerTimeNotify_proto_rawDescData) + }) + return file_ServerTimeNotify_proto_rawDescData +} + +var file_ServerTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerTimeNotify_proto_goTypes = []interface{}{ + (*ServerTimeNotify)(nil), // 0: ServerTimeNotify +} +var file_ServerTimeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ServerTimeNotify_proto_init() } +func file_ServerTimeNotify_proto_init() { + if File_ServerTimeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerTimeNotify_proto_goTypes, + DependencyIndexes: file_ServerTimeNotify_proto_depIdxs, + MessageInfos: file_ServerTimeNotify_proto_msgTypes, + }.Build() + File_ServerTimeNotify_proto = out.File + file_ServerTimeNotify_proto_rawDesc = nil + file_ServerTimeNotify_proto_goTypes = nil + file_ServerTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerTimeNotify.proto b/gate-hk4e-api/proto/ServerTimeNotify.proto new file mode 100644 index 00000000..13d75310 --- /dev/null +++ b/gate-hk4e-api/proto/ServerTimeNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 99 +// EnetChannelId: 1 +// EnetIsReliable: true +message ServerTimeNotify { + uint64 server_time = 5; +} diff --git a/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.pb.go b/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.pb.go new file mode 100644 index 00000000..55baff0d --- /dev/null +++ b/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ServerUpdateGlobalValueNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ServerUpdateGlobalValueNotify_UpdateType int32 + +const ( + ServerUpdateGlobalValueNotify_UPDATE_TYPE_INVALUE ServerUpdateGlobalValueNotify_UpdateType = 0 + ServerUpdateGlobalValueNotify_UPDATE_TYPE_ADD ServerUpdateGlobalValueNotify_UpdateType = 1 + ServerUpdateGlobalValueNotify_UPDATE_TYPE_SET ServerUpdateGlobalValueNotify_UpdateType = 2 +) + +// Enum value maps for ServerUpdateGlobalValueNotify_UpdateType. +var ( + ServerUpdateGlobalValueNotify_UpdateType_name = map[int32]string{ + 0: "UPDATE_TYPE_INVALUE", + 1: "UPDATE_TYPE_ADD", + 2: "UPDATE_TYPE_SET", + } + ServerUpdateGlobalValueNotify_UpdateType_value = map[string]int32{ + "UPDATE_TYPE_INVALUE": 0, + "UPDATE_TYPE_ADD": 1, + "UPDATE_TYPE_SET": 2, + } +) + +func (x ServerUpdateGlobalValueNotify_UpdateType) Enum() *ServerUpdateGlobalValueNotify_UpdateType { + p := new(ServerUpdateGlobalValueNotify_UpdateType) + *p = x + return p +} + +func (x ServerUpdateGlobalValueNotify_UpdateType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServerUpdateGlobalValueNotify_UpdateType) Descriptor() protoreflect.EnumDescriptor { + return file_ServerUpdateGlobalValueNotify_proto_enumTypes[0].Descriptor() +} + +func (ServerUpdateGlobalValueNotify_UpdateType) Type() protoreflect.EnumType { + return &file_ServerUpdateGlobalValueNotify_proto_enumTypes[0] +} + +func (x ServerUpdateGlobalValueNotify_UpdateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ServerUpdateGlobalValueNotify_UpdateType.Descriptor instead. +func (ServerUpdateGlobalValueNotify_UpdateType) EnumDescriptor() ([]byte, []int) { + return file_ServerUpdateGlobalValueNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 1148 +// EnetChannelId: 0 +// EnetIsReliable: true +type ServerUpdateGlobalValueNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + UpdateType ServerUpdateGlobalValueNotify_UpdateType `protobuf:"varint,13,opt,name=update_type,json=updateType,proto3,enum=ServerUpdateGlobalValueNotify_UpdateType" json:"update_type,omitempty"` + Delta float32 `protobuf:"fixed32,3,opt,name=delta,proto3" json:"delta,omitempty"` + KeyHash uint32 `protobuf:"varint,10,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"` + Value float32 `protobuf:"fixed32,6,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *ServerUpdateGlobalValueNotify) Reset() { + *x = ServerUpdateGlobalValueNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ServerUpdateGlobalValueNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerUpdateGlobalValueNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerUpdateGlobalValueNotify) ProtoMessage() {} + +func (x *ServerUpdateGlobalValueNotify) ProtoReflect() protoreflect.Message { + mi := &file_ServerUpdateGlobalValueNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerUpdateGlobalValueNotify.ProtoReflect.Descriptor instead. +func (*ServerUpdateGlobalValueNotify) Descriptor() ([]byte, []int) { + return file_ServerUpdateGlobalValueNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerUpdateGlobalValueNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *ServerUpdateGlobalValueNotify) GetUpdateType() ServerUpdateGlobalValueNotify_UpdateType { + if x != nil { + return x.UpdateType + } + return ServerUpdateGlobalValueNotify_UPDATE_TYPE_INVALUE +} + +func (x *ServerUpdateGlobalValueNotify) GetDelta() float32 { + if x != nil { + return x.Delta + } + return 0 +} + +func (x *ServerUpdateGlobalValueNotify) GetKeyHash() uint32 { + if x != nil { + return x.KeyHash + } + return 0 +} + +func (x *ServerUpdateGlobalValueNotify) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_ServerUpdateGlobalValueNotify_proto protoreflect.FileDescriptor + +var file_ServerUpdateGlobalValueNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x02, 0x0a, 0x1d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x05, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x12, 0x13, + 0x0a, 0x0f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x44, + 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ServerUpdateGlobalValueNotify_proto_rawDescOnce sync.Once + file_ServerUpdateGlobalValueNotify_proto_rawDescData = file_ServerUpdateGlobalValueNotify_proto_rawDesc +) + +func file_ServerUpdateGlobalValueNotify_proto_rawDescGZIP() []byte { + file_ServerUpdateGlobalValueNotify_proto_rawDescOnce.Do(func() { + file_ServerUpdateGlobalValueNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ServerUpdateGlobalValueNotify_proto_rawDescData) + }) + return file_ServerUpdateGlobalValueNotify_proto_rawDescData +} + +var file_ServerUpdateGlobalValueNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_ServerUpdateGlobalValueNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ServerUpdateGlobalValueNotify_proto_goTypes = []interface{}{ + (ServerUpdateGlobalValueNotify_UpdateType)(0), // 0: ServerUpdateGlobalValueNotify.UpdateType + (*ServerUpdateGlobalValueNotify)(nil), // 1: ServerUpdateGlobalValueNotify +} +var file_ServerUpdateGlobalValueNotify_proto_depIdxs = []int32{ + 0, // 0: ServerUpdateGlobalValueNotify.update_type:type_name -> ServerUpdateGlobalValueNotify.UpdateType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ServerUpdateGlobalValueNotify_proto_init() } +func file_ServerUpdateGlobalValueNotify_proto_init() { + if File_ServerUpdateGlobalValueNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ServerUpdateGlobalValueNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerUpdateGlobalValueNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ServerUpdateGlobalValueNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ServerUpdateGlobalValueNotify_proto_goTypes, + DependencyIndexes: file_ServerUpdateGlobalValueNotify_proto_depIdxs, + EnumInfos: file_ServerUpdateGlobalValueNotify_proto_enumTypes, + MessageInfos: file_ServerUpdateGlobalValueNotify_proto_msgTypes, + }.Build() + File_ServerUpdateGlobalValueNotify_proto = out.File + file_ServerUpdateGlobalValueNotify_proto_rawDesc = nil + file_ServerUpdateGlobalValueNotify_proto_goTypes = nil + file_ServerUpdateGlobalValueNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.proto b/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.proto new file mode 100644 index 00000000..f99fea77 --- /dev/null +++ b/gate-hk4e-api/proto/ServerUpdateGlobalValueNotify.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1148 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerUpdateGlobalValueNotify { + uint32 entity_id = 9; + UpdateType update_type = 13; + float delta = 3; + uint32 key_hash = 10; + float value = 6; + + enum UpdateType { + UPDATE_TYPE_INVALUE = 0; + UPDATE_TYPE_ADD = 1; + UPDATE_TYPE_SET = 2; + } +} diff --git a/gate-hk4e-api/proto/SetBattlePassViewedReq.pb.go b/gate-hk4e-api/proto/SetBattlePassViewedReq.pb.go new file mode 100644 index 00000000..40e8b7e1 --- /dev/null +++ b/gate-hk4e-api/proto/SetBattlePassViewedReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetBattlePassViewedReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2641 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetBattlePassViewedReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,6,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SetBattlePassViewedReq) Reset() { + *x = SetBattlePassViewedReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetBattlePassViewedReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetBattlePassViewedReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetBattlePassViewedReq) ProtoMessage() {} + +func (x *SetBattlePassViewedReq) ProtoReflect() protoreflect.Message { + mi := &file_SetBattlePassViewedReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetBattlePassViewedReq.ProtoReflect.Descriptor instead. +func (*SetBattlePassViewedReq) Descriptor() ([]byte, []int) { + return file_SetBattlePassViewedReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetBattlePassViewedReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SetBattlePassViewedReq_proto protoreflect.FileDescriptor + +var file_SetBattlePassViewedReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x56, + 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x56, + 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetBattlePassViewedReq_proto_rawDescOnce sync.Once + file_SetBattlePassViewedReq_proto_rawDescData = file_SetBattlePassViewedReq_proto_rawDesc +) + +func file_SetBattlePassViewedReq_proto_rawDescGZIP() []byte { + file_SetBattlePassViewedReq_proto_rawDescOnce.Do(func() { + file_SetBattlePassViewedReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetBattlePassViewedReq_proto_rawDescData) + }) + return file_SetBattlePassViewedReq_proto_rawDescData +} + +var file_SetBattlePassViewedReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetBattlePassViewedReq_proto_goTypes = []interface{}{ + (*SetBattlePassViewedReq)(nil), // 0: SetBattlePassViewedReq +} +var file_SetBattlePassViewedReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetBattlePassViewedReq_proto_init() } +func file_SetBattlePassViewedReq_proto_init() { + if File_SetBattlePassViewedReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetBattlePassViewedReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetBattlePassViewedReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetBattlePassViewedReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetBattlePassViewedReq_proto_goTypes, + DependencyIndexes: file_SetBattlePassViewedReq_proto_depIdxs, + MessageInfos: file_SetBattlePassViewedReq_proto_msgTypes, + }.Build() + File_SetBattlePassViewedReq_proto = out.File + file_SetBattlePassViewedReq_proto_rawDesc = nil + file_SetBattlePassViewedReq_proto_goTypes = nil + file_SetBattlePassViewedReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetBattlePassViewedReq.proto b/gate-hk4e-api/proto/SetBattlePassViewedReq.proto new file mode 100644 index 00000000..57fc4c0b --- /dev/null +++ b/gate-hk4e-api/proto/SetBattlePassViewedReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2641 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetBattlePassViewedReq { + uint32 schedule_id = 6; +} diff --git a/gate-hk4e-api/proto/SetBattlePassViewedRsp.pb.go b/gate-hk4e-api/proto/SetBattlePassViewedRsp.pb.go new file mode 100644 index 00000000..de773851 --- /dev/null +++ b/gate-hk4e-api/proto/SetBattlePassViewedRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetBattlePassViewedRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2642 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetBattlePassViewedRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,2,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetBattlePassViewedRsp) Reset() { + *x = SetBattlePassViewedRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetBattlePassViewedRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetBattlePassViewedRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetBattlePassViewedRsp) ProtoMessage() {} + +func (x *SetBattlePassViewedRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetBattlePassViewedRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetBattlePassViewedRsp.ProtoReflect.Descriptor instead. +func (*SetBattlePassViewedRsp) Descriptor() ([]byte, []int) { + return file_SetBattlePassViewedRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetBattlePassViewedRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SetBattlePassViewedRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetBattlePassViewedRsp_proto protoreflect.FileDescriptor + +var file_SetBattlePassViewedRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x56, + 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x56, + 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetBattlePassViewedRsp_proto_rawDescOnce sync.Once + file_SetBattlePassViewedRsp_proto_rawDescData = file_SetBattlePassViewedRsp_proto_rawDesc +) + +func file_SetBattlePassViewedRsp_proto_rawDescGZIP() []byte { + file_SetBattlePassViewedRsp_proto_rawDescOnce.Do(func() { + file_SetBattlePassViewedRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetBattlePassViewedRsp_proto_rawDescData) + }) + return file_SetBattlePassViewedRsp_proto_rawDescData +} + +var file_SetBattlePassViewedRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetBattlePassViewedRsp_proto_goTypes = []interface{}{ + (*SetBattlePassViewedRsp)(nil), // 0: SetBattlePassViewedRsp +} +var file_SetBattlePassViewedRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetBattlePassViewedRsp_proto_init() } +func file_SetBattlePassViewedRsp_proto_init() { + if File_SetBattlePassViewedRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetBattlePassViewedRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetBattlePassViewedRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetBattlePassViewedRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetBattlePassViewedRsp_proto_goTypes, + DependencyIndexes: file_SetBattlePassViewedRsp_proto_depIdxs, + MessageInfos: file_SetBattlePassViewedRsp_proto_msgTypes, + }.Build() + File_SetBattlePassViewedRsp_proto = out.File + file_SetBattlePassViewedRsp_proto_rawDesc = nil + file_SetBattlePassViewedRsp_proto_goTypes = nil + file_SetBattlePassViewedRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetBattlePassViewedRsp.proto b/gate-hk4e-api/proto/SetBattlePassViewedRsp.proto new file mode 100644 index 00000000..a924f036 --- /dev/null +++ b/gate-hk4e-api/proto/SetBattlePassViewedRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2642 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetBattlePassViewedRsp { + uint32 schedule_id = 2; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/SetChatEmojiCollectionReq.pb.go b/gate-hk4e-api/proto/SetChatEmojiCollectionReq.pb.go new file mode 100644 index 00000000..25d2bf03 --- /dev/null +++ b/gate-hk4e-api/proto/SetChatEmojiCollectionReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetChatEmojiCollectionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4084 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetChatEmojiCollectionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatEmojiCollectionData *ChatEmojiCollectionData `protobuf:"bytes,12,opt,name=chat_emoji_collection_data,json=chatEmojiCollectionData,proto3" json:"chat_emoji_collection_data,omitempty"` +} + +func (x *SetChatEmojiCollectionReq) Reset() { + *x = SetChatEmojiCollectionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetChatEmojiCollectionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetChatEmojiCollectionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetChatEmojiCollectionReq) ProtoMessage() {} + +func (x *SetChatEmojiCollectionReq) ProtoReflect() protoreflect.Message { + mi := &file_SetChatEmojiCollectionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetChatEmojiCollectionReq.ProtoReflect.Descriptor instead. +func (*SetChatEmojiCollectionReq) Descriptor() ([]byte, []int) { + return file_SetChatEmojiCollectionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetChatEmojiCollectionReq) GetChatEmojiCollectionData() *ChatEmojiCollectionData { + if x != nil { + return x.ChatEmojiCollectionData + } + return nil +} + +var File_SetChatEmojiCollectionReq_proto protoreflect.FileDescriptor + +var file_SetChatEmojiCollectionReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x72, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x55, 0x0a, + 0x1a, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x17, 0x63, 0x68, 0x61, + 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetChatEmojiCollectionReq_proto_rawDescOnce sync.Once + file_SetChatEmojiCollectionReq_proto_rawDescData = file_SetChatEmojiCollectionReq_proto_rawDesc +) + +func file_SetChatEmojiCollectionReq_proto_rawDescGZIP() []byte { + file_SetChatEmojiCollectionReq_proto_rawDescOnce.Do(func() { + file_SetChatEmojiCollectionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetChatEmojiCollectionReq_proto_rawDescData) + }) + return file_SetChatEmojiCollectionReq_proto_rawDescData +} + +var file_SetChatEmojiCollectionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetChatEmojiCollectionReq_proto_goTypes = []interface{}{ + (*SetChatEmojiCollectionReq)(nil), // 0: SetChatEmojiCollectionReq + (*ChatEmojiCollectionData)(nil), // 1: ChatEmojiCollectionData +} +var file_SetChatEmojiCollectionReq_proto_depIdxs = []int32{ + 1, // 0: SetChatEmojiCollectionReq.chat_emoji_collection_data:type_name -> ChatEmojiCollectionData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetChatEmojiCollectionReq_proto_init() } +func file_SetChatEmojiCollectionReq_proto_init() { + if File_SetChatEmojiCollectionReq_proto != nil { + return + } + file_ChatEmojiCollectionData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetChatEmojiCollectionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetChatEmojiCollectionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetChatEmojiCollectionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetChatEmojiCollectionReq_proto_goTypes, + DependencyIndexes: file_SetChatEmojiCollectionReq_proto_depIdxs, + MessageInfos: file_SetChatEmojiCollectionReq_proto_msgTypes, + }.Build() + File_SetChatEmojiCollectionReq_proto = out.File + file_SetChatEmojiCollectionReq_proto_rawDesc = nil + file_SetChatEmojiCollectionReq_proto_goTypes = nil + file_SetChatEmojiCollectionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetChatEmojiCollectionReq.proto b/gate-hk4e-api/proto/SetChatEmojiCollectionReq.proto new file mode 100644 index 00000000..832a4d9e --- /dev/null +++ b/gate-hk4e-api/proto/SetChatEmojiCollectionReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ChatEmojiCollectionData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4084 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetChatEmojiCollectionReq { + ChatEmojiCollectionData chat_emoji_collection_data = 12; +} diff --git a/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.pb.go b/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.pb.go new file mode 100644 index 00000000..7f4adab5 --- /dev/null +++ b/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetChatEmojiCollectionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4080 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetChatEmojiCollectionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetChatEmojiCollectionRsp) Reset() { + *x = SetChatEmojiCollectionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetChatEmojiCollectionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetChatEmojiCollectionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetChatEmojiCollectionRsp) ProtoMessage() {} + +func (x *SetChatEmojiCollectionRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetChatEmojiCollectionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetChatEmojiCollectionRsp.ProtoReflect.Descriptor instead. +func (*SetChatEmojiCollectionRsp) Descriptor() ([]byte, []int) { + return file_SetChatEmojiCollectionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetChatEmojiCollectionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetChatEmojiCollectionRsp_proto protoreflect.FileDescriptor + +var file_SetChatEmojiCollectionRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x35, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x45, 0x6d, 0x6f, 0x6a, + 0x69, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetChatEmojiCollectionRsp_proto_rawDescOnce sync.Once + file_SetChatEmojiCollectionRsp_proto_rawDescData = file_SetChatEmojiCollectionRsp_proto_rawDesc +) + +func file_SetChatEmojiCollectionRsp_proto_rawDescGZIP() []byte { + file_SetChatEmojiCollectionRsp_proto_rawDescOnce.Do(func() { + file_SetChatEmojiCollectionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetChatEmojiCollectionRsp_proto_rawDescData) + }) + return file_SetChatEmojiCollectionRsp_proto_rawDescData +} + +var file_SetChatEmojiCollectionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetChatEmojiCollectionRsp_proto_goTypes = []interface{}{ + (*SetChatEmojiCollectionRsp)(nil), // 0: SetChatEmojiCollectionRsp +} +var file_SetChatEmojiCollectionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetChatEmojiCollectionRsp_proto_init() } +func file_SetChatEmojiCollectionRsp_proto_init() { + if File_SetChatEmojiCollectionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetChatEmojiCollectionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetChatEmojiCollectionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetChatEmojiCollectionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetChatEmojiCollectionRsp_proto_goTypes, + DependencyIndexes: file_SetChatEmojiCollectionRsp_proto_depIdxs, + MessageInfos: file_SetChatEmojiCollectionRsp_proto_msgTypes, + }.Build() + File_SetChatEmojiCollectionRsp_proto = out.File + file_SetChatEmojiCollectionRsp_proto_rawDesc = nil + file_SetChatEmojiCollectionRsp_proto_goTypes = nil + file_SetChatEmojiCollectionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.proto b/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.proto new file mode 100644 index 00000000..7f713205 --- /dev/null +++ b/gate-hk4e-api/proto/SetChatEmojiCollectionRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4080 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetChatEmojiCollectionRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/SetCoopChapterViewedReq.pb.go b/gate-hk4e-api/proto/SetCoopChapterViewedReq.pb.go new file mode 100644 index 00000000..7d532bc7 --- /dev/null +++ b/gate-hk4e-api/proto/SetCoopChapterViewedReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetCoopChapterViewedReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1965 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetCoopChapterViewedReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,2,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *SetCoopChapterViewedReq) Reset() { + *x = SetCoopChapterViewedReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetCoopChapterViewedReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetCoopChapterViewedReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetCoopChapterViewedReq) ProtoMessage() {} + +func (x *SetCoopChapterViewedReq) ProtoReflect() protoreflect.Message { + mi := &file_SetCoopChapterViewedReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetCoopChapterViewedReq.ProtoReflect.Descriptor instead. +func (*SetCoopChapterViewedReq) Descriptor() ([]byte, []int) { + return file_SetCoopChapterViewedReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetCoopChapterViewedReq) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_SetCoopChapterViewedReq_proto protoreflect.FileDescriptor + +var file_SetCoopChapterViewedReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x38, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetCoopChapterViewedReq_proto_rawDescOnce sync.Once + file_SetCoopChapterViewedReq_proto_rawDescData = file_SetCoopChapterViewedReq_proto_rawDesc +) + +func file_SetCoopChapterViewedReq_proto_rawDescGZIP() []byte { + file_SetCoopChapterViewedReq_proto_rawDescOnce.Do(func() { + file_SetCoopChapterViewedReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetCoopChapterViewedReq_proto_rawDescData) + }) + return file_SetCoopChapterViewedReq_proto_rawDescData +} + +var file_SetCoopChapterViewedReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetCoopChapterViewedReq_proto_goTypes = []interface{}{ + (*SetCoopChapterViewedReq)(nil), // 0: SetCoopChapterViewedReq +} +var file_SetCoopChapterViewedReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetCoopChapterViewedReq_proto_init() } +func file_SetCoopChapterViewedReq_proto_init() { + if File_SetCoopChapterViewedReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetCoopChapterViewedReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetCoopChapterViewedReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetCoopChapterViewedReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetCoopChapterViewedReq_proto_goTypes, + DependencyIndexes: file_SetCoopChapterViewedReq_proto_depIdxs, + MessageInfos: file_SetCoopChapterViewedReq_proto_msgTypes, + }.Build() + File_SetCoopChapterViewedReq_proto = out.File + file_SetCoopChapterViewedReq_proto_rawDesc = nil + file_SetCoopChapterViewedReq_proto_goTypes = nil + file_SetCoopChapterViewedReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetCoopChapterViewedReq.proto b/gate-hk4e-api/proto/SetCoopChapterViewedReq.proto new file mode 100644 index 00000000..f889b9aa --- /dev/null +++ b/gate-hk4e-api/proto/SetCoopChapterViewedReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1965 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetCoopChapterViewedReq { + uint32 chapter_id = 2; +} diff --git a/gate-hk4e-api/proto/SetCoopChapterViewedRsp.pb.go b/gate-hk4e-api/proto/SetCoopChapterViewedRsp.pb.go new file mode 100644 index 00000000..9c2cf54d --- /dev/null +++ b/gate-hk4e-api/proto/SetCoopChapterViewedRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetCoopChapterViewedRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1963 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetCoopChapterViewedRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,11,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetCoopChapterViewedRsp) Reset() { + *x = SetCoopChapterViewedRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetCoopChapterViewedRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetCoopChapterViewedRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetCoopChapterViewedRsp) ProtoMessage() {} + +func (x *SetCoopChapterViewedRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetCoopChapterViewedRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetCoopChapterViewedRsp.ProtoReflect.Descriptor instead. +func (*SetCoopChapterViewedRsp) Descriptor() ([]byte, []int) { + return file_SetCoopChapterViewedRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetCoopChapterViewedRsp) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *SetCoopChapterViewedRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetCoopChapterViewedRsp_proto protoreflect.FileDescriptor + +var file_SetCoopChapterViewedRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, + 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x52, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetCoopChapterViewedRsp_proto_rawDescOnce sync.Once + file_SetCoopChapterViewedRsp_proto_rawDescData = file_SetCoopChapterViewedRsp_proto_rawDesc +) + +func file_SetCoopChapterViewedRsp_proto_rawDescGZIP() []byte { + file_SetCoopChapterViewedRsp_proto_rawDescOnce.Do(func() { + file_SetCoopChapterViewedRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetCoopChapterViewedRsp_proto_rawDescData) + }) + return file_SetCoopChapterViewedRsp_proto_rawDescData +} + +var file_SetCoopChapterViewedRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetCoopChapterViewedRsp_proto_goTypes = []interface{}{ + (*SetCoopChapterViewedRsp)(nil), // 0: SetCoopChapterViewedRsp +} +var file_SetCoopChapterViewedRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetCoopChapterViewedRsp_proto_init() } +func file_SetCoopChapterViewedRsp_proto_init() { + if File_SetCoopChapterViewedRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetCoopChapterViewedRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetCoopChapterViewedRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetCoopChapterViewedRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetCoopChapterViewedRsp_proto_goTypes, + DependencyIndexes: file_SetCoopChapterViewedRsp_proto_depIdxs, + MessageInfos: file_SetCoopChapterViewedRsp_proto_msgTypes, + }.Build() + File_SetCoopChapterViewedRsp_proto = out.File + file_SetCoopChapterViewedRsp_proto_rawDesc = nil + file_SetCoopChapterViewedRsp_proto_goTypes = nil + file_SetCoopChapterViewedRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetCoopChapterViewedRsp.proto b/gate-hk4e-api/proto/SetCoopChapterViewedRsp.proto new file mode 100644 index 00000000..046184b3 --- /dev/null +++ b/gate-hk4e-api/proto/SetCoopChapterViewedRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1963 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetCoopChapterViewedRsp { + uint32 chapter_id = 11; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.pb.go b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.pb.go new file mode 100644 index 00000000..fe520e12 --- /dev/null +++ b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetCurExpeditionChallengeIdReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2021 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetCurExpeditionChallengeIdReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *SetCurExpeditionChallengeIdReq) Reset() { + *x = SetCurExpeditionChallengeIdReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetCurExpeditionChallengeIdReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetCurExpeditionChallengeIdReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetCurExpeditionChallengeIdReq) ProtoMessage() {} + +func (x *SetCurExpeditionChallengeIdReq) ProtoReflect() protoreflect.Message { + mi := &file_SetCurExpeditionChallengeIdReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetCurExpeditionChallengeIdReq.ProtoReflect.Descriptor instead. +func (*SetCurExpeditionChallengeIdReq) Descriptor() ([]byte, []int) { + return file_SetCurExpeditionChallengeIdReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetCurExpeditionChallengeIdReq) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_SetCurExpeditionChallengeIdReq_proto protoreflect.FileDescriptor + +var file_SetCurExpeditionChallengeIdReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x65, 0x74, 0x43, 0x75, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x43, 0x75, 0x72, + 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetCurExpeditionChallengeIdReq_proto_rawDescOnce sync.Once + file_SetCurExpeditionChallengeIdReq_proto_rawDescData = file_SetCurExpeditionChallengeIdReq_proto_rawDesc +) + +func file_SetCurExpeditionChallengeIdReq_proto_rawDescGZIP() []byte { + file_SetCurExpeditionChallengeIdReq_proto_rawDescOnce.Do(func() { + file_SetCurExpeditionChallengeIdReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetCurExpeditionChallengeIdReq_proto_rawDescData) + }) + return file_SetCurExpeditionChallengeIdReq_proto_rawDescData +} + +var file_SetCurExpeditionChallengeIdReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetCurExpeditionChallengeIdReq_proto_goTypes = []interface{}{ + (*SetCurExpeditionChallengeIdReq)(nil), // 0: SetCurExpeditionChallengeIdReq +} +var file_SetCurExpeditionChallengeIdReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetCurExpeditionChallengeIdReq_proto_init() } +func file_SetCurExpeditionChallengeIdReq_proto_init() { + if File_SetCurExpeditionChallengeIdReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetCurExpeditionChallengeIdReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetCurExpeditionChallengeIdReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetCurExpeditionChallengeIdReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetCurExpeditionChallengeIdReq_proto_goTypes, + DependencyIndexes: file_SetCurExpeditionChallengeIdReq_proto_depIdxs, + MessageInfos: file_SetCurExpeditionChallengeIdReq_proto_msgTypes, + }.Build() + File_SetCurExpeditionChallengeIdReq_proto = out.File + file_SetCurExpeditionChallengeIdReq_proto_rawDesc = nil + file_SetCurExpeditionChallengeIdReq_proto_goTypes = nil + file_SetCurExpeditionChallengeIdReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.proto b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.proto new file mode 100644 index 00000000..31bd6ff5 --- /dev/null +++ b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2021 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetCurExpeditionChallengeIdReq { + uint32 id = 5; +} diff --git a/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.pb.go b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.pb.go new file mode 100644 index 00000000..594d26cf --- /dev/null +++ b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetCurExpeditionChallengeIdRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2049 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetCurExpeditionChallengeIdRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetCurExpeditionChallengeIdRsp) Reset() { + *x = SetCurExpeditionChallengeIdRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetCurExpeditionChallengeIdRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetCurExpeditionChallengeIdRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetCurExpeditionChallengeIdRsp) ProtoMessage() {} + +func (x *SetCurExpeditionChallengeIdRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetCurExpeditionChallengeIdRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetCurExpeditionChallengeIdRsp.ProtoReflect.Descriptor instead. +func (*SetCurExpeditionChallengeIdRsp) Descriptor() ([]byte, []int) { + return file_SetCurExpeditionChallengeIdRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetCurExpeditionChallengeIdRsp) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *SetCurExpeditionChallengeIdRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetCurExpeditionChallengeIdRsp_proto protoreflect.FileDescriptor + +var file_SetCurExpeditionChallengeIdRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x65, 0x74, 0x43, 0x75, 0x72, 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x43, 0x75, 0x72, + 0x45, 0x78, 0x70, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x64, 0x52, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetCurExpeditionChallengeIdRsp_proto_rawDescOnce sync.Once + file_SetCurExpeditionChallengeIdRsp_proto_rawDescData = file_SetCurExpeditionChallengeIdRsp_proto_rawDesc +) + +func file_SetCurExpeditionChallengeIdRsp_proto_rawDescGZIP() []byte { + file_SetCurExpeditionChallengeIdRsp_proto_rawDescOnce.Do(func() { + file_SetCurExpeditionChallengeIdRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetCurExpeditionChallengeIdRsp_proto_rawDescData) + }) + return file_SetCurExpeditionChallengeIdRsp_proto_rawDescData +} + +var file_SetCurExpeditionChallengeIdRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetCurExpeditionChallengeIdRsp_proto_goTypes = []interface{}{ + (*SetCurExpeditionChallengeIdRsp)(nil), // 0: SetCurExpeditionChallengeIdRsp +} +var file_SetCurExpeditionChallengeIdRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetCurExpeditionChallengeIdRsp_proto_init() } +func file_SetCurExpeditionChallengeIdRsp_proto_init() { + if File_SetCurExpeditionChallengeIdRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetCurExpeditionChallengeIdRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetCurExpeditionChallengeIdRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetCurExpeditionChallengeIdRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetCurExpeditionChallengeIdRsp_proto_goTypes, + DependencyIndexes: file_SetCurExpeditionChallengeIdRsp_proto_depIdxs, + MessageInfos: file_SetCurExpeditionChallengeIdRsp_proto_msgTypes, + }.Build() + File_SetCurExpeditionChallengeIdRsp_proto = out.File + file_SetCurExpeditionChallengeIdRsp_proto_rawDesc = nil + file_SetCurExpeditionChallengeIdRsp_proto_goTypes = nil + file_SetCurExpeditionChallengeIdRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.proto b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.proto new file mode 100644 index 00000000..4e225dc4 --- /dev/null +++ b/gate-hk4e-api/proto/SetCurExpeditionChallengeIdRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2049 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetCurExpeditionChallengeIdRsp { + uint32 id = 14; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/SetEntityClientDataNotify.pb.go b/gate-hk4e-api/proto/SetEntityClientDataNotify.pb.go new file mode 100644 index 00000000..a657b88a --- /dev/null +++ b/gate-hk4e-api/proto/SetEntityClientDataNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetEntityClientDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3146 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetEntityClientDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + EntityClientData *EntityClientData `protobuf:"bytes,9,opt,name=entity_client_data,json=entityClientData,proto3" json:"entity_client_data,omitempty"` +} + +func (x *SetEntityClientDataNotify) Reset() { + *x = SetEntityClientDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SetEntityClientDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetEntityClientDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetEntityClientDataNotify) ProtoMessage() {} + +func (x *SetEntityClientDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_SetEntityClientDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetEntityClientDataNotify.ProtoReflect.Descriptor instead. +func (*SetEntityClientDataNotify) Descriptor() ([]byte, []int) { + return file_SetEntityClientDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SetEntityClientDataNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *SetEntityClientDataNotify) GetEntityClientData() *EntityClientData { + if x != nil { + return x.EntityClientData + } + return nil +} + +var File_SetEntityClientDataNotify_proto protoreflect.FileDescriptor + +var file_SetEntityClientDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x19, 0x53, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetEntityClientDataNotify_proto_rawDescOnce sync.Once + file_SetEntityClientDataNotify_proto_rawDescData = file_SetEntityClientDataNotify_proto_rawDesc +) + +func file_SetEntityClientDataNotify_proto_rawDescGZIP() []byte { + file_SetEntityClientDataNotify_proto_rawDescOnce.Do(func() { + file_SetEntityClientDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetEntityClientDataNotify_proto_rawDescData) + }) + return file_SetEntityClientDataNotify_proto_rawDescData +} + +var file_SetEntityClientDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetEntityClientDataNotify_proto_goTypes = []interface{}{ + (*SetEntityClientDataNotify)(nil), // 0: SetEntityClientDataNotify + (*EntityClientData)(nil), // 1: EntityClientData +} +var file_SetEntityClientDataNotify_proto_depIdxs = []int32{ + 1, // 0: SetEntityClientDataNotify.entity_client_data:type_name -> EntityClientData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetEntityClientDataNotify_proto_init() } +func file_SetEntityClientDataNotify_proto_init() { + if File_SetEntityClientDataNotify_proto != nil { + return + } + file_EntityClientData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetEntityClientDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEntityClientDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetEntityClientDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetEntityClientDataNotify_proto_goTypes, + DependencyIndexes: file_SetEntityClientDataNotify_proto_depIdxs, + MessageInfos: file_SetEntityClientDataNotify_proto_msgTypes, + }.Build() + File_SetEntityClientDataNotify_proto = out.File + file_SetEntityClientDataNotify_proto_rawDesc = nil + file_SetEntityClientDataNotify_proto_goTypes = nil + file_SetEntityClientDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetEntityClientDataNotify.proto b/gate-hk4e-api/proto/SetEntityClientDataNotify.proto new file mode 100644 index 00000000..21fefacc --- /dev/null +++ b/gate-hk4e-api/proto/SetEntityClientDataNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "EntityClientData.proto"; + +option go_package = "./;proto"; + +// CmdId: 3146 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetEntityClientDataNotify { + uint32 entity_id = 14; + EntityClientData entity_client_data = 9; +} diff --git a/gate-hk4e-api/proto/SetEquipLockStateReq.pb.go b/gate-hk4e-api/proto/SetEquipLockStateReq.pb.go new file mode 100644 index 00000000..037b9ab4 --- /dev/null +++ b/gate-hk4e-api/proto/SetEquipLockStateReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetEquipLockStateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 666 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetEquipLockStateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsLocked bool `protobuf:"varint,15,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` + TargetEquipGuid uint64 `protobuf:"varint,9,opt,name=target_equip_guid,json=targetEquipGuid,proto3" json:"target_equip_guid,omitempty"` +} + +func (x *SetEquipLockStateReq) Reset() { + *x = SetEquipLockStateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetEquipLockStateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetEquipLockStateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetEquipLockStateReq) ProtoMessage() {} + +func (x *SetEquipLockStateReq) ProtoReflect() protoreflect.Message { + mi := &file_SetEquipLockStateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetEquipLockStateReq.ProtoReflect.Descriptor instead. +func (*SetEquipLockStateReq) Descriptor() ([]byte, []int) { + return file_SetEquipLockStateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetEquipLockStateReq) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +func (x *SetEquipLockStateReq) GetTargetEquipGuid() uint64 { + if x != nil { + return x.TargetEquipGuid + } + return 0 +} + +var File_SetEquipLockStateReq_proto protoreflect.FileDescriptor + +var file_SetEquipLockStateReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x71, 0x75, 0x69, + 0x70, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SetEquipLockStateReq_proto_rawDescOnce sync.Once + file_SetEquipLockStateReq_proto_rawDescData = file_SetEquipLockStateReq_proto_rawDesc +) + +func file_SetEquipLockStateReq_proto_rawDescGZIP() []byte { + file_SetEquipLockStateReq_proto_rawDescOnce.Do(func() { + file_SetEquipLockStateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetEquipLockStateReq_proto_rawDescData) + }) + return file_SetEquipLockStateReq_proto_rawDescData +} + +var file_SetEquipLockStateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetEquipLockStateReq_proto_goTypes = []interface{}{ + (*SetEquipLockStateReq)(nil), // 0: SetEquipLockStateReq +} +var file_SetEquipLockStateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetEquipLockStateReq_proto_init() } +func file_SetEquipLockStateReq_proto_init() { + if File_SetEquipLockStateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetEquipLockStateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEquipLockStateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetEquipLockStateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetEquipLockStateReq_proto_goTypes, + DependencyIndexes: file_SetEquipLockStateReq_proto_depIdxs, + MessageInfos: file_SetEquipLockStateReq_proto_msgTypes, + }.Build() + File_SetEquipLockStateReq_proto = out.File + file_SetEquipLockStateReq_proto_rawDesc = nil + file_SetEquipLockStateReq_proto_goTypes = nil + file_SetEquipLockStateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetEquipLockStateReq.proto b/gate-hk4e-api/proto/SetEquipLockStateReq.proto new file mode 100644 index 00000000..e287a5bc --- /dev/null +++ b/gate-hk4e-api/proto/SetEquipLockStateReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 666 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetEquipLockStateReq { + bool is_locked = 15; + uint64 target_equip_guid = 9; +} diff --git a/gate-hk4e-api/proto/SetEquipLockStateRsp.pb.go b/gate-hk4e-api/proto/SetEquipLockStateRsp.pb.go new file mode 100644 index 00000000..b5ea9332 --- /dev/null +++ b/gate-hk4e-api/proto/SetEquipLockStateRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetEquipLockStateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 668 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetEquipLockStateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetEquipGuid uint64 `protobuf:"varint,14,opt,name=target_equip_guid,json=targetEquipGuid,proto3" json:"target_equip_guid,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsLocked bool `protobuf:"varint,10,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` +} + +func (x *SetEquipLockStateRsp) Reset() { + *x = SetEquipLockStateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetEquipLockStateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetEquipLockStateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetEquipLockStateRsp) ProtoMessage() {} + +func (x *SetEquipLockStateRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetEquipLockStateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetEquipLockStateRsp.ProtoReflect.Descriptor instead. +func (*SetEquipLockStateRsp) Descriptor() ([]byte, []int) { + return file_SetEquipLockStateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetEquipLockStateRsp) GetTargetEquipGuid() uint64 { + if x != nil { + return x.TargetEquipGuid + } + return 0 +} + +func (x *SetEquipLockStateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SetEquipLockStateRsp) GetIsLocked() bool { + if x != nil { + return x.IsLocked + } + return false +} + +var File_SetEquipLockStateRsp_proto protoreflect.FileDescriptor + +var file_SetEquipLockStateRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, + 0x71, 0x75, 0x69, 0x70, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x47, 0x75, 0x69, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetEquipLockStateRsp_proto_rawDescOnce sync.Once + file_SetEquipLockStateRsp_proto_rawDescData = file_SetEquipLockStateRsp_proto_rawDesc +) + +func file_SetEquipLockStateRsp_proto_rawDescGZIP() []byte { + file_SetEquipLockStateRsp_proto_rawDescOnce.Do(func() { + file_SetEquipLockStateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetEquipLockStateRsp_proto_rawDescData) + }) + return file_SetEquipLockStateRsp_proto_rawDescData +} + +var file_SetEquipLockStateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetEquipLockStateRsp_proto_goTypes = []interface{}{ + (*SetEquipLockStateRsp)(nil), // 0: SetEquipLockStateRsp +} +var file_SetEquipLockStateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetEquipLockStateRsp_proto_init() } +func file_SetEquipLockStateRsp_proto_init() { + if File_SetEquipLockStateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetEquipLockStateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEquipLockStateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetEquipLockStateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetEquipLockStateRsp_proto_goTypes, + DependencyIndexes: file_SetEquipLockStateRsp_proto_depIdxs, + MessageInfos: file_SetEquipLockStateRsp_proto_msgTypes, + }.Build() + File_SetEquipLockStateRsp_proto = out.File + file_SetEquipLockStateRsp_proto_rawDesc = nil + file_SetEquipLockStateRsp_proto_goTypes = nil + file_SetEquipLockStateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetEquipLockStateRsp.proto b/gate-hk4e-api/proto/SetEquipLockStateRsp.proto new file mode 100644 index 00000000..6704e49e --- /dev/null +++ b/gate-hk4e-api/proto/SetEquipLockStateRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 668 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetEquipLockStateRsp { + uint64 target_equip_guid = 14; + int32 retcode = 13; + bool is_locked = 10; +} diff --git a/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.pb.go b/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.pb.go new file mode 100644 index 00000000..da02aaea --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetFriendEnterHomeOptionReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4494 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetFriendEnterHomeOptionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Option FriendEnterHomeOption `protobuf:"varint,7,opt,name=option,proto3,enum=FriendEnterHomeOption" json:"option,omitempty"` +} + +func (x *SetFriendEnterHomeOptionReq) Reset() { + *x = SetFriendEnterHomeOptionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetFriendEnterHomeOptionReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFriendEnterHomeOptionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFriendEnterHomeOptionReq) ProtoMessage() {} + +func (x *SetFriendEnterHomeOptionReq) ProtoReflect() protoreflect.Message { + mi := &file_SetFriendEnterHomeOptionReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFriendEnterHomeOptionReq.ProtoReflect.Descriptor instead. +func (*SetFriendEnterHomeOptionReq) Descriptor() ([]byte, []int) { + return file_SetFriendEnterHomeOptionReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetFriendEnterHomeOptionReq) GetOption() FriendEnterHomeOption { + if x != nil { + return x.Option + } + return FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM +} + +var File_SetFriendEnterHomeOptionReq_proto protoreflect.FileDescriptor + +var file_SetFriendEnterHomeOptionReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4d, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, + 0x2e, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SetFriendEnterHomeOptionReq_proto_rawDescOnce sync.Once + file_SetFriendEnterHomeOptionReq_proto_rawDescData = file_SetFriendEnterHomeOptionReq_proto_rawDesc +) + +func file_SetFriendEnterHomeOptionReq_proto_rawDescGZIP() []byte { + file_SetFriendEnterHomeOptionReq_proto_rawDescOnce.Do(func() { + file_SetFriendEnterHomeOptionReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetFriendEnterHomeOptionReq_proto_rawDescData) + }) + return file_SetFriendEnterHomeOptionReq_proto_rawDescData +} + +var file_SetFriendEnterHomeOptionReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetFriendEnterHomeOptionReq_proto_goTypes = []interface{}{ + (*SetFriendEnterHomeOptionReq)(nil), // 0: SetFriendEnterHomeOptionReq + (FriendEnterHomeOption)(0), // 1: FriendEnterHomeOption +} +var file_SetFriendEnterHomeOptionReq_proto_depIdxs = []int32{ + 1, // 0: SetFriendEnterHomeOptionReq.option:type_name -> FriendEnterHomeOption + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetFriendEnterHomeOptionReq_proto_init() } +func file_SetFriendEnterHomeOptionReq_proto_init() { + if File_SetFriendEnterHomeOptionReq_proto != nil { + return + } + file_FriendEnterHomeOption_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetFriendEnterHomeOptionReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFriendEnterHomeOptionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetFriendEnterHomeOptionReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetFriendEnterHomeOptionReq_proto_goTypes, + DependencyIndexes: file_SetFriendEnterHomeOptionReq_proto_depIdxs, + MessageInfos: file_SetFriendEnterHomeOptionReq_proto_msgTypes, + }.Build() + File_SetFriendEnterHomeOptionReq_proto = out.File + file_SetFriendEnterHomeOptionReq_proto_rawDesc = nil + file_SetFriendEnterHomeOptionReq_proto_goTypes = nil + file_SetFriendEnterHomeOptionReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.proto b/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.proto new file mode 100644 index 00000000..d52a5a01 --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendEnterHomeOptionReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FriendEnterHomeOption.proto"; + +option go_package = "./;proto"; + +// CmdId: 4494 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetFriendEnterHomeOptionReq { + FriendEnterHomeOption option = 7; +} diff --git a/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.pb.go b/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.pb.go new file mode 100644 index 00000000..0011029d --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetFriendEnterHomeOptionRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4743 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetFriendEnterHomeOptionRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetFriendEnterHomeOptionRsp) Reset() { + *x = SetFriendEnterHomeOptionRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetFriendEnterHomeOptionRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFriendEnterHomeOptionRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFriendEnterHomeOptionRsp) ProtoMessage() {} + +func (x *SetFriendEnterHomeOptionRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetFriendEnterHomeOptionRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFriendEnterHomeOptionRsp.ProtoReflect.Descriptor instead. +func (*SetFriendEnterHomeOptionRsp) Descriptor() ([]byte, []int) { + return file_SetFriendEnterHomeOptionRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetFriendEnterHomeOptionRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetFriendEnterHomeOptionRsp_proto protoreflect.FileDescriptor + +var file_SetFriendEnterHomeOptionRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, + 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetFriendEnterHomeOptionRsp_proto_rawDescOnce sync.Once + file_SetFriendEnterHomeOptionRsp_proto_rawDescData = file_SetFriendEnterHomeOptionRsp_proto_rawDesc +) + +func file_SetFriendEnterHomeOptionRsp_proto_rawDescGZIP() []byte { + file_SetFriendEnterHomeOptionRsp_proto_rawDescOnce.Do(func() { + file_SetFriendEnterHomeOptionRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetFriendEnterHomeOptionRsp_proto_rawDescData) + }) + return file_SetFriendEnterHomeOptionRsp_proto_rawDescData +} + +var file_SetFriendEnterHomeOptionRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetFriendEnterHomeOptionRsp_proto_goTypes = []interface{}{ + (*SetFriendEnterHomeOptionRsp)(nil), // 0: SetFriendEnterHomeOptionRsp +} +var file_SetFriendEnterHomeOptionRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetFriendEnterHomeOptionRsp_proto_init() } +func file_SetFriendEnterHomeOptionRsp_proto_init() { + if File_SetFriendEnterHomeOptionRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetFriendEnterHomeOptionRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFriendEnterHomeOptionRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetFriendEnterHomeOptionRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetFriendEnterHomeOptionRsp_proto_goTypes, + DependencyIndexes: file_SetFriendEnterHomeOptionRsp_proto_depIdxs, + MessageInfos: file_SetFriendEnterHomeOptionRsp_proto_msgTypes, + }.Build() + File_SetFriendEnterHomeOptionRsp_proto = out.File + file_SetFriendEnterHomeOptionRsp_proto_rawDesc = nil + file_SetFriendEnterHomeOptionRsp_proto_goTypes = nil + file_SetFriendEnterHomeOptionRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.proto b/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.proto new file mode 100644 index 00000000..813b05a2 --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendEnterHomeOptionRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4743 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetFriendEnterHomeOptionRsp { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/SetFriendRemarkNameReq.pb.go b/gate-hk4e-api/proto/SetFriendRemarkNameReq.pb.go new file mode 100644 index 00000000..7154fd37 --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendRemarkNameReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetFriendRemarkNameReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4042 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetFriendRemarkNameReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty"` + RemarkName string `protobuf:"bytes,8,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` +} + +func (x *SetFriendRemarkNameReq) Reset() { + *x = SetFriendRemarkNameReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetFriendRemarkNameReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFriendRemarkNameReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFriendRemarkNameReq) ProtoMessage() {} + +func (x *SetFriendRemarkNameReq) ProtoReflect() protoreflect.Message { + mi := &file_SetFriendRemarkNameReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFriendRemarkNameReq.ProtoReflect.Descriptor instead. +func (*SetFriendRemarkNameReq) Descriptor() ([]byte, []int) { + return file_SetFriendRemarkNameReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetFriendRemarkNameReq) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *SetFriendRemarkNameReq) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +var File_SetFriendRemarkNameReq_proto protoreflect.FileDescriptor + +var file_SetFriendRemarkNameReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, + 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, + 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, + 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetFriendRemarkNameReq_proto_rawDescOnce sync.Once + file_SetFriendRemarkNameReq_proto_rawDescData = file_SetFriendRemarkNameReq_proto_rawDesc +) + +func file_SetFriendRemarkNameReq_proto_rawDescGZIP() []byte { + file_SetFriendRemarkNameReq_proto_rawDescOnce.Do(func() { + file_SetFriendRemarkNameReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetFriendRemarkNameReq_proto_rawDescData) + }) + return file_SetFriendRemarkNameReq_proto_rawDescData +} + +var file_SetFriendRemarkNameReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetFriendRemarkNameReq_proto_goTypes = []interface{}{ + (*SetFriendRemarkNameReq)(nil), // 0: SetFriendRemarkNameReq +} +var file_SetFriendRemarkNameReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetFriendRemarkNameReq_proto_init() } +func file_SetFriendRemarkNameReq_proto_init() { + if File_SetFriendRemarkNameReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetFriendRemarkNameReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFriendRemarkNameReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetFriendRemarkNameReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetFriendRemarkNameReq_proto_goTypes, + DependencyIndexes: file_SetFriendRemarkNameReq_proto_depIdxs, + MessageInfos: file_SetFriendRemarkNameReq_proto_msgTypes, + }.Build() + File_SetFriendRemarkNameReq_proto = out.File + file_SetFriendRemarkNameReq_proto_rawDesc = nil + file_SetFriendRemarkNameReq_proto_goTypes = nil + file_SetFriendRemarkNameReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetFriendRemarkNameReq.proto b/gate-hk4e-api/proto/SetFriendRemarkNameReq.proto new file mode 100644 index 00000000..a5bd6508 --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendRemarkNameReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4042 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetFriendRemarkNameReq { + uint32 uid = 10; + string remark_name = 8; +} diff --git a/gate-hk4e-api/proto/SetFriendRemarkNameRsp.pb.go b/gate-hk4e-api/proto/SetFriendRemarkNameRsp.pb.go new file mode 100644 index 00000000..7788b4db --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendRemarkNameRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetFriendRemarkNameRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4030 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetFriendRemarkNameRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemarkName string `protobuf:"bytes,13,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + IsClearRemark bool `protobuf:"varint,3,opt,name=is_clear_remark,json=isClearRemark,proto3" json:"is_clear_remark,omitempty"` + Uid uint32 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetFriendRemarkNameRsp) Reset() { + *x = SetFriendRemarkNameRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetFriendRemarkNameRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFriendRemarkNameRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFriendRemarkNameRsp) ProtoMessage() {} + +func (x *SetFriendRemarkNameRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetFriendRemarkNameRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFriendRemarkNameRsp.ProtoReflect.Descriptor instead. +func (*SetFriendRemarkNameRsp) Descriptor() ([]byte, []int) { + return file_SetFriendRemarkNameRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetFriendRemarkNameRsp) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *SetFriendRemarkNameRsp) GetIsClearRemark() bool { + if x != nil { + return x.IsClearRemark + } + return false +} + +func (x *SetFriendRemarkNameRsp) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *SetFriendRemarkNameRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetFriendRemarkNameRsp_proto protoreflect.FileDescriptor + +var file_SetFriendRemarkNameRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, + 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, + 0x01, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, + 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, + 0x61, 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, + 0x5f, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x52, 0x65, 0x6d, 0x61, + 0x72, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SetFriendRemarkNameRsp_proto_rawDescOnce sync.Once + file_SetFriendRemarkNameRsp_proto_rawDescData = file_SetFriendRemarkNameRsp_proto_rawDesc +) + +func file_SetFriendRemarkNameRsp_proto_rawDescGZIP() []byte { + file_SetFriendRemarkNameRsp_proto_rawDescOnce.Do(func() { + file_SetFriendRemarkNameRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetFriendRemarkNameRsp_proto_rawDescData) + }) + return file_SetFriendRemarkNameRsp_proto_rawDescData +} + +var file_SetFriendRemarkNameRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetFriendRemarkNameRsp_proto_goTypes = []interface{}{ + (*SetFriendRemarkNameRsp)(nil), // 0: SetFriendRemarkNameRsp +} +var file_SetFriendRemarkNameRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetFriendRemarkNameRsp_proto_init() } +func file_SetFriendRemarkNameRsp_proto_init() { + if File_SetFriendRemarkNameRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetFriendRemarkNameRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFriendRemarkNameRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetFriendRemarkNameRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetFriendRemarkNameRsp_proto_goTypes, + DependencyIndexes: file_SetFriendRemarkNameRsp_proto_depIdxs, + MessageInfos: file_SetFriendRemarkNameRsp_proto_msgTypes, + }.Build() + File_SetFriendRemarkNameRsp_proto = out.File + file_SetFriendRemarkNameRsp_proto_rawDesc = nil + file_SetFriendRemarkNameRsp_proto_goTypes = nil + file_SetFriendRemarkNameRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetFriendRemarkNameRsp.proto b/gate-hk4e-api/proto/SetFriendRemarkNameRsp.proto new file mode 100644 index 00000000..da835e6f --- /dev/null +++ b/gate-hk4e-api/proto/SetFriendRemarkNameRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4030 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetFriendRemarkNameRsp { + string remark_name = 13; + bool is_clear_remark = 3; + uint32 uid = 10; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.pb.go b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.pb.go new file mode 100644 index 00000000..56e64a4d --- /dev/null +++ b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetH5ActivityRedDotTimestampReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5657 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetH5ActivityRedDotTimestampReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientRedDotTimestamp uint32 `protobuf:"varint,13,opt,name=client_red_dot_timestamp,json=clientRedDotTimestamp,proto3" json:"client_red_dot_timestamp,omitempty"` +} + +func (x *SetH5ActivityRedDotTimestampReq) Reset() { + *x = SetH5ActivityRedDotTimestampReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetH5ActivityRedDotTimestampReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetH5ActivityRedDotTimestampReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetH5ActivityRedDotTimestampReq) ProtoMessage() {} + +func (x *SetH5ActivityRedDotTimestampReq) ProtoReflect() protoreflect.Message { + mi := &file_SetH5ActivityRedDotTimestampReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetH5ActivityRedDotTimestampReq.ProtoReflect.Descriptor instead. +func (*SetH5ActivityRedDotTimestampReq) Descriptor() ([]byte, []int) { + return file_SetH5ActivityRedDotTimestampReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetH5ActivityRedDotTimestampReq) GetClientRedDotTimestamp() uint32 { + if x != nil { + return x.ClientRedDotTimestamp + } + return 0 +} + +var File_SetH5ActivityRedDotTimestampReq_proto protoreflect.FileDescriptor + +var file_SetH5ActivityRedDotTimestampReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x65, 0x74, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x48, 0x35, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetH5ActivityRedDotTimestampReq_proto_rawDescOnce sync.Once + file_SetH5ActivityRedDotTimestampReq_proto_rawDescData = file_SetH5ActivityRedDotTimestampReq_proto_rawDesc +) + +func file_SetH5ActivityRedDotTimestampReq_proto_rawDescGZIP() []byte { + file_SetH5ActivityRedDotTimestampReq_proto_rawDescOnce.Do(func() { + file_SetH5ActivityRedDotTimestampReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetH5ActivityRedDotTimestampReq_proto_rawDescData) + }) + return file_SetH5ActivityRedDotTimestampReq_proto_rawDescData +} + +var file_SetH5ActivityRedDotTimestampReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetH5ActivityRedDotTimestampReq_proto_goTypes = []interface{}{ + (*SetH5ActivityRedDotTimestampReq)(nil), // 0: SetH5ActivityRedDotTimestampReq +} +var file_SetH5ActivityRedDotTimestampReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetH5ActivityRedDotTimestampReq_proto_init() } +func file_SetH5ActivityRedDotTimestampReq_proto_init() { + if File_SetH5ActivityRedDotTimestampReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetH5ActivityRedDotTimestampReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetH5ActivityRedDotTimestampReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetH5ActivityRedDotTimestampReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetH5ActivityRedDotTimestampReq_proto_goTypes, + DependencyIndexes: file_SetH5ActivityRedDotTimestampReq_proto_depIdxs, + MessageInfos: file_SetH5ActivityRedDotTimestampReq_proto_msgTypes, + }.Build() + File_SetH5ActivityRedDotTimestampReq_proto = out.File + file_SetH5ActivityRedDotTimestampReq_proto_rawDesc = nil + file_SetH5ActivityRedDotTimestampReq_proto_goTypes = nil + file_SetH5ActivityRedDotTimestampReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.proto b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.proto new file mode 100644 index 00000000..f04f7d8c --- /dev/null +++ b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampReq.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5657 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetH5ActivityRedDotTimestampReq { + uint32 client_red_dot_timestamp = 13; +} diff --git a/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.pb.go b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.pb.go new file mode 100644 index 00000000..c8dfbab0 --- /dev/null +++ b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetH5ActivityRedDotTimestampRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5652 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetH5ActivityRedDotTimestampRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetH5ActivityRedDotTimestampRsp) Reset() { + *x = SetH5ActivityRedDotTimestampRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetH5ActivityRedDotTimestampRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetH5ActivityRedDotTimestampRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetH5ActivityRedDotTimestampRsp) ProtoMessage() {} + +func (x *SetH5ActivityRedDotTimestampRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetH5ActivityRedDotTimestampRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetH5ActivityRedDotTimestampRsp.ProtoReflect.Descriptor instead. +func (*SetH5ActivityRedDotTimestampRsp) Descriptor() ([]byte, []int) { + return file_SetH5ActivityRedDotTimestampRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetH5ActivityRedDotTimestampRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetH5ActivityRedDotTimestampRsp_proto protoreflect.FileDescriptor + +var file_SetH5ActivityRedDotTimestampRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x65, 0x74, 0x48, 0x35, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x48, 0x35, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetH5ActivityRedDotTimestampRsp_proto_rawDescOnce sync.Once + file_SetH5ActivityRedDotTimestampRsp_proto_rawDescData = file_SetH5ActivityRedDotTimestampRsp_proto_rawDesc +) + +func file_SetH5ActivityRedDotTimestampRsp_proto_rawDescGZIP() []byte { + file_SetH5ActivityRedDotTimestampRsp_proto_rawDescOnce.Do(func() { + file_SetH5ActivityRedDotTimestampRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetH5ActivityRedDotTimestampRsp_proto_rawDescData) + }) + return file_SetH5ActivityRedDotTimestampRsp_proto_rawDescData +} + +var file_SetH5ActivityRedDotTimestampRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetH5ActivityRedDotTimestampRsp_proto_goTypes = []interface{}{ + (*SetH5ActivityRedDotTimestampRsp)(nil), // 0: SetH5ActivityRedDotTimestampRsp +} +var file_SetH5ActivityRedDotTimestampRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetH5ActivityRedDotTimestampRsp_proto_init() } +func file_SetH5ActivityRedDotTimestampRsp_proto_init() { + if File_SetH5ActivityRedDotTimestampRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetH5ActivityRedDotTimestampRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetH5ActivityRedDotTimestampRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetH5ActivityRedDotTimestampRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetH5ActivityRedDotTimestampRsp_proto_goTypes, + DependencyIndexes: file_SetH5ActivityRedDotTimestampRsp_proto_depIdxs, + MessageInfos: file_SetH5ActivityRedDotTimestampRsp_proto_msgTypes, + }.Build() + File_SetH5ActivityRedDotTimestampRsp_proto = out.File + file_SetH5ActivityRedDotTimestampRsp_proto_rawDesc = nil + file_SetH5ActivityRedDotTimestampRsp_proto_goTypes = nil + file_SetH5ActivityRedDotTimestampRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.proto b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.proto new file mode 100644 index 00000000..28a6dc87 --- /dev/null +++ b/gate-hk4e-api/proto/SetH5ActivityRedDotTimestampRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5652 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetH5ActivityRedDotTimestampRsp { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.pb.go b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.pb.go new file mode 100644 index 00000000..13dd9f81 --- /dev/null +++ b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetIsAutoUnlockSpecificEquipReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 620 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetIsAutoUnlockSpecificEquipReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAutoUnlockSpecificEquip bool `protobuf:"varint,14,opt,name=is_auto_unlock_specific_equip,json=isAutoUnlockSpecificEquip,proto3" json:"is_auto_unlock_specific_equip,omitempty"` +} + +func (x *SetIsAutoUnlockSpecificEquipReq) Reset() { + *x = SetIsAutoUnlockSpecificEquipReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetIsAutoUnlockSpecificEquipReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetIsAutoUnlockSpecificEquipReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetIsAutoUnlockSpecificEquipReq) ProtoMessage() {} + +func (x *SetIsAutoUnlockSpecificEquipReq) ProtoReflect() protoreflect.Message { + mi := &file_SetIsAutoUnlockSpecificEquipReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetIsAutoUnlockSpecificEquipReq.ProtoReflect.Descriptor instead. +func (*SetIsAutoUnlockSpecificEquipReq) Descriptor() ([]byte, []int) { + return file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetIsAutoUnlockSpecificEquipReq) GetIsAutoUnlockSpecificEquip() bool { + if x != nil { + return x.IsAutoUnlockSpecificEquip + } + return false +} + +var File_SetIsAutoUnlockSpecificEquipReq_proto protoreflect.FileDescriptor + +var file_SetIsAutoUnlockSpecificEquipReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x49, 0x73, + 0x41, 0x75, 0x74, 0x6f, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, + 0x69, 0x63, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x40, 0x0a, 0x1d, 0x69, 0x73, + 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x70, 0x65, + 0x63, 0x69, 0x66, 0x69, 0x63, 0x5f, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x19, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, + 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x45, 0x71, 0x75, 0x69, 0x70, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescOnce sync.Once + file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescData = file_SetIsAutoUnlockSpecificEquipReq_proto_rawDesc +) + +func file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescGZIP() []byte { + file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescOnce.Do(func() { + file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescData) + }) + return file_SetIsAutoUnlockSpecificEquipReq_proto_rawDescData +} + +var file_SetIsAutoUnlockSpecificEquipReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetIsAutoUnlockSpecificEquipReq_proto_goTypes = []interface{}{ + (*SetIsAutoUnlockSpecificEquipReq)(nil), // 0: SetIsAutoUnlockSpecificEquipReq +} +var file_SetIsAutoUnlockSpecificEquipReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetIsAutoUnlockSpecificEquipReq_proto_init() } +func file_SetIsAutoUnlockSpecificEquipReq_proto_init() { + if File_SetIsAutoUnlockSpecificEquipReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetIsAutoUnlockSpecificEquipReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetIsAutoUnlockSpecificEquipReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetIsAutoUnlockSpecificEquipReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetIsAutoUnlockSpecificEquipReq_proto_goTypes, + DependencyIndexes: file_SetIsAutoUnlockSpecificEquipReq_proto_depIdxs, + MessageInfos: file_SetIsAutoUnlockSpecificEquipReq_proto_msgTypes, + }.Build() + File_SetIsAutoUnlockSpecificEquipReq_proto = out.File + file_SetIsAutoUnlockSpecificEquipReq_proto_rawDesc = nil + file_SetIsAutoUnlockSpecificEquipReq_proto_goTypes = nil + file_SetIsAutoUnlockSpecificEquipReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.proto b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.proto new file mode 100644 index 00000000..04165d32 --- /dev/null +++ b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 620 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetIsAutoUnlockSpecificEquipReq { + bool is_auto_unlock_specific_equip = 14; +} diff --git a/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.pb.go b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.pb.go new file mode 100644 index 00000000..29c88121 --- /dev/null +++ b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetIsAutoUnlockSpecificEquipRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 664 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetIsAutoUnlockSpecificEquipRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetIsAutoUnlockSpecificEquipRsp) Reset() { + *x = SetIsAutoUnlockSpecificEquipRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetIsAutoUnlockSpecificEquipRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetIsAutoUnlockSpecificEquipRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetIsAutoUnlockSpecificEquipRsp) ProtoMessage() {} + +func (x *SetIsAutoUnlockSpecificEquipRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetIsAutoUnlockSpecificEquipRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetIsAutoUnlockSpecificEquipRsp.ProtoReflect.Descriptor instead. +func (*SetIsAutoUnlockSpecificEquipRsp) Descriptor() ([]byte, []int) { + return file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetIsAutoUnlockSpecificEquipRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetIsAutoUnlockSpecificEquipRsp_proto protoreflect.FileDescriptor + +var file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x49, 0x73, + 0x41, 0x75, 0x74, 0x6f, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, + 0x69, 0x63, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescOnce sync.Once + file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescData = file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDesc +) + +func file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescGZIP() []byte { + file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescOnce.Do(func() { + file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescData) + }) + return file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDescData +} + +var file_SetIsAutoUnlockSpecificEquipRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetIsAutoUnlockSpecificEquipRsp_proto_goTypes = []interface{}{ + (*SetIsAutoUnlockSpecificEquipRsp)(nil), // 0: SetIsAutoUnlockSpecificEquipRsp +} +var file_SetIsAutoUnlockSpecificEquipRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetIsAutoUnlockSpecificEquipRsp_proto_init() } +func file_SetIsAutoUnlockSpecificEquipRsp_proto_init() { + if File_SetIsAutoUnlockSpecificEquipRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetIsAutoUnlockSpecificEquipRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetIsAutoUnlockSpecificEquipRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetIsAutoUnlockSpecificEquipRsp_proto_goTypes, + DependencyIndexes: file_SetIsAutoUnlockSpecificEquipRsp_proto_depIdxs, + MessageInfos: file_SetIsAutoUnlockSpecificEquipRsp_proto_msgTypes, + }.Build() + File_SetIsAutoUnlockSpecificEquipRsp_proto = out.File + file_SetIsAutoUnlockSpecificEquipRsp_proto_rawDesc = nil + file_SetIsAutoUnlockSpecificEquipRsp_proto_goTypes = nil + file_SetIsAutoUnlockSpecificEquipRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.proto b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.proto new file mode 100644 index 00000000..68d2dfe3 --- /dev/null +++ b/gate-hk4e-api/proto/SetIsAutoUnlockSpecificEquipRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 664 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetIsAutoUnlockSpecificEquipRsp { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/SetLimitOptimizationNotify.pb.go b/gate-hk4e-api/proto/SetLimitOptimizationNotify.pb.go new file mode 100644 index 00000000..26aeb4d6 --- /dev/null +++ b/gate-hk4e-api/proto/SetLimitOptimizationNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetLimitOptimizationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8851 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetLimitOptimizationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` +} + +func (x *SetLimitOptimizationNotify) Reset() { + *x = SetLimitOptimizationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SetLimitOptimizationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetLimitOptimizationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetLimitOptimizationNotify) ProtoMessage() {} + +func (x *SetLimitOptimizationNotify) ProtoReflect() protoreflect.Message { + mi := &file_SetLimitOptimizationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetLimitOptimizationNotify.ProtoReflect.Descriptor instead. +func (*SetLimitOptimizationNotify) Descriptor() ([]byte, []int) { + return file_SetLimitOptimizationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SetLimitOptimizationNotify) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +var File_SetLimitOptimizationNotify_proto protoreflect.FileDescriptor + +var file_SetLimitOptimizationNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x70, + 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SetLimitOptimizationNotify_proto_rawDescOnce sync.Once + file_SetLimitOptimizationNotify_proto_rawDescData = file_SetLimitOptimizationNotify_proto_rawDesc +) + +func file_SetLimitOptimizationNotify_proto_rawDescGZIP() []byte { + file_SetLimitOptimizationNotify_proto_rawDescOnce.Do(func() { + file_SetLimitOptimizationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetLimitOptimizationNotify_proto_rawDescData) + }) + return file_SetLimitOptimizationNotify_proto_rawDescData +} + +var file_SetLimitOptimizationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetLimitOptimizationNotify_proto_goTypes = []interface{}{ + (*SetLimitOptimizationNotify)(nil), // 0: SetLimitOptimizationNotify +} +var file_SetLimitOptimizationNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetLimitOptimizationNotify_proto_init() } +func file_SetLimitOptimizationNotify_proto_init() { + if File_SetLimitOptimizationNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetLimitOptimizationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetLimitOptimizationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetLimitOptimizationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetLimitOptimizationNotify_proto_goTypes, + DependencyIndexes: file_SetLimitOptimizationNotify_proto_depIdxs, + MessageInfos: file_SetLimitOptimizationNotify_proto_msgTypes, + }.Build() + File_SetLimitOptimizationNotify_proto = out.File + file_SetLimitOptimizationNotify_proto_rawDesc = nil + file_SetLimitOptimizationNotify_proto_goTypes = nil + file_SetLimitOptimizationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetLimitOptimizationNotify.proto b/gate-hk4e-api/proto/SetLimitOptimizationNotify.proto new file mode 100644 index 00000000..637d0835 --- /dev/null +++ b/gate-hk4e-api/proto/SetLimitOptimizationNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8851 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetLimitOptimizationNotify { + bool is_active = 3; +} diff --git a/gate-hk4e-api/proto/SetNameCardReq.pb.go b/gate-hk4e-api/proto/SetNameCardReq.pb.go new file mode 100644 index 00000000..0331de39 --- /dev/null +++ b/gate-hk4e-api/proto/SetNameCardReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetNameCardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4004 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetNameCardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NameCardId uint32 `protobuf:"varint,10,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` +} + +func (x *SetNameCardReq) Reset() { + *x = SetNameCardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetNameCardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetNameCardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetNameCardReq) ProtoMessage() {} + +func (x *SetNameCardReq) ProtoReflect() protoreflect.Message { + mi := &file_SetNameCardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetNameCardReq.ProtoReflect.Descriptor instead. +func (*SetNameCardReq) Descriptor() ([]byte, []int) { + return file_SetNameCardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetNameCardReq) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +var File_SetNameCardReq_proto protoreflect.FileDescriptor + +var file_SetNameCardReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, + 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetNameCardReq_proto_rawDescOnce sync.Once + file_SetNameCardReq_proto_rawDescData = file_SetNameCardReq_proto_rawDesc +) + +func file_SetNameCardReq_proto_rawDescGZIP() []byte { + file_SetNameCardReq_proto_rawDescOnce.Do(func() { + file_SetNameCardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetNameCardReq_proto_rawDescData) + }) + return file_SetNameCardReq_proto_rawDescData +} + +var file_SetNameCardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetNameCardReq_proto_goTypes = []interface{}{ + (*SetNameCardReq)(nil), // 0: SetNameCardReq +} +var file_SetNameCardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetNameCardReq_proto_init() } +func file_SetNameCardReq_proto_init() { + if File_SetNameCardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetNameCardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetNameCardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetNameCardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetNameCardReq_proto_goTypes, + DependencyIndexes: file_SetNameCardReq_proto_depIdxs, + MessageInfos: file_SetNameCardReq_proto_msgTypes, + }.Build() + File_SetNameCardReq_proto = out.File + file_SetNameCardReq_proto_rawDesc = nil + file_SetNameCardReq_proto_goTypes = nil + file_SetNameCardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetNameCardReq.proto b/gate-hk4e-api/proto/SetNameCardReq.proto new file mode 100644 index 00000000..72513112 --- /dev/null +++ b/gate-hk4e-api/proto/SetNameCardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4004 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetNameCardReq { + uint32 name_card_id = 10; +} diff --git a/gate-hk4e-api/proto/SetNameCardRsp.pb.go b/gate-hk4e-api/proto/SetNameCardRsp.pb.go new file mode 100644 index 00000000..fcd0f964 --- /dev/null +++ b/gate-hk4e-api/proto/SetNameCardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetNameCardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4093 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetNameCardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NameCardId uint32 `protobuf:"varint,11,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetNameCardRsp) Reset() { + *x = SetNameCardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetNameCardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetNameCardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetNameCardRsp) ProtoMessage() {} + +func (x *SetNameCardRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetNameCardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetNameCardRsp.ProtoReflect.Descriptor instead. +func (*SetNameCardRsp) Descriptor() ([]byte, []int) { + return file_SetNameCardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetNameCardRsp) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +func (x *SetNameCardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetNameCardRsp_proto protoreflect.FileDescriptor + +var file_SetNameCardRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, + 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetNameCardRsp_proto_rawDescOnce sync.Once + file_SetNameCardRsp_proto_rawDescData = file_SetNameCardRsp_proto_rawDesc +) + +func file_SetNameCardRsp_proto_rawDescGZIP() []byte { + file_SetNameCardRsp_proto_rawDescOnce.Do(func() { + file_SetNameCardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetNameCardRsp_proto_rawDescData) + }) + return file_SetNameCardRsp_proto_rawDescData +} + +var file_SetNameCardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetNameCardRsp_proto_goTypes = []interface{}{ + (*SetNameCardRsp)(nil), // 0: SetNameCardRsp +} +var file_SetNameCardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetNameCardRsp_proto_init() } +func file_SetNameCardRsp_proto_init() { + if File_SetNameCardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetNameCardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetNameCardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetNameCardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetNameCardRsp_proto_goTypes, + DependencyIndexes: file_SetNameCardRsp_proto_depIdxs, + MessageInfos: file_SetNameCardRsp_proto_msgTypes, + }.Build() + File_SetNameCardRsp_proto = out.File + file_SetNameCardRsp_proto_rawDesc = nil + file_SetNameCardRsp_proto_goTypes = nil + file_SetNameCardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetNameCardRsp.proto b/gate-hk4e-api/proto/SetNameCardRsp.proto new file mode 100644 index 00000000..797271e1 --- /dev/null +++ b/gate-hk4e-api/proto/SetNameCardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4093 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetNameCardRsp { + uint32 name_card_id = 11; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/SetOpenStateReq.pb.go b/gate-hk4e-api/proto/SetOpenStateReq.pb.go new file mode 100644 index 00000000..52a6d485 --- /dev/null +++ b/gate-hk4e-api/proto/SetOpenStateReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetOpenStateReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetOpenStateReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key uint32 `protobuf:"varint,12,opt,name=key,proto3" json:"key,omitempty"` + Value uint32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SetOpenStateReq) Reset() { + *x = SetOpenStateReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetOpenStateReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetOpenStateReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetOpenStateReq) ProtoMessage() {} + +func (x *SetOpenStateReq) ProtoReflect() protoreflect.Message { + mi := &file_SetOpenStateReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetOpenStateReq.ProtoReflect.Descriptor instead. +func (*SetOpenStateReq) Descriptor() ([]byte, []int) { + return file_SetOpenStateReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetOpenStateReq) GetKey() uint32 { + if x != nil { + return x.Key + } + return 0 +} + +func (x *SetOpenStateReq) GetValue() uint32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_SetOpenStateReq_proto protoreflect.FileDescriptor + +var file_SetOpenStateReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x4f, 0x70, + 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetOpenStateReq_proto_rawDescOnce sync.Once + file_SetOpenStateReq_proto_rawDescData = file_SetOpenStateReq_proto_rawDesc +) + +func file_SetOpenStateReq_proto_rawDescGZIP() []byte { + file_SetOpenStateReq_proto_rawDescOnce.Do(func() { + file_SetOpenStateReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetOpenStateReq_proto_rawDescData) + }) + return file_SetOpenStateReq_proto_rawDescData +} + +var file_SetOpenStateReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetOpenStateReq_proto_goTypes = []interface{}{ + (*SetOpenStateReq)(nil), // 0: SetOpenStateReq +} +var file_SetOpenStateReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetOpenStateReq_proto_init() } +func file_SetOpenStateReq_proto_init() { + if File_SetOpenStateReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetOpenStateReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetOpenStateReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetOpenStateReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetOpenStateReq_proto_goTypes, + DependencyIndexes: file_SetOpenStateReq_proto_depIdxs, + MessageInfos: file_SetOpenStateReq_proto_msgTypes, + }.Build() + File_SetOpenStateReq_proto = out.File + file_SetOpenStateReq_proto_rawDesc = nil + file_SetOpenStateReq_proto_goTypes = nil + file_SetOpenStateReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetOpenStateReq.proto b/gate-hk4e-api/proto/SetOpenStateReq.proto new file mode 100644 index 00000000..5cc46b6c --- /dev/null +++ b/gate-hk4e-api/proto/SetOpenStateReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetOpenStateReq { + uint32 key = 12; + uint32 value = 5; +} diff --git a/gate-hk4e-api/proto/SetOpenStateRsp.pb.go b/gate-hk4e-api/proto/SetOpenStateRsp.pb.go new file mode 100644 index 00000000..9ec8a820 --- /dev/null +++ b/gate-hk4e-api/proto/SetOpenStateRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetOpenStateRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 104 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetOpenStateRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key uint32 `protobuf:"varint,9,opt,name=key,proto3" json:"key,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + Value uint32 `protobuf:"varint,15,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SetOpenStateRsp) Reset() { + *x = SetOpenStateRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetOpenStateRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetOpenStateRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetOpenStateRsp) ProtoMessage() {} + +func (x *SetOpenStateRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetOpenStateRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetOpenStateRsp.ProtoReflect.Descriptor instead. +func (*SetOpenStateRsp) Descriptor() ([]byte, []int) { + return file_SetOpenStateRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetOpenStateRsp) GetKey() uint32 { + if x != nil { + return x.Key + } + return 0 +} + +func (x *SetOpenStateRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SetOpenStateRsp) GetValue() uint32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_SetOpenStateRsp_proto protoreflect.FileDescriptor + +var file_SetOpenStateRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x4f, 0x70, + 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetOpenStateRsp_proto_rawDescOnce sync.Once + file_SetOpenStateRsp_proto_rawDescData = file_SetOpenStateRsp_proto_rawDesc +) + +func file_SetOpenStateRsp_proto_rawDescGZIP() []byte { + file_SetOpenStateRsp_proto_rawDescOnce.Do(func() { + file_SetOpenStateRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetOpenStateRsp_proto_rawDescData) + }) + return file_SetOpenStateRsp_proto_rawDescData +} + +var file_SetOpenStateRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetOpenStateRsp_proto_goTypes = []interface{}{ + (*SetOpenStateRsp)(nil), // 0: SetOpenStateRsp +} +var file_SetOpenStateRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetOpenStateRsp_proto_init() } +func file_SetOpenStateRsp_proto_init() { + if File_SetOpenStateRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetOpenStateRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetOpenStateRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetOpenStateRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetOpenStateRsp_proto_goTypes, + DependencyIndexes: file_SetOpenStateRsp_proto_depIdxs, + MessageInfos: file_SetOpenStateRsp_proto_msgTypes, + }.Build() + File_SetOpenStateRsp_proto = out.File + file_SetOpenStateRsp_proto_rawDesc = nil + file_SetOpenStateRsp_proto_goTypes = nil + file_SetOpenStateRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetOpenStateRsp.proto b/gate-hk4e-api/proto/SetOpenStateRsp.proto new file mode 100644 index 00000000..2bf1cc47 --- /dev/null +++ b/gate-hk4e-api/proto/SetOpenStateRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 104 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetOpenStateRsp { + uint32 key = 9; + int32 retcode = 14; + uint32 value = 15; +} diff --git a/gate-hk4e-api/proto/SetPlayerBirthdayReq.pb.go b/gate-hk4e-api/proto/SetPlayerBirthdayReq.pb.go new file mode 100644 index 00000000..d261c5fd --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBirthdayReq.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerBirthdayReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4048 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerBirthdayReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Birthday *Birthday `protobuf:"bytes,9,opt,name=birthday,proto3" json:"birthday,omitempty"` +} + +func (x *SetPlayerBirthdayReq) Reset() { + *x = SetPlayerBirthdayReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerBirthdayReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerBirthdayReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerBirthdayReq) ProtoMessage() {} + +func (x *SetPlayerBirthdayReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerBirthdayReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerBirthdayReq.ProtoReflect.Descriptor instead. +func (*SetPlayerBirthdayReq) Descriptor() ([]byte, []int) { + return file_SetPlayerBirthdayReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerBirthdayReq) GetBirthday() *Birthday { + if x != nil { + return x.Birthday + } + return nil +} + +var File_SetPlayerBirthdayReq_proto protoreflect.FileDescriptor + +var file_SetPlayerBirthdayReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x69, 0x72, 0x74, 0x68, + 0x64, 0x61, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x42, 0x69, + 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, + 0x79, 0x52, 0x65, 0x71, 0x12, 0x25, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, + 0x79, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerBirthdayReq_proto_rawDescOnce sync.Once + file_SetPlayerBirthdayReq_proto_rawDescData = file_SetPlayerBirthdayReq_proto_rawDesc +) + +func file_SetPlayerBirthdayReq_proto_rawDescGZIP() []byte { + file_SetPlayerBirthdayReq_proto_rawDescOnce.Do(func() { + file_SetPlayerBirthdayReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerBirthdayReq_proto_rawDescData) + }) + return file_SetPlayerBirthdayReq_proto_rawDescData +} + +var file_SetPlayerBirthdayReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerBirthdayReq_proto_goTypes = []interface{}{ + (*SetPlayerBirthdayReq)(nil), // 0: SetPlayerBirthdayReq + (*Birthday)(nil), // 1: Birthday +} +var file_SetPlayerBirthdayReq_proto_depIdxs = []int32{ + 1, // 0: SetPlayerBirthdayReq.birthday:type_name -> Birthday + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetPlayerBirthdayReq_proto_init() } +func file_SetPlayerBirthdayReq_proto_init() { + if File_SetPlayerBirthdayReq_proto != nil { + return + } + file_Birthday_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetPlayerBirthdayReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerBirthdayReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerBirthdayReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerBirthdayReq_proto_goTypes, + DependencyIndexes: file_SetPlayerBirthdayReq_proto_depIdxs, + MessageInfos: file_SetPlayerBirthdayReq_proto_msgTypes, + }.Build() + File_SetPlayerBirthdayReq_proto = out.File + file_SetPlayerBirthdayReq_proto_rawDesc = nil + file_SetPlayerBirthdayReq_proto_goTypes = nil + file_SetPlayerBirthdayReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerBirthdayReq.proto b/gate-hk4e-api/proto/SetPlayerBirthdayReq.proto new file mode 100644 index 00000000..eafbad1e --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBirthdayReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Birthday.proto"; + +option go_package = "./;proto"; + +// CmdId: 4048 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerBirthdayReq { + Birthday birthday = 9; +} diff --git a/gate-hk4e-api/proto/SetPlayerBirthdayRsp.pb.go b/gate-hk4e-api/proto/SetPlayerBirthdayRsp.pb.go new file mode 100644 index 00000000..7b5e7fdc --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBirthdayRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerBirthdayRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4097 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerBirthdayRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Birthday *Birthday `protobuf:"bytes,2,opt,name=birthday,proto3" json:"birthday,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetPlayerBirthdayRsp) Reset() { + *x = SetPlayerBirthdayRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerBirthdayRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerBirthdayRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerBirthdayRsp) ProtoMessage() {} + +func (x *SetPlayerBirthdayRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerBirthdayRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerBirthdayRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerBirthdayRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerBirthdayRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerBirthdayRsp) GetBirthday() *Birthday { + if x != nil { + return x.Birthday + } + return nil +} + +func (x *SetPlayerBirthdayRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetPlayerBirthdayRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerBirthdayRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x69, 0x72, 0x74, 0x68, + 0x64, 0x61, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x42, 0x69, + 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, + 0x79, 0x52, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, + 0x79, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerBirthdayRsp_proto_rawDescOnce sync.Once + file_SetPlayerBirthdayRsp_proto_rawDescData = file_SetPlayerBirthdayRsp_proto_rawDesc +) + +func file_SetPlayerBirthdayRsp_proto_rawDescGZIP() []byte { + file_SetPlayerBirthdayRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerBirthdayRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerBirthdayRsp_proto_rawDescData) + }) + return file_SetPlayerBirthdayRsp_proto_rawDescData +} + +var file_SetPlayerBirthdayRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerBirthdayRsp_proto_goTypes = []interface{}{ + (*SetPlayerBirthdayRsp)(nil), // 0: SetPlayerBirthdayRsp + (*Birthday)(nil), // 1: Birthday +} +var file_SetPlayerBirthdayRsp_proto_depIdxs = []int32{ + 1, // 0: SetPlayerBirthdayRsp.birthday:type_name -> Birthday + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetPlayerBirthdayRsp_proto_init() } +func file_SetPlayerBirthdayRsp_proto_init() { + if File_SetPlayerBirthdayRsp_proto != nil { + return + } + file_Birthday_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetPlayerBirthdayRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerBirthdayRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerBirthdayRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerBirthdayRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerBirthdayRsp_proto_depIdxs, + MessageInfos: file_SetPlayerBirthdayRsp_proto_msgTypes, + }.Build() + File_SetPlayerBirthdayRsp_proto = out.File + file_SetPlayerBirthdayRsp_proto_rawDesc = nil + file_SetPlayerBirthdayRsp_proto_goTypes = nil + file_SetPlayerBirthdayRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerBirthdayRsp.proto b/gate-hk4e-api/proto/SetPlayerBirthdayRsp.proto new file mode 100644 index 00000000..172ba624 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBirthdayRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Birthday.proto"; + +option go_package = "./;proto"; + +// CmdId: 4097 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerBirthdayRsp { + Birthday birthday = 2; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/SetPlayerBornDataReq.pb.go b/gate-hk4e-api/proto/SetPlayerBornDataReq.pb.go new file mode 100644 index 00000000..4de9901d --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBornDataReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerBornDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 105 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerBornDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + NickName string `protobuf:"bytes,13,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` +} + +func (x *SetPlayerBornDataReq) Reset() { + *x = SetPlayerBornDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerBornDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerBornDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerBornDataReq) ProtoMessage() {} + +func (x *SetPlayerBornDataReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerBornDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerBornDataReq.ProtoReflect.Descriptor instead. +func (*SetPlayerBornDataReq) Descriptor() ([]byte, []int) { + return file_SetPlayerBornDataReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerBornDataReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *SetPlayerBornDataReq) GetNickName() string { + if x != nil { + return x.NickName + } + return "" +} + +var File_SetPlayerBornDataReq_proto protoreflect.FileDescriptor + +var file_SetPlayerBornDataReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SetPlayerBornDataReq_proto_rawDescOnce sync.Once + file_SetPlayerBornDataReq_proto_rawDescData = file_SetPlayerBornDataReq_proto_rawDesc +) + +func file_SetPlayerBornDataReq_proto_rawDescGZIP() []byte { + file_SetPlayerBornDataReq_proto_rawDescOnce.Do(func() { + file_SetPlayerBornDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerBornDataReq_proto_rawDescData) + }) + return file_SetPlayerBornDataReq_proto_rawDescData +} + +var file_SetPlayerBornDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerBornDataReq_proto_goTypes = []interface{}{ + (*SetPlayerBornDataReq)(nil), // 0: SetPlayerBornDataReq +} +var file_SetPlayerBornDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerBornDataReq_proto_init() } +func file_SetPlayerBornDataReq_proto_init() { + if File_SetPlayerBornDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerBornDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerBornDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerBornDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerBornDataReq_proto_goTypes, + DependencyIndexes: file_SetPlayerBornDataReq_proto_depIdxs, + MessageInfos: file_SetPlayerBornDataReq_proto_msgTypes, + }.Build() + File_SetPlayerBornDataReq_proto = out.File + file_SetPlayerBornDataReq_proto_rawDesc = nil + file_SetPlayerBornDataReq_proto_goTypes = nil + file_SetPlayerBornDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerBornDataReq.proto b/gate-hk4e-api/proto/SetPlayerBornDataReq.proto new file mode 100644 index 00000000..1bbb94e7 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBornDataReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 105 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerBornDataReq { + uint32 avatar_id = 2; + string nick_name = 13; +} diff --git a/gate-hk4e-api/proto/SetPlayerBornDataRsp.pb.go b/gate-hk4e-api/proto/SetPlayerBornDataRsp.pb.go new file mode 100644 index 00000000..17f908ff --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBornDataRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerBornDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 182 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerBornDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetPlayerBornDataRsp) Reset() { + *x = SetPlayerBornDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerBornDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerBornDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerBornDataRsp) ProtoMessage() {} + +func (x *SetPlayerBornDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerBornDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerBornDataRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerBornDataRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerBornDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerBornDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetPlayerBornDataRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerBornDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x6f, 0x72, 0x6e, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SetPlayerBornDataRsp_proto_rawDescOnce sync.Once + file_SetPlayerBornDataRsp_proto_rawDescData = file_SetPlayerBornDataRsp_proto_rawDesc +) + +func file_SetPlayerBornDataRsp_proto_rawDescGZIP() []byte { + file_SetPlayerBornDataRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerBornDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerBornDataRsp_proto_rawDescData) + }) + return file_SetPlayerBornDataRsp_proto_rawDescData +} + +var file_SetPlayerBornDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerBornDataRsp_proto_goTypes = []interface{}{ + (*SetPlayerBornDataRsp)(nil), // 0: SetPlayerBornDataRsp +} +var file_SetPlayerBornDataRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerBornDataRsp_proto_init() } +func file_SetPlayerBornDataRsp_proto_init() { + if File_SetPlayerBornDataRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerBornDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerBornDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerBornDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerBornDataRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerBornDataRsp_proto_depIdxs, + MessageInfos: file_SetPlayerBornDataRsp_proto_msgTypes, + }.Build() + File_SetPlayerBornDataRsp_proto = out.File + file_SetPlayerBornDataRsp_proto_rawDesc = nil + file_SetPlayerBornDataRsp_proto_goTypes = nil + file_SetPlayerBornDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerBornDataRsp.proto b/gate-hk4e-api/proto/SetPlayerBornDataRsp.proto new file mode 100644 index 00000000..d15f8ca4 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerBornDataRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 182 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerBornDataRsp { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/SetPlayerHeadImageReq.pb.go b/gate-hk4e-api/proto/SetPlayerHeadImageReq.pb.go new file mode 100644 index 00000000..912c2bd0 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerHeadImageReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerHeadImageReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4082 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerHeadImageReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,7,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *SetPlayerHeadImageReq) Reset() { + *x = SetPlayerHeadImageReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerHeadImageReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerHeadImageReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerHeadImageReq) ProtoMessage() {} + +func (x *SetPlayerHeadImageReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerHeadImageReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerHeadImageReq.ProtoReflect.Descriptor instead. +func (*SetPlayerHeadImageReq) Descriptor() ([]byte, []int) { + return file_SetPlayerHeadImageReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerHeadImageReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_SetPlayerHeadImageReq_proto protoreflect.FileDescriptor + +var file_SetPlayerHeadImageReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, + 0x15, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerHeadImageReq_proto_rawDescOnce sync.Once + file_SetPlayerHeadImageReq_proto_rawDescData = file_SetPlayerHeadImageReq_proto_rawDesc +) + +func file_SetPlayerHeadImageReq_proto_rawDescGZIP() []byte { + file_SetPlayerHeadImageReq_proto_rawDescOnce.Do(func() { + file_SetPlayerHeadImageReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerHeadImageReq_proto_rawDescData) + }) + return file_SetPlayerHeadImageReq_proto_rawDescData +} + +var file_SetPlayerHeadImageReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerHeadImageReq_proto_goTypes = []interface{}{ + (*SetPlayerHeadImageReq)(nil), // 0: SetPlayerHeadImageReq +} +var file_SetPlayerHeadImageReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerHeadImageReq_proto_init() } +func file_SetPlayerHeadImageReq_proto_init() { + if File_SetPlayerHeadImageReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerHeadImageReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerHeadImageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerHeadImageReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerHeadImageReq_proto_goTypes, + DependencyIndexes: file_SetPlayerHeadImageReq_proto_depIdxs, + MessageInfos: file_SetPlayerHeadImageReq_proto_msgTypes, + }.Build() + File_SetPlayerHeadImageReq_proto = out.File + file_SetPlayerHeadImageReq_proto_rawDesc = nil + file_SetPlayerHeadImageReq_proto_goTypes = nil + file_SetPlayerHeadImageReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerHeadImageReq.proto b/gate-hk4e-api/proto/SetPlayerHeadImageReq.proto new file mode 100644 index 00000000..1c5f9d2a --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerHeadImageReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4082 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerHeadImageReq { + uint32 avatar_id = 7; +} diff --git a/gate-hk4e-api/proto/SetPlayerHeadImageRsp.pb.go b/gate-hk4e-api/proto/SetPlayerHeadImageRsp.pb.go new file mode 100644 index 00000000..4c935329 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerHeadImageRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerHeadImageRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4047 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerHeadImageRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProfilePicture *ProfilePicture `protobuf:"bytes,6,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + AvatarId uint32 `protobuf:"varint,5,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetPlayerHeadImageRsp) Reset() { + *x = SetPlayerHeadImageRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerHeadImageRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerHeadImageRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerHeadImageRsp) ProtoMessage() {} + +func (x *SetPlayerHeadImageRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerHeadImageRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerHeadImageRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerHeadImageRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerHeadImageRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerHeadImageRsp) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *SetPlayerHeadImageRsp) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *SetPlayerHeadImageRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetPlayerHeadImageRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerHeadImageRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x48, 0x65, 0x61, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x38, 0x0a, + 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SetPlayerHeadImageRsp_proto_rawDescOnce sync.Once + file_SetPlayerHeadImageRsp_proto_rawDescData = file_SetPlayerHeadImageRsp_proto_rawDesc +) + +func file_SetPlayerHeadImageRsp_proto_rawDescGZIP() []byte { + file_SetPlayerHeadImageRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerHeadImageRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerHeadImageRsp_proto_rawDescData) + }) + return file_SetPlayerHeadImageRsp_proto_rawDescData +} + +var file_SetPlayerHeadImageRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerHeadImageRsp_proto_goTypes = []interface{}{ + (*SetPlayerHeadImageRsp)(nil), // 0: SetPlayerHeadImageRsp + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_SetPlayerHeadImageRsp_proto_depIdxs = []int32{ + 1, // 0: SetPlayerHeadImageRsp.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetPlayerHeadImageRsp_proto_init() } +func file_SetPlayerHeadImageRsp_proto_init() { + if File_SetPlayerHeadImageRsp_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetPlayerHeadImageRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerHeadImageRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerHeadImageRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerHeadImageRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerHeadImageRsp_proto_depIdxs, + MessageInfos: file_SetPlayerHeadImageRsp_proto_msgTypes, + }.Build() + File_SetPlayerHeadImageRsp_proto = out.File + file_SetPlayerHeadImageRsp_proto_rawDesc = nil + file_SetPlayerHeadImageRsp_proto_goTypes = nil + file_SetPlayerHeadImageRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerHeadImageRsp.proto b/gate-hk4e-api/proto/SetPlayerHeadImageRsp.proto new file mode 100644 index 00000000..f037eb90 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerHeadImageRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +// CmdId: 4047 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerHeadImageRsp { + ProfilePicture profile_picture = 6; + uint32 avatar_id = 5; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/SetPlayerNameReq.pb.go b/gate-hk4e-api/proto/SetPlayerNameReq.pb.go new file mode 100644 index 00000000..150a05ef --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerNameReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerNameReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 153 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerNameReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NickName string `protobuf:"bytes,1,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` +} + +func (x *SetPlayerNameReq) Reset() { + *x = SetPlayerNameReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerNameReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerNameReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerNameReq) ProtoMessage() {} + +func (x *SetPlayerNameReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerNameReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerNameReq.ProtoReflect.Descriptor instead. +func (*SetPlayerNameReq) Descriptor() ([]byte, []int) { + return file_SetPlayerNameReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerNameReq) GetNickName() string { + if x != nil { + return x.NickName + } + return "" +} + +var File_SetPlayerNameReq_proto protoreflect.FileDescriptor + +var file_SetPlayerNameReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerNameReq_proto_rawDescOnce sync.Once + file_SetPlayerNameReq_proto_rawDescData = file_SetPlayerNameReq_proto_rawDesc +) + +func file_SetPlayerNameReq_proto_rawDescGZIP() []byte { + file_SetPlayerNameReq_proto_rawDescOnce.Do(func() { + file_SetPlayerNameReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerNameReq_proto_rawDescData) + }) + return file_SetPlayerNameReq_proto_rawDescData +} + +var file_SetPlayerNameReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerNameReq_proto_goTypes = []interface{}{ + (*SetPlayerNameReq)(nil), // 0: SetPlayerNameReq +} +var file_SetPlayerNameReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerNameReq_proto_init() } +func file_SetPlayerNameReq_proto_init() { + if File_SetPlayerNameReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerNameReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerNameReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerNameReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerNameReq_proto_goTypes, + DependencyIndexes: file_SetPlayerNameReq_proto_depIdxs, + MessageInfos: file_SetPlayerNameReq_proto_msgTypes, + }.Build() + File_SetPlayerNameReq_proto = out.File + file_SetPlayerNameReq_proto_rawDesc = nil + file_SetPlayerNameReq_proto_goTypes = nil + file_SetPlayerNameReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerNameReq.proto b/gate-hk4e-api/proto/SetPlayerNameReq.proto new file mode 100644 index 00000000..3495b15f --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerNameReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 153 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerNameReq { + string nick_name = 1; +} diff --git a/gate-hk4e-api/proto/SetPlayerNameRsp.pb.go b/gate-hk4e-api/proto/SetPlayerNameRsp.pb.go new file mode 100644 index 00000000..6d58206c --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerNameRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerNameRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 122 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerNameRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + NickName string `protobuf:"bytes,14,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` +} + +func (x *SetPlayerNameRsp) Reset() { + *x = SetPlayerNameRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerNameRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerNameRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerNameRsp) ProtoMessage() {} + +func (x *SetPlayerNameRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerNameRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerNameRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerNameRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerNameRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerNameRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SetPlayerNameRsp) GetNickName() string { + if x != nil { + return x.NickName + } + return "" +} + +var File_SetPlayerNameRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerNameRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, + 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerNameRsp_proto_rawDescOnce sync.Once + file_SetPlayerNameRsp_proto_rawDescData = file_SetPlayerNameRsp_proto_rawDesc +) + +func file_SetPlayerNameRsp_proto_rawDescGZIP() []byte { + file_SetPlayerNameRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerNameRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerNameRsp_proto_rawDescData) + }) + return file_SetPlayerNameRsp_proto_rawDescData +} + +var file_SetPlayerNameRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerNameRsp_proto_goTypes = []interface{}{ + (*SetPlayerNameRsp)(nil), // 0: SetPlayerNameRsp +} +var file_SetPlayerNameRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerNameRsp_proto_init() } +func file_SetPlayerNameRsp_proto_init() { + if File_SetPlayerNameRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerNameRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerNameRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerNameRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerNameRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerNameRsp_proto_depIdxs, + MessageInfos: file_SetPlayerNameRsp_proto_msgTypes, + }.Build() + File_SetPlayerNameRsp_proto = out.File + file_SetPlayerNameRsp_proto_rawDesc = nil + file_SetPlayerNameRsp_proto_goTypes = nil + file_SetPlayerNameRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerNameRsp.proto b/gate-hk4e-api/proto/SetPlayerNameRsp.proto new file mode 100644 index 00000000..72ec5281 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerNameRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 122 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerNameRsp { + int32 retcode = 9; + string nick_name = 14; +} diff --git a/gate-hk4e-api/proto/SetPlayerPropReq.pb.go b/gate-hk4e-api/proto/SetPlayerPropReq.pb.go new file mode 100644 index 00000000..56d4608f --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerPropReq.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerPropReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 197 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerPropReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PropList []*PropValue `protobuf:"bytes,7,rep,name=prop_list,json=propList,proto3" json:"prop_list,omitempty"` +} + +func (x *SetPlayerPropReq) Reset() { + *x = SetPlayerPropReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerPropReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerPropReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerPropReq) ProtoMessage() {} + +func (x *SetPlayerPropReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerPropReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerPropReq.ProtoReflect.Descriptor instead. +func (*SetPlayerPropReq) Descriptor() ([]byte, []int) { + return file_SetPlayerPropReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerPropReq) GetPropList() []*PropValue { + if x != nil { + return x.PropList + } + return nil +} + +var File_SetPlayerPropReq_proto protoreflect.FileDescriptor + +var file_SetPlayerPropReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x10, 0x53, 0x65, 0x74, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x12, 0x27, 0x0a, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x70, 0x72, + 0x6f, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerPropReq_proto_rawDescOnce sync.Once + file_SetPlayerPropReq_proto_rawDescData = file_SetPlayerPropReq_proto_rawDesc +) + +func file_SetPlayerPropReq_proto_rawDescGZIP() []byte { + file_SetPlayerPropReq_proto_rawDescOnce.Do(func() { + file_SetPlayerPropReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerPropReq_proto_rawDescData) + }) + return file_SetPlayerPropReq_proto_rawDescData +} + +var file_SetPlayerPropReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerPropReq_proto_goTypes = []interface{}{ + (*SetPlayerPropReq)(nil), // 0: SetPlayerPropReq + (*PropValue)(nil), // 1: PropValue +} +var file_SetPlayerPropReq_proto_depIdxs = []int32{ + 1, // 0: SetPlayerPropReq.prop_list:type_name -> PropValue + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetPlayerPropReq_proto_init() } +func file_SetPlayerPropReq_proto_init() { + if File_SetPlayerPropReq_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetPlayerPropReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerPropReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerPropReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerPropReq_proto_goTypes, + DependencyIndexes: file_SetPlayerPropReq_proto_depIdxs, + MessageInfos: file_SetPlayerPropReq_proto_msgTypes, + }.Build() + File_SetPlayerPropReq_proto = out.File + file_SetPlayerPropReq_proto_rawDesc = nil + file_SetPlayerPropReq_proto_goTypes = nil + file_SetPlayerPropReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerPropReq.proto b/gate-hk4e-api/proto/SetPlayerPropReq.proto new file mode 100644 index 00000000..31e0d45c --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerPropReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +// CmdId: 197 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerPropReq { + repeated PropValue prop_list = 7; +} diff --git a/gate-hk4e-api/proto/SetPlayerPropRsp.pb.go b/gate-hk4e-api/proto/SetPlayerPropRsp.pb.go new file mode 100644 index 00000000..f87b8274 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerPropRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerPropRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 181 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerPropRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetPlayerPropRsp) Reset() { + *x = SetPlayerPropRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerPropRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerPropRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerPropRsp) ProtoMessage() {} + +func (x *SetPlayerPropRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerPropRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerPropRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerPropRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerPropRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerPropRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetPlayerPropRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerPropRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerPropRsp_proto_rawDescOnce sync.Once + file_SetPlayerPropRsp_proto_rawDescData = file_SetPlayerPropRsp_proto_rawDesc +) + +func file_SetPlayerPropRsp_proto_rawDescGZIP() []byte { + file_SetPlayerPropRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerPropRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerPropRsp_proto_rawDescData) + }) + return file_SetPlayerPropRsp_proto_rawDescData +} + +var file_SetPlayerPropRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerPropRsp_proto_goTypes = []interface{}{ + (*SetPlayerPropRsp)(nil), // 0: SetPlayerPropRsp +} +var file_SetPlayerPropRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerPropRsp_proto_init() } +func file_SetPlayerPropRsp_proto_init() { + if File_SetPlayerPropRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerPropRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerPropRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerPropRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerPropRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerPropRsp_proto_depIdxs, + MessageInfos: file_SetPlayerPropRsp_proto_msgTypes, + }.Build() + File_SetPlayerPropRsp_proto = out.File + file_SetPlayerPropRsp_proto_rawDesc = nil + file_SetPlayerPropRsp_proto_goTypes = nil + file_SetPlayerPropRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerPropRsp.proto b/gate-hk4e-api/proto/SetPlayerPropRsp.proto new file mode 100644 index 00000000..b50f07d6 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerPropRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 181 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerPropRsp { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/SetPlayerSignatureReq.pb.go b/gate-hk4e-api/proto/SetPlayerSignatureReq.pb.go new file mode 100644 index 00000000..812df47e --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerSignatureReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerSignatureReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4081 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetPlayerSignatureReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *SetPlayerSignatureReq) Reset() { + *x = SetPlayerSignatureReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerSignatureReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerSignatureReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerSignatureReq) ProtoMessage() {} + +func (x *SetPlayerSignatureReq) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerSignatureReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerSignatureReq.ProtoReflect.Descriptor instead. +func (*SetPlayerSignatureReq) Descriptor() ([]byte, []int) { + return file_SetPlayerSignatureReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerSignatureReq) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +var File_SetPlayerSignatureReq_proto protoreflect.FileDescriptor + +var file_SetPlayerSignatureReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, + 0x15, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetPlayerSignatureReq_proto_rawDescOnce sync.Once + file_SetPlayerSignatureReq_proto_rawDescData = file_SetPlayerSignatureReq_proto_rawDesc +) + +func file_SetPlayerSignatureReq_proto_rawDescGZIP() []byte { + file_SetPlayerSignatureReq_proto_rawDescOnce.Do(func() { + file_SetPlayerSignatureReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerSignatureReq_proto_rawDescData) + }) + return file_SetPlayerSignatureReq_proto_rawDescData +} + +var file_SetPlayerSignatureReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerSignatureReq_proto_goTypes = []interface{}{ + (*SetPlayerSignatureReq)(nil), // 0: SetPlayerSignatureReq +} +var file_SetPlayerSignatureReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerSignatureReq_proto_init() } +func file_SetPlayerSignatureReq_proto_init() { + if File_SetPlayerSignatureReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerSignatureReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerSignatureReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerSignatureReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerSignatureReq_proto_goTypes, + DependencyIndexes: file_SetPlayerSignatureReq_proto_depIdxs, + MessageInfos: file_SetPlayerSignatureReq_proto_msgTypes, + }.Build() + File_SetPlayerSignatureReq_proto = out.File + file_SetPlayerSignatureReq_proto_rawDesc = nil + file_SetPlayerSignatureReq_proto_goTypes = nil + file_SetPlayerSignatureReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerSignatureReq.proto b/gate-hk4e-api/proto/SetPlayerSignatureReq.proto new file mode 100644 index 00000000..43f5345a --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerSignatureReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4081 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetPlayerSignatureReq { + string signature = 3; +} diff --git a/gate-hk4e-api/proto/SetPlayerSignatureRsp.pb.go b/gate-hk4e-api/proto/SetPlayerSignatureRsp.pb.go new file mode 100644 index 00000000..d3a7bc26 --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerSignatureRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetPlayerSignatureRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4005 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetPlayerSignatureRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetPlayerSignatureRsp) Reset() { + *x = SetPlayerSignatureRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetPlayerSignatureRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPlayerSignatureRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPlayerSignatureRsp) ProtoMessage() {} + +func (x *SetPlayerSignatureRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetPlayerSignatureRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPlayerSignatureRsp.ProtoReflect.Descriptor instead. +func (*SetPlayerSignatureRsp) Descriptor() ([]byte, []int) { + return file_SetPlayerSignatureRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetPlayerSignatureRsp) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *SetPlayerSignatureRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetPlayerSignatureRsp_proto protoreflect.FileDescriptor + +var file_SetPlayerSignatureRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, + 0x15, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SetPlayerSignatureRsp_proto_rawDescOnce sync.Once + file_SetPlayerSignatureRsp_proto_rawDescData = file_SetPlayerSignatureRsp_proto_rawDesc +) + +func file_SetPlayerSignatureRsp_proto_rawDescGZIP() []byte { + file_SetPlayerSignatureRsp_proto_rawDescOnce.Do(func() { + file_SetPlayerSignatureRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetPlayerSignatureRsp_proto_rawDescData) + }) + return file_SetPlayerSignatureRsp_proto_rawDescData +} + +var file_SetPlayerSignatureRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetPlayerSignatureRsp_proto_goTypes = []interface{}{ + (*SetPlayerSignatureRsp)(nil), // 0: SetPlayerSignatureRsp +} +var file_SetPlayerSignatureRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetPlayerSignatureRsp_proto_init() } +func file_SetPlayerSignatureRsp_proto_init() { + if File_SetPlayerSignatureRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetPlayerSignatureRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPlayerSignatureRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetPlayerSignatureRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetPlayerSignatureRsp_proto_goTypes, + DependencyIndexes: file_SetPlayerSignatureRsp_proto_depIdxs, + MessageInfos: file_SetPlayerSignatureRsp_proto_msgTypes, + }.Build() + File_SetPlayerSignatureRsp_proto = out.File + file_SetPlayerSignatureRsp_proto_rawDesc = nil + file_SetPlayerSignatureRsp_proto_goTypes = nil + file_SetPlayerSignatureRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetPlayerSignatureRsp.proto b/gate-hk4e-api/proto/SetPlayerSignatureRsp.proto new file mode 100644 index 00000000..a98eba5f --- /dev/null +++ b/gate-hk4e-api/proto/SetPlayerSignatureRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4005 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetPlayerSignatureRsp { + string signature = 1; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/SetSceneWeatherAreaReq.pb.go b/gate-hk4e-api/proto/SetSceneWeatherAreaReq.pb.go new file mode 100644 index 00000000..e2f1f9d3 --- /dev/null +++ b/gate-hk4e-api/proto/SetSceneWeatherAreaReq.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetSceneWeatherAreaReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 254 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetSceneWeatherAreaReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherGadgetId uint32 `protobuf:"varint,13,opt,name=weather_gadget_id,json=weatherGadgetId,proto3" json:"weather_gadget_id,omitempty"` + WeatherValueMap map[uint32]string `protobuf:"bytes,4,rep,name=weather_value_map,json=weatherValueMap,proto3" json:"weather_value_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *SetSceneWeatherAreaReq) Reset() { + *x = SetSceneWeatherAreaReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetSceneWeatherAreaReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetSceneWeatherAreaReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetSceneWeatherAreaReq) ProtoMessage() {} + +func (x *SetSceneWeatherAreaReq) ProtoReflect() protoreflect.Message { + mi := &file_SetSceneWeatherAreaReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetSceneWeatherAreaReq.ProtoReflect.Descriptor instead. +func (*SetSceneWeatherAreaReq) Descriptor() ([]byte, []int) { + return file_SetSceneWeatherAreaReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetSceneWeatherAreaReq) GetWeatherGadgetId() uint32 { + if x != nil { + return x.WeatherGadgetId + } + return 0 +} + +func (x *SetSceneWeatherAreaReq) GetWeatherValueMap() map[uint32]string { + if x != nil { + return x.WeatherValueMap + } + return nil +} + +var File_SetSceneWeatherAreaReq_proto protoreflect.FileDescriptor + +var file_SetSceneWeatherAreaReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, + 0x01, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x65, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x11, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, + 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x71, 0x2e, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, + 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x1a, + 0x42, 0x0a, 0x14, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetSceneWeatherAreaReq_proto_rawDescOnce sync.Once + file_SetSceneWeatherAreaReq_proto_rawDescData = file_SetSceneWeatherAreaReq_proto_rawDesc +) + +func file_SetSceneWeatherAreaReq_proto_rawDescGZIP() []byte { + file_SetSceneWeatherAreaReq_proto_rawDescOnce.Do(func() { + file_SetSceneWeatherAreaReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetSceneWeatherAreaReq_proto_rawDescData) + }) + return file_SetSceneWeatherAreaReq_proto_rawDescData +} + +var file_SetSceneWeatherAreaReq_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SetSceneWeatherAreaReq_proto_goTypes = []interface{}{ + (*SetSceneWeatherAreaReq)(nil), // 0: SetSceneWeatherAreaReq + nil, // 1: SetSceneWeatherAreaReq.WeatherValueMapEntry +} +var file_SetSceneWeatherAreaReq_proto_depIdxs = []int32{ + 1, // 0: SetSceneWeatherAreaReq.weather_value_map:type_name -> SetSceneWeatherAreaReq.WeatherValueMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetSceneWeatherAreaReq_proto_init() } +func file_SetSceneWeatherAreaReq_proto_init() { + if File_SetSceneWeatherAreaReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetSceneWeatherAreaReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetSceneWeatherAreaReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetSceneWeatherAreaReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetSceneWeatherAreaReq_proto_goTypes, + DependencyIndexes: file_SetSceneWeatherAreaReq_proto_depIdxs, + MessageInfos: file_SetSceneWeatherAreaReq_proto_msgTypes, + }.Build() + File_SetSceneWeatherAreaReq_proto = out.File + file_SetSceneWeatherAreaReq_proto_rawDesc = nil + file_SetSceneWeatherAreaReq_proto_goTypes = nil + file_SetSceneWeatherAreaReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetSceneWeatherAreaReq.proto b/gate-hk4e-api/proto/SetSceneWeatherAreaReq.proto new file mode 100644 index 00000000..f37e2c87 --- /dev/null +++ b/gate-hk4e-api/proto/SetSceneWeatherAreaReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 254 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetSceneWeatherAreaReq { + uint32 weather_gadget_id = 13; + map weather_value_map = 4; +} diff --git a/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.pb.go b/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.pb.go new file mode 100644 index 00000000..d34f1894 --- /dev/null +++ b/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetSceneWeatherAreaRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 283 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetSceneWeatherAreaRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetSceneWeatherAreaRsp) Reset() { + *x = SetSceneWeatherAreaRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetSceneWeatherAreaRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetSceneWeatherAreaRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetSceneWeatherAreaRsp) ProtoMessage() {} + +func (x *SetSceneWeatherAreaRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetSceneWeatherAreaRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetSceneWeatherAreaRsp.ProtoReflect.Descriptor instead. +func (*SetSceneWeatherAreaRsp) Descriptor() ([]byte, []int) { + return file_SetSceneWeatherAreaRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetSceneWeatherAreaRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetSceneWeatherAreaRsp_proto protoreflect.FileDescriptor + +var file_SetSceneWeatherAreaRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, + 0x72, 0x41, 0x72, 0x65, 0x61, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetSceneWeatherAreaRsp_proto_rawDescOnce sync.Once + file_SetSceneWeatherAreaRsp_proto_rawDescData = file_SetSceneWeatherAreaRsp_proto_rawDesc +) + +func file_SetSceneWeatherAreaRsp_proto_rawDescGZIP() []byte { + file_SetSceneWeatherAreaRsp_proto_rawDescOnce.Do(func() { + file_SetSceneWeatherAreaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetSceneWeatherAreaRsp_proto_rawDescData) + }) + return file_SetSceneWeatherAreaRsp_proto_rawDescData +} + +var file_SetSceneWeatherAreaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetSceneWeatherAreaRsp_proto_goTypes = []interface{}{ + (*SetSceneWeatherAreaRsp)(nil), // 0: SetSceneWeatherAreaRsp +} +var file_SetSceneWeatherAreaRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetSceneWeatherAreaRsp_proto_init() } +func file_SetSceneWeatherAreaRsp_proto_init() { + if File_SetSceneWeatherAreaRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetSceneWeatherAreaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetSceneWeatherAreaRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetSceneWeatherAreaRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetSceneWeatherAreaRsp_proto_goTypes, + DependencyIndexes: file_SetSceneWeatherAreaRsp_proto_depIdxs, + MessageInfos: file_SetSceneWeatherAreaRsp_proto_msgTypes, + }.Build() + File_SetSceneWeatherAreaRsp_proto = out.File + file_SetSceneWeatherAreaRsp_proto_rawDesc = nil + file_SetSceneWeatherAreaRsp_proto_goTypes = nil + file_SetSceneWeatherAreaRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.proto b/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.proto new file mode 100644 index 00000000..514647ba --- /dev/null +++ b/gate-hk4e-api/proto/SetSceneWeatherAreaRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 283 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetSceneWeatherAreaRsp { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/SetUpAvatarTeamReq.pb.go b/gate-hk4e-api/proto/SetUpAvatarTeamReq.pb.go new file mode 100644 index 00000000..6778a92f --- /dev/null +++ b/gate-hk4e-api/proto/SetUpAvatarTeamReq.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetUpAvatarTeamReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1690 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetUpAvatarTeamReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TeamId uint32 `protobuf:"varint,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` + AvatarTeamGuidList []uint64 `protobuf:"varint,7,rep,packed,name=avatar_team_guid_list,json=avatarTeamGuidList,proto3" json:"avatar_team_guid_list,omitempty"` + CurAvatarGuid uint64 `protobuf:"varint,5,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` +} + +func (x *SetUpAvatarTeamReq) Reset() { + *x = SetUpAvatarTeamReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetUpAvatarTeamReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUpAvatarTeamReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUpAvatarTeamReq) ProtoMessage() {} + +func (x *SetUpAvatarTeamReq) ProtoReflect() protoreflect.Message { + mi := &file_SetUpAvatarTeamReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetUpAvatarTeamReq.ProtoReflect.Descriptor instead. +func (*SetUpAvatarTeamReq) Descriptor() ([]byte, []int) { + return file_SetUpAvatarTeamReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetUpAvatarTeamReq) GetTeamId() uint32 { + if x != nil { + return x.TeamId + } + return 0 +} + +func (x *SetUpAvatarTeamReq) GetAvatarTeamGuidList() []uint64 { + if x != nil { + return x.AvatarTeamGuidList + } + return nil +} + +func (x *SetUpAvatarTeamReq) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +var File_SetUpAvatarTeamReq_proto protoreflect.FileDescriptor + +var file_SetUpAvatarTeamReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x65, 0x74, 0x55, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x53, + 0x65, 0x74, 0x55, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, + 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetUpAvatarTeamReq_proto_rawDescOnce sync.Once + file_SetUpAvatarTeamReq_proto_rawDescData = file_SetUpAvatarTeamReq_proto_rawDesc +) + +func file_SetUpAvatarTeamReq_proto_rawDescGZIP() []byte { + file_SetUpAvatarTeamReq_proto_rawDescOnce.Do(func() { + file_SetUpAvatarTeamReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetUpAvatarTeamReq_proto_rawDescData) + }) + return file_SetUpAvatarTeamReq_proto_rawDescData +} + +var file_SetUpAvatarTeamReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetUpAvatarTeamReq_proto_goTypes = []interface{}{ + (*SetUpAvatarTeamReq)(nil), // 0: SetUpAvatarTeamReq +} +var file_SetUpAvatarTeamReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetUpAvatarTeamReq_proto_init() } +func file_SetUpAvatarTeamReq_proto_init() { + if File_SetUpAvatarTeamReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetUpAvatarTeamReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUpAvatarTeamReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetUpAvatarTeamReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetUpAvatarTeamReq_proto_goTypes, + DependencyIndexes: file_SetUpAvatarTeamReq_proto_depIdxs, + MessageInfos: file_SetUpAvatarTeamReq_proto_msgTypes, + }.Build() + File_SetUpAvatarTeamReq_proto = out.File + file_SetUpAvatarTeamReq_proto_rawDesc = nil + file_SetUpAvatarTeamReq_proto_goTypes = nil + file_SetUpAvatarTeamReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetUpAvatarTeamReq.proto b/gate-hk4e-api/proto/SetUpAvatarTeamReq.proto new file mode 100644 index 00000000..b14a7c05 --- /dev/null +++ b/gate-hk4e-api/proto/SetUpAvatarTeamReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1690 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetUpAvatarTeamReq { + uint32 team_id = 3; + repeated uint64 avatar_team_guid_list = 7; + uint64 cur_avatar_guid = 5; +} diff --git a/gate-hk4e-api/proto/SetUpAvatarTeamRsp.pb.go b/gate-hk4e-api/proto/SetUpAvatarTeamRsp.pb.go new file mode 100644 index 00000000..e58a0992 --- /dev/null +++ b/gate-hk4e-api/proto/SetUpAvatarTeamRsp.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetUpAvatarTeamRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1646 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetUpAvatarTeamRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarTeamGuidList []uint64 `protobuf:"varint,1,rep,packed,name=avatar_team_guid_list,json=avatarTeamGuidList,proto3" json:"avatar_team_guid_list,omitempty"` + TeamId uint32 `protobuf:"varint,6,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurAvatarGuid uint64 `protobuf:"varint,13,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` +} + +func (x *SetUpAvatarTeamRsp) Reset() { + *x = SetUpAvatarTeamRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetUpAvatarTeamRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUpAvatarTeamRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUpAvatarTeamRsp) ProtoMessage() {} + +func (x *SetUpAvatarTeamRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetUpAvatarTeamRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetUpAvatarTeamRsp.ProtoReflect.Descriptor instead. +func (*SetUpAvatarTeamRsp) Descriptor() ([]byte, []int) { + return file_SetUpAvatarTeamRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetUpAvatarTeamRsp) GetAvatarTeamGuidList() []uint64 { + if x != nil { + return x.AvatarTeamGuidList + } + return nil +} + +func (x *SetUpAvatarTeamRsp) GetTeamId() uint32 { + if x != nil { + return x.TeamId + } + return 0 +} + +func (x *SetUpAvatarTeamRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SetUpAvatarTeamRsp) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +var File_SetUpAvatarTeamRsp_proto protoreflect.FileDescriptor + +var file_SetUpAvatarTeamRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x65, 0x74, 0x55, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, + 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x53, + 0x65, 0x74, 0x55, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, + 0x70, 0x12, 0x31, 0x0a, 0x15, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, + 0x52, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x47, 0x75, 0x69, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SetUpAvatarTeamRsp_proto_rawDescOnce sync.Once + file_SetUpAvatarTeamRsp_proto_rawDescData = file_SetUpAvatarTeamRsp_proto_rawDesc +) + +func file_SetUpAvatarTeamRsp_proto_rawDescGZIP() []byte { + file_SetUpAvatarTeamRsp_proto_rawDescOnce.Do(func() { + file_SetUpAvatarTeamRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetUpAvatarTeamRsp_proto_rawDescData) + }) + return file_SetUpAvatarTeamRsp_proto_rawDescData +} + +var file_SetUpAvatarTeamRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetUpAvatarTeamRsp_proto_goTypes = []interface{}{ + (*SetUpAvatarTeamRsp)(nil), // 0: SetUpAvatarTeamRsp +} +var file_SetUpAvatarTeamRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SetUpAvatarTeamRsp_proto_init() } +func file_SetUpAvatarTeamRsp_proto_init() { + if File_SetUpAvatarTeamRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SetUpAvatarTeamRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUpAvatarTeamRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetUpAvatarTeamRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetUpAvatarTeamRsp_proto_goTypes, + DependencyIndexes: file_SetUpAvatarTeamRsp_proto_depIdxs, + MessageInfos: file_SetUpAvatarTeamRsp_proto_msgTypes, + }.Build() + File_SetUpAvatarTeamRsp_proto = out.File + file_SetUpAvatarTeamRsp_proto_rawDesc = nil + file_SetUpAvatarTeamRsp_proto_goTypes = nil + file_SetUpAvatarTeamRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetUpAvatarTeamRsp.proto b/gate-hk4e-api/proto/SetUpAvatarTeamRsp.proto new file mode 100644 index 00000000..0ad26a43 --- /dev/null +++ b/gate-hk4e-api/proto/SetUpAvatarTeamRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1646 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetUpAvatarTeamRsp { + repeated uint64 avatar_team_guid_list = 1; + uint32 team_id = 6; + int32 retcode = 8; + uint64 cur_avatar_guid = 13; +} diff --git a/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.pb.go b/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.pb.go new file mode 100644 index 00000000..46d1c64f --- /dev/null +++ b/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetUpLunchBoxWidgetReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4272 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetUpLunchBoxWidgetReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LunchBoxData *LunchBoxData `protobuf:"bytes,6,opt,name=lunch_box_data,json=lunchBoxData,proto3" json:"lunch_box_data,omitempty"` +} + +func (x *SetUpLunchBoxWidgetReq) Reset() { + *x = SetUpLunchBoxWidgetReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetUpLunchBoxWidgetReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUpLunchBoxWidgetReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUpLunchBoxWidgetReq) ProtoMessage() {} + +func (x *SetUpLunchBoxWidgetReq) ProtoReflect() protoreflect.Message { + mi := &file_SetUpLunchBoxWidgetReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetUpLunchBoxWidgetReq.ProtoReflect.Descriptor instead. +func (*SetUpLunchBoxWidgetReq) Descriptor() ([]byte, []int) { + return file_SetUpLunchBoxWidgetReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetUpLunchBoxWidgetReq) GetLunchBoxData() *LunchBoxData { + if x != nil { + return x.LunchBoxData + } + return nil +} + +var File_SetUpLunchBoxWidgetReq_proto protoreflect.FileDescriptor + +var file_SetUpLunchBoxWidgetReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x55, 0x70, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, + 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x55, 0x70, 0x4c, 0x75, 0x6e, 0x63, 0x68, + 0x42, 0x6f, 0x78, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x33, 0x0a, 0x0e, + 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x0c, 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, + 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetUpLunchBoxWidgetReq_proto_rawDescOnce sync.Once + file_SetUpLunchBoxWidgetReq_proto_rawDescData = file_SetUpLunchBoxWidgetReq_proto_rawDesc +) + +func file_SetUpLunchBoxWidgetReq_proto_rawDescGZIP() []byte { + file_SetUpLunchBoxWidgetReq_proto_rawDescOnce.Do(func() { + file_SetUpLunchBoxWidgetReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetUpLunchBoxWidgetReq_proto_rawDescData) + }) + return file_SetUpLunchBoxWidgetReq_proto_rawDescData +} + +var file_SetUpLunchBoxWidgetReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetUpLunchBoxWidgetReq_proto_goTypes = []interface{}{ + (*SetUpLunchBoxWidgetReq)(nil), // 0: SetUpLunchBoxWidgetReq + (*LunchBoxData)(nil), // 1: LunchBoxData +} +var file_SetUpLunchBoxWidgetReq_proto_depIdxs = []int32{ + 1, // 0: SetUpLunchBoxWidgetReq.lunch_box_data:type_name -> LunchBoxData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetUpLunchBoxWidgetReq_proto_init() } +func file_SetUpLunchBoxWidgetReq_proto_init() { + if File_SetUpLunchBoxWidgetReq_proto != nil { + return + } + file_LunchBoxData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetUpLunchBoxWidgetReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUpLunchBoxWidgetReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetUpLunchBoxWidgetReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetUpLunchBoxWidgetReq_proto_goTypes, + DependencyIndexes: file_SetUpLunchBoxWidgetReq_proto_depIdxs, + MessageInfos: file_SetUpLunchBoxWidgetReq_proto_msgTypes, + }.Build() + File_SetUpLunchBoxWidgetReq_proto = out.File + file_SetUpLunchBoxWidgetReq_proto_rawDesc = nil + file_SetUpLunchBoxWidgetReq_proto_goTypes = nil + file_SetUpLunchBoxWidgetReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.proto b/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.proto new file mode 100644 index 00000000..f9a6e1f7 --- /dev/null +++ b/gate-hk4e-api/proto/SetUpLunchBoxWidgetReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunchBoxData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4272 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetUpLunchBoxWidgetReq { + LunchBoxData lunch_box_data = 6; +} diff --git a/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.pb.go b/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.pb.go new file mode 100644 index 00000000..d1e4d814 --- /dev/null +++ b/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetUpLunchBoxWidgetRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4294 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetUpLunchBoxWidgetRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LunchBoxData *LunchBoxData `protobuf:"bytes,3,opt,name=lunch_box_data,json=lunchBoxData,proto3" json:"lunch_box_data,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SetUpLunchBoxWidgetRsp) Reset() { + *x = SetUpLunchBoxWidgetRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetUpLunchBoxWidgetRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUpLunchBoxWidgetRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUpLunchBoxWidgetRsp) ProtoMessage() {} + +func (x *SetUpLunchBoxWidgetRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetUpLunchBoxWidgetRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetUpLunchBoxWidgetRsp.ProtoReflect.Descriptor instead. +func (*SetUpLunchBoxWidgetRsp) Descriptor() ([]byte, []int) { + return file_SetUpLunchBoxWidgetRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetUpLunchBoxWidgetRsp) GetLunchBoxData() *LunchBoxData { + if x != nil { + return x.LunchBoxData + } + return nil +} + +func (x *SetUpLunchBoxWidgetRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SetUpLunchBoxWidgetRsp_proto protoreflect.FileDescriptor + +var file_SetUpLunchBoxWidgetRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x55, 0x70, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, + 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x55, 0x70, 0x4c, 0x75, 0x6e, 0x63, 0x68, + 0x42, 0x6f, 0x78, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x0e, + 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x0c, 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetUpLunchBoxWidgetRsp_proto_rawDescOnce sync.Once + file_SetUpLunchBoxWidgetRsp_proto_rawDescData = file_SetUpLunchBoxWidgetRsp_proto_rawDesc +) + +func file_SetUpLunchBoxWidgetRsp_proto_rawDescGZIP() []byte { + file_SetUpLunchBoxWidgetRsp_proto_rawDescOnce.Do(func() { + file_SetUpLunchBoxWidgetRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetUpLunchBoxWidgetRsp_proto_rawDescData) + }) + return file_SetUpLunchBoxWidgetRsp_proto_rawDescData +} + +var file_SetUpLunchBoxWidgetRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetUpLunchBoxWidgetRsp_proto_goTypes = []interface{}{ + (*SetUpLunchBoxWidgetRsp)(nil), // 0: SetUpLunchBoxWidgetRsp + (*LunchBoxData)(nil), // 1: LunchBoxData +} +var file_SetUpLunchBoxWidgetRsp_proto_depIdxs = []int32{ + 1, // 0: SetUpLunchBoxWidgetRsp.lunch_box_data:type_name -> LunchBoxData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SetUpLunchBoxWidgetRsp_proto_init() } +func file_SetUpLunchBoxWidgetRsp_proto_init() { + if File_SetUpLunchBoxWidgetRsp_proto != nil { + return + } + file_LunchBoxData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetUpLunchBoxWidgetRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUpLunchBoxWidgetRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetUpLunchBoxWidgetRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetUpLunchBoxWidgetRsp_proto_goTypes, + DependencyIndexes: file_SetUpLunchBoxWidgetRsp_proto_depIdxs, + MessageInfos: file_SetUpLunchBoxWidgetRsp_proto_msgTypes, + }.Build() + File_SetUpLunchBoxWidgetRsp_proto = out.File + file_SetUpLunchBoxWidgetRsp_proto_rawDesc = nil + file_SetUpLunchBoxWidgetRsp_proto_goTypes = nil + file_SetUpLunchBoxWidgetRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.proto b/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.proto new file mode 100644 index 00000000..8c7cb29f --- /dev/null +++ b/gate-hk4e-api/proto/SetUpLunchBoxWidgetRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "LunchBoxData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4294 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetUpLunchBoxWidgetRsp { + LunchBoxData lunch_box_data = 3; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/SetWidgetSlotReq.pb.go b/gate-hk4e-api/proto/SetWidgetSlotReq.pb.go new file mode 100644 index 00000000..896a28ab --- /dev/null +++ b/gate-hk4e-api/proto/SetWidgetSlotReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetWidgetSlotReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4259 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SetWidgetSlotReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagList []WidgetSlotTag `protobuf:"varint,15,rep,packed,name=tag_list,json=tagList,proto3,enum=WidgetSlotTag" json:"tag_list,omitempty"` + MaterialId uint32 `protobuf:"varint,6,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Op WidgetSlotOp `protobuf:"varint,2,opt,name=op,proto3,enum=WidgetSlotOp" json:"op,omitempty"` +} + +func (x *SetWidgetSlotReq) Reset() { + *x = SetWidgetSlotReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SetWidgetSlotReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWidgetSlotReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWidgetSlotReq) ProtoMessage() {} + +func (x *SetWidgetSlotReq) ProtoReflect() protoreflect.Message { + mi := &file_SetWidgetSlotReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWidgetSlotReq.ProtoReflect.Descriptor instead. +func (*SetWidgetSlotReq) Descriptor() ([]byte, []int) { + return file_SetWidgetSlotReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SetWidgetSlotReq) GetTagList() []WidgetSlotTag { + if x != nil { + return x.TagList + } + return nil +} + +func (x *SetWidgetSlotReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *SetWidgetSlotReq) GetOp() WidgetSlotOp { + if x != nil { + return x.Op + } + return WidgetSlotOp_WIDGET_SLOT_OP_ATTACH +} + +var File_SetWidgetSlotReq_proto protoreflect.FileDescriptor + +var file_SetWidgetSlotReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x7d, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x52, 0x65, 0x71, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x52, 0x02, 0x6f, 0x70, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetWidgetSlotReq_proto_rawDescOnce sync.Once + file_SetWidgetSlotReq_proto_rawDescData = file_SetWidgetSlotReq_proto_rawDesc +) + +func file_SetWidgetSlotReq_proto_rawDescGZIP() []byte { + file_SetWidgetSlotReq_proto_rawDescOnce.Do(func() { + file_SetWidgetSlotReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetWidgetSlotReq_proto_rawDescData) + }) + return file_SetWidgetSlotReq_proto_rawDescData +} + +var file_SetWidgetSlotReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetWidgetSlotReq_proto_goTypes = []interface{}{ + (*SetWidgetSlotReq)(nil), // 0: SetWidgetSlotReq + (WidgetSlotTag)(0), // 1: WidgetSlotTag + (WidgetSlotOp)(0), // 2: WidgetSlotOp +} +var file_SetWidgetSlotReq_proto_depIdxs = []int32{ + 1, // 0: SetWidgetSlotReq.tag_list:type_name -> WidgetSlotTag + 2, // 1: SetWidgetSlotReq.op:type_name -> WidgetSlotOp + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SetWidgetSlotReq_proto_init() } +func file_SetWidgetSlotReq_proto_init() { + if File_SetWidgetSlotReq_proto != nil { + return + } + file_WidgetSlotOp_proto_init() + file_WidgetSlotTag_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetWidgetSlotReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetWidgetSlotReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetWidgetSlotReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetWidgetSlotReq_proto_goTypes, + DependencyIndexes: file_SetWidgetSlotReq_proto_depIdxs, + MessageInfos: file_SetWidgetSlotReq_proto_msgTypes, + }.Build() + File_SetWidgetSlotReq_proto = out.File + file_SetWidgetSlotReq_proto_rawDesc = nil + file_SetWidgetSlotReq_proto_goTypes = nil + file_SetWidgetSlotReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetWidgetSlotReq.proto b/gate-hk4e-api/proto/SetWidgetSlotReq.proto new file mode 100644 index 00000000..026c9b5b --- /dev/null +++ b/gate-hk4e-api/proto/SetWidgetSlotReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotOp.proto"; +import "WidgetSlotTag.proto"; + +option go_package = "./;proto"; + +// CmdId: 4259 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetWidgetSlotReq { + repeated WidgetSlotTag tag_list = 15; + uint32 material_id = 6; + WidgetSlotOp op = 2; +} diff --git a/gate-hk4e-api/proto/SetWidgetSlotRsp.pb.go b/gate-hk4e-api/proto/SetWidgetSlotRsp.pb.go new file mode 100644 index 00000000..4129b404 --- /dev/null +++ b/gate-hk4e-api/proto/SetWidgetSlotRsp.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SetWidgetSlotRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4277 +// EnetChannelId: 0 +// EnetIsReliable: true +type SetWidgetSlotRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagList []WidgetSlotTag `protobuf:"varint,15,rep,packed,name=tag_list,json=tagList,proto3,enum=WidgetSlotTag" json:"tag_list,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,1,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Op WidgetSlotOp `protobuf:"varint,4,opt,name=op,proto3,enum=WidgetSlotOp" json:"op,omitempty"` +} + +func (x *SetWidgetSlotRsp) Reset() { + *x = SetWidgetSlotRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SetWidgetSlotRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWidgetSlotRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWidgetSlotRsp) ProtoMessage() {} + +func (x *SetWidgetSlotRsp) ProtoReflect() protoreflect.Message { + mi := &file_SetWidgetSlotRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWidgetSlotRsp.ProtoReflect.Descriptor instead. +func (*SetWidgetSlotRsp) Descriptor() ([]byte, []int) { + return file_SetWidgetSlotRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SetWidgetSlotRsp) GetTagList() []WidgetSlotTag { + if x != nil { + return x.TagList + } + return nil +} + +func (x *SetWidgetSlotRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SetWidgetSlotRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *SetWidgetSlotRsp) GetOp() WidgetSlotOp { + if x != nil { + return x.Op + } + return WidgetSlotOp_WIDGET_SLOT_OP_ATTACH +} + +var File_SetWidgetSlotRsp_proto protoreflect.FileDescriptor + +var file_SetWidgetSlotRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, + 0x6c, 0x6f, 0x74, 0x52, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, + 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x02, + 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x52, 0x02, 0x6f, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SetWidgetSlotRsp_proto_rawDescOnce sync.Once + file_SetWidgetSlotRsp_proto_rawDescData = file_SetWidgetSlotRsp_proto_rawDesc +) + +func file_SetWidgetSlotRsp_proto_rawDescGZIP() []byte { + file_SetWidgetSlotRsp_proto_rawDescOnce.Do(func() { + file_SetWidgetSlotRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SetWidgetSlotRsp_proto_rawDescData) + }) + return file_SetWidgetSlotRsp_proto_rawDescData +} + +var file_SetWidgetSlotRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SetWidgetSlotRsp_proto_goTypes = []interface{}{ + (*SetWidgetSlotRsp)(nil), // 0: SetWidgetSlotRsp + (WidgetSlotTag)(0), // 1: WidgetSlotTag + (WidgetSlotOp)(0), // 2: WidgetSlotOp +} +var file_SetWidgetSlotRsp_proto_depIdxs = []int32{ + 1, // 0: SetWidgetSlotRsp.tag_list:type_name -> WidgetSlotTag + 2, // 1: SetWidgetSlotRsp.op:type_name -> WidgetSlotOp + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SetWidgetSlotRsp_proto_init() } +func file_SetWidgetSlotRsp_proto_init() { + if File_SetWidgetSlotRsp_proto != nil { + return + } + file_WidgetSlotOp_proto_init() + file_WidgetSlotTag_proto_init() + if !protoimpl.UnsafeEnabled { + file_SetWidgetSlotRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetWidgetSlotRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SetWidgetSlotRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SetWidgetSlotRsp_proto_goTypes, + DependencyIndexes: file_SetWidgetSlotRsp_proto_depIdxs, + MessageInfos: file_SetWidgetSlotRsp_proto_msgTypes, + }.Build() + File_SetWidgetSlotRsp_proto = out.File + file_SetWidgetSlotRsp_proto_rawDesc = nil + file_SetWidgetSlotRsp_proto_goTypes = nil + file_SetWidgetSlotRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SetWidgetSlotRsp.proto b/gate-hk4e-api/proto/SetWidgetSlotRsp.proto new file mode 100644 index 00000000..3c1bc222 --- /dev/null +++ b/gate-hk4e-api/proto/SetWidgetSlotRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotOp.proto"; +import "WidgetSlotTag.proto"; + +option go_package = "./;proto"; + +// CmdId: 4277 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetWidgetSlotRsp { + repeated WidgetSlotTag tag_list = 15; + int32 retcode = 6; + uint32 material_id = 1; + WidgetSlotOp op = 4; +} diff --git a/gate-hk4e-api/proto/ShapeBox.pb.go b/gate-hk4e-api/proto/ShapeBox.pb.go new file mode 100644 index 00000000..5f8a1a74 --- /dev/null +++ b/gate-hk4e-api/proto/ShapeBox.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShapeBox.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShapeBox struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Center *Vector `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` + Axis_0 *Vector `protobuf:"bytes,2,opt,name=axis_0,json=axis0,proto3" json:"axis_0,omitempty"` + Axis_1 *Vector `protobuf:"bytes,3,opt,name=axis_1,json=axis1,proto3" json:"axis_1,omitempty"` + Axis_2 *Vector `protobuf:"bytes,4,opt,name=axis_2,json=axis2,proto3" json:"axis_2,omitempty"` + Extents *Vector `protobuf:"bytes,5,opt,name=extents,proto3" json:"extents,omitempty"` +} + +func (x *ShapeBox) Reset() { + *x = ShapeBox{} + if protoimpl.UnsafeEnabled { + mi := &file_ShapeBox_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShapeBox) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShapeBox) ProtoMessage() {} + +func (x *ShapeBox) ProtoReflect() protoreflect.Message { + mi := &file_ShapeBox_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShapeBox.ProtoReflect.Descriptor instead. +func (*ShapeBox) Descriptor() ([]byte, []int) { + return file_ShapeBox_proto_rawDescGZIP(), []int{0} +} + +func (x *ShapeBox) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *ShapeBox) GetAxis_0() *Vector { + if x != nil { + return x.Axis_0 + } + return nil +} + +func (x *ShapeBox) GetAxis_1() *Vector { + if x != nil { + return x.Axis_1 + } + return nil +} + +func (x *ShapeBox) GetAxis_2() *Vector { + if x != nil { + return x.Axis_2 + } + return nil +} + +func (x *ShapeBox) GetExtents() *Vector { + if x != nil { + return x.Extents + } + return nil +} + +var File_ShapeBox_proto protoreflect.FileDescriptor + +var file_ShapeBox_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x70, 0x65, 0x42, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, + 0x01, 0x0a, 0x08, 0x53, 0x68, 0x61, 0x70, 0x65, 0x42, 0x6f, 0x78, 0x12, 0x1f, 0x0a, 0x06, 0x63, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x06, + 0x61, 0x78, 0x69, 0x73, 0x5f, 0x30, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x78, 0x69, 0x73, 0x30, 0x12, 0x1e, 0x0a, 0x06, + 0x61, 0x78, 0x69, 0x73, 0x5f, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x78, 0x69, 0x73, 0x31, 0x12, 0x1e, 0x0a, 0x06, + 0x61, 0x78, 0x69, 0x73, 0x5f, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x78, 0x69, 0x73, 0x32, 0x12, 0x21, 0x0a, 0x07, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ShapeBox_proto_rawDescOnce sync.Once + file_ShapeBox_proto_rawDescData = file_ShapeBox_proto_rawDesc +) + +func file_ShapeBox_proto_rawDescGZIP() []byte { + file_ShapeBox_proto_rawDescOnce.Do(func() { + file_ShapeBox_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShapeBox_proto_rawDescData) + }) + return file_ShapeBox_proto_rawDescData +} + +var file_ShapeBox_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShapeBox_proto_goTypes = []interface{}{ + (*ShapeBox)(nil), // 0: ShapeBox + (*Vector)(nil), // 1: Vector +} +var file_ShapeBox_proto_depIdxs = []int32{ + 1, // 0: ShapeBox.center:type_name -> Vector + 1, // 1: ShapeBox.axis_0:type_name -> Vector + 1, // 2: ShapeBox.axis_1:type_name -> Vector + 1, // 3: ShapeBox.axis_2:type_name -> Vector + 1, // 4: ShapeBox.extents:type_name -> Vector + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_ShapeBox_proto_init() } +func file_ShapeBox_proto_init() { + if File_ShapeBox_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShapeBox_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShapeBox); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShapeBox_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShapeBox_proto_goTypes, + DependencyIndexes: file_ShapeBox_proto_depIdxs, + MessageInfos: file_ShapeBox_proto_msgTypes, + }.Build() + File_ShapeBox_proto = out.File + file_ShapeBox_proto_rawDesc = nil + file_ShapeBox_proto_goTypes = nil + file_ShapeBox_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShapeBox.proto b/gate-hk4e-api/proto/ShapeBox.proto new file mode 100644 index 00000000..dd27874f --- /dev/null +++ b/gate-hk4e-api/proto/ShapeBox.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message ShapeBox { + Vector center = 1; + Vector axis_0 = 2; + Vector axis_1 = 3; + Vector axis_2 = 4; + Vector extents = 5; +} diff --git a/gate-hk4e-api/proto/ShapeSphere.pb.go b/gate-hk4e-api/proto/ShapeSphere.pb.go new file mode 100644 index 00000000..09d9e9c1 --- /dev/null +++ b/gate-hk4e-api/proto/ShapeSphere.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShapeSphere.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShapeSphere struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Center *Vector `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` + Radius float32 `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"` +} + +func (x *ShapeSphere) Reset() { + *x = ShapeSphere{} + if protoimpl.UnsafeEnabled { + mi := &file_ShapeSphere_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShapeSphere) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShapeSphere) ProtoMessage() {} + +func (x *ShapeSphere) ProtoReflect() protoreflect.Message { + mi := &file_ShapeSphere_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShapeSphere.ProtoReflect.Descriptor instead. +func (*ShapeSphere) Descriptor() ([]byte, []int) { + return file_ShapeSphere_proto_rawDescGZIP(), []int{0} +} + +func (x *ShapeSphere) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *ShapeSphere) GetRadius() float32 { + if x != nil { + return x.Radius + } + return 0 +} + +var File_ShapeSphere_proto protoreflect.FileDescriptor + +var file_ShapeSphere_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x53, 0x68, 0x61, 0x70, 0x65, 0x53, 0x70, 0x68, 0x65, 0x72, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x46, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x70, 0x65, 0x53, 0x70, 0x68, 0x65, 0x72, 0x65, + 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShapeSphere_proto_rawDescOnce sync.Once + file_ShapeSphere_proto_rawDescData = file_ShapeSphere_proto_rawDesc +) + +func file_ShapeSphere_proto_rawDescGZIP() []byte { + file_ShapeSphere_proto_rawDescOnce.Do(func() { + file_ShapeSphere_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShapeSphere_proto_rawDescData) + }) + return file_ShapeSphere_proto_rawDescData +} + +var file_ShapeSphere_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShapeSphere_proto_goTypes = []interface{}{ + (*ShapeSphere)(nil), // 0: ShapeSphere + (*Vector)(nil), // 1: Vector +} +var file_ShapeSphere_proto_depIdxs = []int32{ + 1, // 0: ShapeSphere.center:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ShapeSphere_proto_init() } +func file_ShapeSphere_proto_init() { + if File_ShapeSphere_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShapeSphere_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShapeSphere); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShapeSphere_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShapeSphere_proto_goTypes, + DependencyIndexes: file_ShapeSphere_proto_depIdxs, + MessageInfos: file_ShapeSphere_proto_msgTypes, + }.Build() + File_ShapeSphere_proto = out.File + file_ShapeSphere_proto_rawDesc = nil + file_ShapeSphere_proto_goTypes = nil + file_ShapeSphere_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShapeSphere.proto b/gate-hk4e-api/proto/ShapeSphere.proto new file mode 100644 index 00000000..258e991e --- /dev/null +++ b/gate-hk4e-api/proto/ShapeSphere.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message ShapeSphere { + Vector center = 1; + float radius = 2; +} diff --git a/gate-hk4e-api/proto/Shop.pb.go b/gate-hk4e-api/proto/Shop.pb.go new file mode 100644 index 00000000..afe269b1 --- /dev/null +++ b/gate-hk4e-api/proto/Shop.pb.go @@ -0,0 +1,253 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Shop.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Shop struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConcertProductList []*ShopConcertProduct `protobuf:"bytes,3,rep,name=concert_product_list,json=concertProductList,proto3" json:"concert_product_list,omitempty"` + GoodsList []*ShopGoods `protobuf:"bytes,15,rep,name=goods_list,json=goodsList,proto3" json:"goods_list,omitempty"` + CityReputationLevel uint32 `protobuf:"varint,2,opt,name=city_reputation_level,json=cityReputationLevel,proto3" json:"city_reputation_level,omitempty"` + CardProductList []*ShopCardProduct `protobuf:"bytes,14,rep,name=card_product_list,json=cardProductList,proto3" json:"card_product_list,omitempty"` + McoinProductList []*ShopMcoinProduct `protobuf:"bytes,7,rep,name=mcoin_product_list,json=mcoinProductList,proto3" json:"mcoin_product_list,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,11,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + CityId uint32 `protobuf:"varint,10,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + ShopType uint32 `protobuf:"varint,13,opt,name=shop_type,json=shopType,proto3" json:"shop_type,omitempty"` +} + +func (x *Shop) Reset() { + *x = Shop{} + if protoimpl.UnsafeEnabled { + mi := &file_Shop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shop) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shop) ProtoMessage() {} + +func (x *Shop) ProtoReflect() protoreflect.Message { + mi := &file_Shop_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shop.ProtoReflect.Descriptor instead. +func (*Shop) Descriptor() ([]byte, []int) { + return file_Shop_proto_rawDescGZIP(), []int{0} +} + +func (x *Shop) GetConcertProductList() []*ShopConcertProduct { + if x != nil { + return x.ConcertProductList + } + return nil +} + +func (x *Shop) GetGoodsList() []*ShopGoods { + if x != nil { + return x.GoodsList + } + return nil +} + +func (x *Shop) GetCityReputationLevel() uint32 { + if x != nil { + return x.CityReputationLevel + } + return 0 +} + +func (x *Shop) GetCardProductList() []*ShopCardProduct { + if x != nil { + return x.CardProductList + } + return nil +} + +func (x *Shop) GetMcoinProductList() []*ShopMcoinProduct { + if x != nil { + return x.McoinProductList + } + return nil +} + +func (x *Shop) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *Shop) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *Shop) GetShopType() uint32 { + if x != nil { + return x.ShopType + } + return 0 +} + +var File_Shop_proto protoreflect.FileDescriptor + +var file_Shop_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x53, 0x68, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x68, + 0x6f, 0x70, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, + 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, + 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x53, 0x68, 0x6f, 0x70, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x03, 0x0a, 0x04, 0x53, 0x68, 0x6f, 0x70, 0x12, + 0x45, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x53, 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x68, 0x6f, + 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x13, 0x63, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3c, 0x0a, 0x11, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x52, 0x0f, 0x63, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x12, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x52, 0x10, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, + 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x68, + 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Shop_proto_rawDescOnce sync.Once + file_Shop_proto_rawDescData = file_Shop_proto_rawDesc +) + +func file_Shop_proto_rawDescGZIP() []byte { + file_Shop_proto_rawDescOnce.Do(func() { + file_Shop_proto_rawDescData = protoimpl.X.CompressGZIP(file_Shop_proto_rawDescData) + }) + return file_Shop_proto_rawDescData +} + +var file_Shop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Shop_proto_goTypes = []interface{}{ + (*Shop)(nil), // 0: Shop + (*ShopConcertProduct)(nil), // 1: ShopConcertProduct + (*ShopGoods)(nil), // 2: ShopGoods + (*ShopCardProduct)(nil), // 3: ShopCardProduct + (*ShopMcoinProduct)(nil), // 4: ShopMcoinProduct +} +var file_Shop_proto_depIdxs = []int32{ + 1, // 0: Shop.concert_product_list:type_name -> ShopConcertProduct + 2, // 1: Shop.goods_list:type_name -> ShopGoods + 3, // 2: Shop.card_product_list:type_name -> ShopCardProduct + 4, // 3: Shop.mcoin_product_list:type_name -> ShopMcoinProduct + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Shop_proto_init() } +func file_Shop_proto_init() { + if File_Shop_proto != nil { + return + } + file_ShopCardProduct_proto_init() + file_ShopConcertProduct_proto_init() + file_ShopGoods_proto_init() + file_ShopMcoinProduct_proto_init() + if !protoimpl.UnsafeEnabled { + file_Shop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Shop); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Shop_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Shop_proto_goTypes, + DependencyIndexes: file_Shop_proto_depIdxs, + MessageInfos: file_Shop_proto_msgTypes, + }.Build() + File_Shop_proto = out.File + file_Shop_proto_rawDesc = nil + file_Shop_proto_goTypes = nil + file_Shop_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Shop.proto b/gate-hk4e-api/proto/Shop.proto new file mode 100644 index 00000000..aaa14ded --- /dev/null +++ b/gate-hk4e-api/proto/Shop.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ShopCardProduct.proto"; +import "ShopConcertProduct.proto"; +import "ShopGoods.proto"; +import "ShopMcoinProduct.proto"; + +option go_package = "./;proto"; + +message Shop { + repeated ShopConcertProduct concert_product_list = 3; + repeated ShopGoods goods_list = 15; + uint32 city_reputation_level = 2; + repeated ShopCardProduct card_product_list = 14; + repeated ShopMcoinProduct mcoin_product_list = 7; + uint32 next_refresh_time = 11; + uint32 city_id = 10; + uint32 shop_type = 13; +} diff --git a/gate-hk4e-api/proto/ShopCardProduct.pb.go b/gate-hk4e-api/proto/ShopCardProduct.pb.go new file mode 100644 index 00000000..28b57d3b --- /dev/null +++ b/gate-hk4e-api/proto/ShopCardProduct.pb.go @@ -0,0 +1,336 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShopCardProduct.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShopCardProduct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + PriceTier string `protobuf:"bytes,2,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` + McoinBase uint32 `protobuf:"varint,3,opt,name=mcoin_base,json=mcoinBase,proto3" json:"mcoin_base,omitempty"` + HcoinPerDay uint32 `protobuf:"varint,4,opt,name=hcoin_per_day,json=hcoinPerDay,proto3" json:"hcoin_per_day,omitempty"` + Days uint32 `protobuf:"varint,5,opt,name=days,proto3" json:"days,omitempty"` + RemainRewardDays uint32 `protobuf:"varint,6,opt,name=remain_reward_days,json=remainRewardDays,proto3" json:"remain_reward_days,omitempty"` + CardProductType uint32 `protobuf:"varint,7,opt,name=card_product_type,json=cardProductType,proto3" json:"card_product_type,omitempty"` + // Types that are assignable to ExtraCardData: + // *ShopCardProduct_ResinCard_ + ExtraCardData isShopCardProduct_ExtraCardData `protobuf_oneof:"extra_card_data"` +} + +func (x *ShopCardProduct) Reset() { + *x = ShopCardProduct{} + if protoimpl.UnsafeEnabled { + mi := &file_ShopCardProduct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShopCardProduct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShopCardProduct) ProtoMessage() {} + +func (x *ShopCardProduct) ProtoReflect() protoreflect.Message { + mi := &file_ShopCardProduct_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShopCardProduct.ProtoReflect.Descriptor instead. +func (*ShopCardProduct) Descriptor() ([]byte, []int) { + return file_ShopCardProduct_proto_rawDescGZIP(), []int{0} +} + +func (x *ShopCardProduct) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *ShopCardProduct) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +func (x *ShopCardProduct) GetMcoinBase() uint32 { + if x != nil { + return x.McoinBase + } + return 0 +} + +func (x *ShopCardProduct) GetHcoinPerDay() uint32 { + if x != nil { + return x.HcoinPerDay + } + return 0 +} + +func (x *ShopCardProduct) GetDays() uint32 { + if x != nil { + return x.Days + } + return 0 +} + +func (x *ShopCardProduct) GetRemainRewardDays() uint32 { + if x != nil { + return x.RemainRewardDays + } + return 0 +} + +func (x *ShopCardProduct) GetCardProductType() uint32 { + if x != nil { + return x.CardProductType + } + return 0 +} + +func (m *ShopCardProduct) GetExtraCardData() isShopCardProduct_ExtraCardData { + if m != nil { + return m.ExtraCardData + } + return nil +} + +func (x *ShopCardProduct) GetResinCard() *ShopCardProduct_ResinCard { + if x, ok := x.GetExtraCardData().(*ShopCardProduct_ResinCard_); ok { + return x.ResinCard + } + return nil +} + +type isShopCardProduct_ExtraCardData interface { + isShopCardProduct_ExtraCardData() +} + +type ShopCardProduct_ResinCard_ struct { + ResinCard *ShopCardProduct_ResinCard `protobuf:"bytes,101,opt,name=resin_card,json=resinCard,proto3,oneof"` +} + +func (*ShopCardProduct_ResinCard_) isShopCardProduct_ExtraCardData() {} + +type ShopCardProduct_ResinCard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BaseItemList []*ItemParam `protobuf:"bytes,1,rep,name=base_item_list,json=baseItemList,proto3" json:"base_item_list,omitempty"` + PerDayItemList []*ItemParam `protobuf:"bytes,2,rep,name=per_day_item_list,json=perDayItemList,proto3" json:"per_day_item_list,omitempty"` +} + +func (x *ShopCardProduct_ResinCard) Reset() { + *x = ShopCardProduct_ResinCard{} + if protoimpl.UnsafeEnabled { + mi := &file_ShopCardProduct_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShopCardProduct_ResinCard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShopCardProduct_ResinCard) ProtoMessage() {} + +func (x *ShopCardProduct_ResinCard) ProtoReflect() protoreflect.Message { + mi := &file_ShopCardProduct_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShopCardProduct_ResinCard.ProtoReflect.Descriptor instead. +func (*ShopCardProduct_ResinCard) Descriptor() ([]byte, []int) { + return file_ShopCardProduct_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ShopCardProduct_ResinCard) GetBaseItemList() []*ItemParam { + if x != nil { + return x.BaseItemList + } + return nil +} + +func (x *ShopCardProduct_ResinCard) GetPerDayItemList() []*ItemParam { + if x != nil { + return x.PerDayItemList + } + return nil +} + +var File_ShopCardProduct_proto protoreflect.FileDescriptor + +var file_ShopCardProduct_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x03, 0x0a, 0x0f, 0x53, 0x68, 0x6f, + 0x70, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x63, + 0x6f, 0x69, 0x6e, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x42, 0x61, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x63, 0x6f, + 0x69, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x65, 0x72, 0x44, 0x61, 0x79, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x64, 0x61, 0x79, + 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x79, 0x73, 0x12, + 0x2a, 0x0a, 0x11, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x61, 0x72, 0x64, + 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x72, + 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x09, 0x72, + 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x1a, 0x74, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x69, + 0x6e, 0x43, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x49, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x5f, 0x64, + 0x61, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, + 0x70, 0x65, 0x72, 0x44, 0x61, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x11, + 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShopCardProduct_proto_rawDescOnce sync.Once + file_ShopCardProduct_proto_rawDescData = file_ShopCardProduct_proto_rawDesc +) + +func file_ShopCardProduct_proto_rawDescGZIP() []byte { + file_ShopCardProduct_proto_rawDescOnce.Do(func() { + file_ShopCardProduct_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShopCardProduct_proto_rawDescData) + }) + return file_ShopCardProduct_proto_rawDescData +} + +var file_ShopCardProduct_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_ShopCardProduct_proto_goTypes = []interface{}{ + (*ShopCardProduct)(nil), // 0: ShopCardProduct + (*ShopCardProduct_ResinCard)(nil), // 1: ShopCardProduct.ResinCard + (*ItemParam)(nil), // 2: ItemParam +} +var file_ShopCardProduct_proto_depIdxs = []int32{ + 1, // 0: ShopCardProduct.resin_card:type_name -> ShopCardProduct.ResinCard + 2, // 1: ShopCardProduct.ResinCard.base_item_list:type_name -> ItemParam + 2, // 2: ShopCardProduct.ResinCard.per_day_item_list:type_name -> ItemParam + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_ShopCardProduct_proto_init() } +func file_ShopCardProduct_proto_init() { + if File_ShopCardProduct_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShopCardProduct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShopCardProduct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ShopCardProduct_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShopCardProduct_ResinCard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ShopCardProduct_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ShopCardProduct_ResinCard_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShopCardProduct_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShopCardProduct_proto_goTypes, + DependencyIndexes: file_ShopCardProduct_proto_depIdxs, + MessageInfos: file_ShopCardProduct_proto_msgTypes, + }.Build() + File_ShopCardProduct_proto = out.File + file_ShopCardProduct_proto_rawDesc = nil + file_ShopCardProduct_proto_goTypes = nil + file_ShopCardProduct_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShopCardProduct.proto b/gate-hk4e-api/proto/ShopCardProduct.proto new file mode 100644 index 00000000..414e7ea3 --- /dev/null +++ b/gate-hk4e-api/proto/ShopCardProduct.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message ShopCardProduct { + string product_id = 1; + string price_tier = 2; + uint32 mcoin_base = 3; + uint32 hcoin_per_day = 4; + uint32 days = 5; + uint32 remain_reward_days = 6; + uint32 card_product_type = 7; + oneof extra_card_data { + ResinCard resin_card = 101; + } + + message ResinCard { + repeated ItemParam base_item_list = 1; + repeated ItemParam per_day_item_list = 2; + } +} diff --git a/gate-hk4e-api/proto/ShopConcertProduct.pb.go b/gate-hk4e-api/proto/ShopConcertProduct.pb.go new file mode 100644 index 00000000..426ff6b8 --- /dev/null +++ b/gate-hk4e-api/proto/ShopConcertProduct.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShopConcertProduct.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShopConcertProduct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + PriceTier string `protobuf:"bytes,2,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` + ObtainCount uint32 `protobuf:"varint,3,opt,name=obtain_count,json=obtainCount,proto3" json:"obtain_count,omitempty"` + ObtainLimit uint32 `protobuf:"varint,4,opt,name=obtain_limit,json=obtainLimit,proto3" json:"obtain_limit,omitempty"` + BeginTime uint32 `protobuf:"varint,5,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + EndTime uint32 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + BuyTimes uint32 `protobuf:"varint,7,opt,name=buy_times,json=buyTimes,proto3" json:"buy_times,omitempty"` +} + +func (x *ShopConcertProduct) Reset() { + *x = ShopConcertProduct{} + if protoimpl.UnsafeEnabled { + mi := &file_ShopConcertProduct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShopConcertProduct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShopConcertProduct) ProtoMessage() {} + +func (x *ShopConcertProduct) ProtoReflect() protoreflect.Message { + mi := &file_ShopConcertProduct_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShopConcertProduct.ProtoReflect.Descriptor instead. +func (*ShopConcertProduct) Descriptor() ([]byte, []int) { + return file_ShopConcertProduct_proto_rawDescGZIP(), []int{0} +} + +func (x *ShopConcertProduct) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *ShopConcertProduct) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +func (x *ShopConcertProduct) GetObtainCount() uint32 { + if x != nil { + return x.ObtainCount + } + return 0 +} + +func (x *ShopConcertProduct) GetObtainLimit() uint32 { + if x != nil { + return x.ObtainLimit + } + return 0 +} + +func (x *ShopConcertProduct) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *ShopConcertProduct) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *ShopConcertProduct) GetBuyTimes() uint32 { + if x != nil { + return x.BuyTimes + } + return 0 +} + +var File_ShopConcertProduct_proto protoreflect.FileDescriptor + +var file_ShopConcertProduct_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x01, 0x0a, 0x12, 0x53, + 0x68, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, 0x12, + 0x21, 0x0a, 0x0c, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShopConcertProduct_proto_rawDescOnce sync.Once + file_ShopConcertProduct_proto_rawDescData = file_ShopConcertProduct_proto_rawDesc +) + +func file_ShopConcertProduct_proto_rawDescGZIP() []byte { + file_ShopConcertProduct_proto_rawDescOnce.Do(func() { + file_ShopConcertProduct_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShopConcertProduct_proto_rawDescData) + }) + return file_ShopConcertProduct_proto_rawDescData +} + +var file_ShopConcertProduct_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShopConcertProduct_proto_goTypes = []interface{}{ + (*ShopConcertProduct)(nil), // 0: ShopConcertProduct +} +var file_ShopConcertProduct_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShopConcertProduct_proto_init() } +func file_ShopConcertProduct_proto_init() { + if File_ShopConcertProduct_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShopConcertProduct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShopConcertProduct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShopConcertProduct_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShopConcertProduct_proto_goTypes, + DependencyIndexes: file_ShopConcertProduct_proto_depIdxs, + MessageInfos: file_ShopConcertProduct_proto_msgTypes, + }.Build() + File_ShopConcertProduct_proto = out.File + file_ShopConcertProduct_proto_rawDesc = nil + file_ShopConcertProduct_proto_goTypes = nil + file_ShopConcertProduct_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShopConcertProduct.proto b/gate-hk4e-api/proto/ShopConcertProduct.proto new file mode 100644 index 00000000..f3d44812 --- /dev/null +++ b/gate-hk4e-api/proto/ShopConcertProduct.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ShopConcertProduct { + string product_id = 1; + string price_tier = 2; + uint32 obtain_count = 3; + uint32 obtain_limit = 4; + uint32 begin_time = 5; + uint32 end_time = 6; + uint32 buy_times = 7; +} diff --git a/gate-hk4e-api/proto/ShopGoods.pb.go b/gate-hk4e-api/proto/ShopGoods.pb.go new file mode 100644 index 00000000..a67e7db8 --- /dev/null +++ b/gate-hk4e-api/proto/ShopGoods.pb.go @@ -0,0 +1,356 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShopGoods.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShopGoods struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DiscountEndTime uint32 `protobuf:"varint,258,opt,name=discount_end_time,json=discountEndTime,proto3" json:"discount_end_time,omitempty"` + MinLevel uint32 `protobuf:"varint,8,opt,name=min_level,json=minLevel,proto3" json:"min_level,omitempty"` + EndTime uint32 `protobuf:"varint,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + CostItemList []*ItemParam `protobuf:"bytes,3,rep,name=cost_item_list,json=costItemList,proto3" json:"cost_item_list,omitempty"` + SecondarySheetId uint32 `protobuf:"varint,318,opt,name=secondary_sheet_id,json=secondarySheetId,proto3" json:"secondary_sheet_id,omitempty"` + Hcoin uint32 `protobuf:"varint,1,opt,name=hcoin,proto3" json:"hcoin,omitempty"` + Mcoin uint32 `protobuf:"varint,14,opt,name=mcoin,proto3" json:"mcoin,omitempty"` + DiscountId uint32 `protobuf:"varint,1998,opt,name=discount_id,json=discountId,proto3" json:"discount_id,omitempty"` + SingleLimit uint32 `protobuf:"varint,247,opt,name=single_limit,json=singleLimit,proto3" json:"single_limit,omitempty"` + GoodsId uint32 `protobuf:"varint,13,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,7,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + MaxLevel uint32 `protobuf:"varint,4,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"` + DisableType uint32 `protobuf:"varint,6,opt,name=disable_type,json=disableType,proto3" json:"disable_type,omitempty"` + DiscountBeginTime uint32 `protobuf:"varint,574,opt,name=discount_begin_time,json=discountBeginTime,proto3" json:"discount_begin_time,omitempty"` + PreGoodsIdList []uint32 `protobuf:"varint,2,rep,packed,name=pre_goods_id_list,json=preGoodsIdList,proto3" json:"pre_goods_id_list,omitempty"` + BeginTime uint32 `protobuf:"varint,5,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` + Scoin uint32 `protobuf:"varint,15,opt,name=scoin,proto3" json:"scoin,omitempty"` + BoughtNum uint32 `protobuf:"varint,10,opt,name=bought_num,json=boughtNum,proto3" json:"bought_num,omitempty"` + BuyLimit uint32 `protobuf:"varint,12,opt,name=buy_limit,json=buyLimit,proto3" json:"buy_limit,omitempty"` + GoodsItem *ItemParam `protobuf:"bytes,9,opt,name=goods_item,json=goodsItem,proto3" json:"goods_item,omitempty"` +} + +func (x *ShopGoods) Reset() { + *x = ShopGoods{} + if protoimpl.UnsafeEnabled { + mi := &file_ShopGoods_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShopGoods) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShopGoods) ProtoMessage() {} + +func (x *ShopGoods) ProtoReflect() protoreflect.Message { + mi := &file_ShopGoods_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShopGoods.ProtoReflect.Descriptor instead. +func (*ShopGoods) Descriptor() ([]byte, []int) { + return file_ShopGoods_proto_rawDescGZIP(), []int{0} +} + +func (x *ShopGoods) GetDiscountEndTime() uint32 { + if x != nil { + return x.DiscountEndTime + } + return 0 +} + +func (x *ShopGoods) GetMinLevel() uint32 { + if x != nil { + return x.MinLevel + } + return 0 +} + +func (x *ShopGoods) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *ShopGoods) GetCostItemList() []*ItemParam { + if x != nil { + return x.CostItemList + } + return nil +} + +func (x *ShopGoods) GetSecondarySheetId() uint32 { + if x != nil { + return x.SecondarySheetId + } + return 0 +} + +func (x *ShopGoods) GetHcoin() uint32 { + if x != nil { + return x.Hcoin + } + return 0 +} + +func (x *ShopGoods) GetMcoin() uint32 { + if x != nil { + return x.Mcoin + } + return 0 +} + +func (x *ShopGoods) GetDiscountId() uint32 { + if x != nil { + return x.DiscountId + } + return 0 +} + +func (x *ShopGoods) GetSingleLimit() uint32 { + if x != nil { + return x.SingleLimit + } + return 0 +} + +func (x *ShopGoods) GetGoodsId() uint32 { + if x != nil { + return x.GoodsId + } + return 0 +} + +func (x *ShopGoods) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *ShopGoods) GetMaxLevel() uint32 { + if x != nil { + return x.MaxLevel + } + return 0 +} + +func (x *ShopGoods) GetDisableType() uint32 { + if x != nil { + return x.DisableType + } + return 0 +} + +func (x *ShopGoods) GetDiscountBeginTime() uint32 { + if x != nil { + return x.DiscountBeginTime + } + return 0 +} + +func (x *ShopGoods) GetPreGoodsIdList() []uint32 { + if x != nil { + return x.PreGoodsIdList + } + return nil +} + +func (x *ShopGoods) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +func (x *ShopGoods) GetScoin() uint32 { + if x != nil { + return x.Scoin + } + return 0 +} + +func (x *ShopGoods) GetBoughtNum() uint32 { + if x != nil { + return x.BoughtNum + } + return 0 +} + +func (x *ShopGoods) GetBuyLimit() uint32 { + if x != nil { + return x.BuyLimit + } + return 0 +} + +func (x *ShopGoods) GetGoodsItem() *ItemParam { + if x != nil { + return x.GoodsItem + } + return nil +} + +var File_ShopGoods_proto protoreflect.FileDescriptor + +var file_ShopGoods_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xc2, 0x05, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x47, 0x6f, 0x6f, 0x64, 0x73, + 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x82, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x69, + 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x0e, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x49, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0xbe, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x53, + 0x68, 0x65, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x68, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x63, 0x6f, + 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0xce, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0xf7, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x69, 0x6e, + 0x67, 0x6c, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x6f, 0x6f, 0x64, + 0x73, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x6f, 0x6f, 0x64, + 0x73, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x2f, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0xbe, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x29, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x72, 0x65, + 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, + 0x6f, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x69, 0x6e, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x4e, 0x75, 0x6d, 0x12, + 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x62, 0x75, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x0a, + 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x67, 0x6f, + 0x6f, 0x64, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShopGoods_proto_rawDescOnce sync.Once + file_ShopGoods_proto_rawDescData = file_ShopGoods_proto_rawDesc +) + +func file_ShopGoods_proto_rawDescGZIP() []byte { + file_ShopGoods_proto_rawDescOnce.Do(func() { + file_ShopGoods_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShopGoods_proto_rawDescData) + }) + return file_ShopGoods_proto_rawDescData +} + +var file_ShopGoods_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShopGoods_proto_goTypes = []interface{}{ + (*ShopGoods)(nil), // 0: ShopGoods + (*ItemParam)(nil), // 1: ItemParam +} +var file_ShopGoods_proto_depIdxs = []int32{ + 1, // 0: ShopGoods.cost_item_list:type_name -> ItemParam + 1, // 1: ShopGoods.goods_item:type_name -> ItemParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ShopGoods_proto_init() } +func file_ShopGoods_proto_init() { + if File_ShopGoods_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShopGoods_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShopGoods); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShopGoods_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShopGoods_proto_goTypes, + DependencyIndexes: file_ShopGoods_proto_depIdxs, + MessageInfos: file_ShopGoods_proto_msgTypes, + }.Build() + File_ShopGoods_proto = out.File + file_ShopGoods_proto_rawDesc = nil + file_ShopGoods_proto_goTypes = nil + file_ShopGoods_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShopGoods.proto b/gate-hk4e-api/proto/ShopGoods.proto new file mode 100644 index 00000000..c4e3c41f --- /dev/null +++ b/gate-hk4e-api/proto/ShopGoods.proto @@ -0,0 +1,44 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message ShopGoods { + uint32 discount_end_time = 258; + uint32 min_level = 8; + uint32 end_time = 11; + repeated ItemParam cost_item_list = 3; + uint32 secondary_sheet_id = 318; + uint32 hcoin = 1; + uint32 mcoin = 14; + uint32 discount_id = 1998; + uint32 single_limit = 247; + uint32 goods_id = 13; + uint32 next_refresh_time = 7; + uint32 max_level = 4; + uint32 disable_type = 6; + uint32 discount_begin_time = 574; + repeated uint32 pre_goods_id_list = 2; + uint32 begin_time = 5; + uint32 scoin = 15; + uint32 bought_num = 10; + uint32 buy_limit = 12; + ItemParam goods_item = 9; +} diff --git a/gate-hk4e-api/proto/ShopMcoinProduct.pb.go b/gate-hk4e-api/proto/ShopMcoinProduct.pb.go new file mode 100644 index 00000000..fb35ee7b --- /dev/null +++ b/gate-hk4e-api/proto/ShopMcoinProduct.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShopMcoinProduct.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShopMcoinProduct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` + PriceTier string `protobuf:"bytes,2,opt,name=price_tier,json=priceTier,proto3" json:"price_tier,omitempty"` + McoinBase uint32 `protobuf:"varint,3,opt,name=mcoin_base,json=mcoinBase,proto3" json:"mcoin_base,omitempty"` + McoinNonFirst uint32 `protobuf:"varint,4,opt,name=mcoin_non_first,json=mcoinNonFirst,proto3" json:"mcoin_non_first,omitempty"` + McoinFirst uint32 `protobuf:"varint,5,opt,name=mcoin_first,json=mcoinFirst,proto3" json:"mcoin_first,omitempty"` + BoughtNum uint32 `protobuf:"varint,6,opt,name=bought_num,json=boughtNum,proto3" json:"bought_num,omitempty"` + IsAudit bool `protobuf:"varint,7,opt,name=is_audit,json=isAudit,proto3" json:"is_audit,omitempty"` +} + +func (x *ShopMcoinProduct) Reset() { + *x = ShopMcoinProduct{} + if protoimpl.UnsafeEnabled { + mi := &file_ShopMcoinProduct_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShopMcoinProduct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShopMcoinProduct) ProtoMessage() {} + +func (x *ShopMcoinProduct) ProtoReflect() protoreflect.Message { + mi := &file_ShopMcoinProduct_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShopMcoinProduct.ProtoReflect.Descriptor instead. +func (*ShopMcoinProduct) Descriptor() ([]byte, []int) { + return file_ShopMcoinProduct_proto_rawDescGZIP(), []int{0} +} + +func (x *ShopMcoinProduct) GetProductId() string { + if x != nil { + return x.ProductId + } + return "" +} + +func (x *ShopMcoinProduct) GetPriceTier() string { + if x != nil { + return x.PriceTier + } + return "" +} + +func (x *ShopMcoinProduct) GetMcoinBase() uint32 { + if x != nil { + return x.McoinBase + } + return 0 +} + +func (x *ShopMcoinProduct) GetMcoinNonFirst() uint32 { + if x != nil { + return x.McoinNonFirst + } + return 0 +} + +func (x *ShopMcoinProduct) GetMcoinFirst() uint32 { + if x != nil { + return x.McoinFirst + } + return 0 +} + +func (x *ShopMcoinProduct) GetBoughtNum() uint32 { + if x != nil { + return x.BoughtNum + } + return 0 +} + +func (x *ShopMcoinProduct) GetIsAudit() bool { + if x != nil { + return x.IsAudit + } + return false +} + +var File_ShopMcoinProduct_proto protoreflect.FileDescriptor + +var file_ShopMcoinProduct_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x70, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x6f, + 0x70, 0x4d, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, + 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x42, 0x61, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x63, + 0x6f, 0x69, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x4e, 0x6f, 0x6e, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x63, 0x6f, 0x69, 0x6e, 0x46, 0x69, + 0x72, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x5f, 0x6e, 0x75, + 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x4e, + 0x75, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ShopMcoinProduct_proto_rawDescOnce sync.Once + file_ShopMcoinProduct_proto_rawDescData = file_ShopMcoinProduct_proto_rawDesc +) + +func file_ShopMcoinProduct_proto_rawDescGZIP() []byte { + file_ShopMcoinProduct_proto_rawDescOnce.Do(func() { + file_ShopMcoinProduct_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShopMcoinProduct_proto_rawDescData) + }) + return file_ShopMcoinProduct_proto_rawDescData +} + +var file_ShopMcoinProduct_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShopMcoinProduct_proto_goTypes = []interface{}{ + (*ShopMcoinProduct)(nil), // 0: ShopMcoinProduct +} +var file_ShopMcoinProduct_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShopMcoinProduct_proto_init() } +func file_ShopMcoinProduct_proto_init() { + if File_ShopMcoinProduct_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShopMcoinProduct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShopMcoinProduct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShopMcoinProduct_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShopMcoinProduct_proto_goTypes, + DependencyIndexes: file_ShopMcoinProduct_proto_depIdxs, + MessageInfos: file_ShopMcoinProduct_proto_msgTypes, + }.Build() + File_ShopMcoinProduct_proto = out.File + file_ShopMcoinProduct_proto_rawDesc = nil + file_ShopMcoinProduct_proto_goTypes = nil + file_ShopMcoinProduct_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShopMcoinProduct.proto b/gate-hk4e-api/proto/ShopMcoinProduct.proto new file mode 100644 index 00000000..5243f980 --- /dev/null +++ b/gate-hk4e-api/proto/ShopMcoinProduct.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ShopMcoinProduct { + string product_id = 1; + string price_tier = 2; + uint32 mcoin_base = 3; + uint32 mcoin_non_first = 4; + uint32 mcoin_first = 5; + uint32 bought_num = 6; + bool is_audit = 7; +} diff --git a/gate-hk4e-api/proto/ShortAbilityHashPair.pb.go b/gate-hk4e-api/proto/ShortAbilityHashPair.pb.go new file mode 100644 index 00000000..7c809691 --- /dev/null +++ b/gate-hk4e-api/proto/ShortAbilityHashPair.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShortAbilityHashPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShortAbilityHashPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityConfigHash int32 `protobuf:"fixed32,15,opt,name=ability_config_hash,json=abilityConfigHash,proto3" json:"ability_config_hash,omitempty"` + AbilityNameHash int32 `protobuf:"fixed32,1,opt,name=ability_name_hash,json=abilityNameHash,proto3" json:"ability_name_hash,omitempty"` +} + +func (x *ShortAbilityHashPair) Reset() { + *x = ShortAbilityHashPair{} + if protoimpl.UnsafeEnabled { + mi := &file_ShortAbilityHashPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShortAbilityHashPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShortAbilityHashPair) ProtoMessage() {} + +func (x *ShortAbilityHashPair) ProtoReflect() protoreflect.Message { + mi := &file_ShortAbilityHashPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShortAbilityHashPair.ProtoReflect.Descriptor instead. +func (*ShortAbilityHashPair) Descriptor() ([]byte, []int) { + return file_ShortAbilityHashPair_proto_rawDescGZIP(), []int{0} +} + +func (x *ShortAbilityHashPair) GetAbilityConfigHash() int32 { + if x != nil { + return x.AbilityConfigHash + } + return 0 +} + +func (x *ShortAbilityHashPair) GetAbilityNameHash() int32 { + if x != nil { + return x.AbilityNameHash + } + return 0 +} + +var File_ShortAbilityHashPair_proto protoreflect.FileDescriptor + +var file_ShortAbilityHashPair_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, + 0x73, 0x68, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x14, + 0x53, 0x68, 0x6f, 0x72, 0x74, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x61, 0x73, 0x68, + 0x50, 0x61, 0x69, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0f, 0x52, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0f, 0x52, + 0x0f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x61, 0x73, 0x68, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShortAbilityHashPair_proto_rawDescOnce sync.Once + file_ShortAbilityHashPair_proto_rawDescData = file_ShortAbilityHashPair_proto_rawDesc +) + +func file_ShortAbilityHashPair_proto_rawDescGZIP() []byte { + file_ShortAbilityHashPair_proto_rawDescOnce.Do(func() { + file_ShortAbilityHashPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShortAbilityHashPair_proto_rawDescData) + }) + return file_ShortAbilityHashPair_proto_rawDescData +} + +var file_ShortAbilityHashPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShortAbilityHashPair_proto_goTypes = []interface{}{ + (*ShortAbilityHashPair)(nil), // 0: ShortAbilityHashPair +} +var file_ShortAbilityHashPair_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShortAbilityHashPair_proto_init() } +func file_ShortAbilityHashPair_proto_init() { + if File_ShortAbilityHashPair_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShortAbilityHashPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShortAbilityHashPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShortAbilityHashPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShortAbilityHashPair_proto_goTypes, + DependencyIndexes: file_ShortAbilityHashPair_proto_depIdxs, + MessageInfos: file_ShortAbilityHashPair_proto_msgTypes, + }.Build() + File_ShortAbilityHashPair_proto = out.File + file_ShortAbilityHashPair_proto_rawDesc = nil + file_ShortAbilityHashPair_proto_goTypes = nil + file_ShortAbilityHashPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShortAbilityHashPair.proto b/gate-hk4e-api/proto/ShortAbilityHashPair.proto new file mode 100644 index 00000000..e7788c1a --- /dev/null +++ b/gate-hk4e-api/proto/ShortAbilityHashPair.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message ShortAbilityHashPair { + sfixed32 ability_config_hash = 15; + sfixed32 ability_name_hash = 1; +} diff --git a/gate-hk4e-api/proto/ShowAvatarInfo.pb.go b/gate-hk4e-api/proto/ShowAvatarInfo.pb.go new file mode 100644 index 00000000..f520de74 --- /dev/null +++ b/gate-hk4e-api/proto/ShowAvatarInfo.pb.go @@ -0,0 +1,339 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShowAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + PropMap map[uint32]*PropValue `protobuf:"bytes,2,rep,name=prop_map,json=propMap,proto3" json:"prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TalentIdList []uint32 `protobuf:"varint,3,rep,packed,name=talent_id_list,json=talentIdList,proto3" json:"talent_id_list,omitempty"` + FightPropMap map[uint32]float32 `protobuf:"bytes,4,rep,name=fight_prop_map,json=fightPropMap,proto3" json:"fight_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` + SkillDepotId uint32 `protobuf:"varint,5,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + CoreProudSkillLevel uint32 `protobuf:"varint,6,opt,name=core_proud_skill_level,json=coreProudSkillLevel,proto3" json:"core_proud_skill_level,omitempty"` + InherentProudSkillList []uint32 `protobuf:"varint,7,rep,packed,name=inherent_proud_skill_list,json=inherentProudSkillList,proto3" json:"inherent_proud_skill_list,omitempty"` + SkillLevelMap map[uint32]uint32 `protobuf:"bytes,8,rep,name=skill_level_map,json=skillLevelMap,proto3" json:"skill_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ProudSkillExtraLevelMap map[uint32]uint32 `protobuf:"bytes,9,rep,name=proud_skill_extra_level_map,json=proudSkillExtraLevelMap,proto3" json:"proud_skill_extra_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + EquipList []*ShowEquip `protobuf:"bytes,10,rep,name=equip_list,json=equipList,proto3" json:"equip_list,omitempty"` + FetterInfo *AvatarFetterInfo `protobuf:"bytes,11,opt,name=fetter_info,json=fetterInfo,proto3" json:"fetter_info,omitempty"` + CostumeId uint32 `protobuf:"varint,12,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` + ExcelInfo *AvatarExcelInfo `protobuf:"bytes,13,opt,name=excel_info,json=excelInfo,proto3" json:"excel_info,omitempty"` +} + +func (x *ShowAvatarInfo) Reset() { + *x = ShowAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowAvatarInfo) ProtoMessage() {} + +func (x *ShowAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_ShowAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowAvatarInfo.ProtoReflect.Descriptor instead. +func (*ShowAvatarInfo) Descriptor() ([]byte, []int) { + return file_ShowAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowAvatarInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *ShowAvatarInfo) GetPropMap() map[uint32]*PropValue { + if x != nil { + return x.PropMap + } + return nil +} + +func (x *ShowAvatarInfo) GetTalentIdList() []uint32 { + if x != nil { + return x.TalentIdList + } + return nil +} + +func (x *ShowAvatarInfo) GetFightPropMap() map[uint32]float32 { + if x != nil { + return x.FightPropMap + } + return nil +} + +func (x *ShowAvatarInfo) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *ShowAvatarInfo) GetCoreProudSkillLevel() uint32 { + if x != nil { + return x.CoreProudSkillLevel + } + return 0 +} + +func (x *ShowAvatarInfo) GetInherentProudSkillList() []uint32 { + if x != nil { + return x.InherentProudSkillList + } + return nil +} + +func (x *ShowAvatarInfo) GetSkillLevelMap() map[uint32]uint32 { + if x != nil { + return x.SkillLevelMap + } + return nil +} + +func (x *ShowAvatarInfo) GetProudSkillExtraLevelMap() map[uint32]uint32 { + if x != nil { + return x.ProudSkillExtraLevelMap + } + return nil +} + +func (x *ShowAvatarInfo) GetEquipList() []*ShowEquip { + if x != nil { + return x.EquipList + } + return nil +} + +func (x *ShowAvatarInfo) GetFetterInfo() *AvatarFetterInfo { + if x != nil { + return x.FetterInfo + } + return nil +} + +func (x *ShowAvatarInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +func (x *ShowAvatarInfo) GetExcelInfo() *AvatarExcelInfo { + if x != nil { + return x.ExcelInfo + } + return nil +} + +var File_ShowAvatarInfo_proto protoreflect.FileDescriptor + +var file_ShowAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, + 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x71, 0x75, 0x69, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x07, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x53, 0x68, 0x6f, 0x77, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, + 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x66, 0x69, 0x67, 0x68, 0x74, 0x5f, + 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0c, 0x66, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x12, + 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, + 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x72, + 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x75, 0x64, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x6e, + 0x68, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, + 0x6c, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x16, 0x69, + 0x6e, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, + 0x70, 0x12, 0x6a, 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, + 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, + 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x53, 0x6b, 0x69, 0x6c, 0x6c, + 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x29, 0x0a, + 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x09, 0x65, + 0x71, 0x75, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0b, 0x66, 0x65, 0x74, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0a, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0a, 0x65, + 0x78, 0x63, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x45, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x46, 0x0a, 0x0c, + 0x50, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x46, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x75, 0x64, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShowAvatarInfo_proto_rawDescOnce sync.Once + file_ShowAvatarInfo_proto_rawDescData = file_ShowAvatarInfo_proto_rawDesc +) + +func file_ShowAvatarInfo_proto_rawDescGZIP() []byte { + file_ShowAvatarInfo_proto_rawDescOnce.Do(func() { + file_ShowAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowAvatarInfo_proto_rawDescData) + }) + return file_ShowAvatarInfo_proto_rawDescData +} + +var file_ShowAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_ShowAvatarInfo_proto_goTypes = []interface{}{ + (*ShowAvatarInfo)(nil), // 0: ShowAvatarInfo + nil, // 1: ShowAvatarInfo.PropMapEntry + nil, // 2: ShowAvatarInfo.FightPropMapEntry + nil, // 3: ShowAvatarInfo.SkillLevelMapEntry + nil, // 4: ShowAvatarInfo.ProudSkillExtraLevelMapEntry + (*ShowEquip)(nil), // 5: ShowEquip + (*AvatarFetterInfo)(nil), // 6: AvatarFetterInfo + (*AvatarExcelInfo)(nil), // 7: AvatarExcelInfo + (*PropValue)(nil), // 8: PropValue +} +var file_ShowAvatarInfo_proto_depIdxs = []int32{ + 1, // 0: ShowAvatarInfo.prop_map:type_name -> ShowAvatarInfo.PropMapEntry + 2, // 1: ShowAvatarInfo.fight_prop_map:type_name -> ShowAvatarInfo.FightPropMapEntry + 3, // 2: ShowAvatarInfo.skill_level_map:type_name -> ShowAvatarInfo.SkillLevelMapEntry + 4, // 3: ShowAvatarInfo.proud_skill_extra_level_map:type_name -> ShowAvatarInfo.ProudSkillExtraLevelMapEntry + 5, // 4: ShowAvatarInfo.equip_list:type_name -> ShowEquip + 6, // 5: ShowAvatarInfo.fetter_info:type_name -> AvatarFetterInfo + 7, // 6: ShowAvatarInfo.excel_info:type_name -> AvatarExcelInfo + 8, // 7: ShowAvatarInfo.PropMapEntry.value:type_name -> PropValue + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_ShowAvatarInfo_proto_init() } +func file_ShowAvatarInfo_proto_init() { + if File_ShowAvatarInfo_proto != nil { + return + } + file_AvatarExcelInfo_proto_init() + file_AvatarFetterInfo_proto_init() + file_PropValue_proto_init() + file_ShowEquip_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShowAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowAvatarInfo_proto_goTypes, + DependencyIndexes: file_ShowAvatarInfo_proto_depIdxs, + MessageInfos: file_ShowAvatarInfo_proto_msgTypes, + }.Build() + File_ShowAvatarInfo_proto = out.File + file_ShowAvatarInfo_proto_rawDesc = nil + file_ShowAvatarInfo_proto_goTypes = nil + file_ShowAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowAvatarInfo.proto b/gate-hk4e-api/proto/ShowAvatarInfo.proto new file mode 100644 index 00000000..19d12c1a --- /dev/null +++ b/gate-hk4e-api/proto/ShowAvatarInfo.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarExcelInfo.proto"; +import "AvatarFetterInfo.proto"; +import "PropValue.proto"; +import "ShowEquip.proto"; + +option go_package = "./;proto"; + +message ShowAvatarInfo { + uint32 avatar_id = 1; + map prop_map = 2; + repeated uint32 talent_id_list = 3; + map fight_prop_map = 4; + uint32 skill_depot_id = 5; + uint32 core_proud_skill_level = 6; + repeated uint32 inherent_proud_skill_list = 7; + map skill_level_map = 8; + map proud_skill_extra_level_map = 9; + repeated ShowEquip equip_list = 10; + AvatarFetterInfo fetter_info = 11; + uint32 costume_id = 12; + AvatarExcelInfo excel_info = 13; +} diff --git a/gate-hk4e-api/proto/ShowClientGuideNotify.pb.go b/gate-hk4e-api/proto/ShowClientGuideNotify.pb.go new file mode 100644 index 00000000..e4d35547 --- /dev/null +++ b/gate-hk4e-api/proto/ShowClientGuideNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowClientGuideNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3005 +// EnetChannelId: 0 +// EnetIsReliable: true +type ShowClientGuideNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GuideName string `protobuf:"bytes,7,opt,name=guide_name,json=guideName,proto3" json:"guide_name,omitempty"` +} + +func (x *ShowClientGuideNotify) Reset() { + *x = ShowClientGuideNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowClientGuideNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowClientGuideNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowClientGuideNotify) ProtoMessage() {} + +func (x *ShowClientGuideNotify) ProtoReflect() protoreflect.Message { + mi := &file_ShowClientGuideNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowClientGuideNotify.ProtoReflect.Descriptor instead. +func (*ShowClientGuideNotify) Descriptor() ([]byte, []int) { + return file_ShowClientGuideNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowClientGuideNotify) GetGuideName() string { + if x != nil { + return x.GuideName + } + return "" +} + +var File_ShowClientGuideNotify_proto protoreflect.FileDescriptor + +var file_ShowClientGuideNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x64, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, + 0x15, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x64, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x75, 0x69, 0x64, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShowClientGuideNotify_proto_rawDescOnce sync.Once + file_ShowClientGuideNotify_proto_rawDescData = file_ShowClientGuideNotify_proto_rawDesc +) + +func file_ShowClientGuideNotify_proto_rawDescGZIP() []byte { + file_ShowClientGuideNotify_proto_rawDescOnce.Do(func() { + file_ShowClientGuideNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowClientGuideNotify_proto_rawDescData) + }) + return file_ShowClientGuideNotify_proto_rawDescData +} + +var file_ShowClientGuideNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowClientGuideNotify_proto_goTypes = []interface{}{ + (*ShowClientGuideNotify)(nil), // 0: ShowClientGuideNotify +} +var file_ShowClientGuideNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShowClientGuideNotify_proto_init() } +func file_ShowClientGuideNotify_proto_init() { + if File_ShowClientGuideNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShowClientGuideNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowClientGuideNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowClientGuideNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowClientGuideNotify_proto_goTypes, + DependencyIndexes: file_ShowClientGuideNotify_proto_depIdxs, + MessageInfos: file_ShowClientGuideNotify_proto_msgTypes, + }.Build() + File_ShowClientGuideNotify_proto = out.File + file_ShowClientGuideNotify_proto_rawDesc = nil + file_ShowClientGuideNotify_proto_goTypes = nil + file_ShowClientGuideNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowClientGuideNotify.proto b/gate-hk4e-api/proto/ShowClientGuideNotify.proto new file mode 100644 index 00000000..0d1f0527 --- /dev/null +++ b/gate-hk4e-api/proto/ShowClientGuideNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3005 +// EnetChannelId: 0 +// EnetIsReliable: true +message ShowClientGuideNotify { + string guide_name = 7; +} diff --git a/gate-hk4e-api/proto/ShowClientTutorialNotify.pb.go b/gate-hk4e-api/proto/ShowClientTutorialNotify.pb.go new file mode 100644 index 00000000..1f46533c --- /dev/null +++ b/gate-hk4e-api/proto/ShowClientTutorialNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowClientTutorialNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3305 +// EnetChannelId: 0 +// EnetIsReliable: true +type ShowClientTutorialNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TutorialId uint32 `protobuf:"varint,2,opt,name=tutorial_id,json=tutorialId,proto3" json:"tutorial_id,omitempty"` +} + +func (x *ShowClientTutorialNotify) Reset() { + *x = ShowClientTutorialNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowClientTutorialNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowClientTutorialNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowClientTutorialNotify) ProtoMessage() {} + +func (x *ShowClientTutorialNotify) ProtoReflect() protoreflect.Message { + mi := &file_ShowClientTutorialNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowClientTutorialNotify.ProtoReflect.Descriptor instead. +func (*ShowClientTutorialNotify) Descriptor() ([]byte, []int) { + return file_ShowClientTutorialNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowClientTutorialNotify) GetTutorialId() uint32 { + if x != nil { + return x.TutorialId + } + return 0 +} + +var File_ShowClientTutorialNotify_proto protoreflect.FileDescriptor + +var file_ShowClientTutorialNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x75, 0x74, 0x6f, + 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x3b, 0x0a, 0x18, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x75, + 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x74, 0x75, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x74, 0x75, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ShowClientTutorialNotify_proto_rawDescOnce sync.Once + file_ShowClientTutorialNotify_proto_rawDescData = file_ShowClientTutorialNotify_proto_rawDesc +) + +func file_ShowClientTutorialNotify_proto_rawDescGZIP() []byte { + file_ShowClientTutorialNotify_proto_rawDescOnce.Do(func() { + file_ShowClientTutorialNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowClientTutorialNotify_proto_rawDescData) + }) + return file_ShowClientTutorialNotify_proto_rawDescData +} + +var file_ShowClientTutorialNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowClientTutorialNotify_proto_goTypes = []interface{}{ + (*ShowClientTutorialNotify)(nil), // 0: ShowClientTutorialNotify +} +var file_ShowClientTutorialNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShowClientTutorialNotify_proto_init() } +func file_ShowClientTutorialNotify_proto_init() { + if File_ShowClientTutorialNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShowClientTutorialNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowClientTutorialNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowClientTutorialNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowClientTutorialNotify_proto_goTypes, + DependencyIndexes: file_ShowClientTutorialNotify_proto_depIdxs, + MessageInfos: file_ShowClientTutorialNotify_proto_msgTypes, + }.Build() + File_ShowClientTutorialNotify_proto = out.File + file_ShowClientTutorialNotify_proto_rawDesc = nil + file_ShowClientTutorialNotify_proto_goTypes = nil + file_ShowClientTutorialNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowClientTutorialNotify.proto b/gate-hk4e-api/proto/ShowClientTutorialNotify.proto new file mode 100644 index 00000000..04348bbe --- /dev/null +++ b/gate-hk4e-api/proto/ShowClientTutorialNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3305 +// EnetChannelId: 0 +// EnetIsReliable: true +message ShowClientTutorialNotify { + uint32 tutorial_id = 2; +} diff --git a/gate-hk4e-api/proto/ShowCommonTipsNotify.pb.go b/gate-hk4e-api/proto/ShowCommonTipsNotify.pb.go new file mode 100644 index 00000000..b9b4311e --- /dev/null +++ b/gate-hk4e-api/proto/ShowCommonTipsNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowCommonTipsNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3352 +// EnetChannelId: 0 +// EnetIsReliable: true +type ShowCommonTipsNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` + Title string `protobuf:"bytes,13,opt,name=title,proto3" json:"title,omitempty"` + CloseTime uint32 `protobuf:"varint,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` +} + +func (x *ShowCommonTipsNotify) Reset() { + *x = ShowCommonTipsNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowCommonTipsNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowCommonTipsNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowCommonTipsNotify) ProtoMessage() {} + +func (x *ShowCommonTipsNotify) ProtoReflect() protoreflect.Message { + mi := &file_ShowCommonTipsNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowCommonTipsNotify.ProtoReflect.Descriptor instead. +func (*ShowCommonTipsNotify) Descriptor() ([]byte, []int) { + return file_ShowCommonTipsNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowCommonTipsNotify) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ShowCommonTipsNotify) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *ShowCommonTipsNotify) GetCloseTime() uint32 { + if x != nil { + return x.CloseTime + } + return 0 +} + +var File_ShowCommonTipsNotify_proto protoreflect.FileDescriptor + +var file_ShowCommonTipsNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x69, 0x70, 0x73, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x14, + 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x69, 0x70, 0x73, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, + 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShowCommonTipsNotify_proto_rawDescOnce sync.Once + file_ShowCommonTipsNotify_proto_rawDescData = file_ShowCommonTipsNotify_proto_rawDesc +) + +func file_ShowCommonTipsNotify_proto_rawDescGZIP() []byte { + file_ShowCommonTipsNotify_proto_rawDescOnce.Do(func() { + file_ShowCommonTipsNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowCommonTipsNotify_proto_rawDescData) + }) + return file_ShowCommonTipsNotify_proto_rawDescData +} + +var file_ShowCommonTipsNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowCommonTipsNotify_proto_goTypes = []interface{}{ + (*ShowCommonTipsNotify)(nil), // 0: ShowCommonTipsNotify +} +var file_ShowCommonTipsNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShowCommonTipsNotify_proto_init() } +func file_ShowCommonTipsNotify_proto_init() { + if File_ShowCommonTipsNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShowCommonTipsNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowCommonTipsNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowCommonTipsNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowCommonTipsNotify_proto_goTypes, + DependencyIndexes: file_ShowCommonTipsNotify_proto_depIdxs, + MessageInfos: file_ShowCommonTipsNotify_proto_msgTypes, + }.Build() + File_ShowCommonTipsNotify_proto = out.File + file_ShowCommonTipsNotify_proto_rawDesc = nil + file_ShowCommonTipsNotify_proto_goTypes = nil + file_ShowCommonTipsNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowCommonTipsNotify.proto b/gate-hk4e-api/proto/ShowCommonTipsNotify.proto new file mode 100644 index 00000000..4096876a --- /dev/null +++ b/gate-hk4e-api/proto/ShowCommonTipsNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3352 +// EnetChannelId: 0 +// EnetIsReliable: true +message ShowCommonTipsNotify { + string content = 8; + string title = 13; + uint32 close_time = 4; +} diff --git a/gate-hk4e-api/proto/ShowEquip.pb.go b/gate-hk4e-api/proto/ShowEquip.pb.go new file mode 100644 index 00000000..0acc3756 --- /dev/null +++ b/gate-hk4e-api/proto/ShowEquip.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowEquip.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ShowEquip struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + // Types that are assignable to Detail: + // *ShowEquip_Reliquary + // *ShowEquip_Weapon + Detail isShowEquip_Detail `protobuf_oneof:"detail"` +} + +func (x *ShowEquip) Reset() { + *x = ShowEquip{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowEquip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowEquip) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowEquip) ProtoMessage() {} + +func (x *ShowEquip) ProtoReflect() protoreflect.Message { + mi := &file_ShowEquip_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowEquip.ProtoReflect.Descriptor instead. +func (*ShowEquip) Descriptor() ([]byte, []int) { + return file_ShowEquip_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowEquip) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (m *ShowEquip) GetDetail() isShowEquip_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *ShowEquip) GetReliquary() *Reliquary { + if x, ok := x.GetDetail().(*ShowEquip_Reliquary); ok { + return x.Reliquary + } + return nil +} + +func (x *ShowEquip) GetWeapon() *Weapon { + if x, ok := x.GetDetail().(*ShowEquip_Weapon); ok { + return x.Weapon + } + return nil +} + +type isShowEquip_Detail interface { + isShowEquip_Detail() +} + +type ShowEquip_Reliquary struct { + Reliquary *Reliquary `protobuf:"bytes,2,opt,name=reliquary,proto3,oneof"` +} + +type ShowEquip_Weapon struct { + Weapon *Weapon `protobuf:"bytes,3,opt,name=weapon,proto3,oneof"` +} + +func (*ShowEquip_Reliquary) isShowEquip_Detail() {} + +func (*ShowEquip_Weapon) isShowEquip_Detail() {} + +var File_ShowEquip_proto protoreflect.FileDescriptor + +var file_ShowEquip_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x71, 0x75, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0f, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x7d, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x77, 0x45, 0x71, 0x75, 0x69, 0x70, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, + 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x52, 0x65, 0x6c, 0x69, + 0x71, 0x75, 0x61, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, + 0x72, 0x79, 0x12, 0x21, 0x0a, 0x06, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x77, + 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ShowEquip_proto_rawDescOnce sync.Once + file_ShowEquip_proto_rawDescData = file_ShowEquip_proto_rawDesc +) + +func file_ShowEquip_proto_rawDescGZIP() []byte { + file_ShowEquip_proto_rawDescOnce.Do(func() { + file_ShowEquip_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowEquip_proto_rawDescData) + }) + return file_ShowEquip_proto_rawDescData +} + +var file_ShowEquip_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowEquip_proto_goTypes = []interface{}{ + (*ShowEquip)(nil), // 0: ShowEquip + (*Reliquary)(nil), // 1: Reliquary + (*Weapon)(nil), // 2: Weapon +} +var file_ShowEquip_proto_depIdxs = []int32{ + 1, // 0: ShowEquip.reliquary:type_name -> Reliquary + 2, // 1: ShowEquip.weapon:type_name -> Weapon + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ShowEquip_proto_init() } +func file_ShowEquip_proto_init() { + if File_ShowEquip_proto != nil { + return + } + file_Reliquary_proto_init() + file_Weapon_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShowEquip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowEquip); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_ShowEquip_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ShowEquip_Reliquary)(nil), + (*ShowEquip_Weapon)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowEquip_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowEquip_proto_goTypes, + DependencyIndexes: file_ShowEquip_proto_depIdxs, + MessageInfos: file_ShowEquip_proto_msgTypes, + }.Build() + File_ShowEquip_proto = out.File + file_ShowEquip_proto_rawDesc = nil + file_ShowEquip_proto_goTypes = nil + file_ShowEquip_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowEquip.proto b/gate-hk4e-api/proto/ShowEquip.proto new file mode 100644 index 00000000..edcf388c --- /dev/null +++ b/gate-hk4e-api/proto/ShowEquip.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Reliquary.proto"; +import "Weapon.proto"; + +option go_package = "./;proto"; + +message ShowEquip { + uint32 item_id = 1; + oneof detail { + Reliquary reliquary = 2; + Weapon weapon = 3; + } +} diff --git a/gate-hk4e-api/proto/ShowMessageNotify.pb.go b/gate-hk4e-api/proto/ShowMessageNotify.pb.go new file mode 100644 index 00000000..6e6c4205 --- /dev/null +++ b/gate-hk4e-api/proto/ShowMessageNotify.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowMessageNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 35 +// EnetChannelId: 0 +// EnetIsReliable: true +type ShowMessageNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MsgId SvrMsgId `protobuf:"varint,14,opt,name=msg_id,json=msgId,proto3,enum=SvrMsgId" json:"msg_id,omitempty"` + Params []*MsgParam `protobuf:"bytes,13,rep,name=params,proto3" json:"params,omitempty"` +} + +func (x *ShowMessageNotify) Reset() { + *x = ShowMessageNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowMessageNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowMessageNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowMessageNotify) ProtoMessage() {} + +func (x *ShowMessageNotify) ProtoReflect() protoreflect.Message { + mi := &file_ShowMessageNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowMessageNotify.ProtoReflect.Descriptor instead. +func (*ShowMessageNotify) Descriptor() ([]byte, []int) { + return file_ShowMessageNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowMessageNotify) GetMsgId() SvrMsgId { + if x != nil { + return x.MsgId + } + return SvrMsgId_SVR_MSG_ID_UNKNOWN +} + +func (x *ShowMessageNotify) GetParams() []*MsgParam { + if x != nil { + return x.Params + } + return nil +} + +var File_ShowMessageNotify_proto protoreflect.FileDescriptor + +var file_ShowMessageNotify_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x73, 0x67, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x53, 0x76, 0x72, 0x4d, 0x73, + 0x67, 0x49, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x11, 0x53, 0x68, 0x6f, + 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, + 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, + 0x2e, 0x53, 0x76, 0x72, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x52, 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x09, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShowMessageNotify_proto_rawDescOnce sync.Once + file_ShowMessageNotify_proto_rawDescData = file_ShowMessageNotify_proto_rawDesc +) + +func file_ShowMessageNotify_proto_rawDescGZIP() []byte { + file_ShowMessageNotify_proto_rawDescOnce.Do(func() { + file_ShowMessageNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowMessageNotify_proto_rawDescData) + }) + return file_ShowMessageNotify_proto_rawDescData +} + +var file_ShowMessageNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowMessageNotify_proto_goTypes = []interface{}{ + (*ShowMessageNotify)(nil), // 0: ShowMessageNotify + (SvrMsgId)(0), // 1: SvrMsgId + (*MsgParam)(nil), // 2: MsgParam +} +var file_ShowMessageNotify_proto_depIdxs = []int32{ + 1, // 0: ShowMessageNotify.msg_id:type_name -> SvrMsgId + 2, // 1: ShowMessageNotify.params:type_name -> MsgParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_ShowMessageNotify_proto_init() } +func file_ShowMessageNotify_proto_init() { + if File_ShowMessageNotify_proto != nil { + return + } + file_MsgParam_proto_init() + file_SvrMsgId_proto_init() + if !protoimpl.UnsafeEnabled { + file_ShowMessageNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowMessageNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowMessageNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowMessageNotify_proto_goTypes, + DependencyIndexes: file_ShowMessageNotify_proto_depIdxs, + MessageInfos: file_ShowMessageNotify_proto_msgTypes, + }.Build() + File_ShowMessageNotify_proto = out.File + file_ShowMessageNotify_proto_rawDesc = nil + file_ShowMessageNotify_proto_goTypes = nil + file_ShowMessageNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowMessageNotify.proto b/gate-hk4e-api/proto/ShowMessageNotify.proto new file mode 100644 index 00000000..bea6d3e4 --- /dev/null +++ b/gate-hk4e-api/proto/ShowMessageNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MsgParam.proto"; +import "SvrMsgId.proto"; + +option go_package = "./;proto"; + +// CmdId: 35 +// EnetChannelId: 0 +// EnetIsReliable: true +message ShowMessageNotify { + SvrMsgId msg_id = 14; + repeated MsgParam params = 13; +} diff --git a/gate-hk4e-api/proto/ShowTemplateReminderNotify.pb.go b/gate-hk4e-api/proto/ShowTemplateReminderNotify.pb.go new file mode 100644 index 00000000..dc81bcc3 --- /dev/null +++ b/gate-hk4e-api/proto/ShowTemplateReminderNotify.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ShowTemplateReminderNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3491 +// EnetChannelId: 0 +// EnetIsReliable: true +type ShowTemplateReminderNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamUidList []uint32 `protobuf:"varint,3,rep,packed,name=param_uid_list,json=paramUidList,proto3" json:"param_uid_list,omitempty"` + ParamList []int32 `protobuf:"varint,10,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + TemplateReminderId uint32 `protobuf:"varint,14,opt,name=template_reminder_id,json=templateReminderId,proto3" json:"template_reminder_id,omitempty"` + IsRevoke bool `protobuf:"varint,1,opt,name=is_revoke,json=isRevoke,proto3" json:"is_revoke,omitempty"` +} + +func (x *ShowTemplateReminderNotify) Reset() { + *x = ShowTemplateReminderNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_ShowTemplateReminderNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShowTemplateReminderNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShowTemplateReminderNotify) ProtoMessage() {} + +func (x *ShowTemplateReminderNotify) ProtoReflect() protoreflect.Message { + mi := &file_ShowTemplateReminderNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShowTemplateReminderNotify.ProtoReflect.Descriptor instead. +func (*ShowTemplateReminderNotify) Descriptor() ([]byte, []int) { + return file_ShowTemplateReminderNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *ShowTemplateReminderNotify) GetParamUidList() []uint32 { + if x != nil { + return x.ParamUidList + } + return nil +} + +func (x *ShowTemplateReminderNotify) GetParamList() []int32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *ShowTemplateReminderNotify) GetTemplateReminderId() uint32 { + if x != nil { + return x.TemplateReminderId + } + return 0 +} + +func (x *ShowTemplateReminderNotify) GetIsRevoke() bool { + if x != nil { + return x.IsRevoke + } + return false +} + +var File_ShowTemplateReminderNotify_proto protoreflect.FileDescriptor + +var file_ShowTemplateReminderNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x1a, 0x53, 0x68, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x72, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ShowTemplateReminderNotify_proto_rawDescOnce sync.Once + file_ShowTemplateReminderNotify_proto_rawDescData = file_ShowTemplateReminderNotify_proto_rawDesc +) + +func file_ShowTemplateReminderNotify_proto_rawDescGZIP() []byte { + file_ShowTemplateReminderNotify_proto_rawDescOnce.Do(func() { + file_ShowTemplateReminderNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_ShowTemplateReminderNotify_proto_rawDescData) + }) + return file_ShowTemplateReminderNotify_proto_rawDescData +} + +var file_ShowTemplateReminderNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ShowTemplateReminderNotify_proto_goTypes = []interface{}{ + (*ShowTemplateReminderNotify)(nil), // 0: ShowTemplateReminderNotify +} +var file_ShowTemplateReminderNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_ShowTemplateReminderNotify_proto_init() } +func file_ShowTemplateReminderNotify_proto_init() { + if File_ShowTemplateReminderNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_ShowTemplateReminderNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShowTemplateReminderNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ShowTemplateReminderNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ShowTemplateReminderNotify_proto_goTypes, + DependencyIndexes: file_ShowTemplateReminderNotify_proto_depIdxs, + MessageInfos: file_ShowTemplateReminderNotify_proto_msgTypes, + }.Build() + File_ShowTemplateReminderNotify_proto = out.File + file_ShowTemplateReminderNotify_proto_rawDesc = nil + file_ShowTemplateReminderNotify_proto_goTypes = nil + file_ShowTemplateReminderNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ShowTemplateReminderNotify.proto b/gate-hk4e-api/proto/ShowTemplateReminderNotify.proto new file mode 100644 index 00000000..37ac1bd1 --- /dev/null +++ b/gate-hk4e-api/proto/ShowTemplateReminderNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3491 +// EnetChannelId: 0 +// EnetIsReliable: true +message ShowTemplateReminderNotify { + repeated uint32 param_uid_list = 3; + repeated int32 param_list = 10; + uint32 template_reminder_id = 14; + bool is_revoke = 1; +} diff --git a/gate-hk4e-api/proto/SignInInfo.pb.go b/gate-hk4e-api/proto/SignInInfo.pb.go new file mode 100644 index 00000000..82bfa8fa --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfo.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SignInInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SignInInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsCondSatisfied bool `protobuf:"varint,7,opt,name=is_cond_satisfied,json=isCondSatisfied,proto3" json:"is_cond_satisfied,omitempty"` + RewardDayList []uint32 `protobuf:"varint,15,rep,packed,name=reward_day_list,json=rewardDayList,proto3" json:"reward_day_list,omitempty"` + Unk2700_HBMMIEOFIEI []*Unk2700_HENCIJOPCIF `protobuf:"bytes,12,rep,name=Unk2700_HBMMIEOFIEI,json=Unk2700HBMMIEOFIEI,proto3" json:"Unk2700_HBMMIEOFIEI,omitempty"` + ConfigId uint32 `protobuf:"varint,8,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + SignInCount uint32 `protobuf:"varint,2,opt,name=sign_in_count,json=signInCount,proto3" json:"sign_in_count,omitempty"` + ScheduleId uint32 `protobuf:"varint,3,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + EndTime uint32 `protobuf:"varint,13,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + LastSignInTime uint32 `protobuf:"varint,6,opt,name=last_sign_in_time,json=lastSignInTime,proto3" json:"last_sign_in_time,omitempty"` + BeginTime uint32 `protobuf:"varint,5,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"` +} + +func (x *SignInInfo) Reset() { + *x = SignInInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SignInInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignInInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignInInfo) ProtoMessage() {} + +func (x *SignInInfo) ProtoReflect() protoreflect.Message { + mi := &file_SignInInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SignInInfo.ProtoReflect.Descriptor instead. +func (*SignInInfo) Descriptor() ([]byte, []int) { + return file_SignInInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SignInInfo) GetIsCondSatisfied() bool { + if x != nil { + return x.IsCondSatisfied + } + return false +} + +func (x *SignInInfo) GetRewardDayList() []uint32 { + if x != nil { + return x.RewardDayList + } + return nil +} + +func (x *SignInInfo) GetUnk2700_HBMMIEOFIEI() []*Unk2700_HENCIJOPCIF { + if x != nil { + return x.Unk2700_HBMMIEOFIEI + } + return nil +} + +func (x *SignInInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *SignInInfo) GetSignInCount() uint32 { + if x != nil { + return x.SignInCount + } + return 0 +} + +func (x *SignInInfo) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SignInInfo) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *SignInInfo) GetLastSignInTime() uint32 { + if x != nil { + return x.LastSignInTime + } + return 0 +} + +func (x *SignInInfo) GetBeginTime() uint32 { + if x != nil { + return x.BeginTime + } + return 0 +} + +var File_SignInInfo_proto protoreflect.FileDescriptor + +var file_SignInInfo_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4e, 0x43, + 0x49, 0x4a, 0x4f, 0x50, 0x43, 0x49, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x02, + 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x53, + 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x42, 0x4d, 0x4d, + 0x49, 0x45, 0x4f, 0x46, 0x49, 0x45, 0x49, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4e, 0x43, 0x49, 0x4a, 0x4f, 0x50, + 0x43, 0x49, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x42, 0x4d, 0x4d, + 0x49, 0x45, 0x4f, 0x46, 0x49, 0x45, 0x49, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x69, 0x67, + 0x6e, 0x49, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x69, 0x67, + 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SignInInfo_proto_rawDescOnce sync.Once + file_SignInInfo_proto_rawDescData = file_SignInInfo_proto_rawDesc +) + +func file_SignInInfo_proto_rawDescGZIP() []byte { + file_SignInInfo_proto_rawDescOnce.Do(func() { + file_SignInInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SignInInfo_proto_rawDescData) + }) + return file_SignInInfo_proto_rawDescData +} + +var file_SignInInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SignInInfo_proto_goTypes = []interface{}{ + (*SignInInfo)(nil), // 0: SignInInfo + (*Unk2700_HENCIJOPCIF)(nil), // 1: Unk2700_HENCIJOPCIF +} +var file_SignInInfo_proto_depIdxs = []int32{ + 1, // 0: SignInInfo.Unk2700_HBMMIEOFIEI:type_name -> Unk2700_HENCIJOPCIF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SignInInfo_proto_init() } +func file_SignInInfo_proto_init() { + if File_SignInInfo_proto != nil { + return + } + file_Unk2700_HENCIJOPCIF_proto_init() + if !protoimpl.UnsafeEnabled { + file_SignInInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignInInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SignInInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SignInInfo_proto_goTypes, + DependencyIndexes: file_SignInInfo_proto_depIdxs, + MessageInfos: file_SignInInfo_proto_msgTypes, + }.Build() + File_SignInInfo_proto = out.File + file_SignInInfo_proto_rawDesc = nil + file_SignInInfo_proto_goTypes = nil + file_SignInInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SignInInfo.proto b/gate-hk4e-api/proto/SignInInfo.proto new file mode 100644 index 00000000..1b466c5a --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HENCIJOPCIF.proto"; + +option go_package = "./;proto"; + +message SignInInfo { + bool is_cond_satisfied = 7; + repeated uint32 reward_day_list = 15; + repeated Unk2700_HENCIJOPCIF Unk2700_HBMMIEOFIEI = 12; + uint32 config_id = 8; + uint32 sign_in_count = 2; + uint32 schedule_id = 3; + uint32 end_time = 13; + uint32 last_sign_in_time = 6; + uint32 begin_time = 5; +} diff --git a/gate-hk4e-api/proto/SignInInfoReq.pb.go b/gate-hk4e-api/proto/SignInInfoReq.pb.go new file mode 100644 index 00000000..98fee08c --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfoReq.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SignInInfoReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2512 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SignInInfoReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SignInInfoReq) Reset() { + *x = SignInInfoReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SignInInfoReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignInInfoReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignInInfoReq) ProtoMessage() {} + +func (x *SignInInfoReq) ProtoReflect() protoreflect.Message { + mi := &file_SignInInfoReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SignInInfoReq.ProtoReflect.Descriptor instead. +func (*SignInInfoReq) Descriptor() ([]byte, []int) { + return file_SignInInfoReq_proto_rawDescGZIP(), []int{0} +} + +var File_SignInInfoReq_proto protoreflect.FileDescriptor + +var file_SignInInfoReq_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SignInInfoReq_proto_rawDescOnce sync.Once + file_SignInInfoReq_proto_rawDescData = file_SignInInfoReq_proto_rawDesc +) + +func file_SignInInfoReq_proto_rawDescGZIP() []byte { + file_SignInInfoReq_proto_rawDescOnce.Do(func() { + file_SignInInfoReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SignInInfoReq_proto_rawDescData) + }) + return file_SignInInfoReq_proto_rawDescData +} + +var file_SignInInfoReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SignInInfoReq_proto_goTypes = []interface{}{ + (*SignInInfoReq)(nil), // 0: SignInInfoReq +} +var file_SignInInfoReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SignInInfoReq_proto_init() } +func file_SignInInfoReq_proto_init() { + if File_SignInInfoReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SignInInfoReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignInInfoReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SignInInfoReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SignInInfoReq_proto_goTypes, + DependencyIndexes: file_SignInInfoReq_proto_depIdxs, + MessageInfos: file_SignInInfoReq_proto_msgTypes, + }.Build() + File_SignInInfoReq_proto = out.File + file_SignInInfoReq_proto_rawDesc = nil + file_SignInInfoReq_proto_goTypes = nil + file_SignInInfoReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SignInInfoReq.proto b/gate-hk4e-api/proto/SignInInfoReq.proto new file mode 100644 index 00000000..9a8453b1 --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfoReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2512 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SignInInfoReq {} diff --git a/gate-hk4e-api/proto/SignInInfoRsp.pb.go b/gate-hk4e-api/proto/SignInInfoRsp.pb.go new file mode 100644 index 00000000..65475138 --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfoRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SignInInfoRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2535 +// EnetChannelId: 0 +// EnetIsReliable: true +type SignInInfoRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignInInfoList []*SignInInfo `protobuf:"bytes,1,rep,name=sign_in_info_list,json=signInInfoList,proto3" json:"sign_in_info_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SignInInfoRsp) Reset() { + *x = SignInInfoRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SignInInfoRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignInInfoRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignInInfoRsp) ProtoMessage() {} + +func (x *SignInInfoRsp) ProtoReflect() protoreflect.Message { + mi := &file_SignInInfoRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SignInInfoRsp.ProtoReflect.Descriptor instead. +func (*SignInInfoRsp) Descriptor() ([]byte, []int) { + return file_SignInInfoRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SignInInfoRsp) GetSignInInfoList() []*SignInInfo { + if x != nil { + return x.SignInInfoList + } + return nil +} + +func (x *SignInInfoRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SignInInfoRsp_proto protoreflect.FileDescriptor + +var file_SignInInfoRsp_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x49, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, + 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SignInInfoRsp_proto_rawDescOnce sync.Once + file_SignInInfoRsp_proto_rawDescData = file_SignInInfoRsp_proto_rawDesc +) + +func file_SignInInfoRsp_proto_rawDescGZIP() []byte { + file_SignInInfoRsp_proto_rawDescOnce.Do(func() { + file_SignInInfoRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SignInInfoRsp_proto_rawDescData) + }) + return file_SignInInfoRsp_proto_rawDescData +} + +var file_SignInInfoRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SignInInfoRsp_proto_goTypes = []interface{}{ + (*SignInInfoRsp)(nil), // 0: SignInInfoRsp + (*SignInInfo)(nil), // 1: SignInInfo +} +var file_SignInInfoRsp_proto_depIdxs = []int32{ + 1, // 0: SignInInfoRsp.sign_in_info_list:type_name -> SignInInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SignInInfoRsp_proto_init() } +func file_SignInInfoRsp_proto_init() { + if File_SignInInfoRsp_proto != nil { + return + } + file_SignInInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SignInInfoRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignInInfoRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SignInInfoRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SignInInfoRsp_proto_goTypes, + DependencyIndexes: file_SignInInfoRsp_proto_depIdxs, + MessageInfos: file_SignInInfoRsp_proto_msgTypes, + }.Build() + File_SignInInfoRsp_proto = out.File + file_SignInInfoRsp_proto_rawDesc = nil + file_SignInInfoRsp_proto_goTypes = nil + file_SignInInfoRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SignInInfoRsp.proto b/gate-hk4e-api/proto/SignInInfoRsp.proto new file mode 100644 index 00000000..7c4a4f7c --- /dev/null +++ b/gate-hk4e-api/proto/SignInInfoRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SignInInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2535 +// EnetChannelId: 0 +// EnetIsReliable: true +message SignInInfoRsp { + repeated SignInInfo sign_in_info_list = 1; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/SkillRequest.pb.go b/gate-hk4e-api/proto/SkillRequest.pb.go new file mode 100644 index 00000000..48c14a8b --- /dev/null +++ b/gate-hk4e-api/proto/SkillRequest.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SkillRequest.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SkillRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillDepotId uint32 `protobuf:"varint,1,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` +} + +func (x *SkillRequest) Reset() { + *x = SkillRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_SkillRequest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SkillRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SkillRequest) ProtoMessage() {} + +func (x *SkillRequest) ProtoReflect() protoreflect.Message { + mi := &file_SkillRequest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SkillRequest.ProtoReflect.Descriptor instead. +func (*SkillRequest) Descriptor() ([]byte, []int) { + return file_SkillRequest_proto_rawDescGZIP(), []int{0} +} + +func (x *SkillRequest) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +var File_SkillRequest_proto protoreflect.FileDescriptor + +var file_SkillRequest_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x0c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x64, 0x65, + 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SkillRequest_proto_rawDescOnce sync.Once + file_SkillRequest_proto_rawDescData = file_SkillRequest_proto_rawDesc +) + +func file_SkillRequest_proto_rawDescGZIP() []byte { + file_SkillRequest_proto_rawDescOnce.Do(func() { + file_SkillRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_SkillRequest_proto_rawDescData) + }) + return file_SkillRequest_proto_rawDescData +} + +var file_SkillRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SkillRequest_proto_goTypes = []interface{}{ + (*SkillRequest)(nil), // 0: SkillRequest +} +var file_SkillRequest_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SkillRequest_proto_init() } +func file_SkillRequest_proto_init() { + if File_SkillRequest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SkillRequest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SkillRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SkillRequest_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SkillRequest_proto_goTypes, + DependencyIndexes: file_SkillRequest_proto_depIdxs, + MessageInfos: file_SkillRequest_proto_msgTypes, + }.Build() + File_SkillRequest_proto = out.File + file_SkillRequest_proto_rawDesc = nil + file_SkillRequest_proto_goTypes = nil + file_SkillRequest_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SkillRequest.proto b/gate-hk4e-api/proto/SkillRequest.proto new file mode 100644 index 00000000..3b7c1741 --- /dev/null +++ b/gate-hk4e-api/proto/SkillRequest.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SkillRequest { + uint32 skill_depot_id = 1; +} diff --git a/gate-hk4e-api/proto/SkillResponse.pb.go b/gate-hk4e-api/proto/SkillResponse.pb.go new file mode 100644 index 00000000..3f3e81d9 --- /dev/null +++ b/gate-hk4e-api/proto/SkillResponse.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SkillResponse.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SkillResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillDepotId uint32 `protobuf:"varint,13,opt,name=skill_depot_id,json=skillDepotId,proto3" json:"skill_depot_id,omitempty"` + SkillIdList []uint32 `protobuf:"varint,9,rep,packed,name=skill_id_list,json=skillIdList,proto3" json:"skill_id_list,omitempty"` +} + +func (x *SkillResponse) Reset() { + *x = SkillResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_SkillResponse_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SkillResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SkillResponse) ProtoMessage() {} + +func (x *SkillResponse) ProtoReflect() protoreflect.Message { + mi := &file_SkillResponse_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SkillResponse.ProtoReflect.Descriptor instead. +func (*SkillResponse) Descriptor() ([]byte, []int) { + return file_SkillResponse_proto_rawDescGZIP(), []int{0} +} + +func (x *SkillResponse) GetSkillDepotId() uint32 { + if x != nil { + return x.SkillDepotId + } + return 0 +} + +func (x *SkillResponse) GetSkillIdList() []uint32 { + if x != nil { + return x.SkillIdList + } + return nil +} + +var File_SkillResponse_proto protoreflect.FileDescriptor + +var file_SkillResponse_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x0d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, + 0x64, 0x65, 0x70, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SkillResponse_proto_rawDescOnce sync.Once + file_SkillResponse_proto_rawDescData = file_SkillResponse_proto_rawDesc +) + +func file_SkillResponse_proto_rawDescGZIP() []byte { + file_SkillResponse_proto_rawDescOnce.Do(func() { + file_SkillResponse_proto_rawDescData = protoimpl.X.CompressGZIP(file_SkillResponse_proto_rawDescData) + }) + return file_SkillResponse_proto_rawDescData +} + +var file_SkillResponse_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SkillResponse_proto_goTypes = []interface{}{ + (*SkillResponse)(nil), // 0: SkillResponse +} +var file_SkillResponse_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SkillResponse_proto_init() } +func file_SkillResponse_proto_init() { + if File_SkillResponse_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SkillResponse_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SkillResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SkillResponse_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SkillResponse_proto_goTypes, + DependencyIndexes: file_SkillResponse_proto_depIdxs, + MessageInfos: file_SkillResponse_proto_msgTypes, + }.Build() + File_SkillResponse_proto = out.File + file_SkillResponse_proto_rawDesc = nil + file_SkillResponse_proto_goTypes = nil + file_SkillResponse_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SkillResponse.proto b/gate-hk4e-api/proto/SkillResponse.proto new file mode 100644 index 00000000..e5ab5e48 --- /dev/null +++ b/gate-hk4e-api/proto/SkillResponse.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SkillResponse { + uint32 skill_depot_id = 13; + repeated uint32 skill_id_list = 9; +} diff --git a/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.pb.go b/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.pb.go new file mode 100644 index 00000000..5b306efa --- /dev/null +++ b/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SkyCrystalDetectorQuickUseResult.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SkyCrystalDetectorQuickUseResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_COIELIGEACL *Unk2700_CCEOEOHLAPK `protobuf:"bytes,9,opt,name=Unk2700_COIELIGEACL,json=Unk2700COIELIGEACL,proto3" json:"Unk2700_COIELIGEACL,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SkyCrystalDetectorQuickUseResult) Reset() { + *x = SkyCrystalDetectorQuickUseResult{} + if protoimpl.UnsafeEnabled { + mi := &file_SkyCrystalDetectorQuickUseResult_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SkyCrystalDetectorQuickUseResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SkyCrystalDetectorQuickUseResult) ProtoMessage() {} + +func (x *SkyCrystalDetectorQuickUseResult) ProtoReflect() protoreflect.Message { + mi := &file_SkyCrystalDetectorQuickUseResult_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SkyCrystalDetectorQuickUseResult.ProtoReflect.Descriptor instead. +func (*SkyCrystalDetectorQuickUseResult) Descriptor() ([]byte, []int) { + return file_SkyCrystalDetectorQuickUseResult_proto_rawDescGZIP(), []int{0} +} + +func (x *SkyCrystalDetectorQuickUseResult) GetUnk2700_COIELIGEACL() *Unk2700_CCEOEOHLAPK { + if x != nil { + return x.Unk2700_COIELIGEACL + } + return nil +} + +func (x *SkyCrystalDetectorQuickUseResult) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SkyCrystalDetectorQuickUseResult_proto protoreflect.FileDescriptor + +var file_SkyCrystalDetectorQuickUseResult_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x6b, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, 0x50, 0x4b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x20, 0x53, 0x6b, 0x79, 0x43, 0x72, 0x79, 0x73, 0x74, + 0x61, 0x6c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x55, + 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x49, 0x45, 0x4c, 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, 0x50, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x49, 0x45, 0x4c, 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SkyCrystalDetectorQuickUseResult_proto_rawDescOnce sync.Once + file_SkyCrystalDetectorQuickUseResult_proto_rawDescData = file_SkyCrystalDetectorQuickUseResult_proto_rawDesc +) + +func file_SkyCrystalDetectorQuickUseResult_proto_rawDescGZIP() []byte { + file_SkyCrystalDetectorQuickUseResult_proto_rawDescOnce.Do(func() { + file_SkyCrystalDetectorQuickUseResult_proto_rawDescData = protoimpl.X.CompressGZIP(file_SkyCrystalDetectorQuickUseResult_proto_rawDescData) + }) + return file_SkyCrystalDetectorQuickUseResult_proto_rawDescData +} + +var file_SkyCrystalDetectorQuickUseResult_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SkyCrystalDetectorQuickUseResult_proto_goTypes = []interface{}{ + (*SkyCrystalDetectorQuickUseResult)(nil), // 0: SkyCrystalDetectorQuickUseResult + (*Unk2700_CCEOEOHLAPK)(nil), // 1: Unk2700_CCEOEOHLAPK +} +var file_SkyCrystalDetectorQuickUseResult_proto_depIdxs = []int32{ + 1, // 0: SkyCrystalDetectorQuickUseResult.Unk2700_COIELIGEACL:type_name -> Unk2700_CCEOEOHLAPK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SkyCrystalDetectorQuickUseResult_proto_init() } +func file_SkyCrystalDetectorQuickUseResult_proto_init() { + if File_SkyCrystalDetectorQuickUseResult_proto != nil { + return + } + file_Unk2700_CCEOEOHLAPK_proto_init() + if !protoimpl.UnsafeEnabled { + file_SkyCrystalDetectorQuickUseResult_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SkyCrystalDetectorQuickUseResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SkyCrystalDetectorQuickUseResult_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SkyCrystalDetectorQuickUseResult_proto_goTypes, + DependencyIndexes: file_SkyCrystalDetectorQuickUseResult_proto_depIdxs, + MessageInfos: file_SkyCrystalDetectorQuickUseResult_proto_msgTypes, + }.Build() + File_SkyCrystalDetectorQuickUseResult_proto = out.File + file_SkyCrystalDetectorQuickUseResult_proto_rawDesc = nil + file_SkyCrystalDetectorQuickUseResult_proto_goTypes = nil + file_SkyCrystalDetectorQuickUseResult_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.proto b/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.proto new file mode 100644 index 00000000..dd7e5f44 --- /dev/null +++ b/gate-hk4e-api/proto/SkyCrystalDetectorQuickUseResult.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CCEOEOHLAPK.proto"; + +option go_package = "./;proto"; + +message SkyCrystalDetectorQuickUseResult { + Unk2700_CCEOEOHLAPK Unk2700_COIELIGEACL = 9; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/SocialDataNotify.pb.go b/gate-hk4e-api/proto/SocialDataNotify.pb.go new file mode 100644 index 00000000..83725e5a --- /dev/null +++ b/gate-hk4e-api/proto/SocialDataNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SocialDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4043 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SocialDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsHaveFirstShare bool `protobuf:"varint,11,opt,name=is_have_first_share,json=isHaveFirstShare,proto3" json:"is_have_first_share,omitempty"` +} + +func (x *SocialDataNotify) Reset() { + *x = SocialDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SocialDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SocialDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SocialDataNotify) ProtoMessage() {} + +func (x *SocialDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_SocialDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SocialDataNotify.ProtoReflect.Descriptor instead. +func (*SocialDataNotify) Descriptor() ([]byte, []int) { + return file_SocialDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SocialDataNotify) GetIsHaveFirstShare() bool { + if x != nil { + return x.IsHaveFirstShare + } + return false +} + +var File_SocialDataNotify_proto protoreflect.FileDescriptor + +var file_SocialDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x10, 0x53, 0x6f, 0x63, 0x69, + 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2d, 0x0a, 0x13, + 0x69, 0x73, 0x5f, 0x68, 0x61, 0x76, 0x65, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x48, 0x61, 0x76, + 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SocialDataNotify_proto_rawDescOnce sync.Once + file_SocialDataNotify_proto_rawDescData = file_SocialDataNotify_proto_rawDesc +) + +func file_SocialDataNotify_proto_rawDescGZIP() []byte { + file_SocialDataNotify_proto_rawDescOnce.Do(func() { + file_SocialDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SocialDataNotify_proto_rawDescData) + }) + return file_SocialDataNotify_proto_rawDescData +} + +var file_SocialDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SocialDataNotify_proto_goTypes = []interface{}{ + (*SocialDataNotify)(nil), // 0: SocialDataNotify +} +var file_SocialDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SocialDataNotify_proto_init() } +func file_SocialDataNotify_proto_init() { + if File_SocialDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SocialDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SocialDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SocialDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SocialDataNotify_proto_goTypes, + DependencyIndexes: file_SocialDataNotify_proto_depIdxs, + MessageInfos: file_SocialDataNotify_proto_msgTypes, + }.Build() + File_SocialDataNotify_proto = out.File + file_SocialDataNotify_proto_rawDesc = nil + file_SocialDataNotify_proto_goTypes = nil + file_SocialDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SocialDataNotify.proto b/gate-hk4e-api/proto/SocialDataNotify.proto new file mode 100644 index 00000000..1f05ba15 --- /dev/null +++ b/gate-hk4e-api/proto/SocialDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4043 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SocialDataNotify { + bool is_have_first_share = 11; +} diff --git a/gate-hk4e-api/proto/SocialDetail.pb.go b/gate-hk4e-api/proto/SocialDetail.pb.go new file mode 100644 index 00000000..5c299ded --- /dev/null +++ b/gate-hk4e-api/proto/SocialDetail.pb.go @@ -0,0 +1,434 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SocialDetail.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SocialDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` + Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` + AvatarId uint32 `protobuf:"varint,4,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + Birthday *Birthday `protobuf:"bytes,6,opt,name=birthday,proto3" json:"birthday,omitempty"` + WorldLevel uint32 `protobuf:"varint,7,opt,name=world_level,json=worldLevel,proto3" json:"world_level,omitempty"` + ReservedList []uint32 `protobuf:"varint,8,rep,packed,name=reserved_list,json=reservedList,proto3" json:"reserved_list,omitempty"` + OnlineState FriendOnlineState `protobuf:"varint,9,opt,name=online_state,json=onlineState,proto3,enum=FriendOnlineState" json:"online_state,omitempty"` + Param uint32 `protobuf:"varint,10,opt,name=param,proto3" json:"param,omitempty"` + IsFriend bool `protobuf:"varint,11,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"` + IsMpModeAvailable bool `protobuf:"varint,12,opt,name=is_mp_mode_available,json=isMpModeAvailable,proto3" json:"is_mp_mode_available,omitempty"` + OnlineId string `protobuf:"bytes,13,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + NameCardId uint32 `protobuf:"varint,14,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` + IsInBlacklist bool `protobuf:"varint,15,opt,name=is_in_blacklist,json=isInBlacklist,proto3" json:"is_in_blacklist,omitempty"` + IsChatNoDisturb bool `protobuf:"varint,16,opt,name=is_chat_no_disturb,json=isChatNoDisturb,proto3" json:"is_chat_no_disturb,omitempty"` + RemarkName string `protobuf:"bytes,17,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + FinishAchievementNum uint32 `protobuf:"varint,18,opt,name=finish_achievement_num,json=finishAchievementNum,proto3" json:"finish_achievement_num,omitempty"` + TowerFloorIndex uint32 `protobuf:"varint,19,opt,name=tower_floor_index,json=towerFloorIndex,proto3" json:"tower_floor_index,omitempty"` + TowerLevelIndex uint32 `protobuf:"varint,20,opt,name=tower_level_index,json=towerLevelIndex,proto3" json:"tower_level_index,omitempty"` + IsShowAvatar bool `protobuf:"varint,21,opt,name=is_show_avatar,json=isShowAvatar,proto3" json:"is_show_avatar,omitempty"` + ShowAvatarInfoList []*SocialShowAvatarInfo `protobuf:"bytes,22,rep,name=show_avatar_info_list,json=showAvatarInfoList,proto3" json:"show_avatar_info_list,omitempty"` + ShowNameCardIdList []uint32 `protobuf:"varint,23,rep,packed,name=show_name_card_id_list,json=showNameCardIdList,proto3" json:"show_name_card_id_list,omitempty"` + FriendEnterHomeOption FriendEnterHomeOption `protobuf:"varint,24,opt,name=friend_enter_home_option,json=friendEnterHomeOption,proto3,enum=FriendEnterHomeOption" json:"friend_enter_home_option,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,25,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` +} + +func (x *SocialDetail) Reset() { + *x = SocialDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_SocialDetail_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SocialDetail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SocialDetail) ProtoMessage() {} + +func (x *SocialDetail) ProtoReflect() protoreflect.Message { + mi := &file_SocialDetail_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SocialDetail.ProtoReflect.Descriptor instead. +func (*SocialDetail) Descriptor() ([]byte, []int) { + return file_SocialDetail_proto_rawDescGZIP(), []int{0} +} + +func (x *SocialDetail) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *SocialDetail) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *SocialDetail) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *SocialDetail) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *SocialDetail) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +func (x *SocialDetail) GetBirthday() *Birthday { + if x != nil { + return x.Birthday + } + return nil +} + +func (x *SocialDetail) GetWorldLevel() uint32 { + if x != nil { + return x.WorldLevel + } + return 0 +} + +func (x *SocialDetail) GetReservedList() []uint32 { + if x != nil { + return x.ReservedList + } + return nil +} + +func (x *SocialDetail) GetOnlineState() FriendOnlineState { + if x != nil { + return x.OnlineState + } + return FriendOnlineState_FRIEND_ONLINE_STATE_FREIEND_DISCONNECT +} + +func (x *SocialDetail) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *SocialDetail) GetIsFriend() bool { + if x != nil { + return x.IsFriend + } + return false +} + +func (x *SocialDetail) GetIsMpModeAvailable() bool { + if x != nil { + return x.IsMpModeAvailable + } + return false +} + +func (x *SocialDetail) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *SocialDetail) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +func (x *SocialDetail) GetIsInBlacklist() bool { + if x != nil { + return x.IsInBlacklist + } + return false +} + +func (x *SocialDetail) GetIsChatNoDisturb() bool { + if x != nil { + return x.IsChatNoDisturb + } + return false +} + +func (x *SocialDetail) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *SocialDetail) GetFinishAchievementNum() uint32 { + if x != nil { + return x.FinishAchievementNum + } + return 0 +} + +func (x *SocialDetail) GetTowerFloorIndex() uint32 { + if x != nil { + return x.TowerFloorIndex + } + return 0 +} + +func (x *SocialDetail) GetTowerLevelIndex() uint32 { + if x != nil { + return x.TowerLevelIndex + } + return 0 +} + +func (x *SocialDetail) GetIsShowAvatar() bool { + if x != nil { + return x.IsShowAvatar + } + return false +} + +func (x *SocialDetail) GetShowAvatarInfoList() []*SocialShowAvatarInfo { + if x != nil { + return x.ShowAvatarInfoList + } + return nil +} + +func (x *SocialDetail) GetShowNameCardIdList() []uint32 { + if x != nil { + return x.ShowNameCardIdList + } + return nil +} + +func (x *SocialDetail) GetFriendEnterHomeOption() FriendEnterHomeOption { + if x != nil { + return x.FriendEnterHomeOption + } + return FriendEnterHomeOption_FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM +} + +func (x *SocialDetail) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +var File_SocialDetail_proto protoreflect.FileDescriptor + +var file_SocialDetail_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x08, 0x0a, + 0x0c, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x25, 0x0a, 0x08, + 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, + 0x2e, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, + 0x64, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0c, 0x6f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x12, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72, 0x69, + 0x65, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x6d, 0x70, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x69, 0x73, 0x4d, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x61, + 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x49, 0x6e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x69, + 0x73, 0x5f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x6e, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x75, 0x72, + 0x62, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x68, 0x61, 0x74, 0x4e, + 0x6f, 0x44, 0x69, 0x73, 0x74, 0x75, 0x72, 0x62, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, + 0x72, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, + 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x5f, 0x61, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x12, + 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x6f, 0x77, 0x65, + 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x11, 0x74, + 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x73, 0x68, + 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x48, 0x0a, + 0x15, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, + 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x16, 0x73, 0x68, 0x6f, 0x77, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, + 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x18, 0x66, + 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x6d, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x45, 0x6e, 0x74, + 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0f, + 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SocialDetail_proto_rawDescOnce sync.Once + file_SocialDetail_proto_rawDescData = file_SocialDetail_proto_rawDesc +) + +func file_SocialDetail_proto_rawDescGZIP() []byte { + file_SocialDetail_proto_rawDescOnce.Do(func() { + file_SocialDetail_proto_rawDescData = protoimpl.X.CompressGZIP(file_SocialDetail_proto_rawDescData) + }) + return file_SocialDetail_proto_rawDescData +} + +var file_SocialDetail_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SocialDetail_proto_goTypes = []interface{}{ + (*SocialDetail)(nil), // 0: SocialDetail + (*Birthday)(nil), // 1: Birthday + (FriendOnlineState)(0), // 2: FriendOnlineState + (*SocialShowAvatarInfo)(nil), // 3: SocialShowAvatarInfo + (FriendEnterHomeOption)(0), // 4: FriendEnterHomeOption + (*ProfilePicture)(nil), // 5: ProfilePicture +} +var file_SocialDetail_proto_depIdxs = []int32{ + 1, // 0: SocialDetail.birthday:type_name -> Birthday + 2, // 1: SocialDetail.online_state:type_name -> FriendOnlineState + 3, // 2: SocialDetail.show_avatar_info_list:type_name -> SocialShowAvatarInfo + 4, // 3: SocialDetail.friend_enter_home_option:type_name -> FriendEnterHomeOption + 5, // 4: SocialDetail.profile_picture:type_name -> ProfilePicture + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_SocialDetail_proto_init() } +func file_SocialDetail_proto_init() { + if File_SocialDetail_proto != nil { + return + } + file_Birthday_proto_init() + file_FriendEnterHomeOption_proto_init() + file_FriendOnlineState_proto_init() + file_ProfilePicture_proto_init() + file_SocialShowAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SocialDetail_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SocialDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SocialDetail_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SocialDetail_proto_goTypes, + DependencyIndexes: file_SocialDetail_proto_depIdxs, + MessageInfos: file_SocialDetail_proto_msgTypes, + }.Build() + File_SocialDetail_proto = out.File + file_SocialDetail_proto_rawDesc = nil + file_SocialDetail_proto_goTypes = nil + file_SocialDetail_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SocialDetail.proto b/gate-hk4e-api/proto/SocialDetail.proto new file mode 100644 index 00000000..9205ae8a --- /dev/null +++ b/gate-hk4e-api/proto/SocialDetail.proto @@ -0,0 +1,53 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Birthday.proto"; +import "FriendEnterHomeOption.proto"; +import "FriendOnlineState.proto"; +import "ProfilePicture.proto"; +import "SocialShowAvatarInfo.proto"; + +option go_package = "./;proto"; + +message SocialDetail { + uint32 uid = 1; + string nickname = 2; + uint32 level = 3; + uint32 avatar_id = 4; + string signature = 5; + Birthday birthday = 6; + uint32 world_level = 7; + repeated uint32 reserved_list = 8; + FriendOnlineState online_state = 9; + uint32 param = 10; + bool is_friend = 11; + bool is_mp_mode_available = 12; + string online_id = 13; + uint32 name_card_id = 14; + bool is_in_blacklist = 15; + bool is_chat_no_disturb = 16; + string remark_name = 17; + uint32 finish_achievement_num = 18; + uint32 tower_floor_index = 19; + uint32 tower_level_index = 20; + bool is_show_avatar = 21; + repeated SocialShowAvatarInfo show_avatar_info_list = 22; + repeated uint32 show_name_card_id_list = 23; + FriendEnterHomeOption friend_enter_home_option = 24; + ProfilePicture profile_picture = 25; +} diff --git a/gate-hk4e-api/proto/SocialShowAvatarInfo.pb.go b/gate-hk4e-api/proto/SocialShowAvatarInfo.pb.go new file mode 100644 index 00000000..72413d37 --- /dev/null +++ b/gate-hk4e-api/proto/SocialShowAvatarInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SocialShowAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SocialShowAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` + CostumeId uint32 `protobuf:"varint,3,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *SocialShowAvatarInfo) Reset() { + *x = SocialShowAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SocialShowAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SocialShowAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SocialShowAvatarInfo) ProtoMessage() {} + +func (x *SocialShowAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_SocialShowAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SocialShowAvatarInfo.ProtoReflect.Descriptor instead. +func (*SocialShowAvatarInfo) Descriptor() ([]byte, []int) { + return file_SocialShowAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SocialShowAvatarInfo) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *SocialShowAvatarInfo) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *SocialShowAvatarInfo) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_SocialShowAvatarInfo_proto protoreflect.FileDescriptor + +var file_SocialShowAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x14, + 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x75, + 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x73, + 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SocialShowAvatarInfo_proto_rawDescOnce sync.Once + file_SocialShowAvatarInfo_proto_rawDescData = file_SocialShowAvatarInfo_proto_rawDesc +) + +func file_SocialShowAvatarInfo_proto_rawDescGZIP() []byte { + file_SocialShowAvatarInfo_proto_rawDescOnce.Do(func() { + file_SocialShowAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SocialShowAvatarInfo_proto_rawDescData) + }) + return file_SocialShowAvatarInfo_proto_rawDescData +} + +var file_SocialShowAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SocialShowAvatarInfo_proto_goTypes = []interface{}{ + (*SocialShowAvatarInfo)(nil), // 0: SocialShowAvatarInfo +} +var file_SocialShowAvatarInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SocialShowAvatarInfo_proto_init() } +func file_SocialShowAvatarInfo_proto_init() { + if File_SocialShowAvatarInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SocialShowAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SocialShowAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SocialShowAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SocialShowAvatarInfo_proto_goTypes, + DependencyIndexes: file_SocialShowAvatarInfo_proto_depIdxs, + MessageInfos: file_SocialShowAvatarInfo_proto_msgTypes, + }.Build() + File_SocialShowAvatarInfo_proto = out.File + file_SocialShowAvatarInfo_proto_rawDesc = nil + file_SocialShowAvatarInfo_proto_goTypes = nil + file_SocialShowAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SocialShowAvatarInfo.proto b/gate-hk4e-api/proto/SocialShowAvatarInfo.proto new file mode 100644 index 00000000..ee1ae272 --- /dev/null +++ b/gate-hk4e-api/proto/SocialShowAvatarInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SocialShowAvatarInfo { + uint32 avatar_id = 1; + uint32 level = 2; + uint32 costume_id = 3; +} diff --git a/gate-hk4e-api/proto/SpiceActivityDetailInfo.pb.go b/gate-hk4e-api/proto/SpiceActivityDetailInfo.pb.go new file mode 100644 index 00000000..eb5be521 --- /dev/null +++ b/gate-hk4e-api/proto/SpiceActivityDetailInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SpiceActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SpiceActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IGMHNDNGNPG uint32 `protobuf:"varint,15,opt,name=Unk2700_IGMHNDNGNPG,json=Unk2700IGMHNDNGNPG,proto3" json:"Unk2700_IGMHNDNGNPG,omitempty"` + SpiceStageList []*SpiceStage `protobuf:"bytes,7,rep,name=spice_stage_list,json=spiceStageList,proto3" json:"spice_stage_list,omitempty"` + Unk2700_KIAHJKGOLGO uint32 `protobuf:"varint,13,opt,name=Unk2700_KIAHJKGOLGO,json=Unk2700KIAHJKGOLGO,proto3" json:"Unk2700_KIAHJKGOLGO,omitempty"` +} + +func (x *SpiceActivityDetailInfo) Reset() { + *x = SpiceActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SpiceActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpiceActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpiceActivityDetailInfo) ProtoMessage() {} + +func (x *SpiceActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SpiceActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpiceActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*SpiceActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_SpiceActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SpiceActivityDetailInfo) GetUnk2700_IGMHNDNGNPG() uint32 { + if x != nil { + return x.Unk2700_IGMHNDNGNPG + } + return 0 +} + +func (x *SpiceActivityDetailInfo) GetSpiceStageList() []*SpiceStage { + if x != nil { + return x.SpiceStageList + } + return nil +} + +func (x *SpiceActivityDetailInfo) GetUnk2700_KIAHJKGOLGO() uint32 { + if x != nil { + return x.Unk2700_KIAHJKGOLGO + } + return 0 +} + +var File_SpiceActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_SpiceActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x70, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x10, 0x53, 0x70, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x17, 0x53, 0x70, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4d, 0x48, 0x4e, 0x44, 0x4e, + 0x47, 0x4e, 0x50, 0x47, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x49, 0x47, 0x4d, 0x48, 0x4e, 0x44, 0x4e, 0x47, 0x4e, 0x50, 0x47, 0x12, 0x35, + 0x0a, 0x10, 0x73, 0x70, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x70, 0x69, 0x63, 0x65, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x73, 0x70, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x49, 0x41, 0x48, 0x4a, 0x4b, 0x47, 0x4f, 0x4c, 0x47, 0x4f, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x49, 0x41, 0x48, 0x4a, + 0x4b, 0x47, 0x4f, 0x4c, 0x47, 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SpiceActivityDetailInfo_proto_rawDescOnce sync.Once + file_SpiceActivityDetailInfo_proto_rawDescData = file_SpiceActivityDetailInfo_proto_rawDesc +) + +func file_SpiceActivityDetailInfo_proto_rawDescGZIP() []byte { + file_SpiceActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_SpiceActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SpiceActivityDetailInfo_proto_rawDescData) + }) + return file_SpiceActivityDetailInfo_proto_rawDescData +} + +var file_SpiceActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SpiceActivityDetailInfo_proto_goTypes = []interface{}{ + (*SpiceActivityDetailInfo)(nil), // 0: SpiceActivityDetailInfo + (*SpiceStage)(nil), // 1: SpiceStage +} +var file_SpiceActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: SpiceActivityDetailInfo.spice_stage_list:type_name -> SpiceStage + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SpiceActivityDetailInfo_proto_init() } +func file_SpiceActivityDetailInfo_proto_init() { + if File_SpiceActivityDetailInfo_proto != nil { + return + } + file_SpiceStage_proto_init() + if !protoimpl.UnsafeEnabled { + file_SpiceActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpiceActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SpiceActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SpiceActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_SpiceActivityDetailInfo_proto_depIdxs, + MessageInfos: file_SpiceActivityDetailInfo_proto_msgTypes, + }.Build() + File_SpiceActivityDetailInfo_proto = out.File + file_SpiceActivityDetailInfo_proto_rawDesc = nil + file_SpiceActivityDetailInfo_proto_goTypes = nil + file_SpiceActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SpiceActivityDetailInfo.proto b/gate-hk4e-api/proto/SpiceActivityDetailInfo.proto new file mode 100644 index 00000000..9e55e776 --- /dev/null +++ b/gate-hk4e-api/proto/SpiceActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SpiceStage.proto"; + +option go_package = "./;proto"; + +message SpiceActivityDetailInfo { + uint32 Unk2700_IGMHNDNGNPG = 15; + repeated SpiceStage spice_stage_list = 7; + uint32 Unk2700_KIAHJKGOLGO = 13; +} diff --git a/gate-hk4e-api/proto/SpiceStage.pb.go b/gate-hk4e-api/proto/SpiceStage.pb.go new file mode 100644 index 00000000..2a3d9c30 --- /dev/null +++ b/gate-hk4e-api/proto/SpiceStage.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SpiceStage.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SpiceStage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,12,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Unk2700_KLOFGMKDDAK uint32 `protobuf:"varint,1,opt,name=Unk2700_KLOFGMKDDAK,json=Unk2700KLOFGMKDDAK,proto3" json:"Unk2700_KLOFGMKDDAK,omitempty"` + StageId uint32 `protobuf:"varint,6,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *SpiceStage) Reset() { + *x = SpiceStage{} + if protoimpl.UnsafeEnabled { + mi := &file_SpiceStage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpiceStage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpiceStage) ProtoMessage() {} + +func (x *SpiceStage) ProtoReflect() protoreflect.Message { + mi := &file_SpiceStage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpiceStage.ProtoReflect.Descriptor instead. +func (*SpiceStage) Descriptor() ([]byte, []int) { + return file_SpiceStage_proto_rawDescGZIP(), []int{0} +} + +func (x *SpiceStage) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *SpiceStage) GetUnk2700_KLOFGMKDDAK() uint32 { + if x != nil { + return x.Unk2700_KLOFGMKDDAK + } + return 0 +} + +func (x *SpiceStage) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_SpiceStage_proto protoreflect.FileDescriptor + +var file_SpiceStage_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x53, 0x70, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0a, 0x53, 0x70, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4f, 0x46, 0x47, 0x4d, 0x4b, 0x44, 0x44, 0x41, 0x4b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, + 0x4c, 0x4f, 0x46, 0x47, 0x4d, 0x4b, 0x44, 0x44, 0x41, 0x4b, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SpiceStage_proto_rawDescOnce sync.Once + file_SpiceStage_proto_rawDescData = file_SpiceStage_proto_rawDesc +) + +func file_SpiceStage_proto_rawDescGZIP() []byte { + file_SpiceStage_proto_rawDescOnce.Do(func() { + file_SpiceStage_proto_rawDescData = protoimpl.X.CompressGZIP(file_SpiceStage_proto_rawDescData) + }) + return file_SpiceStage_proto_rawDescData +} + +var file_SpiceStage_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SpiceStage_proto_goTypes = []interface{}{ + (*SpiceStage)(nil), // 0: SpiceStage +} +var file_SpiceStage_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SpiceStage_proto_init() } +func file_SpiceStage_proto_init() { + if File_SpiceStage_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SpiceStage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpiceStage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SpiceStage_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SpiceStage_proto_goTypes, + DependencyIndexes: file_SpiceStage_proto_depIdxs, + MessageInfos: file_SpiceStage_proto_msgTypes, + }.Build() + File_SpiceStage_proto = out.File + file_SpiceStage_proto_rawDesc = nil + file_SpiceStage_proto_goTypes = nil + file_SpiceStage_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SpiceStage.proto b/gate-hk4e-api/proto/SpiceStage.proto new file mode 100644 index 00000000..a2d3ac33 --- /dev/null +++ b/gate-hk4e-api/proto/SpiceStage.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SpiceStage { + bool is_open = 12; + uint32 Unk2700_KLOFGMKDDAK = 1; + uint32 stage_id = 6; +} diff --git a/gate-hk4e-api/proto/SpringUseReq.pb.go b/gate-hk4e-api/proto/SpringUseReq.pb.go new file mode 100644 index 00000000..4a4e938c --- /dev/null +++ b/gate-hk4e-api/proto/SpringUseReq.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SpringUseReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1748 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SpringUseReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint64 `protobuf:"varint,11,opt,name=guid,proto3" json:"guid,omitempty"` +} + +func (x *SpringUseReq) Reset() { + *x = SpringUseReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SpringUseReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpringUseReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpringUseReq) ProtoMessage() {} + +func (x *SpringUseReq) ProtoReflect() protoreflect.Message { + mi := &file_SpringUseReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpringUseReq.ProtoReflect.Descriptor instead. +func (*SpringUseReq) Descriptor() ([]byte, []int) { + return file_SpringUseReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SpringUseReq) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +var File_SpringUseReq_proto protoreflect.FileDescriptor + +var file_SpringUseReq_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0c, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SpringUseReq_proto_rawDescOnce sync.Once + file_SpringUseReq_proto_rawDescData = file_SpringUseReq_proto_rawDesc +) + +func file_SpringUseReq_proto_rawDescGZIP() []byte { + file_SpringUseReq_proto_rawDescOnce.Do(func() { + file_SpringUseReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SpringUseReq_proto_rawDescData) + }) + return file_SpringUseReq_proto_rawDescData +} + +var file_SpringUseReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SpringUseReq_proto_goTypes = []interface{}{ + (*SpringUseReq)(nil), // 0: SpringUseReq +} +var file_SpringUseReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SpringUseReq_proto_init() } +func file_SpringUseReq_proto_init() { + if File_SpringUseReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SpringUseReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpringUseReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SpringUseReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SpringUseReq_proto_goTypes, + DependencyIndexes: file_SpringUseReq_proto_depIdxs, + MessageInfos: file_SpringUseReq_proto_msgTypes, + }.Build() + File_SpringUseReq_proto = out.File + file_SpringUseReq_proto_rawDesc = nil + file_SpringUseReq_proto_goTypes = nil + file_SpringUseReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SpringUseReq.proto b/gate-hk4e-api/proto/SpringUseReq.proto new file mode 100644 index 00000000..ee2fe46a --- /dev/null +++ b/gate-hk4e-api/proto/SpringUseReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1748 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SpringUseReq { + uint64 guid = 11; +} diff --git a/gate-hk4e-api/proto/SpringUseRsp.pb.go b/gate-hk4e-api/proto/SpringUseRsp.pb.go new file mode 100644 index 00000000..786f96f2 --- /dev/null +++ b/gate-hk4e-api/proto/SpringUseRsp.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SpringUseRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1642 +// EnetChannelId: 0 +// EnetIsReliable: true +type SpringUseRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint64 `protobuf:"varint,3,opt,name=guid,proto3" json:"guid,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *SpringUseRsp) Reset() { + *x = SpringUseRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SpringUseRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpringUseRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpringUseRsp) ProtoMessage() {} + +func (x *SpringUseRsp) ProtoReflect() protoreflect.Message { + mi := &file_SpringUseRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpringUseRsp.ProtoReflect.Descriptor instead. +func (*SpringUseRsp) Descriptor() ([]byte, []int) { + return file_SpringUseRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SpringUseRsp) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *SpringUseRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_SpringUseRsp_proto protoreflect.FileDescriptor + +var file_SpringUseRsp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SpringUseRsp_proto_rawDescOnce sync.Once + file_SpringUseRsp_proto_rawDescData = file_SpringUseRsp_proto_rawDesc +) + +func file_SpringUseRsp_proto_rawDescGZIP() []byte { + file_SpringUseRsp_proto_rawDescOnce.Do(func() { + file_SpringUseRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SpringUseRsp_proto_rawDescData) + }) + return file_SpringUseRsp_proto_rawDescData +} + +var file_SpringUseRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SpringUseRsp_proto_goTypes = []interface{}{ + (*SpringUseRsp)(nil), // 0: SpringUseRsp +} +var file_SpringUseRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SpringUseRsp_proto_init() } +func file_SpringUseRsp_proto_init() { + if File_SpringUseRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SpringUseRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpringUseRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SpringUseRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SpringUseRsp_proto_goTypes, + DependencyIndexes: file_SpringUseRsp_proto_depIdxs, + MessageInfos: file_SpringUseRsp_proto_msgTypes, + }.Build() + File_SpringUseRsp_proto = out.File + file_SpringUseRsp_proto_rawDesc = nil + file_SpringUseRsp_proto_goTypes = nil + file_SpringUseRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SpringUseRsp.proto b/gate-hk4e-api/proto/SpringUseRsp.proto new file mode 100644 index 00000000..4309ee92 --- /dev/null +++ b/gate-hk4e-api/proto/SpringUseRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1642 +// EnetChannelId: 0 +// EnetIsReliable: true +message SpringUseRsp { + uint64 guid = 3; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/StakePlayGalleryInfo.pb.go b/gate-hk4e-api/proto/StakePlayGalleryInfo.pb.go new file mode 100644 index 00000000..8d275cbc --- /dev/null +++ b/gate-hk4e-api/proto/StakePlayGalleryInfo.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StakePlayGalleryInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StakePlayGalleryInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecordList []*Unk2700_BEGHDPPNMFM `protobuf:"bytes,13,rep,name=record_list,json=recordList,proto3" json:"record_list,omitempty"` +} + +func (x *StakePlayGalleryInfo) Reset() { + *x = StakePlayGalleryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_StakePlayGalleryInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StakePlayGalleryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StakePlayGalleryInfo) ProtoMessage() {} + +func (x *StakePlayGalleryInfo) ProtoReflect() protoreflect.Message { + mi := &file_StakePlayGalleryInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StakePlayGalleryInfo.ProtoReflect.Descriptor instead. +func (*StakePlayGalleryInfo) Descriptor() ([]byte, []int) { + return file_StakePlayGalleryInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *StakePlayGalleryInfo) GetRecordList() []*Unk2700_BEGHDPPNMFM { + if x != nil { + return x.RecordList + } + return nil +} + +var File_StakePlayGalleryInfo_proto protoreflect.FileDescriptor + +var file_StakePlayGalleryInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x47, 0x48, 0x44, 0x50, 0x50, 0x4e, 0x4d, 0x46, + 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x35, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x45, 0x47, 0x48, 0x44, 0x50, 0x50, 0x4e, 0x4d, 0x46, 0x4d, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StakePlayGalleryInfo_proto_rawDescOnce sync.Once + file_StakePlayGalleryInfo_proto_rawDescData = file_StakePlayGalleryInfo_proto_rawDesc +) + +func file_StakePlayGalleryInfo_proto_rawDescGZIP() []byte { + file_StakePlayGalleryInfo_proto_rawDescOnce.Do(func() { + file_StakePlayGalleryInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_StakePlayGalleryInfo_proto_rawDescData) + }) + return file_StakePlayGalleryInfo_proto_rawDescData +} + +var file_StakePlayGalleryInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StakePlayGalleryInfo_proto_goTypes = []interface{}{ + (*StakePlayGalleryInfo)(nil), // 0: StakePlayGalleryInfo + (*Unk2700_BEGHDPPNMFM)(nil), // 1: Unk2700_BEGHDPPNMFM +} +var file_StakePlayGalleryInfo_proto_depIdxs = []int32{ + 1, // 0: StakePlayGalleryInfo.record_list:type_name -> Unk2700_BEGHDPPNMFM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_StakePlayGalleryInfo_proto_init() } +func file_StakePlayGalleryInfo_proto_init() { + if File_StakePlayGalleryInfo_proto != nil { + return + } + file_Unk2700_BEGHDPPNMFM_proto_init() + if !protoimpl.UnsafeEnabled { + file_StakePlayGalleryInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StakePlayGalleryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StakePlayGalleryInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StakePlayGalleryInfo_proto_goTypes, + DependencyIndexes: file_StakePlayGalleryInfo_proto_depIdxs, + MessageInfos: file_StakePlayGalleryInfo_proto_msgTypes, + }.Build() + File_StakePlayGalleryInfo_proto = out.File + file_StakePlayGalleryInfo_proto_rawDesc = nil + file_StakePlayGalleryInfo_proto_goTypes = nil + file_StakePlayGalleryInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StakePlayGalleryInfo.proto b/gate-hk4e-api/proto/StakePlayGalleryInfo.proto new file mode 100644 index 00000000..34f7e406 --- /dev/null +++ b/gate-hk4e-api/proto/StakePlayGalleryInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BEGHDPPNMFM.proto"; + +option go_package = "./;proto"; + +message StakePlayGalleryInfo { + repeated Unk2700_BEGHDPPNMFM record_list = 13; +} diff --git a/gate-hk4e-api/proto/StartArenaChallengeLevelReq.pb.go b/gate-hk4e-api/proto/StartArenaChallengeLevelReq.pb.go new file mode 100644 index 00000000..a769b9fa --- /dev/null +++ b/gate-hk4e-api/proto/StartArenaChallengeLevelReq.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartArenaChallengeLevelReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2127 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartArenaChallengeLevelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArenaChallengeId uint32 `protobuf:"varint,4,opt,name=arena_challenge_id,json=arenaChallengeId,proto3" json:"arena_challenge_id,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,5,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + ArenaChallengeLevel uint32 `protobuf:"varint,2,opt,name=arena_challenge_level,json=arenaChallengeLevel,proto3" json:"arena_challenge_level,omitempty"` +} + +func (x *StartArenaChallengeLevelReq) Reset() { + *x = StartArenaChallengeLevelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartArenaChallengeLevelReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartArenaChallengeLevelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartArenaChallengeLevelReq) ProtoMessage() {} + +func (x *StartArenaChallengeLevelReq) ProtoReflect() protoreflect.Message { + mi := &file_StartArenaChallengeLevelReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartArenaChallengeLevelReq.ProtoReflect.Descriptor instead. +func (*StartArenaChallengeLevelReq) Descriptor() ([]byte, []int) { + return file_StartArenaChallengeLevelReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartArenaChallengeLevelReq) GetArenaChallengeId() uint32 { + if x != nil { + return x.ArenaChallengeId + } + return 0 +} + +func (x *StartArenaChallengeLevelReq) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *StartArenaChallengeLevelReq) GetArenaChallengeLevel() uint32 { + if x != nil { + return x.ArenaChallengeLevel + } + return 0 +} + +var File_StartArenaChallengeLevelReq_proto protoreflect.FileDescriptor + +var file_StartArenaChallengeLevelReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x72, 0x65, + 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x10, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x61, + 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x61, 0x72, 0x65, 0x6e, + 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_StartArenaChallengeLevelReq_proto_rawDescOnce sync.Once + file_StartArenaChallengeLevelReq_proto_rawDescData = file_StartArenaChallengeLevelReq_proto_rawDesc +) + +func file_StartArenaChallengeLevelReq_proto_rawDescGZIP() []byte { + file_StartArenaChallengeLevelReq_proto_rawDescOnce.Do(func() { + file_StartArenaChallengeLevelReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartArenaChallengeLevelReq_proto_rawDescData) + }) + return file_StartArenaChallengeLevelReq_proto_rawDescData +} + +var file_StartArenaChallengeLevelReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartArenaChallengeLevelReq_proto_goTypes = []interface{}{ + (*StartArenaChallengeLevelReq)(nil), // 0: StartArenaChallengeLevelReq +} +var file_StartArenaChallengeLevelReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartArenaChallengeLevelReq_proto_init() } +func file_StartArenaChallengeLevelReq_proto_init() { + if File_StartArenaChallengeLevelReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartArenaChallengeLevelReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartArenaChallengeLevelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartArenaChallengeLevelReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartArenaChallengeLevelReq_proto_goTypes, + DependencyIndexes: file_StartArenaChallengeLevelReq_proto_depIdxs, + MessageInfos: file_StartArenaChallengeLevelReq_proto_msgTypes, + }.Build() + File_StartArenaChallengeLevelReq_proto = out.File + file_StartArenaChallengeLevelReq_proto_rawDesc = nil + file_StartArenaChallengeLevelReq_proto_goTypes = nil + file_StartArenaChallengeLevelReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartArenaChallengeLevelReq.proto b/gate-hk4e-api/proto/StartArenaChallengeLevelReq.proto new file mode 100644 index 00000000..387a1388 --- /dev/null +++ b/gate-hk4e-api/proto/StartArenaChallengeLevelReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2127 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartArenaChallengeLevelReq { + uint32 arena_challenge_id = 4; + uint32 gadget_entity_id = 5; + uint32 arena_challenge_level = 2; +} diff --git a/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.pb.go b/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.pb.go new file mode 100644 index 00000000..5819813b --- /dev/null +++ b/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartArenaChallengeLevelRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2125 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartArenaChallengeLevelRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArenaChallengeLevel uint32 `protobuf:"varint,1,opt,name=arena_challenge_level,json=arenaChallengeLevel,proto3" json:"arena_challenge_level,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,3,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + ArenaChallengeId uint32 `protobuf:"varint,6,opt,name=arena_challenge_id,json=arenaChallengeId,proto3" json:"arena_challenge_id,omitempty"` +} + +func (x *StartArenaChallengeLevelRsp) Reset() { + *x = StartArenaChallengeLevelRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartArenaChallengeLevelRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartArenaChallengeLevelRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartArenaChallengeLevelRsp) ProtoMessage() {} + +func (x *StartArenaChallengeLevelRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartArenaChallengeLevelRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartArenaChallengeLevelRsp.ProtoReflect.Descriptor instead. +func (*StartArenaChallengeLevelRsp) Descriptor() ([]byte, []int) { + return file_StartArenaChallengeLevelRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartArenaChallengeLevelRsp) GetArenaChallengeLevel() uint32 { + if x != nil { + return x.ArenaChallengeLevel + } + return 0 +} + +func (x *StartArenaChallengeLevelRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *StartArenaChallengeLevelRsp) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *StartArenaChallengeLevelRsp) GetArenaChallengeId() uint32 { + if x != nil { + return x.ArenaChallengeId + } + return 0 +} + +var File_StartArenaChallengeLevelRsp_proto protoreflect.FileDescriptor + +var file_StartArenaChallengeLevelRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x72, 0x65, + 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x52, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x13, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, + 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartArenaChallengeLevelRsp_proto_rawDescOnce sync.Once + file_StartArenaChallengeLevelRsp_proto_rawDescData = file_StartArenaChallengeLevelRsp_proto_rawDesc +) + +func file_StartArenaChallengeLevelRsp_proto_rawDescGZIP() []byte { + file_StartArenaChallengeLevelRsp_proto_rawDescOnce.Do(func() { + file_StartArenaChallengeLevelRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartArenaChallengeLevelRsp_proto_rawDescData) + }) + return file_StartArenaChallengeLevelRsp_proto_rawDescData +} + +var file_StartArenaChallengeLevelRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartArenaChallengeLevelRsp_proto_goTypes = []interface{}{ + (*StartArenaChallengeLevelRsp)(nil), // 0: StartArenaChallengeLevelRsp +} +var file_StartArenaChallengeLevelRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartArenaChallengeLevelRsp_proto_init() } +func file_StartArenaChallengeLevelRsp_proto_init() { + if File_StartArenaChallengeLevelRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartArenaChallengeLevelRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartArenaChallengeLevelRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartArenaChallengeLevelRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartArenaChallengeLevelRsp_proto_goTypes, + DependencyIndexes: file_StartArenaChallengeLevelRsp_proto_depIdxs, + MessageInfos: file_StartArenaChallengeLevelRsp_proto_msgTypes, + }.Build() + File_StartArenaChallengeLevelRsp_proto = out.File + file_StartArenaChallengeLevelRsp_proto_rawDesc = nil + file_StartArenaChallengeLevelRsp_proto_goTypes = nil + file_StartArenaChallengeLevelRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.proto b/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.proto new file mode 100644 index 00000000..919f2a1c --- /dev/null +++ b/gate-hk4e-api/proto/StartArenaChallengeLevelRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2125 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartArenaChallengeLevelRsp { + uint32 arena_challenge_level = 1; + int32 retcode = 9; + uint32 gadget_entity_id = 3; + uint32 arena_challenge_id = 6; +} diff --git a/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.pb.go b/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.pb.go new file mode 100644 index 00000000..9b47b236 --- /dev/null +++ b/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartBuoyantCombatGalleryReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8732 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartBuoyantCombatGalleryReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,15,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + GalleryLevel uint32 `protobuf:"varint,13,opt,name=gallery_level,json=galleryLevel,proto3" json:"gallery_level,omitempty"` +} + +func (x *StartBuoyantCombatGalleryReq) Reset() { + *x = StartBuoyantCombatGalleryReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartBuoyantCombatGalleryReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartBuoyantCombatGalleryReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartBuoyantCombatGalleryReq) ProtoMessage() {} + +func (x *StartBuoyantCombatGalleryReq) ProtoReflect() protoreflect.Message { + mi := &file_StartBuoyantCombatGalleryReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartBuoyantCombatGalleryReq.ProtoReflect.Descriptor instead. +func (*StartBuoyantCombatGalleryReq) Descriptor() ([]byte, []int) { + return file_StartBuoyantCombatGalleryReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartBuoyantCombatGalleryReq) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *StartBuoyantCombatGalleryReq) GetGalleryLevel() uint32 { + if x != nil { + return x.GalleryLevel + } + return 0 +} + +var File_StartBuoyantCombatGalleryReq_proto protoreflect.FileDescriptor + +var file_StartBuoyantCombatGalleryReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, + 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x1c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x75, 0x6f, + 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartBuoyantCombatGalleryReq_proto_rawDescOnce sync.Once + file_StartBuoyantCombatGalleryReq_proto_rawDescData = file_StartBuoyantCombatGalleryReq_proto_rawDesc +) + +func file_StartBuoyantCombatGalleryReq_proto_rawDescGZIP() []byte { + file_StartBuoyantCombatGalleryReq_proto_rawDescOnce.Do(func() { + file_StartBuoyantCombatGalleryReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartBuoyantCombatGalleryReq_proto_rawDescData) + }) + return file_StartBuoyantCombatGalleryReq_proto_rawDescData +} + +var file_StartBuoyantCombatGalleryReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartBuoyantCombatGalleryReq_proto_goTypes = []interface{}{ + (*StartBuoyantCombatGalleryReq)(nil), // 0: StartBuoyantCombatGalleryReq +} +var file_StartBuoyantCombatGalleryReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartBuoyantCombatGalleryReq_proto_init() } +func file_StartBuoyantCombatGalleryReq_proto_init() { + if File_StartBuoyantCombatGalleryReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartBuoyantCombatGalleryReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartBuoyantCombatGalleryReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartBuoyantCombatGalleryReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartBuoyantCombatGalleryReq_proto_goTypes, + DependencyIndexes: file_StartBuoyantCombatGalleryReq_proto_depIdxs, + MessageInfos: file_StartBuoyantCombatGalleryReq_proto_msgTypes, + }.Build() + File_StartBuoyantCombatGalleryReq_proto = out.File + file_StartBuoyantCombatGalleryReq_proto_rawDesc = nil + file_StartBuoyantCombatGalleryReq_proto_goTypes = nil + file_StartBuoyantCombatGalleryReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.proto b/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.proto new file mode 100644 index 00000000..cef84f66 --- /dev/null +++ b/gate-hk4e-api/proto/StartBuoyantCombatGalleryReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8732 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartBuoyantCombatGalleryReq { + uint32 gallery_id = 15; + uint32 gallery_level = 13; +} diff --git a/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.pb.go b/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.pb.go new file mode 100644 index 00000000..4bd5ed9e --- /dev/null +++ b/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartBuoyantCombatGalleryRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8680 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartBuoyantCombatGalleryRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryLevel uint32 `protobuf:"varint,12,opt,name=gallery_level,json=galleryLevel,proto3" json:"gallery_level,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + GalleryId uint32 `protobuf:"varint,8,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *StartBuoyantCombatGalleryRsp) Reset() { + *x = StartBuoyantCombatGalleryRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartBuoyantCombatGalleryRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartBuoyantCombatGalleryRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartBuoyantCombatGalleryRsp) ProtoMessage() {} + +func (x *StartBuoyantCombatGalleryRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartBuoyantCombatGalleryRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartBuoyantCombatGalleryRsp.ProtoReflect.Descriptor instead. +func (*StartBuoyantCombatGalleryRsp) Descriptor() ([]byte, []int) { + return file_StartBuoyantCombatGalleryRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartBuoyantCombatGalleryRsp) GetGalleryLevel() uint32 { + if x != nil { + return x.GalleryLevel + } + return 0 +} + +func (x *StartBuoyantCombatGalleryRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *StartBuoyantCombatGalleryRsp) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_StartBuoyantCombatGalleryRsp_proto protoreflect.FileDescriptor + +var file_StartBuoyantCombatGalleryRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x75, 0x6f, 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, + 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x1c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x75, 0x6f, + 0x79, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x52, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x67, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartBuoyantCombatGalleryRsp_proto_rawDescOnce sync.Once + file_StartBuoyantCombatGalleryRsp_proto_rawDescData = file_StartBuoyantCombatGalleryRsp_proto_rawDesc +) + +func file_StartBuoyantCombatGalleryRsp_proto_rawDescGZIP() []byte { + file_StartBuoyantCombatGalleryRsp_proto_rawDescOnce.Do(func() { + file_StartBuoyantCombatGalleryRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartBuoyantCombatGalleryRsp_proto_rawDescData) + }) + return file_StartBuoyantCombatGalleryRsp_proto_rawDescData +} + +var file_StartBuoyantCombatGalleryRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartBuoyantCombatGalleryRsp_proto_goTypes = []interface{}{ + (*StartBuoyantCombatGalleryRsp)(nil), // 0: StartBuoyantCombatGalleryRsp +} +var file_StartBuoyantCombatGalleryRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartBuoyantCombatGalleryRsp_proto_init() } +func file_StartBuoyantCombatGalleryRsp_proto_init() { + if File_StartBuoyantCombatGalleryRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartBuoyantCombatGalleryRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartBuoyantCombatGalleryRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartBuoyantCombatGalleryRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartBuoyantCombatGalleryRsp_proto_goTypes, + DependencyIndexes: file_StartBuoyantCombatGalleryRsp_proto_depIdxs, + MessageInfos: file_StartBuoyantCombatGalleryRsp_proto_msgTypes, + }.Build() + File_StartBuoyantCombatGalleryRsp_proto = out.File + file_StartBuoyantCombatGalleryRsp_proto_rawDesc = nil + file_StartBuoyantCombatGalleryRsp_proto_goTypes = nil + file_StartBuoyantCombatGalleryRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.proto b/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.proto new file mode 100644 index 00000000..d2dcaa8d --- /dev/null +++ b/gate-hk4e-api/proto/StartBuoyantCombatGalleryRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8680 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartBuoyantCombatGalleryRsp { + uint32 gallery_level = 12; + int32 retcode = 5; + uint32 gallery_id = 8; +} diff --git a/gate-hk4e-api/proto/StartCoopPointReq.pb.go b/gate-hk4e-api/proto/StartCoopPointReq.pb.go new file mode 100644 index 00000000..e9632c32 --- /dev/null +++ b/gate-hk4e-api/proto/StartCoopPointReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartCoopPointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1992 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartCoopPointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CoopPoint uint32 `protobuf:"varint,7,opt,name=coop_point,json=coopPoint,proto3" json:"coop_point,omitempty"` +} + +func (x *StartCoopPointReq) Reset() { + *x = StartCoopPointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartCoopPointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartCoopPointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartCoopPointReq) ProtoMessage() {} + +func (x *StartCoopPointReq) ProtoReflect() protoreflect.Message { + mi := &file_StartCoopPointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartCoopPointReq.ProtoReflect.Descriptor instead. +func (*StartCoopPointReq) Descriptor() ([]byte, []int) { + return file_StartCoopPointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartCoopPointReq) GetCoopPoint() uint32 { + if x != nil { + return x.CoopPoint + } + return 0 +} + +var File_StartCoopPointReq_proto protoreflect.FileDescriptor + +var file_StartCoopPointReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x11, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_StartCoopPointReq_proto_rawDescOnce sync.Once + file_StartCoopPointReq_proto_rawDescData = file_StartCoopPointReq_proto_rawDesc +) + +func file_StartCoopPointReq_proto_rawDescGZIP() []byte { + file_StartCoopPointReq_proto_rawDescOnce.Do(func() { + file_StartCoopPointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartCoopPointReq_proto_rawDescData) + }) + return file_StartCoopPointReq_proto_rawDescData +} + +var file_StartCoopPointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartCoopPointReq_proto_goTypes = []interface{}{ + (*StartCoopPointReq)(nil), // 0: StartCoopPointReq +} +var file_StartCoopPointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartCoopPointReq_proto_init() } +func file_StartCoopPointReq_proto_init() { + if File_StartCoopPointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartCoopPointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartCoopPointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartCoopPointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartCoopPointReq_proto_goTypes, + DependencyIndexes: file_StartCoopPointReq_proto_depIdxs, + MessageInfos: file_StartCoopPointReq_proto_msgTypes, + }.Build() + File_StartCoopPointReq_proto = out.File + file_StartCoopPointReq_proto_rawDesc = nil + file_StartCoopPointReq_proto_goTypes = nil + file_StartCoopPointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartCoopPointReq.proto b/gate-hk4e-api/proto/StartCoopPointReq.proto new file mode 100644 index 00000000..5d23be7d --- /dev/null +++ b/gate-hk4e-api/proto/StartCoopPointReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1992 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartCoopPointReq { + uint32 coop_point = 7; +} diff --git a/gate-hk4e-api/proto/StartCoopPointRsp.pb.go b/gate-hk4e-api/proto/StartCoopPointRsp.pb.go new file mode 100644 index 00000000..5e6a0a23 --- /dev/null +++ b/gate-hk4e-api/proto/StartCoopPointRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartCoopPointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1964 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartCoopPointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsStart bool `protobuf:"varint,9,opt,name=is_start,json=isStart,proto3" json:"is_start,omitempty"` + StartMainCoop *MainCoop `protobuf:"bytes,15,opt,name=start_main_coop,json=startMainCoop,proto3" json:"start_main_coop,omitempty"` + CoopPoint uint32 `protobuf:"varint,13,opt,name=coop_point,json=coopPoint,proto3" json:"coop_point,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *StartCoopPointRsp) Reset() { + *x = StartCoopPointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartCoopPointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartCoopPointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartCoopPointRsp) ProtoMessage() {} + +func (x *StartCoopPointRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartCoopPointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartCoopPointRsp.ProtoReflect.Descriptor instead. +func (*StartCoopPointRsp) Descriptor() ([]byte, []int) { + return file_StartCoopPointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartCoopPointRsp) GetIsStart() bool { + if x != nil { + return x.IsStart + } + return false +} + +func (x *StartCoopPointRsp) GetStartMainCoop() *MainCoop { + if x != nil { + return x.StartMainCoop + } + return nil +} + +func (x *StartCoopPointRsp) GetCoopPoint() uint32 { + if x != nil { + return x.CoopPoint + } + return 0 +} + +func (x *StartCoopPointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_StartCoopPointRsp_proto protoreflect.FileDescriptor + +var file_StartCoopPointRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x69, 0x6e, 0x43, + 0x6f, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x11, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x31, 0x0a, 0x0f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6f, 0x70, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x0d, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6f, 0x70, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6f, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartCoopPointRsp_proto_rawDescOnce sync.Once + file_StartCoopPointRsp_proto_rawDescData = file_StartCoopPointRsp_proto_rawDesc +) + +func file_StartCoopPointRsp_proto_rawDescGZIP() []byte { + file_StartCoopPointRsp_proto_rawDescOnce.Do(func() { + file_StartCoopPointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartCoopPointRsp_proto_rawDescData) + }) + return file_StartCoopPointRsp_proto_rawDescData +} + +var file_StartCoopPointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartCoopPointRsp_proto_goTypes = []interface{}{ + (*StartCoopPointRsp)(nil), // 0: StartCoopPointRsp + (*MainCoop)(nil), // 1: MainCoop +} +var file_StartCoopPointRsp_proto_depIdxs = []int32{ + 1, // 0: StartCoopPointRsp.start_main_coop:type_name -> MainCoop + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_StartCoopPointRsp_proto_init() } +func file_StartCoopPointRsp_proto_init() { + if File_StartCoopPointRsp_proto != nil { + return + } + file_MainCoop_proto_init() + if !protoimpl.UnsafeEnabled { + file_StartCoopPointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartCoopPointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartCoopPointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartCoopPointRsp_proto_goTypes, + DependencyIndexes: file_StartCoopPointRsp_proto_depIdxs, + MessageInfos: file_StartCoopPointRsp_proto_msgTypes, + }.Build() + File_StartCoopPointRsp_proto = out.File + file_StartCoopPointRsp_proto_rawDesc = nil + file_StartCoopPointRsp_proto_goTypes = nil + file_StartCoopPointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartCoopPointRsp.proto b/gate-hk4e-api/proto/StartCoopPointRsp.proto new file mode 100644 index 00000000..e583a899 --- /dev/null +++ b/gate-hk4e-api/proto/StartCoopPointRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MainCoop.proto"; + +option go_package = "./;proto"; + +// CmdId: 1964 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartCoopPointRsp { + bool is_start = 9; + MainCoop start_main_coop = 15; + uint32 coop_point = 13; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/StartEffigyChallengeReq.pb.go b/gate-hk4e-api/proto/StartEffigyChallengeReq.pb.go new file mode 100644 index 00000000..74a2005c --- /dev/null +++ b/gate-hk4e-api/proto/StartEffigyChallengeReq.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartEffigyChallengeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2169 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartEffigyChallengeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultyId uint32 `protobuf:"varint,9,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + ConditionIdList []uint32 `protobuf:"varint,6,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + ChallengeId uint32 `protobuf:"varint,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *StartEffigyChallengeReq) Reset() { + *x = StartEffigyChallengeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartEffigyChallengeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartEffigyChallengeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartEffigyChallengeReq) ProtoMessage() {} + +func (x *StartEffigyChallengeReq) ProtoReflect() protoreflect.Message { + mi := &file_StartEffigyChallengeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartEffigyChallengeReq.ProtoReflect.Descriptor instead. +func (*StartEffigyChallengeReq) Descriptor() ([]byte, []int) { + return file_StartEffigyChallengeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartEffigyChallengeReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *StartEffigyChallengeReq) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *StartEffigyChallengeReq) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *StartEffigyChallengeReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_StartEffigyChallengeReq_proto protoreflect.FileDescriptor + +var file_StartEffigyChallengeReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa8, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartEffigyChallengeReq_proto_rawDescOnce sync.Once + file_StartEffigyChallengeReq_proto_rawDescData = file_StartEffigyChallengeReq_proto_rawDesc +) + +func file_StartEffigyChallengeReq_proto_rawDescGZIP() []byte { + file_StartEffigyChallengeReq_proto_rawDescOnce.Do(func() { + file_StartEffigyChallengeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartEffigyChallengeReq_proto_rawDescData) + }) + return file_StartEffigyChallengeReq_proto_rawDescData +} + +var file_StartEffigyChallengeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartEffigyChallengeReq_proto_goTypes = []interface{}{ + (*StartEffigyChallengeReq)(nil), // 0: StartEffigyChallengeReq +} +var file_StartEffigyChallengeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartEffigyChallengeReq_proto_init() } +func file_StartEffigyChallengeReq_proto_init() { + if File_StartEffigyChallengeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartEffigyChallengeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartEffigyChallengeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartEffigyChallengeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartEffigyChallengeReq_proto_goTypes, + DependencyIndexes: file_StartEffigyChallengeReq_proto_depIdxs, + MessageInfos: file_StartEffigyChallengeReq_proto_msgTypes, + }.Build() + File_StartEffigyChallengeReq_proto = out.File + file_StartEffigyChallengeReq_proto_rawDesc = nil + file_StartEffigyChallengeReq_proto_goTypes = nil + file_StartEffigyChallengeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartEffigyChallengeReq.proto b/gate-hk4e-api/proto/StartEffigyChallengeReq.proto new file mode 100644 index 00000000..791704c3 --- /dev/null +++ b/gate-hk4e-api/proto/StartEffigyChallengeReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2169 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartEffigyChallengeReq { + uint32 difficulty_id = 9; + repeated uint32 condition_id_list = 6; + uint32 challenge_id = 1; + uint32 point_id = 12; +} diff --git a/gate-hk4e-api/proto/StartEffigyChallengeRsp.pb.go b/gate-hk4e-api/proto/StartEffigyChallengeRsp.pb.go new file mode 100644 index 00000000..d27beda3 --- /dev/null +++ b/gate-hk4e-api/proto/StartEffigyChallengeRsp.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartEffigyChallengeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2173 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartEffigyChallengeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConditionIdList []uint32 `protobuf:"varint,2,rep,packed,name=condition_id_list,json=conditionIdList,proto3" json:"condition_id_list,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + ChallengeId uint32 `protobuf:"varint,15,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,10,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *StartEffigyChallengeRsp) Reset() { + *x = StartEffigyChallengeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartEffigyChallengeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartEffigyChallengeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartEffigyChallengeRsp) ProtoMessage() {} + +func (x *StartEffigyChallengeRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartEffigyChallengeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartEffigyChallengeRsp.ProtoReflect.Descriptor instead. +func (*StartEffigyChallengeRsp) Descriptor() ([]byte, []int) { + return file_StartEffigyChallengeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartEffigyChallengeRsp) GetConditionIdList() []uint32 { + if x != nil { + return x.ConditionIdList + } + return nil +} + +func (x *StartEffigyChallengeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *StartEffigyChallengeRsp) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *StartEffigyChallengeRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *StartEffigyChallengeRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_StartEffigyChallengeRsp_proto protoreflect.FileDescriptor + +var file_StartEffigyChallengeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xc2, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartEffigyChallengeRsp_proto_rawDescOnce sync.Once + file_StartEffigyChallengeRsp_proto_rawDescData = file_StartEffigyChallengeRsp_proto_rawDesc +) + +func file_StartEffigyChallengeRsp_proto_rawDescGZIP() []byte { + file_StartEffigyChallengeRsp_proto_rawDescOnce.Do(func() { + file_StartEffigyChallengeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartEffigyChallengeRsp_proto_rawDescData) + }) + return file_StartEffigyChallengeRsp_proto_rawDescData +} + +var file_StartEffigyChallengeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartEffigyChallengeRsp_proto_goTypes = []interface{}{ + (*StartEffigyChallengeRsp)(nil), // 0: StartEffigyChallengeRsp +} +var file_StartEffigyChallengeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartEffigyChallengeRsp_proto_init() } +func file_StartEffigyChallengeRsp_proto_init() { + if File_StartEffigyChallengeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartEffigyChallengeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartEffigyChallengeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartEffigyChallengeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartEffigyChallengeRsp_proto_goTypes, + DependencyIndexes: file_StartEffigyChallengeRsp_proto_depIdxs, + MessageInfos: file_StartEffigyChallengeRsp_proto_msgTypes, + }.Build() + File_StartEffigyChallengeRsp_proto = out.File + file_StartEffigyChallengeRsp_proto_rawDesc = nil + file_StartEffigyChallengeRsp_proto_goTypes = nil + file_StartEffigyChallengeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartEffigyChallengeRsp.proto b/gate-hk4e-api/proto/StartEffigyChallengeRsp.proto new file mode 100644 index 00000000..3c45e7d7 --- /dev/null +++ b/gate-hk4e-api/proto/StartEffigyChallengeRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2173 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartEffigyChallengeRsp { + repeated uint32 condition_id_list = 2; + int32 retcode = 8; + uint32 challenge_id = 15; + uint32 difficulty_id = 10; + uint32 point_id = 12; +} diff --git a/gate-hk4e-api/proto/StartFishingReq.pb.go b/gate-hk4e-api/proto/StartFishingReq.pb.go new file mode 100644 index 00000000..1779e413 --- /dev/null +++ b/gate-hk4e-api/proto/StartFishingReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartFishingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5825 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartFishingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RodEntityId uint32 `protobuf:"varint,5,opt,name=rod_entity_id,json=rodEntityId,proto3" json:"rod_entity_id,omitempty"` + FishPoolId uint32 `protobuf:"varint,15,opt,name=fish_pool_id,json=fishPoolId,proto3" json:"fish_pool_id,omitempty"` +} + +func (x *StartFishingReq) Reset() { + *x = StartFishingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartFishingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartFishingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartFishingReq) ProtoMessage() {} + +func (x *StartFishingReq) ProtoReflect() protoreflect.Message { + mi := &file_StartFishingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartFishingReq.ProtoReflect.Descriptor instead. +func (*StartFishingReq) Descriptor() ([]byte, []int) { + return file_StartFishingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartFishingReq) GetRodEntityId() uint32 { + if x != nil { + return x.RodEntityId + } + return 0 +} + +func (x *StartFishingReq) GetFishPoolId() uint32 { + if x != nil { + return x.FishPoolId + } + return 0 +} + +var File_StartFishingReq_proto protoreflect.FileDescriptor + +var file_StartFishingReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x6f, + 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x72, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x20, + 0x0a, 0x0c, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartFishingReq_proto_rawDescOnce sync.Once + file_StartFishingReq_proto_rawDescData = file_StartFishingReq_proto_rawDesc +) + +func file_StartFishingReq_proto_rawDescGZIP() []byte { + file_StartFishingReq_proto_rawDescOnce.Do(func() { + file_StartFishingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartFishingReq_proto_rawDescData) + }) + return file_StartFishingReq_proto_rawDescData +} + +var file_StartFishingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartFishingReq_proto_goTypes = []interface{}{ + (*StartFishingReq)(nil), // 0: StartFishingReq +} +var file_StartFishingReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartFishingReq_proto_init() } +func file_StartFishingReq_proto_init() { + if File_StartFishingReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartFishingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartFishingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartFishingReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartFishingReq_proto_goTypes, + DependencyIndexes: file_StartFishingReq_proto_depIdxs, + MessageInfos: file_StartFishingReq_proto_msgTypes, + }.Build() + File_StartFishingReq_proto = out.File + file_StartFishingReq_proto_rawDesc = nil + file_StartFishingReq_proto_goTypes = nil + file_StartFishingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartFishingReq.proto b/gate-hk4e-api/proto/StartFishingReq.proto new file mode 100644 index 00000000..277c45ab --- /dev/null +++ b/gate-hk4e-api/proto/StartFishingReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5825 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartFishingReq { + uint32 rod_entity_id = 5; + uint32 fish_pool_id = 15; +} diff --git a/gate-hk4e-api/proto/StartFishingRsp.pb.go b/gate-hk4e-api/proto/StartFishingRsp.pb.go new file mode 100644 index 00000000..ef8b56d6 --- /dev/null +++ b/gate-hk4e-api/proto/StartFishingRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartFishingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5807 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartFishingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + FishPoolId uint32 `protobuf:"varint,14,opt,name=fish_pool_id,json=fishPoolId,proto3" json:"fish_pool_id,omitempty"` +} + +func (x *StartFishingRsp) Reset() { + *x = StartFishingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartFishingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartFishingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartFishingRsp) ProtoMessage() {} + +func (x *StartFishingRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartFishingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartFishingRsp.ProtoReflect.Descriptor instead. +func (*StartFishingRsp) Descriptor() ([]byte, []int) { + return file_StartFishingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartFishingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *StartFishingRsp) GetFishPoolId() uint32 { + if x != nil { + return x.FishPoolId + } + return 0 +} + +var File_StartFishingRsp_proto protoreflect.FileDescriptor + +var file_StartFishingRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x46, 0x69, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x6f, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x73, 0x68, + 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartFishingRsp_proto_rawDescOnce sync.Once + file_StartFishingRsp_proto_rawDescData = file_StartFishingRsp_proto_rawDesc +) + +func file_StartFishingRsp_proto_rawDescGZIP() []byte { + file_StartFishingRsp_proto_rawDescOnce.Do(func() { + file_StartFishingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartFishingRsp_proto_rawDescData) + }) + return file_StartFishingRsp_proto_rawDescData +} + +var file_StartFishingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartFishingRsp_proto_goTypes = []interface{}{ + (*StartFishingRsp)(nil), // 0: StartFishingRsp +} +var file_StartFishingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartFishingRsp_proto_init() } +func file_StartFishingRsp_proto_init() { + if File_StartFishingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartFishingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartFishingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartFishingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartFishingRsp_proto_goTypes, + DependencyIndexes: file_StartFishingRsp_proto_depIdxs, + MessageInfos: file_StartFishingRsp_proto_msgTypes, + }.Build() + File_StartFishingRsp_proto = out.File + file_StartFishingRsp_proto_rawDesc = nil + file_StartFishingRsp_proto_goTypes = nil + file_StartFishingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartFishingRsp.proto b/gate-hk4e-api/proto/StartFishingRsp.proto new file mode 100644 index 00000000..6e6d0534 --- /dev/null +++ b/gate-hk4e-api/proto/StartFishingRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5807 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartFishingRsp { + int32 retcode = 1; + uint32 fish_pool_id = 14; +} diff --git a/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.pb.go b/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.pb.go new file mode 100644 index 00000000..572860e8 --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartRogueEliteCellChallengeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartRogueEliteCellChallengeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Difficulty RogueEliteCellDifficultyType `protobuf:"varint,1,opt,name=difficulty,proto3,enum=RogueEliteCellDifficultyType" json:"difficulty,omitempty"` + DungeonId uint32 `protobuf:"varint,11,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,4,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *StartRogueEliteCellChallengeReq) Reset() { + *x = StartRogueEliteCellChallengeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartRogueEliteCellChallengeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRogueEliteCellChallengeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRogueEliteCellChallengeReq) ProtoMessage() {} + +func (x *StartRogueEliteCellChallengeReq) ProtoReflect() protoreflect.Message { + mi := &file_StartRogueEliteCellChallengeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartRogueEliteCellChallengeReq.ProtoReflect.Descriptor instead. +func (*StartRogueEliteCellChallengeReq) Descriptor() ([]byte, []int) { + return file_StartRogueEliteCellChallengeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartRogueEliteCellChallengeReq) GetDifficulty() RogueEliteCellDifficultyType { + if x != nil { + return x.Difficulty + } + return RogueEliteCellDifficultyType_ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL +} + +func (x *StartRogueEliteCellChallengeReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *StartRogueEliteCellChallengeReq) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_StartRogueEliteCellChallengeReq_proto protoreflect.FileDescriptor + +var file_StartRogueEliteCellChallengeReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, + 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, + 0x69, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x1f, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x43, + 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, + 0x3d, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, 0x65, + 0x43, 0x65, 0x6c, 0x6c, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x1d, + 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartRogueEliteCellChallengeReq_proto_rawDescOnce sync.Once + file_StartRogueEliteCellChallengeReq_proto_rawDescData = file_StartRogueEliteCellChallengeReq_proto_rawDesc +) + +func file_StartRogueEliteCellChallengeReq_proto_rawDescGZIP() []byte { + file_StartRogueEliteCellChallengeReq_proto_rawDescOnce.Do(func() { + file_StartRogueEliteCellChallengeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartRogueEliteCellChallengeReq_proto_rawDescData) + }) + return file_StartRogueEliteCellChallengeReq_proto_rawDescData +} + +var file_StartRogueEliteCellChallengeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartRogueEliteCellChallengeReq_proto_goTypes = []interface{}{ + (*StartRogueEliteCellChallengeReq)(nil), // 0: StartRogueEliteCellChallengeReq + (RogueEliteCellDifficultyType)(0), // 1: RogueEliteCellDifficultyType +} +var file_StartRogueEliteCellChallengeReq_proto_depIdxs = []int32{ + 1, // 0: StartRogueEliteCellChallengeReq.difficulty:type_name -> RogueEliteCellDifficultyType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_StartRogueEliteCellChallengeReq_proto_init() } +func file_StartRogueEliteCellChallengeReq_proto_init() { + if File_StartRogueEliteCellChallengeReq_proto != nil { + return + } + file_RogueEliteCellDifficultyType_proto_init() + if !protoimpl.UnsafeEnabled { + file_StartRogueEliteCellChallengeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartRogueEliteCellChallengeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartRogueEliteCellChallengeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartRogueEliteCellChallengeReq_proto_goTypes, + DependencyIndexes: file_StartRogueEliteCellChallengeReq_proto_depIdxs, + MessageInfos: file_StartRogueEliteCellChallengeReq_proto_msgTypes, + }.Build() + File_StartRogueEliteCellChallengeReq_proto = out.File + file_StartRogueEliteCellChallengeReq_proto_rawDesc = nil + file_StartRogueEliteCellChallengeReq_proto_goTypes = nil + file_StartRogueEliteCellChallengeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.proto b/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.proto new file mode 100644 index 00000000..35321ff4 --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueEliteCellChallengeReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RogueEliteCellDifficultyType.proto"; + +option go_package = "./;proto"; + +// CmdId: 8242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartRogueEliteCellChallengeReq { + RogueEliteCellDifficultyType difficulty = 1; + uint32 dungeon_id = 11; + uint32 cell_id = 4; +} diff --git a/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.pb.go b/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.pb.go new file mode 100644 index 00000000..b485fb7b --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartRogueEliteCellChallengeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8958 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartRogueEliteCellChallengeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,12,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,9,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *StartRogueEliteCellChallengeRsp) Reset() { + *x = StartRogueEliteCellChallengeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartRogueEliteCellChallengeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRogueEliteCellChallengeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRogueEliteCellChallengeRsp) ProtoMessage() {} + +func (x *StartRogueEliteCellChallengeRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartRogueEliteCellChallengeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartRogueEliteCellChallengeRsp.ProtoReflect.Descriptor instead. +func (*StartRogueEliteCellChallengeRsp) Descriptor() ([]byte, []int) { + return file_StartRogueEliteCellChallengeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartRogueEliteCellChallengeRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *StartRogueEliteCellChallengeRsp) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +func (x *StartRogueEliteCellChallengeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_StartRogueEliteCellChallengeRsp_proto protoreflect.FileDescriptor + +var file_StartRogueEliteCellChallengeRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, + 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x1f, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6c, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartRogueEliteCellChallengeRsp_proto_rawDescOnce sync.Once + file_StartRogueEliteCellChallengeRsp_proto_rawDescData = file_StartRogueEliteCellChallengeRsp_proto_rawDesc +) + +func file_StartRogueEliteCellChallengeRsp_proto_rawDescGZIP() []byte { + file_StartRogueEliteCellChallengeRsp_proto_rawDescOnce.Do(func() { + file_StartRogueEliteCellChallengeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartRogueEliteCellChallengeRsp_proto_rawDescData) + }) + return file_StartRogueEliteCellChallengeRsp_proto_rawDescData +} + +var file_StartRogueEliteCellChallengeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartRogueEliteCellChallengeRsp_proto_goTypes = []interface{}{ + (*StartRogueEliteCellChallengeRsp)(nil), // 0: StartRogueEliteCellChallengeRsp +} +var file_StartRogueEliteCellChallengeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartRogueEliteCellChallengeRsp_proto_init() } +func file_StartRogueEliteCellChallengeRsp_proto_init() { + if File_StartRogueEliteCellChallengeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartRogueEliteCellChallengeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartRogueEliteCellChallengeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartRogueEliteCellChallengeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartRogueEliteCellChallengeRsp_proto_goTypes, + DependencyIndexes: file_StartRogueEliteCellChallengeRsp_proto_depIdxs, + MessageInfos: file_StartRogueEliteCellChallengeRsp_proto_msgTypes, + }.Build() + File_StartRogueEliteCellChallengeRsp_proto = out.File + file_StartRogueEliteCellChallengeRsp_proto_rawDesc = nil + file_StartRogueEliteCellChallengeRsp_proto_goTypes = nil + file_StartRogueEliteCellChallengeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.proto b/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.proto new file mode 100644 index 00000000..69c5df0e --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueEliteCellChallengeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8958 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartRogueEliteCellChallengeRsp { + uint32 dungeon_id = 12; + uint32 cell_id = 9; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.pb.go b/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.pb.go new file mode 100644 index 00000000..0df8d685 --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartRogueNormalCellChallengeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8205 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type StartRogueNormalCellChallengeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,3,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,8,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` +} + +func (x *StartRogueNormalCellChallengeReq) Reset() { + *x = StartRogueNormalCellChallengeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_StartRogueNormalCellChallengeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRogueNormalCellChallengeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRogueNormalCellChallengeReq) ProtoMessage() {} + +func (x *StartRogueNormalCellChallengeReq) ProtoReflect() protoreflect.Message { + mi := &file_StartRogueNormalCellChallengeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartRogueNormalCellChallengeReq.ProtoReflect.Descriptor instead. +func (*StartRogueNormalCellChallengeReq) Descriptor() ([]byte, []int) { + return file_StartRogueNormalCellChallengeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *StartRogueNormalCellChallengeReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *StartRogueNormalCellChallengeReq) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +var File_StartRogueNormalCellChallengeReq_proto protoreflect.FileDescriptor + +var file_StartRogueNormalCellChallengeReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x4e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x20, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x65, 0x6c, 0x6c, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, + 0x6c, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StartRogueNormalCellChallengeReq_proto_rawDescOnce sync.Once + file_StartRogueNormalCellChallengeReq_proto_rawDescData = file_StartRogueNormalCellChallengeReq_proto_rawDesc +) + +func file_StartRogueNormalCellChallengeReq_proto_rawDescGZIP() []byte { + file_StartRogueNormalCellChallengeReq_proto_rawDescOnce.Do(func() { + file_StartRogueNormalCellChallengeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartRogueNormalCellChallengeReq_proto_rawDescData) + }) + return file_StartRogueNormalCellChallengeReq_proto_rawDescData +} + +var file_StartRogueNormalCellChallengeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartRogueNormalCellChallengeReq_proto_goTypes = []interface{}{ + (*StartRogueNormalCellChallengeReq)(nil), // 0: StartRogueNormalCellChallengeReq +} +var file_StartRogueNormalCellChallengeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartRogueNormalCellChallengeReq_proto_init() } +func file_StartRogueNormalCellChallengeReq_proto_init() { + if File_StartRogueNormalCellChallengeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartRogueNormalCellChallengeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartRogueNormalCellChallengeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartRogueNormalCellChallengeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartRogueNormalCellChallengeReq_proto_goTypes, + DependencyIndexes: file_StartRogueNormalCellChallengeReq_proto_depIdxs, + MessageInfos: file_StartRogueNormalCellChallengeReq_proto_msgTypes, + }.Build() + File_StartRogueNormalCellChallengeReq_proto = out.File + file_StartRogueNormalCellChallengeReq_proto_rawDesc = nil + file_StartRogueNormalCellChallengeReq_proto_goTypes = nil + file_StartRogueNormalCellChallengeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.proto b/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.proto new file mode 100644 index 00000000..7eb8ad76 --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueNormalCellChallengeReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8205 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message StartRogueNormalCellChallengeReq { + uint32 dungeon_id = 3; + uint32 cell_id = 8; +} diff --git a/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.pb.go b/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.pb.go new file mode 100644 index 00000000..94c1b00f --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StartRogueNormalCellChallengeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8036 +// EnetChannelId: 0 +// EnetIsReliable: true +type StartRogueNormalCellChallengeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,10,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + CellId uint32 `protobuf:"varint,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *StartRogueNormalCellChallengeRsp) Reset() { + *x = StartRogueNormalCellChallengeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_StartRogueNormalCellChallengeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRogueNormalCellChallengeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRogueNormalCellChallengeRsp) ProtoMessage() {} + +func (x *StartRogueNormalCellChallengeRsp) ProtoReflect() protoreflect.Message { + mi := &file_StartRogueNormalCellChallengeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartRogueNormalCellChallengeRsp.ProtoReflect.Descriptor instead. +func (*StartRogueNormalCellChallengeRsp) Descriptor() ([]byte, []int) { + return file_StartRogueNormalCellChallengeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *StartRogueNormalCellChallengeRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *StartRogueNormalCellChallengeRsp) GetCellId() uint32 { + if x != nil { + return x.CellId + } + return 0 +} + +func (x *StartRogueNormalCellChallengeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_StartRogueNormalCellChallengeRsp_proto protoreflect.FileDescriptor + +var file_StartRogueNormalCellChallengeRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x4e, 0x6f, 0x72, 0x6d, + 0x61, 0x6c, 0x43, 0x65, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x20, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x65, 0x6c, 0x6c, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x65, + 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_StartRogueNormalCellChallengeRsp_proto_rawDescOnce sync.Once + file_StartRogueNormalCellChallengeRsp_proto_rawDescData = file_StartRogueNormalCellChallengeRsp_proto_rawDesc +) + +func file_StartRogueNormalCellChallengeRsp_proto_rawDescGZIP() []byte { + file_StartRogueNormalCellChallengeRsp_proto_rawDescOnce.Do(func() { + file_StartRogueNormalCellChallengeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_StartRogueNormalCellChallengeRsp_proto_rawDescData) + }) + return file_StartRogueNormalCellChallengeRsp_proto_rawDescData +} + +var file_StartRogueNormalCellChallengeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StartRogueNormalCellChallengeRsp_proto_goTypes = []interface{}{ + (*StartRogueNormalCellChallengeRsp)(nil), // 0: StartRogueNormalCellChallengeRsp +} +var file_StartRogueNormalCellChallengeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StartRogueNormalCellChallengeRsp_proto_init() } +func file_StartRogueNormalCellChallengeRsp_proto_init() { + if File_StartRogueNormalCellChallengeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StartRogueNormalCellChallengeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartRogueNormalCellChallengeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StartRogueNormalCellChallengeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StartRogueNormalCellChallengeRsp_proto_goTypes, + DependencyIndexes: file_StartRogueNormalCellChallengeRsp_proto_depIdxs, + MessageInfos: file_StartRogueNormalCellChallengeRsp_proto_msgTypes, + }.Build() + File_StartRogueNormalCellChallengeRsp_proto = out.File + file_StartRogueNormalCellChallengeRsp_proto_rawDesc = nil + file_StartRogueNormalCellChallengeRsp_proto_goTypes = nil + file_StartRogueNormalCellChallengeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.proto b/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.proto new file mode 100644 index 00000000..d202f642 --- /dev/null +++ b/gate-hk4e-api/proto/StartRogueNormalCellChallengeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8036 +// EnetChannelId: 0 +// EnetIsReliable: true +message StartRogueNormalCellChallengeRsp { + uint32 dungeon_id = 10; + uint32 cell_id = 2; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/StatueGadgetInfo.pb.go b/gate-hk4e-api/proto/StatueGadgetInfo.pb.go new file mode 100644 index 00000000..9f61cc47 --- /dev/null +++ b/gate-hk4e-api/proto/StatueGadgetInfo.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StatueGadgetInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StatueGadgetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenedStatueUidList []uint32 `protobuf:"varint,1,rep,packed,name=opened_statue_uid_list,json=openedStatueUidList,proto3" json:"opened_statue_uid_list,omitempty"` +} + +func (x *StatueGadgetInfo) Reset() { + *x = StatueGadgetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_StatueGadgetInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatueGadgetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatueGadgetInfo) ProtoMessage() {} + +func (x *StatueGadgetInfo) ProtoReflect() protoreflect.Message { + mi := &file_StatueGadgetInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatueGadgetInfo.ProtoReflect.Descriptor instead. +func (*StatueGadgetInfo) Descriptor() ([]byte, []int) { + return file_StatueGadgetInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *StatueGadgetInfo) GetOpenedStatueUidList() []uint32 { + if x != nil { + return x.OpenedStatueUidList + } + return nil +} + +var File_StatueGadgetInfo_proto protoreflect.FileDescriptor + +var file_StatueGadgetInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x16, + 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x5f, 0x75, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x13, 0x6f, 0x70, + 0x65, 0x6e, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StatueGadgetInfo_proto_rawDescOnce sync.Once + file_StatueGadgetInfo_proto_rawDescData = file_StatueGadgetInfo_proto_rawDesc +) + +func file_StatueGadgetInfo_proto_rawDescGZIP() []byte { + file_StatueGadgetInfo_proto_rawDescOnce.Do(func() { + file_StatueGadgetInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_StatueGadgetInfo_proto_rawDescData) + }) + return file_StatueGadgetInfo_proto_rawDescData +} + +var file_StatueGadgetInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StatueGadgetInfo_proto_goTypes = []interface{}{ + (*StatueGadgetInfo)(nil), // 0: StatueGadgetInfo +} +var file_StatueGadgetInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StatueGadgetInfo_proto_init() } +func file_StatueGadgetInfo_proto_init() { + if File_StatueGadgetInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StatueGadgetInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatueGadgetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StatueGadgetInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StatueGadgetInfo_proto_goTypes, + DependencyIndexes: file_StatueGadgetInfo_proto_depIdxs, + MessageInfos: file_StatueGadgetInfo_proto_msgTypes, + }.Build() + File_StatueGadgetInfo_proto = out.File + file_StatueGadgetInfo_proto_rawDesc = nil + file_StatueGadgetInfo_proto_goTypes = nil + file_StatueGadgetInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StatueGadgetInfo.proto b/gate-hk4e-api/proto/StatueGadgetInfo.proto new file mode 100644 index 00000000..24b229e8 --- /dev/null +++ b/gate-hk4e-api/proto/StatueGadgetInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message StatueGadgetInfo { + repeated uint32 opened_statue_uid_list = 1; +} diff --git a/gate-hk4e-api/proto/StopServerInfo.pb.go b/gate-hk4e-api/proto/StopServerInfo.pb.go new file mode 100644 index 00000000..6ba30a5b --- /dev/null +++ b/gate-hk4e-api/proto/StopServerInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StopServerInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StopServerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StopBeginTime uint32 `protobuf:"varint,1,opt,name=stop_begin_time,json=stopBeginTime,proto3" json:"stop_begin_time,omitempty"` + StopEndTime uint32 `protobuf:"varint,2,opt,name=stop_end_time,json=stopEndTime,proto3" json:"stop_end_time,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + ContentMsg string `protobuf:"bytes,4,opt,name=content_msg,json=contentMsg,proto3" json:"content_msg,omitempty"` +} + +func (x *StopServerInfo) Reset() { + *x = StopServerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_StopServerInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopServerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopServerInfo) ProtoMessage() {} + +func (x *StopServerInfo) ProtoReflect() protoreflect.Message { + mi := &file_StopServerInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopServerInfo.ProtoReflect.Descriptor instead. +func (*StopServerInfo) Descriptor() ([]byte, []int) { + return file_StopServerInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *StopServerInfo) GetStopBeginTime() uint32 { + if x != nil { + return x.StopBeginTime + } + return 0 +} + +func (x *StopServerInfo) GetStopEndTime() uint32 { + if x != nil { + return x.StopEndTime + } + return 0 +} + +func (x *StopServerInfo) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *StopServerInfo) GetContentMsg() string { + if x != nil { + return x.ContentMsg + } + return "" +} + +var File_StopServerInfo_proto protoreflect.FileDescriptor + +var file_StopServerInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x70, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, + 0x70, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x45, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StopServerInfo_proto_rawDescOnce sync.Once + file_StopServerInfo_proto_rawDescData = file_StopServerInfo_proto_rawDesc +) + +func file_StopServerInfo_proto_rawDescGZIP() []byte { + file_StopServerInfo_proto_rawDescOnce.Do(func() { + file_StopServerInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_StopServerInfo_proto_rawDescData) + }) + return file_StopServerInfo_proto_rawDescData +} + +var file_StopServerInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StopServerInfo_proto_goTypes = []interface{}{ + (*StopServerInfo)(nil), // 0: StopServerInfo +} +var file_StopServerInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StopServerInfo_proto_init() } +func file_StopServerInfo_proto_init() { + if File_StopServerInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StopServerInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopServerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StopServerInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StopServerInfo_proto_goTypes, + DependencyIndexes: file_StopServerInfo_proto_depIdxs, + MessageInfos: file_StopServerInfo_proto_msgTypes, + }.Build() + File_StopServerInfo_proto = out.File + file_StopServerInfo_proto_rawDesc = nil + file_StopServerInfo_proto_goTypes = nil + file_StopServerInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StopServerInfo.proto b/gate-hk4e-api/proto/StopServerInfo.proto new file mode 100644 index 00000000..c0608734 --- /dev/null +++ b/gate-hk4e-api/proto/StopServerInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message StopServerInfo { + uint32 stop_begin_time = 1; + uint32 stop_end_time = 2; + string url = 3; + string content_msg = 4; +} diff --git a/gate-hk4e-api/proto/StoreItemChangeNotify.pb.go b/gate-hk4e-api/proto/StoreItemChangeNotify.pb.go new file mode 100644 index 00000000..1c80a51d --- /dev/null +++ b/gate-hk4e-api/proto/StoreItemChangeNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StoreItemChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 612 +// EnetChannelId: 0 +// EnetIsReliable: true +type StoreItemChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StoreType StoreType `protobuf:"varint,12,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` + ItemList []*Item `protobuf:"bytes,10,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *StoreItemChangeNotify) Reset() { + *x = StoreItemChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_StoreItemChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StoreItemChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StoreItemChangeNotify) ProtoMessage() {} + +func (x *StoreItemChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_StoreItemChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StoreItemChangeNotify.ProtoReflect.Descriptor instead. +func (*StoreItemChangeNotify) Descriptor() ([]byte, []int) { + return file_StoreItemChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *StoreItemChangeNotify) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +func (x *StoreItemChangeNotify) GetItemList() []*Item { + if x != nil { + return x.ItemList + } + return nil +} + +var File_StoreItemChangeNotify_proto protoreflect.FileDescriptor + +var file_StoreItemChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x49, + 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x15, 0x53, 0x74, + 0x6f, 0x72, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, + 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x05, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StoreItemChangeNotify_proto_rawDescOnce sync.Once + file_StoreItemChangeNotify_proto_rawDescData = file_StoreItemChangeNotify_proto_rawDesc +) + +func file_StoreItemChangeNotify_proto_rawDescGZIP() []byte { + file_StoreItemChangeNotify_proto_rawDescOnce.Do(func() { + file_StoreItemChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_StoreItemChangeNotify_proto_rawDescData) + }) + return file_StoreItemChangeNotify_proto_rawDescData +} + +var file_StoreItemChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StoreItemChangeNotify_proto_goTypes = []interface{}{ + (*StoreItemChangeNotify)(nil), // 0: StoreItemChangeNotify + (StoreType)(0), // 1: StoreType + (*Item)(nil), // 2: Item +} +var file_StoreItemChangeNotify_proto_depIdxs = []int32{ + 1, // 0: StoreItemChangeNotify.store_type:type_name -> StoreType + 2, // 1: StoreItemChangeNotify.item_list:type_name -> Item + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_StoreItemChangeNotify_proto_init() } +func file_StoreItemChangeNotify_proto_init() { + if File_StoreItemChangeNotify_proto != nil { + return + } + file_Item_proto_init() + file_StoreType_proto_init() + if !protoimpl.UnsafeEnabled { + file_StoreItemChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StoreItemChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StoreItemChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StoreItemChangeNotify_proto_goTypes, + DependencyIndexes: file_StoreItemChangeNotify_proto_depIdxs, + MessageInfos: file_StoreItemChangeNotify_proto_msgTypes, + }.Build() + File_StoreItemChangeNotify_proto = out.File + file_StoreItemChangeNotify_proto_rawDesc = nil + file_StoreItemChangeNotify_proto_goTypes = nil + file_StoreItemChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StoreItemChangeNotify.proto b/gate-hk4e-api/proto/StoreItemChangeNotify.proto new file mode 100644 index 00000000..c925bd2b --- /dev/null +++ b/gate-hk4e-api/proto/StoreItemChangeNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Item.proto"; +import "StoreType.proto"; + +option go_package = "./;proto"; + +// CmdId: 612 +// EnetChannelId: 0 +// EnetIsReliable: true +message StoreItemChangeNotify { + StoreType store_type = 12; + repeated Item item_list = 10; +} diff --git a/gate-hk4e-api/proto/StoreItemDelNotify.pb.go b/gate-hk4e-api/proto/StoreItemDelNotify.pb.go new file mode 100644 index 00000000..7e9b7a0a --- /dev/null +++ b/gate-hk4e-api/proto/StoreItemDelNotify.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StoreItemDelNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 635 +// EnetChannelId: 0 +// EnetIsReliable: true +type StoreItemDelNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GuidList []uint64 `protobuf:"varint,12,rep,packed,name=guid_list,json=guidList,proto3" json:"guid_list,omitempty"` + StoreType StoreType `protobuf:"varint,15,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` +} + +func (x *StoreItemDelNotify) Reset() { + *x = StoreItemDelNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_StoreItemDelNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StoreItemDelNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StoreItemDelNotify) ProtoMessage() {} + +func (x *StoreItemDelNotify) ProtoReflect() protoreflect.Message { + mi := &file_StoreItemDelNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StoreItemDelNotify.ProtoReflect.Descriptor instead. +func (*StoreItemDelNotify) Descriptor() ([]byte, []int) { + return file_StoreItemDelNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *StoreItemDelNotify) GetGuidList() []uint64 { + if x != nil { + return x.GuidList + } + return nil +} + +func (x *StoreItemDelNotify) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +var File_StoreItemDelNotify_proto protoreflect.FileDescriptor + +var file_StoreItemDelNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x53, 0x74, 0x6f, 0x72, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x12, 0x53, + 0x74, 0x6f, 0x72, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x67, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, + 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StoreItemDelNotify_proto_rawDescOnce sync.Once + file_StoreItemDelNotify_proto_rawDescData = file_StoreItemDelNotify_proto_rawDesc +) + +func file_StoreItemDelNotify_proto_rawDescGZIP() []byte { + file_StoreItemDelNotify_proto_rawDescOnce.Do(func() { + file_StoreItemDelNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_StoreItemDelNotify_proto_rawDescData) + }) + return file_StoreItemDelNotify_proto_rawDescData +} + +var file_StoreItemDelNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StoreItemDelNotify_proto_goTypes = []interface{}{ + (*StoreItemDelNotify)(nil), // 0: StoreItemDelNotify + (StoreType)(0), // 1: StoreType +} +var file_StoreItemDelNotify_proto_depIdxs = []int32{ + 1, // 0: StoreItemDelNotify.store_type:type_name -> StoreType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_StoreItemDelNotify_proto_init() } +func file_StoreItemDelNotify_proto_init() { + if File_StoreItemDelNotify_proto != nil { + return + } + file_StoreType_proto_init() + if !protoimpl.UnsafeEnabled { + file_StoreItemDelNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StoreItemDelNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StoreItemDelNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StoreItemDelNotify_proto_goTypes, + DependencyIndexes: file_StoreItemDelNotify_proto_depIdxs, + MessageInfos: file_StoreItemDelNotify_proto_msgTypes, + }.Build() + File_StoreItemDelNotify_proto = out.File + file_StoreItemDelNotify_proto_rawDesc = nil + file_StoreItemDelNotify_proto_goTypes = nil + file_StoreItemDelNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StoreItemDelNotify.proto b/gate-hk4e-api/proto/StoreItemDelNotify.proto new file mode 100644 index 00000000..ea539662 --- /dev/null +++ b/gate-hk4e-api/proto/StoreItemDelNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "StoreType.proto"; + +option go_package = "./;proto"; + +// CmdId: 635 +// EnetChannelId: 0 +// EnetIsReliable: true +message StoreItemDelNotify { + repeated uint64 guid_list = 12; + StoreType store_type = 15; +} diff --git a/gate-hk4e-api/proto/StoreType.pb.go b/gate-hk4e-api/proto/StoreType.pb.go new file mode 100644 index 00000000..128d93af --- /dev/null +++ b/gate-hk4e-api/proto/StoreType.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StoreType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StoreType int32 + +const ( + StoreType_STORE_TYPE_NONE StoreType = 0 + StoreType_STORE_TYPE_PACK StoreType = 1 + StoreType_STORE_TYPE_DEPOT StoreType = 2 +) + +// Enum value maps for StoreType. +var ( + StoreType_name = map[int32]string{ + 0: "STORE_TYPE_NONE", + 1: "STORE_TYPE_PACK", + 2: "STORE_TYPE_DEPOT", + } + StoreType_value = map[string]int32{ + "STORE_TYPE_NONE": 0, + "STORE_TYPE_PACK": 1, + "STORE_TYPE_DEPOT": 2, + } +) + +func (x StoreType) Enum() *StoreType { + p := new(StoreType) + *p = x + return p +} + +func (x StoreType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StoreType) Descriptor() protoreflect.EnumDescriptor { + return file_StoreType_proto_enumTypes[0].Descriptor() +} + +func (StoreType) Type() protoreflect.EnumType { + return &file_StoreType_proto_enumTypes[0] +} + +func (x StoreType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StoreType.Descriptor instead. +func (StoreType) EnumDescriptor() ([]byte, []int) { + return file_StoreType_proto_rawDescGZIP(), []int{0} +} + +var File_StoreType_proto protoreflect.FileDescriptor + +var file_StoreType_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2a, 0x4b, 0x0a, 0x09, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, + 0x0a, 0x0f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x4f, 0x52, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x54, 0x10, 0x02, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_StoreType_proto_rawDescOnce sync.Once + file_StoreType_proto_rawDescData = file_StoreType_proto_rawDesc +) + +func file_StoreType_proto_rawDescGZIP() []byte { + file_StoreType_proto_rawDescOnce.Do(func() { + file_StoreType_proto_rawDescData = protoimpl.X.CompressGZIP(file_StoreType_proto_rawDescData) + }) + return file_StoreType_proto_rawDescData +} + +var file_StoreType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_StoreType_proto_goTypes = []interface{}{ + (StoreType)(0), // 0: StoreType +} +var file_StoreType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StoreType_proto_init() } +func file_StoreType_proto_init() { + if File_StoreType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StoreType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StoreType_proto_goTypes, + DependencyIndexes: file_StoreType_proto_depIdxs, + EnumInfos: file_StoreType_proto_enumTypes, + }.Build() + File_StoreType_proto = out.File + file_StoreType_proto_rawDesc = nil + file_StoreType_proto_goTypes = nil + file_StoreType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StoreType.proto b/gate-hk4e-api/proto/StoreType.proto new file mode 100644 index 00000000..1757c71c --- /dev/null +++ b/gate-hk4e-api/proto/StoreType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum StoreType { + STORE_TYPE_NONE = 0; + STORE_TYPE_PACK = 1; + STORE_TYPE_DEPOT = 2; +} diff --git a/gate-hk4e-api/proto/StoreWeightLimitNotify.pb.go b/gate-hk4e-api/proto/StoreWeightLimitNotify.pb.go new file mode 100644 index 00000000..11310f31 --- /dev/null +++ b/gate-hk4e-api/proto/StoreWeightLimitNotify.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StoreWeightLimitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 698 +// EnetChannelId: 0 +// EnetIsReliable: true +type StoreWeightLimitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeaponCountLimit uint32 `protobuf:"varint,2,opt,name=weapon_count_limit,json=weaponCountLimit,proto3" json:"weapon_count_limit,omitempty"` + StoreType StoreType `protobuf:"varint,7,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` + MaterialCountLimit uint32 `protobuf:"varint,4,opt,name=material_count_limit,json=materialCountLimit,proto3" json:"material_count_limit,omitempty"` + ReliquaryCountLimit uint32 `protobuf:"varint,6,opt,name=reliquary_count_limit,json=reliquaryCountLimit,proto3" json:"reliquary_count_limit,omitempty"` + FurnitureCountLimit uint32 `protobuf:"varint,9,opt,name=furniture_count_limit,json=furnitureCountLimit,proto3" json:"furniture_count_limit,omitempty"` + WeightLimit uint32 `protobuf:"varint,15,opt,name=weight_limit,json=weightLimit,proto3" json:"weight_limit,omitempty"` +} + +func (x *StoreWeightLimitNotify) Reset() { + *x = StoreWeightLimitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_StoreWeightLimitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StoreWeightLimitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StoreWeightLimitNotify) ProtoMessage() {} + +func (x *StoreWeightLimitNotify) ProtoReflect() protoreflect.Message { + mi := &file_StoreWeightLimitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StoreWeightLimitNotify.ProtoReflect.Descriptor instead. +func (*StoreWeightLimitNotify) Descriptor() ([]byte, []int) { + return file_StoreWeightLimitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *StoreWeightLimitNotify) GetWeaponCountLimit() uint32 { + if x != nil { + return x.WeaponCountLimit + } + return 0 +} + +func (x *StoreWeightLimitNotify) GetStoreType() StoreType { + if x != nil { + return x.StoreType + } + return StoreType_STORE_TYPE_NONE +} + +func (x *StoreWeightLimitNotify) GetMaterialCountLimit() uint32 { + if x != nil { + return x.MaterialCountLimit + } + return 0 +} + +func (x *StoreWeightLimitNotify) GetReliquaryCountLimit() uint32 { + if x != nil { + return x.ReliquaryCountLimit + } + return 0 +} + +func (x *StoreWeightLimitNotify) GetFurnitureCountLimit() uint32 { + if x != nil { + return x.FurnitureCountLimit + } + return 0 +} + +func (x *StoreWeightLimitNotify) GetWeightLimit() uint32 { + if x != nil { + return x.WeightLimit + } + return 0 +} + +var File_StoreWeightLimitNotify_proto protoreflect.FileDescriptor + +var file_StoreWeightLimitNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, + 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xae, 0x02, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x77, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, + 0x74, 0x6f, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, + 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_StoreWeightLimitNotify_proto_rawDescOnce sync.Once + file_StoreWeightLimitNotify_proto_rawDescData = file_StoreWeightLimitNotify_proto_rawDesc +) + +func file_StoreWeightLimitNotify_proto_rawDescGZIP() []byte { + file_StoreWeightLimitNotify_proto_rawDescOnce.Do(func() { + file_StoreWeightLimitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_StoreWeightLimitNotify_proto_rawDescData) + }) + return file_StoreWeightLimitNotify_proto_rawDescData +} + +var file_StoreWeightLimitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StoreWeightLimitNotify_proto_goTypes = []interface{}{ + (*StoreWeightLimitNotify)(nil), // 0: StoreWeightLimitNotify + (StoreType)(0), // 1: StoreType +} +var file_StoreWeightLimitNotify_proto_depIdxs = []int32{ + 1, // 0: StoreWeightLimitNotify.store_type:type_name -> StoreType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_StoreWeightLimitNotify_proto_init() } +func file_StoreWeightLimitNotify_proto_init() { + if File_StoreWeightLimitNotify_proto != nil { + return + } + file_StoreType_proto_init() + if !protoimpl.UnsafeEnabled { + file_StoreWeightLimitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StoreWeightLimitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StoreWeightLimitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StoreWeightLimitNotify_proto_goTypes, + DependencyIndexes: file_StoreWeightLimitNotify_proto_depIdxs, + MessageInfos: file_StoreWeightLimitNotify_proto_msgTypes, + }.Build() + File_StoreWeightLimitNotify_proto = out.File + file_StoreWeightLimitNotify_proto_rawDesc = nil + file_StoreWeightLimitNotify_proto_goTypes = nil + file_StoreWeightLimitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StoreWeightLimitNotify.proto b/gate-hk4e-api/proto/StoreWeightLimitNotify.proto new file mode 100644 index 00000000..b140e972 --- /dev/null +++ b/gate-hk4e-api/proto/StoreWeightLimitNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "StoreType.proto"; + +option go_package = "./;proto"; + +// CmdId: 698 +// EnetChannelId: 0 +// EnetIsReliable: true +message StoreWeightLimitNotify { + uint32 weapon_count_limit = 2; + StoreType store_type = 7; + uint32 material_count_limit = 4; + uint32 reliquary_count_limit = 6; + uint32 furniture_count_limit = 9; + uint32 weight_limit = 15; +} diff --git a/gate-hk4e-api/proto/StrengthenPointData.pb.go b/gate-hk4e-api/proto/StrengthenPointData.pb.go new file mode 100644 index 00000000..02780740 --- /dev/null +++ b/gate-hk4e-api/proto/StrengthenPointData.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: StrengthenPointData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StrengthenPointData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BasePoint uint32 `protobuf:"varint,10,opt,name=base_point,json=basePoint,proto3" json:"base_point,omitempty"` + CurPoint uint32 `protobuf:"varint,11,opt,name=cur_point,json=curPoint,proto3" json:"cur_point,omitempty"` +} + +func (x *StrengthenPointData) Reset() { + *x = StrengthenPointData{} + if protoimpl.UnsafeEnabled { + mi := &file_StrengthenPointData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StrengthenPointData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StrengthenPointData) ProtoMessage() {} + +func (x *StrengthenPointData) ProtoReflect() protoreflect.Message { + mi := &file_StrengthenPointData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StrengthenPointData.ProtoReflect.Descriptor instead. +func (*StrengthenPointData) Descriptor() ([]byte, []int) { + return file_StrengthenPointData_proto_rawDescGZIP(), []int{0} +} + +func (x *StrengthenPointData) GetBasePoint() uint32 { + if x != nil { + return x.BasePoint + } + return 0 +} + +func (x *StrengthenPointData) GetCurPoint() uint32 { + if x != nil { + return x.CurPoint + } + return 0 +} + +var File_StrengthenPointData_proto protoreflect.FileDescriptor + +var file_StrengthenPointData_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x53, + 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_StrengthenPointData_proto_rawDescOnce sync.Once + file_StrengthenPointData_proto_rawDescData = file_StrengthenPointData_proto_rawDesc +) + +func file_StrengthenPointData_proto_rawDescGZIP() []byte { + file_StrengthenPointData_proto_rawDescOnce.Do(func() { + file_StrengthenPointData_proto_rawDescData = protoimpl.X.CompressGZIP(file_StrengthenPointData_proto_rawDescData) + }) + return file_StrengthenPointData_proto_rawDescData +} + +var file_StrengthenPointData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_StrengthenPointData_proto_goTypes = []interface{}{ + (*StrengthenPointData)(nil), // 0: StrengthenPointData +} +var file_StrengthenPointData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_StrengthenPointData_proto_init() } +func file_StrengthenPointData_proto_init() { + if File_StrengthenPointData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_StrengthenPointData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StrengthenPointData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_StrengthenPointData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_StrengthenPointData_proto_goTypes, + DependencyIndexes: file_StrengthenPointData_proto_depIdxs, + MessageInfos: file_StrengthenPointData_proto_msgTypes, + }.Build() + File_StrengthenPointData_proto = out.File + file_StrengthenPointData_proto_rawDesc = nil + file_StrengthenPointData_proto_goTypes = nil + file_StrengthenPointData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/StrengthenPointData.proto b/gate-hk4e-api/proto/StrengthenPointData.proto new file mode 100644 index 00000000..b8874605 --- /dev/null +++ b/gate-hk4e-api/proto/StrengthenPointData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message StrengthenPointData { + uint32 base_point = 10; + uint32 cur_point = 11; +} diff --git a/gate-hk4e-api/proto/SummerTimeDetailInfo.pb.go b/gate-hk4e-api/proto/SummerTimeDetailInfo.pb.go new file mode 100644 index 00000000..e40cd184 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeDetailInfo.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageMap map[uint32]*SummerTimeStageInfo `protobuf:"bytes,3,rep,name=stage_map,json=stageMap,proto3" json:"stage_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ContentCloseTime uint32 `protobuf:"varint,11,opt,name=content_close_time,json=contentCloseTime,proto3" json:"content_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,13,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + SprintBoatInfo *SummerTimeSprintBoatInfo `protobuf:"bytes,4,opt,name=sprint_boat_info,json=sprintBoatInfo,proto3" json:"sprint_boat_info,omitempty"` +} + +func (x *SummerTimeDetailInfo) Reset() { + *x = SummerTimeDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeDetailInfo) ProtoMessage() {} + +func (x *SummerTimeDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeDetailInfo.ProtoReflect.Descriptor instead. +func (*SummerTimeDetailInfo) Descriptor() ([]byte, []int) { + return file_SummerTimeDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeDetailInfo) GetStageMap() map[uint32]*SummerTimeStageInfo { + if x != nil { + return x.StageMap + } + return nil +} + +func (x *SummerTimeDetailInfo) GetContentCloseTime() uint32 { + if x != nil { + return x.ContentCloseTime + } + return 0 +} + +func (x *SummerTimeDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *SummerTimeDetailInfo) GetSprintBoatInfo() *SummerTimeSprintBoatInfo { + if x != nil { + return x.SprintBoatInfo + } + return nil +} + +var File_SummerTimeDetailInfo_proto protoreflect.FileDescriptor + +var file_SummerTimeDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x53, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, + 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x53, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x02, 0x0a, 0x14, 0x53, 0x75, 0x6d, 0x6d, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x40, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4d, + 0x61, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, + 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, + 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x10, + 0x73, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x5f, 0x62, 0x6f, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, + 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x73, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x1a, 0x51, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeDetailInfo_proto_rawDescOnce sync.Once + file_SummerTimeDetailInfo_proto_rawDescData = file_SummerTimeDetailInfo_proto_rawDesc +) + +func file_SummerTimeDetailInfo_proto_rawDescGZIP() []byte { + file_SummerTimeDetailInfo_proto_rawDescOnce.Do(func() { + file_SummerTimeDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeDetailInfo_proto_rawDescData) + }) + return file_SummerTimeDetailInfo_proto_rawDescData +} + +var file_SummerTimeDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SummerTimeDetailInfo_proto_goTypes = []interface{}{ + (*SummerTimeDetailInfo)(nil), // 0: SummerTimeDetailInfo + nil, // 1: SummerTimeDetailInfo.StageMapEntry + (*SummerTimeSprintBoatInfo)(nil), // 2: SummerTimeSprintBoatInfo + (*SummerTimeStageInfo)(nil), // 3: SummerTimeStageInfo +} +var file_SummerTimeDetailInfo_proto_depIdxs = []int32{ + 1, // 0: SummerTimeDetailInfo.stage_map:type_name -> SummerTimeDetailInfo.StageMapEntry + 2, // 1: SummerTimeDetailInfo.sprint_boat_info:type_name -> SummerTimeSprintBoatInfo + 3, // 2: SummerTimeDetailInfo.StageMapEntry.value:type_name -> SummerTimeStageInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_SummerTimeDetailInfo_proto_init() } +func file_SummerTimeDetailInfo_proto_init() { + if File_SummerTimeDetailInfo_proto != nil { + return + } + file_SummerTimeSprintBoatInfo_proto_init() + file_SummerTimeStageInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SummerTimeDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeDetailInfo_proto_goTypes, + DependencyIndexes: file_SummerTimeDetailInfo_proto_depIdxs, + MessageInfos: file_SummerTimeDetailInfo_proto_msgTypes, + }.Build() + File_SummerTimeDetailInfo_proto = out.File + file_SummerTimeDetailInfo_proto_rawDesc = nil + file_SummerTimeDetailInfo_proto_goTypes = nil + file_SummerTimeDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeDetailInfo.proto b/gate-hk4e-api/proto/SummerTimeDetailInfo.proto new file mode 100644 index 00000000..c953d70f --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeDetailInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SummerTimeSprintBoatInfo.proto"; +import "SummerTimeStageInfo.proto"; + +option go_package = "./;proto"; + +message SummerTimeDetailInfo { + map stage_map = 3; + uint32 content_close_time = 11; + bool is_content_closed = 13; + SummerTimeSprintBoatInfo sprint_boat_info = 4; +} diff --git a/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.pb.go b/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.pb.go new file mode 100644 index 00000000..6a33274e --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeFloatSignalPositionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8077 +// EnetChannelId: 0 +// EnetIsReliable: true +type SummerTimeFloatSignalPositionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position *Vector `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + IsTransferAnchor bool `protobuf:"varint,5,opt,name=is_transfer_anchor,json=isTransferAnchor,proto3" json:"is_transfer_anchor,omitempty"` + FloatSignalId uint32 `protobuf:"varint,7,opt,name=float_signal_id,json=floatSignalId,proto3" json:"float_signal_id,omitempty"` +} + +func (x *SummerTimeFloatSignalPositionNotify) Reset() { + *x = SummerTimeFloatSignalPositionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeFloatSignalPositionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeFloatSignalPositionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeFloatSignalPositionNotify) ProtoMessage() {} + +func (x *SummerTimeFloatSignalPositionNotify) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeFloatSignalPositionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeFloatSignalPositionNotify.ProtoReflect.Descriptor instead. +func (*SummerTimeFloatSignalPositionNotify) Descriptor() ([]byte, []int) { + return file_SummerTimeFloatSignalPositionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeFloatSignalPositionNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +func (x *SummerTimeFloatSignalPositionNotify) GetIsTransferAnchor() bool { + if x != nil { + return x.IsTransferAnchor + } + return false +} + +func (x *SummerTimeFloatSignalPositionNotify) GetFloatSignalId() uint32 { + if x != nil { + return x.FloatSignalId + } + return 0 +} + +var File_SummerTimeFloatSignalPositionNotify_proto protoreflect.FileDescriptor + +var file_SummerTimeFloatSignalPositionNotify_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x23, 0x53, 0x75, + 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x6e, + 0x63, 0x68, 0x6f, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x66, + 0x6c, 0x6f, 0x61, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeFloatSignalPositionNotify_proto_rawDescOnce sync.Once + file_SummerTimeFloatSignalPositionNotify_proto_rawDescData = file_SummerTimeFloatSignalPositionNotify_proto_rawDesc +) + +func file_SummerTimeFloatSignalPositionNotify_proto_rawDescGZIP() []byte { + file_SummerTimeFloatSignalPositionNotify_proto_rawDescOnce.Do(func() { + file_SummerTimeFloatSignalPositionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeFloatSignalPositionNotify_proto_rawDescData) + }) + return file_SummerTimeFloatSignalPositionNotify_proto_rawDescData +} + +var file_SummerTimeFloatSignalPositionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeFloatSignalPositionNotify_proto_goTypes = []interface{}{ + (*SummerTimeFloatSignalPositionNotify)(nil), // 0: SummerTimeFloatSignalPositionNotify + (*Vector)(nil), // 1: Vector +} +var file_SummerTimeFloatSignalPositionNotify_proto_depIdxs = []int32{ + 1, // 0: SummerTimeFloatSignalPositionNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SummerTimeFloatSignalPositionNotify_proto_init() } +func file_SummerTimeFloatSignalPositionNotify_proto_init() { + if File_SummerTimeFloatSignalPositionNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SummerTimeFloatSignalPositionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeFloatSignalPositionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeFloatSignalPositionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeFloatSignalPositionNotify_proto_goTypes, + DependencyIndexes: file_SummerTimeFloatSignalPositionNotify_proto_depIdxs, + MessageInfos: file_SummerTimeFloatSignalPositionNotify_proto_msgTypes, + }.Build() + File_SummerTimeFloatSignalPositionNotify_proto = out.File + file_SummerTimeFloatSignalPositionNotify_proto_rawDesc = nil + file_SummerTimeFloatSignalPositionNotify_proto_goTypes = nil + file_SummerTimeFloatSignalPositionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.proto b/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.proto new file mode 100644 index 00000000..5b2993f2 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeFloatSignalPositionNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 8077 +// EnetChannelId: 0 +// EnetIsReliable: true +message SummerTimeFloatSignalPositionNotify { + Vector position = 1; + bool is_transfer_anchor = 5; + uint32 float_signal_id = 7; +} diff --git a/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.pb.go b/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.pb.go new file mode 100644 index 00000000..8fc80893 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeFloatSignalUpdateNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8781 +// EnetChannelId: 0 +// EnetIsReliable: true +type SummerTimeFloatSignalUpdateNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTransferAnchor bool `protobuf:"varint,4,opt,name=is_transfer_anchor,json=isTransferAnchor,proto3" json:"is_transfer_anchor,omitempty"` + FloatSignalId uint32 `protobuf:"varint,8,opt,name=float_signal_id,json=floatSignalId,proto3" json:"float_signal_id,omitempty"` + Position *Vector `protobuf:"bytes,10,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *SummerTimeFloatSignalUpdateNotify) Reset() { + *x = SummerTimeFloatSignalUpdateNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeFloatSignalUpdateNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeFloatSignalUpdateNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeFloatSignalUpdateNotify) ProtoMessage() {} + +func (x *SummerTimeFloatSignalUpdateNotify) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeFloatSignalUpdateNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeFloatSignalUpdateNotify.ProtoReflect.Descriptor instead. +func (*SummerTimeFloatSignalUpdateNotify) Descriptor() ([]byte, []int) { + return file_SummerTimeFloatSignalUpdateNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeFloatSignalUpdateNotify) GetIsTransferAnchor() bool { + if x != nil { + return x.IsTransferAnchor + } + return false +} + +func (x *SummerTimeFloatSignalUpdateNotify) GetFloatSignalId() uint32 { + if x != nil { + return x.FloatSignalId + } + return 0 +} + +func (x *SummerTimeFloatSignalUpdateNotify) GetPosition() *Vector { + if x != nil { + return x.Position + } + return nil +} + +var File_SummerTimeFloatSignalUpdateNotify_proto protoreflect.FileDescriptor + +var file_SummerTimeFloatSignalUpdateNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x21, 0x53, 0x75, 0x6d, 0x6d, + 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, + 0x12, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x61, 0x6e, 0x63, + 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x66, + 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeFloatSignalUpdateNotify_proto_rawDescOnce sync.Once + file_SummerTimeFloatSignalUpdateNotify_proto_rawDescData = file_SummerTimeFloatSignalUpdateNotify_proto_rawDesc +) + +func file_SummerTimeFloatSignalUpdateNotify_proto_rawDescGZIP() []byte { + file_SummerTimeFloatSignalUpdateNotify_proto_rawDescOnce.Do(func() { + file_SummerTimeFloatSignalUpdateNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeFloatSignalUpdateNotify_proto_rawDescData) + }) + return file_SummerTimeFloatSignalUpdateNotify_proto_rawDescData +} + +var file_SummerTimeFloatSignalUpdateNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeFloatSignalUpdateNotify_proto_goTypes = []interface{}{ + (*SummerTimeFloatSignalUpdateNotify)(nil), // 0: SummerTimeFloatSignalUpdateNotify + (*Vector)(nil), // 1: Vector +} +var file_SummerTimeFloatSignalUpdateNotify_proto_depIdxs = []int32{ + 1, // 0: SummerTimeFloatSignalUpdateNotify.position:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SummerTimeFloatSignalUpdateNotify_proto_init() } +func file_SummerTimeFloatSignalUpdateNotify_proto_init() { + if File_SummerTimeFloatSignalUpdateNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_SummerTimeFloatSignalUpdateNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeFloatSignalUpdateNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeFloatSignalUpdateNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeFloatSignalUpdateNotify_proto_goTypes, + DependencyIndexes: file_SummerTimeFloatSignalUpdateNotify_proto_depIdxs, + MessageInfos: file_SummerTimeFloatSignalUpdateNotify_proto_msgTypes, + }.Build() + File_SummerTimeFloatSignalUpdateNotify_proto = out.File + file_SummerTimeFloatSignalUpdateNotify_proto_rawDesc = nil + file_SummerTimeFloatSignalUpdateNotify_proto_goTypes = nil + file_SummerTimeFloatSignalUpdateNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.proto b/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.proto new file mode 100644 index 00000000..e8d5e83b --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeFloatSignalUpdateNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 8781 +// EnetChannelId: 0 +// EnetIsReliable: true +message SummerTimeFloatSignalUpdateNotify { + bool is_transfer_anchor = 4; + uint32 float_signal_id = 8; + Vector position = 10; +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.pb.go b/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.pb.go new file mode 100644 index 00000000..3a43268d --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeSprintBoatInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeSprintBoatInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RecordList []*SummerTimeSprintBoatRecord `protobuf:"bytes,7,rep,name=record_list,json=recordList,proto3" json:"record_list,omitempty"` +} + +func (x *SummerTimeSprintBoatInfo) Reset() { + *x = SummerTimeSprintBoatInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeSprintBoatInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeSprintBoatInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeSprintBoatInfo) ProtoMessage() {} + +func (x *SummerTimeSprintBoatInfo) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeSprintBoatInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeSprintBoatInfo.ProtoReflect.Descriptor instead. +func (*SummerTimeSprintBoatInfo) Descriptor() ([]byte, []int) { + return file_SummerTimeSprintBoatInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeSprintBoatInfo) GetRecordList() []*SummerTimeSprintBoatRecord { + if x != nil { + return x.RecordList + } + return nil +} + +var File_SummerTimeSprintBoatInfo_proto protoreflect.FileDescriptor + +var file_SummerTimeSprintBoatInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x20, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x18, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, + 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeSprintBoatInfo_proto_rawDescOnce sync.Once + file_SummerTimeSprintBoatInfo_proto_rawDescData = file_SummerTimeSprintBoatInfo_proto_rawDesc +) + +func file_SummerTimeSprintBoatInfo_proto_rawDescGZIP() []byte { + file_SummerTimeSprintBoatInfo_proto_rawDescOnce.Do(func() { + file_SummerTimeSprintBoatInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeSprintBoatInfo_proto_rawDescData) + }) + return file_SummerTimeSprintBoatInfo_proto_rawDescData +} + +var file_SummerTimeSprintBoatInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeSprintBoatInfo_proto_goTypes = []interface{}{ + (*SummerTimeSprintBoatInfo)(nil), // 0: SummerTimeSprintBoatInfo + (*SummerTimeSprintBoatRecord)(nil), // 1: SummerTimeSprintBoatRecord +} +var file_SummerTimeSprintBoatInfo_proto_depIdxs = []int32{ + 1, // 0: SummerTimeSprintBoatInfo.record_list:type_name -> SummerTimeSprintBoatRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SummerTimeSprintBoatInfo_proto_init() } +func file_SummerTimeSprintBoatInfo_proto_init() { + if File_SummerTimeSprintBoatInfo_proto != nil { + return + } + file_SummerTimeSprintBoatRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_SummerTimeSprintBoatInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeSprintBoatInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeSprintBoatInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeSprintBoatInfo_proto_goTypes, + DependencyIndexes: file_SummerTimeSprintBoatInfo_proto_depIdxs, + MessageInfos: file_SummerTimeSprintBoatInfo_proto_msgTypes, + }.Build() + File_SummerTimeSprintBoatInfo_proto = out.File + file_SummerTimeSprintBoatInfo_proto_rawDesc = nil + file_SummerTimeSprintBoatInfo_proto_goTypes = nil + file_SummerTimeSprintBoatInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.proto b/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.proto new file mode 100644 index 00000000..0c1ae6eb --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SummerTimeSprintBoatRecord.proto"; + +option go_package = "./;proto"; + +message SummerTimeSprintBoatInfo { + repeated SummerTimeSprintBoatRecord record_list = 7; +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.pb.go b/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.pb.go new file mode 100644 index 00000000..77ef9316 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeSprintBoatRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeSprintBoatRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BestScore uint32 `protobuf:"varint,3,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` + StartTime uint32 `protobuf:"varint,13,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + IsTouched bool `protobuf:"varint,7,opt,name=is_touched,json=isTouched,proto3" json:"is_touched,omitempty"` + WatcherIdList []uint32 `protobuf:"varint,10,rep,packed,name=watcher_id_list,json=watcherIdList,proto3" json:"watcher_id_list,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *SummerTimeSprintBoatRecord) Reset() { + *x = SummerTimeSprintBoatRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeSprintBoatRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeSprintBoatRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeSprintBoatRecord) ProtoMessage() {} + +func (x *SummerTimeSprintBoatRecord) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeSprintBoatRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeSprintBoatRecord.ProtoReflect.Descriptor instead. +func (*SummerTimeSprintBoatRecord) Descriptor() ([]byte, []int) { + return file_SummerTimeSprintBoatRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeSprintBoatRecord) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +func (x *SummerTimeSprintBoatRecord) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *SummerTimeSprintBoatRecord) GetIsTouched() bool { + if x != nil { + return x.IsTouched + } + return false +} + +func (x *SummerTimeSprintBoatRecord) GetWatcherIdList() []uint32 { + if x != nil { + return x.WatcherIdList + } + return nil +} + +func (x *SummerTimeSprintBoatRecord) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_SummerTimeSprintBoatRecord_proto protoreflect.FileDescriptor + +var file_SummerTimeSprintBoatRecord_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x1a, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x12, 0x26, + 0x0a, 0x0f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeSprintBoatRecord_proto_rawDescOnce sync.Once + file_SummerTimeSprintBoatRecord_proto_rawDescData = file_SummerTimeSprintBoatRecord_proto_rawDesc +) + +func file_SummerTimeSprintBoatRecord_proto_rawDescGZIP() []byte { + file_SummerTimeSprintBoatRecord_proto_rawDescOnce.Do(func() { + file_SummerTimeSprintBoatRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeSprintBoatRecord_proto_rawDescData) + }) + return file_SummerTimeSprintBoatRecord_proto_rawDescData +} + +var file_SummerTimeSprintBoatRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeSprintBoatRecord_proto_goTypes = []interface{}{ + (*SummerTimeSprintBoatRecord)(nil), // 0: SummerTimeSprintBoatRecord +} +var file_SummerTimeSprintBoatRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeSprintBoatRecord_proto_init() } +func file_SummerTimeSprintBoatRecord_proto_init() { + if File_SummerTimeSprintBoatRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeSprintBoatRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeSprintBoatRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeSprintBoatRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeSprintBoatRecord_proto_goTypes, + DependencyIndexes: file_SummerTimeSprintBoatRecord_proto_depIdxs, + MessageInfos: file_SummerTimeSprintBoatRecord_proto_msgTypes, + }.Build() + File_SummerTimeSprintBoatRecord_proto = out.File + file_SummerTimeSprintBoatRecord_proto_rawDesc = nil + file_SummerTimeSprintBoatRecord_proto_goTypes = nil + file_SummerTimeSprintBoatRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.proto b/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.proto new file mode 100644 index 00000000..9853e7b8 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRecord.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SummerTimeSprintBoatRecord { + uint32 best_score = 3; + uint32 start_time = 13; + bool is_touched = 7; + repeated uint32 watcher_id_list = 10; + uint32 group_id = 2; +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.pb.go b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.pb.go new file mode 100644 index 00000000..80ef1eaa --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeSprintBoatRestartReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8410 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SummerTimeSprintBoatRestartReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,10,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ScheduleId uint32 `protobuf:"varint,14,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *SummerTimeSprintBoatRestartReq) Reset() { + *x = SummerTimeSprintBoatRestartReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeSprintBoatRestartReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeSprintBoatRestartReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeSprintBoatRestartReq) ProtoMessage() {} + +func (x *SummerTimeSprintBoatRestartReq) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeSprintBoatRestartReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeSprintBoatRestartReq.ProtoReflect.Descriptor instead. +func (*SummerTimeSprintBoatRestartReq) Descriptor() ([]byte, []int) { + return file_SummerTimeSprintBoatRestartReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeSprintBoatRestartReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *SummerTimeSprintBoatRestartReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_SummerTimeSprintBoatRestartReq_proto protoreflect.FileDescriptor + +var file_SummerTimeSprintBoatRestartReq_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x1e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeSprintBoatRestartReq_proto_rawDescOnce sync.Once + file_SummerTimeSprintBoatRestartReq_proto_rawDescData = file_SummerTimeSprintBoatRestartReq_proto_rawDesc +) + +func file_SummerTimeSprintBoatRestartReq_proto_rawDescGZIP() []byte { + file_SummerTimeSprintBoatRestartReq_proto_rawDescOnce.Do(func() { + file_SummerTimeSprintBoatRestartReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeSprintBoatRestartReq_proto_rawDescData) + }) + return file_SummerTimeSprintBoatRestartReq_proto_rawDescData +} + +var file_SummerTimeSprintBoatRestartReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeSprintBoatRestartReq_proto_goTypes = []interface{}{ + (*SummerTimeSprintBoatRestartReq)(nil), // 0: SummerTimeSprintBoatRestartReq +} +var file_SummerTimeSprintBoatRestartReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeSprintBoatRestartReq_proto_init() } +func file_SummerTimeSprintBoatRestartReq_proto_init() { + if File_SummerTimeSprintBoatRestartReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeSprintBoatRestartReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeSprintBoatRestartReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeSprintBoatRestartReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeSprintBoatRestartReq_proto_goTypes, + DependencyIndexes: file_SummerTimeSprintBoatRestartReq_proto_depIdxs, + MessageInfos: file_SummerTimeSprintBoatRestartReq_proto_msgTypes, + }.Build() + File_SummerTimeSprintBoatRestartReq_proto = out.File + file_SummerTimeSprintBoatRestartReq_proto_rawDesc = nil + file_SummerTimeSprintBoatRestartReq_proto_goTypes = nil + file_SummerTimeSprintBoatRestartReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.proto b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.proto new file mode 100644 index 00000000..a602d2d6 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8410 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SummerTimeSprintBoatRestartReq { + uint32 group_id = 10; + uint32 schedule_id = 14; +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.pb.go b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.pb.go new file mode 100644 index 00000000..eb9ce609 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeSprintBoatRestartRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8356 +// EnetChannelId: 0 +// EnetIsReliable: true +type SummerTimeSprintBoatRestartRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *SummerTimeSprintBoatRestartRsp) Reset() { + *x = SummerTimeSprintBoatRestartRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeSprintBoatRestartRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeSprintBoatRestartRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeSprintBoatRestartRsp) ProtoMessage() {} + +func (x *SummerTimeSprintBoatRestartRsp) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeSprintBoatRestartRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeSprintBoatRestartRsp.ProtoReflect.Descriptor instead. +func (*SummerTimeSprintBoatRestartRsp) Descriptor() ([]byte, []int) { + return file_SummerTimeSprintBoatRestartRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeSprintBoatRestartRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SummerTimeSprintBoatRestartRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *SummerTimeSprintBoatRestartRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_SummerTimeSprintBoatRestartRsp_proto protoreflect.FileDescriptor + +var file_SummerTimeSprintBoatRestartRsp_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x1e, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SummerTimeSprintBoatRestartRsp_proto_rawDescOnce sync.Once + file_SummerTimeSprintBoatRestartRsp_proto_rawDescData = file_SummerTimeSprintBoatRestartRsp_proto_rawDesc +) + +func file_SummerTimeSprintBoatRestartRsp_proto_rawDescGZIP() []byte { + file_SummerTimeSprintBoatRestartRsp_proto_rawDescOnce.Do(func() { + file_SummerTimeSprintBoatRestartRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeSprintBoatRestartRsp_proto_rawDescData) + }) + return file_SummerTimeSprintBoatRestartRsp_proto_rawDescData +} + +var file_SummerTimeSprintBoatRestartRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeSprintBoatRestartRsp_proto_goTypes = []interface{}{ + (*SummerTimeSprintBoatRestartRsp)(nil), // 0: SummerTimeSprintBoatRestartRsp +} +var file_SummerTimeSprintBoatRestartRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeSprintBoatRestartRsp_proto_init() } +func file_SummerTimeSprintBoatRestartRsp_proto_init() { + if File_SummerTimeSprintBoatRestartRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeSprintBoatRestartRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeSprintBoatRestartRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeSprintBoatRestartRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeSprintBoatRestartRsp_proto_goTypes, + DependencyIndexes: file_SummerTimeSprintBoatRestartRsp_proto_depIdxs, + MessageInfos: file_SummerTimeSprintBoatRestartRsp_proto_msgTypes, + }.Build() + File_SummerTimeSprintBoatRestartRsp_proto = out.File + file_SummerTimeSprintBoatRestartRsp_proto_rawDesc = nil + file_SummerTimeSprintBoatRestartRsp_proto_goTypes = nil + file_SummerTimeSprintBoatRestartRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.proto b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.proto new file mode 100644 index 00000000..02c592e3 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatRestartRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8356 +// EnetChannelId: 0 +// EnetIsReliable: true +message SummerTimeSprintBoatRestartRsp { + int32 retcode = 10; + uint32 schedule_id = 5; + uint32 group_id = 4; +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.pb.go b/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.pb.go new file mode 100644 index 00000000..f12b96f9 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeSprintBoatSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8651 +// EnetChannelId: 0 +// EnetIsReliable: true +type SummerTimeSprintBoatSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalNum uint32 `protobuf:"varint,13,opt,name=total_num,json=totalNum,proto3" json:"total_num,omitempty"` + GroupId uint32 `protobuf:"varint,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + IsSuccess bool `protobuf:"varint,15,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + CollectNum uint32 `protobuf:"varint,6,opt,name=collect_num,json=collectNum,proto3" json:"collect_num,omitempty"` + LeftTime uint32 `protobuf:"varint,8,opt,name=left_time,json=leftTime,proto3" json:"left_time,omitempty"` + MedalLevel uint32 `protobuf:"varint,2,opt,name=medal_level,json=medalLevel,proto3" json:"medal_level,omitempty"` + Score uint32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` + IsNewRecord bool `protobuf:"varint,7,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *SummerTimeSprintBoatSettleNotify) Reset() { + *x = SummerTimeSprintBoatSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeSprintBoatSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeSprintBoatSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeSprintBoatSettleNotify) ProtoMessage() {} + +func (x *SummerTimeSprintBoatSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeSprintBoatSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeSprintBoatSettleNotify.ProtoReflect.Descriptor instead. +func (*SummerTimeSprintBoatSettleNotify) Descriptor() ([]byte, []int) { + return file_SummerTimeSprintBoatSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeSprintBoatSettleNotify) GetTotalNum() uint32 { + if x != nil { + return x.TotalNum + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *SummerTimeSprintBoatSettleNotify) GetCollectNum() uint32 { + if x != nil { + return x.CollectNum + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetLeftTime() uint32 { + if x != nil { + return x.LeftTime + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetMedalLevel() uint32 { + if x != nil { + return x.MedalLevel + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *SummerTimeSprintBoatSettleNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_SummerTimeSprintBoatSettleNotify_proto protoreflect.FileDescriptor + +var file_SummerTimeSprintBoatSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, + 0x6e, 0x74, 0x42, 0x6f, 0x61, 0x74, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x02, 0x0a, 0x20, 0x53, 0x75, 0x6d, + 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x42, 0x6f, 0x61, + 0x74, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x65, 0x66, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x64, 0x61, 0x6c, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x65, 0x64, 0x61, 0x6c, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, + 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_SummerTimeSprintBoatSettleNotify_proto_rawDescOnce sync.Once + file_SummerTimeSprintBoatSettleNotify_proto_rawDescData = file_SummerTimeSprintBoatSettleNotify_proto_rawDesc +) + +func file_SummerTimeSprintBoatSettleNotify_proto_rawDescGZIP() []byte { + file_SummerTimeSprintBoatSettleNotify_proto_rawDescOnce.Do(func() { + file_SummerTimeSprintBoatSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeSprintBoatSettleNotify_proto_rawDescData) + }) + return file_SummerTimeSprintBoatSettleNotify_proto_rawDescData +} + +var file_SummerTimeSprintBoatSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeSprintBoatSettleNotify_proto_goTypes = []interface{}{ + (*SummerTimeSprintBoatSettleNotify)(nil), // 0: SummerTimeSprintBoatSettleNotify +} +var file_SummerTimeSprintBoatSettleNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeSprintBoatSettleNotify_proto_init() } +func file_SummerTimeSprintBoatSettleNotify_proto_init() { + if File_SummerTimeSprintBoatSettleNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeSprintBoatSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeSprintBoatSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeSprintBoatSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeSprintBoatSettleNotify_proto_goTypes, + DependencyIndexes: file_SummerTimeSprintBoatSettleNotify_proto_depIdxs, + MessageInfos: file_SummerTimeSprintBoatSettleNotify_proto_msgTypes, + }.Build() + File_SummerTimeSprintBoatSettleNotify_proto = out.File + file_SummerTimeSprintBoatSettleNotify_proto_rawDesc = nil + file_SummerTimeSprintBoatSettleNotify_proto_goTypes = nil + file_SummerTimeSprintBoatSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.proto b/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.proto new file mode 100644 index 00000000..67453f29 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeSprintBoatSettleNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8651 +// EnetChannelId: 0 +// EnetIsReliable: true +message SummerTimeSprintBoatSettleNotify { + uint32 total_num = 13; + uint32 group_id = 12; + bool is_success = 15; + uint32 collect_num = 6; + uint32 left_time = 8; + uint32 medal_level = 2; + uint32 score = 10; + bool is_new_record = 7; +} diff --git a/gate-hk4e-api/proto/SummerTimeStageInfo.pb.go b/gate-hk4e-api/proto/SummerTimeStageInfo.pb.go new file mode 100644 index 00000000..5af46127 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeStageInfo.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeStageInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeStageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,13,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,10,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *SummerTimeStageInfo) Reset() { + *x = SummerTimeStageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeStageInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeStageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeStageInfo) ProtoMessage() {} + +func (x *SummerTimeStageInfo) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeStageInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeStageInfo.ProtoReflect.Descriptor instead. +func (*SummerTimeStageInfo) Descriptor() ([]byte, []int) { + return file_SummerTimeStageInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeStageInfo) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *SummerTimeStageInfo) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *SummerTimeStageInfo) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_SummerTimeStageInfo_proto protoreflect.FileDescriptor + +var file_SummerTimeStageInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x13, 0x53, + 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, + 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeStageInfo_proto_rawDescOnce sync.Once + file_SummerTimeStageInfo_proto_rawDescData = file_SummerTimeStageInfo_proto_rawDesc +) + +func file_SummerTimeStageInfo_proto_rawDescGZIP() []byte { + file_SummerTimeStageInfo_proto_rawDescOnce.Do(func() { + file_SummerTimeStageInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeStageInfo_proto_rawDescData) + }) + return file_SummerTimeStageInfo_proto_rawDescData +} + +var file_SummerTimeStageInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeStageInfo_proto_goTypes = []interface{}{ + (*SummerTimeStageInfo)(nil), // 0: SummerTimeStageInfo +} +var file_SummerTimeStageInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeStageInfo_proto_init() } +func file_SummerTimeStageInfo_proto_init() { + if File_SummerTimeStageInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeStageInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeStageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeStageInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeStageInfo_proto_goTypes, + DependencyIndexes: file_SummerTimeStageInfo_proto_depIdxs, + MessageInfos: file_SummerTimeStageInfo_proto_msgTypes, + }.Build() + File_SummerTimeStageInfo_proto = out.File + file_SummerTimeStageInfo_proto_rawDesc = nil + file_SummerTimeStageInfo_proto_goTypes = nil + file_SummerTimeStageInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeStageInfo.proto b/gate-hk4e-api/proto/SummerTimeStageInfo.proto new file mode 100644 index 00000000..eb18023b --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeStageInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SummerTimeStageInfo { + bool is_open = 13; + uint32 open_time = 10; + uint32 stage_id = 1; +} diff --git a/gate-hk4e-api/proto/SummerTimeV2DetailInfo.pb.go b/gate-hk4e-api/proto/SummerTimeV2DetailInfo.pb.go new file mode 100644 index 00000000..4112b51d --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeV2DetailInfo.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeV2DetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeV2DetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_PNBLCPIBKPO []*Unk2800_CGODFDDALAG `protobuf:"bytes,13,rep,name=Unk2800_PNBLCPIBKPO,json=Unk2800PNBLCPIBKPO,proto3" json:"Unk2800_PNBLCPIBKPO,omitempty"` + Unk2800_HDEFJKGDNEH uint32 `protobuf:"varint,10,opt,name=Unk2800_HDEFJKGDNEH,json=Unk2800HDEFJKGDNEH,proto3" json:"Unk2800_HDEFJKGDNEH,omitempty"` + IsContentClosed bool `protobuf:"varint,4,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk2800_ELHBCNPKOJG uint32 `protobuf:"varint,5,opt,name=Unk2800_ELHBCNPKOJG,json=Unk2800ELHBCNPKOJG,proto3" json:"Unk2800_ELHBCNPKOJG,omitempty"` + Unk2800_MPKLJJIEHIB []*Unk2800_CGPNLBNMPCM `protobuf:"bytes,15,rep,name=Unk2800_MPKLJJIEHIB,json=Unk2800MPKLJJIEHIB,proto3" json:"Unk2800_MPKLJJIEHIB,omitempty"` +} + +func (x *SummerTimeV2DetailInfo) Reset() { + *x = SummerTimeV2DetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeV2DetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeV2DetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeV2DetailInfo) ProtoMessage() {} + +func (x *SummerTimeV2DetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeV2DetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeV2DetailInfo.ProtoReflect.Descriptor instead. +func (*SummerTimeV2DetailInfo) Descriptor() ([]byte, []int) { + return file_SummerTimeV2DetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeV2DetailInfo) GetUnk2800_PNBLCPIBKPO() []*Unk2800_CGODFDDALAG { + if x != nil { + return x.Unk2800_PNBLCPIBKPO + } + return nil +} + +func (x *SummerTimeV2DetailInfo) GetUnk2800_HDEFJKGDNEH() uint32 { + if x != nil { + return x.Unk2800_HDEFJKGDNEH + } + return 0 +} + +func (x *SummerTimeV2DetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *SummerTimeV2DetailInfo) GetUnk2800_ELHBCNPKOJG() uint32 { + if x != nil { + return x.Unk2800_ELHBCNPKOJG + } + return 0 +} + +func (x *SummerTimeV2DetailInfo) GetUnk2800_MPKLJJIEHIB() []*Unk2800_CGPNLBNMPCM { + if x != nil { + return x.Unk2800_MPKLJJIEHIB + } + return nil +} + +var File_SummerTimeV2DetailInfo_proto protoreflect.FileDescriptor + +var file_SummerTimeV2DetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4f, 0x44, 0x46, 0x44, 0x44, 0x41, + 0x4c, 0x41, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x43, 0x47, 0x50, 0x4e, 0x4c, 0x42, 0x4e, 0x4d, 0x50, 0x43, 0x4d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x02, 0x0a, 0x16, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, + 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x42, 0x4c, 0x43, + 0x50, 0x49, 0x42, 0x4b, 0x50, 0x4f, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4f, 0x44, 0x46, 0x44, 0x44, 0x41, 0x4c, + 0x41, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x50, 0x4e, 0x42, 0x4c, 0x43, + 0x50, 0x49, 0x42, 0x4b, 0x50, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x48, 0x44, 0x45, 0x46, 0x4a, 0x4b, 0x47, 0x44, 0x4e, 0x45, 0x48, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x48, 0x44, 0x45, 0x46, + 0x4a, 0x4b, 0x47, 0x44, 0x4e, 0x45, 0x48, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, + 0x4c, 0x48, 0x42, 0x43, 0x4e, 0x50, 0x4b, 0x4f, 0x4a, 0x47, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4c, 0x48, 0x42, 0x43, 0x4e, 0x50, + 0x4b, 0x4f, 0x4a, 0x47, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x4d, 0x50, 0x4b, 0x4c, 0x4a, 0x4a, 0x49, 0x45, 0x48, 0x49, 0x42, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x50, 0x4e, + 0x4c, 0x42, 0x4e, 0x4d, 0x50, 0x43, 0x4d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x4d, 0x50, 0x4b, 0x4c, 0x4a, 0x4a, 0x49, 0x45, 0x48, 0x49, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeV2DetailInfo_proto_rawDescOnce sync.Once + file_SummerTimeV2DetailInfo_proto_rawDescData = file_SummerTimeV2DetailInfo_proto_rawDesc +) + +func file_SummerTimeV2DetailInfo_proto_rawDescGZIP() []byte { + file_SummerTimeV2DetailInfo_proto_rawDescOnce.Do(func() { + file_SummerTimeV2DetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeV2DetailInfo_proto_rawDescData) + }) + return file_SummerTimeV2DetailInfo_proto_rawDescData +} + +var file_SummerTimeV2DetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeV2DetailInfo_proto_goTypes = []interface{}{ + (*SummerTimeV2DetailInfo)(nil), // 0: SummerTimeV2DetailInfo + (*Unk2800_CGODFDDALAG)(nil), // 1: Unk2800_CGODFDDALAG + (*Unk2800_CGPNLBNMPCM)(nil), // 2: Unk2800_CGPNLBNMPCM +} +var file_SummerTimeV2DetailInfo_proto_depIdxs = []int32{ + 1, // 0: SummerTimeV2DetailInfo.Unk2800_PNBLCPIBKPO:type_name -> Unk2800_CGODFDDALAG + 2, // 1: SummerTimeV2DetailInfo.Unk2800_MPKLJJIEHIB:type_name -> Unk2800_CGPNLBNMPCM + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SummerTimeV2DetailInfo_proto_init() } +func file_SummerTimeV2DetailInfo_proto_init() { + if File_SummerTimeV2DetailInfo_proto != nil { + return + } + file_Unk2800_CGODFDDALAG_proto_init() + file_Unk2800_CGPNLBNMPCM_proto_init() + if !protoimpl.UnsafeEnabled { + file_SummerTimeV2DetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeV2DetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeV2DetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeV2DetailInfo_proto_goTypes, + DependencyIndexes: file_SummerTimeV2DetailInfo_proto_depIdxs, + MessageInfos: file_SummerTimeV2DetailInfo_proto_msgTypes, + }.Build() + File_SummerTimeV2DetailInfo_proto = out.File + file_SummerTimeV2DetailInfo_proto_rawDesc = nil + file_SummerTimeV2DetailInfo_proto_goTypes = nil + file_SummerTimeV2DetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeV2DetailInfo.proto b/gate-hk4e-api/proto/SummerTimeV2DetailInfo.proto new file mode 100644 index 00000000..4492e7b8 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeV2DetailInfo.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_CGODFDDALAG.proto"; +import "Unk2800_CGPNLBNMPCM.proto"; + +option go_package = "./;proto"; + +message SummerTimeV2DetailInfo { + repeated Unk2800_CGODFDDALAG Unk2800_PNBLCPIBKPO = 13; + uint32 Unk2800_HDEFJKGDNEH = 10; + bool is_content_closed = 4; + uint32 Unk2800_ELHBCNPKOJG = 5; + repeated Unk2800_CGPNLBNMPCM Unk2800_MPKLJJIEHIB = 15; +} diff --git a/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.pb.go b/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.pb.go new file mode 100644 index 00000000..3438599b --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SummerTimeV2DungeonSettleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SummerTimeV2DungeonSettleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,5,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + Unk2800_ELHBCNPKOJG uint32 `protobuf:"varint,2,opt,name=Unk2800_ELHBCNPKOJG,json=Unk2800ELHBCNPKOJG,proto3" json:"Unk2800_ELHBCNPKOJG,omitempty"` + Unk2800_HDEFJKGDNEH uint32 `protobuf:"varint,11,opt,name=Unk2800_HDEFJKGDNEH,json=Unk2800HDEFJKGDNEH,proto3" json:"Unk2800_HDEFJKGDNEH,omitempty"` +} + +func (x *SummerTimeV2DungeonSettleInfo) Reset() { + *x = SummerTimeV2DungeonSettleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SummerTimeV2DungeonSettleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SummerTimeV2DungeonSettleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SummerTimeV2DungeonSettleInfo) ProtoMessage() {} + +func (x *SummerTimeV2DungeonSettleInfo) ProtoReflect() protoreflect.Message { + mi := &file_SummerTimeV2DungeonSettleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SummerTimeV2DungeonSettleInfo.ProtoReflect.Descriptor instead. +func (*SummerTimeV2DungeonSettleInfo) Descriptor() ([]byte, []int) { + return file_SummerTimeV2DungeonSettleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SummerTimeV2DungeonSettleInfo) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *SummerTimeV2DungeonSettleInfo) GetUnk2800_ELHBCNPKOJG() uint32 { + if x != nil { + return x.Unk2800_ELHBCNPKOJG + } + return 0 +} + +func (x *SummerTimeV2DungeonSettleInfo) GetUnk2800_HDEFJKGDNEH() uint32 { + if x != nil { + return x.Unk2800_HDEFJKGDNEH + } + return 0 +} + +var File_SummerTimeV2DungeonSettleInfo_proto protoreflect.FileDescriptor + +var file_SummerTimeV2DungeonSettleInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x1d, 0x53, 0x75, 0x6d, 0x6d, 0x65, 0x72, + 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x45, 0x4c, 0x48, 0x42, 0x43, 0x4e, 0x50, 0x4b, 0x4f, 0x4a, 0x47, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4c, 0x48, 0x42, + 0x43, 0x4e, 0x50, 0x4b, 0x4f, 0x4a, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x48, 0x44, 0x45, 0x46, 0x4a, 0x4b, 0x47, 0x44, 0x4e, 0x45, 0x48, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x48, 0x44, 0x45, + 0x46, 0x4a, 0x4b, 0x47, 0x44, 0x4e, 0x45, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SummerTimeV2DungeonSettleInfo_proto_rawDescOnce sync.Once + file_SummerTimeV2DungeonSettleInfo_proto_rawDescData = file_SummerTimeV2DungeonSettleInfo_proto_rawDesc +) + +func file_SummerTimeV2DungeonSettleInfo_proto_rawDescGZIP() []byte { + file_SummerTimeV2DungeonSettleInfo_proto_rawDescOnce.Do(func() { + file_SummerTimeV2DungeonSettleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SummerTimeV2DungeonSettleInfo_proto_rawDescData) + }) + return file_SummerTimeV2DungeonSettleInfo_proto_rawDescData +} + +var file_SummerTimeV2DungeonSettleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SummerTimeV2DungeonSettleInfo_proto_goTypes = []interface{}{ + (*SummerTimeV2DungeonSettleInfo)(nil), // 0: SummerTimeV2DungeonSettleInfo +} +var file_SummerTimeV2DungeonSettleInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SummerTimeV2DungeonSettleInfo_proto_init() } +func file_SummerTimeV2DungeonSettleInfo_proto_init() { + if File_SummerTimeV2DungeonSettleInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SummerTimeV2DungeonSettleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SummerTimeV2DungeonSettleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SummerTimeV2DungeonSettleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SummerTimeV2DungeonSettleInfo_proto_goTypes, + DependencyIndexes: file_SummerTimeV2DungeonSettleInfo_proto_depIdxs, + MessageInfos: file_SummerTimeV2DungeonSettleInfo_proto_msgTypes, + }.Build() + File_SummerTimeV2DungeonSettleInfo_proto = out.File + file_SummerTimeV2DungeonSettleInfo_proto_rawDesc = nil + file_SummerTimeV2DungeonSettleInfo_proto_goTypes = nil + file_SummerTimeV2DungeonSettleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.proto b/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.proto new file mode 100644 index 00000000..5bbd43e4 --- /dev/null +++ b/gate-hk4e-api/proto/SummerTimeV2DungeonSettleInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SummerTimeV2DungeonSettleInfo { + bool is_success = 5; + uint32 Unk2800_ELHBCNPKOJG = 2; + uint32 Unk2800_HDEFJKGDNEH = 11; +} diff --git a/gate-hk4e-api/proto/SumoActivityDetailInfo.pb.go b/gate-hk4e-api/proto/SumoActivityDetailInfo.pb.go new file mode 100644 index 00000000..67d33c35 --- /dev/null +++ b/gate-hk4e-api/proto/SumoActivityDetailInfo.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DifficultyId uint32 `protobuf:"varint,11,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + SumoStageMap map[uint32]*SumoStageData `protobuf:"bytes,13,rep,name=sumo_stage_map,json=sumoStageMap,proto3" json:"sumo_stage_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Unk2700_NIJIAJMFLLD uint32 `protobuf:"varint,14,opt,name=Unk2700_NIJIAJMFLLD,json=Unk2700NIJIAJMFLLD,proto3" json:"Unk2700_NIJIAJMFLLD,omitempty"` +} + +func (x *SumoActivityDetailInfo) Reset() { + *x = SumoActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoActivityDetailInfo) ProtoMessage() {} + +func (x *SumoActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_SumoActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*SumoActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_SumoActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoActivityDetailInfo) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SumoActivityDetailInfo) GetSumoStageMap() map[uint32]*SumoStageData { + if x != nil { + return x.SumoStageMap + } + return nil +} + +func (x *SumoActivityDetailInfo) GetUnk2700_NIJIAJMFLLD() uint32 { + if x != nil { + return x.Unk2700_NIJIAJMFLLD + } + return 0 +} + +var File_SumoActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_SumoActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, + 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x02, 0x0a, 0x16, 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x0e, 0x73, 0x75, 0x6d, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x75, + 0x6d, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x75, 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x4d, 0x61, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4e, 0x49, 0x4a, 0x49, 0x41, 0x4a, 0x4d, 0x46, 0x4c, 0x4c, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x49, 0x4a, 0x49, 0x41, 0x4a, + 0x4d, 0x46, 0x4c, 0x4c, 0x44, 0x1a, 0x4f, 0x0a, 0x11, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x75, + 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoActivityDetailInfo_proto_rawDescOnce sync.Once + file_SumoActivityDetailInfo_proto_rawDescData = file_SumoActivityDetailInfo_proto_rawDesc +) + +func file_SumoActivityDetailInfo_proto_rawDescGZIP() []byte { + file_SumoActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_SumoActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoActivityDetailInfo_proto_rawDescData) + }) + return file_SumoActivityDetailInfo_proto_rawDescData +} + +var file_SumoActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_SumoActivityDetailInfo_proto_goTypes = []interface{}{ + (*SumoActivityDetailInfo)(nil), // 0: SumoActivityDetailInfo + nil, // 1: SumoActivityDetailInfo.SumoStageMapEntry + (*SumoStageData)(nil), // 2: SumoStageData +} +var file_SumoActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: SumoActivityDetailInfo.sumo_stage_map:type_name -> SumoActivityDetailInfo.SumoStageMapEntry + 2, // 1: SumoActivityDetailInfo.SumoStageMapEntry.value:type_name -> SumoStageData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_SumoActivityDetailInfo_proto_init() } +func file_SumoActivityDetailInfo_proto_init() { + if File_SumoActivityDetailInfo_proto != nil { + return + } + file_SumoStageData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_SumoActivityDetailInfo_proto_depIdxs, + MessageInfos: file_SumoActivityDetailInfo_proto_msgTypes, + }.Build() + File_SumoActivityDetailInfo_proto = out.File + file_SumoActivityDetailInfo_proto_rawDesc = nil + file_SumoActivityDetailInfo_proto_goTypes = nil + file_SumoActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoActivityDetailInfo.proto b/gate-hk4e-api/proto/SumoActivityDetailInfo.proto new file mode 100644 index 00000000..ad664c36 --- /dev/null +++ b/gate-hk4e-api/proto/SumoActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoStageData.proto"; + +option go_package = "./;proto"; + +message SumoActivityDetailInfo { + uint32 difficulty_id = 11; + map sumo_stage_map = 13; + uint32 Unk2700_NIJIAJMFLLD = 14; +} diff --git a/gate-hk4e-api/proto/SumoAvatarInfo.pb.go b/gate-hk4e-api/proto/SumoAvatarInfo.pb.go new file mode 100644 index 00000000..498d5c3a --- /dev/null +++ b/gate-hk4e-api/proto/SumoAvatarInfo.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTrial bool `protobuf:"varint,2,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` + AvatarId uint64 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *SumoAvatarInfo) Reset() { + *x = SumoAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoAvatarInfo) ProtoMessage() {} + +func (x *SumoAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_SumoAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoAvatarInfo.ProtoReflect.Descriptor instead. +func (*SumoAvatarInfo) Descriptor() ([]byte, []int) { + return file_SumoAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoAvatarInfo) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +func (x *SumoAvatarInfo) GetAvatarId() uint64 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_SumoAvatarInfo_proto protoreflect.FileDescriptor + +var file_SumoAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x0e, 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, + 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoAvatarInfo_proto_rawDescOnce sync.Once + file_SumoAvatarInfo_proto_rawDescData = file_SumoAvatarInfo_proto_rawDesc +) + +func file_SumoAvatarInfo_proto_rawDescGZIP() []byte { + file_SumoAvatarInfo_proto_rawDescOnce.Do(func() { + file_SumoAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoAvatarInfo_proto_rawDescData) + }) + return file_SumoAvatarInfo_proto_rawDescData +} + +var file_SumoAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoAvatarInfo_proto_goTypes = []interface{}{ + (*SumoAvatarInfo)(nil), // 0: SumoAvatarInfo +} +var file_SumoAvatarInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoAvatarInfo_proto_init() } +func file_SumoAvatarInfo_proto_init() { + if File_SumoAvatarInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoAvatarInfo_proto_goTypes, + DependencyIndexes: file_SumoAvatarInfo_proto_depIdxs, + MessageInfos: file_SumoAvatarInfo_proto_msgTypes, + }.Build() + File_SumoAvatarInfo_proto = out.File + file_SumoAvatarInfo_proto_rawDesc = nil + file_SumoAvatarInfo_proto_goTypes = nil + file_SumoAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoAvatarInfo.proto b/gate-hk4e-api/proto/SumoAvatarInfo.proto new file mode 100644 index 00000000..d81d2e26 --- /dev/null +++ b/gate-hk4e-api/proto/SumoAvatarInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SumoAvatarInfo { + bool is_trial = 2; + uint64 avatar_id = 1; +} diff --git a/gate-hk4e-api/proto/SumoDungeonAvatar.pb.go b/gate-hk4e-api/proto/SumoDungeonAvatar.pb.go new file mode 100644 index 00000000..1af295ca --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonAvatar.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoDungeonAvatar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoDungeonAvatar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + IsAlive bool `protobuf:"varint,13,opt,name=is_alive,json=isAlive,proto3" json:"is_alive,omitempty"` + IsTrial bool `protobuf:"varint,4,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` +} + +func (x *SumoDungeonAvatar) Reset() { + *x = SumoDungeonAvatar{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoDungeonAvatar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoDungeonAvatar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoDungeonAvatar) ProtoMessage() {} + +func (x *SumoDungeonAvatar) ProtoReflect() protoreflect.Message { + mi := &file_SumoDungeonAvatar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoDungeonAvatar.ProtoReflect.Descriptor instead. +func (*SumoDungeonAvatar) Descriptor() ([]byte, []int) { + return file_SumoDungeonAvatar_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoDungeonAvatar) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *SumoDungeonAvatar) GetIsAlive() bool { + if x != nil { + return x.IsAlive + } + return false +} + +func (x *SumoDungeonAvatar) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +var File_SumoDungeonAvatar_proto protoreflect.FileDescriptor + +var file_SumoDungeonAvatar_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x11, 0x53, 0x75, 0x6d, + 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1f, + 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, + 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, + 0x54, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoDungeonAvatar_proto_rawDescOnce sync.Once + file_SumoDungeonAvatar_proto_rawDescData = file_SumoDungeonAvatar_proto_rawDesc +) + +func file_SumoDungeonAvatar_proto_rawDescGZIP() []byte { + file_SumoDungeonAvatar_proto_rawDescOnce.Do(func() { + file_SumoDungeonAvatar_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoDungeonAvatar_proto_rawDescData) + }) + return file_SumoDungeonAvatar_proto_rawDescData +} + +var file_SumoDungeonAvatar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoDungeonAvatar_proto_goTypes = []interface{}{ + (*SumoDungeonAvatar)(nil), // 0: SumoDungeonAvatar +} +var file_SumoDungeonAvatar_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoDungeonAvatar_proto_init() } +func file_SumoDungeonAvatar_proto_init() { + if File_SumoDungeonAvatar_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoDungeonAvatar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoDungeonAvatar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoDungeonAvatar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoDungeonAvatar_proto_goTypes, + DependencyIndexes: file_SumoDungeonAvatar_proto_depIdxs, + MessageInfos: file_SumoDungeonAvatar_proto_msgTypes, + }.Build() + File_SumoDungeonAvatar_proto = out.File + file_SumoDungeonAvatar_proto_rawDesc = nil + file_SumoDungeonAvatar_proto_goTypes = nil + file_SumoDungeonAvatar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoDungeonAvatar.proto b/gate-hk4e-api/proto/SumoDungeonAvatar.proto new file mode 100644 index 00000000..be15a9f8 --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonAvatar.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message SumoDungeonAvatar { + uint64 avatar_guid = 11; + bool is_alive = 13; + bool is_trial = 4; +} diff --git a/gate-hk4e-api/proto/SumoDungeonSettleNotify.pb.go b/gate-hk4e-api/proto/SumoDungeonSettleNotify.pb.go new file mode 100644 index 00000000..b16d8387 --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonSettleNotify.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoDungeonSettleNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8291 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoDungeonSettleNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinalScore uint32 `protobuf:"varint,7,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + DifficultyId uint32 `protobuf:"varint,14,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + KillEliteMonsterNum uint32 `protobuf:"varint,15,opt,name=kill_elite_monster_num,json=killEliteMonsterNum,proto3" json:"kill_elite_monster_num,omitempty"` + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + KillMonsterNum uint32 `protobuf:"varint,4,opt,name=kill_monster_num,json=killMonsterNum,proto3" json:"kill_monster_num,omitempty"` + IsNewRecord bool `protobuf:"varint,5,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *SumoDungeonSettleNotify) Reset() { + *x = SumoDungeonSettleNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoDungeonSettleNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoDungeonSettleNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoDungeonSettleNotify) ProtoMessage() {} + +func (x *SumoDungeonSettleNotify) ProtoReflect() protoreflect.Message { + mi := &file_SumoDungeonSettleNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoDungeonSettleNotify.ProtoReflect.Descriptor instead. +func (*SumoDungeonSettleNotify) Descriptor() ([]byte, []int) { + return file_SumoDungeonSettleNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoDungeonSettleNotify) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *SumoDungeonSettleNotify) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SumoDungeonSettleNotify) GetKillEliteMonsterNum() uint32 { + if x != nil { + return x.KillEliteMonsterNum + } + return 0 +} + +func (x *SumoDungeonSettleNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoDungeonSettleNotify) GetKillMonsterNum() uint32 { + if x != nil { + return x.KillMonsterNum + } + return 0 +} + +func (x *SumoDungeonSettleNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_SumoDungeonSettleNotify_proto protoreflect.FileDescriptor + +var file_SumoDungeonSettleNotify_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xfd, 0x01, 0x0a, 0x17, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x33, 0x0a, 0x16, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x65, 0x6c, 0x69, 0x74, 0x65, 0x5f, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x13, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6b, 0x69, 0x6c, + 0x6c, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0d, 0x69, + 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_SumoDungeonSettleNotify_proto_rawDescOnce sync.Once + file_SumoDungeonSettleNotify_proto_rawDescData = file_SumoDungeonSettleNotify_proto_rawDesc +) + +func file_SumoDungeonSettleNotify_proto_rawDescGZIP() []byte { + file_SumoDungeonSettleNotify_proto_rawDescOnce.Do(func() { + file_SumoDungeonSettleNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoDungeonSettleNotify_proto_rawDescData) + }) + return file_SumoDungeonSettleNotify_proto_rawDescData +} + +var file_SumoDungeonSettleNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoDungeonSettleNotify_proto_goTypes = []interface{}{ + (*SumoDungeonSettleNotify)(nil), // 0: SumoDungeonSettleNotify +} +var file_SumoDungeonSettleNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoDungeonSettleNotify_proto_init() } +func file_SumoDungeonSettleNotify_proto_init() { + if File_SumoDungeonSettleNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoDungeonSettleNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoDungeonSettleNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoDungeonSettleNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoDungeonSettleNotify_proto_goTypes, + DependencyIndexes: file_SumoDungeonSettleNotify_proto_depIdxs, + MessageInfos: file_SumoDungeonSettleNotify_proto_msgTypes, + }.Build() + File_SumoDungeonSettleNotify_proto = out.File + file_SumoDungeonSettleNotify_proto_rawDesc = nil + file_SumoDungeonSettleNotify_proto_goTypes = nil + file_SumoDungeonSettleNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoDungeonSettleNotify.proto b/gate-hk4e-api/proto/SumoDungeonSettleNotify.proto new file mode 100644 index 00000000..2a7b07d8 --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonSettleNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8291 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoDungeonSettleNotify { + uint32 final_score = 7; + uint32 difficulty_id = 14; + uint32 kill_elite_monster_num = 15; + uint32 stage_id = 12; + uint32 kill_monster_num = 4; + bool is_new_record = 5; +} diff --git a/gate-hk4e-api/proto/SumoDungeonTeam.pb.go b/gate-hk4e-api/proto/SumoDungeonTeam.pb.go new file mode 100644 index 00000000..7a0544e4 --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonTeam.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoDungeonTeam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoDungeonTeam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonAvatarList []*SumoDungeonAvatar `protobuf:"bytes,15,rep,name=dungeon_avatar_list,json=dungeonAvatarList,proto3" json:"dungeon_avatar_list,omitempty"` +} + +func (x *SumoDungeonTeam) Reset() { + *x = SumoDungeonTeam{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoDungeonTeam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoDungeonTeam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoDungeonTeam) ProtoMessage() {} + +func (x *SumoDungeonTeam) ProtoReflect() protoreflect.Message { + mi := &file_SumoDungeonTeam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoDungeonTeam.ProtoReflect.Descriptor instead. +func (*SumoDungeonTeam) Descriptor() ([]byte, []int) { + return file_SumoDungeonTeam_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoDungeonTeam) GetDungeonAvatarList() []*SumoDungeonAvatar { + if x != nil { + return x.DungeonAvatarList + } + return nil +} + +var File_SumoDungeonTeam_proto protoreflect.FileDescriptor + +var file_SumoDungeonTeam_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x55, 0x0a, 0x0f, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, + 0x65, 0x61, 0x6d, 0x12, 0x42, 0x0a, 0x13, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x52, 0x11, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoDungeonTeam_proto_rawDescOnce sync.Once + file_SumoDungeonTeam_proto_rawDescData = file_SumoDungeonTeam_proto_rawDesc +) + +func file_SumoDungeonTeam_proto_rawDescGZIP() []byte { + file_SumoDungeonTeam_proto_rawDescOnce.Do(func() { + file_SumoDungeonTeam_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoDungeonTeam_proto_rawDescData) + }) + return file_SumoDungeonTeam_proto_rawDescData +} + +var file_SumoDungeonTeam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoDungeonTeam_proto_goTypes = []interface{}{ + (*SumoDungeonTeam)(nil), // 0: SumoDungeonTeam + (*SumoDungeonAvatar)(nil), // 1: SumoDungeonAvatar +} +var file_SumoDungeonTeam_proto_depIdxs = []int32{ + 1, // 0: SumoDungeonTeam.dungeon_avatar_list:type_name -> SumoDungeonAvatar + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoDungeonTeam_proto_init() } +func file_SumoDungeonTeam_proto_init() { + if File_SumoDungeonTeam_proto != nil { + return + } + file_SumoDungeonAvatar_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoDungeonTeam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoDungeonTeam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoDungeonTeam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoDungeonTeam_proto_goTypes, + DependencyIndexes: file_SumoDungeonTeam_proto_depIdxs, + MessageInfos: file_SumoDungeonTeam_proto_msgTypes, + }.Build() + File_SumoDungeonTeam_proto = out.File + file_SumoDungeonTeam_proto_rawDesc = nil + file_SumoDungeonTeam_proto_goTypes = nil + file_SumoDungeonTeam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoDungeonTeam.proto b/gate-hk4e-api/proto/SumoDungeonTeam.proto new file mode 100644 index 00000000..142d2400 --- /dev/null +++ b/gate-hk4e-api/proto/SumoDungeonTeam.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoDungeonAvatar.proto"; + +option go_package = "./;proto"; + +message SumoDungeonTeam { + repeated SumoDungeonAvatar dungeon_avatar_list = 15; +} diff --git a/gate-hk4e-api/proto/SumoEnterDungeonNotify.pb.go b/gate-hk4e-api/proto/SumoEnterDungeonNotify.pb.go new file mode 100644 index 00000000..97ce2f3b --- /dev/null +++ b/gate-hk4e-api/proto/SumoEnterDungeonNotify.pb.go @@ -0,0 +1,221 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoEnterDungeonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8013 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoEnterDungeonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,15,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + DungeonTeamList []*SumoDungeonTeam `protobuf:"bytes,11,rep,name=dungeon_team_list,json=dungeonTeamList,proto3" json:"dungeon_team_list,omitempty"` + NoSwitchPunishTime uint32 `protobuf:"varint,10,opt,name=no_switch_punish_time,json=noSwitchPunishTime,proto3" json:"no_switch_punish_time,omitempty"` + NextValidSwitchTime uint32 `protobuf:"varint,13,opt,name=next_valid_switch_time,json=nextValidSwitchTime,proto3" json:"next_valid_switch_time,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + CurTeamIndex uint32 `protobuf:"varint,5,opt,name=cur_team_index,json=curTeamIndex,proto3" json:"cur_team_index,omitempty"` +} + +func (x *SumoEnterDungeonNotify) Reset() { + *x = SumoEnterDungeonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoEnterDungeonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoEnterDungeonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoEnterDungeonNotify) ProtoMessage() {} + +func (x *SumoEnterDungeonNotify) ProtoReflect() protoreflect.Message { + mi := &file_SumoEnterDungeonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoEnterDungeonNotify.ProtoReflect.Descriptor instead. +func (*SumoEnterDungeonNotify) Descriptor() ([]byte, []int) { + return file_SumoEnterDungeonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoEnterDungeonNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoEnterDungeonNotify) GetDungeonTeamList() []*SumoDungeonTeam { + if x != nil { + return x.DungeonTeamList + } + return nil +} + +func (x *SumoEnterDungeonNotify) GetNoSwitchPunishTime() uint32 { + if x != nil { + return x.NoSwitchPunishTime + } + return 0 +} + +func (x *SumoEnterDungeonNotify) GetNextValidSwitchTime() uint32 { + if x != nil { + return x.NextValidSwitchTime + } + return 0 +} + +func (x *SumoEnterDungeonNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoEnterDungeonNotify) GetCurTeamIndex() uint32 { + if x != nil { + return x.CurTeamIndex + } + return 0 +} + +var File_SumoEnterDungeonNotify_proto protoreflect.FileDescriptor + +var file_SumoEnterDungeonNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x75, 0x6d, 0x6f, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x02, 0x0a, 0x16, 0x53, 0x75, 0x6d, 0x6f, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x3c, 0x0a, 0x11, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x61, + 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, + 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x0f, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x31, 0x0a, 0x15, 0x6e, 0x6f, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x75, 0x6e, + 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x6e, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x50, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x77, 0x69, + 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x54, + 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoEnterDungeonNotify_proto_rawDescOnce sync.Once + file_SumoEnterDungeonNotify_proto_rawDescData = file_SumoEnterDungeonNotify_proto_rawDesc +) + +func file_SumoEnterDungeonNotify_proto_rawDescGZIP() []byte { + file_SumoEnterDungeonNotify_proto_rawDescOnce.Do(func() { + file_SumoEnterDungeonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoEnterDungeonNotify_proto_rawDescData) + }) + return file_SumoEnterDungeonNotify_proto_rawDescData +} + +var file_SumoEnterDungeonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoEnterDungeonNotify_proto_goTypes = []interface{}{ + (*SumoEnterDungeonNotify)(nil), // 0: SumoEnterDungeonNotify + (*SumoDungeonTeam)(nil), // 1: SumoDungeonTeam +} +var file_SumoEnterDungeonNotify_proto_depIdxs = []int32{ + 1, // 0: SumoEnterDungeonNotify.dungeon_team_list:type_name -> SumoDungeonTeam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoEnterDungeonNotify_proto_init() } +func file_SumoEnterDungeonNotify_proto_init() { + if File_SumoEnterDungeonNotify_proto != nil { + return + } + file_SumoDungeonTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoEnterDungeonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoEnterDungeonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoEnterDungeonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoEnterDungeonNotify_proto_goTypes, + DependencyIndexes: file_SumoEnterDungeonNotify_proto_depIdxs, + MessageInfos: file_SumoEnterDungeonNotify_proto_msgTypes, + }.Build() + File_SumoEnterDungeonNotify_proto = out.File + file_SumoEnterDungeonNotify_proto_rawDesc = nil + file_SumoEnterDungeonNotify_proto_goTypes = nil + file_SumoEnterDungeonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoEnterDungeonNotify.proto b/gate-hk4e-api/proto/SumoEnterDungeonNotify.proto new file mode 100644 index 00000000..007cab3d --- /dev/null +++ b/gate-hk4e-api/proto/SumoEnterDungeonNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoDungeonTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8013 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoEnterDungeonNotify { + uint32 activity_id = 15; + repeated SumoDungeonTeam dungeon_team_list = 11; + uint32 no_switch_punish_time = 10; + uint32 next_valid_switch_time = 13; + uint32 stage_id = 7; + uint32 cur_team_index = 5; +} diff --git a/gate-hk4e-api/proto/SumoLeaveDungeonNotify.pb.go b/gate-hk4e-api/proto/SumoLeaveDungeonNotify.pb.go new file mode 100644 index 00000000..887ba4a3 --- /dev/null +++ b/gate-hk4e-api/proto/SumoLeaveDungeonNotify.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoLeaveDungeonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8640 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoLeaveDungeonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SumoLeaveDungeonNotify) Reset() { + *x = SumoLeaveDungeonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoLeaveDungeonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoLeaveDungeonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoLeaveDungeonNotify) ProtoMessage() {} + +func (x *SumoLeaveDungeonNotify) ProtoReflect() protoreflect.Message { + mi := &file_SumoLeaveDungeonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoLeaveDungeonNotify.ProtoReflect.Descriptor instead. +func (*SumoLeaveDungeonNotify) Descriptor() ([]byte, []int) { + return file_SumoLeaveDungeonNotify_proto_rawDescGZIP(), []int{0} +} + +var File_SumoLeaveDungeonNotify_proto protoreflect.FileDescriptor + +var file_SumoLeaveDungeonNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x53, 0x75, 0x6d, 0x6f, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x53, 0x75, 0x6d, 0x6f, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoLeaveDungeonNotify_proto_rawDescOnce sync.Once + file_SumoLeaveDungeonNotify_proto_rawDescData = file_SumoLeaveDungeonNotify_proto_rawDesc +) + +func file_SumoLeaveDungeonNotify_proto_rawDescGZIP() []byte { + file_SumoLeaveDungeonNotify_proto_rawDescOnce.Do(func() { + file_SumoLeaveDungeonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoLeaveDungeonNotify_proto_rawDescData) + }) + return file_SumoLeaveDungeonNotify_proto_rawDescData +} + +var file_SumoLeaveDungeonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoLeaveDungeonNotify_proto_goTypes = []interface{}{ + (*SumoLeaveDungeonNotify)(nil), // 0: SumoLeaveDungeonNotify +} +var file_SumoLeaveDungeonNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoLeaveDungeonNotify_proto_init() } +func file_SumoLeaveDungeonNotify_proto_init() { + if File_SumoLeaveDungeonNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoLeaveDungeonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoLeaveDungeonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoLeaveDungeonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoLeaveDungeonNotify_proto_goTypes, + DependencyIndexes: file_SumoLeaveDungeonNotify_proto_depIdxs, + MessageInfos: file_SumoLeaveDungeonNotify_proto_msgTypes, + }.Build() + File_SumoLeaveDungeonNotify_proto = out.File + file_SumoLeaveDungeonNotify_proto_rawDesc = nil + file_SumoLeaveDungeonNotify_proto_goTypes = nil + file_SumoLeaveDungeonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoLeaveDungeonNotify.proto b/gate-hk4e-api/proto/SumoLeaveDungeonNotify.proto new file mode 100644 index 00000000..b827508d --- /dev/null +++ b/gate-hk4e-api/proto/SumoLeaveDungeonNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8640 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoLeaveDungeonNotify {} diff --git a/gate-hk4e-api/proto/SumoRestartDungeonReq.pb.go b/gate-hk4e-api/proto/SumoRestartDungeonReq.pb.go new file mode 100644 index 00000000..c6e9a456 --- /dev/null +++ b/gate-hk4e-api/proto/SumoRestartDungeonReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoRestartDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8612 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SumoRestartDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SumoRestartDungeonReq) Reset() { + *x = SumoRestartDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoRestartDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoRestartDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoRestartDungeonReq) ProtoMessage() {} + +func (x *SumoRestartDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_SumoRestartDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoRestartDungeonReq.ProtoReflect.Descriptor instead. +func (*SumoRestartDungeonReq) Descriptor() ([]byte, []int) { + return file_SumoRestartDungeonReq_proto_rawDescGZIP(), []int{0} +} + +var File_SumoRestartDungeonReq_proto protoreflect.FileDescriptor + +var file_SumoRestartDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x75, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoRestartDungeonReq_proto_rawDescOnce sync.Once + file_SumoRestartDungeonReq_proto_rawDescData = file_SumoRestartDungeonReq_proto_rawDesc +) + +func file_SumoRestartDungeonReq_proto_rawDescGZIP() []byte { + file_SumoRestartDungeonReq_proto_rawDescOnce.Do(func() { + file_SumoRestartDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoRestartDungeonReq_proto_rawDescData) + }) + return file_SumoRestartDungeonReq_proto_rawDescData +} + +var file_SumoRestartDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoRestartDungeonReq_proto_goTypes = []interface{}{ + (*SumoRestartDungeonReq)(nil), // 0: SumoRestartDungeonReq +} +var file_SumoRestartDungeonReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoRestartDungeonReq_proto_init() } +func file_SumoRestartDungeonReq_proto_init() { + if File_SumoRestartDungeonReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoRestartDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoRestartDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoRestartDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoRestartDungeonReq_proto_goTypes, + DependencyIndexes: file_SumoRestartDungeonReq_proto_depIdxs, + MessageInfos: file_SumoRestartDungeonReq_proto_msgTypes, + }.Build() + File_SumoRestartDungeonReq_proto = out.File + file_SumoRestartDungeonReq_proto_rawDesc = nil + file_SumoRestartDungeonReq_proto_goTypes = nil + file_SumoRestartDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoRestartDungeonReq.proto b/gate-hk4e-api/proto/SumoRestartDungeonReq.proto new file mode 100644 index 00000000..e58a789e --- /dev/null +++ b/gate-hk4e-api/proto/SumoRestartDungeonReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8612 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SumoRestartDungeonReq {} diff --git a/gate-hk4e-api/proto/SumoRestartDungeonRsp.pb.go b/gate-hk4e-api/proto/SumoRestartDungeonRsp.pb.go new file mode 100644 index 00000000..b25d3944 --- /dev/null +++ b/gate-hk4e-api/proto/SumoRestartDungeonRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoRestartDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8214 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoRestartDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + DungeonId uint32 `protobuf:"varint,4,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *SumoRestartDungeonRsp) Reset() { + *x = SumoRestartDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoRestartDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoRestartDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoRestartDungeonRsp) ProtoMessage() {} + +func (x *SumoRestartDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_SumoRestartDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoRestartDungeonRsp.ProtoReflect.Descriptor instead. +func (*SumoRestartDungeonRsp) Descriptor() ([]byte, []int) { + return file_SumoRestartDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoRestartDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SumoRestartDungeonRsp) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *SumoRestartDungeonRsp) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_SumoRestartDungeonRsp_proto protoreflect.FileDescriptor + +var file_SumoRestartDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x53, 0x75, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, + 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoRestartDungeonRsp_proto_rawDescOnce sync.Once + file_SumoRestartDungeonRsp_proto_rawDescData = file_SumoRestartDungeonRsp_proto_rawDesc +) + +func file_SumoRestartDungeonRsp_proto_rawDescGZIP() []byte { + file_SumoRestartDungeonRsp_proto_rawDescOnce.Do(func() { + file_SumoRestartDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoRestartDungeonRsp_proto_rawDescData) + }) + return file_SumoRestartDungeonRsp_proto_rawDescData +} + +var file_SumoRestartDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoRestartDungeonRsp_proto_goTypes = []interface{}{ + (*SumoRestartDungeonRsp)(nil), // 0: SumoRestartDungeonRsp +} +var file_SumoRestartDungeonRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoRestartDungeonRsp_proto_init() } +func file_SumoRestartDungeonRsp_proto_init() { + if File_SumoRestartDungeonRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoRestartDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoRestartDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoRestartDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoRestartDungeonRsp_proto_goTypes, + DependencyIndexes: file_SumoRestartDungeonRsp_proto_depIdxs, + MessageInfos: file_SumoRestartDungeonRsp_proto_msgTypes, + }.Build() + File_SumoRestartDungeonRsp_proto = out.File + file_SumoRestartDungeonRsp_proto_rawDesc = nil + file_SumoRestartDungeonRsp_proto_goTypes = nil + file_SumoRestartDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoRestartDungeonRsp.proto b/gate-hk4e-api/proto/SumoRestartDungeonRsp.proto new file mode 100644 index 00000000..50682a05 --- /dev/null +++ b/gate-hk4e-api/proto/SumoRestartDungeonRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8214 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoRestartDungeonRsp { + int32 retcode = 11; + uint32 dungeon_id = 4; + uint32 point_id = 12; +} diff --git a/gate-hk4e-api/proto/SumoSaveTeamReq.pb.go b/gate-hk4e-api/proto/SumoSaveTeamReq.pb.go new file mode 100644 index 00000000..acd4f618 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSaveTeamReq.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSaveTeamReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8313 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SumoSaveTeamReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,11,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,7,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + TeamList []*SumoTeamData `protobuf:"bytes,12,rep,name=team_list,json=teamList,proto3" json:"team_list,omitempty"` +} + +func (x *SumoSaveTeamReq) Reset() { + *x = SumoSaveTeamReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSaveTeamReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSaveTeamReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSaveTeamReq) ProtoMessage() {} + +func (x *SumoSaveTeamReq) ProtoReflect() protoreflect.Message { + mi := &file_SumoSaveTeamReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSaveTeamReq.ProtoReflect.Descriptor instead. +func (*SumoSaveTeamReq) Descriptor() ([]byte, []int) { + return file_SumoSaveTeamReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSaveTeamReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoSaveTeamReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSaveTeamReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SumoSaveTeamReq) GetTeamList() []*SumoTeamData { + if x != nil { + return x.TeamList + } + return nil +} + +var File_SumoSaveTeamReq_proto protoreflect.FileDescriptor + +var file_SumoSaveTeamReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, + 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x0f, + 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x2a, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSaveTeamReq_proto_rawDescOnce sync.Once + file_SumoSaveTeamReq_proto_rawDescData = file_SumoSaveTeamReq_proto_rawDesc +) + +func file_SumoSaveTeamReq_proto_rawDescGZIP() []byte { + file_SumoSaveTeamReq_proto_rawDescOnce.Do(func() { + file_SumoSaveTeamReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSaveTeamReq_proto_rawDescData) + }) + return file_SumoSaveTeamReq_proto_rawDescData +} + +var file_SumoSaveTeamReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSaveTeamReq_proto_goTypes = []interface{}{ + (*SumoSaveTeamReq)(nil), // 0: SumoSaveTeamReq + (*SumoTeamData)(nil), // 1: SumoTeamData +} +var file_SumoSaveTeamReq_proto_depIdxs = []int32{ + 1, // 0: SumoSaveTeamReq.team_list:type_name -> SumoTeamData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSaveTeamReq_proto_init() } +func file_SumoSaveTeamReq_proto_init() { + if File_SumoSaveTeamReq_proto != nil { + return + } + file_SumoTeamData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSaveTeamReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSaveTeamReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSaveTeamReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSaveTeamReq_proto_goTypes, + DependencyIndexes: file_SumoSaveTeamReq_proto_depIdxs, + MessageInfos: file_SumoSaveTeamReq_proto_msgTypes, + }.Build() + File_SumoSaveTeamReq_proto = out.File + file_SumoSaveTeamReq_proto_rawDesc = nil + file_SumoSaveTeamReq_proto_goTypes = nil + file_SumoSaveTeamReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSaveTeamReq.proto b/gate-hk4e-api/proto/SumoSaveTeamReq.proto new file mode 100644 index 00000000..034bc27f --- /dev/null +++ b/gate-hk4e-api/proto/SumoSaveTeamReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoTeamData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8313 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SumoSaveTeamReq { + uint32 activity_id = 11; + uint32 stage_id = 13; + uint32 difficulty_id = 7; + repeated SumoTeamData team_list = 12; +} diff --git a/gate-hk4e-api/proto/SumoSaveTeamRsp.pb.go b/gate-hk4e-api/proto/SumoSaveTeamRsp.pb.go new file mode 100644 index 00000000..eb03999b --- /dev/null +++ b/gate-hk4e-api/proto/SumoSaveTeamRsp.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSaveTeamRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8319 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoSaveTeamRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityId uint32 `protobuf:"varint,11,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + TeamList []*SumoTeamData `protobuf:"bytes,13,rep,name=team_list,json=teamList,proto3" json:"team_list,omitempty"` + DifficultyId uint32 `protobuf:"varint,10,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *SumoSaveTeamRsp) Reset() { + *x = SumoSaveTeamRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSaveTeamRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSaveTeamRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSaveTeamRsp) ProtoMessage() {} + +func (x *SumoSaveTeamRsp) ProtoReflect() protoreflect.Message { + mi := &file_SumoSaveTeamRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSaveTeamRsp.ProtoReflect.Descriptor instead. +func (*SumoSaveTeamRsp) Descriptor() ([]byte, []int) { + return file_SumoSaveTeamRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSaveTeamRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSaveTeamRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SumoSaveTeamRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoSaveTeamRsp) GetTeamList() []*SumoTeamData { + if x != nil { + return x.TeamList + } + return nil +} + +func (x *SumoSaveTeamRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_SumoSaveTeamRsp_proto protoreflect.FileDescriptor + +var file_SumoSaveTeamRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, + 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x0f, + 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x73, 0x70, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x54, + 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSaveTeamRsp_proto_rawDescOnce sync.Once + file_SumoSaveTeamRsp_proto_rawDescData = file_SumoSaveTeamRsp_proto_rawDesc +) + +func file_SumoSaveTeamRsp_proto_rawDescGZIP() []byte { + file_SumoSaveTeamRsp_proto_rawDescOnce.Do(func() { + file_SumoSaveTeamRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSaveTeamRsp_proto_rawDescData) + }) + return file_SumoSaveTeamRsp_proto_rawDescData +} + +var file_SumoSaveTeamRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSaveTeamRsp_proto_goTypes = []interface{}{ + (*SumoSaveTeamRsp)(nil), // 0: SumoSaveTeamRsp + (*SumoTeamData)(nil), // 1: SumoTeamData +} +var file_SumoSaveTeamRsp_proto_depIdxs = []int32{ + 1, // 0: SumoSaveTeamRsp.team_list:type_name -> SumoTeamData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSaveTeamRsp_proto_init() } +func file_SumoSaveTeamRsp_proto_init() { + if File_SumoSaveTeamRsp_proto != nil { + return + } + file_SumoTeamData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSaveTeamRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSaveTeamRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSaveTeamRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSaveTeamRsp_proto_goTypes, + DependencyIndexes: file_SumoSaveTeamRsp_proto_depIdxs, + MessageInfos: file_SumoSaveTeamRsp_proto_msgTypes, + }.Build() + File_SumoSaveTeamRsp_proto = out.File + file_SumoSaveTeamRsp_proto_rawDesc = nil + file_SumoSaveTeamRsp_proto_goTypes = nil + file_SumoSaveTeamRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSaveTeamRsp.proto b/gate-hk4e-api/proto/SumoSaveTeamRsp.proto new file mode 100644 index 00000000..a4249073 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSaveTeamRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoTeamData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8319 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoSaveTeamRsp { + uint32 stage_id = 9; + int32 retcode = 2; + uint32 activity_id = 11; + repeated SumoTeamData team_list = 13; + uint32 difficulty_id = 10; +} diff --git a/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.pb.go b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.pb.go new file mode 100644 index 00000000..69830af8 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSelectTeamAndEnterDungeonReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8215 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SumoSelectTeamAndEnterDungeonReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,4,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + TeamList []*SumoTeamData `protobuf:"bytes,10,rep,name=team_list,json=teamList,proto3" json:"team_list,omitempty"` +} + +func (x *SumoSelectTeamAndEnterDungeonReq) Reset() { + *x = SumoSelectTeamAndEnterDungeonReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSelectTeamAndEnterDungeonReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSelectTeamAndEnterDungeonReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSelectTeamAndEnterDungeonReq) ProtoMessage() {} + +func (x *SumoSelectTeamAndEnterDungeonReq) ProtoReflect() protoreflect.Message { + mi := &file_SumoSelectTeamAndEnterDungeonReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSelectTeamAndEnterDungeonReq.ProtoReflect.Descriptor instead. +func (*SumoSelectTeamAndEnterDungeonReq) Descriptor() ([]byte, []int) { + return file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSelectTeamAndEnterDungeonReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonReq) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonReq) GetTeamList() []*SumoTeamData { + if x != nil { + return x.TeamList + } + return nil +} + +var File_SumoSelectTeamAndEnterDungeonReq_proto protoreflect.FileDescriptor + +var file_SumoSelectTeamAndEnterDungeonReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, + 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, + 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, + 0x20, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x41, + 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescOnce sync.Once + file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescData = file_SumoSelectTeamAndEnterDungeonReq_proto_rawDesc +) + +func file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescGZIP() []byte { + file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescOnce.Do(func() { + file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescData) + }) + return file_SumoSelectTeamAndEnterDungeonReq_proto_rawDescData +} + +var file_SumoSelectTeamAndEnterDungeonReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSelectTeamAndEnterDungeonReq_proto_goTypes = []interface{}{ + (*SumoSelectTeamAndEnterDungeonReq)(nil), // 0: SumoSelectTeamAndEnterDungeonReq + (*SumoTeamData)(nil), // 1: SumoTeamData +} +var file_SumoSelectTeamAndEnterDungeonReq_proto_depIdxs = []int32{ + 1, // 0: SumoSelectTeamAndEnterDungeonReq.team_list:type_name -> SumoTeamData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSelectTeamAndEnterDungeonReq_proto_init() } +func file_SumoSelectTeamAndEnterDungeonReq_proto_init() { + if File_SumoSelectTeamAndEnterDungeonReq_proto != nil { + return + } + file_SumoTeamData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSelectTeamAndEnterDungeonReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSelectTeamAndEnterDungeonReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSelectTeamAndEnterDungeonReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSelectTeamAndEnterDungeonReq_proto_goTypes, + DependencyIndexes: file_SumoSelectTeamAndEnterDungeonReq_proto_depIdxs, + MessageInfos: file_SumoSelectTeamAndEnterDungeonReq_proto_msgTypes, + }.Build() + File_SumoSelectTeamAndEnterDungeonReq_proto = out.File + file_SumoSelectTeamAndEnterDungeonReq_proto_rawDesc = nil + file_SumoSelectTeamAndEnterDungeonReq_proto_goTypes = nil + file_SumoSelectTeamAndEnterDungeonReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.proto b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.proto new file mode 100644 index 00000000..4db46c02 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoTeamData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8215 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SumoSelectTeamAndEnterDungeonReq { + uint32 activity_id = 1; + uint32 stage_id = 7; + uint32 difficulty_id = 4; + repeated SumoTeamData team_list = 10; +} diff --git a/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.pb.go b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.pb.go new file mode 100644 index 00000000..c9e4e3fa --- /dev/null +++ b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.pb.go @@ -0,0 +1,208 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSelectTeamAndEnterDungeonRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8193 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoSelectTeamAndEnterDungeonRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityId uint32 `protobuf:"varint,14,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,12,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + TeamList []*SumoTeamData `protobuf:"bytes,2,rep,name=team_list,json=teamList,proto3" json:"team_list,omitempty"` +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) Reset() { + *x = SumoSelectTeamAndEnterDungeonRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSelectTeamAndEnterDungeonRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSelectTeamAndEnterDungeonRsp) ProtoMessage() {} + +func (x *SumoSelectTeamAndEnterDungeonRsp) ProtoReflect() protoreflect.Message { + mi := &file_SumoSelectTeamAndEnterDungeonRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSelectTeamAndEnterDungeonRsp.ProtoReflect.Descriptor instead. +func (*SumoSelectTeamAndEnterDungeonRsp) Descriptor() ([]byte, []int) { + return file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSelectTeamAndEnterDungeonRsp) GetTeamList() []*SumoTeamData { + if x != nil { + return x.TeamList + } + return nil +} + +var File_SumoSelectTeamAndEnterDungeonRsp_proto protoreflect.FileDescriptor + +var file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, + 0x41, 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, + 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, + 0x20, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x41, + 0x6e, 0x64, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x52, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x09, + 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0d, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x74, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescOnce sync.Once + file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescData = file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDesc +) + +func file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescGZIP() []byte { + file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescOnce.Do(func() { + file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescData) + }) + return file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDescData +} + +var file_SumoSelectTeamAndEnterDungeonRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSelectTeamAndEnterDungeonRsp_proto_goTypes = []interface{}{ + (*SumoSelectTeamAndEnterDungeonRsp)(nil), // 0: SumoSelectTeamAndEnterDungeonRsp + (*SumoTeamData)(nil), // 1: SumoTeamData +} +var file_SumoSelectTeamAndEnterDungeonRsp_proto_depIdxs = []int32{ + 1, // 0: SumoSelectTeamAndEnterDungeonRsp.team_list:type_name -> SumoTeamData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSelectTeamAndEnterDungeonRsp_proto_init() } +func file_SumoSelectTeamAndEnterDungeonRsp_proto_init() { + if File_SumoSelectTeamAndEnterDungeonRsp_proto != nil { + return + } + file_SumoTeamData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSelectTeamAndEnterDungeonRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSelectTeamAndEnterDungeonRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSelectTeamAndEnterDungeonRsp_proto_goTypes, + DependencyIndexes: file_SumoSelectTeamAndEnterDungeonRsp_proto_depIdxs, + MessageInfos: file_SumoSelectTeamAndEnterDungeonRsp_proto_msgTypes, + }.Build() + File_SumoSelectTeamAndEnterDungeonRsp_proto = out.File + file_SumoSelectTeamAndEnterDungeonRsp_proto_rawDesc = nil + file_SumoSelectTeamAndEnterDungeonRsp_proto_goTypes = nil + file_SumoSelectTeamAndEnterDungeonRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.proto b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.proto new file mode 100644 index 00000000..b7e3495f --- /dev/null +++ b/gate-hk4e-api/proto/SumoSelectTeamAndEnterDungeonRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoTeamData.proto"; + +option go_package = "./;proto"; + +// CmdId: 8193 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoSelectTeamAndEnterDungeonRsp { + int32 retcode = 1; + uint32 activity_id = 14; + uint32 difficulty_id = 12; + uint32 stage_id = 9; + repeated SumoTeamData team_list = 2; +} diff --git a/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.pb.go b/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.pb.go new file mode 100644 index 00000000..40be1d61 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSetNoSwitchPunishTimeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8935 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoSetNoSwitchPunishTimeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurTeamIndex uint32 `protobuf:"varint,15,opt,name=cur_team_index,json=curTeamIndex,proto3" json:"cur_team_index,omitempty"` + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + DungeonTeamList []*SumoDungeonTeam `protobuf:"bytes,11,rep,name=dungeon_team_list,json=dungeonTeamList,proto3" json:"dungeon_team_list,omitempty"` + NoSwitchPunishTime uint32 `protobuf:"varint,2,opt,name=no_switch_punish_time,json=noSwitchPunishTime,proto3" json:"no_switch_punish_time,omitempty"` + NextValidSwitchTime uint32 `protobuf:"varint,14,opt,name=next_valid_switch_time,json=nextValidSwitchTime,proto3" json:"next_valid_switch_time,omitempty"` + ActivityId uint32 `protobuf:"varint,9,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *SumoSetNoSwitchPunishTimeNotify) Reset() { + *x = SumoSetNoSwitchPunishTimeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSetNoSwitchPunishTimeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSetNoSwitchPunishTimeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSetNoSwitchPunishTimeNotify) ProtoMessage() {} + +func (x *SumoSetNoSwitchPunishTimeNotify) ProtoReflect() protoreflect.Message { + mi := &file_SumoSetNoSwitchPunishTimeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSetNoSwitchPunishTimeNotify.ProtoReflect.Descriptor instead. +func (*SumoSetNoSwitchPunishTimeNotify) Descriptor() ([]byte, []int) { + return file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetCurTeamIndex() uint32 { + if x != nil { + return x.CurTeamIndex + } + return 0 +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetDungeonTeamList() []*SumoDungeonTeam { + if x != nil { + return x.DungeonTeamList + } + return nil +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetNoSwitchPunishTime() uint32 { + if x != nil { + return x.NoSwitchPunishTime + } + return 0 +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetNextValidSwitchTime() uint32 { + if x != nil { + return x.NextValidSwitchTime + } + return 0 +} + +func (x *SumoSetNoSwitchPunishTimeNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_SumoSetNoSwitchPunishTimeNotify_proto protoreflect.FileDescriptor + +var file_SumoSetNoSwitchPunishTimeNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x74, 0x4e, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, + 0x68, 0x50, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, + 0x02, 0x0a, 0x1f, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x65, 0x74, 0x4e, 0x6f, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x50, 0x75, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x54, + 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x11, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x74, + 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, + 0x52, 0x0f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x15, 0x6e, 0x6f, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x70, + 0x75, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x6e, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x50, 0x75, 0x6e, 0x69, 0x73, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, + 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescOnce sync.Once + file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescData = file_SumoSetNoSwitchPunishTimeNotify_proto_rawDesc +) + +func file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescGZIP() []byte { + file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescOnce.Do(func() { + file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescData) + }) + return file_SumoSetNoSwitchPunishTimeNotify_proto_rawDescData +} + +var file_SumoSetNoSwitchPunishTimeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSetNoSwitchPunishTimeNotify_proto_goTypes = []interface{}{ + (*SumoSetNoSwitchPunishTimeNotify)(nil), // 0: SumoSetNoSwitchPunishTimeNotify + (*SumoDungeonTeam)(nil), // 1: SumoDungeonTeam +} +var file_SumoSetNoSwitchPunishTimeNotify_proto_depIdxs = []int32{ + 1, // 0: SumoSetNoSwitchPunishTimeNotify.dungeon_team_list:type_name -> SumoDungeonTeam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSetNoSwitchPunishTimeNotify_proto_init() } +func file_SumoSetNoSwitchPunishTimeNotify_proto_init() { + if File_SumoSetNoSwitchPunishTimeNotify_proto != nil { + return + } + file_SumoDungeonTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSetNoSwitchPunishTimeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSetNoSwitchPunishTimeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSetNoSwitchPunishTimeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSetNoSwitchPunishTimeNotify_proto_goTypes, + DependencyIndexes: file_SumoSetNoSwitchPunishTimeNotify_proto_depIdxs, + MessageInfos: file_SumoSetNoSwitchPunishTimeNotify_proto_msgTypes, + }.Build() + File_SumoSetNoSwitchPunishTimeNotify_proto = out.File + file_SumoSetNoSwitchPunishTimeNotify_proto_rawDesc = nil + file_SumoSetNoSwitchPunishTimeNotify_proto_goTypes = nil + file_SumoSetNoSwitchPunishTimeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.proto b/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.proto new file mode 100644 index 00000000..f614ed6d --- /dev/null +++ b/gate-hk4e-api/proto/SumoSetNoSwitchPunishTimeNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoDungeonTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8935 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoSetNoSwitchPunishTimeNotify { + uint32 cur_team_index = 15; + uint32 stage_id = 13; + repeated SumoDungeonTeam dungeon_team_list = 11; + uint32 no_switch_punish_time = 2; + uint32 next_valid_switch_time = 14; + uint32 activity_id = 9; +} diff --git a/gate-hk4e-api/proto/SumoStageData.pb.go b/gate-hk4e-api/proto/SumoStageData.pb.go new file mode 100644 index 00000000..9bc0ecac --- /dev/null +++ b/gate-hk4e-api/proto/SumoStageData.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoStageData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoStageData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxScore uint32 `protobuf:"varint,1,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + OpenTime uint32 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + StageId uint32 `protobuf:"varint,3,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + TeamList []*SumoTeamData `protobuf:"bytes,7,rep,name=team_list,json=teamList,proto3" json:"team_list,omitempty"` + IsOpen bool `protobuf:"varint,11,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *SumoStageData) Reset() { + *x = SumoStageData{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoStageData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoStageData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoStageData) ProtoMessage() {} + +func (x *SumoStageData) ProtoReflect() protoreflect.Message { + mi := &file_SumoStageData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoStageData.ProtoReflect.Descriptor instead. +func (*SumoStageData) Descriptor() ([]byte, []int) { + return file_SumoStageData_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoStageData) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *SumoStageData) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *SumoStageData) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoStageData) GetTeamList() []*SumoTeamData { + if x != nil { + return x.TeamList + } + return nil +} + +func (x *SumoStageData) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_SumoStageData_proto protoreflect.FileDescriptor + +var file_SumoStageData_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x0d, 0x53, 0x75, + 0x6d, 0x6f, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x2a, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoStageData_proto_rawDescOnce sync.Once + file_SumoStageData_proto_rawDescData = file_SumoStageData_proto_rawDesc +) + +func file_SumoStageData_proto_rawDescGZIP() []byte { + file_SumoStageData_proto_rawDescOnce.Do(func() { + file_SumoStageData_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoStageData_proto_rawDescData) + }) + return file_SumoStageData_proto_rawDescData +} + +var file_SumoStageData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoStageData_proto_goTypes = []interface{}{ + (*SumoStageData)(nil), // 0: SumoStageData + (*SumoTeamData)(nil), // 1: SumoTeamData +} +var file_SumoStageData_proto_depIdxs = []int32{ + 1, // 0: SumoStageData.team_list:type_name -> SumoTeamData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoStageData_proto_init() } +func file_SumoStageData_proto_init() { + if File_SumoStageData_proto != nil { + return + } + file_SumoTeamData_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoStageData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoStageData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoStageData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoStageData_proto_goTypes, + DependencyIndexes: file_SumoStageData_proto_depIdxs, + MessageInfos: file_SumoStageData_proto_msgTypes, + }.Build() + File_SumoStageData_proto = out.File + file_SumoStageData_proto_rawDesc = nil + file_SumoStageData_proto_goTypes = nil + file_SumoStageData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoStageData.proto b/gate-hk4e-api/proto/SumoStageData.proto new file mode 100644 index 00000000..96dbe00a --- /dev/null +++ b/gate-hk4e-api/proto/SumoStageData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoTeamData.proto"; + +option go_package = "./;proto"; + +message SumoStageData { + uint32 max_score = 1; + uint32 open_time = 5; + uint32 stage_id = 3; + repeated SumoTeamData team_list = 7; + bool is_open = 11; +} diff --git a/gate-hk4e-api/proto/SumoSwitchTeamReq.pb.go b/gate-hk4e-api/proto/SumoSwitchTeamReq.pb.go new file mode 100644 index 00000000..77741807 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSwitchTeamReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSwitchTeamReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8351 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type SumoSwitchTeamReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ActivityId uint32 `protobuf:"varint,5,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *SumoSwitchTeamReq) Reset() { + *x = SumoSwitchTeamReq{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSwitchTeamReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSwitchTeamReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSwitchTeamReq) ProtoMessage() {} + +func (x *SumoSwitchTeamReq) ProtoReflect() protoreflect.Message { + mi := &file_SumoSwitchTeamReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSwitchTeamReq.ProtoReflect.Descriptor instead. +func (*SumoSwitchTeamReq) Descriptor() ([]byte, []int) { + return file_SumoSwitchTeamReq_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSwitchTeamReq) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *SumoSwitchTeamReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_SumoSwitchTeamReq_proto protoreflect.FileDescriptor + +var file_SumoSwitchTeamReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x11, 0x53, 0x75, 0x6d, + 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSwitchTeamReq_proto_rawDescOnce sync.Once + file_SumoSwitchTeamReq_proto_rawDescData = file_SumoSwitchTeamReq_proto_rawDesc +) + +func file_SumoSwitchTeamReq_proto_rawDescGZIP() []byte { + file_SumoSwitchTeamReq_proto_rawDescOnce.Do(func() { + file_SumoSwitchTeamReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSwitchTeamReq_proto_rawDescData) + }) + return file_SumoSwitchTeamReq_proto_rawDescData +} + +var file_SumoSwitchTeamReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSwitchTeamReq_proto_goTypes = []interface{}{ + (*SumoSwitchTeamReq)(nil), // 0: SumoSwitchTeamReq +} +var file_SumoSwitchTeamReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SumoSwitchTeamReq_proto_init() } +func file_SumoSwitchTeamReq_proto_init() { + if File_SumoSwitchTeamReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_SumoSwitchTeamReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSwitchTeamReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSwitchTeamReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSwitchTeamReq_proto_goTypes, + DependencyIndexes: file_SumoSwitchTeamReq_proto_depIdxs, + MessageInfos: file_SumoSwitchTeamReq_proto_msgTypes, + }.Build() + File_SumoSwitchTeamReq_proto = out.File + file_SumoSwitchTeamReq_proto_rawDesc = nil + file_SumoSwitchTeamReq_proto_goTypes = nil + file_SumoSwitchTeamReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSwitchTeamReq.proto b/gate-hk4e-api/proto/SumoSwitchTeamReq.proto new file mode 100644 index 00000000..6039618c --- /dev/null +++ b/gate-hk4e-api/proto/SumoSwitchTeamReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8351 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SumoSwitchTeamReq { + uint32 stage_id = 9; + uint32 activity_id = 5; +} diff --git a/gate-hk4e-api/proto/SumoSwitchTeamRsp.pb.go b/gate-hk4e-api/proto/SumoSwitchTeamRsp.pb.go new file mode 100644 index 00000000..2655ae6a --- /dev/null +++ b/gate-hk4e-api/proto/SumoSwitchTeamRsp.pb.go @@ -0,0 +1,219 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoSwitchTeamRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8525 +// EnetChannelId: 0 +// EnetIsReliable: true +type SumoSwitchTeamRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextValidSwitchTime uint32 `protobuf:"varint,7,opt,name=next_valid_switch_time,json=nextValidSwitchTime,proto3" json:"next_valid_switch_time,omitempty"` + DungeonTeamList []*SumoDungeonTeam `protobuf:"bytes,10,rep,name=dungeon_team_list,json=dungeonTeamList,proto3" json:"dungeon_team_list,omitempty"` + ActivityId uint32 `protobuf:"varint,6,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurTeamIndex uint32 `protobuf:"varint,11,opt,name=cur_team_index,json=curTeamIndex,proto3" json:"cur_team_index,omitempty"` + StageId uint32 `protobuf:"varint,5,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *SumoSwitchTeamRsp) Reset() { + *x = SumoSwitchTeamRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoSwitchTeamRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoSwitchTeamRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoSwitchTeamRsp) ProtoMessage() {} + +func (x *SumoSwitchTeamRsp) ProtoReflect() protoreflect.Message { + mi := &file_SumoSwitchTeamRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoSwitchTeamRsp.ProtoReflect.Descriptor instead. +func (*SumoSwitchTeamRsp) Descriptor() ([]byte, []int) { + return file_SumoSwitchTeamRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoSwitchTeamRsp) GetNextValidSwitchTime() uint32 { + if x != nil { + return x.NextValidSwitchTime + } + return 0 +} + +func (x *SumoSwitchTeamRsp) GetDungeonTeamList() []*SumoDungeonTeam { + if x != nil { + return x.DungeonTeamList + } + return nil +} + +func (x *SumoSwitchTeamRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *SumoSwitchTeamRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *SumoSwitchTeamRsp) GetCurTeamIndex() uint32 { + if x != nil { + return x.CurTeamIndex + } + return 0 +} + +func (x *SumoSwitchTeamRsp) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_SumoSwitchTeamRsp_proto protoreflect.FileDescriptor + +var file_SumoSwitchTeamRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x65, 0x61, 0x6d, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x53, 0x75, 0x6d, 0x6f, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x82, 0x02, 0x0a, 0x11, 0x53, 0x75, 0x6d, 0x6f, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, + 0x65, 0x61, 0x6d, 0x52, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x11, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x0f, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoSwitchTeamRsp_proto_rawDescOnce sync.Once + file_SumoSwitchTeamRsp_proto_rawDescData = file_SumoSwitchTeamRsp_proto_rawDesc +) + +func file_SumoSwitchTeamRsp_proto_rawDescGZIP() []byte { + file_SumoSwitchTeamRsp_proto_rawDescOnce.Do(func() { + file_SumoSwitchTeamRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoSwitchTeamRsp_proto_rawDescData) + }) + return file_SumoSwitchTeamRsp_proto_rawDescData +} + +var file_SumoSwitchTeamRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoSwitchTeamRsp_proto_goTypes = []interface{}{ + (*SumoSwitchTeamRsp)(nil), // 0: SumoSwitchTeamRsp + (*SumoDungeonTeam)(nil), // 1: SumoDungeonTeam +} +var file_SumoSwitchTeamRsp_proto_depIdxs = []int32{ + 1, // 0: SumoSwitchTeamRsp.dungeon_team_list:type_name -> SumoDungeonTeam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoSwitchTeamRsp_proto_init() } +func file_SumoSwitchTeamRsp_proto_init() { + if File_SumoSwitchTeamRsp_proto != nil { + return + } + file_SumoDungeonTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoSwitchTeamRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoSwitchTeamRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoSwitchTeamRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoSwitchTeamRsp_proto_goTypes, + DependencyIndexes: file_SumoSwitchTeamRsp_proto_depIdxs, + MessageInfos: file_SumoSwitchTeamRsp_proto_msgTypes, + }.Build() + File_SumoSwitchTeamRsp_proto = out.File + file_SumoSwitchTeamRsp_proto_rawDesc = nil + file_SumoSwitchTeamRsp_proto_goTypes = nil + file_SumoSwitchTeamRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoSwitchTeamRsp.proto b/gate-hk4e-api/proto/SumoSwitchTeamRsp.proto new file mode 100644 index 00000000..9ea5e9f2 --- /dev/null +++ b/gate-hk4e-api/proto/SumoSwitchTeamRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoDungeonTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8525 +// EnetChannelId: 0 +// EnetIsReliable: true +message SumoSwitchTeamRsp { + uint32 next_valid_switch_time = 7; + repeated SumoDungeonTeam dungeon_team_list = 10; + uint32 activity_id = 6; + int32 retcode = 14; + uint32 cur_team_index = 11; + uint32 stage_id = 5; +} diff --git a/gate-hk4e-api/proto/SumoTeamData.pb.go b/gate-hk4e-api/proto/SumoTeamData.pb.go new file mode 100644 index 00000000..4416371b --- /dev/null +++ b/gate-hk4e-api/proto/SumoTeamData.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SumoTeamData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SumoTeamData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillIdList []uint32 `protobuf:"varint,14,rep,packed,name=skill_id_list,json=skillIdList,proto3" json:"skill_id_list,omitempty"` + AvatarInfoList []*SumoAvatarInfo `protobuf:"bytes,3,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *SumoTeamData) Reset() { + *x = SumoTeamData{} + if protoimpl.UnsafeEnabled { + mi := &file_SumoTeamData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SumoTeamData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SumoTeamData) ProtoMessage() {} + +func (x *SumoTeamData) ProtoReflect() protoreflect.Message { + mi := &file_SumoTeamData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SumoTeamData.ProtoReflect.Descriptor instead. +func (*SumoTeamData) Descriptor() ([]byte, []int) { + return file_SumoTeamData_proto_rawDescGZIP(), []int{0} +} + +func (x *SumoTeamData) GetSkillIdList() []uint32 { + if x != nil { + return x.SkillIdList + } + return nil +} + +func (x *SumoTeamData) GetAvatarInfoList() []*SumoAvatarInfo { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_SumoTeamData_proto protoreflect.FileDescriptor + +var file_SumoTeamData_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x53, 0x75, 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x53, 0x75, 0x6d, 0x6f, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x0c, 0x53, 0x75, + 0x6d, 0x6f, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x6b, + 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, + 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x53, 0x75, 0x6d, 0x6f, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SumoTeamData_proto_rawDescOnce sync.Once + file_SumoTeamData_proto_rawDescData = file_SumoTeamData_proto_rawDesc +) + +func file_SumoTeamData_proto_rawDescGZIP() []byte { + file_SumoTeamData_proto_rawDescOnce.Do(func() { + file_SumoTeamData_proto_rawDescData = protoimpl.X.CompressGZIP(file_SumoTeamData_proto_rawDescData) + }) + return file_SumoTeamData_proto_rawDescData +} + +var file_SumoTeamData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SumoTeamData_proto_goTypes = []interface{}{ + (*SumoTeamData)(nil), // 0: SumoTeamData + (*SumoAvatarInfo)(nil), // 1: SumoAvatarInfo +} +var file_SumoTeamData_proto_depIdxs = []int32{ + 1, // 0: SumoTeamData.avatar_info_list:type_name -> SumoAvatarInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SumoTeamData_proto_init() } +func file_SumoTeamData_proto_init() { + if File_SumoTeamData_proto != nil { + return + } + file_SumoAvatarInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SumoTeamData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SumoTeamData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SumoTeamData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SumoTeamData_proto_goTypes, + DependencyIndexes: file_SumoTeamData_proto_depIdxs, + MessageInfos: file_SumoTeamData_proto_msgTypes, + }.Build() + File_SumoTeamData_proto = out.File + file_SumoTeamData_proto_rawDesc = nil + file_SumoTeamData_proto_goTypes = nil + file_SumoTeamData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SumoTeamData.proto b/gate-hk4e-api/proto/SumoTeamData.proto new file mode 100644 index 00000000..abdaf374 --- /dev/null +++ b/gate-hk4e-api/proto/SumoTeamData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SumoAvatarInfo.proto"; + +option go_package = "./;proto"; + +message SumoTeamData { + repeated uint32 skill_id_list = 14; + repeated SumoAvatarInfo avatar_info_list = 3; +} diff --git a/gate-hk4e-api/proto/SvrMsgId.pb.go b/gate-hk4e-api/proto/SvrMsgId.pb.go new file mode 100644 index 00000000..03c51cbb --- /dev/null +++ b/gate-hk4e-api/proto/SvrMsgId.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SvrMsgId.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SvrMsgId int32 + +const ( + SvrMsgId_SVR_MSG_ID_UNKNOWN SvrMsgId = 0 + SvrMsgId_SVR_MSG_ID_BLOCK_REFRESH_COUNTDOWN SvrMsgId = 1 + SvrMsgId_SVR_MSG_ID_AVATAR_REVIVE_BY_STATUE SvrMsgId = 2 + SvrMsgId_SVR_MSG_ID_DAILY_TASK_REWARD_MAX_NUM SvrMsgId = 3 + SvrMsgId_SVR_MSG_ID_ROUTINE_TYPE_NOT_OPEN SvrMsgId = 4 + SvrMsgId_SVR_MSG_ID_ROUTINE_TYPE_REWARD_MAX_NUM SvrMsgId = 5 + SvrMsgId_SVR_MSG_ID_MECHANICUS_COIN_LIMIT SvrMsgId = 6 +) + +// Enum value maps for SvrMsgId. +var ( + SvrMsgId_name = map[int32]string{ + 0: "SVR_MSG_ID_UNKNOWN", + 1: "SVR_MSG_ID_BLOCK_REFRESH_COUNTDOWN", + 2: "SVR_MSG_ID_AVATAR_REVIVE_BY_STATUE", + 3: "SVR_MSG_ID_DAILY_TASK_REWARD_MAX_NUM", + 4: "SVR_MSG_ID_ROUTINE_TYPE_NOT_OPEN", + 5: "SVR_MSG_ID_ROUTINE_TYPE_REWARD_MAX_NUM", + 6: "SVR_MSG_ID_MECHANICUS_COIN_LIMIT", + } + SvrMsgId_value = map[string]int32{ + "SVR_MSG_ID_UNKNOWN": 0, + "SVR_MSG_ID_BLOCK_REFRESH_COUNTDOWN": 1, + "SVR_MSG_ID_AVATAR_REVIVE_BY_STATUE": 2, + "SVR_MSG_ID_DAILY_TASK_REWARD_MAX_NUM": 3, + "SVR_MSG_ID_ROUTINE_TYPE_NOT_OPEN": 4, + "SVR_MSG_ID_ROUTINE_TYPE_REWARD_MAX_NUM": 5, + "SVR_MSG_ID_MECHANICUS_COIN_LIMIT": 6, + } +) + +func (x SvrMsgId) Enum() *SvrMsgId { + p := new(SvrMsgId) + *p = x + return p +} + +func (x SvrMsgId) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SvrMsgId) Descriptor() protoreflect.EnumDescriptor { + return file_SvrMsgId_proto_enumTypes[0].Descriptor() +} + +func (SvrMsgId) Type() protoreflect.EnumType { + return &file_SvrMsgId_proto_enumTypes[0] +} + +func (x SvrMsgId) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SvrMsgId.Descriptor instead. +func (SvrMsgId) EnumDescriptor() ([]byte, []int) { + return file_SvrMsgId_proto_rawDescGZIP(), []int{0} +} + +var File_SvrMsgId_proto protoreflect.FileDescriptor + +var file_SvrMsgId_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x53, 0x76, 0x72, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2a, 0x94, 0x02, 0x0a, 0x08, 0x53, 0x76, 0x72, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x16, 0x0a, + 0x12, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x49, 0x44, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, + 0x5f, 0x49, 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, + 0x48, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x26, 0x0a, + 0x22, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x49, 0x44, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x52, 0x45, 0x56, 0x49, 0x56, 0x45, 0x5f, 0x42, 0x59, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x45, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, + 0x5f, 0x49, 0x44, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, + 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x4e, 0x55, 0x4d, 0x10, 0x03, 0x12, + 0x24, 0x0a, 0x20, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x49, 0x44, 0x5f, 0x52, 0x4f, + 0x55, 0x54, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, + 0x50, 0x45, 0x4e, 0x10, 0x04, 0x12, 0x2a, 0x0a, 0x26, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, + 0x5f, 0x49, 0x44, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x52, 0x45, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x4e, 0x55, 0x4d, 0x10, + 0x05, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x56, 0x52, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x49, 0x44, 0x5f, + 0x4d, 0x45, 0x43, 0x48, 0x41, 0x4e, 0x49, 0x43, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x5f, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x06, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SvrMsgId_proto_rawDescOnce sync.Once + file_SvrMsgId_proto_rawDescData = file_SvrMsgId_proto_rawDesc +) + +func file_SvrMsgId_proto_rawDescGZIP() []byte { + file_SvrMsgId_proto_rawDescOnce.Do(func() { + file_SvrMsgId_proto_rawDescData = protoimpl.X.CompressGZIP(file_SvrMsgId_proto_rawDescData) + }) + return file_SvrMsgId_proto_rawDescData +} + +var file_SvrMsgId_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_SvrMsgId_proto_goTypes = []interface{}{ + (SvrMsgId)(0), // 0: SvrMsgId +} +var file_SvrMsgId_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_SvrMsgId_proto_init() } +func file_SvrMsgId_proto_init() { + if File_SvrMsgId_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SvrMsgId_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SvrMsgId_proto_goTypes, + DependencyIndexes: file_SvrMsgId_proto_depIdxs, + EnumInfos: file_SvrMsgId_proto_enumTypes, + }.Build() + File_SvrMsgId_proto = out.File + file_SvrMsgId_proto_rawDesc = nil + file_SvrMsgId_proto_goTypes = nil + file_SvrMsgId_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SvrMsgId.proto b/gate-hk4e-api/proto/SvrMsgId.proto new file mode 100644 index 00000000..93d9d999 --- /dev/null +++ b/gate-hk4e-api/proto/SvrMsgId.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum SvrMsgId { + SVR_MSG_ID_UNKNOWN = 0; + SVR_MSG_ID_BLOCK_REFRESH_COUNTDOWN = 1; + SVR_MSG_ID_AVATAR_REVIVE_BY_STATUE = 2; + SVR_MSG_ID_DAILY_TASK_REWARD_MAX_NUM = 3; + SVR_MSG_ID_ROUTINE_TYPE_NOT_OPEN = 4; + SVR_MSG_ID_ROUTINE_TYPE_REWARD_MAX_NUM = 5; + SVR_MSG_ID_MECHANICUS_COIN_LIMIT = 6; +} diff --git a/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.pb.go b/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.pb.go new file mode 100644 index 00000000..d8968962 --- /dev/null +++ b/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SyncScenePlayTeamEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3333 +// EnetChannelId: 0 +// EnetIsReliable: true +type SyncScenePlayTeamEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + EntityInfoList []*PlayTeamEntityInfo `protobuf:"bytes,3,rep,name=entity_info_list,json=entityInfoList,proto3" json:"entity_info_list,omitempty"` +} + +func (x *SyncScenePlayTeamEntityNotify) Reset() { + *x = SyncScenePlayTeamEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SyncScenePlayTeamEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncScenePlayTeamEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncScenePlayTeamEntityNotify) ProtoMessage() {} + +func (x *SyncScenePlayTeamEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_SyncScenePlayTeamEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncScenePlayTeamEntityNotify.ProtoReflect.Descriptor instead. +func (*SyncScenePlayTeamEntityNotify) Descriptor() ([]byte, []int) { + return file_SyncScenePlayTeamEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SyncScenePlayTeamEntityNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SyncScenePlayTeamEntityNotify) GetEntityInfoList() []*PlayTeamEntityInfo { + if x != nil { + return x.EntityInfoList + } + return nil +} + +var File_SyncScenePlayTeamEntityNotify_proto protoreflect.FileDescriptor + +var file_SyncScenePlayTeamEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x54, + 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x65, 0x61, 0x6d, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x79, 0x0a, 0x1d, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, + 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x10, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x65, 0x61, 0x6d, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SyncScenePlayTeamEntityNotify_proto_rawDescOnce sync.Once + file_SyncScenePlayTeamEntityNotify_proto_rawDescData = file_SyncScenePlayTeamEntityNotify_proto_rawDesc +) + +func file_SyncScenePlayTeamEntityNotify_proto_rawDescGZIP() []byte { + file_SyncScenePlayTeamEntityNotify_proto_rawDescOnce.Do(func() { + file_SyncScenePlayTeamEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SyncScenePlayTeamEntityNotify_proto_rawDescData) + }) + return file_SyncScenePlayTeamEntityNotify_proto_rawDescData +} + +var file_SyncScenePlayTeamEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SyncScenePlayTeamEntityNotify_proto_goTypes = []interface{}{ + (*SyncScenePlayTeamEntityNotify)(nil), // 0: SyncScenePlayTeamEntityNotify + (*PlayTeamEntityInfo)(nil), // 1: PlayTeamEntityInfo +} +var file_SyncScenePlayTeamEntityNotify_proto_depIdxs = []int32{ + 1, // 0: SyncScenePlayTeamEntityNotify.entity_info_list:type_name -> PlayTeamEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SyncScenePlayTeamEntityNotify_proto_init() } +func file_SyncScenePlayTeamEntityNotify_proto_init() { + if File_SyncScenePlayTeamEntityNotify_proto != nil { + return + } + file_PlayTeamEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SyncScenePlayTeamEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncScenePlayTeamEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SyncScenePlayTeamEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SyncScenePlayTeamEntityNotify_proto_goTypes, + DependencyIndexes: file_SyncScenePlayTeamEntityNotify_proto_depIdxs, + MessageInfos: file_SyncScenePlayTeamEntityNotify_proto_msgTypes, + }.Build() + File_SyncScenePlayTeamEntityNotify_proto = out.File + file_SyncScenePlayTeamEntityNotify_proto_rawDesc = nil + file_SyncScenePlayTeamEntityNotify_proto_goTypes = nil + file_SyncScenePlayTeamEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.proto b/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.proto new file mode 100644 index 00000000..b5d77842 --- /dev/null +++ b/gate-hk4e-api/proto/SyncScenePlayTeamEntityNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayTeamEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3333 +// EnetChannelId: 0 +// EnetIsReliable: true +message SyncScenePlayTeamEntityNotify { + uint32 scene_id = 2; + repeated PlayTeamEntityInfo entity_info_list = 3; +} diff --git a/gate-hk4e-api/proto/SyncTeamEntityNotify.pb.go b/gate-hk4e-api/proto/SyncTeamEntityNotify.pb.go new file mode 100644 index 00000000..dbf65156 --- /dev/null +++ b/gate-hk4e-api/proto/SyncTeamEntityNotify.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: SyncTeamEntityNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 317 +// EnetChannelId: 0 +// EnetIsReliable: true +type SyncTeamEntityNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,13,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + TeamEntityInfoList []*TeamEntityInfo `protobuf:"bytes,15,rep,name=team_entity_info_list,json=teamEntityInfoList,proto3" json:"team_entity_info_list,omitempty"` +} + +func (x *SyncTeamEntityNotify) Reset() { + *x = SyncTeamEntityNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_SyncTeamEntityNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncTeamEntityNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncTeamEntityNotify) ProtoMessage() {} + +func (x *SyncTeamEntityNotify) ProtoReflect() protoreflect.Message { + mi := &file_SyncTeamEntityNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncTeamEntityNotify.ProtoReflect.Descriptor instead. +func (*SyncTeamEntityNotify) Descriptor() ([]byte, []int) { + return file_SyncTeamEntityNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *SyncTeamEntityNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *SyncTeamEntityNotify) GetTeamEntityInfoList() []*TeamEntityInfo { + if x != nil { + return x.TeamEntityInfoList + } + return nil +} + +var File_SyncTeamEntityNotify_proto protoreflect.FileDescriptor + +var file_SyncTeamEntityNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x54, 0x65, + 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, + 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x15, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x74, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_SyncTeamEntityNotify_proto_rawDescOnce sync.Once + file_SyncTeamEntityNotify_proto_rawDescData = file_SyncTeamEntityNotify_proto_rawDesc +) + +func file_SyncTeamEntityNotify_proto_rawDescGZIP() []byte { + file_SyncTeamEntityNotify_proto_rawDescOnce.Do(func() { + file_SyncTeamEntityNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_SyncTeamEntityNotify_proto_rawDescData) + }) + return file_SyncTeamEntityNotify_proto_rawDescData +} + +var file_SyncTeamEntityNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_SyncTeamEntityNotify_proto_goTypes = []interface{}{ + (*SyncTeamEntityNotify)(nil), // 0: SyncTeamEntityNotify + (*TeamEntityInfo)(nil), // 1: TeamEntityInfo +} +var file_SyncTeamEntityNotify_proto_depIdxs = []int32{ + 1, // 0: SyncTeamEntityNotify.team_entity_info_list:type_name -> TeamEntityInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_SyncTeamEntityNotify_proto_init() } +func file_SyncTeamEntityNotify_proto_init() { + if File_SyncTeamEntityNotify_proto != nil { + return + } + file_TeamEntityInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_SyncTeamEntityNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncTeamEntityNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_SyncTeamEntityNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_SyncTeamEntityNotify_proto_goTypes, + DependencyIndexes: file_SyncTeamEntityNotify_proto_depIdxs, + MessageInfos: file_SyncTeamEntityNotify_proto_msgTypes, + }.Build() + File_SyncTeamEntityNotify_proto = out.File + file_SyncTeamEntityNotify_proto_rawDesc = nil + file_SyncTeamEntityNotify_proto_goTypes = nil + file_SyncTeamEntityNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/SyncTeamEntityNotify.proto b/gate-hk4e-api/proto/SyncTeamEntityNotify.proto new file mode 100644 index 00000000..3b6f9908 --- /dev/null +++ b/gate-hk4e-api/proto/SyncTeamEntityNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TeamEntityInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 317 +// EnetChannelId: 0 +// EnetIsReliable: true +message SyncTeamEntityNotify { + uint32 scene_id = 13; + repeated TeamEntityInfo team_entity_info_list = 15; +} diff --git a/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.pb.go b/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.pb.go new file mode 100644 index 00000000..6ba311b7 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAchievementGoalRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2652 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeAchievementGoalRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdList []uint32 `protobuf:"varint,5,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` +} + +func (x *TakeAchievementGoalRewardReq) Reset() { + *x = TakeAchievementGoalRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAchievementGoalRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAchievementGoalRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAchievementGoalRewardReq) ProtoMessage() {} + +func (x *TakeAchievementGoalRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeAchievementGoalRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAchievementGoalRewardReq.ProtoReflect.Descriptor instead. +func (*TakeAchievementGoalRewardReq) Descriptor() ([]byte, []int) { + return file_TakeAchievementGoalRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAchievementGoalRewardReq) GetIdList() []uint32 { + if x != nil { + return x.IdList + } + return nil +} + +var File_TakeAchievementGoalRewardReq_proto protoreflect.FileDescriptor + +var file_TakeAchievementGoalRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x47, 0x6f, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x1c, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, + 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x6f, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_TakeAchievementGoalRewardReq_proto_rawDescOnce sync.Once + file_TakeAchievementGoalRewardReq_proto_rawDescData = file_TakeAchievementGoalRewardReq_proto_rawDesc +) + +func file_TakeAchievementGoalRewardReq_proto_rawDescGZIP() []byte { + file_TakeAchievementGoalRewardReq_proto_rawDescOnce.Do(func() { + file_TakeAchievementGoalRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAchievementGoalRewardReq_proto_rawDescData) + }) + return file_TakeAchievementGoalRewardReq_proto_rawDescData +} + +var file_TakeAchievementGoalRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAchievementGoalRewardReq_proto_goTypes = []interface{}{ + (*TakeAchievementGoalRewardReq)(nil), // 0: TakeAchievementGoalRewardReq +} +var file_TakeAchievementGoalRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeAchievementGoalRewardReq_proto_init() } +func file_TakeAchievementGoalRewardReq_proto_init() { + if File_TakeAchievementGoalRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeAchievementGoalRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAchievementGoalRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAchievementGoalRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAchievementGoalRewardReq_proto_goTypes, + DependencyIndexes: file_TakeAchievementGoalRewardReq_proto_depIdxs, + MessageInfos: file_TakeAchievementGoalRewardReq_proto_msgTypes, + }.Build() + File_TakeAchievementGoalRewardReq_proto = out.File + file_TakeAchievementGoalRewardReq_proto_rawDesc = nil + file_TakeAchievementGoalRewardReq_proto_goTypes = nil + file_TakeAchievementGoalRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.proto b/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.proto new file mode 100644 index 00000000..49e6c2c0 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementGoalRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2652 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeAchievementGoalRewardReq { + repeated uint32 id_list = 5; +} diff --git a/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.pb.go b/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.pb.go new file mode 100644 index 00000000..1a6aac85 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAchievementGoalRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2681 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeAchievementGoalRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + IdList []uint32 `protobuf:"varint,12,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,5,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *TakeAchievementGoalRewardRsp) Reset() { + *x = TakeAchievementGoalRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAchievementGoalRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAchievementGoalRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAchievementGoalRewardRsp) ProtoMessage() {} + +func (x *TakeAchievementGoalRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeAchievementGoalRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAchievementGoalRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeAchievementGoalRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeAchievementGoalRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAchievementGoalRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeAchievementGoalRewardRsp) GetIdList() []uint32 { + if x != nil { + return x.IdList + } + return nil +} + +func (x *TakeAchievementGoalRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_TakeAchievementGoalRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeAchievementGoalRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x47, 0x6f, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x1c, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, + 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x6f, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x06, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeAchievementGoalRewardRsp_proto_rawDescOnce sync.Once + file_TakeAchievementGoalRewardRsp_proto_rawDescData = file_TakeAchievementGoalRewardRsp_proto_rawDesc +) + +func file_TakeAchievementGoalRewardRsp_proto_rawDescGZIP() []byte { + file_TakeAchievementGoalRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeAchievementGoalRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAchievementGoalRewardRsp_proto_rawDescData) + }) + return file_TakeAchievementGoalRewardRsp_proto_rawDescData +} + +var file_TakeAchievementGoalRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAchievementGoalRewardRsp_proto_goTypes = []interface{}{ + (*TakeAchievementGoalRewardRsp)(nil), // 0: TakeAchievementGoalRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeAchievementGoalRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeAchievementGoalRewardRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeAchievementGoalRewardRsp_proto_init() } +func file_TakeAchievementGoalRewardRsp_proto_init() { + if File_TakeAchievementGoalRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeAchievementGoalRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAchievementGoalRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAchievementGoalRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAchievementGoalRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeAchievementGoalRewardRsp_proto_depIdxs, + MessageInfos: file_TakeAchievementGoalRewardRsp_proto_msgTypes, + }.Build() + File_TakeAchievementGoalRewardRsp_proto = out.File + file_TakeAchievementGoalRewardRsp_proto_rawDesc = nil + file_TakeAchievementGoalRewardRsp_proto_goTypes = nil + file_TakeAchievementGoalRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.proto b/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.proto new file mode 100644 index 00000000..67103e28 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementGoalRewardRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2681 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeAchievementGoalRewardRsp { + int32 retcode = 15; + repeated uint32 id_list = 12; + repeated ItemParam item_list = 5; +} diff --git a/gate-hk4e-api/proto/TakeAchievementRewardReq.pb.go b/gate-hk4e-api/proto/TakeAchievementRewardReq.pb.go new file mode 100644 index 00000000..4cd15541 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAchievementRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2675 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeAchievementRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdList []uint32 `protobuf:"varint,13,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` +} + +func (x *TakeAchievementRewardReq) Reset() { + *x = TakeAchievementRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAchievementRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAchievementRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAchievementRewardReq) ProtoMessage() {} + +func (x *TakeAchievementRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeAchievementRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAchievementRewardReq.ProtoReflect.Descriptor instead. +func (*TakeAchievementRewardReq) Descriptor() ([]byte, []int) { + return file_TakeAchievementRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAchievementRewardReq) GetIdList() []uint32 { + if x != nil { + return x.IdList + } + return nil +} + +var File_TakeAchievementRewardReq_proto protoreflect.FileDescriptor + +var file_TakeAchievementRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x33, 0x0a, 0x18, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeAchievementRewardReq_proto_rawDescOnce sync.Once + file_TakeAchievementRewardReq_proto_rawDescData = file_TakeAchievementRewardReq_proto_rawDesc +) + +func file_TakeAchievementRewardReq_proto_rawDescGZIP() []byte { + file_TakeAchievementRewardReq_proto_rawDescOnce.Do(func() { + file_TakeAchievementRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAchievementRewardReq_proto_rawDescData) + }) + return file_TakeAchievementRewardReq_proto_rawDescData +} + +var file_TakeAchievementRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAchievementRewardReq_proto_goTypes = []interface{}{ + (*TakeAchievementRewardReq)(nil), // 0: TakeAchievementRewardReq +} +var file_TakeAchievementRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeAchievementRewardReq_proto_init() } +func file_TakeAchievementRewardReq_proto_init() { + if File_TakeAchievementRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeAchievementRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAchievementRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAchievementRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAchievementRewardReq_proto_goTypes, + DependencyIndexes: file_TakeAchievementRewardReq_proto_depIdxs, + MessageInfos: file_TakeAchievementRewardReq_proto_msgTypes, + }.Build() + File_TakeAchievementRewardReq_proto = out.File + file_TakeAchievementRewardReq_proto_rawDesc = nil + file_TakeAchievementRewardReq_proto_goTypes = nil + file_TakeAchievementRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAchievementRewardReq.proto b/gate-hk4e-api/proto/TakeAchievementRewardReq.proto new file mode 100644 index 00000000..cd73f0b3 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2675 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeAchievementRewardReq { + repeated uint32 id_list = 13; +} diff --git a/gate-hk4e-api/proto/TakeAchievementRewardRsp.pb.go b/gate-hk4e-api/proto/TakeAchievementRewardRsp.pb.go new file mode 100644 index 00000000..333639f9 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementRewardRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAchievementRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2657 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeAchievementRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdList []uint32 `protobuf:"varint,7,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,10,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeAchievementRewardRsp) Reset() { + *x = TakeAchievementRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAchievementRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAchievementRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAchievementRewardRsp) ProtoMessage() {} + +func (x *TakeAchievementRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeAchievementRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAchievementRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeAchievementRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeAchievementRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAchievementRewardRsp) GetIdList() []uint32 { + if x != nil { + return x.IdList + } + return nil +} + +func (x *TakeAchievementRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *TakeAchievementRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeAchievementRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeAchievementRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x76, 0x0a, 0x18, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x63, 0x68, 0x69, 0x65, 0x76, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, + 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeAchievementRewardRsp_proto_rawDescOnce sync.Once + file_TakeAchievementRewardRsp_proto_rawDescData = file_TakeAchievementRewardRsp_proto_rawDesc +) + +func file_TakeAchievementRewardRsp_proto_rawDescGZIP() []byte { + file_TakeAchievementRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeAchievementRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAchievementRewardRsp_proto_rawDescData) + }) + return file_TakeAchievementRewardRsp_proto_rawDescData +} + +var file_TakeAchievementRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAchievementRewardRsp_proto_goTypes = []interface{}{ + (*TakeAchievementRewardRsp)(nil), // 0: TakeAchievementRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeAchievementRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeAchievementRewardRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeAchievementRewardRsp_proto_init() } +func file_TakeAchievementRewardRsp_proto_init() { + if File_TakeAchievementRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeAchievementRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAchievementRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAchievementRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAchievementRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeAchievementRewardRsp_proto_depIdxs, + MessageInfos: file_TakeAchievementRewardRsp_proto_msgTypes, + }.Build() + File_TakeAchievementRewardRsp_proto = out.File + file_TakeAchievementRewardRsp_proto_rawDesc = nil + file_TakeAchievementRewardRsp_proto_goTypes = nil + file_TakeAchievementRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAchievementRewardRsp.proto b/gate-hk4e-api/proto/TakeAchievementRewardRsp.proto new file mode 100644 index 00000000..26464f8b --- /dev/null +++ b/gate-hk4e-api/proto/TakeAchievementRewardRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2657 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeAchievementRewardRsp { + repeated uint32 id_list = 7; + repeated ItemParam item_list = 10; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.pb.go b/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.pb.go new file mode 100644 index 00000000..bc485ba9 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAsterSpecialRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2097 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeAsterSpecialRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *TakeAsterSpecialRewardReq) Reset() { + *x = TakeAsterSpecialRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAsterSpecialRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAsterSpecialRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAsterSpecialRewardReq) ProtoMessage() {} + +func (x *TakeAsterSpecialRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeAsterSpecialRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAsterSpecialRewardReq.ProtoReflect.Descriptor instead. +func (*TakeAsterSpecialRewardReq) Descriptor() ([]byte, []int) { + return file_TakeAsterSpecialRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAsterSpecialRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_TakeAsterSpecialRewardReq_proto protoreflect.FileDescriptor + +var file_TakeAsterSpecialRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x69, + 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3c, 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TakeAsterSpecialRewardReq_proto_rawDescOnce sync.Once + file_TakeAsterSpecialRewardReq_proto_rawDescData = file_TakeAsterSpecialRewardReq_proto_rawDesc +) + +func file_TakeAsterSpecialRewardReq_proto_rawDescGZIP() []byte { + file_TakeAsterSpecialRewardReq_proto_rawDescOnce.Do(func() { + file_TakeAsterSpecialRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAsterSpecialRewardReq_proto_rawDescData) + }) + return file_TakeAsterSpecialRewardReq_proto_rawDescData +} + +var file_TakeAsterSpecialRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAsterSpecialRewardReq_proto_goTypes = []interface{}{ + (*TakeAsterSpecialRewardReq)(nil), // 0: TakeAsterSpecialRewardReq +} +var file_TakeAsterSpecialRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeAsterSpecialRewardReq_proto_init() } +func file_TakeAsterSpecialRewardReq_proto_init() { + if File_TakeAsterSpecialRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeAsterSpecialRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAsterSpecialRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAsterSpecialRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAsterSpecialRewardReq_proto_goTypes, + DependencyIndexes: file_TakeAsterSpecialRewardReq_proto_depIdxs, + MessageInfos: file_TakeAsterSpecialRewardReq_proto_msgTypes, + }.Build() + File_TakeAsterSpecialRewardReq_proto = out.File + file_TakeAsterSpecialRewardReq_proto_rawDesc = nil + file_TakeAsterSpecialRewardReq_proto_goTypes = nil + file_TakeAsterSpecialRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.proto b/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.proto new file mode 100644 index 00000000..586920b1 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAsterSpecialRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2097 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeAsterSpecialRewardReq { + uint32 schedule_id = 5; +} diff --git a/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.pb.go b/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.pb.go new file mode 100644 index 00000000..263d2cd2 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeAsterSpecialRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2193 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeAsterSpecialRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,14,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *TakeAsterSpecialRewardRsp) Reset() { + *x = TakeAsterSpecialRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeAsterSpecialRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeAsterSpecialRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeAsterSpecialRewardRsp) ProtoMessage() {} + +func (x *TakeAsterSpecialRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeAsterSpecialRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeAsterSpecialRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeAsterSpecialRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeAsterSpecialRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeAsterSpecialRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeAsterSpecialRewardRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_TakeAsterSpecialRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeAsterSpecialRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x69, + 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x56, 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x41, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeAsterSpecialRewardRsp_proto_rawDescOnce sync.Once + file_TakeAsterSpecialRewardRsp_proto_rawDescData = file_TakeAsterSpecialRewardRsp_proto_rawDesc +) + +func file_TakeAsterSpecialRewardRsp_proto_rawDescGZIP() []byte { + file_TakeAsterSpecialRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeAsterSpecialRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeAsterSpecialRewardRsp_proto_rawDescData) + }) + return file_TakeAsterSpecialRewardRsp_proto_rawDescData +} + +var file_TakeAsterSpecialRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeAsterSpecialRewardRsp_proto_goTypes = []interface{}{ + (*TakeAsterSpecialRewardRsp)(nil), // 0: TakeAsterSpecialRewardRsp +} +var file_TakeAsterSpecialRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeAsterSpecialRewardRsp_proto_init() } +func file_TakeAsterSpecialRewardRsp_proto_init() { + if File_TakeAsterSpecialRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeAsterSpecialRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeAsterSpecialRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeAsterSpecialRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeAsterSpecialRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeAsterSpecialRewardRsp_proto_depIdxs, + MessageInfos: file_TakeAsterSpecialRewardRsp_proto_msgTypes, + }.Build() + File_TakeAsterSpecialRewardRsp_proto = out.File + file_TakeAsterSpecialRewardRsp_proto_rawDesc = nil + file_TakeAsterSpecialRewardRsp_proto_goTypes = nil + file_TakeAsterSpecialRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.proto b/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.proto new file mode 100644 index 00000000..9b8eb920 --- /dev/null +++ b/gate-hk4e-api/proto/TakeAsterSpecialRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2193 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeAsterSpecialRewardRsp { + int32 retcode = 12; + uint32 schedule_id = 14; +} diff --git a/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.pb.go b/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.pb.go new file mode 100644 index 00000000..a2646e39 --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeBattlePassMissionPointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeBattlePassMissionPointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MissionIdList []uint32 `protobuf:"varint,5,rep,packed,name=mission_id_list,json=missionIdList,proto3" json:"mission_id_list,omitempty"` +} + +func (x *TakeBattlePassMissionPointReq) Reset() { + *x = TakeBattlePassMissionPointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeBattlePassMissionPointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeBattlePassMissionPointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeBattlePassMissionPointReq) ProtoMessage() {} + +func (x *TakeBattlePassMissionPointReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeBattlePassMissionPointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeBattlePassMissionPointReq.ProtoReflect.Descriptor instead. +func (*TakeBattlePassMissionPointReq) Descriptor() ([]byte, []int) { + return file_TakeBattlePassMissionPointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeBattlePassMissionPointReq) GetMissionIdList() []uint32 { + if x != nil { + return x.MissionIdList + } + return nil +} + +var File_TakeBattlePassMissionPointReq_proto protoreflect.FileDescriptor + +var file_TakeBattlePassMissionPointReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_TakeBattlePassMissionPointReq_proto_rawDescOnce sync.Once + file_TakeBattlePassMissionPointReq_proto_rawDescData = file_TakeBattlePassMissionPointReq_proto_rawDesc +) + +func file_TakeBattlePassMissionPointReq_proto_rawDescGZIP() []byte { + file_TakeBattlePassMissionPointReq_proto_rawDescOnce.Do(func() { + file_TakeBattlePassMissionPointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeBattlePassMissionPointReq_proto_rawDescData) + }) + return file_TakeBattlePassMissionPointReq_proto_rawDescData +} + +var file_TakeBattlePassMissionPointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeBattlePassMissionPointReq_proto_goTypes = []interface{}{ + (*TakeBattlePassMissionPointReq)(nil), // 0: TakeBattlePassMissionPointReq +} +var file_TakeBattlePassMissionPointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeBattlePassMissionPointReq_proto_init() } +func file_TakeBattlePassMissionPointReq_proto_init() { + if File_TakeBattlePassMissionPointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeBattlePassMissionPointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeBattlePassMissionPointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeBattlePassMissionPointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeBattlePassMissionPointReq_proto_goTypes, + DependencyIndexes: file_TakeBattlePassMissionPointReq_proto_depIdxs, + MessageInfos: file_TakeBattlePassMissionPointReq_proto_msgTypes, + }.Build() + File_TakeBattlePassMissionPointReq_proto = out.File + file_TakeBattlePassMissionPointReq_proto_rawDesc = nil + file_TakeBattlePassMissionPointReq_proto_goTypes = nil + file_TakeBattlePassMissionPointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.proto b/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.proto new file mode 100644 index 00000000..5d5a98ba --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassMissionPointReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeBattlePassMissionPointReq { + repeated uint32 mission_id_list = 5; +} diff --git a/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.pb.go b/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.pb.go new file mode 100644 index 00000000..181becca --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeBattlePassMissionPointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2622 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeBattlePassMissionPointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + MissionIdList []uint32 `protobuf:"varint,11,rep,packed,name=mission_id_list,json=missionIdList,proto3" json:"mission_id_list,omitempty"` +} + +func (x *TakeBattlePassMissionPointRsp) Reset() { + *x = TakeBattlePassMissionPointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeBattlePassMissionPointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeBattlePassMissionPointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeBattlePassMissionPointRsp) ProtoMessage() {} + +func (x *TakeBattlePassMissionPointRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeBattlePassMissionPointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeBattlePassMissionPointRsp.ProtoReflect.Descriptor instead. +func (*TakeBattlePassMissionPointRsp) Descriptor() ([]byte, []int) { + return file_TakeBattlePassMissionPointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeBattlePassMissionPointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeBattlePassMissionPointRsp) GetMissionIdList() []uint32 { + if x != nil { + return x.MissionIdList + } + return nil +} + +var File_TakeBattlePassMissionPointRsp_proto protoreflect.FileDescriptor + +var file_TakeBattlePassMissionPointRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeBattlePassMissionPointRsp_proto_rawDescOnce sync.Once + file_TakeBattlePassMissionPointRsp_proto_rawDescData = file_TakeBattlePassMissionPointRsp_proto_rawDesc +) + +func file_TakeBattlePassMissionPointRsp_proto_rawDescGZIP() []byte { + file_TakeBattlePassMissionPointRsp_proto_rawDescOnce.Do(func() { + file_TakeBattlePassMissionPointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeBattlePassMissionPointRsp_proto_rawDescData) + }) + return file_TakeBattlePassMissionPointRsp_proto_rawDescData +} + +var file_TakeBattlePassMissionPointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeBattlePassMissionPointRsp_proto_goTypes = []interface{}{ + (*TakeBattlePassMissionPointRsp)(nil), // 0: TakeBattlePassMissionPointRsp +} +var file_TakeBattlePassMissionPointRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeBattlePassMissionPointRsp_proto_init() } +func file_TakeBattlePassMissionPointRsp_proto_init() { + if File_TakeBattlePassMissionPointRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeBattlePassMissionPointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeBattlePassMissionPointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeBattlePassMissionPointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeBattlePassMissionPointRsp_proto_goTypes, + DependencyIndexes: file_TakeBattlePassMissionPointRsp_proto_depIdxs, + MessageInfos: file_TakeBattlePassMissionPointRsp_proto_msgTypes, + }.Build() + File_TakeBattlePassMissionPointRsp_proto = out.File + file_TakeBattlePassMissionPointRsp_proto_rawDesc = nil + file_TakeBattlePassMissionPointRsp_proto_goTypes = nil + file_TakeBattlePassMissionPointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.proto b/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.proto new file mode 100644 index 00000000..45282ae6 --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassMissionPointRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2622 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeBattlePassMissionPointRsp { + int32 retcode = 4; + repeated uint32 mission_id_list = 11; +} diff --git a/gate-hk4e-api/proto/TakeBattlePassRewardReq.pb.go b/gate-hk4e-api/proto/TakeBattlePassRewardReq.pb.go new file mode 100644 index 00000000..4b9d8f4c --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassRewardReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeBattlePassRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeBattlePassRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TakeOptionList []*BattlePassRewardTakeOption `protobuf:"bytes,12,rep,name=take_option_list,json=takeOptionList,proto3" json:"take_option_list,omitempty"` +} + +func (x *TakeBattlePassRewardReq) Reset() { + *x = TakeBattlePassRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeBattlePassRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeBattlePassRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeBattlePassRewardReq) ProtoMessage() {} + +func (x *TakeBattlePassRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeBattlePassRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeBattlePassRewardReq.ProtoReflect.Descriptor instead. +func (*TakeBattlePassRewardReq) Descriptor() ([]byte, []int) { + return file_TakeBattlePassRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeBattlePassRewardReq) GetTakeOptionList() []*BattlePassRewardTakeOption { + if x != nil { + return x.TakeOptionList + } + return nil +} + +var File_TakeBattlePassRewardReq_proto protoreflect.FileDescriptor + +var file_TakeBattlePassRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x20, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x60, 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x10, + 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeBattlePassRewardReq_proto_rawDescOnce sync.Once + file_TakeBattlePassRewardReq_proto_rawDescData = file_TakeBattlePassRewardReq_proto_rawDesc +) + +func file_TakeBattlePassRewardReq_proto_rawDescGZIP() []byte { + file_TakeBattlePassRewardReq_proto_rawDescOnce.Do(func() { + file_TakeBattlePassRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeBattlePassRewardReq_proto_rawDescData) + }) + return file_TakeBattlePassRewardReq_proto_rawDescData +} + +var file_TakeBattlePassRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeBattlePassRewardReq_proto_goTypes = []interface{}{ + (*TakeBattlePassRewardReq)(nil), // 0: TakeBattlePassRewardReq + (*BattlePassRewardTakeOption)(nil), // 1: BattlePassRewardTakeOption +} +var file_TakeBattlePassRewardReq_proto_depIdxs = []int32{ + 1, // 0: TakeBattlePassRewardReq.take_option_list:type_name -> BattlePassRewardTakeOption + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeBattlePassRewardReq_proto_init() } +func file_TakeBattlePassRewardReq_proto_init() { + if File_TakeBattlePassRewardReq_proto != nil { + return + } + file_BattlePassRewardTakeOption_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeBattlePassRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeBattlePassRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeBattlePassRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeBattlePassRewardReq_proto_goTypes, + DependencyIndexes: file_TakeBattlePassRewardReq_proto_depIdxs, + MessageInfos: file_TakeBattlePassRewardReq_proto_msgTypes, + }.Build() + File_TakeBattlePassRewardReq_proto = out.File + file_TakeBattlePassRewardReq_proto_rawDesc = nil + file_TakeBattlePassRewardReq_proto_goTypes = nil + file_TakeBattlePassRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeBattlePassRewardReq.proto b/gate-hk4e-api/proto/TakeBattlePassRewardReq.proto new file mode 100644 index 00000000..2fdf7693 --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassRewardReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassRewardTakeOption.proto"; + +option go_package = "./;proto"; + +// CmdId: 2602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeBattlePassRewardReq { + repeated BattlePassRewardTakeOption take_option_list = 12; +} diff --git a/gate-hk4e-api/proto/TakeBattlePassRewardRsp.pb.go b/gate-hk4e-api/proto/TakeBattlePassRewardRsp.pb.go new file mode 100644 index 00000000..6fedf68f --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassRewardRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeBattlePassRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2631 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeBattlePassRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,7,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + TakeOptionList []*BattlePassRewardTakeOption `protobuf:"bytes,9,rep,name=take_option_list,json=takeOptionList,proto3" json:"take_option_list,omitempty"` +} + +func (x *TakeBattlePassRewardRsp) Reset() { + *x = TakeBattlePassRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeBattlePassRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeBattlePassRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeBattlePassRewardRsp) ProtoMessage() {} + +func (x *TakeBattlePassRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeBattlePassRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeBattlePassRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeBattlePassRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeBattlePassRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeBattlePassRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *TakeBattlePassRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeBattlePassRewardRsp) GetTakeOptionList() []*BattlePassRewardTakeOption { + if x != nil { + return x.TakeOptionList + } + return nil +} + +var File_TakeBattlePassRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeBattlePassRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x20, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x27, + 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, + 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x45, 0x0a, 0x10, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x42, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x61, + 0x6b, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeBattlePassRewardRsp_proto_rawDescOnce sync.Once + file_TakeBattlePassRewardRsp_proto_rawDescData = file_TakeBattlePassRewardRsp_proto_rawDesc +) + +func file_TakeBattlePassRewardRsp_proto_rawDescGZIP() []byte { + file_TakeBattlePassRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeBattlePassRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeBattlePassRewardRsp_proto_rawDescData) + }) + return file_TakeBattlePassRewardRsp_proto_rawDescData +} + +var file_TakeBattlePassRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeBattlePassRewardRsp_proto_goTypes = []interface{}{ + (*TakeBattlePassRewardRsp)(nil), // 0: TakeBattlePassRewardRsp + (*ItemParam)(nil), // 1: ItemParam + (*BattlePassRewardTakeOption)(nil), // 2: BattlePassRewardTakeOption +} +var file_TakeBattlePassRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeBattlePassRewardRsp.item_list:type_name -> ItemParam + 2, // 1: TakeBattlePassRewardRsp.take_option_list:type_name -> BattlePassRewardTakeOption + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TakeBattlePassRewardRsp_proto_init() } +func file_TakeBattlePassRewardRsp_proto_init() { + if File_TakeBattlePassRewardRsp_proto != nil { + return + } + file_BattlePassRewardTakeOption_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeBattlePassRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeBattlePassRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeBattlePassRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeBattlePassRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeBattlePassRewardRsp_proto_depIdxs, + MessageInfos: file_TakeBattlePassRewardRsp_proto_msgTypes, + }.Build() + File_TakeBattlePassRewardRsp_proto = out.File + file_TakeBattlePassRewardRsp_proto_rawDesc = nil + file_TakeBattlePassRewardRsp_proto_goTypes = nil + file_TakeBattlePassRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeBattlePassRewardRsp.proto b/gate-hk4e-api/proto/TakeBattlePassRewardRsp.proto new file mode 100644 index 00000000..1552455c --- /dev/null +++ b/gate-hk4e-api/proto/TakeBattlePassRewardRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BattlePassRewardTakeOption.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2631 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeBattlePassRewardRsp { + repeated ItemParam item_list = 7; + int32 retcode = 13; + repeated BattlePassRewardTakeOption take_option_list = 9; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.pb.go b/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.pb.go new file mode 100644 index 00000000..cb2f6e95 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationExploreRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2897 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCityReputationExploreRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,15,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + ExploreIdList []uint32 `protobuf:"varint,12,rep,packed,name=explore_id_list,json=exploreIdList,proto3" json:"explore_id_list,omitempty"` +} + +func (x *TakeCityReputationExploreRewardReq) Reset() { + *x = TakeCityReputationExploreRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationExploreRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationExploreRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationExploreRewardReq) ProtoMessage() {} + +func (x *TakeCityReputationExploreRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationExploreRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationExploreRewardReq.ProtoReflect.Descriptor instead. +func (*TakeCityReputationExploreRewardReq) Descriptor() ([]byte, []int) { + return file_TakeCityReputationExploreRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationExploreRewardReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *TakeCityReputationExploreRewardReq) GetExploreIdList() []uint32 { + if x != nil { + return x.ExploreIdList + } + return nil +} + +var File_TakeCityReputationExploreRewardReq_proto protoreflect.FileDescriptor + +var file_TakeCityReputationExploreRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x22, 0x54, 0x61, + 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x78, 0x70, + 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationExploreRewardReq_proto_rawDescOnce sync.Once + file_TakeCityReputationExploreRewardReq_proto_rawDescData = file_TakeCityReputationExploreRewardReq_proto_rawDesc +) + +func file_TakeCityReputationExploreRewardReq_proto_rawDescGZIP() []byte { + file_TakeCityReputationExploreRewardReq_proto_rawDescOnce.Do(func() { + file_TakeCityReputationExploreRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationExploreRewardReq_proto_rawDescData) + }) + return file_TakeCityReputationExploreRewardReq_proto_rawDescData +} + +var file_TakeCityReputationExploreRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationExploreRewardReq_proto_goTypes = []interface{}{ + (*TakeCityReputationExploreRewardReq)(nil), // 0: TakeCityReputationExploreRewardReq +} +var file_TakeCityReputationExploreRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationExploreRewardReq_proto_init() } +func file_TakeCityReputationExploreRewardReq_proto_init() { + if File_TakeCityReputationExploreRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationExploreRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationExploreRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationExploreRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationExploreRewardReq_proto_goTypes, + DependencyIndexes: file_TakeCityReputationExploreRewardReq_proto_depIdxs, + MessageInfos: file_TakeCityReputationExploreRewardReq_proto_msgTypes, + }.Build() + File_TakeCityReputationExploreRewardReq_proto = out.File + file_TakeCityReputationExploreRewardReq_proto_rawDesc = nil + file_TakeCityReputationExploreRewardReq_proto_goTypes = nil + file_TakeCityReputationExploreRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.proto b/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.proto new file mode 100644 index 00000000..b183ee44 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationExploreRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2897 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCityReputationExploreRewardReq { + uint32 city_id = 15; + repeated uint32 explore_id_list = 12; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.pb.go b/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.pb.go new file mode 100644 index 00000000..98439409 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationExploreRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2881 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeCityReputationExploreRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExploreIdList []uint32 `protobuf:"varint,8,rep,packed,name=explore_id_list,json=exploreIdList,proto3" json:"explore_id_list,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,12,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + CityId uint32 `protobuf:"varint,13,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *TakeCityReputationExploreRewardRsp) Reset() { + *x = TakeCityReputationExploreRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationExploreRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationExploreRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationExploreRewardRsp) ProtoMessage() {} + +func (x *TakeCityReputationExploreRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationExploreRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationExploreRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeCityReputationExploreRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeCityReputationExploreRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationExploreRewardRsp) GetExploreIdList() []uint32 { + if x != nil { + return x.ExploreIdList + } + return nil +} + +func (x *TakeCityReputationExploreRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *TakeCityReputationExploreRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeCityReputationExploreRewardRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_TakeCityReputationExploreRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeCityReputationExploreRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x22, + 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x78, 0x70, + 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, + 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationExploreRewardRsp_proto_rawDescOnce sync.Once + file_TakeCityReputationExploreRewardRsp_proto_rawDescData = file_TakeCityReputationExploreRewardRsp_proto_rawDesc +) + +func file_TakeCityReputationExploreRewardRsp_proto_rawDescGZIP() []byte { + file_TakeCityReputationExploreRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeCityReputationExploreRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationExploreRewardRsp_proto_rawDescData) + }) + return file_TakeCityReputationExploreRewardRsp_proto_rawDescData +} + +var file_TakeCityReputationExploreRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationExploreRewardRsp_proto_goTypes = []interface{}{ + (*TakeCityReputationExploreRewardRsp)(nil), // 0: TakeCityReputationExploreRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeCityReputationExploreRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeCityReputationExploreRewardRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationExploreRewardRsp_proto_init() } +func file_TakeCityReputationExploreRewardRsp_proto_init() { + if File_TakeCityReputationExploreRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationExploreRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationExploreRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationExploreRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationExploreRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeCityReputationExploreRewardRsp_proto_depIdxs, + MessageInfos: file_TakeCityReputationExploreRewardRsp_proto_msgTypes, + }.Build() + File_TakeCityReputationExploreRewardRsp_proto = out.File + file_TakeCityReputationExploreRewardRsp_proto_rawDesc = nil + file_TakeCityReputationExploreRewardRsp_proto_goTypes = nil + file_TakeCityReputationExploreRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.proto b/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.proto new file mode 100644 index 00000000..2f95b596 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationExploreRewardRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2881 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeCityReputationExploreRewardRsp { + repeated uint32 explore_id_list = 8; + repeated ItemParam item_list = 12; + int32 retcode = 6; + uint32 city_id = 13; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.pb.go b/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.pb.go new file mode 100644 index 00000000..0c707306 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationLevelRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2812 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCityReputationLevelRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,11,opt,name=level,proto3" json:"level,omitempty"` + CityId uint32 `protobuf:"varint,1,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *TakeCityReputationLevelRewardReq) Reset() { + *x = TakeCityReputationLevelRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationLevelRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationLevelRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationLevelRewardReq) ProtoMessage() {} + +func (x *TakeCityReputationLevelRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationLevelRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationLevelRewardReq.ProtoReflect.Descriptor instead. +func (*TakeCityReputationLevelRewardReq) Descriptor() ([]byte, []int) { + return file_TakeCityReputationLevelRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationLevelRewardReq) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *TakeCityReputationLevelRewardReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_TakeCityReputationLevelRewardReq_proto protoreflect.FileDescriptor + +var file_TakeCityReputationLevelRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationLevelRewardReq_proto_rawDescOnce sync.Once + file_TakeCityReputationLevelRewardReq_proto_rawDescData = file_TakeCityReputationLevelRewardReq_proto_rawDesc +) + +func file_TakeCityReputationLevelRewardReq_proto_rawDescGZIP() []byte { + file_TakeCityReputationLevelRewardReq_proto_rawDescOnce.Do(func() { + file_TakeCityReputationLevelRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationLevelRewardReq_proto_rawDescData) + }) + return file_TakeCityReputationLevelRewardReq_proto_rawDescData +} + +var file_TakeCityReputationLevelRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationLevelRewardReq_proto_goTypes = []interface{}{ + (*TakeCityReputationLevelRewardReq)(nil), // 0: TakeCityReputationLevelRewardReq +} +var file_TakeCityReputationLevelRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationLevelRewardReq_proto_init() } +func file_TakeCityReputationLevelRewardReq_proto_init() { + if File_TakeCityReputationLevelRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationLevelRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationLevelRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationLevelRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationLevelRewardReq_proto_goTypes, + DependencyIndexes: file_TakeCityReputationLevelRewardReq_proto_depIdxs, + MessageInfos: file_TakeCityReputationLevelRewardReq_proto_msgTypes, + }.Build() + File_TakeCityReputationLevelRewardReq_proto = out.File + file_TakeCityReputationLevelRewardReq_proto_rawDesc = nil + file_TakeCityReputationLevelRewardReq_proto_goTypes = nil + file_TakeCityReputationLevelRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.proto b/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.proto new file mode 100644 index 00000000..c3ed1bc4 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationLevelRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2812 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCityReputationLevelRewardReq { + uint32 level = 11; + uint32 city_id = 1; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.pb.go b/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.pb.go new file mode 100644 index 00000000..237e7b6b --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationLevelRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2835 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeCityReputationLevelRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,15,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,13,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Level uint32 `protobuf:"varint,9,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *TakeCityReputationLevelRewardRsp) Reset() { + *x = TakeCityReputationLevelRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationLevelRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationLevelRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationLevelRewardRsp) ProtoMessage() {} + +func (x *TakeCityReputationLevelRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationLevelRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationLevelRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeCityReputationLevelRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeCityReputationLevelRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationLevelRewardRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *TakeCityReputationLevelRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeCityReputationLevelRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *TakeCityReputationLevelRewardRsp) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_TakeCityReputationLevelRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeCityReputationLevelRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x20, 0x54, 0x61, + 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x17, + 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationLevelRewardRsp_proto_rawDescOnce sync.Once + file_TakeCityReputationLevelRewardRsp_proto_rawDescData = file_TakeCityReputationLevelRewardRsp_proto_rawDesc +) + +func file_TakeCityReputationLevelRewardRsp_proto_rawDescGZIP() []byte { + file_TakeCityReputationLevelRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeCityReputationLevelRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationLevelRewardRsp_proto_rawDescData) + }) + return file_TakeCityReputationLevelRewardRsp_proto_rawDescData +} + +var file_TakeCityReputationLevelRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationLevelRewardRsp_proto_goTypes = []interface{}{ + (*TakeCityReputationLevelRewardRsp)(nil), // 0: TakeCityReputationLevelRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeCityReputationLevelRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeCityReputationLevelRewardRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationLevelRewardRsp_proto_init() } +func file_TakeCityReputationLevelRewardRsp_proto_init() { + if File_TakeCityReputationLevelRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationLevelRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationLevelRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationLevelRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationLevelRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeCityReputationLevelRewardRsp_proto_depIdxs, + MessageInfos: file_TakeCityReputationLevelRewardRsp_proto_msgTypes, + }.Build() + File_TakeCityReputationLevelRewardRsp_proto = out.File + file_TakeCityReputationLevelRewardRsp_proto_rawDesc = nil + file_TakeCityReputationLevelRewardRsp_proto_goTypes = nil + file_TakeCityReputationLevelRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.proto b/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.proto new file mode 100644 index 00000000..2275e63a --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationLevelRewardRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2835 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeCityReputationLevelRewardRsp { + uint32 city_id = 15; + int32 retcode = 11; + repeated ItemParam item_list = 13; + uint32 level = 9; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.pb.go b/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.pb.go new file mode 100644 index 00000000..5ee448ec --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationParentQuestReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2821 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCityReputationParentQuestReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CityId uint32 `protobuf:"varint,1,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + ParentQuestList []uint32 `protobuf:"varint,6,rep,packed,name=parent_quest_list,json=parentQuestList,proto3" json:"parent_quest_list,omitempty"` +} + +func (x *TakeCityReputationParentQuestReq) Reset() { + *x = TakeCityReputationParentQuestReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationParentQuestReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationParentQuestReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationParentQuestReq) ProtoMessage() {} + +func (x *TakeCityReputationParentQuestReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationParentQuestReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationParentQuestReq.ProtoReflect.Descriptor instead. +func (*TakeCityReputationParentQuestReq) Descriptor() ([]byte, []int) { + return file_TakeCityReputationParentQuestReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationParentQuestReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *TakeCityReputationParentQuestReq) GetParentQuestList() []uint32 { + if x != nil { + return x.ParentQuestList + } + return nil +} + +var File_TakeCityReputationParentQuestReq_proto protoreflect.FileDescriptor + +var file_TakeCityReputationParentQuestReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, + 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, + 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationParentQuestReq_proto_rawDescOnce sync.Once + file_TakeCityReputationParentQuestReq_proto_rawDescData = file_TakeCityReputationParentQuestReq_proto_rawDesc +) + +func file_TakeCityReputationParentQuestReq_proto_rawDescGZIP() []byte { + file_TakeCityReputationParentQuestReq_proto_rawDescOnce.Do(func() { + file_TakeCityReputationParentQuestReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationParentQuestReq_proto_rawDescData) + }) + return file_TakeCityReputationParentQuestReq_proto_rawDescData +} + +var file_TakeCityReputationParentQuestReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationParentQuestReq_proto_goTypes = []interface{}{ + (*TakeCityReputationParentQuestReq)(nil), // 0: TakeCityReputationParentQuestReq +} +var file_TakeCityReputationParentQuestReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationParentQuestReq_proto_init() } +func file_TakeCityReputationParentQuestReq_proto_init() { + if File_TakeCityReputationParentQuestReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationParentQuestReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationParentQuestReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationParentQuestReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationParentQuestReq_proto_goTypes, + DependencyIndexes: file_TakeCityReputationParentQuestReq_proto_depIdxs, + MessageInfos: file_TakeCityReputationParentQuestReq_proto_msgTypes, + }.Build() + File_TakeCityReputationParentQuestReq_proto = out.File + file_TakeCityReputationParentQuestReq_proto_rawDesc = nil + file_TakeCityReputationParentQuestReq_proto_goTypes = nil + file_TakeCityReputationParentQuestReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.proto b/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.proto new file mode 100644 index 00000000..1ac29c36 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationParentQuestReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2821 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCityReputationParentQuestReq { + uint32 city_id = 1; + repeated uint32 parent_quest_list = 6; +} diff --git a/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.pb.go b/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.pb.go new file mode 100644 index 00000000..8c93e343 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCityReputationParentQuestRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2803 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCityReputationParentQuestRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + CityId uint32 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + ParentQuestList []uint32 `protobuf:"varint,9,rep,packed,name=parent_quest_list,json=parentQuestList,proto3" json:"parent_quest_list,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,13,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *TakeCityReputationParentQuestRsp) Reset() { + *x = TakeCityReputationParentQuestRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCityReputationParentQuestRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCityReputationParentQuestRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCityReputationParentQuestRsp) ProtoMessage() {} + +func (x *TakeCityReputationParentQuestRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeCityReputationParentQuestRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCityReputationParentQuestRsp.ProtoReflect.Descriptor instead. +func (*TakeCityReputationParentQuestRsp) Descriptor() ([]byte, []int) { + return file_TakeCityReputationParentQuestRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCityReputationParentQuestRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeCityReputationParentQuestRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *TakeCityReputationParentQuestRsp) GetParentQuestList() []uint32 { + if x != nil { + return x.ParentQuestList + } + return nil +} + +func (x *TakeCityReputationParentQuestRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_TakeCityReputationParentQuestRsp_proto protoreflect.FileDescriptor + +var file_TakeCityReputationParentQuestRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x20, 0x54, 0x61, + 0x6b, 0x65, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, + 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCityReputationParentQuestRsp_proto_rawDescOnce sync.Once + file_TakeCityReputationParentQuestRsp_proto_rawDescData = file_TakeCityReputationParentQuestRsp_proto_rawDesc +) + +func file_TakeCityReputationParentQuestRsp_proto_rawDescGZIP() []byte { + file_TakeCityReputationParentQuestRsp_proto_rawDescOnce.Do(func() { + file_TakeCityReputationParentQuestRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCityReputationParentQuestRsp_proto_rawDescData) + }) + return file_TakeCityReputationParentQuestRsp_proto_rawDescData +} + +var file_TakeCityReputationParentQuestRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCityReputationParentQuestRsp_proto_goTypes = []interface{}{ + (*TakeCityReputationParentQuestRsp)(nil), // 0: TakeCityReputationParentQuestRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeCityReputationParentQuestRsp_proto_depIdxs = []int32{ + 1, // 0: TakeCityReputationParentQuestRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeCityReputationParentQuestRsp_proto_init() } +func file_TakeCityReputationParentQuestRsp_proto_init() { + if File_TakeCityReputationParentQuestRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeCityReputationParentQuestRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCityReputationParentQuestRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCityReputationParentQuestRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCityReputationParentQuestRsp_proto_goTypes, + DependencyIndexes: file_TakeCityReputationParentQuestRsp_proto_depIdxs, + MessageInfos: file_TakeCityReputationParentQuestRsp_proto_msgTypes, + }.Build() + File_TakeCityReputationParentQuestRsp_proto = out.File + file_TakeCityReputationParentQuestRsp_proto_rawDesc = nil + file_TakeCityReputationParentQuestRsp_proto_goTypes = nil + file_TakeCityReputationParentQuestRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.proto b/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.proto new file mode 100644 index 00000000..dccca725 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCityReputationParentQuestRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2803 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCityReputationParentQuestRsp { + int32 retcode = 7; + uint32 city_id = 14; + repeated uint32 parent_quest_list = 9; + repeated ItemParam item_list = 13; +} diff --git a/gate-hk4e-api/proto/TakeCompoundOutputReq.pb.go b/gate-hk4e-api/proto/TakeCompoundOutputReq.pb.go new file mode 100644 index 00000000..8bd3b08e --- /dev/null +++ b/gate-hk4e-api/proto/TakeCompoundOutputReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCompoundOutputReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 174 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCompoundOutputReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CompoundGroupId uint32 `protobuf:"varint,3,opt,name=compound_group_id,json=compoundGroupId,proto3" json:"compound_group_id,omitempty"` + CompoundId uint32 `protobuf:"varint,10,opt,name=compound_id,json=compoundId,proto3" json:"compound_id,omitempty"` +} + +func (x *TakeCompoundOutputReq) Reset() { + *x = TakeCompoundOutputReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCompoundOutputReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCompoundOutputReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCompoundOutputReq) ProtoMessage() {} + +func (x *TakeCompoundOutputReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeCompoundOutputReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCompoundOutputReq.ProtoReflect.Descriptor instead. +func (*TakeCompoundOutputReq) Descriptor() ([]byte, []int) { + return file_TakeCompoundOutputReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCompoundOutputReq) GetCompoundGroupId() uint32 { + if x != nil { + return x.CompoundGroupId + } + return 0 +} + +func (x *TakeCompoundOutputReq) GetCompoundId() uint32 { + if x != nil { + return x.CompoundId + } + return 0 +} + +var File_TakeCompoundOutputReq_proto protoreflect.FileDescriptor + +var file_TakeCompoundOutputReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, + 0x15, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, + 0x6e, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, + 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCompoundOutputReq_proto_rawDescOnce sync.Once + file_TakeCompoundOutputReq_proto_rawDescData = file_TakeCompoundOutputReq_proto_rawDesc +) + +func file_TakeCompoundOutputReq_proto_rawDescGZIP() []byte { + file_TakeCompoundOutputReq_proto_rawDescOnce.Do(func() { + file_TakeCompoundOutputReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCompoundOutputReq_proto_rawDescData) + }) + return file_TakeCompoundOutputReq_proto_rawDescData +} + +var file_TakeCompoundOutputReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCompoundOutputReq_proto_goTypes = []interface{}{ + (*TakeCompoundOutputReq)(nil), // 0: TakeCompoundOutputReq +} +var file_TakeCompoundOutputReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCompoundOutputReq_proto_init() } +func file_TakeCompoundOutputReq_proto_init() { + if File_TakeCompoundOutputReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCompoundOutputReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCompoundOutputReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCompoundOutputReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCompoundOutputReq_proto_goTypes, + DependencyIndexes: file_TakeCompoundOutputReq_proto_depIdxs, + MessageInfos: file_TakeCompoundOutputReq_proto_msgTypes, + }.Build() + File_TakeCompoundOutputReq_proto = out.File + file_TakeCompoundOutputReq_proto_rawDesc = nil + file_TakeCompoundOutputReq_proto_goTypes = nil + file_TakeCompoundOutputReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCompoundOutputReq.proto b/gate-hk4e-api/proto/TakeCompoundOutputReq.proto new file mode 100644 index 00000000..2f89c233 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCompoundOutputReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 174 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCompoundOutputReq { + uint32 compound_group_id = 3; + uint32 compound_id = 10; +} diff --git a/gate-hk4e-api/proto/TakeCompoundOutputRsp.pb.go b/gate-hk4e-api/proto/TakeCompoundOutputRsp.pb.go new file mode 100644 index 00000000..f83dc5ad --- /dev/null +++ b/gate-hk4e-api/proto/TakeCompoundOutputRsp.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCompoundOutputRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 176 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeCompoundOutputRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,6,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeCompoundOutputRsp) Reset() { + *x = TakeCompoundOutputRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCompoundOutputRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCompoundOutputRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCompoundOutputRsp) ProtoMessage() {} + +func (x *TakeCompoundOutputRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeCompoundOutputRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCompoundOutputRsp.ProtoReflect.Descriptor instead. +func (*TakeCompoundOutputRsp) Descriptor() ([]byte, []int) { + return file_TakeCompoundOutputRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCompoundOutputRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *TakeCompoundOutputRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeCompoundOutputRsp_proto protoreflect.FileDescriptor + +var file_TakeCompoundOutputRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, + 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, + 0x0a, 0x15, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCompoundOutputRsp_proto_rawDescOnce sync.Once + file_TakeCompoundOutputRsp_proto_rawDescData = file_TakeCompoundOutputRsp_proto_rawDesc +) + +func file_TakeCompoundOutputRsp_proto_rawDescGZIP() []byte { + file_TakeCompoundOutputRsp_proto_rawDescOnce.Do(func() { + file_TakeCompoundOutputRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCompoundOutputRsp_proto_rawDescData) + }) + return file_TakeCompoundOutputRsp_proto_rawDescData +} + +var file_TakeCompoundOutputRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCompoundOutputRsp_proto_goTypes = []interface{}{ + (*TakeCompoundOutputRsp)(nil), // 0: TakeCompoundOutputRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeCompoundOutputRsp_proto_depIdxs = []int32{ + 1, // 0: TakeCompoundOutputRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeCompoundOutputRsp_proto_init() } +func file_TakeCompoundOutputRsp_proto_init() { + if File_TakeCompoundOutputRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeCompoundOutputRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCompoundOutputRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCompoundOutputRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCompoundOutputRsp_proto_goTypes, + DependencyIndexes: file_TakeCompoundOutputRsp_proto_depIdxs, + MessageInfos: file_TakeCompoundOutputRsp_proto_msgTypes, + }.Build() + File_TakeCompoundOutputRsp_proto = out.File + file_TakeCompoundOutputRsp_proto_rawDesc = nil + file_TakeCompoundOutputRsp_proto_goTypes = nil + file_TakeCompoundOutputRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCompoundOutputRsp.proto b/gate-hk4e-api/proto/TakeCompoundOutputRsp.proto new file mode 100644 index 00000000..c1665324 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCompoundOutputRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 176 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeCompoundOutputRsp { + repeated ItemParam item_list = 6; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/TakeCoopRewardReq.pb.go b/gate-hk4e-api/proto/TakeCoopRewardReq.pb.go new file mode 100644 index 00000000..c46698cb --- /dev/null +++ b/gate-hk4e-api/proto/TakeCoopRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCoopRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1973 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeCoopRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardConfigId uint32 `protobuf:"varint,6,opt,name=reward_config_id,json=rewardConfigId,proto3" json:"reward_config_id,omitempty"` +} + +func (x *TakeCoopRewardReq) Reset() { + *x = TakeCoopRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCoopRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCoopRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCoopRewardReq) ProtoMessage() {} + +func (x *TakeCoopRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeCoopRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCoopRewardReq.ProtoReflect.Descriptor instead. +func (*TakeCoopRewardReq) Descriptor() ([]byte, []int) { + return file_TakeCoopRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCoopRewardReq) GetRewardConfigId() uint32 { + if x != nil { + return x.RewardConfigId + } + return 0 +} + +var File_TakeCoopRewardReq_proto protoreflect.FileDescriptor + +var file_TakeCoopRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x11, 0x54, 0x61, 0x6b, + 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x28, + 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCoopRewardReq_proto_rawDescOnce sync.Once + file_TakeCoopRewardReq_proto_rawDescData = file_TakeCoopRewardReq_proto_rawDesc +) + +func file_TakeCoopRewardReq_proto_rawDescGZIP() []byte { + file_TakeCoopRewardReq_proto_rawDescOnce.Do(func() { + file_TakeCoopRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCoopRewardReq_proto_rawDescData) + }) + return file_TakeCoopRewardReq_proto_rawDescData +} + +var file_TakeCoopRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCoopRewardReq_proto_goTypes = []interface{}{ + (*TakeCoopRewardReq)(nil), // 0: TakeCoopRewardReq +} +var file_TakeCoopRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCoopRewardReq_proto_init() } +func file_TakeCoopRewardReq_proto_init() { + if File_TakeCoopRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCoopRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCoopRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCoopRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCoopRewardReq_proto_goTypes, + DependencyIndexes: file_TakeCoopRewardReq_proto_depIdxs, + MessageInfos: file_TakeCoopRewardReq_proto_msgTypes, + }.Build() + File_TakeCoopRewardReq_proto = out.File + file_TakeCoopRewardReq_proto_rawDesc = nil + file_TakeCoopRewardReq_proto_goTypes = nil + file_TakeCoopRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCoopRewardReq.proto b/gate-hk4e-api/proto/TakeCoopRewardReq.proto new file mode 100644 index 00000000..70652968 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCoopRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1973 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeCoopRewardReq { + uint32 reward_config_id = 6; +} diff --git a/gate-hk4e-api/proto/TakeCoopRewardRsp.pb.go b/gate-hk4e-api/proto/TakeCoopRewardRsp.pb.go new file mode 100644 index 00000000..8bd5a907 --- /dev/null +++ b/gate-hk4e-api/proto/TakeCoopRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeCoopRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1985 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeCoopRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + RewardConfigId uint32 `protobuf:"varint,1,opt,name=reward_config_id,json=rewardConfigId,proto3" json:"reward_config_id,omitempty"` +} + +func (x *TakeCoopRewardRsp) Reset() { + *x = TakeCoopRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeCoopRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeCoopRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeCoopRewardRsp) ProtoMessage() {} + +func (x *TakeCoopRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeCoopRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeCoopRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeCoopRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeCoopRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeCoopRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeCoopRewardRsp) GetRewardConfigId() uint32 { + if x != nil { + return x.RewardConfigId + } + return 0 +} + +var File_TakeCoopRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeCoopRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x11, 0x54, 0x61, 0x6b, + 0x65, 0x43, 0x6f, 0x6f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeCoopRewardRsp_proto_rawDescOnce sync.Once + file_TakeCoopRewardRsp_proto_rawDescData = file_TakeCoopRewardRsp_proto_rawDesc +) + +func file_TakeCoopRewardRsp_proto_rawDescGZIP() []byte { + file_TakeCoopRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeCoopRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeCoopRewardRsp_proto_rawDescData) + }) + return file_TakeCoopRewardRsp_proto_rawDescData +} + +var file_TakeCoopRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeCoopRewardRsp_proto_goTypes = []interface{}{ + (*TakeCoopRewardRsp)(nil), // 0: TakeCoopRewardRsp +} +var file_TakeCoopRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeCoopRewardRsp_proto_init() } +func file_TakeCoopRewardRsp_proto_init() { + if File_TakeCoopRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeCoopRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeCoopRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeCoopRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeCoopRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeCoopRewardRsp_proto_depIdxs, + MessageInfos: file_TakeCoopRewardRsp_proto_msgTypes, + }.Build() + File_TakeCoopRewardRsp_proto = out.File + file_TakeCoopRewardRsp_proto_rawDesc = nil + file_TakeCoopRewardRsp_proto_goTypes = nil + file_TakeCoopRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeCoopRewardRsp.proto b/gate-hk4e-api/proto/TakeCoopRewardRsp.proto new file mode 100644 index 00000000..b1b97f1c --- /dev/null +++ b/gate-hk4e-api/proto/TakeCoopRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1985 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeCoopRewardRsp { + int32 retcode = 9; + uint32 reward_config_id = 1; +} diff --git a/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.pb.go b/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.pb.go new file mode 100644 index 00000000..d871a294 --- /dev/null +++ b/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeDeliveryDailyRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2121 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeDeliveryDailyRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,9,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *TakeDeliveryDailyRewardReq) Reset() { + *x = TakeDeliveryDailyRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeDeliveryDailyRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeDeliveryDailyRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeDeliveryDailyRewardReq) ProtoMessage() {} + +func (x *TakeDeliveryDailyRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeDeliveryDailyRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeDeliveryDailyRewardReq.ProtoReflect.Descriptor instead. +func (*TakeDeliveryDailyRewardReq) Descriptor() ([]byte, []int) { + return file_TakeDeliveryDailyRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeDeliveryDailyRewardReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_TakeDeliveryDailyRewardReq_proto protoreflect.FileDescriptor + +var file_TakeDeliveryDailyRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x44, 0x61, + 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeDeliveryDailyRewardReq_proto_rawDescOnce sync.Once + file_TakeDeliveryDailyRewardReq_proto_rawDescData = file_TakeDeliveryDailyRewardReq_proto_rawDesc +) + +func file_TakeDeliveryDailyRewardReq_proto_rawDescGZIP() []byte { + file_TakeDeliveryDailyRewardReq_proto_rawDescOnce.Do(func() { + file_TakeDeliveryDailyRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeDeliveryDailyRewardReq_proto_rawDescData) + }) + return file_TakeDeliveryDailyRewardReq_proto_rawDescData +} + +var file_TakeDeliveryDailyRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeDeliveryDailyRewardReq_proto_goTypes = []interface{}{ + (*TakeDeliveryDailyRewardReq)(nil), // 0: TakeDeliveryDailyRewardReq +} +var file_TakeDeliveryDailyRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeDeliveryDailyRewardReq_proto_init() } +func file_TakeDeliveryDailyRewardReq_proto_init() { + if File_TakeDeliveryDailyRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeDeliveryDailyRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeDeliveryDailyRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeDeliveryDailyRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeDeliveryDailyRewardReq_proto_goTypes, + DependencyIndexes: file_TakeDeliveryDailyRewardReq_proto_depIdxs, + MessageInfos: file_TakeDeliveryDailyRewardReq_proto_msgTypes, + }.Build() + File_TakeDeliveryDailyRewardReq_proto = out.File + file_TakeDeliveryDailyRewardReq_proto_rawDesc = nil + file_TakeDeliveryDailyRewardReq_proto_goTypes = nil + file_TakeDeliveryDailyRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.proto b/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.proto new file mode 100644 index 00000000..d59cf3fe --- /dev/null +++ b/gate-hk4e-api/proto/TakeDeliveryDailyRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2121 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeDeliveryDailyRewardReq { + uint32 schedule_id = 9; +} diff --git a/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.pb.go b/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.pb.go new file mode 100644 index 00000000..10dc105a --- /dev/null +++ b/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeDeliveryDailyRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2162 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeDeliveryDailyRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,5,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeDeliveryDailyRewardRsp) Reset() { + *x = TakeDeliveryDailyRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeDeliveryDailyRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeDeliveryDailyRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeDeliveryDailyRewardRsp) ProtoMessage() {} + +func (x *TakeDeliveryDailyRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeDeliveryDailyRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeDeliveryDailyRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeDeliveryDailyRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeDeliveryDailyRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeDeliveryDailyRewardRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *TakeDeliveryDailyRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeDeliveryDailyRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeDeliveryDailyRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x44, 0x61, + 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeDeliveryDailyRewardRsp_proto_rawDescOnce sync.Once + file_TakeDeliveryDailyRewardRsp_proto_rawDescData = file_TakeDeliveryDailyRewardRsp_proto_rawDesc +) + +func file_TakeDeliveryDailyRewardRsp_proto_rawDescGZIP() []byte { + file_TakeDeliveryDailyRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeDeliveryDailyRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeDeliveryDailyRewardRsp_proto_rawDescData) + }) + return file_TakeDeliveryDailyRewardRsp_proto_rawDescData +} + +var file_TakeDeliveryDailyRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeDeliveryDailyRewardRsp_proto_goTypes = []interface{}{ + (*TakeDeliveryDailyRewardRsp)(nil), // 0: TakeDeliveryDailyRewardRsp +} +var file_TakeDeliveryDailyRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeDeliveryDailyRewardRsp_proto_init() } +func file_TakeDeliveryDailyRewardRsp_proto_init() { + if File_TakeDeliveryDailyRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeDeliveryDailyRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeDeliveryDailyRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeDeliveryDailyRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeDeliveryDailyRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeDeliveryDailyRewardRsp_proto_depIdxs, + MessageInfos: file_TakeDeliveryDailyRewardRsp_proto_msgTypes, + }.Build() + File_TakeDeliveryDailyRewardRsp_proto = out.File + file_TakeDeliveryDailyRewardRsp_proto_rawDesc = nil + file_TakeDeliveryDailyRewardRsp_proto_goTypes = nil + file_TakeDeliveryDailyRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.proto b/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.proto new file mode 100644 index 00000000..2c2c9a3a --- /dev/null +++ b/gate-hk4e-api/proto/TakeDeliveryDailyRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2162 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeDeliveryDailyRewardRsp { + uint32 schedule_id = 5; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.pb.go b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.pb.go new file mode 100644 index 00000000..0ea51f94 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeEffigyFirstPassRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2196 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeEffigyFirstPassRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeId uint32 `protobuf:"varint,6,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *TakeEffigyFirstPassRewardReq) Reset() { + *x = TakeEffigyFirstPassRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeEffigyFirstPassRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeEffigyFirstPassRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeEffigyFirstPassRewardReq) ProtoMessage() {} + +func (x *TakeEffigyFirstPassRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeEffigyFirstPassRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeEffigyFirstPassRewardReq.ProtoReflect.Descriptor instead. +func (*TakeEffigyFirstPassRewardReq) Descriptor() ([]byte, []int) { + return file_TakeEffigyFirstPassRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeEffigyFirstPassRewardReq) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_TakeEffigyFirstPassRewardReq_proto protoreflect.FileDescriptor + +var file_TakeEffigyFirstPassRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x46, 0x69, 0x72, 0x73, + 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x1c, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeEffigyFirstPassRewardReq_proto_rawDescOnce sync.Once + file_TakeEffigyFirstPassRewardReq_proto_rawDescData = file_TakeEffigyFirstPassRewardReq_proto_rawDesc +) + +func file_TakeEffigyFirstPassRewardReq_proto_rawDescGZIP() []byte { + file_TakeEffigyFirstPassRewardReq_proto_rawDescOnce.Do(func() { + file_TakeEffigyFirstPassRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeEffigyFirstPassRewardReq_proto_rawDescData) + }) + return file_TakeEffigyFirstPassRewardReq_proto_rawDescData +} + +var file_TakeEffigyFirstPassRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeEffigyFirstPassRewardReq_proto_goTypes = []interface{}{ + (*TakeEffigyFirstPassRewardReq)(nil), // 0: TakeEffigyFirstPassRewardReq +} +var file_TakeEffigyFirstPassRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeEffigyFirstPassRewardReq_proto_init() } +func file_TakeEffigyFirstPassRewardReq_proto_init() { + if File_TakeEffigyFirstPassRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeEffigyFirstPassRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeEffigyFirstPassRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeEffigyFirstPassRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeEffigyFirstPassRewardReq_proto_goTypes, + DependencyIndexes: file_TakeEffigyFirstPassRewardReq_proto_depIdxs, + MessageInfos: file_TakeEffigyFirstPassRewardReq_proto_msgTypes, + }.Build() + File_TakeEffigyFirstPassRewardReq_proto = out.File + file_TakeEffigyFirstPassRewardReq_proto_rawDesc = nil + file_TakeEffigyFirstPassRewardReq_proto_goTypes = nil + file_TakeEffigyFirstPassRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.proto b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.proto new file mode 100644 index 00000000..eb78df07 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2196 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeEffigyFirstPassRewardReq { + uint32 challenge_id = 6; +} diff --git a/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.pb.go b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.pb.go new file mode 100644 index 00000000..b89cea45 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeEffigyFirstPassRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2061 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeEffigyFirstPassRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeId uint32 `protobuf:"varint,2,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeEffigyFirstPassRewardRsp) Reset() { + *x = TakeEffigyFirstPassRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeEffigyFirstPassRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeEffigyFirstPassRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeEffigyFirstPassRewardRsp) ProtoMessage() {} + +func (x *TakeEffigyFirstPassRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeEffigyFirstPassRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeEffigyFirstPassRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeEffigyFirstPassRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeEffigyFirstPassRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeEffigyFirstPassRewardRsp) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *TakeEffigyFirstPassRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeEffigyFirstPassRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeEffigyFirstPassRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x46, 0x69, 0x72, 0x73, + 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1c, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, + 0x67, 0x79, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeEffigyFirstPassRewardRsp_proto_rawDescOnce sync.Once + file_TakeEffigyFirstPassRewardRsp_proto_rawDescData = file_TakeEffigyFirstPassRewardRsp_proto_rawDesc +) + +func file_TakeEffigyFirstPassRewardRsp_proto_rawDescGZIP() []byte { + file_TakeEffigyFirstPassRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeEffigyFirstPassRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeEffigyFirstPassRewardRsp_proto_rawDescData) + }) + return file_TakeEffigyFirstPassRewardRsp_proto_rawDescData +} + +var file_TakeEffigyFirstPassRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeEffigyFirstPassRewardRsp_proto_goTypes = []interface{}{ + (*TakeEffigyFirstPassRewardRsp)(nil), // 0: TakeEffigyFirstPassRewardRsp +} +var file_TakeEffigyFirstPassRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeEffigyFirstPassRewardRsp_proto_init() } +func file_TakeEffigyFirstPassRewardRsp_proto_init() { + if File_TakeEffigyFirstPassRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeEffigyFirstPassRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeEffigyFirstPassRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeEffigyFirstPassRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeEffigyFirstPassRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeEffigyFirstPassRewardRsp_proto_depIdxs, + MessageInfos: file_TakeEffigyFirstPassRewardRsp_proto_msgTypes, + }.Build() + File_TakeEffigyFirstPassRewardRsp_proto = out.File + file_TakeEffigyFirstPassRewardRsp_proto_rawDesc = nil + file_TakeEffigyFirstPassRewardRsp_proto_goTypes = nil + file_TakeEffigyFirstPassRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.proto b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.proto new file mode 100644 index 00000000..50699060 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyFirstPassRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2061 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeEffigyFirstPassRewardRsp { + uint32 challenge_id = 2; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/TakeEffigyRewardReq.pb.go b/gate-hk4e-api/proto/TakeEffigyRewardReq.pb.go new file mode 100644 index 00000000..053bd8a1 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeEffigyRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2040 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeEffigyRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardIndex uint32 `protobuf:"varint,14,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` +} + +func (x *TakeEffigyRewardReq) Reset() { + *x = TakeEffigyRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeEffigyRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeEffigyRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeEffigyRewardReq) ProtoMessage() {} + +func (x *TakeEffigyRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeEffigyRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeEffigyRewardReq.ProtoReflect.Descriptor instead. +func (*TakeEffigyRewardReq) Descriptor() ([]byte, []int) { + return file_TakeEffigyRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeEffigyRewardReq) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +var File_TakeEffigyRewardReq_proto protoreflect.FileDescriptor + +var file_TakeEffigyRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x13, 0x54, + 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeEffigyRewardReq_proto_rawDescOnce sync.Once + file_TakeEffigyRewardReq_proto_rawDescData = file_TakeEffigyRewardReq_proto_rawDesc +) + +func file_TakeEffigyRewardReq_proto_rawDescGZIP() []byte { + file_TakeEffigyRewardReq_proto_rawDescOnce.Do(func() { + file_TakeEffigyRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeEffigyRewardReq_proto_rawDescData) + }) + return file_TakeEffigyRewardReq_proto_rawDescData +} + +var file_TakeEffigyRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeEffigyRewardReq_proto_goTypes = []interface{}{ + (*TakeEffigyRewardReq)(nil), // 0: TakeEffigyRewardReq +} +var file_TakeEffigyRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeEffigyRewardReq_proto_init() } +func file_TakeEffigyRewardReq_proto_init() { + if File_TakeEffigyRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeEffigyRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeEffigyRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeEffigyRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeEffigyRewardReq_proto_goTypes, + DependencyIndexes: file_TakeEffigyRewardReq_proto_depIdxs, + MessageInfos: file_TakeEffigyRewardReq_proto_msgTypes, + }.Build() + File_TakeEffigyRewardReq_proto = out.File + file_TakeEffigyRewardReq_proto_rawDesc = nil + file_TakeEffigyRewardReq_proto_goTypes = nil + file_TakeEffigyRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeEffigyRewardReq.proto b/gate-hk4e-api/proto/TakeEffigyRewardReq.proto new file mode 100644 index 00000000..453cd172 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2040 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeEffigyRewardReq { + uint32 reward_index = 14; +} diff --git a/gate-hk4e-api/proto/TakeEffigyRewardRsp.pb.go b/gate-hk4e-api/proto/TakeEffigyRewardRsp.pb.go new file mode 100644 index 00000000..b07ab27c --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeEffigyRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2007 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeEffigyRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + RewardIndex uint32 `protobuf:"varint,7,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` +} + +func (x *TakeEffigyRewardRsp) Reset() { + *x = TakeEffigyRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeEffigyRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeEffigyRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeEffigyRewardRsp) ProtoMessage() {} + +func (x *TakeEffigyRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeEffigyRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeEffigyRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeEffigyRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeEffigyRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeEffigyRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeEffigyRewardRsp) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +var File_TakeEffigyRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeEffigyRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x13, 0x54, + 0x61, 0x6b, 0x65, 0x45, 0x66, 0x66, 0x69, 0x67, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TakeEffigyRewardRsp_proto_rawDescOnce sync.Once + file_TakeEffigyRewardRsp_proto_rawDescData = file_TakeEffigyRewardRsp_proto_rawDesc +) + +func file_TakeEffigyRewardRsp_proto_rawDescGZIP() []byte { + file_TakeEffigyRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeEffigyRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeEffigyRewardRsp_proto_rawDescData) + }) + return file_TakeEffigyRewardRsp_proto_rawDescData +} + +var file_TakeEffigyRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeEffigyRewardRsp_proto_goTypes = []interface{}{ + (*TakeEffigyRewardRsp)(nil), // 0: TakeEffigyRewardRsp +} +var file_TakeEffigyRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeEffigyRewardRsp_proto_init() } +func file_TakeEffigyRewardRsp_proto_init() { + if File_TakeEffigyRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeEffigyRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeEffigyRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeEffigyRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeEffigyRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeEffigyRewardRsp_proto_depIdxs, + MessageInfos: file_TakeEffigyRewardRsp_proto_msgTypes, + }.Build() + File_TakeEffigyRewardRsp_proto = out.File + file_TakeEffigyRewardRsp_proto_rawDesc = nil + file_TakeEffigyRewardRsp_proto_goTypes = nil + file_TakeEffigyRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeEffigyRewardRsp.proto b/gate-hk4e-api/proto/TakeEffigyRewardRsp.proto new file mode 100644 index 00000000..c5dafa01 --- /dev/null +++ b/gate-hk4e-api/proto/TakeEffigyRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2007 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeEffigyRewardRsp { + int32 retcode = 15; + uint32 reward_index = 7; +} diff --git a/gate-hk4e-api/proto/TakeFirstShareRewardReq.pb.go b/gate-hk4e-api/proto/TakeFirstShareRewardReq.pb.go new file mode 100644 index 00000000..ad77a14f --- /dev/null +++ b/gate-hk4e-api/proto/TakeFirstShareRewardReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeFirstShareRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4074 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeFirstShareRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TakeFirstShareRewardReq) Reset() { + *x = TakeFirstShareRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeFirstShareRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeFirstShareRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeFirstShareRewardReq) ProtoMessage() {} + +func (x *TakeFirstShareRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeFirstShareRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeFirstShareRewardReq.ProtoReflect.Descriptor instead. +func (*TakeFirstShareRewardReq) Descriptor() ([]byte, []int) { + return file_TakeFirstShareRewardReq_proto_rawDescGZIP(), []int{0} +} + +var File_TakeFirstShareRewardReq_proto protoreflect.FileDescriptor + +var file_TakeFirstShareRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x19, 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeFirstShareRewardReq_proto_rawDescOnce sync.Once + file_TakeFirstShareRewardReq_proto_rawDescData = file_TakeFirstShareRewardReq_proto_rawDesc +) + +func file_TakeFirstShareRewardReq_proto_rawDescGZIP() []byte { + file_TakeFirstShareRewardReq_proto_rawDescOnce.Do(func() { + file_TakeFirstShareRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeFirstShareRewardReq_proto_rawDescData) + }) + return file_TakeFirstShareRewardReq_proto_rawDescData +} + +var file_TakeFirstShareRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeFirstShareRewardReq_proto_goTypes = []interface{}{ + (*TakeFirstShareRewardReq)(nil), // 0: TakeFirstShareRewardReq +} +var file_TakeFirstShareRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeFirstShareRewardReq_proto_init() } +func file_TakeFirstShareRewardReq_proto_init() { + if File_TakeFirstShareRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeFirstShareRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeFirstShareRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeFirstShareRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeFirstShareRewardReq_proto_goTypes, + DependencyIndexes: file_TakeFirstShareRewardReq_proto_depIdxs, + MessageInfos: file_TakeFirstShareRewardReq_proto_msgTypes, + }.Build() + File_TakeFirstShareRewardReq_proto = out.File + file_TakeFirstShareRewardReq_proto_rawDesc = nil + file_TakeFirstShareRewardReq_proto_goTypes = nil + file_TakeFirstShareRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeFirstShareRewardReq.proto b/gate-hk4e-api/proto/TakeFirstShareRewardReq.proto new file mode 100644 index 00000000..97534ffe --- /dev/null +++ b/gate-hk4e-api/proto/TakeFirstShareRewardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4074 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeFirstShareRewardReq {} diff --git a/gate-hk4e-api/proto/TakeFirstShareRewardRsp.pb.go b/gate-hk4e-api/proto/TakeFirstShareRewardRsp.pb.go new file mode 100644 index 00000000..1843a76f --- /dev/null +++ b/gate-hk4e-api/proto/TakeFirstShareRewardRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeFirstShareRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4076 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeFirstShareRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeFirstShareRewardRsp) Reset() { + *x = TakeFirstShareRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeFirstShareRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeFirstShareRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeFirstShareRewardRsp) ProtoMessage() {} + +func (x *TakeFirstShareRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeFirstShareRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeFirstShareRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeFirstShareRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeFirstShareRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeFirstShareRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeFirstShareRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeFirstShareRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x33, 0x0a, 0x17, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeFirstShareRewardRsp_proto_rawDescOnce sync.Once + file_TakeFirstShareRewardRsp_proto_rawDescData = file_TakeFirstShareRewardRsp_proto_rawDesc +) + +func file_TakeFirstShareRewardRsp_proto_rawDescGZIP() []byte { + file_TakeFirstShareRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeFirstShareRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeFirstShareRewardRsp_proto_rawDescData) + }) + return file_TakeFirstShareRewardRsp_proto_rawDescData +} + +var file_TakeFirstShareRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeFirstShareRewardRsp_proto_goTypes = []interface{}{ + (*TakeFirstShareRewardRsp)(nil), // 0: TakeFirstShareRewardRsp +} +var file_TakeFirstShareRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeFirstShareRewardRsp_proto_init() } +func file_TakeFirstShareRewardRsp_proto_init() { + if File_TakeFirstShareRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeFirstShareRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeFirstShareRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeFirstShareRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeFirstShareRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeFirstShareRewardRsp_proto_depIdxs, + MessageInfos: file_TakeFirstShareRewardRsp_proto_msgTypes, + }.Build() + File_TakeFirstShareRewardRsp_proto = out.File + file_TakeFirstShareRewardRsp_proto_rawDesc = nil + file_TakeFirstShareRewardRsp_proto_goTypes = nil + file_TakeFirstShareRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeFirstShareRewardRsp.proto b/gate-hk4e-api/proto/TakeFirstShareRewardRsp.proto new file mode 100644 index 00000000..11d1b69e --- /dev/null +++ b/gate-hk4e-api/proto/TakeFirstShareRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4076 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeFirstShareRewardRsp { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/TakeFurnitureMakeReq.pb.go b/gate-hk4e-api/proto/TakeFurnitureMakeReq.pb.go new file mode 100644 index 00000000..aae0a6b7 --- /dev/null +++ b/gate-hk4e-api/proto/TakeFurnitureMakeReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeFurnitureMakeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeFurnitureMakeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` + IsFastFinish bool `protobuf:"varint,12,opt,name=is_fast_finish,json=isFastFinish,proto3" json:"is_fast_finish,omitempty"` + MakeId uint32 `protobuf:"varint,7,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` +} + +func (x *TakeFurnitureMakeReq) Reset() { + *x = TakeFurnitureMakeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeFurnitureMakeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeFurnitureMakeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeFurnitureMakeReq) ProtoMessage() {} + +func (x *TakeFurnitureMakeReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeFurnitureMakeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeFurnitureMakeReq.ProtoReflect.Descriptor instead. +func (*TakeFurnitureMakeReq) Descriptor() ([]byte, []int) { + return file_TakeFurnitureMakeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeFurnitureMakeReq) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *TakeFurnitureMakeReq) GetIsFastFinish() bool { + if x != nil { + return x.IsFastFinish + } + return false +} + +func (x *TakeFurnitureMakeReq) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +var File_TakeFurnitureMakeReq_proto protoreflect.FileDescriptor + +var file_TakeFurnitureMakeReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x14, + 0x54, 0x61, 0x6b, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, + 0x5f, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x61, 0x73, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6d, 0x61, 0x6b, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeFurnitureMakeReq_proto_rawDescOnce sync.Once + file_TakeFurnitureMakeReq_proto_rawDescData = file_TakeFurnitureMakeReq_proto_rawDesc +) + +func file_TakeFurnitureMakeReq_proto_rawDescGZIP() []byte { + file_TakeFurnitureMakeReq_proto_rawDescOnce.Do(func() { + file_TakeFurnitureMakeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeFurnitureMakeReq_proto_rawDescData) + }) + return file_TakeFurnitureMakeReq_proto_rawDescData +} + +var file_TakeFurnitureMakeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeFurnitureMakeReq_proto_goTypes = []interface{}{ + (*TakeFurnitureMakeReq)(nil), // 0: TakeFurnitureMakeReq +} +var file_TakeFurnitureMakeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeFurnitureMakeReq_proto_init() } +func file_TakeFurnitureMakeReq_proto_init() { + if File_TakeFurnitureMakeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeFurnitureMakeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeFurnitureMakeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeFurnitureMakeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeFurnitureMakeReq_proto_goTypes, + DependencyIndexes: file_TakeFurnitureMakeReq_proto_depIdxs, + MessageInfos: file_TakeFurnitureMakeReq_proto_msgTypes, + }.Build() + File_TakeFurnitureMakeReq_proto = out.File + file_TakeFurnitureMakeReq_proto_rawDesc = nil + file_TakeFurnitureMakeReq_proto_goTypes = nil + file_TakeFurnitureMakeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeFurnitureMakeReq.proto b/gate-hk4e-api/proto/TakeFurnitureMakeReq.proto new file mode 100644 index 00000000..43efebde --- /dev/null +++ b/gate-hk4e-api/proto/TakeFurnitureMakeReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4772 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeFurnitureMakeReq { + uint32 index = 8; + bool is_fast_finish = 12; + uint32 make_id = 7; +} diff --git a/gate-hk4e-api/proto/TakeFurnitureMakeRsp.pb.go b/gate-hk4e-api/proto/TakeFurnitureMakeRsp.pb.go new file mode 100644 index 00000000..53a454e8 --- /dev/null +++ b/gate-hk4e-api/proto/TakeFurnitureMakeRsp.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeFurnitureMakeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4769 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeFurnitureMakeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureMakeSlot *FurnitureMakeSlot `protobuf:"bytes,8,opt,name=furniture_make_slot,json=furnitureMakeSlot,proto3" json:"furniture_make_slot,omitempty"` + ReturnItemList []*ItemParam `protobuf:"bytes,2,rep,name=return_item_list,json=returnItemList,proto3" json:"return_item_list,omitempty"` + MakeId uint32 `protobuf:"varint,6,opt,name=make_id,json=makeId,proto3" json:"make_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + OutputItemList []*ItemParam `protobuf:"bytes,14,rep,name=output_item_list,json=outputItemList,proto3" json:"output_item_list,omitempty"` +} + +func (x *TakeFurnitureMakeRsp) Reset() { + *x = TakeFurnitureMakeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeFurnitureMakeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeFurnitureMakeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeFurnitureMakeRsp) ProtoMessage() {} + +func (x *TakeFurnitureMakeRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeFurnitureMakeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeFurnitureMakeRsp.ProtoReflect.Descriptor instead. +func (*TakeFurnitureMakeRsp) Descriptor() ([]byte, []int) { + return file_TakeFurnitureMakeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeFurnitureMakeRsp) GetFurnitureMakeSlot() *FurnitureMakeSlot { + if x != nil { + return x.FurnitureMakeSlot + } + return nil +} + +func (x *TakeFurnitureMakeRsp) GetReturnItemList() []*ItemParam { + if x != nil { + return x.ReturnItemList + } + return nil +} + +func (x *TakeFurnitureMakeRsp) GetMakeId() uint32 { + if x != nil { + return x.MakeId + } + return 0 +} + +func (x *TakeFurnitureMakeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeFurnitureMakeRsp) GetOutputItemList() []*ItemParam { + if x != nil { + return x.OutputItemList + } + return nil +} + +var File_TakeFurnitureMakeRsp_proto protoreflect.FileDescriptor + +var file_TakeFurnitureMakeRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x6b, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x46, 0x75, + 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x14, 0x54, 0x61, 0x6b, 0x65, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x52, 0x73, 0x70, 0x12, + 0x42, 0x0a, 0x13, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x61, 0x6b, + 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x46, + 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, 0x6c, 0x6f, 0x74, + 0x52, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6b, 0x65, 0x53, + 0x6c, 0x6f, 0x74, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x72, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x6b, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x61, 0x6b, 0x65, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x10, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeFurnitureMakeRsp_proto_rawDescOnce sync.Once + file_TakeFurnitureMakeRsp_proto_rawDescData = file_TakeFurnitureMakeRsp_proto_rawDesc +) + +func file_TakeFurnitureMakeRsp_proto_rawDescGZIP() []byte { + file_TakeFurnitureMakeRsp_proto_rawDescOnce.Do(func() { + file_TakeFurnitureMakeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeFurnitureMakeRsp_proto_rawDescData) + }) + return file_TakeFurnitureMakeRsp_proto_rawDescData +} + +var file_TakeFurnitureMakeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeFurnitureMakeRsp_proto_goTypes = []interface{}{ + (*TakeFurnitureMakeRsp)(nil), // 0: TakeFurnitureMakeRsp + (*FurnitureMakeSlot)(nil), // 1: FurnitureMakeSlot + (*ItemParam)(nil), // 2: ItemParam +} +var file_TakeFurnitureMakeRsp_proto_depIdxs = []int32{ + 1, // 0: TakeFurnitureMakeRsp.furniture_make_slot:type_name -> FurnitureMakeSlot + 2, // 1: TakeFurnitureMakeRsp.return_item_list:type_name -> ItemParam + 2, // 2: TakeFurnitureMakeRsp.output_item_list:type_name -> ItemParam + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_TakeFurnitureMakeRsp_proto_init() } +func file_TakeFurnitureMakeRsp_proto_init() { + if File_TakeFurnitureMakeRsp_proto != nil { + return + } + file_FurnitureMakeSlot_proto_init() + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeFurnitureMakeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeFurnitureMakeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeFurnitureMakeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeFurnitureMakeRsp_proto_goTypes, + DependencyIndexes: file_TakeFurnitureMakeRsp_proto_depIdxs, + MessageInfos: file_TakeFurnitureMakeRsp_proto_msgTypes, + }.Build() + File_TakeFurnitureMakeRsp_proto = out.File + file_TakeFurnitureMakeRsp_proto_rawDesc = nil + file_TakeFurnitureMakeRsp_proto_goTypes = nil + file_TakeFurnitureMakeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeFurnitureMakeRsp.proto b/gate-hk4e-api/proto/TakeFurnitureMakeRsp.proto new file mode 100644 index 00000000..b14c66b3 --- /dev/null +++ b/gate-hk4e-api/proto/TakeFurnitureMakeRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "FurnitureMakeSlot.proto"; +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 4769 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeFurnitureMakeRsp { + FurnitureMakeSlot furniture_make_slot = 8; + repeated ItemParam return_item_list = 2; + uint32 make_id = 6; + int32 retcode = 9; + repeated ItemParam output_item_list = 14; +} diff --git a/gate-hk4e-api/proto/TakeHuntingOfferReq.pb.go b/gate-hk4e-api/proto/TakeHuntingOfferReq.pb.go new file mode 100644 index 00000000..c687cfbb --- /dev/null +++ b/gate-hk4e-api/proto/TakeHuntingOfferReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeHuntingOfferReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeHuntingOfferReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,14,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + CityId uint32 `protobuf:"varint,4,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` +} + +func (x *TakeHuntingOfferReq) Reset() { + *x = TakeHuntingOfferReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeHuntingOfferReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeHuntingOfferReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeHuntingOfferReq) ProtoMessage() {} + +func (x *TakeHuntingOfferReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeHuntingOfferReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeHuntingOfferReq.ProtoReflect.Descriptor instead. +func (*TakeHuntingOfferReq) Descriptor() ([]byte, []int) { + return file_TakeHuntingOfferReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeHuntingOfferReq) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *TakeHuntingOfferReq) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +var File_TakeHuntingOfferReq_proto protoreflect.FileDescriptor + +var file_TakeHuntingOfferReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, + 0x0a, 0x13, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TakeHuntingOfferReq_proto_rawDescOnce sync.Once + file_TakeHuntingOfferReq_proto_rawDescData = file_TakeHuntingOfferReq_proto_rawDesc +) + +func file_TakeHuntingOfferReq_proto_rawDescGZIP() []byte { + file_TakeHuntingOfferReq_proto_rawDescOnce.Do(func() { + file_TakeHuntingOfferReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeHuntingOfferReq_proto_rawDescData) + }) + return file_TakeHuntingOfferReq_proto_rawDescData +} + +var file_TakeHuntingOfferReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeHuntingOfferReq_proto_goTypes = []interface{}{ + (*TakeHuntingOfferReq)(nil), // 0: TakeHuntingOfferReq + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_TakeHuntingOfferReq_proto_depIdxs = []int32{ + 1, // 0: TakeHuntingOfferReq.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeHuntingOfferReq_proto_init() } +func file_TakeHuntingOfferReq_proto_init() { + if File_TakeHuntingOfferReq_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeHuntingOfferReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeHuntingOfferReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeHuntingOfferReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeHuntingOfferReq_proto_goTypes, + DependencyIndexes: file_TakeHuntingOfferReq_proto_depIdxs, + MessageInfos: file_TakeHuntingOfferReq_proto_msgTypes, + }.Build() + File_TakeHuntingOfferReq_proto = out.File + file_TakeHuntingOfferReq_proto_rawDesc = nil + file_TakeHuntingOfferReq_proto_goTypes = nil + file_TakeHuntingOfferReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeHuntingOfferReq.proto b/gate-hk4e-api/proto/TakeHuntingOfferReq.proto new file mode 100644 index 00000000..3af3c9cf --- /dev/null +++ b/gate-hk4e-api/proto/TakeHuntingOfferReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeHuntingOfferReq { + HuntingPair hunting_pair = 14; + uint32 city_id = 4; +} diff --git a/gate-hk4e-api/proto/TakeHuntingOfferRsp.pb.go b/gate-hk4e-api/proto/TakeHuntingOfferRsp.pb.go new file mode 100644 index 00000000..121536b7 --- /dev/null +++ b/gate-hk4e-api/proto/TakeHuntingOfferRsp.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeHuntingOfferRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4318 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeHuntingOfferRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HuntingPair *HuntingPair `protobuf:"bytes,13,opt,name=hunting_pair,json=huntingPair,proto3" json:"hunting_pair,omitempty"` + CityId uint32 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeHuntingOfferRsp) Reset() { + *x = TakeHuntingOfferRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeHuntingOfferRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeHuntingOfferRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeHuntingOfferRsp) ProtoMessage() {} + +func (x *TakeHuntingOfferRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeHuntingOfferRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeHuntingOfferRsp.ProtoReflect.Descriptor instead. +func (*TakeHuntingOfferRsp) Descriptor() ([]byte, []int) { + return file_TakeHuntingOfferRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeHuntingOfferRsp) GetHuntingPair() *HuntingPair { + if x != nil { + return x.HuntingPair + } + return nil +} + +func (x *TakeHuntingOfferRsp) GetCityId() uint32 { + if x != nil { + return x.CityId + } + return 0 +} + +func (x *TakeHuntingOfferRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeHuntingOfferRsp_proto protoreflect.FileDescriptor + +var file_TakeHuntingOfferRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, + 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x48, 0x75, 0x6e, + 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, + 0x0a, 0x13, 0x54, 0x61, 0x6b, 0x65, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x66, 0x66, + 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x48, 0x75, + 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x68, 0x75, 0x6e, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeHuntingOfferRsp_proto_rawDescOnce sync.Once + file_TakeHuntingOfferRsp_proto_rawDescData = file_TakeHuntingOfferRsp_proto_rawDesc +) + +func file_TakeHuntingOfferRsp_proto_rawDescGZIP() []byte { + file_TakeHuntingOfferRsp_proto_rawDescOnce.Do(func() { + file_TakeHuntingOfferRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeHuntingOfferRsp_proto_rawDescData) + }) + return file_TakeHuntingOfferRsp_proto_rawDescData +} + +var file_TakeHuntingOfferRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeHuntingOfferRsp_proto_goTypes = []interface{}{ + (*TakeHuntingOfferRsp)(nil), // 0: TakeHuntingOfferRsp + (*HuntingPair)(nil), // 1: HuntingPair +} +var file_TakeHuntingOfferRsp_proto_depIdxs = []int32{ + 1, // 0: TakeHuntingOfferRsp.hunting_pair:type_name -> HuntingPair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeHuntingOfferRsp_proto_init() } +func file_TakeHuntingOfferRsp_proto_init() { + if File_TakeHuntingOfferRsp_proto != nil { + return + } + file_HuntingPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeHuntingOfferRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeHuntingOfferRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeHuntingOfferRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeHuntingOfferRsp_proto_goTypes, + DependencyIndexes: file_TakeHuntingOfferRsp_proto_depIdxs, + MessageInfos: file_TakeHuntingOfferRsp_proto_msgTypes, + }.Build() + File_TakeHuntingOfferRsp_proto = out.File + file_TakeHuntingOfferRsp_proto_rawDesc = nil + file_TakeHuntingOfferRsp_proto_goTypes = nil + file_TakeHuntingOfferRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeHuntingOfferRsp.proto b/gate-hk4e-api/proto/TakeHuntingOfferRsp.proto new file mode 100644 index 00000000..116b65c2 --- /dev/null +++ b/gate-hk4e-api/proto/TakeHuntingOfferRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HuntingPair.proto"; + +option go_package = "./;proto"; + +// CmdId: 4318 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeHuntingOfferRsp { + HuntingPair hunting_pair = 13; + uint32 city_id = 14; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/TakeInvestigationRewardReq.pb.go b/gate-hk4e-api/proto/TakeInvestigationRewardReq.pb.go new file mode 100644 index 00000000..b791e8ab --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeInvestigationRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1912 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeInvestigationRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *TakeInvestigationRewardReq) Reset() { + *x = TakeInvestigationRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeInvestigationRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeInvestigationRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeInvestigationRewardReq) ProtoMessage() {} + +func (x *TakeInvestigationRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeInvestigationRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeInvestigationRewardReq.ProtoReflect.Descriptor instead. +func (*TakeInvestigationRewardReq) Descriptor() ([]byte, []int) { + return file_TakeInvestigationRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeInvestigationRewardReq) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_TakeInvestigationRewardReq_proto protoreflect.FileDescriptor + +var file_TakeInvestigationRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeInvestigationRewardReq_proto_rawDescOnce sync.Once + file_TakeInvestigationRewardReq_proto_rawDescData = file_TakeInvestigationRewardReq_proto_rawDesc +) + +func file_TakeInvestigationRewardReq_proto_rawDescGZIP() []byte { + file_TakeInvestigationRewardReq_proto_rawDescOnce.Do(func() { + file_TakeInvestigationRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeInvestigationRewardReq_proto_rawDescData) + }) + return file_TakeInvestigationRewardReq_proto_rawDescData +} + +var file_TakeInvestigationRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeInvestigationRewardReq_proto_goTypes = []interface{}{ + (*TakeInvestigationRewardReq)(nil), // 0: TakeInvestigationRewardReq +} +var file_TakeInvestigationRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeInvestigationRewardReq_proto_init() } +func file_TakeInvestigationRewardReq_proto_init() { + if File_TakeInvestigationRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeInvestigationRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeInvestigationRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeInvestigationRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeInvestigationRewardReq_proto_goTypes, + DependencyIndexes: file_TakeInvestigationRewardReq_proto_depIdxs, + MessageInfos: file_TakeInvestigationRewardReq_proto_msgTypes, + }.Build() + File_TakeInvestigationRewardReq_proto = out.File + file_TakeInvestigationRewardReq_proto_rawDesc = nil + file_TakeInvestigationRewardReq_proto_goTypes = nil + file_TakeInvestigationRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeInvestigationRewardReq.proto b/gate-hk4e-api/proto/TakeInvestigationRewardReq.proto new file mode 100644 index 00000000..63ab93d2 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1912 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeInvestigationRewardReq { + uint32 id = 5; +} diff --git a/gate-hk4e-api/proto/TakeInvestigationRewardRsp.pb.go b/gate-hk4e-api/proto/TakeInvestigationRewardRsp.pb.go new file mode 100644 index 00000000..8af574a3 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationRewardRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeInvestigationRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1922 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeInvestigationRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + Id uint32 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *TakeInvestigationRewardRsp) Reset() { + *x = TakeInvestigationRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeInvestigationRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeInvestigationRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeInvestigationRewardRsp) ProtoMessage() {} + +func (x *TakeInvestigationRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeInvestigationRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeInvestigationRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeInvestigationRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeInvestigationRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeInvestigationRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeInvestigationRewardRsp) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_TakeInvestigationRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeInvestigationRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, + 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeInvestigationRewardRsp_proto_rawDescOnce sync.Once + file_TakeInvestigationRewardRsp_proto_rawDescData = file_TakeInvestigationRewardRsp_proto_rawDesc +) + +func file_TakeInvestigationRewardRsp_proto_rawDescGZIP() []byte { + file_TakeInvestigationRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeInvestigationRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeInvestigationRewardRsp_proto_rawDescData) + }) + return file_TakeInvestigationRewardRsp_proto_rawDescData +} + +var file_TakeInvestigationRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeInvestigationRewardRsp_proto_goTypes = []interface{}{ + (*TakeInvestigationRewardRsp)(nil), // 0: TakeInvestigationRewardRsp +} +var file_TakeInvestigationRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeInvestigationRewardRsp_proto_init() } +func file_TakeInvestigationRewardRsp_proto_init() { + if File_TakeInvestigationRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeInvestigationRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeInvestigationRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeInvestigationRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeInvestigationRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeInvestigationRewardRsp_proto_depIdxs, + MessageInfos: file_TakeInvestigationRewardRsp_proto_msgTypes, + }.Build() + File_TakeInvestigationRewardRsp_proto = out.File + file_TakeInvestigationRewardRsp_proto_rawDesc = nil + file_TakeInvestigationRewardRsp_proto_goTypes = nil + file_TakeInvestigationRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeInvestigationRewardRsp.proto b/gate-hk4e-api/proto/TakeInvestigationRewardRsp.proto new file mode 100644 index 00000000..22ecbd96 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1922 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeInvestigationRewardRsp { + int32 retcode = 4; + uint32 id = 12; +} diff --git a/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.pb.go b/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.pb.go new file mode 100644 index 00000000..7fdf828f --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeInvestigationTargetRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeInvestigationTargetRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,11,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *TakeInvestigationTargetRewardReq) Reset() { + *x = TakeInvestigationTargetRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeInvestigationTargetRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeInvestigationTargetRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeInvestigationTargetRewardReq) ProtoMessage() {} + +func (x *TakeInvestigationTargetRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeInvestigationTargetRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeInvestigationTargetRewardReq.ProtoReflect.Descriptor instead. +func (*TakeInvestigationTargetRewardReq) Descriptor() ([]byte, []int) { + return file_TakeInvestigationTargetRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeInvestigationTargetRewardReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_TakeInvestigationTargetRewardReq_proto protoreflect.FileDescriptor + +var file_TakeInvestigationTargetRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeInvestigationTargetRewardReq_proto_rawDescOnce sync.Once + file_TakeInvestigationTargetRewardReq_proto_rawDescData = file_TakeInvestigationTargetRewardReq_proto_rawDesc +) + +func file_TakeInvestigationTargetRewardReq_proto_rawDescGZIP() []byte { + file_TakeInvestigationTargetRewardReq_proto_rawDescOnce.Do(func() { + file_TakeInvestigationTargetRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeInvestigationTargetRewardReq_proto_rawDescData) + }) + return file_TakeInvestigationTargetRewardReq_proto_rawDescData +} + +var file_TakeInvestigationTargetRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeInvestigationTargetRewardReq_proto_goTypes = []interface{}{ + (*TakeInvestigationTargetRewardReq)(nil), // 0: TakeInvestigationTargetRewardReq +} +var file_TakeInvestigationTargetRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeInvestigationTargetRewardReq_proto_init() } +func file_TakeInvestigationTargetRewardReq_proto_init() { + if File_TakeInvestigationTargetRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeInvestigationTargetRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeInvestigationTargetRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeInvestigationTargetRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeInvestigationTargetRewardReq_proto_goTypes, + DependencyIndexes: file_TakeInvestigationTargetRewardReq_proto_depIdxs, + MessageInfos: file_TakeInvestigationTargetRewardReq_proto_msgTypes, + }.Build() + File_TakeInvestigationTargetRewardReq_proto = out.File + file_TakeInvestigationTargetRewardReq_proto_rawDesc = nil + file_TakeInvestigationTargetRewardReq_proto_goTypes = nil + file_TakeInvestigationTargetRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.proto b/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.proto new file mode 100644 index 00000000..146fef54 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationTargetRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1918 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeInvestigationTargetRewardReq { + uint32 quest_id = 11; +} diff --git a/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.pb.go b/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.pb.go new file mode 100644 index 00000000..e684a145 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeInvestigationTargetRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1916 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeInvestigationTargetRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + QuestId uint32 `protobuf:"varint,2,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *TakeInvestigationTargetRewardRsp) Reset() { + *x = TakeInvestigationTargetRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeInvestigationTargetRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeInvestigationTargetRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeInvestigationTargetRewardRsp) ProtoMessage() {} + +func (x *TakeInvestigationTargetRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeInvestigationTargetRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeInvestigationTargetRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeInvestigationTargetRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeInvestigationTargetRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeInvestigationTargetRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeInvestigationTargetRewardRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_TakeInvestigationTargetRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeInvestigationTargetRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x76, 0x65, 0x73, 0x74, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeInvestigationTargetRewardRsp_proto_rawDescOnce sync.Once + file_TakeInvestigationTargetRewardRsp_proto_rawDescData = file_TakeInvestigationTargetRewardRsp_proto_rawDesc +) + +func file_TakeInvestigationTargetRewardRsp_proto_rawDescGZIP() []byte { + file_TakeInvestigationTargetRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeInvestigationTargetRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeInvestigationTargetRewardRsp_proto_rawDescData) + }) + return file_TakeInvestigationTargetRewardRsp_proto_rawDescData +} + +var file_TakeInvestigationTargetRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeInvestigationTargetRewardRsp_proto_goTypes = []interface{}{ + (*TakeInvestigationTargetRewardRsp)(nil), // 0: TakeInvestigationTargetRewardRsp +} +var file_TakeInvestigationTargetRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeInvestigationTargetRewardRsp_proto_init() } +func file_TakeInvestigationTargetRewardRsp_proto_init() { + if File_TakeInvestigationTargetRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeInvestigationTargetRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeInvestigationTargetRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeInvestigationTargetRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeInvestigationTargetRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeInvestigationTargetRewardRsp_proto_depIdxs, + MessageInfos: file_TakeInvestigationTargetRewardRsp_proto_msgTypes, + }.Build() + File_TakeInvestigationTargetRewardRsp_proto = out.File + file_TakeInvestigationTargetRewardRsp_proto_rawDesc = nil + file_TakeInvestigationTargetRewardRsp_proto_goTypes = nil + file_TakeInvestigationTargetRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.proto b/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.proto new file mode 100644 index 00000000..757f9843 --- /dev/null +++ b/gate-hk4e-api/proto/TakeInvestigationTargetRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1916 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeInvestigationTargetRewardRsp { + int32 retcode = 1; + uint32 quest_id = 2; +} diff --git a/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.pb.go b/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.pb.go new file mode 100644 index 00000000..13a43e80 --- /dev/null +++ b/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeMaterialDeleteReturnReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeMaterialDeleteReturnReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type MaterialDeleteReturnType `protobuf:"varint,8,opt,name=type,proto3,enum=MaterialDeleteReturnType" json:"type,omitempty"` +} + +func (x *TakeMaterialDeleteReturnReq) Reset() { + *x = TakeMaterialDeleteReturnReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeMaterialDeleteReturnReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeMaterialDeleteReturnReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeMaterialDeleteReturnReq) ProtoMessage() {} + +func (x *TakeMaterialDeleteReturnReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeMaterialDeleteReturnReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeMaterialDeleteReturnReq.ProtoReflect.Descriptor instead. +func (*TakeMaterialDeleteReturnReq) Descriptor() ([]byte, []int) { + return file_TakeMaterialDeleteReturnReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeMaterialDeleteReturnReq) GetType() MaterialDeleteReturnType { + if x != nil { + return x.Type + } + return MaterialDeleteReturnType_MATERIAL_DELETE_RETURN_TYPE_BAG +} + +var File_TakeMaterialDeleteReturnReq_proto protoreflect.FileDescriptor + +var file_TakeMaterialDeleteReturnReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, + 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x19, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeMaterialDeleteReturnReq_proto_rawDescOnce sync.Once + file_TakeMaterialDeleteReturnReq_proto_rawDescData = file_TakeMaterialDeleteReturnReq_proto_rawDesc +) + +func file_TakeMaterialDeleteReturnReq_proto_rawDescGZIP() []byte { + file_TakeMaterialDeleteReturnReq_proto_rawDescOnce.Do(func() { + file_TakeMaterialDeleteReturnReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeMaterialDeleteReturnReq_proto_rawDescData) + }) + return file_TakeMaterialDeleteReturnReq_proto_rawDescData +} + +var file_TakeMaterialDeleteReturnReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeMaterialDeleteReturnReq_proto_goTypes = []interface{}{ + (*TakeMaterialDeleteReturnReq)(nil), // 0: TakeMaterialDeleteReturnReq + (MaterialDeleteReturnType)(0), // 1: MaterialDeleteReturnType +} +var file_TakeMaterialDeleteReturnReq_proto_depIdxs = []int32{ + 1, // 0: TakeMaterialDeleteReturnReq.type:type_name -> MaterialDeleteReturnType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeMaterialDeleteReturnReq_proto_init() } +func file_TakeMaterialDeleteReturnReq_proto_init() { + if File_TakeMaterialDeleteReturnReq_proto != nil { + return + } + file_MaterialDeleteReturnType_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeMaterialDeleteReturnReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeMaterialDeleteReturnReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeMaterialDeleteReturnReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeMaterialDeleteReturnReq_proto_goTypes, + DependencyIndexes: file_TakeMaterialDeleteReturnReq_proto_depIdxs, + MessageInfos: file_TakeMaterialDeleteReturnReq_proto_msgTypes, + }.Build() + File_TakeMaterialDeleteReturnReq_proto = out.File + file_TakeMaterialDeleteReturnReq_proto_rawDesc = nil + file_TakeMaterialDeleteReturnReq_proto_goTypes = nil + file_TakeMaterialDeleteReturnReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.proto b/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.proto new file mode 100644 index 00000000..6b1979aa --- /dev/null +++ b/gate-hk4e-api/proto/TakeMaterialDeleteReturnReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MaterialDeleteReturnType.proto"; + +option go_package = "./;proto"; + +// CmdId: 629 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeMaterialDeleteReturnReq { + MaterialDeleteReturnType type = 8; +} diff --git a/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.pb.go b/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.pb.go new file mode 100644 index 00000000..939b4a6c --- /dev/null +++ b/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeMaterialDeleteReturnRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 657 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeMaterialDeleteReturnRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeMaterialDeleteReturnRsp) Reset() { + *x = TakeMaterialDeleteReturnRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeMaterialDeleteReturnRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeMaterialDeleteReturnRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeMaterialDeleteReturnRsp) ProtoMessage() {} + +func (x *TakeMaterialDeleteReturnRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeMaterialDeleteReturnRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeMaterialDeleteReturnRsp.ProtoReflect.Descriptor instead. +func (*TakeMaterialDeleteReturnRsp) Descriptor() ([]byte, []int) { + return file_TakeMaterialDeleteReturnRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeMaterialDeleteReturnRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeMaterialDeleteReturnRsp_proto protoreflect.FileDescriptor + +var file_TakeMaterialDeleteReturnRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeMaterialDeleteReturnRsp_proto_rawDescOnce sync.Once + file_TakeMaterialDeleteReturnRsp_proto_rawDescData = file_TakeMaterialDeleteReturnRsp_proto_rawDesc +) + +func file_TakeMaterialDeleteReturnRsp_proto_rawDescGZIP() []byte { + file_TakeMaterialDeleteReturnRsp_proto_rawDescOnce.Do(func() { + file_TakeMaterialDeleteReturnRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeMaterialDeleteReturnRsp_proto_rawDescData) + }) + return file_TakeMaterialDeleteReturnRsp_proto_rawDescData +} + +var file_TakeMaterialDeleteReturnRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeMaterialDeleteReturnRsp_proto_goTypes = []interface{}{ + (*TakeMaterialDeleteReturnRsp)(nil), // 0: TakeMaterialDeleteReturnRsp +} +var file_TakeMaterialDeleteReturnRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeMaterialDeleteReturnRsp_proto_init() } +func file_TakeMaterialDeleteReturnRsp_proto_init() { + if File_TakeMaterialDeleteReturnRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeMaterialDeleteReturnRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeMaterialDeleteReturnRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeMaterialDeleteReturnRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeMaterialDeleteReturnRsp_proto_goTypes, + DependencyIndexes: file_TakeMaterialDeleteReturnRsp_proto_depIdxs, + MessageInfos: file_TakeMaterialDeleteReturnRsp_proto_msgTypes, + }.Build() + File_TakeMaterialDeleteReturnRsp_proto = out.File + file_TakeMaterialDeleteReturnRsp_proto_rawDesc = nil + file_TakeMaterialDeleteReturnRsp_proto_goTypes = nil + file_TakeMaterialDeleteReturnRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.proto b/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.proto new file mode 100644 index 00000000..688751e9 --- /dev/null +++ b/gate-hk4e-api/proto/TakeMaterialDeleteReturnRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 657 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeMaterialDeleteReturnRsp { + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.pb.go b/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.pb.go new file mode 100644 index 00000000..a07b6afd --- /dev/null +++ b/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeOfferingLevelRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeOfferingLevelRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"` + OfferingId uint32 `protobuf:"varint,11,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` +} + +func (x *TakeOfferingLevelRewardReq) Reset() { + *x = TakeOfferingLevelRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeOfferingLevelRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeOfferingLevelRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeOfferingLevelRewardReq) ProtoMessage() {} + +func (x *TakeOfferingLevelRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeOfferingLevelRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeOfferingLevelRewardReq.ProtoReflect.Descriptor instead. +func (*TakeOfferingLevelRewardReq) Descriptor() ([]byte, []int) { + return file_TakeOfferingLevelRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeOfferingLevelRewardReq) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *TakeOfferingLevelRewardReq) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +var File_TakeOfferingLevelRewardReq_proto protoreflect.FileDescriptor + +var file_TakeOfferingLevelRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, + 0x65, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeOfferingLevelRewardReq_proto_rawDescOnce sync.Once + file_TakeOfferingLevelRewardReq_proto_rawDescData = file_TakeOfferingLevelRewardReq_proto_rawDesc +) + +func file_TakeOfferingLevelRewardReq_proto_rawDescGZIP() []byte { + file_TakeOfferingLevelRewardReq_proto_rawDescOnce.Do(func() { + file_TakeOfferingLevelRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeOfferingLevelRewardReq_proto_rawDescData) + }) + return file_TakeOfferingLevelRewardReq_proto_rawDescData +} + +var file_TakeOfferingLevelRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeOfferingLevelRewardReq_proto_goTypes = []interface{}{ + (*TakeOfferingLevelRewardReq)(nil), // 0: TakeOfferingLevelRewardReq +} +var file_TakeOfferingLevelRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeOfferingLevelRewardReq_proto_init() } +func file_TakeOfferingLevelRewardReq_proto_init() { + if File_TakeOfferingLevelRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeOfferingLevelRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeOfferingLevelRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeOfferingLevelRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeOfferingLevelRewardReq_proto_goTypes, + DependencyIndexes: file_TakeOfferingLevelRewardReq_proto_depIdxs, + MessageInfos: file_TakeOfferingLevelRewardReq_proto_msgTypes, + }.Build() + File_TakeOfferingLevelRewardReq_proto = out.File + file_TakeOfferingLevelRewardReq_proto_rawDesc = nil + file_TakeOfferingLevelRewardReq_proto_goTypes = nil + file_TakeOfferingLevelRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.proto b/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.proto new file mode 100644 index 00000000..1f30d8ad --- /dev/null +++ b/gate-hk4e-api/proto/TakeOfferingLevelRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeOfferingLevelRewardReq { + uint32 level = 6; + uint32 offering_id = 11; +} diff --git a/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.pb.go b/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.pb.go new file mode 100644 index 00000000..df789ed4 --- /dev/null +++ b/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeOfferingLevelRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2911 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeOfferingLevelRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OfferingId uint32 `protobuf:"varint,3,opt,name=offering_id,json=offeringId,proto3" json:"offering_id,omitempty"` + TakeLevel uint32 `protobuf:"varint,4,opt,name=take_level,json=takeLevel,proto3" json:"take_level,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,2,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *TakeOfferingLevelRewardRsp) Reset() { + *x = TakeOfferingLevelRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeOfferingLevelRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeOfferingLevelRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeOfferingLevelRewardRsp) ProtoMessage() {} + +func (x *TakeOfferingLevelRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeOfferingLevelRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeOfferingLevelRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeOfferingLevelRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeOfferingLevelRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeOfferingLevelRewardRsp) GetOfferingId() uint32 { + if x != nil { + return x.OfferingId + } + return 0 +} + +func (x *TakeOfferingLevelRewardRsp) GetTakeLevel() uint32 { + if x != nil { + return x.TakeLevel + } + return 0 +} + +func (x *TakeOfferingLevelRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeOfferingLevelRewardRsp) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_TakeOfferingLevelRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeOfferingLevelRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, + 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x6b, 0x65, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x09, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeOfferingLevelRewardRsp_proto_rawDescOnce sync.Once + file_TakeOfferingLevelRewardRsp_proto_rawDescData = file_TakeOfferingLevelRewardRsp_proto_rawDesc +) + +func file_TakeOfferingLevelRewardRsp_proto_rawDescGZIP() []byte { + file_TakeOfferingLevelRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeOfferingLevelRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeOfferingLevelRewardRsp_proto_rawDescData) + }) + return file_TakeOfferingLevelRewardRsp_proto_rawDescData +} + +var file_TakeOfferingLevelRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeOfferingLevelRewardRsp_proto_goTypes = []interface{}{ + (*TakeOfferingLevelRewardRsp)(nil), // 0: TakeOfferingLevelRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeOfferingLevelRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeOfferingLevelRewardRsp.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeOfferingLevelRewardRsp_proto_init() } +func file_TakeOfferingLevelRewardRsp_proto_init() { + if File_TakeOfferingLevelRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeOfferingLevelRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeOfferingLevelRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeOfferingLevelRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeOfferingLevelRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeOfferingLevelRewardRsp_proto_depIdxs, + MessageInfos: file_TakeOfferingLevelRewardRsp_proto_msgTypes, + }.Build() + File_TakeOfferingLevelRewardRsp_proto = out.File + file_TakeOfferingLevelRewardRsp_proto_rawDesc = nil + file_TakeOfferingLevelRewardRsp_proto_goTypes = nil + file_TakeOfferingLevelRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.proto b/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.proto new file mode 100644 index 00000000..6b242b78 --- /dev/null +++ b/gate-hk4e-api/proto/TakeOfferingLevelRewardRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2911 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeOfferingLevelRewardRsp { + uint32 offering_id = 3; + uint32 take_level = 4; + int32 retcode = 8; + repeated ItemParam item_list = 2; +} diff --git a/gate-hk4e-api/proto/TakePlayerLevelRewardReq.pb.go b/gate-hk4e-api/proto/TakePlayerLevelRewardReq.pb.go new file mode 100644 index 00000000..a7fecac0 --- /dev/null +++ b/gate-hk4e-api/proto/TakePlayerLevelRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakePlayerLevelRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakePlayerLevelRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *TakePlayerLevelRewardReq) Reset() { + *x = TakePlayerLevelRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakePlayerLevelRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakePlayerLevelRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakePlayerLevelRewardReq) ProtoMessage() {} + +func (x *TakePlayerLevelRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakePlayerLevelRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakePlayerLevelRewardReq.ProtoReflect.Descriptor instead. +func (*TakePlayerLevelRewardReq) Descriptor() ([]byte, []int) { + return file_TakePlayerLevelRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakePlayerLevelRewardReq) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_TakePlayerLevelRewardReq_proto protoreflect.FileDescriptor + +var file_TakePlayerLevelRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x30, 0x0a, 0x18, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakePlayerLevelRewardReq_proto_rawDescOnce sync.Once + file_TakePlayerLevelRewardReq_proto_rawDescData = file_TakePlayerLevelRewardReq_proto_rawDesc +) + +func file_TakePlayerLevelRewardReq_proto_rawDescGZIP() []byte { + file_TakePlayerLevelRewardReq_proto_rawDescOnce.Do(func() { + file_TakePlayerLevelRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakePlayerLevelRewardReq_proto_rawDescData) + }) + return file_TakePlayerLevelRewardReq_proto_rawDescData +} + +var file_TakePlayerLevelRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakePlayerLevelRewardReq_proto_goTypes = []interface{}{ + (*TakePlayerLevelRewardReq)(nil), // 0: TakePlayerLevelRewardReq +} +var file_TakePlayerLevelRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakePlayerLevelRewardReq_proto_init() } +func file_TakePlayerLevelRewardReq_proto_init() { + if File_TakePlayerLevelRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakePlayerLevelRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakePlayerLevelRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakePlayerLevelRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakePlayerLevelRewardReq_proto_goTypes, + DependencyIndexes: file_TakePlayerLevelRewardReq_proto_depIdxs, + MessageInfos: file_TakePlayerLevelRewardReq_proto_msgTypes, + }.Build() + File_TakePlayerLevelRewardReq_proto = out.File + file_TakePlayerLevelRewardReq_proto_rawDesc = nil + file_TakePlayerLevelRewardReq_proto_goTypes = nil + file_TakePlayerLevelRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakePlayerLevelRewardReq.proto b/gate-hk4e-api/proto/TakePlayerLevelRewardReq.proto new file mode 100644 index 00000000..48687140 --- /dev/null +++ b/gate-hk4e-api/proto/TakePlayerLevelRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakePlayerLevelRewardReq { + uint32 level = 3; +} diff --git a/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.pb.go b/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.pb.go new file mode 100644 index 00000000..1b79622b --- /dev/null +++ b/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakePlayerLevelRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 157 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakePlayerLevelRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,9,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + Level uint32 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"` +} + +func (x *TakePlayerLevelRewardRsp) Reset() { + *x = TakePlayerLevelRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakePlayerLevelRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakePlayerLevelRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakePlayerLevelRewardRsp) ProtoMessage() {} + +func (x *TakePlayerLevelRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakePlayerLevelRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakePlayerLevelRewardRsp.ProtoReflect.Descriptor instead. +func (*TakePlayerLevelRewardRsp) Descriptor() ([]byte, []int) { + return file_TakePlayerLevelRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakePlayerLevelRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *TakePlayerLevelRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakePlayerLevelRewardRsp) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +var File_TakePlayerLevelRewardRsp_proto protoreflect.FileDescriptor + +var file_TakePlayerLevelRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x67, 0x0a, 0x18, 0x54, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakePlayerLevelRewardRsp_proto_rawDescOnce sync.Once + file_TakePlayerLevelRewardRsp_proto_rawDescData = file_TakePlayerLevelRewardRsp_proto_rawDesc +) + +func file_TakePlayerLevelRewardRsp_proto_rawDescGZIP() []byte { + file_TakePlayerLevelRewardRsp_proto_rawDescOnce.Do(func() { + file_TakePlayerLevelRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakePlayerLevelRewardRsp_proto_rawDescData) + }) + return file_TakePlayerLevelRewardRsp_proto_rawDescData +} + +var file_TakePlayerLevelRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakePlayerLevelRewardRsp_proto_goTypes = []interface{}{ + (*TakePlayerLevelRewardRsp)(nil), // 0: TakePlayerLevelRewardRsp +} +var file_TakePlayerLevelRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakePlayerLevelRewardRsp_proto_init() } +func file_TakePlayerLevelRewardRsp_proto_init() { + if File_TakePlayerLevelRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakePlayerLevelRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakePlayerLevelRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakePlayerLevelRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakePlayerLevelRewardRsp_proto_goTypes, + DependencyIndexes: file_TakePlayerLevelRewardRsp_proto_depIdxs, + MessageInfos: file_TakePlayerLevelRewardRsp_proto_msgTypes, + }.Build() + File_TakePlayerLevelRewardRsp_proto = out.File + file_TakePlayerLevelRewardRsp_proto_rawDesc = nil + file_TakePlayerLevelRewardRsp_proto_goTypes = nil + file_TakePlayerLevelRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.proto b/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.proto new file mode 100644 index 00000000..135fb23a --- /dev/null +++ b/gate-hk4e-api/proto/TakePlayerLevelRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 157 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakePlayerLevelRewardRsp { + uint32 reward_id = 9; + int32 retcode = 13; + uint32 level = 6; +} diff --git a/gate-hk4e-api/proto/TakeRegionSearchRewardReq.pb.go b/gate-hk4e-api/proto/TakeRegionSearchRewardReq.pb.go new file mode 100644 index 00000000..ccdb208b --- /dev/null +++ b/gate-hk4e-api/proto/TakeRegionSearchRewardReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeRegionSearchRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5625 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeRegionSearchRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearchId uint32 `protobuf:"varint,3,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"` + Id uint32 `protobuf:"varint,15,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *TakeRegionSearchRewardReq) Reset() { + *x = TakeRegionSearchRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeRegionSearchRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeRegionSearchRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeRegionSearchRewardReq) ProtoMessage() {} + +func (x *TakeRegionSearchRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeRegionSearchRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeRegionSearchRewardReq.ProtoReflect.Descriptor instead. +func (*TakeRegionSearchRewardReq) Descriptor() ([]byte, []int) { + return file_TakeRegionSearchRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeRegionSearchRewardReq) GetSearchId() uint32 { + if x != nil { + return x.SearchId + } + return 0 +} + +func (x *TakeRegionSearchRewardReq) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_TakeRegionSearchRewardReq_proto protoreflect.FileDescriptor + +var file_TakeRegionSearchRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x48, 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeRegionSearchRewardReq_proto_rawDescOnce sync.Once + file_TakeRegionSearchRewardReq_proto_rawDescData = file_TakeRegionSearchRewardReq_proto_rawDesc +) + +func file_TakeRegionSearchRewardReq_proto_rawDescGZIP() []byte { + file_TakeRegionSearchRewardReq_proto_rawDescOnce.Do(func() { + file_TakeRegionSearchRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeRegionSearchRewardReq_proto_rawDescData) + }) + return file_TakeRegionSearchRewardReq_proto_rawDescData +} + +var file_TakeRegionSearchRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeRegionSearchRewardReq_proto_goTypes = []interface{}{ + (*TakeRegionSearchRewardReq)(nil), // 0: TakeRegionSearchRewardReq +} +var file_TakeRegionSearchRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeRegionSearchRewardReq_proto_init() } +func file_TakeRegionSearchRewardReq_proto_init() { + if File_TakeRegionSearchRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeRegionSearchRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeRegionSearchRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeRegionSearchRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeRegionSearchRewardReq_proto_goTypes, + DependencyIndexes: file_TakeRegionSearchRewardReq_proto_depIdxs, + MessageInfos: file_TakeRegionSearchRewardReq_proto_msgTypes, + }.Build() + File_TakeRegionSearchRewardReq_proto = out.File + file_TakeRegionSearchRewardReq_proto_rawDesc = nil + file_TakeRegionSearchRewardReq_proto_goTypes = nil + file_TakeRegionSearchRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeRegionSearchRewardReq.proto b/gate-hk4e-api/proto/TakeRegionSearchRewardReq.proto new file mode 100644 index 00000000..52aebab7 --- /dev/null +++ b/gate-hk4e-api/proto/TakeRegionSearchRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5625 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeRegionSearchRewardReq { + uint32 search_id = 3; + uint32 id = 15; +} diff --git a/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.pb.go b/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.pb.go new file mode 100644 index 00000000..d3a63fd6 --- /dev/null +++ b/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeRegionSearchRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5607 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeRegionSearchRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearchId uint32 `protobuf:"varint,14,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"` + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeRegionSearchRewardRsp) Reset() { + *x = TakeRegionSearchRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeRegionSearchRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeRegionSearchRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeRegionSearchRewardRsp) ProtoMessage() {} + +func (x *TakeRegionSearchRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeRegionSearchRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeRegionSearchRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeRegionSearchRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeRegionSearchRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeRegionSearchRewardRsp) GetSearchId() uint32 { + if x != nil { + return x.SearchId + } + return 0 +} + +func (x *TakeRegionSearchRewardRsp) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *TakeRegionSearchRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeRegionSearchRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeRegionSearchRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x62, 0x0a, 0x19, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeRegionSearchRewardRsp_proto_rawDescOnce sync.Once + file_TakeRegionSearchRewardRsp_proto_rawDescData = file_TakeRegionSearchRewardRsp_proto_rawDesc +) + +func file_TakeRegionSearchRewardRsp_proto_rawDescGZIP() []byte { + file_TakeRegionSearchRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeRegionSearchRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeRegionSearchRewardRsp_proto_rawDescData) + }) + return file_TakeRegionSearchRewardRsp_proto_rawDescData +} + +var file_TakeRegionSearchRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeRegionSearchRewardRsp_proto_goTypes = []interface{}{ + (*TakeRegionSearchRewardRsp)(nil), // 0: TakeRegionSearchRewardRsp +} +var file_TakeRegionSearchRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeRegionSearchRewardRsp_proto_init() } +func file_TakeRegionSearchRewardRsp_proto_init() { + if File_TakeRegionSearchRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeRegionSearchRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeRegionSearchRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeRegionSearchRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeRegionSearchRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeRegionSearchRewardRsp_proto_depIdxs, + MessageInfos: file_TakeRegionSearchRewardRsp_proto_msgTypes, + }.Build() + File_TakeRegionSearchRewardRsp_proto = out.File + file_TakeRegionSearchRewardRsp_proto_rawDesc = nil + file_TakeRegionSearchRewardRsp_proto_goTypes = nil + file_TakeRegionSearchRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.proto b/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.proto new file mode 100644 index 00000000..b0987581 --- /dev/null +++ b/gate-hk4e-api/proto/TakeRegionSearchRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5607 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeRegionSearchRewardRsp { + uint32 search_id = 14; + uint32 id = 1; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.pb.go b/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.pb.go new file mode 100644 index 00000000..a05eabe4 --- /dev/null +++ b/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeResinCardDailyRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4122 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeResinCardDailyRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductConfigId uint32 `protobuf:"varint,14,opt,name=product_config_id,json=productConfigId,proto3" json:"product_config_id,omitempty"` +} + +func (x *TakeResinCardDailyRewardReq) Reset() { + *x = TakeResinCardDailyRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeResinCardDailyRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeResinCardDailyRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeResinCardDailyRewardReq) ProtoMessage() {} + +func (x *TakeResinCardDailyRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeResinCardDailyRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeResinCardDailyRewardReq.ProtoReflect.Descriptor instead. +func (*TakeResinCardDailyRewardReq) Descriptor() ([]byte, []int) { + return file_TakeResinCardDailyRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeResinCardDailyRewardReq) GetProductConfigId() uint32 { + if x != nil { + return x.ProductConfigId + } + return 0 +} + +var File_TakeResinCardDailyRewardReq_proto protoreflect.FileDescriptor + +var file_TakeResinCardDailyRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, + 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x69, 0x6e, + 0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x70, + 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_TakeResinCardDailyRewardReq_proto_rawDescOnce sync.Once + file_TakeResinCardDailyRewardReq_proto_rawDescData = file_TakeResinCardDailyRewardReq_proto_rawDesc +) + +func file_TakeResinCardDailyRewardReq_proto_rawDescGZIP() []byte { + file_TakeResinCardDailyRewardReq_proto_rawDescOnce.Do(func() { + file_TakeResinCardDailyRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeResinCardDailyRewardReq_proto_rawDescData) + }) + return file_TakeResinCardDailyRewardReq_proto_rawDescData +} + +var file_TakeResinCardDailyRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeResinCardDailyRewardReq_proto_goTypes = []interface{}{ + (*TakeResinCardDailyRewardReq)(nil), // 0: TakeResinCardDailyRewardReq +} +var file_TakeResinCardDailyRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeResinCardDailyRewardReq_proto_init() } +func file_TakeResinCardDailyRewardReq_proto_init() { + if File_TakeResinCardDailyRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeResinCardDailyRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeResinCardDailyRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeResinCardDailyRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeResinCardDailyRewardReq_proto_goTypes, + DependencyIndexes: file_TakeResinCardDailyRewardReq_proto_depIdxs, + MessageInfos: file_TakeResinCardDailyRewardReq_proto_msgTypes, + }.Build() + File_TakeResinCardDailyRewardReq_proto = out.File + file_TakeResinCardDailyRewardReq_proto_rawDesc = nil + file_TakeResinCardDailyRewardReq_proto_goTypes = nil + file_TakeResinCardDailyRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.proto b/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.proto new file mode 100644 index 00000000..2a97c893 --- /dev/null +++ b/gate-hk4e-api/proto/TakeResinCardDailyRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4122 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeResinCardDailyRewardReq { + uint32 product_config_id = 14; +} diff --git a/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.pb.go b/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.pb.go new file mode 100644 index 00000000..b1c12585 --- /dev/null +++ b/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeResinCardDailyRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4144 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeResinCardDailyRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemVec []*ItemParam `protobuf:"bytes,6,rep,name=item_vec,json=itemVec,proto3" json:"item_vec,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + ProductConfigId uint32 `protobuf:"varint,12,opt,name=product_config_id,json=productConfigId,proto3" json:"product_config_id,omitempty"` +} + +func (x *TakeResinCardDailyRewardRsp) Reset() { + *x = TakeResinCardDailyRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeResinCardDailyRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeResinCardDailyRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeResinCardDailyRewardRsp) ProtoMessage() {} + +func (x *TakeResinCardDailyRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeResinCardDailyRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeResinCardDailyRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeResinCardDailyRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeResinCardDailyRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeResinCardDailyRewardRsp) GetItemVec() []*ItemParam { + if x != nil { + return x.ItemVec + } + return nil +} + +func (x *TakeResinCardDailyRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeResinCardDailyRewardRsp) GetProductConfigId() uint32 { + if x != nil { + return x.ProductConfigId + } + return 0 +} + +var File_TakeResinCardDailyRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeResinCardDailyRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, + 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, + 0x69, 0x6e, 0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x52, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x63, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x56, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeResinCardDailyRewardRsp_proto_rawDescOnce sync.Once + file_TakeResinCardDailyRewardRsp_proto_rawDescData = file_TakeResinCardDailyRewardRsp_proto_rawDesc +) + +func file_TakeResinCardDailyRewardRsp_proto_rawDescGZIP() []byte { + file_TakeResinCardDailyRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeResinCardDailyRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeResinCardDailyRewardRsp_proto_rawDescData) + }) + return file_TakeResinCardDailyRewardRsp_proto_rawDescData +} + +var file_TakeResinCardDailyRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeResinCardDailyRewardRsp_proto_goTypes = []interface{}{ + (*TakeResinCardDailyRewardRsp)(nil), // 0: TakeResinCardDailyRewardRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_TakeResinCardDailyRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeResinCardDailyRewardRsp.item_vec:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeResinCardDailyRewardRsp_proto_init() } +func file_TakeResinCardDailyRewardRsp_proto_init() { + if File_TakeResinCardDailyRewardRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeResinCardDailyRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeResinCardDailyRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeResinCardDailyRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeResinCardDailyRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeResinCardDailyRewardRsp_proto_depIdxs, + MessageInfos: file_TakeResinCardDailyRewardRsp_proto_msgTypes, + }.Build() + File_TakeResinCardDailyRewardRsp_proto = out.File + file_TakeResinCardDailyRewardRsp_proto_rawDesc = nil + file_TakeResinCardDailyRewardRsp_proto_goTypes = nil + file_TakeResinCardDailyRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.proto b/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.proto new file mode 100644 index 00000000..849e9128 --- /dev/null +++ b/gate-hk4e-api/proto/TakeResinCardDailyRewardRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 4144 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeResinCardDailyRewardRsp { + repeated ItemParam item_vec = 6; + int32 retcode = 4; + uint32 product_config_id = 12; +} diff --git a/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.pb.go b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.pb.go new file mode 100644 index 00000000..4312bd8f --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionFirstGiftRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5075 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeReunionFirstGiftRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TakeReunionFirstGiftRewardReq) Reset() { + *x = TakeReunionFirstGiftRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionFirstGiftRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionFirstGiftRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionFirstGiftRewardReq) ProtoMessage() {} + +func (x *TakeReunionFirstGiftRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionFirstGiftRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionFirstGiftRewardReq.ProtoReflect.Descriptor instead. +func (*TakeReunionFirstGiftRewardReq) Descriptor() ([]byte, []int) { + return file_TakeReunionFirstGiftRewardReq_proto_rawDescGZIP(), []int{0} +} + +var File_TakeReunionFirstGiftRewardReq_proto protoreflect.FileDescriptor + +var file_TakeReunionFirstGiftRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionFirstGiftRewardReq_proto_rawDescOnce sync.Once + file_TakeReunionFirstGiftRewardReq_proto_rawDescData = file_TakeReunionFirstGiftRewardReq_proto_rawDesc +) + +func file_TakeReunionFirstGiftRewardReq_proto_rawDescGZIP() []byte { + file_TakeReunionFirstGiftRewardReq_proto_rawDescOnce.Do(func() { + file_TakeReunionFirstGiftRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionFirstGiftRewardReq_proto_rawDescData) + }) + return file_TakeReunionFirstGiftRewardReq_proto_rawDescData +} + +var file_TakeReunionFirstGiftRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionFirstGiftRewardReq_proto_goTypes = []interface{}{ + (*TakeReunionFirstGiftRewardReq)(nil), // 0: TakeReunionFirstGiftRewardReq +} +var file_TakeReunionFirstGiftRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionFirstGiftRewardReq_proto_init() } +func file_TakeReunionFirstGiftRewardReq_proto_init() { + if File_TakeReunionFirstGiftRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionFirstGiftRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionFirstGiftRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionFirstGiftRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionFirstGiftRewardReq_proto_goTypes, + DependencyIndexes: file_TakeReunionFirstGiftRewardReq_proto_depIdxs, + MessageInfos: file_TakeReunionFirstGiftRewardReq_proto_msgTypes, + }.Build() + File_TakeReunionFirstGiftRewardReq_proto = out.File + file_TakeReunionFirstGiftRewardReq_proto_rawDesc = nil + file_TakeReunionFirstGiftRewardReq_proto_goTypes = nil + file_TakeReunionFirstGiftRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.proto b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.proto new file mode 100644 index 00000000..98671c98 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5075 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeReunionFirstGiftRewardReq {} diff --git a/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.pb.go b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.pb.go new file mode 100644 index 00000000..2f37260a --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionFirstGiftRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5057 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeReunionFirstGiftRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId int32 `protobuf:"varint,9,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeReunionFirstGiftRewardRsp) Reset() { + *x = TakeReunionFirstGiftRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionFirstGiftRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionFirstGiftRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionFirstGiftRewardRsp) ProtoMessage() {} + +func (x *TakeReunionFirstGiftRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionFirstGiftRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionFirstGiftRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeReunionFirstGiftRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeReunionFirstGiftRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionFirstGiftRewardRsp) GetRewardId() int32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *TakeReunionFirstGiftRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeReunionFirstGiftRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeReunionFirstGiftRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x1d, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, + 0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_TakeReunionFirstGiftRewardRsp_proto_rawDescOnce sync.Once + file_TakeReunionFirstGiftRewardRsp_proto_rawDescData = file_TakeReunionFirstGiftRewardRsp_proto_rawDesc +) + +func file_TakeReunionFirstGiftRewardRsp_proto_rawDescGZIP() []byte { + file_TakeReunionFirstGiftRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeReunionFirstGiftRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionFirstGiftRewardRsp_proto_rawDescData) + }) + return file_TakeReunionFirstGiftRewardRsp_proto_rawDescData +} + +var file_TakeReunionFirstGiftRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionFirstGiftRewardRsp_proto_goTypes = []interface{}{ + (*TakeReunionFirstGiftRewardRsp)(nil), // 0: TakeReunionFirstGiftRewardRsp +} +var file_TakeReunionFirstGiftRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionFirstGiftRewardRsp_proto_init() } +func file_TakeReunionFirstGiftRewardRsp_proto_init() { + if File_TakeReunionFirstGiftRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionFirstGiftRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionFirstGiftRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionFirstGiftRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionFirstGiftRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeReunionFirstGiftRewardRsp_proto_depIdxs, + MessageInfos: file_TakeReunionFirstGiftRewardRsp_proto_msgTypes, + }.Build() + File_TakeReunionFirstGiftRewardRsp_proto = out.File + file_TakeReunionFirstGiftRewardRsp_proto_rawDesc = nil + file_TakeReunionFirstGiftRewardRsp_proto_goTypes = nil + file_TakeReunionFirstGiftRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.proto b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.proto new file mode 100644 index 00000000..01b84db9 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionFirstGiftRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5057 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeReunionFirstGiftRewardRsp { + int32 reward_id = 9; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/TakeReunionMissionRewardReq.pb.go b/gate-hk4e-api/proto/TakeReunionMissionRewardReq.pb.go new file mode 100644 index 00000000..2e851451 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionMissionRewardReq.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionMissionRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5092 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeReunionMissionRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardId uint32 `protobuf:"varint,7,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` + RewardIndex uint32 `protobuf:"varint,4,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` + MissionId uint32 `protobuf:"varint,12,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` +} + +func (x *TakeReunionMissionRewardReq) Reset() { + *x = TakeReunionMissionRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionMissionRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionMissionRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionMissionRewardReq) ProtoMessage() {} + +func (x *TakeReunionMissionRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionMissionRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionMissionRewardReq.ProtoReflect.Descriptor instead. +func (*TakeReunionMissionRewardReq) Descriptor() ([]byte, []int) { + return file_TakeReunionMissionRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionMissionRewardReq) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +func (x *TakeReunionMissionRewardReq) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +func (x *TakeReunionMissionRewardReq) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +var File_TakeReunionMissionRewardReq_proto protoreflect.FileDescriptor + +var file_TakeReunionMissionRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, + 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionMissionRewardReq_proto_rawDescOnce sync.Once + file_TakeReunionMissionRewardReq_proto_rawDescData = file_TakeReunionMissionRewardReq_proto_rawDesc +) + +func file_TakeReunionMissionRewardReq_proto_rawDescGZIP() []byte { + file_TakeReunionMissionRewardReq_proto_rawDescOnce.Do(func() { + file_TakeReunionMissionRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionMissionRewardReq_proto_rawDescData) + }) + return file_TakeReunionMissionRewardReq_proto_rawDescData +} + +var file_TakeReunionMissionRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionMissionRewardReq_proto_goTypes = []interface{}{ + (*TakeReunionMissionRewardReq)(nil), // 0: TakeReunionMissionRewardReq +} +var file_TakeReunionMissionRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionMissionRewardReq_proto_init() } +func file_TakeReunionMissionRewardReq_proto_init() { + if File_TakeReunionMissionRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionMissionRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionMissionRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionMissionRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionMissionRewardReq_proto_goTypes, + DependencyIndexes: file_TakeReunionMissionRewardReq_proto_depIdxs, + MessageInfos: file_TakeReunionMissionRewardReq_proto_msgTypes, + }.Build() + File_TakeReunionMissionRewardReq_proto = out.File + file_TakeReunionMissionRewardReq_proto_rawDesc = nil + file_TakeReunionMissionRewardReq_proto_goTypes = nil + file_TakeReunionMissionRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionMissionRewardReq.proto b/gate-hk4e-api/proto/TakeReunionMissionRewardReq.proto new file mode 100644 index 00000000..87341bfa --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionMissionRewardReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5092 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeReunionMissionRewardReq { + uint32 reward_id = 7; + uint32 reward_index = 4; + uint32 mission_id = 12; +} diff --git a/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.pb.go b/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.pb.go new file mode 100644 index 00000000..e33cab42 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionMissionRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5064 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeReunionMissionRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardIndex uint32 `protobuf:"varint,12,opt,name=reward_index,json=rewardIndex,proto3" json:"reward_index,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + MissionInfo *ReunionMissionInfo `protobuf:"bytes,9,opt,name=mission_info,json=missionInfo,proto3" json:"mission_info,omitempty"` + RewardId uint32 `protobuf:"varint,3,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *TakeReunionMissionRewardRsp) Reset() { + *x = TakeReunionMissionRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionMissionRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionMissionRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionMissionRewardRsp) ProtoMessage() {} + +func (x *TakeReunionMissionRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionMissionRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionMissionRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeReunionMissionRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeReunionMissionRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionMissionRewardRsp) GetRewardIndex() uint32 { + if x != nil { + return x.RewardIndex + } + return 0 +} + +func (x *TakeReunionMissionRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeReunionMissionRewardRsp) GetMissionInfo() *ReunionMissionInfo { + if x != nil { + return x.MissionInfo + } + return nil +} + +func (x *TakeReunionMissionRewardRsp) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_TakeReunionMissionRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeReunionMissionRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, + 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x21, 0x0a, + 0x0c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x0c, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x13, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionMissionRewardRsp_proto_rawDescOnce sync.Once + file_TakeReunionMissionRewardRsp_proto_rawDescData = file_TakeReunionMissionRewardRsp_proto_rawDesc +) + +func file_TakeReunionMissionRewardRsp_proto_rawDescGZIP() []byte { + file_TakeReunionMissionRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeReunionMissionRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionMissionRewardRsp_proto_rawDescData) + }) + return file_TakeReunionMissionRewardRsp_proto_rawDescData +} + +var file_TakeReunionMissionRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionMissionRewardRsp_proto_goTypes = []interface{}{ + (*TakeReunionMissionRewardRsp)(nil), // 0: TakeReunionMissionRewardRsp + (*ReunionMissionInfo)(nil), // 1: ReunionMissionInfo +} +var file_TakeReunionMissionRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeReunionMissionRewardRsp.mission_info:type_name -> ReunionMissionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeReunionMissionRewardRsp_proto_init() } +func file_TakeReunionMissionRewardRsp_proto_init() { + if File_TakeReunionMissionRewardRsp_proto != nil { + return + } + file_ReunionMissionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeReunionMissionRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionMissionRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionMissionRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionMissionRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeReunionMissionRewardRsp_proto_depIdxs, + MessageInfos: file_TakeReunionMissionRewardRsp_proto_msgTypes, + }.Build() + File_TakeReunionMissionRewardRsp_proto = out.File + file_TakeReunionMissionRewardRsp_proto_rawDesc = nil + file_TakeReunionMissionRewardRsp_proto_goTypes = nil + file_TakeReunionMissionRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.proto b/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.proto new file mode 100644 index 00000000..400f77ca --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionMissionRewardRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionMissionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5064 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeReunionMissionRewardRsp { + uint32 reward_index = 12; + int32 retcode = 2; + ReunionMissionInfo mission_info = 9; + uint32 reward_id = 3; +} diff --git a/gate-hk4e-api/proto/TakeReunionSignInRewardReq.pb.go b/gate-hk4e-api/proto/TakeReunionSignInRewardReq.pb.go new file mode 100644 index 00000000..37798f88 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionSignInRewardReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionSignInRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5079 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeReunionSignInRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardDay uint32 `protobuf:"varint,12,opt,name=reward_day,json=rewardDay,proto3" json:"reward_day,omitempty"` + ConfigId uint32 `protobuf:"varint,14,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *TakeReunionSignInRewardReq) Reset() { + *x = TakeReunionSignInRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionSignInRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionSignInRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionSignInRewardReq) ProtoMessage() {} + +func (x *TakeReunionSignInRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionSignInRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionSignInRewardReq.ProtoReflect.Descriptor instead. +func (*TakeReunionSignInRewardReq) Descriptor() ([]byte, []int) { + return file_TakeReunionSignInRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionSignInRewardReq) GetRewardDay() uint32 { + if x != nil { + return x.RewardDay + } + return 0 +} + +func (x *TakeReunionSignInRewardReq) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_TakeReunionSignInRewardReq_proto protoreflect.FileDescriptor + +var file_TakeReunionSignInRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, + 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1a, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, + 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x61, 0x79, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x61, 0x79, 0x12, + 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionSignInRewardReq_proto_rawDescOnce sync.Once + file_TakeReunionSignInRewardReq_proto_rawDescData = file_TakeReunionSignInRewardReq_proto_rawDesc +) + +func file_TakeReunionSignInRewardReq_proto_rawDescGZIP() []byte { + file_TakeReunionSignInRewardReq_proto_rawDescOnce.Do(func() { + file_TakeReunionSignInRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionSignInRewardReq_proto_rawDescData) + }) + return file_TakeReunionSignInRewardReq_proto_rawDescData +} + +var file_TakeReunionSignInRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionSignInRewardReq_proto_goTypes = []interface{}{ + (*TakeReunionSignInRewardReq)(nil), // 0: TakeReunionSignInRewardReq +} +var file_TakeReunionSignInRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionSignInRewardReq_proto_init() } +func file_TakeReunionSignInRewardReq_proto_init() { + if File_TakeReunionSignInRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionSignInRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionSignInRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionSignInRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionSignInRewardReq_proto_goTypes, + DependencyIndexes: file_TakeReunionSignInRewardReq_proto_depIdxs, + MessageInfos: file_TakeReunionSignInRewardReq_proto_msgTypes, + }.Build() + File_TakeReunionSignInRewardReq_proto = out.File + file_TakeReunionSignInRewardReq_proto_rawDesc = nil + file_TakeReunionSignInRewardReq_proto_goTypes = nil + file_TakeReunionSignInRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionSignInRewardReq.proto b/gate-hk4e-api/proto/TakeReunionSignInRewardReq.proto new file mode 100644 index 00000000..c72890c0 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionSignInRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5079 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeReunionSignInRewardReq { + uint32 reward_day = 12; + uint32 config_id = 14; +} diff --git a/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.pb.go b/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.pb.go new file mode 100644 index 00000000..649c9dde --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionSignInRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5072 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeReunionSignInRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignInInfo *ReunionSignInInfo `protobuf:"bytes,10,opt,name=sign_in_info,json=signInInfo,proto3" json:"sign_in_info,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeReunionSignInRewardRsp) Reset() { + *x = TakeReunionSignInRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionSignInRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionSignInRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionSignInRewardRsp) ProtoMessage() {} + +func (x *TakeReunionSignInRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionSignInRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionSignInRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeReunionSignInRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeReunionSignInRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionSignInRewardRsp) GetSignInInfo() *ReunionSignInInfo { + if x != nil { + return x.SignInInfo + } + return nil +} + +func (x *TakeReunionSignInRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeReunionSignInRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeReunionSignInRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, + 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x17, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x1a, 0x54, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x0c, 0x73, 0x69, 0x67, + 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionSignInRewardRsp_proto_rawDescOnce sync.Once + file_TakeReunionSignInRewardRsp_proto_rawDescData = file_TakeReunionSignInRewardRsp_proto_rawDesc +) + +func file_TakeReunionSignInRewardRsp_proto_rawDescGZIP() []byte { + file_TakeReunionSignInRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeReunionSignInRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionSignInRewardRsp_proto_rawDescData) + }) + return file_TakeReunionSignInRewardRsp_proto_rawDescData +} + +var file_TakeReunionSignInRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionSignInRewardRsp_proto_goTypes = []interface{}{ + (*TakeReunionSignInRewardRsp)(nil), // 0: TakeReunionSignInRewardRsp + (*ReunionSignInInfo)(nil), // 1: ReunionSignInInfo +} +var file_TakeReunionSignInRewardRsp_proto_depIdxs = []int32{ + 1, // 0: TakeReunionSignInRewardRsp.sign_in_info:type_name -> ReunionSignInInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TakeReunionSignInRewardRsp_proto_init() } +func file_TakeReunionSignInRewardRsp_proto_init() { + if File_TakeReunionSignInRewardRsp_proto != nil { + return + } + file_ReunionSignInInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TakeReunionSignInRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionSignInRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionSignInRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionSignInRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeReunionSignInRewardRsp_proto_depIdxs, + MessageInfos: file_TakeReunionSignInRewardRsp_proto_msgTypes, + }.Build() + File_TakeReunionSignInRewardRsp_proto = out.File + file_TakeReunionSignInRewardRsp_proto_rawDesc = nil + file_TakeReunionSignInRewardRsp_proto_goTypes = nil + file_TakeReunionSignInRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.proto b/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.proto new file mode 100644 index 00000000..da331fb8 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionSignInRewardRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionSignInInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5072 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeReunionSignInRewardRsp { + ReunionSignInInfo sign_in_info = 10; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.pb.go b/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.pb.go new file mode 100644 index 00000000..3374c118 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionWatcherRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeReunionWatcherRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WatcherId uint32 `protobuf:"varint,12,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` + MissionId uint32 `protobuf:"varint,15,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` +} + +func (x *TakeReunionWatcherRewardReq) Reset() { + *x = TakeReunionWatcherRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionWatcherRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionWatcherRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionWatcherRewardReq) ProtoMessage() {} + +func (x *TakeReunionWatcherRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionWatcherRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionWatcherRewardReq.ProtoReflect.Descriptor instead. +func (*TakeReunionWatcherRewardReq) Descriptor() ([]byte, []int) { + return file_TakeReunionWatcherRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionWatcherRewardReq) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +func (x *TakeReunionWatcherRewardReq) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +var File_TakeReunionWatcherRewardReq_proto protoreflect.FileDescriptor + +var file_TakeReunionWatcherRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, + 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionWatcherRewardReq_proto_rawDescOnce sync.Once + file_TakeReunionWatcherRewardReq_proto_rawDescData = file_TakeReunionWatcherRewardReq_proto_rawDesc +) + +func file_TakeReunionWatcherRewardReq_proto_rawDescGZIP() []byte { + file_TakeReunionWatcherRewardReq_proto_rawDescOnce.Do(func() { + file_TakeReunionWatcherRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionWatcherRewardReq_proto_rawDescData) + }) + return file_TakeReunionWatcherRewardReq_proto_rawDescData +} + +var file_TakeReunionWatcherRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionWatcherRewardReq_proto_goTypes = []interface{}{ + (*TakeReunionWatcherRewardReq)(nil), // 0: TakeReunionWatcherRewardReq +} +var file_TakeReunionWatcherRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionWatcherRewardReq_proto_init() } +func file_TakeReunionWatcherRewardReq_proto_init() { + if File_TakeReunionWatcherRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionWatcherRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionWatcherRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionWatcherRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionWatcherRewardReq_proto_goTypes, + DependencyIndexes: file_TakeReunionWatcherRewardReq_proto_depIdxs, + MessageInfos: file_TakeReunionWatcherRewardReq_proto_msgTypes, + }.Build() + File_TakeReunionWatcherRewardReq_proto = out.File + file_TakeReunionWatcherRewardReq_proto_rawDesc = nil + file_TakeReunionWatcherRewardReq_proto_goTypes = nil + file_TakeReunionWatcherRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.proto b/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.proto new file mode 100644 index 00000000..5790d222 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionWatcherRewardReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5070 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeReunionWatcherRewardReq { + uint32 watcher_id = 12; + uint32 mission_id = 15; +} diff --git a/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.pb.go b/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.pb.go new file mode 100644 index 00000000..69d02270 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeReunionWatcherRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5095 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeReunionWatcherRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MissionId uint32 `protobuf:"varint,15,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` + WatcherId uint32 `protobuf:"varint,9,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TakeReunionWatcherRewardRsp) Reset() { + *x = TakeReunionWatcherRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeReunionWatcherRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeReunionWatcherRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeReunionWatcherRewardRsp) ProtoMessage() {} + +func (x *TakeReunionWatcherRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeReunionWatcherRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeReunionWatcherRewardRsp.ProtoReflect.Descriptor instead. +func (*TakeReunionWatcherRewardRsp) Descriptor() ([]byte, []int) { + return file_TakeReunionWatcherRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeReunionWatcherRewardRsp) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +func (x *TakeReunionWatcherRewardRsp) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +func (x *TakeReunionWatcherRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TakeReunionWatcherRewardRsp_proto protoreflect.FileDescriptor + +var file_TakeReunionWatcherRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x1b, 0x54, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, + 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeReunionWatcherRewardRsp_proto_rawDescOnce sync.Once + file_TakeReunionWatcherRewardRsp_proto_rawDescData = file_TakeReunionWatcherRewardRsp_proto_rawDesc +) + +func file_TakeReunionWatcherRewardRsp_proto_rawDescGZIP() []byte { + file_TakeReunionWatcherRewardRsp_proto_rawDescOnce.Do(func() { + file_TakeReunionWatcherRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeReunionWatcherRewardRsp_proto_rawDescData) + }) + return file_TakeReunionWatcherRewardRsp_proto_rawDescData +} + +var file_TakeReunionWatcherRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeReunionWatcherRewardRsp_proto_goTypes = []interface{}{ + (*TakeReunionWatcherRewardRsp)(nil), // 0: TakeReunionWatcherRewardRsp +} +var file_TakeReunionWatcherRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeReunionWatcherRewardRsp_proto_init() } +func file_TakeReunionWatcherRewardRsp_proto_init() { + if File_TakeReunionWatcherRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeReunionWatcherRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeReunionWatcherRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeReunionWatcherRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeReunionWatcherRewardRsp_proto_goTypes, + DependencyIndexes: file_TakeReunionWatcherRewardRsp_proto_depIdxs, + MessageInfos: file_TakeReunionWatcherRewardRsp_proto_msgTypes, + }.Build() + File_TakeReunionWatcherRewardRsp_proto = out.File + file_TakeReunionWatcherRewardRsp_proto_rawDesc = nil + file_TakeReunionWatcherRewardRsp_proto_goTypes = nil + file_TakeReunionWatcherRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.proto b/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.proto new file mode 100644 index 00000000..6c286396 --- /dev/null +++ b/gate-hk4e-api/proto/TakeReunionWatcherRewardRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5095 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeReunionWatcherRewardRsp { + uint32 mission_id = 15; + uint32 watcher_id = 9; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/TakeoffEquipReq.pb.go b/gate-hk4e-api/proto/TakeoffEquipReq.pb.go new file mode 100644 index 00000000..ca298c23 --- /dev/null +++ b/gate-hk4e-api/proto/TakeoffEquipReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeoffEquipReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 605 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TakeoffEquipReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,8,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Slot uint32 `protobuf:"varint,15,opt,name=slot,proto3" json:"slot,omitempty"` +} + +func (x *TakeoffEquipReq) Reset() { + *x = TakeoffEquipReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeoffEquipReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeoffEquipReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeoffEquipReq) ProtoMessage() {} + +func (x *TakeoffEquipReq) ProtoReflect() protoreflect.Message { + mi := &file_TakeoffEquipReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeoffEquipReq.ProtoReflect.Descriptor instead. +func (*TakeoffEquipReq) Descriptor() ([]byte, []int) { + return file_TakeoffEquipReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeoffEquipReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *TakeoffEquipReq) GetSlot() uint32 { + if x != nil { + return x.Slot + } + return 0 +} + +var File_TakeoffEquipReq_proto protoreflect.FileDescriptor + +var file_TakeoffEquipReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x0f, 0x54, 0x61, 0x6b, 0x65, 0x6f, + 0x66, 0x66, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x6c, 0x6f, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TakeoffEquipReq_proto_rawDescOnce sync.Once + file_TakeoffEquipReq_proto_rawDescData = file_TakeoffEquipReq_proto_rawDesc +) + +func file_TakeoffEquipReq_proto_rawDescGZIP() []byte { + file_TakeoffEquipReq_proto_rawDescOnce.Do(func() { + file_TakeoffEquipReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeoffEquipReq_proto_rawDescData) + }) + return file_TakeoffEquipReq_proto_rawDescData +} + +var file_TakeoffEquipReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeoffEquipReq_proto_goTypes = []interface{}{ + (*TakeoffEquipReq)(nil), // 0: TakeoffEquipReq +} +var file_TakeoffEquipReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeoffEquipReq_proto_init() } +func file_TakeoffEquipReq_proto_init() { + if File_TakeoffEquipReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeoffEquipReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeoffEquipReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeoffEquipReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeoffEquipReq_proto_goTypes, + DependencyIndexes: file_TakeoffEquipReq_proto_depIdxs, + MessageInfos: file_TakeoffEquipReq_proto_msgTypes, + }.Build() + File_TakeoffEquipReq_proto = out.File + file_TakeoffEquipReq_proto_rawDesc = nil + file_TakeoffEquipReq_proto_goTypes = nil + file_TakeoffEquipReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeoffEquipReq.proto b/gate-hk4e-api/proto/TakeoffEquipReq.proto new file mode 100644 index 00000000..85dc6157 --- /dev/null +++ b/gate-hk4e-api/proto/TakeoffEquipReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 605 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TakeoffEquipReq { + uint64 avatar_guid = 8; + uint32 slot = 15; +} diff --git a/gate-hk4e-api/proto/TakeoffEquipRsp.pb.go b/gate-hk4e-api/proto/TakeoffEquipRsp.pb.go new file mode 100644 index 00000000..929618fa --- /dev/null +++ b/gate-hk4e-api/proto/TakeoffEquipRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TakeoffEquipRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 682 +// EnetChannelId: 0 +// EnetIsReliable: true +type TakeoffEquipRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,9,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Slot uint32 `protobuf:"varint,10,opt,name=slot,proto3" json:"slot,omitempty"` +} + +func (x *TakeoffEquipRsp) Reset() { + *x = TakeoffEquipRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TakeoffEquipRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TakeoffEquipRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TakeoffEquipRsp) ProtoMessage() {} + +func (x *TakeoffEquipRsp) ProtoReflect() protoreflect.Message { + mi := &file_TakeoffEquipRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TakeoffEquipRsp.ProtoReflect.Descriptor instead. +func (*TakeoffEquipRsp) Descriptor() ([]byte, []int) { + return file_TakeoffEquipRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TakeoffEquipRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *TakeoffEquipRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TakeoffEquipRsp) GetSlot() uint32 { + if x != nil { + return x.Slot + } + return 0 +} + +var File_TakeoffEquipRsp_proto protoreflect.FileDescriptor + +var file_TakeoffEquipRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x61, 0x6b, 0x65, 0x6f, 0x66, 0x66, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0f, 0x54, 0x61, 0x6b, 0x65, 0x6f, + 0x66, 0x66, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TakeoffEquipRsp_proto_rawDescOnce sync.Once + file_TakeoffEquipRsp_proto_rawDescData = file_TakeoffEquipRsp_proto_rawDesc +) + +func file_TakeoffEquipRsp_proto_rawDescGZIP() []byte { + file_TakeoffEquipRsp_proto_rawDescOnce.Do(func() { + file_TakeoffEquipRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TakeoffEquipRsp_proto_rawDescData) + }) + return file_TakeoffEquipRsp_proto_rawDescData +} + +var file_TakeoffEquipRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TakeoffEquipRsp_proto_goTypes = []interface{}{ + (*TakeoffEquipRsp)(nil), // 0: TakeoffEquipRsp +} +var file_TakeoffEquipRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TakeoffEquipRsp_proto_init() } +func file_TakeoffEquipRsp_proto_init() { + if File_TakeoffEquipRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TakeoffEquipRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TakeoffEquipRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TakeoffEquipRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TakeoffEquipRsp_proto_goTypes, + DependencyIndexes: file_TakeoffEquipRsp_proto_depIdxs, + MessageInfos: file_TakeoffEquipRsp_proto_msgTypes, + }.Build() + File_TakeoffEquipRsp_proto = out.File + file_TakeoffEquipRsp_proto_rawDesc = nil + file_TakeoffEquipRsp_proto_goTypes = nil + file_TakeoffEquipRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TakeoffEquipRsp.proto b/gate-hk4e-api/proto/TakeoffEquipRsp.proto new file mode 100644 index 00000000..82e85d8f --- /dev/null +++ b/gate-hk4e-api/proto/TakeoffEquipRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 682 +// EnetChannelId: 0 +// EnetIsReliable: true +message TakeoffEquipRsp { + uint64 avatar_guid = 9; + int32 retcode = 6; + uint32 slot = 10; +} diff --git a/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.pb.go b/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.pb.go new file mode 100644 index 00000000..1e065a2f --- /dev/null +++ b/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TanukiTravelActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TanukiTravelActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JBPFIDDPGME []*Unk2700_BIFNFOGBPNM `protobuf:"bytes,4,rep,name=Unk2700_JBPFIDDPGME,json=Unk2700JBPFIDDPGME,proto3" json:"Unk2700_JBPFIDDPGME,omitempty"` + IsContentClosed bool `protobuf:"varint,11,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk2700_BHHCNOLMCJM uint32 `protobuf:"varint,10,opt,name=Unk2700_BHHCNOLMCJM,json=Unk2700BHHCNOLMCJM,proto3" json:"Unk2700_BHHCNOLMCJM,omitempty"` +} + +func (x *TanukiTravelActivityDetailInfo) Reset() { + *x = TanukiTravelActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TanukiTravelActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TanukiTravelActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TanukiTravelActivityDetailInfo) ProtoMessage() {} + +func (x *TanukiTravelActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_TanukiTravelActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TanukiTravelActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*TanukiTravelActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_TanukiTravelActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TanukiTravelActivityDetailInfo) GetUnk2700_JBPFIDDPGME() []*Unk2700_BIFNFOGBPNM { + if x != nil { + return x.Unk2700_JBPFIDDPGME + } + return nil +} + +func (x *TanukiTravelActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *TanukiTravelActivityDetailInfo) GetUnk2700_BHHCNOLMCJM() uint32 { + if x != nil { + return x.Unk2700_BHHCNOLMCJM + } + return 0 +} + +var File_TanukiTravelActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_TanukiTravelActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x54, 0x61, 0x6e, 0x75, 0x6b, 0x69, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x42, 0x49, 0x46, 0x4e, 0x46, 0x4f, 0x47, 0x42, 0x50, 0x4e, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc4, 0x01, 0x0a, 0x1e, 0x54, 0x61, 0x6e, 0x75, 0x6b, 0x69, 0x54, 0x72, 0x61, 0x76, + 0x65, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4a, 0x42, 0x50, 0x46, 0x49, 0x44, 0x44, 0x50, 0x47, 0x4d, 0x45, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x46, 0x4e, + 0x46, 0x4f, 0x47, 0x42, 0x50, 0x4e, 0x4d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4a, 0x42, 0x50, 0x46, 0x49, 0x44, 0x44, 0x50, 0x47, 0x4d, 0x45, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x42, 0x48, 0x48, 0x43, 0x4e, 0x4f, 0x4c, 0x4d, 0x43, 0x4a, 0x4d, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x48, 0x48, + 0x43, 0x4e, 0x4f, 0x4c, 0x4d, 0x43, 0x4a, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TanukiTravelActivityDetailInfo_proto_rawDescOnce sync.Once + file_TanukiTravelActivityDetailInfo_proto_rawDescData = file_TanukiTravelActivityDetailInfo_proto_rawDesc +) + +func file_TanukiTravelActivityDetailInfo_proto_rawDescGZIP() []byte { + file_TanukiTravelActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_TanukiTravelActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TanukiTravelActivityDetailInfo_proto_rawDescData) + }) + return file_TanukiTravelActivityDetailInfo_proto_rawDescData +} + +var file_TanukiTravelActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TanukiTravelActivityDetailInfo_proto_goTypes = []interface{}{ + (*TanukiTravelActivityDetailInfo)(nil), // 0: TanukiTravelActivityDetailInfo + (*Unk2700_BIFNFOGBPNM)(nil), // 1: Unk2700_BIFNFOGBPNM +} +var file_TanukiTravelActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: TanukiTravelActivityDetailInfo.Unk2700_JBPFIDDPGME:type_name -> Unk2700_BIFNFOGBPNM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TanukiTravelActivityDetailInfo_proto_init() } +func file_TanukiTravelActivityDetailInfo_proto_init() { + if File_TanukiTravelActivityDetailInfo_proto != nil { + return + } + file_Unk2700_BIFNFOGBPNM_proto_init() + if !protoimpl.UnsafeEnabled { + file_TanukiTravelActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TanukiTravelActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TanukiTravelActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TanukiTravelActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_TanukiTravelActivityDetailInfo_proto_depIdxs, + MessageInfos: file_TanukiTravelActivityDetailInfo_proto_msgTypes, + }.Build() + File_TanukiTravelActivityDetailInfo_proto = out.File + file_TanukiTravelActivityDetailInfo_proto_rawDesc = nil + file_TanukiTravelActivityDetailInfo_proto_goTypes = nil + file_TanukiTravelActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.proto b/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.proto new file mode 100644 index 00000000..4c76a244 --- /dev/null +++ b/gate-hk4e-api/proto/TanukiTravelActivityDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BIFNFOGBPNM.proto"; + +option go_package = "./;proto"; + +message TanukiTravelActivityDetailInfo { + repeated Unk2700_BIFNFOGBPNM Unk2700_JBPFIDDPGME = 4; + bool is_content_closed = 11; + uint32 Unk2700_BHHCNOLMCJM = 10; +} diff --git a/gate-hk4e-api/proto/TaskVar.pb.go b/gate-hk4e-api/proto/TaskVar.pb.go new file mode 100644 index 00000000..fb9ce6b6 --- /dev/null +++ b/gate-hk4e-api/proto/TaskVar.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TaskVar.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TaskVar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key uint32 `protobuf:"varint,8,opt,name=key,proto3" json:"key,omitempty"` + ValueList []int32 `protobuf:"varint,6,rep,packed,name=value_list,json=valueList,proto3" json:"value_list,omitempty"` +} + +func (x *TaskVar) Reset() { + *x = TaskVar{} + if protoimpl.UnsafeEnabled { + mi := &file_TaskVar_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TaskVar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TaskVar) ProtoMessage() {} + +func (x *TaskVar) ProtoReflect() protoreflect.Message { + mi := &file_TaskVar_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TaskVar.ProtoReflect.Descriptor instead. +func (*TaskVar) Descriptor() ([]byte, []int) { + return file_TaskVar_proto_rawDescGZIP(), []int{0} +} + +func (x *TaskVar) GetKey() uint32 { + if x != nil { + return x.Key + } + return 0 +} + +func (x *TaskVar) GetValueList() []int32 { + if x != nil { + return x.ValueList + } + return nil +} + +var File_TaskVar_proto protoreflect.FileDescriptor + +var file_TaskVar_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3a, 0x0a, 0x07, 0x54, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, + 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TaskVar_proto_rawDescOnce sync.Once + file_TaskVar_proto_rawDescData = file_TaskVar_proto_rawDesc +) + +func file_TaskVar_proto_rawDescGZIP() []byte { + file_TaskVar_proto_rawDescOnce.Do(func() { + file_TaskVar_proto_rawDescData = protoimpl.X.CompressGZIP(file_TaskVar_proto_rawDescData) + }) + return file_TaskVar_proto_rawDescData +} + +var file_TaskVar_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TaskVar_proto_goTypes = []interface{}{ + (*TaskVar)(nil), // 0: TaskVar +} +var file_TaskVar_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TaskVar_proto_init() } +func file_TaskVar_proto_init() { + if File_TaskVar_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TaskVar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskVar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TaskVar_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TaskVar_proto_goTypes, + DependencyIndexes: file_TaskVar_proto_depIdxs, + MessageInfos: file_TaskVar_proto_msgTypes, + }.Build() + File_TaskVar_proto = out.File + file_TaskVar_proto_rawDesc = nil + file_TaskVar_proto_goTypes = nil + file_TaskVar_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TaskVar.proto b/gate-hk4e-api/proto/TaskVar.proto new file mode 100644 index 00000000..7ee26580 --- /dev/null +++ b/gate-hk4e-api/proto/TaskVar.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TaskVar { + uint32 key = 8; + repeated int32 value_list = 6; +} diff --git a/gate-hk4e-api/proto/TaskVarNotify.pb.go b/gate-hk4e-api/proto/TaskVarNotify.pb.go new file mode 100644 index 00000000..20ee9e8c --- /dev/null +++ b/gate-hk4e-api/proto/TaskVarNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TaskVarNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 160 +// EnetChannelId: 0 +// EnetIsReliable: true +type TaskVarNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TaskVarList []*TaskVar `protobuf:"bytes,7,rep,name=task_var_list,json=taskVarList,proto3" json:"task_var_list,omitempty"` +} + +func (x *TaskVarNotify) Reset() { + *x = TaskVarNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TaskVarNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TaskVarNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TaskVarNotify) ProtoMessage() {} + +func (x *TaskVarNotify) ProtoReflect() protoreflect.Message { + mi := &file_TaskVarNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TaskVarNotify.ProtoReflect.Descriptor instead. +func (*TaskVarNotify) Descriptor() ([]byte, []int) { + return file_TaskVarNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TaskVarNotify) GetTaskVarList() []*TaskVar { + if x != nil { + return x.TaskVarList + } + return nil +} + +var File_TaskVarNotify_proto protoreflect.FileDescriptor + +var file_TaskVarNotify_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x76, 0x61, + 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x56, 0x61, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TaskVarNotify_proto_rawDescOnce sync.Once + file_TaskVarNotify_proto_rawDescData = file_TaskVarNotify_proto_rawDesc +) + +func file_TaskVarNotify_proto_rawDescGZIP() []byte { + file_TaskVarNotify_proto_rawDescOnce.Do(func() { + file_TaskVarNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TaskVarNotify_proto_rawDescData) + }) + return file_TaskVarNotify_proto_rawDescData +} + +var file_TaskVarNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TaskVarNotify_proto_goTypes = []interface{}{ + (*TaskVarNotify)(nil), // 0: TaskVarNotify + (*TaskVar)(nil), // 1: TaskVar +} +var file_TaskVarNotify_proto_depIdxs = []int32{ + 1, // 0: TaskVarNotify.task_var_list:type_name -> TaskVar + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TaskVarNotify_proto_init() } +func file_TaskVarNotify_proto_init() { + if File_TaskVarNotify_proto != nil { + return + } + file_TaskVar_proto_init() + if !protoimpl.UnsafeEnabled { + file_TaskVarNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskVarNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TaskVarNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TaskVarNotify_proto_goTypes, + DependencyIndexes: file_TaskVarNotify_proto_depIdxs, + MessageInfos: file_TaskVarNotify_proto_msgTypes, + }.Build() + File_TaskVarNotify_proto = out.File + file_TaskVarNotify_proto_rawDesc = nil + file_TaskVarNotify_proto_goTypes = nil + file_TaskVarNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TaskVarNotify.proto b/gate-hk4e-api/proto/TaskVarNotify.proto new file mode 100644 index 00000000..b550f9cd --- /dev/null +++ b/gate-hk4e-api/proto/TaskVarNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TaskVar.proto"; + +option go_package = "./;proto"; + +// CmdId: 160 +// EnetChannelId: 0 +// EnetIsReliable: true +message TaskVarNotify { + repeated TaskVar task_var_list = 7; +} diff --git a/gate-hk4e-api/proto/TeamEnterSceneInfo.pb.go b/gate-hk4e-api/proto/TeamEnterSceneInfo.pb.go new file mode 100644 index 00000000..27c6c97a --- /dev/null +++ b/gate-hk4e-api/proto/TeamEnterSceneInfo.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TeamEnterSceneInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TeamEnterSceneInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AbilityControlBlock *AbilityControlBlock `protobuf:"bytes,7,opt,name=ability_control_block,json=abilityControlBlock,proto3" json:"ability_control_block,omitempty"` + TeamAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,10,opt,name=team_ability_info,json=teamAbilityInfo,proto3" json:"team_ability_info,omitempty"` + TeamEntityId uint32 `protobuf:"varint,15,opt,name=team_entity_id,json=teamEntityId,proto3" json:"team_entity_id,omitempty"` +} + +func (x *TeamEnterSceneInfo) Reset() { + *x = TeamEnterSceneInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TeamEnterSceneInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TeamEnterSceneInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TeamEnterSceneInfo) ProtoMessage() {} + +func (x *TeamEnterSceneInfo) ProtoReflect() protoreflect.Message { + mi := &file_TeamEnterSceneInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TeamEnterSceneInfo.ProtoReflect.Descriptor instead. +func (*TeamEnterSceneInfo) Descriptor() ([]byte, []int) { + return file_TeamEnterSceneInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TeamEnterSceneInfo) GetAbilityControlBlock() *AbilityControlBlock { + if x != nil { + return x.AbilityControlBlock + } + return nil +} + +func (x *TeamEnterSceneInfo) GetTeamAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.TeamAbilityInfo + } + return nil +} + +func (x *TeamEnterSceneInfo) GetTeamEntityId() uint32 { + if x != nil { + return x.TeamEntityId + } + return 0 +} + +var File_TeamEnterSceneInfo_proto protoreflect.FileDescriptor + +var file_TeamEnterSceneInfo_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x63, 0x65, 0x6e, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x41, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, + 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x53, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x48, 0x0a, 0x15, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x13, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x41, 0x0a, 0x11, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x65, 0x61, 0x6d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, + 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TeamEnterSceneInfo_proto_rawDescOnce sync.Once + file_TeamEnterSceneInfo_proto_rawDescData = file_TeamEnterSceneInfo_proto_rawDesc +) + +func file_TeamEnterSceneInfo_proto_rawDescGZIP() []byte { + file_TeamEnterSceneInfo_proto_rawDescOnce.Do(func() { + file_TeamEnterSceneInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TeamEnterSceneInfo_proto_rawDescData) + }) + return file_TeamEnterSceneInfo_proto_rawDescData +} + +var file_TeamEnterSceneInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TeamEnterSceneInfo_proto_goTypes = []interface{}{ + (*TeamEnterSceneInfo)(nil), // 0: TeamEnterSceneInfo + (*AbilityControlBlock)(nil), // 1: AbilityControlBlock + (*AbilitySyncStateInfo)(nil), // 2: AbilitySyncStateInfo +} +var file_TeamEnterSceneInfo_proto_depIdxs = []int32{ + 1, // 0: TeamEnterSceneInfo.ability_control_block:type_name -> AbilityControlBlock + 2, // 1: TeamEnterSceneInfo.team_ability_info:type_name -> AbilitySyncStateInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TeamEnterSceneInfo_proto_init() } +func file_TeamEnterSceneInfo_proto_init() { + if File_TeamEnterSceneInfo_proto != nil { + return + } + file_AbilityControlBlock_proto_init() + file_AbilitySyncStateInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TeamEnterSceneInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeamEnterSceneInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TeamEnterSceneInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TeamEnterSceneInfo_proto_goTypes, + DependencyIndexes: file_TeamEnterSceneInfo_proto_depIdxs, + MessageInfos: file_TeamEnterSceneInfo_proto_msgTypes, + }.Build() + File_TeamEnterSceneInfo_proto = out.File + file_TeamEnterSceneInfo_proto_rawDesc = nil + file_TeamEnterSceneInfo_proto_goTypes = nil + file_TeamEnterSceneInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TeamEnterSceneInfo.proto b/gate-hk4e-api/proto/TeamEnterSceneInfo.proto new file mode 100644 index 00000000..568f00c0 --- /dev/null +++ b/gate-hk4e-api/proto/TeamEnterSceneInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilityControlBlock.proto"; +import "AbilitySyncStateInfo.proto"; + +option go_package = "./;proto"; + +message TeamEnterSceneInfo { + AbilityControlBlock ability_control_block = 7; + AbilitySyncStateInfo team_ability_info = 10; + uint32 team_entity_id = 15; +} diff --git a/gate-hk4e-api/proto/TeamEntityInfo.pb.go b/gate-hk4e-api/proto/TeamEntityInfo.pb.go new file mode 100644 index 00000000..5bc95c9d --- /dev/null +++ b/gate-hk4e-api/proto/TeamEntityInfo.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TeamEntityInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TeamEntityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthorityPeerId uint32 `protobuf:"varint,10,opt,name=authority_peer_id,json=authorityPeerId,proto3" json:"authority_peer_id,omitempty"` + TeamAbilityInfo *AbilitySyncStateInfo `protobuf:"bytes,9,opt,name=team_ability_info,json=teamAbilityInfo,proto3" json:"team_ability_info,omitempty"` + TeamEntityId uint32 `protobuf:"varint,8,opt,name=team_entity_id,json=teamEntityId,proto3" json:"team_entity_id,omitempty"` +} + +func (x *TeamEntityInfo) Reset() { + *x = TeamEntityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TeamEntityInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TeamEntityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TeamEntityInfo) ProtoMessage() {} + +func (x *TeamEntityInfo) ProtoReflect() protoreflect.Message { + mi := &file_TeamEntityInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TeamEntityInfo.ProtoReflect.Descriptor instead. +func (*TeamEntityInfo) Descriptor() ([]byte, []int) { + return file_TeamEntityInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TeamEntityInfo) GetAuthorityPeerId() uint32 { + if x != nil { + return x.AuthorityPeerId + } + return 0 +} + +func (x *TeamEntityInfo) GetTeamAbilityInfo() *AbilitySyncStateInfo { + if x != nil { + return x.TeamAbilityInfo + } + return nil +} + +func (x *TeamEntityInfo) GetTeamEntityId() uint32 { + if x != nil { + return x.TeamEntityId + } + return 0 +} + +var File_TeamEntityInfo_proto protoreflect.FileDescriptor + +var file_TeamEntityInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, + 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x0e, 0x54, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x65, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x41, 0x0a, 0x11, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x41, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x65, 0x61, 0x6d, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x65, + 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TeamEntityInfo_proto_rawDescOnce sync.Once + file_TeamEntityInfo_proto_rawDescData = file_TeamEntityInfo_proto_rawDesc +) + +func file_TeamEntityInfo_proto_rawDescGZIP() []byte { + file_TeamEntityInfo_proto_rawDescOnce.Do(func() { + file_TeamEntityInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TeamEntityInfo_proto_rawDescData) + }) + return file_TeamEntityInfo_proto_rawDescData +} + +var file_TeamEntityInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TeamEntityInfo_proto_goTypes = []interface{}{ + (*TeamEntityInfo)(nil), // 0: TeamEntityInfo + (*AbilitySyncStateInfo)(nil), // 1: AbilitySyncStateInfo +} +var file_TeamEntityInfo_proto_depIdxs = []int32{ + 1, // 0: TeamEntityInfo.team_ability_info:type_name -> AbilitySyncStateInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TeamEntityInfo_proto_init() } +func file_TeamEntityInfo_proto_init() { + if File_TeamEntityInfo_proto != nil { + return + } + file_AbilitySyncStateInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TeamEntityInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeamEntityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TeamEntityInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TeamEntityInfo_proto_goTypes, + DependencyIndexes: file_TeamEntityInfo_proto_depIdxs, + MessageInfos: file_TeamEntityInfo_proto_msgTypes, + }.Build() + File_TeamEntityInfo_proto = out.File + file_TeamEntityInfo_proto_rawDesc = nil + file_TeamEntityInfo_proto_goTypes = nil + file_TeamEntityInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TeamEntityInfo.proto b/gate-hk4e-api/proto/TeamEntityInfo.proto new file mode 100644 index 00000000..a8cd4d42 --- /dev/null +++ b/gate-hk4e-api/proto/TeamEntityInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AbilitySyncStateInfo.proto"; + +option go_package = "./;proto"; + +message TeamEntityInfo { + uint32 authority_peer_id = 10; + AbilitySyncStateInfo team_ability_info = 9; + uint32 team_entity_id = 8; +} diff --git a/gate-hk4e-api/proto/TeamResonanceChangeNotify.pb.go b/gate-hk4e-api/proto/TeamResonanceChangeNotify.pb.go new file mode 100644 index 00000000..c195f390 --- /dev/null +++ b/gate-hk4e-api/proto/TeamResonanceChangeNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TeamResonanceChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1082 +// EnetChannelId: 0 +// EnetIsReliable: true +type TeamResonanceChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*AvatarTeamResonanceInfo `protobuf:"bytes,1,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *TeamResonanceChangeNotify) Reset() { + *x = TeamResonanceChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TeamResonanceChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TeamResonanceChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TeamResonanceChangeNotify) ProtoMessage() {} + +func (x *TeamResonanceChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TeamResonanceChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TeamResonanceChangeNotify.ProtoReflect.Descriptor instead. +func (*TeamResonanceChangeNotify) Descriptor() ([]byte, []int) { + return file_TeamResonanceChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TeamResonanceChangeNotify) GetInfoList() []*AvatarTeamResonanceInfo { + if x != nil { + return x.InfoList + } + return nil +} + +var File_TeamResonanceChangeNotify_proto protoreflect.FileDescriptor + +var file_TeamResonanceChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, + 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x52, 0x0a, 0x19, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x6f, 0x6e, 0x61, 0x6e, 0x63, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x35, 0x0a, + 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, + 0x6f, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TeamResonanceChangeNotify_proto_rawDescOnce sync.Once + file_TeamResonanceChangeNotify_proto_rawDescData = file_TeamResonanceChangeNotify_proto_rawDesc +) + +func file_TeamResonanceChangeNotify_proto_rawDescGZIP() []byte { + file_TeamResonanceChangeNotify_proto_rawDescOnce.Do(func() { + file_TeamResonanceChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TeamResonanceChangeNotify_proto_rawDescData) + }) + return file_TeamResonanceChangeNotify_proto_rawDescData +} + +var file_TeamResonanceChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TeamResonanceChangeNotify_proto_goTypes = []interface{}{ + (*TeamResonanceChangeNotify)(nil), // 0: TeamResonanceChangeNotify + (*AvatarTeamResonanceInfo)(nil), // 1: AvatarTeamResonanceInfo +} +var file_TeamResonanceChangeNotify_proto_depIdxs = []int32{ + 1, // 0: TeamResonanceChangeNotify.info_list:type_name -> AvatarTeamResonanceInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TeamResonanceChangeNotify_proto_init() } +func file_TeamResonanceChangeNotify_proto_init() { + if File_TeamResonanceChangeNotify_proto != nil { + return + } + file_AvatarTeamResonanceInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TeamResonanceChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TeamResonanceChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TeamResonanceChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TeamResonanceChangeNotify_proto_goTypes, + DependencyIndexes: file_TeamResonanceChangeNotify_proto_depIdxs, + MessageInfos: file_TeamResonanceChangeNotify_proto_msgTypes, + }.Build() + File_TeamResonanceChangeNotify_proto = out.File + file_TeamResonanceChangeNotify_proto_rawDesc = nil + file_TeamResonanceChangeNotify_proto_goTypes = nil + file_TeamResonanceChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TeamResonanceChangeNotify.proto b/gate-hk4e-api/proto/TeamResonanceChangeNotify.proto new file mode 100644 index 00000000..3d7a67e7 --- /dev/null +++ b/gate-hk4e-api/proto/TeamResonanceChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarTeamResonanceInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 1082 +// EnetChannelId: 0 +// EnetIsReliable: true +message TeamResonanceChangeNotify { + repeated AvatarTeamResonanceInfo info_list = 1; +} diff --git a/gate-hk4e-api/proto/TowerAllDataReq.pb.go b/gate-hk4e-api/proto/TowerAllDataReq.pb.go new file mode 100644 index 00000000..88b6b65d --- /dev/null +++ b/gate-hk4e-api/proto/TowerAllDataReq.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerAllDataReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerAllDataReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsInteract bool `protobuf:"varint,2,opt,name=is_interact,json=isInteract,proto3" json:"is_interact,omitempty"` +} + +func (x *TowerAllDataReq) Reset() { + *x = TowerAllDataReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerAllDataReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerAllDataReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerAllDataReq) ProtoMessage() {} + +func (x *TowerAllDataReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerAllDataReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerAllDataReq.ProtoReflect.Descriptor instead. +func (*TowerAllDataReq) Descriptor() ([]byte, []int) { + return file_TowerAllDataReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerAllDataReq) GetIsInteract() bool { + if x != nil { + return x.IsInteract + } + return false +} + +var File_TowerAllDataReq_proto protoreflect.FileDescriptor + +var file_TowerAllDataReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x0f, 0x54, 0x6f, 0x77, 0x65, 0x72, + 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, + 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0a, 0x69, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerAllDataReq_proto_rawDescOnce sync.Once + file_TowerAllDataReq_proto_rawDescData = file_TowerAllDataReq_proto_rawDesc +) + +func file_TowerAllDataReq_proto_rawDescGZIP() []byte { + file_TowerAllDataReq_proto_rawDescOnce.Do(func() { + file_TowerAllDataReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerAllDataReq_proto_rawDescData) + }) + return file_TowerAllDataReq_proto_rawDescData +} + +var file_TowerAllDataReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerAllDataReq_proto_goTypes = []interface{}{ + (*TowerAllDataReq)(nil), // 0: TowerAllDataReq +} +var file_TowerAllDataReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerAllDataReq_proto_init() } +func file_TowerAllDataReq_proto_init() { + if File_TowerAllDataReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerAllDataReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerAllDataReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerAllDataReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerAllDataReq_proto_goTypes, + DependencyIndexes: file_TowerAllDataReq_proto_depIdxs, + MessageInfos: file_TowerAllDataReq_proto_msgTypes, + }.Build() + File_TowerAllDataReq_proto = out.File + file_TowerAllDataReq_proto_rawDesc = nil + file_TowerAllDataReq_proto_goTypes = nil + file_TowerAllDataReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerAllDataReq.proto b/gate-hk4e-api/proto/TowerAllDataReq.proto new file mode 100644 index 00000000..a534ffdc --- /dev/null +++ b/gate-hk4e-api/proto/TowerAllDataReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2490 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerAllDataReq { + bool is_interact = 2; +} diff --git a/gate-hk4e-api/proto/TowerAllDataRsp.pb.go b/gate-hk4e-api/proto/TowerAllDataRsp.pb.go new file mode 100644 index 00000000..cc2bbfa8 --- /dev/null +++ b/gate-hk4e-api/proto/TowerAllDataRsp.pb.go @@ -0,0 +1,379 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerAllDataRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2473 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerAllDataRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerScheduleId uint32 `protobuf:"varint,10,opt,name=tower_schedule_id,json=towerScheduleId,proto3" json:"tower_schedule_id,omitempty"` + DailyLevelIndex uint32 `protobuf:"varint,9,opt,name=daily_level_index,json=dailyLevelIndex,proto3" json:"daily_level_index,omitempty"` + SkipFloorGrantedRewardItemMap map[uint32]uint32 `protobuf:"bytes,12,rep,name=skip_floor_granted_reward_item_map,json=skipFloorGrantedRewardItemMap,proto3" json:"skip_floor_granted_reward_item_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + IsFirstInteract bool `protobuf:"varint,3,opt,name=is_first_interact,json=isFirstInteract,proto3" json:"is_first_interact,omitempty"` + IsFinishedEntranceFloor bool `protobuf:"varint,1,opt,name=is_finished_entrance_floor,json=isFinishedEntranceFloor,proto3" json:"is_finished_entrance_floor,omitempty"` + TowerFloorRecordList []*TowerFloorRecord `protobuf:"bytes,5,rep,name=tower_floor_record_list,json=towerFloorRecordList,proto3" json:"tower_floor_record_list,omitempty"` + DailyFloorId uint32 `protobuf:"varint,11,opt,name=daily_floor_id,json=dailyFloorId,proto3" json:"daily_floor_id,omitempty"` + CommemorativeRewardId uint32 `protobuf:"varint,13,opt,name=commemorative_reward_id,json=commemorativeRewardId,proto3" json:"commemorative_reward_id,omitempty"` + LastScheduleMonthlyBrief *TowerMonthlyBrief `protobuf:"bytes,1222,opt,name=last_schedule_monthly_brief,json=lastScheduleMonthlyBrief,proto3" json:"last_schedule_monthly_brief,omitempty"` + NextScheduleChangeTime uint32 `protobuf:"varint,6,opt,name=next_schedule_change_time,json=nextScheduleChangeTime,proto3" json:"next_schedule_change_time,omitempty"` + ValidTowerRecordNum uint32 `protobuf:"varint,7,opt,name=valid_tower_record_num,json=validTowerRecordNum,proto3" json:"valid_tower_record_num,omitempty"` + SkipToFloorIndex uint32 `protobuf:"varint,2,opt,name=skip_to_floor_index,json=skipToFloorIndex,proto3" json:"skip_to_floor_index,omitempty"` + FloorOpenTimeMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=floor_open_time_map,json=floorOpenTimeMap,proto3" json:"floor_open_time_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CurLevelRecord *TowerCurLevelRecord `protobuf:"bytes,15,opt,name=cur_level_record,json=curLevelRecord,proto3" json:"cur_level_record,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleStartTime uint32 `protobuf:"varint,914,opt,name=schedule_start_time,json=scheduleStartTime,proto3" json:"schedule_start_time,omitempty"` + MonthlyBrief *TowerMonthlyBrief `protobuf:"bytes,14,opt,name=monthly_brief,json=monthlyBrief,proto3" json:"monthly_brief,omitempty"` +} + +func (x *TowerAllDataRsp) Reset() { + *x = TowerAllDataRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerAllDataRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerAllDataRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerAllDataRsp) ProtoMessage() {} + +func (x *TowerAllDataRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerAllDataRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerAllDataRsp.ProtoReflect.Descriptor instead. +func (*TowerAllDataRsp) Descriptor() ([]byte, []int) { + return file_TowerAllDataRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerAllDataRsp) GetTowerScheduleId() uint32 { + if x != nil { + return x.TowerScheduleId + } + return 0 +} + +func (x *TowerAllDataRsp) GetDailyLevelIndex() uint32 { + if x != nil { + return x.DailyLevelIndex + } + return 0 +} + +func (x *TowerAllDataRsp) GetSkipFloorGrantedRewardItemMap() map[uint32]uint32 { + if x != nil { + return x.SkipFloorGrantedRewardItemMap + } + return nil +} + +func (x *TowerAllDataRsp) GetIsFirstInteract() bool { + if x != nil { + return x.IsFirstInteract + } + return false +} + +func (x *TowerAllDataRsp) GetIsFinishedEntranceFloor() bool { + if x != nil { + return x.IsFinishedEntranceFloor + } + return false +} + +func (x *TowerAllDataRsp) GetTowerFloorRecordList() []*TowerFloorRecord { + if x != nil { + return x.TowerFloorRecordList + } + return nil +} + +func (x *TowerAllDataRsp) GetDailyFloorId() uint32 { + if x != nil { + return x.DailyFloorId + } + return 0 +} + +func (x *TowerAllDataRsp) GetCommemorativeRewardId() uint32 { + if x != nil { + return x.CommemorativeRewardId + } + return 0 +} + +func (x *TowerAllDataRsp) GetLastScheduleMonthlyBrief() *TowerMonthlyBrief { + if x != nil { + return x.LastScheduleMonthlyBrief + } + return nil +} + +func (x *TowerAllDataRsp) GetNextScheduleChangeTime() uint32 { + if x != nil { + return x.NextScheduleChangeTime + } + return 0 +} + +func (x *TowerAllDataRsp) GetValidTowerRecordNum() uint32 { + if x != nil { + return x.ValidTowerRecordNum + } + return 0 +} + +func (x *TowerAllDataRsp) GetSkipToFloorIndex() uint32 { + if x != nil { + return x.SkipToFloorIndex + } + return 0 +} + +func (x *TowerAllDataRsp) GetFloorOpenTimeMap() map[uint32]uint32 { + if x != nil { + return x.FloorOpenTimeMap + } + return nil +} + +func (x *TowerAllDataRsp) GetCurLevelRecord() *TowerCurLevelRecord { + if x != nil { + return x.CurLevelRecord + } + return nil +} + +func (x *TowerAllDataRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TowerAllDataRsp) GetScheduleStartTime() uint32 { + if x != nil { + return x.ScheduleStartTime + } + return 0 +} + +func (x *TowerAllDataRsp) GetMonthlyBrief() *TowerMonthlyBrief { + if x != nil { + return x.MonthlyBrief + } + return nil +} + +var File_TowerAllDataRsp_proto protoreflect.FileDescriptor + +var file_TowerAllDataRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, + 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x09, 0x0a, 0x0f, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x77, 0x65, 0x72, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, + 0x64, 0x61, 0x69, 0x6c, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x7e, 0x0a, 0x22, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x67, 0x72, + 0x61, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x53, 0x6b, + 0x69, 0x70, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x1d, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x12, + 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x46, 0x69, + 0x72, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x1a, 0x69, + 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x61, + 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x17, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x61, + 0x6e, 0x63, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x17, 0x74, 0x6f, 0x77, 0x65, + 0x72, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x14, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x61, 0x69, 0x6c, + 0x79, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x6d, + 0x65, 0x6d, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6d, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x12, 0x52, 0x0a, 0x1b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, + 0xc6, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, + 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x12, 0x39, 0x0a, 0x19, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x33, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x13, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x74, 0x6f, 0x5f, + 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x54, 0x6f, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x55, 0x0a, 0x13, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x6f, 0x70, 0x65, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x73, 0x70, 0x2e, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x4f, + 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x3e, 0x0a, 0x10, 0x63, 0x75, + 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x92, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, + 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x54, + 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, + 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x1a, 0x50, + 0x0a, 0x22, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x43, 0x0a, 0x15, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerAllDataRsp_proto_rawDescOnce sync.Once + file_TowerAllDataRsp_proto_rawDescData = file_TowerAllDataRsp_proto_rawDesc +) + +func file_TowerAllDataRsp_proto_rawDescGZIP() []byte { + file_TowerAllDataRsp_proto_rawDescOnce.Do(func() { + file_TowerAllDataRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerAllDataRsp_proto_rawDescData) + }) + return file_TowerAllDataRsp_proto_rawDescData +} + +var file_TowerAllDataRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_TowerAllDataRsp_proto_goTypes = []interface{}{ + (*TowerAllDataRsp)(nil), // 0: TowerAllDataRsp + nil, // 1: TowerAllDataRsp.SkipFloorGrantedRewardItemMapEntry + nil, // 2: TowerAllDataRsp.FloorOpenTimeMapEntry + (*TowerFloorRecord)(nil), // 3: TowerFloorRecord + (*TowerMonthlyBrief)(nil), // 4: TowerMonthlyBrief + (*TowerCurLevelRecord)(nil), // 5: TowerCurLevelRecord +} +var file_TowerAllDataRsp_proto_depIdxs = []int32{ + 1, // 0: TowerAllDataRsp.skip_floor_granted_reward_item_map:type_name -> TowerAllDataRsp.SkipFloorGrantedRewardItemMapEntry + 3, // 1: TowerAllDataRsp.tower_floor_record_list:type_name -> TowerFloorRecord + 4, // 2: TowerAllDataRsp.last_schedule_monthly_brief:type_name -> TowerMonthlyBrief + 2, // 3: TowerAllDataRsp.floor_open_time_map:type_name -> TowerAllDataRsp.FloorOpenTimeMapEntry + 5, // 4: TowerAllDataRsp.cur_level_record:type_name -> TowerCurLevelRecord + 4, // 5: TowerAllDataRsp.monthly_brief:type_name -> TowerMonthlyBrief + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_TowerAllDataRsp_proto_init() } +func file_TowerAllDataRsp_proto_init() { + if File_TowerAllDataRsp_proto != nil { + return + } + file_TowerCurLevelRecord_proto_init() + file_TowerFloorRecord_proto_init() + file_TowerMonthlyBrief_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerAllDataRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerAllDataRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerAllDataRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerAllDataRsp_proto_goTypes, + DependencyIndexes: file_TowerAllDataRsp_proto_depIdxs, + MessageInfos: file_TowerAllDataRsp_proto_msgTypes, + }.Build() + File_TowerAllDataRsp_proto = out.File + file_TowerAllDataRsp_proto_rawDesc = nil + file_TowerAllDataRsp_proto_goTypes = nil + file_TowerAllDataRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerAllDataRsp.proto b/gate-hk4e-api/proto/TowerAllDataRsp.proto new file mode 100644 index 00000000..f8fde984 --- /dev/null +++ b/gate-hk4e-api/proto/TowerAllDataRsp.proto @@ -0,0 +1,46 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerCurLevelRecord.proto"; +import "TowerFloorRecord.proto"; +import "TowerMonthlyBrief.proto"; + +option go_package = "./;proto"; + +// CmdId: 2473 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerAllDataRsp { + uint32 tower_schedule_id = 10; + uint32 daily_level_index = 9; + map skip_floor_granted_reward_item_map = 12; + bool is_first_interact = 3; + bool is_finished_entrance_floor = 1; + repeated TowerFloorRecord tower_floor_record_list = 5; + uint32 daily_floor_id = 11; + uint32 commemorative_reward_id = 13; + TowerMonthlyBrief last_schedule_monthly_brief = 1222; + uint32 next_schedule_change_time = 6; + uint32 valid_tower_record_num = 7; + uint32 skip_to_floor_index = 2; + map floor_open_time_map = 4; + TowerCurLevelRecord cur_level_record = 15; + int32 retcode = 8; + uint32 schedule_start_time = 914; + TowerMonthlyBrief monthly_brief = 14; +} diff --git a/gate-hk4e-api/proto/TowerBriefDataNotify.pb.go b/gate-hk4e-api/proto/TowerBriefDataNotify.pb.go new file mode 100644 index 00000000..42b3c49e --- /dev/null +++ b/gate-hk4e-api/proto/TowerBriefDataNotify.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerBriefDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2472 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerBriefDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalStarNum uint32 `protobuf:"varint,11,opt,name=total_star_num,json=totalStarNum,proto3" json:"total_star_num,omitempty"` + LastFloorIndex uint32 `protobuf:"varint,8,opt,name=last_floor_index,json=lastFloorIndex,proto3" json:"last_floor_index,omitempty"` + ScheduleStartTime uint32 `protobuf:"varint,15,opt,name=schedule_start_time,json=scheduleStartTime,proto3" json:"schedule_start_time,omitempty"` + NextScheduleChangeTime uint32 `protobuf:"varint,6,opt,name=next_schedule_change_time,json=nextScheduleChangeTime,proto3" json:"next_schedule_change_time,omitempty"` + IsFinishedEntranceFloor bool `protobuf:"varint,14,opt,name=is_finished_entrance_floor,json=isFinishedEntranceFloor,proto3" json:"is_finished_entrance_floor,omitempty"` + LastLevelIndex uint32 `protobuf:"varint,4,opt,name=last_level_index,json=lastLevelIndex,proto3" json:"last_level_index,omitempty"` + TowerScheduleId uint32 `protobuf:"varint,5,opt,name=tower_schedule_id,json=towerScheduleId,proto3" json:"tower_schedule_id,omitempty"` +} + +func (x *TowerBriefDataNotify) Reset() { + *x = TowerBriefDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerBriefDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerBriefDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerBriefDataNotify) ProtoMessage() {} + +func (x *TowerBriefDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerBriefDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerBriefDataNotify.ProtoReflect.Descriptor instead. +func (*TowerBriefDataNotify) Descriptor() ([]byte, []int) { + return file_TowerBriefDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerBriefDataNotify) GetTotalStarNum() uint32 { + if x != nil { + return x.TotalStarNum + } + return 0 +} + +func (x *TowerBriefDataNotify) GetLastFloorIndex() uint32 { + if x != nil { + return x.LastFloorIndex + } + return 0 +} + +func (x *TowerBriefDataNotify) GetScheduleStartTime() uint32 { + if x != nil { + return x.ScheduleStartTime + } + return 0 +} + +func (x *TowerBriefDataNotify) GetNextScheduleChangeTime() uint32 { + if x != nil { + return x.NextScheduleChangeTime + } + return 0 +} + +func (x *TowerBriefDataNotify) GetIsFinishedEntranceFloor() bool { + if x != nil { + return x.IsFinishedEntranceFloor + } + return false +} + +func (x *TowerBriefDataNotify) GetLastLevelIndex() uint32 { + if x != nil { + return x.LastLevelIndex + } + return 0 +} + +func (x *TowerBriefDataNotify) GetTowerScheduleId() uint32 { + if x != nil { + return x.TowerScheduleId + } + return 0 +} + +var File_TowerBriefDataNotify_proto protoreflect.FileDescriptor + +var file_TowerBriefDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x72, 0x69, 0x65, 0x66, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x02, 0x0a, + 0x14, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x72, 0x69, 0x65, 0x66, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x10, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x6c, 0x6f, 0x6f, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, + 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x45, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x28, 0x0a, + 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x77, 0x65, 0x72, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerBriefDataNotify_proto_rawDescOnce sync.Once + file_TowerBriefDataNotify_proto_rawDescData = file_TowerBriefDataNotify_proto_rawDesc +) + +func file_TowerBriefDataNotify_proto_rawDescGZIP() []byte { + file_TowerBriefDataNotify_proto_rawDescOnce.Do(func() { + file_TowerBriefDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerBriefDataNotify_proto_rawDescData) + }) + return file_TowerBriefDataNotify_proto_rawDescData +} + +var file_TowerBriefDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerBriefDataNotify_proto_goTypes = []interface{}{ + (*TowerBriefDataNotify)(nil), // 0: TowerBriefDataNotify +} +var file_TowerBriefDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerBriefDataNotify_proto_init() } +func file_TowerBriefDataNotify_proto_init() { + if File_TowerBriefDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerBriefDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerBriefDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerBriefDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerBriefDataNotify_proto_goTypes, + DependencyIndexes: file_TowerBriefDataNotify_proto_depIdxs, + MessageInfos: file_TowerBriefDataNotify_proto_msgTypes, + }.Build() + File_TowerBriefDataNotify_proto = out.File + file_TowerBriefDataNotify_proto_rawDesc = nil + file_TowerBriefDataNotify_proto_goTypes = nil + file_TowerBriefDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerBriefDataNotify.proto b/gate-hk4e-api/proto/TowerBriefDataNotify.proto new file mode 100644 index 00000000..2ca82152 --- /dev/null +++ b/gate-hk4e-api/proto/TowerBriefDataNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2472 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerBriefDataNotify { + uint32 total_star_num = 11; + uint32 last_floor_index = 8; + uint32 schedule_start_time = 15; + uint32 next_schedule_change_time = 6; + bool is_finished_entrance_floor = 14; + uint32 last_level_index = 4; + uint32 tower_schedule_id = 5; +} diff --git a/gate-hk4e-api/proto/TowerBuffSelectReq.pb.go b/gate-hk4e-api/proto/TowerBuffSelectReq.pb.go new file mode 100644 index 00000000..cf7df86d --- /dev/null +++ b/gate-hk4e-api/proto/TowerBuffSelectReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerBuffSelectReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerBuffSelectReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerBuffId uint32 `protobuf:"varint,5,opt,name=tower_buff_id,json=towerBuffId,proto3" json:"tower_buff_id,omitempty"` +} + +func (x *TowerBuffSelectReq) Reset() { + *x = TowerBuffSelectReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerBuffSelectReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerBuffSelectReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerBuffSelectReq) ProtoMessage() {} + +func (x *TowerBuffSelectReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerBuffSelectReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerBuffSelectReq.ProtoReflect.Descriptor instead. +func (*TowerBuffSelectReq) Descriptor() ([]byte, []int) { + return file_TowerBuffSelectReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerBuffSelectReq) GetTowerBuffId() uint32 { + if x != nil { + return x.TowerBuffId + } + return 0 +} + +var File_TowerBuffSelectReq_proto protoreflect.FileDescriptor + +var file_TowerBuffSelectReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x12, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, + 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x75, + 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerBuffSelectReq_proto_rawDescOnce sync.Once + file_TowerBuffSelectReq_proto_rawDescData = file_TowerBuffSelectReq_proto_rawDesc +) + +func file_TowerBuffSelectReq_proto_rawDescGZIP() []byte { + file_TowerBuffSelectReq_proto_rawDescOnce.Do(func() { + file_TowerBuffSelectReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerBuffSelectReq_proto_rawDescData) + }) + return file_TowerBuffSelectReq_proto_rawDescData +} + +var file_TowerBuffSelectReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerBuffSelectReq_proto_goTypes = []interface{}{ + (*TowerBuffSelectReq)(nil), // 0: TowerBuffSelectReq +} +var file_TowerBuffSelectReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerBuffSelectReq_proto_init() } +func file_TowerBuffSelectReq_proto_init() { + if File_TowerBuffSelectReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerBuffSelectReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerBuffSelectReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerBuffSelectReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerBuffSelectReq_proto_goTypes, + DependencyIndexes: file_TowerBuffSelectReq_proto_depIdxs, + MessageInfos: file_TowerBuffSelectReq_proto_msgTypes, + }.Build() + File_TowerBuffSelectReq_proto = out.File + file_TowerBuffSelectReq_proto_rawDesc = nil + file_TowerBuffSelectReq_proto_goTypes = nil + file_TowerBuffSelectReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerBuffSelectReq.proto b/gate-hk4e-api/proto/TowerBuffSelectReq.proto new file mode 100644 index 00000000..17e0e18e --- /dev/null +++ b/gate-hk4e-api/proto/TowerBuffSelectReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2448 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerBuffSelectReq { + uint32 tower_buff_id = 5; +} diff --git a/gate-hk4e-api/proto/TowerBuffSelectRsp.pb.go b/gate-hk4e-api/proto/TowerBuffSelectRsp.pb.go new file mode 100644 index 00000000..300f2b0a --- /dev/null +++ b/gate-hk4e-api/proto/TowerBuffSelectRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerBuffSelectRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2497 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerBuffSelectRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + TowerBuffId uint32 `protobuf:"varint,13,opt,name=tower_buff_id,json=towerBuffId,proto3" json:"tower_buff_id,omitempty"` +} + +func (x *TowerBuffSelectRsp) Reset() { + *x = TowerBuffSelectRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerBuffSelectRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerBuffSelectRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerBuffSelectRsp) ProtoMessage() {} + +func (x *TowerBuffSelectRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerBuffSelectRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerBuffSelectRsp.ProtoReflect.Descriptor instead. +func (*TowerBuffSelectRsp) Descriptor() ([]byte, []int) { + return file_TowerBuffSelectRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerBuffSelectRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TowerBuffSelectRsp) GetTowerBuffId() uint32 { + if x != nil { + return x.TowerBuffId + } + return 0 +} + +var File_TowerBuffSelectRsp_proto protoreflect.FileDescriptor + +var file_TowerBuffSelectRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x12, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_TowerBuffSelectRsp_proto_rawDescOnce sync.Once + file_TowerBuffSelectRsp_proto_rawDescData = file_TowerBuffSelectRsp_proto_rawDesc +) + +func file_TowerBuffSelectRsp_proto_rawDescGZIP() []byte { + file_TowerBuffSelectRsp_proto_rawDescOnce.Do(func() { + file_TowerBuffSelectRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerBuffSelectRsp_proto_rawDescData) + }) + return file_TowerBuffSelectRsp_proto_rawDescData +} + +var file_TowerBuffSelectRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerBuffSelectRsp_proto_goTypes = []interface{}{ + (*TowerBuffSelectRsp)(nil), // 0: TowerBuffSelectRsp +} +var file_TowerBuffSelectRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerBuffSelectRsp_proto_init() } +func file_TowerBuffSelectRsp_proto_init() { + if File_TowerBuffSelectRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerBuffSelectRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerBuffSelectRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerBuffSelectRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerBuffSelectRsp_proto_goTypes, + DependencyIndexes: file_TowerBuffSelectRsp_proto_depIdxs, + MessageInfos: file_TowerBuffSelectRsp_proto_msgTypes, + }.Build() + File_TowerBuffSelectRsp_proto = out.File + file_TowerBuffSelectRsp_proto_rawDesc = nil + file_TowerBuffSelectRsp_proto_goTypes = nil + file_TowerBuffSelectRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerBuffSelectRsp.proto b/gate-hk4e-api/proto/TowerBuffSelectRsp.proto new file mode 100644 index 00000000..83bf01c6 --- /dev/null +++ b/gate-hk4e-api/proto/TowerBuffSelectRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2497 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerBuffSelectRsp { + int32 retcode = 11; + uint32 tower_buff_id = 13; +} diff --git a/gate-hk4e-api/proto/TowerCurLevelRecord.pb.go b/gate-hk4e-api/proto/TowerCurLevelRecord.pb.go new file mode 100644 index 00000000..43df4cdf --- /dev/null +++ b/gate-hk4e-api/proto/TowerCurLevelRecord.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerCurLevelRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerCurLevelRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerTeamList []*TowerTeam `protobuf:"bytes,8,rep,name=tower_team_list,json=towerTeamList,proto3" json:"tower_team_list,omitempty"` + IsEmpty bool `protobuf:"varint,6,opt,name=is_empty,json=isEmpty,proto3" json:"is_empty,omitempty"` + BuffIdList []uint32 `protobuf:"varint,4,rep,packed,name=buff_id_list,json=buffIdList,proto3" json:"buff_id_list,omitempty"` + Unk2700_CBPNPEBMPOH bool `protobuf:"varint,2,opt,name=Unk2700_CBPNPEBMPOH,json=Unk2700CBPNPEBMPOH,proto3" json:"Unk2700_CBPNPEBMPOH,omitempty"` + CurLevelIndex uint32 `protobuf:"varint,1,opt,name=cur_level_index,json=curLevelIndex,proto3" json:"cur_level_index,omitempty"` + CurFloorId uint32 `protobuf:"varint,15,opt,name=cur_floor_id,json=curFloorId,proto3" json:"cur_floor_id,omitempty"` +} + +func (x *TowerCurLevelRecord) Reset() { + *x = TowerCurLevelRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerCurLevelRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerCurLevelRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerCurLevelRecord) ProtoMessage() {} + +func (x *TowerCurLevelRecord) ProtoReflect() protoreflect.Message { + mi := &file_TowerCurLevelRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerCurLevelRecord.ProtoReflect.Descriptor instead. +func (*TowerCurLevelRecord) Descriptor() ([]byte, []int) { + return file_TowerCurLevelRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerCurLevelRecord) GetTowerTeamList() []*TowerTeam { + if x != nil { + return x.TowerTeamList + } + return nil +} + +func (x *TowerCurLevelRecord) GetIsEmpty() bool { + if x != nil { + return x.IsEmpty + } + return false +} + +func (x *TowerCurLevelRecord) GetBuffIdList() []uint32 { + if x != nil { + return x.BuffIdList + } + return nil +} + +func (x *TowerCurLevelRecord) GetUnk2700_CBPNPEBMPOH() bool { + if x != nil { + return x.Unk2700_CBPNPEBMPOH + } + return false +} + +func (x *TowerCurLevelRecord) GetCurLevelIndex() uint32 { + if x != nil { + return x.CurLevelIndex + } + return 0 +} + +func (x *TowerCurLevelRecord) GetCurFloorId() uint32 { + if x != nil { + return x.CurFloorId + } + return 0 +} + +var File_TowerCurLevelRecord_proto protoreflect.FileDescriptor + +var file_TowerCurLevelRecord_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x54, 0x6f, 0x77, + 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x02, 0x0a, + 0x13, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x0f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x65, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x0d, 0x74, 0x6f, 0x77, 0x65, 0x72, + 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x65, + 0x6d, 0x70, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x42, 0x50, 0x4e, 0x50, 0x45, 0x42, 0x4d, 0x50, 0x4f, 0x48, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x42, 0x50, 0x4e, 0x50, + 0x45, 0x42, 0x4d, 0x50, 0x4f, 0x48, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x20, + 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerCurLevelRecord_proto_rawDescOnce sync.Once + file_TowerCurLevelRecord_proto_rawDescData = file_TowerCurLevelRecord_proto_rawDesc +) + +func file_TowerCurLevelRecord_proto_rawDescGZIP() []byte { + file_TowerCurLevelRecord_proto_rawDescOnce.Do(func() { + file_TowerCurLevelRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerCurLevelRecord_proto_rawDescData) + }) + return file_TowerCurLevelRecord_proto_rawDescData +} + +var file_TowerCurLevelRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerCurLevelRecord_proto_goTypes = []interface{}{ + (*TowerCurLevelRecord)(nil), // 0: TowerCurLevelRecord + (*TowerTeam)(nil), // 1: TowerTeam +} +var file_TowerCurLevelRecord_proto_depIdxs = []int32{ + 1, // 0: TowerCurLevelRecord.tower_team_list:type_name -> TowerTeam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerCurLevelRecord_proto_init() } +func file_TowerCurLevelRecord_proto_init() { + if File_TowerCurLevelRecord_proto != nil { + return + } + file_TowerTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerCurLevelRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerCurLevelRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerCurLevelRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerCurLevelRecord_proto_goTypes, + DependencyIndexes: file_TowerCurLevelRecord_proto_depIdxs, + MessageInfos: file_TowerCurLevelRecord_proto_msgTypes, + }.Build() + File_TowerCurLevelRecord_proto = out.File + file_TowerCurLevelRecord_proto_rawDesc = nil + file_TowerCurLevelRecord_proto_goTypes = nil + file_TowerCurLevelRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerCurLevelRecord.proto b/gate-hk4e-api/proto/TowerCurLevelRecord.proto new file mode 100644 index 00000000..e0b12c61 --- /dev/null +++ b/gate-hk4e-api/proto/TowerCurLevelRecord.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerTeam.proto"; + +option go_package = "./;proto"; + +message TowerCurLevelRecord { + repeated TowerTeam tower_team_list = 8; + bool is_empty = 6; + repeated uint32 buff_id_list = 4; + bool Unk2700_CBPNPEBMPOH = 2; + uint32 cur_level_index = 1; + uint32 cur_floor_id = 15; +} diff --git a/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.pb.go b/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.pb.go new file mode 100644 index 00000000..63a8b1c6 --- /dev/null +++ b/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerCurLevelRecordChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2412 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerCurLevelRecordChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurLevelRecord *TowerCurLevelRecord `protobuf:"bytes,10,opt,name=cur_level_record,json=curLevelRecord,proto3" json:"cur_level_record,omitempty"` +} + +func (x *TowerCurLevelRecordChangeNotify) Reset() { + *x = TowerCurLevelRecordChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerCurLevelRecordChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerCurLevelRecordChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerCurLevelRecordChangeNotify) ProtoMessage() {} + +func (x *TowerCurLevelRecordChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerCurLevelRecordChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerCurLevelRecordChangeNotify.ProtoReflect.Descriptor instead. +func (*TowerCurLevelRecordChangeNotify) Descriptor() ([]byte, []int) { + return file_TowerCurLevelRecordChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerCurLevelRecordChangeNotify) GetCurLevelRecord() *TowerCurLevelRecord { + if x != nil { + return x.CurLevelRecord + } + return nil +} + +var File_TowerCurLevelRecordChangeNotify_proto protoreflect.FileDescriptor + +var file_TowerCurLevelRecordChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, + 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1f, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3e, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerCurLevelRecordChangeNotify_proto_rawDescOnce sync.Once + file_TowerCurLevelRecordChangeNotify_proto_rawDescData = file_TowerCurLevelRecordChangeNotify_proto_rawDesc +) + +func file_TowerCurLevelRecordChangeNotify_proto_rawDescGZIP() []byte { + file_TowerCurLevelRecordChangeNotify_proto_rawDescOnce.Do(func() { + file_TowerCurLevelRecordChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerCurLevelRecordChangeNotify_proto_rawDescData) + }) + return file_TowerCurLevelRecordChangeNotify_proto_rawDescData +} + +var file_TowerCurLevelRecordChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerCurLevelRecordChangeNotify_proto_goTypes = []interface{}{ + (*TowerCurLevelRecordChangeNotify)(nil), // 0: TowerCurLevelRecordChangeNotify + (*TowerCurLevelRecord)(nil), // 1: TowerCurLevelRecord +} +var file_TowerCurLevelRecordChangeNotify_proto_depIdxs = []int32{ + 1, // 0: TowerCurLevelRecordChangeNotify.cur_level_record:type_name -> TowerCurLevelRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerCurLevelRecordChangeNotify_proto_init() } +func file_TowerCurLevelRecordChangeNotify_proto_init() { + if File_TowerCurLevelRecordChangeNotify_proto != nil { + return + } + file_TowerCurLevelRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerCurLevelRecordChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerCurLevelRecordChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerCurLevelRecordChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerCurLevelRecordChangeNotify_proto_goTypes, + DependencyIndexes: file_TowerCurLevelRecordChangeNotify_proto_depIdxs, + MessageInfos: file_TowerCurLevelRecordChangeNotify_proto_msgTypes, + }.Build() + File_TowerCurLevelRecordChangeNotify_proto = out.File + file_TowerCurLevelRecordChangeNotify_proto_rawDesc = nil + file_TowerCurLevelRecordChangeNotify_proto_goTypes = nil + file_TowerCurLevelRecordChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.proto b/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.proto new file mode 100644 index 00000000..56d31496 --- /dev/null +++ b/gate-hk4e-api/proto/TowerCurLevelRecordChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerCurLevelRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 2412 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerCurLevelRecordChangeNotify { + TowerCurLevelRecord cur_level_record = 10; +} diff --git a/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.pb.go b/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.pb.go new file mode 100644 index 00000000..1bf48c3a --- /dev/null +++ b/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerDailyRewardProgressChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2435 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerDailyRewardProgressChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DailyFloorId uint32 `protobuf:"varint,15,opt,name=daily_floor_id,json=dailyFloorId,proto3" json:"daily_floor_id,omitempty"` + DailyLevelIndex uint32 `protobuf:"varint,9,opt,name=daily_level_index,json=dailyLevelIndex,proto3" json:"daily_level_index,omitempty"` +} + +func (x *TowerDailyRewardProgressChangeNotify) Reset() { + *x = TowerDailyRewardProgressChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerDailyRewardProgressChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerDailyRewardProgressChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerDailyRewardProgressChangeNotify) ProtoMessage() {} + +func (x *TowerDailyRewardProgressChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerDailyRewardProgressChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerDailyRewardProgressChangeNotify.ProtoReflect.Descriptor instead. +func (*TowerDailyRewardProgressChangeNotify) Descriptor() ([]byte, []int) { + return file_TowerDailyRewardProgressChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerDailyRewardProgressChangeNotify) GetDailyFloorId() uint32 { + if x != nil { + return x.DailyFloorId + } + return 0 +} + +func (x *TowerDailyRewardProgressChangeNotify) GetDailyLevelIndex() uint32 { + if x != nil { + return x.DailyLevelIndex + } + return 0 +} + +var File_TowerDailyRewardProgressChangeNotify_proto protoreflect.FileDescriptor + +var file_TowerDailyRewardProgressChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x24, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x66, 0x6c, + 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x61, + 0x69, 0x6c, 0x79, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, + 0x69, 0x6c, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerDailyRewardProgressChangeNotify_proto_rawDescOnce sync.Once + file_TowerDailyRewardProgressChangeNotify_proto_rawDescData = file_TowerDailyRewardProgressChangeNotify_proto_rawDesc +) + +func file_TowerDailyRewardProgressChangeNotify_proto_rawDescGZIP() []byte { + file_TowerDailyRewardProgressChangeNotify_proto_rawDescOnce.Do(func() { + file_TowerDailyRewardProgressChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerDailyRewardProgressChangeNotify_proto_rawDescData) + }) + return file_TowerDailyRewardProgressChangeNotify_proto_rawDescData +} + +var file_TowerDailyRewardProgressChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerDailyRewardProgressChangeNotify_proto_goTypes = []interface{}{ + (*TowerDailyRewardProgressChangeNotify)(nil), // 0: TowerDailyRewardProgressChangeNotify +} +var file_TowerDailyRewardProgressChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerDailyRewardProgressChangeNotify_proto_init() } +func file_TowerDailyRewardProgressChangeNotify_proto_init() { + if File_TowerDailyRewardProgressChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerDailyRewardProgressChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerDailyRewardProgressChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerDailyRewardProgressChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerDailyRewardProgressChangeNotify_proto_goTypes, + DependencyIndexes: file_TowerDailyRewardProgressChangeNotify_proto_depIdxs, + MessageInfos: file_TowerDailyRewardProgressChangeNotify_proto_msgTypes, + }.Build() + File_TowerDailyRewardProgressChangeNotify_proto = out.File + file_TowerDailyRewardProgressChangeNotify_proto_rawDesc = nil + file_TowerDailyRewardProgressChangeNotify_proto_goTypes = nil + file_TowerDailyRewardProgressChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.proto b/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.proto new file mode 100644 index 00000000..1af5f869 --- /dev/null +++ b/gate-hk4e-api/proto/TowerDailyRewardProgressChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2435 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerDailyRewardProgressChangeNotify { + uint32 daily_floor_id = 15; + uint32 daily_level_index = 9; +} diff --git a/gate-hk4e-api/proto/TowerEnterLevelReq.pb.go b/gate-hk4e-api/proto/TowerEnterLevelReq.pb.go new file mode 100644 index 00000000..84e53aed --- /dev/null +++ b/gate-hk4e-api/proto/TowerEnterLevelReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerEnterLevelReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerEnterLevelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnterPointId uint32 `protobuf:"varint,3,opt,name=enter_point_id,json=enterPointId,proto3" json:"enter_point_id,omitempty"` +} + +func (x *TowerEnterLevelReq) Reset() { + *x = TowerEnterLevelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerEnterLevelReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerEnterLevelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerEnterLevelReq) ProtoMessage() {} + +func (x *TowerEnterLevelReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerEnterLevelReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerEnterLevelReq.ProtoReflect.Descriptor instead. +func (*TowerEnterLevelReq) Descriptor() ([]byte, []int) { + return file_TowerEnterLevelReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerEnterLevelReq) GetEnterPointId() uint32 { + if x != nil { + return x.EnterPointId + } + return 0 +} + +var File_TowerEnterLevelReq_proto protoreflect.FileDescriptor + +var file_TowerEnterLevelReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x12, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, + 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerEnterLevelReq_proto_rawDescOnce sync.Once + file_TowerEnterLevelReq_proto_rawDescData = file_TowerEnterLevelReq_proto_rawDesc +) + +func file_TowerEnterLevelReq_proto_rawDescGZIP() []byte { + file_TowerEnterLevelReq_proto_rawDescOnce.Do(func() { + file_TowerEnterLevelReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerEnterLevelReq_proto_rawDescData) + }) + return file_TowerEnterLevelReq_proto_rawDescData +} + +var file_TowerEnterLevelReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerEnterLevelReq_proto_goTypes = []interface{}{ + (*TowerEnterLevelReq)(nil), // 0: TowerEnterLevelReq +} +var file_TowerEnterLevelReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerEnterLevelReq_proto_init() } +func file_TowerEnterLevelReq_proto_init() { + if File_TowerEnterLevelReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerEnterLevelReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerEnterLevelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerEnterLevelReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerEnterLevelReq_proto_goTypes, + DependencyIndexes: file_TowerEnterLevelReq_proto_depIdxs, + MessageInfos: file_TowerEnterLevelReq_proto_msgTypes, + }.Build() + File_TowerEnterLevelReq_proto = out.File + file_TowerEnterLevelReq_proto_rawDesc = nil + file_TowerEnterLevelReq_proto_goTypes = nil + file_TowerEnterLevelReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerEnterLevelReq.proto b/gate-hk4e-api/proto/TowerEnterLevelReq.proto new file mode 100644 index 00000000..1332e341 --- /dev/null +++ b/gate-hk4e-api/proto/TowerEnterLevelReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2431 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerEnterLevelReq { + uint32 enter_point_id = 3; +} diff --git a/gate-hk4e-api/proto/TowerEnterLevelRsp.pb.go b/gate-hk4e-api/proto/TowerEnterLevelRsp.pb.go new file mode 100644 index 00000000..f1400d64 --- /dev/null +++ b/gate-hk4e-api/proto/TowerEnterLevelRsp.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerEnterLevelRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2475 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerEnterLevelRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerBuffIdList []uint32 `protobuf:"varint,10,rep,packed,name=tower_buff_id_list,json=towerBuffIdList,proto3" json:"tower_buff_id_list,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + LevelIndex uint32 `protobuf:"varint,14,opt,name=level_index,json=levelIndex,proto3" json:"level_index,omitempty"` + FloorId uint32 `protobuf:"varint,5,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` +} + +func (x *TowerEnterLevelRsp) Reset() { + *x = TowerEnterLevelRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerEnterLevelRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerEnterLevelRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerEnterLevelRsp) ProtoMessage() {} + +func (x *TowerEnterLevelRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerEnterLevelRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerEnterLevelRsp.ProtoReflect.Descriptor instead. +func (*TowerEnterLevelRsp) Descriptor() ([]byte, []int) { + return file_TowerEnterLevelRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerEnterLevelRsp) GetTowerBuffIdList() []uint32 { + if x != nil { + return x.TowerBuffIdList + } + return nil +} + +func (x *TowerEnterLevelRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TowerEnterLevelRsp) GetLevelIndex() uint32 { + if x != nil { + return x.LevelIndex + } + return 0 +} + +func (x *TowerEnterLevelRsp) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +var File_TowerEnterLevelRsp_proto protoreflect.FileDescriptor + +var file_TowerEnterLevelRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x12, 0x54, + 0x6f, 0x77, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x73, + 0x70, 0x12, 0x2b, 0x0a, 0x12, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x74, + 0x6f, 0x77, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, + 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6c, 0x6f, + 0x6f, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerEnterLevelRsp_proto_rawDescOnce sync.Once + file_TowerEnterLevelRsp_proto_rawDescData = file_TowerEnterLevelRsp_proto_rawDesc +) + +func file_TowerEnterLevelRsp_proto_rawDescGZIP() []byte { + file_TowerEnterLevelRsp_proto_rawDescOnce.Do(func() { + file_TowerEnterLevelRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerEnterLevelRsp_proto_rawDescData) + }) + return file_TowerEnterLevelRsp_proto_rawDescData +} + +var file_TowerEnterLevelRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerEnterLevelRsp_proto_goTypes = []interface{}{ + (*TowerEnterLevelRsp)(nil), // 0: TowerEnterLevelRsp +} +var file_TowerEnterLevelRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerEnterLevelRsp_proto_init() } +func file_TowerEnterLevelRsp_proto_init() { + if File_TowerEnterLevelRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerEnterLevelRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerEnterLevelRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerEnterLevelRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerEnterLevelRsp_proto_goTypes, + DependencyIndexes: file_TowerEnterLevelRsp_proto_depIdxs, + MessageInfos: file_TowerEnterLevelRsp_proto_msgTypes, + }.Build() + File_TowerEnterLevelRsp_proto = out.File + file_TowerEnterLevelRsp_proto_rawDesc = nil + file_TowerEnterLevelRsp_proto_goTypes = nil + file_TowerEnterLevelRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerEnterLevelRsp.proto b/gate-hk4e-api/proto/TowerEnterLevelRsp.proto new file mode 100644 index 00000000..ee1995bc --- /dev/null +++ b/gate-hk4e-api/proto/TowerEnterLevelRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2475 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerEnterLevelRsp { + repeated uint32 tower_buff_id_list = 10; + int32 retcode = 1; + uint32 level_index = 14; + uint32 floor_id = 5; +} diff --git a/gate-hk4e-api/proto/TowerFightRecordPair.pb.go b/gate-hk4e-api/proto/TowerFightRecordPair.pb.go new file mode 100644 index 00000000..1c36742c --- /dev/null +++ b/gate-hk4e-api/proto/TowerFightRecordPair.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerFightRecordPair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerFightRecordPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + Data uint32 `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *TowerFightRecordPair) Reset() { + *x = TowerFightRecordPair{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerFightRecordPair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerFightRecordPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerFightRecordPair) ProtoMessage() {} + +func (x *TowerFightRecordPair) ProtoReflect() protoreflect.Message { + mi := &file_TowerFightRecordPair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerFightRecordPair.ProtoReflect.Descriptor instead. +func (*TowerFightRecordPair) Descriptor() ([]byte, []int) { + return file_TowerFightRecordPair_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerFightRecordPair) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *TowerFightRecordPair) GetData() uint32 { + if x != nil { + return x.Data + } + return 0 +} + +var File_TowerFightRecordPair_proto protoreflect.FileDescriptor + +var file_TowerFightRecordPair_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x14, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x50, 0x61, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerFightRecordPair_proto_rawDescOnce sync.Once + file_TowerFightRecordPair_proto_rawDescData = file_TowerFightRecordPair_proto_rawDesc +) + +func file_TowerFightRecordPair_proto_rawDescGZIP() []byte { + file_TowerFightRecordPair_proto_rawDescOnce.Do(func() { + file_TowerFightRecordPair_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerFightRecordPair_proto_rawDescData) + }) + return file_TowerFightRecordPair_proto_rawDescData +} + +var file_TowerFightRecordPair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerFightRecordPair_proto_goTypes = []interface{}{ + (*TowerFightRecordPair)(nil), // 0: TowerFightRecordPair +} +var file_TowerFightRecordPair_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerFightRecordPair_proto_init() } +func file_TowerFightRecordPair_proto_init() { + if File_TowerFightRecordPair_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerFightRecordPair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerFightRecordPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerFightRecordPair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerFightRecordPair_proto_goTypes, + DependencyIndexes: file_TowerFightRecordPair_proto_depIdxs, + MessageInfos: file_TowerFightRecordPair_proto_msgTypes, + }.Build() + File_TowerFightRecordPair_proto = out.File + file_TowerFightRecordPair_proto_rawDesc = nil + file_TowerFightRecordPair_proto_goTypes = nil + file_TowerFightRecordPair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerFightRecordPair.proto b/gate-hk4e-api/proto/TowerFightRecordPair.proto new file mode 100644 index 00000000..1b888902 --- /dev/null +++ b/gate-hk4e-api/proto/TowerFightRecordPair.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TowerFightRecordPair { + uint32 avatar_id = 1; + uint32 data = 3; +} diff --git a/gate-hk4e-api/proto/TowerFloorRecord.pb.go b/gate-hk4e-api/proto/TowerFloorRecord.pb.go new file mode 100644 index 00000000..5e9e3b30 --- /dev/null +++ b/gate-hk4e-api/proto/TowerFloorRecord.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerFloorRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerFloorRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FloorStarRewardProgress uint32 `protobuf:"varint,15,opt,name=floor_star_reward_progress,json=floorStarRewardProgress,proto3" json:"floor_star_reward_progress,omitempty"` + PassedLevelMap map[uint32]uint32 `protobuf:"bytes,8,rep,name=passed_level_map,json=passedLevelMap,proto3" json:"passed_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FloorId uint32 `protobuf:"varint,12,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` + PassedLevelRecordList []*TowerLevelRecord `protobuf:"bytes,2,rep,name=passed_level_record_list,json=passedLevelRecordList,proto3" json:"passed_level_record_list,omitempty"` +} + +func (x *TowerFloorRecord) Reset() { + *x = TowerFloorRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerFloorRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerFloorRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerFloorRecord) ProtoMessage() {} + +func (x *TowerFloorRecord) ProtoReflect() protoreflect.Message { + mi := &file_TowerFloorRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerFloorRecord.ProtoReflect.Descriptor instead. +func (*TowerFloorRecord) Descriptor() ([]byte, []int) { + return file_TowerFloorRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerFloorRecord) GetFloorStarRewardProgress() uint32 { + if x != nil { + return x.FloorStarRewardProgress + } + return 0 +} + +func (x *TowerFloorRecord) GetPassedLevelMap() map[uint32]uint32 { + if x != nil { + return x.PassedLevelMap + } + return nil +} + +func (x *TowerFloorRecord) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +func (x *TowerFloorRecord) GetPassedLevelRecordList() []*TowerLevelRecord { + if x != nil { + return x.PassedLevelRecordList + } + return nil +} + +var File_TowerFloorRecord_proto protoreflect.FileDescriptor + +var file_TowerFloorRecord_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xca, 0x02, 0x0a, 0x10, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x66, 0x6c, 0x6f, 0x6f, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x10, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x54, + 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, + 0x50, 0x61, 0x73, 0x73, 0x65, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0e, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x4d, 0x61, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x4a, + 0x0a, 0x18, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x52, 0x15, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x41, 0x0a, 0x13, 0x50, 0x61, + 0x73, 0x73, 0x65, 0x64, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_TowerFloorRecord_proto_rawDescOnce sync.Once + file_TowerFloorRecord_proto_rawDescData = file_TowerFloorRecord_proto_rawDesc +) + +func file_TowerFloorRecord_proto_rawDescGZIP() []byte { + file_TowerFloorRecord_proto_rawDescOnce.Do(func() { + file_TowerFloorRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerFloorRecord_proto_rawDescData) + }) + return file_TowerFloorRecord_proto_rawDescData +} + +var file_TowerFloorRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_TowerFloorRecord_proto_goTypes = []interface{}{ + (*TowerFloorRecord)(nil), // 0: TowerFloorRecord + nil, // 1: TowerFloorRecord.PassedLevelMapEntry + (*TowerLevelRecord)(nil), // 2: TowerLevelRecord +} +var file_TowerFloorRecord_proto_depIdxs = []int32{ + 1, // 0: TowerFloorRecord.passed_level_map:type_name -> TowerFloorRecord.PassedLevelMapEntry + 2, // 1: TowerFloorRecord.passed_level_record_list:type_name -> TowerLevelRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TowerFloorRecord_proto_init() } +func file_TowerFloorRecord_proto_init() { + if File_TowerFloorRecord_proto != nil { + return + } + file_TowerLevelRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerFloorRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerFloorRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerFloorRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerFloorRecord_proto_goTypes, + DependencyIndexes: file_TowerFloorRecord_proto_depIdxs, + MessageInfos: file_TowerFloorRecord_proto_msgTypes, + }.Build() + File_TowerFloorRecord_proto = out.File + file_TowerFloorRecord_proto_rawDesc = nil + file_TowerFloorRecord_proto_goTypes = nil + file_TowerFloorRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerFloorRecord.proto b/gate-hk4e-api/proto/TowerFloorRecord.proto new file mode 100644 index 00000000..8a19a85d --- /dev/null +++ b/gate-hk4e-api/proto/TowerFloorRecord.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerLevelRecord.proto"; + +option go_package = "./;proto"; + +message TowerFloorRecord { + uint32 floor_star_reward_progress = 15; + map passed_level_map = 8; + uint32 floor_id = 12; + repeated TowerLevelRecord passed_level_record_list = 2; +} diff --git a/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.pb.go b/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.pb.go new file mode 100644 index 00000000..d34b19d8 --- /dev/null +++ b/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerFloorRecordChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2498 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerFloorRecordChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinishedEntranceFloor bool `protobuf:"varint,11,opt,name=is_finished_entrance_floor,json=isFinishedEntranceFloor,proto3" json:"is_finished_entrance_floor,omitempty"` + TowerFloorRecordList []*TowerFloorRecord `protobuf:"bytes,8,rep,name=tower_floor_record_list,json=towerFloorRecordList,proto3" json:"tower_floor_record_list,omitempty"` +} + +func (x *TowerFloorRecordChangeNotify) Reset() { + *x = TowerFloorRecordChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerFloorRecordChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerFloorRecordChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerFloorRecordChangeNotify) ProtoMessage() {} + +func (x *TowerFloorRecordChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerFloorRecordChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerFloorRecordChangeNotify.ProtoReflect.Descriptor instead. +func (*TowerFloorRecordChangeNotify) Descriptor() ([]byte, []int) { + return file_TowerFloorRecordChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerFloorRecordChangeNotify) GetIsFinishedEntranceFloor() bool { + if x != nil { + return x.IsFinishedEntranceFloor + } + return false +} + +func (x *TowerFloorRecordChangeNotify) GetTowerFloorRecordList() []*TowerFloorRecord { + if x != nil { + return x.TowerFloorRecordList + } + return nil +} + +var File_TowerFloorRecordChangeNotify_proto protoreflect.FileDescriptor + +var file_TowerFloorRecordChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, + 0x1c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3b, 0x0a, + 0x1a, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, + 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x17, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x74, + 0x72, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x17, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x14, + 0x74, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerFloorRecordChangeNotify_proto_rawDescOnce sync.Once + file_TowerFloorRecordChangeNotify_proto_rawDescData = file_TowerFloorRecordChangeNotify_proto_rawDesc +) + +func file_TowerFloorRecordChangeNotify_proto_rawDescGZIP() []byte { + file_TowerFloorRecordChangeNotify_proto_rawDescOnce.Do(func() { + file_TowerFloorRecordChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerFloorRecordChangeNotify_proto_rawDescData) + }) + return file_TowerFloorRecordChangeNotify_proto_rawDescData +} + +var file_TowerFloorRecordChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerFloorRecordChangeNotify_proto_goTypes = []interface{}{ + (*TowerFloorRecordChangeNotify)(nil), // 0: TowerFloorRecordChangeNotify + (*TowerFloorRecord)(nil), // 1: TowerFloorRecord +} +var file_TowerFloorRecordChangeNotify_proto_depIdxs = []int32{ + 1, // 0: TowerFloorRecordChangeNotify.tower_floor_record_list:type_name -> TowerFloorRecord + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerFloorRecordChangeNotify_proto_init() } +func file_TowerFloorRecordChangeNotify_proto_init() { + if File_TowerFloorRecordChangeNotify_proto != nil { + return + } + file_TowerFloorRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerFloorRecordChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerFloorRecordChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerFloorRecordChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerFloorRecordChangeNotify_proto_goTypes, + DependencyIndexes: file_TowerFloorRecordChangeNotify_proto_depIdxs, + MessageInfos: file_TowerFloorRecordChangeNotify_proto_msgTypes, + }.Build() + File_TowerFloorRecordChangeNotify_proto = out.File + file_TowerFloorRecordChangeNotify_proto_rawDesc = nil + file_TowerFloorRecordChangeNotify_proto_goTypes = nil + file_TowerFloorRecordChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.proto b/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.proto new file mode 100644 index 00000000..973e0b8b --- /dev/null +++ b/gate-hk4e-api/proto/TowerFloorRecordChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerFloorRecord.proto"; + +option go_package = "./;proto"; + +// CmdId: 2498 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerFloorRecordChangeNotify { + bool is_finished_entrance_floor = 11; + repeated TowerFloorRecord tower_floor_record_list = 8; +} diff --git a/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.pb.go b/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.pb.go new file mode 100644 index 00000000..0914e4ab --- /dev/null +++ b/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerGetFloorStarRewardReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2404 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerGetFloorStarRewardReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FloorId uint32 `protobuf:"varint,15,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` +} + +func (x *TowerGetFloorStarRewardReq) Reset() { + *x = TowerGetFloorStarRewardReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerGetFloorStarRewardReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerGetFloorStarRewardReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerGetFloorStarRewardReq) ProtoMessage() {} + +func (x *TowerGetFloorStarRewardReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerGetFloorStarRewardReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerGetFloorStarRewardReq.ProtoReflect.Descriptor instead. +func (*TowerGetFloorStarRewardReq) Descriptor() ([]byte, []int) { + return file_TowerGetFloorStarRewardReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerGetFloorStarRewardReq) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +var File_TowerGetFloorStarRewardReq_proto protoreflect.FileDescriptor + +var file_TowerGetFloorStarRewardReq_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x53, + 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x1a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6c, + 0x6f, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerGetFloorStarRewardReq_proto_rawDescOnce sync.Once + file_TowerGetFloorStarRewardReq_proto_rawDescData = file_TowerGetFloorStarRewardReq_proto_rawDesc +) + +func file_TowerGetFloorStarRewardReq_proto_rawDescGZIP() []byte { + file_TowerGetFloorStarRewardReq_proto_rawDescOnce.Do(func() { + file_TowerGetFloorStarRewardReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerGetFloorStarRewardReq_proto_rawDescData) + }) + return file_TowerGetFloorStarRewardReq_proto_rawDescData +} + +var file_TowerGetFloorStarRewardReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerGetFloorStarRewardReq_proto_goTypes = []interface{}{ + (*TowerGetFloorStarRewardReq)(nil), // 0: TowerGetFloorStarRewardReq +} +var file_TowerGetFloorStarRewardReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerGetFloorStarRewardReq_proto_init() } +func file_TowerGetFloorStarRewardReq_proto_init() { + if File_TowerGetFloorStarRewardReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerGetFloorStarRewardReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerGetFloorStarRewardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerGetFloorStarRewardReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerGetFloorStarRewardReq_proto_goTypes, + DependencyIndexes: file_TowerGetFloorStarRewardReq_proto_depIdxs, + MessageInfos: file_TowerGetFloorStarRewardReq_proto_msgTypes, + }.Build() + File_TowerGetFloorStarRewardReq_proto = out.File + file_TowerGetFloorStarRewardReq_proto_rawDesc = nil + file_TowerGetFloorStarRewardReq_proto_goTypes = nil + file_TowerGetFloorStarRewardReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.proto b/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.proto new file mode 100644 index 00000000..2c456d2c --- /dev/null +++ b/gate-hk4e-api/proto/TowerGetFloorStarRewardReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2404 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerGetFloorStarRewardReq { + uint32 floor_id = 15; +} diff --git a/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.pb.go b/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.pb.go new file mode 100644 index 00000000..5907569a --- /dev/null +++ b/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerGetFloorStarRewardRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2493 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerGetFloorStarRewardRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + FloorId uint32 `protobuf:"varint,9,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` +} + +func (x *TowerGetFloorStarRewardRsp) Reset() { + *x = TowerGetFloorStarRewardRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerGetFloorStarRewardRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerGetFloorStarRewardRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerGetFloorStarRewardRsp) ProtoMessage() {} + +func (x *TowerGetFloorStarRewardRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerGetFloorStarRewardRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerGetFloorStarRewardRsp.ProtoReflect.Descriptor instead. +func (*TowerGetFloorStarRewardRsp) Descriptor() ([]byte, []int) { + return file_TowerGetFloorStarRewardRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerGetFloorStarRewardRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TowerGetFloorStarRewardRsp) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +var File_TowerGetFloorStarRewardRsp_proto protoreflect.FileDescriptor + +var file_TowerGetFloorStarRewardRsp_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x53, + 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x1a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x74, 0x46, 0x6c, + 0x6f, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, + 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6c, + 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerGetFloorStarRewardRsp_proto_rawDescOnce sync.Once + file_TowerGetFloorStarRewardRsp_proto_rawDescData = file_TowerGetFloorStarRewardRsp_proto_rawDesc +) + +func file_TowerGetFloorStarRewardRsp_proto_rawDescGZIP() []byte { + file_TowerGetFloorStarRewardRsp_proto_rawDescOnce.Do(func() { + file_TowerGetFloorStarRewardRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerGetFloorStarRewardRsp_proto_rawDescData) + }) + return file_TowerGetFloorStarRewardRsp_proto_rawDescData +} + +var file_TowerGetFloorStarRewardRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerGetFloorStarRewardRsp_proto_goTypes = []interface{}{ + (*TowerGetFloorStarRewardRsp)(nil), // 0: TowerGetFloorStarRewardRsp +} +var file_TowerGetFloorStarRewardRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerGetFloorStarRewardRsp_proto_init() } +func file_TowerGetFloorStarRewardRsp_proto_init() { + if File_TowerGetFloorStarRewardRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerGetFloorStarRewardRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerGetFloorStarRewardRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerGetFloorStarRewardRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerGetFloorStarRewardRsp_proto_goTypes, + DependencyIndexes: file_TowerGetFloorStarRewardRsp_proto_depIdxs, + MessageInfos: file_TowerGetFloorStarRewardRsp_proto_msgTypes, + }.Build() + File_TowerGetFloorStarRewardRsp_proto = out.File + file_TowerGetFloorStarRewardRsp_proto_rawDesc = nil + file_TowerGetFloorStarRewardRsp_proto_goTypes = nil + file_TowerGetFloorStarRewardRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.proto b/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.proto new file mode 100644 index 00000000..ee27fbf5 --- /dev/null +++ b/gate-hk4e-api/proto/TowerGetFloorStarRewardRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2493 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerGetFloorStarRewardRsp { + int32 retcode = 11; + uint32 floor_id = 9; +} diff --git a/gate-hk4e-api/proto/TowerLevelEndNotify.pb.go b/gate-hk4e-api/proto/TowerLevelEndNotify.pb.go new file mode 100644 index 00000000..81aa833d --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelEndNotify.pb.go @@ -0,0 +1,271 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerLevelEndNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerLevelEndNotify_ContinueStateType int32 + +const ( + TowerLevelEndNotify_CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE TowerLevelEndNotify_ContinueStateType = 0 + TowerLevelEndNotify_CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL TowerLevelEndNotify_ContinueStateType = 1 + TowerLevelEndNotify_CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR TowerLevelEndNotify_ContinueStateType = 2 +) + +// Enum value maps for TowerLevelEndNotify_ContinueStateType. +var ( + TowerLevelEndNotify_ContinueStateType_name = map[int32]string{ + 0: "CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE", + 1: "CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL", + 2: "CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR", + } + TowerLevelEndNotify_ContinueStateType_value = map[string]int32{ + "CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE": 0, + "CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL": 1, + "CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR": 2, + } +) + +func (x TowerLevelEndNotify_ContinueStateType) Enum() *TowerLevelEndNotify_ContinueStateType { + p := new(TowerLevelEndNotify_ContinueStateType) + *p = x + return p +} + +func (x TowerLevelEndNotify_ContinueStateType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TowerLevelEndNotify_ContinueStateType) Descriptor() protoreflect.EnumDescriptor { + return file_TowerLevelEndNotify_proto_enumTypes[0].Descriptor() +} + +func (TowerLevelEndNotify_ContinueStateType) Type() protoreflect.EnumType { + return &file_TowerLevelEndNotify_proto_enumTypes[0] +} + +func (x TowerLevelEndNotify_ContinueStateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TowerLevelEndNotify_ContinueStateType.Descriptor instead. +func (TowerLevelEndNotify_ContinueStateType) EnumDescriptor() ([]byte, []int) { + return file_TowerLevelEndNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 2495 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerLevelEndNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextFloorId uint32 `protobuf:"varint,4,opt,name=next_floor_id,json=nextFloorId,proto3" json:"next_floor_id,omitempty"` + RewardItemList []*ItemParam `protobuf:"bytes,12,rep,name=reward_item_list,json=rewardItemList,proto3" json:"reward_item_list,omitempty"` + ContinueState uint32 `protobuf:"varint,15,opt,name=continue_state,json=continueState,proto3" json:"continue_state,omitempty"` + IsSuccess bool `protobuf:"varint,5,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + FinishedStarCondList []uint32 `protobuf:"varint,6,rep,packed,name=finished_star_cond_list,json=finishedStarCondList,proto3" json:"finished_star_cond_list,omitempty"` +} + +func (x *TowerLevelEndNotify) Reset() { + *x = TowerLevelEndNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerLevelEndNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerLevelEndNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerLevelEndNotify) ProtoMessage() {} + +func (x *TowerLevelEndNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerLevelEndNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerLevelEndNotify.ProtoReflect.Descriptor instead. +func (*TowerLevelEndNotify) Descriptor() ([]byte, []int) { + return file_TowerLevelEndNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerLevelEndNotify) GetNextFloorId() uint32 { + if x != nil { + return x.NextFloorId + } + return 0 +} + +func (x *TowerLevelEndNotify) GetRewardItemList() []*ItemParam { + if x != nil { + return x.RewardItemList + } + return nil +} + +func (x *TowerLevelEndNotify) GetContinueState() uint32 { + if x != nil { + return x.ContinueState + } + return 0 +} + +func (x *TowerLevelEndNotify) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *TowerLevelEndNotify) GetFinishedStarCondList() []uint32 { + if x != nil { + return x.FinishedStarCondList + } + return nil +} + +var File_TowerLevelEndNotify_proto protoreflect.FileDescriptor + +var file_TowerLevelEndNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x03, 0x0a, + 0x13, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x6c, 0x6f, + 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x65, 0x78, + 0x74, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x5f, 0x73, 0x74, 0x61, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x11, + 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x45, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x45, 0x10, 0x00, 0x12, 0x2c, 0x0a, 0x28, 0x43, + 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x58, + 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x01, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4e, + 0x54, 0x49, 0x4e, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x43, 0x41, 0x4e, 0x5f, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x45, 0x58, 0x54, 0x5f, + 0x46, 0x4c, 0x4f, 0x4f, 0x52, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerLevelEndNotify_proto_rawDescOnce sync.Once + file_TowerLevelEndNotify_proto_rawDescData = file_TowerLevelEndNotify_proto_rawDesc +) + +func file_TowerLevelEndNotify_proto_rawDescGZIP() []byte { + file_TowerLevelEndNotify_proto_rawDescOnce.Do(func() { + file_TowerLevelEndNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerLevelEndNotify_proto_rawDescData) + }) + return file_TowerLevelEndNotify_proto_rawDescData +} + +var file_TowerLevelEndNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_TowerLevelEndNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerLevelEndNotify_proto_goTypes = []interface{}{ + (TowerLevelEndNotify_ContinueStateType)(0), // 0: TowerLevelEndNotify.ContinueStateType + (*TowerLevelEndNotify)(nil), // 1: TowerLevelEndNotify + (*ItemParam)(nil), // 2: ItemParam +} +var file_TowerLevelEndNotify_proto_depIdxs = []int32{ + 2, // 0: TowerLevelEndNotify.reward_item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerLevelEndNotify_proto_init() } +func file_TowerLevelEndNotify_proto_init() { + if File_TowerLevelEndNotify_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerLevelEndNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerLevelEndNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerLevelEndNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerLevelEndNotify_proto_goTypes, + DependencyIndexes: file_TowerLevelEndNotify_proto_depIdxs, + EnumInfos: file_TowerLevelEndNotify_proto_enumTypes, + MessageInfos: file_TowerLevelEndNotify_proto_msgTypes, + }.Build() + File_TowerLevelEndNotify_proto = out.File + file_TowerLevelEndNotify_proto_rawDesc = nil + file_TowerLevelEndNotify_proto_goTypes = nil + file_TowerLevelEndNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerLevelEndNotify.proto b/gate-hk4e-api/proto/TowerLevelEndNotify.proto new file mode 100644 index 00000000..88541c16 --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelEndNotify.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2495 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerLevelEndNotify { + uint32 next_floor_id = 4; + repeated ItemParam reward_item_list = 12; + uint32 continue_state = 15; + bool is_success = 5; + repeated uint32 finished_star_cond_list = 6; + + enum ContinueStateType { + CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0; + CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL = 1; + CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR = 2; + } +} diff --git a/gate-hk4e-api/proto/TowerLevelRecord.pb.go b/gate-hk4e-api/proto/TowerLevelRecord.pb.go new file mode 100644 index 00000000..45cab48b --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelRecord.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerLevelRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerLevelRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SatisfiedCondList []uint32 `protobuf:"varint,13,rep,packed,name=satisfied_cond_list,json=satisfiedCondList,proto3" json:"satisfied_cond_list,omitempty"` + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *TowerLevelRecord) Reset() { + *x = TowerLevelRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerLevelRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerLevelRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerLevelRecord) ProtoMessage() {} + +func (x *TowerLevelRecord) ProtoReflect() protoreflect.Message { + mi := &file_TowerLevelRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerLevelRecord.ProtoReflect.Descriptor instead. +func (*TowerLevelRecord) Descriptor() ([]byte, []int) { + return file_TowerLevelRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerLevelRecord) GetSatisfiedCondList() []uint32 { + if x != nil { + return x.SatisfiedCondList + } + return nil +} + +func (x *TowerLevelRecord) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_TowerLevelRecord_proto protoreflect.FileDescriptor + +var file_TowerLevelRecord_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x10, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2e, 0x0a, 0x13, + 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x61, 0x74, 0x69, 0x73, + 0x66, 0x69, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerLevelRecord_proto_rawDescOnce sync.Once + file_TowerLevelRecord_proto_rawDescData = file_TowerLevelRecord_proto_rawDesc +) + +func file_TowerLevelRecord_proto_rawDescGZIP() []byte { + file_TowerLevelRecord_proto_rawDescOnce.Do(func() { + file_TowerLevelRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerLevelRecord_proto_rawDescData) + }) + return file_TowerLevelRecord_proto_rawDescData +} + +var file_TowerLevelRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerLevelRecord_proto_goTypes = []interface{}{ + (*TowerLevelRecord)(nil), // 0: TowerLevelRecord +} +var file_TowerLevelRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerLevelRecord_proto_init() } +func file_TowerLevelRecord_proto_init() { + if File_TowerLevelRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerLevelRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerLevelRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerLevelRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerLevelRecord_proto_goTypes, + DependencyIndexes: file_TowerLevelRecord_proto_depIdxs, + MessageInfos: file_TowerLevelRecord_proto_msgTypes, + }.Build() + File_TowerLevelRecord_proto = out.File + file_TowerLevelRecord_proto_rawDesc = nil + file_TowerLevelRecord_proto_goTypes = nil + file_TowerLevelRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerLevelRecord.proto b/gate-hk4e-api/proto/TowerLevelRecord.proto new file mode 100644 index 00000000..24d177fa --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelRecord.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TowerLevelRecord { + repeated uint32 satisfied_cond_list = 13; + uint32 level_id = 10; +} diff --git a/gate-hk4e-api/proto/TowerLevelStarCondData.pb.go b/gate-hk4e-api/proto/TowerLevelStarCondData.pb.go new file mode 100644 index 00000000..79875e0d --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelStarCondData.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerLevelStarCondData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerLevelStarCondData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HIFMJMAHEMB bool `protobuf:"varint,15,opt,name=Unk2700_HIFMJMAHEMB,json=Unk2700HIFMJMAHEMB,proto3" json:"Unk2700_HIFMJMAHEMB,omitempty"` + CondValue uint32 `protobuf:"varint,9,opt,name=cond_value,json=condValue,proto3" json:"cond_value,omitempty"` + IsPause bool `protobuf:"varint,13,opt,name=is_pause,json=isPause,proto3" json:"is_pause,omitempty"` + StarCondIndex uint32 `protobuf:"varint,6,opt,name=star_cond_index,json=starCondIndex,proto3" json:"star_cond_index,omitempty"` +} + +func (x *TowerLevelStarCondData) Reset() { + *x = TowerLevelStarCondData{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerLevelStarCondData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerLevelStarCondData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerLevelStarCondData) ProtoMessage() {} + +func (x *TowerLevelStarCondData) ProtoReflect() protoreflect.Message { + mi := &file_TowerLevelStarCondData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerLevelStarCondData.ProtoReflect.Descriptor instead. +func (*TowerLevelStarCondData) Descriptor() ([]byte, []int) { + return file_TowerLevelStarCondData_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerLevelStarCondData) GetUnk2700_HIFMJMAHEMB() bool { + if x != nil { + return x.Unk2700_HIFMJMAHEMB + } + return false +} + +func (x *TowerLevelStarCondData) GetCondValue() uint32 { + if x != nil { + return x.CondValue + } + return 0 +} + +func (x *TowerLevelStarCondData) GetIsPause() bool { + if x != nil { + return x.IsPause + } + return false +} + +func (x *TowerLevelStarCondData) GetStarCondIndex() uint32 { + if x != nil { + return x.StarCondIndex + } + return 0 +} + +var File_TowerLevelStarCondData_proto protoreflect.FileDescriptor + +var file_TowerLevelStarCondData_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, + 0x43, 0x6f, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, + 0x01, 0x0a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, + 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x46, 0x4d, 0x4a, 0x4d, 0x41, 0x48, 0x45, 0x4d, 0x42, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x49, 0x46, 0x4d, 0x4a, 0x4d, 0x41, 0x48, 0x45, 0x4d, 0x42, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, + 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, + 0x70, 0x61, 0x75, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x50, + 0x61, 0x75, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x5f, 0x63, 0x6f, 0x6e, + 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x73, + 0x74, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerLevelStarCondData_proto_rawDescOnce sync.Once + file_TowerLevelStarCondData_proto_rawDescData = file_TowerLevelStarCondData_proto_rawDesc +) + +func file_TowerLevelStarCondData_proto_rawDescGZIP() []byte { + file_TowerLevelStarCondData_proto_rawDescOnce.Do(func() { + file_TowerLevelStarCondData_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerLevelStarCondData_proto_rawDescData) + }) + return file_TowerLevelStarCondData_proto_rawDescData +} + +var file_TowerLevelStarCondData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerLevelStarCondData_proto_goTypes = []interface{}{ + (*TowerLevelStarCondData)(nil), // 0: TowerLevelStarCondData +} +var file_TowerLevelStarCondData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerLevelStarCondData_proto_init() } +func file_TowerLevelStarCondData_proto_init() { + if File_TowerLevelStarCondData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerLevelStarCondData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerLevelStarCondData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerLevelStarCondData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerLevelStarCondData_proto_goTypes, + DependencyIndexes: file_TowerLevelStarCondData_proto_depIdxs, + MessageInfos: file_TowerLevelStarCondData_proto_msgTypes, + }.Build() + File_TowerLevelStarCondData_proto = out.File + file_TowerLevelStarCondData_proto_rawDesc = nil + file_TowerLevelStarCondData_proto_goTypes = nil + file_TowerLevelStarCondData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerLevelStarCondData.proto b/gate-hk4e-api/proto/TowerLevelStarCondData.proto new file mode 100644 index 00000000..0da2c963 --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelStarCondData.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TowerLevelStarCondData { + bool Unk2700_HIFMJMAHEMB = 15; + uint32 cond_value = 9; + bool is_pause = 13; + uint32 star_cond_index = 6; +} diff --git a/gate-hk4e-api/proto/TowerLevelStarCondNotify.pb.go b/gate-hk4e-api/proto/TowerLevelStarCondNotify.pb.go new file mode 100644 index 00000000..1459aa33 --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelStarCondNotify.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerLevelStarCondNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2406 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerLevelStarCondNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelIndex uint32 `protobuf:"varint,14,opt,name=level_index,json=levelIndex,proto3" json:"level_index,omitempty"` + FloorId uint32 `protobuf:"varint,11,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` + CondDataList []*TowerLevelStarCondData `protobuf:"bytes,9,rep,name=cond_data_list,json=condDataList,proto3" json:"cond_data_list,omitempty"` +} + +func (x *TowerLevelStarCondNotify) Reset() { + *x = TowerLevelStarCondNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerLevelStarCondNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerLevelStarCondNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerLevelStarCondNotify) ProtoMessage() {} + +func (x *TowerLevelStarCondNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerLevelStarCondNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerLevelStarCondNotify.ProtoReflect.Descriptor instead. +func (*TowerLevelStarCondNotify) Descriptor() ([]byte, []int) { + return file_TowerLevelStarCondNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerLevelStarCondNotify) GetLevelIndex() uint32 { + if x != nil { + return x.LevelIndex + } + return 0 +} + +func (x *TowerLevelStarCondNotify) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +func (x *TowerLevelStarCondNotify) GetCondDataList() []*TowerLevelStarCondData { + if x != nil { + return x.CondDataList + } + return nil +} + +var File_TowerLevelStarCondNotify_proto protoreflect.FileDescriptor + +var file_TowerLevelStarCondNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, + 0x43, 0x6f, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, + 0x43, 0x6f, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, + 0x01, 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, + 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, + 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x64, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, + 0x43, 0x6f, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x64, 0x44, 0x61, + 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerLevelStarCondNotify_proto_rawDescOnce sync.Once + file_TowerLevelStarCondNotify_proto_rawDescData = file_TowerLevelStarCondNotify_proto_rawDesc +) + +func file_TowerLevelStarCondNotify_proto_rawDescGZIP() []byte { + file_TowerLevelStarCondNotify_proto_rawDescOnce.Do(func() { + file_TowerLevelStarCondNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerLevelStarCondNotify_proto_rawDescData) + }) + return file_TowerLevelStarCondNotify_proto_rawDescData +} + +var file_TowerLevelStarCondNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerLevelStarCondNotify_proto_goTypes = []interface{}{ + (*TowerLevelStarCondNotify)(nil), // 0: TowerLevelStarCondNotify + (*TowerLevelStarCondData)(nil), // 1: TowerLevelStarCondData +} +var file_TowerLevelStarCondNotify_proto_depIdxs = []int32{ + 1, // 0: TowerLevelStarCondNotify.cond_data_list:type_name -> TowerLevelStarCondData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerLevelStarCondNotify_proto_init() } +func file_TowerLevelStarCondNotify_proto_init() { + if File_TowerLevelStarCondNotify_proto != nil { + return + } + file_TowerLevelStarCondData_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerLevelStarCondNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerLevelStarCondNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerLevelStarCondNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerLevelStarCondNotify_proto_goTypes, + DependencyIndexes: file_TowerLevelStarCondNotify_proto_depIdxs, + MessageInfos: file_TowerLevelStarCondNotify_proto_msgTypes, + }.Build() + File_TowerLevelStarCondNotify_proto = out.File + file_TowerLevelStarCondNotify_proto_rawDesc = nil + file_TowerLevelStarCondNotify_proto_goTypes = nil + file_TowerLevelStarCondNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerLevelStarCondNotify.proto b/gate-hk4e-api/proto/TowerLevelStarCondNotify.proto new file mode 100644 index 00000000..7e4449fb --- /dev/null +++ b/gate-hk4e-api/proto/TowerLevelStarCondNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerLevelStarCondData.proto"; + +option go_package = "./;proto"; + +// CmdId: 2406 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerLevelStarCondNotify { + uint32 level_index = 14; + uint32 floor_id = 11; + repeated TowerLevelStarCondData cond_data_list = 9; +} diff --git a/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.pb.go b/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.pb.go new file mode 100644 index 00000000..a531dfaf --- /dev/null +++ b/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerMiddleLevelChangeTeamNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2434 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerMiddleLevelChangeTeamNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TowerMiddleLevelChangeTeamNotify) Reset() { + *x = TowerMiddleLevelChangeTeamNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerMiddleLevelChangeTeamNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerMiddleLevelChangeTeamNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerMiddleLevelChangeTeamNotify) ProtoMessage() {} + +func (x *TowerMiddleLevelChangeTeamNotify) ProtoReflect() protoreflect.Message { + mi := &file_TowerMiddleLevelChangeTeamNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerMiddleLevelChangeTeamNotify.ProtoReflect.Descriptor instead. +func (*TowerMiddleLevelChangeTeamNotify) Descriptor() ([]byte, []int) { + return file_TowerMiddleLevelChangeTeamNotify_proto_rawDescGZIP(), []int{0} +} + +var File_TowerMiddleLevelChangeTeamNotify_proto protoreflect.FileDescriptor + +var file_TowerMiddleLevelChangeTeamNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerMiddleLevelChangeTeamNotify_proto_rawDescOnce sync.Once + file_TowerMiddleLevelChangeTeamNotify_proto_rawDescData = file_TowerMiddleLevelChangeTeamNotify_proto_rawDesc +) + +func file_TowerMiddleLevelChangeTeamNotify_proto_rawDescGZIP() []byte { + file_TowerMiddleLevelChangeTeamNotify_proto_rawDescOnce.Do(func() { + file_TowerMiddleLevelChangeTeamNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerMiddleLevelChangeTeamNotify_proto_rawDescData) + }) + return file_TowerMiddleLevelChangeTeamNotify_proto_rawDescData +} + +var file_TowerMiddleLevelChangeTeamNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerMiddleLevelChangeTeamNotify_proto_goTypes = []interface{}{ + (*TowerMiddleLevelChangeTeamNotify)(nil), // 0: TowerMiddleLevelChangeTeamNotify +} +var file_TowerMiddleLevelChangeTeamNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerMiddleLevelChangeTeamNotify_proto_init() } +func file_TowerMiddleLevelChangeTeamNotify_proto_init() { + if File_TowerMiddleLevelChangeTeamNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerMiddleLevelChangeTeamNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerMiddleLevelChangeTeamNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerMiddleLevelChangeTeamNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerMiddleLevelChangeTeamNotify_proto_goTypes, + DependencyIndexes: file_TowerMiddleLevelChangeTeamNotify_proto_depIdxs, + MessageInfos: file_TowerMiddleLevelChangeTeamNotify_proto_msgTypes, + }.Build() + File_TowerMiddleLevelChangeTeamNotify_proto = out.File + file_TowerMiddleLevelChangeTeamNotify_proto_rawDesc = nil + file_TowerMiddleLevelChangeTeamNotify_proto_goTypes = nil + file_TowerMiddleLevelChangeTeamNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.proto b/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.proto new file mode 100644 index 00000000..494ba3e9 --- /dev/null +++ b/gate-hk4e-api/proto/TowerMiddleLevelChangeTeamNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2434 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerMiddleLevelChangeTeamNotify {} diff --git a/gate-hk4e-api/proto/TowerMonthlyBrief.pb.go b/gate-hk4e-api/proto/TowerMonthlyBrief.pb.go new file mode 100644 index 00000000..431a143f --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyBrief.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerMonthlyBrief.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerMonthlyBrief struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerScheduleId uint32 `protobuf:"varint,15,opt,name=tower_schedule_id,json=towerScheduleId,proto3" json:"tower_schedule_id,omitempty"` + BestFloorIndex uint32 `protobuf:"varint,6,opt,name=best_floor_index,json=bestFloorIndex,proto3" json:"best_floor_index,omitempty"` + BestLevelIndex uint32 `protobuf:"varint,3,opt,name=best_level_index,json=bestLevelIndex,proto3" json:"best_level_index,omitempty"` + TotalStarCount uint32 `protobuf:"varint,12,opt,name=total_star_count,json=totalStarCount,proto3" json:"total_star_count,omitempty"` +} + +func (x *TowerMonthlyBrief) Reset() { + *x = TowerMonthlyBrief{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerMonthlyBrief_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerMonthlyBrief) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerMonthlyBrief) ProtoMessage() {} + +func (x *TowerMonthlyBrief) ProtoReflect() protoreflect.Message { + mi := &file_TowerMonthlyBrief_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerMonthlyBrief.ProtoReflect.Descriptor instead. +func (*TowerMonthlyBrief) Descriptor() ([]byte, []int) { + return file_TowerMonthlyBrief_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerMonthlyBrief) GetTowerScheduleId() uint32 { + if x != nil { + return x.TowerScheduleId + } + return 0 +} + +func (x *TowerMonthlyBrief) GetBestFloorIndex() uint32 { + if x != nil { + return x.BestFloorIndex + } + return 0 +} + +func (x *TowerMonthlyBrief) GetBestLevelIndex() uint32 { + if x != nil { + return x.BestLevelIndex + } + return 0 +} + +func (x *TowerMonthlyBrief) GetTotalStarCount() uint32 { + if x != nil { + return x.TotalStarCount + } + return 0 +} + +var File_TowerMonthlyBrief_proto protoreflect.FileDescriptor + +var file_TowerMonthlyBrief_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, + 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x11, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, + 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x6f, 0x77, 0x65, + 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x62, + 0x65, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x62, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x6f, 0x6f, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x62, 0x65, 0x73, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x53, 0x74, 0x61, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerMonthlyBrief_proto_rawDescOnce sync.Once + file_TowerMonthlyBrief_proto_rawDescData = file_TowerMonthlyBrief_proto_rawDesc +) + +func file_TowerMonthlyBrief_proto_rawDescGZIP() []byte { + file_TowerMonthlyBrief_proto_rawDescOnce.Do(func() { + file_TowerMonthlyBrief_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerMonthlyBrief_proto_rawDescData) + }) + return file_TowerMonthlyBrief_proto_rawDescData +} + +var file_TowerMonthlyBrief_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerMonthlyBrief_proto_goTypes = []interface{}{ + (*TowerMonthlyBrief)(nil), // 0: TowerMonthlyBrief +} +var file_TowerMonthlyBrief_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerMonthlyBrief_proto_init() } +func file_TowerMonthlyBrief_proto_init() { + if File_TowerMonthlyBrief_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerMonthlyBrief_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerMonthlyBrief); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerMonthlyBrief_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerMonthlyBrief_proto_goTypes, + DependencyIndexes: file_TowerMonthlyBrief_proto_depIdxs, + MessageInfos: file_TowerMonthlyBrief_proto_msgTypes, + }.Build() + File_TowerMonthlyBrief_proto = out.File + file_TowerMonthlyBrief_proto_rawDesc = nil + file_TowerMonthlyBrief_proto_goTypes = nil + file_TowerMonthlyBrief_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerMonthlyBrief.proto b/gate-hk4e-api/proto/TowerMonthlyBrief.proto new file mode 100644 index 00000000..ec3d1a4d --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyBrief.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TowerMonthlyBrief { + uint32 tower_schedule_id = 15; + uint32 best_floor_index = 6; + uint32 best_level_index = 3; + uint32 total_star_count = 12; +} diff --git a/gate-hk4e-api/proto/TowerMonthlyCombatRecord.pb.go b/gate-hk4e-api/proto/TowerMonthlyCombatRecord.pb.go new file mode 100644 index 00000000..d68257d1 --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyCombatRecord.pb.go @@ -0,0 +1,239 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerMonthlyCombatRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerMonthlyCombatRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MostKillAvatarPair *TowerFightRecordPair `protobuf:"bytes,14,opt,name=most_kill_avatar_pair,json=mostKillAvatarPair,proto3" json:"most_kill_avatar_pair,omitempty"` + MostCastNormalSkillAvatarPair *TowerFightRecordPair `protobuf:"bytes,8,opt,name=most_cast_normal_skill_avatar_pair,json=mostCastNormalSkillAvatarPair,proto3" json:"most_cast_normal_skill_avatar_pair,omitempty"` + MostRevealAvatarList []*TowerFightRecordPair `protobuf:"bytes,6,rep,name=most_reveal_avatar_list,json=mostRevealAvatarList,proto3" json:"most_reveal_avatar_list,omitempty"` + MostCastEnergySkillAvatarPair *TowerFightRecordPair `protobuf:"bytes,4,opt,name=most_cast_energy_skill_avatar_pair,json=mostCastEnergySkillAvatarPair,proto3" json:"most_cast_energy_skill_avatar_pair,omitempty"` + HighestDpsAvatrPair *TowerFightRecordPair `protobuf:"bytes,12,opt,name=highest_dps_avatr_pair,json=highestDpsAvatrPair,proto3" json:"highest_dps_avatr_pair,omitempty"` + MostTakeDamageAvatarPair *TowerFightRecordPair `protobuf:"bytes,9,opt,name=most_take_damage_avatar_pair,json=mostTakeDamageAvatarPair,proto3" json:"most_take_damage_avatar_pair,omitempty"` +} + +func (x *TowerMonthlyCombatRecord) Reset() { + *x = TowerMonthlyCombatRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerMonthlyCombatRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerMonthlyCombatRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerMonthlyCombatRecord) ProtoMessage() {} + +func (x *TowerMonthlyCombatRecord) ProtoReflect() protoreflect.Message { + mi := &file_TowerMonthlyCombatRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerMonthlyCombatRecord.ProtoReflect.Descriptor instead. +func (*TowerMonthlyCombatRecord) Descriptor() ([]byte, []int) { + return file_TowerMonthlyCombatRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerMonthlyCombatRecord) GetMostKillAvatarPair() *TowerFightRecordPair { + if x != nil { + return x.MostKillAvatarPair + } + return nil +} + +func (x *TowerMonthlyCombatRecord) GetMostCastNormalSkillAvatarPair() *TowerFightRecordPair { + if x != nil { + return x.MostCastNormalSkillAvatarPair + } + return nil +} + +func (x *TowerMonthlyCombatRecord) GetMostRevealAvatarList() []*TowerFightRecordPair { + if x != nil { + return x.MostRevealAvatarList + } + return nil +} + +func (x *TowerMonthlyCombatRecord) GetMostCastEnergySkillAvatarPair() *TowerFightRecordPair { + if x != nil { + return x.MostCastEnergySkillAvatarPair + } + return nil +} + +func (x *TowerMonthlyCombatRecord) GetHighestDpsAvatrPair() *TowerFightRecordPair { + if x != nil { + return x.HighestDpsAvatrPair + } + return nil +} + +func (x *TowerMonthlyCombatRecord) GetMostTakeDamageAvatarPair() *TowerFightRecordPair { + if x != nil { + return x.MostTakeDamageAvatarPair + } + return nil +} + +var File_TowerMonthlyCombatRecord_proto protoreflect.FileDescriptor + +var file_TowerMonthlyCombatRecord_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x43, 0x6f, + 0x6d, 0x62, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1a, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x04, 0x0a, + 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x43, 0x6f, 0x6d, + 0x62, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x48, 0x0a, 0x15, 0x6d, 0x6f, 0x73, + 0x74, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x70, 0x61, + 0x69, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, + 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, + 0x12, 0x6d, 0x6f, 0x73, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x50, + 0x61, 0x69, 0x72, 0x12, 0x60, 0x0a, 0x22, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x73, 0x74, + 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, 0x1d, 0x6d, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x73, 0x74, + 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x4c, 0x0a, 0x17, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, + 0x76, 0x65, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, + 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, 0x14, 0x6d, + 0x6f, 0x73, 0x74, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x60, 0x0a, 0x22, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x73, 0x74, + 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, 0x1d, 0x6d, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x73, 0x74, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x4a, 0x0a, 0x16, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, + 0x5f, 0x64, 0x70, 0x73, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x72, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, 0x13, 0x68, 0x69, + 0x67, 0x68, 0x65, 0x73, 0x74, 0x44, 0x70, 0x73, 0x41, 0x76, 0x61, 0x74, 0x72, 0x50, 0x61, 0x69, + 0x72, 0x12, 0x55, 0x0a, 0x1c, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x64, + 0x61, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x70, 0x61, 0x69, + 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x46, + 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x52, 0x18, + 0x6d, 0x6f, 0x73, 0x74, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x50, 0x61, 0x69, 0x72, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerMonthlyCombatRecord_proto_rawDescOnce sync.Once + file_TowerMonthlyCombatRecord_proto_rawDescData = file_TowerMonthlyCombatRecord_proto_rawDesc +) + +func file_TowerMonthlyCombatRecord_proto_rawDescGZIP() []byte { + file_TowerMonthlyCombatRecord_proto_rawDescOnce.Do(func() { + file_TowerMonthlyCombatRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerMonthlyCombatRecord_proto_rawDescData) + }) + return file_TowerMonthlyCombatRecord_proto_rawDescData +} + +var file_TowerMonthlyCombatRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerMonthlyCombatRecord_proto_goTypes = []interface{}{ + (*TowerMonthlyCombatRecord)(nil), // 0: TowerMonthlyCombatRecord + (*TowerFightRecordPair)(nil), // 1: TowerFightRecordPair +} +var file_TowerMonthlyCombatRecord_proto_depIdxs = []int32{ + 1, // 0: TowerMonthlyCombatRecord.most_kill_avatar_pair:type_name -> TowerFightRecordPair + 1, // 1: TowerMonthlyCombatRecord.most_cast_normal_skill_avatar_pair:type_name -> TowerFightRecordPair + 1, // 2: TowerMonthlyCombatRecord.most_reveal_avatar_list:type_name -> TowerFightRecordPair + 1, // 3: TowerMonthlyCombatRecord.most_cast_energy_skill_avatar_pair:type_name -> TowerFightRecordPair + 1, // 4: TowerMonthlyCombatRecord.highest_dps_avatr_pair:type_name -> TowerFightRecordPair + 1, // 5: TowerMonthlyCombatRecord.most_take_damage_avatar_pair:type_name -> TowerFightRecordPair + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_TowerMonthlyCombatRecord_proto_init() } +func file_TowerMonthlyCombatRecord_proto_init() { + if File_TowerMonthlyCombatRecord_proto != nil { + return + } + file_TowerFightRecordPair_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerMonthlyCombatRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerMonthlyCombatRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerMonthlyCombatRecord_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerMonthlyCombatRecord_proto_goTypes, + DependencyIndexes: file_TowerMonthlyCombatRecord_proto_depIdxs, + MessageInfos: file_TowerMonthlyCombatRecord_proto_msgTypes, + }.Build() + File_TowerMonthlyCombatRecord_proto = out.File + file_TowerMonthlyCombatRecord_proto_rawDesc = nil + file_TowerMonthlyCombatRecord_proto_goTypes = nil + file_TowerMonthlyCombatRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerMonthlyCombatRecord.proto b/gate-hk4e-api/proto/TowerMonthlyCombatRecord.proto new file mode 100644 index 00000000..18208cc0 --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyCombatRecord.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerFightRecordPair.proto"; + +option go_package = "./;proto"; + +message TowerMonthlyCombatRecord { + TowerFightRecordPair most_kill_avatar_pair = 14; + TowerFightRecordPair most_cast_normal_skill_avatar_pair = 8; + repeated TowerFightRecordPair most_reveal_avatar_list = 6; + TowerFightRecordPair most_cast_energy_skill_avatar_pair = 4; + TowerFightRecordPair highest_dps_avatr_pair = 12; + TowerFightRecordPair most_take_damage_avatar_pair = 9; +} diff --git a/gate-hk4e-api/proto/TowerMonthlyDetail.pb.go b/gate-hk4e-api/proto/TowerMonthlyDetail.pb.go new file mode 100644 index 00000000..e87d0444 --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyDetail.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerMonthlyDetail.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerMonthlyDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonthlyCombatRecord *TowerMonthlyCombatRecord `protobuf:"bytes,2,opt,name=monthly_combat_record,json=monthlyCombatRecord,proto3" json:"monthly_combat_record,omitempty"` + MonthlyBrief *TowerMonthlyBrief `protobuf:"bytes,12,opt,name=monthly_brief,json=monthlyBrief,proto3" json:"monthly_brief,omitempty"` +} + +func (x *TowerMonthlyDetail) Reset() { + *x = TowerMonthlyDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerMonthlyDetail_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerMonthlyDetail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerMonthlyDetail) ProtoMessage() {} + +func (x *TowerMonthlyDetail) ProtoReflect() protoreflect.Message { + mi := &file_TowerMonthlyDetail_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerMonthlyDetail.ProtoReflect.Descriptor instead. +func (*TowerMonthlyDetail) Descriptor() ([]byte, []int) { + return file_TowerMonthlyDetail_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerMonthlyDetail) GetMonthlyCombatRecord() *TowerMonthlyCombatRecord { + if x != nil { + return x.MonthlyCombatRecord + } + return nil +} + +func (x *TowerMonthlyDetail) GetMonthlyBrief() *TowerMonthlyBrief { + if x != nil { + return x.MonthlyBrief + } + return nil +} + +var File_TowerMonthlyDetail_proto protoreflect.FileDescriptor + +var file_TowerMonthlyDetail_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, + 0x79, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, + 0x74, 0x68, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x4d, 0x0a, 0x15, 0x6d, 0x6f, + 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x52, 0x13, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x43, 0x6f, 0x6d, + 0x62, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x37, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, + 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x52, 0x0c, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x72, 0x69, + 0x65, 0x66, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerMonthlyDetail_proto_rawDescOnce sync.Once + file_TowerMonthlyDetail_proto_rawDescData = file_TowerMonthlyDetail_proto_rawDesc +) + +func file_TowerMonthlyDetail_proto_rawDescGZIP() []byte { + file_TowerMonthlyDetail_proto_rawDescOnce.Do(func() { + file_TowerMonthlyDetail_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerMonthlyDetail_proto_rawDescData) + }) + return file_TowerMonthlyDetail_proto_rawDescData +} + +var file_TowerMonthlyDetail_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerMonthlyDetail_proto_goTypes = []interface{}{ + (*TowerMonthlyDetail)(nil), // 0: TowerMonthlyDetail + (*TowerMonthlyCombatRecord)(nil), // 1: TowerMonthlyCombatRecord + (*TowerMonthlyBrief)(nil), // 2: TowerMonthlyBrief +} +var file_TowerMonthlyDetail_proto_depIdxs = []int32{ + 1, // 0: TowerMonthlyDetail.monthly_combat_record:type_name -> TowerMonthlyCombatRecord + 2, // 1: TowerMonthlyDetail.monthly_brief:type_name -> TowerMonthlyBrief + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TowerMonthlyDetail_proto_init() } +func file_TowerMonthlyDetail_proto_init() { + if File_TowerMonthlyDetail_proto != nil { + return + } + file_TowerMonthlyBrief_proto_init() + file_TowerMonthlyCombatRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerMonthlyDetail_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerMonthlyDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerMonthlyDetail_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerMonthlyDetail_proto_goTypes, + DependencyIndexes: file_TowerMonthlyDetail_proto_depIdxs, + MessageInfos: file_TowerMonthlyDetail_proto_msgTypes, + }.Build() + File_TowerMonthlyDetail_proto = out.File + file_TowerMonthlyDetail_proto_rawDesc = nil + file_TowerMonthlyDetail_proto_goTypes = nil + file_TowerMonthlyDetail_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerMonthlyDetail.proto b/gate-hk4e-api/proto/TowerMonthlyDetail.proto new file mode 100644 index 00000000..31d4d9d5 --- /dev/null +++ b/gate-hk4e-api/proto/TowerMonthlyDetail.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerMonthlyBrief.proto"; +import "TowerMonthlyCombatRecord.proto"; + +option go_package = "./;proto"; + +message TowerMonthlyDetail { + TowerMonthlyCombatRecord monthly_combat_record = 2; + TowerMonthlyBrief monthly_brief = 12; +} diff --git a/gate-hk4e-api/proto/TowerRecordHandbookReq.pb.go b/gate-hk4e-api/proto/TowerRecordHandbookReq.pb.go new file mode 100644 index 00000000..5efe1492 --- /dev/null +++ b/gate-hk4e-api/proto/TowerRecordHandbookReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerRecordHandbookReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2450 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerRecordHandbookReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TowerRecordHandbookReq) Reset() { + *x = TowerRecordHandbookReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerRecordHandbookReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerRecordHandbookReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerRecordHandbookReq) ProtoMessage() {} + +func (x *TowerRecordHandbookReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerRecordHandbookReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerRecordHandbookReq.ProtoReflect.Descriptor instead. +func (*TowerRecordHandbookReq) Descriptor() ([]byte, []int) { + return file_TowerRecordHandbookReq_proto_rawDescGZIP(), []int{0} +} + +var File_TowerRecordHandbookReq_proto protoreflect.FileDescriptor + +var file_TowerRecordHandbookReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x6e, + 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, + 0x0a, 0x16, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x6e, + 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerRecordHandbookReq_proto_rawDescOnce sync.Once + file_TowerRecordHandbookReq_proto_rawDescData = file_TowerRecordHandbookReq_proto_rawDesc +) + +func file_TowerRecordHandbookReq_proto_rawDescGZIP() []byte { + file_TowerRecordHandbookReq_proto_rawDescOnce.Do(func() { + file_TowerRecordHandbookReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerRecordHandbookReq_proto_rawDescData) + }) + return file_TowerRecordHandbookReq_proto_rawDescData +} + +var file_TowerRecordHandbookReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerRecordHandbookReq_proto_goTypes = []interface{}{ + (*TowerRecordHandbookReq)(nil), // 0: TowerRecordHandbookReq +} +var file_TowerRecordHandbookReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerRecordHandbookReq_proto_init() } +func file_TowerRecordHandbookReq_proto_init() { + if File_TowerRecordHandbookReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerRecordHandbookReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerRecordHandbookReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerRecordHandbookReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerRecordHandbookReq_proto_goTypes, + DependencyIndexes: file_TowerRecordHandbookReq_proto_depIdxs, + MessageInfos: file_TowerRecordHandbookReq_proto_msgTypes, + }.Build() + File_TowerRecordHandbookReq_proto = out.File + file_TowerRecordHandbookReq_proto_rawDesc = nil + file_TowerRecordHandbookReq_proto_goTypes = nil + file_TowerRecordHandbookReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerRecordHandbookReq.proto b/gate-hk4e-api/proto/TowerRecordHandbookReq.proto new file mode 100644 index 00000000..9296a392 --- /dev/null +++ b/gate-hk4e-api/proto/TowerRecordHandbookReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2450 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerRecordHandbookReq {} diff --git a/gate-hk4e-api/proto/TowerRecordHandbookRsp.pb.go b/gate-hk4e-api/proto/TowerRecordHandbookRsp.pb.go new file mode 100644 index 00000000..c3654765 --- /dev/null +++ b/gate-hk4e-api/proto/TowerRecordHandbookRsp.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerRecordHandbookRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2443 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerRecordHandbookRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + MonthlyDetailList []*TowerMonthlyDetail `protobuf:"bytes,14,rep,name=monthly_detail_list,json=monthlyDetailList,proto3" json:"monthly_detail_list,omitempty"` +} + +func (x *TowerRecordHandbookRsp) Reset() { + *x = TowerRecordHandbookRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerRecordHandbookRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerRecordHandbookRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerRecordHandbookRsp) ProtoMessage() {} + +func (x *TowerRecordHandbookRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerRecordHandbookRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerRecordHandbookRsp.ProtoReflect.Descriptor instead. +func (*TowerRecordHandbookRsp) Descriptor() ([]byte, []int) { + return file_TowerRecordHandbookRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerRecordHandbookRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TowerRecordHandbookRsp) GetMonthlyDetailList() []*TowerMonthlyDetail { + if x != nil { + return x.MonthlyDetailList + } + return nil +} + +var File_TowerRecordHandbookRsp_proto protoreflect.FileDescriptor + +var file_TowerRecordHandbookRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x6e, + 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x16, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x62, 0x6f, 0x6f, 0x6b, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x43, 0x0a, 0x13, + 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x11, + 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerRecordHandbookRsp_proto_rawDescOnce sync.Once + file_TowerRecordHandbookRsp_proto_rawDescData = file_TowerRecordHandbookRsp_proto_rawDesc +) + +func file_TowerRecordHandbookRsp_proto_rawDescGZIP() []byte { + file_TowerRecordHandbookRsp_proto_rawDescOnce.Do(func() { + file_TowerRecordHandbookRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerRecordHandbookRsp_proto_rawDescData) + }) + return file_TowerRecordHandbookRsp_proto_rawDescData +} + +var file_TowerRecordHandbookRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerRecordHandbookRsp_proto_goTypes = []interface{}{ + (*TowerRecordHandbookRsp)(nil), // 0: TowerRecordHandbookRsp + (*TowerMonthlyDetail)(nil), // 1: TowerMonthlyDetail +} +var file_TowerRecordHandbookRsp_proto_depIdxs = []int32{ + 1, // 0: TowerRecordHandbookRsp.monthly_detail_list:type_name -> TowerMonthlyDetail + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerRecordHandbookRsp_proto_init() } +func file_TowerRecordHandbookRsp_proto_init() { + if File_TowerRecordHandbookRsp_proto != nil { + return + } + file_TowerMonthlyDetail_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerRecordHandbookRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerRecordHandbookRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerRecordHandbookRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerRecordHandbookRsp_proto_goTypes, + DependencyIndexes: file_TowerRecordHandbookRsp_proto_depIdxs, + MessageInfos: file_TowerRecordHandbookRsp_proto_msgTypes, + }.Build() + File_TowerRecordHandbookRsp_proto = out.File + file_TowerRecordHandbookRsp_proto_rawDesc = nil + file_TowerRecordHandbookRsp_proto_goTypes = nil + file_TowerRecordHandbookRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerRecordHandbookRsp.proto b/gate-hk4e-api/proto/TowerRecordHandbookRsp.proto new file mode 100644 index 00000000..86ebcaa9 --- /dev/null +++ b/gate-hk4e-api/proto/TowerRecordHandbookRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerMonthlyDetail.proto"; + +option go_package = "./;proto"; + +// CmdId: 2443 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerRecordHandbookRsp { + int32 retcode = 7; + repeated TowerMonthlyDetail monthly_detail_list = 14; +} diff --git a/gate-hk4e-api/proto/TowerSurrenderReq.pb.go b/gate-hk4e-api/proto/TowerSurrenderReq.pb.go new file mode 100644 index 00000000..49a85b9b --- /dev/null +++ b/gate-hk4e-api/proto/TowerSurrenderReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerSurrenderReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2422 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerSurrenderReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TowerSurrenderReq) Reset() { + *x = TowerSurrenderReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerSurrenderReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerSurrenderReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerSurrenderReq) ProtoMessage() {} + +func (x *TowerSurrenderReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerSurrenderReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerSurrenderReq.ProtoReflect.Descriptor instead. +func (*TowerSurrenderReq) Descriptor() ([]byte, []int) { + return file_TowerSurrenderReq_proto_rawDescGZIP(), []int{0} +} + +var File_TowerSurrenderReq_proto protoreflect.FileDescriptor + +var file_TowerSurrenderReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x54, 0x6f, 0x77, + 0x65, 0x72, 0x53, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_TowerSurrenderReq_proto_rawDescOnce sync.Once + file_TowerSurrenderReq_proto_rawDescData = file_TowerSurrenderReq_proto_rawDesc +) + +func file_TowerSurrenderReq_proto_rawDescGZIP() []byte { + file_TowerSurrenderReq_proto_rawDescOnce.Do(func() { + file_TowerSurrenderReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerSurrenderReq_proto_rawDescData) + }) + return file_TowerSurrenderReq_proto_rawDescData +} + +var file_TowerSurrenderReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerSurrenderReq_proto_goTypes = []interface{}{ + (*TowerSurrenderReq)(nil), // 0: TowerSurrenderReq +} +var file_TowerSurrenderReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerSurrenderReq_proto_init() } +func file_TowerSurrenderReq_proto_init() { + if File_TowerSurrenderReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerSurrenderReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerSurrenderReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerSurrenderReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerSurrenderReq_proto_goTypes, + DependencyIndexes: file_TowerSurrenderReq_proto_depIdxs, + MessageInfos: file_TowerSurrenderReq_proto_msgTypes, + }.Build() + File_TowerSurrenderReq_proto = out.File + file_TowerSurrenderReq_proto_rawDesc = nil + file_TowerSurrenderReq_proto_goTypes = nil + file_TowerSurrenderReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerSurrenderReq.proto b/gate-hk4e-api/proto/TowerSurrenderReq.proto new file mode 100644 index 00000000..3cdf303a --- /dev/null +++ b/gate-hk4e-api/proto/TowerSurrenderReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2422 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerSurrenderReq {} diff --git a/gate-hk4e-api/proto/TowerSurrenderRsp.pb.go b/gate-hk4e-api/proto/TowerSurrenderRsp.pb.go new file mode 100644 index 00000000..7987c151 --- /dev/null +++ b/gate-hk4e-api/proto/TowerSurrenderRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerSurrenderRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2465 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerSurrenderRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TowerSurrenderRsp) Reset() { + *x = TowerSurrenderRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerSurrenderRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerSurrenderRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerSurrenderRsp) ProtoMessage() {} + +func (x *TowerSurrenderRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerSurrenderRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerSurrenderRsp.ProtoReflect.Descriptor instead. +func (*TowerSurrenderRsp) Descriptor() ([]byte, []int) { + return file_TowerSurrenderRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerSurrenderRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TowerSurrenderRsp_proto protoreflect.FileDescriptor + +var file_TowerSurrenderRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x54, 0x6f, 0x77, + 0x65, 0x72, 0x53, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerSurrenderRsp_proto_rawDescOnce sync.Once + file_TowerSurrenderRsp_proto_rawDescData = file_TowerSurrenderRsp_proto_rawDesc +) + +func file_TowerSurrenderRsp_proto_rawDescGZIP() []byte { + file_TowerSurrenderRsp_proto_rawDescOnce.Do(func() { + file_TowerSurrenderRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerSurrenderRsp_proto_rawDescData) + }) + return file_TowerSurrenderRsp_proto_rawDescData +} + +var file_TowerSurrenderRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerSurrenderRsp_proto_goTypes = []interface{}{ + (*TowerSurrenderRsp)(nil), // 0: TowerSurrenderRsp +} +var file_TowerSurrenderRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerSurrenderRsp_proto_init() } +func file_TowerSurrenderRsp_proto_init() { + if File_TowerSurrenderRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerSurrenderRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerSurrenderRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerSurrenderRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerSurrenderRsp_proto_goTypes, + DependencyIndexes: file_TowerSurrenderRsp_proto_depIdxs, + MessageInfos: file_TowerSurrenderRsp_proto_msgTypes, + }.Build() + File_TowerSurrenderRsp_proto = out.File + file_TowerSurrenderRsp_proto_rawDesc = nil + file_TowerSurrenderRsp_proto_goTypes = nil + file_TowerSurrenderRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerSurrenderRsp.proto b/gate-hk4e-api/proto/TowerSurrenderRsp.proto new file mode 100644 index 00000000..b4042b84 --- /dev/null +++ b/gate-hk4e-api/proto/TowerSurrenderRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2465 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerSurrenderRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/TowerTeam.pb.go b/gate-hk4e-api/proto/TowerTeam.pb.go new file mode 100644 index 00000000..dada00b1 --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeam.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerTeam.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TowerTeam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerTeamId uint32 `protobuf:"varint,3,opt,name=tower_team_id,json=towerTeamId,proto3" json:"tower_team_id,omitempty"` + AvatarGuidList []uint64 `protobuf:"varint,14,rep,packed,name=avatar_guid_list,json=avatarGuidList,proto3" json:"avatar_guid_list,omitempty"` +} + +func (x *TowerTeam) Reset() { + *x = TowerTeam{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerTeam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerTeam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerTeam) ProtoMessage() {} + +func (x *TowerTeam) ProtoReflect() protoreflect.Message { + mi := &file_TowerTeam_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerTeam.ProtoReflect.Descriptor instead. +func (*TowerTeam) Descriptor() ([]byte, []int) { + return file_TowerTeam_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerTeam) GetTowerTeamId() uint32 { + if x != nil { + return x.TowerTeamId + } + return 0 +} + +func (x *TowerTeam) GetAvatarGuidList() []uint64 { + if x != nil { + return x.AvatarGuidList + } + return nil +} + +var File_TowerTeam_proto protoreflect.FileDescriptor + +var file_TowerTeam_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x59, 0x0a, 0x09, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x22, + 0x0a, 0x0d, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, + 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerTeam_proto_rawDescOnce sync.Once + file_TowerTeam_proto_rawDescData = file_TowerTeam_proto_rawDesc +) + +func file_TowerTeam_proto_rawDescGZIP() []byte { + file_TowerTeam_proto_rawDescOnce.Do(func() { + file_TowerTeam_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerTeam_proto_rawDescData) + }) + return file_TowerTeam_proto_rawDescData +} + +var file_TowerTeam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerTeam_proto_goTypes = []interface{}{ + (*TowerTeam)(nil), // 0: TowerTeam +} +var file_TowerTeam_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerTeam_proto_init() } +func file_TowerTeam_proto_init() { + if File_TowerTeam_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerTeam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerTeam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerTeam_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerTeam_proto_goTypes, + DependencyIndexes: file_TowerTeam_proto_depIdxs, + MessageInfos: file_TowerTeam_proto_msgTypes, + }.Build() + File_TowerTeam_proto = out.File + file_TowerTeam_proto_rawDesc = nil + file_TowerTeam_proto_goTypes = nil + file_TowerTeam_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerTeam.proto b/gate-hk4e-api/proto/TowerTeam.proto new file mode 100644 index 00000000..42690459 --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeam.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TowerTeam { + uint32 tower_team_id = 3; + repeated uint64 avatar_guid_list = 14; +} diff --git a/gate-hk4e-api/proto/TowerTeamSelectReq.pb.go b/gate-hk4e-api/proto/TowerTeamSelectReq.pb.go new file mode 100644 index 00000000..49f394b8 --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeamSelectReq.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerTeamSelectReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TowerTeamSelectReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TowerTeamList []*TowerTeam `protobuf:"bytes,11,rep,name=tower_team_list,json=towerTeamList,proto3" json:"tower_team_list,omitempty"` + FloorId uint32 `protobuf:"varint,10,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"` +} + +func (x *TowerTeamSelectReq) Reset() { + *x = TowerTeamSelectReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerTeamSelectReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerTeamSelectReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerTeamSelectReq) ProtoMessage() {} + +func (x *TowerTeamSelectReq) ProtoReflect() protoreflect.Message { + mi := &file_TowerTeamSelectReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerTeamSelectReq.ProtoReflect.Descriptor instead. +func (*TowerTeamSelectReq) Descriptor() ([]byte, []int) { + return file_TowerTeamSelectReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerTeamSelectReq) GetTowerTeamList() []*TowerTeam { + if x != nil { + return x.TowerTeamList + } + return nil +} + +func (x *TowerTeamSelectReq) GetFloorId() uint32 { + if x != nil { + return x.FloorId + } + return 0 +} + +var File_TowerTeamSelectReq_proto protoreflect.FileDescriptor + +var file_TowerTeamSelectReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x12, 0x54, + 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x32, 0x0a, 0x0f, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x54, 0x6f, 0x77, + 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x0d, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerTeamSelectReq_proto_rawDescOnce sync.Once + file_TowerTeamSelectReq_proto_rawDescData = file_TowerTeamSelectReq_proto_rawDesc +) + +func file_TowerTeamSelectReq_proto_rawDescGZIP() []byte { + file_TowerTeamSelectReq_proto_rawDescOnce.Do(func() { + file_TowerTeamSelectReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerTeamSelectReq_proto_rawDescData) + }) + return file_TowerTeamSelectReq_proto_rawDescData +} + +var file_TowerTeamSelectReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerTeamSelectReq_proto_goTypes = []interface{}{ + (*TowerTeamSelectReq)(nil), // 0: TowerTeamSelectReq + (*TowerTeam)(nil), // 1: TowerTeam +} +var file_TowerTeamSelectReq_proto_depIdxs = []int32{ + 1, // 0: TowerTeamSelectReq.tower_team_list:type_name -> TowerTeam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TowerTeamSelectReq_proto_init() } +func file_TowerTeamSelectReq_proto_init() { + if File_TowerTeamSelectReq_proto != nil { + return + } + file_TowerTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_TowerTeamSelectReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerTeamSelectReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerTeamSelectReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerTeamSelectReq_proto_goTypes, + DependencyIndexes: file_TowerTeamSelectReq_proto_depIdxs, + MessageInfos: file_TowerTeamSelectReq_proto_msgTypes, + }.Build() + File_TowerTeamSelectReq_proto = out.File + file_TowerTeamSelectReq_proto_rawDesc = nil + file_TowerTeamSelectReq_proto_goTypes = nil + file_TowerTeamSelectReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerTeamSelectReq.proto b/gate-hk4e-api/proto/TowerTeamSelectReq.proto new file mode 100644 index 00000000..8aa88afd --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeamSelectReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TowerTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 2421 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TowerTeamSelectReq { + repeated TowerTeam tower_team_list = 11; + uint32 floor_id = 10; +} diff --git a/gate-hk4e-api/proto/TowerTeamSelectRsp.pb.go b/gate-hk4e-api/proto/TowerTeamSelectRsp.pb.go new file mode 100644 index 00000000..5d896e86 --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeamSelectRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TowerTeamSelectRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2403 +// EnetChannelId: 0 +// EnetIsReliable: true +type TowerTeamSelectRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TowerTeamSelectRsp) Reset() { + *x = TowerTeamSelectRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TowerTeamSelectRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerTeamSelectRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerTeamSelectRsp) ProtoMessage() {} + +func (x *TowerTeamSelectRsp) ProtoReflect() protoreflect.Message { + mi := &file_TowerTeamSelectRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TowerTeamSelectRsp.ProtoReflect.Descriptor instead. +func (*TowerTeamSelectRsp) Descriptor() ([]byte, []int) { + return file_TowerTeamSelectRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TowerTeamSelectRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TowerTeamSelectRsp_proto protoreflect.FileDescriptor + +var file_TowerTeamSelectRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x12, 0x54, 0x6f, + 0x77, 0x65, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x73, 0x70, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TowerTeamSelectRsp_proto_rawDescOnce sync.Once + file_TowerTeamSelectRsp_proto_rawDescData = file_TowerTeamSelectRsp_proto_rawDesc +) + +func file_TowerTeamSelectRsp_proto_rawDescGZIP() []byte { + file_TowerTeamSelectRsp_proto_rawDescOnce.Do(func() { + file_TowerTeamSelectRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TowerTeamSelectRsp_proto_rawDescData) + }) + return file_TowerTeamSelectRsp_proto_rawDescData +} + +var file_TowerTeamSelectRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TowerTeamSelectRsp_proto_goTypes = []interface{}{ + (*TowerTeamSelectRsp)(nil), // 0: TowerTeamSelectRsp +} +var file_TowerTeamSelectRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TowerTeamSelectRsp_proto_init() } +func file_TowerTeamSelectRsp_proto_init() { + if File_TowerTeamSelectRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TowerTeamSelectRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerTeamSelectRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TowerTeamSelectRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TowerTeamSelectRsp_proto_goTypes, + DependencyIndexes: file_TowerTeamSelectRsp_proto_depIdxs, + MessageInfos: file_TowerTeamSelectRsp_proto_msgTypes, + }.Build() + File_TowerTeamSelectRsp_proto = out.File + file_TowerTeamSelectRsp_proto_rawDesc = nil + file_TowerTeamSelectRsp_proto_goTypes = nil + file_TowerTeamSelectRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TowerTeamSelectRsp.proto b/gate-hk4e-api/proto/TowerTeamSelectRsp.proto new file mode 100644 index 00000000..1b66d9c3 --- /dev/null +++ b/gate-hk4e-api/proto/TowerTeamSelectRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2403 +// EnetChannelId: 0 +// EnetIsReliable: true +message TowerTeamSelectRsp { + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/TrackingIOInfo.pb.go b/gate-hk4e-api/proto/TrackingIOInfo.pb.go new file mode 100644 index 00000000..0cc4c419 --- /dev/null +++ b/gate-hk4e-api/proto/TrackingIOInfo.pb.go @@ -0,0 +1,217 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrackingIOInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TrackingIOInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rydevicetype string `protobuf:"bytes,11,opt,name=rydevicetype,proto3" json:"rydevicetype,omitempty"` + Mac string `protobuf:"bytes,6,opt,name=mac,proto3" json:"mac,omitempty"` + Deviceid string `protobuf:"bytes,9,opt,name=deviceid,proto3" json:"deviceid,omitempty"` + ClientTz string `protobuf:"bytes,5,opt,name=client_tz,json=clientTz,proto3" json:"client_tz,omitempty"` + CurrentCaid string `protobuf:"bytes,7,opt,name=current_caid,json=currentCaid,proto3" json:"current_caid,omitempty"` + CachedCaid string `protobuf:"bytes,15,opt,name=cached_caid,json=cachedCaid,proto3" json:"cached_caid,omitempty"` + Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"` +} + +func (x *TrackingIOInfo) Reset() { + *x = TrackingIOInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TrackingIOInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrackingIOInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrackingIOInfo) ProtoMessage() {} + +func (x *TrackingIOInfo) ProtoReflect() protoreflect.Message { + mi := &file_TrackingIOInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrackingIOInfo.ProtoReflect.Descriptor instead. +func (*TrackingIOInfo) Descriptor() ([]byte, []int) { + return file_TrackingIOInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TrackingIOInfo) GetRydevicetype() string { + if x != nil { + return x.Rydevicetype + } + return "" +} + +func (x *TrackingIOInfo) GetMac() string { + if x != nil { + return x.Mac + } + return "" +} + +func (x *TrackingIOInfo) GetDeviceid() string { + if x != nil { + return x.Deviceid + } + return "" +} + +func (x *TrackingIOInfo) GetClientTz() string { + if x != nil { + return x.ClientTz + } + return "" +} + +func (x *TrackingIOInfo) GetCurrentCaid() string { + if x != nil { + return x.CurrentCaid + } + return "" +} + +func (x *TrackingIOInfo) GetCachedCaid() string { + if x != nil { + return x.CachedCaid + } + return "" +} + +func (x *TrackingIOInfo) GetAppid() string { + if x != nil { + return x.Appid + } + return "" +} + +var File_TrackingIOInfo_proto protoreflect.FileDescriptor + +var file_TrackingIOInfo_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x63, 0x6b, + 0x69, 0x6e, 0x67, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x79, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x72, 0x79, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6d, 0x61, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x61, 0x63, 0x12, + 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x7a, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x7a, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x61, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrackingIOInfo_proto_rawDescOnce sync.Once + file_TrackingIOInfo_proto_rawDescData = file_TrackingIOInfo_proto_rawDesc +) + +func file_TrackingIOInfo_proto_rawDescGZIP() []byte { + file_TrackingIOInfo_proto_rawDescOnce.Do(func() { + file_TrackingIOInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrackingIOInfo_proto_rawDescData) + }) + return file_TrackingIOInfo_proto_rawDescData +} + +var file_TrackingIOInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrackingIOInfo_proto_goTypes = []interface{}{ + (*TrackingIOInfo)(nil), // 0: TrackingIOInfo +} +var file_TrackingIOInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TrackingIOInfo_proto_init() } +func file_TrackingIOInfo_proto_init() { + if File_TrackingIOInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TrackingIOInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackingIOInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrackingIOInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrackingIOInfo_proto_goTypes, + DependencyIndexes: file_TrackingIOInfo_proto_depIdxs, + MessageInfos: file_TrackingIOInfo_proto_msgTypes, + }.Build() + File_TrackingIOInfo_proto = out.File + file_TrackingIOInfo_proto_rawDesc = nil + file_TrackingIOInfo_proto_goTypes = nil + file_TrackingIOInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrackingIOInfo.proto b/gate-hk4e-api/proto/TrackingIOInfo.proto new file mode 100644 index 00000000..9f2ae7c9 --- /dev/null +++ b/gate-hk4e-api/proto/TrackingIOInfo.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TrackingIOInfo { + string rydevicetype = 11; + string mac = 6; + string deviceid = 9; + string client_tz = 5; + string current_caid = 7; + string cached_caid = 15; + string appid = 1; +} diff --git a/gate-hk4e-api/proto/TransmitReason.pb.go b/gate-hk4e-api/proto/TransmitReason.pb.go new file mode 100644 index 00000000..817a8389 --- /dev/null +++ b/gate-hk4e-api/proto/TransmitReason.pb.go @@ -0,0 +1,145 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TransmitReason.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TransmitReason int32 + +const ( + TransmitReason_TRANSMIT_REASON_NONE TransmitReason = 0 + TransmitReason_TRANSMIT_REASON_QUEST TransmitReason = 1 +) + +// Enum value maps for TransmitReason. +var ( + TransmitReason_name = map[int32]string{ + 0: "TRANSMIT_REASON_NONE", + 1: "TRANSMIT_REASON_QUEST", + } + TransmitReason_value = map[string]int32{ + "TRANSMIT_REASON_NONE": 0, + "TRANSMIT_REASON_QUEST": 1, + } +) + +func (x TransmitReason) Enum() *TransmitReason { + p := new(TransmitReason) + *p = x + return p +} + +func (x TransmitReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransmitReason) Descriptor() protoreflect.EnumDescriptor { + return file_TransmitReason_proto_enumTypes[0].Descriptor() +} + +func (TransmitReason) Type() protoreflect.EnumType { + return &file_TransmitReason_proto_enumTypes[0] +} + +func (x TransmitReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransmitReason.Descriptor instead. +func (TransmitReason) EnumDescriptor() ([]byte, []int) { + return file_TransmitReason_proto_rawDescGZIP(), []int{0} +} + +var File_TransmitReason_proto protoreflect.FileDescriptor + +var file_TransmitReason_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x45, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6d, + 0x69, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x4d, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, + 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4d, 0x49, 0x54, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_TransmitReason_proto_rawDescOnce sync.Once + file_TransmitReason_proto_rawDescData = file_TransmitReason_proto_rawDesc +) + +func file_TransmitReason_proto_rawDescGZIP() []byte { + file_TransmitReason_proto_rawDescOnce.Do(func() { + file_TransmitReason_proto_rawDescData = protoimpl.X.CompressGZIP(file_TransmitReason_proto_rawDescData) + }) + return file_TransmitReason_proto_rawDescData +} + +var file_TransmitReason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_TransmitReason_proto_goTypes = []interface{}{ + (TransmitReason)(0), // 0: TransmitReason +} +var file_TransmitReason_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TransmitReason_proto_init() } +func file_TransmitReason_proto_init() { + if File_TransmitReason_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TransmitReason_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TransmitReason_proto_goTypes, + DependencyIndexes: file_TransmitReason_proto_depIdxs, + EnumInfos: file_TransmitReason_proto_enumTypes, + }.Build() + File_TransmitReason_proto = out.File + file_TransmitReason_proto_rawDesc = nil + file_TransmitReason_proto_goTypes = nil + file_TransmitReason_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TransmitReason.proto b/gate-hk4e-api/proto/TransmitReason.proto new file mode 100644 index 00000000..ab3532f0 --- /dev/null +++ b/gate-hk4e-api/proto/TransmitReason.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum TransmitReason { + TRANSMIT_REASON_NONE = 0; + TRANSMIT_REASON_QUEST = 1; +} diff --git a/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.pb.go b/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.pb.go new file mode 100644 index 00000000..614a7a89 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TreasureMapActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActiveRegionIndex uint32 `protobuf:"varint,1,opt,name=active_region_index,json=activeRegionIndex,proto3" json:"active_region_index,omitempty"` + RegionInfoList []*TreasureMapRegionInfo `protobuf:"bytes,6,rep,name=region_info_list,json=regionInfoList,proto3" json:"region_info_list,omitempty"` + IsMpChallengeTouched bool `protobuf:"varint,7,opt,name=is_mp_challenge_touched,json=isMpChallengeTouched,proto3" json:"is_mp_challenge_touched,omitempty"` + TreasureCloseTime uint32 `protobuf:"varint,10,opt,name=treasure_close_time,json=treasureCloseTime,proto3" json:"treasure_close_time,omitempty"` + BonusChallengeList []*TreasureMapBonusChallengeInfo `protobuf:"bytes,5,rep,name=bonus_challenge_list,json=bonusChallengeList,proto3" json:"bonus_challenge_list,omitempty"` + CurrencyNum uint32 `protobuf:"varint,2,opt,name=currency_num,json=currencyNum,proto3" json:"currency_num,omitempty"` + PreviewRewardId uint32 `protobuf:"varint,14,opt,name=preview_reward_id,json=previewRewardId,proto3" json:"preview_reward_id,omitempty"` + MinOpenPlayerLevel uint32 `protobuf:"varint,8,opt,name=min_open_player_level,json=minOpenPlayerLevel,proto3" json:"min_open_player_level,omitempty"` + TotalMpSpotNum uint32 `protobuf:"varint,13,opt,name=total_mp_spot_num,json=totalMpSpotNum,proto3" json:"total_mp_spot_num,omitempty"` +} + +func (x *TreasureMapActivityDetailInfo) Reset() { + *x = TreasureMapActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapActivityDetailInfo) ProtoMessage() {} + +func (x *TreasureMapActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*TreasureMapActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_TreasureMapActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapActivityDetailInfo) GetActiveRegionIndex() uint32 { + if x != nil { + return x.ActiveRegionIndex + } + return 0 +} + +func (x *TreasureMapActivityDetailInfo) GetRegionInfoList() []*TreasureMapRegionInfo { + if x != nil { + return x.RegionInfoList + } + return nil +} + +func (x *TreasureMapActivityDetailInfo) GetIsMpChallengeTouched() bool { + if x != nil { + return x.IsMpChallengeTouched + } + return false +} + +func (x *TreasureMapActivityDetailInfo) GetTreasureCloseTime() uint32 { + if x != nil { + return x.TreasureCloseTime + } + return 0 +} + +func (x *TreasureMapActivityDetailInfo) GetBonusChallengeList() []*TreasureMapBonusChallengeInfo { + if x != nil { + return x.BonusChallengeList + } + return nil +} + +func (x *TreasureMapActivityDetailInfo) GetCurrencyNum() uint32 { + if x != nil { + return x.CurrencyNum + } + return 0 +} + +func (x *TreasureMapActivityDetailInfo) GetPreviewRewardId() uint32 { + if x != nil { + return x.PreviewRewardId + } + return 0 +} + +func (x *TreasureMapActivityDetailInfo) GetMinOpenPlayerLevel() uint32 { + if x != nil { + return x.MinOpenPlayerLevel + } + return 0 +} + +func (x *TreasureMapActivityDetailInfo) GetTotalMpSpotNum() uint32 { + if x != nil { + return x.TotalMpSpotNum + } + return 0 +} + +var File_TreasureMapActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_TreasureMapActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x54, 0x72, 0x65, 0x61, + 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x03, 0x0a, 0x1d, 0x54, 0x72, 0x65, 0x61, + 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x10, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x69, + 0x73, 0x5f, 0x6d, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, + 0x4d, 0x70, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x75, 0x63, 0x68, + 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x63, + 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x11, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x14, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, + 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x12, 0x62, 0x6f, 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, + 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x63, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, + 0x65, 0x77, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x6d, 0x70, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x70, 0x53, 0x70, 0x6f, 0x74, 0x4e, 0x75, + 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapActivityDetailInfo_proto_rawDescOnce sync.Once + file_TreasureMapActivityDetailInfo_proto_rawDescData = file_TreasureMapActivityDetailInfo_proto_rawDesc +) + +func file_TreasureMapActivityDetailInfo_proto_rawDescGZIP() []byte { + file_TreasureMapActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_TreasureMapActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapActivityDetailInfo_proto_rawDescData) + }) + return file_TreasureMapActivityDetailInfo_proto_rawDescData +} + +var file_TreasureMapActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapActivityDetailInfo_proto_goTypes = []interface{}{ + (*TreasureMapActivityDetailInfo)(nil), // 0: TreasureMapActivityDetailInfo + (*TreasureMapRegionInfo)(nil), // 1: TreasureMapRegionInfo + (*TreasureMapBonusChallengeInfo)(nil), // 2: TreasureMapBonusChallengeInfo +} +var file_TreasureMapActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: TreasureMapActivityDetailInfo.region_info_list:type_name -> TreasureMapRegionInfo + 2, // 1: TreasureMapActivityDetailInfo.bonus_challenge_list:type_name -> TreasureMapBonusChallengeInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TreasureMapActivityDetailInfo_proto_init() } +func file_TreasureMapActivityDetailInfo_proto_init() { + if File_TreasureMapActivityDetailInfo_proto != nil { + return + } + file_TreasureMapBonusChallengeInfo_proto_init() + file_TreasureMapRegionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_TreasureMapActivityDetailInfo_proto_depIdxs, + MessageInfos: file_TreasureMapActivityDetailInfo_proto_msgTypes, + }.Build() + File_TreasureMapActivityDetailInfo_proto = out.File + file_TreasureMapActivityDetailInfo_proto_rawDesc = nil + file_TreasureMapActivityDetailInfo_proto_goTypes = nil + file_TreasureMapActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.proto b/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.proto new file mode 100644 index 00000000..0d58768d --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapActivityDetailInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TreasureMapBonusChallengeInfo.proto"; +import "TreasureMapRegionInfo.proto"; + +option go_package = "./;proto"; + +message TreasureMapActivityDetailInfo { + uint32 active_region_index = 1; + repeated TreasureMapRegionInfo region_info_list = 6; + bool is_mp_challenge_touched = 7; + uint32 treasure_close_time = 10; + repeated TreasureMapBonusChallengeInfo bonus_challenge_list = 5; + uint32 currency_num = 2; + uint32 preview_reward_id = 14; + uint32 min_open_player_level = 8; + uint32 total_mp_spot_num = 13; +} diff --git a/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.pb.go b/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.pb.go new file mode 100644 index 00000000..016c5705 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.pb.go @@ -0,0 +1,209 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapBonusChallengeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TreasureMapBonusChallengeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDone bool `protobuf:"varint,5,opt,name=is_done,json=isDone,proto3" json:"is_done,omitempty"` + ConfigId uint32 `protobuf:"varint,10,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` + FragmentMap map[uint32]bool `protobuf:"bytes,12,rep,name=fragment_map,json=fragmentMap,proto3" json:"fragment_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + SolutionId uint32 `protobuf:"varint,8,opt,name=solution_id,json=solutionId,proto3" json:"solution_id,omitempty"` +} + +func (x *TreasureMapBonusChallengeInfo) Reset() { + *x = TreasureMapBonusChallengeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapBonusChallengeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapBonusChallengeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapBonusChallengeInfo) ProtoMessage() {} + +func (x *TreasureMapBonusChallengeInfo) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapBonusChallengeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapBonusChallengeInfo.ProtoReflect.Descriptor instead. +func (*TreasureMapBonusChallengeInfo) Descriptor() ([]byte, []int) { + return file_TreasureMapBonusChallengeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapBonusChallengeInfo) GetIsDone() bool { + if x != nil { + return x.IsDone + } + return false +} + +func (x *TreasureMapBonusChallengeInfo) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *TreasureMapBonusChallengeInfo) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +func (x *TreasureMapBonusChallengeInfo) GetFragmentMap() map[uint32]bool { + if x != nil { + return x.FragmentMap + } + return nil +} + +func (x *TreasureMapBonusChallengeInfo) GetSolutionId() uint32 { + if x != nil { + return x.SolutionId + } + return 0 +} + +var File_TreasureMapBonusChallengeInfo_proto protoreflect.FileDescriptor + +var file_TreasureMapBonusChallengeInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, + 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x1d, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, + 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x6f, + 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x52, 0x0a, 0x0c, 0x66, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, + 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, + 0x3e, 0x0a, 0x10, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapBonusChallengeInfo_proto_rawDescOnce sync.Once + file_TreasureMapBonusChallengeInfo_proto_rawDescData = file_TreasureMapBonusChallengeInfo_proto_rawDesc +) + +func file_TreasureMapBonusChallengeInfo_proto_rawDescGZIP() []byte { + file_TreasureMapBonusChallengeInfo_proto_rawDescOnce.Do(func() { + file_TreasureMapBonusChallengeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapBonusChallengeInfo_proto_rawDescData) + }) + return file_TreasureMapBonusChallengeInfo_proto_rawDescData +} + +var file_TreasureMapBonusChallengeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_TreasureMapBonusChallengeInfo_proto_goTypes = []interface{}{ + (*TreasureMapBonusChallengeInfo)(nil), // 0: TreasureMapBonusChallengeInfo + nil, // 1: TreasureMapBonusChallengeInfo.FragmentMapEntry +} +var file_TreasureMapBonusChallengeInfo_proto_depIdxs = []int32{ + 1, // 0: TreasureMapBonusChallengeInfo.fragment_map:type_name -> TreasureMapBonusChallengeInfo.FragmentMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureMapBonusChallengeInfo_proto_init() } +func file_TreasureMapBonusChallengeInfo_proto_init() { + if File_TreasureMapBonusChallengeInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapBonusChallengeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapBonusChallengeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapBonusChallengeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapBonusChallengeInfo_proto_goTypes, + DependencyIndexes: file_TreasureMapBonusChallengeInfo_proto_depIdxs, + MessageInfos: file_TreasureMapBonusChallengeInfo_proto_msgTypes, + }.Build() + File_TreasureMapBonusChallengeInfo_proto = out.File + file_TreasureMapBonusChallengeInfo_proto_rawDesc = nil + file_TreasureMapBonusChallengeInfo_proto_goTypes = nil + file_TreasureMapBonusChallengeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.proto b/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.proto new file mode 100644 index 00000000..6efe8934 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapBonusChallengeInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TreasureMapBonusChallengeInfo { + bool is_done = 5; + uint32 config_id = 10; + bool is_active = 1; + map fragment_map = 12; + uint32 solution_id = 8; +} diff --git a/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.pb.go b/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.pb.go new file mode 100644 index 00000000..63f67e37 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapBonusChallengeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2115 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapBonusChallengeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *TreasureMapBonusChallengeInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *TreasureMapBonusChallengeNotify) Reset() { + *x = TreasureMapBonusChallengeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapBonusChallengeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapBonusChallengeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapBonusChallengeNotify) ProtoMessage() {} + +func (x *TreasureMapBonusChallengeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapBonusChallengeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapBonusChallengeNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapBonusChallengeNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapBonusChallengeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapBonusChallengeNotify) GetInfo() *TreasureMapBonusChallengeInfo { + if x != nil { + return x.Info + } + return nil +} + +var File_TreasureMapBonusChallengeNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapBonusChallengeNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, + 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x1f, + 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x32, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6e, 0x75, 0x73, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapBonusChallengeNotify_proto_rawDescOnce sync.Once + file_TreasureMapBonusChallengeNotify_proto_rawDescData = file_TreasureMapBonusChallengeNotify_proto_rawDesc +) + +func file_TreasureMapBonusChallengeNotify_proto_rawDescGZIP() []byte { + file_TreasureMapBonusChallengeNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapBonusChallengeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapBonusChallengeNotify_proto_rawDescData) + }) + return file_TreasureMapBonusChallengeNotify_proto_rawDescData +} + +var file_TreasureMapBonusChallengeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapBonusChallengeNotify_proto_goTypes = []interface{}{ + (*TreasureMapBonusChallengeNotify)(nil), // 0: TreasureMapBonusChallengeNotify + (*TreasureMapBonusChallengeInfo)(nil), // 1: TreasureMapBonusChallengeInfo +} +var file_TreasureMapBonusChallengeNotify_proto_depIdxs = []int32{ + 1, // 0: TreasureMapBonusChallengeNotify.info:type_name -> TreasureMapBonusChallengeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureMapBonusChallengeNotify_proto_init() } +func file_TreasureMapBonusChallengeNotify_proto_init() { + if File_TreasureMapBonusChallengeNotify_proto != nil { + return + } + file_TreasureMapBonusChallengeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapBonusChallengeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapBonusChallengeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapBonusChallengeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapBonusChallengeNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapBonusChallengeNotify_proto_depIdxs, + MessageInfos: file_TreasureMapBonusChallengeNotify_proto_msgTypes, + }.Build() + File_TreasureMapBonusChallengeNotify_proto = out.File + file_TreasureMapBonusChallengeNotify_proto_rawDesc = nil + file_TreasureMapBonusChallengeNotify_proto_goTypes = nil + file_TreasureMapBonusChallengeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.proto b/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.proto new file mode 100644 index 00000000..c6b0eb0f --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapBonusChallengeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TreasureMapBonusChallengeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2115 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapBonusChallengeNotify { + TreasureMapBonusChallengeInfo info = 5; +} diff --git a/gate-hk4e-api/proto/TreasureMapCurrencyNotify.pb.go b/gate-hk4e-api/proto/TreasureMapCurrencyNotify.pb.go new file mode 100644 index 00000000..cdc428bd --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapCurrencyNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapCurrencyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2171 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapCurrencyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurrencyNum uint32 `protobuf:"varint,8,opt,name=currency_num,json=currencyNum,proto3" json:"currency_num,omitempty"` +} + +func (x *TreasureMapCurrencyNotify) Reset() { + *x = TreasureMapCurrencyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapCurrencyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapCurrencyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapCurrencyNotify) ProtoMessage() {} + +func (x *TreasureMapCurrencyNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapCurrencyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapCurrencyNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapCurrencyNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapCurrencyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapCurrencyNotify) GetCurrencyNum() uint32 { + if x != nil { + return x.CurrencyNum + } + return 0 +} + +var File_TreasureMapCurrencyNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapCurrencyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x43, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3e, 0x0a, 0x19, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, + 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4e, 0x75, + 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapCurrencyNotify_proto_rawDescOnce sync.Once + file_TreasureMapCurrencyNotify_proto_rawDescData = file_TreasureMapCurrencyNotify_proto_rawDesc +) + +func file_TreasureMapCurrencyNotify_proto_rawDescGZIP() []byte { + file_TreasureMapCurrencyNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapCurrencyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapCurrencyNotify_proto_rawDescData) + }) + return file_TreasureMapCurrencyNotify_proto_rawDescData +} + +var file_TreasureMapCurrencyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapCurrencyNotify_proto_goTypes = []interface{}{ + (*TreasureMapCurrencyNotify)(nil), // 0: TreasureMapCurrencyNotify +} +var file_TreasureMapCurrencyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapCurrencyNotify_proto_init() } +func file_TreasureMapCurrencyNotify_proto_init() { + if File_TreasureMapCurrencyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapCurrencyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapCurrencyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapCurrencyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapCurrencyNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapCurrencyNotify_proto_depIdxs, + MessageInfos: file_TreasureMapCurrencyNotify_proto_msgTypes, + }.Build() + File_TreasureMapCurrencyNotify_proto = out.File + file_TreasureMapCurrencyNotify_proto_rawDesc = nil + file_TreasureMapCurrencyNotify_proto_goTypes = nil + file_TreasureMapCurrencyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapCurrencyNotify.proto b/gate-hk4e-api/proto/TreasureMapCurrencyNotify.proto new file mode 100644 index 00000000..0302c961 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapCurrencyNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2171 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapCurrencyNotify { + uint32 currency_num = 8; +} diff --git a/gate-hk4e-api/proto/TreasureMapDetectorData.pb.go b/gate-hk4e-api/proto/TreasureMapDetectorData.pb.go new file mode 100644 index 00000000..32446bf9 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapDetectorData.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapDetectorData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TreasureMapDetectorData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegionId uint32 `protobuf:"varint,4,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + CenterPos *Vector `protobuf:"bytes,7,opt,name=center_pos,json=centerPos,proto3" json:"center_pos,omitempty"` + IsRegionDetected bool `protobuf:"varint,6,opt,name=is_region_detected,json=isRegionDetected,proto3" json:"is_region_detected,omitempty"` + SpotList []*Vector `protobuf:"bytes,10,rep,name=spot_list,json=spotList,proto3" json:"spot_list,omitempty"` + Radius uint32 `protobuf:"varint,14,opt,name=radius,proto3" json:"radius,omitempty"` +} + +func (x *TreasureMapDetectorData) Reset() { + *x = TreasureMapDetectorData{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapDetectorData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapDetectorData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapDetectorData) ProtoMessage() {} + +func (x *TreasureMapDetectorData) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapDetectorData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapDetectorData.ProtoReflect.Descriptor instead. +func (*TreasureMapDetectorData) Descriptor() ([]byte, []int) { + return file_TreasureMapDetectorData_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapDetectorData) GetRegionId() uint32 { + if x != nil { + return x.RegionId + } + return 0 +} + +func (x *TreasureMapDetectorData) GetCenterPos() *Vector { + if x != nil { + return x.CenterPos + } + return nil +} + +func (x *TreasureMapDetectorData) GetIsRegionDetected() bool { + if x != nil { + return x.IsRegionDetected + } + return false +} + +func (x *TreasureMapDetectorData) GetSpotList() []*Vector { + if x != nil { + return x.SpotList + } + return nil +} + +func (x *TreasureMapDetectorData) GetRadius() uint32 { + if x != nil { + return x.Radius + } + return 0 +} + +var File_TreasureMapDetectorData_proto protoreflect.FileDescriptor + +var file_TreasureMapDetectorData_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x44, 0x65, 0x74, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, + 0x0a, 0x17, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x44, 0x65, 0x74, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0a, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x09, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x2c, + 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x09, + 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, 0x70, 0x6f, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapDetectorData_proto_rawDescOnce sync.Once + file_TreasureMapDetectorData_proto_rawDescData = file_TreasureMapDetectorData_proto_rawDesc +) + +func file_TreasureMapDetectorData_proto_rawDescGZIP() []byte { + file_TreasureMapDetectorData_proto_rawDescOnce.Do(func() { + file_TreasureMapDetectorData_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapDetectorData_proto_rawDescData) + }) + return file_TreasureMapDetectorData_proto_rawDescData +} + +var file_TreasureMapDetectorData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapDetectorData_proto_goTypes = []interface{}{ + (*TreasureMapDetectorData)(nil), // 0: TreasureMapDetectorData + (*Vector)(nil), // 1: Vector +} +var file_TreasureMapDetectorData_proto_depIdxs = []int32{ + 1, // 0: TreasureMapDetectorData.center_pos:type_name -> Vector + 1, // 1: TreasureMapDetectorData.spot_list:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TreasureMapDetectorData_proto_init() } +func file_TreasureMapDetectorData_proto_init() { + if File_TreasureMapDetectorData_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapDetectorData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapDetectorData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapDetectorData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapDetectorData_proto_goTypes, + DependencyIndexes: file_TreasureMapDetectorData_proto_depIdxs, + MessageInfos: file_TreasureMapDetectorData_proto_msgTypes, + }.Build() + File_TreasureMapDetectorData_proto = out.File + file_TreasureMapDetectorData_proto_rawDesc = nil + file_TreasureMapDetectorData_proto_goTypes = nil + file_TreasureMapDetectorData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapDetectorData.proto b/gate-hk4e-api/proto/TreasureMapDetectorData.proto new file mode 100644 index 00000000..fc259c73 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapDetectorData.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message TreasureMapDetectorData { + uint32 region_id = 4; + Vector center_pos = 7; + bool is_region_detected = 6; + repeated Vector spot_list = 10; + uint32 radius = 14; +} diff --git a/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.pb.go b/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.pb.go new file mode 100644 index 00000000..d761194d --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapDetectorDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4300 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapDetectorDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *TreasureMapDetectorData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *TreasureMapDetectorDataNotify) Reset() { + *x = TreasureMapDetectorDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapDetectorDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapDetectorDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapDetectorDataNotify) ProtoMessage() {} + +func (x *TreasureMapDetectorDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapDetectorDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapDetectorDataNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapDetectorDataNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapDetectorDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapDetectorDataNotify) GetData() *TreasureMapDetectorData { + if x != nil { + return x.Data + } + return nil +} + +var File_TreasureMapDetectorDataNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapDetectorDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x44, 0x65, 0x74, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x70, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x1d, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, + 0x4d, 0x61, 0x70, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, + 0x70, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapDetectorDataNotify_proto_rawDescOnce sync.Once + file_TreasureMapDetectorDataNotify_proto_rawDescData = file_TreasureMapDetectorDataNotify_proto_rawDesc +) + +func file_TreasureMapDetectorDataNotify_proto_rawDescGZIP() []byte { + file_TreasureMapDetectorDataNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapDetectorDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapDetectorDataNotify_proto_rawDescData) + }) + return file_TreasureMapDetectorDataNotify_proto_rawDescData +} + +var file_TreasureMapDetectorDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapDetectorDataNotify_proto_goTypes = []interface{}{ + (*TreasureMapDetectorDataNotify)(nil), // 0: TreasureMapDetectorDataNotify + (*TreasureMapDetectorData)(nil), // 1: TreasureMapDetectorData +} +var file_TreasureMapDetectorDataNotify_proto_depIdxs = []int32{ + 1, // 0: TreasureMapDetectorDataNotify.data:type_name -> TreasureMapDetectorData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureMapDetectorDataNotify_proto_init() } +func file_TreasureMapDetectorDataNotify_proto_init() { + if File_TreasureMapDetectorDataNotify_proto != nil { + return + } + file_TreasureMapDetectorData_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapDetectorDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapDetectorDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapDetectorDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapDetectorDataNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapDetectorDataNotify_proto_depIdxs, + MessageInfos: file_TreasureMapDetectorDataNotify_proto_msgTypes, + }.Build() + File_TreasureMapDetectorDataNotify_proto = out.File + file_TreasureMapDetectorDataNotify_proto_rawDesc = nil + file_TreasureMapDetectorDataNotify_proto_goTypes = nil + file_TreasureMapDetectorDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.proto b/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.proto new file mode 100644 index 00000000..15212424 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapDetectorDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TreasureMapDetectorData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4300 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapDetectorDataNotify { + TreasureMapDetectorData data = 2; +} diff --git a/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.pb.go b/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.pb.go new file mode 100644 index 00000000..61be2bd6 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapGuideTaskDoneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2119 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapGuideTaskDoneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TreasureMapGuideTaskDoneNotify) Reset() { + *x = TreasureMapGuideTaskDoneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapGuideTaskDoneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapGuideTaskDoneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapGuideTaskDoneNotify) ProtoMessage() {} + +func (x *TreasureMapGuideTaskDoneNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapGuideTaskDoneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapGuideTaskDoneNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapGuideTaskDoneNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapGuideTaskDoneNotify_proto_rawDescGZIP(), []int{0} +} + +var File_TreasureMapGuideTaskDoneNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapGuideTaskDoneNotify_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x47, 0x75, 0x69, + 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, + 0x72, 0x65, 0x4d, 0x61, 0x70, 0x47, 0x75, 0x69, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, + 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapGuideTaskDoneNotify_proto_rawDescOnce sync.Once + file_TreasureMapGuideTaskDoneNotify_proto_rawDescData = file_TreasureMapGuideTaskDoneNotify_proto_rawDesc +) + +func file_TreasureMapGuideTaskDoneNotify_proto_rawDescGZIP() []byte { + file_TreasureMapGuideTaskDoneNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapGuideTaskDoneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapGuideTaskDoneNotify_proto_rawDescData) + }) + return file_TreasureMapGuideTaskDoneNotify_proto_rawDescData +} + +var file_TreasureMapGuideTaskDoneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapGuideTaskDoneNotify_proto_goTypes = []interface{}{ + (*TreasureMapGuideTaskDoneNotify)(nil), // 0: TreasureMapGuideTaskDoneNotify +} +var file_TreasureMapGuideTaskDoneNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapGuideTaskDoneNotify_proto_init() } +func file_TreasureMapGuideTaskDoneNotify_proto_init() { + if File_TreasureMapGuideTaskDoneNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapGuideTaskDoneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapGuideTaskDoneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapGuideTaskDoneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapGuideTaskDoneNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapGuideTaskDoneNotify_proto_depIdxs, + MessageInfos: file_TreasureMapGuideTaskDoneNotify_proto_msgTypes, + }.Build() + File_TreasureMapGuideTaskDoneNotify_proto = out.File + file_TreasureMapGuideTaskDoneNotify_proto_rawDesc = nil + file_TreasureMapGuideTaskDoneNotify_proto_goTypes = nil + file_TreasureMapGuideTaskDoneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.proto b/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.proto new file mode 100644 index 00000000..6eab2658 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapGuideTaskDoneNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2119 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapGuideTaskDoneNotify {} diff --git a/gate-hk4e-api/proto/TreasureMapHostInfoNotify.pb.go b/gate-hk4e-api/proto/TreasureMapHostInfoNotify.pb.go new file mode 100644 index 00000000..b1cd6988 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapHostInfoNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapHostInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8681 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapHostInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MpChallengeRegionList []uint32 `protobuf:"varint,8,rep,packed,name=mp_challenge_region_list,json=mpChallengeRegionList,proto3" json:"mp_challenge_region_list,omitempty"` +} + +func (x *TreasureMapHostInfoNotify) Reset() { + *x = TreasureMapHostInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapHostInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapHostInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapHostInfoNotify) ProtoMessage() {} + +func (x *TreasureMapHostInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapHostInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapHostInfoNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapHostInfoNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapHostInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapHostInfoNotify) GetMpChallengeRegionList() []uint32 { + if x != nil { + return x.MpChallengeRegionList + } + return nil +} + +var File_TreasureMapHostInfoNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapHostInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x48, 0x6f, 0x73, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x54, 0x0a, 0x19, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, + 0x48, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x37, + 0x0a, 0x18, 0x6d, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x15, 0x6d, 0x70, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapHostInfoNotify_proto_rawDescOnce sync.Once + file_TreasureMapHostInfoNotify_proto_rawDescData = file_TreasureMapHostInfoNotify_proto_rawDesc +) + +func file_TreasureMapHostInfoNotify_proto_rawDescGZIP() []byte { + file_TreasureMapHostInfoNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapHostInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapHostInfoNotify_proto_rawDescData) + }) + return file_TreasureMapHostInfoNotify_proto_rawDescData +} + +var file_TreasureMapHostInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapHostInfoNotify_proto_goTypes = []interface{}{ + (*TreasureMapHostInfoNotify)(nil), // 0: TreasureMapHostInfoNotify +} +var file_TreasureMapHostInfoNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapHostInfoNotify_proto_init() } +func file_TreasureMapHostInfoNotify_proto_init() { + if File_TreasureMapHostInfoNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapHostInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapHostInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapHostInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapHostInfoNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapHostInfoNotify_proto_depIdxs, + MessageInfos: file_TreasureMapHostInfoNotify_proto_msgTypes, + }.Build() + File_TreasureMapHostInfoNotify_proto = out.File + file_TreasureMapHostInfoNotify_proto_rawDesc = nil + file_TreasureMapHostInfoNotify_proto_goTypes = nil + file_TreasureMapHostInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapHostInfoNotify.proto b/gate-hk4e-api/proto/TreasureMapHostInfoNotify.proto new file mode 100644 index 00000000..691d0f80 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapHostInfoNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8681 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapHostInfoNotify { + repeated uint32 mp_challenge_region_list = 8; +} diff --git a/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.pb.go b/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.pb.go new file mode 100644 index 00000000..1295324e --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapMpChallengeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2048 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapMpChallengeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TreasureMapMpChallengeNotify) Reset() { + *x = TreasureMapMpChallengeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapMpChallengeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapMpChallengeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapMpChallengeNotify) ProtoMessage() {} + +func (x *TreasureMapMpChallengeNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapMpChallengeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapMpChallengeNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapMpChallengeNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapMpChallengeNotify_proto_rawDescGZIP(), []int{0} +} + +var File_TreasureMapMpChallengeNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapMpChallengeNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x4d, 0x70, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, + 0x4d, 0x61, 0x70, 0x4d, 0x70, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapMpChallengeNotify_proto_rawDescOnce sync.Once + file_TreasureMapMpChallengeNotify_proto_rawDescData = file_TreasureMapMpChallengeNotify_proto_rawDesc +) + +func file_TreasureMapMpChallengeNotify_proto_rawDescGZIP() []byte { + file_TreasureMapMpChallengeNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapMpChallengeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapMpChallengeNotify_proto_rawDescData) + }) + return file_TreasureMapMpChallengeNotify_proto_rawDescData +} + +var file_TreasureMapMpChallengeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapMpChallengeNotify_proto_goTypes = []interface{}{ + (*TreasureMapMpChallengeNotify)(nil), // 0: TreasureMapMpChallengeNotify +} +var file_TreasureMapMpChallengeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapMpChallengeNotify_proto_init() } +func file_TreasureMapMpChallengeNotify_proto_init() { + if File_TreasureMapMpChallengeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapMpChallengeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapMpChallengeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapMpChallengeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapMpChallengeNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapMpChallengeNotify_proto_depIdxs, + MessageInfos: file_TreasureMapMpChallengeNotify_proto_msgTypes, + }.Build() + File_TreasureMapMpChallengeNotify_proto = out.File + file_TreasureMapMpChallengeNotify_proto_rawDesc = nil + file_TreasureMapMpChallengeNotify_proto_goTypes = nil + file_TreasureMapMpChallengeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.proto b/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.proto new file mode 100644 index 00000000..2dc717c1 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapMpChallengeNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2048 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapMpChallengeNotify {} diff --git a/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.pb.go b/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.pb.go new file mode 100644 index 00000000..face409b --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapPreTaskDoneNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2152 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapPreTaskDoneNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TreasureMapPreTaskDoneNotify) Reset() { + *x = TreasureMapPreTaskDoneNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapPreTaskDoneNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapPreTaskDoneNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapPreTaskDoneNotify) ProtoMessage() {} + +func (x *TreasureMapPreTaskDoneNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapPreTaskDoneNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapPreTaskDoneNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapPreTaskDoneNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapPreTaskDoneNotify_proto_rawDescGZIP(), []int{0} +} + +var File_TreasureMapPreTaskDoneNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapPreTaskDoneNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x50, 0x72, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, + 0x4d, 0x61, 0x70, 0x50, 0x72, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapPreTaskDoneNotify_proto_rawDescOnce sync.Once + file_TreasureMapPreTaskDoneNotify_proto_rawDescData = file_TreasureMapPreTaskDoneNotify_proto_rawDesc +) + +func file_TreasureMapPreTaskDoneNotify_proto_rawDescGZIP() []byte { + file_TreasureMapPreTaskDoneNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapPreTaskDoneNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapPreTaskDoneNotify_proto_rawDescData) + }) + return file_TreasureMapPreTaskDoneNotify_proto_rawDescData +} + +var file_TreasureMapPreTaskDoneNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapPreTaskDoneNotify_proto_goTypes = []interface{}{ + (*TreasureMapPreTaskDoneNotify)(nil), // 0: TreasureMapPreTaskDoneNotify +} +var file_TreasureMapPreTaskDoneNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapPreTaskDoneNotify_proto_init() } +func file_TreasureMapPreTaskDoneNotify_proto_init() { + if File_TreasureMapPreTaskDoneNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapPreTaskDoneNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapPreTaskDoneNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapPreTaskDoneNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapPreTaskDoneNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapPreTaskDoneNotify_proto_depIdxs, + MessageInfos: file_TreasureMapPreTaskDoneNotify_proto_msgTypes, + }.Build() + File_TreasureMapPreTaskDoneNotify_proto = out.File + file_TreasureMapPreTaskDoneNotify_proto_rawDesc = nil + file_TreasureMapPreTaskDoneNotify_proto_goTypes = nil + file_TreasureMapPreTaskDoneNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.proto b/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.proto new file mode 100644 index 00000000..0e52c6b0 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapPreTaskDoneNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2152 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapPreTaskDoneNotify {} diff --git a/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.pb.go b/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.pb.go new file mode 100644 index 00000000..061f551a --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapRegionActiveNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2122 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapRegionActiveNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActiveRegionIndex uint32 `protobuf:"varint,14,opt,name=active_region_index,json=activeRegionIndex,proto3" json:"active_region_index,omitempty"` +} + +func (x *TreasureMapRegionActiveNotify) Reset() { + *x = TreasureMapRegionActiveNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapRegionActiveNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapRegionActiveNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapRegionActiveNotify) ProtoMessage() {} + +func (x *TreasureMapRegionActiveNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapRegionActiveNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapRegionActiveNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapRegionActiveNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapRegionActiveNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapRegionActiveNotify) GetActiveRegionIndex() uint32 { + if x != nil { + return x.ActiveRegionIndex + } + return 0 +} + +var File_TreasureMapRegionActiveNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapRegionActiveNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x1d, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, + 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapRegionActiveNotify_proto_rawDescOnce sync.Once + file_TreasureMapRegionActiveNotify_proto_rawDescData = file_TreasureMapRegionActiveNotify_proto_rawDesc +) + +func file_TreasureMapRegionActiveNotify_proto_rawDescGZIP() []byte { + file_TreasureMapRegionActiveNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapRegionActiveNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapRegionActiveNotify_proto_rawDescData) + }) + return file_TreasureMapRegionActiveNotify_proto_rawDescData +} + +var file_TreasureMapRegionActiveNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapRegionActiveNotify_proto_goTypes = []interface{}{ + (*TreasureMapRegionActiveNotify)(nil), // 0: TreasureMapRegionActiveNotify +} +var file_TreasureMapRegionActiveNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TreasureMapRegionActiveNotify_proto_init() } +func file_TreasureMapRegionActiveNotify_proto_init() { + if File_TreasureMapRegionActiveNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TreasureMapRegionActiveNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapRegionActiveNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapRegionActiveNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapRegionActiveNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapRegionActiveNotify_proto_depIdxs, + MessageInfos: file_TreasureMapRegionActiveNotify_proto_msgTypes, + }.Build() + File_TreasureMapRegionActiveNotify_proto = out.File + file_TreasureMapRegionActiveNotify_proto_rawDesc = nil + file_TreasureMapRegionActiveNotify_proto_goTypes = nil + file_TreasureMapRegionActiveNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.proto b/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.proto new file mode 100644 index 00000000..8c79596f --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionActiveNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2122 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapRegionActiveNotify { + uint32 active_region_index = 14; +} diff --git a/gate-hk4e-api/proto/TreasureMapRegionInfo.pb.go b/gate-hk4e-api/proto/TreasureMapRegionInfo.pb.go new file mode 100644 index 00000000..8c90f730 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionInfo.pb.go @@ -0,0 +1,246 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapRegionInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TreasureMapRegionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime uint32 `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + CurrentProgress uint32 `protobuf:"varint,11,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` + IsDoneMpSpot bool `protobuf:"varint,3,opt,name=is_done_mp_spot,json=isDoneMpSpot,proto3" json:"is_done_mp_spot,omitempty"` + SceneId uint32 `protobuf:"varint,2,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + GoalPoints uint32 `protobuf:"varint,12,opt,name=goal_points,json=goalPoints,proto3" json:"goal_points,omitempty"` + IsFindMpSpot bool `protobuf:"varint,4,opt,name=is_find_mp_spot,json=isFindMpSpot,proto3" json:"is_find_mp_spot,omitempty"` + RegionRadius uint32 `protobuf:"varint,1,opt,name=region_radius,json=regionRadius,proto3" json:"region_radius,omitempty"` + RegionCenterPos *Vector `protobuf:"bytes,9,opt,name=region_center_pos,json=regionCenterPos,proto3" json:"region_center_pos,omitempty"` + RegionId uint32 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` +} + +func (x *TreasureMapRegionInfo) Reset() { + *x = TreasureMapRegionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapRegionInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapRegionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapRegionInfo) ProtoMessage() {} + +func (x *TreasureMapRegionInfo) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapRegionInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapRegionInfo.ProtoReflect.Descriptor instead. +func (*TreasureMapRegionInfo) Descriptor() ([]byte, []int) { + return file_TreasureMapRegionInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapRegionInfo) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *TreasureMapRegionInfo) GetCurrentProgress() uint32 { + if x != nil { + return x.CurrentProgress + } + return 0 +} + +func (x *TreasureMapRegionInfo) GetIsDoneMpSpot() bool { + if x != nil { + return x.IsDoneMpSpot + } + return false +} + +func (x *TreasureMapRegionInfo) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *TreasureMapRegionInfo) GetGoalPoints() uint32 { + if x != nil { + return x.GoalPoints + } + return 0 +} + +func (x *TreasureMapRegionInfo) GetIsFindMpSpot() bool { + if x != nil { + return x.IsFindMpSpot + } + return false +} + +func (x *TreasureMapRegionInfo) GetRegionRadius() uint32 { + if x != nil { + return x.RegionRadius + } + return 0 +} + +func (x *TreasureMapRegionInfo) GetRegionCenterPos() *Vector { + if x != nil { + return x.RegionCenterPos + } + return nil +} + +func (x *TreasureMapRegionInfo) GetRegionId() uint32 { + if x != nil { + return x.RegionId + } + return 0 +} + +var File_TreasureMapRegionInfo_proto protoreflect.FileDescriptor + +var file_TreasureMapRegionInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x02, 0x0a, 0x15, + 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x5f, 0x6d, 0x70, 0x5f, 0x73, 0x70, + 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, + 0x4d, 0x70, 0x53, 0x70, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6f, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x6f, 0x61, 0x6c, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x6d, 0x70, + 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, + 0x69, 0x6e, 0x64, 0x4d, 0x70, 0x53, 0x70, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x33, + 0x0a, 0x11, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, + 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapRegionInfo_proto_rawDescOnce sync.Once + file_TreasureMapRegionInfo_proto_rawDescData = file_TreasureMapRegionInfo_proto_rawDesc +) + +func file_TreasureMapRegionInfo_proto_rawDescGZIP() []byte { + file_TreasureMapRegionInfo_proto_rawDescOnce.Do(func() { + file_TreasureMapRegionInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapRegionInfo_proto_rawDescData) + }) + return file_TreasureMapRegionInfo_proto_rawDescData +} + +var file_TreasureMapRegionInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapRegionInfo_proto_goTypes = []interface{}{ + (*TreasureMapRegionInfo)(nil), // 0: TreasureMapRegionInfo + (*Vector)(nil), // 1: Vector +} +var file_TreasureMapRegionInfo_proto_depIdxs = []int32{ + 1, // 0: TreasureMapRegionInfo.region_center_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureMapRegionInfo_proto_init() } +func file_TreasureMapRegionInfo_proto_init() { + if File_TreasureMapRegionInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapRegionInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapRegionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapRegionInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapRegionInfo_proto_goTypes, + DependencyIndexes: file_TreasureMapRegionInfo_proto_depIdxs, + MessageInfos: file_TreasureMapRegionInfo_proto_msgTypes, + }.Build() + File_TreasureMapRegionInfo_proto = out.File + file_TreasureMapRegionInfo_proto_rawDesc = nil + file_TreasureMapRegionInfo_proto_goTypes = nil + file_TreasureMapRegionInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapRegionInfo.proto b/gate-hk4e-api/proto/TreasureMapRegionInfo.proto new file mode 100644 index 00000000..859c1f9f --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionInfo.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message TreasureMapRegionInfo { + uint32 start_time = 6; + uint32 current_progress = 11; + bool is_done_mp_spot = 3; + uint32 scene_id = 2; + uint32 goal_points = 12; + bool is_find_mp_spot = 4; + uint32 region_radius = 1; + Vector region_center_pos = 9; + uint32 region_id = 5; +} diff --git a/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.pb.go b/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.pb.go new file mode 100644 index 00000000..bd9f8bd9 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureMapRegionInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2185 +// EnetChannelId: 0 +// EnetIsReliable: true +type TreasureMapRegionInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegionInfo *TreasureMapRegionInfo `protobuf:"bytes,14,opt,name=region_info,json=regionInfo,proto3" json:"region_info,omitempty"` +} + +func (x *TreasureMapRegionInfoNotify) Reset() { + *x = TreasureMapRegionInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureMapRegionInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureMapRegionInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureMapRegionInfoNotify) ProtoMessage() {} + +func (x *TreasureMapRegionInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_TreasureMapRegionInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureMapRegionInfoNotify.ProtoReflect.Descriptor instead. +func (*TreasureMapRegionInfoNotify) Descriptor() ([]byte, []int) { + return file_TreasureMapRegionInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureMapRegionInfoNotify) GetRegionInfo() *TreasureMapRegionInfo { + if x != nil { + return x.RegionInfo + } + return nil +} + +var File_TreasureMapRegionInfoNotify_proto protoreflect.FileDescriptor + +var file_TreasureMapRegionInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x56, 0x0a, 0x1b, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x70, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x37, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x4d, + 0x61, 0x70, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureMapRegionInfoNotify_proto_rawDescOnce sync.Once + file_TreasureMapRegionInfoNotify_proto_rawDescData = file_TreasureMapRegionInfoNotify_proto_rawDesc +) + +func file_TreasureMapRegionInfoNotify_proto_rawDescGZIP() []byte { + file_TreasureMapRegionInfoNotify_proto_rawDescOnce.Do(func() { + file_TreasureMapRegionInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureMapRegionInfoNotify_proto_rawDescData) + }) + return file_TreasureMapRegionInfoNotify_proto_rawDescData +} + +var file_TreasureMapRegionInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureMapRegionInfoNotify_proto_goTypes = []interface{}{ + (*TreasureMapRegionInfoNotify)(nil), // 0: TreasureMapRegionInfoNotify + (*TreasureMapRegionInfo)(nil), // 1: TreasureMapRegionInfo +} +var file_TreasureMapRegionInfoNotify_proto_depIdxs = []int32{ + 1, // 0: TreasureMapRegionInfoNotify.region_info:type_name -> TreasureMapRegionInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureMapRegionInfoNotify_proto_init() } +func file_TreasureMapRegionInfoNotify_proto_init() { + if File_TreasureMapRegionInfoNotify_proto != nil { + return + } + file_TreasureMapRegionInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureMapRegionInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureMapRegionInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureMapRegionInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureMapRegionInfoNotify_proto_goTypes, + DependencyIndexes: file_TreasureMapRegionInfoNotify_proto_depIdxs, + MessageInfos: file_TreasureMapRegionInfoNotify_proto_msgTypes, + }.Build() + File_TreasureMapRegionInfoNotify_proto = out.File + file_TreasureMapRegionInfoNotify_proto_rawDesc = nil + file_TreasureMapRegionInfoNotify_proto_goTypes = nil + file_TreasureMapRegionInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.proto b/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.proto new file mode 100644 index 00000000..efdbaaf1 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureMapRegionInfoNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TreasureMapRegionInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2185 +// EnetChannelId: 0 +// EnetIsReliable: true +message TreasureMapRegionInfoNotify { + TreasureMapRegionInfo region_info = 14; +} diff --git a/gate-hk4e-api/proto/TreasureSeelieDetailInfo.pb.go b/gate-hk4e-api/proto/TreasureSeelieDetailInfo.pb.go new file mode 100644 index 00000000..24c4a2a8 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureSeelieDetailInfo.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TreasureSeelieDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TreasureSeelieDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TreasureCloseTime uint32 `protobuf:"varint,10,opt,name=treasure_close_time,json=treasureCloseTime,proto3" json:"treasure_close_time,omitempty"` + IsContentClosed bool `protobuf:"varint,8,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + Unk3000_NMEPJANNLLE []*Unk3000_HDJHHOCABBK `protobuf:"bytes,14,rep,name=Unk3000_NMEPJANNLLE,json=Unk3000NMEPJANNLLE,proto3" json:"Unk3000_NMEPJANNLLE,omitempty"` +} + +func (x *TreasureSeelieDetailInfo) Reset() { + *x = TreasureSeelieDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TreasureSeelieDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreasureSeelieDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreasureSeelieDetailInfo) ProtoMessage() {} + +func (x *TreasureSeelieDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_TreasureSeelieDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreasureSeelieDetailInfo.ProtoReflect.Descriptor instead. +func (*TreasureSeelieDetailInfo) Descriptor() ([]byte, []int) { + return file_TreasureSeelieDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TreasureSeelieDetailInfo) GetTreasureCloseTime() uint32 { + if x != nil { + return x.TreasureCloseTime + } + return 0 +} + +func (x *TreasureSeelieDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *TreasureSeelieDetailInfo) GetUnk3000_NMEPJANNLLE() []*Unk3000_HDJHHOCABBK { + if x != nil { + return x.Unk3000_NMEPJANNLLE + } + return nil +} + +var File_TreasureSeelieDetailInfo_proto protoreflect.FileDescriptor + +var file_TreasureSeelieDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x4a, 0x48, 0x48, 0x4f, + 0x43, 0x41, 0x42, 0x42, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x18, + 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x53, 0x65, 0x65, 0x6c, 0x69, 0x65, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x72, 0x65, 0x61, + 0x73, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, + 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6c, + 0x6f, 0x73, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4e, 0x4d, 0x45, 0x50, 0x4a, 0x41, 0x4e, 0x4e, 0x4c, 0x4c, 0x45, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x4a, 0x48, + 0x48, 0x4f, 0x43, 0x41, 0x42, 0x42, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x4e, 0x4d, 0x45, 0x50, 0x4a, 0x41, 0x4e, 0x4e, 0x4c, 0x4c, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TreasureSeelieDetailInfo_proto_rawDescOnce sync.Once + file_TreasureSeelieDetailInfo_proto_rawDescData = file_TreasureSeelieDetailInfo_proto_rawDesc +) + +func file_TreasureSeelieDetailInfo_proto_rawDescGZIP() []byte { + file_TreasureSeelieDetailInfo_proto_rawDescOnce.Do(func() { + file_TreasureSeelieDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TreasureSeelieDetailInfo_proto_rawDescData) + }) + return file_TreasureSeelieDetailInfo_proto_rawDescData +} + +var file_TreasureSeelieDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TreasureSeelieDetailInfo_proto_goTypes = []interface{}{ + (*TreasureSeelieDetailInfo)(nil), // 0: TreasureSeelieDetailInfo + (*Unk3000_HDJHHOCABBK)(nil), // 1: Unk3000_HDJHHOCABBK +} +var file_TreasureSeelieDetailInfo_proto_depIdxs = []int32{ + 1, // 0: TreasureSeelieDetailInfo.Unk3000_NMEPJANNLLE:type_name -> Unk3000_HDJHHOCABBK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TreasureSeelieDetailInfo_proto_init() } +func file_TreasureSeelieDetailInfo_proto_init() { + if File_TreasureSeelieDetailInfo_proto != nil { + return + } + file_Unk3000_HDJHHOCABBK_proto_init() + if !protoimpl.UnsafeEnabled { + file_TreasureSeelieDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreasureSeelieDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TreasureSeelieDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TreasureSeelieDetailInfo_proto_goTypes, + DependencyIndexes: file_TreasureSeelieDetailInfo_proto_depIdxs, + MessageInfos: file_TreasureSeelieDetailInfo_proto_msgTypes, + }.Build() + File_TreasureSeelieDetailInfo_proto = out.File + file_TreasureSeelieDetailInfo_proto_rawDesc = nil + file_TreasureSeelieDetailInfo_proto_goTypes = nil + file_TreasureSeelieDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TreasureSeelieDetailInfo.proto b/gate-hk4e-api/proto/TreasureSeelieDetailInfo.proto new file mode 100644 index 00000000..c5841987 --- /dev/null +++ b/gate-hk4e-api/proto/TreasureSeelieDetailInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_HDJHHOCABBK.proto"; + +option go_package = "./;proto"; + +message TreasureSeelieDetailInfo { + uint32 treasure_close_time = 10; + bool is_content_closed = 8; + repeated Unk3000_HDJHHOCABBK Unk3000_NMEPJANNLLE = 14; +} diff --git a/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.pb.go b/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.pb.go new file mode 100644 index 00000000..5bd7e3fe --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TrialAvatarActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardInfoList []*TrialAvatarActivityRewardDetailInfo `protobuf:"bytes,13,rep,name=reward_info_list,json=rewardInfoList,proto3" json:"reward_info_list,omitempty"` +} + +func (x *TrialAvatarActivityDetailInfo) Reset() { + *x = TrialAvatarActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarActivityDetailInfo) ProtoMessage() {} + +func (x *TrialAvatarActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*TrialAvatarActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_TrialAvatarActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarActivityDetailInfo) GetRewardInfoList() []*TrialAvatarActivityRewardDetailInfo { + if x != nil { + return x.RewardInfoList + } + return nil +} + +var File_TrialAvatarActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_TrialAvatarActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6f, 0x0a, 0x1d, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x4e, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x54, 0x72, + 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrialAvatarActivityDetailInfo_proto_rawDescOnce sync.Once + file_TrialAvatarActivityDetailInfo_proto_rawDescData = file_TrialAvatarActivityDetailInfo_proto_rawDesc +) + +func file_TrialAvatarActivityDetailInfo_proto_rawDescGZIP() []byte { + file_TrialAvatarActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_TrialAvatarActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarActivityDetailInfo_proto_rawDescData) + }) + return file_TrialAvatarActivityDetailInfo_proto_rawDescData +} + +var file_TrialAvatarActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarActivityDetailInfo_proto_goTypes = []interface{}{ + (*TrialAvatarActivityDetailInfo)(nil), // 0: TrialAvatarActivityDetailInfo + (*TrialAvatarActivityRewardDetailInfo)(nil), // 1: TrialAvatarActivityRewardDetailInfo +} +var file_TrialAvatarActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: TrialAvatarActivityDetailInfo.reward_info_list:type_name -> TrialAvatarActivityRewardDetailInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_TrialAvatarActivityDetailInfo_proto_init() } +func file_TrialAvatarActivityDetailInfo_proto_init() { + if File_TrialAvatarActivityDetailInfo_proto != nil { + return + } + file_TrialAvatarActivityRewardDetailInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_TrialAvatarActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_TrialAvatarActivityDetailInfo_proto_depIdxs, + MessageInfos: file_TrialAvatarActivityDetailInfo_proto_msgTypes, + }.Build() + File_TrialAvatarActivityDetailInfo_proto = out.File + file_TrialAvatarActivityDetailInfo_proto_rawDesc = nil + file_TrialAvatarActivityDetailInfo_proto_goTypes = nil + file_TrialAvatarActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.proto b/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.proto new file mode 100644 index 00000000..d2d1a4fe --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "TrialAvatarActivityRewardDetailInfo.proto"; + +option go_package = "./;proto"; + +message TrialAvatarActivityDetailInfo { + repeated TrialAvatarActivityRewardDetailInfo reward_info_list = 13; +} diff --git a/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.pb.go b/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.pb.go new file mode 100644 index 00000000..59f606b6 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarActivityRewardDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TrialAvatarActivityRewardDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PassedDungeon bool `protobuf:"varint,2,opt,name=passed_dungeon,json=passedDungeon,proto3" json:"passed_dungeon,omitempty"` + TrialAvatarIndexId uint32 `protobuf:"varint,4,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` + ReceivedReward bool `protobuf:"varint,5,opt,name=received_reward,json=receivedReward,proto3" json:"received_reward,omitempty"` + RewardId uint32 `protobuf:"varint,7,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` +} + +func (x *TrialAvatarActivityRewardDetailInfo) Reset() { + *x = TrialAvatarActivityRewardDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarActivityRewardDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarActivityRewardDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarActivityRewardDetailInfo) ProtoMessage() {} + +func (x *TrialAvatarActivityRewardDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarActivityRewardDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarActivityRewardDetailInfo.ProtoReflect.Descriptor instead. +func (*TrialAvatarActivityRewardDetailInfo) Descriptor() ([]byte, []int) { + return file_TrialAvatarActivityRewardDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarActivityRewardDetailInfo) GetPassedDungeon() bool { + if x != nil { + return x.PassedDungeon + } + return false +} + +func (x *TrialAvatarActivityRewardDetailInfo) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +func (x *TrialAvatarActivityRewardDetailInfo) GetReceivedReward() bool { + if x != nil { + return x.ReceivedReward + } + return false +} + +func (x *TrialAvatarActivityRewardDetailInfo) GetRewardId() uint32 { + if x != nil { + return x.RewardId + } + return 0 +} + +var File_TrialAvatarActivityRewardDetailInfo_proto protoreflect.FileDescriptor + +var file_TrialAvatarActivityRewardDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x23, + 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x61, 0x73, + 0x73, 0x65, 0x64, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x12, 0x27, 0x0a, + 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrialAvatarActivityRewardDetailInfo_proto_rawDescOnce sync.Once + file_TrialAvatarActivityRewardDetailInfo_proto_rawDescData = file_TrialAvatarActivityRewardDetailInfo_proto_rawDesc +) + +func file_TrialAvatarActivityRewardDetailInfo_proto_rawDescGZIP() []byte { + file_TrialAvatarActivityRewardDetailInfo_proto_rawDescOnce.Do(func() { + file_TrialAvatarActivityRewardDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarActivityRewardDetailInfo_proto_rawDescData) + }) + return file_TrialAvatarActivityRewardDetailInfo_proto_rawDescData +} + +var file_TrialAvatarActivityRewardDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarActivityRewardDetailInfo_proto_goTypes = []interface{}{ + (*TrialAvatarActivityRewardDetailInfo)(nil), // 0: TrialAvatarActivityRewardDetailInfo +} +var file_TrialAvatarActivityRewardDetailInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TrialAvatarActivityRewardDetailInfo_proto_init() } +func file_TrialAvatarActivityRewardDetailInfo_proto_init() { + if File_TrialAvatarActivityRewardDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TrialAvatarActivityRewardDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarActivityRewardDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarActivityRewardDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarActivityRewardDetailInfo_proto_goTypes, + DependencyIndexes: file_TrialAvatarActivityRewardDetailInfo_proto_depIdxs, + MessageInfos: file_TrialAvatarActivityRewardDetailInfo_proto_msgTypes, + }.Build() + File_TrialAvatarActivityRewardDetailInfo_proto = out.File + file_TrialAvatarActivityRewardDetailInfo_proto_rawDesc = nil + file_TrialAvatarActivityRewardDetailInfo_proto_goTypes = nil + file_TrialAvatarActivityRewardDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.proto b/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.proto new file mode 100644 index 00000000..bcf2af2f --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarActivityRewardDetailInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TrialAvatarActivityRewardDetailInfo { + bool passed_dungeon = 2; + uint32 trial_avatar_index_id = 4; + bool received_reward = 5; + uint32 reward_id = 7; +} diff --git a/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.pb.go b/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.pb.go new file mode 100644 index 00000000..bfe52cb4 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarFirstPassDungeonNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2013 +// EnetChannelId: 0 +// EnetIsReliable: true +type TrialAvatarFirstPassDungeonNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialAvatarIndexId uint32 `protobuf:"varint,10,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` +} + +func (x *TrialAvatarFirstPassDungeonNotify) Reset() { + *x = TrialAvatarFirstPassDungeonNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarFirstPassDungeonNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarFirstPassDungeonNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarFirstPassDungeonNotify) ProtoMessage() {} + +func (x *TrialAvatarFirstPassDungeonNotify) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarFirstPassDungeonNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarFirstPassDungeonNotify.ProtoReflect.Descriptor instead. +func (*TrialAvatarFirstPassDungeonNotify) Descriptor() ([]byte, []int) { + return file_TrialAvatarFirstPassDungeonNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarFirstPassDungeonNotify) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +var File_TrialAvatarFirstPassDungeonNotify_proto protoreflect.FileDescriptor + +var file_TrialAvatarFirstPassDungeonNotify_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x21, 0x54, 0x72, 0x69, + 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x73, + 0x73, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, + 0x0a, 0x15, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, + 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrialAvatarFirstPassDungeonNotify_proto_rawDescOnce sync.Once + file_TrialAvatarFirstPassDungeonNotify_proto_rawDescData = file_TrialAvatarFirstPassDungeonNotify_proto_rawDesc +) + +func file_TrialAvatarFirstPassDungeonNotify_proto_rawDescGZIP() []byte { + file_TrialAvatarFirstPassDungeonNotify_proto_rawDescOnce.Do(func() { + file_TrialAvatarFirstPassDungeonNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarFirstPassDungeonNotify_proto_rawDescData) + }) + return file_TrialAvatarFirstPassDungeonNotify_proto_rawDescData +} + +var file_TrialAvatarFirstPassDungeonNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarFirstPassDungeonNotify_proto_goTypes = []interface{}{ + (*TrialAvatarFirstPassDungeonNotify)(nil), // 0: TrialAvatarFirstPassDungeonNotify +} +var file_TrialAvatarFirstPassDungeonNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TrialAvatarFirstPassDungeonNotify_proto_init() } +func file_TrialAvatarFirstPassDungeonNotify_proto_init() { + if File_TrialAvatarFirstPassDungeonNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TrialAvatarFirstPassDungeonNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarFirstPassDungeonNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarFirstPassDungeonNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarFirstPassDungeonNotify_proto_goTypes, + DependencyIndexes: file_TrialAvatarFirstPassDungeonNotify_proto_depIdxs, + MessageInfos: file_TrialAvatarFirstPassDungeonNotify_proto_msgTypes, + }.Build() + File_TrialAvatarFirstPassDungeonNotify_proto = out.File + file_TrialAvatarFirstPassDungeonNotify_proto_rawDesc = nil + file_TrialAvatarFirstPassDungeonNotify_proto_goTypes = nil + file_TrialAvatarFirstPassDungeonNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.proto b/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.proto new file mode 100644 index 00000000..b17f170a --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarFirstPassDungeonNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2013 +// EnetChannelId: 0 +// EnetIsReliable: true +message TrialAvatarFirstPassDungeonNotify { + uint32 trial_avatar_index_id = 10; +} diff --git a/gate-hk4e-api/proto/TrialAvatarGrantRecord.pb.go b/gate-hk4e-api/proto/TrialAvatarGrantRecord.pb.go new file mode 100644 index 00000000..b2b8de98 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarGrantRecord.pb.go @@ -0,0 +1,278 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarGrantRecord.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TrialAvatarGrantRecord_GrantReason int32 + +const ( + TrialAvatarGrantRecord_GRANT_REASON_INVALID TrialAvatarGrantRecord_GrantReason = 0 + TrialAvatarGrantRecord_GRANT_REASON_BY_QUEST TrialAvatarGrantRecord_GrantReason = 1 + TrialAvatarGrantRecord_GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY TrialAvatarGrantRecord_GrantReason = 2 + TrialAvatarGrantRecord_GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE TrialAvatarGrantRecord_GrantReason = 3 + TrialAvatarGrantRecord_GRANT_REASON_BY_MIST_TRIAL_ACTIVITY TrialAvatarGrantRecord_GrantReason = 4 + TrialAvatarGrantRecord_GRANT_REASON_BY_SUMO_ACTIVITY TrialAvatarGrantRecord_GrantReason = 5 + TrialAvatarGrantRecord_GRANT_REASON_Unk2700_ELPMDIEIOHP TrialAvatarGrantRecord_GrantReason = 6 + TrialAvatarGrantRecord_GRANT_REASON_Unk2700_FALPDBLGHJB TrialAvatarGrantRecord_GrantReason = 7 + TrialAvatarGrantRecord_GRANT_REASON_Unk2700_GAMADMGGMBC TrialAvatarGrantRecord_GrantReason = 8 + TrialAvatarGrantRecord_GRANT_REASON_Unk2800_FIIDJHAKMOI TrialAvatarGrantRecord_GrantReason = 9 + TrialAvatarGrantRecord_GRANT_REASON_Unk3000_ANPCNHCADHG TrialAvatarGrantRecord_GrantReason = 10 + TrialAvatarGrantRecord_GRANT_REASON_Unk3000_AJIFFOLFKLO TrialAvatarGrantRecord_GrantReason = 11 +) + +// Enum value maps for TrialAvatarGrantRecord_GrantReason. +var ( + TrialAvatarGrantRecord_GrantReason_name = map[int32]string{ + 0: "GRANT_REASON_INVALID", + 1: "GRANT_REASON_BY_QUEST", + 2: "GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY", + 3: "GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE", + 4: "GRANT_REASON_BY_MIST_TRIAL_ACTIVITY", + 5: "GRANT_REASON_BY_SUMO_ACTIVITY", + 6: "GRANT_REASON_Unk2700_ELPMDIEIOHP", + 7: "GRANT_REASON_Unk2700_FALPDBLGHJB", + 8: "GRANT_REASON_Unk2700_GAMADMGGMBC", + 9: "GRANT_REASON_Unk2800_FIIDJHAKMOI", + 10: "GRANT_REASON_Unk3000_ANPCNHCADHG", + 11: "GRANT_REASON_Unk3000_AJIFFOLFKLO", + } + TrialAvatarGrantRecord_GrantReason_value = map[string]int32{ + "GRANT_REASON_INVALID": 0, + "GRANT_REASON_BY_QUEST": 1, + "GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY": 2, + "GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE": 3, + "GRANT_REASON_BY_MIST_TRIAL_ACTIVITY": 4, + "GRANT_REASON_BY_SUMO_ACTIVITY": 5, + "GRANT_REASON_Unk2700_ELPMDIEIOHP": 6, + "GRANT_REASON_Unk2700_FALPDBLGHJB": 7, + "GRANT_REASON_Unk2700_GAMADMGGMBC": 8, + "GRANT_REASON_Unk2800_FIIDJHAKMOI": 9, + "GRANT_REASON_Unk3000_ANPCNHCADHG": 10, + "GRANT_REASON_Unk3000_AJIFFOLFKLO": 11, + } +) + +func (x TrialAvatarGrantRecord_GrantReason) Enum() *TrialAvatarGrantRecord_GrantReason { + p := new(TrialAvatarGrantRecord_GrantReason) + *p = x + return p +} + +func (x TrialAvatarGrantRecord_GrantReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TrialAvatarGrantRecord_GrantReason) Descriptor() protoreflect.EnumDescriptor { + return file_TrialAvatarGrantRecord_proto_enumTypes[0].Descriptor() +} + +func (TrialAvatarGrantRecord_GrantReason) Type() protoreflect.EnumType { + return &file_TrialAvatarGrantRecord_proto_enumTypes[0] +} + +func (x TrialAvatarGrantRecord_GrantReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TrialAvatarGrantRecord_GrantReason.Descriptor instead. +func (TrialAvatarGrantRecord_GrantReason) EnumDescriptor() ([]byte, []int) { + return file_TrialAvatarGrantRecord_proto_rawDescGZIP(), []int{0, 0} +} + +type TrialAvatarGrantRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GrantReason uint32 `protobuf:"varint,1,opt,name=grant_reason,json=grantReason,proto3" json:"grant_reason,omitempty"` + FromParentQuestId uint32 `protobuf:"varint,2,opt,name=from_parent_quest_id,json=fromParentQuestId,proto3" json:"from_parent_quest_id,omitempty"` +} + +func (x *TrialAvatarGrantRecord) Reset() { + *x = TrialAvatarGrantRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarGrantRecord_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarGrantRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarGrantRecord) ProtoMessage() {} + +func (x *TrialAvatarGrantRecord) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarGrantRecord_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarGrantRecord.ProtoReflect.Descriptor instead. +func (*TrialAvatarGrantRecord) Descriptor() ([]byte, []int) { + return file_TrialAvatarGrantRecord_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarGrantRecord) GetGrantReason() uint32 { + if x != nil { + return x.GrantReason + } + return 0 +} + +func (x *TrialAvatarGrantRecord) GetFromParentQuestId() uint32 { + if x != nil { + return x.FromParentQuestId + } + return 0 +} + +var File_TrialAvatarGrantRecord_proto protoreflect.FileDescriptor + +var file_TrialAvatarGrantRecord_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, + 0x04, 0x0a, 0x16, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x14, + 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x66, 0x72, 0x6f, 0x6d, + 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xcc, 0x03, + 0x0a, 0x0b, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x14, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x52, 0x41, 0x4e, 0x54, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, + 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x54, + 0x41, 0x52, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x2d, 0x0a, + 0x29, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, + 0x5f, 0x44, 0x55, 0x4e, 0x47, 0x45, 0x4f, 0x4e, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, + 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, + 0x4d, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x49, 0x54, 0x59, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x59, 0x5f, 0x53, 0x55, 0x4d, 0x4f, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x05, 0x12, 0x24, 0x0a, 0x20, 0x47, 0x52, 0x41, 0x4e, + 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x4c, 0x50, 0x4d, 0x44, 0x49, 0x45, 0x49, 0x4f, 0x48, 0x50, 0x10, 0x06, 0x12, 0x24, + 0x0a, 0x20, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x4c, 0x50, 0x44, 0x42, 0x4c, 0x47, 0x48, + 0x4a, 0x42, 0x10, 0x07, 0x12, 0x24, 0x0a, 0x20, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x41, 0x4d, + 0x41, 0x44, 0x4d, 0x47, 0x47, 0x4d, 0x42, 0x43, 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, 0x47, 0x52, + 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x46, 0x49, 0x49, 0x44, 0x4a, 0x48, 0x41, 0x4b, 0x4d, 0x4f, 0x49, 0x10, 0x09, + 0x12, 0x24, 0x0a, 0x20, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x50, 0x43, 0x4e, 0x48, 0x43, + 0x41, 0x44, 0x48, 0x47, 0x10, 0x0a, 0x12, 0x24, 0x0a, 0x20, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, + 0x4a, 0x49, 0x46, 0x46, 0x4f, 0x4c, 0x46, 0x4b, 0x4c, 0x4f, 0x10, 0x0b, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrialAvatarGrantRecord_proto_rawDescOnce sync.Once + file_TrialAvatarGrantRecord_proto_rawDescData = file_TrialAvatarGrantRecord_proto_rawDesc +) + +func file_TrialAvatarGrantRecord_proto_rawDescGZIP() []byte { + file_TrialAvatarGrantRecord_proto_rawDescOnce.Do(func() { + file_TrialAvatarGrantRecord_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarGrantRecord_proto_rawDescData) + }) + return file_TrialAvatarGrantRecord_proto_rawDescData +} + +var file_TrialAvatarGrantRecord_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_TrialAvatarGrantRecord_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarGrantRecord_proto_goTypes = []interface{}{ + (TrialAvatarGrantRecord_GrantReason)(0), // 0: TrialAvatarGrantRecord.GrantReason + (*TrialAvatarGrantRecord)(nil), // 1: TrialAvatarGrantRecord +} +var file_TrialAvatarGrantRecord_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TrialAvatarGrantRecord_proto_init() } +func file_TrialAvatarGrantRecord_proto_init() { + if File_TrialAvatarGrantRecord_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TrialAvatarGrantRecord_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarGrantRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarGrantRecord_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarGrantRecord_proto_goTypes, + DependencyIndexes: file_TrialAvatarGrantRecord_proto_depIdxs, + EnumInfos: file_TrialAvatarGrantRecord_proto_enumTypes, + MessageInfos: file_TrialAvatarGrantRecord_proto_msgTypes, + }.Build() + File_TrialAvatarGrantRecord_proto = out.File + file_TrialAvatarGrantRecord_proto_rawDesc = nil + file_TrialAvatarGrantRecord_proto_goTypes = nil + file_TrialAvatarGrantRecord_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarGrantRecord.proto b/gate-hk4e-api/proto/TrialAvatarGrantRecord.proto new file mode 100644 index 00000000..95460249 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarGrantRecord.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message TrialAvatarGrantRecord { + uint32 grant_reason = 1; + uint32 from_parent_quest_id = 2; + + enum GrantReason { + GRANT_REASON_INVALID = 0; + GRANT_REASON_BY_QUEST = 1; + GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY = 2; + GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE = 3; + GRANT_REASON_BY_MIST_TRIAL_ACTIVITY = 4; + GRANT_REASON_BY_SUMO_ACTIVITY = 5; + GRANT_REASON_Unk2700_ELPMDIEIOHP = 6; + GRANT_REASON_Unk2700_FALPDBLGHJB = 7; + GRANT_REASON_Unk2700_GAMADMGGMBC = 8; + GRANT_REASON_Unk2800_FIIDJHAKMOI = 9; + GRANT_REASON_Unk3000_ANPCNHCADHG = 10; + GRANT_REASON_Unk3000_AJIFFOLFKLO = 11; + } +} diff --git a/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.pb.go b/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.pb.go new file mode 100644 index 00000000..e8627dcd --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarInDungeonIndexNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2186 +// EnetChannelId: 0 +// EnetIsReliable: true +type TrialAvatarInDungeonIndexNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialAvatarIndexId uint32 `protobuf:"varint,14,opt,name=trial_avatar_index_id,json=trialAvatarIndexId,proto3" json:"trial_avatar_index_id,omitempty"` +} + +func (x *TrialAvatarInDungeonIndexNotify) Reset() { + *x = TrialAvatarInDungeonIndexNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarInDungeonIndexNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarInDungeonIndexNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarInDungeonIndexNotify) ProtoMessage() {} + +func (x *TrialAvatarInDungeonIndexNotify) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarInDungeonIndexNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarInDungeonIndexNotify.ProtoReflect.Descriptor instead. +func (*TrialAvatarInDungeonIndexNotify) Descriptor() ([]byte, []int) { + return file_TrialAvatarInDungeonIndexNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarInDungeonIndexNotify) GetTrialAvatarIndexId() uint32 { + if x != nil { + return x.TrialAvatarIndexId + } + return 0 +} + +var File_TrialAvatarInDungeonIndexNotify_proto protoreflect.FileDescriptor + +var file_TrialAvatarInDungeonIndexNotify_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x44, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x1f, 0x54, 0x72, 0x69, 0x61, 0x6c, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x74, 0x72, 0x69, 0x61, 0x6c, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_TrialAvatarInDungeonIndexNotify_proto_rawDescOnce sync.Once + file_TrialAvatarInDungeonIndexNotify_proto_rawDescData = file_TrialAvatarInDungeonIndexNotify_proto_rawDesc +) + +func file_TrialAvatarInDungeonIndexNotify_proto_rawDescGZIP() []byte { + file_TrialAvatarInDungeonIndexNotify_proto_rawDescOnce.Do(func() { + file_TrialAvatarInDungeonIndexNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarInDungeonIndexNotify_proto_rawDescData) + }) + return file_TrialAvatarInDungeonIndexNotify_proto_rawDescData +} + +var file_TrialAvatarInDungeonIndexNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarInDungeonIndexNotify_proto_goTypes = []interface{}{ + (*TrialAvatarInDungeonIndexNotify)(nil), // 0: TrialAvatarInDungeonIndexNotify +} +var file_TrialAvatarInDungeonIndexNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TrialAvatarInDungeonIndexNotify_proto_init() } +func file_TrialAvatarInDungeonIndexNotify_proto_init() { + if File_TrialAvatarInDungeonIndexNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TrialAvatarInDungeonIndexNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarInDungeonIndexNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarInDungeonIndexNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarInDungeonIndexNotify_proto_goTypes, + DependencyIndexes: file_TrialAvatarInDungeonIndexNotify_proto_depIdxs, + MessageInfos: file_TrialAvatarInDungeonIndexNotify_proto_msgTypes, + }.Build() + File_TrialAvatarInDungeonIndexNotify_proto = out.File + file_TrialAvatarInDungeonIndexNotify_proto_rawDesc = nil + file_TrialAvatarInDungeonIndexNotify_proto_goTypes = nil + file_TrialAvatarInDungeonIndexNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.proto b/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.proto new file mode 100644 index 00000000..4856f264 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarInDungeonIndexNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2186 +// EnetChannelId: 0 +// EnetIsReliable: true +message TrialAvatarInDungeonIndexNotify { + uint32 trial_avatar_index_id = 14; +} diff --git a/gate-hk4e-api/proto/TrialAvatarInfo.pb.go b/gate-hk4e-api/proto/TrialAvatarInfo.pb.go new file mode 100644 index 00000000..079bf5d2 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TrialAvatarInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TrialAvatarInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialAvatarId uint32 `protobuf:"varint,1,opt,name=trial_avatar_id,json=trialAvatarId,proto3" json:"trial_avatar_id,omitempty"` + TrialEquipList []*Item `protobuf:"bytes,2,rep,name=trial_equip_list,json=trialEquipList,proto3" json:"trial_equip_list,omitempty"` + GrantRecord *TrialAvatarGrantRecord `protobuf:"bytes,3,opt,name=grant_record,json=grantRecord,proto3" json:"grant_record,omitempty"` +} + +func (x *TrialAvatarInfo) Reset() { + *x = TrialAvatarInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_TrialAvatarInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrialAvatarInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrialAvatarInfo) ProtoMessage() {} + +func (x *TrialAvatarInfo) ProtoReflect() protoreflect.Message { + mi := &file_TrialAvatarInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TrialAvatarInfo.ProtoReflect.Descriptor instead. +func (*TrialAvatarInfo) Descriptor() ([]byte, []int) { + return file_TrialAvatarInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *TrialAvatarInfo) GetTrialAvatarId() uint32 { + if x != nil { + return x.TrialAvatarId + } + return 0 +} + +func (x *TrialAvatarInfo) GetTrialEquipList() []*Item { + if x != nil { + return x.TrialEquipList + } + return nil +} + +func (x *TrialAvatarInfo) GetGrantRecord() *TrialAvatarGrantRecord { + if x != nil { + return x.GrantRecord + } + return nil +} + +var File_TrialAvatarInfo_proto protoreflect.FileDescriptor + +var file_TrialAvatarInfo_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x74, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a, + 0x10, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0e, + 0x74, 0x72, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x75, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, + 0x0a, 0x0c, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TrialAvatarInfo_proto_rawDescOnce sync.Once + file_TrialAvatarInfo_proto_rawDescData = file_TrialAvatarInfo_proto_rawDesc +) + +func file_TrialAvatarInfo_proto_rawDescGZIP() []byte { + file_TrialAvatarInfo_proto_rawDescOnce.Do(func() { + file_TrialAvatarInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_TrialAvatarInfo_proto_rawDescData) + }) + return file_TrialAvatarInfo_proto_rawDescData +} + +var file_TrialAvatarInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TrialAvatarInfo_proto_goTypes = []interface{}{ + (*TrialAvatarInfo)(nil), // 0: TrialAvatarInfo + (*Item)(nil), // 1: Item + (*TrialAvatarGrantRecord)(nil), // 2: TrialAvatarGrantRecord +} +var file_TrialAvatarInfo_proto_depIdxs = []int32{ + 1, // 0: TrialAvatarInfo.trial_equip_list:type_name -> Item + 2, // 1: TrialAvatarInfo.grant_record:type_name -> TrialAvatarGrantRecord + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_TrialAvatarInfo_proto_init() } +func file_TrialAvatarInfo_proto_init() { + if File_TrialAvatarInfo_proto != nil { + return + } + file_Item_proto_init() + file_TrialAvatarGrantRecord_proto_init() + if !protoimpl.UnsafeEnabled { + file_TrialAvatarInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrialAvatarInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TrialAvatarInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TrialAvatarInfo_proto_goTypes, + DependencyIndexes: file_TrialAvatarInfo_proto_depIdxs, + MessageInfos: file_TrialAvatarInfo_proto_msgTypes, + }.Build() + File_TrialAvatarInfo_proto = out.File + file_TrialAvatarInfo_proto_rawDesc = nil + file_TrialAvatarInfo_proto_goTypes = nil + file_TrialAvatarInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TrialAvatarInfo.proto b/gate-hk4e-api/proto/TrialAvatarInfo.proto new file mode 100644 index 00000000..053289e7 --- /dev/null +++ b/gate-hk4e-api/proto/TrialAvatarInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Item.proto"; +import "TrialAvatarGrantRecord.proto"; + +option go_package = "./;proto"; + +message TrialAvatarInfo { + uint32 trial_avatar_id = 1; + repeated Item trial_equip_list = 2; + TrialAvatarGrantRecord grant_record = 3; +} diff --git a/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.pb.go b/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.pb.go new file mode 100644 index 00000000..154776d1 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TriggerCreateGadgetToEquipPartNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 350 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TriggerCreateGadgetToEquipPartNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetId uint32 `protobuf:"varint,1,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + EquipPart string `protobuf:"bytes,14,opt,name=equip_part,json=equipPart,proto3" json:"equip_part,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,10,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *TriggerCreateGadgetToEquipPartNotify) Reset() { + *x = TriggerCreateGadgetToEquipPartNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TriggerCreateGadgetToEquipPartNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerCreateGadgetToEquipPartNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerCreateGadgetToEquipPartNotify) ProtoMessage() {} + +func (x *TriggerCreateGadgetToEquipPartNotify) ProtoReflect() protoreflect.Message { + mi := &file_TriggerCreateGadgetToEquipPartNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerCreateGadgetToEquipPartNotify.ProtoReflect.Descriptor instead. +func (*TriggerCreateGadgetToEquipPartNotify) Descriptor() ([]byte, []int) { + return file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TriggerCreateGadgetToEquipPartNotify) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *TriggerCreateGadgetToEquipPartNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *TriggerCreateGadgetToEquipPartNotify) GetEquipPart() string { + if x != nil { + return x.EquipPart + } + return "" +} + +func (x *TriggerCreateGadgetToEquipPartNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_TriggerCreateGadgetToEquipPartNotify_proto protoreflect.FileDescriptor + +var file_TriggerCreateGadgetToEquipPartNotify_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, + 0x24, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x54, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x74, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x50, 0x61, 0x72, 0x74, 0x12, 0x28, + 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescOnce sync.Once + file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescData = file_TriggerCreateGadgetToEquipPartNotify_proto_rawDesc +) + +func file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescGZIP() []byte { + file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescOnce.Do(func() { + file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescData) + }) + return file_TriggerCreateGadgetToEquipPartNotify_proto_rawDescData +} + +var file_TriggerCreateGadgetToEquipPartNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TriggerCreateGadgetToEquipPartNotify_proto_goTypes = []interface{}{ + (*TriggerCreateGadgetToEquipPartNotify)(nil), // 0: TriggerCreateGadgetToEquipPartNotify +} +var file_TriggerCreateGadgetToEquipPartNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TriggerCreateGadgetToEquipPartNotify_proto_init() } +func file_TriggerCreateGadgetToEquipPartNotify_proto_init() { + if File_TriggerCreateGadgetToEquipPartNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TriggerCreateGadgetToEquipPartNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerCreateGadgetToEquipPartNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TriggerCreateGadgetToEquipPartNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TriggerCreateGadgetToEquipPartNotify_proto_goTypes, + DependencyIndexes: file_TriggerCreateGadgetToEquipPartNotify_proto_depIdxs, + MessageInfos: file_TriggerCreateGadgetToEquipPartNotify_proto_msgTypes, + }.Build() + File_TriggerCreateGadgetToEquipPartNotify_proto = out.File + file_TriggerCreateGadgetToEquipPartNotify_proto_rawDesc = nil + file_TriggerCreateGadgetToEquipPartNotify_proto_goTypes = nil + file_TriggerCreateGadgetToEquipPartNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.proto b/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.proto new file mode 100644 index 00000000..3a41ba04 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerCreateGadgetToEquipPartNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 350 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TriggerCreateGadgetToEquipPartNotify { + uint32 gadget_id = 1; + uint32 entity_id = 13; + string equip_part = 14; + uint32 gadget_entity_id = 10; +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.pb.go b/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.pb.go new file mode 100644 index 00000000..1a9f2ae8 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TriggerRoguelikeCurseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8412 +// EnetChannelId: 0 +// EnetIsReliable: true +type TriggerRoguelikeCurseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectParamList []uint32 `protobuf:"varint,14,rep,packed,name=effect_param_list,json=effectParamList,proto3" json:"effect_param_list,omitempty"` + CurseGroupId uint32 `protobuf:"varint,9,opt,name=curse_group_id,json=curseGroupId,proto3" json:"curse_group_id,omitempty"` + IsTriggerCurse bool `protobuf:"varint,13,opt,name=is_trigger_curse,json=isTriggerCurse,proto3" json:"is_trigger_curse,omitempty"` + CurseLevel uint32 `protobuf:"varint,3,opt,name=curse_level,json=curseLevel,proto3" json:"curse_level,omitempty"` +} + +func (x *TriggerRoguelikeCurseNotify) Reset() { + *x = TriggerRoguelikeCurseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_TriggerRoguelikeCurseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerRoguelikeCurseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerRoguelikeCurseNotify) ProtoMessage() {} + +func (x *TriggerRoguelikeCurseNotify) ProtoReflect() protoreflect.Message { + mi := &file_TriggerRoguelikeCurseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerRoguelikeCurseNotify.ProtoReflect.Descriptor instead. +func (*TriggerRoguelikeCurseNotify) Descriptor() ([]byte, []int) { + return file_TriggerRoguelikeCurseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *TriggerRoguelikeCurseNotify) GetEffectParamList() []uint32 { + if x != nil { + return x.EffectParamList + } + return nil +} + +func (x *TriggerRoguelikeCurseNotify) GetCurseGroupId() uint32 { + if x != nil { + return x.CurseGroupId + } + return 0 +} + +func (x *TriggerRoguelikeCurseNotify) GetIsTriggerCurse() bool { + if x != nil { + return x.IsTriggerCurse + } + return false +} + +func (x *TriggerRoguelikeCurseNotify) GetCurseLevel() uint32 { + if x != nil { + return x.CurseLevel + } + return 0 +} + +var File_TriggerRoguelikeCurseNotify_proto protoreflect.FileDescriptor + +var file_TriggerRoguelikeCurseNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x1b, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x75, 0x72, 0x73, 0x65, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x73, 0x65, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x69, 0x73, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x75, 0x72, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x73, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TriggerRoguelikeCurseNotify_proto_rawDescOnce sync.Once + file_TriggerRoguelikeCurseNotify_proto_rawDescData = file_TriggerRoguelikeCurseNotify_proto_rawDesc +) + +func file_TriggerRoguelikeCurseNotify_proto_rawDescGZIP() []byte { + file_TriggerRoguelikeCurseNotify_proto_rawDescOnce.Do(func() { + file_TriggerRoguelikeCurseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_TriggerRoguelikeCurseNotify_proto_rawDescData) + }) + return file_TriggerRoguelikeCurseNotify_proto_rawDescData +} + +var file_TriggerRoguelikeCurseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TriggerRoguelikeCurseNotify_proto_goTypes = []interface{}{ + (*TriggerRoguelikeCurseNotify)(nil), // 0: TriggerRoguelikeCurseNotify +} +var file_TriggerRoguelikeCurseNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TriggerRoguelikeCurseNotify_proto_init() } +func file_TriggerRoguelikeCurseNotify_proto_init() { + if File_TriggerRoguelikeCurseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TriggerRoguelikeCurseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerRoguelikeCurseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TriggerRoguelikeCurseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TriggerRoguelikeCurseNotify_proto_goTypes, + DependencyIndexes: file_TriggerRoguelikeCurseNotify_proto_depIdxs, + MessageInfos: file_TriggerRoguelikeCurseNotify_proto_msgTypes, + }.Build() + File_TriggerRoguelikeCurseNotify_proto = out.File + file_TriggerRoguelikeCurseNotify_proto_rawDesc = nil + file_TriggerRoguelikeCurseNotify_proto_goTypes = nil + file_TriggerRoguelikeCurseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.proto b/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.proto new file mode 100644 index 00000000..08b33abc --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeCurseNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8412 +// EnetChannelId: 0 +// EnetIsReliable: true +message TriggerRoguelikeCurseNotify { + repeated uint32 effect_param_list = 14; + uint32 curse_group_id = 9; + bool is_trigger_curse = 13; + uint32 curse_level = 3; +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.pb.go b/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.pb.go new file mode 100644 index 00000000..8fd7107e --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TriggerRoguelikeRuneReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TriggerRoguelikeRuneReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RuneId uint32 `protobuf:"varint,8,opt,name=rune_id,json=runeId,proto3" json:"rune_id,omitempty"` +} + +func (x *TriggerRoguelikeRuneReq) Reset() { + *x = TriggerRoguelikeRuneReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TriggerRoguelikeRuneReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerRoguelikeRuneReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerRoguelikeRuneReq) ProtoMessage() {} + +func (x *TriggerRoguelikeRuneReq) ProtoReflect() protoreflect.Message { + mi := &file_TriggerRoguelikeRuneReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerRoguelikeRuneReq.ProtoReflect.Descriptor instead. +func (*TriggerRoguelikeRuneReq) Descriptor() ([]byte, []int) { + return file_TriggerRoguelikeRuneReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TriggerRoguelikeRuneReq) GetRuneId() uint32 { + if x != nil { + return x.RuneId + } + return 0 +} + +var File_TriggerRoguelikeRuneReq_proto protoreflect.FileDescriptor + +var file_TriggerRoguelikeRuneReq_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x32, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, + 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, + 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x75, 0x6e, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TriggerRoguelikeRuneReq_proto_rawDescOnce sync.Once + file_TriggerRoguelikeRuneReq_proto_rawDescData = file_TriggerRoguelikeRuneReq_proto_rawDesc +) + +func file_TriggerRoguelikeRuneReq_proto_rawDescGZIP() []byte { + file_TriggerRoguelikeRuneReq_proto_rawDescOnce.Do(func() { + file_TriggerRoguelikeRuneReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TriggerRoguelikeRuneReq_proto_rawDescData) + }) + return file_TriggerRoguelikeRuneReq_proto_rawDescData +} + +var file_TriggerRoguelikeRuneReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TriggerRoguelikeRuneReq_proto_goTypes = []interface{}{ + (*TriggerRoguelikeRuneReq)(nil), // 0: TriggerRoguelikeRuneReq +} +var file_TriggerRoguelikeRuneReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TriggerRoguelikeRuneReq_proto_init() } +func file_TriggerRoguelikeRuneReq_proto_init() { + if File_TriggerRoguelikeRuneReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TriggerRoguelikeRuneReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerRoguelikeRuneReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TriggerRoguelikeRuneReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TriggerRoguelikeRuneReq_proto_goTypes, + DependencyIndexes: file_TriggerRoguelikeRuneReq_proto_depIdxs, + MessageInfos: file_TriggerRoguelikeRuneReq_proto_msgTypes, + }.Build() + File_TriggerRoguelikeRuneReq_proto = out.File + file_TriggerRoguelikeRuneReq_proto_rawDesc = nil + file_TriggerRoguelikeRuneReq_proto_goTypes = nil + file_TriggerRoguelikeRuneReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.proto b/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.proto new file mode 100644 index 00000000..15021d30 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeRuneReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8463 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TriggerRoguelikeRuneReq { + uint32 rune_id = 8; +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.pb.go b/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.pb.go new file mode 100644 index 00000000..ea0844c8 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TriggerRoguelikeRuneRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8065 +// EnetChannelId: 0 +// EnetIsReliable: true +type TriggerRoguelikeRuneRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvailableCount uint32 `protobuf:"varint,4,opt,name=available_count,json=availableCount,proto3" json:"available_count,omitempty"` + RuneId uint32 `protobuf:"varint,14,opt,name=rune_id,json=runeId,proto3" json:"rune_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *TriggerRoguelikeRuneRsp) Reset() { + *x = TriggerRoguelikeRuneRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TriggerRoguelikeRuneRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerRoguelikeRuneRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerRoguelikeRuneRsp) ProtoMessage() {} + +func (x *TriggerRoguelikeRuneRsp) ProtoReflect() protoreflect.Message { + mi := &file_TriggerRoguelikeRuneRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerRoguelikeRuneRsp.ProtoReflect.Descriptor instead. +func (*TriggerRoguelikeRuneRsp) Descriptor() ([]byte, []int) { + return file_TriggerRoguelikeRuneRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TriggerRoguelikeRuneRsp) GetAvailableCount() uint32 { + if x != nil { + return x.AvailableCount + } + return 0 +} + +func (x *TriggerRoguelikeRuneRsp) GetRuneId() uint32 { + if x != nil { + return x.RuneId + } + return 0 +} + +func (x *TriggerRoguelikeRuneRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_TriggerRoguelikeRuneRsp_proto protoreflect.FileDescriptor + +var file_TriggerRoguelikeRuneRsp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x75, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, + 0x69, 0x6b, 0x65, 0x52, 0x75, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TriggerRoguelikeRuneRsp_proto_rawDescOnce sync.Once + file_TriggerRoguelikeRuneRsp_proto_rawDescData = file_TriggerRoguelikeRuneRsp_proto_rawDesc +) + +func file_TriggerRoguelikeRuneRsp_proto_rawDescGZIP() []byte { + file_TriggerRoguelikeRuneRsp_proto_rawDescOnce.Do(func() { + file_TriggerRoguelikeRuneRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TriggerRoguelikeRuneRsp_proto_rawDescData) + }) + return file_TriggerRoguelikeRuneRsp_proto_rawDescData +} + +var file_TriggerRoguelikeRuneRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TriggerRoguelikeRuneRsp_proto_goTypes = []interface{}{ + (*TriggerRoguelikeRuneRsp)(nil), // 0: TriggerRoguelikeRuneRsp +} +var file_TriggerRoguelikeRuneRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TriggerRoguelikeRuneRsp_proto_init() } +func file_TriggerRoguelikeRuneRsp_proto_init() { + if File_TriggerRoguelikeRuneRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TriggerRoguelikeRuneRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerRoguelikeRuneRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TriggerRoguelikeRuneRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TriggerRoguelikeRuneRsp_proto_goTypes, + DependencyIndexes: file_TriggerRoguelikeRuneRsp_proto_depIdxs, + MessageInfos: file_TriggerRoguelikeRuneRsp_proto_msgTypes, + }.Build() + File_TriggerRoguelikeRuneRsp_proto = out.File + file_TriggerRoguelikeRuneRsp_proto_rawDesc = nil + file_TriggerRoguelikeRuneRsp_proto_goTypes = nil + file_TriggerRoguelikeRuneRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.proto b/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.proto new file mode 100644 index 00000000..47203326 --- /dev/null +++ b/gate-hk4e-api/proto/TriggerRoguelikeRuneRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8065 +// EnetChannelId: 0 +// EnetIsReliable: true +message TriggerRoguelikeRuneRsp { + uint32 available_count = 4; + uint32 rune_id = 14; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/TryEnterHomeReq.pb.go b/gate-hk4e-api/proto/TryEnterHomeReq.pb.go new file mode 100644 index 00000000..e7e5111f --- /dev/null +++ b/gate-hk4e-api/proto/TryEnterHomeReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TryEnterHomeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4482 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type TryEnterHomeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,3,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + TargetPoint uint32 `protobuf:"varint,9,opt,name=target_point,json=targetPoint,proto3" json:"target_point,omitempty"` +} + +func (x *TryEnterHomeReq) Reset() { + *x = TryEnterHomeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_TryEnterHomeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TryEnterHomeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TryEnterHomeReq) ProtoMessage() {} + +func (x *TryEnterHomeReq) ProtoReflect() protoreflect.Message { + mi := &file_TryEnterHomeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TryEnterHomeReq.ProtoReflect.Descriptor instead. +func (*TryEnterHomeReq) Descriptor() ([]byte, []int) { + return file_TryEnterHomeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *TryEnterHomeReq) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *TryEnterHomeReq) GetTargetPoint() uint32 { + if x != nil { + return x.TargetPoint + } + return 0 +} + +var File_TryEnterHomeReq_proto protoreflect.FileDescriptor + +var file_TryEnterHomeReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x79, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TryEnterHomeReq_proto_rawDescOnce sync.Once + file_TryEnterHomeReq_proto_rawDescData = file_TryEnterHomeReq_proto_rawDesc +) + +func file_TryEnterHomeReq_proto_rawDescGZIP() []byte { + file_TryEnterHomeReq_proto_rawDescOnce.Do(func() { + file_TryEnterHomeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_TryEnterHomeReq_proto_rawDescData) + }) + return file_TryEnterHomeReq_proto_rawDescData +} + +var file_TryEnterHomeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TryEnterHomeReq_proto_goTypes = []interface{}{ + (*TryEnterHomeReq)(nil), // 0: TryEnterHomeReq +} +var file_TryEnterHomeReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TryEnterHomeReq_proto_init() } +func file_TryEnterHomeReq_proto_init() { + if File_TryEnterHomeReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TryEnterHomeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TryEnterHomeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TryEnterHomeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TryEnterHomeReq_proto_goTypes, + DependencyIndexes: file_TryEnterHomeReq_proto_depIdxs, + MessageInfos: file_TryEnterHomeReq_proto_msgTypes, + }.Build() + File_TryEnterHomeReq_proto = out.File + file_TryEnterHomeReq_proto_rawDesc = nil + file_TryEnterHomeReq_proto_goTypes = nil + file_TryEnterHomeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TryEnterHomeReq.proto b/gate-hk4e-api/proto/TryEnterHomeReq.proto new file mode 100644 index 00000000..cb0e0079 --- /dev/null +++ b/gate-hk4e-api/proto/TryEnterHomeReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4482 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message TryEnterHomeReq { + uint32 target_uid = 3; + uint32 target_point = 9; +} diff --git a/gate-hk4e-api/proto/TryEnterHomeRsp.pb.go b/gate-hk4e-api/proto/TryEnterHomeRsp.pb.go new file mode 100644 index 00000000..aa522614 --- /dev/null +++ b/gate-hk4e-api/proto/TryEnterHomeRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: TryEnterHomeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4653 +// EnetChannelId: 0 +// EnetIsReliable: true +type TryEnterHomeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetUid uint32 `protobuf:"varint,15,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + ParamList []uint32 `protobuf:"varint,10,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` +} + +func (x *TryEnterHomeRsp) Reset() { + *x = TryEnterHomeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_TryEnterHomeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TryEnterHomeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TryEnterHomeRsp) ProtoMessage() {} + +func (x *TryEnterHomeRsp) ProtoReflect() protoreflect.Message { + mi := &file_TryEnterHomeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TryEnterHomeRsp.ProtoReflect.Descriptor instead. +func (*TryEnterHomeRsp) Descriptor() ([]byte, []int) { + return file_TryEnterHomeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *TryEnterHomeRsp) GetTargetUid() uint32 { + if x != nil { + return x.TargetUid + } + return 0 +} + +func (x *TryEnterHomeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *TryEnterHomeRsp) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +var File_TryEnterHomeRsp_proto protoreflect.FileDescriptor + +var file_TryEnterHomeRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x54, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0f, 0x54, 0x72, 0x79, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x48, 0x6f, 0x6d, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_TryEnterHomeRsp_proto_rawDescOnce sync.Once + file_TryEnterHomeRsp_proto_rawDescData = file_TryEnterHomeRsp_proto_rawDesc +) + +func file_TryEnterHomeRsp_proto_rawDescGZIP() []byte { + file_TryEnterHomeRsp_proto_rawDescOnce.Do(func() { + file_TryEnterHomeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_TryEnterHomeRsp_proto_rawDescData) + }) + return file_TryEnterHomeRsp_proto_rawDescData +} + +var file_TryEnterHomeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_TryEnterHomeRsp_proto_goTypes = []interface{}{ + (*TryEnterHomeRsp)(nil), // 0: TryEnterHomeRsp +} +var file_TryEnterHomeRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_TryEnterHomeRsp_proto_init() } +func file_TryEnterHomeRsp_proto_init() { + if File_TryEnterHomeRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_TryEnterHomeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TryEnterHomeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_TryEnterHomeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_TryEnterHomeRsp_proto_goTypes, + DependencyIndexes: file_TryEnterHomeRsp_proto_depIdxs, + MessageInfos: file_TryEnterHomeRsp_proto_msgTypes, + }.Build() + File_TryEnterHomeRsp_proto = out.File + file_TryEnterHomeRsp_proto_rawDesc = nil + file_TryEnterHomeRsp_proto_goTypes = nil + file_TryEnterHomeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/TryEnterHomeRsp.proto b/gate-hk4e-api/proto/TryEnterHomeRsp.proto new file mode 100644 index 00000000..5756dbf6 --- /dev/null +++ b/gate-hk4e-api/proto/TryEnterHomeRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4653 +// EnetChannelId: 0 +// EnetIsReliable: true +message TryEnterHomeRsp { + uint32 target_uid = 15; + int32 retcode = 4; + repeated uint32 param_list = 10; +} diff --git a/gate-hk4e-api/proto/UgcActivityDetailInfo.pb.go b/gate-hk4e-api/proto/UgcActivityDetailInfo.pb.go new file mode 100644 index 00000000..bef3fe91 --- /dev/null +++ b/gate-hk4e-api/proto/UgcActivityDetailInfo.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UgcActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type UgcActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GMICFADLAMC bool `protobuf:"varint,10,opt,name=Unk2700_GMICFADLAMC,json=Unk2700GMICFADLAMC,proto3" json:"Unk2700_GMICFADLAMC,omitempty"` + Unk2700_FDDCMGKDOCC uint32 `protobuf:"varint,12,opt,name=Unk2700_FDDCMGKDOCC,json=Unk2700FDDCMGKDOCC,proto3" json:"Unk2700_FDDCMGKDOCC,omitempty"` + Unk2700_ILCAPJBAFOI []*Unk2700_MMJJMKMHANL `protobuf:"bytes,5,rep,name=Unk2700_ILCAPJBAFOI,json=Unk2700ILCAPJBAFOI,proto3" json:"Unk2700_ILCAPJBAFOI,omitempty"` + Unk2700_PNOCELCOFNK bool `protobuf:"varint,11,opt,name=Unk2700_PNOCELCOFNK,json=Unk2700PNOCELCOFNK,proto3" json:"Unk2700_PNOCELCOFNK,omitempty"` +} + +func (x *UgcActivityDetailInfo) Reset() { + *x = UgcActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_UgcActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UgcActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UgcActivityDetailInfo) ProtoMessage() {} + +func (x *UgcActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_UgcActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UgcActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*UgcActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_UgcActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *UgcActivityDetailInfo) GetUnk2700_GMICFADLAMC() bool { + if x != nil { + return x.Unk2700_GMICFADLAMC + } + return false +} + +func (x *UgcActivityDetailInfo) GetUnk2700_FDDCMGKDOCC() uint32 { + if x != nil { + return x.Unk2700_FDDCMGKDOCC + } + return 0 +} + +func (x *UgcActivityDetailInfo) GetUnk2700_ILCAPJBAFOI() []*Unk2700_MMJJMKMHANL { + if x != nil { + return x.Unk2700_ILCAPJBAFOI + } + return nil +} + +func (x *UgcActivityDetailInfo) GetUnk2700_PNOCELCOFNK() bool { + if x != nil { + return x.Unk2700_PNOCELCOFNK + } + return false +} + +var File_UgcActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_UgcActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x67, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4a, 0x4a, 0x4d, 0x4b, 0x4d, 0x48, 0x41, + 0x4e, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x15, 0x55, 0x67, 0x63, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, + 0x49, 0x43, 0x46, 0x41, 0x44, 0x4c, 0x41, 0x4d, 0x43, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x49, 0x43, 0x46, 0x41, 0x44, 0x4c, + 0x41, 0x4d, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, + 0x44, 0x44, 0x43, 0x4d, 0x47, 0x4b, 0x44, 0x4f, 0x43, 0x43, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x44, 0x44, 0x43, 0x4d, 0x47, 0x4b, + 0x44, 0x4f, 0x43, 0x43, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x4c, 0x43, 0x41, 0x50, 0x4a, 0x42, 0x41, 0x46, 0x4f, 0x49, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4a, 0x4a, + 0x4d, 0x4b, 0x4d, 0x48, 0x41, 0x4e, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x49, 0x4c, 0x43, 0x41, 0x50, 0x4a, 0x42, 0x41, 0x46, 0x4f, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x4f, 0x43, 0x45, 0x4c, 0x43, 0x4f, 0x46, + 0x4e, 0x4b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x50, 0x4e, 0x4f, 0x43, 0x45, 0x4c, 0x43, 0x4f, 0x46, 0x4e, 0x4b, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UgcActivityDetailInfo_proto_rawDescOnce sync.Once + file_UgcActivityDetailInfo_proto_rawDescData = file_UgcActivityDetailInfo_proto_rawDesc +) + +func file_UgcActivityDetailInfo_proto_rawDescGZIP() []byte { + file_UgcActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_UgcActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_UgcActivityDetailInfo_proto_rawDescData) + }) + return file_UgcActivityDetailInfo_proto_rawDescData +} + +var file_UgcActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UgcActivityDetailInfo_proto_goTypes = []interface{}{ + (*UgcActivityDetailInfo)(nil), // 0: UgcActivityDetailInfo + (*Unk2700_MMJJMKMHANL)(nil), // 1: Unk2700_MMJJMKMHANL +} +var file_UgcActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: UgcActivityDetailInfo.Unk2700_ILCAPJBAFOI:type_name -> Unk2700_MMJJMKMHANL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_UgcActivityDetailInfo_proto_init() } +func file_UgcActivityDetailInfo_proto_init() { + if File_UgcActivityDetailInfo_proto != nil { + return + } + file_Unk2700_MMJJMKMHANL_proto_init() + if !protoimpl.UnsafeEnabled { + file_UgcActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UgcActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UgcActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UgcActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_UgcActivityDetailInfo_proto_depIdxs, + MessageInfos: file_UgcActivityDetailInfo_proto_msgTypes, + }.Build() + File_UgcActivityDetailInfo_proto = out.File + file_UgcActivityDetailInfo_proto_rawDesc = nil + file_UgcActivityDetailInfo_proto_goTypes = nil + file_UgcActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UgcActivityDetailInfo.proto b/gate-hk4e-api/proto/UgcActivityDetailInfo.proto new file mode 100644 index 00000000..0af7a4e0 --- /dev/null +++ b/gate-hk4e-api/proto/UgcActivityDetailInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MMJJMKMHANL.proto"; + +option go_package = "./;proto"; + +message UgcActivityDetailInfo { + bool Unk2700_GMICFADLAMC = 10; + uint32 Unk2700_FDDCMGKDOCC = 12; + repeated Unk2700_MMJJMKMHANL Unk2700_ILCAPJBAFOI = 5; + bool Unk2700_PNOCELCOFNK = 11; +} diff --git a/gate-hk4e-api/proto/Uint32Pair.pb.go b/gate-hk4e-api/proto/Uint32Pair.pb.go new file mode 100644 index 00000000..f02f03f3 --- /dev/null +++ b/gate-hk4e-api/proto/Uint32Pair.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Uint32Pair.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Uint32Pair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key uint32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` + Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Uint32Pair) Reset() { + *x = Uint32Pair{} + if protoimpl.UnsafeEnabled { + mi := &file_Uint32Pair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Uint32Pair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Uint32Pair) ProtoMessage() {} + +func (x *Uint32Pair) ProtoReflect() protoreflect.Message { + mi := &file_Uint32Pair_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Uint32Pair.ProtoReflect.Descriptor instead. +func (*Uint32Pair) Descriptor() ([]byte, []int) { + return file_Uint32Pair_proto_rawDescGZIP(), []int{0} +} + +func (x *Uint32Pair) GetKey() uint32 { + if x != nil { + return x.Key + } + return 0 +} + +func (x *Uint32Pair) GetValue() uint32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_Uint32Pair_proto protoreflect.FileDescriptor + +var file_Uint32Pair_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x0a, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Uint32Pair_proto_rawDescOnce sync.Once + file_Uint32Pair_proto_rawDescData = file_Uint32Pair_proto_rawDesc +) + +func file_Uint32Pair_proto_rawDescGZIP() []byte { + file_Uint32Pair_proto_rawDescOnce.Do(func() { + file_Uint32Pair_proto_rawDescData = protoimpl.X.CompressGZIP(file_Uint32Pair_proto_rawDescData) + }) + return file_Uint32Pair_proto_rawDescData +} + +var file_Uint32Pair_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Uint32Pair_proto_goTypes = []interface{}{ + (*Uint32Pair)(nil), // 0: Uint32Pair +} +var file_Uint32Pair_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Uint32Pair_proto_init() } +func file_Uint32Pair_proto_init() { + if File_Uint32Pair_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Uint32Pair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Uint32Pair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Uint32Pair_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Uint32Pair_proto_goTypes, + DependencyIndexes: file_Uint32Pair_proto_depIdxs, + MessageInfos: file_Uint32Pair_proto_msgTypes, + }.Build() + File_Uint32Pair_proto = out.File + file_Uint32Pair_proto_rawDesc = nil + file_Uint32Pair_proto_goTypes = nil + file_Uint32Pair_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Uint32Pair.proto b/gate-hk4e-api/proto/Uint32Pair.proto new file mode 100644 index 00000000..2b9798f3 --- /dev/null +++ b/gate-hk4e-api/proto/Uint32Pair.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Uint32Pair { + uint32 key = 1; + uint32 value = 2; +} diff --git a/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.pb.go b/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.pb.go new file mode 100644 index 00000000..c9c57d74 --- /dev/null +++ b/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnfreezeGroupLimitNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3220 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnfreezeGroupLimitNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,9,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + SceneId uint32 `protobuf:"varint,11,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *UnfreezeGroupLimitNotify) Reset() { + *x = UnfreezeGroupLimitNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnfreezeGroupLimitNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeGroupLimitNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeGroupLimitNotify) ProtoMessage() {} + +func (x *UnfreezeGroupLimitNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnfreezeGroupLimitNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnfreezeGroupLimitNotify.ProtoReflect.Descriptor instead. +func (*UnfreezeGroupLimitNotify) Descriptor() ([]byte, []int) { + return file_UnfreezeGroupLimitNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnfreezeGroupLimitNotify) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *UnfreezeGroupLimitNotify) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_UnfreezeGroupLimitNotify_proto protoreflect.FileDescriptor + +var file_UnfreezeGroupLimitNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x50, 0x0a, 0x18, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnfreezeGroupLimitNotify_proto_rawDescOnce sync.Once + file_UnfreezeGroupLimitNotify_proto_rawDescData = file_UnfreezeGroupLimitNotify_proto_rawDesc +) + +func file_UnfreezeGroupLimitNotify_proto_rawDescGZIP() []byte { + file_UnfreezeGroupLimitNotify_proto_rawDescOnce.Do(func() { + file_UnfreezeGroupLimitNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnfreezeGroupLimitNotify_proto_rawDescData) + }) + return file_UnfreezeGroupLimitNotify_proto_rawDescData +} + +var file_UnfreezeGroupLimitNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnfreezeGroupLimitNotify_proto_goTypes = []interface{}{ + (*UnfreezeGroupLimitNotify)(nil), // 0: UnfreezeGroupLimitNotify +} +var file_UnfreezeGroupLimitNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnfreezeGroupLimitNotify_proto_init() } +func file_UnfreezeGroupLimitNotify_proto_init() { + if File_UnfreezeGroupLimitNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnfreezeGroupLimitNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeGroupLimitNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnfreezeGroupLimitNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnfreezeGroupLimitNotify_proto_goTypes, + DependencyIndexes: file_UnfreezeGroupLimitNotify_proto_depIdxs, + MessageInfos: file_UnfreezeGroupLimitNotify_proto_msgTypes, + }.Build() + File_UnfreezeGroupLimitNotify_proto = out.File + file_UnfreezeGroupLimitNotify_proto_rawDesc = nil + file_UnfreezeGroupLimitNotify_proto_goTypes = nil + file_UnfreezeGroupLimitNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.proto b/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.proto new file mode 100644 index 00000000..471feae4 --- /dev/null +++ b/gate-hk4e-api/proto/UnfreezeGroupLimitNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3220 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnfreezeGroupLimitNotify { + uint32 point_id = 9; + uint32 scene_id = 11; +} diff --git a/gate-hk4e-api/proto/UnionCmd.pb.go b/gate-hk4e-api/proto/UnionCmd.pb.go new file mode 100644 index 00000000..f08cd62a --- /dev/null +++ b/gate-hk4e-api/proto/UnionCmd.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnionCmd.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type UnionCmd struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Body []byte `protobuf:"bytes,14,opt,name=body,proto3" json:"body,omitempty"` + MessageId uint32 `protobuf:"varint,8,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` +} + +func (x *UnionCmd) Reset() { + *x = UnionCmd{} + if protoimpl.UnsafeEnabled { + mi := &file_UnionCmd_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnionCmd) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnionCmd) ProtoMessage() {} + +func (x *UnionCmd) ProtoReflect() protoreflect.Message { + mi := &file_UnionCmd_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnionCmd.ProtoReflect.Descriptor instead. +func (*UnionCmd) Descriptor() ([]byte, []int) { + return file_UnionCmd_proto_rawDescGZIP(), []int{0} +} + +func (x *UnionCmd) GetBody() []byte { + if x != nil { + return x.Body + } + return nil +} + +func (x *UnionCmd) GetMessageId() uint32 { + if x != nil { + return x.MessageId + } + return 0 +} + +var File_UnionCmd_proto protoreflect.FileDescriptor + +var file_UnionCmd_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x43, 0x6d, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x3d, 0x0a, 0x08, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x43, 0x6d, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, + 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_UnionCmd_proto_rawDescOnce sync.Once + file_UnionCmd_proto_rawDescData = file_UnionCmd_proto_rawDesc +) + +func file_UnionCmd_proto_rawDescGZIP() []byte { + file_UnionCmd_proto_rawDescOnce.Do(func() { + file_UnionCmd_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnionCmd_proto_rawDescData) + }) + return file_UnionCmd_proto_rawDescData +} + +var file_UnionCmd_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnionCmd_proto_goTypes = []interface{}{ + (*UnionCmd)(nil), // 0: UnionCmd +} +var file_UnionCmd_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnionCmd_proto_init() } +func file_UnionCmd_proto_init() { + if File_UnionCmd_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnionCmd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnionCmd); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnionCmd_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnionCmd_proto_goTypes, + DependencyIndexes: file_UnionCmd_proto_depIdxs, + MessageInfos: file_UnionCmd_proto_msgTypes, + }.Build() + File_UnionCmd_proto = out.File + file_UnionCmd_proto_rawDesc = nil + file_UnionCmd_proto_goTypes = nil + file_UnionCmd_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnionCmd.proto b/gate-hk4e-api/proto/UnionCmd.proto new file mode 100644 index 00000000..adef06d3 --- /dev/null +++ b/gate-hk4e-api/proto/UnionCmd.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message UnionCmd { + bytes body = 14; + uint32 message_id = 8; +} diff --git a/gate-hk4e-api/proto/UnionCmdNotify.pb.go b/gate-hk4e-api/proto/UnionCmdNotify.pb.go new file mode 100644 index 00000000..81950572 --- /dev/null +++ b/gate-hk4e-api/proto/UnionCmdNotify.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnionCmdNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UnionCmdNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CmdList []*UnionCmd `protobuf:"bytes,1,rep,name=cmd_list,json=cmdList,proto3" json:"cmd_list,omitempty"` +} + +func (x *UnionCmdNotify) Reset() { + *x = UnionCmdNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnionCmdNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnionCmdNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnionCmdNotify) ProtoMessage() {} + +func (x *UnionCmdNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnionCmdNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnionCmdNotify.ProtoReflect.Descriptor instead. +func (*UnionCmdNotify) Descriptor() ([]byte, []int) { + return file_UnionCmdNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnionCmdNotify) GetCmdList() []*UnionCmd { + if x != nil { + return x.CmdList + } + return nil +} + +var File_UnionCmdNotify_proto protoreflect.FileDescriptor + +var file_UnionCmdNotify_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x43, 0x6d, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x43, 0x6d, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x0e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x43, + 0x6d, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x08, 0x63, 0x6d, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x6e, 0x69, + 0x6f, 0x6e, 0x43, 0x6d, 0x64, 0x52, 0x07, 0x63, 0x6d, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_UnionCmdNotify_proto_rawDescOnce sync.Once + file_UnionCmdNotify_proto_rawDescData = file_UnionCmdNotify_proto_rawDesc +) + +func file_UnionCmdNotify_proto_rawDescGZIP() []byte { + file_UnionCmdNotify_proto_rawDescOnce.Do(func() { + file_UnionCmdNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnionCmdNotify_proto_rawDescData) + }) + return file_UnionCmdNotify_proto_rawDescData +} + +var file_UnionCmdNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnionCmdNotify_proto_goTypes = []interface{}{ + (*UnionCmdNotify)(nil), // 0: UnionCmdNotify + (*UnionCmd)(nil), // 1: UnionCmd +} +var file_UnionCmdNotify_proto_depIdxs = []int32{ + 1, // 0: UnionCmdNotify.cmd_list:type_name -> UnionCmd + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_UnionCmdNotify_proto_init() } +func file_UnionCmdNotify_proto_init() { + if File_UnionCmdNotify_proto != nil { + return + } + file_UnionCmd_proto_init() + if !protoimpl.UnsafeEnabled { + file_UnionCmdNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnionCmdNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnionCmdNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnionCmdNotify_proto_goTypes, + DependencyIndexes: file_UnionCmdNotify_proto_depIdxs, + MessageInfos: file_UnionCmdNotify_proto_msgTypes, + }.Build() + File_UnionCmdNotify_proto = out.File + file_UnionCmdNotify_proto_rawDesc = nil + file_UnionCmdNotify_proto_goTypes = nil + file_UnionCmdNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnionCmdNotify.proto b/gate-hk4e-api/proto/UnionCmdNotify.proto new file mode 100644 index 00000000..c0868455 --- /dev/null +++ b/gate-hk4e-api/proto/UnionCmdNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "UnionCmd.proto"; + +option go_package = "./;proto"; + +// CmdId: 5 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UnionCmdNotify { + repeated UnionCmd cmd_list = 1; +} diff --git a/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.pb.go new file mode 100644 index 00000000..0d78f9ff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2200_DEHCEKCILAB_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 88 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2200_DEHCEKCILAB_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2200_DEHCEKCILAB_ClientNotify) Reset() { + *x = Unk2200_DEHCEKCILAB_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2200_DEHCEKCILAB_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2200_DEHCEKCILAB_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2200_DEHCEKCILAB_ClientNotify) ProtoMessage() {} + +func (x *Unk2200_DEHCEKCILAB_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2200_DEHCEKCILAB_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2200_DEHCEKCILAB_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2200_DEHCEKCILAB_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2200_DEHCEKCILAB_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x32, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x48, 0x43, 0x45, 0x4b, + 0x43, 0x49, 0x4c, 0x41, 0x42, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x32, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x48, 0x43, 0x45, 0x4b, 0x43, 0x49, 0x4c, 0x41, 0x42, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescData = file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDesc +) + +func file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescData) + }) + return file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDescData +} + +var file_Unk2200_DEHCEKCILAB_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2200_DEHCEKCILAB_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2200_DEHCEKCILAB_ClientNotify)(nil), // 0: Unk2200_DEHCEKCILAB_ClientNotify +} +var file_Unk2200_DEHCEKCILAB_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2200_DEHCEKCILAB_ClientNotify_proto_init() } +func file_Unk2200_DEHCEKCILAB_ClientNotify_proto_init() { + if File_Unk2200_DEHCEKCILAB_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2200_DEHCEKCILAB_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2200_DEHCEKCILAB_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2200_DEHCEKCILAB_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2200_DEHCEKCILAB_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2200_DEHCEKCILAB_ClientNotify_proto = out.File + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_rawDesc = nil + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_goTypes = nil + file_Unk2200_DEHCEKCILAB_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.proto b/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.proto new file mode 100644 index 00000000..e554df95 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2200_DEHCEKCILAB_ClientNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 88 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2200_DEHCEKCILAB_ClientNotify {} diff --git a/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.pb.go b/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.pb.go new file mode 100644 index 00000000..561dc791 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AAAMOFPACEA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AAAMOFPACEA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ILGPNAAFFEG []*Unk2700_DJDEPPHEHCP `protobuf:"bytes,6,rep,name=Unk2700_ILGPNAAFFEG,json=Unk2700ILGPNAAFFEG,proto3" json:"Unk2700_ILGPNAAFFEG,omitempty"` +} + +func (x *Unk2700_AAAMOFPACEA) Reset() { + *x = Unk2700_AAAMOFPACEA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AAAMOFPACEA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AAAMOFPACEA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AAAMOFPACEA) ProtoMessage() {} + +func (x *Unk2700_AAAMOFPACEA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AAAMOFPACEA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AAAMOFPACEA.ProtoReflect.Descriptor instead. +func (*Unk2700_AAAMOFPACEA) Descriptor() ([]byte, []int) { + return file_Unk2700_AAAMOFPACEA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AAAMOFPACEA) GetUnk2700_ILGPNAAFFEG() []*Unk2700_DJDEPPHEHCP { + if x != nil { + return x.Unk2700_ILGPNAAFFEG + } + return nil +} + +var File_Unk2700_AAAMOFPACEA_proto protoreflect.FileDescriptor + +var file_Unk2700_AAAMOFPACEA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x41, 0x4d, 0x4f, 0x46, + 0x50, 0x41, 0x43, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x44, 0x45, 0x50, 0x50, 0x48, 0x45, 0x48, 0x43, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x41, 0x41, 0x4d, 0x4f, 0x46, 0x50, 0x41, 0x43, 0x45, 0x41, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x47, 0x50, 0x4e, 0x41, 0x41, + 0x46, 0x46, 0x45, 0x47, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x44, 0x45, 0x50, 0x50, 0x48, 0x45, 0x48, 0x43, 0x50, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4c, 0x47, 0x50, 0x4e, 0x41, 0x41, + 0x46, 0x46, 0x45, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AAAMOFPACEA_proto_rawDescOnce sync.Once + file_Unk2700_AAAMOFPACEA_proto_rawDescData = file_Unk2700_AAAMOFPACEA_proto_rawDesc +) + +func file_Unk2700_AAAMOFPACEA_proto_rawDescGZIP() []byte { + file_Unk2700_AAAMOFPACEA_proto_rawDescOnce.Do(func() { + file_Unk2700_AAAMOFPACEA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AAAMOFPACEA_proto_rawDescData) + }) + return file_Unk2700_AAAMOFPACEA_proto_rawDescData +} + +var file_Unk2700_AAAMOFPACEA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AAAMOFPACEA_proto_goTypes = []interface{}{ + (*Unk2700_AAAMOFPACEA)(nil), // 0: Unk2700_AAAMOFPACEA + (*Unk2700_DJDEPPHEHCP)(nil), // 1: Unk2700_DJDEPPHEHCP +} +var file_Unk2700_AAAMOFPACEA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AAAMOFPACEA.Unk2700_ILGPNAAFFEG:type_name -> Unk2700_DJDEPPHEHCP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AAAMOFPACEA_proto_init() } +func file_Unk2700_AAAMOFPACEA_proto_init() { + if File_Unk2700_AAAMOFPACEA_proto != nil { + return + } + file_Unk2700_DJDEPPHEHCP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AAAMOFPACEA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AAAMOFPACEA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AAAMOFPACEA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AAAMOFPACEA_proto_goTypes, + DependencyIndexes: file_Unk2700_AAAMOFPACEA_proto_depIdxs, + MessageInfos: file_Unk2700_AAAMOFPACEA_proto_msgTypes, + }.Build() + File_Unk2700_AAAMOFPACEA_proto = out.File + file_Unk2700_AAAMOFPACEA_proto_rawDesc = nil + file_Unk2700_AAAMOFPACEA_proto_goTypes = nil + file_Unk2700_AAAMOFPACEA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.proto b/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.proto new file mode 100644 index 00000000..c8aeafff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AAAMOFPACEA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DJDEPPHEHCP.proto"; + +option go_package = "./;proto"; + +message Unk2700_AAAMOFPACEA { + repeated Unk2700_DJDEPPHEHCP Unk2700_ILGPNAAFFEG = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.pb.go b/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.pb.go new file mode 100644 index 00000000..e8d33ed3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AAHKMNNAFIH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8231 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AAHKMNNAFIH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *Unk2700_ICPNKAALJEP `protobuf:"bytes,12,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *Unk2700_AAHKMNNAFIH) Reset() { + *x = Unk2700_AAHKMNNAFIH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AAHKMNNAFIH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AAHKMNNAFIH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AAHKMNNAFIH) ProtoMessage() {} + +func (x *Unk2700_AAHKMNNAFIH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AAHKMNNAFIH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AAHKMNNAFIH.ProtoReflect.Descriptor instead. +func (*Unk2700_AAHKMNNAFIH) Descriptor() ([]byte, []int) { + return file_Unk2700_AAHKMNNAFIH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AAHKMNNAFIH) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_AAHKMNNAFIH) GetSettleInfo() *Unk2700_ICPNKAALJEP { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_Unk2700_AAHKMNNAFIH_proto protoreflect.FileDescriptor + +var file_Unk2700_AAHKMNNAFIH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x48, 0x4b, 0x4d, 0x4e, + 0x4e, 0x41, 0x46, 0x49, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x50, 0x4e, 0x4b, 0x41, 0x41, 0x4c, 0x4a, 0x45, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x41, 0x48, 0x4b, 0x4d, 0x4e, 0x4e, 0x41, 0x46, 0x49, 0x48, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, + 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x50, 0x4e, + 0x4b, 0x41, 0x41, 0x4c, 0x4a, 0x45, 0x50, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AAHKMNNAFIH_proto_rawDescOnce sync.Once + file_Unk2700_AAHKMNNAFIH_proto_rawDescData = file_Unk2700_AAHKMNNAFIH_proto_rawDesc +) + +func file_Unk2700_AAHKMNNAFIH_proto_rawDescGZIP() []byte { + file_Unk2700_AAHKMNNAFIH_proto_rawDescOnce.Do(func() { + file_Unk2700_AAHKMNNAFIH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AAHKMNNAFIH_proto_rawDescData) + }) + return file_Unk2700_AAHKMNNAFIH_proto_rawDescData +} + +var file_Unk2700_AAHKMNNAFIH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AAHKMNNAFIH_proto_goTypes = []interface{}{ + (*Unk2700_AAHKMNNAFIH)(nil), // 0: Unk2700_AAHKMNNAFIH + (*Unk2700_ICPNKAALJEP)(nil), // 1: Unk2700_ICPNKAALJEP +} +var file_Unk2700_AAHKMNNAFIH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AAHKMNNAFIH.settle_info:type_name -> Unk2700_ICPNKAALJEP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AAHKMNNAFIH_proto_init() } +func file_Unk2700_AAHKMNNAFIH_proto_init() { + if File_Unk2700_AAHKMNNAFIH_proto != nil { + return + } + file_Unk2700_ICPNKAALJEP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AAHKMNNAFIH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AAHKMNNAFIH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AAHKMNNAFIH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AAHKMNNAFIH_proto_goTypes, + DependencyIndexes: file_Unk2700_AAHKMNNAFIH_proto_depIdxs, + MessageInfos: file_Unk2700_AAHKMNNAFIH_proto_msgTypes, + }.Build() + File_Unk2700_AAHKMNNAFIH_proto = out.File + file_Unk2700_AAHKMNNAFIH_proto_rawDesc = nil + file_Unk2700_AAHKMNNAFIH_proto_goTypes = nil + file_Unk2700_AAHKMNNAFIH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.proto b/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.proto new file mode 100644 index 00000000..6d617bda --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AAHKMNNAFIH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_ICPNKAALJEP.proto"; + +option go_package = "./;proto"; + +// CmdId: 8231 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AAHKMNNAFIH { + uint32 gallery_id = 13; + Unk2700_ICPNKAALJEP settle_info = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.pb.go new file mode 100644 index 00000000..88095cca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ACILPONNGGK_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4537 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ACILPONNGGK_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_ACILPONNGGK_ClientReq) Reset() { + *x = Unk2700_ACILPONNGGK_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ACILPONNGGK_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ACILPONNGGK_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ACILPONNGGK_ClientReq) ProtoMessage() {} + +func (x *Unk2700_ACILPONNGGK_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ACILPONNGGK_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ACILPONNGGK_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_ACILPONNGGK_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_ACILPONNGGK_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x43, 0x49, 0x4c, 0x50, 0x4f, + 0x4e, 0x4e, 0x47, 0x47, 0x4b, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x41, 0x43, 0x49, 0x4c, 0x50, 0x4f, 0x4e, 0x4e, 0x47, 0x47, 0x4b, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescData = file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDesc +) + +func file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescData) + }) + return file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDescData +} + +var file_Unk2700_ACILPONNGGK_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ACILPONNGGK_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_ACILPONNGGK_ClientReq)(nil), // 0: Unk2700_ACILPONNGGK_ClientReq +} +var file_Unk2700_ACILPONNGGK_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ACILPONNGGK_ClientReq_proto_init() } +func file_Unk2700_ACILPONNGGK_ClientReq_proto_init() { + if File_Unk2700_ACILPONNGGK_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ACILPONNGGK_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ACILPONNGGK_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ACILPONNGGK_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_ACILPONNGGK_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_ACILPONNGGK_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_ACILPONNGGK_ClientReq_proto = out.File + file_Unk2700_ACILPONNGGK_ClientReq_proto_rawDesc = nil + file_Unk2700_ACILPONNGGK_ClientReq_proto_goTypes = nil + file_Unk2700_ACILPONNGGK_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.proto new file mode 100644 index 00000000..ea87f8ff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ACILPONNGGK_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4537 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ACILPONNGGK_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.pb.go new file mode 100644 index 00000000..3cee0a3c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ADBFKMECFNJ_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6240 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ADBFKMECFNJ_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_ADBFKMECFNJ_ClientNotify) Reset() { + *x = Unk2700_ADBFKMECFNJ_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ADBFKMECFNJ_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ADBFKMECFNJ_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_ADBFKMECFNJ_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ADBFKMECFNJ_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_ADBFKMECFNJ_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ADBFKMECFNJ_ClientNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_ADBFKMECFNJ_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x42, 0x46, 0x4b, 0x4d, + 0x45, 0x43, 0x46, 0x4e, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x42, 0x46, 0x4b, 0x4d, 0x45, 0x43, 0x46, 0x4e, 0x4a, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescData = file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDesc +) + +func file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDescData +} + +var file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_ADBFKMECFNJ_ClientNotify)(nil), // 0: Unk2700_ADBFKMECFNJ_ClientNotify +} +var file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_init() } +func file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_init() { + if File_Unk2700_ADBFKMECFNJ_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ADBFKMECFNJ_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_ADBFKMECFNJ_ClientNotify_proto = out.File + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_rawDesc = nil + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_goTypes = nil + file_Unk2700_ADBFKMECFNJ_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.proto new file mode 100644 index 00000000..181c23be --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADBFKMECFNJ_ClientNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6240 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ADBFKMECFNJ_ClientNotify { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.pb.go b/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.pb.go new file mode 100644 index 00000000..d70b413d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ADGLMHECKKJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_ADGLMHECKKJ int32 + +const ( + Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP Unk2700_ADGLMHECKKJ = 0 + Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_LNCNKDBGPLH Unk2700_ADGLMHECKKJ = 1 + Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_PEMOMIPJAGM Unk2700_ADGLMHECKKJ = 2 + Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_KHKIDAFCLLJ Unk2700_ADGLMHECKKJ = 3 +) + +// Enum value maps for Unk2700_ADGLMHECKKJ. +var ( + Unk2700_ADGLMHECKKJ_name = map[int32]string{ + 0: "Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP", + 1: "Unk2700_ADGLMHECKKJ_Unk2700_LNCNKDBGPLH", + 2: "Unk2700_ADGLMHECKKJ_Unk2700_PEMOMIPJAGM", + 3: "Unk2700_ADGLMHECKKJ_Unk2700_KHKIDAFCLLJ", + } + Unk2700_ADGLMHECKKJ_value = map[string]int32{ + "Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP": 0, + "Unk2700_ADGLMHECKKJ_Unk2700_LNCNKDBGPLH": 1, + "Unk2700_ADGLMHECKKJ_Unk2700_PEMOMIPJAGM": 2, + "Unk2700_ADGLMHECKKJ_Unk2700_KHKIDAFCLLJ": 3, + } +) + +func (x Unk2700_ADGLMHECKKJ) Enum() *Unk2700_ADGLMHECKKJ { + p := new(Unk2700_ADGLMHECKKJ) + *p = x + return p +} + +func (x Unk2700_ADGLMHECKKJ) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_ADGLMHECKKJ) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_ADGLMHECKKJ_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_ADGLMHECKKJ) Type() protoreflect.EnumType { + return &file_Unk2700_ADGLMHECKKJ_proto_enumTypes[0] +} + +func (x Unk2700_ADGLMHECKKJ) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_ADGLMHECKKJ.Descriptor instead. +func (Unk2700_ADGLMHECKKJ) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_ADGLMHECKKJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_ADGLMHECKKJ_proto protoreflect.FileDescriptor + +var file_Unk2700_ADGLMHECKKJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, + 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, 0x43, + 0x4b, 0x4b, 0x4a, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4b, 0x45, 0x4b, 0x45, 0x49, 0x41, 0x50, 0x42, 0x50, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, + 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x4e, 0x43, 0x4e, 0x4b, 0x44, 0x42, 0x47, 0x50, 0x4c, 0x48, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, + 0x43, 0x4b, 0x4b, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x45, 0x4d, + 0x4f, 0x4d, 0x49, 0x50, 0x4a, 0x41, 0x47, 0x4d, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, + 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4b, 0x49, 0x44, 0x41, + 0x46, 0x43, 0x4c, 0x4c, 0x4a, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ADGLMHECKKJ_proto_rawDescOnce sync.Once + file_Unk2700_ADGLMHECKKJ_proto_rawDescData = file_Unk2700_ADGLMHECKKJ_proto_rawDesc +) + +func file_Unk2700_ADGLMHECKKJ_proto_rawDescGZIP() []byte { + file_Unk2700_ADGLMHECKKJ_proto_rawDescOnce.Do(func() { + file_Unk2700_ADGLMHECKKJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ADGLMHECKKJ_proto_rawDescData) + }) + return file_Unk2700_ADGLMHECKKJ_proto_rawDescData +} + +var file_Unk2700_ADGLMHECKKJ_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_ADGLMHECKKJ_proto_goTypes = []interface{}{ + (Unk2700_ADGLMHECKKJ)(0), // 0: Unk2700_ADGLMHECKKJ +} +var file_Unk2700_ADGLMHECKKJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ADGLMHECKKJ_proto_init() } +func file_Unk2700_ADGLMHECKKJ_proto_init() { + if File_Unk2700_ADGLMHECKKJ_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ADGLMHECKKJ_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ADGLMHECKKJ_proto_goTypes, + DependencyIndexes: file_Unk2700_ADGLMHECKKJ_proto_depIdxs, + EnumInfos: file_Unk2700_ADGLMHECKKJ_proto_enumTypes, + }.Build() + File_Unk2700_ADGLMHECKKJ_proto = out.File + file_Unk2700_ADGLMHECKKJ_proto_rawDesc = nil + file_Unk2700_ADGLMHECKKJ_proto_goTypes = nil + file_Unk2700_ADGLMHECKKJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.proto b/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.proto new file mode 100644 index 00000000..f2fe6d45 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADGLMHECKKJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_ADGLMHECKKJ { + Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP = 0; + Unk2700_ADGLMHECKKJ_Unk2700_LNCNKDBGPLH = 1; + Unk2700_ADGLMHECKKJ_Unk2700_PEMOMIPJAGM = 2; + Unk2700_ADGLMHECKKJ_Unk2700_KHKIDAFCLLJ = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.pb.go b/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.pb.go new file mode 100644 index 00000000..51dd3c4f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ADIGEBEIJBA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_ADIGEBEIJBA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTrial bool `protobuf:"varint,8,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` + AvatarGuid uint64 `protobuf:"varint,11,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *Unk2700_ADIGEBEIJBA) Reset() { + *x = Unk2700_ADIGEBEIJBA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ADIGEBEIJBA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ADIGEBEIJBA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ADIGEBEIJBA) ProtoMessage() {} + +func (x *Unk2700_ADIGEBEIJBA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ADIGEBEIJBA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ADIGEBEIJBA.ProtoReflect.Descriptor instead. +func (*Unk2700_ADIGEBEIJBA) Descriptor() ([]byte, []int) { + return file_Unk2700_ADIGEBEIJBA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ADIGEBEIJBA) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +func (x *Unk2700_ADIGEBEIJBA) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_Unk2700_ADIGEBEIJBA_proto protoreflect.FileDescriptor + +var file_Unk2700_ADIGEBEIJBA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x49, 0x47, 0x45, 0x42, + 0x45, 0x49, 0x4a, 0x42, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x49, 0x47, 0x45, 0x42, 0x45, 0x49, 0x4a, + 0x42, 0x41, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_ADIGEBEIJBA_proto_rawDescOnce sync.Once + file_Unk2700_ADIGEBEIJBA_proto_rawDescData = file_Unk2700_ADIGEBEIJBA_proto_rawDesc +) + +func file_Unk2700_ADIGEBEIJBA_proto_rawDescGZIP() []byte { + file_Unk2700_ADIGEBEIJBA_proto_rawDescOnce.Do(func() { + file_Unk2700_ADIGEBEIJBA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ADIGEBEIJBA_proto_rawDescData) + }) + return file_Unk2700_ADIGEBEIJBA_proto_rawDescData +} + +var file_Unk2700_ADIGEBEIJBA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ADIGEBEIJBA_proto_goTypes = []interface{}{ + (*Unk2700_ADIGEBEIJBA)(nil), // 0: Unk2700_ADIGEBEIJBA +} +var file_Unk2700_ADIGEBEIJBA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ADIGEBEIJBA_proto_init() } +func file_Unk2700_ADIGEBEIJBA_proto_init() { + if File_Unk2700_ADIGEBEIJBA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ADIGEBEIJBA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ADIGEBEIJBA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ADIGEBEIJBA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ADIGEBEIJBA_proto_goTypes, + DependencyIndexes: file_Unk2700_ADIGEBEIJBA_proto_depIdxs, + MessageInfos: file_Unk2700_ADIGEBEIJBA_proto_msgTypes, + }.Build() + File_Unk2700_ADIGEBEIJBA_proto = out.File + file_Unk2700_ADIGEBEIJBA_proto_rawDesc = nil + file_Unk2700_ADIGEBEIJBA_proto_goTypes = nil + file_Unk2700_ADIGEBEIJBA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.proto b/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.proto new file mode 100644 index 00000000..3eba0702 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ADIGEBEIJBA.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_ADIGEBEIJBA { + bool is_trial = 8; + uint64 avatar_guid = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.pb.go b/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.pb.go new file mode 100644 index 00000000..2b468eb8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AEEMJIMOPKD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8481 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AEEMJIMOPKD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsSuccess bool `protobuf:"varint,3,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *Unk2700_AEEMJIMOPKD) Reset() { + *x = Unk2700_AEEMJIMOPKD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AEEMJIMOPKD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AEEMJIMOPKD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AEEMJIMOPKD) ProtoMessage() {} + +func (x *Unk2700_AEEMJIMOPKD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AEEMJIMOPKD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AEEMJIMOPKD.ProtoReflect.Descriptor instead. +func (*Unk2700_AEEMJIMOPKD) Descriptor() ([]byte, []int) { + return file_Unk2700_AEEMJIMOPKD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AEEMJIMOPKD) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_AEEMJIMOPKD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_AEEMJIMOPKD) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_Unk2700_AEEMJIMOPKD_proto protoreflect.FileDescriptor + +var file_Unk2700_AEEMJIMOPKD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x45, 0x4d, 0x4a, 0x49, + 0x4d, 0x4f, 0x50, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x45, 0x4d, 0x4a, 0x49, 0x4d, 0x4f, 0x50, + 0x4b, 0x44, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AEEMJIMOPKD_proto_rawDescOnce sync.Once + file_Unk2700_AEEMJIMOPKD_proto_rawDescData = file_Unk2700_AEEMJIMOPKD_proto_rawDesc +) + +func file_Unk2700_AEEMJIMOPKD_proto_rawDescGZIP() []byte { + file_Unk2700_AEEMJIMOPKD_proto_rawDescOnce.Do(func() { + file_Unk2700_AEEMJIMOPKD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AEEMJIMOPKD_proto_rawDescData) + }) + return file_Unk2700_AEEMJIMOPKD_proto_rawDescData +} + +var file_Unk2700_AEEMJIMOPKD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AEEMJIMOPKD_proto_goTypes = []interface{}{ + (*Unk2700_AEEMJIMOPKD)(nil), // 0: Unk2700_AEEMJIMOPKD +} +var file_Unk2700_AEEMJIMOPKD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AEEMJIMOPKD_proto_init() } +func file_Unk2700_AEEMJIMOPKD_proto_init() { + if File_Unk2700_AEEMJIMOPKD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AEEMJIMOPKD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AEEMJIMOPKD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AEEMJIMOPKD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AEEMJIMOPKD_proto_goTypes, + DependencyIndexes: file_Unk2700_AEEMJIMOPKD_proto_depIdxs, + MessageInfos: file_Unk2700_AEEMJIMOPKD_proto_msgTypes, + }.Build() + File_Unk2700_AEEMJIMOPKD_proto = out.File + file_Unk2700_AEEMJIMOPKD_proto_rawDesc = nil + file_Unk2700_AEEMJIMOPKD_proto_goTypes = nil + file_Unk2700_AEEMJIMOPKD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.proto b/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.proto new file mode 100644 index 00000000..1f52744f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AEEMJIMOPKD.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8481 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AEEMJIMOPKD { + uint32 stage_id = 13; + int32 retcode = 14; + bool is_success = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.pb.go b/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.pb.go new file mode 100644 index 00000000..b7703fc5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AFOPONDCLKC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AFOPONDCLKC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nickname string `protobuf:"bytes,14,opt,name=nickname,proto3" json:"nickname,omitempty"` + Uid uint32 `protobuf:"varint,12,opt,name=uid,proto3" json:"uid,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,5,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + ItemIdList []uint32 `protobuf:"varint,9,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *Unk2700_AFOPONDCLKC) Reset() { + *x = Unk2700_AFOPONDCLKC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AFOPONDCLKC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AFOPONDCLKC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AFOPONDCLKC) ProtoMessage() {} + +func (x *Unk2700_AFOPONDCLKC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AFOPONDCLKC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AFOPONDCLKC.ProtoReflect.Descriptor instead. +func (*Unk2700_AFOPONDCLKC) Descriptor() ([]byte, []int) { + return file_Unk2700_AFOPONDCLKC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AFOPONDCLKC) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *Unk2700_AFOPONDCLKC) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_AFOPONDCLKC) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *Unk2700_AFOPONDCLKC) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_Unk2700_AFOPONDCLKC_proto protoreflect.FileDescriptor + +var file_Unk2700_AFOPONDCLKC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x4f, 0x50, 0x4f, 0x4e, + 0x44, 0x43, 0x4c, 0x4b, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x46, + 0x4f, 0x50, 0x4f, 0x4e, 0x44, 0x43, 0x4c, 0x4b, 0x43, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AFOPONDCLKC_proto_rawDescOnce sync.Once + file_Unk2700_AFOPONDCLKC_proto_rawDescData = file_Unk2700_AFOPONDCLKC_proto_rawDesc +) + +func file_Unk2700_AFOPONDCLKC_proto_rawDescGZIP() []byte { + file_Unk2700_AFOPONDCLKC_proto_rawDescOnce.Do(func() { + file_Unk2700_AFOPONDCLKC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AFOPONDCLKC_proto_rawDescData) + }) + return file_Unk2700_AFOPONDCLKC_proto_rawDescData +} + +var file_Unk2700_AFOPONDCLKC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AFOPONDCLKC_proto_goTypes = []interface{}{ + (*Unk2700_AFOPONDCLKC)(nil), // 0: Unk2700_AFOPONDCLKC + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_Unk2700_AFOPONDCLKC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AFOPONDCLKC.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AFOPONDCLKC_proto_init() } +func file_Unk2700_AFOPONDCLKC_proto_init() { + if File_Unk2700_AFOPONDCLKC_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AFOPONDCLKC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AFOPONDCLKC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AFOPONDCLKC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AFOPONDCLKC_proto_goTypes, + DependencyIndexes: file_Unk2700_AFOPONDCLKC_proto_depIdxs, + MessageInfos: file_Unk2700_AFOPONDCLKC_proto_msgTypes, + }.Build() + File_Unk2700_AFOPONDCLKC_proto = out.File + file_Unk2700_AFOPONDCLKC_proto_rawDesc = nil + file_Unk2700_AFOPONDCLKC_proto_goTypes = nil + file_Unk2700_AFOPONDCLKC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.proto b/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.proto new file mode 100644 index 00000000..8c530c0e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AFOPONDCLKC.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message Unk2700_AFOPONDCLKC { + string nickname = 14; + uint32 uid = 12; + ProfilePicture profile_picture = 5; + repeated uint32 item_id_list = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.pb.go b/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.pb.go new file mode 100644 index 00000000..1a827fe0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AGIDJODJNEA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AGIDJODJNEA int32 + +const ( + Unk2700_AGIDJODJNEA_Unk2700_AGIDJODJNEA_Unk2700_OAEGNAOPMFB Unk2700_AGIDJODJNEA = 0 + Unk2700_AGIDJODJNEA_Unk2700_AGIDJODJNEA_Unk2700_DLDNOOGCFNB Unk2700_AGIDJODJNEA = 1 + Unk2700_AGIDJODJNEA_Unk2700_AGIDJODJNEA_Unk2700_PONLJLLPNPI Unk2700_AGIDJODJNEA = 2 + Unk2700_AGIDJODJNEA_Unk2700_AGIDJODJNEA_Unk2700_POHNGFOIPAH Unk2700_AGIDJODJNEA = 3 +) + +// Enum value maps for Unk2700_AGIDJODJNEA. +var ( + Unk2700_AGIDJODJNEA_name = map[int32]string{ + 0: "Unk2700_AGIDJODJNEA_Unk2700_OAEGNAOPMFB", + 1: "Unk2700_AGIDJODJNEA_Unk2700_DLDNOOGCFNB", + 2: "Unk2700_AGIDJODJNEA_Unk2700_PONLJLLPNPI", + 3: "Unk2700_AGIDJODJNEA_Unk2700_POHNGFOIPAH", + } + Unk2700_AGIDJODJNEA_value = map[string]int32{ + "Unk2700_AGIDJODJNEA_Unk2700_OAEGNAOPMFB": 0, + "Unk2700_AGIDJODJNEA_Unk2700_DLDNOOGCFNB": 1, + "Unk2700_AGIDJODJNEA_Unk2700_PONLJLLPNPI": 2, + "Unk2700_AGIDJODJNEA_Unk2700_POHNGFOIPAH": 3, + } +) + +func (x Unk2700_AGIDJODJNEA) Enum() *Unk2700_AGIDJODJNEA { + p := new(Unk2700_AGIDJODJNEA) + *p = x + return p +} + +func (x Unk2700_AGIDJODJNEA) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_AGIDJODJNEA) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_AGIDJODJNEA_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_AGIDJODJNEA) Type() protoreflect.EnumType { + return &file_Unk2700_AGIDJODJNEA_proto_enumTypes[0] +} + +func (x Unk2700_AGIDJODJNEA) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_AGIDJODJNEA.Descriptor instead. +func (Unk2700_AGIDJODJNEA) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_AGIDJODJNEA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_AGIDJODJNEA_proto protoreflect.FileDescriptor + +var file_Unk2700_AGIDJODJNEA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, + 0x44, 0x4a, 0x4e, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, 0x4a, + 0x4e, 0x45, 0x41, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, 0x4a, 0x4e, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x41, 0x45, 0x47, 0x4e, 0x41, 0x4f, 0x50, 0x4d, 0x46, 0x42, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, + 0x4a, 0x4f, 0x44, 0x4a, 0x4e, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x4c, 0x44, 0x4e, 0x4f, 0x4f, 0x47, 0x43, 0x46, 0x4e, 0x42, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, + 0x4a, 0x4e, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, + 0x4c, 0x4a, 0x4c, 0x4c, 0x50, 0x4e, 0x50, 0x49, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, 0x4a, 0x4e, 0x45, + 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x48, 0x4e, 0x47, 0x46, + 0x4f, 0x49, 0x50, 0x41, 0x48, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AGIDJODJNEA_proto_rawDescOnce sync.Once + file_Unk2700_AGIDJODJNEA_proto_rawDescData = file_Unk2700_AGIDJODJNEA_proto_rawDesc +) + +func file_Unk2700_AGIDJODJNEA_proto_rawDescGZIP() []byte { + file_Unk2700_AGIDJODJNEA_proto_rawDescOnce.Do(func() { + file_Unk2700_AGIDJODJNEA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AGIDJODJNEA_proto_rawDescData) + }) + return file_Unk2700_AGIDJODJNEA_proto_rawDescData +} + +var file_Unk2700_AGIDJODJNEA_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_AGIDJODJNEA_proto_goTypes = []interface{}{ + (Unk2700_AGIDJODJNEA)(0), // 0: Unk2700_AGIDJODJNEA +} +var file_Unk2700_AGIDJODJNEA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AGIDJODJNEA_proto_init() } +func file_Unk2700_AGIDJODJNEA_proto_init() { + if File_Unk2700_AGIDJODJNEA_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AGIDJODJNEA_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AGIDJODJNEA_proto_goTypes, + DependencyIndexes: file_Unk2700_AGIDJODJNEA_proto_depIdxs, + EnumInfos: file_Unk2700_AGIDJODJNEA_proto_enumTypes, + }.Build() + File_Unk2700_AGIDJODJNEA_proto = out.File + file_Unk2700_AGIDJODJNEA_proto_rawDesc = nil + file_Unk2700_AGIDJODJNEA_proto_goTypes = nil + file_Unk2700_AGIDJODJNEA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.proto b/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.proto new file mode 100644 index 00000000..808dccb4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AGIDJODJNEA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_AGIDJODJNEA { + Unk2700_AGIDJODJNEA_Unk2700_OAEGNAOPMFB = 0; + Unk2700_AGIDJODJNEA_Unk2700_DLDNOOGCFNB = 1; + Unk2700_AGIDJODJNEA_Unk2700_PONLJLLPNPI = 2; + Unk2700_AGIDJODJNEA_Unk2700_POHNGFOIPAH = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.pb.go b/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.pb.go new file mode 100644 index 00000000..36fdcec3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AHHFDDOGCNA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8768 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AHHFDDOGCNA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DACHHINLDDJ map[uint32]uint32 `protobuf:"bytes,3,rep,name=Unk2700_DACHHINLDDJ,json=Unk2700DACHHINLDDJ,proto3" json:"Unk2700_DACHHINLDDJ,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_AHHFDDOGCNA) Reset() { + *x = Unk2700_AHHFDDOGCNA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AHHFDDOGCNA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AHHFDDOGCNA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AHHFDDOGCNA) ProtoMessage() {} + +func (x *Unk2700_AHHFDDOGCNA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AHHFDDOGCNA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AHHFDDOGCNA.ProtoReflect.Descriptor instead. +func (*Unk2700_AHHFDDOGCNA) Descriptor() ([]byte, []int) { + return file_Unk2700_AHHFDDOGCNA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AHHFDDOGCNA) GetUnk2700_DACHHINLDDJ() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DACHHINLDDJ + } + return nil +} + +func (x *Unk2700_AHHFDDOGCNA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_AHHFDDOGCNA_proto protoreflect.FileDescriptor + +var file_Unk2700_AHHFDDOGCNA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x48, 0x46, 0x44, 0x44, + 0x4f, 0x47, 0x43, 0x4e, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x48, 0x46, 0x44, 0x44, 0x4f, 0x47, + 0x43, 0x4e, 0x41, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x48, 0x46, 0x44, + 0x44, 0x4f, 0x47, 0x43, 0x4e, 0x41, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, + 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, + 0x44, 0x4a, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x45, 0x0a, 0x17, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, + 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AHHFDDOGCNA_proto_rawDescOnce sync.Once + file_Unk2700_AHHFDDOGCNA_proto_rawDescData = file_Unk2700_AHHFDDOGCNA_proto_rawDesc +) + +func file_Unk2700_AHHFDDOGCNA_proto_rawDescGZIP() []byte { + file_Unk2700_AHHFDDOGCNA_proto_rawDescOnce.Do(func() { + file_Unk2700_AHHFDDOGCNA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AHHFDDOGCNA_proto_rawDescData) + }) + return file_Unk2700_AHHFDDOGCNA_proto_rawDescData +} + +var file_Unk2700_AHHFDDOGCNA_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_AHHFDDOGCNA_proto_goTypes = []interface{}{ + (*Unk2700_AHHFDDOGCNA)(nil), // 0: Unk2700_AHHFDDOGCNA + nil, // 1: Unk2700_AHHFDDOGCNA.Unk2700DACHHINLDDJEntry +} +var file_Unk2700_AHHFDDOGCNA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AHHFDDOGCNA.Unk2700_DACHHINLDDJ:type_name -> Unk2700_AHHFDDOGCNA.Unk2700DACHHINLDDJEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AHHFDDOGCNA_proto_init() } +func file_Unk2700_AHHFDDOGCNA_proto_init() { + if File_Unk2700_AHHFDDOGCNA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AHHFDDOGCNA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AHHFDDOGCNA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AHHFDDOGCNA_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AHHFDDOGCNA_proto_goTypes, + DependencyIndexes: file_Unk2700_AHHFDDOGCNA_proto_depIdxs, + MessageInfos: file_Unk2700_AHHFDDOGCNA_proto_msgTypes, + }.Build() + File_Unk2700_AHHFDDOGCNA_proto = out.File + file_Unk2700_AHHFDDOGCNA_proto_rawDesc = nil + file_Unk2700_AHHFDDOGCNA_proto_goTypes = nil + file_Unk2700_AHHFDDOGCNA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.proto b/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.proto new file mode 100644 index 00000000..0af1404f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AHHFDDOGCNA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8768 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AHHFDDOGCNA { + map Unk2700_DACHHINLDDJ = 3; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.pb.go b/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.pb.go new file mode 100644 index 00000000..3abd5201 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AHOMMGBBIAH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8066 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AHOMMGBBIAH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,12,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_AHOMMGBBIAH) Reset() { + *x = Unk2700_AHOMMGBBIAH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AHOMMGBBIAH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AHOMMGBBIAH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AHOMMGBBIAH) ProtoMessage() {} + +func (x *Unk2700_AHOMMGBBIAH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AHOMMGBBIAH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AHOMMGBBIAH.ProtoReflect.Descriptor instead. +func (*Unk2700_AHOMMGBBIAH) Descriptor() ([]byte, []int) { + return file_Unk2700_AHOMMGBBIAH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AHOMMGBBIAH) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +func (x *Unk2700_AHOMMGBBIAH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_AHOMMGBBIAH_proto protoreflect.FileDescriptor + +var file_Unk2700_AHOMMGBBIAH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4f, 0x4d, 0x4d, 0x47, + 0x42, 0x42, 0x49, 0x41, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4f, 0x4d, 0x4d, 0x47, 0x42, 0x42, 0x49, + 0x41, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AHOMMGBBIAH_proto_rawDescOnce sync.Once + file_Unk2700_AHOMMGBBIAH_proto_rawDescData = file_Unk2700_AHOMMGBBIAH_proto_rawDesc +) + +func file_Unk2700_AHOMMGBBIAH_proto_rawDescGZIP() []byte { + file_Unk2700_AHOMMGBBIAH_proto_rawDescOnce.Do(func() { + file_Unk2700_AHOMMGBBIAH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AHOMMGBBIAH_proto_rawDescData) + }) + return file_Unk2700_AHOMMGBBIAH_proto_rawDescData +} + +var file_Unk2700_AHOMMGBBIAH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AHOMMGBBIAH_proto_goTypes = []interface{}{ + (*Unk2700_AHOMMGBBIAH)(nil), // 0: Unk2700_AHOMMGBBIAH +} +var file_Unk2700_AHOMMGBBIAH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AHOMMGBBIAH_proto_init() } +func file_Unk2700_AHOMMGBBIAH_proto_init() { + if File_Unk2700_AHOMMGBBIAH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AHOMMGBBIAH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AHOMMGBBIAH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AHOMMGBBIAH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AHOMMGBBIAH_proto_goTypes, + DependencyIndexes: file_Unk2700_AHOMMGBBIAH_proto_depIdxs, + MessageInfos: file_Unk2700_AHOMMGBBIAH_proto_msgTypes, + }.Build() + File_Unk2700_AHOMMGBBIAH_proto = out.File + file_Unk2700_AHOMMGBBIAH_proto_rawDesc = nil + file_Unk2700_AHOMMGBBIAH_proto_goTypes = nil + file_Unk2700_AHOMMGBBIAH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.proto b/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.proto new file mode 100644 index 00000000..b0dba920 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AHOMMGBBIAH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8066 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AHOMMGBBIAH { + uint32 trial_id = 12; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.pb.go b/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.pb.go new file mode 100644 index 00000000..7bb632d0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AIBHKIENDPF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8147 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AIBHKIENDPF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + DifficultyId uint32 `protobuf:"varint,14,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_GMAEHKMDIGG []*Unk2700_BGKMAAINPCO `protobuf:"bytes,8,rep,name=Unk2700_GMAEHKMDIGG,json=Unk2700GMAEHKMDIGG,proto3" json:"Unk2700_GMAEHKMDIGG,omitempty"` +} + +func (x *Unk2700_AIBHKIENDPF) Reset() { + *x = Unk2700_AIBHKIENDPF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AIBHKIENDPF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AIBHKIENDPF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AIBHKIENDPF) ProtoMessage() {} + +func (x *Unk2700_AIBHKIENDPF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AIBHKIENDPF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AIBHKIENDPF.ProtoReflect.Descriptor instead. +func (*Unk2700_AIBHKIENDPF) Descriptor() ([]byte, []int) { + return file_Unk2700_AIBHKIENDPF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AIBHKIENDPF) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_AIBHKIENDPF) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *Unk2700_AIBHKIENDPF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_AIBHKIENDPF) GetUnk2700_GMAEHKMDIGG() []*Unk2700_BGKMAAINPCO { + if x != nil { + return x.Unk2700_GMAEHKMDIGG + } + return nil +} + +var File_Unk2700_AIBHKIENDPF_proto protoreflect.FileDescriptor + +var file_Unk2700_AIBHKIENDPF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x42, 0x48, 0x4b, 0x49, + 0x45, 0x4e, 0x44, 0x50, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x49, 0x42, 0x48, 0x4b, 0x49, 0x45, 0x4e, 0x44, 0x50, 0x46, 0x12, 0x19, + 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AIBHKIENDPF_proto_rawDescOnce sync.Once + file_Unk2700_AIBHKIENDPF_proto_rawDescData = file_Unk2700_AIBHKIENDPF_proto_rawDesc +) + +func file_Unk2700_AIBHKIENDPF_proto_rawDescGZIP() []byte { + file_Unk2700_AIBHKIENDPF_proto_rawDescOnce.Do(func() { + file_Unk2700_AIBHKIENDPF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AIBHKIENDPF_proto_rawDescData) + }) + return file_Unk2700_AIBHKIENDPF_proto_rawDescData +} + +var file_Unk2700_AIBHKIENDPF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AIBHKIENDPF_proto_goTypes = []interface{}{ + (*Unk2700_AIBHKIENDPF)(nil), // 0: Unk2700_AIBHKIENDPF + (*Unk2700_BGKMAAINPCO)(nil), // 1: Unk2700_BGKMAAINPCO +} +var file_Unk2700_AIBHKIENDPF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AIBHKIENDPF.Unk2700_GMAEHKMDIGG:type_name -> Unk2700_BGKMAAINPCO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AIBHKIENDPF_proto_init() } +func file_Unk2700_AIBHKIENDPF_proto_init() { + if File_Unk2700_AIBHKIENDPF_proto != nil { + return + } + file_Unk2700_BGKMAAINPCO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AIBHKIENDPF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AIBHKIENDPF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AIBHKIENDPF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AIBHKIENDPF_proto_goTypes, + DependencyIndexes: file_Unk2700_AIBHKIENDPF_proto_depIdxs, + MessageInfos: file_Unk2700_AIBHKIENDPF_proto_msgTypes, + }.Build() + File_Unk2700_AIBHKIENDPF_proto = out.File + file_Unk2700_AIBHKIENDPF_proto_rawDesc = nil + file_Unk2700_AIBHKIENDPF_proto_goTypes = nil + file_Unk2700_AIBHKIENDPF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.proto b/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.proto new file mode 100644 index 00000000..9cfdd821 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIBHKIENDPF.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BGKMAAINPCO.proto"; + +option go_package = "./;proto"; + +// CmdId: 8147 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AIBHKIENDPF { + uint32 level_id = 1; + uint32 difficulty_id = 14; + int32 retcode = 6; + repeated Unk2700_BGKMAAINPCO Unk2700_GMAEHKMDIGG = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.pb.go b/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.pb.go new file mode 100644 index 00000000..a0b0d9ed --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AIGECAPPCKK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AIGECAPPCKK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AEJIIOOPJIL []*Unk2700_HIHKGMLLOGD `protobuf:"bytes,3,rep,name=Unk2700_AEJIIOOPJIL,json=Unk2700AEJIIOOPJIL,proto3" json:"Unk2700_AEJIIOOPJIL,omitempty"` + Unk2700_HNCBHBKDODH uint32 `protobuf:"varint,14,opt,name=Unk2700_HNCBHBKDODH,json=Unk2700HNCBHBKDODH,proto3" json:"Unk2700_HNCBHBKDODH,omitempty"` +} + +func (x *Unk2700_AIGECAPPCKK) Reset() { + *x = Unk2700_AIGECAPPCKK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AIGECAPPCKK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AIGECAPPCKK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AIGECAPPCKK) ProtoMessage() {} + +func (x *Unk2700_AIGECAPPCKK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AIGECAPPCKK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AIGECAPPCKK.ProtoReflect.Descriptor instead. +func (*Unk2700_AIGECAPPCKK) Descriptor() ([]byte, []int) { + return file_Unk2700_AIGECAPPCKK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AIGECAPPCKK) GetUnk2700_AEJIIOOPJIL() []*Unk2700_HIHKGMLLOGD { + if x != nil { + return x.Unk2700_AEJIIOOPJIL + } + return nil +} + +func (x *Unk2700_AIGECAPPCKK) GetUnk2700_HNCBHBKDODH() uint32 { + if x != nil { + return x.Unk2700_HNCBHBKDODH + } + return 0 +} + +var File_Unk2700_AIGECAPPCKK_proto protoreflect.FileDescriptor + +var file_Unk2700_AIGECAPPCKK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x47, 0x45, 0x43, 0x41, + 0x50, 0x50, 0x43, 0x4b, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x49, 0x47, 0x45, 0x43, 0x41, 0x50, 0x50, 0x43, 0x4b, 0x4b, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x4a, 0x49, 0x49, 0x4f, + 0x4f, 0x50, 0x4a, 0x49, 0x4c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, + 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x45, 0x4a, 0x49, 0x49, 0x4f, + 0x4f, 0x50, 0x4a, 0x49, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x4e, 0x43, 0x42, 0x48, 0x42, 0x4b, 0x44, 0x4f, 0x44, 0x48, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4e, 0x43, 0x42, 0x48, + 0x42, 0x4b, 0x44, 0x4f, 0x44, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AIGECAPPCKK_proto_rawDescOnce sync.Once + file_Unk2700_AIGECAPPCKK_proto_rawDescData = file_Unk2700_AIGECAPPCKK_proto_rawDesc +) + +func file_Unk2700_AIGECAPPCKK_proto_rawDescGZIP() []byte { + file_Unk2700_AIGECAPPCKK_proto_rawDescOnce.Do(func() { + file_Unk2700_AIGECAPPCKK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AIGECAPPCKK_proto_rawDescData) + }) + return file_Unk2700_AIGECAPPCKK_proto_rawDescData +} + +var file_Unk2700_AIGECAPPCKK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AIGECAPPCKK_proto_goTypes = []interface{}{ + (*Unk2700_AIGECAPPCKK)(nil), // 0: Unk2700_AIGECAPPCKK + (*Unk2700_HIHKGMLLOGD)(nil), // 1: Unk2700_HIHKGMLLOGD +} +var file_Unk2700_AIGECAPPCKK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AIGECAPPCKK.Unk2700_AEJIIOOPJIL:type_name -> Unk2700_HIHKGMLLOGD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AIGECAPPCKK_proto_init() } +func file_Unk2700_AIGECAPPCKK_proto_init() { + if File_Unk2700_AIGECAPPCKK_proto != nil { + return + } + file_Unk2700_HIHKGMLLOGD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AIGECAPPCKK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AIGECAPPCKK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AIGECAPPCKK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AIGECAPPCKK_proto_goTypes, + DependencyIndexes: file_Unk2700_AIGECAPPCKK_proto_depIdxs, + MessageInfos: file_Unk2700_AIGECAPPCKK_proto_msgTypes, + }.Build() + File_Unk2700_AIGECAPPCKK_proto = out.File + file_Unk2700_AIGECAPPCKK_proto_rawDesc = nil + file_Unk2700_AIGECAPPCKK_proto_goTypes = nil + file_Unk2700_AIGECAPPCKK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.proto b/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.proto new file mode 100644 index 00000000..d1756bd6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIGECAPPCKK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HIHKGMLLOGD.proto"; + +option go_package = "./;proto"; + +message Unk2700_AIGECAPPCKK { + repeated Unk2700_HIHKGMLLOGD Unk2700_AEJIIOOPJIL = 3; + uint32 Unk2700_HNCBHBKDODH = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.pb.go new file mode 100644 index 00000000..6ddc724b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AIGKGLHBMCP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6244 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AIGKGLHBMCP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + RoomId uint32 `protobuf:"varint,13,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` +} + +func (x *Unk2700_AIGKGLHBMCP_ServerRsp) Reset() { + *x = Unk2700_AIGKGLHBMCP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AIGKGLHBMCP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AIGKGLHBMCP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_AIGKGLHBMCP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AIGKGLHBMCP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_AIGKGLHBMCP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AIGKGLHBMCP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_AIGKGLHBMCP_ServerRsp) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +var File_Unk2700_AIGKGLHBMCP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x47, 0x4b, 0x47, 0x4c, + 0x48, 0x42, 0x4d, 0x43, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x41, 0x49, 0x47, 0x4b, 0x47, 0x4c, 0x48, 0x42, 0x4d, 0x43, 0x50, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescData = file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_AIGKGLHBMCP_ServerRsp)(nil), // 0: Unk2700_AIGKGLHBMCP_ServerRsp +} +var file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_init() } +func file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_init() { + if File_Unk2700_AIGKGLHBMCP_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AIGKGLHBMCP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_AIGKGLHBMCP_ServerRsp_proto = out.File + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_rawDesc = nil + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_goTypes = nil + file_Unk2700_AIGKGLHBMCP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.proto new file mode 100644 index 00000000..99959b19 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIGKGLHBMCP_ServerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6244 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AIGKGLHBMCP_ServerRsp { + int32 retcode = 1; + uint32 room_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.pb.go b/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.pb.go new file mode 100644 index 00000000..be6bd78d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AIKOFHAKNPC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8740 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_AIKOFHAKNPC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrialId uint32 `protobuf:"varint,13,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` +} + +func (x *Unk2700_AIKOFHAKNPC) Reset() { + *x = Unk2700_AIKOFHAKNPC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AIKOFHAKNPC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AIKOFHAKNPC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AIKOFHAKNPC) ProtoMessage() {} + +func (x *Unk2700_AIKOFHAKNPC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AIKOFHAKNPC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AIKOFHAKNPC.ProtoReflect.Descriptor instead. +func (*Unk2700_AIKOFHAKNPC) Descriptor() ([]byte, []int) { + return file_Unk2700_AIKOFHAKNPC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AIKOFHAKNPC) GetTrialId() uint32 { + if x != nil { + return x.TrialId + } + return 0 +} + +var File_Unk2700_AIKOFHAKNPC_proto protoreflect.FileDescriptor + +var file_Unk2700_AIKOFHAKNPC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4b, 0x4f, 0x46, 0x48, + 0x41, 0x4b, 0x4e, 0x50, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4b, 0x4f, 0x46, 0x48, 0x41, 0x4b, 0x4e, + 0x50, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_AIKOFHAKNPC_proto_rawDescOnce sync.Once + file_Unk2700_AIKOFHAKNPC_proto_rawDescData = file_Unk2700_AIKOFHAKNPC_proto_rawDesc +) + +func file_Unk2700_AIKOFHAKNPC_proto_rawDescGZIP() []byte { + file_Unk2700_AIKOFHAKNPC_proto_rawDescOnce.Do(func() { + file_Unk2700_AIKOFHAKNPC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AIKOFHAKNPC_proto_rawDescData) + }) + return file_Unk2700_AIKOFHAKNPC_proto_rawDescData +} + +var file_Unk2700_AIKOFHAKNPC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AIKOFHAKNPC_proto_goTypes = []interface{}{ + (*Unk2700_AIKOFHAKNPC)(nil), // 0: Unk2700_AIKOFHAKNPC +} +var file_Unk2700_AIKOFHAKNPC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AIKOFHAKNPC_proto_init() } +func file_Unk2700_AIKOFHAKNPC_proto_init() { + if File_Unk2700_AIKOFHAKNPC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AIKOFHAKNPC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AIKOFHAKNPC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AIKOFHAKNPC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AIKOFHAKNPC_proto_goTypes, + DependencyIndexes: file_Unk2700_AIKOFHAKNPC_proto_depIdxs, + MessageInfos: file_Unk2700_AIKOFHAKNPC_proto_msgTypes, + }.Build() + File_Unk2700_AIKOFHAKNPC_proto = out.File + file_Unk2700_AIKOFHAKNPC_proto_rawDesc = nil + file_Unk2700_AIKOFHAKNPC_proto_goTypes = nil + file_Unk2700_AIKOFHAKNPC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.proto b/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.proto new file mode 100644 index 00000000..51c2c361 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIKOFHAKNPC.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8740 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_AIKOFHAKNPC { + uint32 trial_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.pb.go b/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.pb.go new file mode 100644 index 00000000..663c4d05 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AIMMLILLOKB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AIMMLILLOKB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DLKPHFDEDNF map[uint32]uint32 `protobuf:"bytes,3,rep,name=Unk2700_DLKPHFDEDNF,json=Unk2700DLKPHFDEDNF,proto3" json:"Unk2700_DLKPHFDEDNF,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Uid uint32 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"` + Unk2700_HDJPJBIFMCO map[uint32]uint32 `protobuf:"bytes,13,rep,name=Unk2700_HDJPJBIFMCO,json=Unk2700HDJPJBIFMCO,proto3" json:"Unk2700_HDJPJBIFMCO,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_AIMMLILLOKB) Reset() { + *x = Unk2700_AIMMLILLOKB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AIMMLILLOKB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AIMMLILLOKB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AIMMLILLOKB) ProtoMessage() {} + +func (x *Unk2700_AIMMLILLOKB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AIMMLILLOKB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AIMMLILLOKB.ProtoReflect.Descriptor instead. +func (*Unk2700_AIMMLILLOKB) Descriptor() ([]byte, []int) { + return file_Unk2700_AIMMLILLOKB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AIMMLILLOKB) GetUnk2700_DLKPHFDEDNF() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DLKPHFDEDNF + } + return nil +} + +func (x *Unk2700_AIMMLILLOKB) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_AIMMLILLOKB) GetUnk2700_HDJPJBIFMCO() map[uint32]uint32 { + if x != nil { + return x.Unk2700_HDJPJBIFMCO + } + return nil +} + +var File_Unk2700_AIMMLILLOKB_proto protoreflect.FileDescriptor + +var file_Unk2700_AIMMLILLOKB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, + 0x4c, 0x4c, 0x4f, 0x4b, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf3, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, 0x4c, 0x4c, + 0x4f, 0x4b, 0x42, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x4c, 0x4b, 0x50, 0x48, 0x46, 0x44, 0x45, 0x44, 0x4e, 0x46, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, + 0x49, 0x4c, 0x4c, 0x4f, 0x4b, 0x42, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4c, + 0x4b, 0x50, 0x48, 0x46, 0x44, 0x45, 0x44, 0x4e, 0x46, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4c, 0x4b, 0x50, 0x48, 0x46, 0x44, 0x45, 0x44, + 0x4e, 0x46, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x44, 0x4a, 0x50, 0x4a, 0x42, 0x49, 0x46, 0x4d, 0x43, 0x4f, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, + 0x4c, 0x49, 0x4c, 0x4c, 0x4f, 0x4b, 0x42, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x44, 0x4a, 0x50, 0x4a, 0x42, 0x49, 0x46, 0x4d, 0x43, 0x4f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x44, 0x4a, 0x50, 0x4a, 0x42, 0x49, 0x46, + 0x4d, 0x43, 0x4f, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4c, + 0x4b, 0x50, 0x48, 0x46, 0x44, 0x45, 0x44, 0x4e, 0x46, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x44, 0x4a, 0x50, 0x4a, 0x42, 0x49, 0x46, 0x4d, 0x43, 0x4f, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AIMMLILLOKB_proto_rawDescOnce sync.Once + file_Unk2700_AIMMLILLOKB_proto_rawDescData = file_Unk2700_AIMMLILLOKB_proto_rawDesc +) + +func file_Unk2700_AIMMLILLOKB_proto_rawDescGZIP() []byte { + file_Unk2700_AIMMLILLOKB_proto_rawDescOnce.Do(func() { + file_Unk2700_AIMMLILLOKB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AIMMLILLOKB_proto_rawDescData) + }) + return file_Unk2700_AIMMLILLOKB_proto_rawDescData +} + +var file_Unk2700_AIMMLILLOKB_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_Unk2700_AIMMLILLOKB_proto_goTypes = []interface{}{ + (*Unk2700_AIMMLILLOKB)(nil), // 0: Unk2700_AIMMLILLOKB + nil, // 1: Unk2700_AIMMLILLOKB.Unk2700DLKPHFDEDNFEntry + nil, // 2: Unk2700_AIMMLILLOKB.Unk2700HDJPJBIFMCOEntry +} +var file_Unk2700_AIMMLILLOKB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AIMMLILLOKB.Unk2700_DLKPHFDEDNF:type_name -> Unk2700_AIMMLILLOKB.Unk2700DLKPHFDEDNFEntry + 2, // 1: Unk2700_AIMMLILLOKB.Unk2700_HDJPJBIFMCO:type_name -> Unk2700_AIMMLILLOKB.Unk2700HDJPJBIFMCOEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_AIMMLILLOKB_proto_init() } +func file_Unk2700_AIMMLILLOKB_proto_init() { + if File_Unk2700_AIMMLILLOKB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AIMMLILLOKB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AIMMLILLOKB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AIMMLILLOKB_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AIMMLILLOKB_proto_goTypes, + DependencyIndexes: file_Unk2700_AIMMLILLOKB_proto_depIdxs, + MessageInfos: file_Unk2700_AIMMLILLOKB_proto_msgTypes, + }.Build() + File_Unk2700_AIMMLILLOKB_proto = out.File + file_Unk2700_AIMMLILLOKB_proto_rawDesc = nil + file_Unk2700_AIMMLILLOKB_proto_goTypes = nil + file_Unk2700_AIMMLILLOKB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.proto b/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.proto new file mode 100644 index 00000000..331fc1ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AIMMLILLOKB.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_AIMMLILLOKB { + map Unk2700_DLKPHFDEDNF = 3; + uint32 uid = 6; + map Unk2700_HDJPJBIFMCO = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.pb.go b/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.pb.go new file mode 100644 index 00000000..c1c47f3a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AKIBKKOMBMC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8120 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_AKIBKKOMBMC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_GOCEOKPHFIO []*Unk2700_IEPIBFMCJNJ `protobuf:"bytes,11,rep,name=Unk2700_GOCEOKPHFIO,json=Unk2700GOCEOKPHFIO,proto3" json:"Unk2700_GOCEOKPHFIO,omitempty"` + ScheduleId uint32 `protobuf:"varint,6,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_AKIBKKOMBMC) Reset() { + *x = Unk2700_AKIBKKOMBMC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AKIBKKOMBMC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AKIBKKOMBMC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AKIBKKOMBMC) ProtoMessage() {} + +func (x *Unk2700_AKIBKKOMBMC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AKIBKKOMBMC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AKIBKKOMBMC.ProtoReflect.Descriptor instead. +func (*Unk2700_AKIBKKOMBMC) Descriptor() ([]byte, []int) { + return file_Unk2700_AKIBKKOMBMC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AKIBKKOMBMC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_AKIBKKOMBMC) GetUnk2700_GOCEOKPHFIO() []*Unk2700_IEPIBFMCJNJ { + if x != nil { + return x.Unk2700_GOCEOKPHFIO + } + return nil +} + +func (x *Unk2700_AKIBKKOMBMC) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_AKIBKKOMBMC_proto protoreflect.FileDescriptor + +var file_Unk2700_AKIBKKOMBMC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4b, 0x49, 0x42, 0x4b, 0x4b, + 0x4f, 0x4d, 0x42, 0x4d, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x50, 0x49, 0x42, 0x46, 0x4d, 0x43, 0x4a, 0x4e, 0x4a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x4b, 0x49, 0x42, 0x4b, 0x4b, 0x4f, 0x4d, 0x42, 0x4d, 0x43, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4f, 0x43, 0x45, 0x4f, 0x4b, 0x50, 0x48, 0x46, 0x49, 0x4f, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x45, 0x50, 0x49, 0x42, 0x46, 0x4d, 0x43, 0x4a, 0x4e, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x47, 0x4f, 0x43, 0x45, 0x4f, 0x4b, 0x50, 0x48, 0x46, 0x49, 0x4f, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AKIBKKOMBMC_proto_rawDescOnce sync.Once + file_Unk2700_AKIBKKOMBMC_proto_rawDescData = file_Unk2700_AKIBKKOMBMC_proto_rawDesc +) + +func file_Unk2700_AKIBKKOMBMC_proto_rawDescGZIP() []byte { + file_Unk2700_AKIBKKOMBMC_proto_rawDescOnce.Do(func() { + file_Unk2700_AKIBKKOMBMC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AKIBKKOMBMC_proto_rawDescData) + }) + return file_Unk2700_AKIBKKOMBMC_proto_rawDescData +} + +var file_Unk2700_AKIBKKOMBMC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AKIBKKOMBMC_proto_goTypes = []interface{}{ + (*Unk2700_AKIBKKOMBMC)(nil), // 0: Unk2700_AKIBKKOMBMC + (*Unk2700_IEPIBFMCJNJ)(nil), // 1: Unk2700_IEPIBFMCJNJ +} +var file_Unk2700_AKIBKKOMBMC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AKIBKKOMBMC.Unk2700_GOCEOKPHFIO:type_name -> Unk2700_IEPIBFMCJNJ + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AKIBKKOMBMC_proto_init() } +func file_Unk2700_AKIBKKOMBMC_proto_init() { + if File_Unk2700_AKIBKKOMBMC_proto != nil { + return + } + file_Unk2700_IEPIBFMCJNJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AKIBKKOMBMC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AKIBKKOMBMC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AKIBKKOMBMC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AKIBKKOMBMC_proto_goTypes, + DependencyIndexes: file_Unk2700_AKIBKKOMBMC_proto_depIdxs, + MessageInfos: file_Unk2700_AKIBKKOMBMC_proto_msgTypes, + }.Build() + File_Unk2700_AKIBKKOMBMC_proto = out.File + file_Unk2700_AKIBKKOMBMC_proto_rawDesc = nil + file_Unk2700_AKIBKKOMBMC_proto_goTypes = nil + file_Unk2700_AKIBKKOMBMC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.proto b/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.proto new file mode 100644 index 00000000..0cf0b77c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AKIBKKOMBMC.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IEPIBFMCJNJ.proto"; + +option go_package = "./;proto"; + +// CmdId: 8120 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_AKIBKKOMBMC { + int32 retcode = 15; + repeated Unk2700_IEPIBFMCJNJ Unk2700_GOCEOKPHFIO = 11; + uint32 schedule_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.pb.go new file mode 100644 index 00000000..bb183a0c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ALBPFHFJHHF_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6036 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ALBPFHFJHHF_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HPNDCCFNPEF *Unk2700_JDPMOMKAPIF `protobuf:"bytes,3,opt,name=Unk2700_HPNDCCFNPEF,json=Unk2700HPNDCCFNPEF,proto3" json:"Unk2700_HPNDCCFNPEF,omitempty"` +} + +func (x *Unk2700_ALBPFHFJHHF_ClientReq) Reset() { + *x = Unk2700_ALBPFHFJHHF_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ALBPFHFJHHF_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ALBPFHFJHHF_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ALBPFHFJHHF_ClientReq) ProtoMessage() {} + +func (x *Unk2700_ALBPFHFJHHF_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ALBPFHFJHHF_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ALBPFHFJHHF_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_ALBPFHFJHHF_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ALBPFHFJHHF_ClientReq) GetUnk2700_HPNDCCFNPEF() *Unk2700_JDPMOMKAPIF { + if x != nil { + return x.Unk2700_HPNDCCFNPEF + } + return nil +} + +var File_Unk2700_ALBPFHFJHHF_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x42, 0x50, 0x46, 0x48, + 0x46, 0x4a, 0x48, 0x48, 0x46, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x44, 0x50, 0x4d, 0x4f, 0x4d, 0x4b, 0x41, 0x50, 0x49, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x42, 0x50, + 0x46, 0x48, 0x46, 0x4a, 0x48, 0x48, 0x46, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x50, 0x4e, + 0x44, 0x43, 0x43, 0x46, 0x4e, 0x50, 0x45, 0x46, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x50, 0x4d, 0x4f, 0x4d, 0x4b, + 0x41, 0x50, 0x49, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x50, 0x4e, + 0x44, 0x43, 0x43, 0x46, 0x4e, 0x50, 0x45, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescData = file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDesc +) + +func file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescData) + }) + return file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDescData +} + +var file_Unk2700_ALBPFHFJHHF_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ALBPFHFJHHF_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_ALBPFHFJHHF_ClientReq)(nil), // 0: Unk2700_ALBPFHFJHHF_ClientReq + (*Unk2700_JDPMOMKAPIF)(nil), // 1: Unk2700_JDPMOMKAPIF +} +var file_Unk2700_ALBPFHFJHHF_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ALBPFHFJHHF_ClientReq.Unk2700_HPNDCCFNPEF:type_name -> Unk2700_JDPMOMKAPIF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ALBPFHFJHHF_ClientReq_proto_init() } +func file_Unk2700_ALBPFHFJHHF_ClientReq_proto_init() { + if File_Unk2700_ALBPFHFJHHF_ClientReq_proto != nil { + return + } + file_Unk2700_JDPMOMKAPIF_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ALBPFHFJHHF_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ALBPFHFJHHF_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_ALBPFHFJHHF_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_ALBPFHFJHHF_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_ALBPFHFJHHF_ClientReq_proto = out.File + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_rawDesc = nil + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_goTypes = nil + file_Unk2700_ALBPFHFJHHF_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.proto new file mode 100644 index 00000000..f19b0280 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ALBPFHFJHHF_ClientReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JDPMOMKAPIF.proto"; + +option go_package = "./;proto"; + +// CmdId: 6036 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ALBPFHFJHHF_ClientReq { + Unk2700_JDPMOMKAPIF Unk2700_HPNDCCFNPEF = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.pb.go b/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.pb.go new file mode 100644 index 00000000..2477cfce --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ALFEKGABMAA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8022 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ALFEKGABMAA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_ALFEKGABMAA) Reset() { + *x = Unk2700_ALFEKGABMAA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ALFEKGABMAA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ALFEKGABMAA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ALFEKGABMAA) ProtoMessage() {} + +func (x *Unk2700_ALFEKGABMAA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ALFEKGABMAA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ALFEKGABMAA.ProtoReflect.Descriptor instead. +func (*Unk2700_ALFEKGABMAA) Descriptor() ([]byte, []int) { + return file_Unk2700_ALFEKGABMAA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_ALFEKGABMAA_proto protoreflect.FileDescriptor + +var file_Unk2700_ALFEKGABMAA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x46, 0x45, 0x4b, 0x47, + 0x41, 0x42, 0x4d, 0x41, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x46, 0x45, 0x4b, 0x47, 0x41, 0x42, 0x4d, + 0x41, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ALFEKGABMAA_proto_rawDescOnce sync.Once + file_Unk2700_ALFEKGABMAA_proto_rawDescData = file_Unk2700_ALFEKGABMAA_proto_rawDesc +) + +func file_Unk2700_ALFEKGABMAA_proto_rawDescGZIP() []byte { + file_Unk2700_ALFEKGABMAA_proto_rawDescOnce.Do(func() { + file_Unk2700_ALFEKGABMAA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ALFEKGABMAA_proto_rawDescData) + }) + return file_Unk2700_ALFEKGABMAA_proto_rawDescData +} + +var file_Unk2700_ALFEKGABMAA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ALFEKGABMAA_proto_goTypes = []interface{}{ + (*Unk2700_ALFEKGABMAA)(nil), // 0: Unk2700_ALFEKGABMAA +} +var file_Unk2700_ALFEKGABMAA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ALFEKGABMAA_proto_init() } +func file_Unk2700_ALFEKGABMAA_proto_init() { + if File_Unk2700_ALFEKGABMAA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ALFEKGABMAA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ALFEKGABMAA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ALFEKGABMAA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ALFEKGABMAA_proto_goTypes, + DependencyIndexes: file_Unk2700_ALFEKGABMAA_proto_depIdxs, + MessageInfos: file_Unk2700_ALFEKGABMAA_proto_msgTypes, + }.Build() + File_Unk2700_ALFEKGABMAA_proto = out.File + file_Unk2700_ALFEKGABMAA_proto_rawDesc = nil + file_Unk2700_ALFEKGABMAA_proto_goTypes = nil + file_Unk2700_ALFEKGABMAA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.proto b/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.proto new file mode 100644 index 00000000..4c6ba238 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ALFEKGABMAA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8022 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ALFEKGABMAA {} diff --git a/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.pb.go b/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.pb.go new file mode 100644 index 00000000..a9de0f35 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AMJFIJNNGHC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AMJFIJNNGHC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,8,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Unk2700_KPEIIFDINPC []*Unk2700_PEDJGJMHMHH `protobuf:"bytes,1,rep,name=Unk2700_KPEIIFDINPC,json=Unk2700KPEIIFDINPC,proto3" json:"Unk2700_KPEIIFDINPC,omitempty"` +} + +func (x *Unk2700_AMJFIJNNGHC) Reset() { + *x = Unk2700_AMJFIJNNGHC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AMJFIJNNGHC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AMJFIJNNGHC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AMJFIJNNGHC) ProtoMessage() {} + +func (x *Unk2700_AMJFIJNNGHC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AMJFIJNNGHC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AMJFIJNNGHC.ProtoReflect.Descriptor instead. +func (*Unk2700_AMJFIJNNGHC) Descriptor() ([]byte, []int) { + return file_Unk2700_AMJFIJNNGHC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AMJFIJNNGHC) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_AMJFIJNNGHC) GetUnk2700_KPEIIFDINPC() []*Unk2700_PEDJGJMHMHH { + if x != nil { + return x.Unk2700_KPEIIFDINPC + } + return nil +} + +var File_Unk2700_AMJFIJNNGHC_proto protoreflect.FileDescriptor + +var file_Unk2700_AMJFIJNNGHC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4a, 0x46, 0x49, 0x4a, + 0x4e, 0x4e, 0x47, 0x48, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x45, 0x44, 0x4a, 0x47, 0x4a, 0x4d, 0x48, 0x4d, 0x48, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x4d, 0x4a, 0x46, 0x49, 0x4a, 0x4e, 0x4e, 0x47, 0x48, 0x43, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x50, 0x45, 0x49, 0x49, 0x46, 0x44, 0x49, 0x4e, 0x50, 0x43, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x45, + 0x44, 0x4a, 0x47, 0x4a, 0x4d, 0x48, 0x4d, 0x48, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4b, 0x50, 0x45, 0x49, 0x49, 0x46, 0x44, 0x49, 0x4e, 0x50, 0x43, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_AMJFIJNNGHC_proto_rawDescOnce sync.Once + file_Unk2700_AMJFIJNNGHC_proto_rawDescData = file_Unk2700_AMJFIJNNGHC_proto_rawDesc +) + +func file_Unk2700_AMJFIJNNGHC_proto_rawDescGZIP() []byte { + file_Unk2700_AMJFIJNNGHC_proto_rawDescOnce.Do(func() { + file_Unk2700_AMJFIJNNGHC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AMJFIJNNGHC_proto_rawDescData) + }) + return file_Unk2700_AMJFIJNNGHC_proto_rawDescData +} + +var file_Unk2700_AMJFIJNNGHC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AMJFIJNNGHC_proto_goTypes = []interface{}{ + (*Unk2700_AMJFIJNNGHC)(nil), // 0: Unk2700_AMJFIJNNGHC + (*Unk2700_PEDJGJMHMHH)(nil), // 1: Unk2700_PEDJGJMHMHH +} +var file_Unk2700_AMJFIJNNGHC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AMJFIJNNGHC.Unk2700_KPEIIFDINPC:type_name -> Unk2700_PEDJGJMHMHH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AMJFIJNNGHC_proto_init() } +func file_Unk2700_AMJFIJNNGHC_proto_init() { + if File_Unk2700_AMJFIJNNGHC_proto != nil { + return + } + file_Unk2700_PEDJGJMHMHH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AMJFIJNNGHC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AMJFIJNNGHC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AMJFIJNNGHC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AMJFIJNNGHC_proto_goTypes, + DependencyIndexes: file_Unk2700_AMJFIJNNGHC_proto_depIdxs, + MessageInfos: file_Unk2700_AMJFIJNNGHC_proto_msgTypes, + }.Build() + File_Unk2700_AMJFIJNNGHC_proto = out.File + file_Unk2700_AMJFIJNNGHC_proto_rawDesc = nil + file_Unk2700_AMJFIJNNGHC_proto_goTypes = nil + file_Unk2700_AMJFIJNNGHC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.proto b/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.proto new file mode 100644 index 00000000..fc497adc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMJFIJNNGHC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_PEDJGJMHMHH.proto"; + +option go_package = "./;proto"; + +message Unk2700_AMJFIJNNGHC { + bool is_open = 8; + repeated Unk2700_PEDJGJMHMHH Unk2700_KPEIIFDINPC = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.pb.go b/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.pb.go new file mode 100644 index 00000000..d741dc3c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AMKLCEFNNCC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_AMKLCEFNNCC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTrial bool `protobuf:"varint,6,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` + AvatarId uint64 `protobuf:"varint,8,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *Unk2700_AMKLCEFNNCC) Reset() { + *x = Unk2700_AMKLCEFNNCC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AMKLCEFNNCC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AMKLCEFNNCC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AMKLCEFNNCC) ProtoMessage() {} + +func (x *Unk2700_AMKLCEFNNCC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AMKLCEFNNCC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AMKLCEFNNCC.ProtoReflect.Descriptor instead. +func (*Unk2700_AMKLCEFNNCC) Descriptor() ([]byte, []int) { + return file_Unk2700_AMKLCEFNNCC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AMKLCEFNNCC) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +func (x *Unk2700_AMKLCEFNNCC) GetAvatarId() uint64 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_Unk2700_AMKLCEFNNCC_proto protoreflect.FileDescriptor + +var file_Unk2700_AMKLCEFNNCC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4b, 0x4c, 0x43, 0x45, + 0x46, 0x4e, 0x4e, 0x43, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4b, 0x4c, 0x43, 0x45, 0x46, 0x4e, 0x4e, + 0x43, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AMKLCEFNNCC_proto_rawDescOnce sync.Once + file_Unk2700_AMKLCEFNNCC_proto_rawDescData = file_Unk2700_AMKLCEFNNCC_proto_rawDesc +) + +func file_Unk2700_AMKLCEFNNCC_proto_rawDescGZIP() []byte { + file_Unk2700_AMKLCEFNNCC_proto_rawDescOnce.Do(func() { + file_Unk2700_AMKLCEFNNCC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AMKLCEFNNCC_proto_rawDescData) + }) + return file_Unk2700_AMKLCEFNNCC_proto_rawDescData +} + +var file_Unk2700_AMKLCEFNNCC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AMKLCEFNNCC_proto_goTypes = []interface{}{ + (*Unk2700_AMKLCEFNNCC)(nil), // 0: Unk2700_AMKLCEFNNCC +} +var file_Unk2700_AMKLCEFNNCC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AMKLCEFNNCC_proto_init() } +func file_Unk2700_AMKLCEFNNCC_proto_init() { + if File_Unk2700_AMKLCEFNNCC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AMKLCEFNNCC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AMKLCEFNNCC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AMKLCEFNNCC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AMKLCEFNNCC_proto_goTypes, + DependencyIndexes: file_Unk2700_AMKLCEFNNCC_proto_depIdxs, + MessageInfos: file_Unk2700_AMKLCEFNNCC_proto_msgTypes, + }.Build() + File_Unk2700_AMKLCEFNNCC_proto = out.File + file_Unk2700_AMKLCEFNNCC_proto_rawDesc = nil + file_Unk2700_AMKLCEFNNCC_proto_goTypes = nil + file_Unk2700_AMKLCEFNNCC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.proto b/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.proto new file mode 100644 index 00000000..6053cae7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMKLCEFNNCC.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_AMKLCEFNNCC { + bool is_trial = 6; + uint64 avatar_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.pb.go new file mode 100644 index 00000000..cdd56efe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AMOEOCPOMGJ_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6090 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_AMOEOCPOMGJ_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KHPPLOGFMDE *Unk2700_JMPCGMBHJLG `protobuf:"bytes,13,opt,name=Unk2700_KHPPLOGFMDE,json=Unk2700KHPPLOGFMDE,proto3" json:"Unk2700_KHPPLOGFMDE,omitempty"` +} + +func (x *Unk2700_AMOEOCPOMGJ_ClientReq) Reset() { + *x = Unk2700_AMOEOCPOMGJ_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AMOEOCPOMGJ_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AMOEOCPOMGJ_ClientReq) ProtoMessage() {} + +func (x *Unk2700_AMOEOCPOMGJ_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AMOEOCPOMGJ_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_AMOEOCPOMGJ_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_AMOEOCPOMGJ_ClientReq) GetUnk2700_KHPPLOGFMDE() *Unk2700_JMPCGMBHJLG { + if x != nil { + return x.Unk2700_KHPPLOGFMDE + } + return nil +} + +var File_Unk2700_AMOEOCPOMGJ_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4f, 0x45, 0x4f, 0x43, + 0x50, 0x4f, 0x4d, 0x47, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x4d, 0x50, 0x43, 0x47, 0x4d, 0x42, 0x48, 0x4a, 0x4c, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4f, 0x45, + 0x4f, 0x43, 0x50, 0x4f, 0x4d, 0x47, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x50, + 0x50, 0x4c, 0x4f, 0x47, 0x46, 0x4d, 0x44, 0x45, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4d, 0x50, 0x43, 0x47, 0x4d, 0x42, + 0x48, 0x4a, 0x4c, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x50, + 0x50, 0x4c, 0x4f, 0x47, 0x46, 0x4d, 0x44, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescData = file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDesc +) + +func file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescData) + }) + return file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDescData +} + +var file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_AMOEOCPOMGJ_ClientReq)(nil), // 0: Unk2700_AMOEOCPOMGJ_ClientReq + (*Unk2700_JMPCGMBHJLG)(nil), // 1: Unk2700_JMPCGMBHJLG +} +var file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_AMOEOCPOMGJ_ClientReq.Unk2700_KHPPLOGFMDE:type_name -> Unk2700_JMPCGMBHJLG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_init() } +func file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_init() { + if File_Unk2700_AMOEOCPOMGJ_ClientReq_proto != nil { + return + } + file_Unk2700_JMPCGMBHJLG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AMOEOCPOMGJ_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_AMOEOCPOMGJ_ClientReq_proto = out.File + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_rawDesc = nil + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_goTypes = nil + file_Unk2700_AMOEOCPOMGJ_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.proto new file mode 100644 index 00000000..e4602fc1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AMOEOCPOMGJ_ClientReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JMPCGMBHJLG.proto"; + +option go_package = "./;proto"; + +// CmdId: 6090 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_AMOEOCPOMGJ_ClientReq { + Unk2700_JMPCGMBHJLG Unk2700_KHPPLOGFMDE = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.pb.go b/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.pb.go new file mode 100644 index 00000000..787521f0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ANEBALDAFJI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8357 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_ANEBALDAFJI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,8,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_ANEBALDAFJI) Reset() { + *x = Unk2700_ANEBALDAFJI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ANEBALDAFJI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ANEBALDAFJI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ANEBALDAFJI) ProtoMessage() {} + +func (x *Unk2700_ANEBALDAFJI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ANEBALDAFJI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ANEBALDAFJI.ProtoReflect.Descriptor instead. +func (*Unk2700_ANEBALDAFJI) Descriptor() ([]byte, []int) { + return file_Unk2700_ANEBALDAFJI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ANEBALDAFJI) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *Unk2700_ANEBALDAFJI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_ANEBALDAFJI_proto protoreflect.FileDescriptor + +var file_Unk2700_ANEBALDAFJI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x45, 0x42, 0x41, 0x4c, + 0x44, 0x41, 0x46, 0x4a, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x45, 0x42, 0x41, 0x4c, 0x44, 0x41, + 0x46, 0x4a, 0x49, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ANEBALDAFJI_proto_rawDescOnce sync.Once + file_Unk2700_ANEBALDAFJI_proto_rawDescData = file_Unk2700_ANEBALDAFJI_proto_rawDesc +) + +func file_Unk2700_ANEBALDAFJI_proto_rawDescGZIP() []byte { + file_Unk2700_ANEBALDAFJI_proto_rawDescOnce.Do(func() { + file_Unk2700_ANEBALDAFJI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ANEBALDAFJI_proto_rawDescData) + }) + return file_Unk2700_ANEBALDAFJI_proto_rawDescData +} + +var file_Unk2700_ANEBALDAFJI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ANEBALDAFJI_proto_goTypes = []interface{}{ + (*Unk2700_ANEBALDAFJI)(nil), // 0: Unk2700_ANEBALDAFJI + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_ANEBALDAFJI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ANEBALDAFJI.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ANEBALDAFJI_proto_init() } +func file_Unk2700_ANEBALDAFJI_proto_init() { + if File_Unk2700_ANEBALDAFJI_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ANEBALDAFJI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ANEBALDAFJI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ANEBALDAFJI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ANEBALDAFJI_proto_goTypes, + DependencyIndexes: file_Unk2700_ANEBALDAFJI_proto_depIdxs, + MessageInfos: file_Unk2700_ANEBALDAFJI_proto_msgTypes, + }.Build() + File_Unk2700_ANEBALDAFJI_proto = out.File + file_Unk2700_ANEBALDAFJI_proto_rawDesc = nil + file_Unk2700_ANEBALDAFJI_proto_goTypes = nil + file_Unk2700_ANEBALDAFJI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.proto b/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.proto new file mode 100644 index 00000000..b0c27e4d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ANEBALDAFJI.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8357 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_ANEBALDAFJI { + repeated ItemParam item_list = 8; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.pb.go new file mode 100644 index 00000000..f81805fd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ANGBJGAOMHF_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6344 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ANGBJGAOMHF_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,7,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,12,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` +} + +func (x *Unk2700_ANGBJGAOMHF_ClientReq) Reset() { + *x = Unk2700_ANGBJGAOMHF_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ANGBJGAOMHF_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ANGBJGAOMHF_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ANGBJGAOMHF_ClientReq) ProtoMessage() {} + +func (x *Unk2700_ANGBJGAOMHF_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ANGBJGAOMHF_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ANGBJGAOMHF_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_ANGBJGAOMHF_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ANGBJGAOMHF_ClientReq) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +func (x *Unk2700_ANGBJGAOMHF_ClientReq) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +var File_Unk2700_ANGBJGAOMHF_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x47, 0x42, 0x4a, 0x47, + 0x41, 0x4f, 0x4d, 0x48, 0x46, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x97, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x47, + 0x42, 0x4a, 0x47, 0x41, 0x4f, 0x4d, 0x48, 0x46, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, + 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, + 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, + 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, + 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescData = file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDesc +) + +func file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescData) + }) + return file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDescData +} + +var file_Unk2700_ANGBJGAOMHF_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ANGBJGAOMHF_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_ANGBJGAOMHF_ClientReq)(nil), // 0: Unk2700_ANGBJGAOMHF_ClientReq + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_ANGBJGAOMHF_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ANGBJGAOMHF_ClientReq.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ANGBJGAOMHF_ClientReq_proto_init() } +func file_Unk2700_ANGBJGAOMHF_ClientReq_proto_init() { + if File_Unk2700_ANGBJGAOMHF_ClientReq_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ANGBJGAOMHF_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ANGBJGAOMHF_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_ANGBJGAOMHF_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_ANGBJGAOMHF_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_ANGBJGAOMHF_ClientReq_proto = out.File + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_rawDesc = nil + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_goTypes = nil + file_Unk2700_ANGBJGAOMHF_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.proto new file mode 100644 index 00000000..9b16442c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ANGBJGAOMHF_ClientReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6344 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ANGBJGAOMHF_ClientReq { + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 7; + uint64 Unk2700_CEPGMKAHHCD = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.pb.go b/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.pb.go new file mode 100644 index 00000000..eec6bc69 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_AOIJNFMIAIP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8614 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_AOIJNFMIAIP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_AOIJNFMIAIP) Reset() { + *x = Unk2700_AOIJNFMIAIP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_AOIJNFMIAIP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_AOIJNFMIAIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_AOIJNFMIAIP) ProtoMessage() {} + +func (x *Unk2700_AOIJNFMIAIP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_AOIJNFMIAIP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_AOIJNFMIAIP.ProtoReflect.Descriptor instead. +func (*Unk2700_AOIJNFMIAIP) Descriptor() ([]byte, []int) { + return file_Unk2700_AOIJNFMIAIP_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_AOIJNFMIAIP_proto protoreflect.FileDescriptor + +var file_Unk2700_AOIJNFMIAIP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, 0x49, 0x4a, 0x4e, 0x46, + 0x4d, 0x49, 0x41, 0x49, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, 0x49, 0x4a, 0x4e, 0x46, 0x4d, 0x49, 0x41, + 0x49, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_AOIJNFMIAIP_proto_rawDescOnce sync.Once + file_Unk2700_AOIJNFMIAIP_proto_rawDescData = file_Unk2700_AOIJNFMIAIP_proto_rawDesc +) + +func file_Unk2700_AOIJNFMIAIP_proto_rawDescGZIP() []byte { + file_Unk2700_AOIJNFMIAIP_proto_rawDescOnce.Do(func() { + file_Unk2700_AOIJNFMIAIP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_AOIJNFMIAIP_proto_rawDescData) + }) + return file_Unk2700_AOIJNFMIAIP_proto_rawDescData +} + +var file_Unk2700_AOIJNFMIAIP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_AOIJNFMIAIP_proto_goTypes = []interface{}{ + (*Unk2700_AOIJNFMIAIP)(nil), // 0: Unk2700_AOIJNFMIAIP +} +var file_Unk2700_AOIJNFMIAIP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_AOIJNFMIAIP_proto_init() } +func file_Unk2700_AOIJNFMIAIP_proto_init() { + if File_Unk2700_AOIJNFMIAIP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_AOIJNFMIAIP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_AOIJNFMIAIP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_AOIJNFMIAIP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_AOIJNFMIAIP_proto_goTypes, + DependencyIndexes: file_Unk2700_AOIJNFMIAIP_proto_depIdxs, + MessageInfos: file_Unk2700_AOIJNFMIAIP_proto_msgTypes, + }.Build() + File_Unk2700_AOIJNFMIAIP_proto = out.File + file_Unk2700_AOIJNFMIAIP_proto_rawDesc = nil + file_Unk2700_AOIJNFMIAIP_proto_goTypes = nil + file_Unk2700_AOIJNFMIAIP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.proto b/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.proto new file mode 100644 index 00000000..d4aa8125 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_AOIJNFMIAIP.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8614 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_AOIJNFMIAIP {} diff --git a/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.pb.go b/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.pb.go new file mode 100644 index 00000000..542f944e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_APNHPEJCDMO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8610 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_APNHPEJCDMO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PCKNCDNENCD uint32 `protobuf:"varint,1,opt,name=Unk2700_PCKNCDNENCD,json=Unk2700PCKNCDNENCD,proto3" json:"Unk2700_PCKNCDNENCD,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_APNHPEJCDMO) Reset() { + *x = Unk2700_APNHPEJCDMO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_APNHPEJCDMO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_APNHPEJCDMO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_APNHPEJCDMO) ProtoMessage() {} + +func (x *Unk2700_APNHPEJCDMO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_APNHPEJCDMO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_APNHPEJCDMO.ProtoReflect.Descriptor instead. +func (*Unk2700_APNHPEJCDMO) Descriptor() ([]byte, []int) { + return file_Unk2700_APNHPEJCDMO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_APNHPEJCDMO) GetUnk2700_PCKNCDNENCD() uint32 { + if x != nil { + return x.Unk2700_PCKNCDNENCD + } + return 0 +} + +func (x *Unk2700_APNHPEJCDMO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_APNHPEJCDMO_proto protoreflect.FileDescriptor + +var file_Unk2700_APNHPEJCDMO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x50, 0x4e, 0x48, 0x50, 0x45, + 0x4a, 0x43, 0x44, 0x4d, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x50, 0x4e, 0x48, 0x50, 0x45, 0x4a, 0x43, 0x44, + 0x4d, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x43, + 0x4b, 0x4e, 0x43, 0x44, 0x4e, 0x45, 0x4e, 0x43, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x43, 0x4b, 0x4e, 0x43, 0x44, 0x4e, 0x45, + 0x4e, 0x43, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_APNHPEJCDMO_proto_rawDescOnce sync.Once + file_Unk2700_APNHPEJCDMO_proto_rawDescData = file_Unk2700_APNHPEJCDMO_proto_rawDesc +) + +func file_Unk2700_APNHPEJCDMO_proto_rawDescGZIP() []byte { + file_Unk2700_APNHPEJCDMO_proto_rawDescOnce.Do(func() { + file_Unk2700_APNHPEJCDMO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_APNHPEJCDMO_proto_rawDescData) + }) + return file_Unk2700_APNHPEJCDMO_proto_rawDescData +} + +var file_Unk2700_APNHPEJCDMO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_APNHPEJCDMO_proto_goTypes = []interface{}{ + (*Unk2700_APNHPEJCDMO)(nil), // 0: Unk2700_APNHPEJCDMO +} +var file_Unk2700_APNHPEJCDMO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_APNHPEJCDMO_proto_init() } +func file_Unk2700_APNHPEJCDMO_proto_init() { + if File_Unk2700_APNHPEJCDMO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_APNHPEJCDMO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_APNHPEJCDMO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_APNHPEJCDMO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_APNHPEJCDMO_proto_goTypes, + DependencyIndexes: file_Unk2700_APNHPEJCDMO_proto_depIdxs, + MessageInfos: file_Unk2700_APNHPEJCDMO_proto_msgTypes, + }.Build() + File_Unk2700_APNHPEJCDMO_proto = out.File + file_Unk2700_APNHPEJCDMO_proto_rawDesc = nil + file_Unk2700_APNHPEJCDMO_proto_goTypes = nil + file_Unk2700_APNHPEJCDMO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.proto b/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.proto new file mode 100644 index 00000000..4e0edf2f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_APNHPEJCDMO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8610 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_APNHPEJCDMO { + uint32 Unk2700_PCKNCDNENCD = 1; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.pb.go b/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.pb.go new file mode 100644 index 00000000..1af8e1fc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_APOBKAEHMEL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8216 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_APOBKAEHMEL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EENOCHNIAJL []*ItemParam `protobuf:"bytes,1,rep,name=Unk2700_EENOCHNIAJL,json=Unk2700EENOCHNIAJL,proto3" json:"Unk2700_EENOCHNIAJL,omitempty"` +} + +func (x *Unk2700_APOBKAEHMEL) Reset() { + *x = Unk2700_APOBKAEHMEL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_APOBKAEHMEL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_APOBKAEHMEL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_APOBKAEHMEL) ProtoMessage() {} + +func (x *Unk2700_APOBKAEHMEL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_APOBKAEHMEL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_APOBKAEHMEL.ProtoReflect.Descriptor instead. +func (*Unk2700_APOBKAEHMEL) Descriptor() ([]byte, []int) { + return file_Unk2700_APOBKAEHMEL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_APOBKAEHMEL) GetUnk2700_EENOCHNIAJL() []*ItemParam { + if x != nil { + return x.Unk2700_EENOCHNIAJL + } + return nil +} + +var File_Unk2700_APOBKAEHMEL_proto protoreflect.FileDescriptor + +var file_Unk2700_APOBKAEHMEL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x50, 0x4f, 0x42, 0x4b, 0x41, + 0x45, 0x48, 0x4d, 0x45, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x50, 0x4f, 0x42, 0x4b, 0x41, 0x45, 0x48, + 0x4d, 0x45, 0x4c, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x45, 0x4e, 0x4f, 0x43, 0x48, 0x4e, 0x49, 0x41, 0x4a, 0x4c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x45, 0x4e, 0x4f, 0x43, 0x48, 0x4e, 0x49, 0x41, 0x4a, 0x4c, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_APOBKAEHMEL_proto_rawDescOnce sync.Once + file_Unk2700_APOBKAEHMEL_proto_rawDescData = file_Unk2700_APOBKAEHMEL_proto_rawDesc +) + +func file_Unk2700_APOBKAEHMEL_proto_rawDescGZIP() []byte { + file_Unk2700_APOBKAEHMEL_proto_rawDescOnce.Do(func() { + file_Unk2700_APOBKAEHMEL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_APOBKAEHMEL_proto_rawDescData) + }) + return file_Unk2700_APOBKAEHMEL_proto_rawDescData +} + +var file_Unk2700_APOBKAEHMEL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_APOBKAEHMEL_proto_goTypes = []interface{}{ + (*Unk2700_APOBKAEHMEL)(nil), // 0: Unk2700_APOBKAEHMEL + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_APOBKAEHMEL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_APOBKAEHMEL.Unk2700_EENOCHNIAJL:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_APOBKAEHMEL_proto_init() } +func file_Unk2700_APOBKAEHMEL_proto_init() { + if File_Unk2700_APOBKAEHMEL_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_APOBKAEHMEL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_APOBKAEHMEL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_APOBKAEHMEL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_APOBKAEHMEL_proto_goTypes, + DependencyIndexes: file_Unk2700_APOBKAEHMEL_proto_depIdxs, + MessageInfos: file_Unk2700_APOBKAEHMEL_proto_msgTypes, + }.Build() + File_Unk2700_APOBKAEHMEL_proto = out.File + file_Unk2700_APOBKAEHMEL_proto_rawDesc = nil + file_Unk2700_APOBKAEHMEL_proto_goTypes = nil + file_Unk2700_APOBKAEHMEL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.proto b/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.proto new file mode 100644 index 00000000..e23f8044 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_APOBKAEHMEL.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8216 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_APOBKAEHMEL { + repeated ItemParam Unk2700_EENOCHNIAJL = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.pb.go b/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.pb.go new file mode 100644 index 00000000..27b5aa02 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BBLJNCKPKPN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8192 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BBLJNCKPKPN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,8,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_BBLJNCKPKPN) Reset() { + *x = Unk2700_BBLJNCKPKPN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BBLJNCKPKPN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BBLJNCKPKPN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BBLJNCKPKPN) ProtoMessage() {} + +func (x *Unk2700_BBLJNCKPKPN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BBLJNCKPKPN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BBLJNCKPKPN.ProtoReflect.Descriptor instead. +func (*Unk2700_BBLJNCKPKPN) Descriptor() ([]byte, []int) { + return file_Unk2700_BBLJNCKPKPN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BBLJNCKPKPN) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_BBLJNCKPKPN) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_BBLJNCKPKPN_proto protoreflect.FileDescriptor + +var file_Unk2700_BBLJNCKPKPN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x4c, 0x4a, 0x4e, 0x43, + 0x4b, 0x50, 0x4b, 0x50, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x4c, 0x4a, 0x4e, 0x43, 0x4b, 0x50, 0x4b, + 0x50, 0x4e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BBLJNCKPKPN_proto_rawDescOnce sync.Once + file_Unk2700_BBLJNCKPKPN_proto_rawDescData = file_Unk2700_BBLJNCKPKPN_proto_rawDesc +) + +func file_Unk2700_BBLJNCKPKPN_proto_rawDescGZIP() []byte { + file_Unk2700_BBLJNCKPKPN_proto_rawDescOnce.Do(func() { + file_Unk2700_BBLJNCKPKPN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BBLJNCKPKPN_proto_rawDescData) + }) + return file_Unk2700_BBLJNCKPKPN_proto_rawDescData +} + +var file_Unk2700_BBLJNCKPKPN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BBLJNCKPKPN_proto_goTypes = []interface{}{ + (*Unk2700_BBLJNCKPKPN)(nil), // 0: Unk2700_BBLJNCKPKPN +} +var file_Unk2700_BBLJNCKPKPN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BBLJNCKPKPN_proto_init() } +func file_Unk2700_BBLJNCKPKPN_proto_init() { + if File_Unk2700_BBLJNCKPKPN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BBLJNCKPKPN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BBLJNCKPKPN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BBLJNCKPKPN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BBLJNCKPKPN_proto_goTypes, + DependencyIndexes: file_Unk2700_BBLJNCKPKPN_proto_depIdxs, + MessageInfos: file_Unk2700_BBLJNCKPKPN_proto_msgTypes, + }.Build() + File_Unk2700_BBLJNCKPKPN_proto = out.File + file_Unk2700_BBLJNCKPKPN_proto_rawDesc = nil + file_Unk2700_BBLJNCKPKPN_proto_goTypes = nil + file_Unk2700_BBLJNCKPKPN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.proto b/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.proto new file mode 100644 index 00000000..f89e7a15 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BBLJNCKPKPN.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8192 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BBLJNCKPKPN { + uint32 level_id = 8; + uint32 stage_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.pb.go b/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.pb.go new file mode 100644 index 00000000..ef87050e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BBMKJGPMIOE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8580 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BBMKJGPMIOE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CNJPCCECBPD *Unk2700_KIGGOKAEFHM `protobuf:"bytes,14,opt,name=Unk2700_CNJPCCECBPD,json=Unk2700CNJPCCECBPD,proto3" json:"Unk2700_CNJPCCECBPD,omitempty"` +} + +func (x *Unk2700_BBMKJGPMIOE) Reset() { + *x = Unk2700_BBMKJGPMIOE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BBMKJGPMIOE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BBMKJGPMIOE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BBMKJGPMIOE) ProtoMessage() {} + +func (x *Unk2700_BBMKJGPMIOE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BBMKJGPMIOE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BBMKJGPMIOE.ProtoReflect.Descriptor instead. +func (*Unk2700_BBMKJGPMIOE) Descriptor() ([]byte, []int) { + return file_Unk2700_BBMKJGPMIOE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BBMKJGPMIOE) GetUnk2700_CNJPCCECBPD() *Unk2700_KIGGOKAEFHM { + if x != nil { + return x.Unk2700_CNJPCCECBPD + } + return nil +} + +var File_Unk2700_BBMKJGPMIOE_proto protoreflect.FileDescriptor + +var file_Unk2700_BBMKJGPMIOE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x4d, 0x4b, 0x4a, 0x47, + 0x50, 0x4d, 0x49, 0x4f, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x47, 0x47, 0x4f, 0x4b, 0x41, 0x45, 0x46, 0x48, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x42, 0x4d, 0x4b, 0x4a, 0x47, 0x50, 0x4d, 0x49, 0x4f, 0x45, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x4a, 0x50, 0x43, 0x43, 0x45, + 0x43, 0x42, 0x50, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x47, 0x47, 0x4f, 0x4b, 0x41, 0x45, 0x46, 0x48, 0x4d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4e, 0x4a, 0x50, 0x43, 0x43, 0x45, + 0x43, 0x42, 0x50, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BBMKJGPMIOE_proto_rawDescOnce sync.Once + file_Unk2700_BBMKJGPMIOE_proto_rawDescData = file_Unk2700_BBMKJGPMIOE_proto_rawDesc +) + +func file_Unk2700_BBMKJGPMIOE_proto_rawDescGZIP() []byte { + file_Unk2700_BBMKJGPMIOE_proto_rawDescOnce.Do(func() { + file_Unk2700_BBMKJGPMIOE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BBMKJGPMIOE_proto_rawDescData) + }) + return file_Unk2700_BBMKJGPMIOE_proto_rawDescData +} + +var file_Unk2700_BBMKJGPMIOE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BBMKJGPMIOE_proto_goTypes = []interface{}{ + (*Unk2700_BBMKJGPMIOE)(nil), // 0: Unk2700_BBMKJGPMIOE + (*Unk2700_KIGGOKAEFHM)(nil), // 1: Unk2700_KIGGOKAEFHM +} +var file_Unk2700_BBMKJGPMIOE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BBMKJGPMIOE.Unk2700_CNJPCCECBPD:type_name -> Unk2700_KIGGOKAEFHM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BBMKJGPMIOE_proto_init() } +func file_Unk2700_BBMKJGPMIOE_proto_init() { + if File_Unk2700_BBMKJGPMIOE_proto != nil { + return + } + file_Unk2700_KIGGOKAEFHM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BBMKJGPMIOE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BBMKJGPMIOE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BBMKJGPMIOE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BBMKJGPMIOE_proto_goTypes, + DependencyIndexes: file_Unk2700_BBMKJGPMIOE_proto_depIdxs, + MessageInfos: file_Unk2700_BBMKJGPMIOE_proto_msgTypes, + }.Build() + File_Unk2700_BBMKJGPMIOE_proto = out.File + file_Unk2700_BBMKJGPMIOE_proto_rawDesc = nil + file_Unk2700_BBMKJGPMIOE_proto_goTypes = nil + file_Unk2700_BBMKJGPMIOE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.proto b/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.proto new file mode 100644 index 00000000..d0f96c76 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BBMKJGPMIOE.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KIGGOKAEFHM.proto"; + +option go_package = "./;proto"; + +// CmdId: 8580 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BBMKJGPMIOE { + Unk2700_KIGGOKAEFHM Unk2700_CNJPCCECBPD = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.pb.go b/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.pb.go new file mode 100644 index 00000000..e5c92fd6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BCFKCLHCBDI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BCFKCLHCBDI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Difficulty uint32 `protobuf:"varint,1,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_BCFKCLHCBDI) Reset() { + *x = Unk2700_BCFKCLHCBDI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BCFKCLHCBDI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BCFKCLHCBDI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BCFKCLHCBDI) ProtoMessage() {} + +func (x *Unk2700_BCFKCLHCBDI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BCFKCLHCBDI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BCFKCLHCBDI.ProtoReflect.Descriptor instead. +func (*Unk2700_BCFKCLHCBDI) Descriptor() ([]byte, []int) { + return file_Unk2700_BCFKCLHCBDI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BCFKCLHCBDI) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *Unk2700_BCFKCLHCBDI) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_BCFKCLHCBDI_proto protoreflect.FileDescriptor + +var file_Unk2700_BCFKCLHCBDI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x46, 0x4b, 0x43, 0x4c, + 0x48, 0x43, 0x42, 0x44, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x46, 0x4b, 0x43, 0x4c, 0x48, 0x43, 0x42, + 0x44, 0x49, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_BCFKCLHCBDI_proto_rawDescOnce sync.Once + file_Unk2700_BCFKCLHCBDI_proto_rawDescData = file_Unk2700_BCFKCLHCBDI_proto_rawDesc +) + +func file_Unk2700_BCFKCLHCBDI_proto_rawDescGZIP() []byte { + file_Unk2700_BCFKCLHCBDI_proto_rawDescOnce.Do(func() { + file_Unk2700_BCFKCLHCBDI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BCFKCLHCBDI_proto_rawDescData) + }) + return file_Unk2700_BCFKCLHCBDI_proto_rawDescData +} + +var file_Unk2700_BCFKCLHCBDI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BCFKCLHCBDI_proto_goTypes = []interface{}{ + (*Unk2700_BCFKCLHCBDI)(nil), // 0: Unk2700_BCFKCLHCBDI +} +var file_Unk2700_BCFKCLHCBDI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BCFKCLHCBDI_proto_init() } +func file_Unk2700_BCFKCLHCBDI_proto_init() { + if File_Unk2700_BCFKCLHCBDI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BCFKCLHCBDI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BCFKCLHCBDI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BCFKCLHCBDI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BCFKCLHCBDI_proto_goTypes, + DependencyIndexes: file_Unk2700_BCFKCLHCBDI_proto_depIdxs, + MessageInfos: file_Unk2700_BCFKCLHCBDI_proto_msgTypes, + }.Build() + File_Unk2700_BCFKCLHCBDI_proto = out.File + file_Unk2700_BCFKCLHCBDI_proto_rawDesc = nil + file_Unk2700_BCFKCLHCBDI_proto_goTypes = nil + file_Unk2700_BCFKCLHCBDI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.proto b/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.proto new file mode 100644 index 00000000..57cdb26b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BCFKCLHCBDI.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BCFKCLHCBDI { + uint32 difficulty = 1; + uint32 stage_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.pb.go b/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.pb.go new file mode 100644 index 00000000..59e9dbfe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BCPHPHGOKGN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BCPHPHGOKGN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,6,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_BCPHPHGOKGN) Reset() { + *x = Unk2700_BCPHPHGOKGN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BCPHPHGOKGN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BCPHPHGOKGN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BCPHPHGOKGN) ProtoMessage() {} + +func (x *Unk2700_BCPHPHGOKGN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BCPHPHGOKGN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BCPHPHGOKGN.ProtoReflect.Descriptor instead. +func (*Unk2700_BCPHPHGOKGN) Descriptor() ([]byte, []int) { + return file_Unk2700_BCPHPHGOKGN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BCPHPHGOKGN) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_BCPHPHGOKGN_proto protoreflect.FileDescriptor + +var file_Unk2700_BCPHPHGOKGN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x50, 0x48, 0x50, 0x48, + 0x47, 0x4f, 0x4b, 0x47, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x50, 0x48, 0x50, 0x48, 0x47, 0x4f, 0x4b, + 0x47, 0x4e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_BCPHPHGOKGN_proto_rawDescOnce sync.Once + file_Unk2700_BCPHPHGOKGN_proto_rawDescData = file_Unk2700_BCPHPHGOKGN_proto_rawDesc +) + +func file_Unk2700_BCPHPHGOKGN_proto_rawDescGZIP() []byte { + file_Unk2700_BCPHPHGOKGN_proto_rawDescOnce.Do(func() { + file_Unk2700_BCPHPHGOKGN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BCPHPHGOKGN_proto_rawDescData) + }) + return file_Unk2700_BCPHPHGOKGN_proto_rawDescData +} + +var file_Unk2700_BCPHPHGOKGN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BCPHPHGOKGN_proto_goTypes = []interface{}{ + (*Unk2700_BCPHPHGOKGN)(nil), // 0: Unk2700_BCPHPHGOKGN +} +var file_Unk2700_BCPHPHGOKGN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BCPHPHGOKGN_proto_init() } +func file_Unk2700_BCPHPHGOKGN_proto_init() { + if File_Unk2700_BCPHPHGOKGN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BCPHPHGOKGN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BCPHPHGOKGN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BCPHPHGOKGN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BCPHPHGOKGN_proto_goTypes, + DependencyIndexes: file_Unk2700_BCPHPHGOKGN_proto_depIdxs, + MessageInfos: file_Unk2700_BCPHPHGOKGN_proto_msgTypes, + }.Build() + File_Unk2700_BCPHPHGOKGN_proto = out.File + file_Unk2700_BCPHPHGOKGN_proto_rawDesc = nil + file_Unk2700_BCPHPHGOKGN_proto_goTypes = nil + file_Unk2700_BCPHPHGOKGN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.proto b/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.proto new file mode 100644 index 00000000..b3694069 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BCPHPHGOKGN.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8227 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BCPHPHGOKGN { + uint32 level_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.pb.go b/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.pb.go new file mode 100644 index 00000000..94084c7f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BEDCCMDPNCH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8499 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BEDCCMDPNCH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,14,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *Unk2700_BKHBKHINBIA `protobuf:"bytes,15,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *Unk2700_BEDCCMDPNCH) Reset() { + *x = Unk2700_BEDCCMDPNCH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BEDCCMDPNCH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BEDCCMDPNCH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BEDCCMDPNCH) ProtoMessage() {} + +func (x *Unk2700_BEDCCMDPNCH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BEDCCMDPNCH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BEDCCMDPNCH.ProtoReflect.Descriptor instead. +func (*Unk2700_BEDCCMDPNCH) Descriptor() ([]byte, []int) { + return file_Unk2700_BEDCCMDPNCH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BEDCCMDPNCH) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_BEDCCMDPNCH) GetSettleInfo() *Unk2700_BKHBKHINBIA { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_Unk2700_BEDCCMDPNCH_proto protoreflect.FileDescriptor + +var file_Unk2700_BEDCCMDPNCH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x44, 0x43, 0x43, 0x4d, + 0x44, 0x50, 0x4e, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x48, 0x42, 0x4b, 0x48, 0x49, 0x4e, 0x42, 0x49, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x45, 0x44, 0x43, 0x43, 0x4d, 0x44, 0x50, 0x4e, 0x43, 0x48, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, + 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x48, 0x42, + 0x4b, 0x48, 0x49, 0x4e, 0x42, 0x49, 0x41, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BEDCCMDPNCH_proto_rawDescOnce sync.Once + file_Unk2700_BEDCCMDPNCH_proto_rawDescData = file_Unk2700_BEDCCMDPNCH_proto_rawDesc +) + +func file_Unk2700_BEDCCMDPNCH_proto_rawDescGZIP() []byte { + file_Unk2700_BEDCCMDPNCH_proto_rawDescOnce.Do(func() { + file_Unk2700_BEDCCMDPNCH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BEDCCMDPNCH_proto_rawDescData) + }) + return file_Unk2700_BEDCCMDPNCH_proto_rawDescData +} + +var file_Unk2700_BEDCCMDPNCH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BEDCCMDPNCH_proto_goTypes = []interface{}{ + (*Unk2700_BEDCCMDPNCH)(nil), // 0: Unk2700_BEDCCMDPNCH + (*Unk2700_BKHBKHINBIA)(nil), // 1: Unk2700_BKHBKHINBIA +} +var file_Unk2700_BEDCCMDPNCH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BEDCCMDPNCH.settle_info:type_name -> Unk2700_BKHBKHINBIA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BEDCCMDPNCH_proto_init() } +func file_Unk2700_BEDCCMDPNCH_proto_init() { + if File_Unk2700_BEDCCMDPNCH_proto != nil { + return + } + file_Unk2700_BKHBKHINBIA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BEDCCMDPNCH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BEDCCMDPNCH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BEDCCMDPNCH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BEDCCMDPNCH_proto_goTypes, + DependencyIndexes: file_Unk2700_BEDCCMDPNCH_proto_depIdxs, + MessageInfos: file_Unk2700_BEDCCMDPNCH_proto_msgTypes, + }.Build() + File_Unk2700_BEDCCMDPNCH_proto = out.File + file_Unk2700_BEDCCMDPNCH_proto_rawDesc = nil + file_Unk2700_BEDCCMDPNCH_proto_goTypes = nil + file_Unk2700_BEDCCMDPNCH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.proto b/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.proto new file mode 100644 index 00000000..690618da --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEDCCMDPNCH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BKHBKHINBIA.proto"; + +option go_package = "./;proto"; + +// CmdId: 8499 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BEDCCMDPNCH { + uint32 gallery_id = 14; + Unk2700_BKHBKHINBIA settle_info = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.pb.go new file mode 100644 index 00000000..01bfb6b8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BEDLIGJANCJ_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4558 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BEDLIGJANCJ_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BJHAMKKECEI uint32 `protobuf:"varint,14,opt,name=Unk2700_BJHAMKKECEI,json=Unk2700BJHAMKKECEI,proto3" json:"Unk2700_BJHAMKKECEI,omitempty"` +} + +func (x *Unk2700_BEDLIGJANCJ_ClientReq) Reset() { + *x = Unk2700_BEDLIGJANCJ_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BEDLIGJANCJ_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BEDLIGJANCJ_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BEDLIGJANCJ_ClientReq) ProtoMessage() {} + +func (x *Unk2700_BEDLIGJANCJ_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BEDLIGJANCJ_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BEDLIGJANCJ_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_BEDLIGJANCJ_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BEDLIGJANCJ_ClientReq) GetUnk2700_BJHAMKKECEI() uint32 { + if x != nil { + return x.Unk2700_BJHAMKKECEI + } + return 0 +} + +var File_Unk2700_BEDLIGJANCJ_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x44, 0x4c, 0x49, 0x47, + 0x4a, 0x41, 0x4e, 0x43, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x42, 0x45, 0x44, 0x4c, 0x49, 0x47, 0x4a, 0x41, 0x4e, 0x43, 0x4a, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x4a, 0x48, 0x41, 0x4d, 0x4b, 0x4b, 0x45, 0x43, 0x45, 0x49, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4a, 0x48, 0x41, + 0x4d, 0x4b, 0x4b, 0x45, 0x43, 0x45, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescData = file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDesc +) + +func file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescData) + }) + return file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDescData +} + +var file_Unk2700_BEDLIGJANCJ_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BEDLIGJANCJ_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_BEDLIGJANCJ_ClientReq)(nil), // 0: Unk2700_BEDLIGJANCJ_ClientReq +} +var file_Unk2700_BEDLIGJANCJ_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BEDLIGJANCJ_ClientReq_proto_init() } +func file_Unk2700_BEDLIGJANCJ_ClientReq_proto_init() { + if File_Unk2700_BEDLIGJANCJ_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BEDLIGJANCJ_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BEDLIGJANCJ_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_BEDLIGJANCJ_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_BEDLIGJANCJ_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_BEDLIGJANCJ_ClientReq_proto = out.File + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_rawDesc = nil + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_goTypes = nil + file_Unk2700_BEDLIGJANCJ_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.proto new file mode 100644 index 00000000..3480da7c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEDLIGJANCJ_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4558 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BEDLIGJANCJ_ClientReq { + uint32 Unk2700_BJHAMKKECEI = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.pb.go b/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.pb.go new file mode 100644 index 00000000..9bbf09f5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BEGHDPPNMFM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BEGHDPPNMFM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AOFJNJNBAAI []*Unk2700_OCDMIOKNHHH `protobuf:"bytes,14,rep,name=Unk2700_AOFJNJNBAAI,json=Unk2700AOFJNJNBAAI,proto3" json:"Unk2700_AOFJNJNBAAI,omitempty"` + Timestamp uint32 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Unk2700_BEGHDPPNMFM) Reset() { + *x = Unk2700_BEGHDPPNMFM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BEGHDPPNMFM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BEGHDPPNMFM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BEGHDPPNMFM) ProtoMessage() {} + +func (x *Unk2700_BEGHDPPNMFM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BEGHDPPNMFM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BEGHDPPNMFM.ProtoReflect.Descriptor instead. +func (*Unk2700_BEGHDPPNMFM) Descriptor() ([]byte, []int) { + return file_Unk2700_BEGHDPPNMFM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BEGHDPPNMFM) GetUnk2700_AOFJNJNBAAI() []*Unk2700_OCDMIOKNHHH { + if x != nil { + return x.Unk2700_AOFJNJNBAAI + } + return nil +} + +func (x *Unk2700_BEGHDPPNMFM) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +var File_Unk2700_BEGHDPPNMFM_proto protoreflect.FileDescriptor + +var file_Unk2700_BEGHDPPNMFM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x47, 0x48, 0x44, 0x50, + 0x50, 0x4e, 0x4d, 0x46, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x45, 0x47, 0x48, 0x44, 0x50, 0x50, 0x4e, 0x4d, 0x46, 0x4d, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, 0x46, 0x4a, 0x4e, 0x4a, 0x4e, + 0x42, 0x41, 0x41, 0x49, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4f, 0x46, 0x4a, 0x4e, 0x4a, 0x4e, + 0x42, 0x41, 0x41, 0x49, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BEGHDPPNMFM_proto_rawDescOnce sync.Once + file_Unk2700_BEGHDPPNMFM_proto_rawDescData = file_Unk2700_BEGHDPPNMFM_proto_rawDesc +) + +func file_Unk2700_BEGHDPPNMFM_proto_rawDescGZIP() []byte { + file_Unk2700_BEGHDPPNMFM_proto_rawDescOnce.Do(func() { + file_Unk2700_BEGHDPPNMFM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BEGHDPPNMFM_proto_rawDescData) + }) + return file_Unk2700_BEGHDPPNMFM_proto_rawDescData +} + +var file_Unk2700_BEGHDPPNMFM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BEGHDPPNMFM_proto_goTypes = []interface{}{ + (*Unk2700_BEGHDPPNMFM)(nil), // 0: Unk2700_BEGHDPPNMFM + (*Unk2700_OCDMIOKNHHH)(nil), // 1: Unk2700_OCDMIOKNHHH +} +var file_Unk2700_BEGHDPPNMFM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BEGHDPPNMFM.Unk2700_AOFJNJNBAAI:type_name -> Unk2700_OCDMIOKNHHH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BEGHDPPNMFM_proto_init() } +func file_Unk2700_BEGHDPPNMFM_proto_init() { + if File_Unk2700_BEGHDPPNMFM_proto != nil { + return + } + file_Unk2700_OCDMIOKNHHH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BEGHDPPNMFM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BEGHDPPNMFM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BEGHDPPNMFM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BEGHDPPNMFM_proto_goTypes, + DependencyIndexes: file_Unk2700_BEGHDPPNMFM_proto_depIdxs, + MessageInfos: file_Unk2700_BEGHDPPNMFM_proto_msgTypes, + }.Build() + File_Unk2700_BEGHDPPNMFM_proto = out.File + file_Unk2700_BEGHDPPNMFM_proto_rawDesc = nil + file_Unk2700_BEGHDPPNMFM_proto_goTypes = nil + file_Unk2700_BEGHDPPNMFM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.proto b/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.proto new file mode 100644 index 00000000..fa75ee6f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEGHDPPNMFM.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OCDMIOKNHHH.proto"; + +option go_package = "./;proto"; + +message Unk2700_BEGHDPPNMFM { + repeated Unk2700_OCDMIOKNHHH Unk2700_AOFJNJNBAAI = 14; + uint32 timestamp = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.pb.go new file mode 100644 index 00000000..a7e28a13 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BEINCMBJDAA_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 333 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BEINCMBJDAA_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetId uint32 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` + Unk2700_AEIDAJFHBBB float32 `protobuf:"fixed32,5,opt,name=Unk2700_AEIDAJFHBBB,json=Unk2700AEIDAJFHBBB,proto3" json:"Unk2700_AEIDAJFHBBB,omitempty"` + SourceId uint32 `protobuf:"varint,13,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` + Unk2700_JLLFGAIOPGC float32 `protobuf:"fixed32,4,opt,name=Unk2700_JLLFGAIOPGC,json=Unk2700JLLFGAIOPGC,proto3" json:"Unk2700_JLLFGAIOPGC,omitempty"` +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) Reset() { + *x = Unk2700_BEINCMBJDAA_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BEINCMBJDAA_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BEINCMBJDAA_ClientReq) ProtoMessage() {} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BEINCMBJDAA_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BEINCMBJDAA_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_BEINCMBJDAA_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) GetTargetId() uint32 { + if x != nil { + return x.TargetId + } + return 0 +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) GetUnk2700_AEIDAJFHBBB() float32 { + if x != nil { + return x.Unk2700_AEIDAJFHBBB + } + return 0 +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) GetSourceId() uint32 { + if x != nil { + return x.SourceId + } + return 0 +} + +func (x *Unk2700_BEINCMBJDAA_ClientReq) GetUnk2700_JLLFGAIOPGC() float32 { + if x != nil { + return x.Unk2700_JLLFGAIOPGC + } + return 0 +} + +var File_Unk2700_BEINCMBJDAA_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x49, 0x4e, 0x43, 0x4d, + 0x42, 0x4a, 0x44, 0x41, 0x41, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x45, 0x49, 0x4e, 0x43, 0x4d, 0x42, 0x4a, 0x44, 0x41, 0x41, 0x5f, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x41, 0x45, 0x49, 0x44, 0x41, 0x4a, 0x46, 0x48, 0x42, 0x42, 0x42, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x45, 0x49, 0x44, 0x41, 0x4a, + 0x46, 0x48, 0x42, 0x42, 0x42, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4c, + 0x4c, 0x46, 0x47, 0x41, 0x49, 0x4f, 0x50, 0x47, 0x43, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x4c, 0x4c, 0x46, 0x47, 0x41, 0x49, 0x4f, + 0x50, 0x47, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescData = file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDesc +) + +func file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescData) + }) + return file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDescData +} + +var file_Unk2700_BEINCMBJDAA_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BEINCMBJDAA_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_BEINCMBJDAA_ClientReq)(nil), // 0: Unk2700_BEINCMBJDAA_ClientReq +} +var file_Unk2700_BEINCMBJDAA_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BEINCMBJDAA_ClientReq_proto_init() } +func file_Unk2700_BEINCMBJDAA_ClientReq_proto_init() { + if File_Unk2700_BEINCMBJDAA_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BEINCMBJDAA_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BEINCMBJDAA_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BEINCMBJDAA_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_BEINCMBJDAA_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_BEINCMBJDAA_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_BEINCMBJDAA_ClientReq_proto = out.File + file_Unk2700_BEINCMBJDAA_ClientReq_proto_rawDesc = nil + file_Unk2700_BEINCMBJDAA_ClientReq_proto_goTypes = nil + file_Unk2700_BEINCMBJDAA_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.proto new file mode 100644 index 00000000..3d9bb45c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BEINCMBJDAA_ClientReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 333 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BEINCMBJDAA_ClientReq { + uint32 target_id = 1; + float Unk2700_AEIDAJFHBBB = 5; + uint32 source_id = 13; + float Unk2700_JLLFGAIOPGC = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.pb.go b/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.pb.go new file mode 100644 index 00000000..d86a2eb3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BGKMAAINPCO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BGKMAAINPCO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_INIBKFPMCFO []*Unk2700_PKAPCOBGIJL `protobuf:"bytes,2,rep,name=Unk2700_INIBKFPMCFO,json=Unk2700INIBKFPMCFO,proto3" json:"Unk2700_INIBKFPMCFO,omitempty"` + AvatarInfoList []*Unk2700_JPGAAHJBLKB `protobuf:"bytes,11,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *Unk2700_BGKMAAINPCO) Reset() { + *x = Unk2700_BGKMAAINPCO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BGKMAAINPCO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BGKMAAINPCO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BGKMAAINPCO) ProtoMessage() {} + +func (x *Unk2700_BGKMAAINPCO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BGKMAAINPCO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BGKMAAINPCO.ProtoReflect.Descriptor instead. +func (*Unk2700_BGKMAAINPCO) Descriptor() ([]byte, []int) { + return file_Unk2700_BGKMAAINPCO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BGKMAAINPCO) GetUnk2700_INIBKFPMCFO() []*Unk2700_PKAPCOBGIJL { + if x != nil { + return x.Unk2700_INIBKFPMCFO + } + return nil +} + +func (x *Unk2700_BGKMAAINPCO) GetAvatarInfoList() []*Unk2700_JPGAAHJBLKB { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_Unk2700_BGKMAAINPCO_proto protoreflect.FileDescriptor + +var file_Unk2700_BGKMAAINPCO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, + 0x49, 0x4e, 0x50, 0x43, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x47, 0x41, 0x41, 0x48, 0x4a, 0x42, 0x4c, 0x4b, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, 0x42, 0x47, 0x49, 0x4a, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, + 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, 0x42, 0x47, 0x49, 0x4a, 0x4c, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, + 0x12, 0x3e, 0x0a, 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x47, 0x41, 0x41, 0x48, 0x4a, 0x42, 0x4c, 0x4b, 0x42, + 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BGKMAAINPCO_proto_rawDescOnce sync.Once + file_Unk2700_BGKMAAINPCO_proto_rawDescData = file_Unk2700_BGKMAAINPCO_proto_rawDesc +) + +func file_Unk2700_BGKMAAINPCO_proto_rawDescGZIP() []byte { + file_Unk2700_BGKMAAINPCO_proto_rawDescOnce.Do(func() { + file_Unk2700_BGKMAAINPCO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BGKMAAINPCO_proto_rawDescData) + }) + return file_Unk2700_BGKMAAINPCO_proto_rawDescData +} + +var file_Unk2700_BGKMAAINPCO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BGKMAAINPCO_proto_goTypes = []interface{}{ + (*Unk2700_BGKMAAINPCO)(nil), // 0: Unk2700_BGKMAAINPCO + (*Unk2700_PKAPCOBGIJL)(nil), // 1: Unk2700_PKAPCOBGIJL + (*Unk2700_JPGAAHJBLKB)(nil), // 2: Unk2700_JPGAAHJBLKB +} +var file_Unk2700_BGKMAAINPCO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BGKMAAINPCO.Unk2700_INIBKFPMCFO:type_name -> Unk2700_PKAPCOBGIJL + 2, // 1: Unk2700_BGKMAAINPCO.avatar_info_list:type_name -> Unk2700_JPGAAHJBLKB + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_BGKMAAINPCO_proto_init() } +func file_Unk2700_BGKMAAINPCO_proto_init() { + if File_Unk2700_BGKMAAINPCO_proto != nil { + return + } + file_Unk2700_JPGAAHJBLKB_proto_init() + file_Unk2700_PKAPCOBGIJL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BGKMAAINPCO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BGKMAAINPCO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BGKMAAINPCO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BGKMAAINPCO_proto_goTypes, + DependencyIndexes: file_Unk2700_BGKMAAINPCO_proto_depIdxs, + MessageInfos: file_Unk2700_BGKMAAINPCO_proto_msgTypes, + }.Build() + File_Unk2700_BGKMAAINPCO_proto = out.File + file_Unk2700_BGKMAAINPCO_proto_rawDesc = nil + file_Unk2700_BGKMAAINPCO_proto_goTypes = nil + file_Unk2700_BGKMAAINPCO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.proto b/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.proto new file mode 100644 index 00000000..cf156977 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BGKMAAINPCO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JPGAAHJBLKB.proto"; +import "Unk2700_PKAPCOBGIJL.proto"; + +option go_package = "./;proto"; + +message Unk2700_BGKMAAINPCO { + repeated Unk2700_PKAPCOBGIJL Unk2700_INIBKFPMCFO = 2; + repeated Unk2700_JPGAAHJBLKB avatar_info_list = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.pb.go b/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.pb.go new file mode 100644 index 00000000..e9317283 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BIEMCDLIFOD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BIEMCDLIFOD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint32 `protobuf:"varint,11,opt,name=guid,proto3" json:"guid,omitempty"` + SpawnPos *Vector `protobuf:"bytes,14,opt,name=spawn_pos,json=spawnPos,proto3" json:"spawn_pos,omitempty"` + IncludedFurnitureIndexList []int32 `protobuf:"varint,12,rep,packed,name=included_furniture_index_list,json=includedFurnitureIndexList,proto3" json:"included_furniture_index_list,omitempty"` +} + +func (x *Unk2700_BIEMCDLIFOD) Reset() { + *x = Unk2700_BIEMCDLIFOD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BIEMCDLIFOD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BIEMCDLIFOD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BIEMCDLIFOD) ProtoMessage() {} + +func (x *Unk2700_BIEMCDLIFOD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BIEMCDLIFOD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BIEMCDLIFOD.ProtoReflect.Descriptor instead. +func (*Unk2700_BIEMCDLIFOD) Descriptor() ([]byte, []int) { + return file_Unk2700_BIEMCDLIFOD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BIEMCDLIFOD) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *Unk2700_BIEMCDLIFOD) GetSpawnPos() *Vector { + if x != nil { + return x.SpawnPos + } + return nil +} + +func (x *Unk2700_BIEMCDLIFOD) GetIncludedFurnitureIndexList() []int32 { + if x != nil { + return x.IncludedFurnitureIndexList + } + return nil +} + +var File_Unk2700_BIEMCDLIFOD_proto protoreflect.FileDescriptor + +var file_Unk2700_BIEMCDLIFOD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x45, 0x4d, 0x43, 0x44, + 0x4c, 0x49, 0x46, 0x4f, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x45, 0x4d, 0x43, 0x44, 0x4c, 0x49, 0x46, 0x4f, + 0x44, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x5f, 0x70, + 0x6f, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x08, 0x73, 0x70, 0x61, 0x77, 0x6e, 0x50, 0x6f, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, + 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x05, 0x52, 0x1a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, + 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_BIEMCDLIFOD_proto_rawDescOnce sync.Once + file_Unk2700_BIEMCDLIFOD_proto_rawDescData = file_Unk2700_BIEMCDLIFOD_proto_rawDesc +) + +func file_Unk2700_BIEMCDLIFOD_proto_rawDescGZIP() []byte { + file_Unk2700_BIEMCDLIFOD_proto_rawDescOnce.Do(func() { + file_Unk2700_BIEMCDLIFOD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BIEMCDLIFOD_proto_rawDescData) + }) + return file_Unk2700_BIEMCDLIFOD_proto_rawDescData +} + +var file_Unk2700_BIEMCDLIFOD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BIEMCDLIFOD_proto_goTypes = []interface{}{ + (*Unk2700_BIEMCDLIFOD)(nil), // 0: Unk2700_BIEMCDLIFOD + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_BIEMCDLIFOD_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BIEMCDLIFOD.spawn_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BIEMCDLIFOD_proto_init() } +func file_Unk2700_BIEMCDLIFOD_proto_init() { + if File_Unk2700_BIEMCDLIFOD_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BIEMCDLIFOD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BIEMCDLIFOD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BIEMCDLIFOD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BIEMCDLIFOD_proto_goTypes, + DependencyIndexes: file_Unk2700_BIEMCDLIFOD_proto_depIdxs, + MessageInfos: file_Unk2700_BIEMCDLIFOD_proto_msgTypes, + }.Build() + File_Unk2700_BIEMCDLIFOD_proto = out.File + file_Unk2700_BIEMCDLIFOD_proto_rawDesc = nil + file_Unk2700_BIEMCDLIFOD_proto_goTypes = nil + file_Unk2700_BIEMCDLIFOD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.proto b/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.proto new file mode 100644 index 00000000..60d34528 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BIEMCDLIFOD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_BIEMCDLIFOD { + uint32 guid = 11; + Vector spawn_pos = 14; + repeated int32 included_furniture_index_list = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.pb.go b/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.pb.go new file mode 100644 index 00000000..b69bb88f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BIFNFOGBPNM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BIFNFOGBPNM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,5,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + RouteId uint32 `protobuf:"varint,9,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` + Unk2700_MMNILGLDHHD bool `protobuf:"varint,15,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` +} + +func (x *Unk2700_BIFNFOGBPNM) Reset() { + *x = Unk2700_BIFNFOGBPNM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BIFNFOGBPNM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BIFNFOGBPNM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BIFNFOGBPNM) ProtoMessage() {} + +func (x *Unk2700_BIFNFOGBPNM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BIFNFOGBPNM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BIFNFOGBPNM.ProtoReflect.Descriptor instead. +func (*Unk2700_BIFNFOGBPNM) Descriptor() ([]byte, []int) { + return file_Unk2700_BIFNFOGBPNM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BIFNFOGBPNM) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_BIFNFOGBPNM) GetRouteId() uint32 { + if x != nil { + return x.RouteId + } + return 0 +} + +func (x *Unk2700_BIFNFOGBPNM) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +var File_Unk2700_BIFNFOGBPNM_proto protoreflect.FileDescriptor + +var file_Unk2700_BIFNFOGBPNM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x46, 0x4e, 0x46, 0x4f, + 0x47, 0x42, 0x50, 0x4e, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x46, 0x4e, 0x46, 0x4f, 0x47, 0x42, 0x50, + 0x4e, 0x4d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, + 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BIFNFOGBPNM_proto_rawDescOnce sync.Once + file_Unk2700_BIFNFOGBPNM_proto_rawDescData = file_Unk2700_BIFNFOGBPNM_proto_rawDesc +) + +func file_Unk2700_BIFNFOGBPNM_proto_rawDescGZIP() []byte { + file_Unk2700_BIFNFOGBPNM_proto_rawDescOnce.Do(func() { + file_Unk2700_BIFNFOGBPNM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BIFNFOGBPNM_proto_rawDescData) + }) + return file_Unk2700_BIFNFOGBPNM_proto_rawDescData +} + +var file_Unk2700_BIFNFOGBPNM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BIFNFOGBPNM_proto_goTypes = []interface{}{ + (*Unk2700_BIFNFOGBPNM)(nil), // 0: Unk2700_BIFNFOGBPNM +} +var file_Unk2700_BIFNFOGBPNM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BIFNFOGBPNM_proto_init() } +func file_Unk2700_BIFNFOGBPNM_proto_init() { + if File_Unk2700_BIFNFOGBPNM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BIFNFOGBPNM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BIFNFOGBPNM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BIFNFOGBPNM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BIFNFOGBPNM_proto_goTypes, + DependencyIndexes: file_Unk2700_BIFNFOGBPNM_proto_depIdxs, + MessageInfos: file_Unk2700_BIFNFOGBPNM_proto_msgTypes, + }.Build() + File_Unk2700_BIFNFOGBPNM_proto = out.File + file_Unk2700_BIFNFOGBPNM_proto_rawDesc = nil + file_Unk2700_BIFNFOGBPNM_proto_goTypes = nil + file_Unk2700_BIFNFOGBPNM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.proto b/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.proto new file mode 100644 index 00000000..57f81458 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BIFNFOGBPNM.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_BIFNFOGBPNM { + bool is_open = 5; + uint32 route_id = 9; + bool Unk2700_MMNILGLDHHD = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.pb.go b/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.pb.go new file mode 100644 index 00000000..0741276a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BJJOMPDLNAL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BJJOMPDLNAL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterList []*Uint32Pair `protobuf:"bytes,1,rep,name=monster_list,json=monsterList,proto3" json:"monster_list,omitempty"` + Unk2700_NILLABGAALO bool `protobuf:"varint,3,opt,name=Unk2700_NILLABGAALO,json=Unk2700NILLABGAALO,proto3" json:"Unk2700_NILLABGAALO,omitempty"` + ConfigId uint32 `protobuf:"varint,7,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *Unk2700_BJJOMPDLNAL) Reset() { + *x = Unk2700_BJJOMPDLNAL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BJJOMPDLNAL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BJJOMPDLNAL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BJJOMPDLNAL) ProtoMessage() {} + +func (x *Unk2700_BJJOMPDLNAL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BJJOMPDLNAL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BJJOMPDLNAL.ProtoReflect.Descriptor instead. +func (*Unk2700_BJJOMPDLNAL) Descriptor() ([]byte, []int) { + return file_Unk2700_BJJOMPDLNAL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BJJOMPDLNAL) GetMonsterList() []*Uint32Pair { + if x != nil { + return x.MonsterList + } + return nil +} + +func (x *Unk2700_BJJOMPDLNAL) GetUnk2700_NILLABGAALO() bool { + if x != nil { + return x.Unk2700_NILLABGAALO + } + return false +} + +func (x *Unk2700_BJJOMPDLNAL) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_Unk2700_BJJOMPDLNAL_proto protoreflect.FileDescriptor + +var file_Unk2700_BJJOMPDLNAL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, 0x50, + 0x44, 0x4c, 0x4e, 0x41, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x55, 0x69, 0x6e, + 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, 0x50, + 0x44, 0x4c, 0x4e, 0x41, 0x4c, 0x12, 0x2e, 0x0a, 0x0c, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x69, + 0x6e, 0x74, 0x33, 0x32, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x49, 0x4c, 0x4c, 0x41, 0x42, 0x47, 0x41, 0x41, 0x4c, 0x4f, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x49, 0x4c, 0x4c, 0x41, + 0x42, 0x47, 0x41, 0x41, 0x4c, 0x4f, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BJJOMPDLNAL_proto_rawDescOnce sync.Once + file_Unk2700_BJJOMPDLNAL_proto_rawDescData = file_Unk2700_BJJOMPDLNAL_proto_rawDesc +) + +func file_Unk2700_BJJOMPDLNAL_proto_rawDescGZIP() []byte { + file_Unk2700_BJJOMPDLNAL_proto_rawDescOnce.Do(func() { + file_Unk2700_BJJOMPDLNAL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BJJOMPDLNAL_proto_rawDescData) + }) + return file_Unk2700_BJJOMPDLNAL_proto_rawDescData +} + +var file_Unk2700_BJJOMPDLNAL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BJJOMPDLNAL_proto_goTypes = []interface{}{ + (*Unk2700_BJJOMPDLNAL)(nil), // 0: Unk2700_BJJOMPDLNAL + (*Uint32Pair)(nil), // 1: Uint32Pair +} +var file_Unk2700_BJJOMPDLNAL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BJJOMPDLNAL.monster_list:type_name -> Uint32Pair + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BJJOMPDLNAL_proto_init() } +func file_Unk2700_BJJOMPDLNAL_proto_init() { + if File_Unk2700_BJJOMPDLNAL_proto != nil { + return + } + file_Uint32Pair_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BJJOMPDLNAL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BJJOMPDLNAL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BJJOMPDLNAL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BJJOMPDLNAL_proto_goTypes, + DependencyIndexes: file_Unk2700_BJJOMPDLNAL_proto_depIdxs, + MessageInfos: file_Unk2700_BJJOMPDLNAL_proto_msgTypes, + }.Build() + File_Unk2700_BJJOMPDLNAL_proto = out.File + file_Unk2700_BJJOMPDLNAL_proto_rawDesc = nil + file_Unk2700_BJJOMPDLNAL_proto_goTypes = nil + file_Unk2700_BJJOMPDLNAL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.proto b/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.proto new file mode 100644 index 00000000..742cebe3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BJJOMPDLNAL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Uint32Pair.proto"; + +option go_package = "./;proto"; + +message Unk2700_BJJOMPDLNAL { + repeated Uint32Pair monster_list = 1; + bool Unk2700_NILLABGAALO = 3; + uint32 config_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.pb.go new file mode 100644 index 00000000..2f2593ac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BKEELPKCHGO_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6209 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BKEELPKCHGO_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_BKEELPKCHGO_ClientReq) Reset() { + *x = Unk2700_BKEELPKCHGO_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BKEELPKCHGO_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BKEELPKCHGO_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BKEELPKCHGO_ClientReq) ProtoMessage() {} + +func (x *Unk2700_BKEELPKCHGO_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BKEELPKCHGO_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BKEELPKCHGO_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_BKEELPKCHGO_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_BKEELPKCHGO_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x45, 0x45, 0x4c, 0x50, + 0x4b, 0x43, 0x48, 0x47, 0x4f, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x42, 0x4b, 0x45, 0x45, 0x4c, 0x50, 0x4b, 0x43, 0x48, 0x47, 0x4f, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescData = file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDesc +) + +func file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescData) + }) + return file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDescData +} + +var file_Unk2700_BKEELPKCHGO_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BKEELPKCHGO_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_BKEELPKCHGO_ClientReq)(nil), // 0: Unk2700_BKEELPKCHGO_ClientReq +} +var file_Unk2700_BKEELPKCHGO_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BKEELPKCHGO_ClientReq_proto_init() } +func file_Unk2700_BKEELPKCHGO_ClientReq_proto_init() { + if File_Unk2700_BKEELPKCHGO_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BKEELPKCHGO_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BKEELPKCHGO_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BKEELPKCHGO_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_BKEELPKCHGO_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_BKEELPKCHGO_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_BKEELPKCHGO_ClientReq_proto = out.File + file_Unk2700_BKEELPKCHGO_ClientReq_proto_rawDesc = nil + file_Unk2700_BKEELPKCHGO_ClientReq_proto_goTypes = nil + file_Unk2700_BKEELPKCHGO_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.proto new file mode 100644 index 00000000..c517be68 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKEELPKCHGO_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6209 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BKEELPKCHGO_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.pb.go b/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.pb.go new file mode 100644 index 00000000..1497b68e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BKGPMAHMHIG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8561 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BKGPMAHMHIG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,2,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` + LevelId uint32 `protobuf:"varint,12,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + CardId uint32 `protobuf:"varint,9,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` +} + +func (x *Unk2700_BKGPMAHMHIG) Reset() { + *x = Unk2700_BKGPMAHMHIG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BKGPMAHMHIG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BKGPMAHMHIG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BKGPMAHMHIG) ProtoMessage() {} + +func (x *Unk2700_BKGPMAHMHIG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BKGPMAHMHIG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BKGPMAHMHIG.ProtoReflect.Descriptor instead. +func (*Unk2700_BKGPMAHMHIG) Descriptor() ([]byte, []int) { + return file_Unk2700_BKGPMAHMHIG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BKGPMAHMHIG) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +func (x *Unk2700_BKGPMAHMHIG) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_BKGPMAHMHIG) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +var File_Unk2700_BKGPMAHMHIG_proto protoreflect.FileDescriptor + +var file_Unk2700_BKGPMAHMHIG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x47, 0x50, 0x4d, 0x41, + 0x48, 0x4d, 0x48, 0x49, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x47, 0x50, 0x4d, 0x41, 0x48, 0x4d, 0x48, + 0x49, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, + 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, + 0x43, 0x46, 0x46, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BKGPMAHMHIG_proto_rawDescOnce sync.Once + file_Unk2700_BKGPMAHMHIG_proto_rawDescData = file_Unk2700_BKGPMAHMHIG_proto_rawDesc +) + +func file_Unk2700_BKGPMAHMHIG_proto_rawDescGZIP() []byte { + file_Unk2700_BKGPMAHMHIG_proto_rawDescOnce.Do(func() { + file_Unk2700_BKGPMAHMHIG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BKGPMAHMHIG_proto_rawDescData) + }) + return file_Unk2700_BKGPMAHMHIG_proto_rawDescData +} + +var file_Unk2700_BKGPMAHMHIG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BKGPMAHMHIG_proto_goTypes = []interface{}{ + (*Unk2700_BKGPMAHMHIG)(nil), // 0: Unk2700_BKGPMAHMHIG +} +var file_Unk2700_BKGPMAHMHIG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BKGPMAHMHIG_proto_init() } +func file_Unk2700_BKGPMAHMHIG_proto_init() { + if File_Unk2700_BKGPMAHMHIG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BKGPMAHMHIG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BKGPMAHMHIG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BKGPMAHMHIG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BKGPMAHMHIG_proto_goTypes, + DependencyIndexes: file_Unk2700_BKGPMAHMHIG_proto_depIdxs, + MessageInfos: file_Unk2700_BKGPMAHMHIG_proto_msgTypes, + }.Build() + File_Unk2700_BKGPMAHMHIG_proto = out.File + file_Unk2700_BKGPMAHMHIG_proto_rawDesc = nil + file_Unk2700_BKGPMAHMHIG_proto_goTypes = nil + file_Unk2700_BKGPMAHMHIG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.proto b/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.proto new file mode 100644 index 00000000..5086cebc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKGPMAHMHIG.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8561 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BKGPMAHMHIG { + bool Unk2700_PHGMKGEMCFF = 2; + uint32 level_id = 12; + uint32 card_id = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.pb.go b/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.pb.go new file mode 100644 index 00000000..93567136 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BKHBKHINBIA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BKHBKHINBIA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *Unk2700_EGKIHLIOLDM `protobuf:"bytes,3,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + IsNewRecord bool `protobuf:"varint,2,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk2700_BKHBKHINBIA) Reset() { + *x = Unk2700_BKHBKHINBIA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BKHBKHINBIA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BKHBKHINBIA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BKHBKHINBIA) ProtoMessage() {} + +func (x *Unk2700_BKHBKHINBIA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BKHBKHINBIA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BKHBKHINBIA.ProtoReflect.Descriptor instead. +func (*Unk2700_BKHBKHINBIA) Descriptor() ([]byte, []int) { + return file_Unk2700_BKHBKHINBIA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BKHBKHINBIA) GetSettleInfo() *Unk2700_EGKIHLIOLDM { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_BKHBKHINBIA) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk2700_BKHBKHINBIA_proto protoreflect.FileDescriptor + +var file_Unk2700_BKHBKHINBIA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4b, 0x48, 0x42, 0x4b, 0x48, + 0x49, 0x4e, 0x42, 0x49, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x47, 0x4b, 0x49, 0x48, 0x4c, 0x49, 0x4f, 0x4c, 0x44, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x4b, 0x48, 0x42, 0x4b, 0x48, 0x49, 0x4e, 0x42, 0x49, 0x41, 0x12, 0x35, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x47, 0x4b, + 0x49, 0x48, 0x4c, 0x49, 0x4f, 0x4c, 0x44, 0x4d, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, + 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BKHBKHINBIA_proto_rawDescOnce sync.Once + file_Unk2700_BKHBKHINBIA_proto_rawDescData = file_Unk2700_BKHBKHINBIA_proto_rawDesc +) + +func file_Unk2700_BKHBKHINBIA_proto_rawDescGZIP() []byte { + file_Unk2700_BKHBKHINBIA_proto_rawDescOnce.Do(func() { + file_Unk2700_BKHBKHINBIA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BKHBKHINBIA_proto_rawDescData) + }) + return file_Unk2700_BKHBKHINBIA_proto_rawDescData +} + +var file_Unk2700_BKHBKHINBIA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BKHBKHINBIA_proto_goTypes = []interface{}{ + (*Unk2700_BKHBKHINBIA)(nil), // 0: Unk2700_BKHBKHINBIA + (*Unk2700_EGKIHLIOLDM)(nil), // 1: Unk2700_EGKIHLIOLDM +} +var file_Unk2700_BKHBKHINBIA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BKHBKHINBIA.settle_info:type_name -> Unk2700_EGKIHLIOLDM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_BKHBKHINBIA_proto_init() } +func file_Unk2700_BKHBKHINBIA_proto_init() { + if File_Unk2700_BKHBKHINBIA_proto != nil { + return + } + file_Unk2700_EGKIHLIOLDM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BKHBKHINBIA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BKHBKHINBIA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BKHBKHINBIA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BKHBKHINBIA_proto_goTypes, + DependencyIndexes: file_Unk2700_BKHBKHINBIA_proto_depIdxs, + MessageInfos: file_Unk2700_BKHBKHINBIA_proto_msgTypes, + }.Build() + File_Unk2700_BKHBKHINBIA_proto = out.File + file_Unk2700_BKHBKHINBIA_proto_rawDesc = nil + file_Unk2700_BKHBKHINBIA_proto_goTypes = nil + file_Unk2700_BKHBKHINBIA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.proto b/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.proto new file mode 100644 index 00000000..c90d26ca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BKHBKHINBIA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EGKIHLIOLDM.proto"; + +option go_package = "./;proto"; + +message Unk2700_BKHBKHINBIA { + Unk2700_EGKIHLIOLDM settle_info = 3; + bool is_new_record = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.pb.go b/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.pb.go new file mode 100644 index 00000000..0d0717a6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BLCHNMCGJCJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8948 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BLCHNMCGJCJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_BLCHNMCGJCJ) Reset() { + *x = Unk2700_BLCHNMCGJCJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BLCHNMCGJCJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BLCHNMCGJCJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BLCHNMCGJCJ) ProtoMessage() {} + +func (x *Unk2700_BLCHNMCGJCJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BLCHNMCGJCJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BLCHNMCGJCJ.ProtoReflect.Descriptor instead. +func (*Unk2700_BLCHNMCGJCJ) Descriptor() ([]byte, []int) { + return file_Unk2700_BLCHNMCGJCJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BLCHNMCGJCJ) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_BLCHNMCGJCJ_proto protoreflect.FileDescriptor + +var file_Unk2700_BLCHNMCGJCJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x43, 0x48, 0x4e, 0x4d, + 0x43, 0x47, 0x4a, 0x43, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x43, 0x48, 0x4e, 0x4d, 0x43, 0x47, 0x4a, + 0x43, 0x4a, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BLCHNMCGJCJ_proto_rawDescOnce sync.Once + file_Unk2700_BLCHNMCGJCJ_proto_rawDescData = file_Unk2700_BLCHNMCGJCJ_proto_rawDesc +) + +func file_Unk2700_BLCHNMCGJCJ_proto_rawDescGZIP() []byte { + file_Unk2700_BLCHNMCGJCJ_proto_rawDescOnce.Do(func() { + file_Unk2700_BLCHNMCGJCJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BLCHNMCGJCJ_proto_rawDescData) + }) + return file_Unk2700_BLCHNMCGJCJ_proto_rawDescData +} + +var file_Unk2700_BLCHNMCGJCJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BLCHNMCGJCJ_proto_goTypes = []interface{}{ + (*Unk2700_BLCHNMCGJCJ)(nil), // 0: Unk2700_BLCHNMCGJCJ +} +var file_Unk2700_BLCHNMCGJCJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BLCHNMCGJCJ_proto_init() } +func file_Unk2700_BLCHNMCGJCJ_proto_init() { + if File_Unk2700_BLCHNMCGJCJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BLCHNMCGJCJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BLCHNMCGJCJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BLCHNMCGJCJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BLCHNMCGJCJ_proto_goTypes, + DependencyIndexes: file_Unk2700_BLCHNMCGJCJ_proto_depIdxs, + MessageInfos: file_Unk2700_BLCHNMCGJCJ_proto_msgTypes, + }.Build() + File_Unk2700_BLCHNMCGJCJ_proto = out.File + file_Unk2700_BLCHNMCGJCJ_proto_rawDesc = nil + file_Unk2700_BLCHNMCGJCJ_proto_goTypes = nil + file_Unk2700_BLCHNMCGJCJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.proto b/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.proto new file mode 100644 index 00000000..110d8c9a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLCHNMCGJCJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8948 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BLCHNMCGJCJ { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.pb.go b/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.pb.go new file mode 100644 index 00000000..847ab02c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BLFFJBMLAPI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8772 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BLFFJBMLAPI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_PILJPPJNGEJ []*ItemParam `protobuf:"bytes,14,rep,name=Unk2700_PILJPPJNGEJ,json=Unk2700PILJPPJNGEJ,proto3" json:"Unk2700_PILJPPJNGEJ,omitempty"` + Unk2700_EENOCHNIAJL []*ItemParam `protobuf:"bytes,1,rep,name=Unk2700_EENOCHNIAJL,json=Unk2700EENOCHNIAJL,proto3" json:"Unk2700_EENOCHNIAJL,omitempty"` +} + +func (x *Unk2700_BLFFJBMLAPI) Reset() { + *x = Unk2700_BLFFJBMLAPI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BLFFJBMLAPI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BLFFJBMLAPI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BLFFJBMLAPI) ProtoMessage() {} + +func (x *Unk2700_BLFFJBMLAPI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BLFFJBMLAPI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BLFFJBMLAPI.ProtoReflect.Descriptor instead. +func (*Unk2700_BLFFJBMLAPI) Descriptor() ([]byte, []int) { + return file_Unk2700_BLFFJBMLAPI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BLFFJBMLAPI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_BLFFJBMLAPI) GetUnk2700_PILJPPJNGEJ() []*ItemParam { + if x != nil { + return x.Unk2700_PILJPPJNGEJ + } + return nil +} + +func (x *Unk2700_BLFFJBMLAPI) GetUnk2700_EENOCHNIAJL() []*ItemParam { + if x != nil { + return x.Unk2700_EENOCHNIAJL + } + return nil +} + +var File_Unk2700_BLFFJBMLAPI_proto protoreflect.FileDescriptor + +var file_Unk2700_BLFFJBMLAPI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x46, 0x46, 0x4a, 0x42, + 0x4d, 0x4c, 0x41, 0x50, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x46, 0x46, 0x4a, 0x42, 0x4d, + 0x4c, 0x41, 0x50, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3b, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x4a, 0x50, 0x50, + 0x4a, 0x4e, 0x47, 0x45, 0x4a, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x50, 0x49, 0x4c, 0x4a, 0x50, 0x50, 0x4a, 0x4e, 0x47, 0x45, 0x4a, 0x12, 0x3b, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x4e, 0x4f, 0x43, 0x48, 0x4e, 0x49, 0x41, + 0x4a, 0x4c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x45, 0x4e, + 0x4f, 0x43, 0x48, 0x4e, 0x49, 0x41, 0x4a, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BLFFJBMLAPI_proto_rawDescOnce sync.Once + file_Unk2700_BLFFJBMLAPI_proto_rawDescData = file_Unk2700_BLFFJBMLAPI_proto_rawDesc +) + +func file_Unk2700_BLFFJBMLAPI_proto_rawDescGZIP() []byte { + file_Unk2700_BLFFJBMLAPI_proto_rawDescOnce.Do(func() { + file_Unk2700_BLFFJBMLAPI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BLFFJBMLAPI_proto_rawDescData) + }) + return file_Unk2700_BLFFJBMLAPI_proto_rawDescData +} + +var file_Unk2700_BLFFJBMLAPI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BLFFJBMLAPI_proto_goTypes = []interface{}{ + (*Unk2700_BLFFJBMLAPI)(nil), // 0: Unk2700_BLFFJBMLAPI + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_BLFFJBMLAPI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BLFFJBMLAPI.Unk2700_PILJPPJNGEJ:type_name -> ItemParam + 1, // 1: Unk2700_BLFFJBMLAPI.Unk2700_EENOCHNIAJL:type_name -> ItemParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_BLFFJBMLAPI_proto_init() } +func file_Unk2700_BLFFJBMLAPI_proto_init() { + if File_Unk2700_BLFFJBMLAPI_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BLFFJBMLAPI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BLFFJBMLAPI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BLFFJBMLAPI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BLFFJBMLAPI_proto_goTypes, + DependencyIndexes: file_Unk2700_BLFFJBMLAPI_proto_depIdxs, + MessageInfos: file_Unk2700_BLFFJBMLAPI_proto_msgTypes, + }.Build() + File_Unk2700_BLFFJBMLAPI_proto = out.File + file_Unk2700_BLFFJBMLAPI_proto_rawDesc = nil + file_Unk2700_BLFFJBMLAPI_proto_goTypes = nil + file_Unk2700_BLFFJBMLAPI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.proto b/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.proto new file mode 100644 index 00000000..d3bf8cef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLFFJBMLAPI.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8772 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BLFFJBMLAPI { + int32 retcode = 9; + repeated ItemParam Unk2700_PILJPPJNGEJ = 14; + repeated ItemParam Unk2700_EENOCHNIAJL = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.pb.go new file mode 100644 index 00000000..27a68faf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BLHIGLFDHFA_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4654 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BLHIGLFDHFA_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TriggerEntityId uint32 `protobuf:"varint,10,opt,name=trigger_entity_id,json=triggerEntityId,proto3" json:"trigger_entity_id,omitempty"` + CurScore uint32 `protobuf:"varint,9,opt,name=cur_score,json=curScore,proto3" json:"cur_score,omitempty"` + AddScore uint32 `protobuf:"varint,7,opt,name=add_score,json=addScore,proto3" json:"add_score,omitempty"` + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) Reset() { + *x = Unk2700_BLHIGLFDHFA_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BLHIGLFDHFA_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BLHIGLFDHFA_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_BLHIGLFDHFA_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) GetTriggerEntityId() uint32 { + if x != nil { + return x.TriggerEntityId + } + return 0 +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) GetCurScore() uint32 { + if x != nil { + return x.CurScore + } + return 0 +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) GetAddScore() uint32 { + if x != nil { + return x.AddScore + } + return 0 +} + +func (x *Unk2700_BLHIGLFDHFA_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_BLHIGLFDHFA_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x48, 0x49, 0x47, 0x4c, + 0x46, 0x44, 0x48, 0x46, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x48, 0x49, 0x47, 0x4c, 0x46, 0x44, 0x48, 0x46, 0x41, + 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2a, 0x0a, + 0x11, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x72, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x64, 0x64, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescData = file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDesc +) + +func file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDescData +} + +var file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_BLHIGLFDHFA_ServerNotify)(nil), // 0: Unk2700_BLHIGLFDHFA_ServerNotify +} +var file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_init() } +func file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_init() { + if File_Unk2700_BLHIGLFDHFA_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BLHIGLFDHFA_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_BLHIGLFDHFA_ServerNotify_proto = out.File + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_rawDesc = nil + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_goTypes = nil + file_Unk2700_BLHIGLFDHFA_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.proto new file mode 100644 index 00000000..d2324277 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLHIGLFDHFA_ServerNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4654 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BLHIGLFDHFA_ServerNotify { + uint32 trigger_entity_id = 10; + uint32 cur_score = 9; + uint32 add_score = 7; + uint32 gallery_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.pb.go b/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.pb.go new file mode 100644 index 00000000..a58f68ea --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BLNOMGJJLOI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8854 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BLNOMGJJLOI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_CKGJEOOKFIF uint32 `protobuf:"varint,8,opt,name=Unk2700_CKGJEOOKFIF,json=Unk2700CKGJEOOKFIF,proto3" json:"Unk2700_CKGJEOOKFIF,omitempty"` +} + +func (x *Unk2700_BLNOMGJJLOI) Reset() { + *x = Unk2700_BLNOMGJJLOI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BLNOMGJJLOI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BLNOMGJJLOI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BLNOMGJJLOI) ProtoMessage() {} + +func (x *Unk2700_BLNOMGJJLOI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BLNOMGJJLOI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BLNOMGJJLOI.ProtoReflect.Descriptor instead. +func (*Unk2700_BLNOMGJJLOI) Descriptor() ([]byte, []int) { + return file_Unk2700_BLNOMGJJLOI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BLNOMGJJLOI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_BLNOMGJJLOI) GetUnk2700_CKGJEOOKFIF() uint32 { + if x != nil { + return x.Unk2700_CKGJEOOKFIF + } + return 0 +} + +var File_Unk2700_BLNOMGJJLOI_proto protoreflect.FileDescriptor + +var file_Unk2700_BLNOMGJJLOI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x4e, 0x4f, 0x4d, 0x47, + 0x4a, 0x4a, 0x4c, 0x4f, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x4e, 0x4f, 0x4d, 0x47, 0x4a, 0x4a, 0x4c, + 0x4f, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, + 0x46, 0x49, 0x46, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_BLNOMGJJLOI_proto_rawDescOnce sync.Once + file_Unk2700_BLNOMGJJLOI_proto_rawDescData = file_Unk2700_BLNOMGJJLOI_proto_rawDesc +) + +func file_Unk2700_BLNOMGJJLOI_proto_rawDescGZIP() []byte { + file_Unk2700_BLNOMGJJLOI_proto_rawDescOnce.Do(func() { + file_Unk2700_BLNOMGJJLOI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BLNOMGJJLOI_proto_rawDescData) + }) + return file_Unk2700_BLNOMGJJLOI_proto_rawDescData +} + +var file_Unk2700_BLNOMGJJLOI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BLNOMGJJLOI_proto_goTypes = []interface{}{ + (*Unk2700_BLNOMGJJLOI)(nil), // 0: Unk2700_BLNOMGJJLOI +} +var file_Unk2700_BLNOMGJJLOI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BLNOMGJJLOI_proto_init() } +func file_Unk2700_BLNOMGJJLOI_proto_init() { + if File_Unk2700_BLNOMGJJLOI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BLNOMGJJLOI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BLNOMGJJLOI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BLNOMGJJLOI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BLNOMGJJLOI_proto_goTypes, + DependencyIndexes: file_Unk2700_BLNOMGJJLOI_proto_depIdxs, + MessageInfos: file_Unk2700_BLNOMGJJLOI_proto_msgTypes, + }.Build() + File_Unk2700_BLNOMGJJLOI_proto = out.File + file_Unk2700_BLNOMGJJLOI_proto_rawDesc = nil + file_Unk2700_BLNOMGJJLOI_proto_goTypes = nil + file_Unk2700_BLNOMGJJLOI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.proto b/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.proto new file mode 100644 index 00000000..d08cc6c7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BLNOMGJJLOI.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8854 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BLNOMGJJLOI { + int32 retcode = 1; + uint32 Unk2700_CKGJEOOKFIF = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.pb.go b/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.pb.go new file mode 100644 index 00000000..d46c6066 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BMBAIACNLDF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_BMBAIACNLDF int32 + +const ( + Unk2700_BMBAIACNLDF_Unk2700_BMBAIACNLDF_Unk2700_KOGCCKHAIBJ Unk2700_BMBAIACNLDF = 0 + Unk2700_BMBAIACNLDF_Unk2700_BMBAIACNLDF_Unk2700_OHHELAGBFFO Unk2700_BMBAIACNLDF = 1 + Unk2700_BMBAIACNLDF_Unk2700_BMBAIACNLDF_Unk2700_BIGKGGIMNCD Unk2700_BMBAIACNLDF = 2 +) + +// Enum value maps for Unk2700_BMBAIACNLDF. +var ( + Unk2700_BMBAIACNLDF_name = map[int32]string{ + 0: "Unk2700_BMBAIACNLDF_Unk2700_KOGCCKHAIBJ", + 1: "Unk2700_BMBAIACNLDF_Unk2700_OHHELAGBFFO", + 2: "Unk2700_BMBAIACNLDF_Unk2700_BIGKGGIMNCD", + } + Unk2700_BMBAIACNLDF_value = map[string]int32{ + "Unk2700_BMBAIACNLDF_Unk2700_KOGCCKHAIBJ": 0, + "Unk2700_BMBAIACNLDF_Unk2700_OHHELAGBFFO": 1, + "Unk2700_BMBAIACNLDF_Unk2700_BIGKGGIMNCD": 2, + } +) + +func (x Unk2700_BMBAIACNLDF) Enum() *Unk2700_BMBAIACNLDF { + p := new(Unk2700_BMBAIACNLDF) + *p = x + return p +} + +func (x Unk2700_BMBAIACNLDF) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_BMBAIACNLDF) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_BMBAIACNLDF_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_BMBAIACNLDF) Type() protoreflect.EnumType { + return &file_Unk2700_BMBAIACNLDF_proto_enumTypes[0] +} + +func (x Unk2700_BMBAIACNLDF) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_BMBAIACNLDF.Descriptor instead. +func (Unk2700_BMBAIACNLDF) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_BMBAIACNLDF_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_BMBAIACNLDF_proto protoreflect.FileDescriptor + +var file_Unk2700_BMBAIACNLDF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, 0x49, 0x41, + 0x43, 0x4e, 0x4c, 0x44, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, 0x49, 0x41, 0x43, 0x4e, + 0x4c, 0x44, 0x46, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x4d, 0x42, 0x41, 0x49, 0x41, 0x43, 0x4e, 0x4c, 0x44, 0x46, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x47, 0x43, 0x43, 0x4b, 0x48, 0x41, 0x49, 0x42, 0x4a, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, + 0x49, 0x41, 0x43, 0x4e, 0x4c, 0x44, 0x46, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x48, 0x48, 0x45, 0x4c, 0x41, 0x47, 0x42, 0x46, 0x46, 0x4f, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, 0x49, 0x41, 0x43, + 0x4e, 0x4c, 0x44, 0x46, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x47, + 0x4b, 0x47, 0x47, 0x49, 0x4d, 0x4e, 0x43, 0x44, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BMBAIACNLDF_proto_rawDescOnce sync.Once + file_Unk2700_BMBAIACNLDF_proto_rawDescData = file_Unk2700_BMBAIACNLDF_proto_rawDesc +) + +func file_Unk2700_BMBAIACNLDF_proto_rawDescGZIP() []byte { + file_Unk2700_BMBAIACNLDF_proto_rawDescOnce.Do(func() { + file_Unk2700_BMBAIACNLDF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BMBAIACNLDF_proto_rawDescData) + }) + return file_Unk2700_BMBAIACNLDF_proto_rawDescData +} + +var file_Unk2700_BMBAIACNLDF_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_BMBAIACNLDF_proto_goTypes = []interface{}{ + (Unk2700_BMBAIACNLDF)(0), // 0: Unk2700_BMBAIACNLDF +} +var file_Unk2700_BMBAIACNLDF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BMBAIACNLDF_proto_init() } +func file_Unk2700_BMBAIACNLDF_proto_init() { + if File_Unk2700_BMBAIACNLDF_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BMBAIACNLDF_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BMBAIACNLDF_proto_goTypes, + DependencyIndexes: file_Unk2700_BMBAIACNLDF_proto_depIdxs, + EnumInfos: file_Unk2700_BMBAIACNLDF_proto_enumTypes, + }.Build() + File_Unk2700_BMBAIACNLDF_proto = out.File + file_Unk2700_BMBAIACNLDF_proto_rawDesc = nil + file_Unk2700_BMBAIACNLDF_proto_goTypes = nil + file_Unk2700_BMBAIACNLDF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.proto b/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.proto new file mode 100644 index 00000000..e2198782 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BMBAIACNLDF.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_BMBAIACNLDF { + Unk2700_BMBAIACNLDF_Unk2700_KOGCCKHAIBJ = 0; + Unk2700_BMBAIACNLDF_Unk2700_OHHELAGBFFO = 1; + Unk2700_BMBAIACNLDF_Unk2700_BIGKGGIMNCD = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.pb.go b/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.pb.go new file mode 100644 index 00000000..493d3172 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BMDBBHFJMPF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8178 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BMDBBHFJMPF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_BMDBBHFJMPF) Reset() { + *x = Unk2700_BMDBBHFJMPF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BMDBBHFJMPF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BMDBBHFJMPF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BMDBBHFJMPF) ProtoMessage() {} + +func (x *Unk2700_BMDBBHFJMPF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BMDBBHFJMPF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BMDBBHFJMPF.ProtoReflect.Descriptor instead. +func (*Unk2700_BMDBBHFJMPF) Descriptor() ([]byte, []int) { + return file_Unk2700_BMDBBHFJMPF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BMDBBHFJMPF) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_BMDBBHFJMPF_proto protoreflect.FileDescriptor + +var file_Unk2700_BMDBBHFJMPF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x44, 0x42, 0x42, 0x48, + 0x46, 0x4a, 0x4d, 0x50, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x44, 0x42, 0x42, 0x48, 0x46, 0x4a, 0x4d, + 0x50, 0x46, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BMDBBHFJMPF_proto_rawDescOnce sync.Once + file_Unk2700_BMDBBHFJMPF_proto_rawDescData = file_Unk2700_BMDBBHFJMPF_proto_rawDesc +) + +func file_Unk2700_BMDBBHFJMPF_proto_rawDescGZIP() []byte { + file_Unk2700_BMDBBHFJMPF_proto_rawDescOnce.Do(func() { + file_Unk2700_BMDBBHFJMPF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BMDBBHFJMPF_proto_rawDescData) + }) + return file_Unk2700_BMDBBHFJMPF_proto_rawDescData +} + +var file_Unk2700_BMDBBHFJMPF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BMDBBHFJMPF_proto_goTypes = []interface{}{ + (*Unk2700_BMDBBHFJMPF)(nil), // 0: Unk2700_BMDBBHFJMPF +} +var file_Unk2700_BMDBBHFJMPF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BMDBBHFJMPF_proto_init() } +func file_Unk2700_BMDBBHFJMPF_proto_init() { + if File_Unk2700_BMDBBHFJMPF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BMDBBHFJMPF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BMDBBHFJMPF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BMDBBHFJMPF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BMDBBHFJMPF_proto_goTypes, + DependencyIndexes: file_Unk2700_BMDBBHFJMPF_proto_depIdxs, + MessageInfos: file_Unk2700_BMDBBHFJMPF_proto_msgTypes, + }.Build() + File_Unk2700_BMDBBHFJMPF_proto = out.File + file_Unk2700_BMDBBHFJMPF_proto_rawDesc = nil + file_Unk2700_BMDBBHFJMPF_proto_goTypes = nil + file_Unk2700_BMDBBHFJMPF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.proto b/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.proto new file mode 100644 index 00000000..86db5ce0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BMDBBHFJMPF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8178 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BMDBBHFJMPF { + uint32 activity_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.pb.go b/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.pb.go new file mode 100644 index 00000000..86927aa0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BNABFJBODGE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BNABFJBODGE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + SkillId uint32 `protobuf:"varint,11,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,10,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + Unk2700_AIKKJGOLLHK uint32 `protobuf:"varint,13,opt,name=Unk2700_AIKKJGOLLHK,json=Unk2700AIKKJGOLLHK,proto3" json:"Unk2700_AIKKJGOLLHK,omitempty"` +} + +func (x *Unk2700_BNABFJBODGE) Reset() { + *x = Unk2700_BNABFJBODGE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BNABFJBODGE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BNABFJBODGE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BNABFJBODGE) ProtoMessage() {} + +func (x *Unk2700_BNABFJBODGE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BNABFJBODGE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BNABFJBODGE.ProtoReflect.Descriptor instead. +func (*Unk2700_BNABFJBODGE) Descriptor() ([]byte, []int) { + return file_Unk2700_BNABFJBODGE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BNABFJBODGE) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_BNABFJBODGE) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *Unk2700_BNABFJBODGE) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *Unk2700_BNABFJBODGE) GetUnk2700_AIKKJGOLLHK() uint32 { + if x != nil { + return x.Unk2700_AIKKJGOLLHK + } + return 0 +} + +var File_Unk2700_BNABFJBODGE_proto protoreflect.FileDescriptor + +var file_Unk2700_BNABFJBODGE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x41, 0x42, 0x46, 0x4a, + 0x42, 0x4f, 0x44, 0x47, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x41, 0x42, 0x46, 0x4a, 0x42, 0x4f, + 0x44, 0x47, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4b, 0x4b, 0x4a, 0x47, 0x4f, 0x4c, + 0x4c, 0x48, 0x4b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x41, 0x49, 0x4b, 0x4b, 0x4a, 0x47, 0x4f, 0x4c, 0x4c, 0x48, 0x4b, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_BNABFJBODGE_proto_rawDescOnce sync.Once + file_Unk2700_BNABFJBODGE_proto_rawDescData = file_Unk2700_BNABFJBODGE_proto_rawDesc +) + +func file_Unk2700_BNABFJBODGE_proto_rawDescGZIP() []byte { + file_Unk2700_BNABFJBODGE_proto_rawDescOnce.Do(func() { + file_Unk2700_BNABFJBODGE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BNABFJBODGE_proto_rawDescData) + }) + return file_Unk2700_BNABFJBODGE_proto_rawDescData +} + +var file_Unk2700_BNABFJBODGE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BNABFJBODGE_proto_goTypes = []interface{}{ + (*Unk2700_BNABFJBODGE)(nil), // 0: Unk2700_BNABFJBODGE +} +var file_Unk2700_BNABFJBODGE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BNABFJBODGE_proto_init() } +func file_Unk2700_BNABFJBODGE_proto_init() { + if File_Unk2700_BNABFJBODGE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BNABFJBODGE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BNABFJBODGE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BNABFJBODGE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BNABFJBODGE_proto_goTypes, + DependencyIndexes: file_Unk2700_BNABFJBODGE_proto_depIdxs, + MessageInfos: file_Unk2700_BNABFJBODGE_proto_msgTypes, + }.Build() + File_Unk2700_BNABFJBODGE_proto = out.File + file_Unk2700_BNABFJBODGE_proto_rawDesc = nil + file_Unk2700_BNABFJBODGE_proto_goTypes = nil + file_Unk2700_BNABFJBODGE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.proto b/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.proto new file mode 100644 index 00000000..21959070 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNABFJBODGE.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BNABFJBODGE { + uint32 stage_id = 12; + uint32 skill_id = 11; + uint32 challenge_id = 10; + uint32 Unk2700_AIKKJGOLLHK = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.pb.go b/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.pb.go new file mode 100644 index 00000000..6f1e1163 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BNCBHLOKDCD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BNCBHLOKDCD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Num uint32 `protobuf:"varint,10,opt,name=num,proto3" json:"num,omitempty"` +} + +func (x *Unk2700_BNCBHLOKDCD) Reset() { + *x = Unk2700_BNCBHLOKDCD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BNCBHLOKDCD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BNCBHLOKDCD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BNCBHLOKDCD) ProtoMessage() {} + +func (x *Unk2700_BNCBHLOKDCD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BNCBHLOKDCD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BNCBHLOKDCD.ProtoReflect.Descriptor instead. +func (*Unk2700_BNCBHLOKDCD) Descriptor() ([]byte, []int) { + return file_Unk2700_BNCBHLOKDCD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BNCBHLOKDCD) GetNum() uint32 { + if x != nil { + return x.Num + } + return 0 +} + +var File_Unk2700_BNCBHLOKDCD_proto protoreflect.FileDescriptor + +var file_Unk2700_BNCBHLOKDCD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x43, 0x42, 0x48, 0x4c, + 0x4f, 0x4b, 0x44, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x43, 0x42, 0x48, 0x4c, 0x4f, 0x4b, 0x44, + 0x43, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BNCBHLOKDCD_proto_rawDescOnce sync.Once + file_Unk2700_BNCBHLOKDCD_proto_rawDescData = file_Unk2700_BNCBHLOKDCD_proto_rawDesc +) + +func file_Unk2700_BNCBHLOKDCD_proto_rawDescGZIP() []byte { + file_Unk2700_BNCBHLOKDCD_proto_rawDescOnce.Do(func() { + file_Unk2700_BNCBHLOKDCD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BNCBHLOKDCD_proto_rawDescData) + }) + return file_Unk2700_BNCBHLOKDCD_proto_rawDescData +} + +var file_Unk2700_BNCBHLOKDCD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BNCBHLOKDCD_proto_goTypes = []interface{}{ + (*Unk2700_BNCBHLOKDCD)(nil), // 0: Unk2700_BNCBHLOKDCD +} +var file_Unk2700_BNCBHLOKDCD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BNCBHLOKDCD_proto_init() } +func file_Unk2700_BNCBHLOKDCD_proto_init() { + if File_Unk2700_BNCBHLOKDCD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BNCBHLOKDCD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BNCBHLOKDCD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BNCBHLOKDCD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BNCBHLOKDCD_proto_goTypes, + DependencyIndexes: file_Unk2700_BNCBHLOKDCD_proto_depIdxs, + MessageInfos: file_Unk2700_BNCBHLOKDCD_proto_msgTypes, + }.Build() + File_Unk2700_BNCBHLOKDCD_proto = out.File + file_Unk2700_BNCBHLOKDCD_proto_rawDesc = nil + file_Unk2700_BNCBHLOKDCD_proto_goTypes = nil + file_Unk2700_BNCBHLOKDCD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.proto b/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.proto new file mode 100644 index 00000000..2f404090 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNCBHLOKDCD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BNCBHLOKDCD { + uint32 num = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.pb.go b/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.pb.go new file mode 100644 index 00000000..afc26353 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.pb.go @@ -0,0 +1,256 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BNMDCEKPDMC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8641 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BNMDCEKPDMC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,8,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_KIFPKPGKJCA []uint32 `protobuf:"varint,14,rep,packed,name=Unk2700_KIFPKPGKJCA,json=Unk2700KIFPKPGKJCA,proto3" json:"Unk2700_KIFPKPGKJCA,omitempty"` + AvatarList []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,13,rep,name=avatar_list,json=avatarList,proto3" json:"avatar_list,omitempty"` + Unk2700_AAGBIFHNNPP []*Unk2700_BJJOMPDLNAL `protobuf:"bytes,2,rep,name=Unk2700_AAGBIFHNNPP,json=Unk2700AAGBIFHNNPP,proto3" json:"Unk2700_AAGBIFHNNPP,omitempty"` + Unk2700_GGNBBHMGLAN []uint32 `protobuf:"varint,10,rep,packed,name=Unk2700_GGNBBHMGLAN,json=Unk2700GGNBBHMGLAN,proto3" json:"Unk2700_GGNBBHMGLAN,omitempty"` + Unk2700_PLHIJIHFNDL []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,9,rep,name=Unk2700_PLHIJIHFNDL,json=Unk2700PLHIJIHFNDL,proto3" json:"Unk2700_PLHIJIHFNDL,omitempty"` + Unk2700_OKGKHPCMNMN []uint32 `protobuf:"varint,15,rep,packed,name=Unk2700_OKGKHPCMNMN,json=Unk2700OKGKHPCMNMN,proto3" json:"Unk2700_OKGKHPCMNMN,omitempty"` + Unk2700_BBGHICEDLBB []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,11,rep,name=Unk2700_BBGHICEDLBB,json=Unk2700BBGHICEDLBB,proto3" json:"Unk2700_BBGHICEDLBB,omitempty"` +} + +func (x *Unk2700_BNMDCEKPDMC) Reset() { + *x = Unk2700_BNMDCEKPDMC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BNMDCEKPDMC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BNMDCEKPDMC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BNMDCEKPDMC) ProtoMessage() {} + +func (x *Unk2700_BNMDCEKPDMC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BNMDCEKPDMC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BNMDCEKPDMC.ProtoReflect.Descriptor instead. +func (*Unk2700_BNMDCEKPDMC) Descriptor() ([]byte, []int) { + return file_Unk2700_BNMDCEKPDMC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BNMDCEKPDMC) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_KIFPKPGKJCA() []uint32 { + if x != nil { + return x.Unk2700_KIFPKPGKJCA + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetAvatarList() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.AvatarList + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_AAGBIFHNNPP() []*Unk2700_BJJOMPDLNAL { + if x != nil { + return x.Unk2700_AAGBIFHNNPP + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_GGNBBHMGLAN() []uint32 { + if x != nil { + return x.Unk2700_GGNBBHMGLAN + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_PLHIJIHFNDL() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_PLHIJIHFNDL + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_OKGKHPCMNMN() []uint32 { + if x != nil { + return x.Unk2700_OKGKHPCMNMN + } + return nil +} + +func (x *Unk2700_BNMDCEKPDMC) GetUnk2700_BBGHICEDLBB() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_BBGHICEDLBB + } + return nil +} + +var File_Unk2700_BNMDCEKPDMC_proto protoreflect.FileDescriptor + +var file_Unk2700_BNMDCEKPDMC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x4d, 0x44, 0x43, 0x45, + 0x4b, 0x50, 0x44, 0x4d, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, 0x50, 0x44, 0x4c, 0x4e, 0x41, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xcf, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, + 0x4d, 0x44, 0x43, 0x45, 0x4b, 0x50, 0x44, 0x4d, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x49, 0x46, 0x50, 0x4b, 0x50, 0x47, 0x4b, 0x4a, 0x43, 0x41, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x49, 0x46, 0x50, 0x4b, 0x50, + 0x47, 0x4b, 0x4a, 0x43, 0x41, 0x12, 0x35, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x47, 0x42, 0x49, 0x46, 0x48, 0x4e, + 0x4e, 0x50, 0x50, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, 0x50, 0x44, 0x4c, 0x4e, 0x41, 0x4c, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x41, 0x47, 0x42, 0x49, 0x46, 0x48, 0x4e, + 0x4e, 0x50, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x47, 0x4e, 0x42, 0x42, 0x48, 0x4d, 0x47, 0x4c, 0x41, 0x4e, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x47, 0x4e, 0x42, 0x42, 0x48, 0x4d, + 0x47, 0x4c, 0x41, 0x4e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x4c, 0x48, 0x49, 0x4a, 0x49, 0x48, 0x46, 0x4e, 0x44, 0x4c, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, + 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x50, 0x4c, 0x48, 0x49, 0x4a, 0x49, 0x48, 0x46, 0x4e, 0x44, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, 0x43, 0x4d, 0x4e, + 0x4d, 0x4e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, 0x43, 0x4d, 0x4e, 0x4d, 0x4e, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x47, 0x48, 0x49, 0x43, 0x45, 0x44, + 0x4c, 0x42, 0x42, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x42, 0x47, 0x48, 0x49, 0x43, 0x45, 0x44, + 0x4c, 0x42, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BNMDCEKPDMC_proto_rawDescOnce sync.Once + file_Unk2700_BNMDCEKPDMC_proto_rawDescData = file_Unk2700_BNMDCEKPDMC_proto_rawDesc +) + +func file_Unk2700_BNMDCEKPDMC_proto_rawDescGZIP() []byte { + file_Unk2700_BNMDCEKPDMC_proto_rawDescOnce.Do(func() { + file_Unk2700_BNMDCEKPDMC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BNMDCEKPDMC_proto_rawDescData) + }) + return file_Unk2700_BNMDCEKPDMC_proto_rawDescData +} + +var file_Unk2700_BNMDCEKPDMC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BNMDCEKPDMC_proto_goTypes = []interface{}{ + (*Unk2700_BNMDCEKPDMC)(nil), // 0: Unk2700_BNMDCEKPDMC + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH + (*Unk2700_BJJOMPDLNAL)(nil), // 2: Unk2700_BJJOMPDLNAL +} +var file_Unk2700_BNMDCEKPDMC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_BNMDCEKPDMC.avatar_list:type_name -> Unk2700_HJLFNKLPFBH + 2, // 1: Unk2700_BNMDCEKPDMC.Unk2700_AAGBIFHNNPP:type_name -> Unk2700_BJJOMPDLNAL + 1, // 2: Unk2700_BNMDCEKPDMC.Unk2700_PLHIJIHFNDL:type_name -> Unk2700_HJLFNKLPFBH + 1, // 3: Unk2700_BNMDCEKPDMC.Unk2700_BBGHICEDLBB:type_name -> Unk2700_HJLFNKLPFBH + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk2700_BNMDCEKPDMC_proto_init() } +func file_Unk2700_BNMDCEKPDMC_proto_init() { + if File_Unk2700_BNMDCEKPDMC_proto != nil { + return + } + file_Unk2700_BJJOMPDLNAL_proto_init() + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_BNMDCEKPDMC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BNMDCEKPDMC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BNMDCEKPDMC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BNMDCEKPDMC_proto_goTypes, + DependencyIndexes: file_Unk2700_BNMDCEKPDMC_proto_depIdxs, + MessageInfos: file_Unk2700_BNMDCEKPDMC_proto_msgTypes, + }.Build() + File_Unk2700_BNMDCEKPDMC_proto = out.File + file_Unk2700_BNMDCEKPDMC_proto_rawDesc = nil + file_Unk2700_BNMDCEKPDMC_proto_goTypes = nil + file_Unk2700_BNMDCEKPDMC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.proto b/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.proto new file mode 100644 index 00000000..3ab2146d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BNMDCEKPDMC.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BJJOMPDLNAL.proto"; +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8641 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BNMDCEKPDMC { + uint32 stage_id = 8; + repeated uint32 Unk2700_KIFPKPGKJCA = 14; + repeated Unk2700_HJLFNKLPFBH avatar_list = 13; + repeated Unk2700_BJJOMPDLNAL Unk2700_AAGBIFHNNPP = 2; + repeated uint32 Unk2700_GGNBBHMGLAN = 10; + repeated Unk2700_HJLFNKLPFBH Unk2700_PLHIJIHFNDL = 9; + repeated uint32 Unk2700_OKGKHPCMNMN = 15; + repeated Unk2700_HJLFNKLPFBH Unk2700_BBGHICEDLBB = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.pb.go b/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.pb.go new file mode 100644 index 00000000..65f75577 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BOEHCEAAKKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8921 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BOEHCEAAKKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CKGJEOOKFIF uint32 `protobuf:"varint,15,opt,name=Unk2700_CKGJEOOKFIF,json=Unk2700CKGJEOOKFIF,proto3" json:"Unk2700_CKGJEOOKFIF,omitempty"` + Unk2700_ADNAKNMDMGG uint32 `protobuf:"varint,2,opt,name=Unk2700_ADNAKNMDMGG,json=Unk2700ADNAKNMDMGG,proto3" json:"Unk2700_ADNAKNMDMGG,omitempty"` + IsSucc bool `protobuf:"varint,5,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"` +} + +func (x *Unk2700_BOEHCEAAKKA) Reset() { + *x = Unk2700_BOEHCEAAKKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BOEHCEAAKKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BOEHCEAAKKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BOEHCEAAKKA) ProtoMessage() {} + +func (x *Unk2700_BOEHCEAAKKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BOEHCEAAKKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BOEHCEAAKKA.ProtoReflect.Descriptor instead. +func (*Unk2700_BOEHCEAAKKA) Descriptor() ([]byte, []int) { + return file_Unk2700_BOEHCEAAKKA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BOEHCEAAKKA) GetUnk2700_CKGJEOOKFIF() uint32 { + if x != nil { + return x.Unk2700_CKGJEOOKFIF + } + return 0 +} + +func (x *Unk2700_BOEHCEAAKKA) GetUnk2700_ADNAKNMDMGG() uint32 { + if x != nil { + return x.Unk2700_ADNAKNMDMGG + } + return 0 +} + +func (x *Unk2700_BOEHCEAAKKA) GetIsSucc() bool { + if x != nil { + return x.IsSucc + } + return false +} + +var File_Unk2700_BOEHCEAAKKA_proto protoreflect.FileDescriptor + +var file_Unk2700_BOEHCEAAKKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x45, 0x48, 0x43, 0x45, + 0x41, 0x41, 0x4b, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x45, 0x48, 0x43, 0x45, 0x41, 0x41, + 0x4b, 0x4b, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, + 0x4b, 0x46, 0x49, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x41, 0x44, 0x4e, 0x41, 0x4b, 0x4e, 0x4d, 0x44, 0x4d, 0x47, 0x47, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x44, 0x4e, 0x41, 0x4b, 0x4e, + 0x4d, 0x44, 0x4d, 0x47, 0x47, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_BOEHCEAAKKA_proto_rawDescOnce sync.Once + file_Unk2700_BOEHCEAAKKA_proto_rawDescData = file_Unk2700_BOEHCEAAKKA_proto_rawDesc +) + +func file_Unk2700_BOEHCEAAKKA_proto_rawDescGZIP() []byte { + file_Unk2700_BOEHCEAAKKA_proto_rawDescOnce.Do(func() { + file_Unk2700_BOEHCEAAKKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BOEHCEAAKKA_proto_rawDescData) + }) + return file_Unk2700_BOEHCEAAKKA_proto_rawDescData +} + +var file_Unk2700_BOEHCEAAKKA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BOEHCEAAKKA_proto_goTypes = []interface{}{ + (*Unk2700_BOEHCEAAKKA)(nil), // 0: Unk2700_BOEHCEAAKKA +} +var file_Unk2700_BOEHCEAAKKA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BOEHCEAAKKA_proto_init() } +func file_Unk2700_BOEHCEAAKKA_proto_init() { + if File_Unk2700_BOEHCEAAKKA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BOEHCEAAKKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BOEHCEAAKKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BOEHCEAAKKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BOEHCEAAKKA_proto_goTypes, + DependencyIndexes: file_Unk2700_BOEHCEAAKKA_proto_depIdxs, + MessageInfos: file_Unk2700_BOEHCEAAKKA_proto_msgTypes, + }.Build() + File_Unk2700_BOEHCEAAKKA_proto = out.File + file_Unk2700_BOEHCEAAKKA_proto_rawDesc = nil + file_Unk2700_BOEHCEAAKKA_proto_goTypes = nil + file_Unk2700_BOEHCEAAKKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.proto b/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.proto new file mode 100644 index 00000000..2443bca6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BOEHCEAAKKA.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8921 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BOEHCEAAKKA { + uint32 Unk2700_CKGJEOOKFIF = 15; + uint32 Unk2700_ADNAKNMDMGG = 2; + bool is_succ = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.pb.go b/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.pb.go new file mode 100644 index 00000000..dd83c928 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BOPIJJPNHCK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8590 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BOPIJJPNHCK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_BOPIJJPNHCK) Reset() { + *x = Unk2700_BOPIJJPNHCK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BOPIJJPNHCK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BOPIJJPNHCK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BOPIJJPNHCK) ProtoMessage() {} + +func (x *Unk2700_BOPIJJPNHCK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BOPIJJPNHCK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BOPIJJPNHCK.ProtoReflect.Descriptor instead. +func (*Unk2700_BOPIJJPNHCK) Descriptor() ([]byte, []int) { + return file_Unk2700_BOPIJJPNHCK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BOPIJJPNHCK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_BOPIJJPNHCK_proto protoreflect.FileDescriptor + +var file_Unk2700_BOPIJJPNHCK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x50, 0x49, 0x4a, 0x4a, + 0x50, 0x4e, 0x48, 0x43, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x50, 0x49, 0x4a, 0x4a, 0x50, 0x4e, 0x48, + 0x43, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BOPIJJPNHCK_proto_rawDescOnce sync.Once + file_Unk2700_BOPIJJPNHCK_proto_rawDescData = file_Unk2700_BOPIJJPNHCK_proto_rawDesc +) + +func file_Unk2700_BOPIJJPNHCK_proto_rawDescGZIP() []byte { + file_Unk2700_BOPIJJPNHCK_proto_rawDescOnce.Do(func() { + file_Unk2700_BOPIJJPNHCK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BOPIJJPNHCK_proto_rawDescData) + }) + return file_Unk2700_BOPIJJPNHCK_proto_rawDescData +} + +var file_Unk2700_BOPIJJPNHCK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BOPIJJPNHCK_proto_goTypes = []interface{}{ + (*Unk2700_BOPIJJPNHCK)(nil), // 0: Unk2700_BOPIJJPNHCK +} +var file_Unk2700_BOPIJJPNHCK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BOPIJJPNHCK_proto_init() } +func file_Unk2700_BOPIJJPNHCK_proto_init() { + if File_Unk2700_BOPIJJPNHCK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BOPIJJPNHCK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BOPIJJPNHCK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BOPIJJPNHCK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BOPIJJPNHCK_proto_goTypes, + DependencyIndexes: file_Unk2700_BOPIJJPNHCK_proto_depIdxs, + MessageInfos: file_Unk2700_BOPIJJPNHCK_proto_msgTypes, + }.Build() + File_Unk2700_BOPIJJPNHCK_proto = out.File + file_Unk2700_BOPIJJPNHCK_proto_rawDesc = nil + file_Unk2700_BOPIJJPNHCK_proto_goTypes = nil + file_Unk2700_BOPIJJPNHCK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.proto b/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.proto new file mode 100644 index 00000000..d48579d2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BOPIJJPNHCK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8590 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BOPIJJPNHCK { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.pb.go b/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.pb.go new file mode 100644 index 00000000..923f256b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BPFNCHEFKJM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8449 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_BPFNCHEFKJM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_BPFNCHEFKJM) Reset() { + *x = Unk2700_BPFNCHEFKJM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BPFNCHEFKJM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BPFNCHEFKJM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BPFNCHEFKJM) ProtoMessage() {} + +func (x *Unk2700_BPFNCHEFKJM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BPFNCHEFKJM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BPFNCHEFKJM.ProtoReflect.Descriptor instead. +func (*Unk2700_BPFNCHEFKJM) Descriptor() ([]byte, []int) { + return file_Unk2700_BPFNCHEFKJM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_BPFNCHEFKJM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_BPFNCHEFKJM_proto protoreflect.FileDescriptor + +var file_Unk2700_BPFNCHEFKJM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x46, 0x4e, 0x43, 0x48, + 0x45, 0x46, 0x4b, 0x4a, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x46, 0x4e, 0x43, 0x48, 0x45, 0x46, 0x4b, + 0x4a, 0x4d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BPFNCHEFKJM_proto_rawDescOnce sync.Once + file_Unk2700_BPFNCHEFKJM_proto_rawDescData = file_Unk2700_BPFNCHEFKJM_proto_rawDesc +) + +func file_Unk2700_BPFNCHEFKJM_proto_rawDescGZIP() []byte { + file_Unk2700_BPFNCHEFKJM_proto_rawDescOnce.Do(func() { + file_Unk2700_BPFNCHEFKJM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BPFNCHEFKJM_proto_rawDescData) + }) + return file_Unk2700_BPFNCHEFKJM_proto_rawDescData +} + +var file_Unk2700_BPFNCHEFKJM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BPFNCHEFKJM_proto_goTypes = []interface{}{ + (*Unk2700_BPFNCHEFKJM)(nil), // 0: Unk2700_BPFNCHEFKJM +} +var file_Unk2700_BPFNCHEFKJM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BPFNCHEFKJM_proto_init() } +func file_Unk2700_BPFNCHEFKJM_proto_init() { + if File_Unk2700_BPFNCHEFKJM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BPFNCHEFKJM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BPFNCHEFKJM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BPFNCHEFKJM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BPFNCHEFKJM_proto_goTypes, + DependencyIndexes: file_Unk2700_BPFNCHEFKJM_proto_depIdxs, + MessageInfos: file_Unk2700_BPFNCHEFKJM_proto_msgTypes, + }.Build() + File_Unk2700_BPFNCHEFKJM_proto = out.File + file_Unk2700_BPFNCHEFKJM_proto_rawDesc = nil + file_Unk2700_BPFNCHEFKJM_proto_goTypes = nil + file_Unk2700_BPFNCHEFKJM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.proto b/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.proto new file mode 100644 index 00000000..ab378d8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BPFNCHEFKJM.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8449 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_BPFNCHEFKJM { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.pb.go b/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.pb.go new file mode 100644 index 00000000..81a71e41 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_BPPDLOJLAAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8280 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_BPPDLOJLAAO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_BPPDLOJLAAO) Reset() { + *x = Unk2700_BPPDLOJLAAO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_BPPDLOJLAAO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_BPPDLOJLAAO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_BPPDLOJLAAO) ProtoMessage() {} + +func (x *Unk2700_BPPDLOJLAAO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_BPPDLOJLAAO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_BPPDLOJLAAO.ProtoReflect.Descriptor instead. +func (*Unk2700_BPPDLOJLAAO) Descriptor() ([]byte, []int) { + return file_Unk2700_BPPDLOJLAAO_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_BPPDLOJLAAO_proto protoreflect.FileDescriptor + +var file_Unk2700_BPPDLOJLAAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x50, 0x44, 0x4c, 0x4f, + 0x4a, 0x4c, 0x41, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x50, 0x44, 0x4c, 0x4f, 0x4a, 0x4c, 0x41, + 0x41, 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_BPPDLOJLAAO_proto_rawDescOnce sync.Once + file_Unk2700_BPPDLOJLAAO_proto_rawDescData = file_Unk2700_BPPDLOJLAAO_proto_rawDesc +) + +func file_Unk2700_BPPDLOJLAAO_proto_rawDescGZIP() []byte { + file_Unk2700_BPPDLOJLAAO_proto_rawDescOnce.Do(func() { + file_Unk2700_BPPDLOJLAAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_BPPDLOJLAAO_proto_rawDescData) + }) + return file_Unk2700_BPPDLOJLAAO_proto_rawDescData +} + +var file_Unk2700_BPPDLOJLAAO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_BPPDLOJLAAO_proto_goTypes = []interface{}{ + (*Unk2700_BPPDLOJLAAO)(nil), // 0: Unk2700_BPPDLOJLAAO +} +var file_Unk2700_BPPDLOJLAAO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_BPPDLOJLAAO_proto_init() } +func file_Unk2700_BPPDLOJLAAO_proto_init() { + if File_Unk2700_BPPDLOJLAAO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_BPPDLOJLAAO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_BPPDLOJLAAO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_BPPDLOJLAAO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_BPPDLOJLAAO_proto_goTypes, + DependencyIndexes: file_Unk2700_BPPDLOJLAAO_proto_depIdxs, + MessageInfos: file_Unk2700_BPPDLOJLAAO_proto_msgTypes, + }.Build() + File_Unk2700_BPPDLOJLAAO_proto = out.File + file_Unk2700_BPPDLOJLAAO_proto_rawDesc = nil + file_Unk2700_BPPDLOJLAAO_proto_goTypes = nil + file_Unk2700_BPPDLOJLAAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.proto b/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.proto new file mode 100644 index 00000000..5afae7ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_BPPDLOJLAAO.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8280 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_BPPDLOJLAAO {} diff --git a/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.pb.go b/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.pb.go new file mode 100644 index 00000000..28be0e2c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CALNMMBNKFD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8502 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CALNMMBNKFD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GHDHIBDLFPN *Unk2700_AIMMLILLOKB `protobuf:"bytes,4,opt,name=Unk2700_GHDHIBDLFPN,json=Unk2700GHDHIBDLFPN,proto3" json:"Unk2700_GHDHIBDLFPN,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_CALNMMBNKFD) Reset() { + *x = Unk2700_CALNMMBNKFD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CALNMMBNKFD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CALNMMBNKFD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CALNMMBNKFD) ProtoMessage() {} + +func (x *Unk2700_CALNMMBNKFD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CALNMMBNKFD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CALNMMBNKFD.ProtoReflect.Descriptor instead. +func (*Unk2700_CALNMMBNKFD) Descriptor() ([]byte, []int) { + return file_Unk2700_CALNMMBNKFD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CALNMMBNKFD) GetUnk2700_GHDHIBDLFPN() *Unk2700_AIMMLILLOKB { + if x != nil { + return x.Unk2700_GHDHIBDLFPN + } + return nil +} + +func (x *Unk2700_CALNMMBNKFD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_CALNMMBNKFD) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_CALNMMBNKFD_proto protoreflect.FileDescriptor + +var file_Unk2700_CALNMMBNKFD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x41, 0x4c, 0x4e, 0x4d, 0x4d, + 0x42, 0x4e, 0x4b, 0x46, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, 0x4c, 0x4c, 0x4f, 0x4b, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x43, 0x41, 0x4c, 0x4e, 0x4d, 0x4d, 0x42, 0x4e, 0x4b, 0x46, 0x44, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x44, 0x48, 0x49, 0x42, + 0x44, 0x4c, 0x46, 0x50, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, 0x4c, 0x4c, 0x4f, 0x4b, + 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x48, 0x44, 0x48, 0x49, 0x42, + 0x44, 0x4c, 0x46, 0x50, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CALNMMBNKFD_proto_rawDescOnce sync.Once + file_Unk2700_CALNMMBNKFD_proto_rawDescData = file_Unk2700_CALNMMBNKFD_proto_rawDesc +) + +func file_Unk2700_CALNMMBNKFD_proto_rawDescGZIP() []byte { + file_Unk2700_CALNMMBNKFD_proto_rawDescOnce.Do(func() { + file_Unk2700_CALNMMBNKFD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CALNMMBNKFD_proto_rawDescData) + }) + return file_Unk2700_CALNMMBNKFD_proto_rawDescData +} + +var file_Unk2700_CALNMMBNKFD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CALNMMBNKFD_proto_goTypes = []interface{}{ + (*Unk2700_CALNMMBNKFD)(nil), // 0: Unk2700_CALNMMBNKFD + (*Unk2700_AIMMLILLOKB)(nil), // 1: Unk2700_AIMMLILLOKB +} +var file_Unk2700_CALNMMBNKFD_proto_depIdxs = []int32{ + 1, // 0: Unk2700_CALNMMBNKFD.Unk2700_GHDHIBDLFPN:type_name -> Unk2700_AIMMLILLOKB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_CALNMMBNKFD_proto_init() } +func file_Unk2700_CALNMMBNKFD_proto_init() { + if File_Unk2700_CALNMMBNKFD_proto != nil { + return + } + file_Unk2700_AIMMLILLOKB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_CALNMMBNKFD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CALNMMBNKFD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CALNMMBNKFD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CALNMMBNKFD_proto_goTypes, + DependencyIndexes: file_Unk2700_CALNMMBNKFD_proto_depIdxs, + MessageInfos: file_Unk2700_CALNMMBNKFD_proto_msgTypes, + }.Build() + File_Unk2700_CALNMMBNKFD_proto = out.File + file_Unk2700_CALNMMBNKFD_proto_rawDesc = nil + file_Unk2700_CALNMMBNKFD_proto_goTypes = nil + file_Unk2700_CALNMMBNKFD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.proto b/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.proto new file mode 100644 index 00000000..4ac16654 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CALNMMBNKFD.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AIMMLILLOKB.proto"; + +option go_package = "./;proto"; + +// CmdId: 8502 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CALNMMBNKFD { + Unk2700_AIMMLILLOKB Unk2700_GHDHIBDLFPN = 4; + int32 retcode = 11; + uint32 schedule_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.pb.go b/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.pb.go new file mode 100644 index 00000000..740e263b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CAODHBDOGNE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CAODHBDOGNE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_HIMJICENGCC []uint32 `protobuf:"varint,15,rep,packed,name=Unk2700_HIMJICENGCC,json=Unk2700HIMJICENGCC,proto3" json:"Unk2700_HIMJICENGCC,omitempty"` + Time uint32 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` + Unk2700_COOCEOOMMKC uint32 `protobuf:"varint,5,opt,name=Unk2700_COOCEOOMMKC,json=Unk2700COOCEOOMMKC,proto3" json:"Unk2700_COOCEOOMMKC,omitempty"` + Unk2700_PPEBOKBCPLE uint32 `protobuf:"varint,6,opt,name=Unk2700_PPEBOKBCPLE,json=Unk2700PPEBOKBCPLE,proto3" json:"Unk2700_PPEBOKBCPLE,omitempty"` + Coin uint32 `protobuf:"varint,11,opt,name=coin,proto3" json:"coin,omitempty"` + Difficulty uint32 `protobuf:"varint,8,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + DungeonId uint32 `protobuf:"varint,14,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_AAGBIFHNNPP []*Unk2700_BJJOMPDLNAL `protobuf:"bytes,7,rep,name=Unk2700_AAGBIFHNNPP,json=Unk2700AAGBIFHNNPP,proto3" json:"Unk2700_AAGBIFHNNPP,omitempty"` + Unk2700_ALMOAMMNNGP []uint32 `protobuf:"varint,10,rep,packed,name=Unk2700_ALMOAMMNNGP,json=Unk2700ALMOAMMNNGP,proto3" json:"Unk2700_ALMOAMMNNGP,omitempty"` +} + +func (x *Unk2700_CAODHBDOGNE) Reset() { + *x = Unk2700_CAODHBDOGNE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CAODHBDOGNE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CAODHBDOGNE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CAODHBDOGNE) ProtoMessage() {} + +func (x *Unk2700_CAODHBDOGNE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CAODHBDOGNE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CAODHBDOGNE.ProtoReflect.Descriptor instead. +func (*Unk2700_CAODHBDOGNE) Descriptor() ([]byte, []int) { + return file_Unk2700_CAODHBDOGNE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CAODHBDOGNE) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetUnk2700_HIMJICENGCC() []uint32 { + if x != nil { + return x.Unk2700_HIMJICENGCC + } + return nil +} + +func (x *Unk2700_CAODHBDOGNE) GetTime() uint32 { + if x != nil { + return x.Time + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetUnk2700_COOCEOOMMKC() uint32 { + if x != nil { + return x.Unk2700_COOCEOOMMKC + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetUnk2700_PPEBOKBCPLE() uint32 { + if x != nil { + return x.Unk2700_PPEBOKBCPLE + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_CAODHBDOGNE) GetUnk2700_AAGBIFHNNPP() []*Unk2700_BJJOMPDLNAL { + if x != nil { + return x.Unk2700_AAGBIFHNNPP + } + return nil +} + +func (x *Unk2700_CAODHBDOGNE) GetUnk2700_ALMOAMMNNGP() []uint32 { + if x != nil { + return x.Unk2700_ALMOAMMNNGP + } + return nil +} + +var File_Unk2700_CAODHBDOGNE_proto protoreflect.FileDescriptor + +var file_Unk2700_CAODHBDOGNE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x41, 0x4f, 0x44, 0x48, 0x42, + 0x44, 0x4f, 0x47, 0x4e, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, 0x50, 0x44, 0x4c, 0x4e, 0x41, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x43, 0x41, 0x4f, 0x44, 0x48, 0x42, 0x44, 0x4f, 0x47, 0x4e, 0x45, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x4d, 0x4a, 0x49, 0x43, 0x45, 0x4e, 0x47, 0x43, 0x43, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x49, 0x4d, 0x4a, 0x49, 0x43, 0x45, 0x4e, 0x47, 0x43, 0x43, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x4f, 0x43, 0x45, 0x4f, + 0x4f, 0x4d, 0x4d, 0x4b, 0x43, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x4f, 0x43, 0x45, 0x4f, 0x4f, 0x4d, 0x4d, 0x4b, 0x43, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x45, 0x42, 0x4f, + 0x4b, 0x42, 0x43, 0x50, 0x4c, 0x45, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x50, 0x45, 0x42, 0x4f, 0x4b, 0x42, 0x43, 0x50, 0x4c, 0x45, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, + 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x41, 0x47, 0x42, 0x49, 0x46, 0x48, 0x4e, 0x4e, 0x50, 0x50, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4a, 0x4f, 0x4d, + 0x50, 0x44, 0x4c, 0x4e, 0x41, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, + 0x41, 0x47, 0x42, 0x49, 0x46, 0x48, 0x4e, 0x4e, 0x50, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x4d, 0x4f, 0x41, 0x4d, 0x4d, 0x4e, 0x4e, 0x47, + 0x50, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x41, 0x4c, 0x4d, 0x4f, 0x41, 0x4d, 0x4d, 0x4e, 0x4e, 0x47, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CAODHBDOGNE_proto_rawDescOnce sync.Once + file_Unk2700_CAODHBDOGNE_proto_rawDescData = file_Unk2700_CAODHBDOGNE_proto_rawDesc +) + +func file_Unk2700_CAODHBDOGNE_proto_rawDescGZIP() []byte { + file_Unk2700_CAODHBDOGNE_proto_rawDescOnce.Do(func() { + file_Unk2700_CAODHBDOGNE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CAODHBDOGNE_proto_rawDescData) + }) + return file_Unk2700_CAODHBDOGNE_proto_rawDescData +} + +var file_Unk2700_CAODHBDOGNE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CAODHBDOGNE_proto_goTypes = []interface{}{ + (*Unk2700_CAODHBDOGNE)(nil), // 0: Unk2700_CAODHBDOGNE + (*Unk2700_BJJOMPDLNAL)(nil), // 1: Unk2700_BJJOMPDLNAL +} +var file_Unk2700_CAODHBDOGNE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_CAODHBDOGNE.Unk2700_AAGBIFHNNPP:type_name -> Unk2700_BJJOMPDLNAL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_CAODHBDOGNE_proto_init() } +func file_Unk2700_CAODHBDOGNE_proto_init() { + if File_Unk2700_CAODHBDOGNE_proto != nil { + return + } + file_Unk2700_BJJOMPDLNAL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_CAODHBDOGNE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CAODHBDOGNE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CAODHBDOGNE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CAODHBDOGNE_proto_goTypes, + DependencyIndexes: file_Unk2700_CAODHBDOGNE_proto_depIdxs, + MessageInfos: file_Unk2700_CAODHBDOGNE_proto_msgTypes, + }.Build() + File_Unk2700_CAODHBDOGNE_proto = out.File + file_Unk2700_CAODHBDOGNE_proto_rawDesc = nil + file_Unk2700_CAODHBDOGNE_proto_goTypes = nil + file_Unk2700_CAODHBDOGNE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.proto b/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.proto new file mode 100644 index 00000000..cbdf29cb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CAODHBDOGNE.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BJJOMPDLNAL.proto"; + +option go_package = "./;proto"; + +// CmdId: 8597 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CAODHBDOGNE { + uint32 stage_id = 12; + repeated uint32 Unk2700_HIMJICENGCC = 15; + uint32 time = 4; + uint32 Unk2700_COOCEOOMMKC = 5; + uint32 Unk2700_PPEBOKBCPLE = 6; + uint32 coin = 11; + uint32 difficulty = 8; + uint32 dungeon_id = 14; + repeated Unk2700_BJJOMPDLNAL Unk2700_AAGBIFHNNPP = 7; + repeated uint32 Unk2700_ALMOAMMNNGP = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.pb.go b/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.pb.go new file mode 100644 index 00000000..7ebc15d8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CBGOFDNILKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8159 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CBGOFDNILKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_APJPPLAAFEM uint32 `protobuf:"varint,13,opt,name=Unk2700_APJPPLAAFEM,json=Unk2700APJPPLAAFEM,proto3" json:"Unk2700_APJPPLAAFEM,omitempty"` + Unk2700_JGAMIHLFFOI bool `protobuf:"varint,1,opt,name=Unk2700_JGAMIHLFFOI,json=Unk2700JGAMIHLFFOI,proto3" json:"Unk2700_JGAMIHLFFOI,omitempty"` +} + +func (x *Unk2700_CBGOFDNILKA) Reset() { + *x = Unk2700_CBGOFDNILKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CBGOFDNILKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CBGOFDNILKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CBGOFDNILKA) ProtoMessage() {} + +func (x *Unk2700_CBGOFDNILKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CBGOFDNILKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CBGOFDNILKA.ProtoReflect.Descriptor instead. +func (*Unk2700_CBGOFDNILKA) Descriptor() ([]byte, []int) { + return file_Unk2700_CBGOFDNILKA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CBGOFDNILKA) GetUnk2700_APJPPLAAFEM() uint32 { + if x != nil { + return x.Unk2700_APJPPLAAFEM + } + return 0 +} + +func (x *Unk2700_CBGOFDNILKA) GetUnk2700_JGAMIHLFFOI() bool { + if x != nil { + return x.Unk2700_JGAMIHLFFOI + } + return false +} + +var File_Unk2700_CBGOFDNILKA_proto protoreflect.FileDescriptor + +var file_Unk2700_CBGOFDNILKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x47, 0x4f, 0x46, 0x44, + 0x4e, 0x49, 0x4c, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x47, 0x4f, 0x46, 0x44, 0x4e, 0x49, 0x4c, + 0x4b, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x50, + 0x4a, 0x50, 0x50, 0x4c, 0x41, 0x41, 0x46, 0x45, 0x4d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x50, 0x4a, 0x50, 0x50, 0x4c, 0x41, 0x41, + 0x46, 0x45, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x47, 0x41, 0x4d, 0x49, 0x48, 0x4c, 0x46, 0x46, 0x4f, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x47, 0x41, 0x4d, 0x49, 0x48, 0x4c, + 0x46, 0x46, 0x4f, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CBGOFDNILKA_proto_rawDescOnce sync.Once + file_Unk2700_CBGOFDNILKA_proto_rawDescData = file_Unk2700_CBGOFDNILKA_proto_rawDesc +) + +func file_Unk2700_CBGOFDNILKA_proto_rawDescGZIP() []byte { + file_Unk2700_CBGOFDNILKA_proto_rawDescOnce.Do(func() { + file_Unk2700_CBGOFDNILKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CBGOFDNILKA_proto_rawDescData) + }) + return file_Unk2700_CBGOFDNILKA_proto_rawDescData +} + +var file_Unk2700_CBGOFDNILKA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CBGOFDNILKA_proto_goTypes = []interface{}{ + (*Unk2700_CBGOFDNILKA)(nil), // 0: Unk2700_CBGOFDNILKA +} +var file_Unk2700_CBGOFDNILKA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CBGOFDNILKA_proto_init() } +func file_Unk2700_CBGOFDNILKA_proto_init() { + if File_Unk2700_CBGOFDNILKA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CBGOFDNILKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CBGOFDNILKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CBGOFDNILKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CBGOFDNILKA_proto_goTypes, + DependencyIndexes: file_Unk2700_CBGOFDNILKA_proto_depIdxs, + MessageInfos: file_Unk2700_CBGOFDNILKA_proto_msgTypes, + }.Build() + File_Unk2700_CBGOFDNILKA_proto = out.File + file_Unk2700_CBGOFDNILKA_proto_rawDesc = nil + file_Unk2700_CBGOFDNILKA_proto_goTypes = nil + file_Unk2700_CBGOFDNILKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.proto b/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.proto new file mode 100644 index 00000000..70d5e003 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBGOFDNILKA.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8159 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CBGOFDNILKA { + uint32 Unk2700_APJPPLAAFEM = 13; + bool Unk2700_JGAMIHLFFOI = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.pb.go b/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.pb.go new file mode 100644 index 00000000..d066c9f1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CBJEDMGOBPL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CBJEDMGOBPL int32 + +const ( + Unk2700_CBJEDMGOBPL_Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL Unk2700_CBJEDMGOBPL = 0 + Unk2700_CBJEDMGOBPL_Unk2700_CBJEDMGOBPL_Unk2700_ILOMIKADKGD Unk2700_CBJEDMGOBPL = 1 + Unk2700_CBJEDMGOBPL_Unk2700_CBJEDMGOBPL_Unk2700_HGHOEJGHMDH Unk2700_CBJEDMGOBPL = 2 + Unk2700_CBJEDMGOBPL_Unk2700_CBJEDMGOBPL_Unk2700_PJCONIDJGOD Unk2700_CBJEDMGOBPL = 3 +) + +// Enum value maps for Unk2700_CBJEDMGOBPL. +var ( + Unk2700_CBJEDMGOBPL_name = map[int32]string{ + 0: "Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL", + 1: "Unk2700_CBJEDMGOBPL_Unk2700_ILOMIKADKGD", + 2: "Unk2700_CBJEDMGOBPL_Unk2700_HGHOEJGHMDH", + 3: "Unk2700_CBJEDMGOBPL_Unk2700_PJCONIDJGOD", + } + Unk2700_CBJEDMGOBPL_value = map[string]int32{ + "Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL": 0, + "Unk2700_CBJEDMGOBPL_Unk2700_ILOMIKADKGD": 1, + "Unk2700_CBJEDMGOBPL_Unk2700_HGHOEJGHMDH": 2, + "Unk2700_CBJEDMGOBPL_Unk2700_PJCONIDJGOD": 3, + } +) + +func (x Unk2700_CBJEDMGOBPL) Enum() *Unk2700_CBJEDMGOBPL { + p := new(Unk2700_CBJEDMGOBPL) + *p = x + return p +} + +func (x Unk2700_CBJEDMGOBPL) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_CBJEDMGOBPL) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_CBJEDMGOBPL_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_CBJEDMGOBPL) Type() protoreflect.EnumType { + return &file_Unk2700_CBJEDMGOBPL_proto_enumTypes[0] +} + +func (x Unk2700_CBJEDMGOBPL) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_CBJEDMGOBPL.Descriptor instead. +func (Unk2700_CBJEDMGOBPL) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_CBJEDMGOBPL_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_CBJEDMGOBPL_proto protoreflect.FileDescriptor + +var file_Unk2700_CBJEDMGOBPL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, 0x4d, + 0x47, 0x4f, 0x42, 0x50, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, 0x4d, 0x47, 0x4f, + 0x42, 0x50, 0x4c, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x42, 0x4a, 0x45, 0x44, 0x4d, 0x47, 0x4f, 0x42, 0x50, 0x4c, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x4c, 0x44, 0x4c, 0x4a, 0x4f, 0x4b, 0x4c, 0x42, 0x4c, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, + 0x44, 0x4d, 0x47, 0x4f, 0x42, 0x50, 0x4c, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x4c, 0x4f, 0x4d, 0x49, 0x4b, 0x41, 0x44, 0x4b, 0x47, 0x44, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, 0x4d, 0x47, + 0x4f, 0x42, 0x50, 0x4c, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x48, + 0x4f, 0x45, 0x4a, 0x47, 0x48, 0x4d, 0x44, 0x48, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4a, 0x45, 0x44, 0x4d, 0x47, 0x4f, 0x42, 0x50, + 0x4c, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x43, 0x4f, 0x4e, 0x49, + 0x44, 0x4a, 0x47, 0x4f, 0x44, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CBJEDMGOBPL_proto_rawDescOnce sync.Once + file_Unk2700_CBJEDMGOBPL_proto_rawDescData = file_Unk2700_CBJEDMGOBPL_proto_rawDesc +) + +func file_Unk2700_CBJEDMGOBPL_proto_rawDescGZIP() []byte { + file_Unk2700_CBJEDMGOBPL_proto_rawDescOnce.Do(func() { + file_Unk2700_CBJEDMGOBPL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CBJEDMGOBPL_proto_rawDescData) + }) + return file_Unk2700_CBJEDMGOBPL_proto_rawDescData +} + +var file_Unk2700_CBJEDMGOBPL_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_CBJEDMGOBPL_proto_goTypes = []interface{}{ + (Unk2700_CBJEDMGOBPL)(0), // 0: Unk2700_CBJEDMGOBPL +} +var file_Unk2700_CBJEDMGOBPL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CBJEDMGOBPL_proto_init() } +func file_Unk2700_CBJEDMGOBPL_proto_init() { + if File_Unk2700_CBJEDMGOBPL_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CBJEDMGOBPL_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CBJEDMGOBPL_proto_goTypes, + DependencyIndexes: file_Unk2700_CBJEDMGOBPL_proto_depIdxs, + EnumInfos: file_Unk2700_CBJEDMGOBPL_proto_enumTypes, + }.Build() + File_Unk2700_CBJEDMGOBPL_proto = out.File + file_Unk2700_CBJEDMGOBPL_proto_rawDesc = nil + file_Unk2700_CBJEDMGOBPL_proto_goTypes = nil + file_Unk2700_CBJEDMGOBPL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.proto b/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.proto new file mode 100644 index 00000000..bd75365a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBJEDMGOBPL.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_CBJEDMGOBPL { + Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL = 0; + Unk2700_CBJEDMGOBPL_Unk2700_ILOMIKADKGD = 1; + Unk2700_CBJEDMGOBPL_Unk2700_HGHOEJGHMDH = 2; + Unk2700_CBJEDMGOBPL_Unk2700_PJCONIDJGOD = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.pb.go b/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.pb.go new file mode 100644 index 00000000..a414a20c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CBMGMANEDNA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CBMGMANEDNA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MonsterInfoList []*Unk2700_DOGEKCNIIAO `protobuf:"bytes,6,rep,name=monster_info_list,json=monsterInfoList,proto3" json:"monster_info_list,omitempty"` + EntrancePointId uint32 `protobuf:"varint,4,opt,name=entrance_point_id,json=entrancePointId,proto3" json:"entrance_point_id,omitempty"` +} + +func (x *Unk2700_CBMGMANEDNA) Reset() { + *x = Unk2700_CBMGMANEDNA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CBMGMANEDNA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CBMGMANEDNA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CBMGMANEDNA) ProtoMessage() {} + +func (x *Unk2700_CBMGMANEDNA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CBMGMANEDNA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CBMGMANEDNA.ProtoReflect.Descriptor instead. +func (*Unk2700_CBMGMANEDNA) Descriptor() ([]byte, []int) { + return file_Unk2700_CBMGMANEDNA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CBMGMANEDNA) GetMonsterInfoList() []*Unk2700_DOGEKCNIIAO { + if x != nil { + return x.MonsterInfoList + } + return nil +} + +func (x *Unk2700_CBMGMANEDNA) GetEntrancePointId() uint32 { + if x != nil { + return x.EntrancePointId + } + return 0 +} + +var File_Unk2700_CBMGMANEDNA_proto protoreflect.FileDescriptor + +var file_Unk2700_CBMGMANEDNA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4d, 0x47, 0x4d, 0x41, + 0x4e, 0x45, 0x44, 0x4e, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4f, 0x47, 0x45, 0x4b, 0x43, 0x4e, 0x49, 0x49, 0x41, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4d, 0x47, 0x4d, 0x41, 0x4e, 0x45, 0x44, 0x4e, 0x41, 0x12, 0x40, + 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4f, 0x47, 0x45, 0x4b, 0x43, 0x4e, 0x49, 0x49, 0x41, 0x4f, 0x52, + 0x0f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x6e, 0x74, + 0x72, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CBMGMANEDNA_proto_rawDescOnce sync.Once + file_Unk2700_CBMGMANEDNA_proto_rawDescData = file_Unk2700_CBMGMANEDNA_proto_rawDesc +) + +func file_Unk2700_CBMGMANEDNA_proto_rawDescGZIP() []byte { + file_Unk2700_CBMGMANEDNA_proto_rawDescOnce.Do(func() { + file_Unk2700_CBMGMANEDNA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CBMGMANEDNA_proto_rawDescData) + }) + return file_Unk2700_CBMGMANEDNA_proto_rawDescData +} + +var file_Unk2700_CBMGMANEDNA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CBMGMANEDNA_proto_goTypes = []interface{}{ + (*Unk2700_CBMGMANEDNA)(nil), // 0: Unk2700_CBMGMANEDNA + (*Unk2700_DOGEKCNIIAO)(nil), // 1: Unk2700_DOGEKCNIIAO +} +var file_Unk2700_CBMGMANEDNA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_CBMGMANEDNA.monster_info_list:type_name -> Unk2700_DOGEKCNIIAO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_CBMGMANEDNA_proto_init() } +func file_Unk2700_CBMGMANEDNA_proto_init() { + if File_Unk2700_CBMGMANEDNA_proto != nil { + return + } + file_Unk2700_DOGEKCNIIAO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_CBMGMANEDNA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CBMGMANEDNA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CBMGMANEDNA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CBMGMANEDNA_proto_goTypes, + DependencyIndexes: file_Unk2700_CBMGMANEDNA_proto_depIdxs, + MessageInfos: file_Unk2700_CBMGMANEDNA_proto_msgTypes, + }.Build() + File_Unk2700_CBMGMANEDNA_proto = out.File + file_Unk2700_CBMGMANEDNA_proto_rawDesc = nil + file_Unk2700_CBMGMANEDNA_proto_goTypes = nil + file_Unk2700_CBMGMANEDNA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.proto b/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.proto new file mode 100644 index 00000000..16f0e384 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CBMGMANEDNA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DOGEKCNIIAO.proto"; + +option go_package = "./;proto"; + +message Unk2700_CBMGMANEDNA { + repeated Unk2700_DOGEKCNIIAO monster_info_list = 6; + uint32 entrance_point_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.pb.go new file mode 100644 index 00000000..c3047967 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CCCKFHICDHD_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3314 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CCCKFHICDHD_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KPKEIFJJDAO []uint32 `protobuf:"varint,9,rep,packed,name=Unk2700_KPKEIFJJDAO,json=Unk2700KPKEIFJJDAO,proto3" json:"Unk2700_KPKEIFJJDAO,omitempty"` +} + +func (x *Unk2700_CCCKFHICDHD_ClientNotify) Reset() { + *x = Unk2700_CCCKFHICDHD_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CCCKFHICDHD_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CCCKFHICDHD_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CCCKFHICDHD_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_CCCKFHICDHD_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CCCKFHICDHD_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CCCKFHICDHD_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_CCCKFHICDHD_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CCCKFHICDHD_ClientNotify) GetUnk2700_KPKEIFJJDAO() []uint32 { + if x != nil { + return x.Unk2700_KPKEIFJJDAO + } + return nil +} + +var File_Unk2700_CCCKFHICDHD_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x43, 0x4b, 0x46, 0x48, + 0x49, 0x43, 0x44, 0x48, 0x44, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x43, 0x4b, 0x46, 0x48, 0x49, 0x43, 0x44, 0x48, 0x44, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4b, 0x45, 0x49, 0x46, 0x4a, 0x4a, + 0x44, 0x41, 0x4f, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4b, 0x50, 0x4b, 0x45, 0x49, 0x46, 0x4a, 0x4a, 0x44, 0x41, 0x4f, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescData = file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDesc +) + +func file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDescData +} + +var file_Unk2700_CCCKFHICDHD_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CCCKFHICDHD_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_CCCKFHICDHD_ClientNotify)(nil), // 0: Unk2700_CCCKFHICDHD_ClientNotify +} +var file_Unk2700_CCCKFHICDHD_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CCCKFHICDHD_ClientNotify_proto_init() } +func file_Unk2700_CCCKFHICDHD_ClientNotify_proto_init() { + if File_Unk2700_CCCKFHICDHD_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CCCKFHICDHD_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CCCKFHICDHD_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_CCCKFHICDHD_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_CCCKFHICDHD_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_CCCKFHICDHD_ClientNotify_proto = out.File + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_rawDesc = nil + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_goTypes = nil + file_Unk2700_CCCKFHICDHD_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.proto new file mode 100644 index 00000000..de88a81d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CCCKFHICDHD_ClientNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3314 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CCCKFHICDHD_ClientNotify { + repeated uint32 Unk2700_KPKEIFJJDAO = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.pb.go b/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.pb.go new file mode 100644 index 00000000..dcb47f7a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CCEOEOHLAPK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CCEOEOHLAPK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsHintValid bool `protobuf:"varint,3,opt,name=is_hint_valid,json=isHintValid,proto3" json:"is_hint_valid,omitempty"` + HintCenterPos *Vector `protobuf:"bytes,8,opt,name=hint_center_pos,json=hintCenterPos,proto3" json:"hint_center_pos,omitempty"` + GroupId uint32 `protobuf:"varint,6,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,9,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *Unk2700_CCEOEOHLAPK) Reset() { + *x = Unk2700_CCEOEOHLAPK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CCEOEOHLAPK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CCEOEOHLAPK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CCEOEOHLAPK) ProtoMessage() {} + +func (x *Unk2700_CCEOEOHLAPK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CCEOEOHLAPK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CCEOEOHLAPK.ProtoReflect.Descriptor instead. +func (*Unk2700_CCEOEOHLAPK) Descriptor() ([]byte, []int) { + return file_Unk2700_CCEOEOHLAPK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CCEOEOHLAPK) GetIsHintValid() bool { + if x != nil { + return x.IsHintValid + } + return false +} + +func (x *Unk2700_CCEOEOHLAPK) GetHintCenterPos() *Vector { + if x != nil { + return x.HintCenterPos + } + return nil +} + +func (x *Unk2700_CCEOEOHLAPK) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk2700_CCEOEOHLAPK) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_Unk2700_CCEOEOHLAPK_proto protoreflect.FileDescriptor + +var file_Unk2700_CCEOEOHLAPK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, + 0x48, 0x4c, 0x41, 0x50, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, 0x50, + 0x4b, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x48, 0x69, 0x6e, 0x74, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x0f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x68, 0x69, 0x6e, 0x74, 0x43, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_CCEOEOHLAPK_proto_rawDescOnce sync.Once + file_Unk2700_CCEOEOHLAPK_proto_rawDescData = file_Unk2700_CCEOEOHLAPK_proto_rawDesc +) + +func file_Unk2700_CCEOEOHLAPK_proto_rawDescGZIP() []byte { + file_Unk2700_CCEOEOHLAPK_proto_rawDescOnce.Do(func() { + file_Unk2700_CCEOEOHLAPK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CCEOEOHLAPK_proto_rawDescData) + }) + return file_Unk2700_CCEOEOHLAPK_proto_rawDescData +} + +var file_Unk2700_CCEOEOHLAPK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CCEOEOHLAPK_proto_goTypes = []interface{}{ + (*Unk2700_CCEOEOHLAPK)(nil), // 0: Unk2700_CCEOEOHLAPK + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_CCEOEOHLAPK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_CCEOEOHLAPK.hint_center_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_CCEOEOHLAPK_proto_init() } +func file_Unk2700_CCEOEOHLAPK_proto_init() { + if File_Unk2700_CCEOEOHLAPK_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_CCEOEOHLAPK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CCEOEOHLAPK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CCEOEOHLAPK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CCEOEOHLAPK_proto_goTypes, + DependencyIndexes: file_Unk2700_CCEOEOHLAPK_proto_depIdxs, + MessageInfos: file_Unk2700_CCEOEOHLAPK_proto_msgTypes, + }.Build() + File_Unk2700_CCEOEOHLAPK_proto = out.File + file_Unk2700_CCEOEOHLAPK_proto_rawDesc = nil + file_Unk2700_CCEOEOHLAPK_proto_goTypes = nil + file_Unk2700_CCEOEOHLAPK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.proto b/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.proto new file mode 100644 index 00000000..cd8330e0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CCEOEOHLAPK.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_CCEOEOHLAPK { + bool is_hint_valid = 3; + Vector hint_center_pos = 8; + uint32 group_id = 6; + uint32 config_id = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.pb.go new file mode 100644 index 00000000..7b9b8284 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CEEONDKDIHH_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CEEONDKDIHH_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MAPEEDEBLKN bool `protobuf:"varint,9,opt,name=Unk2700_MAPEEDEBLKN,json=Unk2700MAPEEDEBLKN,proto3" json:"Unk2700_MAPEEDEBLKN,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,11,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_CEEONDKDIHH_ClientReq) Reset() { + *x = Unk2700_CEEONDKDIHH_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CEEONDKDIHH_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CEEONDKDIHH_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CEEONDKDIHH_ClientReq) ProtoMessage() {} + +func (x *Unk2700_CEEONDKDIHH_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CEEONDKDIHH_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CEEONDKDIHH_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_CEEONDKDIHH_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CEEONDKDIHH_ClientReq) GetUnk2700_MAPEEDEBLKN() bool { + if x != nil { + return x.Unk2700_MAPEEDEBLKN + } + return false +} + +func (x *Unk2700_CEEONDKDIHH_ClientReq) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_CEEONDKDIHH_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x45, 0x4f, 0x4e, 0x44, + 0x4b, 0x44, 0x49, 0x48, 0x48, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x45, 0x45, 0x4f, 0x4e, 0x44, 0x4b, 0x44, 0x49, 0x48, 0x48, 0x5f, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x41, 0x50, 0x45, 0x45, 0x44, 0x45, 0x42, 0x4c, 0x4b, 0x4e, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x50, + 0x45, 0x45, 0x44, 0x45, 0x42, 0x4c, 0x4b, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, + 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescData = file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDesc +) + +func file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescData) + }) + return file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDescData +} + +var file_Unk2700_CEEONDKDIHH_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CEEONDKDIHH_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_CEEONDKDIHH_ClientReq)(nil), // 0: Unk2700_CEEONDKDIHH_ClientReq +} +var file_Unk2700_CEEONDKDIHH_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CEEONDKDIHH_ClientReq_proto_init() } +func file_Unk2700_CEEONDKDIHH_ClientReq_proto_init() { + if File_Unk2700_CEEONDKDIHH_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CEEONDKDIHH_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CEEONDKDIHH_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CEEONDKDIHH_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_CEEONDKDIHH_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_CEEONDKDIHH_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_CEEONDKDIHH_ClientReq_proto = out.File + file_Unk2700_CEEONDKDIHH_ClientReq_proto_rawDesc = nil + file_Unk2700_CEEONDKDIHH_ClientReq_proto_goTypes = nil + file_Unk2700_CEEONDKDIHH_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.proto new file mode 100644 index 00000000..6d48246e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CEEONDKDIHH_ClientReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6213 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CEEONDKDIHH_ClientReq { + bool Unk2700_MAPEEDEBLKN = 9; + uint64 Unk2700_ONOOJBEABOE = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.pb.go b/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.pb.go new file mode 100644 index 00000000..db6f2908 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CFLKEDHFPAB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8143 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CFLKEDHFPAB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_CFLKEDHFPAB) Reset() { + *x = Unk2700_CFLKEDHFPAB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CFLKEDHFPAB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CFLKEDHFPAB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CFLKEDHFPAB) ProtoMessage() {} + +func (x *Unk2700_CFLKEDHFPAB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CFLKEDHFPAB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CFLKEDHFPAB.ProtoReflect.Descriptor instead. +func (*Unk2700_CFLKEDHFPAB) Descriptor() ([]byte, []int) { + return file_Unk2700_CFLKEDHFPAB_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_CFLKEDHFPAB_proto protoreflect.FileDescriptor + +var file_Unk2700_CFLKEDHFPAB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x46, 0x4c, 0x4b, 0x45, 0x44, + 0x48, 0x46, 0x50, 0x41, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x46, 0x4c, 0x4b, 0x45, 0x44, 0x48, 0x46, 0x50, + 0x41, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CFLKEDHFPAB_proto_rawDescOnce sync.Once + file_Unk2700_CFLKEDHFPAB_proto_rawDescData = file_Unk2700_CFLKEDHFPAB_proto_rawDesc +) + +func file_Unk2700_CFLKEDHFPAB_proto_rawDescGZIP() []byte { + file_Unk2700_CFLKEDHFPAB_proto_rawDescOnce.Do(func() { + file_Unk2700_CFLKEDHFPAB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CFLKEDHFPAB_proto_rawDescData) + }) + return file_Unk2700_CFLKEDHFPAB_proto_rawDescData +} + +var file_Unk2700_CFLKEDHFPAB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CFLKEDHFPAB_proto_goTypes = []interface{}{ + (*Unk2700_CFLKEDHFPAB)(nil), // 0: Unk2700_CFLKEDHFPAB +} +var file_Unk2700_CFLKEDHFPAB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CFLKEDHFPAB_proto_init() } +func file_Unk2700_CFLKEDHFPAB_proto_init() { + if File_Unk2700_CFLKEDHFPAB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CFLKEDHFPAB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CFLKEDHFPAB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CFLKEDHFPAB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CFLKEDHFPAB_proto_goTypes, + DependencyIndexes: file_Unk2700_CFLKEDHFPAB_proto_depIdxs, + MessageInfos: file_Unk2700_CFLKEDHFPAB_proto_msgTypes, + }.Build() + File_Unk2700_CFLKEDHFPAB_proto = out.File + file_Unk2700_CFLKEDHFPAB_proto_rawDesc = nil + file_Unk2700_CFLKEDHFPAB_proto_goTypes = nil + file_Unk2700_CFLKEDHFPAB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.proto b/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.proto new file mode 100644 index 00000000..59e8258d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CFLKEDHFPAB.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8143 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CFLKEDHFPAB {} diff --git a/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.pb.go b/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.pb.go new file mode 100644 index 00000000..8ebf9d01 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CGNFBKKBPJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8240 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CGNFBKKBPJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + StageId uint32 `protobuf:"varint,6,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_CGNFBKKBPJE) Reset() { + *x = Unk2700_CGNFBKKBPJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CGNFBKKBPJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CGNFBKKBPJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CGNFBKKBPJE) ProtoMessage() {} + +func (x *Unk2700_CGNFBKKBPJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CGNFBKKBPJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CGNFBKKBPJE.ProtoReflect.Descriptor instead. +func (*Unk2700_CGNFBKKBPJE) Descriptor() ([]byte, []int) { + return file_Unk2700_CGNFBKKBPJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CGNFBKKBPJE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_CGNFBKKBPJE) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_CGNFBKKBPJE_proto protoreflect.FileDescriptor + +var file_Unk2700_CGNFBKKBPJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4e, 0x46, 0x42, 0x4b, + 0x4b, 0x42, 0x50, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4e, 0x46, 0x42, 0x4b, 0x4b, 0x42, 0x50, + 0x4a, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CGNFBKKBPJE_proto_rawDescOnce sync.Once + file_Unk2700_CGNFBKKBPJE_proto_rawDescData = file_Unk2700_CGNFBKKBPJE_proto_rawDesc +) + +func file_Unk2700_CGNFBKKBPJE_proto_rawDescGZIP() []byte { + file_Unk2700_CGNFBKKBPJE_proto_rawDescOnce.Do(func() { + file_Unk2700_CGNFBKKBPJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CGNFBKKBPJE_proto_rawDescData) + }) + return file_Unk2700_CGNFBKKBPJE_proto_rawDescData +} + +var file_Unk2700_CGNFBKKBPJE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CGNFBKKBPJE_proto_goTypes = []interface{}{ + (*Unk2700_CGNFBKKBPJE)(nil), // 0: Unk2700_CGNFBKKBPJE +} +var file_Unk2700_CGNFBKKBPJE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CGNFBKKBPJE_proto_init() } +func file_Unk2700_CGNFBKKBPJE_proto_init() { + if File_Unk2700_CGNFBKKBPJE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CGNFBKKBPJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CGNFBKKBPJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CGNFBKKBPJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CGNFBKKBPJE_proto_goTypes, + DependencyIndexes: file_Unk2700_CGNFBKKBPJE_proto_depIdxs, + MessageInfos: file_Unk2700_CGNFBKKBPJE_proto_msgTypes, + }.Build() + File_Unk2700_CGNFBKKBPJE_proto = out.File + file_Unk2700_CGNFBKKBPJE_proto_rawDesc = nil + file_Unk2700_CGNFBKKBPJE_proto_goTypes = nil + file_Unk2700_CGNFBKKBPJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.proto b/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.proto new file mode 100644 index 00000000..505437d0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CGNFBKKBPJE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8240 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CGNFBKKBPJE { + int32 retcode = 13; + uint32 stage_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.pb.go b/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.pb.go new file mode 100644 index 00000000..0a04f370 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CHICHNGLKPI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8149 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CHICHNGLKPI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + MaxScore uint32 `protobuf:"varint,14,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` +} + +func (x *Unk2700_CHICHNGLKPI) Reset() { + *x = Unk2700_CHICHNGLKPI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CHICHNGLKPI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CHICHNGLKPI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CHICHNGLKPI) ProtoMessage() {} + +func (x *Unk2700_CHICHNGLKPI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CHICHNGLKPI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CHICHNGLKPI.ProtoReflect.Descriptor instead. +func (*Unk2700_CHICHNGLKPI) Descriptor() ([]byte, []int) { + return file_Unk2700_CHICHNGLKPI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CHICHNGLKPI) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_CHICHNGLKPI) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +var File_Unk2700_CHICHNGLKPI_proto protoreflect.FileDescriptor + +var file_Unk2700_CHICHNGLKPI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x49, 0x43, 0x48, 0x4e, + 0x47, 0x4c, 0x4b, 0x50, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x49, 0x43, 0x48, 0x4e, 0x47, 0x4c, 0x4b, + 0x50, 0x49, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CHICHNGLKPI_proto_rawDescOnce sync.Once + file_Unk2700_CHICHNGLKPI_proto_rawDescData = file_Unk2700_CHICHNGLKPI_proto_rawDesc +) + +func file_Unk2700_CHICHNGLKPI_proto_rawDescGZIP() []byte { + file_Unk2700_CHICHNGLKPI_proto_rawDescOnce.Do(func() { + file_Unk2700_CHICHNGLKPI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CHICHNGLKPI_proto_rawDescData) + }) + return file_Unk2700_CHICHNGLKPI_proto_rawDescData +} + +var file_Unk2700_CHICHNGLKPI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CHICHNGLKPI_proto_goTypes = []interface{}{ + (*Unk2700_CHICHNGLKPI)(nil), // 0: Unk2700_CHICHNGLKPI +} +var file_Unk2700_CHICHNGLKPI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CHICHNGLKPI_proto_init() } +func file_Unk2700_CHICHNGLKPI_proto_init() { + if File_Unk2700_CHICHNGLKPI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CHICHNGLKPI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CHICHNGLKPI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CHICHNGLKPI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CHICHNGLKPI_proto_goTypes, + DependencyIndexes: file_Unk2700_CHICHNGLKPI_proto_depIdxs, + MessageInfos: file_Unk2700_CHICHNGLKPI_proto_msgTypes, + }.Build() + File_Unk2700_CHICHNGLKPI_proto = out.File + file_Unk2700_CHICHNGLKPI_proto_rawDesc = nil + file_Unk2700_CHICHNGLKPI_proto_goTypes = nil + file_Unk2700_CHICHNGLKPI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.proto b/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.proto new file mode 100644 index 00000000..35246522 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CHICHNGLKPI.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8149 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CHICHNGLKPI { + uint32 id = 5; + uint32 max_score = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.pb.go b/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.pb.go new file mode 100644 index 00000000..e7e8a692 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CHLNIDHHGLE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CHLNIDHHGLE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,8,opt,name=score,proto3" json:"score,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,14,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + HitCount uint32 `protobuf:"varint,10,opt,name=hit_count,json=hitCount,proto3" json:"hit_count,omitempty"` + OwnerUid uint32 `protobuf:"varint,6,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` +} + +func (x *Unk2700_CHLNIDHHGLE) Reset() { + *x = Unk2700_CHLNIDHHGLE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CHLNIDHHGLE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CHLNIDHHGLE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CHLNIDHHGLE) ProtoMessage() {} + +func (x *Unk2700_CHLNIDHHGLE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CHLNIDHHGLE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CHLNIDHHGLE.ProtoReflect.Descriptor instead. +func (*Unk2700_CHLNIDHHGLE) Descriptor() ([]byte, []int) { + return file_Unk2700_CHLNIDHHGLE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CHLNIDHHGLE) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_CHLNIDHHGLE) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2700_CHLNIDHHGLE) GetHitCount() uint32 { + if x != nil { + return x.HitCount + } + return 0 +} + +func (x *Unk2700_CHLNIDHHGLE) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +var File_Unk2700_CHLNIDHHGLE_proto protoreflect.FileDescriptor + +var file_Unk2700_CHLNIDHHGLE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x4c, 0x4e, 0x49, 0x44, + 0x48, 0x48, 0x47, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x43, 0x48, 0x4c, 0x4e, 0x49, 0x44, 0x48, 0x48, 0x47, 0x4c, 0x45, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CHLNIDHHGLE_proto_rawDescOnce sync.Once + file_Unk2700_CHLNIDHHGLE_proto_rawDescData = file_Unk2700_CHLNIDHHGLE_proto_rawDesc +) + +func file_Unk2700_CHLNIDHHGLE_proto_rawDescGZIP() []byte { + file_Unk2700_CHLNIDHHGLE_proto_rawDescOnce.Do(func() { + file_Unk2700_CHLNIDHHGLE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CHLNIDHHGLE_proto_rawDescData) + }) + return file_Unk2700_CHLNIDHHGLE_proto_rawDescData +} + +var file_Unk2700_CHLNIDHHGLE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CHLNIDHHGLE_proto_goTypes = []interface{}{ + (*Unk2700_CHLNIDHHGLE)(nil), // 0: Unk2700_CHLNIDHHGLE + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2700_CHLNIDHHGLE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_CHLNIDHHGLE.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_CHLNIDHHGLE_proto_init() } +func file_Unk2700_CHLNIDHHGLE_proto_init() { + if File_Unk2700_CHLNIDHHGLE_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_CHLNIDHHGLE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CHLNIDHHGLE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CHLNIDHHGLE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CHLNIDHHGLE_proto_goTypes, + DependencyIndexes: file_Unk2700_CHLNIDHHGLE_proto_depIdxs, + MessageInfos: file_Unk2700_CHLNIDHHGLE_proto_msgTypes, + }.Build() + File_Unk2700_CHLNIDHHGLE_proto = out.File + file_Unk2700_CHLNIDHHGLE_proto_rawDesc = nil + file_Unk2700_CHLNIDHHGLE_proto_goTypes = nil + file_Unk2700_CHLNIDHHGLE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.proto b/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.proto new file mode 100644 index 00000000..48d6fcd0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CHLNIDHHGLE.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2700_CHLNIDHHGLE { + uint32 score = 8; + Unk2700_MOFABPNGIKP reason = 14; + uint32 hit_count = 10; + uint32 owner_uid = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.pb.go new file mode 100644 index 00000000..7abac5ec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CILGDLMHCNG_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1951 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CILGDLMHCNG_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GEBOKAMGEEB string `protobuf:"bytes,7,opt,name=Unk2700_GEBOKAMGEEB,json=Unk2700GEBOKAMGEEB,proto3" json:"Unk2700_GEBOKAMGEEB,omitempty"` + ChapterId uint32 `protobuf:"varint,15,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *Unk2700_CILGDLMHCNG_ServerNotify) Reset() { + *x = Unk2700_CILGDLMHCNG_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CILGDLMHCNG_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CILGDLMHCNG_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CILGDLMHCNG_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_CILGDLMHCNG_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CILGDLMHCNG_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CILGDLMHCNG_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_CILGDLMHCNG_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CILGDLMHCNG_ServerNotify) GetUnk2700_GEBOKAMGEEB() string { + if x != nil { + return x.Unk2700_GEBOKAMGEEB + } + return "" +} + +func (x *Unk2700_CILGDLMHCNG_ServerNotify) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_Unk2700_CILGDLMHCNG_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4c, 0x47, 0x44, 0x4c, + 0x4d, 0x48, 0x43, 0x4e, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4c, 0x47, 0x44, 0x4c, 0x4d, 0x48, 0x43, 0x4e, 0x47, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x45, 0x42, 0x4f, 0x4b, 0x41, 0x4d, 0x47, + 0x45, 0x45, 0x42, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x47, 0x45, 0x42, 0x4f, 0x4b, 0x41, 0x4d, 0x47, 0x45, 0x45, 0x42, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescData = file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDesc +) + +func file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDescData +} + +var file_Unk2700_CILGDLMHCNG_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CILGDLMHCNG_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_CILGDLMHCNG_ServerNotify)(nil), // 0: Unk2700_CILGDLMHCNG_ServerNotify +} +var file_Unk2700_CILGDLMHCNG_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CILGDLMHCNG_ServerNotify_proto_init() } +func file_Unk2700_CILGDLMHCNG_ServerNotify_proto_init() { + if File_Unk2700_CILGDLMHCNG_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CILGDLMHCNG_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CILGDLMHCNG_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_CILGDLMHCNG_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_CILGDLMHCNG_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_CILGDLMHCNG_ServerNotify_proto = out.File + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_rawDesc = nil + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_goTypes = nil + file_Unk2700_CILGDLMHCNG_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.proto new file mode 100644 index 00000000..a16faaa5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CILGDLMHCNG_ServerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1951 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CILGDLMHCNG_ServerNotify { + string Unk2700_GEBOKAMGEEB = 7; + uint32 chapter_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.pb.go new file mode 100644 index 00000000..669f60fc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CIOMEDJDPBP_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6342 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CIOMEDJDPBP_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_CIOMEDJDPBP_ClientReq) Reset() { + *x = Unk2700_CIOMEDJDPBP_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CIOMEDJDPBP_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CIOMEDJDPBP_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CIOMEDJDPBP_ClientReq) ProtoMessage() {} + +func (x *Unk2700_CIOMEDJDPBP_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CIOMEDJDPBP_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CIOMEDJDPBP_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_CIOMEDJDPBP_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_CIOMEDJDPBP_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4f, 0x4d, 0x45, 0x44, + 0x4a, 0x44, 0x50, 0x42, 0x50, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x49, 0x4f, 0x4d, 0x45, 0x44, 0x4a, 0x44, 0x50, 0x42, 0x50, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescData = file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDesc +) + +func file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescData) + }) + return file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDescData +} + +var file_Unk2700_CIOMEDJDPBP_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CIOMEDJDPBP_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_CIOMEDJDPBP_ClientReq)(nil), // 0: Unk2700_CIOMEDJDPBP_ClientReq +} +var file_Unk2700_CIOMEDJDPBP_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CIOMEDJDPBP_ClientReq_proto_init() } +func file_Unk2700_CIOMEDJDPBP_ClientReq_proto_init() { + if File_Unk2700_CIOMEDJDPBP_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CIOMEDJDPBP_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CIOMEDJDPBP_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_CIOMEDJDPBP_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_CIOMEDJDPBP_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_CIOMEDJDPBP_ClientReq_proto = out.File + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_rawDesc = nil + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_goTypes = nil + file_Unk2700_CIOMEDJDPBP_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.proto new file mode 100644 index 00000000..b5a924ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CIOMEDJDPBP_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6342 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CIOMEDJDPBP_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.pb.go b/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.pb.go new file mode 100644 index 00000000..d42c0f4b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CJKCCLEGPCM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8153 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CJKCCLEGPCM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Id uint32 `protobuf:"varint,15,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_CJKCCLEGPCM) Reset() { + *x = Unk2700_CJKCCLEGPCM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CJKCCLEGPCM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CJKCCLEGPCM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CJKCCLEGPCM) ProtoMessage() {} + +func (x *Unk2700_CJKCCLEGPCM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CJKCCLEGPCM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CJKCCLEGPCM.ProtoReflect.Descriptor instead. +func (*Unk2700_CJKCCLEGPCM) Descriptor() ([]byte, []int) { + return file_Unk2700_CJKCCLEGPCM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CJKCCLEGPCM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_CJKCCLEGPCM) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_CJKCCLEGPCM_proto protoreflect.FileDescriptor + +var file_Unk2700_CJKCCLEGPCM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4a, 0x4b, 0x43, 0x43, 0x4c, + 0x45, 0x47, 0x50, 0x43, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4a, 0x4b, 0x43, 0x43, 0x4c, 0x45, 0x47, 0x50, + 0x43, 0x4d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CJKCCLEGPCM_proto_rawDescOnce sync.Once + file_Unk2700_CJKCCLEGPCM_proto_rawDescData = file_Unk2700_CJKCCLEGPCM_proto_rawDesc +) + +func file_Unk2700_CJKCCLEGPCM_proto_rawDescGZIP() []byte { + file_Unk2700_CJKCCLEGPCM_proto_rawDescOnce.Do(func() { + file_Unk2700_CJKCCLEGPCM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CJKCCLEGPCM_proto_rawDescData) + }) + return file_Unk2700_CJKCCLEGPCM_proto_rawDescData +} + +var file_Unk2700_CJKCCLEGPCM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CJKCCLEGPCM_proto_goTypes = []interface{}{ + (*Unk2700_CJKCCLEGPCM)(nil), // 0: Unk2700_CJKCCLEGPCM +} +var file_Unk2700_CJKCCLEGPCM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CJKCCLEGPCM_proto_init() } +func file_Unk2700_CJKCCLEGPCM_proto_init() { + if File_Unk2700_CJKCCLEGPCM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CJKCCLEGPCM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CJKCCLEGPCM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CJKCCLEGPCM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CJKCCLEGPCM_proto_goTypes, + DependencyIndexes: file_Unk2700_CJKCCLEGPCM_proto_depIdxs, + MessageInfos: file_Unk2700_CJKCCLEGPCM_proto_msgTypes, + }.Build() + File_Unk2700_CJKCCLEGPCM_proto = out.File + file_Unk2700_CJKCCLEGPCM_proto_rawDesc = nil + file_Unk2700_CJKCCLEGPCM_proto_goTypes = nil + file_Unk2700_CJKCCLEGPCM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.proto b/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.proto new file mode 100644 index 00000000..5bf3627e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CJKCCLEGPCM.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8153 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CJKCCLEGPCM { + int32 retcode = 6; + uint32 id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.pb.go b/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.pb.go new file mode 100644 index 00000000..5ad005e5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CKMOPKMKCAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CKMOPKMKCAO int32 + +const ( + Unk2700_CKMOPKMKCAO_Unk2700_CKMOPKMKCAO_Unk2700_BJNNKGGOEIM Unk2700_CKMOPKMKCAO = 0 + Unk2700_CKMOPKMKCAO_Unk2700_CKMOPKMKCAO_MINE Unk2700_CKMOPKMKCAO = 1 + Unk2700_CKMOPKMKCAO_Unk2700_CKMOPKMKCAO_Unk2700_ECDAEGKEKIJ Unk2700_CKMOPKMKCAO = 2 +) + +// Enum value maps for Unk2700_CKMOPKMKCAO. +var ( + Unk2700_CKMOPKMKCAO_name = map[int32]string{ + 0: "Unk2700_CKMOPKMKCAO_Unk2700_BJNNKGGOEIM", + 1: "Unk2700_CKMOPKMKCAO_MINE", + 2: "Unk2700_CKMOPKMKCAO_Unk2700_ECDAEGKEKIJ", + } + Unk2700_CKMOPKMKCAO_value = map[string]int32{ + "Unk2700_CKMOPKMKCAO_Unk2700_BJNNKGGOEIM": 0, + "Unk2700_CKMOPKMKCAO_MINE": 1, + "Unk2700_CKMOPKMKCAO_Unk2700_ECDAEGKEKIJ": 2, + } +) + +func (x Unk2700_CKMOPKMKCAO) Enum() *Unk2700_CKMOPKMKCAO { + p := new(Unk2700_CKMOPKMKCAO) + *p = x + return p +} + +func (x Unk2700_CKMOPKMKCAO) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_CKMOPKMKCAO) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_CKMOPKMKCAO_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_CKMOPKMKCAO) Type() protoreflect.EnumType { + return &file_Unk2700_CKMOPKMKCAO_proto_enumTypes[0] +} + +func (x Unk2700_CKMOPKMKCAO) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_CKMOPKMKCAO.Descriptor instead. +func (Unk2700_CKMOPKMKCAO) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_CKMOPKMKCAO_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_CKMOPKMKCAO_proto protoreflect.FileDescriptor + +var file_Unk2700_CKMOPKMKCAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, 0x50, 0x4b, + 0x4d, 0x4b, 0x43, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x8d, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, 0x50, 0x4b, 0x4d, 0x4b, + 0x43, 0x41, 0x4f, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x4b, 0x4d, 0x4f, 0x50, 0x4b, 0x4d, 0x4b, 0x43, 0x41, 0x4f, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x4e, 0x4e, 0x4b, 0x47, 0x47, 0x4f, 0x45, 0x49, 0x4d, 0x10, 0x00, + 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, + 0x50, 0x4b, 0x4d, 0x4b, 0x43, 0x41, 0x4f, 0x5f, 0x4d, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, 0x50, 0x4b, + 0x4d, 0x4b, 0x43, 0x41, 0x4f, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x43, + 0x44, 0x41, 0x45, 0x47, 0x4b, 0x45, 0x4b, 0x49, 0x4a, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CKMOPKMKCAO_proto_rawDescOnce sync.Once + file_Unk2700_CKMOPKMKCAO_proto_rawDescData = file_Unk2700_CKMOPKMKCAO_proto_rawDesc +) + +func file_Unk2700_CKMOPKMKCAO_proto_rawDescGZIP() []byte { + file_Unk2700_CKMOPKMKCAO_proto_rawDescOnce.Do(func() { + file_Unk2700_CKMOPKMKCAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CKMOPKMKCAO_proto_rawDescData) + }) + return file_Unk2700_CKMOPKMKCAO_proto_rawDescData +} + +var file_Unk2700_CKMOPKMKCAO_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_CKMOPKMKCAO_proto_goTypes = []interface{}{ + (Unk2700_CKMOPKMKCAO)(0), // 0: Unk2700_CKMOPKMKCAO +} +var file_Unk2700_CKMOPKMKCAO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CKMOPKMKCAO_proto_init() } +func file_Unk2700_CKMOPKMKCAO_proto_init() { + if File_Unk2700_CKMOPKMKCAO_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CKMOPKMKCAO_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CKMOPKMKCAO_proto_goTypes, + DependencyIndexes: file_Unk2700_CKMOPKMKCAO_proto_depIdxs, + EnumInfos: file_Unk2700_CKMOPKMKCAO_proto_enumTypes, + }.Build() + File_Unk2700_CKMOPKMKCAO_proto = out.File + file_Unk2700_CKMOPKMKCAO_proto_rawDesc = nil + file_Unk2700_CKMOPKMKCAO_proto_goTypes = nil + file_Unk2700_CKMOPKMKCAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.proto b/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.proto new file mode 100644 index 00000000..31a8d7f2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CKMOPKMKCAO.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_CKMOPKMKCAO { + Unk2700_CKMOPKMKCAO_Unk2700_BJNNKGGOEIM = 0; + Unk2700_CKMOPKMKCAO_MINE = 1; + Unk2700_CKMOPKMKCAO_Unk2700_ECDAEGKEKIJ = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.pb.go b/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.pb.go new file mode 100644 index 00000000..549dcfe8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CLKGPNDKIDD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8725 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_CLKGPNDKIDD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,8,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_CLKGPNDKIDD) Reset() { + *x = Unk2700_CLKGPNDKIDD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CLKGPNDKIDD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CLKGPNDKIDD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CLKGPNDKIDD) ProtoMessage() {} + +func (x *Unk2700_CLKGPNDKIDD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CLKGPNDKIDD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CLKGPNDKIDD.ProtoReflect.Descriptor instead. +func (*Unk2700_CLKGPNDKIDD) Descriptor() ([]byte, []int) { + return file_Unk2700_CLKGPNDKIDD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CLKGPNDKIDD) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_CLKGPNDKIDD_proto protoreflect.FileDescriptor + +var file_Unk2700_CLKGPNDKIDD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4b, 0x47, 0x50, 0x4e, + 0x44, 0x4b, 0x49, 0x44, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4b, 0x47, 0x50, 0x4e, 0x44, 0x4b, 0x49, + 0x44, 0x44, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CLKGPNDKIDD_proto_rawDescOnce sync.Once + file_Unk2700_CLKGPNDKIDD_proto_rawDescData = file_Unk2700_CLKGPNDKIDD_proto_rawDesc +) + +func file_Unk2700_CLKGPNDKIDD_proto_rawDescGZIP() []byte { + file_Unk2700_CLKGPNDKIDD_proto_rawDescOnce.Do(func() { + file_Unk2700_CLKGPNDKIDD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CLKGPNDKIDD_proto_rawDescData) + }) + return file_Unk2700_CLKGPNDKIDD_proto_rawDescData +} + +var file_Unk2700_CLKGPNDKIDD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CLKGPNDKIDD_proto_goTypes = []interface{}{ + (*Unk2700_CLKGPNDKIDD)(nil), // 0: Unk2700_CLKGPNDKIDD +} +var file_Unk2700_CLKGPNDKIDD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CLKGPNDKIDD_proto_init() } +func file_Unk2700_CLKGPNDKIDD_proto_init() { + if File_Unk2700_CLKGPNDKIDD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CLKGPNDKIDD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CLKGPNDKIDD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CLKGPNDKIDD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CLKGPNDKIDD_proto_goTypes, + DependencyIndexes: file_Unk2700_CLKGPNDKIDD_proto_depIdxs, + MessageInfos: file_Unk2700_CLKGPNDKIDD_proto_msgTypes, + }.Build() + File_Unk2700_CLKGPNDKIDD_proto = out.File + file_Unk2700_CLKGPNDKIDD_proto_rawDesc = nil + file_Unk2700_CLKGPNDKIDD_proto_goTypes = nil + file_Unk2700_CLKGPNDKIDD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.proto b/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.proto new file mode 100644 index 00000000..a2eb5109 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CLKGPNDKIDD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8725 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_CLKGPNDKIDD { + uint32 schedule_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.pb.go b/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.pb.go new file mode 100644 index 00000000..77fae886 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CLMGFEOPNFH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8938 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CLMGFEOPNFH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + GalleryId uint32 `protobuf:"varint,12,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_CLMGFEOPNFH) Reset() { + *x = Unk2700_CLMGFEOPNFH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CLMGFEOPNFH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CLMGFEOPNFH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CLMGFEOPNFH) ProtoMessage() {} + +func (x *Unk2700_CLMGFEOPNFH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CLMGFEOPNFH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CLMGFEOPNFH.ProtoReflect.Descriptor instead. +func (*Unk2700_CLMGFEOPNFH) Descriptor() ([]byte, []int) { + return file_Unk2700_CLMGFEOPNFH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CLMGFEOPNFH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_CLMGFEOPNFH) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_CLMGFEOPNFH_proto protoreflect.FileDescriptor + +var file_Unk2700_CLMGFEOPNFH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4d, 0x47, 0x46, 0x45, + 0x4f, 0x50, 0x4e, 0x46, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4d, 0x47, 0x46, 0x45, 0x4f, 0x50, 0x4e, + 0x46, 0x48, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CLMGFEOPNFH_proto_rawDescOnce sync.Once + file_Unk2700_CLMGFEOPNFH_proto_rawDescData = file_Unk2700_CLMGFEOPNFH_proto_rawDesc +) + +func file_Unk2700_CLMGFEOPNFH_proto_rawDescGZIP() []byte { + file_Unk2700_CLMGFEOPNFH_proto_rawDescOnce.Do(func() { + file_Unk2700_CLMGFEOPNFH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CLMGFEOPNFH_proto_rawDescData) + }) + return file_Unk2700_CLMGFEOPNFH_proto_rawDescData +} + +var file_Unk2700_CLMGFEOPNFH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CLMGFEOPNFH_proto_goTypes = []interface{}{ + (*Unk2700_CLMGFEOPNFH)(nil), // 0: Unk2700_CLMGFEOPNFH +} +var file_Unk2700_CLMGFEOPNFH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CLMGFEOPNFH_proto_init() } +func file_Unk2700_CLMGFEOPNFH_proto_init() { + if File_Unk2700_CLMGFEOPNFH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CLMGFEOPNFH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CLMGFEOPNFH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CLMGFEOPNFH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CLMGFEOPNFH_proto_goTypes, + DependencyIndexes: file_Unk2700_CLMGFEOPNFH_proto_depIdxs, + MessageInfos: file_Unk2700_CLMGFEOPNFH_proto_msgTypes, + }.Build() + File_Unk2700_CLMGFEOPNFH_proto = out.File + file_Unk2700_CLMGFEOPNFH_proto_rawDesc = nil + file_Unk2700_CLMGFEOPNFH_proto_goTypes = nil + file_Unk2700_CLMGFEOPNFH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.proto b/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.proto new file mode 100644 index 00000000..7c8cf082 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CLMGFEOPNFH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8938 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CLMGFEOPNFH { + int32 retcode = 10; + uint32 gallery_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.pb.go b/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.pb.go new file mode 100644 index 00000000..4a0c3e29 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CMKDNIANBNE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CMKDNIANBNE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Unk2700_POPBOKAKBBO uint32 `protobuf:"varint,3,opt,name=Unk2700_POPBOKAKBBO,json=Unk2700POPBOKAKBBO,proto3" json:"Unk2700_POPBOKAKBBO,omitempty"` +} + +func (x *Unk2700_CMKDNIANBNE) Reset() { + *x = Unk2700_CMKDNIANBNE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CMKDNIANBNE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CMKDNIANBNE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CMKDNIANBNE) ProtoMessage() {} + +func (x *Unk2700_CMKDNIANBNE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CMKDNIANBNE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CMKDNIANBNE.ProtoReflect.Descriptor instead. +func (*Unk2700_CMKDNIANBNE) Descriptor() ([]byte, []int) { + return file_Unk2700_CMKDNIANBNE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CMKDNIANBNE) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Unk2700_CMKDNIANBNE) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *Unk2700_CMKDNIANBNE) GetUnk2700_POPBOKAKBBO() uint32 { + if x != nil { + return x.Unk2700_POPBOKAKBBO + } + return 0 +} + +var File_Unk2700_CMKDNIANBNE_proto protoreflect.FileDescriptor + +var file_Unk2700_CMKDNIANBNE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x44, 0x4e, 0x49, + 0x41, 0x4e, 0x42, 0x4e, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x44, 0x4e, 0x49, 0x41, 0x4e, 0x42, + 0x4e, 0x45, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x50, 0x42, + 0x4f, 0x4b, 0x41, 0x4b, 0x42, 0x42, 0x4f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x4f, 0x50, 0x42, 0x4f, 0x4b, 0x41, 0x4b, 0x42, 0x42, + 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CMKDNIANBNE_proto_rawDescOnce sync.Once + file_Unk2700_CMKDNIANBNE_proto_rawDescData = file_Unk2700_CMKDNIANBNE_proto_rawDesc +) + +func file_Unk2700_CMKDNIANBNE_proto_rawDescGZIP() []byte { + file_Unk2700_CMKDNIANBNE_proto_rawDescOnce.Do(func() { + file_Unk2700_CMKDNIANBNE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CMKDNIANBNE_proto_rawDescData) + }) + return file_Unk2700_CMKDNIANBNE_proto_rawDescData +} + +var file_Unk2700_CMKDNIANBNE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CMKDNIANBNE_proto_goTypes = []interface{}{ + (*Unk2700_CMKDNIANBNE)(nil), // 0: Unk2700_CMKDNIANBNE +} +var file_Unk2700_CMKDNIANBNE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CMKDNIANBNE_proto_init() } +func file_Unk2700_CMKDNIANBNE_proto_init() { + if File_Unk2700_CMKDNIANBNE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CMKDNIANBNE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CMKDNIANBNE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CMKDNIANBNE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CMKDNIANBNE_proto_goTypes, + DependencyIndexes: file_Unk2700_CMKDNIANBNE_proto_depIdxs, + MessageInfos: file_Unk2700_CMKDNIANBNE_proto_msgTypes, + }.Build() + File_Unk2700_CMKDNIANBNE_proto = out.File + file_Unk2700_CMKDNIANBNE_proto_rawDesc = nil + file_Unk2700_CMKDNIANBNE_proto_goTypes = nil + file_Unk2700_CMKDNIANBNE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.proto b/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.proto new file mode 100644 index 00000000..cb161ec6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CMKDNIANBNE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_CMKDNIANBNE { + string type = 1; + string content = 2; + uint32 Unk2700_POPBOKAKBBO = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.pb.go b/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.pb.go new file mode 100644 index 00000000..6c3d63bc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CMOCCENBOLJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CMOCCENBOLJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MMNILGLDHHD bool `protobuf:"varint,10,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + Unk2700_OLLKIFMOPAG uint32 `protobuf:"varint,5,opt,name=Unk2700_OLLKIFMOPAG,json=Unk2700OLLKIFMOPAG,proto3" json:"Unk2700_OLLKIFMOPAG,omitempty"` + FinishTime uint32 `protobuf:"varint,15,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + Difficulty uint32 `protobuf:"varint,13,opt,name=difficulty,proto3" json:"difficulty,omitempty"` +} + +func (x *Unk2700_CMOCCENBOLJ) Reset() { + *x = Unk2700_CMOCCENBOLJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CMOCCENBOLJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CMOCCENBOLJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CMOCCENBOLJ) ProtoMessage() {} + +func (x *Unk2700_CMOCCENBOLJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CMOCCENBOLJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CMOCCENBOLJ.ProtoReflect.Descriptor instead. +func (*Unk2700_CMOCCENBOLJ) Descriptor() ([]byte, []int) { + return file_Unk2700_CMOCCENBOLJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CMOCCENBOLJ) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_CMOCCENBOLJ) GetUnk2700_OLLKIFMOPAG() uint32 { + if x != nil { + return x.Unk2700_OLLKIFMOPAG + } + return 0 +} + +func (x *Unk2700_CMOCCENBOLJ) GetFinishTime() uint32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +func (x *Unk2700_CMOCCENBOLJ) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +var File_Unk2700_CMOCCENBOLJ_proto protoreflect.FileDescriptor + +var file_Unk2700_CMOCCENBOLJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4f, 0x43, 0x43, 0x45, + 0x4e, 0x42, 0x4f, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4f, 0x43, 0x43, 0x45, 0x4e, 0x42, + 0x4f, 0x4c, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, + 0x44, 0x48, 0x48, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x4c, 0x4c, 0x4b, 0x49, 0x46, 0x4d, 0x4f, 0x50, 0x41, 0x47, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4c, 0x4c, 0x4b, 0x49, 0x46, + 0x4d, 0x4f, 0x50, 0x41, 0x47, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, + 0x75, 0x6c, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, + 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CMOCCENBOLJ_proto_rawDescOnce sync.Once + file_Unk2700_CMOCCENBOLJ_proto_rawDescData = file_Unk2700_CMOCCENBOLJ_proto_rawDesc +) + +func file_Unk2700_CMOCCENBOLJ_proto_rawDescGZIP() []byte { + file_Unk2700_CMOCCENBOLJ_proto_rawDescOnce.Do(func() { + file_Unk2700_CMOCCENBOLJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CMOCCENBOLJ_proto_rawDescData) + }) + return file_Unk2700_CMOCCENBOLJ_proto_rawDescData +} + +var file_Unk2700_CMOCCENBOLJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CMOCCENBOLJ_proto_goTypes = []interface{}{ + (*Unk2700_CMOCCENBOLJ)(nil), // 0: Unk2700_CMOCCENBOLJ +} +var file_Unk2700_CMOCCENBOLJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CMOCCENBOLJ_proto_init() } +func file_Unk2700_CMOCCENBOLJ_proto_init() { + if File_Unk2700_CMOCCENBOLJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CMOCCENBOLJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CMOCCENBOLJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CMOCCENBOLJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CMOCCENBOLJ_proto_goTypes, + DependencyIndexes: file_Unk2700_CMOCCENBOLJ_proto_depIdxs, + MessageInfos: file_Unk2700_CMOCCENBOLJ_proto_msgTypes, + }.Build() + File_Unk2700_CMOCCENBOLJ_proto = out.File + file_Unk2700_CMOCCENBOLJ_proto_rawDesc = nil + file_Unk2700_CMOCCENBOLJ_proto_goTypes = nil + file_Unk2700_CMOCCENBOLJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.proto b/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.proto new file mode 100644 index 00000000..88418b78 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CMOCCENBOLJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_CMOCCENBOLJ { + bool Unk2700_MMNILGLDHHD = 10; + uint32 Unk2700_OLLKIFMOPAG = 5; + uint32 finish_time = 15; + uint32 difficulty = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.pb.go b/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.pb.go new file mode 100644 index 00000000..e9d80d57 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CNEIMEHAAAF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8903 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CNEIMEHAAAF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_CNEIMEHAAAF) Reset() { + *x = Unk2700_CNEIMEHAAAF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CNEIMEHAAAF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CNEIMEHAAAF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CNEIMEHAAAF) ProtoMessage() {} + +func (x *Unk2700_CNEIMEHAAAF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CNEIMEHAAAF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CNEIMEHAAAF.ProtoReflect.Descriptor instead. +func (*Unk2700_CNEIMEHAAAF) Descriptor() ([]byte, []int) { + return file_Unk2700_CNEIMEHAAAF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CNEIMEHAAAF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_CNEIMEHAAAF_proto protoreflect.FileDescriptor + +var file_Unk2700_CNEIMEHAAAF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x45, 0x49, 0x4d, 0x45, + 0x48, 0x41, 0x41, 0x41, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x45, 0x49, 0x4d, 0x45, 0x48, 0x41, 0x41, + 0x41, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CNEIMEHAAAF_proto_rawDescOnce sync.Once + file_Unk2700_CNEIMEHAAAF_proto_rawDescData = file_Unk2700_CNEIMEHAAAF_proto_rawDesc +) + +func file_Unk2700_CNEIMEHAAAF_proto_rawDescGZIP() []byte { + file_Unk2700_CNEIMEHAAAF_proto_rawDescOnce.Do(func() { + file_Unk2700_CNEIMEHAAAF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CNEIMEHAAAF_proto_rawDescData) + }) + return file_Unk2700_CNEIMEHAAAF_proto_rawDescData +} + +var file_Unk2700_CNEIMEHAAAF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CNEIMEHAAAF_proto_goTypes = []interface{}{ + (*Unk2700_CNEIMEHAAAF)(nil), // 0: Unk2700_CNEIMEHAAAF +} +var file_Unk2700_CNEIMEHAAAF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CNEIMEHAAAF_proto_init() } +func file_Unk2700_CNEIMEHAAAF_proto_init() { + if File_Unk2700_CNEIMEHAAAF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CNEIMEHAAAF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CNEIMEHAAAF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CNEIMEHAAAF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CNEIMEHAAAF_proto_goTypes, + DependencyIndexes: file_Unk2700_CNEIMEHAAAF_proto_depIdxs, + MessageInfos: file_Unk2700_CNEIMEHAAAF_proto_msgTypes, + }.Build() + File_Unk2700_CNEIMEHAAAF_proto = out.File + file_Unk2700_CNEIMEHAAAF_proto_rawDesc = nil + file_Unk2700_CNEIMEHAAAF_proto_goTypes = nil + file_Unk2700_CNEIMEHAAAF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.proto b/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.proto new file mode 100644 index 00000000..109716e3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CNEIMEHAAAF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8903 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CNEIMEHAAAF { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.pb.go b/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.pb.go new file mode 100644 index 00000000..53750d3e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CNNJKJFHGGD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8264 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CNNJKJFHGGD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ABJAKBCPEEC []uint32 `protobuf:"varint,11,rep,packed,name=Unk2700_ABJAKBCPEEC,json=Unk2700ABJAKBCPEEC,proto3" json:"Unk2700_ABJAKBCPEEC,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_CNNJKJFHGGD) Reset() { + *x = Unk2700_CNNJKJFHGGD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CNNJKJFHGGD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CNNJKJFHGGD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CNNJKJFHGGD) ProtoMessage() {} + +func (x *Unk2700_CNNJKJFHGGD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CNNJKJFHGGD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CNNJKJFHGGD.ProtoReflect.Descriptor instead. +func (*Unk2700_CNNJKJFHGGD) Descriptor() ([]byte, []int) { + return file_Unk2700_CNNJKJFHGGD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CNNJKJFHGGD) GetUnk2700_ABJAKBCPEEC() []uint32 { + if x != nil { + return x.Unk2700_ABJAKBCPEEC + } + return nil +} + +func (x *Unk2700_CNNJKJFHGGD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_CNNJKJFHGGD_proto protoreflect.FileDescriptor + +var file_Unk2700_CNNJKJFHGGD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x4e, 0x4a, 0x4b, 0x4a, + 0x46, 0x48, 0x47, 0x47, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x4e, 0x4a, 0x4b, 0x4a, 0x46, 0x48, 0x47, + 0x47, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x42, + 0x4a, 0x41, 0x4b, 0x42, 0x43, 0x50, 0x45, 0x45, 0x43, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x42, 0x4a, 0x41, 0x4b, 0x42, 0x43, 0x50, + 0x45, 0x45, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_CNNJKJFHGGD_proto_rawDescOnce sync.Once + file_Unk2700_CNNJKJFHGGD_proto_rawDescData = file_Unk2700_CNNJKJFHGGD_proto_rawDesc +) + +func file_Unk2700_CNNJKJFHGGD_proto_rawDescGZIP() []byte { + file_Unk2700_CNNJKJFHGGD_proto_rawDescOnce.Do(func() { + file_Unk2700_CNNJKJFHGGD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CNNJKJFHGGD_proto_rawDescData) + }) + return file_Unk2700_CNNJKJFHGGD_proto_rawDescData +} + +var file_Unk2700_CNNJKJFHGGD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CNNJKJFHGGD_proto_goTypes = []interface{}{ + (*Unk2700_CNNJKJFHGGD)(nil), // 0: Unk2700_CNNJKJFHGGD +} +var file_Unk2700_CNNJKJFHGGD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CNNJKJFHGGD_proto_init() } +func file_Unk2700_CNNJKJFHGGD_proto_init() { + if File_Unk2700_CNNJKJFHGGD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CNNJKJFHGGD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CNNJKJFHGGD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CNNJKJFHGGD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CNNJKJFHGGD_proto_goTypes, + DependencyIndexes: file_Unk2700_CNNJKJFHGGD_proto_depIdxs, + MessageInfos: file_Unk2700_CNNJKJFHGGD_proto_msgTypes, + }.Build() + File_Unk2700_CNNJKJFHGGD_proto = out.File + file_Unk2700_CNNJKJFHGGD_proto_rawDesc = nil + file_Unk2700_CNNJKJFHGGD_proto_goTypes = nil + file_Unk2700_CNNJKJFHGGD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.proto b/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.proto new file mode 100644 index 00000000..448a4759 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CNNJKJFHGGD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8264 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CNNJKJFHGGD { + repeated uint32 Unk2700_ABJAKBCPEEC = 11; + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.pb.go b/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.pb.go new file mode 100644 index 00000000..bc993e43 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_COGBIJAPDLE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8535 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_COGBIJAPDLE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_COGBIJAPDLE) Reset() { + *x = Unk2700_COGBIJAPDLE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_COGBIJAPDLE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_COGBIJAPDLE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_COGBIJAPDLE) ProtoMessage() {} + +func (x *Unk2700_COGBIJAPDLE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_COGBIJAPDLE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_COGBIJAPDLE.ProtoReflect.Descriptor instead. +func (*Unk2700_COGBIJAPDLE) Descriptor() ([]byte, []int) { + return file_Unk2700_COGBIJAPDLE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_COGBIJAPDLE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_COGBIJAPDLE_proto protoreflect.FileDescriptor + +var file_Unk2700_COGBIJAPDLE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x47, 0x42, 0x49, 0x4a, + 0x41, 0x50, 0x44, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x47, 0x42, 0x49, 0x4a, 0x41, 0x50, 0x44, + 0x4c, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_COGBIJAPDLE_proto_rawDescOnce sync.Once + file_Unk2700_COGBIJAPDLE_proto_rawDescData = file_Unk2700_COGBIJAPDLE_proto_rawDesc +) + +func file_Unk2700_COGBIJAPDLE_proto_rawDescGZIP() []byte { + file_Unk2700_COGBIJAPDLE_proto_rawDescOnce.Do(func() { + file_Unk2700_COGBIJAPDLE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_COGBIJAPDLE_proto_rawDescData) + }) + return file_Unk2700_COGBIJAPDLE_proto_rawDescData +} + +var file_Unk2700_COGBIJAPDLE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_COGBIJAPDLE_proto_goTypes = []interface{}{ + (*Unk2700_COGBIJAPDLE)(nil), // 0: Unk2700_COGBIJAPDLE +} +var file_Unk2700_COGBIJAPDLE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_COGBIJAPDLE_proto_init() } +func file_Unk2700_COGBIJAPDLE_proto_init() { + if File_Unk2700_COGBIJAPDLE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_COGBIJAPDLE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_COGBIJAPDLE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_COGBIJAPDLE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_COGBIJAPDLE_proto_goTypes, + DependencyIndexes: file_Unk2700_COGBIJAPDLE_proto_depIdxs, + MessageInfos: file_Unk2700_COGBIJAPDLE_proto_msgTypes, + }.Build() + File_Unk2700_COGBIJAPDLE_proto = out.File + file_Unk2700_COGBIJAPDLE_proto_rawDesc = nil + file_Unk2700_COGBIJAPDLE_proto_goTypes = nil + file_Unk2700_COGBIJAPDLE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.proto b/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.proto new file mode 100644 index 00000000..3a32a5b4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_COGBIJAPDLE.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8535 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_COGBIJAPDLE { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.pb.go b/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.pb.go new file mode 100644 index 00000000..91d41d8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CPDDDMPAIDL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8817 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CPDDDMPAIDL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,10,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` + CardId uint32 `protobuf:"varint,13,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + LevelId uint32 `protobuf:"varint,14,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_CPDDDMPAIDL) Reset() { + *x = Unk2700_CPDDDMPAIDL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CPDDDMPAIDL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CPDDDMPAIDL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CPDDDMPAIDL) ProtoMessage() {} + +func (x *Unk2700_CPDDDMPAIDL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CPDDDMPAIDL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CPDDDMPAIDL.ProtoReflect.Descriptor instead. +func (*Unk2700_CPDDDMPAIDL) Descriptor() ([]byte, []int) { + return file_Unk2700_CPDDDMPAIDL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CPDDDMPAIDL) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +func (x *Unk2700_CPDDDMPAIDL) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *Unk2700_CPDDDMPAIDL) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_CPDDDMPAIDL) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_CPDDDMPAIDL_proto protoreflect.FileDescriptor + +var file_Unk2700_CPDDDMPAIDL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x44, 0x44, 0x44, 0x4d, + 0x50, 0x41, 0x49, 0x44, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x44, 0x44, 0x44, 0x4d, 0x50, 0x41, + 0x49, 0x44, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, + 0x4d, 0x43, 0x46, 0x46, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CPDDDMPAIDL_proto_rawDescOnce sync.Once + file_Unk2700_CPDDDMPAIDL_proto_rawDescData = file_Unk2700_CPDDDMPAIDL_proto_rawDesc +) + +func file_Unk2700_CPDDDMPAIDL_proto_rawDescGZIP() []byte { + file_Unk2700_CPDDDMPAIDL_proto_rawDescOnce.Do(func() { + file_Unk2700_CPDDDMPAIDL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CPDDDMPAIDL_proto_rawDescData) + }) + return file_Unk2700_CPDDDMPAIDL_proto_rawDescData +} + +var file_Unk2700_CPDDDMPAIDL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CPDDDMPAIDL_proto_goTypes = []interface{}{ + (*Unk2700_CPDDDMPAIDL)(nil), // 0: Unk2700_CPDDDMPAIDL +} +var file_Unk2700_CPDDDMPAIDL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CPDDDMPAIDL_proto_init() } +func file_Unk2700_CPDDDMPAIDL_proto_init() { + if File_Unk2700_CPDDDMPAIDL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CPDDDMPAIDL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CPDDDMPAIDL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CPDDDMPAIDL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CPDDDMPAIDL_proto_goTypes, + DependencyIndexes: file_Unk2700_CPDDDMPAIDL_proto_depIdxs, + MessageInfos: file_Unk2700_CPDDDMPAIDL_proto_msgTypes, + }.Build() + File_Unk2700_CPDDDMPAIDL_proto = out.File + file_Unk2700_CPDDDMPAIDL_proto_rawDesc = nil + file_Unk2700_CPDDDMPAIDL_proto_goTypes = nil + file_Unk2700_CPDDDMPAIDL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.proto b/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.proto new file mode 100644 index 00000000..4cc5f3c5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPDDDMPAIDL.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8817 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CPDDDMPAIDL { + bool Unk2700_PHGMKGEMCFF = 10; + uint32 card_id = 13; + uint32 level_id = 14; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.pb.go b/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.pb.go new file mode 100644 index 00000000..ea5c1ce8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CPEMGFIMICD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8588 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_CPEMGFIMICD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LKBHLHIHJGL uint32 `protobuf:"varint,1,opt,name=Unk2700_LKBHLHIHJGL,json=Unk2700LKBHLHIHJGL,proto3" json:"Unk2700_LKBHLHIHJGL,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_CPEMGFIMICD) Reset() { + *x = Unk2700_CPEMGFIMICD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CPEMGFIMICD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CPEMGFIMICD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CPEMGFIMICD) ProtoMessage() {} + +func (x *Unk2700_CPEMGFIMICD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CPEMGFIMICD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CPEMGFIMICD.ProtoReflect.Descriptor instead. +func (*Unk2700_CPEMGFIMICD) Descriptor() ([]byte, []int) { + return file_Unk2700_CPEMGFIMICD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CPEMGFIMICD) GetUnk2700_LKBHLHIHJGL() uint32 { + if x != nil { + return x.Unk2700_LKBHLHIHJGL + } + return 0 +} + +func (x *Unk2700_CPEMGFIMICD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_CPEMGFIMICD_proto protoreflect.FileDescriptor + +var file_Unk2700_CPEMGFIMICD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x45, 0x4d, 0x47, 0x46, + 0x49, 0x4d, 0x49, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x45, 0x4d, 0x47, 0x46, 0x49, 0x4d, 0x49, + 0x43, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, + 0x42, 0x48, 0x4c, 0x48, 0x49, 0x48, 0x4a, 0x47, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4b, 0x42, 0x48, 0x4c, 0x48, 0x49, 0x48, + 0x4a, 0x47, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_CPEMGFIMICD_proto_rawDescOnce sync.Once + file_Unk2700_CPEMGFIMICD_proto_rawDescData = file_Unk2700_CPEMGFIMICD_proto_rawDesc +) + +func file_Unk2700_CPEMGFIMICD_proto_rawDescGZIP() []byte { + file_Unk2700_CPEMGFIMICD_proto_rawDescOnce.Do(func() { + file_Unk2700_CPEMGFIMICD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CPEMGFIMICD_proto_rawDescData) + }) + return file_Unk2700_CPEMGFIMICD_proto_rawDescData +} + +var file_Unk2700_CPEMGFIMICD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CPEMGFIMICD_proto_goTypes = []interface{}{ + (*Unk2700_CPEMGFIMICD)(nil), // 0: Unk2700_CPEMGFIMICD +} +var file_Unk2700_CPEMGFIMICD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CPEMGFIMICD_proto_init() } +func file_Unk2700_CPEMGFIMICD_proto_init() { + if File_Unk2700_CPEMGFIMICD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CPEMGFIMICD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CPEMGFIMICD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CPEMGFIMICD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CPEMGFIMICD_proto_goTypes, + DependencyIndexes: file_Unk2700_CPEMGFIMICD_proto_depIdxs, + MessageInfos: file_Unk2700_CPEMGFIMICD_proto_msgTypes, + }.Build() + File_Unk2700_CPEMGFIMICD_proto = out.File + file_Unk2700_CPEMGFIMICD_proto_rawDesc = nil + file_Unk2700_CPEMGFIMICD_proto_goTypes = nil + file_Unk2700_CPEMGFIMICD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.proto b/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.proto new file mode 100644 index 00000000..789b4f03 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPEMGFIMICD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8588 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_CPEMGFIMICD { + uint32 Unk2700_LKBHLHIHJGL = 1; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.pb.go b/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.pb.go new file mode 100644 index 00000000..266d37dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_CPNDLPDOPGN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_CPNDLPDOPGN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,3,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + Timestamp uint32 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"` + Lang uint32 `protobuf:"varint,13,opt,name=lang,proto3" json:"lang,omitempty"` +} + +func (x *Unk2700_CPNDLPDOPGN) Reset() { + *x = Unk2700_CPNDLPDOPGN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_CPNDLPDOPGN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_CPNDLPDOPGN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_CPNDLPDOPGN) ProtoMessage() {} + +func (x *Unk2700_CPNDLPDOPGN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_CPNDLPDOPGN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_CPNDLPDOPGN.ProtoReflect.Descriptor instead. +func (*Unk2700_CPNDLPDOPGN) Descriptor() ([]byte, []int) { + return file_Unk2700_CPNDLPDOPGN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_CPNDLPDOPGN) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_CPNDLPDOPGN) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_CPNDLPDOPGN) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *Unk2700_CPNDLPDOPGN) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +func (x *Unk2700_CPNDLPDOPGN) GetLang() uint32 { + if x != nil { + return x.Lang + } + return 0 +} + +var File_Unk2700_CPNDLPDOPGN_proto protoreflect.FileDescriptor + +var file_Unk2700_CPNDLPDOPGN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x4e, 0x44, 0x4c, 0x50, + 0x44, 0x4f, 0x50, 0x47, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x4e, 0x44, 0x4c, 0x50, 0x44, 0x4f, + 0x50, 0x47, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, + 0x41, 0x42, 0x4f, 0x45, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_CPNDLPDOPGN_proto_rawDescOnce sync.Once + file_Unk2700_CPNDLPDOPGN_proto_rawDescData = file_Unk2700_CPNDLPDOPGN_proto_rawDesc +) + +func file_Unk2700_CPNDLPDOPGN_proto_rawDescGZIP() []byte { + file_Unk2700_CPNDLPDOPGN_proto_rawDescOnce.Do(func() { + file_Unk2700_CPNDLPDOPGN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_CPNDLPDOPGN_proto_rawDescData) + }) + return file_Unk2700_CPNDLPDOPGN_proto_rawDescData +} + +var file_Unk2700_CPNDLPDOPGN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_CPNDLPDOPGN_proto_goTypes = []interface{}{ + (*Unk2700_CPNDLPDOPGN)(nil), // 0: Unk2700_CPNDLPDOPGN +} +var file_Unk2700_CPNDLPDOPGN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_CPNDLPDOPGN_proto_init() } +func file_Unk2700_CPNDLPDOPGN_proto_init() { + if File_Unk2700_CPNDLPDOPGN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_CPNDLPDOPGN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_CPNDLPDOPGN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_CPNDLPDOPGN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_CPNDLPDOPGN_proto_goTypes, + DependencyIndexes: file_Unk2700_CPNDLPDOPGN_proto_depIdxs, + MessageInfos: file_Unk2700_CPNDLPDOPGN_proto_msgTypes, + }.Build() + File_Unk2700_CPNDLPDOPGN_proto = out.File + file_Unk2700_CPNDLPDOPGN_proto_rawDesc = nil + file_Unk2700_CPNDLPDOPGN_proto_goTypes = nil + file_Unk2700_CPNDLPDOPGN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.proto b/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.proto new file mode 100644 index 00000000..b11509e8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_CPNDLPDOPGN.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_CPNDLPDOPGN { + uint64 Unk2700_ONOOJBEABOE = 3; + uint32 uid = 15; + uint32 timestamp = 4; + string region = 11; + uint32 lang = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.pb.go new file mode 100644 index 00000000..1e423004 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.pb.go @@ -0,0 +1,250 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DAGJNGODABM_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6329 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_DAGJNGODABM_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,11,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` + // Types that are assignable to Unk2700_MIPPJKBFLOO: + // *Unk2700_DAGJNGODABM_ClientReq_MusicRecord + Unk2700_MIPPJKBFLOO isUnk2700_DAGJNGODABM_ClientReq_Unk2700_MIPPJKBFLOO `protobuf_oneof:"Unk2700_MIPPJKBFLOO"` + // Types that are assignable to Unk2700_ILHNBMNOMHO: + // *Unk2700_DAGJNGODABM_ClientReq_MusicBriefInfo + Unk2700_ILHNBMNOMHO isUnk2700_DAGJNGODABM_ClientReq_Unk2700_ILHNBMNOMHO `protobuf_oneof:"Unk2700_ILHNBMNOMHO"` +} + +func (x *Unk2700_DAGJNGODABM_ClientReq) Reset() { + *x = Unk2700_DAGJNGODABM_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DAGJNGODABM_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DAGJNGODABM_ClientReq) ProtoMessage() {} + +func (x *Unk2700_DAGJNGODABM_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DAGJNGODABM_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_DAGJNGODABM_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DAGJNGODABM_ClientReq) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +func (m *Unk2700_DAGJNGODABM_ClientReq) GetUnk2700_MIPPJKBFLOO() isUnk2700_DAGJNGODABM_ClientReq_Unk2700_MIPPJKBFLOO { + if m != nil { + return m.Unk2700_MIPPJKBFLOO + } + return nil +} + +func (x *Unk2700_DAGJNGODABM_ClientReq) GetMusicRecord() *MusicRecord { + if x, ok := x.GetUnk2700_MIPPJKBFLOO().(*Unk2700_DAGJNGODABM_ClientReq_MusicRecord); ok { + return x.MusicRecord + } + return nil +} + +func (m *Unk2700_DAGJNGODABM_ClientReq) GetUnk2700_ILHNBMNOMHO() isUnk2700_DAGJNGODABM_ClientReq_Unk2700_ILHNBMNOMHO { + if m != nil { + return m.Unk2700_ILHNBMNOMHO + } + return nil +} + +func (x *Unk2700_DAGJNGODABM_ClientReq) GetMusicBriefInfo() *MusicBriefInfo { + if x, ok := x.GetUnk2700_ILHNBMNOMHO().(*Unk2700_DAGJNGODABM_ClientReq_MusicBriefInfo); ok { + return x.MusicBriefInfo + } + return nil +} + +type isUnk2700_DAGJNGODABM_ClientReq_Unk2700_MIPPJKBFLOO interface { + isUnk2700_DAGJNGODABM_ClientReq_Unk2700_MIPPJKBFLOO() +} + +type Unk2700_DAGJNGODABM_ClientReq_MusicRecord struct { + MusicRecord *MusicRecord `protobuf:"bytes,2,opt,name=music_record,json=musicRecord,proto3,oneof"` +} + +func (*Unk2700_DAGJNGODABM_ClientReq_MusicRecord) isUnk2700_DAGJNGODABM_ClientReq_Unk2700_MIPPJKBFLOO() { +} + +type isUnk2700_DAGJNGODABM_ClientReq_Unk2700_ILHNBMNOMHO interface { + isUnk2700_DAGJNGODABM_ClientReq_Unk2700_ILHNBMNOMHO() +} + +type Unk2700_DAGJNGODABM_ClientReq_MusicBriefInfo struct { + MusicBriefInfo *MusicBriefInfo `protobuf:"bytes,1488,opt,name=music_brief_info,json=musicBriefInfo,proto3,oneof"` +} + +func (*Unk2700_DAGJNGODABM_ClientReq_MusicBriefInfo) isUnk2700_DAGJNGODABM_ClientReq_Unk2700_ILHNBMNOMHO() { +} + +var File_Unk2700_DAGJNGODABM_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x41, 0x47, 0x4a, 0x4e, 0x47, + 0x4f, 0x44, 0x41, 0x42, 0x4d, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x75, 0x73, + 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, + 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x02, 0x0a, 0x1d, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x41, 0x47, 0x4a, 0x4e, 0x47, 0x4f, 0x44, 0x41, 0x42, + 0x4d, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, + 0x4a, 0x41, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, + 0x4a, 0x41, 0x12, 0x31, 0x0a, 0x0c, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x10, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, + 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd0, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x01, 0x52, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x49, 0x50, 0x50, 0x4a, 0x4b, 0x42, 0x46, 0x4c, 0x4f, 0x4f, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x48, 0x4e, 0x42, 0x4d, 0x4e, 0x4f, 0x4d, 0x48, + 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescData = file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDesc +) + +func file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescData) + }) + return file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDescData +} + +var file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DAGJNGODABM_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_DAGJNGODABM_ClientReq)(nil), // 0: Unk2700_DAGJNGODABM_ClientReq + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL + (*MusicRecord)(nil), // 2: MusicRecord + (*MusicBriefInfo)(nil), // 3: MusicBriefInfo +} +var file_Unk2700_DAGJNGODABM_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DAGJNGODABM_ClientReq.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 2, // 1: Unk2700_DAGJNGODABM_ClientReq.music_record:type_name -> MusicRecord + 3, // 2: Unk2700_DAGJNGODABM_ClientReq.music_brief_info:type_name -> MusicBriefInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_DAGJNGODABM_ClientReq_proto_init() } +func file_Unk2700_DAGJNGODABM_ClientReq_proto_init() { + if File_Unk2700_DAGJNGODABM_ClientReq_proto != nil { + return + } + file_MusicBriefInfo_proto_init() + file_MusicRecord_proto_init() + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DAGJNGODABM_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_DAGJNGODABM_ClientReq_MusicRecord)(nil), + (*Unk2700_DAGJNGODABM_ClientReq_MusicBriefInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DAGJNGODABM_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_DAGJNGODABM_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_DAGJNGODABM_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_DAGJNGODABM_ClientReq_proto = out.File + file_Unk2700_DAGJNGODABM_ClientReq_proto_rawDesc = nil + file_Unk2700_DAGJNGODABM_ClientReq_proto_goTypes = nil + file_Unk2700_DAGJNGODABM_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.proto new file mode 100644 index 00000000..a38a8eaa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DAGJNGODABM_ClientReq.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MusicBriefInfo.proto"; +import "MusicRecord.proto"; +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6329 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_DAGJNGODABM_ClientReq { + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 11; + oneof Unk2700_MIPPJKBFLOO { + MusicRecord music_record = 2; + } + oneof Unk2700_ILHNBMNOMHO { + MusicBriefInfo music_brief_info = 1488; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.pb.go b/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.pb.go new file mode 100644 index 00000000..fccb9d12 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DBPDHLEGOLB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8127 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_DBPDHLEGOLB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,5,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_DBPDHLEGOLB) Reset() { + *x = Unk2700_DBPDHLEGOLB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DBPDHLEGOLB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DBPDHLEGOLB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DBPDHLEGOLB) ProtoMessage() {} + +func (x *Unk2700_DBPDHLEGOLB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DBPDHLEGOLB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DBPDHLEGOLB.ProtoReflect.Descriptor instead. +func (*Unk2700_DBPDHLEGOLB) Descriptor() ([]byte, []int) { + return file_Unk2700_DBPDHLEGOLB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DBPDHLEGOLB) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_DBPDHLEGOLB_proto protoreflect.FileDescriptor + +var file_Unk2700_DBPDHLEGOLB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x42, 0x50, 0x44, 0x48, 0x4c, + 0x45, 0x47, 0x4f, 0x4c, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x42, 0x50, 0x44, 0x48, 0x4c, 0x45, 0x47, 0x4f, + 0x4c, 0x42, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_DBPDHLEGOLB_proto_rawDescOnce sync.Once + file_Unk2700_DBPDHLEGOLB_proto_rawDescData = file_Unk2700_DBPDHLEGOLB_proto_rawDesc +) + +func file_Unk2700_DBPDHLEGOLB_proto_rawDescGZIP() []byte { + file_Unk2700_DBPDHLEGOLB_proto_rawDescOnce.Do(func() { + file_Unk2700_DBPDHLEGOLB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DBPDHLEGOLB_proto_rawDescData) + }) + return file_Unk2700_DBPDHLEGOLB_proto_rawDescData +} + +var file_Unk2700_DBPDHLEGOLB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DBPDHLEGOLB_proto_goTypes = []interface{}{ + (*Unk2700_DBPDHLEGOLB)(nil), // 0: Unk2700_DBPDHLEGOLB +} +var file_Unk2700_DBPDHLEGOLB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DBPDHLEGOLB_proto_init() } +func file_Unk2700_DBPDHLEGOLB_proto_init() { + if File_Unk2700_DBPDHLEGOLB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DBPDHLEGOLB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DBPDHLEGOLB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DBPDHLEGOLB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DBPDHLEGOLB_proto_goTypes, + DependencyIndexes: file_Unk2700_DBPDHLEGOLB_proto_depIdxs, + MessageInfos: file_Unk2700_DBPDHLEGOLB_proto_msgTypes, + }.Build() + File_Unk2700_DBPDHLEGOLB_proto = out.File + file_Unk2700_DBPDHLEGOLB_proto_rawDesc = nil + file_Unk2700_DBPDHLEGOLB_proto_goTypes = nil + file_Unk2700_DBPDHLEGOLB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.proto b/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.proto new file mode 100644 index 00000000..694908c3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DBPDHLEGOLB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8127 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_DBPDHLEGOLB { + uint32 stage_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.pb.go b/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.pb.go new file mode 100644 index 00000000..2521a56a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DCBEFDDECOJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8858 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_DCBEFDDECOJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_INIBKFPMCFO []*Unk2700_PKAPCOBGIJL `protobuf:"bytes,8,rep,name=Unk2700_INIBKFPMCFO,json=Unk2700INIBKFPMCFO,proto3" json:"Unk2700_INIBKFPMCFO,omitempty"` + LevelId uint32 `protobuf:"varint,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_CBPNPEBMPOH bool `protobuf:"varint,15,opt,name=Unk2700_CBPNPEBMPOH,json=Unk2700CBPNPEBMPOH,proto3" json:"Unk2700_CBPNPEBMPOH,omitempty"` + DifficultyId uint32 `protobuf:"varint,11,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` + Unk2700_EONPKLLJHPH []*Unk2700_ADIGEBEIJBA `protobuf:"bytes,3,rep,name=Unk2700_EONPKLLJHPH,json=Unk2700EONPKLLJHPH,proto3" json:"Unk2700_EONPKLLJHPH,omitempty"` + Unk2700_FIGHJIFINKI uint32 `protobuf:"varint,7,opt,name=Unk2700_FIGHJIFINKI,json=Unk2700FIGHJIFINKI,proto3" json:"Unk2700_FIGHJIFINKI,omitempty"` +} + +func (x *Unk2700_DCBEFDDECOJ) Reset() { + *x = Unk2700_DCBEFDDECOJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DCBEFDDECOJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DCBEFDDECOJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DCBEFDDECOJ) ProtoMessage() {} + +func (x *Unk2700_DCBEFDDECOJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DCBEFDDECOJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DCBEFDDECOJ.ProtoReflect.Descriptor instead. +func (*Unk2700_DCBEFDDECOJ) Descriptor() ([]byte, []int) { + return file_Unk2700_DCBEFDDECOJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DCBEFDDECOJ) GetUnk2700_INIBKFPMCFO() []*Unk2700_PKAPCOBGIJL { + if x != nil { + return x.Unk2700_INIBKFPMCFO + } + return nil +} + +func (x *Unk2700_DCBEFDDECOJ) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_DCBEFDDECOJ) GetUnk2700_CBPNPEBMPOH() bool { + if x != nil { + return x.Unk2700_CBPNPEBMPOH + } + return false +} + +func (x *Unk2700_DCBEFDDECOJ) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +func (x *Unk2700_DCBEFDDECOJ) GetUnk2700_EONPKLLJHPH() []*Unk2700_ADIGEBEIJBA { + if x != nil { + return x.Unk2700_EONPKLLJHPH + } + return nil +} + +func (x *Unk2700_DCBEFDDECOJ) GetUnk2700_FIGHJIFINKI() uint32 { + if x != nil { + return x.Unk2700_FIGHJIFINKI + } + return 0 +} + +var File_Unk2700_DCBEFDDECOJ_proto protoreflect.FileDescriptor + +var file_Unk2700_DCBEFDDECOJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x42, 0x45, 0x46, 0x44, + 0x44, 0x45, 0x43, 0x4f, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x49, 0x47, 0x45, 0x42, 0x45, 0x49, 0x4a, 0x42, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, 0x42, 0x47, 0x49, 0x4a, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc5, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x43, + 0x42, 0x45, 0x46, 0x44, 0x44, 0x45, 0x43, 0x4f, 0x4a, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, 0x42, 0x47, 0x49, 0x4a, 0x4c, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4e, 0x49, 0x42, 0x4b, 0x46, 0x50, 0x4d, 0x43, 0x46, 0x4f, + 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x50, 0x4e, 0x50, 0x45, 0x42, 0x4d, 0x50, + 0x4f, 0x48, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x43, 0x42, 0x50, 0x4e, 0x50, 0x45, 0x42, 0x4d, 0x50, 0x4f, 0x48, 0x12, 0x23, 0x0a, 0x0d, + 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x4e, + 0x50, 0x4b, 0x4c, 0x4c, 0x4a, 0x48, 0x50, 0x48, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x49, 0x47, 0x45, 0x42, 0x45, + 0x49, 0x4a, 0x42, 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4f, 0x4e, + 0x50, 0x4b, 0x4c, 0x4c, 0x4a, 0x48, 0x50, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x49, 0x47, 0x48, 0x4a, 0x49, 0x46, 0x49, 0x4e, 0x4b, 0x49, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x49, + 0x47, 0x48, 0x4a, 0x49, 0x46, 0x49, 0x4e, 0x4b, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DCBEFDDECOJ_proto_rawDescOnce sync.Once + file_Unk2700_DCBEFDDECOJ_proto_rawDescData = file_Unk2700_DCBEFDDECOJ_proto_rawDesc +) + +func file_Unk2700_DCBEFDDECOJ_proto_rawDescGZIP() []byte { + file_Unk2700_DCBEFDDECOJ_proto_rawDescOnce.Do(func() { + file_Unk2700_DCBEFDDECOJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DCBEFDDECOJ_proto_rawDescData) + }) + return file_Unk2700_DCBEFDDECOJ_proto_rawDescData +} + +var file_Unk2700_DCBEFDDECOJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DCBEFDDECOJ_proto_goTypes = []interface{}{ + (*Unk2700_DCBEFDDECOJ)(nil), // 0: Unk2700_DCBEFDDECOJ + (*Unk2700_PKAPCOBGIJL)(nil), // 1: Unk2700_PKAPCOBGIJL + (*Unk2700_ADIGEBEIJBA)(nil), // 2: Unk2700_ADIGEBEIJBA +} +var file_Unk2700_DCBEFDDECOJ_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DCBEFDDECOJ.Unk2700_INIBKFPMCFO:type_name -> Unk2700_PKAPCOBGIJL + 2, // 1: Unk2700_DCBEFDDECOJ.Unk2700_EONPKLLJHPH:type_name -> Unk2700_ADIGEBEIJBA + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_DCBEFDDECOJ_proto_init() } +func file_Unk2700_DCBEFDDECOJ_proto_init() { + if File_Unk2700_DCBEFDDECOJ_proto != nil { + return + } + file_Unk2700_ADIGEBEIJBA_proto_init() + file_Unk2700_PKAPCOBGIJL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DCBEFDDECOJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DCBEFDDECOJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DCBEFDDECOJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DCBEFDDECOJ_proto_goTypes, + DependencyIndexes: file_Unk2700_DCBEFDDECOJ_proto_depIdxs, + MessageInfos: file_Unk2700_DCBEFDDECOJ_proto_msgTypes, + }.Build() + File_Unk2700_DCBEFDDECOJ_proto = out.File + file_Unk2700_DCBEFDDECOJ_proto_rawDesc = nil + file_Unk2700_DCBEFDDECOJ_proto_goTypes = nil + file_Unk2700_DCBEFDDECOJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.proto b/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.proto new file mode 100644 index 00000000..30530cdc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DCBEFDDECOJ.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_ADIGEBEIJBA.proto"; +import "Unk2700_PKAPCOBGIJL.proto"; + +option go_package = "./;proto"; + +// CmdId: 8858 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_DCBEFDDECOJ { + repeated Unk2700_PKAPCOBGIJL Unk2700_INIBKFPMCFO = 8; + uint32 level_id = 1; + bool Unk2700_CBPNPEBMPOH = 15; + uint32 difficulty_id = 11; + repeated Unk2700_ADIGEBEIJBA Unk2700_EONPKLLJHPH = 3; + uint32 Unk2700_FIGHJIFINKI = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.pb.go new file mode 100644 index 00000000..fb2c93ec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DCKKCAJCNKP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6207 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_DCKKCAJCNKP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,14,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Unk2700_MPNOBKBMDFG []*Unk2700_IGJLOMCPLLE `protobuf:"bytes,9,rep,name=Unk2700_MPNOBKBMDFG,json=Unk2700MPNOBKBMDFG,proto3" json:"Unk2700_MPNOBKBMDFG,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) Reset() { + *x = Unk2700_DCKKCAJCNKP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DCKKCAJCNKP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DCKKCAJCNKP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_DCKKCAJCNKP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) GetUnk2700_MPNOBKBMDFG() []*Unk2700_IGJLOMCPLLE { + if x != nil { + return x.Unk2700_MPNOBKBMDFG + } + return nil +} + +func (x *Unk2700_DCKKCAJCNKP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_DCKKCAJCNKP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x4b, 0x4b, 0x43, 0x41, + 0x4a, 0x43, 0x4e, 0x4b, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x47, 0x4a, 0x4c, 0x4f, 0x4d, 0x43, 0x50, 0x4c, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x99, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x4b, + 0x4b, 0x43, 0x41, 0x4a, 0x43, 0x4e, 0x4b, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x4e, 0x4f, 0x42, 0x4b, 0x42, 0x4d, 0x44, + 0x46, 0x47, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4a, 0x4c, 0x4f, 0x4d, 0x43, 0x50, 0x4c, 0x4c, 0x45, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x50, 0x4e, 0x4f, 0x42, 0x4b, 0x42, 0x4d, 0x44, + 0x46, 0x47, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescData = file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_DCKKCAJCNKP_ServerRsp)(nil), // 0: Unk2700_DCKKCAJCNKP_ServerRsp + (*Unk2700_IGJLOMCPLLE)(nil), // 1: Unk2700_IGJLOMCPLLE +} +var file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DCKKCAJCNKP_ServerRsp.Unk2700_MPNOBKBMDFG:type_name -> Unk2700_IGJLOMCPLLE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_init() } +func file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_init() { + if File_Unk2700_DCKKCAJCNKP_ServerRsp_proto != nil { + return + } + file_Unk2700_IGJLOMCPLLE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DCKKCAJCNKP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_DCKKCAJCNKP_ServerRsp_proto = out.File + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_rawDesc = nil + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_goTypes = nil + file_Unk2700_DCKKCAJCNKP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.proto new file mode 100644 index 00000000..bef485a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DCKKCAJCNKP_ServerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IGJLOMCPLLE.proto"; + +option go_package = "./;proto"; + +// CmdId: 6207 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_DCKKCAJCNKP_ServerRsp { + uint32 room_id = 14; + repeated Unk2700_IGJLOMCPLLE Unk2700_MPNOBKBMDFG = 9; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.pb.go b/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.pb.go new file mode 100644 index 00000000..6efe151b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DDAHPHCEIIM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8144 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_DDAHPHCEIIM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,9,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_OCIHJFOKHPK *CustomGadgetTreeInfo `protobuf:"bytes,6,opt,name=Unk2700_OCIHJFOKHPK,json=Unk2700OCIHJFOKHPK,proto3" json:"Unk2700_OCIHJFOKHPK,omitempty"` +} + +func (x *Unk2700_DDAHPHCEIIM) Reset() { + *x = Unk2700_DDAHPHCEIIM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DDAHPHCEIIM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DDAHPHCEIIM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DDAHPHCEIIM) ProtoMessage() {} + +func (x *Unk2700_DDAHPHCEIIM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DDAHPHCEIIM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DDAHPHCEIIM.ProtoReflect.Descriptor instead. +func (*Unk2700_DDAHPHCEIIM) Descriptor() ([]byte, []int) { + return file_Unk2700_DDAHPHCEIIM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DDAHPHCEIIM) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk2700_DDAHPHCEIIM) GetUnk2700_OCIHJFOKHPK() *CustomGadgetTreeInfo { + if x != nil { + return x.Unk2700_OCIHJFOKHPK + } + return nil +} + +var File_Unk2700_DDAHPHCEIIM_proto protoreflect.FileDescriptor + +var file_Unk2700_DDAHPHCEIIM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x44, 0x41, 0x48, 0x50, 0x48, + 0x43, 0x45, 0x49, 0x49, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x44, 0x41, 0x48, 0x50, 0x48, 0x43, 0x45, 0x49, 0x49, 0x4d, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, 0x48, + 0x50, 0x4b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, + 0x48, 0x50, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DDAHPHCEIIM_proto_rawDescOnce sync.Once + file_Unk2700_DDAHPHCEIIM_proto_rawDescData = file_Unk2700_DDAHPHCEIIM_proto_rawDesc +) + +func file_Unk2700_DDAHPHCEIIM_proto_rawDescGZIP() []byte { + file_Unk2700_DDAHPHCEIIM_proto_rawDescOnce.Do(func() { + file_Unk2700_DDAHPHCEIIM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DDAHPHCEIIM_proto_rawDescData) + }) + return file_Unk2700_DDAHPHCEIIM_proto_rawDescData +} + +var file_Unk2700_DDAHPHCEIIM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DDAHPHCEIIM_proto_goTypes = []interface{}{ + (*Unk2700_DDAHPHCEIIM)(nil), // 0: Unk2700_DDAHPHCEIIM + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_Unk2700_DDAHPHCEIIM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DDAHPHCEIIM.Unk2700_OCIHJFOKHPK:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DDAHPHCEIIM_proto_init() } +func file_Unk2700_DDAHPHCEIIM_proto_init() { + if File_Unk2700_DDAHPHCEIIM_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DDAHPHCEIIM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DDAHPHCEIIM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DDAHPHCEIIM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DDAHPHCEIIM_proto_goTypes, + DependencyIndexes: file_Unk2700_DDAHPHCEIIM_proto_depIdxs, + MessageInfos: file_Unk2700_DDAHPHCEIIM_proto_msgTypes, + }.Build() + File_Unk2700_DDAHPHCEIIM_proto = out.File + file_Unk2700_DDAHPHCEIIM_proto_rawDesc = nil + file_Unk2700_DDAHPHCEIIM_proto_goTypes = nil + file_Unk2700_DDAHPHCEIIM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.proto b/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.proto new file mode 100644 index 00000000..ae16bfe5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DDAHPHCEIIM.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8144 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_DDAHPHCEIIM { + uint32 entity_id = 9; + CustomGadgetTreeInfo Unk2700_OCIHJFOKHPK = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.pb.go new file mode 100644 index 00000000..e0469016 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DDLBKAMGGEE_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6215 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_DDLBKAMGGEE_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_AMOAHIICCPC *Unk2700_GHHCCEHGKLH `protobuf:"bytes,14,opt,name=Unk2700_AMOAHIICCPC,json=Unk2700AMOAHIICCPC,proto3" json:"Unk2700_AMOAHIICCPC,omitempty"` +} + +func (x *Unk2700_DDLBKAMGGEE_ServerRsp) Reset() { + *x = Unk2700_DDLBKAMGGEE_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DDLBKAMGGEE_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DDLBKAMGGEE_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_DDLBKAMGGEE_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DDLBKAMGGEE_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_DDLBKAMGGEE_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DDLBKAMGGEE_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_DDLBKAMGGEE_ServerRsp) GetUnk2700_AMOAHIICCPC() *Unk2700_GHHCCEHGKLH { + if x != nil { + return x.Unk2700_AMOAHIICCPC + } + return nil +} + +var File_Unk2700_DDLBKAMGGEE_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x44, 0x4c, 0x42, 0x4b, 0x41, + 0x4d, 0x47, 0x47, 0x45, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x48, 0x48, 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x80, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x44, 0x4c, + 0x42, 0x4b, 0x41, 0x4d, 0x47, 0x47, 0x45, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4f, 0x41, 0x48, 0x49, 0x49, 0x43, + 0x43, 0x50, 0x43, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4d, 0x4f, 0x41, 0x48, 0x49, 0x49, 0x43, + 0x43, 0x50, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescData = file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDesc +) + +func file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDescData +} + +var file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_DDLBKAMGGEE_ServerRsp)(nil), // 0: Unk2700_DDLBKAMGGEE_ServerRsp + (*Unk2700_GHHCCEHGKLH)(nil), // 1: Unk2700_GHHCCEHGKLH +} +var file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DDLBKAMGGEE_ServerRsp.Unk2700_AMOAHIICCPC:type_name -> Unk2700_GHHCCEHGKLH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_init() } +func file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_init() { + if File_Unk2700_DDLBKAMGGEE_ServerRsp_proto != nil { + return + } + file_Unk2700_GHHCCEHGKLH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DDLBKAMGGEE_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_DDLBKAMGGEE_ServerRsp_proto = out.File + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_rawDesc = nil + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_goTypes = nil + file_Unk2700_DDLBKAMGGEE_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.proto new file mode 100644 index 00000000..1d0aa325 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DDLBKAMGGEE_ServerRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GHHCCEHGKLH.proto"; + +option go_package = "./;proto"; + +// CmdId: 6215 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_DDLBKAMGGEE_ServerRsp { + int32 retcode = 15; + Unk2700_GHHCCEHGKLH Unk2700_AMOAHIICCPC = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.pb.go b/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.pb.go new file mode 100644 index 00000000..cf086417 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DEDIKDKNAAB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DEDIKDKNAAB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EDLGAFHFDBE bool `protobuf:"varint,5,opt,name=Unk2700_EDLGAFHFDBE,json=Unk2700EDLGAFHFDBE,proto3" json:"Unk2700_EDLGAFHFDBE,omitempty"` +} + +func (x *Unk2700_DEDIKDKNAAB) Reset() { + *x = Unk2700_DEDIKDKNAAB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DEDIKDKNAAB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DEDIKDKNAAB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DEDIKDKNAAB) ProtoMessage() {} + +func (x *Unk2700_DEDIKDKNAAB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DEDIKDKNAAB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DEDIKDKNAAB.ProtoReflect.Descriptor instead. +func (*Unk2700_DEDIKDKNAAB) Descriptor() ([]byte, []int) { + return file_Unk2700_DEDIKDKNAAB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DEDIKDKNAAB) GetUnk2700_EDLGAFHFDBE() bool { + if x != nil { + return x.Unk2700_EDLGAFHFDBE + } + return false +} + +var File_Unk2700_DEDIKDKNAAB_proto protoreflect.FileDescriptor + +var file_Unk2700_DEDIKDKNAAB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x44, 0x49, 0x4b, 0x44, + 0x4b, 0x4e, 0x41, 0x41, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x44, 0x49, 0x4b, 0x44, 0x4b, 0x4e, 0x41, + 0x41, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, + 0x4c, 0x47, 0x41, 0x46, 0x48, 0x46, 0x44, 0x42, 0x45, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x44, 0x4c, 0x47, 0x41, 0x46, 0x48, 0x46, + 0x44, 0x42, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DEDIKDKNAAB_proto_rawDescOnce sync.Once + file_Unk2700_DEDIKDKNAAB_proto_rawDescData = file_Unk2700_DEDIKDKNAAB_proto_rawDesc +) + +func file_Unk2700_DEDIKDKNAAB_proto_rawDescGZIP() []byte { + file_Unk2700_DEDIKDKNAAB_proto_rawDescOnce.Do(func() { + file_Unk2700_DEDIKDKNAAB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DEDIKDKNAAB_proto_rawDescData) + }) + return file_Unk2700_DEDIKDKNAAB_proto_rawDescData +} + +var file_Unk2700_DEDIKDKNAAB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DEDIKDKNAAB_proto_goTypes = []interface{}{ + (*Unk2700_DEDIKDKNAAB)(nil), // 0: Unk2700_DEDIKDKNAAB +} +var file_Unk2700_DEDIKDKNAAB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DEDIKDKNAAB_proto_init() } +func file_Unk2700_DEDIKDKNAAB_proto_init() { + if File_Unk2700_DEDIKDKNAAB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DEDIKDKNAAB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DEDIKDKNAAB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DEDIKDKNAAB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DEDIKDKNAAB_proto_goTypes, + DependencyIndexes: file_Unk2700_DEDIKDKNAAB_proto_depIdxs, + MessageInfos: file_Unk2700_DEDIKDKNAAB_proto_msgTypes, + }.Build() + File_Unk2700_DEDIKDKNAAB_proto = out.File + file_Unk2700_DEDIKDKNAAB_proto_rawDesc = nil + file_Unk2700_DEDIKDKNAAB_proto_goTypes = nil + file_Unk2700_DEDIKDKNAAB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.proto b/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.proto new file mode 100644 index 00000000..11fde46b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DEDIKDKNAAB.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_DEDIKDKNAAB { + bool Unk2700_EDLGAFHFDBE = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.pb.go b/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.pb.go new file mode 100644 index 00000000..3118563b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DFOHGHKAIBO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8442 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_DFOHGHKAIBO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,3,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *Unk2700_DFOHGHKAIBO) Reset() { + *x = Unk2700_DFOHGHKAIBO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DFOHGHKAIBO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DFOHGHKAIBO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DFOHGHKAIBO) ProtoMessage() {} + +func (x *Unk2700_DFOHGHKAIBO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DFOHGHKAIBO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DFOHGHKAIBO.ProtoReflect.Descriptor instead. +func (*Unk2700_DFOHGHKAIBO) Descriptor() ([]byte, []int) { + return file_Unk2700_DFOHGHKAIBO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DFOHGHKAIBO) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_Unk2700_DFOHGHKAIBO_proto protoreflect.FileDescriptor + +var file_Unk2700_DFOHGHKAIBO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x4f, 0x48, 0x47, 0x48, + 0x4b, 0x41, 0x49, 0x42, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x4f, 0x48, 0x47, 0x48, 0x4b, 0x41, 0x49, + 0x42, 0x4f, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_DFOHGHKAIBO_proto_rawDescOnce sync.Once + file_Unk2700_DFOHGHKAIBO_proto_rawDescData = file_Unk2700_DFOHGHKAIBO_proto_rawDesc +) + +func file_Unk2700_DFOHGHKAIBO_proto_rawDescGZIP() []byte { + file_Unk2700_DFOHGHKAIBO_proto_rawDescOnce.Do(func() { + file_Unk2700_DFOHGHKAIBO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DFOHGHKAIBO_proto_rawDescData) + }) + return file_Unk2700_DFOHGHKAIBO_proto_rawDescData +} + +var file_Unk2700_DFOHGHKAIBO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DFOHGHKAIBO_proto_goTypes = []interface{}{ + (*Unk2700_DFOHGHKAIBO)(nil), // 0: Unk2700_DFOHGHKAIBO +} +var file_Unk2700_DFOHGHKAIBO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DFOHGHKAIBO_proto_init() } +func file_Unk2700_DFOHGHKAIBO_proto_init() { + if File_Unk2700_DFOHGHKAIBO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DFOHGHKAIBO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DFOHGHKAIBO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DFOHGHKAIBO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DFOHGHKAIBO_proto_goTypes, + DependencyIndexes: file_Unk2700_DFOHGHKAIBO_proto_depIdxs, + MessageInfos: file_Unk2700_DFOHGHKAIBO_proto_msgTypes, + }.Build() + File_Unk2700_DFOHGHKAIBO_proto = out.File + file_Unk2700_DFOHGHKAIBO_proto_rawDesc = nil + file_Unk2700_DFOHGHKAIBO_proto_goTypes = nil + file_Unk2700_DFOHGHKAIBO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.proto b/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.proto new file mode 100644 index 00000000..3d868e0c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DFOHGHKAIBO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8442 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_DFOHGHKAIBO { + uint32 quest_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.pb.go b/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.pb.go new file mode 100644 index 00000000..e084ff38 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DGDJKHJNLGO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DGDJKHJNLGO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Unk2700_OEFLHAPAMFH []uint64 `protobuf:"varint,2,rep,packed,name=Unk2700_OEFLHAPAMFH,json=Unk2700OEFLHAPAMFH,proto3" json:"Unk2700_OEFLHAPAMFH,omitempty"` + Unk2700_OJNBAOCJBCH []uint64 `protobuf:"varint,3,rep,packed,name=Unk2700_OJNBAOCJBCH,json=Unk2700OJNBAOCJBCH,proto3" json:"Unk2700_OJNBAOCJBCH,omitempty"` + Unk2700_GDDGEKHOLGL []*Unk2700_PGFLJBBEBKG `protobuf:"bytes,4,rep,name=Unk2700_GDDGEKHOLGL,json=Unk2700GDDGEKHOLGL,proto3" json:"Unk2700_GDDGEKHOLGL,omitempty"` +} + +func (x *Unk2700_DGDJKHJNLGO) Reset() { + *x = Unk2700_DGDJKHJNLGO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DGDJKHJNLGO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DGDJKHJNLGO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DGDJKHJNLGO) ProtoMessage() {} + +func (x *Unk2700_DGDJKHJNLGO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DGDJKHJNLGO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DGDJKHJNLGO.ProtoReflect.Descriptor instead. +func (*Unk2700_DGDJKHJNLGO) Descriptor() ([]byte, []int) { + return file_Unk2700_DGDJKHJNLGO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DGDJKHJNLGO) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_DGDJKHJNLGO) GetUnk2700_OEFLHAPAMFH() []uint64 { + if x != nil { + return x.Unk2700_OEFLHAPAMFH + } + return nil +} + +func (x *Unk2700_DGDJKHJNLGO) GetUnk2700_OJNBAOCJBCH() []uint64 { + if x != nil { + return x.Unk2700_OJNBAOCJBCH + } + return nil +} + +func (x *Unk2700_DGDJKHJNLGO) GetUnk2700_GDDGEKHOLGL() []*Unk2700_PGFLJBBEBKG { + if x != nil { + return x.Unk2700_GDDGEKHOLGL + } + return nil +} + +var File_Unk2700_DGDJKHJNLGO_proto protoreflect.FileDescriptor + +var file_Unk2700_DGDJKHJNLGO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x47, 0x44, 0x4a, 0x4b, 0x48, + 0x4a, 0x4e, 0x4c, 0x47, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x47, 0x46, 0x4c, 0x4a, 0x42, 0x42, 0x45, 0x42, 0x4b, 0x47, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x47, 0x44, 0x4a, 0x4b, 0x48, 0x4a, 0x4e, 0x4c, 0x47, 0x4f, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x45, 0x46, 0x4c, + 0x48, 0x41, 0x50, 0x41, 0x4d, 0x46, 0x48, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x45, 0x46, 0x4c, 0x48, 0x41, 0x50, 0x41, 0x4d, 0x46, + 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4e, + 0x42, 0x41, 0x4f, 0x43, 0x4a, 0x42, 0x43, 0x48, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4a, 0x4e, 0x42, 0x41, 0x4f, 0x43, 0x4a, 0x42, + 0x43, 0x48, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x44, + 0x44, 0x47, 0x45, 0x4b, 0x48, 0x4f, 0x4c, 0x47, 0x4c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x47, 0x46, 0x4c, 0x4a, 0x42, + 0x42, 0x45, 0x42, 0x4b, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x44, + 0x44, 0x47, 0x45, 0x4b, 0x48, 0x4f, 0x4c, 0x47, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DGDJKHJNLGO_proto_rawDescOnce sync.Once + file_Unk2700_DGDJKHJNLGO_proto_rawDescData = file_Unk2700_DGDJKHJNLGO_proto_rawDesc +) + +func file_Unk2700_DGDJKHJNLGO_proto_rawDescGZIP() []byte { + file_Unk2700_DGDJKHJNLGO_proto_rawDescOnce.Do(func() { + file_Unk2700_DGDJKHJNLGO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DGDJKHJNLGO_proto_rawDescData) + }) + return file_Unk2700_DGDJKHJNLGO_proto_rawDescData +} + +var file_Unk2700_DGDJKHJNLGO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DGDJKHJNLGO_proto_goTypes = []interface{}{ + (*Unk2700_DGDJKHJNLGO)(nil), // 0: Unk2700_DGDJKHJNLGO + (*Unk2700_PGFLJBBEBKG)(nil), // 1: Unk2700_PGFLJBBEBKG +} +var file_Unk2700_DGDJKHJNLGO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DGDJKHJNLGO.Unk2700_GDDGEKHOLGL:type_name -> Unk2700_PGFLJBBEBKG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DGDJKHJNLGO_proto_init() } +func file_Unk2700_DGDJKHJNLGO_proto_init() { + if File_Unk2700_DGDJKHJNLGO_proto != nil { + return + } + file_Unk2700_PGFLJBBEBKG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DGDJKHJNLGO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DGDJKHJNLGO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DGDJKHJNLGO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DGDJKHJNLGO_proto_goTypes, + DependencyIndexes: file_Unk2700_DGDJKHJNLGO_proto_depIdxs, + MessageInfos: file_Unk2700_DGDJKHJNLGO_proto_msgTypes, + }.Build() + File_Unk2700_DGDJKHJNLGO_proto = out.File + file_Unk2700_DGDJKHJNLGO_proto_rawDesc = nil + file_Unk2700_DGDJKHJNLGO_proto_goTypes = nil + file_Unk2700_DGDJKHJNLGO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.proto b/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.proto new file mode 100644 index 00000000..1d7440dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DGDJKHJNLGO.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_PGFLJBBEBKG.proto"; + +option go_package = "./;proto"; + +message Unk2700_DGDJKHJNLGO { + uint32 uid = 1; + repeated uint64 Unk2700_OEFLHAPAMFH = 2; + repeated uint64 Unk2700_OJNBAOCJBCH = 3; + repeated Unk2700_PGFLJBBEBKG Unk2700_GDDGEKHOLGL = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.pb.go b/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.pb.go new file mode 100644 index 00000000..7dd2e933 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.pb.go @@ -0,0 +1,235 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DGLIANMBMPA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8342 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_DGLIANMBMPA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FHNECPGFPBK uint32 `protobuf:"varint,9,opt,name=Unk2700_FHNECPGFPBK,json=Unk2700FHNECPGFPBK,proto3" json:"Unk2700_FHNECPGFPBK,omitempty"` + Unk2700_OAKEBJPBNMA uint32 `protobuf:"varint,2,opt,name=Unk2700_OAKEBJPBNMA,json=Unk2700OAKEBJPBNMA,proto3" json:"Unk2700_OAKEBJPBNMA,omitempty"` + IsNewRecord bool `protobuf:"varint,7,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + IsSuccess bool `protobuf:"varint,3,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + RemainTime uint32 `protobuf:"varint,4,opt,name=remain_time,json=remainTime,proto3" json:"remain_time,omitempty"` + Score uint32 `protobuf:"varint,11,opt,name=score,proto3" json:"score,omitempty"` + Unk2700_FCOMHLJGFLK uint32 `protobuf:"varint,15,opt,name=Unk2700_FCOMHLJGFLK,json=Unk2700FCOMHLJGFLK,proto3" json:"Unk2700_FCOMHLJGFLK,omitempty"` +} + +func (x *Unk2700_DGLIANMBMPA) Reset() { + *x = Unk2700_DGLIANMBMPA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DGLIANMBMPA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DGLIANMBMPA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DGLIANMBMPA) ProtoMessage() {} + +func (x *Unk2700_DGLIANMBMPA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DGLIANMBMPA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DGLIANMBMPA.ProtoReflect.Descriptor instead. +func (*Unk2700_DGLIANMBMPA) Descriptor() ([]byte, []int) { + return file_Unk2700_DGLIANMBMPA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DGLIANMBMPA) GetUnk2700_FHNECPGFPBK() uint32 { + if x != nil { + return x.Unk2700_FHNECPGFPBK + } + return 0 +} + +func (x *Unk2700_DGLIANMBMPA) GetUnk2700_OAKEBJPBNMA() uint32 { + if x != nil { + return x.Unk2700_OAKEBJPBNMA + } + return 0 +} + +func (x *Unk2700_DGLIANMBMPA) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk2700_DGLIANMBMPA) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk2700_DGLIANMBMPA) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_DGLIANMBMPA) GetRemainTime() uint32 { + if x != nil { + return x.RemainTime + } + return 0 +} + +func (x *Unk2700_DGLIANMBMPA) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_DGLIANMBMPA) GetUnk2700_FCOMHLJGFLK() uint32 { + if x != nil { + return x.Unk2700_FCOMHLJGFLK + } + return 0 +} + +var File_Unk2700_DGLIANMBMPA_proto protoreflect.FileDescriptor + +var file_Unk2700_DGLIANMBMPA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x47, 0x4c, 0x49, 0x41, 0x4e, + 0x4d, 0x42, 0x4d, 0x50, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x47, 0x4c, 0x49, 0x41, 0x4e, 0x4d, 0x42, + 0x4d, 0x50, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, + 0x48, 0x4e, 0x45, 0x43, 0x50, 0x47, 0x46, 0x50, 0x42, 0x4b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x48, 0x4e, 0x45, 0x43, 0x50, 0x47, + 0x46, 0x50, 0x42, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x41, 0x4b, 0x45, 0x42, 0x4a, 0x50, 0x42, 0x4e, 0x4d, 0x41, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x41, 0x4b, 0x45, 0x42, 0x4a, + 0x50, 0x42, 0x4e, 0x4d, 0x41, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, + 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, + 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x69, + 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, + 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x43, 0x4f, 0x4d, 0x48, 0x4c, + 0x4a, 0x47, 0x46, 0x4c, 0x4b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x46, 0x43, 0x4f, 0x4d, 0x48, 0x4c, 0x4a, 0x47, 0x46, 0x4c, 0x4b, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DGLIANMBMPA_proto_rawDescOnce sync.Once + file_Unk2700_DGLIANMBMPA_proto_rawDescData = file_Unk2700_DGLIANMBMPA_proto_rawDesc +) + +func file_Unk2700_DGLIANMBMPA_proto_rawDescGZIP() []byte { + file_Unk2700_DGLIANMBMPA_proto_rawDescOnce.Do(func() { + file_Unk2700_DGLIANMBMPA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DGLIANMBMPA_proto_rawDescData) + }) + return file_Unk2700_DGLIANMBMPA_proto_rawDescData +} + +var file_Unk2700_DGLIANMBMPA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DGLIANMBMPA_proto_goTypes = []interface{}{ + (*Unk2700_DGLIANMBMPA)(nil), // 0: Unk2700_DGLIANMBMPA +} +var file_Unk2700_DGLIANMBMPA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DGLIANMBMPA_proto_init() } +func file_Unk2700_DGLIANMBMPA_proto_init() { + if File_Unk2700_DGLIANMBMPA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DGLIANMBMPA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DGLIANMBMPA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DGLIANMBMPA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DGLIANMBMPA_proto_goTypes, + DependencyIndexes: file_Unk2700_DGLIANMBMPA_proto_depIdxs, + MessageInfos: file_Unk2700_DGLIANMBMPA_proto_msgTypes, + }.Build() + File_Unk2700_DGLIANMBMPA_proto = out.File + file_Unk2700_DGLIANMBMPA_proto_rawDesc = nil + file_Unk2700_DGLIANMBMPA_proto_goTypes = nil + file_Unk2700_DGLIANMBMPA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.proto b/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.proto new file mode 100644 index 00000000..a466b5fe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DGLIANMBMPA.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8342 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_DGLIANMBMPA { + uint32 Unk2700_FHNECPGFPBK = 9; + uint32 Unk2700_OAKEBJPBNMA = 2; + bool is_new_record = 7; + bool is_success = 3; + uint32 gallery_id = 13; + uint32 remain_time = 4; + uint32 score = 11; + uint32 Unk2700_FCOMHLJGFLK = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.pb.go b/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.pb.go new file mode 100644 index 00000000..a775a378 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DIEGJDEIDKO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DIEGJDEIDKO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurProgress uint32 `protobuf:"varint,12,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + Id uint32 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"` + OpenTime uint32 `protobuf:"varint,8,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsFinished bool `protobuf:"varint,10,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + TotalProgress uint32 `protobuf:"varint,9,opt,name=total_progress,json=totalProgress,proto3" json:"total_progress,omitempty"` + Pos *Vector `protobuf:"bytes,5,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *Unk2700_DIEGJDEIDKO) Reset() { + *x = Unk2700_DIEGJDEIDKO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DIEGJDEIDKO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DIEGJDEIDKO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DIEGJDEIDKO) ProtoMessage() {} + +func (x *Unk2700_DIEGJDEIDKO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DIEGJDEIDKO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DIEGJDEIDKO.ProtoReflect.Descriptor instead. +func (*Unk2700_DIEGJDEIDKO) Descriptor() ([]byte, []int) { + return file_Unk2700_DIEGJDEIDKO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DIEGJDEIDKO) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *Unk2700_DIEGJDEIDKO) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_DIEGJDEIDKO) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2700_DIEGJDEIDKO) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk2700_DIEGJDEIDKO) GetTotalProgress() uint32 { + if x != nil { + return x.TotalProgress + } + return 0 +} + +func (x *Unk2700_DIEGJDEIDKO) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_Unk2700_DIEGJDEIDKO_proto protoreflect.FileDescriptor + +var file_Unk2700_DIEGJDEIDKO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, + 0x45, 0x49, 0x44, 0x4b, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x01, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, 0x4b, + 0x4f, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DIEGJDEIDKO_proto_rawDescOnce sync.Once + file_Unk2700_DIEGJDEIDKO_proto_rawDescData = file_Unk2700_DIEGJDEIDKO_proto_rawDesc +) + +func file_Unk2700_DIEGJDEIDKO_proto_rawDescGZIP() []byte { + file_Unk2700_DIEGJDEIDKO_proto_rawDescOnce.Do(func() { + file_Unk2700_DIEGJDEIDKO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DIEGJDEIDKO_proto_rawDescData) + }) + return file_Unk2700_DIEGJDEIDKO_proto_rawDescData +} + +var file_Unk2700_DIEGJDEIDKO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DIEGJDEIDKO_proto_goTypes = []interface{}{ + (*Unk2700_DIEGJDEIDKO)(nil), // 0: Unk2700_DIEGJDEIDKO + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_DIEGJDEIDKO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DIEGJDEIDKO.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DIEGJDEIDKO_proto_init() } +func file_Unk2700_DIEGJDEIDKO_proto_init() { + if File_Unk2700_DIEGJDEIDKO_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DIEGJDEIDKO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DIEGJDEIDKO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DIEGJDEIDKO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DIEGJDEIDKO_proto_goTypes, + DependencyIndexes: file_Unk2700_DIEGJDEIDKO_proto_depIdxs, + MessageInfos: file_Unk2700_DIEGJDEIDKO_proto_msgTypes, + }.Build() + File_Unk2700_DIEGJDEIDKO_proto = out.File + file_Unk2700_DIEGJDEIDKO_proto_rawDesc = nil + file_Unk2700_DIEGJDEIDKO_proto_goTypes = nil + file_Unk2700_DIEGJDEIDKO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.proto b/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.proto new file mode 100644 index 00000000..860f4779 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DIEGJDEIDKO.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_DIEGJDEIDKO { + uint32 cur_progress = 12; + uint32 id = 6; + uint32 open_time = 8; + bool is_finished = 10; + uint32 total_progress = 9; + Vector pos = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.pb.go b/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.pb.go new file mode 100644 index 00000000..81488eac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DJDEPPHEHCP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DJDEPPHEHCP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime uint32 `protobuf:"varint,12,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime uint32 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` +} + +func (x *Unk2700_DJDEPPHEHCP) Reset() { + *x = Unk2700_DJDEPPHEHCP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DJDEPPHEHCP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DJDEPPHEHCP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DJDEPPHEHCP) ProtoMessage() {} + +func (x *Unk2700_DJDEPPHEHCP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DJDEPPHEHCP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DJDEPPHEHCP.ProtoReflect.Descriptor instead. +func (*Unk2700_DJDEPPHEHCP) Descriptor() ([]byte, []int) { + return file_Unk2700_DJDEPPHEHCP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DJDEPPHEHCP) GetStartTime() uint32 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *Unk2700_DJDEPPHEHCP) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +var File_Unk2700_DJDEPPHEHCP_proto protoreflect.FileDescriptor + +var file_Unk2700_DJDEPPHEHCP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x44, 0x45, 0x50, 0x50, + 0x48, 0x45, 0x48, 0x43, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x44, 0x45, 0x50, 0x50, 0x48, 0x45, 0x48, + 0x43, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DJDEPPHEHCP_proto_rawDescOnce sync.Once + file_Unk2700_DJDEPPHEHCP_proto_rawDescData = file_Unk2700_DJDEPPHEHCP_proto_rawDesc +) + +func file_Unk2700_DJDEPPHEHCP_proto_rawDescGZIP() []byte { + file_Unk2700_DJDEPPHEHCP_proto_rawDescOnce.Do(func() { + file_Unk2700_DJDEPPHEHCP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DJDEPPHEHCP_proto_rawDescData) + }) + return file_Unk2700_DJDEPPHEHCP_proto_rawDescData +} + +var file_Unk2700_DJDEPPHEHCP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DJDEPPHEHCP_proto_goTypes = []interface{}{ + (*Unk2700_DJDEPPHEHCP)(nil), // 0: Unk2700_DJDEPPHEHCP +} +var file_Unk2700_DJDEPPHEHCP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DJDEPPHEHCP_proto_init() } +func file_Unk2700_DJDEPPHEHCP_proto_init() { + if File_Unk2700_DJDEPPHEHCP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DJDEPPHEHCP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DJDEPPHEHCP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DJDEPPHEHCP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DJDEPPHEHCP_proto_goTypes, + DependencyIndexes: file_Unk2700_DJDEPPHEHCP_proto_depIdxs, + MessageInfos: file_Unk2700_DJDEPPHEHCP_proto_msgTypes, + }.Build() + File_Unk2700_DJDEPPHEHCP_proto = out.File + file_Unk2700_DJDEPPHEHCP_proto_rawDesc = nil + file_Unk2700_DJDEPPHEHCP_proto_goTypes = nil + file_Unk2700_DJDEPPHEHCP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.proto b/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.proto new file mode 100644 index 00000000..dc0d8d75 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJDEPPHEHCP.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_DJDEPPHEHCP { + uint32 start_time = 12; + uint32 end_time = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.pb.go b/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.pb.go new file mode 100644 index 00000000..0a11f13e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.pb.go @@ -0,0 +1,206 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DJKEGIEIKHG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DJKEGIEIKHG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,15,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + Unk2700_MMNILGLDHHD bool `protobuf:"varint,11,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + FinishTime uint32 `protobuf:"varint,14,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + Unk2700_BCCHNACPBME uint32 `protobuf:"varint,6,opt,name=Unk2700_BCCHNACPBME,json=Unk2700BCCHNACPBME,proto3" json:"Unk2700_BCCHNACPBME,omitempty"` + LevelId uint32 `protobuf:"varint,4,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_DJKEGIEIKHG) Reset() { + *x = Unk2700_DJKEGIEIKHG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DJKEGIEIKHG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DJKEGIEIKHG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DJKEGIEIKHG) ProtoMessage() {} + +func (x *Unk2700_DJKEGIEIKHG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DJKEGIEIKHG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DJKEGIEIKHG.ProtoReflect.Descriptor instead. +func (*Unk2700_DJKEGIEIKHG) Descriptor() ([]byte, []int) { + return file_Unk2700_DJKEGIEIKHG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DJKEGIEIKHG) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2700_DJKEGIEIKHG) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_DJKEGIEIKHG) GetFinishTime() uint32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +func (x *Unk2700_DJKEGIEIKHG) GetUnk2700_BCCHNACPBME() uint32 { + if x != nil { + return x.Unk2700_BCCHNACPBME + } + return 0 +} + +func (x *Unk2700_DJKEGIEIKHG) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_DJKEGIEIKHG_proto protoreflect.FileDescriptor + +var file_Unk2700_DJKEGIEIKHG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4b, 0x45, 0x47, 0x49, + 0x45, 0x49, 0x4b, 0x48, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4b, 0x45, 0x47, 0x49, 0x45, 0x49, 0x4b, 0x48, 0x47, 0x12, 0x2c, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, + 0x47, 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, + 0x48, 0x48, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x12, 0x1f, 0x0a, + 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x43, 0x48, 0x4e, 0x41, + 0x43, 0x50, 0x42, 0x4d, 0x45, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x42, 0x43, 0x43, 0x48, 0x4e, 0x41, 0x43, 0x50, 0x42, 0x4d, 0x45, 0x12, + 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DJKEGIEIKHG_proto_rawDescOnce sync.Once + file_Unk2700_DJKEGIEIKHG_proto_rawDescData = file_Unk2700_DJKEGIEIKHG_proto_rawDesc +) + +func file_Unk2700_DJKEGIEIKHG_proto_rawDescGZIP() []byte { + file_Unk2700_DJKEGIEIKHG_proto_rawDescOnce.Do(func() { + file_Unk2700_DJKEGIEIKHG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DJKEGIEIKHG_proto_rawDescData) + }) + return file_Unk2700_DJKEGIEIKHG_proto_rawDescData +} + +var file_Unk2700_DJKEGIEIKHG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DJKEGIEIKHG_proto_goTypes = []interface{}{ + (*Unk2700_DJKEGIEIKHG)(nil), // 0: Unk2700_DJKEGIEIKHG + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2700_DJKEGIEIKHG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DJKEGIEIKHG.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DJKEGIEIKHG_proto_init() } +func file_Unk2700_DJKEGIEIKHG_proto_init() { + if File_Unk2700_DJKEGIEIKHG_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DJKEGIEIKHG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DJKEGIEIKHG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DJKEGIEIKHG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DJKEGIEIKHG_proto_goTypes, + DependencyIndexes: file_Unk2700_DJKEGIEIKHG_proto_depIdxs, + MessageInfos: file_Unk2700_DJKEGIEIKHG_proto_msgTypes, + }.Build() + File_Unk2700_DJKEGIEIKHG_proto = out.File + file_Unk2700_DJKEGIEIKHG_proto_rawDesc = nil + file_Unk2700_DJKEGIEIKHG_proto_goTypes = nil + file_Unk2700_DJKEGIEIKHG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.proto b/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.proto new file mode 100644 index 00000000..abafba1b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJKEGIEIKHG.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2700_DJKEGIEIKHG { + Unk2700_MOFABPNGIKP reason = 15; + bool Unk2700_MMNILGLDHHD = 11; + uint32 finish_time = 14; + uint32 Unk2700_BCCHNACPBME = 6; + uint32 level_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.pb.go b/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.pb.go new file mode 100644 index 00000000..eb1c5663 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DJMKFGKGAEA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8411 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_DJMKFGKGAEA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_DJMKFGKGAEA) Reset() { + *x = Unk2700_DJMKFGKGAEA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DJMKFGKGAEA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DJMKFGKGAEA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DJMKFGKGAEA) ProtoMessage() {} + +func (x *Unk2700_DJMKFGKGAEA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DJMKFGKGAEA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DJMKFGKGAEA.ProtoReflect.Descriptor instead. +func (*Unk2700_DJMKFGKGAEA) Descriptor() ([]byte, []int) { + return file_Unk2700_DJMKFGKGAEA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DJMKFGKGAEA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_DJMKFGKGAEA_proto protoreflect.FileDescriptor + +var file_Unk2700_DJMKFGKGAEA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4d, 0x4b, 0x46, 0x47, + 0x4b, 0x47, 0x41, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4d, 0x4b, 0x46, 0x47, 0x4b, 0x47, 0x41, + 0x45, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DJMKFGKGAEA_proto_rawDescOnce sync.Once + file_Unk2700_DJMKFGKGAEA_proto_rawDescData = file_Unk2700_DJMKFGKGAEA_proto_rawDesc +) + +func file_Unk2700_DJMKFGKGAEA_proto_rawDescGZIP() []byte { + file_Unk2700_DJMKFGKGAEA_proto_rawDescOnce.Do(func() { + file_Unk2700_DJMKFGKGAEA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DJMKFGKGAEA_proto_rawDescData) + }) + return file_Unk2700_DJMKFGKGAEA_proto_rawDescData +} + +var file_Unk2700_DJMKFGKGAEA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DJMKFGKGAEA_proto_goTypes = []interface{}{ + (*Unk2700_DJMKFGKGAEA)(nil), // 0: Unk2700_DJMKFGKGAEA +} +var file_Unk2700_DJMKFGKGAEA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DJMKFGKGAEA_proto_init() } +func file_Unk2700_DJMKFGKGAEA_proto_init() { + if File_Unk2700_DJMKFGKGAEA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DJMKFGKGAEA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DJMKFGKGAEA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DJMKFGKGAEA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DJMKFGKGAEA_proto_goTypes, + DependencyIndexes: file_Unk2700_DJMKFGKGAEA_proto_depIdxs, + MessageInfos: file_Unk2700_DJMKFGKGAEA_proto_msgTypes, + }.Build() + File_Unk2700_DJMKFGKGAEA_proto = out.File + file_Unk2700_DJMKFGKGAEA_proto_rawDesc = nil + file_Unk2700_DJMKFGKGAEA_proto_goTypes = nil + file_Unk2700_DJMKFGKGAEA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.proto b/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.proto new file mode 100644 index 00000000..a4d9603f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DJMKFGKGAEA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8411 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_DJMKFGKGAEA { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.pb.go b/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.pb.go new file mode 100644 index 00000000..78a321b3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DLAEFMAMIIJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_DLAEFMAMIIJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,6,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_DLAEFMAMIIJ) Reset() { + *x = Unk2700_DLAEFMAMIIJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DLAEFMAMIIJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DLAEFMAMIIJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DLAEFMAMIIJ) ProtoMessage() {} + +func (x *Unk2700_DLAEFMAMIIJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DLAEFMAMIIJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DLAEFMAMIIJ.ProtoReflect.Descriptor instead. +func (*Unk2700_DLAEFMAMIIJ) Descriptor() ([]byte, []int) { + return file_Unk2700_DLAEFMAMIIJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DLAEFMAMIIJ) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_DLAEFMAMIIJ_proto protoreflect.FileDescriptor + +var file_Unk2700_DLAEFMAMIIJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4c, 0x41, 0x45, 0x46, 0x4d, + 0x41, 0x4d, 0x49, 0x49, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4c, 0x41, 0x45, 0x46, 0x4d, 0x41, 0x4d, 0x49, + 0x49, 0x4a, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DLAEFMAMIIJ_proto_rawDescOnce sync.Once + file_Unk2700_DLAEFMAMIIJ_proto_rawDescData = file_Unk2700_DLAEFMAMIIJ_proto_rawDesc +) + +func file_Unk2700_DLAEFMAMIIJ_proto_rawDescGZIP() []byte { + file_Unk2700_DLAEFMAMIIJ_proto_rawDescOnce.Do(func() { + file_Unk2700_DLAEFMAMIIJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DLAEFMAMIIJ_proto_rawDescData) + }) + return file_Unk2700_DLAEFMAMIIJ_proto_rawDescData +} + +var file_Unk2700_DLAEFMAMIIJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DLAEFMAMIIJ_proto_goTypes = []interface{}{ + (*Unk2700_DLAEFMAMIIJ)(nil), // 0: Unk2700_DLAEFMAMIIJ +} +var file_Unk2700_DLAEFMAMIIJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DLAEFMAMIIJ_proto_init() } +func file_Unk2700_DLAEFMAMIIJ_proto_init() { + if File_Unk2700_DLAEFMAMIIJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DLAEFMAMIIJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DLAEFMAMIIJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DLAEFMAMIIJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DLAEFMAMIIJ_proto_goTypes, + DependencyIndexes: file_Unk2700_DLAEFMAMIIJ_proto_depIdxs, + MessageInfos: file_Unk2700_DLAEFMAMIIJ_proto_msgTypes, + }.Build() + File_Unk2700_DLAEFMAMIIJ_proto = out.File + file_Unk2700_DLAEFMAMIIJ_proto_rawDesc = nil + file_Unk2700_DLAEFMAMIIJ_proto_goTypes = nil + file_Unk2700_DLAEFMAMIIJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.proto b/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.proto new file mode 100644 index 00000000..b8dea434 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DLAEFMAMIIJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8844 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_DLAEFMAMIIJ { + uint32 gallery_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.pb.go b/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.pb.go new file mode 100644 index 00000000..78167548 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.pb.go @@ -0,0 +1,250 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DMPIJLBHEAE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DMPIJLBHEAE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeType uint32 `protobuf:"varint,5,opt,name=challenge_type,json=challengeType,proto3" json:"challenge_type,omitempty"` + IsUnlock bool `protobuf:"varint,12,opt,name=is_unlock,json=isUnlock,proto3" json:"is_unlock,omitempty"` + // Types that are assignable to Unk2700_AFHAGFONBFM: + // *Unk2700_DMPIJLBHEAE_BundleInfo + // *Unk2700_DMPIJLBHEAE_ScoreChallengeInfo + // *Unk2700_DMPIJLBHEAE_BossChallengeId + Unk2700_AFHAGFONBFM isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM `protobuf_oneof:"Unk2700_AFHAGFONBFM"` +} + +func (x *Unk2700_DMPIJLBHEAE) Reset() { + *x = Unk2700_DMPIJLBHEAE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DMPIJLBHEAE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DMPIJLBHEAE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DMPIJLBHEAE) ProtoMessage() {} + +func (x *Unk2700_DMPIJLBHEAE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DMPIJLBHEAE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DMPIJLBHEAE.ProtoReflect.Descriptor instead. +func (*Unk2700_DMPIJLBHEAE) Descriptor() ([]byte, []int) { + return file_Unk2700_DMPIJLBHEAE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DMPIJLBHEAE) GetChallengeType() uint32 { + if x != nil { + return x.ChallengeType + } + return 0 +} + +func (x *Unk2700_DMPIJLBHEAE) GetIsUnlock() bool { + if x != nil { + return x.IsUnlock + } + return false +} + +func (m *Unk2700_DMPIJLBHEAE) GetUnk2700_AFHAGFONBFM() isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM { + if m != nil { + return m.Unk2700_AFHAGFONBFM + } + return nil +} + +func (x *Unk2700_DMPIJLBHEAE) GetBundleInfo() *BundleInfo { + if x, ok := x.GetUnk2700_AFHAGFONBFM().(*Unk2700_DMPIJLBHEAE_BundleInfo); ok { + return x.BundleInfo + } + return nil +} + +func (x *Unk2700_DMPIJLBHEAE) GetScoreChallengeInfo() *ScoreChallengeInfo { + if x, ok := x.GetUnk2700_AFHAGFONBFM().(*Unk2700_DMPIJLBHEAE_ScoreChallengeInfo); ok { + return x.ScoreChallengeInfo + } + return nil +} + +func (x *Unk2700_DMPIJLBHEAE) GetBossChallengeId() uint32 { + if x, ok := x.GetUnk2700_AFHAGFONBFM().(*Unk2700_DMPIJLBHEAE_BossChallengeId); ok { + return x.BossChallengeId + } + return 0 +} + +type isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM interface { + isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM() +} + +type Unk2700_DMPIJLBHEAE_BundleInfo struct { + BundleInfo *BundleInfo `protobuf:"bytes,11,opt,name=bundle_info,json=bundleInfo,proto3,oneof"` +} + +type Unk2700_DMPIJLBHEAE_ScoreChallengeInfo struct { + ScoreChallengeInfo *ScoreChallengeInfo `protobuf:"bytes,13,opt,name=score_challenge_info,json=scoreChallengeInfo,proto3,oneof"` +} + +type Unk2700_DMPIJLBHEAE_BossChallengeId struct { + BossChallengeId uint32 `protobuf:"varint,2,opt,name=boss_challenge_id,json=bossChallengeId,proto3,oneof"` +} + +func (*Unk2700_DMPIJLBHEAE_BundleInfo) isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM() {} + +func (*Unk2700_DMPIJLBHEAE_ScoreChallengeInfo) isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM() {} + +func (*Unk2700_DMPIJLBHEAE_BossChallengeId) isUnk2700_DMPIJLBHEAE_Unk2700_AFHAGFONBFM() {} + +var File_Unk2700_DMPIJLBHEAE_proto protoreflect.FileDescriptor + +var file_Unk2700_DMPIJLBHEAE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x50, 0x49, 0x4a, 0x4c, + 0x42, 0x48, 0x45, 0x41, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x50, 0x49, 0x4a, 0x4c, 0x42, 0x48, 0x45, 0x41, 0x45, 0x12, + 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x0b, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x14, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x11, + 0x62, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0f, 0x62, 0x6f, 0x73, 0x73, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x48, 0x41, 0x47, 0x46, 0x4f, 0x4e, 0x42, 0x46, + 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DMPIJLBHEAE_proto_rawDescOnce sync.Once + file_Unk2700_DMPIJLBHEAE_proto_rawDescData = file_Unk2700_DMPIJLBHEAE_proto_rawDesc +) + +func file_Unk2700_DMPIJLBHEAE_proto_rawDescGZIP() []byte { + file_Unk2700_DMPIJLBHEAE_proto_rawDescOnce.Do(func() { + file_Unk2700_DMPIJLBHEAE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DMPIJLBHEAE_proto_rawDescData) + }) + return file_Unk2700_DMPIJLBHEAE_proto_rawDescData +} + +var file_Unk2700_DMPIJLBHEAE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DMPIJLBHEAE_proto_goTypes = []interface{}{ + (*Unk2700_DMPIJLBHEAE)(nil), // 0: Unk2700_DMPIJLBHEAE + (*BundleInfo)(nil), // 1: BundleInfo + (*ScoreChallengeInfo)(nil), // 2: ScoreChallengeInfo +} +var file_Unk2700_DMPIJLBHEAE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DMPIJLBHEAE.bundle_info:type_name -> BundleInfo + 2, // 1: Unk2700_DMPIJLBHEAE.score_challenge_info:type_name -> ScoreChallengeInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_DMPIJLBHEAE_proto_init() } +func file_Unk2700_DMPIJLBHEAE_proto_init() { + if File_Unk2700_DMPIJLBHEAE_proto != nil { + return + } + file_BundleInfo_proto_init() + file_ScoreChallengeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DMPIJLBHEAE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DMPIJLBHEAE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_DMPIJLBHEAE_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_DMPIJLBHEAE_BundleInfo)(nil), + (*Unk2700_DMPIJLBHEAE_ScoreChallengeInfo)(nil), + (*Unk2700_DMPIJLBHEAE_BossChallengeId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DMPIJLBHEAE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DMPIJLBHEAE_proto_goTypes, + DependencyIndexes: file_Unk2700_DMPIJLBHEAE_proto_depIdxs, + MessageInfos: file_Unk2700_DMPIJLBHEAE_proto_msgTypes, + }.Build() + File_Unk2700_DMPIJLBHEAE_proto = out.File + file_Unk2700_DMPIJLBHEAE_proto_rawDesc = nil + file_Unk2700_DMPIJLBHEAE_proto_goTypes = nil + file_Unk2700_DMPIJLBHEAE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.proto b/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.proto new file mode 100644 index 00000000..0f863b76 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DMPIJLBHEAE.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BundleInfo.proto"; +import "ScoreChallengeInfo.proto"; + +option go_package = "./;proto"; + +message Unk2700_DMPIJLBHEAE { + uint32 challenge_type = 5; + bool is_unlock = 12; + oneof Unk2700_AFHAGFONBFM { + BundleInfo bundle_info = 11; + ScoreChallengeInfo score_challenge_info = 13; + uint32 boss_challenge_id = 2; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.pb.go b/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.pb.go new file mode 100644 index 00000000..a9221858 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DOGEKCNIIAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DOGEKCNIIAO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KJFBIFHFIBO uint32 `protobuf:"varint,6,opt,name=Unk2700_KJFBIFHFIBO,json=Unk2700KJFBIFHFIBO,proto3" json:"Unk2700_KJFBIFHFIBO,omitempty"` + Level uint32 `protobuf:"varint,13,opt,name=level,proto3" json:"level,omitempty"` + MonsterId uint32 `protobuf:"varint,14,opt,name=monster_id,json=monsterId,proto3" json:"monster_id,omitempty"` + AffixList []uint32 `protobuf:"varint,11,rep,packed,name=affix_list,json=affixList,proto3" json:"affix_list,omitempty"` +} + +func (x *Unk2700_DOGEKCNIIAO) Reset() { + *x = Unk2700_DOGEKCNIIAO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DOGEKCNIIAO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DOGEKCNIIAO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DOGEKCNIIAO) ProtoMessage() {} + +func (x *Unk2700_DOGEKCNIIAO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DOGEKCNIIAO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DOGEKCNIIAO.ProtoReflect.Descriptor instead. +func (*Unk2700_DOGEKCNIIAO) Descriptor() ([]byte, []int) { + return file_Unk2700_DOGEKCNIIAO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DOGEKCNIIAO) GetUnk2700_KJFBIFHFIBO() uint32 { + if x != nil { + return x.Unk2700_KJFBIFHFIBO + } + return 0 +} + +func (x *Unk2700_DOGEKCNIIAO) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *Unk2700_DOGEKCNIIAO) GetMonsterId() uint32 { + if x != nil { + return x.MonsterId + } + return 0 +} + +func (x *Unk2700_DOGEKCNIIAO) GetAffixList() []uint32 { + if x != nil { + return x.AffixList + } + return nil +} + +var File_Unk2700_DOGEKCNIIAO_proto protoreflect.FileDescriptor + +var file_Unk2700_DOGEKCNIIAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4f, 0x47, 0x45, 0x4b, 0x43, + 0x4e, 0x49, 0x49, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4f, 0x47, 0x45, 0x4b, 0x43, 0x4e, 0x49, + 0x49, 0x41, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x4a, 0x46, 0x42, 0x49, 0x46, 0x48, 0x46, 0x49, 0x42, 0x4f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4a, 0x46, 0x42, 0x49, 0x46, 0x48, + 0x46, 0x49, 0x42, 0x4f, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, + 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x66, 0x66, + 0x69, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x61, + 0x66, 0x66, 0x69, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DOGEKCNIIAO_proto_rawDescOnce sync.Once + file_Unk2700_DOGEKCNIIAO_proto_rawDescData = file_Unk2700_DOGEKCNIIAO_proto_rawDesc +) + +func file_Unk2700_DOGEKCNIIAO_proto_rawDescGZIP() []byte { + file_Unk2700_DOGEKCNIIAO_proto_rawDescOnce.Do(func() { + file_Unk2700_DOGEKCNIIAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DOGEKCNIIAO_proto_rawDescData) + }) + return file_Unk2700_DOGEKCNIIAO_proto_rawDescData +} + +var file_Unk2700_DOGEKCNIIAO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DOGEKCNIIAO_proto_goTypes = []interface{}{ + (*Unk2700_DOGEKCNIIAO)(nil), // 0: Unk2700_DOGEKCNIIAO +} +var file_Unk2700_DOGEKCNIIAO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_DOGEKCNIIAO_proto_init() } +func file_Unk2700_DOGEKCNIIAO_proto_init() { + if File_Unk2700_DOGEKCNIIAO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_DOGEKCNIIAO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DOGEKCNIIAO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DOGEKCNIIAO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DOGEKCNIIAO_proto_goTypes, + DependencyIndexes: file_Unk2700_DOGEKCNIIAO_proto_depIdxs, + MessageInfos: file_Unk2700_DOGEKCNIIAO_proto_msgTypes, + }.Build() + File_Unk2700_DOGEKCNIIAO_proto = out.File + file_Unk2700_DOGEKCNIIAO_proto_rawDesc = nil + file_Unk2700_DOGEKCNIIAO_proto_goTypes = nil + file_Unk2700_DOGEKCNIIAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.proto b/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.proto new file mode 100644 index 00000000..8635da62 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DOGEKCNIIAO.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_DOGEKCNIIAO { + uint32 Unk2700_KJFBIFHFIBO = 6; + uint32 level = 13; + uint32 monster_id = 14; + repeated uint32 affix_list = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.pb.go b/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.pb.go new file mode 100644 index 00000000..36eca97a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_DPPCDPBBABA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_DPPCDPBBABA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Unk2700_DIFBKPIAEBB uint32 `protobuf:"varint,3,opt,name=Unk2700_DIFBKPIAEBB,json=Unk2700DIFBKPIAEBB,proto3" json:"Unk2700_DIFBKPIAEBB,omitempty"` + Unk2700_HMGCGJCDDEG Unk2700_PIAFGFGHGHM `protobuf:"varint,4,opt,name=Unk2700_HMGCGJCDDEG,json=Unk2700HMGCGJCDDEG,proto3,enum=Unk2700_PIAFGFGHGHM" json:"Unk2700_HMGCGJCDDEG,omitempty"` + Unk2700_JEKIGDDNCAB uint32 `protobuf:"varint,5,opt,name=Unk2700_JEKIGDDNCAB,json=Unk2700JEKIGDDNCAB,proto3" json:"Unk2700_JEKIGDDNCAB,omitempty"` +} + +func (x *Unk2700_DPPCDPBBABA) Reset() { + *x = Unk2700_DPPCDPBBABA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_DPPCDPBBABA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_DPPCDPBBABA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_DPPCDPBBABA) ProtoMessage() {} + +func (x *Unk2700_DPPCDPBBABA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_DPPCDPBBABA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_DPPCDPBBABA.ProtoReflect.Descriptor instead. +func (*Unk2700_DPPCDPBBABA) Descriptor() ([]byte, []int) { + return file_Unk2700_DPPCDPBBABA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_DPPCDPBBABA) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_DPPCDPBBABA) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *Unk2700_DPPCDPBBABA) GetUnk2700_DIFBKPIAEBB() uint32 { + if x != nil { + return x.Unk2700_DIFBKPIAEBB + } + return 0 +} + +func (x *Unk2700_DPPCDPBBABA) GetUnk2700_HMGCGJCDDEG() Unk2700_PIAFGFGHGHM { + if x != nil { + return x.Unk2700_HMGCGJCDDEG + } + return Unk2700_PIAFGFGHGHM_Unk2700_PIAFGFGHGHM_Unk2700_LKEBMNKGKCP +} + +func (x *Unk2700_DPPCDPBBABA) GetUnk2700_JEKIGDDNCAB() uint32 { + if x != nil { + return x.Unk2700_JEKIGDDNCAB + } + return 0 +} + +var File_Unk2700_DPPCDPBBABA_proto protoreflect.FileDescriptor + +var file_Unk2700_DPPCDPBBABA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, + 0x42, 0x42, 0x41, 0x42, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, 0x47, 0x46, 0x47, 0x48, 0x47, 0x48, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, 0x42, 0x42, 0x41, 0x42, 0x41, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x46, + 0x42, 0x4b, 0x50, 0x49, 0x41, 0x45, 0x42, 0x42, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x49, 0x46, 0x42, 0x4b, 0x50, 0x49, 0x41, 0x45, + 0x42, 0x42, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, + 0x47, 0x43, 0x47, 0x4a, 0x43, 0x44, 0x44, 0x45, 0x47, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, 0x47, 0x46, + 0x47, 0x48, 0x47, 0x48, 0x4d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4d, + 0x47, 0x43, 0x47, 0x4a, 0x43, 0x44, 0x44, 0x45, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x4b, 0x49, 0x47, 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, + 0x45, 0x4b, 0x49, 0x47, 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_DPPCDPBBABA_proto_rawDescOnce sync.Once + file_Unk2700_DPPCDPBBABA_proto_rawDescData = file_Unk2700_DPPCDPBBABA_proto_rawDesc +) + +func file_Unk2700_DPPCDPBBABA_proto_rawDescGZIP() []byte { + file_Unk2700_DPPCDPBBABA_proto_rawDescOnce.Do(func() { + file_Unk2700_DPPCDPBBABA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_DPPCDPBBABA_proto_rawDescData) + }) + return file_Unk2700_DPPCDPBBABA_proto_rawDescData +} + +var file_Unk2700_DPPCDPBBABA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_DPPCDPBBABA_proto_goTypes = []interface{}{ + (*Unk2700_DPPCDPBBABA)(nil), // 0: Unk2700_DPPCDPBBABA + (Unk2700_PIAFGFGHGHM)(0), // 1: Unk2700_PIAFGFGHGHM +} +var file_Unk2700_DPPCDPBBABA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_DPPCDPBBABA.Unk2700_HMGCGJCDDEG:type_name -> Unk2700_PIAFGFGHGHM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_DPPCDPBBABA_proto_init() } +func file_Unk2700_DPPCDPBBABA_proto_init() { + if File_Unk2700_DPPCDPBBABA_proto != nil { + return + } + file_Unk2700_PIAFGFGHGHM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_DPPCDPBBABA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_DPPCDPBBABA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_DPPCDPBBABA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_DPPCDPBBABA_proto_goTypes, + DependencyIndexes: file_Unk2700_DPPCDPBBABA_proto_depIdxs, + MessageInfos: file_Unk2700_DPPCDPBBABA_proto_msgTypes, + }.Build() + File_Unk2700_DPPCDPBBABA_proto = out.File + file_Unk2700_DPPCDPBBABA_proto_rawDesc = nil + file_Unk2700_DPPCDPBBABA_proto_goTypes = nil + file_Unk2700_DPPCDPBBABA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.proto b/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.proto new file mode 100644 index 00000000..24e395d8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_DPPCDPBBABA.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_PIAFGFGHGHM.proto"; + +option go_package = "./;proto"; + +message Unk2700_DPPCDPBBABA { + bool is_open = 1; + string content = 2; + uint32 Unk2700_DIFBKPIAEBB = 3; + Unk2700_PIAFGFGHGHM Unk2700_HMGCGJCDDEG = 4; + uint32 Unk2700_JEKIGDDNCAB = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.pb.go b/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.pb.go new file mode 100644 index 00000000..62668a42 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EAAGDFHHNMJ_ServerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1105 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EAAGDFHHNMJ_ServerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IBJECDLKPGM []uint32 `protobuf:"varint,14,rep,packed,name=Unk2700_IBJECDLKPGM,json=Unk2700IBJECDLKPGM,proto3" json:"Unk2700_IBJECDLKPGM,omitempty"` +} + +func (x *Unk2700_EAAGDFHHNMJ_ServerReq) Reset() { + *x = Unk2700_EAAGDFHHNMJ_ServerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EAAGDFHHNMJ_ServerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EAAGDFHHNMJ_ServerReq) ProtoMessage() {} + +func (x *Unk2700_EAAGDFHHNMJ_ServerReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EAAGDFHHNMJ_ServerReq.ProtoReflect.Descriptor instead. +func (*Unk2700_EAAGDFHHNMJ_ServerReq) Descriptor() ([]byte, []int) { + return file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EAAGDFHHNMJ_ServerReq) GetUnk2700_IBJECDLKPGM() []uint32 { + if x != nil { + return x.Unk2700_IBJECDLKPGM + } + return nil +} + +var File_Unk2700_EAAGDFHHNMJ_ServerReq_proto protoreflect.FileDescriptor + +var file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x41, 0x47, 0x44, 0x46, + 0x48, 0x48, 0x4e, 0x4d, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x41, 0x41, 0x47, 0x44, 0x46, 0x48, 0x48, 0x4e, 0x4d, 0x4a, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x42, 0x4a, 0x45, 0x43, 0x44, 0x4c, 0x4b, 0x50, 0x47, 0x4d, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x42, 0x4a, 0x45, + 0x43, 0x44, 0x4c, 0x4b, 0x50, 0x47, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescOnce sync.Once + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescData = file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDesc +) + +func file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescGZIP() []byte { + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescOnce.Do(func() { + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescData) + }) + return file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDescData +} + +var file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_goTypes = []interface{}{ + (*Unk2700_EAAGDFHHNMJ_ServerReq)(nil), // 0: Unk2700_EAAGDFHHNMJ_ServerReq +} +var file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_init() } +func file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_init() { + if File_Unk2700_EAAGDFHHNMJ_ServerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EAAGDFHHNMJ_ServerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_goTypes, + DependencyIndexes: file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_depIdxs, + MessageInfos: file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_msgTypes, + }.Build() + File_Unk2700_EAAGDFHHNMJ_ServerReq_proto = out.File + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_rawDesc = nil + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_goTypes = nil + file_Unk2700_EAAGDFHHNMJ_ServerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.proto b/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.proto new file mode 100644 index 00000000..f87666fe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAAGDFHHNMJ_ServerReq.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1105 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EAAGDFHHNMJ_ServerReq { + repeated uint32 Unk2700_IBJECDLKPGM = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.pb.go new file mode 100644 index 00000000..93e3992b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EAAMIOAFNOD_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4064 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EAAMIOAFNOD_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_EAAMIOAFNOD_ServerRsp) Reset() { + *x = Unk2700_EAAMIOAFNOD_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EAAMIOAFNOD_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EAAMIOAFNOD_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_EAAMIOAFNOD_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EAAMIOAFNOD_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_EAAMIOAFNOD_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EAAMIOAFNOD_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_EAAMIOAFNOD_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x41, 0x4d, 0x49, 0x4f, + 0x41, 0x46, 0x4e, 0x4f, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x41, 0x41, 0x4d, 0x49, 0x4f, 0x41, 0x46, 0x4e, 0x4f, 0x44, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescData = file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDesc +) + +func file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDescData +} + +var file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_EAAMIOAFNOD_ServerRsp)(nil), // 0: Unk2700_EAAMIOAFNOD_ServerRsp +} +var file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_init() } +func file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_init() { + if File_Unk2700_EAAMIOAFNOD_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EAAMIOAFNOD_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_EAAMIOAFNOD_ServerRsp_proto = out.File + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_rawDesc = nil + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_goTypes = nil + file_Unk2700_EAAMIOAFNOD_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.proto new file mode 100644 index 00000000..9cf4eeea --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAAMIOAFNOD_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4064 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EAAMIOAFNOD_ServerRsp { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.pb.go new file mode 100644 index 00000000..172720b7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.pb.go @@ -0,0 +1,252 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EAGIANJBNGK_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 151 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EAGIANJBNGK_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,9,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + // Types that are assignable to Detail: + // *Unk2700_EAGIANJBNGK_ClientReq_SkillRequest + // *Unk2700_EAGIANJBNGK_ClientReq_ReliquaryRequest + // *Unk2700_EAGIANJBNGK_ClientReq_ElementReliquaryRequest + Detail isUnk2700_EAGIANJBNGK_ClientReq_Detail `protobuf_oneof:"detail"` +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) Reset() { + *x = Unk2700_EAGIANJBNGK_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EAGIANJBNGK_ClientReq) ProtoMessage() {} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EAGIANJBNGK_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_EAGIANJBNGK_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (m *Unk2700_EAGIANJBNGK_ClientReq) GetDetail() isUnk2700_EAGIANJBNGK_ClientReq_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) GetSkillRequest() *SkillRequest { + if x, ok := x.GetDetail().(*Unk2700_EAGIANJBNGK_ClientReq_SkillRequest); ok { + return x.SkillRequest + } + return nil +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) GetReliquaryRequest() *ReliquaryRequest { + if x, ok := x.GetDetail().(*Unk2700_EAGIANJBNGK_ClientReq_ReliquaryRequest); ok { + return x.ReliquaryRequest + } + return nil +} + +func (x *Unk2700_EAGIANJBNGK_ClientReq) GetElementReliquaryRequest() *ElementReliquaryRequest { + if x, ok := x.GetDetail().(*Unk2700_EAGIANJBNGK_ClientReq_ElementReliquaryRequest); ok { + return x.ElementReliquaryRequest + } + return nil +} + +type isUnk2700_EAGIANJBNGK_ClientReq_Detail interface { + isUnk2700_EAGIANJBNGK_ClientReq_Detail() +} + +type Unk2700_EAGIANJBNGK_ClientReq_SkillRequest struct { + SkillRequest *SkillRequest `protobuf:"bytes,553,opt,name=skill_request,json=skillRequest,proto3,oneof"` +} + +type Unk2700_EAGIANJBNGK_ClientReq_ReliquaryRequest struct { + ReliquaryRequest *ReliquaryRequest `protobuf:"bytes,1993,opt,name=reliquary_request,json=reliquaryRequest,proto3,oneof"` +} + +type Unk2700_EAGIANJBNGK_ClientReq_ElementReliquaryRequest struct { + ElementReliquaryRequest *ElementReliquaryRequest `protobuf:"bytes,1489,opt,name=element_reliquary_request,json=elementReliquaryRequest,proto3,oneof"` +} + +func (*Unk2700_EAGIANJBNGK_ClientReq_SkillRequest) isUnk2700_EAGIANJBNGK_ClientReq_Detail() {} + +func (*Unk2700_EAGIANJBNGK_ClientReq_ReliquaryRequest) isUnk2700_EAGIANJBNGK_ClientReq_Detail() {} + +func (*Unk2700_EAGIANJBNGK_ClientReq_ElementReliquaryRequest) isUnk2700_EAGIANJBNGK_ClientReq_Detail() { +} + +var File_Unk2700_EAGIANJBNGK_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x47, 0x49, 0x41, 0x4e, + 0x4a, 0x42, 0x4e, 0x47, 0x4b, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x6b, + 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x99, 0x02, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x47, + 0x49, 0x41, 0x4e, 0x4a, 0x42, 0x4e, 0x47, 0x4b, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, + 0x35, 0x0a, 0x0d, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x18, 0xa9, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, + 0x61, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0xc9, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x19, 0x65, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0xd1, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x65, 0x6c, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescData = file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDesc +) + +func file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescData) + }) + return file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDescData +} + +var file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EAGIANJBNGK_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_EAGIANJBNGK_ClientReq)(nil), // 0: Unk2700_EAGIANJBNGK_ClientReq + (*SkillRequest)(nil), // 1: SkillRequest + (*ReliquaryRequest)(nil), // 2: ReliquaryRequest + (*ElementReliquaryRequest)(nil), // 3: ElementReliquaryRequest +} +var file_Unk2700_EAGIANJBNGK_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EAGIANJBNGK_ClientReq.skill_request:type_name -> SkillRequest + 2, // 1: Unk2700_EAGIANJBNGK_ClientReq.reliquary_request:type_name -> ReliquaryRequest + 3, // 2: Unk2700_EAGIANJBNGK_ClientReq.element_reliquary_request:type_name -> ElementReliquaryRequest + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_EAGIANJBNGK_ClientReq_proto_init() } +func file_Unk2700_EAGIANJBNGK_ClientReq_proto_init() { + if File_Unk2700_EAGIANJBNGK_ClientReq_proto != nil { + return + } + file_ElementReliquaryRequest_proto_init() + file_ReliquaryRequest_proto_init() + file_SkillRequest_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EAGIANJBNGK_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_EAGIANJBNGK_ClientReq_SkillRequest)(nil), + (*Unk2700_EAGIANJBNGK_ClientReq_ReliquaryRequest)(nil), + (*Unk2700_EAGIANJBNGK_ClientReq_ElementReliquaryRequest)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EAGIANJBNGK_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_EAGIANJBNGK_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_EAGIANJBNGK_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_EAGIANJBNGK_ClientReq_proto = out.File + file_Unk2700_EAGIANJBNGK_ClientReq_proto_rawDesc = nil + file_Unk2700_EAGIANJBNGK_ClientReq_proto_goTypes = nil + file_Unk2700_EAGIANJBNGK_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.proto new file mode 100644 index 00000000..48950e6c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAGIANJBNGK_ClientReq.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ElementReliquaryRequest.proto"; +import "ReliquaryRequest.proto"; +import "SkillRequest.proto"; + +option go_package = "./;proto"; + +// CmdId: 151 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EAGIANJBNGK_ClientReq { + uint32 avatar_id = 9; + oneof detail { + SkillRequest skill_request = 553; + ReliquaryRequest reliquary_request = 1993; + ElementReliquaryRequest element_reliquary_request = 1489; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.pb.go b/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.pb.go new file mode 100644 index 00000000..5fd38996 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EAJCGENDICI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EAJCGENDICI int32 + +const ( + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_NDNHCNOOCCA Unk2700_EAJCGENDICI = 0 + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_GFALGAIAPOP Unk2700_EAJCGENDICI = 1 + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_AAFPJPGKHPO Unk2700_EAJCGENDICI = 2 + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_HFKOPLPHODM Unk2700_EAJCGENDICI = 3 + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_OPIOJNLJNJN Unk2700_EAJCGENDICI = 4 + Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_GHHLNHAJEBA Unk2700_EAJCGENDICI = 5 +) + +// Enum value maps for Unk2700_EAJCGENDICI. +var ( + Unk2700_EAJCGENDICI_name = map[int32]string{ + 0: "Unk2700_EAJCGENDICI_Unk2700_NDNHCNOOCCA", + 1: "Unk2700_EAJCGENDICI_Unk2700_GFALGAIAPOP", + 2: "Unk2700_EAJCGENDICI_Unk2700_AAFPJPGKHPO", + 3: "Unk2700_EAJCGENDICI_Unk2700_HFKOPLPHODM", + 4: "Unk2700_EAJCGENDICI_Unk2700_OPIOJNLJNJN", + 5: "Unk2700_EAJCGENDICI_Unk2700_GHHLNHAJEBA", + } + Unk2700_EAJCGENDICI_value = map[string]int32{ + "Unk2700_EAJCGENDICI_Unk2700_NDNHCNOOCCA": 0, + "Unk2700_EAJCGENDICI_Unk2700_GFALGAIAPOP": 1, + "Unk2700_EAJCGENDICI_Unk2700_AAFPJPGKHPO": 2, + "Unk2700_EAJCGENDICI_Unk2700_HFKOPLPHODM": 3, + "Unk2700_EAJCGENDICI_Unk2700_OPIOJNLJNJN": 4, + "Unk2700_EAJCGENDICI_Unk2700_GHHLNHAJEBA": 5, + } +) + +func (x Unk2700_EAJCGENDICI) Enum() *Unk2700_EAJCGENDICI { + p := new(Unk2700_EAJCGENDICI) + *p = x + return p +} + +func (x Unk2700_EAJCGENDICI) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_EAJCGENDICI) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_EAJCGENDICI_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_EAJCGENDICI) Type() protoreflect.EnumType { + return &file_Unk2700_EAJCGENDICI_proto_enumTypes[0] +} + +func (x Unk2700_EAJCGENDICI) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_EAJCGENDICI.Descriptor instead. +func (Unk2700_EAJCGENDICI) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_EAJCGENDICI_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_EAJCGENDICI_proto protoreflect.FileDescriptor + +var file_Unk2700_EAJCGENDICI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, + 0x4e, 0x44, 0x49, 0x43, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xa3, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, + 0x49, 0x43, 0x49, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x44, 0x4e, 0x48, 0x43, 0x4e, 0x4f, 0x4f, 0x43, 0x43, 0x41, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, + 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x47, 0x46, 0x41, 0x4c, 0x47, 0x41, 0x49, 0x41, 0x50, 0x4f, 0x50, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, + 0x44, 0x49, 0x43, 0x49, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x46, + 0x50, 0x4a, 0x50, 0x47, 0x4b, 0x48, 0x50, 0x4f, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, + 0x49, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x4b, 0x4f, 0x50, 0x4c, + 0x50, 0x48, 0x4f, 0x44, 0x4d, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x49, 0x4f, 0x4a, 0x4e, 0x4c, 0x4a, 0x4e, + 0x4a, 0x4e, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, 0x5f, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, 0x4c, 0x4e, 0x48, 0x41, 0x4a, 0x45, 0x42, 0x41, 0x10, + 0x05, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EAJCGENDICI_proto_rawDescOnce sync.Once + file_Unk2700_EAJCGENDICI_proto_rawDescData = file_Unk2700_EAJCGENDICI_proto_rawDesc +) + +func file_Unk2700_EAJCGENDICI_proto_rawDescGZIP() []byte { + file_Unk2700_EAJCGENDICI_proto_rawDescOnce.Do(func() { + file_Unk2700_EAJCGENDICI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EAJCGENDICI_proto_rawDescData) + }) + return file_Unk2700_EAJCGENDICI_proto_rawDescData +} + +var file_Unk2700_EAJCGENDICI_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_EAJCGENDICI_proto_goTypes = []interface{}{ + (Unk2700_EAJCGENDICI)(0), // 0: Unk2700_EAJCGENDICI +} +var file_Unk2700_EAJCGENDICI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EAJCGENDICI_proto_init() } +func file_Unk2700_EAJCGENDICI_proto_init() { + if File_Unk2700_EAJCGENDICI_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EAJCGENDICI_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EAJCGENDICI_proto_goTypes, + DependencyIndexes: file_Unk2700_EAJCGENDICI_proto_depIdxs, + EnumInfos: file_Unk2700_EAJCGENDICI_proto_enumTypes, + }.Build() + File_Unk2700_EAJCGENDICI_proto = out.File + file_Unk2700_EAJCGENDICI_proto_rawDesc = nil + file_Unk2700_EAJCGENDICI_proto_goTypes = nil + file_Unk2700_EAJCGENDICI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.proto b/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.proto new file mode 100644 index 00000000..3798af4e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAJCGENDICI.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_EAJCGENDICI { + Unk2700_EAJCGENDICI_Unk2700_NDNHCNOOCCA = 0; + Unk2700_EAJCGENDICI_Unk2700_GFALGAIAPOP = 1; + Unk2700_EAJCGENDICI_Unk2700_AAFPJPGKHPO = 2; + Unk2700_EAJCGENDICI_Unk2700_HFKOPLPHODM = 3; + Unk2700_EAJCGENDICI_Unk2700_OPIOJNLJNJN = 4; + Unk2700_EAJCGENDICI_Unk2700_GHHLNHAJEBA = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.pb.go b/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.pb.go new file mode 100644 index 00000000..d2d18a15 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EAOAMGDLJMP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8617 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EAOAMGDLJMP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_EAOAMGDLJMP) Reset() { + *x = Unk2700_EAOAMGDLJMP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EAOAMGDLJMP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EAOAMGDLJMP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EAOAMGDLJMP) ProtoMessage() {} + +func (x *Unk2700_EAOAMGDLJMP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EAOAMGDLJMP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EAOAMGDLJMP.ProtoReflect.Descriptor instead. +func (*Unk2700_EAOAMGDLJMP) Descriptor() ([]byte, []int) { + return file_Unk2700_EAOAMGDLJMP_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_EAOAMGDLJMP_proto protoreflect.FileDescriptor + +var file_Unk2700_EAOAMGDLJMP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4f, 0x41, 0x4d, 0x47, + 0x44, 0x4c, 0x4a, 0x4d, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4f, 0x41, 0x4d, 0x47, 0x44, 0x4c, 0x4a, + 0x4d, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EAOAMGDLJMP_proto_rawDescOnce sync.Once + file_Unk2700_EAOAMGDLJMP_proto_rawDescData = file_Unk2700_EAOAMGDLJMP_proto_rawDesc +) + +func file_Unk2700_EAOAMGDLJMP_proto_rawDescGZIP() []byte { + file_Unk2700_EAOAMGDLJMP_proto_rawDescOnce.Do(func() { + file_Unk2700_EAOAMGDLJMP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EAOAMGDLJMP_proto_rawDescData) + }) + return file_Unk2700_EAOAMGDLJMP_proto_rawDescData +} + +var file_Unk2700_EAOAMGDLJMP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EAOAMGDLJMP_proto_goTypes = []interface{}{ + (*Unk2700_EAOAMGDLJMP)(nil), // 0: Unk2700_EAOAMGDLJMP +} +var file_Unk2700_EAOAMGDLJMP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EAOAMGDLJMP_proto_init() } +func file_Unk2700_EAOAMGDLJMP_proto_init() { + if File_Unk2700_EAOAMGDLJMP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EAOAMGDLJMP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EAOAMGDLJMP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EAOAMGDLJMP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EAOAMGDLJMP_proto_goTypes, + DependencyIndexes: file_Unk2700_EAOAMGDLJMP_proto_depIdxs, + MessageInfos: file_Unk2700_EAOAMGDLJMP_proto_msgTypes, + }.Build() + File_Unk2700_EAOAMGDLJMP_proto = out.File + file_Unk2700_EAOAMGDLJMP_proto_rawDesc = nil + file_Unk2700_EAOAMGDLJMP_proto_goTypes = nil + file_Unk2700_EAOAMGDLJMP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.proto b/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.proto new file mode 100644 index 00000000..a3e83bd3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EAOAMGDLJMP.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8617 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EAOAMGDLJMP {} diff --git a/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.pb.go b/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.pb.go new file mode 100644 index 00000000..be718b0f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EBJCAMGPFDB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8838 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EBJCAMGPFDB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_EBJCAMGPFDB) Reset() { + *x = Unk2700_EBJCAMGPFDB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EBJCAMGPFDB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EBJCAMGPFDB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EBJCAMGPFDB) ProtoMessage() {} + +func (x *Unk2700_EBJCAMGPFDB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EBJCAMGPFDB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EBJCAMGPFDB.ProtoReflect.Descriptor instead. +func (*Unk2700_EBJCAMGPFDB) Descriptor() ([]byte, []int) { + return file_Unk2700_EBJCAMGPFDB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EBJCAMGPFDB) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_EBJCAMGPFDB_proto protoreflect.FileDescriptor + +var file_Unk2700_EBJCAMGPFDB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x4a, 0x43, 0x41, 0x4d, + 0x47, 0x50, 0x46, 0x44, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x4a, 0x43, 0x41, 0x4d, 0x47, 0x50, 0x46, + 0x44, 0x42, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_EBJCAMGPFDB_proto_rawDescOnce sync.Once + file_Unk2700_EBJCAMGPFDB_proto_rawDescData = file_Unk2700_EBJCAMGPFDB_proto_rawDesc +) + +func file_Unk2700_EBJCAMGPFDB_proto_rawDescGZIP() []byte { + file_Unk2700_EBJCAMGPFDB_proto_rawDescOnce.Do(func() { + file_Unk2700_EBJCAMGPFDB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EBJCAMGPFDB_proto_rawDescData) + }) + return file_Unk2700_EBJCAMGPFDB_proto_rawDescData +} + +var file_Unk2700_EBJCAMGPFDB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EBJCAMGPFDB_proto_goTypes = []interface{}{ + (*Unk2700_EBJCAMGPFDB)(nil), // 0: Unk2700_EBJCAMGPFDB +} +var file_Unk2700_EBJCAMGPFDB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EBJCAMGPFDB_proto_init() } +func file_Unk2700_EBJCAMGPFDB_proto_init() { + if File_Unk2700_EBJCAMGPFDB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EBJCAMGPFDB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EBJCAMGPFDB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EBJCAMGPFDB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EBJCAMGPFDB_proto_goTypes, + DependencyIndexes: file_Unk2700_EBJCAMGPFDB_proto_depIdxs, + MessageInfos: file_Unk2700_EBJCAMGPFDB_proto_msgTypes, + }.Build() + File_Unk2700_EBJCAMGPFDB_proto = out.File + file_Unk2700_EBJCAMGPFDB_proto_rawDesc = nil + file_Unk2700_EBJCAMGPFDB_proto_goTypes = nil + file_Unk2700_EBJCAMGPFDB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.proto b/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.proto new file mode 100644 index 00000000..a26bd195 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EBJCAMGPFDB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8838 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EBJCAMGPFDB { + uint32 stage_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.pb.go b/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.pb.go new file mode 100644 index 00000000..4d1d56ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EBOECOIFJMP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8717 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EBOECOIFJMP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,1,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` + LevelId uint32 `protobuf:"varint,11,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_EBOECOIFJMP) Reset() { + *x = Unk2700_EBOECOIFJMP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EBOECOIFJMP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EBOECOIFJMP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EBOECOIFJMP) ProtoMessage() {} + +func (x *Unk2700_EBOECOIFJMP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EBOECOIFJMP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EBOECOIFJMP.ProtoReflect.Descriptor instead. +func (*Unk2700_EBOECOIFJMP) Descriptor() ([]byte, []int) { + return file_Unk2700_EBOECOIFJMP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EBOECOIFJMP) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +func (x *Unk2700_EBOECOIFJMP) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_EBOECOIFJMP_proto protoreflect.FileDescriptor + +var file_Unk2700_EBOECOIFJMP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x4f, 0x45, 0x43, 0x4f, + 0x49, 0x46, 0x4a, 0x4d, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x4f, 0x45, 0x43, 0x4f, 0x49, 0x46, 0x4a, + 0x4d, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, + 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, + 0x43, 0x46, 0x46, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_EBOECOIFJMP_proto_rawDescOnce sync.Once + file_Unk2700_EBOECOIFJMP_proto_rawDescData = file_Unk2700_EBOECOIFJMP_proto_rawDesc +) + +func file_Unk2700_EBOECOIFJMP_proto_rawDescGZIP() []byte { + file_Unk2700_EBOECOIFJMP_proto_rawDescOnce.Do(func() { + file_Unk2700_EBOECOIFJMP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EBOECOIFJMP_proto_rawDescData) + }) + return file_Unk2700_EBOECOIFJMP_proto_rawDescData +} + +var file_Unk2700_EBOECOIFJMP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EBOECOIFJMP_proto_goTypes = []interface{}{ + (*Unk2700_EBOECOIFJMP)(nil), // 0: Unk2700_EBOECOIFJMP +} +var file_Unk2700_EBOECOIFJMP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EBOECOIFJMP_proto_init() } +func file_Unk2700_EBOECOIFJMP_proto_init() { + if File_Unk2700_EBOECOIFJMP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EBOECOIFJMP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EBOECOIFJMP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EBOECOIFJMP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EBOECOIFJMP_proto_goTypes, + DependencyIndexes: file_Unk2700_EBOECOIFJMP_proto_depIdxs, + MessageInfos: file_Unk2700_EBOECOIFJMP_proto_msgTypes, + }.Build() + File_Unk2700_EBOECOIFJMP_proto = out.File + file_Unk2700_EBOECOIFJMP_proto_rawDesc = nil + file_Unk2700_EBOECOIFJMP_proto_goTypes = nil + file_Unk2700_EBOECOIFJMP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.proto b/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.proto new file mode 100644 index 00000000..606f72c6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EBOECOIFJMP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8717 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EBOECOIFJMP { + bool Unk2700_PHGMKGEMCFF = 1; + uint32 level_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.pb.go new file mode 100644 index 00000000..9467c665 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ECBEAMKBGMD_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ECBEAMKBGMD_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DFOGBOAGMPI bool `protobuf:"varint,13,opt,name=Unk2700_DFOGBOAGMPI,json=Unk2700DFOGBOAGMPI,proto3" json:"Unk2700_DFOGBOAGMPI,omitempty"` +} + +func (x *Unk2700_ECBEAMKBGMD_ClientReq) Reset() { + *x = Unk2700_ECBEAMKBGMD_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ECBEAMKBGMD_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ECBEAMKBGMD_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ECBEAMKBGMD_ClientReq) ProtoMessage() {} + +func (x *Unk2700_ECBEAMKBGMD_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ECBEAMKBGMD_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ECBEAMKBGMD_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_ECBEAMKBGMD_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ECBEAMKBGMD_ClientReq) GetUnk2700_DFOGBOAGMPI() bool { + if x != nil { + return x.Unk2700_DFOGBOAGMPI + } + return false +} + +var File_Unk2700_ECBEAMKBGMD_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x42, 0x45, 0x41, 0x4d, + 0x4b, 0x42, 0x47, 0x4d, 0x44, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x43, 0x42, 0x45, 0x41, 0x4d, 0x4b, 0x42, 0x47, 0x4d, 0x44, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x46, 0x4f, 0x47, 0x42, 0x4f, 0x41, 0x47, 0x4d, 0x50, 0x49, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x46, 0x4f, 0x47, + 0x42, 0x4f, 0x41, 0x47, 0x4d, 0x50, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescData = file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDesc +) + +func file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescData) + }) + return file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDescData +} + +var file_Unk2700_ECBEAMKBGMD_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ECBEAMKBGMD_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_ECBEAMKBGMD_ClientReq)(nil), // 0: Unk2700_ECBEAMKBGMD_ClientReq +} +var file_Unk2700_ECBEAMKBGMD_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ECBEAMKBGMD_ClientReq_proto_init() } +func file_Unk2700_ECBEAMKBGMD_ClientReq_proto_init() { + if File_Unk2700_ECBEAMKBGMD_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ECBEAMKBGMD_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ECBEAMKBGMD_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_ECBEAMKBGMD_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_ECBEAMKBGMD_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_ECBEAMKBGMD_ClientReq_proto = out.File + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_rawDesc = nil + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_goTypes = nil + file_Unk2700_ECBEAMKBGMD_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.proto new file mode 100644 index 00000000..ef7e5fab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ECBEAMKBGMD_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ECBEAMKBGMD_ClientReq { + bool Unk2700_DFOGBOAGMPI = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.pb.go b/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.pb.go new file mode 100644 index 00000000..4bc57f85 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EDCIENBEEDI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EDCIENBEEDI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HABMDJOFBDG uint32 `protobuf:"varint,10,opt,name=Unk2700_HABMDJOFBDG,json=Unk2700HABMDJOFBDG,proto3" json:"Unk2700_HABMDJOFBDG,omitempty"` +} + +func (x *Unk2700_EDCIENBEEDI) Reset() { + *x = Unk2700_EDCIENBEEDI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EDCIENBEEDI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EDCIENBEEDI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EDCIENBEEDI) ProtoMessage() {} + +func (x *Unk2700_EDCIENBEEDI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EDCIENBEEDI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EDCIENBEEDI.ProtoReflect.Descriptor instead. +func (*Unk2700_EDCIENBEEDI) Descriptor() ([]byte, []int) { + return file_Unk2700_EDCIENBEEDI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EDCIENBEEDI) GetUnk2700_HABMDJOFBDG() uint32 { + if x != nil { + return x.Unk2700_HABMDJOFBDG + } + return 0 +} + +var File_Unk2700_EDCIENBEEDI_proto protoreflect.FileDescriptor + +var file_Unk2700_EDCIENBEEDI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x43, 0x49, 0x45, 0x4e, + 0x42, 0x45, 0x45, 0x44, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x43, 0x49, 0x45, 0x4e, 0x42, 0x45, 0x45, + 0x44, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x41, + 0x42, 0x4d, 0x44, 0x4a, 0x4f, 0x46, 0x42, 0x44, 0x47, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x41, 0x42, 0x4d, 0x44, 0x4a, 0x4f, 0x46, + 0x42, 0x44, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EDCIENBEEDI_proto_rawDescOnce sync.Once + file_Unk2700_EDCIENBEEDI_proto_rawDescData = file_Unk2700_EDCIENBEEDI_proto_rawDesc +) + +func file_Unk2700_EDCIENBEEDI_proto_rawDescGZIP() []byte { + file_Unk2700_EDCIENBEEDI_proto_rawDescOnce.Do(func() { + file_Unk2700_EDCIENBEEDI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EDCIENBEEDI_proto_rawDescData) + }) + return file_Unk2700_EDCIENBEEDI_proto_rawDescData +} + +var file_Unk2700_EDCIENBEEDI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EDCIENBEEDI_proto_goTypes = []interface{}{ + (*Unk2700_EDCIENBEEDI)(nil), // 0: Unk2700_EDCIENBEEDI +} +var file_Unk2700_EDCIENBEEDI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EDCIENBEEDI_proto_init() } +func file_Unk2700_EDCIENBEEDI_proto_init() { + if File_Unk2700_EDCIENBEEDI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EDCIENBEEDI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EDCIENBEEDI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EDCIENBEEDI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EDCIENBEEDI_proto_goTypes, + DependencyIndexes: file_Unk2700_EDCIENBEEDI_proto_depIdxs, + MessageInfos: file_Unk2700_EDCIENBEEDI_proto_msgTypes, + }.Build() + File_Unk2700_EDCIENBEEDI_proto = out.File + file_Unk2700_EDCIENBEEDI_proto_rawDesc = nil + file_Unk2700_EDCIENBEEDI_proto_goTypes = nil + file_Unk2700_EDCIENBEEDI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.proto b/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.proto new file mode 100644 index 00000000..bf99f675 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDCIENBEEDI.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8919 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EDCIENBEEDI { + uint32 Unk2700_HABMDJOFBDG = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.pb.go b/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.pb.go new file mode 100644 index 00000000..2f394d01 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EDDNHJPJBBF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8733 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EDDNHJPJBBF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_EDDNHJPJBBF) Reset() { + *x = Unk2700_EDDNHJPJBBF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EDDNHJPJBBF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EDDNHJPJBBF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EDDNHJPJBBF) ProtoMessage() {} + +func (x *Unk2700_EDDNHJPJBBF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EDDNHJPJBBF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EDDNHJPJBBF.ProtoReflect.Descriptor instead. +func (*Unk2700_EDDNHJPJBBF) Descriptor() ([]byte, []int) { + return file_Unk2700_EDDNHJPJBBF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EDDNHJPJBBF) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_EDDNHJPJBBF_proto protoreflect.FileDescriptor + +var file_Unk2700_EDDNHJPJBBF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x44, 0x4e, 0x48, 0x4a, + 0x50, 0x4a, 0x42, 0x42, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x44, 0x4e, 0x48, 0x4a, 0x50, 0x4a, 0x42, + 0x42, 0x46, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EDDNHJPJBBF_proto_rawDescOnce sync.Once + file_Unk2700_EDDNHJPJBBF_proto_rawDescData = file_Unk2700_EDDNHJPJBBF_proto_rawDesc +) + +func file_Unk2700_EDDNHJPJBBF_proto_rawDescGZIP() []byte { + file_Unk2700_EDDNHJPJBBF_proto_rawDescOnce.Do(func() { + file_Unk2700_EDDNHJPJBBF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EDDNHJPJBBF_proto_rawDescData) + }) + return file_Unk2700_EDDNHJPJBBF_proto_rawDescData +} + +var file_Unk2700_EDDNHJPJBBF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EDDNHJPJBBF_proto_goTypes = []interface{}{ + (*Unk2700_EDDNHJPJBBF)(nil), // 0: Unk2700_EDDNHJPJBBF +} +var file_Unk2700_EDDNHJPJBBF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EDDNHJPJBBF_proto_init() } +func file_Unk2700_EDDNHJPJBBF_proto_init() { + if File_Unk2700_EDDNHJPJBBF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EDDNHJPJBBF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EDDNHJPJBBF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EDDNHJPJBBF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EDDNHJPJBBF_proto_goTypes, + DependencyIndexes: file_Unk2700_EDDNHJPJBBF_proto_depIdxs, + MessageInfos: file_Unk2700_EDDNHJPJBBF_proto_msgTypes, + }.Build() + File_Unk2700_EDDNHJPJBBF_proto = out.File + file_Unk2700_EDDNHJPJBBF_proto_rawDesc = nil + file_Unk2700_EDDNHJPJBBF_proto_goTypes = nil + file_Unk2700_EDDNHJPJBBF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.proto b/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.proto new file mode 100644 index 00000000..d47c7538 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDDNHJPJBBF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8733 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EDDNHJPJBBF { + uint32 schedule_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.pb.go b/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.pb.go new file mode 100644 index 00000000..a6660475 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EDMCLPMBEMH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8387 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EDMCLPMBEMH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,11,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *Unk2700_EDMCLPMBEMH) Reset() { + *x = Unk2700_EDMCLPMBEMH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EDMCLPMBEMH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EDMCLPMBEMH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EDMCLPMBEMH) ProtoMessage() {} + +func (x *Unk2700_EDMCLPMBEMH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EDMCLPMBEMH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EDMCLPMBEMH.ProtoReflect.Descriptor instead. +func (*Unk2700_EDMCLPMBEMH) Descriptor() ([]byte, []int) { + return file_Unk2700_EDMCLPMBEMH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EDMCLPMBEMH) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_Unk2700_EDMCLPMBEMH_proto protoreflect.FileDescriptor + +var file_Unk2700_EDMCLPMBEMH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x4d, 0x43, 0x4c, 0x50, + 0x4d, 0x42, 0x45, 0x4d, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x4d, 0x43, 0x4c, 0x50, 0x4d, 0x42, 0x45, + 0x4d, 0x48, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EDMCLPMBEMH_proto_rawDescOnce sync.Once + file_Unk2700_EDMCLPMBEMH_proto_rawDescData = file_Unk2700_EDMCLPMBEMH_proto_rawDesc +) + +func file_Unk2700_EDMCLPMBEMH_proto_rawDescGZIP() []byte { + file_Unk2700_EDMCLPMBEMH_proto_rawDescOnce.Do(func() { + file_Unk2700_EDMCLPMBEMH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EDMCLPMBEMH_proto_rawDescData) + }) + return file_Unk2700_EDMCLPMBEMH_proto_rawDescData +} + +var file_Unk2700_EDMCLPMBEMH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EDMCLPMBEMH_proto_goTypes = []interface{}{ + (*Unk2700_EDMCLPMBEMH)(nil), // 0: Unk2700_EDMCLPMBEMH +} +var file_Unk2700_EDMCLPMBEMH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EDMCLPMBEMH_proto_init() } +func file_Unk2700_EDMCLPMBEMH_proto_init() { + if File_Unk2700_EDMCLPMBEMH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EDMCLPMBEMH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EDMCLPMBEMH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EDMCLPMBEMH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EDMCLPMBEMH_proto_goTypes, + DependencyIndexes: file_Unk2700_EDMCLPMBEMH_proto_depIdxs, + MessageInfos: file_Unk2700_EDMCLPMBEMH_proto_msgTypes, + }.Build() + File_Unk2700_EDMCLPMBEMH_proto = out.File + file_Unk2700_EDMCLPMBEMH_proto_rawDesc = nil + file_Unk2700_EDMCLPMBEMH_proto_goTypes = nil + file_Unk2700_EDMCLPMBEMH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.proto b/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.proto new file mode 100644 index 00000000..6c749dca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDMCLPMBEMH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8387 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EDMCLPMBEMH { + uint32 uid = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.pb.go b/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.pb.go new file mode 100644 index 00000000..d2ea69c0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EDNGHJGKEKC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EDNGHJGKEKC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HDGDLPCFABI []*Unk2700_CMKDNIANBNE `protobuf:"bytes,1,rep,name=Unk2700_HDGDLPCFABI,json=Unk2700HDGDLPCFABI,proto3" json:"Unk2700_HDGDLPCFABI,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *Unk2700_EDNGHJGKEKC) Reset() { + *x = Unk2700_EDNGHJGKEKC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EDNGHJGKEKC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EDNGHJGKEKC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EDNGHJGKEKC) ProtoMessage() {} + +func (x *Unk2700_EDNGHJGKEKC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EDNGHJGKEKC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EDNGHJGKEKC.ProtoReflect.Descriptor instead. +func (*Unk2700_EDNGHJGKEKC) Descriptor() ([]byte, []int) { + return file_Unk2700_EDNGHJGKEKC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EDNGHJGKEKC) GetUnk2700_HDGDLPCFABI() []*Unk2700_CMKDNIANBNE { + if x != nil { + return x.Unk2700_HDGDLPCFABI + } + return nil +} + +func (x *Unk2700_EDNGHJGKEKC) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +var File_Unk2700_EDNGHJGKEKC_proto protoreflect.FileDescriptor + +var file_Unk2700_EDNGHJGKEKC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x4e, 0x47, 0x48, 0x4a, + 0x47, 0x4b, 0x45, 0x4b, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x44, 0x4e, 0x49, 0x41, 0x4e, 0x42, 0x4e, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x45, 0x44, 0x4e, 0x47, 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x4b, 0x43, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x47, 0x44, 0x4c, 0x50, 0x43, + 0x46, 0x41, 0x42, 0x49, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x44, 0x4e, 0x49, 0x41, 0x4e, 0x42, 0x4e, 0x45, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x44, 0x47, 0x44, 0x4c, 0x50, 0x43, + 0x46, 0x41, 0x42, 0x49, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EDNGHJGKEKC_proto_rawDescOnce sync.Once + file_Unk2700_EDNGHJGKEKC_proto_rawDescData = file_Unk2700_EDNGHJGKEKC_proto_rawDesc +) + +func file_Unk2700_EDNGHJGKEKC_proto_rawDescGZIP() []byte { + file_Unk2700_EDNGHJGKEKC_proto_rawDescOnce.Do(func() { + file_Unk2700_EDNGHJGKEKC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EDNGHJGKEKC_proto_rawDescData) + }) + return file_Unk2700_EDNGHJGKEKC_proto_rawDescData +} + +var file_Unk2700_EDNGHJGKEKC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EDNGHJGKEKC_proto_goTypes = []interface{}{ + (*Unk2700_EDNGHJGKEKC)(nil), // 0: Unk2700_EDNGHJGKEKC + (*Unk2700_CMKDNIANBNE)(nil), // 1: Unk2700_CMKDNIANBNE +} +var file_Unk2700_EDNGHJGKEKC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EDNGHJGKEKC.Unk2700_HDGDLPCFABI:type_name -> Unk2700_CMKDNIANBNE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_EDNGHJGKEKC_proto_init() } +func file_Unk2700_EDNGHJGKEKC_proto_init() { + if File_Unk2700_EDNGHJGKEKC_proto != nil { + return + } + file_Unk2700_CMKDNIANBNE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EDNGHJGKEKC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EDNGHJGKEKC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EDNGHJGKEKC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EDNGHJGKEKC_proto_goTypes, + DependencyIndexes: file_Unk2700_EDNGHJGKEKC_proto_depIdxs, + MessageInfos: file_Unk2700_EDNGHJGKEKC_proto_msgTypes, + }.Build() + File_Unk2700_EDNGHJGKEKC_proto = out.File + file_Unk2700_EDNGHJGKEKC_proto_rawDesc = nil + file_Unk2700_EDNGHJGKEKC_proto_goTypes = nil + file_Unk2700_EDNGHJGKEKC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.proto b/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.proto new file mode 100644 index 00000000..ca5e667f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EDNGHJGKEKC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CMKDNIANBNE.proto"; + +option go_package = "./;proto"; + +message Unk2700_EDNGHJGKEKC { + repeated Unk2700_CMKDNIANBNE Unk2700_HDGDLPCFABI = 1; + string name = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.pb.go b/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.pb.go new file mode 100644 index 00000000..e842d69d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EELPPGCAKHL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8373 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EELPPGCAKHL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BMLBMGGBFJG map[uint32]uint32 `protobuf:"bytes,15,rep,name=Unk2700_BMLBMGGBFJG,json=Unk2700BMLBMGGBFJG,proto3" json:"Unk2700_BMLBMGGBFJG,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_OBFPKFEGGIK map[uint32]uint32 `protobuf:"bytes,14,rep,name=Unk2700_OBFPKFEGGIK,json=Unk2700OBFPKFEGGIK,proto3" json:"Unk2700_OBFPKFEGGIK,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + DungeonId uint32 `protobuf:"varint,5,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *Unk2700_EELPPGCAKHL) Reset() { + *x = Unk2700_EELPPGCAKHL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EELPPGCAKHL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EELPPGCAKHL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EELPPGCAKHL) ProtoMessage() {} + +func (x *Unk2700_EELPPGCAKHL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EELPPGCAKHL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EELPPGCAKHL.ProtoReflect.Descriptor instead. +func (*Unk2700_EELPPGCAKHL) Descriptor() ([]byte, []int) { + return file_Unk2700_EELPPGCAKHL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EELPPGCAKHL) GetUnk2700_BMLBMGGBFJG() map[uint32]uint32 { + if x != nil { + return x.Unk2700_BMLBMGGBFJG + } + return nil +} + +func (x *Unk2700_EELPPGCAKHL) GetUnk2700_OBFPKFEGGIK() map[uint32]uint32 { + if x != nil { + return x.Unk2700_OBFPKFEGGIK + } + return nil +} + +func (x *Unk2700_EELPPGCAKHL) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_Unk2700_EELPPGCAKHL_proto protoreflect.FileDescriptor + +var file_Unk2700_EELPPGCAKHL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x4c, 0x50, 0x50, 0x47, + 0x43, 0x41, 0x4b, 0x48, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x03, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x4c, 0x50, 0x50, 0x47, 0x43, 0x41, + 0x4b, 0x48, 0x4c, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x4d, 0x4c, 0x42, 0x4d, 0x47, 0x47, 0x42, 0x46, 0x4a, 0x47, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x4c, 0x50, 0x50, + 0x47, 0x43, 0x41, 0x4b, 0x48, 0x4c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4d, + 0x4c, 0x42, 0x4d, 0x47, 0x47, 0x42, 0x46, 0x4a, 0x47, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4d, 0x4c, 0x42, 0x4d, 0x47, 0x47, 0x42, 0x46, + 0x4a, 0x47, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, + 0x46, 0x50, 0x4b, 0x46, 0x45, 0x47, 0x47, 0x49, 0x4b, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x4c, 0x50, 0x50, 0x47, + 0x43, 0x41, 0x4b, 0x48, 0x4c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x42, 0x46, + 0x50, 0x4b, 0x46, 0x45, 0x47, 0x47, 0x49, 0x4b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x42, 0x46, 0x50, 0x4b, 0x46, 0x45, 0x47, 0x47, 0x49, + 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, + 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4d, 0x4c, 0x42, 0x4d, + 0x47, 0x47, 0x42, 0x46, 0x4a, 0x47, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4f, 0x42, 0x46, 0x50, 0x4b, 0x46, 0x45, 0x47, 0x47, 0x49, 0x4b, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_EELPPGCAKHL_proto_rawDescOnce sync.Once + file_Unk2700_EELPPGCAKHL_proto_rawDescData = file_Unk2700_EELPPGCAKHL_proto_rawDesc +) + +func file_Unk2700_EELPPGCAKHL_proto_rawDescGZIP() []byte { + file_Unk2700_EELPPGCAKHL_proto_rawDescOnce.Do(func() { + file_Unk2700_EELPPGCAKHL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EELPPGCAKHL_proto_rawDescData) + }) + return file_Unk2700_EELPPGCAKHL_proto_rawDescData +} + +var file_Unk2700_EELPPGCAKHL_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_Unk2700_EELPPGCAKHL_proto_goTypes = []interface{}{ + (*Unk2700_EELPPGCAKHL)(nil), // 0: Unk2700_EELPPGCAKHL + nil, // 1: Unk2700_EELPPGCAKHL.Unk2700BMLBMGGBFJGEntry + nil, // 2: Unk2700_EELPPGCAKHL.Unk2700OBFPKFEGGIKEntry +} +var file_Unk2700_EELPPGCAKHL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EELPPGCAKHL.Unk2700_BMLBMGGBFJG:type_name -> Unk2700_EELPPGCAKHL.Unk2700BMLBMGGBFJGEntry + 2, // 1: Unk2700_EELPPGCAKHL.Unk2700_OBFPKFEGGIK:type_name -> Unk2700_EELPPGCAKHL.Unk2700OBFPKFEGGIKEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_EELPPGCAKHL_proto_init() } +func file_Unk2700_EELPPGCAKHL_proto_init() { + if File_Unk2700_EELPPGCAKHL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EELPPGCAKHL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EELPPGCAKHL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EELPPGCAKHL_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EELPPGCAKHL_proto_goTypes, + DependencyIndexes: file_Unk2700_EELPPGCAKHL_proto_depIdxs, + MessageInfos: file_Unk2700_EELPPGCAKHL_proto_msgTypes, + }.Build() + File_Unk2700_EELPPGCAKHL_proto = out.File + file_Unk2700_EELPPGCAKHL_proto_rawDesc = nil + file_Unk2700_EELPPGCAKHL_proto_goTypes = nil + file_Unk2700_EELPPGCAKHL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.proto b/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.proto new file mode 100644 index 00000000..36abdfe2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EELPPGCAKHL.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8373 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EELPPGCAKHL { + map Unk2700_BMLBMGGBFJG = 15; + map Unk2700_OBFPKFEGGIK = 14; + uint32 dungeon_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.pb.go b/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.pb.go new file mode 100644 index 00000000..12ce7531 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EEPNCOAEKBM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EEPNCOAEKBM int32 + +const ( + Unk2700_EEPNCOAEKBM_Unk2700_EEPNCOAEKBM_Unk2700_EAFEANPNJLO Unk2700_EEPNCOAEKBM = 0 + Unk2700_EEPNCOAEKBM_Unk2700_EEPNCOAEKBM_Unk2700_PAPMIPKGFJK Unk2700_EEPNCOAEKBM = 1 + Unk2700_EEPNCOAEKBM_Unk2700_EEPNCOAEKBM_Unk2700_CONEKODEFHL Unk2700_EEPNCOAEKBM = 2 + Unk2700_EEPNCOAEKBM_Unk2700_EEPNCOAEKBM_Unk2700_KABLOGENHFI Unk2700_EEPNCOAEKBM = 3 +) + +// Enum value maps for Unk2700_EEPNCOAEKBM. +var ( + Unk2700_EEPNCOAEKBM_name = map[int32]string{ + 0: "Unk2700_EEPNCOAEKBM_Unk2700_EAFEANPNJLO", + 1: "Unk2700_EEPNCOAEKBM_Unk2700_PAPMIPKGFJK", + 2: "Unk2700_EEPNCOAEKBM_Unk2700_CONEKODEFHL", + 3: "Unk2700_EEPNCOAEKBM_Unk2700_KABLOGENHFI", + } + Unk2700_EEPNCOAEKBM_value = map[string]int32{ + "Unk2700_EEPNCOAEKBM_Unk2700_EAFEANPNJLO": 0, + "Unk2700_EEPNCOAEKBM_Unk2700_PAPMIPKGFJK": 1, + "Unk2700_EEPNCOAEKBM_Unk2700_CONEKODEFHL": 2, + "Unk2700_EEPNCOAEKBM_Unk2700_KABLOGENHFI": 3, + } +) + +func (x Unk2700_EEPNCOAEKBM) Enum() *Unk2700_EEPNCOAEKBM { + p := new(Unk2700_EEPNCOAEKBM) + *p = x + return p +} + +func (x Unk2700_EEPNCOAEKBM) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_EEPNCOAEKBM) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_EEPNCOAEKBM_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_EEPNCOAEKBM) Type() protoreflect.EnumType { + return &file_Unk2700_EEPNCOAEKBM_proto_enumTypes[0] +} + +func (x Unk2700_EEPNCOAEKBM) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_EEPNCOAEKBM.Descriptor instead. +func (Unk2700_EEPNCOAEKBM) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_EEPNCOAEKBM_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_EEPNCOAEKBM_proto protoreflect.FileDescriptor + +var file_Unk2700_EEPNCOAEKBM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, + 0x41, 0x45, 0x4b, 0x42, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, + 0x4b, 0x42, 0x4d, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x45, 0x41, 0x46, 0x45, 0x41, 0x4e, 0x50, 0x4e, 0x4a, 0x4c, 0x4f, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, + 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x41, 0x50, 0x4d, 0x49, 0x50, 0x4b, 0x47, 0x46, 0x4a, 0x4b, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, + 0x45, 0x4b, 0x42, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x4e, + 0x45, 0x4b, 0x4f, 0x44, 0x45, 0x46, 0x48, 0x4c, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, + 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x41, 0x42, 0x4c, 0x4f, 0x47, + 0x45, 0x4e, 0x48, 0x46, 0x49, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EEPNCOAEKBM_proto_rawDescOnce sync.Once + file_Unk2700_EEPNCOAEKBM_proto_rawDescData = file_Unk2700_EEPNCOAEKBM_proto_rawDesc +) + +func file_Unk2700_EEPNCOAEKBM_proto_rawDescGZIP() []byte { + file_Unk2700_EEPNCOAEKBM_proto_rawDescOnce.Do(func() { + file_Unk2700_EEPNCOAEKBM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EEPNCOAEKBM_proto_rawDescData) + }) + return file_Unk2700_EEPNCOAEKBM_proto_rawDescData +} + +var file_Unk2700_EEPNCOAEKBM_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_EEPNCOAEKBM_proto_goTypes = []interface{}{ + (Unk2700_EEPNCOAEKBM)(0), // 0: Unk2700_EEPNCOAEKBM +} +var file_Unk2700_EEPNCOAEKBM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EEPNCOAEKBM_proto_init() } +func file_Unk2700_EEPNCOAEKBM_proto_init() { + if File_Unk2700_EEPNCOAEKBM_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EEPNCOAEKBM_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EEPNCOAEKBM_proto_goTypes, + DependencyIndexes: file_Unk2700_EEPNCOAEKBM_proto_depIdxs, + EnumInfos: file_Unk2700_EEPNCOAEKBM_proto_enumTypes, + }.Build() + File_Unk2700_EEPNCOAEKBM_proto = out.File + file_Unk2700_EEPNCOAEKBM_proto_rawDesc = nil + file_Unk2700_EEPNCOAEKBM_proto_goTypes = nil + file_Unk2700_EEPNCOAEKBM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.proto b/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.proto new file mode 100644 index 00000000..c1f5e587 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EEPNCOAEKBM.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_EEPNCOAEKBM { + Unk2700_EEPNCOAEKBM_Unk2700_EAFEANPNJLO = 0; + Unk2700_EEPNCOAEKBM_Unk2700_PAPMIPKGFJK = 1; + Unk2700_EEPNCOAEKBM_Unk2700_CONEKODEFHL = 2; + Unk2700_EEPNCOAEKBM_Unk2700_KABLOGENHFI = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.pb.go b/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.pb.go new file mode 100644 index 00000000..5ef6a177 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EGKIHLIOLDM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EGKIHLIOLDM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CDDONJJMFCI uint32 `protobuf:"varint,14,opt,name=Unk2700_CDDONJJMFCI,json=Unk2700CDDONJJMFCI,proto3" json:"Unk2700_CDDONJJMFCI,omitempty"` + Reason Unk2700_NPOBPFNDJKK `protobuf:"varint,7,opt,name=reason,proto3,enum=Unk2700_NPOBPFNDJKK" json:"reason,omitempty"` +} + +func (x *Unk2700_EGKIHLIOLDM) Reset() { + *x = Unk2700_EGKIHLIOLDM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EGKIHLIOLDM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EGKIHLIOLDM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EGKIHLIOLDM) ProtoMessage() {} + +func (x *Unk2700_EGKIHLIOLDM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EGKIHLIOLDM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EGKIHLIOLDM.ProtoReflect.Descriptor instead. +func (*Unk2700_EGKIHLIOLDM) Descriptor() ([]byte, []int) { + return file_Unk2700_EGKIHLIOLDM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EGKIHLIOLDM) GetUnk2700_CDDONJJMFCI() uint32 { + if x != nil { + return x.Unk2700_CDDONJJMFCI + } + return 0 +} + +func (x *Unk2700_EGKIHLIOLDM) GetReason() Unk2700_NPOBPFNDJKK { + if x != nil { + return x.Reason + } + return Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_PGICIHIAMBF +} + +var File_Unk2700_EGKIHLIOLDM_proto protoreflect.FileDescriptor + +var file_Unk2700_EGKIHLIOLDM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x47, 0x4b, 0x49, 0x48, 0x4c, + 0x49, 0x4f, 0x4c, 0x44, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x45, 0x47, 0x4b, 0x49, 0x48, 0x4c, 0x49, 0x4f, 0x4c, 0x44, 0x4d, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x44, 0x4f, 0x4e, 0x4a, 0x4a, + 0x4d, 0x46, 0x43, 0x49, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x43, 0x44, 0x44, 0x4f, 0x4e, 0x4a, 0x4a, 0x4d, 0x46, 0x43, 0x49, 0x12, 0x2c, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, + 0x44, 0x4a, 0x4b, 0x4b, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EGKIHLIOLDM_proto_rawDescOnce sync.Once + file_Unk2700_EGKIHLIOLDM_proto_rawDescData = file_Unk2700_EGKIHLIOLDM_proto_rawDesc +) + +func file_Unk2700_EGKIHLIOLDM_proto_rawDescGZIP() []byte { + file_Unk2700_EGKIHLIOLDM_proto_rawDescOnce.Do(func() { + file_Unk2700_EGKIHLIOLDM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EGKIHLIOLDM_proto_rawDescData) + }) + return file_Unk2700_EGKIHLIOLDM_proto_rawDescData +} + +var file_Unk2700_EGKIHLIOLDM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EGKIHLIOLDM_proto_goTypes = []interface{}{ + (*Unk2700_EGKIHLIOLDM)(nil), // 0: Unk2700_EGKIHLIOLDM + (Unk2700_NPOBPFNDJKK)(0), // 1: Unk2700_NPOBPFNDJKK +} +var file_Unk2700_EGKIHLIOLDM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EGKIHLIOLDM.reason:type_name -> Unk2700_NPOBPFNDJKK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_EGKIHLIOLDM_proto_init() } +func file_Unk2700_EGKIHLIOLDM_proto_init() { + if File_Unk2700_EGKIHLIOLDM_proto != nil { + return + } + file_Unk2700_NPOBPFNDJKK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EGKIHLIOLDM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EGKIHLIOLDM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EGKIHLIOLDM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EGKIHLIOLDM_proto_goTypes, + DependencyIndexes: file_Unk2700_EGKIHLIOLDM_proto_depIdxs, + MessageInfos: file_Unk2700_EGKIHLIOLDM_proto_msgTypes, + }.Build() + File_Unk2700_EGKIHLIOLDM_proto = out.File + file_Unk2700_EGKIHLIOLDM_proto_rawDesc = nil + file_Unk2700_EGKIHLIOLDM_proto_goTypes = nil + file_Unk2700_EGKIHLIOLDM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.proto b/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.proto new file mode 100644 index 00000000..0463fc83 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EGKIHLIOLDM.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NPOBPFNDJKK.proto"; + +option go_package = "./;proto"; + +message Unk2700_EGKIHLIOLDM { + uint32 Unk2700_CDDONJJMFCI = 14; + Unk2700_NPOBPFNDJKK reason = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.pb.go new file mode 100644 index 00000000..c2aced6f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EHAMOPKCIGI_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4805 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EHAMOPKCIGI_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,11,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *Unk2700_KNGDOIDOFFB `protobuf:"bytes,12,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + Unk2700_HAOPLFPOLFM uint32 `protobuf:"varint,7,opt,name=Unk2700_HAOPLFPOLFM,json=Unk2700HAOPLFPOLFM,proto3" json:"Unk2700_HAOPLFPOLFM,omitempty"` + IsNewRecord bool `protobuf:"varint,2,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) Reset() { + *x = Unk2700_EHAMOPKCIGI_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EHAMOPKCIGI_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EHAMOPKCIGI_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_EHAMOPKCIGI_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) GetSettleInfo() *Unk2700_KNGDOIDOFFB { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) GetUnk2700_HAOPLFPOLFM() uint32 { + if x != nil { + return x.Unk2700_HAOPLFPOLFM + } + return 0 +} + +func (x *Unk2700_EHAMOPKCIGI_ServerNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk2700_EHAMOPKCIGI_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x48, 0x41, 0x4d, 0x4f, 0x50, + 0x4b, 0x43, 0x49, 0x47, 0x49, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x4e, 0x47, 0x44, 0x4f, 0x49, 0x44, 0x4f, 0x46, 0x46, 0x42, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x45, 0x48, 0x41, 0x4d, 0x4f, 0x50, 0x4b, 0x43, 0x49, 0x47, 0x49, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x47, 0x44, 0x4f, 0x49, 0x44, 0x4f, 0x46, + 0x46, 0x42, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x41, 0x4f, 0x50, 0x4c, 0x46, + 0x50, 0x4f, 0x4c, 0x46, 0x4d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x41, 0x4f, 0x50, 0x4c, 0x46, 0x50, 0x4f, 0x4c, 0x46, 0x4d, 0x12, + 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescData = file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDesc +) + +func file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDescData +} + +var file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_EHAMOPKCIGI_ServerNotify)(nil), // 0: Unk2700_EHAMOPKCIGI_ServerNotify + (*Unk2700_KNGDOIDOFFB)(nil), // 1: Unk2700_KNGDOIDOFFB +} +var file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EHAMOPKCIGI_ServerNotify.settle_info:type_name -> Unk2700_KNGDOIDOFFB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_init() } +func file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_init() { + if File_Unk2700_EHAMOPKCIGI_ServerNotify_proto != nil { + return + } + file_Unk2700_KNGDOIDOFFB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EHAMOPKCIGI_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_EHAMOPKCIGI_ServerNotify_proto = out.File + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_rawDesc = nil + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_goTypes = nil + file_Unk2700_EHAMOPKCIGI_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.proto new file mode 100644 index 00000000..823887dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EHAMOPKCIGI_ServerNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KNGDOIDOFFB.proto"; + +option go_package = "./;proto"; + +// CmdId: 4805 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EHAMOPKCIGI_ServerNotify { + uint32 gallery_id = 11; + Unk2700_KNGDOIDOFFB settle_info = 12; + uint32 Unk2700_HAOPLFPOLFM = 7; + bool is_new_record = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.pb.go b/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.pb.go new file mode 100644 index 00000000..4740fae5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EHFBIEDHILL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8882 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EHFBIEDHILL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_EHFBIEDHILL) Reset() { + *x = Unk2700_EHFBIEDHILL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EHFBIEDHILL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EHFBIEDHILL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EHFBIEDHILL) ProtoMessage() {} + +func (x *Unk2700_EHFBIEDHILL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EHFBIEDHILL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EHFBIEDHILL.ProtoReflect.Descriptor instead. +func (*Unk2700_EHFBIEDHILL) Descriptor() ([]byte, []int) { + return file_Unk2700_EHFBIEDHILL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EHFBIEDHILL) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_EHFBIEDHILL) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_EHFBIEDHILL_proto protoreflect.FileDescriptor + +var file_Unk2700_EHFBIEDHILL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x48, 0x46, 0x42, 0x49, 0x45, + 0x44, 0x48, 0x49, 0x4c, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x48, 0x46, 0x42, 0x49, 0x45, 0x44, 0x48, 0x49, + 0x4c, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_EHFBIEDHILL_proto_rawDescOnce sync.Once + file_Unk2700_EHFBIEDHILL_proto_rawDescData = file_Unk2700_EHFBIEDHILL_proto_rawDesc +) + +func file_Unk2700_EHFBIEDHILL_proto_rawDescGZIP() []byte { + file_Unk2700_EHFBIEDHILL_proto_rawDescOnce.Do(func() { + file_Unk2700_EHFBIEDHILL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EHFBIEDHILL_proto_rawDescData) + }) + return file_Unk2700_EHFBIEDHILL_proto_rawDescData +} + +var file_Unk2700_EHFBIEDHILL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EHFBIEDHILL_proto_goTypes = []interface{}{ + (*Unk2700_EHFBIEDHILL)(nil), // 0: Unk2700_EHFBIEDHILL +} +var file_Unk2700_EHFBIEDHILL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EHFBIEDHILL_proto_init() } +func file_Unk2700_EHFBIEDHILL_proto_init() { + if File_Unk2700_EHFBIEDHILL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EHFBIEDHILL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EHFBIEDHILL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EHFBIEDHILL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EHFBIEDHILL_proto_goTypes, + DependencyIndexes: file_Unk2700_EHFBIEDHILL_proto_depIdxs, + MessageInfos: file_Unk2700_EHFBIEDHILL_proto_msgTypes, + }.Build() + File_Unk2700_EHFBIEDHILL_proto = out.File + file_Unk2700_EHFBIEDHILL_proto_rawDesc = nil + file_Unk2700_EHFBIEDHILL_proto_goTypes = nil + file_Unk2700_EHFBIEDHILL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.proto b/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.proto new file mode 100644 index 00000000..f9bdc7d5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EHFBIEDHILL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8882 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EHFBIEDHILL { + int32 retcode = 2; + uint32 activity_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.pb.go new file mode 100644 index 00000000..61c1d78e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EJHALNBHHHD_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6322 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EJHALNBHHHD_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,8,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,1,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` +} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) Reset() { + *x = Unk2700_EJHALNBHHHD_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EJHALNBHHHD_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EJHALNBHHHD_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EJHALNBHHHD_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EJHALNBHHHD_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_EJHALNBHHHD_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_EJHALNBHHHD_ServerRsp) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +var File_Unk2700_EJHALNBHHHD_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x48, 0x41, 0x4c, 0x4e, + 0x42, 0x48, 0x48, 0x48, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb1, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x48, + 0x41, 0x4c, 0x4e, 0x42, 0x48, 0x48, 0x48, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, + 0x48, 0x43, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescData = file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDesc +) + +func file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDescData +} + +var file_Unk2700_EJHALNBHHHD_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EJHALNBHHHD_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_EJHALNBHHHD_ServerRsp)(nil), // 0: Unk2700_EJHALNBHHHD_ServerRsp + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_EJHALNBHHHD_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EJHALNBHHHD_ServerRsp.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_EJHALNBHHHD_ServerRsp_proto_init() } +func file_Unk2700_EJHALNBHHHD_ServerRsp_proto_init() { + if File_Unk2700_EJHALNBHHHD_ServerRsp_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EJHALNBHHHD_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EJHALNBHHHD_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_EJHALNBHHHD_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_EJHALNBHHHD_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_EJHALNBHHHD_ServerRsp_proto = out.File + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_rawDesc = nil + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_goTypes = nil + file_Unk2700_EJHALNBHHHD_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.proto new file mode 100644 index 00000000..147b1473 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EJHALNBHHHD_ServerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6322 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EJHALNBHHHD_ServerRsp { + int32 retcode = 15; + uint64 Unk2700_CEPGMKAHHCD = 8; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.pb.go b/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.pb.go new file mode 100644 index 00000000..95f6dcf8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EJIOFGEEIOM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8837 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EJIOFGEEIOM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + QuestId uint32 `protobuf:"varint,3,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *Unk2700_EJIOFGEEIOM) Reset() { + *x = Unk2700_EJIOFGEEIOM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EJIOFGEEIOM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EJIOFGEEIOM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EJIOFGEEIOM) ProtoMessage() {} + +func (x *Unk2700_EJIOFGEEIOM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EJIOFGEEIOM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EJIOFGEEIOM.ProtoReflect.Descriptor instead. +func (*Unk2700_EJIOFGEEIOM) Descriptor() ([]byte, []int) { + return file_Unk2700_EJIOFGEEIOM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EJIOFGEEIOM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_EJIOFGEEIOM) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_Unk2700_EJIOFGEEIOM_proto protoreflect.FileDescriptor + +var file_Unk2700_EJIOFGEEIOM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x49, 0x4f, 0x46, 0x47, + 0x45, 0x45, 0x49, 0x4f, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x49, 0x4f, 0x46, 0x47, 0x45, 0x45, 0x49, + 0x4f, 0x4d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EJIOFGEEIOM_proto_rawDescOnce sync.Once + file_Unk2700_EJIOFGEEIOM_proto_rawDescData = file_Unk2700_EJIOFGEEIOM_proto_rawDesc +) + +func file_Unk2700_EJIOFGEEIOM_proto_rawDescGZIP() []byte { + file_Unk2700_EJIOFGEEIOM_proto_rawDescOnce.Do(func() { + file_Unk2700_EJIOFGEEIOM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EJIOFGEEIOM_proto_rawDescData) + }) + return file_Unk2700_EJIOFGEEIOM_proto_rawDescData +} + +var file_Unk2700_EJIOFGEEIOM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EJIOFGEEIOM_proto_goTypes = []interface{}{ + (*Unk2700_EJIOFGEEIOM)(nil), // 0: Unk2700_EJIOFGEEIOM +} +var file_Unk2700_EJIOFGEEIOM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EJIOFGEEIOM_proto_init() } +func file_Unk2700_EJIOFGEEIOM_proto_init() { + if File_Unk2700_EJIOFGEEIOM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EJIOFGEEIOM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EJIOFGEEIOM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EJIOFGEEIOM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EJIOFGEEIOM_proto_goTypes, + DependencyIndexes: file_Unk2700_EJIOFGEEIOM_proto_depIdxs, + MessageInfos: file_Unk2700_EJIOFGEEIOM_proto_msgTypes, + }.Build() + File_Unk2700_EJIOFGEEIOM_proto = out.File + file_Unk2700_EJIOFGEEIOM_proto_rawDesc = nil + file_Unk2700_EJIOFGEEIOM_proto_goTypes = nil + file_Unk2700_EJIOFGEEIOM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.proto b/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.proto new file mode 100644 index 00000000..b7eddc5f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EJIOFGEEIOM.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8837 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EJIOFGEEIOM { + int32 retcode = 9; + uint32 quest_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.pb.go b/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.pb.go new file mode 100644 index 00000000..0c5d930f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EKBMEKPHJGK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8726 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_EKBMEKPHJGK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConfigId uint32 `protobuf:"varint,9,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` + GroupId uint32 `protobuf:"varint,11,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *Unk2700_EKBMEKPHJGK) Reset() { + *x = Unk2700_EKBMEKPHJGK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EKBMEKPHJGK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EKBMEKPHJGK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EKBMEKPHJGK) ProtoMessage() {} + +func (x *Unk2700_EKBMEKPHJGK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EKBMEKPHJGK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EKBMEKPHJGK.ProtoReflect.Descriptor instead. +func (*Unk2700_EKBMEKPHJGK) Descriptor() ([]byte, []int) { + return file_Unk2700_EKBMEKPHJGK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EKBMEKPHJGK) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +func (x *Unk2700_EKBMEKPHJGK) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_Unk2700_EKBMEKPHJGK_proto protoreflect.FileDescriptor + +var file_Unk2700_EKBMEKPHJGK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x42, 0x4d, 0x45, 0x4b, + 0x50, 0x48, 0x4a, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x42, 0x4d, 0x45, 0x4b, 0x50, 0x48, 0x4a, + 0x47, 0x4b, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EKBMEKPHJGK_proto_rawDescOnce sync.Once + file_Unk2700_EKBMEKPHJGK_proto_rawDescData = file_Unk2700_EKBMEKPHJGK_proto_rawDesc +) + +func file_Unk2700_EKBMEKPHJGK_proto_rawDescGZIP() []byte { + file_Unk2700_EKBMEKPHJGK_proto_rawDescOnce.Do(func() { + file_Unk2700_EKBMEKPHJGK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EKBMEKPHJGK_proto_rawDescData) + }) + return file_Unk2700_EKBMEKPHJGK_proto_rawDescData +} + +var file_Unk2700_EKBMEKPHJGK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EKBMEKPHJGK_proto_goTypes = []interface{}{ + (*Unk2700_EKBMEKPHJGK)(nil), // 0: Unk2700_EKBMEKPHJGK +} +var file_Unk2700_EKBMEKPHJGK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EKBMEKPHJGK_proto_init() } +func file_Unk2700_EKBMEKPHJGK_proto_init() { + if File_Unk2700_EKBMEKPHJGK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EKBMEKPHJGK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EKBMEKPHJGK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EKBMEKPHJGK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EKBMEKPHJGK_proto_goTypes, + DependencyIndexes: file_Unk2700_EKBMEKPHJGK_proto_depIdxs, + MessageInfos: file_Unk2700_EKBMEKPHJGK_proto_msgTypes, + }.Build() + File_Unk2700_EKBMEKPHJGK_proto = out.File + file_Unk2700_EKBMEKPHJGK_proto_rawDesc = nil + file_Unk2700_EKBMEKPHJGK_proto_goTypes = nil + file_Unk2700_EKBMEKPHJGK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.proto b/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.proto new file mode 100644 index 00000000..7bca0e6b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EKBMEKPHJGK.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8726 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_EKBMEKPHJGK { + uint32 config_id = 9; + uint32 group_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.pb.go b/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.pb.go new file mode 100644 index 00000000..c04d121e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EKDHFFHMNCD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EKDHFFHMNCD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Unk2700_FALGECBMIHD uint64 `protobuf:"varint,14,opt,name=Unk2700_FALGECBMIHD,json=Unk2700FALGECBMIHD,proto3" json:"Unk2700_FALGECBMIHD,omitempty"` + Unk2700_PBAFCLCIABF uint32 `protobuf:"varint,12,opt,name=Unk2700_PBAFCLCIABF,json=Unk2700PBAFCLCIABF,proto3" json:"Unk2700_PBAFCLCIABF,omitempty"` +} + +func (x *Unk2700_EKDHFFHMNCD) Reset() { + *x = Unk2700_EKDHFFHMNCD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EKDHFFHMNCD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EKDHFFHMNCD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EKDHFFHMNCD) ProtoMessage() {} + +func (x *Unk2700_EKDHFFHMNCD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EKDHFFHMNCD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EKDHFFHMNCD.ProtoReflect.Descriptor instead. +func (*Unk2700_EKDHFFHMNCD) Descriptor() ([]byte, []int) { + return file_Unk2700_EKDHFFHMNCD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EKDHFFHMNCD) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *Unk2700_EKDHFFHMNCD) GetUnk2700_FALGECBMIHD() uint64 { + if x != nil { + return x.Unk2700_FALGECBMIHD + } + return 0 +} + +func (x *Unk2700_EKDHFFHMNCD) GetUnk2700_PBAFCLCIABF() uint32 { + if x != nil { + return x.Unk2700_PBAFCLCIABF + } + return 0 +} + +var File_Unk2700_EKDHFFHMNCD_proto protoreflect.FileDescriptor + +var file_Unk2700_EKDHFFHMNCD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x44, 0x48, 0x46, 0x46, + 0x48, 0x4d, 0x4e, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x44, 0x48, 0x46, 0x46, 0x48, 0x4d, + 0x4e, 0x43, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x4c, 0x47, 0x45, 0x43, 0x42, 0x4d, 0x49, 0x48, 0x44, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, + 0x41, 0x4c, 0x47, 0x45, 0x43, 0x42, 0x4d, 0x49, 0x48, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x42, 0x41, 0x46, 0x43, 0x4c, 0x43, 0x49, 0x41, 0x42, + 0x46, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x50, 0x42, 0x41, 0x46, 0x43, 0x4c, 0x43, 0x49, 0x41, 0x42, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EKDHFFHMNCD_proto_rawDescOnce sync.Once + file_Unk2700_EKDHFFHMNCD_proto_rawDescData = file_Unk2700_EKDHFFHMNCD_proto_rawDesc +) + +func file_Unk2700_EKDHFFHMNCD_proto_rawDescGZIP() []byte { + file_Unk2700_EKDHFFHMNCD_proto_rawDescOnce.Do(func() { + file_Unk2700_EKDHFFHMNCD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EKDHFFHMNCD_proto_rawDescData) + }) + return file_Unk2700_EKDHFFHMNCD_proto_rawDescData +} + +var file_Unk2700_EKDHFFHMNCD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EKDHFFHMNCD_proto_goTypes = []interface{}{ + (*Unk2700_EKDHFFHMNCD)(nil), // 0: Unk2700_EKDHFFHMNCD +} +var file_Unk2700_EKDHFFHMNCD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EKDHFFHMNCD_proto_init() } +func file_Unk2700_EKDHFFHMNCD_proto_init() { + if File_Unk2700_EKDHFFHMNCD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EKDHFFHMNCD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EKDHFFHMNCD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EKDHFFHMNCD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EKDHFFHMNCD_proto_goTypes, + DependencyIndexes: file_Unk2700_EKDHFFHMNCD_proto_depIdxs, + MessageInfos: file_Unk2700_EKDHFFHMNCD_proto_msgTypes, + }.Build() + File_Unk2700_EKDHFFHMNCD_proto = out.File + file_Unk2700_EKDHFFHMNCD_proto_rawDesc = nil + file_Unk2700_EKDHFFHMNCD_proto_goTypes = nil + file_Unk2700_EKDHFFHMNCD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.proto b/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.proto new file mode 100644 index 00000000..548d420c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EKDHFFHMNCD.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_EKDHFFHMNCD { + uint32 index = 2; + uint64 Unk2700_FALGECBMIHD = 14; + uint32 Unk2700_PBAFCLCIABF = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.pb.go b/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.pb.go new file mode 100644 index 00000000..79a04151 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ELMEOJFCOFH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_ELMEOJFCOFH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HGBNIFAKOGI map[uint32]uint32 `protobuf:"bytes,12,rep,name=Unk2700_HGBNIFAKOGI,json=Unk2700HGBNIFAKOGI,proto3" json:"Unk2700_HGBNIFAKOGI,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_BPDFJJNJGAJ uint32 `protobuf:"varint,3,opt,name=Unk2700_BPDFJJNJGAJ,json=Unk2700BPDFJJNJGAJ,proto3" json:"Unk2700_BPDFJJNJGAJ,omitempty"` + Unk2700_DCBOIFJCDHG uint32 `protobuf:"varint,15,opt,name=Unk2700_DCBOIFJCDHG,json=Unk2700DCBOIFJCDHG,proto3" json:"Unk2700_DCBOIFJCDHG,omitempty"` + Unk2700_KDJGDPDJHLL uint32 `protobuf:"varint,6,opt,name=Unk2700_KDJGDPDJHLL,json=Unk2700KDJGDPDJHLL,proto3" json:"Unk2700_KDJGDPDJHLL,omitempty"` + Unk2700_NGKGJJBDGMP uint32 `protobuf:"varint,7,opt,name=Unk2700_NGKGJJBDGMP,json=Unk2700NGKGJJBDGMP,proto3" json:"Unk2700_NGKGJJBDGMP,omitempty"` +} + +func (x *Unk2700_ELMEOJFCOFH) Reset() { + *x = Unk2700_ELMEOJFCOFH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ELMEOJFCOFH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ELMEOJFCOFH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ELMEOJFCOFH) ProtoMessage() {} + +func (x *Unk2700_ELMEOJFCOFH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ELMEOJFCOFH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ELMEOJFCOFH.ProtoReflect.Descriptor instead. +func (*Unk2700_ELMEOJFCOFH) Descriptor() ([]byte, []int) { + return file_Unk2700_ELMEOJFCOFH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ELMEOJFCOFH) GetUnk2700_HGBNIFAKOGI() map[uint32]uint32 { + if x != nil { + return x.Unk2700_HGBNIFAKOGI + } + return nil +} + +func (x *Unk2700_ELMEOJFCOFH) GetUnk2700_BPDFJJNJGAJ() uint32 { + if x != nil { + return x.Unk2700_BPDFJJNJGAJ + } + return 0 +} + +func (x *Unk2700_ELMEOJFCOFH) GetUnk2700_DCBOIFJCDHG() uint32 { + if x != nil { + return x.Unk2700_DCBOIFJCDHG + } + return 0 +} + +func (x *Unk2700_ELMEOJFCOFH) GetUnk2700_KDJGDPDJHLL() uint32 { + if x != nil { + return x.Unk2700_KDJGDPDJHLL + } + return 0 +} + +func (x *Unk2700_ELMEOJFCOFH) GetUnk2700_NGKGJJBDGMP() uint32 { + if x != nil { + return x.Unk2700_NGKGJJBDGMP + } + return 0 +} + +var File_Unk2700_ELMEOJFCOFH_proto protoreflect.FileDescriptor + +var file_Unk2700_ELMEOJFCOFH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4d, 0x45, 0x4f, 0x4a, + 0x46, 0x43, 0x4f, 0x46, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4d, 0x45, 0x4f, 0x4a, 0x46, 0x43, + 0x4f, 0x46, 0x48, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, + 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4d, 0x45, 0x4f, + 0x4a, 0x46, 0x43, 0x4f, 0x46, 0x48, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x47, + 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, + 0x47, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, + 0x44, 0x46, 0x4a, 0x4a, 0x4e, 0x4a, 0x47, 0x41, 0x4a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, 0x44, 0x46, 0x4a, 0x4a, 0x4e, 0x4a, + 0x47, 0x41, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x43, 0x42, 0x4f, 0x49, 0x46, 0x4a, 0x43, 0x44, 0x48, 0x47, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x43, 0x42, 0x4f, 0x49, 0x46, 0x4a, + 0x43, 0x44, 0x48, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x44, 0x4a, 0x47, 0x44, 0x50, 0x44, 0x4a, 0x48, 0x4c, 0x4c, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x44, 0x4a, 0x47, 0x44, 0x50, + 0x44, 0x4a, 0x48, 0x4c, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x47, 0x4b, 0x47, 0x4a, 0x4a, 0x42, 0x44, 0x47, 0x4d, 0x50, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x47, 0x4b, 0x47, 0x4a, + 0x4a, 0x42, 0x44, 0x47, 0x4d, 0x50, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x48, 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_ELMEOJFCOFH_proto_rawDescOnce sync.Once + file_Unk2700_ELMEOJFCOFH_proto_rawDescData = file_Unk2700_ELMEOJFCOFH_proto_rawDesc +) + +func file_Unk2700_ELMEOJFCOFH_proto_rawDescGZIP() []byte { + file_Unk2700_ELMEOJFCOFH_proto_rawDescOnce.Do(func() { + file_Unk2700_ELMEOJFCOFH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ELMEOJFCOFH_proto_rawDescData) + }) + return file_Unk2700_ELMEOJFCOFH_proto_rawDescData +} + +var file_Unk2700_ELMEOJFCOFH_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_ELMEOJFCOFH_proto_goTypes = []interface{}{ + (*Unk2700_ELMEOJFCOFH)(nil), // 0: Unk2700_ELMEOJFCOFH + nil, // 1: Unk2700_ELMEOJFCOFH.Unk2700HGBNIFAKOGIEntry +} +var file_Unk2700_ELMEOJFCOFH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ELMEOJFCOFH.Unk2700_HGBNIFAKOGI:type_name -> Unk2700_ELMEOJFCOFH.Unk2700HGBNIFAKOGIEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ELMEOJFCOFH_proto_init() } +func file_Unk2700_ELMEOJFCOFH_proto_init() { + if File_Unk2700_ELMEOJFCOFH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ELMEOJFCOFH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ELMEOJFCOFH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ELMEOJFCOFH_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ELMEOJFCOFH_proto_goTypes, + DependencyIndexes: file_Unk2700_ELMEOJFCOFH_proto_depIdxs, + MessageInfos: file_Unk2700_ELMEOJFCOFH_proto_msgTypes, + }.Build() + File_Unk2700_ELMEOJFCOFH_proto = out.File + file_Unk2700_ELMEOJFCOFH_proto_rawDesc = nil + file_Unk2700_ELMEOJFCOFH_proto_goTypes = nil + file_Unk2700_ELMEOJFCOFH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.proto b/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.proto new file mode 100644 index 00000000..8d59604b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ELMEOJFCOFH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_ELMEOJFCOFH { + map Unk2700_HGBNIFAKOGI = 12; + uint32 Unk2700_BPDFJJNJGAJ = 3; + uint32 Unk2700_DCBOIFJCDHG = 15; + uint32 Unk2700_KDJGDPDJHLL = 6; + uint32 Unk2700_NGKGJJBDGMP = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.pb.go b/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.pb.go new file mode 100644 index 00000000..f9892219 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EMHAHHAKOGA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8163 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_EMHAHHAKOGA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_EMHAHHAKOGA) Reset() { + *x = Unk2700_EMHAHHAKOGA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EMHAHHAKOGA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EMHAHHAKOGA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EMHAHHAKOGA) ProtoMessage() {} + +func (x *Unk2700_EMHAHHAKOGA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EMHAHHAKOGA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EMHAHHAKOGA.ProtoReflect.Descriptor instead. +func (*Unk2700_EMHAHHAKOGA) Descriptor() ([]byte, []int) { + return file_Unk2700_EMHAHHAKOGA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EMHAHHAKOGA) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_EMHAHHAKOGA_proto protoreflect.FileDescriptor + +var file_Unk2700_EMHAHHAKOGA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x48, 0x41, 0x48, 0x48, + 0x41, 0x4b, 0x4f, 0x47, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x48, 0x41, 0x48, 0x48, 0x41, 0x4b, 0x4f, + 0x47, 0x41, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_EMHAHHAKOGA_proto_rawDescOnce sync.Once + file_Unk2700_EMHAHHAKOGA_proto_rawDescData = file_Unk2700_EMHAHHAKOGA_proto_rawDesc +) + +func file_Unk2700_EMHAHHAKOGA_proto_rawDescGZIP() []byte { + file_Unk2700_EMHAHHAKOGA_proto_rawDescOnce.Do(func() { + file_Unk2700_EMHAHHAKOGA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EMHAHHAKOGA_proto_rawDescData) + }) + return file_Unk2700_EMHAHHAKOGA_proto_rawDescData +} + +var file_Unk2700_EMHAHHAKOGA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EMHAHHAKOGA_proto_goTypes = []interface{}{ + (*Unk2700_EMHAHHAKOGA)(nil), // 0: Unk2700_EMHAHHAKOGA +} +var file_Unk2700_EMHAHHAKOGA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_EMHAHHAKOGA_proto_init() } +func file_Unk2700_EMHAHHAKOGA_proto_init() { + if File_Unk2700_EMHAHHAKOGA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_EMHAHHAKOGA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EMHAHHAKOGA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EMHAHHAKOGA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EMHAHHAKOGA_proto_goTypes, + DependencyIndexes: file_Unk2700_EMHAHHAKOGA_proto_depIdxs, + MessageInfos: file_Unk2700_EMHAHHAKOGA_proto_msgTypes, + }.Build() + File_Unk2700_EMHAHHAKOGA_proto = out.File + file_Unk2700_EMHAHHAKOGA_proto_rawDesc = nil + file_Unk2700_EMHAHHAKOGA_proto_goTypes = nil + file_Unk2700_EMHAHHAKOGA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.proto b/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.proto new file mode 100644 index 00000000..42650a48 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EMHAHHAKOGA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8163 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_EMHAHHAKOGA { + uint32 stage_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.pb.go b/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.pb.go new file mode 100644 index 00000000..5b42919e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_EOHBLDIKPME.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_EOHBLDIKPME struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MapId uint32 `protobuf:"varint,6,opt,name=map_id,json=mapId,proto3" json:"map_id,omitempty"` + Unk2700_JONOMFENDFP *Unk2700_INMNHKOPCFB `protobuf:"bytes,7,opt,name=Unk2700_JONOMFENDFP,json=Unk2700JONOMFENDFP,proto3" json:"Unk2700_JONOMFENDFP,omitempty"` + Unk2700_LDIGKKLLDOC []uint32 `protobuf:"varint,3,rep,packed,name=Unk2700_LDIGKKLLDOC,json=Unk2700LDIGKKLLDOC,proto3" json:"Unk2700_LDIGKKLLDOC,omitempty"` + BestScore uint32 `protobuf:"varint,8,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *Unk2700_EOHBLDIKPME) Reset() { + *x = Unk2700_EOHBLDIKPME{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_EOHBLDIKPME_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_EOHBLDIKPME) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_EOHBLDIKPME) ProtoMessage() {} + +func (x *Unk2700_EOHBLDIKPME) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_EOHBLDIKPME_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_EOHBLDIKPME.ProtoReflect.Descriptor instead. +func (*Unk2700_EOHBLDIKPME) Descriptor() ([]byte, []int) { + return file_Unk2700_EOHBLDIKPME_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_EOHBLDIKPME) GetMapId() uint32 { + if x != nil { + return x.MapId + } + return 0 +} + +func (x *Unk2700_EOHBLDIKPME) GetUnk2700_JONOMFENDFP() *Unk2700_INMNHKOPCFB { + if x != nil { + return x.Unk2700_JONOMFENDFP + } + return nil +} + +func (x *Unk2700_EOHBLDIKPME) GetUnk2700_LDIGKKLLDOC() []uint32 { + if x != nil { + return x.Unk2700_LDIGKKLLDOC + } + return nil +} + +func (x *Unk2700_EOHBLDIKPME) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_Unk2700_EOHBLDIKPME_proto protoreflect.FileDescriptor + +var file_Unk2700_EOHBLDIKPME_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x48, 0x42, 0x4c, 0x44, + 0x49, 0x4b, 0x50, 0x4d, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4d, 0x4e, 0x48, 0x4b, 0x4f, 0x50, 0x43, 0x46, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x48, 0x42, 0x4c, 0x44, 0x49, 0x4b, 0x50, 0x4d, 0x45, 0x12, 0x15, + 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x4f, 0x4e, 0x4f, 0x4d, 0x46, 0x45, 0x4e, 0x44, 0x46, 0x50, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4d, + 0x4e, 0x48, 0x4b, 0x4f, 0x50, 0x43, 0x46, 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4a, 0x4f, 0x4e, 0x4f, 0x4d, 0x46, 0x45, 0x4e, 0x44, 0x46, 0x50, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x44, 0x49, 0x47, 0x4b, 0x4b, 0x4c, 0x4c, + 0x44, 0x4f, 0x43, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4c, 0x44, 0x49, 0x47, 0x4b, 0x4b, 0x4c, 0x4c, 0x44, 0x4f, 0x43, 0x12, 0x1d, 0x0a, + 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_EOHBLDIKPME_proto_rawDescOnce sync.Once + file_Unk2700_EOHBLDIKPME_proto_rawDescData = file_Unk2700_EOHBLDIKPME_proto_rawDesc +) + +func file_Unk2700_EOHBLDIKPME_proto_rawDescGZIP() []byte { + file_Unk2700_EOHBLDIKPME_proto_rawDescOnce.Do(func() { + file_Unk2700_EOHBLDIKPME_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_EOHBLDIKPME_proto_rawDescData) + }) + return file_Unk2700_EOHBLDIKPME_proto_rawDescData +} + +var file_Unk2700_EOHBLDIKPME_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_EOHBLDIKPME_proto_goTypes = []interface{}{ + (*Unk2700_EOHBLDIKPME)(nil), // 0: Unk2700_EOHBLDIKPME + (*Unk2700_INMNHKOPCFB)(nil), // 1: Unk2700_INMNHKOPCFB +} +var file_Unk2700_EOHBLDIKPME_proto_depIdxs = []int32{ + 1, // 0: Unk2700_EOHBLDIKPME.Unk2700_JONOMFENDFP:type_name -> Unk2700_INMNHKOPCFB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_EOHBLDIKPME_proto_init() } +func file_Unk2700_EOHBLDIKPME_proto_init() { + if File_Unk2700_EOHBLDIKPME_proto != nil { + return + } + file_Unk2700_INMNHKOPCFB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_EOHBLDIKPME_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_EOHBLDIKPME); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_EOHBLDIKPME_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_EOHBLDIKPME_proto_goTypes, + DependencyIndexes: file_Unk2700_EOHBLDIKPME_proto_depIdxs, + MessageInfos: file_Unk2700_EOHBLDIKPME_proto_msgTypes, + }.Build() + File_Unk2700_EOHBLDIKPME_proto = out.File + file_Unk2700_EOHBLDIKPME_proto_rawDesc = nil + file_Unk2700_EOHBLDIKPME_proto_goTypes = nil + file_Unk2700_EOHBLDIKPME_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.proto b/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.proto new file mode 100644 index 00000000..407f9159 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_EOHBLDIKPME.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_INMNHKOPCFB.proto"; + +option go_package = "./;proto"; + +message Unk2700_EOHBLDIKPME { + uint32 map_id = 6; + Unk2700_INMNHKOPCFB Unk2700_JONOMFENDFP = 7; + repeated uint32 Unk2700_LDIGKKLLDOC = 3; + uint32 best_score = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.pb.go b/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.pb.go new file mode 100644 index 00000000..c851fe43 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FADPOMMGLCH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8918 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FADPOMMGLCH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FADPOMMGLCH) Reset() { + *x = Unk2700_FADPOMMGLCH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FADPOMMGLCH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FADPOMMGLCH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FADPOMMGLCH) ProtoMessage() {} + +func (x *Unk2700_FADPOMMGLCH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FADPOMMGLCH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FADPOMMGLCH.ProtoReflect.Descriptor instead. +func (*Unk2700_FADPOMMGLCH) Descriptor() ([]byte, []int) { + return file_Unk2700_FADPOMMGLCH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FADPOMMGLCH) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_FADPOMMGLCH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FADPOMMGLCH_proto protoreflect.FileDescriptor + +var file_Unk2700_FADPOMMGLCH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x44, 0x50, 0x4f, 0x4d, + 0x4d, 0x47, 0x4c, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x44, 0x50, 0x4f, 0x4d, 0x4d, 0x47, 0x4c, + 0x43, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FADPOMMGLCH_proto_rawDescOnce sync.Once + file_Unk2700_FADPOMMGLCH_proto_rawDescData = file_Unk2700_FADPOMMGLCH_proto_rawDesc +) + +func file_Unk2700_FADPOMMGLCH_proto_rawDescGZIP() []byte { + file_Unk2700_FADPOMMGLCH_proto_rawDescOnce.Do(func() { + file_Unk2700_FADPOMMGLCH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FADPOMMGLCH_proto_rawDescData) + }) + return file_Unk2700_FADPOMMGLCH_proto_rawDescData +} + +var file_Unk2700_FADPOMMGLCH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FADPOMMGLCH_proto_goTypes = []interface{}{ + (*Unk2700_FADPOMMGLCH)(nil), // 0: Unk2700_FADPOMMGLCH +} +var file_Unk2700_FADPOMMGLCH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FADPOMMGLCH_proto_init() } +func file_Unk2700_FADPOMMGLCH_proto_init() { + if File_Unk2700_FADPOMMGLCH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FADPOMMGLCH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FADPOMMGLCH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FADPOMMGLCH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FADPOMMGLCH_proto_goTypes, + DependencyIndexes: file_Unk2700_FADPOMMGLCH_proto_depIdxs, + MessageInfos: file_Unk2700_FADPOMMGLCH_proto_msgTypes, + }.Build() + File_Unk2700_FADPOMMGLCH_proto = out.File + file_Unk2700_FADPOMMGLCH_proto_rawDesc = nil + file_Unk2700_FADPOMMGLCH_proto_goTypes = nil + file_Unk2700_FADPOMMGLCH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.proto b/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.proto new file mode 100644 index 00000000..cf3ad794 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FADPOMMGLCH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8918 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FADPOMMGLCH { + uint32 stage_id = 13; + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.pb.go b/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.pb.go new file mode 100644 index 00000000..48f853fa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.pb.go @@ -0,0 +1,215 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FCJOEKKHPLB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FCJOEKKHPLB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AMJKJDFKOHF uint32 `protobuf:"varint,2,opt,name=Unk2700_AMJKJDFKOHF,json=Unk2700AMJKJDFKOHF,proto3" json:"Unk2700_AMJKJDFKOHF,omitempty"` + Unk2700_JFBLEPOMGLC uint32 `protobuf:"varint,3,opt,name=Unk2700_JFBLEPOMGLC,json=Unk2700JFBLEPOMGLC,proto3" json:"Unk2700_JFBLEPOMGLC,omitempty"` + Unk2700_NDJKPHLIALK uint32 `protobuf:"varint,1,opt,name=Unk2700_NDJKPHLIALK,json=Unk2700NDJKPHLIALK,proto3" json:"Unk2700_NDJKPHLIALK,omitempty"` + Unk2700_HKKPKBEKCME uint32 `protobuf:"varint,6,opt,name=Unk2700_HKKPKBEKCME,json=Unk2700HKKPKBEKCME,proto3" json:"Unk2700_HKKPKBEKCME,omitempty"` + Unk2700_ADPPEOELMBP []uint32 `protobuf:"varint,4,rep,packed,name=Unk2700_ADPPEOELMBP,json=Unk2700ADPPEOELMBP,proto3" json:"Unk2700_ADPPEOELMBP,omitempty"` + Unk2700_MLCEOFAMBFM uint32 `protobuf:"varint,7,opt,name=Unk2700_MLCEOFAMBFM,json=Unk2700MLCEOFAMBFM,proto3" json:"Unk2700_MLCEOFAMBFM,omitempty"` +} + +func (x *Unk2700_FCJOEKKHPLB) Reset() { + *x = Unk2700_FCJOEKKHPLB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FCJOEKKHPLB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FCJOEKKHPLB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FCJOEKKHPLB) ProtoMessage() {} + +func (x *Unk2700_FCJOEKKHPLB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FCJOEKKHPLB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FCJOEKKHPLB.ProtoReflect.Descriptor instead. +func (*Unk2700_FCJOEKKHPLB) Descriptor() ([]byte, []int) { + return file_Unk2700_FCJOEKKHPLB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_AMJKJDFKOHF() uint32 { + if x != nil { + return x.Unk2700_AMJKJDFKOHF + } + return 0 +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_JFBLEPOMGLC() uint32 { + if x != nil { + return x.Unk2700_JFBLEPOMGLC + } + return 0 +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_NDJKPHLIALK() uint32 { + if x != nil { + return x.Unk2700_NDJKPHLIALK + } + return 0 +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_HKKPKBEKCME() uint32 { + if x != nil { + return x.Unk2700_HKKPKBEKCME + } + return 0 +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_ADPPEOELMBP() []uint32 { + if x != nil { + return x.Unk2700_ADPPEOELMBP + } + return nil +} + +func (x *Unk2700_FCJOEKKHPLB) GetUnk2700_MLCEOFAMBFM() uint32 { + if x != nil { + return x.Unk2700_MLCEOFAMBFM + } + return 0 +} + +var File_Unk2700_FCJOEKKHPLB_proto protoreflect.FileDescriptor + +var file_Unk2700_FCJOEKKHPLB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x43, 0x4a, 0x4f, 0x45, 0x4b, + 0x4b, 0x48, 0x50, 0x4c, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x43, 0x4a, 0x4f, 0x45, 0x4b, 0x4b, 0x48, + 0x50, 0x4c, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x4d, 0x4a, 0x4b, 0x4a, 0x44, 0x46, 0x4b, 0x4f, 0x48, 0x46, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4d, 0x4a, 0x4b, 0x4a, 0x44, 0x46, + 0x4b, 0x4f, 0x48, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4a, 0x46, 0x42, 0x4c, 0x45, 0x50, 0x4f, 0x4d, 0x47, 0x4c, 0x43, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x46, 0x42, 0x4c, 0x45, 0x50, + 0x4f, 0x4d, 0x47, 0x4c, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x44, 0x4a, 0x4b, 0x50, 0x48, 0x4c, 0x49, 0x41, 0x4c, 0x4b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x44, 0x4a, 0x4b, 0x50, + 0x48, 0x4c, 0x49, 0x41, 0x4c, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x48, 0x4b, 0x4b, 0x50, 0x4b, 0x42, 0x45, 0x4b, 0x43, 0x4d, 0x45, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4b, 0x4b, 0x50, + 0x4b, 0x42, 0x45, 0x4b, 0x43, 0x4d, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x44, 0x50, 0x50, 0x45, 0x4f, 0x45, 0x4c, 0x4d, 0x42, 0x50, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x44, 0x50, + 0x50, 0x45, 0x4f, 0x45, 0x4c, 0x4d, 0x42, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4c, 0x43, 0x45, 0x4f, 0x46, 0x41, 0x4d, 0x42, 0x46, 0x4d, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4c, + 0x43, 0x45, 0x4f, 0x46, 0x41, 0x4d, 0x42, 0x46, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FCJOEKKHPLB_proto_rawDescOnce sync.Once + file_Unk2700_FCJOEKKHPLB_proto_rawDescData = file_Unk2700_FCJOEKKHPLB_proto_rawDesc +) + +func file_Unk2700_FCJOEKKHPLB_proto_rawDescGZIP() []byte { + file_Unk2700_FCJOEKKHPLB_proto_rawDescOnce.Do(func() { + file_Unk2700_FCJOEKKHPLB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FCJOEKKHPLB_proto_rawDescData) + }) + return file_Unk2700_FCJOEKKHPLB_proto_rawDescData +} + +var file_Unk2700_FCJOEKKHPLB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FCJOEKKHPLB_proto_goTypes = []interface{}{ + (*Unk2700_FCJOEKKHPLB)(nil), // 0: Unk2700_FCJOEKKHPLB +} +var file_Unk2700_FCJOEKKHPLB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FCJOEKKHPLB_proto_init() } +func file_Unk2700_FCJOEKKHPLB_proto_init() { + if File_Unk2700_FCJOEKKHPLB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FCJOEKKHPLB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FCJOEKKHPLB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FCJOEKKHPLB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FCJOEKKHPLB_proto_goTypes, + DependencyIndexes: file_Unk2700_FCJOEKKHPLB_proto_depIdxs, + MessageInfos: file_Unk2700_FCJOEKKHPLB_proto_msgTypes, + }.Build() + File_Unk2700_FCJOEKKHPLB_proto = out.File + file_Unk2700_FCJOEKKHPLB_proto_rawDesc = nil + file_Unk2700_FCJOEKKHPLB_proto_goTypes = nil + file_Unk2700_FCJOEKKHPLB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.proto b/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.proto new file mode 100644 index 00000000..3ed40a00 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FCJOEKKHPLB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_FCJOEKKHPLB { + uint32 Unk2700_AMJKJDFKOHF = 2; + uint32 Unk2700_JFBLEPOMGLC = 3; + uint32 Unk2700_NDJKPHLIALK = 1; + uint32 Unk2700_HKKPKBEKCME = 6; + repeated uint32 Unk2700_ADPPEOELMBP = 4; + uint32 Unk2700_MLCEOFAMBFM = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.pb.go b/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.pb.go new file mode 100644 index 00000000..4e26a0a0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FCLBOLKPMGK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8753 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FCLBOLKPMGK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemIdList []uint32 `protobuf:"varint,4,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *Unk2700_FCLBOLKPMGK) Reset() { + *x = Unk2700_FCLBOLKPMGK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FCLBOLKPMGK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FCLBOLKPMGK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FCLBOLKPMGK) ProtoMessage() {} + +func (x *Unk2700_FCLBOLKPMGK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FCLBOLKPMGK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FCLBOLKPMGK.ProtoReflect.Descriptor instead. +func (*Unk2700_FCLBOLKPMGK) Descriptor() ([]byte, []int) { + return file_Unk2700_FCLBOLKPMGK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FCLBOLKPMGK) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_Unk2700_FCLBOLKPMGK_proto protoreflect.FileDescriptor + +var file_Unk2700_FCLBOLKPMGK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x43, 0x4c, 0x42, 0x4f, 0x4c, + 0x4b, 0x50, 0x4d, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x43, 0x4c, 0x42, 0x4f, 0x4c, 0x4b, 0x50, 0x4d, + 0x47, 0x4b, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FCLBOLKPMGK_proto_rawDescOnce sync.Once + file_Unk2700_FCLBOLKPMGK_proto_rawDescData = file_Unk2700_FCLBOLKPMGK_proto_rawDesc +) + +func file_Unk2700_FCLBOLKPMGK_proto_rawDescGZIP() []byte { + file_Unk2700_FCLBOLKPMGK_proto_rawDescOnce.Do(func() { + file_Unk2700_FCLBOLKPMGK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FCLBOLKPMGK_proto_rawDescData) + }) + return file_Unk2700_FCLBOLKPMGK_proto_rawDescData +} + +var file_Unk2700_FCLBOLKPMGK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FCLBOLKPMGK_proto_goTypes = []interface{}{ + (*Unk2700_FCLBOLKPMGK)(nil), // 0: Unk2700_FCLBOLKPMGK +} +var file_Unk2700_FCLBOLKPMGK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FCLBOLKPMGK_proto_init() } +func file_Unk2700_FCLBOLKPMGK_proto_init() { + if File_Unk2700_FCLBOLKPMGK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FCLBOLKPMGK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FCLBOLKPMGK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FCLBOLKPMGK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FCLBOLKPMGK_proto_goTypes, + DependencyIndexes: file_Unk2700_FCLBOLKPMGK_proto_depIdxs, + MessageInfos: file_Unk2700_FCLBOLKPMGK_proto_msgTypes, + }.Build() + File_Unk2700_FCLBOLKPMGK_proto = out.File + file_Unk2700_FCLBOLKPMGK_proto_rawDesc = nil + file_Unk2700_FCLBOLKPMGK_proto_goTypes = nil + file_Unk2700_FCLBOLKPMGK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.proto b/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.proto new file mode 100644 index 00000000..0f018f1a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FCLBOLKPMGK.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8753 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FCLBOLKPMGK { + repeated uint32 item_id_list = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.pb.go b/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.pb.go new file mode 100644 index 00000000..68abf300 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FDEGJOCDDGH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FDEGJOCDDGH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurProgress uint32 `protobuf:"varint,9,opt,name=cur_progress,json=curProgress,proto3" json:"cur_progress,omitempty"` + ChallengeIndex uint32 `protobuf:"varint,10,opt,name=challenge_index,json=challengeIndex,proto3" json:"challenge_index,omitempty"` + IsSuccess bool `protobuf:"varint,4,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + ChallengeId uint32 `protobuf:"varint,8,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *Unk2700_FDEGJOCDDGH) Reset() { + *x = Unk2700_FDEGJOCDDGH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FDEGJOCDDGH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FDEGJOCDDGH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FDEGJOCDDGH) ProtoMessage() {} + +func (x *Unk2700_FDEGJOCDDGH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FDEGJOCDDGH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FDEGJOCDDGH.ProtoReflect.Descriptor instead. +func (*Unk2700_FDEGJOCDDGH) Descriptor() ([]byte, []int) { + return file_Unk2700_FDEGJOCDDGH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FDEGJOCDDGH) GetCurProgress() uint32 { + if x != nil { + return x.CurProgress + } + return 0 +} + +func (x *Unk2700_FDEGJOCDDGH) GetChallengeIndex() uint32 { + if x != nil { + return x.ChallengeIndex + } + return 0 +} + +func (x *Unk2700_FDEGJOCDDGH) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk2700_FDEGJOCDDGH) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_Unk2700_FDEGJOCDDGH_proto protoreflect.FileDescriptor + +var file_Unk2700_FDEGJOCDDGH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x45, 0x47, 0x4a, 0x4f, + 0x43, 0x44, 0x44, 0x47, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x45, 0x47, 0x4a, 0x4f, 0x43, 0x44, + 0x44, 0x47, 0x48, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FDEGJOCDDGH_proto_rawDescOnce sync.Once + file_Unk2700_FDEGJOCDDGH_proto_rawDescData = file_Unk2700_FDEGJOCDDGH_proto_rawDesc +) + +func file_Unk2700_FDEGJOCDDGH_proto_rawDescGZIP() []byte { + file_Unk2700_FDEGJOCDDGH_proto_rawDescOnce.Do(func() { + file_Unk2700_FDEGJOCDDGH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FDEGJOCDDGH_proto_rawDescData) + }) + return file_Unk2700_FDEGJOCDDGH_proto_rawDescData +} + +var file_Unk2700_FDEGJOCDDGH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FDEGJOCDDGH_proto_goTypes = []interface{}{ + (*Unk2700_FDEGJOCDDGH)(nil), // 0: Unk2700_FDEGJOCDDGH +} +var file_Unk2700_FDEGJOCDDGH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FDEGJOCDDGH_proto_init() } +func file_Unk2700_FDEGJOCDDGH_proto_init() { + if File_Unk2700_FDEGJOCDDGH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FDEGJOCDDGH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FDEGJOCDDGH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FDEGJOCDDGH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FDEGJOCDDGH_proto_goTypes, + DependencyIndexes: file_Unk2700_FDEGJOCDDGH_proto_depIdxs, + MessageInfos: file_Unk2700_FDEGJOCDDGH_proto_msgTypes, + }.Build() + File_Unk2700_FDEGJOCDDGH_proto = out.File + file_Unk2700_FDEGJOCDDGH_proto_rawDesc = nil + file_Unk2700_FDEGJOCDDGH_proto_goTypes = nil + file_Unk2700_FDEGJOCDDGH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.proto b/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.proto new file mode 100644 index 00000000..ca8b5440 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FDEGJOCDDGH.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_FDEGJOCDDGH { + uint32 cur_progress = 9; + uint32 challenge_index = 10; + bool is_success = 4; + uint32 challenge_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.pb.go b/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.pb.go new file mode 100644 index 00000000..4804e475 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FDJBLKOBFIH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8334 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FDJBLKOBFIH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FDJBLKOBFIH) Reset() { + *x = Unk2700_FDJBLKOBFIH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FDJBLKOBFIH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FDJBLKOBFIH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FDJBLKOBFIH) ProtoMessage() {} + +func (x *Unk2700_FDJBLKOBFIH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FDJBLKOBFIH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FDJBLKOBFIH.ProtoReflect.Descriptor instead. +func (*Unk2700_FDJBLKOBFIH) Descriptor() ([]byte, []int) { + return file_Unk2700_FDJBLKOBFIH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FDJBLKOBFIH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FDJBLKOBFIH_proto protoreflect.FileDescriptor + +var file_Unk2700_FDJBLKOBFIH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4a, 0x42, 0x4c, 0x4b, + 0x4f, 0x42, 0x46, 0x49, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4a, 0x42, 0x4c, 0x4b, 0x4f, 0x42, 0x46, + 0x49, 0x48, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FDJBLKOBFIH_proto_rawDescOnce sync.Once + file_Unk2700_FDJBLKOBFIH_proto_rawDescData = file_Unk2700_FDJBLKOBFIH_proto_rawDesc +) + +func file_Unk2700_FDJBLKOBFIH_proto_rawDescGZIP() []byte { + file_Unk2700_FDJBLKOBFIH_proto_rawDescOnce.Do(func() { + file_Unk2700_FDJBLKOBFIH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FDJBLKOBFIH_proto_rawDescData) + }) + return file_Unk2700_FDJBLKOBFIH_proto_rawDescData +} + +var file_Unk2700_FDJBLKOBFIH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FDJBLKOBFIH_proto_goTypes = []interface{}{ + (*Unk2700_FDJBLKOBFIH)(nil), // 0: Unk2700_FDJBLKOBFIH +} +var file_Unk2700_FDJBLKOBFIH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FDJBLKOBFIH_proto_init() } +func file_Unk2700_FDJBLKOBFIH_proto_init() { + if File_Unk2700_FDJBLKOBFIH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FDJBLKOBFIH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FDJBLKOBFIH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FDJBLKOBFIH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FDJBLKOBFIH_proto_goTypes, + DependencyIndexes: file_Unk2700_FDJBLKOBFIH_proto_depIdxs, + MessageInfos: file_Unk2700_FDJBLKOBFIH_proto_msgTypes, + }.Build() + File_Unk2700_FDJBLKOBFIH_proto = out.File + file_Unk2700_FDJBLKOBFIH_proto_rawDesc = nil + file_Unk2700_FDJBLKOBFIH_proto_goTypes = nil + file_Unk2700_FDJBLKOBFIH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.proto b/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.proto new file mode 100644 index 00000000..5b679fef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FDJBLKOBFIH.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8334 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FDJBLKOBFIH { + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.pb.go b/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.pb.go new file mode 100644 index 00000000..e8d1ab37 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FEAENJPINFJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FEAENJPINFJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SkillId uint32 `protobuf:"varint,2,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` + IsUnlock bool `protobuf:"varint,11,opt,name=is_unlock,json=isUnlock,proto3" json:"is_unlock,omitempty"` + Unk2700_LAPIBECMGOB uint32 `protobuf:"varint,1,opt,name=Unk2700_LAPIBECMGOB,json=Unk2700LAPIBECMGOB,proto3" json:"Unk2700_LAPIBECMGOB,omitempty"` + Unk2700_LKNCBOOJCGI uint32 `protobuf:"varint,14,opt,name=Unk2700_LKNCBOOJCGI,json=Unk2700LKNCBOOJCGI,proto3" json:"Unk2700_LKNCBOOJCGI,omitempty"` +} + +func (x *Unk2700_FEAENJPINFJ) Reset() { + *x = Unk2700_FEAENJPINFJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FEAENJPINFJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FEAENJPINFJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FEAENJPINFJ) ProtoMessage() {} + +func (x *Unk2700_FEAENJPINFJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FEAENJPINFJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FEAENJPINFJ.ProtoReflect.Descriptor instead. +func (*Unk2700_FEAENJPINFJ) Descriptor() ([]byte, []int) { + return file_Unk2700_FEAENJPINFJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FEAENJPINFJ) GetSkillId() uint32 { + if x != nil { + return x.SkillId + } + return 0 +} + +func (x *Unk2700_FEAENJPINFJ) GetIsUnlock() bool { + if x != nil { + return x.IsUnlock + } + return false +} + +func (x *Unk2700_FEAENJPINFJ) GetUnk2700_LAPIBECMGOB() uint32 { + if x != nil { + return x.Unk2700_LAPIBECMGOB + } + return 0 +} + +func (x *Unk2700_FEAENJPINFJ) GetUnk2700_LKNCBOOJCGI() uint32 { + if x != nil { + return x.Unk2700_LKNCBOOJCGI + } + return 0 +} + +var File_Unk2700_FEAENJPINFJ_proto protoreflect.FileDescriptor + +var file_Unk2700_FEAENJPINFJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x41, 0x45, 0x4e, 0x4a, + 0x50, 0x49, 0x4e, 0x46, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x41, 0x45, 0x4e, 0x4a, 0x50, 0x49, + 0x4e, 0x46, 0x4a, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x50, 0x49, 0x42, 0x45, 0x43, 0x4d, 0x47, + 0x4f, 0x42, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4c, 0x41, 0x50, 0x49, 0x42, 0x45, 0x43, 0x4d, 0x47, 0x4f, 0x42, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x4e, 0x43, 0x42, 0x4f, 0x4f, 0x4a, + 0x43, 0x47, 0x49, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4c, 0x4b, 0x4e, 0x43, 0x42, 0x4f, 0x4f, 0x4a, 0x43, 0x47, 0x49, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_FEAENJPINFJ_proto_rawDescOnce sync.Once + file_Unk2700_FEAENJPINFJ_proto_rawDescData = file_Unk2700_FEAENJPINFJ_proto_rawDesc +) + +func file_Unk2700_FEAENJPINFJ_proto_rawDescGZIP() []byte { + file_Unk2700_FEAENJPINFJ_proto_rawDescOnce.Do(func() { + file_Unk2700_FEAENJPINFJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FEAENJPINFJ_proto_rawDescData) + }) + return file_Unk2700_FEAENJPINFJ_proto_rawDescData +} + +var file_Unk2700_FEAENJPINFJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FEAENJPINFJ_proto_goTypes = []interface{}{ + (*Unk2700_FEAENJPINFJ)(nil), // 0: Unk2700_FEAENJPINFJ +} +var file_Unk2700_FEAENJPINFJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FEAENJPINFJ_proto_init() } +func file_Unk2700_FEAENJPINFJ_proto_init() { + if File_Unk2700_FEAENJPINFJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FEAENJPINFJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FEAENJPINFJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FEAENJPINFJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FEAENJPINFJ_proto_goTypes, + DependencyIndexes: file_Unk2700_FEAENJPINFJ_proto_depIdxs, + MessageInfos: file_Unk2700_FEAENJPINFJ_proto_msgTypes, + }.Build() + File_Unk2700_FEAENJPINFJ_proto = out.File + file_Unk2700_FEAENJPINFJ_proto_rawDesc = nil + file_Unk2700_FEAENJPINFJ_proto_goTypes = nil + file_Unk2700_FEAENJPINFJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.proto b/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.proto new file mode 100644 index 00000000..898a52cc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FEAENJPINFJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_FEAENJPINFJ { + uint32 skill_id = 2; + bool is_unlock = 11; + uint32 Unk2700_LAPIBECMGOB = 1; + uint32 Unk2700_LKNCBOOJCGI = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.pb.go b/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.pb.go new file mode 100644 index 00000000..3d39f8bf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FEODEAEOOKE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FEODEAEOOKE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_FEODEAEOOKE) Reset() { + *x = Unk2700_FEODEAEOOKE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FEODEAEOOKE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FEODEAEOOKE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FEODEAEOOKE) ProtoMessage() {} + +func (x *Unk2700_FEODEAEOOKE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FEODEAEOOKE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FEODEAEOOKE.ProtoReflect.Descriptor instead. +func (*Unk2700_FEODEAEOOKE) Descriptor() ([]byte, []int) { + return file_Unk2700_FEODEAEOOKE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FEODEAEOOKE) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_FEODEAEOOKE_proto protoreflect.FileDescriptor + +var file_Unk2700_FEODEAEOOKE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4f, 0x44, 0x45, 0x41, + 0x45, 0x4f, 0x4f, 0x4b, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4f, 0x44, 0x45, 0x41, 0x45, 0x4f, 0x4f, + 0x4b, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_FEODEAEOOKE_proto_rawDescOnce sync.Once + file_Unk2700_FEODEAEOOKE_proto_rawDescData = file_Unk2700_FEODEAEOOKE_proto_rawDesc +) + +func file_Unk2700_FEODEAEOOKE_proto_rawDescGZIP() []byte { + file_Unk2700_FEODEAEOOKE_proto_rawDescOnce.Do(func() { + file_Unk2700_FEODEAEOOKE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FEODEAEOOKE_proto_rawDescData) + }) + return file_Unk2700_FEODEAEOOKE_proto_rawDescData +} + +var file_Unk2700_FEODEAEOOKE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FEODEAEOOKE_proto_goTypes = []interface{}{ + (*Unk2700_FEODEAEOOKE)(nil), // 0: Unk2700_FEODEAEOOKE +} +var file_Unk2700_FEODEAEOOKE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FEODEAEOOKE_proto_init() } +func file_Unk2700_FEODEAEOOKE_proto_init() { + if File_Unk2700_FEODEAEOOKE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FEODEAEOOKE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FEODEAEOOKE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FEODEAEOOKE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FEODEAEOOKE_proto_goTypes, + DependencyIndexes: file_Unk2700_FEODEAEOOKE_proto_depIdxs, + MessageInfos: file_Unk2700_FEODEAEOOKE_proto_msgTypes, + }.Build() + File_Unk2700_FEODEAEOOKE_proto = out.File + file_Unk2700_FEODEAEOOKE_proto_rawDesc = nil + file_Unk2700_FEODEAEOOKE_proto_goTypes = nil + file_Unk2700_FEODEAEOOKE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.proto b/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.proto new file mode 100644 index 00000000..13b68b8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FEODEAEOOKE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8507 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FEODEAEOOKE { + uint32 level_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.pb.go b/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.pb.go new file mode 100644 index 00000000..df29e96a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FFMAKIPBPHE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8989 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FFMAKIPBPHE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FFMAKIPBPHE) Reset() { + *x = Unk2700_FFMAKIPBPHE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FFMAKIPBPHE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FFMAKIPBPHE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FFMAKIPBPHE) ProtoMessage() {} + +func (x *Unk2700_FFMAKIPBPHE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FFMAKIPBPHE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FFMAKIPBPHE.ProtoReflect.Descriptor instead. +func (*Unk2700_FFMAKIPBPHE) Descriptor() ([]byte, []int) { + return file_Unk2700_FFMAKIPBPHE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FFMAKIPBPHE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FFMAKIPBPHE_proto protoreflect.FileDescriptor + +var file_Unk2700_FFMAKIPBPHE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4d, 0x41, 0x4b, 0x49, + 0x50, 0x42, 0x50, 0x48, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4d, 0x41, 0x4b, 0x49, 0x50, 0x42, 0x50, + 0x48, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FFMAKIPBPHE_proto_rawDescOnce sync.Once + file_Unk2700_FFMAKIPBPHE_proto_rawDescData = file_Unk2700_FFMAKIPBPHE_proto_rawDesc +) + +func file_Unk2700_FFMAKIPBPHE_proto_rawDescGZIP() []byte { + file_Unk2700_FFMAKIPBPHE_proto_rawDescOnce.Do(func() { + file_Unk2700_FFMAKIPBPHE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FFMAKIPBPHE_proto_rawDescData) + }) + return file_Unk2700_FFMAKIPBPHE_proto_rawDescData +} + +var file_Unk2700_FFMAKIPBPHE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FFMAKIPBPHE_proto_goTypes = []interface{}{ + (*Unk2700_FFMAKIPBPHE)(nil), // 0: Unk2700_FFMAKIPBPHE +} +var file_Unk2700_FFMAKIPBPHE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FFMAKIPBPHE_proto_init() } +func file_Unk2700_FFMAKIPBPHE_proto_init() { + if File_Unk2700_FFMAKIPBPHE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FFMAKIPBPHE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FFMAKIPBPHE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FFMAKIPBPHE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FFMAKIPBPHE_proto_goTypes, + DependencyIndexes: file_Unk2700_FFMAKIPBPHE_proto_depIdxs, + MessageInfos: file_Unk2700_FFMAKIPBPHE_proto_msgTypes, + }.Build() + File_Unk2700_FFMAKIPBPHE_proto = out.File + file_Unk2700_FFMAKIPBPHE_proto_rawDesc = nil + file_Unk2700_FFMAKIPBPHE_proto_goTypes = nil + file_Unk2700_FFMAKIPBPHE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.proto b/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.proto new file mode 100644 index 00000000..f74d3faf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FFMAKIPBPHE.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8989 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FFMAKIPBPHE { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.pb.go new file mode 100644 index 00000000..99087c8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FFOBMLOCPMH_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6211 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FFOBMLOCPMH_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_FFOBMLOCPMH_ClientNotify) Reset() { + *x = Unk2700_FFOBMLOCPMH_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FFOBMLOCPMH_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FFOBMLOCPMH_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_FFOBMLOCPMH_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FFOBMLOCPMH_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_FFOBMLOCPMH_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_FFOBMLOCPMH_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x4d, 0x4c, + 0x4f, 0x43, 0x50, 0x4d, 0x48, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x4d, 0x4c, 0x4f, 0x43, 0x50, 0x4d, 0x48, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescData = file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDesc +) + +func file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDescData +} + +var file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_FFOBMLOCPMH_ClientNotify)(nil), // 0: Unk2700_FFOBMLOCPMH_ClientNotify +} +var file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_init() } +func file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_init() { + if File_Unk2700_FFOBMLOCPMH_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FFOBMLOCPMH_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_FFOBMLOCPMH_ClientNotify_proto = out.File + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_rawDesc = nil + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_goTypes = nil + file_Unk2700_FFOBMLOCPMH_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.proto new file mode 100644 index 00000000..eba667f0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FFOBMLOCPMH_ClientNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6211 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FFOBMLOCPMH_ClientNotify {} diff --git a/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.pb.go b/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.pb.go new file mode 100644 index 00000000..4cfc8dd6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FGEEFFLBAKO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8546 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FGEEFFLBAKO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,7,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` + LevelId uint32 `protobuf:"varint,13,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_FGEEFFLBAKO) Reset() { + *x = Unk2700_FGEEFFLBAKO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FGEEFFLBAKO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FGEEFFLBAKO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FGEEFFLBAKO) ProtoMessage() {} + +func (x *Unk2700_FGEEFFLBAKO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FGEEFFLBAKO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FGEEFFLBAKO.ProtoReflect.Descriptor instead. +func (*Unk2700_FGEEFFLBAKO) Descriptor() ([]byte, []int) { + return file_Unk2700_FGEEFFLBAKO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FGEEFFLBAKO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_FGEEFFLBAKO) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +func (x *Unk2700_FGEEFFLBAKO) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_FGEEFFLBAKO_proto protoreflect.FileDescriptor + +var file_Unk2700_FGEEFFLBAKO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x45, 0x45, 0x46, 0x46, + 0x4c, 0x42, 0x41, 0x4b, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x45, 0x45, 0x46, 0x46, 0x4c, 0x42, 0x41, + 0x4b, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, + 0x43, 0x46, 0x46, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x12, 0x19, 0x0a, + 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FGEEFFLBAKO_proto_rawDescOnce sync.Once + file_Unk2700_FGEEFFLBAKO_proto_rawDescData = file_Unk2700_FGEEFFLBAKO_proto_rawDesc +) + +func file_Unk2700_FGEEFFLBAKO_proto_rawDescGZIP() []byte { + file_Unk2700_FGEEFFLBAKO_proto_rawDescOnce.Do(func() { + file_Unk2700_FGEEFFLBAKO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FGEEFFLBAKO_proto_rawDescData) + }) + return file_Unk2700_FGEEFFLBAKO_proto_rawDescData +} + +var file_Unk2700_FGEEFFLBAKO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FGEEFFLBAKO_proto_goTypes = []interface{}{ + (*Unk2700_FGEEFFLBAKO)(nil), // 0: Unk2700_FGEEFFLBAKO +} +var file_Unk2700_FGEEFFLBAKO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FGEEFFLBAKO_proto_init() } +func file_Unk2700_FGEEFFLBAKO_proto_init() { + if File_Unk2700_FGEEFFLBAKO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FGEEFFLBAKO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FGEEFFLBAKO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FGEEFFLBAKO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FGEEFFLBAKO_proto_goTypes, + DependencyIndexes: file_Unk2700_FGEEFFLBAKO_proto_depIdxs, + MessageInfos: file_Unk2700_FGEEFFLBAKO_proto_msgTypes, + }.Build() + File_Unk2700_FGEEFFLBAKO_proto = out.File + file_Unk2700_FGEEFFLBAKO_proto_rawDesc = nil + file_Unk2700_FGEEFFLBAKO_proto_goTypes = nil + file_Unk2700_FGEEFFLBAKO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.proto b/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.proto new file mode 100644 index 00000000..c4fabde2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGEEFFLBAKO.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8546 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FGEEFFLBAKO { + int32 retcode = 5; + bool Unk2700_PHGMKGEMCFF = 7; + uint32 level_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.pb.go b/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.pb.go new file mode 100644 index 00000000..a1684ef6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FGJBPNIKNDE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FGJBPNIKNDE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_FGJBPNIKNDE) Reset() { + *x = Unk2700_FGJBPNIKNDE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FGJBPNIKNDE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FGJBPNIKNDE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FGJBPNIKNDE) ProtoMessage() {} + +func (x *Unk2700_FGJBPNIKNDE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FGJBPNIKNDE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FGJBPNIKNDE.ProtoReflect.Descriptor instead. +func (*Unk2700_FGJBPNIKNDE) Descriptor() ([]byte, []int) { + return file_Unk2700_FGJBPNIKNDE_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_FGJBPNIKNDE_proto protoreflect.FileDescriptor + +var file_Unk2700_FGJBPNIKNDE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x4a, 0x42, 0x50, 0x4e, + 0x49, 0x4b, 0x4e, 0x44, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x4a, 0x42, 0x50, 0x4e, 0x49, 0x4b, 0x4e, + 0x44, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FGJBPNIKNDE_proto_rawDescOnce sync.Once + file_Unk2700_FGJBPNIKNDE_proto_rawDescData = file_Unk2700_FGJBPNIKNDE_proto_rawDesc +) + +func file_Unk2700_FGJBPNIKNDE_proto_rawDescGZIP() []byte { + file_Unk2700_FGJBPNIKNDE_proto_rawDescOnce.Do(func() { + file_Unk2700_FGJBPNIKNDE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FGJBPNIKNDE_proto_rawDescData) + }) + return file_Unk2700_FGJBPNIKNDE_proto_rawDescData +} + +var file_Unk2700_FGJBPNIKNDE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FGJBPNIKNDE_proto_goTypes = []interface{}{ + (*Unk2700_FGJBPNIKNDE)(nil), // 0: Unk2700_FGJBPNIKNDE +} +var file_Unk2700_FGJBPNIKNDE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FGJBPNIKNDE_proto_init() } +func file_Unk2700_FGJBPNIKNDE_proto_init() { + if File_Unk2700_FGJBPNIKNDE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FGJBPNIKNDE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FGJBPNIKNDE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FGJBPNIKNDE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FGJBPNIKNDE_proto_goTypes, + DependencyIndexes: file_Unk2700_FGJBPNIKNDE_proto_depIdxs, + MessageInfos: file_Unk2700_FGJBPNIKNDE_proto_msgTypes, + }.Build() + File_Unk2700_FGJBPNIKNDE_proto = out.File + file_Unk2700_FGJBPNIKNDE_proto_rawDesc = nil + file_Unk2700_FGJBPNIKNDE_proto_goTypes = nil + file_Unk2700_FGJBPNIKNDE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.proto b/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.proto new file mode 100644 index 00000000..ff373042 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGJBPNIKNDE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8398 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FGJBPNIKNDE {} diff --git a/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.pb.go b/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.pb.go new file mode 100644 index 00000000..3810bd7d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FGJFFMPOJON.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FGJFFMPOJON struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` + RemarkName string `protobuf:"bytes,3,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,11,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Unk2700_IFCNGIPPOAE map[uint32]uint32 `protobuf:"bytes,9,rep,name=Unk2700_IFCNGIPPOAE,json=Unk2700IFCNGIPPOAE,proto3" json:"Unk2700_IFCNGIPPOAE,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *Unk2700_FGJFFMPOJON) Reset() { + *x = Unk2700_FGJFFMPOJON{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FGJFFMPOJON_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FGJFFMPOJON) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FGJFFMPOJON) ProtoMessage() {} + +func (x *Unk2700_FGJFFMPOJON) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FGJFFMPOJON_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FGJFFMPOJON.ProtoReflect.Descriptor instead. +func (*Unk2700_FGJFFMPOJON) Descriptor() ([]byte, []int) { + return file_Unk2700_FGJFFMPOJON_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FGJFFMPOJON) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *Unk2700_FGJFFMPOJON) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *Unk2700_FGJFFMPOJON) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *Unk2700_FGJFFMPOJON) GetUnk2700_IFCNGIPPOAE() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFCNGIPPOAE + } + return nil +} + +func (x *Unk2700_FGJFFMPOJON) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_Unk2700_FGJFFMPOJON_proto protoreflect.FileDescriptor + +var file_Unk2700_FGJFFMPOJON_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x4a, 0x46, 0x46, 0x4d, + 0x50, 0x4f, 0x4a, 0x4f, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc4, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, + 0x4a, 0x46, 0x46, 0x4d, 0x50, 0x4f, 0x4a, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x61, + 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x46, 0x43, 0x4e, + 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x4a, 0x46, 0x46, 0x4d, 0x50, 0x4f, + 0x4a, 0x4f, 0x4e, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, + 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, + 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FGJFFMPOJON_proto_rawDescOnce sync.Once + file_Unk2700_FGJFFMPOJON_proto_rawDescData = file_Unk2700_FGJFFMPOJON_proto_rawDesc +) + +func file_Unk2700_FGJFFMPOJON_proto_rawDescGZIP() []byte { + file_Unk2700_FGJFFMPOJON_proto_rawDescOnce.Do(func() { + file_Unk2700_FGJFFMPOJON_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FGJFFMPOJON_proto_rawDescData) + }) + return file_Unk2700_FGJFFMPOJON_proto_rawDescData +} + +var file_Unk2700_FGJFFMPOJON_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_FGJFFMPOJON_proto_goTypes = []interface{}{ + (*Unk2700_FGJFFMPOJON)(nil), // 0: Unk2700_FGJFFMPOJON + nil, // 1: Unk2700_FGJFFMPOJON.Unk2700IFCNGIPPOAEEntry + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_Unk2700_FGJFFMPOJON_proto_depIdxs = []int32{ + 2, // 0: Unk2700_FGJFFMPOJON.profile_picture:type_name -> ProfilePicture + 1, // 1: Unk2700_FGJFFMPOJON.Unk2700_IFCNGIPPOAE:type_name -> Unk2700_FGJFFMPOJON.Unk2700IFCNGIPPOAEEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_FGJFFMPOJON_proto_init() } +func file_Unk2700_FGJFFMPOJON_proto_init() { + if File_Unk2700_FGJFFMPOJON_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_FGJFFMPOJON_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FGJFFMPOJON); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FGJFFMPOJON_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FGJFFMPOJON_proto_goTypes, + DependencyIndexes: file_Unk2700_FGJFFMPOJON_proto_depIdxs, + MessageInfos: file_Unk2700_FGJFFMPOJON_proto_msgTypes, + }.Build() + File_Unk2700_FGJFFMPOJON_proto = out.File + file_Unk2700_FGJFFMPOJON_proto_rawDesc = nil + file_Unk2700_FGJFFMPOJON_proto_goTypes = nil + file_Unk2700_FGJFFMPOJON_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.proto b/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.proto new file mode 100644 index 00000000..8296d57b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FGJFFMPOJON.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message Unk2700_FGJFFMPOJON { + string nickname = 7; + string remark_name = 3; + ProfilePicture profile_picture = 11; + map Unk2700_IFCNGIPPOAE = 9; + uint32 uid = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.pb.go b/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.pb.go new file mode 100644 index 00000000..1807a4f1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.pb.go @@ -0,0 +1,156 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FHOKHHBGPEG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FHOKHHBGPEG int32 + +const ( + Unk2700_FHOKHHBGPEG_Unk2700_FHOKHHBGPEG_NONE Unk2700_FHOKHHBGPEG = 0 + Unk2700_FHOKHHBGPEG_Unk2700_FHOKHHBGPEG_FAIL Unk2700_FHOKHHBGPEG = 1 + Unk2700_FHOKHHBGPEG_Unk2700_FHOKHHBGPEG_SUCC Unk2700_FHOKHHBGPEG = 2 + Unk2700_FHOKHHBGPEG_Unk2700_FHOKHHBGPEG_Unk2700_GGDJFCKGBGE Unk2700_FHOKHHBGPEG = 3 +) + +// Enum value maps for Unk2700_FHOKHHBGPEG. +var ( + Unk2700_FHOKHHBGPEG_name = map[int32]string{ + 0: "Unk2700_FHOKHHBGPEG_NONE", + 1: "Unk2700_FHOKHHBGPEG_FAIL", + 2: "Unk2700_FHOKHHBGPEG_SUCC", + 3: "Unk2700_FHOKHHBGPEG_Unk2700_GGDJFCKGBGE", + } + Unk2700_FHOKHHBGPEG_value = map[string]int32{ + "Unk2700_FHOKHHBGPEG_NONE": 0, + "Unk2700_FHOKHHBGPEG_FAIL": 1, + "Unk2700_FHOKHHBGPEG_SUCC": 2, + "Unk2700_FHOKHHBGPEG_Unk2700_GGDJFCKGBGE": 3, + } +) + +func (x Unk2700_FHOKHHBGPEG) Enum() *Unk2700_FHOKHHBGPEG { + p := new(Unk2700_FHOKHHBGPEG) + *p = x + return p +} + +func (x Unk2700_FHOKHHBGPEG) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_FHOKHHBGPEG) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_FHOKHHBGPEG_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_FHOKHHBGPEG) Type() protoreflect.EnumType { + return &file_Unk2700_FHOKHHBGPEG_proto_enumTypes[0] +} + +func (x Unk2700_FHOKHHBGPEG) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_FHOKHHBGPEG.Descriptor instead. +func (Unk2700_FHOKHHBGPEG) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_FHOKHHBGPEG_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_FHOKHHBGPEG_proto protoreflect.FileDescriptor + +var file_Unk2700_FHOKHHBGPEG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, 0x48, + 0x42, 0x47, 0x50, 0x45, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, 0x48, 0x42, 0x47, + 0x50, 0x45, 0x47, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, + 0x48, 0x4f, 0x4b, 0x48, 0x48, 0x42, 0x47, 0x50, 0x45, 0x47, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, + 0x4b, 0x48, 0x48, 0x42, 0x47, 0x50, 0x45, 0x47, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x01, 0x12, + 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, + 0x48, 0x42, 0x47, 0x50, 0x45, 0x47, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x10, 0x02, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x4f, 0x4b, 0x48, 0x48, 0x42, + 0x47, 0x50, 0x45, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x47, 0x44, + 0x4a, 0x46, 0x43, 0x4b, 0x47, 0x42, 0x47, 0x45, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FHOKHHBGPEG_proto_rawDescOnce sync.Once + file_Unk2700_FHOKHHBGPEG_proto_rawDescData = file_Unk2700_FHOKHHBGPEG_proto_rawDesc +) + +func file_Unk2700_FHOKHHBGPEG_proto_rawDescGZIP() []byte { + file_Unk2700_FHOKHHBGPEG_proto_rawDescOnce.Do(func() { + file_Unk2700_FHOKHHBGPEG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FHOKHHBGPEG_proto_rawDescData) + }) + return file_Unk2700_FHOKHHBGPEG_proto_rawDescData +} + +var file_Unk2700_FHOKHHBGPEG_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_FHOKHHBGPEG_proto_goTypes = []interface{}{ + (Unk2700_FHOKHHBGPEG)(0), // 0: Unk2700_FHOKHHBGPEG +} +var file_Unk2700_FHOKHHBGPEG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FHOKHHBGPEG_proto_init() } +func file_Unk2700_FHOKHHBGPEG_proto_init() { + if File_Unk2700_FHOKHHBGPEG_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FHOKHHBGPEG_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FHOKHHBGPEG_proto_goTypes, + DependencyIndexes: file_Unk2700_FHOKHHBGPEG_proto_depIdxs, + EnumInfos: file_Unk2700_FHOKHHBGPEG_proto_enumTypes, + }.Build() + File_Unk2700_FHOKHHBGPEG_proto = out.File + file_Unk2700_FHOKHHBGPEG_proto_rawDesc = nil + file_Unk2700_FHOKHHBGPEG_proto_goTypes = nil + file_Unk2700_FHOKHHBGPEG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.proto b/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.proto new file mode 100644 index 00000000..4e278c50 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FHOKHHBGPEG.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_FHOKHHBGPEG { + Unk2700_FHOKHHBGPEG_NONE = 0; + Unk2700_FHOKHHBGPEG_FAIL = 1; + Unk2700_FHOKHHBGPEG_SUCC = 2; + Unk2700_FHOKHHBGPEG_Unk2700_GGDJFCKGBGE = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.pb.go b/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.pb.go new file mode 100644 index 00000000..4be601ab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FIODAJPNBIK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8937 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FIODAJPNBIK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_MAKCLMEGEBJ []*Unk2700_AFOPONDCLKC `protobuf:"bytes,5,rep,name=Unk2700_MAKCLMEGEBJ,json=Unk2700MAKCLMEGEBJ,proto3" json:"Unk2700_MAKCLMEGEBJ,omitempty"` +} + +func (x *Unk2700_FIODAJPNBIK) Reset() { + *x = Unk2700_FIODAJPNBIK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FIODAJPNBIK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FIODAJPNBIK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FIODAJPNBIK) ProtoMessage() {} + +func (x *Unk2700_FIODAJPNBIK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FIODAJPNBIK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FIODAJPNBIK.ProtoReflect.Descriptor instead. +func (*Unk2700_FIODAJPNBIK) Descriptor() ([]byte, []int) { + return file_Unk2700_FIODAJPNBIK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FIODAJPNBIK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_FIODAJPNBIK) GetUnk2700_MAKCLMEGEBJ() []*Unk2700_AFOPONDCLKC { + if x != nil { + return x.Unk2700_MAKCLMEGEBJ + } + return nil +} + +var File_Unk2700_FIODAJPNBIK_proto protoreflect.FileDescriptor + +var file_Unk2700_FIODAJPNBIK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x49, 0x4f, 0x44, 0x41, 0x4a, + 0x50, 0x4e, 0x42, 0x49, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x4f, 0x50, 0x4f, 0x4e, 0x44, 0x43, 0x4c, 0x4b, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x46, 0x49, 0x4f, 0x44, 0x41, 0x4a, 0x50, 0x4e, 0x42, 0x49, 0x4b, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x41, 0x4b, 0x43, 0x4c, 0x4d, 0x45, 0x47, 0x45, 0x42, 0x4a, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x46, 0x4f, 0x50, 0x4f, 0x4e, 0x44, 0x43, 0x4c, 0x4b, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4d, 0x41, 0x4b, 0x43, 0x4c, 0x4d, 0x45, 0x47, 0x45, 0x42, 0x4a, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_FIODAJPNBIK_proto_rawDescOnce sync.Once + file_Unk2700_FIODAJPNBIK_proto_rawDescData = file_Unk2700_FIODAJPNBIK_proto_rawDesc +) + +func file_Unk2700_FIODAJPNBIK_proto_rawDescGZIP() []byte { + file_Unk2700_FIODAJPNBIK_proto_rawDescOnce.Do(func() { + file_Unk2700_FIODAJPNBIK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FIODAJPNBIK_proto_rawDescData) + }) + return file_Unk2700_FIODAJPNBIK_proto_rawDescData +} + +var file_Unk2700_FIODAJPNBIK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FIODAJPNBIK_proto_goTypes = []interface{}{ + (*Unk2700_FIODAJPNBIK)(nil), // 0: Unk2700_FIODAJPNBIK + (*Unk2700_AFOPONDCLKC)(nil), // 1: Unk2700_AFOPONDCLKC +} +var file_Unk2700_FIODAJPNBIK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_FIODAJPNBIK.Unk2700_MAKCLMEGEBJ:type_name -> Unk2700_AFOPONDCLKC + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_FIODAJPNBIK_proto_init() } +func file_Unk2700_FIODAJPNBIK_proto_init() { + if File_Unk2700_FIODAJPNBIK_proto != nil { + return + } + file_Unk2700_AFOPONDCLKC_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_FIODAJPNBIK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FIODAJPNBIK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FIODAJPNBIK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FIODAJPNBIK_proto_goTypes, + DependencyIndexes: file_Unk2700_FIODAJPNBIK_proto_depIdxs, + MessageInfos: file_Unk2700_FIODAJPNBIK_proto_msgTypes, + }.Build() + File_Unk2700_FIODAJPNBIK_proto = out.File + file_Unk2700_FIODAJPNBIK_proto_rawDesc = nil + file_Unk2700_FIODAJPNBIK_proto_goTypes = nil + file_Unk2700_FIODAJPNBIK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.proto b/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.proto new file mode 100644 index 00000000..eba8b9dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FIODAJPNBIK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AFOPONDCLKC.proto"; + +option go_package = "./;proto"; + +// CmdId: 8937 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FIODAJPNBIK { + int32 retcode = 12; + repeated Unk2700_AFOPONDCLKC Unk2700_MAKCLMEGEBJ = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.pb.go new file mode 100644 index 00000000..1b3d14e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FJEHHCPCBLG_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4872 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FJEHHCPCBLG_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BJHAMKKECEI uint32 `protobuf:"varint,12,opt,name=Unk2700_BJHAMKKECEI,json=Unk2700BJHAMKKECEI,proto3" json:"Unk2700_BJHAMKKECEI,omitempty"` +} + +func (x *Unk2700_FJEHHCPCBLG_ServerNotify) Reset() { + *x = Unk2700_FJEHHCPCBLG_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FJEHHCPCBLG_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FJEHHCPCBLG_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_FJEHHCPCBLG_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FJEHHCPCBLG_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_FJEHHCPCBLG_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FJEHHCPCBLG_ServerNotify) GetUnk2700_BJHAMKKECEI() uint32 { + if x != nil { + return x.Unk2700_BJHAMKKECEI + } + return 0 +} + +var File_Unk2700_FJEHHCPCBLG_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x45, 0x48, 0x48, 0x43, + 0x50, 0x43, 0x42, 0x4c, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x45, 0x48, 0x48, 0x43, 0x50, 0x43, 0x42, 0x4c, 0x47, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4a, 0x48, 0x41, 0x4d, 0x4b, 0x4b, 0x45, + 0x43, 0x45, 0x49, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x42, 0x4a, 0x48, 0x41, 0x4d, 0x4b, 0x4b, 0x45, 0x43, 0x45, 0x49, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescData = file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDesc +) + +func file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDescData +} + +var file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_FJEHHCPCBLG_ServerNotify)(nil), // 0: Unk2700_FJEHHCPCBLG_ServerNotify +} +var file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_init() } +func file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_init() { + if File_Unk2700_FJEHHCPCBLG_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FJEHHCPCBLG_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_FJEHHCPCBLG_ServerNotify_proto = out.File + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_rawDesc = nil + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_goTypes = nil + file_Unk2700_FJEHHCPCBLG_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.proto new file mode 100644 index 00000000..0d7eac38 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FJEHHCPCBLG_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4872 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FJEHHCPCBLG_ServerNotify { + uint32 Unk2700_BJHAMKKECEI = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.pb.go b/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.pb.go new file mode 100644 index 00000000..a864682c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FJJFKOEACCE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8450 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FJJFKOEACCE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EMPNNJKDMHE uint32 `protobuf:"varint,14,opt,name=Unk2700_EMPNNJKDMHE,json=Unk2700EMPNNJKDMHE,proto3" json:"Unk2700_EMPNNJKDMHE,omitempty"` + Unk2700_DNMNEMKIELD map[uint32]uint32 `protobuf:"bytes,6,rep,name=Unk2700_DNMNEMKIELD,json=Unk2700DNMNEMKIELD,proto3" json:"Unk2700_DNMNEMKIELD,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk2700_GKBGMLGFIBN uint32 `protobuf:"varint,2,opt,name=Unk2700_GKBGMLGFIBN,json=Unk2700GKBGMLGFIBN,proto3" json:"Unk2700_GKBGMLGFIBN,omitempty"` + Unk2700_OGHMDKMIKBK uint32 `protobuf:"varint,13,opt,name=Unk2700_OGHMDKMIKBK,json=Unk2700OGHMDKMIKBK,proto3" json:"Unk2700_OGHMDKMIKBK,omitempty"` +} + +func (x *Unk2700_FJJFKOEACCE) Reset() { + *x = Unk2700_FJJFKOEACCE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FJJFKOEACCE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FJJFKOEACCE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FJJFKOEACCE) ProtoMessage() {} + +func (x *Unk2700_FJJFKOEACCE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FJJFKOEACCE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FJJFKOEACCE.ProtoReflect.Descriptor instead. +func (*Unk2700_FJJFKOEACCE) Descriptor() ([]byte, []int) { + return file_Unk2700_FJJFKOEACCE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FJJFKOEACCE) GetUnk2700_EMPNNJKDMHE() uint32 { + if x != nil { + return x.Unk2700_EMPNNJKDMHE + } + return 0 +} + +func (x *Unk2700_FJJFKOEACCE) GetUnk2700_DNMNEMKIELD() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DNMNEMKIELD + } + return nil +} + +func (x *Unk2700_FJJFKOEACCE) GetUnk2700_GKBGMLGFIBN() uint32 { + if x != nil { + return x.Unk2700_GKBGMLGFIBN + } + return 0 +} + +func (x *Unk2700_FJJFKOEACCE) GetUnk2700_OGHMDKMIKBK() uint32 { + if x != nil { + return x.Unk2700_OGHMDKMIKBK + } + return 0 +} + +var File_Unk2700_FJJFKOEACCE_proto protoreflect.FileDescriptor + +var file_Unk2700_FJJFKOEACCE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x4a, 0x46, 0x4b, 0x4f, + 0x45, 0x41, 0x43, 0x43, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x4a, 0x46, 0x4b, 0x4f, 0x45, 0x41, + 0x43, 0x43, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x4d, 0x50, 0x4e, 0x4e, 0x4a, 0x4b, 0x44, 0x4d, 0x48, 0x45, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4d, 0x50, 0x4e, 0x4e, 0x4a, 0x4b, + 0x44, 0x4d, 0x48, 0x45, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, 0x4c, 0x44, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x4a, 0x46, + 0x4b, 0x4f, 0x45, 0x41, 0x43, 0x43, 0x45, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, + 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, 0x4c, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, + 0x45, 0x4c, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x4b, 0x42, 0x47, 0x4d, 0x4c, 0x47, 0x46, 0x49, 0x42, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4b, 0x42, 0x47, 0x4d, 0x4c, 0x47, + 0x46, 0x49, 0x42, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x47, 0x48, 0x4d, 0x44, 0x4b, 0x4d, 0x49, 0x4b, 0x42, 0x4b, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x47, 0x48, 0x4d, 0x44, 0x4b, + 0x4d, 0x49, 0x4b, 0x42, 0x4b, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x44, 0x4e, 0x4d, 0x4e, 0x45, 0x4d, 0x4b, 0x49, 0x45, 0x4c, 0x44, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FJJFKOEACCE_proto_rawDescOnce sync.Once + file_Unk2700_FJJFKOEACCE_proto_rawDescData = file_Unk2700_FJJFKOEACCE_proto_rawDesc +) + +func file_Unk2700_FJJFKOEACCE_proto_rawDescGZIP() []byte { + file_Unk2700_FJJFKOEACCE_proto_rawDescOnce.Do(func() { + file_Unk2700_FJJFKOEACCE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FJJFKOEACCE_proto_rawDescData) + }) + return file_Unk2700_FJJFKOEACCE_proto_rawDescData +} + +var file_Unk2700_FJJFKOEACCE_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_FJJFKOEACCE_proto_goTypes = []interface{}{ + (*Unk2700_FJJFKOEACCE)(nil), // 0: Unk2700_FJJFKOEACCE + nil, // 1: Unk2700_FJJFKOEACCE.Unk2700DNMNEMKIELDEntry +} +var file_Unk2700_FJJFKOEACCE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_FJJFKOEACCE.Unk2700_DNMNEMKIELD:type_name -> Unk2700_FJJFKOEACCE.Unk2700DNMNEMKIELDEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_FJJFKOEACCE_proto_init() } +func file_Unk2700_FJJFKOEACCE_proto_init() { + if File_Unk2700_FJJFKOEACCE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FJJFKOEACCE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FJJFKOEACCE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FJJFKOEACCE_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FJJFKOEACCE_proto_goTypes, + DependencyIndexes: file_Unk2700_FJJFKOEACCE_proto_depIdxs, + MessageInfos: file_Unk2700_FJJFKOEACCE_proto_msgTypes, + }.Build() + File_Unk2700_FJJFKOEACCE_proto = out.File + file_Unk2700_FJJFKOEACCE_proto_rawDesc = nil + file_Unk2700_FJJFKOEACCE_proto_goTypes = nil + file_Unk2700_FJJFKOEACCE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.proto b/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.proto new file mode 100644 index 00000000..1266e3b2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FJJFKOEACCE.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8450 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FJJFKOEACCE { + uint32 Unk2700_EMPNNJKDMHE = 14; + map Unk2700_DNMNEMKIELD = 6; + uint32 Unk2700_GKBGMLGFIBN = 2; + uint32 Unk2700_OGHMDKMIKBK = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.pb.go new file mode 100644 index 00000000..025e73a8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.pb.go @@ -0,0 +1,212 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FKCDCGCBIEA_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6276 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FKCDCGCBIEA_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VarList []*Unk2700_NAPLFKNOECD `protobuf:"bytes,5,rep,name=var_list,json=varList,proto3" json:"var_list,omitempty"` + Unk2700_JEMDOAHDMBP string `protobuf:"bytes,9,opt,name=Unk2700_JEMDOAHDMBP,json=Unk2700JEMDOAHDMBP,proto3" json:"Unk2700_JEMDOAHDMBP,omitempty"` + Unk2700_ANBEGPCLAAO bool `protobuf:"varint,15,opt,name=Unk2700_ANBEGPCLAAO,json=Unk2700ANBEGPCLAAO,proto3" json:"Unk2700_ANBEGPCLAAO,omitempty"` + PlayType uint32 `protobuf:"varint,7,opt,name=play_type,json=playType,proto3" json:"play_type,omitempty"` + Unk3000_JHAMNNJMOCI bool `protobuf:"varint,4,opt,name=Unk3000_JHAMNNJMOCI,json=Unk3000JHAMNNJMOCI,proto3" json:"Unk3000_JHAMNNJMOCI,omitempty"` +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) Reset() { + *x = Unk2700_FKCDCGCBIEA_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FKCDCGCBIEA_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FKCDCGCBIEA_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_FKCDCGCBIEA_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) GetVarList() []*Unk2700_NAPLFKNOECD { + if x != nil { + return x.VarList + } + return nil +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) GetUnk2700_JEMDOAHDMBP() string { + if x != nil { + return x.Unk2700_JEMDOAHDMBP + } + return "" +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) GetUnk2700_ANBEGPCLAAO() bool { + if x != nil { + return x.Unk2700_ANBEGPCLAAO + } + return false +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) GetPlayType() uint32 { + if x != nil { + return x.PlayType + } + return 0 +} + +func (x *Unk2700_FKCDCGCBIEA_ServerNotify) GetUnk3000_JHAMNNJMOCI() bool { + if x != nil { + return x.Unk3000_JHAMNNJMOCI + } + return false +} + +var File_Unk2700_FKCDCGCBIEA_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4b, 0x43, 0x44, 0x43, 0x47, + 0x43, 0x42, 0x49, 0x45, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x41, 0x50, 0x4c, 0x46, 0x4b, 0x4e, 0x4f, 0x45, 0x43, 0x44, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x46, 0x4b, 0x43, 0x44, 0x43, 0x47, 0x43, 0x42, 0x49, 0x45, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x50, 0x4c, 0x46, 0x4b, 0x4e, 0x4f, 0x45, 0x43, 0x44, + 0x52, 0x07, 0x76, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x4d, 0x44, 0x4f, 0x41, 0x48, 0x44, 0x4d, 0x42, 0x50, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, + 0x45, 0x4d, 0x44, 0x4f, 0x41, 0x48, 0x44, 0x4d, 0x42, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x42, 0x45, 0x47, 0x50, 0x43, 0x4c, 0x41, 0x41, + 0x4f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x41, 0x4e, 0x42, 0x45, 0x47, 0x50, 0x43, 0x4c, 0x41, 0x41, 0x4f, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x48, 0x41, 0x4d, 0x4e, 0x4e, 0x4a, 0x4d, 0x4f, 0x43, 0x49, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4a, 0x48, + 0x41, 0x4d, 0x4e, 0x4e, 0x4a, 0x4d, 0x4f, 0x43, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescData = file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDesc +) + +func file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDescData +} + +var file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_FKCDCGCBIEA_ServerNotify)(nil), // 0: Unk2700_FKCDCGCBIEA_ServerNotify + (*Unk2700_NAPLFKNOECD)(nil), // 1: Unk2700_NAPLFKNOECD +} +var file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_FKCDCGCBIEA_ServerNotify.var_list:type_name -> Unk2700_NAPLFKNOECD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_init() } +func file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_init() { + if File_Unk2700_FKCDCGCBIEA_ServerNotify_proto != nil { + return + } + file_Unk2700_NAPLFKNOECD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FKCDCGCBIEA_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_FKCDCGCBIEA_ServerNotify_proto = out.File + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_rawDesc = nil + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_goTypes = nil + file_Unk2700_FKCDCGCBIEA_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.proto new file mode 100644 index 00000000..cfa2890a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FKCDCGCBIEA_ServerNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NAPLFKNOECD.proto"; + +option go_package = "./;proto"; + +// CmdId: 6276 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FKCDCGCBIEA_ServerNotify { + repeated Unk2700_NAPLFKNOECD var_list = 5; + string Unk2700_JEMDOAHDMBP = 9; + bool Unk2700_ANBEGPCLAAO = 15; + uint32 play_type = 7; + bool Unk3000_JHAMNNJMOCI = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.pb.go b/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.pb.go new file mode 100644 index 00000000..6cfff6fb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FKMOKPBJIKO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8482 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FKMOKPBJIKO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FKMOKPBJIKO) Reset() { + *x = Unk2700_FKMOKPBJIKO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FKMOKPBJIKO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FKMOKPBJIKO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FKMOKPBJIKO) ProtoMessage() {} + +func (x *Unk2700_FKMOKPBJIKO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FKMOKPBJIKO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FKMOKPBJIKO.ProtoReflect.Descriptor instead. +func (*Unk2700_FKMOKPBJIKO) Descriptor() ([]byte, []int) { + return file_Unk2700_FKMOKPBJIKO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FKMOKPBJIKO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FKMOKPBJIKO_proto protoreflect.FileDescriptor + +var file_Unk2700_FKMOKPBJIKO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4b, 0x4d, 0x4f, 0x4b, 0x50, + 0x42, 0x4a, 0x49, 0x4b, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4b, 0x4d, 0x4f, 0x4b, 0x50, 0x42, 0x4a, 0x49, + 0x4b, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FKMOKPBJIKO_proto_rawDescOnce sync.Once + file_Unk2700_FKMOKPBJIKO_proto_rawDescData = file_Unk2700_FKMOKPBJIKO_proto_rawDesc +) + +func file_Unk2700_FKMOKPBJIKO_proto_rawDescGZIP() []byte { + file_Unk2700_FKMOKPBJIKO_proto_rawDescOnce.Do(func() { + file_Unk2700_FKMOKPBJIKO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FKMOKPBJIKO_proto_rawDescData) + }) + return file_Unk2700_FKMOKPBJIKO_proto_rawDescData +} + +var file_Unk2700_FKMOKPBJIKO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FKMOKPBJIKO_proto_goTypes = []interface{}{ + (*Unk2700_FKMOKPBJIKO)(nil), // 0: Unk2700_FKMOKPBJIKO +} +var file_Unk2700_FKMOKPBJIKO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FKMOKPBJIKO_proto_init() } +func file_Unk2700_FKMOKPBJIKO_proto_init() { + if File_Unk2700_FKMOKPBJIKO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FKMOKPBJIKO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FKMOKPBJIKO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FKMOKPBJIKO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FKMOKPBJIKO_proto_goTypes, + DependencyIndexes: file_Unk2700_FKMOKPBJIKO_proto_depIdxs, + MessageInfos: file_Unk2700_FKMOKPBJIKO_proto_msgTypes, + }.Build() + File_Unk2700_FKMOKPBJIKO_proto = out.File + file_Unk2700_FKMOKPBJIKO_proto_rawDesc = nil + file_Unk2700_FKMOKPBJIKO_proto_goTypes = nil + file_Unk2700_FKMOKPBJIKO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.proto b/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.proto new file mode 100644 index 00000000..d3c324db --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FKMOKPBJIKO.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8482 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FKMOKPBJIKO { + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.pb.go new file mode 100644 index 00000000..75f43c68 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FLGMLEFJHBB_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6210 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FLGMLEFJHBB_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FGHPHCPAFKJ bool `protobuf:"varint,5,opt,name=Unk2700_FGHPHCPAFKJ,json=Unk2700FGHPHCPAFKJ,proto3" json:"Unk2700_FGHPHCPAFKJ,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,10,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_FLGMLEFJHBB_ClientReq) Reset() { + *x = Unk2700_FLGMLEFJHBB_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FLGMLEFJHBB_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FLGMLEFJHBB_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FLGMLEFJHBB_ClientReq) ProtoMessage() {} + +func (x *Unk2700_FLGMLEFJHBB_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FLGMLEFJHBB_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FLGMLEFJHBB_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_FLGMLEFJHBB_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FLGMLEFJHBB_ClientReq) GetUnk2700_FGHPHCPAFKJ() bool { + if x != nil { + return x.Unk2700_FGHPHCPAFKJ + } + return false +} + +func (x *Unk2700_FLGMLEFJHBB_ClientReq) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_FLGMLEFJHBB_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x47, 0x4d, 0x4c, 0x45, + 0x46, 0x4a, 0x48, 0x42, 0x42, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x46, 0x4c, 0x47, 0x4d, 0x4c, 0x45, 0x46, 0x4a, 0x48, 0x42, 0x42, 0x5f, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x46, 0x47, 0x48, 0x50, 0x48, 0x43, 0x50, 0x41, 0x46, 0x4b, 0x4a, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x47, 0x48, + 0x50, 0x48, 0x43, 0x50, 0x41, 0x46, 0x4b, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, + 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescData = file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDesc +) + +func file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescData) + }) + return file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDescData +} + +var file_Unk2700_FLGMLEFJHBB_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FLGMLEFJHBB_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_FLGMLEFJHBB_ClientReq)(nil), // 0: Unk2700_FLGMLEFJHBB_ClientReq +} +var file_Unk2700_FLGMLEFJHBB_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FLGMLEFJHBB_ClientReq_proto_init() } +func file_Unk2700_FLGMLEFJHBB_ClientReq_proto_init() { + if File_Unk2700_FLGMLEFJHBB_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FLGMLEFJHBB_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FLGMLEFJHBB_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_FLGMLEFJHBB_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_FLGMLEFJHBB_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_FLGMLEFJHBB_ClientReq_proto = out.File + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_rawDesc = nil + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_goTypes = nil + file_Unk2700_FLGMLEFJHBB_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.proto new file mode 100644 index 00000000..21ab5f9f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FLGMLEFJHBB_ClientReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6210 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FLGMLEFJHBB_ClientReq { + bool Unk2700_FGHPHCPAFKJ = 5; + uint64 Unk2700_ONOOJBEABOE = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.pb.go b/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.pb.go new file mode 100644 index 00000000..af645364 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FMGGGEDNGGN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_FMGGGEDNGGN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint32 `protobuf:"varint,1,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + IsTrial bool `protobuf:"varint,2,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` + CostumeId uint32 `protobuf:"varint,3,opt,name=costume_id,json=costumeId,proto3" json:"costume_id,omitempty"` +} + +func (x *Unk2700_FMGGGEDNGGN) Reset() { + *x = Unk2700_FMGGGEDNGGN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FMGGGEDNGGN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FMGGGEDNGGN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FMGGGEDNGGN) ProtoMessage() {} + +func (x *Unk2700_FMGGGEDNGGN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FMGGGEDNGGN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FMGGGEDNGGN.ProtoReflect.Descriptor instead. +func (*Unk2700_FMGGGEDNGGN) Descriptor() ([]byte, []int) { + return file_Unk2700_FMGGGEDNGGN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FMGGGEDNGGN) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *Unk2700_FMGGGEDNGGN) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +func (x *Unk2700_FMGGGEDNGGN) GetCostumeId() uint32 { + if x != nil { + return x.CostumeId + } + return 0 +} + +var File_Unk2700_FMGGGEDNGGN_proto protoreflect.FileDescriptor + +var file_Unk2700_FMGGGEDNGGN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x47, 0x47, 0x47, 0x45, + 0x44, 0x4e, 0x47, 0x47, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x47, 0x47, 0x47, 0x45, 0x44, 0x4e, 0x47, + 0x47, 0x4e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, + 0x73, 0x74, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x63, 0x6f, 0x73, 0x74, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FMGGGEDNGGN_proto_rawDescOnce sync.Once + file_Unk2700_FMGGGEDNGGN_proto_rawDescData = file_Unk2700_FMGGGEDNGGN_proto_rawDesc +) + +func file_Unk2700_FMGGGEDNGGN_proto_rawDescGZIP() []byte { + file_Unk2700_FMGGGEDNGGN_proto_rawDescOnce.Do(func() { + file_Unk2700_FMGGGEDNGGN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FMGGGEDNGGN_proto_rawDescData) + }) + return file_Unk2700_FMGGGEDNGGN_proto_rawDescData +} + +var file_Unk2700_FMGGGEDNGGN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FMGGGEDNGGN_proto_goTypes = []interface{}{ + (*Unk2700_FMGGGEDNGGN)(nil), // 0: Unk2700_FMGGGEDNGGN +} +var file_Unk2700_FMGGGEDNGGN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FMGGGEDNGGN_proto_init() } +func file_Unk2700_FMGGGEDNGGN_proto_init() { + if File_Unk2700_FMGGGEDNGGN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FMGGGEDNGGN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FMGGGEDNGGN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FMGGGEDNGGN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FMGGGEDNGGN_proto_goTypes, + DependencyIndexes: file_Unk2700_FMGGGEDNGGN_proto_depIdxs, + MessageInfos: file_Unk2700_FMGGGEDNGGN_proto_msgTypes, + }.Build() + File_Unk2700_FMGGGEDNGGN_proto = out.File + file_Unk2700_FMGGGEDNGGN_proto_rawDesc = nil + file_Unk2700_FMGGGEDNGGN_proto_goTypes = nil + file_Unk2700_FMGGGEDNGGN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.proto b/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.proto new file mode 100644 index 00000000..6266926d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FMGGGEDNGGN.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_FMGGGEDNGGN { + uint32 avatar_id = 1; + bool is_trial = 2; + uint32 costume_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.pb.go new file mode 100644 index 00000000..04db8d2f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FMNAGFKECPL_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6222 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FMNAGFKECPL_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` +} + +func (x *Unk2700_FMNAGFKECPL_ClientReq) Reset() { + *x = Unk2700_FMNAGFKECPL_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FMNAGFKECPL_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FMNAGFKECPL_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FMNAGFKECPL_ClientReq) ProtoMessage() {} + +func (x *Unk2700_FMNAGFKECPL_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FMNAGFKECPL_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FMNAGFKECPL_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_FMNAGFKECPL_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FMNAGFKECPL_ClientReq) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +var File_Unk2700_FMNAGFKECPL_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x4e, 0x41, 0x47, 0x46, + 0x4b, 0x45, 0x43, 0x50, 0x4c, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x46, 0x4d, 0x4e, 0x41, 0x47, 0x46, 0x4b, 0x45, 0x43, 0x50, 0x4c, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescData = file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDesc +) + +func file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescData) + }) + return file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDescData +} + +var file_Unk2700_FMNAGFKECPL_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FMNAGFKECPL_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_FMNAGFKECPL_ClientReq)(nil), // 0: Unk2700_FMNAGFKECPL_ClientReq +} +var file_Unk2700_FMNAGFKECPL_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FMNAGFKECPL_ClientReq_proto_init() } +func file_Unk2700_FMNAGFKECPL_ClientReq_proto_init() { + if File_Unk2700_FMNAGFKECPL_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FMNAGFKECPL_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FMNAGFKECPL_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FMNAGFKECPL_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_FMNAGFKECPL_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_FMNAGFKECPL_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_FMNAGFKECPL_ClientReq_proto = out.File + file_Unk2700_FMNAGFKECPL_ClientReq_proto_rawDesc = nil + file_Unk2700_FMNAGFKECPL_ClientReq_proto_goTypes = nil + file_Unk2700_FMNAGFKECPL_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.proto new file mode 100644 index 00000000..7a991bb7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FMNAGFKECPL_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6222 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FMNAGFKECPL_ClientReq { + uint32 room_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.pb.go new file mode 100644 index 00000000..2aa9966f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FNHKFHGNLPP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6248 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FNHKFHGNLPP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BCIBEPMFLGN []*Unk2700_GHHCCEHGKLH `protobuf:"bytes,8,rep,name=Unk2700_BCIBEPMFLGN,json=Unk2700BCIBEPMFLGN,proto3" json:"Unk2700_BCIBEPMFLGN,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FNHKFHGNLPP_ServerRsp) Reset() { + *x = Unk2700_FNHKFHGNLPP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FNHKFHGNLPP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FNHKFHGNLPP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_FNHKFHGNLPP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FNHKFHGNLPP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_FNHKFHGNLPP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FNHKFHGNLPP_ServerRsp) GetUnk2700_BCIBEPMFLGN() []*Unk2700_GHHCCEHGKLH { + if x != nil { + return x.Unk2700_BCIBEPMFLGN + } + return nil +} + +func (x *Unk2700_FNHKFHGNLPP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FNHKFHGNLPP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x48, 0x4b, 0x46, 0x48, + 0x47, 0x4e, 0x4c, 0x50, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x48, 0x48, 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x80, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x48, + 0x4b, 0x46, 0x48, 0x47, 0x4e, 0x4c, 0x50, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, + 0x49, 0x42, 0x45, 0x50, 0x4d, 0x46, 0x4c, 0x47, 0x4e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, 0x43, 0x43, 0x45, + 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x43, + 0x49, 0x42, 0x45, 0x50, 0x4d, 0x46, 0x4c, 0x47, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescData = file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_FNHKFHGNLPP_ServerRsp)(nil), // 0: Unk2700_FNHKFHGNLPP_ServerRsp + (*Unk2700_GHHCCEHGKLH)(nil), // 1: Unk2700_GHHCCEHGKLH +} +var file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_FNHKFHGNLPP_ServerRsp.Unk2700_BCIBEPMFLGN:type_name -> Unk2700_GHHCCEHGKLH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_init() } +func file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_init() { + if File_Unk2700_FNHKFHGNLPP_ServerRsp_proto != nil { + return + } + file_Unk2700_GHHCCEHGKLH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FNHKFHGNLPP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_FNHKFHGNLPP_ServerRsp_proto = out.File + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_rawDesc = nil + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_goTypes = nil + file_Unk2700_FNHKFHGNLPP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.proto new file mode 100644 index 00000000..d2ad3fa9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FNHKFHGNLPP_ServerRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GHHCCEHGKLH.proto"; + +option go_package = "./;proto"; + +// CmdId: 6248 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FNHKFHGNLPP_ServerRsp { + repeated Unk2700_GHHCCEHGKLH Unk2700_BCIBEPMFLGN = 8; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.pb.go b/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.pb.go new file mode 100644 index 00000000..610db6c9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FNJHJKELICK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8119 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FNJHJKELICK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FNJHJKELICK) Reset() { + *x = Unk2700_FNJHJKELICK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FNJHJKELICK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FNJHJKELICK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FNJHJKELICK) ProtoMessage() {} + +func (x *Unk2700_FNJHJKELICK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FNJHJKELICK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FNJHJKELICK.ProtoReflect.Descriptor instead. +func (*Unk2700_FNJHJKELICK) Descriptor() ([]byte, []int) { + return file_Unk2700_FNJHJKELICK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FNJHJKELICK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FNJHJKELICK_proto protoreflect.FileDescriptor + +var file_Unk2700_FNJHJKELICK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x4a, 0x48, 0x4a, 0x4b, + 0x45, 0x4c, 0x49, 0x43, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x4a, 0x48, 0x4a, 0x4b, 0x45, 0x4c, 0x49, + 0x43, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FNJHJKELICK_proto_rawDescOnce sync.Once + file_Unk2700_FNJHJKELICK_proto_rawDescData = file_Unk2700_FNJHJKELICK_proto_rawDesc +) + +func file_Unk2700_FNJHJKELICK_proto_rawDescGZIP() []byte { + file_Unk2700_FNJHJKELICK_proto_rawDescOnce.Do(func() { + file_Unk2700_FNJHJKELICK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FNJHJKELICK_proto_rawDescData) + }) + return file_Unk2700_FNJHJKELICK_proto_rawDescData +} + +var file_Unk2700_FNJHJKELICK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FNJHJKELICK_proto_goTypes = []interface{}{ + (*Unk2700_FNJHJKELICK)(nil), // 0: Unk2700_FNJHJKELICK +} +var file_Unk2700_FNJHJKELICK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FNJHJKELICK_proto_init() } +func file_Unk2700_FNJHJKELICK_proto_init() { + if File_Unk2700_FNJHJKELICK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FNJHJKELICK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FNJHJKELICK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FNJHJKELICK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FNJHJKELICK_proto_goTypes, + DependencyIndexes: file_Unk2700_FNJHJKELICK_proto_depIdxs, + MessageInfos: file_Unk2700_FNJHJKELICK_proto_msgTypes, + }.Build() + File_Unk2700_FNJHJKELICK_proto = out.File + file_Unk2700_FNJHJKELICK_proto_rawDesc = nil + file_Unk2700_FNJHJKELICK_proto_goTypes = nil + file_Unk2700_FNJHJKELICK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.proto b/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.proto new file mode 100644 index 00000000..ed73e681 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FNJHJKELICK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8119 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FNJHJKELICK { + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.pb.go new file mode 100644 index 00000000..44e33248 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FOOOKMANFPE_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6249 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_FOOOKMANFPE_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,14,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_FOOOKMANFPE_ClientReq) Reset() { + *x = Unk2700_FOOOKMANFPE_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FOOOKMANFPE_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FOOOKMANFPE_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FOOOKMANFPE_ClientReq) ProtoMessage() {} + +func (x *Unk2700_FOOOKMANFPE_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FOOOKMANFPE_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FOOOKMANFPE_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_FOOOKMANFPE_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FOOOKMANFPE_ClientReq) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_FOOOKMANFPE_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4f, 0x4f, 0x4f, 0x4b, 0x4d, + 0x41, 0x4e, 0x46, 0x50, 0x45, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x46, 0x4f, 0x4f, 0x4f, 0x4b, 0x4d, 0x41, 0x4e, 0x46, 0x50, 0x45, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, + 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescData = file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDesc +) + +func file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescData) + }) + return file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDescData +} + +var file_Unk2700_FOOOKMANFPE_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FOOOKMANFPE_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_FOOOKMANFPE_ClientReq)(nil), // 0: Unk2700_FOOOKMANFPE_ClientReq +} +var file_Unk2700_FOOOKMANFPE_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FOOOKMANFPE_ClientReq_proto_init() } +func file_Unk2700_FOOOKMANFPE_ClientReq_proto_init() { + if File_Unk2700_FOOOKMANFPE_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FOOOKMANFPE_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FOOOKMANFPE_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FOOOKMANFPE_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_FOOOKMANFPE_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_FOOOKMANFPE_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_FOOOKMANFPE_ClientReq_proto = out.File + file_Unk2700_FOOOKMANFPE_ClientReq_proto_rawDesc = nil + file_Unk2700_FOOOKMANFPE_ClientReq_proto_goTypes = nil + file_Unk2700_FOOOKMANFPE_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.proto new file mode 100644 index 00000000..1d2a1f0f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FOOOKMANFPE_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6249 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_FOOOKMANFPE_ClientReq { + uint64 Unk2700_ONOOJBEABOE = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.pb.go new file mode 100644 index 00000000..d9c0b9f6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FPCJGEOBADP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6204 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FPCJGEOBADP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_FPCJGEOBADP_ServerRsp) Reset() { + *x = Unk2700_FPCJGEOBADP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FPCJGEOBADP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FPCJGEOBADP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FPCJGEOBADP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_FPCJGEOBADP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FPCJGEOBADP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FPCJGEOBADP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_FPCJGEOBADP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FPCJGEOBADP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_FPCJGEOBADP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x50, 0x43, 0x4a, 0x47, 0x45, + 0x4f, 0x42, 0x41, 0x44, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x46, 0x50, 0x43, 0x4a, 0x47, 0x45, 0x4f, 0x42, 0x41, 0x44, 0x50, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescData = file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_FPCJGEOBADP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FPCJGEOBADP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_FPCJGEOBADP_ServerRsp)(nil), // 0: Unk2700_FPCJGEOBADP_ServerRsp +} +var file_Unk2700_FPCJGEOBADP_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FPCJGEOBADP_ServerRsp_proto_init() } +func file_Unk2700_FPCJGEOBADP_ServerRsp_proto_init() { + if File_Unk2700_FPCJGEOBADP_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FPCJGEOBADP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FPCJGEOBADP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_FPCJGEOBADP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_FPCJGEOBADP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_FPCJGEOBADP_ServerRsp_proto = out.File + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_rawDesc = nil + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_goTypes = nil + file_Unk2700_FPCJGEOBADP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.proto new file mode 100644 index 00000000..194254c9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPCJGEOBADP_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6204 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FPCJGEOBADP_ServerRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.pb.go new file mode 100644 index 00000000..03950ad3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FPJLFMEHHLB_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4060 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FPJLFMEHHLB_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *Unk2700_DPPCDPBBABA `protobuf:"bytes,14,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *Unk2700_FPJLFMEHHLB_ServerNotify) Reset() { + *x = Unk2700_FPJLFMEHHLB_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FPJLFMEHHLB_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FPJLFMEHHLB_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_FPJLFMEHHLB_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FPJLFMEHHLB_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_FPJLFMEHHLB_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FPJLFMEHHLB_ServerNotify) GetInfo() *Unk2700_DPPCDPBBABA { + if x != nil { + return x.Info + } + return nil +} + +var File_Unk2700_FPJLFMEHHLB_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x50, 0x4a, 0x4c, 0x46, 0x4d, + 0x45, 0x48, 0x48, 0x4c, 0x42, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, 0x42, 0x42, 0x41, 0x42, 0x41, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, + 0x50, 0x4a, 0x4c, 0x46, 0x4d, 0x45, 0x48, 0x48, 0x4c, 0x42, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, 0x42, 0x42, 0x41, 0x42, 0x41, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescData = file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDesc +) + +func file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDescData +} + +var file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_FPJLFMEHHLB_ServerNotify)(nil), // 0: Unk2700_FPJLFMEHHLB_ServerNotify + (*Unk2700_DPPCDPBBABA)(nil), // 1: Unk2700_DPPCDPBBABA +} +var file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_FPJLFMEHHLB_ServerNotify.info:type_name -> Unk2700_DPPCDPBBABA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_init() } +func file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_init() { + if File_Unk2700_FPJLFMEHHLB_ServerNotify_proto != nil { + return + } + file_Unk2700_DPPCDPBBABA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FPJLFMEHHLB_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_FPJLFMEHHLB_ServerNotify_proto = out.File + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_rawDesc = nil + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_goTypes = nil + file_Unk2700_FPJLFMEHHLB_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.proto new file mode 100644 index 00000000..91144cec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPJLFMEHHLB_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DPPCDPBBABA.proto"; + +option go_package = "./;proto"; + +// CmdId: 4060 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FPJLFMEHHLB_ServerNotify { + Unk2700_DPPCDPBBABA info = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.pb.go new file mode 100644 index 00000000..a0afef3c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_FPOBGEBDAOD_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5547 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_FPOBGEBDAOD_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` + GalleryId uint32 `protobuf:"varint,9,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_FPOBGEBDAOD_ServerNotify) Reset() { + *x = Unk2700_FPOBGEBDAOD_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_FPOBGEBDAOD_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_FPOBGEBDAOD_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_FPOBGEBDAOD_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_FPOBGEBDAOD_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_FPOBGEBDAOD_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_FPOBGEBDAOD_ServerNotify) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_FPOBGEBDAOD_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_FPOBGEBDAOD_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x50, 0x4f, 0x42, 0x47, 0x45, + 0x42, 0x44, 0x41, 0x4f, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x50, 0x4f, 0x42, 0x47, 0x45, 0x42, 0x44, 0x41, 0x4f, 0x44, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescData = file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDesc +) + +func file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDescData +} + +var file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_FPOBGEBDAOD_ServerNotify)(nil), // 0: Unk2700_FPOBGEBDAOD_ServerNotify +} +var file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_init() } +func file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_init() { + if File_Unk2700_FPOBGEBDAOD_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_FPOBGEBDAOD_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_FPOBGEBDAOD_ServerNotify_proto = out.File + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_rawDesc = nil + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_goTypes = nil + file_Unk2700_FPOBGEBDAOD_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.proto new file mode 100644 index 00000000..e157b9e2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_FPOBGEBDAOD_ServerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5547 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_FPOBGEBDAOD_ServerNotify { + uint32 score = 7; + uint32 gallery_id = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.pb.go b/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.pb.go new file mode 100644 index 00000000..8d5928f5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GALDCKFKPEK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GALDCKFKPEK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KLOAFPMHOKI []*Unk2700_MPELMDDJFHO `protobuf:"bytes,1,rep,name=Unk2700_KLOAFPMHOKI,json=Unk2700KLOAFPMHOKI,proto3" json:"Unk2700_KLOAFPMHOKI,omitempty"` +} + +func (x *Unk2700_GALDCKFKPEK) Reset() { + *x = Unk2700_GALDCKFKPEK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GALDCKFKPEK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GALDCKFKPEK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GALDCKFKPEK) ProtoMessage() {} + +func (x *Unk2700_GALDCKFKPEK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GALDCKFKPEK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GALDCKFKPEK.ProtoReflect.Descriptor instead. +func (*Unk2700_GALDCKFKPEK) Descriptor() ([]byte, []int) { + return file_Unk2700_GALDCKFKPEK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GALDCKFKPEK) GetUnk2700_KLOAFPMHOKI() []*Unk2700_MPELMDDJFHO { + if x != nil { + return x.Unk2700_KLOAFPMHOKI + } + return nil +} + +var File_Unk2700_GALDCKFKPEK_proto protoreflect.FileDescriptor + +var file_Unk2700_GALDCKFKPEK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x41, 0x4c, 0x44, 0x43, 0x4b, + 0x46, 0x4b, 0x50, 0x45, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x45, 0x4c, 0x4d, 0x44, 0x44, 0x4a, 0x46, 0x48, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x47, 0x41, 0x4c, 0x44, 0x43, 0x4b, 0x46, 0x4b, 0x50, 0x45, 0x4b, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4f, 0x41, 0x46, 0x50, 0x4d, + 0x48, 0x4f, 0x4b, 0x49, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x45, 0x4c, 0x4d, 0x44, 0x44, 0x4a, 0x46, 0x48, 0x4f, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4c, 0x4f, 0x41, 0x46, 0x50, 0x4d, + 0x48, 0x4f, 0x4b, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GALDCKFKPEK_proto_rawDescOnce sync.Once + file_Unk2700_GALDCKFKPEK_proto_rawDescData = file_Unk2700_GALDCKFKPEK_proto_rawDesc +) + +func file_Unk2700_GALDCKFKPEK_proto_rawDescGZIP() []byte { + file_Unk2700_GALDCKFKPEK_proto_rawDescOnce.Do(func() { + file_Unk2700_GALDCKFKPEK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GALDCKFKPEK_proto_rawDescData) + }) + return file_Unk2700_GALDCKFKPEK_proto_rawDescData +} + +var file_Unk2700_GALDCKFKPEK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GALDCKFKPEK_proto_goTypes = []interface{}{ + (*Unk2700_GALDCKFKPEK)(nil), // 0: Unk2700_GALDCKFKPEK + (*Unk2700_MPELMDDJFHO)(nil), // 1: Unk2700_MPELMDDJFHO +} +var file_Unk2700_GALDCKFKPEK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GALDCKFKPEK.Unk2700_KLOAFPMHOKI:type_name -> Unk2700_MPELMDDJFHO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GALDCKFKPEK_proto_init() } +func file_Unk2700_GALDCKFKPEK_proto_init() { + if File_Unk2700_GALDCKFKPEK_proto != nil { + return + } + file_Unk2700_MPELMDDJFHO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GALDCKFKPEK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GALDCKFKPEK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GALDCKFKPEK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GALDCKFKPEK_proto_goTypes, + DependencyIndexes: file_Unk2700_GALDCKFKPEK_proto_depIdxs, + MessageInfos: file_Unk2700_GALDCKFKPEK_proto_msgTypes, + }.Build() + File_Unk2700_GALDCKFKPEK_proto = out.File + file_Unk2700_GALDCKFKPEK_proto_rawDesc = nil + file_Unk2700_GALDCKFKPEK_proto_goTypes = nil + file_Unk2700_GALDCKFKPEK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.proto b/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.proto new file mode 100644 index 00000000..6f7e58f0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GALDCKFKPEK.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MPELMDDJFHO.proto"; + +option go_package = "./;proto"; + +message Unk2700_GALDCKFKPEK { + repeated Unk2700_MPELMDDJFHO Unk2700_KLOAFPMHOKI = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.pb.go b/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.pb.go new file mode 100644 index 00000000..619cceeb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GBBDJMDIDEI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GBBDJMDIDEI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JIGANFOOJHB uint32 `protobuf:"varint,1,opt,name=Unk2700_JIGANFOOJHB,json=Unk2700JIGANFOOJHB,proto3" json:"Unk2700_JIGANFOOJHB,omitempty"` + MainPropId uint32 `protobuf:"varint,12,opt,name=main_prop_id,json=mainPropId,proto3" json:"main_prop_id,omitempty"` +} + +func (x *Unk2700_GBBDJMDIDEI) Reset() { + *x = Unk2700_GBBDJMDIDEI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GBBDJMDIDEI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GBBDJMDIDEI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GBBDJMDIDEI) ProtoMessage() {} + +func (x *Unk2700_GBBDJMDIDEI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GBBDJMDIDEI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GBBDJMDIDEI.ProtoReflect.Descriptor instead. +func (*Unk2700_GBBDJMDIDEI) Descriptor() ([]byte, []int) { + return file_Unk2700_GBBDJMDIDEI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GBBDJMDIDEI) GetUnk2700_JIGANFOOJHB() uint32 { + if x != nil { + return x.Unk2700_JIGANFOOJHB + } + return 0 +} + +func (x *Unk2700_GBBDJMDIDEI) GetMainPropId() uint32 { + if x != nil { + return x.MainPropId + } + return 0 +} + +var File_Unk2700_GBBDJMDIDEI_proto protoreflect.FileDescriptor + +var file_Unk2700_GBBDJMDIDEI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, + 0x44, 0x49, 0x44, 0x45, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x44, 0x49, 0x44, + 0x45, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x49, + 0x47, 0x41, 0x4e, 0x46, 0x4f, 0x4f, 0x4a, 0x48, 0x42, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x49, 0x47, 0x41, 0x4e, 0x46, 0x4f, 0x4f, + 0x4a, 0x48, 0x42, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x50, + 0x72, 0x6f, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GBBDJMDIDEI_proto_rawDescOnce sync.Once + file_Unk2700_GBBDJMDIDEI_proto_rawDescData = file_Unk2700_GBBDJMDIDEI_proto_rawDesc +) + +func file_Unk2700_GBBDJMDIDEI_proto_rawDescGZIP() []byte { + file_Unk2700_GBBDJMDIDEI_proto_rawDescOnce.Do(func() { + file_Unk2700_GBBDJMDIDEI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GBBDJMDIDEI_proto_rawDescData) + }) + return file_Unk2700_GBBDJMDIDEI_proto_rawDescData +} + +var file_Unk2700_GBBDJMDIDEI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GBBDJMDIDEI_proto_goTypes = []interface{}{ + (*Unk2700_GBBDJMDIDEI)(nil), // 0: Unk2700_GBBDJMDIDEI +} +var file_Unk2700_GBBDJMDIDEI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GBBDJMDIDEI_proto_init() } +func file_Unk2700_GBBDJMDIDEI_proto_init() { + if File_Unk2700_GBBDJMDIDEI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GBBDJMDIDEI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GBBDJMDIDEI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GBBDJMDIDEI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GBBDJMDIDEI_proto_goTypes, + DependencyIndexes: file_Unk2700_GBBDJMDIDEI_proto_depIdxs, + MessageInfos: file_Unk2700_GBBDJMDIDEI_proto_msgTypes, + }.Build() + File_Unk2700_GBBDJMDIDEI_proto = out.File + file_Unk2700_GBBDJMDIDEI_proto_rawDesc = nil + file_Unk2700_GBBDJMDIDEI_proto_goTypes = nil + file_Unk2700_GBBDJMDIDEI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.proto b/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.proto new file mode 100644 index 00000000..511400fd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBBDJMDIDEI.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_GBBDJMDIDEI { + uint32 Unk2700_JIGANFOOJHB = 1; + uint32 main_prop_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.pb.go b/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.pb.go new file mode 100644 index 00000000..da120e29 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GBHAPPCDCIL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GBHAPPCDCIL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IBDCFAMBGOK bool `protobuf:"varint,1,opt,name=Unk2700_IBDCFAMBGOK,json=Unk2700IBDCFAMBGOK,proto3" json:"Unk2700_IBDCFAMBGOK,omitempty"` + Unk2700_IFNFCNNBPIB uint32 `protobuf:"varint,2,opt,name=Unk2700_IFNFCNNBPIB,json=Unk2700IFNFCNNBPIB,proto3" json:"Unk2700_IFNFCNNBPIB,omitempty"` + Unk2700_PBBPGFMNMNJ uint32 `protobuf:"varint,3,opt,name=Unk2700_PBBPGFMNMNJ,json=Unk2700PBBPGFMNMNJ,proto3" json:"Unk2700_PBBPGFMNMNJ,omitempty"` + Unk2700_FKLBCNLBBNM bool `protobuf:"varint,4,opt,name=Unk2700_FKLBCNLBBNM,json=Unk2700FKLBCNLBBNM,proto3" json:"Unk2700_FKLBCNLBBNM,omitempty"` + Unk2700_KENGEGJGAEL uint32 `protobuf:"varint,5,opt,name=Unk2700_KENGEGJGAEL,json=Unk2700KENGEGJGAEL,proto3" json:"Unk2700_KENGEGJGAEL,omitempty"` +} + +func (x *Unk2700_GBHAPPCDCIL) Reset() { + *x = Unk2700_GBHAPPCDCIL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GBHAPPCDCIL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GBHAPPCDCIL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GBHAPPCDCIL) ProtoMessage() {} + +func (x *Unk2700_GBHAPPCDCIL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GBHAPPCDCIL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GBHAPPCDCIL.ProtoReflect.Descriptor instead. +func (*Unk2700_GBHAPPCDCIL) Descriptor() ([]byte, []int) { + return file_Unk2700_GBHAPPCDCIL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GBHAPPCDCIL) GetUnk2700_IBDCFAMBGOK() bool { + if x != nil { + return x.Unk2700_IBDCFAMBGOK + } + return false +} + +func (x *Unk2700_GBHAPPCDCIL) GetUnk2700_IFNFCNNBPIB() uint32 { + if x != nil { + return x.Unk2700_IFNFCNNBPIB + } + return 0 +} + +func (x *Unk2700_GBHAPPCDCIL) GetUnk2700_PBBPGFMNMNJ() uint32 { + if x != nil { + return x.Unk2700_PBBPGFMNMNJ + } + return 0 +} + +func (x *Unk2700_GBHAPPCDCIL) GetUnk2700_FKLBCNLBBNM() bool { + if x != nil { + return x.Unk2700_FKLBCNLBBNM + } + return false +} + +func (x *Unk2700_GBHAPPCDCIL) GetUnk2700_KENGEGJGAEL() uint32 { + if x != nil { + return x.Unk2700_KENGEGJGAEL + } + return 0 +} + +var File_Unk2700_GBHAPPCDCIL_proto protoreflect.FileDescriptor + +var file_Unk2700_GBHAPPCDCIL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x48, 0x41, 0x50, 0x50, + 0x43, 0x44, 0x43, 0x49, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x48, 0x41, 0x50, 0x50, 0x43, 0x44, + 0x43, 0x49, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x42, 0x44, 0x43, 0x46, 0x41, 0x4d, 0x42, 0x47, 0x4f, 0x4b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x42, 0x44, 0x43, 0x46, 0x41, 0x4d, + 0x42, 0x47, 0x4f, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x46, 0x4e, 0x46, 0x43, 0x4e, 0x4e, 0x42, 0x50, 0x49, 0x42, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x4e, 0x46, 0x43, 0x4e, + 0x4e, 0x42, 0x50, 0x49, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x42, 0x42, 0x50, 0x47, 0x46, 0x4d, 0x4e, 0x4d, 0x4e, 0x4a, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x42, 0x42, 0x50, 0x47, + 0x46, 0x4d, 0x4e, 0x4d, 0x4e, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x46, 0x4b, 0x4c, 0x42, 0x43, 0x4e, 0x4c, 0x42, 0x42, 0x4e, 0x4d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4b, 0x4c, 0x42, + 0x43, 0x4e, 0x4c, 0x42, 0x42, 0x4e, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4e, 0x47, 0x45, 0x47, 0x4a, 0x47, 0x41, 0x45, 0x4c, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x45, 0x4e, + 0x47, 0x45, 0x47, 0x4a, 0x47, 0x41, 0x45, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GBHAPPCDCIL_proto_rawDescOnce sync.Once + file_Unk2700_GBHAPPCDCIL_proto_rawDescData = file_Unk2700_GBHAPPCDCIL_proto_rawDesc +) + +func file_Unk2700_GBHAPPCDCIL_proto_rawDescGZIP() []byte { + file_Unk2700_GBHAPPCDCIL_proto_rawDescOnce.Do(func() { + file_Unk2700_GBHAPPCDCIL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GBHAPPCDCIL_proto_rawDescData) + }) + return file_Unk2700_GBHAPPCDCIL_proto_rawDescData +} + +var file_Unk2700_GBHAPPCDCIL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GBHAPPCDCIL_proto_goTypes = []interface{}{ + (*Unk2700_GBHAPPCDCIL)(nil), // 0: Unk2700_GBHAPPCDCIL +} +var file_Unk2700_GBHAPPCDCIL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GBHAPPCDCIL_proto_init() } +func file_Unk2700_GBHAPPCDCIL_proto_init() { + if File_Unk2700_GBHAPPCDCIL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GBHAPPCDCIL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GBHAPPCDCIL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GBHAPPCDCIL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GBHAPPCDCIL_proto_goTypes, + DependencyIndexes: file_Unk2700_GBHAPPCDCIL_proto_depIdxs, + MessageInfos: file_Unk2700_GBHAPPCDCIL_proto_msgTypes, + }.Build() + File_Unk2700_GBHAPPCDCIL_proto = out.File + file_Unk2700_GBHAPPCDCIL_proto_rawDesc = nil + file_Unk2700_GBHAPPCDCIL_proto_goTypes = nil + file_Unk2700_GBHAPPCDCIL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.proto b/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.proto new file mode 100644 index 00000000..fde8c886 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBHAPPCDCIL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_GBHAPPCDCIL { + bool Unk2700_IBDCFAMBGOK = 1; + uint32 Unk2700_IFNFCNNBPIB = 2; + uint32 Unk2700_PBBPGFMNMNJ = 3; + bool Unk2700_FKLBCNLBBNM = 4; + uint32 Unk2700_KENGEGJGAEL = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.pb.go b/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.pb.go new file mode 100644 index 00000000..f6065526 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GBJOLBGLELJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8014 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GBJOLBGLELJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_GBJOLBGLELJ) Reset() { + *x = Unk2700_GBJOLBGLELJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GBJOLBGLELJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GBJOLBGLELJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GBJOLBGLELJ) ProtoMessage() {} + +func (x *Unk2700_GBJOLBGLELJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GBJOLBGLELJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GBJOLBGLELJ.ProtoReflect.Descriptor instead. +func (*Unk2700_GBJOLBGLELJ) Descriptor() ([]byte, []int) { + return file_Unk2700_GBJOLBGLELJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_GBJOLBGLELJ_proto protoreflect.FileDescriptor + +var file_Unk2700_GBJOLBGLELJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x4a, 0x4f, 0x4c, 0x42, + 0x47, 0x4c, 0x45, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x4a, 0x4f, 0x4c, 0x42, 0x47, 0x4c, 0x45, + 0x4c, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GBJOLBGLELJ_proto_rawDescOnce sync.Once + file_Unk2700_GBJOLBGLELJ_proto_rawDescData = file_Unk2700_GBJOLBGLELJ_proto_rawDesc +) + +func file_Unk2700_GBJOLBGLELJ_proto_rawDescGZIP() []byte { + file_Unk2700_GBJOLBGLELJ_proto_rawDescOnce.Do(func() { + file_Unk2700_GBJOLBGLELJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GBJOLBGLELJ_proto_rawDescData) + }) + return file_Unk2700_GBJOLBGLELJ_proto_rawDescData +} + +var file_Unk2700_GBJOLBGLELJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GBJOLBGLELJ_proto_goTypes = []interface{}{ + (*Unk2700_GBJOLBGLELJ)(nil), // 0: Unk2700_GBJOLBGLELJ +} +var file_Unk2700_GBJOLBGLELJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GBJOLBGLELJ_proto_init() } +func file_Unk2700_GBJOLBGLELJ_proto_init() { + if File_Unk2700_GBJOLBGLELJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GBJOLBGLELJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GBJOLBGLELJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GBJOLBGLELJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GBJOLBGLELJ_proto_goTypes, + DependencyIndexes: file_Unk2700_GBJOLBGLELJ_proto_depIdxs, + MessageInfos: file_Unk2700_GBJOLBGLELJ_proto_msgTypes, + }.Build() + File_Unk2700_GBJOLBGLELJ_proto = out.File + file_Unk2700_GBJOLBGLELJ_proto_rawDesc = nil + file_Unk2700_GBJOLBGLELJ_proto_goTypes = nil + file_Unk2700_GBJOLBGLELJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.proto b/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.proto new file mode 100644 index 00000000..ce30a35f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBJOLBGLELJ.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8014 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GBJOLBGLELJ {} diff --git a/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.pb.go b/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.pb.go new file mode 100644 index 00000000..8978ec38 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.pb.go @@ -0,0 +1,243 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GBPNAHCAKJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GBPNAHCAKJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OAKBDKKBFHP string `protobuf:"bytes,1,opt,name=Unk2700_OAKBDKKBFHP,json=Unk2700OAKBDKKBFHP,proto3" json:"Unk2700_OAKBDKKBFHP,omitempty"` + EntityId string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Lang string `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"` + Unk2700_NDEJPMGPBAH string `protobuf:"bytes,4,opt,name=Unk2700_NDEJPMGPBAH,json=Unk2700NDEJPMGPBAH,proto3" json:"Unk2700_NDEJPMGPBAH,omitempty"` + Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` + Uid uint32 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"` + Unk2700_LHPECOEIIKL []*Unk2700_EDNGHJGKEKC `protobuf:"bytes,7,rep,name=Unk2700_LHPECOEIIKL,json=Unk2700LHPECOEIIKL,proto3" json:"Unk2700_LHPECOEIIKL,omitempty"` + Unk2700_LABLGMEOEFM []*Unk2700_LBPFDCBHCBL `protobuf:"bytes,8,rep,name=Unk2700_LABLGMEOEFM,json=Unk2700LABLGMEOEFM,proto3" json:"Unk2700_LABLGMEOEFM,omitempty"` +} + +func (x *Unk2700_GBPNAHCAKJE) Reset() { + *x = Unk2700_GBPNAHCAKJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GBPNAHCAKJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GBPNAHCAKJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GBPNAHCAKJE) ProtoMessage() {} + +func (x *Unk2700_GBPNAHCAKJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GBPNAHCAKJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GBPNAHCAKJE.ProtoReflect.Descriptor instead. +func (*Unk2700_GBPNAHCAKJE) Descriptor() ([]byte, []int) { + return file_Unk2700_GBPNAHCAKJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GBPNAHCAKJE) GetUnk2700_OAKBDKKBFHP() string { + if x != nil { + return x.Unk2700_OAKBDKKBFHP + } + return "" +} + +func (x *Unk2700_GBPNAHCAKJE) GetEntityId() string { + if x != nil { + return x.EntityId + } + return "" +} + +func (x *Unk2700_GBPNAHCAKJE) GetLang() string { + if x != nil { + return x.Lang + } + return "" +} + +func (x *Unk2700_GBPNAHCAKJE) GetUnk2700_NDEJPMGPBAH() string { + if x != nil { + return x.Unk2700_NDEJPMGPBAH + } + return "" +} + +func (x *Unk2700_GBPNAHCAKJE) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +func (x *Unk2700_GBPNAHCAKJE) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_GBPNAHCAKJE) GetUnk2700_LHPECOEIIKL() []*Unk2700_EDNGHJGKEKC { + if x != nil { + return x.Unk2700_LHPECOEIIKL + } + return nil +} + +func (x *Unk2700_GBPNAHCAKJE) GetUnk2700_LABLGMEOEFM() []*Unk2700_LBPFDCBHCBL { + if x != nil { + return x.Unk2700_LABLGMEOEFM + } + return nil +} + +var File_Unk2700_GBPNAHCAKJE_proto protoreflect.FileDescriptor + +var file_Unk2700_GBPNAHCAKJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x50, 0x4e, 0x41, 0x48, + 0x43, 0x41, 0x4b, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x4e, 0x47, 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x4b, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x42, 0x50, 0x46, 0x44, 0x43, 0x42, 0x48, 0x43, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xe0, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, + 0x50, 0x4e, 0x41, 0x48, 0x43, 0x41, 0x4b, 0x4a, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x41, 0x4b, 0x42, 0x44, 0x4b, 0x4b, 0x42, 0x46, 0x48, 0x50, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, + 0x41, 0x4b, 0x42, 0x44, 0x4b, 0x4b, 0x42, 0x46, 0x48, 0x50, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x44, 0x45, 0x4a, 0x50, 0x4d, 0x47, 0x50, 0x42, + 0x41, 0x48, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4e, 0x44, 0x45, 0x4a, 0x50, 0x4d, 0x47, 0x50, 0x42, 0x41, 0x48, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4c, 0x48, 0x50, 0x45, 0x43, 0x4f, 0x45, 0x49, 0x49, 0x4b, 0x4c, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x44, + 0x4e, 0x47, 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x4b, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4c, 0x48, 0x50, 0x45, 0x43, 0x4f, 0x45, 0x49, 0x49, 0x4b, 0x4c, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x42, 0x4c, 0x47, 0x4d, 0x45, + 0x4f, 0x45, 0x46, 0x4d, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x50, 0x46, 0x44, 0x43, 0x42, 0x48, 0x43, 0x42, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x41, 0x42, 0x4c, 0x47, 0x4d, 0x45, + 0x4f, 0x45, 0x46, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GBPNAHCAKJE_proto_rawDescOnce sync.Once + file_Unk2700_GBPNAHCAKJE_proto_rawDescData = file_Unk2700_GBPNAHCAKJE_proto_rawDesc +) + +func file_Unk2700_GBPNAHCAKJE_proto_rawDescGZIP() []byte { + file_Unk2700_GBPNAHCAKJE_proto_rawDescOnce.Do(func() { + file_Unk2700_GBPNAHCAKJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GBPNAHCAKJE_proto_rawDescData) + }) + return file_Unk2700_GBPNAHCAKJE_proto_rawDescData +} + +var file_Unk2700_GBPNAHCAKJE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GBPNAHCAKJE_proto_goTypes = []interface{}{ + (*Unk2700_GBPNAHCAKJE)(nil), // 0: Unk2700_GBPNAHCAKJE + (*Unk2700_EDNGHJGKEKC)(nil), // 1: Unk2700_EDNGHJGKEKC + (*Unk2700_LBPFDCBHCBL)(nil), // 2: Unk2700_LBPFDCBHCBL +} +var file_Unk2700_GBPNAHCAKJE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GBPNAHCAKJE.Unk2700_LHPECOEIIKL:type_name -> Unk2700_EDNGHJGKEKC + 2, // 1: Unk2700_GBPNAHCAKJE.Unk2700_LABLGMEOEFM:type_name -> Unk2700_LBPFDCBHCBL + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_GBPNAHCAKJE_proto_init() } +func file_Unk2700_GBPNAHCAKJE_proto_init() { + if File_Unk2700_GBPNAHCAKJE_proto != nil { + return + } + file_Unk2700_EDNGHJGKEKC_proto_init() + file_Unk2700_LBPFDCBHCBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GBPNAHCAKJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GBPNAHCAKJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GBPNAHCAKJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GBPNAHCAKJE_proto_goTypes, + DependencyIndexes: file_Unk2700_GBPNAHCAKJE_proto_depIdxs, + MessageInfos: file_Unk2700_GBPNAHCAKJE_proto_msgTypes, + }.Build() + File_Unk2700_GBPNAHCAKJE_proto = out.File + file_Unk2700_GBPNAHCAKJE_proto_rawDesc = nil + file_Unk2700_GBPNAHCAKJE_proto_goTypes = nil + file_Unk2700_GBPNAHCAKJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.proto b/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.proto new file mode 100644 index 00000000..491bf710 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GBPNAHCAKJE.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EDNGHJGKEKC.proto"; +import "Unk2700_LBPFDCBHCBL.proto"; + +option go_package = "./;proto"; + +message Unk2700_GBPNAHCAKJE { + string Unk2700_OAKBDKKBFHP = 1; + string entity_id = 2; + string lang = 3; + string Unk2700_NDEJPMGPBAH = 4; + string region = 5; + uint32 uid = 6; + repeated Unk2700_EDNGHJGKEKC Unk2700_LHPECOEIIKL = 7; + repeated Unk2700_LBPFDCBHCBL Unk2700_LABLGMEOEFM = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.pb.go b/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.pb.go new file mode 100644 index 00000000..f3b35dc5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GCPNGHFNGDP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GCPNGHFNGDP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ANAEHLBDFIC []uint32 `protobuf:"varint,1,rep,packed,name=Unk2700_ANAEHLBDFIC,json=Unk2700ANAEHLBDFIC,proto3" json:"Unk2700_ANAEHLBDFIC,omitempty"` + Unk2700_PMMJDKJHBIG []*ItemParam `protobuf:"bytes,7,rep,name=Unk2700_PMMJDKJHBIG,json=Unk2700PMMJDKJHBIG,proto3" json:"Unk2700_PMMJDKJHBIG,omitempty"` +} + +func (x *Unk2700_GCPNGHFNGDP) Reset() { + *x = Unk2700_GCPNGHFNGDP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GCPNGHFNGDP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GCPNGHFNGDP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GCPNGHFNGDP) ProtoMessage() {} + +func (x *Unk2700_GCPNGHFNGDP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GCPNGHFNGDP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GCPNGHFNGDP.ProtoReflect.Descriptor instead. +func (*Unk2700_GCPNGHFNGDP) Descriptor() ([]byte, []int) { + return file_Unk2700_GCPNGHFNGDP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GCPNGHFNGDP) GetUnk2700_ANAEHLBDFIC() []uint32 { + if x != nil { + return x.Unk2700_ANAEHLBDFIC + } + return nil +} + +func (x *Unk2700_GCPNGHFNGDP) GetUnk2700_PMMJDKJHBIG() []*ItemParam { + if x != nil { + return x.Unk2700_PMMJDKJHBIG + } + return nil +} + +var File_Unk2700_GCPNGHFNGDP_proto protoreflect.FileDescriptor + +var file_Unk2700_GCPNGHFNGDP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x50, 0x4e, 0x47, 0x48, + 0x46, 0x4e, 0x47, 0x44, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x50, 0x4e, 0x47, 0x48, 0x46, + 0x4e, 0x47, 0x44, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x41, 0x4e, 0x41, 0x45, 0x48, 0x4c, 0x42, 0x44, 0x46, 0x49, 0x43, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4e, 0x41, 0x45, 0x48, 0x4c, + 0x42, 0x44, 0x46, 0x49, 0x43, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x4d, 0x4d, 0x4a, 0x44, 0x4b, 0x4a, 0x48, 0x42, 0x49, 0x47, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x4d, 0x4d, 0x4a, 0x44, 0x4b, 0x4a, 0x48, 0x42, + 0x49, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GCPNGHFNGDP_proto_rawDescOnce sync.Once + file_Unk2700_GCPNGHFNGDP_proto_rawDescData = file_Unk2700_GCPNGHFNGDP_proto_rawDesc +) + +func file_Unk2700_GCPNGHFNGDP_proto_rawDescGZIP() []byte { + file_Unk2700_GCPNGHFNGDP_proto_rawDescOnce.Do(func() { + file_Unk2700_GCPNGHFNGDP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GCPNGHFNGDP_proto_rawDescData) + }) + return file_Unk2700_GCPNGHFNGDP_proto_rawDescData +} + +var file_Unk2700_GCPNGHFNGDP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GCPNGHFNGDP_proto_goTypes = []interface{}{ + (*Unk2700_GCPNGHFNGDP)(nil), // 0: Unk2700_GCPNGHFNGDP + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_GCPNGHFNGDP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GCPNGHFNGDP.Unk2700_PMMJDKJHBIG:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GCPNGHFNGDP_proto_init() } +func file_Unk2700_GCPNGHFNGDP_proto_init() { + if File_Unk2700_GCPNGHFNGDP_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GCPNGHFNGDP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GCPNGHFNGDP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GCPNGHFNGDP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GCPNGHFNGDP_proto_goTypes, + DependencyIndexes: file_Unk2700_GCPNGHFNGDP_proto_depIdxs, + MessageInfos: file_Unk2700_GCPNGHFNGDP_proto_msgTypes, + }.Build() + File_Unk2700_GCPNGHFNGDP_proto = out.File + file_Unk2700_GCPNGHFNGDP_proto_rawDesc = nil + file_Unk2700_GCPNGHFNGDP_proto_goTypes = nil + file_Unk2700_GCPNGHFNGDP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.proto b/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.proto new file mode 100644 index 00000000..ab511741 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GCPNGHFNGDP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message Unk2700_GCPNGHFNGDP { + repeated uint32 Unk2700_ANAEHLBDFIC = 1; + repeated ItemParam Unk2700_PMMJDKJHBIG = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.pb.go new file mode 100644 index 00000000..eba059c5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GDODKDJJPMP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4605 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GDODKDJJPMP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_GDODKDJJPMP_ServerRsp) Reset() { + *x = Unk2700_GDODKDJJPMP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GDODKDJJPMP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GDODKDJJPMP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GDODKDJJPMP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_GDODKDJJPMP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GDODKDJJPMP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GDODKDJJPMP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_GDODKDJJPMP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GDODKDJJPMP_ServerRsp) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk2700_GDODKDJJPMP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_GDODKDJJPMP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4f, 0x44, 0x4b, 0x44, + 0x4a, 0x4a, 0x50, 0x4d, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x44, 0x4f, 0x44, 0x4b, 0x44, 0x4a, 0x4a, 0x50, 0x4d, 0x50, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescData = file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_GDODKDJJPMP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GDODKDJJPMP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_GDODKDJJPMP_ServerRsp)(nil), // 0: Unk2700_GDODKDJJPMP_ServerRsp +} +var file_Unk2700_GDODKDJJPMP_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GDODKDJJPMP_ServerRsp_proto_init() } +func file_Unk2700_GDODKDJJPMP_ServerRsp_proto_init() { + if File_Unk2700_GDODKDJJPMP_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GDODKDJJPMP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GDODKDJJPMP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_GDODKDJJPMP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_GDODKDJJPMP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_GDODKDJJPMP_ServerRsp_proto = out.File + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_rawDesc = nil + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_goTypes = nil + file_Unk2700_GDODKDJJPMP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.proto new file mode 100644 index 00000000..677608f1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GDODKDJJPMP_ServerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4605 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GDODKDJJPMP_ServerRsp { + uint32 group_id = 4; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.pb.go new file mode 100644 index 00000000..12c236cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GECHLGFKPOD_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5364 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GECHLGFKPOD_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfo *Unk2700_NKIDCOKNPFF `protobuf:"bytes,6,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *Unk2700_GECHLGFKPOD_ServerNotify) Reset() { + *x = Unk2700_GECHLGFKPOD_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GECHLGFKPOD_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GECHLGFKPOD_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GECHLGFKPOD_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_GECHLGFKPOD_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GECHLGFKPOD_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GECHLGFKPOD_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_GECHLGFKPOD_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GECHLGFKPOD_ServerNotify) GetPlayerInfo() *Unk2700_NKIDCOKNPFF { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_Unk2700_GECHLGFKPOD_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x45, 0x43, 0x48, 0x4c, 0x47, + 0x46, 0x4b, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x44, 0x43, 0x4f, 0x4b, 0x4e, 0x50, 0x46, 0x46, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x45, 0x43, 0x48, 0x4c, 0x47, 0x46, 0x4b, 0x50, 0x4f, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x44, 0x43, 0x4f, 0x4b, 0x4e, 0x50, + 0x46, 0x46, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescData = file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDesc +) + +func file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDescData +} + +var file_Unk2700_GECHLGFKPOD_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GECHLGFKPOD_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_GECHLGFKPOD_ServerNotify)(nil), // 0: Unk2700_GECHLGFKPOD_ServerNotify + (*Unk2700_NKIDCOKNPFF)(nil), // 1: Unk2700_NKIDCOKNPFF +} +var file_Unk2700_GECHLGFKPOD_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GECHLGFKPOD_ServerNotify.player_info:type_name -> Unk2700_NKIDCOKNPFF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GECHLGFKPOD_ServerNotify_proto_init() } +func file_Unk2700_GECHLGFKPOD_ServerNotify_proto_init() { + if File_Unk2700_GECHLGFKPOD_ServerNotify_proto != nil { + return + } + file_Unk2700_NKIDCOKNPFF_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GECHLGFKPOD_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GECHLGFKPOD_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_GECHLGFKPOD_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_GECHLGFKPOD_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_GECHLGFKPOD_ServerNotify_proto = out.File + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_rawDesc = nil + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_goTypes = nil + file_Unk2700_GECHLGFKPOD_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.proto new file mode 100644 index 00000000..255636a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GECHLGFKPOD_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NKIDCOKNPFF.proto"; + +option go_package = "./;proto"; + +// CmdId: 5364 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GECHLGFKPOD_ServerNotify { + Unk2700_NKIDCOKNPFF player_info = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.pb.go b/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.pb.go new file mode 100644 index 00000000..a43b460e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.pb.go @@ -0,0 +1,254 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GEIGCHNDOAA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8657 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GEIGCHNDOAA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_LNINCIBPIBN bool `protobuf:"varint,13,opt,name=Unk2700_LNINCIBPIBN,json=Unk2700LNINCIBPIBN,proto3" json:"Unk2700_LNINCIBPIBN,omitempty"` + ChallengeId uint32 `protobuf:"varint,8,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + Unk2700_DMJOJPGLFHE []*Unk2700_IMGLPJNBHCH `protobuf:"bytes,2,rep,name=Unk2700_DMJOJPGLFHE,json=Unk2700DMJOJPGLFHE,proto3" json:"Unk2700_DMJOJPGLFHE,omitempty"` + Unk2700_HMIBIIPHBAN uint32 `protobuf:"varint,10,opt,name=Unk2700_HMIBIIPHBAN,json=Unk2700HMIBIIPHBAN,proto3" json:"Unk2700_HMIBIIPHBAN,omitempty"` + Unk2700_LOIMAGFKMOJ uint32 `protobuf:"varint,15,opt,name=Unk2700_LOIMAGFKMOJ,json=Unk2700LOIMAGFKMOJ,proto3" json:"Unk2700_LOIMAGFKMOJ,omitempty"` + Unk2700_FGIIBJADECI uint32 `protobuf:"varint,11,opt,name=Unk2700_FGIIBJADECI,json=Unk2700FGIIBJADECI,proto3" json:"Unk2700_FGIIBJADECI,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_AEHOPMMMHAP uint32 `protobuf:"varint,12,opt,name=Unk2700_AEHOPMMMHAP,json=Unk2700AEHOPMMMHAP,proto3" json:"Unk2700_AEHOPMMMHAP,omitempty"` +} + +func (x *Unk2700_GEIGCHNDOAA) Reset() { + *x = Unk2700_GEIGCHNDOAA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GEIGCHNDOAA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GEIGCHNDOAA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GEIGCHNDOAA) ProtoMessage() {} + +func (x *Unk2700_GEIGCHNDOAA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GEIGCHNDOAA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GEIGCHNDOAA.ProtoReflect.Descriptor instead. +func (*Unk2700_GEIGCHNDOAA) Descriptor() ([]byte, []int) { + return file_Unk2700_GEIGCHNDOAA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GEIGCHNDOAA) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_LNINCIBPIBN() bool { + if x != nil { + return x.Unk2700_LNINCIBPIBN + } + return false +} + +func (x *Unk2700_GEIGCHNDOAA) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_DMJOJPGLFHE() []*Unk2700_IMGLPJNBHCH { + if x != nil { + return x.Unk2700_DMJOJPGLFHE + } + return nil +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_HMIBIIPHBAN() uint32 { + if x != nil { + return x.Unk2700_HMIBIIPHBAN + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_LOIMAGFKMOJ() uint32 { + if x != nil { + return x.Unk2700_LOIMAGFKMOJ + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_FGIIBJADECI() uint32 { + if x != nil { + return x.Unk2700_FGIIBJADECI + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_GEIGCHNDOAA) GetUnk2700_AEHOPMMMHAP() uint32 { + if x != nil { + return x.Unk2700_AEHOPMMMHAP + } + return 0 +} + +var File_Unk2700_GEIGCHNDOAA_proto protoreflect.FileDescriptor + +var file_Unk2700_GEIGCHNDOAA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x45, 0x49, 0x47, 0x43, 0x48, + 0x4e, 0x44, 0x4f, 0x41, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, 0x4e, 0x42, 0x48, 0x43, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x45, 0x49, 0x47, 0x43, 0x48, 0x4e, 0x44, 0x4f, 0x41, 0x41, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x49, 0x4e, 0x43, 0x49, 0x42, 0x50, 0x49, 0x42, 0x4e, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, + 0x4e, 0x49, 0x4e, 0x43, 0x49, 0x42, 0x50, 0x49, 0x42, 0x4e, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x4a, 0x4f, 0x4a, 0x50, 0x47, + 0x4c, 0x46, 0x48, 0x45, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, 0x4e, 0x42, 0x48, 0x43, 0x48, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4d, 0x4a, 0x4f, 0x4a, 0x50, 0x47, + 0x4c, 0x46, 0x48, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4d, 0x49, 0x42, 0x49, 0x49, 0x50, 0x48, 0x42, 0x41, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4d, 0x49, 0x42, 0x49, 0x49, + 0x50, 0x48, 0x42, 0x41, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4c, 0x4f, 0x49, 0x4d, 0x41, 0x47, 0x46, 0x4b, 0x4d, 0x4f, 0x4a, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4f, 0x49, 0x4d, 0x41, + 0x47, 0x46, 0x4b, 0x4d, 0x4f, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x46, 0x47, 0x49, 0x49, 0x42, 0x4a, 0x41, 0x44, 0x45, 0x43, 0x49, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x47, 0x49, 0x49, + 0x42, 0x4a, 0x41, 0x44, 0x45, 0x43, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x48, + 0x4f, 0x50, 0x4d, 0x4d, 0x4d, 0x48, 0x41, 0x50, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x45, 0x48, 0x4f, 0x50, 0x4d, 0x4d, 0x4d, 0x48, + 0x41, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GEIGCHNDOAA_proto_rawDescOnce sync.Once + file_Unk2700_GEIGCHNDOAA_proto_rawDescData = file_Unk2700_GEIGCHNDOAA_proto_rawDesc +) + +func file_Unk2700_GEIGCHNDOAA_proto_rawDescGZIP() []byte { + file_Unk2700_GEIGCHNDOAA_proto_rawDescOnce.Do(func() { + file_Unk2700_GEIGCHNDOAA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GEIGCHNDOAA_proto_rawDescData) + }) + return file_Unk2700_GEIGCHNDOAA_proto_rawDescData +} + +var file_Unk2700_GEIGCHNDOAA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GEIGCHNDOAA_proto_goTypes = []interface{}{ + (*Unk2700_GEIGCHNDOAA)(nil), // 0: Unk2700_GEIGCHNDOAA + (*Unk2700_IMGLPJNBHCH)(nil), // 1: Unk2700_IMGLPJNBHCH +} +var file_Unk2700_GEIGCHNDOAA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GEIGCHNDOAA.Unk2700_DMJOJPGLFHE:type_name -> Unk2700_IMGLPJNBHCH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GEIGCHNDOAA_proto_init() } +func file_Unk2700_GEIGCHNDOAA_proto_init() { + if File_Unk2700_GEIGCHNDOAA_proto != nil { + return + } + file_Unk2700_IMGLPJNBHCH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GEIGCHNDOAA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GEIGCHNDOAA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GEIGCHNDOAA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GEIGCHNDOAA_proto_goTypes, + DependencyIndexes: file_Unk2700_GEIGCHNDOAA_proto_depIdxs, + MessageInfos: file_Unk2700_GEIGCHNDOAA_proto_msgTypes, + }.Build() + File_Unk2700_GEIGCHNDOAA_proto = out.File + file_Unk2700_GEIGCHNDOAA_proto_rawDesc = nil + file_Unk2700_GEIGCHNDOAA_proto_goTypes = nil + file_Unk2700_GEIGCHNDOAA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.proto b/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.proto new file mode 100644 index 00000000..e7f96a28 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GEIGCHNDOAA.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IMGLPJNBHCH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8657 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GEIGCHNDOAA { + uint32 stage_id = 7; + bool Unk2700_LNINCIBPIBN = 13; + uint32 challenge_id = 8; + repeated Unk2700_IMGLPJNBHCH Unk2700_DMJOJPGLFHE = 2; + uint32 Unk2700_HMIBIIPHBAN = 10; + uint32 Unk2700_LOIMAGFKMOJ = 15; + uint32 Unk2700_FGIIBJADECI = 11; + int32 retcode = 3; + uint32 Unk2700_AEHOPMMMHAP = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.pb.go new file mode 100644 index 00000000..37542a80 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GFMPOHAGMLO_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6250 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GFMPOHAGMLO_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_GFMPOHAGMLO_ClientReq) Reset() { + *x = Unk2700_GFMPOHAGMLO_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GFMPOHAGMLO_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GFMPOHAGMLO_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GFMPOHAGMLO_ClientReq) ProtoMessage() {} + +func (x *Unk2700_GFMPOHAGMLO_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GFMPOHAGMLO_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GFMPOHAGMLO_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_GFMPOHAGMLO_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_GFMPOHAGMLO_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x46, 0x4d, 0x50, 0x4f, 0x48, + 0x41, 0x47, 0x4d, 0x4c, 0x4f, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x46, 0x4d, 0x50, 0x4f, 0x48, 0x41, 0x47, 0x4d, 0x4c, 0x4f, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescData = file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDesc +) + +func file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescData) + }) + return file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDescData +} + +var file_Unk2700_GFMPOHAGMLO_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GFMPOHAGMLO_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_GFMPOHAGMLO_ClientReq)(nil), // 0: Unk2700_GFMPOHAGMLO_ClientReq +} +var file_Unk2700_GFMPOHAGMLO_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GFMPOHAGMLO_ClientReq_proto_init() } +func file_Unk2700_GFMPOHAGMLO_ClientReq_proto_init() { + if File_Unk2700_GFMPOHAGMLO_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GFMPOHAGMLO_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GFMPOHAGMLO_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_GFMPOHAGMLO_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_GFMPOHAGMLO_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_GFMPOHAGMLO_ClientReq_proto = out.File + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_rawDesc = nil + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_goTypes = nil + file_Unk2700_GFMPOHAGMLO_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.proto new file mode 100644 index 00000000..4b1446ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GFMPOHAGMLO_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6250 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GFMPOHAGMLO_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.pb.go b/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.pb.go new file mode 100644 index 00000000..64582920 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.pb.go @@ -0,0 +1,291 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GHHCCEHGKLH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GHHCCEHGKLH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KLPJLKPKKHH *SocialDetail `protobuf:"bytes,4,opt,name=Unk2700_KLPJLKPKKHH,json=Unk2700KLPJLKPKKHH,proto3" json:"Unk2700_KLPJLKPKKHH,omitempty"` + Unk2700_DPPILIMGOKH uint32 `protobuf:"varint,15,opt,name=Unk2700_DPPILIMGOKH,json=Unk2700DPPILIMGOKH,proto3" json:"Unk2700_DPPILIMGOKH,omitempty"` + Unk2700_PCFIKJEDEGN *Unk2700_ELMEOJFCOFH `protobuf:"bytes,2,opt,name=Unk2700_PCFIKJEDEGN,json=Unk2700PCFIKJEDEGN,proto3" json:"Unk2700_PCFIKJEDEGN,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,14,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + Unk2700_JGFDODPBGFL *Unk2700_PHGGAEDHLBN `protobuf:"bytes,10,opt,name=Unk2700_JGFDODPBGFL,json=Unk2700JGFDODPBGFL,proto3" json:"Unk2700_JGFDODPBGFL,omitempty"` + DungeonId uint32 `protobuf:"varint,6,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + TagList []uint32 `protobuf:"varint,1,rep,packed,name=tag_list,json=tagList,proto3" json:"tag_list,omitempty"` + Unk2700_GOIIEONNFFN bool `protobuf:"varint,11,opt,name=Unk2700_GOIIEONNFFN,json=Unk2700GOIIEONNFFN,proto3" json:"Unk2700_GOIIEONNFFN,omitempty"` + Unk2700_GBCGGDONMCD bool `protobuf:"varint,9,opt,name=Unk2700_GBCGGDONMCD,json=Unk2700GBCGGDONMCD,proto3" json:"Unk2700_GBCGGDONMCD,omitempty"` + Unk2700_HBFLKFOCKBF bool `protobuf:"varint,3,opt,name=Unk2700_HBFLKFOCKBF,json=Unk2700HBFLKFOCKBF,proto3" json:"Unk2700_HBFLKFOCKBF,omitempty"` + Unk2700_IKGOMKLAJLH *Unk2700_OHBMICGFIIK `protobuf:"bytes,12,opt,name=Unk2700_IKGOMKLAJLH,json=Unk2700IKGOMKLAJLH,proto3" json:"Unk2700_IKGOMKLAJLH,omitempty"` +} + +func (x *Unk2700_GHHCCEHGKLH) Reset() { + *x = Unk2700_GHHCCEHGKLH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GHHCCEHGKLH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GHHCCEHGKLH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GHHCCEHGKLH) ProtoMessage() {} + +func (x *Unk2700_GHHCCEHGKLH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GHHCCEHGKLH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GHHCCEHGKLH.ProtoReflect.Descriptor instead. +func (*Unk2700_GHHCCEHGKLH) Descriptor() ([]byte, []int) { + return file_Unk2700_GHHCCEHGKLH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_KLPJLKPKKHH() *SocialDetail { + if x != nil { + return x.Unk2700_KLPJLKPKKHH + } + return nil +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_DPPILIMGOKH() uint32 { + if x != nil { + return x.Unk2700_DPPILIMGOKH + } + return 0 +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_PCFIKJEDEGN() *Unk2700_ELMEOJFCOFH { + if x != nil { + return x.Unk2700_PCFIKJEDEGN + } + return nil +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_JGFDODPBGFL() *Unk2700_PHGGAEDHLBN { + if x != nil { + return x.Unk2700_JGFDODPBGFL + } + return nil +} + +func (x *Unk2700_GHHCCEHGKLH) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_GHHCCEHGKLH) GetTagList() []uint32 { + if x != nil { + return x.TagList + } + return nil +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_GOIIEONNFFN() bool { + if x != nil { + return x.Unk2700_GOIIEONNFFN + } + return false +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_GBCGGDONMCD() bool { + if x != nil { + return x.Unk2700_GBCGGDONMCD + } + return false +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_HBFLKFOCKBF() bool { + if x != nil { + return x.Unk2700_HBFLKFOCKBF + } + return false +} + +func (x *Unk2700_GHHCCEHGKLH) GetUnk2700_IKGOMKLAJLH() *Unk2700_OHBMICGFIIK { + if x != nil { + return x.Unk2700_IKGOMKLAJLH + } + return nil +} + +var File_Unk2700_GHHCCEHGKLH_proto protoreflect.FileDescriptor + +var file_Unk2700_GHHCCEHGKLH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, 0x43, 0x43, 0x45, + 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x53, 0x6f, 0x63, + 0x69, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4d, 0x45, 0x4f, 0x4a, 0x46, + 0x43, 0x4f, 0x46, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x42, 0x4d, 0x49, 0x43, 0x47, 0x46, 0x49, 0x49, 0x4b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xd9, 0x04, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, + 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x12, 0x3e, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x4a, 0x4c, 0x4b, 0x50, 0x4b, 0x4b, 0x48, 0x48, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4c, 0x50, + 0x4a, 0x4c, 0x4b, 0x50, 0x4b, 0x4b, 0x48, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x50, 0x49, 0x4c, 0x49, 0x4d, 0x47, 0x4f, 0x4b, 0x48, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x50, + 0x50, 0x49, 0x4c, 0x49, 0x4d, 0x47, 0x4f, 0x4b, 0x48, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x4c, 0x4d, 0x45, 0x4f, 0x4a, 0x46, 0x43, 0x4f, 0x46, 0x48, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, + 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, + 0x45, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x47, 0x46, + 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, + 0x48, 0x4c, 0x42, 0x4e, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x47, 0x46, + 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4f, + 0x49, 0x49, 0x45, 0x4f, 0x4e, 0x4e, 0x46, 0x46, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4f, 0x49, 0x49, 0x45, 0x4f, 0x4e, 0x4e, + 0x46, 0x46, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x42, 0x43, 0x47, 0x47, 0x44, 0x4f, 0x4e, 0x4d, 0x43, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x42, 0x43, 0x47, 0x47, 0x44, 0x4f, + 0x4e, 0x4d, 0x43, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x42, 0x46, 0x4c, 0x4b, 0x46, 0x4f, 0x43, 0x4b, 0x42, 0x46, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x42, 0x46, 0x4c, 0x4b, 0x46, + 0x4f, 0x43, 0x4b, 0x42, 0x46, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x42, + 0x4d, 0x49, 0x43, 0x47, 0x46, 0x49, 0x49, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GHHCCEHGKLH_proto_rawDescOnce sync.Once + file_Unk2700_GHHCCEHGKLH_proto_rawDescData = file_Unk2700_GHHCCEHGKLH_proto_rawDesc +) + +func file_Unk2700_GHHCCEHGKLH_proto_rawDescGZIP() []byte { + file_Unk2700_GHHCCEHGKLH_proto_rawDescOnce.Do(func() { + file_Unk2700_GHHCCEHGKLH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GHHCCEHGKLH_proto_rawDescData) + }) + return file_Unk2700_GHHCCEHGKLH_proto_rawDescData +} + +var file_Unk2700_GHHCCEHGKLH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GHHCCEHGKLH_proto_goTypes = []interface{}{ + (*Unk2700_GHHCCEHGKLH)(nil), // 0: Unk2700_GHHCCEHGKLH + (*SocialDetail)(nil), // 1: SocialDetail + (*Unk2700_ELMEOJFCOFH)(nil), // 2: Unk2700_ELMEOJFCOFH + (*Unk2700_PHGGAEDHLBN)(nil), // 3: Unk2700_PHGGAEDHLBN + (*Unk2700_OHBMICGFIIK)(nil), // 4: Unk2700_OHBMICGFIIK +} +var file_Unk2700_GHHCCEHGKLH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GHHCCEHGKLH.Unk2700_KLPJLKPKKHH:type_name -> SocialDetail + 2, // 1: Unk2700_GHHCCEHGKLH.Unk2700_PCFIKJEDEGN:type_name -> Unk2700_ELMEOJFCOFH + 3, // 2: Unk2700_GHHCCEHGKLH.Unk2700_JGFDODPBGFL:type_name -> Unk2700_PHGGAEDHLBN + 4, // 3: Unk2700_GHHCCEHGKLH.Unk2700_IKGOMKLAJLH:type_name -> Unk2700_OHBMICGFIIK + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk2700_GHHCCEHGKLH_proto_init() } +func file_Unk2700_GHHCCEHGKLH_proto_init() { + if File_Unk2700_GHHCCEHGKLH_proto != nil { + return + } + file_SocialDetail_proto_init() + file_Unk2700_ELMEOJFCOFH_proto_init() + file_Unk2700_OHBMICGFIIK_proto_init() + file_Unk2700_PHGGAEDHLBN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GHHCCEHGKLH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GHHCCEHGKLH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GHHCCEHGKLH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GHHCCEHGKLH_proto_goTypes, + DependencyIndexes: file_Unk2700_GHHCCEHGKLH_proto_depIdxs, + MessageInfos: file_Unk2700_GHHCCEHGKLH_proto_msgTypes, + }.Build() + File_Unk2700_GHHCCEHGKLH_proto = out.File + file_Unk2700_GHHCCEHGKLH_proto_rawDesc = nil + file_Unk2700_GHHCCEHGKLH_proto_goTypes = nil + file_Unk2700_GHHCCEHGKLH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.proto b/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.proto new file mode 100644 index 00000000..711c1eed --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GHHCCEHGKLH.proto @@ -0,0 +1,38 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "SocialDetail.proto"; +import "Unk2700_ELMEOJFCOFH.proto"; +import "Unk2700_OHBMICGFIIK.proto"; +import "Unk2700_PHGGAEDHLBN.proto"; + +option go_package = "./;proto"; + +message Unk2700_GHHCCEHGKLH { + SocialDetail Unk2700_KLPJLKPKKHH = 4; + uint32 Unk2700_DPPILIMGOKH = 15; + Unk2700_ELMEOJFCOFH Unk2700_PCFIKJEDEGN = 2; + uint64 Unk2700_ONOOJBEABOE = 14; + Unk2700_PHGGAEDHLBN Unk2700_JGFDODPBGFL = 10; + uint32 dungeon_id = 6; + repeated uint32 tag_list = 1; + bool Unk2700_GOIIEONNFFN = 11; + bool Unk2700_GBCGGDONMCD = 9; + bool Unk2700_HBFLKFOCKBF = 3; + Unk2700_OHBMICGFIIK Unk2700_IKGOMKLAJLH = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.pb.go b/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.pb.go new file mode 100644 index 00000000..dbbedfc1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GHONKKEGHGL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GHONKKEGHGL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,8,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + ChallengeInfoList []*Unk2700_LHPELFJPPOD `protobuf:"bytes,9,rep,name=challenge_info_list,json=challengeInfoList,proto3" json:"challenge_info_list,omitempty"` + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_GHONKKEGHGL) Reset() { + *x = Unk2700_GHONKKEGHGL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GHONKKEGHGL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GHONKKEGHGL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GHONKKEGHGL) ProtoMessage() {} + +func (x *Unk2700_GHONKKEGHGL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GHONKKEGHGL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GHONKKEGHGL.ProtoReflect.Descriptor instead. +func (*Unk2700_GHONKKEGHGL) Descriptor() ([]byte, []int) { + return file_Unk2700_GHONKKEGHGL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GHONKKEGHGL) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_GHONKKEGHGL) GetChallengeInfoList() []*Unk2700_LHPELFJPPOD { + if x != nil { + return x.ChallengeInfoList + } + return nil +} + +func (x *Unk2700_GHONKKEGHGL) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_GHONKKEGHGL_proto protoreflect.FileDescriptor + +var file_Unk2700_GHONKKEGHGL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x4f, 0x4e, 0x4b, 0x4b, + 0x45, 0x47, 0x48, 0x47, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x50, 0x45, 0x4c, 0x46, 0x4a, 0x50, 0x50, 0x4f, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x48, 0x4f, 0x4e, 0x4b, 0x4b, 0x45, 0x47, 0x48, 0x47, 0x4c, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x44, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x48, 0x50, 0x45, 0x4c, 0x46, 0x4a, 0x50, 0x50, 0x4f, 0x44, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GHONKKEGHGL_proto_rawDescOnce sync.Once + file_Unk2700_GHONKKEGHGL_proto_rawDescData = file_Unk2700_GHONKKEGHGL_proto_rawDesc +) + +func file_Unk2700_GHONKKEGHGL_proto_rawDescGZIP() []byte { + file_Unk2700_GHONKKEGHGL_proto_rawDescOnce.Do(func() { + file_Unk2700_GHONKKEGHGL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GHONKKEGHGL_proto_rawDescData) + }) + return file_Unk2700_GHONKKEGHGL_proto_rawDescData +} + +var file_Unk2700_GHONKKEGHGL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GHONKKEGHGL_proto_goTypes = []interface{}{ + (*Unk2700_GHONKKEGHGL)(nil), // 0: Unk2700_GHONKKEGHGL + (*Unk2700_LHPELFJPPOD)(nil), // 1: Unk2700_LHPELFJPPOD +} +var file_Unk2700_GHONKKEGHGL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GHONKKEGHGL.challenge_info_list:type_name -> Unk2700_LHPELFJPPOD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GHONKKEGHGL_proto_init() } +func file_Unk2700_GHONKKEGHGL_proto_init() { + if File_Unk2700_GHONKKEGHGL_proto != nil { + return + } + file_Unk2700_LHPELFJPPOD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GHONKKEGHGL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GHONKKEGHGL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GHONKKEGHGL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GHONKKEGHGL_proto_goTypes, + DependencyIndexes: file_Unk2700_GHONKKEGHGL_proto_depIdxs, + MessageInfos: file_Unk2700_GHONKKEGHGL_proto_msgTypes, + }.Build() + File_Unk2700_GHONKKEGHGL_proto = out.File + file_Unk2700_GHONKKEGHGL_proto_rawDesc = nil + file_Unk2700_GHONKKEGHGL_proto_goTypes = nil + file_Unk2700_GHONKKEGHGL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.proto b/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.proto new file mode 100644 index 00000000..19a3508f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GHONKKEGHGL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_LHPELFJPPOD.proto"; + +option go_package = "./;proto"; + +message Unk2700_GHONKKEGHGL { + bool is_open = 8; + repeated Unk2700_LHPELFJPPOD challenge_info_list = 9; + uint32 stage_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.pb.go new file mode 100644 index 00000000..772467be --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GIAILDLPEOO_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6241 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GIAILDLPEOO_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_GIAILDLPEOO_ServerRsp) Reset() { + *x = Unk2700_GIAILDLPEOO_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GIAILDLPEOO_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GIAILDLPEOO_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GIAILDLPEOO_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_GIAILDLPEOO_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GIAILDLPEOO_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GIAILDLPEOO_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_GIAILDLPEOO_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GIAILDLPEOO_ServerRsp) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *Unk2700_GIAILDLPEOO_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_GIAILDLPEOO_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x49, 0x41, 0x49, 0x4c, 0x44, + 0x4c, 0x50, 0x45, 0x4f, 0x4f, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x49, 0x41, 0x49, 0x4c, 0x44, 0x4c, 0x50, 0x45, 0x4f, 0x4f, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescData = file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDesc +) + +func file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDescData +} + +var file_Unk2700_GIAILDLPEOO_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GIAILDLPEOO_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_GIAILDLPEOO_ServerRsp)(nil), // 0: Unk2700_GIAILDLPEOO_ServerRsp +} +var file_Unk2700_GIAILDLPEOO_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GIAILDLPEOO_ServerRsp_proto_init() } +func file_Unk2700_GIAILDLPEOO_ServerRsp_proto_init() { + if File_Unk2700_GIAILDLPEOO_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GIAILDLPEOO_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GIAILDLPEOO_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_GIAILDLPEOO_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_GIAILDLPEOO_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_GIAILDLPEOO_ServerRsp_proto = out.File + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_rawDesc = nil + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_goTypes = nil + file_Unk2700_GIAILDLPEOO_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.proto new file mode 100644 index 00000000..b754d706 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIAILDLPEOO_ServerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6241 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GIAILDLPEOO_ServerRsp { + uint32 room_id = 4; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.pb.go new file mode 100644 index 00000000..31631e37 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GIFGEDBCPFC_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 417 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GIFGEDBCPFC_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_KHDDIJNOICK uint64 `protobuf:"varint,14,opt,name=Unk2700_KHDDIJNOICK,json=Unk2700KHDDIJNOICK,proto3" json:"Unk2700_KHDDIJNOICK,omitempty"` + ParentQuestId uint32 `protobuf:"varint,10,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) Reset() { + *x = Unk2700_GIFGEDBCPFC_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GIFGEDBCPFC_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GIFGEDBCPFC_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_GIFGEDBCPFC_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) GetUnk2700_KHDDIJNOICK() uint64 { + if x != nil { + return x.Unk2700_KHDDIJNOICK + } + return 0 +} + +func (x *Unk2700_GIFGEDBCPFC_ServerRsp) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_Unk2700_GIFGEDBCPFC_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x49, 0x46, 0x47, 0x45, 0x44, + 0x42, 0x43, 0x50, 0x46, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x47, 0x49, 0x46, 0x47, 0x45, 0x44, 0x42, 0x43, 0x50, 0x46, 0x43, 0x5f, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x44, + 0x44, 0x49, 0x4a, 0x4e, 0x4f, 0x49, 0x43, 0x4b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x44, 0x44, 0x49, 0x4a, 0x4e, 0x4f, 0x49, + 0x43, 0x4b, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescData = file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDesc +) + +func file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDescData +} + +var file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_GIFGEDBCPFC_ServerRsp)(nil), // 0: Unk2700_GIFGEDBCPFC_ServerRsp +} +var file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_init() } +func file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_init() { + if File_Unk2700_GIFGEDBCPFC_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GIFGEDBCPFC_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_GIFGEDBCPFC_ServerRsp_proto = out.File + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_rawDesc = nil + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_goTypes = nil + file_Unk2700_GIFGEDBCPFC_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.proto new file mode 100644 index 00000000..425a712d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIFGEDBCPFC_ServerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 417 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GIFGEDBCPFC_ServerRsp { + int32 retcode = 1; + uint64 Unk2700_KHDDIJNOICK = 14; + uint32 parent_quest_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.pb.go b/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.pb.go new file mode 100644 index 00000000..470a3a63 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GIFKPMNGNGB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8608 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GIFKPMNGNGB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,13,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_OCIHJFOKHPK *CustomGadgetTreeInfo `protobuf:"bytes,1,opt,name=Unk2700_OCIHJFOKHPK,json=Unk2700OCIHJFOKHPK,proto3" json:"Unk2700_OCIHJFOKHPK,omitempty"` +} + +func (x *Unk2700_GIFKPMNGNGB) Reset() { + *x = Unk2700_GIFKPMNGNGB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GIFKPMNGNGB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GIFKPMNGNGB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GIFKPMNGNGB) ProtoMessage() {} + +func (x *Unk2700_GIFKPMNGNGB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GIFKPMNGNGB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GIFKPMNGNGB.ProtoReflect.Descriptor instead. +func (*Unk2700_GIFKPMNGNGB) Descriptor() ([]byte, []int) { + return file_Unk2700_GIFKPMNGNGB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GIFKPMNGNGB) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk2700_GIFKPMNGNGB) GetUnk2700_OCIHJFOKHPK() *CustomGadgetTreeInfo { + if x != nil { + return x.Unk2700_OCIHJFOKHPK + } + return nil +} + +var File_Unk2700_GIFKPMNGNGB_proto protoreflect.FileDescriptor + +var file_Unk2700_GIFKPMNGNGB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x49, 0x46, 0x4b, 0x50, 0x4d, + 0x4e, 0x47, 0x4e, 0x47, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x49, 0x46, 0x4b, 0x50, 0x4d, 0x4e, 0x47, 0x4e, 0x47, 0x42, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, 0x48, + 0x50, 0x4b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, + 0x48, 0x50, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GIFKPMNGNGB_proto_rawDescOnce sync.Once + file_Unk2700_GIFKPMNGNGB_proto_rawDescData = file_Unk2700_GIFKPMNGNGB_proto_rawDesc +) + +func file_Unk2700_GIFKPMNGNGB_proto_rawDescGZIP() []byte { + file_Unk2700_GIFKPMNGNGB_proto_rawDescOnce.Do(func() { + file_Unk2700_GIFKPMNGNGB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GIFKPMNGNGB_proto_rawDescData) + }) + return file_Unk2700_GIFKPMNGNGB_proto_rawDescData +} + +var file_Unk2700_GIFKPMNGNGB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GIFKPMNGNGB_proto_goTypes = []interface{}{ + (*Unk2700_GIFKPMNGNGB)(nil), // 0: Unk2700_GIFKPMNGNGB + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_Unk2700_GIFKPMNGNGB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GIFKPMNGNGB.Unk2700_OCIHJFOKHPK:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GIFKPMNGNGB_proto_init() } +func file_Unk2700_GIFKPMNGNGB_proto_init() { + if File_Unk2700_GIFKPMNGNGB_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GIFKPMNGNGB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GIFKPMNGNGB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GIFKPMNGNGB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GIFKPMNGNGB_proto_goTypes, + DependencyIndexes: file_Unk2700_GIFKPMNGNGB_proto_depIdxs, + MessageInfos: file_Unk2700_GIFKPMNGNGB_proto_msgTypes, + }.Build() + File_Unk2700_GIFKPMNGNGB_proto = out.File + file_Unk2700_GIFKPMNGNGB_proto_rawDesc = nil + file_Unk2700_GIFKPMNGNGB_proto_goTypes = nil + file_Unk2700_GIFKPMNGNGB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.proto b/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.proto new file mode 100644 index 00000000..76574e22 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GIFKPMNGNGB.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 8608 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GIFKPMNGNGB { + uint32 entity_id = 13; + CustomGadgetTreeInfo Unk2700_OCIHJFOKHPK = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.pb.go b/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.pb.go new file mode 100644 index 00000000..15da38f7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GKHEKGMFBJN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8688 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GKHEKGMFBJN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_GKHEKGMFBJN) Reset() { + *x = Unk2700_GKHEKGMFBJN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GKHEKGMFBJN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GKHEKGMFBJN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GKHEKGMFBJN) ProtoMessage() {} + +func (x *Unk2700_GKHEKGMFBJN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GKHEKGMFBJN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GKHEKGMFBJN.ProtoReflect.Descriptor instead. +func (*Unk2700_GKHEKGMFBJN) Descriptor() ([]byte, []int) { + return file_Unk2700_GKHEKGMFBJN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GKHEKGMFBJN) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_GKHEKGMFBJN_proto protoreflect.FileDescriptor + +var file_Unk2700_GKHEKGMFBJN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x48, 0x45, 0x4b, 0x47, + 0x4d, 0x46, 0x42, 0x4a, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x48, 0x45, 0x4b, 0x47, 0x4d, 0x46, 0x42, + 0x4a, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GKHEKGMFBJN_proto_rawDescOnce sync.Once + file_Unk2700_GKHEKGMFBJN_proto_rawDescData = file_Unk2700_GKHEKGMFBJN_proto_rawDesc +) + +func file_Unk2700_GKHEKGMFBJN_proto_rawDescGZIP() []byte { + file_Unk2700_GKHEKGMFBJN_proto_rawDescOnce.Do(func() { + file_Unk2700_GKHEKGMFBJN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GKHEKGMFBJN_proto_rawDescData) + }) + return file_Unk2700_GKHEKGMFBJN_proto_rawDescData +} + +var file_Unk2700_GKHEKGMFBJN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GKHEKGMFBJN_proto_goTypes = []interface{}{ + (*Unk2700_GKHEKGMFBJN)(nil), // 0: Unk2700_GKHEKGMFBJN +} +var file_Unk2700_GKHEKGMFBJN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GKHEKGMFBJN_proto_init() } +func file_Unk2700_GKHEKGMFBJN_proto_init() { + if File_Unk2700_GKHEKGMFBJN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GKHEKGMFBJN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GKHEKGMFBJN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GKHEKGMFBJN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GKHEKGMFBJN_proto_goTypes, + DependencyIndexes: file_Unk2700_GKHEKGMFBJN_proto_depIdxs, + MessageInfos: file_Unk2700_GKHEKGMFBJN_proto_msgTypes, + }.Build() + File_Unk2700_GKHEKGMFBJN_proto = out.File + file_Unk2700_GKHEKGMFBJN_proto_rawDesc = nil + file_Unk2700_GKHEKGMFBJN_proto_goTypes = nil + file_Unk2700_GKHEKGMFBJN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.proto b/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.proto new file mode 100644 index 00000000..caa1cf31 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GKHEKGMFBJN.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8688 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GKHEKGMFBJN { + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.pb.go b/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.pb.go new file mode 100644 index 00000000..3a565f0a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GKKNFMNJFDP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8261 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GKKNFMNJFDP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuffIdList []uint32 `protobuf:"varint,15,rep,packed,name=buff_id_list,json=buffIdList,proto3" json:"buff_id_list,omitempty"` + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + AvatarInfoList []*Unk2700_AMKLCEFNNCC `protobuf:"bytes,14,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` + Unk2700_HKFEBBCMBHL uint32 `protobuf:"varint,2,opt,name=Unk2700_HKFEBBCMBHL,json=Unk2700HKFEBBCMBHL,proto3" json:"Unk2700_HKFEBBCMBHL,omitempty"` + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_GKKNFMNJFDP) Reset() { + *x = Unk2700_GKKNFMNJFDP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GKKNFMNJFDP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GKKNFMNJFDP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GKKNFMNJFDP) ProtoMessage() {} + +func (x *Unk2700_GKKNFMNJFDP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GKKNFMNJFDP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GKKNFMNJFDP.ProtoReflect.Descriptor instead. +func (*Unk2700_GKKNFMNJFDP) Descriptor() ([]byte, []int) { + return file_Unk2700_GKKNFMNJFDP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GKKNFMNJFDP) GetBuffIdList() []uint32 { + if x != nil { + return x.BuffIdList + } + return nil +} + +func (x *Unk2700_GKKNFMNJFDP) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_GKKNFMNJFDP) GetAvatarInfoList() []*Unk2700_AMKLCEFNNCC { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +func (x *Unk2700_GKKNFMNJFDP) GetUnk2700_HKFEBBCMBHL() uint32 { + if x != nil { + return x.Unk2700_HKFEBBCMBHL + } + return 0 +} + +func (x *Unk2700_GKKNFMNJFDP) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_GKKNFMNJFDP_proto protoreflect.FileDescriptor + +var file_Unk2700_GKKNFMNJFDP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x4b, 0x4e, 0x46, 0x4d, + 0x4e, 0x4a, 0x46, 0x44, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x4b, 0x4c, 0x43, 0x45, 0x46, 0x4e, 0x4e, 0x43, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x4b, 0x4e, 0x46, 0x4d, 0x4e, 0x4a, 0x46, 0x44, 0x50, 0x12, 0x20, + 0x0a, 0x0c, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x10, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x41, 0x4d, 0x4b, 0x4c, 0x43, 0x45, 0x46, 0x4e, 0x4e, 0x43, 0x43, 0x52, 0x0e, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, + 0x48, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, 0x48, 0x4c, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GKKNFMNJFDP_proto_rawDescOnce sync.Once + file_Unk2700_GKKNFMNJFDP_proto_rawDescData = file_Unk2700_GKKNFMNJFDP_proto_rawDesc +) + +func file_Unk2700_GKKNFMNJFDP_proto_rawDescGZIP() []byte { + file_Unk2700_GKKNFMNJFDP_proto_rawDescOnce.Do(func() { + file_Unk2700_GKKNFMNJFDP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GKKNFMNJFDP_proto_rawDescData) + }) + return file_Unk2700_GKKNFMNJFDP_proto_rawDescData +} + +var file_Unk2700_GKKNFMNJFDP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GKKNFMNJFDP_proto_goTypes = []interface{}{ + (*Unk2700_GKKNFMNJFDP)(nil), // 0: Unk2700_GKKNFMNJFDP + (*Unk2700_AMKLCEFNNCC)(nil), // 1: Unk2700_AMKLCEFNNCC +} +var file_Unk2700_GKKNFMNJFDP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GKKNFMNJFDP.avatar_info_list:type_name -> Unk2700_AMKLCEFNNCC + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GKKNFMNJFDP_proto_init() } +func file_Unk2700_GKKNFMNJFDP_proto_init() { + if File_Unk2700_GKKNFMNJFDP_proto != nil { + return + } + file_Unk2700_AMKLCEFNNCC_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GKKNFMNJFDP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GKKNFMNJFDP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GKKNFMNJFDP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GKKNFMNJFDP_proto_goTypes, + DependencyIndexes: file_Unk2700_GKKNFMNJFDP_proto_depIdxs, + MessageInfos: file_Unk2700_GKKNFMNJFDP_proto_msgTypes, + }.Build() + File_Unk2700_GKKNFMNJFDP_proto = out.File + file_Unk2700_GKKNFMNJFDP_proto_rawDesc = nil + file_Unk2700_GKKNFMNJFDP_proto_goTypes = nil + file_Unk2700_GKKNFMNJFDP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.proto b/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.proto new file mode 100644 index 00000000..6730489f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GKKNFMNJFDP.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AMKLCEFNNCC.proto"; + +option go_package = "./;proto"; + +// CmdId: 8261 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GKKNFMNJFDP { + repeated uint32 buff_id_list = 15; + uint32 level_id = 5; + repeated Unk2700_AMKLCEFNNCC avatar_info_list = 14; + uint32 Unk2700_HKFEBBCMBHL = 2; + uint32 stage_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.pb.go new file mode 100644 index 00000000..69b9d022 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GLAPMLGHDDC_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5960 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GLAPMLGHDDC_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialId uint32 `protobuf:"varint,14,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Unk2700_MHEKJGAIFBO Unk2700_NOCLNCCJEGK `protobuf:"varint,10,opt,name=Unk2700_MHEKJGAIFBO,json=Unk2700MHEKJGAIFBO,proto3,enum=Unk2700_NOCLNCCJEGK" json:"Unk2700_MHEKJGAIFBO,omitempty"` + Unk2700_GMHLHKIIGIC uint32 `protobuf:"varint,7,opt,name=Unk2700_GMHLHKIIGIC,json=Unk2700GMHLHKIIGIC,proto3" json:"Unk2700_GMHLHKIIGIC,omitempty"` +} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) Reset() { + *x = Unk2700_GLAPMLGHDDC_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GLAPMLGHDDC_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GLAPMLGHDDC_ClientReq) ProtoMessage() {} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GLAPMLGHDDC_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GLAPMLGHDDC_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_GLAPMLGHDDC_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) GetUnk2700_MHEKJGAIFBO() Unk2700_NOCLNCCJEGK { + if x != nil { + return x.Unk2700_MHEKJGAIFBO + } + return Unk2700_NOCLNCCJEGK_Unk2700_NOCLNCCJEGK_NONE +} + +func (x *Unk2700_GLAPMLGHDDC_ClientReq) GetUnk2700_GMHLHKIIGIC() uint32 { + if x != nil { + return x.Unk2700_GMHLHKIIGIC + } + return 0 +} + +var File_Unk2700_GLAPMLGHDDC_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x41, 0x50, 0x4d, 0x4c, + 0x47, 0x48, 0x44, 0x44, 0x43, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x4f, 0x43, 0x4c, 0x4e, 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb8, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x41, + 0x50, 0x4d, 0x4c, 0x47, 0x48, 0x44, 0x44, 0x43, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x48, 0x45, 0x4b, 0x4a, 0x47, 0x41, 0x49, 0x46, 0x42, 0x4f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x43, 0x4c, 0x4e, + 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, + 0x48, 0x45, 0x4b, 0x4a, 0x47, 0x41, 0x49, 0x46, 0x42, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x48, 0x4c, 0x48, 0x4b, 0x49, 0x49, 0x47, 0x49, + 0x43, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x47, 0x4d, 0x48, 0x4c, 0x48, 0x4b, 0x49, 0x49, 0x47, 0x49, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescData = file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDesc +) + +func file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescData) + }) + return file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDescData +} + +var file_Unk2700_GLAPMLGHDDC_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GLAPMLGHDDC_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_GLAPMLGHDDC_ClientReq)(nil), // 0: Unk2700_GLAPMLGHDDC_ClientReq + (Unk2700_NOCLNCCJEGK)(0), // 1: Unk2700_NOCLNCCJEGK +} +var file_Unk2700_GLAPMLGHDDC_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GLAPMLGHDDC_ClientReq.Unk2700_MHEKJGAIFBO:type_name -> Unk2700_NOCLNCCJEGK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GLAPMLGHDDC_ClientReq_proto_init() } +func file_Unk2700_GLAPMLGHDDC_ClientReq_proto_init() { + if File_Unk2700_GLAPMLGHDDC_ClientReq_proto != nil { + return + } + file_Unk2700_NOCLNCCJEGK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GLAPMLGHDDC_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GLAPMLGHDDC_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_GLAPMLGHDDC_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_GLAPMLGHDDC_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_GLAPMLGHDDC_ClientReq_proto = out.File + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_rawDesc = nil + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_goTypes = nil + file_Unk2700_GLAPMLGHDDC_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.proto new file mode 100644 index 00000000..f7ab3957 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLAPMLGHDDC_ClientReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NOCLNCCJEGK.proto"; + +option go_package = "./;proto"; + +// CmdId: 5960 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GLAPMLGHDDC_ClientReq { + uint32 material_id = 14; + Unk2700_NOCLNCCJEGK Unk2700_MHEKJGAIFBO = 10; + uint32 Unk2700_GMHLHKIIGIC = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.pb.go new file mode 100644 index 00000000..2efeefcb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GLIILNDIPLK_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6341 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GLIILNDIPLK_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LALIEABDFFI bool `protobuf:"varint,12,opt,name=Unk2700_LALIEABDFFI,json=Unk2700LALIEABDFFI,proto3" json:"Unk2700_LALIEABDFFI,omitempty"` + Unk2700_DCLHFINJEOD bool `protobuf:"varint,8,opt,name=Unk2700_DCLHFINJEOD,json=Unk2700DCLHFINJEOD,proto3" json:"Unk2700_DCLHFINJEOD,omitempty"` + Unk2700_GMICFADLAMC bool `protobuf:"varint,15,opt,name=Unk2700_GMICFADLAMC,json=Unk2700GMICFADLAMC,proto3" json:"Unk2700_GMICFADLAMC,omitempty"` +} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) Reset() { + *x = Unk2700_GLIILNDIPLK_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GLIILNDIPLK_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GLIILNDIPLK_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GLIILNDIPLK_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GLIILNDIPLK_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_GLIILNDIPLK_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) GetUnk2700_LALIEABDFFI() bool { + if x != nil { + return x.Unk2700_LALIEABDFFI + } + return false +} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) GetUnk2700_DCLHFINJEOD() bool { + if x != nil { + return x.Unk2700_DCLHFINJEOD + } + return false +} + +func (x *Unk2700_GLIILNDIPLK_ServerNotify) GetUnk2700_GMICFADLAMC() bool { + if x != nil { + return x.Unk2700_GMICFADLAMC + } + return false +} + +var File_Unk2700_GLIILNDIPLK_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x49, 0x49, 0x4c, 0x4e, + 0x44, 0x49, 0x50, 0x4c, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x49, 0x49, 0x4c, 0x4e, 0x44, 0x49, 0x50, 0x4c, 0x4b, + 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x4c, 0x49, 0x45, 0x41, 0x42, + 0x44, 0x46, 0x46, 0x49, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4c, 0x41, 0x4c, 0x49, 0x45, 0x41, 0x42, 0x44, 0x46, 0x46, 0x49, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x4c, 0x48, 0x46, 0x49, + 0x4e, 0x4a, 0x45, 0x4f, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x44, 0x43, 0x4c, 0x48, 0x46, 0x49, 0x4e, 0x4a, 0x45, 0x4f, 0x44, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x49, 0x43, 0x46, + 0x41, 0x44, 0x4c, 0x41, 0x4d, 0x43, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x49, 0x43, 0x46, 0x41, 0x44, 0x4c, 0x41, 0x4d, 0x43, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescData = file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDesc +) + +func file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDescData +} + +var file_Unk2700_GLIILNDIPLK_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GLIILNDIPLK_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_GLIILNDIPLK_ServerNotify)(nil), // 0: Unk2700_GLIILNDIPLK_ServerNotify +} +var file_Unk2700_GLIILNDIPLK_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GLIILNDIPLK_ServerNotify_proto_init() } +func file_Unk2700_GLIILNDIPLK_ServerNotify_proto_init() { + if File_Unk2700_GLIILNDIPLK_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GLIILNDIPLK_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GLIILNDIPLK_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_GLIILNDIPLK_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_GLIILNDIPLK_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_GLIILNDIPLK_ServerNotify_proto = out.File + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_rawDesc = nil + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_goTypes = nil + file_Unk2700_GLIILNDIPLK_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.proto new file mode 100644 index 00000000..7c4f734c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLIILNDIPLK_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6341 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GLIILNDIPLK_ServerNotify { + bool Unk2700_LALIEABDFFI = 12; + bool Unk2700_DCLHFINJEOD = 8; + bool Unk2700_GMICFADLAMC = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.pb.go b/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.pb.go new file mode 100644 index 00000000..9cfba080 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GLLIEOABOML.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8057 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GLLIEOABOML struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint32 `protobuf:"varint,8,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,10,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` +} + +func (x *Unk2700_GLLIEOABOML) Reset() { + *x = Unk2700_GLLIEOABOML{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GLLIEOABOML_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GLLIEOABOML) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GLLIEOABOML) ProtoMessage() {} + +func (x *Unk2700_GLLIEOABOML) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GLLIEOABOML_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GLLIEOABOML.ProtoReflect.Descriptor instead. +func (*Unk2700_GLLIEOABOML) Descriptor() ([]byte, []int) { + return file_Unk2700_GLLIEOABOML_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GLLIEOABOML) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *Unk2700_GLLIEOABOML) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_GLLIEOABOML) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +var File_Unk2700_GLLIEOABOML_proto protoreflect.FileDescriptor + +var file_Unk2700_GLLIEOABOML_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x4c, 0x49, 0x45, 0x4f, + 0x41, 0x42, 0x4f, 0x4d, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4c, 0x4c, 0x49, 0x45, 0x4f, 0x41, 0x42, 0x4f, + 0x4d, 0x4c, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, + 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GLLIEOABOML_proto_rawDescOnce sync.Once + file_Unk2700_GLLIEOABOML_proto_rawDescData = file_Unk2700_GLLIEOABOML_proto_rawDesc +) + +func file_Unk2700_GLLIEOABOML_proto_rawDescGZIP() []byte { + file_Unk2700_GLLIEOABOML_proto_rawDescOnce.Do(func() { + file_Unk2700_GLLIEOABOML_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GLLIEOABOML_proto_rawDescData) + }) + return file_Unk2700_GLLIEOABOML_proto_rawDescData +} + +var file_Unk2700_GLLIEOABOML_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GLLIEOABOML_proto_goTypes = []interface{}{ + (*Unk2700_GLLIEOABOML)(nil), // 0: Unk2700_GLLIEOABOML +} +var file_Unk2700_GLLIEOABOML_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GLLIEOABOML_proto_init() } +func file_Unk2700_GLLIEOABOML_proto_init() { + if File_Unk2700_GLLIEOABOML_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GLLIEOABOML_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GLLIEOABOML); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GLLIEOABOML_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GLLIEOABOML_proto_goTypes, + DependencyIndexes: file_Unk2700_GLLIEOABOML_proto_depIdxs, + MessageInfos: file_Unk2700_GLLIEOABOML_proto_msgTypes, + }.Build() + File_Unk2700_GLLIEOABOML_proto = out.File + file_Unk2700_GLLIEOABOML_proto_rawDesc = nil + file_Unk2700_GLLIEOABOML_proto_goTypes = nil + file_Unk2700_GLLIEOABOML_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.proto b/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.proto new file mode 100644 index 00000000..7cbb81ff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GLLIEOABOML.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8057 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GLLIEOABOML { + uint32 card_id = 8; + uint32 level_id = 5; + bool Unk2700_PHGMKGEMCFF = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.pb.go b/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.pb.go new file mode 100644 index 00000000..5fe292cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GMNGEEBMABP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8352 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_GMNGEEBMABP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_GMNGEEBMABP) Reset() { + *x = Unk2700_GMNGEEBMABP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GMNGEEBMABP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GMNGEEBMABP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GMNGEEBMABP) ProtoMessage() {} + +func (x *Unk2700_GMNGEEBMABP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GMNGEEBMABP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GMNGEEBMABP.ProtoReflect.Descriptor instead. +func (*Unk2700_GMNGEEBMABP) Descriptor() ([]byte, []int) { + return file_Unk2700_GMNGEEBMABP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GMNGEEBMABP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_GMNGEEBMABP_proto protoreflect.FileDescriptor + +var file_Unk2700_GMNGEEBMABP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x4e, 0x47, 0x45, 0x45, + 0x42, 0x4d, 0x41, 0x42, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x4e, 0x47, 0x45, 0x45, 0x42, 0x4d, 0x41, + 0x42, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GMNGEEBMABP_proto_rawDescOnce sync.Once + file_Unk2700_GMNGEEBMABP_proto_rawDescData = file_Unk2700_GMNGEEBMABP_proto_rawDesc +) + +func file_Unk2700_GMNGEEBMABP_proto_rawDescGZIP() []byte { + file_Unk2700_GMNGEEBMABP_proto_rawDescOnce.Do(func() { + file_Unk2700_GMNGEEBMABP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GMNGEEBMABP_proto_rawDescData) + }) + return file_Unk2700_GMNGEEBMABP_proto_rawDescData +} + +var file_Unk2700_GMNGEEBMABP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GMNGEEBMABP_proto_goTypes = []interface{}{ + (*Unk2700_GMNGEEBMABP)(nil), // 0: Unk2700_GMNGEEBMABP +} +var file_Unk2700_GMNGEEBMABP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GMNGEEBMABP_proto_init() } +func file_Unk2700_GMNGEEBMABP_proto_init() { + if File_Unk2700_GMNGEEBMABP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GMNGEEBMABP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GMNGEEBMABP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GMNGEEBMABP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GMNGEEBMABP_proto_goTypes, + DependencyIndexes: file_Unk2700_GMNGEEBMABP_proto_depIdxs, + MessageInfos: file_Unk2700_GMNGEEBMABP_proto_msgTypes, + }.Build() + File_Unk2700_GMNGEEBMABP_proto = out.File + file_Unk2700_GMNGEEBMABP_proto_rawDesc = nil + file_Unk2700_GMNGEEBMABP_proto_goTypes = nil + file_Unk2700_GMNGEEBMABP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.proto b/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.proto new file mode 100644 index 00000000..fe63c3dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GMNGEEBMABP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8352 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_GMNGEEBMABP { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.pb.go new file mode 100644 index 00000000..8a24714e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GNDOKLHDHBJ_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6245 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GNDOKLHDHBJ_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,13,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` +} + +func (x *Unk2700_GNDOKLHDHBJ_ClientReq) Reset() { + *x = Unk2700_GNDOKLHDHBJ_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GNDOKLHDHBJ_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GNDOKLHDHBJ_ClientReq) ProtoMessage() {} + +func (x *Unk2700_GNDOKLHDHBJ_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GNDOKLHDHBJ_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_GNDOKLHDHBJ_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GNDOKLHDHBJ_ClientReq) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +var File_Unk2700_GNDOKLHDHBJ_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x44, 0x4f, 0x4b, 0x4c, + 0x48, 0x44, 0x48, 0x42, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x4e, 0x44, 0x4f, 0x4b, 0x4c, 0x48, 0x44, 0x48, 0x42, 0x4a, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescData = file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDesc +) + +func file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescData) + }) + return file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDescData +} + +var file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_GNDOKLHDHBJ_ClientReq)(nil), // 0: Unk2700_GNDOKLHDHBJ_ClientReq +} +var file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_init() } +func file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_init() { + if File_Unk2700_GNDOKLHDHBJ_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GNDOKLHDHBJ_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_GNDOKLHDHBJ_ClientReq_proto = out.File + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_rawDesc = nil + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_goTypes = nil + file_Unk2700_GNDOKLHDHBJ_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.proto new file mode 100644 index 00000000..ecc76dea --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNDOKLHDHBJ_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6245 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GNDOKLHDHBJ_ClientReq { + uint32 room_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.pb.go b/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.pb.go new file mode 100644 index 00000000..a52c435a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GNOAKIGLPCG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8991 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GNOAKIGLPCG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IIJKCKNHPKD []uint32 `protobuf:"varint,8,rep,packed,name=Unk2700_IIJKCKNHPKD,json=Unk2700IIJKCKNHPKD,proto3" json:"Unk2700_IIJKCKNHPKD,omitempty"` +} + +func (x *Unk2700_GNOAKIGLPCG) Reset() { + *x = Unk2700_GNOAKIGLPCG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GNOAKIGLPCG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GNOAKIGLPCG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GNOAKIGLPCG) ProtoMessage() {} + +func (x *Unk2700_GNOAKIGLPCG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GNOAKIGLPCG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GNOAKIGLPCG.ProtoReflect.Descriptor instead. +func (*Unk2700_GNOAKIGLPCG) Descriptor() ([]byte, []int) { + return file_Unk2700_GNOAKIGLPCG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GNOAKIGLPCG) GetUnk2700_IIJKCKNHPKD() []uint32 { + if x != nil { + return x.Unk2700_IIJKCKNHPKD + } + return nil +} + +var File_Unk2700_GNOAKIGLPCG_proto protoreflect.FileDescriptor + +var file_Unk2700_GNOAKIGLPCG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x4f, 0x41, 0x4b, 0x49, + 0x47, 0x4c, 0x50, 0x43, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x4f, 0x41, 0x4b, 0x49, 0x47, 0x4c, 0x50, + 0x43, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x49, + 0x4a, 0x4b, 0x43, 0x4b, 0x4e, 0x48, 0x50, 0x4b, 0x44, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x49, 0x4a, 0x4b, 0x43, 0x4b, 0x4e, 0x48, + 0x50, 0x4b, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GNOAKIGLPCG_proto_rawDescOnce sync.Once + file_Unk2700_GNOAKIGLPCG_proto_rawDescData = file_Unk2700_GNOAKIGLPCG_proto_rawDesc +) + +func file_Unk2700_GNOAKIGLPCG_proto_rawDescGZIP() []byte { + file_Unk2700_GNOAKIGLPCG_proto_rawDescOnce.Do(func() { + file_Unk2700_GNOAKIGLPCG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GNOAKIGLPCG_proto_rawDescData) + }) + return file_Unk2700_GNOAKIGLPCG_proto_rawDescData +} + +var file_Unk2700_GNOAKIGLPCG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GNOAKIGLPCG_proto_goTypes = []interface{}{ + (*Unk2700_GNOAKIGLPCG)(nil), // 0: Unk2700_GNOAKIGLPCG +} +var file_Unk2700_GNOAKIGLPCG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GNOAKIGLPCG_proto_init() } +func file_Unk2700_GNOAKIGLPCG_proto_init() { + if File_Unk2700_GNOAKIGLPCG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GNOAKIGLPCG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GNOAKIGLPCG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GNOAKIGLPCG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GNOAKIGLPCG_proto_goTypes, + DependencyIndexes: file_Unk2700_GNOAKIGLPCG_proto_depIdxs, + MessageInfos: file_Unk2700_GNOAKIGLPCG_proto_msgTypes, + }.Build() + File_Unk2700_GNOAKIGLPCG_proto = out.File + file_Unk2700_GNOAKIGLPCG_proto_rawDesc = nil + file_Unk2700_GNOAKIGLPCG_proto_goTypes = nil + file_Unk2700_GNOAKIGLPCG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.proto b/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.proto new file mode 100644 index 00000000..99ef454c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNOAKIGLPCG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8991 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GNOAKIGLPCG { + repeated uint32 Unk2700_IIJKCKNHPKD = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.pb.go b/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.pb.go new file mode 100644 index 00000000..5ba8e6e0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GNPPPIHBDLJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8709 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GNPPPIHBDLJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CKGJEOOKFIF uint32 `protobuf:"varint,13,opt,name=Unk2700_CKGJEOOKFIF,json=Unk2700CKGJEOOKFIF,proto3" json:"Unk2700_CKGJEOOKFIF,omitempty"` +} + +func (x *Unk2700_GNPPPIHBDLJ) Reset() { + *x = Unk2700_GNPPPIHBDLJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GNPPPIHBDLJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GNPPPIHBDLJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GNPPPIHBDLJ) ProtoMessage() {} + +func (x *Unk2700_GNPPPIHBDLJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GNPPPIHBDLJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GNPPPIHBDLJ.ProtoReflect.Descriptor instead. +func (*Unk2700_GNPPPIHBDLJ) Descriptor() ([]byte, []int) { + return file_Unk2700_GNPPPIHBDLJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GNPPPIHBDLJ) GetUnk2700_CKGJEOOKFIF() uint32 { + if x != nil { + return x.Unk2700_CKGJEOOKFIF + } + return 0 +} + +var File_Unk2700_GNPPPIHBDLJ_proto protoreflect.FileDescriptor + +var file_Unk2700_GNPPPIHBDLJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x50, 0x50, 0x50, 0x49, + 0x48, 0x42, 0x44, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x50, 0x50, 0x50, 0x49, 0x48, 0x42, 0x44, + 0x4c, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, + 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, + 0x46, 0x49, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GNPPPIHBDLJ_proto_rawDescOnce sync.Once + file_Unk2700_GNPPPIHBDLJ_proto_rawDescData = file_Unk2700_GNPPPIHBDLJ_proto_rawDesc +) + +func file_Unk2700_GNPPPIHBDLJ_proto_rawDescGZIP() []byte { + file_Unk2700_GNPPPIHBDLJ_proto_rawDescOnce.Do(func() { + file_Unk2700_GNPPPIHBDLJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GNPPPIHBDLJ_proto_rawDescData) + }) + return file_Unk2700_GNPPPIHBDLJ_proto_rawDescData +} + +var file_Unk2700_GNPPPIHBDLJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GNPPPIHBDLJ_proto_goTypes = []interface{}{ + (*Unk2700_GNPPPIHBDLJ)(nil), // 0: Unk2700_GNPPPIHBDLJ +} +var file_Unk2700_GNPPPIHBDLJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GNPPPIHBDLJ_proto_init() } +func file_Unk2700_GNPPPIHBDLJ_proto_init() { + if File_Unk2700_GNPPPIHBDLJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GNPPPIHBDLJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GNPPPIHBDLJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GNPPPIHBDLJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GNPPPIHBDLJ_proto_goTypes, + DependencyIndexes: file_Unk2700_GNPPPIHBDLJ_proto_depIdxs, + MessageInfos: file_Unk2700_GNPPPIHBDLJ_proto_msgTypes, + }.Build() + File_Unk2700_GNPPPIHBDLJ_proto = out.File + file_Unk2700_GNPPPIHBDLJ_proto_rawDesc = nil + file_Unk2700_GNPPPIHBDLJ_proto_goTypes = nil + file_Unk2700_GNPPPIHBDLJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.proto b/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.proto new file mode 100644 index 00000000..fc339df9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GNPPPIHBDLJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8709 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GNPPPIHBDLJ { + uint32 Unk2700_CKGJEOOKFIF = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.pb.go b/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.pb.go new file mode 100644 index 00000000..a61295bd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GOHMLAFNBGF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GOHMLAFNBGF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OALCFEGIBOL uint32 `protobuf:"varint,8,opt,name=Unk2700_OALCFEGIBOL,json=Unk2700OALCFEGIBOL,proto3" json:"Unk2700_OALCFEGIBOL,omitempty"` + Unk2700_CKPNCKDIJMB []*HomeFurnitureData `protobuf:"bytes,3,rep,name=Unk2700_CKPNCKDIJMB,json=Unk2700CKPNCKDIJMB,proto3" json:"Unk2700_CKPNCKDIJMB,omitempty"` +} + +func (x *Unk2700_GOHMLAFNBGF) Reset() { + *x = Unk2700_GOHMLAFNBGF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GOHMLAFNBGF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GOHMLAFNBGF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GOHMLAFNBGF) ProtoMessage() {} + +func (x *Unk2700_GOHMLAFNBGF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GOHMLAFNBGF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GOHMLAFNBGF.ProtoReflect.Descriptor instead. +func (*Unk2700_GOHMLAFNBGF) Descriptor() ([]byte, []int) { + return file_Unk2700_GOHMLAFNBGF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GOHMLAFNBGF) GetUnk2700_OALCFEGIBOL() uint32 { + if x != nil { + return x.Unk2700_OALCFEGIBOL + } + return 0 +} + +func (x *Unk2700_GOHMLAFNBGF) GetUnk2700_CKPNCKDIJMB() []*HomeFurnitureData { + if x != nil { + return x.Unk2700_CKPNCKDIJMB + } + return nil +} + +var File_Unk2700_GOHMLAFNBGF_proto protoreflect.FileDescriptor + +var file_Unk2700_GOHMLAFNBGF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4f, 0x48, 0x4d, 0x4c, 0x41, + 0x46, 0x4e, 0x42, 0x47, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x48, 0x6f, 0x6d, + 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x4f, 0x48, 0x4d, 0x4c, 0x41, 0x46, 0x4e, 0x42, 0x47, 0x46, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x41, 0x4c, 0x43, 0x46, 0x45, 0x47, 0x49, + 0x42, 0x4f, 0x4c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4f, 0x41, 0x4c, 0x43, 0x46, 0x45, 0x47, 0x49, 0x42, 0x4f, 0x4c, 0x12, 0x43, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x50, 0x4e, 0x43, 0x4b, 0x44, + 0x49, 0x4a, 0x4d, 0x42, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x48, 0x6f, 0x6d, + 0x65, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4b, 0x50, 0x4e, 0x43, 0x4b, 0x44, 0x49, 0x4a, + 0x4d, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GOHMLAFNBGF_proto_rawDescOnce sync.Once + file_Unk2700_GOHMLAFNBGF_proto_rawDescData = file_Unk2700_GOHMLAFNBGF_proto_rawDesc +) + +func file_Unk2700_GOHMLAFNBGF_proto_rawDescGZIP() []byte { + file_Unk2700_GOHMLAFNBGF_proto_rawDescOnce.Do(func() { + file_Unk2700_GOHMLAFNBGF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GOHMLAFNBGF_proto_rawDescData) + }) + return file_Unk2700_GOHMLAFNBGF_proto_rawDescData +} + +var file_Unk2700_GOHMLAFNBGF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GOHMLAFNBGF_proto_goTypes = []interface{}{ + (*Unk2700_GOHMLAFNBGF)(nil), // 0: Unk2700_GOHMLAFNBGF + (*HomeFurnitureData)(nil), // 1: HomeFurnitureData +} +var file_Unk2700_GOHMLAFNBGF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GOHMLAFNBGF.Unk2700_CKPNCKDIJMB:type_name -> HomeFurnitureData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_GOHMLAFNBGF_proto_init() } +func file_Unk2700_GOHMLAFNBGF_proto_init() { + if File_Unk2700_GOHMLAFNBGF_proto != nil { + return + } + file_HomeFurnitureData_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GOHMLAFNBGF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GOHMLAFNBGF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GOHMLAFNBGF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GOHMLAFNBGF_proto_goTypes, + DependencyIndexes: file_Unk2700_GOHMLAFNBGF_proto_depIdxs, + MessageInfos: file_Unk2700_GOHMLAFNBGF_proto_msgTypes, + }.Build() + File_Unk2700_GOHMLAFNBGF_proto = out.File + file_Unk2700_GOHMLAFNBGF_proto_rawDesc = nil + file_Unk2700_GOHMLAFNBGF_proto_goTypes = nil + file_Unk2700_GOHMLAFNBGF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.proto b/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.proto new file mode 100644 index 00000000..3adb15f2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GOHMLAFNBGF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFurnitureData.proto"; + +option go_package = "./;proto"; + +message Unk2700_GOHMLAFNBGF { + uint32 Unk2700_OALCFEGIBOL = 8; + repeated HomeFurnitureData Unk2700_CKPNCKDIJMB = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.pb.go b/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.pb.go new file mode 100644 index 00000000..28d9fdbd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GPHLCIAMDFG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8095 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GPHLCIAMDFG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,3,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Uid uint32 `protobuf:"varint,12,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *Unk2700_GPHLCIAMDFG) Reset() { + *x = Unk2700_GPHLCIAMDFG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GPHLCIAMDFG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GPHLCIAMDFG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GPHLCIAMDFG) ProtoMessage() {} + +func (x *Unk2700_GPHLCIAMDFG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GPHLCIAMDFG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GPHLCIAMDFG.ProtoReflect.Descriptor instead. +func (*Unk2700_GPHLCIAMDFG) Descriptor() ([]byte, []int) { + return file_Unk2700_GPHLCIAMDFG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GPHLCIAMDFG) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_GPHLCIAMDFG) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_Unk2700_GPHLCIAMDFG_proto protoreflect.FileDescriptor + +var file_Unk2700_GPHLCIAMDFG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x48, 0x4c, 0x43, 0x49, + 0x41, 0x4d, 0x44, 0x46, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x48, 0x4c, 0x43, 0x49, 0x41, 0x4d, 0x44, + 0x46, 0x47, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GPHLCIAMDFG_proto_rawDescOnce sync.Once + file_Unk2700_GPHLCIAMDFG_proto_rawDescData = file_Unk2700_GPHLCIAMDFG_proto_rawDesc +) + +func file_Unk2700_GPHLCIAMDFG_proto_rawDescGZIP() []byte { + file_Unk2700_GPHLCIAMDFG_proto_rawDescOnce.Do(func() { + file_Unk2700_GPHLCIAMDFG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GPHLCIAMDFG_proto_rawDescData) + }) + return file_Unk2700_GPHLCIAMDFG_proto_rawDescData +} + +var file_Unk2700_GPHLCIAMDFG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GPHLCIAMDFG_proto_goTypes = []interface{}{ + (*Unk2700_GPHLCIAMDFG)(nil), // 0: Unk2700_GPHLCIAMDFG +} +var file_Unk2700_GPHLCIAMDFG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GPHLCIAMDFG_proto_init() } +func file_Unk2700_GPHLCIAMDFG_proto_init() { + if File_Unk2700_GPHLCIAMDFG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GPHLCIAMDFG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GPHLCIAMDFG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GPHLCIAMDFG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GPHLCIAMDFG_proto_goTypes, + DependencyIndexes: file_Unk2700_GPHLCIAMDFG_proto_depIdxs, + MessageInfos: file_Unk2700_GPHLCIAMDFG_proto_msgTypes, + }.Build() + File_Unk2700_GPHLCIAMDFG_proto = out.File + file_Unk2700_GPHLCIAMDFG_proto_rawDesc = nil + file_Unk2700_GPHLCIAMDFG_proto_goTypes = nil + file_Unk2700_GPHLCIAMDFG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.proto b/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.proto new file mode 100644 index 00000000..ba97489e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPHLCIAMDFG.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8095 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GPHLCIAMDFG { + uint32 schedule_id = 3; + uint32 uid = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.pb.go new file mode 100644 index 00000000..04c4fab5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GPIHGEEKBOO_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6233 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GPIHGEEKBOO_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BMBJKEOELCG string `protobuf:"bytes,6,opt,name=Unk2700_BMBJKEOELCG,json=Unk2700BMBJKEOELCG,proto3" json:"Unk2700_BMBJKEOELCG,omitempty"` +} + +func (x *Unk2700_GPIHGEEKBOO_ClientReq) Reset() { + *x = Unk2700_GPIHGEEKBOO_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GPIHGEEKBOO_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GPIHGEEKBOO_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GPIHGEEKBOO_ClientReq) ProtoMessage() {} + +func (x *Unk2700_GPIHGEEKBOO_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GPIHGEEKBOO_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GPIHGEEKBOO_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_GPIHGEEKBOO_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GPIHGEEKBOO_ClientReq) GetUnk2700_BMBJKEOELCG() string { + if x != nil { + return x.Unk2700_BMBJKEOELCG + } + return "" +} + +var File_Unk2700_GPIHGEEKBOO_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x49, 0x48, 0x47, 0x45, + 0x45, 0x4b, 0x42, 0x4f, 0x4f, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x47, 0x50, 0x49, 0x48, 0x47, 0x45, 0x45, 0x4b, 0x42, 0x4f, 0x4f, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x4a, 0x4b, 0x45, 0x4f, 0x45, 0x4c, 0x43, 0x47, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4d, 0x42, 0x4a, + 0x4b, 0x45, 0x4f, 0x45, 0x4c, 0x43, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescData = file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDesc +) + +func file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescData) + }) + return file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDescData +} + +var file_Unk2700_GPIHGEEKBOO_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GPIHGEEKBOO_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_GPIHGEEKBOO_ClientReq)(nil), // 0: Unk2700_GPIHGEEKBOO_ClientReq +} +var file_Unk2700_GPIHGEEKBOO_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GPIHGEEKBOO_ClientReq_proto_init() } +func file_Unk2700_GPIHGEEKBOO_ClientReq_proto_init() { + if File_Unk2700_GPIHGEEKBOO_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GPIHGEEKBOO_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GPIHGEEKBOO_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_GPIHGEEKBOO_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_GPIHGEEKBOO_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_GPIHGEEKBOO_ClientReq_proto = out.File + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_rawDesc = nil + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_goTypes = nil + file_Unk2700_GPIHGEEKBOO_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.proto new file mode 100644 index 00000000..569bc5d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPIHGEEKBOO_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6233 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GPIHGEEKBOO_ClientReq { + string Unk2700_BMBJKEOELCG = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.pb.go b/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.pb.go new file mode 100644 index 00000000..b6b66357 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GPOIPAHPHJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8967 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_GPOIPAHPHJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,14,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ChallengeType uint32 `protobuf:"varint,13,opt,name=challenge_type,json=challengeType,proto3" json:"challenge_type,omitempty"` +} + +func (x *Unk2700_GPOIPAHPHJE) Reset() { + *x = Unk2700_GPOIPAHPHJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GPOIPAHPHJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GPOIPAHPHJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GPOIPAHPHJE) ProtoMessage() {} + +func (x *Unk2700_GPOIPAHPHJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GPOIPAHPHJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GPOIPAHPHJE.ProtoReflect.Descriptor instead. +func (*Unk2700_GPOIPAHPHJE) Descriptor() ([]byte, []int) { + return file_Unk2700_GPOIPAHPHJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GPOIPAHPHJE) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_GPOIPAHPHJE) GetChallengeType() uint32 { + if x != nil { + return x.ChallengeType + } + return 0 +} + +var File_Unk2700_GPOIPAHPHJE_proto protoreflect.FileDescriptor + +var file_Unk2700_GPOIPAHPHJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x4f, 0x49, 0x50, 0x41, + 0x48, 0x50, 0x48, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x4f, 0x49, 0x50, 0x41, 0x48, 0x50, 0x48, + 0x4a, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, + 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GPOIPAHPHJE_proto_rawDescOnce sync.Once + file_Unk2700_GPOIPAHPHJE_proto_rawDescData = file_Unk2700_GPOIPAHPHJE_proto_rawDesc +) + +func file_Unk2700_GPOIPAHPHJE_proto_rawDescGZIP() []byte { + file_Unk2700_GPOIPAHPHJE_proto_rawDescOnce.Do(func() { + file_Unk2700_GPOIPAHPHJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GPOIPAHPHJE_proto_rawDescData) + }) + return file_Unk2700_GPOIPAHPHJE_proto_rawDescData +} + +var file_Unk2700_GPOIPAHPHJE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GPOIPAHPHJE_proto_goTypes = []interface{}{ + (*Unk2700_GPOIPAHPHJE)(nil), // 0: Unk2700_GPOIPAHPHJE +} +var file_Unk2700_GPOIPAHPHJE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_GPOIPAHPHJE_proto_init() } +func file_Unk2700_GPOIPAHPHJE_proto_init() { + if File_Unk2700_GPOIPAHPHJE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_GPOIPAHPHJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GPOIPAHPHJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GPOIPAHPHJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GPOIPAHPHJE_proto_goTypes, + DependencyIndexes: file_Unk2700_GPOIPAHPHJE_proto_depIdxs, + MessageInfos: file_Unk2700_GPOIPAHPHJE_proto_msgTypes, + }.Build() + File_Unk2700_GPOIPAHPHJE_proto = out.File + file_Unk2700_GPOIPAHPHJE_proto_rawDesc = nil + file_Unk2700_GPOIPAHPHJE_proto_goTypes = nil + file_Unk2700_GPOIPAHPHJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.proto b/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.proto new file mode 100644 index 00000000..7def941c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPOIPAHPHJE.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8967 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_GPOIPAHPHJE { + uint32 stage_id = 14; + uint32 challenge_type = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.pb.go b/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.pb.go new file mode 100644 index 00000000..93fdf464 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_GPPKNKGDCHJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_GPPKNKGDCHJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MNPGJOAHINC []*ItemParam `protobuf:"bytes,2,rep,name=Unk2700_MNPGJOAHINC,json=Unk2700MNPGJOAHINC,proto3" json:"Unk2700_MNPGJOAHINC,omitempty"` + Uid uint32 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"` + Unk2700_LBIKFNBNEBC []*ItemParam `protobuf:"bytes,9,rep,name=Unk2700_LBIKFNBNEBC,json=Unk2700LBIKFNBNEBC,proto3" json:"Unk2700_LBIKFNBNEBC,omitempty"` +} + +func (x *Unk2700_GPPKNKGDCHJ) Reset() { + *x = Unk2700_GPPKNKGDCHJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_GPPKNKGDCHJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_GPPKNKGDCHJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_GPPKNKGDCHJ) ProtoMessage() {} + +func (x *Unk2700_GPPKNKGDCHJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_GPPKNKGDCHJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_GPPKNKGDCHJ.ProtoReflect.Descriptor instead. +func (*Unk2700_GPPKNKGDCHJ) Descriptor() ([]byte, []int) { + return file_Unk2700_GPPKNKGDCHJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_GPPKNKGDCHJ) GetUnk2700_MNPGJOAHINC() []*ItemParam { + if x != nil { + return x.Unk2700_MNPGJOAHINC + } + return nil +} + +func (x *Unk2700_GPPKNKGDCHJ) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_GPPKNKGDCHJ) GetUnk2700_LBIKFNBNEBC() []*ItemParam { + if x != nil { + return x.Unk2700_LBIKFNBNEBC + } + return nil +} + +var File_Unk2700_GPPKNKGDCHJ_proto protoreflect.FileDescriptor + +var file_Unk2700_GPPKNKGDCHJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x50, 0x4b, 0x4e, 0x4b, + 0x47, 0x44, 0x43, 0x48, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x50, 0x4b, 0x4e, 0x4b, 0x47, + 0x44, 0x43, 0x48, 0x4a, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4d, 0x4e, 0x50, 0x47, 0x4a, 0x4f, 0x41, 0x48, 0x49, 0x4e, 0x43, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4e, 0x50, 0x47, 0x4a, 0x4f, 0x41, 0x48, 0x49, 0x4e, + 0x43, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x42, 0x49, 0x4b, 0x46, 0x4e, 0x42, 0x4e, 0x45, 0x42, 0x43, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x42, 0x49, 0x4b, 0x46, 0x4e, 0x42, 0x4e, 0x45, 0x42, 0x43, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_GPPKNKGDCHJ_proto_rawDescOnce sync.Once + file_Unk2700_GPPKNKGDCHJ_proto_rawDescData = file_Unk2700_GPPKNKGDCHJ_proto_rawDesc +) + +func file_Unk2700_GPPKNKGDCHJ_proto_rawDescGZIP() []byte { + file_Unk2700_GPPKNKGDCHJ_proto_rawDescOnce.Do(func() { + file_Unk2700_GPPKNKGDCHJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_GPPKNKGDCHJ_proto_rawDescData) + }) + return file_Unk2700_GPPKNKGDCHJ_proto_rawDescData +} + +var file_Unk2700_GPPKNKGDCHJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_GPPKNKGDCHJ_proto_goTypes = []interface{}{ + (*Unk2700_GPPKNKGDCHJ)(nil), // 0: Unk2700_GPPKNKGDCHJ + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_GPPKNKGDCHJ_proto_depIdxs = []int32{ + 1, // 0: Unk2700_GPPKNKGDCHJ.Unk2700_MNPGJOAHINC:type_name -> ItemParam + 1, // 1: Unk2700_GPPKNKGDCHJ.Unk2700_LBIKFNBNEBC:type_name -> ItemParam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_GPPKNKGDCHJ_proto_init() } +func file_Unk2700_GPPKNKGDCHJ_proto_init() { + if File_Unk2700_GPPKNKGDCHJ_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_GPPKNKGDCHJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_GPPKNKGDCHJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_GPPKNKGDCHJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_GPPKNKGDCHJ_proto_goTypes, + DependencyIndexes: file_Unk2700_GPPKNKGDCHJ_proto_depIdxs, + MessageInfos: file_Unk2700_GPPKNKGDCHJ_proto_msgTypes, + }.Build() + File_Unk2700_GPPKNKGDCHJ_proto = out.File + file_Unk2700_GPPKNKGDCHJ_proto_rawDesc = nil + file_Unk2700_GPPKNKGDCHJ_proto_goTypes = nil + file_Unk2700_GPPKNKGDCHJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.proto b/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.proto new file mode 100644 index 00000000..3f45adc8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_GPPKNKGDCHJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message Unk2700_GPPKNKGDCHJ { + repeated ItemParam Unk2700_MNPGJOAHINC = 2; + uint32 uid = 6; + repeated ItemParam Unk2700_LBIKFNBNEBC = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.pb.go b/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.pb.go new file mode 100644 index 00000000..5b317cd5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HBLAGOMHKPL_ClientRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 137 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HBLAGOMHKPL_ClientRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_HBLAGOMHKPL_ClientRsp) Reset() { + *x = Unk2700_HBLAGOMHKPL_ClientRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HBLAGOMHKPL_ClientRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HBLAGOMHKPL_ClientRsp) ProtoMessage() {} + +func (x *Unk2700_HBLAGOMHKPL_ClientRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HBLAGOMHKPL_ClientRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_HBLAGOMHKPL_ClientRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HBLAGOMHKPL_ClientRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_HBLAGOMHKPL_ClientRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x42, 0x4c, 0x41, 0x47, 0x4f, + 0x4d, 0x48, 0x4b, 0x50, 0x4c, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x42, 0x4c, 0x41, 0x47, 0x4f, 0x4d, 0x48, 0x4b, 0x50, 0x4c, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescOnce sync.Once + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescData = file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDesc +) + +func file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescGZIP() []byte { + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescData) + }) + return file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDescData +} + +var file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_goTypes = []interface{}{ + (*Unk2700_HBLAGOMHKPL_ClientRsp)(nil), // 0: Unk2700_HBLAGOMHKPL_ClientRsp +} +var file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_init() } +func file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_init() { + if File_Unk2700_HBLAGOMHKPL_ClientRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HBLAGOMHKPL_ClientRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_depIdxs, + MessageInfos: file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_msgTypes, + }.Build() + File_Unk2700_HBLAGOMHKPL_ClientRsp_proto = out.File + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_rawDesc = nil + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_goTypes = nil + file_Unk2700_HBLAGOMHKPL_ClientRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.proto b/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.proto new file mode 100644 index 00000000..57505fda --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HBLAGOMHKPL_ClientRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 137 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HBLAGOMHKPL_ClientRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.pb.go new file mode 100644 index 00000000..d11c46d3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HBOFACHAGIF_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 9072 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HBOFACHAGIF_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MEANPNKMDFG map[uint32]*Unk2700_EKDHFFHMNCD `protobuf:"bytes,2,rep,name=Unk2700_MEANPNKMDFG,json=Unk2700MEANPNKMDFG,proto3" json:"Unk2700_MEANPNKMDFG,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Unk2700_HBOFACHAGIF_ServerNotify) Reset() { + *x = Unk2700_HBOFACHAGIF_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HBOFACHAGIF_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HBOFACHAGIF_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HBOFACHAGIF_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_HBOFACHAGIF_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HBOFACHAGIF_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HBOFACHAGIF_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_HBOFACHAGIF_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HBOFACHAGIF_ServerNotify) GetUnk2700_MEANPNKMDFG() map[uint32]*Unk2700_EKDHFFHMNCD { + if x != nil { + return x.Unk2700_MEANPNKMDFG + } + return nil +} + +var File_Unk2700_HBOFACHAGIF_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x42, 0x4f, 0x46, 0x41, 0x43, + 0x48, 0x41, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x45, 0x4b, 0x44, 0x48, 0x46, 0x46, 0x48, 0x4d, 0x4e, 0x43, 0x44, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x42, 0x4f, 0x46, 0x41, 0x43, 0x48, 0x41, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x6a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x41, 0x4e, 0x50, 0x4e, 0x4b, 0x4d, 0x44, 0x46, 0x47, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x42, 0x4f, 0x46, 0x41, 0x43, 0x48, 0x41, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4d, 0x45, 0x41, 0x4e, 0x50, 0x4e, 0x4b, 0x4d, 0x44, 0x46, 0x47, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x45, 0x41, 0x4e, 0x50, 0x4e, 0x4b, + 0x4d, 0x44, 0x46, 0x47, 0x1a, 0x5b, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, + 0x45, 0x41, 0x4e, 0x50, 0x4e, 0x4b, 0x4d, 0x44, 0x46, 0x47, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x44, 0x48, 0x46, + 0x46, 0x48, 0x4d, 0x4e, 0x43, 0x44, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescData = file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDesc +) + +func file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDescData +} + +var file_Unk2700_HBOFACHAGIF_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_HBOFACHAGIF_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_HBOFACHAGIF_ServerNotify)(nil), // 0: Unk2700_HBOFACHAGIF_ServerNotify + nil, // 1: Unk2700_HBOFACHAGIF_ServerNotify.Unk2700MEANPNKMDFGEntry + (*Unk2700_EKDHFFHMNCD)(nil), // 2: Unk2700_EKDHFFHMNCD +} +var file_Unk2700_HBOFACHAGIF_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HBOFACHAGIF_ServerNotify.Unk2700_MEANPNKMDFG:type_name -> Unk2700_HBOFACHAGIF_ServerNotify.Unk2700MEANPNKMDFGEntry + 2, // 1: Unk2700_HBOFACHAGIF_ServerNotify.Unk2700MEANPNKMDFGEntry.value:type_name -> Unk2700_EKDHFFHMNCD + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_HBOFACHAGIF_ServerNotify_proto_init() } +func file_Unk2700_HBOFACHAGIF_ServerNotify_proto_init() { + if File_Unk2700_HBOFACHAGIF_ServerNotify_proto != nil { + return + } + file_Unk2700_EKDHFFHMNCD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HBOFACHAGIF_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HBOFACHAGIF_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_HBOFACHAGIF_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_HBOFACHAGIF_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_HBOFACHAGIF_ServerNotify_proto = out.File + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_rawDesc = nil + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_goTypes = nil + file_Unk2700_HBOFACHAGIF_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.proto new file mode 100644 index 00000000..59bad0ed --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HBOFACHAGIF_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EKDHFFHMNCD.proto"; + +option go_package = "./;proto"; + +// CmdId: 9072 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HBOFACHAGIF_ServerNotify { + map Unk2700_MEANPNKMDFG = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.pb.go new file mode 100644 index 00000000..e56521e2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HDBFJJOBIAP_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HDBFJJOBIAP_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,7,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,10,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` +} + +func (x *Unk2700_HDBFJJOBIAP_ClientReq) Reset() { + *x = Unk2700_HDBFJJOBIAP_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HDBFJJOBIAP_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HDBFJJOBIAP_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HDBFJJOBIAP_ClientReq) ProtoMessage() {} + +func (x *Unk2700_HDBFJJOBIAP_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HDBFJJOBIAP_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HDBFJJOBIAP_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_HDBFJJOBIAP_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HDBFJJOBIAP_ClientReq) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_HDBFJJOBIAP_ClientReq) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +var File_Unk2700_HDBFJJOBIAP_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x42, 0x46, 0x4a, 0x4a, + 0x4f, 0x42, 0x49, 0x41, 0x50, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x97, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x42, + 0x46, 0x4a, 0x4a, 0x4f, 0x42, 0x49, 0x41, 0x50, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, + 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, + 0x48, 0x43, 0x44, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, + 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, + 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescData = file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDesc +) + +func file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescData) + }) + return file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDescData +} + +var file_Unk2700_HDBFJJOBIAP_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HDBFJJOBIAP_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_HDBFJJOBIAP_ClientReq)(nil), // 0: Unk2700_HDBFJJOBIAP_ClientReq + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_HDBFJJOBIAP_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HDBFJJOBIAP_ClientReq.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HDBFJJOBIAP_ClientReq_proto_init() } +func file_Unk2700_HDBFJJOBIAP_ClientReq_proto_init() { + if File_Unk2700_HDBFJJOBIAP_ClientReq_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HDBFJJOBIAP_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HDBFJJOBIAP_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_HDBFJJOBIAP_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_HDBFJJOBIAP_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_HDBFJJOBIAP_ClientReq_proto = out.File + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_rawDesc = nil + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_goTypes = nil + file_Unk2700_HDBFJJOBIAP_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.proto new file mode 100644 index 00000000..5551551a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HDBFJJOBIAP_ClientReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HDBFJJOBIAP_ClientReq { + uint64 Unk2700_CEPGMKAHHCD = 7; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.pb.go b/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.pb.go new file mode 100644 index 00000000..ef3e5be8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HEMFKLPNNOM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HEMFKLPNNOM int32 + +const ( + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_ODJKANKMPPJ Unk2700_HEMFKLPNNOM = 0 + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_EFGLHEIODFN Unk2700_HEMFKLPNNOM = 1 + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_JPBBBCFGHAK Unk2700_HEMFKLPNNOM = 2 + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_IDCMGHBHBFH Unk2700_HEMFKLPNNOM = 3 + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_ODDBNNDFMBO Unk2700_HEMFKLPNNOM = 4 + Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_AGIDMOGJOBD Unk2700_HEMFKLPNNOM = 5 +) + +// Enum value maps for Unk2700_HEMFKLPNNOM. +var ( + Unk2700_HEMFKLPNNOM_name = map[int32]string{ + 0: "Unk2700_HEMFKLPNNOM_Unk2700_ODJKANKMPPJ", + 1: "Unk2700_HEMFKLPNNOM_Unk2700_EFGLHEIODFN", + 2: "Unk2700_HEMFKLPNNOM_Unk2700_JPBBBCFGHAK", + 3: "Unk2700_HEMFKLPNNOM_Unk2700_IDCMGHBHBFH", + 4: "Unk2700_HEMFKLPNNOM_Unk2700_ODDBNNDFMBO", + 5: "Unk2700_HEMFKLPNNOM_Unk2700_AGIDMOGJOBD", + } + Unk2700_HEMFKLPNNOM_value = map[string]int32{ + "Unk2700_HEMFKLPNNOM_Unk2700_ODJKANKMPPJ": 0, + "Unk2700_HEMFKLPNNOM_Unk2700_EFGLHEIODFN": 1, + "Unk2700_HEMFKLPNNOM_Unk2700_JPBBBCFGHAK": 2, + "Unk2700_HEMFKLPNNOM_Unk2700_IDCMGHBHBFH": 3, + "Unk2700_HEMFKLPNNOM_Unk2700_ODDBNNDFMBO": 4, + "Unk2700_HEMFKLPNNOM_Unk2700_AGIDMOGJOBD": 5, + } +) + +func (x Unk2700_HEMFKLPNNOM) Enum() *Unk2700_HEMFKLPNNOM { + p := new(Unk2700_HEMFKLPNNOM) + *p = x + return p +} + +func (x Unk2700_HEMFKLPNNOM) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_HEMFKLPNNOM) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_HEMFKLPNNOM_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_HEMFKLPNNOM) Type() protoreflect.EnumType { + return &file_Unk2700_HEMFKLPNNOM_proto_enumTypes[0] +} + +func (x Unk2700_HEMFKLPNNOM) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_HEMFKLPNNOM.Descriptor instead. +func (Unk2700_HEMFKLPNNOM) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_HEMFKLPNNOM_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_HEMFKLPNNOM_proto protoreflect.FileDescriptor + +var file_Unk2700_HEMFKLPNNOM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, + 0x50, 0x4e, 0x4e, 0x4f, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xa3, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, + 0x4e, 0x4f, 0x4d, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, + 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x4a, 0x4b, 0x41, 0x4e, 0x4b, 0x4d, 0x50, 0x50, 0x4a, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, + 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x45, 0x46, 0x47, 0x4c, 0x48, 0x45, 0x49, 0x4f, 0x44, 0x46, 0x4e, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, + 0x4e, 0x4e, 0x4f, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x42, + 0x42, 0x42, 0x43, 0x46, 0x47, 0x48, 0x41, 0x4b, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, + 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x43, 0x4d, 0x47, 0x48, + 0x42, 0x48, 0x42, 0x46, 0x48, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, 0x4d, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x44, 0x42, 0x4e, 0x4e, 0x44, 0x46, 0x4d, + 0x42, 0x4f, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4d, 0x4f, 0x47, 0x4a, 0x4f, 0x42, 0x44, 0x10, + 0x05, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HEMFKLPNNOM_proto_rawDescOnce sync.Once + file_Unk2700_HEMFKLPNNOM_proto_rawDescData = file_Unk2700_HEMFKLPNNOM_proto_rawDesc +) + +func file_Unk2700_HEMFKLPNNOM_proto_rawDescGZIP() []byte { + file_Unk2700_HEMFKLPNNOM_proto_rawDescOnce.Do(func() { + file_Unk2700_HEMFKLPNNOM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HEMFKLPNNOM_proto_rawDescData) + }) + return file_Unk2700_HEMFKLPNNOM_proto_rawDescData +} + +var file_Unk2700_HEMFKLPNNOM_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_HEMFKLPNNOM_proto_goTypes = []interface{}{ + (Unk2700_HEMFKLPNNOM)(0), // 0: Unk2700_HEMFKLPNNOM +} +var file_Unk2700_HEMFKLPNNOM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HEMFKLPNNOM_proto_init() } +func file_Unk2700_HEMFKLPNNOM_proto_init() { + if File_Unk2700_HEMFKLPNNOM_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HEMFKLPNNOM_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HEMFKLPNNOM_proto_goTypes, + DependencyIndexes: file_Unk2700_HEMFKLPNNOM_proto_depIdxs, + EnumInfos: file_Unk2700_HEMFKLPNNOM_proto_enumTypes, + }.Build() + File_Unk2700_HEMFKLPNNOM_proto = out.File + file_Unk2700_HEMFKLPNNOM_proto_rawDesc = nil + file_Unk2700_HEMFKLPNNOM_proto_goTypes = nil + file_Unk2700_HEMFKLPNNOM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.proto b/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.proto new file mode 100644 index 00000000..5cbd1e2f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HEMFKLPNNOM.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_HEMFKLPNNOM { + Unk2700_HEMFKLPNNOM_Unk2700_ODJKANKMPPJ = 0; + Unk2700_HEMFKLPNNOM_Unk2700_EFGLHEIODFN = 1; + Unk2700_HEMFKLPNNOM_Unk2700_JPBBBCFGHAK = 2; + Unk2700_HEMFKLPNNOM_Unk2700_IDCMGHBHBFH = 3; + Unk2700_HEMFKLPNNOM_Unk2700_ODDBNNDFMBO = 4; + Unk2700_HEMFKLPNNOM_Unk2700_AGIDMOGJOBD = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.pb.go b/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.pb.go new file mode 100644 index 00000000..897ecf8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HENCIJOPCIF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HENCIJOPCIF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EMIELBMCCPF uint32 `protobuf:"varint,14,opt,name=Unk2700_EMIELBMCCPF,json=Unk2700EMIELBMCCPF,proto3" json:"Unk2700_EMIELBMCCPF,omitempty"` + RewardItemList []*ItemParam `protobuf:"bytes,5,rep,name=reward_item_list,json=rewardItemList,proto3" json:"reward_item_list,omitempty"` +} + +func (x *Unk2700_HENCIJOPCIF) Reset() { + *x = Unk2700_HENCIJOPCIF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HENCIJOPCIF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HENCIJOPCIF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HENCIJOPCIF) ProtoMessage() {} + +func (x *Unk2700_HENCIJOPCIF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HENCIJOPCIF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HENCIJOPCIF.ProtoReflect.Descriptor instead. +func (*Unk2700_HENCIJOPCIF) Descriptor() ([]byte, []int) { + return file_Unk2700_HENCIJOPCIF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HENCIJOPCIF) GetUnk2700_EMIELBMCCPF() uint32 { + if x != nil { + return x.Unk2700_EMIELBMCCPF + } + return 0 +} + +func (x *Unk2700_HENCIJOPCIF) GetRewardItemList() []*ItemParam { + if x != nil { + return x.RewardItemList + } + return nil +} + +var File_Unk2700_HENCIJOPCIF_proto protoreflect.FileDescriptor + +var file_Unk2700_HENCIJOPCIF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4e, 0x43, 0x49, 0x4a, + 0x4f, 0x50, 0x43, 0x49, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4e, 0x43, 0x49, 0x4a, 0x4f, 0x50, + 0x43, 0x49, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x4d, 0x49, 0x45, 0x4c, 0x42, 0x4d, 0x43, 0x43, 0x50, 0x46, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4d, 0x49, 0x45, 0x4c, 0x42, 0x4d, + 0x43, 0x43, 0x50, 0x46, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HENCIJOPCIF_proto_rawDescOnce sync.Once + file_Unk2700_HENCIJOPCIF_proto_rawDescData = file_Unk2700_HENCIJOPCIF_proto_rawDesc +) + +func file_Unk2700_HENCIJOPCIF_proto_rawDescGZIP() []byte { + file_Unk2700_HENCIJOPCIF_proto_rawDescOnce.Do(func() { + file_Unk2700_HENCIJOPCIF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HENCIJOPCIF_proto_rawDescData) + }) + return file_Unk2700_HENCIJOPCIF_proto_rawDescData +} + +var file_Unk2700_HENCIJOPCIF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HENCIJOPCIF_proto_goTypes = []interface{}{ + (*Unk2700_HENCIJOPCIF)(nil), // 0: Unk2700_HENCIJOPCIF + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_HENCIJOPCIF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HENCIJOPCIF.reward_item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HENCIJOPCIF_proto_init() } +func file_Unk2700_HENCIJOPCIF_proto_init() { + if File_Unk2700_HENCIJOPCIF_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HENCIJOPCIF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HENCIJOPCIF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HENCIJOPCIF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HENCIJOPCIF_proto_goTypes, + DependencyIndexes: file_Unk2700_HENCIJOPCIF_proto_depIdxs, + MessageInfos: file_Unk2700_HENCIJOPCIF_proto_msgTypes, + }.Build() + File_Unk2700_HENCIJOPCIF_proto = out.File + file_Unk2700_HENCIJOPCIF_proto_rawDesc = nil + file_Unk2700_HENCIJOPCIF_proto_goTypes = nil + file_Unk2700_HENCIJOPCIF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.proto b/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.proto new file mode 100644 index 00000000..b99e88ca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HENCIJOPCIF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message Unk2700_HENCIJOPCIF { + uint32 Unk2700_EMIELBMCCPF = 14; + repeated ItemParam reward_item_list = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.pb.go b/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.pb.go new file mode 100644 index 00000000..40b6a295 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HFCDIGNAAPJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HFCDIGNAAPJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OBDGPNILPND uint32 `protobuf:"varint,9,opt,name=Unk2700_OBDGPNILPND,json=Unk2700OBDGPNILPND,proto3" json:"Unk2700_OBDGPNILPND,omitempty"` + Unk2700_KKHAKNLGBLJ uint32 `protobuf:"varint,13,opt,name=Unk2700_KKHAKNLGBLJ,json=Unk2700KKHAKNLGBLJ,proto3" json:"Unk2700_KKHAKNLGBLJ,omitempty"` +} + +func (x *Unk2700_HFCDIGNAAPJ) Reset() { + *x = Unk2700_HFCDIGNAAPJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HFCDIGNAAPJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HFCDIGNAAPJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HFCDIGNAAPJ) ProtoMessage() {} + +func (x *Unk2700_HFCDIGNAAPJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HFCDIGNAAPJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HFCDIGNAAPJ.ProtoReflect.Descriptor instead. +func (*Unk2700_HFCDIGNAAPJ) Descriptor() ([]byte, []int) { + return file_Unk2700_HFCDIGNAAPJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HFCDIGNAAPJ) GetUnk2700_OBDGPNILPND() uint32 { + if x != nil { + return x.Unk2700_OBDGPNILPND + } + return 0 +} + +func (x *Unk2700_HFCDIGNAAPJ) GetUnk2700_KKHAKNLGBLJ() uint32 { + if x != nil { + return x.Unk2700_KKHAKNLGBLJ + } + return 0 +} + +var File_Unk2700_HFCDIGNAAPJ_proto protoreflect.FileDescriptor + +var file_Unk2700_HFCDIGNAAPJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x43, 0x44, 0x49, 0x47, + 0x4e, 0x41, 0x41, 0x50, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x43, 0x44, 0x49, 0x47, 0x4e, 0x41, 0x41, + 0x50, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, + 0x44, 0x47, 0x50, 0x4e, 0x49, 0x4c, 0x50, 0x4e, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x42, 0x44, 0x47, 0x50, 0x4e, 0x49, 0x4c, + 0x50, 0x4e, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x4b, 0x48, 0x41, 0x4b, 0x4e, 0x4c, 0x47, 0x42, 0x4c, 0x4a, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4b, 0x48, 0x41, 0x4b, 0x4e, 0x4c, + 0x47, 0x42, 0x4c, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HFCDIGNAAPJ_proto_rawDescOnce sync.Once + file_Unk2700_HFCDIGNAAPJ_proto_rawDescData = file_Unk2700_HFCDIGNAAPJ_proto_rawDesc +) + +func file_Unk2700_HFCDIGNAAPJ_proto_rawDescGZIP() []byte { + file_Unk2700_HFCDIGNAAPJ_proto_rawDescOnce.Do(func() { + file_Unk2700_HFCDIGNAAPJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HFCDIGNAAPJ_proto_rawDescData) + }) + return file_Unk2700_HFCDIGNAAPJ_proto_rawDescData +} + +var file_Unk2700_HFCDIGNAAPJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HFCDIGNAAPJ_proto_goTypes = []interface{}{ + (*Unk2700_HFCDIGNAAPJ)(nil), // 0: Unk2700_HFCDIGNAAPJ +} +var file_Unk2700_HFCDIGNAAPJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HFCDIGNAAPJ_proto_init() } +func file_Unk2700_HFCDIGNAAPJ_proto_init() { + if File_Unk2700_HFCDIGNAAPJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HFCDIGNAAPJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HFCDIGNAAPJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HFCDIGNAAPJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HFCDIGNAAPJ_proto_goTypes, + DependencyIndexes: file_Unk2700_HFCDIGNAAPJ_proto_depIdxs, + MessageInfos: file_Unk2700_HFCDIGNAAPJ_proto_msgTypes, + }.Build() + File_Unk2700_HFCDIGNAAPJ_proto = out.File + file_Unk2700_HFCDIGNAAPJ_proto_rawDesc = nil + file_Unk2700_HFCDIGNAAPJ_proto_goTypes = nil + file_Unk2700_HFCDIGNAAPJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.proto b/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.proto new file mode 100644 index 00000000..60697446 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFCDIGNAAPJ.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8129 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HFCDIGNAAPJ { + uint32 Unk2700_OBDGPNILPND = 9; + uint32 Unk2700_KKHAKNLGBLJ = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.pb.go b/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.pb.go new file mode 100644 index 00000000..e9b44dd1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HFMDKDHCJCM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HFMDKDHCJCM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CMOMNFNGCGB *Vector `protobuf:"bytes,1,opt,name=Unk2700_CMOMNFNGCGB,json=Unk2700CMOMNFNGCGB,proto3" json:"Unk2700_CMOMNFNGCGB,omitempty"` +} + +func (x *Unk2700_HFMDKDHCJCM) Reset() { + *x = Unk2700_HFMDKDHCJCM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HFMDKDHCJCM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HFMDKDHCJCM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HFMDKDHCJCM) ProtoMessage() {} + +func (x *Unk2700_HFMDKDHCJCM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HFMDKDHCJCM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HFMDKDHCJCM.ProtoReflect.Descriptor instead. +func (*Unk2700_HFMDKDHCJCM) Descriptor() ([]byte, []int) { + return file_Unk2700_HFMDKDHCJCM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HFMDKDHCJCM) GetUnk2700_CMOMNFNGCGB() *Vector { + if x != nil { + return x.Unk2700_CMOMNFNGCGB + } + return nil +} + +var File_Unk2700_HFMDKDHCJCM_proto protoreflect.FileDescriptor + +var file_Unk2700_HFMDKDHCJCM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x4d, 0x44, 0x4b, 0x44, + 0x48, 0x43, 0x4a, 0x43, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x4d, 0x44, 0x4b, 0x44, 0x48, 0x43, 0x4a, 0x43, 0x4d, + 0x12, 0x38, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4f, 0x4d, + 0x4e, 0x46, 0x4e, 0x47, 0x43, 0x47, 0x42, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, + 0x4d, 0x4f, 0x4d, 0x4e, 0x46, 0x4e, 0x47, 0x43, 0x47, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HFMDKDHCJCM_proto_rawDescOnce sync.Once + file_Unk2700_HFMDKDHCJCM_proto_rawDescData = file_Unk2700_HFMDKDHCJCM_proto_rawDesc +) + +func file_Unk2700_HFMDKDHCJCM_proto_rawDescGZIP() []byte { + file_Unk2700_HFMDKDHCJCM_proto_rawDescOnce.Do(func() { + file_Unk2700_HFMDKDHCJCM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HFMDKDHCJCM_proto_rawDescData) + }) + return file_Unk2700_HFMDKDHCJCM_proto_rawDescData +} + +var file_Unk2700_HFMDKDHCJCM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HFMDKDHCJCM_proto_goTypes = []interface{}{ + (*Unk2700_HFMDKDHCJCM)(nil), // 0: Unk2700_HFMDKDHCJCM + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_HFMDKDHCJCM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HFMDKDHCJCM.Unk2700_CMOMNFNGCGB:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HFMDKDHCJCM_proto_init() } +func file_Unk2700_HFMDKDHCJCM_proto_init() { + if File_Unk2700_HFMDKDHCJCM_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HFMDKDHCJCM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HFMDKDHCJCM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HFMDKDHCJCM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HFMDKDHCJCM_proto_goTypes, + DependencyIndexes: file_Unk2700_HFMDKDHCJCM_proto_depIdxs, + MessageInfos: file_Unk2700_HFMDKDHCJCM_proto_msgTypes, + }.Build() + File_Unk2700_HFMDKDHCJCM_proto = out.File + file_Unk2700_HFMDKDHCJCM_proto_rawDesc = nil + file_Unk2700_HFMDKDHCJCM_proto_goTypes = nil + file_Unk2700_HFMDKDHCJCM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.proto b/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.proto new file mode 100644 index 00000000..a2c856a7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFMDKDHCJCM.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_HFMDKDHCJCM { + Vector Unk2700_CMOMNFNGCGB = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.pb.go b/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.pb.go new file mode 100644 index 00000000..1e20cbb4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HFPELHFDCIB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HFPELHFDCIB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_CMOMNFNGCGB *Vector `protobuf:"bytes,13,opt,name=Unk2700_CMOMNFNGCGB,json=Unk2700CMOMNFNGCGB,proto3" json:"Unk2700_CMOMNFNGCGB,omitempty"` +} + +func (x *Unk2700_HFPELHFDCIB) Reset() { + *x = Unk2700_HFPELHFDCIB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HFPELHFDCIB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HFPELHFDCIB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HFPELHFDCIB) ProtoMessage() {} + +func (x *Unk2700_HFPELHFDCIB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HFPELHFDCIB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HFPELHFDCIB.ProtoReflect.Descriptor instead. +func (*Unk2700_HFPELHFDCIB) Descriptor() ([]byte, []int) { + return file_Unk2700_HFPELHFDCIB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HFPELHFDCIB) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk2700_HFPELHFDCIB) GetUnk2700_CMOMNFNGCGB() *Vector { + if x != nil { + return x.Unk2700_CMOMNFNGCGB + } + return nil +} + +var File_Unk2700_HFPELHFDCIB_proto protoreflect.FileDescriptor + +var file_Unk2700_HFPELHFDCIB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x50, 0x45, 0x4c, 0x48, + 0x46, 0x44, 0x43, 0x49, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x46, 0x50, 0x45, 0x4c, 0x48, 0x46, 0x44, 0x43, 0x49, 0x42, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x38, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4f, 0x4d, 0x4e, 0x46, 0x4e, + 0x47, 0x43, 0x47, 0x42, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4d, 0x4f, 0x4d, + 0x4e, 0x46, 0x4e, 0x47, 0x43, 0x47, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HFPELHFDCIB_proto_rawDescOnce sync.Once + file_Unk2700_HFPELHFDCIB_proto_rawDescData = file_Unk2700_HFPELHFDCIB_proto_rawDesc +) + +func file_Unk2700_HFPELHFDCIB_proto_rawDescGZIP() []byte { + file_Unk2700_HFPELHFDCIB_proto_rawDescOnce.Do(func() { + file_Unk2700_HFPELHFDCIB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HFPELHFDCIB_proto_rawDescData) + }) + return file_Unk2700_HFPELHFDCIB_proto_rawDescData +} + +var file_Unk2700_HFPELHFDCIB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HFPELHFDCIB_proto_goTypes = []interface{}{ + (*Unk2700_HFPELHFDCIB)(nil), // 0: Unk2700_HFPELHFDCIB + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_HFPELHFDCIB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HFPELHFDCIB.Unk2700_CMOMNFNGCGB:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HFPELHFDCIB_proto_init() } +func file_Unk2700_HFPELHFDCIB_proto_init() { + if File_Unk2700_HFPELHFDCIB_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HFPELHFDCIB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HFPELHFDCIB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HFPELHFDCIB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HFPELHFDCIB_proto_goTypes, + DependencyIndexes: file_Unk2700_HFPELHFDCIB_proto_depIdxs, + MessageInfos: file_Unk2700_HFPELHFDCIB_proto_msgTypes, + }.Build() + File_Unk2700_HFPELHFDCIB_proto = out.File + file_Unk2700_HFPELHFDCIB_proto_rawDesc = nil + file_Unk2700_HFPELHFDCIB_proto_goTypes = nil + file_Unk2700_HFPELHFDCIB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.proto b/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.proto new file mode 100644 index 00000000..660471fb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HFPELHFDCIB.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_HFPELHFDCIB { + uint32 entity_id = 2; + Vector Unk2700_CMOMNFNGCGB = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.pb.go b/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.pb.go new file mode 100644 index 00000000..fed827ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HGFFGMCODNC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HGFFGMCODNC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + GadgetId uint32 `protobuf:"varint,7,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + Pos *Vector `protobuf:"bytes,8,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *Unk2700_HGFFGMCODNC) Reset() { + *x = Unk2700_HGFFGMCODNC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HGFFGMCODNC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HGFFGMCODNC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HGFFGMCODNC) ProtoMessage() {} + +func (x *Unk2700_HGFFGMCODNC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HGFFGMCODNC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HGFFGMCODNC.ProtoReflect.Descriptor instead. +func (*Unk2700_HGFFGMCODNC) Descriptor() ([]byte, []int) { + return file_Unk2700_HGFFGMCODNC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HGFFGMCODNC) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk2700_HGFFGMCODNC) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *Unk2700_HGFFGMCODNC) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_Unk2700_HGFFGMCODNC_proto protoreflect.FileDescriptor + +var file_Unk2700_HGFFGMCODNC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x46, 0x46, 0x47, 0x4d, + 0x43, 0x4f, 0x44, 0x4e, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x46, 0x46, 0x47, 0x4d, 0x43, 0x4f, 0x44, 0x4e, 0x43, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, + 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HGFFGMCODNC_proto_rawDescOnce sync.Once + file_Unk2700_HGFFGMCODNC_proto_rawDescData = file_Unk2700_HGFFGMCODNC_proto_rawDesc +) + +func file_Unk2700_HGFFGMCODNC_proto_rawDescGZIP() []byte { + file_Unk2700_HGFFGMCODNC_proto_rawDescOnce.Do(func() { + file_Unk2700_HGFFGMCODNC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HGFFGMCODNC_proto_rawDescData) + }) + return file_Unk2700_HGFFGMCODNC_proto_rawDescData +} + +var file_Unk2700_HGFFGMCODNC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HGFFGMCODNC_proto_goTypes = []interface{}{ + (*Unk2700_HGFFGMCODNC)(nil), // 0: Unk2700_HGFFGMCODNC + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_HGFFGMCODNC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HGFFGMCODNC.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HGFFGMCODNC_proto_init() } +func file_Unk2700_HGFFGMCODNC_proto_init() { + if File_Unk2700_HGFFGMCODNC_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HGFFGMCODNC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HGFFGMCODNC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HGFFGMCODNC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HGFFGMCODNC_proto_goTypes, + DependencyIndexes: file_Unk2700_HGFFGMCODNC_proto_depIdxs, + MessageInfos: file_Unk2700_HGFFGMCODNC_proto_msgTypes, + }.Build() + File_Unk2700_HGFFGMCODNC_proto = out.File + file_Unk2700_HGFFGMCODNC_proto_rawDesc = nil + file_Unk2700_HGFFGMCODNC_proto_goTypes = nil + file_Unk2700_HGFFGMCODNC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.proto b/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.proto new file mode 100644 index 00000000..e6530944 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGFFGMCODNC.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_HGFFGMCODNC { + uint32 group_id = 4; + uint32 gadget_id = 7; + Vector pos = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.pb.go b/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.pb.go new file mode 100644 index 00000000..9cce3a06 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HGMCBHFFDLJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8826 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HGMCBHFFDLJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_HGMCBHFFDLJ) Reset() { + *x = Unk2700_HGMCBHFFDLJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HGMCBHFFDLJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HGMCBHFFDLJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HGMCBHFFDLJ) ProtoMessage() {} + +func (x *Unk2700_HGMCBHFFDLJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HGMCBHFFDLJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HGMCBHFFDLJ.ProtoReflect.Descriptor instead. +func (*Unk2700_HGMCBHFFDLJ) Descriptor() ([]byte, []int) { + return file_Unk2700_HGMCBHFFDLJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_HGMCBHFFDLJ_proto protoreflect.FileDescriptor + +var file_Unk2700_HGMCBHFFDLJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x42, 0x48, + 0x46, 0x46, 0x44, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x42, 0x48, 0x46, 0x46, 0x44, + 0x4c, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HGMCBHFFDLJ_proto_rawDescOnce sync.Once + file_Unk2700_HGMCBHFFDLJ_proto_rawDescData = file_Unk2700_HGMCBHFFDLJ_proto_rawDesc +) + +func file_Unk2700_HGMCBHFFDLJ_proto_rawDescGZIP() []byte { + file_Unk2700_HGMCBHFFDLJ_proto_rawDescOnce.Do(func() { + file_Unk2700_HGMCBHFFDLJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HGMCBHFFDLJ_proto_rawDescData) + }) + return file_Unk2700_HGMCBHFFDLJ_proto_rawDescData +} + +var file_Unk2700_HGMCBHFFDLJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HGMCBHFFDLJ_proto_goTypes = []interface{}{ + (*Unk2700_HGMCBHFFDLJ)(nil), // 0: Unk2700_HGMCBHFFDLJ +} +var file_Unk2700_HGMCBHFFDLJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HGMCBHFFDLJ_proto_init() } +func file_Unk2700_HGMCBHFFDLJ_proto_init() { + if File_Unk2700_HGMCBHFFDLJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HGMCBHFFDLJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HGMCBHFFDLJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HGMCBHFFDLJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HGMCBHFFDLJ_proto_goTypes, + DependencyIndexes: file_Unk2700_HGMCBHFFDLJ_proto_depIdxs, + MessageInfos: file_Unk2700_HGMCBHFFDLJ_proto_msgTypes, + }.Build() + File_Unk2700_HGMCBHFFDLJ_proto = out.File + file_Unk2700_HGMCBHFFDLJ_proto_rawDesc = nil + file_Unk2700_HGMCBHFFDLJ_proto_goTypes = nil + file_Unk2700_HGMCBHFFDLJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.proto b/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.proto new file mode 100644 index 00000000..9f3b05b2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMCBHFFDLJ.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8826 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HGMCBHFFDLJ {} diff --git a/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.pb.go b/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.pb.go new file mode 100644 index 00000000..e70ff610 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.pb.go @@ -0,0 +1,147 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HGMCNJOPDAA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HGMCNJOPDAA int32 + +const ( + Unk2700_HGMCNJOPDAA_Unk2700_HGMCNJOPDAA_NONE Unk2700_HGMCNJOPDAA = 0 + Unk2700_HGMCNJOPDAA_Unk2700_HGMCNJOPDAA_Unk2700_COJANCPMOAI Unk2700_HGMCNJOPDAA = 1 +) + +// Enum value maps for Unk2700_HGMCNJOPDAA. +var ( + Unk2700_HGMCNJOPDAA_name = map[int32]string{ + 0: "Unk2700_HGMCNJOPDAA_NONE", + 1: "Unk2700_HGMCNJOPDAA_Unk2700_COJANCPMOAI", + } + Unk2700_HGMCNJOPDAA_value = map[string]int32{ + "Unk2700_HGMCNJOPDAA_NONE": 0, + "Unk2700_HGMCNJOPDAA_Unk2700_COJANCPMOAI": 1, + } +) + +func (x Unk2700_HGMCNJOPDAA) Enum() *Unk2700_HGMCNJOPDAA { + p := new(Unk2700_HGMCNJOPDAA) + *p = x + return p +} + +func (x Unk2700_HGMCNJOPDAA) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_HGMCNJOPDAA) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_HGMCNJOPDAA_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_HGMCNJOPDAA) Type() protoreflect.EnumType { + return &file_Unk2700_HGMCNJOPDAA_proto_enumTypes[0] +} + +func (x Unk2700_HGMCNJOPDAA) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_HGMCNJOPDAA.Descriptor instead. +func (Unk2700_HGMCNJOPDAA) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_HGMCNJOPDAA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_HGMCNJOPDAA_proto protoreflect.FileDescriptor + +var file_Unk2700_HGMCNJOPDAA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x4e, 0x4a, + 0x4f, 0x50, 0x44, 0x41, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x4e, 0x4a, 0x4f, 0x50, 0x44, + 0x41, 0x41, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, + 0x4d, 0x43, 0x4e, 0x4a, 0x4f, 0x50, 0x44, 0x41, 0x41, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, + 0x4e, 0x4a, 0x4f, 0x50, 0x44, 0x41, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x43, 0x4f, 0x4a, 0x41, 0x4e, 0x43, 0x50, 0x4d, 0x4f, 0x41, 0x49, 0x10, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_HGMCNJOPDAA_proto_rawDescOnce sync.Once + file_Unk2700_HGMCNJOPDAA_proto_rawDescData = file_Unk2700_HGMCNJOPDAA_proto_rawDesc +) + +func file_Unk2700_HGMCNJOPDAA_proto_rawDescGZIP() []byte { + file_Unk2700_HGMCNJOPDAA_proto_rawDescOnce.Do(func() { + file_Unk2700_HGMCNJOPDAA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HGMCNJOPDAA_proto_rawDescData) + }) + return file_Unk2700_HGMCNJOPDAA_proto_rawDescData +} + +var file_Unk2700_HGMCNJOPDAA_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_HGMCNJOPDAA_proto_goTypes = []interface{}{ + (Unk2700_HGMCNJOPDAA)(0), // 0: Unk2700_HGMCNJOPDAA +} +var file_Unk2700_HGMCNJOPDAA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HGMCNJOPDAA_proto_init() } +func file_Unk2700_HGMCNJOPDAA_proto_init() { + if File_Unk2700_HGMCNJOPDAA_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HGMCNJOPDAA_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HGMCNJOPDAA_proto_goTypes, + DependencyIndexes: file_Unk2700_HGMCNJOPDAA_proto_depIdxs, + EnumInfos: file_Unk2700_HGMCNJOPDAA_proto_enumTypes, + }.Build() + File_Unk2700_HGMCNJOPDAA_proto = out.File + file_Unk2700_HGMCNJOPDAA_proto_rawDesc = nil + file_Unk2700_HGMCNJOPDAA_proto_goTypes = nil + file_Unk2700_HGMCNJOPDAA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.proto b/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.proto new file mode 100644 index 00000000..a8f62f65 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMCNJOPDAA.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_HGMCNJOPDAA { + Unk2700_HGMCNJOPDAA_NONE = 0; + Unk2700_HGMCNJOPDAA_Unk2700_COJANCPMOAI = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.pb.go new file mode 100644 index 00000000..a3aba903 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HGMOIKODALP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6220 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HGMOIKODALP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,11,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_HGMOIKODALP_ServerRsp) Reset() { + *x = Unk2700_HGMOIKODALP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HGMOIKODALP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HGMOIKODALP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HGMOIKODALP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_HGMOIKODALP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HGMOIKODALP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HGMOIKODALP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_HGMOIKODALP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HGMOIKODALP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_HGMOIKODALP_ServerRsp) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_HGMOIKODALP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x4f, 0x49, 0x4b, + 0x4f, 0x44, 0x41, 0x4c, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x47, 0x4d, 0x4f, 0x49, 0x4b, 0x4f, 0x44, 0x41, 0x4c, 0x50, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, + 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, + 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescData = file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_HGMOIKODALP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HGMOIKODALP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_HGMOIKODALP_ServerRsp)(nil), // 0: Unk2700_HGMOIKODALP_ServerRsp +} +var file_Unk2700_HGMOIKODALP_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HGMOIKODALP_ServerRsp_proto_init() } +func file_Unk2700_HGMOIKODALP_ServerRsp_proto_init() { + if File_Unk2700_HGMOIKODALP_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HGMOIKODALP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HGMOIKODALP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HGMOIKODALP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_HGMOIKODALP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_HGMOIKODALP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_HGMOIKODALP_ServerRsp_proto = out.File + file_Unk2700_HGMOIKODALP_ServerRsp_proto_rawDesc = nil + file_Unk2700_HGMOIKODALP_ServerRsp_proto_goTypes = nil + file_Unk2700_HGMOIKODALP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.proto new file mode 100644 index 00000000..67c9f981 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HGMOIKODALP_ServerRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6220 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HGMOIKODALP_ServerRsp { + int32 retcode = 14; + uint64 Unk2700_ONOOJBEABOE = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.pb.go b/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.pb.go new file mode 100644 index 00000000..2de02701 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HHAMNOIDBPJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HHAMNOIDBPJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JFDNAOAAFMM float32 `protobuf:"fixed32,9,opt,name=Unk2700_JFDNAOAAFMM,json=Unk2700JFDNAOAAFMM,proto3" json:"Unk2700_JFDNAOAAFMM,omitempty"` +} + +func (x *Unk2700_HHAMNOIDBPJ) Reset() { + *x = Unk2700_HHAMNOIDBPJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HHAMNOIDBPJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HHAMNOIDBPJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HHAMNOIDBPJ) ProtoMessage() {} + +func (x *Unk2700_HHAMNOIDBPJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HHAMNOIDBPJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HHAMNOIDBPJ.ProtoReflect.Descriptor instead. +func (*Unk2700_HHAMNOIDBPJ) Descriptor() ([]byte, []int) { + return file_Unk2700_HHAMNOIDBPJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HHAMNOIDBPJ) GetUnk2700_JFDNAOAAFMM() float32 { + if x != nil { + return x.Unk2700_JFDNAOAAFMM + } + return 0 +} + +var File_Unk2700_HHAMNOIDBPJ_proto protoreflect.FileDescriptor + +var file_Unk2700_HHAMNOIDBPJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x41, 0x4d, 0x4e, 0x4f, + 0x49, 0x44, 0x42, 0x50, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x41, 0x4d, 0x4e, 0x4f, 0x49, 0x44, 0x42, + 0x50, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x46, + 0x44, 0x4e, 0x41, 0x4f, 0x41, 0x41, 0x46, 0x4d, 0x4d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x46, 0x44, 0x4e, 0x41, 0x4f, 0x41, 0x41, + 0x46, 0x4d, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HHAMNOIDBPJ_proto_rawDescOnce sync.Once + file_Unk2700_HHAMNOIDBPJ_proto_rawDescData = file_Unk2700_HHAMNOIDBPJ_proto_rawDesc +) + +func file_Unk2700_HHAMNOIDBPJ_proto_rawDescGZIP() []byte { + file_Unk2700_HHAMNOIDBPJ_proto_rawDescOnce.Do(func() { + file_Unk2700_HHAMNOIDBPJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HHAMNOIDBPJ_proto_rawDescData) + }) + return file_Unk2700_HHAMNOIDBPJ_proto_rawDescData +} + +var file_Unk2700_HHAMNOIDBPJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HHAMNOIDBPJ_proto_goTypes = []interface{}{ + (*Unk2700_HHAMNOIDBPJ)(nil), // 0: Unk2700_HHAMNOIDBPJ +} +var file_Unk2700_HHAMNOIDBPJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HHAMNOIDBPJ_proto_init() } +func file_Unk2700_HHAMNOIDBPJ_proto_init() { + if File_Unk2700_HHAMNOIDBPJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HHAMNOIDBPJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HHAMNOIDBPJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HHAMNOIDBPJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HHAMNOIDBPJ_proto_goTypes, + DependencyIndexes: file_Unk2700_HHAMNOIDBPJ_proto_depIdxs, + MessageInfos: file_Unk2700_HHAMNOIDBPJ_proto_msgTypes, + }.Build() + File_Unk2700_HHAMNOIDBPJ_proto = out.File + file_Unk2700_HHAMNOIDBPJ_proto_rawDesc = nil + file_Unk2700_HHAMNOIDBPJ_proto_goTypes = nil + file_Unk2700_HHAMNOIDBPJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.proto b/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.proto new file mode 100644 index 00000000..b0c4bcb8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HHAMNOIDBPJ.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_HHAMNOIDBPJ { + float Unk2700_JFDNAOAAFMM = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.pb.go new file mode 100644 index 00000000..1173d0e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.pb.go @@ -0,0 +1,216 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HHGMCHANCBJ_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6217 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HHGMCHANCBJ_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LGBODABIKLL Unk2700_KBBDJNLFAKD `protobuf:"varint,14,opt,name=Unk2700_LGBODABIKLL,json=Unk2700LGBODABIKLL,proto3,enum=Unk2700_KBBDJNLFAKD" json:"Unk2700_LGBODABIKLL,omitempty"` + Unk2700_NBAIINBBBPK Unk2700_ADGLMHECKKJ `protobuf:"varint,3,opt,name=Unk2700_NBAIINBBBPK,json=Unk2700NBAIINBBBPK,proto3,enum=Unk2700_ADGLMHECKKJ" json:"Unk2700_NBAIINBBBPK,omitempty"` + Unk2700_EJHNBDLLLFO *Unk2700_NLFDMMFNMIO `protobuf:"bytes,10,opt,name=Unk2700_EJHNBDLLLFO,json=Unk2700EJHNBDLLLFO,proto3" json:"Unk2700_EJHNBDLLLFO,omitempty"` + Unk2700_EIOPOPABBNC []uint32 `protobuf:"varint,12,rep,packed,name=Unk2700_EIOPOPABBNC,json=Unk2700EIOPOPABBNC,proto3" json:"Unk2700_EIOPOPABBNC,omitempty"` +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) Reset() { + *x = Unk2700_HHGMCHANCBJ_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HHGMCHANCBJ_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HHGMCHANCBJ_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_HHGMCHANCBJ_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) GetUnk2700_LGBODABIKLL() Unk2700_KBBDJNLFAKD { + if x != nil { + return x.Unk2700_LGBODABIKLL + } + return Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) GetUnk2700_NBAIINBBBPK() Unk2700_ADGLMHECKKJ { + if x != nil { + return x.Unk2700_NBAIINBBBPK + } + return Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) GetUnk2700_EJHNBDLLLFO() *Unk2700_NLFDMMFNMIO { + if x != nil { + return x.Unk2700_EJHNBDLLLFO + } + return nil +} + +func (x *Unk2700_HHGMCHANCBJ_ServerNotify) GetUnk2700_EIOPOPABBNC() []uint32 { + if x != nil { + return x.Unk2700_EIOPOPABBNC + } + return nil +} + +var File_Unk2700_HHGMCHANCBJ_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x47, 0x4d, 0x43, 0x48, + 0x41, 0x4e, 0x43, 0x42, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, + 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x44, 0x4d, 0x4d, 0x46, 0x4e, + 0x4d, 0x49, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x02, 0x0a, 0x20, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x47, 0x4d, 0x43, 0x48, 0x41, 0x4e, 0x43, 0x42, + 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, + 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, + 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, + 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x42, 0x41, 0x49, 0x49, 0x4e, 0x42, 0x42, 0x42, 0x50, 0x4b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, + 0x4c, 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4e, 0x42, 0x41, 0x49, 0x49, 0x4e, 0x42, 0x42, 0x42, 0x50, 0x4b, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x48, 0x4e, 0x42, 0x44, 0x4c, 0x4c, + 0x4c, 0x46, 0x4f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x44, 0x4d, 0x4d, 0x46, 0x4e, 0x4d, 0x49, 0x4f, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4a, 0x48, 0x4e, 0x42, 0x44, 0x4c, 0x4c, + 0x4c, 0x46, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x49, 0x4f, 0x50, 0x4f, 0x50, 0x41, 0x42, 0x42, 0x4e, 0x43, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x49, 0x4f, 0x50, 0x4f, 0x50, 0x41, + 0x42, 0x42, 0x4e, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescData = file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDesc +) + +func file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDescData +} + +var file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_HHGMCHANCBJ_ServerNotify)(nil), // 0: Unk2700_HHGMCHANCBJ_ServerNotify + (Unk2700_KBBDJNLFAKD)(0), // 1: Unk2700_KBBDJNLFAKD + (Unk2700_ADGLMHECKKJ)(0), // 2: Unk2700_ADGLMHECKKJ + (*Unk2700_NLFDMMFNMIO)(nil), // 3: Unk2700_NLFDMMFNMIO +} +var file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HHGMCHANCBJ_ServerNotify.Unk2700_LGBODABIKLL:type_name -> Unk2700_KBBDJNLFAKD + 2, // 1: Unk2700_HHGMCHANCBJ_ServerNotify.Unk2700_NBAIINBBBPK:type_name -> Unk2700_ADGLMHECKKJ + 3, // 2: Unk2700_HHGMCHANCBJ_ServerNotify.Unk2700_EJHNBDLLLFO:type_name -> Unk2700_NLFDMMFNMIO + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_init() } +func file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_init() { + if File_Unk2700_HHGMCHANCBJ_ServerNotify_proto != nil { + return + } + file_Unk2700_ADGLMHECKKJ_proto_init() + file_Unk2700_KBBDJNLFAKD_proto_init() + file_Unk2700_NLFDMMFNMIO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HHGMCHANCBJ_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_HHGMCHANCBJ_ServerNotify_proto = out.File + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_rawDesc = nil + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_goTypes = nil + file_Unk2700_HHGMCHANCBJ_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.proto new file mode 100644 index 00000000..5196e87e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HHGMCHANCBJ_ServerNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_ADGLMHECKKJ.proto"; +import "Unk2700_KBBDJNLFAKD.proto"; +import "Unk2700_NLFDMMFNMIO.proto"; + +option go_package = "./;proto"; + +// CmdId: 6217 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HHGMCHANCBJ_ServerNotify { + Unk2700_KBBDJNLFAKD Unk2700_LGBODABIKLL = 14; + Unk2700_ADGLMHECKKJ Unk2700_NBAIINBBBPK = 3; + Unk2700_NLFDMMFNMIO Unk2700_EJHNBDLLLFO = 10; + repeated uint32 Unk2700_EIOPOPABBNC = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.pb.go b/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.pb.go new file mode 100644 index 00000000..65c0336e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.pb.go @@ -0,0 +1,224 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HIHKGMLLOGD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HIHKGMLLOGD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOGHAHICAA []uint32 `protobuf:"varint,1,rep,packed,name=Unk2700_ONOGHAHICAA,json=Unk2700ONOGHAHICAA,proto3" json:"Unk2700_ONOGHAHICAA,omitempty"` + Unk2700_FGBAGFMGKOO []uint32 `protobuf:"varint,4,rep,packed,name=Unk2700_FGBAGFMGKOO,json=Unk2700FGBAGFMGKOO,proto3" json:"Unk2700_FGBAGFMGKOO,omitempty"` + MaxProgress uint32 `protobuf:"varint,2,opt,name=max_progress,json=maxProgress,proto3" json:"max_progress,omitempty"` + Unk2700_OBDGPNILPND uint32 `protobuf:"varint,13,opt,name=Unk2700_OBDGPNILPND,json=Unk2700OBDGPNILPND,proto3" json:"Unk2700_OBDGPNILPND,omitempty"` + Progress uint32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"` + Unk2700_HJNLDGMIHBL uint32 `protobuf:"varint,12,opt,name=Unk2700_HJNLDGMIHBL,json=Unk2700HJNLDGMIHBL,proto3" json:"Unk2700_HJNLDGMIHBL,omitempty"` + Unk2700_BIMPFNHLMBI uint32 `protobuf:"varint,9,opt,name=Unk2700_BIMPFNHLMBI,json=Unk2700BIMPFNHLMBI,proto3" json:"Unk2700_BIMPFNHLMBI,omitempty"` +} + +func (x *Unk2700_HIHKGMLLOGD) Reset() { + *x = Unk2700_HIHKGMLLOGD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HIHKGMLLOGD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HIHKGMLLOGD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HIHKGMLLOGD) ProtoMessage() {} + +func (x *Unk2700_HIHKGMLLOGD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HIHKGMLLOGD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HIHKGMLLOGD.ProtoReflect.Descriptor instead. +func (*Unk2700_HIHKGMLLOGD) Descriptor() ([]byte, []int) { + return file_Unk2700_HIHKGMLLOGD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HIHKGMLLOGD) GetUnk2700_ONOGHAHICAA() []uint32 { + if x != nil { + return x.Unk2700_ONOGHAHICAA + } + return nil +} + +func (x *Unk2700_HIHKGMLLOGD) GetUnk2700_FGBAGFMGKOO() []uint32 { + if x != nil { + return x.Unk2700_FGBAGFMGKOO + } + return nil +} + +func (x *Unk2700_HIHKGMLLOGD) GetMaxProgress() uint32 { + if x != nil { + return x.MaxProgress + } + return 0 +} + +func (x *Unk2700_HIHKGMLLOGD) GetUnk2700_OBDGPNILPND() uint32 { + if x != nil { + return x.Unk2700_OBDGPNILPND + } + return 0 +} + +func (x *Unk2700_HIHKGMLLOGD) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *Unk2700_HIHKGMLLOGD) GetUnk2700_HJNLDGMIHBL() uint32 { + if x != nil { + return x.Unk2700_HJNLDGMIHBL + } + return 0 +} + +func (x *Unk2700_HIHKGMLLOGD) GetUnk2700_BIMPFNHLMBI() uint32 { + if x != nil { + return x.Unk2700_BIMPFNHLMBI + } + return 0 +} + +var File_Unk2700_HIHKGMLLOGD_proto protoreflect.FileDescriptor + +var file_Unk2700_HIHKGMLLOGD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, + 0x4c, 0x4c, 0x4f, 0x47, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, + 0x4f, 0x47, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x4e, 0x4f, 0x47, 0x48, 0x41, 0x48, 0x49, 0x43, 0x41, 0x41, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x47, 0x48, 0x41, 0x48, + 0x49, 0x43, 0x41, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x46, 0x47, 0x42, 0x41, 0x47, 0x46, 0x4d, 0x47, 0x4b, 0x4f, 0x4f, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x47, 0x42, 0x41, 0x47, 0x46, + 0x4d, 0x47, 0x4b, 0x4f, 0x4f, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x78, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, 0x44, 0x47, 0x50, 0x4e, 0x49, 0x4c, 0x50, 0x4e, 0x44, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x42, + 0x44, 0x47, 0x50, 0x4e, 0x49, 0x4c, 0x50, 0x4e, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x4a, 0x4e, 0x4c, 0x44, 0x47, 0x4d, 0x49, 0x48, 0x42, 0x4c, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4a, 0x4e, 0x4c, 0x44, + 0x47, 0x4d, 0x49, 0x48, 0x42, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x42, 0x49, 0x4d, 0x50, 0x46, 0x4e, 0x48, 0x4c, 0x4d, 0x42, 0x49, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x49, 0x4d, 0x50, + 0x46, 0x4e, 0x48, 0x4c, 0x4d, 0x42, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HIHKGMLLOGD_proto_rawDescOnce sync.Once + file_Unk2700_HIHKGMLLOGD_proto_rawDescData = file_Unk2700_HIHKGMLLOGD_proto_rawDesc +) + +func file_Unk2700_HIHKGMLLOGD_proto_rawDescGZIP() []byte { + file_Unk2700_HIHKGMLLOGD_proto_rawDescOnce.Do(func() { + file_Unk2700_HIHKGMLLOGD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HIHKGMLLOGD_proto_rawDescData) + }) + return file_Unk2700_HIHKGMLLOGD_proto_rawDescData +} + +var file_Unk2700_HIHKGMLLOGD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HIHKGMLLOGD_proto_goTypes = []interface{}{ + (*Unk2700_HIHKGMLLOGD)(nil), // 0: Unk2700_HIHKGMLLOGD +} +var file_Unk2700_HIHKGMLLOGD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HIHKGMLLOGD_proto_init() } +func file_Unk2700_HIHKGMLLOGD_proto_init() { + if File_Unk2700_HIHKGMLLOGD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HIHKGMLLOGD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HIHKGMLLOGD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HIHKGMLLOGD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HIHKGMLLOGD_proto_goTypes, + DependencyIndexes: file_Unk2700_HIHKGMLLOGD_proto_depIdxs, + MessageInfos: file_Unk2700_HIHKGMLLOGD_proto_msgTypes, + }.Build() + File_Unk2700_HIHKGMLLOGD_proto = out.File + file_Unk2700_HIHKGMLLOGD_proto_rawDesc = nil + file_Unk2700_HIHKGMLLOGD_proto_goTypes = nil + file_Unk2700_HIHKGMLLOGD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.proto b/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.proto new file mode 100644 index 00000000..07917369 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HIHKGMLLOGD.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_HIHKGMLLOGD { + repeated uint32 Unk2700_ONOGHAHICAA = 1; + repeated uint32 Unk2700_FGBAGFMGKOO = 4; + uint32 max_progress = 2; + uint32 Unk2700_OBDGPNILPND = 13; + uint32 progress = 5; + uint32 Unk2700_HJNLDGMIHBL = 12; + uint32 Unk2700_BIMPFNHLMBI = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.pb.go new file mode 100644 index 00000000..312024df --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HIIFAMCBJCD_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4206 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HIIFAMCBJCD_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + TypeId uint32 `protobuf:"varint,5,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` + Unk2700_LEKOKKMDNAO uint32 `protobuf:"varint,14,opt,name=Unk2700_LEKOKKMDNAO,json=Unk2700LEKOKKMDNAO,proto3" json:"Unk2700_LEKOKKMDNAO,omitempty"` +} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) Reset() { + *x = Unk2700_HIIFAMCBJCD_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HIIFAMCBJCD_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HIIFAMCBJCD_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_HIIFAMCBJCD_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) GetTypeId() uint32 { + if x != nil { + return x.TypeId + } + return 0 +} + +func (x *Unk2700_HIIFAMCBJCD_ServerRsp) GetUnk2700_LEKOKKMDNAO() uint32 { + if x != nil { + return x.Unk2700_LEKOKKMDNAO + } + return 0 +} + +var File_Unk2700_HIIFAMCBJCD_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x49, 0x46, 0x41, 0x4d, + 0x43, 0x42, 0x4a, 0x43, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x48, 0x49, 0x49, 0x46, 0x41, 0x4d, 0x43, 0x42, 0x4a, 0x43, 0x44, 0x5f, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4b, 0x4f, 0x4b, 0x4b, 0x4d, 0x44, 0x4e, 0x41, + 0x4f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4c, 0x45, 0x4b, 0x4f, 0x4b, 0x4b, 0x4d, 0x44, 0x4e, 0x41, 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescData = file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDesc +) + +func file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDescData +} + +var file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_HIIFAMCBJCD_ServerRsp)(nil), // 0: Unk2700_HIIFAMCBJCD_ServerRsp +} +var file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_init() } +func file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_init() { + if File_Unk2700_HIIFAMCBJCD_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HIIFAMCBJCD_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_HIIFAMCBJCD_ServerRsp_proto = out.File + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_rawDesc = nil + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_goTypes = nil + file_Unk2700_HIIFAMCBJCD_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.proto new file mode 100644 index 00000000..3e81bec4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HIIFAMCBJCD_ServerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4206 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HIIFAMCBJCD_ServerRsp { + int32 retcode = 10; + uint32 type_id = 5; + uint32 Unk2700_LEKOKKMDNAO = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.pb.go b/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.pb.go new file mode 100644 index 00000000..23de5c8d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.pb.go @@ -0,0 +1,246 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HJKOHHGBMJP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8933 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HJKOHHGBMJP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GHGIOMEHIAN bool `protobuf:"varint,10,opt,name=Unk2700_GHGIOMEHIAN,json=Unk2700GHGIOMEHIAN,proto3" json:"Unk2700_GHGIOMEHIAN,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_ONGMFKHIBNB bool `protobuf:"varint,6,opt,name=Unk2700_ONGMFKHIBNB,json=Unk2700ONGMFKHIBNB,proto3" json:"Unk2700_ONGMFKHIBNB,omitempty"` + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_MNHBGOMNPBB bool `protobuf:"varint,12,opt,name=Unk2700_MNHBGOMNPBB,json=Unk2700MNHBGOMNPBB,proto3" json:"Unk2700_MNHBGOMNPBB,omitempty"` + Unk2700_AOFHDOOKHKF bool `protobuf:"varint,4,opt,name=Unk2700_AOFHDOOKHKF,json=Unk2700AOFHDOOKHKF,proto3" json:"Unk2700_AOFHDOOKHKF,omitempty"` + FinalScore uint32 `protobuf:"varint,13,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + ChallengeId uint32 `protobuf:"varint,5,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + IsNewRecord bool `protobuf:"varint,9,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk2700_HJKOHHGBMJP) Reset() { + *x = Unk2700_HJKOHHGBMJP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HJKOHHGBMJP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HJKOHHGBMJP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HJKOHHGBMJP) ProtoMessage() {} + +func (x *Unk2700_HJKOHHGBMJP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HJKOHHGBMJP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HJKOHHGBMJP.ProtoReflect.Descriptor instead. +func (*Unk2700_HJKOHHGBMJP) Descriptor() ([]byte, []int) { + return file_Unk2700_HJKOHHGBMJP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HJKOHHGBMJP) GetUnk2700_GHGIOMEHIAN() bool { + if x != nil { + return x.Unk2700_GHGIOMEHIAN + } + return false +} + +func (x *Unk2700_HJKOHHGBMJP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_HJKOHHGBMJP) GetUnk2700_ONGMFKHIBNB() bool { + if x != nil { + return x.Unk2700_ONGMFKHIBNB + } + return false +} + +func (x *Unk2700_HJKOHHGBMJP) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_HJKOHHGBMJP) GetUnk2700_MNHBGOMNPBB() bool { + if x != nil { + return x.Unk2700_MNHBGOMNPBB + } + return false +} + +func (x *Unk2700_HJKOHHGBMJP) GetUnk2700_AOFHDOOKHKF() bool { + if x != nil { + return x.Unk2700_AOFHDOOKHKF + } + return false +} + +func (x *Unk2700_HJKOHHGBMJP) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *Unk2700_HJKOHHGBMJP) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *Unk2700_HJKOHHGBMJP) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk2700_HJKOHHGBMJP_proto protoreflect.FileDescriptor + +var file_Unk2700_HJKOHHGBMJP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4b, 0x4f, 0x48, 0x48, + 0x47, 0x42, 0x4d, 0x4a, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4b, 0x4f, 0x48, 0x48, 0x47, 0x42, + 0x4d, 0x4a, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x48, 0x47, 0x49, 0x4f, 0x4d, 0x45, 0x48, 0x49, 0x41, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x48, 0x47, 0x49, 0x4f, 0x4d, 0x45, + 0x48, 0x49, 0x41, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x47, 0x4d, 0x46, 0x4b, + 0x48, 0x49, 0x42, 0x4e, 0x42, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x47, 0x4d, 0x46, 0x4b, 0x48, 0x49, 0x42, 0x4e, 0x42, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x48, 0x42, 0x47, 0x4f, 0x4d, 0x4e, 0x50, 0x42, + 0x42, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4d, 0x4e, 0x48, 0x42, 0x47, 0x4f, 0x4d, 0x4e, 0x50, 0x42, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, 0x46, 0x48, 0x44, 0x4f, 0x4f, 0x4b, 0x48, + 0x4b, 0x46, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x41, 0x4f, 0x46, 0x48, 0x44, 0x4f, 0x4f, 0x4b, 0x48, 0x4b, 0x46, 0x12, 0x1f, 0x0a, 0x0b, + 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HJKOHHGBMJP_proto_rawDescOnce sync.Once + file_Unk2700_HJKOHHGBMJP_proto_rawDescData = file_Unk2700_HJKOHHGBMJP_proto_rawDesc +) + +func file_Unk2700_HJKOHHGBMJP_proto_rawDescGZIP() []byte { + file_Unk2700_HJKOHHGBMJP_proto_rawDescOnce.Do(func() { + file_Unk2700_HJKOHHGBMJP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HJKOHHGBMJP_proto_rawDescData) + }) + return file_Unk2700_HJKOHHGBMJP_proto_rawDescData +} + +var file_Unk2700_HJKOHHGBMJP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HJKOHHGBMJP_proto_goTypes = []interface{}{ + (*Unk2700_HJKOHHGBMJP)(nil), // 0: Unk2700_HJKOHHGBMJP +} +var file_Unk2700_HJKOHHGBMJP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HJKOHHGBMJP_proto_init() } +func file_Unk2700_HJKOHHGBMJP_proto_init() { + if File_Unk2700_HJKOHHGBMJP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HJKOHHGBMJP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HJKOHHGBMJP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HJKOHHGBMJP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HJKOHHGBMJP_proto_goTypes, + DependencyIndexes: file_Unk2700_HJKOHHGBMJP_proto_depIdxs, + MessageInfos: file_Unk2700_HJKOHHGBMJP_proto_msgTypes, + }.Build() + File_Unk2700_HJKOHHGBMJP_proto = out.File + file_Unk2700_HJKOHHGBMJP_proto_rawDesc = nil + file_Unk2700_HJKOHHGBMJP_proto_goTypes = nil + file_Unk2700_HJKOHHGBMJP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.proto b/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.proto new file mode 100644 index 00000000..ed6eee47 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HJKOHHGBMJP.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8933 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HJKOHHGBMJP { + bool Unk2700_GHGIOMEHIAN = 10; + int32 retcode = 1; + bool Unk2700_ONGMFKHIBNB = 6; + uint32 stage_id = 15; + bool Unk2700_MNHBGOMNPBB = 12; + bool Unk2700_AOFHDOOKHKF = 4; + uint32 final_score = 13; + uint32 challenge_id = 5; + bool is_new_record = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.pb.go b/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.pb.go new file mode 100644 index 00000000..c8c157bd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HJLFNKLPFBH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HJLFNKLPFBH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Avatar *Unk2700_FMGGGEDNGGN `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` + Level uint32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` + Unk2700_EGKOIPOHCHG uint32 `protobuf:"varint,13,opt,name=Unk2700_EGKOIPOHCHG,json=Unk2700EGKOIPOHCHG,proto3" json:"Unk2700_EGKOIPOHCHG,omitempty"` + Unk2700_JCKLLFKOFCG []Unk2700_AGIDJODJNEA `protobuf:"varint,9,rep,packed,name=Unk2700_JCKLLFKOFCG,json=Unk2700JCKLLFKOFCG,proto3,enum=Unk2700_AGIDJODJNEA" json:"Unk2700_JCKLLFKOFCG,omitempty"` +} + +func (x *Unk2700_HJLFNKLPFBH) Reset() { + *x = Unk2700_HJLFNKLPFBH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HJLFNKLPFBH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HJLFNKLPFBH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HJLFNKLPFBH) ProtoMessage() {} + +func (x *Unk2700_HJLFNKLPFBH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HJLFNKLPFBH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HJLFNKLPFBH.ProtoReflect.Descriptor instead. +func (*Unk2700_HJLFNKLPFBH) Descriptor() ([]byte, []int) { + return file_Unk2700_HJLFNKLPFBH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HJLFNKLPFBH) GetAvatar() *Unk2700_FMGGGEDNGGN { + if x != nil { + return x.Avatar + } + return nil +} + +func (x *Unk2700_HJLFNKLPFBH) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *Unk2700_HJLFNKLPFBH) GetUnk2700_EGKOIPOHCHG() uint32 { + if x != nil { + return x.Unk2700_EGKOIPOHCHG + } + return 0 +} + +func (x *Unk2700_HJLFNKLPFBH) GetUnk2700_JCKLLFKOFCG() []Unk2700_AGIDJODJNEA { + if x != nil { + return x.Unk2700_JCKLLFKOFCG + } + return nil +} + +var File_Unk2700_HJLFNKLPFBH_proto protoreflect.FileDescriptor + +var file_Unk2700_HJLFNKLPFBH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, + 0x4c, 0x50, 0x46, 0x42, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, 0x4a, 0x4e, 0x45, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x46, 0x4d, 0x47, 0x47, 0x47, 0x45, 0x44, 0x4e, 0x47, 0x47, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, + 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x47, 0x47, 0x47, 0x45, 0x44, 0x4e, 0x47, 0x47, 0x4e, 0x52, + 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x47, 0x4b, 0x4f, 0x49, 0x50, 0x4f, + 0x48, 0x43, 0x48, 0x47, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x45, 0x47, 0x4b, 0x4f, 0x49, 0x50, 0x4f, 0x48, 0x43, 0x48, 0x47, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4b, 0x4c, 0x4c, 0x46, + 0x4b, 0x4f, 0x46, 0x43, 0x47, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x49, 0x44, 0x4a, 0x4f, 0x44, 0x4a, 0x4e, 0x45, + 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x43, 0x4b, 0x4c, 0x4c, 0x46, + 0x4b, 0x4f, 0x46, 0x43, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HJLFNKLPFBH_proto_rawDescOnce sync.Once + file_Unk2700_HJLFNKLPFBH_proto_rawDescData = file_Unk2700_HJLFNKLPFBH_proto_rawDesc +) + +func file_Unk2700_HJLFNKLPFBH_proto_rawDescGZIP() []byte { + file_Unk2700_HJLFNKLPFBH_proto_rawDescOnce.Do(func() { + file_Unk2700_HJLFNKLPFBH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HJLFNKLPFBH_proto_rawDescData) + }) + return file_Unk2700_HJLFNKLPFBH_proto_rawDescData +} + +var file_Unk2700_HJLFNKLPFBH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HJLFNKLPFBH_proto_goTypes = []interface{}{ + (*Unk2700_HJLFNKLPFBH)(nil), // 0: Unk2700_HJLFNKLPFBH + (*Unk2700_FMGGGEDNGGN)(nil), // 1: Unk2700_FMGGGEDNGGN + (Unk2700_AGIDJODJNEA)(0), // 2: Unk2700_AGIDJODJNEA +} +var file_Unk2700_HJLFNKLPFBH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HJLFNKLPFBH.avatar:type_name -> Unk2700_FMGGGEDNGGN + 2, // 1: Unk2700_HJLFNKLPFBH.Unk2700_JCKLLFKOFCG:type_name -> Unk2700_AGIDJODJNEA + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_HJLFNKLPFBH_proto_init() } +func file_Unk2700_HJLFNKLPFBH_proto_init() { + if File_Unk2700_HJLFNKLPFBH_proto != nil { + return + } + file_Unk2700_AGIDJODJNEA_proto_init() + file_Unk2700_FMGGGEDNGGN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HJLFNKLPFBH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HJLFNKLPFBH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HJLFNKLPFBH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HJLFNKLPFBH_proto_goTypes, + DependencyIndexes: file_Unk2700_HJLFNKLPFBH_proto_depIdxs, + MessageInfos: file_Unk2700_HJLFNKLPFBH_proto_msgTypes, + }.Build() + File_Unk2700_HJLFNKLPFBH_proto = out.File + file_Unk2700_HJLFNKLPFBH_proto_rawDesc = nil + file_Unk2700_HJLFNKLPFBH_proto_goTypes = nil + file_Unk2700_HJLFNKLPFBH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.proto b/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.proto new file mode 100644 index 00000000..dfe06560 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HJLFNKLPFBH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AGIDJODJNEA.proto"; +import "Unk2700_FMGGGEDNGGN.proto"; + +option go_package = "./;proto"; + +message Unk2700_HJLFNKLPFBH { + Unk2700_FMGGGEDNGGN avatar = 2; + uint32 level = 14; + uint32 Unk2700_EGKOIPOHCHG = 13; + repeated Unk2700_AGIDJODJNEA Unk2700_JCKLLFKOFCG = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.pb.go b/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.pb.go new file mode 100644 index 00000000..1a1bd9aa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HKADKMFMBPG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8017 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HKADKMFMBPG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IFCNGIPPOAE map[uint32]uint32 `protobuf:"bytes,2,rep,name=Unk2700_IFCNGIPPOAE,json=Unk2700IFCNGIPPOAE,proto3" json:"Unk2700_IFCNGIPPOAE,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ScheduleId uint32 `protobuf:"varint,14,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_HKADKMFMBPG) Reset() { + *x = Unk2700_HKADKMFMBPG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HKADKMFMBPG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HKADKMFMBPG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HKADKMFMBPG) ProtoMessage() {} + +func (x *Unk2700_HKADKMFMBPG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HKADKMFMBPG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HKADKMFMBPG.ProtoReflect.Descriptor instead. +func (*Unk2700_HKADKMFMBPG) Descriptor() ([]byte, []int) { + return file_Unk2700_HKADKMFMBPG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HKADKMFMBPG) GetUnk2700_IFCNGIPPOAE() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFCNGIPPOAE + } + return nil +} + +func (x *Unk2700_HKADKMFMBPG) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_HKADKMFMBPG_proto protoreflect.FileDescriptor + +var file_Unk2700_HKADKMFMBPG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x41, 0x44, 0x4b, 0x4d, + 0x46, 0x4d, 0x42, 0x50, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x41, 0x44, 0x4b, 0x4d, 0x46, 0x4d, + 0x42, 0x50, 0x47, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x41, 0x44, 0x4b, + 0x4d, 0x46, 0x4d, 0x42, 0x50, 0x47, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, + 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, + 0x41, 0x45, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, + 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HKADKMFMBPG_proto_rawDescOnce sync.Once + file_Unk2700_HKADKMFMBPG_proto_rawDescData = file_Unk2700_HKADKMFMBPG_proto_rawDesc +) + +func file_Unk2700_HKADKMFMBPG_proto_rawDescGZIP() []byte { + file_Unk2700_HKADKMFMBPG_proto_rawDescOnce.Do(func() { + file_Unk2700_HKADKMFMBPG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HKADKMFMBPG_proto_rawDescData) + }) + return file_Unk2700_HKADKMFMBPG_proto_rawDescData +} + +var file_Unk2700_HKADKMFMBPG_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_HKADKMFMBPG_proto_goTypes = []interface{}{ + (*Unk2700_HKADKMFMBPG)(nil), // 0: Unk2700_HKADKMFMBPG + nil, // 1: Unk2700_HKADKMFMBPG.Unk2700IFCNGIPPOAEEntry +} +var file_Unk2700_HKADKMFMBPG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HKADKMFMBPG.Unk2700_IFCNGIPPOAE:type_name -> Unk2700_HKADKMFMBPG.Unk2700IFCNGIPPOAEEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HKADKMFMBPG_proto_init() } +func file_Unk2700_HKADKMFMBPG_proto_init() { + if File_Unk2700_HKADKMFMBPG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HKADKMFMBPG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HKADKMFMBPG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HKADKMFMBPG_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HKADKMFMBPG_proto_goTypes, + DependencyIndexes: file_Unk2700_HKADKMFMBPG_proto_depIdxs, + MessageInfos: file_Unk2700_HKADKMFMBPG_proto_msgTypes, + }.Build() + File_Unk2700_HKADKMFMBPG_proto = out.File + file_Unk2700_HKADKMFMBPG_proto_rawDesc = nil + file_Unk2700_HKADKMFMBPG_proto_goTypes = nil + file_Unk2700_HKADKMFMBPG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.proto b/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.proto new file mode 100644 index 00000000..bc262b76 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HKADKMFMBPG.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8017 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HKADKMFMBPG { + map Unk2700_IFCNGIPPOAE = 2; + uint32 schedule_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.pb.go b/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.pb.go new file mode 100644 index 00000000..4c8182ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HLHHNGHJLAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_HLHHNGHJLAO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KillMonsterCount uint32 `protobuf:"varint,12,opt,name=kill_monster_count,json=killMonsterCount,proto3" json:"kill_monster_count,omitempty"` + KillSpecialMonsterCount uint32 `protobuf:"varint,8,opt,name=kill_special_monster_count,json=killSpecialMonsterCount,proto3" json:"kill_special_monster_count,omitempty"` + Unk2700_OFKHLGLOPCM uint32 `protobuf:"varint,10,opt,name=Unk2700_OFKHLGLOPCM,json=Unk2700OFKHLGLOPCM,proto3" json:"Unk2700_OFKHLGLOPCM,omitempty"` + GalleryId uint32 `protobuf:"varint,2,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,11,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + FinalScore uint32 `protobuf:"varint,13,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` +} + +func (x *Unk2700_HLHHNGHJLAO) Reset() { + *x = Unk2700_HLHHNGHJLAO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HLHHNGHJLAO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HLHHNGHJLAO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HLHHNGHJLAO) ProtoMessage() {} + +func (x *Unk2700_HLHHNGHJLAO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HLHHNGHJLAO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HLHHNGHJLAO.ProtoReflect.Descriptor instead. +func (*Unk2700_HLHHNGHJLAO) Descriptor() ([]byte, []int) { + return file_Unk2700_HLHHNGHJLAO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HLHHNGHJLAO) GetKillMonsterCount() uint32 { + if x != nil { + return x.KillMonsterCount + } + return 0 +} + +func (x *Unk2700_HLHHNGHJLAO) GetKillSpecialMonsterCount() uint32 { + if x != nil { + return x.KillSpecialMonsterCount + } + return 0 +} + +func (x *Unk2700_HLHHNGHJLAO) GetUnk2700_OFKHLGLOPCM() uint32 { + if x != nil { + return x.Unk2700_OFKHLGLOPCM + } + return 0 +} + +func (x *Unk2700_HLHHNGHJLAO) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_HLHHNGHJLAO) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2700_HLHHNGHJLAO) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +var File_Unk2700_HLHHNGHJLAO_proto protoreflect.FileDescriptor + +var file_Unk2700_HLHHNGHJLAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x48, 0x48, 0x4e, 0x47, + 0x48, 0x4a, 0x4c, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x48, 0x48, 0x4e, 0x47, 0x48, 0x4a, 0x4c, 0x41, 0x4f, 0x12, 0x2c, + 0x0a, 0x12, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6b, 0x69, 0x6c, 0x6c, + 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x1a, + 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x17, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, + 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x4b, 0x48, 0x4c, 0x47, 0x4c, 0x4f, 0x50, 0x43, 0x4d, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, + 0x46, 0x4b, 0x48, 0x4c, 0x47, 0x4c, 0x4f, 0x50, 0x43, 0x4d, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, + 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HLHHNGHJLAO_proto_rawDescOnce sync.Once + file_Unk2700_HLHHNGHJLAO_proto_rawDescData = file_Unk2700_HLHHNGHJLAO_proto_rawDesc +) + +func file_Unk2700_HLHHNGHJLAO_proto_rawDescGZIP() []byte { + file_Unk2700_HLHHNGHJLAO_proto_rawDescOnce.Do(func() { + file_Unk2700_HLHHNGHJLAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HLHHNGHJLAO_proto_rawDescData) + }) + return file_Unk2700_HLHHNGHJLAO_proto_rawDescData +} + +var file_Unk2700_HLHHNGHJLAO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HLHHNGHJLAO_proto_goTypes = []interface{}{ + (*Unk2700_HLHHNGHJLAO)(nil), // 0: Unk2700_HLHHNGHJLAO + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2700_HLHHNGHJLAO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HLHHNGHJLAO.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_HLHHNGHJLAO_proto_init() } +func file_Unk2700_HLHHNGHJLAO_proto_init() { + if File_Unk2700_HLHHNGHJLAO_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HLHHNGHJLAO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HLHHNGHJLAO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HLHHNGHJLAO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HLHHNGHJLAO_proto_goTypes, + DependencyIndexes: file_Unk2700_HLHHNGHJLAO_proto_depIdxs, + MessageInfos: file_Unk2700_HLHHNGHJLAO_proto_msgTypes, + }.Build() + File_Unk2700_HLHHNGHJLAO_proto = out.File + file_Unk2700_HLHHNGHJLAO_proto_rawDesc = nil + file_Unk2700_HLHHNGHJLAO_proto_goTypes = nil + file_Unk2700_HLHHNGHJLAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.proto b/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.proto new file mode 100644 index 00000000..241912a8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HLHHNGHJLAO.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2700_HLHHNGHJLAO { + uint32 kill_monster_count = 12; + uint32 kill_special_monster_count = 8; + uint32 Unk2700_OFKHLGLOPCM = 10; + uint32 gallery_id = 2; + Unk2700_MOFABPNGIKP reason = 11; + uint32 final_score = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.pb.go b/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.pb.go new file mode 100644 index 00000000..df3c7740 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HMFCCGCKHCA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8946 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HMFCCGCKHCA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_HMFCCGCKHCA) Reset() { + *x = Unk2700_HMFCCGCKHCA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HMFCCGCKHCA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HMFCCGCKHCA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HMFCCGCKHCA) ProtoMessage() {} + +func (x *Unk2700_HMFCCGCKHCA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HMFCCGCKHCA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HMFCCGCKHCA.ProtoReflect.Descriptor instead. +func (*Unk2700_HMFCCGCKHCA) Descriptor() ([]byte, []int) { + return file_Unk2700_HMFCCGCKHCA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_HMFCCGCKHCA_proto protoreflect.FileDescriptor + +var file_Unk2700_HMFCCGCKHCA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x46, 0x43, 0x43, 0x47, + 0x43, 0x4b, 0x48, 0x43, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x46, 0x43, 0x43, 0x47, 0x43, 0x4b, 0x48, + 0x43, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HMFCCGCKHCA_proto_rawDescOnce sync.Once + file_Unk2700_HMFCCGCKHCA_proto_rawDescData = file_Unk2700_HMFCCGCKHCA_proto_rawDesc +) + +func file_Unk2700_HMFCCGCKHCA_proto_rawDescGZIP() []byte { + file_Unk2700_HMFCCGCKHCA_proto_rawDescOnce.Do(func() { + file_Unk2700_HMFCCGCKHCA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HMFCCGCKHCA_proto_rawDescData) + }) + return file_Unk2700_HMFCCGCKHCA_proto_rawDescData +} + +var file_Unk2700_HMFCCGCKHCA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HMFCCGCKHCA_proto_goTypes = []interface{}{ + (*Unk2700_HMFCCGCKHCA)(nil), // 0: Unk2700_HMFCCGCKHCA +} +var file_Unk2700_HMFCCGCKHCA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HMFCCGCKHCA_proto_init() } +func file_Unk2700_HMFCCGCKHCA_proto_init() { + if File_Unk2700_HMFCCGCKHCA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HMFCCGCKHCA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HMFCCGCKHCA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HMFCCGCKHCA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HMFCCGCKHCA_proto_goTypes, + DependencyIndexes: file_Unk2700_HMFCCGCKHCA_proto_depIdxs, + MessageInfos: file_Unk2700_HMFCCGCKHCA_proto_msgTypes, + }.Build() + File_Unk2700_HMFCCGCKHCA_proto = out.File + file_Unk2700_HMFCCGCKHCA_proto_rawDesc = nil + file_Unk2700_HMFCCGCKHCA_proto_goTypes = nil + file_Unk2700_HMFCCGCKHCA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.proto b/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.proto new file mode 100644 index 00000000..0f8ea745 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMFCCGCKHCA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8946 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HMFCCGCKHCA {} diff --git a/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.pb.go b/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.pb.go new file mode 100644 index 00000000..87bb31d8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HMHHLEHFBLB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8713 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HMHHLEHFBLB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_HMHHLEHFBLB) Reset() { + *x = Unk2700_HMHHLEHFBLB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HMHHLEHFBLB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HMHHLEHFBLB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HMHHLEHFBLB) ProtoMessage() {} + +func (x *Unk2700_HMHHLEHFBLB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HMHHLEHFBLB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HMHHLEHFBLB.ProtoReflect.Descriptor instead. +func (*Unk2700_HMHHLEHFBLB) Descriptor() ([]byte, []int) { + return file_Unk2700_HMHHLEHFBLB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HMHHLEHFBLB) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_HMHHLEHFBLB_proto protoreflect.FileDescriptor + +var file_Unk2700_HMHHLEHFBLB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x48, 0x48, 0x4c, 0x45, + 0x48, 0x46, 0x42, 0x4c, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x48, 0x48, 0x4c, 0x45, 0x48, 0x46, 0x42, + 0x4c, 0x42, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HMHHLEHFBLB_proto_rawDescOnce sync.Once + file_Unk2700_HMHHLEHFBLB_proto_rawDescData = file_Unk2700_HMHHLEHFBLB_proto_rawDesc +) + +func file_Unk2700_HMHHLEHFBLB_proto_rawDescGZIP() []byte { + file_Unk2700_HMHHLEHFBLB_proto_rawDescOnce.Do(func() { + file_Unk2700_HMHHLEHFBLB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HMHHLEHFBLB_proto_rawDescData) + }) + return file_Unk2700_HMHHLEHFBLB_proto_rawDescData +} + +var file_Unk2700_HMHHLEHFBLB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HMHHLEHFBLB_proto_goTypes = []interface{}{ + (*Unk2700_HMHHLEHFBLB)(nil), // 0: Unk2700_HMHHLEHFBLB +} +var file_Unk2700_HMHHLEHFBLB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HMHHLEHFBLB_proto_init() } +func file_Unk2700_HMHHLEHFBLB_proto_init() { + if File_Unk2700_HMHHLEHFBLB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HMHHLEHFBLB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HMHHLEHFBLB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HMHHLEHFBLB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HMHHLEHFBLB_proto_goTypes, + DependencyIndexes: file_Unk2700_HMHHLEHFBLB_proto_depIdxs, + MessageInfos: file_Unk2700_HMHHLEHFBLB_proto_msgTypes, + }.Build() + File_Unk2700_HMHHLEHFBLB_proto = out.File + file_Unk2700_HMHHLEHFBLB_proto_rawDesc = nil + file_Unk2700_HMHHLEHFBLB_proto_goTypes = nil + file_Unk2700_HMHHLEHFBLB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.proto b/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.proto new file mode 100644 index 00000000..4fc8beb7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMHHLEHFBLB.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8713 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HMHHLEHFBLB { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.pb.go b/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.pb.go new file mode 100644 index 00000000..bbe1ef0a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HMMFPDMLGEM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8554 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HMMFPDMLGEM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,15,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_HMMFPDMLGEM) Reset() { + *x = Unk2700_HMMFPDMLGEM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HMMFPDMLGEM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HMMFPDMLGEM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HMMFPDMLGEM) ProtoMessage() {} + +func (x *Unk2700_HMMFPDMLGEM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HMMFPDMLGEM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HMMFPDMLGEM.ProtoReflect.Descriptor instead. +func (*Unk2700_HMMFPDMLGEM) Descriptor() ([]byte, []int) { + return file_Unk2700_HMMFPDMLGEM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HMMFPDMLGEM) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_HMMFPDMLGEM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_HMMFPDMLGEM_proto protoreflect.FileDescriptor + +var file_Unk2700_HMMFPDMLGEM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x4d, 0x46, 0x50, 0x44, + 0x4d, 0x4c, 0x47, 0x45, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x4d, 0x46, 0x50, 0x44, 0x4d, 0x4c, 0x47, + 0x45, 0x4d, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_HMMFPDMLGEM_proto_rawDescOnce sync.Once + file_Unk2700_HMMFPDMLGEM_proto_rawDescData = file_Unk2700_HMMFPDMLGEM_proto_rawDesc +) + +func file_Unk2700_HMMFPDMLGEM_proto_rawDescGZIP() []byte { + file_Unk2700_HMMFPDMLGEM_proto_rawDescOnce.Do(func() { + file_Unk2700_HMMFPDMLGEM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HMMFPDMLGEM_proto_rawDescData) + }) + return file_Unk2700_HMMFPDMLGEM_proto_rawDescData +} + +var file_Unk2700_HMMFPDMLGEM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HMMFPDMLGEM_proto_goTypes = []interface{}{ + (*Unk2700_HMMFPDMLGEM)(nil), // 0: Unk2700_HMMFPDMLGEM +} +var file_Unk2700_HMMFPDMLGEM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HMMFPDMLGEM_proto_init() } +func file_Unk2700_HMMFPDMLGEM_proto_init() { + if File_Unk2700_HMMFPDMLGEM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HMMFPDMLGEM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HMMFPDMLGEM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HMMFPDMLGEM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HMMFPDMLGEM_proto_goTypes, + DependencyIndexes: file_Unk2700_HMMFPDMLGEM_proto_depIdxs, + MessageInfos: file_Unk2700_HMMFPDMLGEM_proto_msgTypes, + }.Build() + File_Unk2700_HMMFPDMLGEM_proto = out.File + file_Unk2700_HMMFPDMLGEM_proto_rawDesc = nil + file_Unk2700_HMMFPDMLGEM_proto_goTypes = nil + file_Unk2700_HMMFPDMLGEM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.proto b/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.proto new file mode 100644 index 00000000..e8819a7c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HMMFPDMLGEM.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8554 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HMMFPDMLGEM { + uint32 schedule_id = 15; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.pb.go b/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.pb.go new file mode 100644 index 00000000..81a4821b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HNFGBBECGMJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8607 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_HNFGBBECGMJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,8,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_HNFGBBECGMJ) Reset() { + *x = Unk2700_HNFGBBECGMJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HNFGBBECGMJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HNFGBBECGMJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HNFGBBECGMJ) ProtoMessage() {} + +func (x *Unk2700_HNFGBBECGMJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HNFGBBECGMJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HNFGBBECGMJ.ProtoReflect.Descriptor instead. +func (*Unk2700_HNFGBBECGMJ) Descriptor() ([]byte, []int) { + return file_Unk2700_HNFGBBECGMJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HNFGBBECGMJ) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_HNFGBBECGMJ_proto protoreflect.FileDescriptor + +var file_Unk2700_HNFGBBECGMJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4e, 0x46, 0x47, 0x42, 0x42, + 0x45, 0x43, 0x47, 0x4d, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4e, 0x46, 0x47, 0x42, 0x42, 0x45, 0x43, 0x47, + 0x4d, 0x4a, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HNFGBBECGMJ_proto_rawDescOnce sync.Once + file_Unk2700_HNFGBBECGMJ_proto_rawDescData = file_Unk2700_HNFGBBECGMJ_proto_rawDesc +) + +func file_Unk2700_HNFGBBECGMJ_proto_rawDescGZIP() []byte { + file_Unk2700_HNFGBBECGMJ_proto_rawDescOnce.Do(func() { + file_Unk2700_HNFGBBECGMJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HNFGBBECGMJ_proto_rawDescData) + }) + return file_Unk2700_HNFGBBECGMJ_proto_rawDescData +} + +var file_Unk2700_HNFGBBECGMJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HNFGBBECGMJ_proto_goTypes = []interface{}{ + (*Unk2700_HNFGBBECGMJ)(nil), // 0: Unk2700_HNFGBBECGMJ +} +var file_Unk2700_HNFGBBECGMJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_HNFGBBECGMJ_proto_init() } +func file_Unk2700_HNFGBBECGMJ_proto_init() { + if File_Unk2700_HNFGBBECGMJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_HNFGBBECGMJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HNFGBBECGMJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HNFGBBECGMJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HNFGBBECGMJ_proto_goTypes, + DependencyIndexes: file_Unk2700_HNFGBBECGMJ_proto_depIdxs, + MessageInfos: file_Unk2700_HNFGBBECGMJ_proto_msgTypes, + }.Build() + File_Unk2700_HNFGBBECGMJ_proto = out.File + file_Unk2700_HNFGBBECGMJ_proto_rawDesc = nil + file_Unk2700_HNFGBBECGMJ_proto_goTypes = nil + file_Unk2700_HNFGBBECGMJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.proto b/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.proto new file mode 100644 index 00000000..c8f1217b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HNFGBBECGMJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8607 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_HNFGBBECGMJ { + uint32 id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.pb.go new file mode 100644 index 00000000..6d9e1e3e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_HOPDLJLBKIC_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6056 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_HOPDLJLBKIC_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,11,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Unk2700_MHEKJGAIFBO Unk2700_NOCLNCCJEGK `protobuf:"varint,6,opt,name=Unk2700_MHEKJGAIFBO,json=Unk2700MHEKJGAIFBO,proto3,enum=Unk2700_NOCLNCCJEGK" json:"Unk2700_MHEKJGAIFBO,omitempty"` + Unk2700_LNPJLPODIGB *WidgetCoolDownData `protobuf:"bytes,10,opt,name=Unk2700_LNPJLPODIGB,json=Unk2700LNPJLPODIGB,proto3" json:"Unk2700_LNPJLPODIGB,omitempty"` + Unk2700_GMHLHKIIGIC uint32 `protobuf:"varint,15,opt,name=Unk2700_GMHLHKIIGIC,json=Unk2700GMHLHKIIGIC,proto3" json:"Unk2700_GMHLHKIIGIC,omitempty"` +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) Reset() { + *x = Unk2700_HOPDLJLBKIC_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_HOPDLJLBKIC_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_HOPDLJLBKIC_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_HOPDLJLBKIC_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) GetUnk2700_MHEKJGAIFBO() Unk2700_NOCLNCCJEGK { + if x != nil { + return x.Unk2700_MHEKJGAIFBO + } + return Unk2700_NOCLNCCJEGK_Unk2700_NOCLNCCJEGK_NONE +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) GetUnk2700_LNPJLPODIGB() *WidgetCoolDownData { + if x != nil { + return x.Unk2700_LNPJLPODIGB + } + return nil +} + +func (x *Unk2700_HOPDLJLBKIC_ServerRsp) GetUnk2700_GMHLHKIIGIC() uint32 { + if x != nil { + return x.Unk2700_GMHLHKIIGIC + } + return 0 +} + +var File_Unk2700_HOPDLJLBKIC_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4f, 0x50, 0x44, 0x4c, 0x4a, + 0x4c, 0x42, 0x4b, 0x49, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x4f, 0x43, 0x4c, 0x4e, 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x1d, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4f, 0x50, 0x44, 0x4c, 0x4a, 0x4c, 0x42, 0x4b, + 0x49, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x45, 0x4b, 0x4a, 0x47, 0x41, 0x49, 0x46, 0x42, 0x4f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x4f, 0x43, 0x4c, 0x4e, 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4d, 0x48, 0x45, 0x4b, 0x4a, 0x47, 0x41, 0x49, 0x46, 0x42, 0x4f, 0x12, 0x44, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x50, 0x4a, 0x4c, 0x50, + 0x4f, 0x44, 0x49, 0x47, 0x42, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4e, 0x50, 0x4a, 0x4c, 0x50, 0x4f, + 0x44, 0x49, 0x47, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x47, 0x4d, 0x48, 0x4c, 0x48, 0x4b, 0x49, 0x49, 0x47, 0x49, 0x43, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x48, 0x4c, 0x48, 0x4b, + 0x49, 0x49, 0x47, 0x49, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescData = file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDesc +) + +func file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDescData +} + +var file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_HOPDLJLBKIC_ServerRsp)(nil), // 0: Unk2700_HOPDLJLBKIC_ServerRsp + (Unk2700_NOCLNCCJEGK)(0), // 1: Unk2700_NOCLNCCJEGK + (*WidgetCoolDownData)(nil), // 2: WidgetCoolDownData +} +var file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_HOPDLJLBKIC_ServerRsp.Unk2700_MHEKJGAIFBO:type_name -> Unk2700_NOCLNCCJEGK + 2, // 1: Unk2700_HOPDLJLBKIC_ServerRsp.Unk2700_LNPJLPODIGB:type_name -> WidgetCoolDownData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_init() } +func file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_init() { + if File_Unk2700_HOPDLJLBKIC_ServerRsp_proto != nil { + return + } + file_Unk2700_NOCLNCCJEGK_proto_init() + file_WidgetCoolDownData_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_HOPDLJLBKIC_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_HOPDLJLBKIC_ServerRsp_proto = out.File + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_rawDesc = nil + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_goTypes = nil + file_Unk2700_HOPDLJLBKIC_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.proto new file mode 100644 index 00000000..513c26ba --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_HOPDLJLBKIC_ServerRsp.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NOCLNCCJEGK.proto"; +import "WidgetCoolDownData.proto"; + +option go_package = "./;proto"; + +// CmdId: 6056 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_HOPDLJLBKIC_ServerRsp { + int32 retcode = 14; + uint32 material_id = 11; + Unk2700_NOCLNCCJEGK Unk2700_MHEKJGAIFBO = 6; + WidgetCoolDownData Unk2700_LNPJLPODIGB = 10; + uint32 Unk2700_GMHLHKIIGIC = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.pb.go new file mode 100644 index 00000000..f6c97db4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IAADLJBLOIN_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4092 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IAADLJBLOIN_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Unk2700_JEKIGDDNCAB uint32 `protobuf:"varint,10,opt,name=Unk2700_JEKIGDDNCAB,json=Unk2700JEKIGDDNCAB,proto3" json:"Unk2700_JEKIGDDNCAB,omitempty"` +} + +func (x *Unk2700_IAADLJBLOIN_ServerNotify) Reset() { + *x = Unk2700_IAADLJBLOIN_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IAADLJBLOIN_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IAADLJBLOIN_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IAADLJBLOIN_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_IAADLJBLOIN_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IAADLJBLOIN_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IAADLJBLOIN_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_IAADLJBLOIN_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IAADLJBLOIN_ServerNotify) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_IAADLJBLOIN_ServerNotify) GetUnk2700_JEKIGDDNCAB() uint32 { + if x != nil { + return x.Unk2700_JEKIGDDNCAB + } + return 0 +} + +var File_Unk2700_IAADLJBLOIN_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x41, 0x41, 0x44, 0x4c, 0x4a, + 0x42, 0x4c, 0x4f, 0x49, 0x4e, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x49, 0x41, 0x41, 0x44, 0x4c, 0x4a, 0x42, 0x4c, 0x4f, 0x49, 0x4e, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x45, 0x4b, 0x49, 0x47, 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x45, 0x4b, 0x49, 0x47, + 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescData = file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDesc +) + +func file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDescData +} + +var file_Unk2700_IAADLJBLOIN_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IAADLJBLOIN_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_IAADLJBLOIN_ServerNotify)(nil), // 0: Unk2700_IAADLJBLOIN_ServerNotify +} +var file_Unk2700_IAADLJBLOIN_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IAADLJBLOIN_ServerNotify_proto_init() } +func file_Unk2700_IAADLJBLOIN_ServerNotify_proto_init() { + if File_Unk2700_IAADLJBLOIN_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IAADLJBLOIN_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IAADLJBLOIN_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_IAADLJBLOIN_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_IAADLJBLOIN_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_IAADLJBLOIN_ServerNotify_proto = out.File + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_rawDesc = nil + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_goTypes = nil + file_Unk2700_IAADLJBLOIN_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.proto new file mode 100644 index 00000000..830af740 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IAADLJBLOIN_ServerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4092 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IAADLJBLOIN_ServerNotify { + bool is_open = 9; + uint32 Unk2700_JEKIGDDNCAB = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.pb.go b/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.pb.go new file mode 100644 index 00000000..4f10367a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IAAPADOAMIA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8414 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IAAPADOAMIA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HCKAMFPGMJN uint32 `protobuf:"varint,14,opt,name=Unk2700_HCKAMFPGMJN,json=Unk2700HCKAMFPGMJN,proto3" json:"Unk2700_HCKAMFPGMJN,omitempty"` + Unk2700_CHHJBPDPICI uint32 `protobuf:"varint,7,opt,name=Unk2700_CHHJBPDPICI,json=Unk2700CHHJBPDPICI,proto3" json:"Unk2700_CHHJBPDPICI,omitempty"` + QuestId uint32 `protobuf:"varint,11,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,10,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Unk2700_AGFNJHAMDBD bool `protobuf:"varint,9,opt,name=Unk2700_AGFNJHAMDBD,json=Unk2700AGFNJHAMDBD,proto3" json:"Unk2700_AGFNJHAMDBD,omitempty"` + Unk2700_AJKDPJOKBED []uint32 `protobuf:"varint,6,rep,packed,name=Unk2700_AJKDPJOKBED,json=Unk2700AJKDPJOKBED,proto3" json:"Unk2700_AJKDPJOKBED,omitempty"` + Unk2700_OEDDPDJEEPC uint32 `protobuf:"varint,3,opt,name=Unk2700_OEDDPDJEEPC,json=Unk2700OEDDPDJEEPC,proto3" json:"Unk2700_OEDDPDJEEPC,omitempty"` +} + +func (x *Unk2700_IAAPADOAMIA) Reset() { + *x = Unk2700_IAAPADOAMIA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IAAPADOAMIA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IAAPADOAMIA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IAAPADOAMIA) ProtoMessage() {} + +func (x *Unk2700_IAAPADOAMIA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IAAPADOAMIA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IAAPADOAMIA.ProtoReflect.Descriptor instead. +func (*Unk2700_IAAPADOAMIA) Descriptor() ([]byte, []int) { + return file_Unk2700_IAAPADOAMIA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IAAPADOAMIA) GetUnk2700_HCKAMFPGMJN() uint32 { + if x != nil { + return x.Unk2700_HCKAMFPGMJN + } + return 0 +} + +func (x *Unk2700_IAAPADOAMIA) GetUnk2700_CHHJBPDPICI() uint32 { + if x != nil { + return x.Unk2700_CHHJBPDPICI + } + return 0 +} + +func (x *Unk2700_IAAPADOAMIA) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *Unk2700_IAAPADOAMIA) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *Unk2700_IAAPADOAMIA) GetUnk2700_AGFNJHAMDBD() bool { + if x != nil { + return x.Unk2700_AGFNJHAMDBD + } + return false +} + +func (x *Unk2700_IAAPADOAMIA) GetUnk2700_AJKDPJOKBED() []uint32 { + if x != nil { + return x.Unk2700_AJKDPJOKBED + } + return nil +} + +func (x *Unk2700_IAAPADOAMIA) GetUnk2700_OEDDPDJEEPC() uint32 { + if x != nil { + return x.Unk2700_OEDDPDJEEPC + } + return 0 +} + +var File_Unk2700_IAAPADOAMIA_proto protoreflect.FileDescriptor + +var file_Unk2700_IAAPADOAMIA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x41, 0x41, 0x50, 0x41, 0x44, + 0x4f, 0x41, 0x4d, 0x49, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x02, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x41, 0x41, 0x50, 0x41, 0x44, 0x4f, + 0x41, 0x4d, 0x49, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x43, 0x4b, 0x41, 0x4d, 0x46, 0x50, 0x47, 0x4d, 0x4a, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x43, 0x4b, 0x41, 0x4d, 0x46, + 0x50, 0x47, 0x4d, 0x4a, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x43, 0x48, 0x48, 0x4a, 0x42, 0x50, 0x44, 0x50, 0x49, 0x43, 0x49, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x48, 0x48, 0x4a, 0x42, + 0x50, 0x44, 0x50, 0x49, 0x43, 0x49, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x46, 0x4e, 0x4a, 0x48, 0x41, 0x4d, 0x44, 0x42, + 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x41, 0x47, 0x46, 0x4e, 0x4a, 0x48, 0x41, 0x4d, 0x44, 0x42, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4a, 0x4b, 0x44, 0x50, 0x4a, 0x4f, 0x4b, 0x42, + 0x45, 0x44, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x41, 0x4a, 0x4b, 0x44, 0x50, 0x4a, 0x4f, 0x4b, 0x42, 0x45, 0x44, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x45, 0x44, 0x44, 0x50, 0x44, 0x4a, 0x45, + 0x45, 0x50, 0x43, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4f, 0x45, 0x44, 0x44, 0x50, 0x44, 0x4a, 0x45, 0x45, 0x50, 0x43, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_IAAPADOAMIA_proto_rawDescOnce sync.Once + file_Unk2700_IAAPADOAMIA_proto_rawDescData = file_Unk2700_IAAPADOAMIA_proto_rawDesc +) + +func file_Unk2700_IAAPADOAMIA_proto_rawDescGZIP() []byte { + file_Unk2700_IAAPADOAMIA_proto_rawDescOnce.Do(func() { + file_Unk2700_IAAPADOAMIA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IAAPADOAMIA_proto_rawDescData) + }) + return file_Unk2700_IAAPADOAMIA_proto_rawDescData +} + +var file_Unk2700_IAAPADOAMIA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IAAPADOAMIA_proto_goTypes = []interface{}{ + (*Unk2700_IAAPADOAMIA)(nil), // 0: Unk2700_IAAPADOAMIA + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_IAAPADOAMIA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IAAPADOAMIA.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IAAPADOAMIA_proto_init() } +func file_Unk2700_IAAPADOAMIA_proto_init() { + if File_Unk2700_IAAPADOAMIA_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IAAPADOAMIA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IAAPADOAMIA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IAAPADOAMIA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IAAPADOAMIA_proto_goTypes, + DependencyIndexes: file_Unk2700_IAAPADOAMIA_proto_depIdxs, + MessageInfos: file_Unk2700_IAAPADOAMIA_proto_msgTypes, + }.Build() + File_Unk2700_IAAPADOAMIA_proto = out.File + file_Unk2700_IAAPADOAMIA_proto_rawDesc = nil + file_Unk2700_IAAPADOAMIA_proto_goTypes = nil + file_Unk2700_IAAPADOAMIA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.proto b/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.proto new file mode 100644 index 00000000..5af94707 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IAAPADOAMIA.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8414 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IAAPADOAMIA { + uint32 Unk2700_HCKAMFPGMJN = 14; + uint32 Unk2700_CHHJBPDPICI = 7; + uint32 quest_id = 11; + repeated ItemParam item_list = 10; + bool Unk2700_AGFNJHAMDBD = 9; + repeated uint32 Unk2700_AJKDPJOKBED = 6; + uint32 Unk2700_OEDDPDJEEPC = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.pb.go new file mode 100644 index 00000000..bac90fd1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IACKJNNMCAC_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4523 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IACKJNNMCAC_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,14,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *Unk2700_IACKJNNMCAC_ClientReq) Reset() { + *x = Unk2700_IACKJNNMCAC_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IACKJNNMCAC_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IACKJNNMCAC_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IACKJNNMCAC_ClientReq) ProtoMessage() {} + +func (x *Unk2700_IACKJNNMCAC_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IACKJNNMCAC_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IACKJNNMCAC_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_IACKJNNMCAC_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IACKJNNMCAC_ClientReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_Unk2700_IACKJNNMCAC_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x41, 0x43, 0x4b, 0x4a, 0x4e, + 0x4e, 0x4d, 0x43, 0x41, 0x43, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x41, 0x43, 0x4b, 0x4a, 0x4e, 0x4e, 0x4d, 0x43, 0x41, 0x43, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescData = file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDesc +) + +func file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescData) + }) + return file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDescData +} + +var file_Unk2700_IACKJNNMCAC_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IACKJNNMCAC_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_IACKJNNMCAC_ClientReq)(nil), // 0: Unk2700_IACKJNNMCAC_ClientReq +} +var file_Unk2700_IACKJNNMCAC_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IACKJNNMCAC_ClientReq_proto_init() } +func file_Unk2700_IACKJNNMCAC_ClientReq_proto_init() { + if File_Unk2700_IACKJNNMCAC_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IACKJNNMCAC_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IACKJNNMCAC_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IACKJNNMCAC_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_IACKJNNMCAC_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_IACKJNNMCAC_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_IACKJNNMCAC_ClientReq_proto = out.File + file_Unk2700_IACKJNNMCAC_ClientReq_proto_rawDesc = nil + file_Unk2700_IACKJNNMCAC_ClientReq_proto_goTypes = nil + file_Unk2700_IACKJNNMCAC_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.proto new file mode 100644 index 00000000..d07f7efc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IACKJNNMCAC_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4523 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IACKJNNMCAC_ClientReq { + uint32 group_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.pb.go b/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.pb.go new file mode 100644 index 00000000..4c0255bf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IBEKDNOGMLA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IBEKDNOGMLA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JONOMFENDFP *Unk2700_INMNHKOPCFB `protobuf:"bytes,5,opt,name=Unk2700_JONOMFENDFP,json=Unk2700JONOMFENDFP,proto3" json:"Unk2700_JONOMFENDFP,omitempty"` + Unk2700_MJLHEFIGIKD []uint32 `protobuf:"varint,2,rep,packed,name=Unk2700_MJLHEFIGIKD,json=Unk2700MJLHEFIGIKD,proto3" json:"Unk2700_MJLHEFIGIKD,omitempty"` + ExitPointIdList []uint32 `protobuf:"varint,13,rep,packed,name=exit_point_id_list,json=exitPointIdList,proto3" json:"exit_point_id_list,omitempty"` +} + +func (x *Unk2700_IBEKDNOGMLA) Reset() { + *x = Unk2700_IBEKDNOGMLA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IBEKDNOGMLA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IBEKDNOGMLA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IBEKDNOGMLA) ProtoMessage() {} + +func (x *Unk2700_IBEKDNOGMLA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IBEKDNOGMLA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IBEKDNOGMLA.ProtoReflect.Descriptor instead. +func (*Unk2700_IBEKDNOGMLA) Descriptor() ([]byte, []int) { + return file_Unk2700_IBEKDNOGMLA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IBEKDNOGMLA) GetUnk2700_JONOMFENDFP() *Unk2700_INMNHKOPCFB { + if x != nil { + return x.Unk2700_JONOMFENDFP + } + return nil +} + +func (x *Unk2700_IBEKDNOGMLA) GetUnk2700_MJLHEFIGIKD() []uint32 { + if x != nil { + return x.Unk2700_MJLHEFIGIKD + } + return nil +} + +func (x *Unk2700_IBEKDNOGMLA) GetExitPointIdList() []uint32 { + if x != nil { + return x.ExitPointIdList + } + return nil +} + +var File_Unk2700_IBEKDNOGMLA_proto protoreflect.FileDescriptor + +var file_Unk2700_IBEKDNOGMLA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x45, 0x4b, 0x44, 0x4e, + 0x4f, 0x47, 0x4d, 0x4c, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4d, 0x4e, 0x48, 0x4b, 0x4f, 0x50, 0x43, 0x46, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x42, 0x45, 0x4b, 0x44, 0x4e, 0x4f, 0x47, 0x4d, 0x4c, 0x41, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x4e, 0x4f, 0x4d, 0x46, + 0x45, 0x4e, 0x44, 0x46, 0x50, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4d, 0x4e, 0x48, 0x4b, 0x4f, 0x50, 0x43, 0x46, + 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x4f, 0x4e, 0x4f, 0x4d, 0x46, + 0x45, 0x4e, 0x44, 0x46, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x4a, 0x4c, 0x48, 0x45, 0x46, 0x49, 0x47, 0x49, 0x4b, 0x44, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4a, 0x4c, 0x48, 0x45, + 0x46, 0x49, 0x47, 0x49, 0x4b, 0x44, 0x12, 0x2b, 0x0a, 0x12, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0f, 0x65, 0x78, 0x69, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IBEKDNOGMLA_proto_rawDescOnce sync.Once + file_Unk2700_IBEKDNOGMLA_proto_rawDescData = file_Unk2700_IBEKDNOGMLA_proto_rawDesc +) + +func file_Unk2700_IBEKDNOGMLA_proto_rawDescGZIP() []byte { + file_Unk2700_IBEKDNOGMLA_proto_rawDescOnce.Do(func() { + file_Unk2700_IBEKDNOGMLA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IBEKDNOGMLA_proto_rawDescData) + }) + return file_Unk2700_IBEKDNOGMLA_proto_rawDescData +} + +var file_Unk2700_IBEKDNOGMLA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IBEKDNOGMLA_proto_goTypes = []interface{}{ + (*Unk2700_IBEKDNOGMLA)(nil), // 0: Unk2700_IBEKDNOGMLA + (*Unk2700_INMNHKOPCFB)(nil), // 1: Unk2700_INMNHKOPCFB +} +var file_Unk2700_IBEKDNOGMLA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IBEKDNOGMLA.Unk2700_JONOMFENDFP:type_name -> Unk2700_INMNHKOPCFB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IBEKDNOGMLA_proto_init() } +func file_Unk2700_IBEKDNOGMLA_proto_init() { + if File_Unk2700_IBEKDNOGMLA_proto != nil { + return + } + file_Unk2700_INMNHKOPCFB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IBEKDNOGMLA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IBEKDNOGMLA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IBEKDNOGMLA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IBEKDNOGMLA_proto_goTypes, + DependencyIndexes: file_Unk2700_IBEKDNOGMLA_proto_depIdxs, + MessageInfos: file_Unk2700_IBEKDNOGMLA_proto_msgTypes, + }.Build() + File_Unk2700_IBEKDNOGMLA_proto = out.File + file_Unk2700_IBEKDNOGMLA_proto_rawDesc = nil + file_Unk2700_IBEKDNOGMLA_proto_goTypes = nil + file_Unk2700_IBEKDNOGMLA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.proto b/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.proto new file mode 100644 index 00000000..2ee74703 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IBEKDNOGMLA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_INMNHKOPCFB.proto"; + +option go_package = "./;proto"; + +message Unk2700_IBEKDNOGMLA { + Unk2700_INMNHKOPCFB Unk2700_JONOMFENDFP = 5; + repeated uint32 Unk2700_MJLHEFIGIKD = 2; + repeated uint32 exit_point_id_list = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.pb.go b/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.pb.go new file mode 100644 index 00000000..b9c65085 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IBOKDNKBMII.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8825 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IBOKDNKBMII struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MOKOAHDHAGA uint32 `protobuf:"varint,8,opt,name=Unk2700_MOKOAHDHAGA,json=Unk2700MOKOAHDHAGA,proto3" json:"Unk2700_MOKOAHDHAGA,omitempty"` +} + +func (x *Unk2700_IBOKDNKBMII) Reset() { + *x = Unk2700_IBOKDNKBMII{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IBOKDNKBMII_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IBOKDNKBMII) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IBOKDNKBMII) ProtoMessage() {} + +func (x *Unk2700_IBOKDNKBMII) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IBOKDNKBMII_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IBOKDNKBMII.ProtoReflect.Descriptor instead. +func (*Unk2700_IBOKDNKBMII) Descriptor() ([]byte, []int) { + return file_Unk2700_IBOKDNKBMII_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IBOKDNKBMII) GetUnk2700_MOKOAHDHAGA() uint32 { + if x != nil { + return x.Unk2700_MOKOAHDHAGA + } + return 0 +} + +var File_Unk2700_IBOKDNKBMII_proto protoreflect.FileDescriptor + +var file_Unk2700_IBOKDNKBMII_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4f, 0x4b, 0x44, 0x4e, + 0x4b, 0x42, 0x4d, 0x49, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4f, 0x4b, 0x44, 0x4e, 0x4b, 0x42, 0x4d, + 0x49, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, + 0x4b, 0x4f, 0x41, 0x48, 0x44, 0x48, 0x41, 0x47, 0x41, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4f, 0x4b, 0x4f, 0x41, 0x48, 0x44, 0x48, + 0x41, 0x47, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IBOKDNKBMII_proto_rawDescOnce sync.Once + file_Unk2700_IBOKDNKBMII_proto_rawDescData = file_Unk2700_IBOKDNKBMII_proto_rawDesc +) + +func file_Unk2700_IBOKDNKBMII_proto_rawDescGZIP() []byte { + file_Unk2700_IBOKDNKBMII_proto_rawDescOnce.Do(func() { + file_Unk2700_IBOKDNKBMII_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IBOKDNKBMII_proto_rawDescData) + }) + return file_Unk2700_IBOKDNKBMII_proto_rawDescData +} + +var file_Unk2700_IBOKDNKBMII_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IBOKDNKBMII_proto_goTypes = []interface{}{ + (*Unk2700_IBOKDNKBMII)(nil), // 0: Unk2700_IBOKDNKBMII +} +var file_Unk2700_IBOKDNKBMII_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IBOKDNKBMII_proto_init() } +func file_Unk2700_IBOKDNKBMII_proto_init() { + if File_Unk2700_IBOKDNKBMII_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IBOKDNKBMII_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IBOKDNKBMII); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IBOKDNKBMII_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IBOKDNKBMII_proto_goTypes, + DependencyIndexes: file_Unk2700_IBOKDNKBMII_proto_depIdxs, + MessageInfos: file_Unk2700_IBOKDNKBMII_proto_msgTypes, + }.Build() + File_Unk2700_IBOKDNKBMII_proto = out.File + file_Unk2700_IBOKDNKBMII_proto_rawDesc = nil + file_Unk2700_IBOKDNKBMII_proto_goTypes = nil + file_Unk2700_IBOKDNKBMII_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.proto b/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.proto new file mode 100644 index 00000000..dc8f95db --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IBOKDNKBMII.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8825 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IBOKDNKBMII { + uint32 Unk2700_MOKOAHDHAGA = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.pb.go b/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.pb.go new file mode 100644 index 00000000..1030b80c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ICABIPHHPKE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8028 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_ICABIPHHPKE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GGNBBHMGLAN []uint32 `protobuf:"varint,15,rep,packed,name=Unk2700_GGNBBHMGLAN,json=Unk2700GGNBBHMGLAN,proto3" json:"Unk2700_GGNBBHMGLAN,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_ICABIPHHPKE) Reset() { + *x = Unk2700_ICABIPHHPKE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ICABIPHHPKE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ICABIPHHPKE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ICABIPHHPKE) ProtoMessage() {} + +func (x *Unk2700_ICABIPHHPKE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ICABIPHHPKE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ICABIPHHPKE.ProtoReflect.Descriptor instead. +func (*Unk2700_ICABIPHHPKE) Descriptor() ([]byte, []int) { + return file_Unk2700_ICABIPHHPKE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ICABIPHHPKE) GetUnk2700_GGNBBHMGLAN() []uint32 { + if x != nil { + return x.Unk2700_GGNBBHMGLAN + } + return nil +} + +func (x *Unk2700_ICABIPHHPKE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_ICABIPHHPKE_proto protoreflect.FileDescriptor + +var file_Unk2700_ICABIPHHPKE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x41, 0x42, 0x49, 0x50, + 0x48, 0x48, 0x50, 0x4b, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x41, 0x42, 0x49, 0x50, 0x48, 0x48, 0x50, + 0x4b, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x47, + 0x4e, 0x42, 0x42, 0x48, 0x4d, 0x47, 0x4c, 0x41, 0x4e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x47, 0x4e, 0x42, 0x42, 0x48, 0x4d, 0x47, + 0x4c, 0x41, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_ICABIPHHPKE_proto_rawDescOnce sync.Once + file_Unk2700_ICABIPHHPKE_proto_rawDescData = file_Unk2700_ICABIPHHPKE_proto_rawDesc +) + +func file_Unk2700_ICABIPHHPKE_proto_rawDescGZIP() []byte { + file_Unk2700_ICABIPHHPKE_proto_rawDescOnce.Do(func() { + file_Unk2700_ICABIPHHPKE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ICABIPHHPKE_proto_rawDescData) + }) + return file_Unk2700_ICABIPHHPKE_proto_rawDescData +} + +var file_Unk2700_ICABIPHHPKE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ICABIPHHPKE_proto_goTypes = []interface{}{ + (*Unk2700_ICABIPHHPKE)(nil), // 0: Unk2700_ICABIPHHPKE +} +var file_Unk2700_ICABIPHHPKE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ICABIPHHPKE_proto_init() } +func file_Unk2700_ICABIPHHPKE_proto_init() { + if File_Unk2700_ICABIPHHPKE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ICABIPHHPKE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ICABIPHHPKE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ICABIPHHPKE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ICABIPHHPKE_proto_goTypes, + DependencyIndexes: file_Unk2700_ICABIPHHPKE_proto_depIdxs, + MessageInfos: file_Unk2700_ICABIPHHPKE_proto_msgTypes, + }.Build() + File_Unk2700_ICABIPHHPKE_proto = out.File + file_Unk2700_ICABIPHHPKE_proto_rawDesc = nil + file_Unk2700_ICABIPHHPKE_proto_goTypes = nil + file_Unk2700_ICABIPHHPKE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.proto b/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.proto new file mode 100644 index 00000000..6888a5d3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ICABIPHHPKE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8028 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_ICABIPHHPKE { + repeated uint32 Unk2700_GGNBBHMGLAN = 15; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.pb.go b/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.pb.go new file mode 100644 index 00000000..1d343181 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ICPNKAALJEP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_ICPNKAALJEP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,8,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + SettleInfo *Unk2700_KLJLJGJOBDI `protobuf:"bytes,14,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *Unk2700_ICPNKAALJEP) Reset() { + *x = Unk2700_ICPNKAALJEP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ICPNKAALJEP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ICPNKAALJEP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ICPNKAALJEP) ProtoMessage() {} + +func (x *Unk2700_ICPNKAALJEP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ICPNKAALJEP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ICPNKAALJEP.ProtoReflect.Descriptor instead. +func (*Unk2700_ICPNKAALJEP) Descriptor() ([]byte, []int) { + return file_Unk2700_ICPNKAALJEP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ICPNKAALJEP) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk2700_ICPNKAALJEP) GetSettleInfo() *Unk2700_KLJLJGJOBDI { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_Unk2700_ICPNKAALJEP_proto protoreflect.FileDescriptor + +var file_Unk2700_ICPNKAALJEP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x50, 0x4e, 0x4b, 0x41, + 0x41, 0x4c, 0x4a, 0x45, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4a, 0x4c, 0x4a, 0x47, 0x4a, 0x4f, 0x42, 0x44, 0x49, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x43, 0x50, 0x4e, 0x4b, 0x41, 0x41, 0x4c, 0x4a, 0x45, 0x50, 0x12, 0x22, 0x0a, + 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4c, 0x4a, 0x4c, 0x4a, 0x47, 0x4a, 0x4f, 0x42, 0x44, 0x49, 0x52, 0x0a, 0x73, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ICPNKAALJEP_proto_rawDescOnce sync.Once + file_Unk2700_ICPNKAALJEP_proto_rawDescData = file_Unk2700_ICPNKAALJEP_proto_rawDesc +) + +func file_Unk2700_ICPNKAALJEP_proto_rawDescGZIP() []byte { + file_Unk2700_ICPNKAALJEP_proto_rawDescOnce.Do(func() { + file_Unk2700_ICPNKAALJEP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ICPNKAALJEP_proto_rawDescData) + }) + return file_Unk2700_ICPNKAALJEP_proto_rawDescData +} + +var file_Unk2700_ICPNKAALJEP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ICPNKAALJEP_proto_goTypes = []interface{}{ + (*Unk2700_ICPNKAALJEP)(nil), // 0: Unk2700_ICPNKAALJEP + (*Unk2700_KLJLJGJOBDI)(nil), // 1: Unk2700_KLJLJGJOBDI +} +var file_Unk2700_ICPNKAALJEP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ICPNKAALJEP.settle_info:type_name -> Unk2700_KLJLJGJOBDI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ICPNKAALJEP_proto_init() } +func file_Unk2700_ICPNKAALJEP_proto_init() { + if File_Unk2700_ICPNKAALJEP_proto != nil { + return + } + file_Unk2700_KLJLJGJOBDI_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ICPNKAALJEP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ICPNKAALJEP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ICPNKAALJEP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ICPNKAALJEP_proto_goTypes, + DependencyIndexes: file_Unk2700_ICPNKAALJEP_proto_depIdxs, + MessageInfos: file_Unk2700_ICPNKAALJEP_proto_msgTypes, + }.Build() + File_Unk2700_ICPNKAALJEP_proto = out.File + file_Unk2700_ICPNKAALJEP_proto_rawDesc = nil + file_Unk2700_ICPNKAALJEP_proto_goTypes = nil + file_Unk2700_ICPNKAALJEP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.proto b/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.proto new file mode 100644 index 00000000..ba36e715 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ICPNKAALJEP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KLJLJGJOBDI.proto"; + +option go_package = "./;proto"; + +message Unk2700_ICPNKAALJEP { + bool is_new_record = 8; + Unk2700_KLJLJGJOBDI settle_info = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.pb.go new file mode 100644 index 00000000..1b600ceb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IDADEMGCJBF_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6243 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IDADEMGCJBF_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_IDADEMGCJBF_ClientNotify) Reset() { + *x = Unk2700_IDADEMGCJBF_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IDADEMGCJBF_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IDADEMGCJBF_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IDADEMGCJBF_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_IDADEMGCJBF_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IDADEMGCJBF_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IDADEMGCJBF_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_IDADEMGCJBF_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_IDADEMGCJBF_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x41, 0x44, 0x45, 0x4d, + 0x47, 0x43, 0x4a, 0x42, 0x46, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x41, 0x44, 0x45, 0x4d, 0x47, 0x43, 0x4a, 0x42, 0x46, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescData = file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDesc +) + +func file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDescData +} + +var file_Unk2700_IDADEMGCJBF_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IDADEMGCJBF_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_IDADEMGCJBF_ClientNotify)(nil), // 0: Unk2700_IDADEMGCJBF_ClientNotify +} +var file_Unk2700_IDADEMGCJBF_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IDADEMGCJBF_ClientNotify_proto_init() } +func file_Unk2700_IDADEMGCJBF_ClientNotify_proto_init() { + if File_Unk2700_IDADEMGCJBF_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IDADEMGCJBF_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IDADEMGCJBF_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_IDADEMGCJBF_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_IDADEMGCJBF_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_IDADEMGCJBF_ClientNotify_proto = out.File + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_rawDesc = nil + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_goTypes = nil + file_Unk2700_IDADEMGCJBF_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.proto new file mode 100644 index 00000000..64b176d5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDADEMGCJBF_ClientNotify.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6243 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IDADEMGCJBF_ClientNotify {} diff --git a/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.pb.go b/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.pb.go new file mode 100644 index 00000000..7f20eef8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IDAGMLJOJMP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8799 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IDAGMLJOJMP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_IDAGMLJOJMP) Reset() { + *x = Unk2700_IDAGMLJOJMP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IDAGMLJOJMP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IDAGMLJOJMP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IDAGMLJOJMP) ProtoMessage() {} + +func (x *Unk2700_IDAGMLJOJMP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IDAGMLJOJMP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IDAGMLJOJMP.ProtoReflect.Descriptor instead. +func (*Unk2700_IDAGMLJOJMP) Descriptor() ([]byte, []int) { + return file_Unk2700_IDAGMLJOJMP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IDAGMLJOJMP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_IDAGMLJOJMP_proto protoreflect.FileDescriptor + +var file_Unk2700_IDAGMLJOJMP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x41, 0x47, 0x4d, 0x4c, + 0x4a, 0x4f, 0x4a, 0x4d, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x41, 0x47, 0x4d, 0x4c, 0x4a, 0x4f, 0x4a, + 0x4d, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IDAGMLJOJMP_proto_rawDescOnce sync.Once + file_Unk2700_IDAGMLJOJMP_proto_rawDescData = file_Unk2700_IDAGMLJOJMP_proto_rawDesc +) + +func file_Unk2700_IDAGMLJOJMP_proto_rawDescGZIP() []byte { + file_Unk2700_IDAGMLJOJMP_proto_rawDescOnce.Do(func() { + file_Unk2700_IDAGMLJOJMP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IDAGMLJOJMP_proto_rawDescData) + }) + return file_Unk2700_IDAGMLJOJMP_proto_rawDescData +} + +var file_Unk2700_IDAGMLJOJMP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IDAGMLJOJMP_proto_goTypes = []interface{}{ + (*Unk2700_IDAGMLJOJMP)(nil), // 0: Unk2700_IDAGMLJOJMP +} +var file_Unk2700_IDAGMLJOJMP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IDAGMLJOJMP_proto_init() } +func file_Unk2700_IDAGMLJOJMP_proto_init() { + if File_Unk2700_IDAGMLJOJMP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IDAGMLJOJMP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IDAGMLJOJMP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IDAGMLJOJMP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IDAGMLJOJMP_proto_goTypes, + DependencyIndexes: file_Unk2700_IDAGMLJOJMP_proto_depIdxs, + MessageInfos: file_Unk2700_IDAGMLJOJMP_proto_msgTypes, + }.Build() + File_Unk2700_IDAGMLJOJMP_proto = out.File + file_Unk2700_IDAGMLJOJMP_proto_rawDesc = nil + file_Unk2700_IDAGMLJOJMP_proto_goTypes = nil + file_Unk2700_IDAGMLJOJMP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.proto b/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.proto new file mode 100644 index 00000000..8df696ac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDAGMLJOJMP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8799 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IDAGMLJOJMP { + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.pb.go b/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.pb.go new file mode 100644 index 00000000..455f0c73 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IDGCNKONBBJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8793 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IDGCNKONBBJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_IDGCNKONBBJ) Reset() { + *x = Unk2700_IDGCNKONBBJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IDGCNKONBBJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IDGCNKONBBJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IDGCNKONBBJ) ProtoMessage() {} + +func (x *Unk2700_IDGCNKONBBJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IDGCNKONBBJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IDGCNKONBBJ.ProtoReflect.Descriptor instead. +func (*Unk2700_IDGCNKONBBJ) Descriptor() ([]byte, []int) { + return file_Unk2700_IDGCNKONBBJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IDGCNKONBBJ) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_IDGCNKONBBJ_proto protoreflect.FileDescriptor + +var file_Unk2700_IDGCNKONBBJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x47, 0x43, 0x4e, 0x4b, + 0x4f, 0x4e, 0x42, 0x42, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x47, 0x43, 0x4e, 0x4b, 0x4f, 0x4e, 0x42, + 0x42, 0x4a, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IDGCNKONBBJ_proto_rawDescOnce sync.Once + file_Unk2700_IDGCNKONBBJ_proto_rawDescData = file_Unk2700_IDGCNKONBBJ_proto_rawDesc +) + +func file_Unk2700_IDGCNKONBBJ_proto_rawDescGZIP() []byte { + file_Unk2700_IDGCNKONBBJ_proto_rawDescOnce.Do(func() { + file_Unk2700_IDGCNKONBBJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IDGCNKONBBJ_proto_rawDescData) + }) + return file_Unk2700_IDGCNKONBBJ_proto_rawDescData +} + +var file_Unk2700_IDGCNKONBBJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IDGCNKONBBJ_proto_goTypes = []interface{}{ + (*Unk2700_IDGCNKONBBJ)(nil), // 0: Unk2700_IDGCNKONBBJ +} +var file_Unk2700_IDGCNKONBBJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IDGCNKONBBJ_proto_init() } +func file_Unk2700_IDGCNKONBBJ_proto_init() { + if File_Unk2700_IDGCNKONBBJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IDGCNKONBBJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IDGCNKONBBJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IDGCNKONBBJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IDGCNKONBBJ_proto_goTypes, + DependencyIndexes: file_Unk2700_IDGCNKONBBJ_proto_depIdxs, + MessageInfos: file_Unk2700_IDGCNKONBBJ_proto_msgTypes, + }.Build() + File_Unk2700_IDGCNKONBBJ_proto = out.File + file_Unk2700_IDGCNKONBBJ_proto_rawDesc = nil + file_Unk2700_IDGCNKONBBJ_proto_goTypes = nil + file_Unk2700_IDGCNKONBBJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.proto b/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.proto new file mode 100644 index 00000000..495a0fb2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IDGCNKONBBJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8793 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IDGCNKONBBJ { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.pb.go b/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.pb.go new file mode 100644 index 00000000..310672ba --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IEFAGBHIODK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8402 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IEFAGBHIODK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_CPOJCHEOPLB []uint32 `protobuf:"varint,13,rep,packed,name=Unk2700_CPOJCHEOPLB,json=Unk2700CPOJCHEOPLB,proto3" json:"Unk2700_CPOJCHEOPLB,omitempty"` + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Time uint32 `protobuf:"varint,8,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *Unk2700_IEFAGBHIODK) Reset() { + *x = Unk2700_IEFAGBHIODK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IEFAGBHIODK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IEFAGBHIODK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IEFAGBHIODK) ProtoMessage() {} + +func (x *Unk2700_IEFAGBHIODK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IEFAGBHIODK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IEFAGBHIODK.ProtoReflect.Descriptor instead. +func (*Unk2700_IEFAGBHIODK) Descriptor() ([]byte, []int) { + return file_Unk2700_IEFAGBHIODK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IEFAGBHIODK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_IEFAGBHIODK) GetUnk2700_CPOJCHEOPLB() []uint32 { + if x != nil { + return x.Unk2700_CPOJCHEOPLB + } + return nil +} + +func (x *Unk2700_IEFAGBHIODK) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_IEFAGBHIODK) GetTime() uint32 { + if x != nil { + return x.Time + } + return 0 +} + +var File_Unk2700_IEFAGBHIODK_proto protoreflect.FileDescriptor + +var file_Unk2700_IEFAGBHIODK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x46, 0x41, 0x47, 0x42, + 0x48, 0x49, 0x4f, 0x44, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x46, 0x41, 0x47, 0x42, 0x48, 0x49, + 0x4f, 0x44, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x4f, 0x4a, 0x43, 0x48, 0x45, + 0x4f, 0x50, 0x4c, 0x42, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x43, 0x50, 0x4f, 0x4a, 0x43, 0x48, 0x45, 0x4f, 0x50, 0x4c, 0x42, 0x12, 0x19, + 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_IEFAGBHIODK_proto_rawDescOnce sync.Once + file_Unk2700_IEFAGBHIODK_proto_rawDescData = file_Unk2700_IEFAGBHIODK_proto_rawDesc +) + +func file_Unk2700_IEFAGBHIODK_proto_rawDescGZIP() []byte { + file_Unk2700_IEFAGBHIODK_proto_rawDescOnce.Do(func() { + file_Unk2700_IEFAGBHIODK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IEFAGBHIODK_proto_rawDescData) + }) + return file_Unk2700_IEFAGBHIODK_proto_rawDescData +} + +var file_Unk2700_IEFAGBHIODK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IEFAGBHIODK_proto_goTypes = []interface{}{ + (*Unk2700_IEFAGBHIODK)(nil), // 0: Unk2700_IEFAGBHIODK +} +var file_Unk2700_IEFAGBHIODK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IEFAGBHIODK_proto_init() } +func file_Unk2700_IEFAGBHIODK_proto_init() { + if File_Unk2700_IEFAGBHIODK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IEFAGBHIODK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IEFAGBHIODK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IEFAGBHIODK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IEFAGBHIODK_proto_goTypes, + DependencyIndexes: file_Unk2700_IEFAGBHIODK_proto_depIdxs, + MessageInfos: file_Unk2700_IEFAGBHIODK_proto_msgTypes, + }.Build() + File_Unk2700_IEFAGBHIODK_proto = out.File + file_Unk2700_IEFAGBHIODK_proto_rawDesc = nil + file_Unk2700_IEFAGBHIODK_proto_goTypes = nil + file_Unk2700_IEFAGBHIODK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.proto b/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.proto new file mode 100644 index 00000000..4b6e07fb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEFAGBHIODK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8402 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IEFAGBHIODK { + int32 retcode = 5; + repeated uint32 Unk2700_CPOJCHEOPLB = 13; + uint32 level_id = 10; + uint32 time = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.pb.go b/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.pb.go new file mode 100644 index 00000000..44bcb399 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IEFGLPNHHAJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IEFGLPNHHAJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OKEAMNBIBDC []uint32 `protobuf:"varint,10,rep,packed,name=Unk2700_OKEAMNBIBDC,json=Unk2700OKEAMNBIBDC,proto3" json:"Unk2700_OKEAMNBIBDC,omitempty"` + Unk2700_DOBMDALKEOF []uint32 `protobuf:"varint,7,rep,packed,name=Unk2700_DOBMDALKEOF,json=Unk2700DOBMDALKEOF,proto3" json:"Unk2700_DOBMDALKEOF,omitempty"` +} + +func (x *Unk2700_IEFGLPNHHAJ) Reset() { + *x = Unk2700_IEFGLPNHHAJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IEFGLPNHHAJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IEFGLPNHHAJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IEFGLPNHHAJ) ProtoMessage() {} + +func (x *Unk2700_IEFGLPNHHAJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IEFGLPNHHAJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IEFGLPNHHAJ.ProtoReflect.Descriptor instead. +func (*Unk2700_IEFGLPNHHAJ) Descriptor() ([]byte, []int) { + return file_Unk2700_IEFGLPNHHAJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IEFGLPNHHAJ) GetUnk2700_OKEAMNBIBDC() []uint32 { + if x != nil { + return x.Unk2700_OKEAMNBIBDC + } + return nil +} + +func (x *Unk2700_IEFGLPNHHAJ) GetUnk2700_DOBMDALKEOF() []uint32 { + if x != nil { + return x.Unk2700_DOBMDALKEOF + } + return nil +} + +var File_Unk2700_IEFGLPNHHAJ_proto protoreflect.FileDescriptor + +var file_Unk2700_IEFGLPNHHAJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x46, 0x47, 0x4c, 0x50, + 0x4e, 0x48, 0x48, 0x41, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x46, 0x47, 0x4c, 0x50, 0x4e, 0x48, 0x48, + 0x41, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, + 0x45, 0x41, 0x4d, 0x4e, 0x42, 0x49, 0x42, 0x44, 0x43, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4b, 0x45, 0x41, 0x4d, 0x4e, 0x42, 0x49, + 0x42, 0x44, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x4f, 0x42, 0x4d, 0x44, 0x41, 0x4c, 0x4b, 0x45, 0x4f, 0x46, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4f, 0x42, 0x4d, 0x44, 0x41, 0x4c, + 0x4b, 0x45, 0x4f, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IEFGLPNHHAJ_proto_rawDescOnce sync.Once + file_Unk2700_IEFGLPNHHAJ_proto_rawDescData = file_Unk2700_IEFGLPNHHAJ_proto_rawDesc +) + +func file_Unk2700_IEFGLPNHHAJ_proto_rawDescGZIP() []byte { + file_Unk2700_IEFGLPNHHAJ_proto_rawDescOnce.Do(func() { + file_Unk2700_IEFGLPNHHAJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IEFGLPNHHAJ_proto_rawDescData) + }) + return file_Unk2700_IEFGLPNHHAJ_proto_rawDescData +} + +var file_Unk2700_IEFGLPNHHAJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IEFGLPNHHAJ_proto_goTypes = []interface{}{ + (*Unk2700_IEFGLPNHHAJ)(nil), // 0: Unk2700_IEFGLPNHHAJ +} +var file_Unk2700_IEFGLPNHHAJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IEFGLPNHHAJ_proto_init() } +func file_Unk2700_IEFGLPNHHAJ_proto_init() { + if File_Unk2700_IEFGLPNHHAJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IEFGLPNHHAJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IEFGLPNHHAJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IEFGLPNHHAJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IEFGLPNHHAJ_proto_goTypes, + DependencyIndexes: file_Unk2700_IEFGLPNHHAJ_proto_depIdxs, + MessageInfos: file_Unk2700_IEFGLPNHHAJ_proto_msgTypes, + }.Build() + File_Unk2700_IEFGLPNHHAJ_proto = out.File + file_Unk2700_IEFGLPNHHAJ_proto_rawDesc = nil + file_Unk2700_IEFGLPNHHAJ_proto_goTypes = nil + file_Unk2700_IEFGLPNHHAJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.proto b/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.proto new file mode 100644 index 00000000..5e4c900f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEFGLPNHHAJ.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_IEFGLPNHHAJ { + repeated uint32 Unk2700_OKEAMNBIBDC = 10; + repeated uint32 Unk2700_DOBMDALKEOF = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.pb.go b/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.pb.go new file mode 100644 index 00000000..b812b25f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IEGOOOECBFH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8880 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IEGOOOECBFH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BABEGIGEEIB *Unk2700_HIHKGMLLOGD `protobuf:"bytes,13,opt,name=Unk2700_BABEGIGEEIB,json=Unk2700BABEGIGEEIB,proto3" json:"Unk2700_BABEGIGEEIB,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_IEGOOOECBFH) Reset() { + *x = Unk2700_IEGOOOECBFH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IEGOOOECBFH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IEGOOOECBFH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IEGOOOECBFH) ProtoMessage() {} + +func (x *Unk2700_IEGOOOECBFH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IEGOOOECBFH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IEGOOOECBFH.ProtoReflect.Descriptor instead. +func (*Unk2700_IEGOOOECBFH) Descriptor() ([]byte, []int) { + return file_Unk2700_IEGOOOECBFH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IEGOOOECBFH) GetUnk2700_BABEGIGEEIB() *Unk2700_HIHKGMLLOGD { + if x != nil { + return x.Unk2700_BABEGIGEEIB + } + return nil +} + +func (x *Unk2700_IEGOOOECBFH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_IEGOOOECBFH_proto protoreflect.FileDescriptor + +var file_Unk2700_IEGOOOECBFH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x47, 0x4f, 0x4f, 0x4f, + 0x45, 0x43, 0x42, 0x46, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x45, 0x47, 0x4f, 0x4f, 0x4f, 0x45, 0x43, 0x42, 0x46, 0x48, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x41, 0x42, 0x45, 0x47, 0x49, 0x47, + 0x45, 0x45, 0x49, 0x42, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, 0x44, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x41, 0x42, 0x45, 0x47, 0x49, 0x47, + 0x45, 0x45, 0x49, 0x42, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_IEGOOOECBFH_proto_rawDescOnce sync.Once + file_Unk2700_IEGOOOECBFH_proto_rawDescData = file_Unk2700_IEGOOOECBFH_proto_rawDesc +) + +func file_Unk2700_IEGOOOECBFH_proto_rawDescGZIP() []byte { + file_Unk2700_IEGOOOECBFH_proto_rawDescOnce.Do(func() { + file_Unk2700_IEGOOOECBFH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IEGOOOECBFH_proto_rawDescData) + }) + return file_Unk2700_IEGOOOECBFH_proto_rawDescData +} + +var file_Unk2700_IEGOOOECBFH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IEGOOOECBFH_proto_goTypes = []interface{}{ + (*Unk2700_IEGOOOECBFH)(nil), // 0: Unk2700_IEGOOOECBFH + (*Unk2700_HIHKGMLLOGD)(nil), // 1: Unk2700_HIHKGMLLOGD +} +var file_Unk2700_IEGOOOECBFH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IEGOOOECBFH.Unk2700_BABEGIGEEIB:type_name -> Unk2700_HIHKGMLLOGD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IEGOOOECBFH_proto_init() } +func file_Unk2700_IEGOOOECBFH_proto_init() { + if File_Unk2700_IEGOOOECBFH_proto != nil { + return + } + file_Unk2700_HIHKGMLLOGD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IEGOOOECBFH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IEGOOOECBFH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IEGOOOECBFH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IEGOOOECBFH_proto_goTypes, + DependencyIndexes: file_Unk2700_IEGOOOECBFH_proto_depIdxs, + MessageInfos: file_Unk2700_IEGOOOECBFH_proto_msgTypes, + }.Build() + File_Unk2700_IEGOOOECBFH_proto = out.File + file_Unk2700_IEGOOOECBFH_proto_rawDesc = nil + file_Unk2700_IEGOOOECBFH_proto_goTypes = nil + file_Unk2700_IEGOOOECBFH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.proto b/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.proto new file mode 100644 index 00000000..ac654f66 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEGOOOECBFH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HIHKGMLLOGD.proto"; + +option go_package = "./;proto"; + +// CmdId: 8880 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IEGOOOECBFH { + Unk2700_HIHKGMLLOGD Unk2700_BABEGIGEEIB = 13; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.pb.go b/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.pb.go new file mode 100644 index 00000000..0b957a1d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IEPIBFMCJNJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IEPIBFMCJNJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,15,opt,name=uid,proto3" json:"uid,omitempty"` + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` + RemarkName string `protobuf:"bytes,10,opt,name=remark_name,json=remarkName,proto3" json:"remark_name,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,14,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Unk2700_IFCNGIPPOAE map[uint32]uint32 `protobuf:"bytes,8,rep,name=Unk2700_IFCNGIPPOAE,json=Unk2700IFCNGIPPOAE,proto3" json:"Unk2700_IFCNGIPPOAE,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_IEPIBFMCJNJ) Reset() { + *x = Unk2700_IEPIBFMCJNJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IEPIBFMCJNJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IEPIBFMCJNJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IEPIBFMCJNJ) ProtoMessage() {} + +func (x *Unk2700_IEPIBFMCJNJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IEPIBFMCJNJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IEPIBFMCJNJ.ProtoReflect.Descriptor instead. +func (*Unk2700_IEPIBFMCJNJ) Descriptor() ([]byte, []int) { + return file_Unk2700_IEPIBFMCJNJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IEPIBFMCJNJ) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_IEPIBFMCJNJ) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *Unk2700_IEPIBFMCJNJ) GetRemarkName() string { + if x != nil { + return x.RemarkName + } + return "" +} + +func (x *Unk2700_IEPIBFMCJNJ) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *Unk2700_IEPIBFMCJNJ) GetUnk2700_IFCNGIPPOAE() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFCNGIPPOAE + } + return nil +} + +var File_Unk2700_IEPIBFMCJNJ_proto protoreflect.FileDescriptor + +var file_Unk2700_IEPIBFMCJNJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x50, 0x49, 0x42, 0x46, + 0x4d, 0x43, 0x4a, 0x4e, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xc4, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, + 0x50, 0x49, 0x42, 0x46, 0x4d, 0x43, 0x4a, 0x4e, 0x4a, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, + 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, + 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x72, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, + 0x6d, 0x61, 0x72, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x46, + 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x50, 0x49, 0x42, 0x46, + 0x4d, 0x43, 0x4a, 0x4e, 0x4a, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, + 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, + 0x45, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, + 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IEPIBFMCJNJ_proto_rawDescOnce sync.Once + file_Unk2700_IEPIBFMCJNJ_proto_rawDescData = file_Unk2700_IEPIBFMCJNJ_proto_rawDesc +) + +func file_Unk2700_IEPIBFMCJNJ_proto_rawDescGZIP() []byte { + file_Unk2700_IEPIBFMCJNJ_proto_rawDescOnce.Do(func() { + file_Unk2700_IEPIBFMCJNJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IEPIBFMCJNJ_proto_rawDescData) + }) + return file_Unk2700_IEPIBFMCJNJ_proto_rawDescData +} + +var file_Unk2700_IEPIBFMCJNJ_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_IEPIBFMCJNJ_proto_goTypes = []interface{}{ + (*Unk2700_IEPIBFMCJNJ)(nil), // 0: Unk2700_IEPIBFMCJNJ + nil, // 1: Unk2700_IEPIBFMCJNJ.Unk2700IFCNGIPPOAEEntry + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_Unk2700_IEPIBFMCJNJ_proto_depIdxs = []int32{ + 2, // 0: Unk2700_IEPIBFMCJNJ.profile_picture:type_name -> ProfilePicture + 1, // 1: Unk2700_IEPIBFMCJNJ.Unk2700_IFCNGIPPOAE:type_name -> Unk2700_IEPIBFMCJNJ.Unk2700IFCNGIPPOAEEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_IEPIBFMCJNJ_proto_init() } +func file_Unk2700_IEPIBFMCJNJ_proto_init() { + if File_Unk2700_IEPIBFMCJNJ_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IEPIBFMCJNJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IEPIBFMCJNJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IEPIBFMCJNJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IEPIBFMCJNJ_proto_goTypes, + DependencyIndexes: file_Unk2700_IEPIBFMCJNJ_proto_depIdxs, + MessageInfos: file_Unk2700_IEPIBFMCJNJ_proto_msgTypes, + }.Build() + File_Unk2700_IEPIBFMCJNJ_proto = out.File + file_Unk2700_IEPIBFMCJNJ_proto_rawDesc = nil + file_Unk2700_IEPIBFMCJNJ_proto_goTypes = nil + file_Unk2700_IEPIBFMCJNJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.proto b/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.proto new file mode 100644 index 00000000..c5b8ce8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IEPIBFMCJNJ.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message Unk2700_IEPIBFMCJNJ { + uint32 uid = 15; + string nickname = 3; + string remark_name = 10; + ProfilePicture profile_picture = 14; + map Unk2700_IFCNGIPPOAE = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.pb.go b/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.pb.go new file mode 100644 index 00000000..e6f47c61 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IGAFEBCFJEJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IGAFEBCFJEJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EPEFCCMPLCP uint64 `protobuf:"varint,13,opt,name=Unk2700_EPEFCCMPLCP,json=Unk2700EPEFCCMPLCP,proto3" json:"Unk2700_EPEFCCMPLCP,omitempty"` + Unk2700_GCGDABPLCFK uint32 `protobuf:"varint,3,opt,name=Unk2700_GCGDABPLCFK,json=Unk2700GCGDABPLCFK,proto3" json:"Unk2700_GCGDABPLCFK,omitempty"` +} + +func (x *Unk2700_IGAFEBCFJEJ) Reset() { + *x = Unk2700_IGAFEBCFJEJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IGAFEBCFJEJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IGAFEBCFJEJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IGAFEBCFJEJ) ProtoMessage() {} + +func (x *Unk2700_IGAFEBCFJEJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IGAFEBCFJEJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IGAFEBCFJEJ.ProtoReflect.Descriptor instead. +func (*Unk2700_IGAFEBCFJEJ) Descriptor() ([]byte, []int) { + return file_Unk2700_IGAFEBCFJEJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IGAFEBCFJEJ) GetUnk2700_EPEFCCMPLCP() uint64 { + if x != nil { + return x.Unk2700_EPEFCCMPLCP + } + return 0 +} + +func (x *Unk2700_IGAFEBCFJEJ) GetUnk2700_GCGDABPLCFK() uint32 { + if x != nil { + return x.Unk2700_GCGDABPLCFK + } + return 0 +} + +var File_Unk2700_IGAFEBCFJEJ_proto protoreflect.FileDescriptor + +var file_Unk2700_IGAFEBCFJEJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x41, 0x46, 0x45, 0x42, + 0x43, 0x46, 0x4a, 0x45, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x41, 0x46, 0x45, 0x42, 0x43, 0x46, 0x4a, + 0x45, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x50, + 0x45, 0x46, 0x43, 0x43, 0x4d, 0x50, 0x4c, 0x43, 0x50, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x50, 0x45, 0x46, 0x43, 0x43, 0x4d, 0x50, + 0x4c, 0x43, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x43, 0x47, 0x44, 0x41, 0x42, 0x50, 0x4c, 0x43, 0x46, 0x4b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x43, 0x47, 0x44, 0x41, 0x42, 0x50, + 0x4c, 0x43, 0x46, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IGAFEBCFJEJ_proto_rawDescOnce sync.Once + file_Unk2700_IGAFEBCFJEJ_proto_rawDescData = file_Unk2700_IGAFEBCFJEJ_proto_rawDesc +) + +func file_Unk2700_IGAFEBCFJEJ_proto_rawDescGZIP() []byte { + file_Unk2700_IGAFEBCFJEJ_proto_rawDescOnce.Do(func() { + file_Unk2700_IGAFEBCFJEJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IGAFEBCFJEJ_proto_rawDescData) + }) + return file_Unk2700_IGAFEBCFJEJ_proto_rawDescData +} + +var file_Unk2700_IGAFEBCFJEJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IGAFEBCFJEJ_proto_goTypes = []interface{}{ + (*Unk2700_IGAFEBCFJEJ)(nil), // 0: Unk2700_IGAFEBCFJEJ +} +var file_Unk2700_IGAFEBCFJEJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IGAFEBCFJEJ_proto_init() } +func file_Unk2700_IGAFEBCFJEJ_proto_init() { + if File_Unk2700_IGAFEBCFJEJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IGAFEBCFJEJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IGAFEBCFJEJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IGAFEBCFJEJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IGAFEBCFJEJ_proto_goTypes, + DependencyIndexes: file_Unk2700_IGAFEBCFJEJ_proto_depIdxs, + MessageInfos: file_Unk2700_IGAFEBCFJEJ_proto_msgTypes, + }.Build() + File_Unk2700_IGAFEBCFJEJ_proto = out.File + file_Unk2700_IGAFEBCFJEJ_proto_rawDesc = nil + file_Unk2700_IGAFEBCFJEJ_proto_goTypes = nil + file_Unk2700_IGAFEBCFJEJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.proto b/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.proto new file mode 100644 index 00000000..5e46205c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGAFEBCFJEJ.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_IGAFEBCFJEJ { + uint64 Unk2700_EPEFCCMPLCP = 13; + uint32 Unk2700_GCGDABPLCFK = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.pb.go b/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.pb.go new file mode 100644 index 00000000..e6252273 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IGJLOMCPLLE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IGJLOMCPLLE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockId uint32 `protobuf:"varint,8,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Rot *Vector `protobuf:"bytes,12,opt,name=rot,proto3" json:"rot,omitempty"` + Guid uint32 `protobuf:"varint,4,opt,name=guid,proto3" json:"guid,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *Unk2700_IGJLOMCPLLE) Reset() { + *x = Unk2700_IGJLOMCPLLE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IGJLOMCPLLE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IGJLOMCPLLE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IGJLOMCPLLE) ProtoMessage() {} + +func (x *Unk2700_IGJLOMCPLLE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IGJLOMCPLLE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IGJLOMCPLLE.ProtoReflect.Descriptor instead. +func (*Unk2700_IGJLOMCPLLE) Descriptor() ([]byte, []int) { + return file_Unk2700_IGJLOMCPLLE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IGJLOMCPLLE) GetBlockId() uint32 { + if x != nil { + return x.BlockId + } + return 0 +} + +func (x *Unk2700_IGJLOMCPLLE) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *Unk2700_IGJLOMCPLLE) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *Unk2700_IGJLOMCPLLE) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_Unk2700_IGJLOMCPLLE_proto protoreflect.FileDescriptor + +var file_Unk2700_IGJLOMCPLLE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4a, 0x4c, 0x4f, 0x4d, + 0x43, 0x50, 0x4c, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4a, 0x4c, 0x4f, 0x4d, 0x43, 0x50, 0x4c, 0x4c, 0x45, + 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x72, + 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IGJLOMCPLLE_proto_rawDescOnce sync.Once + file_Unk2700_IGJLOMCPLLE_proto_rawDescData = file_Unk2700_IGJLOMCPLLE_proto_rawDesc +) + +func file_Unk2700_IGJLOMCPLLE_proto_rawDescGZIP() []byte { + file_Unk2700_IGJLOMCPLLE_proto_rawDescOnce.Do(func() { + file_Unk2700_IGJLOMCPLLE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IGJLOMCPLLE_proto_rawDescData) + }) + return file_Unk2700_IGJLOMCPLLE_proto_rawDescData +} + +var file_Unk2700_IGJLOMCPLLE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IGJLOMCPLLE_proto_goTypes = []interface{}{ + (*Unk2700_IGJLOMCPLLE)(nil), // 0: Unk2700_IGJLOMCPLLE + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_IGJLOMCPLLE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IGJLOMCPLLE.rot:type_name -> Vector + 1, // 1: Unk2700_IGJLOMCPLLE.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_IGJLOMCPLLE_proto_init() } +func file_Unk2700_IGJLOMCPLLE_proto_init() { + if File_Unk2700_IGJLOMCPLLE_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IGJLOMCPLLE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IGJLOMCPLLE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IGJLOMCPLLE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IGJLOMCPLLE_proto_goTypes, + DependencyIndexes: file_Unk2700_IGJLOMCPLLE_proto_depIdxs, + MessageInfos: file_Unk2700_IGJLOMCPLLE_proto_msgTypes, + }.Build() + File_Unk2700_IGJLOMCPLLE_proto = out.File + file_Unk2700_IGJLOMCPLLE_proto_rawDesc = nil + file_Unk2700_IGJLOMCPLLE_proto_goTypes = nil + file_Unk2700_IGJLOMCPLLE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.proto b/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.proto new file mode 100644 index 00000000..d2512d7c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGJLOMCPLLE.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_IGJLOMCPLLE { + uint32 block_id = 8; + Vector rot = 12; + uint32 guid = 4; + Vector pos = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.pb.go new file mode 100644 index 00000000..9ed80506 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.pb.go @@ -0,0 +1,218 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IGPIIHEDJLJ_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6218 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IGPIIHEDJLJ_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_EJHNBDLLLFO *Unk2700_NLFDMMFNMIO `protobuf:"bytes,14,opt,name=Unk2700_EJHNBDLLLFO,json=Unk2700EJHNBDLLLFO,proto3" json:"Unk2700_EJHNBDLLLFO,omitempty"` + Unk2700_LGBODABIKLL Unk2700_KBBDJNLFAKD `protobuf:"varint,2,opt,name=Unk2700_LGBODABIKLL,json=Unk2700LGBODABIKLL,proto3,enum=Unk2700_KBBDJNLFAKD" json:"Unk2700_LGBODABIKLL,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_DDGNPJLHKKH map[uint32]uint32 `protobuf:"bytes,6,rep,name=Unk2700_DDGNPJLHKKH,json=Unk2700DDGNPJLHKKH,proto3" json:"Unk2700_DDGNPJLHKKH,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) Reset() { + *x = Unk2700_IGPIIHEDJLJ_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IGPIIHEDJLJ_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IGPIIHEDJLJ_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_IGPIIHEDJLJ_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) GetUnk2700_EJHNBDLLLFO() *Unk2700_NLFDMMFNMIO { + if x != nil { + return x.Unk2700_EJHNBDLLLFO + } + return nil +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) GetUnk2700_LGBODABIKLL() Unk2700_KBBDJNLFAKD { + if x != nil { + return x.Unk2700_LGBODABIKLL + } + return Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_IGPIIHEDJLJ_ServerRsp) GetUnk2700_DDGNPJLHKKH() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DDGNPJLHKKH + } + return nil +} + +var File_Unk2700_IGPIIHEDJLJ_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x50, 0x49, 0x49, 0x48, + 0x45, 0x44, 0x4a, 0x4c, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x44, 0x4d, 0x4d, + 0x46, 0x4e, 0x4d, 0x49, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x02, 0x0a, 0x1d, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x50, 0x49, 0x49, 0x48, 0x45, 0x44, + 0x4a, 0x4c, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4a, 0x48, 0x4e, 0x42, 0x44, 0x4c, + 0x4c, 0x4c, 0x46, 0x4f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x44, 0x4d, 0x4d, 0x46, 0x4e, 0x4d, 0x49, 0x4f, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4a, 0x48, 0x4e, 0x42, 0x44, 0x4c, + 0x4c, 0x4c, 0x46, 0x4f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, + 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x67, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x44, 0x44, 0x47, 0x4e, 0x50, 0x4a, 0x4c, 0x48, 0x4b, 0x4b, 0x48, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x50, + 0x49, 0x49, 0x48, 0x45, 0x44, 0x4a, 0x4c, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x44, 0x47, 0x4e, 0x50, 0x4a, + 0x4c, 0x48, 0x4b, 0x4b, 0x48, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x44, 0x44, 0x47, 0x4e, 0x50, 0x4a, 0x4c, 0x48, 0x4b, 0x4b, 0x48, 0x1a, 0x45, + 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x44, 0x47, 0x4e, 0x50, 0x4a, 0x4c, + 0x48, 0x4b, 0x4b, 0x48, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescData = file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDesc +) + +func file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDescData +} + +var file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_IGPIIHEDJLJ_ServerRsp)(nil), // 0: Unk2700_IGPIIHEDJLJ_ServerRsp + nil, // 1: Unk2700_IGPIIHEDJLJ_ServerRsp.Unk2700DDGNPJLHKKHEntry + (*Unk2700_NLFDMMFNMIO)(nil), // 2: Unk2700_NLFDMMFNMIO + (Unk2700_KBBDJNLFAKD)(0), // 3: Unk2700_KBBDJNLFAKD +} +var file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_depIdxs = []int32{ + 2, // 0: Unk2700_IGPIIHEDJLJ_ServerRsp.Unk2700_EJHNBDLLLFO:type_name -> Unk2700_NLFDMMFNMIO + 3, // 1: Unk2700_IGPIIHEDJLJ_ServerRsp.Unk2700_LGBODABIKLL:type_name -> Unk2700_KBBDJNLFAKD + 1, // 2: Unk2700_IGPIIHEDJLJ_ServerRsp.Unk2700_DDGNPJLHKKH:type_name -> Unk2700_IGPIIHEDJLJ_ServerRsp.Unk2700DDGNPJLHKKHEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_init() } +func file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_init() { + if File_Unk2700_IGPIIHEDJLJ_ServerRsp_proto != nil { + return + } + file_Unk2700_KBBDJNLFAKD_proto_init() + file_Unk2700_NLFDMMFNMIO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IGPIIHEDJLJ_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_IGPIIHEDJLJ_ServerRsp_proto = out.File + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_rawDesc = nil + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_goTypes = nil + file_Unk2700_IGPIIHEDJLJ_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.proto new file mode 100644 index 00000000..658ad998 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IGPIIHEDJLJ_ServerRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KBBDJNLFAKD.proto"; +import "Unk2700_NLFDMMFNMIO.proto"; + +option go_package = "./;proto"; + +// CmdId: 6218 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IGPIIHEDJLJ_ServerRsp { + Unk2700_NLFDMMFNMIO Unk2700_EJHNBDLLLFO = 14; + Unk2700_KBBDJNLFAKD Unk2700_LGBODABIKLL = 2; + int32 retcode = 10; + map Unk2700_DDGNPJLHKKH = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.pb.go new file mode 100644 index 00000000..07029481 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IHLONDFBCOE_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6320 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IHLONDFBCOE_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,13,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` +} + +func (x *Unk2700_IHLONDFBCOE_ClientReq) Reset() { + *x = Unk2700_IHLONDFBCOE_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IHLONDFBCOE_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IHLONDFBCOE_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IHLONDFBCOE_ClientReq) ProtoMessage() {} + +func (x *Unk2700_IHLONDFBCOE_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IHLONDFBCOE_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IHLONDFBCOE_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_IHLONDFBCOE_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IHLONDFBCOE_ClientReq) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +var File_Unk2700_IHLONDFBCOE_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x4c, 0x4f, 0x4e, 0x44, + 0x46, 0x42, 0x43, 0x4f, 0x45, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x4c, 0x4f, + 0x4e, 0x44, 0x46, 0x42, 0x43, 0x4f, 0x45, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, + 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, + 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, + 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescData = file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDesc +) + +func file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescData) + }) + return file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDescData +} + +var file_Unk2700_IHLONDFBCOE_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IHLONDFBCOE_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_IHLONDFBCOE_ClientReq)(nil), // 0: Unk2700_IHLONDFBCOE_ClientReq + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_IHLONDFBCOE_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IHLONDFBCOE_ClientReq.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IHLONDFBCOE_ClientReq_proto_init() } +func file_Unk2700_IHLONDFBCOE_ClientReq_proto_init() { + if File_Unk2700_IHLONDFBCOE_ClientReq_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IHLONDFBCOE_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IHLONDFBCOE_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IHLONDFBCOE_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_IHLONDFBCOE_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_IHLONDFBCOE_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_IHLONDFBCOE_ClientReq_proto = out.File + file_Unk2700_IHLONDFBCOE_ClientReq_proto_rawDesc = nil + file_Unk2700_IHLONDFBCOE_ClientReq_proto_goTypes = nil + file_Unk2700_IHLONDFBCOE_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.proto new file mode 100644 index 00000000..3184dbbf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHLONDFBCOE_ClientReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6320 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IHLONDFBCOE_ClientReq { + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.pb.go b/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.pb.go new file mode 100644 index 00000000..d5ae9ce6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IHOOCHJACEL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IHOOCHJACEL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,7,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_GMAEHKMDIGG []*Unk2700_BGKMAAINPCO `protobuf:"bytes,13,rep,name=Unk2700_GMAEHKMDIGG,json=Unk2700GMAEHKMDIGG,proto3" json:"Unk2700_GMAEHKMDIGG,omitempty"` + DifficultyId uint32 `protobuf:"varint,10,opt,name=difficulty_id,json=difficultyId,proto3" json:"difficulty_id,omitempty"` +} + +func (x *Unk2700_IHOOCHJACEL) Reset() { + *x = Unk2700_IHOOCHJACEL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IHOOCHJACEL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IHOOCHJACEL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IHOOCHJACEL) ProtoMessage() {} + +func (x *Unk2700_IHOOCHJACEL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IHOOCHJACEL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IHOOCHJACEL.ProtoReflect.Descriptor instead. +func (*Unk2700_IHOOCHJACEL) Descriptor() ([]byte, []int) { + return file_Unk2700_IHOOCHJACEL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IHOOCHJACEL) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_IHOOCHJACEL) GetUnk2700_GMAEHKMDIGG() []*Unk2700_BGKMAAINPCO { + if x != nil { + return x.Unk2700_GMAEHKMDIGG + } + return nil +} + +func (x *Unk2700_IHOOCHJACEL) GetDifficultyId() uint32 { + if x != nil { + return x.DifficultyId + } + return 0 +} + +var File_Unk2700_IHOOCHJACEL_proto protoreflect.FileDescriptor + +var file_Unk2700_IHOOCHJACEL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x4f, 0x4f, 0x43, 0x48, + 0x4a, 0x41, 0x43, 0x45, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x48, 0x4f, 0x4f, 0x43, 0x48, 0x4a, 0x41, 0x43, 0x45, 0x4c, 0x12, 0x19, + 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, + 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, + 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IHOOCHJACEL_proto_rawDescOnce sync.Once + file_Unk2700_IHOOCHJACEL_proto_rawDescData = file_Unk2700_IHOOCHJACEL_proto_rawDesc +) + +func file_Unk2700_IHOOCHJACEL_proto_rawDescGZIP() []byte { + file_Unk2700_IHOOCHJACEL_proto_rawDescOnce.Do(func() { + file_Unk2700_IHOOCHJACEL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IHOOCHJACEL_proto_rawDescData) + }) + return file_Unk2700_IHOOCHJACEL_proto_rawDescData +} + +var file_Unk2700_IHOOCHJACEL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IHOOCHJACEL_proto_goTypes = []interface{}{ + (*Unk2700_IHOOCHJACEL)(nil), // 0: Unk2700_IHOOCHJACEL + (*Unk2700_BGKMAAINPCO)(nil), // 1: Unk2700_BGKMAAINPCO +} +var file_Unk2700_IHOOCHJACEL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IHOOCHJACEL.Unk2700_GMAEHKMDIGG:type_name -> Unk2700_BGKMAAINPCO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IHOOCHJACEL_proto_init() } +func file_Unk2700_IHOOCHJACEL_proto_init() { + if File_Unk2700_IHOOCHJACEL_proto != nil { + return + } + file_Unk2700_BGKMAAINPCO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IHOOCHJACEL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IHOOCHJACEL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IHOOCHJACEL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IHOOCHJACEL_proto_goTypes, + DependencyIndexes: file_Unk2700_IHOOCHJACEL_proto_depIdxs, + MessageInfos: file_Unk2700_IHOOCHJACEL_proto_msgTypes, + }.Build() + File_Unk2700_IHOOCHJACEL_proto = out.File + file_Unk2700_IHOOCHJACEL_proto_rawDesc = nil + file_Unk2700_IHOOCHJACEL_proto_goTypes = nil + file_Unk2700_IHOOCHJACEL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.proto b/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.proto new file mode 100644 index 00000000..15fcac50 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHOOCHJACEL.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BGKMAAINPCO.proto"; + +option go_package = "./;proto"; + +// CmdId: 8325 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IHOOCHJACEL { + uint32 level_id = 7; + repeated Unk2700_BGKMAAINPCO Unk2700_GMAEHKMDIGG = 13; + uint32 difficulty_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.pb.go b/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.pb.go new file mode 100644 index 00000000..6e1f20bd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IHPFBKANGMJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8771 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IHPFBKANGMJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,13,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_IHPFBKANGMJ) Reset() { + *x = Unk2700_IHPFBKANGMJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IHPFBKANGMJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IHPFBKANGMJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IHPFBKANGMJ) ProtoMessage() {} + +func (x *Unk2700_IHPFBKANGMJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IHPFBKANGMJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IHPFBKANGMJ.ProtoReflect.Descriptor instead. +func (*Unk2700_IHPFBKANGMJ) Descriptor() ([]byte, []int) { + return file_Unk2700_IHPFBKANGMJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IHPFBKANGMJ) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_IHPFBKANGMJ_proto protoreflect.FileDescriptor + +var file_Unk2700_IHPFBKANGMJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x50, 0x46, 0x42, 0x4b, + 0x41, 0x4e, 0x47, 0x4d, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x50, 0x46, 0x42, 0x4b, 0x41, 0x4e, 0x47, + 0x4d, 0x4a, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_IHPFBKANGMJ_proto_rawDescOnce sync.Once + file_Unk2700_IHPFBKANGMJ_proto_rawDescData = file_Unk2700_IHPFBKANGMJ_proto_rawDesc +) + +func file_Unk2700_IHPFBKANGMJ_proto_rawDescGZIP() []byte { + file_Unk2700_IHPFBKANGMJ_proto_rawDescOnce.Do(func() { + file_Unk2700_IHPFBKANGMJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IHPFBKANGMJ_proto_rawDescData) + }) + return file_Unk2700_IHPFBKANGMJ_proto_rawDescData +} + +var file_Unk2700_IHPFBKANGMJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IHPFBKANGMJ_proto_goTypes = []interface{}{ + (*Unk2700_IHPFBKANGMJ)(nil), // 0: Unk2700_IHPFBKANGMJ +} +var file_Unk2700_IHPFBKANGMJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IHPFBKANGMJ_proto_init() } +func file_Unk2700_IHPFBKANGMJ_proto_init() { + if File_Unk2700_IHPFBKANGMJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IHPFBKANGMJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IHPFBKANGMJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IHPFBKANGMJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IHPFBKANGMJ_proto_goTypes, + DependencyIndexes: file_Unk2700_IHPFBKANGMJ_proto_depIdxs, + MessageInfos: file_Unk2700_IHPFBKANGMJ_proto_msgTypes, + }.Build() + File_Unk2700_IHPFBKANGMJ_proto = out.File + file_Unk2700_IHPFBKANGMJ_proto_rawDesc = nil + file_Unk2700_IHPFBKANGMJ_proto_goTypes = nil + file_Unk2700_IHPFBKANGMJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.proto b/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.proto new file mode 100644 index 00000000..f28e488a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IHPFBKANGMJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8771 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IHPFBKANGMJ { + uint32 level_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.pb.go b/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.pb.go new file mode 100644 index 00000000..bdc15f8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IJFEPCBOLDF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8756 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IJFEPCBOLDF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,9,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + Unk2700_MMNILGLDHHD bool `protobuf:"varint,3,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Score uint32 `protobuf:"varint,8,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *Unk2700_IJFEPCBOLDF) Reset() { + *x = Unk2700_IJFEPCBOLDF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IJFEPCBOLDF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IJFEPCBOLDF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IJFEPCBOLDF) ProtoMessage() {} + +func (x *Unk2700_IJFEPCBOLDF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IJFEPCBOLDF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IJFEPCBOLDF.ProtoReflect.Descriptor instead. +func (*Unk2700_IJFEPCBOLDF) Descriptor() ([]byte, []int) { + return file_Unk2700_IJFEPCBOLDF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IJFEPCBOLDF) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk2700_IJFEPCBOLDF) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_IJFEPCBOLDF) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_IJFEPCBOLDF) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +var File_Unk2700_IJFEPCBOLDF_proto protoreflect.FileDescriptor + +var file_Unk2700_IJFEPCBOLDF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4a, 0x46, 0x45, 0x50, 0x43, + 0x42, 0x4f, 0x4c, 0x44, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4a, 0x46, 0x45, 0x50, 0x43, 0x42, 0x4f, + 0x4c, 0x44, 0x46, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, + 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, + 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IJFEPCBOLDF_proto_rawDescOnce sync.Once + file_Unk2700_IJFEPCBOLDF_proto_rawDescData = file_Unk2700_IJFEPCBOLDF_proto_rawDesc +) + +func file_Unk2700_IJFEPCBOLDF_proto_rawDescGZIP() []byte { + file_Unk2700_IJFEPCBOLDF_proto_rawDescOnce.Do(func() { + file_Unk2700_IJFEPCBOLDF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IJFEPCBOLDF_proto_rawDescData) + }) + return file_Unk2700_IJFEPCBOLDF_proto_rawDescData +} + +var file_Unk2700_IJFEPCBOLDF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IJFEPCBOLDF_proto_goTypes = []interface{}{ + (*Unk2700_IJFEPCBOLDF)(nil), // 0: Unk2700_IJFEPCBOLDF +} +var file_Unk2700_IJFEPCBOLDF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IJFEPCBOLDF_proto_init() } +func file_Unk2700_IJFEPCBOLDF_proto_init() { + if File_Unk2700_IJFEPCBOLDF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IJFEPCBOLDF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IJFEPCBOLDF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IJFEPCBOLDF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IJFEPCBOLDF_proto_goTypes, + DependencyIndexes: file_Unk2700_IJFEPCBOLDF_proto_depIdxs, + MessageInfos: file_Unk2700_IJFEPCBOLDF_proto_msgTypes, + }.Build() + File_Unk2700_IJFEPCBOLDF_proto = out.File + file_Unk2700_IJFEPCBOLDF_proto_rawDesc = nil + file_Unk2700_IJFEPCBOLDF_proto_goTypes = nil + file_Unk2700_IJFEPCBOLDF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.proto b/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.proto new file mode 100644 index 00000000..97751664 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IJFEPCBOLDF.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8756 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IJFEPCBOLDF { + bool is_new_record = 9; + bool Unk2700_MMNILGLDHHD = 3; + uint32 level_id = 15; + uint32 score = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.pb.go b/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.pb.go new file mode 100644 index 00000000..f5ad49c7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IJLANPFECKC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8277 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_IJLANPFECKC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *Unk2700_IJLANPFECKC) Reset() { + *x = Unk2700_IJLANPFECKC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IJLANPFECKC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IJLANPFECKC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IJLANPFECKC) ProtoMessage() {} + +func (x *Unk2700_IJLANPFECKC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IJLANPFECKC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IJLANPFECKC.ProtoReflect.Descriptor instead. +func (*Unk2700_IJLANPFECKC) Descriptor() ([]byte, []int) { + return file_Unk2700_IJLANPFECKC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IJLANPFECKC) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_IJLANPFECKC) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_Unk2700_IJLANPFECKC_proto protoreflect.FileDescriptor + +var file_Unk2700_IJLANPFECKC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4a, 0x4c, 0x41, 0x4e, 0x50, + 0x46, 0x45, 0x43, 0x4b, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4a, 0x4c, 0x41, 0x4e, 0x50, 0x46, 0x45, 0x43, + 0x4b, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IJLANPFECKC_proto_rawDescOnce sync.Once + file_Unk2700_IJLANPFECKC_proto_rawDescData = file_Unk2700_IJLANPFECKC_proto_rawDesc +) + +func file_Unk2700_IJLANPFECKC_proto_rawDescGZIP() []byte { + file_Unk2700_IJLANPFECKC_proto_rawDescOnce.Do(func() { + file_Unk2700_IJLANPFECKC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IJLANPFECKC_proto_rawDescData) + }) + return file_Unk2700_IJLANPFECKC_proto_rawDescData +} + +var file_Unk2700_IJLANPFECKC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IJLANPFECKC_proto_goTypes = []interface{}{ + (*Unk2700_IJLANPFECKC)(nil), // 0: Unk2700_IJLANPFECKC +} +var file_Unk2700_IJLANPFECKC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IJLANPFECKC_proto_init() } +func file_Unk2700_IJLANPFECKC_proto_init() { + if File_Unk2700_IJLANPFECKC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IJLANPFECKC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IJLANPFECKC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IJLANPFECKC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IJLANPFECKC_proto_goTypes, + DependencyIndexes: file_Unk2700_IJLANPFECKC_proto_depIdxs, + MessageInfos: file_Unk2700_IJLANPFECKC_proto_msgTypes, + }.Build() + File_Unk2700_IJLANPFECKC_proto = out.File + file_Unk2700_IJLANPFECKC_proto_rawDesc = nil + file_Unk2700_IJLANPFECKC_proto_goTypes = nil + file_Unk2700_IJLANPFECKC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.proto b/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.proto new file mode 100644 index 00000000..bd279cab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IJLANPFECKC.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8277 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_IJLANPFECKC { + uint32 stage_id = 9; + uint32 challenge_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.pb.go new file mode 100644 index 00000000..ae0b34d6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ILBBAKACCHA_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 470 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ILBBAKACCHA_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,15,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` +} + +func (x *Unk2700_ILBBAKACCHA_ClientReq) Reset() { + *x = Unk2700_ILBBAKACCHA_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ILBBAKACCHA_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ILBBAKACCHA_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ILBBAKACCHA_ClientReq) ProtoMessage() {} + +func (x *Unk2700_ILBBAKACCHA_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ILBBAKACCHA_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ILBBAKACCHA_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_ILBBAKACCHA_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ILBBAKACCHA_ClientReq) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +var File_Unk2700_ILBBAKACCHA_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x42, 0x42, 0x41, 0x4b, + 0x41, 0x43, 0x43, 0x48, 0x41, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4c, 0x42, 0x42, 0x41, 0x4b, 0x41, 0x43, 0x43, 0x48, 0x41, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescData = file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDesc +) + +func file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescData) + }) + return file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDescData +} + +var file_Unk2700_ILBBAKACCHA_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ILBBAKACCHA_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_ILBBAKACCHA_ClientReq)(nil), // 0: Unk2700_ILBBAKACCHA_ClientReq +} +var file_Unk2700_ILBBAKACCHA_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ILBBAKACCHA_ClientReq_proto_init() } +func file_Unk2700_ILBBAKACCHA_ClientReq_proto_init() { + if File_Unk2700_ILBBAKACCHA_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ILBBAKACCHA_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ILBBAKACCHA_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ILBBAKACCHA_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_ILBBAKACCHA_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_ILBBAKACCHA_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_ILBBAKACCHA_ClientReq_proto = out.File + file_Unk2700_ILBBAKACCHA_ClientReq_proto_rawDesc = nil + file_Unk2700_ILBBAKACCHA_ClientReq_proto_goTypes = nil + file_Unk2700_ILBBAKACCHA_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.proto new file mode 100644 index 00000000..ae2eeba5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ILBBAKACCHA_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 470 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ILBBAKACCHA_ClientReq { + uint32 parent_quest_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.pb.go b/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.pb.go new file mode 100644 index 00000000..1e41ffb0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ILLDDDFLKHP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8959 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_ILLDDDFLKHP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,14,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_ILLDDDFLKHP) Reset() { + *x = Unk2700_ILLDDDFLKHP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ILLDDDFLKHP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ILLDDDFLKHP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ILLDDDFLKHP) ProtoMessage() {} + +func (x *Unk2700_ILLDDDFLKHP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ILLDDDFLKHP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ILLDDDFLKHP.ProtoReflect.Descriptor instead. +func (*Unk2700_ILLDDDFLKHP) Descriptor() ([]byte, []int) { + return file_Unk2700_ILLDDDFLKHP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ILLDDDFLKHP) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_ILLDDDFLKHP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_ILLDDDFLKHP_proto protoreflect.FileDescriptor + +var file_Unk2700_ILLDDDFLKHP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4c, 0x44, 0x44, 0x44, + 0x46, 0x4c, 0x4b, 0x48, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4c, 0x44, 0x44, 0x44, 0x46, 0x4c, 0x4b, + 0x48, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ILLDDDFLKHP_proto_rawDescOnce sync.Once + file_Unk2700_ILLDDDFLKHP_proto_rawDescData = file_Unk2700_ILLDDDFLKHP_proto_rawDesc +) + +func file_Unk2700_ILLDDDFLKHP_proto_rawDescGZIP() []byte { + file_Unk2700_ILLDDDFLKHP_proto_rawDescOnce.Do(func() { + file_Unk2700_ILLDDDFLKHP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ILLDDDFLKHP_proto_rawDescData) + }) + return file_Unk2700_ILLDDDFLKHP_proto_rawDescData +} + +var file_Unk2700_ILLDDDFLKHP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ILLDDDFLKHP_proto_goTypes = []interface{}{ + (*Unk2700_ILLDDDFLKHP)(nil), // 0: Unk2700_ILLDDDFLKHP +} +var file_Unk2700_ILLDDDFLKHP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ILLDDDFLKHP_proto_init() } +func file_Unk2700_ILLDDDFLKHP_proto_init() { + if File_Unk2700_ILLDDDFLKHP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ILLDDDFLKHP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ILLDDDFLKHP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ILLDDDFLKHP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ILLDDDFLKHP_proto_goTypes, + DependencyIndexes: file_Unk2700_ILLDDDFLKHP_proto_depIdxs, + MessageInfos: file_Unk2700_ILLDDDFLKHP_proto_msgTypes, + }.Build() + File_Unk2700_ILLDDDFLKHP_proto = out.File + file_Unk2700_ILLDDDFLKHP_proto_rawDesc = nil + file_Unk2700_ILLDDDFLKHP_proto_goTypes = nil + file_Unk2700_ILLDDDFLKHP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.proto b/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.proto new file mode 100644 index 00000000..e48d4e07 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ILLDDDFLKHP.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8959 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_ILLDDDFLKHP { + uint32 gallery_id = 14; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.pb.go b/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.pb.go new file mode 100644 index 00000000..44a2b25e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IMGLPJNBHCH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IMGLPJNBHCH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IIEIPINHLBN uint32 `protobuf:"varint,5,opt,name=Unk2700_IIEIPINHLBN,json=Unk2700IIEIPINHLBN,proto3" json:"Unk2700_IIEIPINHLBN,omitempty"` + Unk2700_AIKKJGOLLHK uint32 `protobuf:"varint,13,opt,name=Unk2700_AIKKJGOLLHK,json=Unk2700AIKKJGOLLHK,proto3" json:"Unk2700_AIKKJGOLLHK,omitempty"` +} + +func (x *Unk2700_IMGLPJNBHCH) Reset() { + *x = Unk2700_IMGLPJNBHCH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IMGLPJNBHCH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IMGLPJNBHCH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IMGLPJNBHCH) ProtoMessage() {} + +func (x *Unk2700_IMGLPJNBHCH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IMGLPJNBHCH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IMGLPJNBHCH.ProtoReflect.Descriptor instead. +func (*Unk2700_IMGLPJNBHCH) Descriptor() ([]byte, []int) { + return file_Unk2700_IMGLPJNBHCH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IMGLPJNBHCH) GetUnk2700_IIEIPINHLBN() uint32 { + if x != nil { + return x.Unk2700_IIEIPINHLBN + } + return 0 +} + +func (x *Unk2700_IMGLPJNBHCH) GetUnk2700_AIKKJGOLLHK() uint32 { + if x != nil { + return x.Unk2700_AIKKJGOLLHK + } + return 0 +} + +var File_Unk2700_IMGLPJNBHCH_proto protoreflect.FileDescriptor + +var file_Unk2700_IMGLPJNBHCH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, + 0x4e, 0x42, 0x48, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, 0x4e, 0x42, 0x48, + 0x43, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x49, + 0x45, 0x49, 0x50, 0x49, 0x4e, 0x48, 0x4c, 0x42, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x49, 0x45, 0x49, 0x50, 0x49, 0x4e, 0x48, + 0x4c, 0x42, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x49, 0x4b, 0x4b, 0x4a, 0x47, 0x4f, 0x4c, 0x4c, 0x48, 0x4b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x49, 0x4b, 0x4b, 0x4a, 0x47, 0x4f, + 0x4c, 0x4c, 0x48, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IMGLPJNBHCH_proto_rawDescOnce sync.Once + file_Unk2700_IMGLPJNBHCH_proto_rawDescData = file_Unk2700_IMGLPJNBHCH_proto_rawDesc +) + +func file_Unk2700_IMGLPJNBHCH_proto_rawDescGZIP() []byte { + file_Unk2700_IMGLPJNBHCH_proto_rawDescOnce.Do(func() { + file_Unk2700_IMGLPJNBHCH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IMGLPJNBHCH_proto_rawDescData) + }) + return file_Unk2700_IMGLPJNBHCH_proto_rawDescData +} + +var file_Unk2700_IMGLPJNBHCH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IMGLPJNBHCH_proto_goTypes = []interface{}{ + (*Unk2700_IMGLPJNBHCH)(nil), // 0: Unk2700_IMGLPJNBHCH +} +var file_Unk2700_IMGLPJNBHCH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IMGLPJNBHCH_proto_init() } +func file_Unk2700_IMGLPJNBHCH_proto_init() { + if File_Unk2700_IMGLPJNBHCH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IMGLPJNBHCH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IMGLPJNBHCH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IMGLPJNBHCH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IMGLPJNBHCH_proto_goTypes, + DependencyIndexes: file_Unk2700_IMGLPJNBHCH_proto_depIdxs, + MessageInfos: file_Unk2700_IMGLPJNBHCH_proto_msgTypes, + }.Build() + File_Unk2700_IMGLPJNBHCH_proto = out.File + file_Unk2700_IMGLPJNBHCH_proto_rawDesc = nil + file_Unk2700_IMGLPJNBHCH_proto_goTypes = nil + file_Unk2700_IMGLPJNBHCH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.proto b/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.proto new file mode 100644 index 00000000..9ed534e3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMGLPJNBHCH.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_IMGLPJNBHCH { + uint32 Unk2700_IIEIPINHLBN = 5; + uint32 Unk2700_AIKKJGOLLHK = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.pb.go b/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.pb.go new file mode 100644 index 00000000..f1ed9e64 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IMHNKDHHGMA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8186 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IMHNKDHHGMA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,10,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *Unk2700_JCOIDFNDHPB `protobuf:"bytes,13,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` +} + +func (x *Unk2700_IMHNKDHHGMA) Reset() { + *x = Unk2700_IMHNKDHHGMA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IMHNKDHHGMA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IMHNKDHHGMA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IMHNKDHHGMA) ProtoMessage() {} + +func (x *Unk2700_IMHNKDHHGMA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IMHNKDHHGMA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IMHNKDHHGMA.ProtoReflect.Descriptor instead. +func (*Unk2700_IMHNKDHHGMA) Descriptor() ([]byte, []int) { + return file_Unk2700_IMHNKDHHGMA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IMHNKDHHGMA) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_IMHNKDHHGMA) GetSettleInfo() *Unk2700_JCOIDFNDHPB { + if x != nil { + return x.SettleInfo + } + return nil +} + +var File_Unk2700_IMHNKDHHGMA_proto protoreflect.FileDescriptor + +var file_Unk2700_IMHNKDHHGMA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x48, 0x4e, 0x4b, 0x44, + 0x48, 0x48, 0x47, 0x4d, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4f, 0x49, 0x44, 0x46, 0x4e, 0x44, 0x48, 0x50, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x4d, 0x48, 0x4e, 0x4b, 0x44, 0x48, 0x48, 0x47, 0x4d, 0x41, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, + 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4f, 0x49, + 0x44, 0x46, 0x4e, 0x44, 0x48, 0x50, 0x42, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IMHNKDHHGMA_proto_rawDescOnce sync.Once + file_Unk2700_IMHNKDHHGMA_proto_rawDescData = file_Unk2700_IMHNKDHHGMA_proto_rawDesc +) + +func file_Unk2700_IMHNKDHHGMA_proto_rawDescGZIP() []byte { + file_Unk2700_IMHNKDHHGMA_proto_rawDescOnce.Do(func() { + file_Unk2700_IMHNKDHHGMA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IMHNKDHHGMA_proto_rawDescData) + }) + return file_Unk2700_IMHNKDHHGMA_proto_rawDescData +} + +var file_Unk2700_IMHNKDHHGMA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IMHNKDHHGMA_proto_goTypes = []interface{}{ + (*Unk2700_IMHNKDHHGMA)(nil), // 0: Unk2700_IMHNKDHHGMA + (*Unk2700_JCOIDFNDHPB)(nil), // 1: Unk2700_JCOIDFNDHPB +} +var file_Unk2700_IMHNKDHHGMA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IMHNKDHHGMA.settle_info:type_name -> Unk2700_JCOIDFNDHPB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IMHNKDHHGMA_proto_init() } +func file_Unk2700_IMHNKDHHGMA_proto_init() { + if File_Unk2700_IMHNKDHHGMA_proto != nil { + return + } + file_Unk2700_JCOIDFNDHPB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IMHNKDHHGMA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IMHNKDHHGMA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IMHNKDHHGMA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IMHNKDHHGMA_proto_goTypes, + DependencyIndexes: file_Unk2700_IMHNKDHHGMA_proto_depIdxs, + MessageInfos: file_Unk2700_IMHNKDHHGMA_proto_msgTypes, + }.Build() + File_Unk2700_IMHNKDHHGMA_proto = out.File + file_Unk2700_IMHNKDHHGMA_proto_rawDesc = nil + file_Unk2700_IMHNKDHHGMA_proto_goTypes = nil + file_Unk2700_IMHNKDHHGMA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.proto b/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.proto new file mode 100644 index 00000000..d7d27bb7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMHNKDHHGMA.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JCOIDFNDHPB.proto"; + +option go_package = "./;proto"; + +// CmdId: 8186 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IMHNKDHHGMA { + uint32 gallery_id = 10; + Unk2700_JCOIDFNDHPB settle_info = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.pb.go b/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.pb.go new file mode 100644 index 00000000..a812bf97 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IMMPPANFEPP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IMMPPANFEPP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint32 `protobuf:"varint,11,opt,name=guid,proto3" json:"guid,omitempty"` + Unk2700_MAABPJMPILD uint32 `protobuf:"varint,6,opt,name=Unk2700_MAABPJMPILD,json=Unk2700MAABPJMPILD,proto3" json:"Unk2700_MAABPJMPILD,omitempty"` +} + +func (x *Unk2700_IMMPPANFEPP) Reset() { + *x = Unk2700_IMMPPANFEPP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IMMPPANFEPP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IMMPPANFEPP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IMMPPANFEPP) ProtoMessage() {} + +func (x *Unk2700_IMMPPANFEPP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IMMPPANFEPP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IMMPPANFEPP.ProtoReflect.Descriptor instead. +func (*Unk2700_IMMPPANFEPP) Descriptor() ([]byte, []int) { + return file_Unk2700_IMMPPANFEPP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IMMPPANFEPP) GetGuid() uint32 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *Unk2700_IMMPPANFEPP) GetUnk2700_MAABPJMPILD() uint32 { + if x != nil { + return x.Unk2700_MAABPJMPILD + } + return 0 +} + +var File_Unk2700_IMMPPANFEPP_proto protoreflect.FileDescriptor + +var file_Unk2700_IMMPPANFEPP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4d, 0x50, 0x50, 0x41, + 0x4e, 0x46, 0x45, 0x50, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, + 0x50, 0x50, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x41, 0x41, 0x42, 0x50, 0x4a, 0x4d, 0x50, 0x49, 0x4c, 0x44, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x41, 0x42, + 0x50, 0x4a, 0x4d, 0x50, 0x49, 0x4c, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IMMPPANFEPP_proto_rawDescOnce sync.Once + file_Unk2700_IMMPPANFEPP_proto_rawDescData = file_Unk2700_IMMPPANFEPP_proto_rawDesc +) + +func file_Unk2700_IMMPPANFEPP_proto_rawDescGZIP() []byte { + file_Unk2700_IMMPPANFEPP_proto_rawDescOnce.Do(func() { + file_Unk2700_IMMPPANFEPP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IMMPPANFEPP_proto_rawDescData) + }) + return file_Unk2700_IMMPPANFEPP_proto_rawDescData +} + +var file_Unk2700_IMMPPANFEPP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IMMPPANFEPP_proto_goTypes = []interface{}{ + (*Unk2700_IMMPPANFEPP)(nil), // 0: Unk2700_IMMPPANFEPP +} +var file_Unk2700_IMMPPANFEPP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_IMMPPANFEPP_proto_init() } +func file_Unk2700_IMMPPANFEPP_proto_init() { + if File_Unk2700_IMMPPANFEPP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IMMPPANFEPP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IMMPPANFEPP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IMMPPANFEPP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IMMPPANFEPP_proto_goTypes, + DependencyIndexes: file_Unk2700_IMMPPANFEPP_proto_depIdxs, + MessageInfos: file_Unk2700_IMMPPANFEPP_proto_msgTypes, + }.Build() + File_Unk2700_IMMPPANFEPP_proto = out.File + file_Unk2700_IMMPPANFEPP_proto_rawDesc = nil + file_Unk2700_IMMPPANFEPP_proto_goTypes = nil + file_Unk2700_IMMPPANFEPP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.proto b/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.proto new file mode 100644 index 00000000..9e3bb156 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IMMPPANFEPP.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_IMMPPANFEPP { + uint32 guid = 11; + uint32 Unk2700_MAABPJMPILD = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.pb.go new file mode 100644 index 00000000..979743be --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_INBDPOIMAHK_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_INBDPOIMAHK_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagList []uint32 `protobuf:"varint,1,rep,packed,name=tag_list,json=tagList,proto3" json:"tag_list,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,5,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_INBDPOIMAHK_ClientReq) Reset() { + *x = Unk2700_INBDPOIMAHK_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_INBDPOIMAHK_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_INBDPOIMAHK_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_INBDPOIMAHK_ClientReq) ProtoMessage() {} + +func (x *Unk2700_INBDPOIMAHK_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_INBDPOIMAHK_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_INBDPOIMAHK_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_INBDPOIMAHK_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_INBDPOIMAHK_ClientReq) GetTagList() []uint32 { + if x != nil { + return x.TagList + } + return nil +} + +func (x *Unk2700_INBDPOIMAHK_ClientReq) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_INBDPOIMAHK_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x42, 0x44, 0x50, 0x4f, + 0x49, 0x4d, 0x41, 0x48, 0x4b, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4e, 0x42, 0x44, 0x50, 0x4f, 0x49, 0x4d, 0x41, 0x48, 0x4b, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, + 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, + 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescData = file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDesc +) + +func file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescData) + }) + return file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDescData +} + +var file_Unk2700_INBDPOIMAHK_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_INBDPOIMAHK_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_INBDPOIMAHK_ClientReq)(nil), // 0: Unk2700_INBDPOIMAHK_ClientReq +} +var file_Unk2700_INBDPOIMAHK_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_INBDPOIMAHK_ClientReq_proto_init() } +func file_Unk2700_INBDPOIMAHK_ClientReq_proto_init() { + if File_Unk2700_INBDPOIMAHK_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_INBDPOIMAHK_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_INBDPOIMAHK_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_INBDPOIMAHK_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_INBDPOIMAHK_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_INBDPOIMAHK_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_INBDPOIMAHK_ClientReq_proto = out.File + file_Unk2700_INBDPOIMAHK_ClientReq_proto_rawDesc = nil + file_Unk2700_INBDPOIMAHK_ClientReq_proto_goTypes = nil + file_Unk2700_INBDPOIMAHK_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.proto new file mode 100644 index 00000000..2af46fd1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INBDPOIMAHK_ClientReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6242 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_INBDPOIMAHK_ClientReq { + repeated uint32 tag_list = 1; + uint64 Unk2700_ONOOJBEABOE = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.pb.go b/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.pb.go new file mode 100644 index 00000000..c8860bec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_INMNHKOPCFB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_INMNHKOPCFB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InfoList []*Unk2700_CBMGMANEDNA `protobuf:"bytes,15,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` +} + +func (x *Unk2700_INMNHKOPCFB) Reset() { + *x = Unk2700_INMNHKOPCFB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_INMNHKOPCFB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_INMNHKOPCFB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_INMNHKOPCFB) ProtoMessage() {} + +func (x *Unk2700_INMNHKOPCFB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_INMNHKOPCFB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_INMNHKOPCFB.ProtoReflect.Descriptor instead. +func (*Unk2700_INMNHKOPCFB) Descriptor() ([]byte, []int) { + return file_Unk2700_INMNHKOPCFB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_INMNHKOPCFB) GetInfoList() []*Unk2700_CBMGMANEDNA { + if x != nil { + return x.InfoList + } + return nil +} + +var File_Unk2700_INMNHKOPCFB_proto protoreflect.FileDescriptor + +var file_Unk2700_INMNHKOPCFB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4d, 0x4e, 0x48, 0x4b, + 0x4f, 0x50, 0x43, 0x46, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4d, 0x47, 0x4d, 0x41, 0x4e, 0x45, 0x44, 0x4e, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x4e, 0x4d, 0x4e, 0x48, 0x4b, 0x4f, 0x50, 0x43, 0x46, 0x42, 0x12, 0x31, 0x0a, + 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x42, 0x4d, 0x47, 0x4d, + 0x41, 0x4e, 0x45, 0x44, 0x4e, 0x41, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_INMNHKOPCFB_proto_rawDescOnce sync.Once + file_Unk2700_INMNHKOPCFB_proto_rawDescData = file_Unk2700_INMNHKOPCFB_proto_rawDesc +) + +func file_Unk2700_INMNHKOPCFB_proto_rawDescGZIP() []byte { + file_Unk2700_INMNHKOPCFB_proto_rawDescOnce.Do(func() { + file_Unk2700_INMNHKOPCFB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_INMNHKOPCFB_proto_rawDescData) + }) + return file_Unk2700_INMNHKOPCFB_proto_rawDescData +} + +var file_Unk2700_INMNHKOPCFB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_INMNHKOPCFB_proto_goTypes = []interface{}{ + (*Unk2700_INMNHKOPCFB)(nil), // 0: Unk2700_INMNHKOPCFB + (*Unk2700_CBMGMANEDNA)(nil), // 1: Unk2700_CBMGMANEDNA +} +var file_Unk2700_INMNHKOPCFB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_INMNHKOPCFB.info_list:type_name -> Unk2700_CBMGMANEDNA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_INMNHKOPCFB_proto_init() } +func file_Unk2700_INMNHKOPCFB_proto_init() { + if File_Unk2700_INMNHKOPCFB_proto != nil { + return + } + file_Unk2700_CBMGMANEDNA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_INMNHKOPCFB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_INMNHKOPCFB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_INMNHKOPCFB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_INMNHKOPCFB_proto_goTypes, + DependencyIndexes: file_Unk2700_INMNHKOPCFB_proto_depIdxs, + MessageInfos: file_Unk2700_INMNHKOPCFB_proto_msgTypes, + }.Build() + File_Unk2700_INMNHKOPCFB_proto = out.File + file_Unk2700_INMNHKOPCFB_proto_rawDesc = nil + file_Unk2700_INMNHKOPCFB_proto_goTypes = nil + file_Unk2700_INMNHKOPCFB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.proto b/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.proto new file mode 100644 index 00000000..78b826cc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INMNHKOPCFB.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CBMGMANEDNA.proto"; + +option go_package = "./;proto"; + +message Unk2700_INMNHKOPCFB { + repeated Unk2700_CBMGMANEDNA info_list = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.pb.go b/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.pb.go new file mode 100644 index 00000000..a72f2844 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_INOMEGGAGOP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8132 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_INOMEGGAGOP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DFGCIBJFNBC []*Unk2700_AIMMLILLOKB `protobuf:"bytes,5,rep,name=Unk2700_DFGCIBJFNBC,json=Unk2700DFGCIBJFNBC,proto3" json:"Unk2700_DFGCIBJFNBC,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_INOMEGGAGOP) Reset() { + *x = Unk2700_INOMEGGAGOP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_INOMEGGAGOP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_INOMEGGAGOP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_INOMEGGAGOP) ProtoMessage() {} + +func (x *Unk2700_INOMEGGAGOP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_INOMEGGAGOP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_INOMEGGAGOP.ProtoReflect.Descriptor instead. +func (*Unk2700_INOMEGGAGOP) Descriptor() ([]byte, []int) { + return file_Unk2700_INOMEGGAGOP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_INOMEGGAGOP) GetUnk2700_DFGCIBJFNBC() []*Unk2700_AIMMLILLOKB { + if x != nil { + return x.Unk2700_DFGCIBJFNBC + } + return nil +} + +func (x *Unk2700_INOMEGGAGOP) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_INOMEGGAGOP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_INOMEGGAGOP_proto protoreflect.FileDescriptor + +var file_Unk2700_INOMEGGAGOP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4f, 0x4d, 0x45, 0x47, + 0x47, 0x41, 0x47, 0x4f, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, 0x4c, 0x4c, 0x4f, 0x4b, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4f, 0x4d, 0x45, 0x47, 0x47, 0x41, 0x47, 0x4f, 0x50, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x47, 0x43, 0x49, 0x42, + 0x4a, 0x46, 0x4e, 0x42, 0x43, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x4d, 0x4c, 0x49, 0x4c, 0x4c, 0x4f, 0x4b, + 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x46, 0x47, 0x43, 0x49, 0x42, + 0x4a, 0x46, 0x4e, 0x42, 0x43, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_INOMEGGAGOP_proto_rawDescOnce sync.Once + file_Unk2700_INOMEGGAGOP_proto_rawDescData = file_Unk2700_INOMEGGAGOP_proto_rawDesc +) + +func file_Unk2700_INOMEGGAGOP_proto_rawDescGZIP() []byte { + file_Unk2700_INOMEGGAGOP_proto_rawDescOnce.Do(func() { + file_Unk2700_INOMEGGAGOP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_INOMEGGAGOP_proto_rawDescData) + }) + return file_Unk2700_INOMEGGAGOP_proto_rawDescData +} + +var file_Unk2700_INOMEGGAGOP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_INOMEGGAGOP_proto_goTypes = []interface{}{ + (*Unk2700_INOMEGGAGOP)(nil), // 0: Unk2700_INOMEGGAGOP + (*Unk2700_AIMMLILLOKB)(nil), // 1: Unk2700_AIMMLILLOKB +} +var file_Unk2700_INOMEGGAGOP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_INOMEGGAGOP.Unk2700_DFGCIBJFNBC:type_name -> Unk2700_AIMMLILLOKB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_INOMEGGAGOP_proto_init() } +func file_Unk2700_INOMEGGAGOP_proto_init() { + if File_Unk2700_INOMEGGAGOP_proto != nil { + return + } + file_Unk2700_AIMMLILLOKB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_INOMEGGAGOP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_INOMEGGAGOP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_INOMEGGAGOP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_INOMEGGAGOP_proto_goTypes, + DependencyIndexes: file_Unk2700_INOMEGGAGOP_proto_depIdxs, + MessageInfos: file_Unk2700_INOMEGGAGOP_proto_msgTypes, + }.Build() + File_Unk2700_INOMEGGAGOP_proto = out.File + file_Unk2700_INOMEGGAGOP_proto_rawDesc = nil + file_Unk2700_INOMEGGAGOP_proto_goTypes = nil + file_Unk2700_INOMEGGAGOP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.proto b/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.proto new file mode 100644 index 00000000..31aa51fe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_INOMEGGAGOP.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_AIMMLILLOKB.proto"; + +option go_package = "./;proto"; + +// CmdId: 8132 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_INOMEGGAGOP { + repeated Unk2700_AIMMLILLOKB Unk2700_DFGCIBJFNBC = 5; + uint32 schedule_id = 10; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.pb.go b/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.pb.go new file mode 100644 index 00000000..8005d59a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IOLMLCCBAKP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IOLMLCCBAKP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GMAEHKMDIGG []*Unk2700_BGKMAAINPCO `protobuf:"bytes,10,rep,name=Unk2700_GMAEHKMDIGG,json=Unk2700GMAEHKMDIGG,proto3" json:"Unk2700_GMAEHKMDIGG,omitempty"` + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + LevelId uint32 `protobuf:"varint,14,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + BestScore uint32 `protobuf:"varint,5,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *Unk2700_IOLMLCCBAKP) Reset() { + *x = Unk2700_IOLMLCCBAKP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IOLMLCCBAKP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IOLMLCCBAKP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IOLMLCCBAKP) ProtoMessage() {} + +func (x *Unk2700_IOLMLCCBAKP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IOLMLCCBAKP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IOLMLCCBAKP.ProtoReflect.Descriptor instead. +func (*Unk2700_IOLMLCCBAKP) Descriptor() ([]byte, []int) { + return file_Unk2700_IOLMLCCBAKP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IOLMLCCBAKP) GetUnk2700_GMAEHKMDIGG() []*Unk2700_BGKMAAINPCO { + if x != nil { + return x.Unk2700_GMAEHKMDIGG + } + return nil +} + +func (x *Unk2700_IOLMLCCBAKP) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_IOLMLCCBAKP) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_IOLMLCCBAKP) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_Unk2700_IOLMLCCBAKP_proto protoreflect.FileDescriptor + +var file_Unk2700_IOLMLCCBAKP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4c, 0x4d, 0x4c, 0x43, + 0x43, 0x42, 0x41, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4c, 0x4d, 0x4c, 0x43, 0x43, 0x42, 0x41, 0x4b, 0x50, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, + 0x4d, 0x44, 0x49, 0x47, 0x47, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x4b, 0x4d, 0x41, 0x41, 0x49, 0x4e, 0x50, 0x43, + 0x4f, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, + 0x4d, 0x44, 0x49, 0x47, 0x47, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, + 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, + 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, + 0x65, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IOLMLCCBAKP_proto_rawDescOnce sync.Once + file_Unk2700_IOLMLCCBAKP_proto_rawDescData = file_Unk2700_IOLMLCCBAKP_proto_rawDesc +) + +func file_Unk2700_IOLMLCCBAKP_proto_rawDescGZIP() []byte { + file_Unk2700_IOLMLCCBAKP_proto_rawDescOnce.Do(func() { + file_Unk2700_IOLMLCCBAKP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IOLMLCCBAKP_proto_rawDescData) + }) + return file_Unk2700_IOLMLCCBAKP_proto_rawDescData +} + +var file_Unk2700_IOLMLCCBAKP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IOLMLCCBAKP_proto_goTypes = []interface{}{ + (*Unk2700_IOLMLCCBAKP)(nil), // 0: Unk2700_IOLMLCCBAKP + (*Unk2700_BGKMAAINPCO)(nil), // 1: Unk2700_BGKMAAINPCO +} +var file_Unk2700_IOLMLCCBAKP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IOLMLCCBAKP.Unk2700_GMAEHKMDIGG:type_name -> Unk2700_BGKMAAINPCO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IOLMLCCBAKP_proto_init() } +func file_Unk2700_IOLMLCCBAKP_proto_init() { + if File_Unk2700_IOLMLCCBAKP_proto != nil { + return + } + file_Unk2700_BGKMAAINPCO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IOLMLCCBAKP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IOLMLCCBAKP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IOLMLCCBAKP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IOLMLCCBAKP_proto_goTypes, + DependencyIndexes: file_Unk2700_IOLMLCCBAKP_proto_depIdxs, + MessageInfos: file_Unk2700_IOLMLCCBAKP_proto_msgTypes, + }.Build() + File_Unk2700_IOLMLCCBAKP_proto = out.File + file_Unk2700_IOLMLCCBAKP_proto_rawDesc = nil + file_Unk2700_IOLMLCCBAKP_proto_goTypes = nil + file_Unk2700_IOLMLCCBAKP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.proto b/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.proto new file mode 100644 index 00000000..414de24d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IOLMLCCBAKP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BGKMAAINPCO.proto"; + +option go_package = "./;proto"; + +message Unk2700_IOLMLCCBAKP { + repeated Unk2700_BGKMAAINPCO Unk2700_GMAEHKMDIGG = 10; + bool is_open = 9; + uint32 level_id = 14; + uint32 best_score = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.pb.go b/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.pb.go new file mode 100644 index 00000000..cf1e7b9a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IOONEPPHCJP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_IOONEPPHCJP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BPDFJJNJGAJ uint32 `protobuf:"varint,1,opt,name=Unk2700_BPDFJJNJGAJ,json=Unk2700BPDFJJNJGAJ,proto3" json:"Unk2700_BPDFJJNJGAJ,omitempty"` + Unk2700_KDJGDPDJHLL uint32 `protobuf:"varint,2,opt,name=Unk2700_KDJGDPDJHLL,json=Unk2700KDJGDPDJHLL,proto3" json:"Unk2700_KDJGDPDJHLL,omitempty"` + Unk2700_HGBNIFAKOGI map[uint32]uint32 `protobuf:"bytes,3,rep,name=Unk2700_HGBNIFAKOGI,json=Unk2700HGBNIFAKOGI,proto3" json:"Unk2700_HGBNIFAKOGI,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_IOONEPPHCJP) Reset() { + *x = Unk2700_IOONEPPHCJP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IOONEPPHCJP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IOONEPPHCJP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IOONEPPHCJP) ProtoMessage() {} + +func (x *Unk2700_IOONEPPHCJP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IOONEPPHCJP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IOONEPPHCJP.ProtoReflect.Descriptor instead. +func (*Unk2700_IOONEPPHCJP) Descriptor() ([]byte, []int) { + return file_Unk2700_IOONEPPHCJP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IOONEPPHCJP) GetUnk2700_BPDFJJNJGAJ() uint32 { + if x != nil { + return x.Unk2700_BPDFJJNJGAJ + } + return 0 +} + +func (x *Unk2700_IOONEPPHCJP) GetUnk2700_KDJGDPDJHLL() uint32 { + if x != nil { + return x.Unk2700_KDJGDPDJHLL + } + return 0 +} + +func (x *Unk2700_IOONEPPHCJP) GetUnk2700_HGBNIFAKOGI() map[uint32]uint32 { + if x != nil { + return x.Unk2700_HGBNIFAKOGI + } + return nil +} + +var File_Unk2700_IOONEPPHCJP_proto protoreflect.FileDescriptor + +var file_Unk2700_IOONEPPHCJP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4f, 0x4e, 0x45, 0x50, + 0x50, 0x48, 0x43, 0x4a, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4f, 0x4e, 0x45, 0x50, 0x50, 0x48, + 0x43, 0x4a, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x50, 0x44, 0x46, 0x4a, 0x4a, 0x4e, 0x4a, 0x47, 0x41, 0x4a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, 0x44, 0x46, 0x4a, 0x4a, 0x4e, + 0x4a, 0x47, 0x41, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x44, 0x4a, 0x47, 0x44, 0x50, 0x44, 0x4a, 0x48, 0x4c, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x44, 0x4a, 0x47, 0x44, 0x50, + 0x44, 0x4a, 0x48, 0x4c, 0x4c, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x48, 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x4f, + 0x4e, 0x45, 0x50, 0x50, 0x48, 0x43, 0x4a, 0x50, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x48, 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, + 0x4b, 0x4f, 0x47, 0x49, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, + 0x47, 0x42, 0x4e, 0x49, 0x46, 0x41, 0x4b, 0x4f, 0x47, 0x49, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IOONEPPHCJP_proto_rawDescOnce sync.Once + file_Unk2700_IOONEPPHCJP_proto_rawDescData = file_Unk2700_IOONEPPHCJP_proto_rawDesc +) + +func file_Unk2700_IOONEPPHCJP_proto_rawDescGZIP() []byte { + file_Unk2700_IOONEPPHCJP_proto_rawDescOnce.Do(func() { + file_Unk2700_IOONEPPHCJP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IOONEPPHCJP_proto_rawDescData) + }) + return file_Unk2700_IOONEPPHCJP_proto_rawDescData +} + +var file_Unk2700_IOONEPPHCJP_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_IOONEPPHCJP_proto_goTypes = []interface{}{ + (*Unk2700_IOONEPPHCJP)(nil), // 0: Unk2700_IOONEPPHCJP + nil, // 1: Unk2700_IOONEPPHCJP.Unk2700HGBNIFAKOGIEntry +} +var file_Unk2700_IOONEPPHCJP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IOONEPPHCJP.Unk2700_HGBNIFAKOGI:type_name -> Unk2700_IOONEPPHCJP.Unk2700HGBNIFAKOGIEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_IOONEPPHCJP_proto_init() } +func file_Unk2700_IOONEPPHCJP_proto_init() { + if File_Unk2700_IOONEPPHCJP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_IOONEPPHCJP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IOONEPPHCJP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IOONEPPHCJP_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IOONEPPHCJP_proto_goTypes, + DependencyIndexes: file_Unk2700_IOONEPPHCJP_proto_depIdxs, + MessageInfos: file_Unk2700_IOONEPPHCJP_proto_msgTypes, + }.Build() + File_Unk2700_IOONEPPHCJP_proto = out.File + file_Unk2700_IOONEPPHCJP_proto_rawDesc = nil + file_Unk2700_IOONEPPHCJP_proto_goTypes = nil + file_Unk2700_IOONEPPHCJP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.proto b/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.proto new file mode 100644 index 00000000..6d1dd7c6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IOONEPPHCJP.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_IOONEPPHCJP { + uint32 Unk2700_BPDFJJNJGAJ = 1; + uint32 Unk2700_KDJGDPDJHLL = 2; + map Unk2700_HGBNIFAKOGI = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.pb.go new file mode 100644 index 00000000..6e289c71 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.pb.go @@ -0,0 +1,286 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_IPGJEAEFJMM_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6318 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_IPGJEAEFJMM_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,15,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,10,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_MJNIHFCKJMN DropSubfieldType `protobuf:"varint,14,opt,name=Unk2700_MJNIHFCKJMN,json=Unk2700MJNIHFCKJMN,proto3,enum=DropSubfieldType" json:"Unk2700_MJNIHFCKJMN,omitempty"` + // Types that are assignable to Unk2700_MIPPJKBFLOO: + // *Unk2700_IPGJEAEFJMM_ServerRsp_MusicRecord + Unk2700_MIPPJKBFLOO isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_MIPPJKBFLOO `protobuf_oneof:"Unk2700_MIPPJKBFLOO"` + // Types that are assignable to Unk2700_ILHNBMNOMHO: + // *Unk2700_IPGJEAEFJMM_ServerRsp_MusicBriefInfo + Unk2700_ILHNBMNOMHO isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_ILHNBMNOMHO `protobuf_oneof:"Unk2700_ILHNBMNOMHO"` +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) Reset() { + *x = Unk2700_IPGJEAEFJMM_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_IPGJEAEFJMM_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_IPGJEAEFJMM_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_IPGJEAEFJMM_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetUnk2700_MJNIHFCKJMN() DropSubfieldType { + if x != nil { + return x.Unk2700_MJNIHFCKJMN + } + return DropSubfieldType_DROP_SUBFIELD_TYPE_NONE +} + +func (m *Unk2700_IPGJEAEFJMM_ServerRsp) GetUnk2700_MIPPJKBFLOO() isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_MIPPJKBFLOO { + if m != nil { + return m.Unk2700_MIPPJKBFLOO + } + return nil +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetMusicRecord() *MusicRecord { + if x, ok := x.GetUnk2700_MIPPJKBFLOO().(*Unk2700_IPGJEAEFJMM_ServerRsp_MusicRecord); ok { + return x.MusicRecord + } + return nil +} + +func (m *Unk2700_IPGJEAEFJMM_ServerRsp) GetUnk2700_ILHNBMNOMHO() isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_ILHNBMNOMHO { + if m != nil { + return m.Unk2700_ILHNBMNOMHO + } + return nil +} + +func (x *Unk2700_IPGJEAEFJMM_ServerRsp) GetMusicBriefInfo() *MusicBriefInfo { + if x, ok := x.GetUnk2700_ILHNBMNOMHO().(*Unk2700_IPGJEAEFJMM_ServerRsp_MusicBriefInfo); ok { + return x.MusicBriefInfo + } + return nil +} + +type isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_MIPPJKBFLOO interface { + isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_MIPPJKBFLOO() +} + +type Unk2700_IPGJEAEFJMM_ServerRsp_MusicRecord struct { + MusicRecord *MusicRecord `protobuf:"bytes,4,opt,name=music_record,json=musicRecord,proto3,oneof"` +} + +func (*Unk2700_IPGJEAEFJMM_ServerRsp_MusicRecord) isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_MIPPJKBFLOO() { +} + +type isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_ILHNBMNOMHO interface { + isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_ILHNBMNOMHO() +} + +type Unk2700_IPGJEAEFJMM_ServerRsp_MusicBriefInfo struct { + MusicBriefInfo *MusicBriefInfo `protobuf:"bytes,1819,opt,name=music_brief_info,json=musicBriefInfo,proto3,oneof"` +} + +func (*Unk2700_IPGJEAEFJMM_ServerRsp_MusicBriefInfo) isUnk2700_IPGJEAEFJMM_ServerRsp_Unk2700_ILHNBMNOMHO() { +} + +var File_Unk2700_IPGJEAEFJMM_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x50, 0x47, 0x4a, 0x45, 0x41, + 0x45, 0x46, 0x4a, 0x4d, 0x4d, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, + 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x94, 0x03, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x50, + 0x47, 0x4a, 0x45, 0x41, 0x45, 0x46, 0x4a, 0x4d, 0x4d, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, + 0x48, 0x48, 0x43, 0x44, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, + 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x4a, 0x4e, 0x49, 0x48, 0x46, 0x43, 0x4b, 0x4a, 0x4d, 0x4e, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4a, + 0x4e, 0x49, 0x48, 0x46, 0x43, 0x4b, 0x4a, 0x4d, 0x4e, 0x12, 0x31, 0x0a, 0x0c, 0x6d, 0x75, 0x73, + 0x69, 0x63, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, + 0x0b, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x10, + 0x6d, 0x75, 0x73, 0x69, 0x63, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x9b, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, + 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x01, 0x52, 0x0e, 0x6d, 0x75, 0x73, 0x69, + 0x63, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x50, 0x50, 0x4a, 0x4b, 0x42, 0x46, 0x4c, 0x4f, + 0x4f, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x48, + 0x4e, 0x42, 0x4d, 0x4e, 0x4f, 0x4d, 0x48, 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescData = file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDesc +) + +func file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDescData +} + +var file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_IPGJEAEFJMM_ServerRsp)(nil), // 0: Unk2700_IPGJEAEFJMM_ServerRsp + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL + (DropSubfieldType)(0), // 2: DropSubfieldType + (*MusicRecord)(nil), // 3: MusicRecord + (*MusicBriefInfo)(nil), // 4: MusicBriefInfo +} +var file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_IPGJEAEFJMM_ServerRsp.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 2, // 1: Unk2700_IPGJEAEFJMM_ServerRsp.Unk2700_MJNIHFCKJMN:type_name -> DropSubfieldType + 3, // 2: Unk2700_IPGJEAEFJMM_ServerRsp.music_record:type_name -> MusicRecord + 4, // 3: Unk2700_IPGJEAEFJMM_ServerRsp.music_brief_info:type_name -> MusicBriefInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_init() } +func file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_init() { + if File_Unk2700_IPGJEAEFJMM_ServerRsp_proto != nil { + return + } + file_DropSubfieldType_proto_init() + file_MusicBriefInfo_proto_init() + file_MusicRecord_proto_init() + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_IPGJEAEFJMM_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_IPGJEAEFJMM_ServerRsp_MusicRecord)(nil), + (*Unk2700_IPGJEAEFJMM_ServerRsp_MusicBriefInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_IPGJEAEFJMM_ServerRsp_proto = out.File + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_rawDesc = nil + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_goTypes = nil + file_Unk2700_IPGJEAEFJMM_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.proto new file mode 100644 index 00000000..4b0e7559 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_IPGJEAEFJMM_ServerRsp.proto @@ -0,0 +1,40 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DropSubfieldType.proto"; +import "MusicBriefInfo.proto"; +import "MusicRecord.proto"; +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6318 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_IPGJEAEFJMM_ServerRsp { + uint64 Unk2700_CEPGMKAHHCD = 15; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 10; + int32 retcode = 2; + DropSubfieldType Unk2700_MJNIHFCKJMN = 14; + oneof Unk2700_MIPPJKBFLOO { + MusicRecord music_record = 4; + } + oneof Unk2700_ILHNBMNOMHO { + MusicBriefInfo music_brief_info = 1819; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.pb.go b/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.pb.go new file mode 100644 index 00000000..c84599bb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JACACCPGMGC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JACACCPGMGC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IDGMODJPBGF []*Unk2700_MIMJBGMEMCA `protobuf:"bytes,11,rep,name=Unk2700_IDGMODJPBGF,json=Unk2700IDGMODJPBGF,proto3" json:"Unk2700_IDGMODJPBGF,omitempty"` + LevelId uint32 `protobuf:"varint,14,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_JACACCPGMGC) Reset() { + *x = Unk2700_JACACCPGMGC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JACACCPGMGC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JACACCPGMGC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JACACCPGMGC) ProtoMessage() {} + +func (x *Unk2700_JACACCPGMGC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JACACCPGMGC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JACACCPGMGC.ProtoReflect.Descriptor instead. +func (*Unk2700_JACACCPGMGC) Descriptor() ([]byte, []int) { + return file_Unk2700_JACACCPGMGC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JACACCPGMGC) GetUnk2700_IDGMODJPBGF() []*Unk2700_MIMJBGMEMCA { + if x != nil { + return x.Unk2700_IDGMODJPBGF + } + return nil +} + +func (x *Unk2700_JACACCPGMGC) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_JACACCPGMGC_proto protoreflect.FileDescriptor + +var file_Unk2700_JACACCPGMGC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x41, 0x43, 0x43, + 0x50, 0x47, 0x4d, 0x47, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x4d, 0x4a, 0x42, 0x47, 0x4d, 0x45, 0x4d, 0x43, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x41, 0x43, 0x43, 0x50, 0x47, 0x4d, 0x47, 0x43, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x47, 0x4d, 0x4f, 0x44, 0x4a, + 0x50, 0x42, 0x47, 0x46, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x4d, 0x4a, 0x42, 0x47, 0x4d, 0x45, 0x4d, 0x43, 0x41, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x44, 0x47, 0x4d, 0x4f, 0x44, 0x4a, + 0x50, 0x42, 0x47, 0x46, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JACACCPGMGC_proto_rawDescOnce sync.Once + file_Unk2700_JACACCPGMGC_proto_rawDescData = file_Unk2700_JACACCPGMGC_proto_rawDesc +) + +func file_Unk2700_JACACCPGMGC_proto_rawDescGZIP() []byte { + file_Unk2700_JACACCPGMGC_proto_rawDescOnce.Do(func() { + file_Unk2700_JACACCPGMGC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JACACCPGMGC_proto_rawDescData) + }) + return file_Unk2700_JACACCPGMGC_proto_rawDescData +} + +var file_Unk2700_JACACCPGMGC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JACACCPGMGC_proto_goTypes = []interface{}{ + (*Unk2700_JACACCPGMGC)(nil), // 0: Unk2700_JACACCPGMGC + (*Unk2700_MIMJBGMEMCA)(nil), // 1: Unk2700_MIMJBGMEMCA +} +var file_Unk2700_JACACCPGMGC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JACACCPGMGC.Unk2700_IDGMODJPBGF:type_name -> Unk2700_MIMJBGMEMCA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JACACCPGMGC_proto_init() } +func file_Unk2700_JACACCPGMGC_proto_init() { + if File_Unk2700_JACACCPGMGC_proto != nil { + return + } + file_Unk2700_MIMJBGMEMCA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JACACCPGMGC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JACACCPGMGC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JACACCPGMGC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JACACCPGMGC_proto_goTypes, + DependencyIndexes: file_Unk2700_JACACCPGMGC_proto_depIdxs, + MessageInfos: file_Unk2700_JACACCPGMGC_proto_msgTypes, + }.Build() + File_Unk2700_JACACCPGMGC_proto = out.File + file_Unk2700_JACACCPGMGC_proto_rawDesc = nil + file_Unk2700_JACACCPGMGC_proto_goTypes = nil + file_Unk2700_JACACCPGMGC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.proto b/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.proto new file mode 100644 index 00000000..0400b36f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JACACCPGMGC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MIMJBGMEMCA.proto"; + +option go_package = "./;proto"; + +message Unk2700_JACACCPGMGC { + repeated Unk2700_MIMJBGMEMCA Unk2700_IDGMODJPBGF = 11; + uint32 level_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.pb.go b/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.pb.go new file mode 100644 index 00000000..426f4691 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JCBJHCFEONO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JCBJHCFEONO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AIMBFNOKKHE []*Unk2700_NOGODJOJDGF `protobuf:"bytes,8,rep,name=Unk2700_AIMBFNOKKHE,json=Unk2700AIMBFNOKKHE,proto3" json:"Unk2700_AIMBFNOKKHE,omitempty"` + Timestamp uint32 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Unk2700_JCBJHCFEONO) Reset() { + *x = Unk2700_JCBJHCFEONO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JCBJHCFEONO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JCBJHCFEONO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JCBJHCFEONO) ProtoMessage() {} + +func (x *Unk2700_JCBJHCFEONO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JCBJHCFEONO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JCBJHCFEONO.ProtoReflect.Descriptor instead. +func (*Unk2700_JCBJHCFEONO) Descriptor() ([]byte, []int) { + return file_Unk2700_JCBJHCFEONO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JCBJHCFEONO) GetUnk2700_AIMBFNOKKHE() []*Unk2700_NOGODJOJDGF { + if x != nil { + return x.Unk2700_AIMBFNOKKHE + } + return nil +} + +func (x *Unk2700_JCBJHCFEONO) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +var File_Unk2700_JCBJHCFEONO_proto protoreflect.FileDescriptor + +var file_Unk2700_JCBJHCFEONO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, + 0x46, 0x45, 0x4f, 0x4e, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x47, 0x4f, 0x44, 0x4a, 0x4f, 0x4a, 0x44, 0x47, 0x46, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, 0x46, 0x45, 0x4f, 0x4e, 0x4f, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x4d, 0x42, 0x46, 0x4e, 0x4f, + 0x4b, 0x4b, 0x48, 0x45, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x47, 0x4f, 0x44, 0x4a, 0x4f, 0x4a, 0x44, 0x47, 0x46, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x49, 0x4d, 0x42, 0x46, 0x4e, 0x4f, + 0x4b, 0x4b, 0x48, 0x45, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JCBJHCFEONO_proto_rawDescOnce sync.Once + file_Unk2700_JCBJHCFEONO_proto_rawDescData = file_Unk2700_JCBJHCFEONO_proto_rawDesc +) + +func file_Unk2700_JCBJHCFEONO_proto_rawDescGZIP() []byte { + file_Unk2700_JCBJHCFEONO_proto_rawDescOnce.Do(func() { + file_Unk2700_JCBJHCFEONO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JCBJHCFEONO_proto_rawDescData) + }) + return file_Unk2700_JCBJHCFEONO_proto_rawDescData +} + +var file_Unk2700_JCBJHCFEONO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JCBJHCFEONO_proto_goTypes = []interface{}{ + (*Unk2700_JCBJHCFEONO)(nil), // 0: Unk2700_JCBJHCFEONO + (*Unk2700_NOGODJOJDGF)(nil), // 1: Unk2700_NOGODJOJDGF +} +var file_Unk2700_JCBJHCFEONO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JCBJHCFEONO.Unk2700_AIMBFNOKKHE:type_name -> Unk2700_NOGODJOJDGF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JCBJHCFEONO_proto_init() } +func file_Unk2700_JCBJHCFEONO_proto_init() { + if File_Unk2700_JCBJHCFEONO_proto != nil { + return + } + file_Unk2700_NOGODJOJDGF_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JCBJHCFEONO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JCBJHCFEONO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JCBJHCFEONO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JCBJHCFEONO_proto_goTypes, + DependencyIndexes: file_Unk2700_JCBJHCFEONO_proto_depIdxs, + MessageInfos: file_Unk2700_JCBJHCFEONO_proto_msgTypes, + }.Build() + File_Unk2700_JCBJHCFEONO_proto = out.File + file_Unk2700_JCBJHCFEONO_proto_rawDesc = nil + file_Unk2700_JCBJHCFEONO_proto_goTypes = nil + file_Unk2700_JCBJHCFEONO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.proto b/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.proto new file mode 100644 index 00000000..ad0780cc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCBJHCFEONO.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NOGODJOJDGF.proto"; + +option go_package = "./;proto"; + +message Unk2700_JCBJHCFEONO { + repeated Unk2700_NOGODJOJDGF Unk2700_AIMBFNOKKHE = 8; + uint32 timestamp = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.pb.go b/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.pb.go new file mode 100644 index 00000000..7d68e239 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JCKGJAELBMB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8704 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JCKGJAELBMB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinishTime uint32 `protobuf:"varint,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + LevelId uint32 `protobuf:"varint,11,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_JCKGJAELBMB) Reset() { + *x = Unk2700_JCKGJAELBMB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JCKGJAELBMB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JCKGJAELBMB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JCKGJAELBMB) ProtoMessage() {} + +func (x *Unk2700_JCKGJAELBMB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JCKGJAELBMB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JCKGJAELBMB.ProtoReflect.Descriptor instead. +func (*Unk2700_JCKGJAELBMB) Descriptor() ([]byte, []int) { + return file_Unk2700_JCKGJAELBMB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JCKGJAELBMB) GetFinishTime() uint32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +func (x *Unk2700_JCKGJAELBMB) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_JCKGJAELBMB_proto protoreflect.FileDescriptor + +var file_Unk2700_JCKGJAELBMB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4b, 0x47, 0x4a, 0x41, + 0x45, 0x4c, 0x42, 0x4d, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4b, 0x47, 0x4a, 0x41, 0x45, 0x4c, 0x42, + 0x4d, 0x42, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_JCKGJAELBMB_proto_rawDescOnce sync.Once + file_Unk2700_JCKGJAELBMB_proto_rawDescData = file_Unk2700_JCKGJAELBMB_proto_rawDesc +) + +func file_Unk2700_JCKGJAELBMB_proto_rawDescGZIP() []byte { + file_Unk2700_JCKGJAELBMB_proto_rawDescOnce.Do(func() { + file_Unk2700_JCKGJAELBMB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JCKGJAELBMB_proto_rawDescData) + }) + return file_Unk2700_JCKGJAELBMB_proto_rawDescData +} + +var file_Unk2700_JCKGJAELBMB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JCKGJAELBMB_proto_goTypes = []interface{}{ + (*Unk2700_JCKGJAELBMB)(nil), // 0: Unk2700_JCKGJAELBMB +} +var file_Unk2700_JCKGJAELBMB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JCKGJAELBMB_proto_init() } +func file_Unk2700_JCKGJAELBMB_proto_init() { + if File_Unk2700_JCKGJAELBMB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JCKGJAELBMB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JCKGJAELBMB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JCKGJAELBMB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JCKGJAELBMB_proto_goTypes, + DependencyIndexes: file_Unk2700_JCKGJAELBMB_proto_depIdxs, + MessageInfos: file_Unk2700_JCKGJAELBMB_proto_msgTypes, + }.Build() + File_Unk2700_JCKGJAELBMB_proto = out.File + file_Unk2700_JCKGJAELBMB_proto_rawDesc = nil + file_Unk2700_JCKGJAELBMB_proto_goTypes = nil + file_Unk2700_JCKGJAELBMB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.proto b/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.proto new file mode 100644 index 00000000..108c5c7e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCKGJAELBMB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8704 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JCKGJAELBMB { + uint32 finish_time = 3; + uint32 level_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.pb.go b/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.pb.go new file mode 100644 index 00000000..023373aa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JCNIPOJMFMH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JCNIPOJMFMH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OCBDODAGPNF []Unk2700_EEPNCOAEKBM `protobuf:"varint,12,rep,packed,name=Unk2700_OCBDODAGPNF,json=Unk2700OCBDODAGPNF,proto3,enum=Unk2700_EEPNCOAEKBM" json:"Unk2700_OCBDODAGPNF,omitempty"` + LevelList []*Unk2700_LELADCCDNJH `protobuf:"bytes,6,rep,name=level_list,json=levelList,proto3" json:"level_list,omitempty"` + Unk2700_EGPCJLGGGLK []uint32 `protobuf:"varint,10,rep,packed,name=Unk2700_EGPCJLGGGLK,json=Unk2700EGPCJLGGGLK,proto3" json:"Unk2700_EGPCJLGGGLK,omitempty"` + Unk2700_CPJMLMCOCLA []Unk2700_EEPNCOAEKBM `protobuf:"varint,13,rep,packed,name=Unk2700_CPJMLMCOCLA,json=Unk2700CPJMLMCOCLA,proto3,enum=Unk2700_EEPNCOAEKBM" json:"Unk2700_CPJMLMCOCLA,omitempty"` +} + +func (x *Unk2700_JCNIPOJMFMH) Reset() { + *x = Unk2700_JCNIPOJMFMH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JCNIPOJMFMH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JCNIPOJMFMH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JCNIPOJMFMH) ProtoMessage() {} + +func (x *Unk2700_JCNIPOJMFMH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JCNIPOJMFMH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JCNIPOJMFMH.ProtoReflect.Descriptor instead. +func (*Unk2700_JCNIPOJMFMH) Descriptor() ([]byte, []int) { + return file_Unk2700_JCNIPOJMFMH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JCNIPOJMFMH) GetUnk2700_OCBDODAGPNF() []Unk2700_EEPNCOAEKBM { + if x != nil { + return x.Unk2700_OCBDODAGPNF + } + return nil +} + +func (x *Unk2700_JCNIPOJMFMH) GetLevelList() []*Unk2700_LELADCCDNJH { + if x != nil { + return x.LevelList + } + return nil +} + +func (x *Unk2700_JCNIPOJMFMH) GetUnk2700_EGPCJLGGGLK() []uint32 { + if x != nil { + return x.Unk2700_EGPCJLGGGLK + } + return nil +} + +func (x *Unk2700_JCNIPOJMFMH) GetUnk2700_CPJMLMCOCLA() []Unk2700_EEPNCOAEKBM { + if x != nil { + return x.Unk2700_CPJMLMCOCLA + } + return nil +} + +var File_Unk2700_JCNIPOJMFMH_proto protoreflect.FileDescriptor + +var file_Unk2700_JCNIPOJMFMH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4e, 0x49, 0x50, 0x4f, + 0x4a, 0x4d, 0x46, 0x4d, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x45, 0x4c, 0x41, 0x44, 0x43, 0x43, 0x44, 0x4e, 0x4a, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, + 0x4e, 0x49, 0x50, 0x4f, 0x4a, 0x4d, 0x46, 0x4d, 0x48, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x42, 0x44, 0x4f, 0x44, 0x41, 0x47, 0x50, 0x4e, 0x46, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x43, 0x42, 0x44, 0x4f, 0x44, 0x41, 0x47, 0x50, 0x4e, 0x46, + 0x12, 0x33, 0x0a, 0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x45, 0x4c, 0x41, 0x44, 0x43, 0x43, 0x44, 0x4e, 0x4a, 0x48, 0x52, 0x09, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x47, 0x50, 0x43, 0x4a, 0x4c, 0x47, 0x47, 0x47, 0x4c, 0x4b, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x47, 0x50, 0x43, 0x4a, + 0x4c, 0x47, 0x47, 0x47, 0x4c, 0x4b, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x50, 0x4a, 0x4d, 0x4c, 0x4d, 0x43, 0x4f, 0x43, 0x4c, 0x41, 0x18, 0x0d, 0x20, + 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, + 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x50, 0x4a, 0x4d, 0x4c, 0x4d, 0x43, 0x4f, 0x43, 0x4c, 0x41, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_JCNIPOJMFMH_proto_rawDescOnce sync.Once + file_Unk2700_JCNIPOJMFMH_proto_rawDescData = file_Unk2700_JCNIPOJMFMH_proto_rawDesc +) + +func file_Unk2700_JCNIPOJMFMH_proto_rawDescGZIP() []byte { + file_Unk2700_JCNIPOJMFMH_proto_rawDescOnce.Do(func() { + file_Unk2700_JCNIPOJMFMH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JCNIPOJMFMH_proto_rawDescData) + }) + return file_Unk2700_JCNIPOJMFMH_proto_rawDescData +} + +var file_Unk2700_JCNIPOJMFMH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JCNIPOJMFMH_proto_goTypes = []interface{}{ + (*Unk2700_JCNIPOJMFMH)(nil), // 0: Unk2700_JCNIPOJMFMH + (Unk2700_EEPNCOAEKBM)(0), // 1: Unk2700_EEPNCOAEKBM + (*Unk2700_LELADCCDNJH)(nil), // 2: Unk2700_LELADCCDNJH +} +var file_Unk2700_JCNIPOJMFMH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JCNIPOJMFMH.Unk2700_OCBDODAGPNF:type_name -> Unk2700_EEPNCOAEKBM + 2, // 1: Unk2700_JCNIPOJMFMH.level_list:type_name -> Unk2700_LELADCCDNJH + 1, // 2: Unk2700_JCNIPOJMFMH.Unk2700_CPJMLMCOCLA:type_name -> Unk2700_EEPNCOAEKBM + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_JCNIPOJMFMH_proto_init() } +func file_Unk2700_JCNIPOJMFMH_proto_init() { + if File_Unk2700_JCNIPOJMFMH_proto != nil { + return + } + file_Unk2700_EEPNCOAEKBM_proto_init() + file_Unk2700_LELADCCDNJH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JCNIPOJMFMH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JCNIPOJMFMH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JCNIPOJMFMH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JCNIPOJMFMH_proto_goTypes, + DependencyIndexes: file_Unk2700_JCNIPOJMFMH_proto_depIdxs, + MessageInfos: file_Unk2700_JCNIPOJMFMH_proto_msgTypes, + }.Build() + File_Unk2700_JCNIPOJMFMH_proto = out.File + file_Unk2700_JCNIPOJMFMH_proto_rawDesc = nil + file_Unk2700_JCNIPOJMFMH_proto_goTypes = nil + file_Unk2700_JCNIPOJMFMH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.proto b/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.proto new file mode 100644 index 00000000..6405cc8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCNIPOJMFMH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EEPNCOAEKBM.proto"; +import "Unk2700_LELADCCDNJH.proto"; + +option go_package = "./;proto"; + +message Unk2700_JCNIPOJMFMH { + repeated Unk2700_EEPNCOAEKBM Unk2700_OCBDODAGPNF = 12; + repeated Unk2700_LELADCCDNJH level_list = 6; + repeated uint32 Unk2700_EGPCJLGGGLK = 10; + repeated Unk2700_EEPNCOAEKBM Unk2700_CPJMLMCOCLA = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.pb.go new file mode 100644 index 00000000..02acdc67 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JCOECJGPNOL_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5929 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JCOECJGPNOL_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_JCOECJGPNOL_ServerRsp) Reset() { + *x = Unk2700_JCOECJGPNOL_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JCOECJGPNOL_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JCOECJGPNOL_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JCOECJGPNOL_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_JCOECJGPNOL_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JCOECJGPNOL_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JCOECJGPNOL_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_JCOECJGPNOL_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JCOECJGPNOL_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_JCOECJGPNOL_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4f, 0x45, 0x43, 0x4a, + 0x47, 0x50, 0x4e, 0x4f, 0x4c, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x43, 0x4f, 0x45, 0x43, 0x4a, 0x47, 0x50, 0x4e, 0x4f, 0x4c, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescData = file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDesc +) + +func file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDescData +} + +var file_Unk2700_JCOECJGPNOL_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JCOECJGPNOL_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_JCOECJGPNOL_ServerRsp)(nil), // 0: Unk2700_JCOECJGPNOL_ServerRsp +} +var file_Unk2700_JCOECJGPNOL_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JCOECJGPNOL_ServerRsp_proto_init() } +func file_Unk2700_JCOECJGPNOL_ServerRsp_proto_init() { + if File_Unk2700_JCOECJGPNOL_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JCOECJGPNOL_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JCOECJGPNOL_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_JCOECJGPNOL_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_JCOECJGPNOL_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_JCOECJGPNOL_ServerRsp_proto = out.File + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_rawDesc = nil + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_goTypes = nil + file_Unk2700_JCOECJGPNOL_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.proto new file mode 100644 index 00000000..c5d22068 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCOECJGPNOL_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5929 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JCOECJGPNOL_ServerRsp { + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.pb.go b/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.pb.go new file mode 100644 index 00000000..6efb6c88 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JCOIDFNDHPB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JCOIDFNDHPB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *Unk2700_HLHHNGHJLAO `protobuf:"bytes,13,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + IsNewRecord bool `protobuf:"varint,12,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk2700_JCOIDFNDHPB) Reset() { + *x = Unk2700_JCOIDFNDHPB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JCOIDFNDHPB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JCOIDFNDHPB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JCOIDFNDHPB) ProtoMessage() {} + +func (x *Unk2700_JCOIDFNDHPB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JCOIDFNDHPB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JCOIDFNDHPB.ProtoReflect.Descriptor instead. +func (*Unk2700_JCOIDFNDHPB) Descriptor() ([]byte, []int) { + return file_Unk2700_JCOIDFNDHPB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JCOIDFNDHPB) GetSettleInfo() *Unk2700_HLHHNGHJLAO { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_JCOIDFNDHPB) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk2700_JCOIDFNDHPB_proto protoreflect.FileDescriptor + +var file_Unk2700_JCOIDFNDHPB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x4f, 0x49, 0x44, 0x46, + 0x4e, 0x44, 0x48, 0x50, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x48, 0x48, 0x4e, 0x47, 0x48, 0x4a, 0x4c, 0x41, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x43, 0x4f, 0x49, 0x44, 0x46, 0x4e, 0x44, 0x48, 0x50, 0x42, 0x12, 0x35, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x48, + 0x48, 0x4e, 0x47, 0x48, 0x4a, 0x4c, 0x41, 0x4f, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, + 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JCOIDFNDHPB_proto_rawDescOnce sync.Once + file_Unk2700_JCOIDFNDHPB_proto_rawDescData = file_Unk2700_JCOIDFNDHPB_proto_rawDesc +) + +func file_Unk2700_JCOIDFNDHPB_proto_rawDescGZIP() []byte { + file_Unk2700_JCOIDFNDHPB_proto_rawDescOnce.Do(func() { + file_Unk2700_JCOIDFNDHPB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JCOIDFNDHPB_proto_rawDescData) + }) + return file_Unk2700_JCOIDFNDHPB_proto_rawDescData +} + +var file_Unk2700_JCOIDFNDHPB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JCOIDFNDHPB_proto_goTypes = []interface{}{ + (*Unk2700_JCOIDFNDHPB)(nil), // 0: Unk2700_JCOIDFNDHPB + (*Unk2700_HLHHNGHJLAO)(nil), // 1: Unk2700_HLHHNGHJLAO +} +var file_Unk2700_JCOIDFNDHPB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JCOIDFNDHPB.settle_info:type_name -> Unk2700_HLHHNGHJLAO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JCOIDFNDHPB_proto_init() } +func file_Unk2700_JCOIDFNDHPB_proto_init() { + if File_Unk2700_JCOIDFNDHPB_proto != nil { + return + } + file_Unk2700_HLHHNGHJLAO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JCOIDFNDHPB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JCOIDFNDHPB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JCOIDFNDHPB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JCOIDFNDHPB_proto_goTypes, + DependencyIndexes: file_Unk2700_JCOIDFNDHPB_proto_depIdxs, + MessageInfos: file_Unk2700_JCOIDFNDHPB_proto_msgTypes, + }.Build() + File_Unk2700_JCOIDFNDHPB_proto = out.File + file_Unk2700_JCOIDFNDHPB_proto_rawDesc = nil + file_Unk2700_JCOIDFNDHPB_proto_goTypes = nil + file_Unk2700_JCOIDFNDHPB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.proto b/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.proto new file mode 100644 index 00000000..a13f65a9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JCOIDFNDHPB.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HLHHNGHJLAO.proto"; + +option go_package = "./;proto"; + +message Unk2700_JCOIDFNDHPB { + Unk2700_HLHHNGHJLAO settle_info = 13; + bool is_new_record = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.pb.go new file mode 100644 index 00000000..3e6622e3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JDMPECKFGIG_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4639 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JDMPECKFGIG_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEnterEditMode bool `protobuf:"varint,15,opt,name=is_enter_edit_mode,json=isEnterEditMode,proto3" json:"is_enter_edit_mode,omitempty"` +} + +func (x *Unk2700_JDMPECKFGIG_ServerNotify) Reset() { + *x = Unk2700_JDMPECKFGIG_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JDMPECKFGIG_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JDMPECKFGIG_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JDMPECKFGIG_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_JDMPECKFGIG_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JDMPECKFGIG_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JDMPECKFGIG_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_JDMPECKFGIG_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JDMPECKFGIG_ServerNotify) GetIsEnterEditMode() bool { + if x != nil { + return x.IsEnterEditMode + } + return false +} + +var File_Unk2700_JDMPECKFGIG_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x4d, 0x50, 0x45, 0x43, + 0x4b, 0x46, 0x47, 0x49, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x4d, 0x50, 0x45, 0x43, 0x4b, 0x46, 0x47, 0x49, 0x47, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2b, 0x0a, 0x12, + 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x6d, 0x6f, + 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, + 0x72, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescData = file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDesc +) + +func file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDescData +} + +var file_Unk2700_JDMPECKFGIG_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JDMPECKFGIG_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_JDMPECKFGIG_ServerNotify)(nil), // 0: Unk2700_JDMPECKFGIG_ServerNotify +} +var file_Unk2700_JDMPECKFGIG_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JDMPECKFGIG_ServerNotify_proto_init() } +func file_Unk2700_JDMPECKFGIG_ServerNotify_proto_init() { + if File_Unk2700_JDMPECKFGIG_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JDMPECKFGIG_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JDMPECKFGIG_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_JDMPECKFGIG_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_JDMPECKFGIG_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_JDMPECKFGIG_ServerNotify_proto = out.File + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_rawDesc = nil + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_goTypes = nil + file_Unk2700_JDMPECKFGIG_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.proto new file mode 100644 index 00000000..88de4e52 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JDMPECKFGIG_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4639 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JDMPECKFGIG_ServerNotify { + bool is_enter_edit_mode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.pb.go b/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.pb.go new file mode 100644 index 00000000..b267e052 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JDPMOMKAPIF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JDPMOMKAPIF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` + Unk2700_KPOACBFLPKP []*Unk2700_KJDPNIKDKEJ `protobuf:"bytes,10,rep,name=Unk2700_KPOACBFLPKP,json=Unk2700KPOACBFLPKP,proto3" json:"Unk2700_KPOACBFLPKP,omitempty"` +} + +func (x *Unk2700_JDPMOMKAPIF) Reset() { + *x = Unk2700_JDPMOMKAPIF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JDPMOMKAPIF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JDPMOMKAPIF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JDPMOMKAPIF) ProtoMessage() {} + +func (x *Unk2700_JDPMOMKAPIF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JDPMOMKAPIF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JDPMOMKAPIF.ProtoReflect.Descriptor instead. +func (*Unk2700_JDPMOMKAPIF) Descriptor() ([]byte, []int) { + return file_Unk2700_JDPMOMKAPIF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JDPMOMKAPIF) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_JDPMOMKAPIF) GetUnk2700_KPOACBFLPKP() []*Unk2700_KJDPNIKDKEJ { + if x != nil { + return x.Unk2700_KPOACBFLPKP + } + return nil +} + +var File_Unk2700_JDPMOMKAPIF_proto protoreflect.FileDescriptor + +var file_Unk2700_JDPMOMKAPIF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x50, 0x4d, 0x4f, 0x4d, + 0x4b, 0x41, 0x50, 0x49, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x44, 0x50, 0x4e, 0x49, 0x4b, 0x44, 0x4b, 0x45, 0x4a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x44, 0x50, 0x4d, 0x4f, 0x4d, 0x4b, 0x41, 0x50, 0x49, 0x46, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4f, 0x41, 0x43, 0x42, 0x46, + 0x4c, 0x50, 0x4b, 0x50, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x44, 0x50, 0x4e, 0x49, 0x4b, 0x44, 0x4b, 0x45, 0x4a, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x50, 0x4f, 0x41, 0x43, 0x42, 0x46, + 0x4c, 0x50, 0x4b, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JDPMOMKAPIF_proto_rawDescOnce sync.Once + file_Unk2700_JDPMOMKAPIF_proto_rawDescData = file_Unk2700_JDPMOMKAPIF_proto_rawDesc +) + +func file_Unk2700_JDPMOMKAPIF_proto_rawDescGZIP() []byte { + file_Unk2700_JDPMOMKAPIF_proto_rawDescOnce.Do(func() { + file_Unk2700_JDPMOMKAPIF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JDPMOMKAPIF_proto_rawDescData) + }) + return file_Unk2700_JDPMOMKAPIF_proto_rawDescData +} + +var file_Unk2700_JDPMOMKAPIF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JDPMOMKAPIF_proto_goTypes = []interface{}{ + (*Unk2700_JDPMOMKAPIF)(nil), // 0: Unk2700_JDPMOMKAPIF + (*Unk2700_KJDPNIKDKEJ)(nil), // 1: Unk2700_KJDPNIKDKEJ +} +var file_Unk2700_JDPMOMKAPIF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JDPMOMKAPIF.Unk2700_KPOACBFLPKP:type_name -> Unk2700_KJDPNIKDKEJ + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JDPMOMKAPIF_proto_init() } +func file_Unk2700_JDPMOMKAPIF_proto_init() { + if File_Unk2700_JDPMOMKAPIF_proto != nil { + return + } + file_Unk2700_KJDPNIKDKEJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JDPMOMKAPIF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JDPMOMKAPIF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JDPMOMKAPIF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JDPMOMKAPIF_proto_goTypes, + DependencyIndexes: file_Unk2700_JDPMOMKAPIF_proto_depIdxs, + MessageInfos: file_Unk2700_JDPMOMKAPIF_proto_msgTypes, + }.Build() + File_Unk2700_JDPMOMKAPIF_proto = out.File + file_Unk2700_JDPMOMKAPIF_proto_rawDesc = nil + file_Unk2700_JDPMOMKAPIF_proto_goTypes = nil + file_Unk2700_JDPMOMKAPIF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.proto b/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.proto new file mode 100644 index 00000000..7f054d1f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JDPMOMKAPIF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KJDPNIKDKEJ.proto"; + +option go_package = "./;proto"; + +message Unk2700_JDPMOMKAPIF { + uint32 id = 13; + repeated Unk2700_KJDPNIKDKEJ Unk2700_KPOACBFLPKP = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.pb.go b/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.pb.go new file mode 100644 index 00000000..1bb91de7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JEFIMHGLOJF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8096 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JEFIMHGLOJF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MCGIJIGJCIG uint32 `protobuf:"varint,4,opt,name=Unk2700_MCGIJIGJCIG,json=Unk2700MCGIJIGJCIG,proto3" json:"Unk2700_MCGIJIGJCIG,omitempty"` + IsSuccess bool `protobuf:"varint,9,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + Unk2700_LOMDDJKOMCK []uint32 `protobuf:"varint,12,rep,packed,name=Unk2700_LOMDDJKOMCK,json=Unk2700LOMDDJKOMCK,proto3" json:"Unk2700_LOMDDJKOMCK,omitempty"` + StageId uint32 `protobuf:"varint,15,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_JEFIMHGLOJF) Reset() { + *x = Unk2700_JEFIMHGLOJF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JEFIMHGLOJF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JEFIMHGLOJF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JEFIMHGLOJF) ProtoMessage() {} + +func (x *Unk2700_JEFIMHGLOJF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JEFIMHGLOJF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JEFIMHGLOJF.ProtoReflect.Descriptor instead. +func (*Unk2700_JEFIMHGLOJF) Descriptor() ([]byte, []int) { + return file_Unk2700_JEFIMHGLOJF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JEFIMHGLOJF) GetUnk2700_MCGIJIGJCIG() uint32 { + if x != nil { + return x.Unk2700_MCGIJIGJCIG + } + return 0 +} + +func (x *Unk2700_JEFIMHGLOJF) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk2700_JEFIMHGLOJF) GetUnk2700_LOMDDJKOMCK() []uint32 { + if x != nil { + return x.Unk2700_LOMDDJKOMCK + } + return nil +} + +func (x *Unk2700_JEFIMHGLOJF) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_JEFIMHGLOJF_proto protoreflect.FileDescriptor + +var file_Unk2700_JEFIMHGLOJF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x46, 0x49, 0x4d, 0x48, + 0x47, 0x4c, 0x4f, 0x4a, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x46, 0x49, 0x4d, 0x48, 0x47, 0x4c, + 0x4f, 0x4a, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x43, 0x47, 0x49, 0x4a, 0x49, 0x47, 0x4a, 0x43, 0x49, 0x47, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x43, 0x47, 0x49, 0x4a, 0x49, 0x47, + 0x4a, 0x43, 0x49, 0x47, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, + 0x4f, 0x4d, 0x44, 0x44, 0x4a, 0x4b, 0x4f, 0x4d, 0x43, 0x4b, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4f, 0x4d, 0x44, 0x44, 0x4a, 0x4b, + 0x4f, 0x4d, 0x43, 0x4b, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JEFIMHGLOJF_proto_rawDescOnce sync.Once + file_Unk2700_JEFIMHGLOJF_proto_rawDescData = file_Unk2700_JEFIMHGLOJF_proto_rawDesc +) + +func file_Unk2700_JEFIMHGLOJF_proto_rawDescGZIP() []byte { + file_Unk2700_JEFIMHGLOJF_proto_rawDescOnce.Do(func() { + file_Unk2700_JEFIMHGLOJF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JEFIMHGLOJF_proto_rawDescData) + }) + return file_Unk2700_JEFIMHGLOJF_proto_rawDescData +} + +var file_Unk2700_JEFIMHGLOJF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JEFIMHGLOJF_proto_goTypes = []interface{}{ + (*Unk2700_JEFIMHGLOJF)(nil), // 0: Unk2700_JEFIMHGLOJF +} +var file_Unk2700_JEFIMHGLOJF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JEFIMHGLOJF_proto_init() } +func file_Unk2700_JEFIMHGLOJF_proto_init() { + if File_Unk2700_JEFIMHGLOJF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JEFIMHGLOJF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JEFIMHGLOJF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JEFIMHGLOJF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JEFIMHGLOJF_proto_goTypes, + DependencyIndexes: file_Unk2700_JEFIMHGLOJF_proto_depIdxs, + MessageInfos: file_Unk2700_JEFIMHGLOJF_proto_msgTypes, + }.Build() + File_Unk2700_JEFIMHGLOJF_proto = out.File + file_Unk2700_JEFIMHGLOJF_proto_rawDesc = nil + file_Unk2700_JEFIMHGLOJF_proto_goTypes = nil + file_Unk2700_JEFIMHGLOJF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.proto b/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.proto new file mode 100644 index 00000000..d64b76e1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JEFIMHGLOJF.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8096 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JEFIMHGLOJF { + uint32 Unk2700_MCGIJIGJCIG = 4; + bool is_success = 9; + repeated uint32 Unk2700_LOMDDJKOMCK = 12; + uint32 stage_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.pb.go new file mode 100644 index 00000000..7e53665a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JEHIAJHHIMP_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 109 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JEHIAJHHIMP_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nickname string `protobuf:"bytes,7,opt,name=nickname,proto3" json:"nickname,omitempty"` +} + +func (x *Unk2700_JEHIAJHHIMP_ServerNotify) Reset() { + *x = Unk2700_JEHIAJHHIMP_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JEHIAJHHIMP_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JEHIAJHHIMP_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_JEHIAJHHIMP_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JEHIAJHHIMP_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_JEHIAJHHIMP_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JEHIAJHHIMP_ServerNotify) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +var File_Unk2700_JEHIAJHHIMP_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x48, 0x49, 0x41, 0x4a, + 0x48, 0x48, 0x49, 0x4d, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x45, 0x48, 0x49, 0x41, 0x4a, 0x48, 0x48, 0x49, 0x4d, 0x50, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1a, 0x0a, 0x08, + 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescData = file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDesc +) + +func file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDescData +} + +var file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_JEHIAJHHIMP_ServerNotify)(nil), // 0: Unk2700_JEHIAJHHIMP_ServerNotify +} +var file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_init() } +func file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_init() { + if File_Unk2700_JEHIAJHHIMP_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JEHIAJHHIMP_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_JEHIAJHHIMP_ServerNotify_proto = out.File + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_rawDesc = nil + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_goTypes = nil + file_Unk2700_JEHIAJHHIMP_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.proto new file mode 100644 index 00000000..954c384b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JEHIAJHHIMP_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 109 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JEHIAJHHIMP_ServerNotify { + string nickname = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.pb.go b/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.pb.go new file mode 100644 index 00000000..758dc60a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JFGFIDBPGBK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8381 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JFGFIDBPGBK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_JFGFIDBPGBK) Reset() { + *x = Unk2700_JFGFIDBPGBK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JFGFIDBPGBK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JFGFIDBPGBK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JFGFIDBPGBK) ProtoMessage() {} + +func (x *Unk2700_JFGFIDBPGBK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JFGFIDBPGBK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JFGFIDBPGBK.ProtoReflect.Descriptor instead. +func (*Unk2700_JFGFIDBPGBK) Descriptor() ([]byte, []int) { + return file_Unk2700_JFGFIDBPGBK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JFGFIDBPGBK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_JFGFIDBPGBK_proto protoreflect.FileDescriptor + +var file_Unk2700_JFGFIDBPGBK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x46, 0x47, 0x46, 0x49, 0x44, + 0x42, 0x50, 0x47, 0x42, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x46, 0x47, 0x46, 0x49, 0x44, 0x42, 0x50, 0x47, + 0x42, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JFGFIDBPGBK_proto_rawDescOnce sync.Once + file_Unk2700_JFGFIDBPGBK_proto_rawDescData = file_Unk2700_JFGFIDBPGBK_proto_rawDesc +) + +func file_Unk2700_JFGFIDBPGBK_proto_rawDescGZIP() []byte { + file_Unk2700_JFGFIDBPGBK_proto_rawDescOnce.Do(func() { + file_Unk2700_JFGFIDBPGBK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JFGFIDBPGBK_proto_rawDescData) + }) + return file_Unk2700_JFGFIDBPGBK_proto_rawDescData +} + +var file_Unk2700_JFGFIDBPGBK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JFGFIDBPGBK_proto_goTypes = []interface{}{ + (*Unk2700_JFGFIDBPGBK)(nil), // 0: Unk2700_JFGFIDBPGBK +} +var file_Unk2700_JFGFIDBPGBK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JFGFIDBPGBK_proto_init() } +func file_Unk2700_JFGFIDBPGBK_proto_init() { + if File_Unk2700_JFGFIDBPGBK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JFGFIDBPGBK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JFGFIDBPGBK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JFGFIDBPGBK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JFGFIDBPGBK_proto_goTypes, + DependencyIndexes: file_Unk2700_JFGFIDBPGBK_proto_depIdxs, + MessageInfos: file_Unk2700_JFGFIDBPGBK_proto_msgTypes, + }.Build() + File_Unk2700_JFGFIDBPGBK_proto = out.File + file_Unk2700_JFGFIDBPGBK_proto_rawDesc = nil + file_Unk2700_JFGFIDBPGBK_proto_goTypes = nil + file_Unk2700_JFGFIDBPGBK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.proto b/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.proto new file mode 100644 index 00000000..3912ddff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JFGFIDBPGBK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8381 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JFGFIDBPGBK { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.pb.go b/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.pb.go new file mode 100644 index 00000000..81f7d746 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.pb.go @@ -0,0 +1,260 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JHMIHJFFJBO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8862 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JHMIHJFFJBO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DMJOJPGLFHE []*Unk2700_IMGLPJNBHCH `protobuf:"bytes,15,rep,name=Unk2700_DMJOJPGLFHE,json=Unk2700DMJOJPGLFHE,proto3" json:"Unk2700_DMJOJPGLFHE,omitempty"` + Unk2700_AEHOPMMMHAP uint32 `protobuf:"varint,13,opt,name=Unk2700_AEHOPMMMHAP,json=Unk2700AEHOPMMMHAP,proto3" json:"Unk2700_AEHOPMMMHAP,omitempty"` + Unk2700_HMIBIIPHBAN uint32 `protobuf:"varint,2,opt,name=Unk2700_HMIBIIPHBAN,json=Unk2700HMIBIIPHBAN,proto3" json:"Unk2700_HMIBIIPHBAN,omitempty"` + Unk2700_FLMLLJIHOAI []*Unk2700_FEAENJPINFJ `protobuf:"bytes,8,rep,name=Unk2700_FLMLLJIHOAI,json=Unk2700FLMLLJIHOAI,proto3" json:"Unk2700_FLMLLJIHOAI,omitempty"` + Unk2700_LOIMAGFKMOJ uint32 `protobuf:"varint,6,opt,name=Unk2700_LOIMAGFKMOJ,json=Unk2700LOIMAGFKMOJ,proto3" json:"Unk2700_LOIMAGFKMOJ,omitempty"` + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,11,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` + Unk2700_FGIIBJADECI uint32 `protobuf:"varint,14,opt,name=Unk2700_FGIIBJADECI,json=Unk2700FGIIBJADECI,proto3" json:"Unk2700_FGIIBJADECI,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_JHMIHJFFJBO) Reset() { + *x = Unk2700_JHMIHJFFJBO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JHMIHJFFJBO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JHMIHJFFJBO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JHMIHJFFJBO) ProtoMessage() {} + +func (x *Unk2700_JHMIHJFFJBO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JHMIHJFFJBO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JHMIHJFFJBO.ProtoReflect.Descriptor instead. +func (*Unk2700_JHMIHJFFJBO) Descriptor() ([]byte, []int) { + return file_Unk2700_JHMIHJFFJBO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_DMJOJPGLFHE() []*Unk2700_IMGLPJNBHCH { + if x != nil { + return x.Unk2700_DMJOJPGLFHE + } + return nil +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_AEHOPMMMHAP() uint32 { + if x != nil { + return x.Unk2700_AEHOPMMMHAP + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_HMIBIIPHBAN() uint32 { + if x != nil { + return x.Unk2700_HMIBIIPHBAN + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_FLMLLJIHOAI() []*Unk2700_FEAENJPINFJ { + if x != nil { + return x.Unk2700_FLMLLJIHOAI + } + return nil +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_LOIMAGFKMOJ() uint32 { + if x != nil { + return x.Unk2700_LOIMAGFKMOJ + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetUnk2700_FGIIBJADECI() uint32 { + if x != nil { + return x.Unk2700_FGIIBJADECI + } + return 0 +} + +func (x *Unk2700_JHMIHJFFJBO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_JHMIHJFFJBO_proto protoreflect.FileDescriptor + +var file_Unk2700_JHMIHJFFJBO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x48, 0x4d, 0x49, 0x48, 0x4a, + 0x46, 0x46, 0x4a, 0x42, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x41, 0x45, 0x4e, 0x4a, 0x50, 0x49, 0x4e, 0x46, 0x4a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, 0x4e, 0x42, 0x48, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xbf, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x48, + 0x4d, 0x49, 0x48, 0x4a, 0x46, 0x46, 0x4a, 0x42, 0x4f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x4a, 0x4f, 0x4a, 0x50, 0x47, 0x4c, 0x46, 0x48, 0x45, + 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x49, 0x4d, 0x47, 0x4c, 0x50, 0x4a, 0x4e, 0x42, 0x48, 0x43, 0x48, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4d, 0x4a, 0x4f, 0x4a, 0x50, 0x47, 0x4c, 0x46, 0x48, 0x45, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x48, 0x4f, + 0x50, 0x4d, 0x4d, 0x4d, 0x48, 0x41, 0x50, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x45, 0x48, 0x4f, 0x50, 0x4d, 0x4d, 0x4d, 0x48, 0x41, + 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4d, 0x49, + 0x42, 0x49, 0x49, 0x50, 0x48, 0x42, 0x41, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4d, 0x49, 0x42, 0x49, 0x49, 0x50, 0x48, 0x42, + 0x41, 0x4e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4c, + 0x4d, 0x4c, 0x4c, 0x4a, 0x49, 0x48, 0x4f, 0x41, 0x49, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x41, 0x45, 0x4e, 0x4a, + 0x50, 0x49, 0x4e, 0x46, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4c, + 0x4d, 0x4c, 0x4c, 0x4a, 0x49, 0x48, 0x4f, 0x41, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x49, 0x4d, 0x41, 0x47, 0x46, 0x4b, 0x4d, 0x4f, 0x4a, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, + 0x4f, 0x49, 0x4d, 0x41, 0x47, 0x46, 0x4b, 0x4d, 0x4f, 0x4a, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, + 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x49, 0x49, 0x42, 0x4a, 0x41, 0x44, 0x45, 0x43, 0x49, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x47, + 0x49, 0x49, 0x42, 0x4a, 0x41, 0x44, 0x45, 0x43, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JHMIHJFFJBO_proto_rawDescOnce sync.Once + file_Unk2700_JHMIHJFFJBO_proto_rawDescData = file_Unk2700_JHMIHJFFJBO_proto_rawDesc +) + +func file_Unk2700_JHMIHJFFJBO_proto_rawDescGZIP() []byte { + file_Unk2700_JHMIHJFFJBO_proto_rawDescOnce.Do(func() { + file_Unk2700_JHMIHJFFJBO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JHMIHJFFJBO_proto_rawDescData) + }) + return file_Unk2700_JHMIHJFFJBO_proto_rawDescData +} + +var file_Unk2700_JHMIHJFFJBO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JHMIHJFFJBO_proto_goTypes = []interface{}{ + (*Unk2700_JHMIHJFFJBO)(nil), // 0: Unk2700_JHMIHJFFJBO + (*Unk2700_IMGLPJNBHCH)(nil), // 1: Unk2700_IMGLPJNBHCH + (*Unk2700_FEAENJPINFJ)(nil), // 2: Unk2700_FEAENJPINFJ +} +var file_Unk2700_JHMIHJFFJBO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JHMIHJFFJBO.Unk2700_DMJOJPGLFHE:type_name -> Unk2700_IMGLPJNBHCH + 2, // 1: Unk2700_JHMIHJFFJBO.Unk2700_FLMLLJIHOAI:type_name -> Unk2700_FEAENJPINFJ + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_JHMIHJFFJBO_proto_init() } +func file_Unk2700_JHMIHJFFJBO_proto_init() { + if File_Unk2700_JHMIHJFFJBO_proto != nil { + return + } + file_Unk2700_FEAENJPINFJ_proto_init() + file_Unk2700_IMGLPJNBHCH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JHMIHJFFJBO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JHMIHJFFJBO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JHMIHJFFJBO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JHMIHJFFJBO_proto_goTypes, + DependencyIndexes: file_Unk2700_JHMIHJFFJBO_proto_depIdxs, + MessageInfos: file_Unk2700_JHMIHJFFJBO_proto_msgTypes, + }.Build() + File_Unk2700_JHMIHJFFJBO_proto = out.File + file_Unk2700_JHMIHJFFJBO_proto_rawDesc = nil + file_Unk2700_JHMIHJFFJBO_proto_goTypes = nil + file_Unk2700_JHMIHJFFJBO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.proto b/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.proto new file mode 100644 index 00000000..93c51943 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JHMIHJFFJBO.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_FEAENJPINFJ.proto"; +import "Unk2700_IMGLPJNBHCH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8862 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JHMIHJFFJBO { + repeated Unk2700_IMGLPJNBHCH Unk2700_DMJOJPGLFHE = 15; + uint32 Unk2700_AEHOPMMMHAP = 13; + uint32 Unk2700_HMIBIIPHBAN = 2; + repeated Unk2700_FEAENJPINFJ Unk2700_FLMLLJIHOAI = 8; + uint32 Unk2700_LOIMAGFKMOJ = 6; + uint32 stage_id = 12; + uint32 challenge_id = 11; + uint32 Unk2700_FGIIBJADECI = 14; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.pb.go new file mode 100644 index 00000000..340e038c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.pb.go @@ -0,0 +1,232 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JJAFAJIKDDK_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6307 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JJAFAJIKDDK_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,3,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,11,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + // Types that are assignable to Unk2700_ILHNBMNOMHO: + // *Unk2700_JJAFAJIKDDK_ServerRsp_MusicBriefInfo + Unk2700_ILHNBMNOMHO isUnk2700_JJAFAJIKDDK_ServerRsp_Unk2700_ILHNBMNOMHO `protobuf_oneof:"Unk2700_ILHNBMNOMHO"` +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) Reset() { + *x = Unk2700_JJAFAJIKDDK_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JJAFAJIKDDK_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JJAFAJIKDDK_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_JJAFAJIKDDK_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (m *Unk2700_JJAFAJIKDDK_ServerRsp) GetUnk2700_ILHNBMNOMHO() isUnk2700_JJAFAJIKDDK_ServerRsp_Unk2700_ILHNBMNOMHO { + if m != nil { + return m.Unk2700_ILHNBMNOMHO + } + return nil +} + +func (x *Unk2700_JJAFAJIKDDK_ServerRsp) GetMusicBriefInfo() *MusicBriefInfo { + if x, ok := x.GetUnk2700_ILHNBMNOMHO().(*Unk2700_JJAFAJIKDDK_ServerRsp_MusicBriefInfo); ok { + return x.MusicBriefInfo + } + return nil +} + +type isUnk2700_JJAFAJIKDDK_ServerRsp_Unk2700_ILHNBMNOMHO interface { + isUnk2700_JJAFAJIKDDK_ServerRsp_Unk2700_ILHNBMNOMHO() +} + +type Unk2700_JJAFAJIKDDK_ServerRsp_MusicBriefInfo struct { + MusicBriefInfo *MusicBriefInfo `protobuf:"bytes,2,opt,name=music_brief_info,json=musicBriefInfo,proto3,oneof"` +} + +func (*Unk2700_JJAFAJIKDDK_ServerRsp_MusicBriefInfo) isUnk2700_JJAFAJIKDDK_ServerRsp_Unk2700_ILHNBMNOMHO() { +} + +var File_Unk2700_JJAFAJIKDDK_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x41, 0x46, 0x41, 0x4a, + 0x49, 0x4b, 0x44, 0x44, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x02, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x41, 0x46, 0x41, 0x4a, 0x49, 0x4b, 0x44, 0x44, 0x4b, 0x5f, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, + 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x10, 0x6d, 0x75, + 0x73, 0x69, 0x63, 0x5f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, 0x69, 0x65, + 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x75, 0x73, 0x69, 0x63, 0x42, 0x72, + 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x48, 0x4e, 0x42, 0x4d, 0x4e, 0x4f, 0x4d, 0x48, 0x4f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescData = file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDesc +) + +func file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDescData +} + +var file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_JJAFAJIKDDK_ServerRsp)(nil), // 0: Unk2700_JJAFAJIKDDK_ServerRsp + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL + (*MusicBriefInfo)(nil), // 2: MusicBriefInfo +} +var file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JJAFAJIKDDK_ServerRsp.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 2, // 1: Unk2700_JJAFAJIKDDK_ServerRsp.music_brief_info:type_name -> MusicBriefInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_init() } +func file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_init() { + if File_Unk2700_JJAFAJIKDDK_ServerRsp_proto != nil { + return + } + file_MusicBriefInfo_proto_init() + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JJAFAJIKDDK_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_JJAFAJIKDDK_ServerRsp_MusicBriefInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_JJAFAJIKDDK_ServerRsp_proto = out.File + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_rawDesc = nil + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_goTypes = nil + file_Unk2700_JJAFAJIKDDK_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.proto new file mode 100644 index 00000000..0f2a5fdd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JJAFAJIKDDK_ServerRsp.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MusicBriefInfo.proto"; +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6307 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JJAFAJIKDDK_ServerRsp { + uint64 Unk2700_CEPGMKAHHCD = 3; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 11; + int32 retcode = 4; + oneof Unk2700_ILHNBMNOMHO { + MusicBriefInfo music_brief_info = 2; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.pb.go new file mode 100644 index 00000000..20cdc579 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JJCDNAHAPKD_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JJCDNAHAPKD_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,11,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + DungeonId uint32 `protobuf:"varint,12,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_LGBODABIKLL Unk2700_KBBDJNLFAKD `protobuf:"varint,10,opt,name=Unk2700_LGBODABIKLL,json=Unk2700LGBODABIKLL,proto3,enum=Unk2700_KBBDJNLFAKD" json:"Unk2700_LGBODABIKLL,omitempty"` +} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) Reset() { + *x = Unk2700_JJCDNAHAPKD_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JJCDNAHAPKD_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JJCDNAHAPKD_ClientReq) ProtoMessage() {} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JJCDNAHAPKD_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JJCDNAHAPKD_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_JJCDNAHAPKD_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_JJCDNAHAPKD_ClientReq) GetUnk2700_LGBODABIKLL() Unk2700_KBBDJNLFAKD { + if x != nil { + return x.Unk2700_LGBODABIKLL + } + return Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB +} + +var File_Unk2700_JJCDNAHAPKD_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x43, 0x44, 0x4e, 0x41, + 0x48, 0x41, 0x50, 0x4b, 0x44, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb6, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x43, + 0x44, 0x4e, 0x41, 0x48, 0x41, 0x50, 0x4b, 0x44, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, + 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, + 0x42, 0x4f, 0x45, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, + 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, + 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x47, + 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, 0x4c, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescData = file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDesc +) + +func file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescData) + }) + return file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDescData +} + +var file_Unk2700_JJCDNAHAPKD_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JJCDNAHAPKD_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_JJCDNAHAPKD_ClientReq)(nil), // 0: Unk2700_JJCDNAHAPKD_ClientReq + (Unk2700_KBBDJNLFAKD)(0), // 1: Unk2700_KBBDJNLFAKD +} +var file_Unk2700_JJCDNAHAPKD_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JJCDNAHAPKD_ClientReq.Unk2700_LGBODABIKLL:type_name -> Unk2700_KBBDJNLFAKD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JJCDNAHAPKD_ClientReq_proto_init() } +func file_Unk2700_JJCDNAHAPKD_ClientReq_proto_init() { + if File_Unk2700_JJCDNAHAPKD_ClientReq_proto != nil { + return + } + file_Unk2700_KBBDJNLFAKD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JJCDNAHAPKD_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JJCDNAHAPKD_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_JJCDNAHAPKD_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_JJCDNAHAPKD_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_JJCDNAHAPKD_ClientReq_proto = out.File + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_rawDesc = nil + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_goTypes = nil + file_Unk2700_JJCDNAHAPKD_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.proto new file mode 100644 index 00000000..d9a10ff2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JJCDNAHAPKD_ClientReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KBBDJNLFAKD.proto"; + +option go_package = "./;proto"; + +// CmdId: 6226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JJCDNAHAPKD_ClientReq { + uint64 Unk2700_ONOOJBEABOE = 11; + uint32 dungeon_id = 12; + Unk2700_KBBDJNLFAKD Unk2700_LGBODABIKLL = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.pb.go new file mode 100644 index 00000000..e6e07283 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JKFGMBAMNDA_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5320 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JKFGMBAMNDA_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MDJOPHOHFDB uint32 `protobuf:"varint,5,opt,name=Unk2700_MDJOPHOHFDB,json=Unk2700MDJOPHOHFDB,proto3" json:"Unk2700_MDJOPHOHFDB,omitempty"` + BuildingList []*BuildingInfo `protobuf:"bytes,3,rep,name=building_list,json=buildingList,proto3" json:"building_list,omitempty"` + Unk2700_COFBIGLBNGP uint32 `protobuf:"varint,13,opt,name=Unk2700_COFBIGLBNGP,json=Unk2700COFBIGLBNGP,proto3" json:"Unk2700_COFBIGLBNGP,omitempty"` +} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) Reset() { + *x = Unk2700_JKFGMBAMNDA_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JKFGMBAMNDA_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JKFGMBAMNDA_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_JKFGMBAMNDA_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) GetUnk2700_MDJOPHOHFDB() uint32 { + if x != nil { + return x.Unk2700_MDJOPHOHFDB + } + return 0 +} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) GetBuildingList() []*BuildingInfo { + if x != nil { + return x.BuildingList + } + return nil +} + +func (x *Unk2700_JKFGMBAMNDA_ServerNotify) GetUnk2700_COFBIGLBNGP() uint32 { + if x != nil { + return x.Unk2700_COFBIGLBNGP + } + return 0 +} + +var File_Unk2700_JKFGMBAMNDA_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x46, 0x47, 0x4d, 0x42, + 0x41, 0x4d, 0x4e, 0x44, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x69, + 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, + 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x46, 0x47, 0x4d, 0x42, 0x41, + 0x4d, 0x4e, 0x44, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x44, 0x4a, + 0x4f, 0x50, 0x48, 0x4f, 0x48, 0x46, 0x44, 0x42, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x44, 0x4a, 0x4f, 0x50, 0x48, 0x4f, 0x48, 0x46, + 0x44, 0x42, 0x12, 0x32, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x75, 0x69, 0x6c, + 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, + 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x4f, 0x46, 0x42, 0x49, 0x47, 0x4c, 0x42, 0x4e, 0x47, 0x50, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x46, 0x42, + 0x49, 0x47, 0x4c, 0x42, 0x4e, 0x47, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescData = file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDesc +) + +func file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDescData +} + +var file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_JKFGMBAMNDA_ServerNotify)(nil), // 0: Unk2700_JKFGMBAMNDA_ServerNotify + (*BuildingInfo)(nil), // 1: BuildingInfo +} +var file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JKFGMBAMNDA_ServerNotify.building_list:type_name -> BuildingInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_init() } +func file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_init() { + if File_Unk2700_JKFGMBAMNDA_ServerNotify_proto != nil { + return + } + file_BuildingInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JKFGMBAMNDA_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_JKFGMBAMNDA_ServerNotify_proto = out.File + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_rawDesc = nil + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_goTypes = nil + file_Unk2700_JKFGMBAMNDA_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.proto new file mode 100644 index 00000000..fca429dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JKFGMBAMNDA_ServerNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BuildingInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5320 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JKFGMBAMNDA_ServerNotify { + uint32 Unk2700_MDJOPHOHFDB = 5; + repeated BuildingInfo building_list = 3; + uint32 Unk2700_COFBIGLBNGP = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.pb.go new file mode 100644 index 00000000..9bb3af69 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JKOKBPFCILA_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 467 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JKOKBPFCILA_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,4,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *Unk2700_JKOKBPFCILA_ClientReq) Reset() { + *x = Unk2700_JKOKBPFCILA_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JKOKBPFCILA_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JKOKBPFCILA_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JKOKBPFCILA_ClientReq) ProtoMessage() {} + +func (x *Unk2700_JKOKBPFCILA_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JKOKBPFCILA_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JKOKBPFCILA_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_JKOKBPFCILA_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JKOKBPFCILA_ClientReq) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_Unk2700_JKOKBPFCILA_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x4f, 0x4b, 0x42, 0x50, + 0x46, 0x43, 0x49, 0x4c, 0x41, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x4b, 0x4f, 0x4b, 0x42, 0x50, 0x46, 0x43, 0x49, 0x4c, 0x41, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescData = file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDesc +) + +func file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescData) + }) + return file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDescData +} + +var file_Unk2700_JKOKBPFCILA_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JKOKBPFCILA_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_JKOKBPFCILA_ClientReq)(nil), // 0: Unk2700_JKOKBPFCILA_ClientReq +} +var file_Unk2700_JKOKBPFCILA_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JKOKBPFCILA_ClientReq_proto_init() } +func file_Unk2700_JKOKBPFCILA_ClientReq_proto_init() { + if File_Unk2700_JKOKBPFCILA_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JKOKBPFCILA_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JKOKBPFCILA_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JKOKBPFCILA_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_JKOKBPFCILA_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_JKOKBPFCILA_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_JKOKBPFCILA_ClientReq_proto = out.File + file_Unk2700_JKOKBPFCILA_ClientReq_proto_rawDesc = nil + file_Unk2700_JKOKBPFCILA_ClientReq_proto_goTypes = nil + file_Unk2700_JKOKBPFCILA_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.proto new file mode 100644 index 00000000..5f3be241 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JKOKBPFCILA_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 467 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JKOKBPFCILA_ClientReq { + uint32 quest_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.pb.go b/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.pb.go new file mode 100644 index 00000000..961c8d5d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JLHKOLGFAMI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JLHKOLGFAMI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Score uint32 `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"` + Unk2700_HKFEBBCMBHL uint32 `protobuf:"varint,5,opt,name=Unk2700_HKFEBBCMBHL,json=Unk2700HKFEBBCMBHL,proto3" json:"Unk2700_HKFEBBCMBHL,omitempty"` + Unk2700_FHEHGDABALE uint32 `protobuf:"varint,2,opt,name=Unk2700_FHEHGDABALE,json=Unk2700FHEHGDABALE,proto3" json:"Unk2700_FHEHGDABALE,omitempty"` +} + +func (x *Unk2700_JLHKOLGFAMI) Reset() { + *x = Unk2700_JLHKOLGFAMI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JLHKOLGFAMI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JLHKOLGFAMI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JLHKOLGFAMI) ProtoMessage() {} + +func (x *Unk2700_JLHKOLGFAMI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JLHKOLGFAMI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JLHKOLGFAMI.ProtoReflect.Descriptor instead. +func (*Unk2700_JLHKOLGFAMI) Descriptor() ([]byte, []int) { + return file_Unk2700_JLHKOLGFAMI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JLHKOLGFAMI) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_JLHKOLGFAMI) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_JLHKOLGFAMI) GetUnk2700_HKFEBBCMBHL() uint32 { + if x != nil { + return x.Unk2700_HKFEBBCMBHL + } + return 0 +} + +func (x *Unk2700_JLHKOLGFAMI) GetUnk2700_FHEHGDABALE() uint32 { + if x != nil { + return x.Unk2700_FHEHGDABALE + } + return 0 +} + +var File_Unk2700_JLHKOLGFAMI_proto protoreflect.FileDescriptor + +var file_Unk2700_JLHKOLGFAMI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4c, 0x48, 0x4b, 0x4f, 0x4c, + 0x47, 0x46, 0x41, 0x4d, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4c, 0x48, 0x4b, 0x4f, 0x4c, 0x47, 0x46, + 0x41, 0x4d, 0x49, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, 0x48, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, + 0x43, 0x4d, 0x42, 0x48, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x46, 0x48, 0x45, 0x48, 0x47, 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x48, 0x45, 0x48, 0x47, + 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JLHKOLGFAMI_proto_rawDescOnce sync.Once + file_Unk2700_JLHKOLGFAMI_proto_rawDescData = file_Unk2700_JLHKOLGFAMI_proto_rawDesc +) + +func file_Unk2700_JLHKOLGFAMI_proto_rawDescGZIP() []byte { + file_Unk2700_JLHKOLGFAMI_proto_rawDescOnce.Do(func() { + file_Unk2700_JLHKOLGFAMI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JLHKOLGFAMI_proto_rawDescData) + }) + return file_Unk2700_JLHKOLGFAMI_proto_rawDescData +} + +var file_Unk2700_JLHKOLGFAMI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JLHKOLGFAMI_proto_goTypes = []interface{}{ + (*Unk2700_JLHKOLGFAMI)(nil), // 0: Unk2700_JLHKOLGFAMI +} +var file_Unk2700_JLHKOLGFAMI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JLHKOLGFAMI_proto_init() } +func file_Unk2700_JLHKOLGFAMI_proto_init() { + if File_Unk2700_JLHKOLGFAMI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JLHKOLGFAMI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JLHKOLGFAMI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JLHKOLGFAMI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JLHKOLGFAMI_proto_goTypes, + DependencyIndexes: file_Unk2700_JLHKOLGFAMI_proto_depIdxs, + MessageInfos: file_Unk2700_JLHKOLGFAMI_proto_msgTypes, + }.Build() + File_Unk2700_JLHKOLGFAMI_proto = out.File + file_Unk2700_JLHKOLGFAMI_proto_rawDesc = nil + file_Unk2700_JLHKOLGFAMI_proto_goTypes = nil + file_Unk2700_JLHKOLGFAMI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.proto b/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.proto new file mode 100644 index 00000000..e2110a2e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JLHKOLGFAMI.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_JLHKOLGFAMI { + uint32 level_id = 10; + uint32 score = 7; + uint32 Unk2700_HKFEBBCMBHL = 5; + uint32 Unk2700_FHEHGDABALE = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.pb.go new file mode 100644 index 00000000..bc631ebc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JLOFMANHGHI_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6247 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JLOFMANHGHI_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_JLOFMANHGHI_ClientReq) Reset() { + *x = Unk2700_JLOFMANHGHI_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JLOFMANHGHI_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JLOFMANHGHI_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JLOFMANHGHI_ClientReq) ProtoMessage() {} + +func (x *Unk2700_JLOFMANHGHI_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JLOFMANHGHI_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JLOFMANHGHI_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_JLOFMANHGHI_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_JLOFMANHGHI_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4c, 0x4f, 0x46, 0x4d, 0x41, + 0x4e, 0x48, 0x47, 0x48, 0x49, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x4c, 0x4f, 0x46, 0x4d, 0x41, 0x4e, 0x48, 0x47, 0x48, 0x49, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescData = file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDesc +) + +func file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescData) + }) + return file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDescData +} + +var file_Unk2700_JLOFMANHGHI_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JLOFMANHGHI_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_JLOFMANHGHI_ClientReq)(nil), // 0: Unk2700_JLOFMANHGHI_ClientReq +} +var file_Unk2700_JLOFMANHGHI_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JLOFMANHGHI_ClientReq_proto_init() } +func file_Unk2700_JLOFMANHGHI_ClientReq_proto_init() { + if File_Unk2700_JLOFMANHGHI_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JLOFMANHGHI_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JLOFMANHGHI_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JLOFMANHGHI_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_JLOFMANHGHI_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_JLOFMANHGHI_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_JLOFMANHGHI_ClientReq_proto = out.File + file_Unk2700_JLOFMANHGHI_ClientReq_proto_rawDesc = nil + file_Unk2700_JLOFMANHGHI_ClientReq_proto_goTypes = nil + file_Unk2700_JLOFMANHGHI_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.proto new file mode 100644 index 00000000..311bee7b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JLOFMANHGHI_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6247 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JLOFMANHGHI_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.pb.go b/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.pb.go new file mode 100644 index 00000000..aed4d6a4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JMPCGMBHJLG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JMPCGMBHJLG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MBEMKCGABIB uint32 `protobuf:"varint,3,opt,name=Unk2700_MBEMKCGABIB,json=Unk2700MBEMKCGABIB,proto3" json:"Unk2700_MBEMKCGABIB,omitempty"` + Unk2700_FJJDHBFLCCH []uint32 `protobuf:"varint,2,rep,packed,name=Unk2700_FJJDHBFLCCH,json=Unk2700FJJDHBFLCCH,proto3" json:"Unk2700_FJJDHBFLCCH,omitempty"` + Unk2700_JDBFOILOOIF []*Unk2700_MLMEFKLMOEF `protobuf:"bytes,7,rep,name=Unk2700_JDBFOILOOIF,json=Unk2700JDBFOILOOIF,proto3" json:"Unk2700_JDBFOILOOIF,omitempty"` +} + +func (x *Unk2700_JMPCGMBHJLG) Reset() { + *x = Unk2700_JMPCGMBHJLG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JMPCGMBHJLG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JMPCGMBHJLG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JMPCGMBHJLG) ProtoMessage() {} + +func (x *Unk2700_JMPCGMBHJLG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JMPCGMBHJLG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JMPCGMBHJLG.ProtoReflect.Descriptor instead. +func (*Unk2700_JMPCGMBHJLG) Descriptor() ([]byte, []int) { + return file_Unk2700_JMPCGMBHJLG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JMPCGMBHJLG) GetUnk2700_MBEMKCGABIB() uint32 { + if x != nil { + return x.Unk2700_MBEMKCGABIB + } + return 0 +} + +func (x *Unk2700_JMPCGMBHJLG) GetUnk2700_FJJDHBFLCCH() []uint32 { + if x != nil { + return x.Unk2700_FJJDHBFLCCH + } + return nil +} + +func (x *Unk2700_JMPCGMBHJLG) GetUnk2700_JDBFOILOOIF() []*Unk2700_MLMEFKLMOEF { + if x != nil { + return x.Unk2700_JDBFOILOOIF + } + return nil +} + +var File_Unk2700_JMPCGMBHJLG_proto protoreflect.FileDescriptor + +var file_Unk2700_JMPCGMBHJLG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4d, 0x50, 0x43, 0x47, 0x4d, + 0x42, 0x48, 0x4a, 0x4c, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x45, 0x46, 0x4b, 0x4c, 0x4d, 0x4f, 0x45, 0x46, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4a, 0x4d, 0x50, 0x43, 0x47, 0x4d, 0x42, 0x48, 0x4a, 0x4c, 0x47, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x45, 0x4d, 0x4b, 0x43, + 0x47, 0x41, 0x42, 0x49, 0x42, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4d, 0x42, 0x45, 0x4d, 0x4b, 0x43, 0x47, 0x41, 0x42, 0x49, 0x42, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4a, 0x4a, 0x44, 0x48, + 0x42, 0x46, 0x4c, 0x43, 0x43, 0x48, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4a, 0x4a, 0x44, 0x48, 0x42, 0x46, 0x4c, 0x43, 0x43, 0x48, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x42, 0x46, + 0x4f, 0x49, 0x4c, 0x4f, 0x4f, 0x49, 0x46, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x45, 0x46, 0x4b, 0x4c, 0x4d, + 0x4f, 0x45, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x44, 0x42, 0x46, + 0x4f, 0x49, 0x4c, 0x4f, 0x4f, 0x49, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JMPCGMBHJLG_proto_rawDescOnce sync.Once + file_Unk2700_JMPCGMBHJLG_proto_rawDescData = file_Unk2700_JMPCGMBHJLG_proto_rawDesc +) + +func file_Unk2700_JMPCGMBHJLG_proto_rawDescGZIP() []byte { + file_Unk2700_JMPCGMBHJLG_proto_rawDescOnce.Do(func() { + file_Unk2700_JMPCGMBHJLG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JMPCGMBHJLG_proto_rawDescData) + }) + return file_Unk2700_JMPCGMBHJLG_proto_rawDescData +} + +var file_Unk2700_JMPCGMBHJLG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JMPCGMBHJLG_proto_goTypes = []interface{}{ + (*Unk2700_JMPCGMBHJLG)(nil), // 0: Unk2700_JMPCGMBHJLG + (*Unk2700_MLMEFKLMOEF)(nil), // 1: Unk2700_MLMEFKLMOEF +} +var file_Unk2700_JMPCGMBHJLG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JMPCGMBHJLG.Unk2700_JDBFOILOOIF:type_name -> Unk2700_MLMEFKLMOEF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JMPCGMBHJLG_proto_init() } +func file_Unk2700_JMPCGMBHJLG_proto_init() { + if File_Unk2700_JMPCGMBHJLG_proto != nil { + return + } + file_Unk2700_MLMEFKLMOEF_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JMPCGMBHJLG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JMPCGMBHJLG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JMPCGMBHJLG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JMPCGMBHJLG_proto_goTypes, + DependencyIndexes: file_Unk2700_JMPCGMBHJLG_proto_depIdxs, + MessageInfos: file_Unk2700_JMPCGMBHJLG_proto_msgTypes, + }.Build() + File_Unk2700_JMPCGMBHJLG_proto = out.File + file_Unk2700_JMPCGMBHJLG_proto_rawDesc = nil + file_Unk2700_JMPCGMBHJLG_proto_goTypes = nil + file_Unk2700_JMPCGMBHJLG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.proto b/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.proto new file mode 100644 index 00000000..5b5076e2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JMPCGMBHJLG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MLMEFKLMOEF.proto"; + +option go_package = "./;proto"; + +message Unk2700_JMPCGMBHJLG { + uint32 Unk2700_MBEMKCGABIB = 3; + repeated uint32 Unk2700_FJJDHBFLCCH = 2; + repeated Unk2700_MLMEFKLMOEF Unk2700_JDBFOILOOIF = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.pb.go b/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.pb.go new file mode 100644 index 00000000..2d93782d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JNCINBLCNNL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8696 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JNCINBLCNNL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DMPIDNKAJML []uint32 `protobuf:"varint,3,rep,packed,name=Unk2700_DMPIDNKAJML,json=Unk2700DMPIDNKAJML,proto3" json:"Unk2700_DMPIDNKAJML,omitempty"` + ScheduleId uint32 `protobuf:"varint,4,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_JNCINBLCNNL) Reset() { + *x = Unk2700_JNCINBLCNNL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JNCINBLCNNL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JNCINBLCNNL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JNCINBLCNNL) ProtoMessage() {} + +func (x *Unk2700_JNCINBLCNNL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JNCINBLCNNL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JNCINBLCNNL.ProtoReflect.Descriptor instead. +func (*Unk2700_JNCINBLCNNL) Descriptor() ([]byte, []int) { + return file_Unk2700_JNCINBLCNNL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JNCINBLCNNL) GetUnk2700_DMPIDNKAJML() []uint32 { + if x != nil { + return x.Unk2700_DMPIDNKAJML + } + return nil +} + +func (x *Unk2700_JNCINBLCNNL) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_JNCINBLCNNL) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_JNCINBLCNNL_proto protoreflect.FileDescriptor + +var file_Unk2700_JNCINBLCNNL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4e, 0x43, 0x49, 0x4e, 0x42, + 0x4c, 0x43, 0x4e, 0x4e, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4e, 0x43, 0x49, 0x4e, 0x42, 0x4c, 0x43, + 0x4e, 0x4e, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x4d, 0x50, 0x49, 0x44, 0x4e, 0x4b, 0x41, 0x4a, 0x4d, 0x4c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4d, 0x50, 0x49, 0x44, 0x4e, 0x4b, + 0x41, 0x4a, 0x4d, 0x4c, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JNCINBLCNNL_proto_rawDescOnce sync.Once + file_Unk2700_JNCINBLCNNL_proto_rawDescData = file_Unk2700_JNCINBLCNNL_proto_rawDesc +) + +func file_Unk2700_JNCINBLCNNL_proto_rawDescGZIP() []byte { + file_Unk2700_JNCINBLCNNL_proto_rawDescOnce.Do(func() { + file_Unk2700_JNCINBLCNNL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JNCINBLCNNL_proto_rawDescData) + }) + return file_Unk2700_JNCINBLCNNL_proto_rawDescData +} + +var file_Unk2700_JNCINBLCNNL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JNCINBLCNNL_proto_goTypes = []interface{}{ + (*Unk2700_JNCINBLCNNL)(nil), // 0: Unk2700_JNCINBLCNNL +} +var file_Unk2700_JNCINBLCNNL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JNCINBLCNNL_proto_init() } +func file_Unk2700_JNCINBLCNNL_proto_init() { + if File_Unk2700_JNCINBLCNNL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JNCINBLCNNL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JNCINBLCNNL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JNCINBLCNNL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JNCINBLCNNL_proto_goTypes, + DependencyIndexes: file_Unk2700_JNCINBLCNNL_proto_depIdxs, + MessageInfos: file_Unk2700_JNCINBLCNNL_proto_msgTypes, + }.Build() + File_Unk2700_JNCINBLCNNL_proto = out.File + file_Unk2700_JNCINBLCNNL_proto_rawDesc = nil + file_Unk2700_JNCINBLCNNL_proto_goTypes = nil + file_Unk2700_JNCINBLCNNL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.proto b/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.proto new file mode 100644 index 00000000..ed2fe4ab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JNCINBLCNNL.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8696 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JNCINBLCNNL { + repeated uint32 Unk2700_DMPIDNKAJML = 3; + uint32 schedule_id = 4; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.pb.go b/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.pb.go new file mode 100644 index 00000000..281cef97 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JOEPIGNPDGH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JOEPIGNPDGH int32 + +const ( + Unk2700_JOEPIGNPDGH_Unk2700_JOEPIGNPDGH_Unk2700_GIGONJIGKBM Unk2700_JOEPIGNPDGH = 0 + Unk2700_JOEPIGNPDGH_Unk2700_JOEPIGNPDGH_Unk2700_AEKNMJMKIPN Unk2700_JOEPIGNPDGH = 1 + Unk2700_JOEPIGNPDGH_Unk2700_JOEPIGNPDGH_Unk2700_LKCIHNNHIFO Unk2700_JOEPIGNPDGH = 2 + Unk2700_JOEPIGNPDGH_Unk2700_JOEPIGNPDGH_Unk2700_EPAPGLMBAEB Unk2700_JOEPIGNPDGH = 3 +) + +// Enum value maps for Unk2700_JOEPIGNPDGH. +var ( + Unk2700_JOEPIGNPDGH_name = map[int32]string{ + 0: "Unk2700_JOEPIGNPDGH_Unk2700_GIGONJIGKBM", + 1: "Unk2700_JOEPIGNPDGH_Unk2700_AEKNMJMKIPN", + 2: "Unk2700_JOEPIGNPDGH_Unk2700_LKCIHNNHIFO", + 3: "Unk2700_JOEPIGNPDGH_Unk2700_EPAPGLMBAEB", + } + Unk2700_JOEPIGNPDGH_value = map[string]int32{ + "Unk2700_JOEPIGNPDGH_Unk2700_GIGONJIGKBM": 0, + "Unk2700_JOEPIGNPDGH_Unk2700_AEKNMJMKIPN": 1, + "Unk2700_JOEPIGNPDGH_Unk2700_LKCIHNNHIFO": 2, + "Unk2700_JOEPIGNPDGH_Unk2700_EPAPGLMBAEB": 3, + } +) + +func (x Unk2700_JOEPIGNPDGH) Enum() *Unk2700_JOEPIGNPDGH { + p := new(Unk2700_JOEPIGNPDGH) + *p = x + return p +} + +func (x Unk2700_JOEPIGNPDGH) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_JOEPIGNPDGH) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_JOEPIGNPDGH_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_JOEPIGNPDGH) Type() protoreflect.EnumType { + return &file_Unk2700_JOEPIGNPDGH_proto_enumTypes[0] +} + +func (x Unk2700_JOEPIGNPDGH) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_JOEPIGNPDGH.Descriptor instead. +func (Unk2700_JOEPIGNPDGH) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_JOEPIGNPDGH_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_JOEPIGNPDGH_proto protoreflect.FileDescriptor + +var file_Unk2700_JOEPIGNPDGH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, + 0x4e, 0x50, 0x44, 0x47, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, 0x50, + 0x44, 0x47, 0x48, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, 0x50, 0x44, 0x47, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x49, 0x47, 0x4f, 0x4e, 0x4a, 0x49, 0x47, 0x4b, 0x42, 0x4d, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, + 0x49, 0x47, 0x4e, 0x50, 0x44, 0x47, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x41, 0x45, 0x4b, 0x4e, 0x4d, 0x4a, 0x4d, 0x4b, 0x49, 0x50, 0x4e, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, + 0x50, 0x44, 0x47, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x43, + 0x49, 0x48, 0x4e, 0x4e, 0x48, 0x49, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x45, 0x50, 0x49, 0x47, 0x4e, 0x50, 0x44, 0x47, + 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x50, 0x41, 0x50, 0x47, 0x4c, + 0x4d, 0x42, 0x41, 0x45, 0x42, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JOEPIGNPDGH_proto_rawDescOnce sync.Once + file_Unk2700_JOEPIGNPDGH_proto_rawDescData = file_Unk2700_JOEPIGNPDGH_proto_rawDesc +) + +func file_Unk2700_JOEPIGNPDGH_proto_rawDescGZIP() []byte { + file_Unk2700_JOEPIGNPDGH_proto_rawDescOnce.Do(func() { + file_Unk2700_JOEPIGNPDGH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JOEPIGNPDGH_proto_rawDescData) + }) + return file_Unk2700_JOEPIGNPDGH_proto_rawDescData +} + +var file_Unk2700_JOEPIGNPDGH_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_JOEPIGNPDGH_proto_goTypes = []interface{}{ + (Unk2700_JOEPIGNPDGH)(0), // 0: Unk2700_JOEPIGNPDGH +} +var file_Unk2700_JOEPIGNPDGH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JOEPIGNPDGH_proto_init() } +func file_Unk2700_JOEPIGNPDGH_proto_init() { + if File_Unk2700_JOEPIGNPDGH_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JOEPIGNPDGH_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JOEPIGNPDGH_proto_goTypes, + DependencyIndexes: file_Unk2700_JOEPIGNPDGH_proto_depIdxs, + EnumInfos: file_Unk2700_JOEPIGNPDGH_proto_enumTypes, + }.Build() + File_Unk2700_JOEPIGNPDGH_proto = out.File + file_Unk2700_JOEPIGNPDGH_proto_rawDesc = nil + file_Unk2700_JOEPIGNPDGH_proto_goTypes = nil + file_Unk2700_JOEPIGNPDGH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.proto b/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.proto new file mode 100644 index 00000000..685f19dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JOEPIGNPDGH.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_JOEPIGNPDGH { + Unk2700_JOEPIGNPDGH_Unk2700_GIGONJIGKBM = 0; + Unk2700_JOEPIGNPDGH_Unk2700_AEKNMJMKIPN = 1; + Unk2700_JOEPIGNPDGH_Unk2700_LKCIHNNHIFO = 2; + Unk2700_JOEPIGNPDGH_Unk2700_EPAPGLMBAEB = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.pb.go new file mode 100644 index 00000000..b3b3d439 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JOHOODKBINN_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4256 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_JOHOODKBINN_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MaterialId uint32 `protobuf:"varint,6,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *Unk2700_JOHOODKBINN_ClientReq) Reset() { + *x = Unk2700_JOHOODKBINN_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JOHOODKBINN_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JOHOODKBINN_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JOHOODKBINN_ClientReq) ProtoMessage() {} + +func (x *Unk2700_JOHOODKBINN_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JOHOODKBINN_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JOHOODKBINN_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_JOHOODKBINN_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JOHOODKBINN_ClientReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *Unk2700_JOHOODKBINN_ClientReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk2700_JOHOODKBINN_ClientReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_Unk2700_JOHOODKBINN_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4f, 0x48, 0x4f, 0x4f, 0x44, + 0x4b, 0x42, 0x49, 0x4e, 0x4e, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x4f, 0x48, 0x4f, 0x4f, 0x44, 0x4b, 0x42, 0x49, 0x4e, 0x4e, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescData = file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDesc +) + +func file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescData) + }) + return file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDescData +} + +var file_Unk2700_JOHOODKBINN_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JOHOODKBINN_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_JOHOODKBINN_ClientReq)(nil), // 0: Unk2700_JOHOODKBINN_ClientReq + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_JOHOODKBINN_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_JOHOODKBINN_ClientReq.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_JOHOODKBINN_ClientReq_proto_init() } +func file_Unk2700_JOHOODKBINN_ClientReq_proto_init() { + if File_Unk2700_JOHOODKBINN_ClientReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_JOHOODKBINN_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JOHOODKBINN_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JOHOODKBINN_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_JOHOODKBINN_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_JOHOODKBINN_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_JOHOODKBINN_ClientReq_proto = out.File + file_Unk2700_JOHOODKBINN_ClientReq_proto_rawDesc = nil + file_Unk2700_JOHOODKBINN_ClientReq_proto_goTypes = nil + file_Unk2700_JOHOODKBINN_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.proto new file mode 100644 index 00000000..17696031 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JOHOODKBINN_ClientReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4256 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_JOHOODKBINN_ClientReq { + Vector pos = 10; + uint32 entity_id = 15; + uint32 material_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.pb.go b/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.pb.go new file mode 100644 index 00000000..8725004b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JPGAAHJBLKB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_JPGAAHJBLKB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarId uint64 `protobuf:"varint,3,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + IsTrial bool `protobuf:"varint,13,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` +} + +func (x *Unk2700_JPGAAHJBLKB) Reset() { + *x = Unk2700_JPGAAHJBLKB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JPGAAHJBLKB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JPGAAHJBLKB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JPGAAHJBLKB) ProtoMessage() {} + +func (x *Unk2700_JPGAAHJBLKB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JPGAAHJBLKB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JPGAAHJBLKB.ProtoReflect.Descriptor instead. +func (*Unk2700_JPGAAHJBLKB) Descriptor() ([]byte, []int) { + return file_Unk2700_JPGAAHJBLKB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JPGAAHJBLKB) GetAvatarId() uint64 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (x *Unk2700_JPGAAHJBLKB) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +var File_Unk2700_JPGAAHJBLKB_proto protoreflect.FileDescriptor + +var file_Unk2700_JPGAAHJBLKB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x47, 0x41, 0x41, 0x48, + 0x4a, 0x42, 0x4c, 0x4b, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x47, 0x41, 0x41, 0x48, 0x4a, 0x42, 0x4c, + 0x4b, 0x42, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JPGAAHJBLKB_proto_rawDescOnce sync.Once + file_Unk2700_JPGAAHJBLKB_proto_rawDescData = file_Unk2700_JPGAAHJBLKB_proto_rawDesc +) + +func file_Unk2700_JPGAAHJBLKB_proto_rawDescGZIP() []byte { + file_Unk2700_JPGAAHJBLKB_proto_rawDescOnce.Do(func() { + file_Unk2700_JPGAAHJBLKB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JPGAAHJBLKB_proto_rawDescData) + }) + return file_Unk2700_JPGAAHJBLKB_proto_rawDescData +} + +var file_Unk2700_JPGAAHJBLKB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JPGAAHJBLKB_proto_goTypes = []interface{}{ + (*Unk2700_JPGAAHJBLKB)(nil), // 0: Unk2700_JPGAAHJBLKB +} +var file_Unk2700_JPGAAHJBLKB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JPGAAHJBLKB_proto_init() } +func file_Unk2700_JPGAAHJBLKB_proto_init() { + if File_Unk2700_JPGAAHJBLKB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JPGAAHJBLKB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JPGAAHJBLKB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JPGAAHJBLKB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JPGAAHJBLKB_proto_goTypes, + DependencyIndexes: file_Unk2700_JPGAAHJBLKB_proto_depIdxs, + MessageInfos: file_Unk2700_JPGAAHJBLKB_proto_msgTypes, + }.Build() + File_Unk2700_JPGAAHJBLKB_proto = out.File + file_Unk2700_JPGAAHJBLKB_proto_rawDesc = nil + file_Unk2700_JPGAAHJBLKB_proto_goTypes = nil + file_Unk2700_JPGAAHJBLKB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.proto b/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.proto new file mode 100644 index 00000000..635248b6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JPGAAHJBLKB.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_JPGAAHJBLKB { + uint64 avatar_id = 3; + bool is_trial = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.pb.go b/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.pb.go new file mode 100644 index 00000000..0f1fd760 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_JPLFIOOMCGG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8142 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_JPLFIOOMCGG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_JPLFIOOMCGG) Reset() { + *x = Unk2700_JPLFIOOMCGG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_JPLFIOOMCGG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_JPLFIOOMCGG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_JPLFIOOMCGG) ProtoMessage() {} + +func (x *Unk2700_JPLFIOOMCGG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_JPLFIOOMCGG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_JPLFIOOMCGG.ProtoReflect.Descriptor instead. +func (*Unk2700_JPLFIOOMCGG) Descriptor() ([]byte, []int) { + return file_Unk2700_JPLFIOOMCGG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_JPLFIOOMCGG) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_JPLFIOOMCGG_proto protoreflect.FileDescriptor + +var file_Unk2700_JPLFIOOMCGG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x4c, 0x46, 0x49, 0x4f, + 0x4f, 0x4d, 0x43, 0x47, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x4c, 0x46, 0x49, 0x4f, 0x4f, 0x4d, 0x43, + 0x47, 0x47, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_JPLFIOOMCGG_proto_rawDescOnce sync.Once + file_Unk2700_JPLFIOOMCGG_proto_rawDescData = file_Unk2700_JPLFIOOMCGG_proto_rawDesc +) + +func file_Unk2700_JPLFIOOMCGG_proto_rawDescGZIP() []byte { + file_Unk2700_JPLFIOOMCGG_proto_rawDescOnce.Do(func() { + file_Unk2700_JPLFIOOMCGG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_JPLFIOOMCGG_proto_rawDescData) + }) + return file_Unk2700_JPLFIOOMCGG_proto_rawDescData +} + +var file_Unk2700_JPLFIOOMCGG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_JPLFIOOMCGG_proto_goTypes = []interface{}{ + (*Unk2700_JPLFIOOMCGG)(nil), // 0: Unk2700_JPLFIOOMCGG +} +var file_Unk2700_JPLFIOOMCGG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_JPLFIOOMCGG_proto_init() } +func file_Unk2700_JPLFIOOMCGG_proto_init() { + if File_Unk2700_JPLFIOOMCGG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_JPLFIOOMCGG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_JPLFIOOMCGG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_JPLFIOOMCGG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_JPLFIOOMCGG_proto_goTypes, + DependencyIndexes: file_Unk2700_JPLFIOOMCGG_proto_depIdxs, + MessageInfos: file_Unk2700_JPLFIOOMCGG_proto_msgTypes, + }.Build() + File_Unk2700_JPLFIOOMCGG_proto = out.File + file_Unk2700_JPLFIOOMCGG_proto_rawDesc = nil + file_Unk2700_JPLFIOOMCGG_proto_goTypes = nil + file_Unk2700_JPLFIOOMCGG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.proto b/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.proto new file mode 100644 index 00000000..d44a55a4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_JPLFIOOMCGG.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8142 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_JPLFIOOMCGG { + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.pb.go new file mode 100644 index 00000000..d039cbf2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KAJNLGIDKAB_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4289 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KAJNLGIDKAB_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + MaterialId uint32 `protobuf:"varint,8,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) Reset() { + *x = Unk2700_KAJNLGIDKAB_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KAJNLGIDKAB_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KAJNLGIDKAB_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KAJNLGIDKAB_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *Unk2700_KAJNLGIDKAB_ServerRsp) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_Unk2700_KAJNLGIDKAB_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x41, 0x4a, 0x4e, 0x4c, 0x47, + 0x49, 0x44, 0x4b, 0x41, 0x42, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x41, 0x4a, 0x4e, 0x4c, 0x47, 0x49, 0x44, 0x4b, 0x41, 0x42, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescData = file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KAJNLGIDKAB_ServerRsp)(nil), // 0: Unk2700_KAJNLGIDKAB_ServerRsp + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KAJNLGIDKAB_ServerRsp.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_init() } +func file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_init() { + if File_Unk2700_KAJNLGIDKAB_ServerRsp_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KAJNLGIDKAB_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KAJNLGIDKAB_ServerRsp_proto = out.File + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_rawDesc = nil + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_goTypes = nil + file_Unk2700_KAJNLGIDKAB_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.proto new file mode 100644 index 00000000..301557f6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KAJNLGIDKAB_ServerRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4289 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KAJNLGIDKAB_ServerRsp { + int32 retcode = 9; + uint32 entity_id = 4; + uint32 material_id = 8; + Vector pos = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.pb.go b/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.pb.go new file mode 100644 index 00000000..4f4a357e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KBBDJNLFAKD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KBBDJNLFAKD int32 + +const ( + Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB Unk2700_KBBDJNLFAKD = 0 + Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_IAPAEBBEILN Unk2700_KBBDJNLFAKD = 1 + Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_MPJODMAIHEL Unk2700_KBBDJNLFAKD = 2 + Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_KPNLCPIJPAH Unk2700_KBBDJNLFAKD = 3 +) + +// Enum value maps for Unk2700_KBBDJNLFAKD. +var ( + Unk2700_KBBDJNLFAKD_name = map[int32]string{ + 0: "Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB", + 1: "Unk2700_KBBDJNLFAKD_Unk2700_IAPAEBBEILN", + 2: "Unk2700_KBBDJNLFAKD_Unk2700_MPJODMAIHEL", + 3: "Unk2700_KBBDJNLFAKD_Unk2700_KPNLCPIJPAH", + } + Unk2700_KBBDJNLFAKD_value = map[string]int32{ + "Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB": 0, + "Unk2700_KBBDJNLFAKD_Unk2700_IAPAEBBEILN": 1, + "Unk2700_KBBDJNLFAKD_Unk2700_MPJODMAIHEL": 2, + "Unk2700_KBBDJNLFAKD_Unk2700_KPNLCPIJPAH": 3, + } +) + +func (x Unk2700_KBBDJNLFAKD) Enum() *Unk2700_KBBDJNLFAKD { + p := new(Unk2700_KBBDJNLFAKD) + *p = x + return p +} + +func (x Unk2700_KBBDJNLFAKD) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_KBBDJNLFAKD) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_KBBDJNLFAKD_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_KBBDJNLFAKD) Type() protoreflect.EnumType { + return &file_Unk2700_KBBDJNLFAKD_proto_enumTypes[0] +} + +func (x Unk2700_KBBDJNLFAKD) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_KBBDJNLFAKD.Descriptor instead. +func (Unk2700_KBBDJNLFAKD) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_KBBDJNLFAKD_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_KBBDJNLFAKD_proto protoreflect.FileDescriptor + +var file_Unk2700_KBBDJNLFAKD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, + 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, + 0x41, 0x4b, 0x44, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x46, 0x41, 0x43, 0x4a, 0x4d, 0x4d, 0x48, 0x41, 0x4f, 0x4c, 0x42, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, + 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x41, 0x50, 0x41, 0x45, 0x42, 0x42, 0x45, 0x49, 0x4c, 0x4e, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, + 0x46, 0x41, 0x4b, 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x4a, + 0x4f, 0x44, 0x4d, 0x41, 0x49, 0x48, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, + 0x44, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4e, 0x4c, 0x43, 0x50, + 0x49, 0x4a, 0x50, 0x41, 0x48, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KBBDJNLFAKD_proto_rawDescOnce sync.Once + file_Unk2700_KBBDJNLFAKD_proto_rawDescData = file_Unk2700_KBBDJNLFAKD_proto_rawDesc +) + +func file_Unk2700_KBBDJNLFAKD_proto_rawDescGZIP() []byte { + file_Unk2700_KBBDJNLFAKD_proto_rawDescOnce.Do(func() { + file_Unk2700_KBBDJNLFAKD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KBBDJNLFAKD_proto_rawDescData) + }) + return file_Unk2700_KBBDJNLFAKD_proto_rawDescData +} + +var file_Unk2700_KBBDJNLFAKD_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_KBBDJNLFAKD_proto_goTypes = []interface{}{ + (Unk2700_KBBDJNLFAKD)(0), // 0: Unk2700_KBBDJNLFAKD +} +var file_Unk2700_KBBDJNLFAKD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KBBDJNLFAKD_proto_init() } +func file_Unk2700_KBBDJNLFAKD_proto_init() { + if File_Unk2700_KBBDJNLFAKD_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KBBDJNLFAKD_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KBBDJNLFAKD_proto_goTypes, + DependencyIndexes: file_Unk2700_KBBDJNLFAKD_proto_depIdxs, + EnumInfos: file_Unk2700_KBBDJNLFAKD_proto_enumTypes, + }.Build() + File_Unk2700_KBBDJNLFAKD_proto = out.File + file_Unk2700_KBBDJNLFAKD_proto_rawDesc = nil + file_Unk2700_KBBDJNLFAKD_proto_goTypes = nil + file_Unk2700_KBBDJNLFAKD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.proto b/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.proto new file mode 100644 index 00000000..b65daa48 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KBBDJNLFAKD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_KBBDJNLFAKD { + Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB = 0; + Unk2700_KBBDJNLFAKD_Unk2700_IAPAEBBEILN = 1; + Unk2700_KBBDJNLFAKD_Unk2700_MPJODMAIHEL = 2; + Unk2700_KBBDJNLFAKD_Unk2700_KPNLCPIJPAH = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.pb.go new file mode 100644 index 00000000..099ada45 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.pb.go @@ -0,0 +1,262 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KDDPDHGPGEF_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 123 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KDDPDHGPGEF_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarId uint32 `protobuf:"varint,15,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` + // Types that are assignable to Detail: + // *Unk2700_KDDPDHGPGEF_ServerRsp_SkillResponse + // *Unk2700_KDDPDHGPGEF_ServerRsp_ReliquaryResponse + // *Unk2700_KDDPDHGPGEF_ServerRsp_ElementReliquaryResponse + Detail isUnk2700_KDDPDHGPGEF_ServerRsp_Detail `protobuf_oneof:"detail"` +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) Reset() { + *x = Unk2700_KDDPDHGPGEF_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KDDPDHGPGEF_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KDDPDHGPGEF_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KDDPDHGPGEF_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +func (m *Unk2700_KDDPDHGPGEF_ServerRsp) GetDetail() isUnk2700_KDDPDHGPGEF_ServerRsp_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) GetSkillResponse() *SkillResponse { + if x, ok := x.GetDetail().(*Unk2700_KDDPDHGPGEF_ServerRsp_SkillResponse); ok { + return x.SkillResponse + } + return nil +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) GetReliquaryResponse() *ReliquaryResponse { + if x, ok := x.GetDetail().(*Unk2700_KDDPDHGPGEF_ServerRsp_ReliquaryResponse); ok { + return x.ReliquaryResponse + } + return nil +} + +func (x *Unk2700_KDDPDHGPGEF_ServerRsp) GetElementReliquaryResponse() *ElementReliquaryResponse { + if x, ok := x.GetDetail().(*Unk2700_KDDPDHGPGEF_ServerRsp_ElementReliquaryResponse); ok { + return x.ElementReliquaryResponse + } + return nil +} + +type isUnk2700_KDDPDHGPGEF_ServerRsp_Detail interface { + isUnk2700_KDDPDHGPGEF_ServerRsp_Detail() +} + +type Unk2700_KDDPDHGPGEF_ServerRsp_SkillResponse struct { + SkillResponse *SkillResponse `protobuf:"bytes,1022,opt,name=skill_response,json=skillResponse,proto3,oneof"` +} + +type Unk2700_KDDPDHGPGEF_ServerRsp_ReliquaryResponse struct { + ReliquaryResponse *ReliquaryResponse `protobuf:"bytes,196,opt,name=reliquary_response,json=reliquaryResponse,proto3,oneof"` +} + +type Unk2700_KDDPDHGPGEF_ServerRsp_ElementReliquaryResponse struct { + ElementReliquaryResponse *ElementReliquaryResponse `protobuf:"bytes,167,opt,name=element_reliquary_response,json=elementReliquaryResponse,proto3,oneof"` +} + +func (*Unk2700_KDDPDHGPGEF_ServerRsp_SkillResponse) isUnk2700_KDDPDHGPGEF_ServerRsp_Detail() {} + +func (*Unk2700_KDDPDHGPGEF_ServerRsp_ReliquaryResponse) isUnk2700_KDDPDHGPGEF_ServerRsp_Detail() {} + +func (*Unk2700_KDDPDHGPGEF_ServerRsp_ElementReliquaryResponse) isUnk2700_KDDPDHGPGEF_ServerRsp_Detail() { +} + +var File_Unk2700_KDDPDHGPGEF_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x44, 0x50, 0x44, 0x48, + 0x47, 0x50, 0x47, 0x45, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, + 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x02, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x44, 0x44, 0x50, 0x44, 0x48, 0x47, 0x50, 0x47, 0x45, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x0e, + 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0xfe, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, + 0x61, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0xc4, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x6c, 0x69, 0x71, + 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x1a, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, + 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0xa7, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, + 0x75, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x18, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescData = file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KDDPDHGPGEF_ServerRsp)(nil), // 0: Unk2700_KDDPDHGPGEF_ServerRsp + (*SkillResponse)(nil), // 1: SkillResponse + (*ReliquaryResponse)(nil), // 2: ReliquaryResponse + (*ElementReliquaryResponse)(nil), // 3: ElementReliquaryResponse +} +var file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KDDPDHGPGEF_ServerRsp.skill_response:type_name -> SkillResponse + 2, // 1: Unk2700_KDDPDHGPGEF_ServerRsp.reliquary_response:type_name -> ReliquaryResponse + 3, // 2: Unk2700_KDDPDHGPGEF_ServerRsp.element_reliquary_response:type_name -> ElementReliquaryResponse + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_init() } +func file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_init() { + if File_Unk2700_KDDPDHGPGEF_ServerRsp_proto != nil { + return + } + file_ElementReliquaryResponse_proto_init() + file_ReliquaryResponse_proto_init() + file_SkillResponse_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KDDPDHGPGEF_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_KDDPDHGPGEF_ServerRsp_SkillResponse)(nil), + (*Unk2700_KDDPDHGPGEF_ServerRsp_ReliquaryResponse)(nil), + (*Unk2700_KDDPDHGPGEF_ServerRsp_ElementReliquaryResponse)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KDDPDHGPGEF_ServerRsp_proto = out.File + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_rawDesc = nil + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_goTypes = nil + file_Unk2700_KDDPDHGPGEF_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.proto new file mode 100644 index 00000000..763d40de --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDDPDHGPGEF_ServerRsp.proto @@ -0,0 +1,36 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ElementReliquaryResponse.proto"; +import "ReliquaryResponse.proto"; +import "SkillResponse.proto"; + +option go_package = "./;proto"; + +// CmdId: 123 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KDDPDHGPGEF_ServerRsp { + int32 retcode = 6; + uint32 avatar_id = 15; + oneof detail { + SkillResponse skill_response = 1022; + ReliquaryResponse reliquary_response = 196; + ElementReliquaryResponse element_reliquary_response = 167; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.pb.go b/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.pb.go new file mode 100644 index 00000000..6d382792 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KDFNIGOBLEK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8308 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KDFNIGOBLEK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + CardId uint32 `protobuf:"varint,8,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_PHGMKGEMCFF bool `protobuf:"varint,12,opt,name=Unk2700_PHGMKGEMCFF,json=Unk2700PHGMKGEMCFF,proto3" json:"Unk2700_PHGMKGEMCFF,omitempty"` +} + +func (x *Unk2700_KDFNIGOBLEK) Reset() { + *x = Unk2700_KDFNIGOBLEK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KDFNIGOBLEK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KDFNIGOBLEK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KDFNIGOBLEK) ProtoMessage() {} + +func (x *Unk2700_KDFNIGOBLEK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KDFNIGOBLEK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KDFNIGOBLEK.ProtoReflect.Descriptor instead. +func (*Unk2700_KDFNIGOBLEK) Descriptor() ([]byte, []int) { + return file_Unk2700_KDFNIGOBLEK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KDFNIGOBLEK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KDFNIGOBLEK) GetCardId() uint32 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *Unk2700_KDFNIGOBLEK) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_KDFNIGOBLEK) GetUnk2700_PHGMKGEMCFF() bool { + if x != nil { + return x.Unk2700_PHGMKGEMCFF + } + return false +} + +var File_Unk2700_KDFNIGOBLEK_proto protoreflect.FileDescriptor + +var file_Unk2700_KDFNIGOBLEK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x46, 0x4e, 0x49, 0x47, + 0x4f, 0x42, 0x4c, 0x45, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x46, 0x4e, 0x49, 0x47, 0x4f, 0x42, + 0x4c, 0x45, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, + 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, + 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, + 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, 0x46, 0x46, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x47, 0x4d, 0x4b, 0x47, 0x45, 0x4d, 0x43, + 0x46, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KDFNIGOBLEK_proto_rawDescOnce sync.Once + file_Unk2700_KDFNIGOBLEK_proto_rawDescData = file_Unk2700_KDFNIGOBLEK_proto_rawDesc +) + +func file_Unk2700_KDFNIGOBLEK_proto_rawDescGZIP() []byte { + file_Unk2700_KDFNIGOBLEK_proto_rawDescOnce.Do(func() { + file_Unk2700_KDFNIGOBLEK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KDFNIGOBLEK_proto_rawDescData) + }) + return file_Unk2700_KDFNIGOBLEK_proto_rawDescData +} + +var file_Unk2700_KDFNIGOBLEK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KDFNIGOBLEK_proto_goTypes = []interface{}{ + (*Unk2700_KDFNIGOBLEK)(nil), // 0: Unk2700_KDFNIGOBLEK +} +var file_Unk2700_KDFNIGOBLEK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KDFNIGOBLEK_proto_init() } +func file_Unk2700_KDFNIGOBLEK_proto_init() { + if File_Unk2700_KDFNIGOBLEK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KDFNIGOBLEK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KDFNIGOBLEK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KDFNIGOBLEK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KDFNIGOBLEK_proto_goTypes, + DependencyIndexes: file_Unk2700_KDFNIGOBLEK_proto_depIdxs, + MessageInfos: file_Unk2700_KDFNIGOBLEK_proto_msgTypes, + }.Build() + File_Unk2700_KDFNIGOBLEK_proto = out.File + file_Unk2700_KDFNIGOBLEK_proto_rawDesc = nil + file_Unk2700_KDFNIGOBLEK_proto_goTypes = nil + file_Unk2700_KDFNIGOBLEK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.proto b/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.proto new file mode 100644 index 00000000..4b2e032d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDFNIGOBLEK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8308 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KDFNIGOBLEK { + int32 retcode = 2; + uint32 card_id = 8; + uint32 level_id = 5; + bool Unk2700_PHGMKGEMCFF = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.pb.go b/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.pb.go new file mode 100644 index 00000000..66b0dad7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KDNNKELPJFL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8777 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KDNNKELPJFL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_KDNNKELPJFL) Reset() { + *x = Unk2700_KDNNKELPJFL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KDNNKELPJFL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KDNNKELPJFL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KDNNKELPJFL) ProtoMessage() {} + +func (x *Unk2700_KDNNKELPJFL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KDNNKELPJFL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KDNNKELPJFL.ProtoReflect.Descriptor instead. +func (*Unk2700_KDNNKELPJFL) Descriptor() ([]byte, []int) { + return file_Unk2700_KDNNKELPJFL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KDNNKELPJFL) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_KDNNKELPJFL_proto protoreflect.FileDescriptor + +var file_Unk2700_KDNNKELPJFL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x4e, 0x4e, 0x4b, 0x45, + 0x4c, 0x50, 0x4a, 0x46, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x4e, 0x4e, 0x4b, 0x45, 0x4c, 0x50, 0x4a, + 0x46, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KDNNKELPJFL_proto_rawDescOnce sync.Once + file_Unk2700_KDNNKELPJFL_proto_rawDescData = file_Unk2700_KDNNKELPJFL_proto_rawDesc +) + +func file_Unk2700_KDNNKELPJFL_proto_rawDescGZIP() []byte { + file_Unk2700_KDNNKELPJFL_proto_rawDescOnce.Do(func() { + file_Unk2700_KDNNKELPJFL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KDNNKELPJFL_proto_rawDescData) + }) + return file_Unk2700_KDNNKELPJFL_proto_rawDescData +} + +var file_Unk2700_KDNNKELPJFL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KDNNKELPJFL_proto_goTypes = []interface{}{ + (*Unk2700_KDNNKELPJFL)(nil), // 0: Unk2700_KDNNKELPJFL +} +var file_Unk2700_KDNNKELPJFL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KDNNKELPJFL_proto_init() } +func file_Unk2700_KDNNKELPJFL_proto_init() { + if File_Unk2700_KDNNKELPJFL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KDNNKELPJFL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KDNNKELPJFL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KDNNKELPJFL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KDNNKELPJFL_proto_goTypes, + DependencyIndexes: file_Unk2700_KDNNKELPJFL_proto_depIdxs, + MessageInfos: file_Unk2700_KDNNKELPJFL_proto_msgTypes, + }.Build() + File_Unk2700_KDNNKELPJFL_proto = out.File + file_Unk2700_KDNNKELPJFL_proto_rawDesc = nil + file_Unk2700_KDNNKELPJFL_proto_goTypes = nil + file_Unk2700_KDNNKELPJFL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.proto b/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.proto new file mode 100644 index 00000000..fcf21aeb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KDNNKELPJFL.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8777 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KDNNKELPJFL { + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.pb.go new file mode 100644 index 00000000..e95e16b6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KEMOFNEAOOO_ClientRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1182 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_KEMOFNEAOOO_ClientRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IBJECDLKPGM []uint32 `protobuf:"varint,7,rep,packed,name=Unk2700_IBJECDLKPGM,json=Unk2700IBJECDLKPGM,proto3" json:"Unk2700_IBJECDLKPGM,omitempty"` +} + +func (x *Unk2700_KEMOFNEAOOO_ClientRsp) Reset() { + *x = Unk2700_KEMOFNEAOOO_ClientRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KEMOFNEAOOO_ClientRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KEMOFNEAOOO_ClientRsp) ProtoMessage() {} + +func (x *Unk2700_KEMOFNEAOOO_ClientRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KEMOFNEAOOO_ClientRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KEMOFNEAOOO_ClientRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KEMOFNEAOOO_ClientRsp) GetUnk2700_IBJECDLKPGM() []uint32 { + if x != nil { + return x.Unk2700_IBJECDLKPGM + } + return nil +} + +var File_Unk2700_KEMOFNEAOOO_ClientRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4d, 0x4f, 0x46, 0x4e, + 0x45, 0x41, 0x4f, 0x4f, 0x4f, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x45, 0x4d, 0x4f, 0x46, 0x4e, 0x45, 0x41, 0x4f, 0x4f, 0x4f, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x42, 0x4a, 0x45, 0x43, 0x44, 0x4c, 0x4b, 0x50, 0x47, 0x4d, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x42, 0x4a, 0x45, + 0x43, 0x44, 0x4c, 0x4b, 0x50, 0x47, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescOnce sync.Once + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescData = file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDesc +) + +func file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescData) + }) + return file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDescData +} + +var file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_goTypes = []interface{}{ + (*Unk2700_KEMOFNEAOOO_ClientRsp)(nil), // 0: Unk2700_KEMOFNEAOOO_ClientRsp +} +var file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_init() } +func file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_init() { + if File_Unk2700_KEMOFNEAOOO_ClientRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KEMOFNEAOOO_ClientRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_msgTypes, + }.Build() + File_Unk2700_KEMOFNEAOOO_ClientRsp_proto = out.File + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_rawDesc = nil + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_goTypes = nil + file_Unk2700_KEMOFNEAOOO_ClientRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.proto b/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.proto new file mode 100644 index 00000000..dde155f5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KEMOFNEAOOO_ClientRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1182 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_KEMOFNEAOOO_ClientRsp { + repeated uint32 Unk2700_IBJECDLKPGM = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.pb.go b/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.pb.go new file mode 100644 index 00000000..ffd04a11 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KFPEIHHCCLA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8978 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KFPEIHHCCLA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + Id uint32 `protobuf:"varint,15,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_KFPEIHHCCLA) Reset() { + *x = Unk2700_KFPEIHHCCLA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KFPEIHHCCLA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KFPEIHHCCLA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KFPEIHHCCLA) ProtoMessage() {} + +func (x *Unk2700_KFPEIHHCCLA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KFPEIHHCCLA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KFPEIHHCCLA.ProtoReflect.Descriptor instead. +func (*Unk2700_KFPEIHHCCLA) Descriptor() ([]byte, []int) { + return file_Unk2700_KFPEIHHCCLA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KFPEIHHCCLA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KFPEIHHCCLA) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_KFPEIHHCCLA_proto protoreflect.FileDescriptor + +var file_Unk2700_KFPEIHHCCLA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x46, 0x50, 0x45, 0x49, 0x48, + 0x48, 0x43, 0x43, 0x4c, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x46, 0x50, 0x45, 0x49, 0x48, 0x48, 0x43, 0x43, + 0x4c, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KFPEIHHCCLA_proto_rawDescOnce sync.Once + file_Unk2700_KFPEIHHCCLA_proto_rawDescData = file_Unk2700_KFPEIHHCCLA_proto_rawDesc +) + +func file_Unk2700_KFPEIHHCCLA_proto_rawDescGZIP() []byte { + file_Unk2700_KFPEIHHCCLA_proto_rawDescOnce.Do(func() { + file_Unk2700_KFPEIHHCCLA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KFPEIHHCCLA_proto_rawDescData) + }) + return file_Unk2700_KFPEIHHCCLA_proto_rawDescData +} + +var file_Unk2700_KFPEIHHCCLA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KFPEIHHCCLA_proto_goTypes = []interface{}{ + (*Unk2700_KFPEIHHCCLA)(nil), // 0: Unk2700_KFPEIHHCCLA +} +var file_Unk2700_KFPEIHHCCLA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KFPEIHHCCLA_proto_init() } +func file_Unk2700_KFPEIHHCCLA_proto_init() { + if File_Unk2700_KFPEIHHCCLA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KFPEIHHCCLA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KFPEIHHCCLA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KFPEIHHCCLA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KFPEIHHCCLA_proto_goTypes, + DependencyIndexes: file_Unk2700_KFPEIHHCCLA_proto_depIdxs, + MessageInfos: file_Unk2700_KFPEIHHCCLA_proto_msgTypes, + }.Build() + File_Unk2700_KFPEIHHCCLA_proto = out.File + file_Unk2700_KFPEIHHCCLA_proto_rawDesc = nil + file_Unk2700_KFPEIHHCCLA_proto_goTypes = nil + file_Unk2700_KFPEIHHCCLA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.proto b/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.proto new file mode 100644 index 00000000..1b9e7715 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KFPEIHHCCLA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8978 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KFPEIHHCCLA { + int32 retcode = 2; + uint32 id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.pb.go new file mode 100644 index 00000000..65edbcba --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KGHOJPDNMKK_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4641 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KGHOJPDNMKK_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_JJBKBKPEIBC *Unk2700_IMMPPANFEPP `protobuf:"bytes,14,opt,name=Unk2700_JJBKBKPEIBC,json=Unk2700JJBKBKPEIBC,proto3" json:"Unk2700_JJBKBKPEIBC,omitempty"` +} + +func (x *Unk2700_KGHOJPDNMKK_ServerRsp) Reset() { + *x = Unk2700_KGHOJPDNMKK_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KGHOJPDNMKK_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KGHOJPDNMKK_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KGHOJPDNMKK_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KGHOJPDNMKK_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KGHOJPDNMKK_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KGHOJPDNMKK_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KGHOJPDNMKK_ServerRsp) GetUnk2700_JJBKBKPEIBC() *Unk2700_IMMPPANFEPP { + if x != nil { + return x.Unk2700_JJBKBKPEIBC + } + return nil +} + +var File_Unk2700_KGHOJPDNMKK_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x48, 0x4f, 0x4a, 0x50, + 0x44, 0x4e, 0x4d, 0x4b, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, 0x50, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x80, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x48, + 0x4f, 0x4a, 0x50, 0x44, 0x4e, 0x4d, 0x4b, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x42, 0x4b, 0x42, 0x4b, 0x50, 0x45, + 0x49, 0x42, 0x43, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, 0x50, 0x50, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x4a, 0x42, 0x4b, 0x42, 0x4b, 0x50, 0x45, + 0x49, 0x42, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescData = file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KGHOJPDNMKK_ServerRsp)(nil), // 0: Unk2700_KGHOJPDNMKK_ServerRsp + (*Unk2700_IMMPPANFEPP)(nil), // 1: Unk2700_IMMPPANFEPP +} +var file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KGHOJPDNMKK_ServerRsp.Unk2700_JJBKBKPEIBC:type_name -> Unk2700_IMMPPANFEPP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_init() } +func file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_init() { + if File_Unk2700_KGHOJPDNMKK_ServerRsp_proto != nil { + return + } + file_Unk2700_IMMPPANFEPP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KGHOJPDNMKK_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KGHOJPDNMKK_ServerRsp_proto = out.File + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_rawDesc = nil + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_goTypes = nil + file_Unk2700_KGHOJPDNMKK_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.proto new file mode 100644 index 00000000..a7efd368 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KGHOJPDNMKK_ServerRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IMMPPANFEPP.proto"; + +option go_package = "./;proto"; + +// CmdId: 4641 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KGHOJPDNMKK_ServerRsp { + int32 retcode = 13; + Unk2700_IMMPPANFEPP Unk2700_JJBKBKPEIBC = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.pb.go b/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.pb.go new file mode 100644 index 00000000..fca68186 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KGNJIBIMAHI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8842 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KGNJIBIMAHI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNew bool `protobuf:"varint,12,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + AffixList []uint32 `protobuf:"varint,8,rep,packed,name=affix_list,json=affixList,proto3" json:"affix_list,omitempty"` + Unk2700_BPNCECAFPDK uint32 `protobuf:"varint,11,opt,name=Unk2700_BPNCECAFPDK,json=Unk2700BPNCECAFPDK,proto3" json:"Unk2700_BPNCECAFPDK,omitempty"` +} + +func (x *Unk2700_KGNJIBIMAHI) Reset() { + *x = Unk2700_KGNJIBIMAHI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KGNJIBIMAHI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KGNJIBIMAHI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KGNJIBIMAHI) ProtoMessage() {} + +func (x *Unk2700_KGNJIBIMAHI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KGNJIBIMAHI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KGNJIBIMAHI.ProtoReflect.Descriptor instead. +func (*Unk2700_KGNJIBIMAHI) Descriptor() ([]byte, []int) { + return file_Unk2700_KGNJIBIMAHI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KGNJIBIMAHI) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +func (x *Unk2700_KGNJIBIMAHI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KGNJIBIMAHI) GetAffixList() []uint32 { + if x != nil { + return x.AffixList + } + return nil +} + +func (x *Unk2700_KGNJIBIMAHI) GetUnk2700_BPNCECAFPDK() uint32 { + if x != nil { + return x.Unk2700_BPNCECAFPDK + } + return 0 +} + +var File_Unk2700_KGNJIBIMAHI_proto protoreflect.FileDescriptor + +var file_Unk2700_KGNJIBIMAHI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x4e, 0x4a, 0x49, 0x42, + 0x49, 0x4d, 0x41, 0x48, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x4e, 0x4a, 0x49, 0x42, 0x49, 0x4d, + 0x41, 0x48, 0x49, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, + 0x50, 0x4e, 0x43, 0x45, 0x43, 0x41, 0x46, 0x50, 0x44, 0x4b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, 0x4e, 0x43, 0x45, 0x43, 0x41, + 0x46, 0x50, 0x44, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KGNJIBIMAHI_proto_rawDescOnce sync.Once + file_Unk2700_KGNJIBIMAHI_proto_rawDescData = file_Unk2700_KGNJIBIMAHI_proto_rawDesc +) + +func file_Unk2700_KGNJIBIMAHI_proto_rawDescGZIP() []byte { + file_Unk2700_KGNJIBIMAHI_proto_rawDescOnce.Do(func() { + file_Unk2700_KGNJIBIMAHI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KGNJIBIMAHI_proto_rawDescData) + }) + return file_Unk2700_KGNJIBIMAHI_proto_rawDescData +} + +var file_Unk2700_KGNJIBIMAHI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KGNJIBIMAHI_proto_goTypes = []interface{}{ + (*Unk2700_KGNJIBIMAHI)(nil), // 0: Unk2700_KGNJIBIMAHI +} +var file_Unk2700_KGNJIBIMAHI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KGNJIBIMAHI_proto_init() } +func file_Unk2700_KGNJIBIMAHI_proto_init() { + if File_Unk2700_KGNJIBIMAHI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KGNJIBIMAHI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KGNJIBIMAHI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KGNJIBIMAHI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KGNJIBIMAHI_proto_goTypes, + DependencyIndexes: file_Unk2700_KGNJIBIMAHI_proto_depIdxs, + MessageInfos: file_Unk2700_KGNJIBIMAHI_proto_msgTypes, + }.Build() + File_Unk2700_KGNJIBIMAHI_proto = out.File + file_Unk2700_KGNJIBIMAHI_proto_rawDesc = nil + file_Unk2700_KGNJIBIMAHI_proto_goTypes = nil + file_Unk2700_KGNJIBIMAHI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.proto b/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.proto new file mode 100644 index 00000000..3a58bbfa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KGNJIBIMAHI.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8842 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KGNJIBIMAHI { + bool is_new = 12; + int32 retcode = 6; + repeated uint32 affix_list = 8; + uint32 Unk2700_BPNCECAFPDK = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.pb.go b/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.pb.go new file mode 100644 index 00000000..ac4bf675 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KHDMDKKDOCD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KHDMDKKDOCD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarGuid uint64 `protobuf:"varint,8,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + IsTrial bool `protobuf:"varint,2,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` +} + +func (x *Unk2700_KHDMDKKDOCD) Reset() { + *x = Unk2700_KHDMDKKDOCD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KHDMDKKDOCD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KHDMDKKDOCD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KHDMDKKDOCD) ProtoMessage() {} + +func (x *Unk2700_KHDMDKKDOCD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KHDMDKKDOCD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KHDMDKKDOCD.ProtoReflect.Descriptor instead. +func (*Unk2700_KHDMDKKDOCD) Descriptor() ([]byte, []int) { + return file_Unk2700_KHDMDKKDOCD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KHDMDKKDOCD) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *Unk2700_KHDMDKKDOCD) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +var File_Unk2700_KHDMDKKDOCD_proto protoreflect.FileDescriptor + +var file_Unk2700_KHDMDKKDOCD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x44, 0x4d, 0x44, 0x4b, + 0x4b, 0x44, 0x4f, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x44, 0x4d, 0x44, 0x4b, 0x4b, 0x44, 0x4f, + 0x43, 0x44, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_KHDMDKKDOCD_proto_rawDescOnce sync.Once + file_Unk2700_KHDMDKKDOCD_proto_rawDescData = file_Unk2700_KHDMDKKDOCD_proto_rawDesc +) + +func file_Unk2700_KHDMDKKDOCD_proto_rawDescGZIP() []byte { + file_Unk2700_KHDMDKKDOCD_proto_rawDescOnce.Do(func() { + file_Unk2700_KHDMDKKDOCD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KHDMDKKDOCD_proto_rawDescData) + }) + return file_Unk2700_KHDMDKKDOCD_proto_rawDescData +} + +var file_Unk2700_KHDMDKKDOCD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KHDMDKKDOCD_proto_goTypes = []interface{}{ + (*Unk2700_KHDMDKKDOCD)(nil), // 0: Unk2700_KHDMDKKDOCD +} +var file_Unk2700_KHDMDKKDOCD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KHDMDKKDOCD_proto_init() } +func file_Unk2700_KHDMDKKDOCD_proto_init() { + if File_Unk2700_KHDMDKKDOCD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KHDMDKKDOCD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KHDMDKKDOCD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KHDMDKKDOCD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KHDMDKKDOCD_proto_goTypes, + DependencyIndexes: file_Unk2700_KHDMDKKDOCD_proto_depIdxs, + MessageInfos: file_Unk2700_KHDMDKKDOCD_proto_msgTypes, + }.Build() + File_Unk2700_KHDMDKKDOCD_proto = out.File + file_Unk2700_KHDMDKKDOCD_proto_rawDesc = nil + file_Unk2700_KHDMDKKDOCD_proto_goTypes = nil + file_Unk2700_KHDMDKKDOCD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.proto b/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.proto new file mode 100644 index 00000000..309968bd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KHDMDKKDOCD.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_KHDMDKKDOCD { + uint64 avatar_guid = 8; + bool is_trial = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.pb.go new file mode 100644 index 00000000..361bbf47 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KHLJJPGOELG_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6225 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_KHLJJPGOELG_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MDIJOHEFFHI *Unk2700_KLPINMKOEPE `protobuf:"bytes,5,opt,name=Unk2700_MDIJOHEFFHI,json=Unk2700MDIJOHEFFHI,proto3" json:"Unk2700_MDIJOHEFFHI,omitempty"` + Unk2700_FHHLMJALLMN bool `protobuf:"varint,7,opt,name=Unk2700_FHHLMJALLMN,json=Unk2700FHHLMJALLMN,proto3" json:"Unk2700_FHHLMJALLMN,omitempty"` + Unk2700_JGFDODPBGFL *Unk2700_PHGGAEDHLBN `protobuf:"bytes,13,opt,name=Unk2700_JGFDODPBGFL,json=Unk2700JGFDODPBGFL,proto3" json:"Unk2700_JGFDODPBGFL,omitempty"` +} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) Reset() { + *x = Unk2700_KHLJJPGOELG_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KHLJJPGOELG_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KHLJJPGOELG_ClientReq) ProtoMessage() {} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KHLJJPGOELG_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KHLJJPGOELG_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_KHLJJPGOELG_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) GetUnk2700_MDIJOHEFFHI() *Unk2700_KLPINMKOEPE { + if x != nil { + return x.Unk2700_MDIJOHEFFHI + } + return nil +} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) GetUnk2700_FHHLMJALLMN() bool { + if x != nil { + return x.Unk2700_FHHLMJALLMN + } + return false +} + +func (x *Unk2700_KHLJJPGOELG_ClientReq) GetUnk2700_JGFDODPBGFL() *Unk2700_PHGGAEDHLBN { + if x != nil { + return x.Unk2700_JGFDODPBGFL + } + return nil +} + +var File_Unk2700_KHLJJPGOELG_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4c, 0x4a, 0x4a, 0x50, + 0x47, 0x4f, 0x45, 0x4c, 0x47, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x4c, 0x50, 0x49, 0x4e, 0x4d, 0x4b, 0x4f, 0x45, 0x50, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, + 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x1d, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4c, 0x4a, 0x4a, 0x50, 0x47, 0x4f, + 0x45, 0x4c, 0x47, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x44, 0x49, 0x4a, 0x4f, 0x48, 0x45, + 0x46, 0x46, 0x48, 0x49, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x49, 0x4e, 0x4d, 0x4b, 0x4f, 0x45, 0x50, 0x45, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x44, 0x49, 0x4a, 0x4f, 0x48, 0x45, + 0x46, 0x46, 0x48, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x46, 0x48, 0x48, 0x4c, 0x4d, 0x4a, 0x41, 0x4c, 0x4c, 0x4d, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x48, 0x48, 0x4c, 0x4d, 0x4a, + 0x41, 0x4c, 0x4c, 0x4d, 0x4e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x47, 0x46, 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, + 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4a, 0x47, 0x46, 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescData = file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDesc +) + +func file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescData) + }) + return file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDescData +} + +var file_Unk2700_KHLJJPGOELG_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KHLJJPGOELG_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_KHLJJPGOELG_ClientReq)(nil), // 0: Unk2700_KHLJJPGOELG_ClientReq + (*Unk2700_KLPINMKOEPE)(nil), // 1: Unk2700_KLPINMKOEPE + (*Unk2700_PHGGAEDHLBN)(nil), // 2: Unk2700_PHGGAEDHLBN +} +var file_Unk2700_KHLJJPGOELG_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KHLJJPGOELG_ClientReq.Unk2700_MDIJOHEFFHI:type_name -> Unk2700_KLPINMKOEPE + 2, // 1: Unk2700_KHLJJPGOELG_ClientReq.Unk2700_JGFDODPBGFL:type_name -> Unk2700_PHGGAEDHLBN + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_KHLJJPGOELG_ClientReq_proto_init() } +func file_Unk2700_KHLJJPGOELG_ClientReq_proto_init() { + if File_Unk2700_KHLJJPGOELG_ClientReq_proto != nil { + return + } + file_Unk2700_KLPINMKOEPE_proto_init() + file_Unk2700_PHGGAEDHLBN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KHLJJPGOELG_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KHLJJPGOELG_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KHLJJPGOELG_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_KHLJJPGOELG_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_KHLJJPGOELG_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_KHLJJPGOELG_ClientReq_proto = out.File + file_Unk2700_KHLJJPGOELG_ClientReq_proto_rawDesc = nil + file_Unk2700_KHLJJPGOELG_ClientReq_proto_goTypes = nil + file_Unk2700_KHLJJPGOELG_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.proto new file mode 100644 index 00000000..9bf3132b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KHLJJPGOELG_ClientReq.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KLPINMKOEPE.proto"; +import "Unk2700_PHGGAEDHLBN.proto"; + +option go_package = "./;proto"; + +// CmdId: 6225 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_KHLJJPGOELG_ClientReq { + Unk2700_KLPINMKOEPE Unk2700_MDIJOHEFFHI = 5; + bool Unk2700_FHHLMJALLMN = 7; + Unk2700_PHGGAEDHLBN Unk2700_JGFDODPBGFL = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.pb.go b/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.pb.go new file mode 100644 index 00000000..edc24103 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KIGGOKAEFHM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KIGGOKAEFHM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,2,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,1,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` + Nickname string `protobuf:"bytes,12,opt,name=nickname,proto3" json:"nickname,omitempty"` +} + +func (x *Unk2700_KIGGOKAEFHM) Reset() { + *x = Unk2700_KIGGOKAEFHM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KIGGOKAEFHM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KIGGOKAEFHM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KIGGOKAEFHM) ProtoMessage() {} + +func (x *Unk2700_KIGGOKAEFHM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KIGGOKAEFHM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KIGGOKAEFHM.ProtoReflect.Descriptor instead. +func (*Unk2700_KIGGOKAEFHM) Descriptor() ([]byte, []int) { + return file_Unk2700_KIGGOKAEFHM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KIGGOKAEFHM) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *Unk2700_KIGGOKAEFHM) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_KIGGOKAEFHM) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +func (x *Unk2700_KIGGOKAEFHM) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +var File_Unk2700_KIGGOKAEFHM_proto protoreflect.FileDescriptor + +var file_Unk2700_KIGGOKAEFHM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x47, 0x47, 0x4f, 0x4b, + 0x41, 0x45, 0x46, 0x48, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, + 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x49, 0x47, 0x47, 0x4f, 0x4b, 0x41, 0x45, 0x46, 0x48, 0x4d, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, + 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KIGGOKAEFHM_proto_rawDescOnce sync.Once + file_Unk2700_KIGGOKAEFHM_proto_rawDescData = file_Unk2700_KIGGOKAEFHM_proto_rawDesc +) + +func file_Unk2700_KIGGOKAEFHM_proto_rawDescGZIP() []byte { + file_Unk2700_KIGGOKAEFHM_proto_rawDescOnce.Do(func() { + file_Unk2700_KIGGOKAEFHM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KIGGOKAEFHM_proto_rawDescData) + }) + return file_Unk2700_KIGGOKAEFHM_proto_rawDescData +} + +var file_Unk2700_KIGGOKAEFHM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KIGGOKAEFHM_proto_goTypes = []interface{}{ + (*Unk2700_KIGGOKAEFHM)(nil), // 0: Unk2700_KIGGOKAEFHM + (*ItemParam)(nil), // 1: ItemParam + (*ProfilePicture)(nil), // 2: ProfilePicture +} +var file_Unk2700_KIGGOKAEFHM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KIGGOKAEFHM.item_list:type_name -> ItemParam + 2, // 1: Unk2700_KIGGOKAEFHM.profile_picture:type_name -> ProfilePicture + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_KIGGOKAEFHM_proto_init() } +func file_Unk2700_KIGGOKAEFHM_proto_init() { + if File_Unk2700_KIGGOKAEFHM_proto != nil { + return + } + file_ItemParam_proto_init() + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KIGGOKAEFHM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KIGGOKAEFHM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KIGGOKAEFHM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KIGGOKAEFHM_proto_goTypes, + DependencyIndexes: file_Unk2700_KIGGOKAEFHM_proto_depIdxs, + MessageInfos: file_Unk2700_KIGGOKAEFHM_proto_msgTypes, + }.Build() + File_Unk2700_KIGGOKAEFHM_proto = out.File + file_Unk2700_KIGGOKAEFHM_proto_rawDesc = nil + file_Unk2700_KIGGOKAEFHM_proto_goTypes = nil + file_Unk2700_KIGGOKAEFHM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.proto b/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.proto new file mode 100644 index 00000000..608e94b0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIGGOKAEFHM.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message Unk2700_KIGGOKAEFHM { + repeated ItemParam item_list = 2; + uint32 uid = 8; + ProfilePicture profile_picture = 1; + string nickname = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.pb.go new file mode 100644 index 00000000..92188f8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KIHEEAGDGIL_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 108 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KIHEEAGDGIL_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *Unk2700_DPPCDPBBABA `protobuf:"bytes,13,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *Unk2700_KIHEEAGDGIL_ServerNotify) Reset() { + *x = Unk2700_KIHEEAGDGIL_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KIHEEAGDGIL_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KIHEEAGDGIL_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_KIHEEAGDGIL_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KIHEEAGDGIL_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_KIHEEAGDGIL_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KIHEEAGDGIL_ServerNotify) GetInfo() *Unk2700_DPPCDPBBABA { + if x != nil { + return x.Info + } + return nil +} + +var File_Unk2700_KIHEEAGDGIL_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x48, 0x45, 0x45, 0x41, + 0x47, 0x44, 0x47, 0x49, 0x4c, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, 0x42, 0x42, 0x41, 0x42, 0x41, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x49, 0x48, 0x45, 0x45, 0x41, 0x47, 0x44, 0x47, 0x49, 0x4c, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x50, 0x50, 0x43, 0x44, 0x50, 0x42, 0x42, 0x41, 0x42, 0x41, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescData = file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDesc +) + +func file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDescData +} + +var file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_KIHEEAGDGIL_ServerNotify)(nil), // 0: Unk2700_KIHEEAGDGIL_ServerNotify + (*Unk2700_DPPCDPBBABA)(nil), // 1: Unk2700_DPPCDPBBABA +} +var file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KIHEEAGDGIL_ServerNotify.info:type_name -> Unk2700_DPPCDPBBABA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_init() } +func file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_init() { + if File_Unk2700_KIHEEAGDGIL_ServerNotify_proto != nil { + return + } + file_Unk2700_DPPCDPBBABA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KIHEEAGDGIL_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_KIHEEAGDGIL_ServerNotify_proto = out.File + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_rawDesc = nil + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_goTypes = nil + file_Unk2700_KIHEEAGDGIL_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.proto new file mode 100644 index 00000000..857216a4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIHEEAGDGIL_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DPPCDPBBABA.proto"; + +option go_package = "./;proto"; + +// CmdId: 108 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KIHEEAGDGIL_ServerNotify { + Unk2700_DPPCDPBBABA info = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.pb.go new file mode 100644 index 00000000..9a96468b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KIIOGMKFNNP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4615 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KIIOGMKFNNP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_KIIOGMKFNNP_ServerRsp) Reset() { + *x = Unk2700_KIIOGMKFNNP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KIIOGMKFNNP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KIIOGMKFNNP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KIIOGMKFNNP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KIIOGMKFNNP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KIIOGMKFNNP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KIIOGMKFNNP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_KIIOGMKFNNP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x49, 0x4f, 0x47, 0x4d, + 0x4b, 0x46, 0x4e, 0x4e, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x49, 0x49, 0x4f, 0x47, 0x4d, 0x4b, 0x46, 0x4e, 0x4e, 0x50, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescData = file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KIIOGMKFNNP_ServerRsp)(nil), // 0: Unk2700_KIIOGMKFNNP_ServerRsp +} +var file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_init() } +func file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_init() { + if File_Unk2700_KIIOGMKFNNP_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KIIOGMKFNNP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KIIOGMKFNNP_ServerRsp_proto = out.File + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_rawDesc = nil + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_goTypes = nil + file_Unk2700_KIIOGMKFNNP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.proto new file mode 100644 index 00000000..d3539f6a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KIIOGMKFNNP_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4615 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KIIOGMKFNNP_ServerRsp { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.pb.go b/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.pb.go new file mode 100644 index 00000000..d4c6a63c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KJDPNIKDKEJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KJDPNIKDKEJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Unk2700_HEMFKLPNNOM `protobuf:"varint,8,opt,name=type,proto3,enum=Unk2700_HEMFKLPNNOM" json:"type,omitempty"` + Value int32 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Unk2700_KJDPNIKDKEJ) Reset() { + *x = Unk2700_KJDPNIKDKEJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KJDPNIKDKEJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KJDPNIKDKEJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KJDPNIKDKEJ) ProtoMessage() {} + +func (x *Unk2700_KJDPNIKDKEJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KJDPNIKDKEJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KJDPNIKDKEJ.ProtoReflect.Descriptor instead. +func (*Unk2700_KJDPNIKDKEJ) Descriptor() ([]byte, []int) { + return file_Unk2700_KJDPNIKDKEJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KJDPNIKDKEJ) GetType() Unk2700_HEMFKLPNNOM { + if x != nil { + return x.Type + } + return Unk2700_HEMFKLPNNOM_Unk2700_HEMFKLPNNOM_Unk2700_ODJKANKMPPJ +} + +func (x *Unk2700_KJDPNIKDKEJ) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + +var File_Unk2700_KJDPNIKDKEJ_proto protoreflect.FileDescriptor + +var file_Unk2700_KJDPNIKDKEJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x44, 0x50, 0x4e, 0x49, + 0x4b, 0x44, 0x4b, 0x45, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x4a, 0x44, 0x50, 0x4e, 0x49, 0x4b, 0x44, 0x4b, 0x45, 0x4a, 0x12, 0x28, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x45, 0x4d, 0x46, 0x4b, 0x4c, 0x50, 0x4e, 0x4e, 0x4f, + 0x4d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_KJDPNIKDKEJ_proto_rawDescOnce sync.Once + file_Unk2700_KJDPNIKDKEJ_proto_rawDescData = file_Unk2700_KJDPNIKDKEJ_proto_rawDesc +) + +func file_Unk2700_KJDPNIKDKEJ_proto_rawDescGZIP() []byte { + file_Unk2700_KJDPNIKDKEJ_proto_rawDescOnce.Do(func() { + file_Unk2700_KJDPNIKDKEJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KJDPNIKDKEJ_proto_rawDescData) + }) + return file_Unk2700_KJDPNIKDKEJ_proto_rawDescData +} + +var file_Unk2700_KJDPNIKDKEJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KJDPNIKDKEJ_proto_goTypes = []interface{}{ + (*Unk2700_KJDPNIKDKEJ)(nil), // 0: Unk2700_KJDPNIKDKEJ + (Unk2700_HEMFKLPNNOM)(0), // 1: Unk2700_HEMFKLPNNOM +} +var file_Unk2700_KJDPNIKDKEJ_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KJDPNIKDKEJ.type:type_name -> Unk2700_HEMFKLPNNOM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KJDPNIKDKEJ_proto_init() } +func file_Unk2700_KJDPNIKDKEJ_proto_init() { + if File_Unk2700_KJDPNIKDKEJ_proto != nil { + return + } + file_Unk2700_HEMFKLPNNOM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KJDPNIKDKEJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KJDPNIKDKEJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KJDPNIKDKEJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KJDPNIKDKEJ_proto_goTypes, + DependencyIndexes: file_Unk2700_KJDPNIKDKEJ_proto_depIdxs, + MessageInfos: file_Unk2700_KJDPNIKDKEJ_proto_msgTypes, + }.Build() + File_Unk2700_KJDPNIKDKEJ_proto = out.File + file_Unk2700_KJDPNIKDKEJ_proto_rawDesc = nil + file_Unk2700_KJDPNIKDKEJ_proto_goTypes = nil + file_Unk2700_KJDPNIKDKEJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.proto b/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.proto new file mode 100644 index 00000000..9f5419e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KJDPNIKDKEJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HEMFKLPNNOM.proto"; + +option go_package = "./;proto"; + +message Unk2700_KJDPNIKDKEJ { + Unk2700_HEMFKLPNNOM type = 8; + int32 value = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.pb.go b/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.pb.go new file mode 100644 index 00000000..085a6fb5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KJODHFMHMNC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KJODHFMHMNC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Unk2700_MMNILGLDHHD bool `protobuf:"varint,14,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` +} + +func (x *Unk2700_KJODHFMHMNC) Reset() { + *x = Unk2700_KJODHFMHMNC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KJODHFMHMNC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KJODHFMHMNC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KJODHFMHMNC) ProtoMessage() {} + +func (x *Unk2700_KJODHFMHMNC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KJODHFMHMNC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KJODHFMHMNC.ProtoReflect.Descriptor instead. +func (*Unk2700_KJODHFMHMNC) Descriptor() ([]byte, []int) { + return file_Unk2700_KJODHFMHMNC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KJODHFMHMNC) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_KJODHFMHMNC) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +var File_Unk2700_KJODHFMHMNC_proto protoreflect.FileDescriptor + +var file_Unk2700_KJODHFMHMNC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4f, 0x44, 0x48, 0x46, + 0x4d, 0x48, 0x4d, 0x4e, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4f, 0x44, 0x48, 0x46, 0x4d, 0x48, 0x4d, + 0x4e, 0x43, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, + 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, + 0x48, 0x48, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KJODHFMHMNC_proto_rawDescOnce sync.Once + file_Unk2700_KJODHFMHMNC_proto_rawDescData = file_Unk2700_KJODHFMHMNC_proto_rawDesc +) + +func file_Unk2700_KJODHFMHMNC_proto_rawDescGZIP() []byte { + file_Unk2700_KJODHFMHMNC_proto_rawDescOnce.Do(func() { + file_Unk2700_KJODHFMHMNC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KJODHFMHMNC_proto_rawDescData) + }) + return file_Unk2700_KJODHFMHMNC_proto_rawDescData +} + +var file_Unk2700_KJODHFMHMNC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KJODHFMHMNC_proto_goTypes = []interface{}{ + (*Unk2700_KJODHFMHMNC)(nil), // 0: Unk2700_KJODHFMHMNC +} +var file_Unk2700_KJODHFMHMNC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KJODHFMHMNC_proto_init() } +func file_Unk2700_KJODHFMHMNC_proto_init() { + if File_Unk2700_KJODHFMHMNC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KJODHFMHMNC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KJODHFMHMNC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KJODHFMHMNC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KJODHFMHMNC_proto_goTypes, + DependencyIndexes: file_Unk2700_KJODHFMHMNC_proto_depIdxs, + MessageInfos: file_Unk2700_KJODHFMHMNC_proto_msgTypes, + }.Build() + File_Unk2700_KJODHFMHMNC_proto = out.File + file_Unk2700_KJODHFMHMNC_proto_rawDesc = nil + file_Unk2700_KJODHFMHMNC_proto_goTypes = nil + file_Unk2700_KJODHFMHMNC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.proto b/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.proto new file mode 100644 index 00000000..b9f2a377 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KJODHFMHMNC.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_KJODHFMHMNC { + uint32 id = 1; + bool Unk2700_MMNILGLDHHD = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.pb.go b/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.pb.go new file mode 100644 index 00000000..5ad42fba --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KKEDIMOKCGD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8218 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_KKEDIMOKCGD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_NHBDAFBHNMH bool `protobuf:"varint,9,opt,name=Unk2700_NHBDAFBHNMH,json=Unk2700NHBDAFBHNMH,proto3" json:"Unk2700_NHBDAFBHNMH,omitempty"` + Unk2700_KEAGHCIIGGN Unk2700_EEPNCOAEKBM `protobuf:"varint,10,opt,name=Unk2700_KEAGHCIIGGN,json=Unk2700KEAGHCIIGGN,proto3,enum=Unk2700_EEPNCOAEKBM" json:"Unk2700_KEAGHCIIGGN,omitempty"` +} + +func (x *Unk2700_KKEDIMOKCGD) Reset() { + *x = Unk2700_KKEDIMOKCGD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KKEDIMOKCGD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KKEDIMOKCGD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KKEDIMOKCGD) ProtoMessage() {} + +func (x *Unk2700_KKEDIMOKCGD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KKEDIMOKCGD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KKEDIMOKCGD.ProtoReflect.Descriptor instead. +func (*Unk2700_KKEDIMOKCGD) Descriptor() ([]byte, []int) { + return file_Unk2700_KKEDIMOKCGD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KKEDIMOKCGD) GetUnk2700_NHBDAFBHNMH() bool { + if x != nil { + return x.Unk2700_NHBDAFBHNMH + } + return false +} + +func (x *Unk2700_KKEDIMOKCGD) GetUnk2700_KEAGHCIIGGN() Unk2700_EEPNCOAEKBM { + if x != nil { + return x.Unk2700_KEAGHCIIGGN + } + return Unk2700_EEPNCOAEKBM_Unk2700_EEPNCOAEKBM_Unk2700_EAFEANPNJLO +} + +var File_Unk2700_KKEDIMOKCGD_proto protoreflect.FileDescriptor + +var file_Unk2700_KKEDIMOKCGD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x45, 0x44, 0x49, 0x4d, + 0x4f, 0x4b, 0x43, 0x47, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, 0x42, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x45, 0x44, 0x49, 0x4d, 0x4f, 0x4b, 0x43, 0x47, 0x44, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x42, 0x44, 0x41, 0x46, + 0x42, 0x48, 0x4e, 0x4d, 0x48, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4e, 0x48, 0x42, 0x44, 0x41, 0x46, 0x42, 0x48, 0x4e, 0x4d, 0x48, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x41, 0x47, 0x48, + 0x43, 0x49, 0x49, 0x47, 0x47, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x45, 0x50, 0x4e, 0x43, 0x4f, 0x41, 0x45, 0x4b, + 0x42, 0x4d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x45, 0x41, 0x47, 0x48, + 0x43, 0x49, 0x49, 0x47, 0x47, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KKEDIMOKCGD_proto_rawDescOnce sync.Once + file_Unk2700_KKEDIMOKCGD_proto_rawDescData = file_Unk2700_KKEDIMOKCGD_proto_rawDesc +) + +func file_Unk2700_KKEDIMOKCGD_proto_rawDescGZIP() []byte { + file_Unk2700_KKEDIMOKCGD_proto_rawDescOnce.Do(func() { + file_Unk2700_KKEDIMOKCGD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KKEDIMOKCGD_proto_rawDescData) + }) + return file_Unk2700_KKEDIMOKCGD_proto_rawDescData +} + +var file_Unk2700_KKEDIMOKCGD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KKEDIMOKCGD_proto_goTypes = []interface{}{ + (*Unk2700_KKEDIMOKCGD)(nil), // 0: Unk2700_KKEDIMOKCGD + (Unk2700_EEPNCOAEKBM)(0), // 1: Unk2700_EEPNCOAEKBM +} +var file_Unk2700_KKEDIMOKCGD_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KKEDIMOKCGD.Unk2700_KEAGHCIIGGN:type_name -> Unk2700_EEPNCOAEKBM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KKEDIMOKCGD_proto_init() } +func file_Unk2700_KKEDIMOKCGD_proto_init() { + if File_Unk2700_KKEDIMOKCGD_proto != nil { + return + } + file_Unk2700_EEPNCOAEKBM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KKEDIMOKCGD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KKEDIMOKCGD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KKEDIMOKCGD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KKEDIMOKCGD_proto_goTypes, + DependencyIndexes: file_Unk2700_KKEDIMOKCGD_proto_depIdxs, + MessageInfos: file_Unk2700_KKEDIMOKCGD_proto_msgTypes, + }.Build() + File_Unk2700_KKEDIMOKCGD_proto = out.File + file_Unk2700_KKEDIMOKCGD_proto_rawDesc = nil + file_Unk2700_KKEDIMOKCGD_proto_goTypes = nil + file_Unk2700_KKEDIMOKCGD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.proto b/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.proto new file mode 100644 index 00000000..9a106562 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KKEDIMOKCGD.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EEPNCOAEKBM.proto"; + +option go_package = "./;proto"; + +// CmdId: 8218 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_KKEDIMOKCGD { + bool Unk2700_NHBDAFBHNMH = 9; + Unk2700_EEPNCOAEKBM Unk2700_KEAGHCIIGGN = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.pb.go b/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.pb.go new file mode 100644 index 00000000..8f29990d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KLJLJGJOBDI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KLJLJGJOBDI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CDDONJJMFCI uint32 `protobuf:"varint,8,opt,name=Unk2700_CDDONJJMFCI,json=Unk2700CDDONJJMFCI,proto3" json:"Unk2700_CDDONJJMFCI,omitempty"` + Reason Unk2700_NCNPNMFFONG `protobuf:"varint,7,opt,name=reason,proto3,enum=Unk2700_NCNPNMFFONG" json:"reason,omitempty"` + FinalScore uint32 `protobuf:"varint,13,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + Unk2700_FFCCLGIFGIP uint32 `protobuf:"varint,15,opt,name=Unk2700_FFCCLGIFGIP,json=Unk2700FFCCLGIFGIP,proto3" json:"Unk2700_FFCCLGIFGIP,omitempty"` +} + +func (x *Unk2700_KLJLJGJOBDI) Reset() { + *x = Unk2700_KLJLJGJOBDI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KLJLJGJOBDI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KLJLJGJOBDI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KLJLJGJOBDI) ProtoMessage() {} + +func (x *Unk2700_KLJLJGJOBDI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KLJLJGJOBDI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KLJLJGJOBDI.ProtoReflect.Descriptor instead. +func (*Unk2700_KLJLJGJOBDI) Descriptor() ([]byte, []int) { + return file_Unk2700_KLJLJGJOBDI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KLJLJGJOBDI) GetUnk2700_CDDONJJMFCI() uint32 { + if x != nil { + return x.Unk2700_CDDONJJMFCI + } + return 0 +} + +func (x *Unk2700_KLJLJGJOBDI) GetReason() Unk2700_NCNPNMFFONG { + if x != nil { + return x.Reason + } + return Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_EOOLPOEEAPH +} + +func (x *Unk2700_KLJLJGJOBDI) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *Unk2700_KLJLJGJOBDI) GetUnk2700_FFCCLGIFGIP() uint32 { + if x != nil { + return x.Unk2700_FFCCLGIFGIP + } + return 0 +} + +var File_Unk2700_KLJLJGJOBDI_proto protoreflect.FileDescriptor + +var file_Unk2700_KLJLJGJOBDI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4a, 0x4c, 0x4a, 0x47, + 0x4a, 0x4f, 0x42, 0x44, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4a, 0x4c, 0x4a, 0x47, 0x4a, 0x4f, 0x42, 0x44, 0x49, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x44, 0x4f, 0x4e, 0x4a, + 0x4a, 0x4d, 0x46, 0x43, 0x49, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, 0x44, 0x4f, 0x4e, 0x4a, 0x4a, 0x4d, 0x46, 0x43, 0x49, 0x12, + 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, + 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, + 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x43, 0x43, 0x4c, 0x47, + 0x49, 0x46, 0x47, 0x49, 0x50, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x46, 0x46, 0x43, 0x43, 0x4c, 0x47, 0x49, 0x46, 0x47, 0x49, 0x50, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KLJLJGJOBDI_proto_rawDescOnce sync.Once + file_Unk2700_KLJLJGJOBDI_proto_rawDescData = file_Unk2700_KLJLJGJOBDI_proto_rawDesc +) + +func file_Unk2700_KLJLJGJOBDI_proto_rawDescGZIP() []byte { + file_Unk2700_KLJLJGJOBDI_proto_rawDescOnce.Do(func() { + file_Unk2700_KLJLJGJOBDI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KLJLJGJOBDI_proto_rawDescData) + }) + return file_Unk2700_KLJLJGJOBDI_proto_rawDescData +} + +var file_Unk2700_KLJLJGJOBDI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KLJLJGJOBDI_proto_goTypes = []interface{}{ + (*Unk2700_KLJLJGJOBDI)(nil), // 0: Unk2700_KLJLJGJOBDI + (Unk2700_NCNPNMFFONG)(0), // 1: Unk2700_NCNPNMFFONG +} +var file_Unk2700_KLJLJGJOBDI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KLJLJGJOBDI.reason:type_name -> Unk2700_NCNPNMFFONG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KLJLJGJOBDI_proto_init() } +func file_Unk2700_KLJLJGJOBDI_proto_init() { + if File_Unk2700_KLJLJGJOBDI_proto != nil { + return + } + file_Unk2700_NCNPNMFFONG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KLJLJGJOBDI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KLJLJGJOBDI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KLJLJGJOBDI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KLJLJGJOBDI_proto_goTypes, + DependencyIndexes: file_Unk2700_KLJLJGJOBDI_proto_depIdxs, + MessageInfos: file_Unk2700_KLJLJGJOBDI_proto_msgTypes, + }.Build() + File_Unk2700_KLJLJGJOBDI_proto = out.File + file_Unk2700_KLJLJGJOBDI_proto_rawDesc = nil + file_Unk2700_KLJLJGJOBDI_proto_goTypes = nil + file_Unk2700_KLJLJGJOBDI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.proto b/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.proto new file mode 100644 index 00000000..1fb2b3f6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KLJLJGJOBDI.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_NCNPNMFFONG.proto"; + +option go_package = "./;proto"; + +message Unk2700_KLJLJGJOBDI { + uint32 Unk2700_CDDONJJMFCI = 8; + Unk2700_NCNPNMFFONG reason = 7; + uint32 final_score = 13; + uint32 Unk2700_FFCCLGIFGIP = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.pb.go b/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.pb.go new file mode 100644 index 00000000..93f1e6da --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KLPINMKOEPE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KLPINMKOEPE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,15,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + Unk2700_ICMKKOMLHIH []*Unk2700_IGJLOMCPLLE `protobuf:"bytes,4,rep,name=Unk2700_ICMKKOMLHIH,json=Unk2700ICMKKOMLHIH,proto3" json:"Unk2700_ICMKKOMLHIH,omitempty"` +} + +func (x *Unk2700_KLPINMKOEPE) Reset() { + *x = Unk2700_KLPINMKOEPE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KLPINMKOEPE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KLPINMKOEPE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KLPINMKOEPE) ProtoMessage() {} + +func (x *Unk2700_KLPINMKOEPE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KLPINMKOEPE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KLPINMKOEPE.ProtoReflect.Descriptor instead. +func (*Unk2700_KLPINMKOEPE) Descriptor() ([]byte, []int) { + return file_Unk2700_KLPINMKOEPE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KLPINMKOEPE) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +func (x *Unk2700_KLPINMKOEPE) GetUnk2700_ICMKKOMLHIH() []*Unk2700_IGJLOMCPLLE { + if x != nil { + return x.Unk2700_ICMKKOMLHIH + } + return nil +} + +var File_Unk2700_KLPINMKOEPE_proto protoreflect.FileDescriptor + +var file_Unk2700_KLPINMKOEPE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x49, 0x4e, 0x4d, + 0x4b, 0x4f, 0x45, 0x50, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4a, 0x4c, 0x4f, 0x4d, 0x43, 0x50, 0x4c, 0x4c, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x49, 0x4e, 0x4d, 0x4b, 0x4f, 0x45, 0x50, 0x45, 0x12, 0x17, 0x0a, + 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x43, 0x4d, 0x4b, 0x4b, 0x4f, 0x4d, 0x4c, 0x48, 0x49, 0x48, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x47, + 0x4a, 0x4c, 0x4f, 0x4d, 0x43, 0x50, 0x4c, 0x4c, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x49, 0x43, 0x4d, 0x4b, 0x4b, 0x4f, 0x4d, 0x4c, 0x48, 0x49, 0x48, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_KLPINMKOEPE_proto_rawDescOnce sync.Once + file_Unk2700_KLPINMKOEPE_proto_rawDescData = file_Unk2700_KLPINMKOEPE_proto_rawDesc +) + +func file_Unk2700_KLPINMKOEPE_proto_rawDescGZIP() []byte { + file_Unk2700_KLPINMKOEPE_proto_rawDescOnce.Do(func() { + file_Unk2700_KLPINMKOEPE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KLPINMKOEPE_proto_rawDescData) + }) + return file_Unk2700_KLPINMKOEPE_proto_rawDescData +} + +var file_Unk2700_KLPINMKOEPE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KLPINMKOEPE_proto_goTypes = []interface{}{ + (*Unk2700_KLPINMKOEPE)(nil), // 0: Unk2700_KLPINMKOEPE + (*Unk2700_IGJLOMCPLLE)(nil), // 1: Unk2700_IGJLOMCPLLE +} +var file_Unk2700_KLPINMKOEPE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KLPINMKOEPE.Unk2700_ICMKKOMLHIH:type_name -> Unk2700_IGJLOMCPLLE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KLPINMKOEPE_proto_init() } +func file_Unk2700_KLPINMKOEPE_proto_init() { + if File_Unk2700_KLPINMKOEPE_proto != nil { + return + } + file_Unk2700_IGJLOMCPLLE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KLPINMKOEPE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KLPINMKOEPE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KLPINMKOEPE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KLPINMKOEPE_proto_goTypes, + DependencyIndexes: file_Unk2700_KLPINMKOEPE_proto_depIdxs, + MessageInfos: file_Unk2700_KLPINMKOEPE_proto_msgTypes, + }.Build() + File_Unk2700_KLPINMKOEPE_proto = out.File + file_Unk2700_KLPINMKOEPE_proto_rawDesc = nil + file_Unk2700_KLPINMKOEPE_proto_goTypes = nil + file_Unk2700_KLPINMKOEPE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.proto b/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.proto new file mode 100644 index 00000000..fe6e5ea6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KLPINMKOEPE.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IGJLOMCPLLE.proto"; + +option go_package = "./;proto"; + +message Unk2700_KLPINMKOEPE { + uint32 room_id = 15; + repeated Unk2700_IGJLOMCPLLE Unk2700_ICMKKOMLHIH = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.pb.go b/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.pb.go new file mode 100644 index 00000000..02eb8bc4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KMIDCPLAGMN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8848 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KMIDCPLAGMN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,7,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_IFCNGIPPOAE map[uint32]uint32 `protobuf:"bytes,14,rep,name=Unk2700_IFCNGIPPOAE,json=Unk2700IFCNGIPPOAE,proto3" json:"Unk2700_IFCNGIPPOAE,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_KMIDCPLAGMN) Reset() { + *x = Unk2700_KMIDCPLAGMN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KMIDCPLAGMN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KMIDCPLAGMN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KMIDCPLAGMN) ProtoMessage() {} + +func (x *Unk2700_KMIDCPLAGMN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KMIDCPLAGMN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KMIDCPLAGMN.ProtoReflect.Descriptor instead. +func (*Unk2700_KMIDCPLAGMN) Descriptor() ([]byte, []int) { + return file_Unk2700_KMIDCPLAGMN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KMIDCPLAGMN) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_KMIDCPLAGMN) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KMIDCPLAGMN) GetUnk2700_IFCNGIPPOAE() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFCNGIPPOAE + } + return nil +} + +var File_Unk2700_KMIDCPLAGMN_proto protoreflect.FileDescriptor + +var file_Unk2700_KMIDCPLAGMN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x49, 0x44, 0x43, 0x50, + 0x4c, 0x41, 0x47, 0x4d, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x49, 0x44, 0x43, 0x50, 0x4c, 0x41, + 0x47, 0x4d, 0x4e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x5d, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, + 0x50, 0x50, 0x4f, 0x41, 0x45, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x49, 0x44, 0x43, 0x50, 0x4c, 0x41, 0x47, 0x4d, + 0x4e, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, + 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x1a, 0x45, 0x0a, + 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, + 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KMIDCPLAGMN_proto_rawDescOnce sync.Once + file_Unk2700_KMIDCPLAGMN_proto_rawDescData = file_Unk2700_KMIDCPLAGMN_proto_rawDesc +) + +func file_Unk2700_KMIDCPLAGMN_proto_rawDescGZIP() []byte { + file_Unk2700_KMIDCPLAGMN_proto_rawDescOnce.Do(func() { + file_Unk2700_KMIDCPLAGMN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KMIDCPLAGMN_proto_rawDescData) + }) + return file_Unk2700_KMIDCPLAGMN_proto_rawDescData +} + +var file_Unk2700_KMIDCPLAGMN_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_KMIDCPLAGMN_proto_goTypes = []interface{}{ + (*Unk2700_KMIDCPLAGMN)(nil), // 0: Unk2700_KMIDCPLAGMN + nil, // 1: Unk2700_KMIDCPLAGMN.Unk2700IFCNGIPPOAEEntry +} +var file_Unk2700_KMIDCPLAGMN_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KMIDCPLAGMN.Unk2700_IFCNGIPPOAE:type_name -> Unk2700_KMIDCPLAGMN.Unk2700IFCNGIPPOAEEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KMIDCPLAGMN_proto_init() } +func file_Unk2700_KMIDCPLAGMN_proto_init() { + if File_Unk2700_KMIDCPLAGMN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KMIDCPLAGMN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KMIDCPLAGMN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KMIDCPLAGMN_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KMIDCPLAGMN_proto_goTypes, + DependencyIndexes: file_Unk2700_KMIDCPLAGMN_proto_depIdxs, + MessageInfos: file_Unk2700_KMIDCPLAGMN_proto_msgTypes, + }.Build() + File_Unk2700_KMIDCPLAGMN_proto = out.File + file_Unk2700_KMIDCPLAGMN_proto_rawDesc = nil + file_Unk2700_KMIDCPLAGMN_proto_goTypes = nil + file_Unk2700_KMIDCPLAGMN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.proto b/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.proto new file mode 100644 index 00000000..da6f7fd4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KMIDCPLAGMN.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8848 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KMIDCPLAGMN { + uint32 schedule_id = 7; + int32 retcode = 3; + map Unk2700_IFCNGIPPOAE = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.pb.go new file mode 100644 index 00000000..d2ef0082 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KMNPMLCHELD_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6201 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KMNPMLCHELD_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_KMNPMLCHELD_ServerRsp) Reset() { + *x = Unk2700_KMNPMLCHELD_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KMNPMLCHELD_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KMNPMLCHELD_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KMNPMLCHELD_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KMNPMLCHELD_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KMNPMLCHELD_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KMNPMLCHELD_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KMNPMLCHELD_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KMNPMLCHELD_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_KMNPMLCHELD_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x4e, 0x50, 0x4d, 0x4c, + 0x43, 0x48, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4d, 0x4e, 0x50, 0x4d, 0x4c, 0x43, 0x48, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescData = file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KMNPMLCHELD_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KMNPMLCHELD_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KMNPMLCHELD_ServerRsp)(nil), // 0: Unk2700_KMNPMLCHELD_ServerRsp +} +var file_Unk2700_KMNPMLCHELD_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KMNPMLCHELD_ServerRsp_proto_init() } +func file_Unk2700_KMNPMLCHELD_ServerRsp_proto_init() { + if File_Unk2700_KMNPMLCHELD_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KMNPMLCHELD_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KMNPMLCHELD_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KMNPMLCHELD_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KMNPMLCHELD_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KMNPMLCHELD_ServerRsp_proto = out.File + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_rawDesc = nil + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_goTypes = nil + file_Unk2700_KMNPMLCHELD_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.proto new file mode 100644 index 00000000..d616c1b0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KMNPMLCHELD_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6201 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KMNPMLCHELD_ServerRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.pb.go b/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.pb.go new file mode 100644 index 00000000..75cac268 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KNGDOIDOFFB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KNGDOIDOFFB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HLEMPIKMBMP uint32 `protobuf:"varint,6,opt,name=Unk2700_HLEMPIKMBMP,json=Unk2700HLEMPIKMBMP,proto3" json:"Unk2700_HLEMPIKMBMP,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,4,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + Unk2700_OMCCFBBDJMI uint32 `protobuf:"varint,1,opt,name=Unk2700_OMCCFBBDJMI,json=Unk2700OMCCFBBDJMI,proto3" json:"Unk2700_OMCCFBBDJMI,omitempty"` +} + +func (x *Unk2700_KNGDOIDOFFB) Reset() { + *x = Unk2700_KNGDOIDOFFB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KNGDOIDOFFB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KNGDOIDOFFB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KNGDOIDOFFB) ProtoMessage() {} + +func (x *Unk2700_KNGDOIDOFFB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KNGDOIDOFFB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KNGDOIDOFFB.ProtoReflect.Descriptor instead. +func (*Unk2700_KNGDOIDOFFB) Descriptor() ([]byte, []int) { + return file_Unk2700_KNGDOIDOFFB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KNGDOIDOFFB) GetUnk2700_HLEMPIKMBMP() uint32 { + if x != nil { + return x.Unk2700_HLEMPIKMBMP + } + return 0 +} + +func (x *Unk2700_KNGDOIDOFFB) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2700_KNGDOIDOFFB) GetUnk2700_OMCCFBBDJMI() uint32 { + if x != nil { + return x.Unk2700_OMCCFBBDJMI + } + return 0 +} + +var File_Unk2700_KNGDOIDOFFB_proto protoreflect.FileDescriptor + +var file_Unk2700_KNGDOIDOFFB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x47, 0x44, 0x4f, 0x49, + 0x44, 0x4f, 0x46, 0x46, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x47, 0x44, 0x4f, 0x49, 0x44, 0x4f, 0x46, 0x46, 0x42, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x45, 0x4d, 0x50, 0x49, + 0x4b, 0x4d, 0x42, 0x4d, 0x50, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x4c, 0x45, 0x4d, 0x50, 0x49, 0x4b, 0x4d, 0x42, 0x4d, 0x50, 0x12, + 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, + 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x43, 0x43, 0x46, 0x42, 0x42, + 0x44, 0x4a, 0x4d, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4f, 0x4d, 0x43, 0x43, 0x46, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x49, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_KNGDOIDOFFB_proto_rawDescOnce sync.Once + file_Unk2700_KNGDOIDOFFB_proto_rawDescData = file_Unk2700_KNGDOIDOFFB_proto_rawDesc +) + +func file_Unk2700_KNGDOIDOFFB_proto_rawDescGZIP() []byte { + file_Unk2700_KNGDOIDOFFB_proto_rawDescOnce.Do(func() { + file_Unk2700_KNGDOIDOFFB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KNGDOIDOFFB_proto_rawDescData) + }) + return file_Unk2700_KNGDOIDOFFB_proto_rawDescData +} + +var file_Unk2700_KNGDOIDOFFB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KNGDOIDOFFB_proto_goTypes = []interface{}{ + (*Unk2700_KNGDOIDOFFB)(nil), // 0: Unk2700_KNGDOIDOFFB + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2700_KNGDOIDOFFB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KNGDOIDOFFB.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KNGDOIDOFFB_proto_init() } +func file_Unk2700_KNGDOIDOFFB_proto_init() { + if File_Unk2700_KNGDOIDOFFB_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KNGDOIDOFFB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KNGDOIDOFFB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KNGDOIDOFFB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KNGDOIDOFFB_proto_goTypes, + DependencyIndexes: file_Unk2700_KNGDOIDOFFB_proto_depIdxs, + MessageInfos: file_Unk2700_KNGDOIDOFFB_proto_msgTypes, + }.Build() + File_Unk2700_KNGDOIDOFFB_proto = out.File + file_Unk2700_KNGDOIDOFFB_proto_rawDesc = nil + file_Unk2700_KNGDOIDOFFB_proto_goTypes = nil + file_Unk2700_KNGDOIDOFFB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.proto b/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.proto new file mode 100644 index 00000000..a968cc0d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNGDOIDOFFB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2700_KNGDOIDOFFB { + uint32 Unk2700_HLEMPIKMBMP = 6; + Unk2700_MOFABPNGIKP reason = 4; + uint32 Unk2700_OMCCFBBDJMI = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.pb.go new file mode 100644 index 00000000..51ea68fe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KNGFOEKOODA_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2163 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KNGFOEKOODA_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,4,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + ScheduleId uint32 `protobuf:"varint,11,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) Reset() { + *x = Unk2700_KNGFOEKOODA_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KNGFOEKOODA_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KNGFOEKOODA_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KNGFOEKOODA_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KNGFOEKOODA_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KNGFOEKOODA_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KNGFOEKOODA_ServerRsp) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_KNGFOEKOODA_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x47, 0x46, 0x4f, 0x45, + 0x4b, 0x4f, 0x4f, 0x44, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4e, 0x47, 0x46, 0x4f, 0x45, 0x4b, 0x4f, 0x4f, 0x44, 0x41, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescData = file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KNGFOEKOODA_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KNGFOEKOODA_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KNGFOEKOODA_ServerRsp)(nil), // 0: Unk2700_KNGFOEKOODA_ServerRsp +} +var file_Unk2700_KNGFOEKOODA_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KNGFOEKOODA_ServerRsp_proto_init() } +func file_Unk2700_KNGFOEKOODA_ServerRsp_proto_init() { + if File_Unk2700_KNGFOEKOODA_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KNGFOEKOODA_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KNGFOEKOODA_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KNGFOEKOODA_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KNGFOEKOODA_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KNGFOEKOODA_ServerRsp_proto = out.File + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_rawDesc = nil + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_goTypes = nil + file_Unk2700_KNGFOEKOODA_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.proto new file mode 100644 index 00000000..1ac06736 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNGFOEKOODA_ServerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2163 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KNGFOEKOODA_ServerRsp { + uint32 activity_id = 4; + int32 retcode = 6; + uint32 schedule_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.pb.go new file mode 100644 index 00000000..d0daf751 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KNMDFCBLIIG_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 384 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KNMDFCBLIIG_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *Unk2700_KNMDFCBLIIG_ServerRsp) Reset() { + *x = Unk2700_KNMDFCBLIIG_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KNMDFCBLIIG_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KNMDFCBLIIG_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_KNMDFCBLIIG_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KNMDFCBLIIG_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_KNMDFCBLIIG_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KNMDFCBLIIG_ServerRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_Unk2700_KNMDFCBLIIG_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x4d, 0x44, 0x46, 0x43, + 0x42, 0x4c, 0x49, 0x49, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4e, 0x4d, 0x44, 0x46, 0x43, 0x42, 0x4c, 0x49, 0x49, 0x47, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescData = file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDesc +) + +func file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDescData +} + +var file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_KNMDFCBLIIG_ServerRsp)(nil), // 0: Unk2700_KNMDFCBLIIG_ServerRsp +} +var file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_init() } +func file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_init() { + if File_Unk2700_KNMDFCBLIIG_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KNMDFCBLIIG_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_KNMDFCBLIIG_ServerRsp_proto = out.File + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_rawDesc = nil + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_goTypes = nil + file_Unk2700_KNMDFCBLIIG_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.proto new file mode 100644 index 00000000..abb0a5ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KNMDFCBLIIG_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 384 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KNMDFCBLIIG_ServerRsp { + uint32 entity_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.pb.go new file mode 100644 index 00000000..f4ad6f34 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KOGOPPONCHB_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4208 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_KOGOPPONCHB_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TypeId uint32 `protobuf:"varint,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` + Unk2700_LEKOKKMDNAO uint32 `protobuf:"varint,14,opt,name=Unk2700_LEKOKKMDNAO,json=Unk2700LEKOKKMDNAO,proto3" json:"Unk2700_LEKOKKMDNAO,omitempty"` +} + +func (x *Unk2700_KOGOPPONCHB_ClientReq) Reset() { + *x = Unk2700_KOGOPPONCHB_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KOGOPPONCHB_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KOGOPPONCHB_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KOGOPPONCHB_ClientReq) ProtoMessage() {} + +func (x *Unk2700_KOGOPPONCHB_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KOGOPPONCHB_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KOGOPPONCHB_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_KOGOPPONCHB_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KOGOPPONCHB_ClientReq) GetTypeId() uint32 { + if x != nil { + return x.TypeId + } + return 0 +} + +func (x *Unk2700_KOGOPPONCHB_ClientReq) GetUnk2700_LEKOKKMDNAO() uint32 { + if x != nil { + return x.Unk2700_LEKOKKMDNAO + } + return 0 +} + +var File_Unk2700_KOGOPPONCHB_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x47, 0x4f, 0x50, 0x50, + 0x4f, 0x4e, 0x43, 0x48, 0x42, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x4f, 0x47, 0x4f, 0x50, 0x50, 0x4f, 0x4e, 0x43, 0x48, 0x42, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4b, 0x4f, 0x4b, + 0x4b, 0x4d, 0x44, 0x4e, 0x41, 0x4f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x45, 0x4b, 0x4f, 0x4b, 0x4b, 0x4d, 0x44, 0x4e, 0x41, 0x4f, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescData = file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDesc +) + +func file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescData) + }) + return file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDescData +} + +var file_Unk2700_KOGOPPONCHB_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KOGOPPONCHB_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_KOGOPPONCHB_ClientReq)(nil), // 0: Unk2700_KOGOPPONCHB_ClientReq +} +var file_Unk2700_KOGOPPONCHB_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_KOGOPPONCHB_ClientReq_proto_init() } +func file_Unk2700_KOGOPPONCHB_ClientReq_proto_init() { + if File_Unk2700_KOGOPPONCHB_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_KOGOPPONCHB_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KOGOPPONCHB_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KOGOPPONCHB_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_KOGOPPONCHB_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_KOGOPPONCHB_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_KOGOPPONCHB_ClientReq_proto = out.File + file_Unk2700_KOGOPPONCHB_ClientReq_proto_rawDesc = nil + file_Unk2700_KOGOPPONCHB_ClientReq_proto_goTypes = nil + file_Unk2700_KOGOPPONCHB_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.proto new file mode 100644 index 00000000..81068347 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KOGOPPONCHB_ClientReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4208 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_KOGOPPONCHB_ClientReq { + uint32 type_id = 2; + uint32 Unk2700_LEKOKKMDNAO = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.pb.go b/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.pb.go new file mode 100644 index 00000000..a9fd16f0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KPGMEMHEEMD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8185 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_KPGMEMHEEMD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_AAOHOIJEOEG *Unk2700_GPPKNKGDCHJ `protobuf:"bytes,3,opt,name=Unk2700_AAOHOIJEOEG,json=Unk2700AAOHOIJEOEG,proto3" json:"Unk2700_AAOHOIJEOEG,omitempty"` +} + +func (x *Unk2700_KPGMEMHEEMD) Reset() { + *x = Unk2700_KPGMEMHEEMD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KPGMEMHEEMD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KPGMEMHEEMD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KPGMEMHEEMD) ProtoMessage() {} + +func (x *Unk2700_KPGMEMHEEMD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KPGMEMHEEMD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KPGMEMHEEMD.ProtoReflect.Descriptor instead. +func (*Unk2700_KPGMEMHEEMD) Descriptor() ([]byte, []int) { + return file_Unk2700_KPGMEMHEEMD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KPGMEMHEEMD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_KPGMEMHEEMD) GetUnk2700_AAOHOIJEOEG() *Unk2700_GPPKNKGDCHJ { + if x != nil { + return x.Unk2700_AAOHOIJEOEG + } + return nil +} + +var File_Unk2700_KPGMEMHEEMD_proto protoreflect.FileDescriptor + +var file_Unk2700_KPGMEMHEEMD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x47, 0x4d, 0x45, 0x4d, + 0x48, 0x45, 0x45, 0x4d, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x50, 0x4b, 0x4e, 0x4b, 0x47, 0x44, 0x43, 0x48, 0x4a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x50, 0x47, 0x4d, 0x45, 0x4d, 0x48, 0x45, 0x45, 0x4d, 0x44, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x41, 0x4f, 0x48, 0x4f, 0x49, 0x4a, 0x45, 0x4f, 0x45, 0x47, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x50, 0x50, 0x4b, 0x4e, 0x4b, 0x47, 0x44, 0x43, 0x48, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x41, 0x41, 0x4f, 0x48, 0x4f, 0x49, 0x4a, 0x45, 0x4f, 0x45, 0x47, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_KPGMEMHEEMD_proto_rawDescOnce sync.Once + file_Unk2700_KPGMEMHEEMD_proto_rawDescData = file_Unk2700_KPGMEMHEEMD_proto_rawDesc +) + +func file_Unk2700_KPGMEMHEEMD_proto_rawDescGZIP() []byte { + file_Unk2700_KPGMEMHEEMD_proto_rawDescOnce.Do(func() { + file_Unk2700_KPGMEMHEEMD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KPGMEMHEEMD_proto_rawDescData) + }) + return file_Unk2700_KPGMEMHEEMD_proto_rawDescData +} + +var file_Unk2700_KPGMEMHEEMD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KPGMEMHEEMD_proto_goTypes = []interface{}{ + (*Unk2700_KPGMEMHEEMD)(nil), // 0: Unk2700_KPGMEMHEEMD + (*Unk2700_GPPKNKGDCHJ)(nil), // 1: Unk2700_GPPKNKGDCHJ +} +var file_Unk2700_KPGMEMHEEMD_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KPGMEMHEEMD.Unk2700_AAOHOIJEOEG:type_name -> Unk2700_GPPKNKGDCHJ + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KPGMEMHEEMD_proto_init() } +func file_Unk2700_KPGMEMHEEMD_proto_init() { + if File_Unk2700_KPGMEMHEEMD_proto != nil { + return + } + file_Unk2700_GPPKNKGDCHJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KPGMEMHEEMD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KPGMEMHEEMD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KPGMEMHEEMD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KPGMEMHEEMD_proto_goTypes, + DependencyIndexes: file_Unk2700_KPGMEMHEEMD_proto_depIdxs, + MessageInfos: file_Unk2700_KPGMEMHEEMD_proto_msgTypes, + }.Build() + File_Unk2700_KPGMEMHEEMD_proto = out.File + file_Unk2700_KPGMEMHEEMD_proto_rawDesc = nil + file_Unk2700_KPGMEMHEEMD_proto_goTypes = nil + file_Unk2700_KPGMEMHEEMD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.proto b/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.proto new file mode 100644 index 00000000..2ffe6a1c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPGMEMHEEMD.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GPPKNKGDCHJ.proto"; + +option go_package = "./;proto"; + +// CmdId: 8185 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_KPGMEMHEEMD { + int32 retcode = 14; + Unk2700_GPPKNKGDCHJ Unk2700_AAOHOIJEOEG = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.pb.go b/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.pb.go new file mode 100644 index 00000000..b45e7675 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KPMMEBNMMCL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8363 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_KPMMEBNMMCL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OKGKHPCMNMN []uint32 `protobuf:"varint,1,rep,packed,name=Unk2700_OKGKHPCMNMN,json=Unk2700OKGKHPCMNMN,proto3" json:"Unk2700_OKGKHPCMNMN,omitempty"` + Unk2700_ELOOIKFNJCG []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,8,rep,name=Unk2700_ELOOIKFNJCG,json=Unk2700ELOOIKFNJCG,proto3" json:"Unk2700_ELOOIKFNJCG,omitempty"` +} + +func (x *Unk2700_KPMMEBNMMCL) Reset() { + *x = Unk2700_KPMMEBNMMCL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KPMMEBNMMCL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KPMMEBNMMCL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KPMMEBNMMCL) ProtoMessage() {} + +func (x *Unk2700_KPMMEBNMMCL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KPMMEBNMMCL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KPMMEBNMMCL.ProtoReflect.Descriptor instead. +func (*Unk2700_KPMMEBNMMCL) Descriptor() ([]byte, []int) { + return file_Unk2700_KPMMEBNMMCL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KPMMEBNMMCL) GetUnk2700_OKGKHPCMNMN() []uint32 { + if x != nil { + return x.Unk2700_OKGKHPCMNMN + } + return nil +} + +func (x *Unk2700_KPMMEBNMMCL) GetUnk2700_ELOOIKFNJCG() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_ELOOIKFNJCG + } + return nil +} + +var File_Unk2700_KPMMEBNMMCL_proto protoreflect.FileDescriptor + +var file_Unk2700_KPMMEBNMMCL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4d, 0x4d, 0x45, 0x42, + 0x4e, 0x4d, 0x4d, 0x43, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4d, 0x4d, 0x45, 0x42, 0x4e, 0x4d, 0x4d, 0x43, 0x4c, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, + 0x43, 0x4d, 0x4e, 0x4d, 0x4e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, 0x43, 0x4d, 0x4e, 0x4d, 0x4e, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4f, 0x4f, 0x49, + 0x4b, 0x46, 0x4e, 0x4a, 0x43, 0x47, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, + 0x42, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4c, 0x4f, 0x4f, 0x49, + 0x4b, 0x46, 0x4e, 0x4a, 0x43, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KPMMEBNMMCL_proto_rawDescOnce sync.Once + file_Unk2700_KPMMEBNMMCL_proto_rawDescData = file_Unk2700_KPMMEBNMMCL_proto_rawDesc +) + +func file_Unk2700_KPMMEBNMMCL_proto_rawDescGZIP() []byte { + file_Unk2700_KPMMEBNMMCL_proto_rawDescOnce.Do(func() { + file_Unk2700_KPMMEBNMMCL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KPMMEBNMMCL_proto_rawDescData) + }) + return file_Unk2700_KPMMEBNMMCL_proto_rawDescData +} + +var file_Unk2700_KPMMEBNMMCL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KPMMEBNMMCL_proto_goTypes = []interface{}{ + (*Unk2700_KPMMEBNMMCL)(nil), // 0: Unk2700_KPMMEBNMMCL + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_KPMMEBNMMCL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KPMMEBNMMCL.Unk2700_ELOOIKFNJCG:type_name -> Unk2700_HJLFNKLPFBH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_KPMMEBNMMCL_proto_init() } +func file_Unk2700_KPMMEBNMMCL_proto_init() { + if File_Unk2700_KPMMEBNMMCL_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KPMMEBNMMCL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KPMMEBNMMCL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KPMMEBNMMCL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KPMMEBNMMCL_proto_goTypes, + DependencyIndexes: file_Unk2700_KPMMEBNMMCL_proto_depIdxs, + MessageInfos: file_Unk2700_KPMMEBNMMCL_proto_msgTypes, + }.Build() + File_Unk2700_KPMMEBNMMCL_proto = out.File + file_Unk2700_KPMMEBNMMCL_proto_rawDesc = nil + file_Unk2700_KPMMEBNMMCL_proto_goTypes = nil + file_Unk2700_KPMMEBNMMCL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.proto b/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.proto new file mode 100644 index 00000000..dec39d64 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPMMEBNMMCL.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8363 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_KPMMEBNMMCL { + repeated uint32 Unk2700_OKGKHPCMNMN = 1; + repeated Unk2700_HJLFNKLPFBH Unk2700_ELOOIKFNJCG = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.pb.go b/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.pb.go new file mode 100644 index 00000000..4e1b7d04 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.pb.go @@ -0,0 +1,272 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_KPNPJPPHOKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_KPNPJPPHOKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + // Types that are assignable to Detail: + // *Unk2700_KPNPJPPHOKA_RacingGalleryInfo + // *Unk2700_KPNPJPPHOKA_BalloonGalleryInfo + // *Unk2700_KPNPJPPHOKA_StakePlayInfo + // *Unk2700_KPNPJPPHOKA_SeekFurnitureGalleryInfo + Detail isUnk2700_KPNPJPPHOKA_Detail `protobuf_oneof:"detail"` +} + +func (x *Unk2700_KPNPJPPHOKA) Reset() { + *x = Unk2700_KPNPJPPHOKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_KPNPJPPHOKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_KPNPJPPHOKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_KPNPJPPHOKA) ProtoMessage() {} + +func (x *Unk2700_KPNPJPPHOKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_KPNPJPPHOKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_KPNPJPPHOKA.ProtoReflect.Descriptor instead. +func (*Unk2700_KPNPJPPHOKA) Descriptor() ([]byte, []int) { + return file_Unk2700_KPNPJPPHOKA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_KPNPJPPHOKA) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (m *Unk2700_KPNPJPPHOKA) GetDetail() isUnk2700_KPNPJPPHOKA_Detail { + if m != nil { + return m.Detail + } + return nil +} + +func (x *Unk2700_KPNPJPPHOKA) GetRacingGalleryInfo() *RacingGalleryInfo { + if x, ok := x.GetDetail().(*Unk2700_KPNPJPPHOKA_RacingGalleryInfo); ok { + return x.RacingGalleryInfo + } + return nil +} + +func (x *Unk2700_KPNPJPPHOKA) GetBalloonGalleryInfo() *BalloonGalleryInfo { + if x, ok := x.GetDetail().(*Unk2700_KPNPJPPHOKA_BalloonGalleryInfo); ok { + return x.BalloonGalleryInfo + } + return nil +} + +func (x *Unk2700_KPNPJPPHOKA) GetStakePlayInfo() *StakePlayGalleryInfo { + if x, ok := x.GetDetail().(*Unk2700_KPNPJPPHOKA_StakePlayInfo); ok { + return x.StakePlayInfo + } + return nil +} + +func (x *Unk2700_KPNPJPPHOKA) GetSeekFurnitureGalleryInfo() *SeekFurnitureGalleryInfo { + if x, ok := x.GetDetail().(*Unk2700_KPNPJPPHOKA_SeekFurnitureGalleryInfo); ok { + return x.SeekFurnitureGalleryInfo + } + return nil +} + +type isUnk2700_KPNPJPPHOKA_Detail interface { + isUnk2700_KPNPJPPHOKA_Detail() +} + +type Unk2700_KPNPJPPHOKA_RacingGalleryInfo struct { + RacingGalleryInfo *RacingGalleryInfo `protobuf:"bytes,467,opt,name=racing_gallery_info,json=racingGalleryInfo,proto3,oneof"` +} + +type Unk2700_KPNPJPPHOKA_BalloonGalleryInfo struct { + BalloonGalleryInfo *BalloonGalleryInfo `protobuf:"bytes,1410,opt,name=balloon_gallery_info,json=balloonGalleryInfo,proto3,oneof"` +} + +type Unk2700_KPNPJPPHOKA_StakePlayInfo struct { + StakePlayInfo *StakePlayGalleryInfo `protobuf:"bytes,347,opt,name=stake_play_info,json=stakePlayInfo,proto3,oneof"` +} + +type Unk2700_KPNPJPPHOKA_SeekFurnitureGalleryInfo struct { + SeekFurnitureGalleryInfo *SeekFurnitureGalleryInfo `protobuf:"bytes,1822,opt,name=seek_furniture_gallery_info,json=seekFurnitureGalleryInfo,proto3,oneof"` +} + +func (*Unk2700_KPNPJPPHOKA_RacingGalleryInfo) isUnk2700_KPNPJPPHOKA_Detail() {} + +func (*Unk2700_KPNPJPPHOKA_BalloonGalleryInfo) isUnk2700_KPNPJPPHOKA_Detail() {} + +func (*Unk2700_KPNPJPPHOKA_StakePlayInfo) isUnk2700_KPNPJPPHOKA_Detail() {} + +func (*Unk2700_KPNPJPPHOKA_SeekFurnitureGalleryInfo) isUnk2700_KPNPJPPHOKA_Detail() {} + +var File_Unk2700_KPNPJPPHOKA_proto protoreflect.FileDescriptor + +var file_Unk2700_KPNPJPPHOKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4e, 0x50, 0x4a, 0x50, + 0x50, 0x48, 0x4f, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x42, 0x61, 0x6c, + 0x6c, 0x6f, 0x6f, 0x6e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x52, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x02, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4e, 0x50, 0x4a, 0x50, 0x50, 0x48, 0x4f, + 0x4b, 0x41, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x45, 0x0a, + 0x13, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd3, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x61, + 0x63, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x11, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x48, 0x0a, 0x14, 0x62, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x5f, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x82, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x42, 0x61, 0x6c, 0x6c, 0x6f, 0x6f, 0x6e, 0x47, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x62, 0x61, 0x6c, 0x6c, + 0x6f, 0x6f, 0x6e, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, + 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0xdb, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x5b, 0x0a, 0x1b, 0x73, 0x65, 0x65, 0x6b, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x5f, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x9e, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x53, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x18, 0x73, 0x65, 0x65, 0x6b, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, + 0x72, 0x65, 0x47, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x08, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_KPNPJPPHOKA_proto_rawDescOnce sync.Once + file_Unk2700_KPNPJPPHOKA_proto_rawDescData = file_Unk2700_KPNPJPPHOKA_proto_rawDesc +) + +func file_Unk2700_KPNPJPPHOKA_proto_rawDescGZIP() []byte { + file_Unk2700_KPNPJPPHOKA_proto_rawDescOnce.Do(func() { + file_Unk2700_KPNPJPPHOKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_KPNPJPPHOKA_proto_rawDescData) + }) + return file_Unk2700_KPNPJPPHOKA_proto_rawDescData +} + +var file_Unk2700_KPNPJPPHOKA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_KPNPJPPHOKA_proto_goTypes = []interface{}{ + (*Unk2700_KPNPJPPHOKA)(nil), // 0: Unk2700_KPNPJPPHOKA + (*RacingGalleryInfo)(nil), // 1: RacingGalleryInfo + (*BalloonGalleryInfo)(nil), // 2: BalloonGalleryInfo + (*StakePlayGalleryInfo)(nil), // 3: StakePlayGalleryInfo + (*SeekFurnitureGalleryInfo)(nil), // 4: SeekFurnitureGalleryInfo +} +var file_Unk2700_KPNPJPPHOKA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_KPNPJPPHOKA.racing_gallery_info:type_name -> RacingGalleryInfo + 2, // 1: Unk2700_KPNPJPPHOKA.balloon_gallery_info:type_name -> BalloonGalleryInfo + 3, // 2: Unk2700_KPNPJPPHOKA.stake_play_info:type_name -> StakePlayGalleryInfo + 4, // 3: Unk2700_KPNPJPPHOKA.seek_furniture_gallery_info:type_name -> SeekFurnitureGalleryInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk2700_KPNPJPPHOKA_proto_init() } +func file_Unk2700_KPNPJPPHOKA_proto_init() { + if File_Unk2700_KPNPJPPHOKA_proto != nil { + return + } + file_BalloonGalleryInfo_proto_init() + file_RacingGalleryInfo_proto_init() + file_SeekFurnitureGalleryInfo_proto_init() + file_StakePlayGalleryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_KPNPJPPHOKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_KPNPJPPHOKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_Unk2700_KPNPJPPHOKA_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Unk2700_KPNPJPPHOKA_RacingGalleryInfo)(nil), + (*Unk2700_KPNPJPPHOKA_BalloonGalleryInfo)(nil), + (*Unk2700_KPNPJPPHOKA_StakePlayInfo)(nil), + (*Unk2700_KPNPJPPHOKA_SeekFurnitureGalleryInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_KPNPJPPHOKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_KPNPJPPHOKA_proto_goTypes, + DependencyIndexes: file_Unk2700_KPNPJPPHOKA_proto_depIdxs, + MessageInfos: file_Unk2700_KPNPJPPHOKA_proto_msgTypes, + }.Build() + File_Unk2700_KPNPJPPHOKA_proto = out.File + file_Unk2700_KPNPJPPHOKA_proto_rawDesc = nil + file_Unk2700_KPNPJPPHOKA_proto_goTypes = nil + file_Unk2700_KPNPJPPHOKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.proto b/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.proto new file mode 100644 index 00000000..5af036fc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_KPNPJPPHOKA.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BalloonGalleryInfo.proto"; +import "RacingGalleryInfo.proto"; +import "SeekFurnitureGalleryInfo.proto"; +import "StakePlayGalleryInfo.proto"; + +option go_package = "./;proto"; + +message Unk2700_KPNPJPPHOKA { + uint32 group_id = 5; + oneof detail { + RacingGalleryInfo racing_gallery_info = 467; + BalloonGalleryInfo balloon_gallery_info = 1410; + StakePlayGalleryInfo stake_play_info = 347; + SeekFurnitureGalleryInfo seek_furniture_gallery_info = 1822; + } +} diff --git a/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.pb.go new file mode 100644 index 00000000..f889e986 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LAFHGMOPCCM_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5553 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LAFHGMOPCCM_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_LAFHGMOPCCM_ServerNotify) Reset() { + *x = Unk2700_LAFHGMOPCCM_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LAFHGMOPCCM_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LAFHGMOPCCM_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_LAFHGMOPCCM_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LAFHGMOPCCM_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_LAFHGMOPCCM_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LAFHGMOPCCM_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_LAFHGMOPCCM_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x46, 0x48, 0x47, 0x4d, + 0x4f, 0x50, 0x43, 0x43, 0x4d, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x46, 0x48, 0x47, 0x4d, 0x4f, 0x50, 0x43, 0x43, 0x4d, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescData = file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDesc +) + +func file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDescData +} + +var file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_LAFHGMOPCCM_ServerNotify)(nil), // 0: Unk2700_LAFHGMOPCCM_ServerNotify +} +var file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_init() } +func file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_init() { + if File_Unk2700_LAFHGMOPCCM_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LAFHGMOPCCM_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_LAFHGMOPCCM_ServerNotify_proto = out.File + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_rawDesc = nil + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_goTypes = nil + file_Unk2700_LAFHGMOPCCM_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.proto new file mode 100644 index 00000000..6d30feb5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LAFHGMOPCCM_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5553 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LAFHGMOPCCM_ServerNotify { + uint32 gallery_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.pb.go b/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.pb.go new file mode 100644 index 00000000..ab0f32aa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LBIDBGLGKCJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LBIDBGLGKCJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MMNILGLDHHD bool `protobuf:"varint,7,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + MaxScore uint32 `protobuf:"varint,9,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + Id uint32 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_LBIDBGLGKCJ) Reset() { + *x = Unk2700_LBIDBGLGKCJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LBIDBGLGKCJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LBIDBGLGKCJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LBIDBGLGKCJ) ProtoMessage() {} + +func (x *Unk2700_LBIDBGLGKCJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LBIDBGLGKCJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LBIDBGLGKCJ.ProtoReflect.Descriptor instead. +func (*Unk2700_LBIDBGLGKCJ) Descriptor() ([]byte, []int) { + return file_Unk2700_LBIDBGLGKCJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LBIDBGLGKCJ) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_LBIDBGLGKCJ) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *Unk2700_LBIDBGLGKCJ) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_LBIDBGLGKCJ_proto protoreflect.FileDescriptor + +var file_Unk2700_LBIDBGLGKCJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x49, 0x44, 0x42, 0x47, + 0x4c, 0x47, 0x4b, 0x43, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x49, 0x44, 0x42, 0x47, 0x4c, 0x47, 0x4b, + 0x43, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, + 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, + 0x48, 0x48, 0x44, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LBIDBGLGKCJ_proto_rawDescOnce sync.Once + file_Unk2700_LBIDBGLGKCJ_proto_rawDescData = file_Unk2700_LBIDBGLGKCJ_proto_rawDesc +) + +func file_Unk2700_LBIDBGLGKCJ_proto_rawDescGZIP() []byte { + file_Unk2700_LBIDBGLGKCJ_proto_rawDescOnce.Do(func() { + file_Unk2700_LBIDBGLGKCJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LBIDBGLGKCJ_proto_rawDescData) + }) + return file_Unk2700_LBIDBGLGKCJ_proto_rawDescData +} + +var file_Unk2700_LBIDBGLGKCJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LBIDBGLGKCJ_proto_goTypes = []interface{}{ + (*Unk2700_LBIDBGLGKCJ)(nil), // 0: Unk2700_LBIDBGLGKCJ +} +var file_Unk2700_LBIDBGLGKCJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LBIDBGLGKCJ_proto_init() } +func file_Unk2700_LBIDBGLGKCJ_proto_init() { + if File_Unk2700_LBIDBGLGKCJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LBIDBGLGKCJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LBIDBGLGKCJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LBIDBGLGKCJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LBIDBGLGKCJ_proto_goTypes, + DependencyIndexes: file_Unk2700_LBIDBGLGKCJ_proto_depIdxs, + MessageInfos: file_Unk2700_LBIDBGLGKCJ_proto_msgTypes, + }.Build() + File_Unk2700_LBIDBGLGKCJ_proto = out.File + file_Unk2700_LBIDBGLGKCJ_proto_rawDesc = nil + file_Unk2700_LBIDBGLGKCJ_proto_goTypes = nil + file_Unk2700_LBIDBGLGKCJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.proto b/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.proto new file mode 100644 index 00000000..3fdf2130 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBIDBGLGKCJ.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_LBIDBGLGKCJ { + bool Unk2700_MMNILGLDHHD = 7; + uint32 max_score = 9; + uint32 id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.pb.go new file mode 100644 index 00000000..ff3d5222 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LBJKLAGNDEJ_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4759 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LBJKLAGNDEJ_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *Unk2700_LBJKLAGNDEJ_ClientReq) Reset() { + *x = Unk2700_LBJKLAGNDEJ_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LBJKLAGNDEJ_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LBJKLAGNDEJ_ClientReq) ProtoMessage() {} + +func (x *Unk2700_LBJKLAGNDEJ_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LBJKLAGNDEJ_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_LBJKLAGNDEJ_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LBJKLAGNDEJ_ClientReq) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_Unk2700_LBJKLAGNDEJ_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4a, 0x4b, 0x4c, 0x41, + 0x47, 0x4e, 0x44, 0x45, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4c, 0x42, 0x4a, 0x4b, 0x4c, 0x41, 0x47, 0x4e, 0x44, 0x45, 0x4a, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescData = file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDesc +) + +func file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescData) + }) + return file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDescData +} + +var file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_LBJKLAGNDEJ_ClientReq)(nil), // 0: Unk2700_LBJKLAGNDEJ_ClientReq +} +var file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_init() } +func file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_init() { + if File_Unk2700_LBJKLAGNDEJ_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LBJKLAGNDEJ_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_LBJKLAGNDEJ_ClientReq_proto = out.File + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_rawDesc = nil + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_goTypes = nil + file_Unk2700_LBJKLAGNDEJ_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.proto new file mode 100644 index 00000000..11dd9a8f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBJKLAGNDEJ_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4759 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LBJKLAGNDEJ_ClientReq { + uint32 group_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.pb.go b/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.pb.go new file mode 100644 index 00000000..1a1f7872 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LBOAEFMECCP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LBOAEFMECCP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_POMENCDDAGL []uint32 `protobuf:"varint,11,rep,packed,name=Unk2700_POMENCDDAGL,json=Unk2700POMENCDDAGL,proto3" json:"Unk2700_POMENCDDAGL,omitempty"` + Id uint32 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_LBOAEFMECCP) Reset() { + *x = Unk2700_LBOAEFMECCP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LBOAEFMECCP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LBOAEFMECCP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LBOAEFMECCP) ProtoMessage() {} + +func (x *Unk2700_LBOAEFMECCP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LBOAEFMECCP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LBOAEFMECCP.ProtoReflect.Descriptor instead. +func (*Unk2700_LBOAEFMECCP) Descriptor() ([]byte, []int) { + return file_Unk2700_LBOAEFMECCP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LBOAEFMECCP) GetUnk2700_POMENCDDAGL() []uint32 { + if x != nil { + return x.Unk2700_POMENCDDAGL + } + return nil +} + +func (x *Unk2700_LBOAEFMECCP) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_LBOAEFMECCP_proto protoreflect.FileDescriptor + +var file_Unk2700_LBOAEFMECCP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4f, 0x41, 0x45, 0x46, + 0x4d, 0x45, 0x43, 0x43, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4f, 0x41, 0x45, 0x46, 0x4d, 0x45, 0x43, + 0x43, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4f, + 0x4d, 0x45, 0x4e, 0x43, 0x44, 0x44, 0x41, 0x47, 0x4c, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x4f, 0x4d, 0x45, 0x4e, 0x43, 0x44, 0x44, + 0x41, 0x47, 0x4c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LBOAEFMECCP_proto_rawDescOnce sync.Once + file_Unk2700_LBOAEFMECCP_proto_rawDescData = file_Unk2700_LBOAEFMECCP_proto_rawDesc +) + +func file_Unk2700_LBOAEFMECCP_proto_rawDescGZIP() []byte { + file_Unk2700_LBOAEFMECCP_proto_rawDescOnce.Do(func() { + file_Unk2700_LBOAEFMECCP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LBOAEFMECCP_proto_rawDescData) + }) + return file_Unk2700_LBOAEFMECCP_proto_rawDescData +} + +var file_Unk2700_LBOAEFMECCP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LBOAEFMECCP_proto_goTypes = []interface{}{ + (*Unk2700_LBOAEFMECCP)(nil), // 0: Unk2700_LBOAEFMECCP +} +var file_Unk2700_LBOAEFMECCP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LBOAEFMECCP_proto_init() } +func file_Unk2700_LBOAEFMECCP_proto_init() { + if File_Unk2700_LBOAEFMECCP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LBOAEFMECCP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LBOAEFMECCP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LBOAEFMECCP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LBOAEFMECCP_proto_goTypes, + DependencyIndexes: file_Unk2700_LBOAEFMECCP_proto_depIdxs, + MessageInfos: file_Unk2700_LBOAEFMECCP_proto_msgTypes, + }.Build() + File_Unk2700_LBOAEFMECCP_proto = out.File + file_Unk2700_LBOAEFMECCP_proto_rawDesc = nil + file_Unk2700_LBOAEFMECCP_proto_goTypes = nil + file_Unk2700_LBOAEFMECCP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.proto b/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.proto new file mode 100644 index 00000000..a264335c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBOAEFMECCP.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_LBOAEFMECCP { + repeated uint32 Unk2700_POMENCDDAGL = 11; + uint32 id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.pb.go b/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.pb.go new file mode 100644 index 00000000..0b803297 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LBOPCDPFJEC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8062 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LBOPCDPFJEC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_LBOPCDPFJEC) Reset() { + *x = Unk2700_LBOPCDPFJEC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LBOPCDPFJEC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LBOPCDPFJEC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LBOPCDPFJEC) ProtoMessage() {} + +func (x *Unk2700_LBOPCDPFJEC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LBOPCDPFJEC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LBOPCDPFJEC.ProtoReflect.Descriptor instead. +func (*Unk2700_LBOPCDPFJEC) Descriptor() ([]byte, []int) { + return file_Unk2700_LBOPCDPFJEC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LBOPCDPFJEC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_LBOPCDPFJEC_proto protoreflect.FileDescriptor + +var file_Unk2700_LBOPCDPFJEC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4f, 0x50, 0x43, 0x44, + 0x50, 0x46, 0x4a, 0x45, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4f, 0x50, 0x43, 0x44, 0x50, 0x46, 0x4a, + 0x45, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LBOPCDPFJEC_proto_rawDescOnce sync.Once + file_Unk2700_LBOPCDPFJEC_proto_rawDescData = file_Unk2700_LBOPCDPFJEC_proto_rawDesc +) + +func file_Unk2700_LBOPCDPFJEC_proto_rawDescGZIP() []byte { + file_Unk2700_LBOPCDPFJEC_proto_rawDescOnce.Do(func() { + file_Unk2700_LBOPCDPFJEC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LBOPCDPFJEC_proto_rawDescData) + }) + return file_Unk2700_LBOPCDPFJEC_proto_rawDescData +} + +var file_Unk2700_LBOPCDPFJEC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LBOPCDPFJEC_proto_goTypes = []interface{}{ + (*Unk2700_LBOPCDPFJEC)(nil), // 0: Unk2700_LBOPCDPFJEC +} +var file_Unk2700_LBOPCDPFJEC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LBOPCDPFJEC_proto_init() } +func file_Unk2700_LBOPCDPFJEC_proto_init() { + if File_Unk2700_LBOPCDPFJEC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LBOPCDPFJEC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LBOPCDPFJEC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LBOPCDPFJEC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LBOPCDPFJEC_proto_goTypes, + DependencyIndexes: file_Unk2700_LBOPCDPFJEC_proto_depIdxs, + MessageInfos: file_Unk2700_LBOPCDPFJEC_proto_msgTypes, + }.Build() + File_Unk2700_LBOPCDPFJEC_proto = out.File + file_Unk2700_LBOPCDPFJEC_proto_rawDesc = nil + file_Unk2700_LBOPCDPFJEC_proto_goTypes = nil + file_Unk2700_LBOPCDPFJEC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.proto b/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.proto new file mode 100644 index 00000000..6027c504 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBOPCDPFJEC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8062 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LBOPCDPFJEC { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.pb.go b/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.pb.go new file mode 100644 index 00000000..1204e511 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LBPFDCBHCBL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LBPFDCBHCBL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Unk2700_LBPFDCBHCBL) Reset() { + *x = Unk2700_LBPFDCBHCBL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LBPFDCBHCBL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LBPFDCBHCBL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LBPFDCBHCBL) ProtoMessage() {} + +func (x *Unk2700_LBPFDCBHCBL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LBPFDCBHCBL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LBPFDCBHCBL.ProtoReflect.Descriptor instead. +func (*Unk2700_LBPFDCBHCBL) Descriptor() ([]byte, []int) { + return file_Unk2700_LBPFDCBHCBL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LBPFDCBHCBL) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Unk2700_LBPFDCBHCBL) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +var File_Unk2700_LBPFDCBHCBL_proto protoreflect.FileDescriptor + +var file_Unk2700_LBPFDCBHCBL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x50, 0x46, 0x44, 0x43, + 0x42, 0x48, 0x43, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x50, 0x46, 0x44, 0x43, 0x42, 0x48, 0x43, + 0x42, 0x4c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LBPFDCBHCBL_proto_rawDescOnce sync.Once + file_Unk2700_LBPFDCBHCBL_proto_rawDescData = file_Unk2700_LBPFDCBHCBL_proto_rawDesc +) + +func file_Unk2700_LBPFDCBHCBL_proto_rawDescGZIP() []byte { + file_Unk2700_LBPFDCBHCBL_proto_rawDescOnce.Do(func() { + file_Unk2700_LBPFDCBHCBL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LBPFDCBHCBL_proto_rawDescData) + }) + return file_Unk2700_LBPFDCBHCBL_proto_rawDescData +} + +var file_Unk2700_LBPFDCBHCBL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LBPFDCBHCBL_proto_goTypes = []interface{}{ + (*Unk2700_LBPFDCBHCBL)(nil), // 0: Unk2700_LBPFDCBHCBL +} +var file_Unk2700_LBPFDCBHCBL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LBPFDCBHCBL_proto_init() } +func file_Unk2700_LBPFDCBHCBL_proto_init() { + if File_Unk2700_LBPFDCBHCBL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LBPFDCBHCBL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LBPFDCBHCBL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LBPFDCBHCBL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LBPFDCBHCBL_proto_goTypes, + DependencyIndexes: file_Unk2700_LBPFDCBHCBL_proto_depIdxs, + MessageInfos: file_Unk2700_LBPFDCBHCBL_proto_msgTypes, + }.Build() + File_Unk2700_LBPFDCBHCBL_proto = out.File + file_Unk2700_LBPFDCBHCBL_proto_rawDesc = nil + file_Unk2700_LBPFDCBHCBL_proto_goTypes = nil + file_Unk2700_LBPFDCBHCBL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.proto b/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.proto new file mode 100644 index 00000000..30a3e65c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LBPFDCBHCBL.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_LBPFDCBHCBL { + string name = 1; + string value = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.pb.go new file mode 100644 index 00000000..75a03f92 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LCFGKHHIAEH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4014 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LCFGKHHIAEH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Signature string `protobuf:"bytes,12,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *Unk2700_LCFGKHHIAEH_ServerNotify) Reset() { + *x = Unk2700_LCFGKHHIAEH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LCFGKHHIAEH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LCFGKHHIAEH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_LCFGKHHIAEH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LCFGKHHIAEH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_LCFGKHHIAEH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LCFGKHHIAEH_ServerNotify) GetSignature() string { + if x != nil { + return x.Signature + } + return "" +} + +var File_Unk2700_LCFGKHHIAEH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x43, 0x46, 0x47, 0x4b, 0x48, + 0x48, 0x49, 0x41, 0x45, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x43, 0x46, 0x47, 0x4b, 0x48, 0x48, 0x49, 0x41, 0x45, 0x48, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1c, 0x0a, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescData = file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_LCFGKHHIAEH_ServerNotify)(nil), // 0: Unk2700_LCFGKHHIAEH_ServerNotify +} +var file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_init() } +func file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_init() { + if File_Unk2700_LCFGKHHIAEH_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LCFGKHHIAEH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_LCFGKHHIAEH_ServerNotify_proto = out.File + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_rawDesc = nil + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_goTypes = nil + file_Unk2700_LCFGKHHIAEH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.proto new file mode 100644 index 00000000..def2264d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LCFGKHHIAEH_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4014 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LCFGKHHIAEH_ServerNotify { + string signature = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.pb.go b/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.pb.go new file mode 100644 index 00000000..9d18e4ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LDJLMCAHHEN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8748 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LDJLMCAHHEN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OHECOOHPNHG []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,6,rep,name=Unk2700_OHECOOHPNHG,json=Unk2700OHECOOHPNHG,proto3" json:"Unk2700_OHECOOHPNHG,omitempty"` +} + +func (x *Unk2700_LDJLMCAHHEN) Reset() { + *x = Unk2700_LDJLMCAHHEN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LDJLMCAHHEN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LDJLMCAHHEN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LDJLMCAHHEN) ProtoMessage() {} + +func (x *Unk2700_LDJLMCAHHEN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LDJLMCAHHEN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LDJLMCAHHEN.ProtoReflect.Descriptor instead. +func (*Unk2700_LDJLMCAHHEN) Descriptor() ([]byte, []int) { + return file_Unk2700_LDJLMCAHHEN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LDJLMCAHHEN) GetUnk2700_OHECOOHPNHG() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_OHECOOHPNHG + } + return nil +} + +var File_Unk2700_LDJLMCAHHEN_proto protoreflect.FileDescriptor + +var file_Unk2700_LDJLMCAHHEN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x44, 0x4a, 0x4c, 0x4d, 0x43, + 0x41, 0x48, 0x48, 0x45, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4c, 0x44, 0x4a, 0x4c, 0x4d, 0x43, 0x41, 0x48, 0x48, 0x45, 0x4e, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x45, 0x43, 0x4f, 0x4f, 0x48, + 0x50, 0x4e, 0x48, 0x47, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x48, 0x45, 0x43, 0x4f, 0x4f, 0x48, + 0x50, 0x4e, 0x48, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LDJLMCAHHEN_proto_rawDescOnce sync.Once + file_Unk2700_LDJLMCAHHEN_proto_rawDescData = file_Unk2700_LDJLMCAHHEN_proto_rawDesc +) + +func file_Unk2700_LDJLMCAHHEN_proto_rawDescGZIP() []byte { + file_Unk2700_LDJLMCAHHEN_proto_rawDescOnce.Do(func() { + file_Unk2700_LDJLMCAHHEN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LDJLMCAHHEN_proto_rawDescData) + }) + return file_Unk2700_LDJLMCAHHEN_proto_rawDescData +} + +var file_Unk2700_LDJLMCAHHEN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LDJLMCAHHEN_proto_goTypes = []interface{}{ + (*Unk2700_LDJLMCAHHEN)(nil), // 0: Unk2700_LDJLMCAHHEN + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_LDJLMCAHHEN_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LDJLMCAHHEN.Unk2700_OHECOOHPNHG:type_name -> Unk2700_HJLFNKLPFBH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_LDJLMCAHHEN_proto_init() } +func file_Unk2700_LDJLMCAHHEN_proto_init() { + if File_Unk2700_LDJLMCAHHEN_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LDJLMCAHHEN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LDJLMCAHHEN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LDJLMCAHHEN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LDJLMCAHHEN_proto_goTypes, + DependencyIndexes: file_Unk2700_LDJLMCAHHEN_proto_depIdxs, + MessageInfos: file_Unk2700_LDJLMCAHHEN_proto_msgTypes, + }.Build() + File_Unk2700_LDJLMCAHHEN_proto = out.File + file_Unk2700_LDJLMCAHHEN_proto_rawDesc = nil + file_Unk2700_LDJLMCAHHEN_proto_goTypes = nil + file_Unk2700_LDJLMCAHHEN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.proto b/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.proto new file mode 100644 index 00000000..8ebfa413 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LDJLMCAHHEN.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8748 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LDJLMCAHHEN { + repeated Unk2700_HJLFNKLPFBH Unk2700_OHECOOHPNHG = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.pb.go b/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.pb.go new file mode 100644 index 00000000..47650c08 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LELADCCDNJH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LELADCCDNJH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FACFKJKIBBO uint32 `protobuf:"varint,1,opt,name=Unk2700_FACFKJKIBBO,json=Unk2700FACFKJKIBBO,proto3" json:"Unk2700_FACFKJKIBBO,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + IsFinished bool `protobuf:"varint,7,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + Unk2700_MJDCFONLGKN bool `protobuf:"varint,9,opt,name=Unk2700_MJDCFONLGKN,json=Unk2700MJDCFONLGKN,proto3" json:"Unk2700_MJDCFONLGKN,omitempty"` + Unk2700_AKAAHELAGHJ bool `protobuf:"varint,10,opt,name=Unk2700_AKAAHELAGHJ,json=Unk2700AKAAHELAGHJ,proto3" json:"Unk2700_AKAAHELAGHJ,omitempty"` +} + +func (x *Unk2700_LELADCCDNJH) Reset() { + *x = Unk2700_LELADCCDNJH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LELADCCDNJH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LELADCCDNJH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LELADCCDNJH) ProtoMessage() {} + +func (x *Unk2700_LELADCCDNJH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LELADCCDNJH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LELADCCDNJH.ProtoReflect.Descriptor instead. +func (*Unk2700_LELADCCDNJH) Descriptor() ([]byte, []int) { + return file_Unk2700_LELADCCDNJH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LELADCCDNJH) GetUnk2700_FACFKJKIBBO() uint32 { + if x != nil { + return x.Unk2700_FACFKJKIBBO + } + return 0 +} + +func (x *Unk2700_LELADCCDNJH) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_LELADCCDNJH) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk2700_LELADCCDNJH) GetUnk2700_MJDCFONLGKN() bool { + if x != nil { + return x.Unk2700_MJDCFONLGKN + } + return false +} + +func (x *Unk2700_LELADCCDNJH) GetUnk2700_AKAAHELAGHJ() bool { + if x != nil { + return x.Unk2700_AKAAHELAGHJ + } + return false +} + +var File_Unk2700_LELADCCDNJH_proto protoreflect.FileDescriptor + +var file_Unk2700_LELADCCDNJH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4c, 0x41, 0x44, 0x43, + 0x43, 0x44, 0x4e, 0x4a, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4c, 0x41, 0x44, 0x43, 0x43, 0x44, + 0x4e, 0x4a, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, + 0x41, 0x43, 0x46, 0x4b, 0x4a, 0x4b, 0x49, 0x42, 0x42, 0x4f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x41, 0x43, 0x46, 0x4b, 0x4a, 0x4b, + 0x49, 0x42, 0x42, 0x4f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x4a, 0x44, 0x43, 0x46, 0x4f, 0x4e, 0x4c, 0x47, 0x4b, 0x4e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4a, 0x44, 0x43, 0x46, + 0x4f, 0x4e, 0x4c, 0x47, 0x4b, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x4b, 0x41, 0x41, 0x48, 0x45, 0x4c, 0x41, 0x47, 0x48, 0x4a, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4b, 0x41, 0x41, + 0x48, 0x45, 0x4c, 0x41, 0x47, 0x48, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LELADCCDNJH_proto_rawDescOnce sync.Once + file_Unk2700_LELADCCDNJH_proto_rawDescData = file_Unk2700_LELADCCDNJH_proto_rawDesc +) + +func file_Unk2700_LELADCCDNJH_proto_rawDescGZIP() []byte { + file_Unk2700_LELADCCDNJH_proto_rawDescOnce.Do(func() { + file_Unk2700_LELADCCDNJH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LELADCCDNJH_proto_rawDescData) + }) + return file_Unk2700_LELADCCDNJH_proto_rawDescData +} + +var file_Unk2700_LELADCCDNJH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LELADCCDNJH_proto_goTypes = []interface{}{ + (*Unk2700_LELADCCDNJH)(nil), // 0: Unk2700_LELADCCDNJH +} +var file_Unk2700_LELADCCDNJH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LELADCCDNJH_proto_init() } +func file_Unk2700_LELADCCDNJH_proto_init() { + if File_Unk2700_LELADCCDNJH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LELADCCDNJH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LELADCCDNJH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LELADCCDNJH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LELADCCDNJH_proto_goTypes, + DependencyIndexes: file_Unk2700_LELADCCDNJH_proto_depIdxs, + MessageInfos: file_Unk2700_LELADCCDNJH_proto_msgTypes, + }.Build() + File_Unk2700_LELADCCDNJH_proto = out.File + file_Unk2700_LELADCCDNJH_proto_rawDesc = nil + file_Unk2700_LELADCCDNJH_proto_goTypes = nil + file_Unk2700_LELADCCDNJH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.proto b/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.proto new file mode 100644 index 00000000..d73763d8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LELADCCDNJH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_LELADCCDNJH { + uint32 Unk2700_FACFKJKIBBO = 1; + uint32 id = 2; + bool is_finished = 7; + bool Unk2700_MJDCFONLGKN = 9; + bool Unk2700_AKAAHELAGHJ = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.pb.go b/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.pb.go new file mode 100644 index 00000000..d6a0e5a1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LEMPLKGOOJC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8362 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LEMPLKGOOJC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_LEMPLKGOOJC) Reset() { + *x = Unk2700_LEMPLKGOOJC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LEMPLKGOOJC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LEMPLKGOOJC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LEMPLKGOOJC) ProtoMessage() {} + +func (x *Unk2700_LEMPLKGOOJC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LEMPLKGOOJC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LEMPLKGOOJC.ProtoReflect.Descriptor instead. +func (*Unk2700_LEMPLKGOOJC) Descriptor() ([]byte, []int) { + return file_Unk2700_LEMPLKGOOJC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LEMPLKGOOJC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_LEMPLKGOOJC_proto protoreflect.FileDescriptor + +var file_Unk2700_LEMPLKGOOJC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4d, 0x50, 0x4c, 0x4b, + 0x47, 0x4f, 0x4f, 0x4a, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x45, 0x4d, 0x50, 0x4c, 0x4b, 0x47, 0x4f, 0x4f, + 0x4a, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LEMPLKGOOJC_proto_rawDescOnce sync.Once + file_Unk2700_LEMPLKGOOJC_proto_rawDescData = file_Unk2700_LEMPLKGOOJC_proto_rawDesc +) + +func file_Unk2700_LEMPLKGOOJC_proto_rawDescGZIP() []byte { + file_Unk2700_LEMPLKGOOJC_proto_rawDescOnce.Do(func() { + file_Unk2700_LEMPLKGOOJC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LEMPLKGOOJC_proto_rawDescData) + }) + return file_Unk2700_LEMPLKGOOJC_proto_rawDescData +} + +var file_Unk2700_LEMPLKGOOJC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LEMPLKGOOJC_proto_goTypes = []interface{}{ + (*Unk2700_LEMPLKGOOJC)(nil), // 0: Unk2700_LEMPLKGOOJC +} +var file_Unk2700_LEMPLKGOOJC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LEMPLKGOOJC_proto_init() } +func file_Unk2700_LEMPLKGOOJC_proto_init() { + if File_Unk2700_LEMPLKGOOJC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LEMPLKGOOJC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LEMPLKGOOJC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LEMPLKGOOJC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LEMPLKGOOJC_proto_goTypes, + DependencyIndexes: file_Unk2700_LEMPLKGOOJC_proto_depIdxs, + MessageInfos: file_Unk2700_LEMPLKGOOJC_proto_msgTypes, + }.Build() + File_Unk2700_LEMPLKGOOJC_proto = out.File + file_Unk2700_LEMPLKGOOJC_proto_rawDesc = nil + file_Unk2700_LEMPLKGOOJC_proto_goTypes = nil + file_Unk2700_LEMPLKGOOJC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.proto b/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.proto new file mode 100644 index 00000000..a25b0634 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LEMPLKGOOJC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8362 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LEMPLKGOOJC { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.pb.go new file mode 100644 index 00000000..c1abb4ab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LGAGHFKFFDO_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6349 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LGAGHFKFFDO_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,14,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,13,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` +} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) Reset() { + *x = Unk2700_LGAGHFKFFDO_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LGAGHFKFFDO_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LGAGHFKFFDO_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_LGAGHFKFFDO_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_LGAGHFKFFDO_ServerRsp) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +var File_Unk2700_LGAGHFKFFDO_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x41, 0x47, 0x48, 0x46, + 0x4b, 0x46, 0x46, 0x44, 0x4f, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb1, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x41, + 0x47, 0x48, 0x46, 0x4b, 0x46, 0x46, 0x44, 0x4f, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, + 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, + 0x48, 0x43, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescData = file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDesc +) + +func file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDescData +} + +var file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_LGAGHFKFFDO_ServerRsp)(nil), // 0: Unk2700_LGAGHFKFFDO_ServerRsp + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LGAGHFKFFDO_ServerRsp.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_init() } +func file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_init() { + if File_Unk2700_LGAGHFKFFDO_ServerRsp_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LGAGHFKFFDO_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_LGAGHFKFFDO_ServerRsp_proto = out.File + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_rawDesc = nil + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_goTypes = nil + file_Unk2700_LGAGHFKFFDO_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.proto new file mode 100644 index 00000000..66016d7e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGAGHFKFFDO_ServerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6349 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LGAGHFKFFDO_ServerRsp { + uint64 Unk2700_CEPGMKAHHCD = 14; + int32 retcode = 15; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.pb.go b/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.pb.go new file mode 100644 index 00000000..bb68bb21 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LGGAIDMLDIA_ServerReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 177 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LGGAIDMLDIA_ServerReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_LGGAIDMLDIA_ServerReq) Reset() { + *x = Unk2700_LGGAIDMLDIA_ServerReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LGGAIDMLDIA_ServerReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LGGAIDMLDIA_ServerReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LGGAIDMLDIA_ServerReq) ProtoMessage() {} + +func (x *Unk2700_LGGAIDMLDIA_ServerReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LGGAIDMLDIA_ServerReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LGGAIDMLDIA_ServerReq.ProtoReflect.Descriptor instead. +func (*Unk2700_LGGAIDMLDIA_ServerReq) Descriptor() ([]byte, []int) { + return file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_LGGAIDMLDIA_ServerReq_proto protoreflect.FileDescriptor + +var file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x47, 0x41, 0x49, 0x44, + 0x4d, 0x4c, 0x44, 0x49, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4c, 0x47, 0x47, 0x41, 0x49, 0x44, 0x4d, 0x4c, 0x44, 0x49, 0x41, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescOnce sync.Once + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescData = file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDesc +) + +func file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescGZIP() []byte { + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescOnce.Do(func() { + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescData) + }) + return file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDescData +} + +var file_Unk2700_LGGAIDMLDIA_ServerReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LGGAIDMLDIA_ServerReq_proto_goTypes = []interface{}{ + (*Unk2700_LGGAIDMLDIA_ServerReq)(nil), // 0: Unk2700_LGGAIDMLDIA_ServerReq +} +var file_Unk2700_LGGAIDMLDIA_ServerReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LGGAIDMLDIA_ServerReq_proto_init() } +func file_Unk2700_LGGAIDMLDIA_ServerReq_proto_init() { + if File_Unk2700_LGGAIDMLDIA_ServerReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LGGAIDMLDIA_ServerReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LGGAIDMLDIA_ServerReq_proto_goTypes, + DependencyIndexes: file_Unk2700_LGGAIDMLDIA_ServerReq_proto_depIdxs, + MessageInfos: file_Unk2700_LGGAIDMLDIA_ServerReq_proto_msgTypes, + }.Build() + File_Unk2700_LGGAIDMLDIA_ServerReq_proto = out.File + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_rawDesc = nil + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_goTypes = nil + file_Unk2700_LGGAIDMLDIA_ServerReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.proto b/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.proto new file mode 100644 index 00000000..8b01a6a2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGGAIDMLDIA_ServerReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 177 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LGGAIDMLDIA_ServerReq {} diff --git a/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.pb.go new file mode 100644 index 00000000..2413bdf5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LGHJBAEBJKE_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6227 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LGHJBAEBJKE_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_HKIFDFGHJOK *Unk2700_OGKIDNPMMKG `protobuf:"bytes,14,opt,name=Unk2700_HKIFDFGHJOK,json=Unk2700HKIFDFGHJOK,proto3" json:"Unk2700_HKIFDFGHJOK,omitempty"` + Unk2700_KLOAFPMHOKI []*Unk2700_MIBBHAEMAGI `protobuf:"bytes,5,rep,name=Unk2700_KLOAFPMHOKI,json=Unk2700KLOAFPMHOKI,proto3" json:"Unk2700_KLOAFPMHOKI,omitempty"` +} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) Reset() { + *x = Unk2700_LGHJBAEBJKE_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LGHJBAEBJKE_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LGHJBAEBJKE_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_LGHJBAEBJKE_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) GetUnk2700_HKIFDFGHJOK() *Unk2700_OGKIDNPMMKG { + if x != nil { + return x.Unk2700_HKIFDFGHJOK + } + return nil +} + +func (x *Unk2700_LGHJBAEBJKE_ServerRsp) GetUnk2700_KLOAFPMHOKI() []*Unk2700_MIBBHAEMAGI { + if x != nil { + return x.Unk2700_KLOAFPMHOKI + } + return nil +} + +var File_Unk2700_LGHJBAEBJKE_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x48, 0x4a, 0x42, 0x41, + 0x45, 0x42, 0x4a, 0x4b, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x49, 0x42, 0x42, 0x48, 0x41, 0x45, 0x4d, 0x41, 0x47, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x4b, 0x49, 0x44, 0x4e, + 0x50, 0x4d, 0x4d, 0x4b, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x1d, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x48, 0x4a, 0x42, 0x41, 0x45, 0x42, + 0x4a, 0x4b, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x49, 0x46, 0x44, 0x46, 0x47, 0x48, 0x4a, 0x4f, 0x4b, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x47, 0x4b, 0x49, 0x44, 0x4e, 0x50, 0x4d, 0x4d, 0x4b, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x48, 0x4b, 0x49, 0x46, 0x44, 0x46, 0x47, 0x48, 0x4a, 0x4f, 0x4b, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x4f, 0x41, 0x46, 0x50, + 0x4d, 0x48, 0x4f, 0x4b, 0x49, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x42, 0x48, 0x41, 0x45, 0x4d, 0x41, 0x47, + 0x49, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4c, 0x4f, 0x41, 0x46, 0x50, + 0x4d, 0x48, 0x4f, 0x4b, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescData = file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDesc +) + +func file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDescData +} + +var file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_LGHJBAEBJKE_ServerRsp)(nil), // 0: Unk2700_LGHJBAEBJKE_ServerRsp + (*Unk2700_OGKIDNPMMKG)(nil), // 1: Unk2700_OGKIDNPMMKG + (*Unk2700_MIBBHAEMAGI)(nil), // 2: Unk2700_MIBBHAEMAGI +} +var file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LGHJBAEBJKE_ServerRsp.Unk2700_HKIFDFGHJOK:type_name -> Unk2700_OGKIDNPMMKG + 2, // 1: Unk2700_LGHJBAEBJKE_ServerRsp.Unk2700_KLOAFPMHOKI:type_name -> Unk2700_MIBBHAEMAGI + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_init() } +func file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_init() { + if File_Unk2700_LGHJBAEBJKE_ServerRsp_proto != nil { + return + } + file_Unk2700_MIBBHAEMAGI_proto_init() + file_Unk2700_OGKIDNPMMKG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LGHJBAEBJKE_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_LGHJBAEBJKE_ServerRsp_proto = out.File + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_rawDesc = nil + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_goTypes = nil + file_Unk2700_LGHJBAEBJKE_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.proto new file mode 100644 index 00000000..f5f0bd17 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LGHJBAEBJKE_ServerRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MIBBHAEMAGI.proto"; +import "Unk2700_OGKIDNPMMKG.proto"; + +option go_package = "./;proto"; + +// CmdId: 6227 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LGHJBAEBJKE_ServerRsp { + int32 retcode = 10; + Unk2700_OGKIDNPMMKG Unk2700_HKIFDFGHJOK = 14; + repeated Unk2700_MIBBHAEMAGI Unk2700_KLOAFPMHOKI = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.pb.go b/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.pb.go new file mode 100644 index 00000000..218705a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LHMOFCJCIKM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 9000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LHMOFCJCIKM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_LHMOFCJCIKM) Reset() { + *x = Unk2700_LHMOFCJCIKM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LHMOFCJCIKM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LHMOFCJCIKM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LHMOFCJCIKM) ProtoMessage() {} + +func (x *Unk2700_LHMOFCJCIKM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LHMOFCJCIKM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LHMOFCJCIKM.ProtoReflect.Descriptor instead. +func (*Unk2700_LHMOFCJCIKM) Descriptor() ([]byte, []int) { + return file_Unk2700_LHMOFCJCIKM_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_LHMOFCJCIKM_proto protoreflect.FileDescriptor + +var file_Unk2700_LHMOFCJCIKM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x4d, 0x4f, 0x46, 0x43, + 0x4a, 0x43, 0x49, 0x4b, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x4d, 0x4f, 0x46, 0x43, 0x4a, 0x43, 0x49, + 0x4b, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LHMOFCJCIKM_proto_rawDescOnce sync.Once + file_Unk2700_LHMOFCJCIKM_proto_rawDescData = file_Unk2700_LHMOFCJCIKM_proto_rawDesc +) + +func file_Unk2700_LHMOFCJCIKM_proto_rawDescGZIP() []byte { + file_Unk2700_LHMOFCJCIKM_proto_rawDescOnce.Do(func() { + file_Unk2700_LHMOFCJCIKM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LHMOFCJCIKM_proto_rawDescData) + }) + return file_Unk2700_LHMOFCJCIKM_proto_rawDescData +} + +var file_Unk2700_LHMOFCJCIKM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LHMOFCJCIKM_proto_goTypes = []interface{}{ + (*Unk2700_LHMOFCJCIKM)(nil), // 0: Unk2700_LHMOFCJCIKM +} +var file_Unk2700_LHMOFCJCIKM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LHMOFCJCIKM_proto_init() } +func file_Unk2700_LHMOFCJCIKM_proto_init() { + if File_Unk2700_LHMOFCJCIKM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LHMOFCJCIKM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LHMOFCJCIKM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LHMOFCJCIKM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LHMOFCJCIKM_proto_goTypes, + DependencyIndexes: file_Unk2700_LHMOFCJCIKM_proto_depIdxs, + MessageInfos: file_Unk2700_LHMOFCJCIKM_proto_msgTypes, + }.Build() + File_Unk2700_LHMOFCJCIKM_proto = out.File + file_Unk2700_LHMOFCJCIKM_proto_rawDesc = nil + file_Unk2700_LHMOFCJCIKM_proto_goTypes = nil + file_Unk2700_LHMOFCJCIKM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.proto b/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.proto new file mode 100644 index 00000000..2fdb355f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LHMOFCJCIKM.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 9000 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LHMOFCJCIKM {} diff --git a/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.pb.go b/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.pb.go new file mode 100644 index 00000000..9bd1a156 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LHPELFJPPOD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LHPELFJPPOD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GHGIOMEHIAN bool `protobuf:"varint,13,opt,name=Unk2700_GHGIOMEHIAN,json=Unk2700GHGIOMEHIAN,proto3" json:"Unk2700_GHGIOMEHIAN,omitempty"` + BestScore uint32 `protobuf:"varint,7,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` + ChallengeId uint32 `protobuf:"varint,3,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *Unk2700_LHPELFJPPOD) Reset() { + *x = Unk2700_LHPELFJPPOD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LHPELFJPPOD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LHPELFJPPOD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LHPELFJPPOD) ProtoMessage() {} + +func (x *Unk2700_LHPELFJPPOD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LHPELFJPPOD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LHPELFJPPOD.ProtoReflect.Descriptor instead. +func (*Unk2700_LHPELFJPPOD) Descriptor() ([]byte, []int) { + return file_Unk2700_LHPELFJPPOD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LHPELFJPPOD) GetUnk2700_GHGIOMEHIAN() bool { + if x != nil { + return x.Unk2700_GHGIOMEHIAN + } + return false +} + +func (x *Unk2700_LHPELFJPPOD) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +func (x *Unk2700_LHPELFJPPOD) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_Unk2700_LHPELFJPPOD_proto protoreflect.FileDescriptor + +var file_Unk2700_LHPELFJPPOD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x50, 0x45, 0x4c, 0x46, + 0x4a, 0x50, 0x50, 0x4f, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x50, 0x45, 0x4c, 0x46, 0x4a, 0x50, + 0x50, 0x4f, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x48, 0x47, 0x49, 0x4f, 0x4d, 0x45, 0x48, 0x49, 0x41, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x48, 0x47, 0x49, 0x4f, 0x4d, 0x45, + 0x48, 0x49, 0x41, 0x4e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LHPELFJPPOD_proto_rawDescOnce sync.Once + file_Unk2700_LHPELFJPPOD_proto_rawDescData = file_Unk2700_LHPELFJPPOD_proto_rawDesc +) + +func file_Unk2700_LHPELFJPPOD_proto_rawDescGZIP() []byte { + file_Unk2700_LHPELFJPPOD_proto_rawDescOnce.Do(func() { + file_Unk2700_LHPELFJPPOD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LHPELFJPPOD_proto_rawDescData) + }) + return file_Unk2700_LHPELFJPPOD_proto_rawDescData +} + +var file_Unk2700_LHPELFJPPOD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LHPELFJPPOD_proto_goTypes = []interface{}{ + (*Unk2700_LHPELFJPPOD)(nil), // 0: Unk2700_LHPELFJPPOD +} +var file_Unk2700_LHPELFJPPOD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LHPELFJPPOD_proto_init() } +func file_Unk2700_LHPELFJPPOD_proto_init() { + if File_Unk2700_LHPELFJPPOD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LHPELFJPPOD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LHPELFJPPOD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LHPELFJPPOD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LHPELFJPPOD_proto_goTypes, + DependencyIndexes: file_Unk2700_LHPELFJPPOD_proto_depIdxs, + MessageInfos: file_Unk2700_LHPELFJPPOD_proto_msgTypes, + }.Build() + File_Unk2700_LHPELFJPPOD_proto = out.File + file_Unk2700_LHPELFJPPOD_proto_rawDesc = nil + file_Unk2700_LHPELFJPPOD_proto_goTypes = nil + file_Unk2700_LHPELFJPPOD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.proto b/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.proto new file mode 100644 index 00000000..92523577 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LHPELFJPPOD.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_LHPELFJPPOD { + bool Unk2700_GHGIOMEHIAN = 13; + uint32 best_score = 7; + uint32 challenge_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.pb.go b/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.pb.go new file mode 100644 index 00000000..04a9edbb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LIJCBOBECHJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8964 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LIJCBOBECHJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_LIJCBOBECHJ) Reset() { + *x = Unk2700_LIJCBOBECHJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LIJCBOBECHJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LIJCBOBECHJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LIJCBOBECHJ) ProtoMessage() {} + +func (x *Unk2700_LIJCBOBECHJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LIJCBOBECHJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LIJCBOBECHJ.ProtoReflect.Descriptor instead. +func (*Unk2700_LIJCBOBECHJ) Descriptor() ([]byte, []int) { + return file_Unk2700_LIJCBOBECHJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_LIJCBOBECHJ_proto protoreflect.FileDescriptor + +var file_Unk2700_LIJCBOBECHJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x4a, 0x43, 0x42, 0x4f, + 0x42, 0x45, 0x43, 0x48, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x4a, 0x43, 0x42, 0x4f, 0x42, 0x45, 0x43, + 0x48, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LIJCBOBECHJ_proto_rawDescOnce sync.Once + file_Unk2700_LIJCBOBECHJ_proto_rawDescData = file_Unk2700_LIJCBOBECHJ_proto_rawDesc +) + +func file_Unk2700_LIJCBOBECHJ_proto_rawDescGZIP() []byte { + file_Unk2700_LIJCBOBECHJ_proto_rawDescOnce.Do(func() { + file_Unk2700_LIJCBOBECHJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LIJCBOBECHJ_proto_rawDescData) + }) + return file_Unk2700_LIJCBOBECHJ_proto_rawDescData +} + +var file_Unk2700_LIJCBOBECHJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LIJCBOBECHJ_proto_goTypes = []interface{}{ + (*Unk2700_LIJCBOBECHJ)(nil), // 0: Unk2700_LIJCBOBECHJ +} +var file_Unk2700_LIJCBOBECHJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LIJCBOBECHJ_proto_init() } +func file_Unk2700_LIJCBOBECHJ_proto_init() { + if File_Unk2700_LIJCBOBECHJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LIJCBOBECHJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LIJCBOBECHJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LIJCBOBECHJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LIJCBOBECHJ_proto_goTypes, + DependencyIndexes: file_Unk2700_LIJCBOBECHJ_proto_depIdxs, + MessageInfos: file_Unk2700_LIJCBOBECHJ_proto_msgTypes, + }.Build() + File_Unk2700_LIJCBOBECHJ_proto = out.File + file_Unk2700_LIJCBOBECHJ_proto_rawDesc = nil + file_Unk2700_LIJCBOBECHJ_proto_goTypes = nil + file_Unk2700_LIJCBOBECHJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.proto b/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.proto new file mode 100644 index 00000000..240a3f49 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LIJCBOBECHJ.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8964 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LIJCBOBECHJ {} diff --git a/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.pb.go b/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.pb.go new file mode 100644 index 00000000..fec6a296 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LJINJNECBIA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8113 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LJINJNECBIA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,3,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_LJINJNECBIA) Reset() { + *x = Unk2700_LJINJNECBIA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LJINJNECBIA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LJINJNECBIA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LJINJNECBIA) ProtoMessage() {} + +func (x *Unk2700_LJINJNECBIA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LJINJNECBIA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LJINJNECBIA.ProtoReflect.Descriptor instead. +func (*Unk2700_LJINJNECBIA) Descriptor() ([]byte, []int) { + return file_Unk2700_LJINJNECBIA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LJINJNECBIA) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_LJINJNECBIA_proto protoreflect.FileDescriptor + +var file_Unk2700_LJINJNECBIA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4a, 0x49, 0x4e, 0x4a, 0x4e, + 0x45, 0x43, 0x42, 0x49, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4a, 0x49, 0x4e, 0x4a, 0x4e, 0x45, 0x43, 0x42, + 0x49, 0x41, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LJINJNECBIA_proto_rawDescOnce sync.Once + file_Unk2700_LJINJNECBIA_proto_rawDescData = file_Unk2700_LJINJNECBIA_proto_rawDesc +) + +func file_Unk2700_LJINJNECBIA_proto_rawDescGZIP() []byte { + file_Unk2700_LJINJNECBIA_proto_rawDescOnce.Do(func() { + file_Unk2700_LJINJNECBIA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LJINJNECBIA_proto_rawDescData) + }) + return file_Unk2700_LJINJNECBIA_proto_rawDescData +} + +var file_Unk2700_LJINJNECBIA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LJINJNECBIA_proto_goTypes = []interface{}{ + (*Unk2700_LJINJNECBIA)(nil), // 0: Unk2700_LJINJNECBIA +} +var file_Unk2700_LJINJNECBIA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LJINJNECBIA_proto_init() } +func file_Unk2700_LJINJNECBIA_proto_init() { + if File_Unk2700_LJINJNECBIA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LJINJNECBIA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LJINJNECBIA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LJINJNECBIA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LJINJNECBIA_proto_goTypes, + DependencyIndexes: file_Unk2700_LJINJNECBIA_proto_depIdxs, + MessageInfos: file_Unk2700_LJINJNECBIA_proto_msgTypes, + }.Build() + File_Unk2700_LJINJNECBIA_proto = out.File + file_Unk2700_LJINJNECBIA_proto_rawDesc = nil + file_Unk2700_LJINJNECBIA_proto_goTypes = nil + file_Unk2700_LJINJNECBIA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.proto b/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.proto new file mode 100644 index 00000000..188007a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LJINJNECBIA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8113 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LJINJNECBIA { + uint32 schedule_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.pb.go new file mode 100644 index 00000000..a212ae58 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LKFKCNJFGIF_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 458 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LKFKCNJFGIF_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,4,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + LackedNpcList []uint32 `protobuf:"varint,8,rep,packed,name=lacked_npc_list,json=lackedNpcList,proto3" json:"lacked_npc_list,omitempty"` + LackedPlaceList []uint32 `protobuf:"varint,5,rep,packed,name=lacked_place_list,json=lackedPlaceList,proto3" json:"lacked_place_list,omitempty"` + LackedNpcMap map[uint32]uint32 `protobuf:"bytes,10,rep,name=lacked_npc_map,json=lackedNpcMap,proto3" json:"lacked_npc_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LackedPlaceMap map[uint32]uint32 `protobuf:"bytes,2,rep,name=lacked_place_map,json=lackedPlaceMap,proto3" json:"lacked_place_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) Reset() { + *x = Unk2700_LKFKCNJFGIF_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LKFKCNJFGIF_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LKFKCNJFGIF_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_LKFKCNJFGIF_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetLackedNpcList() []uint32 { + if x != nil { + return x.LackedNpcList + } + return nil +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetLackedPlaceList() []uint32 { + if x != nil { + return x.LackedPlaceList + } + return nil +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetLackedNpcMap() map[uint32]uint32 { + if x != nil { + return x.LackedNpcMap + } + return nil +} + +func (x *Unk2700_LKFKCNJFGIF_ServerRsp) GetLackedPlaceMap() map[uint32]uint32 { + if x != nil { + return x.LackedPlaceMap + } + return nil +} + +var File_Unk2700_LKFKCNJFGIF_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x46, 0x4b, 0x43, 0x4e, + 0x4a, 0x46, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x03, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4c, 0x4b, 0x46, 0x4b, 0x43, 0x4e, 0x4a, 0x46, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6e, 0x70, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4e, 0x70, 0x63, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x70, + 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x0f, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x56, 0x0a, 0x0e, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6e, 0x70, 0x63, 0x5f, 0x6d, + 0x61, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x46, 0x4b, 0x43, 0x4e, 0x4a, 0x46, 0x47, 0x49, 0x46, 0x5f, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x4c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4e, + 0x70, 0x63, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6c, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x4e, 0x70, 0x63, 0x4d, 0x61, 0x70, 0x12, 0x5c, 0x0a, 0x10, 0x6c, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x46, + 0x4b, 0x43, 0x4e, 0x4a, 0x46, 0x47, 0x49, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x2e, 0x4c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6c, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x50, 0x6c, + 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x1a, 0x3f, 0x0a, 0x11, 0x4c, 0x61, 0x63, 0x6b, 0x65, 0x64, + 0x4e, 0x70, 0x63, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x4c, 0x61, 0x63, 0x6b, 0x65, + 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescData = file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDesc +) + +func file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDescData +} + +var file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_LKFKCNJFGIF_ServerRsp)(nil), // 0: Unk2700_LKFKCNJFGIF_ServerRsp + nil, // 1: Unk2700_LKFKCNJFGIF_ServerRsp.LackedNpcMapEntry + nil, // 2: Unk2700_LKFKCNJFGIF_ServerRsp.LackedPlaceMapEntry +} +var file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LKFKCNJFGIF_ServerRsp.lacked_npc_map:type_name -> Unk2700_LKFKCNJFGIF_ServerRsp.LackedNpcMapEntry + 2, // 1: Unk2700_LKFKCNJFGIF_ServerRsp.lacked_place_map:type_name -> Unk2700_LKFKCNJFGIF_ServerRsp.LackedPlaceMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_init() } +func file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_init() { + if File_Unk2700_LKFKCNJFGIF_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LKFKCNJFGIF_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_LKFKCNJFGIF_ServerRsp_proto = out.File + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_rawDesc = nil + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_goTypes = nil + file_Unk2700_LKFKCNJFGIF_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.proto new file mode 100644 index 00000000..c9c3f685 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LKFKCNJFGIF_ServerRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 458 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LKFKCNJFGIF_ServerRsp { + uint32 quest_id = 4; + int32 retcode = 11; + repeated uint32 lacked_npc_list = 8; + repeated uint32 lacked_place_list = 5; + map lacked_npc_map = 10; + map lacked_place_map = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.pb.go new file mode 100644 index 00000000..676740db --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.pb.go @@ -0,0 +1,227 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LKPBBMPFPPE_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LKPBBMPFPPE_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,8,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` + Unk2700_CEPGMKAHHCD uint64 `protobuf:"varint,5,opt,name=Unk2700_CEPGMKAHHCD,json=Unk2700CEPGMKAHHCD,proto3" json:"Unk2700_CEPGMKAHHCD,omitempty"` + Unk2700_MJNIHFCKJMN DropSubfieldType `protobuf:"varint,6,opt,name=Unk2700_MJNIHFCKJMN,json=Unk2700MJNIHFCKJMN,proto3,enum=DropSubfieldType" json:"Unk2700_MJNIHFCKJMN,omitempty"` + Unk2700_CAOIKBJJFIH bool `protobuf:"varint,11,opt,name=Unk2700_CAOIKBJJFIH,json=Unk2700CAOIKBJJFIH,proto3" json:"Unk2700_CAOIKBJJFIH,omitempty"` + Unk2700_BFPCGJEDDFK Unk2700_CKMOPKMKCAO `protobuf:"varint,13,opt,name=Unk2700_BFPCGJEDDFK,json=Unk2700BFPCGJEDDFK,proto3,enum=Unk2700_CKMOPKMKCAO" json:"Unk2700_BFPCGJEDDFK,omitempty"` +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) Reset() { + *x = Unk2700_LKPBBMPFPPE_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LKPBBMPFPPE_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LKPBBMPFPPE_ClientReq) ProtoMessage() {} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LKPBBMPFPPE_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LKPBBMPFPPE_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_LKPBBMPFPPE_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) GetUnk2700_CEPGMKAHHCD() uint64 { + if x != nil { + return x.Unk2700_CEPGMKAHHCD + } + return 0 +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) GetUnk2700_MJNIHFCKJMN() DropSubfieldType { + if x != nil { + return x.Unk2700_MJNIHFCKJMN + } + return DropSubfieldType_DROP_SUBFIELD_TYPE_NONE +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) GetUnk2700_CAOIKBJJFIH() bool { + if x != nil { + return x.Unk2700_CAOIKBJJFIH + } + return false +} + +func (x *Unk2700_LKPBBMPFPPE_ClientReq) GetUnk2700_BFPCGJEDDFK() Unk2700_CKMOPKMKCAO { + if x != nil { + return x.Unk2700_BFPCGJEDDFK + } + return Unk2700_CKMOPKMKCAO_Unk2700_CKMOPKMKCAO_Unk2700_BJNNKGGOEIM +} + +var File_Unk2700_LKPBBMPFPPE_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x50, 0x42, 0x42, 0x4d, + 0x50, 0x46, 0x50, 0x50, 0x45, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, 0x50, 0x4b, 0x4d, 0x4b, 0x43, + 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x02, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x4b, 0x50, 0x42, 0x42, 0x4d, 0x50, 0x46, 0x50, 0x50, 0x45, 0x5f, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, + 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, 0x44, 0x4f, 0x4a, 0x41, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, + 0x48, 0x43, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x45, 0x50, 0x47, 0x4d, 0x4b, 0x41, 0x48, 0x48, 0x43, 0x44, 0x12, 0x42, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x4e, 0x49, 0x48, 0x46, 0x43, + 0x4b, 0x4a, 0x4d, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x44, 0x72, 0x6f, + 0x70, 0x53, 0x75, 0x62, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4a, 0x4e, 0x49, 0x48, 0x46, 0x43, 0x4b, 0x4a, 0x4d, + 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x41, 0x4f, + 0x49, 0x4b, 0x42, 0x4a, 0x4a, 0x46, 0x49, 0x48, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x41, 0x4f, 0x49, 0x4b, 0x42, 0x4a, 0x4a, 0x46, + 0x49, 0x48, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x46, + 0x50, 0x43, 0x47, 0x4a, 0x45, 0x44, 0x44, 0x46, 0x4b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4d, 0x4f, 0x50, 0x4b, + 0x4d, 0x4b, 0x43, 0x41, 0x4f, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x46, + 0x50, 0x43, 0x47, 0x4a, 0x45, 0x44, 0x44, 0x46, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescData = file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDesc +) + +func file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescData) + }) + return file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDescData +} + +var file_Unk2700_LKPBBMPFPPE_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LKPBBMPFPPE_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_LKPBBMPFPPE_ClientReq)(nil), // 0: Unk2700_LKPBBMPFPPE_ClientReq + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL + (DropSubfieldType)(0), // 2: DropSubfieldType + (Unk2700_CKMOPKMKCAO)(0), // 3: Unk2700_CKMOPKMKCAO +} +var file_Unk2700_LKPBBMPFPPE_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LKPBBMPFPPE_ClientReq.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 2, // 1: Unk2700_LKPBBMPFPPE_ClientReq.Unk2700_MJNIHFCKJMN:type_name -> DropSubfieldType + 3, // 2: Unk2700_LKPBBMPFPPE_ClientReq.Unk2700_BFPCGJEDDFK:type_name -> Unk2700_CKMOPKMKCAO + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_LKPBBMPFPPE_ClientReq_proto_init() } +func file_Unk2700_LKPBBMPFPPE_ClientReq_proto_init() { + if File_Unk2700_LKPBBMPFPPE_ClientReq_proto != nil { + return + } + file_DropSubfieldType_proto_init() + file_Unk2700_CKMOPKMKCAO_proto_init() + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LKPBBMPFPPE_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LKPBBMPFPPE_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_LKPBBMPFPPE_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_LKPBBMPFPPE_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_LKPBBMPFPPE_ClientReq_proto = out.File + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_rawDesc = nil + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_goTypes = nil + file_Unk2700_LKPBBMPFPPE_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.proto new file mode 100644 index 00000000..f61add96 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LKPBBMPFPPE_ClientReq.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DropSubfieldType.proto"; +import "Unk2700_CKMOPKMKCAO.proto"; +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LKPBBMPFPPE_ClientReq { + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 8; + uint64 Unk2700_CEPGMKAHHCD = 5; + DropSubfieldType Unk2700_MJNIHFCKJMN = 6; + bool Unk2700_CAOIKBJJFIH = 11; + Unk2700_CKMOPKMKCAO Unk2700_BFPCGJEDDFK = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.pb.go b/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.pb.go new file mode 100644 index 00000000..3961123c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LLBCBPADBNO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8154 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LLBCBPADBNO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExploreInfo *Unk2700_DIEGJDEIDKO `protobuf:"bytes,12,opt,name=explore_info,json=exploreInfo,proto3" json:"explore_info,omitempty"` + BattleInfo *Unk2700_DIEGJDEIDKO `protobuf:"bytes,4,opt,name=battle_info,json=battleInfo,proto3" json:"battle_info,omitempty"` +} + +func (x *Unk2700_LLBCBPADBNO) Reset() { + *x = Unk2700_LLBCBPADBNO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LLBCBPADBNO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LLBCBPADBNO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LLBCBPADBNO) ProtoMessage() {} + +func (x *Unk2700_LLBCBPADBNO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LLBCBPADBNO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LLBCBPADBNO.ProtoReflect.Descriptor instead. +func (*Unk2700_LLBCBPADBNO) Descriptor() ([]byte, []int) { + return file_Unk2700_LLBCBPADBNO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LLBCBPADBNO) GetExploreInfo() *Unk2700_DIEGJDEIDKO { + if x != nil { + return x.ExploreInfo + } + return nil +} + +func (x *Unk2700_LLBCBPADBNO) GetBattleInfo() *Unk2700_DIEGJDEIDKO { + if x != nil { + return x.BattleInfo + } + return nil +} + +var File_Unk2700_LLBCBPADBNO_proto protoreflect.FileDescriptor + +var file_Unk2700_LLBCBPADBNO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x43, 0x42, 0x50, + 0x41, 0x44, 0x42, 0x4e, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, 0x4b, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x43, 0x42, 0x50, 0x41, 0x44, 0x42, 0x4e, 0x4f, 0x12, 0x37, + 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, 0x4b, 0x4f, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, + 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, + 0x4b, 0x4f, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_LLBCBPADBNO_proto_rawDescOnce sync.Once + file_Unk2700_LLBCBPADBNO_proto_rawDescData = file_Unk2700_LLBCBPADBNO_proto_rawDesc +) + +func file_Unk2700_LLBCBPADBNO_proto_rawDescGZIP() []byte { + file_Unk2700_LLBCBPADBNO_proto_rawDescOnce.Do(func() { + file_Unk2700_LLBCBPADBNO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LLBCBPADBNO_proto_rawDescData) + }) + return file_Unk2700_LLBCBPADBNO_proto_rawDescData +} + +var file_Unk2700_LLBCBPADBNO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LLBCBPADBNO_proto_goTypes = []interface{}{ + (*Unk2700_LLBCBPADBNO)(nil), // 0: Unk2700_LLBCBPADBNO + (*Unk2700_DIEGJDEIDKO)(nil), // 1: Unk2700_DIEGJDEIDKO +} +var file_Unk2700_LLBCBPADBNO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LLBCBPADBNO.explore_info:type_name -> Unk2700_DIEGJDEIDKO + 1, // 1: Unk2700_LLBCBPADBNO.battle_info:type_name -> Unk2700_DIEGJDEIDKO + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_LLBCBPADBNO_proto_init() } +func file_Unk2700_LLBCBPADBNO_proto_init() { + if File_Unk2700_LLBCBPADBNO_proto != nil { + return + } + file_Unk2700_DIEGJDEIDKO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LLBCBPADBNO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LLBCBPADBNO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LLBCBPADBNO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LLBCBPADBNO_proto_goTypes, + DependencyIndexes: file_Unk2700_LLBCBPADBNO_proto_depIdxs, + MessageInfos: file_Unk2700_LLBCBPADBNO_proto_msgTypes, + }.Build() + File_Unk2700_LLBCBPADBNO_proto = out.File + file_Unk2700_LLBCBPADBNO_proto_rawDesc = nil + file_Unk2700_LLBCBPADBNO_proto_goTypes = nil + file_Unk2700_LLBCBPADBNO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.proto b/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.proto new file mode 100644 index 00000000..7bfd24d1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LLBCBPADBNO.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DIEGJDEIDKO.proto"; + +option go_package = "./;proto"; + +// CmdId: 8154 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LLBCBPADBNO { + Unk2700_DIEGJDEIDKO explore_info = 12; + Unk2700_DIEGJDEIDKO battle_info = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.pb.go b/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.pb.go new file mode 100644 index 00000000..8a6bfe31 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LLGDCAKMCKL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_LLGDCAKMCKL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeInfoList []*Unk2700_DMPIJLBHEAE `protobuf:"bytes,9,rep,name=challenge_info_list,json=challengeInfoList,proto3" json:"challenge_info_list,omitempty"` + IsOpen bool `protobuf:"varint,10,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_LLGDCAKMCKL) Reset() { + *x = Unk2700_LLGDCAKMCKL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LLGDCAKMCKL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LLGDCAKMCKL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LLGDCAKMCKL) ProtoMessage() {} + +func (x *Unk2700_LLGDCAKMCKL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LLGDCAKMCKL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LLGDCAKMCKL.ProtoReflect.Descriptor instead. +func (*Unk2700_LLGDCAKMCKL) Descriptor() ([]byte, []int) { + return file_Unk2700_LLGDCAKMCKL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LLGDCAKMCKL) GetChallengeInfoList() []*Unk2700_DMPIJLBHEAE { + if x != nil { + return x.ChallengeInfoList + } + return nil +} + +func (x *Unk2700_LLGDCAKMCKL) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_LLGDCAKMCKL) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_LLGDCAKMCKL_proto protoreflect.FileDescriptor + +var file_Unk2700_LLGDCAKMCKL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x47, 0x44, 0x43, 0x41, + 0x4b, 0x4d, 0x43, 0x4b, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x50, 0x49, 0x4a, 0x4c, 0x42, 0x48, 0x45, 0x41, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x47, 0x44, 0x43, 0x41, 0x4b, 0x4d, 0x43, 0x4b, 0x4c, 0x12, 0x44, + 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4d, 0x50, 0x49, 0x4a, 0x4c, 0x42, 0x48, 0x45, 0x41, + 0x45, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LLGDCAKMCKL_proto_rawDescOnce sync.Once + file_Unk2700_LLGDCAKMCKL_proto_rawDescData = file_Unk2700_LLGDCAKMCKL_proto_rawDesc +) + +func file_Unk2700_LLGDCAKMCKL_proto_rawDescGZIP() []byte { + file_Unk2700_LLGDCAKMCKL_proto_rawDescOnce.Do(func() { + file_Unk2700_LLGDCAKMCKL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LLGDCAKMCKL_proto_rawDescData) + }) + return file_Unk2700_LLGDCAKMCKL_proto_rawDescData +} + +var file_Unk2700_LLGDCAKMCKL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LLGDCAKMCKL_proto_goTypes = []interface{}{ + (*Unk2700_LLGDCAKMCKL)(nil), // 0: Unk2700_LLGDCAKMCKL + (*Unk2700_DMPIJLBHEAE)(nil), // 1: Unk2700_DMPIJLBHEAE +} +var file_Unk2700_LLGDCAKMCKL_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LLGDCAKMCKL.challenge_info_list:type_name -> Unk2700_DMPIJLBHEAE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_LLGDCAKMCKL_proto_init() } +func file_Unk2700_LLGDCAKMCKL_proto_init() { + if File_Unk2700_LLGDCAKMCKL_proto != nil { + return + } + file_Unk2700_DMPIJLBHEAE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LLGDCAKMCKL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LLGDCAKMCKL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LLGDCAKMCKL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LLGDCAKMCKL_proto_goTypes, + DependencyIndexes: file_Unk2700_LLGDCAKMCKL_proto_depIdxs, + MessageInfos: file_Unk2700_LLGDCAKMCKL_proto_msgTypes, + }.Build() + File_Unk2700_LLGDCAKMCKL_proto = out.File + file_Unk2700_LLGDCAKMCKL_proto_rawDesc = nil + file_Unk2700_LLGDCAKMCKL_proto_goTypes = nil + file_Unk2700_LLGDCAKMCKL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.proto b/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.proto new file mode 100644 index 00000000..55e288cc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LLGDCAKMCKL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DMPIJLBHEAE.proto"; + +option go_package = "./;proto"; + +message Unk2700_LLGDCAKMCKL { + repeated Unk2700_DMPIJLBHEAE challenge_info_list = 9; + bool is_open = 10; + uint32 stage_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.pb.go b/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.pb.go new file mode 100644 index 00000000..12ab0e27 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LMAKABBJNLN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8253 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LMAKABBJNLN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_COOFMKLNBND []*Unk2700_FGJFFMPOJON `protobuf:"bytes,11,rep,name=Unk2700_COOFMKLNBND,json=Unk2700COOFMKLNBND,proto3" json:"Unk2700_COOFMKLNBND,omitempty"` + ScheduleId uint32 `protobuf:"varint,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_LMAKABBJNLN) Reset() { + *x = Unk2700_LMAKABBJNLN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LMAKABBJNLN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LMAKABBJNLN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LMAKABBJNLN) ProtoMessage() {} + +func (x *Unk2700_LMAKABBJNLN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LMAKABBJNLN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LMAKABBJNLN.ProtoReflect.Descriptor instead. +func (*Unk2700_LMAKABBJNLN) Descriptor() ([]byte, []int) { + return file_Unk2700_LMAKABBJNLN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LMAKABBJNLN) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_LMAKABBJNLN) GetUnk2700_COOFMKLNBND() []*Unk2700_FGJFFMPOJON { + if x != nil { + return x.Unk2700_COOFMKLNBND + } + return nil +} + +func (x *Unk2700_LMAKABBJNLN) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_LMAKABBJNLN_proto protoreflect.FileDescriptor + +var file_Unk2700_LMAKABBJNLN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4d, 0x41, 0x4b, 0x41, 0x42, + 0x42, 0x4a, 0x4e, 0x4c, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x4a, 0x46, 0x46, 0x4d, 0x50, 0x4f, 0x4a, 0x4f, 0x4e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x4d, 0x41, 0x4b, 0x41, 0x42, 0x42, 0x4a, 0x4e, 0x4c, 0x4e, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x4f, 0x46, 0x4d, 0x4b, 0x4c, 0x4e, 0x42, 0x4e, 0x44, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x46, 0x47, 0x4a, 0x46, 0x46, 0x4d, 0x50, 0x4f, 0x4a, 0x4f, 0x4e, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x4f, 0x46, 0x4d, 0x4b, 0x4c, 0x4e, 0x42, 0x4e, 0x44, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LMAKABBJNLN_proto_rawDescOnce sync.Once + file_Unk2700_LMAKABBJNLN_proto_rawDescData = file_Unk2700_LMAKABBJNLN_proto_rawDesc +) + +func file_Unk2700_LMAKABBJNLN_proto_rawDescGZIP() []byte { + file_Unk2700_LMAKABBJNLN_proto_rawDescOnce.Do(func() { + file_Unk2700_LMAKABBJNLN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LMAKABBJNLN_proto_rawDescData) + }) + return file_Unk2700_LMAKABBJNLN_proto_rawDescData +} + +var file_Unk2700_LMAKABBJNLN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LMAKABBJNLN_proto_goTypes = []interface{}{ + (*Unk2700_LMAKABBJNLN)(nil), // 0: Unk2700_LMAKABBJNLN + (*Unk2700_FGJFFMPOJON)(nil), // 1: Unk2700_FGJFFMPOJON +} +var file_Unk2700_LMAKABBJNLN_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LMAKABBJNLN.Unk2700_COOFMKLNBND:type_name -> Unk2700_FGJFFMPOJON + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_LMAKABBJNLN_proto_init() } +func file_Unk2700_LMAKABBJNLN_proto_init() { + if File_Unk2700_LMAKABBJNLN_proto != nil { + return + } + file_Unk2700_FGJFFMPOJON_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LMAKABBJNLN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LMAKABBJNLN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LMAKABBJNLN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LMAKABBJNLN_proto_goTypes, + DependencyIndexes: file_Unk2700_LMAKABBJNLN_proto_depIdxs, + MessageInfos: file_Unk2700_LMAKABBJNLN_proto_msgTypes, + }.Build() + File_Unk2700_LMAKABBJNLN_proto = out.File + file_Unk2700_LMAKABBJNLN_proto_rawDesc = nil + file_Unk2700_LMAKABBJNLN_proto_goTypes = nil + file_Unk2700_LMAKABBJNLN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.proto b/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.proto new file mode 100644 index 00000000..a35496a2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LMAKABBJNLN.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_FGJFFMPOJON.proto"; + +option go_package = "./;proto"; + +// CmdId: 8253 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LMAKABBJNLN { + int32 retcode = 6; + repeated Unk2700_FGJFFMPOJON Unk2700_COOFMKLNBND = 11; + uint32 schedule_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.pb.go new file mode 100644 index 00000000..20f0f2ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LNBBLNNPNBE_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4583 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LNBBLNNPNBE_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,15,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Unk2700_GIHGLFNAGJD *Unk2700_JCBJHCFEONO `protobuf:"bytes,5,opt,name=Unk2700_GIHGLFNAGJD,json=Unk2700GIHGLFNAGJD,proto3" json:"Unk2700_GIHGLFNAGJD,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,4,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` +} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) Reset() { + *x = Unk2700_LNBBLNNPNBE_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LNBBLNNPNBE_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LNBBLNNPNBE_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_LNBBLNNPNBE_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) GetUnk2700_GIHGLFNAGJD() *Unk2700_JCBJHCFEONO { + if x != nil { + return x.Unk2700_GIHGLFNAGJD + } + return nil +} + +func (x *Unk2700_LNBBLNNPNBE_ServerNotify) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +var File_Unk2700_LNBBLNNPNBE_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x42, 0x42, 0x4c, 0x4e, + 0x4e, 0x50, 0x4e, 0x42, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, 0x46, 0x45, 0x4f, 0x4e, 0x4f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, + 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, + 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x42, 0x42, 0x4c, + 0x4e, 0x4e, 0x50, 0x4e, 0x42, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x49, + 0x48, 0x47, 0x4c, 0x46, 0x4e, 0x41, 0x47, 0x4a, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x42, 0x4a, 0x48, 0x43, + 0x46, 0x45, 0x4f, 0x4e, 0x4f, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x49, + 0x48, 0x47, 0x4c, 0x46, 0x4e, 0x41, 0x47, 0x4a, 0x44, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescData = file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDesc +) + +func file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDescData +} + +var file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_LNBBLNNPNBE_ServerNotify)(nil), // 0: Unk2700_LNBBLNNPNBE_ServerNotify + (*Unk2700_JCBJHCFEONO)(nil), // 1: Unk2700_JCBJHCFEONO + (Unk2700_MOFABPNGIKP)(0), // 2: Unk2700_MOFABPNGIKP +} +var file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LNBBLNNPNBE_ServerNotify.Unk2700_GIHGLFNAGJD:type_name -> Unk2700_JCBJHCFEONO + 2, // 1: Unk2700_LNBBLNNPNBE_ServerNotify.reason:type_name -> Unk2700_MOFABPNGIKP + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_init() } +func file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_init() { + if File_Unk2700_LNBBLNNPNBE_ServerNotify_proto != nil { + return + } + file_Unk2700_JCBJHCFEONO_proto_init() + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LNBBLNNPNBE_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_LNBBLNNPNBE_ServerNotify_proto = out.File + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_rawDesc = nil + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_goTypes = nil + file_Unk2700_LNBBLNNPNBE_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.proto new file mode 100644 index 00000000..5d51b11a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LNBBLNNPNBE_ServerNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JCBJHCFEONO.proto"; +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +// CmdId: 4583 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LNBBLNNPNBE_ServerNotify { + uint32 gallery_id = 15; + Unk2700_JCBJHCFEONO Unk2700_GIHGLFNAGJD = 5; + Unk2700_MOFABPNGIKP reason = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.pb.go b/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.pb.go new file mode 100644 index 00000000..e79d5e61 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LNMFIHNFKOO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LNMFIHNFKOO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,12,opt,name=uid,proto3" json:"uid,omitempty"` + ItemList []*ItemParam `protobuf:"bytes,11,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` +} + +func (x *Unk2700_LNMFIHNFKOO) Reset() { + *x = Unk2700_LNMFIHNFKOO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LNMFIHNFKOO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LNMFIHNFKOO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LNMFIHNFKOO) ProtoMessage() {} + +func (x *Unk2700_LNMFIHNFKOO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LNMFIHNFKOO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LNMFIHNFKOO.ProtoReflect.Descriptor instead. +func (*Unk2700_LNMFIHNFKOO) Descriptor() ([]byte, []int) { + return file_Unk2700_LNMFIHNFKOO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LNMFIHNFKOO) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_LNMFIHNFKOO) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +var File_Unk2700_LNMFIHNFKOO_proto protoreflect.FileDescriptor + +var file_Unk2700_LNMFIHNFKOO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x4d, 0x46, 0x49, 0x48, + 0x4e, 0x46, 0x4b, 0x4f, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x4d, 0x46, 0x49, 0x48, 0x4e, 0x46, + 0x4b, 0x4f, 0x4f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_LNMFIHNFKOO_proto_rawDescOnce sync.Once + file_Unk2700_LNMFIHNFKOO_proto_rawDescData = file_Unk2700_LNMFIHNFKOO_proto_rawDesc +) + +func file_Unk2700_LNMFIHNFKOO_proto_rawDescGZIP() []byte { + file_Unk2700_LNMFIHNFKOO_proto_rawDescOnce.Do(func() { + file_Unk2700_LNMFIHNFKOO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LNMFIHNFKOO_proto_rawDescData) + }) + return file_Unk2700_LNMFIHNFKOO_proto_rawDescData +} + +var file_Unk2700_LNMFIHNFKOO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LNMFIHNFKOO_proto_goTypes = []interface{}{ + (*Unk2700_LNMFIHNFKOO)(nil), // 0: Unk2700_LNMFIHNFKOO + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_LNMFIHNFKOO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_LNMFIHNFKOO.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_LNMFIHNFKOO_proto_init() } +func file_Unk2700_LNMFIHNFKOO_proto_init() { + if File_Unk2700_LNMFIHNFKOO_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_LNMFIHNFKOO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LNMFIHNFKOO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LNMFIHNFKOO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LNMFIHNFKOO_proto_goTypes, + DependencyIndexes: file_Unk2700_LNMFIHNFKOO_proto_depIdxs, + MessageInfos: file_Unk2700_LNMFIHNFKOO_proto_msgTypes, + }.Build() + File_Unk2700_LNMFIHNFKOO_proto = out.File + file_Unk2700_LNMFIHNFKOO_proto_rawDesc = nil + file_Unk2700_LNMFIHNFKOO_proto_goTypes = nil + file_Unk2700_LNMFIHNFKOO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.proto b/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.proto new file mode 100644 index 00000000..4a9173ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LNMFIHNFKOO.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8572 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LNMFIHNFKOO { + uint32 uid = 12; + repeated ItemParam item_list = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.pb.go new file mode 100644 index 00000000..8b36968e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LOHBMOKOPLH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4608 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_LOHBMOKOPLH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KMEKMNONMGE []uint32 `protobuf:"varint,11,rep,packed,name=Unk2700_KMEKMNONMGE,json=Unk2700KMEKMNONMGE,proto3" json:"Unk2700_KMEKMNONMGE,omitempty"` +} + +func (x *Unk2700_LOHBMOKOPLH_ServerNotify) Reset() { + *x = Unk2700_LOHBMOKOPLH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LOHBMOKOPLH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LOHBMOKOPLH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_LOHBMOKOPLH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LOHBMOKOPLH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_LOHBMOKOPLH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LOHBMOKOPLH_ServerNotify) GetUnk2700_KMEKMNONMGE() []uint32 { + if x != nil { + return x.Unk2700_KMEKMNONMGE + } + return nil +} + +var File_Unk2700_LOHBMOKOPLH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x48, 0x42, 0x4d, 0x4f, + 0x4b, 0x4f, 0x50, 0x4c, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x48, 0x42, 0x4d, 0x4f, 0x4b, 0x4f, 0x50, 0x4c, 0x48, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4d, 0x45, 0x4b, 0x4d, 0x4e, 0x4f, 0x4e, + 0x4d, 0x47, 0x45, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4b, 0x4d, 0x45, 0x4b, 0x4d, 0x4e, 0x4f, 0x4e, 0x4d, 0x47, 0x45, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescData = file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_LOHBMOKOPLH_ServerNotify)(nil), // 0: Unk2700_LOHBMOKOPLH_ServerNotify +} +var file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_init() } +func file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_init() { + if File_Unk2700_LOHBMOKOPLH_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LOHBMOKOPLH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_LOHBMOKOPLH_ServerNotify_proto = out.File + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_rawDesc = nil + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_goTypes = nil + file_Unk2700_LOHBMOKOPLH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.proto new file mode 100644 index 00000000..7d37d3ab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LOHBMOKOPLH_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4608 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_LOHBMOKOPLH_ServerNotify { + repeated uint32 Unk2700_KMEKMNONMGE = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.pb.go b/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.pb.go new file mode 100644 index 00000000..ccf00fa9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_LPMIMLCNEDA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8518 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_LPMIMLCNEDA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + ChallengeId uint32 `protobuf:"varint,7,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"` +} + +func (x *Unk2700_LPMIMLCNEDA) Reset() { + *x = Unk2700_LPMIMLCNEDA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_LPMIMLCNEDA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_LPMIMLCNEDA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_LPMIMLCNEDA) ProtoMessage() {} + +func (x *Unk2700_LPMIMLCNEDA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_LPMIMLCNEDA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_LPMIMLCNEDA.ProtoReflect.Descriptor instead. +func (*Unk2700_LPMIMLCNEDA) Descriptor() ([]byte, []int) { + return file_Unk2700_LPMIMLCNEDA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_LPMIMLCNEDA) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_LPMIMLCNEDA) GetChallengeId() uint32 { + if x != nil { + return x.ChallengeId + } + return 0 +} + +var File_Unk2700_LPMIMLCNEDA_proto protoreflect.FileDescriptor + +var file_Unk2700_LPMIMLCNEDA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x50, 0x4d, 0x49, 0x4d, 0x4c, + 0x43, 0x4e, 0x45, 0x44, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x50, 0x4d, 0x49, 0x4d, 0x4c, 0x43, 0x4e, 0x45, + 0x44, 0x41, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_LPMIMLCNEDA_proto_rawDescOnce sync.Once + file_Unk2700_LPMIMLCNEDA_proto_rawDescData = file_Unk2700_LPMIMLCNEDA_proto_rawDesc +) + +func file_Unk2700_LPMIMLCNEDA_proto_rawDescGZIP() []byte { + file_Unk2700_LPMIMLCNEDA_proto_rawDescOnce.Do(func() { + file_Unk2700_LPMIMLCNEDA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_LPMIMLCNEDA_proto_rawDescData) + }) + return file_Unk2700_LPMIMLCNEDA_proto_rawDescData +} + +var file_Unk2700_LPMIMLCNEDA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_LPMIMLCNEDA_proto_goTypes = []interface{}{ + (*Unk2700_LPMIMLCNEDA)(nil), // 0: Unk2700_LPMIMLCNEDA +} +var file_Unk2700_LPMIMLCNEDA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_LPMIMLCNEDA_proto_init() } +func file_Unk2700_LPMIMLCNEDA_proto_init() { + if File_Unk2700_LPMIMLCNEDA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_LPMIMLCNEDA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_LPMIMLCNEDA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_LPMIMLCNEDA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_LPMIMLCNEDA_proto_goTypes, + DependencyIndexes: file_Unk2700_LPMIMLCNEDA_proto_depIdxs, + MessageInfos: file_Unk2700_LPMIMLCNEDA_proto_msgTypes, + }.Build() + File_Unk2700_LPMIMLCNEDA_proto = out.File + file_Unk2700_LPMIMLCNEDA_proto_rawDesc = nil + file_Unk2700_LPMIMLCNEDA_proto_goTypes = nil + file_Unk2700_LPMIMLCNEDA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.proto b/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.proto new file mode 100644 index 00000000..8f6e5c41 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_LPMIMLCNEDA.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8518 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_LPMIMLCNEDA { + uint32 stage_id = 2; + uint32 challenge_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.pb.go b/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.pb.go new file mode 100644 index 00000000..b5c50ec3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MBIAJKLACBG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5757 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MBIAJKLACBG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Bundle *GroupLinkBundle `protobuf:"bytes,11,opt,name=bundle,proto3" json:"bundle,omitempty"` +} + +func (x *Unk2700_MBIAJKLACBG) Reset() { + *x = Unk2700_MBIAJKLACBG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MBIAJKLACBG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MBIAJKLACBG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MBIAJKLACBG) ProtoMessage() {} + +func (x *Unk2700_MBIAJKLACBG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MBIAJKLACBG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MBIAJKLACBG.ProtoReflect.Descriptor instead. +func (*Unk2700_MBIAJKLACBG) Descriptor() ([]byte, []int) { + return file_Unk2700_MBIAJKLACBG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MBIAJKLACBG) GetBundle() *GroupLinkBundle { + if x != nil { + return x.Bundle + } + return nil +} + +var File_Unk2700_MBIAJKLACBG_proto protoreflect.FileDescriptor + +var file_Unk2700_MBIAJKLACBG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x49, 0x41, 0x4a, 0x4b, + 0x4c, 0x41, 0x43, 0x42, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, + 0x49, 0x41, 0x4a, 0x4b, 0x4c, 0x41, 0x43, 0x42, 0x47, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x06, 0x62, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MBIAJKLACBG_proto_rawDescOnce sync.Once + file_Unk2700_MBIAJKLACBG_proto_rawDescData = file_Unk2700_MBIAJKLACBG_proto_rawDesc +) + +func file_Unk2700_MBIAJKLACBG_proto_rawDescGZIP() []byte { + file_Unk2700_MBIAJKLACBG_proto_rawDescOnce.Do(func() { + file_Unk2700_MBIAJKLACBG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MBIAJKLACBG_proto_rawDescData) + }) + return file_Unk2700_MBIAJKLACBG_proto_rawDescData +} + +var file_Unk2700_MBIAJKLACBG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MBIAJKLACBG_proto_goTypes = []interface{}{ + (*Unk2700_MBIAJKLACBG)(nil), // 0: Unk2700_MBIAJKLACBG + (*GroupLinkBundle)(nil), // 1: GroupLinkBundle +} +var file_Unk2700_MBIAJKLACBG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MBIAJKLACBG.bundle:type_name -> GroupLinkBundle + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MBIAJKLACBG_proto_init() } +func file_Unk2700_MBIAJKLACBG_proto_init() { + if File_Unk2700_MBIAJKLACBG_proto != nil { + return + } + file_GroupLinkBundle_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MBIAJKLACBG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MBIAJKLACBG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MBIAJKLACBG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MBIAJKLACBG_proto_goTypes, + DependencyIndexes: file_Unk2700_MBIAJKLACBG_proto_depIdxs, + MessageInfos: file_Unk2700_MBIAJKLACBG_proto_msgTypes, + }.Build() + File_Unk2700_MBIAJKLACBG_proto = out.File + file_Unk2700_MBIAJKLACBG_proto_rawDesc = nil + file_Unk2700_MBIAJKLACBG_proto_goTypes = nil + file_Unk2700_MBIAJKLACBG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.proto b/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.proto new file mode 100644 index 00000000..1c9b1e79 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MBIAJKLACBG.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "GroupLinkBundle.proto"; + +option go_package = "./;proto"; + +// CmdId: 5757 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MBIAJKLACBG { + GroupLinkBundle bundle = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.pb.go b/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.pb.go new file mode 100644 index 00000000..26752731 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MBIDJDLLBNM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MBIDJDLLBNM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Pos *Vector `protobuf:"bytes,14,opt,name=pos,proto3" json:"pos,omitempty"` + MaxScore uint32 `protobuf:"varint,2,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` +} + +func (x *Unk2700_MBIDJDLLBNM) Reset() { + *x = Unk2700_MBIDJDLLBNM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MBIDJDLLBNM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MBIDJDLLBNM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MBIDJDLLBNM) ProtoMessage() {} + +func (x *Unk2700_MBIDJDLLBNM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MBIDJDLLBNM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MBIDJDLLBNM.ProtoReflect.Descriptor instead. +func (*Unk2700_MBIDJDLLBNM) Descriptor() ([]byte, []int) { + return file_Unk2700_MBIDJDLLBNM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MBIDJDLLBNM) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2700_MBIDJDLLBNM) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Unk2700_MBIDJDLLBNM) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *Unk2700_MBIDJDLLBNM) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +var File_Unk2700_MBIDJDLLBNM_proto protoreflect.FileDescriptor + +var file_Unk2700_MBIDJDLLBNM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x49, 0x44, 0x4a, 0x44, + 0x4c, 0x4c, 0x42, 0x4e, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x49, 0x44, 0x4a, 0x44, 0x4c, 0x4c, 0x42, 0x4e, 0x4d, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, + 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MBIDJDLLBNM_proto_rawDescOnce sync.Once + file_Unk2700_MBIDJDLLBNM_proto_rawDescData = file_Unk2700_MBIDJDLLBNM_proto_rawDesc +) + +func file_Unk2700_MBIDJDLLBNM_proto_rawDescGZIP() []byte { + file_Unk2700_MBIDJDLLBNM_proto_rawDescOnce.Do(func() { + file_Unk2700_MBIDJDLLBNM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MBIDJDLLBNM_proto_rawDescData) + }) + return file_Unk2700_MBIDJDLLBNM_proto_rawDescData +} + +var file_Unk2700_MBIDJDLLBNM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MBIDJDLLBNM_proto_goTypes = []interface{}{ + (*Unk2700_MBIDJDLLBNM)(nil), // 0: Unk2700_MBIDJDLLBNM + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_MBIDJDLLBNM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MBIDJDLLBNM.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MBIDJDLLBNM_proto_init() } +func file_Unk2700_MBIDJDLLBNM_proto_init() { + if File_Unk2700_MBIDJDLLBNM_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MBIDJDLLBNM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MBIDJDLLBNM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MBIDJDLLBNM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MBIDJDLLBNM_proto_goTypes, + DependencyIndexes: file_Unk2700_MBIDJDLLBNM_proto_depIdxs, + MessageInfos: file_Unk2700_MBIDJDLLBNM_proto_msgTypes, + }.Build() + File_Unk2700_MBIDJDLLBNM_proto = out.File + file_Unk2700_MBIDJDLLBNM_proto_rawDesc = nil + file_Unk2700_MBIDJDLLBNM_proto_goTypes = nil + file_Unk2700_MBIDJDLLBNM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.proto b/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.proto new file mode 100644 index 00000000..8bb8ef65 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MBIDJDLLBNM.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_MBIDJDLLBNM { + uint32 open_time = 5; + uint32 id = 1; + Vector pos = 14; + uint32 max_score = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.pb.go new file mode 100644 index 00000000..db001df9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MCJIOOELGHG_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6033 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MCJIOOELGHG_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KBMKGNGFGFO []*Unk2700_JDPMOMKAPIF `protobuf:"bytes,6,rep,name=Unk2700_KBMKGNGFGFO,json=Unk2700KBMKGNGFGFO,proto3" json:"Unk2700_KBMKGNGFGFO,omitempty"` +} + +func (x *Unk2700_MCJIOOELGHG_ServerNotify) Reset() { + *x = Unk2700_MCJIOOELGHG_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MCJIOOELGHG_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MCJIOOELGHG_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MCJIOOELGHG_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MCJIOOELGHG_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MCJIOOELGHG_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MCJIOOELGHG_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MCJIOOELGHG_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MCJIOOELGHG_ServerNotify) GetUnk2700_KBMKGNGFGFO() []*Unk2700_JDPMOMKAPIF { + if x != nil { + return x.Unk2700_KBMKGNGFGFO + } + return nil +} + +var File_Unk2700_MCJIOOELGHG_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x4a, 0x49, 0x4f, 0x4f, + 0x45, 0x4c, 0x47, 0x48, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x44, 0x50, 0x4d, 0x4f, 0x4d, 0x4b, 0x41, 0x50, 0x49, 0x46, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x43, 0x4a, 0x49, 0x4f, 0x4f, 0x45, 0x4c, 0x47, 0x48, 0x47, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x4d, 0x4b, 0x47, 0x4e, 0x47, 0x46, 0x47, 0x46, 0x4f, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, + 0x44, 0x50, 0x4d, 0x4f, 0x4d, 0x4b, 0x41, 0x50, 0x49, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4b, 0x42, 0x4d, 0x4b, 0x47, 0x4e, 0x47, 0x46, 0x47, 0x46, 0x4f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescData = file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MCJIOOELGHG_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MCJIOOELGHG_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MCJIOOELGHG_ServerNotify)(nil), // 0: Unk2700_MCJIOOELGHG_ServerNotify + (*Unk2700_JDPMOMKAPIF)(nil), // 1: Unk2700_JDPMOMKAPIF +} +var file_Unk2700_MCJIOOELGHG_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MCJIOOELGHG_ServerNotify.Unk2700_KBMKGNGFGFO:type_name -> Unk2700_JDPMOMKAPIF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MCJIOOELGHG_ServerNotify_proto_init() } +func file_Unk2700_MCJIOOELGHG_ServerNotify_proto_init() { + if File_Unk2700_MCJIOOELGHG_ServerNotify_proto != nil { + return + } + file_Unk2700_JDPMOMKAPIF_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MCJIOOELGHG_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MCJIOOELGHG_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MCJIOOELGHG_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MCJIOOELGHG_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MCJIOOELGHG_ServerNotify_proto = out.File + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_rawDesc = nil + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_goTypes = nil + file_Unk2700_MCJIOOELGHG_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.proto new file mode 100644 index 00000000..a2c59755 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MCJIOOELGHG_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JDPMOMKAPIF.proto"; + +option go_package = "./;proto"; + +// CmdId: 6033 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MCJIOOELGHG_ServerNotify { + repeated Unk2700_JDPMOMKAPIF Unk2700_KBMKGNGFGFO = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.pb.go new file mode 100644 index 00000000..0f285175 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MCOFAKMDMEF_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6345 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MCOFAKMDMEF_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AOOAAECDCOA []uint64 `protobuf:"varint,15,rep,packed,name=Unk2700_AOOAAECDCOA,json=Unk2700AOOAAECDCOA,proto3" json:"Unk2700_AOOAAECDCOA,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_KHBDAPGDOJA Unk2700_OPEBMJPOOBL `protobuf:"varint,12,opt,name=Unk2700_KHBDAPGDOJA,json=Unk2700KHBDAPGDOJA,proto3,enum=Unk2700_OPEBMJPOOBL" json:"Unk2700_KHBDAPGDOJA,omitempty"` +} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) Reset() { + *x = Unk2700_MCOFAKMDMEF_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MCOFAKMDMEF_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MCOFAKMDMEF_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_MCOFAKMDMEF_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) GetUnk2700_AOOAAECDCOA() []uint64 { + if x != nil { + return x.Unk2700_AOOAAECDCOA + } + return nil +} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_MCOFAKMDMEF_ServerRsp) GetUnk2700_KHBDAPGDOJA() Unk2700_OPEBMJPOOBL { + if x != nil { + return x.Unk2700_KHBDAPGDOJA + } + return Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE +} + +var File_Unk2700_MCOFAKMDMEF_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x4f, 0x46, 0x41, 0x4b, + 0x4d, 0x44, 0x4d, 0x45, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb1, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x4f, + 0x46, 0x41, 0x4b, 0x4d, 0x44, 0x4d, 0x45, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, + 0x4f, 0x41, 0x41, 0x45, 0x43, 0x44, 0x43, 0x4f, 0x41, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4f, 0x4f, 0x41, 0x41, 0x45, 0x43, 0x44, + 0x43, 0x4f, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x48, 0x42, 0x44, 0x41, 0x50, 0x47, + 0x44, 0x4f, 0x4a, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescData = file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDesc +) + +func file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDescData +} + +var file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_MCOFAKMDMEF_ServerRsp)(nil), // 0: Unk2700_MCOFAKMDMEF_ServerRsp + (Unk2700_OPEBMJPOOBL)(0), // 1: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MCOFAKMDMEF_ServerRsp.Unk2700_KHBDAPGDOJA:type_name -> Unk2700_OPEBMJPOOBL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_init() } +func file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_init() { + if File_Unk2700_MCOFAKMDMEF_ServerRsp_proto != nil { + return + } + file_Unk2700_OPEBMJPOOBL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MCOFAKMDMEF_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_MCOFAKMDMEF_ServerRsp_proto = out.File + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_rawDesc = nil + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_goTypes = nil + file_Unk2700_MCOFAKMDMEF_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.proto new file mode 100644 index 00000000..9dc597ab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MCOFAKMDMEF_ServerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OPEBMJPOOBL.proto"; + +option go_package = "./;proto"; + +// CmdId: 6345 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MCOFAKMDMEF_ServerRsp { + repeated uint64 Unk2700_AOOAAECDCOA = 15; + int32 retcode = 10; + Unk2700_OPEBMJPOOBL Unk2700_KHBDAPGDOJA = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.pb.go b/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.pb.go new file mode 100644 index 00000000..18abe8ec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MDGKMNEBIBA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8038 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MDGKMNEBIBA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_GIMLODDEDJH *Unk2700_HJLFNKLPFBH `protobuf:"bytes,2,opt,name=Unk2700_GIMLODDEDJH,json=Unk2700GIMLODDEDJH,proto3" json:"Unk2700_GIMLODDEDJH,omitempty"` +} + +func (x *Unk2700_MDGKMNEBIBA) Reset() { + *x = Unk2700_MDGKMNEBIBA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MDGKMNEBIBA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MDGKMNEBIBA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MDGKMNEBIBA) ProtoMessage() {} + +func (x *Unk2700_MDGKMNEBIBA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MDGKMNEBIBA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MDGKMNEBIBA.ProtoReflect.Descriptor instead. +func (*Unk2700_MDGKMNEBIBA) Descriptor() ([]byte, []int) { + return file_Unk2700_MDGKMNEBIBA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MDGKMNEBIBA) GetUnk2700_GIMLODDEDJH() *Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_GIMLODDEDJH + } + return nil +} + +var File_Unk2700_MDGKMNEBIBA_proto protoreflect.FileDescriptor + +var file_Unk2700_MDGKMNEBIBA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x44, 0x47, 0x4b, 0x4d, 0x4e, + 0x45, 0x42, 0x49, 0x42, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x44, 0x47, 0x4b, 0x4d, 0x4e, 0x45, 0x42, 0x49, 0x42, 0x41, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x49, 0x4d, 0x4c, 0x4f, 0x44, 0x44, + 0x45, 0x44, 0x4a, 0x48, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x49, 0x4d, 0x4c, 0x4f, 0x44, 0x44, + 0x45, 0x44, 0x4a, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MDGKMNEBIBA_proto_rawDescOnce sync.Once + file_Unk2700_MDGKMNEBIBA_proto_rawDescData = file_Unk2700_MDGKMNEBIBA_proto_rawDesc +) + +func file_Unk2700_MDGKMNEBIBA_proto_rawDescGZIP() []byte { + file_Unk2700_MDGKMNEBIBA_proto_rawDescOnce.Do(func() { + file_Unk2700_MDGKMNEBIBA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MDGKMNEBIBA_proto_rawDescData) + }) + return file_Unk2700_MDGKMNEBIBA_proto_rawDescData +} + +var file_Unk2700_MDGKMNEBIBA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MDGKMNEBIBA_proto_goTypes = []interface{}{ + (*Unk2700_MDGKMNEBIBA)(nil), // 0: Unk2700_MDGKMNEBIBA + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_MDGKMNEBIBA_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MDGKMNEBIBA.Unk2700_GIMLODDEDJH:type_name -> Unk2700_HJLFNKLPFBH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MDGKMNEBIBA_proto_init() } +func file_Unk2700_MDGKMNEBIBA_proto_init() { + if File_Unk2700_MDGKMNEBIBA_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MDGKMNEBIBA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MDGKMNEBIBA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MDGKMNEBIBA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MDGKMNEBIBA_proto_goTypes, + DependencyIndexes: file_Unk2700_MDGKMNEBIBA_proto_depIdxs, + MessageInfos: file_Unk2700_MDGKMNEBIBA_proto_msgTypes, + }.Build() + File_Unk2700_MDGKMNEBIBA_proto = out.File + file_Unk2700_MDGKMNEBIBA_proto_rawDesc = nil + file_Unk2700_MDGKMNEBIBA_proto_goTypes = nil + file_Unk2700_MDGKMNEBIBA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.proto b/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.proto new file mode 100644 index 00000000..5aa06594 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MDGKMNEBIBA.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8038 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MDGKMNEBIBA { + Unk2700_HJLFNKLPFBH Unk2700_GIMLODDEDJH = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.pb.go new file mode 100644 index 00000000..cd3eb5c6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MDPHLPEGFCG_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4020 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MDPHLPEGFCG_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_MDPHLPEGFCG_ClientReq) Reset() { + *x = Unk2700_MDPHLPEGFCG_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MDPHLPEGFCG_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MDPHLPEGFCG_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MDPHLPEGFCG_ClientReq) ProtoMessage() {} + +func (x *Unk2700_MDPHLPEGFCG_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MDPHLPEGFCG_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MDPHLPEGFCG_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_MDPHLPEGFCG_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_MDPHLPEGFCG_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x44, 0x50, 0x48, 0x4c, 0x50, + 0x45, 0x47, 0x46, 0x43, 0x47, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4d, 0x44, 0x50, 0x48, 0x4c, 0x50, 0x45, 0x47, 0x46, 0x43, 0x47, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescData = file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDesc +) + +func file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescData) + }) + return file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDescData +} + +var file_Unk2700_MDPHLPEGFCG_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MDPHLPEGFCG_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_MDPHLPEGFCG_ClientReq)(nil), // 0: Unk2700_MDPHLPEGFCG_ClientReq +} +var file_Unk2700_MDPHLPEGFCG_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MDPHLPEGFCG_ClientReq_proto_init() } +func file_Unk2700_MDPHLPEGFCG_ClientReq_proto_init() { + if File_Unk2700_MDPHLPEGFCG_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MDPHLPEGFCG_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MDPHLPEGFCG_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_MDPHLPEGFCG_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_MDPHLPEGFCG_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_MDPHLPEGFCG_ClientReq_proto = out.File + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_rawDesc = nil + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_goTypes = nil + file_Unk2700_MDPHLPEGFCG_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.proto new file mode 100644 index 00000000..096588cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MDPHLPEGFCG_ClientReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4020 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MDPHLPEGFCG_ClientReq {} diff --git a/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.pb.go new file mode 100644 index 00000000..7ff4f946 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MEBFPBDNPGO_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4847 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MEBFPBDNPGO_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ELJPLMIHNIP []uint32 `protobuf:"varint,11,rep,packed,name=Unk2700_ELJPLMIHNIP,json=Unk2700ELJPLMIHNIP,proto3" json:"Unk2700_ELJPLMIHNIP,omitempty"` +} + +func (x *Unk2700_MEBFPBDNPGO_ServerNotify) Reset() { + *x = Unk2700_MEBFPBDNPGO_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MEBFPBDNPGO_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MEBFPBDNPGO_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MEBFPBDNPGO_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MEBFPBDNPGO_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MEBFPBDNPGO_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MEBFPBDNPGO_ServerNotify) GetUnk2700_ELJPLMIHNIP() []uint32 { + if x != nil { + return x.Unk2700_ELJPLMIHNIP + } + return nil +} + +var File_Unk2700_MEBFPBDNPGO_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x42, 0x46, 0x50, 0x42, + 0x44, 0x4e, 0x50, 0x47, 0x4f, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x42, 0x46, 0x50, 0x42, 0x44, 0x4e, 0x50, 0x47, 0x4f, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4a, 0x50, 0x4c, 0x4d, 0x49, 0x48, + 0x4e, 0x49, 0x50, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x45, 0x4c, 0x4a, 0x50, 0x4c, 0x4d, 0x49, 0x48, 0x4e, 0x49, 0x50, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescData = file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MEBFPBDNPGO_ServerNotify)(nil), // 0: Unk2700_MEBFPBDNPGO_ServerNotify +} +var file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_init() } +func file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_init() { + if File_Unk2700_MEBFPBDNPGO_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MEBFPBDNPGO_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MEBFPBDNPGO_ServerNotify_proto = out.File + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_rawDesc = nil + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_goTypes = nil + file_Unk2700_MEBFPBDNPGO_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.proto new file mode 100644 index 00000000..6f83bd75 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MEBFPBDNPGO_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4847 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MEBFPBDNPGO_ServerNotify { + repeated uint32 Unk2700_ELJPLMIHNIP = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.pb.go new file mode 100644 index 00000000..1d058f6e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MEFJECGAFNH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5338 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MEFJECGAFNH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LeftMonsters uint32 `protobuf:"varint,8,opt,name=left_monsters,json=leftMonsters,proto3" json:"left_monsters,omitempty"` +} + +func (x *Unk2700_MEFJECGAFNH_ServerNotify) Reset() { + *x = Unk2700_MEFJECGAFNH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MEFJECGAFNH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MEFJECGAFNH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MEFJECGAFNH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MEFJECGAFNH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MEFJECGAFNH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MEFJECGAFNH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MEFJECGAFNH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MEFJECGAFNH_ServerNotify) GetLeftMonsters() uint32 { + if x != nil { + return x.LeftMonsters + } + return 0 +} + +var File_Unk2700_MEFJECGAFNH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x46, 0x4a, 0x45, 0x43, + 0x47, 0x41, 0x46, 0x4e, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x46, 0x4a, 0x45, 0x43, 0x47, 0x41, 0x46, 0x4e, 0x48, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x23, 0x0a, 0x0d, + 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, + 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescData = file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MEFJECGAFNH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MEFJECGAFNH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MEFJECGAFNH_ServerNotify)(nil), // 0: Unk2700_MEFJECGAFNH_ServerNotify +} +var file_Unk2700_MEFJECGAFNH_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MEFJECGAFNH_ServerNotify_proto_init() } +func file_Unk2700_MEFJECGAFNH_ServerNotify_proto_init() { + if File_Unk2700_MEFJECGAFNH_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MEFJECGAFNH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MEFJECGAFNH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MEFJECGAFNH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MEFJECGAFNH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MEFJECGAFNH_ServerNotify_proto = out.File + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_rawDesc = nil + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_goTypes = nil + file_Unk2700_MEFJECGAFNH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.proto new file mode 100644 index 00000000..17a3691d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MEFJECGAFNH_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5338 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MEFJECGAFNH_ServerNotify { + uint32 left_monsters = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.pb.go b/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.pb.go new file mode 100644 index 00000000..d85620ff --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MENCEGPEFAK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8791 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MENCEGPEFAK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_MENCEGPEFAK) Reset() { + *x = Unk2700_MENCEGPEFAK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MENCEGPEFAK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MENCEGPEFAK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MENCEGPEFAK) ProtoMessage() {} + +func (x *Unk2700_MENCEGPEFAK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MENCEGPEFAK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MENCEGPEFAK.ProtoReflect.Descriptor instead. +func (*Unk2700_MENCEGPEFAK) Descriptor() ([]byte, []int) { + return file_Unk2700_MENCEGPEFAK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MENCEGPEFAK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_MENCEGPEFAK_proto protoreflect.FileDescriptor + +var file_Unk2700_MENCEGPEFAK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x4e, 0x43, 0x45, 0x47, + 0x50, 0x45, 0x46, 0x41, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x4e, 0x43, 0x45, 0x47, 0x50, 0x45, 0x46, + 0x41, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MENCEGPEFAK_proto_rawDescOnce sync.Once + file_Unk2700_MENCEGPEFAK_proto_rawDescData = file_Unk2700_MENCEGPEFAK_proto_rawDesc +) + +func file_Unk2700_MENCEGPEFAK_proto_rawDescGZIP() []byte { + file_Unk2700_MENCEGPEFAK_proto_rawDescOnce.Do(func() { + file_Unk2700_MENCEGPEFAK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MENCEGPEFAK_proto_rawDescData) + }) + return file_Unk2700_MENCEGPEFAK_proto_rawDescData +} + +var file_Unk2700_MENCEGPEFAK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MENCEGPEFAK_proto_goTypes = []interface{}{ + (*Unk2700_MENCEGPEFAK)(nil), // 0: Unk2700_MENCEGPEFAK +} +var file_Unk2700_MENCEGPEFAK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MENCEGPEFAK_proto_init() } +func file_Unk2700_MENCEGPEFAK_proto_init() { + if File_Unk2700_MENCEGPEFAK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MENCEGPEFAK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MENCEGPEFAK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MENCEGPEFAK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MENCEGPEFAK_proto_goTypes, + DependencyIndexes: file_Unk2700_MENCEGPEFAK_proto_depIdxs, + MessageInfos: file_Unk2700_MENCEGPEFAK_proto_msgTypes, + }.Build() + File_Unk2700_MENCEGPEFAK_proto = out.File + file_Unk2700_MENCEGPEFAK_proto_rawDesc = nil + file_Unk2700_MENCEGPEFAK_proto_goTypes = nil + file_Unk2700_MENCEGPEFAK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.proto b/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.proto new file mode 100644 index 00000000..5a2a6246 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MENCEGPEFAK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8791 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MENCEGPEFAK { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.pb.go b/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.pb.go new file mode 100644 index 00000000..bffc3e71 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MFAIPHGDPBL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8345 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MFAIPHGDPBL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LKBHLHIHJGL uint32 `protobuf:"varint,1,opt,name=Unk2700_LKBHLHIHJGL,json=Unk2700LKBHLHIHJGL,proto3" json:"Unk2700_LKBHLHIHJGL,omitempty"` +} + +func (x *Unk2700_MFAIPHGDPBL) Reset() { + *x = Unk2700_MFAIPHGDPBL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MFAIPHGDPBL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MFAIPHGDPBL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MFAIPHGDPBL) ProtoMessage() {} + +func (x *Unk2700_MFAIPHGDPBL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MFAIPHGDPBL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MFAIPHGDPBL.ProtoReflect.Descriptor instead. +func (*Unk2700_MFAIPHGDPBL) Descriptor() ([]byte, []int) { + return file_Unk2700_MFAIPHGDPBL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MFAIPHGDPBL) GetUnk2700_LKBHLHIHJGL() uint32 { + if x != nil { + return x.Unk2700_LKBHLHIHJGL + } + return 0 +} + +var File_Unk2700_MFAIPHGDPBL_proto protoreflect.FileDescriptor + +var file_Unk2700_MFAIPHGDPBL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x41, 0x49, 0x50, 0x48, + 0x47, 0x44, 0x50, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x41, 0x49, 0x50, 0x48, 0x47, 0x44, 0x50, + 0x42, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x4b, + 0x42, 0x48, 0x4c, 0x48, 0x49, 0x48, 0x4a, 0x47, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x4b, 0x42, 0x48, 0x4c, 0x48, 0x49, 0x48, + 0x4a, 0x47, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MFAIPHGDPBL_proto_rawDescOnce sync.Once + file_Unk2700_MFAIPHGDPBL_proto_rawDescData = file_Unk2700_MFAIPHGDPBL_proto_rawDesc +) + +func file_Unk2700_MFAIPHGDPBL_proto_rawDescGZIP() []byte { + file_Unk2700_MFAIPHGDPBL_proto_rawDescOnce.Do(func() { + file_Unk2700_MFAIPHGDPBL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MFAIPHGDPBL_proto_rawDescData) + }) + return file_Unk2700_MFAIPHGDPBL_proto_rawDescData +} + +var file_Unk2700_MFAIPHGDPBL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MFAIPHGDPBL_proto_goTypes = []interface{}{ + (*Unk2700_MFAIPHGDPBL)(nil), // 0: Unk2700_MFAIPHGDPBL +} +var file_Unk2700_MFAIPHGDPBL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MFAIPHGDPBL_proto_init() } +func file_Unk2700_MFAIPHGDPBL_proto_init() { + if File_Unk2700_MFAIPHGDPBL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MFAIPHGDPBL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MFAIPHGDPBL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MFAIPHGDPBL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MFAIPHGDPBL_proto_goTypes, + DependencyIndexes: file_Unk2700_MFAIPHGDPBL_proto_depIdxs, + MessageInfos: file_Unk2700_MFAIPHGDPBL_proto_msgTypes, + }.Build() + File_Unk2700_MFAIPHGDPBL_proto = out.File + file_Unk2700_MFAIPHGDPBL_proto_rawDesc = nil + file_Unk2700_MFAIPHGDPBL_proto_goTypes = nil + file_Unk2700_MFAIPHGDPBL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.proto b/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.proto new file mode 100644 index 00000000..9685e87d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MFAIPHGDPBL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8345 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MFAIPHGDPBL { + uint32 Unk2700_LKBHLHIHJGL = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.pb.go new file mode 100644 index 00000000..3c1ab42b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MFINCDMFGLD_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 152 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MFINCDMFGLD_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,8,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Unk2700_JEKIGDDNCAB uint32 `protobuf:"varint,12,opt,name=Unk2700_JEKIGDDNCAB,json=Unk2700JEKIGDDNCAB,proto3" json:"Unk2700_JEKIGDDNCAB,omitempty"` +} + +func (x *Unk2700_MFINCDMFGLD_ServerNotify) Reset() { + *x = Unk2700_MFINCDMFGLD_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MFINCDMFGLD_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MFINCDMFGLD_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MFINCDMFGLD_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MFINCDMFGLD_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MFINCDMFGLD_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MFINCDMFGLD_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MFINCDMFGLD_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MFINCDMFGLD_ServerNotify) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2700_MFINCDMFGLD_ServerNotify) GetUnk2700_JEKIGDDNCAB() uint32 { + if x != nil { + return x.Unk2700_JEKIGDDNCAB + } + return 0 +} + +var File_Unk2700_MFINCDMFGLD_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x49, 0x4e, 0x43, 0x44, + 0x4d, 0x46, 0x47, 0x4c, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x49, 0x4e, 0x43, 0x44, 0x4d, 0x46, 0x47, 0x4c, 0x44, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, + 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4a, 0x45, 0x4b, 0x49, 0x47, 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x45, 0x4b, 0x49, 0x47, + 0x44, 0x44, 0x4e, 0x43, 0x41, 0x42, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescData = file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MFINCDMFGLD_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MFINCDMFGLD_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MFINCDMFGLD_ServerNotify)(nil), // 0: Unk2700_MFINCDMFGLD_ServerNotify +} +var file_Unk2700_MFINCDMFGLD_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MFINCDMFGLD_ServerNotify_proto_init() } +func file_Unk2700_MFINCDMFGLD_ServerNotify_proto_init() { + if File_Unk2700_MFINCDMFGLD_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MFINCDMFGLD_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MFINCDMFGLD_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MFINCDMFGLD_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MFINCDMFGLD_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MFINCDMFGLD_ServerNotify_proto = out.File + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_rawDesc = nil + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_goTypes = nil + file_Unk2700_MFINCDMFGLD_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.proto new file mode 100644 index 00000000..7314956b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MFINCDMFGLD_ServerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 152 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MFINCDMFGLD_ServerNotify { + bool is_open = 8; + uint32 Unk2700_JEKIGDDNCAB = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.pb.go new file mode 100644 index 00000000..27543902 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MHMBDFKOOLJ_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6234 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MHMBDFKOOLJ_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_MHMBDFKOOLJ_ClientNotify) Reset() { + *x = Unk2700_MHMBDFKOOLJ_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MHMBDFKOOLJ_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MHMBDFKOOLJ_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_MHMBDFKOOLJ_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MHMBDFKOOLJ_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MHMBDFKOOLJ_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MHMBDFKOOLJ_ClientNotify) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_MHMBDFKOOLJ_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x4d, 0x42, 0x44, 0x46, + 0x4b, 0x4f, 0x4f, 0x4c, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x4d, 0x42, 0x44, 0x46, 0x4b, 0x4f, 0x4f, 0x4c, 0x4a, 0x5f, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescData = file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDesc +) + +func file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDescData +} + +var file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_MHMBDFKOOLJ_ClientNotify)(nil), // 0: Unk2700_MHMBDFKOOLJ_ClientNotify +} +var file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_init() } +func file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_init() { + if File_Unk2700_MHMBDFKOOLJ_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MHMBDFKOOLJ_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_MHMBDFKOOLJ_ClientNotify_proto = out.File + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_rawDesc = nil + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_goTypes = nil + file_Unk2700_MHMBDFKOOLJ_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.proto new file mode 100644 index 00000000..78e13fd5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MHMBDFKOOLJ_ClientNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6234 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MHMBDFKOOLJ_ClientNotify { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.pb.go b/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.pb.go new file mode 100644 index 00000000..f0495837 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MHPCNKJGEJN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MHPCNKJGEJN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CNGDFAGEACD uint32 `protobuf:"varint,3,opt,name=Unk3000_CNGDFAGEACD,json=Unk3000CNGDFAGEACD,proto3" json:"Unk3000_CNGDFAGEACD,omitempty"` +} + +func (x *Unk2700_MHPCNKJGEJN) Reset() { + *x = Unk2700_MHPCNKJGEJN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MHPCNKJGEJN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MHPCNKJGEJN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MHPCNKJGEJN) ProtoMessage() {} + +func (x *Unk2700_MHPCNKJGEJN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MHPCNKJGEJN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MHPCNKJGEJN.ProtoReflect.Descriptor instead. +func (*Unk2700_MHPCNKJGEJN) Descriptor() ([]byte, []int) { + return file_Unk2700_MHPCNKJGEJN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MHPCNKJGEJN) GetUnk3000_CNGDFAGEACD() uint32 { + if x != nil { + return x.Unk3000_CNGDFAGEACD + } + return 0 +} + +var File_Unk2700_MHPCNKJGEJN_proto protoreflect.FileDescriptor + +var file_Unk2700_MHPCNKJGEJN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x50, 0x43, 0x4e, 0x4b, + 0x4a, 0x47, 0x45, 0x4a, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x50, 0x43, 0x4e, 0x4b, 0x4a, 0x47, 0x45, + 0x4a, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4e, + 0x47, 0x44, 0x46, 0x41, 0x47, 0x45, 0x41, 0x43, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x4e, 0x47, 0x44, 0x46, 0x41, 0x47, 0x45, + 0x41, 0x43, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MHPCNKJGEJN_proto_rawDescOnce sync.Once + file_Unk2700_MHPCNKJGEJN_proto_rawDescData = file_Unk2700_MHPCNKJGEJN_proto_rawDesc +) + +func file_Unk2700_MHPCNKJGEJN_proto_rawDescGZIP() []byte { + file_Unk2700_MHPCNKJGEJN_proto_rawDescOnce.Do(func() { + file_Unk2700_MHPCNKJGEJN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MHPCNKJGEJN_proto_rawDescData) + }) + return file_Unk2700_MHPCNKJGEJN_proto_rawDescData +} + +var file_Unk2700_MHPCNKJGEJN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MHPCNKJGEJN_proto_goTypes = []interface{}{ + (*Unk2700_MHPCNKJGEJN)(nil), // 0: Unk2700_MHPCNKJGEJN +} +var file_Unk2700_MHPCNKJGEJN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MHPCNKJGEJN_proto_init() } +func file_Unk2700_MHPCNKJGEJN_proto_init() { + if File_Unk2700_MHPCNKJGEJN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MHPCNKJGEJN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MHPCNKJGEJN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MHPCNKJGEJN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MHPCNKJGEJN_proto_goTypes, + DependencyIndexes: file_Unk2700_MHPCNKJGEJN_proto_depIdxs, + MessageInfos: file_Unk2700_MHPCNKJGEJN_proto_msgTypes, + }.Build() + File_Unk2700_MHPCNKJGEJN_proto = out.File + file_Unk2700_MHPCNKJGEJN_proto_rawDesc = nil + file_Unk2700_MHPCNKJGEJN_proto_goTypes = nil + file_Unk2700_MHPCNKJGEJN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.proto b/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.proto new file mode 100644 index 00000000..fadf7638 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MHPCNKJGEJN.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_MHPCNKJGEJN { + uint32 Unk3000_CNGDFAGEACD = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.pb.go b/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.pb.go new file mode 100644 index 00000000..faabef7f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.pb.go @@ -0,0 +1,280 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MIBBHAEMAGI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MIBBHAEMAGI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JGFDODPBGFL *Unk2700_PHGGAEDHLBN `protobuf:"bytes,2,opt,name=Unk2700_JGFDODPBGFL,json=Unk2700JGFDODPBGFL,proto3" json:"Unk2700_JGFDODPBGFL,omitempty"` + Unk2700_GBCGGDONMCD bool `protobuf:"varint,13,opt,name=Unk2700_GBCGGDONMCD,json=Unk2700GBCGGDONMCD,proto3" json:"Unk2700_GBCGGDONMCD,omitempty"` + Unk2700_IKGOMKLAJLH *Unk2700_OHBMICGFIIK `protobuf:"bytes,7,opt,name=Unk2700_IKGOMKLAJLH,json=Unk2700IKGOMKLAJLH,proto3" json:"Unk2700_IKGOMKLAJLH,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,10,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + Unk2700_BPMLPHIMJAF uint32 `protobuf:"varint,14,opt,name=Unk2700_BPMLPHIMJAF,json=Unk2700BPMLPHIMJAF,proto3" json:"Unk2700_BPMLPHIMJAF,omitempty"` + TagList []uint32 `protobuf:"varint,15,rep,packed,name=tag_list,json=tagList,proto3" json:"tag_list,omitempty"` + DungeonId uint32 `protobuf:"varint,5,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_DPPILIMGOKH uint32 `protobuf:"varint,12,opt,name=Unk2700_DPPILIMGOKH,json=Unk2700DPPILIMGOKH,proto3" json:"Unk2700_DPPILIMGOKH,omitempty"` + State Unk2700_BMBAIACNLDF `protobuf:"varint,1,opt,name=state,proto3,enum=Unk2700_BMBAIACNLDF" json:"state,omitempty"` + Unk2700_PCFIKJEDEGN *Unk2700_ELMEOJFCOFH `protobuf:"bytes,4,opt,name=Unk2700_PCFIKJEDEGN,json=Unk2700PCFIKJEDEGN,proto3" json:"Unk2700_PCFIKJEDEGN,omitempty"` +} + +func (x *Unk2700_MIBBHAEMAGI) Reset() { + *x = Unk2700_MIBBHAEMAGI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MIBBHAEMAGI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MIBBHAEMAGI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MIBBHAEMAGI) ProtoMessage() {} + +func (x *Unk2700_MIBBHAEMAGI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MIBBHAEMAGI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MIBBHAEMAGI.ProtoReflect.Descriptor instead. +func (*Unk2700_MIBBHAEMAGI) Descriptor() ([]byte, []int) { + return file_Unk2700_MIBBHAEMAGI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_JGFDODPBGFL() *Unk2700_PHGGAEDHLBN { + if x != nil { + return x.Unk2700_JGFDODPBGFL + } + return nil +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_GBCGGDONMCD() bool { + if x != nil { + return x.Unk2700_GBCGGDONMCD + } + return false +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_IKGOMKLAJLH() *Unk2700_OHBMICGFIIK { + if x != nil { + return x.Unk2700_IKGOMKLAJLH + } + return nil +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_BPMLPHIMJAF() uint32 { + if x != nil { + return x.Unk2700_BPMLPHIMJAF + } + return 0 +} + +func (x *Unk2700_MIBBHAEMAGI) GetTagList() []uint32 { + if x != nil { + return x.TagList + } + return nil +} + +func (x *Unk2700_MIBBHAEMAGI) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_DPPILIMGOKH() uint32 { + if x != nil { + return x.Unk2700_DPPILIMGOKH + } + return 0 +} + +func (x *Unk2700_MIBBHAEMAGI) GetState() Unk2700_BMBAIACNLDF { + if x != nil { + return x.State + } + return Unk2700_BMBAIACNLDF_Unk2700_BMBAIACNLDF_Unk2700_KOGCCKHAIBJ +} + +func (x *Unk2700_MIBBHAEMAGI) GetUnk2700_PCFIKJEDEGN() *Unk2700_ELMEOJFCOFH { + if x != nil { + return x.Unk2700_PCFIKJEDEGN + } + return nil +} + +var File_Unk2700_MIBBHAEMAGI_proto protoreflect.FileDescriptor + +var file_Unk2700_MIBBHAEMAGI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x42, 0x48, 0x41, + 0x45, 0x4d, 0x41, 0x47, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, 0x49, 0x41, 0x43, 0x4e, 0x4c, 0x44, 0x46, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x45, 0x4c, 0x4d, 0x45, 0x4f, 0x4a, 0x46, 0x43, 0x4f, 0x46, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x42, 0x4d, 0x49, + 0x43, 0x47, 0x46, 0x49, 0x49, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, 0x42, + 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x04, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x42, 0x48, 0x41, 0x45, 0x4d, 0x41, 0x47, 0x49, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x47, 0x46, 0x44, 0x4f, + 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, + 0x42, 0x4e, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x47, 0x46, 0x44, 0x4f, + 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x47, 0x42, 0x43, 0x47, 0x47, 0x44, 0x4f, 0x4e, 0x4d, 0x43, 0x44, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x42, 0x43, 0x47, + 0x47, 0x44, 0x4f, 0x4e, 0x4d, 0x43, 0x44, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x48, 0x42, 0x4d, 0x49, 0x43, 0x47, 0x46, 0x49, 0x49, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, + 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4d, 0x4c, 0x50, + 0x48, 0x49, 0x4d, 0x4a, 0x41, 0x46, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, 0x4d, 0x4c, 0x50, 0x48, 0x49, 0x4d, 0x4a, 0x41, 0x46, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x50, 0x49, 0x4c, 0x49, 0x4d, 0x47, 0x4f, 0x4b, + 0x48, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x44, 0x50, 0x50, 0x49, 0x4c, 0x49, 0x4d, 0x47, 0x4f, 0x4b, 0x48, 0x12, 0x2a, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x42, 0x41, 0x49, 0x41, 0x43, 0x4e, 0x4c, 0x44, 0x46, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x4c, 0x4d, 0x45, 0x4f, 0x4a, 0x46, 0x43, 0x4f, 0x46, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_MIBBHAEMAGI_proto_rawDescOnce sync.Once + file_Unk2700_MIBBHAEMAGI_proto_rawDescData = file_Unk2700_MIBBHAEMAGI_proto_rawDesc +) + +func file_Unk2700_MIBBHAEMAGI_proto_rawDescGZIP() []byte { + file_Unk2700_MIBBHAEMAGI_proto_rawDescOnce.Do(func() { + file_Unk2700_MIBBHAEMAGI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MIBBHAEMAGI_proto_rawDescData) + }) + return file_Unk2700_MIBBHAEMAGI_proto_rawDescData +} + +var file_Unk2700_MIBBHAEMAGI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MIBBHAEMAGI_proto_goTypes = []interface{}{ + (*Unk2700_MIBBHAEMAGI)(nil), // 0: Unk2700_MIBBHAEMAGI + (*Unk2700_PHGGAEDHLBN)(nil), // 1: Unk2700_PHGGAEDHLBN + (*Unk2700_OHBMICGFIIK)(nil), // 2: Unk2700_OHBMICGFIIK + (Unk2700_BMBAIACNLDF)(0), // 3: Unk2700_BMBAIACNLDF + (*Unk2700_ELMEOJFCOFH)(nil), // 4: Unk2700_ELMEOJFCOFH +} +var file_Unk2700_MIBBHAEMAGI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MIBBHAEMAGI.Unk2700_JGFDODPBGFL:type_name -> Unk2700_PHGGAEDHLBN + 2, // 1: Unk2700_MIBBHAEMAGI.Unk2700_IKGOMKLAJLH:type_name -> Unk2700_OHBMICGFIIK + 3, // 2: Unk2700_MIBBHAEMAGI.state:type_name -> Unk2700_BMBAIACNLDF + 4, // 3: Unk2700_MIBBHAEMAGI.Unk2700_PCFIKJEDEGN:type_name -> Unk2700_ELMEOJFCOFH + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk2700_MIBBHAEMAGI_proto_init() } +func file_Unk2700_MIBBHAEMAGI_proto_init() { + if File_Unk2700_MIBBHAEMAGI_proto != nil { + return + } + file_Unk2700_BMBAIACNLDF_proto_init() + file_Unk2700_ELMEOJFCOFH_proto_init() + file_Unk2700_OHBMICGFIIK_proto_init() + file_Unk2700_PHGGAEDHLBN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MIBBHAEMAGI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MIBBHAEMAGI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MIBBHAEMAGI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MIBBHAEMAGI_proto_goTypes, + DependencyIndexes: file_Unk2700_MIBBHAEMAGI_proto_depIdxs, + MessageInfos: file_Unk2700_MIBBHAEMAGI_proto_msgTypes, + }.Build() + File_Unk2700_MIBBHAEMAGI_proto = out.File + file_Unk2700_MIBBHAEMAGI_proto_rawDesc = nil + file_Unk2700_MIBBHAEMAGI_proto_goTypes = nil + file_Unk2700_MIBBHAEMAGI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.proto b/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.proto new file mode 100644 index 00000000..d687d204 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIBBHAEMAGI.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_BMBAIACNLDF.proto"; +import "Unk2700_ELMEOJFCOFH.proto"; +import "Unk2700_OHBMICGFIIK.proto"; +import "Unk2700_PHGGAEDHLBN.proto"; + +option go_package = "./;proto"; + +message Unk2700_MIBBHAEMAGI { + Unk2700_PHGGAEDHLBN Unk2700_JGFDODPBGFL = 2; + bool Unk2700_GBCGGDONMCD = 13; + Unk2700_OHBMICGFIIK Unk2700_IKGOMKLAJLH = 7; + uint64 Unk2700_ONOOJBEABOE = 10; + uint32 Unk2700_BPMLPHIMJAF = 14; + repeated uint32 tag_list = 15; + uint32 dungeon_id = 5; + uint32 Unk2700_DPPILIMGOKH = 12; + Unk2700_BMBAIACNLDF state = 1; + Unk2700_ELMEOJFCOFH Unk2700_PCFIKJEDEGN = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.pb.go b/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.pb.go new file mode 100644 index 00000000..010f504e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MIBHNLEMICB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8462 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MIBHNLEMICB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemList []*ItemParam `protobuf:"bytes,7,rep,name=item_list,json=itemList,proto3" json:"item_list,omitempty"` + QuestId uint32 `protobuf:"varint,4,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` +} + +func (x *Unk2700_MIBHNLEMICB) Reset() { + *x = Unk2700_MIBHNLEMICB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MIBHNLEMICB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MIBHNLEMICB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MIBHNLEMICB) ProtoMessage() {} + +func (x *Unk2700_MIBHNLEMICB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MIBHNLEMICB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MIBHNLEMICB.ProtoReflect.Descriptor instead. +func (*Unk2700_MIBHNLEMICB) Descriptor() ([]byte, []int) { + return file_Unk2700_MIBHNLEMICB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MIBHNLEMICB) GetItemList() []*ItemParam { + if x != nil { + return x.ItemList + } + return nil +} + +func (x *Unk2700_MIBHNLEMICB) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +var File_Unk2700_MIBHNLEMICB_proto protoreflect.FileDescriptor + +var file_Unk2700_MIBHNLEMICB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x48, 0x4e, 0x4c, + 0x45, 0x4d, 0x49, 0x43, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x48, 0x4e, 0x4c, 0x45, 0x4d, + 0x49, 0x43, 0x42, 0x12, 0x27, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MIBHNLEMICB_proto_rawDescOnce sync.Once + file_Unk2700_MIBHNLEMICB_proto_rawDescData = file_Unk2700_MIBHNLEMICB_proto_rawDesc +) + +func file_Unk2700_MIBHNLEMICB_proto_rawDescGZIP() []byte { + file_Unk2700_MIBHNLEMICB_proto_rawDescOnce.Do(func() { + file_Unk2700_MIBHNLEMICB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MIBHNLEMICB_proto_rawDescData) + }) + return file_Unk2700_MIBHNLEMICB_proto_rawDescData +} + +var file_Unk2700_MIBHNLEMICB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MIBHNLEMICB_proto_goTypes = []interface{}{ + (*Unk2700_MIBHNLEMICB)(nil), // 0: Unk2700_MIBHNLEMICB + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_MIBHNLEMICB_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MIBHNLEMICB.item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MIBHNLEMICB_proto_init() } +func file_Unk2700_MIBHNLEMICB_proto_init() { + if File_Unk2700_MIBHNLEMICB_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MIBHNLEMICB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MIBHNLEMICB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MIBHNLEMICB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MIBHNLEMICB_proto_goTypes, + DependencyIndexes: file_Unk2700_MIBHNLEMICB_proto_depIdxs, + MessageInfos: file_Unk2700_MIBHNLEMICB_proto_msgTypes, + }.Build() + File_Unk2700_MIBHNLEMICB_proto = out.File + file_Unk2700_MIBHNLEMICB_proto_rawDesc = nil + file_Unk2700_MIBHNLEMICB_proto_goTypes = nil + file_Unk2700_MIBHNLEMICB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.proto b/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.proto new file mode 100644 index 00000000..330266ac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIBHNLEMICB.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 8462 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MIBHNLEMICB { + repeated ItemParam item_list = 7; + uint32 quest_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.pb.go b/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.pb.go new file mode 100644 index 00000000..8a8d586e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MIEJMGNBPJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8377 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MIEJMGNBPJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,1,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_MIEJMGNBPJE) Reset() { + *x = Unk2700_MIEJMGNBPJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MIEJMGNBPJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MIEJMGNBPJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MIEJMGNBPJE) ProtoMessage() {} + +func (x *Unk2700_MIEJMGNBPJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MIEJMGNBPJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MIEJMGNBPJE.ProtoReflect.Descriptor instead. +func (*Unk2700_MIEJMGNBPJE) Descriptor() ([]byte, []int) { + return file_Unk2700_MIEJMGNBPJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MIEJMGNBPJE) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_MIEJMGNBPJE_proto protoreflect.FileDescriptor + +var file_Unk2700_MIEJMGNBPJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x45, 0x4a, 0x4d, 0x47, + 0x4e, 0x42, 0x50, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x45, 0x4a, 0x4d, 0x47, 0x4e, 0x42, 0x50, + 0x4a, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_MIEJMGNBPJE_proto_rawDescOnce sync.Once + file_Unk2700_MIEJMGNBPJE_proto_rawDescData = file_Unk2700_MIEJMGNBPJE_proto_rawDesc +) + +func file_Unk2700_MIEJMGNBPJE_proto_rawDescGZIP() []byte { + file_Unk2700_MIEJMGNBPJE_proto_rawDescOnce.Do(func() { + file_Unk2700_MIEJMGNBPJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MIEJMGNBPJE_proto_rawDescData) + }) + return file_Unk2700_MIEJMGNBPJE_proto_rawDescData +} + +var file_Unk2700_MIEJMGNBPJE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MIEJMGNBPJE_proto_goTypes = []interface{}{ + (*Unk2700_MIEJMGNBPJE)(nil), // 0: Unk2700_MIEJMGNBPJE +} +var file_Unk2700_MIEJMGNBPJE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MIEJMGNBPJE_proto_init() } +func file_Unk2700_MIEJMGNBPJE_proto_init() { + if File_Unk2700_MIEJMGNBPJE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MIEJMGNBPJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MIEJMGNBPJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MIEJMGNBPJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MIEJMGNBPJE_proto_goTypes, + DependencyIndexes: file_Unk2700_MIEJMGNBPJE_proto_depIdxs, + MessageInfos: file_Unk2700_MIEJMGNBPJE_proto_msgTypes, + }.Build() + File_Unk2700_MIEJMGNBPJE_proto = out.File + file_Unk2700_MIEJMGNBPJE_proto_rawDesc = nil + file_Unk2700_MIEJMGNBPJE_proto_goTypes = nil + file_Unk2700_MIEJMGNBPJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.proto b/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.proto new file mode 100644 index 00000000..de057e24 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIEJMGNBPJE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8377 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MIEJMGNBPJE { + uint32 stage_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.pb.go b/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.pb.go new file mode 100644 index 00000000..38790449 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MIMJBGMEMCA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MIMJBGMEMCA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MMNILGLDHHD bool `protobuf:"varint,1,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + Unk2700_LINCFMHPMDP uint32 `protobuf:"varint,2,opt,name=Unk2700_LINCFMHPMDP,json=Unk2700LINCFMHPMDP,proto3" json:"Unk2700_LINCFMHPMDP,omitempty"` + Unk2700_FACFKJKIBBO uint32 `protobuf:"varint,8,opt,name=Unk2700_FACFKJKIBBO,json=Unk2700FACFKJKIBBO,proto3" json:"Unk2700_FACFKJKIBBO,omitempty"` + Unk2700_PEDCFBJLHGP bool `protobuf:"varint,7,opt,name=Unk2700_PEDCFBJLHGP,json=Unk2700PEDCFBJLHGP,proto3" json:"Unk2700_PEDCFBJLHGP,omitempty"` +} + +func (x *Unk2700_MIMJBGMEMCA) Reset() { + *x = Unk2700_MIMJBGMEMCA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MIMJBGMEMCA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MIMJBGMEMCA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MIMJBGMEMCA) ProtoMessage() {} + +func (x *Unk2700_MIMJBGMEMCA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MIMJBGMEMCA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MIMJBGMEMCA.ProtoReflect.Descriptor instead. +func (*Unk2700_MIMJBGMEMCA) Descriptor() ([]byte, []int) { + return file_Unk2700_MIMJBGMEMCA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MIMJBGMEMCA) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_MIMJBGMEMCA) GetUnk2700_LINCFMHPMDP() uint32 { + if x != nil { + return x.Unk2700_LINCFMHPMDP + } + return 0 +} + +func (x *Unk2700_MIMJBGMEMCA) GetUnk2700_FACFKJKIBBO() uint32 { + if x != nil { + return x.Unk2700_FACFKJKIBBO + } + return 0 +} + +func (x *Unk2700_MIMJBGMEMCA) GetUnk2700_PEDCFBJLHGP() bool { + if x != nil { + return x.Unk2700_PEDCFBJLHGP + } + return false +} + +var File_Unk2700_MIMJBGMEMCA_proto protoreflect.FileDescriptor + +var file_Unk2700_MIMJBGMEMCA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x4d, 0x4a, 0x42, 0x47, + 0x4d, 0x45, 0x4d, 0x43, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x4d, 0x4a, 0x42, 0x47, 0x4d, 0x45, + 0x4d, 0x43, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, + 0x44, 0x48, 0x48, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4c, 0x49, 0x4e, 0x43, 0x46, 0x4d, 0x48, 0x50, 0x4d, 0x44, 0x50, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x49, 0x4e, 0x43, 0x46, 0x4d, + 0x48, 0x50, 0x4d, 0x44, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x46, 0x41, 0x43, 0x46, 0x4b, 0x4a, 0x4b, 0x49, 0x42, 0x42, 0x4f, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x41, 0x43, 0x46, 0x4b, + 0x4a, 0x4b, 0x49, 0x42, 0x42, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x50, 0x45, 0x44, 0x43, 0x46, 0x42, 0x4a, 0x4c, 0x48, 0x47, 0x50, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x45, 0x44, 0x43, + 0x46, 0x42, 0x4a, 0x4c, 0x48, 0x47, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MIMJBGMEMCA_proto_rawDescOnce sync.Once + file_Unk2700_MIMJBGMEMCA_proto_rawDescData = file_Unk2700_MIMJBGMEMCA_proto_rawDesc +) + +func file_Unk2700_MIMJBGMEMCA_proto_rawDescGZIP() []byte { + file_Unk2700_MIMJBGMEMCA_proto_rawDescOnce.Do(func() { + file_Unk2700_MIMJBGMEMCA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MIMJBGMEMCA_proto_rawDescData) + }) + return file_Unk2700_MIMJBGMEMCA_proto_rawDescData +} + +var file_Unk2700_MIMJBGMEMCA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MIMJBGMEMCA_proto_goTypes = []interface{}{ + (*Unk2700_MIMJBGMEMCA)(nil), // 0: Unk2700_MIMJBGMEMCA +} +var file_Unk2700_MIMJBGMEMCA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MIMJBGMEMCA_proto_init() } +func file_Unk2700_MIMJBGMEMCA_proto_init() { + if File_Unk2700_MIMJBGMEMCA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MIMJBGMEMCA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MIMJBGMEMCA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MIMJBGMEMCA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MIMJBGMEMCA_proto_goTypes, + DependencyIndexes: file_Unk2700_MIMJBGMEMCA_proto_depIdxs, + MessageInfos: file_Unk2700_MIMJBGMEMCA_proto_msgTypes, + }.Build() + File_Unk2700_MIMJBGMEMCA_proto = out.File + file_Unk2700_MIMJBGMEMCA_proto_rawDesc = nil + file_Unk2700_MIMJBGMEMCA_proto_goTypes = nil + file_Unk2700_MIMJBGMEMCA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.proto b/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.proto new file mode 100644 index 00000000..3c87657e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MIMJBGMEMCA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_MIMJBGMEMCA { + bool Unk2700_MMNILGLDHHD = 1; + uint32 Unk2700_LINCFMHPMDP = 2; + uint32 Unk2700_FACFKJKIBBO = 8; + bool Unk2700_PEDCFBJLHGP = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.pb.go b/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.pb.go new file mode 100644 index 00000000..91731632 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MJAIKMBPKCD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8569 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MJAIKMBPKCD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + GalleryId uint32 `protobuf:"varint,14,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_MJAIKMBPKCD) Reset() { + *x = Unk2700_MJAIKMBPKCD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MJAIKMBPKCD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MJAIKMBPKCD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MJAIKMBPKCD) ProtoMessage() {} + +func (x *Unk2700_MJAIKMBPKCD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MJAIKMBPKCD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MJAIKMBPKCD.ProtoReflect.Descriptor instead. +func (*Unk2700_MJAIKMBPKCD) Descriptor() ([]byte, []int) { + return file_Unk2700_MJAIKMBPKCD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MJAIKMBPKCD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_MJAIKMBPKCD) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_MJAIKMBPKCD_proto protoreflect.FileDescriptor + +var file_Unk2700_MJAIKMBPKCD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x41, 0x49, 0x4b, 0x4d, + 0x42, 0x50, 0x4b, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x41, 0x49, 0x4b, 0x4d, 0x42, 0x50, 0x4b, + 0x43, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MJAIKMBPKCD_proto_rawDescOnce sync.Once + file_Unk2700_MJAIKMBPKCD_proto_rawDescData = file_Unk2700_MJAIKMBPKCD_proto_rawDesc +) + +func file_Unk2700_MJAIKMBPKCD_proto_rawDescGZIP() []byte { + file_Unk2700_MJAIKMBPKCD_proto_rawDescOnce.Do(func() { + file_Unk2700_MJAIKMBPKCD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MJAIKMBPKCD_proto_rawDescData) + }) + return file_Unk2700_MJAIKMBPKCD_proto_rawDescData +} + +var file_Unk2700_MJAIKMBPKCD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MJAIKMBPKCD_proto_goTypes = []interface{}{ + (*Unk2700_MJAIKMBPKCD)(nil), // 0: Unk2700_MJAIKMBPKCD +} +var file_Unk2700_MJAIKMBPKCD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MJAIKMBPKCD_proto_init() } +func file_Unk2700_MJAIKMBPKCD_proto_init() { + if File_Unk2700_MJAIKMBPKCD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MJAIKMBPKCD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MJAIKMBPKCD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MJAIKMBPKCD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MJAIKMBPKCD_proto_goTypes, + DependencyIndexes: file_Unk2700_MJAIKMBPKCD_proto_depIdxs, + MessageInfos: file_Unk2700_MJAIKMBPKCD_proto_msgTypes, + }.Build() + File_Unk2700_MJAIKMBPKCD_proto = out.File + file_Unk2700_MJAIKMBPKCD_proto_rawDesc = nil + file_Unk2700_MJAIKMBPKCD_proto_goTypes = nil + file_Unk2700_MJAIKMBPKCD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.proto b/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.proto new file mode 100644 index 00000000..4e43f98f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJAIKMBPKCD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8569 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MJAIKMBPKCD { + int32 retcode = 10; + uint32 gallery_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.pb.go new file mode 100644 index 00000000..ce36d6b3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MJCCKKHJNMP_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6212 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MJCCKKHJNMP_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_BCIBEPMFLGN []*Unk2700_GHHCCEHGKLH `protobuf:"bytes,7,rep,name=Unk2700_BCIBEPMFLGN,json=Unk2700BCIBEPMFLGN,proto3" json:"Unk2700_BCIBEPMFLGN,omitempty"` +} + +func (x *Unk2700_MJCCKKHJNMP_ServerRsp) Reset() { + *x = Unk2700_MJCCKKHJNMP_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MJCCKKHJNMP_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MJCCKKHJNMP_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_MJCCKKHJNMP_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MJCCKKHJNMP_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_MJCCKKHJNMP_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MJCCKKHJNMP_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_MJCCKKHJNMP_ServerRsp) GetUnk2700_BCIBEPMFLGN() []*Unk2700_GHHCCEHGKLH { + if x != nil { + return x.Unk2700_BCIBEPMFLGN + } + return nil +} + +var File_Unk2700_MJCCKKHJNMP_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x43, 0x43, 0x4b, 0x4b, + 0x48, 0x4a, 0x4e, 0x4d, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x48, 0x48, 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x80, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x43, + 0x43, 0x4b, 0x4b, 0x48, 0x4a, 0x4e, 0x4d, 0x50, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x49, 0x42, 0x45, 0x50, 0x4d, 0x46, + 0x4c, 0x47, 0x4e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x48, 0x43, 0x43, 0x45, 0x48, 0x47, 0x4b, 0x4c, 0x48, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x43, 0x49, 0x42, 0x45, 0x50, 0x4d, 0x46, + 0x4c, 0x47, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescData = file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDesc +) + +func file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDescData +} + +var file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_MJCCKKHJNMP_ServerRsp)(nil), // 0: Unk2700_MJCCKKHJNMP_ServerRsp + (*Unk2700_GHHCCEHGKLH)(nil), // 1: Unk2700_GHHCCEHGKLH +} +var file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MJCCKKHJNMP_ServerRsp.Unk2700_BCIBEPMFLGN:type_name -> Unk2700_GHHCCEHGKLH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_init() } +func file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_init() { + if File_Unk2700_MJCCKKHJNMP_ServerRsp_proto != nil { + return + } + file_Unk2700_GHHCCEHGKLH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MJCCKKHJNMP_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_MJCCKKHJNMP_ServerRsp_proto = out.File + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_rawDesc = nil + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_goTypes = nil + file_Unk2700_MJCCKKHJNMP_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.proto new file mode 100644 index 00000000..3461bafe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJCCKKHJNMP_ServerRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GHHCCEHGKLH.proto"; + +option go_package = "./;proto"; + +// CmdId: 6212 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MJCCKKHJNMP_ServerRsp { + int32 retcode = 13; + repeated Unk2700_GHHCCEHGKLH Unk2700_BCIBEPMFLGN = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.pb.go b/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.pb.go new file mode 100644 index 00000000..40aa5243 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MJGFEHOMKJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MJGFEHOMKJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHKHIPLDOOA []*Unk2700_GHONKKEGHGL `protobuf:"bytes,6,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` +} + +func (x *Unk2700_MJGFEHOMKJE) Reset() { + *x = Unk2700_MJGFEHOMKJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MJGFEHOMKJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MJGFEHOMKJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MJGFEHOMKJE) ProtoMessage() {} + +func (x *Unk2700_MJGFEHOMKJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MJGFEHOMKJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MJGFEHOMKJE.ProtoReflect.Descriptor instead. +func (*Unk2700_MJGFEHOMKJE) Descriptor() ([]byte, []int) { + return file_Unk2700_MJGFEHOMKJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MJGFEHOMKJE) GetUnk2700_PHKHIPLDOOA() []*Unk2700_GHONKKEGHGL { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +var File_Unk2700_MJGFEHOMKJE_proto protoreflect.FileDescriptor + +var file_Unk2700_MJGFEHOMKJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4a, 0x47, 0x46, 0x45, 0x48, + 0x4f, 0x4d, 0x4b, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x4f, 0x4e, 0x4b, 0x4b, 0x45, 0x47, 0x48, 0x47, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4a, 0x47, 0x46, 0x45, 0x48, 0x4f, 0x4d, 0x4b, 0x4a, 0x45, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, + 0x44, 0x4f, 0x4f, 0x41, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x48, 0x4f, 0x4e, 0x4b, 0x4b, 0x45, 0x47, 0x48, 0x47, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, + 0x44, 0x4f, 0x4f, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MJGFEHOMKJE_proto_rawDescOnce sync.Once + file_Unk2700_MJGFEHOMKJE_proto_rawDescData = file_Unk2700_MJGFEHOMKJE_proto_rawDesc +) + +func file_Unk2700_MJGFEHOMKJE_proto_rawDescGZIP() []byte { + file_Unk2700_MJGFEHOMKJE_proto_rawDescOnce.Do(func() { + file_Unk2700_MJGFEHOMKJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MJGFEHOMKJE_proto_rawDescData) + }) + return file_Unk2700_MJGFEHOMKJE_proto_rawDescData +} + +var file_Unk2700_MJGFEHOMKJE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MJGFEHOMKJE_proto_goTypes = []interface{}{ + (*Unk2700_MJGFEHOMKJE)(nil), // 0: Unk2700_MJGFEHOMKJE + (*Unk2700_GHONKKEGHGL)(nil), // 1: Unk2700_GHONKKEGHGL +} +var file_Unk2700_MJGFEHOMKJE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MJGFEHOMKJE.Unk2700_PHKHIPLDOOA:type_name -> Unk2700_GHONKKEGHGL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MJGFEHOMKJE_proto_init() } +func file_Unk2700_MJGFEHOMKJE_proto_init() { + if File_Unk2700_MJGFEHOMKJE_proto != nil { + return + } + file_Unk2700_GHONKKEGHGL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MJGFEHOMKJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MJGFEHOMKJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MJGFEHOMKJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MJGFEHOMKJE_proto_goTypes, + DependencyIndexes: file_Unk2700_MJGFEHOMKJE_proto_depIdxs, + MessageInfos: file_Unk2700_MJGFEHOMKJE_proto_msgTypes, + }.Build() + File_Unk2700_MJGFEHOMKJE_proto = out.File + file_Unk2700_MJGFEHOMKJE_proto_rawDesc = nil + file_Unk2700_MJGFEHOMKJE_proto_goTypes = nil + file_Unk2700_MJGFEHOMKJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.proto b/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.proto new file mode 100644 index 00000000..e0ef3339 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MJGFEHOMKJE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GHONKKEGHGL.proto"; + +option go_package = "./;proto"; + +message Unk2700_MJGFEHOMKJE { + repeated Unk2700_GHONKKEGHGL Unk2700_PHKHIPLDOOA = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.pb.go new file mode 100644 index 00000000..5ae34450 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.pb.go @@ -0,0 +1,165 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MKAFBOPFDEF_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 430 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MKAFBOPFDEF_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DFMMBCLLBEN bool `protobuf:"varint,5,opt,name=Unk2700_DFMMBCLLBEN,json=Unk2700DFMMBCLLBEN,proto3" json:"Unk2700_DFMMBCLLBEN,omitempty"` +} + +func (x *Unk2700_MKAFBOPFDEF_ServerNotify) Reset() { + *x = Unk2700_MKAFBOPFDEF_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MKAFBOPFDEF_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MKAFBOPFDEF_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MKAFBOPFDEF_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MKAFBOPFDEF_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MKAFBOPFDEF_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MKAFBOPFDEF_ServerNotify) GetUnk2700_DFMMBCLLBEN() bool { + if x != nil { + return x.Unk2700_DFMMBCLLBEN + } + return false +} + +var File_Unk2700_MKAFBOPFDEF_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x41, 0x46, 0x42, 0x4f, + 0x50, 0x46, 0x44, 0x45, 0x46, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x41, 0x46, 0x42, 0x4f, 0x50, 0x46, 0x44, 0x45, 0x46, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x4d, 0x4d, 0x42, 0x43, 0x4c, 0x4c, + 0x42, 0x45, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x44, 0x46, 0x4d, 0x4d, 0x42, 0x43, 0x4c, 0x4c, 0x42, 0x45, 0x4e, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescData = file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MKAFBOPFDEF_ServerNotify)(nil), // 0: Unk2700_MKAFBOPFDEF_ServerNotify +} +var file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_init() } +func file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_init() { + if File_Unk2700_MKAFBOPFDEF_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MKAFBOPFDEF_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MKAFBOPFDEF_ServerNotify_proto = out.File + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_rawDesc = nil + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_goTypes = nil + file_Unk2700_MKAFBOPFDEF_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.proto new file mode 100644 index 00000000..1f3de3d8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKAFBOPFDEF_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 430 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MKAFBOPFDEF_ServerNotify { + bool Unk2700_DFMMBCLLBEN = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.pb.go new file mode 100644 index 00000000..cae6e9a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MKLLNAHEJJC_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4287 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MKLLNAHEJJC_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_COIELIGEACL *Unk2700_CCEOEOHLAPK `protobuf:"bytes,9,opt,name=Unk2700_COIELIGEACL,json=Unk2700COIELIGEACL,proto3" json:"Unk2700_COIELIGEACL,omitempty"` +} + +func (x *Unk2700_MKLLNAHEJJC_ServerRsp) Reset() { + *x = Unk2700_MKLLNAHEJJC_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MKLLNAHEJJC_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MKLLNAHEJJC_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_MKLLNAHEJJC_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MKLLNAHEJJC_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_MKLLNAHEJJC_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MKLLNAHEJJC_ServerRsp) GetUnk2700_COIELIGEACL() *Unk2700_CCEOEOHLAPK { + if x != nil { + return x.Unk2700_COIELIGEACL + } + return nil +} + +var File_Unk2700_MKLLNAHEJJC_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4c, 0x4c, 0x4e, 0x41, + 0x48, 0x45, 0x4a, 0x4a, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, + 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, 0x4c, 0x41, 0x50, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4c, 0x4c, + 0x4e, 0x41, 0x48, 0x45, 0x4a, 0x4a, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, + 0x70, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x49, + 0x45, 0x4c, 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x45, 0x4f, 0x45, 0x4f, 0x48, + 0x4c, 0x41, 0x50, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x4f, 0x49, + 0x45, 0x4c, 0x49, 0x47, 0x45, 0x41, 0x43, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescData = file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDesc +) + +func file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDescData +} + +var file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_MKLLNAHEJJC_ServerRsp)(nil), // 0: Unk2700_MKLLNAHEJJC_ServerRsp + (*Unk2700_CCEOEOHLAPK)(nil), // 1: Unk2700_CCEOEOHLAPK +} +var file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MKLLNAHEJJC_ServerRsp.Unk2700_COIELIGEACL:type_name -> Unk2700_CCEOEOHLAPK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_init() } +func file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_init() { + if File_Unk2700_MKLLNAHEJJC_ServerRsp_proto != nil { + return + } + file_Unk2700_CCEOEOHLAPK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MKLLNAHEJJC_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_MKLLNAHEJJC_ServerRsp_proto = out.File + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_rawDesc = nil + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_goTypes = nil + file_Unk2700_MKLLNAHEJJC_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.proto new file mode 100644 index 00000000..39ba28f4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKLLNAHEJJC_ServerRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CCEOEOHLAPK.proto"; + +option go_package = "./;proto"; + +// CmdId: 4287 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MKLLNAHEJJC_ServerRsp { + Unk2700_CCEOEOHLAPK Unk2700_COIELIGEACL = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.pb.go b/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.pb.go new file mode 100644 index 00000000..2a3f24dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MKMDOIKBBEP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8026 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MKMDOIKBBEP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BABEGIGEEIB *Unk2700_HIHKGMLLOGD `protobuf:"bytes,10,opt,name=Unk2700_BABEGIGEEIB,json=Unk2700BABEGIGEEIB,proto3" json:"Unk2700_BABEGIGEEIB,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_DJAPHKALAHA bool `protobuf:"varint,1,opt,name=Unk2700_DJAPHKALAHA,json=Unk2700DJAPHKALAHA,proto3" json:"Unk2700_DJAPHKALAHA,omitempty"` +} + +func (x *Unk2700_MKMDOIKBBEP) Reset() { + *x = Unk2700_MKMDOIKBBEP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MKMDOIKBBEP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MKMDOIKBBEP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MKMDOIKBBEP) ProtoMessage() {} + +func (x *Unk2700_MKMDOIKBBEP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MKMDOIKBBEP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MKMDOIKBBEP.ProtoReflect.Descriptor instead. +func (*Unk2700_MKMDOIKBBEP) Descriptor() ([]byte, []int) { + return file_Unk2700_MKMDOIKBBEP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MKMDOIKBBEP) GetUnk2700_BABEGIGEEIB() *Unk2700_HIHKGMLLOGD { + if x != nil { + return x.Unk2700_BABEGIGEEIB + } + return nil +} + +func (x *Unk2700_MKMDOIKBBEP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_MKMDOIKBBEP) GetUnk2700_DJAPHKALAHA() bool { + if x != nil { + return x.Unk2700_DJAPHKALAHA + } + return false +} + +var File_Unk2700_MKMDOIKBBEP_proto protoreflect.FileDescriptor + +var file_Unk2700_MKMDOIKBBEP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4d, 0x44, 0x4f, 0x49, + 0x4b, 0x42, 0x42, 0x45, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4d, 0x44, 0x4f, 0x49, 0x4b, 0x42, 0x42, 0x45, 0x50, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x41, 0x42, 0x45, 0x47, 0x49, + 0x47, 0x45, 0x45, 0x49, 0x42, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4b, 0x47, 0x4d, 0x4c, 0x4c, 0x4f, 0x47, + 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x41, 0x42, 0x45, 0x47, 0x49, + 0x47, 0x45, 0x45, 0x49, 0x42, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x41, 0x50, 0x48, + 0x4b, 0x41, 0x4c, 0x41, 0x48, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4a, 0x41, 0x50, 0x48, 0x4b, 0x41, 0x4c, 0x41, 0x48, 0x41, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MKMDOIKBBEP_proto_rawDescOnce sync.Once + file_Unk2700_MKMDOIKBBEP_proto_rawDescData = file_Unk2700_MKMDOIKBBEP_proto_rawDesc +) + +func file_Unk2700_MKMDOIKBBEP_proto_rawDescGZIP() []byte { + file_Unk2700_MKMDOIKBBEP_proto_rawDescOnce.Do(func() { + file_Unk2700_MKMDOIKBBEP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MKMDOIKBBEP_proto_rawDescData) + }) + return file_Unk2700_MKMDOIKBBEP_proto_rawDescData +} + +var file_Unk2700_MKMDOIKBBEP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MKMDOIKBBEP_proto_goTypes = []interface{}{ + (*Unk2700_MKMDOIKBBEP)(nil), // 0: Unk2700_MKMDOIKBBEP + (*Unk2700_HIHKGMLLOGD)(nil), // 1: Unk2700_HIHKGMLLOGD +} +var file_Unk2700_MKMDOIKBBEP_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MKMDOIKBBEP.Unk2700_BABEGIGEEIB:type_name -> Unk2700_HIHKGMLLOGD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MKMDOIKBBEP_proto_init() } +func file_Unk2700_MKMDOIKBBEP_proto_init() { + if File_Unk2700_MKMDOIKBBEP_proto != nil { + return + } + file_Unk2700_HIHKGMLLOGD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MKMDOIKBBEP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MKMDOIKBBEP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MKMDOIKBBEP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MKMDOIKBBEP_proto_goTypes, + DependencyIndexes: file_Unk2700_MKMDOIKBBEP_proto_depIdxs, + MessageInfos: file_Unk2700_MKMDOIKBBEP_proto_msgTypes, + }.Build() + File_Unk2700_MKMDOIKBBEP_proto = out.File + file_Unk2700_MKMDOIKBBEP_proto_rawDesc = nil + file_Unk2700_MKMDOIKBBEP_proto_goTypes = nil + file_Unk2700_MKMDOIKBBEP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.proto b/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.proto new file mode 100644 index 00000000..444cb0d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MKMDOIKBBEP.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HIHKGMLLOGD.proto"; + +option go_package = "./;proto"; + +// CmdId: 8026 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MKMDOIKBBEP { + Unk2700_HIHKGMLLOGD Unk2700_BABEGIGEEIB = 10; + int32 retcode = 5; + bool Unk2700_DJAPHKALAHA = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.pb.go b/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.pb.go new file mode 100644 index 00000000..4d9625a9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MLMEFKLMOEF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MLMEFKLMOEF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` + Type Unk2700_EAJCGENDICI `protobuf:"varint,4,opt,name=type,proto3,enum=Unk2700_EAJCGENDICI" json:"type,omitempty"` +} + +func (x *Unk2700_MLMEFKLMOEF) Reset() { + *x = Unk2700_MLMEFKLMOEF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MLMEFKLMOEF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MLMEFKLMOEF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MLMEFKLMOEF) ProtoMessage() {} + +func (x *Unk2700_MLMEFKLMOEF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MLMEFKLMOEF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MLMEFKLMOEF.ProtoReflect.Descriptor instead. +func (*Unk2700_MLMEFKLMOEF) Descriptor() ([]byte, []int) { + return file_Unk2700_MLMEFKLMOEF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MLMEFKLMOEF) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *Unk2700_MLMEFKLMOEF) GetType() Unk2700_EAJCGENDICI { + if x != nil { + return x.Type + } + return Unk2700_EAJCGENDICI_Unk2700_EAJCGENDICI_Unk2700_NDNHCNOOCCA +} + +var File_Unk2700_MLMEFKLMOEF_proto protoreflect.FileDescriptor + +var file_Unk2700_MLMEFKLMOEF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x45, 0x46, 0x4b, + 0x4c, 0x4d, 0x4f, 0x45, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x45, 0x46, 0x4b, 0x4c, 0x4d, 0x4f, 0x45, 0x46, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x41, 0x4a, 0x43, + 0x47, 0x45, 0x4e, 0x44, 0x49, 0x43, 0x49, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_MLMEFKLMOEF_proto_rawDescOnce sync.Once + file_Unk2700_MLMEFKLMOEF_proto_rawDescData = file_Unk2700_MLMEFKLMOEF_proto_rawDesc +) + +func file_Unk2700_MLMEFKLMOEF_proto_rawDescGZIP() []byte { + file_Unk2700_MLMEFKLMOEF_proto_rawDescOnce.Do(func() { + file_Unk2700_MLMEFKLMOEF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MLMEFKLMOEF_proto_rawDescData) + }) + return file_Unk2700_MLMEFKLMOEF_proto_rawDescData +} + +var file_Unk2700_MLMEFKLMOEF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MLMEFKLMOEF_proto_goTypes = []interface{}{ + (*Unk2700_MLMEFKLMOEF)(nil), // 0: Unk2700_MLMEFKLMOEF + (Unk2700_EAJCGENDICI)(0), // 1: Unk2700_EAJCGENDICI +} +var file_Unk2700_MLMEFKLMOEF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MLMEFKLMOEF.type:type_name -> Unk2700_EAJCGENDICI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MLMEFKLMOEF_proto_init() } +func file_Unk2700_MLMEFKLMOEF_proto_init() { + if File_Unk2700_MLMEFKLMOEF_proto != nil { + return + } + file_Unk2700_EAJCGENDICI_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MLMEFKLMOEF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MLMEFKLMOEF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MLMEFKLMOEF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MLMEFKLMOEF_proto_goTypes, + DependencyIndexes: file_Unk2700_MLMEFKLMOEF_proto_depIdxs, + MessageInfos: file_Unk2700_MLMEFKLMOEF_proto_msgTypes, + }.Build() + File_Unk2700_MLMEFKLMOEF_proto = out.File + file_Unk2700_MLMEFKLMOEF_proto_rawDesc = nil + file_Unk2700_MLMEFKLMOEF_proto_goTypes = nil + file_Unk2700_MLMEFKLMOEF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.proto b/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.proto new file mode 100644 index 00000000..4aff0065 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MLMEFKLMOEF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EAJCGENDICI.proto"; + +option go_package = "./;proto"; + +message Unk2700_MLMEFKLMOEF { + int32 value = 5; + Unk2700_EAJCGENDICI type = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.pb.go new file mode 100644 index 00000000..157159aa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MLMJFIGJJEH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4878 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MLMJFIGJJEH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FEGCOKJJBGO []*Unk2700_IMMPPANFEPP `protobuf:"bytes,12,rep,name=Unk2700_FEGCOKJJBGO,json=Unk2700FEGCOKJJBGO,proto3" json:"Unk2700_FEGCOKJJBGO,omitempty"` +} + +func (x *Unk2700_MLMJFIGJJEH_ServerNotify) Reset() { + *x = Unk2700_MLMJFIGJJEH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MLMJFIGJJEH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MLMJFIGJJEH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MLMJFIGJJEH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MLMJFIGJJEH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MLMJFIGJJEH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MLMJFIGJJEH_ServerNotify) GetUnk2700_FEGCOKJJBGO() []*Unk2700_IMMPPANFEPP { + if x != nil { + return x.Unk2700_FEGCOKJJBGO + } + return nil +} + +var File_Unk2700_MLMJFIGJJEH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x4a, 0x46, 0x49, + 0x47, 0x4a, 0x4a, 0x45, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, 0x50, 0x50, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4c, 0x4d, 0x4a, 0x46, 0x49, 0x47, 0x4a, 0x4a, 0x45, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x46, 0x45, 0x47, 0x43, 0x4f, 0x4b, 0x4a, 0x4a, 0x42, 0x47, 0x4f, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, 0x50, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x46, 0x45, 0x47, 0x43, 0x4f, 0x4b, 0x4a, 0x4a, 0x42, 0x47, 0x4f, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescData = file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MLMJFIGJJEH_ServerNotify)(nil), // 0: Unk2700_MLMJFIGJJEH_ServerNotify + (*Unk2700_IMMPPANFEPP)(nil), // 1: Unk2700_IMMPPANFEPP +} +var file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MLMJFIGJJEH_ServerNotify.Unk2700_FEGCOKJJBGO:type_name -> Unk2700_IMMPPANFEPP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_init() } +func file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_init() { + if File_Unk2700_MLMJFIGJJEH_ServerNotify_proto != nil { + return + } + file_Unk2700_IMMPPANFEPP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MLMJFIGJJEH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MLMJFIGJJEH_ServerNotify_proto = out.File + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_rawDesc = nil + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_goTypes = nil + file_Unk2700_MLMJFIGJJEH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.proto new file mode 100644 index 00000000..3c869b45 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MLMJFIGJJEH_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IMMPPANFEPP.proto"; + +option go_package = "./;proto"; + +// CmdId: 4878 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MLMJFIGJJEH_ServerNotify { + repeated Unk2700_IMMPPANFEPP Unk2700_FEGCOKJJBGO = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.pb.go new file mode 100644 index 00000000..77463ef1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MMDCAFMGACC_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6221 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MMDCAFMGACC_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_NBAIINBBBPK Unk2700_ADGLMHECKKJ `protobuf:"varint,9,opt,name=Unk2700_NBAIINBBBPK,json=Unk2700NBAIINBBBPK,proto3,enum=Unk2700_ADGLMHECKKJ" json:"Unk2700_NBAIINBBBPK,omitempty"` + Unk2700_EIOPOPABBNC []uint32 `protobuf:"varint,14,rep,packed,name=Unk2700_EIOPOPABBNC,json=Unk2700EIOPOPABBNC,proto3" json:"Unk2700_EIOPOPABBNC,omitempty"` + Unk2700_LGBODABIKLL Unk2700_KBBDJNLFAKD `protobuf:"varint,15,opt,name=Unk2700_LGBODABIKLL,json=Unk2700LGBODABIKLL,proto3,enum=Unk2700_KBBDJNLFAKD" json:"Unk2700_LGBODABIKLL,omitempty"` +} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) Reset() { + *x = Unk2700_MMDCAFMGACC_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MMDCAFMGACC_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MMDCAFMGACC_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MMDCAFMGACC_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MMDCAFMGACC_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MMDCAFMGACC_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) GetUnk2700_NBAIINBBBPK() Unk2700_ADGLMHECKKJ { + if x != nil { + return x.Unk2700_NBAIINBBBPK + } + return Unk2700_ADGLMHECKKJ_Unk2700_ADGLMHECKKJ_Unk2700_KHKEKEIAPBP +} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) GetUnk2700_EIOPOPABBNC() []uint32 { + if x != nil { + return x.Unk2700_EIOPOPABBNC + } + return nil +} + +func (x *Unk2700_MMDCAFMGACC_ServerNotify) GetUnk2700_LGBODABIKLL() Unk2700_KBBDJNLFAKD { + if x != nil { + return x.Unk2700_LGBODABIKLL + } + return Unk2700_KBBDJNLFAKD_Unk2700_KBBDJNLFAKD_Unk2700_FACJMMHAOLB +} + +var File_Unk2700_MMDCAFMGACC_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x44, 0x43, 0x41, 0x46, + 0x4d, 0x47, 0x41, 0x43, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, + 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, + 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x44, 0x43, 0x41, + 0x46, 0x4d, 0x47, 0x41, 0x43, 0x43, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x42, 0x41, 0x49, 0x49, 0x4e, 0x42, 0x42, 0x42, 0x50, 0x4b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x47, 0x4c, 0x4d, + 0x48, 0x45, 0x43, 0x4b, 0x4b, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, + 0x42, 0x41, 0x49, 0x49, 0x4e, 0x42, 0x42, 0x42, 0x50, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x49, 0x4f, 0x50, 0x4f, 0x50, 0x41, 0x42, 0x42, 0x4e, + 0x43, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x45, 0x49, 0x4f, 0x50, 0x4f, 0x50, 0x41, 0x42, 0x42, 0x4e, 0x43, 0x12, 0x45, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, + 0x4c, 0x4c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x42, 0x44, 0x4a, 0x4e, 0x4c, 0x46, 0x41, 0x4b, 0x44, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x47, 0x42, 0x4f, 0x44, 0x41, 0x42, 0x49, 0x4b, + 0x4c, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescData = file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MMDCAFMGACC_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MMDCAFMGACC_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MMDCAFMGACC_ServerNotify)(nil), // 0: Unk2700_MMDCAFMGACC_ServerNotify + (Unk2700_ADGLMHECKKJ)(0), // 1: Unk2700_ADGLMHECKKJ + (Unk2700_KBBDJNLFAKD)(0), // 2: Unk2700_KBBDJNLFAKD +} +var file_Unk2700_MMDCAFMGACC_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MMDCAFMGACC_ServerNotify.Unk2700_NBAIINBBBPK:type_name -> Unk2700_ADGLMHECKKJ + 2, // 1: Unk2700_MMDCAFMGACC_ServerNotify.Unk2700_LGBODABIKLL:type_name -> Unk2700_KBBDJNLFAKD + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_MMDCAFMGACC_ServerNotify_proto_init() } +func file_Unk2700_MMDCAFMGACC_ServerNotify_proto_init() { + if File_Unk2700_MMDCAFMGACC_ServerNotify_proto != nil { + return + } + file_Unk2700_ADGLMHECKKJ_proto_init() + file_Unk2700_KBBDJNLFAKD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MMDCAFMGACC_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MMDCAFMGACC_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MMDCAFMGACC_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MMDCAFMGACC_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MMDCAFMGACC_ServerNotify_proto = out.File + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_rawDesc = nil + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_goTypes = nil + file_Unk2700_MMDCAFMGACC_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.proto new file mode 100644 index 00000000..58423208 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMDCAFMGACC_ServerNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_ADGLMHECKKJ.proto"; +import "Unk2700_KBBDJNLFAKD.proto"; + +option go_package = "./;proto"; + +// CmdId: 6221 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MMDCAFMGACC_ServerNotify { + Unk2700_ADGLMHECKKJ Unk2700_NBAIINBBBPK = 9; + repeated uint32 Unk2700_EIOPOPABBNC = 14; + Unk2700_KBBDJNLFAKD Unk2700_LGBODABIKLL = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.pb.go new file mode 100644 index 00000000..d01d5acd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MMFIJILOCOP_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4486 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MMFIJILOCOP_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JJBKBKPEIBC *Unk2700_IMMPPANFEPP `protobuf:"bytes,1,opt,name=Unk2700_JJBKBKPEIBC,json=Unk2700JJBKBKPEIBC,proto3" json:"Unk2700_JJBKBKPEIBC,omitempty"` +} + +func (x *Unk2700_MMFIJILOCOP_ClientReq) Reset() { + *x = Unk2700_MMFIJILOCOP_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MMFIJILOCOP_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MMFIJILOCOP_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MMFIJILOCOP_ClientReq) ProtoMessage() {} + +func (x *Unk2700_MMFIJILOCOP_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MMFIJILOCOP_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MMFIJILOCOP_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_MMFIJILOCOP_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MMFIJILOCOP_ClientReq) GetUnk2700_JJBKBKPEIBC() *Unk2700_IMMPPANFEPP { + if x != nil { + return x.Unk2700_JJBKBKPEIBC + } + return nil +} + +var File_Unk2700_MMFIJILOCOP_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x46, 0x49, 0x4a, 0x49, + 0x4c, 0x4f, 0x43, 0x4f, 0x50, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, 0x46, 0x45, 0x50, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x46, 0x49, + 0x4a, 0x49, 0x4c, 0x4f, 0x43, 0x4f, 0x50, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x42, + 0x4b, 0x42, 0x4b, 0x50, 0x45, 0x49, 0x42, 0x43, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4d, 0x50, 0x50, 0x41, 0x4e, + 0x46, 0x45, 0x50, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x4a, 0x42, + 0x4b, 0x42, 0x4b, 0x50, 0x45, 0x49, 0x42, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescData = file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDesc +) + +func file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescData) + }) + return file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDescData +} + +var file_Unk2700_MMFIJILOCOP_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MMFIJILOCOP_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_MMFIJILOCOP_ClientReq)(nil), // 0: Unk2700_MMFIJILOCOP_ClientReq + (*Unk2700_IMMPPANFEPP)(nil), // 1: Unk2700_IMMPPANFEPP +} +var file_Unk2700_MMFIJILOCOP_ClientReq_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MMFIJILOCOP_ClientReq.Unk2700_JJBKBKPEIBC:type_name -> Unk2700_IMMPPANFEPP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MMFIJILOCOP_ClientReq_proto_init() } +func file_Unk2700_MMFIJILOCOP_ClientReq_proto_init() { + if File_Unk2700_MMFIJILOCOP_ClientReq_proto != nil { + return + } + file_Unk2700_IMMPPANFEPP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MMFIJILOCOP_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MMFIJILOCOP_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MMFIJILOCOP_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_MMFIJILOCOP_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_MMFIJILOCOP_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_MMFIJILOCOP_ClientReq_proto = out.File + file_Unk2700_MMFIJILOCOP_ClientReq_proto_rawDesc = nil + file_Unk2700_MMFIJILOCOP_ClientReq_proto_goTypes = nil + file_Unk2700_MMFIJILOCOP_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.proto new file mode 100644 index 00000000..d8740b3b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMFIJILOCOP_ClientReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_IMMPPANFEPP.proto"; + +option go_package = "./;proto"; + +// CmdId: 4486 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MMFIJILOCOP_ClientReq { + Unk2700_IMMPPANFEPP Unk2700_JJBKBKPEIBC = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.pb.go b/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.pb.go new file mode 100644 index 00000000..f2f94f76 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MMJJMKMHANL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MMJJMKMHANL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DungeonId uint32 `protobuf:"varint,11,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_FMOFEBIAOFO uint32 `protobuf:"varint,3,opt,name=Unk2700_FMOFEBIAOFO,json=Unk2700FMOFEBIAOFO,proto3" json:"Unk2700_FMOFEBIAOFO,omitempty"` +} + +func (x *Unk2700_MMJJMKMHANL) Reset() { + *x = Unk2700_MMJJMKMHANL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MMJJMKMHANL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MMJJMKMHANL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MMJJMKMHANL) ProtoMessage() {} + +func (x *Unk2700_MMJJMKMHANL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MMJJMKMHANL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MMJJMKMHANL.ProtoReflect.Descriptor instead. +func (*Unk2700_MMJJMKMHANL) Descriptor() ([]byte, []int) { + return file_Unk2700_MMJJMKMHANL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MMJJMKMHANL) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_MMJJMKMHANL) GetUnk2700_FMOFEBIAOFO() uint32 { + if x != nil { + return x.Unk2700_FMOFEBIAOFO + } + return 0 +} + +var File_Unk2700_MMJJMKMHANL_proto protoreflect.FileDescriptor + +var file_Unk2700_MMJJMKMHANL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4a, 0x4a, 0x4d, 0x4b, + 0x4d, 0x48, 0x41, 0x4e, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4d, 0x4a, 0x4a, 0x4d, 0x4b, 0x4d, 0x48, 0x41, + 0x4e, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x4f, + 0x46, 0x45, 0x42, 0x49, 0x41, 0x4f, 0x46, 0x4f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4d, 0x4f, 0x46, 0x45, 0x42, 0x49, 0x41, 0x4f, + 0x46, 0x4f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MMJJMKMHANL_proto_rawDescOnce sync.Once + file_Unk2700_MMJJMKMHANL_proto_rawDescData = file_Unk2700_MMJJMKMHANL_proto_rawDesc +) + +func file_Unk2700_MMJJMKMHANL_proto_rawDescGZIP() []byte { + file_Unk2700_MMJJMKMHANL_proto_rawDescOnce.Do(func() { + file_Unk2700_MMJJMKMHANL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MMJJMKMHANL_proto_rawDescData) + }) + return file_Unk2700_MMJJMKMHANL_proto_rawDescData +} + +var file_Unk2700_MMJJMKMHANL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MMJJMKMHANL_proto_goTypes = []interface{}{ + (*Unk2700_MMJJMKMHANL)(nil), // 0: Unk2700_MMJJMKMHANL +} +var file_Unk2700_MMJJMKMHANL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MMJJMKMHANL_proto_init() } +func file_Unk2700_MMJJMKMHANL_proto_init() { + if File_Unk2700_MMJJMKMHANL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MMJJMKMHANL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MMJJMKMHANL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MMJJMKMHANL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MMJJMKMHANL_proto_goTypes, + DependencyIndexes: file_Unk2700_MMJJMKMHANL_proto_depIdxs, + MessageInfos: file_Unk2700_MMJJMKMHANL_proto_msgTypes, + }.Build() + File_Unk2700_MMJJMKMHANL_proto = out.File + file_Unk2700_MMJJMKMHANL_proto_rawDesc = nil + file_Unk2700_MMJJMKMHANL_proto_goTypes = nil + file_Unk2700_MMJJMKMHANL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.proto b/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.proto new file mode 100644 index 00000000..e3b7c6ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MMJJMKMHANL.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_MMJJMKMHANL { + uint32 dungeon_id = 11; + uint32 Unk2700_FMOFEBIAOFO = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.pb.go b/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.pb.go new file mode 100644 index 00000000..9d6fed8e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MNIBEMEMGMO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8514 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_MNIBEMEMGMO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_BNHNCPPADPJ []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,10,rep,name=Unk2700_BNHNCPPADPJ,json=Unk2700BNHNCPPADPJ,proto3" json:"Unk2700_BNHNCPPADPJ,omitempty"` + Unk2700_KGMFDCOMCOF uint32 `protobuf:"varint,6,opt,name=Unk2700_KGMFDCOMCOF,json=Unk2700KGMFDCOMCOF,proto3" json:"Unk2700_KGMFDCOMCOF,omitempty"` + Unk2700_MLMJABGLDPH uint32 `protobuf:"varint,8,opt,name=Unk2700_MLMJABGLDPH,json=Unk2700MLMJABGLDPH,proto3" json:"Unk2700_MLMJABGLDPH,omitempty"` + Unk2700_NHMJKBGEHID bool `protobuf:"varint,7,opt,name=Unk2700_NHMJKBGEHID,json=Unk2700NHMJKBGEHID,proto3" json:"Unk2700_NHMJKBGEHID,omitempty"` +} + +func (x *Unk2700_MNIBEMEMGMO) Reset() { + *x = Unk2700_MNIBEMEMGMO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MNIBEMEMGMO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MNIBEMEMGMO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MNIBEMEMGMO) ProtoMessage() {} + +func (x *Unk2700_MNIBEMEMGMO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MNIBEMEMGMO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MNIBEMEMGMO.ProtoReflect.Descriptor instead. +func (*Unk2700_MNIBEMEMGMO) Descriptor() ([]byte, []int) { + return file_Unk2700_MNIBEMEMGMO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MNIBEMEMGMO) GetUnk2700_BNHNCPPADPJ() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_BNHNCPPADPJ + } + return nil +} + +func (x *Unk2700_MNIBEMEMGMO) GetUnk2700_KGMFDCOMCOF() uint32 { + if x != nil { + return x.Unk2700_KGMFDCOMCOF + } + return 0 +} + +func (x *Unk2700_MNIBEMEMGMO) GetUnk2700_MLMJABGLDPH() uint32 { + if x != nil { + return x.Unk2700_MLMJABGLDPH + } + return 0 +} + +func (x *Unk2700_MNIBEMEMGMO) GetUnk2700_NHMJKBGEHID() bool { + if x != nil { + return x.Unk2700_NHMJKBGEHID + } + return false +} + +var File_Unk2700_MNIBEMEMGMO_proto protoreflect.FileDescriptor + +var file_Unk2700_MNIBEMEMGMO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x49, 0x42, 0x45, 0x4d, + 0x45, 0x4d, 0x47, 0x4d, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x49, 0x42, 0x45, 0x4d, 0x45, 0x4d, 0x47, 0x4d, 0x4f, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4e, 0x48, 0x4e, 0x43, 0x50, + 0x50, 0x41, 0x44, 0x50, 0x4a, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, + 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4e, 0x48, 0x4e, 0x43, 0x50, + 0x50, 0x41, 0x44, 0x50, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x47, 0x4d, 0x46, 0x44, 0x43, 0x4f, 0x4d, 0x43, 0x4f, 0x46, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x47, 0x4d, 0x46, 0x44, + 0x43, 0x4f, 0x4d, 0x43, 0x4f, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4c, 0x4d, 0x4a, 0x41, 0x42, 0x47, 0x4c, 0x44, 0x50, 0x48, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4c, 0x4d, 0x4a, + 0x41, 0x42, 0x47, 0x4c, 0x44, 0x50, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x4d, 0x4a, 0x4b, 0x42, 0x47, 0x45, 0x48, 0x49, 0x44, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4e, 0x48, 0x4d, + 0x4a, 0x4b, 0x42, 0x47, 0x45, 0x48, 0x49, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MNIBEMEMGMO_proto_rawDescOnce sync.Once + file_Unk2700_MNIBEMEMGMO_proto_rawDescData = file_Unk2700_MNIBEMEMGMO_proto_rawDesc +) + +func file_Unk2700_MNIBEMEMGMO_proto_rawDescGZIP() []byte { + file_Unk2700_MNIBEMEMGMO_proto_rawDescOnce.Do(func() { + file_Unk2700_MNIBEMEMGMO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MNIBEMEMGMO_proto_rawDescData) + }) + return file_Unk2700_MNIBEMEMGMO_proto_rawDescData +} + +var file_Unk2700_MNIBEMEMGMO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MNIBEMEMGMO_proto_goTypes = []interface{}{ + (*Unk2700_MNIBEMEMGMO)(nil), // 0: Unk2700_MNIBEMEMGMO + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_MNIBEMEMGMO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MNIBEMEMGMO.Unk2700_BNHNCPPADPJ:type_name -> Unk2700_HJLFNKLPFBH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_MNIBEMEMGMO_proto_init() } +func file_Unk2700_MNIBEMEMGMO_proto_init() { + if File_Unk2700_MNIBEMEMGMO_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MNIBEMEMGMO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MNIBEMEMGMO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MNIBEMEMGMO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MNIBEMEMGMO_proto_goTypes, + DependencyIndexes: file_Unk2700_MNIBEMEMGMO_proto_depIdxs, + MessageInfos: file_Unk2700_MNIBEMEMGMO_proto_msgTypes, + }.Build() + File_Unk2700_MNIBEMEMGMO_proto = out.File + file_Unk2700_MNIBEMEMGMO_proto_rawDesc = nil + file_Unk2700_MNIBEMEMGMO_proto_goTypes = nil + file_Unk2700_MNIBEMEMGMO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.proto b/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.proto new file mode 100644 index 00000000..f1c4a944 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MNIBEMEMGMO.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8514 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_MNIBEMEMGMO { + repeated Unk2700_HJLFNKLPFBH Unk2700_BNHNCPPADPJ = 10; + uint32 Unk2700_KGMFDCOMCOF = 6; + uint32 Unk2700_MLMJABGLDPH = 8; + bool Unk2700_NHMJKBGEHID = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.pb.go b/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.pb.go new file mode 100644 index 00000000..51916a52 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MOFABPNGIKP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MOFABPNGIKP int32 + +const ( + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ Unk2700_MOFABPNGIKP = 0 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_IANMLLDEIJH Unk2700_MOFABPNGIKP = 1 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_CCBNMEBCOKM Unk2700_MOFABPNGIKP = 2 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_CABFGAEJAIA Unk2700_MOFABPNGIKP = 3 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_JFPKBELPINO Unk2700_MOFABPNGIKP = 4 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_ECHKDKLKPLH Unk2700_MOFABPNGIKP = 5 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_NALBIHIEGAF Unk2700_MOFABPNGIKP = 6 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_KNAHCHDLEOM Unk2700_MOFABPNGIKP = 7 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_CAIOEECIPIM Unk2700_MOFABPNGIKP = 8 + Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_IEICHGLOIAL Unk2700_MOFABPNGIKP = 9 +) + +// Enum value maps for Unk2700_MOFABPNGIKP. +var ( + Unk2700_MOFABPNGIKP_name = map[int32]string{ + 0: "Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ", + 1: "Unk2700_MOFABPNGIKP_Unk2700_IANMLLDEIJH", + 2: "Unk2700_MOFABPNGIKP_Unk2700_CCBNMEBCOKM", + 3: "Unk2700_MOFABPNGIKP_Unk2700_CABFGAEJAIA", + 4: "Unk2700_MOFABPNGIKP_Unk2700_JFPKBELPINO", + 5: "Unk2700_MOFABPNGIKP_Unk2700_ECHKDKLKPLH", + 6: "Unk2700_MOFABPNGIKP_Unk2700_NALBIHIEGAF", + 7: "Unk2700_MOFABPNGIKP_Unk2700_KNAHCHDLEOM", + 8: "Unk2700_MOFABPNGIKP_Unk2700_CAIOEECIPIM", + 9: "Unk2700_MOFABPNGIKP_Unk2700_IEICHGLOIAL", + } + Unk2700_MOFABPNGIKP_value = map[string]int32{ + "Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ": 0, + "Unk2700_MOFABPNGIKP_Unk2700_IANMLLDEIJH": 1, + "Unk2700_MOFABPNGIKP_Unk2700_CCBNMEBCOKM": 2, + "Unk2700_MOFABPNGIKP_Unk2700_CABFGAEJAIA": 3, + "Unk2700_MOFABPNGIKP_Unk2700_JFPKBELPINO": 4, + "Unk2700_MOFABPNGIKP_Unk2700_ECHKDKLKPLH": 5, + "Unk2700_MOFABPNGIKP_Unk2700_NALBIHIEGAF": 6, + "Unk2700_MOFABPNGIKP_Unk2700_KNAHCHDLEOM": 7, + "Unk2700_MOFABPNGIKP_Unk2700_CAIOEECIPIM": 8, + "Unk2700_MOFABPNGIKP_Unk2700_IEICHGLOIAL": 9, + } +) + +func (x Unk2700_MOFABPNGIKP) Enum() *Unk2700_MOFABPNGIKP { + p := new(Unk2700_MOFABPNGIKP) + *p = x + return p +} + +func (x Unk2700_MOFABPNGIKP) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_MOFABPNGIKP) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_MOFABPNGIKP_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_MOFABPNGIKP) Type() protoreflect.EnumType { + return &file_Unk2700_MOFABPNGIKP_proto_enumTypes[0] +} + +func (x Unk2700_MOFABPNGIKP) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_MOFABPNGIKP.Descriptor instead. +func (Unk2700_MOFABPNGIKP) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_MOFABPNGIKP_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_MOFABPNGIKP_proto protoreflect.FileDescriptor + +var file_Unk2700_MOFABPNGIKP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, + 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xd7, 0x03, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, + 0x49, 0x4b, 0x50, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x47, 0x4a, 0x46, 0x4b, 0x4b, 0x49, 0x42, 0x4c, 0x43, 0x4a, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, + 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x41, 0x4e, 0x4d, 0x4c, 0x4c, 0x44, 0x45, 0x49, 0x4a, 0x48, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, + 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x42, + 0x4e, 0x4d, 0x45, 0x42, 0x43, 0x4f, 0x4b, 0x4d, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, + 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x41, 0x42, 0x46, 0x47, 0x41, + 0x45, 0x4a, 0x41, 0x49, 0x41, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x46, 0x50, 0x4b, 0x42, 0x45, 0x4c, 0x50, 0x49, + 0x4e, 0x4f, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x48, 0x4b, 0x44, 0x4b, 0x4c, 0x4b, 0x50, 0x4c, 0x48, 0x10, + 0x05, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, + 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x41, 0x4c, 0x42, 0x49, 0x48, 0x49, 0x45, 0x47, 0x41, 0x46, 0x10, 0x06, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, + 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4e, + 0x41, 0x48, 0x43, 0x48, 0x44, 0x4c, 0x45, 0x4f, 0x4d, 0x10, 0x07, 0x12, 0x2b, 0x0a, 0x27, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, + 0x4b, 0x50, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x41, 0x49, 0x4f, 0x45, + 0x45, 0x43, 0x49, 0x50, 0x49, 0x4d, 0x10, 0x08, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x5f, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x49, 0x43, 0x48, 0x47, 0x4c, 0x4f, + 0x49, 0x41, 0x4c, 0x10, 0x09, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MOFABPNGIKP_proto_rawDescOnce sync.Once + file_Unk2700_MOFABPNGIKP_proto_rawDescData = file_Unk2700_MOFABPNGIKP_proto_rawDesc +) + +func file_Unk2700_MOFABPNGIKP_proto_rawDescGZIP() []byte { + file_Unk2700_MOFABPNGIKP_proto_rawDescOnce.Do(func() { + file_Unk2700_MOFABPNGIKP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MOFABPNGIKP_proto_rawDescData) + }) + return file_Unk2700_MOFABPNGIKP_proto_rawDescData +} + +var file_Unk2700_MOFABPNGIKP_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_MOFABPNGIKP_proto_goTypes = []interface{}{ + (Unk2700_MOFABPNGIKP)(0), // 0: Unk2700_MOFABPNGIKP +} +var file_Unk2700_MOFABPNGIKP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MOFABPNGIKP_proto_init() } +func file_Unk2700_MOFABPNGIKP_proto_init() { + if File_Unk2700_MOFABPNGIKP_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MOFABPNGIKP_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MOFABPNGIKP_proto_goTypes, + DependencyIndexes: file_Unk2700_MOFABPNGIKP_proto_depIdxs, + EnumInfos: file_Unk2700_MOFABPNGIKP_proto_enumTypes, + }.Build() + File_Unk2700_MOFABPNGIKP_proto = out.File + file_Unk2700_MOFABPNGIKP_proto_rawDesc = nil + file_Unk2700_MOFABPNGIKP_proto_goTypes = nil + file_Unk2700_MOFABPNGIKP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.proto b/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.proto new file mode 100644 index 00000000..18295809 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MOFABPNGIKP.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_MOFABPNGIKP { + Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ = 0; + Unk2700_MOFABPNGIKP_Unk2700_IANMLLDEIJH = 1; + Unk2700_MOFABPNGIKP_Unk2700_CCBNMEBCOKM = 2; + Unk2700_MOFABPNGIKP_Unk2700_CABFGAEJAIA = 3; + Unk2700_MOFABPNGIKP_Unk2700_JFPKBELPINO = 4; + Unk2700_MOFABPNGIKP_Unk2700_ECHKDKLKPLH = 5; + Unk2700_MOFABPNGIKP_Unk2700_NALBIHIEGAF = 6; + Unk2700_MOFABPNGIKP_Unk2700_KNAHCHDLEOM = 7; + Unk2700_MOFABPNGIKP_Unk2700_CAIOEECIPIM = 8; + Unk2700_MOFABPNGIKP_Unk2700_IEICHGLOIAL = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.pb.go b/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.pb.go new file mode 100644 index 00000000..22e01240 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.pb.go @@ -0,0 +1,242 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MPELMDDJFHO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_MPELMDDJFHO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,1,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + DungeonId uint32 `protobuf:"varint,2,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_MONNIDCNDFI string `protobuf:"bytes,3,opt,name=Unk2700_MONNIDCNDFI,json=Unk2700MONNIDCNDFI,proto3" json:"Unk2700_MONNIDCNDFI,omitempty"` + TagList []uint32 `protobuf:"varint,4,rep,packed,name=tag_list,json=tagList,proto3" json:"tag_list,omitempty"` + Unk2700_JGFDODPBGFL *Unk2700_GBHAPPCDCIL `protobuf:"bytes,5,opt,name=Unk2700_JGFDODPBGFL,json=Unk2700JGFDODPBGFL,proto3" json:"Unk2700_JGFDODPBGFL,omitempty"` + Unk2700_PCFIKJEDEGN *Unk2700_IOONEPPHCJP `protobuf:"bytes,6,opt,name=Unk2700_PCFIKJEDEGN,json=Unk2700PCFIKJEDEGN,proto3" json:"Unk2700_PCFIKJEDEGN,omitempty"` + Unk2700_IKGOMKLAJLH *Unk2700_PDGLEKKMCBD `protobuf:"bytes,7,opt,name=Unk2700_IKGOMKLAJLH,json=Unk2700IKGOMKLAJLH,proto3" json:"Unk2700_IKGOMKLAJLH,omitempty"` +} + +func (x *Unk2700_MPELMDDJFHO) Reset() { + *x = Unk2700_MPELMDDJFHO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MPELMDDJFHO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MPELMDDJFHO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MPELMDDJFHO) ProtoMessage() {} + +func (x *Unk2700_MPELMDDJFHO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MPELMDDJFHO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MPELMDDJFHO.ProtoReflect.Descriptor instead. +func (*Unk2700_MPELMDDJFHO) Descriptor() ([]byte, []int) { + return file_Unk2700_MPELMDDJFHO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MPELMDDJFHO) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_MPELMDDJFHO) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_MPELMDDJFHO) GetUnk2700_MONNIDCNDFI() string { + if x != nil { + return x.Unk2700_MONNIDCNDFI + } + return "" +} + +func (x *Unk2700_MPELMDDJFHO) GetTagList() []uint32 { + if x != nil { + return x.TagList + } + return nil +} + +func (x *Unk2700_MPELMDDJFHO) GetUnk2700_JGFDODPBGFL() *Unk2700_GBHAPPCDCIL { + if x != nil { + return x.Unk2700_JGFDODPBGFL + } + return nil +} + +func (x *Unk2700_MPELMDDJFHO) GetUnk2700_PCFIKJEDEGN() *Unk2700_IOONEPPHCJP { + if x != nil { + return x.Unk2700_PCFIKJEDEGN + } + return nil +} + +func (x *Unk2700_MPELMDDJFHO) GetUnk2700_IKGOMKLAJLH() *Unk2700_PDGLEKKMCBD { + if x != nil { + return x.Unk2700_IKGOMKLAJLH + } + return nil +} + +var File_Unk2700_MPELMDDJFHO_proto protoreflect.FileDescriptor + +var file_Unk2700_MPELMDDJFHO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x45, 0x4c, 0x4d, 0x44, + 0x44, 0x4a, 0x46, 0x48, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x48, 0x41, 0x50, 0x50, 0x43, 0x44, 0x43, 0x49, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x4f, 0x4f, 0x4e, 0x45, 0x50, 0x50, 0x48, 0x43, 0x4a, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4c, 0x45, + 0x4b, 0x4b, 0x4d, 0x43, 0x42, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x03, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x45, 0x4c, 0x4d, 0x44, 0x44, + 0x4a, 0x46, 0x48, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, + 0x45, 0x41, 0x42, 0x4f, 0x45, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4d, 0x4f, 0x4e, 0x4e, 0x49, 0x44, 0x43, 0x4e, 0x44, 0x46, 0x49, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4f, 0x4e, 0x4e, 0x49, 0x44, + 0x43, 0x4e, 0x44, 0x46, 0x49, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x47, 0x46, 0x44, + 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x42, 0x48, 0x41, 0x50, 0x50, 0x43, 0x44, + 0x43, 0x49, 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x47, 0x46, 0x44, + 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x4f, 0x4f, 0x4e, 0x45, 0x50, 0x50, 0x48, 0x43, 0x4a, 0x50, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x50, 0x43, 0x46, 0x49, 0x4b, 0x4a, 0x45, 0x44, 0x45, 0x47, 0x4e, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, + 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4c, 0x45, 0x4b, 0x4b, 0x4d, 0x43, 0x42, + 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x4b, 0x47, 0x4f, 0x4d, 0x4b, + 0x4c, 0x41, 0x4a, 0x4c, 0x48, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MPELMDDJFHO_proto_rawDescOnce sync.Once + file_Unk2700_MPELMDDJFHO_proto_rawDescData = file_Unk2700_MPELMDDJFHO_proto_rawDesc +) + +func file_Unk2700_MPELMDDJFHO_proto_rawDescGZIP() []byte { + file_Unk2700_MPELMDDJFHO_proto_rawDescOnce.Do(func() { + file_Unk2700_MPELMDDJFHO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MPELMDDJFHO_proto_rawDescData) + }) + return file_Unk2700_MPELMDDJFHO_proto_rawDescData +} + +var file_Unk2700_MPELMDDJFHO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MPELMDDJFHO_proto_goTypes = []interface{}{ + (*Unk2700_MPELMDDJFHO)(nil), // 0: Unk2700_MPELMDDJFHO + (*Unk2700_GBHAPPCDCIL)(nil), // 1: Unk2700_GBHAPPCDCIL + (*Unk2700_IOONEPPHCJP)(nil), // 2: Unk2700_IOONEPPHCJP + (*Unk2700_PDGLEKKMCBD)(nil), // 3: Unk2700_PDGLEKKMCBD +} +var file_Unk2700_MPELMDDJFHO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_MPELMDDJFHO.Unk2700_JGFDODPBGFL:type_name -> Unk2700_GBHAPPCDCIL + 2, // 1: Unk2700_MPELMDDJFHO.Unk2700_PCFIKJEDEGN:type_name -> Unk2700_IOONEPPHCJP + 3, // 2: Unk2700_MPELMDDJFHO.Unk2700_IKGOMKLAJLH:type_name -> Unk2700_PDGLEKKMCBD + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2700_MPELMDDJFHO_proto_init() } +func file_Unk2700_MPELMDDJFHO_proto_init() { + if File_Unk2700_MPELMDDJFHO_proto != nil { + return + } + file_Unk2700_GBHAPPCDCIL_proto_init() + file_Unk2700_IOONEPPHCJP_proto_init() + file_Unk2700_PDGLEKKMCBD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_MPELMDDJFHO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MPELMDDJFHO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MPELMDDJFHO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MPELMDDJFHO_proto_goTypes, + DependencyIndexes: file_Unk2700_MPELMDDJFHO_proto_depIdxs, + MessageInfos: file_Unk2700_MPELMDDJFHO_proto_msgTypes, + }.Build() + File_Unk2700_MPELMDDJFHO_proto = out.File + file_Unk2700_MPELMDDJFHO_proto_rawDesc = nil + file_Unk2700_MPELMDDJFHO_proto_goTypes = nil + file_Unk2700_MPELMDDJFHO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.proto b/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.proto new file mode 100644 index 00000000..226d0ce8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MPELMDDJFHO.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GBHAPPCDCIL.proto"; +import "Unk2700_IOONEPPHCJP.proto"; +import "Unk2700_PDGLEKKMCBD.proto"; + +option go_package = "./;proto"; + +message Unk2700_MPELMDDJFHO { + uint64 Unk2700_ONOOJBEABOE = 1; + uint32 dungeon_id = 2; + string Unk2700_MONNIDCNDFI = 3; + repeated uint32 tag_list = 4; + Unk2700_GBHAPPCDCIL Unk2700_JGFDODPBGFL = 5; + Unk2700_IOONEPPHCJP Unk2700_PCFIKJEDEGN = 6; + Unk2700_PDGLEKKMCBD Unk2700_IKGOMKLAJLH = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.pb.go new file mode 100644 index 00000000..18a0a2a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_MPPAHFFHIPI_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4187 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_MPPAHFFHIPI_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MatchId uint32 `protobuf:"varint,9,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` +} + +func (x *Unk2700_MPPAHFFHIPI_ServerNotify) Reset() { + *x = Unk2700_MPPAHFFHIPI_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_MPPAHFFHIPI_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_MPPAHFFHIPI_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_MPPAHFFHIPI_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_MPPAHFFHIPI_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_MPPAHFFHIPI_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_MPPAHFFHIPI_ServerNotify) GetMatchId() uint32 { + if x != nil { + return x.MatchId + } + return 0 +} + +var File_Unk2700_MPPAHFFHIPI_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x50, 0x41, 0x48, 0x46, + 0x46, 0x48, 0x49, 0x50, 0x49, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x50, 0x41, 0x48, 0x46, 0x46, 0x48, 0x49, 0x50, 0x49, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x19, 0x0a, 0x08, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescData = file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDesc +) + +func file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDescData +} + +var file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_MPPAHFFHIPI_ServerNotify)(nil), // 0: Unk2700_MPPAHFFHIPI_ServerNotify +} +var file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_init() } +func file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_init() { + if File_Unk2700_MPPAHFFHIPI_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_MPPAHFFHIPI_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_MPPAHFFHIPI_ServerNotify_proto = out.File + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_rawDesc = nil + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_goTypes = nil + file_Unk2700_MPPAHFFHIPI_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.proto new file mode 100644 index 00000000..ef71aa92 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_MPPAHFFHIPI_ServerNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4187 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_MPPAHFFHIPI_ServerNotify { + uint32 match_id = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.pb.go b/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.pb.go new file mode 100644 index 00000000..fb970c99 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NAEHEDLGLKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NAEHEDLGLKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_NAEHEDLGLKA) Reset() { + *x = Unk2700_NAEHEDLGLKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NAEHEDLGLKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NAEHEDLGLKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NAEHEDLGLKA) ProtoMessage() {} + +func (x *Unk2700_NAEHEDLGLKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NAEHEDLGLKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NAEHEDLGLKA.ProtoReflect.Descriptor instead. +func (*Unk2700_NAEHEDLGLKA) Descriptor() ([]byte, []int) { + return file_Unk2700_NAEHEDLGLKA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_NAEHEDLGLKA_proto protoreflect.FileDescriptor + +var file_Unk2700_NAEHEDLGLKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x45, 0x48, 0x45, 0x44, + 0x4c, 0x47, 0x4c, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x45, 0x48, 0x45, 0x44, 0x4c, 0x47, 0x4c, + 0x4b, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NAEHEDLGLKA_proto_rawDescOnce sync.Once + file_Unk2700_NAEHEDLGLKA_proto_rawDescData = file_Unk2700_NAEHEDLGLKA_proto_rawDesc +) + +func file_Unk2700_NAEHEDLGLKA_proto_rawDescGZIP() []byte { + file_Unk2700_NAEHEDLGLKA_proto_rawDescOnce.Do(func() { + file_Unk2700_NAEHEDLGLKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NAEHEDLGLKA_proto_rawDescData) + }) + return file_Unk2700_NAEHEDLGLKA_proto_rawDescData +} + +var file_Unk2700_NAEHEDLGLKA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NAEHEDLGLKA_proto_goTypes = []interface{}{ + (*Unk2700_NAEHEDLGLKA)(nil), // 0: Unk2700_NAEHEDLGLKA +} +var file_Unk2700_NAEHEDLGLKA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NAEHEDLGLKA_proto_init() } +func file_Unk2700_NAEHEDLGLKA_proto_init() { + if File_Unk2700_NAEHEDLGLKA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NAEHEDLGLKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NAEHEDLGLKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NAEHEDLGLKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NAEHEDLGLKA_proto_goTypes, + DependencyIndexes: file_Unk2700_NAEHEDLGLKA_proto_depIdxs, + MessageInfos: file_Unk2700_NAEHEDLGLKA_proto_msgTypes, + }.Build() + File_Unk2700_NAEHEDLGLKA_proto = out.File + file_Unk2700_NAEHEDLGLKA_proto_rawDesc = nil + file_Unk2700_NAEHEDLGLKA_proto_goTypes = nil + file_Unk2700_NAEHEDLGLKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.proto b/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.proto new file mode 100644 index 00000000..28d05a3e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAEHEDLGLKA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8257 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NAEHEDLGLKA {} diff --git a/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.pb.go b/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.pb.go new file mode 100644 index 00000000..497556d3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NAFAIMHFEFG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NAFAIMHFEFG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,11,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *Unk2700_NAFAIMHFEFG) Reset() { + *x = Unk2700_NAFAIMHFEFG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NAFAIMHFEFG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NAFAIMHFEFG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NAFAIMHFEFG) ProtoMessage() {} + +func (x *Unk2700_NAFAIMHFEFG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NAFAIMHFEFG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NAFAIMHFEFG.ProtoReflect.Descriptor instead. +func (*Unk2700_NAFAIMHFEFG) Descriptor() ([]byte, []int) { + return file_Unk2700_NAFAIMHFEFG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NAFAIMHFEFG) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *Unk2700_NAFAIMHFEFG) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk2700_NAFAIMHFEFG) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_Unk2700_NAFAIMHFEFG_proto protoreflect.FileDescriptor + +var file_Unk2700_NAFAIMHFEFG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x46, 0x41, 0x49, 0x4d, + 0x48, 0x46, 0x45, 0x46, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x46, 0x41, 0x49, 0x4d, 0x48, 0x46, 0x45, 0x46, 0x47, + 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, + 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NAFAIMHFEFG_proto_rawDescOnce sync.Once + file_Unk2700_NAFAIMHFEFG_proto_rawDescData = file_Unk2700_NAFAIMHFEFG_proto_rawDesc +) + +func file_Unk2700_NAFAIMHFEFG_proto_rawDescGZIP() []byte { + file_Unk2700_NAFAIMHFEFG_proto_rawDescOnce.Do(func() { + file_Unk2700_NAFAIMHFEFG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NAFAIMHFEFG_proto_rawDescData) + }) + return file_Unk2700_NAFAIMHFEFG_proto_rawDescData +} + +var file_Unk2700_NAFAIMHFEFG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NAFAIMHFEFG_proto_goTypes = []interface{}{ + (*Unk2700_NAFAIMHFEFG)(nil), // 0: Unk2700_NAFAIMHFEFG + (*Vector)(nil), // 1: Vector +} +var file_Unk2700_NAFAIMHFEFG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NAFAIMHFEFG.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NAFAIMHFEFG_proto_init() } +func file_Unk2700_NAFAIMHFEFG_proto_init() { + if File_Unk2700_NAFAIMHFEFG_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NAFAIMHFEFG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NAFAIMHFEFG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NAFAIMHFEFG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NAFAIMHFEFG_proto_goTypes, + DependencyIndexes: file_Unk2700_NAFAIMHFEFG_proto_depIdxs, + MessageInfos: file_Unk2700_NAFAIMHFEFG_proto_msgTypes, + }.Build() + File_Unk2700_NAFAIMHFEFG_proto = out.File + file_Unk2700_NAFAIMHFEFG_proto_rawDesc = nil + file_Unk2700_NAFAIMHFEFG_proto_goTypes = nil + file_Unk2700_NAFAIMHFEFG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.proto b/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.proto new file mode 100644 index 00000000..f4ab9aa8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAFAIMHFEFG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk2700_NAFAIMHFEFG { + Vector pos = 10; + uint32 group_id = 2; + uint32 config_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.pb.go b/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.pb.go new file mode 100644 index 00000000..480ecc37 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NAPLFKNOECD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NAPLFKNOECD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type uint32 `protobuf:"varint,15,opt,name=type,proto3" json:"type,omitempty"` + Unk2700_KJGKBENCNKF float32 `protobuf:"fixed32,11,opt,name=Unk2700_KJGKBENCNKF,json=Unk2700KJGKBENCNKF,proto3" json:"Unk2700_KJGKBENCNKF,omitempty"` + Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` + Unk2700_POGMHNNJKDM float32 `protobuf:"fixed32,10,opt,name=Unk2700_POGMHNNJKDM,json=Unk2700POGMHNNJKDM,proto3" json:"Unk2700_POGMHNNJKDM,omitempty"` +} + +func (x *Unk2700_NAPLFKNOECD) Reset() { + *x = Unk2700_NAPLFKNOECD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NAPLFKNOECD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NAPLFKNOECD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NAPLFKNOECD) ProtoMessage() {} + +func (x *Unk2700_NAPLFKNOECD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NAPLFKNOECD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NAPLFKNOECD.ProtoReflect.Descriptor instead. +func (*Unk2700_NAPLFKNOECD) Descriptor() ([]byte, []int) { + return file_Unk2700_NAPLFKNOECD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NAPLFKNOECD) GetType() uint32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *Unk2700_NAPLFKNOECD) GetUnk2700_KJGKBENCNKF() float32 { + if x != nil { + return x.Unk2700_KJGKBENCNKF + } + return 0 +} + +func (x *Unk2700_NAPLFKNOECD) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *Unk2700_NAPLFKNOECD) GetUnk2700_POGMHNNJKDM() float32 { + if x != nil { + return x.Unk2700_POGMHNNJKDM + } + return 0 +} + +var File_Unk2700_NAPLFKNOECD_proto protoreflect.FileDescriptor + +var file_Unk2700_NAPLFKNOECD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x50, 0x4c, 0x46, 0x4b, + 0x4e, 0x4f, 0x45, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x41, 0x50, 0x4c, 0x46, 0x4b, 0x4e, 0x4f, + 0x45, 0x43, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x47, 0x4b, 0x42, 0x45, 0x4e, 0x43, 0x4e, 0x4b, 0x46, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4a, 0x47, + 0x4b, 0x42, 0x45, 0x4e, 0x43, 0x4e, 0x4b, 0x46, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x47, 0x4d, 0x48, 0x4e, + 0x4e, 0x4a, 0x4b, 0x44, 0x4d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x50, 0x4f, 0x47, 0x4d, 0x48, 0x4e, 0x4e, 0x4a, 0x4b, 0x44, 0x4d, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NAPLFKNOECD_proto_rawDescOnce sync.Once + file_Unk2700_NAPLFKNOECD_proto_rawDescData = file_Unk2700_NAPLFKNOECD_proto_rawDesc +) + +func file_Unk2700_NAPLFKNOECD_proto_rawDescGZIP() []byte { + file_Unk2700_NAPLFKNOECD_proto_rawDescOnce.Do(func() { + file_Unk2700_NAPLFKNOECD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NAPLFKNOECD_proto_rawDescData) + }) + return file_Unk2700_NAPLFKNOECD_proto_rawDescData +} + +var file_Unk2700_NAPLFKNOECD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NAPLFKNOECD_proto_goTypes = []interface{}{ + (*Unk2700_NAPLFKNOECD)(nil), // 0: Unk2700_NAPLFKNOECD +} +var file_Unk2700_NAPLFKNOECD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NAPLFKNOECD_proto_init() } +func file_Unk2700_NAPLFKNOECD_proto_init() { + if File_Unk2700_NAPLFKNOECD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NAPLFKNOECD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NAPLFKNOECD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NAPLFKNOECD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NAPLFKNOECD_proto_goTypes, + DependencyIndexes: file_Unk2700_NAPLFKNOECD_proto_depIdxs, + MessageInfos: file_Unk2700_NAPLFKNOECD_proto_msgTypes, + }.Build() + File_Unk2700_NAPLFKNOECD_proto = out.File + file_Unk2700_NAPLFKNOECD_proto_rawDesc = nil + file_Unk2700_NAPLFKNOECD_proto_goTypes = nil + file_Unk2700_NAPLFKNOECD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.proto b/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.proto new file mode 100644 index 00000000..39452bcb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NAPLFKNOECD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_NAPLFKNOECD { + uint32 type = 15; + float Unk2700_KJGKBENCNKF = 11; + float value = 3; + float Unk2700_POGMHNNJKDM = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.pb.go new file mode 100644 index 00000000..8090bb4b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NBFJOJPCCEK_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6057 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NBFJOJPCCEK_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_NBFJOJPCCEK_ServerRsp) Reset() { + *x = Unk2700_NBFJOJPCCEK_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NBFJOJPCCEK_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NBFJOJPCCEK_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_NBFJOJPCCEK_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NBFJOJPCCEK_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_NBFJOJPCCEK_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NBFJOJPCCEK_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_NBFJOJPCCEK_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x42, 0x46, 0x4a, 0x4f, 0x4a, + 0x50, 0x43, 0x43, 0x45, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x42, 0x46, 0x4a, 0x4f, 0x4a, 0x50, 0x43, 0x43, 0x45, 0x4b, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescData = file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDesc +) + +func file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDescData +} + +var file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_NBFJOJPCCEK_ServerRsp)(nil), // 0: Unk2700_NBFJOJPCCEK_ServerRsp +} +var file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_init() } +func file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_init() { + if File_Unk2700_NBFJOJPCCEK_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NBFJOJPCCEK_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_NBFJOJPCCEK_ServerRsp_proto = out.File + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_rawDesc = nil + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_goTypes = nil + file_Unk2700_NBFJOJPCCEK_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.proto new file mode 100644 index 00000000..c79048b2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NBFJOJPCCEK_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6057 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NBFJOJPCCEK_ServerRsp { + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.pb.go new file mode 100644 index 00000000..196dceb8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NBFOJLAHFCA_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5928 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NBFOJLAHFCA_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_KKDHNGGEFDI []*Unk2700_JMPCGMBHJLG `protobuf:"bytes,12,rep,name=Unk2700_KKDHNGGEFDI,json=Unk2700KKDHNGGEFDI,proto3" json:"Unk2700_KKDHNGGEFDI,omitempty"` + Unk2700_BHOEBCNOEEG uint32 `protobuf:"varint,4,opt,name=Unk2700_BHOEBCNOEEG,json=Unk2700BHOEBCNOEEG,proto3" json:"Unk2700_BHOEBCNOEEG,omitempty"` +} + +func (x *Unk2700_NBFOJLAHFCA_ServerNotify) Reset() { + *x = Unk2700_NBFOJLAHFCA_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NBFOJLAHFCA_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NBFOJLAHFCA_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_NBFOJLAHFCA_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NBFOJLAHFCA_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NBFOJLAHFCA_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NBFOJLAHFCA_ServerNotify) GetUnk2700_KKDHNGGEFDI() []*Unk2700_JMPCGMBHJLG { + if x != nil { + return x.Unk2700_KKDHNGGEFDI + } + return nil +} + +func (x *Unk2700_NBFOJLAHFCA_ServerNotify) GetUnk2700_BHOEBCNOEEG() uint32 { + if x != nil { + return x.Unk2700_BHOEBCNOEEG + } + return 0 +} + +var File_Unk2700_NBFOJLAHFCA_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x42, 0x46, 0x4f, 0x4a, 0x4c, + 0x41, 0x48, 0x46, 0x43, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4a, 0x4d, 0x50, 0x43, 0x47, 0x4d, 0x42, 0x48, 0x4a, 0x4c, 0x47, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4e, 0x42, 0x46, 0x4f, 0x4a, 0x4c, 0x41, 0x48, 0x46, 0x43, 0x41, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x44, 0x48, 0x4e, 0x47, 0x47, 0x45, 0x46, 0x44, 0x49, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4a, 0x4d, 0x50, 0x43, 0x47, 0x4d, 0x42, 0x48, 0x4a, 0x4c, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4b, 0x4b, 0x44, 0x48, 0x4e, 0x47, 0x47, 0x45, 0x46, 0x44, 0x49, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x48, 0x4f, 0x45, 0x42, + 0x43, 0x4e, 0x4f, 0x45, 0x45, 0x47, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x48, 0x4f, 0x45, 0x42, 0x43, 0x4e, 0x4f, 0x45, 0x45, 0x47, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescData = file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDesc +) + +func file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDescData +} + +var file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_NBFOJLAHFCA_ServerNotify)(nil), // 0: Unk2700_NBFOJLAHFCA_ServerNotify + (*Unk2700_JMPCGMBHJLG)(nil), // 1: Unk2700_JMPCGMBHJLG +} +var file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NBFOJLAHFCA_ServerNotify.Unk2700_KKDHNGGEFDI:type_name -> Unk2700_JMPCGMBHJLG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_init() } +func file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_init() { + if File_Unk2700_NBFOJLAHFCA_ServerNotify_proto != nil { + return + } + file_Unk2700_JMPCGMBHJLG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NBFOJLAHFCA_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_NBFOJLAHFCA_ServerNotify_proto = out.File + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_rawDesc = nil + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_goTypes = nil + file_Unk2700_NBFOJLAHFCA_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.proto new file mode 100644 index 00000000..e581de42 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NBFOJLAHFCA_ServerNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_JMPCGMBHJLG.proto"; + +option go_package = "./;proto"; + +// CmdId: 5928 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NBFOJLAHFCA_ServerNotify { + repeated Unk2700_JMPCGMBHJLG Unk2700_KKDHNGGEFDI = 12; + uint32 Unk2700_BHOEBCNOEEG = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.pb.go new file mode 100644 index 00000000..3176b633 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NCJLMACGOCD_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 933 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NCJLMACGOCD_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_CCPALMMFDFC uint32 `protobuf:"varint,5,opt,name=Unk2700_CCPALMMFDFC,json=Unk2700CCPALMMFDFC,proto3" json:"Unk2700_CCPALMMFDFC,omitempty"` + Unk2700_NEMOEIFHIFC uint32 `protobuf:"varint,10,opt,name=Unk2700_NEMOEIFHIFC,json=Unk2700NEMOEIFHIFC,proto3" json:"Unk2700_NEMOEIFHIFC,omitempty"` + DungeonId uint32 `protobuf:"varint,3,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` +} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) Reset() { + *x = Unk2700_NCJLMACGOCD_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NCJLMACGOCD_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NCJLMACGOCD_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NCJLMACGOCD_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NCJLMACGOCD_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NCJLMACGOCD_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) GetUnk2700_CCPALMMFDFC() uint32 { + if x != nil { + return x.Unk2700_CCPALMMFDFC + } + return 0 +} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) GetUnk2700_NEMOEIFHIFC() uint32 { + if x != nil { + return x.Unk2700_NEMOEIFHIFC + } + return 0 +} + +func (x *Unk2700_NCJLMACGOCD_ClientNotify) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +var File_Unk2700_NCJLMACGOCD_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4a, 0x4c, 0x4d, 0x41, + 0x43, 0x47, 0x4f, 0x43, 0x44, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4a, 0x4c, 0x4d, 0x41, 0x43, 0x47, 0x4f, 0x43, 0x44, + 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x50, 0x41, 0x4c, 0x4d, 0x4d, + 0x46, 0x44, 0x46, 0x43, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x43, 0x43, 0x50, 0x41, 0x4c, 0x4d, 0x4d, 0x46, 0x44, 0x46, 0x43, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x45, 0x4d, 0x4f, 0x45, 0x49, + 0x46, 0x48, 0x49, 0x46, 0x43, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4e, 0x45, 0x4d, 0x4f, 0x45, 0x49, 0x46, 0x48, 0x49, 0x46, 0x43, 0x12, + 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescData = file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDesc +) + +func file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDescData +} + +var file_Unk2700_NCJLMACGOCD_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NCJLMACGOCD_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_NCJLMACGOCD_ClientNotify)(nil), // 0: Unk2700_NCJLMACGOCD_ClientNotify +} +var file_Unk2700_NCJLMACGOCD_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NCJLMACGOCD_ClientNotify_proto_init() } +func file_Unk2700_NCJLMACGOCD_ClientNotify_proto_init() { + if File_Unk2700_NCJLMACGOCD_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NCJLMACGOCD_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NCJLMACGOCD_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NCJLMACGOCD_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NCJLMACGOCD_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_NCJLMACGOCD_ClientNotify_proto = out.File + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_rawDesc = nil + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_goTypes = nil + file_Unk2700_NCJLMACGOCD_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.proto new file mode 100644 index 00000000..f6a8c4d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCJLMACGOCD_ClientNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 933 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NCJLMACGOCD_ClientNotify { + uint32 Unk2700_CCPALMMFDFC = 5; + uint32 Unk2700_NEMOEIFHIFC = 10; + uint32 dungeon_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.pb.go b/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.pb.go new file mode 100644 index 00000000..c36e56cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NCMPMILICGJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8407 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NCMPMILICGJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IGMHNDNGNPG uint32 `protobuf:"varint,3,opt,name=Unk2700_IGMHNDNGNPG,json=Unk2700IGMHNDNGNPG,proto3" json:"Unk2700_IGMHNDNGNPG,omitempty"` + Unk2700_KIAHJKGOLGO uint32 `protobuf:"varint,7,opt,name=Unk2700_KIAHJKGOLGO,json=Unk2700KIAHJKGOLGO,proto3" json:"Unk2700_KIAHJKGOLGO,omitempty"` + AvatarId uint32 `protobuf:"varint,11,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *Unk2700_NCMPMILICGJ) Reset() { + *x = Unk2700_NCMPMILICGJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NCMPMILICGJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NCMPMILICGJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NCMPMILICGJ) ProtoMessage() {} + +func (x *Unk2700_NCMPMILICGJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NCMPMILICGJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NCMPMILICGJ.ProtoReflect.Descriptor instead. +func (*Unk2700_NCMPMILICGJ) Descriptor() ([]byte, []int) { + return file_Unk2700_NCMPMILICGJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NCMPMILICGJ) GetUnk2700_IGMHNDNGNPG() uint32 { + if x != nil { + return x.Unk2700_IGMHNDNGNPG + } + return 0 +} + +func (x *Unk2700_NCMPMILICGJ) GetUnk2700_KIAHJKGOLGO() uint32 { + if x != nil { + return x.Unk2700_KIAHJKGOLGO + } + return 0 +} + +func (x *Unk2700_NCMPMILICGJ) GetAvatarId() uint32 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_Unk2700_NCMPMILICGJ_proto protoreflect.FileDescriptor + +var file_Unk2700_NCMPMILICGJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4d, 0x50, 0x4d, 0x49, + 0x4c, 0x49, 0x43, 0x47, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4d, 0x50, 0x4d, 0x49, 0x4c, 0x49, + 0x43, 0x47, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, + 0x47, 0x4d, 0x48, 0x4e, 0x44, 0x4e, 0x47, 0x4e, 0x50, 0x47, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x47, 0x4d, 0x48, 0x4e, 0x44, 0x4e, + 0x47, 0x4e, 0x50, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4b, 0x49, 0x41, 0x48, 0x4a, 0x4b, 0x47, 0x4f, 0x4c, 0x47, 0x4f, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x49, 0x41, 0x48, 0x4a, 0x4b, + 0x47, 0x4f, 0x4c, 0x47, 0x4f, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NCMPMILICGJ_proto_rawDescOnce sync.Once + file_Unk2700_NCMPMILICGJ_proto_rawDescData = file_Unk2700_NCMPMILICGJ_proto_rawDesc +) + +func file_Unk2700_NCMPMILICGJ_proto_rawDescGZIP() []byte { + file_Unk2700_NCMPMILICGJ_proto_rawDescOnce.Do(func() { + file_Unk2700_NCMPMILICGJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NCMPMILICGJ_proto_rawDescData) + }) + return file_Unk2700_NCMPMILICGJ_proto_rawDescData +} + +var file_Unk2700_NCMPMILICGJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NCMPMILICGJ_proto_goTypes = []interface{}{ + (*Unk2700_NCMPMILICGJ)(nil), // 0: Unk2700_NCMPMILICGJ +} +var file_Unk2700_NCMPMILICGJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NCMPMILICGJ_proto_init() } +func file_Unk2700_NCMPMILICGJ_proto_init() { + if File_Unk2700_NCMPMILICGJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NCMPMILICGJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NCMPMILICGJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NCMPMILICGJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NCMPMILICGJ_proto_goTypes, + DependencyIndexes: file_Unk2700_NCMPMILICGJ_proto_depIdxs, + MessageInfos: file_Unk2700_NCMPMILICGJ_proto_msgTypes, + }.Build() + File_Unk2700_NCMPMILICGJ_proto = out.File + file_Unk2700_NCMPMILICGJ_proto_rawDesc = nil + file_Unk2700_NCMPMILICGJ_proto_goTypes = nil + file_Unk2700_NCMPMILICGJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.proto b/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.proto new file mode 100644 index 00000000..c4356451 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCMPMILICGJ.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8407 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NCMPMILICGJ { + uint32 Unk2700_IGMHNDNGNPG = 3; + uint32 Unk2700_KIAHJKGOLGO = 7; + uint32 avatar_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.pb.go b/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.pb.go new file mode 100644 index 00000000..f690f384 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NCNPNMFFONG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NCNPNMFFONG int32 + +const ( + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_EOOLPOEEAPH Unk2700_NCNPNMFFONG = 0 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_GLPMMPCFDLN Unk2700_NCNPNMFFONG = 1 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_MFPLNPDOELM Unk2700_NCNPNMFFONG = 2 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_EPFDAAKBKML Unk2700_NCNPNMFFONG = 3 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_PMAPHIADDJF Unk2700_NCNPNMFFONG = 4 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_BLJLDKHIPGD Unk2700_NCNPNMFFONG = 5 + Unk2700_NCNPNMFFONG_Unk2700_NCNPNMFFONG_Unk2700_EOPEJCDHJCF Unk2700_NCNPNMFFONG = 6 +) + +// Enum value maps for Unk2700_NCNPNMFFONG. +var ( + Unk2700_NCNPNMFFONG_name = map[int32]string{ + 0: "Unk2700_NCNPNMFFONG_Unk2700_EOOLPOEEAPH", + 1: "Unk2700_NCNPNMFFONG_Unk2700_GLPMMPCFDLN", + 2: "Unk2700_NCNPNMFFONG_Unk2700_MFPLNPDOELM", + 3: "Unk2700_NCNPNMFFONG_Unk2700_EPFDAAKBKML", + 4: "Unk2700_NCNPNMFFONG_Unk2700_PMAPHIADDJF", + 5: "Unk2700_NCNPNMFFONG_Unk2700_BLJLDKHIPGD", + 6: "Unk2700_NCNPNMFFONG_Unk2700_EOPEJCDHJCF", + } + Unk2700_NCNPNMFFONG_value = map[string]int32{ + "Unk2700_NCNPNMFFONG_Unk2700_EOOLPOEEAPH": 0, + "Unk2700_NCNPNMFFONG_Unk2700_GLPMMPCFDLN": 1, + "Unk2700_NCNPNMFFONG_Unk2700_MFPLNPDOELM": 2, + "Unk2700_NCNPNMFFONG_Unk2700_EPFDAAKBKML": 3, + "Unk2700_NCNPNMFFONG_Unk2700_PMAPHIADDJF": 4, + "Unk2700_NCNPNMFFONG_Unk2700_BLJLDKHIPGD": 5, + "Unk2700_NCNPNMFFONG_Unk2700_EOPEJCDHJCF": 6, + } +) + +func (x Unk2700_NCNPNMFFONG) Enum() *Unk2700_NCNPNMFFONG { + p := new(Unk2700_NCNPNMFFONG) + *p = x + return p +} + +func (x Unk2700_NCNPNMFFONG) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_NCNPNMFFONG) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_NCNPNMFFONG_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_NCNPNMFFONG) Type() protoreflect.EnumType { + return &file_Unk2700_NCNPNMFFONG_proto_enumTypes[0] +} + +func (x Unk2700_NCNPNMFFONG) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_NCNPNMFFONG.Descriptor instead. +func (Unk2700_NCNPNMFFONG) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_NCNPNMFFONG_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_NCNPNMFFONG_proto protoreflect.FileDescriptor + +var file_Unk2700_NCNPNMFFONG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, + 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xd0, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, + 0x4f, 0x4e, 0x47, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x4f, 0x4c, 0x50, 0x4f, 0x45, 0x45, 0x41, 0x50, 0x48, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, + 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x47, 0x4c, 0x50, 0x4d, 0x4d, 0x50, 0x43, 0x46, 0x44, 0x4c, 0x4e, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, + 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x50, + 0x4c, 0x4e, 0x50, 0x44, 0x4f, 0x45, 0x4c, 0x4d, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, + 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x50, 0x46, 0x44, 0x41, 0x41, + 0x4b, 0x42, 0x4b, 0x4d, 0x4c, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4d, 0x41, 0x50, 0x48, 0x49, 0x41, 0x44, 0x44, + 0x4a, 0x46, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4e, 0x43, 0x4e, 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x42, 0x4c, 0x4a, 0x4c, 0x44, 0x4b, 0x48, 0x49, 0x50, 0x47, 0x44, 0x10, + 0x05, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x4e, + 0x50, 0x4e, 0x4d, 0x46, 0x46, 0x4f, 0x4e, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x45, 0x4f, 0x50, 0x45, 0x4a, 0x43, 0x44, 0x48, 0x4a, 0x43, 0x46, 0x10, 0x06, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NCNPNMFFONG_proto_rawDescOnce sync.Once + file_Unk2700_NCNPNMFFONG_proto_rawDescData = file_Unk2700_NCNPNMFFONG_proto_rawDesc +) + +func file_Unk2700_NCNPNMFFONG_proto_rawDescGZIP() []byte { + file_Unk2700_NCNPNMFFONG_proto_rawDescOnce.Do(func() { + file_Unk2700_NCNPNMFFONG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NCNPNMFFONG_proto_rawDescData) + }) + return file_Unk2700_NCNPNMFFONG_proto_rawDescData +} + +var file_Unk2700_NCNPNMFFONG_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_NCNPNMFFONG_proto_goTypes = []interface{}{ + (Unk2700_NCNPNMFFONG)(0), // 0: Unk2700_NCNPNMFFONG +} +var file_Unk2700_NCNPNMFFONG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NCNPNMFFONG_proto_init() } +func file_Unk2700_NCNPNMFFONG_proto_init() { + if File_Unk2700_NCNPNMFFONG_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NCNPNMFFONG_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NCNPNMFFONG_proto_goTypes, + DependencyIndexes: file_Unk2700_NCNPNMFFONG_proto_depIdxs, + EnumInfos: file_Unk2700_NCNPNMFFONG_proto_enumTypes, + }.Build() + File_Unk2700_NCNPNMFFONG_proto = out.File + file_Unk2700_NCNPNMFFONG_proto_rawDesc = nil + file_Unk2700_NCNPNMFFONG_proto_goTypes = nil + file_Unk2700_NCNPNMFFONG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.proto b/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.proto new file mode 100644 index 00000000..805f9cf6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCNPNMFFONG.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_NCNPNMFFONG { + Unk2700_NCNPNMFFONG_Unk2700_EOOLPOEEAPH = 0; + Unk2700_NCNPNMFFONG_Unk2700_GLPMMPCFDLN = 1; + Unk2700_NCNPNMFFONG_Unk2700_MFPLNPDOELM = 2; + Unk2700_NCNPNMFFONG_Unk2700_EPFDAAKBKML = 3; + Unk2700_NCNPNMFFONG_Unk2700_PMAPHIADDJF = 4; + Unk2700_NCNPNMFFONG_Unk2700_BLJLDKHIPGD = 5; + Unk2700_NCNPNMFFONG_Unk2700_EOPEJCDHJCF = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.pb.go b/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.pb.go new file mode 100644 index 00000000..e185132e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NCPLKHGCOAH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8767 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NCPLKHGCOAH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,11,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *Unk2700_NCPLKHGCOAH) Reset() { + *x = Unk2700_NCPLKHGCOAH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NCPLKHGCOAH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NCPLKHGCOAH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NCPLKHGCOAH) ProtoMessage() {} + +func (x *Unk2700_NCPLKHGCOAH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NCPLKHGCOAH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NCPLKHGCOAH.ProtoReflect.Descriptor instead. +func (*Unk2700_NCPLKHGCOAH) Descriptor() ([]byte, []int) { + return file_Unk2700_NCPLKHGCOAH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NCPLKHGCOAH) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_Unk2700_NCPLKHGCOAH_proto protoreflect.FileDescriptor + +var file_Unk2700_NCPLKHGCOAH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x50, 0x4c, 0x4b, 0x48, + 0x47, 0x43, 0x4f, 0x41, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x43, 0x50, 0x4c, 0x4b, 0x48, 0x47, 0x43, 0x4f, + 0x41, 0x48, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NCPLKHGCOAH_proto_rawDescOnce sync.Once + file_Unk2700_NCPLKHGCOAH_proto_rawDescData = file_Unk2700_NCPLKHGCOAH_proto_rawDesc +) + +func file_Unk2700_NCPLKHGCOAH_proto_rawDescGZIP() []byte { + file_Unk2700_NCPLKHGCOAH_proto_rawDescOnce.Do(func() { + file_Unk2700_NCPLKHGCOAH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NCPLKHGCOAH_proto_rawDescData) + }) + return file_Unk2700_NCPLKHGCOAH_proto_rawDescData +} + +var file_Unk2700_NCPLKHGCOAH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NCPLKHGCOAH_proto_goTypes = []interface{}{ + (*Unk2700_NCPLKHGCOAH)(nil), // 0: Unk2700_NCPLKHGCOAH +} +var file_Unk2700_NCPLKHGCOAH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NCPLKHGCOAH_proto_init() } +func file_Unk2700_NCPLKHGCOAH_proto_init() { + if File_Unk2700_NCPLKHGCOAH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NCPLKHGCOAH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NCPLKHGCOAH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NCPLKHGCOAH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NCPLKHGCOAH_proto_goTypes, + DependencyIndexes: file_Unk2700_NCPLKHGCOAH_proto_depIdxs, + MessageInfos: file_Unk2700_NCPLKHGCOAH_proto_msgTypes, + }.Build() + File_Unk2700_NCPLKHGCOAH_proto = out.File + file_Unk2700_NCPLKHGCOAH_proto_rawDesc = nil + file_Unk2700_NCPLKHGCOAH_proto_goTypes = nil + file_Unk2700_NCPLKHGCOAH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.proto b/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.proto new file mode 100644 index 00000000..03392c11 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NCPLKHGCOAH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8767 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NCPLKHGCOAH { + uint32 entity_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.pb.go b/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.pb.go new file mode 100644 index 00000000..580cf914 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NDDBFNNHLFE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8340 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NDDBFNNHLFE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *Unk2700_DJKEGIEIKHG `protobuf:"bytes,13,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_NDDBFNNHLFE) Reset() { + *x = Unk2700_NDDBFNNHLFE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NDDBFNNHLFE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NDDBFNNHLFE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NDDBFNNHLFE) ProtoMessage() {} + +func (x *Unk2700_NDDBFNNHLFE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NDDBFNNHLFE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NDDBFNNHLFE.ProtoReflect.Descriptor instead. +func (*Unk2700_NDDBFNNHLFE) Descriptor() ([]byte, []int) { + return file_Unk2700_NDDBFNNHLFE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NDDBFNNHLFE) GetSettleInfo() *Unk2700_DJKEGIEIKHG { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_NDDBFNNHLFE) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_NDDBFNNHLFE_proto protoreflect.FileDescriptor + +var file_Unk2700_NDDBFNNHLFE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x44, 0x44, 0x42, 0x46, 0x4e, + 0x4e, 0x48, 0x4c, 0x46, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4b, 0x45, 0x47, 0x49, 0x45, 0x49, 0x4b, 0x48, 0x47, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x44, 0x44, 0x42, 0x46, 0x4e, 0x4e, 0x48, 0x4c, 0x46, 0x45, 0x12, 0x35, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4b, + 0x45, 0x47, 0x49, 0x45, 0x49, 0x4b, 0x48, 0x47, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NDDBFNNHLFE_proto_rawDescOnce sync.Once + file_Unk2700_NDDBFNNHLFE_proto_rawDescData = file_Unk2700_NDDBFNNHLFE_proto_rawDesc +) + +func file_Unk2700_NDDBFNNHLFE_proto_rawDescGZIP() []byte { + file_Unk2700_NDDBFNNHLFE_proto_rawDescOnce.Do(func() { + file_Unk2700_NDDBFNNHLFE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NDDBFNNHLFE_proto_rawDescData) + }) + return file_Unk2700_NDDBFNNHLFE_proto_rawDescData +} + +var file_Unk2700_NDDBFNNHLFE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NDDBFNNHLFE_proto_goTypes = []interface{}{ + (*Unk2700_NDDBFNNHLFE)(nil), // 0: Unk2700_NDDBFNNHLFE + (*Unk2700_DJKEGIEIKHG)(nil), // 1: Unk2700_DJKEGIEIKHG +} +var file_Unk2700_NDDBFNNHLFE_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NDDBFNNHLFE.settle_info:type_name -> Unk2700_DJKEGIEIKHG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NDDBFNNHLFE_proto_init() } +func file_Unk2700_NDDBFNNHLFE_proto_init() { + if File_Unk2700_NDDBFNNHLFE_proto != nil { + return + } + file_Unk2700_DJKEGIEIKHG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NDDBFNNHLFE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NDDBFNNHLFE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NDDBFNNHLFE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NDDBFNNHLFE_proto_goTypes, + DependencyIndexes: file_Unk2700_NDDBFNNHLFE_proto_depIdxs, + MessageInfos: file_Unk2700_NDDBFNNHLFE_proto_msgTypes, + }.Build() + File_Unk2700_NDDBFNNHLFE_proto = out.File + file_Unk2700_NDDBFNNHLFE_proto_rawDesc = nil + file_Unk2700_NDDBFNNHLFE_proto_goTypes = nil + file_Unk2700_NDDBFNNHLFE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.proto b/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.proto new file mode 100644 index 00000000..1b1ceae5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NDDBFNNHLFE.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_DJKEGIEIKHG.proto"; + +option go_package = "./;proto"; + +// CmdId: 8340 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NDDBFNNHLFE { + Unk2700_DJKEGIEIKHG settle_info = 13; + uint32 gallery_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.pb.go b/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.pb.go new file mode 100644 index 00000000..1ad58f88 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NEHPMNPAAKC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8806 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NEHPMNPAAKC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,6,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_NEHPMNPAAKC) Reset() { + *x = Unk2700_NEHPMNPAAKC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NEHPMNPAAKC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NEHPMNPAAKC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NEHPMNPAAKC) ProtoMessage() {} + +func (x *Unk2700_NEHPMNPAAKC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NEHPMNPAAKC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NEHPMNPAAKC.ProtoReflect.Descriptor instead. +func (*Unk2700_NEHPMNPAAKC) Descriptor() ([]byte, []int) { + return file_Unk2700_NEHPMNPAAKC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NEHPMNPAAKC) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_NEHPMNPAAKC_proto protoreflect.FileDescriptor + +var file_Unk2700_NEHPMNPAAKC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x45, 0x48, 0x50, 0x4d, 0x4e, + 0x50, 0x41, 0x41, 0x4b, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x45, 0x48, 0x50, 0x4d, 0x4e, 0x50, 0x41, 0x41, + 0x4b, 0x43, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NEHPMNPAAKC_proto_rawDescOnce sync.Once + file_Unk2700_NEHPMNPAAKC_proto_rawDescData = file_Unk2700_NEHPMNPAAKC_proto_rawDesc +) + +func file_Unk2700_NEHPMNPAAKC_proto_rawDescGZIP() []byte { + file_Unk2700_NEHPMNPAAKC_proto_rawDescOnce.Do(func() { + file_Unk2700_NEHPMNPAAKC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NEHPMNPAAKC_proto_rawDescData) + }) + return file_Unk2700_NEHPMNPAAKC_proto_rawDescData +} + +var file_Unk2700_NEHPMNPAAKC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NEHPMNPAAKC_proto_goTypes = []interface{}{ + (*Unk2700_NEHPMNPAAKC)(nil), // 0: Unk2700_NEHPMNPAAKC +} +var file_Unk2700_NEHPMNPAAKC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NEHPMNPAAKC_proto_init() } +func file_Unk2700_NEHPMNPAAKC_proto_init() { + if File_Unk2700_NEHPMNPAAKC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NEHPMNPAAKC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NEHPMNPAAKC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NEHPMNPAAKC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NEHPMNPAAKC_proto_goTypes, + DependencyIndexes: file_Unk2700_NEHPMNPAAKC_proto_depIdxs, + MessageInfos: file_Unk2700_NEHPMNPAAKC_proto_msgTypes, + }.Build() + File_Unk2700_NEHPMNPAAKC_proto = out.File + file_Unk2700_NEHPMNPAAKC_proto_rawDesc = nil + file_Unk2700_NEHPMNPAAKC_proto_goTypes = nil + file_Unk2700_NEHPMNPAAKC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.proto b/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.proto new file mode 100644 index 00000000..57a569bf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NEHPMNPAAKC.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8806 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NEHPMNPAAKC { + uint32 schedule_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.pb.go new file mode 100644 index 00000000..2ed6b63a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NELNFCMDMHE_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6314 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NELNFCMDMHE_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_NELNFCMDMHE_ServerRsp) Reset() { + *x = Unk2700_NELNFCMDMHE_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NELNFCMDMHE_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NELNFCMDMHE_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NELNFCMDMHE_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_NELNFCMDMHE_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NELNFCMDMHE_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NELNFCMDMHE_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_NELNFCMDMHE_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NELNFCMDMHE_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_NELNFCMDMHE_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x45, 0x4c, 0x4e, 0x46, 0x43, + 0x4d, 0x44, 0x4d, 0x48, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4e, 0x45, 0x4c, 0x4e, 0x46, 0x43, 0x4d, 0x44, 0x4d, 0x48, 0x45, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescData = file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDesc +) + +func file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDescData +} + +var file_Unk2700_NELNFCMDMHE_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NELNFCMDMHE_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_NELNFCMDMHE_ServerRsp)(nil), // 0: Unk2700_NELNFCMDMHE_ServerRsp +} +var file_Unk2700_NELNFCMDMHE_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NELNFCMDMHE_ServerRsp_proto_init() } +func file_Unk2700_NELNFCMDMHE_ServerRsp_proto_init() { + if File_Unk2700_NELNFCMDMHE_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NELNFCMDMHE_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NELNFCMDMHE_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_NELNFCMDMHE_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_NELNFCMDMHE_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_NELNFCMDMHE_ServerRsp_proto = out.File + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_rawDesc = nil + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_goTypes = nil + file_Unk2700_NELNFCMDMHE_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.proto new file mode 100644 index 00000000..e827cd87 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NELNFCMDMHE_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6314 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NELNFCMDMHE_ServerRsp { + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.pb.go new file mode 100644 index 00000000..ceaea0e5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NFGNGFLNOOJ_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4811 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NFGNGFLNOOJ_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,1,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + SettleInfo *Unk2700_CHLNIDHHGLE `protobuf:"bytes,5,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + Unk2700_HAOPLFPOLFM uint32 `protobuf:"varint,6,opt,name=Unk2700_HAOPLFPOLFM,json=Unk2700HAOPLFPOLFM,proto3" json:"Unk2700_HAOPLFPOLFM,omitempty"` + IsNewRecord bool `protobuf:"varint,4,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) Reset() { + *x = Unk2700_NFGNGFLNOOJ_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NFGNGFLNOOJ_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NFGNGFLNOOJ_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NFGNGFLNOOJ_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) GetSettleInfo() *Unk2700_CHLNIDHHGLE { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) GetUnk2700_HAOPLFPOLFM() uint32 { + if x != nil { + return x.Unk2700_HAOPLFPOLFM + } + return 0 +} + +func (x *Unk2700_NFGNGFLNOOJ_ServerNotify) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk2700_NFGNGFLNOOJ_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x46, 0x47, 0x4e, 0x47, 0x46, + 0x4c, 0x4e, 0x4f, 0x4f, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x43, 0x48, 0x4c, 0x4e, 0x49, 0x44, 0x48, 0x48, 0x47, 0x4c, 0x45, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4e, 0x46, 0x47, 0x4e, 0x47, 0x46, 0x4c, 0x4e, 0x4f, 0x4f, 0x4a, 0x5f, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x4c, 0x4e, 0x49, 0x44, 0x48, 0x48, 0x47, + 0x4c, 0x45, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x41, 0x4f, 0x50, 0x4c, 0x46, + 0x50, 0x4f, 0x4c, 0x46, 0x4d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x48, 0x41, 0x4f, 0x50, 0x4c, 0x46, 0x50, 0x4f, 0x4c, 0x46, 0x4d, 0x12, + 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescData = file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDesc +) + +func file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDescData +} + +var file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_NFGNGFLNOOJ_ServerNotify)(nil), // 0: Unk2700_NFGNGFLNOOJ_ServerNotify + (*Unk2700_CHLNIDHHGLE)(nil), // 1: Unk2700_CHLNIDHHGLE +} +var file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NFGNGFLNOOJ_ServerNotify.settle_info:type_name -> Unk2700_CHLNIDHHGLE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_init() } +func file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_init() { + if File_Unk2700_NFGNGFLNOOJ_ServerNotify_proto != nil { + return + } + file_Unk2700_CHLNIDHHGLE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NFGNGFLNOOJ_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_NFGNGFLNOOJ_ServerNotify_proto = out.File + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_rawDesc = nil + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_goTypes = nil + file_Unk2700_NFGNGFLNOOJ_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.proto new file mode 100644 index 00000000..51e918da --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NFGNGFLNOOJ_ServerNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CHLNIDHHGLE.proto"; + +option go_package = "./;proto"; + +// CmdId: 4811 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NFGNGFLNOOJ_ServerNotify { + uint32 gallery_id = 1; + Unk2700_CHLNIDHHGLE settle_info = 5; + uint32 Unk2700_HAOPLFPOLFM = 6; + bool is_new_record = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.pb.go b/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.pb.go new file mode 100644 index 00000000..6e17bdee --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NGEKONFLEBB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NGEKONFLEBB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Difficulty uint32 `protobuf:"varint,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,15,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *Unk2700_NGEKONFLEBB) Reset() { + *x = Unk2700_NGEKONFLEBB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NGEKONFLEBB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NGEKONFLEBB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NGEKONFLEBB) ProtoMessage() {} + +func (x *Unk2700_NGEKONFLEBB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NGEKONFLEBB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NGEKONFLEBB.ProtoReflect.Descriptor instead. +func (*Unk2700_NGEKONFLEBB) Descriptor() ([]byte, []int) { + return file_Unk2700_NGEKONFLEBB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NGEKONFLEBB) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *Unk2700_NGEKONFLEBB) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_Unk2700_NGEKONFLEBB_proto protoreflect.FileDescriptor + +var file_Unk2700_NGEKONFLEBB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x47, 0x45, 0x4b, 0x4f, 0x4e, + 0x46, 0x4c, 0x45, 0x42, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x47, 0x45, 0x4b, 0x4f, 0x4e, 0x46, 0x4c, 0x45, + 0x42, 0x42, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, + 0x74, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NGEKONFLEBB_proto_rawDescOnce sync.Once + file_Unk2700_NGEKONFLEBB_proto_rawDescData = file_Unk2700_NGEKONFLEBB_proto_rawDesc +) + +func file_Unk2700_NGEKONFLEBB_proto_rawDescGZIP() []byte { + file_Unk2700_NGEKONFLEBB_proto_rawDescOnce.Do(func() { + file_Unk2700_NGEKONFLEBB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NGEKONFLEBB_proto_rawDescData) + }) + return file_Unk2700_NGEKONFLEBB_proto_rawDescData +} + +var file_Unk2700_NGEKONFLEBB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NGEKONFLEBB_proto_goTypes = []interface{}{ + (*Unk2700_NGEKONFLEBB)(nil), // 0: Unk2700_NGEKONFLEBB +} +var file_Unk2700_NGEKONFLEBB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NGEKONFLEBB_proto_init() } +func file_Unk2700_NGEKONFLEBB_proto_init() { + if File_Unk2700_NGEKONFLEBB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NGEKONFLEBB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NGEKONFLEBB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NGEKONFLEBB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NGEKONFLEBB_proto_goTypes, + DependencyIndexes: file_Unk2700_NGEKONFLEBB_proto_depIdxs, + MessageInfos: file_Unk2700_NGEKONFLEBB_proto_msgTypes, + }.Build() + File_Unk2700_NGEKONFLEBB_proto = out.File + file_Unk2700_NGEKONFLEBB_proto_rawDesc = nil + file_Unk2700_NGEKONFLEBB_proto_goTypes = nil + file_Unk2700_NGEKONFLEBB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.proto b/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.proto new file mode 100644 index 00000000..316aee37 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NGEKONFLEBB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8703 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NGEKONFLEBB { + uint32 difficulty = 5; + uint32 gadget_entity_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.pb.go b/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.pb.go new file mode 100644 index 00000000..da681320 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NGPMINKIOPK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8956 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NGPMINKIOPK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *Unk2700_PPIBANCGGNI `protobuf:"bytes,6,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + GalleryId uint32 `protobuf:"varint,2,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_NGPMINKIOPK) Reset() { + *x = Unk2700_NGPMINKIOPK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NGPMINKIOPK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NGPMINKIOPK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NGPMINKIOPK) ProtoMessage() {} + +func (x *Unk2700_NGPMINKIOPK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NGPMINKIOPK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NGPMINKIOPK.ProtoReflect.Descriptor instead. +func (*Unk2700_NGPMINKIOPK) Descriptor() ([]byte, []int) { + return file_Unk2700_NGPMINKIOPK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NGPMINKIOPK) GetSettleInfo() *Unk2700_PPIBANCGGNI { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2700_NGPMINKIOPK) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_NGPMINKIOPK_proto protoreflect.FileDescriptor + +var file_Unk2700_NGPMINKIOPK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x47, 0x50, 0x4d, 0x49, 0x4e, + 0x4b, 0x49, 0x4f, 0x50, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x49, 0x42, 0x41, 0x4e, 0x43, 0x47, 0x47, 0x4e, 0x49, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x47, 0x50, 0x4d, 0x49, 0x4e, 0x4b, 0x49, 0x4f, 0x50, 0x4b, 0x12, 0x35, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x49, + 0x42, 0x41, 0x4e, 0x43, 0x47, 0x47, 0x4e, 0x49, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NGPMINKIOPK_proto_rawDescOnce sync.Once + file_Unk2700_NGPMINKIOPK_proto_rawDescData = file_Unk2700_NGPMINKIOPK_proto_rawDesc +) + +func file_Unk2700_NGPMINKIOPK_proto_rawDescGZIP() []byte { + file_Unk2700_NGPMINKIOPK_proto_rawDescOnce.Do(func() { + file_Unk2700_NGPMINKIOPK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NGPMINKIOPK_proto_rawDescData) + }) + return file_Unk2700_NGPMINKIOPK_proto_rawDescData +} + +var file_Unk2700_NGPMINKIOPK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NGPMINKIOPK_proto_goTypes = []interface{}{ + (*Unk2700_NGPMINKIOPK)(nil), // 0: Unk2700_NGPMINKIOPK + (*Unk2700_PPIBANCGGNI)(nil), // 1: Unk2700_PPIBANCGGNI +} +var file_Unk2700_NGPMINKIOPK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NGPMINKIOPK.settle_info:type_name -> Unk2700_PPIBANCGGNI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NGPMINKIOPK_proto_init() } +func file_Unk2700_NGPMINKIOPK_proto_init() { + if File_Unk2700_NGPMINKIOPK_proto != nil { + return + } + file_Unk2700_PPIBANCGGNI_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NGPMINKIOPK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NGPMINKIOPK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NGPMINKIOPK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NGPMINKIOPK_proto_goTypes, + DependencyIndexes: file_Unk2700_NGPMINKIOPK_proto_depIdxs, + MessageInfos: file_Unk2700_NGPMINKIOPK_proto_msgTypes, + }.Build() + File_Unk2700_NGPMINKIOPK_proto = out.File + file_Unk2700_NGPMINKIOPK_proto_rawDesc = nil + file_Unk2700_NGPMINKIOPK_proto_goTypes = nil + file_Unk2700_NGPMINKIOPK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.proto b/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.proto new file mode 100644 index 00000000..46f2c9ee --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NGPMINKIOPK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_PPIBANCGGNI.proto"; + +option go_package = "./;proto"; + +// CmdId: 8956 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NGPMINKIOPK { + Unk2700_PPIBANCGGNI settle_info = 6; + uint32 gallery_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.pb.go new file mode 100644 index 00000000..0cd5bd41 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NIMPHALPEPO_ClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6236 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NIMPHALPEPO_ClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MKIMFKIGBCL uint32 `protobuf:"varint,13,opt,name=Unk2700_MKIMFKIGBCL,json=Unk2700MKIMFKIGBCL,proto3" json:"Unk2700_MKIMFKIGBCL,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,12,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_NIMPHALPEPO_ClientNotify) Reset() { + *x = Unk2700_NIMPHALPEPO_ClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NIMPHALPEPO_ClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NIMPHALPEPO_ClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NIMPHALPEPO_ClientNotify) ProtoMessage() {} + +func (x *Unk2700_NIMPHALPEPO_ClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NIMPHALPEPO_ClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NIMPHALPEPO_ClientNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NIMPHALPEPO_ClientNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NIMPHALPEPO_ClientNotify) GetUnk2700_MKIMFKIGBCL() uint32 { + if x != nil { + return x.Unk2700_MKIMFKIGBCL + } + return 0 +} + +func (x *Unk2700_NIMPHALPEPO_ClientNotify) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_NIMPHALPEPO_ClientNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x4d, 0x50, 0x48, 0x41, + 0x4c, 0x50, 0x45, 0x50, 0x4f, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x4d, 0x50, 0x48, 0x41, 0x4c, 0x50, 0x45, 0x50, 0x4f, + 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x49, 0x4d, 0x46, 0x4b, 0x49, + 0x47, 0x42, 0x43, 0x4c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4d, 0x4b, 0x49, 0x4d, 0x46, 0x4b, 0x49, 0x47, 0x42, 0x43, 0x4c, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, + 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescOnce sync.Once + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescData = file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDesc +) + +func file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescData) + }) + return file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDescData +} + +var file_Unk2700_NIMPHALPEPO_ClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NIMPHALPEPO_ClientNotify_proto_goTypes = []interface{}{ + (*Unk2700_NIMPHALPEPO_ClientNotify)(nil), // 0: Unk2700_NIMPHALPEPO_ClientNotify +} +var file_Unk2700_NIMPHALPEPO_ClientNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NIMPHALPEPO_ClientNotify_proto_init() } +func file_Unk2700_NIMPHALPEPO_ClientNotify_proto_init() { + if File_Unk2700_NIMPHALPEPO_ClientNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NIMPHALPEPO_ClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NIMPHALPEPO_ClientNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NIMPHALPEPO_ClientNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NIMPHALPEPO_ClientNotify_proto_msgTypes, + }.Build() + File_Unk2700_NIMPHALPEPO_ClientNotify_proto = out.File + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_rawDesc = nil + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_goTypes = nil + file_Unk2700_NIMPHALPEPO_ClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.proto b/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.proto new file mode 100644 index 00000000..77de67ec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NIMPHALPEPO_ClientNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6236 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NIMPHALPEPO_ClientNotify { + uint32 Unk2700_MKIMFKIGBCL = 13; + uint64 Unk2700_ONOOJBEABOE = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.pb.go new file mode 100644 index 00000000..3a17b5ce --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NINHGODEMHH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2155 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NINHGODEMHH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ActivityId uint32 `protobuf:"varint,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_NINHGODEMHH_ServerNotify) Reset() { + *x = Unk2700_NINHGODEMHH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NINHGODEMHH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NINHGODEMHH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NINHGODEMHH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_NINHGODEMHH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NINHGODEMHH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NINHGODEMHH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NINHGODEMHH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NINHGODEMHH_ServerNotify) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_NINHGODEMHH_ServerNotify) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_NINHGODEMHH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x4e, 0x48, 0x47, 0x4f, + 0x44, 0x45, 0x4d, 0x48, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x4e, 0x48, 0x47, 0x4f, 0x44, 0x45, 0x4d, 0x48, 0x48, 0x5f, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescData = file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_NINHGODEMHH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NINHGODEMHH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_NINHGODEMHH_ServerNotify)(nil), // 0: Unk2700_NINHGODEMHH_ServerNotify +} +var file_Unk2700_NINHGODEMHH_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NINHGODEMHH_ServerNotify_proto_init() } +func file_Unk2700_NINHGODEMHH_ServerNotify_proto_init() { + if File_Unk2700_NINHGODEMHH_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NINHGODEMHH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NINHGODEMHH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NINHGODEMHH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NINHGODEMHH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NINHGODEMHH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_NINHGODEMHH_ServerNotify_proto = out.File + file_Unk2700_NINHGODEMHH_ServerNotify_proto_rawDesc = nil + file_Unk2700_NINHGODEMHH_ServerNotify_proto_goTypes = nil + file_Unk2700_NINHGODEMHH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.proto new file mode 100644 index 00000000..6b45e846 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NINHGODEMHH_ServerNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2155 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NINHGODEMHH_ServerNotify { + uint32 schedule_id = 1; + uint32 activity_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.pb.go b/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.pb.go new file mode 100644 index 00000000..de4d3a6c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NJNMEFINDCF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8093 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NJNMEFINDCF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + LevelId uint32 `protobuf:"varint,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_NJNMEFINDCF) Reset() { + *x = Unk2700_NJNMEFINDCF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NJNMEFINDCF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NJNMEFINDCF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NJNMEFINDCF) ProtoMessage() {} + +func (x *Unk2700_NJNMEFINDCF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NJNMEFINDCF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NJNMEFINDCF.ProtoReflect.Descriptor instead. +func (*Unk2700_NJNMEFINDCF) Descriptor() ([]byte, []int) { + return file_Unk2700_NJNMEFINDCF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NJNMEFINDCF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_NJNMEFINDCF) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_NJNMEFINDCF_proto protoreflect.FileDescriptor + +var file_Unk2700_NJNMEFINDCF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4a, 0x4e, 0x4d, 0x45, 0x46, + 0x49, 0x4e, 0x44, 0x43, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4a, 0x4e, 0x4d, 0x45, 0x46, 0x49, 0x4e, 0x44, + 0x43, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NJNMEFINDCF_proto_rawDescOnce sync.Once + file_Unk2700_NJNMEFINDCF_proto_rawDescData = file_Unk2700_NJNMEFINDCF_proto_rawDesc +) + +func file_Unk2700_NJNMEFINDCF_proto_rawDescGZIP() []byte { + file_Unk2700_NJNMEFINDCF_proto_rawDescOnce.Do(func() { + file_Unk2700_NJNMEFINDCF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NJNMEFINDCF_proto_rawDescData) + }) + return file_Unk2700_NJNMEFINDCF_proto_rawDescData +} + +var file_Unk2700_NJNMEFINDCF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NJNMEFINDCF_proto_goTypes = []interface{}{ + (*Unk2700_NJNMEFINDCF)(nil), // 0: Unk2700_NJNMEFINDCF +} +var file_Unk2700_NJNMEFINDCF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NJNMEFINDCF_proto_init() } +func file_Unk2700_NJNMEFINDCF_proto_init() { + if File_Unk2700_NJNMEFINDCF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NJNMEFINDCF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NJNMEFINDCF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NJNMEFINDCF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NJNMEFINDCF_proto_goTypes, + DependencyIndexes: file_Unk2700_NJNMEFINDCF_proto_depIdxs, + MessageInfos: file_Unk2700_NJNMEFINDCF_proto_msgTypes, + }.Build() + File_Unk2700_NJNMEFINDCF_proto = out.File + file_Unk2700_NJNMEFINDCF_proto_rawDesc = nil + file_Unk2700_NJNMEFINDCF_proto_goTypes = nil + file_Unk2700_NJNMEFINDCF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.proto b/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.proto new file mode 100644 index 00000000..58a11150 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NJNMEFINDCF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8093 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NJNMEFINDCF { + int32 retcode = 6; + uint32 level_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.pb.go b/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.pb.go new file mode 100644 index 00000000..fd630785 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NKIDCOKNPFF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NKIDCOKNPFF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` + BuildingPoints uint32 `protobuf:"varint,9,opt,name=building_points,json=buildingPoints,proto3" json:"building_points,omitempty"` + Unk2700_CDOKENJJJMH uint32 `protobuf:"varint,3,opt,name=Unk2700_CDOKENJJJMH,json=Unk2700CDOKENJJJMH,proto3" json:"Unk2700_CDOKENJJJMH,omitempty"` +} + +func (x *Unk2700_NKIDCOKNPFF) Reset() { + *x = Unk2700_NKIDCOKNPFF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NKIDCOKNPFF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NKIDCOKNPFF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NKIDCOKNPFF) ProtoMessage() {} + +func (x *Unk2700_NKIDCOKNPFF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NKIDCOKNPFF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NKIDCOKNPFF.ProtoReflect.Descriptor instead. +func (*Unk2700_NKIDCOKNPFF) Descriptor() ([]byte, []int) { + return file_Unk2700_NKIDCOKNPFF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NKIDCOKNPFF) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_NKIDCOKNPFF) GetBuildingPoints() uint32 { + if x != nil { + return x.BuildingPoints + } + return 0 +} + +func (x *Unk2700_NKIDCOKNPFF) GetUnk2700_CDOKENJJJMH() uint32 { + if x != nil { + return x.Unk2700_CDOKENJJJMH + } + return 0 +} + +var File_Unk2700_NKIDCOKNPFF_proto protoreflect.FileDescriptor + +var file_Unk2700_NKIDCOKNPFF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x44, 0x43, 0x4f, + 0x4b, 0x4e, 0x50, 0x46, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x44, 0x43, 0x4f, 0x4b, 0x4e, + 0x50, 0x46, 0x46, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x4f, 0x4b, 0x45, 0x4e, + 0x4a, 0x4a, 0x4a, 0x4d, 0x48, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, 0x4f, 0x4b, 0x45, 0x4e, 0x4a, 0x4a, 0x4a, 0x4d, 0x48, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NKIDCOKNPFF_proto_rawDescOnce sync.Once + file_Unk2700_NKIDCOKNPFF_proto_rawDescData = file_Unk2700_NKIDCOKNPFF_proto_rawDesc +) + +func file_Unk2700_NKIDCOKNPFF_proto_rawDescGZIP() []byte { + file_Unk2700_NKIDCOKNPFF_proto_rawDescOnce.Do(func() { + file_Unk2700_NKIDCOKNPFF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NKIDCOKNPFF_proto_rawDescData) + }) + return file_Unk2700_NKIDCOKNPFF_proto_rawDescData +} + +var file_Unk2700_NKIDCOKNPFF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NKIDCOKNPFF_proto_goTypes = []interface{}{ + (*Unk2700_NKIDCOKNPFF)(nil), // 0: Unk2700_NKIDCOKNPFF +} +var file_Unk2700_NKIDCOKNPFF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NKIDCOKNPFF_proto_init() } +func file_Unk2700_NKIDCOKNPFF_proto_init() { + if File_Unk2700_NKIDCOKNPFF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NKIDCOKNPFF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NKIDCOKNPFF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NKIDCOKNPFF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NKIDCOKNPFF_proto_goTypes, + DependencyIndexes: file_Unk2700_NKIDCOKNPFF_proto_depIdxs, + MessageInfos: file_Unk2700_NKIDCOKNPFF_proto_msgTypes, + }.Build() + File_Unk2700_NKIDCOKNPFF_proto = out.File + file_Unk2700_NKIDCOKNPFF_proto_rawDesc = nil + file_Unk2700_NKIDCOKNPFF_proto_goTypes = nil + file_Unk2700_NKIDCOKNPFF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.proto b/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.proto new file mode 100644 index 00000000..3ea525e0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NKIDCOKNPFF.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_NKIDCOKNPFF { + uint32 uid = 4; + uint32 building_points = 9; + uint32 Unk2700_CDOKENJJJMH = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.pb.go b/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.pb.go new file mode 100644 index 00000000..cd31980b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NKIEIGPLMIO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8459 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NKIEIGPLMIO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeType uint32 `protobuf:"varint,1,opt,name=challenge_type,json=challengeType,proto3" json:"challenge_type,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` +} + +func (x *Unk2700_NKIEIGPLMIO) Reset() { + *x = Unk2700_NKIEIGPLMIO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NKIEIGPLMIO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NKIEIGPLMIO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NKIEIGPLMIO) ProtoMessage() {} + +func (x *Unk2700_NKIEIGPLMIO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NKIEIGPLMIO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NKIEIGPLMIO.ProtoReflect.Descriptor instead. +func (*Unk2700_NKIEIGPLMIO) Descriptor() ([]byte, []int) { + return file_Unk2700_NKIEIGPLMIO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NKIEIGPLMIO) GetChallengeType() uint32 { + if x != nil { + return x.ChallengeType + } + return 0 +} + +func (x *Unk2700_NKIEIGPLMIO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_NKIEIGPLMIO) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +var File_Unk2700_NKIEIGPLMIO_proto protoreflect.FileDescriptor + +var file_Unk2700_NKIEIGPLMIO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x45, 0x49, 0x47, + 0x50, 0x4c, 0x4d, 0x49, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4b, 0x49, 0x45, 0x49, 0x47, 0x50, 0x4c, 0x4d, + 0x49, 0x4f, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NKIEIGPLMIO_proto_rawDescOnce sync.Once + file_Unk2700_NKIEIGPLMIO_proto_rawDescData = file_Unk2700_NKIEIGPLMIO_proto_rawDesc +) + +func file_Unk2700_NKIEIGPLMIO_proto_rawDescGZIP() []byte { + file_Unk2700_NKIEIGPLMIO_proto_rawDescOnce.Do(func() { + file_Unk2700_NKIEIGPLMIO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NKIEIGPLMIO_proto_rawDescData) + }) + return file_Unk2700_NKIEIGPLMIO_proto_rawDescData +} + +var file_Unk2700_NKIEIGPLMIO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NKIEIGPLMIO_proto_goTypes = []interface{}{ + (*Unk2700_NKIEIGPLMIO)(nil), // 0: Unk2700_NKIEIGPLMIO +} +var file_Unk2700_NKIEIGPLMIO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NKIEIGPLMIO_proto_init() } +func file_Unk2700_NKIEIGPLMIO_proto_init() { + if File_Unk2700_NKIEIGPLMIO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NKIEIGPLMIO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NKIEIGPLMIO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NKIEIGPLMIO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NKIEIGPLMIO_proto_goTypes, + DependencyIndexes: file_Unk2700_NKIEIGPLMIO_proto_depIdxs, + MessageInfos: file_Unk2700_NKIEIGPLMIO_proto_msgTypes, + }.Build() + File_Unk2700_NKIEIGPLMIO_proto = out.File + file_Unk2700_NKIEIGPLMIO_proto_rawDesc = nil + file_Unk2700_NKIEIGPLMIO_proto_goTypes = nil + file_Unk2700_NKIEIGPLMIO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.proto b/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.proto new file mode 100644 index 00000000..b5f15b4b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NKIEIGPLMIO.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8459 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NKIEIGPLMIO { + uint32 challenge_type = 1; + int32 retcode = 4; + uint32 stage_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.pb.go b/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.pb.go new file mode 100644 index 00000000..7d0e4b7f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NLBJHDNKPCC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8626 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NLBJHDNKPCC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_AAOHOIJEOEG []*Unk2700_GPPKNKGDCHJ `protobuf:"bytes,14,rep,name=Unk2700_AAOHOIJEOEG,json=Unk2700AAOHOIJEOEG,proto3" json:"Unk2700_AAOHOIJEOEG,omitempty"` +} + +func (x *Unk2700_NLBJHDNKPCC) Reset() { + *x = Unk2700_NLBJHDNKPCC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NLBJHDNKPCC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NLBJHDNKPCC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NLBJHDNKPCC) ProtoMessage() {} + +func (x *Unk2700_NLBJHDNKPCC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NLBJHDNKPCC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NLBJHDNKPCC.ProtoReflect.Descriptor instead. +func (*Unk2700_NLBJHDNKPCC) Descriptor() ([]byte, []int) { + return file_Unk2700_NLBJHDNKPCC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NLBJHDNKPCC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_NLBJHDNKPCC) GetUnk2700_AAOHOIJEOEG() []*Unk2700_GPPKNKGDCHJ { + if x != nil { + return x.Unk2700_AAOHOIJEOEG + } + return nil +} + +var File_Unk2700_NLBJHDNKPCC_proto protoreflect.FileDescriptor + +var file_Unk2700_NLBJHDNKPCC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x42, 0x4a, 0x48, 0x44, + 0x4e, 0x4b, 0x50, 0x43, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x50, 0x4b, 0x4e, 0x4b, 0x47, 0x44, 0x43, 0x48, 0x4a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x4c, 0x42, 0x4a, 0x48, 0x44, 0x4e, 0x4b, 0x50, 0x43, 0x43, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x41, 0x41, 0x4f, 0x48, 0x4f, 0x49, 0x4a, 0x45, 0x4f, 0x45, 0x47, 0x18, 0x0e, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, + 0x50, 0x50, 0x4b, 0x4e, 0x4b, 0x47, 0x44, 0x43, 0x48, 0x4a, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x41, 0x41, 0x4f, 0x48, 0x4f, 0x49, 0x4a, 0x45, 0x4f, 0x45, 0x47, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NLBJHDNKPCC_proto_rawDescOnce sync.Once + file_Unk2700_NLBJHDNKPCC_proto_rawDescData = file_Unk2700_NLBJHDNKPCC_proto_rawDesc +) + +func file_Unk2700_NLBJHDNKPCC_proto_rawDescGZIP() []byte { + file_Unk2700_NLBJHDNKPCC_proto_rawDescOnce.Do(func() { + file_Unk2700_NLBJHDNKPCC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NLBJHDNKPCC_proto_rawDescData) + }) + return file_Unk2700_NLBJHDNKPCC_proto_rawDescData +} + +var file_Unk2700_NLBJHDNKPCC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NLBJHDNKPCC_proto_goTypes = []interface{}{ + (*Unk2700_NLBJHDNKPCC)(nil), // 0: Unk2700_NLBJHDNKPCC + (*Unk2700_GPPKNKGDCHJ)(nil), // 1: Unk2700_GPPKNKGDCHJ +} +var file_Unk2700_NLBJHDNKPCC_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NLBJHDNKPCC.Unk2700_AAOHOIJEOEG:type_name -> Unk2700_GPPKNKGDCHJ + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NLBJHDNKPCC_proto_init() } +func file_Unk2700_NLBJHDNKPCC_proto_init() { + if File_Unk2700_NLBJHDNKPCC_proto != nil { + return + } + file_Unk2700_GPPKNKGDCHJ_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NLBJHDNKPCC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NLBJHDNKPCC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NLBJHDNKPCC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NLBJHDNKPCC_proto_goTypes, + DependencyIndexes: file_Unk2700_NLBJHDNKPCC_proto_depIdxs, + MessageInfos: file_Unk2700_NLBJHDNKPCC_proto_msgTypes, + }.Build() + File_Unk2700_NLBJHDNKPCC_proto = out.File + file_Unk2700_NLBJHDNKPCC_proto_rawDesc = nil + file_Unk2700_NLBJHDNKPCC_proto_goTypes = nil + file_Unk2700_NLBJHDNKPCC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.proto b/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.proto new file mode 100644 index 00000000..8abeaace --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLBJHDNKPCC.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_GPPKNKGDCHJ.proto"; + +option go_package = "./;proto"; + +// CmdId: 8626 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NLBJHDNKPCC { + int32 retcode = 6; + repeated Unk2700_GPPKNKGDCHJ Unk2700_AAOHOIJEOEG = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.pb.go b/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.pb.go new file mode 100644 index 00000000..0086a28f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NLFDMMFNMIO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NLFDMMFNMIO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JGFDODPBGFL *Unk2700_PHGGAEDHLBN `protobuf:"bytes,1,opt,name=Unk2700_JGFDODPBGFL,json=Unk2700JGFDODPBGFL,proto3" json:"Unk2700_JGFDODPBGFL,omitempty"` + Unk2700_AAGBIFHNNPP []*Unk2700_KLPINMKOEPE `protobuf:"bytes,15,rep,name=Unk2700_AAGBIFHNNPP,json=Unk2700AAGBIFHNNPP,proto3" json:"Unk2700_AAGBIFHNNPP,omitempty"` + DungeonId uint32 `protobuf:"varint,3,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,10,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_NLFDMMFNMIO) Reset() { + *x = Unk2700_NLFDMMFNMIO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NLFDMMFNMIO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NLFDMMFNMIO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NLFDMMFNMIO) ProtoMessage() {} + +func (x *Unk2700_NLFDMMFNMIO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NLFDMMFNMIO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NLFDMMFNMIO.ProtoReflect.Descriptor instead. +func (*Unk2700_NLFDMMFNMIO) Descriptor() ([]byte, []int) { + return file_Unk2700_NLFDMMFNMIO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NLFDMMFNMIO) GetUnk2700_JGFDODPBGFL() *Unk2700_PHGGAEDHLBN { + if x != nil { + return x.Unk2700_JGFDODPBGFL + } + return nil +} + +func (x *Unk2700_NLFDMMFNMIO) GetUnk2700_AAGBIFHNNPP() []*Unk2700_KLPINMKOEPE { + if x != nil { + return x.Unk2700_AAGBIFHNNPP + } + return nil +} + +func (x *Unk2700_NLFDMMFNMIO) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2700_NLFDMMFNMIO) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_NLFDMMFNMIO_proto protoreflect.FileDescriptor + +var file_Unk2700_NLFDMMFNMIO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x44, 0x4d, 0x4d, + 0x46, 0x4e, 0x4d, 0x49, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x49, 0x4e, 0x4d, 0x4b, 0x4f, 0x45, 0x50, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xf3, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, + 0x46, 0x44, 0x4d, 0x4d, 0x46, 0x4e, 0x4d, 0x49, 0x4f, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x47, 0x46, 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4a, 0x47, 0x46, 0x44, 0x4f, 0x44, 0x50, 0x42, 0x47, 0x46, 0x4c, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x41, 0x47, 0x42, + 0x49, 0x46, 0x48, 0x4e, 0x4e, 0x50, 0x50, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x4c, 0x50, 0x49, 0x4e, 0x4d, 0x4b, 0x4f, + 0x45, 0x50, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x41, 0x47, 0x42, + 0x49, 0x46, 0x48, 0x4e, 0x4e, 0x50, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, + 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NLFDMMFNMIO_proto_rawDescOnce sync.Once + file_Unk2700_NLFDMMFNMIO_proto_rawDescData = file_Unk2700_NLFDMMFNMIO_proto_rawDesc +) + +func file_Unk2700_NLFDMMFNMIO_proto_rawDescGZIP() []byte { + file_Unk2700_NLFDMMFNMIO_proto_rawDescOnce.Do(func() { + file_Unk2700_NLFDMMFNMIO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NLFDMMFNMIO_proto_rawDescData) + }) + return file_Unk2700_NLFDMMFNMIO_proto_rawDescData +} + +var file_Unk2700_NLFDMMFNMIO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NLFDMMFNMIO_proto_goTypes = []interface{}{ + (*Unk2700_NLFDMMFNMIO)(nil), // 0: Unk2700_NLFDMMFNMIO + (*Unk2700_PHGGAEDHLBN)(nil), // 1: Unk2700_PHGGAEDHLBN + (*Unk2700_KLPINMKOEPE)(nil), // 2: Unk2700_KLPINMKOEPE +} +var file_Unk2700_NLFDMMFNMIO_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NLFDMMFNMIO.Unk2700_JGFDODPBGFL:type_name -> Unk2700_PHGGAEDHLBN + 2, // 1: Unk2700_NLFDMMFNMIO.Unk2700_AAGBIFHNNPP:type_name -> Unk2700_KLPINMKOEPE + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_NLFDMMFNMIO_proto_init() } +func file_Unk2700_NLFDMMFNMIO_proto_init() { + if File_Unk2700_NLFDMMFNMIO_proto != nil { + return + } + file_Unk2700_KLPINMKOEPE_proto_init() + file_Unk2700_PHGGAEDHLBN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NLFDMMFNMIO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NLFDMMFNMIO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NLFDMMFNMIO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NLFDMMFNMIO_proto_goTypes, + DependencyIndexes: file_Unk2700_NLFDMMFNMIO_proto_depIdxs, + MessageInfos: file_Unk2700_NLFDMMFNMIO_proto_msgTypes, + }.Build() + File_Unk2700_NLFDMMFNMIO_proto = out.File + file_Unk2700_NLFDMMFNMIO_proto_rawDesc = nil + file_Unk2700_NLFDMMFNMIO_proto_goTypes = nil + file_Unk2700_NLFDMMFNMIO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.proto b/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.proto new file mode 100644 index 00000000..fb189c3e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLFDMMFNMIO.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KLPINMKOEPE.proto"; +import "Unk2700_PHGGAEDHLBN.proto"; + +option go_package = "./;proto"; + +message Unk2700_NLFDMMFNMIO { + Unk2700_PHGGAEDHLBN Unk2700_JGFDODPBGFL = 1; + repeated Unk2700_KLPINMKOEPE Unk2700_AAGBIFHNNPP = 15; + uint32 dungeon_id = 3; + uint64 Unk2700_ONOOJBEABOE = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.pb.go b/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.pb.go new file mode 100644 index 00000000..004734e1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NLJBCGILMIE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8281 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NLJBCGILMIE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + ItemIdList []uint32 `protobuf:"varint,7,rep,packed,name=item_id_list,json=itemIdList,proto3" json:"item_id_list,omitempty"` +} + +func (x *Unk2700_NLJBCGILMIE) Reset() { + *x = Unk2700_NLJBCGILMIE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NLJBCGILMIE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NLJBCGILMIE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NLJBCGILMIE) ProtoMessage() {} + +func (x *Unk2700_NLJBCGILMIE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NLJBCGILMIE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NLJBCGILMIE.ProtoReflect.Descriptor instead. +func (*Unk2700_NLJBCGILMIE) Descriptor() ([]byte, []int) { + return file_Unk2700_NLJBCGILMIE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NLJBCGILMIE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_NLJBCGILMIE) GetItemIdList() []uint32 { + if x != nil { + return x.ItemIdList + } + return nil +} + +var File_Unk2700_NLJBCGILMIE_proto protoreflect.FileDescriptor + +var file_Unk2700_NLJBCGILMIE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x4a, 0x42, 0x43, 0x47, + 0x49, 0x4c, 0x4d, 0x49, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x4a, 0x42, 0x43, 0x47, 0x49, 0x4c, 0x4d, + 0x49, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NLJBCGILMIE_proto_rawDescOnce sync.Once + file_Unk2700_NLJBCGILMIE_proto_rawDescData = file_Unk2700_NLJBCGILMIE_proto_rawDesc +) + +func file_Unk2700_NLJBCGILMIE_proto_rawDescGZIP() []byte { + file_Unk2700_NLJBCGILMIE_proto_rawDescOnce.Do(func() { + file_Unk2700_NLJBCGILMIE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NLJBCGILMIE_proto_rawDescData) + }) + return file_Unk2700_NLJBCGILMIE_proto_rawDescData +} + +var file_Unk2700_NLJBCGILMIE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NLJBCGILMIE_proto_goTypes = []interface{}{ + (*Unk2700_NLJBCGILMIE)(nil), // 0: Unk2700_NLJBCGILMIE +} +var file_Unk2700_NLJBCGILMIE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NLJBCGILMIE_proto_init() } +func file_Unk2700_NLJBCGILMIE_proto_init() { + if File_Unk2700_NLJBCGILMIE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NLJBCGILMIE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NLJBCGILMIE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NLJBCGILMIE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NLJBCGILMIE_proto_goTypes, + DependencyIndexes: file_Unk2700_NLJBCGILMIE_proto_depIdxs, + MessageInfos: file_Unk2700_NLJBCGILMIE_proto_msgTypes, + }.Build() + File_Unk2700_NLJBCGILMIE_proto = out.File + file_Unk2700_NLJBCGILMIE_proto_rawDesc = nil + file_Unk2700_NLJBCGILMIE_proto_goTypes = nil + file_Unk2700_NLJBCGILMIE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.proto b/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.proto new file mode 100644 index 00000000..ab0c7e34 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NLJBCGILMIE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8281 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NLJBCGILMIE { + int32 retcode = 4; + repeated uint32 item_id_list = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.pb.go b/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.pb.go new file mode 100644 index 00000000..a74d6991 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NMEENGOJOKD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8930 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NMEENGOJOKD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DACHHINLDDJ map[uint32]uint32 `protobuf:"bytes,12,rep,name=Unk2700_DACHHINLDDJ,json=Unk2700DACHHINLDDJ,proto3" json:"Unk2700_DACHHINLDDJ,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_NMEENGOJOKD) Reset() { + *x = Unk2700_NMEENGOJOKD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NMEENGOJOKD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NMEENGOJOKD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NMEENGOJOKD) ProtoMessage() {} + +func (x *Unk2700_NMEENGOJOKD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NMEENGOJOKD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NMEENGOJOKD.ProtoReflect.Descriptor instead. +func (*Unk2700_NMEENGOJOKD) Descriptor() ([]byte, []int) { + return file_Unk2700_NMEENGOJOKD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NMEENGOJOKD) GetUnk2700_DACHHINLDDJ() map[uint32]uint32 { + if x != nil { + return x.Unk2700_DACHHINLDDJ + } + return nil +} + +var File_Unk2700_NMEENGOJOKD_proto protoreflect.FileDescriptor + +var file_Unk2700_NMEENGOJOKD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x45, 0x4e, 0x47, + 0x4f, 0x4a, 0x4f, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x45, 0x4e, 0x47, 0x4f, 0x4a, + 0x4f, 0x4b, 0x44, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x45, 0x4e, + 0x47, 0x4f, 0x4a, 0x4f, 0x4b, 0x44, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, + 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x43, 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, + 0x44, 0x4a, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x43, + 0x48, 0x48, 0x49, 0x4e, 0x4c, 0x44, 0x44, 0x4a, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NMEENGOJOKD_proto_rawDescOnce sync.Once + file_Unk2700_NMEENGOJOKD_proto_rawDescData = file_Unk2700_NMEENGOJOKD_proto_rawDesc +) + +func file_Unk2700_NMEENGOJOKD_proto_rawDescGZIP() []byte { + file_Unk2700_NMEENGOJOKD_proto_rawDescOnce.Do(func() { + file_Unk2700_NMEENGOJOKD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NMEENGOJOKD_proto_rawDescData) + }) + return file_Unk2700_NMEENGOJOKD_proto_rawDescData +} + +var file_Unk2700_NMEENGOJOKD_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_NMEENGOJOKD_proto_goTypes = []interface{}{ + (*Unk2700_NMEENGOJOKD)(nil), // 0: Unk2700_NMEENGOJOKD + nil, // 1: Unk2700_NMEENGOJOKD.Unk2700DACHHINLDDJEntry +} +var file_Unk2700_NMEENGOJOKD_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NMEENGOJOKD.Unk2700_DACHHINLDDJ:type_name -> Unk2700_NMEENGOJOKD.Unk2700DACHHINLDDJEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NMEENGOJOKD_proto_init() } +func file_Unk2700_NMEENGOJOKD_proto_init() { + if File_Unk2700_NMEENGOJOKD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NMEENGOJOKD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NMEENGOJOKD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NMEENGOJOKD_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NMEENGOJOKD_proto_goTypes, + DependencyIndexes: file_Unk2700_NMEENGOJOKD_proto_depIdxs, + MessageInfos: file_Unk2700_NMEENGOJOKD_proto_msgTypes, + }.Build() + File_Unk2700_NMEENGOJOKD_proto = out.File + file_Unk2700_NMEENGOJOKD_proto_rawDesc = nil + file_Unk2700_NMEENGOJOKD_proto_goTypes = nil + file_Unk2700_NMEENGOJOKD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.proto b/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.proto new file mode 100644 index 00000000..d134be6f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMEENGOJOKD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8930 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NMEENGOJOKD { + map Unk2700_DACHHINLDDJ = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.pb.go b/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.pb.go new file mode 100644 index 00000000..bde60609 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NMJCGMOOIFP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8061 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NMJCGMOOIFP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + GalleryId uint32 `protobuf:"varint,4,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_NMJCGMOOIFP) Reset() { + *x = Unk2700_NMJCGMOOIFP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NMJCGMOOIFP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NMJCGMOOIFP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NMJCGMOOIFP) ProtoMessage() {} + +func (x *Unk2700_NMJCGMOOIFP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NMJCGMOOIFP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NMJCGMOOIFP.ProtoReflect.Descriptor instead. +func (*Unk2700_NMJCGMOOIFP) Descriptor() ([]byte, []int) { + return file_Unk2700_NMJCGMOOIFP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NMJCGMOOIFP) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_NMJCGMOOIFP) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_NMJCGMOOIFP_proto protoreflect.FileDescriptor + +var file_Unk2700_NMJCGMOOIFP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x4a, 0x43, 0x47, 0x4d, + 0x4f, 0x4f, 0x49, 0x46, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x4a, 0x43, 0x47, 0x4d, 0x4f, 0x4f, 0x49, + 0x46, 0x50, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NMJCGMOOIFP_proto_rawDescOnce sync.Once + file_Unk2700_NMJCGMOOIFP_proto_rawDescData = file_Unk2700_NMJCGMOOIFP_proto_rawDesc +) + +func file_Unk2700_NMJCGMOOIFP_proto_rawDescGZIP() []byte { + file_Unk2700_NMJCGMOOIFP_proto_rawDescOnce.Do(func() { + file_Unk2700_NMJCGMOOIFP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NMJCGMOOIFP_proto_rawDescData) + }) + return file_Unk2700_NMJCGMOOIFP_proto_rawDescData +} + +var file_Unk2700_NMJCGMOOIFP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NMJCGMOOIFP_proto_goTypes = []interface{}{ + (*Unk2700_NMJCGMOOIFP)(nil), // 0: Unk2700_NMJCGMOOIFP +} +var file_Unk2700_NMJCGMOOIFP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NMJCGMOOIFP_proto_init() } +func file_Unk2700_NMJCGMOOIFP_proto_init() { + if File_Unk2700_NMJCGMOOIFP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NMJCGMOOIFP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NMJCGMOOIFP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NMJCGMOOIFP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NMJCGMOOIFP_proto_goTypes, + DependencyIndexes: file_Unk2700_NMJCGMOOIFP_proto_depIdxs, + MessageInfos: file_Unk2700_NMJCGMOOIFP_proto_msgTypes, + }.Build() + File_Unk2700_NMJCGMOOIFP_proto = out.File + file_Unk2700_NMJCGMOOIFP_proto_rawDesc = nil + file_Unk2700_NMJCGMOOIFP_proto_goTypes = nil + file_Unk2700_NMJCGMOOIFP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.proto b/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.proto new file mode 100644 index 00000000..8ff0c55c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMJCGMOOIFP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8061 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NMJCGMOOIFP { + uint32 level_id = 15; + uint32 gallery_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.pb.go b/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.pb.go new file mode 100644 index 00000000..6f93d280 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NMJIMIKKIME.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8943 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_NMJIMIKKIME struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OKGKHPCMNMN []uint32 `protobuf:"varint,9,rep,packed,name=Unk2700_OKGKHPCMNMN,json=Unk2700OKGKHPCMNMN,proto3" json:"Unk2700_OKGKHPCMNMN,omitempty"` + Unk2700_ELOOIKFNJCG []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,11,rep,name=Unk2700_ELOOIKFNJCG,json=Unk2700ELOOIKFNJCG,proto3" json:"Unk2700_ELOOIKFNJCG,omitempty"` +} + +func (x *Unk2700_NMJIMIKKIME) Reset() { + *x = Unk2700_NMJIMIKKIME{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NMJIMIKKIME_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NMJIMIKKIME) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NMJIMIKKIME) ProtoMessage() {} + +func (x *Unk2700_NMJIMIKKIME) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NMJIMIKKIME_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NMJIMIKKIME.ProtoReflect.Descriptor instead. +func (*Unk2700_NMJIMIKKIME) Descriptor() ([]byte, []int) { + return file_Unk2700_NMJIMIKKIME_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NMJIMIKKIME) GetUnk2700_OKGKHPCMNMN() []uint32 { + if x != nil { + return x.Unk2700_OKGKHPCMNMN + } + return nil +} + +func (x *Unk2700_NMJIMIKKIME) GetUnk2700_ELOOIKFNJCG() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_ELOOIKFNJCG + } + return nil +} + +var File_Unk2700_NMJIMIKKIME_proto protoreflect.FileDescriptor + +var file_Unk2700_NMJIMIKKIME_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x4a, 0x49, 0x4d, 0x49, + 0x4b, 0x4b, 0x49, 0x4d, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x4a, 0x49, 0x4d, 0x49, 0x4b, 0x4b, 0x49, 0x4d, 0x45, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, + 0x43, 0x4d, 0x4e, 0x4d, 0x4e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4b, 0x47, 0x4b, 0x48, 0x50, 0x43, 0x4d, 0x4e, 0x4d, 0x4e, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4c, 0x4f, 0x4f, 0x49, + 0x4b, 0x46, 0x4e, 0x4a, 0x43, 0x47, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, + 0x42, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x4c, 0x4f, 0x4f, 0x49, + 0x4b, 0x46, 0x4e, 0x4a, 0x43, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NMJIMIKKIME_proto_rawDescOnce sync.Once + file_Unk2700_NMJIMIKKIME_proto_rawDescData = file_Unk2700_NMJIMIKKIME_proto_rawDesc +) + +func file_Unk2700_NMJIMIKKIME_proto_rawDescGZIP() []byte { + file_Unk2700_NMJIMIKKIME_proto_rawDescOnce.Do(func() { + file_Unk2700_NMJIMIKKIME_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NMJIMIKKIME_proto_rawDescData) + }) + return file_Unk2700_NMJIMIKKIME_proto_rawDescData +} + +var file_Unk2700_NMJIMIKKIME_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NMJIMIKKIME_proto_goTypes = []interface{}{ + (*Unk2700_NMJIMIKKIME)(nil), // 0: Unk2700_NMJIMIKKIME + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_NMJIMIKKIME_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NMJIMIKKIME.Unk2700_ELOOIKFNJCG:type_name -> Unk2700_HJLFNKLPFBH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NMJIMIKKIME_proto_init() } +func file_Unk2700_NMJIMIKKIME_proto_init() { + if File_Unk2700_NMJIMIKKIME_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NMJIMIKKIME_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NMJIMIKKIME); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NMJIMIKKIME_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NMJIMIKKIME_proto_goTypes, + DependencyIndexes: file_Unk2700_NMJIMIKKIME_proto_depIdxs, + MessageInfos: file_Unk2700_NMJIMIKKIME_proto_msgTypes, + }.Build() + File_Unk2700_NMJIMIKKIME_proto = out.File + file_Unk2700_NMJIMIKKIME_proto_rawDesc = nil + file_Unk2700_NMJIMIKKIME_proto_goTypes = nil + file_Unk2700_NMJIMIKKIME_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.proto b/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.proto new file mode 100644 index 00000000..b692c5f1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NMJIMIKKIME.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8943 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_NMJIMIKKIME { + repeated uint32 Unk2700_OKGKHPCMNMN = 9; + repeated Unk2700_HJLFNKLPFBH Unk2700_ELOOIKFNJCG = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.pb.go new file mode 100644 index 00000000..4082ba3c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NNDKOICOGGH_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5539 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NNDKOICOGGH_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Unk2700_INDLFDCOFDG bool `protobuf:"varint,11,opt,name=Unk2700_INDLFDCOFDG,json=Unk2700INDLFDCOFDG,proto3" json:"Unk2700_INDLFDCOFDG,omitempty"` + BuffId uint32 `protobuf:"varint,14,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` +} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) Reset() { + *x = Unk2700_NNDKOICOGGH_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NNDKOICOGGH_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NNDKOICOGGH_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NNDKOICOGGH_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NNDKOICOGGH_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_NNDKOICOGGH_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) GetUnk2700_INDLFDCOFDG() bool { + if x != nil { + return x.Unk2700_INDLFDCOFDG + } + return false +} + +func (x *Unk2700_NNDKOICOGGH_ServerNotify) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +var File_Unk2700_NNDKOICOGGH_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x44, 0x4b, 0x4f, 0x49, + 0x43, 0x4f, 0x47, 0x47, 0x48, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x20, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x44, 0x4b, 0x4f, 0x49, 0x43, 0x4f, 0x47, 0x47, 0x48, + 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x44, 0x4c, 0x46, 0x44, 0x43, 0x4f, + 0x46, 0x44, 0x47, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x49, 0x4e, 0x44, 0x4c, 0x46, 0x44, 0x43, 0x4f, 0x46, 0x44, 0x47, 0x12, 0x17, 0x0a, + 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescData = file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDesc +) + +func file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDescData +} + +var file_Unk2700_NNDKOICOGGH_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NNDKOICOGGH_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_NNDKOICOGGH_ServerNotify)(nil), // 0: Unk2700_NNDKOICOGGH_ServerNotify +} +var file_Unk2700_NNDKOICOGGH_ServerNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NNDKOICOGGH_ServerNotify_proto_init() } +func file_Unk2700_NNDKOICOGGH_ServerNotify_proto_init() { + if File_Unk2700_NNDKOICOGGH_ServerNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NNDKOICOGGH_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NNDKOICOGGH_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_NNDKOICOGGH_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_NNDKOICOGGH_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_NNDKOICOGGH_ServerNotify_proto = out.File + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_rawDesc = nil + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_goTypes = nil + file_Unk2700_NNDKOICOGGH_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.proto new file mode 100644 index 00000000..c0332d45 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NNDKOICOGGH_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5539 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NNDKOICOGGH_ServerNotify { + uint32 gallery_id = 13; + bool Unk2700_INDLFDCOFDG = 11; + uint32 buff_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.pb.go new file mode 100644 index 00000000..0348eeeb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NNMDBDNIMHN_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4538 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_NNMDBDNIMHN_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_IFNLJDCJJED *Unk2700_KPNPJPPHOKA `protobuf:"bytes,7,opt,name=Unk2700_IFNLJDCJJED,json=Unk2700IFNLJDCJJED,proto3" json:"Unk2700_IFNLJDCJJED,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_MAPJLIDACPN uint32 `protobuf:"varint,1,opt,name=Unk2700_MAPJLIDACPN,json=Unk2700MAPJLIDACPN,proto3" json:"Unk2700_MAPJLIDACPN,omitempty"` +} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) Reset() { + *x = Unk2700_NNMDBDNIMHN_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NNMDBDNIMHN_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NNMDBDNIMHN_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_NNMDBDNIMHN_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) GetUnk2700_IFNLJDCJJED() *Unk2700_KPNPJPPHOKA { + if x != nil { + return x.Unk2700_IFNLJDCJJED + } + return nil +} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_NNMDBDNIMHN_ServerRsp) GetUnk2700_MAPJLIDACPN() uint32 { + if x != nil { + return x.Unk2700_MAPJLIDACPN + } + return 0 +} + +var File_Unk2700_NNMDBDNIMHN_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x4d, 0x44, 0x42, 0x44, + 0x4e, 0x49, 0x4d, 0x48, 0x4e, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x50, 0x4e, 0x50, 0x4a, 0x50, 0x50, 0x48, 0x4f, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xb1, 0x01, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x4d, + 0x44, 0x42, 0x44, 0x4e, 0x49, 0x4d, 0x48, 0x4e, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x73, 0x70, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x49, 0x46, + 0x4e, 0x4c, 0x4a, 0x44, 0x43, 0x4a, 0x4a, 0x45, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4e, 0x50, 0x4a, 0x50, + 0x50, 0x48, 0x4f, 0x4b, 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, + 0x4e, 0x4c, 0x4a, 0x44, 0x43, 0x4a, 0x4a, 0x45, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x41, 0x50, 0x4a, 0x4c, 0x49, 0x44, 0x41, 0x43, 0x50, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x50, 0x4a, 0x4c, 0x49, 0x44, + 0x41, 0x43, 0x50, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescData = file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDesc +) + +func file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDescData +} + +var file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_NNMDBDNIMHN_ServerRsp)(nil), // 0: Unk2700_NNMDBDNIMHN_ServerRsp + (*Unk2700_KPNPJPPHOKA)(nil), // 1: Unk2700_KPNPJPPHOKA +} +var file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NNMDBDNIMHN_ServerRsp.Unk2700_IFNLJDCJJED:type_name -> Unk2700_KPNPJPPHOKA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_init() } +func file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_init() { + if File_Unk2700_NNMDBDNIMHN_ServerRsp_proto != nil { + return + } + file_Unk2700_KPNPJPPHOKA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NNMDBDNIMHN_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_NNMDBDNIMHN_ServerRsp_proto = out.File + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_rawDesc = nil + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_goTypes = nil + file_Unk2700_NNMDBDNIMHN_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.proto new file mode 100644 index 00000000..0caac987 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NNMDBDNIMHN_ServerRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KPNPJPPHOKA.proto"; + +option go_package = "./;proto"; + +// CmdId: 4538 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_NNMDBDNIMHN_ServerRsp { + Unk2700_KPNPJPPHOKA Unk2700_IFNLJDCJJED = 7; + int32 retcode = 11; + uint32 Unk2700_MAPJLIDACPN = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.pb.go b/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.pb.go new file mode 100644 index 00000000..593c1830 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.pb.go @@ -0,0 +1,147 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NOCLNCCJEGK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NOCLNCCJEGK int32 + +const ( + Unk2700_NOCLNCCJEGK_Unk2700_NOCLNCCJEGK_NONE Unk2700_NOCLNCCJEGK = 0 + Unk2700_NOCLNCCJEGK_Unk2700_NOCLNCCJEGK_Unk2700_ODIJEIGEGED Unk2700_NOCLNCCJEGK = 1 +) + +// Enum value maps for Unk2700_NOCLNCCJEGK. +var ( + Unk2700_NOCLNCCJEGK_name = map[int32]string{ + 0: "Unk2700_NOCLNCCJEGK_NONE", + 1: "Unk2700_NOCLNCCJEGK_Unk2700_ODIJEIGEGED", + } + Unk2700_NOCLNCCJEGK_value = map[string]int32{ + "Unk2700_NOCLNCCJEGK_NONE": 0, + "Unk2700_NOCLNCCJEGK_Unk2700_ODIJEIGEGED": 1, + } +) + +func (x Unk2700_NOCLNCCJEGK) Enum() *Unk2700_NOCLNCCJEGK { + p := new(Unk2700_NOCLNCCJEGK) + *p = x + return p +} + +func (x Unk2700_NOCLNCCJEGK) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_NOCLNCCJEGK) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_NOCLNCCJEGK_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_NOCLNCCJEGK) Type() protoreflect.EnumType { + return &file_Unk2700_NOCLNCCJEGK_proto_enumTypes[0] +} + +func (x Unk2700_NOCLNCCJEGK) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_NOCLNCCJEGK.Descriptor instead. +func (Unk2700_NOCLNCCJEGK) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_NOCLNCCJEGK_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_NOCLNCCJEGK_proto protoreflect.FileDescriptor + +var file_Unk2700_NOCLNCCJEGK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x43, 0x4c, 0x4e, 0x43, + 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x43, 0x4c, 0x4e, 0x43, 0x43, 0x4a, 0x45, + 0x47, 0x4b, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, + 0x43, 0x4c, 0x4e, 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x43, 0x4c, + 0x4e, 0x43, 0x43, 0x4a, 0x45, 0x47, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x44, 0x49, 0x4a, 0x45, 0x49, 0x47, 0x45, 0x47, 0x45, 0x44, 0x10, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_NOCLNCCJEGK_proto_rawDescOnce sync.Once + file_Unk2700_NOCLNCCJEGK_proto_rawDescData = file_Unk2700_NOCLNCCJEGK_proto_rawDesc +) + +func file_Unk2700_NOCLNCCJEGK_proto_rawDescGZIP() []byte { + file_Unk2700_NOCLNCCJEGK_proto_rawDescOnce.Do(func() { + file_Unk2700_NOCLNCCJEGK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NOCLNCCJEGK_proto_rawDescData) + }) + return file_Unk2700_NOCLNCCJEGK_proto_rawDescData +} + +var file_Unk2700_NOCLNCCJEGK_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_NOCLNCCJEGK_proto_goTypes = []interface{}{ + (Unk2700_NOCLNCCJEGK)(0), // 0: Unk2700_NOCLNCCJEGK +} +var file_Unk2700_NOCLNCCJEGK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NOCLNCCJEGK_proto_init() } +func file_Unk2700_NOCLNCCJEGK_proto_init() { + if File_Unk2700_NOCLNCCJEGK_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NOCLNCCJEGK_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NOCLNCCJEGK_proto_goTypes, + DependencyIndexes: file_Unk2700_NOCLNCCJEGK_proto_depIdxs, + EnumInfos: file_Unk2700_NOCLNCCJEGK_proto_enumTypes, + }.Build() + File_Unk2700_NOCLNCCJEGK_proto = out.File + file_Unk2700_NOCLNCCJEGK_proto_rawDesc = nil + file_Unk2700_NOCLNCCJEGK_proto_goTypes = nil + file_Unk2700_NOCLNCCJEGK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.proto b/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.proto new file mode 100644 index 00000000..95e27b8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NOCLNCCJEGK.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_NOCLNCCJEGK { + Unk2700_NOCLNCCJEGK_NONE = 0; + Unk2700_NOCLNCCJEGK_Unk2700_ODIJEIGEGED = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.pb.go b/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.pb.go new file mode 100644 index 00000000..2a4eca54 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NOGODJOJDGF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NOGODJOJDGF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,12,opt,name=score,proto3" json:"score,omitempty"` + PlayerInfo *Unk2700_OCDMIOKNHHH `protobuf:"bytes,10,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *Unk2700_NOGODJOJDGF) Reset() { + *x = Unk2700_NOGODJOJDGF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_NOGODJOJDGF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_NOGODJOJDGF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_NOGODJOJDGF) ProtoMessage() {} + +func (x *Unk2700_NOGODJOJDGF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_NOGODJOJDGF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_NOGODJOJDGF.ProtoReflect.Descriptor instead. +func (*Unk2700_NOGODJOJDGF) Descriptor() ([]byte, []int) { + return file_Unk2700_NOGODJOJDGF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_NOGODJOJDGF) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_NOGODJOJDGF) GetPlayerInfo() *Unk2700_OCDMIOKNHHH { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_Unk2700_NOGODJOJDGF_proto protoreflect.FileDescriptor + +var file_Unk2700_NOGODJOJDGF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x47, 0x4f, 0x44, 0x4a, + 0x4f, 0x4a, 0x44, 0x47, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4e, 0x4f, 0x47, 0x4f, 0x44, 0x4a, 0x4f, 0x4a, 0x44, 0x47, 0x46, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, 0x52, 0x0a, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_NOGODJOJDGF_proto_rawDescOnce sync.Once + file_Unk2700_NOGODJOJDGF_proto_rawDescData = file_Unk2700_NOGODJOJDGF_proto_rawDesc +) + +func file_Unk2700_NOGODJOJDGF_proto_rawDescGZIP() []byte { + file_Unk2700_NOGODJOJDGF_proto_rawDescOnce.Do(func() { + file_Unk2700_NOGODJOJDGF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NOGODJOJDGF_proto_rawDescData) + }) + return file_Unk2700_NOGODJOJDGF_proto_rawDescData +} + +var file_Unk2700_NOGODJOJDGF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_NOGODJOJDGF_proto_goTypes = []interface{}{ + (*Unk2700_NOGODJOJDGF)(nil), // 0: Unk2700_NOGODJOJDGF + (*Unk2700_OCDMIOKNHHH)(nil), // 1: Unk2700_OCDMIOKNHHH +} +var file_Unk2700_NOGODJOJDGF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_NOGODJOJDGF.player_info:type_name -> Unk2700_OCDMIOKNHHH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_NOGODJOJDGF_proto_init() } +func file_Unk2700_NOGODJOJDGF_proto_init() { + if File_Unk2700_NOGODJOJDGF_proto != nil { + return + } + file_Unk2700_OCDMIOKNHHH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_NOGODJOJDGF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_NOGODJOJDGF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NOGODJOJDGF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NOGODJOJDGF_proto_goTypes, + DependencyIndexes: file_Unk2700_NOGODJOJDGF_proto_depIdxs, + MessageInfos: file_Unk2700_NOGODJOJDGF_proto_msgTypes, + }.Build() + File_Unk2700_NOGODJOJDGF_proto = out.File + file_Unk2700_NOGODJOJDGF_proto_rawDesc = nil + file_Unk2700_NOGODJOJDGF_proto_goTypes = nil + file_Unk2700_NOGODJOJDGF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.proto b/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.proto new file mode 100644 index 00000000..61558e7f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NOGODJOJDGF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OCDMIOKNHHH.proto"; + +option go_package = "./;proto"; + +message Unk2700_NOGODJOJDGF { + uint32 score = 12; + Unk2700_OCDMIOKNHHH player_info = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.pb.go b/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.pb.go new file mode 100644 index 00000000..746c28ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_NPOBPFNDJKK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_NPOBPFNDJKK int32 + +const ( + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_PGICIHIAMBF Unk2700_NPOBPFNDJKK = 0 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_OALJEIJHGKL Unk2700_NPOBPFNDJKK = 1 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_JDIGCAMIBIA Unk2700_NPOBPFNDJKK = 2 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_KBGKJADDAAF Unk2700_NPOBPFNDJKK = 3 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_MNPNGKHMFNA Unk2700_NPOBPFNDJKK = 4 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_NBCDOEINJLJ Unk2700_NPOBPFNDJKK = 5 + Unk2700_NPOBPFNDJKK_Unk2700_NPOBPFNDJKK_Unk2700_PHLJKMGKCBM Unk2700_NPOBPFNDJKK = 6 +) + +// Enum value maps for Unk2700_NPOBPFNDJKK. +var ( + Unk2700_NPOBPFNDJKK_name = map[int32]string{ + 0: "Unk2700_NPOBPFNDJKK_Unk2700_PGICIHIAMBF", + 1: "Unk2700_NPOBPFNDJKK_Unk2700_OALJEIJHGKL", + 2: "Unk2700_NPOBPFNDJKK_Unk2700_JDIGCAMIBIA", + 3: "Unk2700_NPOBPFNDJKK_Unk2700_KBGKJADDAAF", + 4: "Unk2700_NPOBPFNDJKK_Unk2700_MNPNGKHMFNA", + 5: "Unk2700_NPOBPFNDJKK_Unk2700_NBCDOEINJLJ", + 6: "Unk2700_NPOBPFNDJKK_Unk2700_PHLJKMGKCBM", + } + Unk2700_NPOBPFNDJKK_value = map[string]int32{ + "Unk2700_NPOBPFNDJKK_Unk2700_PGICIHIAMBF": 0, + "Unk2700_NPOBPFNDJKK_Unk2700_OALJEIJHGKL": 1, + "Unk2700_NPOBPFNDJKK_Unk2700_JDIGCAMIBIA": 2, + "Unk2700_NPOBPFNDJKK_Unk2700_KBGKJADDAAF": 3, + "Unk2700_NPOBPFNDJKK_Unk2700_MNPNGKHMFNA": 4, + "Unk2700_NPOBPFNDJKK_Unk2700_NBCDOEINJLJ": 5, + "Unk2700_NPOBPFNDJKK_Unk2700_PHLJKMGKCBM": 6, + } +) + +func (x Unk2700_NPOBPFNDJKK) Enum() *Unk2700_NPOBPFNDJKK { + p := new(Unk2700_NPOBPFNDJKK) + *p = x + return p +} + +func (x Unk2700_NPOBPFNDJKK) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_NPOBPFNDJKK) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_NPOBPFNDJKK_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_NPOBPFNDJKK) Type() protoreflect.EnumType { + return &file_Unk2700_NPOBPFNDJKK_proto_enumTypes[0] +} + +func (x Unk2700_NPOBPFNDJKK) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_NPOBPFNDJKK.Descriptor instead. +func (Unk2700_NPOBPFNDJKK) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_NPOBPFNDJKK_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_NPOBPFNDJKK_proto protoreflect.FileDescriptor + +var file_Unk2700_NPOBPFNDJKK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, + 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xd0, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, + 0x4a, 0x4b, 0x4b, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, + 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x47, 0x49, 0x43, 0x49, 0x48, 0x49, 0x41, 0x4d, 0x42, 0x46, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, + 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4f, 0x41, 0x4c, 0x4a, 0x45, 0x49, 0x4a, 0x48, 0x47, 0x4b, 0x4c, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, + 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x49, + 0x47, 0x43, 0x41, 0x4d, 0x49, 0x42, 0x49, 0x41, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, + 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x42, 0x47, 0x4b, 0x4a, 0x41, + 0x44, 0x44, 0x41, 0x41, 0x46, 0x10, 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x50, 0x4e, 0x47, 0x4b, 0x48, 0x4d, 0x46, + 0x4e, 0x41, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4e, 0x50, 0x4f, 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x42, 0x43, 0x44, 0x4f, 0x45, 0x49, 0x4e, 0x4a, 0x4c, 0x4a, 0x10, + 0x05, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x4f, + 0x42, 0x50, 0x46, 0x4e, 0x44, 0x4a, 0x4b, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x48, 0x4c, 0x4a, 0x4b, 0x4d, 0x47, 0x4b, 0x43, 0x42, 0x4d, 0x10, 0x06, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_NPOBPFNDJKK_proto_rawDescOnce sync.Once + file_Unk2700_NPOBPFNDJKK_proto_rawDescData = file_Unk2700_NPOBPFNDJKK_proto_rawDesc +) + +func file_Unk2700_NPOBPFNDJKK_proto_rawDescGZIP() []byte { + file_Unk2700_NPOBPFNDJKK_proto_rawDescOnce.Do(func() { + file_Unk2700_NPOBPFNDJKK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_NPOBPFNDJKK_proto_rawDescData) + }) + return file_Unk2700_NPOBPFNDJKK_proto_rawDescData +} + +var file_Unk2700_NPOBPFNDJKK_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_NPOBPFNDJKK_proto_goTypes = []interface{}{ + (Unk2700_NPOBPFNDJKK)(0), // 0: Unk2700_NPOBPFNDJKK +} +var file_Unk2700_NPOBPFNDJKK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_NPOBPFNDJKK_proto_init() } +func file_Unk2700_NPOBPFNDJKK_proto_init() { + if File_Unk2700_NPOBPFNDJKK_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_NPOBPFNDJKK_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_NPOBPFNDJKK_proto_goTypes, + DependencyIndexes: file_Unk2700_NPOBPFNDJKK_proto_depIdxs, + EnumInfos: file_Unk2700_NPOBPFNDJKK_proto_enumTypes, + }.Build() + File_Unk2700_NPOBPFNDJKK_proto = out.File + file_Unk2700_NPOBPFNDJKK_proto_rawDesc = nil + file_Unk2700_NPOBPFNDJKK_proto_goTypes = nil + file_Unk2700_NPOBPFNDJKK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.proto b/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.proto new file mode 100644 index 00000000..db9aa3fe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_NPOBPFNDJKK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_NPOBPFNDJKK { + Unk2700_NPOBPFNDJKK_Unk2700_PGICIHIAMBF = 0; + Unk2700_NPOBPFNDJKK_Unk2700_OALJEIJHGKL = 1; + Unk2700_NPOBPFNDJKK_Unk2700_JDIGCAMIBIA = 2; + Unk2700_NPOBPFNDJKK_Unk2700_KBGKJADDAAF = 3; + Unk2700_NPOBPFNDJKK_Unk2700_MNPNGKHMFNA = 4; + Unk2700_NPOBPFNDJKK_Unk2700_NBCDOEINJLJ = 5; + Unk2700_NPOBPFNDJKK_Unk2700_PHLJKMGKCBM = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.pb.go b/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.pb.go new file mode 100644 index 00000000..776716bb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OBCKNDBAPGE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8072 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OBCKNDBAPGE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetId uint32 `protobuf:"varint,9,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` +} + +func (x *Unk2700_OBCKNDBAPGE) Reset() { + *x = Unk2700_OBCKNDBAPGE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OBCKNDBAPGE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OBCKNDBAPGE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OBCKNDBAPGE) ProtoMessage() {} + +func (x *Unk2700_OBCKNDBAPGE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OBCKNDBAPGE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OBCKNDBAPGE.ProtoReflect.Descriptor instead. +func (*Unk2700_OBCKNDBAPGE) Descriptor() ([]byte, []int) { + return file_Unk2700_OBCKNDBAPGE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OBCKNDBAPGE) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *Unk2700_OBCKNDBAPGE) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +var File_Unk2700_OBCKNDBAPGE_proto protoreflect.FileDescriptor + +var file_Unk2700_OBCKNDBAPGE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, 0x43, 0x4b, 0x4e, 0x44, + 0x42, 0x41, 0x50, 0x47, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, 0x43, 0x4b, 0x4e, 0x44, 0x42, 0x41, 0x50, + 0x47, 0x45, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OBCKNDBAPGE_proto_rawDescOnce sync.Once + file_Unk2700_OBCKNDBAPGE_proto_rawDescData = file_Unk2700_OBCKNDBAPGE_proto_rawDesc +) + +func file_Unk2700_OBCKNDBAPGE_proto_rawDescGZIP() []byte { + file_Unk2700_OBCKNDBAPGE_proto_rawDescOnce.Do(func() { + file_Unk2700_OBCKNDBAPGE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OBCKNDBAPGE_proto_rawDescData) + }) + return file_Unk2700_OBCKNDBAPGE_proto_rawDescData +} + +var file_Unk2700_OBCKNDBAPGE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OBCKNDBAPGE_proto_goTypes = []interface{}{ + (*Unk2700_OBCKNDBAPGE)(nil), // 0: Unk2700_OBCKNDBAPGE +} +var file_Unk2700_OBCKNDBAPGE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OBCKNDBAPGE_proto_init() } +func file_Unk2700_OBCKNDBAPGE_proto_init() { + if File_Unk2700_OBCKNDBAPGE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OBCKNDBAPGE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OBCKNDBAPGE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OBCKNDBAPGE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OBCKNDBAPGE_proto_goTypes, + DependencyIndexes: file_Unk2700_OBCKNDBAPGE_proto_depIdxs, + MessageInfos: file_Unk2700_OBCKNDBAPGE_proto_msgTypes, + }.Build() + File_Unk2700_OBCKNDBAPGE_proto = out.File + file_Unk2700_OBCKNDBAPGE_proto_rawDesc = nil + file_Unk2700_OBCKNDBAPGE_proto_goTypes = nil + file_Unk2700_OBCKNDBAPGE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.proto b/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.proto new file mode 100644 index 00000000..bc561d50 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OBCKNDBAPGE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8072 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OBCKNDBAPGE { + uint32 gadget_id = 9; + uint32 group_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.pb.go b/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.pb.go new file mode 100644 index 00000000..be799d67 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OBDHJJHLIKJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8523 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OBDHJJHLIKJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MAOAHHBCKIA uint32 `protobuf:"varint,2,opt,name=Unk2700_MAOAHHBCKIA,json=Unk2700MAOAHHBCKIA,proto3" json:"Unk2700_MAOAHHBCKIA,omitempty"` + ActivityId uint32 `protobuf:"varint,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_OBDHJJHLIKJ) Reset() { + *x = Unk2700_OBDHJJHLIKJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OBDHJJHLIKJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OBDHJJHLIKJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OBDHJJHLIKJ) ProtoMessage() {} + +func (x *Unk2700_OBDHJJHLIKJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OBDHJJHLIKJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OBDHJJHLIKJ.ProtoReflect.Descriptor instead. +func (*Unk2700_OBDHJJHLIKJ) Descriptor() ([]byte, []int) { + return file_Unk2700_OBDHJJHLIKJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OBDHJJHLIKJ) GetUnk2700_MAOAHHBCKIA() uint32 { + if x != nil { + return x.Unk2700_MAOAHHBCKIA + } + return 0 +} + +func (x *Unk2700_OBDHJJHLIKJ) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_OBDHJJHLIKJ_proto protoreflect.FileDescriptor + +var file_Unk2700_OBDHJJHLIKJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, 0x44, 0x48, 0x4a, 0x4a, + 0x48, 0x4c, 0x49, 0x4b, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x42, 0x44, 0x48, 0x4a, 0x4a, 0x48, 0x4c, 0x49, + 0x4b, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x41, + 0x4f, 0x41, 0x48, 0x48, 0x42, 0x43, 0x4b, 0x49, 0x41, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x41, 0x4f, 0x41, 0x48, 0x48, 0x42, 0x43, + 0x4b, 0x49, 0x41, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OBDHJJHLIKJ_proto_rawDescOnce sync.Once + file_Unk2700_OBDHJJHLIKJ_proto_rawDescData = file_Unk2700_OBDHJJHLIKJ_proto_rawDesc +) + +func file_Unk2700_OBDHJJHLIKJ_proto_rawDescGZIP() []byte { + file_Unk2700_OBDHJJHLIKJ_proto_rawDescOnce.Do(func() { + file_Unk2700_OBDHJJHLIKJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OBDHJJHLIKJ_proto_rawDescData) + }) + return file_Unk2700_OBDHJJHLIKJ_proto_rawDescData +} + +var file_Unk2700_OBDHJJHLIKJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OBDHJJHLIKJ_proto_goTypes = []interface{}{ + (*Unk2700_OBDHJJHLIKJ)(nil), // 0: Unk2700_OBDHJJHLIKJ +} +var file_Unk2700_OBDHJJHLIKJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OBDHJJHLIKJ_proto_init() } +func file_Unk2700_OBDHJJHLIKJ_proto_init() { + if File_Unk2700_OBDHJJHLIKJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OBDHJJHLIKJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OBDHJJHLIKJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OBDHJJHLIKJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OBDHJJHLIKJ_proto_goTypes, + DependencyIndexes: file_Unk2700_OBDHJJHLIKJ_proto_depIdxs, + MessageInfos: file_Unk2700_OBDHJJHLIKJ_proto_msgTypes, + }.Build() + File_Unk2700_OBDHJJHLIKJ_proto = out.File + file_Unk2700_OBDHJJHLIKJ_proto_rawDesc = nil + file_Unk2700_OBDHJJHLIKJ_proto_goTypes = nil + file_Unk2700_OBDHJJHLIKJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.proto b/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.proto new file mode 100644 index 00000000..f6643c42 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OBDHJJHLIKJ.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8523 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OBDHJJHLIKJ { + uint32 Unk2700_MAOAHHBCKIA = 2; + uint32 activity_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.pb.go b/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.pb.go new file mode 100644 index 00000000..cfcd6baa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OCAJADDLPBB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8718 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_OCAJADDLPBB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_LFALEEDODEC uint32 `protobuf:"varint,7,opt,name=Unk2700_LFALEEDODEC,json=Unk2700LFALEEDODEC,proto3" json:"Unk2700_LFALEEDODEC,omitempty"` +} + +func (x *Unk2700_OCAJADDLPBB) Reset() { + *x = Unk2700_OCAJADDLPBB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OCAJADDLPBB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OCAJADDLPBB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OCAJADDLPBB) ProtoMessage() {} + +func (x *Unk2700_OCAJADDLPBB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OCAJADDLPBB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OCAJADDLPBB.ProtoReflect.Descriptor instead. +func (*Unk2700_OCAJADDLPBB) Descriptor() ([]byte, []int) { + return file_Unk2700_OCAJADDLPBB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OCAJADDLPBB) GetUnk2700_LFALEEDODEC() uint32 { + if x != nil { + return x.Unk2700_LFALEEDODEC + } + return 0 +} + +var File_Unk2700_OCAJADDLPBB_proto protoreflect.FileDescriptor + +var file_Unk2700_OCAJADDLPBB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x41, 0x4a, 0x41, 0x44, + 0x44, 0x4c, 0x50, 0x42, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x41, 0x4a, 0x41, 0x44, 0x44, 0x4c, 0x50, + 0x42, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4c, 0x46, + 0x41, 0x4c, 0x45, 0x45, 0x44, 0x4f, 0x44, 0x45, 0x43, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4c, 0x46, 0x41, 0x4c, 0x45, 0x45, 0x44, 0x4f, + 0x44, 0x45, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OCAJADDLPBB_proto_rawDescOnce sync.Once + file_Unk2700_OCAJADDLPBB_proto_rawDescData = file_Unk2700_OCAJADDLPBB_proto_rawDesc +) + +func file_Unk2700_OCAJADDLPBB_proto_rawDescGZIP() []byte { + file_Unk2700_OCAJADDLPBB_proto_rawDescOnce.Do(func() { + file_Unk2700_OCAJADDLPBB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OCAJADDLPBB_proto_rawDescData) + }) + return file_Unk2700_OCAJADDLPBB_proto_rawDescData +} + +var file_Unk2700_OCAJADDLPBB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OCAJADDLPBB_proto_goTypes = []interface{}{ + (*Unk2700_OCAJADDLPBB)(nil), // 0: Unk2700_OCAJADDLPBB +} +var file_Unk2700_OCAJADDLPBB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OCAJADDLPBB_proto_init() } +func file_Unk2700_OCAJADDLPBB_proto_init() { + if File_Unk2700_OCAJADDLPBB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OCAJADDLPBB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OCAJADDLPBB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OCAJADDLPBB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OCAJADDLPBB_proto_goTypes, + DependencyIndexes: file_Unk2700_OCAJADDLPBB_proto_depIdxs, + MessageInfos: file_Unk2700_OCAJADDLPBB_proto_msgTypes, + }.Build() + File_Unk2700_OCAJADDLPBB_proto = out.File + file_Unk2700_OCAJADDLPBB_proto_rawDesc = nil + file_Unk2700_OCAJADDLPBB_proto_goTypes = nil + file_Unk2700_OCAJADDLPBB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.proto b/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.proto new file mode 100644 index 00000000..e492431f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCAJADDLPBB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8718 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_OCAJADDLPBB { + uint32 Unk2700_LFALEEDODEC = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.pb.go b/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.pb.go new file mode 100644 index 00000000..2797874e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OCDMIOKNHHH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OCDMIOKNHHH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnlineId string `protobuf:"bytes,14,opt,name=online_id,json=onlineId,proto3" json:"online_id,omitempty"` + PsnId string `protobuf:"bytes,6,opt,name=psn_id,json=psnId,proto3" json:"psn_id,omitempty"` + Nickname string `protobuf:"bytes,15,opt,name=nickname,proto3" json:"nickname,omitempty"` + PlayerLevel uint32 `protobuf:"varint,4,opt,name=player_level,json=playerLevel,proto3" json:"player_level,omitempty"` + Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` + ProfilePicture *ProfilePicture `protobuf:"bytes,5,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"` +} + +func (x *Unk2700_OCDMIOKNHHH) Reset() { + *x = Unk2700_OCDMIOKNHHH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OCDMIOKNHHH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OCDMIOKNHHH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OCDMIOKNHHH) ProtoMessage() {} + +func (x *Unk2700_OCDMIOKNHHH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OCDMIOKNHHH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OCDMIOKNHHH.ProtoReflect.Descriptor instead. +func (*Unk2700_OCDMIOKNHHH) Descriptor() ([]byte, []int) { + return file_Unk2700_OCDMIOKNHHH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OCDMIOKNHHH) GetOnlineId() string { + if x != nil { + return x.OnlineId + } + return "" +} + +func (x *Unk2700_OCDMIOKNHHH) GetPsnId() string { + if x != nil { + return x.PsnId + } + return "" +} + +func (x *Unk2700_OCDMIOKNHHH) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *Unk2700_OCDMIOKNHHH) GetPlayerLevel() uint32 { + if x != nil { + return x.PlayerLevel + } + return 0 +} + +func (x *Unk2700_OCDMIOKNHHH) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_OCDMIOKNHHH) GetProfilePicture() *ProfilePicture { + if x != nil { + return x.ProfilePicture + } + return nil +} + +var File_Unk2700_OCDMIOKNHHH_proto protoreflect.FileDescriptor + +var file_Unk2700_OCDMIOKNHHH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, + 0x4b, 0x4e, 0x48, 0x48, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd4, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, + 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x73, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x38, + 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OCDMIOKNHHH_proto_rawDescOnce sync.Once + file_Unk2700_OCDMIOKNHHH_proto_rawDescData = file_Unk2700_OCDMIOKNHHH_proto_rawDesc +) + +func file_Unk2700_OCDMIOKNHHH_proto_rawDescGZIP() []byte { + file_Unk2700_OCDMIOKNHHH_proto_rawDescOnce.Do(func() { + file_Unk2700_OCDMIOKNHHH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OCDMIOKNHHH_proto_rawDescData) + }) + return file_Unk2700_OCDMIOKNHHH_proto_rawDescData +} + +var file_Unk2700_OCDMIOKNHHH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OCDMIOKNHHH_proto_goTypes = []interface{}{ + (*Unk2700_OCDMIOKNHHH)(nil), // 0: Unk2700_OCDMIOKNHHH + (*ProfilePicture)(nil), // 1: ProfilePicture +} +var file_Unk2700_OCDMIOKNHHH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OCDMIOKNHHH.profile_picture:type_name -> ProfilePicture + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OCDMIOKNHHH_proto_init() } +func file_Unk2700_OCDMIOKNHHH_proto_init() { + if File_Unk2700_OCDMIOKNHHH_proto != nil { + return + } + file_ProfilePicture_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_OCDMIOKNHHH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OCDMIOKNHHH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OCDMIOKNHHH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OCDMIOKNHHH_proto_goTypes, + DependencyIndexes: file_Unk2700_OCDMIOKNHHH_proto_depIdxs, + MessageInfos: file_Unk2700_OCDMIOKNHHH_proto_msgTypes, + }.Build() + File_Unk2700_OCDMIOKNHHH_proto = out.File + file_Unk2700_OCDMIOKNHHH_proto_rawDesc = nil + file_Unk2700_OCDMIOKNHHH_proto_goTypes = nil + file_Unk2700_OCDMIOKNHHH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.proto b/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.proto new file mode 100644 index 00000000..09d4c182 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCDMIOKNHHH.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ProfilePicture.proto"; + +option go_package = "./;proto"; + +message Unk2700_OCDMIOKNHHH { + string online_id = 14; + string psn_id = 6; + string nickname = 15; + uint32 player_level = 4; + uint32 uid = 2; + ProfilePicture profile_picture = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.pb.go b/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.pb.go new file mode 100644 index 00000000..8ab597eb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OCOKILBJIPJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OCOKILBJIPJ int32 + +const ( + Unk2700_OCOKILBJIPJ_Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH Unk2700_OCOKILBJIPJ = 0 + Unk2700_OCOKILBJIPJ_Unk2700_OCOKILBJIPJ_Unk2700_PDKBOLMIHMA Unk2700_OCOKILBJIPJ = 1 + Unk2700_OCOKILBJIPJ_Unk2700_OCOKILBJIPJ_Unk2700_MCEBEJONJGH Unk2700_OCOKILBJIPJ = 2 + Unk2700_OCOKILBJIPJ_Unk2700_OCOKILBJIPJ_Unk2700_MCNDLHHBBGJ Unk2700_OCOKILBJIPJ = 3 +) + +// Enum value maps for Unk2700_OCOKILBJIPJ. +var ( + Unk2700_OCOKILBJIPJ_name = map[int32]string{ + 0: "Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH", + 1: "Unk2700_OCOKILBJIPJ_Unk2700_PDKBOLMIHMA", + 2: "Unk2700_OCOKILBJIPJ_Unk2700_MCEBEJONJGH", + 3: "Unk2700_OCOKILBJIPJ_Unk2700_MCNDLHHBBGJ", + } + Unk2700_OCOKILBJIPJ_value = map[string]int32{ + "Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH": 0, + "Unk2700_OCOKILBJIPJ_Unk2700_PDKBOLMIHMA": 1, + "Unk2700_OCOKILBJIPJ_Unk2700_MCEBEJONJGH": 2, + "Unk2700_OCOKILBJIPJ_Unk2700_MCNDLHHBBGJ": 3, + } +) + +func (x Unk2700_OCOKILBJIPJ) Enum() *Unk2700_OCOKILBJIPJ { + p := new(Unk2700_OCOKILBJIPJ) + *p = x + return p +} + +func (x Unk2700_OCOKILBJIPJ) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_OCOKILBJIPJ) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_OCOKILBJIPJ_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_OCOKILBJIPJ) Type() protoreflect.EnumType { + return &file_Unk2700_OCOKILBJIPJ_proto_enumTypes[0] +} + +func (x Unk2700_OCOKILBJIPJ) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_OCOKILBJIPJ.Descriptor instead. +func (Unk2700_OCOKILBJIPJ) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_OCOKILBJIPJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_OCOKILBJIPJ_proto protoreflect.FileDescriptor + +var file_Unk2700_OCOKILBJIPJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, + 0x42, 0x4a, 0x49, 0x50, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, 0x4a, + 0x49, 0x50, 0x4a, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, 0x4a, 0x49, 0x50, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x47, 0x4f, 0x45, 0x4d, 0x50, 0x4e, 0x43, 0x45, 0x48, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, + 0x49, 0x4c, 0x42, 0x4a, 0x49, 0x50, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x44, 0x4b, 0x42, 0x4f, 0x4c, 0x4d, 0x49, 0x48, 0x4d, 0x41, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, + 0x4a, 0x49, 0x50, 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x45, + 0x42, 0x45, 0x4a, 0x4f, 0x4e, 0x4a, 0x47, 0x48, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x4f, 0x4b, 0x49, 0x4c, 0x42, 0x4a, 0x49, 0x50, + 0x4a, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x43, 0x4e, 0x44, 0x4c, 0x48, + 0x48, 0x42, 0x42, 0x47, 0x4a, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OCOKILBJIPJ_proto_rawDescOnce sync.Once + file_Unk2700_OCOKILBJIPJ_proto_rawDescData = file_Unk2700_OCOKILBJIPJ_proto_rawDesc +) + +func file_Unk2700_OCOKILBJIPJ_proto_rawDescGZIP() []byte { + file_Unk2700_OCOKILBJIPJ_proto_rawDescOnce.Do(func() { + file_Unk2700_OCOKILBJIPJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OCOKILBJIPJ_proto_rawDescData) + }) + return file_Unk2700_OCOKILBJIPJ_proto_rawDescData +} + +var file_Unk2700_OCOKILBJIPJ_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_OCOKILBJIPJ_proto_goTypes = []interface{}{ + (Unk2700_OCOKILBJIPJ)(0), // 0: Unk2700_OCOKILBJIPJ +} +var file_Unk2700_OCOKILBJIPJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OCOKILBJIPJ_proto_init() } +func file_Unk2700_OCOKILBJIPJ_proto_init() { + if File_Unk2700_OCOKILBJIPJ_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OCOKILBJIPJ_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OCOKILBJIPJ_proto_goTypes, + DependencyIndexes: file_Unk2700_OCOKILBJIPJ_proto_depIdxs, + EnumInfos: file_Unk2700_OCOKILBJIPJ_proto_enumTypes, + }.Build() + File_Unk2700_OCOKILBJIPJ_proto = out.File + file_Unk2700_OCOKILBJIPJ_proto_rawDesc = nil + file_Unk2700_OCOKILBJIPJ_proto_goTypes = nil + file_Unk2700_OCOKILBJIPJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.proto b/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.proto new file mode 100644 index 00000000..6a4ba66c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OCOKILBJIPJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_OCOKILBJIPJ { + Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH = 0; + Unk2700_OCOKILBJIPJ_Unk2700_PDKBOLMIHMA = 1; + Unk2700_OCOKILBJIPJ_Unk2700_MCEBEJONJGH = 2; + Unk2700_OCOKILBJIPJ_Unk2700_MCNDLHHBBGJ = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.pb.go b/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.pb.go new file mode 100644 index 00000000..c295f987 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ODBNBICOCFK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8054 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ODBNBICOCFK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_AOJDMJPGBOL uint32 `protobuf:"varint,2,opt,name=Unk2700_AOJDMJPGBOL,json=Unk2700AOJDMJPGBOL,proto3" json:"Unk2700_AOJDMJPGBOL,omitempty"` +} + +func (x *Unk2700_ODBNBICOCFK) Reset() { + *x = Unk2700_ODBNBICOCFK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ODBNBICOCFK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ODBNBICOCFK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ODBNBICOCFK) ProtoMessage() {} + +func (x *Unk2700_ODBNBICOCFK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ODBNBICOCFK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ODBNBICOCFK.ProtoReflect.Descriptor instead. +func (*Unk2700_ODBNBICOCFK) Descriptor() ([]byte, []int) { + return file_Unk2700_ODBNBICOCFK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ODBNBICOCFK) GetUnk2700_AOJDMJPGBOL() uint32 { + if x != nil { + return x.Unk2700_AOJDMJPGBOL + } + return 0 +} + +var File_Unk2700_ODBNBICOCFK_proto protoreflect.FileDescriptor + +var file_Unk2700_ODBNBICOCFK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x42, 0x4e, 0x42, 0x49, + 0x43, 0x4f, 0x43, 0x46, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x42, 0x4e, 0x42, 0x49, 0x43, 0x4f, 0x43, + 0x46, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, 0x4f, + 0x4a, 0x44, 0x4d, 0x4a, 0x50, 0x47, 0x42, 0x4f, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4f, 0x4a, 0x44, 0x4d, 0x4a, 0x50, 0x47, + 0x42, 0x4f, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ODBNBICOCFK_proto_rawDescOnce sync.Once + file_Unk2700_ODBNBICOCFK_proto_rawDescData = file_Unk2700_ODBNBICOCFK_proto_rawDesc +) + +func file_Unk2700_ODBNBICOCFK_proto_rawDescGZIP() []byte { + file_Unk2700_ODBNBICOCFK_proto_rawDescOnce.Do(func() { + file_Unk2700_ODBNBICOCFK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ODBNBICOCFK_proto_rawDescData) + }) + return file_Unk2700_ODBNBICOCFK_proto_rawDescData +} + +var file_Unk2700_ODBNBICOCFK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ODBNBICOCFK_proto_goTypes = []interface{}{ + (*Unk2700_ODBNBICOCFK)(nil), // 0: Unk2700_ODBNBICOCFK +} +var file_Unk2700_ODBNBICOCFK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ODBNBICOCFK_proto_init() } +func file_Unk2700_ODBNBICOCFK_proto_init() { + if File_Unk2700_ODBNBICOCFK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ODBNBICOCFK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ODBNBICOCFK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ODBNBICOCFK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ODBNBICOCFK_proto_goTypes, + DependencyIndexes: file_Unk2700_ODBNBICOCFK_proto_depIdxs, + MessageInfos: file_Unk2700_ODBNBICOCFK_proto_msgTypes, + }.Build() + File_Unk2700_ODBNBICOCFK_proto = out.File + file_Unk2700_ODBNBICOCFK_proto_rawDesc = nil + file_Unk2700_ODBNBICOCFK_proto_goTypes = nil + file_Unk2700_ODBNBICOCFK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.proto b/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.proto new file mode 100644 index 00000000..97cafc62 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ODBNBICOCFK.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8054 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ODBNBICOCFK { + uint32 Unk2700_AOJDMJPGBOL = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.pb.go b/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.pb.go new file mode 100644 index 00000000..28745697 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ODJKHILOILK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8067 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_ODJKHILOILK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_BBEEMJECIAA *PotionStage `protobuf:"bytes,14,opt,name=Unk2700_BBEEMJECIAA,json=Unk2700BBEEMJECIAA,proto3" json:"Unk2700_BBEEMJECIAA,omitempty"` +} + +func (x *Unk2700_ODJKHILOILK) Reset() { + *x = Unk2700_ODJKHILOILK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ODJKHILOILK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ODJKHILOILK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ODJKHILOILK) ProtoMessage() {} + +func (x *Unk2700_ODJKHILOILK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ODJKHILOILK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ODJKHILOILK.ProtoReflect.Descriptor instead. +func (*Unk2700_ODJKHILOILK) Descriptor() ([]byte, []int) { + return file_Unk2700_ODJKHILOILK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ODJKHILOILK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_ODJKHILOILK) GetUnk2700_BBEEMJECIAA() *PotionStage { + if x != nil { + return x.Unk2700_BBEEMJECIAA + } + return nil +} + +var File_Unk2700_ODJKHILOILK_proto protoreflect.FileDescriptor + +var file_Unk2700_ODJKHILOILK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x4a, 0x4b, 0x48, 0x49, + 0x4c, 0x4f, 0x49, 0x4c, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x50, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x4a, 0x4b, 0x48, 0x49, + 0x4c, 0x4f, 0x49, 0x4c, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x3d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x45, 0x45, 0x4d, + 0x4a, 0x45, 0x43, 0x49, 0x41, 0x41, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, + 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x42, 0x42, 0x45, 0x45, 0x4d, 0x4a, 0x45, 0x43, 0x49, 0x41, 0x41, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_ODJKHILOILK_proto_rawDescOnce sync.Once + file_Unk2700_ODJKHILOILK_proto_rawDescData = file_Unk2700_ODJKHILOILK_proto_rawDesc +) + +func file_Unk2700_ODJKHILOILK_proto_rawDescGZIP() []byte { + file_Unk2700_ODJKHILOILK_proto_rawDescOnce.Do(func() { + file_Unk2700_ODJKHILOILK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ODJKHILOILK_proto_rawDescData) + }) + return file_Unk2700_ODJKHILOILK_proto_rawDescData +} + +var file_Unk2700_ODJKHILOILK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ODJKHILOILK_proto_goTypes = []interface{}{ + (*Unk2700_ODJKHILOILK)(nil), // 0: Unk2700_ODJKHILOILK + (*PotionStage)(nil), // 1: PotionStage +} +var file_Unk2700_ODJKHILOILK_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ODJKHILOILK.Unk2700_BBEEMJECIAA:type_name -> PotionStage + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ODJKHILOILK_proto_init() } +func file_Unk2700_ODJKHILOILK_proto_init() { + if File_Unk2700_ODJKHILOILK_proto != nil { + return + } + file_PotionStage_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ODJKHILOILK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ODJKHILOILK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ODJKHILOILK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ODJKHILOILK_proto_goTypes, + DependencyIndexes: file_Unk2700_ODJKHILOILK_proto_depIdxs, + MessageInfos: file_Unk2700_ODJKHILOILK_proto_msgTypes, + }.Build() + File_Unk2700_ODJKHILOILK_proto = out.File + file_Unk2700_ODJKHILOILK_proto_rawDesc = nil + file_Unk2700_ODJKHILOILK_proto_goTypes = nil + file_Unk2700_ODJKHILOILK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.proto b/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.proto new file mode 100644 index 00000000..fd31e2e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ODJKHILOILK.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PotionStage.proto"; + +option go_package = "./;proto"; + +// CmdId: 8067 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_ODJKHILOILK { + int32 retcode = 11; + PotionStage Unk2700_BBEEMJECIAA = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.pb.go b/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.pb.go new file mode 100644 index 00000000..18df4000 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OEDLCGKNGLH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8686 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OEDLCGKNGLH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,2,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_OEDLCGKNGLH) Reset() { + *x = Unk2700_OEDLCGKNGLH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OEDLCGKNGLH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OEDLCGKNGLH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OEDLCGKNGLH) ProtoMessage() {} + +func (x *Unk2700_OEDLCGKNGLH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OEDLCGKNGLH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OEDLCGKNGLH.ProtoReflect.Descriptor instead. +func (*Unk2700_OEDLCGKNGLH) Descriptor() ([]byte, []int) { + return file_Unk2700_OEDLCGKNGLH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OEDLCGKNGLH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_OEDLCGKNGLH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_OEDLCGKNGLH_proto protoreflect.FileDescriptor + +var file_Unk2700_OEDLCGKNGLH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x45, 0x44, 0x4c, 0x43, 0x47, + 0x4b, 0x4e, 0x47, 0x4c, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x45, 0x44, 0x4c, 0x43, 0x47, 0x4b, 0x4e, 0x47, + 0x4c, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OEDLCGKNGLH_proto_rawDescOnce sync.Once + file_Unk2700_OEDLCGKNGLH_proto_rawDescData = file_Unk2700_OEDLCGKNGLH_proto_rawDesc +) + +func file_Unk2700_OEDLCGKNGLH_proto_rawDescGZIP() []byte { + file_Unk2700_OEDLCGKNGLH_proto_rawDescOnce.Do(func() { + file_Unk2700_OEDLCGKNGLH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OEDLCGKNGLH_proto_rawDescData) + }) + return file_Unk2700_OEDLCGKNGLH_proto_rawDescData +} + +var file_Unk2700_OEDLCGKNGLH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OEDLCGKNGLH_proto_goTypes = []interface{}{ + (*Unk2700_OEDLCGKNGLH)(nil), // 0: Unk2700_OEDLCGKNGLH +} +var file_Unk2700_OEDLCGKNGLH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OEDLCGKNGLH_proto_init() } +func file_Unk2700_OEDLCGKNGLH_proto_init() { + if File_Unk2700_OEDLCGKNGLH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OEDLCGKNGLH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OEDLCGKNGLH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OEDLCGKNGLH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OEDLCGKNGLH_proto_goTypes, + DependencyIndexes: file_Unk2700_OEDLCGKNGLH_proto_depIdxs, + MessageInfos: file_Unk2700_OEDLCGKNGLH_proto_msgTypes, + }.Build() + File_Unk2700_OEDLCGKNGLH_proto = out.File + file_Unk2700_OEDLCGKNGLH_proto_rawDesc = nil + file_Unk2700_OEDLCGKNGLH_proto_goTypes = nil + file_Unk2700_OEDLCGKNGLH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.proto b/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.proto new file mode 100644 index 00000000..ce01a8d9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OEDLCGKNGLH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8686 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OEDLCGKNGLH { + uint32 level_id = 2; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.pb.go b/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.pb.go new file mode 100644 index 00000000..3597310f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OFDBHGHAJBD_ServerNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6223 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OFDBHGHAJBD_ServerNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_JIFAAPCJOHK *Unk2700_MIBBHAEMAGI `protobuf:"bytes,12,opt,name=Unk2700_JIFAAPCJOHK,json=Unk2700JIFAAPCJOHK,proto3" json:"Unk2700_JIFAAPCJOHK,omitempty"` +} + +func (x *Unk2700_OFDBHGHAJBD_ServerNotify) Reset() { + *x = Unk2700_OFDBHGHAJBD_ServerNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OFDBHGHAJBD_ServerNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OFDBHGHAJBD_ServerNotify) ProtoMessage() {} + +func (x *Unk2700_OFDBHGHAJBD_ServerNotify) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OFDBHGHAJBD_ServerNotify.ProtoReflect.Descriptor instead. +func (*Unk2700_OFDBHGHAJBD_ServerNotify) Descriptor() ([]byte, []int) { + return file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OFDBHGHAJBD_ServerNotify) GetUnk2700_JIFAAPCJOHK() *Unk2700_MIBBHAEMAGI { + if x != nil { + return x.Unk2700_JIFAAPCJOHK + } + return nil +} + +var File_Unk2700_OFDBHGHAJBD_ServerNotify_proto protoreflect.FileDescriptor + +var file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x44, 0x42, 0x48, 0x47, + 0x48, 0x41, 0x4a, 0x42, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x49, 0x42, 0x42, 0x48, 0x41, 0x45, 0x4d, 0x41, 0x47, 0x49, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x20, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, + 0x46, 0x44, 0x42, 0x48, 0x47, 0x48, 0x41, 0x4a, 0x42, 0x44, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x46, 0x41, 0x41, 0x50, 0x43, 0x4a, 0x4f, 0x48, 0x4b, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x49, 0x42, 0x42, 0x48, 0x41, 0x45, 0x4d, 0x41, 0x47, 0x49, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x4a, 0x49, 0x46, 0x41, 0x41, 0x50, 0x43, 0x4a, 0x4f, 0x48, 0x4b, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescOnce sync.Once + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescData = file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDesc +) + +func file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescGZIP() []byte { + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescOnce.Do(func() { + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescData) + }) + return file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDescData +} + +var file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_goTypes = []interface{}{ + (*Unk2700_OFDBHGHAJBD_ServerNotify)(nil), // 0: Unk2700_OFDBHGHAJBD_ServerNotify + (*Unk2700_MIBBHAEMAGI)(nil), // 1: Unk2700_MIBBHAEMAGI +} +var file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OFDBHGHAJBD_ServerNotify.Unk2700_JIFAAPCJOHK:type_name -> Unk2700_MIBBHAEMAGI + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_init() } +func file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_init() { + if File_Unk2700_OFDBHGHAJBD_ServerNotify_proto != nil { + return + } + file_Unk2700_MIBBHAEMAGI_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OFDBHGHAJBD_ServerNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_goTypes, + DependencyIndexes: file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_depIdxs, + MessageInfos: file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_msgTypes, + }.Build() + File_Unk2700_OFDBHGHAJBD_ServerNotify_proto = out.File + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_rawDesc = nil + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_goTypes = nil + file_Unk2700_OFDBHGHAJBD_ServerNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.proto b/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.proto new file mode 100644 index 00000000..1ade95e1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OFDBHGHAJBD_ServerNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MIBBHAEMAGI.proto"; + +option go_package = "./;proto"; + +// CmdId: 6223 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OFDBHGHAJBD_ServerNotify { + Unk2700_MIBBHAEMAGI Unk2700_JIFAAPCJOHK = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.pb.go new file mode 100644 index 00000000..e4f43453 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OGHMHELMBNN_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4488 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OGHMHELMBNN_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_OGHMHELMBNN_ServerRsp) Reset() { + *x = Unk2700_OGHMHELMBNN_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OGHMHELMBNN_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OGHMHELMBNN_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OGHMHELMBNN_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_OGHMHELMBNN_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OGHMHELMBNN_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OGHMHELMBNN_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_OGHMHELMBNN_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OGHMHELMBNN_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_OGHMHELMBNN_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x48, 0x4d, 0x48, 0x45, + 0x4c, 0x4d, 0x42, 0x4e, 0x4e, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4f, 0x47, 0x48, 0x4d, 0x48, 0x45, 0x4c, 0x4d, 0x42, 0x4e, 0x4e, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescData = file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDesc +) + +func file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDescData +} + +var file_Unk2700_OGHMHELMBNN_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OGHMHELMBNN_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_OGHMHELMBNN_ServerRsp)(nil), // 0: Unk2700_OGHMHELMBNN_ServerRsp +} +var file_Unk2700_OGHMHELMBNN_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OGHMHELMBNN_ServerRsp_proto_init() } +func file_Unk2700_OGHMHELMBNN_ServerRsp_proto_init() { + if File_Unk2700_OGHMHELMBNN_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OGHMHELMBNN_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OGHMHELMBNN_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_OGHMHELMBNN_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_OGHMHELMBNN_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_OGHMHELMBNN_ServerRsp_proto = out.File + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_rawDesc = nil + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_goTypes = nil + file_Unk2700_OGHMHELMBNN_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.proto new file mode 100644 index 00000000..b3c1480c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OGHMHELMBNN_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4488 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OGHMHELMBNN_ServerRsp { + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.pb.go b/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.pb.go new file mode 100644 index 00000000..8a7c2f4f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OGKIDNPMMKG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OGKIDNPMMKG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MINEHKAGOGA Unk2700_HGMCNJOPDAA `protobuf:"varint,11,opt,name=Unk2700_MINEHKAGOGA,json=Unk2700MINEHKAGOGA,proto3,enum=Unk2700_HGMCNJOPDAA" json:"Unk2700_MINEHKAGOGA,omitempty"` + ExpireTime uint32 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,5,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` +} + +func (x *Unk2700_OGKIDNPMMKG) Reset() { + *x = Unk2700_OGKIDNPMMKG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OGKIDNPMMKG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OGKIDNPMMKG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OGKIDNPMMKG) ProtoMessage() {} + +func (x *Unk2700_OGKIDNPMMKG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OGKIDNPMMKG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OGKIDNPMMKG.ProtoReflect.Descriptor instead. +func (*Unk2700_OGKIDNPMMKG) Descriptor() ([]byte, []int) { + return file_Unk2700_OGKIDNPMMKG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OGKIDNPMMKG) GetUnk2700_MINEHKAGOGA() Unk2700_HGMCNJOPDAA { + if x != nil { + return x.Unk2700_MINEHKAGOGA + } + return Unk2700_HGMCNJOPDAA_Unk2700_HGMCNJOPDAA_NONE +} + +func (x *Unk2700_OGKIDNPMMKG) GetExpireTime() uint32 { + if x != nil { + return x.ExpireTime + } + return 0 +} + +func (x *Unk2700_OGKIDNPMMKG) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +var File_Unk2700_OGKIDNPMMKG_proto protoreflect.FileDescriptor + +var file_Unk2700_OGKIDNPMMKG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x4b, 0x49, 0x44, 0x4e, + 0x50, 0x4d, 0x4d, 0x4b, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x4e, 0x4a, 0x4f, 0x50, 0x44, 0x41, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x47, 0x4b, 0x49, 0x44, 0x4e, 0x50, 0x4d, 0x4d, 0x4b, 0x47, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x49, 0x4e, 0x45, 0x48, 0x4b, + 0x41, 0x47, 0x4f, 0x47, 0x41, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x4d, 0x43, 0x4e, 0x4a, 0x4f, 0x50, 0x44, 0x41, + 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x49, 0x4e, 0x45, 0x48, 0x4b, + 0x41, 0x47, 0x4f, 0x47, 0x41, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, + 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OGKIDNPMMKG_proto_rawDescOnce sync.Once + file_Unk2700_OGKIDNPMMKG_proto_rawDescData = file_Unk2700_OGKIDNPMMKG_proto_rawDesc +) + +func file_Unk2700_OGKIDNPMMKG_proto_rawDescGZIP() []byte { + file_Unk2700_OGKIDNPMMKG_proto_rawDescOnce.Do(func() { + file_Unk2700_OGKIDNPMMKG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OGKIDNPMMKG_proto_rawDescData) + }) + return file_Unk2700_OGKIDNPMMKG_proto_rawDescData +} + +var file_Unk2700_OGKIDNPMMKG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OGKIDNPMMKG_proto_goTypes = []interface{}{ + (*Unk2700_OGKIDNPMMKG)(nil), // 0: Unk2700_OGKIDNPMMKG + (Unk2700_HGMCNJOPDAA)(0), // 1: Unk2700_HGMCNJOPDAA +} +var file_Unk2700_OGKIDNPMMKG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OGKIDNPMMKG.Unk2700_MINEHKAGOGA:type_name -> Unk2700_HGMCNJOPDAA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OGKIDNPMMKG_proto_init() } +func file_Unk2700_OGKIDNPMMKG_proto_init() { + if File_Unk2700_OGKIDNPMMKG_proto != nil { + return + } + file_Unk2700_HGMCNJOPDAA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_OGKIDNPMMKG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OGKIDNPMMKG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OGKIDNPMMKG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OGKIDNPMMKG_proto_goTypes, + DependencyIndexes: file_Unk2700_OGKIDNPMMKG_proto_depIdxs, + MessageInfos: file_Unk2700_OGKIDNPMMKG_proto_msgTypes, + }.Build() + File_Unk2700_OGKIDNPMMKG_proto = out.File + file_Unk2700_OGKIDNPMMKG_proto_rawDesc = nil + file_Unk2700_OGKIDNPMMKG_proto_goTypes = nil + file_Unk2700_OGKIDNPMMKG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.proto b/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.proto new file mode 100644 index 00000000..94b0f3bc --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OGKIDNPMMKG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HGMCNJOPDAA.proto"; + +option go_package = "./;proto"; + +message Unk2700_OGKIDNPMMKG { + Unk2700_HGMCNJOPDAA Unk2700_MINEHKAGOGA = 11; + uint32 expire_time = 6; + uint64 Unk2700_ONOOJBEABOE = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.pb.go b/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.pb.go new file mode 100644 index 00000000..e0c2dfe9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OHBMICGFIIK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OHBMICGFIIK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_DABMGCIOKCK uint32 `protobuf:"varint,4,opt,name=Unk2700_DABMGCIOKCK,json=Unk2700DABMGCIOKCK,proto3" json:"Unk2700_DABMGCIOKCK,omitempty"` + Unk2700_BKJABFANBIM uint32 `protobuf:"varint,12,opt,name=Unk2700_BKJABFANBIM,json=Unk2700BKJABFANBIM,proto3" json:"Unk2700_BKJABFANBIM,omitempty"` + Unk2700_PGBNOPOIHIK uint32 `protobuf:"varint,7,opt,name=Unk2700_PGBNOPOIHIK,json=Unk2700PGBNOPOIHIK,proto3" json:"Unk2700_PGBNOPOIHIK,omitempty"` + Unk2700_DJNLHEBADGE uint32 `protobuf:"varint,2,opt,name=Unk2700_DJNLHEBADGE,json=Unk2700DJNLHEBADGE,proto3" json:"Unk2700_DJNLHEBADGE,omitempty"` +} + +func (x *Unk2700_OHBMICGFIIK) Reset() { + *x = Unk2700_OHBMICGFIIK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OHBMICGFIIK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OHBMICGFIIK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OHBMICGFIIK) ProtoMessage() {} + +func (x *Unk2700_OHBMICGFIIK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OHBMICGFIIK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OHBMICGFIIK.ProtoReflect.Descriptor instead. +func (*Unk2700_OHBMICGFIIK) Descriptor() ([]byte, []int) { + return file_Unk2700_OHBMICGFIIK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OHBMICGFIIK) GetUnk2700_DABMGCIOKCK() uint32 { + if x != nil { + return x.Unk2700_DABMGCIOKCK + } + return 0 +} + +func (x *Unk2700_OHBMICGFIIK) GetUnk2700_BKJABFANBIM() uint32 { + if x != nil { + return x.Unk2700_BKJABFANBIM + } + return 0 +} + +func (x *Unk2700_OHBMICGFIIK) GetUnk2700_PGBNOPOIHIK() uint32 { + if x != nil { + return x.Unk2700_PGBNOPOIHIK + } + return 0 +} + +func (x *Unk2700_OHBMICGFIIK) GetUnk2700_DJNLHEBADGE() uint32 { + if x != nil { + return x.Unk2700_DJNLHEBADGE + } + return 0 +} + +var File_Unk2700_OHBMICGFIIK_proto protoreflect.FileDescriptor + +var file_Unk2700_OHBMICGFIIK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x42, 0x4d, 0x49, 0x43, + 0x47, 0x46, 0x49, 0x49, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x42, 0x4d, 0x49, 0x43, 0x47, 0x46, + 0x49, 0x49, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x41, 0x42, 0x4d, 0x47, 0x43, 0x49, 0x4f, 0x4b, 0x43, 0x4b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x42, 0x4d, 0x47, 0x43, 0x49, + 0x4f, 0x4b, 0x43, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x42, 0x4b, 0x4a, 0x41, 0x42, 0x46, 0x41, 0x4e, 0x42, 0x49, 0x4d, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4b, 0x4a, 0x41, 0x42, 0x46, + 0x41, 0x4e, 0x42, 0x49, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x47, 0x42, 0x4e, 0x4f, 0x50, 0x4f, 0x49, 0x48, 0x49, 0x4b, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x47, 0x42, 0x4e, 0x4f, + 0x50, 0x4f, 0x49, 0x48, 0x49, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x4a, 0x4e, 0x4c, 0x48, 0x45, 0x42, 0x41, 0x44, 0x47, 0x45, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4a, 0x4e, 0x4c, + 0x48, 0x45, 0x42, 0x41, 0x44, 0x47, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OHBMICGFIIK_proto_rawDescOnce sync.Once + file_Unk2700_OHBMICGFIIK_proto_rawDescData = file_Unk2700_OHBMICGFIIK_proto_rawDesc +) + +func file_Unk2700_OHBMICGFIIK_proto_rawDescGZIP() []byte { + file_Unk2700_OHBMICGFIIK_proto_rawDescOnce.Do(func() { + file_Unk2700_OHBMICGFIIK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OHBMICGFIIK_proto_rawDescData) + }) + return file_Unk2700_OHBMICGFIIK_proto_rawDescData +} + +var file_Unk2700_OHBMICGFIIK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OHBMICGFIIK_proto_goTypes = []interface{}{ + (*Unk2700_OHBMICGFIIK)(nil), // 0: Unk2700_OHBMICGFIIK +} +var file_Unk2700_OHBMICGFIIK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OHBMICGFIIK_proto_init() } +func file_Unk2700_OHBMICGFIIK_proto_init() { + if File_Unk2700_OHBMICGFIIK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OHBMICGFIIK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OHBMICGFIIK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OHBMICGFIIK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OHBMICGFIIK_proto_goTypes, + DependencyIndexes: file_Unk2700_OHBMICGFIIK_proto_depIdxs, + MessageInfos: file_Unk2700_OHBMICGFIIK_proto_msgTypes, + }.Build() + File_Unk2700_OHBMICGFIIK_proto = out.File + file_Unk2700_OHBMICGFIIK_proto_rawDesc = nil + file_Unk2700_OHBMICGFIIK_proto_goTypes = nil + file_Unk2700_OHBMICGFIIK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.proto b/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.proto new file mode 100644 index 00000000..b0251995 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHBMICGFIIK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_OHBMICGFIIK { + uint32 Unk2700_DABMGCIOKCK = 4; + uint32 Unk2700_BKJABFANBIM = 12; + uint32 Unk2700_PGBNOPOIHIK = 7; + uint32 Unk2700_DJNLHEBADGE = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.pb.go b/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.pb.go new file mode 100644 index 00000000..6f7693d3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.pb.go @@ -0,0 +1,213 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OHDDPIFAPPD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8125 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OHDDPIFAPPD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNew bool `protobuf:"varint,10,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` + Unk2700_GJOFNJGEDDE uint32 `protobuf:"varint,3,opt,name=Unk2700_GJOFNJGEDDE,json=Unk2700GJOFNJGEDDE,proto3" json:"Unk2700_GJOFNJGEDDE,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_BPNCECAFPDK uint32 `protobuf:"varint,6,opt,name=Unk2700_BPNCECAFPDK,json=Unk2700BPNCECAFPDK,proto3" json:"Unk2700_BPNCECAFPDK,omitempty"` + QuestId uint32 `protobuf:"varint,15,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + AffixList []uint32 `protobuf:"varint,2,rep,packed,name=affix_list,json=affixList,proto3" json:"affix_list,omitempty"` +} + +func (x *Unk2700_OHDDPIFAPPD) Reset() { + *x = Unk2700_OHDDPIFAPPD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OHDDPIFAPPD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OHDDPIFAPPD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OHDDPIFAPPD) ProtoMessage() {} + +func (x *Unk2700_OHDDPIFAPPD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OHDDPIFAPPD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OHDDPIFAPPD.ProtoReflect.Descriptor instead. +func (*Unk2700_OHDDPIFAPPD) Descriptor() ([]byte, []int) { + return file_Unk2700_OHDDPIFAPPD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OHDDPIFAPPD) GetIsNew() bool { + if x != nil { + return x.IsNew + } + return false +} + +func (x *Unk2700_OHDDPIFAPPD) GetUnk2700_GJOFNJGEDDE() uint32 { + if x != nil { + return x.Unk2700_GJOFNJGEDDE + } + return 0 +} + +func (x *Unk2700_OHDDPIFAPPD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_OHDDPIFAPPD) GetUnk2700_BPNCECAFPDK() uint32 { + if x != nil { + return x.Unk2700_BPNCECAFPDK + } + return 0 +} + +func (x *Unk2700_OHDDPIFAPPD) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *Unk2700_OHDDPIFAPPD) GetAffixList() []uint32 { + if x != nil { + return x.AffixList + } + return nil +} + +var File_Unk2700_OHDDPIFAPPD_proto protoreflect.FileDescriptor + +var file_Unk2700_OHDDPIFAPPD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x44, 0x44, 0x50, 0x49, + 0x46, 0x41, 0x50, 0x50, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x44, 0x44, 0x50, 0x49, 0x46, 0x41, + 0x50, 0x50, 0x44, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x4a, 0x4f, 0x46, 0x4e, 0x4a, 0x47, 0x45, 0x44, 0x44, + 0x45, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x47, 0x4a, 0x4f, 0x46, 0x4e, 0x4a, 0x47, 0x45, 0x44, 0x44, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x42, 0x50, 0x4e, 0x43, 0x45, 0x43, 0x41, 0x46, 0x50, 0x44, 0x4b, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x50, 0x4e, 0x43, 0x45, + 0x43, 0x41, 0x46, 0x50, 0x44, 0x4b, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OHDDPIFAPPD_proto_rawDescOnce sync.Once + file_Unk2700_OHDDPIFAPPD_proto_rawDescData = file_Unk2700_OHDDPIFAPPD_proto_rawDesc +) + +func file_Unk2700_OHDDPIFAPPD_proto_rawDescGZIP() []byte { + file_Unk2700_OHDDPIFAPPD_proto_rawDescOnce.Do(func() { + file_Unk2700_OHDDPIFAPPD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OHDDPIFAPPD_proto_rawDescData) + }) + return file_Unk2700_OHDDPIFAPPD_proto_rawDescData +} + +var file_Unk2700_OHDDPIFAPPD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OHDDPIFAPPD_proto_goTypes = []interface{}{ + (*Unk2700_OHDDPIFAPPD)(nil), // 0: Unk2700_OHDDPIFAPPD +} +var file_Unk2700_OHDDPIFAPPD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OHDDPIFAPPD_proto_init() } +func file_Unk2700_OHDDPIFAPPD_proto_init() { + if File_Unk2700_OHDDPIFAPPD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OHDDPIFAPPD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OHDDPIFAPPD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OHDDPIFAPPD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OHDDPIFAPPD_proto_goTypes, + DependencyIndexes: file_Unk2700_OHDDPIFAPPD_proto_depIdxs, + MessageInfos: file_Unk2700_OHDDPIFAPPD_proto_msgTypes, + }.Build() + File_Unk2700_OHDDPIFAPPD_proto = out.File + file_Unk2700_OHDDPIFAPPD_proto_rawDesc = nil + file_Unk2700_OHDDPIFAPPD_proto_goTypes = nil + file_Unk2700_OHDDPIFAPPD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.proto b/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.proto new file mode 100644 index 00000000..edf69ac1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHDDPIFAPPD.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8125 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OHDDPIFAPPD { + bool is_new = 10; + uint32 Unk2700_GJOFNJGEDDE = 3; + int32 retcode = 4; + uint32 Unk2700_BPNCECAFPDK = 6; + uint32 quest_id = 15; + repeated uint32 affix_list = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.pb.go b/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.pb.go new file mode 100644 index 00000000..193992a4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OHIKIOLLMHM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8233 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_OHIKIOLLMHM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` + ScheduleId uint32 `protobuf:"varint,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Unk2700_IFCNGIPPOAE map[uint32]uint32 `protobuf:"bytes,4,rep,name=Unk2700_IFCNGIPPOAE,json=Unk2700IFCNGIPPOAE,proto3" json:"Unk2700_IFCNGIPPOAE,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Unk2700_OHIKIOLLMHM) Reset() { + *x = Unk2700_OHIKIOLLMHM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OHIKIOLLMHM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OHIKIOLLMHM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OHIKIOLLMHM) ProtoMessage() {} + +func (x *Unk2700_OHIKIOLLMHM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OHIKIOLLMHM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OHIKIOLLMHM.ProtoReflect.Descriptor instead. +func (*Unk2700_OHIKIOLLMHM) Descriptor() ([]byte, []int) { + return file_Unk2700_OHIKIOLLMHM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OHIKIOLLMHM) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk2700_OHIKIOLLMHM) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_OHIKIOLLMHM) GetUnk2700_IFCNGIPPOAE() map[uint32]uint32 { + if x != nil { + return x.Unk2700_IFCNGIPPOAE + } + return nil +} + +var File_Unk2700_OHIKIOLLMHM_proto protoreflect.FileDescriptor + +var file_Unk2700_OHIKIOLLMHM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x49, 0x4b, 0x49, 0x4f, + 0x4c, 0x4c, 0x4d, 0x48, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x49, 0x4b, 0x49, 0x4f, 0x4c, 0x4c, + 0x4d, 0x48, 0x4d, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, + 0x49, 0x4b, 0x49, 0x4f, 0x4c, 0x4c, 0x4d, 0x48, 0x4d, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, + 0x50, 0x50, 0x4f, 0x41, 0x45, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x49, 0x46, 0x43, 0x4e, 0x47, 0x49, 0x50, 0x50, 0x4f, 0x41, 0x45, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OHIKIOLLMHM_proto_rawDescOnce sync.Once + file_Unk2700_OHIKIOLLMHM_proto_rawDescData = file_Unk2700_OHIKIOLLMHM_proto_rawDesc +) + +func file_Unk2700_OHIKIOLLMHM_proto_rawDescGZIP() []byte { + file_Unk2700_OHIKIOLLMHM_proto_rawDescOnce.Do(func() { + file_Unk2700_OHIKIOLLMHM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OHIKIOLLMHM_proto_rawDescData) + }) + return file_Unk2700_OHIKIOLLMHM_proto_rawDescData +} + +var file_Unk2700_OHIKIOLLMHM_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk2700_OHIKIOLLMHM_proto_goTypes = []interface{}{ + (*Unk2700_OHIKIOLLMHM)(nil), // 0: Unk2700_OHIKIOLLMHM + nil, // 1: Unk2700_OHIKIOLLMHM.Unk2700IFCNGIPPOAEEntry +} +var file_Unk2700_OHIKIOLLMHM_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OHIKIOLLMHM.Unk2700_IFCNGIPPOAE:type_name -> Unk2700_OHIKIOLLMHM.Unk2700IFCNGIPPOAEEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OHIKIOLLMHM_proto_init() } +func file_Unk2700_OHIKIOLLMHM_proto_init() { + if File_Unk2700_OHIKIOLLMHM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OHIKIOLLMHM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OHIKIOLLMHM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OHIKIOLLMHM_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OHIKIOLLMHM_proto_goTypes, + DependencyIndexes: file_Unk2700_OHIKIOLLMHM_proto_depIdxs, + MessageInfos: file_Unk2700_OHIKIOLLMHM_proto_msgTypes, + }.Build() + File_Unk2700_OHIKIOLLMHM_proto = out.File + file_Unk2700_OHIKIOLLMHM_proto_rawDesc = nil + file_Unk2700_OHIKIOLLMHM_proto_goTypes = nil + file_Unk2700_OHIKIOLLMHM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.proto b/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.proto new file mode 100644 index 00000000..df3d3ad5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHIKIOLLMHM.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8233 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_OHIKIOLLMHM { + uint32 uid = 5; + uint32 schedule_id = 1; + map Unk2700_IFCNGIPPOAE = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.pb.go b/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.pb.go new file mode 100644 index 00000000..33dde6e6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OHOKEEGPPBG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OHOKEEGPPBG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardItemList []*ItemParam `protobuf:"bytes,4,rep,name=reward_item_list,json=rewardItemList,proto3" json:"reward_item_list,omitempty"` + Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *Unk2700_OHOKEEGPPBG) Reset() { + *x = Unk2700_OHOKEEGPPBG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OHOKEEGPPBG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OHOKEEGPPBG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OHOKEEGPPBG) ProtoMessage() {} + +func (x *Unk2700_OHOKEEGPPBG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OHOKEEGPPBG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OHOKEEGPPBG.ProtoReflect.Descriptor instead. +func (*Unk2700_OHOKEEGPPBG) Descriptor() ([]byte, []int) { + return file_Unk2700_OHOKEEGPPBG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OHOKEEGPPBG) GetRewardItemList() []*ItemParam { + if x != nil { + return x.RewardItemList + } + return nil +} + +func (x *Unk2700_OHOKEEGPPBG) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +var File_Unk2700_OHOKEEGPPBG_proto protoreflect.FileDescriptor + +var file_Unk2700_OHOKEEGPPBG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x4f, 0x4b, 0x45, 0x45, + 0x47, 0x50, 0x50, 0x42, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x48, 0x4f, 0x4b, 0x45, 0x45, 0x47, 0x50, + 0x50, 0x42, 0x47, 0x12, 0x34, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OHOKEEGPPBG_proto_rawDescOnce sync.Once + file_Unk2700_OHOKEEGPPBG_proto_rawDescData = file_Unk2700_OHOKEEGPPBG_proto_rawDesc +) + +func file_Unk2700_OHOKEEGPPBG_proto_rawDescGZIP() []byte { + file_Unk2700_OHOKEEGPPBG_proto_rawDescOnce.Do(func() { + file_Unk2700_OHOKEEGPPBG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OHOKEEGPPBG_proto_rawDescData) + }) + return file_Unk2700_OHOKEEGPPBG_proto_rawDescData +} + +var file_Unk2700_OHOKEEGPPBG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OHOKEEGPPBG_proto_goTypes = []interface{}{ + (*Unk2700_OHOKEEGPPBG)(nil), // 0: Unk2700_OHOKEEGPPBG + (*ItemParam)(nil), // 1: ItemParam +} +var file_Unk2700_OHOKEEGPPBG_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OHOKEEGPPBG.reward_item_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OHOKEEGPPBG_proto_init() } +func file_Unk2700_OHOKEEGPPBG_proto_init() { + if File_Unk2700_OHOKEEGPPBG_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_OHOKEEGPPBG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OHOKEEGPPBG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OHOKEEGPPBG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OHOKEEGPPBG_proto_goTypes, + DependencyIndexes: file_Unk2700_OHOKEEGPPBG_proto_depIdxs, + MessageInfos: file_Unk2700_OHOKEEGPPBG_proto_msgTypes, + }.Build() + File_Unk2700_OHOKEEGPPBG_proto = out.File + file_Unk2700_OHOKEEGPPBG_proto_rawDesc = nil + file_Unk2700_OHOKEEGPPBG_proto_goTypes = nil + file_Unk2700_OHOKEEGPPBG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.proto b/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.proto new file mode 100644 index 00000000..0f005f82 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OHOKEEGPPBG.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +message Unk2700_OHOKEEGPPBG { + repeated ItemParam reward_item_list = 4; + uint32 uid = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.pb.go new file mode 100644 index 00000000..cc2854e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OJHJBKHIPLA_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2009 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_OJHJBKHIPLA_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,15,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + ActivityId uint32 `protobuf:"varint,12,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_OJHJBKHIPLA_ClientReq) Reset() { + *x = Unk2700_OJHJBKHIPLA_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OJHJBKHIPLA_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OJHJBKHIPLA_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OJHJBKHIPLA_ClientReq) ProtoMessage() {} + +func (x *Unk2700_OJHJBKHIPLA_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OJHJBKHIPLA_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OJHJBKHIPLA_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_OJHJBKHIPLA_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OJHJBKHIPLA_ClientReq) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2700_OJHJBKHIPLA_ClientReq) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_OJHJBKHIPLA_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x48, 0x4a, 0x42, 0x4b, + 0x48, 0x49, 0x50, 0x4c, 0x41, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4f, 0x4a, 0x48, 0x4a, 0x42, 0x4b, 0x48, 0x49, 0x50, 0x4c, 0x41, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescData = file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDesc +) + +func file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescData) + }) + return file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDescData +} + +var file_Unk2700_OJHJBKHIPLA_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OJHJBKHIPLA_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_OJHJBKHIPLA_ClientReq)(nil), // 0: Unk2700_OJHJBKHIPLA_ClientReq +} +var file_Unk2700_OJHJBKHIPLA_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OJHJBKHIPLA_ClientReq_proto_init() } +func file_Unk2700_OJHJBKHIPLA_ClientReq_proto_init() { + if File_Unk2700_OJHJBKHIPLA_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OJHJBKHIPLA_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OJHJBKHIPLA_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_OJHJBKHIPLA_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_OJHJBKHIPLA_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_OJHJBKHIPLA_ClientReq_proto = out.File + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_rawDesc = nil + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_goTypes = nil + file_Unk2700_OJHJBKHIPLA_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.proto new file mode 100644 index 00000000..a4741a47 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJHJBKHIPLA_ClientReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2009 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_OJHJBKHIPLA_ClientReq { + uint32 schedule_id = 15; + uint32 activity_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.pb.go b/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.pb.go new file mode 100644 index 00000000..856d6f92 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OJJNGIHDJEH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OJJNGIHDJEH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OMCCFBBDJMI uint32 `protobuf:"varint,1,opt,name=Unk2700_OMCCFBBDJMI,json=Unk2700OMCCFBBDJMI,proto3" json:"Unk2700_OMCCFBBDJMI,omitempty"` + Timestamp uint32 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + PlayerInfo *Unk2700_OCDMIOKNHHH `protobuf:"bytes,12,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` +} + +func (x *Unk2700_OJJNGIHDJEH) Reset() { + *x = Unk2700_OJJNGIHDJEH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OJJNGIHDJEH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OJJNGIHDJEH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OJJNGIHDJEH) ProtoMessage() {} + +func (x *Unk2700_OJJNGIHDJEH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OJJNGIHDJEH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OJJNGIHDJEH.ProtoReflect.Descriptor instead. +func (*Unk2700_OJJNGIHDJEH) Descriptor() ([]byte, []int) { + return file_Unk2700_OJJNGIHDJEH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OJJNGIHDJEH) GetUnk2700_OMCCFBBDJMI() uint32 { + if x != nil { + return x.Unk2700_OMCCFBBDJMI + } + return 0 +} + +func (x *Unk2700_OJJNGIHDJEH) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *Unk2700_OJJNGIHDJEH) GetPlayerInfo() *Unk2700_OCDMIOKNHHH { + if x != nil { + return x.PlayerInfo + } + return nil +} + +var File_Unk2700_OJJNGIHDJEH_proto protoreflect.FileDescriptor + +var file_Unk2700_OJJNGIHDJEH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4a, 0x4e, 0x47, 0x49, + 0x48, 0x44, 0x4a, 0x45, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4a, 0x4e, 0x47, 0x49, 0x48, 0x44, 0x4a, 0x45, 0x48, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x43, 0x43, 0x46, 0x42, + 0x42, 0x44, 0x4a, 0x4d, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4d, 0x43, 0x43, 0x46, 0x42, 0x42, 0x44, 0x4a, 0x4d, 0x49, 0x12, + 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x35, 0x0a, + 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, + 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OJJNGIHDJEH_proto_rawDescOnce sync.Once + file_Unk2700_OJJNGIHDJEH_proto_rawDescData = file_Unk2700_OJJNGIHDJEH_proto_rawDesc +) + +func file_Unk2700_OJJNGIHDJEH_proto_rawDescGZIP() []byte { + file_Unk2700_OJJNGIHDJEH_proto_rawDescOnce.Do(func() { + file_Unk2700_OJJNGIHDJEH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OJJNGIHDJEH_proto_rawDescData) + }) + return file_Unk2700_OJJNGIHDJEH_proto_rawDescData +} + +var file_Unk2700_OJJNGIHDJEH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OJJNGIHDJEH_proto_goTypes = []interface{}{ + (*Unk2700_OJJNGIHDJEH)(nil), // 0: Unk2700_OJJNGIHDJEH + (*Unk2700_OCDMIOKNHHH)(nil), // 1: Unk2700_OCDMIOKNHHH +} +var file_Unk2700_OJJNGIHDJEH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_OJJNGIHDJEH.player_info:type_name -> Unk2700_OCDMIOKNHHH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_OJJNGIHDJEH_proto_init() } +func file_Unk2700_OJJNGIHDJEH_proto_init() { + if File_Unk2700_OJJNGIHDJEH_proto != nil { + return + } + file_Unk2700_OCDMIOKNHHH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_OJJNGIHDJEH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OJJNGIHDJEH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OJJNGIHDJEH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OJJNGIHDJEH_proto_goTypes, + DependencyIndexes: file_Unk2700_OJJNGIHDJEH_proto_depIdxs, + MessageInfos: file_Unk2700_OJJNGIHDJEH_proto_msgTypes, + }.Build() + File_Unk2700_OJJNGIHDJEH_proto = out.File + file_Unk2700_OJJNGIHDJEH_proto_rawDesc = nil + file_Unk2700_OJJNGIHDJEH_proto_goTypes = nil + file_Unk2700_OJJNGIHDJEH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.proto b/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.proto new file mode 100644 index 00000000..bb06522c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJJNGIHDJEH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OCDMIOKNHHH.proto"; + +option go_package = "./;proto"; + +message Unk2700_OJJNGIHDJEH { + uint32 Unk2700_OMCCFBBDJMI = 1; + uint32 timestamp = 8; + Unk2700_OCDMIOKNHHH player_info = 12; +} diff --git a/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.pb.go b/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.pb.go new file mode 100644 index 00000000..a2cc72ca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OJLJMJLKNGJ_ClientReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6203 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_OJLJMJLKNGJ_ClientReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomId uint32 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` +} + +func (x *Unk2700_OJLJMJLKNGJ_ClientReq) Reset() { + *x = Unk2700_OJLJMJLKNGJ_ClientReq{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OJLJMJLKNGJ_ClientReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OJLJMJLKNGJ_ClientReq) ProtoMessage() {} + +func (x *Unk2700_OJLJMJLKNGJ_ClientReq) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OJLJMJLKNGJ_ClientReq.ProtoReflect.Descriptor instead. +func (*Unk2700_OJLJMJLKNGJ_ClientReq) Descriptor() ([]byte, []int) { + return file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OJLJMJLKNGJ_ClientReq) GetRoomId() uint32 { + if x != nil { + return x.RoomId + } + return 0 +} + +var File_Unk2700_OJLJMJLKNGJ_ClientReq_proto protoreflect.FileDescriptor + +var file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4c, 0x4a, 0x4d, 0x4a, + 0x4c, 0x4b, 0x4e, 0x47, 0x4a, 0x5f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4f, 0x4a, 0x4c, 0x4a, 0x4d, 0x4a, 0x4c, 0x4b, 0x4e, 0x47, 0x4a, 0x5f, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescOnce sync.Once + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescData = file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDesc +) + +func file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescGZIP() []byte { + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescOnce.Do(func() { + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescData) + }) + return file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDescData +} + +var file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_goTypes = []interface{}{ + (*Unk2700_OJLJMJLKNGJ_ClientReq)(nil), // 0: Unk2700_OJLJMJLKNGJ_ClientReq +} +var file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_init() } +func file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_init() { + if File_Unk2700_OJLJMJLKNGJ_ClientReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OJLJMJLKNGJ_ClientReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_goTypes, + DependencyIndexes: file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_depIdxs, + MessageInfos: file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_msgTypes, + }.Build() + File_Unk2700_OJLJMJLKNGJ_ClientReq_proto = out.File + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_rawDesc = nil + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_goTypes = nil + file_Unk2700_OJLJMJLKNGJ_ClientReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.proto b/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.proto new file mode 100644 index 00000000..17c294ae --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OJLJMJLKNGJ_ClientReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6203 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_OJLJMJLKNGJ_ClientReq { + uint32 room_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.pb.go b/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.pb.go new file mode 100644 index 00000000..578681cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OKEKCGDGPDA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8396 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_OKEKCGDGPDA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,4,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_OKEKCGDGPDA) Reset() { + *x = Unk2700_OKEKCGDGPDA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OKEKCGDGPDA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OKEKCGDGPDA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OKEKCGDGPDA) ProtoMessage() {} + +func (x *Unk2700_OKEKCGDGPDA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OKEKCGDGPDA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OKEKCGDGPDA.ProtoReflect.Descriptor instead. +func (*Unk2700_OKEKCGDGPDA) Descriptor() ([]byte, []int) { + return file_Unk2700_OKEKCGDGPDA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OKEKCGDGPDA) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_OKEKCGDGPDA_proto protoreflect.FileDescriptor + +var file_Unk2700_OKEKCGDGPDA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x45, 0x4b, 0x43, 0x47, + 0x44, 0x47, 0x50, 0x44, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x45, 0x4b, 0x43, 0x47, 0x44, 0x47, 0x50, + 0x44, 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OKEKCGDGPDA_proto_rawDescOnce sync.Once + file_Unk2700_OKEKCGDGPDA_proto_rawDescData = file_Unk2700_OKEKCGDGPDA_proto_rawDesc +) + +func file_Unk2700_OKEKCGDGPDA_proto_rawDescGZIP() []byte { + file_Unk2700_OKEKCGDGPDA_proto_rawDescOnce.Do(func() { + file_Unk2700_OKEKCGDGPDA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OKEKCGDGPDA_proto_rawDescData) + }) + return file_Unk2700_OKEKCGDGPDA_proto_rawDescData +} + +var file_Unk2700_OKEKCGDGPDA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OKEKCGDGPDA_proto_goTypes = []interface{}{ + (*Unk2700_OKEKCGDGPDA)(nil), // 0: Unk2700_OKEKCGDGPDA +} +var file_Unk2700_OKEKCGDGPDA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OKEKCGDGPDA_proto_init() } +func file_Unk2700_OKEKCGDGPDA_proto_init() { + if File_Unk2700_OKEKCGDGPDA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OKEKCGDGPDA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OKEKCGDGPDA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OKEKCGDGPDA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OKEKCGDGPDA_proto_goTypes, + DependencyIndexes: file_Unk2700_OKEKCGDGPDA_proto_depIdxs, + MessageInfos: file_Unk2700_OKEKCGDGPDA_proto_msgTypes, + }.Build() + File_Unk2700_OKEKCGDGPDA_proto = out.File + file_Unk2700_OKEKCGDGPDA_proto_rawDesc = nil + file_Unk2700_OKEKCGDGPDA_proto_goTypes = nil + file_Unk2700_OKEKCGDGPDA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.proto b/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.proto new file mode 100644 index 00000000..f26165b7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OKEKCGDGPDA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8396 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_OKEKCGDGPDA { + uint32 gallery_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.pb.go b/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.pb.go new file mode 100644 index 00000000..7d7d2885 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OKNDIGOKMMC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8426 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OKNDIGOKMMC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_OKNDIGOKMMC) Reset() { + *x = Unk2700_OKNDIGOKMMC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OKNDIGOKMMC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OKNDIGOKMMC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OKNDIGOKMMC) ProtoMessage() {} + +func (x *Unk2700_OKNDIGOKMMC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OKNDIGOKMMC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OKNDIGOKMMC.ProtoReflect.Descriptor instead. +func (*Unk2700_OKNDIGOKMMC) Descriptor() ([]byte, []int) { + return file_Unk2700_OKNDIGOKMMC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OKNDIGOKMMC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_OKNDIGOKMMC_proto protoreflect.FileDescriptor + +var file_Unk2700_OKNDIGOKMMC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x4e, 0x44, 0x49, 0x47, + 0x4f, 0x4b, 0x4d, 0x4d, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x4e, 0x44, 0x49, 0x47, 0x4f, 0x4b, 0x4d, + 0x4d, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OKNDIGOKMMC_proto_rawDescOnce sync.Once + file_Unk2700_OKNDIGOKMMC_proto_rawDescData = file_Unk2700_OKNDIGOKMMC_proto_rawDesc +) + +func file_Unk2700_OKNDIGOKMMC_proto_rawDescGZIP() []byte { + file_Unk2700_OKNDIGOKMMC_proto_rawDescOnce.Do(func() { + file_Unk2700_OKNDIGOKMMC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OKNDIGOKMMC_proto_rawDescData) + }) + return file_Unk2700_OKNDIGOKMMC_proto_rawDescData +} + +var file_Unk2700_OKNDIGOKMMC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OKNDIGOKMMC_proto_goTypes = []interface{}{ + (*Unk2700_OKNDIGOKMMC)(nil), // 0: Unk2700_OKNDIGOKMMC +} +var file_Unk2700_OKNDIGOKMMC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OKNDIGOKMMC_proto_init() } +func file_Unk2700_OKNDIGOKMMC_proto_init() { + if File_Unk2700_OKNDIGOKMMC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OKNDIGOKMMC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OKNDIGOKMMC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OKNDIGOKMMC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OKNDIGOKMMC_proto_goTypes, + DependencyIndexes: file_Unk2700_OKNDIGOKMMC_proto_depIdxs, + MessageInfos: file_Unk2700_OKNDIGOKMMC_proto_msgTypes, + }.Build() + File_Unk2700_OKNDIGOKMMC_proto = out.File + file_Unk2700_OKNDIGOKMMC_proto_rawDesc = nil + file_Unk2700_OKNDIGOKMMC_proto_goTypes = nil + file_Unk2700_OKNDIGOKMMC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.proto b/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.proto new file mode 100644 index 00000000..cf2bd54f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OKNDIGOKMMC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8426 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OKNDIGOKMMC { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.pb.go b/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.pb.go new file mode 100644 index 00000000..3cd20b61 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OLKJCGDHENH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8343 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_OLKJCGDHENH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_OLKJCGDHENH) Reset() { + *x = Unk2700_OLKJCGDHENH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_OLKJCGDHENH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_OLKJCGDHENH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_OLKJCGDHENH) ProtoMessage() {} + +func (x *Unk2700_OLKJCGDHENH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_OLKJCGDHENH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_OLKJCGDHENH.ProtoReflect.Descriptor instead. +func (*Unk2700_OLKJCGDHENH) Descriptor() ([]byte, []int) { + return file_Unk2700_OLKJCGDHENH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_OLKJCGDHENH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_OLKJCGDHENH_proto protoreflect.FileDescriptor + +var file_Unk2700_OLKJCGDHENH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4c, 0x4b, 0x4a, 0x43, 0x47, + 0x44, 0x48, 0x45, 0x4e, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4c, 0x4b, 0x4a, 0x43, 0x47, 0x44, 0x48, 0x45, + 0x4e, 0x48, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_OLKJCGDHENH_proto_rawDescOnce sync.Once + file_Unk2700_OLKJCGDHENH_proto_rawDescData = file_Unk2700_OLKJCGDHENH_proto_rawDesc +) + +func file_Unk2700_OLKJCGDHENH_proto_rawDescGZIP() []byte { + file_Unk2700_OLKJCGDHENH_proto_rawDescOnce.Do(func() { + file_Unk2700_OLKJCGDHENH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OLKJCGDHENH_proto_rawDescData) + }) + return file_Unk2700_OLKJCGDHENH_proto_rawDescData +} + +var file_Unk2700_OLKJCGDHENH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_OLKJCGDHENH_proto_goTypes = []interface{}{ + (*Unk2700_OLKJCGDHENH)(nil), // 0: Unk2700_OLKJCGDHENH +} +var file_Unk2700_OLKJCGDHENH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OLKJCGDHENH_proto_init() } +func file_Unk2700_OLKJCGDHENH_proto_init() { + if File_Unk2700_OLKJCGDHENH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_OLKJCGDHENH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_OLKJCGDHENH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OLKJCGDHENH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OLKJCGDHENH_proto_goTypes, + DependencyIndexes: file_Unk2700_OLKJCGDHENH_proto_depIdxs, + MessageInfos: file_Unk2700_OLKJCGDHENH_proto_msgTypes, + }.Build() + File_Unk2700_OLKJCGDHENH_proto = out.File + file_Unk2700_OLKJCGDHENH_proto_rawDesc = nil + file_Unk2700_OLKJCGDHENH_proto_goTypes = nil + file_Unk2700_OLKJCGDHENH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.proto b/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.proto new file mode 100644 index 00000000..e6de123e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OLKJCGDHENH.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8343 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_OLKJCGDHENH { + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.pb.go b/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.pb.go new file mode 100644 index 00000000..577db043 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ONCHFHBBCBN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_ONCHFHBBCBN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HitCount uint32 `protobuf:"varint,12,opt,name=hit_count,json=hitCount,proto3" json:"hit_count,omitempty"` + Score uint32 `protobuf:"varint,11,opt,name=score,proto3" json:"score,omitempty"` + PlayerInfo *Unk2700_OCDMIOKNHHH `protobuf:"bytes,5,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` + Timestamp uint32 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Unk2700_ONCHFHBBCBN) Reset() { + *x = Unk2700_ONCHFHBBCBN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ONCHFHBBCBN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ONCHFHBBCBN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ONCHFHBBCBN) ProtoMessage() {} + +func (x *Unk2700_ONCHFHBBCBN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ONCHFHBBCBN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ONCHFHBBCBN.ProtoReflect.Descriptor instead. +func (*Unk2700_ONCHFHBBCBN) Descriptor() ([]byte, []int) { + return file_Unk2700_ONCHFHBBCBN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ONCHFHBBCBN) GetHitCount() uint32 { + if x != nil { + return x.HitCount + } + return 0 +} + +func (x *Unk2700_ONCHFHBBCBN) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk2700_ONCHFHBBCBN) GetPlayerInfo() *Unk2700_OCDMIOKNHHH { + if x != nil { + return x.PlayerInfo + } + return nil +} + +func (x *Unk2700_ONCHFHBBCBN) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp + } + return 0 +} + +var File_Unk2700_ONCHFHBBCBN_proto protoreflect.FileDescriptor + +var file_Unk2700_ONCHFHBBCBN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, 0x48, 0x46, 0x48, + 0x42, 0x42, 0x43, 0x42, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x43, 0x48, 0x46, 0x48, 0x42, 0x42, 0x43, 0x42, 0x4e, 0x12, 0x1b, + 0x0a, 0x09, 0x68, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x68, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4f, 0x43, 0x44, 0x4d, 0x49, 0x4f, 0x4b, 0x4e, 0x48, 0x48, 0x48, 0x52, 0x0a, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ONCHFHBBCBN_proto_rawDescOnce sync.Once + file_Unk2700_ONCHFHBBCBN_proto_rawDescData = file_Unk2700_ONCHFHBBCBN_proto_rawDesc +) + +func file_Unk2700_ONCHFHBBCBN_proto_rawDescGZIP() []byte { + file_Unk2700_ONCHFHBBCBN_proto_rawDescOnce.Do(func() { + file_Unk2700_ONCHFHBBCBN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ONCHFHBBCBN_proto_rawDescData) + }) + return file_Unk2700_ONCHFHBBCBN_proto_rawDescData +} + +var file_Unk2700_ONCHFHBBCBN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ONCHFHBBCBN_proto_goTypes = []interface{}{ + (*Unk2700_ONCHFHBBCBN)(nil), // 0: Unk2700_ONCHFHBBCBN + (*Unk2700_OCDMIOKNHHH)(nil), // 1: Unk2700_OCDMIOKNHHH +} +var file_Unk2700_ONCHFHBBCBN_proto_depIdxs = []int32{ + 1, // 0: Unk2700_ONCHFHBBCBN.player_info:type_name -> Unk2700_OCDMIOKNHHH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_ONCHFHBBCBN_proto_init() } +func file_Unk2700_ONCHFHBBCBN_proto_init() { + if File_Unk2700_ONCHFHBBCBN_proto != nil { + return + } + file_Unk2700_OCDMIOKNHHH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_ONCHFHBBCBN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ONCHFHBBCBN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ONCHFHBBCBN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ONCHFHBBCBN_proto_goTypes, + DependencyIndexes: file_Unk2700_ONCHFHBBCBN_proto_depIdxs, + MessageInfos: file_Unk2700_ONCHFHBBCBN_proto_msgTypes, + }.Build() + File_Unk2700_ONCHFHBBCBN_proto = out.File + file_Unk2700_ONCHFHBBCBN_proto_rawDesc = nil + file_Unk2700_ONCHFHBBCBN_proto_goTypes = nil + file_Unk2700_ONCHFHBBCBN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.proto b/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.proto new file mode 100644 index 00000000..ac32fabe --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ONCHFHBBCBN.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_OCDMIOKNHHH.proto"; + +option go_package = "./;proto"; + +message Unk2700_ONCHFHBBCBN { + uint32 hit_count = 12; + uint32 score = 11; + Unk2700_OCDMIOKNHHH player_info = 5; + uint32 timestamp = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.pb.go b/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.pb.go new file mode 100644 index 00000000..5a84bad8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_ONKMCKLJNAL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8401 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_ONKMCKLJNAL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk2700_ONKMCKLJNAL) Reset() { + *x = Unk2700_ONKMCKLJNAL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_ONKMCKLJNAL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_ONKMCKLJNAL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_ONKMCKLJNAL) ProtoMessage() {} + +func (x *Unk2700_ONKMCKLJNAL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_ONKMCKLJNAL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_ONKMCKLJNAL.ProtoReflect.Descriptor instead. +func (*Unk2700_ONKMCKLJNAL) Descriptor() ([]byte, []int) { + return file_Unk2700_ONKMCKLJNAL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_ONKMCKLJNAL) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk2700_ONKMCKLJNAL_proto protoreflect.FileDescriptor + +var file_Unk2700_ONKMCKLJNAL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4b, 0x4d, 0x43, 0x4b, + 0x4c, 0x4a, 0x4e, 0x41, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, 0x4b, 0x4d, 0x43, 0x4b, 0x4c, 0x4a, 0x4e, + 0x41, 0x4c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, + 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_ONKMCKLJNAL_proto_rawDescOnce sync.Once + file_Unk2700_ONKMCKLJNAL_proto_rawDescData = file_Unk2700_ONKMCKLJNAL_proto_rawDesc +) + +func file_Unk2700_ONKMCKLJNAL_proto_rawDescGZIP() []byte { + file_Unk2700_ONKMCKLJNAL_proto_rawDescOnce.Do(func() { + file_Unk2700_ONKMCKLJNAL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_ONKMCKLJNAL_proto_rawDescData) + }) + return file_Unk2700_ONKMCKLJNAL_proto_rawDescData +} + +var file_Unk2700_ONKMCKLJNAL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_ONKMCKLJNAL_proto_goTypes = []interface{}{ + (*Unk2700_ONKMCKLJNAL)(nil), // 0: Unk2700_ONKMCKLJNAL +} +var file_Unk2700_ONKMCKLJNAL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_ONKMCKLJNAL_proto_init() } +func file_Unk2700_ONKMCKLJNAL_proto_init() { + if File_Unk2700_ONKMCKLJNAL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_ONKMCKLJNAL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_ONKMCKLJNAL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_ONKMCKLJNAL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_ONKMCKLJNAL_proto_goTypes, + DependencyIndexes: file_Unk2700_ONKMCKLJNAL_proto_depIdxs, + MessageInfos: file_Unk2700_ONKMCKLJNAL_proto_msgTypes, + }.Build() + File_Unk2700_ONKMCKLJNAL_proto = out.File + file_Unk2700_ONKMCKLJNAL_proto_rawDesc = nil + file_Unk2700_ONKMCKLJNAL_proto_goTypes = nil + file_Unk2700_ONKMCKLJNAL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.proto b/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.proto new file mode 100644 index 00000000..fe2e63c2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_ONKMCKLJNAL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8401 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_ONKMCKLJNAL { + uint32 id = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.pb.go b/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.pb.go new file mode 100644 index 00000000..c25a6b96 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.pb.go @@ -0,0 +1,147 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_OPEBMJPOOBL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_OPEBMJPOOBL int32 + +const ( + Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_NONE Unk2700_OPEBMJPOOBL = 0 + Unk2700_OPEBMJPOOBL_Unk2700_OPEBMJPOOBL_Unk2700_HONBFAOIDKK Unk2700_OPEBMJPOOBL = 1 +) + +// Enum value maps for Unk2700_OPEBMJPOOBL. +var ( + Unk2700_OPEBMJPOOBL_name = map[int32]string{ + 0: "Unk2700_OPEBMJPOOBL_NONE", + 1: "Unk2700_OPEBMJPOOBL_Unk2700_HONBFAOIDKK", + } + Unk2700_OPEBMJPOOBL_value = map[string]int32{ + "Unk2700_OPEBMJPOOBL_NONE": 0, + "Unk2700_OPEBMJPOOBL_Unk2700_HONBFAOIDKK": 1, + } +) + +func (x Unk2700_OPEBMJPOOBL) Enum() *Unk2700_OPEBMJPOOBL { + p := new(Unk2700_OPEBMJPOOBL) + *p = x + return p +} + +func (x Unk2700_OPEBMJPOOBL) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_OPEBMJPOOBL) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_OPEBMJPOOBL_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_OPEBMJPOOBL) Type() protoreflect.EnumType { + return &file_Unk2700_OPEBMJPOOBL_proto_enumTypes[0] +} + +func (x Unk2700_OPEBMJPOOBL) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_OPEBMJPOOBL.Descriptor instead. +func (Unk2700_OPEBMJPOOBL) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_OPEBMJPOOBL_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_OPEBMJPOOBL_proto protoreflect.FileDescriptor + +var file_Unk2700_OPEBMJPOOBL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, + 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, + 0x42, 0x4c, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, + 0x45, 0x42, 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x42, + 0x4d, 0x4a, 0x50, 0x4f, 0x4f, 0x42, 0x4c, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4f, 0x4e, 0x42, 0x46, 0x41, 0x4f, 0x49, 0x44, 0x4b, 0x4b, 0x10, 0x01, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_OPEBMJPOOBL_proto_rawDescOnce sync.Once + file_Unk2700_OPEBMJPOOBL_proto_rawDescData = file_Unk2700_OPEBMJPOOBL_proto_rawDesc +) + +func file_Unk2700_OPEBMJPOOBL_proto_rawDescGZIP() []byte { + file_Unk2700_OPEBMJPOOBL_proto_rawDescOnce.Do(func() { + file_Unk2700_OPEBMJPOOBL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_OPEBMJPOOBL_proto_rawDescData) + }) + return file_Unk2700_OPEBMJPOOBL_proto_rawDescData +} + +var file_Unk2700_OPEBMJPOOBL_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_OPEBMJPOOBL_proto_goTypes = []interface{}{ + (Unk2700_OPEBMJPOOBL)(0), // 0: Unk2700_OPEBMJPOOBL +} +var file_Unk2700_OPEBMJPOOBL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_OPEBMJPOOBL_proto_init() } +func file_Unk2700_OPEBMJPOOBL_proto_init() { + if File_Unk2700_OPEBMJPOOBL_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_OPEBMJPOOBL_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_OPEBMJPOOBL_proto_goTypes, + DependencyIndexes: file_Unk2700_OPEBMJPOOBL_proto_depIdxs, + EnumInfos: file_Unk2700_OPEBMJPOOBL_proto_enumTypes, + }.Build() + File_Unk2700_OPEBMJPOOBL_proto = out.File + file_Unk2700_OPEBMJPOOBL_proto_rawDesc = nil + file_Unk2700_OPEBMJPOOBL_proto_goTypes = nil + file_Unk2700_OPEBMJPOOBL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.proto b/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.proto new file mode 100644 index 00000000..8f3c1f88 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_OPEBMJPOOBL.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_OPEBMJPOOBL { + Unk2700_OPEBMJPOOBL_NONE = 0; + Unk2700_OPEBMJPOOBL_Unk2700_HONBFAOIDKK = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.pb.go b/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.pb.go new file mode 100644 index 00000000..eb6f755e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PBGBOLJMIIB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8924 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PBGBOLJMIIB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActivityId uint32 `protobuf:"varint,14,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2700_PBGBOLJMIIB) Reset() { + *x = Unk2700_PBGBOLJMIIB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PBGBOLJMIIB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PBGBOLJMIIB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PBGBOLJMIIB) ProtoMessage() {} + +func (x *Unk2700_PBGBOLJMIIB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PBGBOLJMIIB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PBGBOLJMIIB.ProtoReflect.Descriptor instead. +func (*Unk2700_PBGBOLJMIIB) Descriptor() ([]byte, []int) { + return file_Unk2700_PBGBOLJMIIB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PBGBOLJMIIB) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2700_PBGBOLJMIIB_proto protoreflect.FileDescriptor + +var file_Unk2700_PBGBOLJMIIB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x42, 0x47, 0x42, 0x4f, 0x4c, + 0x4a, 0x4d, 0x49, 0x49, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x42, 0x47, 0x42, 0x4f, 0x4c, 0x4a, 0x4d, 0x49, + 0x49, 0x42, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PBGBOLJMIIB_proto_rawDescOnce sync.Once + file_Unk2700_PBGBOLJMIIB_proto_rawDescData = file_Unk2700_PBGBOLJMIIB_proto_rawDesc +) + +func file_Unk2700_PBGBOLJMIIB_proto_rawDescGZIP() []byte { + file_Unk2700_PBGBOLJMIIB_proto_rawDescOnce.Do(func() { + file_Unk2700_PBGBOLJMIIB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PBGBOLJMIIB_proto_rawDescData) + }) + return file_Unk2700_PBGBOLJMIIB_proto_rawDescData +} + +var file_Unk2700_PBGBOLJMIIB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PBGBOLJMIIB_proto_goTypes = []interface{}{ + (*Unk2700_PBGBOLJMIIB)(nil), // 0: Unk2700_PBGBOLJMIIB +} +var file_Unk2700_PBGBOLJMIIB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PBGBOLJMIIB_proto_init() } +func file_Unk2700_PBGBOLJMIIB_proto_init() { + if File_Unk2700_PBGBOLJMIIB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PBGBOLJMIIB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PBGBOLJMIIB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PBGBOLJMIIB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PBGBOLJMIIB_proto_goTypes, + DependencyIndexes: file_Unk2700_PBGBOLJMIIB_proto_depIdxs, + MessageInfos: file_Unk2700_PBGBOLJMIIB_proto_msgTypes, + }.Build() + File_Unk2700_PBGBOLJMIIB_proto = out.File + file_Unk2700_PBGBOLJMIIB_proto_rawDesc = nil + file_Unk2700_PBGBOLJMIIB_proto_goTypes = nil + file_Unk2700_PBGBOLJMIIB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.proto b/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.proto new file mode 100644 index 00000000..4603205f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PBGBOLJMIIB.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8924 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PBGBOLJMIIB { + uint32 activity_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.pb.go b/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.pb.go new file mode 100644 index 00000000..eedf3366 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PCBGAIAJPHH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8758 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PCBGAIAJPHH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,7,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2700_PCBGAIAJPHH) Reset() { + *x = Unk2700_PCBGAIAJPHH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PCBGAIAJPHH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PCBGAIAJPHH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PCBGAIAJPHH) ProtoMessage() {} + +func (x *Unk2700_PCBGAIAJPHH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PCBGAIAJPHH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PCBGAIAJPHH.ProtoReflect.Descriptor instead. +func (*Unk2700_PCBGAIAJPHH) Descriptor() ([]byte, []int) { + return file_Unk2700_PCBGAIAJPHH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PCBGAIAJPHH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2700_PCBGAIAJPHH_proto protoreflect.FileDescriptor + +var file_Unk2700_PCBGAIAJPHH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x43, 0x42, 0x47, 0x41, 0x49, + 0x41, 0x4a, 0x50, 0x48, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x43, 0x42, 0x47, 0x41, 0x49, 0x41, 0x4a, 0x50, + 0x48, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_PCBGAIAJPHH_proto_rawDescOnce sync.Once + file_Unk2700_PCBGAIAJPHH_proto_rawDescData = file_Unk2700_PCBGAIAJPHH_proto_rawDesc +) + +func file_Unk2700_PCBGAIAJPHH_proto_rawDescGZIP() []byte { + file_Unk2700_PCBGAIAJPHH_proto_rawDescOnce.Do(func() { + file_Unk2700_PCBGAIAJPHH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PCBGAIAJPHH_proto_rawDescData) + }) + return file_Unk2700_PCBGAIAJPHH_proto_rawDescData +} + +var file_Unk2700_PCBGAIAJPHH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PCBGAIAJPHH_proto_goTypes = []interface{}{ + (*Unk2700_PCBGAIAJPHH)(nil), // 0: Unk2700_PCBGAIAJPHH +} +var file_Unk2700_PCBGAIAJPHH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PCBGAIAJPHH_proto_init() } +func file_Unk2700_PCBGAIAJPHH_proto_init() { + if File_Unk2700_PCBGAIAJPHH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PCBGAIAJPHH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PCBGAIAJPHH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PCBGAIAJPHH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PCBGAIAJPHH_proto_goTypes, + DependencyIndexes: file_Unk2700_PCBGAIAJPHH_proto_depIdxs, + MessageInfos: file_Unk2700_PCBGAIAJPHH_proto_msgTypes, + }.Build() + File_Unk2700_PCBGAIAJPHH_proto = out.File + file_Unk2700_PCBGAIAJPHH_proto_rawDesc = nil + file_Unk2700_PCBGAIAJPHH_proto_goTypes = nil + file_Unk2700_PCBGAIAJPHH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.proto b/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.proto new file mode 100644 index 00000000..f2023276 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PCBGAIAJPHH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8758 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PCBGAIAJPHH { + uint32 level_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.pb.go b/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.pb.go new file mode 100644 index 00000000..3bd6cdd3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PDGJFHAGMKD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8447 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PDGJFHAGMKD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PDGJFHAGMKD) Reset() { + *x = Unk2700_PDGJFHAGMKD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PDGJFHAGMKD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PDGJFHAGMKD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PDGJFHAGMKD) ProtoMessage() {} + +func (x *Unk2700_PDGJFHAGMKD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PDGJFHAGMKD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PDGJFHAGMKD.ProtoReflect.Descriptor instead. +func (*Unk2700_PDGJFHAGMKD) Descriptor() ([]byte, []int) { + return file_Unk2700_PDGJFHAGMKD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PDGJFHAGMKD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PDGJFHAGMKD_proto protoreflect.FileDescriptor + +var file_Unk2700_PDGJFHAGMKD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4a, 0x46, 0x48, + 0x41, 0x47, 0x4d, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4a, 0x46, 0x48, 0x41, 0x47, 0x4d, + 0x4b, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PDGJFHAGMKD_proto_rawDescOnce sync.Once + file_Unk2700_PDGJFHAGMKD_proto_rawDescData = file_Unk2700_PDGJFHAGMKD_proto_rawDesc +) + +func file_Unk2700_PDGJFHAGMKD_proto_rawDescGZIP() []byte { + file_Unk2700_PDGJFHAGMKD_proto_rawDescOnce.Do(func() { + file_Unk2700_PDGJFHAGMKD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PDGJFHAGMKD_proto_rawDescData) + }) + return file_Unk2700_PDGJFHAGMKD_proto_rawDescData +} + +var file_Unk2700_PDGJFHAGMKD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PDGJFHAGMKD_proto_goTypes = []interface{}{ + (*Unk2700_PDGJFHAGMKD)(nil), // 0: Unk2700_PDGJFHAGMKD +} +var file_Unk2700_PDGJFHAGMKD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PDGJFHAGMKD_proto_init() } +func file_Unk2700_PDGJFHAGMKD_proto_init() { + if File_Unk2700_PDGJFHAGMKD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PDGJFHAGMKD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PDGJFHAGMKD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PDGJFHAGMKD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PDGJFHAGMKD_proto_goTypes, + DependencyIndexes: file_Unk2700_PDGJFHAGMKD_proto_depIdxs, + MessageInfos: file_Unk2700_PDGJFHAGMKD_proto_msgTypes, + }.Build() + File_Unk2700_PDGJFHAGMKD_proto = out.File + file_Unk2700_PDGJFHAGMKD_proto_rawDesc = nil + file_Unk2700_PDGJFHAGMKD_proto_goTypes = nil + file_Unk2700_PDGJFHAGMKD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.proto b/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.proto new file mode 100644 index 00000000..c3d5e56d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PDGJFHAGMKD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8447 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PDGJFHAGMKD { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.pb.go b/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.pb.go new file mode 100644 index 00000000..97e83d6a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PDGLEKKMCBD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PDGLEKKMCBD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PGBNOPOIHIK uint32 `protobuf:"varint,1,opt,name=Unk2700_PGBNOPOIHIK,json=Unk2700PGBNOPOIHIK,proto3" json:"Unk2700_PGBNOPOIHIK,omitempty"` + Unk2700_BKJABFANBIM uint32 `protobuf:"varint,2,opt,name=Unk2700_BKJABFANBIM,json=Unk2700BKJABFANBIM,proto3" json:"Unk2700_BKJABFANBIM,omitempty"` + Unk2700_DJNLHEBADGE uint32 `protobuf:"varint,3,opt,name=Unk2700_DJNLHEBADGE,json=Unk2700DJNLHEBADGE,proto3" json:"Unk2700_DJNLHEBADGE,omitempty"` + Unk2700_DABMGCIOKCK uint32 `protobuf:"varint,4,opt,name=Unk2700_DABMGCIOKCK,json=Unk2700DABMGCIOKCK,proto3" json:"Unk2700_DABMGCIOKCK,omitempty"` +} + +func (x *Unk2700_PDGLEKKMCBD) Reset() { + *x = Unk2700_PDGLEKKMCBD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PDGLEKKMCBD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PDGLEKKMCBD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PDGLEKKMCBD) ProtoMessage() {} + +func (x *Unk2700_PDGLEKKMCBD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PDGLEKKMCBD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PDGLEKKMCBD.ProtoReflect.Descriptor instead. +func (*Unk2700_PDGLEKKMCBD) Descriptor() ([]byte, []int) { + return file_Unk2700_PDGLEKKMCBD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PDGLEKKMCBD) GetUnk2700_PGBNOPOIHIK() uint32 { + if x != nil { + return x.Unk2700_PGBNOPOIHIK + } + return 0 +} + +func (x *Unk2700_PDGLEKKMCBD) GetUnk2700_BKJABFANBIM() uint32 { + if x != nil { + return x.Unk2700_BKJABFANBIM + } + return 0 +} + +func (x *Unk2700_PDGLEKKMCBD) GetUnk2700_DJNLHEBADGE() uint32 { + if x != nil { + return x.Unk2700_DJNLHEBADGE + } + return 0 +} + +func (x *Unk2700_PDGLEKKMCBD) GetUnk2700_DABMGCIOKCK() uint32 { + if x != nil { + return x.Unk2700_DABMGCIOKCK + } + return 0 +} + +var File_Unk2700_PDGLEKKMCBD_proto protoreflect.FileDescriptor + +var file_Unk2700_PDGLEKKMCBD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4c, 0x45, 0x4b, + 0x4b, 0x4d, 0x43, 0x42, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x47, 0x4c, 0x45, 0x4b, 0x4b, 0x4d, + 0x43, 0x42, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x47, 0x42, 0x4e, 0x4f, 0x50, 0x4f, 0x49, 0x48, 0x49, 0x4b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x47, 0x42, 0x4e, 0x4f, 0x50, 0x4f, + 0x49, 0x48, 0x49, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x42, 0x4b, 0x4a, 0x41, 0x42, 0x46, 0x41, 0x4e, 0x42, 0x49, 0x4d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x42, 0x4b, 0x4a, 0x41, 0x42, 0x46, + 0x41, 0x4e, 0x42, 0x49, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x44, 0x4a, 0x4e, 0x4c, 0x48, 0x45, 0x42, 0x41, 0x44, 0x47, 0x45, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4a, 0x4e, 0x4c, 0x48, + 0x45, 0x42, 0x41, 0x44, 0x47, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x41, 0x42, 0x4d, 0x47, 0x43, 0x49, 0x4f, 0x4b, 0x43, 0x4b, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x41, 0x42, 0x4d, + 0x47, 0x43, 0x49, 0x4f, 0x4b, 0x43, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PDGLEKKMCBD_proto_rawDescOnce sync.Once + file_Unk2700_PDGLEKKMCBD_proto_rawDescData = file_Unk2700_PDGLEKKMCBD_proto_rawDesc +) + +func file_Unk2700_PDGLEKKMCBD_proto_rawDescGZIP() []byte { + file_Unk2700_PDGLEKKMCBD_proto_rawDescOnce.Do(func() { + file_Unk2700_PDGLEKKMCBD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PDGLEKKMCBD_proto_rawDescData) + }) + return file_Unk2700_PDGLEKKMCBD_proto_rawDescData +} + +var file_Unk2700_PDGLEKKMCBD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PDGLEKKMCBD_proto_goTypes = []interface{}{ + (*Unk2700_PDGLEKKMCBD)(nil), // 0: Unk2700_PDGLEKKMCBD +} +var file_Unk2700_PDGLEKKMCBD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PDGLEKKMCBD_proto_init() } +func file_Unk2700_PDGLEKKMCBD_proto_init() { + if File_Unk2700_PDGLEKKMCBD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PDGLEKKMCBD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PDGLEKKMCBD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PDGLEKKMCBD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PDGLEKKMCBD_proto_goTypes, + DependencyIndexes: file_Unk2700_PDGLEKKMCBD_proto_depIdxs, + MessageInfos: file_Unk2700_PDGLEKKMCBD_proto_msgTypes, + }.Build() + File_Unk2700_PDGLEKKMCBD_proto = out.File + file_Unk2700_PDGLEKKMCBD_proto_rawDesc = nil + file_Unk2700_PDGLEKKMCBD_proto_goTypes = nil + file_Unk2700_PDGLEKKMCBD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.proto b/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.proto new file mode 100644 index 00000000..ad4f09b4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PDGLEKKMCBD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_PDGLEKKMCBD { + uint32 Unk2700_PGBNOPOIHIK = 1; + uint32 Unk2700_BKJABFANBIM = 2; + uint32 Unk2700_DJNLHEBADGE = 3; + uint32 Unk2700_DABMGCIOKCK = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.pb.go b/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.pb.go new file mode 100644 index 00000000..cdb9c947 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PEDJGJMHMHH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PEDJGJMHMHH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,8,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_EAKNBKIIJHB *Unk2700_EOHBLDIKPME `protobuf:"bytes,7,opt,name=Unk2700_EAKNBKIIJHB,json=Unk2700EAKNBKIIJHB,proto3" json:"Unk2700_EAKNBKIIJHB,omitempty"` + Unk2700_HIHOANFAKEA *Unk2700_EOHBLDIKPME `protobuf:"bytes,11,opt,name=Unk2700_HIHOANFAKEA,json=Unk2700HIHOANFAKEA,proto3" json:"Unk2700_HIHOANFAKEA,omitempty"` +} + +func (x *Unk2700_PEDJGJMHMHH) Reset() { + *x = Unk2700_PEDJGJMHMHH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PEDJGJMHMHH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PEDJGJMHMHH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PEDJGJMHMHH) ProtoMessage() {} + +func (x *Unk2700_PEDJGJMHMHH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PEDJGJMHMHH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PEDJGJMHMHH.ProtoReflect.Descriptor instead. +func (*Unk2700_PEDJGJMHMHH) Descriptor() ([]byte, []int) { + return file_Unk2700_PEDJGJMHMHH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PEDJGJMHMHH) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2700_PEDJGJMHMHH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_PEDJGJMHMHH) GetUnk2700_EAKNBKIIJHB() *Unk2700_EOHBLDIKPME { + if x != nil { + return x.Unk2700_EAKNBKIIJHB + } + return nil +} + +func (x *Unk2700_PEDJGJMHMHH) GetUnk2700_HIHOANFAKEA() *Unk2700_EOHBLDIKPME { + if x != nil { + return x.Unk2700_HIHOANFAKEA + } + return nil +} + +var File_Unk2700_PEDJGJMHMHH_proto protoreflect.FileDescriptor + +var file_Unk2700_PEDJGJMHMHH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x45, 0x44, 0x4a, 0x47, 0x4a, + 0x4d, 0x48, 0x4d, 0x48, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x48, 0x42, 0x4c, 0x44, 0x49, 0x4b, 0x50, 0x4d, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x45, 0x44, 0x4a, 0x47, 0x4a, 0x4d, 0x48, 0x4d, 0x48, 0x48, 0x12, 0x1b, + 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x45, 0x41, 0x4b, 0x4e, 0x42, 0x4b, 0x49, 0x49, 0x4a, 0x48, 0x42, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, + 0x48, 0x42, 0x4c, 0x44, 0x49, 0x4b, 0x50, 0x4d, 0x45, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x45, 0x41, 0x4b, 0x4e, 0x42, 0x4b, 0x49, 0x49, 0x4a, 0x48, 0x42, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x48, 0x4f, 0x41, 0x4e, 0x46, + 0x41, 0x4b, 0x45, 0x41, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x48, 0x42, 0x4c, 0x44, 0x49, 0x4b, 0x50, 0x4d, 0x45, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x49, 0x48, 0x4f, 0x41, 0x4e, 0x46, + 0x41, 0x4b, 0x45, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PEDJGJMHMHH_proto_rawDescOnce sync.Once + file_Unk2700_PEDJGJMHMHH_proto_rawDescData = file_Unk2700_PEDJGJMHMHH_proto_rawDesc +) + +func file_Unk2700_PEDJGJMHMHH_proto_rawDescGZIP() []byte { + file_Unk2700_PEDJGJMHMHH_proto_rawDescOnce.Do(func() { + file_Unk2700_PEDJGJMHMHH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PEDJGJMHMHH_proto_rawDescData) + }) + return file_Unk2700_PEDJGJMHMHH_proto_rawDescData +} + +var file_Unk2700_PEDJGJMHMHH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PEDJGJMHMHH_proto_goTypes = []interface{}{ + (*Unk2700_PEDJGJMHMHH)(nil), // 0: Unk2700_PEDJGJMHMHH + (*Unk2700_EOHBLDIKPME)(nil), // 1: Unk2700_EOHBLDIKPME +} +var file_Unk2700_PEDJGJMHMHH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_PEDJGJMHMHH.Unk2700_EAKNBKIIJHB:type_name -> Unk2700_EOHBLDIKPME + 1, // 1: Unk2700_PEDJGJMHMHH.Unk2700_HIHOANFAKEA:type_name -> Unk2700_EOHBLDIKPME + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_PEDJGJMHMHH_proto_init() } +func file_Unk2700_PEDJGJMHMHH_proto_init() { + if File_Unk2700_PEDJGJMHMHH_proto != nil { + return + } + file_Unk2700_EOHBLDIKPME_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_PEDJGJMHMHH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PEDJGJMHMHH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PEDJGJMHMHH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PEDJGJMHMHH_proto_goTypes, + DependencyIndexes: file_Unk2700_PEDJGJMHMHH_proto_depIdxs, + MessageInfos: file_Unk2700_PEDJGJMHMHH_proto_msgTypes, + }.Build() + File_Unk2700_PEDJGJMHMHH_proto = out.File + file_Unk2700_PEDJGJMHMHH_proto_rawDesc = nil + file_Unk2700_PEDJGJMHMHH_proto_goTypes = nil + file_Unk2700_PEDJGJMHMHH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.proto b/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.proto new file mode 100644 index 00000000..77495bb9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PEDJGJMHMHH.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_EOHBLDIKPME.proto"; + +option go_package = "./;proto"; + +message Unk2700_PEDJGJMHMHH { + uint32 open_time = 8; + uint32 level_id = 15; + Unk2700_EOHBLDIKPME Unk2700_EAKNBKIIJHB = 7; + Unk2700_EOHBLDIKPME Unk2700_HIHOANFAKEA = 11; +} diff --git a/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.pb.go new file mode 100644 index 00000000..22bbe322 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PFFKAEPBEHE_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6214 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PFFKAEPBEHE_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PFFKAEPBEHE_ServerRsp) Reset() { + *x = Unk2700_PFFKAEPBEHE_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PFFKAEPBEHE_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PFFKAEPBEHE_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_PFFKAEPBEHE_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PFFKAEPBEHE_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_PFFKAEPBEHE_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PFFKAEPBEHE_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PFFKAEPBEHE_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x46, 0x46, 0x4b, 0x41, 0x45, + 0x50, 0x42, 0x45, 0x48, 0x45, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x46, 0x46, 0x4b, 0x41, 0x45, 0x50, 0x42, 0x45, 0x48, 0x45, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescData = file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDesc +) + +func file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDescData +} + +var file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_PFFKAEPBEHE_ServerRsp)(nil), // 0: Unk2700_PFFKAEPBEHE_ServerRsp +} +var file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_init() } +func file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_init() { + if File_Unk2700_PFFKAEPBEHE_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PFFKAEPBEHE_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_PFFKAEPBEHE_ServerRsp_proto = out.File + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_rawDesc = nil + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_goTypes = nil + file_Unk2700_PFFKAEPBEHE_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.proto new file mode 100644 index 00000000..d8efe18c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PFFKAEPBEHE_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6214 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PFFKAEPBEHE_ServerRsp { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.pb.go b/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.pb.go new file mode 100644 index 00000000..133de6d4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PFOLNOBIKFB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8833 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PFOLNOBIKFB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PIDPNNOGBJB bool `protobuf:"varint,4,opt,name=Unk2700_PIDPNNOGBJB,json=Unk2700PIDPNNOGBJB,proto3" json:"Unk2700_PIDPNNOGBJB,omitempty"` + Unk2700_DCGOILIDPNK bool `protobuf:"varint,3,opt,name=Unk2700_DCGOILIDPNK,json=Unk2700DCGOILIDPNK,proto3" json:"Unk2700_DCGOILIDPNK,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PFOLNOBIKFB) Reset() { + *x = Unk2700_PFOLNOBIKFB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PFOLNOBIKFB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PFOLNOBIKFB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PFOLNOBIKFB) ProtoMessage() {} + +func (x *Unk2700_PFOLNOBIKFB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PFOLNOBIKFB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PFOLNOBIKFB.ProtoReflect.Descriptor instead. +func (*Unk2700_PFOLNOBIKFB) Descriptor() ([]byte, []int) { + return file_Unk2700_PFOLNOBIKFB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PFOLNOBIKFB) GetUnk2700_PIDPNNOGBJB() bool { + if x != nil { + return x.Unk2700_PIDPNNOGBJB + } + return false +} + +func (x *Unk2700_PFOLNOBIKFB) GetUnk2700_DCGOILIDPNK() bool { + if x != nil { + return x.Unk2700_DCGOILIDPNK + } + return false +} + +func (x *Unk2700_PFOLNOBIKFB) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PFOLNOBIKFB_proto protoreflect.FileDescriptor + +var file_Unk2700_PFOLNOBIKFB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x46, 0x4f, 0x4c, 0x4e, 0x4f, + 0x42, 0x49, 0x4b, 0x46, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x46, 0x4f, 0x4c, 0x4e, 0x4f, 0x42, 0x49, + 0x4b, 0x46, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x49, 0x44, 0x50, 0x4e, 0x4e, 0x4f, 0x47, 0x42, 0x4a, 0x42, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x49, 0x44, 0x50, 0x4e, 0x4e, 0x4f, + 0x47, 0x42, 0x4a, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x44, 0x43, 0x47, 0x4f, 0x49, 0x4c, 0x49, 0x44, 0x50, 0x4e, 0x4b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x43, 0x47, 0x4f, 0x49, 0x4c, + 0x49, 0x44, 0x50, 0x4e, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PFOLNOBIKFB_proto_rawDescOnce sync.Once + file_Unk2700_PFOLNOBIKFB_proto_rawDescData = file_Unk2700_PFOLNOBIKFB_proto_rawDesc +) + +func file_Unk2700_PFOLNOBIKFB_proto_rawDescGZIP() []byte { + file_Unk2700_PFOLNOBIKFB_proto_rawDescOnce.Do(func() { + file_Unk2700_PFOLNOBIKFB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PFOLNOBIKFB_proto_rawDescData) + }) + return file_Unk2700_PFOLNOBIKFB_proto_rawDescData +} + +var file_Unk2700_PFOLNOBIKFB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PFOLNOBIKFB_proto_goTypes = []interface{}{ + (*Unk2700_PFOLNOBIKFB)(nil), // 0: Unk2700_PFOLNOBIKFB +} +var file_Unk2700_PFOLNOBIKFB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PFOLNOBIKFB_proto_init() } +func file_Unk2700_PFOLNOBIKFB_proto_init() { + if File_Unk2700_PFOLNOBIKFB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PFOLNOBIKFB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PFOLNOBIKFB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PFOLNOBIKFB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PFOLNOBIKFB_proto_goTypes, + DependencyIndexes: file_Unk2700_PFOLNOBIKFB_proto_depIdxs, + MessageInfos: file_Unk2700_PFOLNOBIKFB_proto_msgTypes, + }.Build() + File_Unk2700_PFOLNOBIKFB_proto = out.File + file_Unk2700_PFOLNOBIKFB_proto_rawDesc = nil + file_Unk2700_PFOLNOBIKFB_proto_goTypes = nil + file_Unk2700_PFOLNOBIKFB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.proto b/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.proto new file mode 100644 index 00000000..dd39d35a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PFOLNOBIKFB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8833 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PFOLNOBIKFB { + bool Unk2700_PIDPNNOGBJB = 4; + bool Unk2700_DCGOILIDPNK = 3; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.pb.go b/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.pb.go new file mode 100644 index 00000000..b6587f58 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PGFLJBBEBKG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PGFLJBBEBKG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ONOOJBEABOE uint64 `protobuf:"varint,1,opt,name=Unk2700_ONOOJBEABOE,json=Unk2700ONOOJBEABOE,proto3" json:"Unk2700_ONOOJBEABOE,omitempty"` + Unk2700_MKIMFKIGBCL uint32 `protobuf:"varint,2,opt,name=Unk2700_MKIMFKIGBCL,json=Unk2700MKIMFKIGBCL,proto3" json:"Unk2700_MKIMFKIGBCL,omitempty"` +} + +func (x *Unk2700_PGFLJBBEBKG) Reset() { + *x = Unk2700_PGFLJBBEBKG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PGFLJBBEBKG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PGFLJBBEBKG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PGFLJBBEBKG) ProtoMessage() {} + +func (x *Unk2700_PGFLJBBEBKG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PGFLJBBEBKG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PGFLJBBEBKG.ProtoReflect.Descriptor instead. +func (*Unk2700_PGFLJBBEBKG) Descriptor() ([]byte, []int) { + return file_Unk2700_PGFLJBBEBKG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PGFLJBBEBKG) GetUnk2700_ONOOJBEABOE() uint64 { + if x != nil { + return x.Unk2700_ONOOJBEABOE + } + return 0 +} + +func (x *Unk2700_PGFLJBBEBKG) GetUnk2700_MKIMFKIGBCL() uint32 { + if x != nil { + return x.Unk2700_MKIMFKIGBCL + } + return 0 +} + +var File_Unk2700_PGFLJBBEBKG_proto protoreflect.FileDescriptor + +var file_Unk2700_PGFLJBBEBKG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x47, 0x46, 0x4c, 0x4a, 0x42, + 0x42, 0x45, 0x42, 0x4b, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x47, 0x46, 0x4c, 0x4a, 0x42, 0x42, 0x45, 0x42, + 0x4b, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4e, + 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, 0x42, 0x4f, 0x45, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4e, 0x4f, 0x4f, 0x4a, 0x42, 0x45, 0x41, + 0x42, 0x4f, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, + 0x4b, 0x49, 0x4d, 0x46, 0x4b, 0x49, 0x47, 0x42, 0x43, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4b, 0x49, 0x4d, 0x46, 0x4b, 0x49, + 0x47, 0x42, 0x43, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PGFLJBBEBKG_proto_rawDescOnce sync.Once + file_Unk2700_PGFLJBBEBKG_proto_rawDescData = file_Unk2700_PGFLJBBEBKG_proto_rawDesc +) + +func file_Unk2700_PGFLJBBEBKG_proto_rawDescGZIP() []byte { + file_Unk2700_PGFLJBBEBKG_proto_rawDescOnce.Do(func() { + file_Unk2700_PGFLJBBEBKG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PGFLJBBEBKG_proto_rawDescData) + }) + return file_Unk2700_PGFLJBBEBKG_proto_rawDescData +} + +var file_Unk2700_PGFLJBBEBKG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PGFLJBBEBKG_proto_goTypes = []interface{}{ + (*Unk2700_PGFLJBBEBKG)(nil), // 0: Unk2700_PGFLJBBEBKG +} +var file_Unk2700_PGFLJBBEBKG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PGFLJBBEBKG_proto_init() } +func file_Unk2700_PGFLJBBEBKG_proto_init() { + if File_Unk2700_PGFLJBBEBKG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PGFLJBBEBKG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PGFLJBBEBKG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PGFLJBBEBKG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PGFLJBBEBKG_proto_goTypes, + DependencyIndexes: file_Unk2700_PGFLJBBEBKG_proto_depIdxs, + MessageInfos: file_Unk2700_PGFLJBBEBKG_proto_msgTypes, + }.Build() + File_Unk2700_PGFLJBBEBKG_proto = out.File + file_Unk2700_PGFLJBBEBKG_proto_rawDesc = nil + file_Unk2700_PGFLJBBEBKG_proto_goTypes = nil + file_Unk2700_PGFLJBBEBKG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.proto b/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.proto new file mode 100644 index 00000000..2a8b8fb5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PGFLJBBEBKG.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_PGFLJBBEBKG { + uint64 Unk2700_ONOOJBEABOE = 1; + uint32 Unk2700_MKIMFKIGBCL = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.pb.go b/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.pb.go new file mode 100644 index 00000000..49a67a98 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PHFADCJDBOF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8559 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PHFADCJDBOF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,8,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` +} + +func (x *Unk2700_PHFADCJDBOF) Reset() { + *x = Unk2700_PHFADCJDBOF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PHFADCJDBOF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PHFADCJDBOF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PHFADCJDBOF) ProtoMessage() {} + +func (x *Unk2700_PHFADCJDBOF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PHFADCJDBOF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PHFADCJDBOF.ProtoReflect.Descriptor instead. +func (*Unk2700_PHFADCJDBOF) Descriptor() ([]byte, []int) { + return file_Unk2700_PHFADCJDBOF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PHFADCJDBOF) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +var File_Unk2700_PHFADCJDBOF_proto protoreflect.FileDescriptor + +var file_Unk2700_PHFADCJDBOF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x46, 0x41, 0x44, 0x43, + 0x4a, 0x44, 0x42, 0x4f, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x46, 0x41, 0x44, 0x43, 0x4a, 0x44, 0x42, + 0x4f, 0x46, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PHFADCJDBOF_proto_rawDescOnce sync.Once + file_Unk2700_PHFADCJDBOF_proto_rawDescData = file_Unk2700_PHFADCJDBOF_proto_rawDesc +) + +func file_Unk2700_PHFADCJDBOF_proto_rawDescGZIP() []byte { + file_Unk2700_PHFADCJDBOF_proto_rawDescOnce.Do(func() { + file_Unk2700_PHFADCJDBOF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PHFADCJDBOF_proto_rawDescData) + }) + return file_Unk2700_PHFADCJDBOF_proto_rawDescData +} + +var file_Unk2700_PHFADCJDBOF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PHFADCJDBOF_proto_goTypes = []interface{}{ + (*Unk2700_PHFADCJDBOF)(nil), // 0: Unk2700_PHFADCJDBOF +} +var file_Unk2700_PHFADCJDBOF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PHFADCJDBOF_proto_init() } +func file_Unk2700_PHFADCJDBOF_proto_init() { + if File_Unk2700_PHFADCJDBOF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PHFADCJDBOF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PHFADCJDBOF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PHFADCJDBOF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PHFADCJDBOF_proto_goTypes, + DependencyIndexes: file_Unk2700_PHFADCJDBOF_proto_depIdxs, + MessageInfos: file_Unk2700_PHFADCJDBOF_proto_msgTypes, + }.Build() + File_Unk2700_PHFADCJDBOF_proto = out.File + file_Unk2700_PHFADCJDBOF_proto_rawDesc = nil + file_Unk2700_PHFADCJDBOF_proto_goTypes = nil + file_Unk2700_PHFADCJDBOF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.proto b/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.proto new file mode 100644 index 00000000..35a21098 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHFADCJDBOF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8559 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PHFADCJDBOF { + uint32 schedule_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.pb.go b/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.pb.go new file mode 100644 index 00000000..e38dbed8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PHGGAEDHLBN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PHGGAEDHLBN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_ANHJAFDEACF []uint32 `protobuf:"varint,1,rep,packed,name=Unk2700_ANHJAFDEACF,json=Unk2700ANHJAFDEACF,proto3" json:"Unk2700_ANHJAFDEACF,omitempty"` + Unk2700_IBDCFAMBGOK bool `protobuf:"varint,14,opt,name=Unk2700_IBDCFAMBGOK,json=Unk2700IBDCFAMBGOK,proto3" json:"Unk2700_IBDCFAMBGOK,omitempty"` + Unk2700_KENGEGJGAEL uint32 `protobuf:"varint,6,opt,name=Unk2700_KENGEGJGAEL,json=Unk2700KENGEGJGAEL,proto3" json:"Unk2700_KENGEGJGAEL,omitempty"` + Unk2700_DOIMMBJDALB uint32 `protobuf:"varint,4,opt,name=Unk2700_DOIMMBJDALB,json=Unk2700DOIMMBJDALB,proto3" json:"Unk2700_DOIMMBJDALB,omitempty"` + Unk2700_FKLBCNLBBNM bool `protobuf:"varint,3,opt,name=Unk2700_FKLBCNLBBNM,json=Unk2700FKLBCNLBBNM,proto3" json:"Unk2700_FKLBCNLBBNM,omitempty"` + Unk2700_IFNFCNNBPIB uint32 `protobuf:"varint,10,opt,name=Unk2700_IFNFCNNBPIB,json=Unk2700IFNFCNNBPIB,proto3" json:"Unk2700_IFNFCNNBPIB,omitempty"` + Unk2700_PBBPGFMNMNJ uint32 `protobuf:"varint,9,opt,name=Unk2700_PBBPGFMNMNJ,json=Unk2700PBBPGFMNMNJ,proto3" json:"Unk2700_PBBPGFMNMNJ,omitempty"` +} + +func (x *Unk2700_PHGGAEDHLBN) Reset() { + *x = Unk2700_PHGGAEDHLBN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PHGGAEDHLBN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PHGGAEDHLBN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PHGGAEDHLBN) ProtoMessage() {} + +func (x *Unk2700_PHGGAEDHLBN) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PHGGAEDHLBN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PHGGAEDHLBN.ProtoReflect.Descriptor instead. +func (*Unk2700_PHGGAEDHLBN) Descriptor() ([]byte, []int) { + return file_Unk2700_PHGGAEDHLBN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_ANHJAFDEACF() []uint32 { + if x != nil { + return x.Unk2700_ANHJAFDEACF + } + return nil +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_IBDCFAMBGOK() bool { + if x != nil { + return x.Unk2700_IBDCFAMBGOK + } + return false +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_KENGEGJGAEL() uint32 { + if x != nil { + return x.Unk2700_KENGEGJGAEL + } + return 0 +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_DOIMMBJDALB() uint32 { + if x != nil { + return x.Unk2700_DOIMMBJDALB + } + return 0 +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_FKLBCNLBBNM() bool { + if x != nil { + return x.Unk2700_FKLBCNLBBNM + } + return false +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_IFNFCNNBPIB() uint32 { + if x != nil { + return x.Unk2700_IFNFCNNBPIB + } + return 0 +} + +func (x *Unk2700_PHGGAEDHLBN) GetUnk2700_PBBPGFMNMNJ() uint32 { + if x != nil { + return x.Unk2700_PBBPGFMNMNJ + } + return 0 +} + +var File_Unk2700_PHGGAEDHLBN_proto protoreflect.FileDescriptor + +var file_Unk2700_PHGGAEDHLBN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, + 0x44, 0x48, 0x4c, 0x42, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x47, 0x47, 0x41, 0x45, 0x44, 0x48, + 0x4c, 0x42, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x41, + 0x4e, 0x48, 0x4a, 0x41, 0x46, 0x44, 0x45, 0x41, 0x43, 0x46, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x41, 0x4e, 0x48, 0x4a, 0x41, 0x46, 0x44, + 0x45, 0x41, 0x43, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x49, 0x42, 0x44, 0x43, 0x46, 0x41, 0x4d, 0x42, 0x47, 0x4f, 0x4b, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x42, 0x44, 0x43, 0x46, 0x41, + 0x4d, 0x42, 0x47, 0x4f, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x4b, 0x45, 0x4e, 0x47, 0x45, 0x47, 0x4a, 0x47, 0x41, 0x45, 0x4c, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x45, 0x4e, 0x47, 0x45, + 0x47, 0x4a, 0x47, 0x41, 0x45, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x44, 0x4f, 0x49, 0x4d, 0x4d, 0x42, 0x4a, 0x44, 0x41, 0x4c, 0x42, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x4f, 0x49, 0x4d, + 0x4d, 0x42, 0x4a, 0x44, 0x41, 0x4c, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x46, 0x4b, 0x4c, 0x42, 0x43, 0x4e, 0x4c, 0x42, 0x42, 0x4e, 0x4d, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x4b, 0x4c, + 0x42, 0x43, 0x4e, 0x4c, 0x42, 0x42, 0x4e, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x49, 0x46, 0x4e, 0x46, 0x43, 0x4e, 0x4e, 0x42, 0x50, 0x49, 0x42, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x49, 0x46, + 0x4e, 0x46, 0x43, 0x4e, 0x4e, 0x42, 0x50, 0x49, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x42, 0x42, 0x50, 0x47, 0x46, 0x4d, 0x4e, 0x4d, 0x4e, 0x4a, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, + 0x42, 0x42, 0x50, 0x47, 0x46, 0x4d, 0x4e, 0x4d, 0x4e, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PHGGAEDHLBN_proto_rawDescOnce sync.Once + file_Unk2700_PHGGAEDHLBN_proto_rawDescData = file_Unk2700_PHGGAEDHLBN_proto_rawDesc +) + +func file_Unk2700_PHGGAEDHLBN_proto_rawDescGZIP() []byte { + file_Unk2700_PHGGAEDHLBN_proto_rawDescOnce.Do(func() { + file_Unk2700_PHGGAEDHLBN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PHGGAEDHLBN_proto_rawDescData) + }) + return file_Unk2700_PHGGAEDHLBN_proto_rawDescData +} + +var file_Unk2700_PHGGAEDHLBN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PHGGAEDHLBN_proto_goTypes = []interface{}{ + (*Unk2700_PHGGAEDHLBN)(nil), // 0: Unk2700_PHGGAEDHLBN +} +var file_Unk2700_PHGGAEDHLBN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PHGGAEDHLBN_proto_init() } +func file_Unk2700_PHGGAEDHLBN_proto_init() { + if File_Unk2700_PHGGAEDHLBN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PHGGAEDHLBN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PHGGAEDHLBN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PHGGAEDHLBN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PHGGAEDHLBN_proto_goTypes, + DependencyIndexes: file_Unk2700_PHGGAEDHLBN_proto_depIdxs, + MessageInfos: file_Unk2700_PHGGAEDHLBN_proto_msgTypes, + }.Build() + File_Unk2700_PHGGAEDHLBN_proto = out.File + file_Unk2700_PHGGAEDHLBN_proto_rawDesc = nil + file_Unk2700_PHGGAEDHLBN_proto_goTypes = nil + file_Unk2700_PHGGAEDHLBN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.proto b/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.proto new file mode 100644 index 00000000..2346c4e1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHGGAEDHLBN.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_PHGGAEDHLBN { + repeated uint32 Unk2700_ANHJAFDEACF = 1; + bool Unk2700_IBDCFAMBGOK = 14; + uint32 Unk2700_KENGEGJGAEL = 6; + uint32 Unk2700_DOIMMBJDALB = 4; + bool Unk2700_FKLBCNLBBNM = 3; + uint32 Unk2700_IFNFCNNBPIB = 10; + uint32 Unk2700_PBBPGFMNMNJ = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.pb.go b/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.pb.go new file mode 100644 index 00000000..a0e05b8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PHLEDBIFIFL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PHLEDBIFIFL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,12,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Difficulty uint32 `protobuf:"varint,4,opt,name=difficulty,proto3" json:"difficulty,omitempty"` +} + +func (x *Unk2700_PHLEDBIFIFL) Reset() { + *x = Unk2700_PHLEDBIFIFL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PHLEDBIFIFL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PHLEDBIFIFL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PHLEDBIFIFL) ProtoMessage() {} + +func (x *Unk2700_PHLEDBIFIFL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PHLEDBIFIFL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PHLEDBIFIFL.ProtoReflect.Descriptor instead. +func (*Unk2700_PHLEDBIFIFL) Descriptor() ([]byte, []int) { + return file_Unk2700_PHLEDBIFIFL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PHLEDBIFIFL) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_PHLEDBIFIFL) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +var File_Unk2700_PHLEDBIFIFL_proto protoreflect.FileDescriptor + +var file_Unk2700_PHLEDBIFIFL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4c, 0x45, 0x44, 0x42, + 0x49, 0x46, 0x49, 0x46, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4c, 0x45, 0x44, 0x42, 0x49, 0x46, 0x49, + 0x46, 0x4c, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_PHLEDBIFIFL_proto_rawDescOnce sync.Once + file_Unk2700_PHLEDBIFIFL_proto_rawDescData = file_Unk2700_PHLEDBIFIFL_proto_rawDesc +) + +func file_Unk2700_PHLEDBIFIFL_proto_rawDescGZIP() []byte { + file_Unk2700_PHLEDBIFIFL_proto_rawDescOnce.Do(func() { + file_Unk2700_PHLEDBIFIFL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PHLEDBIFIFL_proto_rawDescData) + }) + return file_Unk2700_PHLEDBIFIFL_proto_rawDescData +} + +var file_Unk2700_PHLEDBIFIFL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PHLEDBIFIFL_proto_goTypes = []interface{}{ + (*Unk2700_PHLEDBIFIFL)(nil), // 0: Unk2700_PHLEDBIFIFL +} +var file_Unk2700_PHLEDBIFIFL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PHLEDBIFIFL_proto_init() } +func file_Unk2700_PHLEDBIFIFL_proto_init() { + if File_Unk2700_PHLEDBIFIFL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PHLEDBIFIFL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PHLEDBIFIFL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PHLEDBIFIFL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PHLEDBIFIFL_proto_goTypes, + DependencyIndexes: file_Unk2700_PHLEDBIFIFL_proto_depIdxs, + MessageInfos: file_Unk2700_PHLEDBIFIFL_proto_msgTypes, + }.Build() + File_Unk2700_PHLEDBIFIFL_proto = out.File + file_Unk2700_PHLEDBIFIFL_proto_rawDesc = nil + file_Unk2700_PHLEDBIFIFL_proto_goTypes = nil + file_Unk2700_PHLEDBIFIFL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.proto b/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.proto new file mode 100644 index 00000000..67aa46ca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PHLEDBIFIFL.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PHLEDBIFIFL { + uint32 level_id = 12; + uint32 difficulty = 4; +} diff --git a/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.pb.go b/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.pb.go new file mode 100644 index 00000000..dfc56c0a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PIAFGFGHGHM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PIAFGFGHGHM int32 + +const ( + Unk2700_PIAFGFGHGHM_Unk2700_PIAFGFGHGHM_Unk2700_LKEBMNKGKCP Unk2700_PIAFGFGHGHM = 0 + Unk2700_PIAFGFGHGHM_Unk2700_PIAFGFGHGHM_Unk2700_PJHOMLBMENK Unk2700_PIAFGFGHGHM = 1 + Unk2700_PIAFGFGHGHM_Unk2700_PIAFGFGHGHM_Unk2700_MPGMPAOGMCB Unk2700_PIAFGFGHGHM = 2 +) + +// Enum value maps for Unk2700_PIAFGFGHGHM. +var ( + Unk2700_PIAFGFGHGHM_name = map[int32]string{ + 0: "Unk2700_PIAFGFGHGHM_Unk2700_LKEBMNKGKCP", + 1: "Unk2700_PIAFGFGHGHM_Unk2700_PJHOMLBMENK", + 2: "Unk2700_PIAFGFGHGHM_Unk2700_MPGMPAOGMCB", + } + Unk2700_PIAFGFGHGHM_value = map[string]int32{ + "Unk2700_PIAFGFGHGHM_Unk2700_LKEBMNKGKCP": 0, + "Unk2700_PIAFGFGHGHM_Unk2700_PJHOMLBMENK": 1, + "Unk2700_PIAFGFGHGHM_Unk2700_MPGMPAOGMCB": 2, + } +) + +func (x Unk2700_PIAFGFGHGHM) Enum() *Unk2700_PIAFGFGHGHM { + p := new(Unk2700_PIAFGFGHGHM) + *p = x + return p +} + +func (x Unk2700_PIAFGFGHGHM) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2700_PIAFGFGHGHM) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2700_PIAFGFGHGHM_proto_enumTypes[0].Descriptor() +} + +func (Unk2700_PIAFGFGHGHM) Type() protoreflect.EnumType { + return &file_Unk2700_PIAFGFGHGHM_proto_enumTypes[0] +} + +func (x Unk2700_PIAFGFGHGHM) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2700_PIAFGFGHGHM.Descriptor instead. +func (Unk2700_PIAFGFGHGHM) EnumDescriptor() ([]byte, []int) { + return file_Unk2700_PIAFGFGHGHM_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_PIAFGFGHGHM_proto protoreflect.FileDescriptor + +var file_Unk2700_PIAFGFGHGHM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, 0x47, 0x46, + 0x47, 0x48, 0x47, 0x48, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, 0x47, 0x46, 0x47, 0x48, + 0x47, 0x48, 0x4d, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, + 0x49, 0x41, 0x46, 0x47, 0x46, 0x47, 0x48, 0x47, 0x48, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x4c, 0x4b, 0x45, 0x42, 0x4d, 0x4e, 0x4b, 0x47, 0x4b, 0x43, 0x50, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, + 0x47, 0x46, 0x47, 0x48, 0x47, 0x48, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x50, 0x4a, 0x48, 0x4f, 0x4d, 0x4c, 0x42, 0x4d, 0x45, 0x4e, 0x4b, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x41, 0x46, 0x47, 0x46, 0x47, + 0x48, 0x47, 0x48, 0x4d, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x47, + 0x4d, 0x50, 0x41, 0x4f, 0x47, 0x4d, 0x43, 0x42, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PIAFGFGHGHM_proto_rawDescOnce sync.Once + file_Unk2700_PIAFGFGHGHM_proto_rawDescData = file_Unk2700_PIAFGFGHGHM_proto_rawDesc +) + +func file_Unk2700_PIAFGFGHGHM_proto_rawDescGZIP() []byte { + file_Unk2700_PIAFGFGHGHM_proto_rawDescOnce.Do(func() { + file_Unk2700_PIAFGFGHGHM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PIAFGFGHGHM_proto_rawDescData) + }) + return file_Unk2700_PIAFGFGHGHM_proto_rawDescData +} + +var file_Unk2700_PIAFGFGHGHM_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2700_PIAFGFGHGHM_proto_goTypes = []interface{}{ + (Unk2700_PIAFGFGHGHM)(0), // 0: Unk2700_PIAFGFGHGHM +} +var file_Unk2700_PIAFGFGHGHM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PIAFGFGHGHM_proto_init() } +func file_Unk2700_PIAFGFGHGHM_proto_init() { + if File_Unk2700_PIAFGFGHGHM_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PIAFGFGHGHM_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PIAFGFGHGHM_proto_goTypes, + DependencyIndexes: file_Unk2700_PIAFGFGHGHM_proto_depIdxs, + EnumInfos: file_Unk2700_PIAFGFGHGHM_proto_enumTypes, + }.Build() + File_Unk2700_PIAFGFGHGHM_proto = out.File + file_Unk2700_PIAFGFGHGHM_proto_rawDesc = nil + file_Unk2700_PIAFGFGHGHM_proto_goTypes = nil + file_Unk2700_PIAFGFGHGHM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.proto b/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.proto new file mode 100644 index 00000000..1707d228 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIAFGFGHGHM.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2700_PIAFGFGHGHM { + Unk2700_PIAFGFGHGHM_Unk2700_LKEBMNKGKCP = 0; + Unk2700_PIAFGFGHGHM_Unk2700_PJHOMLBMENK = 1; + Unk2700_PIAFGFGHGHM_Unk2700_MPGMPAOGMCB = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.pb.go new file mode 100644 index 00000000..c01246d9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PIEJLIIGLGM_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6237 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PIEJLIIGLGM_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PIEJLIIGLGM_ServerRsp) Reset() { + *x = Unk2700_PIEJLIIGLGM_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PIEJLIIGLGM_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PIEJLIIGLGM_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_PIEJLIIGLGM_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PIEJLIIGLGM_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_PIEJLIIGLGM_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PIEJLIIGLGM_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PIEJLIIGLGM_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x45, 0x4a, 0x4c, 0x49, + 0x49, 0x47, 0x4c, 0x47, 0x4d, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x49, 0x45, 0x4a, 0x4c, 0x49, 0x49, 0x47, 0x4c, 0x47, 0x4d, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescData = file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDesc +) + +func file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDescData +} + +var file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_PIEJLIIGLGM_ServerRsp)(nil), // 0: Unk2700_PIEJLIIGLGM_ServerRsp +} +var file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_init() } +func file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_init() { + if File_Unk2700_PIEJLIIGLGM_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PIEJLIIGLGM_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_PIEJLIIGLGM_ServerRsp_proto = out.File + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_rawDesc = nil + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_goTypes = nil + file_Unk2700_PIEJLIIGLGM_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.proto new file mode 100644 index 00000000..b539d973 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIEJLIIGLGM_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6237 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PIEJLIIGLGM_ServerRsp { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.pb.go b/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.pb.go new file mode 100644 index 00000000..70865c80 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PIEJMALFKIF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8531 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PIEJMALFKIF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_FHEHGDABALE uint32 `protobuf:"varint,7,opt,name=Unk2700_FHEHGDABALE,json=Unk2700FHEHGDABALE,proto3" json:"Unk2700_FHEHGDABALE,omitempty"` + DungeonAvatarList []*Unk2700_KHDMDKKDOCD `protobuf:"bytes,6,rep,name=dungeon_avatar_list,json=dungeonAvatarList,proto3" json:"dungeon_avatar_list,omitempty"` + LevelId uint32 `protobuf:"varint,8,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Unk2700_HKFEBBCMBHL uint32 `protobuf:"varint,5,opt,name=Unk2700_HKFEBBCMBHL,json=Unk2700HKFEBBCMBHL,proto3" json:"Unk2700_HKFEBBCMBHL,omitempty"` +} + +func (x *Unk2700_PIEJMALFKIF) Reset() { + *x = Unk2700_PIEJMALFKIF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PIEJMALFKIF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PIEJMALFKIF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PIEJMALFKIF) ProtoMessage() {} + +func (x *Unk2700_PIEJMALFKIF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PIEJMALFKIF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PIEJMALFKIF.ProtoReflect.Descriptor instead. +func (*Unk2700_PIEJMALFKIF) Descriptor() ([]byte, []int) { + return file_Unk2700_PIEJMALFKIF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PIEJMALFKIF) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_PIEJMALFKIF) GetUnk2700_FHEHGDABALE() uint32 { + if x != nil { + return x.Unk2700_FHEHGDABALE + } + return 0 +} + +func (x *Unk2700_PIEJMALFKIF) GetDungeonAvatarList() []*Unk2700_KHDMDKKDOCD { + if x != nil { + return x.DungeonAvatarList + } + return nil +} + +func (x *Unk2700_PIEJMALFKIF) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2700_PIEJMALFKIF) GetUnk2700_HKFEBBCMBHL() uint32 { + if x != nil { + return x.Unk2700_HKFEBBCMBHL + } + return 0 +} + +var File_Unk2700_PIEJMALFKIF_proto protoreflect.FileDescriptor + +var file_Unk2700_PIEJMALFKIF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x45, 0x4a, 0x4d, 0x41, + 0x4c, 0x46, 0x4b, 0x49, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x44, 0x4d, 0x44, 0x4b, 0x4b, 0x44, 0x4f, 0x43, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf3, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x49, 0x45, 0x4a, 0x4d, 0x41, 0x4c, 0x46, 0x4b, 0x49, 0x46, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x45, 0x48, 0x47, 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, + 0x48, 0x45, 0x48, 0x47, 0x44, 0x41, 0x42, 0x41, 0x4c, 0x45, 0x12, 0x44, 0x0a, 0x13, 0x64, 0x75, + 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4b, 0x48, 0x44, 0x4d, 0x44, 0x4b, 0x4b, 0x44, 0x4f, 0x43, 0x44, 0x52, 0x11, 0x64, + 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, + 0x48, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x48, 0x4b, 0x46, 0x45, 0x42, 0x42, 0x43, 0x4d, 0x42, 0x48, 0x4c, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PIEJMALFKIF_proto_rawDescOnce sync.Once + file_Unk2700_PIEJMALFKIF_proto_rawDescData = file_Unk2700_PIEJMALFKIF_proto_rawDesc +) + +func file_Unk2700_PIEJMALFKIF_proto_rawDescGZIP() []byte { + file_Unk2700_PIEJMALFKIF_proto_rawDescOnce.Do(func() { + file_Unk2700_PIEJMALFKIF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PIEJMALFKIF_proto_rawDescData) + }) + return file_Unk2700_PIEJMALFKIF_proto_rawDescData +} + +var file_Unk2700_PIEJMALFKIF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PIEJMALFKIF_proto_goTypes = []interface{}{ + (*Unk2700_PIEJMALFKIF)(nil), // 0: Unk2700_PIEJMALFKIF + (*Unk2700_KHDMDKKDOCD)(nil), // 1: Unk2700_KHDMDKKDOCD +} +var file_Unk2700_PIEJMALFKIF_proto_depIdxs = []int32{ + 1, // 0: Unk2700_PIEJMALFKIF.dungeon_avatar_list:type_name -> Unk2700_KHDMDKKDOCD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_PIEJMALFKIF_proto_init() } +func file_Unk2700_PIEJMALFKIF_proto_init() { + if File_Unk2700_PIEJMALFKIF_proto != nil { + return + } + file_Unk2700_KHDMDKKDOCD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_PIEJMALFKIF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PIEJMALFKIF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PIEJMALFKIF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PIEJMALFKIF_proto_goTypes, + DependencyIndexes: file_Unk2700_PIEJMALFKIF_proto_depIdxs, + MessageInfos: file_Unk2700_PIEJMALFKIF_proto_msgTypes, + }.Build() + File_Unk2700_PIEJMALFKIF_proto = out.File + file_Unk2700_PIEJMALFKIF_proto_rawDesc = nil + file_Unk2700_PIEJMALFKIF_proto_goTypes = nil + file_Unk2700_PIEJMALFKIF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.proto b/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.proto new file mode 100644 index 00000000..c68fb123 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PIEJMALFKIF.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KHDMDKKDOCD.proto"; + +option go_package = "./;proto"; + +// CmdId: 8531 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PIEJMALFKIF { + uint32 stage_id = 13; + uint32 Unk2700_FHEHGDABALE = 7; + repeated Unk2700_KHDMDKKDOCD dungeon_avatar_list = 6; + uint32 level_id = 8; + uint32 Unk2700_HKFEBBCMBHL = 5; +} diff --git a/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.pb.go b/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.pb.go new file mode 100644 index 00000000..03bc2b48 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PILILDPMNNA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PILILDPMNNA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Difficulty uint32 `protobuf:"varint,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + Unk2700_EGBDDLOBCDL []uint32 `protobuf:"varint,4,rep,packed,name=Unk2700_EGBDDLOBCDL,json=Unk2700EGBDDLOBCDL,proto3" json:"Unk2700_EGBDDLOBCDL,omitempty"` + Unk2700_MMFHBHNKLDG bool `protobuf:"varint,9,opt,name=Unk2700_MMFHBHNKLDG,json=Unk2700MMFHBHNKLDG,proto3" json:"Unk2700_MMFHBHNKLDG,omitempty"` + StageId uint32 `protobuf:"varint,12,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_PPEBOKBCPLE uint32 `protobuf:"varint,3,opt,name=Unk2700_PPEBOKBCPLE,json=Unk2700PPEBOKBCPLE,proto3" json:"Unk2700_PPEBOKBCPLE,omitempty"` +} + +func (x *Unk2700_PILILDPMNNA) Reset() { + *x = Unk2700_PILILDPMNNA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PILILDPMNNA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PILILDPMNNA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PILILDPMNNA) ProtoMessage() {} + +func (x *Unk2700_PILILDPMNNA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PILILDPMNNA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PILILDPMNNA.ProtoReflect.Descriptor instead. +func (*Unk2700_PILILDPMNNA) Descriptor() ([]byte, []int) { + return file_Unk2700_PILILDPMNNA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PILILDPMNNA) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *Unk2700_PILILDPMNNA) GetUnk2700_EGBDDLOBCDL() []uint32 { + if x != nil { + return x.Unk2700_EGBDDLOBCDL + } + return nil +} + +func (x *Unk2700_PILILDPMNNA) GetUnk2700_MMFHBHNKLDG() bool { + if x != nil { + return x.Unk2700_MMFHBHNKLDG + } + return false +} + +func (x *Unk2700_PILILDPMNNA) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2700_PILILDPMNNA) GetUnk2700_PPEBOKBCPLE() uint32 { + if x != nil { + return x.Unk2700_PPEBOKBCPLE + } + return 0 +} + +var File_Unk2700_PILILDPMNNA_proto protoreflect.FileDescriptor + +var file_Unk2700_PILILDPMNNA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x49, 0x4c, 0x44, + 0x50, 0x4d, 0x4e, 0x4e, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x49, 0x4c, 0x44, 0x50, 0x4d, + 0x4e, 0x4e, 0x41, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, + 0x47, 0x42, 0x44, 0x44, 0x4c, 0x4f, 0x42, 0x43, 0x44, 0x4c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x45, 0x47, 0x42, 0x44, 0x44, 0x4c, 0x4f, + 0x42, 0x43, 0x44, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4d, 0x4d, 0x46, 0x48, 0x42, 0x48, 0x4e, 0x4b, 0x4c, 0x44, 0x47, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x46, 0x48, 0x42, 0x48, + 0x4e, 0x4b, 0x4c, 0x44, 0x47, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x45, 0x42, + 0x4f, 0x4b, 0x42, 0x43, 0x50, 0x4c, 0x45, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x50, 0x45, 0x42, 0x4f, 0x4b, 0x42, 0x43, 0x50, 0x4c, + 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PILILDPMNNA_proto_rawDescOnce sync.Once + file_Unk2700_PILILDPMNNA_proto_rawDescData = file_Unk2700_PILILDPMNNA_proto_rawDesc +) + +func file_Unk2700_PILILDPMNNA_proto_rawDescGZIP() []byte { + file_Unk2700_PILILDPMNNA_proto_rawDescOnce.Do(func() { + file_Unk2700_PILILDPMNNA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PILILDPMNNA_proto_rawDescData) + }) + return file_Unk2700_PILILDPMNNA_proto_rawDescData +} + +var file_Unk2700_PILILDPMNNA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PILILDPMNNA_proto_goTypes = []interface{}{ + (*Unk2700_PILILDPMNNA)(nil), // 0: Unk2700_PILILDPMNNA +} +var file_Unk2700_PILILDPMNNA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PILILDPMNNA_proto_init() } +func file_Unk2700_PILILDPMNNA_proto_init() { + if File_Unk2700_PILILDPMNNA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PILILDPMNNA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PILILDPMNNA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PILILDPMNNA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PILILDPMNNA_proto_goTypes, + DependencyIndexes: file_Unk2700_PILILDPMNNA_proto_depIdxs, + MessageInfos: file_Unk2700_PILILDPMNNA_proto_msgTypes, + }.Build() + File_Unk2700_PILILDPMNNA_proto = out.File + file_Unk2700_PILILDPMNNA_proto_rawDesc = nil + file_Unk2700_PILILDPMNNA_proto_goTypes = nil + file_Unk2700_PILILDPMNNA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.proto b/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.proto new file mode 100644 index 00000000..460fb52d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PILILDPMNNA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_PILILDPMNNA { + uint32 difficulty = 7; + repeated uint32 Unk2700_EGBDDLOBCDL = 4; + bool Unk2700_MMFHBHNKLDG = 9; + uint32 stage_id = 12; + uint32 Unk2700_PPEBOKBCPLE = 3; +} diff --git a/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.pb.go b/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.pb.go new file mode 100644 index 00000000..140436fa --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PJCMAELKFEP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8367 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PJCMAELKFEP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2700_PJCMAELKFEP) Reset() { + *x = Unk2700_PJCMAELKFEP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PJCMAELKFEP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PJCMAELKFEP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PJCMAELKFEP) ProtoMessage() {} + +func (x *Unk2700_PJCMAELKFEP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PJCMAELKFEP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PJCMAELKFEP.ProtoReflect.Descriptor instead. +func (*Unk2700_PJCMAELKFEP) Descriptor() ([]byte, []int) { + return file_Unk2700_PJCMAELKFEP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PJCMAELKFEP) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2700_PJCMAELKFEP_proto protoreflect.FileDescriptor + +var file_Unk2700_PJCMAELKFEP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x43, 0x4d, 0x41, 0x45, + 0x4c, 0x4b, 0x46, 0x45, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x43, 0x4d, 0x41, 0x45, 0x4c, 0x4b, 0x46, + 0x45, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PJCMAELKFEP_proto_rawDescOnce sync.Once + file_Unk2700_PJCMAELKFEP_proto_rawDescData = file_Unk2700_PJCMAELKFEP_proto_rawDesc +) + +func file_Unk2700_PJCMAELKFEP_proto_rawDescGZIP() []byte { + file_Unk2700_PJCMAELKFEP_proto_rawDescOnce.Do(func() { + file_Unk2700_PJCMAELKFEP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PJCMAELKFEP_proto_rawDescData) + }) + return file_Unk2700_PJCMAELKFEP_proto_rawDescData +} + +var file_Unk2700_PJCMAELKFEP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PJCMAELKFEP_proto_goTypes = []interface{}{ + (*Unk2700_PJCMAELKFEP)(nil), // 0: Unk2700_PJCMAELKFEP +} +var file_Unk2700_PJCMAELKFEP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PJCMAELKFEP_proto_init() } +func file_Unk2700_PJCMAELKFEP_proto_init() { + if File_Unk2700_PJCMAELKFEP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PJCMAELKFEP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PJCMAELKFEP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PJCMAELKFEP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PJCMAELKFEP_proto_goTypes, + DependencyIndexes: file_Unk2700_PJCMAELKFEP_proto_depIdxs, + MessageInfos: file_Unk2700_PJCMAELKFEP_proto_msgTypes, + }.Build() + File_Unk2700_PJCMAELKFEP_proto = out.File + file_Unk2700_PJCMAELKFEP_proto_rawDesc = nil + file_Unk2700_PJCMAELKFEP_proto_goTypes = nil + file_Unk2700_PJCMAELKFEP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.proto b/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.proto new file mode 100644 index 00000000..f1726872 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PJCMAELKFEP.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8367 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PJCMAELKFEP { + uint32 gallery_id = 13; +} diff --git a/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.pb.go b/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.pb.go new file mode 100644 index 00000000..7b97be04 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PJPMOLPHNEH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8895 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PJPMOLPHNEH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HLHIAHAELDA uint32 `protobuf:"varint,1,opt,name=Unk2700_HLHIAHAELDA,json=Unk2700HLHIAHAELDA,proto3" json:"Unk2700_HLHIAHAELDA,omitempty"` + Unk2700_MMNILGLDHHD bool `protobuf:"varint,3,opt,name=Unk2700_MMNILGLDHHD,json=Unk2700MMNILGLDHHD,proto3" json:"Unk2700_MMNILGLDHHD,omitempty"` + Unk2700_PPEBOKBCPLE uint32 `protobuf:"varint,2,opt,name=Unk2700_PPEBOKBCPLE,json=Unk2700PPEBOKBCPLE,proto3" json:"Unk2700_PPEBOKBCPLE,omitempty"` +} + +func (x *Unk2700_PJPMOLPHNEH) Reset() { + *x = Unk2700_PJPMOLPHNEH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PJPMOLPHNEH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PJPMOLPHNEH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PJPMOLPHNEH) ProtoMessage() {} + +func (x *Unk2700_PJPMOLPHNEH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PJPMOLPHNEH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PJPMOLPHNEH.ProtoReflect.Descriptor instead. +func (*Unk2700_PJPMOLPHNEH) Descriptor() ([]byte, []int) { + return file_Unk2700_PJPMOLPHNEH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PJPMOLPHNEH) GetUnk2700_HLHIAHAELDA() uint32 { + if x != nil { + return x.Unk2700_HLHIAHAELDA + } + return 0 +} + +func (x *Unk2700_PJPMOLPHNEH) GetUnk2700_MMNILGLDHHD() bool { + if x != nil { + return x.Unk2700_MMNILGLDHHD + } + return false +} + +func (x *Unk2700_PJPMOLPHNEH) GetUnk2700_PPEBOKBCPLE() uint32 { + if x != nil { + return x.Unk2700_PPEBOKBCPLE + } + return 0 +} + +var File_Unk2700_PJPMOLPHNEH_proto protoreflect.FileDescriptor + +var file_Unk2700_PJPMOLPHNEH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x50, 0x4d, 0x4f, 0x4c, + 0x50, 0x48, 0x4e, 0x45, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x50, 0x4d, 0x4f, 0x4c, 0x50, 0x48, + 0x4e, 0x45, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, + 0x4c, 0x48, 0x49, 0x41, 0x48, 0x41, 0x45, 0x4c, 0x44, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x4c, 0x48, 0x49, 0x41, 0x48, 0x41, + 0x45, 0x4c, 0x44, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, 0x4c, 0x44, 0x48, 0x48, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x4d, 0x4e, 0x49, 0x4c, 0x47, + 0x4c, 0x44, 0x48, 0x48, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x50, 0x45, 0x42, 0x4f, 0x4b, 0x42, 0x43, 0x50, 0x4c, 0x45, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x50, 0x45, 0x42, 0x4f, + 0x4b, 0x42, 0x43, 0x50, 0x4c, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PJPMOLPHNEH_proto_rawDescOnce sync.Once + file_Unk2700_PJPMOLPHNEH_proto_rawDescData = file_Unk2700_PJPMOLPHNEH_proto_rawDesc +) + +func file_Unk2700_PJPMOLPHNEH_proto_rawDescGZIP() []byte { + file_Unk2700_PJPMOLPHNEH_proto_rawDescOnce.Do(func() { + file_Unk2700_PJPMOLPHNEH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PJPMOLPHNEH_proto_rawDescData) + }) + return file_Unk2700_PJPMOLPHNEH_proto_rawDescData +} + +var file_Unk2700_PJPMOLPHNEH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PJPMOLPHNEH_proto_goTypes = []interface{}{ + (*Unk2700_PJPMOLPHNEH)(nil), // 0: Unk2700_PJPMOLPHNEH +} +var file_Unk2700_PJPMOLPHNEH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PJPMOLPHNEH_proto_init() } +func file_Unk2700_PJPMOLPHNEH_proto_init() { + if File_Unk2700_PJPMOLPHNEH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PJPMOLPHNEH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PJPMOLPHNEH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PJPMOLPHNEH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PJPMOLPHNEH_proto_goTypes, + DependencyIndexes: file_Unk2700_PJPMOLPHNEH_proto_depIdxs, + MessageInfos: file_Unk2700_PJPMOLPHNEH_proto_msgTypes, + }.Build() + File_Unk2700_PJPMOLPHNEH_proto = out.File + file_Unk2700_PJPMOLPHNEH_proto_rawDesc = nil + file_Unk2700_PJPMOLPHNEH_proto_goTypes = nil + file_Unk2700_PJPMOLPHNEH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.proto b/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.proto new file mode 100644 index 00000000..754a2646 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PJPMOLPHNEH.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8895 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PJPMOLPHNEH { + uint32 Unk2700_HLHIAHAELDA = 1; + bool Unk2700_MMNILGLDHHD = 3; + uint32 Unk2700_PPEBOKBCPLE = 2; +} diff --git a/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.pb.go b/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.pb.go new file mode 100644 index 00000000..d4c9d73f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PKAPCOBGIJL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PKAPCOBGIJL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OOJCLILDIHM uint32 `protobuf:"varint,1,opt,name=Unk2700_OOJCLILDIHM,json=Unk2700OOJCLILDIHM,proto3" json:"Unk2700_OOJCLILDIHM,omitempty"` + Unk2700_KDNLGNDLDNM uint32 `protobuf:"varint,10,opt,name=Unk2700_KDNLGNDLDNM,json=Unk2700KDNLGNDLDNM,proto3" json:"Unk2700_KDNLGNDLDNM,omitempty"` +} + +func (x *Unk2700_PKAPCOBGIJL) Reset() { + *x = Unk2700_PKAPCOBGIJL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PKAPCOBGIJL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PKAPCOBGIJL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PKAPCOBGIJL) ProtoMessage() {} + +func (x *Unk2700_PKAPCOBGIJL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PKAPCOBGIJL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PKAPCOBGIJL.ProtoReflect.Descriptor instead. +func (*Unk2700_PKAPCOBGIJL) Descriptor() ([]byte, []int) { + return file_Unk2700_PKAPCOBGIJL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PKAPCOBGIJL) GetUnk2700_OOJCLILDIHM() uint32 { + if x != nil { + return x.Unk2700_OOJCLILDIHM + } + return 0 +} + +func (x *Unk2700_PKAPCOBGIJL) GetUnk2700_KDNLGNDLDNM() uint32 { + if x != nil { + return x.Unk2700_KDNLGNDLDNM + } + return 0 +} + +var File_Unk2700_PKAPCOBGIJL_proto protoreflect.FileDescriptor + +var file_Unk2700_PKAPCOBGIJL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, + 0x42, 0x47, 0x49, 0x4a, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x41, 0x50, 0x43, 0x4f, 0x42, 0x47, 0x49, + 0x4a, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4f, + 0x4a, 0x43, 0x4c, 0x49, 0x4c, 0x44, 0x49, 0x48, 0x4d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x4f, 0x4a, 0x43, 0x4c, 0x49, 0x4c, 0x44, + 0x49, 0x48, 0x4d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, + 0x44, 0x4e, 0x4c, 0x47, 0x4e, 0x44, 0x4c, 0x44, 0x4e, 0x4d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4b, 0x44, 0x4e, 0x4c, 0x47, 0x4e, 0x44, + 0x4c, 0x44, 0x4e, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PKAPCOBGIJL_proto_rawDescOnce sync.Once + file_Unk2700_PKAPCOBGIJL_proto_rawDescData = file_Unk2700_PKAPCOBGIJL_proto_rawDesc +) + +func file_Unk2700_PKAPCOBGIJL_proto_rawDescGZIP() []byte { + file_Unk2700_PKAPCOBGIJL_proto_rawDescOnce.Do(func() { + file_Unk2700_PKAPCOBGIJL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PKAPCOBGIJL_proto_rawDescData) + }) + return file_Unk2700_PKAPCOBGIJL_proto_rawDescData +} + +var file_Unk2700_PKAPCOBGIJL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PKAPCOBGIJL_proto_goTypes = []interface{}{ + (*Unk2700_PKAPCOBGIJL)(nil), // 0: Unk2700_PKAPCOBGIJL +} +var file_Unk2700_PKAPCOBGIJL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PKAPCOBGIJL_proto_init() } +func file_Unk2700_PKAPCOBGIJL_proto_init() { + if File_Unk2700_PKAPCOBGIJL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PKAPCOBGIJL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PKAPCOBGIJL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PKAPCOBGIJL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PKAPCOBGIJL_proto_goTypes, + DependencyIndexes: file_Unk2700_PKAPCOBGIJL_proto_depIdxs, + MessageInfos: file_Unk2700_PKAPCOBGIJL_proto_msgTypes, + }.Build() + File_Unk2700_PKAPCOBGIJL_proto = out.File + file_Unk2700_PKAPCOBGIJL_proto_rawDesc = nil + file_Unk2700_PKAPCOBGIJL_proto_goTypes = nil + file_Unk2700_PKAPCOBGIJL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.proto b/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.proto new file mode 100644 index 00000000..11b666ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKAPCOBGIJL.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2700_PKAPCOBGIJL { + uint32 Unk2700_OOJCLILDIHM = 1; + uint32 Unk2700_KDNLGNDLDNM = 10; +} diff --git a/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.pb.go b/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.pb.go new file mode 100644 index 00000000..80ed31dd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PKCLMDHHPFI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8423 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PKCLMDHHPFI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_HHODMCCNGKE []*Unk2700_KIGGOKAEFHM `protobuf:"bytes,8,rep,name=Unk2700_HHODMCCNGKE,json=Unk2700HHODMCCNGKE,proto3" json:"Unk2700_HHODMCCNGKE,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PKCLMDHHPFI) Reset() { + *x = Unk2700_PKCLMDHHPFI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PKCLMDHHPFI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PKCLMDHHPFI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PKCLMDHHPFI) ProtoMessage() {} + +func (x *Unk2700_PKCLMDHHPFI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PKCLMDHHPFI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PKCLMDHHPFI.ProtoReflect.Descriptor instead. +func (*Unk2700_PKCLMDHHPFI) Descriptor() ([]byte, []int) { + return file_Unk2700_PKCLMDHHPFI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PKCLMDHHPFI) GetUnk2700_HHODMCCNGKE() []*Unk2700_KIGGOKAEFHM { + if x != nil { + return x.Unk2700_HHODMCCNGKE + } + return nil +} + +func (x *Unk2700_PKCLMDHHPFI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PKCLMDHHPFI_proto protoreflect.FileDescriptor + +var file_Unk2700_PKCLMDHHPFI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x43, 0x4c, 0x4d, 0x44, + 0x48, 0x48, 0x50, 0x46, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x47, 0x47, 0x4f, 0x4b, 0x41, 0x45, 0x46, 0x48, 0x4d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x50, 0x4b, 0x43, 0x4c, 0x4d, 0x44, 0x48, 0x48, 0x50, 0x46, 0x49, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x4f, 0x44, 0x4d, 0x43, 0x43, + 0x4e, 0x47, 0x4b, 0x45, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x47, 0x47, 0x4f, 0x4b, 0x41, 0x45, 0x46, 0x48, 0x4d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x48, 0x48, 0x4f, 0x44, 0x4d, 0x43, 0x43, + 0x4e, 0x47, 0x4b, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk2700_PKCLMDHHPFI_proto_rawDescOnce sync.Once + file_Unk2700_PKCLMDHHPFI_proto_rawDescData = file_Unk2700_PKCLMDHHPFI_proto_rawDesc +) + +func file_Unk2700_PKCLMDHHPFI_proto_rawDescGZIP() []byte { + file_Unk2700_PKCLMDHHPFI_proto_rawDescOnce.Do(func() { + file_Unk2700_PKCLMDHHPFI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PKCLMDHHPFI_proto_rawDescData) + }) + return file_Unk2700_PKCLMDHHPFI_proto_rawDescData +} + +var file_Unk2700_PKCLMDHHPFI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PKCLMDHHPFI_proto_goTypes = []interface{}{ + (*Unk2700_PKCLMDHHPFI)(nil), // 0: Unk2700_PKCLMDHHPFI + (*Unk2700_KIGGOKAEFHM)(nil), // 1: Unk2700_KIGGOKAEFHM +} +var file_Unk2700_PKCLMDHHPFI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_PKCLMDHHPFI.Unk2700_HHODMCCNGKE:type_name -> Unk2700_KIGGOKAEFHM + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_PKCLMDHHPFI_proto_init() } +func file_Unk2700_PKCLMDHHPFI_proto_init() { + if File_Unk2700_PKCLMDHHPFI_proto != nil { + return + } + file_Unk2700_KIGGOKAEFHM_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_PKCLMDHHPFI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PKCLMDHHPFI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PKCLMDHHPFI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PKCLMDHHPFI_proto_goTypes, + DependencyIndexes: file_Unk2700_PKCLMDHHPFI_proto_depIdxs, + MessageInfos: file_Unk2700_PKCLMDHHPFI_proto_msgTypes, + }.Build() + File_Unk2700_PKCLMDHHPFI_proto = out.File + file_Unk2700_PKCLMDHHPFI_proto_rawDesc = nil + file_Unk2700_PKCLMDHHPFI_proto_goTypes = nil + file_Unk2700_PKCLMDHHPFI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.proto b/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.proto new file mode 100644 index 00000000..1464c69c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKCLMDHHPFI.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_KIGGOKAEFHM.proto"; + +option go_package = "./;proto"; + +// CmdId: 8423 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PKCLMDHHPFI { + repeated Unk2700_KIGGOKAEFHM Unk2700_HHODMCCNGKE = 8; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.pb.go b/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.pb.go new file mode 100644 index 00000000..cd82913f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PKKJEOFNLCF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8983 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PKKJEOFNLCF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_CKGJEOOKFIF uint32 `protobuf:"varint,8,opt,name=Unk2700_CKGJEOOKFIF,json=Unk2700CKGJEOOKFIF,proto3" json:"Unk2700_CKGJEOOKFIF,omitempty"` +} + +func (x *Unk2700_PKKJEOFNLCF) Reset() { + *x = Unk2700_PKKJEOFNLCF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PKKJEOFNLCF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PKKJEOFNLCF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PKKJEOFNLCF) ProtoMessage() {} + +func (x *Unk2700_PKKJEOFNLCF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PKKJEOFNLCF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PKKJEOFNLCF.ProtoReflect.Descriptor instead. +func (*Unk2700_PKKJEOFNLCF) Descriptor() ([]byte, []int) { + return file_Unk2700_PKKJEOFNLCF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PKKJEOFNLCF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_PKKJEOFNLCF) GetUnk2700_CKGJEOOKFIF() uint32 { + if x != nil { + return x.Unk2700_CKGJEOOKFIF + } + return 0 +} + +var File_Unk2700_PKKJEOFNLCF_proto protoreflect.FileDescriptor + +var file_Unk2700_PKKJEOFNLCF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x4b, 0x4a, 0x45, 0x4f, + 0x46, 0x4e, 0x4c, 0x43, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x4b, 0x4a, 0x45, 0x4f, 0x46, 0x4e, 0x4c, + 0x43, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, + 0x46, 0x49, 0x46, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x43, 0x4b, 0x47, 0x4a, 0x45, 0x4f, 0x4f, 0x4b, 0x46, 0x49, 0x46, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2700_PKKJEOFNLCF_proto_rawDescOnce sync.Once + file_Unk2700_PKKJEOFNLCF_proto_rawDescData = file_Unk2700_PKKJEOFNLCF_proto_rawDesc +) + +func file_Unk2700_PKKJEOFNLCF_proto_rawDescGZIP() []byte { + file_Unk2700_PKKJEOFNLCF_proto_rawDescOnce.Do(func() { + file_Unk2700_PKKJEOFNLCF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PKKJEOFNLCF_proto_rawDescData) + }) + return file_Unk2700_PKKJEOFNLCF_proto_rawDescData +} + +var file_Unk2700_PKKJEOFNLCF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PKKJEOFNLCF_proto_goTypes = []interface{}{ + (*Unk2700_PKKJEOFNLCF)(nil), // 0: Unk2700_PKKJEOFNLCF +} +var file_Unk2700_PKKJEOFNLCF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PKKJEOFNLCF_proto_init() } +func file_Unk2700_PKKJEOFNLCF_proto_init() { + if File_Unk2700_PKKJEOFNLCF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PKKJEOFNLCF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PKKJEOFNLCF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PKKJEOFNLCF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PKKJEOFNLCF_proto_goTypes, + DependencyIndexes: file_Unk2700_PKKJEOFNLCF_proto_depIdxs, + MessageInfos: file_Unk2700_PKKJEOFNLCF_proto_msgTypes, + }.Build() + File_Unk2700_PKKJEOFNLCF_proto = out.File + file_Unk2700_PKKJEOFNLCF_proto_rawDesc = nil + file_Unk2700_PKKJEOFNLCF_proto_goTypes = nil + file_Unk2700_PKKJEOFNLCF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.proto b/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.proto new file mode 100644 index 00000000..04574d7f --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PKKJEOFNLCF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8983 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PKKJEOFNLCF { + int32 retcode = 3; + uint32 Unk2700_CKGJEOOKFIF = 8; +} diff --git a/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.pb.go b/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.pb.go new file mode 100644 index 00000000..1fe64106 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PMKNJBJPLBH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8385 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PMKNJBJPLBH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2700_BBGHICEDLBB []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,13,rep,name=Unk2700_BBGHICEDLBB,json=Unk2700BBGHICEDLBB,proto3" json:"Unk2700_BBGHICEDLBB,omitempty"` + Unk2700_GGNBBHMGLAN []uint32 `protobuf:"varint,12,rep,packed,name=Unk2700_GGNBBHMGLAN,json=Unk2700GGNBBHMGLAN,proto3" json:"Unk2700_GGNBBHMGLAN,omitempty"` + AvatarList []*Unk2700_HJLFNKLPFBH `protobuf:"bytes,9,rep,name=avatar_list,json=avatarList,proto3" json:"avatar_list,omitempty"` +} + +func (x *Unk2700_PMKNJBJPLBH) Reset() { + *x = Unk2700_PMKNJBJPLBH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PMKNJBJPLBH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PMKNJBJPLBH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PMKNJBJPLBH) ProtoMessage() {} + +func (x *Unk2700_PMKNJBJPLBH) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PMKNJBJPLBH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PMKNJBJPLBH.ProtoReflect.Descriptor instead. +func (*Unk2700_PMKNJBJPLBH) Descriptor() ([]byte, []int) { + return file_Unk2700_PMKNJBJPLBH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PMKNJBJPLBH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2700_PMKNJBJPLBH) GetUnk2700_BBGHICEDLBB() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.Unk2700_BBGHICEDLBB + } + return nil +} + +func (x *Unk2700_PMKNJBJPLBH) GetUnk2700_GGNBBHMGLAN() []uint32 { + if x != nil { + return x.Unk2700_GGNBBHMGLAN + } + return nil +} + +func (x *Unk2700_PMKNJBJPLBH) GetAvatarList() []*Unk2700_HJLFNKLPFBH { + if x != nil { + return x.AvatarList + } + return nil +} + +var File_Unk2700_PMKNJBJPLBH_proto protoreflect.FileDescriptor + +var file_Unk2700_PMKNJBJPLBH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x4d, 0x4b, 0x4e, 0x4a, 0x42, + 0x4a, 0x50, 0x4c, 0x42, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x50, 0x4d, 0x4b, 0x4e, 0x4a, 0x42, 0x4a, 0x50, 0x4c, 0x42, 0x48, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x47, 0x48, 0x49, 0x43, 0x45, 0x44, 0x4c, 0x42, 0x42, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x42, 0x42, 0x47, 0x48, 0x49, 0x43, 0x45, 0x44, 0x4c, 0x42, 0x42, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x47, 0x4e, 0x42, 0x42, + 0x48, 0x4d, 0x47, 0x4c, 0x41, 0x4e, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x47, 0x47, 0x4e, 0x42, 0x42, 0x48, 0x4d, 0x47, 0x4c, 0x41, 0x4e, + 0x12, 0x35, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, + 0x48, 0x4a, 0x4c, 0x46, 0x4e, 0x4b, 0x4c, 0x50, 0x46, 0x42, 0x48, 0x52, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PMKNJBJPLBH_proto_rawDescOnce sync.Once + file_Unk2700_PMKNJBJPLBH_proto_rawDescData = file_Unk2700_PMKNJBJPLBH_proto_rawDesc +) + +func file_Unk2700_PMKNJBJPLBH_proto_rawDescGZIP() []byte { + file_Unk2700_PMKNJBJPLBH_proto_rawDescOnce.Do(func() { + file_Unk2700_PMKNJBJPLBH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PMKNJBJPLBH_proto_rawDescData) + }) + return file_Unk2700_PMKNJBJPLBH_proto_rawDescData +} + +var file_Unk2700_PMKNJBJPLBH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PMKNJBJPLBH_proto_goTypes = []interface{}{ + (*Unk2700_PMKNJBJPLBH)(nil), // 0: Unk2700_PMKNJBJPLBH + (*Unk2700_HJLFNKLPFBH)(nil), // 1: Unk2700_HJLFNKLPFBH +} +var file_Unk2700_PMKNJBJPLBH_proto_depIdxs = []int32{ + 1, // 0: Unk2700_PMKNJBJPLBH.Unk2700_BBGHICEDLBB:type_name -> Unk2700_HJLFNKLPFBH + 1, // 1: Unk2700_PMKNJBJPLBH.avatar_list:type_name -> Unk2700_HJLFNKLPFBH + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2700_PMKNJBJPLBH_proto_init() } +func file_Unk2700_PMKNJBJPLBH_proto_init() { + if File_Unk2700_PMKNJBJPLBH_proto != nil { + return + } + file_Unk2700_HJLFNKLPFBH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_PMKNJBJPLBH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PMKNJBJPLBH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PMKNJBJPLBH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PMKNJBJPLBH_proto_goTypes, + DependencyIndexes: file_Unk2700_PMKNJBJPLBH_proto_depIdxs, + MessageInfos: file_Unk2700_PMKNJBJPLBH_proto_msgTypes, + }.Build() + File_Unk2700_PMKNJBJPLBH_proto = out.File + file_Unk2700_PMKNJBJPLBH_proto_rawDesc = nil + file_Unk2700_PMKNJBJPLBH_proto_goTypes = nil + file_Unk2700_PMKNJBJPLBH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.proto b/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.proto new file mode 100644 index 00000000..9dcb7c0b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PMKNJBJPLBH.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_HJLFNKLPFBH.proto"; + +option go_package = "./;proto"; + +// CmdId: 8385 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PMKNJBJPLBH { + int32 retcode = 11; + repeated Unk2700_HJLFNKLPFBH Unk2700_BBGHICEDLBB = 13; + repeated uint32 Unk2700_GGNBBHMGLAN = 12; + repeated Unk2700_HJLFNKLPFBH avatar_list = 9; +} diff --git a/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.pb.go b/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.pb.go new file mode 100644 index 00000000..46b7a23a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PPBALCAKIBD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8273 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2700_PPBALCAKIBD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2700_PPBALCAKIBD) Reset() { + *x = Unk2700_PPBALCAKIBD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PPBALCAKIBD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PPBALCAKIBD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PPBALCAKIBD) ProtoMessage() {} + +func (x *Unk2700_PPBALCAKIBD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PPBALCAKIBD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PPBALCAKIBD.ProtoReflect.Descriptor instead. +func (*Unk2700_PPBALCAKIBD) Descriptor() ([]byte, []int) { + return file_Unk2700_PPBALCAKIBD_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2700_PPBALCAKIBD_proto protoreflect.FileDescriptor + +var file_Unk2700_PPBALCAKIBD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x42, 0x41, 0x4c, 0x43, + 0x41, 0x4b, 0x49, 0x42, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x42, 0x41, 0x4c, 0x43, 0x41, 0x4b, 0x49, + 0x42, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PPBALCAKIBD_proto_rawDescOnce sync.Once + file_Unk2700_PPBALCAKIBD_proto_rawDescData = file_Unk2700_PPBALCAKIBD_proto_rawDesc +) + +func file_Unk2700_PPBALCAKIBD_proto_rawDescGZIP() []byte { + file_Unk2700_PPBALCAKIBD_proto_rawDescOnce.Do(func() { + file_Unk2700_PPBALCAKIBD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PPBALCAKIBD_proto_rawDescData) + }) + return file_Unk2700_PPBALCAKIBD_proto_rawDescData +} + +var file_Unk2700_PPBALCAKIBD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PPBALCAKIBD_proto_goTypes = []interface{}{ + (*Unk2700_PPBALCAKIBD)(nil), // 0: Unk2700_PPBALCAKIBD +} +var file_Unk2700_PPBALCAKIBD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PPBALCAKIBD_proto_init() } +func file_Unk2700_PPBALCAKIBD_proto_init() { + if File_Unk2700_PPBALCAKIBD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PPBALCAKIBD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PPBALCAKIBD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PPBALCAKIBD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PPBALCAKIBD_proto_goTypes, + DependencyIndexes: file_Unk2700_PPBALCAKIBD_proto_depIdxs, + MessageInfos: file_Unk2700_PPBALCAKIBD_proto_msgTypes, + }.Build() + File_Unk2700_PPBALCAKIBD_proto = out.File + file_Unk2700_PPBALCAKIBD_proto_rawDesc = nil + file_Unk2700_PPBALCAKIBD_proto_goTypes = nil + file_Unk2700_PPBALCAKIBD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.proto b/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.proto new file mode 100644 index 00000000..4ae11ef4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPBALCAKIBD.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8273 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2700_PPBALCAKIBD {} diff --git a/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.pb.go b/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.pb.go new file mode 100644 index 00000000..10fa6ce5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PPIBANCGGNI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2700_PPIBANCGGNI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,7,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` +} + +func (x *Unk2700_PPIBANCGGNI) Reset() { + *x = Unk2700_PPIBANCGGNI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PPIBANCGGNI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PPIBANCGGNI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PPIBANCGGNI) ProtoMessage() {} + +func (x *Unk2700_PPIBANCGGNI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PPIBANCGGNI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PPIBANCGGNI.ProtoReflect.Descriptor instead. +func (*Unk2700_PPIBANCGGNI) Descriptor() ([]byte, []int) { + return file_Unk2700_PPIBANCGGNI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PPIBANCGGNI) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +var File_Unk2700_PPIBANCGGNI_proto protoreflect.FileDescriptor + +var file_Unk2700_PPIBANCGGNI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x49, 0x42, 0x41, 0x4e, + 0x43, 0x47, 0x47, 0x4e, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x50, 0x50, 0x49, 0x42, 0x41, 0x4e, 0x43, 0x47, 0x47, 0x4e, 0x49, 0x12, 0x2c, 0x0a, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, + 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PPIBANCGGNI_proto_rawDescOnce sync.Once + file_Unk2700_PPIBANCGGNI_proto_rawDescData = file_Unk2700_PPIBANCGGNI_proto_rawDesc +) + +func file_Unk2700_PPIBANCGGNI_proto_rawDescGZIP() []byte { + file_Unk2700_PPIBANCGGNI_proto_rawDescOnce.Do(func() { + file_Unk2700_PPIBANCGGNI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PPIBANCGGNI_proto_rawDescData) + }) + return file_Unk2700_PPIBANCGGNI_proto_rawDescData +} + +var file_Unk2700_PPIBANCGGNI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PPIBANCGGNI_proto_goTypes = []interface{}{ + (*Unk2700_PPIBANCGGNI)(nil), // 0: Unk2700_PPIBANCGGNI + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2700_PPIBANCGGNI_proto_depIdxs = []int32{ + 1, // 0: Unk2700_PPIBANCGGNI.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2700_PPIBANCGGNI_proto_init() } +func file_Unk2700_PPIBANCGGNI_proto_init() { + if File_Unk2700_PPIBANCGGNI_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2700_PPIBANCGGNI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PPIBANCGGNI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PPIBANCGGNI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PPIBANCGGNI_proto_goTypes, + DependencyIndexes: file_Unk2700_PPIBANCGGNI_proto_depIdxs, + MessageInfos: file_Unk2700_PPIBANCGGNI_proto_msgTypes, + }.Build() + File_Unk2700_PPIBANCGGNI_proto = out.File + file_Unk2700_PPIBANCGGNI_proto_rawDesc = nil + file_Unk2700_PPIBANCGGNI_proto_goTypes = nil + file_Unk2700_PPIBANCGGNI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.proto b/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.proto new file mode 100644 index 00000000..98b970e4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPIBANCGGNI.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2700_PPIBANCGGNI { + Unk2700_MOFABPNGIKP reason = 7; +} diff --git a/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.pb.go b/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.pb.go new file mode 100644 index 00000000..5780bbec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2700_PPOGMFAKBMK_ServerRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6219 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2700_PPOGMFAKBMK_ServerRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2700_PPOGMFAKBMK_ServerRsp) Reset() { + *x = Unk2700_PPOGMFAKBMK_ServerRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2700_PPOGMFAKBMK_ServerRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2700_PPOGMFAKBMK_ServerRsp) ProtoMessage() {} + +func (x *Unk2700_PPOGMFAKBMK_ServerRsp) ProtoReflect() protoreflect.Message { + mi := &file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2700_PPOGMFAKBMK_ServerRsp.ProtoReflect.Descriptor instead. +func (*Unk2700_PPOGMFAKBMK_ServerRsp) Descriptor() ([]byte, []int) { + return file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2700_PPOGMFAKBMK_ServerRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2700_PPOGMFAKBMK_ServerRsp_proto protoreflect.FileDescriptor + +var file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x4f, 0x47, 0x4d, 0x46, + 0x41, 0x4b, 0x42, 0x4d, 0x4b, 0x5f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1d, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x50, 0x50, 0x4f, 0x47, 0x4d, 0x46, 0x41, 0x4b, 0x42, 0x4d, 0x4b, 0x5f, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescOnce sync.Once + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescData = file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDesc +) + +func file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescGZIP() []byte { + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescOnce.Do(func() { + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescData) + }) + return file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDescData +} + +var file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_goTypes = []interface{}{ + (*Unk2700_PPOGMFAKBMK_ServerRsp)(nil), // 0: Unk2700_PPOGMFAKBMK_ServerRsp +} +var file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_init() } +func file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_init() { + if File_Unk2700_PPOGMFAKBMK_ServerRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2700_PPOGMFAKBMK_ServerRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_goTypes, + DependencyIndexes: file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_depIdxs, + MessageInfos: file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_msgTypes, + }.Build() + File_Unk2700_PPOGMFAKBMK_ServerRsp_proto = out.File + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_rawDesc = nil + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_goTypes = nil + file_Unk2700_PPOGMFAKBMK_ServerRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.proto b/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.proto new file mode 100644 index 00000000..0db61b13 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2700_PPOGMFAKBMK_ServerRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6219 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2700_PPOGMFAKBMK_ServerRsp { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.pb.go b/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.pb.go new file mode 100644 index 00000000..1eb0b682 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_ACHELBEEBIP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21800 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_ACHELBEEBIP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsSuccess bool `protobuf:"varint,15,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + LevelId uint32 `protobuf:"varint,3,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2800_ACHELBEEBIP) Reset() { + *x = Unk2800_ACHELBEEBIP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_ACHELBEEBIP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_ACHELBEEBIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_ACHELBEEBIP) ProtoMessage() {} + +func (x *Unk2800_ACHELBEEBIP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_ACHELBEEBIP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_ACHELBEEBIP.ProtoReflect.Descriptor instead. +func (*Unk2800_ACHELBEEBIP) Descriptor() ([]byte, []int) { + return file_Unk2800_ACHELBEEBIP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_ACHELBEEBIP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2800_ACHELBEEBIP) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk2800_ACHELBEEBIP) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2800_ACHELBEEBIP_proto protoreflect.FileDescriptor + +var file_Unk2800_ACHELBEEBIP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x43, 0x48, 0x45, 0x4c, 0x42, + 0x45, 0x45, 0x42, 0x49, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x43, 0x48, 0x45, 0x4c, 0x42, 0x45, 0x45, 0x42, + 0x49, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_ACHELBEEBIP_proto_rawDescOnce sync.Once + file_Unk2800_ACHELBEEBIP_proto_rawDescData = file_Unk2800_ACHELBEEBIP_proto_rawDesc +) + +func file_Unk2800_ACHELBEEBIP_proto_rawDescGZIP() []byte { + file_Unk2800_ACHELBEEBIP_proto_rawDescOnce.Do(func() { + file_Unk2800_ACHELBEEBIP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_ACHELBEEBIP_proto_rawDescData) + }) + return file_Unk2800_ACHELBEEBIP_proto_rawDescData +} + +var file_Unk2800_ACHELBEEBIP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_ACHELBEEBIP_proto_goTypes = []interface{}{ + (*Unk2800_ACHELBEEBIP)(nil), // 0: Unk2800_ACHELBEEBIP +} +var file_Unk2800_ACHELBEEBIP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_ACHELBEEBIP_proto_init() } +func file_Unk2800_ACHELBEEBIP_proto_init() { + if File_Unk2800_ACHELBEEBIP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_ACHELBEEBIP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_ACHELBEEBIP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_ACHELBEEBIP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_ACHELBEEBIP_proto_goTypes, + DependencyIndexes: file_Unk2800_ACHELBEEBIP_proto_depIdxs, + MessageInfos: file_Unk2800_ACHELBEEBIP_proto_msgTypes, + }.Build() + File_Unk2800_ACHELBEEBIP_proto = out.File + file_Unk2800_ACHELBEEBIP_proto_rawDesc = nil + file_Unk2800_ACHELBEEBIP_proto_goTypes = nil + file_Unk2800_ACHELBEEBIP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.proto b/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.proto new file mode 100644 index 00000000..3f124127 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ACHELBEEBIP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21800 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_ACHELBEEBIP { + int32 retcode = 2; + bool is_success = 15; + uint32 level_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.pb.go b/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.pb.go new file mode 100644 index 00000000..67b94bb0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_ANGFAFEJBAE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 846 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_ANGFAFEJBAE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_ANGFAFEJBAE) Reset() { + *x = Unk2800_ANGFAFEJBAE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_ANGFAFEJBAE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_ANGFAFEJBAE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_ANGFAFEJBAE) ProtoMessage() {} + +func (x *Unk2800_ANGFAFEJBAE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_ANGFAFEJBAE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_ANGFAFEJBAE.ProtoReflect.Descriptor instead. +func (*Unk2800_ANGFAFEJBAE) Descriptor() ([]byte, []int) { + return file_Unk2800_ANGFAFEJBAE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_ANGFAFEJBAE) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_ANGFAFEJBAE_proto protoreflect.FileDescriptor + +var file_Unk2800_ANGFAFEJBAE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x47, 0x46, 0x41, 0x46, + 0x45, 0x4a, 0x42, 0x41, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x4e, 0x47, 0x46, 0x41, 0x46, 0x45, 0x4a, 0x42, + 0x41, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_ANGFAFEJBAE_proto_rawDescOnce sync.Once + file_Unk2800_ANGFAFEJBAE_proto_rawDescData = file_Unk2800_ANGFAFEJBAE_proto_rawDesc +) + +func file_Unk2800_ANGFAFEJBAE_proto_rawDescGZIP() []byte { + file_Unk2800_ANGFAFEJBAE_proto_rawDescOnce.Do(func() { + file_Unk2800_ANGFAFEJBAE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_ANGFAFEJBAE_proto_rawDescData) + }) + return file_Unk2800_ANGFAFEJBAE_proto_rawDescData +} + +var file_Unk2800_ANGFAFEJBAE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_ANGFAFEJBAE_proto_goTypes = []interface{}{ + (*Unk2800_ANGFAFEJBAE)(nil), // 0: Unk2800_ANGFAFEJBAE +} +var file_Unk2800_ANGFAFEJBAE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_ANGFAFEJBAE_proto_init() } +func file_Unk2800_ANGFAFEJBAE_proto_init() { + if File_Unk2800_ANGFAFEJBAE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_ANGFAFEJBAE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_ANGFAFEJBAE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_ANGFAFEJBAE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_ANGFAFEJBAE_proto_goTypes, + DependencyIndexes: file_Unk2800_ANGFAFEJBAE_proto_depIdxs, + MessageInfos: file_Unk2800_ANGFAFEJBAE_proto_msgTypes, + }.Build() + File_Unk2800_ANGFAFEJBAE_proto = out.File + file_Unk2800_ANGFAFEJBAE_proto_rawDesc = nil + file_Unk2800_ANGFAFEJBAE_proto_goTypes = nil + file_Unk2800_ANGFAFEJBAE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.proto b/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.proto new file mode 100644 index 00000000..7cd16b30 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ANGFAFEJBAE.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 846 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_ANGFAFEJBAE { + int32 retcode = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.pb.go b/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.pb.go new file mode 100644 index 00000000..23ec654d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_BDAPFODFMNE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24550 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_BDAPFODFMNE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2800_BDAPFODFMNE) Reset() { + *x = Unk2800_BDAPFODFMNE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_BDAPFODFMNE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_BDAPFODFMNE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_BDAPFODFMNE) ProtoMessage() {} + +func (x *Unk2800_BDAPFODFMNE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_BDAPFODFMNE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_BDAPFODFMNE.ProtoReflect.Descriptor instead. +func (*Unk2800_BDAPFODFMNE) Descriptor() ([]byte, []int) { + return file_Unk2800_BDAPFODFMNE_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_BDAPFODFMNE_proto protoreflect.FileDescriptor + +var file_Unk2800_BDAPFODFMNE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x44, 0x41, 0x50, 0x46, 0x4f, + 0x44, 0x46, 0x4d, 0x4e, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x44, 0x41, 0x50, 0x46, 0x4f, 0x44, 0x46, 0x4d, + 0x4e, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_BDAPFODFMNE_proto_rawDescOnce sync.Once + file_Unk2800_BDAPFODFMNE_proto_rawDescData = file_Unk2800_BDAPFODFMNE_proto_rawDesc +) + +func file_Unk2800_BDAPFODFMNE_proto_rawDescGZIP() []byte { + file_Unk2800_BDAPFODFMNE_proto_rawDescOnce.Do(func() { + file_Unk2800_BDAPFODFMNE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_BDAPFODFMNE_proto_rawDescData) + }) + return file_Unk2800_BDAPFODFMNE_proto_rawDescData +} + +var file_Unk2800_BDAPFODFMNE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_BDAPFODFMNE_proto_goTypes = []interface{}{ + (*Unk2800_BDAPFODFMNE)(nil), // 0: Unk2800_BDAPFODFMNE +} +var file_Unk2800_BDAPFODFMNE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_BDAPFODFMNE_proto_init() } +func file_Unk2800_BDAPFODFMNE_proto_init() { + if File_Unk2800_BDAPFODFMNE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_BDAPFODFMNE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_BDAPFODFMNE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_BDAPFODFMNE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_BDAPFODFMNE_proto_goTypes, + DependencyIndexes: file_Unk2800_BDAPFODFMNE_proto_depIdxs, + MessageInfos: file_Unk2800_BDAPFODFMNE_proto_msgTypes, + }.Build() + File_Unk2800_BDAPFODFMNE_proto = out.File + file_Unk2800_BDAPFODFMNE_proto_rawDesc = nil + file_Unk2800_BDAPFODFMNE_proto_goTypes = nil + file_Unk2800_BDAPFODFMNE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.proto b/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.proto new file mode 100644 index 00000000..8c200f8a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BDAPFODFMNE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 24550 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_BDAPFODFMNE {} diff --git a/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.pb.go b/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.pb.go new file mode 100644 index 00000000..bce2382d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_BEMANDBNPJB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_BEMANDBNPJB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerInfo *OnlinePlayerInfo `protobuf:"bytes,13,opt,name=player_info,json=playerInfo,proto3" json:"player_info,omitempty"` + CardList []*ExhibitionDisplayInfo `protobuf:"bytes,11,rep,name=card_list,json=cardList,proto3" json:"card_list,omitempty"` +} + +func (x *Unk2800_BEMANDBNPJB) Reset() { + *x = Unk2800_BEMANDBNPJB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_BEMANDBNPJB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_BEMANDBNPJB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_BEMANDBNPJB) ProtoMessage() {} + +func (x *Unk2800_BEMANDBNPJB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_BEMANDBNPJB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_BEMANDBNPJB.ProtoReflect.Descriptor instead. +func (*Unk2800_BEMANDBNPJB) Descriptor() ([]byte, []int) { + return file_Unk2800_BEMANDBNPJB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_BEMANDBNPJB) GetPlayerInfo() *OnlinePlayerInfo { + if x != nil { + return x.PlayerInfo + } + return nil +} + +func (x *Unk2800_BEMANDBNPJB) GetCardList() []*ExhibitionDisplayInfo { + if x != nil { + return x.CardList + } + return nil +} + +var File_Unk2800_BEMANDBNPJB_proto protoreflect.FileDescriptor + +var file_Unk2800_BEMANDBNPJB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4d, 0x41, 0x4e, 0x44, + 0x42, 0x4e, 0x50, 0x4a, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, 0x78, 0x68, + 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x7e, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4d, 0x41, + 0x4e, 0x44, 0x42, 0x4e, 0x50, 0x4a, 0x42, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, + 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x09, 0x63, + 0x61, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x45, 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_BEMANDBNPJB_proto_rawDescOnce sync.Once + file_Unk2800_BEMANDBNPJB_proto_rawDescData = file_Unk2800_BEMANDBNPJB_proto_rawDesc +) + +func file_Unk2800_BEMANDBNPJB_proto_rawDescGZIP() []byte { + file_Unk2800_BEMANDBNPJB_proto_rawDescOnce.Do(func() { + file_Unk2800_BEMANDBNPJB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_BEMANDBNPJB_proto_rawDescData) + }) + return file_Unk2800_BEMANDBNPJB_proto_rawDescData +} + +var file_Unk2800_BEMANDBNPJB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_BEMANDBNPJB_proto_goTypes = []interface{}{ + (*Unk2800_BEMANDBNPJB)(nil), // 0: Unk2800_BEMANDBNPJB + (*OnlinePlayerInfo)(nil), // 1: OnlinePlayerInfo + (*ExhibitionDisplayInfo)(nil), // 2: ExhibitionDisplayInfo +} +var file_Unk2800_BEMANDBNPJB_proto_depIdxs = []int32{ + 1, // 0: Unk2800_BEMANDBNPJB.player_info:type_name -> OnlinePlayerInfo + 2, // 1: Unk2800_BEMANDBNPJB.card_list:type_name -> ExhibitionDisplayInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk2800_BEMANDBNPJB_proto_init() } +func file_Unk2800_BEMANDBNPJB_proto_init() { + if File_Unk2800_BEMANDBNPJB_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_OnlinePlayerInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_BEMANDBNPJB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_BEMANDBNPJB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_BEMANDBNPJB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_BEMANDBNPJB_proto_goTypes, + DependencyIndexes: file_Unk2800_BEMANDBNPJB_proto_depIdxs, + MessageInfos: file_Unk2800_BEMANDBNPJB_proto_msgTypes, + }.Build() + File_Unk2800_BEMANDBNPJB_proto = out.File + file_Unk2800_BEMANDBNPJB_proto_rawDesc = nil + file_Unk2800_BEMANDBNPJB_proto_goTypes = nil + file_Unk2800_BEMANDBNPJB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.proto b/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.proto new file mode 100644 index 00000000..8d7ccc88 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BEMANDBNPJB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "OnlinePlayerInfo.proto"; + +option go_package = "./;proto"; + +message Unk2800_BEMANDBNPJB { + OnlinePlayerInfo player_info = 13; + repeated ExhibitionDisplayInfo card_list = 11; +} diff --git a/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.pb.go b/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.pb.go new file mode 100644 index 00000000..4e239bb3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_BOFEHJBJELJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8574 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_BOFEHJBJELJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_BOFEHJBJELJ) Reset() { + *x = Unk2800_BOFEHJBJELJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_BOFEHJBJELJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_BOFEHJBJELJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_BOFEHJBJELJ) ProtoMessage() {} + +func (x *Unk2800_BOFEHJBJELJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_BOFEHJBJELJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_BOFEHJBJELJ.ProtoReflect.Descriptor instead. +func (*Unk2800_BOFEHJBJELJ) Descriptor() ([]byte, []int) { + return file_Unk2800_BOFEHJBJELJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_BOFEHJBJELJ) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_BOFEHJBJELJ_proto protoreflect.FileDescriptor + +var file_Unk2800_BOFEHJBJELJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x46, 0x45, 0x48, 0x4a, + 0x42, 0x4a, 0x45, 0x4c, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x46, 0x45, 0x48, 0x4a, 0x42, 0x4a, 0x45, + 0x4c, 0x4a, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_BOFEHJBJELJ_proto_rawDescOnce sync.Once + file_Unk2800_BOFEHJBJELJ_proto_rawDescData = file_Unk2800_BOFEHJBJELJ_proto_rawDesc +) + +func file_Unk2800_BOFEHJBJELJ_proto_rawDescGZIP() []byte { + file_Unk2800_BOFEHJBJELJ_proto_rawDescOnce.Do(func() { + file_Unk2800_BOFEHJBJELJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_BOFEHJBJELJ_proto_rawDescData) + }) + return file_Unk2800_BOFEHJBJELJ_proto_rawDescData +} + +var file_Unk2800_BOFEHJBJELJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_BOFEHJBJELJ_proto_goTypes = []interface{}{ + (*Unk2800_BOFEHJBJELJ)(nil), // 0: Unk2800_BOFEHJBJELJ +} +var file_Unk2800_BOFEHJBJELJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_BOFEHJBJELJ_proto_init() } +func file_Unk2800_BOFEHJBJELJ_proto_init() { + if File_Unk2800_BOFEHJBJELJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_BOFEHJBJELJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_BOFEHJBJELJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_BOFEHJBJELJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_BOFEHJBJELJ_proto_goTypes, + DependencyIndexes: file_Unk2800_BOFEHJBJELJ_proto_depIdxs, + MessageInfos: file_Unk2800_BOFEHJBJELJ_proto_msgTypes, + }.Build() + File_Unk2800_BOFEHJBJELJ_proto = out.File + file_Unk2800_BOFEHJBJELJ_proto_rawDesc = nil + file_Unk2800_BOFEHJBJELJ_proto_goTypes = nil + file_Unk2800_BOFEHJBJELJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.proto b/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.proto new file mode 100644 index 00000000..13fbfe0e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BOFEHJBJELJ.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8574 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_BOFEHJBJELJ { + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.pb.go b/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.pb.go new file mode 100644 index 00000000..efd41ec8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_BPOJIIDEADD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_BPOJIIDEADD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_MMPELBBNFOD uint32 `protobuf:"varint,8,opt,name=Unk2800_MMPELBBNFOD,json=Unk2800MMPELBBNFOD,proto3" json:"Unk2800_MMPELBBNFOD,omitempty"` + OpenTime uint32 `protobuf:"varint,11,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + Unk2800_MGPEODNKEEC uint32 `protobuf:"varint,5,opt,name=Unk2800_MGPEODNKEEC,json=Unk2800MGPEODNKEEC,proto3" json:"Unk2800_MGPEODNKEEC,omitempty"` + LevelId uint32 `protobuf:"varint,12,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + IsFinished bool `protobuf:"varint,9,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + IsOpen bool `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *Unk2800_BPOJIIDEADD) Reset() { + *x = Unk2800_BPOJIIDEADD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_BPOJIIDEADD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_BPOJIIDEADD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_BPOJIIDEADD) ProtoMessage() {} + +func (x *Unk2800_BPOJIIDEADD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_BPOJIIDEADD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_BPOJIIDEADD.ProtoReflect.Descriptor instead. +func (*Unk2800_BPOJIIDEADD) Descriptor() ([]byte, []int) { + return file_Unk2800_BPOJIIDEADD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_BPOJIIDEADD) GetUnk2800_MMPELBBNFOD() uint32 { + if x != nil { + return x.Unk2800_MMPELBBNFOD + } + return 0 +} + +func (x *Unk2800_BPOJIIDEADD) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2800_BPOJIIDEADD) GetUnk2800_MGPEODNKEEC() uint32 { + if x != nil { + return x.Unk2800_MGPEODNKEEC + } + return 0 +} + +func (x *Unk2800_BPOJIIDEADD) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2800_BPOJIIDEADD) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk2800_BPOJIIDEADD) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_Unk2800_BPOJIIDEADD_proto protoreflect.FileDescriptor + +var file_Unk2800_BPOJIIDEADD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4f, 0x4a, 0x49, 0x49, + 0x44, 0x45, 0x41, 0x44, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x50, 0x4f, 0x4a, 0x49, 0x49, 0x44, 0x45, + 0x41, 0x44, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, + 0x4d, 0x50, 0x45, 0x4c, 0x42, 0x42, 0x4e, 0x46, 0x4f, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4d, 0x4d, 0x50, 0x45, 0x4c, 0x42, 0x42, + 0x4e, 0x46, 0x4f, 0x44, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x47, 0x50, + 0x45, 0x4f, 0x44, 0x4e, 0x4b, 0x45, 0x45, 0x43, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4d, 0x47, 0x50, 0x45, 0x4f, 0x44, 0x4e, 0x4b, 0x45, + 0x45, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_BPOJIIDEADD_proto_rawDescOnce sync.Once + file_Unk2800_BPOJIIDEADD_proto_rawDescData = file_Unk2800_BPOJIIDEADD_proto_rawDesc +) + +func file_Unk2800_BPOJIIDEADD_proto_rawDescGZIP() []byte { + file_Unk2800_BPOJIIDEADD_proto_rawDescOnce.Do(func() { + file_Unk2800_BPOJIIDEADD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_BPOJIIDEADD_proto_rawDescData) + }) + return file_Unk2800_BPOJIIDEADD_proto_rawDescData +} + +var file_Unk2800_BPOJIIDEADD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_BPOJIIDEADD_proto_goTypes = []interface{}{ + (*Unk2800_BPOJIIDEADD)(nil), // 0: Unk2800_BPOJIIDEADD +} +var file_Unk2800_BPOJIIDEADD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_BPOJIIDEADD_proto_init() } +func file_Unk2800_BPOJIIDEADD_proto_init() { + if File_Unk2800_BPOJIIDEADD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_BPOJIIDEADD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_BPOJIIDEADD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_BPOJIIDEADD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_BPOJIIDEADD_proto_goTypes, + DependencyIndexes: file_Unk2800_BPOJIIDEADD_proto_depIdxs, + MessageInfos: file_Unk2800_BPOJIIDEADD_proto_msgTypes, + }.Build() + File_Unk2800_BPOJIIDEADD_proto = out.File + file_Unk2800_BPOJIIDEADD_proto_rawDesc = nil + file_Unk2800_BPOJIIDEADD_proto_goTypes = nil + file_Unk2800_BPOJIIDEADD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.proto b/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.proto new file mode 100644 index 00000000..182021b2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_BPOJIIDEADD.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_BPOJIIDEADD { + uint32 Unk2800_MMPELBBNFOD = 8; + uint32 open_time = 11; + uint32 Unk2800_MGPEODNKEEC = 5; + uint32 level_id = 12; + bool is_finished = 9; + bool is_open = 3; +} diff --git a/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.pb.go b/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.pb.go new file mode 100644 index 00000000..5af30a31 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_CEAECGGBOKL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_CEAECGGBOKL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_KDLIIGEGDDH uint32 `protobuf:"varint,15,opt,name=Unk2800_KDLIIGEGDDH,json=Unk2800KDLIIGEGDDH,proto3" json:"Unk2800_KDLIIGEGDDH,omitempty"` + Unk2800_ENMCNIPGGIA uint32 `protobuf:"varint,12,opt,name=Unk2800_ENMCNIPGGIA,json=Unk2800ENMCNIPGGIA,proto3" json:"Unk2800_ENMCNIPGGIA,omitempty"` + Unk2800_DEIGAGPAJGK uint32 `protobuf:"varint,14,opt,name=Unk2800_DEIGAGPAJGK,json=Unk2800DEIGAGPAJGK,proto3" json:"Unk2800_DEIGAGPAJGK,omitempty"` + DungeonId uint32 `protobuf:"varint,4,opt,name=dungeon_id,json=dungeonId,proto3" json:"dungeon_id,omitempty"` + Unk2800_JKOGDAMMBIN uint32 `protobuf:"varint,13,opt,name=Unk2800_JKOGDAMMBIN,json=Unk2800JKOGDAMMBIN,proto3" json:"Unk2800_JKOGDAMMBIN,omitempty"` +} + +func (x *Unk2800_CEAECGGBOKL) Reset() { + *x = Unk2800_CEAECGGBOKL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_CEAECGGBOKL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_CEAECGGBOKL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_CEAECGGBOKL) ProtoMessage() {} + +func (x *Unk2800_CEAECGGBOKL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_CEAECGGBOKL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_CEAECGGBOKL.ProtoReflect.Descriptor instead. +func (*Unk2800_CEAECGGBOKL) Descriptor() ([]byte, []int) { + return file_Unk2800_CEAECGGBOKL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_CEAECGGBOKL) GetUnk2800_KDLIIGEGDDH() uint32 { + if x != nil { + return x.Unk2800_KDLIIGEGDDH + } + return 0 +} + +func (x *Unk2800_CEAECGGBOKL) GetUnk2800_ENMCNIPGGIA() uint32 { + if x != nil { + return x.Unk2800_ENMCNIPGGIA + } + return 0 +} + +func (x *Unk2800_CEAECGGBOKL) GetUnk2800_DEIGAGPAJGK() uint32 { + if x != nil { + return x.Unk2800_DEIGAGPAJGK + } + return 0 +} + +func (x *Unk2800_CEAECGGBOKL) GetDungeonId() uint32 { + if x != nil { + return x.DungeonId + } + return 0 +} + +func (x *Unk2800_CEAECGGBOKL) GetUnk2800_JKOGDAMMBIN() uint32 { + if x != nil { + return x.Unk2800_JKOGDAMMBIN + } + return 0 +} + +var File_Unk2800_CEAECGGBOKL_proto protoreflect.FileDescriptor + +var file_Unk2800_CEAECGGBOKL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x41, 0x45, 0x43, 0x47, + 0x47, 0x42, 0x4f, 0x4b, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x45, 0x41, 0x45, 0x43, 0x47, 0x47, 0x42, + 0x4f, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, + 0x44, 0x4c, 0x49, 0x49, 0x47, 0x45, 0x47, 0x44, 0x44, 0x48, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4b, 0x44, 0x4c, 0x49, 0x49, 0x47, 0x45, + 0x47, 0x44, 0x44, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x45, 0x4e, 0x4d, 0x43, 0x4e, 0x49, 0x50, 0x47, 0x47, 0x49, 0x41, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4e, 0x4d, 0x43, 0x4e, 0x49, + 0x50, 0x47, 0x47, 0x49, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x44, 0x45, 0x49, 0x47, 0x41, 0x47, 0x50, 0x41, 0x4a, 0x47, 0x4b, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x44, 0x45, 0x49, 0x47, 0x41, + 0x47, 0x50, 0x41, 0x4a, 0x47, 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x4a, 0x4b, 0x4f, 0x47, 0x44, 0x41, 0x4d, 0x4d, 0x42, 0x49, 0x4e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4a, 0x4b, 0x4f, 0x47, 0x44, + 0x41, 0x4d, 0x4d, 0x42, 0x49, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_CEAECGGBOKL_proto_rawDescOnce sync.Once + file_Unk2800_CEAECGGBOKL_proto_rawDescData = file_Unk2800_CEAECGGBOKL_proto_rawDesc +) + +func file_Unk2800_CEAECGGBOKL_proto_rawDescGZIP() []byte { + file_Unk2800_CEAECGGBOKL_proto_rawDescOnce.Do(func() { + file_Unk2800_CEAECGGBOKL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_CEAECGGBOKL_proto_rawDescData) + }) + return file_Unk2800_CEAECGGBOKL_proto_rawDescData +} + +var file_Unk2800_CEAECGGBOKL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_CEAECGGBOKL_proto_goTypes = []interface{}{ + (*Unk2800_CEAECGGBOKL)(nil), // 0: Unk2800_CEAECGGBOKL +} +var file_Unk2800_CEAECGGBOKL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_CEAECGGBOKL_proto_init() } +func file_Unk2800_CEAECGGBOKL_proto_init() { + if File_Unk2800_CEAECGGBOKL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_CEAECGGBOKL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_CEAECGGBOKL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_CEAECGGBOKL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_CEAECGGBOKL_proto_goTypes, + DependencyIndexes: file_Unk2800_CEAECGGBOKL_proto_depIdxs, + MessageInfos: file_Unk2800_CEAECGGBOKL_proto_msgTypes, + }.Build() + File_Unk2800_CEAECGGBOKL_proto = out.File + file_Unk2800_CEAECGGBOKL_proto_rawDesc = nil + file_Unk2800_CEAECGGBOKL_proto_goTypes = nil + file_Unk2800_CEAECGGBOKL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.proto b/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.proto new file mode 100644 index 00000000..71718165 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CEAECGGBOKL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_CEAECGGBOKL { + uint32 Unk2800_KDLIIGEGDDH = 15; + uint32 Unk2800_ENMCNIPGGIA = 12; + uint32 Unk2800_DEIGAGPAJGK = 14; + uint32 dungeon_id = 4; + uint32 Unk2800_JKOGDAMMBIN = 13; +} diff --git a/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.pb.go b/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.pb.go new file mode 100644 index 00000000..720d3d1a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_CGODFDDALAG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_CGODFDDALAG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,10,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsOpen bool `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,12,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + Unk2800_GCPNBJIJEDA bool `protobuf:"varint,15,opt,name=Unk2800_GCPNBJIJEDA,json=Unk2800GCPNBJIJEDA,proto3" json:"Unk2800_GCPNBJIJEDA,omitempty"` +} + +func (x *Unk2800_CGODFDDALAG) Reset() { + *x = Unk2800_CGODFDDALAG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_CGODFDDALAG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_CGODFDDALAG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_CGODFDDALAG) ProtoMessage() {} + +func (x *Unk2800_CGODFDDALAG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_CGODFDDALAG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_CGODFDDALAG.ProtoReflect.Descriptor instead. +func (*Unk2800_CGODFDDALAG) Descriptor() ([]byte, []int) { + return file_Unk2800_CGODFDDALAG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_CGODFDDALAG) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2800_CGODFDDALAG) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2800_CGODFDDALAG) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2800_CGODFDDALAG) GetUnk2800_GCPNBJIJEDA() bool { + if x != nil { + return x.Unk2800_GCPNBJIJEDA + } + return false +} + +var File_Unk2800_CGODFDDALAG_proto protoreflect.FileDescriptor + +var file_Unk2800_CGODFDDALAG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4f, 0x44, 0x46, 0x44, + 0x44, 0x41, 0x4c, 0x41, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x4f, 0x44, 0x46, 0x44, 0x44, 0x41, + 0x4c, 0x41, 0x47, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x47, 0x43, 0x50, 0x4e, 0x42, 0x4a, 0x49, 0x4a, 0x45, 0x44, 0x41, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x47, 0x43, 0x50, 0x4e, 0x42, 0x4a, + 0x49, 0x4a, 0x45, 0x44, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_CGODFDDALAG_proto_rawDescOnce sync.Once + file_Unk2800_CGODFDDALAG_proto_rawDescData = file_Unk2800_CGODFDDALAG_proto_rawDesc +) + +func file_Unk2800_CGODFDDALAG_proto_rawDescGZIP() []byte { + file_Unk2800_CGODFDDALAG_proto_rawDescOnce.Do(func() { + file_Unk2800_CGODFDDALAG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_CGODFDDALAG_proto_rawDescData) + }) + return file_Unk2800_CGODFDDALAG_proto_rawDescData +} + +var file_Unk2800_CGODFDDALAG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_CGODFDDALAG_proto_goTypes = []interface{}{ + (*Unk2800_CGODFDDALAG)(nil), // 0: Unk2800_CGODFDDALAG +} +var file_Unk2800_CGODFDDALAG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_CGODFDDALAG_proto_init() } +func file_Unk2800_CGODFDDALAG_proto_init() { + if File_Unk2800_CGODFDDALAG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_CGODFDDALAG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_CGODFDDALAG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_CGODFDDALAG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_CGODFDDALAG_proto_goTypes, + DependencyIndexes: file_Unk2800_CGODFDDALAG_proto_depIdxs, + MessageInfos: file_Unk2800_CGODFDDALAG_proto_msgTypes, + }.Build() + File_Unk2800_CGODFDDALAG_proto = out.File + file_Unk2800_CGODFDDALAG_proto_rawDesc = nil + file_Unk2800_CGODFDDALAG_proto_goTypes = nil + file_Unk2800_CGODFDDALAG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.proto b/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.proto new file mode 100644 index 00000000..e7872263 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CGODFDDALAG.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_CGODFDDALAG { + uint32 stage_id = 10; + bool is_open = 3; + uint32 open_time = 12; + bool Unk2800_GCPNBJIJEDA = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.pb.go b/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.pb.go new file mode 100644 index 00000000..f55063f7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_CGPNLBNMPCM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_CGPNLBNMPCM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpenTime uint32 `protobuf:"varint,7,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + IsOpen bool `protobuf:"varint,14,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + StageId uint32 `protobuf:"varint,10,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + BestScore uint32 `protobuf:"varint,13,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *Unk2800_CGPNLBNMPCM) Reset() { + *x = Unk2800_CGPNLBNMPCM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_CGPNLBNMPCM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_CGPNLBNMPCM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_CGPNLBNMPCM) ProtoMessage() {} + +func (x *Unk2800_CGPNLBNMPCM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_CGPNLBNMPCM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_CGPNLBNMPCM.ProtoReflect.Descriptor instead. +func (*Unk2800_CGPNLBNMPCM) Descriptor() ([]byte, []int) { + return file_Unk2800_CGPNLBNMPCM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_CGPNLBNMPCM) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk2800_CGPNLBNMPCM) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2800_CGPNLBNMPCM) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2800_CGPNLBNMPCM) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_Unk2800_CGPNLBNMPCM_proto protoreflect.FileDescriptor + +var file_Unk2800_CGPNLBNMPCM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x50, 0x4e, 0x4c, 0x42, + 0x4e, 0x4d, 0x50, 0x43, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x47, 0x50, 0x4e, 0x4c, 0x42, 0x4e, 0x4d, + 0x50, 0x43, 0x4d, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_CGPNLBNMPCM_proto_rawDescOnce sync.Once + file_Unk2800_CGPNLBNMPCM_proto_rawDescData = file_Unk2800_CGPNLBNMPCM_proto_rawDesc +) + +func file_Unk2800_CGPNLBNMPCM_proto_rawDescGZIP() []byte { + file_Unk2800_CGPNLBNMPCM_proto_rawDescOnce.Do(func() { + file_Unk2800_CGPNLBNMPCM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_CGPNLBNMPCM_proto_rawDescData) + }) + return file_Unk2800_CGPNLBNMPCM_proto_rawDescData +} + +var file_Unk2800_CGPNLBNMPCM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_CGPNLBNMPCM_proto_goTypes = []interface{}{ + (*Unk2800_CGPNLBNMPCM)(nil), // 0: Unk2800_CGPNLBNMPCM +} +var file_Unk2800_CGPNLBNMPCM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_CGPNLBNMPCM_proto_init() } +func file_Unk2800_CGPNLBNMPCM_proto_init() { + if File_Unk2800_CGPNLBNMPCM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_CGPNLBNMPCM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_CGPNLBNMPCM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_CGPNLBNMPCM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_CGPNLBNMPCM_proto_goTypes, + DependencyIndexes: file_Unk2800_CGPNLBNMPCM_proto_depIdxs, + MessageInfos: file_Unk2800_CGPNLBNMPCM_proto_msgTypes, + }.Build() + File_Unk2800_CGPNLBNMPCM_proto = out.File + file_Unk2800_CGPNLBNMPCM_proto_rawDesc = nil + file_Unk2800_CGPNLBNMPCM_proto_goTypes = nil + file_Unk2800_CGPNLBNMPCM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.proto b/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.proto new file mode 100644 index 00000000..6f1c523e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CGPNLBNMPCM.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_CGPNLBNMPCM { + uint32 open_time = 7; + bool is_open = 14; + uint32 stage_id = 10; + uint32 best_score = 13; +} diff --git a/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.pb.go b/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.pb.go new file mode 100644 index 00000000..b09db4ef --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_CHEDEMEDPPM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5565 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_CHEDEMEDPPM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,7,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + Coin uint32 `protobuf:"varint,15,opt,name=coin,proto3" json:"coin,omitempty"` + Unk2800_EOFOECJJMLJ uint32 `protobuf:"varint,3,opt,name=Unk2800_EOFOECJJMLJ,json=Unk2800EOFOECJJMLJ,proto3" json:"Unk2800_EOFOECJJMLJ,omitempty"` + Unk2800_BAEEDEAADIA uint32 `protobuf:"varint,13,opt,name=Unk2800_BAEEDEAADIA,json=Unk2800BAEEDEAADIA,proto3" json:"Unk2800_BAEEDEAADIA,omitempty"` +} + +func (x *Unk2800_CHEDEMEDPPM) Reset() { + *x = Unk2800_CHEDEMEDPPM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_CHEDEMEDPPM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_CHEDEMEDPPM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_CHEDEMEDPPM) ProtoMessage() {} + +func (x *Unk2800_CHEDEMEDPPM) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_CHEDEMEDPPM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_CHEDEMEDPPM.ProtoReflect.Descriptor instead. +func (*Unk2800_CHEDEMEDPPM) Descriptor() ([]byte, []int) { + return file_Unk2800_CHEDEMEDPPM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_CHEDEMEDPPM) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *Unk2800_CHEDEMEDPPM) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *Unk2800_CHEDEMEDPPM) GetUnk2800_EOFOECJJMLJ() uint32 { + if x != nil { + return x.Unk2800_EOFOECJJMLJ + } + return 0 +} + +func (x *Unk2800_CHEDEMEDPPM) GetUnk2800_BAEEDEAADIA() uint32 { + if x != nil { + return x.Unk2800_BAEEDEAADIA + } + return 0 +} + +var File_Unk2800_CHEDEMEDPPM_proto protoreflect.FileDescriptor + +var file_Unk2800_CHEDEMEDPPM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x45, 0x44, 0x45, 0x4d, + 0x45, 0x44, 0x50, 0x50, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x48, 0x45, 0x44, 0x45, 0x4d, 0x45, 0x44, + 0x50, 0x50, 0x4d, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, + 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4f, + 0x46, 0x4f, 0x45, 0x43, 0x4a, 0x4a, 0x4d, 0x4c, 0x4a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4f, 0x46, 0x4f, 0x45, 0x43, 0x4a, 0x4a, + 0x4d, 0x4c, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, + 0x41, 0x45, 0x45, 0x44, 0x45, 0x41, 0x41, 0x44, 0x49, 0x41, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x42, 0x41, 0x45, 0x45, 0x44, 0x45, 0x41, + 0x41, 0x44, 0x49, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_CHEDEMEDPPM_proto_rawDescOnce sync.Once + file_Unk2800_CHEDEMEDPPM_proto_rawDescData = file_Unk2800_CHEDEMEDPPM_proto_rawDesc +) + +func file_Unk2800_CHEDEMEDPPM_proto_rawDescGZIP() []byte { + file_Unk2800_CHEDEMEDPPM_proto_rawDescOnce.Do(func() { + file_Unk2800_CHEDEMEDPPM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_CHEDEMEDPPM_proto_rawDescData) + }) + return file_Unk2800_CHEDEMEDPPM_proto_rawDescData +} + +var file_Unk2800_CHEDEMEDPPM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_CHEDEMEDPPM_proto_goTypes = []interface{}{ + (*Unk2800_CHEDEMEDPPM)(nil), // 0: Unk2800_CHEDEMEDPPM +} +var file_Unk2800_CHEDEMEDPPM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_CHEDEMEDPPM_proto_init() } +func file_Unk2800_CHEDEMEDPPM_proto_init() { + if File_Unk2800_CHEDEMEDPPM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_CHEDEMEDPPM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_CHEDEMEDPPM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_CHEDEMEDPPM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_CHEDEMEDPPM_proto_goTypes, + DependencyIndexes: file_Unk2800_CHEDEMEDPPM_proto_depIdxs, + MessageInfos: file_Unk2800_CHEDEMEDPPM_proto_msgTypes, + }.Build() + File_Unk2800_CHEDEMEDPPM_proto = out.File + file_Unk2800_CHEDEMEDPPM_proto_rawDesc = nil + file_Unk2800_CHEDEMEDPPM_proto_goTypes = nil + file_Unk2800_CHEDEMEDPPM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.proto b/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.proto new file mode 100644 index 00000000..3cd07c6b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_CHEDEMEDPPM.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5565 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_CHEDEMEDPPM { + uint32 point_id = 7; + uint32 coin = 15; + uint32 Unk2800_EOFOECJJMLJ = 3; + uint32 Unk2800_BAEEDEAADIA = 13; +} diff --git a/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.pb.go b/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.pb.go new file mode 100644 index 00000000..93a371d0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_COCHLKHLCPO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23467 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_COCHLKHLCPO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2800_COCHLKHLCPO) Reset() { + *x = Unk2800_COCHLKHLCPO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_COCHLKHLCPO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_COCHLKHLCPO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_COCHLKHLCPO) ProtoMessage() {} + +func (x *Unk2800_COCHLKHLCPO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_COCHLKHLCPO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_COCHLKHLCPO.ProtoReflect.Descriptor instead. +func (*Unk2800_COCHLKHLCPO) Descriptor() ([]byte, []int) { + return file_Unk2800_COCHLKHLCPO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_COCHLKHLCPO) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2800_COCHLKHLCPO_proto protoreflect.FileDescriptor + +var file_Unk2800_COCHLKHLCPO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x43, 0x48, 0x4c, 0x4b, + 0x48, 0x4c, 0x43, 0x50, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x4f, 0x43, 0x48, 0x4c, 0x4b, 0x48, 0x4c, 0x43, + 0x50, 0x4f, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2800_COCHLKHLCPO_proto_rawDescOnce sync.Once + file_Unk2800_COCHLKHLCPO_proto_rawDescData = file_Unk2800_COCHLKHLCPO_proto_rawDesc +) + +func file_Unk2800_COCHLKHLCPO_proto_rawDescGZIP() []byte { + file_Unk2800_COCHLKHLCPO_proto_rawDescOnce.Do(func() { + file_Unk2800_COCHLKHLCPO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_COCHLKHLCPO_proto_rawDescData) + }) + return file_Unk2800_COCHLKHLCPO_proto_rawDescData +} + +var file_Unk2800_COCHLKHLCPO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_COCHLKHLCPO_proto_goTypes = []interface{}{ + (*Unk2800_COCHLKHLCPO)(nil), // 0: Unk2800_COCHLKHLCPO +} +var file_Unk2800_COCHLKHLCPO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_COCHLKHLCPO_proto_init() } +func file_Unk2800_COCHLKHLCPO_proto_init() { + if File_Unk2800_COCHLKHLCPO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_COCHLKHLCPO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_COCHLKHLCPO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_COCHLKHLCPO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_COCHLKHLCPO_proto_goTypes, + DependencyIndexes: file_Unk2800_COCHLKHLCPO_proto_depIdxs, + MessageInfos: file_Unk2800_COCHLKHLCPO_proto_msgTypes, + }.Build() + File_Unk2800_COCHLKHLCPO_proto = out.File + file_Unk2800_COCHLKHLCPO_proto_rawDesc = nil + file_Unk2800_COCHLKHLCPO_proto_goTypes = nil + file_Unk2800_COCHLKHLCPO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.proto b/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.proto new file mode 100644 index 00000000..4d41d9e7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_COCHLKHLCPO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 23467 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_COCHLKHLCPO { + uint32 level_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.pb.go b/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.pb.go new file mode 100644 index 00000000..b1bd933e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_DKDJCLLNGNL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8346 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_DKDJCLLNGNL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2800_DKDJCLLNGNL) Reset() { + *x = Unk2800_DKDJCLLNGNL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_DKDJCLLNGNL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_DKDJCLLNGNL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_DKDJCLLNGNL) ProtoMessage() {} + +func (x *Unk2800_DKDJCLLNGNL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_DKDJCLLNGNL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_DKDJCLLNGNL.ProtoReflect.Descriptor instead. +func (*Unk2800_DKDJCLLNGNL) Descriptor() ([]byte, []int) { + return file_Unk2800_DKDJCLLNGNL_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_DKDJCLLNGNL_proto protoreflect.FileDescriptor + +var file_Unk2800_DKDJCLLNGNL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x4b, 0x44, 0x4a, 0x43, 0x4c, + 0x4c, 0x4e, 0x47, 0x4e, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x4b, 0x44, 0x4a, 0x43, 0x4c, 0x4c, 0x4e, 0x47, + 0x4e, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_DKDJCLLNGNL_proto_rawDescOnce sync.Once + file_Unk2800_DKDJCLLNGNL_proto_rawDescData = file_Unk2800_DKDJCLLNGNL_proto_rawDesc +) + +func file_Unk2800_DKDJCLLNGNL_proto_rawDescGZIP() []byte { + file_Unk2800_DKDJCLLNGNL_proto_rawDescOnce.Do(func() { + file_Unk2800_DKDJCLLNGNL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_DKDJCLLNGNL_proto_rawDescData) + }) + return file_Unk2800_DKDJCLLNGNL_proto_rawDescData +} + +var file_Unk2800_DKDJCLLNGNL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_DKDJCLLNGNL_proto_goTypes = []interface{}{ + (*Unk2800_DKDJCLLNGNL)(nil), // 0: Unk2800_DKDJCLLNGNL +} +var file_Unk2800_DKDJCLLNGNL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_DKDJCLLNGNL_proto_init() } +func file_Unk2800_DKDJCLLNGNL_proto_init() { + if File_Unk2800_DKDJCLLNGNL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_DKDJCLLNGNL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_DKDJCLLNGNL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_DKDJCLLNGNL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_DKDJCLLNGNL_proto_goTypes, + DependencyIndexes: file_Unk2800_DKDJCLLNGNL_proto_depIdxs, + MessageInfos: file_Unk2800_DKDJCLLNGNL_proto_msgTypes, + }.Build() + File_Unk2800_DKDJCLLNGNL_proto = out.File + file_Unk2800_DKDJCLLNGNL_proto_rawDesc = nil + file_Unk2800_DKDJCLLNGNL_proto_goTypes = nil + file_Unk2800_DKDJCLLNGNL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.proto b/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.proto new file mode 100644 index 00000000..92d3b032 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DKDJCLLNGNL.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8346 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_DKDJCLLNGNL {} diff --git a/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.pb.go b/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.pb.go new file mode 100644 index 00000000..82e9c0bf --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_DNKCFLKHKJG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 876 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_DNKCFLKHKJG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_LEHIJIPEONO uint32 `protobuf:"varint,3,opt,name=Unk2800_LEHIJIPEONO,json=Unk2800LEHIJIPEONO,proto3" json:"Unk2800_LEHIJIPEONO,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,8,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *Unk2800_DNKCFLKHKJG) Reset() { + *x = Unk2800_DNKCFLKHKJG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_DNKCFLKHKJG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_DNKCFLKHKJG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_DNKCFLKHKJG) ProtoMessage() {} + +func (x *Unk2800_DNKCFLKHKJG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_DNKCFLKHKJG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_DNKCFLKHKJG.ProtoReflect.Descriptor instead. +func (*Unk2800_DNKCFLKHKJG) Descriptor() ([]byte, []int) { + return file_Unk2800_DNKCFLKHKJG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_DNKCFLKHKJG) GetUnk2800_LEHIJIPEONO() uint32 { + if x != nil { + return x.Unk2800_LEHIJIPEONO + } + return 0 +} + +func (x *Unk2800_DNKCFLKHKJG) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_Unk2800_DNKCFLKHKJG_proto protoreflect.FileDescriptor + +var file_Unk2800_DNKCFLKHKJG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x4e, 0x4b, 0x43, 0x46, 0x4c, + 0x4b, 0x48, 0x4b, 0x4a, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x4e, 0x4b, 0x43, 0x46, 0x4c, 0x4b, 0x48, 0x4b, + 0x4a, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x45, + 0x48, 0x49, 0x4a, 0x49, 0x50, 0x45, 0x4f, 0x4e, 0x4f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4c, 0x45, 0x48, 0x49, 0x4a, 0x49, 0x50, 0x45, + 0x4f, 0x4e, 0x4f, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, + 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2800_DNKCFLKHKJG_proto_rawDescOnce sync.Once + file_Unk2800_DNKCFLKHKJG_proto_rawDescData = file_Unk2800_DNKCFLKHKJG_proto_rawDesc +) + +func file_Unk2800_DNKCFLKHKJG_proto_rawDescGZIP() []byte { + file_Unk2800_DNKCFLKHKJG_proto_rawDescOnce.Do(func() { + file_Unk2800_DNKCFLKHKJG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_DNKCFLKHKJG_proto_rawDescData) + }) + return file_Unk2800_DNKCFLKHKJG_proto_rawDescData +} + +var file_Unk2800_DNKCFLKHKJG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_DNKCFLKHKJG_proto_goTypes = []interface{}{ + (*Unk2800_DNKCFLKHKJG)(nil), // 0: Unk2800_DNKCFLKHKJG +} +var file_Unk2800_DNKCFLKHKJG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_DNKCFLKHKJG_proto_init() } +func file_Unk2800_DNKCFLKHKJG_proto_init() { + if File_Unk2800_DNKCFLKHKJG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_DNKCFLKHKJG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_DNKCFLKHKJG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_DNKCFLKHKJG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_DNKCFLKHKJG_proto_goTypes, + DependencyIndexes: file_Unk2800_DNKCFLKHKJG_proto_depIdxs, + MessageInfos: file_Unk2800_DNKCFLKHKJG_proto_msgTypes, + }.Build() + File_Unk2800_DNKCFLKHKJG_proto = out.File + file_Unk2800_DNKCFLKHKJG_proto_rawDesc = nil + file_Unk2800_DNKCFLKHKJG_proto_goTypes = nil + file_Unk2800_DNKCFLKHKJG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.proto b/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.proto new file mode 100644 index 00000000..9d315fe7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DNKCFLKHKJG.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 876 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_DNKCFLKHKJG { + uint32 Unk2800_LEHIJIPEONO = 3; + uint32 gadget_entity_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.pb.go b/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.pb.go new file mode 100644 index 00000000..f790cd39 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_DPINLADLBFA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1902 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_DPINLADLBFA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2800_DPINLADLBFA) Reset() { + *x = Unk2800_DPINLADLBFA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_DPINLADLBFA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_DPINLADLBFA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_DPINLADLBFA) ProtoMessage() {} + +func (x *Unk2800_DPINLADLBFA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_DPINLADLBFA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_DPINLADLBFA.ProtoReflect.Descriptor instead. +func (*Unk2800_DPINLADLBFA) Descriptor() ([]byte, []int) { + return file_Unk2800_DPINLADLBFA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_DPINLADLBFA_proto protoreflect.FileDescriptor + +var file_Unk2800_DPINLADLBFA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x49, 0x4e, 0x4c, 0x41, + 0x44, 0x4c, 0x42, 0x46, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x49, 0x4e, 0x4c, 0x41, 0x44, 0x4c, 0x42, + 0x46, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_DPINLADLBFA_proto_rawDescOnce sync.Once + file_Unk2800_DPINLADLBFA_proto_rawDescData = file_Unk2800_DPINLADLBFA_proto_rawDesc +) + +func file_Unk2800_DPINLADLBFA_proto_rawDescGZIP() []byte { + file_Unk2800_DPINLADLBFA_proto_rawDescOnce.Do(func() { + file_Unk2800_DPINLADLBFA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_DPINLADLBFA_proto_rawDescData) + }) + return file_Unk2800_DPINLADLBFA_proto_rawDescData +} + +var file_Unk2800_DPINLADLBFA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_DPINLADLBFA_proto_goTypes = []interface{}{ + (*Unk2800_DPINLADLBFA)(nil), // 0: Unk2800_DPINLADLBFA +} +var file_Unk2800_DPINLADLBFA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_DPINLADLBFA_proto_init() } +func file_Unk2800_DPINLADLBFA_proto_init() { + if File_Unk2800_DPINLADLBFA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_DPINLADLBFA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_DPINLADLBFA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_DPINLADLBFA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_DPINLADLBFA_proto_goTypes, + DependencyIndexes: file_Unk2800_DPINLADLBFA_proto_depIdxs, + MessageInfos: file_Unk2800_DPINLADLBFA_proto_msgTypes, + }.Build() + File_Unk2800_DPINLADLBFA_proto = out.File + file_Unk2800_DPINLADLBFA_proto_rawDesc = nil + file_Unk2800_DPINLADLBFA_proto_goTypes = nil + file_Unk2800_DPINLADLBFA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.proto b/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.proto new file mode 100644 index 00000000..8a6f61cd --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_DPINLADLBFA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1902 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_DPINLADLBFA {} diff --git a/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.pb.go b/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.pb.go new file mode 100644 index 00000000..29bee413 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_ECCLDPCADCJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1921 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_ECCLDPCADCJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk2800_ECCLDPCADCJ) Reset() { + *x = Unk2800_ECCLDPCADCJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_ECCLDPCADCJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_ECCLDPCADCJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_ECCLDPCADCJ) ProtoMessage() {} + +func (x *Unk2800_ECCLDPCADCJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_ECCLDPCADCJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_ECCLDPCADCJ.ProtoReflect.Descriptor instead. +func (*Unk2800_ECCLDPCADCJ) Descriptor() ([]byte, []int) { + return file_Unk2800_ECCLDPCADCJ_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_ECCLDPCADCJ_proto protoreflect.FileDescriptor + +var file_Unk2800_ECCLDPCADCJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x43, 0x4c, 0x44, 0x50, + 0x43, 0x41, 0x44, 0x43, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x43, 0x4c, 0x44, 0x50, 0x43, 0x41, 0x44, + 0x43, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_ECCLDPCADCJ_proto_rawDescOnce sync.Once + file_Unk2800_ECCLDPCADCJ_proto_rawDescData = file_Unk2800_ECCLDPCADCJ_proto_rawDesc +) + +func file_Unk2800_ECCLDPCADCJ_proto_rawDescGZIP() []byte { + file_Unk2800_ECCLDPCADCJ_proto_rawDescOnce.Do(func() { + file_Unk2800_ECCLDPCADCJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_ECCLDPCADCJ_proto_rawDescData) + }) + return file_Unk2800_ECCLDPCADCJ_proto_rawDescData +} + +var file_Unk2800_ECCLDPCADCJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_ECCLDPCADCJ_proto_goTypes = []interface{}{ + (*Unk2800_ECCLDPCADCJ)(nil), // 0: Unk2800_ECCLDPCADCJ +} +var file_Unk2800_ECCLDPCADCJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_ECCLDPCADCJ_proto_init() } +func file_Unk2800_ECCLDPCADCJ_proto_init() { + if File_Unk2800_ECCLDPCADCJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_ECCLDPCADCJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_ECCLDPCADCJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_ECCLDPCADCJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_ECCLDPCADCJ_proto_goTypes, + DependencyIndexes: file_Unk2800_ECCLDPCADCJ_proto_depIdxs, + MessageInfos: file_Unk2800_ECCLDPCADCJ_proto_msgTypes, + }.Build() + File_Unk2800_ECCLDPCADCJ_proto = out.File + file_Unk2800_ECCLDPCADCJ_proto_rawDesc = nil + file_Unk2800_ECCLDPCADCJ_proto_goTypes = nil + file_Unk2800_ECCLDPCADCJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.proto b/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.proto new file mode 100644 index 00000000..6dc6a534 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ECCLDPCADCJ.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1921 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_ECCLDPCADCJ {} diff --git a/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.pb.go b/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.pb.go new file mode 100644 index 00000000..1538957c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_EKGCCBDIKFI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21851 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_EKGCCBDIKFI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + IsSuccess bool `protobuf:"varint,6,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *Unk2800_EKGCCBDIKFI) Reset() { + *x = Unk2800_EKGCCBDIKFI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_EKGCCBDIKFI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_EKGCCBDIKFI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_EKGCCBDIKFI) ProtoMessage() {} + +func (x *Unk2800_EKGCCBDIKFI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_EKGCCBDIKFI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_EKGCCBDIKFI.ProtoReflect.Descriptor instead. +func (*Unk2800_EKGCCBDIKFI) Descriptor() ([]byte, []int) { + return file_Unk2800_EKGCCBDIKFI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_EKGCCBDIKFI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2800_EKGCCBDIKFI) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_Unk2800_EKGCCBDIKFI_proto protoreflect.FileDescriptor + +var file_Unk2800_EKGCCBDIKFI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x47, 0x43, 0x43, 0x42, + 0x44, 0x49, 0x4b, 0x46, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4b, 0x47, 0x43, 0x43, 0x42, 0x44, 0x49, 0x4b, + 0x46, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_EKGCCBDIKFI_proto_rawDescOnce sync.Once + file_Unk2800_EKGCCBDIKFI_proto_rawDescData = file_Unk2800_EKGCCBDIKFI_proto_rawDesc +) + +func file_Unk2800_EKGCCBDIKFI_proto_rawDescGZIP() []byte { + file_Unk2800_EKGCCBDIKFI_proto_rawDescOnce.Do(func() { + file_Unk2800_EKGCCBDIKFI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_EKGCCBDIKFI_proto_rawDescData) + }) + return file_Unk2800_EKGCCBDIKFI_proto_rawDescData +} + +var file_Unk2800_EKGCCBDIKFI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_EKGCCBDIKFI_proto_goTypes = []interface{}{ + (*Unk2800_EKGCCBDIKFI)(nil), // 0: Unk2800_EKGCCBDIKFI +} +var file_Unk2800_EKGCCBDIKFI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_EKGCCBDIKFI_proto_init() } +func file_Unk2800_EKGCCBDIKFI_proto_init() { + if File_Unk2800_EKGCCBDIKFI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_EKGCCBDIKFI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_EKGCCBDIKFI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_EKGCCBDIKFI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_EKGCCBDIKFI_proto_goTypes, + DependencyIndexes: file_Unk2800_EKGCCBDIKFI_proto_depIdxs, + MessageInfos: file_Unk2800_EKGCCBDIKFI_proto_msgTypes, + }.Build() + File_Unk2800_EKGCCBDIKFI_proto = out.File + file_Unk2800_EKGCCBDIKFI_proto_rawDesc = nil + file_Unk2800_EKGCCBDIKFI_proto_goTypes = nil + file_Unk2800_EKGCCBDIKFI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.proto b/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.proto new file mode 100644 index 00000000..c402877d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_EKGCCBDIKFI.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21851 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_EKGCCBDIKFI { + int32 retcode = 12; + bool is_success = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.pb.go b/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.pb.go new file mode 100644 index 00000000..14c10ea4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_FDLKPKFOIIK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_FDLKPKFOIIK int32 + +const ( + Unk2800_FDLKPKFOIIK_Unk2800_FDLKPKFOIIK_NONE Unk2800_FDLKPKFOIIK = 0 + Unk2800_FDLKPKFOIIK_Unk2800_FDLKPKFOIIK_START Unk2800_FDLKPKFOIIK = 1 + Unk2800_FDLKPKFOIIK_Unk2800_FDLKPKFOIIK_Unk2800_FDPBDHDHAKO Unk2800_FDLKPKFOIIK = 2 +) + +// Enum value maps for Unk2800_FDLKPKFOIIK. +var ( + Unk2800_FDLKPKFOIIK_name = map[int32]string{ + 0: "Unk2800_FDLKPKFOIIK_NONE", + 1: "Unk2800_FDLKPKFOIIK_START", + 2: "Unk2800_FDLKPKFOIIK_Unk2800_FDPBDHDHAKO", + } + Unk2800_FDLKPKFOIIK_value = map[string]int32{ + "Unk2800_FDLKPKFOIIK_NONE": 0, + "Unk2800_FDLKPKFOIIK_START": 1, + "Unk2800_FDLKPKFOIIK_Unk2800_FDPBDHDHAKO": 2, + } +) + +func (x Unk2800_FDLKPKFOIIK) Enum() *Unk2800_FDLKPKFOIIK { + p := new(Unk2800_FDLKPKFOIIK) + *p = x + return p +} + +func (x Unk2800_FDLKPKFOIIK) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2800_FDLKPKFOIIK) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2800_FDLKPKFOIIK_proto_enumTypes[0].Descriptor() +} + +func (Unk2800_FDLKPKFOIIK) Type() protoreflect.EnumType { + return &file_Unk2800_FDLKPKFOIIK_proto_enumTypes[0] +} + +func (x Unk2800_FDLKPKFOIIK) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2800_FDLKPKFOIIK.Descriptor instead. +func (Unk2800_FDLKPKFOIIK) EnumDescriptor() ([]byte, []int) { + return file_Unk2800_FDLKPKFOIIK_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_FDLKPKFOIIK_proto protoreflect.FileDescriptor + +var file_Unk2800_FDLKPKFOIIK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, 0x50, 0x4b, + 0x46, 0x4f, 0x49, 0x49, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x7f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, 0x50, 0x4b, 0x46, 0x4f, 0x49, + 0x49, 0x4b, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, + 0x4c, 0x4b, 0x50, 0x4b, 0x46, 0x4f, 0x49, 0x49, 0x4b, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, + 0x50, 0x4b, 0x46, 0x4f, 0x49, 0x49, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, + 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, 0x50, + 0x4b, 0x46, 0x4f, 0x49, 0x49, 0x4b, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, + 0x44, 0x50, 0x42, 0x44, 0x48, 0x44, 0x48, 0x41, 0x4b, 0x4f, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_FDLKPKFOIIK_proto_rawDescOnce sync.Once + file_Unk2800_FDLKPKFOIIK_proto_rawDescData = file_Unk2800_FDLKPKFOIIK_proto_rawDesc +) + +func file_Unk2800_FDLKPKFOIIK_proto_rawDescGZIP() []byte { + file_Unk2800_FDLKPKFOIIK_proto_rawDescOnce.Do(func() { + file_Unk2800_FDLKPKFOIIK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_FDLKPKFOIIK_proto_rawDescData) + }) + return file_Unk2800_FDLKPKFOIIK_proto_rawDescData +} + +var file_Unk2800_FDLKPKFOIIK_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2800_FDLKPKFOIIK_proto_goTypes = []interface{}{ + (Unk2800_FDLKPKFOIIK)(0), // 0: Unk2800_FDLKPKFOIIK +} +var file_Unk2800_FDLKPKFOIIK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_FDLKPKFOIIK_proto_init() } +func file_Unk2800_FDLKPKFOIIK_proto_init() { + if File_Unk2800_FDLKPKFOIIK_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_FDLKPKFOIIK_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_FDLKPKFOIIK_proto_goTypes, + DependencyIndexes: file_Unk2800_FDLKPKFOIIK_proto_depIdxs, + EnumInfos: file_Unk2800_FDLKPKFOIIK_proto_enumTypes, + }.Build() + File_Unk2800_FDLKPKFOIIK_proto = out.File + file_Unk2800_FDLKPKFOIIK_proto_rawDesc = nil + file_Unk2800_FDLKPKFOIIK_proto_goTypes = nil + file_Unk2800_FDLKPKFOIIK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.proto b/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.proto new file mode 100644 index 00000000..ea838d62 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FDLKPKFOIIK.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2800_FDLKPKFOIIK { + Unk2800_FDLKPKFOIIK_NONE = 0; + Unk2800_FDLKPKFOIIK_START = 1; + Unk2800_FDLKPKFOIIK_Unk2800_FDPBDHDHAKO = 2; +} diff --git a/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.pb.go b/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.pb.go new file mode 100644 index 00000000..be52880a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_FGFMMFAKDEL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_FGFMMFAKDEL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_HKEDPPELJDD uint32 `protobuf:"varint,7,opt,name=Unk2800_HKEDPPELJDD,json=Unk2800HKEDPPELJDD,proto3" json:"Unk2800_HKEDPPELJDD,omitempty"` + Unk2800_FOGGAIHLNOP bool `protobuf:"varint,3,opt,name=Unk2800_FOGGAIHLNOP,json=Unk2800FOGGAIHLNOP,proto3" json:"Unk2800_FOGGAIHLNOP,omitempty"` + Unk2800_NKKMCEKPKLA bool `protobuf:"varint,2,opt,name=Unk2800_NKKMCEKPKLA,json=Unk2800NKKMCEKPKLA,proto3" json:"Unk2800_NKKMCEKPKLA,omitempty"` + GearId uint32 `protobuf:"varint,11,opt,name=gear_id,json=gearId,proto3" json:"gear_id,omitempty"` + Unk2800_JJFDKELDLEM uint32 `protobuf:"varint,6,opt,name=Unk2800_JJFDKELDLEM,json=Unk2800JJFDKELDLEM,proto3" json:"Unk2800_JJFDKELDLEM,omitempty"` +} + +func (x *Unk2800_FGFMMFAKDEL) Reset() { + *x = Unk2800_FGFMMFAKDEL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_FGFMMFAKDEL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_FGFMMFAKDEL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_FGFMMFAKDEL) ProtoMessage() {} + +func (x *Unk2800_FGFMMFAKDEL) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_FGFMMFAKDEL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_FGFMMFAKDEL.ProtoReflect.Descriptor instead. +func (*Unk2800_FGFMMFAKDEL) Descriptor() ([]byte, []int) { + return file_Unk2800_FGFMMFAKDEL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_FGFMMFAKDEL) GetUnk2800_HKEDPPELJDD() uint32 { + if x != nil { + return x.Unk2800_HKEDPPELJDD + } + return 0 +} + +func (x *Unk2800_FGFMMFAKDEL) GetUnk2800_FOGGAIHLNOP() bool { + if x != nil { + return x.Unk2800_FOGGAIHLNOP + } + return false +} + +func (x *Unk2800_FGFMMFAKDEL) GetUnk2800_NKKMCEKPKLA() bool { + if x != nil { + return x.Unk2800_NKKMCEKPKLA + } + return false +} + +func (x *Unk2800_FGFMMFAKDEL) GetGearId() uint32 { + if x != nil { + return x.GearId + } + return 0 +} + +func (x *Unk2800_FGFMMFAKDEL) GetUnk2800_JJFDKELDLEM() uint32 { + if x != nil { + return x.Unk2800_JJFDKELDLEM + } + return 0 +} + +var File_Unk2800_FGFMMFAKDEL_proto protoreflect.FileDescriptor + +var file_Unk2800_FGFMMFAKDEL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x46, 0x4d, 0x4d, 0x46, + 0x41, 0x4b, 0x44, 0x45, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x46, 0x4d, 0x4d, 0x46, 0x41, 0x4b, + 0x44, 0x45, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, + 0x4b, 0x45, 0x44, 0x50, 0x50, 0x45, 0x4c, 0x4a, 0x44, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x48, 0x4b, 0x45, 0x44, 0x50, 0x50, 0x45, + 0x4c, 0x4a, 0x44, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x46, 0x4f, 0x47, 0x47, 0x41, 0x49, 0x48, 0x4c, 0x4e, 0x4f, 0x50, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x46, 0x4f, 0x47, 0x47, 0x41, 0x49, + 0x48, 0x4c, 0x4e, 0x4f, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x4e, 0x4b, 0x4b, 0x4d, 0x43, 0x45, 0x4b, 0x50, 0x4b, 0x4c, 0x41, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4e, 0x4b, 0x4b, 0x4d, 0x43, + 0x45, 0x4b, 0x50, 0x4b, 0x4c, 0x41, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x65, 0x61, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x67, 0x65, 0x61, 0x72, 0x49, 0x64, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4a, 0x46, 0x44, 0x4b, + 0x45, 0x4c, 0x44, 0x4c, 0x45, 0x4d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4a, 0x4a, 0x46, 0x44, 0x4b, 0x45, 0x4c, 0x44, 0x4c, 0x45, 0x4d, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_FGFMMFAKDEL_proto_rawDescOnce sync.Once + file_Unk2800_FGFMMFAKDEL_proto_rawDescData = file_Unk2800_FGFMMFAKDEL_proto_rawDesc +) + +func file_Unk2800_FGFMMFAKDEL_proto_rawDescGZIP() []byte { + file_Unk2800_FGFMMFAKDEL_proto_rawDescOnce.Do(func() { + file_Unk2800_FGFMMFAKDEL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_FGFMMFAKDEL_proto_rawDescData) + }) + return file_Unk2800_FGFMMFAKDEL_proto_rawDescData +} + +var file_Unk2800_FGFMMFAKDEL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_FGFMMFAKDEL_proto_goTypes = []interface{}{ + (*Unk2800_FGFMMFAKDEL)(nil), // 0: Unk2800_FGFMMFAKDEL +} +var file_Unk2800_FGFMMFAKDEL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_FGFMMFAKDEL_proto_init() } +func file_Unk2800_FGFMMFAKDEL_proto_init() { + if File_Unk2800_FGFMMFAKDEL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_FGFMMFAKDEL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_FGFMMFAKDEL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_FGFMMFAKDEL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_FGFMMFAKDEL_proto_goTypes, + DependencyIndexes: file_Unk2800_FGFMMFAKDEL_proto_depIdxs, + MessageInfos: file_Unk2800_FGFMMFAKDEL_proto_msgTypes, + }.Build() + File_Unk2800_FGFMMFAKDEL_proto = out.File + file_Unk2800_FGFMMFAKDEL_proto_rawDesc = nil + file_Unk2800_FGFMMFAKDEL_proto_goTypes = nil + file_Unk2800_FGFMMFAKDEL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.proto b/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.proto new file mode 100644 index 00000000..3f55b420 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FGFMMFAKDEL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_FGFMMFAKDEL { + uint32 Unk2800_HKEDPPELJDD = 7; + bool Unk2800_FOGGAIHLNOP = 3; + bool Unk2800_NKKMCEKPKLA = 2; + uint32 gear_id = 11; + uint32 Unk2800_JJFDKELDLEM = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.pb.go b/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.pb.go new file mode 100644 index 00000000..6392d9f7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_FHCJIICLONO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21025 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_FHCJIICLONO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,9,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_FHCJIICLONO) Reset() { + *x = Unk2800_FHCJIICLONO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_FHCJIICLONO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_FHCJIICLONO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_FHCJIICLONO) ProtoMessage() {} + +func (x *Unk2800_FHCJIICLONO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_FHCJIICLONO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_FHCJIICLONO.ProtoReflect.Descriptor instead. +func (*Unk2800_FHCJIICLONO) Descriptor() ([]byte, []int) { + return file_Unk2800_FHCJIICLONO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_FHCJIICLONO) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk2800_FHCJIICLONO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_FHCJIICLONO_proto protoreflect.FileDescriptor + +var file_Unk2800_FHCJIICLONO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x43, 0x4a, 0x49, 0x49, + 0x43, 0x4c, 0x4f, 0x4e, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x48, 0x43, 0x4a, 0x49, 0x49, 0x43, 0x4c, 0x4f, + 0x4e, 0x4f, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_FHCJIICLONO_proto_rawDescOnce sync.Once + file_Unk2800_FHCJIICLONO_proto_rawDescData = file_Unk2800_FHCJIICLONO_proto_rawDesc +) + +func file_Unk2800_FHCJIICLONO_proto_rawDescGZIP() []byte { + file_Unk2800_FHCJIICLONO_proto_rawDescOnce.Do(func() { + file_Unk2800_FHCJIICLONO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_FHCJIICLONO_proto_rawDescData) + }) + return file_Unk2800_FHCJIICLONO_proto_rawDescData +} + +var file_Unk2800_FHCJIICLONO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_FHCJIICLONO_proto_goTypes = []interface{}{ + (*Unk2800_FHCJIICLONO)(nil), // 0: Unk2800_FHCJIICLONO +} +var file_Unk2800_FHCJIICLONO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_FHCJIICLONO_proto_init() } +func file_Unk2800_FHCJIICLONO_proto_init() { + if File_Unk2800_FHCJIICLONO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_FHCJIICLONO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_FHCJIICLONO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_FHCJIICLONO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_FHCJIICLONO_proto_goTypes, + DependencyIndexes: file_Unk2800_FHCJIICLONO_proto_depIdxs, + MessageInfos: file_Unk2800_FHCJIICLONO_proto_msgTypes, + }.Build() + File_Unk2800_FHCJIICLONO_proto = out.File + file_Unk2800_FHCJIICLONO_proto_rawDesc = nil + file_Unk2800_FHCJIICLONO_proto_goTypes = nil + file_Unk2800_FHCJIICLONO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.proto b/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.proto new file mode 100644 index 00000000..6d3a15b5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FHCJIICLONO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21025 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_FHCJIICLONO { + uint32 level_id = 9; + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.pb.go b/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.pb.go new file mode 100644 index 00000000..8386bb29 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_FMAOEPEBKHB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_FMAOEPEBKHB int32 + +const ( + Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO Unk2800_FMAOEPEBKHB = 0 + Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_GFHGOAMCAJH Unk2800_FMAOEPEBKHB = 1 + Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_FOBCHIGNEJB Unk2800_FMAOEPEBKHB = 2 +) + +// Enum value maps for Unk2800_FMAOEPEBKHB. +var ( + Unk2800_FMAOEPEBKHB_name = map[int32]string{ + 0: "Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO", + 1: "Unk2800_FMAOEPEBKHB_Unk2800_GFHGOAMCAJH", + 2: "Unk2800_FMAOEPEBKHB_Unk2800_FOBCHIGNEJB", + } + Unk2800_FMAOEPEBKHB_value = map[string]int32{ + "Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO": 0, + "Unk2800_FMAOEPEBKHB_Unk2800_GFHGOAMCAJH": 1, + "Unk2800_FMAOEPEBKHB_Unk2800_FOBCHIGNEJB": 2, + } +) + +func (x Unk2800_FMAOEPEBKHB) Enum() *Unk2800_FMAOEPEBKHB { + p := new(Unk2800_FMAOEPEBKHB) + *p = x + return p +} + +func (x Unk2800_FMAOEPEBKHB) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2800_FMAOEPEBKHB) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2800_FMAOEPEBKHB_proto_enumTypes[0].Descriptor() +} + +func (Unk2800_FMAOEPEBKHB) Type() protoreflect.EnumType { + return &file_Unk2800_FMAOEPEBKHB_proto_enumTypes[0] +} + +func (x Unk2800_FMAOEPEBKHB) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2800_FMAOEPEBKHB.Descriptor instead. +func (Unk2800_FMAOEPEBKHB) EnumDescriptor() ([]byte, []int) { + return file_Unk2800_FMAOEPEBKHB_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_FMAOEPEBKHB_proto protoreflect.FileDescriptor + +var file_Unk2800_FMAOEPEBKHB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, + 0x45, 0x42, 0x4b, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, + 0x4b, 0x48, 0x42, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, + 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4d, 0x50, 0x50, 0x48, 0x46, 0x4c, 0x4b, 0x45, 0x4f, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, + 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x47, 0x46, 0x48, 0x47, 0x4f, 0x41, 0x4d, 0x43, 0x41, 0x4a, 0x48, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, + 0x42, 0x4b, 0x48, 0x42, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4f, 0x42, + 0x43, 0x48, 0x49, 0x47, 0x4e, 0x45, 0x4a, 0x42, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_FMAOEPEBKHB_proto_rawDescOnce sync.Once + file_Unk2800_FMAOEPEBKHB_proto_rawDescData = file_Unk2800_FMAOEPEBKHB_proto_rawDesc +) + +func file_Unk2800_FMAOEPEBKHB_proto_rawDescGZIP() []byte { + file_Unk2800_FMAOEPEBKHB_proto_rawDescOnce.Do(func() { + file_Unk2800_FMAOEPEBKHB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_FMAOEPEBKHB_proto_rawDescData) + }) + return file_Unk2800_FMAOEPEBKHB_proto_rawDescData +} + +var file_Unk2800_FMAOEPEBKHB_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2800_FMAOEPEBKHB_proto_goTypes = []interface{}{ + (Unk2800_FMAOEPEBKHB)(0), // 0: Unk2800_FMAOEPEBKHB +} +var file_Unk2800_FMAOEPEBKHB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_FMAOEPEBKHB_proto_init() } +func file_Unk2800_FMAOEPEBKHB_proto_init() { + if File_Unk2800_FMAOEPEBKHB_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_FMAOEPEBKHB_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_FMAOEPEBKHB_proto_goTypes, + DependencyIndexes: file_Unk2800_FMAOEPEBKHB_proto_depIdxs, + EnumInfos: file_Unk2800_FMAOEPEBKHB_proto_enumTypes, + }.Build() + File_Unk2800_FMAOEPEBKHB_proto = out.File + file_Unk2800_FMAOEPEBKHB_proto_rawDesc = nil + file_Unk2800_FMAOEPEBKHB_proto_goTypes = nil + file_Unk2800_FMAOEPEBKHB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.proto b/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.proto new file mode 100644 index 00000000..132c64e6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_FMAOEPEBKHB.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2800_FMAOEPEBKHB { + Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO = 0; + Unk2800_FMAOEPEBKHB_Unk2800_GFHGOAMCAJH = 1; + Unk2800_FMAOEPEBKHB_Unk2800_FOBCHIGNEJB = 2; +} diff --git a/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.pb.go b/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.pb.go new file mode 100644 index 00000000..22acf713 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_GDDLBKEENNA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24601 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_GDDLBKEENNA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,13,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,1,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + SettleInfoList []*Unk2800_BEMANDBNPJB `protobuf:"bytes,8,rep,name=settle_info_list,json=settleInfoList,proto3" json:"settle_info_list,omitempty"` + ScoreList []*ExhibitionDisplayInfo `protobuf:"bytes,6,rep,name=score_list,json=scoreList,proto3" json:"score_list,omitempty"` + Unk2700_CDDONJJMFCI uint32 `protobuf:"varint,15,opt,name=Unk2700_CDDONJJMFCI,json=Unk2700CDDONJJMFCI,proto3" json:"Unk2700_CDDONJJMFCI,omitempty"` +} + +func (x *Unk2800_GDDLBKEENNA) Reset() { + *x = Unk2800_GDDLBKEENNA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_GDDLBKEENNA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_GDDLBKEENNA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_GDDLBKEENNA) ProtoMessage() {} + +func (x *Unk2800_GDDLBKEENNA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_GDDLBKEENNA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_GDDLBKEENNA.ProtoReflect.Descriptor instead. +func (*Unk2800_GDDLBKEENNA) Descriptor() ([]byte, []int) { + return file_Unk2800_GDDLBKEENNA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_GDDLBKEENNA) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk2800_GDDLBKEENNA) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2800_GDDLBKEENNA) GetSettleInfoList() []*Unk2800_BEMANDBNPJB { + if x != nil { + return x.SettleInfoList + } + return nil +} + +func (x *Unk2800_GDDLBKEENNA) GetScoreList() []*ExhibitionDisplayInfo { + if x != nil { + return x.ScoreList + } + return nil +} + +func (x *Unk2800_GDDLBKEENNA) GetUnk2700_CDDONJJMFCI() uint32 { + if x != nil { + return x.Unk2700_CDDONJJMFCI + } + return 0 +} + +var File_Unk2800_GDDLBKEENNA_proto protoreflect.FileDescriptor + +var file_Unk2800_GDDLBKEENNA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x4c, 0x42, 0x4b, + 0x45, 0x45, 0x4e, 0x4e, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x45, 0x78, 0x68, + 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4d, + 0x41, 0x4e, 0x44, 0x42, 0x4e, 0x50, 0x4a, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, + 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x4c, 0x42, + 0x4b, 0x45, 0x45, 0x4e, 0x4e, 0x41, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, + 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, + 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x42, 0x45, 0x4d, + 0x41, 0x4e, 0x44, 0x42, 0x4e, 0x50, 0x4a, 0x42, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x45, + 0x78, 0x68, 0x69, 0x62, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x44, 0x44, 0x4f, 0x4e, + 0x4a, 0x4a, 0x4d, 0x46, 0x43, 0x49, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x43, 0x44, 0x44, 0x4f, 0x4e, 0x4a, 0x4a, 0x4d, 0x46, 0x43, 0x49, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_GDDLBKEENNA_proto_rawDescOnce sync.Once + file_Unk2800_GDDLBKEENNA_proto_rawDescData = file_Unk2800_GDDLBKEENNA_proto_rawDesc +) + +func file_Unk2800_GDDLBKEENNA_proto_rawDescGZIP() []byte { + file_Unk2800_GDDLBKEENNA_proto_rawDescOnce.Do(func() { + file_Unk2800_GDDLBKEENNA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_GDDLBKEENNA_proto_rawDescData) + }) + return file_Unk2800_GDDLBKEENNA_proto_rawDescData +} + +var file_Unk2800_GDDLBKEENNA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_GDDLBKEENNA_proto_goTypes = []interface{}{ + (*Unk2800_GDDLBKEENNA)(nil), // 0: Unk2800_GDDLBKEENNA + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP + (*Unk2800_BEMANDBNPJB)(nil), // 2: Unk2800_BEMANDBNPJB + (*ExhibitionDisplayInfo)(nil), // 3: ExhibitionDisplayInfo +} +var file_Unk2800_GDDLBKEENNA_proto_depIdxs = []int32{ + 1, // 0: Unk2800_GDDLBKEENNA.reason:type_name -> Unk2700_MOFABPNGIKP + 2, // 1: Unk2800_GDDLBKEENNA.settle_info_list:type_name -> Unk2800_BEMANDBNPJB + 3, // 2: Unk2800_GDDLBKEENNA.score_list:type_name -> ExhibitionDisplayInfo + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_Unk2800_GDDLBKEENNA_proto_init() } +func file_Unk2800_GDDLBKEENNA_proto_init() { + if File_Unk2800_GDDLBKEENNA_proto != nil { + return + } + file_ExhibitionDisplayInfo_proto_init() + file_Unk2700_MOFABPNGIKP_proto_init() + file_Unk2800_BEMANDBNPJB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_GDDLBKEENNA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_GDDLBKEENNA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_GDDLBKEENNA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_GDDLBKEENNA_proto_goTypes, + DependencyIndexes: file_Unk2800_GDDLBKEENNA_proto_depIdxs, + MessageInfos: file_Unk2800_GDDLBKEENNA_proto_msgTypes, + }.Build() + File_Unk2800_GDDLBKEENNA_proto = out.File + file_Unk2800_GDDLBKEENNA_proto_rawDesc = nil + file_Unk2800_GDDLBKEENNA_proto_goTypes = nil + file_Unk2800_GDDLBKEENNA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.proto b/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.proto new file mode 100644 index 00000000..5b28ef85 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_GDDLBKEENNA.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ExhibitionDisplayInfo.proto"; +import "Unk2700_MOFABPNGIKP.proto"; +import "Unk2800_BEMANDBNPJB.proto"; + +option go_package = "./;proto"; + +// CmdId: 24601 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_GDDLBKEENNA { + bool is_new_record = 13; + Unk2700_MOFABPNGIKP reason = 1; + repeated Unk2800_BEMANDBNPJB settle_info_list = 8; + repeated ExhibitionDisplayInfo score_list = 6; + uint32 Unk2700_CDDONJJMFCI = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.pb.go b/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.pb.go new file mode 100644 index 00000000..8fc146c1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_HHPCNJGKIPP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23388 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_HHPCNJGKIPP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_HHPCNJGKIPP) Reset() { + *x = Unk2800_HHPCNJGKIPP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_HHPCNJGKIPP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_HHPCNJGKIPP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_HHPCNJGKIPP) ProtoMessage() {} + +func (x *Unk2800_HHPCNJGKIPP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_HHPCNJGKIPP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_HHPCNJGKIPP.ProtoReflect.Descriptor instead. +func (*Unk2800_HHPCNJGKIPP) Descriptor() ([]byte, []int) { + return file_Unk2800_HHPCNJGKIPP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_HHPCNJGKIPP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_HHPCNJGKIPP_proto protoreflect.FileDescriptor + +var file_Unk2800_HHPCNJGKIPP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x50, 0x43, 0x4e, 0x4a, + 0x47, 0x4b, 0x49, 0x50, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x48, 0x50, 0x43, 0x4e, 0x4a, 0x47, 0x4b, 0x49, + 0x50, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_HHPCNJGKIPP_proto_rawDescOnce sync.Once + file_Unk2800_HHPCNJGKIPP_proto_rawDescData = file_Unk2800_HHPCNJGKIPP_proto_rawDesc +) + +func file_Unk2800_HHPCNJGKIPP_proto_rawDescGZIP() []byte { + file_Unk2800_HHPCNJGKIPP_proto_rawDescOnce.Do(func() { + file_Unk2800_HHPCNJGKIPP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_HHPCNJGKIPP_proto_rawDescData) + }) + return file_Unk2800_HHPCNJGKIPP_proto_rawDescData +} + +var file_Unk2800_HHPCNJGKIPP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_HHPCNJGKIPP_proto_goTypes = []interface{}{ + (*Unk2800_HHPCNJGKIPP)(nil), // 0: Unk2800_HHPCNJGKIPP +} +var file_Unk2800_HHPCNJGKIPP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_HHPCNJGKIPP_proto_init() } +func file_Unk2800_HHPCNJGKIPP_proto_init() { + if File_Unk2800_HHPCNJGKIPP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_HHPCNJGKIPP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_HHPCNJGKIPP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_HHPCNJGKIPP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_HHPCNJGKIPP_proto_goTypes, + DependencyIndexes: file_Unk2800_HHPCNJGKIPP_proto_depIdxs, + MessageInfos: file_Unk2800_HHPCNJGKIPP_proto_msgTypes, + }.Build() + File_Unk2800_HHPCNJGKIPP_proto = out.File + file_Unk2800_HHPCNJGKIPP_proto_rawDesc = nil + file_Unk2800_HHPCNJGKIPP_proto_goTypes = nil + file_Unk2800_HHPCNJGKIPP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.proto b/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.proto new file mode 100644 index 00000000..83c9e44d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_HHPCNJGKIPP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 23388 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_HHPCNJGKIPP { + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.pb.go b/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.pb.go new file mode 100644 index 00000000..ce9b8240 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_HKBAEOMCFOD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 145 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_HKBAEOMCFOD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GivingId uint32 `protobuf:"varint,10,opt,name=giving_id,json=givingId,proto3" json:"giving_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_HKBAEOMCFOD) Reset() { + *x = Unk2800_HKBAEOMCFOD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_HKBAEOMCFOD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_HKBAEOMCFOD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_HKBAEOMCFOD) ProtoMessage() {} + +func (x *Unk2800_HKBAEOMCFOD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_HKBAEOMCFOD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_HKBAEOMCFOD.ProtoReflect.Descriptor instead. +func (*Unk2800_HKBAEOMCFOD) Descriptor() ([]byte, []int) { + return file_Unk2800_HKBAEOMCFOD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_HKBAEOMCFOD) GetGivingId() uint32 { + if x != nil { + return x.GivingId + } + return 0 +} + +func (x *Unk2800_HKBAEOMCFOD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_HKBAEOMCFOD_proto protoreflect.FileDescriptor + +var file_Unk2800_HKBAEOMCFOD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x42, 0x41, 0x45, 0x4f, + 0x4d, 0x43, 0x46, 0x4f, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x42, 0x41, 0x45, 0x4f, 0x4d, 0x43, 0x46, + 0x4f, 0x44, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_HKBAEOMCFOD_proto_rawDescOnce sync.Once + file_Unk2800_HKBAEOMCFOD_proto_rawDescData = file_Unk2800_HKBAEOMCFOD_proto_rawDesc +) + +func file_Unk2800_HKBAEOMCFOD_proto_rawDescGZIP() []byte { + file_Unk2800_HKBAEOMCFOD_proto_rawDescOnce.Do(func() { + file_Unk2800_HKBAEOMCFOD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_HKBAEOMCFOD_proto_rawDescData) + }) + return file_Unk2800_HKBAEOMCFOD_proto_rawDescData +} + +var file_Unk2800_HKBAEOMCFOD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_HKBAEOMCFOD_proto_goTypes = []interface{}{ + (*Unk2800_HKBAEOMCFOD)(nil), // 0: Unk2800_HKBAEOMCFOD +} +var file_Unk2800_HKBAEOMCFOD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_HKBAEOMCFOD_proto_init() } +func file_Unk2800_HKBAEOMCFOD_proto_init() { + if File_Unk2800_HKBAEOMCFOD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_HKBAEOMCFOD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_HKBAEOMCFOD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_HKBAEOMCFOD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_HKBAEOMCFOD_proto_goTypes, + DependencyIndexes: file_Unk2800_HKBAEOMCFOD_proto_depIdxs, + MessageInfos: file_Unk2800_HKBAEOMCFOD_proto_msgTypes, + }.Build() + File_Unk2800_HKBAEOMCFOD_proto = out.File + file_Unk2800_HKBAEOMCFOD_proto_rawDesc = nil + file_Unk2800_HKBAEOMCFOD_proto_goTypes = nil + file_Unk2800_HKBAEOMCFOD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.proto b/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.proto new file mode 100644 index 00000000..d338ce7b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_HKBAEOMCFOD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 145 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_HKBAEOMCFOD { + uint32 giving_id = 10; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.pb.go b/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.pb.go new file mode 100644 index 00000000..ec9cd4d4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IBDOMAIDPGK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5594 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_IBDOMAIDPGK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_ENJGEFBCLOL Unk2800_FMAOEPEBKHB `protobuf:"varint,11,opt,name=Unk2800_ENJGEFBCLOL,json=Unk2800ENJGEFBCLOL,proto3,enum=Unk2800_FMAOEPEBKHB" json:"Unk2800_ENJGEFBCLOL,omitempty"` + EndTime uint32 `protobuf:"varint,12,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Unk2800_OCCCDEMDONA bool `protobuf:"varint,7,opt,name=Unk2800_OCCCDEMDONA,json=Unk2800OCCCDEMDONA,proto3" json:"Unk2800_OCCCDEMDONA,omitempty"` + GalleryId uint32 `protobuf:"varint,14,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2800_IBDOMAIDPGK) Reset() { + *x = Unk2800_IBDOMAIDPGK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_IBDOMAIDPGK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_IBDOMAIDPGK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_IBDOMAIDPGK) ProtoMessage() {} + +func (x *Unk2800_IBDOMAIDPGK) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_IBDOMAIDPGK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_IBDOMAIDPGK.ProtoReflect.Descriptor instead. +func (*Unk2800_IBDOMAIDPGK) Descriptor() ([]byte, []int) { + return file_Unk2800_IBDOMAIDPGK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_IBDOMAIDPGK) GetUnk2800_ENJGEFBCLOL() Unk2800_FMAOEPEBKHB { + if x != nil { + return x.Unk2800_ENJGEFBCLOL + } + return Unk2800_FMAOEPEBKHB_Unk2800_FMAOEPEBKHB_Unk2800_IBMPPHFLKEO +} + +func (x *Unk2800_IBDOMAIDPGK) GetEndTime() uint32 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *Unk2800_IBDOMAIDPGK) GetUnk2800_OCCCDEMDONA() bool { + if x != nil { + return x.Unk2800_OCCCDEMDONA + } + return false +} + +func (x *Unk2800_IBDOMAIDPGK) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2800_IBDOMAIDPGK_proto protoreflect.FileDescriptor + +var file_Unk2800_IBDOMAIDPGK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x44, 0x4f, 0x4d, 0x41, + 0x49, 0x44, 0x50, 0x47, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x49, 0x42, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x44, 0x50, 0x47, 0x4b, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4a, 0x47, 0x45, 0x46, + 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x4d, 0x41, 0x4f, 0x45, 0x50, 0x45, 0x42, 0x4b, 0x48, + 0x42, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x4e, 0x4a, 0x47, 0x45, 0x46, + 0x42, 0x43, 0x4c, 0x4f, 0x4c, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x43, 0x43, + 0x44, 0x45, 0x4d, 0x44, 0x4f, 0x4e, 0x41, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4f, 0x43, 0x43, 0x43, 0x44, 0x45, 0x4d, 0x44, 0x4f, 0x4e, + 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_IBDOMAIDPGK_proto_rawDescOnce sync.Once + file_Unk2800_IBDOMAIDPGK_proto_rawDescData = file_Unk2800_IBDOMAIDPGK_proto_rawDesc +) + +func file_Unk2800_IBDOMAIDPGK_proto_rawDescGZIP() []byte { + file_Unk2800_IBDOMAIDPGK_proto_rawDescOnce.Do(func() { + file_Unk2800_IBDOMAIDPGK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IBDOMAIDPGK_proto_rawDescData) + }) + return file_Unk2800_IBDOMAIDPGK_proto_rawDescData +} + +var file_Unk2800_IBDOMAIDPGK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_IBDOMAIDPGK_proto_goTypes = []interface{}{ + (*Unk2800_IBDOMAIDPGK)(nil), // 0: Unk2800_IBDOMAIDPGK + (Unk2800_FMAOEPEBKHB)(0), // 1: Unk2800_FMAOEPEBKHB +} +var file_Unk2800_IBDOMAIDPGK_proto_depIdxs = []int32{ + 1, // 0: Unk2800_IBDOMAIDPGK.Unk2800_ENJGEFBCLOL:type_name -> Unk2800_FMAOEPEBKHB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_IBDOMAIDPGK_proto_init() } +func file_Unk2800_IBDOMAIDPGK_proto_init() { + if File_Unk2800_IBDOMAIDPGK_proto != nil { + return + } + file_Unk2800_FMAOEPEBKHB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_IBDOMAIDPGK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_IBDOMAIDPGK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IBDOMAIDPGK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IBDOMAIDPGK_proto_goTypes, + DependencyIndexes: file_Unk2800_IBDOMAIDPGK_proto_depIdxs, + MessageInfos: file_Unk2800_IBDOMAIDPGK_proto_msgTypes, + }.Build() + File_Unk2800_IBDOMAIDPGK_proto = out.File + file_Unk2800_IBDOMAIDPGK_proto_rawDesc = nil + file_Unk2800_IBDOMAIDPGK_proto_goTypes = nil + file_Unk2800_IBDOMAIDPGK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.proto b/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.proto new file mode 100644 index 00000000..65ba7ea3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IBDOMAIDPGK.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FMAOEPEBKHB.proto"; + +option go_package = "./;proto"; + +// CmdId: 5594 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_IBDOMAIDPGK { + Unk2800_FMAOEPEBKHB Unk2800_ENJGEFBCLOL = 11; + uint32 end_time = 12; + bool Unk2800_OCCCDEMDONA = 7; + uint32 gallery_id = 14; +} diff --git a/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.pb.go b/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.pb.go new file mode 100644 index 00000000..867b47ec --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IECLGDFOMFJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8513 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_IECLGDFOMFJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleId uint32 `protobuf:"varint,14,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` + Unk2800_KOMIPKKKOBE []*Unk2800_PHPHMILPOLC `protobuf:"bytes,3,rep,name=Unk2800_KOMIPKKKOBE,json=Unk2800KOMIPKKKOBE,proto3" json:"Unk2800_KOMIPKKKOBE,omitempty"` + ActivityId uint32 `protobuf:"varint,10,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2800_IECLGDFOMFJ) Reset() { + *x = Unk2800_IECLGDFOMFJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_IECLGDFOMFJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_IECLGDFOMFJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_IECLGDFOMFJ) ProtoMessage() {} + +func (x *Unk2800_IECLGDFOMFJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_IECLGDFOMFJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_IECLGDFOMFJ.ProtoReflect.Descriptor instead. +func (*Unk2800_IECLGDFOMFJ) Descriptor() ([]byte, []int) { + return file_Unk2800_IECLGDFOMFJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_IECLGDFOMFJ) GetScheduleId() uint32 { + if x != nil { + return x.ScheduleId + } + return 0 +} + +func (x *Unk2800_IECLGDFOMFJ) GetUnk2800_KOMIPKKKOBE() []*Unk2800_PHPHMILPOLC { + if x != nil { + return x.Unk2800_KOMIPKKKOBE + } + return nil +} + +func (x *Unk2800_IECLGDFOMFJ) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2800_IECLGDFOMFJ_proto protoreflect.FileDescriptor + +var file_Unk2800_IECLGDFOMFJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x45, 0x43, 0x4c, 0x47, 0x44, + 0x46, 0x4f, 0x4d, 0x46, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x50, 0x48, 0x4d, 0x49, 0x4c, 0x50, 0x4f, 0x4c, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x49, 0x45, 0x43, 0x4c, 0x47, 0x44, 0x46, 0x4f, 0x4d, 0x46, 0x4a, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x4d, 0x49, 0x50, + 0x4b, 0x4b, 0x4b, 0x4f, 0x42, 0x45, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x50, 0x48, 0x4d, 0x49, 0x4c, 0x50, 0x4f, + 0x4c, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4b, 0x4f, 0x4d, 0x49, 0x50, + 0x4b, 0x4b, 0x4b, 0x4f, 0x42, 0x45, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_IECLGDFOMFJ_proto_rawDescOnce sync.Once + file_Unk2800_IECLGDFOMFJ_proto_rawDescData = file_Unk2800_IECLGDFOMFJ_proto_rawDesc +) + +func file_Unk2800_IECLGDFOMFJ_proto_rawDescGZIP() []byte { + file_Unk2800_IECLGDFOMFJ_proto_rawDescOnce.Do(func() { + file_Unk2800_IECLGDFOMFJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IECLGDFOMFJ_proto_rawDescData) + }) + return file_Unk2800_IECLGDFOMFJ_proto_rawDescData +} + +var file_Unk2800_IECLGDFOMFJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_IECLGDFOMFJ_proto_goTypes = []interface{}{ + (*Unk2800_IECLGDFOMFJ)(nil), // 0: Unk2800_IECLGDFOMFJ + (*Unk2800_PHPHMILPOLC)(nil), // 1: Unk2800_PHPHMILPOLC +} +var file_Unk2800_IECLGDFOMFJ_proto_depIdxs = []int32{ + 1, // 0: Unk2800_IECLGDFOMFJ.Unk2800_KOMIPKKKOBE:type_name -> Unk2800_PHPHMILPOLC + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_IECLGDFOMFJ_proto_init() } +func file_Unk2800_IECLGDFOMFJ_proto_init() { + if File_Unk2800_IECLGDFOMFJ_proto != nil { + return + } + file_Unk2800_PHPHMILPOLC_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_IECLGDFOMFJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_IECLGDFOMFJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IECLGDFOMFJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IECLGDFOMFJ_proto_goTypes, + DependencyIndexes: file_Unk2800_IECLGDFOMFJ_proto_depIdxs, + MessageInfos: file_Unk2800_IECLGDFOMFJ_proto_msgTypes, + }.Build() + File_Unk2800_IECLGDFOMFJ_proto = out.File + file_Unk2800_IECLGDFOMFJ_proto_rawDesc = nil + file_Unk2800_IECLGDFOMFJ_proto_goTypes = nil + file_Unk2800_IECLGDFOMFJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.proto b/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.proto new file mode 100644 index 00000000..3d11c349 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IECLGDFOMFJ.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_PHPHMILPOLC.proto"; + +option go_package = "./;proto"; + +// CmdId: 8513 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_IECLGDFOMFJ { + uint32 schedule_id = 14; + repeated Unk2800_PHPHMILPOLC Unk2800_KOMIPKKKOBE = 3; + uint32 activity_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.pb.go b/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.pb.go new file mode 100644 index 00000000..febbdf3e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IGKGDAGGCEC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1684 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_IGKGDAGGCEC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurAvatarGuid uint64 `protobuf:"varint,8,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` + AvatarTeamGuidList []uint64 `protobuf:"varint,3,rep,packed,name=avatar_team_guid_list,json=avatarTeamGuidList,proto3" json:"avatar_team_guid_list,omitempty"` +} + +func (x *Unk2800_IGKGDAGGCEC) Reset() { + *x = Unk2800_IGKGDAGGCEC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_IGKGDAGGCEC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_IGKGDAGGCEC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_IGKGDAGGCEC) ProtoMessage() {} + +func (x *Unk2800_IGKGDAGGCEC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_IGKGDAGGCEC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_IGKGDAGGCEC.ProtoReflect.Descriptor instead. +func (*Unk2800_IGKGDAGGCEC) Descriptor() ([]byte, []int) { + return file_Unk2800_IGKGDAGGCEC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_IGKGDAGGCEC) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +func (x *Unk2800_IGKGDAGGCEC) GetAvatarTeamGuidList() []uint64 { + if x != nil { + return x.AvatarTeamGuidList + } + return nil +} + +var File_Unk2800_IGKGDAGGCEC_proto protoreflect.FileDescriptor + +var file_Unk2800_IGKGDAGGCEC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4b, 0x47, 0x44, 0x41, + 0x47, 0x47, 0x43, 0x45, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x4b, 0x47, 0x44, 0x41, 0x47, 0x47, 0x43, + 0x45, 0x43, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x75, 0x72, + 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x15, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk2800_IGKGDAGGCEC_proto_rawDescOnce sync.Once + file_Unk2800_IGKGDAGGCEC_proto_rawDescData = file_Unk2800_IGKGDAGGCEC_proto_rawDesc +) + +func file_Unk2800_IGKGDAGGCEC_proto_rawDescGZIP() []byte { + file_Unk2800_IGKGDAGGCEC_proto_rawDescOnce.Do(func() { + file_Unk2800_IGKGDAGGCEC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IGKGDAGGCEC_proto_rawDescData) + }) + return file_Unk2800_IGKGDAGGCEC_proto_rawDescData +} + +var file_Unk2800_IGKGDAGGCEC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_IGKGDAGGCEC_proto_goTypes = []interface{}{ + (*Unk2800_IGKGDAGGCEC)(nil), // 0: Unk2800_IGKGDAGGCEC +} +var file_Unk2800_IGKGDAGGCEC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_IGKGDAGGCEC_proto_init() } +func file_Unk2800_IGKGDAGGCEC_proto_init() { + if File_Unk2800_IGKGDAGGCEC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_IGKGDAGGCEC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_IGKGDAGGCEC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IGKGDAGGCEC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IGKGDAGGCEC_proto_goTypes, + DependencyIndexes: file_Unk2800_IGKGDAGGCEC_proto_depIdxs, + MessageInfos: file_Unk2800_IGKGDAGGCEC_proto_msgTypes, + }.Build() + File_Unk2800_IGKGDAGGCEC_proto = out.File + file_Unk2800_IGKGDAGGCEC_proto_rawDesc = nil + file_Unk2800_IGKGDAGGCEC_proto_goTypes = nil + file_Unk2800_IGKGDAGGCEC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.proto b/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.proto new file mode 100644 index 00000000..a87288e5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IGKGDAGGCEC.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1684 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_IGKGDAGGCEC { + uint64 cur_avatar_guid = 8; + repeated uint64 avatar_team_guid_list = 3; +} diff --git a/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.pb.go b/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.pb.go new file mode 100644 index 00000000..879e180b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IILBEPIEBJO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8476 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_IILBEPIEBJO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,5,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2800_IILBEPIEBJO) Reset() { + *x = Unk2800_IILBEPIEBJO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_IILBEPIEBJO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_IILBEPIEBJO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_IILBEPIEBJO) ProtoMessage() {} + +func (x *Unk2800_IILBEPIEBJO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_IILBEPIEBJO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_IILBEPIEBJO.ProtoReflect.Descriptor instead. +func (*Unk2800_IILBEPIEBJO) Descriptor() ([]byte, []int) { + return file_Unk2800_IILBEPIEBJO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_IILBEPIEBJO) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2800_IILBEPIEBJO_proto protoreflect.FileDescriptor + +var file_Unk2800_IILBEPIEBJO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x4c, 0x42, 0x45, 0x50, + 0x49, 0x45, 0x42, 0x4a, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x4c, 0x42, 0x45, 0x50, 0x49, 0x45, 0x42, + 0x4a, 0x4f, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_IILBEPIEBJO_proto_rawDescOnce sync.Once + file_Unk2800_IILBEPIEBJO_proto_rawDescData = file_Unk2800_IILBEPIEBJO_proto_rawDesc +) + +func file_Unk2800_IILBEPIEBJO_proto_rawDescGZIP() []byte { + file_Unk2800_IILBEPIEBJO_proto_rawDescOnce.Do(func() { + file_Unk2800_IILBEPIEBJO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IILBEPIEBJO_proto_rawDescData) + }) + return file_Unk2800_IILBEPIEBJO_proto_rawDescData +} + +var file_Unk2800_IILBEPIEBJO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_IILBEPIEBJO_proto_goTypes = []interface{}{ + (*Unk2800_IILBEPIEBJO)(nil), // 0: Unk2800_IILBEPIEBJO +} +var file_Unk2800_IILBEPIEBJO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_IILBEPIEBJO_proto_init() } +func file_Unk2800_IILBEPIEBJO_proto_init() { + if File_Unk2800_IILBEPIEBJO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_IILBEPIEBJO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_IILBEPIEBJO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IILBEPIEBJO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IILBEPIEBJO_proto_goTypes, + DependencyIndexes: file_Unk2800_IILBEPIEBJO_proto_depIdxs, + MessageInfos: file_Unk2800_IILBEPIEBJO_proto_msgTypes, + }.Build() + File_Unk2800_IILBEPIEBJO_proto = out.File + file_Unk2800_IILBEPIEBJO_proto_rawDesc = nil + file_Unk2800_IILBEPIEBJO_proto_goTypes = nil + file_Unk2800_IILBEPIEBJO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.proto b/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.proto new file mode 100644 index 00000000..2faf14ae --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IILBEPIEBJO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8476 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_IILBEPIEBJO { + uint32 gallery_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.pb.go b/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.pb.go new file mode 100644 index 00000000..ab0a1d89 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_ILKIAECAAKG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3004 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_ILKIAECAAKG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReminderId uint32 `protobuf:"varint,15,opt,name=reminder_id,json=reminderId,proto3" json:"reminder_id,omitempty"` +} + +func (x *Unk2800_ILKIAECAAKG) Reset() { + *x = Unk2800_ILKIAECAAKG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_ILKIAECAAKG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_ILKIAECAAKG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_ILKIAECAAKG) ProtoMessage() {} + +func (x *Unk2800_ILKIAECAAKG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_ILKIAECAAKG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_ILKIAECAAKG.ProtoReflect.Descriptor instead. +func (*Unk2800_ILKIAECAAKG) Descriptor() ([]byte, []int) { + return file_Unk2800_ILKIAECAAKG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_ILKIAECAAKG) GetReminderId() uint32 { + if x != nil { + return x.ReminderId + } + return 0 +} + +var File_Unk2800_ILKIAECAAKG_proto protoreflect.FileDescriptor + +var file_Unk2800_ILKIAECAAKG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4b, 0x49, 0x41, 0x45, + 0x43, 0x41, 0x41, 0x4b, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4b, 0x49, 0x41, 0x45, 0x43, 0x41, 0x41, + 0x4b, 0x47, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_ILKIAECAAKG_proto_rawDescOnce sync.Once + file_Unk2800_ILKIAECAAKG_proto_rawDescData = file_Unk2800_ILKIAECAAKG_proto_rawDesc +) + +func file_Unk2800_ILKIAECAAKG_proto_rawDescGZIP() []byte { + file_Unk2800_ILKIAECAAKG_proto_rawDescOnce.Do(func() { + file_Unk2800_ILKIAECAAKG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_ILKIAECAAKG_proto_rawDescData) + }) + return file_Unk2800_ILKIAECAAKG_proto_rawDescData +} + +var file_Unk2800_ILKIAECAAKG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_ILKIAECAAKG_proto_goTypes = []interface{}{ + (*Unk2800_ILKIAECAAKG)(nil), // 0: Unk2800_ILKIAECAAKG +} +var file_Unk2800_ILKIAECAAKG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_ILKIAECAAKG_proto_init() } +func file_Unk2800_ILKIAECAAKG_proto_init() { + if File_Unk2800_ILKIAECAAKG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_ILKIAECAAKG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_ILKIAECAAKG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_ILKIAECAAKG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_ILKIAECAAKG_proto_goTypes, + DependencyIndexes: file_Unk2800_ILKIAECAAKG_proto_depIdxs, + MessageInfos: file_Unk2800_ILKIAECAAKG_proto_msgTypes, + }.Build() + File_Unk2800_ILKIAECAAKG_proto = out.File + file_Unk2800_ILKIAECAAKG_proto_rawDesc = nil + file_Unk2800_ILKIAECAAKG_proto_goTypes = nil + file_Unk2800_ILKIAECAAKG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.proto b/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.proto new file mode 100644 index 00000000..eeadeea6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_ILKIAECAAKG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3004 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_ILKIAECAAKG { + uint32 reminder_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.pb.go b/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.pb.go new file mode 100644 index 00000000..bbb8175d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IMLDGLIMODE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_IMLDGLIMODE int32 + +const ( + Unk2800_IMLDGLIMODE_Unk2800_IMLDGLIMODE_NONE Unk2800_IMLDGLIMODE = 0 + Unk2800_IMLDGLIMODE_Unk2800_IMLDGLIMODE_Unk2800_FIPMFJALDJM Unk2800_IMLDGLIMODE = 1 + Unk2800_IMLDGLIMODE_Unk2800_IMLDGLIMODE_Unk2800_OFNLGLLMMED Unk2800_IMLDGLIMODE = 2 +) + +// Enum value maps for Unk2800_IMLDGLIMODE. +var ( + Unk2800_IMLDGLIMODE_name = map[int32]string{ + 0: "Unk2800_IMLDGLIMODE_NONE", + 1: "Unk2800_IMLDGLIMODE_Unk2800_FIPMFJALDJM", + 2: "Unk2800_IMLDGLIMODE_Unk2800_OFNLGLLMMED", + } + Unk2800_IMLDGLIMODE_value = map[string]int32{ + "Unk2800_IMLDGLIMODE_NONE": 0, + "Unk2800_IMLDGLIMODE_Unk2800_FIPMFJALDJM": 1, + "Unk2800_IMLDGLIMODE_Unk2800_OFNLGLLMMED": 2, + } +) + +func (x Unk2800_IMLDGLIMODE) Enum() *Unk2800_IMLDGLIMODE { + p := new(Unk2800_IMLDGLIMODE) + *p = x + return p +} + +func (x Unk2800_IMLDGLIMODE) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk2800_IMLDGLIMODE) Descriptor() protoreflect.EnumDescriptor { + return file_Unk2800_IMLDGLIMODE_proto_enumTypes[0].Descriptor() +} + +func (Unk2800_IMLDGLIMODE) Type() protoreflect.EnumType { + return &file_Unk2800_IMLDGLIMODE_proto_enumTypes[0] +} + +func (x Unk2800_IMLDGLIMODE) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk2800_IMLDGLIMODE.Descriptor instead. +func (Unk2800_IMLDGLIMODE) EnumDescriptor() ([]byte, []int) { + return file_Unk2800_IMLDGLIMODE_proto_rawDescGZIP(), []int{0} +} + +var File_Unk2800_IMLDGLIMODE_proto protoreflect.FileDescriptor + +var file_Unk2800_IMLDGLIMODE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, 0x47, 0x4c, + 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x8d, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, 0x47, 0x4c, 0x49, 0x4d, + 0x4f, 0x44, 0x45, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, + 0x4d, 0x4c, 0x44, 0x47, 0x4c, 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, + 0x44, 0x47, 0x4c, 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x46, 0x49, 0x50, 0x4d, 0x46, 0x4a, 0x41, 0x4c, 0x44, 0x4a, 0x4d, 0x10, 0x01, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, 0x47, 0x4c, + 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x46, + 0x4e, 0x4c, 0x47, 0x4c, 0x4c, 0x4d, 0x4d, 0x45, 0x44, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_IMLDGLIMODE_proto_rawDescOnce sync.Once + file_Unk2800_IMLDGLIMODE_proto_rawDescData = file_Unk2800_IMLDGLIMODE_proto_rawDesc +) + +func file_Unk2800_IMLDGLIMODE_proto_rawDescGZIP() []byte { + file_Unk2800_IMLDGLIMODE_proto_rawDescOnce.Do(func() { + file_Unk2800_IMLDGLIMODE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IMLDGLIMODE_proto_rawDescData) + }) + return file_Unk2800_IMLDGLIMODE_proto_rawDescData +} + +var file_Unk2800_IMLDGLIMODE_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk2800_IMLDGLIMODE_proto_goTypes = []interface{}{ + (Unk2800_IMLDGLIMODE)(0), // 0: Unk2800_IMLDGLIMODE +} +var file_Unk2800_IMLDGLIMODE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_IMLDGLIMODE_proto_init() } +func file_Unk2800_IMLDGLIMODE_proto_init() { + if File_Unk2800_IMLDGLIMODE_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IMLDGLIMODE_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IMLDGLIMODE_proto_goTypes, + DependencyIndexes: file_Unk2800_IMLDGLIMODE_proto_depIdxs, + EnumInfos: file_Unk2800_IMLDGLIMODE_proto_enumTypes, + }.Build() + File_Unk2800_IMLDGLIMODE_proto = out.File + file_Unk2800_IMLDGLIMODE_proto_rawDesc = nil + file_Unk2800_IMLDGLIMODE_proto_goTypes = nil + file_Unk2800_IMLDGLIMODE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.proto b/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.proto new file mode 100644 index 00000000..a4f3b412 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IMLDGLIMODE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk2800_IMLDGLIMODE { + Unk2800_IMLDGLIMODE_NONE = 0; + Unk2800_IMLDGLIMODE_Unk2800_FIPMFJALDJM = 1; + Unk2800_IMLDGLIMODE_Unk2800_OFNLGLLMMED = 2; +} diff --git a/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.pb.go b/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.pb.go new file mode 100644 index 00000000..74e0bae0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.pb.go @@ -0,0 +1,214 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_IOBHBFFAONO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_IOBHBFFAONO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param1 uint32 `protobuf:"varint,7,opt,name=param1,proto3" json:"param1,omitempty"` + Param2 uint32 `protobuf:"varint,2,opt,name=param2,proto3" json:"param2,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,3,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + Param3 uint32 `protobuf:"varint,6,opt,name=param3,proto3" json:"param3,omitempty"` + Unk2800_NGGPIECNHJA uint32 `protobuf:"varint,12,opt,name=Unk2800_NGGPIECNHJA,json=Unk2800NGGPIECNHJA,proto3" json:"Unk2800_NGGPIECNHJA,omitempty"` + GalleryId uint32 `protobuf:"varint,1,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2800_IOBHBFFAONO) Reset() { + *x = Unk2800_IOBHBFFAONO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_IOBHBFFAONO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_IOBHBFFAONO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_IOBHBFFAONO) ProtoMessage() {} + +func (x *Unk2800_IOBHBFFAONO) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_IOBHBFFAONO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_IOBHBFFAONO.ProtoReflect.Descriptor instead. +func (*Unk2800_IOBHBFFAONO) Descriptor() ([]byte, []int) { + return file_Unk2800_IOBHBFFAONO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_IOBHBFFAONO) GetParam1() uint32 { + if x != nil { + return x.Param1 + } + return 0 +} + +func (x *Unk2800_IOBHBFFAONO) GetParam2() uint32 { + if x != nil { + return x.Param2 + } + return 0 +} + +func (x *Unk2800_IOBHBFFAONO) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk2800_IOBHBFFAONO) GetParam3() uint32 { + if x != nil { + return x.Param3 + } + return 0 +} + +func (x *Unk2800_IOBHBFFAONO) GetUnk2800_NGGPIECNHJA() uint32 { + if x != nil { + return x.Unk2800_NGGPIECNHJA + } + return 0 +} + +func (x *Unk2800_IOBHBFFAONO) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2800_IOBHBFFAONO_proto protoreflect.FileDescriptor + +var file_Unk2800_IOBHBFFAONO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x42, 0x48, 0x42, 0x46, + 0x46, 0x41, 0x4f, 0x4e, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x42, 0x48, 0x42, 0x46, 0x46, 0x41, 0x4f, 0x4e, 0x4f, 0x12, 0x16, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x2c, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, + 0x47, 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x33, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x4e, 0x47, 0x47, 0x50, 0x49, 0x45, 0x43, 0x4e, 0x48, 0x4a, 0x41, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4e, 0x47, 0x47, 0x50, 0x49, 0x45, + 0x43, 0x4e, 0x48, 0x4a, 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_IOBHBFFAONO_proto_rawDescOnce sync.Once + file_Unk2800_IOBHBFFAONO_proto_rawDescData = file_Unk2800_IOBHBFFAONO_proto_rawDesc +) + +func file_Unk2800_IOBHBFFAONO_proto_rawDescGZIP() []byte { + file_Unk2800_IOBHBFFAONO_proto_rawDescOnce.Do(func() { + file_Unk2800_IOBHBFFAONO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_IOBHBFFAONO_proto_rawDescData) + }) + return file_Unk2800_IOBHBFFAONO_proto_rawDescData +} + +var file_Unk2800_IOBHBFFAONO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_IOBHBFFAONO_proto_goTypes = []interface{}{ + (*Unk2800_IOBHBFFAONO)(nil), // 0: Unk2800_IOBHBFFAONO + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk2800_IOBHBFFAONO_proto_depIdxs = []int32{ + 1, // 0: Unk2800_IOBHBFFAONO.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_IOBHBFFAONO_proto_init() } +func file_Unk2800_IOBHBFFAONO_proto_init() { + if File_Unk2800_IOBHBFFAONO_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_IOBHBFFAONO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_IOBHBFFAONO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_IOBHBFFAONO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_IOBHBFFAONO_proto_goTypes, + DependencyIndexes: file_Unk2800_IOBHBFFAONO_proto_depIdxs, + MessageInfos: file_Unk2800_IOBHBFFAONO_proto_msgTypes, + }.Build() + File_Unk2800_IOBHBFFAONO_proto = out.File + file_Unk2800_IOBHBFFAONO_proto_rawDesc = nil + file_Unk2800_IOBHBFFAONO_proto_goTypes = nil + file_Unk2800_IOBHBFFAONO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.proto b/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.proto new file mode 100644 index 00000000..f1c2f49e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_IOBHBFFAONO.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +message Unk2800_IOBHBFFAONO { + uint32 param1 = 7; + uint32 param2 = 2; + Unk2700_MOFABPNGIKP reason = 3; + uint32 param3 = 6; + uint32 Unk2800_NGGPIECNHJA = 12; + uint32 gallery_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.pb.go b/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.pb.go new file mode 100644 index 00000000..6c4b5ec3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_JCPNICABMAF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5504 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_JCPNICABMAF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Coin uint32 `protobuf:"varint,10,opt,name=coin,proto3" json:"coin,omitempty"` + Stage Unk2800_IMLDGLIMODE `protobuf:"varint,8,opt,name=stage,proto3,enum=Unk2800_IMLDGLIMODE" json:"stage,omitempty"` + KillMonsterCount uint32 `protobuf:"varint,4,opt,name=kill_monster_count,json=killMonsterCount,proto3" json:"kill_monster_count,omitempty"` + Progress uint32 `protobuf:"varint,15,opt,name=progress,proto3" json:"progress,omitempty"` +} + +func (x *Unk2800_JCPNICABMAF) Reset() { + *x = Unk2800_JCPNICABMAF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_JCPNICABMAF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_JCPNICABMAF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_JCPNICABMAF) ProtoMessage() {} + +func (x *Unk2800_JCPNICABMAF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_JCPNICABMAF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_JCPNICABMAF.ProtoReflect.Descriptor instead. +func (*Unk2800_JCPNICABMAF) Descriptor() ([]byte, []int) { + return file_Unk2800_JCPNICABMAF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_JCPNICABMAF) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *Unk2800_JCPNICABMAF) GetStage() Unk2800_IMLDGLIMODE { + if x != nil { + return x.Stage + } + return Unk2800_IMLDGLIMODE_Unk2800_IMLDGLIMODE_NONE +} + +func (x *Unk2800_JCPNICABMAF) GetKillMonsterCount() uint32 { + if x != nil { + return x.KillMonsterCount + } + return 0 +} + +func (x *Unk2800_JCPNICABMAF) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +var File_Unk2800_JCPNICABMAF_proto protoreflect.FileDescriptor + +var file_Unk2800_JCPNICABMAF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x50, 0x4e, 0x49, 0x43, + 0x41, 0x42, 0x4d, 0x41, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, 0x47, 0x4c, 0x49, 0x4d, 0x4f, 0x44, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x4a, 0x43, 0x50, 0x4e, 0x49, 0x43, 0x41, 0x42, 0x4d, 0x41, 0x46, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, + 0x69, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x44, + 0x47, 0x4c, 0x49, 0x4d, 0x4f, 0x44, 0x45, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6b, 0x69, 0x6c, 0x6c, + 0x4d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_JCPNICABMAF_proto_rawDescOnce sync.Once + file_Unk2800_JCPNICABMAF_proto_rawDescData = file_Unk2800_JCPNICABMAF_proto_rawDesc +) + +func file_Unk2800_JCPNICABMAF_proto_rawDescGZIP() []byte { + file_Unk2800_JCPNICABMAF_proto_rawDescOnce.Do(func() { + file_Unk2800_JCPNICABMAF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_JCPNICABMAF_proto_rawDescData) + }) + return file_Unk2800_JCPNICABMAF_proto_rawDescData +} + +var file_Unk2800_JCPNICABMAF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_JCPNICABMAF_proto_goTypes = []interface{}{ + (*Unk2800_JCPNICABMAF)(nil), // 0: Unk2800_JCPNICABMAF + (Unk2800_IMLDGLIMODE)(0), // 1: Unk2800_IMLDGLIMODE +} +var file_Unk2800_JCPNICABMAF_proto_depIdxs = []int32{ + 1, // 0: Unk2800_JCPNICABMAF.stage:type_name -> Unk2800_IMLDGLIMODE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_JCPNICABMAF_proto_init() } +func file_Unk2800_JCPNICABMAF_proto_init() { + if File_Unk2800_JCPNICABMAF_proto != nil { + return + } + file_Unk2800_IMLDGLIMODE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_JCPNICABMAF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_JCPNICABMAF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_JCPNICABMAF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_JCPNICABMAF_proto_goTypes, + DependencyIndexes: file_Unk2800_JCPNICABMAF_proto_depIdxs, + MessageInfos: file_Unk2800_JCPNICABMAF_proto_msgTypes, + }.Build() + File_Unk2800_JCPNICABMAF_proto = out.File + file_Unk2800_JCPNICABMAF_proto_rawDesc = nil + file_Unk2800_JCPNICABMAF_proto_goTypes = nil + file_Unk2800_JCPNICABMAF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.proto b/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.proto new file mode 100644 index 00000000..98ae6679 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JCPNICABMAF.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_IMLDGLIMODE.proto"; + +option go_package = "./;proto"; + +// CmdId: 5504 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_JCPNICABMAF { + uint32 coin = 10; + Unk2800_IMLDGLIMODE stage = 8; + uint32 kill_monster_count = 4; + uint32 progress = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.pb.go b/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.pb.go new file mode 100644 index 00000000..bd038365 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_JIPMJPAKIKE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_JIPMJPAKIKE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinished bool `protobuf:"varint,7,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + Unk2800_MMPELBBNFOD uint32 `protobuf:"varint,10,opt,name=Unk2800_MMPELBBNFOD,json=Unk2800MMPELBBNFOD,proto3" json:"Unk2800_MMPELBBNFOD,omitempty"` + IsOpen bool `protobuf:"varint,5,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Unk2800_MGPEODNKEEC uint32 `protobuf:"varint,6,opt,name=Unk2800_MGPEODNKEEC,json=Unk2800MGPEODNKEEC,proto3" json:"Unk2800_MGPEODNKEEC,omitempty"` +} + +func (x *Unk2800_JIPMJPAKIKE) Reset() { + *x = Unk2800_JIPMJPAKIKE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_JIPMJPAKIKE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_JIPMJPAKIKE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_JIPMJPAKIKE) ProtoMessage() {} + +func (x *Unk2800_JIPMJPAKIKE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_JIPMJPAKIKE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_JIPMJPAKIKE.ProtoReflect.Descriptor instead. +func (*Unk2800_JIPMJPAKIKE) Descriptor() ([]byte, []int) { + return file_Unk2800_JIPMJPAKIKE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_JIPMJPAKIKE) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk2800_JIPMJPAKIKE) GetUnk2800_MMPELBBNFOD() uint32 { + if x != nil { + return x.Unk2800_MMPELBBNFOD + } + return 0 +} + +func (x *Unk2800_JIPMJPAKIKE) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2800_JIPMJPAKIKE) GetUnk2800_MGPEODNKEEC() uint32 { + if x != nil { + return x.Unk2800_MGPEODNKEEC + } + return 0 +} + +var File_Unk2800_JIPMJPAKIKE_proto protoreflect.FileDescriptor + +var file_Unk2800_JIPMJPAKIKE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x50, 0x4d, 0x4a, 0x50, + 0x41, 0x4b, 0x49, 0x4b, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x50, 0x4d, 0x4a, 0x50, 0x41, 0x4b, + 0x49, 0x4b, 0x45, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x4d, 0x4d, 0x50, 0x45, 0x4c, 0x42, 0x42, 0x4e, 0x46, 0x4f, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4d, 0x4d, 0x50, 0x45, 0x4c, 0x42, + 0x42, 0x4e, 0x46, 0x4f, 0x44, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x47, 0x50, 0x45, 0x4f, 0x44, + 0x4e, 0x4b, 0x45, 0x45, 0x43, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x4d, 0x47, 0x50, 0x45, 0x4f, 0x44, 0x4e, 0x4b, 0x45, 0x45, 0x43, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_JIPMJPAKIKE_proto_rawDescOnce sync.Once + file_Unk2800_JIPMJPAKIKE_proto_rawDescData = file_Unk2800_JIPMJPAKIKE_proto_rawDesc +) + +func file_Unk2800_JIPMJPAKIKE_proto_rawDescGZIP() []byte { + file_Unk2800_JIPMJPAKIKE_proto_rawDescOnce.Do(func() { + file_Unk2800_JIPMJPAKIKE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_JIPMJPAKIKE_proto_rawDescData) + }) + return file_Unk2800_JIPMJPAKIKE_proto_rawDescData +} + +var file_Unk2800_JIPMJPAKIKE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_JIPMJPAKIKE_proto_goTypes = []interface{}{ + (*Unk2800_JIPMJPAKIKE)(nil), // 0: Unk2800_JIPMJPAKIKE +} +var file_Unk2800_JIPMJPAKIKE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_JIPMJPAKIKE_proto_init() } +func file_Unk2800_JIPMJPAKIKE_proto_init() { + if File_Unk2800_JIPMJPAKIKE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_JIPMJPAKIKE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_JIPMJPAKIKE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_JIPMJPAKIKE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_JIPMJPAKIKE_proto_goTypes, + DependencyIndexes: file_Unk2800_JIPMJPAKIKE_proto_depIdxs, + MessageInfos: file_Unk2800_JIPMJPAKIKE_proto_msgTypes, + }.Build() + File_Unk2800_JIPMJPAKIKE_proto = out.File + file_Unk2800_JIPMJPAKIKE_proto_rawDesc = nil + file_Unk2800_JIPMJPAKIKE_proto_goTypes = nil + file_Unk2800_JIPMJPAKIKE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.proto b/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.proto new file mode 100644 index 00000000..2f982fab --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JIPMJPAKIKE.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_JIPMJPAKIKE { + bool is_finished = 7; + uint32 Unk2800_MMPELBBNFOD = 10; + bool is_open = 5; + uint32 Unk2800_MGPEODNKEEC = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.pb.go b/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.pb.go new file mode 100644 index 00000000..045b745c --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_JKLFAJKDLDG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_JKLFAJKDLDG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QuestId uint32 `protobuf:"varint,13,opt,name=quest_id,json=questId,proto3" json:"quest_id,omitempty"` + PointId uint32 `protobuf:"varint,6,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` +} + +func (x *Unk2800_JKLFAJKDLDG) Reset() { + *x = Unk2800_JKLFAJKDLDG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_JKLFAJKDLDG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_JKLFAJKDLDG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_JKLFAJKDLDG) ProtoMessage() {} + +func (x *Unk2800_JKLFAJKDLDG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_JKLFAJKDLDG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_JKLFAJKDLDG.ProtoReflect.Descriptor instead. +func (*Unk2800_JKLFAJKDLDG) Descriptor() ([]byte, []int) { + return file_Unk2800_JKLFAJKDLDG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_JKLFAJKDLDG) GetQuestId() uint32 { + if x != nil { + return x.QuestId + } + return 0 +} + +func (x *Unk2800_JKLFAJKDLDG) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +var File_Unk2800_JKLFAJKDLDG_proto protoreflect.FileDescriptor + +var file_Unk2800_JKLFAJKDLDG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x4c, 0x46, 0x41, 0x4a, + 0x4b, 0x44, 0x4c, 0x44, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4a, 0x4b, 0x4c, 0x46, 0x41, 0x4a, 0x4b, 0x44, 0x4c, + 0x44, 0x47, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_JKLFAJKDLDG_proto_rawDescOnce sync.Once + file_Unk2800_JKLFAJKDLDG_proto_rawDescData = file_Unk2800_JKLFAJKDLDG_proto_rawDesc +) + +func file_Unk2800_JKLFAJKDLDG_proto_rawDescGZIP() []byte { + file_Unk2800_JKLFAJKDLDG_proto_rawDescOnce.Do(func() { + file_Unk2800_JKLFAJKDLDG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_JKLFAJKDLDG_proto_rawDescData) + }) + return file_Unk2800_JKLFAJKDLDG_proto_rawDescData +} + +var file_Unk2800_JKLFAJKDLDG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_JKLFAJKDLDG_proto_goTypes = []interface{}{ + (*Unk2800_JKLFAJKDLDG)(nil), // 0: Unk2800_JKLFAJKDLDG +} +var file_Unk2800_JKLFAJKDLDG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_JKLFAJKDLDG_proto_init() } +func file_Unk2800_JKLFAJKDLDG_proto_init() { + if File_Unk2800_JKLFAJKDLDG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_JKLFAJKDLDG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_JKLFAJKDLDG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_JKLFAJKDLDG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_JKLFAJKDLDG_proto_goTypes, + DependencyIndexes: file_Unk2800_JKLFAJKDLDG_proto_depIdxs, + MessageInfos: file_Unk2800_JKLFAJKDLDG_proto_msgTypes, + }.Build() + File_Unk2800_JKLFAJKDLDG_proto = out.File + file_Unk2800_JKLFAJKDLDG_proto_rawDesc = nil + file_Unk2800_JKLFAJKDLDG_proto_goTypes = nil + file_Unk2800_JKLFAJKDLDG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.proto b/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.proto new file mode 100644 index 00000000..342758b1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_JKLFAJKDLDG.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_JKLFAJKDLDG { + uint32 quest_id = 13; + uint32 point_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.pb.go b/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.pb.go new file mode 100644 index 00000000..7eb9c223 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KFNCDHFHJPD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8996 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_KFNCDHFHJPD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_KFNCDHFHJPD) Reset() { + *x = Unk2800_KFNCDHFHJPD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KFNCDHFHJPD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KFNCDHFHJPD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KFNCDHFHJPD) ProtoMessage() {} + +func (x *Unk2800_KFNCDHFHJPD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KFNCDHFHJPD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KFNCDHFHJPD.ProtoReflect.Descriptor instead. +func (*Unk2800_KFNCDHFHJPD) Descriptor() ([]byte, []int) { + return file_Unk2800_KFNCDHFHJPD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KFNCDHFHJPD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_KFNCDHFHJPD_proto protoreflect.FileDescriptor + +var file_Unk2800_KFNCDHFHJPD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x46, 0x4e, 0x43, 0x44, 0x48, + 0x46, 0x48, 0x4a, 0x50, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x46, 0x4e, 0x43, 0x44, 0x48, 0x46, 0x48, 0x4a, + 0x50, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KFNCDHFHJPD_proto_rawDescOnce sync.Once + file_Unk2800_KFNCDHFHJPD_proto_rawDescData = file_Unk2800_KFNCDHFHJPD_proto_rawDesc +) + +func file_Unk2800_KFNCDHFHJPD_proto_rawDescGZIP() []byte { + file_Unk2800_KFNCDHFHJPD_proto_rawDescOnce.Do(func() { + file_Unk2800_KFNCDHFHJPD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KFNCDHFHJPD_proto_rawDescData) + }) + return file_Unk2800_KFNCDHFHJPD_proto_rawDescData +} + +var file_Unk2800_KFNCDHFHJPD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KFNCDHFHJPD_proto_goTypes = []interface{}{ + (*Unk2800_KFNCDHFHJPD)(nil), // 0: Unk2800_KFNCDHFHJPD +} +var file_Unk2800_KFNCDHFHJPD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_KFNCDHFHJPD_proto_init() } +func file_Unk2800_KFNCDHFHJPD_proto_init() { + if File_Unk2800_KFNCDHFHJPD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_KFNCDHFHJPD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KFNCDHFHJPD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KFNCDHFHJPD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KFNCDHFHJPD_proto_goTypes, + DependencyIndexes: file_Unk2800_KFNCDHFHJPD_proto_depIdxs, + MessageInfos: file_Unk2800_KFNCDHFHJPD_proto_msgTypes, + }.Build() + File_Unk2800_KFNCDHFHJPD_proto = out.File + file_Unk2800_KFNCDHFHJPD_proto_rawDesc = nil + file_Unk2800_KFNCDHFHJPD_proto_goTypes = nil + file_Unk2800_KFNCDHFHJPD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.proto b/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.proto new file mode 100644 index 00000000..385e940d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KFNCDHFHJPD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8996 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_KFNCDHFHJPD { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.pb.go b/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.pb.go new file mode 100644 index 00000000..531bccca --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.pb.go @@ -0,0 +1,201 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KHLHFFHGEHA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21834 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_KHLHFFHGEHA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,4,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + Unk2800_ICNCEKIJNJA bool `protobuf:"varint,12,opt,name=Unk2800_ICNCEKIJNJA,json=Unk2800ICNCEKIJNJA,proto3" json:"Unk2800_ICNCEKIJNJA,omitempty"` + Unk2800_EGJDBBGNMFI []*Unk2800_FGFMMFAKDEL `protobuf:"bytes,9,rep,name=Unk2800_EGJDBBGNMFI,json=Unk2800EGJDBBGNMFI,proto3" json:"Unk2800_EGJDBBGNMFI,omitempty"` + LevelId uint32 `protobuf:"varint,5,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk2800_KHLHFFHGEHA) Reset() { + *x = Unk2800_KHLHFFHGEHA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KHLHFFHGEHA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KHLHFFHGEHA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KHLHFFHGEHA) ProtoMessage() {} + +func (x *Unk2800_KHLHFFHGEHA) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KHLHFFHGEHA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KHLHFFHGEHA.ProtoReflect.Descriptor instead. +func (*Unk2800_KHLHFFHGEHA) Descriptor() ([]byte, []int) { + return file_Unk2800_KHLHFFHGEHA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KHLHFFHGEHA) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk2800_KHLHFFHGEHA) GetUnk2800_ICNCEKIJNJA() bool { + if x != nil { + return x.Unk2800_ICNCEKIJNJA + } + return false +} + +func (x *Unk2800_KHLHFFHGEHA) GetUnk2800_EGJDBBGNMFI() []*Unk2800_FGFMMFAKDEL { + if x != nil { + return x.Unk2800_EGJDBBGNMFI + } + return nil +} + +func (x *Unk2800_KHLHFFHGEHA) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk2800_KHLHFFHGEHA_proto protoreflect.FileDescriptor + +var file_Unk2800_KHLHFFHGEHA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4c, 0x48, 0x46, 0x46, + 0x48, 0x47, 0x45, 0x48, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x46, 0x4d, 0x4d, 0x46, 0x41, 0x4b, 0x44, 0x45, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x4c, 0x48, 0x46, 0x46, 0x48, 0x47, 0x45, 0x48, 0x41, 0x12, 0x1d, + 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x4e, 0x43, 0x45, 0x4b, 0x49, + 0x4a, 0x4e, 0x4a, 0x41, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x49, 0x43, 0x4e, 0x43, 0x45, 0x4b, 0x49, 0x4a, 0x4e, 0x4a, 0x41, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x45, 0x47, 0x4a, 0x44, 0x42, 0x42, + 0x47, 0x4e, 0x4d, 0x46, 0x49, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x47, 0x46, 0x4d, 0x4d, 0x46, 0x41, 0x4b, 0x44, 0x45, + 0x4c, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x45, 0x47, 0x4a, 0x44, 0x42, 0x42, + 0x47, 0x4e, 0x4d, 0x46, 0x49, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KHLHFFHGEHA_proto_rawDescOnce sync.Once + file_Unk2800_KHLHFFHGEHA_proto_rawDescData = file_Unk2800_KHLHFFHGEHA_proto_rawDesc +) + +func file_Unk2800_KHLHFFHGEHA_proto_rawDescGZIP() []byte { + file_Unk2800_KHLHFFHGEHA_proto_rawDescOnce.Do(func() { + file_Unk2800_KHLHFFHGEHA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KHLHFFHGEHA_proto_rawDescData) + }) + return file_Unk2800_KHLHFFHGEHA_proto_rawDescData +} + +var file_Unk2800_KHLHFFHGEHA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KHLHFFHGEHA_proto_goTypes = []interface{}{ + (*Unk2800_KHLHFFHGEHA)(nil), // 0: Unk2800_KHLHFFHGEHA + (*Unk2800_FGFMMFAKDEL)(nil), // 1: Unk2800_FGFMMFAKDEL +} +var file_Unk2800_KHLHFFHGEHA_proto_depIdxs = []int32{ + 1, // 0: Unk2800_KHLHFFHGEHA.Unk2800_EGJDBBGNMFI:type_name -> Unk2800_FGFMMFAKDEL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_KHLHFFHGEHA_proto_init() } +func file_Unk2800_KHLHFFHGEHA_proto_init() { + if File_Unk2800_KHLHFFHGEHA_proto != nil { + return + } + file_Unk2800_FGFMMFAKDEL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_KHLHFFHGEHA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KHLHFFHGEHA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KHLHFFHGEHA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KHLHFFHGEHA_proto_goTypes, + DependencyIndexes: file_Unk2800_KHLHFFHGEHA_proto_depIdxs, + MessageInfos: file_Unk2800_KHLHFFHGEHA_proto_msgTypes, + }.Build() + File_Unk2800_KHLHFFHGEHA_proto = out.File + file_Unk2800_KHLHFFHGEHA_proto_rawDesc = nil + file_Unk2800_KHLHFFHGEHA_proto_goTypes = nil + file_Unk2800_KHLHFFHGEHA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.proto b/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.proto new file mode 100644 index 00000000..68036207 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KHLHFFHGEHA.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FGFMMFAKDEL.proto"; + +option go_package = "./;proto"; + +// CmdId: 21834 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_KHLHFFHGEHA { + bool is_success = 4; + bool Unk2800_ICNCEKIJNJA = 12; + repeated Unk2800_FGFMMFAKDEL Unk2800_EGJDBBGNMFI = 9; + uint32 level_id = 5; +} diff --git a/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.pb.go b/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.pb.go new file mode 100644 index 00000000..9541bad9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KILFIICJLEE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5593 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_KILFIICJLEE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,15,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2800_KILFIICJLEE) Reset() { + *x = Unk2800_KILFIICJLEE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KILFIICJLEE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KILFIICJLEE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KILFIICJLEE) ProtoMessage() {} + +func (x *Unk2800_KILFIICJLEE) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KILFIICJLEE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KILFIICJLEE.ProtoReflect.Descriptor instead. +func (*Unk2800_KILFIICJLEE) Descriptor() ([]byte, []int) { + return file_Unk2800_KILFIICJLEE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KILFIICJLEE) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2800_KILFIICJLEE_proto protoreflect.FileDescriptor + +var file_Unk2800_KILFIICJLEE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x4c, 0x46, 0x49, 0x49, + 0x43, 0x4a, 0x4c, 0x45, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x4c, 0x46, 0x49, 0x49, 0x43, 0x4a, 0x4c, + 0x45, 0x45, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KILFIICJLEE_proto_rawDescOnce sync.Once + file_Unk2800_KILFIICJLEE_proto_rawDescData = file_Unk2800_KILFIICJLEE_proto_rawDesc +) + +func file_Unk2800_KILFIICJLEE_proto_rawDescGZIP() []byte { + file_Unk2800_KILFIICJLEE_proto_rawDescOnce.Do(func() { + file_Unk2800_KILFIICJLEE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KILFIICJLEE_proto_rawDescData) + }) + return file_Unk2800_KILFIICJLEE_proto_rawDescData +} + +var file_Unk2800_KILFIICJLEE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KILFIICJLEE_proto_goTypes = []interface{}{ + (*Unk2800_KILFIICJLEE)(nil), // 0: Unk2800_KILFIICJLEE +} +var file_Unk2800_KILFIICJLEE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_KILFIICJLEE_proto_init() } +func file_Unk2800_KILFIICJLEE_proto_init() { + if File_Unk2800_KILFIICJLEE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_KILFIICJLEE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KILFIICJLEE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KILFIICJLEE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KILFIICJLEE_proto_goTypes, + DependencyIndexes: file_Unk2800_KILFIICJLEE_proto_depIdxs, + MessageInfos: file_Unk2800_KILFIICJLEE_proto_msgTypes, + }.Build() + File_Unk2800_KILFIICJLEE_proto = out.File + file_Unk2800_KILFIICJLEE_proto_rawDesc = nil + file_Unk2800_KILFIICJLEE_proto_goTypes = nil + file_Unk2800_KILFIICJLEE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.proto b/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.proto new file mode 100644 index 00000000..f2010113 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KILFIICJLEE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5593 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_KILFIICJLEE { + uint32 gallery_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.pb.go b/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.pb.go new file mode 100644 index 00000000..aa47eb9e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KJEOLFNEOPF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1768 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_KJEOLFNEOPF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarTeamGuidList []uint64 `protobuf:"varint,14,rep,packed,name=avatar_team_guid_list,json=avatarTeamGuidList,proto3" json:"avatar_team_guid_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` + CurAvatarGuid uint64 `protobuf:"varint,15,opt,name=cur_avatar_guid,json=curAvatarGuid,proto3" json:"cur_avatar_guid,omitempty"` +} + +func (x *Unk2800_KJEOLFNEOPF) Reset() { + *x = Unk2800_KJEOLFNEOPF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KJEOLFNEOPF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KJEOLFNEOPF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KJEOLFNEOPF) ProtoMessage() {} + +func (x *Unk2800_KJEOLFNEOPF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KJEOLFNEOPF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KJEOLFNEOPF.ProtoReflect.Descriptor instead. +func (*Unk2800_KJEOLFNEOPF) Descriptor() ([]byte, []int) { + return file_Unk2800_KJEOLFNEOPF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KJEOLFNEOPF) GetAvatarTeamGuidList() []uint64 { + if x != nil { + return x.AvatarTeamGuidList + } + return nil +} + +func (x *Unk2800_KJEOLFNEOPF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk2800_KJEOLFNEOPF) GetCurAvatarGuid() uint64 { + if x != nil { + return x.CurAvatarGuid + } + return 0 +} + +var File_Unk2800_KJEOLFNEOPF_proto protoreflect.FileDescriptor + +var file_Unk2800_KJEOLFNEOPF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x45, 0x4f, 0x4c, 0x46, + 0x4e, 0x45, 0x4f, 0x50, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x45, 0x4f, 0x4c, 0x46, 0x4e, 0x45, + 0x4f, 0x50, 0x46, 0x12, 0x31, 0x0a, 0x15, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, + 0x61, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x04, 0x52, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x47, 0x75, + 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KJEOLFNEOPF_proto_rawDescOnce sync.Once + file_Unk2800_KJEOLFNEOPF_proto_rawDescData = file_Unk2800_KJEOLFNEOPF_proto_rawDesc +) + +func file_Unk2800_KJEOLFNEOPF_proto_rawDescGZIP() []byte { + file_Unk2800_KJEOLFNEOPF_proto_rawDescOnce.Do(func() { + file_Unk2800_KJEOLFNEOPF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KJEOLFNEOPF_proto_rawDescData) + }) + return file_Unk2800_KJEOLFNEOPF_proto_rawDescData +} + +var file_Unk2800_KJEOLFNEOPF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KJEOLFNEOPF_proto_goTypes = []interface{}{ + (*Unk2800_KJEOLFNEOPF)(nil), // 0: Unk2800_KJEOLFNEOPF +} +var file_Unk2800_KJEOLFNEOPF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_KJEOLFNEOPF_proto_init() } +func file_Unk2800_KJEOLFNEOPF_proto_init() { + if File_Unk2800_KJEOLFNEOPF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_KJEOLFNEOPF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KJEOLFNEOPF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KJEOLFNEOPF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KJEOLFNEOPF_proto_goTypes, + DependencyIndexes: file_Unk2800_KJEOLFNEOPF_proto_depIdxs, + MessageInfos: file_Unk2800_KJEOLFNEOPF_proto_msgTypes, + }.Build() + File_Unk2800_KJEOLFNEOPF_proto = out.File + file_Unk2800_KJEOLFNEOPF_proto_rawDesc = nil + file_Unk2800_KJEOLFNEOPF_proto_goTypes = nil + file_Unk2800_KJEOLFNEOPF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.proto b/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.proto new file mode 100644 index 00000000..165ca364 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KJEOLFNEOPF.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1768 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_KJEOLFNEOPF { + repeated uint64 avatar_team_guid_list = 14; + int32 retcode = 7; + uint64 cur_avatar_guid = 15; +} diff --git a/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.pb.go b/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.pb.go new file mode 100644 index 00000000..a0c56e0e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KOMBBIEEGCP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5522 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_KOMBBIEEGCP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,2,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Coin uint32 `protobuf:"varint,9,opt,name=coin,proto3" json:"coin,omitempty"` + Unk2800_LBPCDCHOOLJ uint32 `protobuf:"varint,11,opt,name=Unk2800_LBPCDCHOOLJ,json=Unk2800LBPCDCHOOLJ,proto3" json:"Unk2800_LBPCDCHOOLJ,omitempty"` +} + +func (x *Unk2800_KOMBBIEEGCP) Reset() { + *x = Unk2800_KOMBBIEEGCP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KOMBBIEEGCP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KOMBBIEEGCP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KOMBBIEEGCP) ProtoMessage() {} + +func (x *Unk2800_KOMBBIEEGCP) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KOMBBIEEGCP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KOMBBIEEGCP.ProtoReflect.Descriptor instead. +func (*Unk2800_KOMBBIEEGCP) Descriptor() ([]byte, []int) { + return file_Unk2800_KOMBBIEEGCP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KOMBBIEEGCP) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2800_KOMBBIEEGCP) GetCoin() uint32 { + if x != nil { + return x.Coin + } + return 0 +} + +func (x *Unk2800_KOMBBIEEGCP) GetUnk2800_LBPCDCHOOLJ() uint32 { + if x != nil { + return x.Unk2800_LBPCDCHOOLJ + } + return 0 +} + +var File_Unk2800_KOMBBIEEGCP_proto protoreflect.FileDescriptor + +var file_Unk2800_KOMBBIEEGCP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x4d, 0x42, 0x42, 0x49, + 0x45, 0x45, 0x47, 0x43, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x4d, 0x42, 0x42, 0x49, 0x45, 0x45, 0x47, + 0x43, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, + 0x5f, 0x4c, 0x42, 0x50, 0x43, 0x44, 0x43, 0x48, 0x4f, 0x4f, 0x4c, 0x4a, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x4c, 0x42, 0x50, 0x43, 0x44, + 0x43, 0x48, 0x4f, 0x4f, 0x4c, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KOMBBIEEGCP_proto_rawDescOnce sync.Once + file_Unk2800_KOMBBIEEGCP_proto_rawDescData = file_Unk2800_KOMBBIEEGCP_proto_rawDesc +) + +func file_Unk2800_KOMBBIEEGCP_proto_rawDescGZIP() []byte { + file_Unk2800_KOMBBIEEGCP_proto_rawDescOnce.Do(func() { + file_Unk2800_KOMBBIEEGCP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KOMBBIEEGCP_proto_rawDescData) + }) + return file_Unk2800_KOMBBIEEGCP_proto_rawDescData +} + +var file_Unk2800_KOMBBIEEGCP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KOMBBIEEGCP_proto_goTypes = []interface{}{ + (*Unk2800_KOMBBIEEGCP)(nil), // 0: Unk2800_KOMBBIEEGCP +} +var file_Unk2800_KOMBBIEEGCP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_KOMBBIEEGCP_proto_init() } +func file_Unk2800_KOMBBIEEGCP_proto_init() { + if File_Unk2800_KOMBBIEEGCP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_KOMBBIEEGCP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KOMBBIEEGCP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KOMBBIEEGCP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KOMBBIEEGCP_proto_goTypes, + DependencyIndexes: file_Unk2800_KOMBBIEEGCP_proto_depIdxs, + MessageInfos: file_Unk2800_KOMBBIEEGCP_proto_msgTypes, + }.Build() + File_Unk2800_KOMBBIEEGCP_proto = out.File + file_Unk2800_KOMBBIEEGCP_proto_rawDesc = nil + file_Unk2800_KOMBBIEEGCP_proto_goTypes = nil + file_Unk2800_KOMBBIEEGCP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.proto b/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.proto new file mode 100644 index 00000000..a1f1d40d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KOMBBIEEGCP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5522 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_KOMBBIEEGCP { + uint32 gallery_id = 2; + uint32 coin = 9; + uint32 Unk2800_LBPCDCHOOLJ = 11; +} diff --git a/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.pb.go b/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.pb.go new file mode 100644 index 00000000..6dad4e1e --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_KPJKAJLNAED.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 874 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_KPJKAJLNAED struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_KPJKAJLNAED) Reset() { + *x = Unk2800_KPJKAJLNAED{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_KPJKAJLNAED_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_KPJKAJLNAED) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_KPJKAJLNAED) ProtoMessage() {} + +func (x *Unk2800_KPJKAJLNAED) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_KPJKAJLNAED_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_KPJKAJLNAED.ProtoReflect.Descriptor instead. +func (*Unk2800_KPJKAJLNAED) Descriptor() ([]byte, []int) { + return file_Unk2800_KPJKAJLNAED_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_KPJKAJLNAED) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_KPJKAJLNAED_proto protoreflect.FileDescriptor + +var file_Unk2800_KPJKAJLNAED_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4a, 0x4b, 0x41, 0x4a, + 0x4c, 0x4e, 0x41, 0x45, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4b, 0x50, 0x4a, 0x4b, 0x41, 0x4a, 0x4c, 0x4e, 0x41, + 0x45, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_KPJKAJLNAED_proto_rawDescOnce sync.Once + file_Unk2800_KPJKAJLNAED_proto_rawDescData = file_Unk2800_KPJKAJLNAED_proto_rawDesc +) + +func file_Unk2800_KPJKAJLNAED_proto_rawDescGZIP() []byte { + file_Unk2800_KPJKAJLNAED_proto_rawDescOnce.Do(func() { + file_Unk2800_KPJKAJLNAED_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_KPJKAJLNAED_proto_rawDescData) + }) + return file_Unk2800_KPJKAJLNAED_proto_rawDescData +} + +var file_Unk2800_KPJKAJLNAED_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_KPJKAJLNAED_proto_goTypes = []interface{}{ + (*Unk2800_KPJKAJLNAED)(nil), // 0: Unk2800_KPJKAJLNAED +} +var file_Unk2800_KPJKAJLNAED_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_KPJKAJLNAED_proto_init() } +func file_Unk2800_KPJKAJLNAED_proto_init() { + if File_Unk2800_KPJKAJLNAED_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_KPJKAJLNAED_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_KPJKAJLNAED); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_KPJKAJLNAED_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_KPJKAJLNAED_proto_goTypes, + DependencyIndexes: file_Unk2800_KPJKAJLNAED_proto_depIdxs, + MessageInfos: file_Unk2800_KPJKAJLNAED_proto_msgTypes, + }.Build() + File_Unk2800_KPJKAJLNAED_proto = out.File + file_Unk2800_KPJKAJLNAED_proto_rawDesc = nil + file_Unk2800_KPJKAJLNAED_proto_goTypes = nil + file_Unk2800_KPJKAJLNAED_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.proto b/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.proto new file mode 100644 index 00000000..b0f3511d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_KPJKAJLNAED.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 874 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_KPJKAJLNAED { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.pb.go b/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.pb.go new file mode 100644 index 00000000..ffa4e638 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_LGIKLPBOJOI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_LGIKLPBOJOI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_AEKPBKAAHFL []uint32 `protobuf:"varint,14,rep,packed,name=Unk2800_AEKPBKAAHFL,json=Unk2800AEKPBKAAHFL,proto3" json:"Unk2800_AEKPBKAAHFL,omitempty"` + ActivityId uint32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` +} + +func (x *Unk2800_LGIKLPBOJOI) Reset() { + *x = Unk2800_LGIKLPBOJOI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_LGIKLPBOJOI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_LGIKLPBOJOI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_LGIKLPBOJOI) ProtoMessage() {} + +func (x *Unk2800_LGIKLPBOJOI) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_LGIKLPBOJOI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_LGIKLPBOJOI.ProtoReflect.Descriptor instead. +func (*Unk2800_LGIKLPBOJOI) Descriptor() ([]byte, []int) { + return file_Unk2800_LGIKLPBOJOI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_LGIKLPBOJOI) GetUnk2800_AEKPBKAAHFL() []uint32 { + if x != nil { + return x.Unk2800_AEKPBKAAHFL + } + return nil +} + +func (x *Unk2800_LGIKLPBOJOI) GetActivityId() uint32 { + if x != nil { + return x.ActivityId + } + return 0 +} + +var File_Unk2800_LGIKLPBOJOI_proto protoreflect.FileDescriptor + +var file_Unk2800_LGIKLPBOJOI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x49, 0x4b, 0x4c, 0x50, + 0x42, 0x4f, 0x4a, 0x4f, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x47, 0x49, 0x4b, 0x4c, 0x50, 0x42, 0x4f, 0x4a, + 0x4f, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x41, 0x45, + 0x4b, 0x50, 0x42, 0x4b, 0x41, 0x41, 0x48, 0x46, 0x4c, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x41, 0x45, 0x4b, 0x50, 0x42, 0x4b, 0x41, 0x41, + 0x48, 0x46, 0x4c, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_LGIKLPBOJOI_proto_rawDescOnce sync.Once + file_Unk2800_LGIKLPBOJOI_proto_rawDescData = file_Unk2800_LGIKLPBOJOI_proto_rawDesc +) + +func file_Unk2800_LGIKLPBOJOI_proto_rawDescGZIP() []byte { + file_Unk2800_LGIKLPBOJOI_proto_rawDescOnce.Do(func() { + file_Unk2800_LGIKLPBOJOI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_LGIKLPBOJOI_proto_rawDescData) + }) + return file_Unk2800_LGIKLPBOJOI_proto_rawDescData +} + +var file_Unk2800_LGIKLPBOJOI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_LGIKLPBOJOI_proto_goTypes = []interface{}{ + (*Unk2800_LGIKLPBOJOI)(nil), // 0: Unk2800_LGIKLPBOJOI +} +var file_Unk2800_LGIKLPBOJOI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_LGIKLPBOJOI_proto_init() } +func file_Unk2800_LGIKLPBOJOI_proto_init() { + if File_Unk2800_LGIKLPBOJOI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_LGIKLPBOJOI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_LGIKLPBOJOI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_LGIKLPBOJOI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_LGIKLPBOJOI_proto_goTypes, + DependencyIndexes: file_Unk2800_LGIKLPBOJOI_proto_depIdxs, + MessageInfos: file_Unk2800_LGIKLPBOJOI_proto_msgTypes, + }.Build() + File_Unk2800_LGIKLPBOJOI_proto = out.File + file_Unk2800_LGIKLPBOJOI_proto_rawDesc = nil + file_Unk2800_LGIKLPBOJOI_proto_goTypes = nil + file_Unk2800_LGIKLPBOJOI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.proto b/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.proto new file mode 100644 index 00000000..b622c749 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_LGIKLPBOJOI.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8145 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_LGIKLPBOJOI { + repeated uint32 Unk2800_AEKPBKAAHFL = 14; + uint32 activity_id = 7; +} diff --git a/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.pb.go b/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.pb.go new file mode 100644 index 00000000..1fd4d4ae --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_LIBCDGDJMDF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5527 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_LIBCDGDJMDF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,9,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_LIBCDGDJMDF) Reset() { + *x = Unk2800_LIBCDGDJMDF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_LIBCDGDJMDF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_LIBCDGDJMDF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_LIBCDGDJMDF) ProtoMessage() {} + +func (x *Unk2800_LIBCDGDJMDF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_LIBCDGDJMDF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_LIBCDGDJMDF.ProtoReflect.Descriptor instead. +func (*Unk2800_LIBCDGDJMDF) Descriptor() ([]byte, []int) { + return file_Unk2800_LIBCDGDJMDF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_LIBCDGDJMDF) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2800_LIBCDGDJMDF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_LIBCDGDJMDF_proto protoreflect.FileDescriptor + +var file_Unk2800_LIBCDGDJMDF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x42, 0x43, 0x44, 0x47, + 0x44, 0x4a, 0x4d, 0x44, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x42, 0x43, 0x44, 0x47, 0x44, 0x4a, 0x4d, + 0x44, 0x46, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_LIBCDGDJMDF_proto_rawDescOnce sync.Once + file_Unk2800_LIBCDGDJMDF_proto_rawDescData = file_Unk2800_LIBCDGDJMDF_proto_rawDesc +) + +func file_Unk2800_LIBCDGDJMDF_proto_rawDescGZIP() []byte { + file_Unk2800_LIBCDGDJMDF_proto_rawDescOnce.Do(func() { + file_Unk2800_LIBCDGDJMDF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_LIBCDGDJMDF_proto_rawDescData) + }) + return file_Unk2800_LIBCDGDJMDF_proto_rawDescData +} + +var file_Unk2800_LIBCDGDJMDF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_LIBCDGDJMDF_proto_goTypes = []interface{}{ + (*Unk2800_LIBCDGDJMDF)(nil), // 0: Unk2800_LIBCDGDJMDF +} +var file_Unk2800_LIBCDGDJMDF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_LIBCDGDJMDF_proto_init() } +func file_Unk2800_LIBCDGDJMDF_proto_init() { + if File_Unk2800_LIBCDGDJMDF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_LIBCDGDJMDF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_LIBCDGDJMDF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_LIBCDGDJMDF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_LIBCDGDJMDF_proto_goTypes, + DependencyIndexes: file_Unk2800_LIBCDGDJMDF_proto_depIdxs, + MessageInfos: file_Unk2800_LIBCDGDJMDF_proto_msgTypes, + }.Build() + File_Unk2800_LIBCDGDJMDF_proto = out.File + file_Unk2800_LIBCDGDJMDF_proto_rawDesc = nil + file_Unk2800_LIBCDGDJMDF_proto_goTypes = nil + file_Unk2800_LIBCDGDJMDF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.proto b/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.proto new file mode 100644 index 00000000..c6e6f4ac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_LIBCDGDJMDF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5527 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_LIBCDGDJMDF { + uint32 gallery_id = 9; + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.pb.go b/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.pb.go new file mode 100644 index 00000000..687640f0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_MBKLJLMLIKF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_MBKLJLMLIKF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsOpen bool `protobuf:"varint,14,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + BestScore uint32 `protobuf:"varint,4,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"` +} + +func (x *Unk2800_MBKLJLMLIKF) Reset() { + *x = Unk2800_MBKLJLMLIKF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_MBKLJLMLIKF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_MBKLJLMLIKF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_MBKLJLMLIKF) ProtoMessage() {} + +func (x *Unk2800_MBKLJLMLIKF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_MBKLJLMLIKF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_MBKLJLMLIKF.ProtoReflect.Descriptor instead. +func (*Unk2800_MBKLJLMLIKF) Descriptor() ([]byte, []int) { + return file_Unk2800_MBKLJLMLIKF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_MBKLJLMLIKF) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2800_MBKLJLMLIKF) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk2800_MBKLJLMLIKF) GetBestScore() uint32 { + if x != nil { + return x.BestScore + } + return 0 +} + +var File_Unk2800_MBKLJLMLIKF_proto protoreflect.FileDescriptor + +var file_Unk2800_MBKLJLMLIKF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x4b, 0x4c, 0x4a, 0x4c, + 0x4d, 0x4c, 0x49, 0x4b, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x4b, 0x4c, 0x4a, 0x4c, 0x4d, 0x4c, 0x49, + 0x4b, 0x46, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x65, 0x73, 0x74, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_MBKLJLMLIKF_proto_rawDescOnce sync.Once + file_Unk2800_MBKLJLMLIKF_proto_rawDescData = file_Unk2800_MBKLJLMLIKF_proto_rawDesc +) + +func file_Unk2800_MBKLJLMLIKF_proto_rawDescGZIP() []byte { + file_Unk2800_MBKLJLMLIKF_proto_rawDescOnce.Do(func() { + file_Unk2800_MBKLJLMLIKF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_MBKLJLMLIKF_proto_rawDescData) + }) + return file_Unk2800_MBKLJLMLIKF_proto_rawDescData +} + +var file_Unk2800_MBKLJLMLIKF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_MBKLJLMLIKF_proto_goTypes = []interface{}{ + (*Unk2800_MBKLJLMLIKF)(nil), // 0: Unk2800_MBKLJLMLIKF +} +var file_Unk2800_MBKLJLMLIKF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_MBKLJLMLIKF_proto_init() } +func file_Unk2800_MBKLJLMLIKF_proto_init() { + if File_Unk2800_MBKLJLMLIKF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_MBKLJLMLIKF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_MBKLJLMLIKF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_MBKLJLMLIKF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_MBKLJLMLIKF_proto_goTypes, + DependencyIndexes: file_Unk2800_MBKLJLMLIKF_proto_depIdxs, + MessageInfos: file_Unk2800_MBKLJLMLIKF_proto_msgTypes, + }.Build() + File_Unk2800_MBKLJLMLIKF_proto = out.File + file_Unk2800_MBKLJLMLIKF_proto_rawDesc = nil + file_Unk2800_MBKLJLMLIKF_proto_goTypes = nil + file_Unk2800_MBKLJLMLIKF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.proto b/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.proto new file mode 100644 index 00000000..08df4c3b --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MBKLJLMLIKF.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk2800_MBKLJLMLIKF { + uint32 stage_id = 13; + bool is_open = 14; + uint32 best_score = 4; +} diff --git a/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.pb.go b/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.pb.go new file mode 100644 index 00000000..7a0d0eac --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_MHCFAGCKGIB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_MHCFAGCKGIB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,12,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + PointId uint32 `protobuf:"varint,6,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + DungeonEntryList []*DungeonEntryInfo `protobuf:"bytes,1,rep,name=dungeon_entry_list,json=dungeonEntryList,proto3" json:"dungeon_entry_list,omitempty"` + RecommendDungeonId uint32 `protobuf:"varint,8,opt,name=recommend_dungeon_id,json=recommendDungeonId,proto3" json:"recommend_dungeon_id,omitempty"` +} + +func (x *Unk2800_MHCFAGCKGIB) Reset() { + *x = Unk2800_MHCFAGCKGIB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_MHCFAGCKGIB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_MHCFAGCKGIB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_MHCFAGCKGIB) ProtoMessage() {} + +func (x *Unk2800_MHCFAGCKGIB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_MHCFAGCKGIB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_MHCFAGCKGIB.ProtoReflect.Descriptor instead. +func (*Unk2800_MHCFAGCKGIB) Descriptor() ([]byte, []int) { + return file_Unk2800_MHCFAGCKGIB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_MHCFAGCKGIB) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *Unk2800_MHCFAGCKGIB) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *Unk2800_MHCFAGCKGIB) GetDungeonEntryList() []*DungeonEntryInfo { + if x != nil { + return x.DungeonEntryList + } + return nil +} + +func (x *Unk2800_MHCFAGCKGIB) GetRecommendDungeonId() uint32 { + if x != nil { + return x.RecommendDungeonId + } + return 0 +} + +var File_Unk2800_MHCFAGCKGIB_proto protoreflect.FileDescriptor + +var file_Unk2800_MHCFAGCKGIB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x48, 0x43, 0x46, 0x41, 0x47, + 0x43, 0x4b, 0x47, 0x49, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x44, 0x75, 0x6e, + 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x4d, 0x48, 0x43, 0x46, 0x41, 0x47, 0x43, 0x4b, 0x47, 0x49, 0x42, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x3f, 0x0a, 0x12, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x10, 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x5f, + 0x64, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x44, 0x75, 0x6e, 0x67, 0x65, + 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_MHCFAGCKGIB_proto_rawDescOnce sync.Once + file_Unk2800_MHCFAGCKGIB_proto_rawDescData = file_Unk2800_MHCFAGCKGIB_proto_rawDesc +) + +func file_Unk2800_MHCFAGCKGIB_proto_rawDescGZIP() []byte { + file_Unk2800_MHCFAGCKGIB_proto_rawDescOnce.Do(func() { + file_Unk2800_MHCFAGCKGIB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_MHCFAGCKGIB_proto_rawDescData) + }) + return file_Unk2800_MHCFAGCKGIB_proto_rawDescData +} + +var file_Unk2800_MHCFAGCKGIB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_MHCFAGCKGIB_proto_goTypes = []interface{}{ + (*Unk2800_MHCFAGCKGIB)(nil), // 0: Unk2800_MHCFAGCKGIB + (*DungeonEntryInfo)(nil), // 1: DungeonEntryInfo +} +var file_Unk2800_MHCFAGCKGIB_proto_depIdxs = []int32{ + 1, // 0: Unk2800_MHCFAGCKGIB.dungeon_entry_list:type_name -> DungeonEntryInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_MHCFAGCKGIB_proto_init() } +func file_Unk2800_MHCFAGCKGIB_proto_init() { + if File_Unk2800_MHCFAGCKGIB_proto != nil { + return + } + file_DungeonEntryInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_MHCFAGCKGIB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_MHCFAGCKGIB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_MHCFAGCKGIB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_MHCFAGCKGIB_proto_goTypes, + DependencyIndexes: file_Unk2800_MHCFAGCKGIB_proto_depIdxs, + MessageInfos: file_Unk2800_MHCFAGCKGIB_proto_msgTypes, + }.Build() + File_Unk2800_MHCFAGCKGIB_proto = out.File + file_Unk2800_MHCFAGCKGIB_proto_rawDesc = nil + file_Unk2800_MHCFAGCKGIB_proto_goTypes = nil + file_Unk2800_MHCFAGCKGIB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.proto b/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.proto new file mode 100644 index 00000000..5a53240d --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MHCFAGCKGIB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryInfo.proto"; + +option go_package = "./;proto"; + +message Unk2800_MHCFAGCKGIB { + uint32 scene_id = 12; + uint32 point_id = 6; + repeated DungeonEntryInfo dungeon_entry_list = 1; + uint32 recommend_dungeon_id = 8; +} diff --git a/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.pb.go b/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.pb.go new file mode 100644 index 00000000..22530805 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_MNBDNGKGDGF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8004 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_MNBDNGKGDGF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,13,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk2800_MNBDNGKGDGF) Reset() { + *x = Unk2800_MNBDNGKGDGF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_MNBDNGKGDGF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_MNBDNGKGDGF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_MNBDNGKGDGF) ProtoMessage() {} + +func (x *Unk2800_MNBDNGKGDGF) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_MNBDNGKGDGF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_MNBDNGKGDGF.ProtoReflect.Descriptor instead. +func (*Unk2800_MNBDNGKGDGF) Descriptor() ([]byte, []int) { + return file_Unk2800_MNBDNGKGDGF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_MNBDNGKGDGF) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk2800_MNBDNGKGDGF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk2800_MNBDNGKGDGF_proto protoreflect.FileDescriptor + +var file_Unk2800_MNBDNGKGDGF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x42, 0x44, 0x4e, 0x47, + 0x4b, 0x47, 0x44, 0x47, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4d, 0x4e, 0x42, 0x44, 0x4e, 0x47, 0x4b, 0x47, 0x44, + 0x47, 0x46, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_MNBDNGKGDGF_proto_rawDescOnce sync.Once + file_Unk2800_MNBDNGKGDGF_proto_rawDescData = file_Unk2800_MNBDNGKGDGF_proto_rawDesc +) + +func file_Unk2800_MNBDNGKGDGF_proto_rawDescGZIP() []byte { + file_Unk2800_MNBDNGKGDGF_proto_rawDescOnce.Do(func() { + file_Unk2800_MNBDNGKGDGF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_MNBDNGKGDGF_proto_rawDescData) + }) + return file_Unk2800_MNBDNGKGDGF_proto_rawDescData +} + +var file_Unk2800_MNBDNGKGDGF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_MNBDNGKGDGF_proto_goTypes = []interface{}{ + (*Unk2800_MNBDNGKGDGF)(nil), // 0: Unk2800_MNBDNGKGDGF +} +var file_Unk2800_MNBDNGKGDGF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_MNBDNGKGDGF_proto_init() } +func file_Unk2800_MNBDNGKGDGF_proto_init() { + if File_Unk2800_MNBDNGKGDGF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_MNBDNGKGDGF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_MNBDNGKGDGF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_MNBDNGKGDGF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_MNBDNGKGDGF_proto_goTypes, + DependencyIndexes: file_Unk2800_MNBDNGKGDGF_proto_depIdxs, + MessageInfos: file_Unk2800_MNBDNGKGDGF_proto_msgTypes, + }.Build() + File_Unk2800_MNBDNGKGDGF_proto = out.File + file_Unk2800_MNBDNGKGDGF_proto_rawDesc = nil + file_Unk2800_MNBDNGKGDGF_proto_goTypes = nil + file_Unk2800_MNBDNGKGDGF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.proto b/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.proto new file mode 100644 index 00000000..0cbaa108 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_MNBDNGKGDGF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8004 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_MNBDNGKGDGF { + uint32 gallery_id = 13; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.pb.go b/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.pb.go new file mode 100644 index 00000000..d7698e08 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_NHEOHBNFHJD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8870 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk2800_NHEOHBNFHJD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SettleInfo *Unk2800_IOBHBFFAONO `protobuf:"bytes,11,opt,name=settle_info,json=settleInfo,proto3" json:"settle_info,omitempty"` + StageId uint32 `protobuf:"varint,7,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsNewRecord bool `protobuf:"varint,2,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + GalleryId uint32 `protobuf:"varint,1,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk2800_NHEOHBNFHJD) Reset() { + *x = Unk2800_NHEOHBNFHJD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_NHEOHBNFHJD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_NHEOHBNFHJD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_NHEOHBNFHJD) ProtoMessage() {} + +func (x *Unk2800_NHEOHBNFHJD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_NHEOHBNFHJD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_NHEOHBNFHJD.ProtoReflect.Descriptor instead. +func (*Unk2800_NHEOHBNFHJD) Descriptor() ([]byte, []int) { + return file_Unk2800_NHEOHBNFHJD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_NHEOHBNFHJD) GetSettleInfo() *Unk2800_IOBHBFFAONO { + if x != nil { + return x.SettleInfo + } + return nil +} + +func (x *Unk2800_NHEOHBNFHJD) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk2800_NHEOHBNFHJD) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk2800_NHEOHBNFHJD) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk2800_NHEOHBNFHJD_proto protoreflect.FileDescriptor + +var file_Unk2800_NHEOHBNFHJD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x45, 0x4f, 0x48, 0x42, + 0x4e, 0x46, 0x48, 0x4a, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4f, 0x42, 0x48, 0x42, 0x46, 0x46, 0x41, 0x4f, 0x4e, 0x4f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x45, 0x4f, 0x48, 0x42, 0x4e, 0x46, 0x48, 0x4a, 0x44, 0x12, 0x35, + 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x49, 0x4f, + 0x42, 0x48, 0x42, 0x46, 0x46, 0x41, 0x4f, 0x4e, 0x4f, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_NHEOHBNFHJD_proto_rawDescOnce sync.Once + file_Unk2800_NHEOHBNFHJD_proto_rawDescData = file_Unk2800_NHEOHBNFHJD_proto_rawDesc +) + +func file_Unk2800_NHEOHBNFHJD_proto_rawDescGZIP() []byte { + file_Unk2800_NHEOHBNFHJD_proto_rawDescOnce.Do(func() { + file_Unk2800_NHEOHBNFHJD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_NHEOHBNFHJD_proto_rawDescData) + }) + return file_Unk2800_NHEOHBNFHJD_proto_rawDescData +} + +var file_Unk2800_NHEOHBNFHJD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_NHEOHBNFHJD_proto_goTypes = []interface{}{ + (*Unk2800_NHEOHBNFHJD)(nil), // 0: Unk2800_NHEOHBNFHJD + (*Unk2800_IOBHBFFAONO)(nil), // 1: Unk2800_IOBHBFFAONO +} +var file_Unk2800_NHEOHBNFHJD_proto_depIdxs = []int32{ + 1, // 0: Unk2800_NHEOHBNFHJD.settle_info:type_name -> Unk2800_IOBHBFFAONO + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_NHEOHBNFHJD_proto_init() } +func file_Unk2800_NHEOHBNFHJD_proto_init() { + if File_Unk2800_NHEOHBNFHJD_proto != nil { + return + } + file_Unk2800_IOBHBFFAONO_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_NHEOHBNFHJD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_NHEOHBNFHJD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_NHEOHBNFHJD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_NHEOHBNFHJD_proto_goTypes, + DependencyIndexes: file_Unk2800_NHEOHBNFHJD_proto_depIdxs, + MessageInfos: file_Unk2800_NHEOHBNFHJD_proto_msgTypes, + }.Build() + File_Unk2800_NHEOHBNFHJD_proto = out.File + file_Unk2800_NHEOHBNFHJD_proto_rawDesc = nil + file_Unk2800_NHEOHBNFHJD_proto_goTypes = nil + file_Unk2800_NHEOHBNFHJD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.proto b/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.proto new file mode 100644 index 00000000..0c93a6ce --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_NHEOHBNFHJD.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_IOBHBFFAONO.proto"; + +option go_package = "./;proto"; + +// CmdId: 8870 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk2800_NHEOHBNFHJD { + Unk2800_IOBHBFFAONO settle_info = 11; + uint32 stage_id = 7; + bool is_new_record = 2; + uint32 gallery_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.pb.go b/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.pb.go new file mode 100644 index 00000000..16d0110a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_OFIHDGFMDGB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 171 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_OFIHDGFMDGB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GivingId uint32 `protobuf:"varint,4,opt,name=giving_id,json=givingId,proto3" json:"giving_id,omitempty"` +} + +func (x *Unk2800_OFIHDGFMDGB) Reset() { + *x = Unk2800_OFIHDGFMDGB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_OFIHDGFMDGB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_OFIHDGFMDGB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_OFIHDGFMDGB) ProtoMessage() {} + +func (x *Unk2800_OFIHDGFMDGB) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_OFIHDGFMDGB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_OFIHDGFMDGB.ProtoReflect.Descriptor instead. +func (*Unk2800_OFIHDGFMDGB) Descriptor() ([]byte, []int) { + return file_Unk2800_OFIHDGFMDGB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_OFIHDGFMDGB) GetGivingId() uint32 { + if x != nil { + return x.GivingId + } + return 0 +} + +var File_Unk2800_OFIHDGFMDGB_proto protoreflect.FileDescriptor + +var file_Unk2800_OFIHDGFMDGB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x49, 0x48, 0x44, 0x47, + 0x46, 0x4d, 0x44, 0x47, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x49, 0x48, 0x44, 0x47, 0x46, 0x4d, 0x44, + 0x47, 0x42, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_OFIHDGFMDGB_proto_rawDescOnce sync.Once + file_Unk2800_OFIHDGFMDGB_proto_rawDescData = file_Unk2800_OFIHDGFMDGB_proto_rawDesc +) + +func file_Unk2800_OFIHDGFMDGB_proto_rawDescGZIP() []byte { + file_Unk2800_OFIHDGFMDGB_proto_rawDescOnce.Do(func() { + file_Unk2800_OFIHDGFMDGB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_OFIHDGFMDGB_proto_rawDescData) + }) + return file_Unk2800_OFIHDGFMDGB_proto_rawDescData +} + +var file_Unk2800_OFIHDGFMDGB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_OFIHDGFMDGB_proto_goTypes = []interface{}{ + (*Unk2800_OFIHDGFMDGB)(nil), // 0: Unk2800_OFIHDGFMDGB +} +var file_Unk2800_OFIHDGFMDGB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_OFIHDGFMDGB_proto_init() } +func file_Unk2800_OFIHDGFMDGB_proto_init() { + if File_Unk2800_OFIHDGFMDGB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_OFIHDGFMDGB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_OFIHDGFMDGB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_OFIHDGFMDGB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_OFIHDGFMDGB_proto_goTypes, + DependencyIndexes: file_Unk2800_OFIHDGFMDGB_proto_depIdxs, + MessageInfos: file_Unk2800_OFIHDGFMDGB_proto_msgTypes, + }.Build() + File_Unk2800_OFIHDGFMDGB_proto = out.File + file_Unk2800_OFIHDGFMDGB_proto_rawDesc = nil + file_Unk2800_OFIHDGFMDGB_proto_goTypes = nil + file_Unk2800_OFIHDGFMDGB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.proto b/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.proto new file mode 100644 index 00000000..3f7f6810 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OFIHDGFMDGB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 171 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_OFIHDGFMDGB { + uint32 giving_id = 4; +} diff --git a/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.pb.go b/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.pb.go new file mode 100644 index 00000000..06a4c2bb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_OMGNOBICOCD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 843 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_OMGNOBICOCD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2800_DPEOIJKEAPB uint32 `protobuf:"varint,14,opt,name=Unk2800_DPEOIJKEAPB,json=Unk2800DPEOIJKEAPB,proto3" json:"Unk2800_DPEOIJKEAPB,omitempty"` + Unk2700_OCIHJFOKHPK *CustomGadgetTreeInfo `protobuf:"bytes,11,opt,name=Unk2700_OCIHJFOKHPK,json=Unk2700OCIHJFOKHPK,proto3" json:"Unk2700_OCIHJFOKHPK,omitempty"` + GadgetEntityId uint32 `protobuf:"varint,10,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` +} + +func (x *Unk2800_OMGNOBICOCD) Reset() { + *x = Unk2800_OMGNOBICOCD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_OMGNOBICOCD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_OMGNOBICOCD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_OMGNOBICOCD) ProtoMessage() {} + +func (x *Unk2800_OMGNOBICOCD) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_OMGNOBICOCD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_OMGNOBICOCD.ProtoReflect.Descriptor instead. +func (*Unk2800_OMGNOBICOCD) Descriptor() ([]byte, []int) { + return file_Unk2800_OMGNOBICOCD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_OMGNOBICOCD) GetUnk2800_DPEOIJKEAPB() uint32 { + if x != nil { + return x.Unk2800_DPEOIJKEAPB + } + return 0 +} + +func (x *Unk2800_OMGNOBICOCD) GetUnk2700_OCIHJFOKHPK() *CustomGadgetTreeInfo { + if x != nil { + return x.Unk2700_OCIHJFOKHPK + } + return nil +} + +func (x *Unk2800_OMGNOBICOCD) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +var File_Unk2800_OMGNOBICOCD_proto protoreflect.FileDescriptor + +var file_Unk2800_OMGNOBICOCD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x47, 0x4e, 0x4f, 0x42, + 0x49, 0x43, 0x4f, 0x43, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, + 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x47, 0x4e, 0x4f, 0x42, 0x49, 0x43, 0x4f, 0x43, 0x44, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x45, 0x4f, 0x49, + 0x4a, 0x4b, 0x45, 0x41, 0x50, 0x42, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x38, 0x30, 0x30, 0x44, 0x50, 0x45, 0x4f, 0x49, 0x4a, 0x4b, 0x45, 0x41, 0x50, 0x42, + 0x12, 0x46, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x49, 0x48, + 0x4a, 0x46, 0x4f, 0x4b, 0x48, 0x50, 0x4b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x43, 0x49, + 0x48, 0x4a, 0x46, 0x4f, 0x4b, 0x48, 0x50, 0x4b, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, + 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_OMGNOBICOCD_proto_rawDescOnce sync.Once + file_Unk2800_OMGNOBICOCD_proto_rawDescData = file_Unk2800_OMGNOBICOCD_proto_rawDesc +) + +func file_Unk2800_OMGNOBICOCD_proto_rawDescGZIP() []byte { + file_Unk2800_OMGNOBICOCD_proto_rawDescOnce.Do(func() { + file_Unk2800_OMGNOBICOCD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_OMGNOBICOCD_proto_rawDescData) + }) + return file_Unk2800_OMGNOBICOCD_proto_rawDescData +} + +var file_Unk2800_OMGNOBICOCD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_OMGNOBICOCD_proto_goTypes = []interface{}{ + (*Unk2800_OMGNOBICOCD)(nil), // 0: Unk2800_OMGNOBICOCD + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_Unk2800_OMGNOBICOCD_proto_depIdxs = []int32{ + 1, // 0: Unk2800_OMGNOBICOCD.Unk2700_OCIHJFOKHPK:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_OMGNOBICOCD_proto_init() } +func file_Unk2800_OMGNOBICOCD_proto_init() { + if File_Unk2800_OMGNOBICOCD_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_OMGNOBICOCD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_OMGNOBICOCD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_OMGNOBICOCD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_OMGNOBICOCD_proto_goTypes, + DependencyIndexes: file_Unk2800_OMGNOBICOCD_proto_depIdxs, + MessageInfos: file_Unk2800_OMGNOBICOCD_proto_msgTypes, + }.Build() + File_Unk2800_OMGNOBICOCD_proto = out.File + file_Unk2800_OMGNOBICOCD_proto_rawDesc = nil + file_Unk2800_OMGNOBICOCD_proto_goTypes = nil + file_Unk2800_OMGNOBICOCD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.proto b/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.proto new file mode 100644 index 00000000..8c4befa8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OMGNOBICOCD.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 843 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_OMGNOBICOCD { + uint32 Unk2800_DPEOIJKEAPB = 14; + CustomGadgetTreeInfo Unk2700_OCIHJFOKHPK = 11; + uint32 gadget_entity_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.pb.go b/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.pb.go new file mode 100644 index 00000000..d9c09a10 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_OOKIPFHPJMG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21054 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk2800_OOKIPFHPJMG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,8,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` +} + +func (x *Unk2800_OOKIPFHPJMG) Reset() { + *x = Unk2800_OOKIPFHPJMG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_OOKIPFHPJMG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_OOKIPFHPJMG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_OOKIPFHPJMG) ProtoMessage() {} + +func (x *Unk2800_OOKIPFHPJMG) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_OOKIPFHPJMG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_OOKIPFHPJMG.ProtoReflect.Descriptor instead. +func (*Unk2800_OOKIPFHPJMG) Descriptor() ([]byte, []int) { + return file_Unk2800_OOKIPFHPJMG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_OOKIPFHPJMG) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +var File_Unk2800_OOKIPFHPJMG_proto protoreflect.FileDescriptor + +var file_Unk2800_OOKIPFHPJMG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x4f, 0x4b, 0x49, 0x50, 0x46, + 0x48, 0x50, 0x4a, 0x4d, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x4f, 0x4b, 0x49, 0x50, 0x46, 0x48, 0x50, 0x4a, + 0x4d, 0x47, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_OOKIPFHPJMG_proto_rawDescOnce sync.Once + file_Unk2800_OOKIPFHPJMG_proto_rawDescData = file_Unk2800_OOKIPFHPJMG_proto_rawDesc +) + +func file_Unk2800_OOKIPFHPJMG_proto_rawDescGZIP() []byte { + file_Unk2800_OOKIPFHPJMG_proto_rawDescOnce.Do(func() { + file_Unk2800_OOKIPFHPJMG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_OOKIPFHPJMG_proto_rawDescData) + }) + return file_Unk2800_OOKIPFHPJMG_proto_rawDescData +} + +var file_Unk2800_OOKIPFHPJMG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_OOKIPFHPJMG_proto_goTypes = []interface{}{ + (*Unk2800_OOKIPFHPJMG)(nil), // 0: Unk2800_OOKIPFHPJMG +} +var file_Unk2800_OOKIPFHPJMG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk2800_OOKIPFHPJMG_proto_init() } +func file_Unk2800_OOKIPFHPJMG_proto_init() { + if File_Unk2800_OOKIPFHPJMG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk2800_OOKIPFHPJMG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_OOKIPFHPJMG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_OOKIPFHPJMG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_OOKIPFHPJMG_proto_goTypes, + DependencyIndexes: file_Unk2800_OOKIPFHPJMG_proto_depIdxs, + MessageInfos: file_Unk2800_OOKIPFHPJMG_proto_msgTypes, + }.Build() + File_Unk2800_OOKIPFHPJMG_proto = out.File + file_Unk2800_OOKIPFHPJMG_proto_rawDesc = nil + file_Unk2800_OOKIPFHPJMG_proto_goTypes = nil + file_Unk2800_OOKIPFHPJMG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.proto b/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.proto new file mode 100644 index 00000000..eb8c5e1a --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_OOKIPFHPJMG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21054 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk2800_OOKIPFHPJMG { + bool is_success = 8; +} diff --git a/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.pb.go b/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.pb.go new file mode 100644 index 00000000..ea6b6cc3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk2800_PHPHMILPOLC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk2800_PHPHMILPOLC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State Unk2800_FDLKPKFOIIK `protobuf:"varint,10,opt,name=state,proto3,enum=Unk2800_FDLKPKFOIIK" json:"state,omitempty"` + Unk2800_CLOCMPFBGMD uint32 `protobuf:"varint,4,opt,name=Unk2800_CLOCMPFBGMD,json=Unk2800CLOCMPFBGMD,proto3" json:"Unk2800_CLOCMPFBGMD,omitempty"` +} + +func (x *Unk2800_PHPHMILPOLC) Reset() { + *x = Unk2800_PHPHMILPOLC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk2800_PHPHMILPOLC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk2800_PHPHMILPOLC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk2800_PHPHMILPOLC) ProtoMessage() {} + +func (x *Unk2800_PHPHMILPOLC) ProtoReflect() protoreflect.Message { + mi := &file_Unk2800_PHPHMILPOLC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk2800_PHPHMILPOLC.ProtoReflect.Descriptor instead. +func (*Unk2800_PHPHMILPOLC) Descriptor() ([]byte, []int) { + return file_Unk2800_PHPHMILPOLC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk2800_PHPHMILPOLC) GetState() Unk2800_FDLKPKFOIIK { + if x != nil { + return x.State + } + return Unk2800_FDLKPKFOIIK_Unk2800_FDLKPKFOIIK_NONE +} + +func (x *Unk2800_PHPHMILPOLC) GetUnk2800_CLOCMPFBGMD() uint32 { + if x != nil { + return x.Unk2800_CLOCMPFBGMD + } + return 0 +} + +var File_Unk2800_PHPHMILPOLC_proto protoreflect.FileDescriptor + +var file_Unk2800_PHPHMILPOLC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x50, 0x48, 0x4d, 0x49, + 0x4c, 0x50, 0x4f, 0x4c, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, 0x50, 0x4b, 0x46, 0x4f, 0x49, 0x49, 0x4b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, + 0x30, 0x5f, 0x50, 0x48, 0x50, 0x48, 0x4d, 0x49, 0x4c, 0x50, 0x4f, 0x4c, 0x43, 0x12, 0x2a, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x46, 0x44, 0x4c, 0x4b, 0x50, 0x4b, 0x46, 0x4f, 0x49, + 0x49, 0x4b, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x38, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4f, 0x43, 0x4d, 0x50, 0x46, 0x42, 0x47, 0x4d, 0x44, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x43, + 0x4c, 0x4f, 0x43, 0x4d, 0x50, 0x46, 0x42, 0x47, 0x4d, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk2800_PHPHMILPOLC_proto_rawDescOnce sync.Once + file_Unk2800_PHPHMILPOLC_proto_rawDescData = file_Unk2800_PHPHMILPOLC_proto_rawDesc +) + +func file_Unk2800_PHPHMILPOLC_proto_rawDescGZIP() []byte { + file_Unk2800_PHPHMILPOLC_proto_rawDescOnce.Do(func() { + file_Unk2800_PHPHMILPOLC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk2800_PHPHMILPOLC_proto_rawDescData) + }) + return file_Unk2800_PHPHMILPOLC_proto_rawDescData +} + +var file_Unk2800_PHPHMILPOLC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk2800_PHPHMILPOLC_proto_goTypes = []interface{}{ + (*Unk2800_PHPHMILPOLC)(nil), // 0: Unk2800_PHPHMILPOLC + (Unk2800_FDLKPKFOIIK)(0), // 1: Unk2800_FDLKPKFOIIK +} +var file_Unk2800_PHPHMILPOLC_proto_depIdxs = []int32{ + 1, // 0: Unk2800_PHPHMILPOLC.state:type_name -> Unk2800_FDLKPKFOIIK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk2800_PHPHMILPOLC_proto_init() } +func file_Unk2800_PHPHMILPOLC_proto_init() { + if File_Unk2800_PHPHMILPOLC_proto != nil { + return + } + file_Unk2800_FDLKPKFOIIK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk2800_PHPHMILPOLC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk2800_PHPHMILPOLC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk2800_PHPHMILPOLC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk2800_PHPHMILPOLC_proto_goTypes, + DependencyIndexes: file_Unk2800_PHPHMILPOLC_proto_depIdxs, + MessageInfos: file_Unk2800_PHPHMILPOLC_proto_msgTypes, + }.Build() + File_Unk2800_PHPHMILPOLC_proto = out.File + file_Unk2800_PHPHMILPOLC_proto_rawDesc = nil + file_Unk2800_PHPHMILPOLC_proto_goTypes = nil + file_Unk2800_PHPHMILPOLC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.proto b/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.proto new file mode 100644 index 00000000..b0c24ceb --- /dev/null +++ b/gate-hk4e-api/proto/Unk2800_PHPHMILPOLC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FDLKPKFOIIK.proto"; + +option go_package = "./;proto"; + +message Unk2800_PHPHMILPOLC { + Unk2800_FDLKPKFOIIK state = 10; + uint32 Unk2800_CLOCMPFBGMD = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.pb.go b/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.pb.go new file mode 100644 index 00000000..300d007a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ACNMEFGKHKO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4622 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_ACNMEFGKHKO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_LOFNFMJFGNB uint32 `protobuf:"varint,1,opt,name=Unk3000_LOFNFMJFGNB,json=Unk3000LOFNFMJFGNB,proto3" json:"Unk3000_LOFNFMJFGNB,omitempty"` + Unk3000_DEDHCIKCAGH uint32 `protobuf:"varint,3,opt,name=Unk3000_DEDHCIKCAGH,json=Unk3000DEDHCIKCAGH,proto3" json:"Unk3000_DEDHCIKCAGH,omitempty"` + Unk3000_HCAJDIBHKDG uint32 `protobuf:"varint,2,opt,name=Unk3000_HCAJDIBHKDG,json=Unk3000HCAJDIBHKDG,proto3" json:"Unk3000_HCAJDIBHKDG,omitempty"` +} + +func (x *Unk3000_ACNMEFGKHKO) Reset() { + *x = Unk3000_ACNMEFGKHKO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ACNMEFGKHKO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ACNMEFGKHKO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ACNMEFGKHKO) ProtoMessage() {} + +func (x *Unk3000_ACNMEFGKHKO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ACNMEFGKHKO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ACNMEFGKHKO.ProtoReflect.Descriptor instead. +func (*Unk3000_ACNMEFGKHKO) Descriptor() ([]byte, []int) { + return file_Unk3000_ACNMEFGKHKO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ACNMEFGKHKO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_ACNMEFGKHKO) GetUnk3000_LOFNFMJFGNB() uint32 { + if x != nil { + return x.Unk3000_LOFNFMJFGNB + } + return 0 +} + +func (x *Unk3000_ACNMEFGKHKO) GetUnk3000_DEDHCIKCAGH() uint32 { + if x != nil { + return x.Unk3000_DEDHCIKCAGH + } + return 0 +} + +func (x *Unk3000_ACNMEFGKHKO) GetUnk3000_HCAJDIBHKDG() uint32 { + if x != nil { + return x.Unk3000_HCAJDIBHKDG + } + return 0 +} + +var File_Unk3000_ACNMEFGKHKO_proto protoreflect.FileDescriptor + +var file_Unk3000_ACNMEFGKHKO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x43, 0x4e, 0x4d, 0x45, 0x46, + 0x47, 0x4b, 0x48, 0x4b, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x43, 0x4e, 0x4d, 0x45, 0x46, 0x47, 0x4b, + 0x48, 0x4b, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x46, 0x4e, 0x46, 0x4d, 0x4a, + 0x46, 0x47, 0x4e, 0x42, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4c, 0x4f, 0x46, 0x4e, 0x46, 0x4d, 0x4a, 0x46, 0x47, 0x4e, 0x42, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x45, 0x44, 0x48, 0x43, 0x49, + 0x4b, 0x43, 0x41, 0x47, 0x48, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x44, 0x45, 0x44, 0x48, 0x43, 0x49, 0x4b, 0x43, 0x41, 0x47, 0x48, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x43, 0x41, 0x4a, 0x44, + 0x49, 0x42, 0x48, 0x4b, 0x44, 0x47, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x43, 0x41, 0x4a, 0x44, 0x49, 0x42, 0x48, 0x4b, 0x44, 0x47, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ACNMEFGKHKO_proto_rawDescOnce sync.Once + file_Unk3000_ACNMEFGKHKO_proto_rawDescData = file_Unk3000_ACNMEFGKHKO_proto_rawDesc +) + +func file_Unk3000_ACNMEFGKHKO_proto_rawDescGZIP() []byte { + file_Unk3000_ACNMEFGKHKO_proto_rawDescOnce.Do(func() { + file_Unk3000_ACNMEFGKHKO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ACNMEFGKHKO_proto_rawDescData) + }) + return file_Unk3000_ACNMEFGKHKO_proto_rawDescData +} + +var file_Unk3000_ACNMEFGKHKO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ACNMEFGKHKO_proto_goTypes = []interface{}{ + (*Unk3000_ACNMEFGKHKO)(nil), // 0: Unk3000_ACNMEFGKHKO +} +var file_Unk3000_ACNMEFGKHKO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_ACNMEFGKHKO_proto_init() } +func file_Unk3000_ACNMEFGKHKO_proto_init() { + if File_Unk3000_ACNMEFGKHKO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_ACNMEFGKHKO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ACNMEFGKHKO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ACNMEFGKHKO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ACNMEFGKHKO_proto_goTypes, + DependencyIndexes: file_Unk3000_ACNMEFGKHKO_proto_depIdxs, + MessageInfos: file_Unk3000_ACNMEFGKHKO_proto_msgTypes, + }.Build() + File_Unk3000_ACNMEFGKHKO_proto = out.File + file_Unk3000_ACNMEFGKHKO_proto_rawDesc = nil + file_Unk3000_ACNMEFGKHKO_proto_goTypes = nil + file_Unk3000_ACNMEFGKHKO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.proto b/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.proto new file mode 100644 index 00000000..dae7cc6c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ACNMEFGKHKO.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4622 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_ACNMEFGKHKO { + int32 retcode = 13; + uint32 Unk3000_LOFNFMJFGNB = 1; + uint32 Unk3000_DEDHCIKCAGH = 3; + uint32 Unk3000_HCAJDIBHKDG = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.pb.go b/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.pb.go new file mode 100644 index 00000000..8b347fc0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_AFMFIPPDAJE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4576 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_AFMFIPPDAJE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_OBLCKELHBGH map[uint32]uint32 `protobuf:"bytes,3,rep,name=Unk3000_OBLCKELHBGH,json=Unk3000OBLCKELHBGH,proto3" json:"Unk3000_OBLCKELHBGH,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Unk3000_LOFNFMJFGNB uint32 `protobuf:"varint,12,opt,name=Unk3000_LOFNFMJFGNB,json=Unk3000LOFNFMJFGNB,proto3" json:"Unk3000_LOFNFMJFGNB,omitempty"` +} + +func (x *Unk3000_AFMFIPPDAJE) Reset() { + *x = Unk3000_AFMFIPPDAJE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_AFMFIPPDAJE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_AFMFIPPDAJE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_AFMFIPPDAJE) ProtoMessage() {} + +func (x *Unk3000_AFMFIPPDAJE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_AFMFIPPDAJE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_AFMFIPPDAJE.ProtoReflect.Descriptor instead. +func (*Unk3000_AFMFIPPDAJE) Descriptor() ([]byte, []int) { + return file_Unk3000_AFMFIPPDAJE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_AFMFIPPDAJE) GetUnk3000_OBLCKELHBGH() map[uint32]uint32 { + if x != nil { + return x.Unk3000_OBLCKELHBGH + } + return nil +} + +func (x *Unk3000_AFMFIPPDAJE) GetUnk3000_LOFNFMJFGNB() uint32 { + if x != nil { + return x.Unk3000_LOFNFMJFGNB + } + return 0 +} + +var File_Unk3000_AFMFIPPDAJE_proto protoreflect.FileDescriptor + +var file_Unk3000_AFMFIPPDAJE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x4d, 0x46, 0x49, 0x50, + 0x50, 0x44, 0x41, 0x4a, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x4d, 0x46, 0x49, 0x50, 0x50, 0x44, + 0x41, 0x4a, 0x45, 0x12, 0x5d, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, + 0x42, 0x4c, 0x43, 0x4b, 0x45, 0x4c, 0x48, 0x42, 0x47, 0x48, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x46, 0x4d, 0x46, 0x49, + 0x50, 0x50, 0x44, 0x41, 0x4a, 0x45, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x42, + 0x4c, 0x43, 0x4b, 0x45, 0x4c, 0x48, 0x42, 0x47, 0x48, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x42, 0x4c, 0x43, 0x4b, 0x45, 0x4c, 0x48, 0x42, + 0x47, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4f, + 0x46, 0x4e, 0x46, 0x4d, 0x4a, 0x46, 0x47, 0x4e, 0x42, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4c, 0x4f, 0x46, 0x4e, 0x46, 0x4d, 0x4a, 0x46, + 0x47, 0x4e, 0x42, 0x1a, 0x45, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x42, + 0x4c, 0x43, 0x4b, 0x45, 0x4c, 0x48, 0x42, 0x47, 0x48, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_AFMFIPPDAJE_proto_rawDescOnce sync.Once + file_Unk3000_AFMFIPPDAJE_proto_rawDescData = file_Unk3000_AFMFIPPDAJE_proto_rawDesc +) + +func file_Unk3000_AFMFIPPDAJE_proto_rawDescGZIP() []byte { + file_Unk3000_AFMFIPPDAJE_proto_rawDescOnce.Do(func() { + file_Unk3000_AFMFIPPDAJE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_AFMFIPPDAJE_proto_rawDescData) + }) + return file_Unk3000_AFMFIPPDAJE_proto_rawDescData +} + +var file_Unk3000_AFMFIPPDAJE_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk3000_AFMFIPPDAJE_proto_goTypes = []interface{}{ + (*Unk3000_AFMFIPPDAJE)(nil), // 0: Unk3000_AFMFIPPDAJE + nil, // 1: Unk3000_AFMFIPPDAJE.Unk3000OBLCKELHBGHEntry +} +var file_Unk3000_AFMFIPPDAJE_proto_depIdxs = []int32{ + 1, // 0: Unk3000_AFMFIPPDAJE.Unk3000_OBLCKELHBGH:type_name -> Unk3000_AFMFIPPDAJE.Unk3000OBLCKELHBGHEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_AFMFIPPDAJE_proto_init() } +func file_Unk3000_AFMFIPPDAJE_proto_init() { + if File_Unk3000_AFMFIPPDAJE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_AFMFIPPDAJE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_AFMFIPPDAJE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_AFMFIPPDAJE_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_AFMFIPPDAJE_proto_goTypes, + DependencyIndexes: file_Unk3000_AFMFIPPDAJE_proto_depIdxs, + MessageInfos: file_Unk3000_AFMFIPPDAJE_proto_msgTypes, + }.Build() + File_Unk3000_AFMFIPPDAJE_proto = out.File + file_Unk3000_AFMFIPPDAJE_proto_rawDesc = nil + file_Unk3000_AFMFIPPDAJE_proto_goTypes = nil + file_Unk3000_AFMFIPPDAJE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.proto b/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.proto new file mode 100644 index 00000000..4aa5bfa5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AFMFIPPDAJE.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4576 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_AFMFIPPDAJE { + map Unk3000_OBLCKELHBGH = 3; + uint32 Unk3000_LOFNFMJFGNB = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.pb.go b/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.pb.go new file mode 100644 index 00000000..f20181bc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_AGDEGMCKIAF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 20702 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_AGDEGMCKIAF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_AGDEGMCKIAF) Reset() { + *x = Unk3000_AGDEGMCKIAF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_AGDEGMCKIAF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_AGDEGMCKIAF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_AGDEGMCKIAF) ProtoMessage() {} + +func (x *Unk3000_AGDEGMCKIAF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_AGDEGMCKIAF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_AGDEGMCKIAF.ProtoReflect.Descriptor instead. +func (*Unk3000_AGDEGMCKIAF) Descriptor() ([]byte, []int) { + return file_Unk3000_AGDEGMCKIAF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_AGDEGMCKIAF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_AGDEGMCKIAF_proto protoreflect.FileDescriptor + +var file_Unk3000_AGDEGMCKIAF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x44, 0x45, 0x47, 0x4d, + 0x43, 0x4b, 0x49, 0x41, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x47, 0x44, 0x45, 0x47, 0x4d, 0x43, 0x4b, 0x49, + 0x41, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_AGDEGMCKIAF_proto_rawDescOnce sync.Once + file_Unk3000_AGDEGMCKIAF_proto_rawDescData = file_Unk3000_AGDEGMCKIAF_proto_rawDesc +) + +func file_Unk3000_AGDEGMCKIAF_proto_rawDescGZIP() []byte { + file_Unk3000_AGDEGMCKIAF_proto_rawDescOnce.Do(func() { + file_Unk3000_AGDEGMCKIAF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_AGDEGMCKIAF_proto_rawDescData) + }) + return file_Unk3000_AGDEGMCKIAF_proto_rawDescData +} + +var file_Unk3000_AGDEGMCKIAF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_AGDEGMCKIAF_proto_goTypes = []interface{}{ + (*Unk3000_AGDEGMCKIAF)(nil), // 0: Unk3000_AGDEGMCKIAF +} +var file_Unk3000_AGDEGMCKIAF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_AGDEGMCKIAF_proto_init() } +func file_Unk3000_AGDEGMCKIAF_proto_init() { + if File_Unk3000_AGDEGMCKIAF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_AGDEGMCKIAF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_AGDEGMCKIAF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_AGDEGMCKIAF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_AGDEGMCKIAF_proto_goTypes, + DependencyIndexes: file_Unk3000_AGDEGMCKIAF_proto_depIdxs, + MessageInfos: file_Unk3000_AGDEGMCKIAF_proto_msgTypes, + }.Build() + File_Unk3000_AGDEGMCKIAF_proto = out.File + file_Unk3000_AGDEGMCKIAF_proto_rawDesc = nil + file_Unk3000_AGDEGMCKIAF_proto_goTypes = nil + file_Unk3000_AGDEGMCKIAF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.proto b/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.proto new file mode 100644 index 00000000..5331c0d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AGDEGMCKIAF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 20702 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_AGDEGMCKIAF { + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.pb.go b/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.pb.go new file mode 100644 index 00000000..83d3369b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_AHNHHIOAHBC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_AHNHHIOAHBC int32 + +const ( + Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_NONE Unk3000_AHNHHIOAHBC = 0 + Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_Unk3000_IKCFCMNEEAO Unk3000_AHNHHIOAHBC = 1 + Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_Unk3000_BCPDDCDJHHA Unk3000_AHNHHIOAHBC = 2 + Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_FINISHED Unk3000_AHNHHIOAHBC = 3 +) + +// Enum value maps for Unk3000_AHNHHIOAHBC. +var ( + Unk3000_AHNHHIOAHBC_name = map[int32]string{ + 0: "Unk3000_AHNHHIOAHBC_NONE", + 1: "Unk3000_AHNHHIOAHBC_Unk3000_IKCFCMNEEAO", + 2: "Unk3000_AHNHHIOAHBC_Unk3000_BCPDDCDJHHA", + 3: "Unk3000_AHNHHIOAHBC_FINISHED", + } + Unk3000_AHNHHIOAHBC_value = map[string]int32{ + "Unk3000_AHNHHIOAHBC_NONE": 0, + "Unk3000_AHNHHIOAHBC_Unk3000_IKCFCMNEEAO": 1, + "Unk3000_AHNHHIOAHBC_Unk3000_BCPDDCDJHHA": 2, + "Unk3000_AHNHHIOAHBC_FINISHED": 3, + } +) + +func (x Unk3000_AHNHHIOAHBC) Enum() *Unk3000_AHNHHIOAHBC { + p := new(Unk3000_AHNHHIOAHBC) + *p = x + return p +} + +func (x Unk3000_AHNHHIOAHBC) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_AHNHHIOAHBC) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_AHNHHIOAHBC_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_AHNHHIOAHBC) Type() protoreflect.EnumType { + return &file_Unk3000_AHNHHIOAHBC_proto_enumTypes[0] +} + +func (x Unk3000_AHNHHIOAHBC) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_AHNHHIOAHBC.Descriptor instead. +func (Unk3000_AHNHHIOAHBC) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_AHNHHIOAHBC_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_AHNHHIOAHBC_proto protoreflect.FileDescriptor + +var file_Unk3000_AHNHHIOAHBC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, + 0x4f, 0x41, 0x48, 0x42, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xaf, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, + 0x48, 0x42, 0x43, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, + 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, + 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x49, 0x4b, 0x43, 0x46, 0x43, 0x4d, 0x4e, 0x45, 0x45, 0x41, 0x4f, 0x10, 0x01, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, + 0x4f, 0x41, 0x48, 0x42, 0x43, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x43, + 0x50, 0x44, 0x44, 0x43, 0x44, 0x4a, 0x48, 0x48, 0x41, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, + 0x42, 0x43, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x03, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_AHNHHIOAHBC_proto_rawDescOnce sync.Once + file_Unk3000_AHNHHIOAHBC_proto_rawDescData = file_Unk3000_AHNHHIOAHBC_proto_rawDesc +) + +func file_Unk3000_AHNHHIOAHBC_proto_rawDescGZIP() []byte { + file_Unk3000_AHNHHIOAHBC_proto_rawDescOnce.Do(func() { + file_Unk3000_AHNHHIOAHBC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_AHNHHIOAHBC_proto_rawDescData) + }) + return file_Unk3000_AHNHHIOAHBC_proto_rawDescData +} + +var file_Unk3000_AHNHHIOAHBC_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_AHNHHIOAHBC_proto_goTypes = []interface{}{ + (Unk3000_AHNHHIOAHBC)(0), // 0: Unk3000_AHNHHIOAHBC +} +var file_Unk3000_AHNHHIOAHBC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_AHNHHIOAHBC_proto_init() } +func file_Unk3000_AHNHHIOAHBC_proto_init() { + if File_Unk3000_AHNHHIOAHBC_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_AHNHHIOAHBC_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_AHNHHIOAHBC_proto_goTypes, + DependencyIndexes: file_Unk3000_AHNHHIOAHBC_proto_depIdxs, + EnumInfos: file_Unk3000_AHNHHIOAHBC_proto_enumTypes, + }.Build() + File_Unk3000_AHNHHIOAHBC_proto = out.File + file_Unk3000_AHNHHIOAHBC_proto_rawDesc = nil + file_Unk3000_AHNHHIOAHBC_proto_goTypes = nil + file_Unk3000_AHNHHIOAHBC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.proto b/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.proto new file mode 100644 index 00000000..c5c00386 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AHNHHIOAHBC.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk3000_AHNHHIOAHBC { + Unk3000_AHNHHIOAHBC_NONE = 0; + Unk3000_AHNHHIOAHBC_Unk3000_IKCFCMNEEAO = 1; + Unk3000_AHNHHIOAHBC_Unk3000_BCPDDCDJHHA = 2; + Unk3000_AHNHHIOAHBC_FINISHED = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.pb.go b/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.pb.go new file mode 100644 index 00000000..65de2104 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ALPEACOMIPG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_ALPEACOMIPG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHKHIPLDOOA []*Unk3000_ECGHJKANPJK `protobuf:"bytes,10,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` + Unk3000_FJENMMCFMGD uint32 `protobuf:"varint,7,opt,name=Unk3000_FJENMMCFMGD,json=Unk3000FJENMMCFMGD,proto3" json:"Unk3000_FJENMMCFMGD,omitempty"` + Unk3000_HKABHFLDNKF []uint32 `protobuf:"varint,6,rep,packed,name=Unk3000_HKABHFLDNKF,json=Unk3000HKABHFLDNKF,proto3" json:"Unk3000_HKABHFLDNKF,omitempty"` +} + +func (x *Unk3000_ALPEACOMIPG) Reset() { + *x = Unk3000_ALPEACOMIPG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ALPEACOMIPG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ALPEACOMIPG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ALPEACOMIPG) ProtoMessage() {} + +func (x *Unk3000_ALPEACOMIPG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ALPEACOMIPG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ALPEACOMIPG.ProtoReflect.Descriptor instead. +func (*Unk3000_ALPEACOMIPG) Descriptor() ([]byte, []int) { + return file_Unk3000_ALPEACOMIPG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ALPEACOMIPG) GetUnk2700_PHKHIPLDOOA() []*Unk3000_ECGHJKANPJK { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +func (x *Unk3000_ALPEACOMIPG) GetUnk3000_FJENMMCFMGD() uint32 { + if x != nil { + return x.Unk3000_FJENMMCFMGD + } + return 0 +} + +func (x *Unk3000_ALPEACOMIPG) GetUnk3000_HKABHFLDNKF() []uint32 { + if x != nil { + return x.Unk3000_HKABHFLDNKF + } + return nil +} + +var File_Unk3000_ALPEACOMIPG_proto protoreflect.FileDescriptor + +var file_Unk3000_ALPEACOMIPG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x50, 0x45, 0x41, 0x43, + 0x4f, 0x4d, 0x49, 0x50, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x47, 0x48, 0x4a, 0x4b, 0x41, 0x4e, 0x50, 0x4a, 0x4b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x50, 0x45, 0x41, 0x43, 0x4f, 0x4d, 0x49, 0x50, 0x47, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, + 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x47, 0x48, 0x4a, 0x4b, 0x41, 0x4e, 0x50, 0x4a, + 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, + 0x4c, 0x44, 0x4f, 0x4f, 0x41, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x46, 0x4a, 0x45, 0x4e, 0x4d, 0x4d, 0x43, 0x46, 0x4d, 0x47, 0x44, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x46, 0x4a, 0x45, 0x4e, 0x4d, + 0x4d, 0x43, 0x46, 0x4d, 0x47, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x48, 0x4b, 0x41, 0x42, 0x48, 0x46, 0x4c, 0x44, 0x4e, 0x4b, 0x46, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4b, 0x41, 0x42, + 0x48, 0x46, 0x4c, 0x44, 0x4e, 0x4b, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ALPEACOMIPG_proto_rawDescOnce sync.Once + file_Unk3000_ALPEACOMIPG_proto_rawDescData = file_Unk3000_ALPEACOMIPG_proto_rawDesc +) + +func file_Unk3000_ALPEACOMIPG_proto_rawDescGZIP() []byte { + file_Unk3000_ALPEACOMIPG_proto_rawDescOnce.Do(func() { + file_Unk3000_ALPEACOMIPG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ALPEACOMIPG_proto_rawDescData) + }) + return file_Unk3000_ALPEACOMIPG_proto_rawDescData +} + +var file_Unk3000_ALPEACOMIPG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ALPEACOMIPG_proto_goTypes = []interface{}{ + (*Unk3000_ALPEACOMIPG)(nil), // 0: Unk3000_ALPEACOMIPG + (*Unk3000_ECGHJKANPJK)(nil), // 1: Unk3000_ECGHJKANPJK +} +var file_Unk3000_ALPEACOMIPG_proto_depIdxs = []int32{ + 1, // 0: Unk3000_ALPEACOMIPG.Unk2700_PHKHIPLDOOA:type_name -> Unk3000_ECGHJKANPJK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_ALPEACOMIPG_proto_init() } +func file_Unk3000_ALPEACOMIPG_proto_init() { + if File_Unk3000_ALPEACOMIPG_proto != nil { + return + } + file_Unk3000_ECGHJKANPJK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_ALPEACOMIPG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ALPEACOMIPG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ALPEACOMIPG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ALPEACOMIPG_proto_goTypes, + DependencyIndexes: file_Unk3000_ALPEACOMIPG_proto_depIdxs, + MessageInfos: file_Unk3000_ALPEACOMIPG_proto_msgTypes, + }.Build() + File_Unk3000_ALPEACOMIPG_proto = out.File + file_Unk3000_ALPEACOMIPG_proto_rawDesc = nil + file_Unk3000_ALPEACOMIPG_proto_goTypes = nil + file_Unk3000_ALPEACOMIPG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.proto b/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.proto new file mode 100644 index 00000000..ccdb184a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ALPEACOMIPG.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_ECGHJKANPJK.proto"; + +option go_package = "./;proto"; + +message Unk3000_ALPEACOMIPG { + repeated Unk3000_ECGHJKANPJK Unk2700_PHKHIPLDOOA = 10; + uint32 Unk3000_FJENMMCFMGD = 7; + repeated uint32 Unk3000_HKABHFLDNKF = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.pb.go b/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.pb.go new file mode 100644 index 00000000..12ba574c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.pb.go @@ -0,0 +1,250 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_AMGHKNBNNPD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_AMGHKNBNNPD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_OFFBBHIKDIN float32 `protobuf:"fixed32,1,opt,name=Unk3000_OFFBBHIKDIN,json=Unk3000OFFBBHIKDIN,proto3" json:"Unk3000_OFFBBHIKDIN,omitempty"` + AnimatorStateIdList []uint32 `protobuf:"varint,2,rep,packed,name=animator_state_id_list,json=animatorStateIdList,proto3" json:"animator_state_id_list,omitempty"` + EntityId uint32 `protobuf:"varint,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + NeedSetIsInAir bool `protobuf:"varint,13,opt,name=need_set_is_in_air,json=needSetIsInAir,proto3" json:"need_set_is_in_air,omitempty"` + Speed float32 `protobuf:"fixed32,12,opt,name=speed,proto3" json:"speed,omitempty"` + Unk3000_PJPFIPOLNAH float32 `protobuf:"fixed32,8,opt,name=Unk3000_PJPFIPOLNAH,json=Unk3000PJPFIPOLNAH,proto3" json:"Unk3000_PJPFIPOLNAH,omitempty"` + CheckAnimatorStateOnExitOnly bool `protobuf:"varint,11,opt,name=check_animator_state_on_exit_only,json=checkAnimatorStateOnExitOnly,proto3" json:"check_animator_state_on_exit_only,omitempty"` + OverrideCollider string `protobuf:"bytes,14,opt,name=override_collider,json=overrideCollider,proto3" json:"override_collider,omitempty"` + TargetPos *Vector `protobuf:"bytes,10,opt,name=target_pos,json=targetPos,proto3" json:"target_pos,omitempty"` +} + +func (x *Unk3000_AMGHKNBNNPD) Reset() { + *x = Unk3000_AMGHKNBNNPD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_AMGHKNBNNPD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_AMGHKNBNNPD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_AMGHKNBNNPD) ProtoMessage() {} + +func (x *Unk3000_AMGHKNBNNPD) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_AMGHKNBNNPD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_AMGHKNBNNPD.ProtoReflect.Descriptor instead. +func (*Unk3000_AMGHKNBNNPD) Descriptor() ([]byte, []int) { + return file_Unk3000_AMGHKNBNNPD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_AMGHKNBNNPD) GetUnk3000_OFFBBHIKDIN() float32 { + if x != nil { + return x.Unk3000_OFFBBHIKDIN + } + return 0 +} + +func (x *Unk3000_AMGHKNBNNPD) GetAnimatorStateIdList() []uint32 { + if x != nil { + return x.AnimatorStateIdList + } + return nil +} + +func (x *Unk3000_AMGHKNBNNPD) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk3000_AMGHKNBNNPD) GetNeedSetIsInAir() bool { + if x != nil { + return x.NeedSetIsInAir + } + return false +} + +func (x *Unk3000_AMGHKNBNNPD) GetSpeed() float32 { + if x != nil { + return x.Speed + } + return 0 +} + +func (x *Unk3000_AMGHKNBNNPD) GetUnk3000_PJPFIPOLNAH() float32 { + if x != nil { + return x.Unk3000_PJPFIPOLNAH + } + return 0 +} + +func (x *Unk3000_AMGHKNBNNPD) GetCheckAnimatorStateOnExitOnly() bool { + if x != nil { + return x.CheckAnimatorStateOnExitOnly + } + return false +} + +func (x *Unk3000_AMGHKNBNNPD) GetOverrideCollider() string { + if x != nil { + return x.OverrideCollider + } + return "" +} + +func (x *Unk3000_AMGHKNBNNPD) GetTargetPos() *Vector { + if x != nil { + return x.TargetPos + } + return nil +} + +var File_Unk3000_AMGHKNBNNPD_proto protoreflect.FileDescriptor + +var file_Unk3000_AMGHKNBNNPD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x47, 0x48, 0x4b, 0x4e, + 0x42, 0x4e, 0x4e, 0x50, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x03, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4d, 0x47, 0x48, 0x4b, 0x4e, 0x42, 0x4e, 0x4e, 0x50, + 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x46, + 0x42, 0x42, 0x48, 0x49, 0x4b, 0x44, 0x49, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x46, 0x46, 0x42, 0x42, 0x48, 0x49, 0x4b, 0x44, + 0x49, 0x4e, 0x12, 0x33, 0x0a, 0x16, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x13, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x12, 0x6e, 0x65, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, + 0x5f, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x61, 0x69, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x65, 0x74, 0x49, 0x73, 0x49, 0x6e, 0x41, 0x69, 0x72, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x50, 0x4a, 0x50, 0x46, 0x49, 0x50, 0x4f, 0x4c, 0x4e, 0x41, 0x48, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x50, 0x4a, 0x50, 0x46, + 0x49, 0x50, 0x4f, 0x4c, 0x4e, 0x41, 0x48, 0x12, 0x47, 0x0a, 0x21, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x61, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, + 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x1c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x6e, 0x69, 0x6d, 0x61, 0x74, 0x6f, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x45, 0x78, 0x69, 0x74, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6c, + 0x6c, 0x69, 0x64, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x76, 0x65, + 0x72, 0x72, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_AMGHKNBNNPD_proto_rawDescOnce sync.Once + file_Unk3000_AMGHKNBNNPD_proto_rawDescData = file_Unk3000_AMGHKNBNNPD_proto_rawDesc +) + +func file_Unk3000_AMGHKNBNNPD_proto_rawDescGZIP() []byte { + file_Unk3000_AMGHKNBNNPD_proto_rawDescOnce.Do(func() { + file_Unk3000_AMGHKNBNNPD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_AMGHKNBNNPD_proto_rawDescData) + }) + return file_Unk3000_AMGHKNBNNPD_proto_rawDescData +} + +var file_Unk3000_AMGHKNBNNPD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_AMGHKNBNNPD_proto_goTypes = []interface{}{ + (*Unk3000_AMGHKNBNNPD)(nil), // 0: Unk3000_AMGHKNBNNPD + (*Vector)(nil), // 1: Vector +} +var file_Unk3000_AMGHKNBNNPD_proto_depIdxs = []int32{ + 1, // 0: Unk3000_AMGHKNBNNPD.target_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_AMGHKNBNNPD_proto_init() } +func file_Unk3000_AMGHKNBNNPD_proto_init() { + if File_Unk3000_AMGHKNBNNPD_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_AMGHKNBNNPD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_AMGHKNBNNPD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_AMGHKNBNNPD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_AMGHKNBNNPD_proto_goTypes, + DependencyIndexes: file_Unk3000_AMGHKNBNNPD_proto_depIdxs, + MessageInfos: file_Unk3000_AMGHKNBNNPD_proto_msgTypes, + }.Build() + File_Unk3000_AMGHKNBNNPD_proto = out.File + file_Unk3000_AMGHKNBNNPD_proto_rawDesc = nil + file_Unk3000_AMGHKNBNNPD_proto_goTypes = nil + file_Unk3000_AMGHKNBNNPD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.proto b/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.proto new file mode 100644 index 00000000..c5c719af --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_AMGHKNBNNPD.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_AMGHKNBNNPD { + float Unk3000_OFFBBHIKDIN = 1; + repeated uint32 animator_state_id_list = 2; + uint32 entity_id = 3; + bool need_set_is_in_air = 13; + float speed = 12; + float Unk3000_PJPFIPOLNAH = 8; + bool check_animator_state_on_exit_only = 11; + string override_collider = 14; + Vector target_pos = 10; +} diff --git a/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.pb.go b/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.pb.go new file mode 100644 index 00000000..2dcd913c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_BGPMEPKCLPA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_BGPMEPKCLPA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_MKIJEIKFIJP []*Unk3000_CMEPCFFDIGL `protobuf:"bytes,3,rep,name=Unk3000_MKIJEIKFIJP,json=Unk3000MKIJEIKFIJP,proto3" json:"Unk3000_MKIJEIKFIJP,omitempty"` +} + +func (x *Unk3000_BGPMEPKCLPA) Reset() { + *x = Unk3000_BGPMEPKCLPA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_BGPMEPKCLPA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_BGPMEPKCLPA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_BGPMEPKCLPA) ProtoMessage() {} + +func (x *Unk3000_BGPMEPKCLPA) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_BGPMEPKCLPA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_BGPMEPKCLPA.ProtoReflect.Descriptor instead. +func (*Unk3000_BGPMEPKCLPA) Descriptor() ([]byte, []int) { + return file_Unk3000_BGPMEPKCLPA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_BGPMEPKCLPA) GetUnk3000_MKIJEIKFIJP() []*Unk3000_CMEPCFFDIGL { + if x != nil { + return x.Unk3000_MKIJEIKFIJP + } + return nil +} + +var File_Unk3000_BGPMEPKCLPA_proto protoreflect.FileDescriptor + +var file_Unk3000_BGPMEPKCLPA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, 0x50, + 0x4b, 0x43, 0x4c, 0x50, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x45, 0x50, 0x43, 0x46, 0x46, 0x44, 0x49, 0x47, 0x4c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, 0x50, 0x4b, 0x43, 0x4c, 0x50, 0x41, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x49, 0x4a, 0x45, 0x49, 0x4b, + 0x46, 0x49, 0x4a, 0x50, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x45, 0x50, 0x43, 0x46, 0x46, 0x44, 0x49, 0x47, 0x4c, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x49, 0x4a, 0x45, 0x49, 0x4b, + 0x46, 0x49, 0x4a, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_BGPMEPKCLPA_proto_rawDescOnce sync.Once + file_Unk3000_BGPMEPKCLPA_proto_rawDescData = file_Unk3000_BGPMEPKCLPA_proto_rawDesc +) + +func file_Unk3000_BGPMEPKCLPA_proto_rawDescGZIP() []byte { + file_Unk3000_BGPMEPKCLPA_proto_rawDescOnce.Do(func() { + file_Unk3000_BGPMEPKCLPA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_BGPMEPKCLPA_proto_rawDescData) + }) + return file_Unk3000_BGPMEPKCLPA_proto_rawDescData +} + +var file_Unk3000_BGPMEPKCLPA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_BGPMEPKCLPA_proto_goTypes = []interface{}{ + (*Unk3000_BGPMEPKCLPA)(nil), // 0: Unk3000_BGPMEPKCLPA + (*Unk3000_CMEPCFFDIGL)(nil), // 1: Unk3000_CMEPCFFDIGL +} +var file_Unk3000_BGPMEPKCLPA_proto_depIdxs = []int32{ + 1, // 0: Unk3000_BGPMEPKCLPA.Unk3000_MKIJEIKFIJP:type_name -> Unk3000_CMEPCFFDIGL + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_BGPMEPKCLPA_proto_init() } +func file_Unk3000_BGPMEPKCLPA_proto_init() { + if File_Unk3000_BGPMEPKCLPA_proto != nil { + return + } + file_Unk3000_CMEPCFFDIGL_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_BGPMEPKCLPA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_BGPMEPKCLPA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_BGPMEPKCLPA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_BGPMEPKCLPA_proto_goTypes, + DependencyIndexes: file_Unk3000_BGPMEPKCLPA_proto_depIdxs, + MessageInfos: file_Unk3000_BGPMEPKCLPA_proto_msgTypes, + }.Build() + File_Unk3000_BGPMEPKCLPA_proto = out.File + file_Unk3000_BGPMEPKCLPA_proto_rawDesc = nil + file_Unk3000_BGPMEPKCLPA_proto_goTypes = nil + file_Unk3000_BGPMEPKCLPA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.proto b/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.proto new file mode 100644 index 00000000..f83586dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BGPMEPKCLPA.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_CMEPCFFDIGL.proto"; + +option go_package = "./;proto"; + +message Unk3000_BGPMEPKCLPA { + repeated Unk3000_CMEPCFFDIGL Unk3000_MKIJEIKFIJP = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.pb.go b/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.pb.go new file mode 100644 index 00000000..cadfea06 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.pb.go @@ -0,0 +1,220 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_BMLKKNEINNF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1481 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_BMLKKNEINNF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_HJKCLHGMBFC string `protobuf:"bytes,9,opt,name=Unk3000_HJKCLHGMBFC,json=Unk3000HJKCLHGMBFC,proto3" json:"Unk3000_HJKCLHGMBFC,omitempty"` + MailList []*MailData `protobuf:"bytes,5,rep,name=mail_list,json=mailList,proto3" json:"mail_list,omitempty"` + Unk3000_OJIKNBEGAKL uint32 `protobuf:"varint,11,opt,name=Unk3000_OJIKNBEGAKL,json=Unk3000OJIKNBEGAKL,proto3" json:"Unk3000_OJIKNBEGAKL,omitempty"` + Unk3000_DKLGOIEPECB uint32 `protobuf:"varint,4,opt,name=Unk3000_DKLGOIEPECB,json=Unk3000DKLGOIEPECB,proto3" json:"Unk3000_DKLGOIEPECB,omitempty"` + Unk2700_OPEHLDAGICF bool `protobuf:"varint,7,opt,name=Unk2700_OPEHLDAGICF,json=Unk2700OPEHLDAGICF,proto3" json:"Unk2700_OPEHLDAGICF,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_BMLKKNEINNF) Reset() { + *x = Unk3000_BMLKKNEINNF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_BMLKKNEINNF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_BMLKKNEINNF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_BMLKKNEINNF) ProtoMessage() {} + +func (x *Unk3000_BMLKKNEINNF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_BMLKKNEINNF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_BMLKKNEINNF.ProtoReflect.Descriptor instead. +func (*Unk3000_BMLKKNEINNF) Descriptor() ([]byte, []int) { + return file_Unk3000_BMLKKNEINNF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_BMLKKNEINNF) GetUnk3000_HJKCLHGMBFC() string { + if x != nil { + return x.Unk3000_HJKCLHGMBFC + } + return "" +} + +func (x *Unk3000_BMLKKNEINNF) GetMailList() []*MailData { + if x != nil { + return x.MailList + } + return nil +} + +func (x *Unk3000_BMLKKNEINNF) GetUnk3000_OJIKNBEGAKL() uint32 { + if x != nil { + return x.Unk3000_OJIKNBEGAKL + } + return 0 +} + +func (x *Unk3000_BMLKKNEINNF) GetUnk3000_DKLGOIEPECB() uint32 { + if x != nil { + return x.Unk3000_DKLGOIEPECB + } + return 0 +} + +func (x *Unk3000_BMLKKNEINNF) GetUnk2700_OPEHLDAGICF() bool { + if x != nil { + return x.Unk2700_OPEHLDAGICF + } + return false +} + +func (x *Unk3000_BMLKKNEINNF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_BMLKKNEINNF_proto protoreflect.FileDescriptor + +var file_Unk3000_BMLKKNEINNF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x4c, 0x4b, 0x4b, 0x4e, + 0x45, 0x49, 0x4e, 0x4e, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x4d, 0x61, 0x69, + 0x6c, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4d, 0x4c, 0x4b, 0x4b, 0x4e, 0x45, 0x49, + 0x4e, 0x4e, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, + 0x4a, 0x4b, 0x43, 0x4c, 0x48, 0x47, 0x4d, 0x42, 0x46, 0x43, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4a, 0x4b, 0x43, 0x4c, 0x48, 0x47, + 0x4d, 0x42, 0x46, 0x43, 0x12, 0x26, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x49, 0x4b, 0x4e, 0x42, 0x45, 0x47, + 0x41, 0x4b, 0x4c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x4f, 0x4a, 0x49, 0x4b, 0x4e, 0x42, 0x45, 0x47, 0x41, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x4b, 0x4c, 0x47, 0x4f, 0x49, 0x45, + 0x50, 0x45, 0x43, 0x42, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x44, 0x4b, 0x4c, 0x47, 0x4f, 0x49, 0x45, 0x50, 0x45, 0x43, 0x42, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, 0x45, 0x48, 0x4c, 0x44, + 0x41, 0x47, 0x49, 0x43, 0x46, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x4f, 0x50, 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_BMLKKNEINNF_proto_rawDescOnce sync.Once + file_Unk3000_BMLKKNEINNF_proto_rawDescData = file_Unk3000_BMLKKNEINNF_proto_rawDesc +) + +func file_Unk3000_BMLKKNEINNF_proto_rawDescGZIP() []byte { + file_Unk3000_BMLKKNEINNF_proto_rawDescOnce.Do(func() { + file_Unk3000_BMLKKNEINNF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_BMLKKNEINNF_proto_rawDescData) + }) + return file_Unk3000_BMLKKNEINNF_proto_rawDescData +} + +var file_Unk3000_BMLKKNEINNF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_BMLKKNEINNF_proto_goTypes = []interface{}{ + (*Unk3000_BMLKKNEINNF)(nil), // 0: Unk3000_BMLKKNEINNF + (*MailData)(nil), // 1: MailData +} +var file_Unk3000_BMLKKNEINNF_proto_depIdxs = []int32{ + 1, // 0: Unk3000_BMLKKNEINNF.mail_list:type_name -> MailData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_BMLKKNEINNF_proto_init() } +func file_Unk3000_BMLKKNEINNF_proto_init() { + if File_Unk3000_BMLKKNEINNF_proto != nil { + return + } + file_MailData_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_BMLKKNEINNF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_BMLKKNEINNF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_BMLKKNEINNF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_BMLKKNEINNF_proto_goTypes, + DependencyIndexes: file_Unk3000_BMLKKNEINNF_proto_depIdxs, + MessageInfos: file_Unk3000_BMLKKNEINNF_proto_msgTypes, + }.Build() + File_Unk3000_BMLKKNEINNF_proto = out.File + file_Unk3000_BMLKKNEINNF_proto_rawDesc = nil + file_Unk3000_BMLKKNEINNF_proto_goTypes = nil + file_Unk3000_BMLKKNEINNF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.proto b/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.proto new file mode 100644 index 00000000..94e52114 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BMLKKNEINNF.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MailData.proto"; + +option go_package = "./;proto"; + +// CmdId: 1481 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_BMLKKNEINNF { + string Unk3000_HJKCLHGMBFC = 9; + repeated MailData mail_list = 5; + uint32 Unk3000_OJIKNBEGAKL = 11; + uint32 Unk3000_DKLGOIEPECB = 4; + bool Unk2700_OPEHLDAGICF = 7; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.pb.go b/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.pb.go new file mode 100644 index 00000000..ad612bbd --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.pb.go @@ -0,0 +1,167 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_BOBIJEDOFKG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_BOBIJEDOFKG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + Id uint32 `protobuf:"varint,14,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *Unk3000_BOBIJEDOFKG) Reset() { + *x = Unk3000_BOBIJEDOFKG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_BOBIJEDOFKG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_BOBIJEDOFKG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_BOBIJEDOFKG) ProtoMessage() {} + +func (x *Unk3000_BOBIJEDOFKG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_BOBIJEDOFKG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_BOBIJEDOFKG.ProtoReflect.Descriptor instead. +func (*Unk3000_BOBIJEDOFKG) Descriptor() ([]byte, []int) { + return file_Unk3000_BOBIJEDOFKG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_BOBIJEDOFKG) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk3000_BOBIJEDOFKG) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_Unk3000_BOBIJEDOFKG_proto protoreflect.FileDescriptor + +var file_Unk3000_BOBIJEDOFKG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x42, 0x49, 0x4a, 0x45, + 0x44, 0x4f, 0x46, 0x4b, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x42, 0x49, 0x4a, 0x45, 0x44, 0x4f, 0x46, + 0x4b, 0x47, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_BOBIJEDOFKG_proto_rawDescOnce sync.Once + file_Unk3000_BOBIJEDOFKG_proto_rawDescData = file_Unk3000_BOBIJEDOFKG_proto_rawDesc +) + +func file_Unk3000_BOBIJEDOFKG_proto_rawDescGZIP() []byte { + file_Unk3000_BOBIJEDOFKG_proto_rawDescOnce.Do(func() { + file_Unk3000_BOBIJEDOFKG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_BOBIJEDOFKG_proto_rawDescData) + }) + return file_Unk3000_BOBIJEDOFKG_proto_rawDescData +} + +var file_Unk3000_BOBIJEDOFKG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_BOBIJEDOFKG_proto_goTypes = []interface{}{ + (*Unk3000_BOBIJEDOFKG)(nil), // 0: Unk3000_BOBIJEDOFKG +} +var file_Unk3000_BOBIJEDOFKG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_BOBIJEDOFKG_proto_init() } +func file_Unk3000_BOBIJEDOFKG_proto_init() { + if File_Unk3000_BOBIJEDOFKG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_BOBIJEDOFKG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_BOBIJEDOFKG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_BOBIJEDOFKG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_BOBIJEDOFKG_proto_goTypes, + DependencyIndexes: file_Unk3000_BOBIJEDOFKG_proto_depIdxs, + MessageInfos: file_Unk3000_BOBIJEDOFKG_proto_msgTypes, + }.Build() + File_Unk3000_BOBIJEDOFKG_proto = out.File + file_Unk3000_BOBIJEDOFKG_proto_rawDesc = nil + file_Unk3000_BOBIJEDOFKG_proto_goTypes = nil + file_Unk3000_BOBIJEDOFKG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.proto b/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.proto new file mode 100644 index 00000000..fd3e03d3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_BOBIJEDOFKG.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_BOBIJEDOFKG { + bool is_open = 9; + uint32 id = 14; +} diff --git a/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.pb.go b/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.pb.go new file mode 100644 index 00000000..2732c460 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_CMEPCFFDIGL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_CMEPCFFDIGL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level int32 `protobuf:"varint,10,opt,name=level,proto3" json:"level,omitempty"` + Unk3000_MKIJEIKFIJP []*Unk3000_GDKMIBFADKD `protobuf:"bytes,6,rep,name=Unk3000_MKIJEIKFIJP,json=Unk3000MKIJEIKFIJP,proto3" json:"Unk3000_MKIJEIKFIJP,omitempty"` +} + +func (x *Unk3000_CMEPCFFDIGL) Reset() { + *x = Unk3000_CMEPCFFDIGL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_CMEPCFFDIGL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_CMEPCFFDIGL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_CMEPCFFDIGL) ProtoMessage() {} + +func (x *Unk3000_CMEPCFFDIGL) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_CMEPCFFDIGL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_CMEPCFFDIGL.ProtoReflect.Descriptor instead. +func (*Unk3000_CMEPCFFDIGL) Descriptor() ([]byte, []int) { + return file_Unk3000_CMEPCFFDIGL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_CMEPCFFDIGL) GetLevel() int32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *Unk3000_CMEPCFFDIGL) GetUnk3000_MKIJEIKFIJP() []*Unk3000_GDKMIBFADKD { + if x != nil { + return x.Unk3000_MKIJEIKFIJP + } + return nil +} + +var File_Unk3000_CMEPCFFDIGL_proto protoreflect.FileDescriptor + +var file_Unk3000_CMEPCFFDIGL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x45, 0x50, 0x43, 0x46, + 0x46, 0x44, 0x49, 0x47, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4b, 0x4d, 0x49, 0x42, 0x46, 0x41, 0x44, 0x4b, 0x44, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x43, 0x4d, 0x45, 0x50, 0x43, 0x46, 0x46, 0x44, 0x49, 0x47, 0x4c, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, + 0x4b, 0x49, 0x4a, 0x45, 0x49, 0x4b, 0x46, 0x49, 0x4a, 0x50, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4b, 0x4d, 0x49, + 0x42, 0x46, 0x41, 0x44, 0x4b, 0x44, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, + 0x4b, 0x49, 0x4a, 0x45, 0x49, 0x4b, 0x46, 0x49, 0x4a, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_CMEPCFFDIGL_proto_rawDescOnce sync.Once + file_Unk3000_CMEPCFFDIGL_proto_rawDescData = file_Unk3000_CMEPCFFDIGL_proto_rawDesc +) + +func file_Unk3000_CMEPCFFDIGL_proto_rawDescGZIP() []byte { + file_Unk3000_CMEPCFFDIGL_proto_rawDescOnce.Do(func() { + file_Unk3000_CMEPCFFDIGL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_CMEPCFFDIGL_proto_rawDescData) + }) + return file_Unk3000_CMEPCFFDIGL_proto_rawDescData +} + +var file_Unk3000_CMEPCFFDIGL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_CMEPCFFDIGL_proto_goTypes = []interface{}{ + (*Unk3000_CMEPCFFDIGL)(nil), // 0: Unk3000_CMEPCFFDIGL + (*Unk3000_GDKMIBFADKD)(nil), // 1: Unk3000_GDKMIBFADKD +} +var file_Unk3000_CMEPCFFDIGL_proto_depIdxs = []int32{ + 1, // 0: Unk3000_CMEPCFFDIGL.Unk3000_MKIJEIKFIJP:type_name -> Unk3000_GDKMIBFADKD + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_CMEPCFFDIGL_proto_init() } +func file_Unk3000_CMEPCFFDIGL_proto_init() { + if File_Unk3000_CMEPCFFDIGL_proto != nil { + return + } + file_Unk3000_GDKMIBFADKD_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_CMEPCFFDIGL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_CMEPCFFDIGL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_CMEPCFFDIGL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_CMEPCFFDIGL_proto_goTypes, + DependencyIndexes: file_Unk3000_CMEPCFFDIGL_proto_depIdxs, + MessageInfos: file_Unk3000_CMEPCFFDIGL_proto_msgTypes, + }.Build() + File_Unk3000_CMEPCFFDIGL_proto = out.File + file_Unk3000_CMEPCFFDIGL_proto_rawDesc = nil + file_Unk3000_CMEPCFFDIGL_proto_goTypes = nil + file_Unk3000_CMEPCFFDIGL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.proto b/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.proto new file mode 100644 index 00000000..be7882a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CMEPCFFDIGL.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_GDKMIBFADKD.proto"; + +option go_package = "./;proto"; + +message Unk3000_CMEPCFFDIGL { + int32 level = 10; + repeated Unk3000_GDKMIBFADKD Unk3000_MKIJEIKFIJP = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.pb.go b/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.pb.go new file mode 100644 index 00000000..297ee411 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_CMKEPEDFOKE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 22391 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_CMKEPEDFOKE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_CMKEPEDFOKE) Reset() { + *x = Unk3000_CMKEPEDFOKE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_CMKEPEDFOKE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_CMKEPEDFOKE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_CMKEPEDFOKE) ProtoMessage() {} + +func (x *Unk3000_CMKEPEDFOKE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_CMKEPEDFOKE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_CMKEPEDFOKE.ProtoReflect.Descriptor instead. +func (*Unk3000_CMKEPEDFOKE) Descriptor() ([]byte, []int) { + return file_Unk3000_CMKEPEDFOKE_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_CMKEPEDFOKE_proto protoreflect.FileDescriptor + +var file_Unk3000_CMKEPEDFOKE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x45, 0x50, 0x45, + 0x44, 0x46, 0x4f, 0x4b, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4d, 0x4b, 0x45, 0x50, 0x45, 0x44, 0x46, 0x4f, + 0x4b, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_CMKEPEDFOKE_proto_rawDescOnce sync.Once + file_Unk3000_CMKEPEDFOKE_proto_rawDescData = file_Unk3000_CMKEPEDFOKE_proto_rawDesc +) + +func file_Unk3000_CMKEPEDFOKE_proto_rawDescGZIP() []byte { + file_Unk3000_CMKEPEDFOKE_proto_rawDescOnce.Do(func() { + file_Unk3000_CMKEPEDFOKE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_CMKEPEDFOKE_proto_rawDescData) + }) + return file_Unk3000_CMKEPEDFOKE_proto_rawDescData +} + +var file_Unk3000_CMKEPEDFOKE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_CMKEPEDFOKE_proto_goTypes = []interface{}{ + (*Unk3000_CMKEPEDFOKE)(nil), // 0: Unk3000_CMKEPEDFOKE +} +var file_Unk3000_CMKEPEDFOKE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_CMKEPEDFOKE_proto_init() } +func file_Unk3000_CMKEPEDFOKE_proto_init() { + if File_Unk3000_CMKEPEDFOKE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_CMKEPEDFOKE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_CMKEPEDFOKE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_CMKEPEDFOKE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_CMKEPEDFOKE_proto_goTypes, + DependencyIndexes: file_Unk3000_CMKEPEDFOKE_proto_depIdxs, + MessageInfos: file_Unk3000_CMKEPEDFOKE_proto_msgTypes, + }.Build() + File_Unk3000_CMKEPEDFOKE_proto = out.File + file_Unk3000_CMKEPEDFOKE_proto_rawDesc = nil + file_Unk3000_CMKEPEDFOKE_proto_goTypes = nil + file_Unk3000_CMKEPEDFOKE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.proto b/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.proto new file mode 100644 index 00000000..e9dfdc26 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CMKEPEDFOKE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 22391 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_CMKEPEDFOKE {} diff --git a/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.pb.go b/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.pb.go new file mode 100644 index 00000000..80e3719a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_CNDHIGKNELM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6173 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_CNDHIGKNELM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QueryId int32 `protobuf:"varint,3,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_ADJJOGDKIKL *Unk3000_BGPMEPKCLPA `protobuf:"bytes,8,opt,name=Unk3000_ADJJOGDKIKL,json=Unk3000ADJJOGDKIKL,proto3" json:"Unk3000_ADJJOGDKIKL,omitempty"` +} + +func (x *Unk3000_CNDHIGKNELM) Reset() { + *x = Unk3000_CNDHIGKNELM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_CNDHIGKNELM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_CNDHIGKNELM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_CNDHIGKNELM) ProtoMessage() {} + +func (x *Unk3000_CNDHIGKNELM) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_CNDHIGKNELM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_CNDHIGKNELM.ProtoReflect.Descriptor instead. +func (*Unk3000_CNDHIGKNELM) Descriptor() ([]byte, []int) { + return file_Unk3000_CNDHIGKNELM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_CNDHIGKNELM) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *Unk3000_CNDHIGKNELM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_CNDHIGKNELM) GetUnk3000_ADJJOGDKIKL() *Unk3000_BGPMEPKCLPA { + if x != nil { + return x.Unk3000_ADJJOGDKIKL + } + return nil +} + +var File_Unk3000_CNDHIGKNELM_proto protoreflect.FileDescriptor + +var file_Unk3000_CNDHIGKNELM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x44, 0x48, 0x49, 0x47, + 0x4b, 0x4e, 0x45, 0x4c, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, 0x50, 0x4b, 0x43, 0x4c, 0x50, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x44, 0x48, 0x49, 0x47, 0x4b, 0x4e, 0x45, 0x4c, 0x4d, 0x12, 0x19, + 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, + 0x44, 0x4a, 0x4a, 0x4f, 0x47, 0x44, 0x4b, 0x49, 0x4b, 0x4c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, + 0x50, 0x4b, 0x43, 0x4c, 0x50, 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, + 0x44, 0x4a, 0x4a, 0x4f, 0x47, 0x44, 0x4b, 0x49, 0x4b, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_CNDHIGKNELM_proto_rawDescOnce sync.Once + file_Unk3000_CNDHIGKNELM_proto_rawDescData = file_Unk3000_CNDHIGKNELM_proto_rawDesc +) + +func file_Unk3000_CNDHIGKNELM_proto_rawDescGZIP() []byte { + file_Unk3000_CNDHIGKNELM_proto_rawDescOnce.Do(func() { + file_Unk3000_CNDHIGKNELM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_CNDHIGKNELM_proto_rawDescData) + }) + return file_Unk3000_CNDHIGKNELM_proto_rawDescData +} + +var file_Unk3000_CNDHIGKNELM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_CNDHIGKNELM_proto_goTypes = []interface{}{ + (*Unk3000_CNDHIGKNELM)(nil), // 0: Unk3000_CNDHIGKNELM + (*Unk3000_BGPMEPKCLPA)(nil), // 1: Unk3000_BGPMEPKCLPA +} +var file_Unk3000_CNDHIGKNELM_proto_depIdxs = []int32{ + 1, // 0: Unk3000_CNDHIGKNELM.Unk3000_ADJJOGDKIKL:type_name -> Unk3000_BGPMEPKCLPA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_CNDHIGKNELM_proto_init() } +func file_Unk3000_CNDHIGKNELM_proto_init() { + if File_Unk3000_CNDHIGKNELM_proto != nil { + return + } + file_Unk3000_BGPMEPKCLPA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_CNDHIGKNELM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_CNDHIGKNELM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_CNDHIGKNELM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_CNDHIGKNELM_proto_goTypes, + DependencyIndexes: file_Unk3000_CNDHIGKNELM_proto_depIdxs, + MessageInfos: file_Unk3000_CNDHIGKNELM_proto_msgTypes, + }.Build() + File_Unk3000_CNDHIGKNELM_proto = out.File + file_Unk3000_CNDHIGKNELM_proto_rawDesc = nil + file_Unk3000_CNDHIGKNELM_proto_goTypes = nil + file_Unk3000_CNDHIGKNELM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.proto b/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.proto new file mode 100644 index 00000000..e97ede1b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CNDHIGKNELM.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_BGPMEPKCLPA.proto"; + +option go_package = "./;proto"; + +// CmdId: 6173 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_CNDHIGKNELM { + int32 query_id = 3; + int32 retcode = 14; + Unk3000_BGPMEPKCLPA Unk3000_ADJJOGDKIKL = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.pb.go b/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.pb.go new file mode 100644 index 00000000..a2cf940b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_CPCMICDDBCH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 20011 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_CPCMICDDBCH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_MKFIPLFHJNE uint32 `protobuf:"varint,10,opt,name=Unk3000_MKFIPLFHJNE,json=Unk3000MKFIPLFHJNE,proto3" json:"Unk3000_MKFIPLFHJNE,omitempty"` + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk3000_CPCMICDDBCH) Reset() { + *x = Unk3000_CPCMICDDBCH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_CPCMICDDBCH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_CPCMICDDBCH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_CPCMICDDBCH) ProtoMessage() {} + +func (x *Unk3000_CPCMICDDBCH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_CPCMICDDBCH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_CPCMICDDBCH.ProtoReflect.Descriptor instead. +func (*Unk3000_CPCMICDDBCH) Descriptor() ([]byte, []int) { + return file_Unk3000_CPCMICDDBCH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_CPCMICDDBCH) GetUnk3000_MKFIPLFHJNE() uint32 { + if x != nil { + return x.Unk3000_MKFIPLFHJNE + } + return 0 +} + +func (x *Unk3000_CPCMICDDBCH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk3000_CPCMICDDBCH_proto protoreflect.FileDescriptor + +var file_Unk3000_CPCMICDDBCH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x43, 0x4d, 0x49, 0x43, + 0x44, 0x44, 0x42, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x50, 0x43, 0x4d, 0x49, 0x43, 0x44, 0x44, 0x42, + 0x43, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4b, + 0x46, 0x49, 0x50, 0x4c, 0x46, 0x48, 0x4a, 0x4e, 0x45, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x46, 0x49, 0x50, 0x4c, 0x46, 0x48, + 0x4a, 0x4e, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk3000_CPCMICDDBCH_proto_rawDescOnce sync.Once + file_Unk3000_CPCMICDDBCH_proto_rawDescData = file_Unk3000_CPCMICDDBCH_proto_rawDesc +) + +func file_Unk3000_CPCMICDDBCH_proto_rawDescGZIP() []byte { + file_Unk3000_CPCMICDDBCH_proto_rawDescOnce.Do(func() { + file_Unk3000_CPCMICDDBCH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_CPCMICDDBCH_proto_rawDescData) + }) + return file_Unk3000_CPCMICDDBCH_proto_rawDescData +} + +var file_Unk3000_CPCMICDDBCH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_CPCMICDDBCH_proto_goTypes = []interface{}{ + (*Unk3000_CPCMICDDBCH)(nil), // 0: Unk3000_CPCMICDDBCH +} +var file_Unk3000_CPCMICDDBCH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_CPCMICDDBCH_proto_init() } +func file_Unk3000_CPCMICDDBCH_proto_init() { + if File_Unk3000_CPCMICDDBCH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_CPCMICDDBCH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_CPCMICDDBCH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_CPCMICDDBCH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_CPCMICDDBCH_proto_goTypes, + DependencyIndexes: file_Unk3000_CPCMICDDBCH_proto_depIdxs, + MessageInfos: file_Unk3000_CPCMICDDBCH_proto_msgTypes, + }.Build() + File_Unk3000_CPCMICDDBCH_proto = out.File + file_Unk3000_CPCMICDDBCH_proto_rawDesc = nil + file_Unk3000_CPCMICDDBCH_proto_goTypes = nil + file_Unk3000_CPCMICDDBCH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.proto b/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.proto new file mode 100644 index 00000000..3b9ccf54 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_CPCMICDDBCH.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 20011 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_CPCMICDDBCH { + uint32 Unk3000_MKFIPLFHJNE = 10; + uint32 level_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.pb.go b/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.pb.go new file mode 100644 index 00000000..08803e0d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DCAHJINNNDM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_DCAHJINNNDM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Unk2700_OCIHJFOKHPK *CustomGadgetTreeInfo `protobuf:"bytes,11,opt,name=Unk2700_OCIHJFOKHPK,json=Unk2700OCIHJFOKHPK,proto3" json:"Unk2700_OCIHJFOKHPK,omitempty"` +} + +func (x *Unk3000_DCAHJINNNDM) Reset() { + *x = Unk3000_DCAHJINNNDM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DCAHJINNNDM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DCAHJINNNDM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DCAHJINNNDM) ProtoMessage() {} + +func (x *Unk3000_DCAHJINNNDM) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DCAHJINNNDM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DCAHJINNNDM.ProtoReflect.Descriptor instead. +func (*Unk3000_DCAHJINNNDM) Descriptor() ([]byte, []int) { + return file_Unk3000_DCAHJINNNDM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DCAHJINNNDM) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *Unk3000_DCAHJINNNDM) GetUnk2700_OCIHJFOKHPK() *CustomGadgetTreeInfo { + if x != nil { + return x.Unk2700_OCIHJFOKHPK + } + return nil +} + +var File_Unk3000_DCAHJINNNDM_proto protoreflect.FileDescriptor + +var file_Unk3000_DCAHJINNNDM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x41, 0x48, 0x4a, 0x49, + 0x4e, 0x4e, 0x4e, 0x44, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x44, 0x43, 0x41, 0x48, 0x4a, 0x49, 0x4e, 0x4e, 0x4e, 0x44, 0x4d, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, 0x48, + 0x50, 0x4b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x43, 0x49, 0x48, 0x4a, 0x46, 0x4f, 0x4b, + 0x48, 0x50, 0x4b, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DCAHJINNNDM_proto_rawDescOnce sync.Once + file_Unk3000_DCAHJINNNDM_proto_rawDescData = file_Unk3000_DCAHJINNNDM_proto_rawDesc +) + +func file_Unk3000_DCAHJINNNDM_proto_rawDescGZIP() []byte { + file_Unk3000_DCAHJINNNDM_proto_rawDescOnce.Do(func() { + file_Unk3000_DCAHJINNNDM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DCAHJINNNDM_proto_rawDescData) + }) + return file_Unk3000_DCAHJINNNDM_proto_rawDescData +} + +var file_Unk3000_DCAHJINNNDM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DCAHJINNNDM_proto_goTypes = []interface{}{ + (*Unk3000_DCAHJINNNDM)(nil), // 0: Unk3000_DCAHJINNNDM + (*CustomGadgetTreeInfo)(nil), // 1: CustomGadgetTreeInfo +} +var file_Unk3000_DCAHJINNNDM_proto_depIdxs = []int32{ + 1, // 0: Unk3000_DCAHJINNNDM.Unk2700_OCIHJFOKHPK:type_name -> CustomGadgetTreeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_DCAHJINNNDM_proto_init() } +func file_Unk3000_DCAHJINNNDM_proto_init() { + if File_Unk3000_DCAHJINNNDM_proto != nil { + return + } + file_CustomGadgetTreeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_DCAHJINNNDM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DCAHJINNNDM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DCAHJINNNDM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DCAHJINNNDM_proto_goTypes, + DependencyIndexes: file_Unk3000_DCAHJINNNDM_proto_depIdxs, + MessageInfos: file_Unk3000_DCAHJINNNDM_proto_msgTypes, + }.Build() + File_Unk3000_DCAHJINNNDM_proto = out.File + file_Unk3000_DCAHJINNNDM_proto_rawDesc = nil + file_Unk3000_DCAHJINNNDM_proto_goTypes = nil + file_Unk3000_DCAHJINNNDM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.proto b/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.proto new file mode 100644 index 00000000..96bab6b7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCAHJINNNDM.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CustomGadgetTreeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 23107 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_DCAHJINNNDM { + uint32 entity_id = 2; + CustomGadgetTreeInfo Unk2700_OCIHJFOKHPK = 11; +} diff --git a/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.pb.go b/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.pb.go new file mode 100644 index 00000000..0a618313 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DCHMAMFIFOF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_DCHMAMFIFOF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_PAFIGDFHGNA uint32 `protobuf:"varint,1,opt,name=Unk3000_PAFIGDFHGNA,json=Unk3000PAFIGDFHGNA,proto3" json:"Unk3000_PAFIGDFHGNA,omitempty"` + FinishTime uint32 `protobuf:"varint,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + Param uint32 `protobuf:"varint,14,opt,name=param,proto3" json:"param,omitempty"` +} + +func (x *Unk3000_DCHMAMFIFOF) Reset() { + *x = Unk3000_DCHMAMFIFOF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DCHMAMFIFOF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DCHMAMFIFOF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DCHMAMFIFOF) ProtoMessage() {} + +func (x *Unk3000_DCHMAMFIFOF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DCHMAMFIFOF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DCHMAMFIFOF.ProtoReflect.Descriptor instead. +func (*Unk3000_DCHMAMFIFOF) Descriptor() ([]byte, []int) { + return file_Unk3000_DCHMAMFIFOF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DCHMAMFIFOF) GetUnk3000_PAFIGDFHGNA() uint32 { + if x != nil { + return x.Unk3000_PAFIGDFHGNA + } + return 0 +} + +func (x *Unk3000_DCHMAMFIFOF) GetFinishTime() uint32 { + if x != nil { + return x.FinishTime + } + return 0 +} + +func (x *Unk3000_DCHMAMFIFOF) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +var File_Unk3000_DCHMAMFIFOF_proto protoreflect.FileDescriptor + +var file_Unk3000_DCHMAMFIFOF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x48, 0x4d, 0x41, 0x4d, + 0x46, 0x49, 0x46, 0x4f, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x48, 0x4d, 0x41, 0x4d, 0x46, 0x49, 0x46, + 0x4f, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x41, + 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, 0x47, 0x4e, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x50, 0x41, 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, + 0x47, 0x4e, 0x41, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DCHMAMFIFOF_proto_rawDescOnce sync.Once + file_Unk3000_DCHMAMFIFOF_proto_rawDescData = file_Unk3000_DCHMAMFIFOF_proto_rawDesc +) + +func file_Unk3000_DCHMAMFIFOF_proto_rawDescGZIP() []byte { + file_Unk3000_DCHMAMFIFOF_proto_rawDescOnce.Do(func() { + file_Unk3000_DCHMAMFIFOF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DCHMAMFIFOF_proto_rawDescData) + }) + return file_Unk3000_DCHMAMFIFOF_proto_rawDescData +} + +var file_Unk3000_DCHMAMFIFOF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DCHMAMFIFOF_proto_goTypes = []interface{}{ + (*Unk3000_DCHMAMFIFOF)(nil), // 0: Unk3000_DCHMAMFIFOF +} +var file_Unk3000_DCHMAMFIFOF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DCHMAMFIFOF_proto_init() } +func file_Unk3000_DCHMAMFIFOF_proto_init() { + if File_Unk3000_DCHMAMFIFOF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DCHMAMFIFOF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DCHMAMFIFOF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DCHMAMFIFOF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DCHMAMFIFOF_proto_goTypes, + DependencyIndexes: file_Unk3000_DCHMAMFIFOF_proto_depIdxs, + MessageInfos: file_Unk3000_DCHMAMFIFOF_proto_msgTypes, + }.Build() + File_Unk3000_DCHMAMFIFOF_proto = out.File + file_Unk3000_DCHMAMFIFOF_proto_rawDesc = nil + file_Unk3000_DCHMAMFIFOF_proto_goTypes = nil + file_Unk3000_DCHMAMFIFOF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.proto b/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.proto new file mode 100644 index 00000000..e834850c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCHMAMFIFOF.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_DCHMAMFIFOF { + uint32 Unk3000_PAFIGDFHGNA = 1; + uint32 finish_time = 4; + uint32 param = 14; +} diff --git a/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.pb.go b/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.pb.go new file mode 100644 index 00000000..bf5c6dd5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DCLAGIJJEHB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 402 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_DCLAGIJJEHB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentQuestId uint32 `protobuf:"varint,2,opt,name=parent_quest_id,json=parentQuestId,proto3" json:"parent_quest_id,omitempty"` + Unk3000_HLPGILIGGCB []*Unk3000_ENLDIHLGNCK `protobuf:"bytes,1,rep,name=Unk3000_HLPGILIGGCB,json=Unk3000HLPGILIGGCB,proto3" json:"Unk3000_HLPGILIGGCB,omitempty"` +} + +func (x *Unk3000_DCLAGIJJEHB) Reset() { + *x = Unk3000_DCLAGIJJEHB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DCLAGIJJEHB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DCLAGIJJEHB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DCLAGIJJEHB) ProtoMessage() {} + +func (x *Unk3000_DCLAGIJJEHB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DCLAGIJJEHB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DCLAGIJJEHB.ProtoReflect.Descriptor instead. +func (*Unk3000_DCLAGIJJEHB) Descriptor() ([]byte, []int) { + return file_Unk3000_DCLAGIJJEHB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DCLAGIJJEHB) GetParentQuestId() uint32 { + if x != nil { + return x.ParentQuestId + } + return 0 +} + +func (x *Unk3000_DCLAGIJJEHB) GetUnk3000_HLPGILIGGCB() []*Unk3000_ENLDIHLGNCK { + if x != nil { + return x.Unk3000_HLPGILIGGCB + } + return nil +} + +var File_Unk3000_DCLAGIJJEHB_proto protoreflect.FileDescriptor + +var file_Unk3000_DCLAGIJJEHB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x4c, 0x41, 0x47, 0x49, + 0x4a, 0x4a, 0x45, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4c, 0x44, 0x49, 0x48, 0x4c, 0x47, 0x4e, 0x43, 0x4b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x44, 0x43, 0x4c, 0x41, 0x47, 0x49, 0x4a, 0x4a, 0x45, 0x48, 0x42, 0x12, 0x26, + 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x48, 0x4c, 0x50, 0x47, 0x49, 0x4c, 0x49, 0x47, 0x47, 0x43, 0x42, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4e, + 0x4c, 0x44, 0x49, 0x48, 0x4c, 0x47, 0x4e, 0x43, 0x4b, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x48, 0x4c, 0x50, 0x47, 0x49, 0x4c, 0x49, 0x47, 0x47, 0x43, 0x42, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_DCLAGIJJEHB_proto_rawDescOnce sync.Once + file_Unk3000_DCLAGIJJEHB_proto_rawDescData = file_Unk3000_DCLAGIJJEHB_proto_rawDesc +) + +func file_Unk3000_DCLAGIJJEHB_proto_rawDescGZIP() []byte { + file_Unk3000_DCLAGIJJEHB_proto_rawDescOnce.Do(func() { + file_Unk3000_DCLAGIJJEHB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DCLAGIJJEHB_proto_rawDescData) + }) + return file_Unk3000_DCLAGIJJEHB_proto_rawDescData +} + +var file_Unk3000_DCLAGIJJEHB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DCLAGIJJEHB_proto_goTypes = []interface{}{ + (*Unk3000_DCLAGIJJEHB)(nil), // 0: Unk3000_DCLAGIJJEHB + (*Unk3000_ENLDIHLGNCK)(nil), // 1: Unk3000_ENLDIHLGNCK +} +var file_Unk3000_DCLAGIJJEHB_proto_depIdxs = []int32{ + 1, // 0: Unk3000_DCLAGIJJEHB.Unk3000_HLPGILIGGCB:type_name -> Unk3000_ENLDIHLGNCK + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_DCLAGIJJEHB_proto_init() } +func file_Unk3000_DCLAGIJJEHB_proto_init() { + if File_Unk3000_DCLAGIJJEHB_proto != nil { + return + } + file_Unk3000_ENLDIHLGNCK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_DCLAGIJJEHB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DCLAGIJJEHB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DCLAGIJJEHB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DCLAGIJJEHB_proto_goTypes, + DependencyIndexes: file_Unk3000_DCLAGIJJEHB_proto_depIdxs, + MessageInfos: file_Unk3000_DCLAGIJJEHB_proto_msgTypes, + }.Build() + File_Unk3000_DCLAGIJJEHB_proto = out.File + file_Unk3000_DCLAGIJJEHB_proto_rawDesc = nil + file_Unk3000_DCLAGIJJEHB_proto_goTypes = nil + file_Unk3000_DCLAGIJJEHB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.proto b/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.proto new file mode 100644 index 00000000..1a9f2d5e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DCLAGIJJEHB.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_ENLDIHLGNCK.proto"; + +option go_package = "./;proto"; + +// CmdId: 402 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_DCLAGIJJEHB { + uint32 parent_quest_id = 2; + repeated Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.pb.go b/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.pb.go new file mode 100644 index 00000000..fcf05946 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DFIIBIGPHGE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1731 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_DFIIBIGPHGE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_GCAJHPHIEAA uint32 `protobuf:"varint,4,opt,name=Unk3000_GCAJHPHIEAA,json=Unk3000GCAJHPHIEAA,proto3" json:"Unk3000_GCAJHPHIEAA,omitempty"` +} + +func (x *Unk3000_DFIIBIGPHGE) Reset() { + *x = Unk3000_DFIIBIGPHGE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DFIIBIGPHGE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DFIIBIGPHGE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DFIIBIGPHGE) ProtoMessage() {} + +func (x *Unk3000_DFIIBIGPHGE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DFIIBIGPHGE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DFIIBIGPHGE.ProtoReflect.Descriptor instead. +func (*Unk3000_DFIIBIGPHGE) Descriptor() ([]byte, []int) { + return file_Unk3000_DFIIBIGPHGE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DFIIBIGPHGE) GetUnk3000_GCAJHPHIEAA() uint32 { + if x != nil { + return x.Unk3000_GCAJHPHIEAA + } + return 0 +} + +var File_Unk3000_DFIIBIGPHGE_proto protoreflect.FileDescriptor + +var file_Unk3000_DFIIBIGPHGE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x49, 0x49, 0x42, 0x49, + 0x47, 0x50, 0x48, 0x47, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x46, 0x49, 0x49, 0x42, 0x49, 0x47, 0x50, 0x48, + 0x47, 0x45, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, + 0x41, 0x4a, 0x48, 0x50, 0x48, 0x49, 0x45, 0x41, 0x41, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x43, 0x41, 0x4a, 0x48, 0x50, 0x48, 0x49, + 0x45, 0x41, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DFIIBIGPHGE_proto_rawDescOnce sync.Once + file_Unk3000_DFIIBIGPHGE_proto_rawDescData = file_Unk3000_DFIIBIGPHGE_proto_rawDesc +) + +func file_Unk3000_DFIIBIGPHGE_proto_rawDescGZIP() []byte { + file_Unk3000_DFIIBIGPHGE_proto_rawDescOnce.Do(func() { + file_Unk3000_DFIIBIGPHGE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DFIIBIGPHGE_proto_rawDescData) + }) + return file_Unk3000_DFIIBIGPHGE_proto_rawDescData +} + +var file_Unk3000_DFIIBIGPHGE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DFIIBIGPHGE_proto_goTypes = []interface{}{ + (*Unk3000_DFIIBIGPHGE)(nil), // 0: Unk3000_DFIIBIGPHGE +} +var file_Unk3000_DFIIBIGPHGE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DFIIBIGPHGE_proto_init() } +func file_Unk3000_DFIIBIGPHGE_proto_init() { + if File_Unk3000_DFIIBIGPHGE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DFIIBIGPHGE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DFIIBIGPHGE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DFIIBIGPHGE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DFIIBIGPHGE_proto_goTypes, + DependencyIndexes: file_Unk3000_DFIIBIGPHGE_proto_depIdxs, + MessageInfos: file_Unk3000_DFIIBIGPHGE_proto_msgTypes, + }.Build() + File_Unk3000_DFIIBIGPHGE_proto = out.File + file_Unk3000_DFIIBIGPHGE_proto_rawDesc = nil + file_Unk3000_DFIIBIGPHGE_proto_goTypes = nil + file_Unk3000_DFIIBIGPHGE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.proto b/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.proto new file mode 100644 index 00000000..aaf53dc4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DFIIBIGPHGE.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1731 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_DFIIBIGPHGE { + uint32 Unk3000_GCAJHPHIEAA = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.pb.go b/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.pb.go new file mode 100644 index 00000000..e5993c0f --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DHEOMDCCMMC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 429 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_DHEOMDCCMMC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CCNCELKPPFN uint32 `protobuf:"varint,7,opt,name=Unk3000_CCNCELKPPFN,json=Unk3000CCNCELKPPFN,proto3" json:"Unk3000_CCNCELKPPFN,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,11,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` + Unk3000_OIIEJOKFHPP uint32 `protobuf:"varint,2,opt,name=Unk3000_OIIEJOKFHPP,json=Unk3000OIIEJOKFHPP,proto3" json:"Unk3000_OIIEJOKFHPP,omitempty"` +} + +func (x *Unk3000_DHEOMDCCMMC) Reset() { + *x = Unk3000_DHEOMDCCMMC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DHEOMDCCMMC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DHEOMDCCMMC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DHEOMDCCMMC) ProtoMessage() {} + +func (x *Unk3000_DHEOMDCCMMC) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DHEOMDCCMMC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DHEOMDCCMMC.ProtoReflect.Descriptor instead. +func (*Unk3000_DHEOMDCCMMC) Descriptor() ([]byte, []int) { + return file_Unk3000_DHEOMDCCMMC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DHEOMDCCMMC) GetUnk3000_CCNCELKPPFN() uint32 { + if x != nil { + return x.Unk3000_CCNCELKPPFN + } + return 0 +} + +func (x *Unk3000_DHEOMDCCMMC) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +func (x *Unk3000_DHEOMDCCMMC) GetUnk3000_OIIEJOKFHPP() uint32 { + if x != nil { + return x.Unk3000_OIIEJOKFHPP + } + return 0 +} + +var File_Unk3000_DHEOMDCCMMC_proto protoreflect.FileDescriptor + +var file_Unk3000_DHEOMDCCMMC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x45, 0x4f, 0x4d, 0x44, + 0x43, 0x43, 0x4d, 0x4d, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x45, 0x4f, 0x4d, 0x44, 0x43, 0x43, + 0x4d, 0x4d, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, + 0x43, 0x4e, 0x43, 0x45, 0x4c, 0x4b, 0x50, 0x50, 0x46, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x43, 0x4e, 0x43, 0x45, 0x4c, 0x4b, + 0x50, 0x50, 0x46, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, + 0x45, 0x48, 0x44, 0x41, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x4f, 0x49, 0x49, 0x45, 0x4a, 0x4f, 0x4b, 0x46, 0x48, 0x50, 0x50, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x49, 0x49, 0x45, 0x4a, + 0x4f, 0x4b, 0x46, 0x48, 0x50, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DHEOMDCCMMC_proto_rawDescOnce sync.Once + file_Unk3000_DHEOMDCCMMC_proto_rawDescData = file_Unk3000_DHEOMDCCMMC_proto_rawDesc +) + +func file_Unk3000_DHEOMDCCMMC_proto_rawDescGZIP() []byte { + file_Unk3000_DHEOMDCCMMC_proto_rawDescOnce.Do(func() { + file_Unk3000_DHEOMDCCMMC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DHEOMDCCMMC_proto_rawDescData) + }) + return file_Unk3000_DHEOMDCCMMC_proto_rawDescData +} + +var file_Unk3000_DHEOMDCCMMC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DHEOMDCCMMC_proto_goTypes = []interface{}{ + (*Unk3000_DHEOMDCCMMC)(nil), // 0: Unk3000_DHEOMDCCMMC +} +var file_Unk3000_DHEOMDCCMMC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DHEOMDCCMMC_proto_init() } +func file_Unk3000_DHEOMDCCMMC_proto_init() { + if File_Unk3000_DHEOMDCCMMC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DHEOMDCCMMC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DHEOMDCCMMC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DHEOMDCCMMC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DHEOMDCCMMC_proto_goTypes, + DependencyIndexes: file_Unk3000_DHEOMDCCMMC_proto_depIdxs, + MessageInfos: file_Unk3000_DHEOMDCCMMC_proto_msgTypes, + }.Build() + File_Unk3000_DHEOMDCCMMC_proto = out.File + file_Unk3000_DHEOMDCCMMC_proto_rawDesc = nil + file_Unk3000_DHEOMDCCMMC_proto_goTypes = nil + file_Unk3000_DHEOMDCCMMC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.proto b/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.proto new file mode 100644 index 00000000..c25ea560 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DHEOMDCCMMC.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 429 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_DHEOMDCCMMC { + uint32 Unk3000_CCNCELKPPFN = 7; + uint32 Unk3000_CIOLEGEHDAC = 11; + uint32 Unk3000_OIIEJOKFHPP = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.pb.go b/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.pb.go new file mode 100644 index 00000000..8f339255 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.pb.go @@ -0,0 +1,198 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DHOFMKPKFMF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1749 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_DHOFMKPKFMF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TempAvatarGuidList []uint64 `protobuf:"varint,6,rep,packed,name=temp_avatar_guid_list,json=tempAvatarGuidList,proto3" json:"temp_avatar_guid_list,omitempty"` + AvatarTeamMap map[uint32]*AvatarTeam `protobuf:"bytes,3,rep,name=avatar_team_map,json=avatarTeamMap,proto3" json:"avatar_team_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Unk3000_NIGPICLBHMA []uint32 `protobuf:"varint,1,rep,packed,name=Unk3000_NIGPICLBHMA,json=Unk3000NIGPICLBHMA,proto3" json:"Unk3000_NIGPICLBHMA,omitempty"` +} + +func (x *Unk3000_DHOFMKPKFMF) Reset() { + *x = Unk3000_DHOFMKPKFMF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DHOFMKPKFMF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DHOFMKPKFMF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DHOFMKPKFMF) ProtoMessage() {} + +func (x *Unk3000_DHOFMKPKFMF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DHOFMKPKFMF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DHOFMKPKFMF.ProtoReflect.Descriptor instead. +func (*Unk3000_DHOFMKPKFMF) Descriptor() ([]byte, []int) { + return file_Unk3000_DHOFMKPKFMF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DHOFMKPKFMF) GetTempAvatarGuidList() []uint64 { + if x != nil { + return x.TempAvatarGuidList + } + return nil +} + +func (x *Unk3000_DHOFMKPKFMF) GetAvatarTeamMap() map[uint32]*AvatarTeam { + if x != nil { + return x.AvatarTeamMap + } + return nil +} + +func (x *Unk3000_DHOFMKPKFMF) GetUnk3000_NIGPICLBHMA() []uint32 { + if x != nil { + return x.Unk3000_NIGPICLBHMA + } + return nil +} + +var File_Unk3000_DHOFMKPKFMF_proto protoreflect.FileDescriptor + +var file_Unk3000_DHOFMKPKFMF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x4f, 0x46, 0x4d, 0x4b, + 0x50, 0x4b, 0x46, 0x4d, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x41, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x02, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x4f, 0x46, 0x4d, 0x4b, + 0x50, 0x4b, 0x46, 0x4d, 0x46, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x61, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x74, 0x65, 0x6d, 0x70, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0f, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x48, 0x4f, 0x46, + 0x4d, 0x4b, 0x50, 0x4b, 0x46, 0x4d, 0x46, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, + 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x49, 0x47, 0x50, 0x49, 0x43, 0x4c, 0x42, 0x48, 0x4d, 0x41, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4e, + 0x49, 0x47, 0x50, 0x49, 0x43, 0x4c, 0x42, 0x48, 0x4d, 0x41, 0x1a, 0x4d, 0x0a, 0x12, 0x41, 0x76, + 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DHOFMKPKFMF_proto_rawDescOnce sync.Once + file_Unk3000_DHOFMKPKFMF_proto_rawDescData = file_Unk3000_DHOFMKPKFMF_proto_rawDesc +) + +func file_Unk3000_DHOFMKPKFMF_proto_rawDescGZIP() []byte { + file_Unk3000_DHOFMKPKFMF_proto_rawDescOnce.Do(func() { + file_Unk3000_DHOFMKPKFMF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DHOFMKPKFMF_proto_rawDescData) + }) + return file_Unk3000_DHOFMKPKFMF_proto_rawDescData +} + +var file_Unk3000_DHOFMKPKFMF_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk3000_DHOFMKPKFMF_proto_goTypes = []interface{}{ + (*Unk3000_DHOFMKPKFMF)(nil), // 0: Unk3000_DHOFMKPKFMF + nil, // 1: Unk3000_DHOFMKPKFMF.AvatarTeamMapEntry + (*AvatarTeam)(nil), // 2: AvatarTeam +} +var file_Unk3000_DHOFMKPKFMF_proto_depIdxs = []int32{ + 1, // 0: Unk3000_DHOFMKPKFMF.avatar_team_map:type_name -> Unk3000_DHOFMKPKFMF.AvatarTeamMapEntry + 2, // 1: Unk3000_DHOFMKPKFMF.AvatarTeamMapEntry.value:type_name -> AvatarTeam + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_DHOFMKPKFMF_proto_init() } +func file_Unk3000_DHOFMKPKFMF_proto_init() { + if File_Unk3000_DHOFMKPKFMF_proto != nil { + return + } + file_AvatarTeam_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_DHOFMKPKFMF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DHOFMKPKFMF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DHOFMKPKFMF_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DHOFMKPKFMF_proto_goTypes, + DependencyIndexes: file_Unk3000_DHOFMKPKFMF_proto_depIdxs, + MessageInfos: file_Unk3000_DHOFMKPKFMF_proto_msgTypes, + }.Build() + File_Unk3000_DHOFMKPKFMF_proto = out.File + file_Unk3000_DHOFMKPKFMF_proto_rawDesc = nil + file_Unk3000_DHOFMKPKFMF_proto_goTypes = nil + file_Unk3000_DHOFMKPKFMF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.proto b/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.proto new file mode 100644 index 00000000..ad34f842 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DHOFMKPKFMF.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AvatarTeam.proto"; + +option go_package = "./;proto"; + +// CmdId: 1749 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_DHOFMKPKFMF { + repeated uint64 temp_avatar_guid_list = 6; + map avatar_team_map = 3; + repeated uint32 Unk3000_NIGPICLBHMA = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.pb.go b/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.pb.go new file mode 100644 index 00000000..4e97ce8d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DJNBNBMIECP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5588 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_DJNBNBMIECP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score uint32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *Unk3000_DJNBNBMIECP) Reset() { + *x = Unk3000_DJNBNBMIECP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DJNBNBMIECP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DJNBNBMIECP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DJNBNBMIECP) ProtoMessage() {} + +func (x *Unk3000_DJNBNBMIECP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DJNBNBMIECP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DJNBNBMIECP.ProtoReflect.Descriptor instead. +func (*Unk3000_DJNBNBMIECP) Descriptor() ([]byte, []int) { + return file_Unk3000_DJNBNBMIECP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DJNBNBMIECP) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +var File_Unk3000_DJNBNBMIECP_proto protoreflect.FileDescriptor + +var file_Unk3000_DJNBNBMIECP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4e, 0x42, 0x4e, 0x42, + 0x4d, 0x49, 0x45, 0x43, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x4a, 0x4e, 0x42, 0x4e, 0x42, 0x4d, 0x49, 0x45, + 0x43, 0x50, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DJNBNBMIECP_proto_rawDescOnce sync.Once + file_Unk3000_DJNBNBMIECP_proto_rawDescData = file_Unk3000_DJNBNBMIECP_proto_rawDesc +) + +func file_Unk3000_DJNBNBMIECP_proto_rawDescGZIP() []byte { + file_Unk3000_DJNBNBMIECP_proto_rawDescOnce.Do(func() { + file_Unk3000_DJNBNBMIECP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DJNBNBMIECP_proto_rawDescData) + }) + return file_Unk3000_DJNBNBMIECP_proto_rawDescData +} + +var file_Unk3000_DJNBNBMIECP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DJNBNBMIECP_proto_goTypes = []interface{}{ + (*Unk3000_DJNBNBMIECP)(nil), // 0: Unk3000_DJNBNBMIECP +} +var file_Unk3000_DJNBNBMIECP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DJNBNBMIECP_proto_init() } +func file_Unk3000_DJNBNBMIECP_proto_init() { + if File_Unk3000_DJNBNBMIECP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DJNBNBMIECP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DJNBNBMIECP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DJNBNBMIECP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DJNBNBMIECP_proto_goTypes, + DependencyIndexes: file_Unk3000_DJNBNBMIECP_proto_depIdxs, + MessageInfos: file_Unk3000_DJNBNBMIECP_proto_msgTypes, + }.Build() + File_Unk3000_DJNBNBMIECP_proto = out.File + file_Unk3000_DJNBNBMIECP_proto_rawDesc = nil + file_Unk3000_DJNBNBMIECP_proto_goTypes = nil + file_Unk3000_DJNBNBMIECP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.proto b/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.proto new file mode 100644 index 00000000..383e27dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DJNBNBMIECP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5588 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_DJNBNBMIECP { + uint32 score = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.pb.go b/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.pb.go new file mode 100644 index 00000000..233252c3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DLCDJPKNGBD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 185 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_DLCDJPKNGBD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_FGIJKFANKEI bool `protobuf:"varint,8,opt,name=Unk3000_FGIJKFANKEI,json=Unk3000FGIJKFANKEI,proto3" json:"Unk3000_FGIJKFANKEI,omitempty"` + Unk3000_LHIINBOCMFN uint32 `protobuf:"varint,14,opt,name=Unk3000_LHIINBOCMFN,json=Unk3000LHIINBOCMFN,proto3" json:"Unk3000_LHIINBOCMFN,omitempty"` + Unk3000_HMLGHBEKCOF uint32 `protobuf:"varint,9,opt,name=Unk3000_HMLGHBEKCOF,json=Unk3000HMLGHBEKCOF,proto3" json:"Unk3000_HMLGHBEKCOF,omitempty"` + Unk3000_EMJDLANPPNF uint32 `protobuf:"varint,1,opt,name=Unk3000_EMJDLANPPNF,json=Unk3000EMJDLANPPNF,proto3" json:"Unk3000_EMJDLANPPNF,omitempty"` +} + +func (x *Unk3000_DLCDJPKNGBD) Reset() { + *x = Unk3000_DLCDJPKNGBD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DLCDJPKNGBD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DLCDJPKNGBD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DLCDJPKNGBD) ProtoMessage() {} + +func (x *Unk3000_DLCDJPKNGBD) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DLCDJPKNGBD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DLCDJPKNGBD.ProtoReflect.Descriptor instead. +func (*Unk3000_DLCDJPKNGBD) Descriptor() ([]byte, []int) { + return file_Unk3000_DLCDJPKNGBD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DLCDJPKNGBD) GetUnk3000_FGIJKFANKEI() bool { + if x != nil { + return x.Unk3000_FGIJKFANKEI + } + return false +} + +func (x *Unk3000_DLCDJPKNGBD) GetUnk3000_LHIINBOCMFN() uint32 { + if x != nil { + return x.Unk3000_LHIINBOCMFN + } + return 0 +} + +func (x *Unk3000_DLCDJPKNGBD) GetUnk3000_HMLGHBEKCOF() uint32 { + if x != nil { + return x.Unk3000_HMLGHBEKCOF + } + return 0 +} + +func (x *Unk3000_DLCDJPKNGBD) GetUnk3000_EMJDLANPPNF() uint32 { + if x != nil { + return x.Unk3000_EMJDLANPPNF + } + return 0 +} + +var File_Unk3000_DLCDJPKNGBD_proto protoreflect.FileDescriptor + +var file_Unk3000_DLCDJPKNGBD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x4c, 0x43, 0x44, 0x4a, 0x50, + 0x4b, 0x4e, 0x47, 0x42, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x4c, 0x43, 0x44, 0x4a, 0x50, 0x4b, 0x4e, + 0x47, 0x42, 0x44, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, + 0x47, 0x49, 0x4a, 0x4b, 0x46, 0x41, 0x4e, 0x4b, 0x45, 0x49, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x46, 0x47, 0x49, 0x4a, 0x4b, 0x46, 0x41, + 0x4e, 0x4b, 0x45, 0x49, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4c, 0x48, 0x49, 0x49, 0x4e, 0x42, 0x4f, 0x43, 0x4d, 0x46, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4c, 0x48, 0x49, 0x49, 0x4e, 0x42, + 0x4f, 0x43, 0x4d, 0x46, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x48, 0x4d, 0x4c, 0x47, 0x48, 0x42, 0x45, 0x4b, 0x43, 0x4f, 0x46, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4d, 0x4c, 0x47, 0x48, + 0x42, 0x45, 0x4b, 0x43, 0x4f, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x45, 0x4d, 0x4a, 0x44, 0x4c, 0x41, 0x4e, 0x50, 0x50, 0x4e, 0x46, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x45, 0x4d, 0x4a, 0x44, + 0x4c, 0x41, 0x4e, 0x50, 0x50, 0x4e, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DLCDJPKNGBD_proto_rawDescOnce sync.Once + file_Unk3000_DLCDJPKNGBD_proto_rawDescData = file_Unk3000_DLCDJPKNGBD_proto_rawDesc +) + +func file_Unk3000_DLCDJPKNGBD_proto_rawDescGZIP() []byte { + file_Unk3000_DLCDJPKNGBD_proto_rawDescOnce.Do(func() { + file_Unk3000_DLCDJPKNGBD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DLCDJPKNGBD_proto_rawDescData) + }) + return file_Unk3000_DLCDJPKNGBD_proto_rawDescData +} + +var file_Unk3000_DLCDJPKNGBD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DLCDJPKNGBD_proto_goTypes = []interface{}{ + (*Unk3000_DLCDJPKNGBD)(nil), // 0: Unk3000_DLCDJPKNGBD +} +var file_Unk3000_DLCDJPKNGBD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DLCDJPKNGBD_proto_init() } +func file_Unk3000_DLCDJPKNGBD_proto_init() { + if File_Unk3000_DLCDJPKNGBD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DLCDJPKNGBD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DLCDJPKNGBD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DLCDJPKNGBD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DLCDJPKNGBD_proto_goTypes, + DependencyIndexes: file_Unk3000_DLCDJPKNGBD_proto_depIdxs, + MessageInfos: file_Unk3000_DLCDJPKNGBD_proto_msgTypes, + }.Build() + File_Unk3000_DLCDJPKNGBD_proto = out.File + file_Unk3000_DLCDJPKNGBD_proto_rawDesc = nil + file_Unk3000_DLCDJPKNGBD_proto_goTypes = nil + file_Unk3000_DLCDJPKNGBD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.proto b/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.proto new file mode 100644 index 00000000..4ca2785e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DLCDJPKNGBD.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 185 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_DLCDJPKNGBD { + bool Unk3000_FGIJKFANKEI = 8; + uint32 Unk3000_LHIINBOCMFN = 14; + uint32 Unk3000_HMLGHBEKCOF = 9; + uint32 Unk3000_EMJDLANPPNF = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.pb.go b/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.pb.go new file mode 100644 index 00000000..d3d27df7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_DPEJONKFONL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21750 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_DPEJONKFONL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Param uint32 `protobuf:"varint,1,opt,name=param,proto3" json:"param,omitempty"` + Unk3000_PAFIGDFHGNA uint32 `protobuf:"varint,4,opt,name=Unk3000_PAFIGDFHGNA,json=Unk3000PAFIGDFHGNA,proto3" json:"Unk3000_PAFIGDFHGNA,omitempty"` +} + +func (x *Unk3000_DPEJONKFONL) Reset() { + *x = Unk3000_DPEJONKFONL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_DPEJONKFONL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_DPEJONKFONL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_DPEJONKFONL) ProtoMessage() {} + +func (x *Unk3000_DPEJONKFONL) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_DPEJONKFONL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_DPEJONKFONL.ProtoReflect.Descriptor instead. +func (*Unk3000_DPEJONKFONL) Descriptor() ([]byte, []int) { + return file_Unk3000_DPEJONKFONL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_DPEJONKFONL) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *Unk3000_DPEJONKFONL) GetUnk3000_PAFIGDFHGNA() uint32 { + if x != nil { + return x.Unk3000_PAFIGDFHGNA + } + return 0 +} + +var File_Unk3000_DPEJONKFONL_proto protoreflect.FileDescriptor + +var file_Unk3000_DPEJONKFONL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x45, 0x4a, 0x4f, 0x4e, + 0x4b, 0x46, 0x4f, 0x4e, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x50, 0x45, 0x4a, 0x4f, 0x4e, 0x4b, 0x46, 0x4f, + 0x4e, 0x4c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x50, 0x41, 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, 0x47, 0x4e, 0x41, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x50, 0x41, + 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, 0x47, 0x4e, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_DPEJONKFONL_proto_rawDescOnce sync.Once + file_Unk3000_DPEJONKFONL_proto_rawDescData = file_Unk3000_DPEJONKFONL_proto_rawDesc +) + +func file_Unk3000_DPEJONKFONL_proto_rawDescGZIP() []byte { + file_Unk3000_DPEJONKFONL_proto_rawDescOnce.Do(func() { + file_Unk3000_DPEJONKFONL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_DPEJONKFONL_proto_rawDescData) + }) + return file_Unk3000_DPEJONKFONL_proto_rawDescData +} + +var file_Unk3000_DPEJONKFONL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_DPEJONKFONL_proto_goTypes = []interface{}{ + (*Unk3000_DPEJONKFONL)(nil), // 0: Unk3000_DPEJONKFONL +} +var file_Unk3000_DPEJONKFONL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_DPEJONKFONL_proto_init() } +func file_Unk3000_DPEJONKFONL_proto_init() { + if File_Unk3000_DPEJONKFONL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_DPEJONKFONL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_DPEJONKFONL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_DPEJONKFONL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_DPEJONKFONL_proto_goTypes, + DependencyIndexes: file_Unk3000_DPEJONKFONL_proto_depIdxs, + MessageInfos: file_Unk3000_DPEJONKFONL_proto_msgTypes, + }.Build() + File_Unk3000_DPEJONKFONL_proto = out.File + file_Unk3000_DPEJONKFONL_proto_rawDesc = nil + file_Unk3000_DPEJONKFONL_proto_goTypes = nil + file_Unk3000_DPEJONKFONL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.proto b/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.proto new file mode 100644 index 00000000..afe08d64 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_DPEJONKFONL.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21750 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_DPEJONKFONL { + uint32 param = 1; + uint32 Unk3000_PAFIGDFHGNA = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.pb.go b/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.pb.go new file mode 100644 index 00000000..39829a8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EBNMMLENEII.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24857 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_EBNMMLENEII struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarInfoList []*Unk3000_JACOCADDNFE `protobuf:"bytes,13,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *Unk3000_EBNMMLENEII) Reset() { + *x = Unk3000_EBNMMLENEII{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EBNMMLENEII_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EBNMMLENEII) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EBNMMLENEII) ProtoMessage() {} + +func (x *Unk3000_EBNMMLENEII) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EBNMMLENEII_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EBNMMLENEII.ProtoReflect.Descriptor instead. +func (*Unk3000_EBNMMLENEII) Descriptor() ([]byte, []int) { + return file_Unk3000_EBNMMLENEII_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EBNMMLENEII) GetAvatarInfoList() []*Unk3000_JACOCADDNFE { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_Unk3000_EBNMMLENEII_proto protoreflect.FileDescriptor + +var file_Unk3000_EBNMMLENEII_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x4e, 0x4d, 0x4d, 0x4c, + 0x45, 0x4e, 0x45, 0x49, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x45, 0x42, 0x4e, 0x4d, 0x4d, 0x4c, 0x45, 0x4e, 0x45, 0x49, 0x49, 0x12, 0x3e, 0x0a, + 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, 0x52, 0x0e, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_EBNMMLENEII_proto_rawDescOnce sync.Once + file_Unk3000_EBNMMLENEII_proto_rawDescData = file_Unk3000_EBNMMLENEII_proto_rawDesc +) + +func file_Unk3000_EBNMMLENEII_proto_rawDescGZIP() []byte { + file_Unk3000_EBNMMLENEII_proto_rawDescOnce.Do(func() { + file_Unk3000_EBNMMLENEII_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EBNMMLENEII_proto_rawDescData) + }) + return file_Unk3000_EBNMMLENEII_proto_rawDescData +} + +var file_Unk3000_EBNMMLENEII_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EBNMMLENEII_proto_goTypes = []interface{}{ + (*Unk3000_EBNMMLENEII)(nil), // 0: Unk3000_EBNMMLENEII + (*Unk3000_JACOCADDNFE)(nil), // 1: Unk3000_JACOCADDNFE +} +var file_Unk3000_EBNMMLENEII_proto_depIdxs = []int32{ + 1, // 0: Unk3000_EBNMMLENEII.avatar_info_list:type_name -> Unk3000_JACOCADDNFE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_EBNMMLENEII_proto_init() } +func file_Unk3000_EBNMMLENEII_proto_init() { + if File_Unk3000_EBNMMLENEII_proto != nil { + return + } + file_Unk3000_JACOCADDNFE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_EBNMMLENEII_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EBNMMLENEII); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EBNMMLENEII_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EBNMMLENEII_proto_goTypes, + DependencyIndexes: file_Unk3000_EBNMMLENEII_proto_depIdxs, + MessageInfos: file_Unk3000_EBNMMLENEII_proto_msgTypes, + }.Build() + File_Unk3000_EBNMMLENEII_proto = out.File + file_Unk3000_EBNMMLENEII_proto_rawDesc = nil + file_Unk3000_EBNMMLENEII_proto_goTypes = nil + file_Unk3000_EBNMMLENEII_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.proto b/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.proto new file mode 100644 index 00000000..7181e85c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EBNMMLENEII.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_JACOCADDNFE.proto"; + +option go_package = "./;proto"; + +// CmdId: 24857 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_EBNMMLENEII { + repeated Unk3000_JACOCADDNFE avatar_info_list = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.pb.go b/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.pb.go new file mode 100644 index 00000000..c95b394b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ECGHJKANPJK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_ECGHJKANPJK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *Unk3000_ECGHJKANPJK) Reset() { + *x = Unk3000_ECGHJKANPJK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ECGHJKANPJK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ECGHJKANPJK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ECGHJKANPJK) ProtoMessage() {} + +func (x *Unk3000_ECGHJKANPJK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ECGHJKANPJK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ECGHJKANPJK.ProtoReflect.Descriptor instead. +func (*Unk3000_ECGHJKANPJK) Descriptor() ([]byte, []int) { + return file_Unk3000_ECGHJKANPJK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ECGHJKANPJK) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_ECGHJKANPJK) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_Unk3000_ECGHJKANPJK_proto protoreflect.FileDescriptor + +var file_Unk3000_ECGHJKANPJK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x47, 0x48, 0x4a, 0x4b, + 0x41, 0x4e, 0x50, 0x4a, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x43, 0x47, 0x48, 0x4a, 0x4b, 0x41, 0x4e, 0x50, + 0x4a, 0x4b, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ECGHJKANPJK_proto_rawDescOnce sync.Once + file_Unk3000_ECGHJKANPJK_proto_rawDescData = file_Unk3000_ECGHJKANPJK_proto_rawDesc +) + +func file_Unk3000_ECGHJKANPJK_proto_rawDescGZIP() []byte { + file_Unk3000_ECGHJKANPJK_proto_rawDescOnce.Do(func() { + file_Unk3000_ECGHJKANPJK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ECGHJKANPJK_proto_rawDescData) + }) + return file_Unk3000_ECGHJKANPJK_proto_rawDescData +} + +var file_Unk3000_ECGHJKANPJK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ECGHJKANPJK_proto_goTypes = []interface{}{ + (*Unk3000_ECGHJKANPJK)(nil), // 0: Unk3000_ECGHJKANPJK +} +var file_Unk3000_ECGHJKANPJK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_ECGHJKANPJK_proto_init() } +func file_Unk3000_ECGHJKANPJK_proto_init() { + if File_Unk3000_ECGHJKANPJK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_ECGHJKANPJK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ECGHJKANPJK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ECGHJKANPJK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ECGHJKANPJK_proto_goTypes, + DependencyIndexes: file_Unk3000_ECGHJKANPJK_proto_depIdxs, + MessageInfos: file_Unk3000_ECGHJKANPJK_proto_msgTypes, + }.Build() + File_Unk3000_ECGHJKANPJK_proto = out.File + file_Unk3000_ECGHJKANPJK_proto_rawDesc = nil + file_Unk3000_ECGHJKANPJK_proto_goTypes = nil + file_Unk3000_ECGHJKANPJK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.proto b/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.proto new file mode 100644 index 00000000..f4022292 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ECGHJKANPJK.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_ECGHJKANPJK { + uint32 stage_id = 9; + bool is_open = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.pb.go b/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.pb.go new file mode 100644 index 00000000..3a7f1ec7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EDGJEBLODLF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 416 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_EDGJEBLODLF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CFDMLGKNLKL uint32 `protobuf:"varint,2,opt,name=Unk3000_CFDMLGKNLKL,json=Unk3000CFDMLGKNLKL,proto3" json:"Unk3000_CFDMLGKNLKL,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,13,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` + Unk3000_FDGFAHAOEPP uint32 `protobuf:"varint,5,opt,name=Unk3000_FDGFAHAOEPP,json=Unk3000FDGFAHAOEPP,proto3" json:"Unk3000_FDGFAHAOEPP,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_EDGJEBLODLF) Reset() { + *x = Unk3000_EDGJEBLODLF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EDGJEBLODLF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EDGJEBLODLF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EDGJEBLODLF) ProtoMessage() {} + +func (x *Unk3000_EDGJEBLODLF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EDGJEBLODLF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EDGJEBLODLF.ProtoReflect.Descriptor instead. +func (*Unk3000_EDGJEBLODLF) Descriptor() ([]byte, []int) { + return file_Unk3000_EDGJEBLODLF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EDGJEBLODLF) GetUnk3000_CFDMLGKNLKL() uint32 { + if x != nil { + return x.Unk3000_CFDMLGKNLKL + } + return 0 +} + +func (x *Unk3000_EDGJEBLODLF) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +func (x *Unk3000_EDGJEBLODLF) GetUnk3000_FDGFAHAOEPP() uint32 { + if x != nil { + return x.Unk3000_FDGFAHAOEPP + } + return 0 +} + +func (x *Unk3000_EDGJEBLODLF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_EDGJEBLODLF_proto protoreflect.FileDescriptor + +var file_Unk3000_EDGJEBLODLF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x47, 0x4a, 0x45, 0x42, + 0x4c, 0x4f, 0x44, 0x4c, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x44, 0x47, 0x4a, 0x45, 0x42, 0x4c, 0x4f, + 0x44, 0x4c, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, + 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, 0x4c, 0x4b, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, + 0x4e, 0x4c, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, + 0x45, 0x48, 0x44, 0x41, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x46, 0x44, 0x47, 0x46, 0x41, 0x48, 0x41, 0x4f, 0x45, 0x50, 0x50, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x46, 0x44, 0x47, 0x46, 0x41, + 0x48, 0x41, 0x4f, 0x45, 0x50, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EDGJEBLODLF_proto_rawDescOnce sync.Once + file_Unk3000_EDGJEBLODLF_proto_rawDescData = file_Unk3000_EDGJEBLODLF_proto_rawDesc +) + +func file_Unk3000_EDGJEBLODLF_proto_rawDescGZIP() []byte { + file_Unk3000_EDGJEBLODLF_proto_rawDescOnce.Do(func() { + file_Unk3000_EDGJEBLODLF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EDGJEBLODLF_proto_rawDescData) + }) + return file_Unk3000_EDGJEBLODLF_proto_rawDescData +} + +var file_Unk3000_EDGJEBLODLF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EDGJEBLODLF_proto_goTypes = []interface{}{ + (*Unk3000_EDGJEBLODLF)(nil), // 0: Unk3000_EDGJEBLODLF +} +var file_Unk3000_EDGJEBLODLF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_EDGJEBLODLF_proto_init() } +func file_Unk3000_EDGJEBLODLF_proto_init() { + if File_Unk3000_EDGJEBLODLF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_EDGJEBLODLF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EDGJEBLODLF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EDGJEBLODLF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EDGJEBLODLF_proto_goTypes, + DependencyIndexes: file_Unk3000_EDGJEBLODLF_proto_depIdxs, + MessageInfos: file_Unk3000_EDGJEBLODLF_proto_msgTypes, + }.Build() + File_Unk3000_EDGJEBLODLF_proto = out.File + file_Unk3000_EDGJEBLODLF_proto_rawDesc = nil + file_Unk3000_EDGJEBLODLF_proto_goTypes = nil + file_Unk3000_EDGJEBLODLF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.proto b/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.proto new file mode 100644 index 00000000..9f2e5c60 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EDGJEBLODLF.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 416 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_EDGJEBLODLF { + uint32 Unk3000_CFDMLGKNLKL = 2; + uint32 Unk3000_CIOLEGEHDAC = 13; + uint32 Unk3000_FDGFAHAOEPP = 5; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.pb.go b/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.pb.go new file mode 100644 index 00000000..17066816 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EHJALCDEBKK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23381 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_EHJALCDEBKK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,11,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_EHJALCDEBKK) Reset() { + *x = Unk3000_EHJALCDEBKK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EHJALCDEBKK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EHJALCDEBKK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EHJALCDEBKK) ProtoMessage() {} + +func (x *Unk3000_EHJALCDEBKK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EHJALCDEBKK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EHJALCDEBKK.ProtoReflect.Descriptor instead. +func (*Unk3000_EHJALCDEBKK) Descriptor() ([]byte, []int) { + return file_Unk3000_EHJALCDEBKK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EHJALCDEBKK) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_EHJALCDEBKK) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_EHJALCDEBKK_proto protoreflect.FileDescriptor + +var file_Unk3000_EHJALCDEBKK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x48, 0x4a, 0x41, 0x4c, 0x43, + 0x44, 0x45, 0x42, 0x4b, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x48, 0x4a, 0x41, 0x4c, 0x43, 0x44, 0x45, 0x42, + 0x4b, 0x4b, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EHJALCDEBKK_proto_rawDescOnce sync.Once + file_Unk3000_EHJALCDEBKK_proto_rawDescData = file_Unk3000_EHJALCDEBKK_proto_rawDesc +) + +func file_Unk3000_EHJALCDEBKK_proto_rawDescGZIP() []byte { + file_Unk3000_EHJALCDEBKK_proto_rawDescOnce.Do(func() { + file_Unk3000_EHJALCDEBKK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EHJALCDEBKK_proto_rawDescData) + }) + return file_Unk3000_EHJALCDEBKK_proto_rawDescData +} + +var file_Unk3000_EHJALCDEBKK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EHJALCDEBKK_proto_goTypes = []interface{}{ + (*Unk3000_EHJALCDEBKK)(nil), // 0: Unk3000_EHJALCDEBKK +} +var file_Unk3000_EHJALCDEBKK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_EHJALCDEBKK_proto_init() } +func file_Unk3000_EHJALCDEBKK_proto_init() { + if File_Unk3000_EHJALCDEBKK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_EHJALCDEBKK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EHJALCDEBKK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EHJALCDEBKK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EHJALCDEBKK_proto_goTypes, + DependencyIndexes: file_Unk3000_EHJALCDEBKK_proto_depIdxs, + MessageInfos: file_Unk3000_EHJALCDEBKK_proto_msgTypes, + }.Build() + File_Unk3000_EHJALCDEBKK_proto = out.File + file_Unk3000_EHJALCDEBKK_proto_rawDesc = nil + file_Unk3000_EHJALCDEBKK_proto_goTypes = nil + file_Unk3000_EHJALCDEBKK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.proto b/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.proto new file mode 100644 index 00000000..7ca960ff --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EHJALCDEBKK.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 23381 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_EHJALCDEBKK { + uint32 level_id = 11; + int32 retcode = 9; +} diff --git a/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.pb.go b/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.pb.go new file mode 100644 index 00000000..15fd1ba3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EMGMOECAJDK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6092 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_EMGMOECAJDK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CNNFGFBBBFP []uint32 `protobuf:"varint,3,rep,packed,name=Unk3000_CNNFGFBBBFP,json=Unk3000CNNFGFBBBFP,proto3" json:"Unk3000_CNNFGFBBBFP,omitempty"` +} + +func (x *Unk3000_EMGMOECAJDK) Reset() { + *x = Unk3000_EMGMOECAJDK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EMGMOECAJDK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EMGMOECAJDK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EMGMOECAJDK) ProtoMessage() {} + +func (x *Unk3000_EMGMOECAJDK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EMGMOECAJDK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EMGMOECAJDK.ProtoReflect.Descriptor instead. +func (*Unk3000_EMGMOECAJDK) Descriptor() ([]byte, []int) { + return file_Unk3000_EMGMOECAJDK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EMGMOECAJDK) GetUnk3000_CNNFGFBBBFP() []uint32 { + if x != nil { + return x.Unk3000_CNNFGFBBBFP + } + return nil +} + +var File_Unk3000_EMGMOECAJDK_proto protoreflect.FileDescriptor + +var file_Unk3000_EMGMOECAJDK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x47, 0x4d, 0x4f, 0x45, + 0x43, 0x41, 0x4a, 0x44, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x47, 0x4d, 0x4f, 0x45, 0x43, 0x41, 0x4a, + 0x44, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4e, + 0x4e, 0x46, 0x47, 0x46, 0x42, 0x42, 0x42, 0x46, 0x50, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x4e, 0x4e, 0x46, 0x47, 0x46, 0x42, 0x42, + 0x42, 0x46, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EMGMOECAJDK_proto_rawDescOnce sync.Once + file_Unk3000_EMGMOECAJDK_proto_rawDescData = file_Unk3000_EMGMOECAJDK_proto_rawDesc +) + +func file_Unk3000_EMGMOECAJDK_proto_rawDescGZIP() []byte { + file_Unk3000_EMGMOECAJDK_proto_rawDescOnce.Do(func() { + file_Unk3000_EMGMOECAJDK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EMGMOECAJDK_proto_rawDescData) + }) + return file_Unk3000_EMGMOECAJDK_proto_rawDescData +} + +var file_Unk3000_EMGMOECAJDK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EMGMOECAJDK_proto_goTypes = []interface{}{ + (*Unk3000_EMGMOECAJDK)(nil), // 0: Unk3000_EMGMOECAJDK +} +var file_Unk3000_EMGMOECAJDK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_EMGMOECAJDK_proto_init() } +func file_Unk3000_EMGMOECAJDK_proto_init() { + if File_Unk3000_EMGMOECAJDK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_EMGMOECAJDK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EMGMOECAJDK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EMGMOECAJDK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EMGMOECAJDK_proto_goTypes, + DependencyIndexes: file_Unk3000_EMGMOECAJDK_proto_depIdxs, + MessageInfos: file_Unk3000_EMGMOECAJDK_proto_msgTypes, + }.Build() + File_Unk3000_EMGMOECAJDK_proto = out.File + file_Unk3000_EMGMOECAJDK_proto_rawDesc = nil + file_Unk3000_EMGMOECAJDK_proto_goTypes = nil + file_Unk3000_EMGMOECAJDK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.proto b/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.proto new file mode 100644 index 00000000..07508c3a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EMGMOECAJDK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6092 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_EMGMOECAJDK { + repeated uint32 Unk3000_CNNFGFBBBFP = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.pb.go b/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.pb.go new file mode 100644 index 00000000..1b175a59 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EMMKKLIECLB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_EMMKKLIECLB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TreePos *Vector `protobuf:"bytes,12,opt,name=tree_pos,json=treePos,proto3" json:"tree_pos,omitempty"` + TreeType uint32 `protobuf:"varint,8,opt,name=tree_type,json=treeType,proto3" json:"tree_type,omitempty"` +} + +func (x *Unk3000_EMMKKLIECLB) Reset() { + *x = Unk3000_EMMKKLIECLB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EMMKKLIECLB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EMMKKLIECLB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EMMKKLIECLB) ProtoMessage() {} + +func (x *Unk3000_EMMKKLIECLB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EMMKKLIECLB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EMMKKLIECLB.ProtoReflect.Descriptor instead. +func (*Unk3000_EMMKKLIECLB) Descriptor() ([]byte, []int) { + return file_Unk3000_EMMKKLIECLB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EMMKKLIECLB) GetTreePos() *Vector { + if x != nil { + return x.TreePos + } + return nil +} + +func (x *Unk3000_EMMKKLIECLB) GetTreeType() uint32 { + if x != nil { + return x.TreeType + } + return 0 +} + +var File_Unk3000_EMMKKLIECLB_proto protoreflect.FileDescriptor + +var file_Unk3000_EMMKKLIECLB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x4d, 0x4b, 0x4b, 0x4c, + 0x49, 0x45, 0x43, 0x4c, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x4d, 0x4b, 0x4b, 0x4c, 0x49, 0x45, 0x43, 0x4c, 0x42, + 0x12, 0x22, 0x0a, 0x08, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x74, 0x72, 0x65, + 0x65, 0x50, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EMMKKLIECLB_proto_rawDescOnce sync.Once + file_Unk3000_EMMKKLIECLB_proto_rawDescData = file_Unk3000_EMMKKLIECLB_proto_rawDesc +) + +func file_Unk3000_EMMKKLIECLB_proto_rawDescGZIP() []byte { + file_Unk3000_EMMKKLIECLB_proto_rawDescOnce.Do(func() { + file_Unk3000_EMMKKLIECLB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EMMKKLIECLB_proto_rawDescData) + }) + return file_Unk3000_EMMKKLIECLB_proto_rawDescData +} + +var file_Unk3000_EMMKKLIECLB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EMMKKLIECLB_proto_goTypes = []interface{}{ + (*Unk3000_EMMKKLIECLB)(nil), // 0: Unk3000_EMMKKLIECLB + (*Vector)(nil), // 1: Vector +} +var file_Unk3000_EMMKKLIECLB_proto_depIdxs = []int32{ + 1, // 0: Unk3000_EMMKKLIECLB.tree_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_EMMKKLIECLB_proto_init() } +func file_Unk3000_EMMKKLIECLB_proto_init() { + if File_Unk3000_EMMKKLIECLB_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_EMMKKLIECLB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EMMKKLIECLB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EMMKKLIECLB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EMMKKLIECLB_proto_goTypes, + DependencyIndexes: file_Unk3000_EMMKKLIECLB_proto_depIdxs, + MessageInfos: file_Unk3000_EMMKKLIECLB_proto_msgTypes, + }.Build() + File_Unk3000_EMMKKLIECLB_proto = out.File + file_Unk3000_EMMKKLIECLB_proto_rawDesc = nil + file_Unk3000_EMMKKLIECLB_proto_goTypes = nil + file_Unk3000_EMMKKLIECLB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.proto b/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.proto new file mode 100644 index 00000000..b0bb11e3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EMMKKLIECLB.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_EMMKKLIECLB { + Vector tree_pos = 12; + uint32 tree_type = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.pb.go b/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.pb.go new file mode 100644 index 00000000..8295de61 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.pb.go @@ -0,0 +1,177 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ENLDIHLGNCK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_ENLDIHLGNCK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,3,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` + Unk3000_NLFPKDOBNCD []*Unk3000_GDDGGJIFNCH `protobuf:"bytes,15,rep,name=Unk3000_NLFPKDOBNCD,json=Unk3000NLFPKDOBNCD,proto3" json:"Unk3000_NLFPKDOBNCD,omitempty"` +} + +func (x *Unk3000_ENLDIHLGNCK) Reset() { + *x = Unk3000_ENLDIHLGNCK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ENLDIHLGNCK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ENLDIHLGNCK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ENLDIHLGNCK) ProtoMessage() {} + +func (x *Unk3000_ENLDIHLGNCK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ENLDIHLGNCK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ENLDIHLGNCK.ProtoReflect.Descriptor instead. +func (*Unk3000_ENLDIHLGNCK) Descriptor() ([]byte, []int) { + return file_Unk3000_ENLDIHLGNCK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ENLDIHLGNCK) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +func (x *Unk3000_ENLDIHLGNCK) GetUnk3000_NLFPKDOBNCD() []*Unk3000_GDDGGJIFNCH { + if x != nil { + return x.Unk3000_NLFPKDOBNCD + } + return nil +} + +var File_Unk3000_ENLDIHLGNCK_proto protoreflect.FileDescriptor + +var file_Unk3000_ENLDIHLGNCK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4c, 0x44, 0x49, 0x48, + 0x4c, 0x47, 0x4e, 0x43, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x47, 0x47, 0x4a, 0x49, 0x46, 0x4e, 0x43, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x45, 0x4e, 0x4c, 0x44, 0x49, 0x48, 0x4c, 0x47, 0x4e, 0x43, 0x4b, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, + 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x50, 0x4b, + 0x44, 0x4f, 0x42, 0x4e, 0x43, 0x44, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x47, 0x47, 0x4a, 0x49, 0x46, 0x4e, + 0x43, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4e, 0x4c, 0x46, 0x50, 0x4b, + 0x44, 0x4f, 0x42, 0x4e, 0x43, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ENLDIHLGNCK_proto_rawDescOnce sync.Once + file_Unk3000_ENLDIHLGNCK_proto_rawDescData = file_Unk3000_ENLDIHLGNCK_proto_rawDesc +) + +func file_Unk3000_ENLDIHLGNCK_proto_rawDescGZIP() []byte { + file_Unk3000_ENLDIHLGNCK_proto_rawDescOnce.Do(func() { + file_Unk3000_ENLDIHLGNCK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ENLDIHLGNCK_proto_rawDescData) + }) + return file_Unk3000_ENLDIHLGNCK_proto_rawDescData +} + +var file_Unk3000_ENLDIHLGNCK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ENLDIHLGNCK_proto_goTypes = []interface{}{ + (*Unk3000_ENLDIHLGNCK)(nil), // 0: Unk3000_ENLDIHLGNCK + (*Unk3000_GDDGGJIFNCH)(nil), // 1: Unk3000_GDDGGJIFNCH +} +var file_Unk3000_ENLDIHLGNCK_proto_depIdxs = []int32{ + 1, // 0: Unk3000_ENLDIHLGNCK.Unk3000_NLFPKDOBNCD:type_name -> Unk3000_GDDGGJIFNCH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_ENLDIHLGNCK_proto_init() } +func file_Unk3000_ENLDIHLGNCK_proto_init() { + if File_Unk3000_ENLDIHLGNCK_proto != nil { + return + } + file_Unk3000_GDDGGJIFNCH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_ENLDIHLGNCK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ENLDIHLGNCK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ENLDIHLGNCK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ENLDIHLGNCK_proto_goTypes, + DependencyIndexes: file_Unk3000_ENLDIHLGNCK_proto_depIdxs, + MessageInfos: file_Unk3000_ENLDIHLGNCK_proto_msgTypes, + }.Build() + File_Unk3000_ENLDIHLGNCK_proto = out.File + file_Unk3000_ENLDIHLGNCK_proto_rawDesc = nil + file_Unk3000_ENLDIHLGNCK_proto_goTypes = nil + file_Unk3000_ENLDIHLGNCK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.proto b/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.proto new file mode 100644 index 00000000..64ad34de --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ENLDIHLGNCK.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_GDDGGJIFNCH.proto"; + +option go_package = "./;proto"; + +message Unk3000_ENLDIHLGNCK { + uint32 Unk3000_CIOLEGEHDAC = 3; + repeated Unk3000_GDDGGJIFNCH Unk3000_NLFPKDOBNCD = 15; +} diff --git a/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.pb.go b/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.pb.go new file mode 100644 index 00000000..0ded175b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EOLNDBMGCBP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4473 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_EOLNDBMGCBP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_EOLNDBMGCBP) Reset() { + *x = Unk3000_EOLNDBMGCBP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EOLNDBMGCBP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EOLNDBMGCBP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EOLNDBMGCBP) ProtoMessage() {} + +func (x *Unk3000_EOLNDBMGCBP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EOLNDBMGCBP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EOLNDBMGCBP.ProtoReflect.Descriptor instead. +func (*Unk3000_EOLNDBMGCBP) Descriptor() ([]byte, []int) { + return file_Unk3000_EOLNDBMGCBP_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_EOLNDBMGCBP_proto protoreflect.FileDescriptor + +var file_Unk3000_EOLNDBMGCBP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x4c, 0x4e, 0x44, 0x42, + 0x4d, 0x47, 0x43, 0x42, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4f, 0x4c, 0x4e, 0x44, 0x42, 0x4d, 0x47, 0x43, + 0x42, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EOLNDBMGCBP_proto_rawDescOnce sync.Once + file_Unk3000_EOLNDBMGCBP_proto_rawDescData = file_Unk3000_EOLNDBMGCBP_proto_rawDesc +) + +func file_Unk3000_EOLNDBMGCBP_proto_rawDescGZIP() []byte { + file_Unk3000_EOLNDBMGCBP_proto_rawDescOnce.Do(func() { + file_Unk3000_EOLNDBMGCBP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EOLNDBMGCBP_proto_rawDescData) + }) + return file_Unk3000_EOLNDBMGCBP_proto_rawDescData +} + +var file_Unk3000_EOLNDBMGCBP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EOLNDBMGCBP_proto_goTypes = []interface{}{ + (*Unk3000_EOLNDBMGCBP)(nil), // 0: Unk3000_EOLNDBMGCBP +} +var file_Unk3000_EOLNDBMGCBP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_EOLNDBMGCBP_proto_init() } +func file_Unk3000_EOLNDBMGCBP_proto_init() { + if File_Unk3000_EOLNDBMGCBP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_EOLNDBMGCBP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EOLNDBMGCBP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EOLNDBMGCBP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EOLNDBMGCBP_proto_goTypes, + DependencyIndexes: file_Unk3000_EOLNDBMGCBP_proto_depIdxs, + MessageInfos: file_Unk3000_EOLNDBMGCBP_proto_msgTypes, + }.Build() + File_Unk3000_EOLNDBMGCBP_proto = out.File + file_Unk3000_EOLNDBMGCBP_proto_rawDesc = nil + file_Unk3000_EOLNDBMGCBP_proto_goTypes = nil + file_Unk3000_EOLNDBMGCBP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.proto b/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.proto new file mode 100644 index 00000000..0fdf0146 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EOLNDBMGCBP.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4473 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_EOLNDBMGCBP {} diff --git a/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.pb.go b/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.pb.go new file mode 100644 index 00000000..7c6fcc3c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_EPHGPACBEHL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1497 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_EPHGPACBEHL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_OPEHLDAGICF bool `protobuf:"varint,13,opt,name=Unk2700_OPEHLDAGICF,json=Unk2700OPEHLDAGICF,proto3" json:"Unk2700_OPEHLDAGICF,omitempty"` +} + +func (x *Unk3000_EPHGPACBEHL) Reset() { + *x = Unk3000_EPHGPACBEHL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_EPHGPACBEHL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_EPHGPACBEHL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_EPHGPACBEHL) ProtoMessage() {} + +func (x *Unk3000_EPHGPACBEHL) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_EPHGPACBEHL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_EPHGPACBEHL.ProtoReflect.Descriptor instead. +func (*Unk3000_EPHGPACBEHL) Descriptor() ([]byte, []int) { + return file_Unk3000_EPHGPACBEHL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_EPHGPACBEHL) GetUnk2700_OPEHLDAGICF() bool { + if x != nil { + return x.Unk2700_OPEHLDAGICF + } + return false +} + +var File_Unk3000_EPHGPACBEHL_proto protoreflect.FileDescriptor + +var file_Unk3000_EPHGPACBEHL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x50, 0x48, 0x47, 0x50, 0x41, + 0x43, 0x42, 0x45, 0x48, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x50, 0x48, 0x47, 0x50, 0x41, 0x43, 0x42, 0x45, + 0x48, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x50, + 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, 0x49, 0x43, 0x46, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4f, 0x50, 0x45, 0x48, 0x4c, 0x44, 0x41, 0x47, + 0x49, 0x43, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_EPHGPACBEHL_proto_rawDescOnce sync.Once + file_Unk3000_EPHGPACBEHL_proto_rawDescData = file_Unk3000_EPHGPACBEHL_proto_rawDesc +) + +func file_Unk3000_EPHGPACBEHL_proto_rawDescGZIP() []byte { + file_Unk3000_EPHGPACBEHL_proto_rawDescOnce.Do(func() { + file_Unk3000_EPHGPACBEHL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_EPHGPACBEHL_proto_rawDescData) + }) + return file_Unk3000_EPHGPACBEHL_proto_rawDescData +} + +var file_Unk3000_EPHGPACBEHL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_EPHGPACBEHL_proto_goTypes = []interface{}{ + (*Unk3000_EPHGPACBEHL)(nil), // 0: Unk3000_EPHGPACBEHL +} +var file_Unk3000_EPHGPACBEHL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_EPHGPACBEHL_proto_init() } +func file_Unk3000_EPHGPACBEHL_proto_init() { + if File_Unk3000_EPHGPACBEHL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_EPHGPACBEHL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_EPHGPACBEHL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_EPHGPACBEHL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_EPHGPACBEHL_proto_goTypes, + DependencyIndexes: file_Unk3000_EPHGPACBEHL_proto_depIdxs, + MessageInfos: file_Unk3000_EPHGPACBEHL_proto_msgTypes, + }.Build() + File_Unk3000_EPHGPACBEHL_proto = out.File + file_Unk3000_EPHGPACBEHL_proto_rawDesc = nil + file_Unk3000_EPHGPACBEHL_proto_goTypes = nil + file_Unk3000_EPHGPACBEHL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.proto b/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.proto new file mode 100644 index 00000000..2dd47c5c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_EPHGPACBEHL.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1497 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_EPHGPACBEHL { + bool Unk2700_OPEHLDAGICF = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.pb.go b/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.pb.go new file mode 100644 index 00000000..55188d3a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FAPNAHAEPBF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21880 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_FAPNAHAEPBF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + GalleryId uint32 `protobuf:"varint,6,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk3000_FAPNAHAEPBF) Reset() { + *x = Unk3000_FAPNAHAEPBF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FAPNAHAEPBF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FAPNAHAEPBF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FAPNAHAEPBF) ProtoMessage() {} + +func (x *Unk3000_FAPNAHAEPBF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FAPNAHAEPBF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FAPNAHAEPBF.ProtoReflect.Descriptor instead. +func (*Unk3000_FAPNAHAEPBF) Descriptor() ([]byte, []int) { + return file_Unk3000_FAPNAHAEPBF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FAPNAHAEPBF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_FAPNAHAEPBF) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk3000_FAPNAHAEPBF_proto protoreflect.FileDescriptor + +var file_Unk3000_FAPNAHAEPBF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x50, 0x4e, 0x41, 0x48, + 0x41, 0x45, 0x50, 0x42, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x41, 0x50, 0x4e, 0x41, 0x48, 0x41, 0x45, 0x50, + 0x42, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_FAPNAHAEPBF_proto_rawDescOnce sync.Once + file_Unk3000_FAPNAHAEPBF_proto_rawDescData = file_Unk3000_FAPNAHAEPBF_proto_rawDesc +) + +func file_Unk3000_FAPNAHAEPBF_proto_rawDescGZIP() []byte { + file_Unk3000_FAPNAHAEPBF_proto_rawDescOnce.Do(func() { + file_Unk3000_FAPNAHAEPBF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FAPNAHAEPBF_proto_rawDescData) + }) + return file_Unk3000_FAPNAHAEPBF_proto_rawDescData +} + +var file_Unk3000_FAPNAHAEPBF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FAPNAHAEPBF_proto_goTypes = []interface{}{ + (*Unk3000_FAPNAHAEPBF)(nil), // 0: Unk3000_FAPNAHAEPBF +} +var file_Unk3000_FAPNAHAEPBF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_FAPNAHAEPBF_proto_init() } +func file_Unk3000_FAPNAHAEPBF_proto_init() { + if File_Unk3000_FAPNAHAEPBF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_FAPNAHAEPBF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FAPNAHAEPBF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FAPNAHAEPBF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FAPNAHAEPBF_proto_goTypes, + DependencyIndexes: file_Unk3000_FAPNAHAEPBF_proto_depIdxs, + MessageInfos: file_Unk3000_FAPNAHAEPBF_proto_msgTypes, + }.Build() + File_Unk3000_FAPNAHAEPBF_proto = out.File + file_Unk3000_FAPNAHAEPBF_proto_rawDesc = nil + file_Unk3000_FAPNAHAEPBF_proto_goTypes = nil + file_Unk3000_FAPNAHAEPBF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.proto b/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.proto new file mode 100644 index 00000000..a4e6939c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FAPNAHAEPBF.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21880 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_FAPNAHAEPBF { + int32 retcode = 8; + uint32 gallery_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.pb.go b/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.pb.go new file mode 100644 index 00000000..6df68c85 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FENDDMMFAME.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_FENDDMMFAME struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOpen bool `protobuf:"varint,15,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + StageId uint32 `protobuf:"varint,9,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsFinished bool `protobuf:"varint,3,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` +} + +func (x *Unk3000_FENDDMMFAME) Reset() { + *x = Unk3000_FENDDMMFAME{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FENDDMMFAME_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FENDDMMFAME) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FENDDMMFAME) ProtoMessage() {} + +func (x *Unk3000_FENDDMMFAME) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FENDDMMFAME_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FENDDMMFAME.ProtoReflect.Descriptor instead. +func (*Unk3000_FENDDMMFAME) Descriptor() ([]byte, []int) { + return file_Unk3000_FENDDMMFAME_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FENDDMMFAME) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk3000_FENDDMMFAME) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_FENDDMMFAME) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_FENDDMMFAME) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +var File_Unk3000_FENDDMMFAME_proto protoreflect.FileDescriptor + +var file_Unk3000_FENDDMMFAME_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4e, 0x44, 0x44, 0x4d, + 0x4d, 0x46, 0x41, 0x4d, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4e, 0x44, 0x44, 0x4d, 0x4d, 0x46, + 0x41, 0x4d, 0x45, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_FENDDMMFAME_proto_rawDescOnce sync.Once + file_Unk3000_FENDDMMFAME_proto_rawDescData = file_Unk3000_FENDDMMFAME_proto_rawDesc +) + +func file_Unk3000_FENDDMMFAME_proto_rawDescGZIP() []byte { + file_Unk3000_FENDDMMFAME_proto_rawDescOnce.Do(func() { + file_Unk3000_FENDDMMFAME_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FENDDMMFAME_proto_rawDescData) + }) + return file_Unk3000_FENDDMMFAME_proto_rawDescData +} + +var file_Unk3000_FENDDMMFAME_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FENDDMMFAME_proto_goTypes = []interface{}{ + (*Unk3000_FENDDMMFAME)(nil), // 0: Unk3000_FENDDMMFAME +} +var file_Unk3000_FENDDMMFAME_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_FENDDMMFAME_proto_init() } +func file_Unk3000_FENDDMMFAME_proto_init() { + if File_Unk3000_FENDDMMFAME_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_FENDDMMFAME_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FENDDMMFAME); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FENDDMMFAME_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FENDDMMFAME_proto_goTypes, + DependencyIndexes: file_Unk3000_FENDDMMFAME_proto_depIdxs, + MessageInfos: file_Unk3000_FENDDMMFAME_proto_msgTypes, + }.Build() + File_Unk3000_FENDDMMFAME_proto = out.File + file_Unk3000_FENDDMMFAME_proto_rawDesc = nil + file_Unk3000_FENDDMMFAME_proto_goTypes = nil + file_Unk3000_FENDDMMFAME_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.proto b/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.proto new file mode 100644 index 00000000..c69d53d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FENDDMMFAME.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_FENDDMMFAME { + bool is_open = 15; + uint32 level_id = 10; + uint32 stage_id = 9; + bool is_finished = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.pb.go b/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.pb.go new file mode 100644 index 00000000..392448c9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FFOBEKMOHOI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_FFOBEKMOHOI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHKHIPLDOOA []*Unk3000_FENDDMMFAME `protobuf:"bytes,5,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` +} + +func (x *Unk3000_FFOBEKMOHOI) Reset() { + *x = Unk3000_FFOBEKMOHOI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FFOBEKMOHOI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FFOBEKMOHOI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FFOBEKMOHOI) ProtoMessage() {} + +func (x *Unk3000_FFOBEKMOHOI) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FFOBEKMOHOI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FFOBEKMOHOI.ProtoReflect.Descriptor instead. +func (*Unk3000_FFOBEKMOHOI) Descriptor() ([]byte, []int) { + return file_Unk3000_FFOBEKMOHOI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FFOBEKMOHOI) GetUnk2700_PHKHIPLDOOA() []*Unk3000_FENDDMMFAME { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +var File_Unk3000_FFOBEKMOHOI_proto protoreflect.FileDescriptor + +var file_Unk3000_FFOBEKMOHOI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x45, 0x4b, + 0x4d, 0x4f, 0x48, 0x4f, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4e, 0x44, 0x44, 0x4d, 0x4d, 0x46, 0x41, 0x4d, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x46, 0x46, 0x4f, 0x42, 0x45, 0x4b, 0x4d, 0x4f, 0x48, 0x4f, 0x49, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, + 0x44, 0x4f, 0x4f, 0x41, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x45, 0x4e, 0x44, 0x44, 0x4d, 0x4d, 0x46, 0x41, 0x4d, 0x45, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, + 0x44, 0x4f, 0x4f, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_FFOBEKMOHOI_proto_rawDescOnce sync.Once + file_Unk3000_FFOBEKMOHOI_proto_rawDescData = file_Unk3000_FFOBEKMOHOI_proto_rawDesc +) + +func file_Unk3000_FFOBEKMOHOI_proto_rawDescGZIP() []byte { + file_Unk3000_FFOBEKMOHOI_proto_rawDescOnce.Do(func() { + file_Unk3000_FFOBEKMOHOI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FFOBEKMOHOI_proto_rawDescData) + }) + return file_Unk3000_FFOBEKMOHOI_proto_rawDescData +} + +var file_Unk3000_FFOBEKMOHOI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FFOBEKMOHOI_proto_goTypes = []interface{}{ + (*Unk3000_FFOBEKMOHOI)(nil), // 0: Unk3000_FFOBEKMOHOI + (*Unk3000_FENDDMMFAME)(nil), // 1: Unk3000_FENDDMMFAME +} +var file_Unk3000_FFOBEKMOHOI_proto_depIdxs = []int32{ + 1, // 0: Unk3000_FFOBEKMOHOI.Unk2700_PHKHIPLDOOA:type_name -> Unk3000_FENDDMMFAME + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_FFOBEKMOHOI_proto_init() } +func file_Unk3000_FFOBEKMOHOI_proto_init() { + if File_Unk3000_FFOBEKMOHOI_proto != nil { + return + } + file_Unk3000_FENDDMMFAME_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_FFOBEKMOHOI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FFOBEKMOHOI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FFOBEKMOHOI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FFOBEKMOHOI_proto_goTypes, + DependencyIndexes: file_Unk3000_FFOBEKMOHOI_proto_depIdxs, + MessageInfos: file_Unk3000_FFOBEKMOHOI_proto_msgTypes, + }.Build() + File_Unk3000_FFOBEKMOHOI_proto = out.File + file_Unk3000_FFOBEKMOHOI_proto_rawDesc = nil + file_Unk3000_FFOBEKMOHOI_proto_goTypes = nil + file_Unk3000_FFOBEKMOHOI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.proto b/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.proto new file mode 100644 index 00000000..dccb8da4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FFOBEKMOHOI.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_FENDDMMFAME.proto"; + +option go_package = "./;proto"; + +message Unk3000_FFOBEKMOHOI { + repeated Unk3000_FENDDMMFAME Unk2700_PHKHIPLDOOA = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.pb.go b/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.pb.go new file mode 100644 index 00000000..b123aaa6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FIPHHGCJIMO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23678 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_FIPHHGCJIMO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarInfoList []*Unk3000_JACOCADDNFE `protobuf:"bytes,6,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *Unk3000_FIPHHGCJIMO) Reset() { + *x = Unk3000_FIPHHGCJIMO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FIPHHGCJIMO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FIPHHGCJIMO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FIPHHGCJIMO) ProtoMessage() {} + +func (x *Unk3000_FIPHHGCJIMO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FIPHHGCJIMO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FIPHHGCJIMO.ProtoReflect.Descriptor instead. +func (*Unk3000_FIPHHGCJIMO) Descriptor() ([]byte, []int) { + return file_Unk3000_FIPHHGCJIMO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FIPHHGCJIMO) GetAvatarInfoList() []*Unk3000_JACOCADDNFE { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_Unk3000_FIPHHGCJIMO_proto protoreflect.FileDescriptor + +var file_Unk3000_FIPHHGCJIMO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x49, 0x50, 0x48, 0x48, 0x47, + 0x43, 0x4a, 0x49, 0x4d, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x46, 0x49, 0x50, 0x48, 0x48, 0x47, 0x43, 0x4a, 0x49, 0x4d, 0x4f, 0x12, 0x3e, 0x0a, + 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, 0x52, 0x0e, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_FIPHHGCJIMO_proto_rawDescOnce sync.Once + file_Unk3000_FIPHHGCJIMO_proto_rawDescData = file_Unk3000_FIPHHGCJIMO_proto_rawDesc +) + +func file_Unk3000_FIPHHGCJIMO_proto_rawDescGZIP() []byte { + file_Unk3000_FIPHHGCJIMO_proto_rawDescOnce.Do(func() { + file_Unk3000_FIPHHGCJIMO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FIPHHGCJIMO_proto_rawDescData) + }) + return file_Unk3000_FIPHHGCJIMO_proto_rawDescData +} + +var file_Unk3000_FIPHHGCJIMO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FIPHHGCJIMO_proto_goTypes = []interface{}{ + (*Unk3000_FIPHHGCJIMO)(nil), // 0: Unk3000_FIPHHGCJIMO + (*Unk3000_JACOCADDNFE)(nil), // 1: Unk3000_JACOCADDNFE +} +var file_Unk3000_FIPHHGCJIMO_proto_depIdxs = []int32{ + 1, // 0: Unk3000_FIPHHGCJIMO.avatar_info_list:type_name -> Unk3000_JACOCADDNFE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_FIPHHGCJIMO_proto_init() } +func file_Unk3000_FIPHHGCJIMO_proto_init() { + if File_Unk3000_FIPHHGCJIMO_proto != nil { + return + } + file_Unk3000_JACOCADDNFE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_FIPHHGCJIMO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FIPHHGCJIMO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FIPHHGCJIMO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FIPHHGCJIMO_proto_goTypes, + DependencyIndexes: file_Unk3000_FIPHHGCJIMO_proto_depIdxs, + MessageInfos: file_Unk3000_FIPHHGCJIMO_proto_msgTypes, + }.Build() + File_Unk3000_FIPHHGCJIMO_proto = out.File + file_Unk3000_FIPHHGCJIMO_proto_rawDesc = nil + file_Unk3000_FIPHHGCJIMO_proto_goTypes = nil + file_Unk3000_FIPHHGCJIMO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.proto b/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.proto new file mode 100644 index 00000000..faa09f96 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FIPHHGCJIMO.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_JACOCADDNFE.proto"; + +option go_package = "./;proto"; + +// CmdId: 23678 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_FIPHHGCJIMO { + repeated Unk3000_JACOCADDNFE avatar_info_list = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.pb.go b/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.pb.go new file mode 100644 index 00000000..81092459 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FLOEPMMABMH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_FLOEPMMABMH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,13,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + MaxScore uint32 `protobuf:"varint,14,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + IsOpen bool `protobuf:"varint,1,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *Unk3000_FLOEPMMABMH) Reset() { + *x = Unk3000_FLOEPMMABMH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FLOEPMMABMH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FLOEPMMABMH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FLOEPMMABMH) ProtoMessage() {} + +func (x *Unk3000_FLOEPMMABMH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FLOEPMMABMH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FLOEPMMABMH.ProtoReflect.Descriptor instead. +func (*Unk3000_FLOEPMMABMH) Descriptor() ([]byte, []int) { + return file_Unk3000_FLOEPMMABMH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FLOEPMMABMH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_FLOEPMMABMH) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *Unk3000_FLOEPMMABMH) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_Unk3000_FLOEPMMABMH_proto protoreflect.FileDescriptor + +var file_Unk3000_FLOEPMMABMH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x4f, 0x45, 0x50, 0x4d, + 0x4d, 0x41, 0x42, 0x4d, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x4f, 0x45, 0x50, 0x4d, 0x4d, 0x41, 0x42, + 0x4d, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, + 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, + 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_FLOEPMMABMH_proto_rawDescOnce sync.Once + file_Unk3000_FLOEPMMABMH_proto_rawDescData = file_Unk3000_FLOEPMMABMH_proto_rawDesc +) + +func file_Unk3000_FLOEPMMABMH_proto_rawDescGZIP() []byte { + file_Unk3000_FLOEPMMABMH_proto_rawDescOnce.Do(func() { + file_Unk3000_FLOEPMMABMH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FLOEPMMABMH_proto_rawDescData) + }) + return file_Unk3000_FLOEPMMABMH_proto_rawDescData +} + +var file_Unk3000_FLOEPMMABMH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FLOEPMMABMH_proto_goTypes = []interface{}{ + (*Unk3000_FLOEPMMABMH)(nil), // 0: Unk3000_FLOEPMMABMH +} +var file_Unk3000_FLOEPMMABMH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_FLOEPMMABMH_proto_init() } +func file_Unk3000_FLOEPMMABMH_proto_init() { + if File_Unk3000_FLOEPMMABMH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_FLOEPMMABMH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FLOEPMMABMH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FLOEPMMABMH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FLOEPMMABMH_proto_goTypes, + DependencyIndexes: file_Unk3000_FLOEPMMABMH_proto_depIdxs, + MessageInfos: file_Unk3000_FLOEPMMABMH_proto_msgTypes, + }.Build() + File_Unk3000_FLOEPMMABMH_proto = out.File + file_Unk3000_FLOEPMMABMH_proto_rawDesc = nil + file_Unk3000_FLOEPMMABMH_proto_goTypes = nil + file_Unk3000_FLOEPMMABMH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.proto b/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.proto new file mode 100644 index 00000000..1ce34a66 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FLOEPMMABMH.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_FLOEPMMABMH { + uint32 level_id = 13; + uint32 max_score = 14; + bool is_open = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.pb.go b/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.pb.go new file mode 100644 index 00000000..3fa4ebef --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_FPDBJJJLKEP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6103 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_FPDBJJJLKEP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_ADJJOGDKIKL *Unk3000_BGPMEPKCLPA `protobuf:"bytes,2,opt,name=Unk3000_ADJJOGDKIKL,json=Unk3000ADJJOGDKIKL,proto3" json:"Unk3000_ADJJOGDKIKL,omitempty"` + QueryId int32 `protobuf:"varint,13,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_FPDBJJJLKEP) Reset() { + *x = Unk3000_FPDBJJJLKEP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_FPDBJJJLKEP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_FPDBJJJLKEP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_FPDBJJJLKEP) ProtoMessage() {} + +func (x *Unk3000_FPDBJJJLKEP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_FPDBJJJLKEP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_FPDBJJJLKEP.ProtoReflect.Descriptor instead. +func (*Unk3000_FPDBJJJLKEP) Descriptor() ([]byte, []int) { + return file_Unk3000_FPDBJJJLKEP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_FPDBJJJLKEP) GetUnk3000_ADJJOGDKIKL() *Unk3000_BGPMEPKCLPA { + if x != nil { + return x.Unk3000_ADJJOGDKIKL + } + return nil +} + +func (x *Unk3000_FPDBJJJLKEP) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *Unk3000_FPDBJJJLKEP) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_FPDBJJJLKEP_proto protoreflect.FileDescriptor + +var file_Unk3000_FPDBJJJLKEP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x50, 0x44, 0x42, 0x4a, 0x4a, + 0x4a, 0x4c, 0x4b, 0x45, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, 0x50, 0x4b, 0x43, 0x4c, 0x50, 0x41, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x46, 0x50, 0x44, 0x42, 0x4a, 0x4a, 0x4a, 0x4c, 0x4b, 0x45, 0x50, 0x12, 0x45, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x44, 0x4a, 0x4a, 0x4f, 0x47, + 0x44, 0x4b, 0x49, 0x4b, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x47, 0x50, 0x4d, 0x45, 0x50, 0x4b, 0x43, 0x4c, 0x50, + 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x44, 0x4a, 0x4a, 0x4f, 0x47, + 0x44, 0x4b, 0x49, 0x4b, 0x4c, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_FPDBJJJLKEP_proto_rawDescOnce sync.Once + file_Unk3000_FPDBJJJLKEP_proto_rawDescData = file_Unk3000_FPDBJJJLKEP_proto_rawDesc +) + +func file_Unk3000_FPDBJJJLKEP_proto_rawDescGZIP() []byte { + file_Unk3000_FPDBJJJLKEP_proto_rawDescOnce.Do(func() { + file_Unk3000_FPDBJJJLKEP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_FPDBJJJLKEP_proto_rawDescData) + }) + return file_Unk3000_FPDBJJJLKEP_proto_rawDescData +} + +var file_Unk3000_FPDBJJJLKEP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_FPDBJJJLKEP_proto_goTypes = []interface{}{ + (*Unk3000_FPDBJJJLKEP)(nil), // 0: Unk3000_FPDBJJJLKEP + (*Unk3000_BGPMEPKCLPA)(nil), // 1: Unk3000_BGPMEPKCLPA +} +var file_Unk3000_FPDBJJJLKEP_proto_depIdxs = []int32{ + 1, // 0: Unk3000_FPDBJJJLKEP.Unk3000_ADJJOGDKIKL:type_name -> Unk3000_BGPMEPKCLPA + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_FPDBJJJLKEP_proto_init() } +func file_Unk3000_FPDBJJJLKEP_proto_init() { + if File_Unk3000_FPDBJJJLKEP_proto != nil { + return + } + file_Unk3000_BGPMEPKCLPA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_FPDBJJJLKEP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_FPDBJJJLKEP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_FPDBJJJLKEP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_FPDBJJJLKEP_proto_goTypes, + DependencyIndexes: file_Unk3000_FPDBJJJLKEP_proto_depIdxs, + MessageInfos: file_Unk3000_FPDBJJJLKEP_proto_msgTypes, + }.Build() + File_Unk3000_FPDBJJJLKEP_proto = out.File + file_Unk3000_FPDBJJJLKEP_proto_rawDesc = nil + file_Unk3000_FPDBJJJLKEP_proto_goTypes = nil + file_Unk3000_FPDBJJJLKEP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.proto b/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.proto new file mode 100644 index 00000000..f56a1b89 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_FPDBJJJLKEP.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_BGPMEPKCLPA.proto"; + +option go_package = "./;proto"; + +// CmdId: 6103 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_FPDBJJJLKEP { + Unk3000_BGPMEPKCLPA Unk3000_ADJJOGDKIKL = 2; + int32 query_id = 13; + int32 retcode = 11; +} diff --git a/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.pb.go b/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.pb.go new file mode 100644 index 00000000..21f524e0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.pb.go @@ -0,0 +1,274 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GCBMILHPIKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4659 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_GCBMILHPIKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_EBIEGNHLMFP []*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF `protobuf:"bytes,5,rep,name=Unk3000_EBIEGNHLMFP,json=Unk3000EBIEGNHLMFP,proto3" json:"Unk3000_EBIEGNHLMFP,omitempty"` +} + +func (x *Unk3000_GCBMILHPIKA) Reset() { + *x = Unk3000_GCBMILHPIKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GCBMILHPIKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GCBMILHPIKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GCBMILHPIKA) ProtoMessage() {} + +func (x *Unk3000_GCBMILHPIKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GCBMILHPIKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GCBMILHPIKA.ProtoReflect.Descriptor instead. +func (*Unk3000_GCBMILHPIKA) Descriptor() ([]byte, []int) { + return file_Unk3000_GCBMILHPIKA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GCBMILHPIKA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_GCBMILHPIKA) GetUnk3000_EBIEGNHLMFP() []*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF { + if x != nil { + return x.Unk3000_EBIEGNHLMFP + } + return nil +} + +type Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CLMLONOEHLB uint32 `protobuf:"varint,7,opt,name=Unk3000_CLMLONOEHLB,json=Unk3000CLMLONOEHLB,proto3" json:"Unk3000_CLMLONOEHLB,omitempty"` + Unk3000_HCAJDIBHKDG uint32 `protobuf:"varint,12,opt,name=Unk3000_HCAJDIBHKDG,json=Unk3000HCAJDIBHKDG,proto3" json:"Unk3000_HCAJDIBHKDG,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,14,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + Unk3000_LOFNFMJFGNB uint32 `protobuf:"varint,2,opt,name=Unk3000_LOFNFMJFGNB,json=Unk3000LOFNFMJFGNB,proto3" json:"Unk3000_LOFNFMJFGNB,omitempty"` +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) Reset() { + *x = Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GCBMILHPIKA_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) ProtoMessage() {} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GCBMILHPIKA_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF.ProtoReflect.Descriptor instead. +func (*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) Descriptor() ([]byte, []int) { + return file_Unk3000_GCBMILHPIKA_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) GetUnk3000_CLMLONOEHLB() uint32 { + if x != nil { + return x.Unk3000_CLMLONOEHLB + } + return 0 +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) GetUnk3000_HCAJDIBHKDG() uint32 { + if x != nil { + return x.Unk3000_HCAJDIBHKDG + } + return 0 +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF) GetUnk3000_LOFNFMJFGNB() uint32 { + if x != nil { + return x.Unk3000_LOFNFMJFGNB + } + return 0 +} + +var File_Unk3000_GCBMILHPIKA_proto protoreflect.FileDescriptor + +var file_Unk3000_GCBMILHPIKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x42, 0x4d, 0x49, 0x4c, + 0x48, 0x50, 0x49, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x42, 0x4d, 0x49, 0x4c, 0x48, 0x50, + 0x49, 0x4b, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x59, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x42, 0x49, 0x45, 0x47, 0x4e, 0x48, + 0x4c, 0x4d, 0x46, 0x50, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x42, 0x4d, 0x49, 0x4c, 0x48, 0x50, 0x49, 0x4b, 0x41, + 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x47, 0x49, 0x4e, 0x4e, 0x41, + 0x46, 0x50, 0x49, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x45, 0x42, 0x49, + 0x45, 0x47, 0x4e, 0x48, 0x4c, 0x4d, 0x46, 0x50, 0x1a, 0xd4, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x47, 0x49, 0x4e, 0x4e, 0x41, 0x46, 0x50, 0x49, 0x46, + 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4c, 0x4d, 0x4c, + 0x4f, 0x4e, 0x4f, 0x45, 0x48, 0x4c, 0x42, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x4c, 0x4d, 0x4c, 0x4f, 0x4e, 0x4f, 0x45, 0x48, 0x4c, + 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x43, 0x41, + 0x4a, 0x44, 0x49, 0x42, 0x48, 0x4b, 0x44, 0x47, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x43, 0x41, 0x4a, 0x44, 0x49, 0x42, 0x48, 0x4b, + 0x44, 0x47, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4f, 0x46, 0x4e, 0x46, 0x4d, + 0x4a, 0x46, 0x47, 0x4e, 0x42, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x4c, 0x4f, 0x46, 0x4e, 0x46, 0x4d, 0x4a, 0x46, 0x47, 0x4e, 0x42, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GCBMILHPIKA_proto_rawDescOnce sync.Once + file_Unk3000_GCBMILHPIKA_proto_rawDescData = file_Unk3000_GCBMILHPIKA_proto_rawDesc +) + +func file_Unk3000_GCBMILHPIKA_proto_rawDescGZIP() []byte { + file_Unk3000_GCBMILHPIKA_proto_rawDescOnce.Do(func() { + file_Unk3000_GCBMILHPIKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GCBMILHPIKA_proto_rawDescData) + }) + return file_Unk3000_GCBMILHPIKA_proto_rawDescData +} + +var file_Unk3000_GCBMILHPIKA_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk3000_GCBMILHPIKA_proto_goTypes = []interface{}{ + (*Unk3000_GCBMILHPIKA)(nil), // 0: Unk3000_GCBMILHPIKA + (*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF)(nil), // 1: Unk3000_GCBMILHPIKA.Unk3000_PPGINNAFPIF +} +var file_Unk3000_GCBMILHPIKA_proto_depIdxs = []int32{ + 1, // 0: Unk3000_GCBMILHPIKA.Unk3000_EBIEGNHLMFP:type_name -> Unk3000_GCBMILHPIKA.Unk3000_PPGINNAFPIF + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_GCBMILHPIKA_proto_init() } +func file_Unk3000_GCBMILHPIKA_proto_init() { + if File_Unk3000_GCBMILHPIKA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_GCBMILHPIKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GCBMILHPIKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_Unk3000_GCBMILHPIKA_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GCBMILHPIKA_Unk3000_PPGINNAFPIF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GCBMILHPIKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GCBMILHPIKA_proto_goTypes, + DependencyIndexes: file_Unk3000_GCBMILHPIKA_proto_depIdxs, + MessageInfos: file_Unk3000_GCBMILHPIKA_proto_msgTypes, + }.Build() + File_Unk3000_GCBMILHPIKA_proto = out.File + file_Unk3000_GCBMILHPIKA_proto_rawDesc = nil + file_Unk3000_GCBMILHPIKA_proto_goTypes = nil + file_Unk3000_GCBMILHPIKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.proto b/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.proto new file mode 100644 index 00000000..14f700eb --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GCBMILHPIKA.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4659 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_GCBMILHPIKA { + int32 retcode = 10; + repeated Unk3000_PPGINNAFPIF Unk3000_EBIEGNHLMFP = 5; + + message Unk3000_PPGINNAFPIF { + uint32 Unk3000_CLMLONOEHLB = 7; + uint32 Unk3000_HCAJDIBHKDG = 12; + uint32 next_refresh_time = 14; + uint32 Unk3000_LOFNFMJFGNB = 2; + } +} diff --git a/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.pb.go b/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.pb.go new file mode 100644 index 00000000..2a6ae6f4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.pb.go @@ -0,0 +1,204 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GDDGGJIFNCH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_GDDGGJIFNCH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CFDMLGKNLKL uint32 `protobuf:"varint,8,opt,name=Unk3000_CFDMLGKNLKL,json=Unk3000CFDMLGKNLKL,proto3" json:"Unk3000_CFDMLGKNLKL,omitempty"` + Unk3000_HONINDEHLNO bool `protobuf:"varint,15,opt,name=Unk3000_HONINDEHLNO,json=Unk3000HONINDEHLNO,proto3" json:"Unk3000_HONINDEHLNO,omitempty"` + Unk3000_FIMENALCAKG bool `protobuf:"varint,10,opt,name=Unk3000_FIMENALCAKG,json=Unk3000FIMENALCAKG,proto3" json:"Unk3000_FIMENALCAKG,omitempty"` + Unk3000_BJGNKDEGLGC bool `protobuf:"varint,6,opt,name=Unk3000_BJGNKDEGLGC,json=Unk3000BJGNKDEGLGC,proto3" json:"Unk3000_BJGNKDEGLGC,omitempty"` + Unk3000_HPHLGFDHBON uint32 `protobuf:"varint,5,opt,name=Unk3000_HPHLGFDHBON,json=Unk3000HPHLGFDHBON,proto3" json:"Unk3000_HPHLGFDHBON,omitempty"` +} + +func (x *Unk3000_GDDGGJIFNCH) Reset() { + *x = Unk3000_GDDGGJIFNCH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GDDGGJIFNCH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GDDGGJIFNCH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GDDGGJIFNCH) ProtoMessage() {} + +func (x *Unk3000_GDDGGJIFNCH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GDDGGJIFNCH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GDDGGJIFNCH.ProtoReflect.Descriptor instead. +func (*Unk3000_GDDGGJIFNCH) Descriptor() ([]byte, []int) { + return file_Unk3000_GDDGGJIFNCH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GDDGGJIFNCH) GetUnk3000_CFDMLGKNLKL() uint32 { + if x != nil { + return x.Unk3000_CFDMLGKNLKL + } + return 0 +} + +func (x *Unk3000_GDDGGJIFNCH) GetUnk3000_HONINDEHLNO() bool { + if x != nil { + return x.Unk3000_HONINDEHLNO + } + return false +} + +func (x *Unk3000_GDDGGJIFNCH) GetUnk3000_FIMENALCAKG() bool { + if x != nil { + return x.Unk3000_FIMENALCAKG + } + return false +} + +func (x *Unk3000_GDDGGJIFNCH) GetUnk3000_BJGNKDEGLGC() bool { + if x != nil { + return x.Unk3000_BJGNKDEGLGC + } + return false +} + +func (x *Unk3000_GDDGGJIFNCH) GetUnk3000_HPHLGFDHBON() uint32 { + if x != nil { + return x.Unk3000_HPHLGFDHBON + } + return 0 +} + +var File_Unk3000_GDDGGJIFNCH_proto protoreflect.FileDescriptor + +var file_Unk3000_GDDGGJIFNCH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x47, 0x47, 0x4a, + 0x49, 0x46, 0x4e, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x44, 0x47, 0x47, 0x4a, 0x49, 0x46, + 0x4e, 0x43, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, + 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, 0x4c, 0x4b, 0x4c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, + 0x4e, 0x4c, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x48, 0x4f, 0x4e, 0x49, 0x4e, 0x44, 0x45, 0x48, 0x4c, 0x4e, 0x4f, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4f, 0x4e, 0x49, 0x4e, 0x44, + 0x45, 0x48, 0x4c, 0x4e, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x46, 0x49, 0x4d, 0x45, 0x4e, 0x41, 0x4c, 0x43, 0x41, 0x4b, 0x47, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x46, 0x49, 0x4d, 0x45, 0x4e, + 0x41, 0x4c, 0x43, 0x41, 0x4b, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x42, 0x4a, 0x47, 0x4e, 0x4b, 0x44, 0x45, 0x47, 0x4c, 0x47, 0x43, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x42, 0x4a, 0x47, 0x4e, + 0x4b, 0x44, 0x45, 0x47, 0x4c, 0x47, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x48, 0x50, 0x48, 0x4c, 0x47, 0x46, 0x44, 0x48, 0x42, 0x4f, 0x4e, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x50, 0x48, + 0x4c, 0x47, 0x46, 0x44, 0x48, 0x42, 0x4f, 0x4e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GDDGGJIFNCH_proto_rawDescOnce sync.Once + file_Unk3000_GDDGGJIFNCH_proto_rawDescData = file_Unk3000_GDDGGJIFNCH_proto_rawDesc +) + +func file_Unk3000_GDDGGJIFNCH_proto_rawDescGZIP() []byte { + file_Unk3000_GDDGGJIFNCH_proto_rawDescOnce.Do(func() { + file_Unk3000_GDDGGJIFNCH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GDDGGJIFNCH_proto_rawDescData) + }) + return file_Unk3000_GDDGGJIFNCH_proto_rawDescData +} + +var file_Unk3000_GDDGGJIFNCH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_GDDGGJIFNCH_proto_goTypes = []interface{}{ + (*Unk3000_GDDGGJIFNCH)(nil), // 0: Unk3000_GDDGGJIFNCH +} +var file_Unk3000_GDDGGJIFNCH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_GDDGGJIFNCH_proto_init() } +func file_Unk3000_GDDGGJIFNCH_proto_init() { + if File_Unk3000_GDDGGJIFNCH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_GDDGGJIFNCH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GDDGGJIFNCH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GDDGGJIFNCH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GDDGGJIFNCH_proto_goTypes, + DependencyIndexes: file_Unk3000_GDDGGJIFNCH_proto_depIdxs, + MessageInfos: file_Unk3000_GDDGGJIFNCH_proto_msgTypes, + }.Build() + File_Unk3000_GDDGGJIFNCH_proto = out.File + file_Unk3000_GDDGGJIFNCH_proto_rawDesc = nil + file_Unk3000_GDDGGJIFNCH_proto_goTypes = nil + file_Unk3000_GDDGGJIFNCH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.proto b/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.proto new file mode 100644 index 00000000..f560d2c0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDDGGJIFNCH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_GDDGGJIFNCH { + uint32 Unk3000_CFDMLGKNLKL = 8; + bool Unk3000_HONINDEHLNO = 15; + bool Unk3000_FIMENALCAKG = 10; + bool Unk3000_BJGNKDEGLGC = 6; + uint32 Unk3000_HPHLGFDHBON = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.pb.go b/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.pb.go new file mode 100644 index 00000000..3843a54b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GDKMIBFADKD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_GDKMIBFADKD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index int64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` + Area int32 `protobuf:"varint,5,opt,name=area,proto3" json:"area,omitempty"` + Unk3000_AOEGLPPFIFD *Vector `protobuf:"bytes,1,opt,name=Unk3000_AOEGLPPFIFD,json=Unk3000AOEGLPPFIFD,proto3" json:"Unk3000_AOEGLPPFIFD,omitempty"` +} + +func (x *Unk3000_GDKMIBFADKD) Reset() { + *x = Unk3000_GDKMIBFADKD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GDKMIBFADKD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GDKMIBFADKD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GDKMIBFADKD) ProtoMessage() {} + +func (x *Unk3000_GDKMIBFADKD) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GDKMIBFADKD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GDKMIBFADKD.ProtoReflect.Descriptor instead. +func (*Unk3000_GDKMIBFADKD) Descriptor() ([]byte, []int) { + return file_Unk3000_GDKMIBFADKD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GDKMIBFADKD) GetIndex() int64 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *Unk3000_GDKMIBFADKD) GetArea() int32 { + if x != nil { + return x.Area + } + return 0 +} + +func (x *Unk3000_GDKMIBFADKD) GetUnk3000_AOEGLPPFIFD() *Vector { + if x != nil { + return x.Unk3000_AOEGLPPFIFD + } + return nil +} + +var File_Unk3000_GDKMIBFADKD_proto protoreflect.FileDescriptor + +var file_Unk3000_GDKMIBFADKD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4b, 0x4d, 0x49, 0x42, + 0x46, 0x41, 0x44, 0x4b, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4b, 0x4d, 0x49, 0x42, 0x46, 0x41, 0x44, 0x4b, 0x44, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x38, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4f, 0x45, 0x47, 0x4c, 0x50, 0x50, 0x46, 0x49, 0x46, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x4f, 0x45, 0x47, 0x4c, 0x50, 0x50, + 0x46, 0x49, 0x46, 0x44, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GDKMIBFADKD_proto_rawDescOnce sync.Once + file_Unk3000_GDKMIBFADKD_proto_rawDescData = file_Unk3000_GDKMIBFADKD_proto_rawDesc +) + +func file_Unk3000_GDKMIBFADKD_proto_rawDescGZIP() []byte { + file_Unk3000_GDKMIBFADKD_proto_rawDescOnce.Do(func() { + file_Unk3000_GDKMIBFADKD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GDKMIBFADKD_proto_rawDescData) + }) + return file_Unk3000_GDKMIBFADKD_proto_rawDescData +} + +var file_Unk3000_GDKMIBFADKD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_GDKMIBFADKD_proto_goTypes = []interface{}{ + (*Unk3000_GDKMIBFADKD)(nil), // 0: Unk3000_GDKMIBFADKD + (*Vector)(nil), // 1: Vector +} +var file_Unk3000_GDKMIBFADKD_proto_depIdxs = []int32{ + 1, // 0: Unk3000_GDKMIBFADKD.Unk3000_AOEGLPPFIFD:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_GDKMIBFADKD_proto_init() } +func file_Unk3000_GDKMIBFADKD_proto_init() { + if File_Unk3000_GDKMIBFADKD_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_GDKMIBFADKD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GDKMIBFADKD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GDKMIBFADKD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GDKMIBFADKD_proto_goTypes, + DependencyIndexes: file_Unk3000_GDKMIBFADKD_proto_depIdxs, + MessageInfos: file_Unk3000_GDKMIBFADKD_proto_msgTypes, + }.Build() + File_Unk3000_GDKMIBFADKD_proto = out.File + file_Unk3000_GDKMIBFADKD_proto_rawDesc = nil + file_Unk3000_GDKMIBFADKD_proto_goTypes = nil + file_Unk3000_GDKMIBFADKD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.proto b/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.proto new file mode 100644 index 00000000..fcca9b8c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDKMIBFADKD.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_GDKMIBFADKD { + int64 index = 8; + int32 area = 5; + Vector Unk3000_AOEGLPPFIFD = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.pb.go b/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.pb.go new file mode 100644 index 00000000..ff30ae46 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GDMEIKLAMIB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3295 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_GDMEIKLAMIB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId uint32 `protobuf:"varint,6,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + SceneId uint32 `protobuf:"varint,9,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + ConfigId uint32 `protobuf:"varint,12,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *Unk3000_GDMEIKLAMIB) Reset() { + *x = Unk3000_GDMEIKLAMIB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GDMEIKLAMIB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GDMEIKLAMIB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GDMEIKLAMIB) ProtoMessage() {} + +func (x *Unk3000_GDMEIKLAMIB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GDMEIKLAMIB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GDMEIKLAMIB.ProtoReflect.Descriptor instead. +func (*Unk3000_GDMEIKLAMIB) Descriptor() ([]byte, []int) { + return file_Unk3000_GDMEIKLAMIB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GDMEIKLAMIB) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk3000_GDMEIKLAMIB) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *Unk3000_GDMEIKLAMIB) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_Unk3000_GDMEIKLAMIB_proto protoreflect.FileDescriptor + +var file_Unk3000_GDMEIKLAMIB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4d, 0x45, 0x49, 0x4b, + 0x4c, 0x41, 0x4d, 0x49, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x4d, 0x45, 0x49, 0x4b, 0x4c, 0x41, 0x4d, + 0x49, 0x42, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GDMEIKLAMIB_proto_rawDescOnce sync.Once + file_Unk3000_GDMEIKLAMIB_proto_rawDescData = file_Unk3000_GDMEIKLAMIB_proto_rawDesc +) + +func file_Unk3000_GDMEIKLAMIB_proto_rawDescGZIP() []byte { + file_Unk3000_GDMEIKLAMIB_proto_rawDescOnce.Do(func() { + file_Unk3000_GDMEIKLAMIB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GDMEIKLAMIB_proto_rawDescData) + }) + return file_Unk3000_GDMEIKLAMIB_proto_rawDescData +} + +var file_Unk3000_GDMEIKLAMIB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_GDMEIKLAMIB_proto_goTypes = []interface{}{ + (*Unk3000_GDMEIKLAMIB)(nil), // 0: Unk3000_GDMEIKLAMIB +} +var file_Unk3000_GDMEIKLAMIB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_GDMEIKLAMIB_proto_init() } +func file_Unk3000_GDMEIKLAMIB_proto_init() { + if File_Unk3000_GDMEIKLAMIB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_GDMEIKLAMIB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GDMEIKLAMIB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GDMEIKLAMIB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GDMEIKLAMIB_proto_goTypes, + DependencyIndexes: file_Unk3000_GDMEIKLAMIB_proto_depIdxs, + MessageInfos: file_Unk3000_GDMEIKLAMIB_proto_msgTypes, + }.Build() + File_Unk3000_GDMEIKLAMIB_proto = out.File + file_Unk3000_GDMEIKLAMIB_proto_rawDesc = nil + file_Unk3000_GDMEIKLAMIB_proto_goTypes = nil + file_Unk3000_GDMEIKLAMIB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.proto b/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.proto new file mode 100644 index 00000000..1a7fea87 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GDMEIKLAMIB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3295 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_GDMEIKLAMIB { + uint32 group_id = 6; + uint32 scene_id = 9; + uint32 config_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.pb.go b/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.pb.go new file mode 100644 index 00000000..b52b470d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GMLAHHCDKOI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 841 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_GMLAHHCDKOI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_LHBOCEKGGIF []*Unk3000_LLBHCMKJJHB `protobuf:"bytes,14,rep,name=Unk3000_LHBOCEKGGIF,json=Unk3000LHBOCEKGGIF,proto3" json:"Unk3000_LHBOCEKGGIF,omitempty"` +} + +func (x *Unk3000_GMLAHHCDKOI) Reset() { + *x = Unk3000_GMLAHHCDKOI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GMLAHHCDKOI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GMLAHHCDKOI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GMLAHHCDKOI) ProtoMessage() {} + +func (x *Unk3000_GMLAHHCDKOI) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GMLAHHCDKOI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GMLAHHCDKOI.ProtoReflect.Descriptor instead. +func (*Unk3000_GMLAHHCDKOI) Descriptor() ([]byte, []int) { + return file_Unk3000_GMLAHHCDKOI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GMLAHHCDKOI) GetUnk3000_LHBOCEKGGIF() []*Unk3000_LLBHCMKJJHB { + if x != nil { + return x.Unk3000_LHBOCEKGGIF + } + return nil +} + +var File_Unk3000_GMLAHHCDKOI_proto protoreflect.FileDescriptor + +var file_Unk3000_GMLAHHCDKOI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x4c, 0x41, 0x48, 0x48, + 0x43, 0x44, 0x4b, 0x4f, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x48, 0x43, 0x4d, 0x4b, 0x4a, 0x4a, 0x48, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x47, 0x4d, 0x4c, 0x41, 0x48, 0x48, 0x43, 0x44, 0x4b, 0x4f, 0x49, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x42, 0x4f, 0x43, 0x45, 0x4b, + 0x47, 0x47, 0x49, 0x46, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x48, 0x43, 0x4d, 0x4b, 0x4a, 0x4a, 0x48, 0x42, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4c, 0x48, 0x42, 0x4f, 0x43, 0x45, 0x4b, + 0x47, 0x47, 0x49, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GMLAHHCDKOI_proto_rawDescOnce sync.Once + file_Unk3000_GMLAHHCDKOI_proto_rawDescData = file_Unk3000_GMLAHHCDKOI_proto_rawDesc +) + +func file_Unk3000_GMLAHHCDKOI_proto_rawDescGZIP() []byte { + file_Unk3000_GMLAHHCDKOI_proto_rawDescOnce.Do(func() { + file_Unk3000_GMLAHHCDKOI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GMLAHHCDKOI_proto_rawDescData) + }) + return file_Unk3000_GMLAHHCDKOI_proto_rawDescData +} + +var file_Unk3000_GMLAHHCDKOI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_GMLAHHCDKOI_proto_goTypes = []interface{}{ + (*Unk3000_GMLAHHCDKOI)(nil), // 0: Unk3000_GMLAHHCDKOI + (*Unk3000_LLBHCMKJJHB)(nil), // 1: Unk3000_LLBHCMKJJHB +} +var file_Unk3000_GMLAHHCDKOI_proto_depIdxs = []int32{ + 1, // 0: Unk3000_GMLAHHCDKOI.Unk3000_LHBOCEKGGIF:type_name -> Unk3000_LLBHCMKJJHB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_GMLAHHCDKOI_proto_init() } +func file_Unk3000_GMLAHHCDKOI_proto_init() { + if File_Unk3000_GMLAHHCDKOI_proto != nil { + return + } + file_Unk3000_LLBHCMKJJHB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_GMLAHHCDKOI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GMLAHHCDKOI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GMLAHHCDKOI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GMLAHHCDKOI_proto_goTypes, + DependencyIndexes: file_Unk3000_GMLAHHCDKOI_proto_depIdxs, + MessageInfos: file_Unk3000_GMLAHHCDKOI_proto_msgTypes, + }.Build() + File_Unk3000_GMLAHHCDKOI_proto = out.File + file_Unk3000_GMLAHHCDKOI_proto_rawDesc = nil + file_Unk3000_GMLAHHCDKOI_proto_goTypes = nil + file_Unk3000_GMLAHHCDKOI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.proto b/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.proto new file mode 100644 index 00000000..dbab9257 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GMLAHHCDKOI.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_LLBHCMKJJHB.proto"; + +option go_package = "./;proto"; + +// CmdId: 841 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_GMLAHHCDKOI { + repeated Unk3000_LLBHCMKJJHB Unk3000_LHBOCEKGGIF = 14; +} diff --git a/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.pb.go b/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.pb.go new file mode 100644 index 00000000..237e5844 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_GNLFOLGMEPN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21208 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_GNLFOLGMEPN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_GNLFOLGMEPN) Reset() { + *x = Unk3000_GNLFOLGMEPN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_GNLFOLGMEPN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_GNLFOLGMEPN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_GNLFOLGMEPN) ProtoMessage() {} + +func (x *Unk3000_GNLFOLGMEPN) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_GNLFOLGMEPN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_GNLFOLGMEPN.ProtoReflect.Descriptor instead. +func (*Unk3000_GNLFOLGMEPN) Descriptor() ([]byte, []int) { + return file_Unk3000_GNLFOLGMEPN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_GNLFOLGMEPN) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_GNLFOLGMEPN_proto protoreflect.FileDescriptor + +var file_Unk3000_GNLFOLGMEPN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x4c, 0x46, 0x4f, 0x4c, + 0x47, 0x4d, 0x45, 0x50, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4e, 0x4c, 0x46, 0x4f, 0x4c, 0x47, 0x4d, 0x45, + 0x50, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_GNLFOLGMEPN_proto_rawDescOnce sync.Once + file_Unk3000_GNLFOLGMEPN_proto_rawDescData = file_Unk3000_GNLFOLGMEPN_proto_rawDesc +) + +func file_Unk3000_GNLFOLGMEPN_proto_rawDescGZIP() []byte { + file_Unk3000_GNLFOLGMEPN_proto_rawDescOnce.Do(func() { + file_Unk3000_GNLFOLGMEPN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_GNLFOLGMEPN_proto_rawDescData) + }) + return file_Unk3000_GNLFOLGMEPN_proto_rawDescData +} + +var file_Unk3000_GNLFOLGMEPN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_GNLFOLGMEPN_proto_goTypes = []interface{}{ + (*Unk3000_GNLFOLGMEPN)(nil), // 0: Unk3000_GNLFOLGMEPN +} +var file_Unk3000_GNLFOLGMEPN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_GNLFOLGMEPN_proto_init() } +func file_Unk3000_GNLFOLGMEPN_proto_init() { + if File_Unk3000_GNLFOLGMEPN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_GNLFOLGMEPN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_GNLFOLGMEPN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_GNLFOLGMEPN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_GNLFOLGMEPN_proto_goTypes, + DependencyIndexes: file_Unk3000_GNLFOLGMEPN_proto_depIdxs, + MessageInfos: file_Unk3000_GNLFOLGMEPN_proto_msgTypes, + }.Build() + File_Unk3000_GNLFOLGMEPN_proto = out.File + file_Unk3000_GNLFOLGMEPN_proto_rawDesc = nil + file_Unk3000_GNLFOLGMEPN_proto_goTypes = nil + file_Unk3000_GNLFOLGMEPN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.proto b/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.proto new file mode 100644 index 00000000..932850f4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_GNLFOLGMEPN.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21208 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_GNLFOLGMEPN { + int32 retcode = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.pb.go b/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.pb.go new file mode 100644 index 00000000..d280f7af --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HBIPKOBMGGD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5995 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_HBIPKOBMGGD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_GCJLJCJAADG []*Unk3000_HKHFFDEMNKN `protobuf:"bytes,3,rep,name=Unk3000_GCJLJCJAADG,json=Unk3000GCJLJCJAADG,proto3" json:"Unk3000_GCJLJCJAADG,omitempty"` +} + +func (x *Unk3000_HBIPKOBMGGD) Reset() { + *x = Unk3000_HBIPKOBMGGD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HBIPKOBMGGD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HBIPKOBMGGD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HBIPKOBMGGD) ProtoMessage() {} + +func (x *Unk3000_HBIPKOBMGGD) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HBIPKOBMGGD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HBIPKOBMGGD.ProtoReflect.Descriptor instead. +func (*Unk3000_HBIPKOBMGGD) Descriptor() ([]byte, []int) { + return file_Unk3000_HBIPKOBMGGD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HBIPKOBMGGD) GetUnk3000_GCJLJCJAADG() []*Unk3000_HKHFFDEMNKN { + if x != nil { + return x.Unk3000_GCJLJCJAADG + } + return nil +} + +var File_Unk3000_HBIPKOBMGGD_proto protoreflect.FileDescriptor + +var file_Unk3000_HBIPKOBMGGD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x42, 0x49, 0x50, 0x4b, 0x4f, + 0x42, 0x4d, 0x47, 0x47, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x48, 0x46, 0x46, 0x44, 0x45, 0x4d, 0x4e, 0x4b, 0x4e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x48, 0x42, 0x49, 0x50, 0x4b, 0x4f, 0x42, 0x4d, 0x47, 0x47, 0x44, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x4a, 0x4c, 0x4a, 0x43, 0x4a, + 0x41, 0x41, 0x44, 0x47, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x48, 0x46, 0x46, 0x44, 0x45, 0x4d, 0x4e, 0x4b, 0x4e, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x43, 0x4a, 0x4c, 0x4a, 0x43, 0x4a, + 0x41, 0x41, 0x44, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HBIPKOBMGGD_proto_rawDescOnce sync.Once + file_Unk3000_HBIPKOBMGGD_proto_rawDescData = file_Unk3000_HBIPKOBMGGD_proto_rawDesc +) + +func file_Unk3000_HBIPKOBMGGD_proto_rawDescGZIP() []byte { + file_Unk3000_HBIPKOBMGGD_proto_rawDescOnce.Do(func() { + file_Unk3000_HBIPKOBMGGD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HBIPKOBMGGD_proto_rawDescData) + }) + return file_Unk3000_HBIPKOBMGGD_proto_rawDescData +} + +var file_Unk3000_HBIPKOBMGGD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HBIPKOBMGGD_proto_goTypes = []interface{}{ + (*Unk3000_HBIPKOBMGGD)(nil), // 0: Unk3000_HBIPKOBMGGD + (*Unk3000_HKHFFDEMNKN)(nil), // 1: Unk3000_HKHFFDEMNKN +} +var file_Unk3000_HBIPKOBMGGD_proto_depIdxs = []int32{ + 1, // 0: Unk3000_HBIPKOBMGGD.Unk3000_GCJLJCJAADG:type_name -> Unk3000_HKHFFDEMNKN + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_HBIPKOBMGGD_proto_init() } +func file_Unk3000_HBIPKOBMGGD_proto_init() { + if File_Unk3000_HBIPKOBMGGD_proto != nil { + return + } + file_Unk3000_HKHFFDEMNKN_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_HBIPKOBMGGD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HBIPKOBMGGD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HBIPKOBMGGD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HBIPKOBMGGD_proto_goTypes, + DependencyIndexes: file_Unk3000_HBIPKOBMGGD_proto_depIdxs, + MessageInfos: file_Unk3000_HBIPKOBMGGD_proto_msgTypes, + }.Build() + File_Unk3000_HBIPKOBMGGD_proto = out.File + file_Unk3000_HBIPKOBMGGD_proto_rawDesc = nil + file_Unk3000_HBIPKOBMGGD_proto_goTypes = nil + file_Unk3000_HBIPKOBMGGD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.proto b/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.proto new file mode 100644 index 00000000..8d49a1a8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HBIPKOBMGGD.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_HKHFFDEMNKN.proto"; + +option go_package = "./;proto"; + +// CmdId: 5995 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_HBIPKOBMGGD { + repeated Unk3000_HKHFFDEMNKN Unk3000_GCJLJCJAADG = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.pb.go b/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.pb.go new file mode 100644 index 00000000..9799ddf0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.pb.go @@ -0,0 +1,256 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HDJHHOCABBK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_HDJHHOCABBK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDone bool `protobuf:"varint,12,opt,name=is_done,json=isDone,proto3" json:"is_done,omitempty"` + Unk3000_LIHPABKOAIP uint32 `protobuf:"varint,6,opt,name=Unk3000_LIHPABKOAIP,json=Unk3000LIHPABKOAIP,proto3" json:"Unk3000_LIHPABKOAIP,omitempty"` + Unk3000_AEGHMLLEOJF uint32 `protobuf:"varint,10,opt,name=Unk3000_AEGHMLLEOJF,json=Unk3000AEGHMLLEOJF,proto3" json:"Unk3000_AEGHMLLEOJF,omitempty"` + RegionRadius float32 `protobuf:"fixed32,7,opt,name=region_radius,json=regionRadius,proto3" json:"region_radius,omitempty"` + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + OpenTime uint32 `protobuf:"varint,8,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` + RegionCenterPos *Vector `protobuf:"bytes,11,opt,name=region_center_pos,json=regionCenterPos,proto3" json:"region_center_pos,omitempty"` + SceneId uint32 `protobuf:"varint,13,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Unk3000_KNNPMAMOCOM uint32 `protobuf:"varint,15,opt,name=Unk3000_KNNPMAMOCOM,json=Unk3000KNNPMAMOCOM,proto3" json:"Unk3000_KNNPMAMOCOM,omitempty"` + RegionId uint32 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` +} + +func (x *Unk3000_HDJHHOCABBK) Reset() { + *x = Unk3000_HDJHHOCABBK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HDJHHOCABBK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HDJHHOCABBK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HDJHHOCABBK) ProtoMessage() {} + +func (x *Unk3000_HDJHHOCABBK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HDJHHOCABBK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HDJHHOCABBK.ProtoReflect.Descriptor instead. +func (*Unk3000_HDJHHOCABBK) Descriptor() ([]byte, []int) { + return file_Unk3000_HDJHHOCABBK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HDJHHOCABBK) GetIsDone() bool { + if x != nil { + return x.IsDone + } + return false +} + +func (x *Unk3000_HDJHHOCABBK) GetUnk3000_LIHPABKOAIP() uint32 { + if x != nil { + return x.Unk3000_LIHPABKOAIP + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetUnk3000_AEGHMLLEOJF() uint32 { + if x != nil { + return x.Unk3000_AEGHMLLEOJF + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetRegionRadius() float32 { + if x != nil { + return x.RegionRadius + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *Unk3000_HDJHHOCABBK) GetOpenTime() uint32 { + if x != nil { + return x.OpenTime + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetRegionCenterPos() *Vector { + if x != nil { + return x.RegionCenterPos + } + return nil +} + +func (x *Unk3000_HDJHHOCABBK) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetUnk3000_KNNPMAMOCOM() uint32 { + if x != nil { + return x.Unk3000_KNNPMAMOCOM + } + return 0 +} + +func (x *Unk3000_HDJHHOCABBK) GetRegionId() uint32 { + if x != nil { + return x.RegionId + } + return 0 +} + +var File_Unk3000_HDJHHOCABBK_proto protoreflect.FileDescriptor + +var file_Unk3000_HDJHHOCABBK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x4a, 0x48, 0x48, 0x4f, + 0x43, 0x41, 0x42, 0x42, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x03, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x44, 0x4a, 0x48, 0x48, 0x4f, 0x43, 0x41, 0x42, 0x42, + 0x4b, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x49, 0x48, 0x50, 0x41, 0x42, 0x4b, 0x4f, 0x41, 0x49, + 0x50, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x4c, 0x49, 0x48, 0x50, 0x41, 0x42, 0x4b, 0x4f, 0x41, 0x49, 0x50, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x45, 0x47, 0x48, 0x4d, 0x4c, 0x4c, 0x45, 0x4f, + 0x4a, 0x46, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x41, 0x45, 0x47, 0x48, 0x4d, 0x4c, 0x4c, 0x45, 0x4f, 0x4a, 0x46, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x64, 0x69, 0x75, + 0x73, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, + 0x65, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, + 0x70, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x11, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0f, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4b, 0x4e, 0x4e, 0x50, 0x4d, 0x41, 0x4d, 0x4f, 0x43, 0x4f, 0x4d, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4b, 0x4e, 0x4e, + 0x50, 0x4d, 0x41, 0x4d, 0x4f, 0x43, 0x4f, 0x4d, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HDJHHOCABBK_proto_rawDescOnce sync.Once + file_Unk3000_HDJHHOCABBK_proto_rawDescData = file_Unk3000_HDJHHOCABBK_proto_rawDesc +) + +func file_Unk3000_HDJHHOCABBK_proto_rawDescGZIP() []byte { + file_Unk3000_HDJHHOCABBK_proto_rawDescOnce.Do(func() { + file_Unk3000_HDJHHOCABBK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HDJHHOCABBK_proto_rawDescData) + }) + return file_Unk3000_HDJHHOCABBK_proto_rawDescData +} + +var file_Unk3000_HDJHHOCABBK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HDJHHOCABBK_proto_goTypes = []interface{}{ + (*Unk3000_HDJHHOCABBK)(nil), // 0: Unk3000_HDJHHOCABBK + (*Vector)(nil), // 1: Vector +} +var file_Unk3000_HDJHHOCABBK_proto_depIdxs = []int32{ + 1, // 0: Unk3000_HDJHHOCABBK.region_center_pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_HDJHHOCABBK_proto_init() } +func file_Unk3000_HDJHHOCABBK_proto_init() { + if File_Unk3000_HDJHHOCABBK_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_HDJHHOCABBK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HDJHHOCABBK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HDJHHOCABBK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HDJHHOCABBK_proto_goTypes, + DependencyIndexes: file_Unk3000_HDJHHOCABBK_proto_depIdxs, + MessageInfos: file_Unk3000_HDJHHOCABBK_proto_msgTypes, + }.Build() + File_Unk3000_HDJHHOCABBK_proto = out.File + file_Unk3000_HDJHHOCABBK_proto_rawDesc = nil + file_Unk3000_HDJHHOCABBK_proto_goTypes = nil + file_Unk3000_HDJHHOCABBK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.proto b/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.proto new file mode 100644 index 00000000..10d6c96c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HDJHHOCABBK.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_HDJHHOCABBK { + bool is_done = 12; + uint32 Unk3000_LIHPABKOAIP = 6; + uint32 Unk3000_AEGHMLLEOJF = 10; + float region_radius = 7; + bool is_open = 9; + uint32 open_time = 8; + Vector region_center_pos = 11; + uint32 scene_id = 13; + uint32 Unk3000_KNNPMAMOCOM = 15; + uint32 region_id = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.pb.go b/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.pb.go new file mode 100644 index 00000000..d61c237e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HGBNOCJBDEK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_HGBNOCJBDEK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinished bool `protobuf:"varint,11,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + StageId uint32 `protobuf:"varint,6,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + IsOpen bool `protobuf:"varint,9,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *Unk3000_HGBNOCJBDEK) Reset() { + *x = Unk3000_HGBNOCJBDEK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HGBNOCJBDEK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HGBNOCJBDEK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HGBNOCJBDEK) ProtoMessage() {} + +func (x *Unk3000_HGBNOCJBDEK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HGBNOCJBDEK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HGBNOCJBDEK.ProtoReflect.Descriptor instead. +func (*Unk3000_HGBNOCJBDEK) Descriptor() ([]byte, []int) { + return file_Unk3000_HGBNOCJBDEK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HGBNOCJBDEK) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk3000_HGBNOCJBDEK) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_HGBNOCJBDEK) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_Unk3000_HGBNOCJBDEK_proto protoreflect.FileDescriptor + +var file_Unk3000_HGBNOCJBDEK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x42, 0x4e, 0x4f, 0x43, + 0x4a, 0x42, 0x44, 0x45, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x47, 0x42, 0x4e, 0x4f, 0x43, 0x4a, 0x42, 0x44, + 0x45, 0x4b, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HGBNOCJBDEK_proto_rawDescOnce sync.Once + file_Unk3000_HGBNOCJBDEK_proto_rawDescData = file_Unk3000_HGBNOCJBDEK_proto_rawDesc +) + +func file_Unk3000_HGBNOCJBDEK_proto_rawDescGZIP() []byte { + file_Unk3000_HGBNOCJBDEK_proto_rawDescOnce.Do(func() { + file_Unk3000_HGBNOCJBDEK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HGBNOCJBDEK_proto_rawDescData) + }) + return file_Unk3000_HGBNOCJBDEK_proto_rawDescData +} + +var file_Unk3000_HGBNOCJBDEK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HGBNOCJBDEK_proto_goTypes = []interface{}{ + (*Unk3000_HGBNOCJBDEK)(nil), // 0: Unk3000_HGBNOCJBDEK +} +var file_Unk3000_HGBNOCJBDEK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_HGBNOCJBDEK_proto_init() } +func file_Unk3000_HGBNOCJBDEK_proto_init() { + if File_Unk3000_HGBNOCJBDEK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_HGBNOCJBDEK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HGBNOCJBDEK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HGBNOCJBDEK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HGBNOCJBDEK_proto_goTypes, + DependencyIndexes: file_Unk3000_HGBNOCJBDEK_proto_depIdxs, + MessageInfos: file_Unk3000_HGBNOCJBDEK_proto_msgTypes, + }.Build() + File_Unk3000_HGBNOCJBDEK_proto = out.File + file_Unk3000_HGBNOCJBDEK_proto_rawDesc = nil + file_Unk3000_HGBNOCJBDEK_proto_goTypes = nil + file_Unk3000_HGBNOCJBDEK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.proto b/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.proto new file mode 100644 index 00000000..3831dad3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HGBNOCJBDEK.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_HGBNOCJBDEK { + bool is_finished = 11; + uint32 stage_id = 6; + bool is_open = 9; +} diff --git a/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.pb.go b/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.pb.go new file mode 100644 index 00000000..d5ec9cb8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HIJKNFBBCFC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23948 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_HIJKNFBBCFC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_PAFIGDFHGNA uint32 `protobuf:"varint,6,opt,name=Unk3000_PAFIGDFHGNA,json=Unk3000PAFIGDFHGNA,proto3" json:"Unk3000_PAFIGDFHGNA,omitempty"` + Param uint32 `protobuf:"varint,11,opt,name=param,proto3" json:"param,omitempty"` + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_HIJKNFBBCFC) Reset() { + *x = Unk3000_HIJKNFBBCFC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HIJKNFBBCFC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HIJKNFBBCFC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HIJKNFBBCFC) ProtoMessage() {} + +func (x *Unk3000_HIJKNFBBCFC) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HIJKNFBBCFC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HIJKNFBBCFC.ProtoReflect.Descriptor instead. +func (*Unk3000_HIJKNFBBCFC) Descriptor() ([]byte, []int) { + return file_Unk3000_HIJKNFBBCFC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HIJKNFBBCFC) GetUnk3000_PAFIGDFHGNA() uint32 { + if x != nil { + return x.Unk3000_PAFIGDFHGNA + } + return 0 +} + +func (x *Unk3000_HIJKNFBBCFC) GetParam() uint32 { + if x != nil { + return x.Param + } + return 0 +} + +func (x *Unk3000_HIJKNFBBCFC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_HIJKNFBBCFC_proto protoreflect.FileDescriptor + +var file_Unk3000_HIJKNFBBCFC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x4a, 0x4b, 0x4e, 0x46, + 0x42, 0x42, 0x43, 0x46, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x49, 0x4a, 0x4b, 0x4e, 0x46, 0x42, 0x42, 0x43, + 0x46, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x41, + 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, 0x47, 0x4e, 0x41, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x50, 0x41, 0x46, 0x49, 0x47, 0x44, 0x46, 0x48, + 0x47, 0x4e, 0x41, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HIJKNFBBCFC_proto_rawDescOnce sync.Once + file_Unk3000_HIJKNFBBCFC_proto_rawDescData = file_Unk3000_HIJKNFBBCFC_proto_rawDesc +) + +func file_Unk3000_HIJKNFBBCFC_proto_rawDescGZIP() []byte { + file_Unk3000_HIJKNFBBCFC_proto_rawDescOnce.Do(func() { + file_Unk3000_HIJKNFBBCFC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HIJKNFBBCFC_proto_rawDescData) + }) + return file_Unk3000_HIJKNFBBCFC_proto_rawDescData +} + +var file_Unk3000_HIJKNFBBCFC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HIJKNFBBCFC_proto_goTypes = []interface{}{ + (*Unk3000_HIJKNFBBCFC)(nil), // 0: Unk3000_HIJKNFBBCFC +} +var file_Unk3000_HIJKNFBBCFC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_HIJKNFBBCFC_proto_init() } +func file_Unk3000_HIJKNFBBCFC_proto_init() { + if File_Unk3000_HIJKNFBBCFC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_HIJKNFBBCFC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HIJKNFBBCFC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HIJKNFBBCFC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HIJKNFBBCFC_proto_goTypes, + DependencyIndexes: file_Unk3000_HIJKNFBBCFC_proto_depIdxs, + MessageInfos: file_Unk3000_HIJKNFBBCFC_proto_msgTypes, + }.Build() + File_Unk3000_HIJKNFBBCFC_proto = out.File + file_Unk3000_HIJKNFBBCFC_proto_rawDesc = nil + file_Unk3000_HIJKNFBBCFC_proto_goTypes = nil + file_Unk3000_HIJKNFBBCFC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.proto b/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.proto new file mode 100644 index 00000000..c12e5703 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HIJKNFBBCFC.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 23948 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_HIJKNFBBCFC { + uint32 Unk3000_PAFIGDFHGNA = 6; + uint32 param = 11; + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.pb.go b/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.pb.go new file mode 100644 index 00000000..c58e5e42 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HKHFFDEMNKN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_HKHFFDEMNKN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,14,opt,name=uid,proto3" json:"uid,omitempty"` + SlotList []*WidgetSlotData `protobuf:"bytes,13,rep,name=slot_list,json=slotList,proto3" json:"slot_list,omitempty"` +} + +func (x *Unk3000_HKHFFDEMNKN) Reset() { + *x = Unk3000_HKHFFDEMNKN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HKHFFDEMNKN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HKHFFDEMNKN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HKHFFDEMNKN) ProtoMessage() {} + +func (x *Unk3000_HKHFFDEMNKN) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HKHFFDEMNKN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HKHFFDEMNKN.ProtoReflect.Descriptor instead. +func (*Unk3000_HKHFFDEMNKN) Descriptor() ([]byte, []int) { + return file_Unk3000_HKHFFDEMNKN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HKHFFDEMNKN) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Unk3000_HKHFFDEMNKN) GetSlotList() []*WidgetSlotData { + if x != nil { + return x.SlotList + } + return nil +} + +var File_Unk3000_HKHFFDEMNKN_proto protoreflect.FileDescriptor + +var file_Unk3000_HKHFFDEMNKN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x48, 0x46, 0x46, 0x44, + 0x45, 0x4d, 0x4e, 0x4b, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x57, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x48, + 0x46, 0x46, 0x44, 0x45, 0x4d, 0x4e, 0x4b, 0x4e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x73, 0x6c, + 0x6f, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x73, 0x6c, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HKHFFDEMNKN_proto_rawDescOnce sync.Once + file_Unk3000_HKHFFDEMNKN_proto_rawDescData = file_Unk3000_HKHFFDEMNKN_proto_rawDesc +) + +func file_Unk3000_HKHFFDEMNKN_proto_rawDescGZIP() []byte { + file_Unk3000_HKHFFDEMNKN_proto_rawDescOnce.Do(func() { + file_Unk3000_HKHFFDEMNKN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HKHFFDEMNKN_proto_rawDescData) + }) + return file_Unk3000_HKHFFDEMNKN_proto_rawDescData +} + +var file_Unk3000_HKHFFDEMNKN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HKHFFDEMNKN_proto_goTypes = []interface{}{ + (*Unk3000_HKHFFDEMNKN)(nil), // 0: Unk3000_HKHFFDEMNKN + (*WidgetSlotData)(nil), // 1: WidgetSlotData +} +var file_Unk3000_HKHFFDEMNKN_proto_depIdxs = []int32{ + 1, // 0: Unk3000_HKHFFDEMNKN.slot_list:type_name -> WidgetSlotData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_HKHFFDEMNKN_proto_init() } +func file_Unk3000_HKHFFDEMNKN_proto_init() { + if File_Unk3000_HKHFFDEMNKN_proto != nil { + return + } + file_WidgetSlotData_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_HKHFFDEMNKN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HKHFFDEMNKN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HKHFFDEMNKN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HKHFFDEMNKN_proto_goTypes, + DependencyIndexes: file_Unk3000_HKHFFDEMNKN_proto_depIdxs, + MessageInfos: file_Unk3000_HKHFFDEMNKN_proto_msgTypes, + }.Build() + File_Unk3000_HKHFFDEMNKN_proto = out.File + file_Unk3000_HKHFFDEMNKN_proto_rawDesc = nil + file_Unk3000_HKHFFDEMNKN_proto_goTypes = nil + file_Unk3000_HKHFFDEMNKN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.proto b/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.proto new file mode 100644 index 00000000..65fb348a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HKHFFDEMNKN.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotData.proto"; + +option go_package = "./;proto"; + +message Unk3000_HKHFFDEMNKN { + uint32 uid = 14; + repeated WidgetSlotData slot_list = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.pb.go b/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.pb.go new file mode 100644 index 00000000..1bb49ebe --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_HPFGNOIGNAG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21961 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_HPFGNOIGNAG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_PHIIBCMNPEK bool `protobuf:"varint,11,opt,name=Unk3000_PHIIBCMNPEK,json=Unk3000PHIIBCMNPEK,proto3" json:"Unk3000_PHIIBCMNPEK,omitempty"` + Unk3000_NFLEINABPPC bool `protobuf:"varint,7,opt,name=Unk3000_NFLEINABPPC,json=Unk3000NFLEINABPPC,proto3" json:"Unk3000_NFLEINABPPC,omitempty"` + Round uint32 `protobuf:"varint,15,opt,name=round,proto3" json:"round,omitempty"` + StageId uint32 `protobuf:"varint,8,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk3000_HPFGNOIGNAG) Reset() { + *x = Unk3000_HPFGNOIGNAG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_HPFGNOIGNAG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_HPFGNOIGNAG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_HPFGNOIGNAG) ProtoMessage() {} + +func (x *Unk3000_HPFGNOIGNAG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_HPFGNOIGNAG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_HPFGNOIGNAG.ProtoReflect.Descriptor instead. +func (*Unk3000_HPFGNOIGNAG) Descriptor() ([]byte, []int) { + return file_Unk3000_HPFGNOIGNAG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_HPFGNOIGNAG) GetUnk3000_PHIIBCMNPEK() bool { + if x != nil { + return x.Unk3000_PHIIBCMNPEK + } + return false +} + +func (x *Unk3000_HPFGNOIGNAG) GetUnk3000_NFLEINABPPC() bool { + if x != nil { + return x.Unk3000_NFLEINABPPC + } + return false +} + +func (x *Unk3000_HPFGNOIGNAG) GetRound() uint32 { + if x != nil { + return x.Round + } + return 0 +} + +func (x *Unk3000_HPFGNOIGNAG) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_HPFGNOIGNAG) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk3000_HPFGNOIGNAG_proto protoreflect.FileDescriptor + +var file_Unk3000_HPFGNOIGNAG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x50, 0x46, 0x47, 0x4e, 0x4f, + 0x49, 0x47, 0x4e, 0x41, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x50, 0x46, 0x47, 0x4e, 0x4f, 0x49, 0x47, + 0x4e, 0x41, 0x47, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, + 0x48, 0x49, 0x49, 0x42, 0x43, 0x4d, 0x4e, 0x50, 0x45, 0x4b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x50, 0x48, 0x49, 0x49, 0x42, 0x43, 0x4d, + 0x4e, 0x50, 0x45, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4e, 0x46, 0x4c, 0x45, 0x49, 0x4e, 0x41, 0x42, 0x50, 0x50, 0x43, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4e, 0x46, 0x4c, 0x45, 0x49, 0x4e, + 0x41, 0x42, 0x50, 0x50, 0x43, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_HPFGNOIGNAG_proto_rawDescOnce sync.Once + file_Unk3000_HPFGNOIGNAG_proto_rawDescData = file_Unk3000_HPFGNOIGNAG_proto_rawDesc +) + +func file_Unk3000_HPFGNOIGNAG_proto_rawDescGZIP() []byte { + file_Unk3000_HPFGNOIGNAG_proto_rawDescOnce.Do(func() { + file_Unk3000_HPFGNOIGNAG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_HPFGNOIGNAG_proto_rawDescData) + }) + return file_Unk3000_HPFGNOIGNAG_proto_rawDescData +} + +var file_Unk3000_HPFGNOIGNAG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_HPFGNOIGNAG_proto_goTypes = []interface{}{ + (*Unk3000_HPFGNOIGNAG)(nil), // 0: Unk3000_HPFGNOIGNAG +} +var file_Unk3000_HPFGNOIGNAG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_HPFGNOIGNAG_proto_init() } +func file_Unk3000_HPFGNOIGNAG_proto_init() { + if File_Unk3000_HPFGNOIGNAG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_HPFGNOIGNAG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_HPFGNOIGNAG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_HPFGNOIGNAG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_HPFGNOIGNAG_proto_goTypes, + DependencyIndexes: file_Unk3000_HPFGNOIGNAG_proto_depIdxs, + MessageInfos: file_Unk3000_HPFGNOIGNAG_proto_msgTypes, + }.Build() + File_Unk3000_HPFGNOIGNAG_proto = out.File + file_Unk3000_HPFGNOIGNAG_proto_rawDesc = nil + file_Unk3000_HPFGNOIGNAG_proto_goTypes = nil + file_Unk3000_HPFGNOIGNAG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.proto b/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.proto new file mode 100644 index 00000000..8e6bea5e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_HPFGNOIGNAG.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21961 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_HPFGNOIGNAG { + bool Unk3000_PHIIBCMNPEK = 11; + bool Unk3000_NFLEINABPPC = 7; + uint32 round = 15; + uint32 stage_id = 8; + uint32 level_id = 10; +} diff --git a/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.pb.go b/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.pb.go new file mode 100644 index 00000000..4e7dda01 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IBMFJMGHCNC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6060 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_IBMFJMGHCNC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,6,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *Unk3000_IBMFJMGHCNC) Reset() { + *x = Unk3000_IBMFJMGHCNC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IBMFJMGHCNC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IBMFJMGHCNC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IBMFJMGHCNC) ProtoMessage() {} + +func (x *Unk3000_IBMFJMGHCNC) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IBMFJMGHCNC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IBMFJMGHCNC.ProtoReflect.Descriptor instead. +func (*Unk3000_IBMFJMGHCNC) Descriptor() ([]byte, []int) { + return file_Unk3000_IBMFJMGHCNC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_IBMFJMGHCNC) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_IBMFJMGHCNC) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_Unk3000_IBMFJMGHCNC_proto protoreflect.FileDescriptor + +var file_Unk3000_IBMFJMGHCNC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4d, 0x46, 0x4a, 0x4d, + 0x47, 0x48, 0x43, 0x4e, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4d, 0x46, 0x4a, 0x4d, 0x47, 0x48, 0x43, + 0x4e, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_IBMFJMGHCNC_proto_rawDescOnce sync.Once + file_Unk3000_IBMFJMGHCNC_proto_rawDescData = file_Unk3000_IBMFJMGHCNC_proto_rawDesc +) + +func file_Unk3000_IBMFJMGHCNC_proto_rawDescGZIP() []byte { + file_Unk3000_IBMFJMGHCNC_proto_rawDescOnce.Do(func() { + file_Unk3000_IBMFJMGHCNC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IBMFJMGHCNC_proto_rawDescData) + }) + return file_Unk3000_IBMFJMGHCNC_proto_rawDescData +} + +var file_Unk3000_IBMFJMGHCNC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IBMFJMGHCNC_proto_goTypes = []interface{}{ + (*Unk3000_IBMFJMGHCNC)(nil), // 0: Unk3000_IBMFJMGHCNC +} +var file_Unk3000_IBMFJMGHCNC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IBMFJMGHCNC_proto_init() } +func file_Unk3000_IBMFJMGHCNC_proto_init() { + if File_Unk3000_IBMFJMGHCNC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IBMFJMGHCNC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IBMFJMGHCNC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IBMFJMGHCNC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IBMFJMGHCNC_proto_goTypes, + DependencyIndexes: file_Unk3000_IBMFJMGHCNC_proto_depIdxs, + MessageInfos: file_Unk3000_IBMFJMGHCNC_proto_msgTypes, + }.Build() + File_Unk3000_IBMFJMGHCNC_proto = out.File + file_Unk3000_IBMFJMGHCNC_proto_rawDesc = nil + file_Unk3000_IBMFJMGHCNC_proto_goTypes = nil + file_Unk3000_IBMFJMGHCNC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.proto b/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.proto new file mode 100644 index 00000000..11f45795 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IBMFJMGHCNC.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6060 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_IBMFJMGHCNC { + int32 retcode = 8; + uint32 material_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.pb.go b/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.pb.go new file mode 100644 index 00000000..4d306c4b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IBNIGBFIEEF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1735 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_IBNIGBFIEEF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_IBNIGBFIEEF) Reset() { + *x = Unk3000_IBNIGBFIEEF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IBNIGBFIEEF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IBNIGBFIEEF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IBNIGBFIEEF) ProtoMessage() {} + +func (x *Unk3000_IBNIGBFIEEF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IBNIGBFIEEF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IBNIGBFIEEF.ProtoReflect.Descriptor instead. +func (*Unk3000_IBNIGBFIEEF) Descriptor() ([]byte, []int) { + return file_Unk3000_IBNIGBFIEEF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_IBNIGBFIEEF) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_IBNIGBFIEEF_proto protoreflect.FileDescriptor + +var file_Unk3000_IBNIGBFIEEF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4e, 0x49, 0x47, 0x42, + 0x46, 0x49, 0x45, 0x45, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x42, 0x4e, 0x49, 0x47, 0x42, 0x46, 0x49, 0x45, + 0x45, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_IBNIGBFIEEF_proto_rawDescOnce sync.Once + file_Unk3000_IBNIGBFIEEF_proto_rawDescData = file_Unk3000_IBNIGBFIEEF_proto_rawDesc +) + +func file_Unk3000_IBNIGBFIEEF_proto_rawDescGZIP() []byte { + file_Unk3000_IBNIGBFIEEF_proto_rawDescOnce.Do(func() { + file_Unk3000_IBNIGBFIEEF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IBNIGBFIEEF_proto_rawDescData) + }) + return file_Unk3000_IBNIGBFIEEF_proto_rawDescData +} + +var file_Unk3000_IBNIGBFIEEF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IBNIGBFIEEF_proto_goTypes = []interface{}{ + (*Unk3000_IBNIGBFIEEF)(nil), // 0: Unk3000_IBNIGBFIEEF +} +var file_Unk3000_IBNIGBFIEEF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IBNIGBFIEEF_proto_init() } +func file_Unk3000_IBNIGBFIEEF_proto_init() { + if File_Unk3000_IBNIGBFIEEF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IBNIGBFIEEF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IBNIGBFIEEF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IBNIGBFIEEF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IBNIGBFIEEF_proto_goTypes, + DependencyIndexes: file_Unk3000_IBNIGBFIEEF_proto_depIdxs, + MessageInfos: file_Unk3000_IBNIGBFIEEF_proto_msgTypes, + }.Build() + File_Unk3000_IBNIGBFIEEF_proto = out.File + file_Unk3000_IBNIGBFIEEF_proto_rawDesc = nil + file_Unk3000_IBNIGBFIEEF_proto_goTypes = nil + file_Unk3000_IBNIGBFIEEF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.proto b/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.proto new file mode 100644 index 00000000..1a157d12 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IBNIGBFIEEF.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1735 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_IBNIGBFIEEF { + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.pb.go b/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.pb.go new file mode 100644 index 00000000..a600626a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ICLKJJNGOHN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_ICLKJJNGOHN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsFinished bool `protobuf:"varint,10,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + MaxScore uint32 `protobuf:"varint,3,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + StageId uint32 `protobuf:"varint,4,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Unk2700_GMAEHKMDIGG []*Unk3000_KEJLPBEOHNH `protobuf:"bytes,6,rep,name=Unk2700_GMAEHKMDIGG,json=Unk2700GMAEHKMDIGG,proto3" json:"Unk2700_GMAEHKMDIGG,omitempty"` +} + +func (x *Unk3000_ICLKJJNGOHN) Reset() { + *x = Unk3000_ICLKJJNGOHN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ICLKJJNGOHN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ICLKJJNGOHN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ICLKJJNGOHN) ProtoMessage() {} + +func (x *Unk3000_ICLKJJNGOHN) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ICLKJJNGOHN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ICLKJJNGOHN.ProtoReflect.Descriptor instead. +func (*Unk3000_ICLKJJNGOHN) Descriptor() ([]byte, []int) { + return file_Unk3000_ICLKJJNGOHN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ICLKJJNGOHN) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *Unk3000_ICLKJJNGOHN) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *Unk3000_ICLKJJNGOHN) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_ICLKJJNGOHN) GetUnk2700_GMAEHKMDIGG() []*Unk3000_KEJLPBEOHNH { + if x != nil { + return x.Unk2700_GMAEHKMDIGG + } + return nil +} + +var File_Unk3000_ICLKJJNGOHN_proto protoreflect.FileDescriptor + +var file_Unk3000_ICLKJJNGOHN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x43, 0x4c, 0x4b, 0x4a, 0x4a, + 0x4e, 0x47, 0x4f, 0x48, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4a, 0x4c, 0x50, 0x42, 0x45, 0x4f, 0x48, 0x4e, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x49, 0x43, 0x4c, 0x4b, 0x4a, 0x4a, 0x4e, 0x47, 0x4f, 0x48, 0x4e, 0x12, 0x1f, + 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, + 0x45, 0x4a, 0x4c, 0x50, 0x42, 0x45, 0x4f, 0x48, 0x4e, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x47, 0x4d, 0x41, 0x45, 0x48, 0x4b, 0x4d, 0x44, 0x49, 0x47, 0x47, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk3000_ICLKJJNGOHN_proto_rawDescOnce sync.Once + file_Unk3000_ICLKJJNGOHN_proto_rawDescData = file_Unk3000_ICLKJJNGOHN_proto_rawDesc +) + +func file_Unk3000_ICLKJJNGOHN_proto_rawDescGZIP() []byte { + file_Unk3000_ICLKJJNGOHN_proto_rawDescOnce.Do(func() { + file_Unk3000_ICLKJJNGOHN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ICLKJJNGOHN_proto_rawDescData) + }) + return file_Unk3000_ICLKJJNGOHN_proto_rawDescData +} + +var file_Unk3000_ICLKJJNGOHN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ICLKJJNGOHN_proto_goTypes = []interface{}{ + (*Unk3000_ICLKJJNGOHN)(nil), // 0: Unk3000_ICLKJJNGOHN + (*Unk3000_KEJLPBEOHNH)(nil), // 1: Unk3000_KEJLPBEOHNH +} +var file_Unk3000_ICLKJJNGOHN_proto_depIdxs = []int32{ + 1, // 0: Unk3000_ICLKJJNGOHN.Unk2700_GMAEHKMDIGG:type_name -> Unk3000_KEJLPBEOHNH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_ICLKJJNGOHN_proto_init() } +func file_Unk3000_ICLKJJNGOHN_proto_init() { + if File_Unk3000_ICLKJJNGOHN_proto != nil { + return + } + file_Unk3000_KEJLPBEOHNH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_ICLKJJNGOHN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ICLKJJNGOHN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ICLKJJNGOHN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ICLKJJNGOHN_proto_goTypes, + DependencyIndexes: file_Unk3000_ICLKJJNGOHN_proto_depIdxs, + MessageInfos: file_Unk3000_ICLKJJNGOHN_proto_msgTypes, + }.Build() + File_Unk3000_ICLKJJNGOHN_proto = out.File + file_Unk3000_ICLKJJNGOHN_proto_rawDesc = nil + file_Unk3000_ICLKJJNGOHN_proto_goTypes = nil + file_Unk3000_ICLKJJNGOHN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.proto b/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.proto new file mode 100644 index 00000000..76c155c2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ICLKJJNGOHN.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_KEJLPBEOHNH.proto"; + +option go_package = "./;proto"; + +message Unk3000_ICLKJJNGOHN { + bool is_finished = 10; + uint32 max_score = 3; + uint32 stage_id = 4; + repeated Unk3000_KEJLPBEOHNH Unk2700_GMAEHKMDIGG = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.pb.go b/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.pb.go new file mode 100644 index 00000000..e9cd32a0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IGCECHKNKOO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 21804 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_IGCECHKNKOO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + LevelId uint32 `protobuf:"varint,9,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk3000_IGCECHKNKOO) Reset() { + *x = Unk3000_IGCECHKNKOO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IGCECHKNKOO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IGCECHKNKOO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IGCECHKNKOO) ProtoMessage() {} + +func (x *Unk3000_IGCECHKNKOO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IGCECHKNKOO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IGCECHKNKOO.ProtoReflect.Descriptor instead. +func (*Unk3000_IGCECHKNKOO) Descriptor() ([]byte, []int) { + return file_Unk3000_IGCECHKNKOO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_IGCECHKNKOO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_IGCECHKNKOO) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk3000_IGCECHKNKOO_proto protoreflect.FileDescriptor + +var file_Unk3000_IGCECHKNKOO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x43, 0x45, 0x43, 0x48, + 0x4b, 0x4e, 0x4b, 0x4f, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x47, 0x43, 0x45, 0x43, 0x48, 0x4b, 0x4e, 0x4b, + 0x4f, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_IGCECHKNKOO_proto_rawDescOnce sync.Once + file_Unk3000_IGCECHKNKOO_proto_rawDescData = file_Unk3000_IGCECHKNKOO_proto_rawDesc +) + +func file_Unk3000_IGCECHKNKOO_proto_rawDescGZIP() []byte { + file_Unk3000_IGCECHKNKOO_proto_rawDescOnce.Do(func() { + file_Unk3000_IGCECHKNKOO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IGCECHKNKOO_proto_rawDescData) + }) + return file_Unk3000_IGCECHKNKOO_proto_rawDescData +} + +var file_Unk3000_IGCECHKNKOO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IGCECHKNKOO_proto_goTypes = []interface{}{ + (*Unk3000_IGCECHKNKOO)(nil), // 0: Unk3000_IGCECHKNKOO +} +var file_Unk3000_IGCECHKNKOO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IGCECHKNKOO_proto_init() } +func file_Unk3000_IGCECHKNKOO_proto_init() { + if File_Unk3000_IGCECHKNKOO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IGCECHKNKOO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IGCECHKNKOO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IGCECHKNKOO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IGCECHKNKOO_proto_goTypes, + DependencyIndexes: file_Unk3000_IGCECHKNKOO_proto_depIdxs, + MessageInfos: file_Unk3000_IGCECHKNKOO_proto_msgTypes, + }.Build() + File_Unk3000_IGCECHKNKOO_proto = out.File + file_Unk3000_IGCECHKNKOO_proto_rawDesc = nil + file_Unk3000_IGCECHKNKOO_proto_goTypes = nil + file_Unk3000_IGCECHKNKOO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.proto b/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.proto new file mode 100644 index 00000000..36dcf257 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IGCECHKNKOO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 21804 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_IGCECHKNKOO { + int32 retcode = 6; + uint32 level_id = 9; +} diff --git a/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.pb.go b/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.pb.go new file mode 100644 index 00000000..58e737d0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IIBHKLNAHHC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_IIBHKLNAHHC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,15,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + MaxScore uint32 `protobuf:"varint,9,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` + IsOpen bool `protobuf:"varint,10,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` +} + +func (x *Unk3000_IIBHKLNAHHC) Reset() { + *x = Unk3000_IIBHKLNAHHC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IIBHKLNAHHC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IIBHKLNAHHC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IIBHKLNAHHC) ProtoMessage() {} + +func (x *Unk3000_IIBHKLNAHHC) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IIBHKLNAHHC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IIBHKLNAHHC.ProtoReflect.Descriptor instead. +func (*Unk3000_IIBHKLNAHHC) Descriptor() ([]byte, []int) { + return file_Unk3000_IIBHKLNAHHC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_IIBHKLNAHHC) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_IIBHKLNAHHC) GetMaxScore() uint32 { + if x != nil { + return x.MaxScore + } + return 0 +} + +func (x *Unk3000_IIBHKLNAHHC) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +var File_Unk3000_IIBHKLNAHHC_proto protoreflect.FileDescriptor + +var file_Unk3000_IIBHKLNAHHC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x42, 0x48, 0x4b, 0x4c, + 0x4e, 0x41, 0x48, 0x48, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x49, 0x42, 0x48, 0x4b, 0x4c, 0x4e, 0x41, 0x48, + 0x48, 0x43, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, + 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, + 0x70, 0x65, 0x6e, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_IIBHKLNAHHC_proto_rawDescOnce sync.Once + file_Unk3000_IIBHKLNAHHC_proto_rawDescData = file_Unk3000_IIBHKLNAHHC_proto_rawDesc +) + +func file_Unk3000_IIBHKLNAHHC_proto_rawDescGZIP() []byte { + file_Unk3000_IIBHKLNAHHC_proto_rawDescOnce.Do(func() { + file_Unk3000_IIBHKLNAHHC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IIBHKLNAHHC_proto_rawDescData) + }) + return file_Unk3000_IIBHKLNAHHC_proto_rawDescData +} + +var file_Unk3000_IIBHKLNAHHC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IIBHKLNAHHC_proto_goTypes = []interface{}{ + (*Unk3000_IIBHKLNAHHC)(nil), // 0: Unk3000_IIBHKLNAHHC +} +var file_Unk3000_IIBHKLNAHHC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IIBHKLNAHHC_proto_init() } +func file_Unk3000_IIBHKLNAHHC_proto_init() { + if File_Unk3000_IIBHKLNAHHC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IIBHKLNAHHC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IIBHKLNAHHC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IIBHKLNAHHC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IIBHKLNAHHC_proto_goTypes, + DependencyIndexes: file_Unk3000_IIBHKLNAHHC_proto_depIdxs, + MessageInfos: file_Unk3000_IIBHKLNAHHC_proto_msgTypes, + }.Build() + File_Unk3000_IIBHKLNAHHC_proto = out.File + file_Unk3000_IIBHKLNAHHC_proto_rawDesc = nil + file_Unk3000_IIBHKLNAHHC_proto_goTypes = nil + file_Unk3000_IIBHKLNAHHC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.proto b/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.proto new file mode 100644 index 00000000..0dcb7ced --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IIBHKLNAHHC.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_IIBHKLNAHHC { + uint32 level_id = 15; + uint32 max_score = 9; + bool is_open = 10; +} diff --git a/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.pb.go b/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.pb.go new file mode 100644 index 00000000..1cc356d7 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ILLNKBDNGKP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_ILLNKBDNGKP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_PHKHIPLDOOA []*Unk3000_HGBNOCJBDEK `protobuf:"bytes,5,rep,name=Unk2700_PHKHIPLDOOA,json=Unk2700PHKHIPLDOOA,proto3" json:"Unk2700_PHKHIPLDOOA,omitempty"` + Unk3000_AIENCMLMCBE []*Unk3000_DCHMAMFIFOF `protobuf:"bytes,7,rep,name=Unk3000_AIENCMLMCBE,json=Unk3000AIENCMLMCBE,proto3" json:"Unk3000_AIENCMLMCBE,omitempty"` +} + +func (x *Unk3000_ILLNKBDNGKP) Reset() { + *x = Unk3000_ILLNKBDNGKP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ILLNKBDNGKP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ILLNKBDNGKP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ILLNKBDNGKP) ProtoMessage() {} + +func (x *Unk3000_ILLNKBDNGKP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ILLNKBDNGKP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ILLNKBDNGKP.ProtoReflect.Descriptor instead. +func (*Unk3000_ILLNKBDNGKP) Descriptor() ([]byte, []int) { + return file_Unk3000_ILLNKBDNGKP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ILLNKBDNGKP) GetUnk2700_PHKHIPLDOOA() []*Unk3000_HGBNOCJBDEK { + if x != nil { + return x.Unk2700_PHKHIPLDOOA + } + return nil +} + +func (x *Unk3000_ILLNKBDNGKP) GetUnk3000_AIENCMLMCBE() []*Unk3000_DCHMAMFIFOF { + if x != nil { + return x.Unk3000_AIENCMLMCBE + } + return nil +} + +var File_Unk3000_ILLNKBDNGKP_proto protoreflect.FileDescriptor + +var file_Unk3000_ILLNKBDNGKP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4c, 0x4c, 0x4e, 0x4b, 0x42, + 0x44, 0x4e, 0x47, 0x4b, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x48, 0x4d, 0x41, 0x4d, 0x46, 0x49, 0x46, 0x4f, 0x46, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x48, 0x47, 0x42, 0x4e, 0x4f, 0x43, 0x4a, 0x42, 0x44, 0x45, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4c, + 0x4c, 0x4e, 0x4b, 0x42, 0x44, 0x4e, 0x47, 0x4b, 0x50, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x48, 0x47, 0x42, 0x4e, 0x4f, 0x43, 0x4a, 0x42, 0x44, 0x45, 0x4b, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x50, 0x48, 0x4b, 0x48, 0x49, 0x50, 0x4c, 0x44, 0x4f, 0x4f, 0x41, + 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x49, 0x45, 0x4e, + 0x43, 0x4d, 0x4c, 0x4d, 0x43, 0x42, 0x45, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x43, 0x48, 0x4d, 0x41, 0x4d, 0x46, 0x49, + 0x46, 0x4f, 0x46, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x49, 0x45, 0x4e, + 0x43, 0x4d, 0x4c, 0x4d, 0x43, 0x42, 0x45, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ILLNKBDNGKP_proto_rawDescOnce sync.Once + file_Unk3000_ILLNKBDNGKP_proto_rawDescData = file_Unk3000_ILLNKBDNGKP_proto_rawDesc +) + +func file_Unk3000_ILLNKBDNGKP_proto_rawDescGZIP() []byte { + file_Unk3000_ILLNKBDNGKP_proto_rawDescOnce.Do(func() { + file_Unk3000_ILLNKBDNGKP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ILLNKBDNGKP_proto_rawDescData) + }) + return file_Unk3000_ILLNKBDNGKP_proto_rawDescData +} + +var file_Unk3000_ILLNKBDNGKP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ILLNKBDNGKP_proto_goTypes = []interface{}{ + (*Unk3000_ILLNKBDNGKP)(nil), // 0: Unk3000_ILLNKBDNGKP + (*Unk3000_HGBNOCJBDEK)(nil), // 1: Unk3000_HGBNOCJBDEK + (*Unk3000_DCHMAMFIFOF)(nil), // 2: Unk3000_DCHMAMFIFOF +} +var file_Unk3000_ILLNKBDNGKP_proto_depIdxs = []int32{ + 1, // 0: Unk3000_ILLNKBDNGKP.Unk2700_PHKHIPLDOOA:type_name -> Unk3000_HGBNOCJBDEK + 2, // 1: Unk3000_ILLNKBDNGKP.Unk3000_AIENCMLMCBE:type_name -> Unk3000_DCHMAMFIFOF + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_ILLNKBDNGKP_proto_init() } +func file_Unk3000_ILLNKBDNGKP_proto_init() { + if File_Unk3000_ILLNKBDNGKP_proto != nil { + return + } + file_Unk3000_DCHMAMFIFOF_proto_init() + file_Unk3000_HGBNOCJBDEK_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_ILLNKBDNGKP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ILLNKBDNGKP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ILLNKBDNGKP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ILLNKBDNGKP_proto_goTypes, + DependencyIndexes: file_Unk3000_ILLNKBDNGKP_proto_depIdxs, + MessageInfos: file_Unk3000_ILLNKBDNGKP_proto_msgTypes, + }.Build() + File_Unk3000_ILLNKBDNGKP_proto = out.File + file_Unk3000_ILLNKBDNGKP_proto_rawDesc = nil + file_Unk3000_ILLNKBDNGKP_proto_goTypes = nil + file_Unk3000_ILLNKBDNGKP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.proto b/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.proto new file mode 100644 index 00000000..9b7aacba --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ILLNKBDNGKP.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_DCHMAMFIFOF.proto"; +import "Unk3000_HGBNOCJBDEK.proto"; + +option go_package = "./;proto"; + +message Unk3000_ILLNKBDNGKP { + repeated Unk3000_HGBNOCJBDEK Unk2700_PHKHIPLDOOA = 5; + repeated Unk3000_DCHMAMFIFOF Unk3000_AIENCMLMCBE = 7; +} diff --git a/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.pb.go b/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.pb.go new file mode 100644 index 00000000..3c2e584a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IMLAPBGLBFF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1687 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_IMLAPBGLBFF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_IMLAPBGLBFF) Reset() { + *x = Unk3000_IMLAPBGLBFF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IMLAPBGLBFF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IMLAPBGLBFF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IMLAPBGLBFF) ProtoMessage() {} + +func (x *Unk3000_IMLAPBGLBFF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IMLAPBGLBFF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IMLAPBGLBFF.ProtoReflect.Descriptor instead. +func (*Unk3000_IMLAPBGLBFF) Descriptor() ([]byte, []int) { + return file_Unk3000_IMLAPBGLBFF_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_IMLAPBGLBFF_proto protoreflect.FileDescriptor + +var file_Unk3000_IMLAPBGLBFF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x41, 0x50, 0x42, + 0x47, 0x4c, 0x42, 0x46, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4d, 0x4c, 0x41, 0x50, 0x42, 0x47, 0x4c, 0x42, + 0x46, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_IMLAPBGLBFF_proto_rawDescOnce sync.Once + file_Unk3000_IMLAPBGLBFF_proto_rawDescData = file_Unk3000_IMLAPBGLBFF_proto_rawDesc +) + +func file_Unk3000_IMLAPBGLBFF_proto_rawDescGZIP() []byte { + file_Unk3000_IMLAPBGLBFF_proto_rawDescOnce.Do(func() { + file_Unk3000_IMLAPBGLBFF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IMLAPBGLBFF_proto_rawDescData) + }) + return file_Unk3000_IMLAPBGLBFF_proto_rawDescData +} + +var file_Unk3000_IMLAPBGLBFF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IMLAPBGLBFF_proto_goTypes = []interface{}{ + (*Unk3000_IMLAPBGLBFF)(nil), // 0: Unk3000_IMLAPBGLBFF +} +var file_Unk3000_IMLAPBGLBFF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IMLAPBGLBFF_proto_init() } +func file_Unk3000_IMLAPBGLBFF_proto_init() { + if File_Unk3000_IMLAPBGLBFF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IMLAPBGLBFF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IMLAPBGLBFF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IMLAPBGLBFF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IMLAPBGLBFF_proto_goTypes, + DependencyIndexes: file_Unk3000_IMLAPBGLBFF_proto_depIdxs, + MessageInfos: file_Unk3000_IMLAPBGLBFF_proto_msgTypes, + }.Build() + File_Unk3000_IMLAPBGLBFF_proto = out.File + file_Unk3000_IMLAPBGLBFF_proto_rawDesc = nil + file_Unk3000_IMLAPBGLBFF_proto_goTypes = nil + file_Unk3000_IMLAPBGLBFF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.proto b/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.proto new file mode 100644 index 00000000..2b2ef590 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IMLAPBGLBFF.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1687 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_IMLAPBGLBFF {} diff --git a/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.pb.go b/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.pb.go new file mode 100644 index 00000000..aee45301 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.pb.go @@ -0,0 +1,153 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_INJDOLGMLAG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_INJDOLGMLAG int32 + +const ( + Unk3000_INJDOLGMLAG_Unk3000_INJDOLGMLAG_Unk3000_AHABODBKNKA Unk3000_INJDOLGMLAG = 0 + Unk3000_INJDOLGMLAG_Unk3000_INJDOLGMLAG_Unk3000_IGJICIAJPFD Unk3000_INJDOLGMLAG = 1 + Unk3000_INJDOLGMLAG_Unk3000_INJDOLGMLAG_Unk3000_KEEDEFPAJJG Unk3000_INJDOLGMLAG = 2 +) + +// Enum value maps for Unk3000_INJDOLGMLAG. +var ( + Unk3000_INJDOLGMLAG_name = map[int32]string{ + 0: "Unk3000_INJDOLGMLAG_Unk3000_AHABODBKNKA", + 1: "Unk3000_INJDOLGMLAG_Unk3000_IGJICIAJPFD", + 2: "Unk3000_INJDOLGMLAG_Unk3000_KEEDEFPAJJG", + } + Unk3000_INJDOLGMLAG_value = map[string]int32{ + "Unk3000_INJDOLGMLAG_Unk3000_AHABODBKNKA": 0, + "Unk3000_INJDOLGMLAG_Unk3000_IGJICIAJPFD": 1, + "Unk3000_INJDOLGMLAG_Unk3000_KEEDEFPAJJG": 2, + } +) + +func (x Unk3000_INJDOLGMLAG) Enum() *Unk3000_INJDOLGMLAG { + p := new(Unk3000_INJDOLGMLAG) + *p = x + return p +} + +func (x Unk3000_INJDOLGMLAG) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_INJDOLGMLAG) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_INJDOLGMLAG_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_INJDOLGMLAG) Type() protoreflect.EnumType { + return &file_Unk3000_INJDOLGMLAG_proto_enumTypes[0] +} + +func (x Unk3000_INJDOLGMLAG) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_INJDOLGMLAG.Descriptor instead. +func (Unk3000_INJDOLGMLAG) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_INJDOLGMLAG_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_INJDOLGMLAG_proto protoreflect.FileDescriptor + +var file_Unk3000_INJDOLGMLAG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, 0x4f, 0x4c, + 0x47, 0x4d, 0x4c, 0x41, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x9c, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, 0x4f, 0x4c, 0x47, 0x4d, + 0x4c, 0x41, 0x47, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, + 0x4e, 0x4a, 0x44, 0x4f, 0x4c, 0x47, 0x4d, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x41, 0x48, 0x41, 0x42, 0x4f, 0x44, 0x42, 0x4b, 0x4e, 0x4b, 0x41, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, + 0x4f, 0x4c, 0x47, 0x4d, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x49, 0x47, 0x4a, 0x49, 0x43, 0x49, 0x41, 0x4a, 0x50, 0x46, 0x44, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, 0x4f, 0x4c, 0x47, + 0x4d, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x45, + 0x44, 0x45, 0x46, 0x50, 0x41, 0x4a, 0x4a, 0x47, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_INJDOLGMLAG_proto_rawDescOnce sync.Once + file_Unk3000_INJDOLGMLAG_proto_rawDescData = file_Unk3000_INJDOLGMLAG_proto_rawDesc +) + +func file_Unk3000_INJDOLGMLAG_proto_rawDescGZIP() []byte { + file_Unk3000_INJDOLGMLAG_proto_rawDescOnce.Do(func() { + file_Unk3000_INJDOLGMLAG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_INJDOLGMLAG_proto_rawDescData) + }) + return file_Unk3000_INJDOLGMLAG_proto_rawDescData +} + +var file_Unk3000_INJDOLGMLAG_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_INJDOLGMLAG_proto_goTypes = []interface{}{ + (Unk3000_INJDOLGMLAG)(0), // 0: Unk3000_INJDOLGMLAG +} +var file_Unk3000_INJDOLGMLAG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_INJDOLGMLAG_proto_init() } +func file_Unk3000_INJDOLGMLAG_proto_init() { + if File_Unk3000_INJDOLGMLAG_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_INJDOLGMLAG_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_INJDOLGMLAG_proto_goTypes, + DependencyIndexes: file_Unk3000_INJDOLGMLAG_proto_depIdxs, + EnumInfos: file_Unk3000_INJDOLGMLAG_proto_enumTypes, + }.Build() + File_Unk3000_INJDOLGMLAG_proto = out.File + file_Unk3000_INJDOLGMLAG_proto_rawDesc = nil + file_Unk3000_INJDOLGMLAG_proto_goTypes = nil + file_Unk3000_INJDOLGMLAG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.proto b/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.proto new file mode 100644 index 00000000..ac30a229 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_INJDOLGMLAG.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk3000_INJDOLGMLAG { + Unk3000_INJDOLGMLAG_Unk3000_AHABODBKNKA = 0; + Unk3000_INJDOLGMLAG_Unk3000_IGJICIAJPFD = 1; + Unk3000_INJDOLGMLAG_Unk3000_KEEDEFPAJJG = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.pb.go b/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.pb.go new file mode 100644 index 00000000..a16c08f8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_IPAKLDNKDAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6275 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_IPAKLDNKDAO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_FJIJOIMJMPF uint32 `protobuf:"varint,8,opt,name=Unk3000_FJIJOIMJMPF,json=Unk3000FJIJOIMJMPF,proto3" json:"Unk3000_FJIJOIMJMPF,omitempty"` +} + +func (x *Unk3000_IPAKLDNKDAO) Reset() { + *x = Unk3000_IPAKLDNKDAO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_IPAKLDNKDAO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_IPAKLDNKDAO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_IPAKLDNKDAO) ProtoMessage() {} + +func (x *Unk3000_IPAKLDNKDAO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_IPAKLDNKDAO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_IPAKLDNKDAO.ProtoReflect.Descriptor instead. +func (*Unk3000_IPAKLDNKDAO) Descriptor() ([]byte, []int) { + return file_Unk3000_IPAKLDNKDAO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_IPAKLDNKDAO) GetUnk3000_FJIJOIMJMPF() uint32 { + if x != nil { + return x.Unk3000_FJIJOIMJMPF + } + return 0 +} + +var File_Unk3000_IPAKLDNKDAO_proto protoreflect.FileDescriptor + +var file_Unk3000_IPAKLDNKDAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x50, 0x41, 0x4b, 0x4c, 0x44, + 0x4e, 0x4b, 0x44, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x50, 0x41, 0x4b, 0x4c, 0x44, 0x4e, 0x4b, 0x44, + 0x41, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4a, + 0x49, 0x4a, 0x4f, 0x49, 0x4d, 0x4a, 0x4d, 0x50, 0x46, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x46, 0x4a, 0x49, 0x4a, 0x4f, 0x49, 0x4d, 0x4a, + 0x4d, 0x50, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_IPAKLDNKDAO_proto_rawDescOnce sync.Once + file_Unk3000_IPAKLDNKDAO_proto_rawDescData = file_Unk3000_IPAKLDNKDAO_proto_rawDesc +) + +func file_Unk3000_IPAKLDNKDAO_proto_rawDescGZIP() []byte { + file_Unk3000_IPAKLDNKDAO_proto_rawDescOnce.Do(func() { + file_Unk3000_IPAKLDNKDAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_IPAKLDNKDAO_proto_rawDescData) + }) + return file_Unk3000_IPAKLDNKDAO_proto_rawDescData +} + +var file_Unk3000_IPAKLDNKDAO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_IPAKLDNKDAO_proto_goTypes = []interface{}{ + (*Unk3000_IPAKLDNKDAO)(nil), // 0: Unk3000_IPAKLDNKDAO +} +var file_Unk3000_IPAKLDNKDAO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_IPAKLDNKDAO_proto_init() } +func file_Unk3000_IPAKLDNKDAO_proto_init() { + if File_Unk3000_IPAKLDNKDAO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_IPAKLDNKDAO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_IPAKLDNKDAO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_IPAKLDNKDAO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_IPAKLDNKDAO_proto_goTypes, + DependencyIndexes: file_Unk3000_IPAKLDNKDAO_proto_depIdxs, + MessageInfos: file_Unk3000_IPAKLDNKDAO_proto_msgTypes, + }.Build() + File_Unk3000_IPAKLDNKDAO_proto = out.File + file_Unk3000_IPAKLDNKDAO_proto_rawDesc = nil + file_Unk3000_IPAKLDNKDAO_proto_goTypes = nil + file_Unk3000_IPAKLDNKDAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.proto b/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.proto new file mode 100644 index 00000000..d4288d0a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_IPAKLDNKDAO.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6275 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_IPAKLDNKDAO { + uint32 Unk3000_FJIJOIMJMPF = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.pb.go b/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.pb.go new file mode 100644 index 00000000..865a0ae6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_JACOCADDNFE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_JACOCADDNFE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTrial bool `protobuf:"varint,8,opt,name=is_trial,json=isTrial,proto3" json:"is_trial,omitempty"` + AvatarId uint64 `protobuf:"varint,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` +} + +func (x *Unk3000_JACOCADDNFE) Reset() { + *x = Unk3000_JACOCADDNFE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_JACOCADDNFE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_JACOCADDNFE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_JACOCADDNFE) ProtoMessage() {} + +func (x *Unk3000_JACOCADDNFE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_JACOCADDNFE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_JACOCADDNFE.ProtoReflect.Descriptor instead. +func (*Unk3000_JACOCADDNFE) Descriptor() ([]byte, []int) { + return file_Unk3000_JACOCADDNFE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_JACOCADDNFE) GetIsTrial() bool { + if x != nil { + return x.IsTrial + } + return false +} + +func (x *Unk3000_JACOCADDNFE) GetAvatarId() uint64 { + if x != nil { + return x.AvatarId + } + return 0 +} + +var File_Unk3000_JACOCADDNFE_proto protoreflect.FileDescriptor + +var file_Unk3000_JACOCADDNFE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, + 0x44, 0x44, 0x4e, 0x46, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, + 0x46, 0x45, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x74, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x08, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_JACOCADDNFE_proto_rawDescOnce sync.Once + file_Unk3000_JACOCADDNFE_proto_rawDescData = file_Unk3000_JACOCADDNFE_proto_rawDesc +) + +func file_Unk3000_JACOCADDNFE_proto_rawDescGZIP() []byte { + file_Unk3000_JACOCADDNFE_proto_rawDescOnce.Do(func() { + file_Unk3000_JACOCADDNFE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_JACOCADDNFE_proto_rawDescData) + }) + return file_Unk3000_JACOCADDNFE_proto_rawDescData +} + +var file_Unk3000_JACOCADDNFE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_JACOCADDNFE_proto_goTypes = []interface{}{ + (*Unk3000_JACOCADDNFE)(nil), // 0: Unk3000_JACOCADDNFE +} +var file_Unk3000_JACOCADDNFE_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_JACOCADDNFE_proto_init() } +func file_Unk3000_JACOCADDNFE_proto_init() { + if File_Unk3000_JACOCADDNFE_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_JACOCADDNFE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_JACOCADDNFE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_JACOCADDNFE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_JACOCADDNFE_proto_goTypes, + DependencyIndexes: file_Unk3000_JACOCADDNFE_proto_depIdxs, + MessageInfos: file_Unk3000_JACOCADDNFE_proto_msgTypes, + }.Build() + File_Unk3000_JACOCADDNFE_proto = out.File + file_Unk3000_JACOCADDNFE_proto_rawDesc = nil + file_Unk3000_JACOCADDNFE_proto_goTypes = nil + file_Unk3000_JACOCADDNFE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.proto b/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.proto new file mode 100644 index 00000000..a83d7550 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JACOCADDNFE.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_JACOCADDNFE { + bool is_trial = 8; + uint64 avatar_id = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.pb.go b/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.pb.go new file mode 100644 index 00000000..97437cbb --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.pb.go @@ -0,0 +1,196 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_JDCOHPBDPED.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 125 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_JDCOHPBDPED struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CNOABNNCPOL Unk3000_PKHPBOIDLEA `protobuf:"varint,6,opt,name=Unk3000_CNOABNNCPOL,json=Unk3000CNOABNNCPOL,proto3,enum=Unk3000_PKHPBOIDLEA" json:"Unk3000_CNOABNNCPOL,omitempty"` + CompoundQueDataList []*CompoundQueueData `protobuf:"bytes,1,rep,name=compound_que_data_list,json=compoundQueDataList,proto3" json:"compound_que_data_list,omitempty"` + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_JDCOHPBDPED) Reset() { + *x = Unk3000_JDCOHPBDPED{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_JDCOHPBDPED_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_JDCOHPBDPED) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_JDCOHPBDPED) ProtoMessage() {} + +func (x *Unk3000_JDCOHPBDPED) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_JDCOHPBDPED_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_JDCOHPBDPED.ProtoReflect.Descriptor instead. +func (*Unk3000_JDCOHPBDPED) Descriptor() ([]byte, []int) { + return file_Unk3000_JDCOHPBDPED_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_JDCOHPBDPED) GetUnk3000_CNOABNNCPOL() Unk3000_PKHPBOIDLEA { + if x != nil { + return x.Unk3000_CNOABNNCPOL + } + return Unk3000_PKHPBOIDLEA_Unk3000_PKHPBOIDLEA_Unk3000_KANMGBLJEHC +} + +func (x *Unk3000_JDCOHPBDPED) GetCompoundQueDataList() []*CompoundQueueData { + if x != nil { + return x.CompoundQueDataList + } + return nil +} + +func (x *Unk3000_JDCOHPBDPED) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_JDCOHPBDPED_proto protoreflect.FileDescriptor + +var file_Unk3000_JDCOHPBDPED_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x43, 0x4f, 0x48, 0x50, + 0x42, 0x44, 0x50, 0x45, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x43, 0x6f, 0x6d, + 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, + 0x48, 0x50, 0x42, 0x4f, 0x49, 0x44, 0x4c, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xbf, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x44, 0x43, 0x4f, + 0x48, 0x50, 0x42, 0x44, 0x50, 0x45, 0x44, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x43, 0x4e, 0x4f, 0x41, 0x42, 0x4e, 0x4e, 0x43, 0x50, 0x4f, 0x4c, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, + 0x4b, 0x48, 0x50, 0x42, 0x4f, 0x49, 0x44, 0x4c, 0x45, 0x41, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x43, 0x4e, 0x4f, 0x41, 0x42, 0x4e, 0x4e, 0x43, 0x50, 0x4f, 0x4c, 0x12, 0x47, + 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_JDCOHPBDPED_proto_rawDescOnce sync.Once + file_Unk3000_JDCOHPBDPED_proto_rawDescData = file_Unk3000_JDCOHPBDPED_proto_rawDesc +) + +func file_Unk3000_JDCOHPBDPED_proto_rawDescGZIP() []byte { + file_Unk3000_JDCOHPBDPED_proto_rawDescOnce.Do(func() { + file_Unk3000_JDCOHPBDPED_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_JDCOHPBDPED_proto_rawDescData) + }) + return file_Unk3000_JDCOHPBDPED_proto_rawDescData +} + +var file_Unk3000_JDCOHPBDPED_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_JDCOHPBDPED_proto_goTypes = []interface{}{ + (*Unk3000_JDCOHPBDPED)(nil), // 0: Unk3000_JDCOHPBDPED + (Unk3000_PKHPBOIDLEA)(0), // 1: Unk3000_PKHPBOIDLEA + (*CompoundQueueData)(nil), // 2: CompoundQueueData +} +var file_Unk3000_JDCOHPBDPED_proto_depIdxs = []int32{ + 1, // 0: Unk3000_JDCOHPBDPED.Unk3000_CNOABNNCPOL:type_name -> Unk3000_PKHPBOIDLEA + 2, // 1: Unk3000_JDCOHPBDPED.compound_que_data_list:type_name -> CompoundQueueData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_JDCOHPBDPED_proto_init() } +func file_Unk3000_JDCOHPBDPED_proto_init() { + if File_Unk3000_JDCOHPBDPED_proto != nil { + return + } + file_CompoundQueueData_proto_init() + file_Unk3000_PKHPBOIDLEA_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_JDCOHPBDPED_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_JDCOHPBDPED); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_JDCOHPBDPED_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_JDCOHPBDPED_proto_goTypes, + DependencyIndexes: file_Unk3000_JDCOHPBDPED_proto_depIdxs, + MessageInfos: file_Unk3000_JDCOHPBDPED_proto_msgTypes, + }.Build() + File_Unk3000_JDCOHPBDPED_proto = out.File + file_Unk3000_JDCOHPBDPED_proto_rawDesc = nil + file_Unk3000_JDCOHPBDPED_proto_goTypes = nil + file_Unk3000_JDCOHPBDPED_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.proto b/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.proto new file mode 100644 index 00000000..ca06e13d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JDCOHPBDPED.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CompoundQueueData.proto"; +import "Unk3000_PKHPBOIDLEA.proto"; + +option go_package = "./;proto"; + +// CmdId: 125 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_JDCOHPBDPED { + Unk3000_PKHPBOIDLEA Unk3000_CNOABNNCPOL = 6; + repeated CompoundQueueData compound_que_data_list = 1; + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.pb.go b/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.pb.go new file mode 100644 index 00000000..c32c69da --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_JFOGFMJDFFF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_JFOGFMJDFFF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_ADJNBMKCHAA bool `protobuf:"varint,9,opt,name=Unk3000_ADJNBMKCHAA,json=Unk3000ADJNBMKCHAA,proto3" json:"Unk3000_ADJNBMKCHAA,omitempty"` +} + +func (x *Unk3000_JFOGFMJDFFF) Reset() { + *x = Unk3000_JFOGFMJDFFF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_JFOGFMJDFFF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_JFOGFMJDFFF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_JFOGFMJDFFF) ProtoMessage() {} + +func (x *Unk3000_JFOGFMJDFFF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_JFOGFMJDFFF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_JFOGFMJDFFF.ProtoReflect.Descriptor instead. +func (*Unk3000_JFOGFMJDFFF) Descriptor() ([]byte, []int) { + return file_Unk3000_JFOGFMJDFFF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_JFOGFMJDFFF) GetUnk3000_ADJNBMKCHAA() bool { + if x != nil { + return x.Unk3000_ADJNBMKCHAA + } + return false +} + +var File_Unk3000_JFOGFMJDFFF_proto protoreflect.FileDescriptor + +var file_Unk3000_JFOGFMJDFFF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x46, 0x4f, 0x47, 0x46, 0x4d, + 0x4a, 0x44, 0x46, 0x46, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x46, 0x4f, 0x47, 0x46, 0x4d, 0x4a, 0x44, 0x46, + 0x46, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x44, + 0x4a, 0x4e, 0x42, 0x4d, 0x4b, 0x43, 0x48, 0x41, 0x41, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x44, 0x4a, 0x4e, 0x42, 0x4d, 0x4b, 0x43, + 0x48, 0x41, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_JFOGFMJDFFF_proto_rawDescOnce sync.Once + file_Unk3000_JFOGFMJDFFF_proto_rawDescData = file_Unk3000_JFOGFMJDFFF_proto_rawDesc +) + +func file_Unk3000_JFOGFMJDFFF_proto_rawDescGZIP() []byte { + file_Unk3000_JFOGFMJDFFF_proto_rawDescOnce.Do(func() { + file_Unk3000_JFOGFMJDFFF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_JFOGFMJDFFF_proto_rawDescData) + }) + return file_Unk3000_JFOGFMJDFFF_proto_rawDescData +} + +var file_Unk3000_JFOGFMJDFFF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_JFOGFMJDFFF_proto_goTypes = []interface{}{ + (*Unk3000_JFOGFMJDFFF)(nil), // 0: Unk3000_JFOGFMJDFFF +} +var file_Unk3000_JFOGFMJDFFF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_JFOGFMJDFFF_proto_init() } +func file_Unk3000_JFOGFMJDFFF_proto_init() { + if File_Unk3000_JFOGFMJDFFF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_JFOGFMJDFFF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_JFOGFMJDFFF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_JFOGFMJDFFF_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_JFOGFMJDFFF_proto_goTypes, + DependencyIndexes: file_Unk3000_JFOGFMJDFFF_proto_depIdxs, + MessageInfos: file_Unk3000_JFOGFMJDFFF_proto_msgTypes, + }.Build() + File_Unk3000_JFOGFMJDFFF_proto = out.File + file_Unk3000_JFOGFMJDFFF_proto_rawDesc = nil + file_Unk3000_JFOGFMJDFFF_proto_goTypes = nil + file_Unk3000_JFOGFMJDFFF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.proto b/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.proto new file mode 100644 index 00000000..b2f85bff --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JFOGFMJDFFF.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_JFOGFMJDFFF { + bool Unk3000_ADJNBMKCHAA = 9; +} diff --git a/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.pb.go b/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.pb.go new file mode 100644 index 00000000..6b0553a0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_JIEPEGAHDNH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24152 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_JIEPEGAHDNH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_JIEPEGAHDNH) Reset() { + *x = Unk3000_JIEPEGAHDNH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_JIEPEGAHDNH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_JIEPEGAHDNH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_JIEPEGAHDNH) ProtoMessage() {} + +func (x *Unk3000_JIEPEGAHDNH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_JIEPEGAHDNH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_JIEPEGAHDNH.ProtoReflect.Descriptor instead. +func (*Unk3000_JIEPEGAHDNH) Descriptor() ([]byte, []int) { + return file_Unk3000_JIEPEGAHDNH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_JIEPEGAHDNH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_JIEPEGAHDNH) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_JIEPEGAHDNH_proto protoreflect.FileDescriptor + +var file_Unk3000_JIEPEGAHDNH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x45, 0x50, 0x45, 0x47, + 0x41, 0x48, 0x44, 0x4e, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x45, 0x50, 0x45, 0x47, 0x41, 0x48, 0x44, + 0x4e, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_JIEPEGAHDNH_proto_rawDescOnce sync.Once + file_Unk3000_JIEPEGAHDNH_proto_rawDescData = file_Unk3000_JIEPEGAHDNH_proto_rawDesc +) + +func file_Unk3000_JIEPEGAHDNH_proto_rawDescGZIP() []byte { + file_Unk3000_JIEPEGAHDNH_proto_rawDescOnce.Do(func() { + file_Unk3000_JIEPEGAHDNH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_JIEPEGAHDNH_proto_rawDescData) + }) + return file_Unk3000_JIEPEGAHDNH_proto_rawDescData +} + +var file_Unk3000_JIEPEGAHDNH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_JIEPEGAHDNH_proto_goTypes = []interface{}{ + (*Unk3000_JIEPEGAHDNH)(nil), // 0: Unk3000_JIEPEGAHDNH +} +var file_Unk3000_JIEPEGAHDNH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_JIEPEGAHDNH_proto_init() } +func file_Unk3000_JIEPEGAHDNH_proto_init() { + if File_Unk3000_JIEPEGAHDNH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_JIEPEGAHDNH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_JIEPEGAHDNH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_JIEPEGAHDNH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_JIEPEGAHDNH_proto_goTypes, + DependencyIndexes: file_Unk3000_JIEPEGAHDNH_proto_depIdxs, + MessageInfos: file_Unk3000_JIEPEGAHDNH_proto_msgTypes, + }.Build() + File_Unk3000_JIEPEGAHDNH_proto = out.File + file_Unk3000_JIEPEGAHDNH_proto_rawDesc = nil + file_Unk3000_JIEPEGAHDNH_proto_goTypes = nil + file_Unk3000_JIEPEGAHDNH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.proto b/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.proto new file mode 100644 index 00000000..06f587d2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JIEPEGAHDNH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 24152 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_JIEPEGAHDNH { + uint32 level_id = 1; + int32 retcode = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.pb.go b/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.pb.go new file mode 100644 index 00000000..901c545e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_JIMGCFDPFCK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 20754 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_JIMGCFDPFCK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MDJOPHOHFDB uint32 `protobuf:"varint,11,opt,name=Unk2700_MDJOPHOHFDB,json=Unk2700MDJOPHOHFDB,proto3" json:"Unk2700_MDJOPHOHFDB,omitempty"` + TotalNum uint32 `protobuf:"varint,5,opt,name=total_num,json=totalNum,proto3" json:"total_num,omitempty"` +} + +func (x *Unk3000_JIMGCFDPFCK) Reset() { + *x = Unk3000_JIMGCFDPFCK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_JIMGCFDPFCK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_JIMGCFDPFCK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_JIMGCFDPFCK) ProtoMessage() {} + +func (x *Unk3000_JIMGCFDPFCK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_JIMGCFDPFCK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_JIMGCFDPFCK.ProtoReflect.Descriptor instead. +func (*Unk3000_JIMGCFDPFCK) Descriptor() ([]byte, []int) { + return file_Unk3000_JIMGCFDPFCK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_JIMGCFDPFCK) GetUnk2700_MDJOPHOHFDB() uint32 { + if x != nil { + return x.Unk2700_MDJOPHOHFDB + } + return 0 +} + +func (x *Unk3000_JIMGCFDPFCK) GetTotalNum() uint32 { + if x != nil { + return x.TotalNum + } + return 0 +} + +var File_Unk3000_JIMGCFDPFCK_proto protoreflect.FileDescriptor + +var file_Unk3000_JIMGCFDPFCK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x4d, 0x47, 0x43, 0x46, + 0x44, 0x50, 0x46, 0x43, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x49, 0x4d, 0x47, 0x43, 0x46, 0x44, 0x50, 0x46, + 0x43, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x44, + 0x4a, 0x4f, 0x50, 0x48, 0x4f, 0x48, 0x46, 0x44, 0x42, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x4d, 0x44, 0x4a, 0x4f, 0x50, 0x48, 0x4f, 0x48, + 0x46, 0x44, 0x42, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_JIMGCFDPFCK_proto_rawDescOnce sync.Once + file_Unk3000_JIMGCFDPFCK_proto_rawDescData = file_Unk3000_JIMGCFDPFCK_proto_rawDesc +) + +func file_Unk3000_JIMGCFDPFCK_proto_rawDescGZIP() []byte { + file_Unk3000_JIMGCFDPFCK_proto_rawDescOnce.Do(func() { + file_Unk3000_JIMGCFDPFCK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_JIMGCFDPFCK_proto_rawDescData) + }) + return file_Unk3000_JIMGCFDPFCK_proto_rawDescData +} + +var file_Unk3000_JIMGCFDPFCK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_JIMGCFDPFCK_proto_goTypes = []interface{}{ + (*Unk3000_JIMGCFDPFCK)(nil), // 0: Unk3000_JIMGCFDPFCK +} +var file_Unk3000_JIMGCFDPFCK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_JIMGCFDPFCK_proto_init() } +func file_Unk3000_JIMGCFDPFCK_proto_init() { + if File_Unk3000_JIMGCFDPFCK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_JIMGCFDPFCK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_JIMGCFDPFCK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_JIMGCFDPFCK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_JIMGCFDPFCK_proto_goTypes, + DependencyIndexes: file_Unk3000_JIMGCFDPFCK_proto_depIdxs, + MessageInfos: file_Unk3000_JIMGCFDPFCK_proto_msgTypes, + }.Build() + File_Unk3000_JIMGCFDPFCK_proto = out.File + file_Unk3000_JIMGCFDPFCK_proto_rawDesc = nil + file_Unk3000_JIMGCFDPFCK_proto_goTypes = nil + file_Unk3000_JIMGCFDPFCK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.proto b/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.proto new file mode 100644 index 00000000..4509499d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_JIMGCFDPFCK.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 20754 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_JIMGCFDPFCK { + uint32 Unk2700_MDJOPHOHFDB = 11; + uint32 total_num = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.pb.go b/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.pb.go new file mode 100644 index 00000000..613e5f0b --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KEJGDDMMBLP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6376 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_KEJGDDMMBLP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_EIHLJGPJDJM []*Unk3000_PONJHEGKBBP `protobuf:"bytes,14,rep,name=Unk3000_EIHLJGPJDJM,json=Unk3000EIHLJGPJDJM,proto3" json:"Unk3000_EIHLJGPJDJM,omitempty"` +} + +func (x *Unk3000_KEJGDDMMBLP) Reset() { + *x = Unk3000_KEJGDDMMBLP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KEJGDDMMBLP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KEJGDDMMBLP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KEJGDDMMBLP) ProtoMessage() {} + +func (x *Unk3000_KEJGDDMMBLP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KEJGDDMMBLP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KEJGDDMMBLP.ProtoReflect.Descriptor instead. +func (*Unk3000_KEJGDDMMBLP) Descriptor() ([]byte, []int) { + return file_Unk3000_KEJGDDMMBLP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KEJGDDMMBLP) GetUnk3000_EIHLJGPJDJM() []*Unk3000_PONJHEGKBBP { + if x != nil { + return x.Unk3000_EIHLJGPJDJM + } + return nil +} + +var File_Unk3000_KEJGDDMMBLP_proto protoreflect.FileDescriptor + +var file_Unk3000_KEJGDDMMBLP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4a, 0x47, 0x44, 0x44, + 0x4d, 0x4d, 0x42, 0x4c, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, 0x4a, 0x48, 0x45, 0x47, 0x4b, 0x42, 0x42, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4b, 0x45, 0x4a, 0x47, 0x44, 0x44, 0x4d, 0x4d, 0x42, 0x4c, 0x50, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x49, 0x48, 0x4c, 0x4a, 0x47, 0x50, + 0x4a, 0x44, 0x4a, 0x4d, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, 0x4a, 0x48, 0x45, 0x47, 0x4b, 0x42, 0x42, 0x50, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x45, 0x49, 0x48, 0x4c, 0x4a, 0x47, 0x50, + 0x4a, 0x44, 0x4a, 0x4d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_KEJGDDMMBLP_proto_rawDescOnce sync.Once + file_Unk3000_KEJGDDMMBLP_proto_rawDescData = file_Unk3000_KEJGDDMMBLP_proto_rawDesc +) + +func file_Unk3000_KEJGDDMMBLP_proto_rawDescGZIP() []byte { + file_Unk3000_KEJGDDMMBLP_proto_rawDescOnce.Do(func() { + file_Unk3000_KEJGDDMMBLP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KEJGDDMMBLP_proto_rawDescData) + }) + return file_Unk3000_KEJGDDMMBLP_proto_rawDescData +} + +var file_Unk3000_KEJGDDMMBLP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KEJGDDMMBLP_proto_goTypes = []interface{}{ + (*Unk3000_KEJGDDMMBLP)(nil), // 0: Unk3000_KEJGDDMMBLP + (*Unk3000_PONJHEGKBBP)(nil), // 1: Unk3000_PONJHEGKBBP +} +var file_Unk3000_KEJGDDMMBLP_proto_depIdxs = []int32{ + 1, // 0: Unk3000_KEJGDDMMBLP.Unk3000_EIHLJGPJDJM:type_name -> Unk3000_PONJHEGKBBP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_KEJGDDMMBLP_proto_init() } +func file_Unk3000_KEJGDDMMBLP_proto_init() { + if File_Unk3000_KEJGDDMMBLP_proto != nil { + return + } + file_Unk3000_PONJHEGKBBP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_KEJGDDMMBLP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KEJGDDMMBLP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KEJGDDMMBLP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KEJGDDMMBLP_proto_goTypes, + DependencyIndexes: file_Unk3000_KEJGDDMMBLP_proto_depIdxs, + MessageInfos: file_Unk3000_KEJGDDMMBLP_proto_msgTypes, + }.Build() + File_Unk3000_KEJGDDMMBLP_proto = out.File + file_Unk3000_KEJGDDMMBLP_proto_rawDesc = nil + file_Unk3000_KEJGDDMMBLP_proto_goTypes = nil + file_Unk3000_KEJGDDMMBLP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.proto b/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.proto new file mode 100644 index 00000000..0b3bd516 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KEJGDDMMBLP.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_PONJHEGKBBP.proto"; + +option go_package = "./;proto"; + +// CmdId: 6376 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_KEJGDDMMBLP { + repeated Unk3000_PONJHEGKBBP Unk3000_EIHLJGPJDJM = 14; +} diff --git a/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.pb.go b/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.pb.go new file mode 100644 index 00000000..08a53f9d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KEJLPBEOHNH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_KEJLPBEOHNH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarInfoList []*Unk3000_JACOCADDNFE `protobuf:"bytes,13,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *Unk3000_KEJLPBEOHNH) Reset() { + *x = Unk3000_KEJLPBEOHNH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KEJLPBEOHNH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KEJLPBEOHNH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KEJLPBEOHNH) ProtoMessage() {} + +func (x *Unk3000_KEJLPBEOHNH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KEJLPBEOHNH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KEJLPBEOHNH.ProtoReflect.Descriptor instead. +func (*Unk3000_KEJLPBEOHNH) Descriptor() ([]byte, []int) { + return file_Unk3000_KEJLPBEOHNH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KEJLPBEOHNH) GetAvatarInfoList() []*Unk3000_JACOCADDNFE { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_Unk3000_KEJLPBEOHNH_proto protoreflect.FileDescriptor + +var file_Unk3000_KEJLPBEOHNH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4a, 0x4c, 0x50, 0x42, + 0x45, 0x4f, 0x48, 0x4e, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4b, 0x45, 0x4a, 0x4c, 0x50, 0x42, 0x45, 0x4f, 0x48, 0x4e, 0x48, 0x12, 0x3e, 0x0a, + 0x10, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, 0x52, 0x0e, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_KEJLPBEOHNH_proto_rawDescOnce sync.Once + file_Unk3000_KEJLPBEOHNH_proto_rawDescData = file_Unk3000_KEJLPBEOHNH_proto_rawDesc +) + +func file_Unk3000_KEJLPBEOHNH_proto_rawDescGZIP() []byte { + file_Unk3000_KEJLPBEOHNH_proto_rawDescOnce.Do(func() { + file_Unk3000_KEJLPBEOHNH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KEJLPBEOHNH_proto_rawDescData) + }) + return file_Unk3000_KEJLPBEOHNH_proto_rawDescData +} + +var file_Unk3000_KEJLPBEOHNH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KEJLPBEOHNH_proto_goTypes = []interface{}{ + (*Unk3000_KEJLPBEOHNH)(nil), // 0: Unk3000_KEJLPBEOHNH + (*Unk3000_JACOCADDNFE)(nil), // 1: Unk3000_JACOCADDNFE +} +var file_Unk3000_KEJLPBEOHNH_proto_depIdxs = []int32{ + 1, // 0: Unk3000_KEJLPBEOHNH.avatar_info_list:type_name -> Unk3000_JACOCADDNFE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_KEJLPBEOHNH_proto_init() } +func file_Unk3000_KEJLPBEOHNH_proto_init() { + if File_Unk3000_KEJLPBEOHNH_proto != nil { + return + } + file_Unk3000_JACOCADDNFE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_KEJLPBEOHNH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KEJLPBEOHNH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KEJLPBEOHNH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KEJLPBEOHNH_proto_goTypes, + DependencyIndexes: file_Unk3000_KEJLPBEOHNH_proto_depIdxs, + MessageInfos: file_Unk3000_KEJLPBEOHNH_proto_msgTypes, + }.Build() + File_Unk3000_KEJLPBEOHNH_proto = out.File + file_Unk3000_KEJLPBEOHNH_proto_rawDesc = nil + file_Unk3000_KEJLPBEOHNH_proto_goTypes = nil + file_Unk3000_KEJLPBEOHNH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.proto b/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.proto new file mode 100644 index 00000000..ec36657e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KEJLPBEOHNH.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_JACOCADDNFE.proto"; + +option go_package = "./;proto"; + +message Unk3000_KEJLPBEOHNH { + repeated Unk3000_JACOCADDNFE avatar_info_list = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.pb.go b/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.pb.go new file mode 100644 index 00000000..e43673cf --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KGDKKLOOIPG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 457 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_KGDKKLOOIPG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_CCNCELKPPFN uint32 `protobuf:"varint,14,opt,name=Unk3000_CCNCELKPPFN,json=Unk3000CCNCELKPPFN,proto3" json:"Unk3000_CCNCELKPPFN,omitempty"` + Unk3000_OIIEJOKFHPP uint32 `protobuf:"varint,13,opt,name=Unk3000_OIIEJOKFHPP,json=Unk3000OIIEJOKFHPP,proto3" json:"Unk3000_OIIEJOKFHPP,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,1,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` +} + +func (x *Unk3000_KGDKKLOOIPG) Reset() { + *x = Unk3000_KGDKKLOOIPG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KGDKKLOOIPG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KGDKKLOOIPG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KGDKKLOOIPG) ProtoMessage() {} + +func (x *Unk3000_KGDKKLOOIPG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KGDKKLOOIPG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KGDKKLOOIPG.ProtoReflect.Descriptor instead. +func (*Unk3000_KGDKKLOOIPG) Descriptor() ([]byte, []int) { + return file_Unk3000_KGDKKLOOIPG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KGDKKLOOIPG) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_KGDKKLOOIPG) GetUnk3000_CCNCELKPPFN() uint32 { + if x != nil { + return x.Unk3000_CCNCELKPPFN + } + return 0 +} + +func (x *Unk3000_KGDKKLOOIPG) GetUnk3000_OIIEJOKFHPP() uint32 { + if x != nil { + return x.Unk3000_OIIEJOKFHPP + } + return 0 +} + +func (x *Unk3000_KGDKKLOOIPG) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +var File_Unk3000_KGDKKLOOIPG_proto protoreflect.FileDescriptor + +var file_Unk3000_KGDKKLOOIPG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x44, 0x4b, 0x4b, 0x4c, + 0x4f, 0x4f, 0x49, 0x50, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x47, 0x44, 0x4b, 0x4b, 0x4c, 0x4f, 0x4f, + 0x49, 0x50, 0x47, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x43, 0x4e, 0x43, 0x45, 0x4c, 0x4b, + 0x50, 0x50, 0x46, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x43, 0x43, 0x4e, 0x43, 0x45, 0x4c, 0x4b, 0x50, 0x50, 0x46, 0x4e, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x49, 0x49, 0x45, 0x4a, 0x4f, + 0x4b, 0x46, 0x48, 0x50, 0x50, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x4f, 0x49, 0x49, 0x45, 0x4a, 0x4f, 0x4b, 0x46, 0x48, 0x50, 0x50, 0x12, + 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4f, 0x4c, 0x45, + 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_KGDKKLOOIPG_proto_rawDescOnce sync.Once + file_Unk3000_KGDKKLOOIPG_proto_rawDescData = file_Unk3000_KGDKKLOOIPG_proto_rawDesc +) + +func file_Unk3000_KGDKKLOOIPG_proto_rawDescGZIP() []byte { + file_Unk3000_KGDKKLOOIPG_proto_rawDescOnce.Do(func() { + file_Unk3000_KGDKKLOOIPG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KGDKKLOOIPG_proto_rawDescData) + }) + return file_Unk3000_KGDKKLOOIPG_proto_rawDescData +} + +var file_Unk3000_KGDKKLOOIPG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KGDKKLOOIPG_proto_goTypes = []interface{}{ + (*Unk3000_KGDKKLOOIPG)(nil), // 0: Unk3000_KGDKKLOOIPG +} +var file_Unk3000_KGDKKLOOIPG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KGDKKLOOIPG_proto_init() } +func file_Unk3000_KGDKKLOOIPG_proto_init() { + if File_Unk3000_KGDKKLOOIPG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KGDKKLOOIPG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KGDKKLOOIPG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KGDKKLOOIPG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KGDKKLOOIPG_proto_goTypes, + DependencyIndexes: file_Unk3000_KGDKKLOOIPG_proto_depIdxs, + MessageInfos: file_Unk3000_KGDKKLOOIPG_proto_msgTypes, + }.Build() + File_Unk3000_KGDKKLOOIPG_proto = out.File + file_Unk3000_KGDKKLOOIPG_proto_rawDesc = nil + file_Unk3000_KGDKKLOOIPG_proto_goTypes = nil + file_Unk3000_KGDKKLOOIPG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.proto b/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.proto new file mode 100644 index 00000000..154590f9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KGDKKLOOIPG.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 457 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_KGDKKLOOIPG { + int32 retcode = 15; + uint32 Unk3000_CCNCELKPPFN = 14; + uint32 Unk3000_OIIEJOKFHPP = 13; + uint32 Unk3000_CIOLEGEHDAC = 1; +} diff --git a/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.pb.go b/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.pb.go new file mode 100644 index 00000000..45a7c713 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KHFMBKILMMD.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24081 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_KHFMBKILMMD struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_KHFMBKILMMD) Reset() { + *x = Unk3000_KHFMBKILMMD{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KHFMBKILMMD_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KHFMBKILMMD) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KHFMBKILMMD) ProtoMessage() {} + +func (x *Unk3000_KHFMBKILMMD) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KHFMBKILMMD_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KHFMBKILMMD.ProtoReflect.Descriptor instead. +func (*Unk3000_KHFMBKILMMD) Descriptor() ([]byte, []int) { + return file_Unk3000_KHFMBKILMMD_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KHFMBKILMMD) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_KHFMBKILMMD_proto protoreflect.FileDescriptor + +var file_Unk3000_KHFMBKILMMD_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x46, 0x4d, 0x42, 0x4b, + 0x49, 0x4c, 0x4d, 0x4d, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x48, 0x46, 0x4d, 0x42, 0x4b, 0x49, 0x4c, 0x4d, + 0x4d, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_KHFMBKILMMD_proto_rawDescOnce sync.Once + file_Unk3000_KHFMBKILMMD_proto_rawDescData = file_Unk3000_KHFMBKILMMD_proto_rawDesc +) + +func file_Unk3000_KHFMBKILMMD_proto_rawDescGZIP() []byte { + file_Unk3000_KHFMBKILMMD_proto_rawDescOnce.Do(func() { + file_Unk3000_KHFMBKILMMD_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KHFMBKILMMD_proto_rawDescData) + }) + return file_Unk3000_KHFMBKILMMD_proto_rawDescData +} + +var file_Unk3000_KHFMBKILMMD_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KHFMBKILMMD_proto_goTypes = []interface{}{ + (*Unk3000_KHFMBKILMMD)(nil), // 0: Unk3000_KHFMBKILMMD +} +var file_Unk3000_KHFMBKILMMD_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KHFMBKILMMD_proto_init() } +func file_Unk3000_KHFMBKILMMD_proto_init() { + if File_Unk3000_KHFMBKILMMD_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KHFMBKILMMD_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KHFMBKILMMD); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KHFMBKILMMD_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KHFMBKILMMD_proto_goTypes, + DependencyIndexes: file_Unk3000_KHFMBKILMMD_proto_depIdxs, + MessageInfos: file_Unk3000_KHFMBKILMMD_proto_msgTypes, + }.Build() + File_Unk3000_KHFMBKILMMD_proto = out.File + file_Unk3000_KHFMBKILMMD_proto_rawDesc = nil + file_Unk3000_KHFMBKILMMD_proto_goTypes = nil + file_Unk3000_KHFMBKILMMD_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.proto b/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.proto new file mode 100644 index 00000000..1f627f4e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KHFMBKILMMD.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 24081 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_KHFMBKILMMD { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.pb.go b/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.pb.go new file mode 100644 index 00000000..e2a8a967 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KIDDGDPKBEN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1729 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_KIDDGDPKBEN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_GCAJHPHIEAA uint32 `protobuf:"varint,15,opt,name=Unk3000_GCAJHPHIEAA,json=Unk3000GCAJHPHIEAA,proto3" json:"Unk3000_GCAJHPHIEAA,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_KIDDGDPKBEN) Reset() { + *x = Unk3000_KIDDGDPKBEN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KIDDGDPKBEN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KIDDGDPKBEN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KIDDGDPKBEN) ProtoMessage() {} + +func (x *Unk3000_KIDDGDPKBEN) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KIDDGDPKBEN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KIDDGDPKBEN.ProtoReflect.Descriptor instead. +func (*Unk3000_KIDDGDPKBEN) Descriptor() ([]byte, []int) { + return file_Unk3000_KIDDGDPKBEN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KIDDGDPKBEN) GetUnk3000_GCAJHPHIEAA() uint32 { + if x != nil { + return x.Unk3000_GCAJHPHIEAA + } + return 0 +} + +func (x *Unk3000_KIDDGDPKBEN) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_KIDDGDPKBEN_proto protoreflect.FileDescriptor + +var file_Unk3000_KIDDGDPKBEN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x44, 0x44, 0x47, 0x44, + 0x50, 0x4b, 0x42, 0x45, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x49, 0x44, 0x44, 0x47, 0x44, 0x50, 0x4b, 0x42, + 0x45, 0x4e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, + 0x41, 0x4a, 0x48, 0x50, 0x48, 0x49, 0x45, 0x41, 0x41, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x43, 0x41, 0x4a, 0x48, 0x50, 0x48, 0x49, + 0x45, 0x41, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_KIDDGDPKBEN_proto_rawDescOnce sync.Once + file_Unk3000_KIDDGDPKBEN_proto_rawDescData = file_Unk3000_KIDDGDPKBEN_proto_rawDesc +) + +func file_Unk3000_KIDDGDPKBEN_proto_rawDescGZIP() []byte { + file_Unk3000_KIDDGDPKBEN_proto_rawDescOnce.Do(func() { + file_Unk3000_KIDDGDPKBEN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KIDDGDPKBEN_proto_rawDescData) + }) + return file_Unk3000_KIDDGDPKBEN_proto_rawDescData +} + +var file_Unk3000_KIDDGDPKBEN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KIDDGDPKBEN_proto_goTypes = []interface{}{ + (*Unk3000_KIDDGDPKBEN)(nil), // 0: Unk3000_KIDDGDPKBEN +} +var file_Unk3000_KIDDGDPKBEN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KIDDGDPKBEN_proto_init() } +func file_Unk3000_KIDDGDPKBEN_proto_init() { + if File_Unk3000_KIDDGDPKBEN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KIDDGDPKBEN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KIDDGDPKBEN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KIDDGDPKBEN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KIDDGDPKBEN_proto_goTypes, + DependencyIndexes: file_Unk3000_KIDDGDPKBEN_proto_depIdxs, + MessageInfos: file_Unk3000_KIDDGDPKBEN_proto_msgTypes, + }.Build() + File_Unk3000_KIDDGDPKBEN_proto = out.File + file_Unk3000_KIDDGDPKBEN_proto_rawDesc = nil + file_Unk3000_KIDDGDPKBEN_proto_goTypes = nil + file_Unk3000_KIDDGDPKBEN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.proto b/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.proto new file mode 100644 index 00000000..5ed10566 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KIDDGDPKBEN.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1729 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_KIDDGDPKBEN { + uint32 Unk3000_GCAJHPHIEAA = 15; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.pb.go b/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.pb.go new file mode 100644 index 00000000..abcbd3d1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KJNIKBPKAED.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 461 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_KJNIKBPKAED struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_CFDMLGKNLKL uint32 `protobuf:"varint,14,opt,name=Unk3000_CFDMLGKNLKL,json=Unk3000CFDMLGKNLKL,proto3" json:"Unk3000_CFDMLGKNLKL,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,13,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` +} + +func (x *Unk3000_KJNIKBPKAED) Reset() { + *x = Unk3000_KJNIKBPKAED{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KJNIKBPKAED_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KJNIKBPKAED) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KJNIKBPKAED) ProtoMessage() {} + +func (x *Unk3000_KJNIKBPKAED) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KJNIKBPKAED_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KJNIKBPKAED.ProtoReflect.Descriptor instead. +func (*Unk3000_KJNIKBPKAED) Descriptor() ([]byte, []int) { + return file_Unk3000_KJNIKBPKAED_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KJNIKBPKAED) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_KJNIKBPKAED) GetUnk3000_CFDMLGKNLKL() uint32 { + if x != nil { + return x.Unk3000_CFDMLGKNLKL + } + return 0 +} + +func (x *Unk3000_KJNIKBPKAED) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +var File_Unk3000_KJNIKBPKAED_proto protoreflect.FileDescriptor + +var file_Unk3000_KJNIKBPKAED_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4e, 0x49, 0x4b, 0x42, + 0x50, 0x4b, 0x41, 0x45, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4a, 0x4e, 0x49, 0x4b, 0x42, 0x50, 0x4b, + 0x41, 0x45, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, + 0x4e, 0x4c, 0x4b, 0x4c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, 0x4c, 0x4b, 0x4c, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, + 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_KJNIKBPKAED_proto_rawDescOnce sync.Once + file_Unk3000_KJNIKBPKAED_proto_rawDescData = file_Unk3000_KJNIKBPKAED_proto_rawDesc +) + +func file_Unk3000_KJNIKBPKAED_proto_rawDescGZIP() []byte { + file_Unk3000_KJNIKBPKAED_proto_rawDescOnce.Do(func() { + file_Unk3000_KJNIKBPKAED_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KJNIKBPKAED_proto_rawDescData) + }) + return file_Unk3000_KJNIKBPKAED_proto_rawDescData +} + +var file_Unk3000_KJNIKBPKAED_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KJNIKBPKAED_proto_goTypes = []interface{}{ + (*Unk3000_KJNIKBPKAED)(nil), // 0: Unk3000_KJNIKBPKAED +} +var file_Unk3000_KJNIKBPKAED_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KJNIKBPKAED_proto_init() } +func file_Unk3000_KJNIKBPKAED_proto_init() { + if File_Unk3000_KJNIKBPKAED_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KJNIKBPKAED_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KJNIKBPKAED); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KJNIKBPKAED_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KJNIKBPKAED_proto_goTypes, + DependencyIndexes: file_Unk3000_KJNIKBPKAED_proto_depIdxs, + MessageInfos: file_Unk3000_KJNIKBPKAED_proto_msgTypes, + }.Build() + File_Unk3000_KJNIKBPKAED_proto = out.File + file_Unk3000_KJNIKBPKAED_proto_rawDesc = nil + file_Unk3000_KJNIKBPKAED_proto_goTypes = nil + file_Unk3000_KJNIKBPKAED_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.proto b/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.proto new file mode 100644 index 00000000..1cb28463 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KJNIKBPKAED.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 461 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_KJNIKBPKAED { + int32 retcode = 5; + uint32 Unk3000_CFDMLGKNLKL = 14; + uint32 Unk3000_CIOLEGEHDAC = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.pb.go b/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.pb.go new file mode 100644 index 00000000..55fa7ee8 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KKHPGFINACH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_KKHPGFINACH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,12,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk3000_KKHPGFINACH) Reset() { + *x = Unk3000_KKHPGFINACH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KKHPGFINACH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KKHPGFINACH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KKHPGFINACH) ProtoMessage() {} + +func (x *Unk3000_KKHPGFINACH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KKHPGFINACH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KKHPGFINACH.ProtoReflect.Descriptor instead. +func (*Unk3000_KKHPGFINACH) Descriptor() ([]byte, []int) { + return file_Unk3000_KKHPGFINACH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KKHPGFINACH) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk3000_KKHPGFINACH_proto protoreflect.FileDescriptor + +var file_Unk3000_KKHPGFINACH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x48, 0x50, 0x47, 0x46, + 0x49, 0x4e, 0x41, 0x43, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4b, 0x48, 0x50, 0x47, 0x46, 0x49, 0x4e, 0x41, + 0x43, 0x48, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_KKHPGFINACH_proto_rawDescOnce sync.Once + file_Unk3000_KKHPGFINACH_proto_rawDescData = file_Unk3000_KKHPGFINACH_proto_rawDesc +) + +func file_Unk3000_KKHPGFINACH_proto_rawDescGZIP() []byte { + file_Unk3000_KKHPGFINACH_proto_rawDescOnce.Do(func() { + file_Unk3000_KKHPGFINACH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KKHPGFINACH_proto_rawDescData) + }) + return file_Unk3000_KKHPGFINACH_proto_rawDescData +} + +var file_Unk3000_KKHPGFINACH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KKHPGFINACH_proto_goTypes = []interface{}{ + (*Unk3000_KKHPGFINACH)(nil), // 0: Unk3000_KKHPGFINACH +} +var file_Unk3000_KKHPGFINACH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KKHPGFINACH_proto_init() } +func file_Unk3000_KKHPGFINACH_proto_init() { + if File_Unk3000_KKHPGFINACH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KKHPGFINACH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KKHPGFINACH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KKHPGFINACH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KKHPGFINACH_proto_goTypes, + DependencyIndexes: file_Unk3000_KKHPGFINACH_proto_depIdxs, + MessageInfos: file_Unk3000_KKHPGFINACH_proto_msgTypes, + }.Build() + File_Unk3000_KKHPGFINACH_proto = out.File + file_Unk3000_KKHPGFINACH_proto_rawDesc = nil + file_Unk3000_KKHPGFINACH_proto_goTypes = nil + file_Unk3000_KKHPGFINACH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.proto b/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.proto new file mode 100644 index 00000000..47c89686 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KKHPGFINACH.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 24602 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_KKHPGFINACH { + uint32 level_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.pb.go b/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.pb.go new file mode 100644 index 00000000..7da3b20f --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.pb.go @@ -0,0 +1,239 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_KOKEHAPLNHF.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB int32 + +const ( + Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB_Unk3000_IEAAFHCHOIA Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB = 0 + Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB_Unk3000_DBHGONMGIOJ Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB = 1 +) + +// Enum value maps for Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB. +var ( + Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB_name = map[int32]string{ + 0: "Unk3000_GKFABJEJMKB_Unk3000_IEAAFHCHOIA", + 1: "Unk3000_GKFABJEJMKB_Unk3000_DBHGONMGIOJ", + } + Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB_value = map[string]int32{ + "Unk3000_GKFABJEJMKB_Unk3000_IEAAFHCHOIA": 0, + "Unk3000_GKFABJEJMKB_Unk3000_DBHGONMGIOJ": 1, + } +) + +func (x Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) Enum() *Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB { + p := new(Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) + *p = x + return p +} + +func (x Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_KOKEHAPLNHF_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) Type() protoreflect.EnumType { + return &file_Unk3000_KOKEHAPLNHF_proto_enumTypes[0] +} + +func (x Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB.Descriptor instead. +func (Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_KOKEHAPLNHF_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 6190 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_KOKEHAPLNHF struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_ACPIAKFPDND int32 `protobuf:"varint,12,opt,name=Unk3000_ACPIAKFPDND,json=Unk3000ACPIAKFPDND,proto3" json:"Unk3000_ACPIAKFPDND,omitempty"` + SceneId uint32 `protobuf:"varint,10,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + QueryId int32 `protobuf:"varint,11,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` +} + +func (x *Unk3000_KOKEHAPLNHF) Reset() { + *x = Unk3000_KOKEHAPLNHF{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_KOKEHAPLNHF_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_KOKEHAPLNHF) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_KOKEHAPLNHF) ProtoMessage() {} + +func (x *Unk3000_KOKEHAPLNHF) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_KOKEHAPLNHF_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_KOKEHAPLNHF.ProtoReflect.Descriptor instead. +func (*Unk3000_KOKEHAPLNHF) Descriptor() ([]byte, []int) { + return file_Unk3000_KOKEHAPLNHF_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_KOKEHAPLNHF) GetUnk3000_ACPIAKFPDND() int32 { + if x != nil { + return x.Unk3000_ACPIAKFPDND + } + return 0 +} + +func (x *Unk3000_KOKEHAPLNHF) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *Unk3000_KOKEHAPLNHF) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +var File_Unk3000_KOKEHAPLNHF_proto protoreflect.FileDescriptor + +var file_Unk3000_KOKEHAPLNHF_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x4b, 0x45, 0x48, 0x41, + 0x50, 0x4c, 0x4e, 0x48, 0x46, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4f, 0x4b, 0x45, 0x48, 0x41, 0x50, 0x4c, + 0x4e, 0x48, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, + 0x43, 0x50, 0x49, 0x41, 0x4b, 0x46, 0x50, 0x44, 0x4e, 0x44, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x43, 0x50, 0x49, 0x41, 0x4b, 0x46, + 0x50, 0x44, 0x4e, 0x44, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x46, 0x41, 0x42, 0x4a, 0x45, 0x4a, 0x4d, 0x4b, + 0x42, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x46, + 0x41, 0x42, 0x4a, 0x45, 0x4a, 0x4d, 0x4b, 0x42, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x49, 0x45, 0x41, 0x41, 0x46, 0x48, 0x43, 0x48, 0x4f, 0x49, 0x41, 0x10, 0x00, 0x12, 0x2b, + 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x4b, 0x46, 0x41, 0x42, 0x4a, + 0x45, 0x4a, 0x4d, 0x4b, 0x42, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, 0x42, + 0x48, 0x47, 0x4f, 0x4e, 0x4d, 0x47, 0x49, 0x4f, 0x4a, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_KOKEHAPLNHF_proto_rawDescOnce sync.Once + file_Unk3000_KOKEHAPLNHF_proto_rawDescData = file_Unk3000_KOKEHAPLNHF_proto_rawDesc +) + +func file_Unk3000_KOKEHAPLNHF_proto_rawDescGZIP() []byte { + file_Unk3000_KOKEHAPLNHF_proto_rawDescOnce.Do(func() { + file_Unk3000_KOKEHAPLNHF_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_KOKEHAPLNHF_proto_rawDescData) + }) + return file_Unk3000_KOKEHAPLNHF_proto_rawDescData +} + +var file_Unk3000_KOKEHAPLNHF_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_KOKEHAPLNHF_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_KOKEHAPLNHF_proto_goTypes = []interface{}{ + (Unk3000_KOKEHAPLNHF_Unk3000_GKFABJEJMKB)(0), // 0: Unk3000_KOKEHAPLNHF.Unk3000_GKFABJEJMKB + (*Unk3000_KOKEHAPLNHF)(nil), // 1: Unk3000_KOKEHAPLNHF +} +var file_Unk3000_KOKEHAPLNHF_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_KOKEHAPLNHF_proto_init() } +func file_Unk3000_KOKEHAPLNHF_proto_init() { + if File_Unk3000_KOKEHAPLNHF_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_KOKEHAPLNHF_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_KOKEHAPLNHF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_KOKEHAPLNHF_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_KOKEHAPLNHF_proto_goTypes, + DependencyIndexes: file_Unk3000_KOKEHAPLNHF_proto_depIdxs, + EnumInfos: file_Unk3000_KOKEHAPLNHF_proto_enumTypes, + MessageInfos: file_Unk3000_KOKEHAPLNHF_proto_msgTypes, + }.Build() + File_Unk3000_KOKEHAPLNHF_proto = out.File + file_Unk3000_KOKEHAPLNHF_proto_rawDesc = nil + file_Unk3000_KOKEHAPLNHF_proto_goTypes = nil + file_Unk3000_KOKEHAPLNHF_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.proto b/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.proto new file mode 100644 index 00000000..9917cb08 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_KOKEHAPLNHF.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6190 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_KOKEHAPLNHF { + int32 Unk3000_ACPIAKFPDND = 12; + uint32 scene_id = 10; + int32 query_id = 11; + + enum Unk3000_GKFABJEJMKB { + Unk3000_GKFABJEJMKB_Unk3000_IEAAFHCHOIA = 0; + Unk3000_GKFABJEJMKB_Unk3000_DBHGONMGIOJ = 1; + } +} diff --git a/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.pb.go b/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.pb.go new file mode 100644 index 00000000..24485624 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LAIAGAPKPLB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3113 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_LAIAGAPKPLB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_KJJKONKEINI []uint32 `protobuf:"varint,7,rep,packed,name=Unk3000_KJJKONKEINI,json=Unk3000KJJKONKEINI,proto3" json:"Unk3000_KJJKONKEINI,omitempty"` +} + +func (x *Unk3000_LAIAGAPKPLB) Reset() { + *x = Unk3000_LAIAGAPKPLB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LAIAGAPKPLB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LAIAGAPKPLB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LAIAGAPKPLB) ProtoMessage() {} + +func (x *Unk3000_LAIAGAPKPLB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LAIAGAPKPLB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LAIAGAPKPLB.ProtoReflect.Descriptor instead. +func (*Unk3000_LAIAGAPKPLB) Descriptor() ([]byte, []int) { + return file_Unk3000_LAIAGAPKPLB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LAIAGAPKPLB) GetUnk3000_KJJKONKEINI() []uint32 { + if x != nil { + return x.Unk3000_KJJKONKEINI + } + return nil +} + +var File_Unk3000_LAIAGAPKPLB_proto protoreflect.FileDescriptor + +var file_Unk3000_LAIAGAPKPLB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x49, 0x41, 0x47, 0x41, + 0x50, 0x4b, 0x50, 0x4c, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x41, 0x49, 0x41, 0x47, 0x41, 0x50, 0x4b, 0x50, + 0x4c, 0x42, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x4a, + 0x4a, 0x4b, 0x4f, 0x4e, 0x4b, 0x45, 0x49, 0x4e, 0x49, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4b, 0x4a, 0x4a, 0x4b, 0x4f, 0x4e, 0x4b, 0x45, + 0x49, 0x4e, 0x49, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LAIAGAPKPLB_proto_rawDescOnce sync.Once + file_Unk3000_LAIAGAPKPLB_proto_rawDescData = file_Unk3000_LAIAGAPKPLB_proto_rawDesc +) + +func file_Unk3000_LAIAGAPKPLB_proto_rawDescGZIP() []byte { + file_Unk3000_LAIAGAPKPLB_proto_rawDescOnce.Do(func() { + file_Unk3000_LAIAGAPKPLB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LAIAGAPKPLB_proto_rawDescData) + }) + return file_Unk3000_LAIAGAPKPLB_proto_rawDescData +} + +var file_Unk3000_LAIAGAPKPLB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LAIAGAPKPLB_proto_goTypes = []interface{}{ + (*Unk3000_LAIAGAPKPLB)(nil), // 0: Unk3000_LAIAGAPKPLB +} +var file_Unk3000_LAIAGAPKPLB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_LAIAGAPKPLB_proto_init() } +func file_Unk3000_LAIAGAPKPLB_proto_init() { + if File_Unk3000_LAIAGAPKPLB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_LAIAGAPKPLB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LAIAGAPKPLB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LAIAGAPKPLB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LAIAGAPKPLB_proto_goTypes, + DependencyIndexes: file_Unk3000_LAIAGAPKPLB_proto_depIdxs, + MessageInfos: file_Unk3000_LAIAGAPKPLB_proto_msgTypes, + }.Build() + File_Unk3000_LAIAGAPKPLB_proto = out.File + file_Unk3000_LAIAGAPKPLB_proto_rawDesc = nil + file_Unk3000_LAIAGAPKPLB_proto_goTypes = nil + file_Unk3000_LAIAGAPKPLB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.proto b/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.proto new file mode 100644 index 00000000..f5710a28 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LAIAGAPKPLB.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3113 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_LAIAGAPKPLB { + repeated uint32 Unk3000_KJJKONKEINI = 7; +} diff --git a/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.pb.go b/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.pb.go new file mode 100644 index 00000000..4be25a68 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.pb.go @@ -0,0 +1,271 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LBNFMLHLBIH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN int32 + +const ( + Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_CAPSULE Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN = 0 + Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_BOX Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN = 1 +) + +// Enum value maps for Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN. +var ( + Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN_name = map[int32]string{ + 0: "Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_CAPSULE", + 1: "Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_BOX", + } + Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN_value = map[string]int32{ + "Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_CAPSULE": 0, + "Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_BOX": 1, + } +) + +func (x Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) Enum() *Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN { + p := new(Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) + *p = x + return p +} + +func (x Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_LBNFMLHLBIH_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) Type() protoreflect.EnumType { + return &file_Unk3000_LBNFMLHLBIH_proto_enumTypes[0] +} + +func (x Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN.Descriptor instead. +func (Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_LBNFMLHLBIH_proto_rawDescGZIP(), []int{0, 0} +} + +type Unk3000_LBNFMLHLBIH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN `protobuf:"varint,2,opt,name=type,proto3,enum=Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN" json:"type,omitempty"` + Unk3000_MFHLAJACMFA int32 `protobuf:"varint,11,opt,name=Unk3000_MFHLAJACMFA,json=Unk3000MFHLAJACMFA,proto3" json:"Unk3000_MFHLAJACMFA,omitempty"` + Rotation *MathQuaternion `protobuf:"bytes,7,opt,name=rotation,proto3" json:"rotation,omitempty"` + Center *Vector `protobuf:"bytes,13,opt,name=center,proto3" json:"center,omitempty"` + Unk3000_LNHPLNEBBIP *Vector `protobuf:"bytes,14,opt,name=Unk3000_LNHPLNEBBIP,json=Unk3000LNHPLNEBBIP,proto3" json:"Unk3000_LNHPLNEBBIP,omitempty"` +} + +func (x *Unk3000_LBNFMLHLBIH) Reset() { + *x = Unk3000_LBNFMLHLBIH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LBNFMLHLBIH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LBNFMLHLBIH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LBNFMLHLBIH) ProtoMessage() {} + +func (x *Unk3000_LBNFMLHLBIH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LBNFMLHLBIH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LBNFMLHLBIH.ProtoReflect.Descriptor instead. +func (*Unk3000_LBNFMLHLBIH) Descriptor() ([]byte, []int) { + return file_Unk3000_LBNFMLHLBIH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LBNFMLHLBIH) GetType() Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN { + if x != nil { + return x.Type + } + return Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_CAPSULE +} + +func (x *Unk3000_LBNFMLHLBIH) GetUnk3000_MFHLAJACMFA() int32 { + if x != nil { + return x.Unk3000_MFHLAJACMFA + } + return 0 +} + +func (x *Unk3000_LBNFMLHLBIH) GetRotation() *MathQuaternion { + if x != nil { + return x.Rotation + } + return nil +} + +func (x *Unk3000_LBNFMLHLBIH) GetCenter() *Vector { + if x != nil { + return x.Center + } + return nil +} + +func (x *Unk3000_LBNFMLHLBIH) GetUnk3000_LNHPLNEBBIP() *Vector { + if x != nil { + return x.Unk3000_LNHPLNEBBIP + } + return nil +} + +var File_Unk3000_LBNFMLHLBIH_proto protoreflect.FileDescriptor + +var file_Unk3000_LBNFMLHLBIH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4e, 0x46, 0x4d, 0x4c, + 0x48, 0x4c, 0x42, 0x49, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x4d, 0x61, 0x74, + 0x68, 0x51, 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xff, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4e, 0x46, + 0x4d, 0x4c, 0x48, 0x4c, 0x42, 0x49, 0x48, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4c, 0x42, 0x4e, 0x46, 0x4d, 0x4c, 0x48, 0x4c, 0x42, 0x49, 0x48, 0x2e, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x48, 0x42, 0x49, 0x42, 0x47, 0x4d, 0x48, 0x4a, 0x4e, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x4d, 0x46, 0x48, 0x4c, 0x41, 0x4a, 0x41, 0x43, 0x4d, 0x46, 0x41, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x46, 0x48, 0x4c, 0x41, + 0x4a, 0x41, 0x43, 0x4d, 0x46, 0x41, 0x12, 0x2b, 0x0a, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x51, + 0x75, 0x61, 0x74, 0x65, 0x72, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x72, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4c, 0x4e, 0x48, 0x50, 0x4c, 0x4e, 0x45, 0x42, 0x42, 0x49, 0x50, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4c, 0x4e, 0x48, 0x50, 0x4c, 0x4e, 0x45, 0x42, 0x42, 0x49, 0x50, 0x22, 0x71, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x50, 0x48, 0x42, 0x49, 0x42, + 0x47, 0x4d, 0x48, 0x4a, 0x4e, 0x12, 0x2e, 0x0a, 0x2a, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x47, 0x50, 0x48, 0x42, 0x49, 0x42, 0x47, 0x4d, 0x48, 0x4a, 0x4e, 0x5f, 0x4f, 0x42, 0x53, + 0x54, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x50, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x53, + 0x55, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x2a, 0x0a, 0x26, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x47, 0x50, 0x48, 0x42, 0x49, 0x42, 0x47, 0x4d, 0x48, 0x4a, 0x4e, 0x5f, 0x4f, 0x42, 0x53, + 0x54, 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x58, 0x10, + 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LBNFMLHLBIH_proto_rawDescOnce sync.Once + file_Unk3000_LBNFMLHLBIH_proto_rawDescData = file_Unk3000_LBNFMLHLBIH_proto_rawDesc +) + +func file_Unk3000_LBNFMLHLBIH_proto_rawDescGZIP() []byte { + file_Unk3000_LBNFMLHLBIH_proto_rawDescOnce.Do(func() { + file_Unk3000_LBNFMLHLBIH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LBNFMLHLBIH_proto_rawDescData) + }) + return file_Unk3000_LBNFMLHLBIH_proto_rawDescData +} + +var file_Unk3000_LBNFMLHLBIH_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_LBNFMLHLBIH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LBNFMLHLBIH_proto_goTypes = []interface{}{ + (Unk3000_LBNFMLHLBIH_Unk3000_GPHBIBGMHJN)(0), // 0: Unk3000_LBNFMLHLBIH.Unk3000_GPHBIBGMHJN + (*Unk3000_LBNFMLHLBIH)(nil), // 1: Unk3000_LBNFMLHLBIH + (*MathQuaternion)(nil), // 2: MathQuaternion + (*Vector)(nil), // 3: Vector +} +var file_Unk3000_LBNFMLHLBIH_proto_depIdxs = []int32{ + 0, // 0: Unk3000_LBNFMLHLBIH.type:type_name -> Unk3000_LBNFMLHLBIH.Unk3000_GPHBIBGMHJN + 2, // 1: Unk3000_LBNFMLHLBIH.rotation:type_name -> MathQuaternion + 3, // 2: Unk3000_LBNFMLHLBIH.center:type_name -> Vector + 3, // 3: Unk3000_LBNFMLHLBIH.Unk3000_LNHPLNEBBIP:type_name -> Vector + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk3000_LBNFMLHLBIH_proto_init() } +func file_Unk3000_LBNFMLHLBIH_proto_init() { + if File_Unk3000_LBNFMLHLBIH_proto != nil { + return + } + file_MathQuaternion_proto_init() + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_LBNFMLHLBIH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LBNFMLHLBIH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LBNFMLHLBIH_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LBNFMLHLBIH_proto_goTypes, + DependencyIndexes: file_Unk3000_LBNFMLHLBIH_proto_depIdxs, + EnumInfos: file_Unk3000_LBNFMLHLBIH_proto_enumTypes, + MessageInfos: file_Unk3000_LBNFMLHLBIH_proto_msgTypes, + }.Build() + File_Unk3000_LBNFMLHLBIH_proto = out.File + file_Unk3000_LBNFMLHLBIH_proto_rawDesc = nil + file_Unk3000_LBNFMLHLBIH_proto_goTypes = nil + file_Unk3000_LBNFMLHLBIH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.proto b/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.proto new file mode 100644 index 00000000..5e0918fa --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LBNFMLHLBIH.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "MathQuaternion.proto"; +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_LBNFMLHLBIH { + Unk3000_GPHBIBGMHJN type = 2; + int32 Unk3000_MFHLAJACMFA = 11; + MathQuaternion rotation = 7; + Vector center = 13; + Vector Unk3000_LNHPLNEBBIP = 14; + + enum Unk3000_GPHBIBGMHJN { + Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_CAPSULE = 0; + Unk3000_GPHBIBGMHJN_OBSTACLE_SHAPE_BOX = 1; + } +} diff --git a/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.pb.go b/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.pb.go new file mode 100644 index 00000000..054a5fbc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LHEMAMBKEKI.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6107 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_LHEMAMBKEKI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_LHEMAMBKEKI) Reset() { + *x = Unk3000_LHEMAMBKEKI{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LHEMAMBKEKI_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LHEMAMBKEKI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LHEMAMBKEKI) ProtoMessage() {} + +func (x *Unk3000_LHEMAMBKEKI) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LHEMAMBKEKI_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LHEMAMBKEKI.ProtoReflect.Descriptor instead. +func (*Unk3000_LHEMAMBKEKI) Descriptor() ([]byte, []int) { + return file_Unk3000_LHEMAMBKEKI_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LHEMAMBKEKI) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_LHEMAMBKEKI_proto protoreflect.FileDescriptor + +var file_Unk3000_LHEMAMBKEKI_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x45, 0x4d, 0x41, 0x4d, + 0x42, 0x4b, 0x45, 0x4b, 0x49, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x48, 0x45, 0x4d, 0x41, 0x4d, 0x42, 0x4b, 0x45, + 0x4b, 0x49, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LHEMAMBKEKI_proto_rawDescOnce sync.Once + file_Unk3000_LHEMAMBKEKI_proto_rawDescData = file_Unk3000_LHEMAMBKEKI_proto_rawDesc +) + +func file_Unk3000_LHEMAMBKEKI_proto_rawDescGZIP() []byte { + file_Unk3000_LHEMAMBKEKI_proto_rawDescOnce.Do(func() { + file_Unk3000_LHEMAMBKEKI_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LHEMAMBKEKI_proto_rawDescData) + }) + return file_Unk3000_LHEMAMBKEKI_proto_rawDescData +} + +var file_Unk3000_LHEMAMBKEKI_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LHEMAMBKEKI_proto_goTypes = []interface{}{ + (*Unk3000_LHEMAMBKEKI)(nil), // 0: Unk3000_LHEMAMBKEKI +} +var file_Unk3000_LHEMAMBKEKI_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_LHEMAMBKEKI_proto_init() } +func file_Unk3000_LHEMAMBKEKI_proto_init() { + if File_Unk3000_LHEMAMBKEKI_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_LHEMAMBKEKI_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LHEMAMBKEKI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LHEMAMBKEKI_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LHEMAMBKEKI_proto_goTypes, + DependencyIndexes: file_Unk3000_LHEMAMBKEKI_proto_depIdxs, + MessageInfos: file_Unk3000_LHEMAMBKEKI_proto_msgTypes, + }.Build() + File_Unk3000_LHEMAMBKEKI_proto = out.File + file_Unk3000_LHEMAMBKEKI_proto_rawDesc = nil + file_Unk3000_LHEMAMBKEKI_proto_goTypes = nil + file_Unk3000_LHEMAMBKEKI_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.proto b/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.proto new file mode 100644 index 00000000..dcde5c40 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LHEMAMBKEKI.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6107 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_LHEMAMBKEKI { + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.pb.go b/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.pb.go new file mode 100644 index 00000000..a99a53f3 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LJIMEHHNHJA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3152 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_LJIMEHHNHJA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk3000_CKLBBGHIIFC []uint32 `protobuf:"varint,6,rep,packed,name=Unk3000_CKLBBGHIIFC,json=Unk3000CKLBBGHIIFC,proto3" json:"Unk3000_CKLBBGHIIFC,omitempty"` +} + +func (x *Unk3000_LJIMEHHNHJA) Reset() { + *x = Unk3000_LJIMEHHNHJA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LJIMEHHNHJA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LJIMEHHNHJA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LJIMEHHNHJA) ProtoMessage() {} + +func (x *Unk3000_LJIMEHHNHJA) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LJIMEHHNHJA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LJIMEHHNHJA.ProtoReflect.Descriptor instead. +func (*Unk3000_LJIMEHHNHJA) Descriptor() ([]byte, []int) { + return file_Unk3000_LJIMEHHNHJA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LJIMEHHNHJA) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_LJIMEHHNHJA) GetUnk3000_CKLBBGHIIFC() []uint32 { + if x != nil { + return x.Unk3000_CKLBBGHIIFC + } + return nil +} + +var File_Unk3000_LJIMEHHNHJA_proto protoreflect.FileDescriptor + +var file_Unk3000_LJIMEHHNHJA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4a, 0x49, 0x4d, 0x45, 0x48, + 0x48, 0x4e, 0x48, 0x4a, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4a, 0x49, 0x4d, 0x45, 0x48, 0x48, 0x4e, 0x48, + 0x4a, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x4b, 0x4c, 0x42, 0x42, 0x47, 0x48, 0x49, + 0x49, 0x46, 0x43, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x43, 0x4b, 0x4c, 0x42, 0x42, 0x47, 0x48, 0x49, 0x49, 0x46, 0x43, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_Unk3000_LJIMEHHNHJA_proto_rawDescOnce sync.Once + file_Unk3000_LJIMEHHNHJA_proto_rawDescData = file_Unk3000_LJIMEHHNHJA_proto_rawDesc +) + +func file_Unk3000_LJIMEHHNHJA_proto_rawDescGZIP() []byte { + file_Unk3000_LJIMEHHNHJA_proto_rawDescOnce.Do(func() { + file_Unk3000_LJIMEHHNHJA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LJIMEHHNHJA_proto_rawDescData) + }) + return file_Unk3000_LJIMEHHNHJA_proto_rawDescData +} + +var file_Unk3000_LJIMEHHNHJA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LJIMEHHNHJA_proto_goTypes = []interface{}{ + (*Unk3000_LJIMEHHNHJA)(nil), // 0: Unk3000_LJIMEHHNHJA +} +var file_Unk3000_LJIMEHHNHJA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_LJIMEHHNHJA_proto_init() } +func file_Unk3000_LJIMEHHNHJA_proto_init() { + if File_Unk3000_LJIMEHHNHJA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_LJIMEHHNHJA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LJIMEHHNHJA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LJIMEHHNHJA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LJIMEHHNHJA_proto_goTypes, + DependencyIndexes: file_Unk3000_LJIMEHHNHJA_proto_depIdxs, + MessageInfos: file_Unk3000_LJIMEHHNHJA_proto_msgTypes, + }.Build() + File_Unk3000_LJIMEHHNHJA_proto = out.File + file_Unk3000_LJIMEHHNHJA_proto_rawDesc = nil + file_Unk3000_LJIMEHHNHJA_proto_goTypes = nil + file_Unk3000_LJIMEHHNHJA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.proto b/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.proto new file mode 100644 index 00000000..8ce9bc2e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LJIMEHHNHJA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3152 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_LJIMEHHNHJA { + int32 retcode = 4; + repeated uint32 Unk3000_CKLBBGHIIFC = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.pb.go b/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.pb.go new file mode 100644 index 00000000..632ab407 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LLBCFCDMCID.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_LLBCFCDMCID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StageId uint32 `protobuf:"varint,13,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` + Difficulty uint32 `protobuf:"varint,2,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + AvatarInfoList []*Unk3000_JACOCADDNFE `protobuf:"bytes,7,rep,name=avatar_info_list,json=avatarInfoList,proto3" json:"avatar_info_list,omitempty"` +} + +func (x *Unk3000_LLBCFCDMCID) Reset() { + *x = Unk3000_LLBCFCDMCID{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LLBCFCDMCID_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LLBCFCDMCID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LLBCFCDMCID) ProtoMessage() {} + +func (x *Unk3000_LLBCFCDMCID) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LLBCFCDMCID_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LLBCFCDMCID.ProtoReflect.Descriptor instead. +func (*Unk3000_LLBCFCDMCID) Descriptor() ([]byte, []int) { + return file_Unk3000_LLBCFCDMCID_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LLBCFCDMCID) GetStageId() uint32 { + if x != nil { + return x.StageId + } + return 0 +} + +func (x *Unk3000_LLBCFCDMCID) GetDifficulty() uint32 { + if x != nil { + return x.Difficulty + } + return 0 +} + +func (x *Unk3000_LLBCFCDMCID) GetAvatarInfoList() []*Unk3000_JACOCADDNFE { + if x != nil { + return x.AvatarInfoList + } + return nil +} + +var File_Unk3000_LLBCFCDMCID_proto protoreflect.FileDescriptor + +var file_Unk3000_LLBCFCDMCID_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x43, 0x46, 0x43, + 0x44, 0x4d, 0x43, 0x49, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x43, 0x46, 0x43, 0x44, 0x4d, 0x43, 0x49, 0x44, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, + 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, + 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x10, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x41, + 0x43, 0x4f, 0x43, 0x41, 0x44, 0x44, 0x4e, 0x46, 0x45, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LLBCFCDMCID_proto_rawDescOnce sync.Once + file_Unk3000_LLBCFCDMCID_proto_rawDescData = file_Unk3000_LLBCFCDMCID_proto_rawDesc +) + +func file_Unk3000_LLBCFCDMCID_proto_rawDescGZIP() []byte { + file_Unk3000_LLBCFCDMCID_proto_rawDescOnce.Do(func() { + file_Unk3000_LLBCFCDMCID_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LLBCFCDMCID_proto_rawDescData) + }) + return file_Unk3000_LLBCFCDMCID_proto_rawDescData +} + +var file_Unk3000_LLBCFCDMCID_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LLBCFCDMCID_proto_goTypes = []interface{}{ + (*Unk3000_LLBCFCDMCID)(nil), // 0: Unk3000_LLBCFCDMCID + (*Unk3000_JACOCADDNFE)(nil), // 1: Unk3000_JACOCADDNFE +} +var file_Unk3000_LLBCFCDMCID_proto_depIdxs = []int32{ + 1, // 0: Unk3000_LLBCFCDMCID.avatar_info_list:type_name -> Unk3000_JACOCADDNFE + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_LLBCFCDMCID_proto_init() } +func file_Unk3000_LLBCFCDMCID_proto_init() { + if File_Unk3000_LLBCFCDMCID_proto != nil { + return + } + file_Unk3000_JACOCADDNFE_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_LLBCFCDMCID_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LLBCFCDMCID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LLBCFCDMCID_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LLBCFCDMCID_proto_goTypes, + DependencyIndexes: file_Unk3000_LLBCFCDMCID_proto_depIdxs, + MessageInfos: file_Unk3000_LLBCFCDMCID_proto_msgTypes, + }.Build() + File_Unk3000_LLBCFCDMCID_proto = out.File + file_Unk3000_LLBCFCDMCID_proto_rawDesc = nil + file_Unk3000_LLBCFCDMCID_proto_goTypes = nil + file_Unk3000_LLBCFCDMCID_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.proto b/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.proto new file mode 100644 index 00000000..00adcf08 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LLBCFCDMCID.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_JACOCADDNFE.proto"; + +option go_package = "./;proto"; + +// CmdId: 24312 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_LLBCFCDMCID { + uint32 stage_id = 13; + uint32 difficulty = 2; + repeated Unk3000_JACOCADDNFE avatar_info_list = 7; +} diff --git a/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.pb.go b/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.pb.go new file mode 100644 index 00000000..b4bc03ac --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LLBHCMKJJHB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_LLBHCMKJJHB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SceneId uint32 `protobuf:"varint,5,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` + Pos *Vector `protobuf:"bytes,9,opt,name=pos,proto3" json:"pos,omitempty"` + GroupId uint32 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ConfigId uint32 `protobuf:"varint,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` +} + +func (x *Unk3000_LLBHCMKJJHB) Reset() { + *x = Unk3000_LLBHCMKJJHB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LLBHCMKJJHB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LLBHCMKJJHB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LLBHCMKJJHB) ProtoMessage() {} + +func (x *Unk3000_LLBHCMKJJHB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LLBHCMKJJHB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LLBHCMKJJHB.ProtoReflect.Descriptor instead. +func (*Unk3000_LLBHCMKJJHB) Descriptor() ([]byte, []int) { + return file_Unk3000_LLBHCMKJJHB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LLBHCMKJJHB) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +func (x *Unk3000_LLBHCMKJJHB) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *Unk3000_LLBHCMKJJHB) GetGroupId() uint32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *Unk3000_LLBHCMKJJHB) GetConfigId() uint32 { + if x != nil { + return x.ConfigId + } + return 0 +} + +var File_Unk3000_LLBHCMKJJHB_proto protoreflect.FileDescriptor + +var file_Unk3000_LLBHCMKJJHB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x48, 0x43, 0x4d, + 0x4b, 0x4a, 0x4a, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4c, 0x42, 0x48, 0x43, 0x4d, 0x4b, 0x4a, 0x4a, 0x48, + 0x42, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x03, + 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LLBHCMKJJHB_proto_rawDescOnce sync.Once + file_Unk3000_LLBHCMKJJHB_proto_rawDescData = file_Unk3000_LLBHCMKJJHB_proto_rawDesc +) + +func file_Unk3000_LLBHCMKJJHB_proto_rawDescGZIP() []byte { + file_Unk3000_LLBHCMKJJHB_proto_rawDescOnce.Do(func() { + file_Unk3000_LLBHCMKJJHB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LLBHCMKJJHB_proto_rawDescData) + }) + return file_Unk3000_LLBHCMKJJHB_proto_rawDescData +} + +var file_Unk3000_LLBHCMKJJHB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LLBHCMKJJHB_proto_goTypes = []interface{}{ + (*Unk3000_LLBHCMKJJHB)(nil), // 0: Unk3000_LLBHCMKJJHB + (*Vector)(nil), // 1: Vector +} +var file_Unk3000_LLBHCMKJJHB_proto_depIdxs = []int32{ + 1, // 0: Unk3000_LLBHCMKJJHB.pos:type_name -> Vector + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_LLBHCMKJJHB_proto_init() } +func file_Unk3000_LLBHCMKJJHB_proto_init() { + if File_Unk3000_LLBHCMKJJHB_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_LLBHCMKJJHB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LLBHCMKJJHB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LLBHCMKJJHB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LLBHCMKJJHB_proto_goTypes, + DependencyIndexes: file_Unk3000_LLBHCMKJJHB_proto_depIdxs, + MessageInfos: file_Unk3000_LLBHCMKJJHB_proto_msgTypes, + }.Build() + File_Unk3000_LLBHCMKJJHB_proto = out.File + file_Unk3000_LLBHCMKJJHB_proto_rawDesc = nil + file_Unk3000_LLBHCMKJJHB_proto_goTypes = nil + file_Unk3000_LLBHCMKJJHB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.proto b/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.proto new file mode 100644 index 00000000..0b0471bf --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LLBHCMKJJHB.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message Unk3000_LLBHCMKJJHB { + uint32 scene_id = 5; + Vector pos = 9; + uint32 group_id = 7; + uint32 config_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.pb.go b/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.pb.go new file mode 100644 index 00000000..5f0ca1a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_LNCOEOMFKAO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_LNCOEOMFKAO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_JCGKNMJFPGC uint32 `protobuf:"varint,1,opt,name=Unk3000_JCGKNMJFPGC,json=Unk3000JCGKNMJFPGC,proto3" json:"Unk3000_JCGKNMJFPGC,omitempty"` + Unk3000_DGDIBEKBBLG uint32 `protobuf:"varint,2,opt,name=Unk3000_DGDIBEKBBLG,json=Unk3000DGDIBEKBBLG,proto3" json:"Unk3000_DGDIBEKBBLG,omitempty"` +} + +func (x *Unk3000_LNCOEOMFKAO) Reset() { + *x = Unk3000_LNCOEOMFKAO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_LNCOEOMFKAO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_LNCOEOMFKAO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_LNCOEOMFKAO) ProtoMessage() {} + +func (x *Unk3000_LNCOEOMFKAO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_LNCOEOMFKAO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_LNCOEOMFKAO.ProtoReflect.Descriptor instead. +func (*Unk3000_LNCOEOMFKAO) Descriptor() ([]byte, []int) { + return file_Unk3000_LNCOEOMFKAO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_LNCOEOMFKAO) GetUnk3000_JCGKNMJFPGC() uint32 { + if x != nil { + return x.Unk3000_JCGKNMJFPGC + } + return 0 +} + +func (x *Unk3000_LNCOEOMFKAO) GetUnk3000_DGDIBEKBBLG() uint32 { + if x != nil { + return x.Unk3000_DGDIBEKBBLG + } + return 0 +} + +var File_Unk3000_LNCOEOMFKAO_proto protoreflect.FileDescriptor + +var file_Unk3000_LNCOEOMFKAO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x4f, 0x45, 0x4f, + 0x4d, 0x46, 0x4b, 0x41, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x4e, 0x43, 0x4f, 0x45, 0x4f, 0x4d, 0x46, 0x4b, + 0x41, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x43, + 0x47, 0x4b, 0x4e, 0x4d, 0x4a, 0x46, 0x50, 0x47, 0x43, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4a, 0x43, 0x47, 0x4b, 0x4e, 0x4d, 0x4a, 0x46, + 0x50, 0x47, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x44, + 0x47, 0x44, 0x49, 0x42, 0x45, 0x4b, 0x42, 0x42, 0x4c, 0x47, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x44, 0x47, 0x44, 0x49, 0x42, 0x45, 0x4b, + 0x42, 0x42, 0x4c, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_LNCOEOMFKAO_proto_rawDescOnce sync.Once + file_Unk3000_LNCOEOMFKAO_proto_rawDescData = file_Unk3000_LNCOEOMFKAO_proto_rawDesc +) + +func file_Unk3000_LNCOEOMFKAO_proto_rawDescGZIP() []byte { + file_Unk3000_LNCOEOMFKAO_proto_rawDescOnce.Do(func() { + file_Unk3000_LNCOEOMFKAO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_LNCOEOMFKAO_proto_rawDescData) + }) + return file_Unk3000_LNCOEOMFKAO_proto_rawDescData +} + +var file_Unk3000_LNCOEOMFKAO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_LNCOEOMFKAO_proto_goTypes = []interface{}{ + (*Unk3000_LNCOEOMFKAO)(nil), // 0: Unk3000_LNCOEOMFKAO +} +var file_Unk3000_LNCOEOMFKAO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_LNCOEOMFKAO_proto_init() } +func file_Unk3000_LNCOEOMFKAO_proto_init() { + if File_Unk3000_LNCOEOMFKAO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_LNCOEOMFKAO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_LNCOEOMFKAO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_LNCOEOMFKAO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_LNCOEOMFKAO_proto_goTypes, + DependencyIndexes: file_Unk3000_LNCOEOMFKAO_proto_depIdxs, + MessageInfos: file_Unk3000_LNCOEOMFKAO_proto_msgTypes, + }.Build() + File_Unk3000_LNCOEOMFKAO_proto = out.File + file_Unk3000_LNCOEOMFKAO_proto_rawDesc = nil + file_Unk3000_LNCOEOMFKAO_proto_goTypes = nil + file_Unk3000_LNCOEOMFKAO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.proto b/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.proto new file mode 100644 index 00000000..0a1684c2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_LNCOEOMFKAO.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_LNCOEOMFKAO { + uint32 Unk3000_JCGKNMJFPGC = 1; + uint32 Unk3000_DGDIBEKBBLG = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.pb.go b/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.pb.go new file mode 100644 index 00000000..7887f810 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_MEFJDDHIAOK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6135 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_MEFJDDHIAOK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version uint32 `protobuf:"varint,14,opt,name=version,proto3" json:"version,omitempty"` + SceneId uint32 `protobuf:"varint,15,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *Unk3000_MEFJDDHIAOK) Reset() { + *x = Unk3000_MEFJDDHIAOK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_MEFJDDHIAOK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_MEFJDDHIAOK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_MEFJDDHIAOK) ProtoMessage() {} + +func (x *Unk3000_MEFJDDHIAOK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_MEFJDDHIAOK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_MEFJDDHIAOK.ProtoReflect.Descriptor instead. +func (*Unk3000_MEFJDDHIAOK) Descriptor() ([]byte, []int) { + return file_Unk3000_MEFJDDHIAOK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_MEFJDDHIAOK) GetVersion() uint32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *Unk3000_MEFJDDHIAOK) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_Unk3000_MEFJDDHIAOK_proto protoreflect.FileDescriptor + +var file_Unk3000_MEFJDDHIAOK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x46, 0x4a, 0x44, 0x44, + 0x48, 0x49, 0x41, 0x4f, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x45, 0x46, 0x4a, 0x44, 0x44, 0x48, 0x49, 0x41, + 0x4f, 0x4b, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, + 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_MEFJDDHIAOK_proto_rawDescOnce sync.Once + file_Unk3000_MEFJDDHIAOK_proto_rawDescData = file_Unk3000_MEFJDDHIAOK_proto_rawDesc +) + +func file_Unk3000_MEFJDDHIAOK_proto_rawDescGZIP() []byte { + file_Unk3000_MEFJDDHIAOK_proto_rawDescOnce.Do(func() { + file_Unk3000_MEFJDDHIAOK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_MEFJDDHIAOK_proto_rawDescData) + }) + return file_Unk3000_MEFJDDHIAOK_proto_rawDescData +} + +var file_Unk3000_MEFJDDHIAOK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_MEFJDDHIAOK_proto_goTypes = []interface{}{ + (*Unk3000_MEFJDDHIAOK)(nil), // 0: Unk3000_MEFJDDHIAOK +} +var file_Unk3000_MEFJDDHIAOK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_MEFJDDHIAOK_proto_init() } +func file_Unk3000_MEFJDDHIAOK_proto_init() { + if File_Unk3000_MEFJDDHIAOK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_MEFJDDHIAOK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_MEFJDDHIAOK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_MEFJDDHIAOK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_MEFJDDHIAOK_proto_goTypes, + DependencyIndexes: file_Unk3000_MEFJDDHIAOK_proto_depIdxs, + MessageInfos: file_Unk3000_MEFJDDHIAOK_proto_msgTypes, + }.Build() + File_Unk3000_MEFJDDHIAOK_proto = out.File + file_Unk3000_MEFJDDHIAOK_proto_rawDesc = nil + file_Unk3000_MEFJDDHIAOK_proto_goTypes = nil + file_Unk3000_MEFJDDHIAOK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.proto b/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.proto new file mode 100644 index 00000000..ba91170c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MEFJDDHIAOK.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6135 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_MEFJDDHIAOK { + uint32 version = 14; + uint32 scene_id = 15; +} diff --git a/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.pb.go b/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.pb.go new file mode 100644 index 00000000..a91c79c6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.pb.go @@ -0,0 +1,278 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_MFCAIADEPGJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG int32 + +const ( + Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_STATUS_FAIL Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG = 0 + Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_STATUS_SUCC Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG = 1 + Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_STATUS_PARTIAL Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG = 2 +) + +// Enum value maps for Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG. +var ( + Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_name = map[int32]string{ + 0: "Unk3000_PNOAFGLCLPG_STATUS_FAIL", + 1: "Unk3000_PNOAFGLCLPG_STATUS_SUCC", + 2: "Unk3000_PNOAFGLCLPG_STATUS_PARTIAL", + } + Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_value = map[string]int32{ + "Unk3000_PNOAFGLCLPG_STATUS_FAIL": 0, + "Unk3000_PNOAFGLCLPG_STATUS_SUCC": 1, + "Unk3000_PNOAFGLCLPG_STATUS_PARTIAL": 2, + } +) + +func (x Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) Enum() *Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG { + p := new(Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) + *p = x + return p +} + +func (x Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_MFCAIADEPGJ_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) Type() protoreflect.EnumType { + return &file_Unk3000_MFCAIADEPGJ_proto_enumTypes[0] +} + +func (x Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG.Descriptor instead. +func (Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_MFCAIADEPGJ_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 6198 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_MFCAIADEPGJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QueryStatus Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG `protobuf:"varint,7,opt,name=query_status,json=queryStatus,proto3,enum=Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG" json:"query_status,omitempty"` + Index []int64 `protobuf:"varint,3,rep,packed,name=index,proto3" json:"index,omitempty"` + Corners []*Vector `protobuf:"bytes,14,rep,name=corners,proto3" json:"corners,omitempty"` + Level []int32 `protobuf:"varint,1,rep,packed,name=level,proto3" json:"level,omitempty"` + Retcode int32 `protobuf:"varint,8,opt,name=retcode,proto3" json:"retcode,omitempty"` + QueryId int32 `protobuf:"varint,9,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` +} + +func (x *Unk3000_MFCAIADEPGJ) Reset() { + *x = Unk3000_MFCAIADEPGJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_MFCAIADEPGJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_MFCAIADEPGJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_MFCAIADEPGJ) ProtoMessage() {} + +func (x *Unk3000_MFCAIADEPGJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_MFCAIADEPGJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_MFCAIADEPGJ.ProtoReflect.Descriptor instead. +func (*Unk3000_MFCAIADEPGJ) Descriptor() ([]byte, []int) { + return file_Unk3000_MFCAIADEPGJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_MFCAIADEPGJ) GetQueryStatus() Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG { + if x != nil { + return x.QueryStatus + } + return Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG_STATUS_FAIL +} + +func (x *Unk3000_MFCAIADEPGJ) GetIndex() []int64 { + if x != nil { + return x.Index + } + return nil +} + +func (x *Unk3000_MFCAIADEPGJ) GetCorners() []*Vector { + if x != nil { + return x.Corners + } + return nil +} + +func (x *Unk3000_MFCAIADEPGJ) GetLevel() []int32 { + if x != nil { + return x.Level + } + return nil +} + +func (x *Unk3000_MFCAIADEPGJ) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *Unk3000_MFCAIADEPGJ) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +var File_Unk3000_MFCAIADEPGJ_proto protoreflect.FileDescriptor + +var file_Unk3000_MFCAIADEPGJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x43, 0x41, 0x49, 0x41, + 0x44, 0x45, 0x50, 0x47, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x02, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x43, 0x41, 0x49, 0x41, 0x44, 0x45, 0x50, 0x47, + 0x4a, 0x12, 0x4b, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4d, 0x46, 0x43, 0x41, 0x49, 0x41, 0x44, 0x45, 0x50, 0x47, 0x4a, 0x2e, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x4f, 0x41, 0x46, 0x47, 0x4c, 0x43, 0x4c, 0x50, + 0x47, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x07, 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, 0x73, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, + 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, + 0x4e, 0x4f, 0x41, 0x46, 0x47, 0x4c, 0x43, 0x4c, 0x50, 0x47, 0x12, 0x23, 0x0a, 0x1f, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x4f, 0x41, 0x46, 0x47, 0x4c, 0x43, 0x4c, 0x50, + 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x00, 0x12, + 0x23, 0x0a, 0x1f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x4f, 0x41, 0x46, + 0x47, 0x4c, 0x43, 0x4c, 0x50, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, + 0x43, 0x43, 0x10, 0x01, 0x12, 0x26, 0x0a, 0x22, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x50, 0x4e, 0x4f, 0x41, 0x46, 0x47, 0x4c, 0x43, 0x4c, 0x50, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_MFCAIADEPGJ_proto_rawDescOnce sync.Once + file_Unk3000_MFCAIADEPGJ_proto_rawDescData = file_Unk3000_MFCAIADEPGJ_proto_rawDesc +) + +func file_Unk3000_MFCAIADEPGJ_proto_rawDescGZIP() []byte { + file_Unk3000_MFCAIADEPGJ_proto_rawDescOnce.Do(func() { + file_Unk3000_MFCAIADEPGJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_MFCAIADEPGJ_proto_rawDescData) + }) + return file_Unk3000_MFCAIADEPGJ_proto_rawDescData +} + +var file_Unk3000_MFCAIADEPGJ_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_MFCAIADEPGJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_MFCAIADEPGJ_proto_goTypes = []interface{}{ + (Unk3000_MFCAIADEPGJ_Unk3000_PNOAFGLCLPG)(0), // 0: Unk3000_MFCAIADEPGJ.Unk3000_PNOAFGLCLPG + (*Unk3000_MFCAIADEPGJ)(nil), // 1: Unk3000_MFCAIADEPGJ + (*Vector)(nil), // 2: Vector +} +var file_Unk3000_MFCAIADEPGJ_proto_depIdxs = []int32{ + 0, // 0: Unk3000_MFCAIADEPGJ.query_status:type_name -> Unk3000_MFCAIADEPGJ.Unk3000_PNOAFGLCLPG + 2, // 1: Unk3000_MFCAIADEPGJ.corners:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_MFCAIADEPGJ_proto_init() } +func file_Unk3000_MFCAIADEPGJ_proto_init() { + if File_Unk3000_MFCAIADEPGJ_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_MFCAIADEPGJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_MFCAIADEPGJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_MFCAIADEPGJ_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_MFCAIADEPGJ_proto_goTypes, + DependencyIndexes: file_Unk3000_MFCAIADEPGJ_proto_depIdxs, + EnumInfos: file_Unk3000_MFCAIADEPGJ_proto_enumTypes, + MessageInfos: file_Unk3000_MFCAIADEPGJ_proto_msgTypes, + }.Build() + File_Unk3000_MFCAIADEPGJ_proto = out.File + file_Unk3000_MFCAIADEPGJ_proto_rawDesc = nil + file_Unk3000_MFCAIADEPGJ_proto_goTypes = nil + file_Unk3000_MFCAIADEPGJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.proto b/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.proto new file mode 100644 index 00000000..032dd729 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MFCAIADEPGJ.proto @@ -0,0 +1,39 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 6198 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_MFCAIADEPGJ { + Unk3000_PNOAFGLCLPG query_status = 7; + repeated int64 index = 3; + repeated Vector corners = 14; + repeated int32 level = 1; + int32 retcode = 8; + int32 query_id = 9; + + enum Unk3000_PNOAFGLCLPG { + Unk3000_PNOAFGLCLPG_STATUS_FAIL = 0; + Unk3000_PNOAFGLCLPG_STATUS_SUCC = 1; + Unk3000_PNOAFGLCLPG_STATUS_PARTIAL = 2; + } +} diff --git a/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.pb.go b/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.pb.go new file mode 100644 index 00000000..91addc79 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_MFHOOFLHNPH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_MFHOOFLHNPH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CFDMLGKNLKL uint32 `protobuf:"varint,2,opt,name=Unk3000_CFDMLGKNLKL,json=Unk3000CFDMLGKNLKL,proto3" json:"Unk3000_CFDMLGKNLKL,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,4,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` +} + +func (x *Unk3000_MFHOOFLHNPH) Reset() { + *x = Unk3000_MFHOOFLHNPH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_MFHOOFLHNPH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_MFHOOFLHNPH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_MFHOOFLHNPH) ProtoMessage() {} + +func (x *Unk3000_MFHOOFLHNPH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_MFHOOFLHNPH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_MFHOOFLHNPH.ProtoReflect.Descriptor instead. +func (*Unk3000_MFHOOFLHNPH) Descriptor() ([]byte, []int) { + return file_Unk3000_MFHOOFLHNPH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_MFHOOFLHNPH) GetUnk3000_CFDMLGKNLKL() uint32 { + if x != nil { + return x.Unk3000_CFDMLGKNLKL + } + return 0 +} + +func (x *Unk3000_MFHOOFLHNPH) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +var File_Unk3000_MFHOOFLHNPH_proto protoreflect.FileDescriptor + +var file_Unk3000_MFHOOFLHNPH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x48, 0x4f, 0x4f, 0x46, + 0x4c, 0x48, 0x4e, 0x50, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x48, 0x4f, 0x4f, 0x46, 0x4c, 0x48, 0x4e, + 0x50, 0x48, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x46, + 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, 0x4c, 0x4b, 0x4c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, + 0x4c, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, + 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, + 0x48, 0x44, 0x41, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_MFHOOFLHNPH_proto_rawDescOnce sync.Once + file_Unk3000_MFHOOFLHNPH_proto_rawDescData = file_Unk3000_MFHOOFLHNPH_proto_rawDesc +) + +func file_Unk3000_MFHOOFLHNPH_proto_rawDescGZIP() []byte { + file_Unk3000_MFHOOFLHNPH_proto_rawDescOnce.Do(func() { + file_Unk3000_MFHOOFLHNPH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_MFHOOFLHNPH_proto_rawDescData) + }) + return file_Unk3000_MFHOOFLHNPH_proto_rawDescData +} + +var file_Unk3000_MFHOOFLHNPH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_MFHOOFLHNPH_proto_goTypes = []interface{}{ + (*Unk3000_MFHOOFLHNPH)(nil), // 0: Unk3000_MFHOOFLHNPH +} +var file_Unk3000_MFHOOFLHNPH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_MFHOOFLHNPH_proto_init() } +func file_Unk3000_MFHOOFLHNPH_proto_init() { + if File_Unk3000_MFHOOFLHNPH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_MFHOOFLHNPH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_MFHOOFLHNPH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_MFHOOFLHNPH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_MFHOOFLHNPH_proto_goTypes, + DependencyIndexes: file_Unk3000_MFHOOFLHNPH_proto_depIdxs, + MessageInfos: file_Unk3000_MFHOOFLHNPH_proto_msgTypes, + }.Build() + File_Unk3000_MFHOOFLHNPH_proto = out.File + file_Unk3000_MFHOOFLHNPH_proto_rawDesc = nil + file_Unk3000_MFHOOFLHNPH_proto_goTypes = nil + file_Unk3000_MFHOOFLHNPH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.proto b/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.proto new file mode 100644 index 00000000..3d286082 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MFHOOFLHNPH.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 419 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_MFHOOFLHNPH { + uint32 Unk3000_CFDMLGKNLKL = 2; + uint32 Unk3000_CIOLEGEHDAC = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.pb.go b/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.pb.go new file mode 100644 index 00000000..d4c36a03 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.pb.go @@ -0,0 +1,180 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_MOIPPIJMIJC.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3323 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_MOIPPIJMIJC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_BBNOIPMEOOJ uint32 `protobuf:"varint,14,opt,name=Unk3000_BBNOIPMEOOJ,json=Unk3000BBNOIPMEOOJ,proto3" json:"Unk3000_BBNOIPMEOOJ,omitempty"` + Unk3000_ABHKMADEKEA Unk3000_INJDOLGMLAG `protobuf:"varint,11,opt,name=Unk3000_ABHKMADEKEA,json=Unk3000ABHKMADEKEA,proto3,enum=Unk3000_INJDOLGMLAG" json:"Unk3000_ABHKMADEKEA,omitempty"` +} + +func (x *Unk3000_MOIPPIJMIJC) Reset() { + *x = Unk3000_MOIPPIJMIJC{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_MOIPPIJMIJC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_MOIPPIJMIJC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_MOIPPIJMIJC) ProtoMessage() {} + +func (x *Unk3000_MOIPPIJMIJC) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_MOIPPIJMIJC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_MOIPPIJMIJC.ProtoReflect.Descriptor instead. +func (*Unk3000_MOIPPIJMIJC) Descriptor() ([]byte, []int) { + return file_Unk3000_MOIPPIJMIJC_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_MOIPPIJMIJC) GetUnk3000_BBNOIPMEOOJ() uint32 { + if x != nil { + return x.Unk3000_BBNOIPMEOOJ + } + return 0 +} + +func (x *Unk3000_MOIPPIJMIJC) GetUnk3000_ABHKMADEKEA() Unk3000_INJDOLGMLAG { + if x != nil { + return x.Unk3000_ABHKMADEKEA + } + return Unk3000_INJDOLGMLAG_Unk3000_INJDOLGMLAG_Unk3000_AHABODBKNKA +} + +var File_Unk3000_MOIPPIJMIJC_proto protoreflect.FileDescriptor + +var file_Unk3000_MOIPPIJMIJC_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x49, 0x50, 0x50, 0x49, + 0x4a, 0x4d, 0x49, 0x4a, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, 0x4f, 0x4c, 0x47, 0x4d, 0x4c, 0x41, 0x47, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x49, 0x50, 0x50, 0x49, 0x4a, 0x4d, 0x49, 0x4a, 0x43, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x42, 0x4e, 0x4f, 0x49, 0x50, + 0x4d, 0x45, 0x4f, 0x4f, 0x4a, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x42, 0x42, 0x4e, 0x4f, 0x49, 0x50, 0x4d, 0x45, 0x4f, 0x4f, 0x4a, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x42, 0x48, 0x4b, 0x4d, + 0x41, 0x44, 0x45, 0x4b, 0x45, 0x41, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x4e, 0x4a, 0x44, 0x4f, 0x4c, 0x47, 0x4d, 0x4c, + 0x41, 0x47, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x42, 0x48, 0x4b, 0x4d, + 0x41, 0x44, 0x45, 0x4b, 0x45, 0x41, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_MOIPPIJMIJC_proto_rawDescOnce sync.Once + file_Unk3000_MOIPPIJMIJC_proto_rawDescData = file_Unk3000_MOIPPIJMIJC_proto_rawDesc +) + +func file_Unk3000_MOIPPIJMIJC_proto_rawDescGZIP() []byte { + file_Unk3000_MOIPPIJMIJC_proto_rawDescOnce.Do(func() { + file_Unk3000_MOIPPIJMIJC_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_MOIPPIJMIJC_proto_rawDescData) + }) + return file_Unk3000_MOIPPIJMIJC_proto_rawDescData +} + +var file_Unk3000_MOIPPIJMIJC_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_MOIPPIJMIJC_proto_goTypes = []interface{}{ + (*Unk3000_MOIPPIJMIJC)(nil), // 0: Unk3000_MOIPPIJMIJC + (Unk3000_INJDOLGMLAG)(0), // 1: Unk3000_INJDOLGMLAG +} +var file_Unk3000_MOIPPIJMIJC_proto_depIdxs = []int32{ + 1, // 0: Unk3000_MOIPPIJMIJC.Unk3000_ABHKMADEKEA:type_name -> Unk3000_INJDOLGMLAG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_MOIPPIJMIJC_proto_init() } +func file_Unk3000_MOIPPIJMIJC_proto_init() { + if File_Unk3000_MOIPPIJMIJC_proto != nil { + return + } + file_Unk3000_INJDOLGMLAG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_MOIPPIJMIJC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_MOIPPIJMIJC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_MOIPPIJMIJC_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_MOIPPIJMIJC_proto_goTypes, + DependencyIndexes: file_Unk3000_MOIPPIJMIJC_proto_depIdxs, + MessageInfos: file_Unk3000_MOIPPIJMIJC_proto_msgTypes, + }.Build() + File_Unk3000_MOIPPIJMIJC_proto = out.File + file_Unk3000_MOIPPIJMIJC_proto_rawDesc = nil + file_Unk3000_MOIPPIJMIJC_proto_goTypes = nil + file_Unk3000_MOIPPIJMIJC_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.proto b/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.proto new file mode 100644 index 00000000..83341d8f --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_MOIPPIJMIJC.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_INJDOLGMLAG.proto"; + +option go_package = "./;proto"; + +// CmdId: 3323 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_MOIPPIJMIJC { + uint32 Unk3000_BBNOIPMEOOJ = 14; + Unk3000_INJDOLGMLAG Unk3000_ABHKMADEKEA = 11; +} diff --git a/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.pb.go b/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.pb.go new file mode 100644 index 00000000..a0e7a88d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.pb.go @@ -0,0 +1,200 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NBGBGODDBMP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6121 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_NBGBGODDBMP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_PHOPHGOGIIK bool `protobuf:"varint,12,opt,name=Unk3000_PHOPHGOGIIK,json=Unk3000PHOPHGOGIIK,proto3" json:"Unk3000_PHOPHGOGIIK,omitempty"` + Unk3000_APCKCDLMGMN *Unk3000_LBNFMLHLBIH `protobuf:"bytes,13,opt,name=Unk3000_APCKCDLMGMN,json=Unk3000APCKCDLMGMN,proto3" json:"Unk3000_APCKCDLMGMN,omitempty"` + QueryId int32 `protobuf:"varint,9,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + SceneId uint32 `protobuf:"varint,3,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *Unk3000_NBGBGODDBMP) Reset() { + *x = Unk3000_NBGBGODDBMP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NBGBGODDBMP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NBGBGODDBMP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NBGBGODDBMP) ProtoMessage() {} + +func (x *Unk3000_NBGBGODDBMP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NBGBGODDBMP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NBGBGODDBMP.ProtoReflect.Descriptor instead. +func (*Unk3000_NBGBGODDBMP) Descriptor() ([]byte, []int) { + return file_Unk3000_NBGBGODDBMP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NBGBGODDBMP) GetUnk3000_PHOPHGOGIIK() bool { + if x != nil { + return x.Unk3000_PHOPHGOGIIK + } + return false +} + +func (x *Unk3000_NBGBGODDBMP) GetUnk3000_APCKCDLMGMN() *Unk3000_LBNFMLHLBIH { + if x != nil { + return x.Unk3000_APCKCDLMGMN + } + return nil +} + +func (x *Unk3000_NBGBGODDBMP) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *Unk3000_NBGBGODDBMP) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_Unk3000_NBGBGODDBMP_proto protoreflect.FileDescriptor + +var file_Unk3000_NBGBGODDBMP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x42, 0x47, 0x42, 0x47, 0x4f, + 0x44, 0x44, 0x42, 0x4d, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4e, 0x46, 0x4d, 0x4c, 0x48, 0x4c, 0x42, 0x49, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4e, 0x42, 0x47, 0x42, 0x47, 0x4f, 0x44, 0x44, 0x42, 0x4d, 0x50, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x4f, 0x50, 0x48, 0x47, + 0x4f, 0x47, 0x49, 0x49, 0x4b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x50, 0x48, 0x4f, 0x50, 0x48, 0x47, 0x4f, 0x47, 0x49, 0x49, 0x4b, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x50, 0x43, 0x4b, 0x43, + 0x44, 0x4c, 0x4d, 0x47, 0x4d, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4c, 0x42, 0x4e, 0x46, 0x4d, 0x4c, 0x48, 0x4c, 0x42, + 0x49, 0x48, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x50, 0x43, 0x4b, 0x43, + 0x44, 0x4c, 0x4d, 0x47, 0x4d, 0x4e, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NBGBGODDBMP_proto_rawDescOnce sync.Once + file_Unk3000_NBGBGODDBMP_proto_rawDescData = file_Unk3000_NBGBGODDBMP_proto_rawDesc +) + +func file_Unk3000_NBGBGODDBMP_proto_rawDescGZIP() []byte { + file_Unk3000_NBGBGODDBMP_proto_rawDescOnce.Do(func() { + file_Unk3000_NBGBGODDBMP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NBGBGODDBMP_proto_rawDescData) + }) + return file_Unk3000_NBGBGODDBMP_proto_rawDescData +} + +var file_Unk3000_NBGBGODDBMP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NBGBGODDBMP_proto_goTypes = []interface{}{ + (*Unk3000_NBGBGODDBMP)(nil), // 0: Unk3000_NBGBGODDBMP + (*Unk3000_LBNFMLHLBIH)(nil), // 1: Unk3000_LBNFMLHLBIH +} +var file_Unk3000_NBGBGODDBMP_proto_depIdxs = []int32{ + 1, // 0: Unk3000_NBGBGODDBMP.Unk3000_APCKCDLMGMN:type_name -> Unk3000_LBNFMLHLBIH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_NBGBGODDBMP_proto_init() } +func file_Unk3000_NBGBGODDBMP_proto_init() { + if File_Unk3000_NBGBGODDBMP_proto != nil { + return + } + file_Unk3000_LBNFMLHLBIH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_NBGBGODDBMP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NBGBGODDBMP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NBGBGODDBMP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NBGBGODDBMP_proto_goTypes, + DependencyIndexes: file_Unk3000_NBGBGODDBMP_proto_depIdxs, + MessageInfos: file_Unk3000_NBGBGODDBMP_proto_msgTypes, + }.Build() + File_Unk3000_NBGBGODDBMP_proto = out.File + file_Unk3000_NBGBGODDBMP_proto_rawDesc = nil + file_Unk3000_NBGBGODDBMP_proto_goTypes = nil + file_Unk3000_NBGBGODDBMP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.proto b/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.proto new file mode 100644 index 00000000..a6d02291 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NBGBGODDBMP.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_LBNFMLHLBIH.proto"; + +option go_package = "./;proto"; + +// CmdId: 6121 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_NBGBGODDBMP { + bool Unk3000_PHOPHGOGIIK = 12; + Unk3000_LBNFMLHLBIH Unk3000_APCKCDLMGMN = 13; + int32 query_id = 9; + uint32 scene_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.pb.go b/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.pb.go new file mode 100644 index 00000000..394ccb86 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.pb.go @@ -0,0 +1,203 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NHPPMHHJPMJ.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 20005 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_NHPPMHHJPMJ struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FinalScore uint32 `protobuf:"varint,11,opt,name=final_score,json=finalScore,proto3" json:"final_score,omitempty"` + Unk3000_MKFIPLFHJNE uint32 `protobuf:"varint,15,opt,name=Unk3000_MKFIPLFHJNE,json=Unk3000MKFIPLFHJNE,proto3" json:"Unk3000_MKFIPLFHJNE,omitempty"` + IsSuccess bool `protobuf:"varint,6,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + LevelId uint32 `protobuf:"varint,10,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + IsNewRecord bool `protobuf:"varint,2,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` +} + +func (x *Unk3000_NHPPMHHJPMJ) Reset() { + *x = Unk3000_NHPPMHHJPMJ{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NHPPMHHJPMJ_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NHPPMHHJPMJ) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NHPPMHHJPMJ) ProtoMessage() {} + +func (x *Unk3000_NHPPMHHJPMJ) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NHPPMHHJPMJ_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NHPPMHHJPMJ.ProtoReflect.Descriptor instead. +func (*Unk3000_NHPPMHHJPMJ) Descriptor() ([]byte, []int) { + return file_Unk3000_NHPPMHHJPMJ_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NHPPMHHJPMJ) GetFinalScore() uint32 { + if x != nil { + return x.FinalScore + } + return 0 +} + +func (x *Unk3000_NHPPMHHJPMJ) GetUnk3000_MKFIPLFHJNE() uint32 { + if x != nil { + return x.Unk3000_MKFIPLFHJNE + } + return 0 +} + +func (x *Unk3000_NHPPMHHJPMJ) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk3000_NHPPMHHJPMJ) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_NHPPMHHJPMJ) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +var File_Unk3000_NHPPMHHJPMJ_proto protoreflect.FileDescriptor + +var file_Unk3000_NHPPMHHJPMJ_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x50, 0x50, 0x4d, 0x48, + 0x48, 0x4a, 0x50, 0x4d, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x48, 0x50, 0x50, 0x4d, 0x48, 0x48, 0x4a, + 0x50, 0x4d, 0x4a, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4d, 0x4b, 0x46, 0x49, 0x50, 0x4c, 0x46, 0x48, 0x4a, 0x4e, 0x45, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x46, 0x49, 0x50, 0x4c, + 0x46, 0x48, 0x4a, 0x4e, 0x45, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, + 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NHPPMHHJPMJ_proto_rawDescOnce sync.Once + file_Unk3000_NHPPMHHJPMJ_proto_rawDescData = file_Unk3000_NHPPMHHJPMJ_proto_rawDesc +) + +func file_Unk3000_NHPPMHHJPMJ_proto_rawDescGZIP() []byte { + file_Unk3000_NHPPMHHJPMJ_proto_rawDescOnce.Do(func() { + file_Unk3000_NHPPMHHJPMJ_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NHPPMHHJPMJ_proto_rawDescData) + }) + return file_Unk3000_NHPPMHHJPMJ_proto_rawDescData +} + +var file_Unk3000_NHPPMHHJPMJ_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NHPPMHHJPMJ_proto_goTypes = []interface{}{ + (*Unk3000_NHPPMHHJPMJ)(nil), // 0: Unk3000_NHPPMHHJPMJ +} +var file_Unk3000_NHPPMHHJPMJ_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_NHPPMHHJPMJ_proto_init() } +func file_Unk3000_NHPPMHHJPMJ_proto_init() { + if File_Unk3000_NHPPMHHJPMJ_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_NHPPMHHJPMJ_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NHPPMHHJPMJ); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NHPPMHHJPMJ_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NHPPMHHJPMJ_proto_goTypes, + DependencyIndexes: file_Unk3000_NHPPMHHJPMJ_proto_depIdxs, + MessageInfos: file_Unk3000_NHPPMHHJPMJ_proto_msgTypes, + }.Build() + File_Unk3000_NHPPMHHJPMJ_proto = out.File + file_Unk3000_NHPPMHHJPMJ_proto_rawDesc = nil + file_Unk3000_NHPPMHHJPMJ_proto_goTypes = nil + file_Unk3000_NHPPMHHJPMJ_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.proto b/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.proto new file mode 100644 index 00000000..0d6bec2a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NHPPMHHJPMJ.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 20005 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_NHPPMHHJPMJ { + uint32 final_score = 11; + uint32 Unk3000_MKFIPLFHJNE = 15; + bool is_success = 6; + uint32 level_id = 10; + bool is_new_record = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.pb.go b/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.pb.go new file mode 100644 index 00000000..f80f9d17 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NJNPNJDFEOL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_NJNPNJDFEOL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_NJNPNJDFEOL) Reset() { + *x = Unk3000_NJNPNJDFEOL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NJNPNJDFEOL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NJNPNJDFEOL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NJNPNJDFEOL) ProtoMessage() {} + +func (x *Unk3000_NJNPNJDFEOL) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NJNPNJDFEOL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NJNPNJDFEOL.ProtoReflect.Descriptor instead. +func (*Unk3000_NJNPNJDFEOL) Descriptor() ([]byte, []int) { + return file_Unk3000_NJNPNJDFEOL_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_NJNPNJDFEOL_proto protoreflect.FileDescriptor + +var file_Unk3000_NJNPNJDFEOL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4a, 0x4e, 0x50, 0x4e, 0x4a, + 0x44, 0x46, 0x45, 0x4f, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4a, 0x4e, 0x50, 0x4e, 0x4a, 0x44, 0x46, 0x45, + 0x4f, 0x4c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NJNPNJDFEOL_proto_rawDescOnce sync.Once + file_Unk3000_NJNPNJDFEOL_proto_rawDescData = file_Unk3000_NJNPNJDFEOL_proto_rawDesc +) + +func file_Unk3000_NJNPNJDFEOL_proto_rawDescGZIP() []byte { + file_Unk3000_NJNPNJDFEOL_proto_rawDescOnce.Do(func() { + file_Unk3000_NJNPNJDFEOL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NJNPNJDFEOL_proto_rawDescData) + }) + return file_Unk3000_NJNPNJDFEOL_proto_rawDescData +} + +var file_Unk3000_NJNPNJDFEOL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NJNPNJDFEOL_proto_goTypes = []interface{}{ + (*Unk3000_NJNPNJDFEOL)(nil), // 0: Unk3000_NJNPNJDFEOL +} +var file_Unk3000_NJNPNJDFEOL_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_NJNPNJDFEOL_proto_init() } +func file_Unk3000_NJNPNJDFEOL_proto_init() { + if File_Unk3000_NJNPNJDFEOL_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_NJNPNJDFEOL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NJNPNJDFEOL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NJNPNJDFEOL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NJNPNJDFEOL_proto_goTypes, + DependencyIndexes: file_Unk3000_NJNPNJDFEOL_proto_depIdxs, + MessageInfos: file_Unk3000_NJNPNJDFEOL_proto_msgTypes, + }.Build() + File_Unk3000_NJNPNJDFEOL_proto = out.File + file_Unk3000_NJNPNJDFEOL_proto_rawDesc = nil + file_Unk3000_NJNPNJDFEOL_proto_goTypes = nil + file_Unk3000_NJNPNJDFEOL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.proto b/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.proto new file mode 100644 index 00000000..159f31b4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NJNPNJDFEOL.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 6112 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_NJNPNJDFEOL {} diff --git a/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.pb.go b/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.pb.go new file mode 100644 index 00000000..ddb88b2c --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NLFNMGEJDPG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_NLFNMGEJDPG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_NLFNMGEJDPG) Reset() { + *x = Unk3000_NLFNMGEJDPG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NLFNMGEJDPG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NLFNMGEJDPG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NLFNMGEJDPG) ProtoMessage() {} + +func (x *Unk3000_NLFNMGEJDPG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NLFNMGEJDPG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NLFNMGEJDPG.ProtoReflect.Descriptor instead. +func (*Unk3000_NLFNMGEJDPG) Descriptor() ([]byte, []int) { + return file_Unk3000_NLFNMGEJDPG_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_NLFNMGEJDPG_proto protoreflect.FileDescriptor + +var file_Unk3000_NLFNMGEJDPG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x4e, 0x4d, 0x47, + 0x45, 0x4a, 0x44, 0x50, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4c, 0x46, 0x4e, 0x4d, 0x47, 0x45, 0x4a, 0x44, + 0x50, 0x47, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NLFNMGEJDPG_proto_rawDescOnce sync.Once + file_Unk3000_NLFNMGEJDPG_proto_rawDescData = file_Unk3000_NLFNMGEJDPG_proto_rawDesc +) + +func file_Unk3000_NLFNMGEJDPG_proto_rawDescGZIP() []byte { + file_Unk3000_NLFNMGEJDPG_proto_rawDescOnce.Do(func() { + file_Unk3000_NLFNMGEJDPG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NLFNMGEJDPG_proto_rawDescData) + }) + return file_Unk3000_NLFNMGEJDPG_proto_rawDescData +} + +var file_Unk3000_NLFNMGEJDPG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NLFNMGEJDPG_proto_goTypes = []interface{}{ + (*Unk3000_NLFNMGEJDPG)(nil), // 0: Unk3000_NLFNMGEJDPG +} +var file_Unk3000_NLFNMGEJDPG_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_NLFNMGEJDPG_proto_init() } +func file_Unk3000_NLFNMGEJDPG_proto_init() { + if File_Unk3000_NLFNMGEJDPG_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_NLFNMGEJDPG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NLFNMGEJDPG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NLFNMGEJDPG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NLFNMGEJDPG_proto_goTypes, + DependencyIndexes: file_Unk3000_NLFNMGEJDPG_proto_depIdxs, + MessageInfos: file_Unk3000_NLFNMGEJDPG_proto_msgTypes, + }.Build() + File_Unk3000_NLFNMGEJDPG_proto = out.File + file_Unk3000_NLFNMGEJDPG_proto_rawDesc = nil + file_Unk3000_NLFNMGEJDPG_proto_goTypes = nil + file_Unk3000_NLFNMGEJDPG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.proto b/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.proto new file mode 100644 index 00000000..73a50ce9 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NLFNMGEJDPG.proto @@ -0,0 +1,21 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_NLFNMGEJDPG {} diff --git a/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.pb.go b/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.pb.go new file mode 100644 index 00000000..80185921 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NMEJCJFJPHM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 24923 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_NMEJCJFJPHM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LevelId uint32 `protobuf:"varint,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_NMEJCJFJPHM) Reset() { + *x = Unk3000_NMEJCJFJPHM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NMEJCJFJPHM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NMEJCJFJPHM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NMEJCJFJPHM) ProtoMessage() {} + +func (x *Unk3000_NMEJCJFJPHM) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NMEJCJFJPHM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NMEJCJFJPHM.ProtoReflect.Descriptor instead. +func (*Unk3000_NMEJCJFJPHM) Descriptor() ([]byte, []int) { + return file_Unk3000_NMEJCJFJPHM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NMEJCJFJPHM) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +func (x *Unk3000_NMEJCJFJPHM) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_NMEJCJFJPHM_proto protoreflect.FileDescriptor + +var file_Unk3000_NMEJCJFJPHM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x4a, 0x43, 0x4a, + 0x46, 0x4a, 0x50, 0x48, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x4a, 0x43, 0x4a, 0x46, 0x4a, 0x50, + 0x48, 0x4d, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NMEJCJFJPHM_proto_rawDescOnce sync.Once + file_Unk3000_NMEJCJFJPHM_proto_rawDescData = file_Unk3000_NMEJCJFJPHM_proto_rawDesc +) + +func file_Unk3000_NMEJCJFJPHM_proto_rawDescGZIP() []byte { + file_Unk3000_NMEJCJFJPHM_proto_rawDescOnce.Do(func() { + file_Unk3000_NMEJCJFJPHM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NMEJCJFJPHM_proto_rawDescData) + }) + return file_Unk3000_NMEJCJFJPHM_proto_rawDescData +} + +var file_Unk3000_NMEJCJFJPHM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NMEJCJFJPHM_proto_goTypes = []interface{}{ + (*Unk3000_NMEJCJFJPHM)(nil), // 0: Unk3000_NMEJCJFJPHM +} +var file_Unk3000_NMEJCJFJPHM_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_NMEJCJFJPHM_proto_init() } +func file_Unk3000_NMEJCJFJPHM_proto_init() { + if File_Unk3000_NMEJCJFJPHM_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_NMEJCJFJPHM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NMEJCJFJPHM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NMEJCJFJPHM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NMEJCJFJPHM_proto_goTypes, + DependencyIndexes: file_Unk3000_NMEJCJFJPHM_proto_depIdxs, + MessageInfos: file_Unk3000_NMEJCJFJPHM_proto_msgTypes, + }.Build() + File_Unk3000_NMEJCJFJPHM_proto = out.File + file_Unk3000_NMEJCJFJPHM_proto_rawDesc = nil + file_Unk3000_NMEJCJFJPHM_proto_goTypes = nil + file_Unk3000_NMEJCJFJPHM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.proto b/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.proto new file mode 100644 index 00000000..e7a6163f --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NMEJCJFJPHM.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 24923 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_NMEJCJFJPHM { + uint32 level_id = 1; + int32 retcode = 13; +} diff --git a/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.pb.go b/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.pb.go new file mode 100644 index 00000000..181b8796 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.pb.go @@ -0,0 +1,381 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NMENEAHJGKE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK int32 + +const ( + Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK_OPTION_NONE Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK = 0 + Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK_OPTION_NORMAL Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK = 1 +) + +// Enum value maps for Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK. +var ( + Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK_name = map[int32]string{ + 0: "Unk3000_MPAGIMDCEDK_OPTION_NONE", + 1: "Unk3000_MPAGIMDCEDK_OPTION_NORMAL", + } + Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK_value = map[string]int32{ + "Unk3000_MPAGIMDCEDK_OPTION_NONE": 0, + "Unk3000_MPAGIMDCEDK_OPTION_NORMAL": 1, + } +) + +func (x Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) Enum() *Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK { + p := new(Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) + *p = x + return p +} + +func (x Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_NMENEAHJGKE_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) Type() protoreflect.EnumType { + return &file_Unk3000_NMENEAHJGKE_proto_enumTypes[0] +} + +func (x Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK.Descriptor instead. +func (Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_NMENEAHJGKE_proto_rawDescGZIP(), []int{0, 0} +} + +type Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH int32 + +const ( + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_Unk3000_HLJABAKPIOI Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH = 0 + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_Unk3000_ICILODFJDCO Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH = 1 + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_Unk3000_IHILBIFGFEE Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH = 2 + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_Unk3000_IDPBKAOFEJD Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH = 3 +) + +// Enum value maps for Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH. +var ( + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_name = map[int32]string{ + 0: "Unk3000_BCDLJFDFBFH_Unk3000_HLJABAKPIOI", + 1: "Unk3000_BCDLJFDFBFH_Unk3000_ICILODFJDCO", + 2: "Unk3000_BCDLJFDFBFH_Unk3000_IHILBIFGFEE", + 3: "Unk3000_BCDLJFDFBFH_Unk3000_IDPBKAOFEJD", + } + Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_value = map[string]int32{ + "Unk3000_BCDLJFDFBFH_Unk3000_HLJABAKPIOI": 0, + "Unk3000_BCDLJFDFBFH_Unk3000_ICILODFJDCO": 1, + "Unk3000_BCDLJFDFBFH_Unk3000_IHILBIFGFEE": 2, + "Unk3000_BCDLJFDFBFH_Unk3000_IDPBKAOFEJD": 3, + } +) + +func (x Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) Enum() *Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH { + p := new(Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) + *p = x + return p +} + +func (x Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_NMENEAHJGKE_proto_enumTypes[1].Descriptor() +} + +func (Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) Type() protoreflect.EnumType { + return &file_Unk3000_NMENEAHJGKE_proto_enumTypes[1] +} + +func (x Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH.Descriptor instead. +func (Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_NMENEAHJGKE_proto_rawDescGZIP(), []int{0, 1} +} + +// CmdId: 6172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_NMENEAHJGKE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SourcePos *Vector `protobuf:"bytes,10,opt,name=source_pos,json=sourcePos,proto3" json:"source_pos,omitempty"` + Unk3000_HAACAHAJJOC bool `protobuf:"varint,5,opt,name=Unk3000_HAACAHAJJOC,json=Unk3000HAACAHAJJOC,proto3" json:"Unk3000_HAACAHAJJOC,omitempty"` + Unk3000_GIIFEGOPHDF bool `protobuf:"varint,13,opt,name=Unk3000_GIIFEGOPHDF,json=Unk3000GIIFEGOPHDF,proto3" json:"Unk3000_GIIFEGOPHDF,omitempty"` + Unk3000_FNEDHNGIFNC int32 `protobuf:"varint,15,opt,name=Unk3000_FNEDHNGIFNC,json=Unk3000FNEDHNGIFNC,proto3" json:"Unk3000_FNEDHNGIFNC,omitempty"` + QueryType Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK `protobuf:"varint,8,opt,name=query_type,json=queryType,proto3,enum=Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK" json:"query_type,omitempty"` + Unk3000_OBGPENBMEGG Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH `protobuf:"varint,1,opt,name=Unk3000_OBGPENBMEGG,json=Unk3000OBGPENBMEGG,proto3,enum=Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH" json:"Unk3000_OBGPENBMEGG,omitempty"` + DestinationPos *Vector `protobuf:"bytes,9,opt,name=destination_pos,json=destinationPos,proto3" json:"destination_pos,omitempty"` + QueryId int32 `protobuf:"varint,11,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + SceneId uint32 `protobuf:"varint,6,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *Unk3000_NMENEAHJGKE) Reset() { + *x = Unk3000_NMENEAHJGKE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NMENEAHJGKE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NMENEAHJGKE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NMENEAHJGKE) ProtoMessage() {} + +func (x *Unk3000_NMENEAHJGKE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NMENEAHJGKE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NMENEAHJGKE.ProtoReflect.Descriptor instead. +func (*Unk3000_NMENEAHJGKE) Descriptor() ([]byte, []int) { + return file_Unk3000_NMENEAHJGKE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NMENEAHJGKE) GetSourcePos() *Vector { + if x != nil { + return x.SourcePos + } + return nil +} + +func (x *Unk3000_NMENEAHJGKE) GetUnk3000_HAACAHAJJOC() bool { + if x != nil { + return x.Unk3000_HAACAHAJJOC + } + return false +} + +func (x *Unk3000_NMENEAHJGKE) GetUnk3000_GIIFEGOPHDF() bool { + if x != nil { + return x.Unk3000_GIIFEGOPHDF + } + return false +} + +func (x *Unk3000_NMENEAHJGKE) GetUnk3000_FNEDHNGIFNC() int32 { + if x != nil { + return x.Unk3000_FNEDHNGIFNC + } + return 0 +} + +func (x *Unk3000_NMENEAHJGKE) GetQueryType() Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK { + if x != nil { + return x.QueryType + } + return Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK_OPTION_NONE +} + +func (x *Unk3000_NMENEAHJGKE) GetUnk3000_OBGPENBMEGG() Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH { + if x != nil { + return x.Unk3000_OBGPENBMEGG + } + return Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH_Unk3000_HLJABAKPIOI +} + +func (x *Unk3000_NMENEAHJGKE) GetDestinationPos() *Vector { + if x != nil { + return x.DestinationPos + } + return nil +} + +func (x *Unk3000_NMENEAHJGKE) GetQueryId() int32 { + if x != nil { + return x.QueryId + } + return 0 +} + +func (x *Unk3000_NMENEAHJGKE) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_Unk3000_NMENEAHJGKE_proto protoreflect.FileDescriptor + +var file_Unk3000_NMENEAHJGKE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x4e, 0x45, 0x41, + 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x06, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x4e, 0x45, 0x41, 0x48, 0x4a, 0x47, 0x4b, + 0x45, 0x12, 0x26, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x41, 0x41, 0x43, 0x41, 0x48, 0x41, 0x4a, 0x4a, 0x4f, 0x43, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, + 0x41, 0x41, 0x43, 0x41, 0x48, 0x41, 0x4a, 0x4a, 0x4f, 0x43, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x49, 0x49, 0x46, 0x45, 0x47, 0x4f, 0x50, 0x48, 0x44, + 0x46, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x47, 0x49, 0x49, 0x46, 0x45, 0x47, 0x4f, 0x50, 0x48, 0x44, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4e, 0x45, 0x44, 0x48, 0x4e, 0x47, 0x49, 0x46, + 0x4e, 0x43, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x46, 0x4e, 0x45, 0x44, 0x48, 0x4e, 0x47, 0x49, 0x46, 0x4e, 0x43, 0x12, 0x47, 0x0a, 0x0a, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x28, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, 0x4e, 0x45, + 0x41, 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, + 0x50, 0x41, 0x47, 0x49, 0x4d, 0x44, 0x43, 0x45, 0x44, 0x4b, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x59, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x4f, 0x42, 0x47, 0x50, 0x45, 0x4e, 0x42, 0x4d, 0x45, 0x47, 0x47, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4d, 0x45, + 0x4e, 0x45, 0x41, 0x48, 0x4a, 0x47, 0x4b, 0x45, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x42, 0x43, 0x44, 0x4c, 0x4a, 0x46, 0x44, 0x46, 0x42, 0x46, 0x48, 0x52, 0x12, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x42, 0x47, 0x50, 0x45, 0x4e, 0x42, 0x4d, 0x45, 0x47, 0x47, + 0x12, 0x30, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x70, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x41, 0x47, 0x49, 0x4d, 0x44, 0x43, 0x45, 0x44, 0x4b, 0x12, + 0x23, 0x0a, 0x1f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x50, 0x41, 0x47, 0x49, + 0x4d, 0x44, 0x43, 0x45, 0x44, 0x4b, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x4d, 0x50, 0x41, 0x47, 0x49, 0x4d, 0x44, 0x43, 0x45, 0x44, 0x4b, 0x5f, 0x4f, 0x50, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x22, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x44, 0x4c, 0x4a, 0x46, 0x44, 0x46, + 0x42, 0x46, 0x48, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, + 0x43, 0x44, 0x4c, 0x4a, 0x46, 0x44, 0x46, 0x42, 0x46, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x48, 0x4c, 0x4a, 0x41, 0x42, 0x41, 0x4b, 0x50, 0x49, 0x4f, 0x49, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x44, 0x4c, + 0x4a, 0x46, 0x44, 0x46, 0x42, 0x46, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x49, 0x43, 0x49, 0x4c, 0x4f, 0x44, 0x46, 0x4a, 0x44, 0x43, 0x4f, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x44, 0x4c, 0x4a, 0x46, 0x44, + 0x46, 0x42, 0x46, 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x48, 0x49, + 0x4c, 0x42, 0x49, 0x46, 0x47, 0x46, 0x45, 0x45, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x43, 0x44, 0x4c, 0x4a, 0x46, 0x44, 0x46, 0x42, 0x46, + 0x48, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x49, 0x44, 0x50, 0x42, 0x4b, 0x41, + 0x4f, 0x46, 0x45, 0x4a, 0x44, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NMENEAHJGKE_proto_rawDescOnce sync.Once + file_Unk3000_NMENEAHJGKE_proto_rawDescData = file_Unk3000_NMENEAHJGKE_proto_rawDesc +) + +func file_Unk3000_NMENEAHJGKE_proto_rawDescGZIP() []byte { + file_Unk3000_NMENEAHJGKE_proto_rawDescOnce.Do(func() { + file_Unk3000_NMENEAHJGKE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NMENEAHJGKE_proto_rawDescData) + }) + return file_Unk3000_NMENEAHJGKE_proto_rawDescData +} + +var file_Unk3000_NMENEAHJGKE_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_Unk3000_NMENEAHJGKE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NMENEAHJGKE_proto_goTypes = []interface{}{ + (Unk3000_NMENEAHJGKE_Unk3000_MPAGIMDCEDK)(0), // 0: Unk3000_NMENEAHJGKE.Unk3000_MPAGIMDCEDK + (Unk3000_NMENEAHJGKE_Unk3000_BCDLJFDFBFH)(0), // 1: Unk3000_NMENEAHJGKE.Unk3000_BCDLJFDFBFH + (*Unk3000_NMENEAHJGKE)(nil), // 2: Unk3000_NMENEAHJGKE + (*Vector)(nil), // 3: Vector +} +var file_Unk3000_NMENEAHJGKE_proto_depIdxs = []int32{ + 3, // 0: Unk3000_NMENEAHJGKE.source_pos:type_name -> Vector + 0, // 1: Unk3000_NMENEAHJGKE.query_type:type_name -> Unk3000_NMENEAHJGKE.Unk3000_MPAGIMDCEDK + 1, // 2: Unk3000_NMENEAHJGKE.Unk3000_OBGPENBMEGG:type_name -> Unk3000_NMENEAHJGKE.Unk3000_BCDLJFDFBFH + 3, // 3: Unk3000_NMENEAHJGKE.destination_pos:type_name -> Vector + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_Unk3000_NMENEAHJGKE_proto_init() } +func file_Unk3000_NMENEAHJGKE_proto_init() { + if File_Unk3000_NMENEAHJGKE_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_NMENEAHJGKE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NMENEAHJGKE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NMENEAHJGKE_proto_rawDesc, + NumEnums: 2, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NMENEAHJGKE_proto_goTypes, + DependencyIndexes: file_Unk3000_NMENEAHJGKE_proto_depIdxs, + EnumInfos: file_Unk3000_NMENEAHJGKE_proto_enumTypes, + MessageInfos: file_Unk3000_NMENEAHJGKE_proto_msgTypes, + }.Build() + File_Unk3000_NMENEAHJGKE_proto = out.File + file_Unk3000_NMENEAHJGKE_proto_rawDesc = nil + file_Unk3000_NMENEAHJGKE_proto_goTypes = nil + file_Unk3000_NMENEAHJGKE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.proto b/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.proto new file mode 100644 index 00000000..898dcfe0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NMENEAHJGKE.proto @@ -0,0 +1,49 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 6172 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_NMENEAHJGKE { + Vector source_pos = 10; + bool Unk3000_HAACAHAJJOC = 5; + bool Unk3000_GIIFEGOPHDF = 13; + int32 Unk3000_FNEDHNGIFNC = 15; + Unk3000_MPAGIMDCEDK query_type = 8; + Unk3000_BCDLJFDFBFH Unk3000_OBGPENBMEGG = 1; + Vector destination_pos = 9; + int32 query_id = 11; + uint32 scene_id = 6; + + enum Unk3000_MPAGIMDCEDK { + Unk3000_MPAGIMDCEDK_OPTION_NONE = 0; + Unk3000_MPAGIMDCEDK_OPTION_NORMAL = 1; + } + + enum Unk3000_BCDLJFDFBFH { + Unk3000_BCDLJFDFBFH_Unk3000_HLJABAKPIOI = 0; + Unk3000_BCDLJFDFBFH_Unk3000_ICILODFJDCO = 1; + Unk3000_BCDLJFDFBFH_Unk3000_IHILBIFGFEE = 2; + Unk3000_BCDLJFDFBFH_Unk3000_IDPBKAOFEJD = 3; + } +} diff --git a/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.pb.go b/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.pb.go new file mode 100644 index 00000000..6a104e78 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NNPCGEAHNHM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6268 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_NNPCGEAHNHM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_ALGOLKMONEF []*Unk3000_BOBIJEDOFKG `protobuf:"bytes,8,rep,name=Unk3000_ALGOLKMONEF,json=Unk3000ALGOLKMONEF,proto3" json:"Unk3000_ALGOLKMONEF,omitempty"` +} + +func (x *Unk3000_NNPCGEAHNHM) Reset() { + *x = Unk3000_NNPCGEAHNHM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NNPCGEAHNHM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NNPCGEAHNHM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NNPCGEAHNHM) ProtoMessage() {} + +func (x *Unk3000_NNPCGEAHNHM) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NNPCGEAHNHM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NNPCGEAHNHM.ProtoReflect.Descriptor instead. +func (*Unk3000_NNPCGEAHNHM) Descriptor() ([]byte, []int) { + return file_Unk3000_NNPCGEAHNHM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NNPCGEAHNHM) GetUnk3000_ALGOLKMONEF() []*Unk3000_BOBIJEDOFKG { + if x != nil { + return x.Unk3000_ALGOLKMONEF + } + return nil +} + +var File_Unk3000_NNPCGEAHNHM_proto protoreflect.FileDescriptor + +var file_Unk3000_NNPCGEAHNHM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4e, 0x50, 0x43, 0x47, 0x45, + 0x41, 0x48, 0x4e, 0x48, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x42, 0x49, 0x4a, 0x45, 0x44, 0x4f, 0x46, 0x4b, 0x47, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4e, 0x4e, 0x50, 0x43, 0x47, 0x45, 0x41, 0x48, 0x4e, 0x48, 0x4d, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x4c, 0x4b, 0x4d, + 0x4f, 0x4e, 0x45, 0x46, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x4f, 0x42, 0x49, 0x4a, 0x45, 0x44, 0x4f, 0x46, 0x4b, 0x47, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x41, 0x4c, 0x47, 0x4f, 0x4c, 0x4b, 0x4d, + 0x4f, 0x4e, 0x45, 0x46, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NNPCGEAHNHM_proto_rawDescOnce sync.Once + file_Unk3000_NNPCGEAHNHM_proto_rawDescData = file_Unk3000_NNPCGEAHNHM_proto_rawDesc +) + +func file_Unk3000_NNPCGEAHNHM_proto_rawDescGZIP() []byte { + file_Unk3000_NNPCGEAHNHM_proto_rawDescOnce.Do(func() { + file_Unk3000_NNPCGEAHNHM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NNPCGEAHNHM_proto_rawDescData) + }) + return file_Unk3000_NNPCGEAHNHM_proto_rawDescData +} + +var file_Unk3000_NNPCGEAHNHM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NNPCGEAHNHM_proto_goTypes = []interface{}{ + (*Unk3000_NNPCGEAHNHM)(nil), // 0: Unk3000_NNPCGEAHNHM + (*Unk3000_BOBIJEDOFKG)(nil), // 1: Unk3000_BOBIJEDOFKG +} +var file_Unk3000_NNPCGEAHNHM_proto_depIdxs = []int32{ + 1, // 0: Unk3000_NNPCGEAHNHM.Unk3000_ALGOLKMONEF:type_name -> Unk3000_BOBIJEDOFKG + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_NNPCGEAHNHM_proto_init() } +func file_Unk3000_NNPCGEAHNHM_proto_init() { + if File_Unk3000_NNPCGEAHNHM_proto != nil { + return + } + file_Unk3000_BOBIJEDOFKG_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_NNPCGEAHNHM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NNPCGEAHNHM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NNPCGEAHNHM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NNPCGEAHNHM_proto_goTypes, + DependencyIndexes: file_Unk3000_NNPCGEAHNHM_proto_depIdxs, + MessageInfos: file_Unk3000_NNPCGEAHNHM_proto_msgTypes, + }.Build() + File_Unk3000_NNPCGEAHNHM_proto = out.File + file_Unk3000_NNPCGEAHNHM_proto_rawDesc = nil + file_Unk3000_NNPCGEAHNHM_proto_goTypes = nil + file_Unk3000_NNPCGEAHNHM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.proto b/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.proto new file mode 100644 index 00000000..2a1d52c4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NNPCGEAHNHM.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_BOBIJEDOFKG.proto"; + +option go_package = "./;proto"; + +// CmdId: 6268 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_NNPCGEAHNHM { + repeated Unk3000_BOBIJEDOFKG Unk3000_ALGOLKMONEF = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.pb.go b/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.pb.go new file mode 100644 index 00000000..bda0e4ad --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NOMEJNJKGGL.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3345 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_NOMEJNJKGGL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_GGGLAIIIJOJ []*Unk3000_EMMKKLIECLB `protobuf:"bytes,5,rep,name=Unk3000_GGGLAIIIJOJ,json=Unk3000GGGLAIIIJOJ,proto3" json:"Unk3000_GGGLAIIIJOJ,omitempty"` +} + +func (x *Unk3000_NOMEJNJKGGL) Reset() { + *x = Unk3000_NOMEJNJKGGL{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NOMEJNJKGGL_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NOMEJNJKGGL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NOMEJNJKGGL) ProtoMessage() {} + +func (x *Unk3000_NOMEJNJKGGL) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NOMEJNJKGGL_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NOMEJNJKGGL.ProtoReflect.Descriptor instead. +func (*Unk3000_NOMEJNJKGGL) Descriptor() ([]byte, []int) { + return file_Unk3000_NOMEJNJKGGL_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NOMEJNJKGGL) GetUnk3000_GGGLAIIIJOJ() []*Unk3000_EMMKKLIECLB { + if x != nil { + return x.Unk3000_GGGLAIIIJOJ + } + return nil +} + +var File_Unk3000_NOMEJNJKGGL_proto protoreflect.FileDescriptor + +var file_Unk3000_NOMEJNJKGGL_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x4f, 0x4d, 0x45, 0x4a, 0x4e, + 0x4a, 0x4b, 0x47, 0x47, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x4d, 0x4b, 0x4b, 0x4c, 0x49, 0x45, 0x43, 0x4c, 0x42, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4e, 0x4f, 0x4d, 0x45, 0x4a, 0x4e, 0x4a, 0x4b, 0x47, 0x47, 0x4c, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x47, 0x47, 0x4c, 0x41, 0x49, 0x49, + 0x49, 0x4a, 0x4f, 0x4a, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x45, 0x4d, 0x4d, 0x4b, 0x4b, 0x4c, 0x49, 0x45, 0x43, 0x4c, 0x42, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x47, 0x47, 0x4c, 0x41, 0x49, 0x49, + 0x49, 0x4a, 0x4f, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_NOMEJNJKGGL_proto_rawDescOnce sync.Once + file_Unk3000_NOMEJNJKGGL_proto_rawDescData = file_Unk3000_NOMEJNJKGGL_proto_rawDesc +) + +func file_Unk3000_NOMEJNJKGGL_proto_rawDescGZIP() []byte { + file_Unk3000_NOMEJNJKGGL_proto_rawDescOnce.Do(func() { + file_Unk3000_NOMEJNJKGGL_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NOMEJNJKGGL_proto_rawDescData) + }) + return file_Unk3000_NOMEJNJKGGL_proto_rawDescData +} + +var file_Unk3000_NOMEJNJKGGL_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NOMEJNJKGGL_proto_goTypes = []interface{}{ + (*Unk3000_NOMEJNJKGGL)(nil), // 0: Unk3000_NOMEJNJKGGL + (*Unk3000_EMMKKLIECLB)(nil), // 1: Unk3000_EMMKKLIECLB +} +var file_Unk3000_NOMEJNJKGGL_proto_depIdxs = []int32{ + 1, // 0: Unk3000_NOMEJNJKGGL.Unk3000_GGGLAIIIJOJ:type_name -> Unk3000_EMMKKLIECLB + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_NOMEJNJKGGL_proto_init() } +func file_Unk3000_NOMEJNJKGGL_proto_init() { + if File_Unk3000_NOMEJNJKGGL_proto != nil { + return + } + file_Unk3000_EMMKKLIECLB_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_NOMEJNJKGGL_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NOMEJNJKGGL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NOMEJNJKGGL_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NOMEJNJKGGL_proto_goTypes, + DependencyIndexes: file_Unk3000_NOMEJNJKGGL_proto_depIdxs, + MessageInfos: file_Unk3000_NOMEJNJKGGL_proto_msgTypes, + }.Build() + File_Unk3000_NOMEJNJKGGL_proto = out.File + file_Unk3000_NOMEJNJKGGL_proto_rawDesc = nil + file_Unk3000_NOMEJNJKGGL_proto_goTypes = nil + file_Unk3000_NOMEJNJKGGL_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.proto b/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.proto new file mode 100644 index 00000000..44aaaddd --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NOMEJNJKGGL.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_EMMKKLIECLB.proto"; + +option go_package = "./;proto"; + +// CmdId: 3345 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_NOMEJNJKGGL { + repeated Unk3000_EMMKKLIECLB Unk3000_GGGLAIIIJOJ = 5; +} diff --git a/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.pb.go b/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.pb.go new file mode 100644 index 00000000..33f6e0c6 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.pb.go @@ -0,0 +1,205 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_NPPMPMGBBLM.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 6368 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_NPPMPMGBBLM struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_JPONGJJLGKF uint32 `protobuf:"varint,7,opt,name=Unk3000_JPONGJJLGKF,json=Unk3000JPONGJJLGKF,proto3" json:"Unk3000_JPONGJJLGKF,omitempty"` + Unk3000_HPKDIOBGGHN Unk3000_AHNHHIOAHBC `protobuf:"varint,12,opt,name=Unk3000_HPKDIOBGGHN,json=Unk3000HPKDIOBGGHN,proto3,enum=Unk3000_AHNHHIOAHBC" json:"Unk3000_HPKDIOBGGHN,omitempty"` + Unk3000_OAFAKPMJCEN Unk3000_AHNHHIOAHBC `protobuf:"varint,15,opt,name=Unk3000_OAFAKPMJCEN,json=Unk3000OAFAKPMJCEN,proto3,enum=Unk3000_AHNHHIOAHBC" json:"Unk3000_OAFAKPMJCEN,omitempty"` + Unk3000_BIACMOKGHKF uint32 `protobuf:"varint,8,opt,name=Unk3000_BIACMOKGHKF,json=Unk3000BIACMOKGHKF,proto3" json:"Unk3000_BIACMOKGHKF,omitempty"` +} + +func (x *Unk3000_NPPMPMGBBLM) Reset() { + *x = Unk3000_NPPMPMGBBLM{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_NPPMPMGBBLM_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_NPPMPMGBBLM) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_NPPMPMGBBLM) ProtoMessage() {} + +func (x *Unk3000_NPPMPMGBBLM) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_NPPMPMGBBLM_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_NPPMPMGBBLM.ProtoReflect.Descriptor instead. +func (*Unk3000_NPPMPMGBBLM) Descriptor() ([]byte, []int) { + return file_Unk3000_NPPMPMGBBLM_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_NPPMPMGBBLM) GetUnk3000_JPONGJJLGKF() uint32 { + if x != nil { + return x.Unk3000_JPONGJJLGKF + } + return 0 +} + +func (x *Unk3000_NPPMPMGBBLM) GetUnk3000_HPKDIOBGGHN() Unk3000_AHNHHIOAHBC { + if x != nil { + return x.Unk3000_HPKDIOBGGHN + } + return Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_NONE +} + +func (x *Unk3000_NPPMPMGBBLM) GetUnk3000_OAFAKPMJCEN() Unk3000_AHNHHIOAHBC { + if x != nil { + return x.Unk3000_OAFAKPMJCEN + } + return Unk3000_AHNHHIOAHBC_Unk3000_AHNHHIOAHBC_NONE +} + +func (x *Unk3000_NPPMPMGBBLM) GetUnk3000_BIACMOKGHKF() uint32 { + if x != nil { + return x.Unk3000_BIACMOKGHKF + } + return 0 +} + +var File_Unk3000_NPPMPMGBBLM_proto protoreflect.FileDescriptor + +var file_Unk3000_NPPMPMGBBLM_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x50, 0x4d, 0x50, 0x4d, + 0x47, 0x42, 0x42, 0x4c, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4e, 0x50, 0x50, 0x4d, 0x50, 0x4d, 0x47, 0x42, 0x42, 0x4c, 0x4d, 0x12, 0x2f, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x4f, 0x4e, 0x47, 0x4a, + 0x4a, 0x4c, 0x47, 0x4b, 0x46, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x4a, 0x50, 0x4f, 0x4e, 0x47, 0x4a, 0x4a, 0x4c, 0x47, 0x4b, 0x46, 0x12, + 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, 0x50, 0x4b, 0x44, 0x49, + 0x4f, 0x42, 0x47, 0x47, 0x48, 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, + 0x42, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x50, 0x4b, 0x44, 0x49, + 0x4f, 0x42, 0x47, 0x47, 0x48, 0x4e, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4f, 0x41, 0x46, 0x41, 0x4b, 0x50, 0x4d, 0x4a, 0x43, 0x45, 0x4e, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, + 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x4f, 0x41, 0x46, 0x41, 0x4b, 0x50, 0x4d, 0x4a, 0x43, 0x45, 0x4e, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x42, 0x49, 0x41, 0x43, 0x4d, 0x4f, 0x4b, + 0x47, 0x48, 0x4b, 0x46, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x42, 0x49, 0x41, 0x43, 0x4d, 0x4f, 0x4b, 0x47, 0x48, 0x4b, 0x46, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk3000_NPPMPMGBBLM_proto_rawDescOnce sync.Once + file_Unk3000_NPPMPMGBBLM_proto_rawDescData = file_Unk3000_NPPMPMGBBLM_proto_rawDesc +) + +func file_Unk3000_NPPMPMGBBLM_proto_rawDescGZIP() []byte { + file_Unk3000_NPPMPMGBBLM_proto_rawDescOnce.Do(func() { + file_Unk3000_NPPMPMGBBLM_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_NPPMPMGBBLM_proto_rawDescData) + }) + return file_Unk3000_NPPMPMGBBLM_proto_rawDescData +} + +var file_Unk3000_NPPMPMGBBLM_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_NPPMPMGBBLM_proto_goTypes = []interface{}{ + (*Unk3000_NPPMPMGBBLM)(nil), // 0: Unk3000_NPPMPMGBBLM + (Unk3000_AHNHHIOAHBC)(0), // 1: Unk3000_AHNHHIOAHBC +} +var file_Unk3000_NPPMPMGBBLM_proto_depIdxs = []int32{ + 1, // 0: Unk3000_NPPMPMGBBLM.Unk3000_HPKDIOBGGHN:type_name -> Unk3000_AHNHHIOAHBC + 1, // 1: Unk3000_NPPMPMGBBLM.Unk3000_OAFAKPMJCEN:type_name -> Unk3000_AHNHHIOAHBC + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_NPPMPMGBBLM_proto_init() } +func file_Unk3000_NPPMPMGBBLM_proto_init() { + if File_Unk3000_NPPMPMGBBLM_proto != nil { + return + } + file_Unk3000_AHNHHIOAHBC_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_NPPMPMGBBLM_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_NPPMPMGBBLM); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_NPPMPMGBBLM_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_NPPMPMGBBLM_proto_goTypes, + DependencyIndexes: file_Unk3000_NPPMPMGBBLM_proto_depIdxs, + MessageInfos: file_Unk3000_NPPMPMGBBLM_proto_msgTypes, + }.Build() + File_Unk3000_NPPMPMGBBLM_proto = out.File + file_Unk3000_NPPMPMGBBLM_proto_rawDesc = nil + file_Unk3000_NPPMPMGBBLM_proto_goTypes = nil + file_Unk3000_NPPMPMGBBLM_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.proto b/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.proto new file mode 100644 index 00000000..0feeeb4a --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_NPPMPMGBBLM.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_AHNHHIOAHBC.proto"; + +option go_package = "./;proto"; + +// CmdId: 6368 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_NPPMPMGBBLM { + uint32 Unk3000_JPONGJJLGKF = 7; + Unk3000_AHNHHIOAHBC Unk3000_HPKDIOBGGHN = 12; + Unk3000_AHNHHIOAHBC Unk3000_OAFAKPMJCEN = 15; + uint32 Unk3000_BIACMOKGHKF = 8; +} diff --git a/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.pb.go b/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.pb.go new file mode 100644 index 00000000..ef2d1c90 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_ODGMCFAFADH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_ODGMCFAFADH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsActive bool `protobuf:"varint,15,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` + MaterialId uint32 `protobuf:"varint,3,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *Unk3000_ODGMCFAFADH) Reset() { + *x = Unk3000_ODGMCFAFADH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_ODGMCFAFADH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_ODGMCFAFADH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_ODGMCFAFADH) ProtoMessage() {} + +func (x *Unk3000_ODGMCFAFADH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_ODGMCFAFADH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_ODGMCFAFADH.ProtoReflect.Descriptor instead. +func (*Unk3000_ODGMCFAFADH) Descriptor() ([]byte, []int) { + return file_Unk3000_ODGMCFAFADH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_ODGMCFAFADH) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +func (x *Unk3000_ODGMCFAFADH) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_Unk3000_ODGMCFAFADH_proto protoreflect.FileDescriptor + +var file_Unk3000_ODGMCFAFADH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x47, 0x4d, 0x43, 0x46, + 0x41, 0x46, 0x41, 0x44, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x44, 0x47, 0x4d, 0x43, 0x46, 0x41, 0x46, 0x41, + 0x44, 0x48, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_ODGMCFAFADH_proto_rawDescOnce sync.Once + file_Unk3000_ODGMCFAFADH_proto_rawDescData = file_Unk3000_ODGMCFAFADH_proto_rawDesc +) + +func file_Unk3000_ODGMCFAFADH_proto_rawDescGZIP() []byte { + file_Unk3000_ODGMCFAFADH_proto_rawDescOnce.Do(func() { + file_Unk3000_ODGMCFAFADH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_ODGMCFAFADH_proto_rawDescData) + }) + return file_Unk3000_ODGMCFAFADH_proto_rawDescData +} + +var file_Unk3000_ODGMCFAFADH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_ODGMCFAFADH_proto_goTypes = []interface{}{ + (*Unk3000_ODGMCFAFADH)(nil), // 0: Unk3000_ODGMCFAFADH +} +var file_Unk3000_ODGMCFAFADH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_ODGMCFAFADH_proto_init() } +func file_Unk3000_ODGMCFAFADH_proto_init() { + if File_Unk3000_ODGMCFAFADH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_ODGMCFAFADH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_ODGMCFAFADH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_ODGMCFAFADH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_ODGMCFAFADH_proto_goTypes, + DependencyIndexes: file_Unk3000_ODGMCFAFADH_proto_depIdxs, + MessageInfos: file_Unk3000_ODGMCFAFADH_proto_msgTypes, + }.Build() + File_Unk3000_ODGMCFAFADH_proto = out.File + file_Unk3000_ODGMCFAFADH_proto_rawDesc = nil + file_Unk3000_ODGMCFAFADH_proto_goTypes = nil + file_Unk3000_ODGMCFAFADH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.proto b/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.proto new file mode 100644 index 00000000..d319e913 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_ODGMCFAFADH.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5907 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_ODGMCFAFADH { + bool is_active = 15; + uint32 material_id = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.pb.go b/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.pb.go new file mode 100644 index 00000000..6eec21a5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_OFMFFECMKLE.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_OFMFFECMKLE struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FIKHCFMEOAJ []*Unk3000_FLOEPMMABMH `protobuf:"bytes,11,rep,name=Unk2700_FIKHCFMEOAJ,json=Unk2700FIKHCFMEOAJ,proto3" json:"Unk2700_FIKHCFMEOAJ,omitempty"` +} + +func (x *Unk3000_OFMFFECMKLE) Reset() { + *x = Unk3000_OFMFFECMKLE{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_OFMFFECMKLE_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_OFMFFECMKLE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_OFMFFECMKLE) ProtoMessage() {} + +func (x *Unk3000_OFMFFECMKLE) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_OFMFFECMKLE_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_OFMFFECMKLE.ProtoReflect.Descriptor instead. +func (*Unk3000_OFMFFECMKLE) Descriptor() ([]byte, []int) { + return file_Unk3000_OFMFFECMKLE_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_OFMFFECMKLE) GetUnk2700_FIKHCFMEOAJ() []*Unk3000_FLOEPMMABMH { + if x != nil { + return x.Unk2700_FIKHCFMEOAJ + } + return nil +} + +var File_Unk3000_OFMFFECMKLE_proto protoreflect.FileDescriptor + +var file_Unk3000_OFMFFECMKLE_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x46, 0x4d, 0x46, 0x46, 0x45, + 0x43, 0x4d, 0x4b, 0x4c, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x4f, 0x45, 0x50, 0x4d, 0x4d, 0x41, 0x42, 0x4d, 0x48, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x4f, 0x46, 0x4d, 0x46, 0x46, 0x45, 0x43, 0x4d, 0x4b, 0x4c, 0x45, 0x12, 0x45, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x49, 0x4b, 0x48, 0x43, 0x46, 0x4d, + 0x45, 0x4f, 0x41, 0x4a, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x4c, 0x4f, 0x45, 0x50, 0x4d, 0x4d, 0x41, 0x42, 0x4d, 0x48, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x49, 0x4b, 0x48, 0x43, 0x46, 0x4d, + 0x45, 0x4f, 0x41, 0x4a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_OFMFFECMKLE_proto_rawDescOnce sync.Once + file_Unk3000_OFMFFECMKLE_proto_rawDescData = file_Unk3000_OFMFFECMKLE_proto_rawDesc +) + +func file_Unk3000_OFMFFECMKLE_proto_rawDescGZIP() []byte { + file_Unk3000_OFMFFECMKLE_proto_rawDescOnce.Do(func() { + file_Unk3000_OFMFFECMKLE_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_OFMFFECMKLE_proto_rawDescData) + }) + return file_Unk3000_OFMFFECMKLE_proto_rawDescData +} + +var file_Unk3000_OFMFFECMKLE_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_OFMFFECMKLE_proto_goTypes = []interface{}{ + (*Unk3000_OFMFFECMKLE)(nil), // 0: Unk3000_OFMFFECMKLE + (*Unk3000_FLOEPMMABMH)(nil), // 1: Unk3000_FLOEPMMABMH +} +var file_Unk3000_OFMFFECMKLE_proto_depIdxs = []int32{ + 1, // 0: Unk3000_OFMFFECMKLE.Unk2700_FIKHCFMEOAJ:type_name -> Unk3000_FLOEPMMABMH + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_OFMFFECMKLE_proto_init() } +func file_Unk3000_OFMFFECMKLE_proto_init() { + if File_Unk3000_OFMFFECMKLE_proto != nil { + return + } + file_Unk3000_FLOEPMMABMH_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_OFMFFECMKLE_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_OFMFFECMKLE); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_OFMFFECMKLE_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_OFMFFECMKLE_proto_goTypes, + DependencyIndexes: file_Unk3000_OFMFFECMKLE_proto_depIdxs, + MessageInfos: file_Unk3000_OFMFFECMKLE_proto_msgTypes, + }.Build() + File_Unk3000_OFMFFECMKLE_proto = out.File + file_Unk3000_OFMFFECMKLE_proto_rawDesc = nil + file_Unk3000_OFMFFECMKLE_proto_goTypes = nil + file_Unk3000_OFMFFECMKLE_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.proto b/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.proto new file mode 100644 index 00000000..a89674dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OFMFFECMKLE.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_FLOEPMMABMH.proto"; + +option go_package = "./;proto"; + +message Unk3000_OFMFFECMKLE { + repeated Unk3000_FLOEPMMABMH Unk2700_FIKHCFMEOAJ = 11; +} diff --git a/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.pb.go b/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.pb.go new file mode 100644 index 00000000..c580ad30 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.pb.go @@ -0,0 +1,148 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_OJOAECCPCBP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_OJOAECCPCBP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Unk3000_OJOAECCPCBP) Reset() { + *x = Unk3000_OJOAECCPCBP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_OJOAECCPCBP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_OJOAECCPCBP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_OJOAECCPCBP) ProtoMessage() {} + +func (x *Unk3000_OJOAECCPCBP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_OJOAECCPCBP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_OJOAECCPCBP.ProtoReflect.Descriptor instead. +func (*Unk3000_OJOAECCPCBP) Descriptor() ([]byte, []int) { + return file_Unk3000_OJOAECCPCBP_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_OJOAECCPCBP_proto protoreflect.FileDescriptor + +var file_Unk3000_OJOAECCPCBP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4f, 0x41, 0x45, 0x43, + 0x43, 0x50, 0x43, 0x42, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4a, 0x4f, 0x41, 0x45, 0x43, 0x43, 0x50, 0x43, + 0x42, 0x50, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_OJOAECCPCBP_proto_rawDescOnce sync.Once + file_Unk3000_OJOAECCPCBP_proto_rawDescData = file_Unk3000_OJOAECCPCBP_proto_rawDesc +) + +func file_Unk3000_OJOAECCPCBP_proto_rawDescGZIP() []byte { + file_Unk3000_OJOAECCPCBP_proto_rawDescOnce.Do(func() { + file_Unk3000_OJOAECCPCBP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_OJOAECCPCBP_proto_rawDescData) + }) + return file_Unk3000_OJOAECCPCBP_proto_rawDescData +} + +var file_Unk3000_OJOAECCPCBP_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_OJOAECCPCBP_proto_goTypes = []interface{}{ + (*Unk3000_OJOAECCPCBP)(nil), // 0: Unk3000_OJOAECCPCBP +} +var file_Unk3000_OJOAECCPCBP_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_OJOAECCPCBP_proto_init() } +func file_Unk3000_OJOAECCPCBP_proto_init() { + if File_Unk3000_OJOAECCPCBP_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_OJOAECCPCBP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_OJOAECCPCBP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_OJOAECCPCBP_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_OJOAECCPCBP_proto_goTypes, + DependencyIndexes: file_Unk3000_OJOAECCPCBP_proto_depIdxs, + MessageInfos: file_Unk3000_OJOAECCPCBP_proto_msgTypes, + }.Build() + File_Unk3000_OJOAECCPCBP_proto = out.File + file_Unk3000_OJOAECCPCBP_proto_rawDesc = nil + file_Unk3000_OJOAECCPCBP_proto_goTypes = nil + file_Unk3000_OJOAECCPCBP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.proto b/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.proto new file mode 100644 index 00000000..0f8d28e5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OJOAECCPCBP.proto @@ -0,0 +1,21 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_OJOAECCPCBP {} diff --git a/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.pb.go b/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.pb.go new file mode 100644 index 00000000..04dc39b1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_OMCBMAHOLHB.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_OMCBMAHOLHB struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BuffId uint32 `protobuf:"varint,6,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"` + Unk3000_KDOLDNMNHGL uint64 `protobuf:"varint,9,opt,name=Unk3000_KDOLDNMNHGL,json=Unk3000KDOLDNMNHGL,proto3" json:"Unk3000_KDOLDNMNHGL,omitempty"` + Unk3000_OKIDNAAKOJC uint64 `protobuf:"varint,4,opt,name=Unk3000_OKIDNAAKOJC,json=Unk3000OKIDNAAKOJC,proto3" json:"Unk3000_OKIDNAAKOJC,omitempty"` +} + +func (x *Unk3000_OMCBMAHOLHB) Reset() { + *x = Unk3000_OMCBMAHOLHB{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_OMCBMAHOLHB_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_OMCBMAHOLHB) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_OMCBMAHOLHB) ProtoMessage() {} + +func (x *Unk3000_OMCBMAHOLHB) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_OMCBMAHOLHB_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_OMCBMAHOLHB.ProtoReflect.Descriptor instead. +func (*Unk3000_OMCBMAHOLHB) Descriptor() ([]byte, []int) { + return file_Unk3000_OMCBMAHOLHB_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_OMCBMAHOLHB) GetBuffId() uint32 { + if x != nil { + return x.BuffId + } + return 0 +} + +func (x *Unk3000_OMCBMAHOLHB) GetUnk3000_KDOLDNMNHGL() uint64 { + if x != nil { + return x.Unk3000_KDOLDNMNHGL + } + return 0 +} + +func (x *Unk3000_OMCBMAHOLHB) GetUnk3000_OKIDNAAKOJC() uint64 { + if x != nil { + return x.Unk3000_OKIDNAAKOJC + } + return 0 +} + +var File_Unk3000_OMCBMAHOLHB_proto protoreflect.FileDescriptor + +var file_Unk3000_OMCBMAHOLHB_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x43, 0x42, 0x4d, 0x41, + 0x48, 0x4f, 0x4c, 0x48, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4d, 0x43, 0x42, 0x4d, 0x41, 0x48, 0x4f, + 0x4c, 0x48, 0x42, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x44, 0x4f, 0x4c, 0x44, 0x4e, 0x4d, 0x4e, + 0x48, 0x47, 0x4c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x4b, 0x44, 0x4f, 0x4c, 0x44, 0x4e, 0x4d, 0x4e, 0x48, 0x47, 0x4c, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x4b, 0x49, 0x44, 0x4e, 0x41, 0x41, + 0x4b, 0x4f, 0x4a, 0x43, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4f, 0x4b, 0x49, 0x44, 0x4e, 0x41, 0x41, 0x4b, 0x4f, 0x4a, 0x43, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_Unk3000_OMCBMAHOLHB_proto_rawDescOnce sync.Once + file_Unk3000_OMCBMAHOLHB_proto_rawDescData = file_Unk3000_OMCBMAHOLHB_proto_rawDesc +) + +func file_Unk3000_OMCBMAHOLHB_proto_rawDescGZIP() []byte { + file_Unk3000_OMCBMAHOLHB_proto_rawDescOnce.Do(func() { + file_Unk3000_OMCBMAHOLHB_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_OMCBMAHOLHB_proto_rawDescData) + }) + return file_Unk3000_OMCBMAHOLHB_proto_rawDescData +} + +var file_Unk3000_OMCBMAHOLHB_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_OMCBMAHOLHB_proto_goTypes = []interface{}{ + (*Unk3000_OMCBMAHOLHB)(nil), // 0: Unk3000_OMCBMAHOLHB +} +var file_Unk3000_OMCBMAHOLHB_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_OMCBMAHOLHB_proto_init() } +func file_Unk3000_OMCBMAHOLHB_proto_init() { + if File_Unk3000_OMCBMAHOLHB_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_OMCBMAHOLHB_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_OMCBMAHOLHB); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_OMCBMAHOLHB_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_OMCBMAHOLHB_proto_goTypes, + DependencyIndexes: file_Unk3000_OMCBMAHOLHB_proto_depIdxs, + MessageInfos: file_Unk3000_OMCBMAHOLHB_proto_msgTypes, + }.Build() + File_Unk3000_OMCBMAHOLHB_proto = out.File + file_Unk3000_OMCBMAHOLHB_proto_rawDesc = nil + file_Unk3000_OMCBMAHOLHB_proto_goTypes = nil + file_Unk3000_OMCBMAHOLHB_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.proto b/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.proto new file mode 100644 index 00000000..56d71186 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_OMCBMAHOLHB.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Unk3000_OMCBMAHOLHB { + uint32 buff_id = 6; + uint64 Unk3000_KDOLDNMNHGL = 9; + uint64 Unk3000_OKIDNAAKOJC = 4; +} diff --git a/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.pb.go b/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.pb.go new file mode 100644 index 00000000..de1137eb --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PCGBDJJOIHH.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3475 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_PCGBDJJOIHH struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetEntityId uint32 `protobuf:"varint,14,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` + SourceEntityId uint32 `protobuf:"varint,12,opt,name=source_entity_id,json=sourceEntityId,proto3" json:"source_entity_id,omitempty"` +} + +func (x *Unk3000_PCGBDJJOIHH) Reset() { + *x = Unk3000_PCGBDJJOIHH{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PCGBDJJOIHH_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PCGBDJJOIHH) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PCGBDJJOIHH) ProtoMessage() {} + +func (x *Unk3000_PCGBDJJOIHH) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PCGBDJJOIHH_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PCGBDJJOIHH.ProtoReflect.Descriptor instead. +func (*Unk3000_PCGBDJJOIHH) Descriptor() ([]byte, []int) { + return file_Unk3000_PCGBDJJOIHH_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PCGBDJJOIHH) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +func (x *Unk3000_PCGBDJJOIHH) GetSourceEntityId() uint32 { + if x != nil { + return x.SourceEntityId + } + return 0 +} + +var File_Unk3000_PCGBDJJOIHH_proto protoreflect.FileDescriptor + +var file_Unk3000_PCGBDJJOIHH_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x43, 0x47, 0x42, 0x44, 0x4a, + 0x4a, 0x4f, 0x49, 0x48, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x43, 0x47, 0x42, 0x44, 0x4a, 0x4a, 0x4f, 0x49, + 0x48, 0x48, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PCGBDJJOIHH_proto_rawDescOnce sync.Once + file_Unk3000_PCGBDJJOIHH_proto_rawDescData = file_Unk3000_PCGBDJJOIHH_proto_rawDesc +) + +func file_Unk3000_PCGBDJJOIHH_proto_rawDescGZIP() []byte { + file_Unk3000_PCGBDJJOIHH_proto_rawDescOnce.Do(func() { + file_Unk3000_PCGBDJJOIHH_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PCGBDJJOIHH_proto_rawDescData) + }) + return file_Unk3000_PCGBDJJOIHH_proto_rawDescData +} + +var file_Unk3000_PCGBDJJOIHH_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PCGBDJJOIHH_proto_goTypes = []interface{}{ + (*Unk3000_PCGBDJJOIHH)(nil), // 0: Unk3000_PCGBDJJOIHH +} +var file_Unk3000_PCGBDJJOIHH_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PCGBDJJOIHH_proto_init() } +func file_Unk3000_PCGBDJJOIHH_proto_init() { + if File_Unk3000_PCGBDJJOIHH_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PCGBDJJOIHH_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PCGBDJJOIHH); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PCGBDJJOIHH_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PCGBDJJOIHH_proto_goTypes, + DependencyIndexes: file_Unk3000_PCGBDJJOIHH_proto_depIdxs, + MessageInfos: file_Unk3000_PCGBDJJOIHH_proto_msgTypes, + }.Build() + File_Unk3000_PCGBDJJOIHH_proto = out.File + file_Unk3000_PCGBDJJOIHH_proto_rawDesc = nil + file_Unk3000_PCGBDJJOIHH_proto_goTypes = nil + file_Unk3000_PCGBDJJOIHH_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.proto b/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.proto new file mode 100644 index 00000000..f0fe5452 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PCGBDJJOIHH.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3475 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_PCGBDJJOIHH { + uint32 target_entity_id = 14; + uint32 source_entity_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.pb.go b/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.pb.go new file mode 100644 index 00000000..e7ac9577 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PDNJDOBPEKA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 22882 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_PDNJDOBPEKA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GalleryId uint32 `protobuf:"varint,6,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` +} + +func (x *Unk3000_PDNJDOBPEKA) Reset() { + *x = Unk3000_PDNJDOBPEKA{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PDNJDOBPEKA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PDNJDOBPEKA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PDNJDOBPEKA) ProtoMessage() {} + +func (x *Unk3000_PDNJDOBPEKA) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PDNJDOBPEKA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PDNJDOBPEKA.ProtoReflect.Descriptor instead. +func (*Unk3000_PDNJDOBPEKA) Descriptor() ([]byte, []int) { + return file_Unk3000_PDNJDOBPEKA_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PDNJDOBPEKA) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +var File_Unk3000_PDNJDOBPEKA_proto protoreflect.FileDescriptor + +var file_Unk3000_PDNJDOBPEKA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x4e, 0x4a, 0x44, 0x4f, + 0x42, 0x50, 0x45, 0x4b, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x44, 0x4e, 0x4a, 0x44, 0x4f, 0x42, 0x50, 0x45, + 0x4b, 0x41, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PDNJDOBPEKA_proto_rawDescOnce sync.Once + file_Unk3000_PDNJDOBPEKA_proto_rawDescData = file_Unk3000_PDNJDOBPEKA_proto_rawDesc +) + +func file_Unk3000_PDNJDOBPEKA_proto_rawDescGZIP() []byte { + file_Unk3000_PDNJDOBPEKA_proto_rawDescOnce.Do(func() { + file_Unk3000_PDNJDOBPEKA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PDNJDOBPEKA_proto_rawDescData) + }) + return file_Unk3000_PDNJDOBPEKA_proto_rawDescData +} + +var file_Unk3000_PDNJDOBPEKA_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PDNJDOBPEKA_proto_goTypes = []interface{}{ + (*Unk3000_PDNJDOBPEKA)(nil), // 0: Unk3000_PDNJDOBPEKA +} +var file_Unk3000_PDNJDOBPEKA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PDNJDOBPEKA_proto_init() } +func file_Unk3000_PDNJDOBPEKA_proto_init() { + if File_Unk3000_PDNJDOBPEKA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PDNJDOBPEKA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PDNJDOBPEKA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PDNJDOBPEKA_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PDNJDOBPEKA_proto_goTypes, + DependencyIndexes: file_Unk3000_PDNJDOBPEKA_proto_depIdxs, + MessageInfos: file_Unk3000_PDNJDOBPEKA_proto_msgTypes, + }.Build() + File_Unk3000_PDNJDOBPEKA_proto = out.File + file_Unk3000_PDNJDOBPEKA_proto_rawDesc = nil + file_Unk3000_PDNJDOBPEKA_proto_goTypes = nil + file_Unk3000_PDNJDOBPEKA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.proto b/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.proto new file mode 100644 index 00000000..5feab00e --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PDNJDOBPEKA.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 22882 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_PDNJDOBPEKA { + uint32 gallery_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.pb.go b/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.pb.go new file mode 100644 index 00000000..4e20924f --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PHCPMFMFOMO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 23864 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_PHCPMFMFOMO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_OHKPPFPNKNF uint32 `protobuf:"varint,14,opt,name=Unk3000_OHKPPFPNKNF,json=Unk3000OHKPPFPNKNF,proto3" json:"Unk3000_OHKPPFPNKNF,omitempty"` + ReminderId uint32 `protobuf:"varint,6,opt,name=reminder_id,json=reminderId,proto3" json:"reminder_id,omitempty"` +} + +func (x *Unk3000_PHCPMFMFOMO) Reset() { + *x = Unk3000_PHCPMFMFOMO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PHCPMFMFOMO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PHCPMFMFOMO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PHCPMFMFOMO) ProtoMessage() {} + +func (x *Unk3000_PHCPMFMFOMO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PHCPMFMFOMO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PHCPMFMFOMO.ProtoReflect.Descriptor instead. +func (*Unk3000_PHCPMFMFOMO) Descriptor() ([]byte, []int) { + return file_Unk3000_PHCPMFMFOMO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PHCPMFMFOMO) GetUnk3000_OHKPPFPNKNF() uint32 { + if x != nil { + return x.Unk3000_OHKPPFPNKNF + } + return 0 +} + +func (x *Unk3000_PHCPMFMFOMO) GetReminderId() uint32 { + if x != nil { + return x.ReminderId + } + return 0 +} + +var File_Unk3000_PHCPMFMFOMO_proto protoreflect.FileDescriptor + +var file_Unk3000_PHCPMFMFOMO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x43, 0x50, 0x4d, 0x46, + 0x4d, 0x46, 0x4f, 0x4d, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x48, 0x43, 0x50, 0x4d, 0x46, 0x4d, 0x46, 0x4f, + 0x4d, 0x4f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4f, 0x48, + 0x4b, 0x50, 0x50, 0x46, 0x50, 0x4e, 0x4b, 0x4e, 0x46, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x48, 0x4b, 0x50, 0x50, 0x46, 0x50, 0x4e, + 0x4b, 0x4e, 0x46, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PHCPMFMFOMO_proto_rawDescOnce sync.Once + file_Unk3000_PHCPMFMFOMO_proto_rawDescData = file_Unk3000_PHCPMFMFOMO_proto_rawDesc +) + +func file_Unk3000_PHCPMFMFOMO_proto_rawDescGZIP() []byte { + file_Unk3000_PHCPMFMFOMO_proto_rawDescOnce.Do(func() { + file_Unk3000_PHCPMFMFOMO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PHCPMFMFOMO_proto_rawDescData) + }) + return file_Unk3000_PHCPMFMFOMO_proto_rawDescData +} + +var file_Unk3000_PHCPMFMFOMO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PHCPMFMFOMO_proto_goTypes = []interface{}{ + (*Unk3000_PHCPMFMFOMO)(nil), // 0: Unk3000_PHCPMFMFOMO +} +var file_Unk3000_PHCPMFMFOMO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PHCPMFMFOMO_proto_init() } +func file_Unk3000_PHCPMFMFOMO_proto_init() { + if File_Unk3000_PHCPMFMFOMO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PHCPMFMFOMO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PHCPMFMFOMO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PHCPMFMFOMO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PHCPMFMFOMO_proto_goTypes, + DependencyIndexes: file_Unk3000_PHCPMFMFOMO_proto_depIdxs, + MessageInfos: file_Unk3000_PHCPMFMFOMO_proto_msgTypes, + }.Build() + File_Unk3000_PHCPMFMFOMO_proto = out.File + file_Unk3000_PHCPMFMFOMO_proto_rawDesc = nil + file_Unk3000_PHCPMFMFOMO_proto_goTypes = nil + file_Unk3000_PHCPMFMFOMO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.proto b/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.proto new file mode 100644 index 00000000..71349b84 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PHCPMFMFOMO.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 23864 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_PHCPMFMFOMO { + uint32 Unk3000_OHKPPFPNKNF = 14; + uint32 reminder_id = 6; +} diff --git a/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.pb.go b/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.pb.go new file mode 100644 index 00000000..8f10fdeb --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PILFPILPMFO.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3336 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_PILFPILPMFO struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *Unk3000_PILFPILPMFO) Reset() { + *x = Unk3000_PILFPILPMFO{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PILFPILPMFO_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PILFPILPMFO) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PILFPILPMFO) ProtoMessage() {} + +func (x *Unk3000_PILFPILPMFO) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PILFPILPMFO_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PILFPILPMFO.ProtoReflect.Descriptor instead. +func (*Unk3000_PILFPILPMFO) Descriptor() ([]byte, []int) { + return file_Unk3000_PILFPILPMFO_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PILFPILPMFO) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_Unk3000_PILFPILPMFO_proto protoreflect.FileDescriptor + +var file_Unk3000_PILFPILPMFO_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x46, 0x50, 0x49, + 0x4c, 0x50, 0x4d, 0x46, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x49, 0x4c, 0x46, 0x50, 0x49, 0x4c, 0x50, 0x4d, + 0x46, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PILFPILPMFO_proto_rawDescOnce sync.Once + file_Unk3000_PILFPILPMFO_proto_rawDescData = file_Unk3000_PILFPILPMFO_proto_rawDesc +) + +func file_Unk3000_PILFPILPMFO_proto_rawDescGZIP() []byte { + file_Unk3000_PILFPILPMFO_proto_rawDescOnce.Do(func() { + file_Unk3000_PILFPILPMFO_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PILFPILPMFO_proto_rawDescData) + }) + return file_Unk3000_PILFPILPMFO_proto_rawDescData +} + +var file_Unk3000_PILFPILPMFO_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PILFPILPMFO_proto_goTypes = []interface{}{ + (*Unk3000_PILFPILPMFO)(nil), // 0: Unk3000_PILFPILPMFO +} +var file_Unk3000_PILFPILPMFO_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PILFPILPMFO_proto_init() } +func file_Unk3000_PILFPILPMFO_proto_init() { + if File_Unk3000_PILFPILPMFO_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PILFPILPMFO_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PILFPILPMFO); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PILFPILPMFO_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PILFPILPMFO_proto_goTypes, + DependencyIndexes: file_Unk3000_PILFPILPMFO_proto_depIdxs, + MessageInfos: file_Unk3000_PILFPILPMFO_proto_msgTypes, + }.Build() + File_Unk3000_PILFPILPMFO_proto = out.File + file_Unk3000_PILFPILPMFO_proto_rawDesc = nil + file_Unk3000_PILFPILPMFO_proto_goTypes = nil + file_Unk3000_PILFPILPMFO_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.proto b/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.proto new file mode 100644 index 00000000..be9a4f38 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PILFPILPMFO.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3336 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_PILFPILPMFO { + int32 retcode = 2; +} diff --git a/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.pb.go b/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.pb.go new file mode 100644 index 00000000..62676fd4 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.pb.go @@ -0,0 +1,260 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PJLAPMPPIAG.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 20681 +// EnetChannelId: 0 +// EnetIsReliable: true +type Unk3000_PJLAPMPPIAG struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsNewRecord bool `protobuf:"varint,4,opt,name=is_new_record,json=isNewRecord,proto3" json:"is_new_record,omitempty"` + GalleryId uint32 `protobuf:"varint,6,opt,name=gallery_id,json=galleryId,proto3" json:"gallery_id,omitempty"` + Score uint32 `protobuf:"varint,5,opt,name=score,proto3" json:"score,omitempty"` + Reason Unk2700_MOFABPNGIKP `protobuf:"varint,2,opt,name=reason,proto3,enum=Unk2700_MOFABPNGIKP" json:"reason,omitempty"` + Unk3000_OGFOAOCCGNK uint32 `protobuf:"varint,13,opt,name=Unk3000_OGFOAOCCGNK,json=Unk3000OGFOAOCCGNK,proto3" json:"Unk3000_OGFOAOCCGNK,omitempty"` + RemainTime uint32 `protobuf:"varint,10,opt,name=remain_time,json=remainTime,proto3" json:"remain_time,omitempty"` + Unk3000_HKMKHPMIIPF uint32 `protobuf:"varint,1,opt,name=Unk3000_HKMKHPMIIPF,json=Unk3000HKMKHPMIIPF,proto3" json:"Unk3000_HKMKHPMIIPF,omitempty"` + Unk3000_GDFHJBOCONO uint32 `protobuf:"varint,8,opt,name=Unk3000_GDFHJBOCONO,json=Unk3000GDFHJBOCONO,proto3" json:"Unk3000_GDFHJBOCONO,omitempty"` + IsSuccess bool `protobuf:"varint,7,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + LevelId uint32 `protobuf:"varint,11,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` +} + +func (x *Unk3000_PJLAPMPPIAG) Reset() { + *x = Unk3000_PJLAPMPPIAG{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PJLAPMPPIAG_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PJLAPMPPIAG) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PJLAPMPPIAG) ProtoMessage() {} + +func (x *Unk3000_PJLAPMPPIAG) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PJLAPMPPIAG_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PJLAPMPPIAG.ProtoReflect.Descriptor instead. +func (*Unk3000_PJLAPMPPIAG) Descriptor() ([]byte, []int) { + return file_Unk3000_PJLAPMPPIAG_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PJLAPMPPIAG) GetIsNewRecord() bool { + if x != nil { + return x.IsNewRecord + } + return false +} + +func (x *Unk3000_PJLAPMPPIAG) GetGalleryId() uint32 { + if x != nil { + return x.GalleryId + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetScore() uint32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetReason() Unk2700_MOFABPNGIKP { + if x != nil { + return x.Reason + } + return Unk2700_MOFABPNGIKP_Unk2700_MOFABPNGIKP_Unk2700_DGJFKKIBLCJ +} + +func (x *Unk3000_PJLAPMPPIAG) GetUnk3000_OGFOAOCCGNK() uint32 { + if x != nil { + return x.Unk3000_OGFOAOCCGNK + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetRemainTime() uint32 { + if x != nil { + return x.RemainTime + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetUnk3000_HKMKHPMIIPF() uint32 { + if x != nil { + return x.Unk3000_HKMKHPMIIPF + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetUnk3000_GDFHJBOCONO() uint32 { + if x != nil { + return x.Unk3000_GDFHJBOCONO + } + return 0 +} + +func (x *Unk3000_PJLAPMPPIAG) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *Unk3000_PJLAPMPPIAG) GetLevelId() uint32 { + if x != nil { + return x.LevelId + } + return 0 +} + +var File_Unk3000_PJLAPMPPIAG_proto protoreflect.FileDescriptor + +var file_Unk3000_PJLAPMPPIAG_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x4c, 0x41, 0x50, 0x4d, + 0x50, 0x50, 0x49, 0x41, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x50, 0x4a, 0x4c, 0x41, 0x50, 0x4d, 0x50, 0x50, 0x49, 0x41, 0x47, 0x12, 0x22, + 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x79, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x5f, 0x4d, 0x4f, 0x46, 0x41, 0x42, 0x50, 0x4e, 0x47, 0x49, 0x4b, 0x50, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, + 0x5f, 0x4f, 0x47, 0x46, 0x4f, 0x41, 0x4f, 0x43, 0x43, 0x47, 0x4e, 0x4b, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4f, 0x47, 0x46, 0x4f, 0x41, + 0x4f, 0x43, 0x43, 0x47, 0x4e, 0x4b, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, + 0x61, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x48, 0x4b, 0x4d, 0x4b, 0x48, 0x50, 0x4d, 0x49, 0x49, 0x50, 0x46, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x48, 0x4b, 0x4d, + 0x4b, 0x48, 0x50, 0x4d, 0x49, 0x49, 0x50, 0x46, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x5f, 0x47, 0x44, 0x46, 0x48, 0x4a, 0x42, 0x4f, 0x43, 0x4f, 0x4e, 0x4f, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x44, + 0x46, 0x48, 0x4a, 0x42, 0x4f, 0x43, 0x4f, 0x4e, 0x4f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, + 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PJLAPMPPIAG_proto_rawDescOnce sync.Once + file_Unk3000_PJLAPMPPIAG_proto_rawDescData = file_Unk3000_PJLAPMPPIAG_proto_rawDesc +) + +func file_Unk3000_PJLAPMPPIAG_proto_rawDescGZIP() []byte { + file_Unk3000_PJLAPMPPIAG_proto_rawDescOnce.Do(func() { + file_Unk3000_PJLAPMPPIAG_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PJLAPMPPIAG_proto_rawDescData) + }) + return file_Unk3000_PJLAPMPPIAG_proto_rawDescData +} + +var file_Unk3000_PJLAPMPPIAG_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PJLAPMPPIAG_proto_goTypes = []interface{}{ + (*Unk3000_PJLAPMPPIAG)(nil), // 0: Unk3000_PJLAPMPPIAG + (Unk2700_MOFABPNGIKP)(0), // 1: Unk2700_MOFABPNGIKP +} +var file_Unk3000_PJLAPMPPIAG_proto_depIdxs = []int32{ + 1, // 0: Unk3000_PJLAPMPPIAG.reason:type_name -> Unk2700_MOFABPNGIKP + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Unk3000_PJLAPMPPIAG_proto_init() } +func file_Unk3000_PJLAPMPPIAG_proto_init() { + if File_Unk3000_PJLAPMPPIAG_proto != nil { + return + } + file_Unk2700_MOFABPNGIKP_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_PJLAPMPPIAG_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PJLAPMPPIAG); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PJLAPMPPIAG_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PJLAPMPPIAG_proto_goTypes, + DependencyIndexes: file_Unk3000_PJLAPMPPIAG_proto_depIdxs, + MessageInfos: file_Unk3000_PJLAPMPPIAG_proto_msgTypes, + }.Build() + File_Unk3000_PJLAPMPPIAG_proto = out.File + file_Unk3000_PJLAPMPPIAG_proto_rawDesc = nil + file_Unk3000_PJLAPMPPIAG_proto_goTypes = nil + file_Unk3000_PJLAPMPPIAG_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.proto b/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.proto new file mode 100644 index 00000000..c297ddcc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PJLAPMPPIAG.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_MOFABPNGIKP.proto"; + +option go_package = "./;proto"; + +// CmdId: 20681 +// EnetChannelId: 0 +// EnetIsReliable: true +message Unk3000_PJLAPMPPIAG { + bool is_new_record = 4; + uint32 gallery_id = 6; + uint32 score = 5; + Unk2700_MOFABPNGIKP reason = 2; + uint32 Unk3000_OGFOAOCCGNK = 13; + uint32 remain_time = 10; + uint32 Unk3000_HKMKHPMIIPF = 1; + uint32 Unk3000_GDFHJBOCONO = 8; + bool is_success = 7; + uint32 level_id = 11; +} diff --git a/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.pb.go b/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.pb.go new file mode 100644 index 00000000..2a320ac5 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PKHPBOIDLEA.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_PKHPBOIDLEA int32 + +const ( + Unk3000_PKHPBOIDLEA_Unk3000_PKHPBOIDLEA_Unk3000_KANMGBLJEHC Unk3000_PKHPBOIDLEA = 0 + Unk3000_PKHPBOIDLEA_Unk3000_PKHPBOIDLEA_Unk3000_ICFILKDKFNL Unk3000_PKHPBOIDLEA = 1 + Unk3000_PKHPBOIDLEA_Unk3000_PKHPBOIDLEA_Unk3000_FBFKPBGLMAD Unk3000_PKHPBOIDLEA = 2 + Unk3000_PKHPBOIDLEA_Unk3000_PKHPBOIDLEA_Unk3000_KEOIEIKLFDN Unk3000_PKHPBOIDLEA = 3 +) + +// Enum value maps for Unk3000_PKHPBOIDLEA. +var ( + Unk3000_PKHPBOIDLEA_name = map[int32]string{ + 0: "Unk3000_PKHPBOIDLEA_Unk3000_KANMGBLJEHC", + 1: "Unk3000_PKHPBOIDLEA_Unk3000_ICFILKDKFNL", + 2: "Unk3000_PKHPBOIDLEA_Unk3000_FBFKPBGLMAD", + 3: "Unk3000_PKHPBOIDLEA_Unk3000_KEOIEIKLFDN", + } + Unk3000_PKHPBOIDLEA_value = map[string]int32{ + "Unk3000_PKHPBOIDLEA_Unk3000_KANMGBLJEHC": 0, + "Unk3000_PKHPBOIDLEA_Unk3000_ICFILKDKFNL": 1, + "Unk3000_PKHPBOIDLEA_Unk3000_FBFKPBGLMAD": 2, + "Unk3000_PKHPBOIDLEA_Unk3000_KEOIEIKLFDN": 3, + } +) + +func (x Unk3000_PKHPBOIDLEA) Enum() *Unk3000_PKHPBOIDLEA { + p := new(Unk3000_PKHPBOIDLEA) + *p = x + return p +} + +func (x Unk3000_PKHPBOIDLEA) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Unk3000_PKHPBOIDLEA) Descriptor() protoreflect.EnumDescriptor { + return file_Unk3000_PKHPBOIDLEA_proto_enumTypes[0].Descriptor() +} + +func (Unk3000_PKHPBOIDLEA) Type() protoreflect.EnumType { + return &file_Unk3000_PKHPBOIDLEA_proto_enumTypes[0] +} + +func (x Unk3000_PKHPBOIDLEA) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Unk3000_PKHPBOIDLEA.Descriptor instead. +func (Unk3000_PKHPBOIDLEA) EnumDescriptor() ([]byte, []int) { + return file_Unk3000_PKHPBOIDLEA_proto_rawDescGZIP(), []int{0} +} + +var File_Unk3000_PKHPBOIDLEA_proto protoreflect.FileDescriptor + +var file_Unk3000_PKHPBOIDLEA_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x48, 0x50, 0x42, 0x4f, + 0x49, 0x44, 0x4c, 0x45, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xc9, 0x01, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x48, 0x50, 0x42, 0x4f, 0x49, 0x44, + 0x4c, 0x45, 0x41, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, + 0x4b, 0x48, 0x50, 0x42, 0x4f, 0x49, 0x44, 0x4c, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x4b, 0x41, 0x4e, 0x4d, 0x47, 0x42, 0x4c, 0x4a, 0x45, 0x48, 0x43, 0x10, 0x00, + 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x48, 0x50, + 0x42, 0x4f, 0x49, 0x44, 0x4c, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, + 0x49, 0x43, 0x46, 0x49, 0x4c, 0x4b, 0x44, 0x4b, 0x46, 0x4e, 0x4c, 0x10, 0x01, 0x12, 0x2b, 0x0a, + 0x27, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x48, 0x50, 0x42, 0x4f, 0x49, + 0x44, 0x4c, 0x45, 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x46, 0x42, 0x46, + 0x4b, 0x50, 0x42, 0x47, 0x4c, 0x4d, 0x41, 0x44, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4b, 0x48, 0x50, 0x42, 0x4f, 0x49, 0x44, 0x4c, 0x45, + 0x41, 0x5f, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4b, 0x45, 0x4f, 0x49, 0x45, 0x49, + 0x4b, 0x4c, 0x46, 0x44, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PKHPBOIDLEA_proto_rawDescOnce sync.Once + file_Unk3000_PKHPBOIDLEA_proto_rawDescData = file_Unk3000_PKHPBOIDLEA_proto_rawDesc +) + +func file_Unk3000_PKHPBOIDLEA_proto_rawDescGZIP() []byte { + file_Unk3000_PKHPBOIDLEA_proto_rawDescOnce.Do(func() { + file_Unk3000_PKHPBOIDLEA_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PKHPBOIDLEA_proto_rawDescData) + }) + return file_Unk3000_PKHPBOIDLEA_proto_rawDescData +} + +var file_Unk3000_PKHPBOIDLEA_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_Unk3000_PKHPBOIDLEA_proto_goTypes = []interface{}{ + (Unk3000_PKHPBOIDLEA)(0), // 0: Unk3000_PKHPBOIDLEA +} +var file_Unk3000_PKHPBOIDLEA_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PKHPBOIDLEA_proto_init() } +func file_Unk3000_PKHPBOIDLEA_proto_init() { + if File_Unk3000_PKHPBOIDLEA_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PKHPBOIDLEA_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PKHPBOIDLEA_proto_goTypes, + DependencyIndexes: file_Unk3000_PKHPBOIDLEA_proto_depIdxs, + EnumInfos: file_Unk3000_PKHPBOIDLEA_proto_enumTypes, + }.Build() + File_Unk3000_PKHPBOIDLEA_proto = out.File + file_Unk3000_PKHPBOIDLEA_proto_rawDesc = nil + file_Unk3000_PKHPBOIDLEA_proto_goTypes = nil + file_Unk3000_PKHPBOIDLEA_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.proto b/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.proto new file mode 100644 index 00000000..57e45ee0 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PKHPBOIDLEA.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum Unk3000_PKHPBOIDLEA { + Unk3000_PKHPBOIDLEA_Unk3000_KANMGBLJEHC = 0; + Unk3000_PKHPBOIDLEA_Unk3000_ICFILKDKFNL = 1; + Unk3000_PKHPBOIDLEA_Unk3000_FBFKPBGLMAD = 2; + Unk3000_PKHPBOIDLEA_Unk3000_KEOIEIKLFDN = 3; +} diff --git a/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.pb.go b/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.pb.go new file mode 100644 index 00000000..540672f2 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PNIEIHDLIDN.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_PNIEIHDLIDN struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddProgress uint32 `protobuf:"varint,4,opt,name=add_progress,json=addProgress,proto3" json:"add_progress,omitempty"` + Stage uint32 `protobuf:"varint,2,opt,name=stage,proto3" json:"stage,omitempty"` + WatcherId uint32 `protobuf:"varint,12,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` +} + +func (x *Unk3000_PNIEIHDLIDN) Reset() { + *x = Unk3000_PNIEIHDLIDN{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PNIEIHDLIDN_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PNIEIHDLIDN) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PNIEIHDLIDN) ProtoMessage() {} + +func (x *Unk3000_PNIEIHDLIDN) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PNIEIHDLIDN_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PNIEIHDLIDN.ProtoReflect.Descriptor instead. +func (*Unk3000_PNIEIHDLIDN) Descriptor() ([]byte, []int) { + return file_Unk3000_PNIEIHDLIDN_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PNIEIHDLIDN) GetAddProgress() uint32 { + if x != nil { + return x.AddProgress + } + return 0 +} + +func (x *Unk3000_PNIEIHDLIDN) GetStage() uint32 { + if x != nil { + return x.Stage + } + return 0 +} + +func (x *Unk3000_PNIEIHDLIDN) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +var File_Unk3000_PNIEIHDLIDN_proto protoreflect.FileDescriptor + +var file_Unk3000_PNIEIHDLIDN_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x49, 0x45, 0x49, 0x48, + 0x44, 0x4c, 0x49, 0x44, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4e, 0x49, 0x45, 0x49, 0x48, 0x44, 0x4c, 0x49, + 0x44, 0x4e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x77, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PNIEIHDLIDN_proto_rawDescOnce sync.Once + file_Unk3000_PNIEIHDLIDN_proto_rawDescData = file_Unk3000_PNIEIHDLIDN_proto_rawDesc +) + +func file_Unk3000_PNIEIHDLIDN_proto_rawDescGZIP() []byte { + file_Unk3000_PNIEIHDLIDN_proto_rawDescOnce.Do(func() { + file_Unk3000_PNIEIHDLIDN_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PNIEIHDLIDN_proto_rawDescData) + }) + return file_Unk3000_PNIEIHDLIDN_proto_rawDescData +} + +var file_Unk3000_PNIEIHDLIDN_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PNIEIHDLIDN_proto_goTypes = []interface{}{ + (*Unk3000_PNIEIHDLIDN)(nil), // 0: Unk3000_PNIEIHDLIDN +} +var file_Unk3000_PNIEIHDLIDN_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PNIEIHDLIDN_proto_init() } +func file_Unk3000_PNIEIHDLIDN_proto_init() { + if File_Unk3000_PNIEIHDLIDN_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PNIEIHDLIDN_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PNIEIHDLIDN); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PNIEIHDLIDN_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PNIEIHDLIDN_proto_goTypes, + DependencyIndexes: file_Unk3000_PNIEIHDLIDN_proto_depIdxs, + MessageInfos: file_Unk3000_PNIEIHDLIDN_proto_msgTypes, + }.Build() + File_Unk3000_PNIEIHDLIDN_proto = out.File + file_Unk3000_PNIEIHDLIDN_proto_rawDesc = nil + file_Unk3000_PNIEIHDLIDN_proto_goTypes = nil + file_Unk3000_PNIEIHDLIDN_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.proto b/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.proto new file mode 100644 index 00000000..ab64c8f1 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PNIEIHDLIDN.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2207 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_PNIEIHDLIDN { + uint32 add_progress = 4; + uint32 stage = 2; + uint32 watcher_id = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.pb.go b/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.pb.go new file mode 100644 index 00000000..7a54ea70 --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.pb.go @@ -0,0 +1,186 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PONJHEGKBBP.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Unk3000_PONJHEGKBBP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_MKNODEKEGJF map[uint32]Unk3000_AHNHHIOAHBC `protobuf:"bytes,6,rep,name=Unk3000_MKNODEKEGJF,json=Unk3000MKNODEKEGJF,proto3" json:"Unk3000_MKNODEKEGJF,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=Unk3000_AHNHHIOAHBC"` + Unk3000_JPONGJJLGKF uint32 `protobuf:"varint,12,opt,name=Unk3000_JPONGJJLGKF,json=Unk3000JPONGJJLGKF,proto3" json:"Unk3000_JPONGJJLGKF,omitempty"` +} + +func (x *Unk3000_PONJHEGKBBP) Reset() { + *x = Unk3000_PONJHEGKBBP{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PONJHEGKBBP_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PONJHEGKBBP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PONJHEGKBBP) ProtoMessage() {} + +func (x *Unk3000_PONJHEGKBBP) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PONJHEGKBBP_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PONJHEGKBBP.ProtoReflect.Descriptor instead. +func (*Unk3000_PONJHEGKBBP) Descriptor() ([]byte, []int) { + return file_Unk3000_PONJHEGKBBP_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PONJHEGKBBP) GetUnk3000_MKNODEKEGJF() map[uint32]Unk3000_AHNHHIOAHBC { + if x != nil { + return x.Unk3000_MKNODEKEGJF + } + return nil +} + +func (x *Unk3000_PONJHEGKBBP) GetUnk3000_JPONGJJLGKF() uint32 { + if x != nil { + return x.Unk3000_JPONGJJLGKF + } + return 0 +} + +var File_Unk3000_PONJHEGKBBP_proto protoreflect.FileDescriptor + +var file_Unk3000_PONJHEGKBBP_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, 0x4a, 0x48, 0x45, + 0x47, 0x4b, 0x42, 0x42, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, 0x4a, 0x48, 0x45, 0x47, 0x4b, 0x42, 0x42, 0x50, 0x12, 0x5d, + 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4d, 0x4b, 0x4e, 0x4f, 0x44, 0x45, + 0x4b, 0x45, 0x47, 0x4a, 0x46, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x4f, 0x4e, 0x4a, 0x48, 0x45, 0x47, 0x4b, 0x42, 0x42, + 0x50, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x4e, 0x4f, 0x44, 0x45, 0x4b, + 0x45, 0x47, 0x4a, 0x46, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, + 0x30, 0x30, 0x4d, 0x4b, 0x4e, 0x4f, 0x44, 0x45, 0x4b, 0x45, 0x47, 0x4a, 0x46, 0x12, 0x2f, 0x0a, + 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x4a, 0x50, 0x4f, 0x4e, 0x47, 0x4a, 0x4a, + 0x4c, 0x47, 0x4b, 0x46, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, + 0x30, 0x30, 0x30, 0x4a, 0x50, 0x4f, 0x4e, 0x47, 0x4a, 0x4a, 0x4c, 0x47, 0x4b, 0x46, 0x1a, 0x5b, + 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x4d, 0x4b, 0x4e, 0x4f, 0x44, 0x45, 0x4b, + 0x45, 0x47, 0x4a, 0x46, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, + 0x33, 0x30, 0x30, 0x30, 0x5f, 0x41, 0x48, 0x4e, 0x48, 0x48, 0x49, 0x4f, 0x41, 0x48, 0x42, 0x43, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PONJHEGKBBP_proto_rawDescOnce sync.Once + file_Unk3000_PONJHEGKBBP_proto_rawDescData = file_Unk3000_PONJHEGKBBP_proto_rawDesc +) + +func file_Unk3000_PONJHEGKBBP_proto_rawDescGZIP() []byte { + file_Unk3000_PONJHEGKBBP_proto_rawDescOnce.Do(func() { + file_Unk3000_PONJHEGKBBP_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PONJHEGKBBP_proto_rawDescData) + }) + return file_Unk3000_PONJHEGKBBP_proto_rawDescData +} + +var file_Unk3000_PONJHEGKBBP_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Unk3000_PONJHEGKBBP_proto_goTypes = []interface{}{ + (*Unk3000_PONJHEGKBBP)(nil), // 0: Unk3000_PONJHEGKBBP + nil, // 1: Unk3000_PONJHEGKBBP.Unk3000MKNODEKEGJFEntry + (Unk3000_AHNHHIOAHBC)(0), // 2: Unk3000_AHNHHIOAHBC +} +var file_Unk3000_PONJHEGKBBP_proto_depIdxs = []int32{ + 1, // 0: Unk3000_PONJHEGKBBP.Unk3000_MKNODEKEGJF:type_name -> Unk3000_PONJHEGKBBP.Unk3000MKNODEKEGJFEntry + 2, // 1: Unk3000_PONJHEGKBBP.Unk3000MKNODEKEGJFEntry.value:type_name -> Unk3000_AHNHHIOAHBC + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_Unk3000_PONJHEGKBBP_proto_init() } +func file_Unk3000_PONJHEGKBBP_proto_init() { + if File_Unk3000_PONJHEGKBBP_proto != nil { + return + } + file_Unk3000_AHNHHIOAHBC_proto_init() + if !protoimpl.UnsafeEnabled { + file_Unk3000_PONJHEGKBBP_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PONJHEGKBBP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PONJHEGKBBP_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PONJHEGKBBP_proto_goTypes, + DependencyIndexes: file_Unk3000_PONJHEGKBBP_proto_depIdxs, + MessageInfos: file_Unk3000_PONJHEGKBBP_proto_msgTypes, + }.Build() + File_Unk3000_PONJHEGKBBP_proto = out.File + file_Unk3000_PONJHEGKBBP_proto_rawDesc = nil + file_Unk3000_PONJHEGKBBP_proto_goTypes = nil + file_Unk3000_PONJHEGKBBP_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.proto b/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.proto new file mode 100644 index 00000000..dd57c1dc --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PONJHEGKBBP.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk3000_AHNHHIOAHBC.proto"; + +option go_package = "./;proto"; + +message Unk3000_PONJHEGKBBP { + map Unk3000_MKNODEKEGJF = 6; + uint32 Unk3000_JPONGJJLGKF = 12; +} diff --git a/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.pb.go b/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.pb.go new file mode 100644 index 00000000..d8dfc1ea --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Unk3000_PPDLLPNMJMK.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 500 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type Unk3000_PPDLLPNMJMK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_CFDMLGKNLKL uint32 `protobuf:"varint,4,opt,name=Unk3000_CFDMLGKNLKL,json=Unk3000CFDMLGKNLKL,proto3" json:"Unk3000_CFDMLGKNLKL,omitempty"` + Unk3000_CIOLEGEHDAC uint32 `protobuf:"varint,9,opt,name=Unk3000_CIOLEGEHDAC,json=Unk3000CIOLEGEHDAC,proto3" json:"Unk3000_CIOLEGEHDAC,omitempty"` +} + +func (x *Unk3000_PPDLLPNMJMK) Reset() { + *x = Unk3000_PPDLLPNMJMK{} + if protoimpl.UnsafeEnabled { + mi := &file_Unk3000_PPDLLPNMJMK_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unk3000_PPDLLPNMJMK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unk3000_PPDLLPNMJMK) ProtoMessage() {} + +func (x *Unk3000_PPDLLPNMJMK) ProtoReflect() protoreflect.Message { + mi := &file_Unk3000_PPDLLPNMJMK_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Unk3000_PPDLLPNMJMK.ProtoReflect.Descriptor instead. +func (*Unk3000_PPDLLPNMJMK) Descriptor() ([]byte, []int) { + return file_Unk3000_PPDLLPNMJMK_proto_rawDescGZIP(), []int{0} +} + +func (x *Unk3000_PPDLLPNMJMK) GetUnk3000_CFDMLGKNLKL() uint32 { + if x != nil { + return x.Unk3000_CFDMLGKNLKL + } + return 0 +} + +func (x *Unk3000_PPDLLPNMJMK) GetUnk3000_CIOLEGEHDAC() uint32 { + if x != nil { + return x.Unk3000_CIOLEGEHDAC + } + return 0 +} + +var File_Unk3000_PPDLLPNMJMK_proto protoreflect.FileDescriptor + +var file_Unk3000_PPDLLPNMJMK_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x44, 0x4c, 0x4c, 0x50, + 0x4e, 0x4d, 0x4a, 0x4d, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x50, 0x50, 0x44, 0x4c, 0x4c, 0x50, 0x4e, 0x4d, 0x4a, + 0x4d, 0x4b, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, 0x46, + 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, 0x4c, 0x4b, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x46, 0x44, 0x4d, 0x4c, 0x47, 0x4b, 0x4e, + 0x4c, 0x4b, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x43, + 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, 0x48, 0x44, 0x41, 0x43, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x43, 0x49, 0x4f, 0x4c, 0x45, 0x47, 0x45, + 0x48, 0x44, 0x41, 0x43, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Unk3000_PPDLLPNMJMK_proto_rawDescOnce sync.Once + file_Unk3000_PPDLLPNMJMK_proto_rawDescData = file_Unk3000_PPDLLPNMJMK_proto_rawDesc +) + +func file_Unk3000_PPDLLPNMJMK_proto_rawDescGZIP() []byte { + file_Unk3000_PPDLLPNMJMK_proto_rawDescOnce.Do(func() { + file_Unk3000_PPDLLPNMJMK_proto_rawDescData = protoimpl.X.CompressGZIP(file_Unk3000_PPDLLPNMJMK_proto_rawDescData) + }) + return file_Unk3000_PPDLLPNMJMK_proto_rawDescData +} + +var file_Unk3000_PPDLLPNMJMK_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Unk3000_PPDLLPNMJMK_proto_goTypes = []interface{}{ + (*Unk3000_PPDLLPNMJMK)(nil), // 0: Unk3000_PPDLLPNMJMK +} +var file_Unk3000_PPDLLPNMJMK_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Unk3000_PPDLLPNMJMK_proto_init() } +func file_Unk3000_PPDLLPNMJMK_proto_init() { + if File_Unk3000_PPDLLPNMJMK_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Unk3000_PPDLLPNMJMK_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unk3000_PPDLLPNMJMK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Unk3000_PPDLLPNMJMK_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Unk3000_PPDLLPNMJMK_proto_goTypes, + DependencyIndexes: file_Unk3000_PPDLLPNMJMK_proto_depIdxs, + MessageInfos: file_Unk3000_PPDLLPNMJMK_proto_msgTypes, + }.Build() + File_Unk3000_PPDLLPNMJMK_proto = out.File + file_Unk3000_PPDLLPNMJMK_proto_rawDesc = nil + file_Unk3000_PPDLLPNMJMK_proto_goTypes = nil + file_Unk3000_PPDLLPNMJMK_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.proto b/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.proto new file mode 100644 index 00000000..9f562f8d --- /dev/null +++ b/gate-hk4e-api/proto/Unk3000_PPDLLPNMJMK.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 500 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message Unk3000_PPDLLPNMJMK { + uint32 Unk3000_CFDMLGKNLKL = 4; + uint32 Unk3000_CIOLEGEHDAC = 9; +} diff --git a/gate-hk4e-api/proto/UnlockAvatarTalentReq.pb.go b/gate-hk4e-api/proto/UnlockAvatarTalentReq.pb.go new file mode 100644 index 00000000..d9395456 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockAvatarTalentReq.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockAvatarTalentReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1072 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UnlockAvatarTalentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TalentId uint32 `protobuf:"varint,13,opt,name=talent_id,json=talentId,proto3" json:"talent_id,omitempty"` + AvatarGuid uint64 `protobuf:"varint,3,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *UnlockAvatarTalentReq) Reset() { + *x = UnlockAvatarTalentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockAvatarTalentReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockAvatarTalentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockAvatarTalentReq) ProtoMessage() {} + +func (x *UnlockAvatarTalentReq) ProtoReflect() protoreflect.Message { + mi := &file_UnlockAvatarTalentReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockAvatarTalentReq.ProtoReflect.Descriptor instead. +func (*UnlockAvatarTalentReq) Descriptor() ([]byte, []int) { + return file_UnlockAvatarTalentReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockAvatarTalentReq) GetTalentId() uint32 { + if x != nil { + return x.TalentId + } + return 0 +} + +func (x *UnlockAvatarTalentReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_UnlockAvatarTalentReq_proto protoreflect.FileDescriptor + +var file_UnlockAvatarTalentReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, + 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, + 0x15, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x61, 0x6c, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockAvatarTalentReq_proto_rawDescOnce sync.Once + file_UnlockAvatarTalentReq_proto_rawDescData = file_UnlockAvatarTalentReq_proto_rawDesc +) + +func file_UnlockAvatarTalentReq_proto_rawDescGZIP() []byte { + file_UnlockAvatarTalentReq_proto_rawDescOnce.Do(func() { + file_UnlockAvatarTalentReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockAvatarTalentReq_proto_rawDescData) + }) + return file_UnlockAvatarTalentReq_proto_rawDescData +} + +var file_UnlockAvatarTalentReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockAvatarTalentReq_proto_goTypes = []interface{}{ + (*UnlockAvatarTalentReq)(nil), // 0: UnlockAvatarTalentReq +} +var file_UnlockAvatarTalentReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockAvatarTalentReq_proto_init() } +func file_UnlockAvatarTalentReq_proto_init() { + if File_UnlockAvatarTalentReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockAvatarTalentReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockAvatarTalentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockAvatarTalentReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockAvatarTalentReq_proto_goTypes, + DependencyIndexes: file_UnlockAvatarTalentReq_proto_depIdxs, + MessageInfos: file_UnlockAvatarTalentReq_proto_msgTypes, + }.Build() + File_UnlockAvatarTalentReq_proto = out.File + file_UnlockAvatarTalentReq_proto_rawDesc = nil + file_UnlockAvatarTalentReq_proto_goTypes = nil + file_UnlockAvatarTalentReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockAvatarTalentReq.proto b/gate-hk4e-api/proto/UnlockAvatarTalentReq.proto new file mode 100644 index 00000000..540422e3 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockAvatarTalentReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1072 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UnlockAvatarTalentReq { + uint32 talent_id = 13; + uint64 avatar_guid = 3; +} diff --git a/gate-hk4e-api/proto/UnlockAvatarTalentRsp.pb.go b/gate-hk4e-api/proto/UnlockAvatarTalentRsp.pb.go new file mode 100644 index 00000000..adc0175d --- /dev/null +++ b/gate-hk4e-api/proto/UnlockAvatarTalentRsp.pb.go @@ -0,0 +1,182 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockAvatarTalentRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1098 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockAvatarTalentRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TalentId uint32 `protobuf:"varint,2,opt,name=talent_id,json=talentId,proto3" json:"talent_id,omitempty"` + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *UnlockAvatarTalentRsp) Reset() { + *x = UnlockAvatarTalentRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockAvatarTalentRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockAvatarTalentRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockAvatarTalentRsp) ProtoMessage() {} + +func (x *UnlockAvatarTalentRsp) ProtoReflect() protoreflect.Message { + mi := &file_UnlockAvatarTalentRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockAvatarTalentRsp.ProtoReflect.Descriptor instead. +func (*UnlockAvatarTalentRsp) Descriptor() ([]byte, []int) { + return file_UnlockAvatarTalentRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockAvatarTalentRsp) GetTalentId() uint32 { + if x != nil { + return x.TalentId + } + return 0 +} + +func (x *UnlockAvatarTalentRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UnlockAvatarTalentRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_UnlockAvatarTalentRsp_proto protoreflect.FileDescriptor + +var file_UnlockAvatarTalentRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, + 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, + 0x15, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x61, 0x6c, + 0x65, 0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x61, 0x6c, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_UnlockAvatarTalentRsp_proto_rawDescOnce sync.Once + file_UnlockAvatarTalentRsp_proto_rawDescData = file_UnlockAvatarTalentRsp_proto_rawDesc +) + +func file_UnlockAvatarTalentRsp_proto_rawDescGZIP() []byte { + file_UnlockAvatarTalentRsp_proto_rawDescOnce.Do(func() { + file_UnlockAvatarTalentRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockAvatarTalentRsp_proto_rawDescData) + }) + return file_UnlockAvatarTalentRsp_proto_rawDescData +} + +var file_UnlockAvatarTalentRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockAvatarTalentRsp_proto_goTypes = []interface{}{ + (*UnlockAvatarTalentRsp)(nil), // 0: UnlockAvatarTalentRsp +} +var file_UnlockAvatarTalentRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockAvatarTalentRsp_proto_init() } +func file_UnlockAvatarTalentRsp_proto_init() { + if File_UnlockAvatarTalentRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockAvatarTalentRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockAvatarTalentRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockAvatarTalentRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockAvatarTalentRsp_proto_goTypes, + DependencyIndexes: file_UnlockAvatarTalentRsp_proto_depIdxs, + MessageInfos: file_UnlockAvatarTalentRsp_proto_msgTypes, + }.Build() + File_UnlockAvatarTalentRsp_proto = out.File + file_UnlockAvatarTalentRsp_proto_rawDesc = nil + file_UnlockAvatarTalentRsp_proto_goTypes = nil + file_UnlockAvatarTalentRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockAvatarTalentRsp.proto b/gate-hk4e-api/proto/UnlockAvatarTalentRsp.proto new file mode 100644 index 00000000..7155f4b7 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockAvatarTalentRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1098 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockAvatarTalentRsp { + uint32 talent_id = 2; + int32 retcode = 3; + uint64 avatar_guid = 10; +} diff --git a/gate-hk4e-api/proto/UnlockCoopChapterReq.pb.go b/gate-hk4e-api/proto/UnlockCoopChapterReq.pb.go new file mode 100644 index 00000000..b04253a8 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockCoopChapterReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockCoopChapterReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1970 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UnlockCoopChapterReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,3,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` +} + +func (x *UnlockCoopChapterReq) Reset() { + *x = UnlockCoopChapterReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockCoopChapterReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockCoopChapterReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockCoopChapterReq) ProtoMessage() {} + +func (x *UnlockCoopChapterReq) ProtoReflect() protoreflect.Message { + mi := &file_UnlockCoopChapterReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockCoopChapterReq.ProtoReflect.Descriptor instead. +func (*UnlockCoopChapterReq) Descriptor() ([]byte, []int) { + return file_UnlockCoopChapterReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockCoopChapterReq) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +var File_UnlockCoopChapterReq_proto protoreflect.FileDescriptor + +var file_UnlockCoopChapterReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x14, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockCoopChapterReq_proto_rawDescOnce sync.Once + file_UnlockCoopChapterReq_proto_rawDescData = file_UnlockCoopChapterReq_proto_rawDesc +) + +func file_UnlockCoopChapterReq_proto_rawDescGZIP() []byte { + file_UnlockCoopChapterReq_proto_rawDescOnce.Do(func() { + file_UnlockCoopChapterReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockCoopChapterReq_proto_rawDescData) + }) + return file_UnlockCoopChapterReq_proto_rawDescData +} + +var file_UnlockCoopChapterReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockCoopChapterReq_proto_goTypes = []interface{}{ + (*UnlockCoopChapterReq)(nil), // 0: UnlockCoopChapterReq +} +var file_UnlockCoopChapterReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockCoopChapterReq_proto_init() } +func file_UnlockCoopChapterReq_proto_init() { + if File_UnlockCoopChapterReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockCoopChapterReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockCoopChapterReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockCoopChapterReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockCoopChapterReq_proto_goTypes, + DependencyIndexes: file_UnlockCoopChapterReq_proto_depIdxs, + MessageInfos: file_UnlockCoopChapterReq_proto_msgTypes, + }.Build() + File_UnlockCoopChapterReq_proto = out.File + file_UnlockCoopChapterReq_proto_rawDesc = nil + file_UnlockCoopChapterReq_proto_goTypes = nil + file_UnlockCoopChapterReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockCoopChapterReq.proto b/gate-hk4e-api/proto/UnlockCoopChapterReq.proto new file mode 100644 index 00000000..3c036378 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockCoopChapterReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1970 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UnlockCoopChapterReq { + uint32 chapter_id = 3; +} diff --git a/gate-hk4e-api/proto/UnlockCoopChapterRsp.pb.go b/gate-hk4e-api/proto/UnlockCoopChapterRsp.pb.go new file mode 100644 index 00000000..41d38245 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockCoopChapterRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockCoopChapterRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1995 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockCoopChapterRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChapterId uint32 `protobuf:"varint,4,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *UnlockCoopChapterRsp) Reset() { + *x = UnlockCoopChapterRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockCoopChapterRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockCoopChapterRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockCoopChapterRsp) ProtoMessage() {} + +func (x *UnlockCoopChapterRsp) ProtoReflect() protoreflect.Message { + mi := &file_UnlockCoopChapterRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockCoopChapterRsp.ProtoReflect.Descriptor instead. +func (*UnlockCoopChapterRsp) Descriptor() ([]byte, []int) { + return file_UnlockCoopChapterRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockCoopChapterRsp) GetChapterId() uint32 { + if x != nil { + return x.ChapterId + } + return 0 +} + +func (x *UnlockCoopChapterRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_UnlockCoopChapterRsp_proto protoreflect.FileDescriptor + +var file_UnlockCoopChapterRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x14, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_UnlockCoopChapterRsp_proto_rawDescOnce sync.Once + file_UnlockCoopChapterRsp_proto_rawDescData = file_UnlockCoopChapterRsp_proto_rawDesc +) + +func file_UnlockCoopChapterRsp_proto_rawDescGZIP() []byte { + file_UnlockCoopChapterRsp_proto_rawDescOnce.Do(func() { + file_UnlockCoopChapterRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockCoopChapterRsp_proto_rawDescData) + }) + return file_UnlockCoopChapterRsp_proto_rawDescData +} + +var file_UnlockCoopChapterRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockCoopChapterRsp_proto_goTypes = []interface{}{ + (*UnlockCoopChapterRsp)(nil), // 0: UnlockCoopChapterRsp +} +var file_UnlockCoopChapterRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockCoopChapterRsp_proto_init() } +func file_UnlockCoopChapterRsp_proto_init() { + if File_UnlockCoopChapterRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockCoopChapterRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockCoopChapterRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockCoopChapterRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockCoopChapterRsp_proto_goTypes, + DependencyIndexes: file_UnlockCoopChapterRsp_proto_depIdxs, + MessageInfos: file_UnlockCoopChapterRsp_proto_msgTypes, + }.Build() + File_UnlockCoopChapterRsp_proto = out.File + file_UnlockCoopChapterRsp_proto_rawDesc = nil + file_UnlockCoopChapterRsp_proto_goTypes = nil + file_UnlockCoopChapterRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockCoopChapterRsp.proto b/gate-hk4e-api/proto/UnlockCoopChapterRsp.proto new file mode 100644 index 00000000..6dcad28c --- /dev/null +++ b/gate-hk4e-api/proto/UnlockCoopChapterRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 1995 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockCoopChapterRsp { + uint32 chapter_id = 4; + int32 retcode = 6; +} diff --git a/gate-hk4e-api/proto/UnlockNameCardNotify.pb.go b/gate-hk4e-api/proto/UnlockNameCardNotify.pb.go new file mode 100644 index 00000000..1ae33bf4 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockNameCardNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockNameCardNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4006 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockNameCardNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NameCardId uint32 `protobuf:"varint,8,opt,name=name_card_id,json=nameCardId,proto3" json:"name_card_id,omitempty"` +} + +func (x *UnlockNameCardNotify) Reset() { + *x = UnlockNameCardNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockNameCardNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockNameCardNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockNameCardNotify) ProtoMessage() {} + +func (x *UnlockNameCardNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnlockNameCardNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockNameCardNotify.ProtoReflect.Descriptor instead. +func (*UnlockNameCardNotify) Descriptor() ([]byte, []int) { + return file_UnlockNameCardNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockNameCardNotify) GetNameCardId() uint32 { + if x != nil { + return x.NameCardId + } + return 0 +} + +var File_UnlockNameCardNotify_proto protoreflect.FileDescriptor + +var file_UnlockNameCardNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x14, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, + 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockNameCardNotify_proto_rawDescOnce sync.Once + file_UnlockNameCardNotify_proto_rawDescData = file_UnlockNameCardNotify_proto_rawDesc +) + +func file_UnlockNameCardNotify_proto_rawDescGZIP() []byte { + file_UnlockNameCardNotify_proto_rawDescOnce.Do(func() { + file_UnlockNameCardNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockNameCardNotify_proto_rawDescData) + }) + return file_UnlockNameCardNotify_proto_rawDescData +} + +var file_UnlockNameCardNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockNameCardNotify_proto_goTypes = []interface{}{ + (*UnlockNameCardNotify)(nil), // 0: UnlockNameCardNotify +} +var file_UnlockNameCardNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockNameCardNotify_proto_init() } +func file_UnlockNameCardNotify_proto_init() { + if File_UnlockNameCardNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockNameCardNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockNameCardNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockNameCardNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockNameCardNotify_proto_goTypes, + DependencyIndexes: file_UnlockNameCardNotify_proto_depIdxs, + MessageInfos: file_UnlockNameCardNotify_proto_msgTypes, + }.Build() + File_UnlockNameCardNotify_proto = out.File + file_UnlockNameCardNotify_proto_rawDesc = nil + file_UnlockNameCardNotify_proto_goTypes = nil + file_UnlockNameCardNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockNameCardNotify.proto b/gate-hk4e-api/proto/UnlockNameCardNotify.proto new file mode 100644 index 00000000..7df562ce --- /dev/null +++ b/gate-hk4e-api/proto/UnlockNameCardNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4006 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockNameCardNotify { + uint32 name_card_id = 8; +} diff --git a/gate-hk4e-api/proto/UnlockPersonalLineReq.pb.go b/gate-hk4e-api/proto/UnlockPersonalLineReq.pb.go new file mode 100644 index 00000000..749f89cb --- /dev/null +++ b/gate-hk4e-api/proto/UnlockPersonalLineReq.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockPersonalLineReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 449 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UnlockPersonalLineReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PersonalLineId uint32 `protobuf:"varint,4,opt,name=personal_line_id,json=personalLineId,proto3" json:"personal_line_id,omitempty"` +} + +func (x *UnlockPersonalLineReq) Reset() { + *x = UnlockPersonalLineReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockPersonalLineReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockPersonalLineReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockPersonalLineReq) ProtoMessage() {} + +func (x *UnlockPersonalLineReq) ProtoReflect() protoreflect.Message { + mi := &file_UnlockPersonalLineReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockPersonalLineReq.ProtoReflect.Descriptor instead. +func (*UnlockPersonalLineReq) Descriptor() ([]byte, []int) { + return file_UnlockPersonalLineReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockPersonalLineReq) GetPersonalLineId() uint32 { + if x != nil { + return x.PersonalLineId + } + return 0 +} + +var File_UnlockPersonalLineReq_proto protoreflect.FileDescriptor + +var file_UnlockPersonalLineReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, + 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, + 0x15, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, + 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, + 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x64, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockPersonalLineReq_proto_rawDescOnce sync.Once + file_UnlockPersonalLineReq_proto_rawDescData = file_UnlockPersonalLineReq_proto_rawDesc +) + +func file_UnlockPersonalLineReq_proto_rawDescGZIP() []byte { + file_UnlockPersonalLineReq_proto_rawDescOnce.Do(func() { + file_UnlockPersonalLineReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockPersonalLineReq_proto_rawDescData) + }) + return file_UnlockPersonalLineReq_proto_rawDescData +} + +var file_UnlockPersonalLineReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockPersonalLineReq_proto_goTypes = []interface{}{ + (*UnlockPersonalLineReq)(nil), // 0: UnlockPersonalLineReq +} +var file_UnlockPersonalLineReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockPersonalLineReq_proto_init() } +func file_UnlockPersonalLineReq_proto_init() { + if File_UnlockPersonalLineReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockPersonalLineReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockPersonalLineReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockPersonalLineReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockPersonalLineReq_proto_goTypes, + DependencyIndexes: file_UnlockPersonalLineReq_proto_depIdxs, + MessageInfos: file_UnlockPersonalLineReq_proto_msgTypes, + }.Build() + File_UnlockPersonalLineReq_proto = out.File + file_UnlockPersonalLineReq_proto_rawDesc = nil + file_UnlockPersonalLineReq_proto_goTypes = nil + file_UnlockPersonalLineReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockPersonalLineReq.proto b/gate-hk4e-api/proto/UnlockPersonalLineReq.proto new file mode 100644 index 00000000..b8c3e386 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockPersonalLineReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 449 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UnlockPersonalLineReq { + uint32 personal_line_id = 4; +} diff --git a/gate-hk4e-api/proto/UnlockPersonalLineRsp.pb.go b/gate-hk4e-api/proto/UnlockPersonalLineRsp.pb.go new file mode 100644 index 00000000..a25d1322 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockPersonalLineRsp.pb.go @@ -0,0 +1,222 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockPersonalLineRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 491 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockPersonalLineRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` + PersonalLineId uint32 `protobuf:"varint,10,opt,name=personal_line_id,json=personalLineId,proto3" json:"personal_line_id,omitempty"` + // Types that are assignable to Param: + // *UnlockPersonalLineRsp_Level + // *UnlockPersonalLineRsp_ChapterId + Param isUnlockPersonalLineRsp_Param `protobuf_oneof:"param"` +} + +func (x *UnlockPersonalLineRsp) Reset() { + *x = UnlockPersonalLineRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockPersonalLineRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockPersonalLineRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockPersonalLineRsp) ProtoMessage() {} + +func (x *UnlockPersonalLineRsp) ProtoReflect() protoreflect.Message { + mi := &file_UnlockPersonalLineRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockPersonalLineRsp.ProtoReflect.Descriptor instead. +func (*UnlockPersonalLineRsp) Descriptor() ([]byte, []int) { + return file_UnlockPersonalLineRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockPersonalLineRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UnlockPersonalLineRsp) GetPersonalLineId() uint32 { + if x != nil { + return x.PersonalLineId + } + return 0 +} + +func (m *UnlockPersonalLineRsp) GetParam() isUnlockPersonalLineRsp_Param { + if m != nil { + return m.Param + } + return nil +} + +func (x *UnlockPersonalLineRsp) GetLevel() uint32 { + if x, ok := x.GetParam().(*UnlockPersonalLineRsp_Level); ok { + return x.Level + } + return 0 +} + +func (x *UnlockPersonalLineRsp) GetChapterId() uint32 { + if x, ok := x.GetParam().(*UnlockPersonalLineRsp_ChapterId); ok { + return x.ChapterId + } + return 0 +} + +type isUnlockPersonalLineRsp_Param interface { + isUnlockPersonalLineRsp_Param() +} + +type UnlockPersonalLineRsp_Level struct { + Level uint32 `protobuf:"varint,11,opt,name=level,proto3,oneof"` +} + +type UnlockPersonalLineRsp_ChapterId struct { + ChapterId uint32 `protobuf:"varint,6,opt,name=chapter_id,json=chapterId,proto3,oneof"` +} + +func (*UnlockPersonalLineRsp_Level) isUnlockPersonalLineRsp_Param() {} + +func (*UnlockPersonalLineRsp_ChapterId) isUnlockPersonalLineRsp_Param() {} + +var File_UnlockPersonalLineRsp_proto protoreflect.FileDescriptor + +var file_UnlockPersonalLineRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, + 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, + 0x0a, 0x15, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, + 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x69, + 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x65, 0x72, + 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x05, 0x6c, + 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_UnlockPersonalLineRsp_proto_rawDescOnce sync.Once + file_UnlockPersonalLineRsp_proto_rawDescData = file_UnlockPersonalLineRsp_proto_rawDesc +) + +func file_UnlockPersonalLineRsp_proto_rawDescGZIP() []byte { + file_UnlockPersonalLineRsp_proto_rawDescOnce.Do(func() { + file_UnlockPersonalLineRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockPersonalLineRsp_proto_rawDescData) + }) + return file_UnlockPersonalLineRsp_proto_rawDescData +} + +var file_UnlockPersonalLineRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockPersonalLineRsp_proto_goTypes = []interface{}{ + (*UnlockPersonalLineRsp)(nil), // 0: UnlockPersonalLineRsp +} +var file_UnlockPersonalLineRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockPersonalLineRsp_proto_init() } +func file_UnlockPersonalLineRsp_proto_init() { + if File_UnlockPersonalLineRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockPersonalLineRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockPersonalLineRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_UnlockPersonalLineRsp_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*UnlockPersonalLineRsp_Level)(nil), + (*UnlockPersonalLineRsp_ChapterId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockPersonalLineRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockPersonalLineRsp_proto_goTypes, + DependencyIndexes: file_UnlockPersonalLineRsp_proto_depIdxs, + MessageInfos: file_UnlockPersonalLineRsp_proto_msgTypes, + }.Build() + File_UnlockPersonalLineRsp_proto = out.File + file_UnlockPersonalLineRsp_proto_rawDesc = nil + file_UnlockPersonalLineRsp_proto_goTypes = nil + file_UnlockPersonalLineRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockPersonalLineRsp.proto b/gate-hk4e-api/proto/UnlockPersonalLineRsp.proto new file mode 100644 index 00000000..3bd23122 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockPersonalLineRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 491 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockPersonalLineRsp { + int32 retcode = 4; + uint32 personal_line_id = 10; + oneof param { + uint32 level = 11; + uint32 chapter_id = 6; + } +} diff --git a/gate-hk4e-api/proto/UnlockTransPointReq.pb.go b/gate-hk4e-api/proto/UnlockTransPointReq.pb.go new file mode 100644 index 00000000..f2d9b02d --- /dev/null +++ b/gate-hk4e-api/proto/UnlockTransPointReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockTransPointReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3035 +// EnetChannelId: 1 +// EnetIsReliable: true +// IsAllowClient: true +type UnlockTransPointReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PointId uint32 `protobuf:"varint,12,opt,name=point_id,json=pointId,proto3" json:"point_id,omitempty"` + SceneId uint32 `protobuf:"varint,10,opt,name=scene_id,json=sceneId,proto3" json:"scene_id,omitempty"` +} + +func (x *UnlockTransPointReq) Reset() { + *x = UnlockTransPointReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockTransPointReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockTransPointReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockTransPointReq) ProtoMessage() {} + +func (x *UnlockTransPointReq) ProtoReflect() protoreflect.Message { + mi := &file_UnlockTransPointReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockTransPointReq.ProtoReflect.Descriptor instead. +func (*UnlockTransPointReq) Descriptor() ([]byte, []int) { + return file_UnlockTransPointReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockTransPointReq) GetPointId() uint32 { + if x != nil { + return x.PointId + } + return 0 +} + +func (x *UnlockTransPointReq) GetSceneId() uint32 { + if x != nil { + return x.SceneId + } + return 0 +} + +var File_UnlockTransPointReq_proto protoreflect.FileDescriptor + +var file_UnlockTransPointReq_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x55, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x07, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockTransPointReq_proto_rawDescOnce sync.Once + file_UnlockTransPointReq_proto_rawDescData = file_UnlockTransPointReq_proto_rawDesc +) + +func file_UnlockTransPointReq_proto_rawDescGZIP() []byte { + file_UnlockTransPointReq_proto_rawDescOnce.Do(func() { + file_UnlockTransPointReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockTransPointReq_proto_rawDescData) + }) + return file_UnlockTransPointReq_proto_rawDescData +} + +var file_UnlockTransPointReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockTransPointReq_proto_goTypes = []interface{}{ + (*UnlockTransPointReq)(nil), // 0: UnlockTransPointReq +} +var file_UnlockTransPointReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockTransPointReq_proto_init() } +func file_UnlockTransPointReq_proto_init() { + if File_UnlockTransPointReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockTransPointReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockTransPointReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockTransPointReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockTransPointReq_proto_goTypes, + DependencyIndexes: file_UnlockTransPointReq_proto_depIdxs, + MessageInfos: file_UnlockTransPointReq_proto_msgTypes, + }.Build() + File_UnlockTransPointReq_proto = out.File + file_UnlockTransPointReq_proto_rawDesc = nil + file_UnlockTransPointReq_proto_goTypes = nil + file_UnlockTransPointReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockTransPointReq.proto b/gate-hk4e-api/proto/UnlockTransPointReq.proto new file mode 100644 index 00000000..bd04c154 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockTransPointReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3035 +// EnetChannelId: 1 +// EnetIsReliable: true +// IsAllowClient: true +message UnlockTransPointReq { + uint32 point_id = 12; + uint32 scene_id = 10; +} diff --git a/gate-hk4e-api/proto/UnlockTransPointRsp.pb.go b/gate-hk4e-api/proto/UnlockTransPointRsp.pb.go new file mode 100644 index 00000000..47051edc --- /dev/null +++ b/gate-hk4e-api/proto/UnlockTransPointRsp.pb.go @@ -0,0 +1,161 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockTransPointRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3426 +// EnetChannelId: 1 +// EnetIsReliable: true +type UnlockTransPointRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *UnlockTransPointRsp) Reset() { + *x = UnlockTransPointRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockTransPointRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockTransPointRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockTransPointRsp) ProtoMessage() {} + +func (x *UnlockTransPointRsp) ProtoReflect() protoreflect.Message { + mi := &file_UnlockTransPointRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockTransPointRsp.ProtoReflect.Descriptor instead. +func (*UnlockTransPointRsp) Descriptor() ([]byte, []int) { + return file_UnlockTransPointRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockTransPointRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_UnlockTransPointRsp_proto protoreflect.FileDescriptor + +var file_UnlockTransPointRsp_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockTransPointRsp_proto_rawDescOnce sync.Once + file_UnlockTransPointRsp_proto_rawDescData = file_UnlockTransPointRsp_proto_rawDesc +) + +func file_UnlockTransPointRsp_proto_rawDescGZIP() []byte { + file_UnlockTransPointRsp_proto_rawDescOnce.Do(func() { + file_UnlockTransPointRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockTransPointRsp_proto_rawDescData) + }) + return file_UnlockTransPointRsp_proto_rawDescData +} + +var file_UnlockTransPointRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockTransPointRsp_proto_goTypes = []interface{}{ + (*UnlockTransPointRsp)(nil), // 0: UnlockTransPointRsp +} +var file_UnlockTransPointRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockTransPointRsp_proto_init() } +func file_UnlockTransPointRsp_proto_init() { + if File_UnlockTransPointRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockTransPointRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockTransPointRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockTransPointRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockTransPointRsp_proto_goTypes, + DependencyIndexes: file_UnlockTransPointRsp_proto_depIdxs, + MessageInfos: file_UnlockTransPointRsp_proto_msgTypes, + }.Build() + File_UnlockTransPointRsp_proto = out.File + file_UnlockTransPointRsp_proto_rawDesc = nil + file_UnlockTransPointRsp_proto_goTypes = nil + file_UnlockTransPointRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockTransPointRsp.proto b/gate-hk4e-api/proto/UnlockTransPointRsp.proto new file mode 100644 index 00000000..f764595c --- /dev/null +++ b/gate-hk4e-api/proto/UnlockTransPointRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3426 +// EnetChannelId: 1 +// EnetIsReliable: true +message UnlockTransPointRsp { + int32 retcode = 12; +} diff --git a/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.pb.go b/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.pb.go new file mode 100644 index 00000000..b9e01245 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockedFurnitureFormulaDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4846 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockedFurnitureFormulaDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FurnitureIdList []uint32 `protobuf:"varint,15,rep,packed,name=furniture_id_list,json=furnitureIdList,proto3" json:"furniture_id_list,omitempty"` + IsAll bool `protobuf:"varint,11,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"` +} + +func (x *UnlockedFurnitureFormulaDataNotify) Reset() { + *x = UnlockedFurnitureFormulaDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockedFurnitureFormulaDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockedFurnitureFormulaDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockedFurnitureFormulaDataNotify) ProtoMessage() {} + +func (x *UnlockedFurnitureFormulaDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnlockedFurnitureFormulaDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockedFurnitureFormulaDataNotify.ProtoReflect.Descriptor instead. +func (*UnlockedFurnitureFormulaDataNotify) Descriptor() ([]byte, []int) { + return file_UnlockedFurnitureFormulaDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockedFurnitureFormulaDataNotify) GetFurnitureIdList() []uint32 { + if x != nil { + return x.FurnitureIdList + } + return nil +} + +func (x *UnlockedFurnitureFormulaDataNotify) GetIsAll() bool { + if x != nil { + return x.IsAll + } + return false +} + +var File_UnlockedFurnitureFormulaDataNotify_proto protoreflect.FileDescriptor + +var file_UnlockedFurnitureFormulaDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x22, 0x55, 0x6e, + 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x46, + 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x75, 0x72, + 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, + 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, + 0x41, 0x6c, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockedFurnitureFormulaDataNotify_proto_rawDescOnce sync.Once + file_UnlockedFurnitureFormulaDataNotify_proto_rawDescData = file_UnlockedFurnitureFormulaDataNotify_proto_rawDesc +) + +func file_UnlockedFurnitureFormulaDataNotify_proto_rawDescGZIP() []byte { + file_UnlockedFurnitureFormulaDataNotify_proto_rawDescOnce.Do(func() { + file_UnlockedFurnitureFormulaDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockedFurnitureFormulaDataNotify_proto_rawDescData) + }) + return file_UnlockedFurnitureFormulaDataNotify_proto_rawDescData +} + +var file_UnlockedFurnitureFormulaDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockedFurnitureFormulaDataNotify_proto_goTypes = []interface{}{ + (*UnlockedFurnitureFormulaDataNotify)(nil), // 0: UnlockedFurnitureFormulaDataNotify +} +var file_UnlockedFurnitureFormulaDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockedFurnitureFormulaDataNotify_proto_init() } +func file_UnlockedFurnitureFormulaDataNotify_proto_init() { + if File_UnlockedFurnitureFormulaDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockedFurnitureFormulaDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockedFurnitureFormulaDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockedFurnitureFormulaDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockedFurnitureFormulaDataNotify_proto_goTypes, + DependencyIndexes: file_UnlockedFurnitureFormulaDataNotify_proto_depIdxs, + MessageInfos: file_UnlockedFurnitureFormulaDataNotify_proto_msgTypes, + }.Build() + File_UnlockedFurnitureFormulaDataNotify_proto = out.File + file_UnlockedFurnitureFormulaDataNotify_proto_rawDesc = nil + file_UnlockedFurnitureFormulaDataNotify_proto_goTypes = nil + file_UnlockedFurnitureFormulaDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.proto b/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.proto new file mode 100644 index 00000000..3391a974 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockedFurnitureFormulaDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4846 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockedFurnitureFormulaDataNotify { + repeated uint32 furniture_id_list = 15; + bool is_all = 11; +} diff --git a/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.pb.go b/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.pb.go new file mode 100644 index 00000000..0c18122f --- /dev/null +++ b/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnlockedFurnitureSuiteDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4454 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnlockedFurnitureSuiteDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAll bool `protobuf:"varint,10,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"` + FurnitureSuiteIdList []uint32 `protobuf:"varint,5,rep,packed,name=furniture_suite_id_list,json=furnitureSuiteIdList,proto3" json:"furniture_suite_id_list,omitempty"` +} + +func (x *UnlockedFurnitureSuiteDataNotify) Reset() { + *x = UnlockedFurnitureSuiteDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnlockedFurnitureSuiteDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockedFurnitureSuiteDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockedFurnitureSuiteDataNotify) ProtoMessage() {} + +func (x *UnlockedFurnitureSuiteDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnlockedFurnitureSuiteDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockedFurnitureSuiteDataNotify.ProtoReflect.Descriptor instead. +func (*UnlockedFurnitureSuiteDataNotify) Descriptor() ([]byte, []int) { + return file_UnlockedFurnitureSuiteDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnlockedFurnitureSuiteDataNotify) GetIsAll() bool { + if x != nil { + return x.IsAll + } + return false +} + +func (x *UnlockedFurnitureSuiteDataNotify) GetFurnitureSuiteIdList() []uint32 { + if x != nil { + return x.FurnitureSuiteIdList + } + return nil +} + +var File_UnlockedFurnitureSuiteDataNotify_proto protoreflect.FileDescriptor + +var file_UnlockedFurnitureSuiteDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, + 0x75, 0x72, 0x65, 0x53, 0x75, 0x69, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x20, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x64, 0x46, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x69, + 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x15, 0x0a, 0x06, + 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, + 0x41, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x17, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, + 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x14, 0x66, 0x75, 0x72, 0x6e, 0x69, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x69, 0x74, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UnlockedFurnitureSuiteDataNotify_proto_rawDescOnce sync.Once + file_UnlockedFurnitureSuiteDataNotify_proto_rawDescData = file_UnlockedFurnitureSuiteDataNotify_proto_rawDesc +) + +func file_UnlockedFurnitureSuiteDataNotify_proto_rawDescGZIP() []byte { + file_UnlockedFurnitureSuiteDataNotify_proto_rawDescOnce.Do(func() { + file_UnlockedFurnitureSuiteDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnlockedFurnitureSuiteDataNotify_proto_rawDescData) + }) + return file_UnlockedFurnitureSuiteDataNotify_proto_rawDescData +} + +var file_UnlockedFurnitureSuiteDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnlockedFurnitureSuiteDataNotify_proto_goTypes = []interface{}{ + (*UnlockedFurnitureSuiteDataNotify)(nil), // 0: UnlockedFurnitureSuiteDataNotify +} +var file_UnlockedFurnitureSuiteDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnlockedFurnitureSuiteDataNotify_proto_init() } +func file_UnlockedFurnitureSuiteDataNotify_proto_init() { + if File_UnlockedFurnitureSuiteDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnlockedFurnitureSuiteDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockedFurnitureSuiteDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnlockedFurnitureSuiteDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnlockedFurnitureSuiteDataNotify_proto_goTypes, + DependencyIndexes: file_UnlockedFurnitureSuiteDataNotify_proto_depIdxs, + MessageInfos: file_UnlockedFurnitureSuiteDataNotify_proto_msgTypes, + }.Build() + File_UnlockedFurnitureSuiteDataNotify_proto = out.File + file_UnlockedFurnitureSuiteDataNotify_proto_rawDesc = nil + file_UnlockedFurnitureSuiteDataNotify_proto_goTypes = nil + file_UnlockedFurnitureSuiteDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.proto b/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.proto new file mode 100644 index 00000000..b3d736b5 --- /dev/null +++ b/gate-hk4e-api/proto/UnlockedFurnitureSuiteDataNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4454 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnlockedFurnitureSuiteDataNotify { + bool is_all = 10; + repeated uint32 furniture_suite_id_list = 5; +} diff --git a/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.pb.go b/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.pb.go new file mode 100644 index 00000000..f3ff08b6 --- /dev/null +++ b/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UnmarkEntityInMinMapNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 219 +// EnetChannelId: 0 +// EnetIsReliable: true +type UnmarkEntityInMinMapNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *UnmarkEntityInMinMapNotify) Reset() { + *x = UnmarkEntityInMinMapNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UnmarkEntityInMinMapNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnmarkEntityInMinMapNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnmarkEntityInMinMapNotify) ProtoMessage() {} + +func (x *UnmarkEntityInMinMapNotify) ProtoReflect() protoreflect.Message { + mi := &file_UnmarkEntityInMinMapNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnmarkEntityInMinMapNotify.ProtoReflect.Descriptor instead. +func (*UnmarkEntityInMinMapNotify) Descriptor() ([]byte, []int) { + return file_UnmarkEntityInMinMapNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UnmarkEntityInMinMapNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_UnmarkEntityInMinMapNotify_proto protoreflect.FileDescriptor + +var file_UnmarkEntityInMinMapNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x6b, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6e, + 0x4d, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x1a, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x6b, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x4d, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_UnmarkEntityInMinMapNotify_proto_rawDescOnce sync.Once + file_UnmarkEntityInMinMapNotify_proto_rawDescData = file_UnmarkEntityInMinMapNotify_proto_rawDesc +) + +func file_UnmarkEntityInMinMapNotify_proto_rawDescGZIP() []byte { + file_UnmarkEntityInMinMapNotify_proto_rawDescOnce.Do(func() { + file_UnmarkEntityInMinMapNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UnmarkEntityInMinMapNotify_proto_rawDescData) + }) + return file_UnmarkEntityInMinMapNotify_proto_rawDescData +} + +var file_UnmarkEntityInMinMapNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UnmarkEntityInMinMapNotify_proto_goTypes = []interface{}{ + (*UnmarkEntityInMinMapNotify)(nil), // 0: UnmarkEntityInMinMapNotify +} +var file_UnmarkEntityInMinMapNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UnmarkEntityInMinMapNotify_proto_init() } +func file_UnmarkEntityInMinMapNotify_proto_init() { + if File_UnmarkEntityInMinMapNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UnmarkEntityInMinMapNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnmarkEntityInMinMapNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UnmarkEntityInMinMapNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UnmarkEntityInMinMapNotify_proto_goTypes, + DependencyIndexes: file_UnmarkEntityInMinMapNotify_proto_depIdxs, + MessageInfos: file_UnmarkEntityInMinMapNotify_proto_msgTypes, + }.Build() + File_UnmarkEntityInMinMapNotify_proto = out.File + file_UnmarkEntityInMinMapNotify_proto_rawDesc = nil + file_UnmarkEntityInMinMapNotify_proto_goTypes = nil + file_UnmarkEntityInMinMapNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.proto b/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.proto new file mode 100644 index 00000000..32a2265f --- /dev/null +++ b/gate-hk4e-api/proto/UnmarkEntityInMinMapNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 219 +// EnetChannelId: 0 +// EnetIsReliable: true +message UnmarkEntityInMinMapNotify { + uint32 entity_id = 8; +} diff --git a/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.pb.go b/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.pb.go new file mode 100644 index 00000000..fd0e1a76 --- /dev/null +++ b/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.pb.go @@ -0,0 +1,236 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdateAbilityCreatedMovingPlatformNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type UpdateAbilityCreatedMovingPlatformNotify_OpType int32 + +const ( + UpdateAbilityCreatedMovingPlatformNotify_OP_TYPE_NONE UpdateAbilityCreatedMovingPlatformNotify_OpType = 0 + UpdateAbilityCreatedMovingPlatformNotify_OP_TYPE_ACTIVATE UpdateAbilityCreatedMovingPlatformNotify_OpType = 1 + UpdateAbilityCreatedMovingPlatformNotify_OP_TYPE_DEACTIVATE UpdateAbilityCreatedMovingPlatformNotify_OpType = 2 +) + +// Enum value maps for UpdateAbilityCreatedMovingPlatformNotify_OpType. +var ( + UpdateAbilityCreatedMovingPlatformNotify_OpType_name = map[int32]string{ + 0: "OP_TYPE_NONE", + 1: "OP_TYPE_ACTIVATE", + 2: "OP_TYPE_DEACTIVATE", + } + UpdateAbilityCreatedMovingPlatformNotify_OpType_value = map[string]int32{ + "OP_TYPE_NONE": 0, + "OP_TYPE_ACTIVATE": 1, + "OP_TYPE_DEACTIVATE": 2, + } +) + +func (x UpdateAbilityCreatedMovingPlatformNotify_OpType) Enum() *UpdateAbilityCreatedMovingPlatformNotify_OpType { + p := new(UpdateAbilityCreatedMovingPlatformNotify_OpType) + *p = x + return p +} + +func (x UpdateAbilityCreatedMovingPlatformNotify_OpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UpdateAbilityCreatedMovingPlatformNotify_OpType) Descriptor() protoreflect.EnumDescriptor { + return file_UpdateAbilityCreatedMovingPlatformNotify_proto_enumTypes[0].Descriptor() +} + +func (UpdateAbilityCreatedMovingPlatformNotify_OpType) Type() protoreflect.EnumType { + return &file_UpdateAbilityCreatedMovingPlatformNotify_proto_enumTypes[0] +} + +func (x UpdateAbilityCreatedMovingPlatformNotify_OpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UpdateAbilityCreatedMovingPlatformNotify_OpType.Descriptor instead. +func (UpdateAbilityCreatedMovingPlatformNotify_OpType) EnumDescriptor() ([]byte, []int) { + return file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 881 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdateAbilityCreatedMovingPlatformNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + OpType UpdateAbilityCreatedMovingPlatformNotify_OpType `protobuf:"varint,3,opt,name=op_type,json=opType,proto3,enum=UpdateAbilityCreatedMovingPlatformNotify_OpType" json:"op_type,omitempty"` +} + +func (x *UpdateAbilityCreatedMovingPlatformNotify) Reset() { + *x = UpdateAbilityCreatedMovingPlatformNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdateAbilityCreatedMovingPlatformNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateAbilityCreatedMovingPlatformNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateAbilityCreatedMovingPlatformNotify) ProtoMessage() {} + +func (x *UpdateAbilityCreatedMovingPlatformNotify) ProtoReflect() protoreflect.Message { + mi := &file_UpdateAbilityCreatedMovingPlatformNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateAbilityCreatedMovingPlatformNotify.ProtoReflect.Descriptor instead. +func (*UpdateAbilityCreatedMovingPlatformNotify) Descriptor() ([]byte, []int) { + return file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdateAbilityCreatedMovingPlatformNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *UpdateAbilityCreatedMovingPlatformNotify) GetOpType() UpdateAbilityCreatedMovingPlatformNotify_OpType { + if x != nil { + return x.OpType + } + return UpdateAbilityCreatedMovingPlatformNotify_OP_TYPE_NONE +} + +var File_UpdateAbilityCreatedMovingPlatformNotify_proto protoreflect.FileDescriptor + +var file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xdc, 0x01, 0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x07, 0x6f, 0x70, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x4d, 0x6f, 0x76, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, + 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x06, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x50, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescOnce sync.Once + file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescData = file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDesc +) + +func file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescGZIP() []byte { + file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescOnce.Do(func() { + file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescData) + }) + return file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDescData +} + +var file_UpdateAbilityCreatedMovingPlatformNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_UpdateAbilityCreatedMovingPlatformNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdateAbilityCreatedMovingPlatformNotify_proto_goTypes = []interface{}{ + (UpdateAbilityCreatedMovingPlatformNotify_OpType)(0), // 0: UpdateAbilityCreatedMovingPlatformNotify.OpType + (*UpdateAbilityCreatedMovingPlatformNotify)(nil), // 1: UpdateAbilityCreatedMovingPlatformNotify +} +var file_UpdateAbilityCreatedMovingPlatformNotify_proto_depIdxs = []int32{ + 0, // 0: UpdateAbilityCreatedMovingPlatformNotify.op_type:type_name -> UpdateAbilityCreatedMovingPlatformNotify.OpType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_UpdateAbilityCreatedMovingPlatformNotify_proto_init() } +func file_UpdateAbilityCreatedMovingPlatformNotify_proto_init() { + if File_UpdateAbilityCreatedMovingPlatformNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdateAbilityCreatedMovingPlatformNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAbilityCreatedMovingPlatformNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdateAbilityCreatedMovingPlatformNotify_proto_goTypes, + DependencyIndexes: file_UpdateAbilityCreatedMovingPlatformNotify_proto_depIdxs, + EnumInfos: file_UpdateAbilityCreatedMovingPlatformNotify_proto_enumTypes, + MessageInfos: file_UpdateAbilityCreatedMovingPlatformNotify_proto_msgTypes, + }.Build() + File_UpdateAbilityCreatedMovingPlatformNotify_proto = out.File + file_UpdateAbilityCreatedMovingPlatformNotify_proto_rawDesc = nil + file_UpdateAbilityCreatedMovingPlatformNotify_proto_goTypes = nil + file_UpdateAbilityCreatedMovingPlatformNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.proto b/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.proto new file mode 100644 index 00000000..7667ff47 --- /dev/null +++ b/gate-hk4e-api/proto/UpdateAbilityCreatedMovingPlatformNotify.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 881 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdateAbilityCreatedMovingPlatformNotify { + uint32 entity_id = 4; + OpType op_type = 3; + + enum OpType { + OP_TYPE_NONE = 0; + OP_TYPE_ACTIVATE = 1; + OP_TYPE_DEACTIVATE = 2; + } +} diff --git a/gate-hk4e-api/proto/UpdatePS4BlockListReq.pb.go b/gate-hk4e-api/proto/UpdatePS4BlockListReq.pb.go new file mode 100644 index 00000000..5ed9bfb6 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4BlockListReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePS4BlockListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4046 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePS4BlockListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PsnIdList []string `protobuf:"bytes,10,rep,name=psn_id_list,json=psnIdList,proto3" json:"psn_id_list,omitempty"` +} + +func (x *UpdatePS4BlockListReq) Reset() { + *x = UpdatePS4BlockListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePS4BlockListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePS4BlockListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePS4BlockListReq) ProtoMessage() {} + +func (x *UpdatePS4BlockListReq) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePS4BlockListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePS4BlockListReq.ProtoReflect.Descriptor instead. +func (*UpdatePS4BlockListReq) Descriptor() ([]byte, []int) { + return file_UpdatePS4BlockListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePS4BlockListReq) GetPsnIdList() []string { + if x != nil { + return x.PsnIdList + } + return nil +} + +var File_UpdatePS4BlockListReq_proto protoreflect.FileDescriptor + +var file_UpdatePS4BlockListReq_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, + 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x73, 0x6e, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePS4BlockListReq_proto_rawDescOnce sync.Once + file_UpdatePS4BlockListReq_proto_rawDescData = file_UpdatePS4BlockListReq_proto_rawDesc +) + +func file_UpdatePS4BlockListReq_proto_rawDescGZIP() []byte { + file_UpdatePS4BlockListReq_proto_rawDescOnce.Do(func() { + file_UpdatePS4BlockListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePS4BlockListReq_proto_rawDescData) + }) + return file_UpdatePS4BlockListReq_proto_rawDescData +} + +var file_UpdatePS4BlockListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePS4BlockListReq_proto_goTypes = []interface{}{ + (*UpdatePS4BlockListReq)(nil), // 0: UpdatePS4BlockListReq +} +var file_UpdatePS4BlockListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePS4BlockListReq_proto_init() } +func file_UpdatePS4BlockListReq_proto_init() { + if File_UpdatePS4BlockListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePS4BlockListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePS4BlockListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePS4BlockListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePS4BlockListReq_proto_goTypes, + DependencyIndexes: file_UpdatePS4BlockListReq_proto_depIdxs, + MessageInfos: file_UpdatePS4BlockListReq_proto_msgTypes, + }.Build() + File_UpdatePS4BlockListReq_proto = out.File + file_UpdatePS4BlockListReq_proto_rawDesc = nil + file_UpdatePS4BlockListReq_proto_goTypes = nil + file_UpdatePS4BlockListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePS4BlockListReq.proto b/gate-hk4e-api/proto/UpdatePS4BlockListReq.proto new file mode 100644 index 00000000..7fe2db28 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4BlockListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4046 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePS4BlockListReq { + repeated string psn_id_list = 10; +} diff --git a/gate-hk4e-api/proto/UpdatePS4BlockListRsp.pb.go b/gate-hk4e-api/proto/UpdatePS4BlockListRsp.pb.go new file mode 100644 index 00000000..be69617f --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4BlockListRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePS4BlockListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4041 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpdatePS4BlockListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,7,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *UpdatePS4BlockListRsp) Reset() { + *x = UpdatePS4BlockListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePS4BlockListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePS4BlockListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePS4BlockListRsp) ProtoMessage() {} + +func (x *UpdatePS4BlockListRsp) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePS4BlockListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePS4BlockListRsp.ProtoReflect.Descriptor instead. +func (*UpdatePS4BlockListRsp) Descriptor() ([]byte, []int) { + return file_UpdatePS4BlockListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePS4BlockListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_UpdatePS4BlockListRsp_proto protoreflect.FileDescriptor + +var file_UpdatePS4BlockListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, + 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePS4BlockListRsp_proto_rawDescOnce sync.Once + file_UpdatePS4BlockListRsp_proto_rawDescData = file_UpdatePS4BlockListRsp_proto_rawDesc +) + +func file_UpdatePS4BlockListRsp_proto_rawDescGZIP() []byte { + file_UpdatePS4BlockListRsp_proto_rawDescOnce.Do(func() { + file_UpdatePS4BlockListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePS4BlockListRsp_proto_rawDescData) + }) + return file_UpdatePS4BlockListRsp_proto_rawDescData +} + +var file_UpdatePS4BlockListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePS4BlockListRsp_proto_goTypes = []interface{}{ + (*UpdatePS4BlockListRsp)(nil), // 0: UpdatePS4BlockListRsp +} +var file_UpdatePS4BlockListRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePS4BlockListRsp_proto_init() } +func file_UpdatePS4BlockListRsp_proto_init() { + if File_UpdatePS4BlockListRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePS4BlockListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePS4BlockListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePS4BlockListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePS4BlockListRsp_proto_goTypes, + DependencyIndexes: file_UpdatePS4BlockListRsp_proto_depIdxs, + MessageInfos: file_UpdatePS4BlockListRsp_proto_msgTypes, + }.Build() + File_UpdatePS4BlockListRsp_proto = out.File + file_UpdatePS4BlockListRsp_proto_rawDesc = nil + file_UpdatePS4BlockListRsp_proto_goTypes = nil + file_UpdatePS4BlockListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePS4BlockListRsp.proto b/gate-hk4e-api/proto/UpdatePS4BlockListRsp.proto new file mode 100644 index 00000000..f094df84 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4BlockListRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4041 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpdatePS4BlockListRsp { + int32 retcode = 7; +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListNotify.pb.go b/gate-hk4e-api/proto/UpdatePS4FriendListNotify.pb.go new file mode 100644 index 00000000..5b20e146 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListNotify.pb.go @@ -0,0 +1,164 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePS4FriendListNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4039 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePS4FriendListNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PsnIdList []string `protobuf:"bytes,15,rep,name=psn_id_list,json=psnIdList,proto3" json:"psn_id_list,omitempty"` +} + +func (x *UpdatePS4FriendListNotify) Reset() { + *x = UpdatePS4FriendListNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePS4FriendListNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePS4FriendListNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePS4FriendListNotify) ProtoMessage() {} + +func (x *UpdatePS4FriendListNotify) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePS4FriendListNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePS4FriendListNotify.ProtoReflect.Descriptor instead. +func (*UpdatePS4FriendListNotify) Descriptor() ([]byte, []int) { + return file_UpdatePS4FriendListNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePS4FriendListNotify) GetPsnIdList() []string { + if x != nil { + return x.PsnIdList + } + return nil +} + +var File_UpdatePS4FriendListNotify_proto protoreflect.FileDescriptor + +var file_UpdatePS4FriendListNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x3b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, + 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1e, + 0x0a, 0x0b, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x73, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_UpdatePS4FriendListNotify_proto_rawDescOnce sync.Once + file_UpdatePS4FriendListNotify_proto_rawDescData = file_UpdatePS4FriendListNotify_proto_rawDesc +) + +func file_UpdatePS4FriendListNotify_proto_rawDescGZIP() []byte { + file_UpdatePS4FriendListNotify_proto_rawDescOnce.Do(func() { + file_UpdatePS4FriendListNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePS4FriendListNotify_proto_rawDescData) + }) + return file_UpdatePS4FriendListNotify_proto_rawDescData +} + +var file_UpdatePS4FriendListNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePS4FriendListNotify_proto_goTypes = []interface{}{ + (*UpdatePS4FriendListNotify)(nil), // 0: UpdatePS4FriendListNotify +} +var file_UpdatePS4FriendListNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePS4FriendListNotify_proto_init() } +func file_UpdatePS4FriendListNotify_proto_init() { + if File_UpdatePS4FriendListNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePS4FriendListNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePS4FriendListNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePS4FriendListNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePS4FriendListNotify_proto_goTypes, + DependencyIndexes: file_UpdatePS4FriendListNotify_proto_depIdxs, + MessageInfos: file_UpdatePS4FriendListNotify_proto_msgTypes, + }.Build() + File_UpdatePS4FriendListNotify_proto = out.File + file_UpdatePS4FriendListNotify_proto_rawDesc = nil + file_UpdatePS4FriendListNotify_proto_goTypes = nil + file_UpdatePS4FriendListNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListNotify.proto b/gate-hk4e-api/proto/UpdatePS4FriendListNotify.proto new file mode 100644 index 00000000..99ffe85a --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4039 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePS4FriendListNotify { + repeated string psn_id_list = 15; +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListReq.pb.go b/gate-hk4e-api/proto/UpdatePS4FriendListReq.pb.go new file mode 100644 index 00000000..8e02a5be --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePS4FriendListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4089 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePS4FriendListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PsnIdList []string `protobuf:"bytes,4,rep,name=psn_id_list,json=psnIdList,proto3" json:"psn_id_list,omitempty"` +} + +func (x *UpdatePS4FriendListReq) Reset() { + *x = UpdatePS4FriendListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePS4FriendListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePS4FriendListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePS4FriendListReq) ProtoMessage() {} + +func (x *UpdatePS4FriendListReq) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePS4FriendListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePS4FriendListReq.ProtoReflect.Descriptor instead. +func (*UpdatePS4FriendListReq) Descriptor() ([]byte, []int) { + return file_UpdatePS4FriendListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePS4FriendListReq) GetPsnIdList() []string { + if x != nil { + return x.PsnIdList + } + return nil +} + +var File_UpdatePS4FriendListReq_proto protoreflect.FileDescriptor + +var file_UpdatePS4FriendListReq_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, + 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x73, 0x6e, 0x5f, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x73, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePS4FriendListReq_proto_rawDescOnce sync.Once + file_UpdatePS4FriendListReq_proto_rawDescData = file_UpdatePS4FriendListReq_proto_rawDesc +) + +func file_UpdatePS4FriendListReq_proto_rawDescGZIP() []byte { + file_UpdatePS4FriendListReq_proto_rawDescOnce.Do(func() { + file_UpdatePS4FriendListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePS4FriendListReq_proto_rawDescData) + }) + return file_UpdatePS4FriendListReq_proto_rawDescData +} + +var file_UpdatePS4FriendListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePS4FriendListReq_proto_goTypes = []interface{}{ + (*UpdatePS4FriendListReq)(nil), // 0: UpdatePS4FriendListReq +} +var file_UpdatePS4FriendListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePS4FriendListReq_proto_init() } +func file_UpdatePS4FriendListReq_proto_init() { + if File_UpdatePS4FriendListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePS4FriendListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePS4FriendListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePS4FriendListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePS4FriendListReq_proto_goTypes, + DependencyIndexes: file_UpdatePS4FriendListReq_proto_depIdxs, + MessageInfos: file_UpdatePS4FriendListReq_proto_msgTypes, + }.Build() + File_UpdatePS4FriendListReq_proto = out.File + file_UpdatePS4FriendListReq_proto_rawDesc = nil + file_UpdatePS4FriendListReq_proto_goTypes = nil + file_UpdatePS4FriendListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListReq.proto b/gate-hk4e-api/proto/UpdatePS4FriendListReq.proto new file mode 100644 index 00000000..d9aa9e1f --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4089 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePS4FriendListReq { + repeated string psn_id_list = 4; +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListRsp.pb.go b/gate-hk4e-api/proto/UpdatePS4FriendListRsp.pb.go new file mode 100644 index 00000000..9837877d --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePS4FriendListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4059 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePS4FriendListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + PsnIdList []string `protobuf:"bytes,2,rep,name=psn_id_list,json=psnIdList,proto3" json:"psn_id_list,omitempty"` +} + +func (x *UpdatePS4FriendListRsp) Reset() { + *x = UpdatePS4FriendListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePS4FriendListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePS4FriendListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePS4FriendListRsp) ProtoMessage() {} + +func (x *UpdatePS4FriendListRsp) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePS4FriendListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePS4FriendListRsp.ProtoReflect.Descriptor instead. +func (*UpdatePS4FriendListRsp) Descriptor() ([]byte, []int) { + return file_UpdatePS4FriendListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePS4FriendListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UpdatePS4FriendListRsp) GetPsnIdList() []string { + if x != nil { + return x.PsnIdList + } + return nil +} + +var File_UpdatePS4FriendListRsp_proto protoreflect.FileDescriptor + +var file_UpdatePS4FriendListRsp_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, + 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x34, 0x46, 0x72, 0x69, 0x65, 0x6e, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x73, 0x6e, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x73, 0x6e, 0x49, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePS4FriendListRsp_proto_rawDescOnce sync.Once + file_UpdatePS4FriendListRsp_proto_rawDescData = file_UpdatePS4FriendListRsp_proto_rawDesc +) + +func file_UpdatePS4FriendListRsp_proto_rawDescGZIP() []byte { + file_UpdatePS4FriendListRsp_proto_rawDescOnce.Do(func() { + file_UpdatePS4FriendListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePS4FriendListRsp_proto_rawDescData) + }) + return file_UpdatePS4FriendListRsp_proto_rawDescData +} + +var file_UpdatePS4FriendListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePS4FriendListRsp_proto_goTypes = []interface{}{ + (*UpdatePS4FriendListRsp)(nil), // 0: UpdatePS4FriendListRsp +} +var file_UpdatePS4FriendListRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePS4FriendListRsp_proto_init() } +func file_UpdatePS4FriendListRsp_proto_init() { + if File_UpdatePS4FriendListRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePS4FriendListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePS4FriendListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePS4FriendListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePS4FriendListRsp_proto_goTypes, + DependencyIndexes: file_UpdatePS4FriendListRsp_proto_depIdxs, + MessageInfos: file_UpdatePS4FriendListRsp_proto_msgTypes, + }.Build() + File_UpdatePS4FriendListRsp_proto = out.File + file_UpdatePS4FriendListRsp_proto_rawDesc = nil + file_UpdatePS4FriendListRsp_proto_goTypes = nil + file_UpdatePS4FriendListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePS4FriendListRsp.proto b/gate-hk4e-api/proto/UpdatePS4FriendListRsp.proto new file mode 100644 index 00000000..3d247a2d --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePS4FriendListRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4059 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePS4FriendListRsp { + int32 retcode = 5; + repeated string psn_id_list = 2; +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.pb.go b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.pb.go new file mode 100644 index 00000000..570765a4 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePlayerShowAvatarListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4067 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePlayerShowAvatarListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsShowAvatar bool `protobuf:"varint,15,opt,name=is_show_avatar,json=isShowAvatar,proto3" json:"is_show_avatar,omitempty"` + ShowAvatarIdList []uint32 `protobuf:"varint,13,rep,packed,name=show_avatar_id_list,json=showAvatarIdList,proto3" json:"show_avatar_id_list,omitempty"` +} + +func (x *UpdatePlayerShowAvatarListReq) Reset() { + *x = UpdatePlayerShowAvatarListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePlayerShowAvatarListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePlayerShowAvatarListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePlayerShowAvatarListReq) ProtoMessage() {} + +func (x *UpdatePlayerShowAvatarListReq) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePlayerShowAvatarListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePlayerShowAvatarListReq.ProtoReflect.Descriptor instead. +func (*UpdatePlayerShowAvatarListReq) Descriptor() ([]byte, []int) { + return file_UpdatePlayerShowAvatarListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePlayerShowAvatarListReq) GetIsShowAvatar() bool { + if x != nil { + return x.IsShowAvatar + } + return false +} + +func (x *UpdatePlayerShowAvatarListReq) GetShowAvatarIdList() []uint32 { + if x != nil { + return x.ShowAvatarIdList + } + return nil +} + +var File_UpdatePlayerShowAvatarListReq_proto protoreflect.FileDescriptor + +var file_UpdatePlayerShowAvatarListReq_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, + 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, + 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x2d, 0x0a, 0x13, + 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x77, 0x41, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePlayerShowAvatarListReq_proto_rawDescOnce sync.Once + file_UpdatePlayerShowAvatarListReq_proto_rawDescData = file_UpdatePlayerShowAvatarListReq_proto_rawDesc +) + +func file_UpdatePlayerShowAvatarListReq_proto_rawDescGZIP() []byte { + file_UpdatePlayerShowAvatarListReq_proto_rawDescOnce.Do(func() { + file_UpdatePlayerShowAvatarListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePlayerShowAvatarListReq_proto_rawDescData) + }) + return file_UpdatePlayerShowAvatarListReq_proto_rawDescData +} + +var file_UpdatePlayerShowAvatarListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePlayerShowAvatarListReq_proto_goTypes = []interface{}{ + (*UpdatePlayerShowAvatarListReq)(nil), // 0: UpdatePlayerShowAvatarListReq +} +var file_UpdatePlayerShowAvatarListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePlayerShowAvatarListReq_proto_init() } +func file_UpdatePlayerShowAvatarListReq_proto_init() { + if File_UpdatePlayerShowAvatarListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePlayerShowAvatarListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePlayerShowAvatarListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePlayerShowAvatarListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePlayerShowAvatarListReq_proto_goTypes, + DependencyIndexes: file_UpdatePlayerShowAvatarListReq_proto_depIdxs, + MessageInfos: file_UpdatePlayerShowAvatarListReq_proto_msgTypes, + }.Build() + File_UpdatePlayerShowAvatarListReq_proto = out.File + file_UpdatePlayerShowAvatarListReq_proto_rawDesc = nil + file_UpdatePlayerShowAvatarListReq_proto_goTypes = nil + file_UpdatePlayerShowAvatarListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.proto b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.proto new file mode 100644 index 00000000..74f0e4a0 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4067 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePlayerShowAvatarListReq { + bool is_show_avatar = 15; + repeated uint32 show_avatar_id_list = 13; +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.pb.go b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.pb.go new file mode 100644 index 00000000..c5be69ea --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePlayerShowAvatarListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4058 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpdatePlayerShowAvatarListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShowAvatarIdList []uint32 `protobuf:"varint,1,rep,packed,name=show_avatar_id_list,json=showAvatarIdList,proto3" json:"show_avatar_id_list,omitempty"` + IsShowAvatar bool `protobuf:"varint,3,opt,name=is_show_avatar,json=isShowAvatar,proto3" json:"is_show_avatar,omitempty"` + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *UpdatePlayerShowAvatarListRsp) Reset() { + *x = UpdatePlayerShowAvatarListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePlayerShowAvatarListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePlayerShowAvatarListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePlayerShowAvatarListRsp) ProtoMessage() {} + +func (x *UpdatePlayerShowAvatarListRsp) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePlayerShowAvatarListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePlayerShowAvatarListRsp.ProtoReflect.Descriptor instead. +func (*UpdatePlayerShowAvatarListRsp) Descriptor() ([]byte, []int) { + return file_UpdatePlayerShowAvatarListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePlayerShowAvatarListRsp) GetShowAvatarIdList() []uint32 { + if x != nil { + return x.ShowAvatarIdList + } + return nil +} + +func (x *UpdatePlayerShowAvatarListRsp) GetIsShowAvatar() bool { + if x != nil { + return x.IsShowAvatar + } + return false +} + +func (x *UpdatePlayerShowAvatarListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_UpdatePlayerShowAvatarListRsp_proto protoreflect.FileDescriptor + +var file_UpdatePlayerShowAvatarListRsp_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, + 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x68, 0x6f, 0x77, 0x5f, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, + 0x77, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePlayerShowAvatarListRsp_proto_rawDescOnce sync.Once + file_UpdatePlayerShowAvatarListRsp_proto_rawDescData = file_UpdatePlayerShowAvatarListRsp_proto_rawDesc +) + +func file_UpdatePlayerShowAvatarListRsp_proto_rawDescGZIP() []byte { + file_UpdatePlayerShowAvatarListRsp_proto_rawDescOnce.Do(func() { + file_UpdatePlayerShowAvatarListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePlayerShowAvatarListRsp_proto_rawDescData) + }) + return file_UpdatePlayerShowAvatarListRsp_proto_rawDescData +} + +var file_UpdatePlayerShowAvatarListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePlayerShowAvatarListRsp_proto_goTypes = []interface{}{ + (*UpdatePlayerShowAvatarListRsp)(nil), // 0: UpdatePlayerShowAvatarListRsp +} +var file_UpdatePlayerShowAvatarListRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePlayerShowAvatarListRsp_proto_init() } +func file_UpdatePlayerShowAvatarListRsp_proto_init() { + if File_UpdatePlayerShowAvatarListRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePlayerShowAvatarListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePlayerShowAvatarListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePlayerShowAvatarListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePlayerShowAvatarListRsp_proto_goTypes, + DependencyIndexes: file_UpdatePlayerShowAvatarListRsp_proto_depIdxs, + MessageInfos: file_UpdatePlayerShowAvatarListRsp_proto_msgTypes, + }.Build() + File_UpdatePlayerShowAvatarListRsp_proto = out.File + file_UpdatePlayerShowAvatarListRsp_proto_rawDesc = nil + file_UpdatePlayerShowAvatarListRsp_proto_goTypes = nil + file_UpdatePlayerShowAvatarListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.proto b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.proto new file mode 100644 index 00000000..cd7bcbb4 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowAvatarListRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4058 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpdatePlayerShowAvatarListRsp { + repeated uint32 show_avatar_id_list = 1; + bool is_show_avatar = 3; + int32 retcode = 10; +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.pb.go b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.pb.go new file mode 100644 index 00000000..f1b4ea45 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePlayerShowNameCardListReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4002 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpdatePlayerShowNameCardListReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShowNameCardIdList []uint32 `protobuf:"varint,15,rep,packed,name=show_name_card_id_list,json=showNameCardIdList,proto3" json:"show_name_card_id_list,omitempty"` +} + +func (x *UpdatePlayerShowNameCardListReq) Reset() { + *x = UpdatePlayerShowNameCardListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePlayerShowNameCardListReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePlayerShowNameCardListReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePlayerShowNameCardListReq) ProtoMessage() {} + +func (x *UpdatePlayerShowNameCardListReq) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePlayerShowNameCardListReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePlayerShowNameCardListReq.ProtoReflect.Descriptor instead. +func (*UpdatePlayerShowNameCardListReq) Descriptor() ([]byte, []int) { + return file_UpdatePlayerShowNameCardListReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePlayerShowNameCardListReq) GetShowNameCardIdList() []uint32 { + if x != nil { + return x.ShowNameCardIdList + } + return nil +} + +var File_UpdatePlayerShowNameCardListReq_proto protoreflect.FileDescriptor + +var file_UpdatePlayerShowNameCardListReq_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, + 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, + 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x16, 0x73, 0x68, + 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, + 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_UpdatePlayerShowNameCardListReq_proto_rawDescOnce sync.Once + file_UpdatePlayerShowNameCardListReq_proto_rawDescData = file_UpdatePlayerShowNameCardListReq_proto_rawDesc +) + +func file_UpdatePlayerShowNameCardListReq_proto_rawDescGZIP() []byte { + file_UpdatePlayerShowNameCardListReq_proto_rawDescOnce.Do(func() { + file_UpdatePlayerShowNameCardListReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePlayerShowNameCardListReq_proto_rawDescData) + }) + return file_UpdatePlayerShowNameCardListReq_proto_rawDescData +} + +var file_UpdatePlayerShowNameCardListReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePlayerShowNameCardListReq_proto_goTypes = []interface{}{ + (*UpdatePlayerShowNameCardListReq)(nil), // 0: UpdatePlayerShowNameCardListReq +} +var file_UpdatePlayerShowNameCardListReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePlayerShowNameCardListReq_proto_init() } +func file_UpdatePlayerShowNameCardListReq_proto_init() { + if File_UpdatePlayerShowNameCardListReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePlayerShowNameCardListReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePlayerShowNameCardListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePlayerShowNameCardListReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePlayerShowNameCardListReq_proto_goTypes, + DependencyIndexes: file_UpdatePlayerShowNameCardListReq_proto_depIdxs, + MessageInfos: file_UpdatePlayerShowNameCardListReq_proto_msgTypes, + }.Build() + File_UpdatePlayerShowNameCardListReq_proto = out.File + file_UpdatePlayerShowNameCardListReq_proto_rawDesc = nil + file_UpdatePlayerShowNameCardListReq_proto_goTypes = nil + file_UpdatePlayerShowNameCardListReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.proto b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.proto new file mode 100644 index 00000000..d6e5a709 --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4002 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpdatePlayerShowNameCardListReq { + repeated uint32 show_name_card_id_list = 15; +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.pb.go b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.pb.go new file mode 100644 index 00000000..c59b16fa --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdatePlayerShowNameCardListRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4019 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpdatePlayerShowNameCardListRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` + ShowNameCardIdList []uint32 `protobuf:"varint,12,rep,packed,name=show_name_card_id_list,json=showNameCardIdList,proto3" json:"show_name_card_id_list,omitempty"` +} + +func (x *UpdatePlayerShowNameCardListRsp) Reset() { + *x = UpdatePlayerShowNameCardListRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdatePlayerShowNameCardListRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePlayerShowNameCardListRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePlayerShowNameCardListRsp) ProtoMessage() {} + +func (x *UpdatePlayerShowNameCardListRsp) ProtoReflect() protoreflect.Message { + mi := &file_UpdatePlayerShowNameCardListRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePlayerShowNameCardListRsp.ProtoReflect.Descriptor instead. +func (*UpdatePlayerShowNameCardListRsp) Descriptor() ([]byte, []int) { + return file_UpdatePlayerShowNameCardListRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdatePlayerShowNameCardListRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UpdatePlayerShowNameCardListRsp) GetShowNameCardIdList() []uint32 { + if x != nil { + return x.ShowNameCardIdList + } + return nil +} + +var File_UpdatePlayerShowNameCardListRsp_proto protoreflect.FileDescriptor + +var file_UpdatePlayerShowNameCardListRsp_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, + 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, + 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x16, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdatePlayerShowNameCardListRsp_proto_rawDescOnce sync.Once + file_UpdatePlayerShowNameCardListRsp_proto_rawDescData = file_UpdatePlayerShowNameCardListRsp_proto_rawDesc +) + +func file_UpdatePlayerShowNameCardListRsp_proto_rawDescGZIP() []byte { + file_UpdatePlayerShowNameCardListRsp_proto_rawDescOnce.Do(func() { + file_UpdatePlayerShowNameCardListRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdatePlayerShowNameCardListRsp_proto_rawDescData) + }) + return file_UpdatePlayerShowNameCardListRsp_proto_rawDescData +} + +var file_UpdatePlayerShowNameCardListRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdatePlayerShowNameCardListRsp_proto_goTypes = []interface{}{ + (*UpdatePlayerShowNameCardListRsp)(nil), // 0: UpdatePlayerShowNameCardListRsp +} +var file_UpdatePlayerShowNameCardListRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpdatePlayerShowNameCardListRsp_proto_init() } +func file_UpdatePlayerShowNameCardListRsp_proto_init() { + if File_UpdatePlayerShowNameCardListRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpdatePlayerShowNameCardListRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePlayerShowNameCardListRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdatePlayerShowNameCardListRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdatePlayerShowNameCardListRsp_proto_goTypes, + DependencyIndexes: file_UpdatePlayerShowNameCardListRsp_proto_depIdxs, + MessageInfos: file_UpdatePlayerShowNameCardListRsp_proto_msgTypes, + }.Build() + File_UpdatePlayerShowNameCardListRsp_proto = out.File + file_UpdatePlayerShowNameCardListRsp_proto_rawDesc = nil + file_UpdatePlayerShowNameCardListRsp_proto_goTypes = nil + file_UpdatePlayerShowNameCardListRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.proto b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.proto new file mode 100644 index 00000000..d92f5afc --- /dev/null +++ b/gate-hk4e-api/proto/UpdatePlayerShowNameCardListRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4019 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpdatePlayerShowNameCardListRsp { + int32 retcode = 13; + repeated uint32 show_name_card_id_list = 12; +} diff --git a/gate-hk4e-api/proto/UpdateRedPointNotify.pb.go b/gate-hk4e-api/proto/UpdateRedPointNotify.pb.go new file mode 100644 index 00000000..c9718d74 --- /dev/null +++ b/gate-hk4e-api/proto/UpdateRedPointNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdateRedPointNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 93 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpdateRedPointNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RedPointList []*RedPointData `protobuf:"bytes,12,rep,name=red_point_list,json=redPointList,proto3" json:"red_point_list,omitempty"` +} + +func (x *UpdateRedPointNotify) Reset() { + *x = UpdateRedPointNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdateRedPointNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateRedPointNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateRedPointNotify) ProtoMessage() {} + +func (x *UpdateRedPointNotify) ProtoReflect() protoreflect.Message { + mi := &file_UpdateRedPointNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateRedPointNotify.ProtoReflect.Descriptor instead. +func (*UpdateRedPointNotify) Descriptor() ([]byte, []int) { + return file_UpdateRedPointNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdateRedPointNotify) GetRedPointList() []*RedPointData { + if x != nil { + return x.RedPointList + } + return nil +} + +var File_UpdateRedPointNotify_proto protoreflect.FileDescriptor + +var file_UpdateRedPointNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x52, 0x65, + 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x4b, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x64, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x33, 0x0a, 0x0e, 0x72, 0x65, 0x64, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0d, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x0c, 0x72, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_UpdateRedPointNotify_proto_rawDescOnce sync.Once + file_UpdateRedPointNotify_proto_rawDescData = file_UpdateRedPointNotify_proto_rawDesc +) + +func file_UpdateRedPointNotify_proto_rawDescGZIP() []byte { + file_UpdateRedPointNotify_proto_rawDescOnce.Do(func() { + file_UpdateRedPointNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdateRedPointNotify_proto_rawDescData) + }) + return file_UpdateRedPointNotify_proto_rawDescData +} + +var file_UpdateRedPointNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdateRedPointNotify_proto_goTypes = []interface{}{ + (*UpdateRedPointNotify)(nil), // 0: UpdateRedPointNotify + (*RedPointData)(nil), // 1: RedPointData +} +var file_UpdateRedPointNotify_proto_depIdxs = []int32{ + 1, // 0: UpdateRedPointNotify.red_point_list:type_name -> RedPointData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_UpdateRedPointNotify_proto_init() } +func file_UpdateRedPointNotify_proto_init() { + if File_UpdateRedPointNotify_proto != nil { + return + } + file_RedPointData_proto_init() + if !protoimpl.UnsafeEnabled { + file_UpdateRedPointNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRedPointNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdateRedPointNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdateRedPointNotify_proto_goTypes, + DependencyIndexes: file_UpdateRedPointNotify_proto_depIdxs, + MessageInfos: file_UpdateRedPointNotify_proto_msgTypes, + }.Build() + File_UpdateRedPointNotify_proto = out.File + file_UpdateRedPointNotify_proto_rawDesc = nil + file_UpdateRedPointNotify_proto_goTypes = nil + file_UpdateRedPointNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdateRedPointNotify.proto b/gate-hk4e-api/proto/UpdateRedPointNotify.proto new file mode 100644 index 00000000..b8ff2b13 --- /dev/null +++ b/gate-hk4e-api/proto/UpdateRedPointNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "RedPointData.proto"; + +option go_package = "./;proto"; + +// CmdId: 93 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpdateRedPointNotify { + repeated RedPointData red_point_list = 12; +} diff --git a/gate-hk4e-api/proto/UpdateReunionWatcherNotify.pb.go b/gate-hk4e-api/proto/UpdateReunionWatcherNotify.pb.go new file mode 100644 index 00000000..f2629abc --- /dev/null +++ b/gate-hk4e-api/proto/UpdateReunionWatcherNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpdateReunionWatcherNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5091 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpdateReunionWatcherNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MissionId uint32 `protobuf:"varint,3,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` + WatcherInfo *ReunionWatcherInfo `protobuf:"bytes,10,opt,name=watcher_info,json=watcherInfo,proto3" json:"watcher_info,omitempty"` +} + +func (x *UpdateReunionWatcherNotify) Reset() { + *x = UpdateReunionWatcherNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_UpdateReunionWatcherNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateReunionWatcherNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateReunionWatcherNotify) ProtoMessage() {} + +func (x *UpdateReunionWatcherNotify) ProtoReflect() protoreflect.Message { + mi := &file_UpdateReunionWatcherNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateReunionWatcherNotify.ProtoReflect.Descriptor instead. +func (*UpdateReunionWatcherNotify) Descriptor() ([]byte, []int) { + return file_UpdateReunionWatcherNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdateReunionWatcherNotify) GetMissionId() uint32 { + if x != nil { + return x.MissionId + } + return 0 +} + +func (x *UpdateReunionWatcherNotify) GetWatcherInfo() *ReunionWatcherInfo { + if x != nil { + return x.WatcherInfo + } + return nil +} + +var File_UpdateReunionWatcherNotify_proto protoreflect.FileDescriptor + +var file_UpdateReunionWatcherNotify_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x18, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x1a, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x0c, 0x77, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x52, 0x65, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpdateReunionWatcherNotify_proto_rawDescOnce sync.Once + file_UpdateReunionWatcherNotify_proto_rawDescData = file_UpdateReunionWatcherNotify_proto_rawDesc +) + +func file_UpdateReunionWatcherNotify_proto_rawDescGZIP() []byte { + file_UpdateReunionWatcherNotify_proto_rawDescOnce.Do(func() { + file_UpdateReunionWatcherNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpdateReunionWatcherNotify_proto_rawDescData) + }) + return file_UpdateReunionWatcherNotify_proto_rawDescData +} + +var file_UpdateReunionWatcherNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpdateReunionWatcherNotify_proto_goTypes = []interface{}{ + (*UpdateReunionWatcherNotify)(nil), // 0: UpdateReunionWatcherNotify + (*ReunionWatcherInfo)(nil), // 1: ReunionWatcherInfo +} +var file_UpdateReunionWatcherNotify_proto_depIdxs = []int32{ + 1, // 0: UpdateReunionWatcherNotify.watcher_info:type_name -> ReunionWatcherInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_UpdateReunionWatcherNotify_proto_init() } +func file_UpdateReunionWatcherNotify_proto_init() { + if File_UpdateReunionWatcherNotify_proto != nil { + return + } + file_ReunionWatcherInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_UpdateReunionWatcherNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReunionWatcherNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpdateReunionWatcherNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpdateReunionWatcherNotify_proto_goTypes, + DependencyIndexes: file_UpdateReunionWatcherNotify_proto_depIdxs, + MessageInfos: file_UpdateReunionWatcherNotify_proto_msgTypes, + }.Build() + File_UpdateReunionWatcherNotify_proto = out.File + file_UpdateReunionWatcherNotify_proto_rawDesc = nil + file_UpdateReunionWatcherNotify_proto_goTypes = nil + file_UpdateReunionWatcherNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpdateReunionWatcherNotify.proto b/gate-hk4e-api/proto/UpdateReunionWatcherNotify.proto new file mode 100644 index 00000000..da262e53 --- /dev/null +++ b/gate-hk4e-api/proto/UpdateReunionWatcherNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ReunionWatcherInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 5091 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpdateReunionWatcherNotify { + uint32 mission_id = 3; + ReunionWatcherInfo watcher_info = 10; +} diff --git a/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.pb.go b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.pb.go new file mode 100644 index 00000000..b74f212f --- /dev/null +++ b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.pb.go @@ -0,0 +1,175 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpgradeRoguelikeShikigamiReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8151 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UpgradeRoguelikeShikigamiReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UpgradeLevel uint32 `protobuf:"varint,6,opt,name=upgrade_level,json=upgradeLevel,proto3" json:"upgrade_level,omitempty"` + ShikigamiGroupId uint32 `protobuf:"varint,15,opt,name=shikigami_group_id,json=shikigamiGroupId,proto3" json:"shikigami_group_id,omitempty"` +} + +func (x *UpgradeRoguelikeShikigamiReq) Reset() { + *x = UpgradeRoguelikeShikigamiReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UpgradeRoguelikeShikigamiReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeRoguelikeShikigamiReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeRoguelikeShikigamiReq) ProtoMessage() {} + +func (x *UpgradeRoguelikeShikigamiReq) ProtoReflect() protoreflect.Message { + mi := &file_UpgradeRoguelikeShikigamiReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpgradeRoguelikeShikigamiReq.ProtoReflect.Descriptor instead. +func (*UpgradeRoguelikeShikigamiReq) Descriptor() ([]byte, []int) { + return file_UpgradeRoguelikeShikigamiReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UpgradeRoguelikeShikigamiReq) GetUpgradeLevel() uint32 { + if x != nil { + return x.UpgradeLevel + } + return 0 +} + +func (x *UpgradeRoguelikeShikigamiReq) GetShikigamiGroupId() uint32 { + if x != nil { + return x.ShikigamiGroupId + } + return 0 +} + +var File_UpgradeRoguelikeShikigamiReq_proto protoreflect.FileDescriptor + +var file_UpgradeRoguelikeShikigamiReq_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x1c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, 0x6d, + 0x69, 0x52, 0x65, 0x71, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x75, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x68, 0x69, + 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpgradeRoguelikeShikigamiReq_proto_rawDescOnce sync.Once + file_UpgradeRoguelikeShikigamiReq_proto_rawDescData = file_UpgradeRoguelikeShikigamiReq_proto_rawDesc +) + +func file_UpgradeRoguelikeShikigamiReq_proto_rawDescGZIP() []byte { + file_UpgradeRoguelikeShikigamiReq_proto_rawDescOnce.Do(func() { + file_UpgradeRoguelikeShikigamiReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpgradeRoguelikeShikigamiReq_proto_rawDescData) + }) + return file_UpgradeRoguelikeShikigamiReq_proto_rawDescData +} + +var file_UpgradeRoguelikeShikigamiReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpgradeRoguelikeShikigamiReq_proto_goTypes = []interface{}{ + (*UpgradeRoguelikeShikigamiReq)(nil), // 0: UpgradeRoguelikeShikigamiReq +} +var file_UpgradeRoguelikeShikigamiReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpgradeRoguelikeShikigamiReq_proto_init() } +func file_UpgradeRoguelikeShikigamiReq_proto_init() { + if File_UpgradeRoguelikeShikigamiReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpgradeRoguelikeShikigamiReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpgradeRoguelikeShikigamiReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpgradeRoguelikeShikigamiReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpgradeRoguelikeShikigamiReq_proto_goTypes, + DependencyIndexes: file_UpgradeRoguelikeShikigamiReq_proto_depIdxs, + MessageInfos: file_UpgradeRoguelikeShikigamiReq_proto_msgTypes, + }.Build() + File_UpgradeRoguelikeShikigamiReq_proto = out.File + file_UpgradeRoguelikeShikigamiReq_proto_rawDesc = nil + file_UpgradeRoguelikeShikigamiReq_proto_goTypes = nil + file_UpgradeRoguelikeShikigamiReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.proto b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.proto new file mode 100644 index 00000000..baa12e82 --- /dev/null +++ b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8151 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UpgradeRoguelikeShikigamiReq { + uint32 upgrade_level = 6; + uint32 shikigami_group_id = 15; +} diff --git a/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.pb.go b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.pb.go new file mode 100644 index 00000000..0e0b3a39 --- /dev/null +++ b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UpgradeRoguelikeShikigamiRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 8966 +// EnetChannelId: 0 +// EnetIsReliable: true +type UpgradeRoguelikeShikigamiRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + ShikigamiGroupId uint32 `protobuf:"varint,14,opt,name=shikigami_group_id,json=shikigamiGroupId,proto3" json:"shikigami_group_id,omitempty"` + CurLevel uint32 `protobuf:"varint,4,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` +} + +func (x *UpgradeRoguelikeShikigamiRsp) Reset() { + *x = UpgradeRoguelikeShikigamiRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UpgradeRoguelikeShikigamiRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeRoguelikeShikigamiRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeRoguelikeShikigamiRsp) ProtoMessage() {} + +func (x *UpgradeRoguelikeShikigamiRsp) ProtoReflect() protoreflect.Message { + mi := &file_UpgradeRoguelikeShikigamiRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpgradeRoguelikeShikigamiRsp.ProtoReflect.Descriptor instead. +func (*UpgradeRoguelikeShikigamiRsp) Descriptor() ([]byte, []int) { + return file_UpgradeRoguelikeShikigamiRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UpgradeRoguelikeShikigamiRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UpgradeRoguelikeShikigamiRsp) GetShikigamiGroupId() uint32 { + if x != nil { + return x.ShikigamiGroupId + } + return 0 +} + +func (x *UpgradeRoguelikeShikigamiRsp) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +var File_UpgradeRoguelikeShikigamiRsp_proto protoreflect.FileDescriptor + +var file_UpgradeRoguelikeShikigamiRsp_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, + 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, + 0x52, 0x6f, 0x67, 0x75, 0x65, 0x6c, 0x69, 0x6b, 0x65, 0x53, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, + 0x6d, 0x69, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x2c, 0x0a, 0x12, 0x73, 0x68, 0x69, 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x5f, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x68, 0x69, + 0x6b, 0x69, 0x67, 0x61, 0x6d, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UpgradeRoguelikeShikigamiRsp_proto_rawDescOnce sync.Once + file_UpgradeRoguelikeShikigamiRsp_proto_rawDescData = file_UpgradeRoguelikeShikigamiRsp_proto_rawDesc +) + +func file_UpgradeRoguelikeShikigamiRsp_proto_rawDescGZIP() []byte { + file_UpgradeRoguelikeShikigamiRsp_proto_rawDescOnce.Do(func() { + file_UpgradeRoguelikeShikigamiRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpgradeRoguelikeShikigamiRsp_proto_rawDescData) + }) + return file_UpgradeRoguelikeShikigamiRsp_proto_rawDescData +} + +var file_UpgradeRoguelikeShikigamiRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UpgradeRoguelikeShikigamiRsp_proto_goTypes = []interface{}{ + (*UpgradeRoguelikeShikigamiRsp)(nil), // 0: UpgradeRoguelikeShikigamiRsp +} +var file_UpgradeRoguelikeShikigamiRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UpgradeRoguelikeShikigamiRsp_proto_init() } +func file_UpgradeRoguelikeShikigamiRsp_proto_init() { + if File_UpgradeRoguelikeShikigamiRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UpgradeRoguelikeShikigamiRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpgradeRoguelikeShikigamiRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UpgradeRoguelikeShikigamiRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UpgradeRoguelikeShikigamiRsp_proto_goTypes, + DependencyIndexes: file_UpgradeRoguelikeShikigamiRsp_proto_depIdxs, + MessageInfos: file_UpgradeRoguelikeShikigamiRsp_proto_msgTypes, + }.Build() + File_UpgradeRoguelikeShikigamiRsp_proto = out.File + file_UpgradeRoguelikeShikigamiRsp_proto_rawDesc = nil + file_UpgradeRoguelikeShikigamiRsp_proto_goTypes = nil + file_UpgradeRoguelikeShikigamiRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.proto b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.proto new file mode 100644 index 00000000..79c3d9d4 --- /dev/null +++ b/gate-hk4e-api/proto/UpgradeRoguelikeShikigamiRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 8966 +// EnetChannelId: 0 +// EnetIsReliable: true +message UpgradeRoguelikeShikigamiRsp { + int32 retcode = 10; + uint32 shikigami_group_id = 14; + uint32 cur_level = 4; +} diff --git a/gate-hk4e-api/proto/UseItemReq.pb.go b/gate-hk4e-api/proto/UseItemReq.pb.go new file mode 100644 index 00000000..ffe60bec --- /dev/null +++ b/gate-hk4e-api/proto/UseItemReq.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseItemReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 690 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UseItemReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint32 `protobuf:"varint,13,opt,name=count,proto3" json:"count,omitempty"` + TargetGuid uint64 `protobuf:"varint,14,opt,name=target_guid,json=targetGuid,proto3" json:"target_guid,omitempty"` + Guid uint64 `protobuf:"varint,10,opt,name=guid,proto3" json:"guid,omitempty"` + IsEnterMpDungeonTeam bool `protobuf:"varint,15,opt,name=is_enter_mp_dungeon_team,json=isEnterMpDungeonTeam,proto3" json:"is_enter_mp_dungeon_team,omitempty"` + OptionIdx uint32 `protobuf:"varint,7,opt,name=option_idx,json=optionIdx,proto3" json:"option_idx,omitempty"` +} + +func (x *UseItemReq) Reset() { + *x = UseItemReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UseItemReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseItemReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseItemReq) ProtoMessage() {} + +func (x *UseItemReq) ProtoReflect() protoreflect.Message { + mi := &file_UseItemReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseItemReq.ProtoReflect.Descriptor instead. +func (*UseItemReq) Descriptor() ([]byte, []int) { + return file_UseItemReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UseItemReq) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *UseItemReq) GetTargetGuid() uint64 { + if x != nil { + return x.TargetGuid + } + return 0 +} + +func (x *UseItemReq) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *UseItemReq) GetIsEnterMpDungeonTeam() bool { + if x != nil { + return x.IsEnterMpDungeonTeam + } + return false +} + +func (x *UseItemReq) GetOptionIdx() uint32 { + if x != nil { + return x.OptionIdx + } + return 0 +} + +var File_UseItemReq_proto protoreflect.FileDescriptor + +var file_UseItemReq_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x55, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x71, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x47, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x18, + 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x70, 0x5f, 0x64, 0x75, 0x6e, 0x67, + 0x65, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, + 0x69, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x4d, 0x70, 0x44, 0x75, 0x6e, 0x67, 0x65, 0x6f, 0x6e, + 0x54, 0x65, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x78, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseItemReq_proto_rawDescOnce sync.Once + file_UseItemReq_proto_rawDescData = file_UseItemReq_proto_rawDesc +) + +func file_UseItemReq_proto_rawDescGZIP() []byte { + file_UseItemReq_proto_rawDescOnce.Do(func() { + file_UseItemReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseItemReq_proto_rawDescData) + }) + return file_UseItemReq_proto_rawDescData +} + +var file_UseItemReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseItemReq_proto_goTypes = []interface{}{ + (*UseItemReq)(nil), // 0: UseItemReq +} +var file_UseItemReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseItemReq_proto_init() } +func file_UseItemReq_proto_init() { + if File_UseItemReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseItemReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseItemReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseItemReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseItemReq_proto_goTypes, + DependencyIndexes: file_UseItemReq_proto_depIdxs, + MessageInfos: file_UseItemReq_proto_msgTypes, + }.Build() + File_UseItemReq_proto = out.File + file_UseItemReq_proto_rawDesc = nil + file_UseItemReq_proto_goTypes = nil + file_UseItemReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseItemReq.proto b/gate-hk4e-api/proto/UseItemReq.proto new file mode 100644 index 00000000..b622736a --- /dev/null +++ b/gate-hk4e-api/proto/UseItemReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 690 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UseItemReq { + uint32 count = 13; + uint64 target_guid = 14; + uint64 guid = 10; + bool is_enter_mp_dungeon_team = 15; + uint32 option_idx = 7; +} diff --git a/gate-hk4e-api/proto/UseItemRsp.pb.go b/gate-hk4e-api/proto/UseItemRsp.pb.go new file mode 100644 index 00000000..a04ca608 --- /dev/null +++ b/gate-hk4e-api/proto/UseItemRsp.pb.go @@ -0,0 +1,199 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseItemRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 673 +// EnetChannelId: 0 +// EnetIsReliable: true +type UseItemRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guid uint64 `protobuf:"varint,5,opt,name=guid,proto3" json:"guid,omitempty"` + TargetGuid uint64 `protobuf:"varint,1,opt,name=target_guid,json=targetGuid,proto3" json:"target_guid,omitempty"` + ItemId uint32 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` + OptionIdx uint32 `protobuf:"varint,8,opt,name=option_idx,json=optionIdx,proto3" json:"option_idx,omitempty"` + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *UseItemRsp) Reset() { + *x = UseItemRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UseItemRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseItemRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseItemRsp) ProtoMessage() {} + +func (x *UseItemRsp) ProtoReflect() protoreflect.Message { + mi := &file_UseItemRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseItemRsp.ProtoReflect.Descriptor instead. +func (*UseItemRsp) Descriptor() ([]byte, []int) { + return file_UseItemRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UseItemRsp) GetGuid() uint64 { + if x != nil { + return x.Guid + } + return 0 +} + +func (x *UseItemRsp) GetTargetGuid() uint64 { + if x != nil { + return x.TargetGuid + } + return 0 +} + +func (x *UseItemRsp) GetItemId() uint32 { + if x != nil { + return x.ItemId + } + return 0 +} + +func (x *UseItemRsp) GetOptionIdx() uint32 { + if x != nil { + return x.OptionIdx + } + return 0 +} + +func (x *UseItemRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_UseItemRsp_proto protoreflect.FileDescriptor + +var file_UseItemRsp_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x55, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x73, + 0x70, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x67, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x47, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x78, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseItemRsp_proto_rawDescOnce sync.Once + file_UseItemRsp_proto_rawDescData = file_UseItemRsp_proto_rawDesc +) + +func file_UseItemRsp_proto_rawDescGZIP() []byte { + file_UseItemRsp_proto_rawDescOnce.Do(func() { + file_UseItemRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseItemRsp_proto_rawDescData) + }) + return file_UseItemRsp_proto_rawDescData +} + +var file_UseItemRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseItemRsp_proto_goTypes = []interface{}{ + (*UseItemRsp)(nil), // 0: UseItemRsp +} +var file_UseItemRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseItemRsp_proto_init() } +func file_UseItemRsp_proto_init() { + if File_UseItemRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseItemRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseItemRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseItemRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseItemRsp_proto_goTypes, + DependencyIndexes: file_UseItemRsp_proto_depIdxs, + MessageInfos: file_UseItemRsp_proto_msgTypes, + }.Build() + File_UseItemRsp_proto = out.File + file_UseItemRsp_proto_rawDesc = nil + file_UseItemRsp_proto_goTypes = nil + file_UseItemRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseItemRsp.proto b/gate-hk4e-api/proto/UseItemRsp.proto new file mode 100644 index 00000000..8965ffc2 --- /dev/null +++ b/gate-hk4e-api/proto/UseItemRsp.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 673 +// EnetChannelId: 0 +// EnetIsReliable: true +message UseItemRsp { + uint64 guid = 5; + uint64 target_guid = 1; + uint32 item_id = 4; + uint32 option_idx = 8; + int32 retcode = 14; +} diff --git a/gate-hk4e-api/proto/UseMiracleRingReq.pb.go b/gate-hk4e-api/proto/UseMiracleRingReq.pb.go new file mode 100644 index 00000000..1449a2a5 --- /dev/null +++ b/gate-hk4e-api/proto/UseMiracleRingReq.pb.go @@ -0,0 +1,247 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseMiracleRingReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type UseMiracleRingReq_MiracleRingOpType int32 + +const ( + UseMiracleRingReq_MIRACLE_RING_OP_TYPE_NONE UseMiracleRingReq_MiracleRingOpType = 0 + UseMiracleRingReq_MIRACLE_RING_OP_TYPE_PLACE UseMiracleRingReq_MiracleRingOpType = 1 + UseMiracleRingReq_MIRACLE_RING_OP_TYPE_RETRACT UseMiracleRingReq_MiracleRingOpType = 2 +) + +// Enum value maps for UseMiracleRingReq_MiracleRingOpType. +var ( + UseMiracleRingReq_MiracleRingOpType_name = map[int32]string{ + 0: "MIRACLE_RING_OP_TYPE_NONE", + 1: "MIRACLE_RING_OP_TYPE_PLACE", + 2: "MIRACLE_RING_OP_TYPE_RETRACT", + } + UseMiracleRingReq_MiracleRingOpType_value = map[string]int32{ + "MIRACLE_RING_OP_TYPE_NONE": 0, + "MIRACLE_RING_OP_TYPE_PLACE": 1, + "MIRACLE_RING_OP_TYPE_RETRACT": 2, + } +) + +func (x UseMiracleRingReq_MiracleRingOpType) Enum() *UseMiracleRingReq_MiracleRingOpType { + p := new(UseMiracleRingReq_MiracleRingOpType) + *p = x + return p +} + +func (x UseMiracleRingReq_MiracleRingOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UseMiracleRingReq_MiracleRingOpType) Descriptor() protoreflect.EnumDescriptor { + return file_UseMiracleRingReq_proto_enumTypes[0].Descriptor() +} + +func (UseMiracleRingReq_MiracleRingOpType) Type() protoreflect.EnumType { + return &file_UseMiracleRingReq_proto_enumTypes[0] +} + +func (x UseMiracleRingReq_MiracleRingOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UseMiracleRingReq_MiracleRingOpType.Descriptor instead. +func (UseMiracleRingReq_MiracleRingOpType) EnumDescriptor() ([]byte, []int) { + return file_UseMiracleRingReq_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 5226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UseMiracleRingReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MiracleRingOpType uint32 `protobuf:"varint,13,opt,name=miracle_ring_op_type,json=miracleRingOpType,proto3" json:"miracle_ring_op_type,omitempty"` + Pos *Vector `protobuf:"bytes,8,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,7,opt,name=rot,proto3" json:"rot,omitempty"` +} + +func (x *UseMiracleRingReq) Reset() { + *x = UseMiracleRingReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UseMiracleRingReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseMiracleRingReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseMiracleRingReq) ProtoMessage() {} + +func (x *UseMiracleRingReq) ProtoReflect() protoreflect.Message { + mi := &file_UseMiracleRingReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseMiracleRingReq.ProtoReflect.Descriptor instead. +func (*UseMiracleRingReq) Descriptor() ([]byte, []int) { + return file_UseMiracleRingReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UseMiracleRingReq) GetMiracleRingOpType() uint32 { + if x != nil { + return x.MiracleRingOpType + } + return 0 +} + +func (x *UseMiracleRingReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *UseMiracleRingReq) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +var File_UseMiracleRingReq_proto protoreflect.FileDescriptor + +var file_UseMiracleRingReq_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x55, 0x73, 0x65, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x4d, + 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, + 0x14, 0x6d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x69, 0x72, + 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, + 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x03, 0x72, 0x6f, 0x74, 0x22, 0x74, 0x0a, 0x11, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, + 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x49, 0x52, + 0x41, 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x49, 0x52, 0x41, + 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x49, 0x52, 0x41, + 0x43, 0x4c, 0x45, 0x5f, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x52, 0x45, 0x54, 0x52, 0x41, 0x43, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseMiracleRingReq_proto_rawDescOnce sync.Once + file_UseMiracleRingReq_proto_rawDescData = file_UseMiracleRingReq_proto_rawDesc +) + +func file_UseMiracleRingReq_proto_rawDescGZIP() []byte { + file_UseMiracleRingReq_proto_rawDescOnce.Do(func() { + file_UseMiracleRingReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseMiracleRingReq_proto_rawDescData) + }) + return file_UseMiracleRingReq_proto_rawDescData +} + +var file_UseMiracleRingReq_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_UseMiracleRingReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseMiracleRingReq_proto_goTypes = []interface{}{ + (UseMiracleRingReq_MiracleRingOpType)(0), // 0: UseMiracleRingReq.MiracleRingOpType + (*UseMiracleRingReq)(nil), // 1: UseMiracleRingReq + (*Vector)(nil), // 2: Vector +} +var file_UseMiracleRingReq_proto_depIdxs = []int32{ + 2, // 0: UseMiracleRingReq.pos:type_name -> Vector + 2, // 1: UseMiracleRingReq.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_UseMiracleRingReq_proto_init() } +func file_UseMiracleRingReq_proto_init() { + if File_UseMiracleRingReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_UseMiracleRingReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseMiracleRingReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseMiracleRingReq_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseMiracleRingReq_proto_goTypes, + DependencyIndexes: file_UseMiracleRingReq_proto_depIdxs, + EnumInfos: file_UseMiracleRingReq_proto_enumTypes, + MessageInfos: file_UseMiracleRingReq_proto_msgTypes, + }.Build() + File_UseMiracleRingReq_proto = out.File + file_UseMiracleRingReq_proto_rawDesc = nil + file_UseMiracleRingReq_proto_goTypes = nil + file_UseMiracleRingReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseMiracleRingReq.proto b/gate-hk4e-api/proto/UseMiracleRingReq.proto new file mode 100644 index 00000000..100d6770 --- /dev/null +++ b/gate-hk4e-api/proto/UseMiracleRingReq.proto @@ -0,0 +1,37 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 5226 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UseMiracleRingReq { + uint32 miracle_ring_op_type = 13; + Vector pos = 8; + Vector rot = 7; + + enum MiracleRingOpType { + MIRACLE_RING_OP_TYPE_NONE = 0; + MIRACLE_RING_OP_TYPE_PLACE = 1; + MIRACLE_RING_OP_TYPE_RETRACT = 2; + } +} diff --git a/gate-hk4e-api/proto/UseMiracleRingRsp.pb.go b/gate-hk4e-api/proto/UseMiracleRingRsp.pb.go new file mode 100644 index 00000000..bb30cbeb --- /dev/null +++ b/gate-hk4e-api/proto/UseMiracleRingRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseMiracleRingRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 5218 +// EnetChannelId: 0 +// EnetIsReliable: true +type UseMiracleRingRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + MiracleRingOpType uint32 `protobuf:"varint,7,opt,name=miracle_ring_op_type,json=miracleRingOpType,proto3" json:"miracle_ring_op_type,omitempty"` +} + +func (x *UseMiracleRingRsp) Reset() { + *x = UseMiracleRingRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UseMiracleRingRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseMiracleRingRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseMiracleRingRsp) ProtoMessage() {} + +func (x *UseMiracleRingRsp) ProtoReflect() protoreflect.Message { + mi := &file_UseMiracleRingRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseMiracleRingRsp.ProtoReflect.Descriptor instead. +func (*UseMiracleRingRsp) Descriptor() ([]byte, []int) { + return file_UseMiracleRingRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UseMiracleRingRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UseMiracleRingRsp) GetMiracleRingOpType() uint32 { + if x != nil { + return x.MiracleRingOpType + } + return 0 +} + +var File_UseMiracleRingRsp_proto protoreflect.FileDescriptor + +var file_UseMiracleRingRsp_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x55, 0x73, 0x65, 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, + 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x11, 0x55, 0x73, 0x65, + 0x4d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, 0x69, 0x6e, 0x67, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x69, 0x72, 0x61, + 0x63, 0x6c, 0x65, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x69, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x52, + 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseMiracleRingRsp_proto_rawDescOnce sync.Once + file_UseMiracleRingRsp_proto_rawDescData = file_UseMiracleRingRsp_proto_rawDesc +) + +func file_UseMiracleRingRsp_proto_rawDescGZIP() []byte { + file_UseMiracleRingRsp_proto_rawDescOnce.Do(func() { + file_UseMiracleRingRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseMiracleRingRsp_proto_rawDescData) + }) + return file_UseMiracleRingRsp_proto_rawDescData +} + +var file_UseMiracleRingRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseMiracleRingRsp_proto_goTypes = []interface{}{ + (*UseMiracleRingRsp)(nil), // 0: UseMiracleRingRsp +} +var file_UseMiracleRingRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseMiracleRingRsp_proto_init() } +func file_UseMiracleRingRsp_proto_init() { + if File_UseMiracleRingRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseMiracleRingRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseMiracleRingRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseMiracleRingRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseMiracleRingRsp_proto_goTypes, + DependencyIndexes: file_UseMiracleRingRsp_proto_depIdxs, + MessageInfos: file_UseMiracleRingRsp_proto_msgTypes, + }.Build() + File_UseMiracleRingRsp_proto = out.File + file_UseMiracleRingRsp_proto_rawDesc = nil + file_UseMiracleRingRsp_proto_goTypes = nil + file_UseMiracleRingRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseMiracleRingRsp.proto b/gate-hk4e-api/proto/UseMiracleRingRsp.proto new file mode 100644 index 00000000..b8071b48 --- /dev/null +++ b/gate-hk4e-api/proto/UseMiracleRingRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 5218 +// EnetChannelId: 0 +// EnetIsReliable: true +message UseMiracleRingRsp { + int32 retcode = 11; + uint32 miracle_ring_op_type = 7; +} diff --git a/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.pb.go b/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.pb.go new file mode 100644 index 00000000..b715cb23 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseWidgetCreateGadgetReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4293 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UseWidgetCreateGadgetReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pos *Vector `protobuf:"bytes,15,opt,name=pos,proto3" json:"pos,omitempty"` + Rot *Vector `protobuf:"bytes,12,opt,name=rot,proto3" json:"rot,omitempty"` + MaterialId uint32 `protobuf:"varint,4,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *UseWidgetCreateGadgetReq) Reset() { + *x = UseWidgetCreateGadgetReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UseWidgetCreateGadgetReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseWidgetCreateGadgetReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseWidgetCreateGadgetReq) ProtoMessage() {} + +func (x *UseWidgetCreateGadgetReq) ProtoReflect() protoreflect.Message { + mi := &file_UseWidgetCreateGadgetReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseWidgetCreateGadgetReq.ProtoReflect.Descriptor instead. +func (*UseWidgetCreateGadgetReq) Descriptor() ([]byte, []int) { + return file_UseWidgetCreateGadgetReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UseWidgetCreateGadgetReq) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *UseWidgetCreateGadgetReq) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *UseWidgetCreateGadgetReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_UseWidgetCreateGadgetReq_proto protoreflect.FileDescriptor + +var file_UseWidgetCreateGadgetReq_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, + 0x0a, 0x18, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, + 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, + 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseWidgetCreateGadgetReq_proto_rawDescOnce sync.Once + file_UseWidgetCreateGadgetReq_proto_rawDescData = file_UseWidgetCreateGadgetReq_proto_rawDesc +) + +func file_UseWidgetCreateGadgetReq_proto_rawDescGZIP() []byte { + file_UseWidgetCreateGadgetReq_proto_rawDescOnce.Do(func() { + file_UseWidgetCreateGadgetReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseWidgetCreateGadgetReq_proto_rawDescData) + }) + return file_UseWidgetCreateGadgetReq_proto_rawDescData +} + +var file_UseWidgetCreateGadgetReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseWidgetCreateGadgetReq_proto_goTypes = []interface{}{ + (*UseWidgetCreateGadgetReq)(nil), // 0: UseWidgetCreateGadgetReq + (*Vector)(nil), // 1: Vector +} +var file_UseWidgetCreateGadgetReq_proto_depIdxs = []int32{ + 1, // 0: UseWidgetCreateGadgetReq.pos:type_name -> Vector + 1, // 1: UseWidgetCreateGadgetReq.rot:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_UseWidgetCreateGadgetReq_proto_init() } +func file_UseWidgetCreateGadgetReq_proto_init() { + if File_UseWidgetCreateGadgetReq_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_UseWidgetCreateGadgetReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseWidgetCreateGadgetReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseWidgetCreateGadgetReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseWidgetCreateGadgetReq_proto_goTypes, + DependencyIndexes: file_UseWidgetCreateGadgetReq_proto_depIdxs, + MessageInfos: file_UseWidgetCreateGadgetReq_proto_msgTypes, + }.Build() + File_UseWidgetCreateGadgetReq_proto = out.File + file_UseWidgetCreateGadgetReq_proto_rawDesc = nil + file_UseWidgetCreateGadgetReq_proto_goTypes = nil + file_UseWidgetCreateGadgetReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.proto b/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.proto new file mode 100644 index 00000000..00dc6e83 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetCreateGadgetReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 4293 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UseWidgetCreateGadgetReq { + Vector pos = 15; + Vector rot = 12; + uint32 material_id = 4; +} diff --git a/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.pb.go b/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.pb.go new file mode 100644 index 00000000..34767c0a --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseWidgetCreateGadgetRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4290 +// EnetChannelId: 0 +// EnetIsReliable: true +type UseWidgetCreateGadgetRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,15,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,12,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *UseWidgetCreateGadgetRsp) Reset() { + *x = UseWidgetCreateGadgetRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UseWidgetCreateGadgetRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseWidgetCreateGadgetRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseWidgetCreateGadgetRsp) ProtoMessage() {} + +func (x *UseWidgetCreateGadgetRsp) ProtoReflect() protoreflect.Message { + mi := &file_UseWidgetCreateGadgetRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseWidgetCreateGadgetRsp.ProtoReflect.Descriptor instead. +func (*UseWidgetCreateGadgetRsp) Descriptor() ([]byte, []int) { + return file_UseWidgetCreateGadgetRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UseWidgetCreateGadgetRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UseWidgetCreateGadgetRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_UseWidgetCreateGadgetRsp_proto protoreflect.FileDescriptor + +var file_UseWidgetCreateGadgetRsp_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x55, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseWidgetCreateGadgetRsp_proto_rawDescOnce sync.Once + file_UseWidgetCreateGadgetRsp_proto_rawDescData = file_UseWidgetCreateGadgetRsp_proto_rawDesc +) + +func file_UseWidgetCreateGadgetRsp_proto_rawDescGZIP() []byte { + file_UseWidgetCreateGadgetRsp_proto_rawDescOnce.Do(func() { + file_UseWidgetCreateGadgetRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseWidgetCreateGadgetRsp_proto_rawDescData) + }) + return file_UseWidgetCreateGadgetRsp_proto_rawDescData +} + +var file_UseWidgetCreateGadgetRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseWidgetCreateGadgetRsp_proto_goTypes = []interface{}{ + (*UseWidgetCreateGadgetRsp)(nil), // 0: UseWidgetCreateGadgetRsp +} +var file_UseWidgetCreateGadgetRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseWidgetCreateGadgetRsp_proto_init() } +func file_UseWidgetCreateGadgetRsp_proto_init() { + if File_UseWidgetCreateGadgetRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseWidgetCreateGadgetRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseWidgetCreateGadgetRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseWidgetCreateGadgetRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseWidgetCreateGadgetRsp_proto_goTypes, + DependencyIndexes: file_UseWidgetCreateGadgetRsp_proto_depIdxs, + MessageInfos: file_UseWidgetCreateGadgetRsp_proto_msgTypes, + }.Build() + File_UseWidgetCreateGadgetRsp_proto = out.File + file_UseWidgetCreateGadgetRsp_proto_rawDesc = nil + file_UseWidgetCreateGadgetRsp_proto_goTypes = nil + file_UseWidgetCreateGadgetRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.proto b/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.proto new file mode 100644 index 00000000..023ed620 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetCreateGadgetRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4290 +// EnetChannelId: 0 +// EnetIsReliable: true +message UseWidgetCreateGadgetRsp { + int32 retcode = 15; + uint32 material_id = 12; +} diff --git a/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.pb.go b/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.pb.go new file mode 100644 index 00000000..71d5ae5d --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseWidgetRetractGadgetReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4286 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UseWidgetRetractGadgetReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *UseWidgetRetractGadgetReq) Reset() { + *x = UseWidgetRetractGadgetReq{} + if protoimpl.UnsafeEnabled { + mi := &file_UseWidgetRetractGadgetReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseWidgetRetractGadgetReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseWidgetRetractGadgetReq) ProtoMessage() {} + +func (x *UseWidgetRetractGadgetReq) ProtoReflect() protoreflect.Message { + mi := &file_UseWidgetRetractGadgetReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseWidgetRetractGadgetReq.ProtoReflect.Descriptor instead. +func (*UseWidgetRetractGadgetReq) Descriptor() ([]byte, []int) { + return file_UseWidgetRetractGadgetReq_proto_rawDescGZIP(), []int{0} +} + +func (x *UseWidgetRetractGadgetReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_UseWidgetRetractGadgetReq_proto protoreflect.FileDescriptor + +var file_UseWidgetRetractGadgetReq_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x38, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseWidgetRetractGadgetReq_proto_rawDescOnce sync.Once + file_UseWidgetRetractGadgetReq_proto_rawDescData = file_UseWidgetRetractGadgetReq_proto_rawDesc +) + +func file_UseWidgetRetractGadgetReq_proto_rawDescGZIP() []byte { + file_UseWidgetRetractGadgetReq_proto_rawDescOnce.Do(func() { + file_UseWidgetRetractGadgetReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseWidgetRetractGadgetReq_proto_rawDescData) + }) + return file_UseWidgetRetractGadgetReq_proto_rawDescData +} + +var file_UseWidgetRetractGadgetReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseWidgetRetractGadgetReq_proto_goTypes = []interface{}{ + (*UseWidgetRetractGadgetReq)(nil), // 0: UseWidgetRetractGadgetReq +} +var file_UseWidgetRetractGadgetReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseWidgetRetractGadgetReq_proto_init() } +func file_UseWidgetRetractGadgetReq_proto_init() { + if File_UseWidgetRetractGadgetReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseWidgetRetractGadgetReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseWidgetRetractGadgetReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseWidgetRetractGadgetReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseWidgetRetractGadgetReq_proto_goTypes, + DependencyIndexes: file_UseWidgetRetractGadgetReq_proto_depIdxs, + MessageInfos: file_UseWidgetRetractGadgetReq_proto_msgTypes, + }.Build() + File_UseWidgetRetractGadgetReq_proto = out.File + file_UseWidgetRetractGadgetReq_proto_rawDesc = nil + file_UseWidgetRetractGadgetReq_proto_goTypes = nil + file_UseWidgetRetractGadgetReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.proto b/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.proto new file mode 100644 index 00000000..90100913 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetRetractGadgetReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4286 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UseWidgetRetractGadgetReq { + uint32 entity_id = 3; +} diff --git a/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.pb.go b/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.pb.go new file mode 100644 index 00000000..94e32bb5 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: UseWidgetRetractGadgetRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4261 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type UseWidgetRetractGadgetRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,6,opt,name=retcode,proto3" json:"retcode,omitempty"` + EntityId uint32 `protobuf:"varint,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *UseWidgetRetractGadgetRsp) Reset() { + *x = UseWidgetRetractGadgetRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_UseWidgetRetractGadgetRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UseWidgetRetractGadgetRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UseWidgetRetractGadgetRsp) ProtoMessage() {} + +func (x *UseWidgetRetractGadgetRsp) ProtoReflect() protoreflect.Message { + mi := &file_UseWidgetRetractGadgetRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UseWidgetRetractGadgetRsp.ProtoReflect.Descriptor instead. +func (*UseWidgetRetractGadgetRsp) Descriptor() ([]byte, []int) { + return file_UseWidgetRetractGadgetRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *UseWidgetRetractGadgetRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *UseWidgetRetractGadgetRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_UseWidgetRetractGadgetRsp_proto protoreflect.FileDescriptor + +var file_UseWidgetRetractGadgetRsp_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x52, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_UseWidgetRetractGadgetRsp_proto_rawDescOnce sync.Once + file_UseWidgetRetractGadgetRsp_proto_rawDescData = file_UseWidgetRetractGadgetRsp_proto_rawDesc +) + +func file_UseWidgetRetractGadgetRsp_proto_rawDescGZIP() []byte { + file_UseWidgetRetractGadgetRsp_proto_rawDescOnce.Do(func() { + file_UseWidgetRetractGadgetRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_UseWidgetRetractGadgetRsp_proto_rawDescData) + }) + return file_UseWidgetRetractGadgetRsp_proto_rawDescData +} + +var file_UseWidgetRetractGadgetRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_UseWidgetRetractGadgetRsp_proto_goTypes = []interface{}{ + (*UseWidgetRetractGadgetRsp)(nil), // 0: UseWidgetRetractGadgetRsp +} +var file_UseWidgetRetractGadgetRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_UseWidgetRetractGadgetRsp_proto_init() } +func file_UseWidgetRetractGadgetRsp_proto_init() { + if File_UseWidgetRetractGadgetRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_UseWidgetRetractGadgetRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UseWidgetRetractGadgetRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_UseWidgetRetractGadgetRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_UseWidgetRetractGadgetRsp_proto_goTypes, + DependencyIndexes: file_UseWidgetRetractGadgetRsp_proto_depIdxs, + MessageInfos: file_UseWidgetRetractGadgetRsp_proto_msgTypes, + }.Build() + File_UseWidgetRetractGadgetRsp_proto = out.File + file_UseWidgetRetractGadgetRsp_proto_rawDesc = nil + file_UseWidgetRetractGadgetRsp_proto_goTypes = nil + file_UseWidgetRetractGadgetRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.proto b/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.proto new file mode 100644 index 00000000..815c2a51 --- /dev/null +++ b/gate-hk4e-api/proto/UseWidgetRetractGadgetRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4261 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message UseWidgetRetractGadgetRsp { + int32 retcode = 6; + uint32 entity_id = 14; +} diff --git a/gate-hk4e-api/proto/Vector.pb.go b/gate-hk4e-api/proto/Vector.pb.go new file mode 100644 index 00000000..321456dd --- /dev/null +++ b/gate-hk4e-api/proto/Vector.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Vector.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Vector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` + Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` + Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` +} + +func (x *Vector) Reset() { + *x = Vector{} + if protoimpl.UnsafeEnabled { + mi := &file_Vector_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vector) ProtoMessage() {} + +func (x *Vector) ProtoReflect() protoreflect.Message { + mi := &file_Vector_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Vector.ProtoReflect.Descriptor instead. +func (*Vector) Descriptor() ([]byte, []int) { + return file_Vector_proto_rawDescGZIP(), []int{0} +} + +func (x *Vector) GetX() float32 { + if x != nil { + return x.X + } + return 0 +} + +func (x *Vector) GetY() float32 { + if x != nil { + return x.Y + } + return 0 +} + +func (x *Vector) GetZ() float32 { + if x != nil { + return x.Z + } + return 0 +} + +var File_Vector_proto protoreflect.FileDescriptor + +var file_Vector_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, + 0x0a, 0x06, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x01, 0x7a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Vector_proto_rawDescOnce sync.Once + file_Vector_proto_rawDescData = file_Vector_proto_rawDesc +) + +func file_Vector_proto_rawDescGZIP() []byte { + file_Vector_proto_rawDescOnce.Do(func() { + file_Vector_proto_rawDescData = protoimpl.X.CompressGZIP(file_Vector_proto_rawDescData) + }) + return file_Vector_proto_rawDescData +} + +var file_Vector_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Vector_proto_goTypes = []interface{}{ + (*Vector)(nil), // 0: Vector +} +var file_Vector_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Vector_proto_init() } +func file_Vector_proto_init() { + if File_Vector_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Vector_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Vector_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Vector_proto_goTypes, + DependencyIndexes: file_Vector_proto_depIdxs, + MessageInfos: file_Vector_proto_msgTypes, + }.Build() + File_Vector_proto = out.File + file_Vector_proto_rawDesc = nil + file_Vector_proto_goTypes = nil + file_Vector_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Vector.proto b/gate-hk4e-api/proto/Vector.proto new file mode 100644 index 00000000..7f820eb0 --- /dev/null +++ b/gate-hk4e-api/proto/Vector.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Vector { + float x = 1; + float y = 2; + float z = 3; +} diff --git a/gate-hk4e-api/proto/Vector3Int.pb.go b/gate-hk4e-api/proto/Vector3Int.pb.go new file mode 100644 index 00000000..e2cf30d1 --- /dev/null +++ b/gate-hk4e-api/proto/Vector3Int.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Vector3Int.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Vector3Int struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` + Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` + Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` +} + +func (x *Vector3Int) Reset() { + *x = Vector3Int{} + if protoimpl.UnsafeEnabled { + mi := &file_Vector3Int_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vector3Int) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vector3Int) ProtoMessage() {} + +func (x *Vector3Int) ProtoReflect() protoreflect.Message { + mi := &file_Vector3Int_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Vector3Int.ProtoReflect.Descriptor instead. +func (*Vector3Int) Descriptor() ([]byte, []int) { + return file_Vector3Int_proto_rawDescGZIP(), []int{0} +} + +func (x *Vector3Int) GetX() int32 { + if x != nil { + return x.X + } + return 0 +} + +func (x *Vector3Int) GetY() int32 { + if x != nil { + return x.Y + } + return 0 +} + +func (x *Vector3Int) GetZ() int32 { + if x != nil { + return x.Z + } + return 0 +} + +var File_Vector3Int_proto protoreflect.FileDescriptor + +var file_Vector3Int_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x33, 0x49, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x0a, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x33, 0x49, 0x6e, 0x74, + 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, + 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, + 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x7a, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Vector3Int_proto_rawDescOnce sync.Once + file_Vector3Int_proto_rawDescData = file_Vector3Int_proto_rawDesc +) + +func file_Vector3Int_proto_rawDescGZIP() []byte { + file_Vector3Int_proto_rawDescOnce.Do(func() { + file_Vector3Int_proto_rawDescData = protoimpl.X.CompressGZIP(file_Vector3Int_proto_rawDescData) + }) + return file_Vector3Int_proto_rawDescData +} + +var file_Vector3Int_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_Vector3Int_proto_goTypes = []interface{}{ + (*Vector3Int)(nil), // 0: Vector3Int +} +var file_Vector3Int_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_Vector3Int_proto_init() } +func file_Vector3Int_proto_init() { + if File_Vector3Int_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Vector3Int_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vector3Int); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Vector3Int_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Vector3Int_proto_goTypes, + DependencyIndexes: file_Vector3Int_proto_depIdxs, + MessageInfos: file_Vector3Int_proto_msgTypes, + }.Build() + File_Vector3Int_proto = out.File + file_Vector3Int_proto_rawDesc = nil + file_Vector3Int_proto_goTypes = nil + file_Vector3Int_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Vector3Int.proto b/gate-hk4e-api/proto/Vector3Int.proto new file mode 100644 index 00000000..9d58f054 --- /dev/null +++ b/gate-hk4e-api/proto/Vector3Int.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Vector3Int { + int32 x = 1; + int32 y = 2; + int32 z = 3; +} diff --git a/gate-hk4e-api/proto/VectorPlane.pb.go b/gate-hk4e-api/proto/VectorPlane.pb.go new file mode 100644 index 00000000..3e616fb8 --- /dev/null +++ b/gate-hk4e-api/proto/VectorPlane.pb.go @@ -0,0 +1,166 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VectorPlane.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VectorPlane struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` + Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` +} + +func (x *VectorPlane) Reset() { + *x = VectorPlane{} + if protoimpl.UnsafeEnabled { + mi := &file_VectorPlane_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VectorPlane) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VectorPlane) ProtoMessage() {} + +func (x *VectorPlane) ProtoReflect() protoreflect.Message { + mi := &file_VectorPlane_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VectorPlane.ProtoReflect.Descriptor instead. +func (*VectorPlane) Descriptor() ([]byte, []int) { + return file_VectorPlane_proto_rawDescGZIP(), []int{0} +} + +func (x *VectorPlane) GetX() float32 { + if x != nil { + return x.X + } + return 0 +} + +func (x *VectorPlane) GetY() float32 { + if x != nil { + return x.Y + } + return 0 +} + +var File_VectorPlane_proto protoreflect.FileDescriptor + +var file_VectorPlane_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0b, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x6c, 0x61, + 0x6e, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, + 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_VectorPlane_proto_rawDescOnce sync.Once + file_VectorPlane_proto_rawDescData = file_VectorPlane_proto_rawDesc +) + +func file_VectorPlane_proto_rawDescGZIP() []byte { + file_VectorPlane_proto_rawDescOnce.Do(func() { + file_VectorPlane_proto_rawDescData = protoimpl.X.CompressGZIP(file_VectorPlane_proto_rawDescData) + }) + return file_VectorPlane_proto_rawDescData +} + +var file_VectorPlane_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VectorPlane_proto_goTypes = []interface{}{ + (*VectorPlane)(nil), // 0: VectorPlane +} +var file_VectorPlane_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_VectorPlane_proto_init() } +func file_VectorPlane_proto_init() { + if File_VectorPlane_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_VectorPlane_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VectorPlane); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VectorPlane_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VectorPlane_proto_goTypes, + DependencyIndexes: file_VectorPlane_proto_depIdxs, + MessageInfos: file_VectorPlane_proto_msgTypes, + }.Build() + File_VectorPlane_proto = out.File + file_VectorPlane_proto_rawDesc = nil + file_VectorPlane_proto_goTypes = nil + file_VectorPlane_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VectorPlane.proto b/gate-hk4e-api/proto/VectorPlane.proto new file mode 100644 index 00000000..7ec7830b --- /dev/null +++ b/gate-hk4e-api/proto/VectorPlane.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message VectorPlane { + float x = 1; + float y = 2; +} diff --git a/gate-hk4e-api/proto/VehicleInfo.pb.go b/gate-hk4e-api/proto/VehicleInfo.pb.go new file mode 100644 index 00000000..ba7d0b03 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInfo.pb.go @@ -0,0 +1,183 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VehicleInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MemberList []*VehicleMember `protobuf:"bytes,1,rep,name=member_list,json=memberList,proto3" json:"member_list,omitempty"` + OwnerUid uint32 `protobuf:"varint,2,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` + CurStamina float32 `protobuf:"fixed32,3,opt,name=cur_stamina,json=curStamina,proto3" json:"cur_stamina,omitempty"` +} + +func (x *VehicleInfo) Reset() { + *x = VehicleInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleInfo) ProtoMessage() {} + +func (x *VehicleInfo) ProtoReflect() protoreflect.Message { + mi := &file_VehicleInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleInfo.ProtoReflect.Descriptor instead. +func (*VehicleInfo) Descriptor() ([]byte, []int) { + return file_VehicleInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleInfo) GetMemberList() []*VehicleMember { + if x != nil { + return x.MemberList + } + return nil +} + +func (x *VehicleInfo) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +func (x *VehicleInfo) GetCurStamina() float32 { + if x != nil { + return x.CurStamina + } + return 0 +} + +var File_VehicleInfo_proto protoreflect.FileDescriptor + +var file_VehicleInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x0b, 0x56, 0x65, 0x68, 0x69, + 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x56, + 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x74, 0x61, + 0x6d, 0x69, 0x6e, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x53, + 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleInfo_proto_rawDescOnce sync.Once + file_VehicleInfo_proto_rawDescData = file_VehicleInfo_proto_rawDesc +) + +func file_VehicleInfo_proto_rawDescGZIP() []byte { + file_VehicleInfo_proto_rawDescOnce.Do(func() { + file_VehicleInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleInfo_proto_rawDescData) + }) + return file_VehicleInfo_proto_rawDescData +} + +var file_VehicleInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleInfo_proto_goTypes = []interface{}{ + (*VehicleInfo)(nil), // 0: VehicleInfo + (*VehicleMember)(nil), // 1: VehicleMember +} +var file_VehicleInfo_proto_depIdxs = []int32{ + 1, // 0: VehicleInfo.member_list:type_name -> VehicleMember + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_VehicleInfo_proto_init() } +func file_VehicleInfo_proto_init() { + if File_VehicleInfo_proto != nil { + return + } + file_VehicleMember_proto_init() + if !protoimpl.UnsafeEnabled { + file_VehicleInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleInfo_proto_goTypes, + DependencyIndexes: file_VehicleInfo_proto_depIdxs, + MessageInfos: file_VehicleInfo_proto_msgTypes, + }.Build() + File_VehicleInfo_proto = out.File + file_VehicleInfo_proto_rawDesc = nil + file_VehicleInfo_proto_goTypes = nil + file_VehicleInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleInfo.proto b/gate-hk4e-api/proto/VehicleInfo.proto new file mode 100644 index 00000000..d2f9d627 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "VehicleMember.proto"; + +option go_package = "./;proto"; + +message VehicleInfo { + repeated VehicleMember member_list = 1; + uint32 owner_uid = 2; + float cur_stamina = 3; +} diff --git a/gate-hk4e-api/proto/VehicleInteractReq.pb.go b/gate-hk4e-api/proto/VehicleInteractReq.pb.go new file mode 100644 index 00000000..8dc9f1f7 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractReq.pb.go @@ -0,0 +1,188 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleInteractReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 865 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type VehicleInteractReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InteractType VehicleInteractType `protobuf:"varint,8,opt,name=interact_type,json=interactType,proto3,enum=VehicleInteractType" json:"interact_type,omitempty"` + Pos uint32 `protobuf:"varint,12,opt,name=pos,proto3" json:"pos,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *VehicleInteractReq) Reset() { + *x = VehicleInteractReq{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleInteractReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleInteractReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleInteractReq) ProtoMessage() {} + +func (x *VehicleInteractReq) ProtoReflect() protoreflect.Message { + mi := &file_VehicleInteractReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleInteractReq.ProtoReflect.Descriptor instead. +func (*VehicleInteractReq) Descriptor() ([]byte, []int) { + return file_VehicleInteractReq_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleInteractReq) GetInteractType() VehicleInteractType { + if x != nil { + return x.InteractType + } + return VehicleInteractType_VEHICLE_INTERACT_TYPE_NONE +} + +func (x *VehicleInteractReq) GetPos() uint32 { + if x != nil { + return x.Pos + } + return 0 +} + +func (x *VehicleInteractReq) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_VehicleInteractReq_proto protoreflect.FileDescriptor + +var file_VehicleInteractReq_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x56, 0x65, 0x68, 0x69, + 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x12, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x12, 0x39, 0x0a, 0x0d, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleInteractReq_proto_rawDescOnce sync.Once + file_VehicleInteractReq_proto_rawDescData = file_VehicleInteractReq_proto_rawDesc +) + +func file_VehicleInteractReq_proto_rawDescGZIP() []byte { + file_VehicleInteractReq_proto_rawDescOnce.Do(func() { + file_VehicleInteractReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleInteractReq_proto_rawDescData) + }) + return file_VehicleInteractReq_proto_rawDescData +} + +var file_VehicleInteractReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleInteractReq_proto_goTypes = []interface{}{ + (*VehicleInteractReq)(nil), // 0: VehicleInteractReq + (VehicleInteractType)(0), // 1: VehicleInteractType +} +var file_VehicleInteractReq_proto_depIdxs = []int32{ + 1, // 0: VehicleInteractReq.interact_type:type_name -> VehicleInteractType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_VehicleInteractReq_proto_init() } +func file_VehicleInteractReq_proto_init() { + if File_VehicleInteractReq_proto != nil { + return + } + file_VehicleInteractType_proto_init() + if !protoimpl.UnsafeEnabled { + file_VehicleInteractReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleInteractReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleInteractReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleInteractReq_proto_goTypes, + DependencyIndexes: file_VehicleInteractReq_proto_depIdxs, + MessageInfos: file_VehicleInteractReq_proto_msgTypes, + }.Build() + File_VehicleInteractReq_proto = out.File + file_VehicleInteractReq_proto_rawDesc = nil + file_VehicleInteractReq_proto_goTypes = nil + file_VehicleInteractReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleInteractReq.proto b/gate-hk4e-api/proto/VehicleInteractReq.proto new file mode 100644 index 00000000..a700e569 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "VehicleInteractType.proto"; + +option go_package = "./;proto"; + +// CmdId: 865 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message VehicleInteractReq { + VehicleInteractType interact_type = 8; + uint32 pos = 12; + uint32 entity_id = 15; +} diff --git a/gate-hk4e-api/proto/VehicleInteractRsp.pb.go b/gate-hk4e-api/proto/VehicleInteractRsp.pb.go new file mode 100644 index 00000000..ba1d3c65 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractRsp.pb.go @@ -0,0 +1,202 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleInteractRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 804 +// EnetChannelId: 0 +// EnetIsReliable: true +type VehicleInteractRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InteractType VehicleInteractType `protobuf:"varint,15,opt,name=interact_type,json=interactType,proto3,enum=VehicleInteractType" json:"interact_type,omitempty"` + Member *VehicleMember `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"` + EntityId uint32 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Retcode int32 `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *VehicleInteractRsp) Reset() { + *x = VehicleInteractRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleInteractRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleInteractRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleInteractRsp) ProtoMessage() {} + +func (x *VehicleInteractRsp) ProtoReflect() protoreflect.Message { + mi := &file_VehicleInteractRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleInteractRsp.ProtoReflect.Descriptor instead. +func (*VehicleInteractRsp) Descriptor() ([]byte, []int) { + return file_VehicleInteractRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleInteractRsp) GetInteractType() VehicleInteractType { + if x != nil { + return x.InteractType + } + return VehicleInteractType_VEHICLE_INTERACT_TYPE_NONE +} + +func (x *VehicleInteractRsp) GetMember() *VehicleMember { + if x != nil { + return x.Member + } + return nil +} + +func (x *VehicleInteractRsp) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *VehicleInteractRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_VehicleInteractRsp_proto protoreflect.FileDescriptor + +var file_VehicleInteractRsp_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, + 0x74, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x56, 0x65, 0x68, 0x69, + 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x56, + 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x52, 0x73, + 0x70, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, + 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x06, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x56, + 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleInteractRsp_proto_rawDescOnce sync.Once + file_VehicleInteractRsp_proto_rawDescData = file_VehicleInteractRsp_proto_rawDesc +) + +func file_VehicleInteractRsp_proto_rawDescGZIP() []byte { + file_VehicleInteractRsp_proto_rawDescOnce.Do(func() { + file_VehicleInteractRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleInteractRsp_proto_rawDescData) + }) + return file_VehicleInteractRsp_proto_rawDescData +} + +var file_VehicleInteractRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleInteractRsp_proto_goTypes = []interface{}{ + (*VehicleInteractRsp)(nil), // 0: VehicleInteractRsp + (VehicleInteractType)(0), // 1: VehicleInteractType + (*VehicleMember)(nil), // 2: VehicleMember +} +var file_VehicleInteractRsp_proto_depIdxs = []int32{ + 1, // 0: VehicleInteractRsp.interact_type:type_name -> VehicleInteractType + 2, // 1: VehicleInteractRsp.member:type_name -> VehicleMember + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_VehicleInteractRsp_proto_init() } +func file_VehicleInteractRsp_proto_init() { + if File_VehicleInteractRsp_proto != nil { + return + } + file_VehicleInteractType_proto_init() + file_VehicleMember_proto_init() + if !protoimpl.UnsafeEnabled { + file_VehicleInteractRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleInteractRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleInteractRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleInteractRsp_proto_goTypes, + DependencyIndexes: file_VehicleInteractRsp_proto_depIdxs, + MessageInfos: file_VehicleInteractRsp_proto_msgTypes, + }.Build() + File_VehicleInteractRsp_proto = out.File + file_VehicleInteractRsp_proto_rawDesc = nil + file_VehicleInteractRsp_proto_goTypes = nil + file_VehicleInteractRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleInteractRsp.proto b/gate-hk4e-api/proto/VehicleInteractRsp.proto new file mode 100644 index 00000000..b6821177 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "VehicleInteractType.proto"; +import "VehicleMember.proto"; + +option go_package = "./;proto"; + +// CmdId: 804 +// EnetChannelId: 0 +// EnetIsReliable: true +message VehicleInteractRsp { + VehicleInteractType interact_type = 15; + VehicleMember member = 3; + uint32 entity_id = 2; + int32 retcode = 1; +} diff --git a/gate-hk4e-api/proto/VehicleInteractType.pb.go b/gate-hk4e-api/proto/VehicleInteractType.pb.go new file mode 100644 index 00000000..400cbdba --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractType.pb.go @@ -0,0 +1,151 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleInteractType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VehicleInteractType int32 + +const ( + VehicleInteractType_VEHICLE_INTERACT_TYPE_NONE VehicleInteractType = 0 + VehicleInteractType_VEHICLE_INTERACT_TYPE_IN VehicleInteractType = 1 + VehicleInteractType_VEHICLE_INTERACT_TYPE_OUT VehicleInteractType = 2 +) + +// Enum value maps for VehicleInteractType. +var ( + VehicleInteractType_name = map[int32]string{ + 0: "VEHICLE_INTERACT_TYPE_NONE", + 1: "VEHICLE_INTERACT_TYPE_IN", + 2: "VEHICLE_INTERACT_TYPE_OUT", + } + VehicleInteractType_value = map[string]int32{ + "VEHICLE_INTERACT_TYPE_NONE": 0, + "VEHICLE_INTERACT_TYPE_IN": 1, + "VEHICLE_INTERACT_TYPE_OUT": 2, + } +) + +func (x VehicleInteractType) Enum() *VehicleInteractType { + p := new(VehicleInteractType) + *p = x + return p +} + +func (x VehicleInteractType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VehicleInteractType) Descriptor() protoreflect.EnumDescriptor { + return file_VehicleInteractType_proto_enumTypes[0].Descriptor() +} + +func (VehicleInteractType) Type() protoreflect.EnumType { + return &file_VehicleInteractType_proto_enumTypes[0] +} + +func (x VehicleInteractType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VehicleInteractType.Descriptor instead. +func (VehicleInteractType) EnumDescriptor() ([]byte, []int) { + return file_VehicleInteractType_proto_rawDescGZIP(), []int{0} +} + +var File_VehicleInteractType_proto protoreflect.FileDescriptor + +var file_VehicleInteractType_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x72, 0x0a, 0x13, 0x56, + 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, + 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x10, 0x01, + 0x12, 0x1d, 0x0a, 0x19, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, + 0x52, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleInteractType_proto_rawDescOnce sync.Once + file_VehicleInteractType_proto_rawDescData = file_VehicleInteractType_proto_rawDesc +) + +func file_VehicleInteractType_proto_rawDescGZIP() []byte { + file_VehicleInteractType_proto_rawDescOnce.Do(func() { + file_VehicleInteractType_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleInteractType_proto_rawDescData) + }) + return file_VehicleInteractType_proto_rawDescData +} + +var file_VehicleInteractType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_VehicleInteractType_proto_goTypes = []interface{}{ + (VehicleInteractType)(0), // 0: VehicleInteractType +} +var file_VehicleInteractType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_VehicleInteractType_proto_init() } +func file_VehicleInteractType_proto_init() { + if File_VehicleInteractType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleInteractType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleInteractType_proto_goTypes, + DependencyIndexes: file_VehicleInteractType_proto_depIdxs, + EnumInfos: file_VehicleInteractType_proto_enumTypes, + }.Build() + File_VehicleInteractType_proto = out.File + file_VehicleInteractType_proto_rawDesc = nil + file_VehicleInteractType_proto_goTypes = nil + file_VehicleInteractType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleInteractType.proto b/gate-hk4e-api/proto/VehicleInteractType.proto new file mode 100644 index 00000000..9015fc10 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleInteractType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum VehicleInteractType { + VEHICLE_INTERACT_TYPE_NONE = 0; + VEHICLE_INTERACT_TYPE_IN = 1; + VEHICLE_INTERACT_TYPE_OUT = 2; +} diff --git a/gate-hk4e-api/proto/VehicleLocationInfo.pb.go b/gate-hk4e-api/proto/VehicleLocationInfo.pb.go new file mode 100644 index 00000000..36107595 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleLocationInfo.pb.go @@ -0,0 +1,231 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleLocationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VehicleLocationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,14,opt,name=rot,proto3" json:"rot,omitempty"` + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + CurHp float32 `protobuf:"fixed32,11,opt,name=cur_hp,json=curHp,proto3" json:"cur_hp,omitempty"` + OwnerUid uint32 `protobuf:"varint,5,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` + Pos *Vector `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"` + UidList []uint32 `protobuf:"varint,3,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` + GadgetId uint32 `protobuf:"varint,13,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` + MaxHp float32 `protobuf:"fixed32,6,opt,name=max_hp,json=maxHp,proto3" json:"max_hp,omitempty"` +} + +func (x *VehicleLocationInfo) Reset() { + *x = VehicleLocationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleLocationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleLocationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleLocationInfo) ProtoMessage() {} + +func (x *VehicleLocationInfo) ProtoReflect() protoreflect.Message { + mi := &file_VehicleLocationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleLocationInfo.ProtoReflect.Descriptor instead. +func (*VehicleLocationInfo) Descriptor() ([]byte, []int) { + return file_VehicleLocationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleLocationInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *VehicleLocationInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *VehicleLocationInfo) GetCurHp() float32 { + if x != nil { + return x.CurHp + } + return 0 +} + +func (x *VehicleLocationInfo) GetOwnerUid() uint32 { + if x != nil { + return x.OwnerUid + } + return 0 +} + +func (x *VehicleLocationInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +func (x *VehicleLocationInfo) GetUidList() []uint32 { + if x != nil { + return x.UidList + } + return nil +} + +func (x *VehicleLocationInfo) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +func (x *VehicleLocationInfo) GetMaxHp() float32 { + if x != nil { + return x.MaxHp + } + return 0 +} + +var File_VehicleLocationInfo_proto protoreflect.FileDescriptor + +var file_VehicleLocationInfo_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x13, 0x56, 0x65, + 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, + 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x63, 0x75, 0x72, + 0x5f, 0x68, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x63, 0x75, 0x72, 0x48, 0x70, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, + 0x03, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x69, 0x64, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x69, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, + 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x05, 0x6d, 0x61, 0x78, 0x48, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleLocationInfo_proto_rawDescOnce sync.Once + file_VehicleLocationInfo_proto_rawDescData = file_VehicleLocationInfo_proto_rawDesc +) + +func file_VehicleLocationInfo_proto_rawDescGZIP() []byte { + file_VehicleLocationInfo_proto_rawDescOnce.Do(func() { + file_VehicleLocationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleLocationInfo_proto_rawDescData) + }) + return file_VehicleLocationInfo_proto_rawDescData +} + +var file_VehicleLocationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleLocationInfo_proto_goTypes = []interface{}{ + (*VehicleLocationInfo)(nil), // 0: VehicleLocationInfo + (*Vector)(nil), // 1: Vector +} +var file_VehicleLocationInfo_proto_depIdxs = []int32{ + 1, // 0: VehicleLocationInfo.rot:type_name -> Vector + 1, // 1: VehicleLocationInfo.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_VehicleLocationInfo_proto_init() } +func file_VehicleLocationInfo_proto_init() { + if File_VehicleLocationInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_VehicleLocationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleLocationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleLocationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleLocationInfo_proto_goTypes, + DependencyIndexes: file_VehicleLocationInfo_proto_depIdxs, + MessageInfos: file_VehicleLocationInfo_proto_msgTypes, + }.Build() + File_VehicleLocationInfo_proto = out.File + file_VehicleLocationInfo_proto_rawDesc = nil + file_VehicleLocationInfo_proto_goTypes = nil + file_VehicleLocationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleLocationInfo.proto b/gate-hk4e-api/proto/VehicleLocationInfo.proto new file mode 100644 index 00000000..a28a357e --- /dev/null +++ b/gate-hk4e-api/proto/VehicleLocationInfo.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message VehicleLocationInfo { + Vector rot = 14; + uint32 entity_id = 15; + float cur_hp = 11; + uint32 owner_uid = 5; + Vector pos = 1; + repeated uint32 uid_list = 3; + uint32 gadget_id = 13; + float max_hp = 6; +} diff --git a/gate-hk4e-api/proto/VehicleMember.pb.go b/gate-hk4e-api/proto/VehicleMember.pb.go new file mode 100644 index 00000000..a623e797 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleMember.pb.go @@ -0,0 +1,176 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleMember.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VehicleMember struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + AvatarGuid uint64 `protobuf:"varint,2,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + Pos uint32 `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *VehicleMember) Reset() { + *x = VehicleMember{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleMember_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleMember) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleMember) ProtoMessage() {} + +func (x *VehicleMember) ProtoReflect() protoreflect.Message { + mi := &file_VehicleMember_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleMember.ProtoReflect.Descriptor instead. +func (*VehicleMember) Descriptor() ([]byte, []int) { + return file_VehicleMember_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleMember) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *VehicleMember) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *VehicleMember) GetPos() uint32 { + if x != nil { + return x.Pos + } + return 0 +} + +var File_VehicleMember_proto protoreflect.FileDescriptor + +var file_VehicleMember_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0d, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleMember_proto_rawDescOnce sync.Once + file_VehicleMember_proto_rawDescData = file_VehicleMember_proto_rawDesc +) + +func file_VehicleMember_proto_rawDescGZIP() []byte { + file_VehicleMember_proto_rawDescOnce.Do(func() { + file_VehicleMember_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleMember_proto_rawDescData) + }) + return file_VehicleMember_proto_rawDescData +} + +var file_VehicleMember_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleMember_proto_goTypes = []interface{}{ + (*VehicleMember)(nil), // 0: VehicleMember +} +var file_VehicleMember_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_VehicleMember_proto_init() } +func file_VehicleMember_proto_init() { + if File_VehicleMember_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_VehicleMember_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleMember); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleMember_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleMember_proto_goTypes, + DependencyIndexes: file_VehicleMember_proto_depIdxs, + MessageInfos: file_VehicleMember_proto_msgTypes, + }.Build() + File_VehicleMember_proto = out.File + file_VehicleMember_proto_rawDesc = nil + file_VehicleMember_proto_goTypes = nil + file_VehicleMember_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleMember.proto b/gate-hk4e-api/proto/VehicleMember.proto new file mode 100644 index 00000000..d036c503 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleMember.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message VehicleMember { + uint32 uid = 1; + uint64 avatar_guid = 2; + uint32 pos = 3; +} diff --git a/gate-hk4e-api/proto/VehicleStaminaNotify.pb.go b/gate-hk4e-api/proto/VehicleStaminaNotify.pb.go new file mode 100644 index 00000000..0b96c088 --- /dev/null +++ b/gate-hk4e-api/proto/VehicleStaminaNotify.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VehicleStaminaNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 834 +// EnetChannelId: 0 +// EnetIsReliable: true +type VehicleStaminaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,6,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + CurStamina float32 `protobuf:"fixed32,14,opt,name=cur_stamina,json=curStamina,proto3" json:"cur_stamina,omitempty"` +} + +func (x *VehicleStaminaNotify) Reset() { + *x = VehicleStaminaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_VehicleStaminaNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VehicleStaminaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VehicleStaminaNotify) ProtoMessage() {} + +func (x *VehicleStaminaNotify) ProtoReflect() protoreflect.Message { + mi := &file_VehicleStaminaNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VehicleStaminaNotify.ProtoReflect.Descriptor instead. +func (*VehicleStaminaNotify) Descriptor() ([]byte, []int) { + return file_VehicleStaminaNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *VehicleStaminaNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *VehicleStaminaNotify) GetCurStamina() float32 { + if x != nil { + return x.CurStamina + } + return 0 +} + +var File_VehicleStaminaNotify_proto protoreflect.FileDescriptor + +var file_VehicleStaminaNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x14, + 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x6d, 0x69, 0x6e, 0x61, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x53, 0x74, 0x61, 0x6d, 0x69, + 0x6e, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VehicleStaminaNotify_proto_rawDescOnce sync.Once + file_VehicleStaminaNotify_proto_rawDescData = file_VehicleStaminaNotify_proto_rawDesc +) + +func file_VehicleStaminaNotify_proto_rawDescGZIP() []byte { + file_VehicleStaminaNotify_proto_rawDescOnce.Do(func() { + file_VehicleStaminaNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_VehicleStaminaNotify_proto_rawDescData) + }) + return file_VehicleStaminaNotify_proto_rawDescData +} + +var file_VehicleStaminaNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_VehicleStaminaNotify_proto_goTypes = []interface{}{ + (*VehicleStaminaNotify)(nil), // 0: VehicleStaminaNotify +} +var file_VehicleStaminaNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_VehicleStaminaNotify_proto_init() } +func file_VehicleStaminaNotify_proto_init() { + if File_VehicleStaminaNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_VehicleStaminaNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VehicleStaminaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VehicleStaminaNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VehicleStaminaNotify_proto_goTypes, + DependencyIndexes: file_VehicleStaminaNotify_proto_depIdxs, + MessageInfos: file_VehicleStaminaNotify_proto_msgTypes, + }.Build() + File_VehicleStaminaNotify_proto = out.File + file_VehicleStaminaNotify_proto_rawDesc = nil + file_VehicleStaminaNotify_proto_goTypes = nil + file_VehicleStaminaNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VehicleStaminaNotify.proto b/gate-hk4e-api/proto/VehicleStaminaNotify.proto new file mode 100644 index 00000000..5490e69f --- /dev/null +++ b/gate-hk4e-api/proto/VehicleStaminaNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 834 +// EnetChannelId: 0 +// EnetIsReliable: true +message VehicleStaminaNotify { + uint32 entity_id = 6; + float cur_stamina = 14; +} diff --git a/gate-hk4e-api/proto/ViewCodexReq.pb.go b/gate-hk4e-api/proto/ViewCodexReq.pb.go new file mode 100644 index 00000000..588e1dce --- /dev/null +++ b/gate-hk4e-api/proto/ViewCodexReq.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ViewCodexReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4202 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type ViewCodexReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TypeDataList []*CodexTypeData `protobuf:"bytes,10,rep,name=type_data_list,json=typeDataList,proto3" json:"type_data_list,omitempty"` +} + +func (x *ViewCodexReq) Reset() { + *x = ViewCodexReq{} + if protoimpl.UnsafeEnabled { + mi := &file_ViewCodexReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ViewCodexReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ViewCodexReq) ProtoMessage() {} + +func (x *ViewCodexReq) ProtoReflect() protoreflect.Message { + mi := &file_ViewCodexReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ViewCodexReq.ProtoReflect.Descriptor instead. +func (*ViewCodexReq) Descriptor() ([]byte, []int) { + return file_ViewCodexReq_proto_rawDescGZIP(), []int{0} +} + +func (x *ViewCodexReq) GetTypeDataList() []*CodexTypeData { + if x != nil { + return x.TypeDataList + } + return nil +} + +var File_ViewCodexReq_proto protoreflect.FileDescriptor + +var file_ViewCodexReq_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x0c, 0x56, 0x69, 0x65, + 0x77, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x12, 0x34, 0x0a, 0x0e, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_ViewCodexReq_proto_rawDescOnce sync.Once + file_ViewCodexReq_proto_rawDescData = file_ViewCodexReq_proto_rawDesc +) + +func file_ViewCodexReq_proto_rawDescGZIP() []byte { + file_ViewCodexReq_proto_rawDescOnce.Do(func() { + file_ViewCodexReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_ViewCodexReq_proto_rawDescData) + }) + return file_ViewCodexReq_proto_rawDescData +} + +var file_ViewCodexReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ViewCodexReq_proto_goTypes = []interface{}{ + (*ViewCodexReq)(nil), // 0: ViewCodexReq + (*CodexTypeData)(nil), // 1: CodexTypeData +} +var file_ViewCodexReq_proto_depIdxs = []int32{ + 1, // 0: ViewCodexReq.type_data_list:type_name -> CodexTypeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ViewCodexReq_proto_init() } +func file_ViewCodexReq_proto_init() { + if File_ViewCodexReq_proto != nil { + return + } + file_CodexTypeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ViewCodexReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ViewCodexReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ViewCodexReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ViewCodexReq_proto_goTypes, + DependencyIndexes: file_ViewCodexReq_proto_depIdxs, + MessageInfos: file_ViewCodexReq_proto_msgTypes, + }.Build() + File_ViewCodexReq_proto = out.File + file_ViewCodexReq_proto_rawDesc = nil + file_ViewCodexReq_proto_goTypes = nil + file_ViewCodexReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ViewCodexReq.proto b/gate-hk4e-api/proto/ViewCodexReq.proto new file mode 100644 index 00000000..43830595 --- /dev/null +++ b/gate-hk4e-api/proto/ViewCodexReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CodexTypeData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4202 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message ViewCodexReq { + repeated CodexTypeData type_data_list = 10; +} diff --git a/gate-hk4e-api/proto/ViewCodexRsp.pb.go b/gate-hk4e-api/proto/ViewCodexRsp.pb.go new file mode 100644 index 00000000..e69476c0 --- /dev/null +++ b/gate-hk4e-api/proto/ViewCodexRsp.pb.go @@ -0,0 +1,210 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: ViewCodexRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4201 +// EnetChannelId: 0 +// EnetIsReliable: true +type ViewCodexRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,12,opt,name=retcode,proto3" json:"retcode,omitempty"` + Unk2800_IPOCJIPGNEJ []uint32 `protobuf:"varint,10,rep,packed,name=Unk2800_IPOCJIPGNEJ,json=Unk2800IPOCJIPGNEJ,proto3" json:"Unk2800_IPOCJIPGNEJ,omitempty"` + Unk2700_DFJJHFHHIHF []uint32 `protobuf:"varint,3,rep,packed,name=Unk2700_DFJJHFHHIHF,json=Unk2700DFJJHFHHIHF,proto3" json:"Unk2700_DFJJHFHHIHF,omitempty"` + TypeDataList []*CodexTypeData `protobuf:"bytes,9,rep,name=type_data_list,json=typeDataList,proto3" json:"type_data_list,omitempty"` + Unk2800_OIPJCEPGJCF []uint32 `protobuf:"varint,15,rep,packed,name=Unk2800_OIPJCEPGJCF,json=Unk2800OIPJCEPGJCF,proto3" json:"Unk2800_OIPJCEPGJCF,omitempty"` +} + +func (x *ViewCodexRsp) Reset() { + *x = ViewCodexRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_ViewCodexRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ViewCodexRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ViewCodexRsp) ProtoMessage() {} + +func (x *ViewCodexRsp) ProtoReflect() protoreflect.Message { + mi := &file_ViewCodexRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ViewCodexRsp.ProtoReflect.Descriptor instead. +func (*ViewCodexRsp) Descriptor() ([]byte, []int) { + return file_ViewCodexRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *ViewCodexRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *ViewCodexRsp) GetUnk2800_IPOCJIPGNEJ() []uint32 { + if x != nil { + return x.Unk2800_IPOCJIPGNEJ + } + return nil +} + +func (x *ViewCodexRsp) GetUnk2700_DFJJHFHHIHF() []uint32 { + if x != nil { + return x.Unk2700_DFJJHFHHIHF + } + return nil +} + +func (x *ViewCodexRsp) GetTypeDataList() []*CodexTypeData { + if x != nil { + return x.TypeDataList + } + return nil +} + +func (x *ViewCodexRsp) GetUnk2800_OIPJCEPGJCF() []uint32 { + if x != nil { + return x.Unk2800_OIPJCEPGJCF + } + return nil +} + +var File_ViewCodexRsp_proto protoreflect.FileDescriptor + +var file_ViewCodexRsp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x0c, 0x56, 0x69, + 0x65, 0x77, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, + 0x49, 0x50, 0x4f, 0x43, 0x4a, 0x49, 0x50, 0x47, 0x4e, 0x45, 0x4a, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x49, 0x50, 0x4f, 0x43, 0x4a, 0x49, + 0x50, 0x47, 0x4e, 0x45, 0x4a, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x5f, 0x44, 0x46, 0x4a, 0x4a, 0x48, 0x46, 0x48, 0x48, 0x49, 0x48, 0x46, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x44, 0x46, 0x4a, 0x4a, 0x48, + 0x46, 0x48, 0x48, 0x49, 0x48, 0x46, 0x12, 0x34, 0x0a, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, + 0x74, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x38, 0x30, 0x30, 0x5f, 0x4f, 0x49, 0x50, 0x4a, 0x43, 0x45, 0x50, 0x47, + 0x4a, 0x43, 0x46, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x38, + 0x30, 0x30, 0x4f, 0x49, 0x50, 0x4a, 0x43, 0x45, 0x50, 0x47, 0x4a, 0x43, 0x46, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_ViewCodexRsp_proto_rawDescOnce sync.Once + file_ViewCodexRsp_proto_rawDescData = file_ViewCodexRsp_proto_rawDesc +) + +func file_ViewCodexRsp_proto_rawDescGZIP() []byte { + file_ViewCodexRsp_proto_rawDescOnce.Do(func() { + file_ViewCodexRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ViewCodexRsp_proto_rawDescData) + }) + return file_ViewCodexRsp_proto_rawDescData +} + +var file_ViewCodexRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_ViewCodexRsp_proto_goTypes = []interface{}{ + (*ViewCodexRsp)(nil), // 0: ViewCodexRsp + (*CodexTypeData)(nil), // 1: CodexTypeData +} +var file_ViewCodexRsp_proto_depIdxs = []int32{ + 1, // 0: ViewCodexRsp.type_data_list:type_name -> CodexTypeData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_ViewCodexRsp_proto_init() } +func file_ViewCodexRsp_proto_init() { + if File_ViewCodexRsp_proto != nil { + return + } + file_CodexTypeData_proto_init() + if !protoimpl.UnsafeEnabled { + file_ViewCodexRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ViewCodexRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ViewCodexRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_ViewCodexRsp_proto_goTypes, + DependencyIndexes: file_ViewCodexRsp_proto_depIdxs, + MessageInfos: file_ViewCodexRsp_proto_msgTypes, + }.Build() + File_ViewCodexRsp_proto = out.File + file_ViewCodexRsp_proto_rawDesc = nil + file_ViewCodexRsp_proto_goTypes = nil + file_ViewCodexRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/ViewCodexRsp.proto b/gate-hk4e-api/proto/ViewCodexRsp.proto new file mode 100644 index 00000000..d979e1a6 --- /dev/null +++ b/gate-hk4e-api/proto/ViewCodexRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "CodexTypeData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4201 +// EnetChannelId: 0 +// EnetIsReliable: true +message ViewCodexRsp { + int32 retcode = 12; + repeated uint32 Unk2800_IPOCJIPGNEJ = 10; + repeated uint32 Unk2700_DFJJHFHHIHF = 3; + repeated CodexTypeData type_data_list = 9; + repeated uint32 Unk2800_OIPJCEPGJCF = 15; +} diff --git a/gate-hk4e-api/proto/VisionType.pb.go b/gate-hk4e-api/proto/VisionType.pb.go new file mode 100644 index 00000000..cbb8142a --- /dev/null +++ b/gate-hk4e-api/proto/VisionType.pb.go @@ -0,0 +1,229 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: VisionType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VisionType int32 + +const ( + VisionType_VISION_TYPE_NONE VisionType = 0 + VisionType_VISION_TYPE_MEET VisionType = 1 + VisionType_VISION_TYPE_REBORN VisionType = 2 + VisionType_VISION_TYPE_REPLACE VisionType = 3 + VisionType_VISION_TYPE_WAYPOINT_REBORN VisionType = 4 + VisionType_VISION_TYPE_MISS VisionType = 5 + VisionType_VISION_TYPE_DIE VisionType = 6 + VisionType_VISION_TYPE_GATHER_ESCAPE VisionType = 7 + VisionType_VISION_TYPE_REFRESH VisionType = 8 + VisionType_VISION_TYPE_TRANSPORT VisionType = 9 + VisionType_VISION_TYPE_REPLACE_DIE VisionType = 10 + VisionType_VISION_TYPE_REPLACE_NO_NOTIFY VisionType = 11 + VisionType_VISION_TYPE_BORN VisionType = 12 + VisionType_VISION_TYPE_PICKUP VisionType = 13 + VisionType_VISION_TYPE_REMOVE VisionType = 14 + VisionType_VISION_TYPE_CHANGE_COSTUME VisionType = 15 + VisionType_VISION_TYPE_FISH_REFRESH VisionType = 16 + VisionType_VISION_TYPE_FISH_BIG_SHOCK VisionType = 17 + VisionType_VISION_TYPE_FISH_QTE_SUCC VisionType = 18 + VisionType_VISION_TYPE_Unk2700_EPFKMOIPADB VisionType = 19 +) + +// Enum value maps for VisionType. +var ( + VisionType_name = map[int32]string{ + 0: "VISION_TYPE_NONE", + 1: "VISION_TYPE_MEET", + 2: "VISION_TYPE_REBORN", + 3: "VISION_TYPE_REPLACE", + 4: "VISION_TYPE_WAYPOINT_REBORN", + 5: "VISION_TYPE_MISS", + 6: "VISION_TYPE_DIE", + 7: "VISION_TYPE_GATHER_ESCAPE", + 8: "VISION_TYPE_REFRESH", + 9: "VISION_TYPE_TRANSPORT", + 10: "VISION_TYPE_REPLACE_DIE", + 11: "VISION_TYPE_REPLACE_NO_NOTIFY", + 12: "VISION_TYPE_BORN", + 13: "VISION_TYPE_PICKUP", + 14: "VISION_TYPE_REMOVE", + 15: "VISION_TYPE_CHANGE_COSTUME", + 16: "VISION_TYPE_FISH_REFRESH", + 17: "VISION_TYPE_FISH_BIG_SHOCK", + 18: "VISION_TYPE_FISH_QTE_SUCC", + 19: "VISION_TYPE_Unk2700_EPFKMOIPADB", + } + VisionType_value = map[string]int32{ + "VISION_TYPE_NONE": 0, + "VISION_TYPE_MEET": 1, + "VISION_TYPE_REBORN": 2, + "VISION_TYPE_REPLACE": 3, + "VISION_TYPE_WAYPOINT_REBORN": 4, + "VISION_TYPE_MISS": 5, + "VISION_TYPE_DIE": 6, + "VISION_TYPE_GATHER_ESCAPE": 7, + "VISION_TYPE_REFRESH": 8, + "VISION_TYPE_TRANSPORT": 9, + "VISION_TYPE_REPLACE_DIE": 10, + "VISION_TYPE_REPLACE_NO_NOTIFY": 11, + "VISION_TYPE_BORN": 12, + "VISION_TYPE_PICKUP": 13, + "VISION_TYPE_REMOVE": 14, + "VISION_TYPE_CHANGE_COSTUME": 15, + "VISION_TYPE_FISH_REFRESH": 16, + "VISION_TYPE_FISH_BIG_SHOCK": 17, + "VISION_TYPE_FISH_QTE_SUCC": 18, + "VISION_TYPE_Unk2700_EPFKMOIPADB": 19, + } +) + +func (x VisionType) Enum() *VisionType { + p := new(VisionType) + *p = x + return p +} + +func (x VisionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VisionType) Descriptor() protoreflect.EnumDescriptor { + return file_VisionType_proto_enumTypes[0].Descriptor() +} + +func (VisionType) Type() protoreflect.EnumType { + return &file_VisionType_proto_enumTypes[0] +} + +func (x VisionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VisionType.Descriptor instead. +func (VisionType) EnumDescriptor() ([]byte, []int) { + return file_VisionType_proto_rawDescGZIP(), []int{0} +} + +var File_VisionType_proto protoreflect.FileDescriptor + +var file_VisionType_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2a, 0xb0, 0x04, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x49, 0x53, 0x49, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x45, 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, + 0x12, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x42, + 0x4f, 0x52, 0x4e, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x03, 0x12, 0x1f, + 0x0a, 0x1b, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x41, + 0x59, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x42, 0x4f, 0x52, 0x4e, 0x10, 0x04, 0x12, + 0x14, 0x0a, 0x10, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, + 0x49, 0x53, 0x53, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, 0x45, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x56, 0x49, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x41, 0x54, 0x48, 0x45, 0x52, + 0x5f, 0x45, 0x53, 0x43, 0x41, 0x50, 0x45, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x49, 0x53, + 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, + 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x09, 0x12, 0x1b, 0x0a, + 0x17, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, + 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x44, 0x49, 0x45, 0x10, 0x0a, 0x12, 0x21, 0x0a, 0x1d, 0x56, 0x49, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, + 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x0b, 0x12, 0x14, 0x0a, + 0x10, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x52, + 0x4e, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x50, 0x49, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x0d, 0x12, 0x16, 0x0a, 0x12, 0x56, + 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, + 0x45, 0x10, 0x0e, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x55, 0x4d, + 0x45, 0x10, 0x0f, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x10, + 0x10, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x53, 0x48, 0x4f, 0x43, 0x4b, 0x10, + 0x11, 0x12, 0x1d, 0x0a, 0x19, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x46, 0x49, 0x53, 0x48, 0x5f, 0x51, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x10, 0x12, + 0x12, 0x23, 0x0a, 0x1f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x45, 0x50, 0x46, 0x4b, 0x4d, 0x4f, 0x49, 0x50, + 0x41, 0x44, 0x42, 0x10, 0x13, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_VisionType_proto_rawDescOnce sync.Once + file_VisionType_proto_rawDescData = file_VisionType_proto_rawDesc +) + +func file_VisionType_proto_rawDescGZIP() []byte { + file_VisionType_proto_rawDescOnce.Do(func() { + file_VisionType_proto_rawDescData = protoimpl.X.CompressGZIP(file_VisionType_proto_rawDescData) + }) + return file_VisionType_proto_rawDescData +} + +var file_VisionType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_VisionType_proto_goTypes = []interface{}{ + (VisionType)(0), // 0: VisionType +} +var file_VisionType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_VisionType_proto_init() } +func file_VisionType_proto_init() { + if File_VisionType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_VisionType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_VisionType_proto_goTypes, + DependencyIndexes: file_VisionType_proto_depIdxs, + EnumInfos: file_VisionType_proto_enumTypes, + }.Build() + File_VisionType_proto = out.File + file_VisionType_proto_rawDesc = nil + file_VisionType_proto_goTypes = nil + file_VisionType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/VisionType.proto b/gate-hk4e-api/proto/VisionType.proto new file mode 100644 index 00000000..da7df8f3 --- /dev/null +++ b/gate-hk4e-api/proto/VisionType.proto @@ -0,0 +1,42 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum VisionType { + VISION_TYPE_NONE = 0; + VISION_TYPE_MEET = 1; + VISION_TYPE_REBORN = 2; + VISION_TYPE_REPLACE = 3; + VISION_TYPE_WAYPOINT_REBORN = 4; + VISION_TYPE_MISS = 5; + VISION_TYPE_DIE = 6; + VISION_TYPE_GATHER_ESCAPE = 7; + VISION_TYPE_REFRESH = 8; + VISION_TYPE_TRANSPORT = 9; + VISION_TYPE_REPLACE_DIE = 10; + VISION_TYPE_REPLACE_NO_NOTIFY = 11; + VISION_TYPE_BORN = 12; + VISION_TYPE_PICKUP = 13; + VISION_TYPE_REMOVE = 14; + VISION_TYPE_CHANGE_COSTUME = 15; + VISION_TYPE_FISH_REFRESH = 16; + VISION_TYPE_FISH_BIG_SHOCK = 17; + VISION_TYPE_FISH_QTE_SUCC = 18; + VISION_TYPE_Unk2700_EPFKMOIPADB = 19; +} diff --git a/gate-hk4e-api/proto/WatcherAllDataNotify.pb.go b/gate-hk4e-api/proto/WatcherAllDataNotify.pb.go new file mode 100644 index 00000000..c761025a --- /dev/null +++ b/gate-hk4e-api/proto/WatcherAllDataNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WatcherAllDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2272 +// EnetChannelId: 0 +// EnetIsReliable: true +type WatcherAllDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WatcherList []uint32 `protobuf:"varint,4,rep,packed,name=watcher_list,json=watcherList,proto3" json:"watcher_list,omitempty"` +} + +func (x *WatcherAllDataNotify) Reset() { + *x = WatcherAllDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WatcherAllDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatcherAllDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatcherAllDataNotify) ProtoMessage() {} + +func (x *WatcherAllDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_WatcherAllDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatcherAllDataNotify.ProtoReflect.Descriptor instead. +func (*WatcherAllDataNotify) Descriptor() ([]byte, []int) { + return file_WatcherAllDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WatcherAllDataNotify) GetWatcherList() []uint32 { + if x != nil { + return x.WatcherList + } + return nil +} + +var File_WatcherAllDataNotify_proto protoreflect.FileDescriptor + +var file_WatcherAllDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x14, + 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x77, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WatcherAllDataNotify_proto_rawDescOnce sync.Once + file_WatcherAllDataNotify_proto_rawDescData = file_WatcherAllDataNotify_proto_rawDesc +) + +func file_WatcherAllDataNotify_proto_rawDescGZIP() []byte { + file_WatcherAllDataNotify_proto_rawDescOnce.Do(func() { + file_WatcherAllDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WatcherAllDataNotify_proto_rawDescData) + }) + return file_WatcherAllDataNotify_proto_rawDescData +} + +var file_WatcherAllDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WatcherAllDataNotify_proto_goTypes = []interface{}{ + (*WatcherAllDataNotify)(nil), // 0: WatcherAllDataNotify +} +var file_WatcherAllDataNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WatcherAllDataNotify_proto_init() } +func file_WatcherAllDataNotify_proto_init() { + if File_WatcherAllDataNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WatcherAllDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatcherAllDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WatcherAllDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WatcherAllDataNotify_proto_goTypes, + DependencyIndexes: file_WatcherAllDataNotify_proto_depIdxs, + MessageInfos: file_WatcherAllDataNotify_proto_msgTypes, + }.Build() + File_WatcherAllDataNotify_proto = out.File + file_WatcherAllDataNotify_proto_rawDesc = nil + file_WatcherAllDataNotify_proto_goTypes = nil + file_WatcherAllDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WatcherAllDataNotify.proto b/gate-hk4e-api/proto/WatcherAllDataNotify.proto new file mode 100644 index 00000000..6a62699d --- /dev/null +++ b/gate-hk4e-api/proto/WatcherAllDataNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2272 +// EnetChannelId: 0 +// EnetIsReliable: true +message WatcherAllDataNotify { + repeated uint32 watcher_list = 4; +} diff --git a/gate-hk4e-api/proto/WatcherChangeNotify.pb.go b/gate-hk4e-api/proto/WatcherChangeNotify.pb.go new file mode 100644 index 00000000..442c1558 --- /dev/null +++ b/gate-hk4e-api/proto/WatcherChangeNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WatcherChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2298 +// EnetChannelId: 0 +// EnetIsReliable: true +type WatcherChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemovedWatcherList []uint32 `protobuf:"varint,2,rep,packed,name=removed_watcher_list,json=removedWatcherList,proto3" json:"removed_watcher_list,omitempty"` + NewWatcherList []uint32 `protobuf:"varint,15,rep,packed,name=new_watcher_list,json=newWatcherList,proto3" json:"new_watcher_list,omitempty"` +} + +func (x *WatcherChangeNotify) Reset() { + *x = WatcherChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WatcherChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatcherChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatcherChangeNotify) ProtoMessage() {} + +func (x *WatcherChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WatcherChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatcherChangeNotify.ProtoReflect.Descriptor instead. +func (*WatcherChangeNotify) Descriptor() ([]byte, []int) { + return file_WatcherChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WatcherChangeNotify) GetRemovedWatcherList() []uint32 { + if x != nil { + return x.RemovedWatcherList + } + return nil +} + +func (x *WatcherChangeNotify) GetNewWatcherList() []uint32 { + if x != nil { + return x.NewWatcherList + } + return nil +} + +var File_WatcherChangeNotify_proto protoreflect.FileDescriptor + +var file_WatcherChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x13, 0x57, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x77, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, + 0x52, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x77, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, + 0x6e, 0x65, 0x77, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_WatcherChangeNotify_proto_rawDescOnce sync.Once + file_WatcherChangeNotify_proto_rawDescData = file_WatcherChangeNotify_proto_rawDesc +) + +func file_WatcherChangeNotify_proto_rawDescGZIP() []byte { + file_WatcherChangeNotify_proto_rawDescOnce.Do(func() { + file_WatcherChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WatcherChangeNotify_proto_rawDescData) + }) + return file_WatcherChangeNotify_proto_rawDescData +} + +var file_WatcherChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WatcherChangeNotify_proto_goTypes = []interface{}{ + (*WatcherChangeNotify)(nil), // 0: WatcherChangeNotify +} +var file_WatcherChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WatcherChangeNotify_proto_init() } +func file_WatcherChangeNotify_proto_init() { + if File_WatcherChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WatcherChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatcherChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WatcherChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WatcherChangeNotify_proto_goTypes, + DependencyIndexes: file_WatcherChangeNotify_proto_depIdxs, + MessageInfos: file_WatcherChangeNotify_proto_msgTypes, + }.Build() + File_WatcherChangeNotify_proto = out.File + file_WatcherChangeNotify_proto_rawDesc = nil + file_WatcherChangeNotify_proto_goTypes = nil + file_WatcherChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WatcherChangeNotify.proto b/gate-hk4e-api/proto/WatcherChangeNotify.proto new file mode 100644 index 00000000..828c81ac --- /dev/null +++ b/gate-hk4e-api/proto/WatcherChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2298 +// EnetChannelId: 0 +// EnetIsReliable: true +message WatcherChangeNotify { + repeated uint32 removed_watcher_list = 2; + repeated uint32 new_watcher_list = 15; +} diff --git a/gate-hk4e-api/proto/WatcherEventNotify.pb.go b/gate-hk4e-api/proto/WatcherEventNotify.pb.go new file mode 100644 index 00000000..ad3b1e77 --- /dev/null +++ b/gate-hk4e-api/proto/WatcherEventNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WatcherEventNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2212 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WatcherEventNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AddProgress uint32 `protobuf:"varint,6,opt,name=add_progress,json=addProgress,proto3" json:"add_progress,omitempty"` + WatcherId uint32 `protobuf:"varint,9,opt,name=watcher_id,json=watcherId,proto3" json:"watcher_id,omitempty"` +} + +func (x *WatcherEventNotify) Reset() { + *x = WatcherEventNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WatcherEventNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatcherEventNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatcherEventNotify) ProtoMessage() {} + +func (x *WatcherEventNotify) ProtoReflect() protoreflect.Message { + mi := &file_WatcherEventNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatcherEventNotify.ProtoReflect.Descriptor instead. +func (*WatcherEventNotify) Descriptor() ([]byte, []int) { + return file_WatcherEventNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WatcherEventNotify) GetAddProgress() uint32 { + if x != nil { + return x.AddProgress + } + return 0 +} + +func (x *WatcherEventNotify) GetWatcherId() uint32 { + if x != nil { + return x.WatcherId + } + return 0 +} + +var File_WatcherEventNotify_proto protoreflect.FileDescriptor + +var file_WatcherEventNotify_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x12, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WatcherEventNotify_proto_rawDescOnce sync.Once + file_WatcherEventNotify_proto_rawDescData = file_WatcherEventNotify_proto_rawDesc +) + +func file_WatcherEventNotify_proto_rawDescGZIP() []byte { + file_WatcherEventNotify_proto_rawDescOnce.Do(func() { + file_WatcherEventNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WatcherEventNotify_proto_rawDescData) + }) + return file_WatcherEventNotify_proto_rawDescData +} + +var file_WatcherEventNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WatcherEventNotify_proto_goTypes = []interface{}{ + (*WatcherEventNotify)(nil), // 0: WatcherEventNotify +} +var file_WatcherEventNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WatcherEventNotify_proto_init() } +func file_WatcherEventNotify_proto_init() { + if File_WatcherEventNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WatcherEventNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatcherEventNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WatcherEventNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WatcherEventNotify_proto_goTypes, + DependencyIndexes: file_WatcherEventNotify_proto_depIdxs, + MessageInfos: file_WatcherEventNotify_proto_msgTypes, + }.Build() + File_WatcherEventNotify_proto = out.File + file_WatcherEventNotify_proto_rawDesc = nil + file_WatcherEventNotify_proto_goTypes = nil + file_WatcherEventNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WatcherEventNotify.proto b/gate-hk4e-api/proto/WatcherEventNotify.proto new file mode 100644 index 00000000..994b38b5 --- /dev/null +++ b/gate-hk4e-api/proto/WatcherEventNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2212 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WatcherEventNotify { + uint32 add_progress = 6; + uint32 watcher_id = 9; +} diff --git a/gate-hk4e-api/proto/WatcherEventTypeNotify.pb.go b/gate-hk4e-api/proto/WatcherEventTypeNotify.pb.go new file mode 100644 index 00000000..a200be21 --- /dev/null +++ b/gate-hk4e-api/proto/WatcherEventTypeNotify.pb.go @@ -0,0 +1,185 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WatcherEventTypeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WatcherEventTypeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParamList []uint32 `protobuf:"varint,14,rep,packed,name=param_list,json=paramList,proto3" json:"param_list,omitempty"` + AddProgress uint32 `protobuf:"varint,15,opt,name=add_progress,json=addProgress,proto3" json:"add_progress,omitempty"` + WatcherTriggerType uint32 `protobuf:"varint,11,opt,name=watcher_trigger_type,json=watcherTriggerType,proto3" json:"watcher_trigger_type,omitempty"` +} + +func (x *WatcherEventTypeNotify) Reset() { + *x = WatcherEventTypeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WatcherEventTypeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatcherEventTypeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatcherEventTypeNotify) ProtoMessage() {} + +func (x *WatcherEventTypeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WatcherEventTypeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatcherEventTypeNotify.ProtoReflect.Descriptor instead. +func (*WatcherEventTypeNotify) Descriptor() ([]byte, []int) { + return file_WatcherEventTypeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WatcherEventTypeNotify) GetParamList() []uint32 { + if x != nil { + return x.ParamList + } + return nil +} + +func (x *WatcherEventTypeNotify) GetAddProgress() uint32 { + if x != nil { + return x.AddProgress + } + return 0 +} + +func (x *WatcherEventTypeNotify) GetWatcherTriggerType() uint32 { + if x != nil { + return x.WatcherTriggerType + } + return 0 +} + +var File_WatcherEventTypeNotify_proto protoreflect.FileDescriptor + +var file_WatcherEventTypeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, + 0x01, 0x0a, 0x16, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x77, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x77, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WatcherEventTypeNotify_proto_rawDescOnce sync.Once + file_WatcherEventTypeNotify_proto_rawDescData = file_WatcherEventTypeNotify_proto_rawDesc +) + +func file_WatcherEventTypeNotify_proto_rawDescGZIP() []byte { + file_WatcherEventTypeNotify_proto_rawDescOnce.Do(func() { + file_WatcherEventTypeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WatcherEventTypeNotify_proto_rawDescData) + }) + return file_WatcherEventTypeNotify_proto_rawDescData +} + +var file_WatcherEventTypeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WatcherEventTypeNotify_proto_goTypes = []interface{}{ + (*WatcherEventTypeNotify)(nil), // 0: WatcherEventTypeNotify +} +var file_WatcherEventTypeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WatcherEventTypeNotify_proto_init() } +func file_WatcherEventTypeNotify_proto_init() { + if File_WatcherEventTypeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WatcherEventTypeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatcherEventTypeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WatcherEventTypeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WatcherEventTypeNotify_proto_goTypes, + DependencyIndexes: file_WatcherEventTypeNotify_proto_depIdxs, + MessageInfos: file_WatcherEventTypeNotify_proto_msgTypes, + }.Build() + File_WatcherEventTypeNotify_proto = out.File + file_WatcherEventTypeNotify_proto_rawDesc = nil + file_WatcherEventTypeNotify_proto_goTypes = nil + file_WatcherEventTypeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WatcherEventTypeNotify.proto b/gate-hk4e-api/proto/WatcherEventTypeNotify.proto new file mode 100644 index 00000000..cb5f23c0 --- /dev/null +++ b/gate-hk4e-api/proto/WatcherEventTypeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2235 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WatcherEventTypeNotify { + repeated uint32 param_list = 14; + uint32 add_progress = 15; + uint32 watcher_trigger_type = 11; +} diff --git a/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.pb.go b/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.pb.go new file mode 100644 index 00000000..f52e36a4 --- /dev/null +++ b/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WaterSpiritActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WaterSpiritActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearchTimeMap map[uint32]uint32 `protobuf:"bytes,9,rep,name=search_time_map,json=searchTimeMap,proto3" json:"search_time_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + RegionSearchId uint32 `protobuf:"varint,2,opt,name=region_search_id,json=regionSearchId,proto3" json:"region_search_id,omitempty"` + MpPlayId uint32 `protobuf:"varint,15,opt,name=mp_play_id,json=mpPlayId,proto3" json:"mp_play_id,omitempty"` +} + +func (x *WaterSpiritActivityDetailInfo) Reset() { + *x = WaterSpiritActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WaterSpiritActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaterSpiritActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaterSpiritActivityDetailInfo) ProtoMessage() {} + +func (x *WaterSpiritActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_WaterSpiritActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaterSpiritActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*WaterSpiritActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_WaterSpiritActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WaterSpiritActivityDetailInfo) GetSearchTimeMap() map[uint32]uint32 { + if x != nil { + return x.SearchTimeMap + } + return nil +} + +func (x *WaterSpiritActivityDetailInfo) GetRegionSearchId() uint32 { + if x != nil { + return x.RegionSearchId + } + return 0 +} + +func (x *WaterSpiritActivityDetailInfo) GetMpPlayId() uint32 { + if x != nil { + return x.MpPlayId + } + return 0 +} + +var File_WaterSpiritActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_WaterSpiritActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x02, 0x0a, 0x1d, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, + 0x70, 0x69, 0x72, 0x69, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x0f, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, 0x70, 0x69, 0x72, 0x69, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, + 0x61, 0x70, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, + 0x6d, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6d, 0x70, 0x50, 0x6c, 0x61, 0x79, 0x49, 0x64, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WaterSpiritActivityDetailInfo_proto_rawDescOnce sync.Once + file_WaterSpiritActivityDetailInfo_proto_rawDescData = file_WaterSpiritActivityDetailInfo_proto_rawDesc +) + +func file_WaterSpiritActivityDetailInfo_proto_rawDescGZIP() []byte { + file_WaterSpiritActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_WaterSpiritActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WaterSpiritActivityDetailInfo_proto_rawDescData) + }) + return file_WaterSpiritActivityDetailInfo_proto_rawDescData +} + +var file_WaterSpiritActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_WaterSpiritActivityDetailInfo_proto_goTypes = []interface{}{ + (*WaterSpiritActivityDetailInfo)(nil), // 0: WaterSpiritActivityDetailInfo + nil, // 1: WaterSpiritActivityDetailInfo.SearchTimeMapEntry +} +var file_WaterSpiritActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: WaterSpiritActivityDetailInfo.search_time_map:type_name -> WaterSpiritActivityDetailInfo.SearchTimeMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WaterSpiritActivityDetailInfo_proto_init() } +func file_WaterSpiritActivityDetailInfo_proto_init() { + if File_WaterSpiritActivityDetailInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WaterSpiritActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaterSpiritActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WaterSpiritActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WaterSpiritActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_WaterSpiritActivityDetailInfo_proto_depIdxs, + MessageInfos: file_WaterSpiritActivityDetailInfo_proto_msgTypes, + }.Build() + File_WaterSpiritActivityDetailInfo_proto = out.File + file_WaterSpiritActivityDetailInfo_proto_rawDesc = nil + file_WaterSpiritActivityDetailInfo_proto_goTypes = nil + file_WaterSpiritActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.proto b/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.proto new file mode 100644 index 00000000..beeb6525 --- /dev/null +++ b/gate-hk4e-api/proto/WaterSpiritActivityDetailInfo.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WaterSpiritActivityDetailInfo { + map search_time_map = 9; + uint32 region_search_id = 2; + uint32 mp_play_id = 15; +} diff --git a/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.pb.go b/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.pb.go new file mode 100644 index 00000000..86fb5a79 --- /dev/null +++ b/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WaterSpritePhaseFinishNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2025 +// EnetChannelId: 0 +// EnetIsReliable: true +type WaterSpritePhaseFinishNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaterSpritePhaseFinishNotify) Reset() { + *x = WaterSpritePhaseFinishNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WaterSpritePhaseFinishNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaterSpritePhaseFinishNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaterSpritePhaseFinishNotify) ProtoMessage() {} + +func (x *WaterSpritePhaseFinishNotify) ProtoReflect() protoreflect.Message { + mi := &file_WaterSpritePhaseFinishNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaterSpritePhaseFinishNotify.ProtoReflect.Descriptor instead. +func (*WaterSpritePhaseFinishNotify) Descriptor() ([]byte, []int) { + return file_WaterSpritePhaseFinishNotify_proto_rawDescGZIP(), []int{0} +} + +var File_WaterSpritePhaseFinishNotify_proto protoreflect.FileDescriptor + +var file_WaterSpritePhaseFinishNotify_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, 0x70, 0x72, 0x69, 0x74, 0x65, 0x50, 0x68, 0x61, + 0x73, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x57, 0x61, 0x74, 0x65, 0x72, 0x53, 0x70, 0x72, + 0x69, 0x74, 0x65, 0x50, 0x68, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WaterSpritePhaseFinishNotify_proto_rawDescOnce sync.Once + file_WaterSpritePhaseFinishNotify_proto_rawDescData = file_WaterSpritePhaseFinishNotify_proto_rawDesc +) + +func file_WaterSpritePhaseFinishNotify_proto_rawDescGZIP() []byte { + file_WaterSpritePhaseFinishNotify_proto_rawDescOnce.Do(func() { + file_WaterSpritePhaseFinishNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WaterSpritePhaseFinishNotify_proto_rawDescData) + }) + return file_WaterSpritePhaseFinishNotify_proto_rawDescData +} + +var file_WaterSpritePhaseFinishNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WaterSpritePhaseFinishNotify_proto_goTypes = []interface{}{ + (*WaterSpritePhaseFinishNotify)(nil), // 0: WaterSpritePhaseFinishNotify +} +var file_WaterSpritePhaseFinishNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WaterSpritePhaseFinishNotify_proto_init() } +func file_WaterSpritePhaseFinishNotify_proto_init() { + if File_WaterSpritePhaseFinishNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WaterSpritePhaseFinishNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaterSpritePhaseFinishNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WaterSpritePhaseFinishNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WaterSpritePhaseFinishNotify_proto_goTypes, + DependencyIndexes: file_WaterSpritePhaseFinishNotify_proto_depIdxs, + MessageInfos: file_WaterSpritePhaseFinishNotify_proto_msgTypes, + }.Build() + File_WaterSpritePhaseFinishNotify_proto = out.File + file_WaterSpritePhaseFinishNotify_proto_rawDesc = nil + file_WaterSpritePhaseFinishNotify_proto_goTypes = nil + file_WaterSpritePhaseFinishNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.proto b/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.proto new file mode 100644 index 00000000..a9c84603 --- /dev/null +++ b/gate-hk4e-api/proto/WaterSpritePhaseFinishNotify.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 2025 +// EnetChannelId: 0 +// EnetIsReliable: true +message WaterSpritePhaseFinishNotify {} diff --git a/gate-hk4e-api/proto/Weapon.pb.go b/gate-hk4e-api/proto/Weapon.pb.go new file mode 100644 index 00000000..46efe537 --- /dev/null +++ b/gate-hk4e-api/proto/Weapon.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: Weapon.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Weapon struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Level uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` + Exp uint32 `protobuf:"varint,2,opt,name=exp,proto3" json:"exp,omitempty"` + PromoteLevel uint32 `protobuf:"varint,3,opt,name=promote_level,json=promoteLevel,proto3" json:"promote_level,omitempty"` + AffixMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=affix_map,json=affixMap,proto3" json:"affix_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Weapon) Reset() { + *x = Weapon{} + if protoimpl.UnsafeEnabled { + mi := &file_Weapon_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Weapon) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Weapon) ProtoMessage() {} + +func (x *Weapon) ProtoReflect() protoreflect.Message { + mi := &file_Weapon_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Weapon.ProtoReflect.Descriptor instead. +func (*Weapon) Descriptor() ([]byte, []int) { + return file_Weapon_proto_rawDescGZIP(), []int{0} +} + +func (x *Weapon) GetLevel() uint32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *Weapon) GetExp() uint32 { + if x != nil { + return x.Exp + } + return 0 +} + +func (x *Weapon) GetPromoteLevel() uint32 { + if x != nil { + return x.PromoteLevel + } + return 0 +} + +func (x *Weapon) GetAffixMap() map[uint32]uint32 { + if x != nil { + return x.AffixMap + } + return nil +} + +var File_Weapon_proto protoreflect.FileDescriptor + +var file_Weapon_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, + 0x01, 0x0a, 0x06, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x65, 0x78, + 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, + 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x09, 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, + 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x57, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x2e, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4d, 0x61, 0x70, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x66, + 0x66, 0x69, 0x78, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_Weapon_proto_rawDescOnce sync.Once + file_Weapon_proto_rawDescData = file_Weapon_proto_rawDesc +) + +func file_Weapon_proto_rawDescGZIP() []byte { + file_Weapon_proto_rawDescOnce.Do(func() { + file_Weapon_proto_rawDescData = protoimpl.X.CompressGZIP(file_Weapon_proto_rawDescData) + }) + return file_Weapon_proto_rawDescData +} + +var file_Weapon_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_Weapon_proto_goTypes = []interface{}{ + (*Weapon)(nil), // 0: Weapon + nil, // 1: Weapon.AffixMapEntry +} +var file_Weapon_proto_depIdxs = []int32{ + 1, // 0: Weapon.affix_map:type_name -> Weapon.AffixMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_Weapon_proto_init() } +func file_Weapon_proto_init() { + if File_Weapon_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_Weapon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Weapon); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_Weapon_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_Weapon_proto_goTypes, + DependencyIndexes: file_Weapon_proto_depIdxs, + MessageInfos: file_Weapon_proto_msgTypes, + }.Build() + File_Weapon_proto = out.File + file_Weapon_proto_rawDesc = nil + file_Weapon_proto_goTypes = nil + file_Weapon_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/Weapon.proto b/gate-hk4e-api/proto/Weapon.proto new file mode 100644 index 00000000..fdc6b8d0 --- /dev/null +++ b/gate-hk4e-api/proto/Weapon.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message Weapon { + uint32 level = 1; + uint32 exp = 2; + uint32 promote_level = 3; + map affix_map = 4; +} diff --git a/gate-hk4e-api/proto/WeaponAwakenReq.pb.go b/gate-hk4e-api/proto/WeaponAwakenReq.pb.go new file mode 100644 index 00000000..a832c82e --- /dev/null +++ b/gate-hk4e-api/proto/WeaponAwakenReq.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponAwakenReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 695 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WeaponAwakenReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ItemGuid uint64 `protobuf:"varint,10,opt,name=item_guid,json=itemGuid,proto3" json:"item_guid,omitempty"` + AffixLevelMap map[uint32]uint32 `protobuf:"bytes,7,rep,name=affix_level_map,json=affixLevelMap,proto3" json:"affix_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TargetWeaponGuid uint64 `protobuf:"varint,9,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` +} + +func (x *WeaponAwakenReq) Reset() { + *x = WeaponAwakenReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponAwakenReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponAwakenReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponAwakenReq) ProtoMessage() {} + +func (x *WeaponAwakenReq) ProtoReflect() protoreflect.Message { + mi := &file_WeaponAwakenReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponAwakenReq.ProtoReflect.Descriptor instead. +func (*WeaponAwakenReq) Descriptor() ([]byte, []int) { + return file_WeaponAwakenReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponAwakenReq) GetItemGuid() uint64 { + if x != nil { + return x.ItemGuid + } + return 0 +} + +func (x *WeaponAwakenReq) GetAffixLevelMap() map[uint32]uint32 { + if x != nil { + return x.AffixLevelMap + } + return nil +} + +func (x *WeaponAwakenReq) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +var File_WeaponAwakenReq_proto protoreflect.FileDescriptor + +var file_WeaponAwakenReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x0f, 0x57, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, + 0x69, 0x74, 0x65, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x12, 0x4b, 0x0a, 0x0f, 0x61, 0x66, 0x66, 0x69, + 0x78, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x71, 0x2e, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, + 0x75, 0x69, 0x64, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeaponAwakenReq_proto_rawDescOnce sync.Once + file_WeaponAwakenReq_proto_rawDescData = file_WeaponAwakenReq_proto_rawDesc +) + +func file_WeaponAwakenReq_proto_rawDescGZIP() []byte { + file_WeaponAwakenReq_proto_rawDescOnce.Do(func() { + file_WeaponAwakenReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponAwakenReq_proto_rawDescData) + }) + return file_WeaponAwakenReq_proto_rawDescData +} + +var file_WeaponAwakenReq_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_WeaponAwakenReq_proto_goTypes = []interface{}{ + (*WeaponAwakenReq)(nil), // 0: WeaponAwakenReq + nil, // 1: WeaponAwakenReq.AffixLevelMapEntry +} +var file_WeaponAwakenReq_proto_depIdxs = []int32{ + 1, // 0: WeaponAwakenReq.affix_level_map:type_name -> WeaponAwakenReq.AffixLevelMapEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WeaponAwakenReq_proto_init() } +func file_WeaponAwakenReq_proto_init() { + if File_WeaponAwakenReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeaponAwakenReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponAwakenReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponAwakenReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponAwakenReq_proto_goTypes, + DependencyIndexes: file_WeaponAwakenReq_proto_depIdxs, + MessageInfos: file_WeaponAwakenReq_proto_msgTypes, + }.Build() + File_WeaponAwakenReq_proto = out.File + file_WeaponAwakenReq_proto_rawDesc = nil + file_WeaponAwakenReq_proto_goTypes = nil + file_WeaponAwakenReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponAwakenReq.proto b/gate-hk4e-api/proto/WeaponAwakenReq.proto new file mode 100644 index 00000000..b83f0b77 --- /dev/null +++ b/gate-hk4e-api/proto/WeaponAwakenReq.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 695 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WeaponAwakenReq { + uint64 item_guid = 10; + map affix_level_map = 7; + uint64 target_weapon_guid = 9; +} diff --git a/gate-hk4e-api/proto/WeaponAwakenRsp.pb.go b/gate-hk4e-api/proto/WeaponAwakenRsp.pb.go new file mode 100644 index 00000000..bd85174b --- /dev/null +++ b/gate-hk4e-api/proto/WeaponAwakenRsp.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponAwakenRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 606 +// EnetChannelId: 0 +// EnetIsReliable: true +type WeaponAwakenRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,9,opt,name=retcode,proto3" json:"retcode,omitempty"` + AvatarGuid uint64 `protobuf:"varint,10,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` + OldAffixLevelMap map[uint32]uint32 `protobuf:"bytes,4,rep,name=old_affix_level_map,json=oldAffixLevelMap,proto3" json:"old_affix_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TargetWeaponAwakenLevel uint32 `protobuf:"varint,2,opt,name=target_weapon_awaken_level,json=targetWeaponAwakenLevel,proto3" json:"target_weapon_awaken_level,omitempty"` + TargetWeaponGuid uint64 `protobuf:"varint,15,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` + CurAffixLevelMap map[uint32]uint32 `protobuf:"bytes,11,rep,name=cur_affix_level_map,json=curAffixLevelMap,proto3" json:"cur_affix_level_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *WeaponAwakenRsp) Reset() { + *x = WeaponAwakenRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponAwakenRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponAwakenRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponAwakenRsp) ProtoMessage() {} + +func (x *WeaponAwakenRsp) ProtoReflect() protoreflect.Message { + mi := &file_WeaponAwakenRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponAwakenRsp.ProtoReflect.Descriptor instead. +func (*WeaponAwakenRsp) Descriptor() ([]byte, []int) { + return file_WeaponAwakenRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponAwakenRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *WeaponAwakenRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +func (x *WeaponAwakenRsp) GetOldAffixLevelMap() map[uint32]uint32 { + if x != nil { + return x.OldAffixLevelMap + } + return nil +} + +func (x *WeaponAwakenRsp) GetTargetWeaponAwakenLevel() uint32 { + if x != nil { + return x.TargetWeaponAwakenLevel + } + return 0 +} + +func (x *WeaponAwakenRsp) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +func (x *WeaponAwakenRsp) GetCurAffixLevelMap() map[uint32]uint32 { + if x != nil { + return x.CurAffixLevelMap + } + return nil +} + +var File_WeaponAwakenRsp_proto protoreflect.FileDescriptor + +var file_WeaponAwakenRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x03, 0x0a, 0x0f, 0x57, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, + 0x67, 0x75, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x12, 0x55, 0x0a, 0x13, 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x66, + 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x77, 0x61, 0x6b, + 0x65, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x4f, 0x6c, 0x64, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x6f, 0x6c, 0x64, + 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x3b, 0x0a, + 0x1a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x61, + 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, + 0x77, 0x61, 0x6b, 0x65, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x12, 0x55, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x5f, + 0x61, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x41, 0x77, + 0x61, 0x6b, 0x65, 0x6e, 0x52, 0x73, 0x70, 0x2e, 0x43, 0x75, 0x72, 0x41, 0x66, 0x66, 0x69, 0x78, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, + 0x75, 0x72, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x1a, + 0x43, 0x0a, 0x15, 0x4f, 0x6c, 0x64, 0x41, 0x66, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x76, 0x65, 0x6c, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x75, 0x72, 0x41, 0x66, 0x66, 0x69, 0x78, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeaponAwakenRsp_proto_rawDescOnce sync.Once + file_WeaponAwakenRsp_proto_rawDescData = file_WeaponAwakenRsp_proto_rawDesc +) + +func file_WeaponAwakenRsp_proto_rawDescGZIP() []byte { + file_WeaponAwakenRsp_proto_rawDescOnce.Do(func() { + file_WeaponAwakenRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponAwakenRsp_proto_rawDescData) + }) + return file_WeaponAwakenRsp_proto_rawDescData +} + +var file_WeaponAwakenRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_WeaponAwakenRsp_proto_goTypes = []interface{}{ + (*WeaponAwakenRsp)(nil), // 0: WeaponAwakenRsp + nil, // 1: WeaponAwakenRsp.OldAffixLevelMapEntry + nil, // 2: WeaponAwakenRsp.CurAffixLevelMapEntry +} +var file_WeaponAwakenRsp_proto_depIdxs = []int32{ + 1, // 0: WeaponAwakenRsp.old_affix_level_map:type_name -> WeaponAwakenRsp.OldAffixLevelMapEntry + 2, // 1: WeaponAwakenRsp.cur_affix_level_map:type_name -> WeaponAwakenRsp.CurAffixLevelMapEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WeaponAwakenRsp_proto_init() } +func file_WeaponAwakenRsp_proto_init() { + if File_WeaponAwakenRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeaponAwakenRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponAwakenRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponAwakenRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponAwakenRsp_proto_goTypes, + DependencyIndexes: file_WeaponAwakenRsp_proto_depIdxs, + MessageInfos: file_WeaponAwakenRsp_proto_msgTypes, + }.Build() + File_WeaponAwakenRsp_proto = out.File + file_WeaponAwakenRsp_proto_rawDesc = nil + file_WeaponAwakenRsp_proto_goTypes = nil + file_WeaponAwakenRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponAwakenRsp.proto b/gate-hk4e-api/proto/WeaponAwakenRsp.proto new file mode 100644 index 00000000..454cfceb --- /dev/null +++ b/gate-hk4e-api/proto/WeaponAwakenRsp.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 606 +// EnetChannelId: 0 +// EnetIsReliable: true +message WeaponAwakenRsp { + int32 retcode = 9; + uint64 avatar_guid = 10; + map old_affix_level_map = 4; + uint32 target_weapon_awaken_level = 2; + uint64 target_weapon_guid = 15; + map cur_affix_level_map = 11; +} diff --git a/gate-hk4e-api/proto/WeaponPromoteReq.pb.go b/gate-hk4e-api/proto/WeaponPromoteReq.pb.go new file mode 100644 index 00000000..cc02f04f --- /dev/null +++ b/gate-hk4e-api/proto/WeaponPromoteReq.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponPromoteReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 622 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WeaponPromoteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetWeaponGuid uint64 `protobuf:"varint,5,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` +} + +func (x *WeaponPromoteReq) Reset() { + *x = WeaponPromoteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponPromoteReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponPromoteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponPromoteReq) ProtoMessage() {} + +func (x *WeaponPromoteReq) ProtoReflect() protoreflect.Message { + mi := &file_WeaponPromoteReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponPromoteReq.ProtoReflect.Descriptor instead. +func (*WeaponPromoteReq) Descriptor() ([]byte, []int) { + return file_WeaponPromoteReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponPromoteReq) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +var File_WeaponPromoteReq_proto protoreflect.FileDescriptor + +var file_WeaponPromoteReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x10, 0x57, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x2c, 0x0a, 0x12, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeaponPromoteReq_proto_rawDescOnce sync.Once + file_WeaponPromoteReq_proto_rawDescData = file_WeaponPromoteReq_proto_rawDesc +) + +func file_WeaponPromoteReq_proto_rawDescGZIP() []byte { + file_WeaponPromoteReq_proto_rawDescOnce.Do(func() { + file_WeaponPromoteReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponPromoteReq_proto_rawDescData) + }) + return file_WeaponPromoteReq_proto_rawDescData +} + +var file_WeaponPromoteReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeaponPromoteReq_proto_goTypes = []interface{}{ + (*WeaponPromoteReq)(nil), // 0: WeaponPromoteReq +} +var file_WeaponPromoteReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WeaponPromoteReq_proto_init() } +func file_WeaponPromoteReq_proto_init() { + if File_WeaponPromoteReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeaponPromoteReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponPromoteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponPromoteReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponPromoteReq_proto_goTypes, + DependencyIndexes: file_WeaponPromoteReq_proto_depIdxs, + MessageInfos: file_WeaponPromoteReq_proto_msgTypes, + }.Build() + File_WeaponPromoteReq_proto = out.File + file_WeaponPromoteReq_proto_rawDesc = nil + file_WeaponPromoteReq_proto_goTypes = nil + file_WeaponPromoteReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponPromoteReq.proto b/gate-hk4e-api/proto/WeaponPromoteReq.proto new file mode 100644 index 00000000..3911c79b --- /dev/null +++ b/gate-hk4e-api/proto/WeaponPromoteReq.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 622 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WeaponPromoteReq { + uint64 target_weapon_guid = 5; +} diff --git a/gate-hk4e-api/proto/WeaponPromoteRsp.pb.go b/gate-hk4e-api/proto/WeaponPromoteRsp.pb.go new file mode 100644 index 00000000..c817b243 --- /dev/null +++ b/gate-hk4e-api/proto/WeaponPromoteRsp.pb.go @@ -0,0 +1,194 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponPromoteRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 665 +// EnetChannelId: 0 +// EnetIsReliable: true +type WeaponPromoteRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetWeaponGuid uint64 `protobuf:"varint,3,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` + OldPromoteLevel uint32 `protobuf:"varint,7,opt,name=old_promote_level,json=oldPromoteLevel,proto3" json:"old_promote_level,omitempty"` + CurPromoteLevel uint32 `protobuf:"varint,12,opt,name=cur_promote_level,json=curPromoteLevel,proto3" json:"cur_promote_level,omitempty"` + Retcode int32 `protobuf:"varint,4,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *WeaponPromoteRsp) Reset() { + *x = WeaponPromoteRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponPromoteRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponPromoteRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponPromoteRsp) ProtoMessage() {} + +func (x *WeaponPromoteRsp) ProtoReflect() protoreflect.Message { + mi := &file_WeaponPromoteRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponPromoteRsp.ProtoReflect.Descriptor instead. +func (*WeaponPromoteRsp) Descriptor() ([]byte, []int) { + return file_WeaponPromoteRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponPromoteRsp) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +func (x *WeaponPromoteRsp) GetOldPromoteLevel() uint32 { + if x != nil { + return x.OldPromoteLevel + } + return 0 +} + +func (x *WeaponPromoteRsp) GetCurPromoteLevel() uint32 { + if x != nil { + return x.CurPromoteLevel + } + return 0 +} + +func (x *WeaponPromoteRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_WeaponPromoteRsp_proto protoreflect.FileDescriptor + +var file_WeaponPromoteRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x57, 0x65, 0x61, + 0x70, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x73, 0x70, 0x12, 0x2c, 0x0a, + 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, + 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6f, + 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x5f, 0x70, + 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WeaponPromoteRsp_proto_rawDescOnce sync.Once + file_WeaponPromoteRsp_proto_rawDescData = file_WeaponPromoteRsp_proto_rawDesc +) + +func file_WeaponPromoteRsp_proto_rawDescGZIP() []byte { + file_WeaponPromoteRsp_proto_rawDescOnce.Do(func() { + file_WeaponPromoteRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponPromoteRsp_proto_rawDescData) + }) + return file_WeaponPromoteRsp_proto_rawDescData +} + +var file_WeaponPromoteRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeaponPromoteRsp_proto_goTypes = []interface{}{ + (*WeaponPromoteRsp)(nil), // 0: WeaponPromoteRsp +} +var file_WeaponPromoteRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WeaponPromoteRsp_proto_init() } +func file_WeaponPromoteRsp_proto_init() { + if File_WeaponPromoteRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeaponPromoteRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponPromoteRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponPromoteRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponPromoteRsp_proto_goTypes, + DependencyIndexes: file_WeaponPromoteRsp_proto_depIdxs, + MessageInfos: file_WeaponPromoteRsp_proto_msgTypes, + }.Build() + File_WeaponPromoteRsp_proto = out.File + file_WeaponPromoteRsp_proto_rawDesc = nil + file_WeaponPromoteRsp_proto_goTypes = nil + file_WeaponPromoteRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponPromoteRsp.proto b/gate-hk4e-api/proto/WeaponPromoteRsp.proto new file mode 100644 index 00000000..0576038d --- /dev/null +++ b/gate-hk4e-api/proto/WeaponPromoteRsp.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 665 +// EnetChannelId: 0 +// EnetIsReliable: true +message WeaponPromoteRsp { + uint64 target_weapon_guid = 3; + uint32 old_promote_level = 7; + uint32 cur_promote_level = 12; + int32 retcode = 4; +} diff --git a/gate-hk4e-api/proto/WeaponUpgradeReq.pb.go b/gate-hk4e-api/proto/WeaponUpgradeReq.pb.go new file mode 100644 index 00000000..ee50839a --- /dev/null +++ b/gate-hk4e-api/proto/WeaponUpgradeReq.pb.go @@ -0,0 +1,190 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponUpgradeReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 639 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WeaponUpgradeReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FoodWeaponGuidList []uint64 `protobuf:"varint,1,rep,packed,name=food_weapon_guid_list,json=foodWeaponGuidList,proto3" json:"food_weapon_guid_list,omitempty"` + ItemParamList []*ItemParam `protobuf:"bytes,15,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + TargetWeaponGuid uint64 `protobuf:"varint,4,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` +} + +func (x *WeaponUpgradeReq) Reset() { + *x = WeaponUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponUpgradeReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponUpgradeReq) ProtoMessage() {} + +func (x *WeaponUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_WeaponUpgradeReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponUpgradeReq.ProtoReflect.Descriptor instead. +func (*WeaponUpgradeReq) Descriptor() ([]byte, []int) { + return file_WeaponUpgradeReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponUpgradeReq) GetFoodWeaponGuidList() []uint64 { + if x != nil { + return x.FoodWeaponGuidList + } + return nil +} + +func (x *WeaponUpgradeReq) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *WeaponUpgradeReq) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +var File_WeaponUpgradeReq_proto protoreflect.FileDescriptor + +var file_WeaponUpgradeReq_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x31, + 0x0a, 0x15, 0x66, 0x6f, 0x6f, 0x64, 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x12, 0x66, + 0x6f, 0x6f, 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x32, 0x0a, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, 0x65, + 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x47, + 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeaponUpgradeReq_proto_rawDescOnce sync.Once + file_WeaponUpgradeReq_proto_rawDescData = file_WeaponUpgradeReq_proto_rawDesc +) + +func file_WeaponUpgradeReq_proto_rawDescGZIP() []byte { + file_WeaponUpgradeReq_proto_rawDescOnce.Do(func() { + file_WeaponUpgradeReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponUpgradeReq_proto_rawDescData) + }) + return file_WeaponUpgradeReq_proto_rawDescData +} + +var file_WeaponUpgradeReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeaponUpgradeReq_proto_goTypes = []interface{}{ + (*WeaponUpgradeReq)(nil), // 0: WeaponUpgradeReq + (*ItemParam)(nil), // 1: ItemParam +} +var file_WeaponUpgradeReq_proto_depIdxs = []int32{ + 1, // 0: WeaponUpgradeReq.item_param_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WeaponUpgradeReq_proto_init() } +func file_WeaponUpgradeReq_proto_init() { + if File_WeaponUpgradeReq_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_WeaponUpgradeReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponUpgradeReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponUpgradeReq_proto_goTypes, + DependencyIndexes: file_WeaponUpgradeReq_proto_depIdxs, + MessageInfos: file_WeaponUpgradeReq_proto_msgTypes, + }.Build() + File_WeaponUpgradeReq_proto = out.File + file_WeaponUpgradeReq_proto_rawDesc = nil + file_WeaponUpgradeReq_proto_goTypes = nil + file_WeaponUpgradeReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponUpgradeReq.proto b/gate-hk4e-api/proto/WeaponUpgradeReq.proto new file mode 100644 index 00000000..51da3a48 --- /dev/null +++ b/gate-hk4e-api/proto/WeaponUpgradeReq.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 639 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WeaponUpgradeReq { + repeated uint64 food_weapon_guid_list = 1; + repeated ItemParam item_param_list = 15; + uint64 target_weapon_guid = 4; +} diff --git a/gate-hk4e-api/proto/WeaponUpgradeRsp.pb.go b/gate-hk4e-api/proto/WeaponUpgradeRsp.pb.go new file mode 100644 index 00000000..2c98eb64 --- /dev/null +++ b/gate-hk4e-api/proto/WeaponUpgradeRsp.pb.go @@ -0,0 +1,207 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeaponUpgradeRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 653 +// EnetChannelId: 0 +// EnetIsReliable: true +type WeaponUpgradeRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurLevel uint32 `protobuf:"varint,7,opt,name=cur_level,json=curLevel,proto3" json:"cur_level,omitempty"` + Retcode int32 `protobuf:"varint,11,opt,name=retcode,proto3" json:"retcode,omitempty"` + OldLevel uint32 `protobuf:"varint,8,opt,name=old_level,json=oldLevel,proto3" json:"old_level,omitempty"` + ItemParamList []*ItemParam `protobuf:"bytes,2,rep,name=item_param_list,json=itemParamList,proto3" json:"item_param_list,omitempty"` + TargetWeaponGuid uint64 `protobuf:"varint,6,opt,name=target_weapon_guid,json=targetWeaponGuid,proto3" json:"target_weapon_guid,omitempty"` +} + +func (x *WeaponUpgradeRsp) Reset() { + *x = WeaponUpgradeRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WeaponUpgradeRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeaponUpgradeRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeaponUpgradeRsp) ProtoMessage() {} + +func (x *WeaponUpgradeRsp) ProtoReflect() protoreflect.Message { + mi := &file_WeaponUpgradeRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeaponUpgradeRsp.ProtoReflect.Descriptor instead. +func (*WeaponUpgradeRsp) Descriptor() ([]byte, []int) { + return file_WeaponUpgradeRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WeaponUpgradeRsp) GetCurLevel() uint32 { + if x != nil { + return x.CurLevel + } + return 0 +} + +func (x *WeaponUpgradeRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *WeaponUpgradeRsp) GetOldLevel() uint32 { + if x != nil { + return x.OldLevel + } + return 0 +} + +func (x *WeaponUpgradeRsp) GetItemParamList() []*ItemParam { + if x != nil { + return x.ItemParamList + } + return nil +} + +func (x *WeaponUpgradeRsp) GetTargetWeaponGuid() uint64 { + if x != nil { + return x.TargetWeaponGuid + } + return 0 +} + +var File_WeaponUpgradeRsp_proto protoreflect.FileDescriptor + +var file_WeaponUpgradeRsp_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x01, 0x0a, 0x10, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x75, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, + 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x0f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x49, 0x74, + 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x0d, 0x69, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeaponUpgradeRsp_proto_rawDescOnce sync.Once + file_WeaponUpgradeRsp_proto_rawDescData = file_WeaponUpgradeRsp_proto_rawDesc +) + +func file_WeaponUpgradeRsp_proto_rawDescGZIP() []byte { + file_WeaponUpgradeRsp_proto_rawDescOnce.Do(func() { + file_WeaponUpgradeRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeaponUpgradeRsp_proto_rawDescData) + }) + return file_WeaponUpgradeRsp_proto_rawDescData +} + +var file_WeaponUpgradeRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeaponUpgradeRsp_proto_goTypes = []interface{}{ + (*WeaponUpgradeRsp)(nil), // 0: WeaponUpgradeRsp + (*ItemParam)(nil), // 1: ItemParam +} +var file_WeaponUpgradeRsp_proto_depIdxs = []int32{ + 1, // 0: WeaponUpgradeRsp.item_param_list:type_name -> ItemParam + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WeaponUpgradeRsp_proto_init() } +func file_WeaponUpgradeRsp_proto_init() { + if File_WeaponUpgradeRsp_proto != nil { + return + } + file_ItemParam_proto_init() + if !protoimpl.UnsafeEnabled { + file_WeaponUpgradeRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeaponUpgradeRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeaponUpgradeRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeaponUpgradeRsp_proto_goTypes, + DependencyIndexes: file_WeaponUpgradeRsp_proto_depIdxs, + MessageInfos: file_WeaponUpgradeRsp_proto_msgTypes, + }.Build() + File_WeaponUpgradeRsp_proto = out.File + file_WeaponUpgradeRsp_proto_rawDesc = nil + file_WeaponUpgradeRsp_proto_goTypes = nil + file_WeaponUpgradeRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeaponUpgradeRsp.proto b/gate-hk4e-api/proto/WeaponUpgradeRsp.proto new file mode 100644 index 00000000..9120177c --- /dev/null +++ b/gate-hk4e-api/proto/WeaponUpgradeRsp.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; + +option go_package = "./;proto"; + +// CmdId: 653 +// EnetChannelId: 0 +// EnetIsReliable: true +message WeaponUpgradeRsp { + uint32 cur_level = 7; + int32 retcode = 11; + uint32 old_level = 8; + repeated ItemParam item_param_list = 2; + uint64 target_weapon_guid = 6; +} diff --git a/gate-hk4e-api/proto/WearEquipReq.pb.go b/gate-hk4e-api/proto/WearEquipReq.pb.go new file mode 100644 index 00000000..86c22d89 --- /dev/null +++ b/gate-hk4e-api/proto/WearEquipReq.pb.go @@ -0,0 +1,172 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WearEquipReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 697 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WearEquipReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EquipGuid uint64 `protobuf:"varint,7,opt,name=equip_guid,json=equipGuid,proto3" json:"equip_guid,omitempty"` + AvatarGuid uint64 `protobuf:"varint,5,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *WearEquipReq) Reset() { + *x = WearEquipReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WearEquipReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WearEquipReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WearEquipReq) ProtoMessage() {} + +func (x *WearEquipReq) ProtoReflect() protoreflect.Message { + mi := &file_WearEquipReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WearEquipReq.ProtoReflect.Descriptor instead. +func (*WearEquipReq) Descriptor() ([]byte, []int) { + return file_WearEquipReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WearEquipReq) GetEquipGuid() uint64 { + if x != nil { + return x.EquipGuid + } + return 0 +} + +func (x *WearEquipReq) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_WearEquipReq_proto protoreflect.FileDescriptor + +var file_WearEquipReq_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x57, 0x65, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0c, 0x57, 0x65, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, + 0x70, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x47, + 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WearEquipReq_proto_rawDescOnce sync.Once + file_WearEquipReq_proto_rawDescData = file_WearEquipReq_proto_rawDesc +) + +func file_WearEquipReq_proto_rawDescGZIP() []byte { + file_WearEquipReq_proto_rawDescOnce.Do(func() { + file_WearEquipReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WearEquipReq_proto_rawDescData) + }) + return file_WearEquipReq_proto_rawDescData +} + +var file_WearEquipReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WearEquipReq_proto_goTypes = []interface{}{ + (*WearEquipReq)(nil), // 0: WearEquipReq +} +var file_WearEquipReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WearEquipReq_proto_init() } +func file_WearEquipReq_proto_init() { + if File_WearEquipReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WearEquipReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WearEquipReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WearEquipReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WearEquipReq_proto_goTypes, + DependencyIndexes: file_WearEquipReq_proto_depIdxs, + MessageInfos: file_WearEquipReq_proto_msgTypes, + }.Build() + File_WearEquipReq_proto = out.File + file_WearEquipReq_proto_rawDesc = nil + file_WearEquipReq_proto_goTypes = nil + file_WearEquipReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WearEquipReq.proto b/gate-hk4e-api/proto/WearEquipReq.proto new file mode 100644 index 00000000..6c05b36b --- /dev/null +++ b/gate-hk4e-api/proto/WearEquipReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 697 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WearEquipReq { + uint64 equip_guid = 7; + uint64 avatar_guid = 5; +} diff --git a/gate-hk4e-api/proto/WearEquipRsp.pb.go b/gate-hk4e-api/proto/WearEquipRsp.pb.go new file mode 100644 index 00000000..ce4c1bda --- /dev/null +++ b/gate-hk4e-api/proto/WearEquipRsp.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WearEquipRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 681 +// EnetChannelId: 0 +// EnetIsReliable: true +type WearEquipRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,5,opt,name=retcode,proto3" json:"retcode,omitempty"` + EquipGuid uint64 `protobuf:"varint,1,opt,name=equip_guid,json=equipGuid,proto3" json:"equip_guid,omitempty"` + AvatarGuid uint64 `protobuf:"varint,7,opt,name=avatar_guid,json=avatarGuid,proto3" json:"avatar_guid,omitempty"` +} + +func (x *WearEquipRsp) Reset() { + *x = WearEquipRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WearEquipRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WearEquipRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WearEquipRsp) ProtoMessage() {} + +func (x *WearEquipRsp) ProtoReflect() protoreflect.Message { + mi := &file_WearEquipRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WearEquipRsp.ProtoReflect.Descriptor instead. +func (*WearEquipRsp) Descriptor() ([]byte, []int) { + return file_WearEquipRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WearEquipRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *WearEquipRsp) GetEquipGuid() uint64 { + if x != nil { + return x.EquipGuid + } + return 0 +} + +func (x *WearEquipRsp) GetAvatarGuid() uint64 { + if x != nil { + return x.AvatarGuid + } + return 0 +} + +var File_WearEquipRsp_proto protoreflect.FileDescriptor + +var file_WearEquipRsp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x57, 0x65, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x73, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0c, 0x57, 0x65, 0x61, 0x72, 0x45, 0x71, 0x75, 0x69, + 0x70, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x47, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x47, 0x75, 0x69, 0x64, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_WearEquipRsp_proto_rawDescOnce sync.Once + file_WearEquipRsp_proto_rawDescData = file_WearEquipRsp_proto_rawDesc +) + +func file_WearEquipRsp_proto_rawDescGZIP() []byte { + file_WearEquipRsp_proto_rawDescOnce.Do(func() { + file_WearEquipRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WearEquipRsp_proto_rawDescData) + }) + return file_WearEquipRsp_proto_rawDescData +} + +var file_WearEquipRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WearEquipRsp_proto_goTypes = []interface{}{ + (*WearEquipRsp)(nil), // 0: WearEquipRsp +} +var file_WearEquipRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WearEquipRsp_proto_init() } +func file_WearEquipRsp_proto_init() { + if File_WearEquipRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WearEquipRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WearEquipRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WearEquipRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WearEquipRsp_proto_goTypes, + DependencyIndexes: file_WearEquipRsp_proto_depIdxs, + MessageInfos: file_WearEquipRsp_proto_msgTypes, + }.Build() + File_WearEquipRsp_proto = out.File + file_WearEquipRsp_proto_rawDesc = nil + file_WearEquipRsp_proto_goTypes = nil + file_WearEquipRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WearEquipRsp.proto b/gate-hk4e-api/proto/WearEquipRsp.proto new file mode 100644 index 00000000..b7640357 --- /dev/null +++ b/gate-hk4e-api/proto/WearEquipRsp.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 681 +// EnetChannelId: 0 +// EnetIsReliable: true +message WearEquipRsp { + int32 retcode = 5; + uint64 equip_guid = 1; + uint64 avatar_guid = 7; +} diff --git a/gate-hk4e-api/proto/WeatherInfo.pb.go b/gate-hk4e-api/proto/WeatherInfo.pb.go new file mode 100644 index 00000000..74d0eebf --- /dev/null +++ b/gate-hk4e-api/proto/WeatherInfo.pb.go @@ -0,0 +1,158 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeatherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WeatherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WeatherAreaId uint32 `protobuf:"varint,1,opt,name=weather_area_id,json=weatherAreaId,proto3" json:"weather_area_id,omitempty"` +} + +func (x *WeatherInfo) Reset() { + *x = WeatherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WeatherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeatherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeatherInfo) ProtoMessage() {} + +func (x *WeatherInfo) ProtoReflect() protoreflect.Message { + mi := &file_WeatherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeatherInfo.ProtoReflect.Descriptor instead. +func (*WeatherInfo) Descriptor() ([]byte, []int) { + return file_WeatherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WeatherInfo) GetWeatherAreaId() uint32 { + if x != nil { + return x.WeatherAreaId + } + return 0 +} + +var File_WeatherInfo_proto protoreflect.FileDescriptor + +var file_WeatherInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x0b, 0x57, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x72, + 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x77, 0x65, 0x61, + 0x74, 0x68, 0x65, 0x72, 0x41, 0x72, 0x65, 0x61, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeatherInfo_proto_rawDescOnce sync.Once + file_WeatherInfo_proto_rawDescData = file_WeatherInfo_proto_rawDesc +) + +func file_WeatherInfo_proto_rawDescGZIP() []byte { + file_WeatherInfo_proto_rawDescOnce.Do(func() { + file_WeatherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeatherInfo_proto_rawDescData) + }) + return file_WeatherInfo_proto_rawDescData +} + +var file_WeatherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeatherInfo_proto_goTypes = []interface{}{ + (*WeatherInfo)(nil), // 0: WeatherInfo +} +var file_WeatherInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WeatherInfo_proto_init() } +func file_WeatherInfo_proto_init() { + if File_WeatherInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeatherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeatherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeatherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeatherInfo_proto_goTypes, + DependencyIndexes: file_WeatherInfo_proto_depIdxs, + MessageInfos: file_WeatherInfo_proto_msgTypes, + }.Build() + File_WeatherInfo_proto = out.File + file_WeatherInfo_proto_rawDesc = nil + file_WeatherInfo_proto_goTypes = nil + file_WeatherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeatherInfo.proto b/gate-hk4e-api/proto/WeatherInfo.proto new file mode 100644 index 00000000..eb17e847 --- /dev/null +++ b/gate-hk4e-api/proto/WeatherInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WeatherInfo { + uint32 weather_area_id = 1; +} diff --git a/gate-hk4e-api/proto/WeekendDjinnInfo.pb.go b/gate-hk4e-api/proto/WeekendDjinnInfo.pb.go new file mode 100644 index 00000000..1664b85c --- /dev/null +++ b/gate-hk4e-api/proto/WeekendDjinnInfo.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeekendDjinnInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WeekendDjinnInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,14,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *WeekendDjinnInfo) Reset() { + *x = WeekendDjinnInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WeekendDjinnInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeekendDjinnInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeekendDjinnInfo) ProtoMessage() {} + +func (x *WeekendDjinnInfo) ProtoReflect() protoreflect.Message { + mi := &file_WeekendDjinnInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeekendDjinnInfo.ProtoReflect.Descriptor instead. +func (*WeekendDjinnInfo) Descriptor() ([]byte, []int) { + return file_WeekendDjinnInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WeekendDjinnInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *WeekendDjinnInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_WeekendDjinnInfo_proto protoreflect.FileDescriptor + +var file_WeekendDjinnInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x65, 0x65, 0x6b, 0x65, 0x6e, 0x64, 0x44, 0x6a, 0x69, 0x6e, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x10, 0x57, 0x65, 0x65, 0x6b, 0x65, 0x6e, + 0x64, 0x44, 0x6a, 0x69, 0x6e, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeekendDjinnInfo_proto_rawDescOnce sync.Once + file_WeekendDjinnInfo_proto_rawDescData = file_WeekendDjinnInfo_proto_rawDesc +) + +func file_WeekendDjinnInfo_proto_rawDescGZIP() []byte { + file_WeekendDjinnInfo_proto_rawDescOnce.Do(func() { + file_WeekendDjinnInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeekendDjinnInfo_proto_rawDescData) + }) + return file_WeekendDjinnInfo_proto_rawDescData +} + +var file_WeekendDjinnInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeekendDjinnInfo_proto_goTypes = []interface{}{ + (*WeekendDjinnInfo)(nil), // 0: WeekendDjinnInfo + (*Vector)(nil), // 1: Vector +} +var file_WeekendDjinnInfo_proto_depIdxs = []int32{ + 1, // 0: WeekendDjinnInfo.rot:type_name -> Vector + 1, // 1: WeekendDjinnInfo.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WeekendDjinnInfo_proto_init() } +func file_WeekendDjinnInfo_proto_init() { + if File_WeekendDjinnInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_WeekendDjinnInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeekendDjinnInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeekendDjinnInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeekendDjinnInfo_proto_goTypes, + DependencyIndexes: file_WeekendDjinnInfo_proto_depIdxs, + MessageInfos: file_WeekendDjinnInfo_proto_msgTypes, + }.Build() + File_WeekendDjinnInfo_proto = out.File + file_WeekendDjinnInfo_proto_rawDesc = nil + file_WeekendDjinnInfo_proto_goTypes = nil + file_WeekendDjinnInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeekendDjinnInfo.proto b/gate-hk4e-api/proto/WeekendDjinnInfo.proto new file mode 100644 index 00000000..34a1561b --- /dev/null +++ b/gate-hk4e-api/proto/WeekendDjinnInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message WeekendDjinnInfo { + Vector rot = 14; + Vector pos = 10; +} diff --git a/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.pb.go b/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.pb.go new file mode 100644 index 00000000..b68bc6d1 --- /dev/null +++ b/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.pb.go @@ -0,0 +1,192 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WeeklyBossResinDiscountInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WeeklyBossResinDiscountInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DiscountNum uint32 `protobuf:"varint,1,opt,name=discount_num,json=discountNum,proto3" json:"discount_num,omitempty"` + DiscountNumLimit uint32 `protobuf:"varint,2,opt,name=discount_num_limit,json=discountNumLimit,proto3" json:"discount_num_limit,omitempty"` + ResinCost uint32 `protobuf:"varint,3,opt,name=resin_cost,json=resinCost,proto3" json:"resin_cost,omitempty"` + OriginalResinCost uint32 `protobuf:"varint,4,opt,name=original_resin_cost,json=originalResinCost,proto3" json:"original_resin_cost,omitempty"` +} + +func (x *WeeklyBossResinDiscountInfo) Reset() { + *x = WeeklyBossResinDiscountInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WeeklyBossResinDiscountInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeeklyBossResinDiscountInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeeklyBossResinDiscountInfo) ProtoMessage() {} + +func (x *WeeklyBossResinDiscountInfo) ProtoReflect() protoreflect.Message { + mi := &file_WeeklyBossResinDiscountInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WeeklyBossResinDiscountInfo.ProtoReflect.Descriptor instead. +func (*WeeklyBossResinDiscountInfo) Descriptor() ([]byte, []int) { + return file_WeeklyBossResinDiscountInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WeeklyBossResinDiscountInfo) GetDiscountNum() uint32 { + if x != nil { + return x.DiscountNum + } + return 0 +} + +func (x *WeeklyBossResinDiscountInfo) GetDiscountNumLimit() uint32 { + if x != nil { + return x.DiscountNumLimit + } + return 0 +} + +func (x *WeeklyBossResinDiscountInfo) GetResinCost() uint32 { + if x != nil { + return x.ResinCost + } + return 0 +} + +func (x *WeeklyBossResinDiscountInfo) GetOriginalResinCost() uint32 { + if x != nil { + return x.OriginalResinCost + } + return 0 +} + +var File_WeeklyBossResinDiscountInfo_proto protoreflect.FileDescriptor + +var file_WeeklyBossResinDiscountInfo_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, + 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x1b, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x6f, + 0x73, 0x73, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x10, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x75, 0x6d, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x63, 0x6f, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x6f, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, + 0x72, 0x65, 0x73, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x69, 0x6e, 0x43, + 0x6f, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WeeklyBossResinDiscountInfo_proto_rawDescOnce sync.Once + file_WeeklyBossResinDiscountInfo_proto_rawDescData = file_WeeklyBossResinDiscountInfo_proto_rawDesc +) + +func file_WeeklyBossResinDiscountInfo_proto_rawDescGZIP() []byte { + file_WeeklyBossResinDiscountInfo_proto_rawDescOnce.Do(func() { + file_WeeklyBossResinDiscountInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WeeklyBossResinDiscountInfo_proto_rawDescData) + }) + return file_WeeklyBossResinDiscountInfo_proto_rawDescData +} + +var file_WeeklyBossResinDiscountInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WeeklyBossResinDiscountInfo_proto_goTypes = []interface{}{ + (*WeeklyBossResinDiscountInfo)(nil), // 0: WeeklyBossResinDiscountInfo +} +var file_WeeklyBossResinDiscountInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WeeklyBossResinDiscountInfo_proto_init() } +func file_WeeklyBossResinDiscountInfo_proto_init() { + if File_WeeklyBossResinDiscountInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WeeklyBossResinDiscountInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeeklyBossResinDiscountInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WeeklyBossResinDiscountInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WeeklyBossResinDiscountInfo_proto_goTypes, + DependencyIndexes: file_WeeklyBossResinDiscountInfo_proto_depIdxs, + MessageInfos: file_WeeklyBossResinDiscountInfo_proto_msgTypes, + }.Build() + File_WeeklyBossResinDiscountInfo_proto = out.File + file_WeeklyBossResinDiscountInfo_proto_rawDesc = nil + file_WeeklyBossResinDiscountInfo_proto_goTypes = nil + file_WeeklyBossResinDiscountInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.proto b/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.proto new file mode 100644 index 00000000..b4ebce17 --- /dev/null +++ b/gate-hk4e-api/proto/WeeklyBossResinDiscountInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WeeklyBossResinDiscountInfo { + uint32 discount_num = 1; + uint32 discount_num_limit = 2; + uint32 resin_cost = 3; + uint32 original_resin_cost = 4; +} diff --git a/gate-hk4e-api/proto/WidgetActiveChangeNotify.pb.go b/gate-hk4e-api/proto/WidgetActiveChangeNotify.pb.go new file mode 100644 index 00000000..31ce4585 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetActiveChangeNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetActiveChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4280 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetActiveChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetDataList []*WidgetSlotData `protobuf:"bytes,5,rep,name=widget_data_list,json=widgetDataList,proto3" json:"widget_data_list,omitempty"` +} + +func (x *WidgetActiveChangeNotify) Reset() { + *x = WidgetActiveChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetActiveChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetActiveChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetActiveChangeNotify) ProtoMessage() {} + +func (x *WidgetActiveChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetActiveChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetActiveChangeNotify.ProtoReflect.Descriptor instead. +func (*WidgetActiveChangeNotify) Descriptor() ([]byte, []int) { + return file_WidgetActiveChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetActiveChangeNotify) GetWidgetDataList() []*WidgetSlotData { + if x != nil { + return x.WidgetDataList + } + return nil +} + +var File_WidgetActiveChangeNotify_proto protoreflect.FileDescriptor + +var file_WidgetActiveChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x18, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x39, 0x0a, 0x10, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x77, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WidgetActiveChangeNotify_proto_rawDescOnce sync.Once + file_WidgetActiveChangeNotify_proto_rawDescData = file_WidgetActiveChangeNotify_proto_rawDesc +) + +func file_WidgetActiveChangeNotify_proto_rawDescGZIP() []byte { + file_WidgetActiveChangeNotify_proto_rawDescOnce.Do(func() { + file_WidgetActiveChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetActiveChangeNotify_proto_rawDescData) + }) + return file_WidgetActiveChangeNotify_proto_rawDescData +} + +var file_WidgetActiveChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetActiveChangeNotify_proto_goTypes = []interface{}{ + (*WidgetActiveChangeNotify)(nil), // 0: WidgetActiveChangeNotify + (*WidgetSlotData)(nil), // 1: WidgetSlotData +} +var file_WidgetActiveChangeNotify_proto_depIdxs = []int32{ + 1, // 0: WidgetActiveChangeNotify.widget_data_list:type_name -> WidgetSlotData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WidgetActiveChangeNotify_proto_init() } +func file_WidgetActiveChangeNotify_proto_init() { + if File_WidgetActiveChangeNotify_proto != nil { + return + } + file_WidgetSlotData_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetActiveChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetActiveChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetActiveChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetActiveChangeNotify_proto_goTypes, + DependencyIndexes: file_WidgetActiveChangeNotify_proto_depIdxs, + MessageInfos: file_WidgetActiveChangeNotify_proto_msgTypes, + }.Build() + File_WidgetActiveChangeNotify_proto = out.File + file_WidgetActiveChangeNotify_proto_rawDesc = nil + file_WidgetActiveChangeNotify_proto_goTypes = nil + file_WidgetActiveChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetActiveChangeNotify.proto b/gate-hk4e-api/proto/WidgetActiveChangeNotify.proto new file mode 100644 index 00000000..ddd08e26 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetActiveChangeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4280 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetActiveChangeNotify { + repeated WidgetSlotData widget_data_list = 5; +} diff --git a/gate-hk4e-api/proto/WidgetCameraInfo.pb.go b/gate-hk4e-api/proto/WidgetCameraInfo.pb.go new file mode 100644 index 00000000..fce27487 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCameraInfo.pb.go @@ -0,0 +1,159 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCameraInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetCameraInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetEntityId uint32 `protobuf:"varint,4,opt,name=target_entity_id,json=targetEntityId,proto3" json:"target_entity_id,omitempty"` +} + +func (x *WidgetCameraInfo) Reset() { + *x = WidgetCameraInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetCameraInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetCameraInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetCameraInfo) ProtoMessage() {} + +func (x *WidgetCameraInfo) ProtoReflect() protoreflect.Message { + mi := &file_WidgetCameraInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetCameraInfo.ProtoReflect.Descriptor instead. +func (*WidgetCameraInfo) Descriptor() ([]byte, []int) { + return file_WidgetCameraInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetCameraInfo) GetTargetEntityId() uint32 { + if x != nil { + return x.TargetEntityId + } + return 0 +} + +var File_WidgetCameraInfo_proto protoreflect.FileDescriptor + +var file_WidgetCameraInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x10, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCameraInfo_proto_rawDescOnce sync.Once + file_WidgetCameraInfo_proto_rawDescData = file_WidgetCameraInfo_proto_rawDesc +) + +func file_WidgetCameraInfo_proto_rawDescGZIP() []byte { + file_WidgetCameraInfo_proto_rawDescOnce.Do(func() { + file_WidgetCameraInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCameraInfo_proto_rawDescData) + }) + return file_WidgetCameraInfo_proto_rawDescData +} + +var file_WidgetCameraInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetCameraInfo_proto_goTypes = []interface{}{ + (*WidgetCameraInfo)(nil), // 0: WidgetCameraInfo +} +var file_WidgetCameraInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetCameraInfo_proto_init() } +func file_WidgetCameraInfo_proto_init() { + if File_WidgetCameraInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetCameraInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetCameraInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCameraInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCameraInfo_proto_goTypes, + DependencyIndexes: file_WidgetCameraInfo_proto_depIdxs, + MessageInfos: file_WidgetCameraInfo_proto_msgTypes, + }.Build() + File_WidgetCameraInfo_proto = out.File + file_WidgetCameraInfo_proto_rawDesc = nil + file_WidgetCameraInfo_proto_goTypes = nil + file_WidgetCameraInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCameraInfo.proto b/gate-hk4e-api/proto/WidgetCameraInfo.proto new file mode 100644 index 00000000..ff4d93bb --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCameraInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WidgetCameraInfo { + uint32 target_entity_id = 4; +} diff --git a/gate-hk4e-api/proto/WidgetCoolDownData.pb.go b/gate-hk4e-api/proto/WidgetCoolDownData.pb.go new file mode 100644 index 00000000..06f4d146 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCoolDownData.pb.go @@ -0,0 +1,178 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCoolDownData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetCoolDownData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSuccess bool `protobuf:"varint,5,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` + CoolDownTime uint64 `protobuf:"varint,4,opt,name=cool_down_time,json=coolDownTime,proto3" json:"cool_down_time,omitempty"` + Id uint32 `protobuf:"varint,15,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *WidgetCoolDownData) Reset() { + *x = WidgetCoolDownData{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetCoolDownData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetCoolDownData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetCoolDownData) ProtoMessage() {} + +func (x *WidgetCoolDownData) ProtoReflect() protoreflect.Message { + mi := &file_WidgetCoolDownData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetCoolDownData.ProtoReflect.Descriptor instead. +func (*WidgetCoolDownData) Descriptor() ([]byte, []int) { + return file_WidgetCoolDownData_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetCoolDownData) GetIsSuccess() bool { + if x != nil { + return x.IsSuccess + } + return false +} + +func (x *WidgetCoolDownData) GetCoolDownTime() uint64 { + if x != nil { + return x.CoolDownTime + } + return 0 +} + +func (x *WidgetCoolDownData) GetId() uint32 { + if x != nil { + return x.Id + } + return 0 +} + +var File_WidgetCoolDownData_proto protoreflect.FileDescriptor + +var file_WidgetCoolDownData_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x12, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x24, 0x0a, 0x0e, 0x63, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x63, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCoolDownData_proto_rawDescOnce sync.Once + file_WidgetCoolDownData_proto_rawDescData = file_WidgetCoolDownData_proto_rawDesc +) + +func file_WidgetCoolDownData_proto_rawDescGZIP() []byte { + file_WidgetCoolDownData_proto_rawDescOnce.Do(func() { + file_WidgetCoolDownData_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCoolDownData_proto_rawDescData) + }) + return file_WidgetCoolDownData_proto_rawDescData +} + +var file_WidgetCoolDownData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetCoolDownData_proto_goTypes = []interface{}{ + (*WidgetCoolDownData)(nil), // 0: WidgetCoolDownData +} +var file_WidgetCoolDownData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetCoolDownData_proto_init() } +func file_WidgetCoolDownData_proto_init() { + if File_WidgetCoolDownData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetCoolDownData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetCoolDownData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCoolDownData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCoolDownData_proto_goTypes, + DependencyIndexes: file_WidgetCoolDownData_proto_depIdxs, + MessageInfos: file_WidgetCoolDownData_proto_msgTypes, + }.Build() + File_WidgetCoolDownData_proto = out.File + file_WidgetCoolDownData_proto_rawDesc = nil + file_WidgetCoolDownData_proto_goTypes = nil + file_WidgetCoolDownData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCoolDownData.proto b/gate-hk4e-api/proto/WidgetCoolDownData.proto new file mode 100644 index 00000000..82fcdd13 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCoolDownData.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WidgetCoolDownData { + bool is_success = 5; + uint64 cool_down_time = 4; + uint32 id = 15; +} diff --git a/gate-hk4e-api/proto/WidgetCoolDownNotify.pb.go b/gate-hk4e-api/proto/WidgetCoolDownNotify.pb.go new file mode 100644 index 00000000..e6a1a848 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCoolDownNotify.pb.go @@ -0,0 +1,184 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCoolDownNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4295 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetCoolDownNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NormalCoolDownDataList []*WidgetCoolDownData `protobuf:"bytes,1,rep,name=normal_cool_down_data_list,json=normalCoolDownDataList,proto3" json:"normal_cool_down_data_list,omitempty"` + GroupCoolDownDataList []*WidgetCoolDownData `protobuf:"bytes,12,rep,name=group_cool_down_data_list,json=groupCoolDownDataList,proto3" json:"group_cool_down_data_list,omitempty"` +} + +func (x *WidgetCoolDownNotify) Reset() { + *x = WidgetCoolDownNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetCoolDownNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetCoolDownNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetCoolDownNotify) ProtoMessage() {} + +func (x *WidgetCoolDownNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetCoolDownNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetCoolDownNotify.ProtoReflect.Descriptor instead. +func (*WidgetCoolDownNotify) Descriptor() ([]byte, []int) { + return file_WidgetCoolDownNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetCoolDownNotify) GetNormalCoolDownDataList() []*WidgetCoolDownData { + if x != nil { + return x.NormalCoolDownDataList + } + return nil +} + +func (x *WidgetCoolDownNotify) GetGroupCoolDownDataList() []*WidgetCoolDownData { + if x != nil { + return x.GroupCoolDownDataList + } + return nil +} + +var File_WidgetCoolDownNotify_proto protoreflect.FileDescriptor + +var file_WidgetCoolDownNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x4f, 0x0a, 0x1a, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, + 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x16, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, + 0x43, 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x4d, 0x0a, 0x19, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6f, 0x6c, + 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x15, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, + 0x6f, 0x6f, 0x6c, 0x44, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCoolDownNotify_proto_rawDescOnce sync.Once + file_WidgetCoolDownNotify_proto_rawDescData = file_WidgetCoolDownNotify_proto_rawDesc +) + +func file_WidgetCoolDownNotify_proto_rawDescGZIP() []byte { + file_WidgetCoolDownNotify_proto_rawDescOnce.Do(func() { + file_WidgetCoolDownNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCoolDownNotify_proto_rawDescData) + }) + return file_WidgetCoolDownNotify_proto_rawDescData +} + +var file_WidgetCoolDownNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetCoolDownNotify_proto_goTypes = []interface{}{ + (*WidgetCoolDownNotify)(nil), // 0: WidgetCoolDownNotify + (*WidgetCoolDownData)(nil), // 1: WidgetCoolDownData +} +var file_WidgetCoolDownNotify_proto_depIdxs = []int32{ + 1, // 0: WidgetCoolDownNotify.normal_cool_down_data_list:type_name -> WidgetCoolDownData + 1, // 1: WidgetCoolDownNotify.group_cool_down_data_list:type_name -> WidgetCoolDownData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WidgetCoolDownNotify_proto_init() } +func file_WidgetCoolDownNotify_proto_init() { + if File_WidgetCoolDownNotify_proto != nil { + return + } + file_WidgetCoolDownData_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetCoolDownNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetCoolDownNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCoolDownNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCoolDownNotify_proto_goTypes, + DependencyIndexes: file_WidgetCoolDownNotify_proto_depIdxs, + MessageInfos: file_WidgetCoolDownNotify_proto_msgTypes, + }.Build() + File_WidgetCoolDownNotify_proto = out.File + file_WidgetCoolDownNotify_proto_rawDesc = nil + file_WidgetCoolDownNotify_proto_goTypes = nil + file_WidgetCoolDownNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCoolDownNotify.proto b/gate-hk4e-api/proto/WidgetCoolDownNotify.proto new file mode 100644 index 00000000..a5f8b470 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCoolDownNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetCoolDownData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4295 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetCoolDownNotify { + repeated WidgetCoolDownData normal_cool_down_data_list = 1; + repeated WidgetCoolDownData group_cool_down_data_list = 12; +} diff --git a/gate-hk4e-api/proto/WidgetCreateLocationInfo.pb.go b/gate-hk4e-api/proto/WidgetCreateLocationInfo.pb.go new file mode 100644 index 00000000..7a189a89 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreateLocationInfo.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCreateLocationInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetCreateLocationInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rot *Vector `protobuf:"bytes,3,opt,name=rot,proto3" json:"rot,omitempty"` + Pos *Vector `protobuf:"bytes,10,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *WidgetCreateLocationInfo) Reset() { + *x = WidgetCreateLocationInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetCreateLocationInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetCreateLocationInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetCreateLocationInfo) ProtoMessage() {} + +func (x *WidgetCreateLocationInfo) ProtoReflect() protoreflect.Message { + mi := &file_WidgetCreateLocationInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetCreateLocationInfo.ProtoReflect.Descriptor instead. +func (*WidgetCreateLocationInfo) Descriptor() ([]byte, []int) { + return file_WidgetCreateLocationInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetCreateLocationInfo) GetRot() *Vector { + if x != nil { + return x.Rot + } + return nil +} + +func (x *WidgetCreateLocationInfo) GetPos() *Vector { + if x != nil { + return x.Pos + } + return nil +} + +var File_WidgetCreateLocationInfo_proto protoreflect.FileDescriptor + +var file_WidgetCreateLocationInfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, + 0x0a, 0x18, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x03, 0x72, 0x6f, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x03, 0x72, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x70, 0x6f, 0x73, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCreateLocationInfo_proto_rawDescOnce sync.Once + file_WidgetCreateLocationInfo_proto_rawDescData = file_WidgetCreateLocationInfo_proto_rawDesc +) + +func file_WidgetCreateLocationInfo_proto_rawDescGZIP() []byte { + file_WidgetCreateLocationInfo_proto_rawDescOnce.Do(func() { + file_WidgetCreateLocationInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCreateLocationInfo_proto_rawDescData) + }) + return file_WidgetCreateLocationInfo_proto_rawDescData +} + +var file_WidgetCreateLocationInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetCreateLocationInfo_proto_goTypes = []interface{}{ + (*WidgetCreateLocationInfo)(nil), // 0: WidgetCreateLocationInfo + (*Vector)(nil), // 1: Vector +} +var file_WidgetCreateLocationInfo_proto_depIdxs = []int32{ + 1, // 0: WidgetCreateLocationInfo.rot:type_name -> Vector + 1, // 1: WidgetCreateLocationInfo.pos:type_name -> Vector + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WidgetCreateLocationInfo_proto_init() } +func file_WidgetCreateLocationInfo_proto_init() { + if File_WidgetCreateLocationInfo_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetCreateLocationInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetCreateLocationInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCreateLocationInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCreateLocationInfo_proto_goTypes, + DependencyIndexes: file_WidgetCreateLocationInfo_proto_depIdxs, + MessageInfos: file_WidgetCreateLocationInfo_proto_msgTypes, + }.Build() + File_WidgetCreateLocationInfo_proto = out.File + file_WidgetCreateLocationInfo_proto_rawDesc = nil + file_WidgetCreateLocationInfo_proto_goTypes = nil + file_WidgetCreateLocationInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCreateLocationInfo.proto b/gate-hk4e-api/proto/WidgetCreateLocationInfo.proto new file mode 100644 index 00000000..d1e5cb27 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreateLocationInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +message WidgetCreateLocationInfo { + Vector rot = 3; + Vector pos = 10; +} diff --git a/gate-hk4e-api/proto/WidgetCreatorInfo.pb.go b/gate-hk4e-api/proto/WidgetCreatorInfo.pb.go new file mode 100644 index 00000000..75503847 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreatorInfo.pb.go @@ -0,0 +1,191 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCreatorInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetCreatorInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OpType WidgetCreatorOpType `protobuf:"varint,10,opt,name=op_type,json=opType,proto3,enum=WidgetCreatorOpType" json:"op_type,omitempty"` + EntityId uint32 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + LocationInfo *WidgetCreateLocationInfo `protobuf:"bytes,12,opt,name=location_info,json=locationInfo,proto3" json:"location_info,omitempty"` +} + +func (x *WidgetCreatorInfo) Reset() { + *x = WidgetCreatorInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetCreatorInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetCreatorInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetCreatorInfo) ProtoMessage() {} + +func (x *WidgetCreatorInfo) ProtoReflect() protoreflect.Message { + mi := &file_WidgetCreatorInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetCreatorInfo.ProtoReflect.Descriptor instead. +func (*WidgetCreatorInfo) Descriptor() ([]byte, []int) { + return file_WidgetCreatorInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetCreatorInfo) GetOpType() WidgetCreatorOpType { + if x != nil { + return x.OpType + } + return WidgetCreatorOpType_WIDGET_CREATOR_OP_TYPE_NONE +} + +func (x *WidgetCreatorInfo) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +func (x *WidgetCreatorInfo) GetLocationInfo() *WidgetCreateLocationInfo { + if x != nil { + return x.LocationInfo + } + return nil +} + +var File_WidgetCreatorInfo_proto protoreflect.FileDescriptor + +var file_WidgetCreatorInfo_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x01, 0x0a, 0x11, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x06, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCreatorInfo_proto_rawDescOnce sync.Once + file_WidgetCreatorInfo_proto_rawDescData = file_WidgetCreatorInfo_proto_rawDesc +) + +func file_WidgetCreatorInfo_proto_rawDescGZIP() []byte { + file_WidgetCreatorInfo_proto_rawDescOnce.Do(func() { + file_WidgetCreatorInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCreatorInfo_proto_rawDescData) + }) + return file_WidgetCreatorInfo_proto_rawDescData +} + +var file_WidgetCreatorInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetCreatorInfo_proto_goTypes = []interface{}{ + (*WidgetCreatorInfo)(nil), // 0: WidgetCreatorInfo + (WidgetCreatorOpType)(0), // 1: WidgetCreatorOpType + (*WidgetCreateLocationInfo)(nil), // 2: WidgetCreateLocationInfo +} +var file_WidgetCreatorInfo_proto_depIdxs = []int32{ + 1, // 0: WidgetCreatorInfo.op_type:type_name -> WidgetCreatorOpType + 2, // 1: WidgetCreatorInfo.location_info:type_name -> WidgetCreateLocationInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WidgetCreatorInfo_proto_init() } +func file_WidgetCreatorInfo_proto_init() { + if File_WidgetCreatorInfo_proto != nil { + return + } + file_WidgetCreateLocationInfo_proto_init() + file_WidgetCreatorOpType_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetCreatorInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetCreatorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCreatorInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCreatorInfo_proto_goTypes, + DependencyIndexes: file_WidgetCreatorInfo_proto_depIdxs, + MessageInfos: file_WidgetCreatorInfo_proto_msgTypes, + }.Build() + File_WidgetCreatorInfo_proto = out.File + file_WidgetCreatorInfo_proto_rawDesc = nil + file_WidgetCreatorInfo_proto_goTypes = nil + file_WidgetCreatorInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCreatorInfo.proto b/gate-hk4e-api/proto/WidgetCreatorInfo.proto new file mode 100644 index 00000000..536009fc --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreatorInfo.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetCreateLocationInfo.proto"; +import "WidgetCreatorOpType.proto"; + +option go_package = "./;proto"; + +message WidgetCreatorInfo { + WidgetCreatorOpType op_type = 10; + uint32 entity_id = 1; + WidgetCreateLocationInfo location_info = 12; +} diff --git a/gate-hk4e-api/proto/WidgetCreatorOpType.pb.go b/gate-hk4e-api/proto/WidgetCreatorOpType.pb.go new file mode 100644 index 00000000..02632c5d --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreatorOpType.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetCreatorOpType.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetCreatorOpType int32 + +const ( + WidgetCreatorOpType_WIDGET_CREATOR_OP_TYPE_NONE WidgetCreatorOpType = 0 + WidgetCreatorOpType_WIDGET_CREATOR_OP_TYPE_RETRACT WidgetCreatorOpType = 1 + WidgetCreatorOpType_WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE WidgetCreatorOpType = 2 +) + +// Enum value maps for WidgetCreatorOpType. +var ( + WidgetCreatorOpType_name = map[int32]string{ + 0: "WIDGET_CREATOR_OP_TYPE_NONE", + 1: "WIDGET_CREATOR_OP_TYPE_RETRACT", + 2: "WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE", + } + WidgetCreatorOpType_value = map[string]int32{ + "WIDGET_CREATOR_OP_TYPE_NONE": 0, + "WIDGET_CREATOR_OP_TYPE_RETRACT": 1, + "WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE": 2, + } +) + +func (x WidgetCreatorOpType) Enum() *WidgetCreatorOpType { + p := new(WidgetCreatorOpType) + *p = x + return p +} + +func (x WidgetCreatorOpType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WidgetCreatorOpType) Descriptor() protoreflect.EnumDescriptor { + return file_WidgetCreatorOpType_proto_enumTypes[0].Descriptor() +} + +func (WidgetCreatorOpType) Type() protoreflect.EnumType { + return &file_WidgetCreatorOpType_proto_enumTypes[0] +} + +func (x WidgetCreatorOpType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WidgetCreatorOpType.Descriptor instead. +func (WidgetCreatorOpType) EnumDescriptor() ([]byte, []int) { + return file_WidgetCreatorOpType_proto_rawDescGZIP(), []int{0} +} + +var File_WidgetCreatorOpType_proto protoreflect.FileDescriptor + +var file_WidgetCreatorOpType_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x4f, + 0x70, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x89, 0x01, 0x0a, 0x13, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x52, + 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, + 0x45, 0x54, 0x52, 0x41, 0x43, 0x54, 0x10, 0x01, 0x12, 0x2d, 0x0a, 0x29, 0x57, 0x49, 0x44, 0x47, + 0x45, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4f, 0x50, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetCreatorOpType_proto_rawDescOnce sync.Once + file_WidgetCreatorOpType_proto_rawDescData = file_WidgetCreatorOpType_proto_rawDesc +) + +func file_WidgetCreatorOpType_proto_rawDescGZIP() []byte { + file_WidgetCreatorOpType_proto_rawDescOnce.Do(func() { + file_WidgetCreatorOpType_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetCreatorOpType_proto_rawDescData) + }) + return file_WidgetCreatorOpType_proto_rawDescData +} + +var file_WidgetCreatorOpType_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_WidgetCreatorOpType_proto_goTypes = []interface{}{ + (WidgetCreatorOpType)(0), // 0: WidgetCreatorOpType +} +var file_WidgetCreatorOpType_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetCreatorOpType_proto_init() } +func file_WidgetCreatorOpType_proto_init() { + if File_WidgetCreatorOpType_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetCreatorOpType_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetCreatorOpType_proto_goTypes, + DependencyIndexes: file_WidgetCreatorOpType_proto_depIdxs, + EnumInfos: file_WidgetCreatorOpType_proto_enumTypes, + }.Build() + File_WidgetCreatorOpType_proto = out.File + file_WidgetCreatorOpType_proto_rawDesc = nil + file_WidgetCreatorOpType_proto_goTypes = nil + file_WidgetCreatorOpType_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetCreatorOpType.proto b/gate-hk4e-api/proto/WidgetCreatorOpType.proto new file mode 100644 index 00000000..ea362373 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetCreatorOpType.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum WidgetCreatorOpType { + WIDGET_CREATOR_OP_TYPE_NONE = 0; + WIDGET_CREATOR_OP_TYPE_RETRACT = 1; + WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE = 2; +} diff --git a/gate-hk4e-api/proto/WidgetDoBagReq.pb.go b/gate-hk4e-api/proto/WidgetDoBagReq.pb.go new file mode 100644 index 00000000..2bc428b8 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetDoBagReq.pb.go @@ -0,0 +1,226 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetDoBagReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4255 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WidgetDoBagReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaterialId uint32 `protobuf:"varint,9,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + // Types that are assignable to OpInfo: + // *WidgetDoBagReq_LocationInfo + // *WidgetDoBagReq_WidgetCreatorInfo + OpInfo isWidgetDoBagReq_OpInfo `protobuf_oneof:"op_info"` +} + +func (x *WidgetDoBagReq) Reset() { + *x = WidgetDoBagReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetDoBagReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetDoBagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetDoBagReq) ProtoMessage() {} + +func (x *WidgetDoBagReq) ProtoReflect() protoreflect.Message { + mi := &file_WidgetDoBagReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetDoBagReq.ProtoReflect.Descriptor instead. +func (*WidgetDoBagReq) Descriptor() ([]byte, []int) { + return file_WidgetDoBagReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetDoBagReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (m *WidgetDoBagReq) GetOpInfo() isWidgetDoBagReq_OpInfo { + if m != nil { + return m.OpInfo + } + return nil +} + +func (x *WidgetDoBagReq) GetLocationInfo() *WidgetCreateLocationInfo { + if x, ok := x.GetOpInfo().(*WidgetDoBagReq_LocationInfo); ok { + return x.LocationInfo + } + return nil +} + +func (x *WidgetDoBagReq) GetWidgetCreatorInfo() *WidgetCreatorInfo { + if x, ok := x.GetOpInfo().(*WidgetDoBagReq_WidgetCreatorInfo); ok { + return x.WidgetCreatorInfo + } + return nil +} + +type isWidgetDoBagReq_OpInfo interface { + isWidgetDoBagReq_OpInfo() +} + +type WidgetDoBagReq_LocationInfo struct { + LocationInfo *WidgetCreateLocationInfo `protobuf:"bytes,832,opt,name=location_info,json=locationInfo,proto3,oneof"` +} + +type WidgetDoBagReq_WidgetCreatorInfo struct { + WidgetCreatorInfo *WidgetCreatorInfo `protobuf:"bytes,1497,opt,name=widget_creator_info,json=widgetCreatorInfo,proto3,oneof"` +} + +func (*WidgetDoBagReq_LocationInfo) isWidgetDoBagReq_OpInfo() {} + +func (*WidgetDoBagReq_WidgetCreatorInfo) isWidgetDoBagReq_OpInfo() {} + +var File_WidgetDoBagReq_proto protoreflect.FileDescriptor + +var file_WidgetDoBagReq_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x42, 0x61, 0x67, 0x52, 0x65, 0x71, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xc6, 0x01, 0x0a, 0x0e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x42, 0x61, 0x67, 0x52, + 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xc0, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x57, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0xd9, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x11, 0x77, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x09, 0x0a, + 0x07, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetDoBagReq_proto_rawDescOnce sync.Once + file_WidgetDoBagReq_proto_rawDescData = file_WidgetDoBagReq_proto_rawDesc +) + +func file_WidgetDoBagReq_proto_rawDescGZIP() []byte { + file_WidgetDoBagReq_proto_rawDescOnce.Do(func() { + file_WidgetDoBagReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetDoBagReq_proto_rawDescData) + }) + return file_WidgetDoBagReq_proto_rawDescData +} + +var file_WidgetDoBagReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetDoBagReq_proto_goTypes = []interface{}{ + (*WidgetDoBagReq)(nil), // 0: WidgetDoBagReq + (*WidgetCreateLocationInfo)(nil), // 1: WidgetCreateLocationInfo + (*WidgetCreatorInfo)(nil), // 2: WidgetCreatorInfo +} +var file_WidgetDoBagReq_proto_depIdxs = []int32{ + 1, // 0: WidgetDoBagReq.location_info:type_name -> WidgetCreateLocationInfo + 2, // 1: WidgetDoBagReq.widget_creator_info:type_name -> WidgetCreatorInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WidgetDoBagReq_proto_init() } +func file_WidgetDoBagReq_proto_init() { + if File_WidgetDoBagReq_proto != nil { + return + } + file_WidgetCreateLocationInfo_proto_init() + file_WidgetCreatorInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetDoBagReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetDoBagReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_WidgetDoBagReq_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*WidgetDoBagReq_LocationInfo)(nil), + (*WidgetDoBagReq_WidgetCreatorInfo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetDoBagReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetDoBagReq_proto_goTypes, + DependencyIndexes: file_WidgetDoBagReq_proto_depIdxs, + MessageInfos: file_WidgetDoBagReq_proto_msgTypes, + }.Build() + File_WidgetDoBagReq_proto = out.File + file_WidgetDoBagReq_proto_rawDesc = nil + file_WidgetDoBagReq_proto_goTypes = nil + file_WidgetDoBagReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetDoBagReq.proto b/gate-hk4e-api/proto/WidgetDoBagReq.proto new file mode 100644 index 00000000..466e4531 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetDoBagReq.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetCreateLocationInfo.proto"; +import "WidgetCreatorInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 4255 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WidgetDoBagReq { + uint32 material_id = 9; + oneof op_info { + WidgetCreateLocationInfo location_info = 832; + WidgetCreatorInfo widget_creator_info = 1497; + } +} diff --git a/gate-hk4e-api/proto/WidgetDoBagRsp.pb.go b/gate-hk4e-api/proto/WidgetDoBagRsp.pb.go new file mode 100644 index 00000000..61bb9978 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetDoBagRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetDoBagRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4296 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetDoBagRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,10,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,3,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *WidgetDoBagRsp) Reset() { + *x = WidgetDoBagRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetDoBagRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetDoBagRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetDoBagRsp) ProtoMessage() {} + +func (x *WidgetDoBagRsp) ProtoReflect() protoreflect.Message { + mi := &file_WidgetDoBagRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetDoBagRsp.ProtoReflect.Descriptor instead. +func (*WidgetDoBagRsp) Descriptor() ([]byte, []int) { + return file_WidgetDoBagRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetDoBagRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *WidgetDoBagRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_WidgetDoBagRsp_proto protoreflect.FileDescriptor + +var file_WidgetDoBagRsp_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x42, 0x61, 0x67, 0x52, 0x73, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x44, 0x6f, 0x42, 0x61, 0x67, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetDoBagRsp_proto_rawDescOnce sync.Once + file_WidgetDoBagRsp_proto_rawDescData = file_WidgetDoBagRsp_proto_rawDesc +) + +func file_WidgetDoBagRsp_proto_rawDescGZIP() []byte { + file_WidgetDoBagRsp_proto_rawDescOnce.Do(func() { + file_WidgetDoBagRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetDoBagRsp_proto_rawDescData) + }) + return file_WidgetDoBagRsp_proto_rawDescData +} + +var file_WidgetDoBagRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetDoBagRsp_proto_goTypes = []interface{}{ + (*WidgetDoBagRsp)(nil), // 0: WidgetDoBagRsp +} +var file_WidgetDoBagRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetDoBagRsp_proto_init() } +func file_WidgetDoBagRsp_proto_init() { + if File_WidgetDoBagRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetDoBagRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetDoBagRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetDoBagRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetDoBagRsp_proto_goTypes, + DependencyIndexes: file_WidgetDoBagRsp_proto_depIdxs, + MessageInfos: file_WidgetDoBagRsp_proto_msgTypes, + }.Build() + File_WidgetDoBagRsp_proto = out.File + file_WidgetDoBagRsp_proto_rawDesc = nil + file_WidgetDoBagRsp_proto_goTypes = nil + file_WidgetDoBagRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetDoBagRsp.proto b/gate-hk4e-api/proto/WidgetDoBagRsp.proto new file mode 100644 index 00000000..44b76217 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetDoBagRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4296 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetDoBagRsp { + int32 retcode = 10; + uint32 material_id = 3; +} diff --git a/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.pb.go b/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.pb.go new file mode 100644 index 00000000..1eea5355 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetGadgetAllDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4284 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetGadgetAllDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetGadgetData []*WidgetGadgetData `protobuf:"bytes,13,rep,name=widget_gadget_data,json=widgetGadgetData,proto3" json:"widget_gadget_data,omitempty"` +} + +func (x *WidgetGadgetAllDataNotify) Reset() { + *x = WidgetGadgetAllDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetGadgetAllDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetGadgetAllDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetGadgetAllDataNotify) ProtoMessage() {} + +func (x *WidgetGadgetAllDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetGadgetAllDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetGadgetAllDataNotify.ProtoReflect.Descriptor instead. +func (*WidgetGadgetAllDataNotify) Descriptor() ([]byte, []int) { + return file_WidgetGadgetAllDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetGadgetAllDataNotify) GetWidgetGadgetData() []*WidgetGadgetData { + if x != nil { + return x.WidgetGadgetData + } + return nil +} + +var File_WidgetGadgetAllDataNotify_proto protoreflect.FileDescriptor + +var file_WidgetGadgetAllDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x41, 0x6c, + 0x6c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x16, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x19, 0x57, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x3f, 0x0a, 0x12, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetGadgetAllDataNotify_proto_rawDescOnce sync.Once + file_WidgetGadgetAllDataNotify_proto_rawDescData = file_WidgetGadgetAllDataNotify_proto_rawDesc +) + +func file_WidgetGadgetAllDataNotify_proto_rawDescGZIP() []byte { + file_WidgetGadgetAllDataNotify_proto_rawDescOnce.Do(func() { + file_WidgetGadgetAllDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetGadgetAllDataNotify_proto_rawDescData) + }) + return file_WidgetGadgetAllDataNotify_proto_rawDescData +} + +var file_WidgetGadgetAllDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetGadgetAllDataNotify_proto_goTypes = []interface{}{ + (*WidgetGadgetAllDataNotify)(nil), // 0: WidgetGadgetAllDataNotify + (*WidgetGadgetData)(nil), // 1: WidgetGadgetData +} +var file_WidgetGadgetAllDataNotify_proto_depIdxs = []int32{ + 1, // 0: WidgetGadgetAllDataNotify.widget_gadget_data:type_name -> WidgetGadgetData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WidgetGadgetAllDataNotify_proto_init() } +func file_WidgetGadgetAllDataNotify_proto_init() { + if File_WidgetGadgetAllDataNotify_proto != nil { + return + } + file_WidgetGadgetData_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetGadgetAllDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetGadgetAllDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetGadgetAllDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetGadgetAllDataNotify_proto_goTypes, + DependencyIndexes: file_WidgetGadgetAllDataNotify_proto_depIdxs, + MessageInfos: file_WidgetGadgetAllDataNotify_proto_msgTypes, + }.Build() + File_WidgetGadgetAllDataNotify_proto = out.File + file_WidgetGadgetAllDataNotify_proto_rawDesc = nil + file_WidgetGadgetAllDataNotify_proto_goTypes = nil + file_WidgetGadgetAllDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.proto b/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.proto new file mode 100644 index 00000000..072ff863 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetAllDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetGadgetData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4284 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetGadgetAllDataNotify { + repeated WidgetGadgetData widget_gadget_data = 13; +} diff --git a/gate-hk4e-api/proto/WidgetGadgetData.pb.go b/gate-hk4e-api/proto/WidgetGadgetData.pb.go new file mode 100644 index 00000000..57499b66 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetData.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetGadgetData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetGadgetData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityIdList []uint32 `protobuf:"varint,1,rep,packed,name=gadget_entity_id_list,json=gadgetEntityIdList,proto3" json:"gadget_entity_id_list,omitempty"` + GadgetId uint32 `protobuf:"varint,8,opt,name=gadget_id,json=gadgetId,proto3" json:"gadget_id,omitempty"` +} + +func (x *WidgetGadgetData) Reset() { + *x = WidgetGadgetData{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetGadgetData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetGadgetData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetGadgetData) ProtoMessage() {} + +func (x *WidgetGadgetData) ProtoReflect() protoreflect.Message { + mi := &file_WidgetGadgetData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetGadgetData.ProtoReflect.Descriptor instead. +func (*WidgetGadgetData) Descriptor() ([]byte, []int) { + return file_WidgetGadgetData_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetGadgetData) GetGadgetEntityIdList() []uint32 { + if x != nil { + return x.GadgetEntityIdList + } + return nil +} + +func (x *WidgetGadgetData) GetGadgetId() uint32 { + if x != nil { + return x.GadgetId + } + return 0 +} + +var File_WidgetGadgetData_proto protoreflect.FileDescriptor + +var file_WidgetGadgetData_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x10, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x15, + 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x67, 0x61, 0x64, + 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, + 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetGadgetData_proto_rawDescOnce sync.Once + file_WidgetGadgetData_proto_rawDescData = file_WidgetGadgetData_proto_rawDesc +) + +func file_WidgetGadgetData_proto_rawDescGZIP() []byte { + file_WidgetGadgetData_proto_rawDescOnce.Do(func() { + file_WidgetGadgetData_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetGadgetData_proto_rawDescData) + }) + return file_WidgetGadgetData_proto_rawDescData +} + +var file_WidgetGadgetData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetGadgetData_proto_goTypes = []interface{}{ + (*WidgetGadgetData)(nil), // 0: WidgetGadgetData +} +var file_WidgetGadgetData_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetGadgetData_proto_init() } +func file_WidgetGadgetData_proto_init() { + if File_WidgetGadgetData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetGadgetData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetGadgetData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetGadgetData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetGadgetData_proto_goTypes, + DependencyIndexes: file_WidgetGadgetData_proto_depIdxs, + MessageInfos: file_WidgetGadgetData_proto_msgTypes, + }.Build() + File_WidgetGadgetData_proto = out.File + file_WidgetGadgetData_proto_rawDesc = nil + file_WidgetGadgetData_proto_goTypes = nil + file_WidgetGadgetData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetGadgetData.proto b/gate-hk4e-api/proto/WidgetGadgetData.proto new file mode 100644 index 00000000..ae6257d0 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetData.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WidgetGadgetData { + repeated uint32 gadget_entity_id_list = 1; + uint32 gadget_id = 8; +} diff --git a/gate-hk4e-api/proto/WidgetGadgetDataNotify.pb.go b/gate-hk4e-api/proto/WidgetGadgetDataNotify.pb.go new file mode 100644 index 00000000..f8cf660d --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetDataNotify.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetGadgetDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4266 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetGadgetDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetGadgetData *WidgetGadgetData `protobuf:"bytes,12,opt,name=widget_gadget_data,json=widgetGadgetData,proto3" json:"widget_gadget_data,omitempty"` +} + +func (x *WidgetGadgetDataNotify) Reset() { + *x = WidgetGadgetDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetGadgetDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetGadgetDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetGadgetDataNotify) ProtoMessage() {} + +func (x *WidgetGadgetDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetGadgetDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetGadgetDataNotify.ProtoReflect.Descriptor instead. +func (*WidgetGadgetDataNotify) Descriptor() ([]byte, []int) { + return file_WidgetGadgetDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetGadgetDataNotify) GetWidgetGadgetData() *WidgetGadgetData { + if x != nil { + return x.WidgetGadgetData + } + return nil +} + +var File_WidgetGadgetDataNotify_proto protoreflect.FileDescriptor + +var file_WidgetGadgetDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x16, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x12, 0x3f, 0x0a, 0x12, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x57, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x10, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetGadgetDataNotify_proto_rawDescOnce sync.Once + file_WidgetGadgetDataNotify_proto_rawDescData = file_WidgetGadgetDataNotify_proto_rawDesc +) + +func file_WidgetGadgetDataNotify_proto_rawDescGZIP() []byte { + file_WidgetGadgetDataNotify_proto_rawDescOnce.Do(func() { + file_WidgetGadgetDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetGadgetDataNotify_proto_rawDescData) + }) + return file_WidgetGadgetDataNotify_proto_rawDescData +} + +var file_WidgetGadgetDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetGadgetDataNotify_proto_goTypes = []interface{}{ + (*WidgetGadgetDataNotify)(nil), // 0: WidgetGadgetDataNotify + (*WidgetGadgetData)(nil), // 1: WidgetGadgetData +} +var file_WidgetGadgetDataNotify_proto_depIdxs = []int32{ + 1, // 0: WidgetGadgetDataNotify.widget_gadget_data:type_name -> WidgetGadgetData + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WidgetGadgetDataNotify_proto_init() } +func file_WidgetGadgetDataNotify_proto_init() { + if File_WidgetGadgetDataNotify_proto != nil { + return + } + file_WidgetGadgetData_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetGadgetDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetGadgetDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetGadgetDataNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetGadgetDataNotify_proto_goTypes, + DependencyIndexes: file_WidgetGadgetDataNotify_proto_depIdxs, + MessageInfos: file_WidgetGadgetDataNotify_proto_msgTypes, + }.Build() + File_WidgetGadgetDataNotify_proto = out.File + file_WidgetGadgetDataNotify_proto_rawDesc = nil + file_WidgetGadgetDataNotify_proto_goTypes = nil + file_WidgetGadgetDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetGadgetDataNotify.proto b/gate-hk4e-api/proto/WidgetGadgetDataNotify.proto new file mode 100644 index 00000000..b174b856 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetDataNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetGadgetData.proto"; + +option go_package = "./;proto"; + +// CmdId: 4266 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetGadgetDataNotify { + WidgetGadgetData widget_gadget_data = 12; +} diff --git a/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.pb.go b/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.pb.go new file mode 100644 index 00000000..7de01ffb --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetGadgetDestroyNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4274 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetGadgetDestroyNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityId uint32 `protobuf:"varint,15,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` +} + +func (x *WidgetGadgetDestroyNotify) Reset() { + *x = WidgetGadgetDestroyNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetGadgetDestroyNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetGadgetDestroyNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetGadgetDestroyNotify) ProtoMessage() {} + +func (x *WidgetGadgetDestroyNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetGadgetDestroyNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetGadgetDestroyNotify.ProtoReflect.Descriptor instead. +func (*WidgetGadgetDestroyNotify) Descriptor() ([]byte, []int) { + return file_WidgetGadgetDestroyNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetGadgetDestroyNotify) GetEntityId() uint32 { + if x != nil { + return x.EntityId + } + return 0 +} + +var File_WidgetGadgetDestroyNotify_proto protoreflect.FileDescriptor + +var file_WidgetGadgetDestroyNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x38, 0x0a, 0x19, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x47, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, + 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetGadgetDestroyNotify_proto_rawDescOnce sync.Once + file_WidgetGadgetDestroyNotify_proto_rawDescData = file_WidgetGadgetDestroyNotify_proto_rawDesc +) + +func file_WidgetGadgetDestroyNotify_proto_rawDescGZIP() []byte { + file_WidgetGadgetDestroyNotify_proto_rawDescOnce.Do(func() { + file_WidgetGadgetDestroyNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetGadgetDestroyNotify_proto_rawDescData) + }) + return file_WidgetGadgetDestroyNotify_proto_rawDescData +} + +var file_WidgetGadgetDestroyNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetGadgetDestroyNotify_proto_goTypes = []interface{}{ + (*WidgetGadgetDestroyNotify)(nil), // 0: WidgetGadgetDestroyNotify +} +var file_WidgetGadgetDestroyNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetGadgetDestroyNotify_proto_init() } +func file_WidgetGadgetDestroyNotify_proto_init() { + if File_WidgetGadgetDestroyNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetGadgetDestroyNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetGadgetDestroyNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetGadgetDestroyNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetGadgetDestroyNotify_proto_goTypes, + DependencyIndexes: file_WidgetGadgetDestroyNotify_proto_depIdxs, + MessageInfos: file_WidgetGadgetDestroyNotify_proto_msgTypes, + }.Build() + File_WidgetGadgetDestroyNotify_proto = out.File + file_WidgetGadgetDestroyNotify_proto_rawDesc = nil + file_WidgetGadgetDestroyNotify_proto_goTypes = nil + file_WidgetGadgetDestroyNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.proto b/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.proto new file mode 100644 index 00000000..40870c90 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetGadgetDestroyNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4274 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetGadgetDestroyNotify { + uint32 entity_id = 15; +} diff --git a/gate-hk4e-api/proto/WidgetReportReq.pb.go b/gate-hk4e-api/proto/WidgetReportReq.pb.go new file mode 100644 index 00000000..130a4ebd --- /dev/null +++ b/gate-hk4e-api/proto/WidgetReportReq.pb.go @@ -0,0 +1,195 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetReportReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4291 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WidgetReportReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_MFEHMLBNNAG bool `protobuf:"varint,5,opt,name=Unk2700_MFEHMLBNNAG,json=Unk2700MFEHMLBNNAG,proto3" json:"Unk2700_MFEHMLBNNAG,omitempty"` + IsClientCollect bool `protobuf:"varint,14,opt,name=is_client_collect,json=isClientCollect,proto3" json:"is_client_collect,omitempty"` + IsClearHint bool `protobuf:"varint,13,opt,name=is_clear_hint,json=isClearHint,proto3" json:"is_clear_hint,omitempty"` + MaterialId uint32 `protobuf:"varint,15,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *WidgetReportReq) Reset() { + *x = WidgetReportReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetReportReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetReportReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetReportReq) ProtoMessage() {} + +func (x *WidgetReportReq) ProtoReflect() protoreflect.Message { + mi := &file_WidgetReportReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetReportReq.ProtoReflect.Descriptor instead. +func (*WidgetReportReq) Descriptor() ([]byte, []int) { + return file_WidgetReportReq_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetReportReq) GetUnk2700_MFEHMLBNNAG() bool { + if x != nil { + return x.Unk2700_MFEHMLBNNAG + } + return false +} + +func (x *WidgetReportReq) GetIsClientCollect() bool { + if x != nil { + return x.IsClientCollect + } + return false +} + +func (x *WidgetReportReq) GetIsClearHint() bool { + if x != nil { + return x.IsClearHint + } + return false +} + +func (x *WidgetReportReq) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_WidgetReportReq_proto protoreflect.FileDescriptor + +var file_WidgetReportReq_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x0f, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x46, 0x45, 0x48, 0x4d, 0x4c, 0x42, 0x4e, 0x4e, + 0x41, 0x47, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x4d, 0x46, 0x45, 0x48, 0x4d, 0x4c, 0x42, 0x4e, 0x4e, 0x41, 0x47, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x73, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, + 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WidgetReportReq_proto_rawDescOnce sync.Once + file_WidgetReportReq_proto_rawDescData = file_WidgetReportReq_proto_rawDesc +) + +func file_WidgetReportReq_proto_rawDescGZIP() []byte { + file_WidgetReportReq_proto_rawDescOnce.Do(func() { + file_WidgetReportReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetReportReq_proto_rawDescData) + }) + return file_WidgetReportReq_proto_rawDescData +} + +var file_WidgetReportReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetReportReq_proto_goTypes = []interface{}{ + (*WidgetReportReq)(nil), // 0: WidgetReportReq +} +var file_WidgetReportReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetReportReq_proto_init() } +func file_WidgetReportReq_proto_init() { + if File_WidgetReportReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetReportReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetReportReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetReportReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetReportReq_proto_goTypes, + DependencyIndexes: file_WidgetReportReq_proto_depIdxs, + MessageInfos: file_WidgetReportReq_proto_msgTypes, + }.Build() + File_WidgetReportReq_proto = out.File + file_WidgetReportReq_proto_rawDesc = nil + file_WidgetReportReq_proto_goTypes = nil + file_WidgetReportReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetReportReq.proto b/gate-hk4e-api/proto/WidgetReportReq.proto new file mode 100644 index 00000000..80b80d03 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetReportReq.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4291 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WidgetReportReq { + bool Unk2700_MFEHMLBNNAG = 5; + bool is_client_collect = 14; + bool is_clear_hint = 13; + uint32 material_id = 15; +} diff --git a/gate-hk4e-api/proto/WidgetReportRsp.pb.go b/gate-hk4e-api/proto/WidgetReportRsp.pb.go new file mode 100644 index 00000000..dd2718a0 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetReportRsp.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetReportRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4292 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetReportRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,14,opt,name=retcode,proto3" json:"retcode,omitempty"` + MaterialId uint32 `protobuf:"varint,4,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *WidgetReportRsp) Reset() { + *x = WidgetReportRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetReportRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetReportRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetReportRsp) ProtoMessage() {} + +func (x *WidgetReportRsp) ProtoReflect() protoreflect.Message { + mi := &file_WidgetReportRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetReportRsp.ProtoReflect.Descriptor instead. +func (*WidgetReportRsp) Descriptor() ([]byte, []int) { + return file_WidgetReportRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetReportRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +func (x *WidgetReportRsp) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_WidgetReportRsp_proto protoreflect.FileDescriptor + +var file_WidgetReportRsp_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x73, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0f, 0x57, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetReportRsp_proto_rawDescOnce sync.Once + file_WidgetReportRsp_proto_rawDescData = file_WidgetReportRsp_proto_rawDesc +) + +func file_WidgetReportRsp_proto_rawDescGZIP() []byte { + file_WidgetReportRsp_proto_rawDescOnce.Do(func() { + file_WidgetReportRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetReportRsp_proto_rawDescData) + }) + return file_WidgetReportRsp_proto_rawDescData +} + +var file_WidgetReportRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetReportRsp_proto_goTypes = []interface{}{ + (*WidgetReportRsp)(nil), // 0: WidgetReportRsp +} +var file_WidgetReportRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetReportRsp_proto_init() } +func file_WidgetReportRsp_proto_init() { + if File_WidgetReportRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetReportRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetReportRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetReportRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetReportRsp_proto_goTypes, + DependencyIndexes: file_WidgetReportRsp_proto_depIdxs, + MessageInfos: file_WidgetReportRsp_proto_msgTypes, + }.Build() + File_WidgetReportRsp_proto = out.File + file_WidgetReportRsp_proto_rawDesc = nil + file_WidgetReportRsp_proto_goTypes = nil + file_WidgetReportRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetReportRsp.proto b/gate-hk4e-api/proto/WidgetReportRsp.proto new file mode 100644 index 00000000..f87c4742 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetReportRsp.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4292 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetReportRsp { + int32 retcode = 14; + uint32 material_id = 4; +} diff --git a/gate-hk4e-api/proto/WidgetSlotChangeNotify.pb.go b/gate-hk4e-api/proto/WidgetSlotChangeNotify.pb.go new file mode 100644 index 00000000..890c910a --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotChangeNotify.pb.go @@ -0,0 +1,181 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetSlotChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4267 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetSlotChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Op WidgetSlotOp `protobuf:"varint,11,opt,name=op,proto3,enum=WidgetSlotOp" json:"op,omitempty"` + Slot *WidgetSlotData `protobuf:"bytes,8,opt,name=slot,proto3" json:"slot,omitempty"` +} + +func (x *WidgetSlotChangeNotify) Reset() { + *x = WidgetSlotChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetSlotChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetSlotChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetSlotChangeNotify) ProtoMessage() {} + +func (x *WidgetSlotChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetSlotChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetSlotChangeNotify.ProtoReflect.Descriptor instead. +func (*WidgetSlotChangeNotify) Descriptor() ([]byte, []int) { + return file_WidgetSlotChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetSlotChangeNotify) GetOp() WidgetSlotOp { + if x != nil { + return x.Op + } + return WidgetSlotOp_WIDGET_SLOT_OP_ATTACH +} + +func (x *WidgetSlotChangeNotify) GetSlot() *WidgetSlotData { + if x != nil { + return x.Slot + } + return nil +} + +var File_WidgetSlotChangeNotify_proto protoreflect.FileDescriptor + +var file_WidgetSlotChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, + 0x4f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x16, 0x57, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, + 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x52, 0x02, 0x6f, + 0x70, 0x12, 0x23, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetSlotChangeNotify_proto_rawDescOnce sync.Once + file_WidgetSlotChangeNotify_proto_rawDescData = file_WidgetSlotChangeNotify_proto_rawDesc +) + +func file_WidgetSlotChangeNotify_proto_rawDescGZIP() []byte { + file_WidgetSlotChangeNotify_proto_rawDescOnce.Do(func() { + file_WidgetSlotChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetSlotChangeNotify_proto_rawDescData) + }) + return file_WidgetSlotChangeNotify_proto_rawDescData +} + +var file_WidgetSlotChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetSlotChangeNotify_proto_goTypes = []interface{}{ + (*WidgetSlotChangeNotify)(nil), // 0: WidgetSlotChangeNotify + (WidgetSlotOp)(0), // 1: WidgetSlotOp + (*WidgetSlotData)(nil), // 2: WidgetSlotData +} +var file_WidgetSlotChangeNotify_proto_depIdxs = []int32{ + 1, // 0: WidgetSlotChangeNotify.op:type_name -> WidgetSlotOp + 2, // 1: WidgetSlotChangeNotify.slot:type_name -> WidgetSlotData + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WidgetSlotChangeNotify_proto_init() } +func file_WidgetSlotChangeNotify_proto_init() { + if File_WidgetSlotChangeNotify_proto != nil { + return + } + file_WidgetSlotData_proto_init() + file_WidgetSlotOp_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetSlotChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetSlotChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetSlotChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetSlotChangeNotify_proto_goTypes, + DependencyIndexes: file_WidgetSlotChangeNotify_proto_depIdxs, + MessageInfos: file_WidgetSlotChangeNotify_proto_msgTypes, + }.Build() + File_WidgetSlotChangeNotify_proto = out.File + file_WidgetSlotChangeNotify_proto_rawDesc = nil + file_WidgetSlotChangeNotify_proto_goTypes = nil + file_WidgetSlotChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetSlotChangeNotify.proto b/gate-hk4e-api/proto/WidgetSlotChangeNotify.proto new file mode 100644 index 00000000..f61d5687 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotChangeNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotData.proto"; +import "WidgetSlotOp.proto"; + +option go_package = "./;proto"; + +// CmdId: 4267 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetSlotChangeNotify { + WidgetSlotOp op = 11; + WidgetSlotData slot = 8; +} diff --git a/gate-hk4e-api/proto/WidgetSlotData.pb.go b/gate-hk4e-api/proto/WidgetSlotData.pb.go new file mode 100644 index 00000000..8e8f638a --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotData.pb.go @@ -0,0 +1,193 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetSlotData.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetSlotData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CdOverTime uint32 `protobuf:"varint,9,opt,name=cd_over_time,json=cdOverTime,proto3" json:"cd_over_time,omitempty"` + Tag WidgetSlotTag `protobuf:"varint,14,opt,name=tag,proto3,enum=WidgetSlotTag" json:"tag,omitempty"` + MaterialId uint32 `protobuf:"varint,11,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` + IsActive bool `protobuf:"varint,12,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` +} + +func (x *WidgetSlotData) Reset() { + *x = WidgetSlotData{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetSlotData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetSlotData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetSlotData) ProtoMessage() {} + +func (x *WidgetSlotData) ProtoReflect() protoreflect.Message { + mi := &file_WidgetSlotData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetSlotData.ProtoReflect.Descriptor instead. +func (*WidgetSlotData) Descriptor() ([]byte, []int) { + return file_WidgetSlotData_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetSlotData) GetCdOverTime() uint32 { + if x != nil { + return x.CdOverTime + } + return 0 +} + +func (x *WidgetSlotData) GetTag() WidgetSlotTag { + if x != nil { + return x.Tag + } + return WidgetSlotTag_WIDGET_SLOT_TAG_QUICK_USE +} + +func (x *WidgetSlotData) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +func (x *WidgetSlotData) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +var File_WidgetSlotData_proto protoreflect.FileDescriptor + +var file_WidgetSlotData_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x0e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, + 0x0a, 0x0c, 0x63, 0x64, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, + 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, + 0x61, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetSlotData_proto_rawDescOnce sync.Once + file_WidgetSlotData_proto_rawDescData = file_WidgetSlotData_proto_rawDesc +) + +func file_WidgetSlotData_proto_rawDescGZIP() []byte { + file_WidgetSlotData_proto_rawDescOnce.Do(func() { + file_WidgetSlotData_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetSlotData_proto_rawDescData) + }) + return file_WidgetSlotData_proto_rawDescData +} + +var file_WidgetSlotData_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetSlotData_proto_goTypes = []interface{}{ + (*WidgetSlotData)(nil), // 0: WidgetSlotData + (WidgetSlotTag)(0), // 1: WidgetSlotTag +} +var file_WidgetSlotData_proto_depIdxs = []int32{ + 1, // 0: WidgetSlotData.tag:type_name -> WidgetSlotTag + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WidgetSlotData_proto_init() } +func file_WidgetSlotData_proto_init() { + if File_WidgetSlotData_proto != nil { + return + } + file_WidgetSlotTag_proto_init() + if !protoimpl.UnsafeEnabled { + file_WidgetSlotData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetSlotData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetSlotData_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetSlotData_proto_goTypes, + DependencyIndexes: file_WidgetSlotData_proto_depIdxs, + MessageInfos: file_WidgetSlotData_proto_msgTypes, + }.Build() + File_WidgetSlotData_proto = out.File + file_WidgetSlotData_proto_rawDesc = nil + file_WidgetSlotData_proto_goTypes = nil + file_WidgetSlotData_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetSlotData.proto b/gate-hk4e-api/proto/WidgetSlotData.proto new file mode 100644 index 00000000..41a13d36 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotData.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WidgetSlotTag.proto"; + +option go_package = "./;proto"; + +message WidgetSlotData { + uint32 cd_over_time = 9; + WidgetSlotTag tag = 14; + uint32 material_id = 11; + bool is_active = 12; +} diff --git a/gate-hk4e-api/proto/WidgetSlotOp.pb.go b/gate-hk4e-api/proto/WidgetSlotOp.pb.go new file mode 100644 index 00000000..f178db00 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotOp.pb.go @@ -0,0 +1,144 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetSlotOp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetSlotOp int32 + +const ( + WidgetSlotOp_WIDGET_SLOT_OP_ATTACH WidgetSlotOp = 0 + WidgetSlotOp_WIDGET_SLOT_OP_DETACH WidgetSlotOp = 1 +) + +// Enum value maps for WidgetSlotOp. +var ( + WidgetSlotOp_name = map[int32]string{ + 0: "WIDGET_SLOT_OP_ATTACH", + 1: "WIDGET_SLOT_OP_DETACH", + } + WidgetSlotOp_value = map[string]int32{ + "WIDGET_SLOT_OP_ATTACH": 0, + "WIDGET_SLOT_OP_DETACH": 1, + } +) + +func (x WidgetSlotOp) Enum() *WidgetSlotOp { + p := new(WidgetSlotOp) + *p = x + return p +} + +func (x WidgetSlotOp) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WidgetSlotOp) Descriptor() protoreflect.EnumDescriptor { + return file_WidgetSlotOp_proto_enumTypes[0].Descriptor() +} + +func (WidgetSlotOp) Type() protoreflect.EnumType { + return &file_WidgetSlotOp_proto_enumTypes[0] +} + +func (x WidgetSlotOp) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WidgetSlotOp.Descriptor instead. +func (WidgetSlotOp) EnumDescriptor() ([]byte, []int) { + return file_WidgetSlotOp_proto_rawDescGZIP(), []int{0} +} + +var File_WidgetSlotOp_proto protoreflect.FileDescriptor + +var file_WidgetSlotOp_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4f, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x44, 0x0a, 0x0c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x4f, 0x70, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, + 0x4c, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x5f, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x10, 0x00, 0x12, + 0x19, 0x0a, 0x15, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x4f, + 0x50, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x43, 0x48, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetSlotOp_proto_rawDescOnce sync.Once + file_WidgetSlotOp_proto_rawDescData = file_WidgetSlotOp_proto_rawDesc +) + +func file_WidgetSlotOp_proto_rawDescGZIP() []byte { + file_WidgetSlotOp_proto_rawDescOnce.Do(func() { + file_WidgetSlotOp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetSlotOp_proto_rawDescData) + }) + return file_WidgetSlotOp_proto_rawDescData +} + +var file_WidgetSlotOp_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_WidgetSlotOp_proto_goTypes = []interface{}{ + (WidgetSlotOp)(0), // 0: WidgetSlotOp +} +var file_WidgetSlotOp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetSlotOp_proto_init() } +func file_WidgetSlotOp_proto_init() { + if File_WidgetSlotOp_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetSlotOp_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetSlotOp_proto_goTypes, + DependencyIndexes: file_WidgetSlotOp_proto_depIdxs, + EnumInfos: file_WidgetSlotOp_proto_enumTypes, + }.Build() + File_WidgetSlotOp_proto = out.File + file_WidgetSlotOp_proto_rawDesc = nil + file_WidgetSlotOp_proto_goTypes = nil + file_WidgetSlotOp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetSlotOp.proto b/gate-hk4e-api/proto/WidgetSlotOp.proto new file mode 100644 index 00000000..2d9ccb1d --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotOp.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum WidgetSlotOp { + WIDGET_SLOT_OP_ATTACH = 0; + WIDGET_SLOT_OP_DETACH = 1; +} diff --git a/gate-hk4e-api/proto/WidgetSlotTag.pb.go b/gate-hk4e-api/proto/WidgetSlotTag.pb.go new file mode 100644 index 00000000..b5372360 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotTag.pb.go @@ -0,0 +1,145 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetSlotTag.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetSlotTag int32 + +const ( + WidgetSlotTag_WIDGET_SLOT_TAG_QUICK_USE WidgetSlotTag = 0 + WidgetSlotTag_WIDGET_SLOT_TAG_ATTACH_AVATAR WidgetSlotTag = 1 +) + +// Enum value maps for WidgetSlotTag. +var ( + WidgetSlotTag_name = map[int32]string{ + 0: "WIDGET_SLOT_TAG_QUICK_USE", + 1: "WIDGET_SLOT_TAG_ATTACH_AVATAR", + } + WidgetSlotTag_value = map[string]int32{ + "WIDGET_SLOT_TAG_QUICK_USE": 0, + "WIDGET_SLOT_TAG_ATTACH_AVATAR": 1, + } +) + +func (x WidgetSlotTag) Enum() *WidgetSlotTag { + p := new(WidgetSlotTag) + *p = x + return p +} + +func (x WidgetSlotTag) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WidgetSlotTag) Descriptor() protoreflect.EnumDescriptor { + return file_WidgetSlotTag_proto_enumTypes[0].Descriptor() +} + +func (WidgetSlotTag) Type() protoreflect.EnumType { + return &file_WidgetSlotTag_proto_enumTypes[0] +} + +func (x WidgetSlotTag) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WidgetSlotTag.Descriptor instead. +func (WidgetSlotTag) EnumDescriptor() ([]byte, []int) { + return file_WidgetSlotTag_proto_rawDescGZIP(), []int{0} +} + +var File_WidgetSlotTag_proto protoreflect.FileDescriptor + +var file_WidgetSlotTag_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x51, 0x0a, 0x0d, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x53, + 0x6c, 0x6f, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, + 0x5f, 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x54, 0x41, 0x47, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x4b, 0x5f, + 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x57, 0x49, 0x44, 0x47, 0x45, 0x54, 0x5f, + 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x54, 0x41, 0x47, 0x5f, 0x41, 0x54, 0x54, 0x41, 0x43, 0x48, 0x5f, + 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetSlotTag_proto_rawDescOnce sync.Once + file_WidgetSlotTag_proto_rawDescData = file_WidgetSlotTag_proto_rawDesc +) + +func file_WidgetSlotTag_proto_rawDescGZIP() []byte { + file_WidgetSlotTag_proto_rawDescOnce.Do(func() { + file_WidgetSlotTag_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetSlotTag_proto_rawDescData) + }) + return file_WidgetSlotTag_proto_rawDescData +} + +var file_WidgetSlotTag_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_WidgetSlotTag_proto_goTypes = []interface{}{ + (WidgetSlotTag)(0), // 0: WidgetSlotTag +} +var file_WidgetSlotTag_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetSlotTag_proto_init() } +func file_WidgetSlotTag_proto_init() { + if File_WidgetSlotTag_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetSlotTag_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetSlotTag_proto_goTypes, + DependencyIndexes: file_WidgetSlotTag_proto_depIdxs, + EnumInfos: file_WidgetSlotTag_proto_enumTypes, + }.Build() + File_WidgetSlotTag_proto = out.File + file_WidgetSlotTag_proto_rawDesc = nil + file_WidgetSlotTag_proto_goTypes = nil + file_WidgetSlotTag_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetSlotTag.proto b/gate-hk4e-api/proto/WidgetSlotTag.proto new file mode 100644 index 00000000..f96f74eb --- /dev/null +++ b/gate-hk4e-api/proto/WidgetSlotTag.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +enum WidgetSlotTag { + WIDGET_SLOT_TAG_QUICK_USE = 0; + WIDGET_SLOT_TAG_ATTACH_AVATAR = 1; +} diff --git a/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.pb.go b/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.pb.go new file mode 100644 index 00000000..fc3c1fea --- /dev/null +++ b/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.pb.go @@ -0,0 +1,160 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetThunderBirdFeatherInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WidgetThunderBirdFeatherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EntityIdList []uint32 `protobuf:"varint,4,rep,packed,name=entity_id_list,json=entityIdList,proto3" json:"entity_id_list,omitempty"` +} + +func (x *WidgetThunderBirdFeatherInfo) Reset() { + *x = WidgetThunderBirdFeatherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetThunderBirdFeatherInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetThunderBirdFeatherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetThunderBirdFeatherInfo) ProtoMessage() {} + +func (x *WidgetThunderBirdFeatherInfo) ProtoReflect() protoreflect.Message { + mi := &file_WidgetThunderBirdFeatherInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetThunderBirdFeatherInfo.ProtoReflect.Descriptor instead. +func (*WidgetThunderBirdFeatherInfo) Descriptor() ([]byte, []int) { + return file_WidgetThunderBirdFeatherInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetThunderBirdFeatherInfo) GetEntityIdList() []uint32 { + if x != nil { + return x.EntityIdList + } + return nil +} + +var File_WidgetThunderBirdFeatherInfo_proto protoreflect.FileDescriptor + +var file_WidgetThunderBirdFeatherInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x54, 0x68, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42, + 0x69, 0x72, 0x64, 0x46, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x1c, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x54, 0x68, + 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x69, 0x72, 0x64, 0x46, 0x65, 0x61, 0x74, 0x68, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, + 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetThunderBirdFeatherInfo_proto_rawDescOnce sync.Once + file_WidgetThunderBirdFeatherInfo_proto_rawDescData = file_WidgetThunderBirdFeatherInfo_proto_rawDesc +) + +func file_WidgetThunderBirdFeatherInfo_proto_rawDescGZIP() []byte { + file_WidgetThunderBirdFeatherInfo_proto_rawDescOnce.Do(func() { + file_WidgetThunderBirdFeatherInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetThunderBirdFeatherInfo_proto_rawDescData) + }) + return file_WidgetThunderBirdFeatherInfo_proto_rawDescData +} + +var file_WidgetThunderBirdFeatherInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetThunderBirdFeatherInfo_proto_goTypes = []interface{}{ + (*WidgetThunderBirdFeatherInfo)(nil), // 0: WidgetThunderBirdFeatherInfo +} +var file_WidgetThunderBirdFeatherInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetThunderBirdFeatherInfo_proto_init() } +func file_WidgetThunderBirdFeatherInfo_proto_init() { + if File_WidgetThunderBirdFeatherInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetThunderBirdFeatherInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetThunderBirdFeatherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetThunderBirdFeatherInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetThunderBirdFeatherInfo_proto_goTypes, + DependencyIndexes: file_WidgetThunderBirdFeatherInfo_proto_depIdxs, + MessageInfos: file_WidgetThunderBirdFeatherInfo_proto_msgTypes, + }.Build() + File_WidgetThunderBirdFeatherInfo_proto = out.File + file_WidgetThunderBirdFeatherInfo_proto_rawDesc = nil + file_WidgetThunderBirdFeatherInfo_proto_goTypes = nil + file_WidgetThunderBirdFeatherInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.proto b/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.proto new file mode 100644 index 00000000..87a8629e --- /dev/null +++ b/gate-hk4e-api/proto/WidgetThunderBirdFeatherInfo.proto @@ -0,0 +1,23 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WidgetThunderBirdFeatherInfo { + repeated uint32 entity_id_list = 4; +} diff --git a/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.pb.go b/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.pb.go new file mode 100644 index 00000000..b979c8d2 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.pb.go @@ -0,0 +1,174 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WidgetUseAttachAbilityGroupChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 4258 +// EnetChannelId: 0 +// EnetIsReliable: true +type WidgetUseAttachAbilityGroupChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAttach bool `protobuf:"varint,6,opt,name=is_attach,json=isAttach,proto3" json:"is_attach,omitempty"` + MaterialId uint32 `protobuf:"varint,11,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"` +} + +func (x *WidgetUseAttachAbilityGroupChangeNotify) Reset() { + *x = WidgetUseAttachAbilityGroupChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WidgetUseAttachAbilityGroupChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WidgetUseAttachAbilityGroupChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WidgetUseAttachAbilityGroupChangeNotify) ProtoMessage() {} + +func (x *WidgetUseAttachAbilityGroupChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WidgetUseAttachAbilityGroupChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WidgetUseAttachAbilityGroupChangeNotify.ProtoReflect.Descriptor instead. +func (*WidgetUseAttachAbilityGroupChangeNotify) Descriptor() ([]byte, []int) { + return file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WidgetUseAttachAbilityGroupChangeNotify) GetIsAttach() bool { + if x != nil { + return x.IsAttach + } + return false +} + +func (x *WidgetUseAttachAbilityGroupChangeNotify) GetMaterialId() uint32 { + if x != nil { + return x.MaterialId + } + return 0 +} + +var File_WidgetUseAttachAbilityGroupChangeNotify_proto protoreflect.FileDescriptor + +var file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x55, 0x73, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x67, 0x0a, 0x27, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x55, 0x73, 0x65, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x41, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescOnce sync.Once + file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescData = file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDesc +) + +func file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescGZIP() []byte { + file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescOnce.Do(func() { + file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescData) + }) + return file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDescData +} + +var file_WidgetUseAttachAbilityGroupChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WidgetUseAttachAbilityGroupChangeNotify_proto_goTypes = []interface{}{ + (*WidgetUseAttachAbilityGroupChangeNotify)(nil), // 0: WidgetUseAttachAbilityGroupChangeNotify +} +var file_WidgetUseAttachAbilityGroupChangeNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WidgetUseAttachAbilityGroupChangeNotify_proto_init() } +func file_WidgetUseAttachAbilityGroupChangeNotify_proto_init() { + if File_WidgetUseAttachAbilityGroupChangeNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WidgetUseAttachAbilityGroupChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WidgetUseAttachAbilityGroupChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WidgetUseAttachAbilityGroupChangeNotify_proto_goTypes, + DependencyIndexes: file_WidgetUseAttachAbilityGroupChangeNotify_proto_depIdxs, + MessageInfos: file_WidgetUseAttachAbilityGroupChangeNotify_proto_msgTypes, + }.Build() + File_WidgetUseAttachAbilityGroupChangeNotify_proto = out.File + file_WidgetUseAttachAbilityGroupChangeNotify_proto_rawDesc = nil + file_WidgetUseAttachAbilityGroupChangeNotify_proto_goTypes = nil + file_WidgetUseAttachAbilityGroupChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.proto b/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.proto new file mode 100644 index 00000000..d9b5c188 --- /dev/null +++ b/gate-hk4e-api/proto/WidgetUseAttachAbilityGroupChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 4258 +// EnetChannelId: 0 +// EnetIsReliable: true +message WidgetUseAttachAbilityGroupChangeNotify { + bool is_attach = 6; + uint32 material_id = 11; +} diff --git a/gate-hk4e-api/proto/WindSeedClientNotify.pb.go b/gate-hk4e-api/proto/WindSeedClientNotify.pb.go new file mode 100644 index 00000000..9d1fef0a --- /dev/null +++ b/gate-hk4e-api/proto/WindSeedClientNotify.pb.go @@ -0,0 +1,465 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WindSeedClientNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 1199 +// EnetChannelId: 0 +// EnetIsReliable: true +type WindSeedClientNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Notify: + // *WindSeedClientNotify_RefreshNotify_ + // *WindSeedClientNotify_AddWindBulletNotify_ + // *WindSeedClientNotify_AreaNotify_ + Notify isWindSeedClientNotify_Notify `protobuf_oneof:"notify"` +} + +func (x *WindSeedClientNotify) Reset() { + *x = WindSeedClientNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WindSeedClientNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WindSeedClientNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WindSeedClientNotify) ProtoMessage() {} + +func (x *WindSeedClientNotify) ProtoReflect() protoreflect.Message { + mi := &file_WindSeedClientNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WindSeedClientNotify.ProtoReflect.Descriptor instead. +func (*WindSeedClientNotify) Descriptor() ([]byte, []int) { + return file_WindSeedClientNotify_proto_rawDescGZIP(), []int{0} +} + +func (m *WindSeedClientNotify) GetNotify() isWindSeedClientNotify_Notify { + if m != nil { + return m.Notify + } + return nil +} + +func (x *WindSeedClientNotify) GetRefreshNotify() *WindSeedClientNotify_RefreshNotify { + if x, ok := x.GetNotify().(*WindSeedClientNotify_RefreshNotify_); ok { + return x.RefreshNotify + } + return nil +} + +func (x *WindSeedClientNotify) GetAddWindBulletNotify() *WindSeedClientNotify_AddWindBulletNotify { + if x, ok := x.GetNotify().(*WindSeedClientNotify_AddWindBulletNotify_); ok { + return x.AddWindBulletNotify + } + return nil +} + +func (x *WindSeedClientNotify) GetAreaNotify() *WindSeedClientNotify_AreaNotify { + if x, ok := x.GetNotify().(*WindSeedClientNotify_AreaNotify_); ok { + return x.AreaNotify + } + return nil +} + +type isWindSeedClientNotify_Notify interface { + isWindSeedClientNotify_Notify() +} + +type WindSeedClientNotify_RefreshNotify_ struct { + RefreshNotify *WindSeedClientNotify_RefreshNotify `protobuf:"bytes,14,opt,name=refresh_notify,json=refreshNotify,proto3,oneof"` +} + +type WindSeedClientNotify_AddWindBulletNotify_ struct { + AddWindBulletNotify *WindSeedClientNotify_AddWindBulletNotify `protobuf:"bytes,6,opt,name=add_wind_bullet_notify,json=addWindBulletNotify,proto3,oneof"` +} + +type WindSeedClientNotify_AreaNotify_ struct { + AreaNotify *WindSeedClientNotify_AreaNotify `protobuf:"bytes,4,opt,name=area_notify,json=areaNotify,proto3,oneof"` +} + +func (*WindSeedClientNotify_RefreshNotify_) isWindSeedClientNotify_Notify() {} + +func (*WindSeedClientNotify_AddWindBulletNotify_) isWindSeedClientNotify_Notify() {} + +func (*WindSeedClientNotify_AreaNotify_) isWindSeedClientNotify_Notify() {} + +type WindSeedClientNotify_RefreshNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefreshNum uint32 `protobuf:"varint,9,opt,name=refresh_num,json=refreshNum,proto3" json:"refresh_num,omitempty"` +} + +func (x *WindSeedClientNotify_RefreshNotify) Reset() { + *x = WindSeedClientNotify_RefreshNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WindSeedClientNotify_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WindSeedClientNotify_RefreshNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WindSeedClientNotify_RefreshNotify) ProtoMessage() {} + +func (x *WindSeedClientNotify_RefreshNotify) ProtoReflect() protoreflect.Message { + mi := &file_WindSeedClientNotify_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WindSeedClientNotify_RefreshNotify.ProtoReflect.Descriptor instead. +func (*WindSeedClientNotify_RefreshNotify) Descriptor() ([]byte, []int) { + return file_WindSeedClientNotify_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *WindSeedClientNotify_RefreshNotify) GetRefreshNum() uint32 { + if x != nil { + return x.RefreshNum + } + return 0 +} + +type WindSeedClientNotify_AddWindBulletNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeedPos *Vector `protobuf:"bytes,6,opt,name=seed_pos,json=seedPos,proto3" json:"seed_pos,omitempty"` + CatchPlayerUid uint32 `protobuf:"varint,8,opt,name=catch_player_uid,json=catchPlayerUid,proto3" json:"catch_player_uid,omitempty"` + SeedEntityId uint32 `protobuf:"varint,7,opt,name=seed_entity_id,json=seedEntityId,proto3" json:"seed_entity_id,omitempty"` +} + +func (x *WindSeedClientNotify_AddWindBulletNotify) Reset() { + *x = WindSeedClientNotify_AddWindBulletNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WindSeedClientNotify_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WindSeedClientNotify_AddWindBulletNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WindSeedClientNotify_AddWindBulletNotify) ProtoMessage() {} + +func (x *WindSeedClientNotify_AddWindBulletNotify) ProtoReflect() protoreflect.Message { + mi := &file_WindSeedClientNotify_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WindSeedClientNotify_AddWindBulletNotify.ProtoReflect.Descriptor instead. +func (*WindSeedClientNotify_AddWindBulletNotify) Descriptor() ([]byte, []int) { + return file_WindSeedClientNotify_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *WindSeedClientNotify_AddWindBulletNotify) GetSeedPos() *Vector { + if x != nil { + return x.SeedPos + } + return nil +} + +func (x *WindSeedClientNotify_AddWindBulletNotify) GetCatchPlayerUid() uint32 { + if x != nil { + return x.CatchPlayerUid + } + return 0 +} + +func (x *WindSeedClientNotify_AddWindBulletNotify) GetSeedEntityId() uint32 { + if x != nil { + return x.SeedEntityId + } + return 0 +} + +type WindSeedClientNotify_AreaNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AreaCode []byte `protobuf:"bytes,5,opt,name=area_code,json=areaCode,proto3" json:"area_code,omitempty"` + AreaId uint32 `protobuf:"varint,10,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"` + AreaType uint32 `protobuf:"varint,7,opt,name=area_type,json=areaType,proto3" json:"area_type,omitempty"` +} + +func (x *WindSeedClientNotify_AreaNotify) Reset() { + *x = WindSeedClientNotify_AreaNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WindSeedClientNotify_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WindSeedClientNotify_AreaNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WindSeedClientNotify_AreaNotify) ProtoMessage() {} + +func (x *WindSeedClientNotify_AreaNotify) ProtoReflect() protoreflect.Message { + mi := &file_WindSeedClientNotify_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WindSeedClientNotify_AreaNotify.ProtoReflect.Descriptor instead. +func (*WindSeedClientNotify_AreaNotify) Descriptor() ([]byte, []int) { + return file_WindSeedClientNotify_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *WindSeedClientNotify_AreaNotify) GetAreaCode() []byte { + if x != nil { + return x.AreaCode + } + return nil +} + +func (x *WindSeedClientNotify_AreaNotify) GetAreaId() uint32 { + if x != nil { + return x.AreaId + } + return 0 +} + +func (x *WindSeedClientNotify_AreaNotify) GetAreaType() uint32 { + if x != nil { + return x.AreaType + } + return 0 +} + +var File_WindSeedClientNotify_proto protoreflect.FileDescriptor + +var file_WindSeedClientNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x56, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x04, 0x0a, 0x14, 0x57, + 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x4c, 0x0a, 0x0e, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x6e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x57, 0x69, + 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x12, 0x60, 0x0a, 0x16, 0x61, 0x64, 0x64, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x5f, 0x62, 0x75, + 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x69, 0x6e, 0x64, + 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x00, 0x52, 0x13, + 0x61, 0x64, 0x64, 0x57, 0x69, 0x6e, 0x64, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x43, 0x0a, 0x0b, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x6e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x53, + 0x65, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, + 0x65, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x1a, 0x30, 0x0a, 0x0d, 0x52, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x1a, 0x89, 0x01, 0x0a, 0x13, 0x41, + 0x64, 0x64, 0x57, 0x69, 0x6e, 0x64, 0x42, 0x75, 0x6c, 0x6c, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x22, 0x0a, 0x08, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x73, + 0x65, 0x65, 0x64, 0x50, 0x6f, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0e, 0x63, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x69, 0x64, + 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x65, 0x65, 0x64, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x1a, 0x5f, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x61, 0x72, 0x65, 0x61, 0x43, 0x6f, 0x64, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x61, 0x72, 0x65, 0x61, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x72, + 0x65, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, + 0x72, 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WindSeedClientNotify_proto_rawDescOnce sync.Once + file_WindSeedClientNotify_proto_rawDescData = file_WindSeedClientNotify_proto_rawDesc +) + +func file_WindSeedClientNotify_proto_rawDescGZIP() []byte { + file_WindSeedClientNotify_proto_rawDescOnce.Do(func() { + file_WindSeedClientNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WindSeedClientNotify_proto_rawDescData) + }) + return file_WindSeedClientNotify_proto_rawDescData +} + +var file_WindSeedClientNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_WindSeedClientNotify_proto_goTypes = []interface{}{ + (*WindSeedClientNotify)(nil), // 0: WindSeedClientNotify + (*WindSeedClientNotify_RefreshNotify)(nil), // 1: WindSeedClientNotify.RefreshNotify + (*WindSeedClientNotify_AddWindBulletNotify)(nil), // 2: WindSeedClientNotify.AddWindBulletNotify + (*WindSeedClientNotify_AreaNotify)(nil), // 3: WindSeedClientNotify.AreaNotify + (*Vector)(nil), // 4: Vector +} +var file_WindSeedClientNotify_proto_depIdxs = []int32{ + 1, // 0: WindSeedClientNotify.refresh_notify:type_name -> WindSeedClientNotify.RefreshNotify + 2, // 1: WindSeedClientNotify.add_wind_bullet_notify:type_name -> WindSeedClientNotify.AddWindBulletNotify + 3, // 2: WindSeedClientNotify.area_notify:type_name -> WindSeedClientNotify.AreaNotify + 4, // 3: WindSeedClientNotify.AddWindBulletNotify.seed_pos:type_name -> Vector + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_WindSeedClientNotify_proto_init() } +func file_WindSeedClientNotify_proto_init() { + if File_WindSeedClientNotify_proto != nil { + return + } + file_Vector_proto_init() + if !protoimpl.UnsafeEnabled { + file_WindSeedClientNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WindSeedClientNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_WindSeedClientNotify_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WindSeedClientNotify_RefreshNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_WindSeedClientNotify_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WindSeedClientNotify_AddWindBulletNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_WindSeedClientNotify_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WindSeedClientNotify_AreaNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_WindSeedClientNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*WindSeedClientNotify_RefreshNotify_)(nil), + (*WindSeedClientNotify_AddWindBulletNotify_)(nil), + (*WindSeedClientNotify_AreaNotify_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WindSeedClientNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WindSeedClientNotify_proto_goTypes, + DependencyIndexes: file_WindSeedClientNotify_proto_depIdxs, + MessageInfos: file_WindSeedClientNotify_proto_msgTypes, + }.Build() + File_WindSeedClientNotify_proto = out.File + file_WindSeedClientNotify_proto_rawDesc = nil + file_WindSeedClientNotify_proto_goTypes = nil + file_WindSeedClientNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WindSeedClientNotify.proto b/gate-hk4e-api/proto/WindSeedClientNotify.proto new file mode 100644 index 00000000..21808a54 --- /dev/null +++ b/gate-hk4e-api/proto/WindSeedClientNotify.proto @@ -0,0 +1,48 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option go_package = "./;proto"; + +// CmdId: 1199 +// EnetChannelId: 0 +// EnetIsReliable: true +message WindSeedClientNotify { + oneof notify { + RefreshNotify refresh_notify = 14; + AddWindBulletNotify add_wind_bullet_notify = 6; + AreaNotify area_notify = 4; + } + + message RefreshNotify { + uint32 refresh_num = 9; + } + + message AddWindBulletNotify { + Vector seed_pos = 6; + uint32 catch_player_uid = 8; + uint32 seed_entity_id = 7; + } + + message AreaNotify { + bytes area_code = 5; + uint32 area_id = 10; + uint32 area_type = 7; + } +} diff --git a/gate-hk4e-api/proto/WinterCampActivityDetailInfo.pb.go b/gate-hk4e-api/proto/WinterCampActivityDetailInfo.pb.go new file mode 100644 index 00000000..1436ed53 --- /dev/null +++ b/gate-hk4e-api/proto/WinterCampActivityDetailInfo.pb.go @@ -0,0 +1,256 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WinterCampActivityDetailInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WinterCampActivityDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk2700_FBMHFJHDJNB []*Unk2700_MBIDJDLLBNM `protobuf:"bytes,9,rep,name=Unk2700_FBMHFJHDJNB,json=Unk2700FBMHFJHDJNB,proto3" json:"Unk2700_FBMHFJHDJNB,omitempty"` + BattleInfo *Unk2700_DIEGJDEIDKO `protobuf:"bytes,10,opt,name=battle_info,json=battleInfo,proto3" json:"battle_info,omitempty"` + Unk2700_GALHBPGEGNL []uint32 `protobuf:"varint,8,rep,packed,name=Unk2700_GALHBPGEGNL,json=Unk2700GALHBPGEGNL,proto3" json:"Unk2700_GALHBPGEGNL,omitempty"` + Unk2700_DKCGOPBHJHA []uint32 `protobuf:"varint,14,rep,packed,name=Unk2700_DKCGOPBHJHA,json=Unk2700DKCGOPBHJHA,proto3" json:"Unk2700_DKCGOPBHJHA,omitempty"` + Unk2700_OOBOCEALLBE []uint32 `protobuf:"varint,6,rep,packed,name=Unk2700_OOBOCEALLBE,json=Unk2700OOBOCEALLBE,proto3" json:"Unk2700_OOBOCEALLBE,omitempty"` + IsContentClosed bool `protobuf:"varint,15,opt,name=is_content_closed,json=isContentClosed,proto3" json:"is_content_closed,omitempty"` + ExploreInfo *Unk2700_DIEGJDEIDKO `protobuf:"bytes,11,opt,name=explore_info,json=exploreInfo,proto3" json:"explore_info,omitempty"` + Unk2700_CFENLEBIKGG []*ItemParam `protobuf:"bytes,2,rep,name=Unk2700_CFENLEBIKGG,json=Unk2700CFENLEBIKGG,proto3" json:"Unk2700_CFENLEBIKGG,omitempty"` +} + +func (x *WinterCampActivityDetailInfo) Reset() { + *x = WinterCampActivityDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WinterCampActivityDetailInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WinterCampActivityDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WinterCampActivityDetailInfo) ProtoMessage() {} + +func (x *WinterCampActivityDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_WinterCampActivityDetailInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WinterCampActivityDetailInfo.ProtoReflect.Descriptor instead. +func (*WinterCampActivityDetailInfo) Descriptor() ([]byte, []int) { + return file_WinterCampActivityDetailInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WinterCampActivityDetailInfo) GetUnk2700_FBMHFJHDJNB() []*Unk2700_MBIDJDLLBNM { + if x != nil { + return x.Unk2700_FBMHFJHDJNB + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetBattleInfo() *Unk2700_DIEGJDEIDKO { + if x != nil { + return x.BattleInfo + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetUnk2700_GALHBPGEGNL() []uint32 { + if x != nil { + return x.Unk2700_GALHBPGEGNL + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetUnk2700_DKCGOPBHJHA() []uint32 { + if x != nil { + return x.Unk2700_DKCGOPBHJHA + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetUnk2700_OOBOCEALLBE() []uint32 { + if x != nil { + return x.Unk2700_OOBOCEALLBE + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetIsContentClosed() bool { + if x != nil { + return x.IsContentClosed + } + return false +} + +func (x *WinterCampActivityDetailInfo) GetExploreInfo() *Unk2700_DIEGJDEIDKO { + if x != nil { + return x.ExploreInfo + } + return nil +} + +func (x *WinterCampActivityDetailInfo) GetUnk2700_CFENLEBIKGG() []*ItemParam { + if x != nil { + return x.Unk2700_CFENLEBIKGG + } + return nil +} + +var File_WinterCampActivityDetailInfo_proto protoreflect.FileDescriptor + +var file_WinterCampActivityDetailInfo_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x57, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, + 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, 0x4b, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x49, 0x44, 0x4a, 0x44, + 0x4c, 0x4c, 0x42, 0x4e, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x03, 0x0a, 0x1c, + 0x57, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x61, 0x6d, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x46, 0x42, 0x4d, 0x48, 0x46, 0x4a, 0x48, 0x44, + 0x4a, 0x4e, 0x42, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, + 0x37, 0x30, 0x30, 0x5f, 0x4d, 0x42, 0x49, 0x44, 0x4a, 0x44, 0x4c, 0x4c, 0x42, 0x4e, 0x4d, 0x52, + 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x46, 0x42, 0x4d, 0x48, 0x46, 0x4a, 0x48, 0x44, + 0x4a, 0x4e, 0x42, 0x12, 0x35, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, 0x45, 0x49, 0x44, 0x4b, 0x4f, 0x52, 0x0a, + 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x47, 0x41, 0x4c, 0x48, 0x42, 0x50, 0x47, 0x45, 0x47, 0x4e, + 0x4c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, + 0x47, 0x41, 0x4c, 0x48, 0x42, 0x50, 0x47, 0x45, 0x47, 0x4e, 0x4c, 0x12, 0x2f, 0x0a, 0x13, 0x55, + 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x4b, 0x43, 0x47, 0x4f, 0x50, 0x42, 0x48, 0x4a, + 0x48, 0x41, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, + 0x30, 0x44, 0x4b, 0x43, 0x47, 0x4f, 0x50, 0x42, 0x48, 0x4a, 0x48, 0x41, 0x12, 0x2f, 0x0a, 0x13, + 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x4f, 0x4f, 0x42, 0x4f, 0x43, 0x45, 0x41, 0x4c, + 0x4c, 0x42, 0x45, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x12, 0x55, 0x6e, 0x6b, 0x32, 0x37, + 0x30, 0x30, 0x4f, 0x4f, 0x42, 0x4f, 0x43, 0x45, 0x41, 0x4c, 0x4c, 0x42, 0x45, 0x12, 0x2a, 0x0a, + 0x11, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, + 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x0c, 0x65, 0x78, 0x70, + 0x6c, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x44, 0x49, 0x45, 0x47, 0x4a, 0x44, + 0x45, 0x49, 0x44, 0x4b, 0x4f, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x32, 0x37, 0x30, 0x30, 0x5f, 0x43, 0x46, + 0x45, 0x4e, 0x4c, 0x45, 0x42, 0x49, 0x4b, 0x47, 0x47, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x12, 0x55, 0x6e, 0x6b, + 0x32, 0x37, 0x30, 0x30, 0x43, 0x46, 0x45, 0x4e, 0x4c, 0x45, 0x42, 0x49, 0x4b, 0x47, 0x47, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_WinterCampActivityDetailInfo_proto_rawDescOnce sync.Once + file_WinterCampActivityDetailInfo_proto_rawDescData = file_WinterCampActivityDetailInfo_proto_rawDesc +) + +func file_WinterCampActivityDetailInfo_proto_rawDescGZIP() []byte { + file_WinterCampActivityDetailInfo_proto_rawDescOnce.Do(func() { + file_WinterCampActivityDetailInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WinterCampActivityDetailInfo_proto_rawDescData) + }) + return file_WinterCampActivityDetailInfo_proto_rawDescData +} + +var file_WinterCampActivityDetailInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WinterCampActivityDetailInfo_proto_goTypes = []interface{}{ + (*WinterCampActivityDetailInfo)(nil), // 0: WinterCampActivityDetailInfo + (*Unk2700_MBIDJDLLBNM)(nil), // 1: Unk2700_MBIDJDLLBNM + (*Unk2700_DIEGJDEIDKO)(nil), // 2: Unk2700_DIEGJDEIDKO + (*ItemParam)(nil), // 3: ItemParam +} +var file_WinterCampActivityDetailInfo_proto_depIdxs = []int32{ + 1, // 0: WinterCampActivityDetailInfo.Unk2700_FBMHFJHDJNB:type_name -> Unk2700_MBIDJDLLBNM + 2, // 1: WinterCampActivityDetailInfo.battle_info:type_name -> Unk2700_DIEGJDEIDKO + 2, // 2: WinterCampActivityDetailInfo.explore_info:type_name -> Unk2700_DIEGJDEIDKO + 3, // 3: WinterCampActivityDetailInfo.Unk2700_CFENLEBIKGG:type_name -> ItemParam + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_WinterCampActivityDetailInfo_proto_init() } +func file_WinterCampActivityDetailInfo_proto_init() { + if File_WinterCampActivityDetailInfo_proto != nil { + return + } + file_ItemParam_proto_init() + file_Unk2700_DIEGJDEIDKO_proto_init() + file_Unk2700_MBIDJDLLBNM_proto_init() + if !protoimpl.UnsafeEnabled { + file_WinterCampActivityDetailInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WinterCampActivityDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WinterCampActivityDetailInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WinterCampActivityDetailInfo_proto_goTypes, + DependencyIndexes: file_WinterCampActivityDetailInfo_proto_depIdxs, + MessageInfos: file_WinterCampActivityDetailInfo_proto_msgTypes, + }.Build() + File_WinterCampActivityDetailInfo_proto = out.File + file_WinterCampActivityDetailInfo_proto_rawDesc = nil + file_WinterCampActivityDetailInfo_proto_goTypes = nil + file_WinterCampActivityDetailInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WinterCampActivityDetailInfo.proto b/gate-hk4e-api/proto/WinterCampActivityDetailInfo.proto new file mode 100644 index 00000000..24d1d45a --- /dev/null +++ b/gate-hk4e-api/proto/WinterCampActivityDetailInfo.proto @@ -0,0 +1,34 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ItemParam.proto"; +import "Unk2700_DIEGJDEIDKO.proto"; +import "Unk2700_MBIDJDLLBNM.proto"; + +option go_package = "./;proto"; + +message WinterCampActivityDetailInfo { + repeated Unk2700_MBIDJDLLBNM Unk2700_FBMHFJHDJNB = 9; + Unk2700_DIEGJDEIDKO battle_info = 10; + repeated uint32 Unk2700_GALHBPGEGNL = 8; + repeated uint32 Unk2700_DKCGOPBHJHA = 14; + repeated uint32 Unk2700_OOBOCEALLBE = 6; + bool is_content_closed = 15; + Unk2700_DIEGJDEIDKO explore_info = 11; + repeated ItemParam Unk2700_CFENLEBIKGG = 2; +} diff --git a/gate-hk4e-api/proto/WorktopInfo.pb.go b/gate-hk4e-api/proto/WorktopInfo.pb.go new file mode 100644 index 00000000..0f6be1be --- /dev/null +++ b/gate-hk4e-api/proto/WorktopInfo.pb.go @@ -0,0 +1,169 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorktopInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WorktopInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OptionList []uint32 `protobuf:"varint,1,rep,packed,name=option_list,json=optionList,proto3" json:"option_list,omitempty"` + IsGuestCanOperate bool `protobuf:"varint,2,opt,name=is_guest_can_operate,json=isGuestCanOperate,proto3" json:"is_guest_can_operate,omitempty"` +} + +func (x *WorktopInfo) Reset() { + *x = WorktopInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WorktopInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorktopInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorktopInfo) ProtoMessage() {} + +func (x *WorktopInfo) ProtoReflect() protoreflect.Message { + mi := &file_WorktopInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorktopInfo.ProtoReflect.Descriptor instead. +func (*WorktopInfo) Descriptor() ([]byte, []int) { + return file_WorktopInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WorktopInfo) GetOptionList() []uint32 { + if x != nil { + return x.OptionList + } + return nil +} + +func (x *WorktopInfo) GetIsGuestCanOperate() bool { + if x != nil { + return x.IsGuestCanOperate + } + return false +} + +var File_WorktopInfo_proto protoreflect.FileDescriptor + +var file_WorktopInfo_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x63, 0x61, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x69, 0x73, 0x47, 0x75, 0x65, 0x73, 0x74, 0x43, 0x61, 0x6e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorktopInfo_proto_rawDescOnce sync.Once + file_WorktopInfo_proto_rawDescData = file_WorktopInfo_proto_rawDesc +) + +func file_WorktopInfo_proto_rawDescGZIP() []byte { + file_WorktopInfo_proto_rawDescOnce.Do(func() { + file_WorktopInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorktopInfo_proto_rawDescData) + }) + return file_WorktopInfo_proto_rawDescData +} + +var file_WorktopInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorktopInfo_proto_goTypes = []interface{}{ + (*WorktopInfo)(nil), // 0: WorktopInfo +} +var file_WorktopInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorktopInfo_proto_init() } +func file_WorktopInfo_proto_init() { + if File_WorktopInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorktopInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorktopInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorktopInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorktopInfo_proto_goTypes, + DependencyIndexes: file_WorktopInfo_proto_depIdxs, + MessageInfos: file_WorktopInfo_proto_msgTypes, + }.Build() + File_WorktopInfo_proto = out.File + file_WorktopInfo_proto_rawDesc = nil + file_WorktopInfo_proto_goTypes = nil + file_WorktopInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorktopInfo.proto b/gate-hk4e-api/proto/WorktopInfo.proto new file mode 100644 index 00000000..392b1144 --- /dev/null +++ b/gate-hk4e-api/proto/WorktopInfo.proto @@ -0,0 +1,24 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WorktopInfo { + repeated uint32 option_list = 1; + bool is_guest_can_operate = 2; +} diff --git a/gate-hk4e-api/proto/WorktopOptionNotify.pb.go b/gate-hk4e-api/proto/WorktopOptionNotify.pb.go new file mode 100644 index 00000000..a3ce6add --- /dev/null +++ b/gate-hk4e-api/proto/WorktopOptionNotify.pb.go @@ -0,0 +1,173 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorktopOptionNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 835 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorktopOptionNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GadgetEntityId uint32 `protobuf:"varint,11,opt,name=gadget_entity_id,json=gadgetEntityId,proto3" json:"gadget_entity_id,omitempty"` + OptionList []uint32 `protobuf:"varint,8,rep,packed,name=option_list,json=optionList,proto3" json:"option_list,omitempty"` +} + +func (x *WorktopOptionNotify) Reset() { + *x = WorktopOptionNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorktopOptionNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorktopOptionNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorktopOptionNotify) ProtoMessage() {} + +func (x *WorktopOptionNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorktopOptionNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorktopOptionNotify.ProtoReflect.Descriptor instead. +func (*WorktopOptionNotify) Descriptor() ([]byte, []int) { + return file_WorktopOptionNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorktopOptionNotify) GetGadgetEntityId() uint32 { + if x != nil { + return x.GadgetEntityId + } + return 0 +} + +func (x *WorktopOptionNotify) GetOptionList() []uint32 { + if x != nil { + return x.OptionList + } + return nil +} + +var File_WorktopOptionNotify_proto protoreflect.FileDescriptor + +var file_WorktopOptionNotify_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x13, 0x57, + 0x6f, 0x72, 0x6b, 0x74, 0x6f, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x61, + 0x64, 0x67, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WorktopOptionNotify_proto_rawDescOnce sync.Once + file_WorktopOptionNotify_proto_rawDescData = file_WorktopOptionNotify_proto_rawDesc +) + +func file_WorktopOptionNotify_proto_rawDescGZIP() []byte { + file_WorktopOptionNotify_proto_rawDescOnce.Do(func() { + file_WorktopOptionNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorktopOptionNotify_proto_rawDescData) + }) + return file_WorktopOptionNotify_proto_rawDescData +} + +var file_WorktopOptionNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorktopOptionNotify_proto_goTypes = []interface{}{ + (*WorktopOptionNotify)(nil), // 0: WorktopOptionNotify +} +var file_WorktopOptionNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorktopOptionNotify_proto_init() } +func file_WorktopOptionNotify_proto_init() { + if File_WorktopOptionNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorktopOptionNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorktopOptionNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorktopOptionNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorktopOptionNotify_proto_goTypes, + DependencyIndexes: file_WorktopOptionNotify_proto_depIdxs, + MessageInfos: file_WorktopOptionNotify_proto_msgTypes, + }.Build() + File_WorktopOptionNotify_proto = out.File + file_WorktopOptionNotify_proto_rawDesc = nil + file_WorktopOptionNotify_proto_goTypes = nil + file_WorktopOptionNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorktopOptionNotify.proto b/gate-hk4e-api/proto/WorktopOptionNotify.proto new file mode 100644 index 00000000..0d920a0a --- /dev/null +++ b/gate-hk4e-api/proto/WorktopOptionNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 835 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorktopOptionNotify { + uint32 gadget_entity_id = 11; + repeated uint32 option_list = 8; +} diff --git a/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.pb.go b/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.pb.go new file mode 100644 index 00000000..55cb905c --- /dev/null +++ b/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldAllRoutineTypeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3518 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldAllRoutineTypeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorldRoutineTypeList []*WorldRoutineTypeInfo `protobuf:"bytes,12,rep,name=world_routine_type_list,json=worldRoutineTypeList,proto3" json:"world_routine_type_list,omitempty"` +} + +func (x *WorldAllRoutineTypeNotify) Reset() { + *x = WorldAllRoutineTypeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldAllRoutineTypeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldAllRoutineTypeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldAllRoutineTypeNotify) ProtoMessage() {} + +func (x *WorldAllRoutineTypeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldAllRoutineTypeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldAllRoutineTypeNotify.ProtoReflect.Descriptor instead. +func (*WorldAllRoutineTypeNotify) Descriptor() ([]byte, []int) { + return file_WorldAllRoutineTypeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldAllRoutineTypeNotify) GetWorldRoutineTypeList() []*WorldRoutineTypeInfo { + if x != nil { + return x.WorldRoutineTypeList + } + return nil +} + +var File_WorldAllRoutineTypeNotify_proto protoreflect.FileDescriptor + +var file_WorldAllRoutineTypeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, + 0x19, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4c, 0x0a, 0x17, 0x77, 0x6f, + 0x72, 0x6c, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x57, 0x6f, + 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldAllRoutineTypeNotify_proto_rawDescOnce sync.Once + file_WorldAllRoutineTypeNotify_proto_rawDescData = file_WorldAllRoutineTypeNotify_proto_rawDesc +) + +func file_WorldAllRoutineTypeNotify_proto_rawDescGZIP() []byte { + file_WorldAllRoutineTypeNotify_proto_rawDescOnce.Do(func() { + file_WorldAllRoutineTypeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldAllRoutineTypeNotify_proto_rawDescData) + }) + return file_WorldAllRoutineTypeNotify_proto_rawDescData +} + +var file_WorldAllRoutineTypeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldAllRoutineTypeNotify_proto_goTypes = []interface{}{ + (*WorldAllRoutineTypeNotify)(nil), // 0: WorldAllRoutineTypeNotify + (*WorldRoutineTypeInfo)(nil), // 1: WorldRoutineTypeInfo +} +var file_WorldAllRoutineTypeNotify_proto_depIdxs = []int32{ + 1, // 0: WorldAllRoutineTypeNotify.world_routine_type_list:type_name -> WorldRoutineTypeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldAllRoutineTypeNotify_proto_init() } +func file_WorldAllRoutineTypeNotify_proto_init() { + if File_WorldAllRoutineTypeNotify_proto != nil { + return + } + file_WorldRoutineTypeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldAllRoutineTypeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldAllRoutineTypeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldAllRoutineTypeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldAllRoutineTypeNotify_proto_goTypes, + DependencyIndexes: file_WorldAllRoutineTypeNotify_proto_depIdxs, + MessageInfos: file_WorldAllRoutineTypeNotify_proto_msgTypes, + }.Build() + File_WorldAllRoutineTypeNotify_proto = out.File + file_WorldAllRoutineTypeNotify_proto_rawDesc = nil + file_WorldAllRoutineTypeNotify_proto_goTypes = nil + file_WorldAllRoutineTypeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.proto b/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.proto new file mode 100644 index 00000000..d8f523a7 --- /dev/null +++ b/gate-hk4e-api/proto/WorldAllRoutineTypeNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WorldRoutineTypeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3518 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldAllRoutineTypeNotify { + repeated WorldRoutineTypeInfo world_routine_type_list = 12; +} diff --git a/gate-hk4e-api/proto/WorldDataNotify.pb.go b/gate-hk4e-api/proto/WorldDataNotify.pb.go new file mode 100644 index 00000000..c303ef39 --- /dev/null +++ b/gate-hk4e-api/proto/WorldDataNotify.pb.go @@ -0,0 +1,233 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldDataNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WorldDataNotify_DataType int32 + +const ( + WorldDataNotify_DATA_TYPE_NONE WorldDataNotify_DataType = 0 + WorldDataNotify_DATA_TYPE_WORLD_LEVEL WorldDataNotify_DataType = 1 + WorldDataNotify_DATA_TYPE_IS_IN_MP_MODE WorldDataNotify_DataType = 2 +) + +// Enum value maps for WorldDataNotify_DataType. +var ( + WorldDataNotify_DataType_name = map[int32]string{ + 0: "DATA_TYPE_NONE", + 1: "DATA_TYPE_WORLD_LEVEL", + 2: "DATA_TYPE_IS_IN_MP_MODE", + } + WorldDataNotify_DataType_value = map[string]int32{ + "DATA_TYPE_NONE": 0, + "DATA_TYPE_WORLD_LEVEL": 1, + "DATA_TYPE_IS_IN_MP_MODE": 2, + } +) + +func (x WorldDataNotify_DataType) Enum() *WorldDataNotify_DataType { + p := new(WorldDataNotify_DataType) + *p = x + return p +} + +func (x WorldDataNotify_DataType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WorldDataNotify_DataType) Descriptor() protoreflect.EnumDescriptor { + return file_WorldDataNotify_proto_enumTypes[0].Descriptor() +} + +func (WorldDataNotify_DataType) Type() protoreflect.EnumType { + return &file_WorldDataNotify_proto_enumTypes[0] +} + +func (x WorldDataNotify_DataType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WorldDataNotify_DataType.Descriptor instead. +func (WorldDataNotify_DataType) EnumDescriptor() ([]byte, []int) { + return file_WorldDataNotify_proto_rawDescGZIP(), []int{0, 0} +} + +// CmdId: 3308 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldDataNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorldPropMap map[uint32]*PropValue `protobuf:"bytes,9,rep,name=world_prop_map,json=worldPropMap,proto3" json:"world_prop_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *WorldDataNotify) Reset() { + *x = WorldDataNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldDataNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldDataNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldDataNotify) ProtoMessage() {} + +func (x *WorldDataNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldDataNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldDataNotify.ProtoReflect.Descriptor instead. +func (*WorldDataNotify) Descriptor() ([]byte, []int) { + return file_WorldDataNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldDataNotify) GetWorldPropMap() map[uint32]*PropValue { + if x != nil { + return x.WorldPropMap + } + return nil +} + +var File_WorldDataNotify_proto protoreflect.FileDescriptor + +var file_WorldDataNotify_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, 0x0f, 0x57, 0x6f, 0x72, + 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x48, 0x0a, 0x0e, + 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x70, + 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x1a, 0x4b, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, + 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x56, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x12, 0x0a, 0x0e, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x57, 0x4f, 0x52, 0x4c, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x01, 0x12, 0x1b, + 0x0a, 0x17, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x5f, 0x49, + 0x4e, 0x5f, 0x4d, 0x50, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, + 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldDataNotify_proto_rawDescOnce sync.Once + file_WorldDataNotify_proto_rawDescData = file_WorldDataNotify_proto_rawDesc +) + +func file_WorldDataNotify_proto_rawDescGZIP() []byte { + file_WorldDataNotify_proto_rawDescOnce.Do(func() { + file_WorldDataNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldDataNotify_proto_rawDescData) + }) + return file_WorldDataNotify_proto_rawDescData +} + +var file_WorldDataNotify_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_WorldDataNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_WorldDataNotify_proto_goTypes = []interface{}{ + (WorldDataNotify_DataType)(0), // 0: WorldDataNotify.DataType + (*WorldDataNotify)(nil), // 1: WorldDataNotify + nil, // 2: WorldDataNotify.WorldPropMapEntry + (*PropValue)(nil), // 3: PropValue +} +var file_WorldDataNotify_proto_depIdxs = []int32{ + 2, // 0: WorldDataNotify.world_prop_map:type_name -> WorldDataNotify.WorldPropMapEntry + 3, // 1: WorldDataNotify.WorldPropMapEntry.value:type_name -> PropValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WorldDataNotify_proto_init() } +func file_WorldDataNotify_proto_init() { + if File_WorldDataNotify_proto != nil { + return + } + file_PropValue_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldDataNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldDataNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldDataNotify_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldDataNotify_proto_goTypes, + DependencyIndexes: file_WorldDataNotify_proto_depIdxs, + EnumInfos: file_WorldDataNotify_proto_enumTypes, + MessageInfos: file_WorldDataNotify_proto_msgTypes, + }.Build() + File_WorldDataNotify_proto = out.File + file_WorldDataNotify_proto_rawDesc = nil + file_WorldDataNotify_proto_goTypes = nil + file_WorldDataNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldDataNotify.proto b/gate-hk4e-api/proto/WorldDataNotify.proto new file mode 100644 index 00000000..f73454af --- /dev/null +++ b/gate-hk4e-api/proto/WorldDataNotify.proto @@ -0,0 +1,35 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropValue.proto"; + +option go_package = "./;proto"; + +// CmdId: 3308 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldDataNotify { + map world_prop_map = 9; + + enum DataType { + DATA_TYPE_NONE = 0; + DATA_TYPE_WORLD_LEVEL = 1; + DATA_TYPE_IS_IN_MP_MODE = 2; + } +} diff --git a/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.pb.go b/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.pb.go new file mode 100644 index 00000000..248a34ee --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldOwnerBlossomBriefInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2735 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldOwnerBlossomBriefInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BriefInfoList []*BlossomBriefInfo `protobuf:"bytes,13,rep,name=brief_info_list,json=briefInfoList,proto3" json:"brief_info_list,omitempty"` +} + +func (x *WorldOwnerBlossomBriefInfoNotify) Reset() { + *x = WorldOwnerBlossomBriefInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldOwnerBlossomBriefInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldOwnerBlossomBriefInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldOwnerBlossomBriefInfoNotify) ProtoMessage() {} + +func (x *WorldOwnerBlossomBriefInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldOwnerBlossomBriefInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldOwnerBlossomBriefInfoNotify.ProtoReflect.Descriptor instead. +func (*WorldOwnerBlossomBriefInfoNotify) Descriptor() ([]byte, []int) { + return file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldOwnerBlossomBriefInfoNotify) GetBriefInfoList() []*BlossomBriefInfo { + if x != nil { + return x.BriefInfoList + } + return nil +} + +var File_WorldOwnerBlossomBriefInfoNotify_proto protoreflect.FileDescriptor + +var file_WorldOwnerBlossomBriefInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x73, + 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, + 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5d, 0x0a, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x6c, + 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, 0x0f, 0x62, 0x72, 0x69, 0x65, 0x66, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0d, 0x62, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescOnce sync.Once + file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescData = file_WorldOwnerBlossomBriefInfoNotify_proto_rawDesc +) + +func file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescGZIP() []byte { + file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescOnce.Do(func() { + file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescData) + }) + return file_WorldOwnerBlossomBriefInfoNotify_proto_rawDescData +} + +var file_WorldOwnerBlossomBriefInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldOwnerBlossomBriefInfoNotify_proto_goTypes = []interface{}{ + (*WorldOwnerBlossomBriefInfoNotify)(nil), // 0: WorldOwnerBlossomBriefInfoNotify + (*BlossomBriefInfo)(nil), // 1: BlossomBriefInfo +} +var file_WorldOwnerBlossomBriefInfoNotify_proto_depIdxs = []int32{ + 1, // 0: WorldOwnerBlossomBriefInfoNotify.brief_info_list:type_name -> BlossomBriefInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldOwnerBlossomBriefInfoNotify_proto_init() } +func file_WorldOwnerBlossomBriefInfoNotify_proto_init() { + if File_WorldOwnerBlossomBriefInfoNotify_proto != nil { + return + } + file_BlossomBriefInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldOwnerBlossomBriefInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldOwnerBlossomBriefInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldOwnerBlossomBriefInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldOwnerBlossomBriefInfoNotify_proto_goTypes, + DependencyIndexes: file_WorldOwnerBlossomBriefInfoNotify_proto_depIdxs, + MessageInfos: file_WorldOwnerBlossomBriefInfoNotify_proto_msgTypes, + }.Build() + File_WorldOwnerBlossomBriefInfoNotify_proto = out.File + file_WorldOwnerBlossomBriefInfoNotify_proto_rawDesc = nil + file_WorldOwnerBlossomBriefInfoNotify_proto_goTypes = nil + file_WorldOwnerBlossomBriefInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.proto b/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.proto new file mode 100644 index 00000000..02177aa0 --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerBlossomBriefInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlossomBriefInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2735 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldOwnerBlossomBriefInfoNotify { + repeated BlossomBriefInfo brief_info_list = 13; +} diff --git a/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.pb.go b/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.pb.go new file mode 100644 index 00000000..311e0ff4 --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.pb.go @@ -0,0 +1,171 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldOwnerBlossomScheduleInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 2707 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldOwnerBlossomScheduleInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduleInfo *BlossomScheduleInfo `protobuf:"bytes,3,opt,name=schedule_info,json=scheduleInfo,proto3" json:"schedule_info,omitempty"` +} + +func (x *WorldOwnerBlossomScheduleInfoNotify) Reset() { + *x = WorldOwnerBlossomScheduleInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldOwnerBlossomScheduleInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldOwnerBlossomScheduleInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldOwnerBlossomScheduleInfoNotify) ProtoMessage() {} + +func (x *WorldOwnerBlossomScheduleInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldOwnerBlossomScheduleInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldOwnerBlossomScheduleInfoNotify.ProtoReflect.Descriptor instead. +func (*WorldOwnerBlossomScheduleInfoNotify) Descriptor() ([]byte, []int) { + return file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldOwnerBlossomScheduleInfoNotify) GetScheduleInfo() *BlossomScheduleInfo { + if x != nil { + return x.ScheduleInfo + } + return nil +} + +var File_WorldOwnerBlossomScheduleInfoNotify_proto protoreflect.FileDescriptor + +var file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x73, + 0x73, 0x6f, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x42, 0x6c, 0x6f, + 0x73, 0x73, 0x6f, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x23, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x39, 0x0a, + 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x6c, 0x6f, 0x73, 0x73, 0x6f, 0x6d, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescOnce sync.Once + file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescData = file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDesc +) + +func file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescGZIP() []byte { + file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescOnce.Do(func() { + file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescData) + }) + return file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDescData +} + +var file_WorldOwnerBlossomScheduleInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldOwnerBlossomScheduleInfoNotify_proto_goTypes = []interface{}{ + (*WorldOwnerBlossomScheduleInfoNotify)(nil), // 0: WorldOwnerBlossomScheduleInfoNotify + (*BlossomScheduleInfo)(nil), // 1: BlossomScheduleInfo +} +var file_WorldOwnerBlossomScheduleInfoNotify_proto_depIdxs = []int32{ + 1, // 0: WorldOwnerBlossomScheduleInfoNotify.schedule_info:type_name -> BlossomScheduleInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldOwnerBlossomScheduleInfoNotify_proto_init() } +func file_WorldOwnerBlossomScheduleInfoNotify_proto_init() { + if File_WorldOwnerBlossomScheduleInfoNotify_proto != nil { + return + } + file_BlossomScheduleInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldOwnerBlossomScheduleInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldOwnerBlossomScheduleInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldOwnerBlossomScheduleInfoNotify_proto_goTypes, + DependencyIndexes: file_WorldOwnerBlossomScheduleInfoNotify_proto_depIdxs, + MessageInfos: file_WorldOwnerBlossomScheduleInfoNotify_proto_msgTypes, + }.Build() + File_WorldOwnerBlossomScheduleInfoNotify_proto = out.File + file_WorldOwnerBlossomScheduleInfoNotify_proto_rawDesc = nil + file_WorldOwnerBlossomScheduleInfoNotify_proto_goTypes = nil + file_WorldOwnerBlossomScheduleInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.proto b/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.proto new file mode 100644 index 00000000..c94d1521 --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerBlossomScheduleInfoNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "BlossomScheduleInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 2707 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldOwnerBlossomScheduleInfoNotify { + BlossomScheduleInfo schedule_info = 3; +} diff --git a/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.pb.go b/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.pb.go new file mode 100644 index 00000000..5dc57af3 --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldOwnerDailyTaskNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 102 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldOwnerDailyTaskNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilterCityId uint32 `protobuf:"varint,2,opt,name=filter_city_id,json=filterCityId,proto3" json:"filter_city_id,omitempty"` + TaskList []*DailyTaskInfo `protobuf:"bytes,1,rep,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` +} + +func (x *WorldOwnerDailyTaskNotify) Reset() { + *x = WorldOwnerDailyTaskNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldOwnerDailyTaskNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldOwnerDailyTaskNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldOwnerDailyTaskNotify) ProtoMessage() {} + +func (x *WorldOwnerDailyTaskNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldOwnerDailyTaskNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldOwnerDailyTaskNotify.ProtoReflect.Descriptor instead. +func (*WorldOwnerDailyTaskNotify) Descriptor() ([]byte, []int) { + return file_WorldOwnerDailyTaskNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldOwnerDailyTaskNotify) GetFilterCityId() uint32 { + if x != nil { + return x.FilterCityId + } + return 0 +} + +func (x *WorldOwnerDailyTaskNotify) GetTaskList() []*DailyTaskInfo { + if x != nil { + return x.TaskList + } + return nil +} + +var File_WorldOwnerDailyTaskNotify_proto protoreflect.FileDescriptor + +var file_WorldOwnerDailyTaskNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, + 0x79, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x13, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x69, + 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x43, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x09, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, + 0x61, 0x69, 0x6c, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x74, 0x61, + 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldOwnerDailyTaskNotify_proto_rawDescOnce sync.Once + file_WorldOwnerDailyTaskNotify_proto_rawDescData = file_WorldOwnerDailyTaskNotify_proto_rawDesc +) + +func file_WorldOwnerDailyTaskNotify_proto_rawDescGZIP() []byte { + file_WorldOwnerDailyTaskNotify_proto_rawDescOnce.Do(func() { + file_WorldOwnerDailyTaskNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldOwnerDailyTaskNotify_proto_rawDescData) + }) + return file_WorldOwnerDailyTaskNotify_proto_rawDescData +} + +var file_WorldOwnerDailyTaskNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldOwnerDailyTaskNotify_proto_goTypes = []interface{}{ + (*WorldOwnerDailyTaskNotify)(nil), // 0: WorldOwnerDailyTaskNotify + (*DailyTaskInfo)(nil), // 1: DailyTaskInfo +} +var file_WorldOwnerDailyTaskNotify_proto_depIdxs = []int32{ + 1, // 0: WorldOwnerDailyTaskNotify.task_list:type_name -> DailyTaskInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldOwnerDailyTaskNotify_proto_init() } +func file_WorldOwnerDailyTaskNotify_proto_init() { + if File_WorldOwnerDailyTaskNotify_proto != nil { + return + } + file_DailyTaskInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldOwnerDailyTaskNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldOwnerDailyTaskNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldOwnerDailyTaskNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldOwnerDailyTaskNotify_proto_goTypes, + DependencyIndexes: file_WorldOwnerDailyTaskNotify_proto_depIdxs, + MessageInfos: file_WorldOwnerDailyTaskNotify_proto_msgTypes, + }.Build() + File_WorldOwnerDailyTaskNotify_proto = out.File + file_WorldOwnerDailyTaskNotify_proto_rawDesc = nil + file_WorldOwnerDailyTaskNotify_proto_goTypes = nil + file_WorldOwnerDailyTaskNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.proto b/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.proto new file mode 100644 index 00000000..2a63d0fc --- /dev/null +++ b/gate-hk4e-api/proto/WorldOwnerDailyTaskNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DailyTaskInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 102 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldOwnerDailyTaskNotify { + uint32 filter_city_id = 2; + repeated DailyTaskInfo task_list = 1; +} diff --git a/gate-hk4e-api/proto/WorldPlayerDieNotify.pb.go b/gate-hk4e-api/proto/WorldPlayerDieNotify.pb.go new file mode 100644 index 00000000..c7b4dd64 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerDieNotify.pb.go @@ -0,0 +1,228 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerDieNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 285 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldPlayerDieNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DieType PlayerDieType `protobuf:"varint,12,opt,name=die_type,json=dieType,proto3,enum=PlayerDieType" json:"die_type,omitempty"` + MurdererEntityId uint32 `protobuf:"varint,15,opt,name=murderer_entity_id,json=murdererEntityId,proto3" json:"murderer_entity_id,omitempty"` + // Types that are assignable to Entity: + // *WorldPlayerDieNotify_MonsterId + // *WorldPlayerDieNotify_GadgetId + Entity isWorldPlayerDieNotify_Entity `protobuf_oneof:"entity"` +} + +func (x *WorldPlayerDieNotify) Reset() { + *x = WorldPlayerDieNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerDieNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerDieNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerDieNotify) ProtoMessage() {} + +func (x *WorldPlayerDieNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerDieNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerDieNotify.ProtoReflect.Descriptor instead. +func (*WorldPlayerDieNotify) Descriptor() ([]byte, []int) { + return file_WorldPlayerDieNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldPlayerDieNotify) GetDieType() PlayerDieType { + if x != nil { + return x.DieType + } + return PlayerDieType_PLAYER_DIE_TYPE_NONE +} + +func (x *WorldPlayerDieNotify) GetMurdererEntityId() uint32 { + if x != nil { + return x.MurdererEntityId + } + return 0 +} + +func (m *WorldPlayerDieNotify) GetEntity() isWorldPlayerDieNotify_Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (x *WorldPlayerDieNotify) GetMonsterId() uint32 { + if x, ok := x.GetEntity().(*WorldPlayerDieNotify_MonsterId); ok { + return x.MonsterId + } + return 0 +} + +func (x *WorldPlayerDieNotify) GetGadgetId() uint32 { + if x, ok := x.GetEntity().(*WorldPlayerDieNotify_GadgetId); ok { + return x.GadgetId + } + return 0 +} + +type isWorldPlayerDieNotify_Entity interface { + isWorldPlayerDieNotify_Entity() +} + +type WorldPlayerDieNotify_MonsterId struct { + MonsterId uint32 `protobuf:"varint,8,opt,name=monster_id,json=monsterId,proto3,oneof"` +} + +type WorldPlayerDieNotify_GadgetId struct { + GadgetId uint32 `protobuf:"varint,4,opt,name=gadget_id,json=gadgetId,proto3,oneof"` +} + +func (*WorldPlayerDieNotify_MonsterId) isWorldPlayerDieNotify_Entity() {} + +func (*WorldPlayerDieNotify_GadgetId) isWorldPlayerDieNotify_Entity() {} + +var File_WorldPlayerDieNotify_proto protoreflect.FileDescriptor + +var file_WorldPlayerDieNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x44, 0x69, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x29, 0x0a, 0x08, 0x64, 0x69, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x64, 0x69, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x75, 0x72, 0x64, 0x65, 0x72, 0x65, + 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x10, 0x6d, 0x75, 0x72, 0x64, 0x65, 0x72, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, 0x64, 0x67, 0x65, + 0x74, 0x49, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WorldPlayerDieNotify_proto_rawDescOnce sync.Once + file_WorldPlayerDieNotify_proto_rawDescData = file_WorldPlayerDieNotify_proto_rawDesc +) + +func file_WorldPlayerDieNotify_proto_rawDescGZIP() []byte { + file_WorldPlayerDieNotify_proto_rawDescOnce.Do(func() { + file_WorldPlayerDieNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerDieNotify_proto_rawDescData) + }) + return file_WorldPlayerDieNotify_proto_rawDescData +} + +var file_WorldPlayerDieNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerDieNotify_proto_goTypes = []interface{}{ + (*WorldPlayerDieNotify)(nil), // 0: WorldPlayerDieNotify + (PlayerDieType)(0), // 1: PlayerDieType +} +var file_WorldPlayerDieNotify_proto_depIdxs = []int32{ + 1, // 0: WorldPlayerDieNotify.die_type:type_name -> PlayerDieType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldPlayerDieNotify_proto_init() } +func file_WorldPlayerDieNotify_proto_init() { + if File_WorldPlayerDieNotify_proto != nil { + return + } + file_PlayerDieType_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldPlayerDieNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerDieNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_WorldPlayerDieNotify_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*WorldPlayerDieNotify_MonsterId)(nil), + (*WorldPlayerDieNotify_GadgetId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerDieNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerDieNotify_proto_goTypes, + DependencyIndexes: file_WorldPlayerDieNotify_proto_depIdxs, + MessageInfos: file_WorldPlayerDieNotify_proto_msgTypes, + }.Build() + File_WorldPlayerDieNotify_proto = out.File + file_WorldPlayerDieNotify_proto_rawDesc = nil + file_WorldPlayerDieNotify_proto_goTypes = nil + file_WorldPlayerDieNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerDieNotify.proto b/gate-hk4e-api/proto/WorldPlayerDieNotify.proto new file mode 100644 index 00000000..458b4658 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerDieNotify.proto @@ -0,0 +1,33 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerDieType.proto"; + +option go_package = "./;proto"; + +// CmdId: 285 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldPlayerDieNotify { + PlayerDieType die_type = 12; + uint32 murderer_entity_id = 15; + oneof entity { + uint32 monster_id = 8; + uint32 gadget_id = 4; + } +} diff --git a/gate-hk4e-api/proto/WorldPlayerInfoNotify.pb.go b/gate-hk4e-api/proto/WorldPlayerInfoNotify.pb.go new file mode 100644 index 00000000..cfef024e --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerInfoNotify.pb.go @@ -0,0 +1,197 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerInfoNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3116 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldPlayerInfoNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unk3000_GCJLJCJAADG []*Unk3000_HKHFFDEMNKN `protobuf:"bytes,8,rep,name=Unk3000_GCJLJCJAADG,json=Unk3000GCJLJCJAADG,proto3" json:"Unk3000_GCJLJCJAADG,omitempty"` + PlayerInfoList []*OnlinePlayerInfo `protobuf:"bytes,14,rep,name=player_info_list,json=playerInfoList,proto3" json:"player_info_list,omitempty"` + PlayerUidList []uint32 `protobuf:"varint,11,rep,packed,name=player_uid_list,json=playerUidList,proto3" json:"player_uid_list,omitempty"` +} + +func (x *WorldPlayerInfoNotify) Reset() { + *x = WorldPlayerInfoNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerInfoNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerInfoNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerInfoNotify) ProtoMessage() {} + +func (x *WorldPlayerInfoNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerInfoNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerInfoNotify.ProtoReflect.Descriptor instead. +func (*WorldPlayerInfoNotify) Descriptor() ([]byte, []int) { + return file_WorldPlayerInfoNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldPlayerInfoNotify) GetUnk3000_GCJLJCJAADG() []*Unk3000_HKHFFDEMNKN { + if x != nil { + return x.Unk3000_GCJLJCJAADG + } + return nil +} + +func (x *WorldPlayerInfoNotify) GetPlayerInfoList() []*OnlinePlayerInfo { + if x != nil { + return x.PlayerInfoList + } + return nil +} + +func (x *WorldPlayerInfoNotify) GetPlayerUidList() []uint32 { + if x != nil { + return x.PlayerUidList + } + return nil +} + +var File_WorldPlayerInfoNotify_proto protoreflect.FileDescriptor + +var file_WorldPlayerInfoNotify_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x4f, + 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x48, + 0x4b, 0x48, 0x46, 0x46, 0x44, 0x45, 0x4d, 0x4e, 0x4b, 0x4e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc3, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x45, 0x0a, 0x13, 0x55, 0x6e, + 0x6b, 0x33, 0x30, 0x30, 0x30, 0x5f, 0x47, 0x43, 0x4a, 0x4c, 0x4a, 0x43, 0x4a, 0x41, 0x41, 0x44, + 0x47, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x55, 0x6e, 0x6b, 0x33, 0x30, 0x30, + 0x30, 0x5f, 0x48, 0x4b, 0x48, 0x46, 0x46, 0x44, 0x45, 0x4d, 0x4e, 0x4b, 0x4e, 0x52, 0x12, 0x55, + 0x6e, 0x6b, 0x33, 0x30, 0x30, 0x30, 0x47, 0x43, 0x4a, 0x4c, 0x4a, 0x43, 0x4a, 0x41, 0x41, 0x44, + 0x47, 0x12, 0x3b, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, + 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, + 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldPlayerInfoNotify_proto_rawDescOnce sync.Once + file_WorldPlayerInfoNotify_proto_rawDescData = file_WorldPlayerInfoNotify_proto_rawDesc +) + +func file_WorldPlayerInfoNotify_proto_rawDescGZIP() []byte { + file_WorldPlayerInfoNotify_proto_rawDescOnce.Do(func() { + file_WorldPlayerInfoNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerInfoNotify_proto_rawDescData) + }) + return file_WorldPlayerInfoNotify_proto_rawDescData +} + +var file_WorldPlayerInfoNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerInfoNotify_proto_goTypes = []interface{}{ + (*WorldPlayerInfoNotify)(nil), // 0: WorldPlayerInfoNotify + (*Unk3000_HKHFFDEMNKN)(nil), // 1: Unk3000_HKHFFDEMNKN + (*OnlinePlayerInfo)(nil), // 2: OnlinePlayerInfo +} +var file_WorldPlayerInfoNotify_proto_depIdxs = []int32{ + 1, // 0: WorldPlayerInfoNotify.Unk3000_GCJLJCJAADG:type_name -> Unk3000_HKHFFDEMNKN + 2, // 1: WorldPlayerInfoNotify.player_info_list:type_name -> OnlinePlayerInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WorldPlayerInfoNotify_proto_init() } +func file_WorldPlayerInfoNotify_proto_init() { + if File_WorldPlayerInfoNotify_proto != nil { + return + } + file_OnlinePlayerInfo_proto_init() + file_Unk3000_HKHFFDEMNKN_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldPlayerInfoNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerInfoNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerInfoNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerInfoNotify_proto_goTypes, + DependencyIndexes: file_WorldPlayerInfoNotify_proto_depIdxs, + MessageInfos: file_WorldPlayerInfoNotify_proto_msgTypes, + }.Build() + File_WorldPlayerInfoNotify_proto = out.File + file_WorldPlayerInfoNotify_proto_rawDesc = nil + file_WorldPlayerInfoNotify_proto_goTypes = nil + file_WorldPlayerInfoNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerInfoNotify.proto b/gate-hk4e-api/proto/WorldPlayerInfoNotify.proto new file mode 100644 index 00000000..7e7b6878 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerInfoNotify.proto @@ -0,0 +1,32 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OnlinePlayerInfo.proto"; +import "Unk3000_HKHFFDEMNKN.proto"; + +option go_package = "./;proto"; + +// CmdId: 3116 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldPlayerInfoNotify { + repeated Unk3000_HKHFFDEMNKN Unk3000_GCJLJCJAADG = 8; + repeated OnlinePlayerInfo player_info_list = 14; + repeated uint32 player_uid_list = 11; +} diff --git a/gate-hk4e-api/proto/WorldPlayerLocationNotify.pb.go b/gate-hk4e-api/proto/WorldPlayerLocationNotify.pb.go new file mode 100644 index 00000000..7fc05744 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerLocationNotify.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerLocationNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 258 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldPlayerLocationNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerWorldLocList []*PlayerWorldLocationInfo `protobuf:"bytes,8,rep,name=player_world_loc_list,json=playerWorldLocList,proto3" json:"player_world_loc_list,omitempty"` + PlayerLocList []*PlayerLocationInfo `protobuf:"bytes,15,rep,name=player_loc_list,json=playerLocList,proto3" json:"player_loc_list,omitempty"` +} + +func (x *WorldPlayerLocationNotify) Reset() { + *x = WorldPlayerLocationNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerLocationNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerLocationNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerLocationNotify) ProtoMessage() {} + +func (x *WorldPlayerLocationNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerLocationNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerLocationNotify.ProtoReflect.Descriptor instead. +func (*WorldPlayerLocationNotify) Descriptor() ([]byte, []int) { + return file_WorldPlayerLocationNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldPlayerLocationNotify) GetPlayerWorldLocList() []*PlayerWorldLocationInfo { + if x != nil { + return x.PlayerWorldLocList + } + return nil +} + +func (x *WorldPlayerLocationNotify) GetPlayerLocList() []*PlayerLocationInfo { + if x != nil { + return x.PlayerLocList + } + return nil +} + +var File_WorldPlayerLocationNotify_proto protoreflect.FileDescriptor + +var file_WorldPlayerLocationNotify_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x19, 0x57, + 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x4b, 0x0a, 0x15, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x5f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x12, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x4c, 0x6f, + 0x63, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, + 0x6c, 0x6f, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, + 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldPlayerLocationNotify_proto_rawDescOnce sync.Once + file_WorldPlayerLocationNotify_proto_rawDescData = file_WorldPlayerLocationNotify_proto_rawDesc +) + +func file_WorldPlayerLocationNotify_proto_rawDescGZIP() []byte { + file_WorldPlayerLocationNotify_proto_rawDescOnce.Do(func() { + file_WorldPlayerLocationNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerLocationNotify_proto_rawDescData) + }) + return file_WorldPlayerLocationNotify_proto_rawDescData +} + +var file_WorldPlayerLocationNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerLocationNotify_proto_goTypes = []interface{}{ + (*WorldPlayerLocationNotify)(nil), // 0: WorldPlayerLocationNotify + (*PlayerWorldLocationInfo)(nil), // 1: PlayerWorldLocationInfo + (*PlayerLocationInfo)(nil), // 2: PlayerLocationInfo +} +var file_WorldPlayerLocationNotify_proto_depIdxs = []int32{ + 1, // 0: WorldPlayerLocationNotify.player_world_loc_list:type_name -> PlayerWorldLocationInfo + 2, // 1: WorldPlayerLocationNotify.player_loc_list:type_name -> PlayerLocationInfo + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_WorldPlayerLocationNotify_proto_init() } +func file_WorldPlayerLocationNotify_proto_init() { + if File_WorldPlayerLocationNotify_proto != nil { + return + } + file_PlayerLocationInfo_proto_init() + file_PlayerWorldLocationInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldPlayerLocationNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerLocationNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerLocationNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerLocationNotify_proto_goTypes, + DependencyIndexes: file_WorldPlayerLocationNotify_proto_depIdxs, + MessageInfos: file_WorldPlayerLocationNotify_proto_msgTypes, + }.Build() + File_WorldPlayerLocationNotify_proto = out.File + file_WorldPlayerLocationNotify_proto_rawDesc = nil + file_WorldPlayerLocationNotify_proto_goTypes = nil + file_WorldPlayerLocationNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerLocationNotify.proto b/gate-hk4e-api/proto/WorldPlayerLocationNotify.proto new file mode 100644 index 00000000..40670b2f --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerLocationNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerLocationInfo.proto"; +import "PlayerWorldLocationInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 258 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldPlayerLocationNotify { + repeated PlayerWorldLocationInfo player_world_loc_list = 8; + repeated PlayerLocationInfo player_loc_list = 15; +} diff --git a/gate-hk4e-api/proto/WorldPlayerRTTNotify.pb.go b/gate-hk4e-api/proto/WorldPlayerRTTNotify.pb.go new file mode 100644 index 00000000..ae08d439 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerRTTNotify.pb.go @@ -0,0 +1,168 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerRTTNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 22 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldPlayerRTTNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerRttList []*PlayerRTTInfo `protobuf:"bytes,1,rep,name=player_rtt_list,json=playerRttList,proto3" json:"player_rtt_list,omitempty"` +} + +func (x *WorldPlayerRTTNotify) Reset() { + *x = WorldPlayerRTTNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerRTTNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerRTTNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerRTTNotify) ProtoMessage() {} + +func (x *WorldPlayerRTTNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerRTTNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerRTTNotify.ProtoReflect.Descriptor instead. +func (*WorldPlayerRTTNotify) Descriptor() ([]byte, []int) { + return file_WorldPlayerRTTNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldPlayerRTTNotify) GetPlayerRttList() []*PlayerRTTInfo { + if x != nil { + return x.PlayerRttList + } + return nil +} + +var File_WorldPlayerRTTNotify_proto protoreflect.FileDescriptor + +var file_WorldPlayerRTTNotify_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x54, 0x54, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x52, 0x54, 0x54, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x4e, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x52, 0x54, 0x54, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x36, 0x0a, 0x0f, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x5f, 0x72, 0x74, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x54, 0x54, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x74, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldPlayerRTTNotify_proto_rawDescOnce sync.Once + file_WorldPlayerRTTNotify_proto_rawDescData = file_WorldPlayerRTTNotify_proto_rawDesc +) + +func file_WorldPlayerRTTNotify_proto_rawDescGZIP() []byte { + file_WorldPlayerRTTNotify_proto_rawDescOnce.Do(func() { + file_WorldPlayerRTTNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerRTTNotify_proto_rawDescData) + }) + return file_WorldPlayerRTTNotify_proto_rawDescData +} + +var file_WorldPlayerRTTNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerRTTNotify_proto_goTypes = []interface{}{ + (*WorldPlayerRTTNotify)(nil), // 0: WorldPlayerRTTNotify + (*PlayerRTTInfo)(nil), // 1: PlayerRTTInfo +} +var file_WorldPlayerRTTNotify_proto_depIdxs = []int32{ + 1, // 0: WorldPlayerRTTNotify.player_rtt_list:type_name -> PlayerRTTInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldPlayerRTTNotify_proto_init() } +func file_WorldPlayerRTTNotify_proto_init() { + if File_WorldPlayerRTTNotify_proto != nil { + return + } + file_PlayerRTTInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldPlayerRTTNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerRTTNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerRTTNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerRTTNotify_proto_goTypes, + DependencyIndexes: file_WorldPlayerRTTNotify_proto_depIdxs, + MessageInfos: file_WorldPlayerRTTNotify_proto_msgTypes, + }.Build() + File_WorldPlayerRTTNotify_proto = out.File + file_WorldPlayerRTTNotify_proto_rawDesc = nil + file_WorldPlayerRTTNotify_proto_goTypes = nil + file_WorldPlayerRTTNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerRTTNotify.proto b/gate-hk4e-api/proto/WorldPlayerRTTNotify.proto new file mode 100644 index 00000000..6d84d301 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerRTTNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PlayerRTTInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 22 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldPlayerRTTNotify { + repeated PlayerRTTInfo player_rtt_list = 1; +} diff --git a/gate-hk4e-api/proto/WorldPlayerReviveReq.pb.go b/gate-hk4e-api/proto/WorldPlayerReviveReq.pb.go new file mode 100644 index 00000000..3314c666 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerReviveReq.pb.go @@ -0,0 +1,152 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerReviveReq.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 225 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +type WorldPlayerReviveReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WorldPlayerReviveReq) Reset() { + *x = WorldPlayerReviveReq{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerReviveReq_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerReviveReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerReviveReq) ProtoMessage() {} + +func (x *WorldPlayerReviveReq) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerReviveReq_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerReviveReq.ProtoReflect.Descriptor instead. +func (*WorldPlayerReviveReq) Descriptor() ([]byte, []int) { + return file_WorldPlayerReviveReq_proto_rawDescGZIP(), []int{0} +} + +var File_WorldPlayerReviveReq_proto protoreflect.FileDescriptor + +var file_WorldPlayerReviveReq_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x76, + 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x76, 0x69, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldPlayerReviveReq_proto_rawDescOnce sync.Once + file_WorldPlayerReviveReq_proto_rawDescData = file_WorldPlayerReviveReq_proto_rawDesc +) + +func file_WorldPlayerReviveReq_proto_rawDescGZIP() []byte { + file_WorldPlayerReviveReq_proto_rawDescOnce.Do(func() { + file_WorldPlayerReviveReq_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerReviveReq_proto_rawDescData) + }) + return file_WorldPlayerReviveReq_proto_rawDescData +} + +var file_WorldPlayerReviveReq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerReviveReq_proto_goTypes = []interface{}{ + (*WorldPlayerReviveReq)(nil), // 0: WorldPlayerReviveReq +} +var file_WorldPlayerReviveReq_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorldPlayerReviveReq_proto_init() } +func file_WorldPlayerReviveReq_proto_init() { + if File_WorldPlayerReviveReq_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorldPlayerReviveReq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerReviveReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerReviveReq_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerReviveReq_proto_goTypes, + DependencyIndexes: file_WorldPlayerReviveReq_proto_depIdxs, + MessageInfos: file_WorldPlayerReviveReq_proto_msgTypes, + }.Build() + File_WorldPlayerReviveReq_proto = out.File + file_WorldPlayerReviveReq_proto_rawDesc = nil + file_WorldPlayerReviveReq_proto_goTypes = nil + file_WorldPlayerReviveReq_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerReviveReq.proto b/gate-hk4e-api/proto/WorldPlayerReviveReq.proto new file mode 100644 index 00000000..74f3e2b4 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerReviveReq.proto @@ -0,0 +1,25 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 225 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message WorldPlayerReviveReq {} diff --git a/gate-hk4e-api/proto/WorldPlayerReviveRsp.pb.go b/gate-hk4e-api/proto/WorldPlayerReviveRsp.pb.go new file mode 100644 index 00000000..83936d51 --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerReviveRsp.pb.go @@ -0,0 +1,162 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldPlayerReviveRsp.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 278 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldPlayerReviveRsp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Retcode int32 `protobuf:"varint,3,opt,name=retcode,proto3" json:"retcode,omitempty"` +} + +func (x *WorldPlayerReviveRsp) Reset() { + *x = WorldPlayerReviveRsp{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldPlayerReviveRsp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldPlayerReviveRsp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldPlayerReviveRsp) ProtoMessage() {} + +func (x *WorldPlayerReviveRsp) ProtoReflect() protoreflect.Message { + mi := &file_WorldPlayerReviveRsp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldPlayerReviveRsp.ProtoReflect.Descriptor instead. +func (*WorldPlayerReviveRsp) Descriptor() ([]byte, []int) { + return file_WorldPlayerReviveRsp_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldPlayerReviveRsp) GetRetcode() int32 { + if x != nil { + return x.Retcode + } + return 0 +} + +var File_WorldPlayerReviveRsp_proto protoreflect.FileDescriptor + +var file_WorldPlayerReviveRsp_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x76, + 0x69, 0x76, 0x65, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x14, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x76, 0x69, 0x76, + 0x65, 0x52, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0a, + 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_WorldPlayerReviveRsp_proto_rawDescOnce sync.Once + file_WorldPlayerReviveRsp_proto_rawDescData = file_WorldPlayerReviveRsp_proto_rawDesc +) + +func file_WorldPlayerReviveRsp_proto_rawDescGZIP() []byte { + file_WorldPlayerReviveRsp_proto_rawDescOnce.Do(func() { + file_WorldPlayerReviveRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldPlayerReviveRsp_proto_rawDescData) + }) + return file_WorldPlayerReviveRsp_proto_rawDescData +} + +var file_WorldPlayerReviveRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldPlayerReviveRsp_proto_goTypes = []interface{}{ + (*WorldPlayerReviveRsp)(nil), // 0: WorldPlayerReviveRsp +} +var file_WorldPlayerReviveRsp_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorldPlayerReviveRsp_proto_init() } +func file_WorldPlayerReviveRsp_proto_init() { + if File_WorldPlayerReviveRsp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorldPlayerReviveRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldPlayerReviveRsp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldPlayerReviveRsp_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldPlayerReviveRsp_proto_goTypes, + DependencyIndexes: file_WorldPlayerReviveRsp_proto_depIdxs, + MessageInfos: file_WorldPlayerReviveRsp_proto_msgTypes, + }.Build() + File_WorldPlayerReviveRsp_proto = out.File + file_WorldPlayerReviveRsp_proto_rawDesc = nil + file_WorldPlayerReviveRsp_proto_goTypes = nil + file_WorldPlayerReviveRsp_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldPlayerReviveRsp.proto b/gate-hk4e-api/proto/WorldPlayerReviveRsp.proto new file mode 100644 index 00000000..9cbbbe5f --- /dev/null +++ b/gate-hk4e-api/proto/WorldPlayerReviveRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 278 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldPlayerReviveRsp { + int32 retcode = 3; +} diff --git a/gate-hk4e-api/proto/WorldRoutineChangeNotify.pb.go b/gate-hk4e-api/proto/WorldRoutineChangeNotify.pb.go new file mode 100644 index 00000000..3ca292a6 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineChangeNotify.pb.go @@ -0,0 +1,179 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldRoutineChangeNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3507 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldRoutineChangeNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutineInfo *WorldRoutineInfo `protobuf:"bytes,3,opt,name=routine_info,json=routineInfo,proto3" json:"routine_info,omitempty"` + RoutineType uint32 `protobuf:"varint,11,opt,name=routine_type,json=routineType,proto3" json:"routine_type,omitempty"` +} + +func (x *WorldRoutineChangeNotify) Reset() { + *x = WorldRoutineChangeNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldRoutineChangeNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldRoutineChangeNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldRoutineChangeNotify) ProtoMessage() {} + +func (x *WorldRoutineChangeNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldRoutineChangeNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldRoutineChangeNotify.ProtoReflect.Descriptor instead. +func (*WorldRoutineChangeNotify) Descriptor() ([]byte, []int) { + return file_WorldRoutineChangeNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldRoutineChangeNotify) GetRoutineInfo() *WorldRoutineInfo { + if x != nil { + return x.RoutineInfo + } + return nil +} + +func (x *WorldRoutineChangeNotify) GetRoutineType() uint32 { + if x != nil { + return x.RoutineType + } + return 0 +} + +var File_WorldRoutineChangeNotify_proto protoreflect.FileDescriptor + +var file_WorldRoutineChangeNotify_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x12, 0x34, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x57, 0x6f, 0x72, + 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x72, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, + 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_WorldRoutineChangeNotify_proto_rawDescOnce sync.Once + file_WorldRoutineChangeNotify_proto_rawDescData = file_WorldRoutineChangeNotify_proto_rawDesc +) + +func file_WorldRoutineChangeNotify_proto_rawDescGZIP() []byte { + file_WorldRoutineChangeNotify_proto_rawDescOnce.Do(func() { + file_WorldRoutineChangeNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldRoutineChangeNotify_proto_rawDescData) + }) + return file_WorldRoutineChangeNotify_proto_rawDescData +} + +var file_WorldRoutineChangeNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldRoutineChangeNotify_proto_goTypes = []interface{}{ + (*WorldRoutineChangeNotify)(nil), // 0: WorldRoutineChangeNotify + (*WorldRoutineInfo)(nil), // 1: WorldRoutineInfo +} +var file_WorldRoutineChangeNotify_proto_depIdxs = []int32{ + 1, // 0: WorldRoutineChangeNotify.routine_info:type_name -> WorldRoutineInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldRoutineChangeNotify_proto_init() } +func file_WorldRoutineChangeNotify_proto_init() { + if File_WorldRoutineChangeNotify_proto != nil { + return + } + file_WorldRoutineInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldRoutineChangeNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldRoutineChangeNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldRoutineChangeNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldRoutineChangeNotify_proto_goTypes, + DependencyIndexes: file_WorldRoutineChangeNotify_proto_depIdxs, + MessageInfos: file_WorldRoutineChangeNotify_proto_msgTypes, + }.Build() + File_WorldRoutineChangeNotify_proto = out.File + file_WorldRoutineChangeNotify_proto_rawDesc = nil + file_WorldRoutineChangeNotify_proto_goTypes = nil + file_WorldRoutineChangeNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldRoutineChangeNotify.proto b/gate-hk4e-api/proto/WorldRoutineChangeNotify.proto new file mode 100644 index 00000000..ae6af2c0 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineChangeNotify.proto @@ -0,0 +1,29 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WorldRoutineInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3507 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldRoutineChangeNotify { + WorldRoutineInfo routine_info = 3; + uint32 routine_type = 11; +} diff --git a/gate-hk4e-api/proto/WorldRoutineInfo.pb.go b/gate-hk4e-api/proto/WorldRoutineInfo.pb.go new file mode 100644 index 00000000..ae81b0ea --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineInfo.pb.go @@ -0,0 +1,189 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldRoutineInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WorldRoutineInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Progress uint32 `protobuf:"varint,4,opt,name=progress,proto3" json:"progress,omitempty"` + IsFinished bool `protobuf:"varint,14,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` + FinishProgress uint32 `protobuf:"varint,3,opt,name=finish_progress,json=finishProgress,proto3" json:"finish_progress,omitempty"` + RoutineId uint32 `protobuf:"varint,11,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"` +} + +func (x *WorldRoutineInfo) Reset() { + *x = WorldRoutineInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldRoutineInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldRoutineInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldRoutineInfo) ProtoMessage() {} + +func (x *WorldRoutineInfo) ProtoReflect() protoreflect.Message { + mi := &file_WorldRoutineInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldRoutineInfo.ProtoReflect.Descriptor instead. +func (*WorldRoutineInfo) Descriptor() ([]byte, []int) { + return file_WorldRoutineInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldRoutineInfo) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *WorldRoutineInfo) GetIsFinished() bool { + if x != nil { + return x.IsFinished + } + return false +} + +func (x *WorldRoutineInfo) GetFinishProgress() uint32 { + if x != nil { + return x.FinishProgress + } + return 0 +} + +func (x *WorldRoutineInfo) GetRoutineId() uint32 { + if x != nil { + return x.RoutineId + } + return 0 +} + +var File_WorldRoutineInfo_proto protoreflect.FileDescriptor + +var file_WorldRoutineInfo_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x57, 0x6f, 0x72, + 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, + 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldRoutineInfo_proto_rawDescOnce sync.Once + file_WorldRoutineInfo_proto_rawDescData = file_WorldRoutineInfo_proto_rawDesc +) + +func file_WorldRoutineInfo_proto_rawDescGZIP() []byte { + file_WorldRoutineInfo_proto_rawDescOnce.Do(func() { + file_WorldRoutineInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldRoutineInfo_proto_rawDescData) + }) + return file_WorldRoutineInfo_proto_rawDescData +} + +var file_WorldRoutineInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldRoutineInfo_proto_goTypes = []interface{}{ + (*WorldRoutineInfo)(nil), // 0: WorldRoutineInfo +} +var file_WorldRoutineInfo_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorldRoutineInfo_proto_init() } +func file_WorldRoutineInfo_proto_init() { + if File_WorldRoutineInfo_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorldRoutineInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldRoutineInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldRoutineInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldRoutineInfo_proto_goTypes, + DependencyIndexes: file_WorldRoutineInfo_proto_depIdxs, + MessageInfos: file_WorldRoutineInfo_proto_msgTypes, + }.Build() + File_WorldRoutineInfo_proto = out.File + file_WorldRoutineInfo_proto_rawDesc = nil + file_WorldRoutineInfo_proto_goTypes = nil + file_WorldRoutineInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldRoutineInfo.proto b/gate-hk4e-api/proto/WorldRoutineInfo.proto new file mode 100644 index 00000000..46ba771a --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineInfo.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +message WorldRoutineInfo { + uint32 progress = 4; + bool is_finished = 14; + uint32 finish_progress = 3; + uint32 routine_id = 11; +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.pb.go b/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.pb.go new file mode 100644 index 00000000..edb94251 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.pb.go @@ -0,0 +1,163 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldRoutineTypeCloseNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3502 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldRoutineTypeCloseNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutineType uint32 `protobuf:"varint,7,opt,name=routine_type,json=routineType,proto3" json:"routine_type,omitempty"` +} + +func (x *WorldRoutineTypeCloseNotify) Reset() { + *x = WorldRoutineTypeCloseNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldRoutineTypeCloseNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldRoutineTypeCloseNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldRoutineTypeCloseNotify) ProtoMessage() {} + +func (x *WorldRoutineTypeCloseNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldRoutineTypeCloseNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldRoutineTypeCloseNotify.ProtoReflect.Descriptor instead. +func (*WorldRoutineTypeCloseNotify) Descriptor() ([]byte, []int) { + return file_WorldRoutineTypeCloseNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldRoutineTypeCloseNotify) GetRoutineType() uint32 { + if x != nil { + return x.RoutineType + } + return 0 +} + +var File_WorldRoutineTypeCloseNotify_proto protoreflect.FileDescriptor + +var file_WorldRoutineTypeCloseNotify_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldRoutineTypeCloseNotify_proto_rawDescOnce sync.Once + file_WorldRoutineTypeCloseNotify_proto_rawDescData = file_WorldRoutineTypeCloseNotify_proto_rawDesc +) + +func file_WorldRoutineTypeCloseNotify_proto_rawDescGZIP() []byte { + file_WorldRoutineTypeCloseNotify_proto_rawDescOnce.Do(func() { + file_WorldRoutineTypeCloseNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldRoutineTypeCloseNotify_proto_rawDescData) + }) + return file_WorldRoutineTypeCloseNotify_proto_rawDescData +} + +var file_WorldRoutineTypeCloseNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldRoutineTypeCloseNotify_proto_goTypes = []interface{}{ + (*WorldRoutineTypeCloseNotify)(nil), // 0: WorldRoutineTypeCloseNotify +} +var file_WorldRoutineTypeCloseNotify_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_WorldRoutineTypeCloseNotify_proto_init() } +func file_WorldRoutineTypeCloseNotify_proto_init() { + if File_WorldRoutineTypeCloseNotify_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_WorldRoutineTypeCloseNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldRoutineTypeCloseNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldRoutineTypeCloseNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldRoutineTypeCloseNotify_proto_goTypes, + DependencyIndexes: file_WorldRoutineTypeCloseNotify_proto_depIdxs, + MessageInfos: file_WorldRoutineTypeCloseNotify_proto_msgTypes, + }.Build() + File_WorldRoutineTypeCloseNotify_proto = out.File + file_WorldRoutineTypeCloseNotify_proto_rawDesc = nil + file_WorldRoutineTypeCloseNotify_proto_goTypes = nil + file_WorldRoutineTypeCloseNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.proto b/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.proto new file mode 100644 index 00000000..c80c45e7 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeCloseNotify.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option go_package = "./;proto"; + +// CmdId: 3502 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldRoutineTypeCloseNotify { + uint32 routine_type = 7; +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeInfo.pb.go b/gate-hk4e-api/proto/WorldRoutineTypeInfo.pb.go new file mode 100644 index 00000000..9f11cad5 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeInfo.pb.go @@ -0,0 +1,187 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldRoutineTypeInfo.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WorldRoutineTypeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutineType uint32 `protobuf:"varint,13,opt,name=routine_type,json=routineType,proto3" json:"routine_type,omitempty"` + NextRefreshTime uint32 `protobuf:"varint,12,opt,name=next_refresh_time,json=nextRefreshTime,proto3" json:"next_refresh_time,omitempty"` + WorldRoutineInfoList []*WorldRoutineInfo `protobuf:"bytes,3,rep,name=world_routine_info_list,json=worldRoutineInfoList,proto3" json:"world_routine_info_list,omitempty"` +} + +func (x *WorldRoutineTypeInfo) Reset() { + *x = WorldRoutineTypeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldRoutineTypeInfo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldRoutineTypeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldRoutineTypeInfo) ProtoMessage() {} + +func (x *WorldRoutineTypeInfo) ProtoReflect() protoreflect.Message { + mi := &file_WorldRoutineTypeInfo_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldRoutineTypeInfo.ProtoReflect.Descriptor instead. +func (*WorldRoutineTypeInfo) Descriptor() ([]byte, []int) { + return file_WorldRoutineTypeInfo_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldRoutineTypeInfo) GetRoutineType() uint32 { + if x != nil { + return x.RoutineType + } + return 0 +} + +func (x *WorldRoutineTypeInfo) GetNextRefreshTime() uint32 { + if x != nil { + return x.NextRefreshTime + } + return 0 +} + +func (x *WorldRoutineTypeInfo) GetWorldRoutineInfoList() []*WorldRoutineInfo { + if x != nil { + return x.WorldRoutineInfoList + } + return nil +} + +var File_WorldRoutineTypeInfo_proto protoreflect.FileDescriptor + +var file_WorldRoutineTypeInfo_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x57, 0x6f, + 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, + 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x17, + 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldRoutineTypeInfo_proto_rawDescOnce sync.Once + file_WorldRoutineTypeInfo_proto_rawDescData = file_WorldRoutineTypeInfo_proto_rawDesc +) + +func file_WorldRoutineTypeInfo_proto_rawDescGZIP() []byte { + file_WorldRoutineTypeInfo_proto_rawDescOnce.Do(func() { + file_WorldRoutineTypeInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldRoutineTypeInfo_proto_rawDescData) + }) + return file_WorldRoutineTypeInfo_proto_rawDescData +} + +var file_WorldRoutineTypeInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldRoutineTypeInfo_proto_goTypes = []interface{}{ + (*WorldRoutineTypeInfo)(nil), // 0: WorldRoutineTypeInfo + (*WorldRoutineInfo)(nil), // 1: WorldRoutineInfo +} +var file_WorldRoutineTypeInfo_proto_depIdxs = []int32{ + 1, // 0: WorldRoutineTypeInfo.world_routine_info_list:type_name -> WorldRoutineInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldRoutineTypeInfo_proto_init() } +func file_WorldRoutineTypeInfo_proto_init() { + if File_WorldRoutineTypeInfo_proto != nil { + return + } + file_WorldRoutineInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldRoutineTypeInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldRoutineTypeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldRoutineTypeInfo_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldRoutineTypeInfo_proto_goTypes, + DependencyIndexes: file_WorldRoutineTypeInfo_proto_depIdxs, + MessageInfos: file_WorldRoutineTypeInfo_proto_msgTypes, + }.Build() + File_WorldRoutineTypeInfo_proto = out.File + file_WorldRoutineTypeInfo_proto_rawDesc = nil + file_WorldRoutineTypeInfo_proto_goTypes = nil + file_WorldRoutineTypeInfo_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeInfo.proto b/gate-hk4e-api/proto/WorldRoutineTypeInfo.proto new file mode 100644 index 00000000..2ff2c8b3 --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeInfo.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WorldRoutineInfo.proto"; + +option go_package = "./;proto"; + +message WorldRoutineTypeInfo { + uint32 routine_type = 13; + uint32 next_refresh_time = 12; + repeated WorldRoutineInfo world_routine_info_list = 3; +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.pb.go b/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.pb.go new file mode 100644 index 00000000..b3e3ccdc --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.pb.go @@ -0,0 +1,170 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.7.0 +// source: WorldRoutineTypeRefreshNotify.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CmdId: 3525 +// EnetChannelId: 0 +// EnetIsReliable: true +type WorldRoutineTypeRefreshNotify struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorldRoutineType *WorldRoutineTypeInfo `protobuf:"bytes,7,opt,name=world_routine_type,json=worldRoutineType,proto3" json:"world_routine_type,omitempty"` +} + +func (x *WorldRoutineTypeRefreshNotify) Reset() { + *x = WorldRoutineTypeRefreshNotify{} + if protoimpl.UnsafeEnabled { + mi := &file_WorldRoutineTypeRefreshNotify_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldRoutineTypeRefreshNotify) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldRoutineTypeRefreshNotify) ProtoMessage() {} + +func (x *WorldRoutineTypeRefreshNotify) ProtoReflect() protoreflect.Message { + mi := &file_WorldRoutineTypeRefreshNotify_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldRoutineTypeRefreshNotify.ProtoReflect.Descriptor instead. +func (*WorldRoutineTypeRefreshNotify) Descriptor() ([]byte, []int) { + return file_WorldRoutineTypeRefreshNotify_proto_rawDescGZIP(), []int{0} +} + +func (x *WorldRoutineTypeRefreshNotify) GetWorldRoutineType() *WorldRoutineTypeInfo { + if x != nil { + return x.WorldRoutineType + } + return nil +} + +var File_WorldRoutineTypeRefreshNotify_proto protoreflect.FileDescriptor + +var file_WorldRoutineTypeRefreshNotify_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x64, 0x0a, 0x1d, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_WorldRoutineTypeRefreshNotify_proto_rawDescOnce sync.Once + file_WorldRoutineTypeRefreshNotify_proto_rawDescData = file_WorldRoutineTypeRefreshNotify_proto_rawDesc +) + +func file_WorldRoutineTypeRefreshNotify_proto_rawDescGZIP() []byte { + file_WorldRoutineTypeRefreshNotify_proto_rawDescOnce.Do(func() { + file_WorldRoutineTypeRefreshNotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_WorldRoutineTypeRefreshNotify_proto_rawDescData) + }) + return file_WorldRoutineTypeRefreshNotify_proto_rawDescData +} + +var file_WorldRoutineTypeRefreshNotify_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_WorldRoutineTypeRefreshNotify_proto_goTypes = []interface{}{ + (*WorldRoutineTypeRefreshNotify)(nil), // 0: WorldRoutineTypeRefreshNotify + (*WorldRoutineTypeInfo)(nil), // 1: WorldRoutineTypeInfo +} +var file_WorldRoutineTypeRefreshNotify_proto_depIdxs = []int32{ + 1, // 0: WorldRoutineTypeRefreshNotify.world_routine_type:type_name -> WorldRoutineTypeInfo + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_WorldRoutineTypeRefreshNotify_proto_init() } +func file_WorldRoutineTypeRefreshNotify_proto_init() { + if File_WorldRoutineTypeRefreshNotify_proto != nil { + return + } + file_WorldRoutineTypeInfo_proto_init() + if !protoimpl.UnsafeEnabled { + file_WorldRoutineTypeRefreshNotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldRoutineTypeRefreshNotify); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_WorldRoutineTypeRefreshNotify_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_WorldRoutineTypeRefreshNotify_proto_goTypes, + DependencyIndexes: file_WorldRoutineTypeRefreshNotify_proto_depIdxs, + MessageInfos: file_WorldRoutineTypeRefreshNotify_proto_msgTypes, + }.Build() + File_WorldRoutineTypeRefreshNotify_proto = out.File + file_WorldRoutineTypeRefreshNotify_proto_rawDesc = nil + file_WorldRoutineTypeRefreshNotify_proto_goTypes = nil + file_WorldRoutineTypeRefreshNotify_proto_depIdxs = nil +} diff --git a/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.proto b/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.proto new file mode 100644 index 00000000..1f78d49c --- /dev/null +++ b/gate-hk4e-api/proto/WorldRoutineTypeRefreshNotify.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "WorldRoutineTypeInfo.proto"; + +option go_package = "./;proto"; + +// CmdId: 3525 +// EnetChannelId: 0 +// EnetIsReliable: true +message WorldRoutineTypeRefreshNotify { + WorldRoutineTypeInfo world_routine_type = 7; +} diff --git a/gate-hk4e-api/proto/a_top_api_id.go b/gate-hk4e-api/proto/a_top_api_id.go new file mode 100644 index 00000000..5bc7e223 --- /dev/null +++ b/gate-hk4e-api/proto/a_top_api_id.go @@ -0,0 +1,1908 @@ +package proto + +const ( + ApiAbilityChangeNotify uint16 = 1131 + ApiAbilityInvocationFailNotify uint16 = 1107 + ApiAbilityInvocationFixedNotify uint16 = 1172 + ApiAbilityInvocationsNotify uint16 = 1198 + ApiAcceptCityReputationRequestReq uint16 = 2890 + ApiAcceptCityReputationRequestRsp uint16 = 2873 + ApiAchievementAllDataNotify uint16 = 2676 + ApiAchievementUpdateNotify uint16 = 2668 + ApiActivityCoinInfoNotify uint16 = 2008 + ApiActivityCondStateChangeNotify uint16 = 2140 + ApiActivityDisableTransferPointInteractionNotify uint16 = 8982 + ApiActivityInfoNotify uint16 = 2060 + ApiActivityPlayOpenAnimNotify uint16 = 2157 + ApiActivitySaleChangeNotify uint16 = 2071 + ApiActivityScheduleInfoNotify uint16 = 2073 + ApiActivitySelectAvatarCardReq uint16 = 2028 + ApiActivitySelectAvatarCardRsp uint16 = 2189 + ApiActivityTakeAllScoreRewardReq uint16 = 8372 + ApiActivityTakeAllScoreRewardRsp uint16 = 8043 + ApiActivityTakeScoreRewardReq uint16 = 8971 + ApiActivityTakeScoreRewardRsp uint16 = 8583 + ApiActivityTakeWatcherRewardBatchReq uint16 = 2159 + ApiActivityTakeWatcherRewardBatchRsp uint16 = 2109 + ApiActivityTakeWatcherRewardReq uint16 = 2038 + ApiActivityTakeWatcherRewardRsp uint16 = 2034 + ApiActivityUpdateWatcherNotify uint16 = 2156 + ApiAddBlacklistReq uint16 = 4088 + ApiAddBlacklistRsp uint16 = 4026 + ApiAddFriendNotify uint16 = 4022 + ApiAddNoGachaAvatarCardNotify uint16 = 1655 + ApiAddQuestContentProgressReq uint16 = 421 + ApiAddQuestContentProgressRsp uint16 = 403 + ApiAddRandTaskInfoNotify uint16 = 119 + ApiAddSeenMonsterNotify uint16 = 223 + ApiAdjustWorldLevelReq uint16 = 164 + ApiAdjustWorldLevelRsp uint16 = 138 + ApiAllCoopInfoNotify uint16 = 1976 + ApiAllMarkPointNotify uint16 = 3283 + ApiAllSeenMonsterNotify uint16 = 271 + ApiAllWidgetDataNotify uint16 = 4271 + ApiAnchorPointDataNotify uint16 = 4276 + ApiAnchorPointOpReq uint16 = 4257 + ApiAnchorPointOpRsp uint16 = 4252 + ApiAnimatorForceSetAirMoveNotify uint16 = 374 + ApiAntiAddictNotify uint16 = 180 + ApiArenaChallengeFinishNotify uint16 = 2030 + ApiAskAddFriendNotify uint16 = 4065 + ApiAskAddFriendReq uint16 = 4007 + ApiAskAddFriendRsp uint16 = 4021 + ApiAsterLargeInfoNotify uint16 = 2146 + ApiAsterLittleInfoNotify uint16 = 2068 + ApiAsterMidCampInfoNotify uint16 = 2133 + ApiAsterMidInfoNotify uint16 = 2031 + ApiAsterMiscInfoNotify uint16 = 2036 + ApiAsterProgressInfoNotify uint16 = 2016 + ApiAvatarAddNotify uint16 = 1769 + ApiAvatarBuffAddNotify uint16 = 388 + ApiAvatarBuffDelNotify uint16 = 326 + ApiAvatarCardChangeReq uint16 = 688 + ApiAvatarCardChangeRsp uint16 = 626 + ApiAvatarChangeAnimHashReq uint16 = 1711 + ApiAvatarChangeAnimHashRsp uint16 = 1647 + ApiAvatarChangeCostumeNotify uint16 = 1644 + ApiAvatarChangeCostumeReq uint16 = 1778 + ApiAvatarChangeCostumeRsp uint16 = 1645 + ApiAvatarChangeElementTypeReq uint16 = 1785 + ApiAvatarChangeElementTypeRsp uint16 = 1651 + ApiAvatarDataNotify uint16 = 1633 + ApiAvatarDelNotify uint16 = 1773 + ApiAvatarDieAnimationEndReq uint16 = 1610 + ApiAvatarDieAnimationEndRsp uint16 = 1694 + ApiAvatarEnterElementViewNotify uint16 = 334 + ApiAvatarEquipAffixStartNotify uint16 = 1662 + ApiAvatarEquipChangeNotify uint16 = 647 + ApiAvatarExpeditionAllDataReq uint16 = 1722 + ApiAvatarExpeditionAllDataRsp uint16 = 1648 + ApiAvatarExpeditionCallBackReq uint16 = 1752 + ApiAvatarExpeditionCallBackRsp uint16 = 1726 + ApiAvatarExpeditionDataNotify uint16 = 1771 + ApiAvatarExpeditionGetRewardReq uint16 = 1623 + ApiAvatarExpeditionGetRewardRsp uint16 = 1784 + ApiAvatarExpeditionStartReq uint16 = 1715 + ApiAvatarExpeditionStartRsp uint16 = 1719 + ApiAvatarFetterDataNotify uint16 = 1782 + ApiAvatarFetterLevelRewardReq uint16 = 1653 + ApiAvatarFetterLevelRewardRsp uint16 = 1606 + ApiAvatarFightPropNotify uint16 = 1207 + ApiAvatarFightPropUpdateNotify uint16 = 1221 + ApiAvatarFlycloakChangeNotify uint16 = 1643 + ApiAvatarFollowRouteNotify uint16 = 3458 + ApiAvatarGainCostumeNotify uint16 = 1677 + ApiAvatarGainFlycloakNotify uint16 = 1656 + ApiAvatarLifeStateChangeNotify uint16 = 1290 + ApiAvatarPromoteGetRewardReq uint16 = 1696 + ApiAvatarPromoteGetRewardRsp uint16 = 1683 + ApiAvatarPromoteReq uint16 = 1664 + ApiAvatarPromoteRsp uint16 = 1639 + ApiAvatarPropChangeReasonNotify uint16 = 1273 + ApiAvatarPropNotify uint16 = 1231 + ApiAvatarSatiationDataNotify uint16 = 1693 + ApiAvatarSkillChangeNotify uint16 = 1097 + ApiAvatarSkillDepotChangeNotify uint16 = 1035 + ApiAvatarSkillInfoNotify uint16 = 1090 + ApiAvatarSkillMaxChargeCountNotify uint16 = 1003 + ApiAvatarSkillUpgradeReq uint16 = 1075 + ApiAvatarSkillUpgradeRsp uint16 = 1048 + ApiAvatarTeamUpdateNotify uint16 = 1706 + ApiAvatarUnlockTalentNotify uint16 = 1012 + ApiAvatarUpgradeReq uint16 = 1770 + ApiAvatarUpgradeRsp uint16 = 1701 + ApiAvatarWearFlycloakReq uint16 = 1737 + ApiAvatarWearFlycloakRsp uint16 = 1698 + ApiBackMyWorldReq uint16 = 286 + ApiBackMyWorldRsp uint16 = 201 + ApiBargainOfferPriceReq uint16 = 493 + ApiBargainOfferPriceRsp uint16 = 427 + ApiBargainStartNotify uint16 = 404 + ApiBargainTerminateNotify uint16 = 494 + ApiBattlePassAllDataNotify uint16 = 2626 + ApiBattlePassBuySuccNotify uint16 = 2614 + ApiBattlePassCurScheduleUpdateNotify uint16 = 2607 + ApiBattlePassMissionDelNotify uint16 = 2625 + ApiBattlePassMissionUpdateNotify uint16 = 2618 + ApiBeginCameraSceneLookNotify uint16 = 270 + ApiBigTalentPointConvertReq uint16 = 1007 + ApiBigTalentPointConvertRsp uint16 = 1021 + ApiBlessingAcceptAllGivePicReq uint16 = 2045 + ApiBlessingAcceptAllGivePicRsp uint16 = 2044 + ApiBlessingAcceptGivePicReq uint16 = 2006 + ApiBlessingAcceptGivePicRsp uint16 = 2055 + ApiBlessingGetAllRecvPicRecordListReq uint16 = 2096 + ApiBlessingGetAllRecvPicRecordListRsp uint16 = 2083 + ApiBlessingGetFriendPicListReq uint16 = 2043 + ApiBlessingGetFriendPicListRsp uint16 = 2056 + ApiBlessingGiveFriendPicReq uint16 = 2062 + ApiBlessingGiveFriendPicRsp uint16 = 2053 + ApiBlessingRecvFriendPicNotify uint16 = 2178 + ApiBlessingRedeemRewardReq uint16 = 2137 + ApiBlessingRedeemRewardRsp uint16 = 2098 + ApiBlessingScanReq uint16 = 2081 + ApiBlessingScanRsp uint16 = 2093 + ApiBlitzRushParkourRestartReq uint16 = 8653 + ApiBlitzRushParkourRestartRsp uint16 = 8944 + ApiBlossomBriefInfoNotify uint16 = 2712 + ApiBlossomChestCreateNotify uint16 = 2721 + ApiBlossomChestInfoNotify uint16 = 890 + ApiBonusActivityInfoReq uint16 = 2548 + ApiBonusActivityInfoRsp uint16 = 2597 + ApiBonusActivityUpdateNotify uint16 = 2575 + ApiBossChestActivateNotify uint16 = 803 + ApiBounceConjuringSettleNotify uint16 = 8084 + ApiBuoyantCombatSettleNotify uint16 = 8305 + ApiBuyBattlePassLevelReq uint16 = 2647 + ApiBuyBattlePassLevelRsp uint16 = 2637 + ApiBuyGoodsReq uint16 = 712 + ApiBuyGoodsRsp uint16 = 735 + ApiBuyResinReq uint16 = 602 + ApiBuyResinRsp uint16 = 619 + ApiCalcWeaponUpgradeReturnItemsReq uint16 = 633 + ApiCalcWeaponUpgradeReturnItemsRsp uint16 = 684 + ApiCanUseSkillNotify uint16 = 1005 + ApiCancelCityReputationRequestReq uint16 = 2899 + ApiCancelCityReputationRequestRsp uint16 = 2831 + ApiCancelCoopTaskReq uint16 = 1997 + ApiCancelCoopTaskRsp uint16 = 1987 + ApiCancelFinishParentQuestNotify uint16 = 424 + ApiCardProductRewardNotify uint16 = 4107 + ApiChallengeDataNotify uint16 = 953 + ApiChallengeRecordNotify uint16 = 993 + ApiChangeAvatarReq uint16 = 1640 + ApiChangeAvatarRsp uint16 = 1607 + ApiChangeGameTimeReq uint16 = 173 + ApiChangeGameTimeRsp uint16 = 199 + ApiChangeMailStarNotify uint16 = 1448 + ApiChangeMpTeamAvatarReq uint16 = 1708 + ApiChangeMpTeamAvatarRsp uint16 = 1753 + ApiChangeServerGlobalValueNotify uint16 = 27 + ApiChangeTeamNameReq uint16 = 1603 + ApiChangeTeamNameRsp uint16 = 1666 + ApiChangeWorldToSingleModeNotify uint16 = 3006 + ApiChangeWorldToSingleModeReq uint16 = 3066 + ApiChangeWorldToSingleModeRsp uint16 = 3282 + ApiChannelerSlabCheckEnterLoopDungeonReq uint16 = 8745 + ApiChannelerSlabCheckEnterLoopDungeonRsp uint16 = 8452 + ApiChannelerSlabEnterLoopDungeonReq uint16 = 8869 + ApiChannelerSlabEnterLoopDungeonRsp uint16 = 8081 + ApiChannelerSlabLoopDungeonChallengeInfoNotify uint16 = 8224 + ApiChannelerSlabLoopDungeonSelectConditionReq uint16 = 8503 + ApiChannelerSlabLoopDungeonSelectConditionRsp uint16 = 8509 + ApiChannelerSlabLoopDungeonTakeFirstPassRewardReq uint16 = 8589 + ApiChannelerSlabLoopDungeonTakeFirstPassRewardRsp uint16 = 8539 + ApiChannelerSlabLoopDungeonTakeScoreRewardReq uint16 = 8684 + ApiChannelerSlabLoopDungeonTakeScoreRewardRsp uint16 = 8433 + ApiChannelerSlabOneOffDungeonInfoNotify uint16 = 8729 + ApiChannelerSlabOneOffDungeonInfoReq uint16 = 8409 + ApiChannelerSlabOneOffDungeonInfoRsp uint16 = 8268 + ApiChannelerSlabSaveAssistInfoReq uint16 = 8416 + ApiChannelerSlabSaveAssistInfoRsp uint16 = 8932 + ApiChannelerSlabStageActiveChallengeIndexNotify uint16 = 8734 + ApiChannelerSlabStageOneofDungeonNotify uint16 = 8203 + ApiChannelerSlabTakeoffBuffReq uint16 = 8516 + ApiChannelerSlabTakeoffBuffRsp uint16 = 8237 + ApiChannelerSlabWearBuffReq uint16 = 8107 + ApiChannelerSlabWearBuffRsp uint16 = 8600 + ApiChapterStateNotify uint16 = 405 + ApiChatChannelDataNotify uint16 = 4998 + ApiChatChannelUpdateNotify uint16 = 5025 + ApiChatHistoryNotify uint16 = 3496 + ApiCheckAddItemExceedLimitNotify uint16 = 692 + ApiCheckSegmentCRCNotify uint16 = 39 + ApiCheckSegmentCRCReq uint16 = 53 + ApiChessEscapedMonstersNotify uint16 = 5314 + ApiChessLeftMonstersNotify uint16 = 5360 + ApiChessManualRefreshCardsReq uint16 = 5389 + ApiChessManualRefreshCardsRsp uint16 = 5359 + ApiChessPickCardNotify uint16 = 5380 + ApiChessPickCardReq uint16 = 5333 + ApiChessPickCardRsp uint16 = 5384 + ApiChessPlayerInfoNotify uint16 = 5332 + ApiChessSelectedCardsNotify uint16 = 5392 + ApiChooseCurAvatarTeamReq uint16 = 1796 + ApiChooseCurAvatarTeamRsp uint16 = 1661 + ApiCityReputationDataNotify uint16 = 2805 + ApiCityReputationLevelupNotify uint16 = 2807 + ApiClearRoguelikeCurseNotify uint16 = 8207 + ApiClientAIStateNotify uint16 = 1181 + ApiClientAbilitiesInitFinishCombineNotify uint16 = 1103 + ApiClientAbilityChangeNotify uint16 = 1175 + ApiClientAbilityInitBeginNotify uint16 = 1112 + ApiClientAbilityInitFinishNotify uint16 = 1135 + ApiClientBulletCreateNotify uint16 = 4 + ApiClientCollectorDataNotify uint16 = 4264 + ApiClientHashDebugNotify uint16 = 3086 + ApiClientLoadingCostumeVerificationNotify uint16 = 3487 + ApiClientLockGameTimeNotify uint16 = 114 + ApiClientNewMailNotify uint16 = 1499 + ApiClientPauseNotify uint16 = 260 + ApiClientReconnectNotify uint16 = 75 + ApiClientReportNotify uint16 = 81 + ApiClientScriptEventNotify uint16 = 213 + ApiClientTransmitReq uint16 = 291 + ApiClientTransmitRsp uint16 = 224 + ApiClientTriggerEventNotify uint16 = 148 + ApiCloseCommonTipsNotify uint16 = 3194 + ApiClosedItemNotify uint16 = 614 + ApiCodexDataFullNotify uint16 = 4205 + ApiCodexDataUpdateNotify uint16 = 4207 + ApiCombatInvocationsNotify uint16 = 319 + ApiCombineDataNotify uint16 = 659 + ApiCombineFormulaDataNotify uint16 = 632 + ApiCombineReq uint16 = 643 + ApiCombineRsp uint16 = 674 + ApiCommonPlayerTipsNotify uint16 = 8466 + ApiCompoundDataNotify uint16 = 146 + ApiCompoundUnlockNotify uint16 = 128 + ApiCookDataNotify uint16 = 195 + ApiCookGradeDataNotify uint16 = 134 + ApiCookRecipeDataNotify uint16 = 106 + ApiCoopCgShowNotify uint16 = 1983 + ApiCoopCgUpdateNotify uint16 = 1994 + ApiCoopChapterUpdateNotify uint16 = 1972 + ApiCoopDataNotify uint16 = 1979 + ApiCoopPointUpdateNotify uint16 = 1991 + ApiCoopProgressUpdateNotify uint16 = 1998 + ApiCoopRewardUpdateNotify uint16 = 1999 + ApiCreateMassiveEntityNotify uint16 = 367 + ApiCreateMassiveEntityReq uint16 = 342 + ApiCreateMassiveEntityRsp uint16 = 330 + ApiCreateVehicleReq uint16 = 893 + ApiCreateVehicleRsp uint16 = 827 + ApiCutSceneBeginNotify uint16 = 296 + ApiCutSceneEndNotify uint16 = 215 + ApiCutSceneFinishNotify uint16 = 262 + ApiDailyTaskDataNotify uint16 = 158 + ApiDailyTaskFilterCityReq uint16 = 111 + ApiDailyTaskFilterCityRsp uint16 = 144 + ApiDailyTaskProgressNotify uint16 = 170 + ApiDailyTaskScoreRewardNotify uint16 = 117 + ApiDailyTaskUnlockedCitiesNotify uint16 = 186 + ApiDataResVersionNotify uint16 = 167 + ApiDealAddFriendReq uint16 = 4003 + ApiDealAddFriendRsp uint16 = 4090 + ApiDebugNotify uint16 = 101 + ApiDelMailReq uint16 = 1421 + ApiDelMailRsp uint16 = 1403 + ApiDelScenePlayTeamEntityNotify uint16 = 3318 + ApiDelTeamEntityNotify uint16 = 302 + ApiDeleteFriendNotify uint16 = 4053 + ApiDeleteFriendReq uint16 = 4031 + ApiDeleteFriendRsp uint16 = 4075 + ApiDestroyMassiveEntityNotify uint16 = 358 + ApiDestroyMaterialReq uint16 = 640 + ApiDestroyMaterialRsp uint16 = 618 + ApiDigActivityChangeGadgetStateReq uint16 = 8464 + ApiDigActivityChangeGadgetStateRsp uint16 = 8430 + ApiDigActivityMarkPointChangeNotify uint16 = 8109 + ApiDisableRoguelikeTrapNotify uint16 = 8259 + ApiDoGachaReq uint16 = 1512 + ApiDoGachaRsp uint16 = 1535 + ApiDoRoguelikeDungeonCardGachaReq uint16 = 8148 + ApiDoRoguelikeDungeonCardGachaRsp uint16 = 8472 + ApiDoSetPlayerBornDataNotify uint16 = 147 + ApiDraftGuestReplyInviteNotify uint16 = 5490 + ApiDraftGuestReplyInviteReq uint16 = 5421 + ApiDraftGuestReplyInviteRsp uint16 = 5403 + ApiDraftGuestReplyTwiceConfirmNotify uint16 = 5497 + ApiDraftGuestReplyTwiceConfirmReq uint16 = 5431 + ApiDraftGuestReplyTwiceConfirmRsp uint16 = 5475 + ApiDraftInviteResultNotify uint16 = 5473 + ApiDraftOwnerInviteNotify uint16 = 5407 + ApiDraftOwnerStartInviteReq uint16 = 5412 + ApiDraftOwnerStartInviteRsp uint16 = 5435 + ApiDraftOwnerTwiceConfirmNotify uint16 = 5499 + ApiDraftTwiceConfirmResultNotify uint16 = 5448 + ApiDragonSpineChapterFinishNotify uint16 = 2069 + ApiDragonSpineChapterOpenNotify uint16 = 2022 + ApiDragonSpineChapterProgressChangeNotify uint16 = 2065 + ApiDragonSpineCoinChangeNotify uint16 = 2088 + ApiDropHintNotify uint16 = 650 + ApiDropItemReq uint16 = 699 + ApiDropItemRsp uint16 = 631 + ApiDungeonCandidateTeamChangeAvatarReq uint16 = 956 + ApiDungeonCandidateTeamChangeAvatarRsp uint16 = 942 + ApiDungeonCandidateTeamCreateReq uint16 = 995 + ApiDungeonCandidateTeamCreateRsp uint16 = 906 + ApiDungeonCandidateTeamDismissNotify uint16 = 963 + ApiDungeonCandidateTeamInfoNotify uint16 = 927 + ApiDungeonCandidateTeamInviteNotify uint16 = 994 + ApiDungeonCandidateTeamInviteReq uint16 = 934 + ApiDungeonCandidateTeamInviteRsp uint16 = 950 + ApiDungeonCandidateTeamKickReq uint16 = 943 + ApiDungeonCandidateTeamKickRsp uint16 = 974 + ApiDungeonCandidateTeamLeaveReq uint16 = 976 + ApiDungeonCandidateTeamLeaveRsp uint16 = 946 + ApiDungeonCandidateTeamPlayerLeaveNotify uint16 = 926 + ApiDungeonCandidateTeamRefuseNotify uint16 = 988 + ApiDungeonCandidateTeamReplyInviteReq uint16 = 941 + ApiDungeonCandidateTeamReplyInviteRsp uint16 = 949 + ApiDungeonCandidateTeamSetChangingAvatarReq uint16 = 918 + ApiDungeonCandidateTeamSetChangingAvatarRsp uint16 = 966 + ApiDungeonCandidateTeamSetReadyReq uint16 = 991 + ApiDungeonCandidateTeamSetReadyRsp uint16 = 924 + ApiDungeonChallengeBeginNotify uint16 = 947 + ApiDungeonChallengeFinishNotify uint16 = 939 + ApiDungeonDataNotify uint16 = 982 + ApiDungeonDieOptionReq uint16 = 975 + ApiDungeonDieOptionRsp uint16 = 948 + ApiDungeonEntryInfoReq uint16 = 972 + ApiDungeonEntryInfoRsp uint16 = 998 + ApiDungeonEntryToBeExploreNotify uint16 = 3147 + ApiDungeonFollowNotify uint16 = 922 + ApiDungeonGetStatueDropReq uint16 = 965 + ApiDungeonGetStatueDropRsp uint16 = 904 + ApiDungeonInterruptChallengeReq uint16 = 917 + ApiDungeonInterruptChallengeRsp uint16 = 902 + ApiDungeonPlayerDieNotify uint16 = 931 + ApiDungeonPlayerDieReq uint16 = 981 + ApiDungeonPlayerDieRsp uint16 = 905 + ApiDungeonRestartInviteNotify uint16 = 957 + ApiDungeonRestartInviteReplyNotify uint16 = 987 + ApiDungeonRestartInviteReplyReq uint16 = 1000 + ApiDungeonRestartInviteReplyRsp uint16 = 916 + ApiDungeonRestartReq uint16 = 961 + ApiDungeonRestartResultNotify uint16 = 940 + ApiDungeonRestartRsp uint16 = 929 + ApiDungeonReviseLevelNotify uint16 = 968 + ApiDungeonSettleNotify uint16 = 999 + ApiDungeonShowReminderNotify uint16 = 997 + ApiDungeonSlipRevivePointActivateReq uint16 = 958 + ApiDungeonSlipRevivePointActivateRsp uint16 = 970 + ApiDungeonWayPointActivateReq uint16 = 990 + ApiDungeonWayPointActivateRsp uint16 = 973 + ApiDungeonWayPointNotify uint16 = 903 + ApiEchoNotify uint16 = 65 + ApiEchoShellTakeRewardReq uint16 = 8114 + ApiEchoShellTakeRewardRsp uint16 = 8797 + ApiEchoShellUpdateNotify uint16 = 8150 + ApiEffigyChallengeInfoNotify uint16 = 2090 + ApiEffigyChallengeResultNotify uint16 = 2046 + ApiEndCameraSceneLookNotify uint16 = 217 + ApiEnterChessDungeonReq uint16 = 8191 + ApiEnterChessDungeonRsp uint16 = 8592 + ApiEnterFishingReq uint16 = 5826 + ApiEnterFishingRsp uint16 = 5818 + ApiEnterMechanicusDungeonReq uint16 = 3931 + ApiEnterMechanicusDungeonRsp uint16 = 3975 + ApiEnterRoguelikeDungeonNotify uint16 = 8652 + ApiEnterSceneDoneReq uint16 = 277 + ApiEnterSceneDoneRsp uint16 = 237 + ApiEnterScenePeerNotify uint16 = 252 + ApiEnterSceneReadyReq uint16 = 208 + ApiEnterSceneReadyRsp uint16 = 209 + ApiEnterSceneWeatherAreaNotify uint16 = 256 + ApiEnterTransPointRegionNotify uint16 = 205 + ApiEnterTrialAvatarActivityDungeonReq uint16 = 2118 + ApiEnterTrialAvatarActivityDungeonRsp uint16 = 2183 + ApiEnterWorldAreaReq uint16 = 250 + ApiEnterWorldAreaRsp uint16 = 243 + ApiEntityAiKillSelfNotify uint16 = 340 + ApiEntityAiSyncNotify uint16 = 400 + ApiEntityAuthorityChangeNotify uint16 = 394 + ApiEntityConfigHashNotify uint16 = 3189 + ApiEntityFightPropChangeReasonNotify uint16 = 1203 + ApiEntityFightPropNotify uint16 = 1212 + ApiEntityFightPropUpdateNotify uint16 = 1235 + ApiEntityForceSyncReq uint16 = 274 + ApiEntityForceSyncRsp uint16 = 276 + ApiEntityJumpNotify uint16 = 222 + ApiEntityMoveRoomNotify uint16 = 3178 + ApiEntityPropNotify uint16 = 1272 + ApiEntityTagChangeNotify uint16 = 3316 + ApiEquipRoguelikeRuneReq uint16 = 8306 + ApiEquipRoguelikeRuneRsp uint16 = 8705 + ApiEvtAiSyncCombatThreatInfoNotify uint16 = 329 + ApiEvtAiSyncSkillCdNotify uint16 = 376 + ApiEvtAnimatorParameterNotify uint16 = 398 + ApiEvtAnimatorStateChangedNotify uint16 = 331 + ApiEvtAvatarEnterFocusNotify uint16 = 304 + ApiEvtAvatarExitFocusNotify uint16 = 393 + ApiEvtAvatarLockChairReq uint16 = 318 + ApiEvtAvatarLockChairRsp uint16 = 366 + ApiEvtAvatarSitDownNotify uint16 = 324 + ApiEvtAvatarStandUpNotify uint16 = 356 + ApiEvtAvatarUpdateFocusNotify uint16 = 327 + ApiEvtBeingHitNotify uint16 = 372 + ApiEvtBeingHitsCombineNotify uint16 = 346 + ApiEvtBulletDeactiveNotify uint16 = 397 + ApiEvtBulletHitNotify uint16 = 348 + ApiEvtBulletMoveNotify uint16 = 365 + ApiEvtCostStaminaNotify uint16 = 373 + ApiEvtCreateGadgetNotify uint16 = 307 + ApiEvtDestroyGadgetNotify uint16 = 321 + ApiEvtDestroyServerGadgetNotify uint16 = 387 + ApiEvtDoSkillSuccNotify uint16 = 335 + ApiEvtEntityRenderersChangedNotify uint16 = 343 + ApiEvtEntityStartDieEndNotify uint16 = 381 + ApiEvtFaceToDirNotify uint16 = 390 + ApiEvtFaceToEntityNotify uint16 = 303 + ApiEvtRushMoveNotify uint16 = 375 + ApiEvtSetAttackTargetNotify uint16 = 399 + ApiExclusiveRuleNotify uint16 = 101 + ApiExecuteGadgetLuaReq uint16 = 269 + ApiExecuteGadgetLuaRsp uint16 = 210 + ApiExecuteGroupTriggerReq uint16 = 257 + ApiExecuteGroupTriggerRsp uint16 = 300 + ApiExitFishingReq uint16 = 5814 + ApiExitFishingRsp uint16 = 5847 + ApiExitSceneWeatherAreaNotify uint16 = 242 + ApiExitTransPointRegionNotify uint16 = 282 + ApiExpeditionChallengeEnterRegionNotify uint16 = 2154 + ApiExpeditionChallengeFinishedNotify uint16 = 2091 + ApiExpeditionRecallReq uint16 = 2131 + ApiExpeditionRecallRsp uint16 = 2129 + ApiExpeditionStartReq uint16 = 2087 + ApiExpeditionStartRsp uint16 = 2135 + ApiExpeditionTakeRewardReq uint16 = 2149 + ApiExpeditionTakeRewardRsp uint16 = 2080 + ApiFindHilichurlAcceptQuestNotify uint16 = 8659 + ApiFindHilichurlFinishSecondQuestNotify uint16 = 8901 + ApiFinishDeliveryNotify uint16 = 2089 + ApiFinishMainCoopReq uint16 = 1952 + ApiFinishMainCoopRsp uint16 = 1981 + ApiFinishedParentQuestNotify uint16 = 435 + ApiFinishedParentQuestUpdateNotify uint16 = 407 + ApiFishAttractNotify uint16 = 5837 + ApiFishBaitGoneNotify uint16 = 5823 + ApiFishBattleBeginReq uint16 = 5820 + ApiFishBattleBeginRsp uint16 = 5845 + ApiFishBattleEndReq uint16 = 5841 + ApiFishBattleEndRsp uint16 = 5842 + ApiFishBiteReq uint16 = 5844 + ApiFishBiteRsp uint16 = 5849 + ApiFishCastRodReq uint16 = 5802 + ApiFishCastRodRsp uint16 = 5831 + ApiFishChosenNotify uint16 = 5829 + ApiFishEscapeNotify uint16 = 5822 + ApiFishPoolDataNotify uint16 = 5848 + ApiFishingGallerySettleNotify uint16 = 8780 + ApiFleurFairBalloonSettleNotify uint16 = 2099 + ApiFleurFairBuffEnergyNotify uint16 = 5324 + ApiFleurFairFallSettleNotify uint16 = 2017 + ApiFleurFairFinishGalleryStageNotify uint16 = 5342 + ApiFleurFairMusicGameSettleReq uint16 = 2194 + ApiFleurFairMusicGameSettleRsp uint16 = 2113 + ApiFleurFairMusicGameStartReq uint16 = 2167 + ApiFleurFairMusicGameStartRsp uint16 = 2079 + ApiFleurFairReplayMiniGameReq uint16 = 2181 + ApiFleurFairReplayMiniGameRsp uint16 = 2052 + ApiFleurFairStageSettleNotify uint16 = 5356 + ApiFlightActivityRestartReq uint16 = 2037 + ApiFlightActivityRestartRsp uint16 = 2165 + ApiFlightActivitySettleNotify uint16 = 2195 + ApiFocusAvatarReq uint16 = 1654 + ApiFocusAvatarRsp uint16 = 1681 + ApiForceAddPlayerFriendReq uint16 = 4057 + ApiForceAddPlayerFriendRsp uint16 = 4100 + ApiForceDragAvatarNotify uint16 = 3235 + ApiForceDragBackTransferNotify uint16 = 3145 + ApiForgeDataNotify uint16 = 680 + ApiForgeFormulaDataNotify uint16 = 689 + ApiForgeGetQueueDataReq uint16 = 646 + ApiForgeGetQueueDataRsp uint16 = 641 + ApiForgeQueueDataNotify uint16 = 676 + ApiForgeQueueManipulateReq uint16 = 624 + ApiForgeQueueManipulateRsp uint16 = 656 + ApiForgeStartReq uint16 = 649 + ApiForgeStartRsp uint16 = 691 + ApiFoundationNotify uint16 = 847 + ApiFoundationReq uint16 = 805 + ApiFoundationRsp uint16 = 882 + ApiFriendInfoChangeNotify uint16 = 4032 + ApiFunitureMakeMakeInfoChangeNotify uint16 = 4898 + ApiFurnitureCurModuleArrangeCountNotify uint16 = 4498 + ApiFurnitureMakeBeHelpedNotify uint16 = 4578 + ApiFurnitureMakeCancelReq uint16 = 4555 + ApiFurnitureMakeCancelRsp uint16 = 4683 + ApiFurnitureMakeFinishNotify uint16 = 4841 + ApiFurnitureMakeHelpReq uint16 = 4865 + ApiFurnitureMakeHelpRsp uint16 = 4756 + ApiFurnitureMakeReq uint16 = 4477 + ApiFurnitureMakeRsp uint16 = 4782 + ApiFurnitureMakeStartReq uint16 = 4633 + ApiFurnitureMakeStartRsp uint16 = 4729 + ApiGMShowNavMeshReq uint16 = 2357 + ApiGMShowNavMeshRsp uint16 = 2400 + ApiGMShowObstacleReq uint16 = 2361 + ApiGMShowObstacleRsp uint16 = 2329 + ApiGachaOpenWishNotify uint16 = 1503 + ApiGachaSimpleInfoNotify uint16 = 1590 + ApiGachaWishReq uint16 = 1507 + ApiGachaWishRsp uint16 = 1521 + ApiGadgetAutoPickDropInfoNotify uint16 = 897 + ApiGadgetChainLevelChangeNotify uint16 = 822 + ApiGadgetChainLevelUpdateNotify uint16 = 853 + ApiGadgetCustomTreeInfoNotify uint16 = 850 + ApiGadgetGeneralRewardInfoNotify uint16 = 848 + ApiGadgetInteractReq uint16 = 872 + ApiGadgetInteractRsp uint16 = 898 + ApiGadgetPlayDataNotify uint16 = 831 + ApiGadgetPlayStartNotify uint16 = 873 + ApiGadgetPlayStopNotify uint16 = 899 + ApiGadgetPlayUidOpNotify uint16 = 875 + ApiGadgetStateNotify uint16 = 812 + ApiGadgetTalkChangeNotify uint16 = 839 + ApiGalleryBalloonScoreNotify uint16 = 5512 + ApiGalleryBalloonShootNotify uint16 = 5598 + ApiGalleryBounceConjuringHitNotify uint16 = 5505 + ApiGalleryBrokenFloorFallNotify uint16 = 5575 + ApiGalleryBulletHitNotify uint16 = 5531 + ApiGalleryFallCatchNotify uint16 = 5507 + ApiGalleryFallScoreNotify uint16 = 5521 + ApiGalleryFlowerCatchNotify uint16 = 5573 + ApiGalleryPreStartNotify uint16 = 5599 + ApiGalleryStartNotify uint16 = 5572 + ApiGalleryStopNotify uint16 = 5535 + ApiGallerySumoKillMonsterNotify uint16 = 5582 + ApiGetActivityInfoReq uint16 = 2095 + ApiGetActivityInfoRsp uint16 = 2041 + ApiGetActivityScheduleReq uint16 = 2136 + ApiGetActivityScheduleRsp uint16 = 2107 + ApiGetActivityShopSheetInfoReq uint16 = 703 + ApiGetActivityShopSheetInfoRsp uint16 = 790 + ApiGetAllActivatedBargainDataReq uint16 = 463 + ApiGetAllActivatedBargainDataRsp uint16 = 495 + ApiGetAllH5ActivityInfoReq uint16 = 5668 + ApiGetAllH5ActivityInfoRsp uint16 = 5676 + ApiGetAllMailReq uint16 = 1431 + ApiGetAllMailRsp uint16 = 1475 + ApiGetAllSceneGalleryInfoReq uint16 = 5503 + ApiGetAllSceneGalleryInfoRsp uint16 = 5590 + ApiGetAllUnlockNameCardReq uint16 = 4027 + ApiGetAllUnlockNameCardRsp uint16 = 4094 + ApiGetAreaExplorePointReq uint16 = 241 + ApiGetAreaExplorePointRsp uint16 = 249 + ApiGetAuthSalesmanInfoReq uint16 = 2070 + ApiGetAuthSalesmanInfoRsp uint16 = 2004 + ApiGetAuthkeyReq uint16 = 1490 + ApiGetAuthkeyRsp uint16 = 1473 + ApiGetBargainDataReq uint16 = 488 + ApiGetBargainDataRsp uint16 = 426 + ApiGetBattlePassProductReq uint16 = 2644 + ApiGetBattlePassProductRsp uint16 = 2649 + ApiGetBlossomBriefInfoListReq uint16 = 2772 + ApiGetBlossomBriefInfoListRsp uint16 = 2798 + ApiGetBonusActivityRewardReq uint16 = 2581 + ApiGetBonusActivityRewardRsp uint16 = 2505 + ApiGetChatEmojiCollectionReq uint16 = 4068 + ApiGetChatEmojiCollectionRsp uint16 = 4033 + ApiGetCityHuntingOfferReq uint16 = 4325 + ApiGetCityHuntingOfferRsp uint16 = 4307 + ApiGetCityReputationInfoReq uint16 = 2872 + ApiGetCityReputationInfoRsp uint16 = 2898 + ApiGetCityReputationMapInfoReq uint16 = 2875 + ApiGetCityReputationMapInfoRsp uint16 = 2848 + ApiGetCompoundDataReq uint16 = 141 + ApiGetCompoundDataRsp uint16 = 149 + ApiGetDailyDungeonEntryInfoReq uint16 = 930 + ApiGetDailyDungeonEntryInfoRsp uint16 = 967 + ApiGetDungeonEntryExploreConditionReq uint16 = 3165 + ApiGetDungeonEntryExploreConditionRsp uint16 = 3269 + ApiGetExpeditionAssistInfoListReq uint16 = 2150 + ApiGetExpeditionAssistInfoListRsp uint16 = 2035 + ApiGetFriendShowAvatarInfoReq uint16 = 4070 + ApiGetFriendShowAvatarInfoRsp uint16 = 4017 + ApiGetFriendShowNameCardInfoReq uint16 = 4061 + ApiGetFriendShowNameCardInfoRsp uint16 = 4029 + ApiGetFurnitureCurModuleArrangeCountReq uint16 = 4711 + ApiGetGachaInfoReq uint16 = 1572 + ApiGetGachaInfoRsp uint16 = 1598 + ApiGetHomeLevelUpRewardReq uint16 = 4557 + ApiGetHomeLevelUpRewardRsp uint16 = 4603 + ApiGetHuntingOfferRewardReq uint16 = 4302 + ApiGetHuntingOfferRewardRsp uint16 = 4331 + ApiGetInvestigationMonsterReq uint16 = 1901 + ApiGetInvestigationMonsterRsp uint16 = 1910 + ApiGetMailItemReq uint16 = 1435 + ApiGetMailItemRsp uint16 = 1407 + ApiGetMapAreaReq uint16 = 3108 + ApiGetMapAreaRsp uint16 = 3328 + ApiGetMapMarkTipsReq uint16 = 3463 + ApiGetMapMarkTipsRsp uint16 = 3327 + ApiGetMechanicusInfoReq uint16 = 3972 + ApiGetMechanicusInfoRsp uint16 = 3998 + ApiGetNextResourceInfoReq uint16 = 192 + ApiGetNextResourceInfoRsp uint16 = 120 + ApiGetOnlinePlayerInfoReq uint16 = 82 + ApiGetOnlinePlayerInfoRsp uint16 = 47 + ApiGetOnlinePlayerListReq uint16 = 90 + ApiGetOnlinePlayerListRsp uint16 = 73 + ApiGetOpActivityInfoReq uint16 = 5172 + ApiGetOpActivityInfoRsp uint16 = 5198 + ApiGetPlayerAskFriendListReq uint16 = 4018 + ApiGetPlayerAskFriendListRsp uint16 = 4066 + ApiGetPlayerBlacklistReq uint16 = 4049 + ApiGetPlayerBlacklistRsp uint16 = 4091 + ApiGetPlayerFriendListReq uint16 = 4072 + ApiGetPlayerFriendListRsp uint16 = 4098 + ApiGetPlayerHomeCompInfoReq uint16 = 4597 + ApiGetPlayerMpModeAvailabilityReq uint16 = 1844 + ApiGetPlayerMpModeAvailabilityRsp uint16 = 1849 + ApiGetPlayerSocialDetailReq uint16 = 4073 + ApiGetPlayerSocialDetailRsp uint16 = 4099 + ApiGetPlayerTokenReq uint16 = 172 + ApiGetPlayerTokenRsp uint16 = 198 + ApiGetPushTipsRewardReq uint16 = 2227 + ApiGetPushTipsRewardRsp uint16 = 2294 + ApiGetQuestTalkHistoryReq uint16 = 490 + ApiGetQuestTalkHistoryRsp uint16 = 473 + ApiGetRecentMpPlayerListReq uint16 = 4034 + ApiGetRecentMpPlayerListRsp uint16 = 4050 + ApiGetRegionSearchReq uint16 = 5602 + ApiGetReunionMissionInfoReq uint16 = 5094 + ApiGetReunionMissionInfoRsp uint16 = 5099 + ApiGetReunionPrivilegeInfoReq uint16 = 5097 + ApiGetReunionPrivilegeInfoRsp uint16 = 5087 + ApiGetReunionSignInInfoReq uint16 = 5052 + ApiGetReunionSignInInfoRsp uint16 = 5081 + ApiGetSceneAreaReq uint16 = 265 + ApiGetSceneAreaRsp uint16 = 204 + ApiGetSceneNpcPositionReq uint16 = 535 + ApiGetSceneNpcPositionRsp uint16 = 507 + ApiGetScenePerformanceReq uint16 = 3419 + ApiGetScenePerformanceRsp uint16 = 3137 + ApiGetScenePointReq uint16 = 297 + ApiGetScenePointRsp uint16 = 281 + ApiGetShopReq uint16 = 772 + ApiGetShopRsp uint16 = 798 + ApiGetShopmallDataReq uint16 = 707 + ApiGetShopmallDataRsp uint16 = 721 + ApiGetSignInRewardReq uint16 = 2507 + ApiGetSignInRewardRsp uint16 = 2521 + ApiGetWidgetSlotReq uint16 = 4253 + ApiGetWidgetSlotRsp uint16 = 4254 + ApiGetWorldMpInfoReq uint16 = 3391 + ApiGetWorldMpInfoRsp uint16 = 3320 + ApiGiveUpRoguelikeDungeonCardReq uint16 = 8353 + ApiGiveUpRoguelikeDungeonCardRsp uint16 = 8497 + ApiGivingRecordChangeNotify uint16 = 187 + ApiGivingRecordNotify uint16 = 116 + ApiGmTalkNotify uint16 = 94 + ApiGmTalkReq uint16 = 98 + ApiGmTalkRsp uint16 = 12 + ApiGrantRewardNotify uint16 = 663 + ApiGroupLinkAllNotify uint16 = 5776 + ApiGroupLinkChangeNotify uint16 = 5768 + ApiGroupLinkDeleteNotify uint16 = 5775 + ApiGroupSuiteNotify uint16 = 3257 + ApiGroupUnloadNotify uint16 = 3344 + ApiGuestBeginEnterSceneNotify uint16 = 3031 + ApiGuestPostEnterSceneNotify uint16 = 3144 + ApiH5ActivityIdsNotify uint16 = 5675 + ApiHideAndSeekPlayerReadyNotify uint16 = 5302 + ApiHideAndSeekPlayerSetAvatarNotify uint16 = 5319 + ApiHideAndSeekSelectAvatarReq uint16 = 5330 + ApiHideAndSeekSelectAvatarRsp uint16 = 5367 + ApiHideAndSeekSelectSkillReq uint16 = 8183 + ApiHideAndSeekSelectSkillRsp uint16 = 8088 + ApiHideAndSeekSetReadyReq uint16 = 5358 + ApiHideAndSeekSetReadyRsp uint16 = 5370 + ApiHideAndSeekSettleNotify uint16 = 5317 + ApiHitClientTrivialNotify uint16 = 244 + ApiHitTreeNotify uint16 = 3019 + ApiHomeAvatarAllFinishRewardNotify uint16 = 4741 + ApiHomeAvatarCostumeChangeNotify uint16 = 4748 + ApiHomeAvatarRewardEventGetReq uint16 = 4551 + ApiHomeAvatarRewardEventGetRsp uint16 = 4833 + ApiHomeAvatarRewardEventNotify uint16 = 4852 + ApiHomeAvatarSummonAllEventNotify uint16 = 4808 + ApiHomeAvatarSummonEventReq uint16 = 4806 + ApiHomeAvatarSummonEventRsp uint16 = 4817 + ApiHomeAvatarSummonFinishReq uint16 = 4629 + ApiHomeAvatarSummonFinishRsp uint16 = 4696 + ApiHomeAvatarTalkFinishInfoNotify uint16 = 4896 + ApiHomeAvatarTalkReq uint16 = 4688 + ApiHomeAvatarTalkRsp uint16 = 4464 + ApiHomeAvtarAllFinishRewardNotify uint16 = 4453 + ApiHomeBasicInfoNotify uint16 = 4885 + ApiHomeBlockNotify uint16 = 4543 + ApiHomeChangeEditModeReq uint16 = 4564 + ApiHomeChangeEditModeRsp uint16 = 4559 + ApiHomeChangeModuleReq uint16 = 4809 + ApiHomeChangeModuleRsp uint16 = 4596 + ApiHomeChooseModuleReq uint16 = 4524 + ApiHomeChooseModuleRsp uint16 = 4648 + ApiHomeComfortInfoNotify uint16 = 4699 + ApiHomeCustomFurnitureInfoNotify uint16 = 4712 + ApiHomeEditCustomFurnitureReq uint16 = 4724 + ApiHomeEditCustomFurnitureRsp uint16 = 4496 + ApiHomeFishFarmingInfoNotify uint16 = 4677 + ApiHomeGetArrangementInfoReq uint16 = 4848 + ApiHomeGetArrangementInfoRsp uint16 = 4844 + ApiHomeGetBasicInfoReq uint16 = 4655 + ApiHomeGetFishFarmingInfoReq uint16 = 4476 + ApiHomeGetFishFarmingInfoRsp uint16 = 4678 + ApiHomeGetOnlineStatusReq uint16 = 4820 + ApiHomeGetOnlineStatusRsp uint16 = 4705 + ApiHomeKickPlayerReq uint16 = 4870 + ApiHomeKickPlayerRsp uint16 = 4691 + ApiHomeLimitedShopBuyGoodsReq uint16 = 4760 + ApiHomeLimitedShopBuyGoodsRsp uint16 = 4750 + ApiHomeLimitedShopGoodsListReq uint16 = 4552 + ApiHomeLimitedShopGoodsListRsp uint16 = 4546 + ApiHomeLimitedShopInfoChangeNotify uint16 = 4790 + ApiHomeLimitedShopInfoNotify uint16 = 4887 + ApiHomeLimitedShopInfoReq uint16 = 4825 + ApiHomeLimitedShopInfoRsp uint16 = 4796 + ApiHomeMarkPointNotify uint16 = 4474 + ApiHomeModuleSeenReq uint16 = 4499 + ApiHomeModuleSeenRsp uint16 = 4821 + ApiHomeModuleUnlockNotify uint16 = 4560 + ApiHomePlantFieldNotify uint16 = 4549 + ApiHomePlantInfoNotify uint16 = 4587 + ApiHomePlantInfoReq uint16 = 4647 + ApiHomePlantInfoRsp uint16 = 4701 + ApiHomePlantSeedReq uint16 = 4804 + ApiHomePlantSeedRsp uint16 = 4556 + ApiHomePlantWeedReq uint16 = 4640 + ApiHomePlantWeedRsp uint16 = 4527 + ApiHomePriorCheckNotify uint16 = 4599 + ApiHomeResourceNotify uint16 = 4892 + ApiHomeResourceTakeFetterExpReq uint16 = 4768 + ApiHomeResourceTakeFetterExpRsp uint16 = 4645 + ApiHomeResourceTakeHomeCoinReq uint16 = 4479 + ApiHomeResourceTakeHomeCoinRsp uint16 = 4541 + ApiHomeSceneInitFinishReq uint16 = 4674 + ApiHomeSceneInitFinishRsp uint16 = 4505 + ApiHomeSceneJumpReq uint16 = 4528 + ApiHomeSceneJumpRsp uint16 = 4698 + ApiHomeTransferReq uint16 = 4726 + ApiHomeTransferRsp uint16 = 4616 + ApiHomeUpdateArrangementInfoReq uint16 = 4510 + ApiHomeUpdateArrangementInfoRsp uint16 = 4757 + ApiHomeUpdateFishFarmingInfoReq uint16 = 4544 + ApiHomeUpdateFishFarmingInfoRsp uint16 = 4857 + ApiHostPlayerNotify uint16 = 312 + ApiHuntingFailNotify uint16 = 4320 + ApiHuntingGiveUpReq uint16 = 4341 + ApiHuntingGiveUpRsp uint16 = 4342 + ApiHuntingOngoingNotify uint16 = 4345 + ApiHuntingRevealClueNotify uint16 = 4322 + ApiHuntingRevealFinalNotify uint16 = 4344 + ApiHuntingStartNotify uint16 = 4329 + ApiHuntingSuccessNotify uint16 = 4349 + ApiInBattleMechanicusBuildingPointsNotify uint16 = 5303 + ApiInBattleMechanicusCardResultNotify uint16 = 5397 + ApiInBattleMechanicusConfirmCardNotify uint16 = 5348 + ApiInBattleMechanicusConfirmCardReq uint16 = 5331 + ApiInBattleMechanicusConfirmCardRsp uint16 = 5375 + ApiInBattleMechanicusEscapeMonsterNotify uint16 = 5307 + ApiInBattleMechanicusLeftMonsterNotify uint16 = 5321 + ApiInBattleMechanicusPickCardNotify uint16 = 5399 + ApiInBattleMechanicusPickCardReq uint16 = 5390 + ApiInBattleMechanicusPickCardRsp uint16 = 5373 + ApiInBattleMechanicusSettleNotify uint16 = 5305 + ApiInteractDailyDungeonInfoNotify uint16 = 919 + ApiInterruptGalleryReq uint16 = 5548 + ApiInterruptGalleryRsp uint16 = 5597 + ApiInvestigationMonsterUpdateNotify uint16 = 1906 + ApiItemAddHintNotify uint16 = 607 + ApiItemCdGroupTimeNotify uint16 = 634 + ApiItemGivingReq uint16 = 140 + ApiItemGivingRsp uint16 = 118 + ApiJoinHomeWorldFailNotify uint16 = 4530 + ApiJoinPlayerFailNotify uint16 = 236 + ApiJoinPlayerSceneReq uint16 = 292 + ApiJoinPlayerSceneRsp uint16 = 220 + ApiKeepAliveNotify uint16 = 72 + ApiLeaveSceneReq uint16 = 298 + ApiLeaveSceneRsp uint16 = 212 + ApiLeaveWorldNotify uint16 = 3017 + ApiLevelupCityReq uint16 = 216 + ApiLevelupCityRsp uint16 = 287 + ApiLifeStateChangeNotify uint16 = 1298 + ApiLiveEndNotify uint16 = 806 + ApiLiveStartNotify uint16 = 826 + ApiLoadActivityTerrainNotify uint16 = 2029 + ApiLuaEnvironmentEffectNotify uint16 = 3408 + ApiLuaSetOptionNotify uint16 = 316 + ApiLunaRiteAreaFinishNotify uint16 = 8213 + ApiLunaRiteGroupBundleRegisterNotify uint16 = 8465 + ApiLunaRiteHintPointRemoveNotify uint16 = 8787 + ApiLunaRiteHintPointReq uint16 = 8195 + ApiLunaRiteHintPointRsp uint16 = 8765 + ApiLunaRiteSacrificeReq uint16 = 8805 + ApiLunaRiteSacrificeRsp uint16 = 8080 + ApiLunaRiteTakeSacrificeRewardReq uint16 = 8045 + ApiLunaRiteTakeSacrificeRewardRsp uint16 = 8397 + ApiMailChangeNotify uint16 = 1498 + ApiMainCoopUpdateNotify uint16 = 1968 + ApiMapAreaChangeNotify uint16 = 3378 + ApiMarkEntityInMinMapNotify uint16 = 202 + ApiMarkMapReq uint16 = 3466 + ApiMarkMapRsp uint16 = 3079 + ApiMarkNewNotify uint16 = 1275 + ApiMarkTargetInvestigationMonsterNotify uint16 = 1915 + ApiMassiveEntityElementOpBatchNotify uint16 = 357 + ApiMassiveEntityStateChangedNotify uint16 = 370 + ApiMaterialDeleteReturnNotify uint16 = 661 + ApiMaterialDeleteUpdateNotify uint16 = 700 + ApiMcoinExchangeHcoinReq uint16 = 616 + ApiMcoinExchangeHcoinRsp uint16 = 687 + ApiMechanicusCandidateTeamCreateReq uint16 = 3981 + ApiMechanicusCandidateTeamCreateRsp uint16 = 3905 + ApiMechanicusCloseNotify uint16 = 3921 + ApiMechanicusCoinNotify uint16 = 3935 + ApiMechanicusLevelupGearReq uint16 = 3973 + ApiMechanicusLevelupGearRsp uint16 = 3999 + ApiMechanicusOpenNotify uint16 = 3907 + ApiMechanicusSequenceOpenNotify uint16 = 3912 + ApiMechanicusUnlockGearReq uint16 = 3903 + ApiMechanicusUnlockGearRsp uint16 = 3990 + ApiMeetNpcReq uint16 = 503 + ApiMeetNpcRsp uint16 = 590 + ApiMetNpcIdListNotify uint16 = 521 + ApiMiracleRingDataNotify uint16 = 5225 + ApiMiracleRingDeliverItemReq uint16 = 5229 + ApiMiracleRingDeliverItemRsp uint16 = 5222 + ApiMiracleRingDestroyNotify uint16 = 5244 + ApiMiracleRingDropResultNotify uint16 = 5231 + ApiMiracleRingTakeRewardReq uint16 = 5207 + ApiMiracleRingTakeRewardRsp uint16 = 5202 + ApiMistTrialDunegonFailNotify uint16 = 8135 + ApiMistTrialGetChallengeMissionReq uint16 = 8893 + ApiMistTrialGetChallengeMissionRsp uint16 = 8508 + ApiMistTrialSelectAvatarAndEnterDungeonReq uint16 = 8666 + ApiMistTrialSelectAvatarAndEnterDungeonRsp uint16 = 8239 + ApiMonsterAIConfigHashNotify uint16 = 3039 + ApiMonsterAlertChangeNotify uint16 = 363 + ApiMonsterForceAlertNotify uint16 = 395 + ApiMonsterPointArrayRouteUpdateNotify uint16 = 3410 + ApiMonsterSummonTagNotify uint16 = 1372 + ApiMpBlockNotify uint16 = 1801 + ApiMpPlayGuestReplyInviteReq uint16 = 1848 + ApiMpPlayGuestReplyInviteRsp uint16 = 1850 + ApiMpPlayGuestReplyNotify uint16 = 1812 + ApiMpPlayInviteResultNotify uint16 = 1815 + ApiMpPlayOwnerCheckReq uint16 = 1814 + ApiMpPlayOwnerCheckRsp uint16 = 1847 + ApiMpPlayOwnerInviteNotify uint16 = 1835 + ApiMpPlayOwnerStartInviteReq uint16 = 1837 + ApiMpPlayOwnerStartInviteRsp uint16 = 1823 + ApiMpPlayPrepareInterruptNotify uint16 = 1813 + ApiMpPlayPrepareNotify uint16 = 1833 + ApiMultistagePlayEndNotify uint16 = 5355 + ApiMultistagePlayFinishStageReq uint16 = 5398 + ApiMultistagePlayFinishStageRsp uint16 = 5381 + ApiMultistagePlayInfoNotify uint16 = 5372 + ApiMultistagePlaySettleNotify uint16 = 5313 + ApiMultistagePlayStageEndNotify uint16 = 5379 + ApiMusicGameSettleReq uint16 = 8892 + ApiMusicGameSettleRsp uint16 = 8673 + ApiMusicGameStartReq uint16 = 8406 + ApiMusicGameStartRsp uint16 = 8326 + ApiNavMeshStatsNotify uint16 = 2316 + ApiNormalUidOpNotify uint16 = 5726 + ApiNpcTalkReq uint16 = 572 + ApiNpcTalkRsp uint16 = 598 + ApiObstacleModifyNotify uint16 = 2312 + ApiOfferingInteractReq uint16 = 2918 + ApiOfferingInteractRsp uint16 = 2908 + ApiOneofGatherPointDetectorDataNotify uint16 = 4297 + ApiOpActivityDataNotify uint16 = 5112 + ApiOpActivityStateNotify uint16 = 2572 + ApiOpActivityUpdateNotify uint16 = 5135 + ApiOpenBlossomCircleCampGuideNotify uint16 = 2703 + ApiOpenStateChangeNotify uint16 = 127 + ApiOpenStateUpdateNotify uint16 = 193 + ApiOrderDisplayNotify uint16 = 4131 + ApiOrderFinishNotify uint16 = 4125 + ApiOtherPlayerEnterHomeNotify uint16 = 4628 + ApiPSNBlackListNotify uint16 = 4040 + ApiPSNFriendListNotify uint16 = 4087 + ApiPSPlayerApplyEnterMpReq uint16 = 1841 + ApiPSPlayerApplyEnterMpRsp uint16 = 1842 + ApiPathfindingEnterSceneReq uint16 = 2307 + ApiPathfindingEnterSceneRsp uint16 = 2321 + ApiPathfindingPingNotify uint16 = 2335 + ApiPersonalLineAllDataReq uint16 = 474 + ApiPersonalLineAllDataRsp uint16 = 476 + ApiPersonalLineNewUnlockNotify uint16 = 442 + ApiPersonalSceneJumpReq uint16 = 284 + ApiPersonalSceneJumpRsp uint16 = 280 + ApiPingReq uint16 = 7 + ApiPingRsp uint16 = 21 + ApiPlantFlowerAcceptAllGiveFlowerReq uint16 = 8808 + ApiPlantFlowerAcceptAllGiveFlowerRsp uint16 = 8888 + ApiPlantFlowerAcceptGiveFlowerReq uint16 = 8383 + ApiPlantFlowerAcceptGiveFlowerRsp uint16 = 8567 + ApiPlantFlowerEditFlowerCombinationReq uint16 = 8843 + ApiPlantFlowerEditFlowerCombinationRsp uint16 = 8788 + ApiPlantFlowerGetCanGiveFriendFlowerReq uint16 = 8716 + ApiPlantFlowerGetCanGiveFriendFlowerRsp uint16 = 8766 + ApiPlantFlowerGetFriendFlowerWishListReq uint16 = 8126 + ApiPlantFlowerGetFriendFlowerWishListRsp uint16 = 8511 + ApiPlantFlowerGetRecvFlowerListReq uint16 = 8270 + ApiPlantFlowerGetRecvFlowerListRsp uint16 = 8374 + ApiPlantFlowerGetSeedInfoReq uint16 = 8560 + ApiPlantFlowerGetSeedInfoRsp uint16 = 8764 + ApiPlantFlowerGiveFriendFlowerReq uint16 = 8846 + ApiPlantFlowerGiveFriendFlowerRsp uint16 = 8386 + ApiPlantFlowerHaveRecvFlowerNotify uint16 = 8078 + ApiPlantFlowerSetFlowerWishReq uint16 = 8547 + ApiPlantFlowerSetFlowerWishRsp uint16 = 8910 + ApiPlantFlowerTakeSeedRewardReq uint16 = 8968 + ApiPlantFlowerTakeSeedRewardRsp uint16 = 8860 + ApiPlatformChangeRouteNotify uint16 = 268 + ApiPlatformStartRouteNotify uint16 = 218 + ApiPlatformStopRouteNotify uint16 = 266 + ApiPlayerAllowEnterMpAfterAgreeMatchNotify uint16 = 4199 + ApiPlayerApplyEnterHomeNotify uint16 = 4533 + ApiPlayerApplyEnterHomeResultNotify uint16 = 4468 + ApiPlayerApplyEnterHomeResultReq uint16 = 4693 + ApiPlayerApplyEnterHomeResultRsp uint16 = 4706 + ApiPlayerApplyEnterMpAfterMatchAgreedNotify uint16 = 4195 + ApiPlayerApplyEnterMpNotify uint16 = 1826 + ApiPlayerApplyEnterMpReq uint16 = 1818 + ApiPlayerApplyEnterMpResultNotify uint16 = 1807 + ApiPlayerApplyEnterMpResultReq uint16 = 1802 + ApiPlayerApplyEnterMpResultRsp uint16 = 1831 + ApiPlayerApplyEnterMpRsp uint16 = 1825 + ApiPlayerCancelMatchReq uint16 = 4157 + ApiPlayerCancelMatchRsp uint16 = 4152 + ApiPlayerChatCDNotify uint16 = 3367 + ApiPlayerChatNotify uint16 = 3010 + ApiPlayerChatReq uint16 = 3185 + ApiPlayerChatRsp uint16 = 3228 + ApiPlayerCompoundMaterialReq uint16 = 150 + ApiPlayerCompoundMaterialRsp uint16 = 143 + ApiPlayerConfirmMatchReq uint16 = 4172 + ApiPlayerConfirmMatchRsp uint16 = 4194 + ApiPlayerCookArgsReq uint16 = 166 + ApiPlayerCookArgsRsp uint16 = 168 + ApiPlayerCookReq uint16 = 194 + ApiPlayerCookRsp uint16 = 188 + ApiPlayerDataNotify uint16 = 190 + ApiPlayerEnterDungeonReq uint16 = 912 + ApiPlayerEnterDungeonRsp uint16 = 935 + ApiPlayerEnterSceneInfoNotify uint16 = 214 + ApiPlayerEnterSceneNotify uint16 = 272 + ApiPlayerEyePointStateNotify uint16 = 3051 + ApiPlayerFishingDataNotify uint16 = 5835 + ApiPlayerForceExitReq uint16 = 189 + ApiPlayerForceExitRsp uint16 = 159 + ApiPlayerGameTimeNotify uint16 = 131 + ApiPlayerGeneralMatchConfirmNotify uint16 = 4192 + ApiPlayerGeneralMatchDismissNotify uint16 = 4191 + ApiPlayerGetForceQuitBanInfoReq uint16 = 4164 + ApiPlayerGetForceQuitBanInfoRsp uint16 = 4197 + ApiPlayerHomeCompInfoNotify uint16 = 4880 + ApiPlayerInjectFixNotify uint16 = 132 + ApiPlayerInvestigationAllInfoNotify uint16 = 1928 + ApiPlayerInvestigationNotify uint16 = 1911 + ApiPlayerInvestigationTargetNotify uint16 = 1929 + ApiPlayerLevelRewardUpdateNotify uint16 = 200 + ApiPlayerLoginReq uint16 = 112 + ApiPlayerLoginRsp uint16 = 135 + ApiPlayerLogoutNotify uint16 = 103 + ApiPlayerLogoutReq uint16 = 107 + ApiPlayerLogoutRsp uint16 = 121 + ApiPlayerLuaShellNotify uint16 = 133 + ApiPlayerMatchAgreedResultNotify uint16 = 4170 + ApiPlayerMatchInfoNotify uint16 = 4175 + ApiPlayerMatchStopNotify uint16 = 4181 + ApiPlayerMatchSuccNotify uint16 = 4179 + ApiPlayerOfferingDataNotify uint16 = 2923 + ApiPlayerOfferingReq uint16 = 2907 + ApiPlayerOfferingRsp uint16 = 2917 + ApiPlayerPreEnterMpNotify uint16 = 1822 + ApiPlayerPropChangeNotify uint16 = 139 + ApiPlayerPropChangeReasonNotify uint16 = 1299 + ApiPlayerPropNotify uint16 = 175 + ApiPlayerQuitDungeonReq uint16 = 907 + ApiPlayerQuitDungeonRsp uint16 = 921 + ApiPlayerQuitFromHomeNotify uint16 = 4656 + ApiPlayerQuitFromMpNotify uint16 = 1829 + ApiPlayerRandomCookReq uint16 = 126 + ApiPlayerRandomCookRsp uint16 = 163 + ApiPlayerRechargeDataNotify uint16 = 4102 + ApiPlayerReportReq uint16 = 4024 + ApiPlayerReportRsp uint16 = 4056 + ApiPlayerRoutineDataNotify uint16 = 3526 + ApiPlayerSetLanguageReq uint16 = 142 + ApiPlayerSetLanguageRsp uint16 = 130 + ApiPlayerSetOnlyMPWithPSPlayerReq uint16 = 1820 + ApiPlayerSetOnlyMPWithPSPlayerRsp uint16 = 1845 + ApiPlayerSetPauseReq uint16 = 124 + ApiPlayerSetPauseRsp uint16 = 156 + ApiPlayerStartMatchReq uint16 = 4176 + ApiPlayerStartMatchRsp uint16 = 4168 + ApiPlayerStoreNotify uint16 = 672 + ApiPlayerTimeNotify uint16 = 191 + ApiPlayerWorldSceneInfoListNotify uint16 = 3129 + ApiPostEnterSceneReq uint16 = 3312 + ApiPostEnterSceneRsp uint16 = 3184 + ApiPrivateChatNotify uint16 = 4962 + ApiPrivateChatReq uint16 = 5022 + ApiPrivateChatRsp uint16 = 5048 + ApiPrivateChatSetSequenceReq uint16 = 4985 + ApiPrivateChatSetSequenceRsp uint16 = 4957 + ApiProfilePictureChangeNotify uint16 = 4016 + ApiProjectorOptionReq uint16 = 863 + ApiProjectorOptionRsp uint16 = 895 + ApiProudSkillChangeNotify uint16 = 1031 + ApiProudSkillExtraLevelNotify uint16 = 1081 + ApiProudSkillUpgradeReq uint16 = 1073 + ApiProudSkillUpgradeRsp uint16 = 1099 + ApiPullPrivateChatReq uint16 = 4971 + ApiPullPrivateChatRsp uint16 = 4953 + ApiPullRecentChatReq uint16 = 5040 + ApiPullRecentChatRsp uint16 = 5023 + ApiPushTipsAllDataNotify uint16 = 2222 + ApiPushTipsChangeNotify uint16 = 2265 + ApiPushTipsReadFinishReq uint16 = 2204 + ApiPushTipsReadFinishRsp uint16 = 2293 + ApiQueryCodexMonsterBeKilledNumReq uint16 = 4203 + ApiQueryCodexMonsterBeKilledNumRsp uint16 = 4209 + ApiQueryPathReq uint16 = 2372 + ApiQueryPathRsp uint16 = 2398 + ApiQuestCreateEntityReq uint16 = 499 + ApiQuestCreateEntityRsp uint16 = 431 + ApiQuestDelNotify uint16 = 412 + ApiQuestDestroyEntityReq uint16 = 475 + ApiQuestDestroyEntityRsp uint16 = 448 + ApiQuestDestroyNpcReq uint16 = 422 + ApiQuestDestroyNpcRsp uint16 = 465 + ApiQuestGlobalVarNotify uint16 = 434 + ApiQuestListNotify uint16 = 472 + ApiQuestListUpdateNotify uint16 = 498 + ApiQuestProgressUpdateNotify uint16 = 482 + ApiQuestTransmitReq uint16 = 450 + ApiQuestTransmitRsp uint16 = 443 + ApiQuestUpdateQuestTimeVarNotify uint16 = 456 + ApiQuestUpdateQuestVarNotify uint16 = 453 + ApiQuestUpdateQuestVarReq uint16 = 447 + ApiQuestUpdateQuestVarRsp uint16 = 439 + ApiQuickUseWidgetReq uint16 = 4299 + ApiQuickUseWidgetRsp uint16 = 4270 + ApiReadMailNotify uint16 = 1412 + ApiReadPrivateChatReq uint16 = 5049 + ApiReadPrivateChatRsp uint16 = 4981 + ApiReceivedTrialAvatarActivityRewardReq uint16 = 2130 + ApiReceivedTrialAvatarActivityRewardRsp uint16 = 2076 + ApiRechargeReq uint16 = 4126 + ApiRechargeRsp uint16 = 4118 + ApiRedeemLegendaryKeyReq uint16 = 446 + ApiRedeemLegendaryKeyRsp uint16 = 441 + ApiRefreshBackgroundAvatarReq uint16 = 1743 + ApiRefreshBackgroundAvatarRsp uint16 = 1800 + ApiRefreshRoguelikeDungeonCardReq uint16 = 8279 + ApiRefreshRoguelikeDungeonCardRsp uint16 = 8349 + ApiRegionSearchChangeRegionNotify uint16 = 5618 + ApiRegionSearchNotify uint16 = 5626 + ApiReliquaryDecomposeReq uint16 = 638 + ApiReliquaryDecomposeRsp uint16 = 611 + ApiReliquaryPromoteReq uint16 = 627 + ApiReliquaryPromoteRsp uint16 = 694 + ApiReliquaryUpgradeReq uint16 = 604 + ApiReliquaryUpgradeRsp uint16 = 693 + ApiRemoveBlacklistReq uint16 = 4063 + ApiRemoveBlacklistRsp uint16 = 4095 + ApiRemoveRandTaskInfoNotify uint16 = 161 + ApiReportFightAntiCheatNotify uint16 = 368 + ApiReportTrackingIOInfoNotify uint16 = 4129 + ApiRequestLiveInfoReq uint16 = 894 + ApiRequestLiveInfoRsp uint16 = 888 + ApiResinCardDataUpdateNotify uint16 = 4149 + ApiResinChangeNotify uint16 = 642 + ApiRestartEffigyChallengeReq uint16 = 2148 + ApiRestartEffigyChallengeRsp uint16 = 2042 + ApiReunionActivateNotify uint16 = 5085 + ApiReunionBriefInfoReq uint16 = 5076 + ApiReunionBriefInfoRsp uint16 = 5068 + ApiReunionDailyRefreshNotify uint16 = 5100 + ApiReunionPrivilegeChangeNotify uint16 = 5098 + ApiReunionSettleNotify uint16 = 5073 + ApiRobotPushPlayerDataNotify uint16 = 97 + ApiRogueCellUpdateNotify uint16 = 8642 + ApiRogueDungeonPlayerCellChangeNotify uint16 = 8347 + ApiRogueHealAvatarsReq uint16 = 8947 + ApiRogueHealAvatarsRsp uint16 = 8949 + ApiRogueResumeDungeonReq uint16 = 8795 + ApiRogueResumeDungeonRsp uint16 = 8647 + ApiRogueSwitchAvatarReq uint16 = 8201 + ApiRogueSwitchAvatarRsp uint16 = 8915 + ApiRoguelikeCardGachaNotify uint16 = 8925 + ApiRoguelikeEffectDataNotify uint16 = 8222 + ApiRoguelikeEffectViewReq uint16 = 8528 + ApiRoguelikeEffectViewRsp uint16 = 8639 + ApiRoguelikeGiveUpReq uint16 = 8660 + ApiRoguelikeGiveUpRsp uint16 = 8139 + ApiRoguelikeMistClearNotify uint16 = 8324 + ApiRoguelikeRefreshCardCostUpdateNotify uint16 = 8927 + ApiRoguelikeResourceBonusPropUpdateNotify uint16 = 8555 + ApiRoguelikeRuneRecordUpdateNotify uint16 = 8973 + ApiRoguelikeSelectAvatarAndEnterDungeonReq uint16 = 8457 + ApiRoguelikeSelectAvatarAndEnterDungeonRsp uint16 = 8538 + ApiRoguelikeTakeStageFirstPassRewardReq uint16 = 8421 + ApiRoguelikeTakeStageFirstPassRewardRsp uint16 = 8552 + ApiSalesmanDeliverItemReq uint16 = 2138 + ApiSalesmanDeliverItemRsp uint16 = 2104 + ApiSalesmanTakeRewardReq uint16 = 2191 + ApiSalesmanTakeRewardRsp uint16 = 2110 + ApiSalesmanTakeSpecialRewardReq uint16 = 2145 + ApiSalesmanTakeSpecialRewardRsp uint16 = 2124 + ApiSaveCoopDialogReq uint16 = 2000 + ApiSaveCoopDialogRsp uint16 = 1962 + ApiSaveMainCoopReq uint16 = 1975 + ApiSaveMainCoopRsp uint16 = 1957 + ApiSceneAreaUnlockNotify uint16 = 293 + ApiSceneAreaWeatherNotify uint16 = 230 + ApiSceneAudioNotify uint16 = 3166 + ApiSceneAvatarStaminaStepReq uint16 = 299 + ApiSceneAvatarStaminaStepRsp uint16 = 231 + ApiSceneCreateEntityReq uint16 = 288 + ApiSceneCreateEntityRsp uint16 = 226 + ApiSceneDataNotify uint16 = 3203 + ApiSceneDestroyEntityReq uint16 = 263 + ApiSceneDestroyEntityRsp uint16 = 295 + ApiSceneEntitiesMoveCombineNotify uint16 = 3387 + ApiSceneEntitiesMovesReq uint16 = 279 + ApiSceneEntitiesMovesRsp uint16 = 255 + ApiSceneEntityAppearNotify uint16 = 221 + ApiSceneEntityDisappearNotify uint16 = 203 + ApiSceneEntityDrownReq uint16 = 227 + ApiSceneEntityDrownRsp uint16 = 294 + ApiSceneEntityMoveNotify uint16 = 275 + ApiSceneEntityMoveReq uint16 = 290 + ApiSceneEntityMoveRsp uint16 = 273 + ApiSceneEntityUpdateNotify uint16 = 3412 + ApiSceneForceLockNotify uint16 = 234 + ApiSceneForceUnlockNotify uint16 = 206 + ApiSceneGalleryInfoNotify uint16 = 5581 + ApiSceneInitFinishReq uint16 = 235 + ApiSceneInitFinishRsp uint16 = 207 + ApiSceneKickPlayerNotify uint16 = 211 + ApiSceneKickPlayerReq uint16 = 264 + ApiSceneKickPlayerRsp uint16 = 238 + ApiScenePlayBattleInfoListNotify uint16 = 4431 + ApiScenePlayBattleInfoNotify uint16 = 4422 + ApiScenePlayBattleInterruptNotify uint16 = 4425 + ApiScenePlayBattleResultNotify uint16 = 4398 + ApiScenePlayBattleUidOpNotify uint16 = 4447 + ApiScenePlayGuestReplyInviteReq uint16 = 4353 + ApiScenePlayGuestReplyInviteRsp uint16 = 4440 + ApiScenePlayGuestReplyNotify uint16 = 4423 + ApiScenePlayInfoListNotify uint16 = 4381 + ApiScenePlayInviteResultNotify uint16 = 4449 + ApiScenePlayOutofRegionNotify uint16 = 4355 + ApiScenePlayOwnerCheckReq uint16 = 4448 + ApiScenePlayOwnerCheckRsp uint16 = 4362 + ApiScenePlayOwnerInviteNotify uint16 = 4371 + ApiScenePlayOwnerStartInviteReq uint16 = 4385 + ApiScenePlayOwnerStartInviteRsp uint16 = 4357 + ApiScenePlayerInfoNotify uint16 = 267 + ApiScenePlayerLocationNotify uint16 = 248 + ApiScenePlayerSoundNotify uint16 = 233 + ApiScenePointUnlockNotify uint16 = 247 + ApiSceneRouteChangeNotify uint16 = 240 + ApiSceneTeamUpdateNotify uint16 = 1775 + ApiSceneTimeNotify uint16 = 245 + ApiSceneTransToPointReq uint16 = 239 + ApiSceneTransToPointRsp uint16 = 253 + ApiSceneWeatherForcastReq uint16 = 3110 + ApiSceneWeatherForcastRsp uint16 = 3012 + ApiSeaLampCoinNotify uint16 = 2114 + ApiSeaLampContributeItemReq uint16 = 2123 + ApiSeaLampContributeItemRsp uint16 = 2139 + ApiSeaLampFlyLampNotify uint16 = 2105 + ApiSeaLampFlyLampReq uint16 = 2199 + ApiSeaLampFlyLampRsp uint16 = 2192 + ApiSeaLampPopularityNotify uint16 = 2032 + ApiSeaLampTakeContributionRewardReq uint16 = 2019 + ApiSeaLampTakeContributionRewardRsp uint16 = 2177 + ApiSeaLampTakePhaseRewardReq uint16 = 2176 + ApiSeaLampTakePhaseRewardRsp uint16 = 2190 + ApiSealBattleBeginNotify uint16 = 289 + ApiSealBattleEndNotify uint16 = 259 + ApiSealBattleProgressNotify uint16 = 232 + ApiSeeMonsterReq uint16 = 228 + ApiSeeMonsterRsp uint16 = 251 + ApiSelectAsterMidDifficultyReq uint16 = 2134 + ApiSelectAsterMidDifficultyRsp uint16 = 2180 + ApiSelectEffigyChallengeConditionReq uint16 = 2064 + ApiSelectEffigyChallengeConditionRsp uint16 = 2039 + ApiSelectRoguelikeDungeonCardReq uint16 = 8085 + ApiSelectRoguelikeDungeonCardRsp uint16 = 8138 + ApiSelectWorktopOptionReq uint16 = 807 + ApiSelectWorktopOptionRsp uint16 = 821 + ApiServerAnnounceNotify uint16 = 2197 + ApiServerAnnounceRevokeNotify uint16 = 2092 + ApiServerBuffChangeNotify uint16 = 361 + ApiServerCondMeetQuestListUpdateNotify uint16 = 406 + ApiServerDisconnectClientNotify uint16 = 184 + ApiServerGlobalValueChangeNotify uint16 = 1197 + ApiServerLogNotify uint16 = 31 + ApiServerMessageNotify uint16 = 5718 + ApiServerTimeNotify uint16 = 99 + ApiServerUpdateGlobalValueNotify uint16 = 1148 + ApiSetBattlePassViewedReq uint16 = 2641 + ApiSetBattlePassViewedRsp uint16 = 2642 + ApiSetChatEmojiCollectionReq uint16 = 4084 + ApiSetChatEmojiCollectionRsp uint16 = 4080 + ApiSetCoopChapterViewedReq uint16 = 1965 + ApiSetCoopChapterViewedRsp uint16 = 1963 + ApiSetCurExpeditionChallengeIdReq uint16 = 2021 + ApiSetCurExpeditionChallengeIdRsp uint16 = 2049 + ApiSetEntityClientDataNotify uint16 = 3146 + ApiSetEquipLockStateReq uint16 = 666 + ApiSetEquipLockStateRsp uint16 = 668 + ApiSetFriendEnterHomeOptionReq uint16 = 4494 + ApiSetFriendEnterHomeOptionRsp uint16 = 4743 + ApiSetFriendRemarkNameReq uint16 = 4042 + ApiSetFriendRemarkNameRsp uint16 = 4030 + ApiSetH5ActivityRedDotTimestampReq uint16 = 5657 + ApiSetH5ActivityRedDotTimestampRsp uint16 = 5652 + ApiSetIsAutoUnlockSpecificEquipReq uint16 = 620 + ApiSetIsAutoUnlockSpecificEquipRsp uint16 = 664 + ApiSetLimitOptimizationNotify uint16 = 8851 + ApiSetNameCardReq uint16 = 4004 + ApiSetNameCardRsp uint16 = 4093 + ApiSetOpenStateReq uint16 = 165 + ApiSetOpenStateRsp uint16 = 104 + ApiSetPlayerBirthdayReq uint16 = 4048 + ApiSetPlayerBirthdayRsp uint16 = 4097 + ApiSetPlayerBornDataReq uint16 = 105 + ApiSetPlayerBornDataRsp uint16 = 182 + ApiSetPlayerHeadImageReq uint16 = 4082 + ApiSetPlayerHeadImageRsp uint16 = 4047 + ApiSetPlayerNameReq uint16 = 153 + ApiSetPlayerNameRsp uint16 = 122 + ApiSetPlayerPropReq uint16 = 197 + ApiSetPlayerPropRsp uint16 = 181 + ApiSetPlayerSignatureReq uint16 = 4081 + ApiSetPlayerSignatureRsp uint16 = 4005 + ApiSetSceneWeatherAreaReq uint16 = 254 + ApiSetSceneWeatherAreaRsp uint16 = 283 + ApiSetUpAvatarTeamReq uint16 = 1690 + ApiSetUpAvatarTeamRsp uint16 = 1646 + ApiSetUpLunchBoxWidgetReq uint16 = 4272 + ApiSetUpLunchBoxWidgetRsp uint16 = 4294 + ApiSetWidgetSlotReq uint16 = 4259 + ApiSetWidgetSlotRsp uint16 = 4277 + ApiShowClientGuideNotify uint16 = 3005 + ApiShowClientTutorialNotify uint16 = 3305 + ApiShowCommonTipsNotify uint16 = 3352 + ApiShowMessageNotify uint16 = 35 + ApiShowTemplateReminderNotify uint16 = 3491 + ApiSignInInfoReq uint16 = 2512 + ApiSignInInfoRsp uint16 = 2535 + ApiSocialDataNotify uint16 = 4043 + ApiSpringUseReq uint16 = 1748 + ApiSpringUseRsp uint16 = 1642 + ApiStartArenaChallengeLevelReq uint16 = 2127 + ApiStartArenaChallengeLevelRsp uint16 = 2125 + ApiStartBuoyantCombatGalleryReq uint16 = 8732 + ApiStartBuoyantCombatGalleryRsp uint16 = 8680 + ApiStartCoopPointReq uint16 = 1992 + ApiStartCoopPointRsp uint16 = 1964 + ApiStartEffigyChallengeReq uint16 = 2169 + ApiStartEffigyChallengeRsp uint16 = 2173 + ApiStartFishingReq uint16 = 5825 + ApiStartFishingRsp uint16 = 5807 + ApiStartRogueEliteCellChallengeReq uint16 = 8242 + ApiStartRogueEliteCellChallengeRsp uint16 = 8958 + ApiStartRogueNormalCellChallengeReq uint16 = 8205 + ApiStartRogueNormalCellChallengeRsp uint16 = 8036 + ApiStoreItemChangeNotify uint16 = 612 + ApiStoreItemDelNotify uint16 = 635 + ApiStoreWeightLimitNotify uint16 = 698 + ApiSummerTimeFloatSignalPositionNotify uint16 = 8077 + ApiSummerTimeFloatSignalUpdateNotify uint16 = 8781 + ApiSummerTimeSprintBoatRestartReq uint16 = 8410 + ApiSummerTimeSprintBoatRestartRsp uint16 = 8356 + ApiSummerTimeSprintBoatSettleNotify uint16 = 8651 + ApiSumoDungeonSettleNotify uint16 = 8291 + ApiSumoEnterDungeonNotify uint16 = 8013 + ApiSumoLeaveDungeonNotify uint16 = 8640 + ApiSumoRestartDungeonReq uint16 = 8612 + ApiSumoRestartDungeonRsp uint16 = 8214 + ApiSumoSaveTeamReq uint16 = 8313 + ApiSumoSaveTeamRsp uint16 = 8319 + ApiSumoSelectTeamAndEnterDungeonReq uint16 = 8215 + ApiSumoSelectTeamAndEnterDungeonRsp uint16 = 8193 + ApiSumoSetNoSwitchPunishTimeNotify uint16 = 8935 + ApiSumoSwitchTeamReq uint16 = 8351 + ApiSumoSwitchTeamRsp uint16 = 8525 + ApiSyncScenePlayTeamEntityNotify uint16 = 3333 + ApiSyncTeamEntityNotify uint16 = 317 + ApiTakeAchievementGoalRewardReq uint16 = 2652 + ApiTakeAchievementGoalRewardRsp uint16 = 2681 + ApiTakeAchievementRewardReq uint16 = 2675 + ApiTakeAchievementRewardRsp uint16 = 2657 + ApiTakeAsterSpecialRewardReq uint16 = 2097 + ApiTakeAsterSpecialRewardRsp uint16 = 2193 + ApiTakeBattlePassMissionPointReq uint16 = 2629 + ApiTakeBattlePassMissionPointRsp uint16 = 2622 + ApiTakeBattlePassRewardReq uint16 = 2602 + ApiTakeBattlePassRewardRsp uint16 = 2631 + ApiTakeCityReputationExploreRewardReq uint16 = 2897 + ApiTakeCityReputationExploreRewardRsp uint16 = 2881 + ApiTakeCityReputationLevelRewardReq uint16 = 2812 + ApiTakeCityReputationLevelRewardRsp uint16 = 2835 + ApiTakeCityReputationParentQuestReq uint16 = 2821 + ApiTakeCityReputationParentQuestRsp uint16 = 2803 + ApiTakeCompoundOutputReq uint16 = 174 + ApiTakeCompoundOutputRsp uint16 = 176 + ApiTakeCoopRewardReq uint16 = 1973 + ApiTakeCoopRewardRsp uint16 = 1985 + ApiTakeDeliveryDailyRewardReq uint16 = 2121 + ApiTakeDeliveryDailyRewardRsp uint16 = 2162 + ApiTakeEffigyFirstPassRewardReq uint16 = 2196 + ApiTakeEffigyFirstPassRewardRsp uint16 = 2061 + ApiTakeEffigyRewardReq uint16 = 2040 + ApiTakeEffigyRewardRsp uint16 = 2007 + ApiTakeFirstShareRewardReq uint16 = 4074 + ApiTakeFirstShareRewardRsp uint16 = 4076 + ApiTakeFurnitureMakeReq uint16 = 4772 + ApiTakeFurnitureMakeRsp uint16 = 4769 + ApiTakeHuntingOfferReq uint16 = 4326 + ApiTakeHuntingOfferRsp uint16 = 4318 + ApiTakeInvestigationRewardReq uint16 = 1912 + ApiTakeInvestigationRewardRsp uint16 = 1922 + ApiTakeInvestigationTargetRewardReq uint16 = 1918 + ApiTakeInvestigationTargetRewardRsp uint16 = 1916 + ApiTakeMaterialDeleteReturnReq uint16 = 629 + ApiTakeMaterialDeleteReturnRsp uint16 = 657 + ApiTakeOfferingLevelRewardReq uint16 = 2919 + ApiTakeOfferingLevelRewardRsp uint16 = 2911 + ApiTakePlayerLevelRewardReq uint16 = 129 + ApiTakePlayerLevelRewardRsp uint16 = 157 + ApiTakeRegionSearchRewardReq uint16 = 5625 + ApiTakeRegionSearchRewardRsp uint16 = 5607 + ApiTakeResinCardDailyRewardReq uint16 = 4122 + ApiTakeResinCardDailyRewardRsp uint16 = 4144 + ApiTakeReunionFirstGiftRewardReq uint16 = 5075 + ApiTakeReunionFirstGiftRewardRsp uint16 = 5057 + ApiTakeReunionMissionRewardReq uint16 = 5092 + ApiTakeReunionMissionRewardRsp uint16 = 5064 + ApiTakeReunionSignInRewardReq uint16 = 5079 + ApiTakeReunionSignInRewardRsp uint16 = 5072 + ApiTakeReunionWatcherRewardReq uint16 = 5070 + ApiTakeReunionWatcherRewardRsp uint16 = 5095 + ApiTakeoffEquipReq uint16 = 605 + ApiTakeoffEquipRsp uint16 = 682 + ApiTaskVarNotify uint16 = 160 + ApiTeamResonanceChangeNotify uint16 = 1082 + ApiTowerAllDataReq uint16 = 2490 + ApiTowerAllDataRsp uint16 = 2473 + ApiTowerBriefDataNotify uint16 = 2472 + ApiTowerBuffSelectReq uint16 = 2448 + ApiTowerBuffSelectRsp uint16 = 2497 + ApiTowerCurLevelRecordChangeNotify uint16 = 2412 + ApiTowerDailyRewardProgressChangeNotify uint16 = 2435 + ApiTowerEnterLevelReq uint16 = 2431 + ApiTowerEnterLevelRsp uint16 = 2475 + ApiTowerFloorRecordChangeNotify uint16 = 2498 + ApiTowerGetFloorStarRewardReq uint16 = 2404 + ApiTowerGetFloorStarRewardRsp uint16 = 2493 + ApiTowerLevelEndNotify uint16 = 2495 + ApiTowerLevelStarCondNotify uint16 = 2406 + ApiTowerMiddleLevelChangeTeamNotify uint16 = 2434 + ApiTowerRecordHandbookReq uint16 = 2450 + ApiTowerRecordHandbookRsp uint16 = 2443 + ApiTowerSurrenderReq uint16 = 2422 + ApiTowerSurrenderRsp uint16 = 2465 + ApiTowerTeamSelectReq uint16 = 2421 + ApiTowerTeamSelectRsp uint16 = 2403 + ApiTreasureMapBonusChallengeNotify uint16 = 2115 + ApiTreasureMapCurrencyNotify uint16 = 2171 + ApiTreasureMapDetectorDataNotify uint16 = 4300 + ApiTreasureMapGuideTaskDoneNotify uint16 = 2119 + ApiTreasureMapHostInfoNotify uint16 = 8681 + ApiTreasureMapMpChallengeNotify uint16 = 2048 + ApiTreasureMapPreTaskDoneNotify uint16 = 2152 + ApiTreasureMapRegionActiveNotify uint16 = 2122 + ApiTreasureMapRegionInfoNotify uint16 = 2185 + ApiTrialAvatarFirstPassDungeonNotify uint16 = 2013 + ApiTrialAvatarInDungeonIndexNotify uint16 = 2186 + ApiTriggerCreateGadgetToEquipPartNotify uint16 = 350 + ApiTriggerRoguelikeCurseNotify uint16 = 8412 + ApiTriggerRoguelikeRuneReq uint16 = 8463 + ApiTriggerRoguelikeRuneRsp uint16 = 8065 + ApiTryEnterHomeReq uint16 = 4482 + ApiTryEnterHomeRsp uint16 = 4653 + ApiUnfreezeGroupLimitNotify uint16 = 3220 + ApiUnionCmdNotify uint16 = 5 + ApiUnk2200_DEHCEKCILAB_ClientNotify uint16 = 88 + ApiUnk2700_AAHKMNNAFIH uint16 = 8231 + ApiUnk2700_ACILPONNGGK_ClientReq uint16 = 4537 + ApiUnk2700_ADBFKMECFNJ_ClientNotify uint16 = 6240 + ApiUnk2700_AEEMJIMOPKD uint16 = 8481 + ApiUnk2700_AHHFDDOGCNA uint16 = 8768 + ApiUnk2700_AHOMMGBBIAH uint16 = 8066 + ApiUnk2700_AIBHKIENDPF uint16 = 8147 + ApiUnk2700_AIGKGLHBMCP_ServerRsp uint16 = 6244 + ApiUnk2700_AIKOFHAKNPC uint16 = 8740 + ApiUnk2700_AKIBKKOMBMC uint16 = 8120 + ApiUnk2700_ALBPFHFJHHF_ClientReq uint16 = 6036 + ApiUnk2700_ALFEKGABMAA uint16 = 8022 + ApiUnk2700_AMOEOCPOMGJ_ClientReq uint16 = 6090 + ApiUnk2700_ANEBALDAFJI uint16 = 8357 + ApiUnk2700_ANGBJGAOMHF_ClientReq uint16 = 6344 + ApiUnk2700_AOIJNFMIAIP uint16 = 8614 + ApiUnk2700_APNHPEJCDMO uint16 = 8610 + ApiUnk2700_APOBKAEHMEL uint16 = 8216 + ApiUnk2700_BBLJNCKPKPN uint16 = 8192 + ApiUnk2700_BBMKJGPMIOE uint16 = 8580 + ApiUnk2700_BCFKCLHCBDI uint16 = 8419 + ApiUnk2700_BCPHPHGOKGN uint16 = 8227 + ApiUnk2700_BEDCCMDPNCH uint16 = 8499 + ApiUnk2700_BEDLIGJANCJ_ClientReq uint16 = 4558 + ApiUnk2700_BEINCMBJDAA_ClientReq uint16 = 333 + ApiUnk2700_BKEELPKCHGO_ClientReq uint16 = 6209 + ApiUnk2700_BKGPMAHMHIG uint16 = 8561 + ApiUnk2700_BLCHNMCGJCJ uint16 = 8948 + ApiUnk2700_BLFFJBMLAPI uint16 = 8772 + ApiUnk2700_BLHIGLFDHFA_ServerNotify uint16 = 4654 + ApiUnk2700_BLNOMGJJLOI uint16 = 8854 + ApiUnk2700_BMDBBHFJMPF uint16 = 8178 + ApiUnk2700_BNABFJBODGE uint16 = 8226 + ApiUnk2700_BNCBHLOKDCD uint16 = 8602 + ApiUnk2700_BNMDCEKPDMC uint16 = 8641 + ApiUnk2700_BOEHCEAAKKA uint16 = 8921 + ApiUnk2700_BOPIJJPNHCK uint16 = 8590 + ApiUnk2700_BPFNCHEFKJM uint16 = 8449 + ApiUnk2700_BPPDLOJLAAO uint16 = 8280 + ApiUnk2700_CALNMMBNKFD uint16 = 8502 + ApiUnk2700_CAODHBDOGNE uint16 = 8597 + ApiUnk2700_CBGOFDNILKA uint16 = 8159 + ApiUnk2700_CCCKFHICDHD_ClientNotify uint16 = 3314 + ApiUnk2700_CEEONDKDIHH_ClientReq uint16 = 6213 + ApiUnk2700_CFLKEDHFPAB uint16 = 8143 + ApiUnk2700_CGNFBKKBPJE uint16 = 8240 + ApiUnk2700_CHICHNGLKPI uint16 = 8149 + ApiUnk2700_CILGDLMHCNG_ServerNotify uint16 = 1951 + ApiUnk2700_CIOMEDJDPBP_ClientReq uint16 = 6342 + ApiUnk2700_CJKCCLEGPCM uint16 = 8153 + ApiUnk2700_CLKGPNDKIDD uint16 = 8725 + ApiUnk2700_CLMGFEOPNFH uint16 = 8938 + ApiUnk2700_CNEIMEHAAAF uint16 = 8903 + ApiUnk2700_CNNJKJFHGGD uint16 = 8264 + ApiUnk2700_COGBIJAPDLE uint16 = 8535 + ApiUnk2700_CPDDDMPAIDL uint16 = 8817 + ApiUnk2700_CPEMGFIMICD uint16 = 8588 + ApiUnk2700_DAGJNGODABM_ClientReq uint16 = 6329 + ApiUnk2700_DBPDHLEGOLB uint16 = 8127 + ApiUnk2700_DCBEFDDECOJ uint16 = 8858 + ApiUnk2700_DCKKCAJCNKP_ServerRsp uint16 = 6207 + ApiUnk2700_DDAHPHCEIIM uint16 = 8144 + ApiUnk2700_DDLBKAMGGEE_ServerRsp uint16 = 6215 + ApiUnk2700_DFOHGHKAIBO uint16 = 8442 + ApiUnk2700_DGLIANMBMPA uint16 = 8342 + ApiUnk2700_DJMKFGKGAEA uint16 = 8411 + ApiUnk2700_DLAEFMAMIIJ uint16 = 8844 + ApiUnk2700_EAAGDFHHNMJ_ServerReq uint16 = 1105 + ApiUnk2700_EAAMIOAFNOD_ServerRsp uint16 = 4064 + ApiUnk2700_EAGIANJBNGK_ClientReq uint16 = 151 + ApiUnk2700_EAOAMGDLJMP uint16 = 8617 + ApiUnk2700_EBJCAMGPFDB uint16 = 8838 + ApiUnk2700_EBOECOIFJMP uint16 = 8717 + ApiUnk2700_ECBEAMKBGMD_ClientReq uint16 = 6235 + ApiUnk2700_EDCIENBEEDI uint16 = 8919 + ApiUnk2700_EDDNHJPJBBF uint16 = 8733 + ApiUnk2700_EDMCLPMBEMH uint16 = 8387 + ApiUnk2700_EELPPGCAKHL uint16 = 8373 + ApiUnk2700_EHAMOPKCIGI_ServerNotify uint16 = 4805 + ApiUnk2700_EHFBIEDHILL uint16 = 8882 + ApiUnk2700_EJHALNBHHHD_ServerRsp uint16 = 6322 + ApiUnk2700_EJIOFGEEIOM uint16 = 8837 + ApiUnk2700_EKBMEKPHJGK uint16 = 8726 + ApiUnk2700_EMHAHHAKOGA uint16 = 8163 + ApiUnk2700_FADPOMMGLCH uint16 = 8918 + ApiUnk2700_FCLBOLKPMGK uint16 = 8753 + ApiUnk2700_FDJBLKOBFIH uint16 = 8334 + ApiUnk2700_FEODEAEOOKE uint16 = 8507 + ApiUnk2700_FFMAKIPBPHE uint16 = 8989 + ApiUnk2700_FFOBMLOCPMH_ClientNotify uint16 = 6211 + ApiUnk2700_FGEEFFLBAKO uint16 = 8546 + ApiUnk2700_FGJBPNIKNDE uint16 = 8398 + ApiUnk2700_FIODAJPNBIK uint16 = 8937 + ApiUnk2700_FJEHHCPCBLG_ServerNotify uint16 = 4872 + ApiUnk2700_FJJFKOEACCE uint16 = 8450 + ApiUnk2700_FKCDCGCBIEA_ServerNotify uint16 = 6276 + ApiUnk2700_FKMOKPBJIKO uint16 = 8482 + ApiUnk2700_FLGMLEFJHBB_ClientReq uint16 = 6210 + ApiUnk2700_FMNAGFKECPL_ClientReq uint16 = 6222 + ApiUnk2700_FNHKFHGNLPP_ServerRsp uint16 = 6248 + ApiUnk2700_FNJHJKELICK uint16 = 8119 + ApiUnk2700_FOOOKMANFPE_ClientReq uint16 = 6249 + ApiUnk2700_FPCJGEOBADP_ServerRsp uint16 = 6204 + ApiUnk2700_FPJLFMEHHLB_ServerNotify uint16 = 4060 + ApiUnk2700_FPOBGEBDAOD_ServerNotify uint16 = 5547 + ApiUnk2700_GBJOLBGLELJ uint16 = 8014 + ApiUnk2700_GDODKDJJPMP_ServerRsp uint16 = 4605 + ApiUnk2700_GECHLGFKPOD_ServerNotify uint16 = 5364 + ApiUnk2700_GEIGCHNDOAA uint16 = 8657 + ApiUnk2700_GFMPOHAGMLO_ClientReq uint16 = 6250 + ApiUnk2700_GIAILDLPEOO_ServerRsp uint16 = 6241 + ApiUnk2700_GIFGEDBCPFC_ServerRsp uint16 = 417 + ApiUnk2700_GIFKPMNGNGB uint16 = 8608 + ApiUnk2700_GKHEKGMFBJN uint16 = 8688 + ApiUnk2700_GKKNFMNJFDP uint16 = 8261 + ApiUnk2700_GLAPMLGHDDC_ClientReq uint16 = 5960 + ApiUnk2700_GLIILNDIPLK_ServerNotify uint16 = 6341 + ApiUnk2700_GLLIEOABOML uint16 = 8057 + ApiUnk2700_GMNGEEBMABP uint16 = 8352 + ApiUnk2700_GNDOKLHDHBJ_ClientReq uint16 = 6245 + ApiUnk2700_GNOAKIGLPCG uint16 = 8991 + ApiUnk2700_GNPPPIHBDLJ uint16 = 8709 + ApiUnk2700_GPHLCIAMDFG uint16 = 8095 + ApiUnk2700_GPIHGEEKBOO_ClientReq uint16 = 6233 + ApiUnk2700_GPOIPAHPHJE uint16 = 8967 + ApiUnk2700_HBLAGOMHKPL_ClientRsp uint16 = 137 + ApiUnk2700_HBOFACHAGIF_ServerNotify uint16 = 9072 + ApiUnk2700_HDBFJJOBIAP_ClientReq uint16 = 6325 + ApiUnk2700_HFCDIGNAAPJ uint16 = 8129 + ApiUnk2700_HGMCBHFFDLJ uint16 = 8826 + ApiUnk2700_HGMOIKODALP_ServerRsp uint16 = 6220 + ApiUnk2700_HHGMCHANCBJ_ServerNotify uint16 = 6217 + ApiUnk2700_HIIFAMCBJCD_ServerRsp uint16 = 4206 + ApiUnk2700_HJKOHHGBMJP uint16 = 8933 + ApiUnk2700_HKADKMFMBPG uint16 = 8017 + ApiUnk2700_HMFCCGCKHCA uint16 = 8946 + ApiUnk2700_HMHHLEHFBLB uint16 = 8713 + ApiUnk2700_HMMFPDMLGEM uint16 = 8554 + ApiUnk2700_HNFGBBECGMJ uint16 = 8607 + ApiUnk2700_HOPDLJLBKIC_ServerRsp uint16 = 6056 + ApiUnk2700_IAADLJBLOIN_ServerNotify uint16 = 4092 + ApiUnk2700_IAAPADOAMIA uint16 = 8414 + ApiUnk2700_IACKJNNMCAC_ClientReq uint16 = 4523 + ApiUnk2700_IBOKDNKBMII uint16 = 8825 + ApiUnk2700_ICABIPHHPKE uint16 = 8028 + ApiUnk2700_IDADEMGCJBF_ClientNotify uint16 = 6243 + ApiUnk2700_IDAGMLJOJMP uint16 = 8799 + ApiUnk2700_IDGCNKONBBJ uint16 = 8793 + ApiUnk2700_IEFAGBHIODK uint16 = 8402 + ApiUnk2700_IEGOOOECBFH uint16 = 8880 + ApiUnk2700_IGPIIHEDJLJ_ServerRsp uint16 = 6218 + ApiUnk2700_IHLONDFBCOE_ClientReq uint16 = 6320 + ApiUnk2700_IHOOCHJACEL uint16 = 8325 + ApiUnk2700_IHPFBKANGMJ uint16 = 8771 + ApiUnk2700_IJFEPCBOLDF uint16 = 8756 + ApiUnk2700_IJLANPFECKC uint16 = 8277 + ApiUnk2700_ILBBAKACCHA_ClientReq uint16 = 470 + ApiUnk2700_ILLDDDFLKHP uint16 = 8959 + ApiUnk2700_IMHNKDHHGMA uint16 = 8186 + ApiUnk2700_INBDPOIMAHK_ClientReq uint16 = 6242 + ApiUnk2700_INOMEGGAGOP uint16 = 8132 + ApiUnk2700_IPGJEAEFJMM_ServerRsp uint16 = 6318 + ApiUnk2700_JCKGJAELBMB uint16 = 8704 + ApiUnk2700_JCOECJGPNOL_ServerRsp uint16 = 5929 + ApiUnk2700_JDMPECKFGIG_ServerNotify uint16 = 4639 + ApiUnk2700_JEFIMHGLOJF uint16 = 8096 + ApiUnk2700_JEHIAJHHIMP_ServerNotify uint16 = 109 + ApiUnk2700_JFGFIDBPGBK uint16 = 8381 + ApiUnk2700_JHMIHJFFJBO uint16 = 8862 + ApiUnk2700_JJAFAJIKDDK_ServerRsp uint16 = 6307 + ApiUnk2700_JJCDNAHAPKD_ClientReq uint16 = 6226 + ApiUnk2700_JKFGMBAMNDA_ServerNotify uint16 = 5320 + ApiUnk2700_JKOKBPFCILA_ClientReq uint16 = 467 + ApiUnk2700_JLOFMANHGHI_ClientReq uint16 = 6247 + ApiUnk2700_JNCINBLCNNL uint16 = 8696 + ApiUnk2700_JOHOODKBINN_ClientReq uint16 = 4256 + ApiUnk2700_JPLFIOOMCGG uint16 = 8142 + ApiUnk2700_KAJNLGIDKAB_ServerRsp uint16 = 4289 + ApiUnk2700_KDDPDHGPGEF_ServerRsp uint16 = 123 + ApiUnk2700_KDFNIGOBLEK uint16 = 8308 + ApiUnk2700_KDNNKELPJFL uint16 = 8777 + ApiUnk2700_KEMOFNEAOOO_ClientRsp uint16 = 1182 + ApiUnk2700_KFPEIHHCCLA uint16 = 8978 + ApiUnk2700_KGHOJPDNMKK_ServerRsp uint16 = 4641 + ApiUnk2700_KGNJIBIMAHI uint16 = 8842 + ApiUnk2700_KHLJJPGOELG_ClientReq uint16 = 6225 + ApiUnk2700_KIHEEAGDGIL_ServerNotify uint16 = 108 + ApiUnk2700_KIIOGMKFNNP_ServerRsp uint16 = 4615 + ApiUnk2700_KKEDIMOKCGD uint16 = 8218 + ApiUnk2700_KMIDCPLAGMN uint16 = 8848 + ApiUnk2700_KMNPMLCHELD_ServerRsp uint16 = 6201 + ApiUnk2700_KNGFOEKOODA_ServerRsp uint16 = 2163 + ApiUnk2700_KNMDFCBLIIG_ServerRsp uint16 = 384 + ApiUnk2700_KOGOPPONCHB_ClientReq uint16 = 4208 + ApiUnk2700_KPGMEMHEEMD uint16 = 8185 + ApiUnk2700_KPMMEBNMMCL uint16 = 8363 + ApiUnk2700_LAFHGMOPCCM_ServerNotify uint16 = 5553 + ApiUnk2700_LBJKLAGNDEJ_ClientReq uint16 = 4759 + ApiUnk2700_LBOPCDPFJEC uint16 = 8062 + ApiUnk2700_LCFGKHHIAEH_ServerNotify uint16 = 4014 + ApiUnk2700_LDJLMCAHHEN uint16 = 8748 + ApiUnk2700_LEMPLKGOOJC uint16 = 8362 + ApiUnk2700_LGAGHFKFFDO_ServerRsp uint16 = 6349 + ApiUnk2700_LGGAIDMLDIA_ServerReq uint16 = 177 + ApiUnk2700_LGHJBAEBJKE_ServerRsp uint16 = 6227 + ApiUnk2700_LHMOFCJCIKM uint16 = 9000 + ApiUnk2700_LIJCBOBECHJ uint16 = 8964 + ApiUnk2700_LJINJNECBIA uint16 = 8113 + ApiUnk2700_LKFKCNJFGIF_ServerRsp uint16 = 458 + ApiUnk2700_LKPBBMPFPPE_ClientReq uint16 = 6326 + ApiUnk2700_LLBCBPADBNO uint16 = 8154 + ApiUnk2700_LMAKABBJNLN uint16 = 8253 + ApiUnk2700_LNBBLNNPNBE_ServerNotify uint16 = 4583 + ApiUnk2700_LNMFIHNFKOO uint16 = 8572 + ApiUnk2700_LOHBMOKOPLH_ServerNotify uint16 = 4608 + ApiUnk2700_LPMIMLCNEDA uint16 = 8518 + ApiUnk2700_MBIAJKLACBG uint16 = 5757 + ApiUnk2700_MCJIOOELGHG_ServerNotify uint16 = 6033 + ApiUnk2700_MCOFAKMDMEF_ServerRsp uint16 = 6345 + ApiUnk2700_MDGKMNEBIBA uint16 = 8038 + ApiUnk2700_MDPHLPEGFCG_ClientReq uint16 = 4020 + ApiUnk2700_MEBFPBDNPGO_ServerNotify uint16 = 4847 + ApiUnk2700_MEFJECGAFNH_ServerNotify uint16 = 5338 + ApiUnk2700_MENCEGPEFAK uint16 = 8791 + ApiUnk2700_MFAIPHGDPBL uint16 = 8345 + ApiUnk2700_MFINCDMFGLD_ServerNotify uint16 = 152 + ApiUnk2700_MHMBDFKOOLJ_ClientNotify uint16 = 6234 + ApiUnk2700_MIBHNLEMICB uint16 = 8462 + ApiUnk2700_MIEJMGNBPJE uint16 = 8377 + ApiUnk2700_MJAIKMBPKCD uint16 = 8569 + ApiUnk2700_MJCCKKHJNMP_ServerRsp uint16 = 6212 + ApiUnk2700_MKAFBOPFDEF_ServerNotify uint16 = 430 + ApiUnk2700_MKLLNAHEJJC_ServerRsp uint16 = 4287 + ApiUnk2700_MKMDOIKBBEP uint16 = 8026 + ApiUnk2700_MLMJFIGJJEH_ServerNotify uint16 = 4878 + ApiUnk2700_MMDCAFMGACC_ServerNotify uint16 = 6221 + ApiUnk2700_MMFIJILOCOP_ClientReq uint16 = 4486 + ApiUnk2700_MNIBEMEMGMO uint16 = 8514 + ApiUnk2700_MPPAHFFHIPI_ServerNotify uint16 = 4187 + ApiUnk2700_NAEHEDLGLKA uint16 = 8257 + ApiUnk2700_NBFJOJPCCEK_ServerRsp uint16 = 6057 + ApiUnk2700_NBFOJLAHFCA_ServerNotify uint16 = 5928 + ApiUnk2700_NCJLMACGOCD_ClientNotify uint16 = 933 + ApiUnk2700_NCMPMILICGJ uint16 = 8407 + ApiUnk2700_NCPLKHGCOAH uint16 = 8767 + ApiUnk2700_NDDBFNNHLFE uint16 = 8340 + ApiUnk2700_NEHPMNPAAKC uint16 = 8806 + ApiUnk2700_NELNFCMDMHE_ServerRsp uint16 = 6314 + ApiUnk2700_NFGNGFLNOOJ_ServerNotify uint16 = 4811 + ApiUnk2700_NGEKONFLEBB uint16 = 8703 + ApiUnk2700_NGPMINKIOPK uint16 = 8956 + ApiUnk2700_NIMPHALPEPO_ClientNotify uint16 = 6236 + ApiUnk2700_NINHGODEMHH_ServerNotify uint16 = 2155 + ApiUnk2700_NJNMEFINDCF uint16 = 8093 + ApiUnk2700_NKIEIGPLMIO uint16 = 8459 + ApiUnk2700_NLBJHDNKPCC uint16 = 8626 + ApiUnk2700_NLJBCGILMIE uint16 = 8281 + ApiUnk2700_NMEENGOJOKD uint16 = 8930 + ApiUnk2700_NMJCGMOOIFP uint16 = 8061 + ApiUnk2700_NMJIMIKKIME uint16 = 8943 + ApiUnk2700_NNDKOICOGGH_ServerNotify uint16 = 5539 + ApiUnk2700_NNMDBDNIMHN_ServerRsp uint16 = 4538 + ApiUnk2700_OBCKNDBAPGE uint16 = 8072 + ApiUnk2700_OBDHJJHLIKJ uint16 = 8523 + ApiUnk2700_OCAJADDLPBB uint16 = 8718 + ApiUnk2700_ODBNBICOCFK uint16 = 8054 + ApiUnk2700_ODJKHILOILK uint16 = 8067 + ApiUnk2700_OEDLCGKNGLH uint16 = 8686 + ApiUnk2700_OFDBHGHAJBD_ServerNotify uint16 = 6223 + ApiUnk2700_OGHMHELMBNN_ServerRsp uint16 = 4488 + ApiUnk2700_OHDDPIFAPPD uint16 = 8125 + ApiUnk2700_OHIKIOLLMHM uint16 = 8233 + ApiUnk2700_OJHJBKHIPLA_ClientReq uint16 = 2009 + ApiUnk2700_OJLJMJLKNGJ_ClientReq uint16 = 6203 + ApiUnk2700_OKEKCGDGPDA uint16 = 8396 + ApiUnk2700_OKNDIGOKMMC uint16 = 8426 + ApiUnk2700_OLKJCGDHENH uint16 = 8343 + ApiUnk2700_ONKMCKLJNAL uint16 = 8401 + ApiUnk2700_PBGBOLJMIIB uint16 = 8924 + ApiUnk2700_PCBGAIAJPHH uint16 = 8758 + ApiUnk2700_PDGJFHAGMKD uint16 = 8447 + ApiUnk2700_PFFKAEPBEHE_ServerRsp uint16 = 6214 + ApiUnk2700_PFOLNOBIKFB uint16 = 8833 + ApiUnk2700_PHFADCJDBOF uint16 = 8559 + ApiUnk2700_PHLEDBIFIFL uint16 = 8165 + ApiUnk2700_PIEJLIIGLGM_ServerRsp uint16 = 6237 + ApiUnk2700_PIEJMALFKIF uint16 = 8531 + ApiUnk2700_PJCMAELKFEP uint16 = 8367 + ApiUnk2700_PJPMOLPHNEH uint16 = 8895 + ApiUnk2700_PKCLMDHHPFI uint16 = 8423 + ApiUnk2700_PKKJEOFNLCF uint16 = 8983 + ApiUnk2700_PMKNJBJPLBH uint16 = 8385 + ApiUnk2700_PPBALCAKIBD uint16 = 8273 + ApiUnk2700_PPOGMFAKBMK_ServerRsp uint16 = 6219 + ApiUnk2800_ACHELBEEBIP uint16 = 21800 + ApiUnk2800_ANGFAFEJBAE uint16 = 846 + ApiUnk2800_BDAPFODFMNE uint16 = 24550 + ApiUnk2800_BOFEHJBJELJ uint16 = 8574 + ApiUnk2800_CHEDEMEDPPM uint16 = 5565 + ApiUnk2800_COCHLKHLCPO uint16 = 23467 + ApiUnk2800_DKDJCLLNGNL uint16 = 8346 + ApiUnk2800_DNKCFLKHKJG uint16 = 876 + ApiUnk2800_DPINLADLBFA uint16 = 1902 + ApiUnk2800_ECCLDPCADCJ uint16 = 1921 + ApiUnk2800_EKGCCBDIKFI uint16 = 21851 + ApiUnk2800_FHCJIICLONO uint16 = 21025 + ApiUnk2800_GDDLBKEENNA uint16 = 24601 + ApiUnk2800_HHPCNJGKIPP uint16 = 23388 + ApiUnk2800_HKBAEOMCFOD uint16 = 145 + ApiUnk2800_IBDOMAIDPGK uint16 = 5594 + ApiUnk2800_IECLGDFOMFJ uint16 = 8513 + ApiUnk2800_IGKGDAGGCEC uint16 = 1684 + ApiUnk2800_IILBEPIEBJO uint16 = 8476 + ApiUnk2800_ILKIAECAAKG uint16 = 3004 + ApiUnk2800_JCPNICABMAF uint16 = 5504 + ApiUnk2800_KFNCDHFHJPD uint16 = 8996 + ApiUnk2800_KHLHFFHGEHA uint16 = 21834 + ApiUnk2800_KILFIICJLEE uint16 = 5593 + ApiUnk2800_KJEOLFNEOPF uint16 = 1768 + ApiUnk2800_KOMBBIEEGCP uint16 = 5522 + ApiUnk2800_KPJKAJLNAED uint16 = 874 + ApiUnk2800_LGIKLPBOJOI uint16 = 8145 + ApiUnk2800_LIBCDGDJMDF uint16 = 5527 + ApiUnk2800_MNBDNGKGDGF uint16 = 8004 + ApiUnk2800_NHEOHBNFHJD uint16 = 8870 + ApiUnk2800_OFIHDGFMDGB uint16 = 171 + ApiUnk2800_OMGNOBICOCD uint16 = 843 + ApiUnk2800_OOKIPFHPJMG uint16 = 21054 + ApiUnk3000_ACNMEFGKHKO uint16 = 4622 + ApiUnk3000_AFMFIPPDAJE uint16 = 4576 + ApiUnk3000_AGDEGMCKIAF uint16 = 20702 + ApiUnk3000_BMLKKNEINNF uint16 = 1481 + ApiUnk3000_CMKEPEDFOKE uint16 = 22391 + ApiUnk3000_CNDHIGKNELM uint16 = 6173 + ApiUnk3000_CPCMICDDBCH uint16 = 20011 + ApiUnk3000_DCAHJINNNDM uint16 = 23107 + ApiUnk3000_DCLAGIJJEHB uint16 = 402 + ApiUnk3000_DFIIBIGPHGE uint16 = 1731 + ApiUnk3000_DHEOMDCCMMC uint16 = 429 + ApiUnk3000_DHOFMKPKFMF uint16 = 1749 + ApiUnk3000_DJNBNBMIECP uint16 = 5588 + ApiUnk3000_DLCDJPKNGBD uint16 = 185 + ApiUnk3000_DPEJONKFONL uint16 = 21750 + ApiUnk3000_EBNMMLENEII uint16 = 24857 + ApiUnk3000_EDGJEBLODLF uint16 = 416 + ApiUnk3000_EHJALCDEBKK uint16 = 23381 + ApiUnk3000_EMGMOECAJDK uint16 = 6092 + ApiUnk3000_EOLNDBMGCBP uint16 = 4473 + ApiUnk3000_EPHGPACBEHL uint16 = 1497 + ApiUnk3000_FAPNAHAEPBF uint16 = 21880 + ApiUnk3000_FIPHHGCJIMO uint16 = 23678 + ApiUnk3000_FPDBJJJLKEP uint16 = 6103 + ApiUnk3000_GCBMILHPIKA uint16 = 4659 + ApiUnk3000_GDMEIKLAMIB uint16 = 3295 + ApiUnk3000_GMLAHHCDKOI uint16 = 841 + ApiUnk3000_GNLFOLGMEPN uint16 = 21208 + ApiUnk3000_HBIPKOBMGGD uint16 = 5995 + ApiUnk3000_HIJKNFBBCFC uint16 = 23948 + ApiUnk3000_HPFGNOIGNAG uint16 = 21961 + ApiUnk3000_IBMFJMGHCNC uint16 = 6060 + ApiUnk3000_IBNIGBFIEEF uint16 = 1735 + ApiUnk3000_IGCECHKNKOO uint16 = 21804 + ApiUnk3000_IMLAPBGLBFF uint16 = 1687 + ApiUnk3000_IPAKLDNKDAO uint16 = 6275 + ApiUnk3000_JDCOHPBDPED uint16 = 125 + ApiUnk3000_JIEPEGAHDNH uint16 = 24152 + ApiUnk3000_JIMGCFDPFCK uint16 = 20754 + ApiUnk3000_KEJGDDMMBLP uint16 = 6376 + ApiUnk3000_KGDKKLOOIPG uint16 = 457 + ApiUnk3000_KHFMBKILMMD uint16 = 24081 + ApiUnk3000_KIDDGDPKBEN uint16 = 1729 + ApiUnk3000_KJNIKBPKAED uint16 = 461 + ApiUnk3000_KKHPGFINACH uint16 = 24602 + ApiUnk3000_KOKEHAPLNHF uint16 = 6190 + ApiUnk3000_LAIAGAPKPLB uint16 = 3113 + ApiUnk3000_LHEMAMBKEKI uint16 = 6107 + ApiUnk3000_LJIMEHHNHJA uint16 = 3152 + ApiUnk3000_LLBCFCDMCID uint16 = 24312 + ApiUnk3000_MEFJDDHIAOK uint16 = 6135 + ApiUnk3000_MFCAIADEPGJ uint16 = 6198 + ApiUnk3000_MFHOOFLHNPH uint16 = 419 + ApiUnk3000_MOIPPIJMIJC uint16 = 3323 + ApiUnk3000_NBGBGODDBMP uint16 = 6121 + ApiUnk3000_NHPPMHHJPMJ uint16 = 20005 + ApiUnk3000_NJNPNJDFEOL uint16 = 6112 + ApiUnk3000_NMEJCJFJPHM uint16 = 24923 + ApiUnk3000_NMENEAHJGKE uint16 = 6172 + ApiUnk3000_NNPCGEAHNHM uint16 = 6268 + ApiUnk3000_NOMEJNJKGGL uint16 = 3345 + ApiUnk3000_NPPMPMGBBLM uint16 = 6368 + ApiUnk3000_ODGMCFAFADH uint16 = 5907 + ApiUnk3000_PCGBDJJOIHH uint16 = 3475 + ApiUnk3000_PDNJDOBPEKA uint16 = 22882 + ApiUnk3000_PHCPMFMFOMO uint16 = 23864 + ApiUnk3000_PILFPILPMFO uint16 = 3336 + ApiUnk3000_PJLAPMPPIAG uint16 = 20681 + ApiUnk3000_PNIEIHDLIDN uint16 = 2207 + ApiUnk3000_PPDLLPNMJMK uint16 = 500 + ApiUnlockAvatarTalentReq uint16 = 1072 + ApiUnlockAvatarTalentRsp uint16 = 1098 + ApiUnlockCoopChapterReq uint16 = 1970 + ApiUnlockCoopChapterRsp uint16 = 1995 + ApiUnlockNameCardNotify uint16 = 4006 + ApiUnlockPersonalLineReq uint16 = 449 + ApiUnlockPersonalLineRsp uint16 = 491 + ApiUnlockTransPointReq uint16 = 3035 + ApiUnlockTransPointRsp uint16 = 3426 + ApiUnlockedFurnitureFormulaDataNotify uint16 = 4846 + ApiUnlockedFurnitureSuiteDataNotify uint16 = 4454 + ApiUnmarkEntityInMinMapNotify uint16 = 219 + ApiUpdateAbilityCreatedMovingPlatformNotify uint16 = 881 + ApiUpdatePS4BlockListReq uint16 = 4046 + ApiUpdatePS4BlockListRsp uint16 = 4041 + ApiUpdatePS4FriendListNotify uint16 = 4039 + ApiUpdatePS4FriendListReq uint16 = 4089 + ApiUpdatePS4FriendListRsp uint16 = 4059 + ApiUpdatePlayerShowAvatarListReq uint16 = 4067 + ApiUpdatePlayerShowAvatarListRsp uint16 = 4058 + ApiUpdatePlayerShowNameCardListReq uint16 = 4002 + ApiUpdatePlayerShowNameCardListRsp uint16 = 4019 + ApiUpdateRedPointNotify uint16 = 93 + ApiUpdateReunionWatcherNotify uint16 = 5091 + ApiUpgradeRoguelikeShikigamiReq uint16 = 8151 + ApiUpgradeRoguelikeShikigamiRsp uint16 = 8966 + ApiUseItemReq uint16 = 690 + ApiUseItemRsp uint16 = 673 + ApiUseMiracleRingReq uint16 = 5226 + ApiUseMiracleRingRsp uint16 = 5218 + ApiUseWidgetCreateGadgetReq uint16 = 4293 + ApiUseWidgetCreateGadgetRsp uint16 = 4290 + ApiUseWidgetRetractGadgetReq uint16 = 4286 + ApiUseWidgetRetractGadgetRsp uint16 = 4261 + ApiVehicleInteractReq uint16 = 865 + ApiVehicleInteractRsp uint16 = 804 + ApiVehicleStaminaNotify uint16 = 834 + ApiViewCodexReq uint16 = 4202 + ApiViewCodexRsp uint16 = 4201 + ApiWatcherAllDataNotify uint16 = 2272 + ApiWatcherChangeNotify uint16 = 2298 + ApiWatcherEventNotify uint16 = 2212 + ApiWatcherEventTypeNotify uint16 = 2235 + ApiWaterSpritePhaseFinishNotify uint16 = 2025 + ApiWeaponAwakenReq uint16 = 695 + ApiWeaponAwakenRsp uint16 = 606 + ApiWeaponPromoteReq uint16 = 622 + ApiWeaponPromoteRsp uint16 = 665 + ApiWeaponUpgradeReq uint16 = 639 + ApiWeaponUpgradeRsp uint16 = 653 + ApiWearEquipReq uint16 = 697 + ApiWearEquipRsp uint16 = 681 + ApiWidgetActiveChangeNotify uint16 = 4280 + ApiWidgetCoolDownNotify uint16 = 4295 + ApiWidgetDoBagReq uint16 = 4255 + ApiWidgetDoBagRsp uint16 = 4296 + ApiWidgetGadgetAllDataNotify uint16 = 4284 + ApiWidgetGadgetDataNotify uint16 = 4266 + ApiWidgetGadgetDestroyNotify uint16 = 4274 + ApiWidgetReportReq uint16 = 4291 + ApiWidgetReportRsp uint16 = 4292 + ApiWidgetSlotChangeNotify uint16 = 4267 + ApiWidgetUseAttachAbilityGroupChangeNotify uint16 = 4258 + ApiWindSeedClientNotify uint16 = 1199 + ApiWorktopOptionNotify uint16 = 835 + ApiWorldAllRoutineTypeNotify uint16 = 3518 + ApiWorldDataNotify uint16 = 3308 + ApiWorldOwnerBlossomBriefInfoNotify uint16 = 2735 + ApiWorldOwnerBlossomScheduleInfoNotify uint16 = 2707 + ApiWorldOwnerDailyTaskNotify uint16 = 102 + ApiWorldPlayerDieNotify uint16 = 285 + ApiWorldPlayerInfoNotify uint16 = 3116 + ApiWorldPlayerLocationNotify uint16 = 258 + ApiWorldPlayerRTTNotify uint16 = 22 + ApiWorldPlayerReviveReq uint16 = 225 + ApiWorldPlayerReviveRsp uint16 = 278 + ApiWorldRoutineChangeNotify uint16 = 3507 + ApiWorldRoutineTypeCloseNotify uint16 = 3502 + ApiWorldRoutineTypeRefreshNotify uint16 = 3525 +) diff --git a/gate-hk4e-api/proto/a_top_api_id_proto_obj_map.go b/gate-hk4e-api/proto/a_top_api_id_proto_obj_map.go new file mode 100644 index 00000000..8c76bc1a --- /dev/null +++ b/gate-hk4e-api/proto/a_top_api_id_proto_obj_map.go @@ -0,0 +1,242 @@ +package proto + +import ( + "flswld.com/logger" + pb "google.golang.org/protobuf/proto" + "reflect" +) + +type ApiProtoMap struct { + apiIdProtoObjMap map[uint16]reflect.Type + protoObjApiIdMap map[reflect.Type]uint16 + apiDeDupMap map[uint16]bool +} + +func NewApiProtoMap() (r *ApiProtoMap) { + r = new(ApiProtoMap) + r.apiIdProtoObjMap = make(map[uint16]reflect.Type) + r.protoObjApiIdMap = make(map[reflect.Type]uint16) + r.apiDeDupMap = make(map[uint16]bool) + r.registerAllMessage() + return r +} + +func (a *ApiProtoMap) registerAllMessage() { + // 已接入的消息 + a.registerMessage(ApiGetPlayerTokenReq, &GetPlayerTokenReq{}) // 获取玩家token请求 + a.registerMessage(ApiPlayerLoginReq, &PlayerLoginReq{}) // 玩家登录请求 + a.registerMessage(ApiPingReq, &PingReq{}) // ping请求 + a.registerMessage(ApiPlayerSetPauseReq, &PlayerSetPauseReq{}) // 玩家暂停请求 + a.registerMessage(ApiSetPlayerBornDataReq, &SetPlayerBornDataReq{}) // 注册请求 + a.registerMessage(ApiGetPlayerSocialDetailReq, &GetPlayerSocialDetailReq{}) // 获取玩家社区信息请求 + a.registerMessage(ApiEnterSceneReadyReq, &EnterSceneReadyReq{}) // 进入场景准备就绪请求 + a.registerMessage(ApiGetScenePointReq, &GetScenePointReq{}) // 获取场景信息请求 + a.registerMessage(ApiGetSceneAreaReq, &GetSceneAreaReq{}) // 获取场景区域请求 + a.registerMessage(ApiEnterWorldAreaReq, &EnterWorldAreaReq{}) // 进入世界区域请求 + a.registerMessage(ApiUnionCmdNotify, &UnionCmdNotify{}) // 聚合消息 + a.registerMessage(ApiSceneTransToPointReq, &SceneTransToPointReq{}) // 场景传送点请求 + a.registerMessage(ApiMarkMapReq, &MarkMapReq{}) // 标记地图请求 + a.registerMessage(ApiChangeAvatarReq, &ChangeAvatarReq{}) // 更换角色请求 + a.registerMessage(ApiSetUpAvatarTeamReq, &SetUpAvatarTeamReq{}) // 配置队伍请求 + a.registerMessage(ApiChooseCurAvatarTeamReq, &ChooseCurAvatarTeamReq{}) // 切换队伍请求 + a.registerMessage(ApiDoGachaReq, &DoGachaReq{}) // 抽卡请求 + a.registerMessage(ApiQueryPathReq, &QueryPathReq{}) // 寻路请求 + a.registerMessage(ApiCombatInvocationsNotify, &CombatInvocationsNotify{}) // 战斗调用通知 + a.registerMessage(ApiAbilityInvocationsNotify, &AbilityInvocationsNotify{}) // 技能使用通知 + a.registerMessage(ApiClientAbilityInitFinishNotify, &ClientAbilityInitFinishNotify{}) // 客户端技能初始化完成通知 + a.registerMessage(ApiEntityAiSyncNotify, &EntityAiSyncNotify{}) // 实体AI怪物同步通知 + a.registerMessage(ApiWearEquipReq, &WearEquipReq{}) // 装备穿戴请求 + a.registerMessage(ApiChangeGameTimeReq, &ChangeGameTimeReq{}) // 改变游戏场景时间请求 + a.registerMessage(ApiSetPlayerBirthdayReq, &SetPlayerBirthdayReq{}) // 设置生日请求 + a.registerMessage(ApiSetNameCardReq, &SetNameCardReq{}) // 修改名片请求 + a.registerMessage(ApiSetPlayerSignatureReq, &SetPlayerSignatureReq{}) // 修改签名请求 + a.registerMessage(ApiSetPlayerNameReq, &SetPlayerNameReq{}) // 修改昵称请求 + a.registerMessage(ApiSetPlayerHeadImageReq, &SetPlayerHeadImageReq{}) // 修改头像请求 + a.registerMessage(ApiAskAddFriendReq, &AskAddFriendReq{}) // 加好友请求 + a.registerMessage(ApiDealAddFriendReq, &DealAddFriendReq{}) // 处理好友申请请求 + a.registerMessage(ApiGetOnlinePlayerListReq, &GetOnlinePlayerListReq{}) // 在线玩家列表请求 + a.registerMessage(ApiPathfindingEnterSceneReq, &PathfindingEnterSceneReq{}) // 寻路进入场景请求 + a.registerMessage(ApiSceneInitFinishReq, &SceneInitFinishReq{}) // 场景初始化完成请求 + a.registerMessage(ApiEnterSceneDoneReq, &EnterSceneDoneReq{}) // 进入场景完成请求 + a.registerMessage(ApiPostEnterSceneReq, &PostEnterSceneReq{}) // 提交进入场景请求 + a.registerMessage(ApiTowerAllDataReq, &TowerAllDataReq{}) // 深渊数据请求 + a.registerMessage(ApiGetGachaInfoReq, &GetGachaInfoReq{}) // 卡池获取请求 + a.registerMessage(ApiGetAllUnlockNameCardReq, &GetAllUnlockNameCardReq{}) // 获取全部已解锁名片请求 + a.registerMessage(ApiGetPlayerFriendListReq, &GetPlayerFriendListReq{}) // 好友列表请求 + a.registerMessage(ApiGetPlayerAskFriendListReq, &GetPlayerAskFriendListReq{}) // 好友申请列表请求 + a.registerMessage(ApiPlayerForceExitReq, &PlayerForceExitReq{}) // 退出游戏请求 + a.registerMessage(ApiPlayerApplyEnterMpReq, &PlayerApplyEnterMpReq{}) // 世界敲门请求 + a.registerMessage(ApiPlayerApplyEnterMpResultReq, &PlayerApplyEnterMpResultReq{}) // 世界敲门处理请求 + a.registerMessage(ApiGetPlayerTokenRsp, &GetPlayerTokenRsp{}) // 获取玩家token响应 + a.registerMessage(ApiPlayerLoginRsp, &PlayerLoginRsp{}) // 玩家登录响应 + a.registerMessage(ApiPingRsp, &PingRsp{}) // ping响应 + a.registerMessage(ApiPlayerSetPauseRsp, &PlayerSetPauseRsp{}) // 玩家暂停响应 + a.registerMessage(ApiPlayerDataNotify, &PlayerDataNotify{}) // 玩家信息通知 + a.registerMessage(ApiStoreWeightLimitNotify, &StoreWeightLimitNotify{}) // 通知 + a.registerMessage(ApiPlayerStoreNotify, &PlayerStoreNotify{}) // 通知 + a.registerMessage(ApiAvatarDataNotify, &AvatarDataNotify{}) // 角色信息通知 + a.registerMessage(ApiPlayerEnterSceneNotify, &PlayerEnterSceneNotify{}) // 玩家进入场景通知 + a.registerMessage(ApiOpenStateUpdateNotify, &OpenStateUpdateNotify{}) // 通知 + a.registerMessage(ApiGetPlayerSocialDetailRsp, &GetPlayerSocialDetailRsp{}) // 获取玩家社区信息响应 + a.registerMessage(ApiEnterScenePeerNotify, &EnterScenePeerNotify{}) // 进入场景对方通知 + a.registerMessage(ApiEnterSceneReadyRsp, &EnterSceneReadyRsp{}) // 进入场景准备就绪响应 + a.registerMessage(ApiGetScenePointRsp, &GetScenePointRsp{}) // 获取场景信息响应 + a.registerMessage(ApiGetSceneAreaRsp, &GetSceneAreaRsp{}) // 获取场景区域响应 + a.registerMessage(ApiServerTimeNotify, &ServerTimeNotify{}) // 服务器时间通知 + a.registerMessage(ApiWorldPlayerInfoNotify, &WorldPlayerInfoNotify{}) // 世界玩家信息通知 + a.registerMessage(ApiWorldDataNotify, &WorldDataNotify{}) // 世界数据通知 + a.registerMessage(ApiPlayerWorldSceneInfoListNotify, &PlayerWorldSceneInfoListNotify{}) // 场景解锁信息通知 + a.registerMessage(ApiHostPlayerNotify, &HostPlayerNotify{}) // 主机玩家通知 + a.registerMessage(ApiSceneTimeNotify, &SceneTimeNotify{}) // 场景时间通知 + a.registerMessage(ApiPlayerGameTimeNotify, &PlayerGameTimeNotify{}) // 玩家游戏内时间通知 + a.registerMessage(ApiPlayerEnterSceneInfoNotify, &PlayerEnterSceneInfoNotify{}) // 玩家进入场景信息通知 + a.registerMessage(ApiSceneAreaWeatherNotify, &SceneAreaWeatherNotify{}) // 场景区域天气通知 + a.registerMessage(ApiScenePlayerInfoNotify, &ScenePlayerInfoNotify{}) // 场景玩家信息通知 + a.registerMessage(ApiSceneTeamUpdateNotify, &SceneTeamUpdateNotify{}) // 场景队伍更新通知 + a.registerMessage(ApiSyncTeamEntityNotify, &SyncTeamEntityNotify{}) // 同步队伍实体通知 + a.registerMessage(ApiSyncScenePlayTeamEntityNotify, &SyncScenePlayTeamEntityNotify{}) // 同步场景玩家队伍实体通知 + a.registerMessage(ApiSceneInitFinishRsp, &SceneInitFinishRsp{}) // 场景初始化完成响应 + a.registerMessage(ApiEnterSceneDoneRsp, &EnterSceneDoneRsp{}) // 进入场景完成响应 + a.registerMessage(ApiPlayerTimeNotify, &PlayerTimeNotify{}) // 玩家对时通知 + a.registerMessage(ApiSceneEntityAppearNotify, &SceneEntityAppearNotify{}) // 场景实体出现通知 + a.registerMessage(ApiWorldPlayerLocationNotify, &WorldPlayerLocationNotify{}) // 世界玩家位置通知 + a.registerMessage(ApiScenePlayerLocationNotify, &ScenePlayerLocationNotify{}) // 场景玩家位置通知 + a.registerMessage(ApiWorldPlayerRTTNotify, &WorldPlayerRTTNotify{}) // 世界玩家RTT时延 + a.registerMessage(ApiEnterWorldAreaRsp, &EnterWorldAreaRsp{}) // 进入世界区域响应 + a.registerMessage(ApiPostEnterSceneRsp, &PostEnterSceneRsp{}) // 提交进入场景响应 + a.registerMessage(ApiTowerAllDataRsp, &TowerAllDataRsp{}) // 深渊数据响应 + a.registerMessage(ApiSceneTransToPointRsp, &SceneTransToPointRsp{}) // 场景传送点响应 + a.registerMessage(ApiSceneEntityDisappearNotify, &SceneEntityDisappearNotify{}) // 场景实体消失通知 + a.registerMessage(ApiChangeAvatarRsp, &ChangeAvatarRsp{}) // 更换角色响应 + a.registerMessage(ApiSetUpAvatarTeamRsp, &SetUpAvatarTeamRsp{}) // 配置队伍响应 + a.registerMessage(ApiAvatarTeamUpdateNotify, &AvatarTeamUpdateNotify{}) // 角色队伍更新通知 + a.registerMessage(ApiChooseCurAvatarTeamRsp, &ChooseCurAvatarTeamRsp{}) // 切换队伍响应 + a.registerMessage(ApiStoreItemChangeNotify, &StoreItemChangeNotify{}) // 背包道具变动通知 + a.registerMessage(ApiItemAddHintNotify, &ItemAddHintNotify{}) // 道具增加提示通知 + a.registerMessage(ApiStoreItemDelNotify, &StoreItemDelNotify{}) // 背包道具删除通知 + a.registerMessage(ApiPlayerPropNotify, &PlayerPropNotify{}) // 玩家属性通知 + a.registerMessage(ApiGetGachaInfoRsp, &GetGachaInfoRsp{}) // 卡池获取响应 + a.registerMessage(ApiDoGachaRsp, &DoGachaRsp{}) // 抽卡响应 + a.registerMessage(ApiEntityFightPropUpdateNotify, &EntityFightPropUpdateNotify{}) // 实体战斗属性更新通知 + a.registerMessage(ApiQueryPathRsp, &QueryPathRsp{}) // 寻路响应 + a.registerMessage(ApiAvatarFightPropNotify, &AvatarFightPropNotify{}) // 角色战斗属性通知 + a.registerMessage(ApiAvatarEquipChangeNotify, &AvatarEquipChangeNotify{}) // 角色装备改变通知 + a.registerMessage(ApiAvatarAddNotify, &AvatarAddNotify{}) // 角色新增通知 + a.registerMessage(ApiWearEquipRsp, &WearEquipRsp{}) // 装备穿戴响应 + a.registerMessage(ApiChangeGameTimeRsp, &ChangeGameTimeRsp{}) // 改变游戏场景时间响应 + a.registerMessage(ApiSetPlayerBirthdayRsp, &SetPlayerBirthdayRsp{}) // 设置生日响应 + a.registerMessage(ApiSetNameCardRsp, &SetNameCardRsp{}) // 修改名片响应 + a.registerMessage(ApiSetPlayerSignatureRsp, &SetPlayerSignatureRsp{}) // 修改签名响应 + a.registerMessage(ApiSetPlayerNameRsp, &SetPlayerNameRsp{}) // 修改昵称响应 + a.registerMessage(ApiSetPlayerHeadImageRsp, &SetPlayerHeadImageRsp{}) // 修改头像响应 + a.registerMessage(ApiGetAllUnlockNameCardRsp, &GetAllUnlockNameCardRsp{}) // 获取全部已解锁名片响应 + a.registerMessage(ApiUnlockNameCardNotify, &UnlockNameCardNotify{}) // 名片解锁通知 + a.registerMessage(ApiGetPlayerFriendListRsp, &GetPlayerFriendListRsp{}) // 好友列表响应 + a.registerMessage(ApiGetPlayerAskFriendListRsp, &GetPlayerAskFriendListRsp{}) // 好友申请列表响应 + a.registerMessage(ApiAskAddFriendRsp, &AskAddFriendRsp{}) // 加好友响应 + a.registerMessage(ApiAskAddFriendNotify, &AskAddFriendNotify{}) // 加好友通知 + a.registerMessage(ApiDealAddFriendRsp, &DealAddFriendRsp{}) // 处理好友申请响应 + a.registerMessage(ApiGetOnlinePlayerListRsp, &GetOnlinePlayerListRsp{}) // 在线玩家列表响应 + a.registerMessage(ApiSceneForceUnlockNotify, &SceneForceUnlockNotify{}) // 场景强制解锁通知 + a.registerMessage(ApiSetPlayerBornDataRsp, &SetPlayerBornDataRsp{}) // 注册响应 + a.registerMessage(ApiDoSetPlayerBornDataNotify, &DoSetPlayerBornDataNotify{}) // 注册通知 + a.registerMessage(ApiPathfindingEnterSceneRsp, &PathfindingEnterSceneRsp{}) // 寻路进入场景响应 + a.registerMessage(ApiPlayerForceExitRsp, &PlayerForceExitRsp{}) // 退出游戏响应 + a.registerMessage(ApiDelTeamEntityNotify, &DelTeamEntityNotify{}) // 删除队伍实体通知 + a.registerMessage(ApiPlayerApplyEnterMpRsp, &PlayerApplyEnterMpRsp{}) // 世界敲门响应 + a.registerMessage(ApiPlayerApplyEnterMpNotify, &PlayerApplyEnterMpNotify{}) // 世界敲门通知 + a.registerMessage(ApiPlayerApplyEnterMpResultRsp, &PlayerApplyEnterMpResultRsp{}) // 世界敲门处理响应 + a.registerMessage(ApiPlayerApplyEnterMpResultNotify, &PlayerApplyEnterMpResultNotify{}) // 世界敲门处理通知 + a.registerMessage(ApiGetShopmallDataReq, &GetShopmallDataReq{}) // 商店信息请求 + a.registerMessage(ApiGetShopmallDataRsp, &GetShopmallDataRsp{}) // 商店信息响应 + a.registerMessage(ApiGetShopReq, &GetShopReq{}) // 商店详情请求 + a.registerMessage(ApiGetShopRsp, &GetShopRsp{}) // 商店详情响应 + a.registerMessage(ApiBuyGoodsReq, &BuyGoodsReq{}) // 商店货物购买请求 + a.registerMessage(ApiBuyGoodsRsp, &BuyGoodsRsp{}) // 商店货物购买响应 + a.registerMessage(ApiMcoinExchangeHcoinReq, &McoinExchangeHcoinReq{}) // 结晶换原石请求 + a.registerMessage(ApiMcoinExchangeHcoinRsp, &McoinExchangeHcoinRsp{}) // 结晶换原石响应 + a.registerMessage(ApiAvatarChangeCostumeReq, &AvatarChangeCostumeReq{}) // 角色换装请求 + a.registerMessage(ApiAvatarChangeCostumeRsp, &AvatarChangeCostumeRsp{}) // 角色换装响应 + a.registerMessage(ApiAvatarChangeCostumeNotify, &AvatarChangeCostumeNotify{}) // 角色换装通知 + a.registerMessage(ApiAvatarWearFlycloakReq, &AvatarWearFlycloakReq{}) // 角色换风之翼请求 + a.registerMessage(ApiAvatarWearFlycloakRsp, &AvatarWearFlycloakRsp{}) // 角色换风之翼响应 + a.registerMessage(ApiAvatarFlycloakChangeNotify, &AvatarFlycloakChangeNotify{}) // 角色换风之翼通知 + a.registerMessage(ApiPullRecentChatReq, &PullRecentChatReq{}) // 最近聊天拉取请求 + a.registerMessage(ApiPullRecentChatRsp, &PullRecentChatRsp{}) // 最近聊天拉取响应 + a.registerMessage(ApiPullPrivateChatReq, &PullPrivateChatReq{}) // 私聊历史记录请求 + a.registerMessage(ApiPullPrivateChatRsp, &PullPrivateChatRsp{}) // 私聊历史记录响应 + a.registerMessage(ApiPrivateChatReq, &PrivateChatReq{}) // 私聊消息发送请求 + a.registerMessage(ApiPrivateChatRsp, &PrivateChatRsp{}) // 私聊消息发送响应 + a.registerMessage(ApiPrivateChatNotify, &PrivateChatNotify{}) // 私聊消息通知 + a.registerMessage(ApiReadPrivateChatReq, &ReadPrivateChatReq{}) // 私聊消息已读请求 + a.registerMessage(ApiReadPrivateChatRsp, &ReadPrivateChatRsp{}) // 私聊消息已读响应 + a.registerMessage(ApiPlayerChatReq, &PlayerChatReq{}) // 多人聊天消息发送请求 + a.registerMessage(ApiPlayerChatRsp, &PlayerChatRsp{}) // 多人聊天消息发送响应 + a.registerMessage(ApiPlayerChatNotify, &PlayerChatNotify{}) // 多人聊天消息通知 + a.registerMessage(ApiPlayerGetForceQuitBanInfoReq, &PlayerGetForceQuitBanInfoReq{}) // 获取强退禁令信息请求 + a.registerMessage(ApiPlayerGetForceQuitBanInfoRsp, &PlayerGetForceQuitBanInfoRsp{}) // 获取强退禁令信息响应 + a.registerMessage(ApiBackMyWorldReq, &BackMyWorldReq{}) // 返回单人世界请求 + a.registerMessage(ApiBackMyWorldRsp, &BackMyWorldRsp{}) // 返回单人世界响应 + a.registerMessage(ApiChangeWorldToSingleModeReq, &ChangeWorldToSingleModeReq{}) // 转换单人模式请求 + a.registerMessage(ApiChangeWorldToSingleModeRsp, &ChangeWorldToSingleModeRsp{}) // 转换单人模式响应 + a.registerMessage(ApiSceneKickPlayerReq, &SceneKickPlayerReq{}) // 剔除玩家请求 + a.registerMessage(ApiSceneKickPlayerRsp, &SceneKickPlayerRsp{}) // 剔除玩家响应 + a.registerMessage(ApiSceneKickPlayerNotify, &SceneKickPlayerNotify{}) // 剔除玩家通知 + a.registerMessage(ApiPlayerQuitFromMpNotify, &PlayerQuitFromMpNotify{}) // 退出多人游戏通知 + a.registerMessage(ApiClientReconnectNotify, &ClientReconnectNotify{}) // 在线重连通知 + a.registerMessage(ApiChangeMpTeamAvatarReq, &ChangeMpTeamAvatarReq{}) // 配置多人游戏队伍请求 + a.registerMessage(ApiChangeMpTeamAvatarRsp, &ChangeMpTeamAvatarRsp{}) // 配置多人游戏队伍响应 + a.registerMessage(ApiServerDisconnectClientNotify, &ServerDisconnectClientNotify{}) // 服务器断开连接通知 + a.registerMessage(ApiServerAnnounceNotify, &ServerAnnounceNotify{}) // 服务器公告通知 + a.registerMessage(ApiServerAnnounceRevokeNotify, &ServerAnnounceRevokeNotify{}) // 服务器公告撤销通知 + // 尚未得知的客户端上行消息 + a.registerMessage(ApiClientAbilityChangeNotify, &ClientAbilityChangeNotify{}) // 未知 + a.registerMessage(ApiEvtAiSyncSkillCdNotify, &EvtAiSyncSkillCdNotify{}) // 未知 + a.registerMessage(ApiEvtAiSyncCombatThreatInfoNotify, &EvtAiSyncCombatThreatInfoNotify{}) // 未知 + a.registerMessage(ApiEntityConfigHashNotify, &EntityConfigHashNotify{}) // 未知 + a.registerMessage(ApiMonsterAIConfigHashNotify, &MonsterAIConfigHashNotify{}) // 未知 + a.registerMessage(ApiGetRegionSearchReq, &GetRegionSearchReq{}) // 未知 + a.registerMessage(ApiObstacleModifyNotify, &ObstacleModifyNotify{}) // 未知 + // TODO + a.registerMessage(ApiEvtDoSkillSuccNotify, &EvtDoSkillSuccNotify{}) + a.registerMessage(ApiEvtCreateGadgetNotify, &EvtCreateGadgetNotify{}) + a.registerMessage(ApiEvtDestroyGadgetNotify, &EvtDestroyGadgetNotify{}) + // 空消息 + a.registerMessage(65535, &NullMsg{}) +} + +func (a *ApiProtoMap) registerMessage(apiId uint16, protoObj pb.Message) { + _, exist := a.apiDeDupMap[apiId] + if exist { + logger.LOG.Error("reg dup msg, api id: %v", apiId) + return + } else { + a.apiDeDupMap[apiId] = true + } + // apiId -> protoObj + a.apiIdProtoObjMap[apiId] = reflect.TypeOf(protoObj) + // protoObj -> apiId + a.protoObjApiIdMap[reflect.TypeOf(protoObj)] = apiId +} + +func (a *ApiProtoMap) GetProtoObjByApiId(apiId uint16) (protoObj pb.Message) { + protoObjTypePointer, ok := a.apiIdProtoObjMap[apiId] + if !ok { + logger.LOG.Error("unknown api id: %v", apiId) + protoObj = nil + return protoObj + } + protoObjInst := reflect.New(protoObjTypePointer.Elem()) + protoObj = protoObjInst.Interface().(pb.Message) + return protoObj +} + +func (a *ApiProtoMap) GetApiIdByProtoObj(protoObj pb.Message) (apiId uint16) { + var ok = false + apiId, ok = a.protoObjApiIdMap[reflect.TypeOf(protoObj)] + if !ok { + logger.LOG.Error("unknown proto object: %v", protoObj) + apiId = 0 + } + return apiId +} diff --git a/gate-hk4e-api/proto/a_top_net_msg.go b/gate-hk4e-api/proto/a_top_net_msg.go new file mode 100644 index 00000000..690ff616 --- /dev/null +++ b/gate-hk4e-api/proto/a_top_net_msg.go @@ -0,0 +1,23 @@ +package proto + +import pb "google.golang.org/protobuf/proto" + +const ( + NormalMsg = iota + UserRegNotify + UserLoginNotify + UserOfflineNotify + ClientRttNotify + ClientTimeNotify +) + +type NetMsg struct { + UserId uint32 `msgpack:"UserId"` + EventId uint16 `msgpack:"EventId"` + ApiId uint16 `msgpack:"ApiId"` + ClientSeq uint32 `msgpack:"ClientSeq"` + PayloadMessage pb.Message `msgpack:"-"` + PayloadMessageData []byte `msgpack:"PayloadMessageData"` + ClientRtt uint32 `msgpack:"ClientRtt"` + ClientTime uint32 `msgpack:"ClientTime"` +} diff --git a/gate-hk4e-api/proto/a_top_proto_gen.bat b/gate-hk4e-api/proto/a_top_proto_gen.bat new file mode 100644 index 00000000..fe33181e --- /dev/null +++ b/gate-hk4e-api/proto/a_top_proto_gen.bat @@ -0,0 +1,8 @@ +@echo off +set SOURCE_FOLDER=. +for /f "delims=" %%i in ('dir /b "%SOURCE_FOLDER%\*.proto"') do ( +echo protoc -I . --go_out=. %%i +protoc -I . --go_out=. %%i +) +echo ok +pause diff --git a/gate-hk4e/cmd/application.toml b/gate-hk4e/cmd/application.toml new file mode 100644 index 00000000..8b621a3e --- /dev/null +++ b/gate-hk4e/cmd/application.toml @@ -0,0 +1,24 @@ +http_port = 9005 + +[hk4e] +kcp_addr = "hk4e.flswld.com" +kcp_port = 22103 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "hk4e-gateway" + +[light] +port = 10005 + +[database] +url = "mongodb://mongo:27017" + +[mq] +nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222" diff --git a/gate-hk4e/cmd/main.go b/gate-hk4e/cmd/main.go new file mode 100644 index 00000000..4b9ade76 --- /dev/null +++ b/gate-hk4e/cmd/main.go @@ -0,0 +1,90 @@ +package main + +import ( + "flswld.com/common/config" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/light" + "flswld.com/logger" + "gate-hk4e/controller" + "gate-hk4e/dao" + "gate-hk4e/forward" + "gate-hk4e/mq" + "gate-hk4e/net" + "gate-hk4e/rpc" + "github.com/arl/statsviz" + "net/http" + _ "net/http/pprof" + "os" + "os/signal" + "syscall" + "time" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("gate hk4e start") + + go func() { + // 性能检测 + err := statsviz.RegisterDefault() + if err != nil { + logger.LOG.Error("statsviz init error: %v", err) + } + err = http.ListenAndServe("0.0.0.0:2345", nil) + if err != nil { + logger.LOG.Error("perf debug http start error: %v", err) + } + }() + + db := dao.NewDao() + + // 用户服务 + rpcUserConsumer := light.NewRpcConsumer("annie-user-app") + + _ = controller.NewController(db, rpcUserConsumer) + + kcpEventInput := make(chan *net.KcpEvent) + kcpEventOutput := make(chan *net.KcpEvent) + protoMsgInput := make(chan *net.ProtoMsg, 10000) + protoMsgOutput := make(chan *net.ProtoMsg, 10000) + netMsgInput := make(chan *proto.NetMsg, 10000) + netMsgOutput := make(chan *proto.NetMsg, 10000) + + connectManager := net.NewKcpConnectManager(protoMsgInput, protoMsgOutput, kcpEventInput, kcpEventOutput) + connectManager.Start() + + forwardManager := forward.NewForwardManager(db, protoMsgInput, protoMsgOutput, kcpEventInput, kcpEventOutput, netMsgInput, netMsgOutput) + forwardManager.Start() + + gameServiceConsumer := light.NewRpcConsumer("game-hk4e-app") + + rpcManager := rpc.NewRpcManager(forwardManager) + rpcMsgProvider := light.NewRpcProvider(rpcManager) + + messageQueue := mq.NewMessageQueue(netMsgInput, netMsgOutput) + messageQueue.Start() + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + logger.LOG.Info("gate hk4e exit") + messageQueue.Close() + rpcMsgProvider.CloseRpcProvider() + gameServiceConsumer.CloseRpcConsumer() + rpcUserConsumer.CloseRpcConsumer() + db.CloseDao() + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/gate-hk4e/cmd/static/.gitattributes b/gate-hk4e/cmd/static/.gitattributes new file mode 100644 index 00000000..741c0a20 --- /dev/null +++ b/gate-hk4e/cmd/static/.gitattributes @@ -0,0 +1 @@ +* binary \ No newline at end of file diff --git a/gate-hk4e/cmd/static/29342328.blk b/gate-hk4e/cmd/static/29342328.blk new file mode 100644 index 00000000..4d51f76d Binary files /dev/null and b/gate-hk4e/cmd/static/29342328.blk differ diff --git a/gate-hk4e/cmd/static/86f9db021.png b/gate-hk4e/cmd/static/86f9db021.png new file mode 100644 index 00000000..3f7ccebe Binary files /dev/null and b/gate-hk4e/cmd/static/86f9db021.png differ diff --git a/gate-hk4e/cmd/static/86f9db021.webp b/gate-hk4e/cmd/static/86f9db021.webp new file mode 100644 index 00000000..3a41b823 Binary files /dev/null and b/gate-hk4e/cmd/static/86f9db021.webp differ diff --git a/gate-hk4e/cmd/static/a330cf996.webp b/gate-hk4e/cmd/static/a330cf996.webp new file mode 100644 index 00000000..aae77fe4 Binary files /dev/null and b/gate-hk4e/cmd/static/a330cf996.webp differ diff --git a/gate-hk4e/cmd/static/account_password_key.pem b/gate-hk4e/cmd/static/account_password_key.pem new file mode 100644 index 00000000..7acea3c2 --- /dev/null +++ b/gate-hk4e/cmd/static/account_password_key.pem @@ -0,0 +1,15 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXQIBAAKBgQDHPnAvEbJfMUwHXmRLiNDH1qFeGm0U/D6n7BjzEmJl5VtMKBZF +hnz+aKsyMo9aAowi2Fe/6iWUuzcbnAJS+4iLUxaeqOdvPe5LuR3wQxHKGJ8XsDkH +kt3T1operE1rpw9wX3xuUi0CA5aHqpC0ho0zMsk7nvxWQogv1G8uqcXmfQIDAQAB +AoGBALElFmEC/vAbyFkU119A+T9z2GzuWeW6j4qFI3mZ8tpdnVqMmaCe/irDrNIo +mcORWD7y0rHS4C7odQqbHoXhFXgXfrGJXcMu977uIxBKGj0UBz6YIciznk/8DrMo +o3q6+SGsNj5zvlU8oY6cpfC663VoQb7VWveUGN4zshdnvyiRAkEA8nlq/LEuQPCj +lp5wbUizJ3Uwll5N51N6Kzm1wRQ0vUtIzRK940lGMxlhihnJfifTColAnnzmWj/X +dWIULqIc0wJBANJbrnq1iim9Jue0UOhQn6hV8vvWHgLjK7zuEsUPDqzxfhmpmBEh +BwAaH3li6bGCbIfSJazs+LmNLB4YtMo6nW8CQAMtmjxjqiKJxOslen3ENSzwOUnP +RKAilPhaEkrMlABjKzoc48ZF4Jis3X1s5xozNW3u7JznMDHAondUaMVPtKcCQG45 +9lp8aBJo+ErvlHm3TYHiz7kgwIcYzKFqStGRi0oaHM6LrJBFMyrdhWKQ7w3B3ubo +ui872TU5gUWgApP5VOcCQQDDvU76TpLQ2v2LO8D0L/Ds+t6HdGcPpKvlAm/YQYHL +X6Q435tFNbeWo3JzpGElb25zAQfXU5cvzYvg37f36iM6 +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/data_versions b/gate-hk4e/cmd/static/data_versions new file mode 100644 index 00000000..81d59d64 --- /dev/null +++ b/gate-hk4e/cmd/static/data_versions @@ -0,0 +1,5 @@ +{"remoteName": "blocks/00/22551915.blk", "md5": "0cf3d6b599d443c7cfa4a3e6189a7757", "fileSize": 3184} +{"remoteName": "blocks/00/25060239.blk", "md5": "f3cf18d697e3380b2f833ccf2c7d4194", "fileSize": 3328} +{"remoteName": "blocks/00/29342328.blk", "md5": "3b8e2c23e33ce92f68e40196c574ae94", "fileSize": 14103} +{"remoteName": "blocks/00/32070509.blk", "md5": "4bf2a81d7565301269d1c90e14393045", "fileSize": 698} +{"remoteName": "blocks/00/33067900.blk", "md5": "0b4d781c1633537d2fa4b4f0f567d2ca", "fileSize": 454} diff --git a/gate-hk4e/cmd/static/dispatchKey.bin b/gate-hk4e/cmd/static/dispatchKey.bin new file mode 100644 index 00000000..29b396f1 Binary files /dev/null and b/gate-hk4e/cmd/static/dispatchKey.bin differ diff --git a/gate-hk4e/cmd/static/dispatchSeed.bin b/gate-hk4e/cmd/static/dispatchSeed.bin new file mode 100644 index 00000000..0100e2c8 Binary files /dev/null and b/gate-hk4e/cmd/static/dispatchSeed.bin differ diff --git a/gate-hk4e/cmd/static/query_cur_region b/gate-hk4e/cmd/static/query_cur_region new file mode 100644 index 00000000..9823a433 --- /dev/null +++ b/gate-hk4e/cmd/static/query_cur_region @@ -0,0 +1 @@ +GpkdCg00Ny4yNTMuNDMuMTA2ENasARoraHR0cHM6Ly9vc3VzYW9hc2VydmVyLnl1YW5zaGVuLmNvbS9yZWNoYXJnZToDVVNBQjlodHRwczovL2F1dG9wYXRjaGhrLnl1YW5zaGVuLmNvbS9jbGllbnRfZ2FtZV9yZXMvMi42X2xpdmVKPGh0dHBzOi8vYXV0b3BhdGNoaGsueXVhbnNoZW4uY29tL2NsaWVudF9kZXNpZ25fZGF0YS8yLjZfbGl2ZVKSAWh0dHBzOi8vd2Vic3RhdGljLXNlYS5ob3lvdmVyc2UuY29tL3lzL2V2ZW50L2ltLXNlcnZpY2UvaW5kZXguaHRtbD9pbV9vdXQ9ZmFsc2Umc2lnbl90eXBlPTImYXV0aF9hcHBpZD1pbV9jY3MmYXV0aGtleV92ZXI9MSZ3aW5fZGlyZWN0aW9uPXBvcnRyYWl0YggyLjZfbGl2ZXDZ7JoDkAGJxKoDmgFceyJyZW1vdGVOYW1lIjogImRhdGFfdmVyc2lvbnMiLCAibWQ1IjogIjFhNDQ1YWU0OGZiZGJlMDM4MzEyYmU4NjhmMjgxM2QyIiwgImZpbGVTaXplIjogNDQxNX2iAVt7InJlbW90ZU5hbWUiOiAiZGF0YV92ZXJzaW9ucyIsICJtZDUiOiAiZjY0NmZlY2FjMTA3ZDNlN2ZiNDdjOTA4OTIwMmQzZmYiLCAiZmlsZVNpemUiOiA1MTR9sgGBBgi9t5kDGuAFeyJyZW1vdGVOYW1lIjogInJlc192ZXJzaW9uc19leHRlcm5hbCIsICJtZDUiOiAiOWYwOTJjYTEzMDY3Y2FlNDMxMzQ5M2VlZDNkM2U5YWUiLCAiZmlsZVNpemUiOiA1MjY5NjZ9DQp7InJlbW90ZU5hbWUiOiAicmVzX3ZlcnNpb25zX21lZGl1bSIsICJtZDUiOiAiN2M5NDJlNzA0YTgwNGMyMTIyZmM2M2VlOTI4ZTcxNDgiLCAiZmlsZVNpemUiOiAyODU1NTB9DQp7InJlbW90ZU5hbWUiOiAicmVzX3ZlcnNpb25zX3N0cmVhbWluZyIsICJtZDUiOiAiZTM1ZjZkODUzZDA0Y2UwMjJhYzdjMzZkNDNmNDBlN2MiLCAiZmlsZVNpemUiOiAxMjIwMzZ9DQp7InJlbW90ZU5hbWUiOiAicmVsZWFzZV9yZXNfdmVyc2lvbnNfZXh0ZXJuYWwiLCAibWQ1IjogIjg3NjRiMGYyZWQ4MTVjZDQ0MzBlMDg1YzQ2MWE2ZjRkIiwgImZpbGVTaXplIjogNTI2OTY2fQ0KeyJyZW1vdGVOYW1lIjogInJlbGVhc2VfcmVzX3ZlcnNpb25zX21lZGl1bSIsICJtZDUiOiAiMWJiZTM3NGMxNmJmZjQ1OTE1OTljMjE5NzM0MjAzNDgiLCAiZmlsZVNpemUiOiAyODU1NTB9DQp7InJlbW90ZU5hbWUiOiAicmVsZWFzZV9yZXNfdmVyc2lvbnNfc3RyZWFtaW5nIiwgIm1kNSI6ICI3MmZhN2ZmNjZkNTE0ZmNiYTM0YWYwMDdmMmI5YzJmOCIsICJmaWxlU2l6ZSI6IDEyMjAzNn0NCnsicmVtb3RlTmFtZSI6ICJiYXNlX3JldmlzaW9uIiwgIm1kNSI6ICJmYmZhNmQ2ZTA3MDJkMWM3OWUwNTY0ZmIyODY3ZTczOCIsICJmaWxlU2l6ZSI6IDE4fSIBMCoKN2EzNGEzNmE2ZTIIMi42X2xpdmW6AZwQRWMyYhAAAACRgo74BzK07IdzLYLB+X6zAAgAAMOOtJP/5vvtTMSBF1AnJP997kZG14dqgtvfwIr8C4SsWvlx1UgL9HSheXa7AaACj8uDhSiPQyYQsrD7d/kSpm11b3YGpLbnGs+BlO/69cLqxBx8n/nnRLKKQ72wnmuJ2yVXvfqmB18ATy3qcxTcpjFlafXkpIsksAe2lzjC7lqO7rU2JNbdwVfrHOwu/H/2jyHxnQ/7N13E0M8xAT2LuBQRuA+j2fKExhr4NJlreav5NqphHBfAnc1Kyd/Jf04kLjUq1ht7PwC3Q8F6KKZbAhJfdrKa8WbMIKXyiLKD1LlUhlACDzh2Nt/mM8f49AGjCFG3mQepsBqn33DbVtakm3niVq/9hxvY23QZa/8Jz6QxXRp+KAM7LmnGgmBjDvL5FNtC6cJ+yN33Htx/c35g6pq6ChOXerYgd/nttdvo4H7d29uLXbnWBiGxVRu2t/g0GB7Ug0+QTikIGyrOD8OC5LPL2Ka6yDh8H8RwC4zumJapDCXG2D2GFAhN2orVYDBaC87WZFWBAUsegEDhBxvz5Kbg0p5oZA8bzc1/D75sIRBlkTmOZE2g5vNW5i6zG3/QGAcuYNmSj+Vb8Opy8H1a0u4HrDT099CWTx862QolBwe/XqFiuoUkpUF9W+8+v6pCBVdOl/qYKdpagOJmriWFJt7MesJoHiWsQz/yOkaVNRIkRW9088ZExqN1mn6djw4NKvLI4+wPsV0RI391oLHcD15wgwcji01fbuBnfuysEWcCv/TgoSjVOcV7XuFUDH907zYwZdOwEBLcgUNrMAju2LIlsdxCL9qKsv85dUBJ1Y/AVXHwE8IIbvb8WNqENie3o8QhLSA0SiVxYPM4gex9TWlpJ85cwzgvNFKn1ihQh/Hwuygd8rLgD6TeCNItcvHUXGXYhyt2iJoUrOxlw8q+QaRt+UX2ZNXAaiJdS/PplmWCsV4pysynHGF5diWRb5K/k1g4waFSAQ0AWtUY1jxxhdzk+yloles7B3Ic1VHu63ullOz4c0Q0wf5sPpMbJnCLrjAdnE7G5NvU4EnEBndSJEJ81D1LRmKEIr9IuiWwCRXNJzC5dLTHbOMQDwHny9pan0zCDGybn4qIQQTL2hJ3IaIZJg7axhk7i7wVmEjbZUrkpgvBjpXpwlBuG1zFjPmR8JyAPxrJjbEEdcEpWlxTRp6f0J8P6uyNwbcmsqeQn9zxixTHYaOdNvzXGOabkTp3LTQECn+Puc1J354b6lCtwwFpfRIuQrU1CeVaKbodBxU5NJhI4BbrQx40JVwtxdyVlaSFJ9tn2R5Wpdpf3rwfbGVScbDHBBKDq2zJh6pmHeCSHZyzIcvbj2QlKD3Pi862BV16azcNFz4RZCOGbVjPeVM+DX7hVsN3fiI3d7MxTAN1r7WfR7NV23SO7B60RkSGhp/ZTcsoKHzmYVx0AtqI20clDpZSUGFVL0QdfCMRCB4rXw/kOqVGOxTOE7GKEpKFSIyZEHCL+HbEC8hvErVki+G+HSWRCIvLZPQUHGOdv4KDvxW74wf0c/nGXf6+ie2pBrJDjcLVAZant4vj4obyFG30wNgMEbmk4Kby8BZDsV0Y+FI9JUxMQdraPPSEZCf3gA2vXmsKIdMbMAFMR6ZrIlKMUc91BeIBM6VauF5pjqdm2hNvlI+K7ZM7x+Xcjg2Dt/RRrnb8GcH+m2jpRQCscgX2lUvluP7nWJyyqqMk+33LsTqsfHMcS2SOirg7N56znv1PcsSIKb8WUmRHo8llb70VU8yjd0MzKK1V8KD8jJbYSaRWwKEbflTzsDFDgD6Nx4cv+oj9N8JlFFAVH+EkknmKDql874+tH6Lp8pd7oJqb3RDEtsHsk1Mau4JEe8SHwJy82LG9Xi48tKIkWxxrtUJMISrajMI7g38jnFGr83M2zYs0B1VTkX7ImUzLsy1Ln1ZAboPS65mJE5FIDbNHQpCkCN0bFT/dCosfoC2Jm5yEQIZSW5oM2ylCwPYqU91VN2i11ef6NPe6QL6SiRh7JPImwt8gj9r39pjy4mwRyIxjNU9PrKuvNpIwtb7CVl5diVTIg0Gx1v82pjYsT51O7k64qIwlGC0x7dzOQ+XdSMSFCM1sk2OvvcxZTtwQWVAmDmqhNAeJ3DH61fa5Lii2suvXTzEC7qheTMQ/KEwNRxQz1BL6RYlITa8ZtlUpe46MY3+08GJC4A2gys6eQpm4+BHQr50bmfEvl7c63pqp0JMH3Gz8ZEvBskMVXsfY8awW89nYnCNYZH74t4bvKqhSfO/zs3oPUVoz6S3fwMebROsAoehzvBVDCjvICjEhamkzOIt+gDfIrDlZto2yj31ptgsfBcIeFXcijyf99xWz05/XQvaMdf8HAxwLWusBqpNtuAd0CWurPoCk9f6m/hzm89YvckRRHJ3iZKZLepE3MLNZH6D3kFAMGssvaexY9Zd9E1vaCGcA3cgPe+OnP20dnWbdM0LRl7Mp4Y6JvO3/U9gH7yt+hKFkAOIcYmb7Cp+hPleENtvbexYD9I9aKhe4rvoZYJeiGJJs4X/y1XUCWxrJUuk6Wv06S7BV0Zwl/61gaL1NNY8rzNMO3+2MnNEujXAlC7Qx9mZ6ndySmAKYblji1i0JQyYPwkUqStceFfoVjbk1xE2n1ZZOX7fXaOhLfZK3BchyswEyNUmmqaK51GL9K4C+oTfcviGZdQsri/7slsvYqi5jubY8fYIrSpQk+B3I+kFh+ln4Ps5gFa2j1Y78wgFPaHR0cHM6Ly93ZWJzdGF0aWMtc2VhLmhveW92ZXJzZS5jb20veXMvZXZlbnQvZTIwMjAwNDEwZ29fY29tbXVuaXR5L2luZGV4Lmh0bWwjL9IBCmFkZmViOGJlNzHaAQo4NGVlYjFjMThi+gEdaHR0cHM6Ly9hY2NvdW50LmhveW92ZXJzZS5jb22CAnFodHRwczovL2hrNGUtYXBpLW9zLmhveW92ZXJzZS5jb20vY29tbW9uL2FwaWNka2V5L2FwaS9leGNoYW5nZUNka2V5P3NpZ25fdHlwZT0yJmF1dGhfYXBwaWQ9YXBpY2RrZXkmYXV0aGtleV92ZXI9MYoCTGh0dHBzOi8vYWNjb3VudC5ob3lvdmVyc2UuY29tLyMvYWJvdXQvcHJpdmFjeUluR2FtZT9hcHBfaWQ9NCZiaXo9aGs0ZV9nbG9iYWxanBBFYzJiEAAAAJGCjvgHMrTsh3MtgsH5frMACAAAw460k//m++1MxIEXUCck/33uRkbXh2qC29/AivwLhKxa+XHVSAv0dKF5drsBoAKPy4OFKI9DJhCysPt3+RKmbXVvdgaktucaz4GU7/r1wurEHHyf+edEsopDvbCea4nbJVe9+qYHXwBPLepzFNymMWVp9eSkiySwB7aXOMLuWo7utTYk1t3BV+sc7C78f/aPIfGdD/s3XcTQzzEBPYu4FBG4D6PZ8oTGGvg0mWt5q/k2qmEcF8CdzUrJ38l/TiQuNSrWG3s/ALdDwXooplsCEl92sprxZswgpfKIsoPUuVSGUAIPOHY23+Yzx/j0AaMIUbeZB6mwGqffcNtW1qSbeeJWr/2HG9jbdBlr/wnPpDFdGn4oAzsuacaCYGMO8vkU20Lpwn7I3fce3H9zfmDqmroKE5d6tiB3+e212+jgft3b24tdudYGIbFVG7a3+DQYHtSDT5BOKQgbKs4Pw4Lks8vYprrIOHwfxHALjO6YlqkMJcbYPYYUCE3aitVgMFoLztZkVYEBSx6AQOEHG/PkpuDSnmhkDxvNzX8PvmwhEGWROY5kTaDm81bmLrMbf9AYBy5g2ZKP5Vvw6nLwfVrS7gesNPT30JZPHzrZCiUHB79eoWK6hSSlQX1b7z6/qkIFV06X+pgp2lqA4mauJYUm3sx6wmgeJaxDP/I6RpU1EiRFb3TzxkTGo3Wafp2PDg0q8sjj7A+xXREjf3WgsdwPXnCDByOLTV9u4Gd+7KwRZwK/9OChKNU5xXte4VQMf3TvNjBl07AQEtyBQ2swCO7YsiWx3EIv2oqy/zl1QEnVj8BVcfATwghu9vxY2oQ2J7ejxCEtIDRKJXFg8ziB7H1NaWknzlzDOC80UqfWKFCH8fC7KB3ysuAPpN4I0i1y8dRcZdiHK3aImhSs7GXDyr5BpG35RfZk1cBqIl1L8+mWZYKxXinKzKccYXl2JZFvkr+TWDjBoVIBDQBa1RjWPHGF3OT7KWiV6zsHchzVUe7re6WU7PhzRDTB/mw+kxsmcIuuMB2cTsbk29TgScQGd1IkQnzUPUtGYoQiv0i6JbAJFc0nMLl0tMds4xAPAefL2lqfTMIMbJufiohBBMvaEnchohkmDtrGGTuLvBWYSNtlSuSmC8GOlenCUG4bXMWM+ZHwnIA/GsmNsQR1wSlaXFNGnp/Qnw/q7I3Btyayp5Cf3PGLFMdho502/NcY5puROnctNAQKf4+5zUnfnhvqUK3DAWl9Ei5CtTUJ5Vopuh0HFTk0mEjgFutDHjQlXC3F3JWVpIUn22fZHlal2l/evB9sZVJxsMcEEoOrbMmHqmYd4JIdnLMhy9uPZCUoPc+LzrYFXXprNw0XPhFkI4ZtWM95Uz4NfuFWw3d+Ijd3szFMA3WvtZ9Hs1XbdI7sHrRGRIaGn9lNyygofOZhXHQC2ojbRyUOllJQYVUvRB18IxEIHitfD+Q6pUY7FM4TsYoSkoVIjJkQcIv4dsQLyG8StWSL4b4dJZEIi8tk9BQcY52/goO/FbvjB/Rz+cZd/r6J7akGskONwtUBlqe3i+PihvIUbfTA2AwRuaTgpvLwFkOxXRj4Uj0lTExB2to89IRkJ/eADa9eawoh0xswAUxHpmsiUoxRz3UF4gEzpVq4XmmOp2baE2+Uj4rtkzvH5dyODYO39FGudvwZwf6baOlFAKxyBfaVS+W4/udYnLKqoyT7fcuxOqx8cxxLZI6KuDs3nrOe/U9yxIgpvxZSZEejyWVvvRVTzKN3QzMorVXwoPyMlthJpFbAoRt+VPOwMUOAPo3Hhy/6iP03wmUUUBUf4SSSeYoOqXzvj60founyl3ugmpvdEMS2weyTUxq7gkR7xIfAnLzYsb1eLjy0oiRbHGu1QkwhKtqMwjuDfyOcUavzczbNizQHVVORfsiZTMuzLUufVkBug9LrmYkTkUgNs0dCkKQI3RsVP90Kix+gLYmbnIRAhlJbmgzbKULA9ipT3VU3aLXV5/o097pAvpKJGHsk8ibC3yCP2vf2mPLibBHIjGM1T0+sq682kjC1vsJWXl2JVMiDQbHW/zamNixPnU7uTriojCUYLTHt3M5D5d1IxIUIzWyTY6+9zFlO3BBZUCYOaqE0B4ncMfrV9rkuKLay69dPMQLuqF5MxD8oTA1HFDPUEvpFiUhNrxm2VSl7joxjf7TwYkLgDaDKzp5Cmbj4EdCvnRuZ8S+XtzremqnQkwfcbPxkS8GyQxVex9jxrBbz2dicI1hkfvi3hu8qqFJ87/Ozeg9RWjPpLd/Ax5tE6wCh6HO8FUMKO8gKMSFqaTM4i36AN8isOVm2jbKPfWm2Cx8Fwh4VdyKPJ/33FbPTn9dC9ox1/wcDHAta6wGqk224B3QJa6s+gKT1/qb+HObz1i9yRFEcneJkpkt6kTcws1kfoPeQUAwayy9p7Fj1l30TW9oIZwDdyA9746c/bR2dZt0zQtGXsynhjom87f9T2AfvK36EoWQA4hxiZvsKn6E+V4Q229t7FgP0j1oqF7iu+hlgl6IYkmzhf/LVdQJbGslS6Tpa/TpLsFXRnCX/rWBovU01jyvM0w7f7Yyc0S6NcCULtDH2Znqd3JKYAphuWOLWLQlDJg/CRSpK1x4V+hWNuTXETafVlk5ft9do6Et9krcFyHKzATI1SaapornUYv0rgL6hN9y+IZl1CyuL/uyWy9iqLmO5tjx9gitKlCT4Hcj6QWH6Wfg+zmAVraPVjvxi1QKyejDLPUAOCN3SCMK8pVhVNcUTbT492VIqKAkBogK5WM6zJi29PXg1tEHnTq9wjyzpXJma6CFfV5pw/WGCUgcb+S/JmzWhlnGZMWTNOBqz3Dng0zdqV6vw3QdnB0QtJ0+mGkIbwJ71QxYZ6AR5yUvQf2hnIB6N5lc1gYto3nlzci2Wh4ZAAwUQjxpk8KJxyTyIoNIZzLwmywe2+ah6TfLmkAQ1uE+nKiGZY7G211GNZmgHLub5iyvE6u1Zru+E00M4IY4MVRweryEvL4alijishkqwxiw5xpXBxUZR/zps+PS9hAX2MgzylAbIvlTD/nLyK5Mt16qAVLU7kMF5nAhdy8T8n/EglcBWUoAxzDQ+6MBzvdL0UutJcLDvUJH6IxJm7NDE7xawfxTNQnh8UHkgQO+CVZg0TS+HnxiKKck7ekpbQMXNH5ckMx8FuA/KFoOk5vzWug== \ No newline at end of file diff --git a/gate-hk4e/cmd/static/query_cur_region_key b/gate-hk4e/cmd/static/query_cur_region_key new file mode 100644 index 00000000..ddef1aff --- /dev/null +++ b/gate-hk4e/cmd/static/query_cur_region_key @@ -0,0 +1 @@ +GpgdCgo4LjIwOS42Ni4xENWsARosaHR0cHM6Ly9vc2V1cm9vYXNlcnZlci55dWFuc2hlbi5jb20vcmVjaGFyZ2U6BGV1cm9COWh0dHBzOi8vYXV0b3BhdGNoaGsueXVhbnNoZW4uY29tL2NsaWVudF9nYW1lX3Jlcy8yLjZfbGl2ZUo8aHR0cHM6Ly9hdXRvcGF0Y2hoay55dWFuc2hlbi5jb20vY2xpZW50X2Rlc2lnbl9kYXRhLzIuNl9saXZlUpIBaHR0cHM6Ly93ZWJzdGF0aWMtc2VhLmhveW92ZXJzZS5jb20veXMvZXZlbnQvaW0tc2VydmljZS9pbmRleC5odG1sP2ltX291dD1mYWxzZSZzaWduX3R5cGU9MiZhdXRoX2FwcGlkPWltX2NjcyZhdXRoa2V5X3Zlcj0xJndpbl9kaXJlY3Rpb249cG9ydHJhaXRiCDIuNl9saXZlcNnsmgOQAdnsmgOaAVx7InJlbW90ZU5hbWUiOiAiZGF0YV92ZXJzaW9ucyIsICJtZDUiOiAiMWE0NDVhZTQ4ZmJkYmUwMzgzMTJiZTg2OGYyODEzZDIiLCAiZmlsZVNpemUiOiA0NDE1faIBW3sicmVtb3RlTmFtZSI6ICJkYXRhX3ZlcnNpb25zIiwgIm1kNSI6ICIxNzU0MmM3YmJhYzQ5YjkxMWRlMjlhOTYyNzU0YmQ2MSIsICJmaWxlU2l6ZSI6IDUxNH2yAYEGCL23mQMa4AV7InJlbW90ZU5hbWUiOiAicmVzX3ZlcnNpb25zX2V4dGVybmFsIiwgIm1kNSI6ICI5ZjA5MmNhMTMwNjdjYWU0MzEzNDkzZWVkM2QzZTlhZSIsICJmaWxlU2l6ZSI6IDUyNjk2Nn0NCnsicmVtb3RlTmFtZSI6ICJyZXNfdmVyc2lvbnNfbWVkaXVtIiwgIm1kNSI6ICI3Yzk0MmU3MDRhODA0YzIxMjJmYzYzZWU5MjhlNzE0OCIsICJmaWxlU2l6ZSI6IDI4NTU1MH0NCnsicmVtb3RlTmFtZSI6ICJyZXNfdmVyc2lvbnNfc3RyZWFtaW5nIiwgIm1kNSI6ICJlMzVmNmQ4NTNkMDRjZTAyMmFjN2MzNmQ0M2Y0MGU3YyIsICJmaWxlU2l6ZSI6IDEyMjAzNn0NCnsicmVtb3RlTmFtZSI6ICJyZWxlYXNlX3Jlc192ZXJzaW9uc19leHRlcm5hbCIsICJtZDUiOiAiODc2NGIwZjJlZDgxNWNkNDQzMGUwODVjNDYxYTZmNGQiLCAiZmlsZVNpemUiOiA1MjY5NjZ9DQp7InJlbW90ZU5hbWUiOiAicmVsZWFzZV9yZXNfdmVyc2lvbnNfbWVkaXVtIiwgIm1kNSI6ICIxYmJlMzc0YzE2YmZmNDU5MTU5OWMyMTk3MzQyMDM0OCIsICJmaWxlU2l6ZSI6IDI4NTU1MH0NCnsicmVtb3RlTmFtZSI6ICJyZWxlYXNlX3Jlc192ZXJzaW9uc19zdHJlYW1pbmciLCAibWQ1IjogIjcyZmE3ZmY2NmQ1MTRmY2JhMzRhZjAwN2YyYjljMmY4IiwgImZpbGVTaXplIjogMTIyMDM2fQ0KeyJyZW1vdGVOYW1lIjogImJhc2VfcmV2aXNpb24iLCAibWQ1IjogImZiZmE2ZDZlMDcwMmQxYzc5ZTA1NjRmYjI4NjdlNzM4IiwgImZpbGVTaXplIjogMTh9IgEwKgo3YTM0YTM2YTZlMggyLjZfbGl2ZboBnBBFYzJiEAAAAJNvNOvzlkCCDSqpQ6a141IACAAA6gq2poqqrhWr1LS/wULjaiSPJIGsouCxUfY40ezmGoMU5SZZLwQ97KrlkCLKvTVycxteFwEPDxFrKxiHE1oigrAAkjc0NU12JqcQBFL8ExWeR+3QfCPnh7MWo424stJoHPADl9E6R/n3YDXAtq1gUzZu5Y4aGtd9XDyVjozcbIrtVVTGVpvRIuwGYoOCRCwDeRKphu9MoJfbi9mawLh5XSq+KLsAksjM90JJ/DEUzP2XCB/QILsiSiwbET5LUrl65OXCN4sLxZg+86qmeU28cdz4tWDewXYFO+Y7AnJAt7JfpgR/8Os7A9CDPD8WA6GBdqyplmoKRtnjjZG9ZGZIk1YF7AdGUhE8672XlWW3clJaNMBpHFkON+t7Utgu6prY/uJJLFZlGm5KMSend8u8GTMYOE5/AJsVkX/5eS8V2F6Dt6mZJgPtGAlX7Rp1a1R57FMKQLS+9nIzKDMclWFs7ebbnv+lcqckuqln19/JMrYQg9E4IiDVn5akaHZbnYBw0+HDR5kfT2xWfWVo8CJu4mPSpVR1kI4HhZXTURnHa7ezObuwHQm3NS7wHK7VO0E+qgnUgb+vK9M0cHTQE6FsCi/bk0VaHZtDxpMCTfKluJiOsxhvRePOjEVyNyLwLJaoxwwSukMfSH9G+q62ygFmmErAQfKKWLreb72UegOgmhD8T8aytvWXHkWk07QCttqgPhax8BAW2OvRJluvorBUIeHDeO6QeBaZns4EXIYUcIQlfi3yGsLKhhGLb2OgN6a6B3ElxdgXRRYMGAdDoAxEnCcWmdZx874vEvf2KFUP6aU8l4lh0XV6RU/D7A+eqWN5bH4ffS4QBQq2MU6CNA5XumMsD4zUfC6od5T7Tt7uQsgbqtIMgXKpO8lRk4pRgnpPsqM1Ou8kTb1UdQSc4yREuJlrL2Tmtf35cAw7W290LIO/GaO9Rj1CPhATMn7jbUTA6+QN7rTxIzbVl66k95wQth81TYuvw1DlGOpVDTbcCB0uvfmcAAGhj57jVBlyVIu+KJzrrx8z9Uh6scsMCgrMPJn7nsCHSXD6yElTgLrF7FVwgqsxDjgcquqkrSnknP92jb+11IJbw05Ass4hcMRGJxdAefSWDIgdi7l4GnppPdUvLkG5uvBlO85AiT2NpqNmShebfst8rQLFc1B7hAcvh9EpM9Sii0/XXfe9tEf7AwKj2SWmS79PsjEiAiv18tJ6gDlaJ0WFSchXNBRPu8ESvKlE8q7myuc2t5nnxv/hctkez5+nh9SgQ3beL34chSL4RPTH32Jqzs5p7s2n87Bv4vfQccYFAF+kKMUZzKnWKl0LCrStSd3+s+4KF/tZXEKue5KoVobNhaQrD33HjWf9Rvw0ULd4ho4A6wj/uga9o7rZ2C2v1YEDNNqZ5/v/udN3hl7tXrWv5UXcUyTtooa66sJ8oITE8+4aDWimtX6dy0CdFQj2mHppbbvRF66flDd/gFA35xQOXfYdOud3NJogglHXofOoB0LEdbao9C6Nt2v+z7C4S0l3cAMXp/yiI9qxJT9b0mQ2zp2GN5i4gvrp+6iKjqxf+IA++oB/JzbbpSVOFJmFSysv4v3Al2AVbmFycYqv0GaoiZ22wiu8Ok3+LCyKJTITtaJLAtgbpwRfa9SUkdpRwMK1vMN1s6jZU9gdejY3oLVKjFpg66c9bagpmvIG1/gfgY9yT++Y8img4aB/JDJMAS2MVGxGlyrRFGaXBWLq3SkhqDqGD5klbvYv2IFMr4BAHP2uwLb92qEhtlksiVQYk8HGxLWlU2Fo+Pxee8L1xvQOgPdY4/cb33BuJXvtyW5ea5EmVtBPo4MU1ws9BvAzLs13Nisl+/FBvBn8ktkZmE5e6nsdpGEtq4/d7MfCLXGRI5L730mIieeAvtQcb0NMWGcubHPgjY58Pv4MSdRpOQakzM2rA5UD5O57rGH5q6p3HZfZk2iPUcJRsebMKJ4l1omr5JeD95DKDKy7Cts3RajufslekL3/wHwUZbAdEWyux2w1zbiukmhTfh0nbenm8Q8KOASCDo0SWO3e9FpOz5o+phHBVYgmfxRt11OonnLt1qKB7j/a7YdufvkFSsFm4UdgsJMPIHzeBjbSSDlLeCdmdKGQtFLC73npe6efYGUupMIV9EYup1D/OoCNlz2r/FhJ7aLRtj6Q6cb161MLp+rmjbSzN+RVFwf7wAVpLQMrHwTvUzB/8M7cTjN5VFE583uhy4KKf+W3iTxzdyX2SAD9QVu6EXv4KaEFBy8Vo0sga907Fi7imkwgjY2cdnEtPMMeO2Jqj3yWPdqrlVtfAn1jd14oix7YObsJ8mVBeueiplG9d7dxcA1GV+7xX9wOyPDcfH5FBAIlglBIEhjSyNQErH+JYRbOUotXMBQa1tlRRtBSLLDCRgEpG8F+Dv5Oao9ZBnKAi0GRjPKo+OjsehWzrNXGDcoTQsGD/bmKpCdaUOuEa6rLA7tbYwqT2SPdCJzBx2J+kI1bwDWhFF9ROrh9MvmwvMBE9dH5mbQj78p2P5gar2BUcNNbSVvSgxtCa1NHsf/GwrPmTQLPxCrEBcDucxIpsqfINp48iCJGZ4NvlRIZolmaVBWlxjVl/XYcb2YOl3K48e+LsfblTU6tyneZimrS+Y0qt7lncte6NZGPnf98wNLxY39IX8gATezGXoZ03TOhy1jX3epf4Bfw5ZyvU8/XJ2BvbPpw+b8LgS0y0DkeQG4mQGlHidnCAU9odHRwczovL3dlYnN0YXRpYy1zZWEuaG95b3ZlcnNlLmNvbS95cy9ldmVudC9lMjAyMDA0MTBnb19jb21tdW5pdHkvaW5kZXguaHRtbCMv0gEKYWRmZWI4YmU3MdoBCmFkZmViOGJlNzH6AR1odHRwczovL2FjY291bnQuaG95b3ZlcnNlLmNvbYICcWh0dHBzOi8vaGs0ZS1hcGktb3MuaG95b3ZlcnNlLmNvbS9jb21tb24vYXBpY2RrZXkvYXBpL2V4Y2hhbmdlQ2RrZXk/c2lnbl90eXBlPTImYXV0aF9hcHBpZD1hcGljZGtleSZhdXRoa2V5X3Zlcj0xigJMaHR0cHM6Ly9hY2NvdW50LmhveW92ZXJzZS5jb20vIy9hYm91dC9wcml2YWN5SW5HYW1lP2FwcF9pZD00JmJpej1oazRlX2dsb2JhbFqcEEVjMmIQAAAAk2806/OWQIINKqlDprXjUgAIAADqCramiqquFavUtL/BQuNqJI8kgayi4LFR9jjR7OYagxTlJlkvBD3squWQIsq9NXJzG14XAQ8PEWsrGIcTWiKCsACSNzQ1TXYmpxAEUvwTFZ5H7dB8I+eHsxajjbiy0mgc8AOX0TpH+fdgNcC2rWBTNm7ljhoa131cPJWOjNxsiu1VVMZWm9Ei7AZig4JELAN5EqmG70ygl9uL2ZrAuHldKr4ouwCSyMz3Qkn8MRTM/ZcIH9AguyJKLBsRPktSuXrk5cI3iwvFmD7zqqZ5Tbxx3Pi1YN7BdgU75jsCckC3sl+mBH/w6zsD0IM8PxYDoYF2rKmWagpG2eONkb1kZkiTVgXsB0ZSETzrvZeVZbdyUlo0wGkcWQ4363tS2C7qmtj+4kksVmUabkoxJ6d3y7wZMxg4Tn8AmxWRf/l5LxXYXoO3qZkmA+0YCVftGnVrVHnsUwpAtL72cjMoMxyVYWzt5tue/6VypyS6qWfX38kythCD0TgiINWflqRodludgHDT4cNHmR9PbFZ9ZWjwIm7iY9KlVHWQjgeFldNRGcdrt7M5u7AdCbc1LvAcrtU7QT6qCdSBv68r0zRwdNAToWwKL9uTRVodm0PGkwJN8qW4mI6zGG9F486MRXI3IvAslqjHDBK6Qx9If0b6rrbKAWaYSsBB8opYut5vvZR6A6CaEPxPxrK29ZceRaTTtAK22qA+FrHwEBbY69EmW6+isFQh4cN47pB4FpmezgRchhRwhCV+LfIawsqGEYtvY6A3proHcSXF2BdFFgwYB0OgDEScJxaZ1nHzvi8S9/YoVQ/ppTyXiWHRdXpFT8PsD56pY3lsfh99LhAFCrYxToI0Dle6YywPjNR8Lqh3lPtO3u5CyBuq0gyBcqk7yVGTilGCek+yozU67yRNvVR1BJzjJES4mWsvZOa1/flwDDtbb3Qsg78Zo71GPUI+EBMyfuNtRMDr5A3utPEjNtWXrqT3nBC2HzVNi6/DUOUY6lUNNtwIHS69+ZwAAaGPnuNUGXJUi74onOuvHzP1SHqxywwKCsw8mfuewIdJcPrISVOAusXsVXCCqzEOOByq6qStKeSc/3aNv7XUglvDTkCyziFwxEYnF0B59JYMiB2LuXgaemk91S8uQbm68GU7zkCJPY2mo2ZKF5t+y3ytAsVzUHuEBy+H0Skz1KKLT9dd9720R/sDAqPZJaZLv0+yMSICK/Xy0nqAOVonRYVJyFc0FE+7wRK8qUTyrubK5za3mefG/+Fy2R7Pn6eH1KBDdt4vfhyFIvhE9MffYmrOzmnuzafzsG/i99BxxgUAX6QoxRnMqdYqXQsKtK1J3f6z7goX+1lcQq57kqhWhs2FpCsPfceNZ/1G/DRQt3iGjgDrCP+6Br2jutnYLa/VgQM02pnn+/+503eGXu1eta/lRdxTJO2ihrrqwnyghMTz7hoNaKa1fp3LQJ0VCPaYemltu9EXrp+UN3+AUDfnFA5d9h0653c0miCCUdeh86gHQsR1tqj0Lo23a/7PsLhLSXdwAxen/KIj2rElP1vSZDbOnYY3mLiC+un7qIqOrF/4gD76gH8nNtulJU4UmYVLKy/i/cCXYBVuYXJxiq/QZqiJnbbCK7w6Tf4sLIolMhO1oksC2BunBF9r1JSR2lHAwrW8w3WzqNlT2B16NjegtUqMWmDrpz1tqCma8gbX+B+Bj3JP75jyKaDhoH8kMkwBLYxUbEaXKtEUZpcFYurdKSGoOoYPmSVu9i/YgUyvgEAc/a7Atv3aoSG2WSyJVBiTwcbEtaVTYWj4/F57wvXG9A6A91jj9xvfcG4le+3Jbl5rkSZW0E+jgxTXCz0G8DMuzXc2KyX78UG8GfyS2RmYTl7qex2kYS2rj93sx8ItcZEjkvvfSYiJ54C+1BxvQ0xYZy5sc+CNjnw+/gxJ1Gk5BqTMzasDlQPk7nusYfmrqncdl9mTaI9RwlGx5swoniXWiavkl4P3kMoMrLsK2zdFqO5+yV6Qvf/AfBRlsB0RbK7HbDXNuK6SaFN+HSdt6ebxDwo4BIIOjRJY7d70Wk7Pmj6mEcFViCZ/FG3XU6iecu3WooHuP9rth25++QVKwWbhR2Cwkw8gfN4GNtJIOUt4J2Z0oZC0UsLveel7p59gZS6kwhX0Ri6nUP86gI2XPav8WEntotG2PpDpxvXrUwun6uaNtLM35FUXB/vABWktAysfBO9TMH/wztxOM3lUUTnze6HLgop/5beJPHN3JfZIAP1BW7oRe/gpoQUHLxWjSyBr3TsWLuKaTCCNjZx2cS08wx47YmqPfJY92quVW18CfWN3XiiLHtg5uwnyZUF656KmUb13t3FwDUZX7vFf3A7I8Nx8fkUEAiWCUEgSGNLI1ASsf4lhFs5Si1cwFBrW2VFG0FIssMJGASkbwX4O/k5qj1kGcoCLQZGM8qj46Ox6FbOs1cYNyhNCwYP9uYqkJ1pQ64RrqssDu1tjCpPZI90InMHHYn6QjVvANaEUX1E6uH0y+bC8wET10fmZtCPvynY/mBqvYFRw01tJW9KDG0JrU0ex/8bCs+ZNAs/EKsQFwO5zEimyp8g2njyIIkZng2+VEhmiWZpUFaXGNWX9dhxvZg6Xcrjx74ux9uVNTq3Kd5mKatL5jSq3uWdy17o1kY+d/3zA0vFjf0hfyABN7MZehnTdM6HLWNfd6l/gF/DlnK9Tz9cnYG9s+nD5vwuBLTLQOR5AbiZAaUeJ2WLVAtaPymwUgxn8nMUMGk2pDMbkJNLgHPcao2F2HLBdC2W3r1Qs5PtDbMuMCIPSYscVx1x66qcJw19SiQyNLxCY9ErLGDY4mChY/X5NX7Pc2ricYE7EzCSZMYQmtUVZoqn1RPGz1P9Gj65Edm70zFOfRWfR+sTboONM7W3oNk1mkI2M5GwQrQpkAiyb5zwdxpsOwtQ0s0Sin4IOonpW9KcRv8yB8rMOMu6+C6m4h2MwRPj6QrVPWd8PV22qB4iAwfV3UYpjo91Mw/V5xT1DRSrb65vYtu8E4lR3HMv37at4aV6v8RluqeAIHHDJBANaUN3eLCSHewfEb+osQ5BV7XQT5Dwdy/LLFo+hdCBp0Retgtiwsq3+EgRs9i/d9tmghRqEdD/6re752aRiyTsf7CkWY6O7cCGfvmOLE0XhNQra+tLnlJCR1y4m1LOTB3ulQnZrA2E7Mmk7 \ No newline at end of file diff --git a/gate-hk4e/cmd/static/query_region_list b/gate-hk4e/cmd/static/query_region_list new file mode 100644 index 00000000..b4681aaa --- /dev/null +++ b/gate-hk4e/cmd/static/query_region_list @@ -0,0 +1 @@ +ElIKBm9zX3VzYRIHQW1lcmljYRoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc3VzYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElMKB29zX2V1cm8SBkV1cm9wZRoKREVWX1BVQkxJQyI0aHR0cHM6Ly9vc2V1cm9kaXNwYXRjaC55dWFuc2hlbi5jb20vcXVlcnlfY3VyX3JlZ2lvbhJRCgdvc19hc2lhEgRBc2lhGgpERVZfUFVCTElDIjRodHRwczovL29zYXNpYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElUKBm9zX2NodBIKVFcsIEhLLCBNTxoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc2NodGRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uKpwQRWMyYhAAAABbrAvbhfIRHfaSCN24qQyVAAgAAMs68ZiMdPfEj41O2wBCYqGiC/WdovvJvaw4t3/m1zIYDrt3/ftK9GKFb7C+2E8FmaHqOnwjJYBg2wI1sXpGmuSxkeWw8Avr36wlNtQjhXNV9zoNKstuZYuheyLlpbPRbYZ3UA6/BzTVsjIhjR1lcqFrigQnpV6MgRR9KqxakCaffK6qIzMlodx4ZPKlqseQhCiyVAvLWQSRqCRcZipzotXsmgLQbpDFtRzhgukXPjfW5dAlzMwswPuu7ZQsf1AKipI34dVQLu6gtXthGgbjn89h/79VR5AokLCPGqIV7/2s+gHfykrjDtyp5rwCcmGQqwV3gHy5LGrHl8Zm12jNd7Qcng51ydqtX4xzet6J2iMF6Dw5nPd/hTyxn+i3Ttk6fop9rbCq3iNgEw3+0cSDal1I1ThYdVnMgPhZgQkZc5/SpTaR+8vfDzRIKbSSrrPSEgLnQvWZOOugXhNdyuiaBc8rJveno7vvktmnhDUF3xWi6osj75j2KghRrdHfDR3Zuh4COrGZDRBSKHft2AvfrxaMT9O8hPzzzYk0U2iicVCDlNP/8wqaT9Vqt1kHmruLxqh377iyp0mxKfNt0+SNRzLyRoyvOar/z3AT6TU9LRoCFrkcJpVsUN+2MVeT52PfMbv5O/Nw9sqsFDlofCJJ/EknY0wDc+tNarYOhDM67/ojn/p6W3ZPBJxb2wcF1TOh9dpAeZdCGJusqhMIj5lpoW8nENTFhkEgMUv2Lh5Z6WpeOAKAu9eDpBMhlRNCccDaNYUgo6TdVDtWxtPrS3NRYqtkvb2I2SEFP0apht954oKdG3ncxyOgHRUkwgtxbCMAngzWo9+VWV3H3OlqeEOv7DdO2o0y95EvlHYb/qtosXPI2jC+6FPa+yl4xmLqcENRTUrU23dsmX3SyBEmZvML4dNeyC53B+mh7DUFtPFJFndxj2tGO9mTSDgy8eCmKG90AiJOMoxaLB2HpnDXN1sTiIcd3WraiE6ZCt4E54hKXvXHPyN52CHkxq1y/TeXHEq4X4MyHyDSRLHmzVs9pnwHM0ZLthKFNyvGfTvjiYokAWtNEuh74syt+m6Wietb6JvgibnnDj6uFKI3BbH4GUT9blsnMgug323bJ6bFvV4iESvz1fNnnUSokWQy5+fWzxPDohULgFzhDCpwov78Bp0E3t6DXSWnrUdNqpLbYKmXO1Hdbn+QH4B90p85UB1V5eSZgxPpUvZbIO4GPScil8K+dkDLdsFa1zypWNmlUN0Ns5H/iuzMuJql2QFYz+SnV1R1T+qywwqCNP9oswcLiAR3XnSacs52vd3PI9+0PZuoF6tVMWlvutsQ34IFZaAwIkdKigZcHumLBt/0KyFASBfN674n8FnHrHOQHU6oCeXkQA9kC8MtkvMb7fOLdzbTsD6SVojzZ64i9mDXxF+iLR9o52OxjIFzwLGRy/ivT/aAnHLZ3AsbnvslDjlQl2ADBFvf7xjmvFu0xlfK58TUpfVEkScFFapWJyKVybB4CRz1wKKz6n/a9581LpCVOWRsJa5p+j0zYcS2PfhmRf3RzwsDHeBjEVlIARbhxNKvmjdZyIidSdMMcsJHDRLE3bvo9kKfag0vRVKmuPLPc9FrACsz3vlkApcVQvzieHWoiP+foEvfj9+7Ti2tLfKdzVkMUmugZiZ46+7PKvIciiiuBPlyld0CCPTtTFHUOMO5dUfrUblX8K3awWiaNQFBS0J3iK08t1bgWfLhsKzsS32fRWugaqecwO9Rji9oHn+UuN8Nz9SgNxodroq9q7y/KHFxbqjCl62g25HN9zUa/s5wnIRwVAiWgTuOe3qGqjwp5m/GR8YVSSK/8mV9EL4AaF8d1uifdVA6wWSH1e/1UB8vcdU83P8ne3u1ho+Y/57WB7KnQaGaiD/108+wiAxNqMb2ex8on01VxdLKV1makXV3gzsvWaRevW8t/K11ZwYfo9g+guWADsA0JO0jWooiaupq1kNWrEheBdSRXBO7Jnb+56cTjPGwLpp7ZOHe/bSCJ4MGzPF3lK66LXhVo+rxvNjhoKVRjhGYxN4T8+AiRo3r+1KwdIGSrtODp3ri3JWAy6Eajp1Ukp9GaCbHSJFnYml84nKew7zLLe//ExQpjd4QAjMTvnbm+Ff6a1jf69QEVo0I33gI7/buwqgjiuvjeL6EYaMolKrKlHZHf/HwWbFbdID8T9aoyZJuCUd6YHaMPRAS6n5nvTwkRLlJ/f6wgyypUGZ22Bb1qGIb9SoPgSgIJkifUoewQW2EexqfoAsHXJVABLy+jp/SC4xzHZOSh42zU1k80HIgrnSOmu6T56F6gqy4Y2cZuZU8LXbO/01u8ifEz8yaXfEFSFdxE0TWl92OLKFtJZr9nNOBQQQr5FDGf6zB1/0CziG/5+PrUDgG3irzho6+7wXkc2CpxlBKOLWdjs3V/Lab6cURz1QZY4HYgUkJtm4U5OKUeO2+murlhC7SrnwyUtGrsD8NbCmI4SRHKPoeLBJQO/m3dRze5Ltr8N9IS7/ukPeOYe1O2agrmhH/JjYfz/l8Gmq8PGY+oavYp8I+2yKvGLD9kCxEgKcTeRh9AW/xPTLGsacrGKQCY+M76DfyLKxCZDiDY9xkBIKchxsMsn7FqZvRMMyJBHbqa3AKQyAN73NCSuFF5f1qDjARU/xqJFhOaKoR64c78oqh1GqOqEFbfNQIRw6WeFCGyW6v6p10uLdR7KXnR7+wub9aG992MpIBk0+gru74yO/WcA0vLdDEQIBwc+M0lmLB53ylsPtde3nliaC5ROHR1IS4LO8Q+3o0BHMr0my0bqFwwCAvZVXOFBHxXyUgrrmUTnZYVSQXNV6+MALBmmRU5yOzhhyHoEdj9YHZeyPpZkYc6DkJWCRYbFfmczNIs133KB9rlfug40w/hHa8pXyRyLaKQUMIUYEvt3Y4AQ== \ No newline at end of file diff --git a/gate-hk4e/cmd/static/query_region_list_key b/gate-hk4e/cmd/static/query_region_list_key new file mode 100644 index 00000000..b4681aaa --- /dev/null +++ b/gate-hk4e/cmd/static/query_region_list_key @@ -0,0 +1 @@ +ElIKBm9zX3VzYRIHQW1lcmljYRoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc3VzYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElMKB29zX2V1cm8SBkV1cm9wZRoKREVWX1BVQkxJQyI0aHR0cHM6Ly9vc2V1cm9kaXNwYXRjaC55dWFuc2hlbi5jb20vcXVlcnlfY3VyX3JlZ2lvbhJRCgdvc19hc2lhEgRBc2lhGgpERVZfUFVCTElDIjRodHRwczovL29zYXNpYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElUKBm9zX2NodBIKVFcsIEhLLCBNTxoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc2NodGRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uKpwQRWMyYhAAAABbrAvbhfIRHfaSCN24qQyVAAgAAMs68ZiMdPfEj41O2wBCYqGiC/WdovvJvaw4t3/m1zIYDrt3/ftK9GKFb7C+2E8FmaHqOnwjJYBg2wI1sXpGmuSxkeWw8Avr36wlNtQjhXNV9zoNKstuZYuheyLlpbPRbYZ3UA6/BzTVsjIhjR1lcqFrigQnpV6MgRR9KqxakCaffK6qIzMlodx4ZPKlqseQhCiyVAvLWQSRqCRcZipzotXsmgLQbpDFtRzhgukXPjfW5dAlzMwswPuu7ZQsf1AKipI34dVQLu6gtXthGgbjn89h/79VR5AokLCPGqIV7/2s+gHfykrjDtyp5rwCcmGQqwV3gHy5LGrHl8Zm12jNd7Qcng51ydqtX4xzet6J2iMF6Dw5nPd/hTyxn+i3Ttk6fop9rbCq3iNgEw3+0cSDal1I1ThYdVnMgPhZgQkZc5/SpTaR+8vfDzRIKbSSrrPSEgLnQvWZOOugXhNdyuiaBc8rJveno7vvktmnhDUF3xWi6osj75j2KghRrdHfDR3Zuh4COrGZDRBSKHft2AvfrxaMT9O8hPzzzYk0U2iicVCDlNP/8wqaT9Vqt1kHmruLxqh377iyp0mxKfNt0+SNRzLyRoyvOar/z3AT6TU9LRoCFrkcJpVsUN+2MVeT52PfMbv5O/Nw9sqsFDlofCJJ/EknY0wDc+tNarYOhDM67/ojn/p6W3ZPBJxb2wcF1TOh9dpAeZdCGJusqhMIj5lpoW8nENTFhkEgMUv2Lh5Z6WpeOAKAu9eDpBMhlRNCccDaNYUgo6TdVDtWxtPrS3NRYqtkvb2I2SEFP0apht954oKdG3ncxyOgHRUkwgtxbCMAngzWo9+VWV3H3OlqeEOv7DdO2o0y95EvlHYb/qtosXPI2jC+6FPa+yl4xmLqcENRTUrU23dsmX3SyBEmZvML4dNeyC53B+mh7DUFtPFJFndxj2tGO9mTSDgy8eCmKG90AiJOMoxaLB2HpnDXN1sTiIcd3WraiE6ZCt4E54hKXvXHPyN52CHkxq1y/TeXHEq4X4MyHyDSRLHmzVs9pnwHM0ZLthKFNyvGfTvjiYokAWtNEuh74syt+m6Wietb6JvgibnnDj6uFKI3BbH4GUT9blsnMgug323bJ6bFvV4iESvz1fNnnUSokWQy5+fWzxPDohULgFzhDCpwov78Bp0E3t6DXSWnrUdNqpLbYKmXO1Hdbn+QH4B90p85UB1V5eSZgxPpUvZbIO4GPScil8K+dkDLdsFa1zypWNmlUN0Ns5H/iuzMuJql2QFYz+SnV1R1T+qywwqCNP9oswcLiAR3XnSacs52vd3PI9+0PZuoF6tVMWlvutsQ34IFZaAwIkdKigZcHumLBt/0KyFASBfN674n8FnHrHOQHU6oCeXkQA9kC8MtkvMb7fOLdzbTsD6SVojzZ64i9mDXxF+iLR9o52OxjIFzwLGRy/ivT/aAnHLZ3AsbnvslDjlQl2ADBFvf7xjmvFu0xlfK58TUpfVEkScFFapWJyKVybB4CRz1wKKz6n/a9581LpCVOWRsJa5p+j0zYcS2PfhmRf3RzwsDHeBjEVlIARbhxNKvmjdZyIidSdMMcsJHDRLE3bvo9kKfag0vRVKmuPLPc9FrACsz3vlkApcVQvzieHWoiP+foEvfj9+7Ti2tLfKdzVkMUmugZiZ46+7PKvIciiiuBPlyld0CCPTtTFHUOMO5dUfrUblX8K3awWiaNQFBS0J3iK08t1bgWfLhsKzsS32fRWugaqecwO9Rji9oHn+UuN8Nz9SgNxodroq9q7y/KHFxbqjCl62g25HN9zUa/s5wnIRwVAiWgTuOe3qGqjwp5m/GR8YVSSK/8mV9EL4AaF8d1uifdVA6wWSH1e/1UB8vcdU83P8ne3u1ho+Y/57WB7KnQaGaiD/108+wiAxNqMb2ex8on01VxdLKV1makXV3gzsvWaRevW8t/K11ZwYfo9g+guWADsA0JO0jWooiaupq1kNWrEheBdSRXBO7Jnb+56cTjPGwLpp7ZOHe/bSCJ4MGzPF3lK66LXhVo+rxvNjhoKVRjhGYxN4T8+AiRo3r+1KwdIGSrtODp3ri3JWAy6Eajp1Ukp9GaCbHSJFnYml84nKew7zLLe//ExQpjd4QAjMTvnbm+Ff6a1jf69QEVo0I33gI7/buwqgjiuvjeL6EYaMolKrKlHZHf/HwWbFbdID8T9aoyZJuCUd6YHaMPRAS6n5nvTwkRLlJ/f6wgyypUGZ22Bb1qGIb9SoPgSgIJkifUoewQW2EexqfoAsHXJVABLy+jp/SC4xzHZOSh42zU1k80HIgrnSOmu6T56F6gqy4Y2cZuZU8LXbO/01u8ifEz8yaXfEFSFdxE0TWl92OLKFtJZr9nNOBQQQr5FDGf6zB1/0CziG/5+PrUDgG3irzho6+7wXkc2CpxlBKOLWdjs3V/Lab6cURz1QZY4HYgUkJtm4U5OKUeO2+murlhC7SrnwyUtGrsD8NbCmI4SRHKPoeLBJQO/m3dRze5Ltr8N9IS7/ukPeOYe1O2agrmhH/JjYfz/l8Gmq8PGY+oavYp8I+2yKvGLD9kCxEgKcTeRh9AW/xPTLGsacrGKQCY+M76DfyLKxCZDiDY9xkBIKchxsMsn7FqZvRMMyJBHbqa3AKQyAN73NCSuFF5f1qDjARU/xqJFhOaKoR64c78oqh1GqOqEFbfNQIRw6WeFCGyW6v6p10uLdR7KXnR7+wub9aG992MpIBk0+gru74yO/WcA0vLdDEQIBwc+M0lmLB53ylsPtde3nliaC5ROHR1IS4LO8Q+3o0BHMr0my0bqFwwCAvZVXOFBHxXyUgrrmUTnZYVSQXNV6+MALBmmRU5yOzhhyHoEdj9YHZeyPpZkYc6DkJWCRYbFfmczNIs133KB9rlfug40w/hHa8pXyRyLaKQUMIUYEvt3Y4AQ== \ No newline at end of file diff --git a/gate-hk4e/cmd/static/region_enc_key_2.pem b/gate-hk4e/cmd/static/region_enc_key_2.pem new file mode 100644 index 00000000..ea2a4b3a --- /dev/null +++ b/gate-hk4e/cmd/static/region_enc_key_2.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAz/fyfozlDIDWG9e3Lb29+7j3c66wvUJBaBWP10rB9HTE6prj +fcGMqC9imr6zAdD9q+Gr1j7egvqgi3Da+VBAMFH92/5wD5PsD7dX8Z2f4o65Vk2n +VOY8Dl75Z/uRhg0Euwnfrved69z9LG6utmlyv6YUPAflXh/JFw7Dq6c4EGeR+Kej +FTwmVhEdzPGHjXhFmsVt9HdXRYSf4NxHPzOwj8tiSaOQA0jC4E4mM7rvGSH5GX6h +ma+7pJnl/5+rEVM0mSQvm0m1XefmuFy040bEZ/6O7ZenOGBsvvwuG3TT4FNDNzW8 +Dw9ExH1l6NoRGaVkDdtrl/nFu5+a09Pm/E0ElwIDAQABAoIBAQCtH17Cck+KJQYX +j29xqG4qykNUDawbILiKCMkBE7553Wq/UcjmuuR4bVnML8ucS3mgR/BgHV3l8vUK +nxvqRx/oGZkWNazbiuwL+ThAblLWqrEmYuZVCoQcAnvkT8tIqDWz7fhDEuZnnkMz +ZcATIZzgZUSa5IfP3u3rP+MrVbyaCdzJEeI0Yrv1XT+M5ddkKQrYgqC5kRiYi/Lj +NcLJhqSVt8p37CdJx1PGHFjKKb4MZpANlNRgeTtWpGVfS0PJLzaiI1NyPSJv7xWZ +gVhbK9+wQxqSG6KmZ4vpEvRI1zKiov5BsAFN+GfuD5mpn1Xo9CpzTfj/sO13VpHH ++Mt80+yBAoGBAPYXVEcXug5zqkqXup4dp1S05saz1zWPhUhQm+CrbhgeTqpjngJJ +EB79qMrGmyki0P/cGtbTcrHf8+i7gDlIGW0OMb4/jn4f5ACVD00iyvkHSGPn0Aim +MoNOMbkGot7SkSnncwxXdawwDyTu2dofXuBr72+GYqgRAG52IuA0C0pRAoGBANhX +p/UyW/htB27frKch/rTKQKm12kBV20AkkRUQUibiiQyWueWKs+5bVaW5R5oDIhWx +qftJtnEFWUvWaTHpHsB/bpjS3CJ6WknqNbpa3QIScpV1uw8V+Etz/K2/ftjyZzFo +nqc+Jud5364xFdIlOsRj9gZnK83Wcui6EFxAer5nAoGBAJzTzzSjLUHqejqhKR98 +nFeCFZPJpjuO5AxqunvaJAYgwlcZtueT8j8dvgTDvrvfYTu85CnFhNFQfFrzqspW +ZUW3hwHL9R3xatboJ2Er7Bf5iSuJ3my0pXpCSbO1Q/QmUrZWtl3GGsqJsg0CXjkA +RvFUN7ll9ddPRmwewykIYa2RAoGAcmKuWFNfE1O6WWIELH4p6LcDR3fyRI/gk+KB +nyx48zxVkAVllrsmdYFvIGd9Ny4u6F9+a3HG960HULS1/ACxFMCL3lumrsgYUvp1 +m+mM7xqH4QRVeh14oZRa5hbY36YS76nMMMsI0Ny8aqJjUjADCXF81FfabkPTj79J +BS3GeEMCgYAXmFIT079QokHjJrWz/UaoEUbrNkXB/8vKiA4ZGSzMtl3jUPQdXrVf +e0ofeKiqCQs4f4S0dYEjCv7/OIijV5L24mj/Z1Q4q++S5OksKLPPAd3gX4AYbRcg +PS4rUKl1oDk/eYN0CNYC/DYV9sAv65lX8b35HYhvXISVYtwwQu/+Yg== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/region_enc_key_3.pem b/gate-hk4e/cmd/static/region_enc_key_3.pem new file mode 100644 index 00000000..85dbee81 --- /dev/null +++ b/gate-hk4e/cmd/static/region_enc_key_3.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA02M1I1V/YvxANOvLFX8R7D8At40IlT7HDWpAW3t+tAgQ7sqj +CeYOxiXqOaaw2kJhM3HT5nZll48UmykVq45Q05J57nhdSsGXLJshtLcTg9liMEoW +61BjVZi9EPPRSnE05tBJc57iqZw+aEcaSU0awfzBc8IkRd6+pJ5iIgEVfuTluani +zhHWvRli3EkAF4VNhaTfP3EkYfr4NE899aUeScbbdLFI6u1XQudlJCPTxaISx5Zc +wM+nP3v242ABcjgUcfCbz0AY547WazK4bWP3qicyxo4MoLOoe9WBq6EuG4CuZQrz +Knq8ltSxud/6chdg8Mqp/IasEQ2TpvY78tEXDQIDAQABAoIBAQC4uPsYk4AsSe75 +0Au6Dz7kSfIgdDhJ44AisvTmfLauMFZLtfxfjBDhCwTxuD7XnCZAxHm97Ty+AqSp +Km/raQQsvtWalMhBqYanzjDYMRv2niJ1vGjm3WrQxBaEF+yOtvrZsK5fQTslqInI +qknIQH7fgjazJ7Z28D18sYNj37qfFWSSymgFo+SoS/BKEr200lpRA/oaGXiHcyIO +jJidP6b7UGes7uhMXUvLrfozmCsSqslxXO5Uk5XN/fWl4LxCGX7mpNfPZIT5YBSj +HliFkNlxIjyJg8ORLGi82M2cuyxp39r93F6uaCjLtb+rdwlGur7npgXUkKfWQJf9 +WE7uar6BAoGBAPXIuIuYFFUhqNz5CKU014jZu6Ql0z5ZA08V84cTJcfLIK4e2rqC +8DFTldA0FtVfOGt0V08H/x2pRChGOvUwGG5nn9Dqqh6BjByUrW4z2hnXzT3ZuSDh +6eapiCB1jl9meJ0snhF2Ps/hqWGL2b3SkCCe90qVTzOVOeLO6YUCIOq9AoGBANws +fQkAq/0xw8neRGNTrnXimvbS+VXPIF38widljubNN7DY5cIFTQJrnTBWKbuz/t9a +J8QX6TFL0ci/9vhPJoThfL12vL2kWGYgWkWRPmqaBW3yz7Hs5rt+xuH3/7A5w5vm +kEg1NZJgnsJ0rMUTu1Q6PM5CBg6OpyHY4ThBb8qRAoGAML8ciuMgtTm1yg3CPzHZ +xZSZeJbf7K+uzlKmOBX+GkAZPS91ZiRuCvpu7hpGpQ77m6Q5ZL1LRdC6adpz+wkM +72ix87d3AhHjfg+mzgKOsS1x0WCLLRBhWZQqIXXvRNCH/3RH7WKsVoKFG4mnJ9TJ +LQ8aMLqoOKzSDD/JZM3lRWkCgYA8hn5Y2zZshCGufMuQApETFxhCgfzI+geLztAQ +xHpkOEX296kxjQN+htbPUuBmGTUXcVE9NtWEF7Oz3BGocRnFrbb83odEGsmySXKH +bUYbR/v2Ham638UOBevmcqZ3a2m6kcdYEkiH1MfP7QMRqjr1DI1qpfvERLLtOxGu +xU5WAQKBgQCaVavyY6Slj3ZRQ7iKk9fHkge/bFl+zhANxRfWVOYMC8mD2gHDsq9C +IdCp1Mg0tJpWLaGgyDM1kgChZYsff4jRxHC4czvAtoPSlxWXF2nL31qJ3vk2Zzzc +a4GSHAInodXBrKstav5SIKosWKT2YysxgHlA9Sm2f4n09GjFbslEHg== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/region_enc_key_4.pem b/gate-hk4e/cmd/static/region_enc_key_4.pem new file mode 100644 index 00000000..314f0f83 --- /dev/null +++ b/gate-hk4e/cmd/static/region_enc_key_4.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAyaxqjPJP5+Innfv5IdfQqY/ftS++lnDRe3EczNkIjESWXhHS +OljEw9b9C+/BtF+fO9QZL7Z742y06eIdvsMPQKdGflB26+9OZ8AF4SpXDn3aVWGr +8+9qpB7BELRZI/Ph2FlFL4cobCzMHunncW8zTfMId48+fgHkAzCjRl5rC6XT0Yge +6+eKpXmF+hr0vGYWiTzqPzTABl44WZo3rw0yurZTzkrmRE4kR2VzkjY/rBnQAbFK +KFUKsUozjCXvSag4l461wDkhmmyivpNkK5cAxuDbsmC39iqagMt9438fajLVvYOv +pVs9ci5tiLcbBtfB4Rf/QVAkqtTm86Z0O3e7DwIDAQABAoIBAQCyma226vTW35LE +N5zXWuAg+hhcxk6bvofWMUMXKvGF/0vHPTMXlvuSkDeDNa4vBivneRthBNPMgb3q +DuTWxrogQMOOI8ZdhY3DFexfDvcQD2anDJuSqSmg9Nd36q+yxk3xIoXB5Ilo23dd +vTnJXHhsBNovv7zRLO134cAHFqDoKzt5EEHre0skUcn6HjHOek6c53jvpKr5LSrr +iwx5gMuY/7ZSIUDo9WGY70qbQFGY6bOlX9x8uNjcFF+7SztEVQ+vhJ/+7EvwqaJr +ysweo0l91TKM9WaMuwoucKeceVWuynEw6GGTw8UTLtltekLGe6bS8YxY8fVwnKkT +RwJYwAJRAoGBAP2rhcfOA+1Ja37hUHKebfp9rHsex4+pGyt3Kdu7WdqOn4sexmya +BuiHQcUchPDVla/ruQZ20+8LHgzBDo0m8sY7gpf715UV9NSVIRD0wu26SKRklOFz +J4HBOwU9hBGLSnRUJzyvVlt5O7E9hAv61SCrvWBEcow2YnKNQLwvjMVJAoGBAMuG +oSb3A/ulqtp2zpxVAclYe/bSItZZTOUWP6Vb4hOiHxIJ0n1H9ap6grOYkJ/Yn4gg +yYzKm/noF1wXP7Rj/xOahnvMkzhGdmOabvE9LH5HwQTWxBBWTkZzgBbYtbg+J5MT +cKqJaychSRjJj+xX+d90rtlSu/c27chlSRKAHXWXAoGAFTcIHDq9l1XBmL3tRXi8 +h+uExlM/q2MgM5VmucrEbAPrke4D+Ec1drMBLCQDdkTWnPzg34qGlQJgA/8NYX61 +ZSDK/j0AvaY1cKX8OvfNaaZftuf2j5ha4H4xmnGXnwQAORRkp62eUk4kUOFtLrdO +pcnXL7rpvZI6z4vCszpi0okCgYEAp3lZEl8g/+oK9UneKfYpSi1tlGTGFevVwozU +QpWhKta1CnraogycsnOtKWvZVi9C1xljwF7YioPY9QaMfTvroY3+K9DjM+OHd96U +fB4Chsc0pW60V10te/t+403f+oPqvLO6ehop+kEBjUwPCkQ6cQ3q8xmJYpvofoYZ +4wdZNnECgYBwG8Vrv7Z+kX9Zuh1FvcRoY57bYLU0cWW92SA3Nvi8pZOIEaLHrQyZ +pvvaLIicR1m9+KsOAmii7ru0zL7KsrGW+5migQsaDi4gzahKQpad/R7MLKi/L53r +Ymo0aZKARLHW82GbomQ0zxdRoo9vaqfGNpXkxyyt3k3GGDunmrskYw== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/region_enc_key_5.pem b/gate-hk4e/cmd/static/region_enc_key_5.pem new file mode 100644 index 00000000..f1636adb --- /dev/null +++ b/gate-hk4e/cmd/static/region_enc_key_5.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAsJbFp3WcsiojjdQtVnTuvtawL2m4XxK93F6lCnFwcZqUP39t +xFGGlrogHMqreyawIUN7E5shtwGzigzjW8Ly5CryBJpXP3ehNTqJS7emb+9LlC19 +Oxa1eQuUQnatgcsd16DPH7kJ5JzN3vXnhvUyk4Qficdmm0uk7FRaNYFi7EJs4xyq +FTrp3rDZ0dzBHumlIeK1om7FNt6Nyivgp+UybO7kl0NLFEeSlV4S+7ofitWQsO5x +YqKAzSzz+KIRQcxJidGBlZ1JN/g5DPDpx/ztvOWYUlM7TYk6xN3focZpU0kBzAw/ +rn94yW9z8jpXfzk+MvWzVL/HAcPy4ySwkay0NwIDAQABAoIBADzKWpawbVYEHaM4 +lLb7oCjAPXzE9zx7djLDvisfLCdfoINPedkoe52ty1o+BtRpWB7LXTY9pFic1FLE +5wvyy6zyf8hH3ZsysqNhWFxhh4FnLmx/UGokAir+anaK5mYVJ1vQtxzjlV1HAbQs +kRyrklKoHDdRFqiFXOwiib97oDNWhD+RxfyGwwJnynZZSXdLbLSiz/QHQNr/+Ufk +KRBaxt0CfU7mOLZxoy6fNAxHdBcBJPHCyh+aDvEbix7nSncSU8Ju/48YJ8DrglbZ +sXCYoA5Uz8NMDuaEMgoNWCFQVoEcRkEUoaH7BlWd3UUFRPnDZ1B4BmkrVoRE8a58 +3OqSwakCgYEA19wQUISXtpnmCrEZfbyZ6IwOy8ZCVaVUtbTjVa8UyfNglzzJG3yz +cXU3X35v5/HNCHaXbG2qcbQLThnHBA+obW3RDo+Q49V84Zh1fUNH0ONHHuC09kB/ +/gHqzn/4nLf1aJ2O0NrMyrZNsZ0ZKUKQuVCqWjBOmTNUitcc8RpXZ8sCgYEA0W09 +POM/It7RoVGI+cfbbgSRmzFo9kzSp5lP7iZ81bnvUMabu2nv3OeGc3Pmdh1ZJFRw +6iDM6VVbG0uz8g+f8+JT32XdqM7MJAmgfcYfTVBMiVnh330WNkeRrGWqQzB2f2Wr ++0vJjU8CAAcOWDh0oNguJ1l1TSyKxqdL8FsA38UCgYEAudt1AJ7psgOYmqQZ+rUl +H6FYLAQsoWmVIk75XpE9KRUwmYdw8QXRy2LNpp9K4z7C9wKFJorWMsh+42Q2gzyo +HHBtjEf4zPLIb8XBg3UmpKjMV73Kkiy/B4nHDr4I5YdO+iCPEy0RH4kQJFnLjEcQ +LT9TLgxh4G7d4B2PgdjYYTkCgYEArdgiV2LETCvulBzcuYufqOn9/He9i4cl7p4j +bathQQFBmSnkqGQ+Cn/eagQxsKaYEsJNoOxtbNu/7x6eVzeFLawYt38Vy0UuzFN5 +eC54WXNotTN5fk2VnKU4VYVnGrMmCobZhpbYzoZhQKiazby/g60wUtW9u7xXzqOd +M/428YkCgYBwbEOx1RboH8H+fP1CAiF+cqtq4Jrz9IRWPOgcDpt2Usk1rDweWrZx +bTRlwIaVc5csIEE2X02fut/TTXr1MoXHa6s2cQrnZYq44488NsO4TAC26hqs/x/H +bVOcX13gT26SYngAHHeh7xjWJr/KgIIwvcvgvoVs6lu7a8aLUvrOag== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/region_sign_key.pem b/gate-hk4e/cmd/static/region_sign_key.pem new file mode 100644 index 00000000..7019dc7f --- /dev/null +++ b/gate-hk4e/cmd/static/region_sign_key.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEAxbbx2m1feHyrQ7jP+8mtDF/pyYLrJWKWAdEv3wZrOtjOZzeL +GPzsmkcgncgoRhX4dT+1itSMR9j9m0/OwsH2UoF6U32LxCOQWQD1AMgIZjAkJeJv +FTrtn8fMQ1701CkbaLTVIjRMlTw8kNXvNA/A9UatoiDmi4TFG6mrxTKZpIcTInvP +EpkK2A7Qsp1E4skFK8jmysy7uRhMaYHtPTsBvxP0zn3lhKB3W+HTqpneewXWHjCD +fL7Nbby91jbz5EKPZXWLuhXIvR1Cu4tiruorwXJxmXaP1HQZonytECNU/UOzP6GN +Ldq0eFDE4b04Wjp396551G99YiFP2nqHVJ5OMQIDAQABAoIBAQDEeYZhjyq+avUu +eSuFhOaIU4/ZhlXycsOqzpwJvzEz61tBSvrZPA5LSb9pzAvpic+7hDH94jX89+8d +NfO7qlADsVNEQJBxuv2o1MCjpCRkmBZz506IBGU60Kt1j5kwdCEergTW1q375z4w +l8f7LmSL2U6WvKcdojTVxohBkIUJ7shtmmukDi2YnMfe6T/2JuXDDL8rvIcnfr5E +MCgPQs+xLeLEGrIJdpUy1iIYZYrzvrpJwf9EJL3D0e7jkpbvAQZ8EF9YhEizJhOm +dzTqW4PgW2yUaHYd3q5QjiILy7AC+oOYoTZln3RfjPOxl+bYjeMOWlqkgtpPQkAE +4I64w8RZAoGBAPLR44pEkmTdfIIF8ZtzBiVfDZ29bT96J0CWXGVzp8x6bSu5J5jl +s7sP8DEcjGZ6vHsLGOvkcNxzcnR3l/5HOz6TIuvVuUm36b1jHltq1xZStjGeKZs1 +ihhJSu2lIA+TrK8FCRnKARJ0ughXGNZFItgeM230Sgjp2RL4ISXJ724XAoGBANBy +S2RwNpUYvkCSZHSFnQM/jq1jldxw+0p4jAGpWLilEaA/8xWUnZrnCrPFF/t9llpb +dTR/dCI8ntIMAy2dH4IUHyYKUahyHSzCAUNKpS0s433kn5hy9tGvn7jyuOJ4dk9F +o1PIZM7qfzmkdCBbX3NF2TGpzOvbYGJHHC3ssVr3AoGBANHJDopN9iDYzpJTaktA +VEYDWnM2zmUyNylw/sDT7FwYRaup2xEZG2/5NC5qGM8NKTww+UYMZom/4FnJXXLd +vcyxOFGCpAORtoreUMLwioWJzkkN+apT1kxnPioVKJ7smhvYAOXcBZMZcAR2o0m0 +D4eiiBJuJWyQBPCDmbfZQFffAoGBAKpcr4ewOrwS0/O8cgPV7CTqfjbyDFp1sLwF +2A/Hk66dotFBUvBRXZpruJCCxn4R/59r3lgAzy7oMrnjfXl7UHQk8+xIRMMSOQwK +p7OSv3szk96hy1pyo41vJ3CmWDsoTzGs7bcdMl72wvKemRaU92ckMEZpzAT8cEMC +cWKLb8yzAoGAMibG8IyHSo7CJz82+7UHm98jNOlg6s73CEjp0W/+FL45Ka7MF/lp +xtR3eSmxltvwvjQoti3V4Qboqtc2IPCt+EtapTM7Wo41wlLCWCNx4u25pZPH/c8g +1yQ+OvH+xOYG+SeO98Phw/8d3IRfR83aqisQHv5upo2Rozzo0Kh3OsE= +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/gate-hk4e/cmd/static/secretKey.bin b/gate-hk4e/cmd/static/secretKey.bin new file mode 100644 index 00000000..0ff2db51 Binary files /dev/null and b/gate-hk4e/cmd/static/secretKey.bin differ diff --git a/gate-hk4e/cmd/static/secretKeyBuffer.bin b/gate-hk4e/cmd/static/secretKeyBuffer.bin new file mode 100644 index 00000000..d767aa91 --- /dev/null +++ b/gate-hk4e/cmd/static/secretKeyBuffer.bin @@ -0,0 +1 @@ +lt1L ܟ.\pXP"ƀ(a \ No newline at end of file diff --git a/gate-hk4e/cmd/static/security_file b/gate-hk4e/cmd/static/security_file new file mode 100644 index 00000000..cc00cda9 --- /dev/null +++ b/gate-hk4e/cmd/static/security_file @@ -0,0 +1 @@ +OPrCJaJsJJJXI3$DQNduVQuB5s5jgf47mmABUJFZoKJUt5YcIt0wPCBcCCpuQ4dQz19rae5FeHYRpmb8WsjkIeEpAQi3uJlIgObMsL$Fmv1kPav7dDPBWKJuyFEOa2KpN1EGvWlJOqufR64SDYhIocM3HLT5VsLo$Bde3c2jsVPwygAGGcZU1rZCTaOo$2blfEMdpviC75gNDZzdGjAiOBahjs$!9fZKtNF2iI4UnGSE2aNXlIz9To8L9fSeA9mhJ2F0qTKa8UjxHiSurW0bSzloUUN83sT9UFBNz$c2IVIP!asMffifiTVmlb0MJ6jYUB!rMSR77SVmdNDlMRz1VnjR9xEENS1DnqUQSYq2JJAQJIZL6j4ABF!Dm5NisAf58vaRhY4Uz6zXEf$IZExmbToDsb49X6ATh7zZExCeddR8iDBFpdOAiveE0bO8pOgo!zYmt0$5sN8aJpDK10XbXkm21$Lvppj8gAV9SjUjT5j9luqok!PkTQS59zG1I$JSDzs1jkoaNTiO2LL0rJSHaTX2EMI4KUiMp1Tgpqsy$lSv89CVFg5AzODZX8TA5ne4lHT0aazfxQa354RHYRGe5OllgcuZVn88gWjmD3nUHtzhCpK0siGWqPvOlPX!OYUaJIFwaSy7v!K5Q2nX8qCjGAHeu1$hs0cdmn69r1pws0APbZ7BNm018poX7YxjiOBRV0tEKRcJbkKxad$t5dJIO9eJhKvk0l9xz8KjOF9u2NHhy5yQrHZWenJYDAIrmheIz2Q!vO7EePv2U6ACm5OJS8dDyWBMkFNuSoW4zv3RTIfdKw$!hd2bmSFQFic6jFNPeag53tpBPCiy3lNgIT0hgytmV9CBwZl!S$GzYOxv0buJ2P2Vvfah!bg4$nfAHKoHer4zTcYN4w3eSIBAOCKJW7uJ5Sk1uOcxVwBklzbN6l7m3Yhcyw44y76P7q$zeK4NuEpaK7izZTqVhhXL1piyu5A$lqWlkxCDbq0H3haa79hX0npzRphBlt7syl3UM2MNJS7ZgYYk76kNZSO!ZRaBz19phzewChIaE2Seub1h0U3JJI7PH1a5Ej6ozVaFUCSGvULtLeQeq!drnnvnqCfK4UZmbNYrHUPBMif2ttgHygUxSRQpMHx$tstSzESKn6XuQo4k!Fuiq5Du1ClQtPE$fgyYuzl4SDkw0RJYBY5dl227vyhKQzyxrSQQUQsKy08xM2LRZUymBp$oDiWBF4ZJv8iE5fDMuwbTRSfPX45uBKiDYSYcOXukcDeYYXturEpUD4VaC0RYF5KVBos1kTT2sQFq$cbkN9jiwmhBC7Yea6LEw64GOq67dlf$yvJmw5L8Sxb!Yd2u$PX2cQh4d19LpvkLTaqhofHmYP9agwBwxLQ4z4z93gkPmgKdGir40bV$nbDNcve6juK4Ct6R$Xid6nkdWM$9RWvQE7m7S7Rf5X8dWEHn86g6cLfi4saH5jOi1abRRYlBixuz3yiRQy!IOOvoH0RVqpamMy03xqGUscyuxjrTYhT1AMBmDaj$l9qgIMN3sS5EONMxMEFXvTo1!3vNCRhuahOt5bsN7WyLpiQiKb76onr8!j9l1QDwNm74OIXSQ2T1OgQeppxh3B5vkx4c8$t8$GfBCq4Q!dDZWu!PNdbRk2sWgGnD$OVXHJgvQZPkJPdQJSm7p85tlx3sh7vCDVBauxtbHz$iXqS5HIj8PX!ZmG20iYl5$H$ZA1e$nYfeD$rafvfJDYmKH9sgLPtP2N5LqNI6SIzrihs7U0ST7iTDzJrw9tMGLFrmtEZ!G8mlzMRBLUsTMFyTa5!r043dtVxSsNdcor2xkUhvJVjjnfuyNNmbd5GoxUxhoyqb0Xx5RuwGFevo!PEZ$FHiNjLzds0LXH20$6QXhWa2k9e4VOO6Far4iutjtXFf!qMQCpeBH2TcpGbbjjziBj$pKzCYhbLnUYL8lBN6sP381fn8MgT2M4WKAXm!N83VRULxtxx7spdeQKvM5Fx6CcMThAZXDOtcoqXMWXOaXt9sY6xSsnbq4ZvrPi8s4v17p95iCpNoJY2KZP4qiWgfcxir1iOYmWIU9$DCSb3jmJz6QzCVCdvy3XKLjropmAce89vi9U4W9v7abEwdKD1!4zdUBMlhRSLo3AX4uLpdDbc7!icy$tdFrrPhBV6VvZDoYXwYbCD91z6I$thUPyk50ct9MVx$dXRXEW8rpdVavkcuae1wOLgC36naRV$P3ciba8qoqFQqewxnhBdUi9rz33lo86lS6K6PPtOD!00D0SY9m48yyjUgqF9uYFq9tAXMoZZ6LruqS5WcVHcVEw6LocLJvyWZwy!8zKFtA5whK08PbAnz2BCTnM$$YPwssO!!$l5v1qz61VXerSg6V0$$eA1JyiZRF$0ErSFtwM51gnD7qXnlIMQ8krXmuUcWdbrvTKUOsY!6t8MfYvlPZDsJz$WaJDCT2TLHqjJRlGvr7CiBncg5S1!5hS6eQAhDw3fcw3ghO5fcIeDT!doP1E0W!MPbqSzWrrGXdYbtcfj5iqShrnDkizgD3E7q8zbBMa9kL3NaCBt2UP!jOULCeTIC3LxrSmhKCgHnhrsuyPaJg6e4jGr0n1Xj1K2gKybs4AIAOyAfEPqZEt$6WSrtp$3O \ No newline at end of file diff --git a/gate-hk4e/cmd/static/server.crt b/gate-hk4e/cmd/static/server.crt new file mode 100644 index 00000000..7ff94003 --- /dev/null +++ b/gate-hk4e/cmd/static/server.crt @@ -0,0 +1,24 @@ +-----BEGIN CERTIFICATE----- +MIID8zCCAtugAwIBAgIUYL/dZNSITnL3uvCDT62CVzoHeKMwDQYJKoZIhvcNAQEL +BQAwgYgxCzAJBgNVBAYTAkNOMREwDwYDVQQIDAhTaGFuZ2hhaTERMA8GA1UEBwwI +U2hhbmdoYWkxDzANBgNVBAoMBmZsc3dsZDEPMA0GA1UECwwGZmxzd2xkMQ8wDQYD +VQQDDAZmbHN3bGQxIDAeBgkqhkiG9w0BCQEWEWZsc3dsZEBmbHN3bGQuY29tMB4X +DTIyMDQyNjE3MjYwN1oXDTMyMDQyMzE3MjYwN1owgYgxCzAJBgNVBAYTAkNOMREw +DwYDVQQIDAhTaGFuZ2hhaTERMA8GA1UEBwwIU2hhbmdoYWkxDzANBgNVBAoMBmZs +c3dsZDEPMA0GA1UECwwGZmxzd2xkMQ8wDQYDVQQDDAZmbHN3bGQxIDAeBgkqhkiG +9w0BCQEWEWZsc3dsZEBmbHN3bGQuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEAp4bjl/JavfVApTELsgNhGxwlXY+Z4SoVz8a+KVogdZf0fdMt62ob +YMwg7mg9r5dUmfvfvHhtFjCjviR+sKkS6Dgfc+xwS2ap4DWNwk/7kpmDr/QYTqb9 +XO8kUAQ+zPxU0rfPE8KbdCvTlTh4opCMWde8C3BvWExNcKBgb132pHlZNwJTDs7G +laa1T9aSoDz+I9qb91acKnWsDm9NumQ86L1pJgZ+DylzBkVAwTHbMgURLM6hGGmW +RHaYKOnHb/s91YxgO1pN56IL6M2tZQuydt8pMC1Tt3z8yZR2nqAPVvF3j0U1Xh2+ +X9iKL9zAsCXgw+nQt/s9QWFP70Pr95hQ8wIDAQABo1MwUTAdBgNVHQ4EFgQU0HwJ +oRLZWEVg9itEpy1VI04MefkwHwYDVR0jBBgwFoAU0HwJoRLZWEVg9itEpy1VI04M +efkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAK2vphvnVGONT +GBdb8khlPGVf+2caAy5+LrgxX77wQy4aRO//e8r040awzkhN4C8eC2ozGLifzTKy +zxNKWNp163c4v2i0PGx4gdAS7yfLMklUndntiV/uPdk4jZ7Vr4eTciN+Sf0FdUUR +K7tpq0HNHrI6q+29B8Eq1ClkBYAmJqnHllu1EmpNReXkPOOaadpv2pjoJDmIWumI +wCKs4uGZburgX9jBsFHuyRDYOkG+1OGL4zKZClMuEFNodOa3zm4WrBPzWM3WOBZ9 +uHLCXkRnce192OopnaytxEEoxuKCQ3lQZzrcuoz1wRfczTBh2pUU4YR1L6oBNuG+ +oC9MpDAcmw== +-----END CERTIFICATE----- diff --git a/gate-hk4e/cmd/static/server.key b/gate-hk4e/cmd/static/server.key new file mode 100644 index 00000000..7da9b006 --- /dev/null +++ b/gate-hk4e/cmd/static/server.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEAp4bjl/JavfVApTELsgNhGxwlXY+Z4SoVz8a+KVogdZf0fdMt +62obYMwg7mg9r5dUmfvfvHhtFjCjviR+sKkS6Dgfc+xwS2ap4DWNwk/7kpmDr/QY +Tqb9XO8kUAQ+zPxU0rfPE8KbdCvTlTh4opCMWde8C3BvWExNcKBgb132pHlZNwJT +Ds7Glaa1T9aSoDz+I9qb91acKnWsDm9NumQ86L1pJgZ+DylzBkVAwTHbMgURLM6h +GGmWRHaYKOnHb/s91YxgO1pN56IL6M2tZQuydt8pMC1Tt3z8yZR2nqAPVvF3j0U1 +Xh2+X9iKL9zAsCXgw+nQt/s9QWFP70Pr95hQ8wIDAQABAoIBAD7rNHOO/HG3uO3R ++9iB2Gi8K3R2SI7+pW6B8E3LocFIrvTK6cYu9dVnFT81O2XFamri5Gb+u8nHvtfd +EQ/8kDNTUMzTEmHfTxH8Sx+dtpiau5DMFo0Dvsi2sGa1EXkflCQIEOgVARmilDbJ +HNXBgFUF54RMWCVLkxInydBJ9CZVKUVgN5xmUTnLOEINbcn3V8d2aLwSYjECW5Gm +22QzrA05dKvmc6Io776Sc2fNDnJHTkHMrxH+kQ+c2jnHLWvdMb3aCJh/4JDAF/Iq +CZ6EsXBBYJ7C3ZRMata3LEgGU44L2oOZpUcd+RNldcvaBN8T86hxiyHddC9DC+AE ++svJIgECgYEA3H2EBQeVDjJ6PGE/elHJwRyWWtb9xxd7hbJkDfqw+SMEX2pYKnf5 +tftXKbPY+U09Sm78Mbdac7W+O7IfD1e00/EDIcjdmq4S2CMGNtQ4GQxfxsFzg2LH +ujtVtx/xuvCNQbgNOEXl+/127AQpSDkhPxD2Tm1WoH72UXS82Ydq9HMCgYEAwoHF +ucrscqPRsg9AVb0UbecbJjRjQD+BudGmOkm0d/QCsjANRJYpSoQ9jP39uqYWlh4f +JAe+H89UWdDTVtFWL14+//nLNqPeCAu70RYt+xajvGAWUCRYaZvECBQW5stzHnHv +p2LG6TSyRbs10vBHxSkxgDe1Ng5+7jjJe09KkYECgYASu5c71ikTy7YW6yw5eDlr +7sHXdeyZvaUA9ucJSQNAJ3l3odFbylWs4G3HXUBR7f4HFObYUnuc2RQQflGlPA5g +81kQxcAOJDv1oQQmJGGfvy1j9Yua3gmaCPB/XndrKoTV0I1O+qFPh3lTFAdt22y3 +rvk+MIvrlt3WjdR9psOvgQKBgGOvhtq1uYD3nJ0ZW+uVQEcjTrLB3qwq4B2P6RWu +eKORl2AjaGliXD8ojzMXaVajkKfXQDaDEVnUNHLjp6yzFOyp7LfcGd4jFcQh31xF +dcNd0wTUahsgxX86qblKMoKOeq17z0uGQFN9AnDiha9aHi5Z8li4NFNEEqGc0QY1 +mQ4BAoGALmY+k+sL3jdjZ7XwJTuCfPka/UQP32osWzZMCvalts5I73Osyr9+o3sC +gptDMTOmUIh6xxY2pshM6i6etKgyDA7r9utUe+w6pvMIrDG1uZva/2oj0jzQrRq5 +X9F3C/MJVMcVSI6Uk+rvBb8QtltKovbN/JX+nlKrIp2FDNuj8zg= +-----END RSA PRIVATE KEY----- diff --git a/gate-hk4e/cmd/static/sprite2x.1.2.6.png b/gate-hk4e/cmd/static/sprite2x.1.2.6.png new file mode 100644 index 00000000..1cab49b0 Binary files /dev/null and b/gate-hk4e/cmd/static/sprite2x.1.2.6.png differ diff --git a/gate-hk4e/controller/auto_patch_controller.go b/gate-hk4e/controller/auto_patch_controller.go new file mode 100644 index 00000000..565eacd9 --- /dev/null +++ b/gate-hk4e/controller/auto_patch_controller.go @@ -0,0 +1,38 @@ +package controller + +import ( + "flswld.com/logger" + "github.com/gin-gonic/gin" + "io/ioutil" + "net/http" +) + +func (c *Controller) headDataVersions(context *gin.Context) { + context.Header("Content-Type", "application/octet-stream") + context.Header("Content-Length", "514") + context.Status(http.StatusOK) +} + +func (c *Controller) getDataVersions(context *gin.Context) { + dataVersions, err := ioutil.ReadFile("static/data_versions") + if err != nil { + logger.LOG.Error("open data_versions error") + return + } + context.Data(http.StatusOK, "application/octet-stream", dataVersions) +} + +func (c *Controller) headBlk(context *gin.Context) { + context.Header("Content-Type", "application/octet-stream") + context.Header("Content-Length", "14103") + context.Status(http.StatusOK) +} + +func (c *Controller) getBlk(context *gin.Context) { + blk, err := ioutil.ReadFile("static/29342328.blk") + if err != nil { + logger.LOG.Error("open 29342328.blk error") + return + } + context.Data(http.StatusOK, "application/octet-stream", blk) +} diff --git a/gate-hk4e/controller/controller.go b/gate-hk4e/controller/controller.go new file mode 100644 index 00000000..4b844f65 --- /dev/null +++ b/gate-hk4e/controller/controller.go @@ -0,0 +1,147 @@ +package controller + +import ( + "encoding/base64" + "flswld.com/common/config" + "flswld.com/light" + "flswld.com/logger" + "gate-hk4e/dao" + "gate-hk4e/region" + "github.com/gin-gonic/gin" + pb "google.golang.org/protobuf/proto" + "net/http" + "strconv" +) + +type Controller struct { + dao *dao.Dao + rpcUserConsumer *light.Consumer + regionListBase64 string + regionCurrBase64 string + signRsaKey []byte + encRsaKeyMap map[string][]byte + pwdRsaKey []byte +} + +func NewController(dao *dao.Dao, rpcUserConsumer *light.Consumer) (r *Controller) { + r = new(Controller) + r.dao = dao + r.rpcUserConsumer = rpcUserConsumer + r.regionListBase64 = "" + r.regionCurrBase64 = "" + regionCurr, regionList := region.InitRegion(config.CONF.Hk4e.KcpAddr, config.CONF.Hk4e.KcpPort) + r.signRsaKey, r.encRsaKeyMap, r.pwdRsaKey = region.LoadRsaKey() + regionCurrModify, err := pb.Marshal(regionCurr) + if err != nil { + logger.LOG.Error("Marshal QueryCurrRegionHttpRsp error") + return nil + } + r.regionCurrBase64 = base64.StdEncoding.EncodeToString(regionCurrModify) + regionListModify, err := pb.Marshal(regionList) + if err != nil { + logger.LOG.Error("Marshal QueryRegionListHttpRsp error") + return nil + } + r.regionListBase64 = base64.StdEncoding.EncodeToString(regionListModify) + r.runEngine() + return r +} + +func (c *Controller) runEngine() { + if config.CONF.Logger.Level == "DEBUG" { + gin.SetMode(gin.DebugMode) + } else { + gin.SetMode(gin.ReleaseMode) + } + go func() { + engine := c.registerRouter() + port := config.CONF.HttpPort + addr := ":" + strconv.FormatInt(int64(port), 10) + err := engine.Run(addr) + if err != nil { + logger.LOG.Error("gin run error: %v", err) + } + }() +} + +func (c *Controller) registerRouter() *gin.Engine { + engine := gin.Default() + { + // 404 + engine.NoRoute(func(context *gin.Context) { + logger.LOG.Info("no route find, fallback to fuck mhy, url: %v", context.Request.RequestURI) + context.Header("Content-type", "text/html; charset=UTF-8") + context.Status(http.StatusNotFound) + _, _ = context.Writer.WriteString("FUCK MHY") + }) + } + { + // 调度 + // dispatchosglobal.yuanshen.com + engine.GET("/query_security_file", c.query_security_file) + engine.GET("/query_region_list", c.query_region_list) + // osusadispatch.yuanshen.com + engine.GET("/query_cur_region", c.query_cur_region) + } + { + // 登录 + // hk4e-sdk-os.hoyoverse.com + // 账号登录 + engine.POST("/hk4e_global/mdk/shield/api/login", c.apiLogin) + // token登录 + engine.POST("/hk4e_global/mdk/shield/api/verify", c.apiVerify) + // 获取combo token + engine.POST("/hk4e_global/combo/granter/login/v2/login", c.v2Login) + } + { + // BLK文件补丁下载 + // autopatchhk.yuanshen.com + engine.HEAD("/client_design_data/2.6_live/output_6988297_84eeb1c18b/client_silence/General/AssetBundles/data_versions", c.headDataVersions) + engine.GET("/client_design_data/2.6_live/output_6988297_84eeb1c18b/client_silence/General/AssetBundles/data_versions", c.getDataVersions) + engine.HEAD("/client_design_data/2.6_live/output_6988297_84eeb1c18b/client_silence/General/AssetBundles/blocks/00/29342328.blk", c.headBlk) + engine.GET("/client_design_data/2.6_live/output_6988297_84eeb1c18b/client_silence/General/AssetBundles/blocks/00/29342328.blk", c.getBlk) + } + { + // 日志 + engine.POST("/sdk/dataUpload", c.sdkDataUpload) + engine.GET("/perf/config/verify", c.perfConfigVerify) + engine.POST("/perf/dataUpload", c.perfDataUpload) + engine.POST("/log", c.log8888) + engine.POST("/crash/dataUpload", c.crashDataUpload) + } + { + // 返回固定数据 + // Windows + engine.GET("/hk4e_global/mdk/agreement/api/getAgreementInfos", c.getAgreementInfos) + engine.POST("/hk4e_global/combo/granter/api/compareProtocolVersion", c.postCompareProtocolVersion) + engine.POST("/account/risky/api/check", c.check) + engine.GET("/combo/box/api/config/sdk/combo", c.combo) + engine.GET("/hk4e_global/combo/granter/api/getConfig", c.getConfig) + engine.GET("/hk4e_global/mdk/shield/api/loadConfig", c.loadConfig) + engine.POST("/data_abtest_api/config/experiment/list", c.list) + engine.GET("/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json", c.version10Json) + engine.GET("/admin/mi18n/plat_oversea/m2020030410/m2020030410-zh-cn.json", c.zhCN10Json) + engine.GET("/geetestV2.html", c.geetestV2) + // Android + engine.POST("/common/h5log/log/batch", c.batch) + engine.GET("/hk4e_global/combo/granter/api/getFont", c.getFont) + engine.GET("/admin/mi18n/plat_oversea/m202003049/m202003049-version.json", c.version9Json) + engine.GET("/admin/mi18n/plat_oversea/m202003049/m202003049-zh-cn.json", c.zhCN9Json) + engine.GET("/hk4e_global/combo/granter/api/compareProtocolVersion", c.getCompareProtocolVersion) + // Android geetest + engine.GET("/gettype.php", c.gettype) + engine.GET("/get.php", c.get) + engine.POST("/ajax.php", c.ajax) + engine.GET("/ajax.php", c.ajax) + engine.GET("/static/appweb/app3-index.html", c.app3Index) + engine.GET("/static/js/slide.7.8.6.js", c.slideJs) + engine.GET("/favicon.ico", c.faviconIco) + engine.GET("/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js", c.js) + engine.GET("/static/ant/style_https.1.2.6.css", c.css) + engine.GET("/pictures/gt/a330cf996/a330cf996.webp", c.webp) + engine.GET("/pictures/gt/a330cf996/bg/86f9db021.webp", c.bgWebp) + engine.GET("/pictures/gt/a330cf996/slice/86f9db021.png", c.slicePng) + engine.GET("/static/ant/sprite2x.1.2.6.png", c.sprite2xPng) + } + return engine +} diff --git a/gate-hk4e/controller/dispatch_controller.go b/gate-hk4e/controller/dispatch_controller.go new file mode 100644 index 00000000..0016b940 --- /dev/null +++ b/gate-hk4e/controller/dispatch_controller.go @@ -0,0 +1,144 @@ +package controller + +import ( + "bytes" + "encoding/base64" + "flswld.com/common/utils/endec" + "flswld.com/logger" + "gate-hk4e/entity/api" + "github.com/gin-gonic/gin" + "io/ioutil" + "math" + "net/http" + "regexp" + "strconv" +) + +func (c *Controller) query_security_file(context *gin.Context) { + file, err := ioutil.ReadFile("static/security_file") + if err != nil { + logger.LOG.Error("open security_file error") + return + } + context.Header("Content-type", "text/html; charset=UTF-8") + _, _ = context.Writer.WriteString(string(file)) +} + +func (c *Controller) query_region_list(context *gin.Context) { + context.Header("Content-type", "text/html; charset=UTF-8") + _, _ = context.Writer.WriteString(c.regionListBase64) +} + +func (c *Controller) query_cur_region(context *gin.Context) { + versionName := context.Query("version") + response := "CAESGE5vdCBGb3VuZCB2ZXJzaW9uIGNvbmZpZw==" + if len(context.Request.URL.RawQuery) > 0 { + response = c.regionCurrBase64 + } + reg, err := regexp.Compile("[0-9]+") + if err != nil { + logger.LOG.Error("compile regexp error: %v", err) + return + } + versionSlice := reg.FindAllString(versionName, -1) + version := 0 + for index := 0; index < len(versionSlice); index++ { + v, err := strconv.Atoi(versionSlice[index]) + if err != nil { + logger.LOG.Error("parse client version error: %v", err) + return + } + for i := 0; i < len(versionSlice)-1-index; i++ { + v *= 10 + } + version += v + } + if version >= 1000 { + // 测试版本 + version /= 10 + } + if version >= 275 { + logger.LOG.Debug("do hk4e 2.8 rsa logic") + if context.Query("dispatchSeed") == "" { + rsp := &api.QueryCurRegionRspJson{ + Content: response, + Sign: "TW9yZSBsb3ZlIGZvciBVQSBQYXRjaCBwbGF5ZXJz", + } + context.JSON(http.StatusOK, rsp) + return + } + keyId := context.Query("key_id") + encPubPrivKey, exist := c.encRsaKeyMap[keyId] + if !exist { + logger.LOG.Error("can not found key id: %v", keyId) + return + } + regionInfo, err := base64.StdEncoding.DecodeString(response) + if err != nil { + logger.LOG.Error("decode region info error: %v", err) + return + } + chunkSize := 256 - 11 + regionInfoLength := len(regionInfo) + numChunks := int(math.Ceil(float64(regionInfoLength) / float64(chunkSize))) + encryptedRegionInfo := make([]byte, 0) + for i := 0; i < numChunks; i++ { + from := i * chunkSize + to := int(math.Min(float64((i+1)*chunkSize), float64(regionInfoLength))) + chunk := regionInfo[from:to] + pubKey, err := endec.RsaParsePubKeyByPrivKey(encPubPrivKey) + if err != nil { + logger.LOG.Error("parse rsa pub key error: %v", err) + return + } + privKey, err := endec.RsaParsePrivKey(encPubPrivKey) + if err != nil { + logger.LOG.Error("parse rsa priv key error: %v", err) + return + } + encrypt, err := endec.RsaEncrypt(chunk, pubKey) + if err != nil { + logger.LOG.Error("rsa enc error: %v", err) + return + } + decrypt, err := endec.RsaDecrypt(encrypt, privKey) + if err != nil { + logger.LOG.Error("rsa dec error: %v", err) + return + } + if bytes.Compare(decrypt, chunk) != 0 { + logger.LOG.Error("rsa dec test fail") + return + } + encryptedRegionInfo = append(encryptedRegionInfo, encrypt...) + } + signPrivkey, err := endec.RsaParsePrivKey(c.signRsaKey) + if err != nil { + logger.LOG.Error("parse rsa priv key error: %v", err) + return + } + signData, err := endec.RsaSign(regionInfo, signPrivkey) + if err != nil { + logger.LOG.Error("rsa sign error: %v", err) + return + } + ok, err := endec.RsaVerify(regionInfo, signData, &signPrivkey.PublicKey) + if err != nil { + logger.LOG.Error("rsa verify error: %v", err) + return + } + if !ok { + logger.LOG.Error("rsa verify test fail") + return + } + rsp := &api.QueryCurRegionRspJson{ + Content: base64.StdEncoding.EncodeToString(encryptedRegionInfo), + Sign: base64.StdEncoding.EncodeToString(signData), + } + context.JSON(http.StatusOK, rsp) + return + } else { + context.Header("Content-type", "text/html; charset=UTF-8") + _, _ = context.Writer.WriteString(response) + } +} diff --git a/gate-hk4e/controller/fixed_controller.go b/gate-hk4e/controller/fixed_controller.go new file mode 100644 index 00000000..f5e9c053 --- /dev/null +++ b/gate-hk4e/controller/fixed_controller.go @@ -0,0 +1,233 @@ +package controller + +import ( + "flswld.com/logger" + "github.com/gin-gonic/gin" + "io/ioutil" + "net/http" + "strings" +) + +// 返回固定数据 + +// GET https://hk4e-sdk-os.hoyoverse.com/hk4e_global/mdk/agreement/api/getAgreementInfos?biz_key=hk4e_global&country_code=CN&token=ZXN2RfKSVOLRBMsqQeHaSwL7gQYfUp1d&uid=222546880 HTTP/1.1 +func (c *Controller) getAgreementInfos(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"marketing_agreements\":[]}}") +} + +// POST https://hk4e-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/compareProtocolVersion? HTTP/1.1 +func (c *Controller) postCompareProtocolVersion(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"modified\":true,\"protocol\":{\"id\":0,\"app_id\":4,\"language\":\"zh-cn\",\"user_proto\":\"\",\"priv_proto\":\"\",\"major\":6,\"minimum\":1,\"create_time\":\"0\",\"teenager_proto\":\"\",\"third_proto\":\"\"}}}") +} + +// POST https://api-account-os.hoyoverse.com/account/risky/api/check? HTTP/1.1 +// POST https://api-account-os.hoyoverse.com/account/risky/api/check HTTP/1.1 +func (c *Controller) check(context *gin.Context) { + context.Header("Content-type", "application/json") + if strings.Contains(context.Request.RequestURI, "?") { + // Windows + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":\"c8820f246a5241ab9973f71df3ddd791\",\"action\":\"\",\"geetest\":{\"challenge\":\"\",\"gt\":\"\",\"new_captcha\":0,\"success\":1}}}") + } else { + // Android + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":\"2b35f1421d4a4c7c9183184c6190027e\",\"action\":\"ACTION_GEETEST\",\"geetest\":{\"challenge\":\"616018607b6940f52fbd349004038686\",\"gt\":\"16bddce04c7385dbb7282778c29bba3e\",\"new_captcha\":1,\"success\":1}}}") + } +} + +// GET https://sdk-os-static.hoyoverse.com/combo/box/api/config/sdk/combo?biz_key=hk4e_global&client_type=3 HTTP/1.1 +// GET https://sdk-os-static.hoyoverse.com/combo/box/api/config/sdk/combo?biz_key=hk4e_global&client_type=2 HTTP/1.1 +func (c *Controller) combo(context *gin.Context) { + context.Header("Content-type", "application/json") + clientType := context.Query("client_type") + if clientType == "3" { + // Windows + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"vals\":{\"email_bind_remind\":\"true\",\"disable_email_bind_skip\":\"false\",\"email_bind_remind_interval\":\"7\"}}}") + } else if clientType == "2" { + // Android + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"vals\":{\"email_bind_remind_interval\":\"7\",\"report_black_list\":\"{\\\"key\\\":[\\\"download_update_progress\\\"]}\",\"enable_bind_google_sdk_order\":\"false\",\"disable_email_bind_skip\":\"false\",\"email_bind_remind\":\"true\"}}}") + } +} + +// GET https://hk4e-sdk-os-static.hoyoverse.com/hk4e_global/combo/granter/api/getConfig?app_id=4&channel_id=1&client_type=3 HTTP/1.1 +// GET https://hk4e-sdk-os-static.hoyoverse.com/hk4e_global/combo/granter/api/getConfig?app_id=4&channel_id=1&client_type=2 HTTP/1.1 +func (c *Controller) getConfig(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"protocol\":true,\"qr_enabled\":false,\"log_level\":\"INFO\",\"announce_url\":\"https://webstatic-sea.hoyoverse.com/hk4e/announcement/index.html?sdk_presentation_style=fullscreen\\u0026sdk_screen_transparent=true\\u0026game_biz=hk4e_global\\u0026auth_appid=announcement\\u0026game=hk4e#/\",\"push_alias_type\":2,\"disable_ysdk_guard\":false,\"enable_announce_pic_popup\":true}}") +} + +// GET https://hk4e-sdk-os-static.hoyoverse.com/hk4e_global/mdk/shield/api/loadConfig?client=3&game_key=hk4e_global HTTP/1.1 +// GET https://hk4e-sdk-os-static.hoyoverse.com/hk4e_global/mdk/shield/api/loadConfig?client=2&game_key=hk4e_global HTTP/1.1 +func (c *Controller) loadConfig(context *gin.Context) { + context.Header("Content-type", "application/json") + client := context.Query("client") + if client == "3" { + // Windows + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":6,\"game_key\":\"hk4e_global\",\"client\":\"PC\",\"identity\":\"I_IDENTITY\",\"guest\":false,\"ignore_versions\":\"\",\"scene\":\"S_NORMAL\",\"name\":\"原神海外\",\"disable_regist\":false,\"enable_email_captcha\":false,\"thirdparty\":[\"fb\",\"tw\"],\"disable_mmt\":false,\"server_guest\":false,\"thirdparty_ignore\":{\"fb\":\"\",\"tw\":\"\"},\"enable_ps_bind_account\":false,\"thirdparty_login_configs\":{\"tw\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800},\"fb\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800}}}}") + } else if client == "2" { + // Android + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":5,\"game_key\":\"hk4e_global\",\"client\":\"Android\",\"identity\":\"I_IDENTITY\",\"guest\":false,\"ignore_versions\":\"\",\"scene\":\"S_NORMAL\",\"name\":\"原神海外\",\"disable_regist\":false,\"enable_email_captcha\":false,\"thirdparty\":[\"gl\",\"fb\",\"tw\"],\"disable_mmt\":false,\"server_guest\":false,\"thirdparty_ignore\":{\"tw\":\"\",\"fb\":\"\",\"gl\":\"\"},\"enable_ps_bind_account\":false,\"thirdparty_login_configs\":{\"tw\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800},\"fb\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800},\"gl\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800}}}}") + } +} + +// POST https://abtest-api-data-sg.hoyoverse.com/data_abtest_api/config/experiment/list HTTP/1.1 +func (c *Controller) list(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"success\":true,\"message\":\"\",\"data\":[{\"code\":1000,\"type\":2,\"config_id\":\"14\",\"period_id\":\"6036_99\",\"version\":\"1\",\"configs\":{\"cardType\":\"old\"}}]}") +} + +// GET https://webstatic-sea.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-version.json HTTP/1.1 +func (c *Controller) version10Json(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"version\":65}") +} + +// GET https://webstatic-sea.hoyoverse.com/admin/mi18n/plat_oversea/m2020030410/m2020030410-zh-cn.json HTTP/1.1 +func (c *Controller) zhCN10Json(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"accept\":\"接受\",\"account_deactive\":\"当前账号为注销中状态\",\"account_empty\":\"请输入手机号/邮箱\",\"account_login\":\"账号密码登录\",\"agree\":\"同意\",\"another_account\":\"登录其他账号\",\"back\":\"返回\",\"bind\":\"绑定\",\"bind_email\":\"绑定邮箱账号\",\"bind_email_oversea\":\"绑定邮箱\",\"bind_email_success\":\"绑定邮箱成功\",\"bind_request\":\"绑定中...\",\"cancel\":\"取消\",\"cancel_pay\":\"取消支付\",\"captcha_empty\":\"请输入短信验证码\",\"captcha_mail_empty\":\"请输入邮箱验证码\",\"captcha_success\":\"获取验证码成功,请注意查收。\",\"change_password_success\":\"修改密码成功\",\"check_network\":\"请检查网络超时络状态或刷新重试\",\"combo_download_downloading\":\"下载中…\",\"combo_download_failed_title\":\"下载失败\",\"combo_download_finish_content\":\"下载完成\",\"combo_download_pause\":\"暂停\",\"combo_download_speed\":\"下载速度%s,剩余时间%s\",\"combo_download_title\":\"下载完成\",\"combo_ensure_login\":\"确认登录\",\"combo_ensure_login_tips\":\"即将登录%s桌面版,请确认是本人操作\",\"combo_expired_qrcode\":\"过期的二维码\",\"combo_go_setting\":\"开启相机\",\"combo_invalid_qrcode\":\"无效的二维码\",\"combo_login_first\":\"请先登录\",\"combo_notice_auth_key_failed\":\"公告加载失败\",\"combo_platform_cancel\":\"取消\",\"combo_platform_ensure\":\"确认\",\"combo_platform_ensure_exit\":\"确认退出游戏\",\"combo_platform_ensure_logout\":\"确认登出账号\",\"combo_qrcode_failed\":\"登录失败,请稍后重试\",\"combo_qrcode_notice_permission\":\"请在设置-应用中,开启当前游戏的相机权限。\",\"combo_qrcode_notice_scan\":\"把二维码放入框内,即可自动扫描\",\"combo_qrcode_success\":\"登录成功\",\"combo_qrcode_title\":\"扫一扫\",\"combo_re_login\":\"请重新登录\",\"confirm_order\":\"确认订单中...\",\"continue_login\":\"继续登录\",\"continue_pay\":\"继续支付\",\"createOrder_failed\":\"创建订单失败\",\"currency\":\"¥\",\"delete_account_notice\":\"是否删除该账号的登录记录(不删除账号数据)\",\"delete_ensure\":\"确认删除\",\"determine_reactivate_account_or_not\":\"是否重新激活账号并登录\",\"email_empty\":\"请输入邮箱\",\"email_exist\":\"邮箱已存在,是否直接登录?\",\"email_register_tips\":\"邮箱未注册,是否前往注册?\",\"ensure\":\"确定\",\"ensure_back\":\"确认返回\",\"ensure_email\":\"确认注册的邮箱账号:\\\\n%s\",\"enter_game\":\"进入游戏\",\"epic_login_status_error\":\"登录失效,请重新启动游戏\",\"existing_account\":\"绑定已有账号\",\"exit\":\"退出\",\"fast_game\":\"快速游戏\",\"fatigue_reminder_tip\":\"%s,您连续玩游戏的时长已达%s小时,请注意休息\",\"forget_pwd\":\"忘记密码\",\"go_login\":\"前往登录\",\"go_pay\":\"确认支付\",\"go_register\":\"前往注册\",\"google_pc_finish_oauth\":\"我已授权\",\"google_pc_go_to_oauth\":\"前往 Google Play\",\"google_pc_http_server_error\":\"授权失败,请重试(请求出错)\",\"google_pc_oauth_back_tips\":\"进入游戏前需要在 Google Play 登录并授权,是否退出?\",\"google_pc_oauth_failed\":\"授权失败\",\"google_pc_oauth_message\":\"为保障您的游戏体验,进入游戏前需要在 Google Play 登录并勾选全部权限。\",\"google_pc_oauth_title\":\"登录\",\"google_pc_pay_cancle\":\"未支付\",\"google_pc_pay_finish\":\"已支付\",\"google_pc_pay_no_order_find\":\"暂时无法获悉付款结果,如果您已付款成功,稍后可以查看发货状态。\",\"google_pc_pay_result_tips\":\"请确认支付结果\",\"google_pc_permission_miss\":\"Google Play 权限不完整,请点击\\\"重新前往 Google Play\\\"登录并勾选全部权限\",\"google_pc_redo_oauth\":\"重新前往 Google Play\",\"google_pc_user_no_action\":\"请在 Google Play 登录并授权\",\"google_pc_web_operation_message\":\"已在浏览器打开 Google Play,若已授权成功请点击 “我已授权”。\",\"google_pc_web_operation_title\":\"请在浏览器登录\",\"guest_account\":\"游客用户\",\"guest_bind_email\":\"您正在绑定的邮箱账号:%s\",\"guest_bind_failed\":\"您的当前账号不是游客或者您还未登录\",\"guest_bind_phone_notice\":\"为保障数据安全,请绑定一个账号\",\"guest_bind_tips\":\"为保障数据安全,请绑定一个账号\",\"guest_login\":\"快速登录\",\"guest_login_request\":\"游客登录中...\",\"guest_login_tips\":\"游客用户,欢迎进入游戏\",\"guest_pay_error\":\"游客禁止支付\",\"http_time_out\":\"网络超时,请稍候再试\",\"http_unknow_host\":\"网络错误\",\"if_cancel_pay\":\"是否取消支付\",\"init_first\":\"请先初始化\",\"input_account\":\"输入手机号/邮箱\",\"input_code_number\":\"输入短信验证码\",\"input_email\":\"输入邮箱账号\",\"input_get_code\":\"获取验证码\",\"input_mail_capture\":\"输入邮箱验证码\",\"input_mail_code\":\"输入邮箱验证码\",\"input_mi_email\":\"输入邮箱\",\"input_password\":\"输入密码\",\"input_password_ensure\":\"再次输入密码\",\"input_phone_number\":\"输入手机号注册/登录\",\"input_phone_number_bind\":\"输入手机号\",\"input_re_get_code\":\"重新获取\",\"install_wechat_first\":\"请先安装微信\",\"invaild_captcha\":\"请输入正确的短信验证码\",\"invaild_mail_captcha\":\"请输入正确的邮箱验证码\",\"invaild_name\":\"请输入正确的姓名\",\"invaild_password\":\"请输入正确的密码\",\"invaild_phone\":\"请输入正确的手机号码\",\"invaild_realname\":\"请输入正确的身份证号\",\"joypad_close\":\"关闭\",\"joypad_detail\":\"前往\",\"last_login_day_number\":\"上次登录 %s天前\",\"last_login_hour_number\":\"上次登录 %s小时前\",\"last_login_just_now\":\"上次登录 刚刚\",\"last_login_minute_number\":\"上次登录 %s分钟前\",\"last_login_month_number\":\"上次登录 6个月前\",\"last_login_time\":\"上次登录 %s\",\"login\":\"登录\",\"login_again\":\"请重新登录\",\"login_bind_mobile\":\"登录游戏前请先绑定手机\",\"login_bind_mobile_verify_mail\":\"本次登录需要绑定手机,绑定前需要完成邮箱验证\",\"login_bind_safe_notice\":\"登录游戏前请先绑定安全手机\",\"login_failed\":\"登录失败\",\"login_first\":\"请先登录\",\"login_request\":\"登录中...\",\"login_verify_by_bind\":\"验证绑定手机\",\"login_verify_by_bind_phone\":\"验证绑定手机:%s\",\"login_verify_by_safety\":\"验证安全手机\",\"login_verify_by_safety_phone\":\"验证安全手机:%s\",\"login_verify_notice\":\"登录新设备需要完成安全验证。\",\"meet_problem\":\"遇到问题\",\"name_empty\":\"请输入姓名\",\"network_json_error\":\"系统错误,请稍后再试\",\"network_time_out\":\"网络超时,请稍候再试\",\"next\":\"下一步\",\"no_account\":\"没有账号?\",\"no_captcha\":\"请先获取验证码\",\"no_more_interruptions_today\":\"今日不再提示\",\"other_device_know\":\"知道了\",\"other_device_login_day_number\":\"%s天 前登录\",\"other_device_login_device_info\":\"登录设备信息:\",\"other_device_login_hour_number\":\"%s小时 前登录\",\"other_device_login_minute_number\":\"%s分钟 前登录\",\"other_device_login_month_number\":\"%s个月 前登录\",\"other_device_suggest\":\"若非本人操作,建议绑定邮箱\",\"other_device_title\":\"你的账号曾在其他设备登录\",\"other_way_verification\":\"其他验证方式\",\"oversea_guardian\":\"접속하신 아이디는 만 14세 미만 법정대리인 동의가 필요한 아이디로써 관련 규정에 따라 법정대리인의 동의가 필요합니다. \\\\n관련 정보를 입력하고 인증해 주세요\",\"oversea_input_account\":\"输入邮箱/用户名\",\"oversea_pay\":\"支付\",\"oversea_pay_adyen_error\":\"支付页面异常,请重新支付\",\"oversea_pay_button\":\"去支付\",\"oversea_pay_card_payment\":\"信用卡\",\"oversea_pay_error\":\"加载失败\",\"oversea_pay_error_btn\":\"重新加载\",\"oversea_pay_error_tips\":\"请稍后再试\",\"oversea_pay_operator\":\"选择支付方式\",\"oversea_pay_product_name\":\"商品\",\"oversea_pay_success\":\"支付成功\",\"oversea_pay_success_btn\":\"返回游戏\",\"oversea_pay_success_tips\":\"请在游戏内查看商品\",\"oversea_pay_type\":\"选择支付类型\",\"oversea_realname\":\"관련 규정에 따라 실명인증을 완료해 주세요\\\\n궁금하신 점이 있을 경우 고객센터로 문의하세요\",\"password_empty\":\"请输入密码\",\"pay\":\"支付\",\"pay_aid_uid_mismatch_tips\":\"您的账号登录态已失效,请重新登录。\",\"pay_ali\":\"支付宝\",\"pay_back_game\":\"返回游戏%s\",\"pay_bind_notice\":\"游客用户支付前需绑定一个账号\",\"pay_choose_new_way\":\"您未完成付款,选择以下方式继续充值\",\"pay_failed\":\"支付失败,请稍后再试\",\"pay_failed_notice\":\"支付失败,请重新支付\",\"pay_huabei\":\"花呗\",\"pay_limit_amount_tips\":\"今日消费已超过%s元,是否继续支付?\",\"pay_loading_notice\":\"如已充值成功,请稍后留意到账情况\",\"pay_loading_time\":\"(%s)\",\"pay_success\":\"支付成功\",\"pay_success_notice\":\"已成功购买商品:%s\",\"pay_time_out\":\"支付超时\",\"pay_turn\":\"跳转支付\",\"pay_wechat\":\"微信支付\",\"phone_empty\":\"请输入手机号\",\"phone_login\":\"手机快捷登录\",\"phone_message_request\":\"验证中...\",\"phone_message_request_fail\":\"验证码获取失败,请重试\",\"phone_register_tips\":\"手机号未注册,是否前往注册?\",\"phone_registered\":\"手机号已注册,输入验证码直接登录\",\"privacy\":\"隐私政策\",\"product_name\":\"商品\",\"ps4_agree\":\"同意\",\"ps4_back\":\"拒绝\",\"ps4_open_privacy_police\":\"查看隐私政策\",\"ps4_open_user_protocal\":\"查看用户协议\",\"ps4_user_protocal_content\":\"旅行者你好,为了良好的游戏体验,我们会将你的 \\\"PlayStation Network\\\"的账号 与我们的服务器进行安全绑定。 你可以随时通过官网或联系客服来取消绑定关系并清除你的账号信息。\",\"ps4_user_protocal_tips\":\"请阅读用户协议与隐私政策,同意后继续游戏。\",\"ps4_user_protocal_title\":\"欢迎加入原神\",\"ps_bind_content\":\"若希望在其他平台登录该账号,或继承其他平台的游戏数据,请绑定米哈游通行证。\",\"ps_bind_email\":\"绑定米哈游邮箱账号\",\"ps_bind_phone\":\"绑定米哈游手机账号\",\"ps_bind_title\":\"准备开始冒险\",\"ps_skip\":\"跳过此步\",\"re_login\":\"请重新登录\",\"re_read\":\"重新阅读\",\"re_register\":\"重新输入\",\"reactivate_accoun_notice_cn\":\"当前账号正在\\\"注销确认期\\\"中\\\\n是否重新激活账号并登录?\\\\n请注意,重新激活后注销流程将取消。\\\\n※注销确认期为自提交注销起3天内。\",\"reactivate_accoun_notice_os\":\"当前账号正在\\\"注销确认期\\\"中\\\\n是否重新激活账号并登录?\\\\n请注意,重新激活后注销流程将取消。\\\\n※注销确认期为自提交注销起30天内。\",\"reactivate_account\":\"重新激活账号\",\"read_user_agreement_first\":\"请先阅读并同意协议\",\"real_name_request\":\"绑定实名信息中...\",\"real_people_agree\":\"已同意%s%s%s\",\"real_people_agreement\":\"《用户协议》\",\"real_people_anti_addiction_pc_tip\":\"您将受到游戏时长限制,在移动端登录可通过人脸识别验证取消限制。\",\"real_people_anti_addiction_rule_click\":\"点击查看时长限制规则\",\"real_people_anti_addiction_tip\":\"您将受到游戏时长限制,下次登录可通过人脸识别验证取消限制。\",\"real_people_back_tip\":\"确认返回则无法登录游戏,请继续验证。\",\"real_people_continue_verify\":\"继续认证\",\"real_people_message\":\"为确认实名认证的有效性,请在进入游戏前完成人脸识别验证,否则你的游戏时长将受到限制\",\"real_people_minor_privacy\":\"《儿童隐私政策》\",\"real_people_modify\":\"修改\",\"real_people_not_verify\":\"暂不验证\",\"real_people_pc_tip\":\"PC端暂不支持人脸识别验证,请在移动端登录完成验证。\",\"real_people_real_name_full_name\":\"姓 名:\",\"real_people_real_name_identity_card\":\"身份证:\",\"real_people_real_name_info_tip\":\"当前账号的实名信息\",\"real_people_request_camera_tip\":\"为了正常使用人脸识别验证功能,需要获取您的相机权限。\",\"real_people_search_result\":\"查询验证结果...\",\"real_people_service_agreement\":\"《人脸识别服务协议》\",\"real_people_setting_camera_tip\":\"请在设置-应用中开启相机权限,以正常使用人脸识别验证功能。\",\"real_people_start_verify\":\"开始验证\",\"real_people_title\":\"人脸识别验证\",\"real_people_verify_cancel\":\"取消验证\",\"real_people_verify_fail\":\"验证失败\",\"real_people_verify_success\":\"验证成功\",\"real_people_wait_search_result\":\"请耐心等待查询结果。\",\"realname_account\":\"身份证姓名\",\"realname_account_notice\":\"姓\\\\u3000名\",\"realname_button_finish\":\"完成绑定\",\"realname_close_notice\":\"进入游戏前需要绑定实名信息,否则将返回账号%s页面,请继续绑定。\",\"realname_continue\":\"继续绑定\",\"realname_empty\":\"请输入身份证号\",\"realname_failed\":\"绑定实名信息失败,请稍后重试\",\"realname_notice\":\"根据《关于防止未成年人沉迷网络游戏的通知》,游戏用户需使用有效身份证件进行实名认证\",\"realname_number\":\"身份证号码\",\"realname_number_notice\":\"身份证\",\"realname_pay_close_notice\":\"支付前需要绑定实名信息,是否确认取消。\",\"realname_success\":\"绑定实名信息成功\",\"refresh\":\"刷新\",\"refuse\":\"拒绝\",\"registe_by_taptap\":\"使用TapTap注册新账号\",\"register_bind\":\"注册并绑定\",\"register_email\":\"注册邮箱账号\",\"register_login\":\"注册并登录\",\"register_new_account\":\"注册新账号\",\"register_now\":\"立即注册\",\"register_phone\":\"注册手机账号\",\"register_request\":\"注册中...\",\"second_real_name_hint\":\"账号存在风险,请填写本人的有效身份信息\",\"second_real_name_verify_hint\":\"为了保障您的信息安全,请先完成安全验证\",\"send_mail_success\":\"验证邮件已发送至:%s,请注意查收。\",\"sign_in_with\":\"登录方式\",\"status_code_429\":\"当前网络繁忙,请稍候再试\",\"status_code_4xx\":\"当前网络繁忙,请稍候再试\",\"status_code_5xx\":\"服务器繁忙,请稍候再试\",\"suggest_bind_email\":\"为了提高您的账号安全,建议绑定邮箱\",\"suggest_device_grant\":\"登录新设备需要完成安全验证\",\"suggest_verify_phone\":\"为了提高您的账号安全,建议绑定邮箱\\n请先完成安全验证\",\"taptap_bind\":\"绑定米哈游账号\",\"taptap_bind_confirm\":\"绑定\",\"taptap_bind_tips\":\"若您之前注册过米哈游账号,推荐您进行账号绑定,绑定后可使用TapTap登录原账号。\",\"taptap_tips_phone_bind\":\"进入游戏前请先绑定手机\",\"taptap_tips_phone_bind_repeated\":\"当前手机已绑定TapTap账号,请换一个手机号。\",\"tips_bind_account\":\"为保障你的数据安全,请尽快绑定一个账号,以免因刷机等原因导致数据丢失。\",\"tips_bind_success\":\"当前角色已绑定:%s\",\"tips_enter_game\":\"%s,欢迎进入游戏\",\"tips_exprience_full\":\"亲爱的游客玩家,游客账号最多体验米哈游n款游戏。\\n推荐您注册/登录一个账号体验游戏。\",\"tips_mail_capture\":\"验证邮件会发至:%s\",\"tips_ok\":\"好的\",\"tips_prefix_verify_email\":\"验证绑定邮箱:\",\"tips_prefix_verify_mobile\":\"验证绑定手机:\",\"title_realname\":\"实名信息\",\"token_invalid\":\"登录已失效,请重新登录\",\"twitter_login\":\"Twitter\",\"update_notice\":\"用户协议或隐私政策已更新\",\"user_agreement\":\"用户协议\",\"user_agreement_agree_tips\":\"请详细阅读并勾选同意用户协议和隐私政策\",\"user_agreement_all_agree\":\"全部同意以下协议\",\"user_agreement_content\":\"请仔细阅读用户协议及隐私政策,点击同意后方可使用本产品。当您点击同意,即表示您已理解并同意条款内容,该条款会对您产生法律约束力。\",\"user_agreement_link_click_desc\":\"点击下方链接阅读协议全文:\",\"user_agreement_marketing_content\":\"请仔细阅读后,理解并勾选后点击接受按钮\",\"user_agreement_marketing_update_title\":\"营销协议更新提示\",\"user_agreement_notice\":\"已同意%s和%s\",\"user_agreement_notice_content\":\"感谢您使用本游戏,您使用本游戏前应当阅读并同意%s%s%s。当您点击同意并开始使用产品服务时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏\",\"user_agreement_notice_content_with_third_privacy\":\"感谢您使用本游戏,您使用本游戏前应当阅读并同意%s、%s、%s和%s。当您点击同意并开始使用产品服务时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。\",\"user_agreement_notice_minors\":\"《儿童隐私政策》\",\"user_agreement_notice_privacy\":\"《隐私政策》\",\"user_agreement_notice_third_privacy\":\"《第三方共享个人信息清单》\",\"user_agreement_notice_ua\":\"《用户协议》\",\"user_agreement_optional\":\"(可选)\",\"user_agreement_refuse_tips\":\"请阅读并同意用户协议与隐私条款后,再开始使用游戏。\",\"user_agreement_required\":\"(必选)\",\"user_agreement_title\":\"用户协议和隐私政策提示\",\"user_agreement_update_content\":\"用户协议及/或隐私政策有更新,请仔细阅读,点击同意后方可使用本产品。当您点击同意即表示您已理解并同意条款内容,该条款会对您产生法律约束力。\",\"user_agreement_update_title\":\"用户协议和隐私政策更新提示\",\"user_center\":\"用户中心\",\"username_empty\":\"请输入邮箱/用户名\",\"verify_email\":\"验证邮箱\",\"verify_finish\":\"完成验证\",\"verify_other\":\"其他方式验证\",\"verify_phone\":\"验证手机\"}") +} + +// GET https://account.hoyoverse.com/geetestV2.html HTTP/1.1 +func (c *Controller) geetestV2(context *gin.Context) { + context.Header("Content-type", "text/html") + _, _ = context.Writer.WriteString("") +} + +// Android + +// POST https://minor-api-os.hoyoverse.com/common/h5log/log/batch?topic=plat_explog_sdk_v2 HTTP/1.1 +func (c *Controller) batch(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"success\",\"data\":null}") +} + +// GET https://hk4e-sdk-os-static.hoyoverse.com/hk4e_global/combo/granter/api/getFont?app_id=4 HTTP/1.1 +func (c *Controller) getFont(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"fonts\":[]}}") +} + +// GET https://webstatic-sea.hoyoverse.com/admin/mi18n/plat_oversea/m202003049/m202003049-version.json HTTP/1.1 +func (c *Controller) version9Json(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"version\":62}") +} + +// GET https://webstatic-sea.hoyoverse.com/admin/mi18n/plat_oversea/m202003049/m202003049-zh-cn.json HTTP/1.1 +func (c *Controller) zhCN9Json(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"Google\":\"Google\",\"accept\":\"接受\",\"account_deactive\":\"当前账号为注销中状态\",\"account_empty\":\"请输入手机号/邮箱\",\"account_login\":\"账号密码登录\",\"agree\":\"同意\",\"another_account\":\"登录其他账号\",\"back\":\"返回\",\"bind\":\"绑定\",\"bind_confirm\":\"绑定\",\"bind_email\":\"绑定邮箱账号\",\"bind_email_oversea\":\"绑定邮箱\",\"bind_email_success\":\"绑定邮箱成功\",\"bind_request\":\"绑定中...\",\"bind_third_party_fail\":\"登录失败\",\"cancel\":\"取消\",\"cancel_pay\":\"取消支付\",\"captcha_empty\":\"请输入短信验证码\",\"captcha_mail_empty\":\"请输入邮箱验证码\",\"captcha_success\":\"获取验证码成功,请注意查收。\",\"change_password_success\":\"修改密码成功\",\"check_network\":\"请检查网络超时状态或刷新重试\",\"choose_file_upload_camera\":\"拍照\",\"choose_file_upload_cancel\":\"取消\",\"choose_file_upload_photos\":\"相册\",\"choose_file_upload_way\":\"添加方式\",\"combo_download_downloading\":\"下载中…\",\"combo_download_failed_title\":\"下载失败\",\"combo_download_finish_content\":\"下载完成\",\"combo_download_pause\":\"暂停\",\"combo_download_speed\":\"下载速度%s,剩余时间%s\",\"combo_download_title\":\"下载完成\",\"combo_ensure_login\":\"确认登录\",\"combo_ensure_login_tips\":\"即将登录%s桌面版,请确认是本人操作\",\"combo_expired_qrcode\":\"过期的二维码\",\"combo_go_setting\":\"开启相机\",\"combo_invalid_qrcode\":\"无效的二维码\",\"combo_login_first\":\"请先登录\",\"combo_notice_auth_key_failed\":\"公告加载失败\",\"combo_platform_cancel\":\"取消\",\"combo_platform_ensure\":\"确认\",\"combo_platform_ensure_exit\":\"确认退出游戏\",\"combo_platform_ensure_logout\":\"确认登出账号\",\"combo_qrcode_failed\":\"登录失败,请稍后重试\",\"combo_qrcode_goto_setting\":\"去设置\",\"combo_qrcode_notice_permission\":\"请在设置-应用中,开启当前游戏的相机权限。\",\"combo_qrcode_notice_scan\":\"把二维码放入框内,即可自动扫描\",\"combo_qrcode_success\":\"登录成功\",\"combo_qrcode_title\":\"扫一扫\",\"combo_re_login\":\"请重新登录\",\"confirm_order\":\"确认订单中...\",\"continue_login\":\"继续登录\",\"continue_pay\":\"继续支付\",\"createOrder_failed\":\"创建订单失败\",\"currency\":\"¥\",\"delete_account_notice\":\"是否删除该账号的登录记录(不删除账号数据)\",\"delete_ensure\":\"确认删除\",\"determine_reactivate_account_or_not\":\"是否重新激活账号并登录\",\"email_empty\":\"请输入邮箱\",\"email_exist\":\"邮箱已存在,是否直接登录?\",\"email_register_tips\":\"邮箱未注册,是否前往注册?\",\"ensure\":\"确定\",\"ensure_back\":\"确认返回\",\"ensure_email\":\"确认注册的邮箱账号:\\\\n%s\",\"enter_game\":\"进入游戏\",\"existing_account\":\"绑定已有账号\",\"exit\":\"退出\",\"facebook\":\"Facebook\",\"fast_game\":\"快速游戏\",\"fatigue_reminder_tip\":\"%s,您连续玩游戏的时长已达%s小时,请注意休息\",\"file_upload_setting_camera_tip\":\"请在设置-应用中开启相机权限,以正常使用拍照功能。\",\"file_upload_setting_cancel\":\"取消\",\"file_upload_setting_confirm\":\"去设置\",\"file_upload_setting_photos_tip\":\"请在设置-应用中开启储存空间权限,以正常使用图片上传功能。\",\"forget_pwd\":\"忘记密码\",\"go_login\":\"前往登录\",\"go_pay\":\"确认支付\",\"go_register\":\"前往注册\",\"guest\":\"游客\",\"guest_account\":\"游客用户\",\"guest_bind_account_notice\":\"为保障数据安全,请绑定一个账号\",\"guest_bind_email\":\"您正在绑定的邮箱账号:%s\",\"guest_bind_failed\":\"您的当前账号不是游客或者您还未登录\",\"guest_bind_phone_notice\":\"为保障数据安全,请绑定一个账号\",\"guest_login\":\"快速登录\",\"guest_login_request\":\"游客登录中...\",\"guest_login_tips\":\"游客用户,欢迎进入游戏\",\"guest_pay_error\":\"游客禁止支付\",\"http_time_out\":\"网络超时,请稍候再试\",\"http_unknow_host\":\"网络错误\",\"if_cancel_pay\":\"是否取消支付\",\"init_first\":\"请先初始化\",\"input_account\":\"输入手机号/邮箱\",\"input_code_number\":\"输入短信验证码\",\"input_email\":\"输入邮箱账号\",\"input_get_code\":\"获取\",\"input_mail_capture\":\"验证码\",\"input_mail_code\":\"输入邮箱验证码\",\"input_mi_email\":\"输入邮箱\",\"input_password\":\"输入密码\",\"input_password_ensure\":\"再次输入密码\",\"input_phone_number\":\"输入手机号注册/登录\",\"input_phone_number_bind\":\"输入手机号\",\"input_re_get_code\":\"重新获取\",\"install_wechat_first\":\"请先安装微信\",\"invaild_captcha\":\"请输入正确的短信验证码\",\"invaild_mail_captcha\":\"请输入正确的邮箱验证码\",\"invaild_name\":\"请输入正确的姓名\",\"invaild_password\":\"请输入正确的密码\",\"invaild_phone\":\"请输入正确的手机号码\",\"invaild_realname\":\"请输入正确的身份证号\",\"invalid_product_parmas\":\"加载失败\",\"last_login_day_number\":\"上次登录 %s天前\",\"last_login_hour_number\":\"上次登录 %s小时前\",\"last_login_just_now\":\"上次登录 刚刚\",\"last_login_minute_number\":\"上次登录 %s分钟前\",\"last_login_month_number\":\"上次登录 6个月前\",\"last_login_time\":\"上次登录 %s\",\"loading\":\"验证中...\",\"login\":\"登录\",\"login_again\":\"请重新登录\",\"login_bind_mobile\":\"登录游戏前请先绑定手机\",\"login_bind_mobile_verify_mail\":\"本次登录需要绑定手机,绑定前需要完成邮箱验证\",\"login_bind_safe_notice\":\"登录游戏前请先绑定安全手机\",\"login_cancel\":\"取消\",\"login_failed\":\"登录失败\",\"login_first\":\"请先登录\",\"login_request\":\"登录中...\",\"login_verify_by_bind\":\"验证绑定手机\",\"login_verify_by_bind_phone\":\"验证绑定手机:%s\",\"login_verify_by_safety\":\"验证安全手机\",\"login_verify_by_safety_phone\":\"验证安全手机:%s\",\"login_verify_notice\":\"登录新设备需要完成安全验证。\",\"meet_problem\":\"遇到问题\",\"more\":\"更多\",\"name_empty\":\"请输入姓名\",\"network_json_error\":\"系统错误,请稍后再试\",\"network_time_out\":\"网络超时,请稍候再试\",\"next\":\"下一步\",\"no_account\":\"没有账号?\",\"no_captcha\":\"请先获取验证码\",\"no_more_interruptions_today\":\"今日不再提示\",\"other_device_know\":\"知道了\",\"other_device_login_day_number\":\"%s天 前登录\",\"other_device_login_device_info\":\"登录设备信息:\",\"other_device_login_hour_number\":\"%s小时 前登录\",\"other_device_login_minute_number\":\"%s分钟 前登录\",\"other_device_login_month_number\":\"%s个月 前登录\",\"other_device_suggest\":\"若非本人操作,建议绑定邮箱\",\"other_device_title\":\"你的账号曾在其他设备登录\",\"other_way_verification\":\"其他验证方式\",\"oversea_guardian\":\"根据相关规定,您尚未满14周岁\\\\\\\\n请填写您监护人的信息并进行验证\",\"oversea_input_account\":\"输入邮箱/用户名\",\"oversea_pay\":\"支付\",\"oversea_pay_button\":\"去支付\",\"oversea_pay_card_payment\":\"信用卡\",\"oversea_pay_error\":\"加载失败\",\"oversea_pay_error_btn\":\"重新加载\",\"oversea_pay_error_tips\":\"请稍后再试\",\"oversea_pay_operator\":\"选择支付方式\",\"oversea_pay_product_name\":\"商品\",\"oversea_pay_success\":\"支付成功\",\"oversea_pay_success_btn\":\"返回游戏\",\"oversea_pay_success_tips\":\"请在游戏内查看商品\",\"oversea_pay_type\":\"选择支付类型\",\"oversea_realname\":\"您尚未进行实名认证\\\\\\\\n请前往进行实名认证\",\"password_empty\":\"请输入密码\",\"pay\":\"支付\",\"pay_aid_uid_mismatch_tips\":\"您的账号登录态已失效,请重新登录。\",\"pay_ali\":\"支付宝\",\"pay_back_game\":\"返回游戏%s\",\"pay_bind_notice\":\"游客用户支付前需绑定一个账号\",\"pay_choose_new_way\":\"您未完成付款,选择以下方式继续充值\",\"pay_failed\":\"支付失败,请稍后再试\",\"pay_failed_notice\":\"支付失败,请重新支付\",\"pay_huabei\":\"花呗\",\"pay_limit_amount_tips\":\"今日消费已超过%s元,是否继续支付?\",\"pay_loading_notice\":\"如已充值成功,请稍后留意到账情况\",\"pay_loading_time\":\"(%s)\",\"pay_success\":\"支付成功\",\"pay_success_notice\":\"已成功购买商品:%s\",\"pay_time_out\":\"支付超时\",\"pay_turn\":\"跳转支付\",\"pay_wechat\":\"微信支付\",\"phone_empty\":\"请输入手机号\",\"phone_login\":\"手机快捷登录\",\"phone_message_request\":\"验证中...\",\"phone_message_request_fail\":\"验证码获取失败,请重试\",\"phone_register_tips\":\"手机号未注册,是否前往注册?\",\"phone_registered\":\"手机号已注册,输入验证码直接登录\",\"privacy\":\"隐私政策\",\"product_name\":\"商品\",\"re_login\":\"请重新登录\",\"re_read\":\"重新阅读\",\"re_register\":\"重新输入\",\"reactivate_accoun_notice_cn\":\"当前账号正在\\\"注销确认期\\\"中\\\\n是否重新激活账号并登录?\\\\n请注意,重新激活后注销流程将取消。\\\\n※注销确认期为自提交注销起3天内。\",\"reactivate_accoun_notice_os\":\"当前账号正在\\\"注销确认期\\\"中\\\\n是否重新激活账号并登录?\\\\n请注意,重新激活后注销流程将取消。\\\\n※注销确认期为自提交注销起30天内。\",\"reactivate_account\":\"重新激活账号\",\"read_user_agreement_first\":\"请先阅读并同意协议\",\"real_name_request\":\"绑定实名信息中...\",\"real_people_agree\":\"已同意%s、%s和%s\",\"real_people_agreement\":\"《用户协议》\",\"real_people_anti_addiction_pc_tip\":\"您将受到游戏时长限制,在移动端登录可通过人脸识别验证取消限制。\",\"real_people_anti_addiction_rule_click\":\"点击查看时长限制规则\",\"real_people_anti_addiction_tip\":\"您将受到游戏时长限制,下次登录可通过人脸识别验证取消限制。\",\"real_people_back_tip\":\"确认返回则无法登录游戏,请继续验证。\",\"real_people_continue_verify\":\"继续认证\",\"real_people_message\":\"为确认实名认证的有效性,请在进入游戏前完成人脸识别验证,否则你的游戏时长将受到限制\",\"real_people_minor_privacy\":\"《儿童隐私政策》\",\"real_people_modify\":\"修改\",\"real_people_not_verify\":\"暂不验证\",\"real_people_pc_tip\":\"PC端暂不支持人脸识别验证,请在移动端登录完成验证。\",\"real_people_real_name_full_name\":\"姓 名:\",\"real_people_real_name_identity_card\":\"身份证:\",\"real_people_real_name_info_tip\":\"当前账号的实名信息\",\"real_people_request_camera_tip\":\"为了正常使用人脸识别验证功能,需要获取您的相机权限。\",\"real_people_search_result\":\"查询验证结果...\",\"real_people_service_agreement\":\"《人脸识别服务协议》\",\"real_people_setting_camera_tip\":\"请在设置-应用中开启相机权限,以正常使用人脸识别验证功能。\",\"real_people_start_verify\":\"开始验证\",\"real_people_title\":\"人脸识别验证\",\"real_people_verify_cancel\":\"取消验证\",\"real_people_verify_fail\":\"验证失败\",\"real_people_verify_success\":\"验证成功\",\"real_people_wait_search_result\":\"请耐心等待查询结果。\",\"realname_account\":\"身份证姓名\",\"realname_account_notice\":\"姓\\\\u3000名\",\"realname_button_finish\":\"完成绑定\",\"realname_close_notice\":\"进入游戏前需要绑定实名信息,否则会返回账号%s页面,请继续绑定。\",\"realname_continue\":\"继续绑定\",\"realname_empty\":\"请输入身份证号\",\"realname_failed\":\"绑定实名信息失败,请稍后重试\",\"realname_notice\":\"根据《关于防止未成年人沉迷网络游戏的通知》,游戏用户需使用有效身份证件进行实名认证\",\"realname_number\":\"身份证号码\",\"realname_number_notice\":\"身份证\",\"realname_pay_close_notice\":\"支付前需要绑定实名信息,是否确认取消。\",\"realname_success\":\"绑定实名信息成功\",\"refresh\":\"刷新\",\"refuse\":\"拒绝\",\"registe_by_taptap\":\"使用TapTap注册新账号\",\"register_bind\":\"注册并绑定\",\"register_email\":\"注册邮箱账号\",\"register_login\":\"注册并登录\",\"register_new_account\":\"注册新账号\",\"register_now\":\"立即注册\",\"register_phone\":\"注册手机账号\",\"register_request\":\"注册中...\",\"scan_tips_request_camera_permission\":\"为了正常使用扫码登录功能,需要获取您的相机权限。\",\"second_real_name_hint\":\"账号存在风险,请填写本人的有效身份信息\",\"second_real_name_verify_hint\":\"为了保障您的信息安全,请先完成安全验证\",\"send_mail_success\":\"验证邮件已发送至:%s,请注意查收。\",\"sign_in_with\":\"登录方式\",\"status_code_429\":\"当前网络繁忙,请稍候再试\",\"status_code_4xx\":\"当前网络繁忙,请稍候再试\",\"status_code_5xx\":\"服务器繁忙,请稍候再试\",\"suggest_bind_email\":\"为了提高您的账号安全,建议绑定邮箱\",\"suggest_device_grant\":\"登录新设备需要完成安全验证\",\"suggest_verify_phone\":\"为了提高您的账号安全,建议绑定邮箱\\n请先完成安全验证\",\"tap_tap\":\"TapTap\",\"taptap_bind\":\"绑定米哈游账号\",\"taptap_bind_confirm\":\"绑定\",\"taptap_bind_tips\":\"若您之前注册过米哈游账号,推荐您进行账号绑定,绑定后可使用TapTap登录原账号。\",\"taptap_tips_phone_bind\":\"进入游戏前请先绑定手机\",\"taptap_tips_phone_bind_repeated\":\"当前手机已绑定TapTap账号,请换一个手机号。\",\"tips_bind_account\":\"为保障你的数据安全,请尽快绑定一个账号,以免因刷机等原因导致数据丢失。\",\"tips_bind_success\":\"当前角色已绑定:%s\",\"tips_button_confirm\":\"好的\",\"tips_enter_game\":\"%s,欢迎进入游戏\",\"tips_experience_full_os\":\"亲爱的游客玩家,游客账号最多体验HoYoversen款游戏。\\\\n\\\\n推荐您注册/登录一个账号体验游戏。\",\"tips_exprience_full\":\"亲爱的游客玩家,游客账号最多体验米哈游n款游戏。\\\\n\\\\n推荐您注册/登录一个账号体验游戏。\",\"tips_exprience_full_os\":\"亲爱的游客玩家,游客账号最多体验HoYoversen款游戏。\\\\n\\\\n推荐您注册/登录一个账号体验游戏。\",\"tips_mail_capture\":\"验证邮件会发至:%s\",\"tips_ok\":\"好的\",\"tips_prefix_verify_email\":\"验证绑定邮箱:\",\"tips_prefix_verify_mobile\":\"验证绑定手机:\",\"tips_request_camera_permission\":\"为了正常使用反馈中心图片上传功能,需要获取您的相机权限。\",\"tips_request_photos_permission\":\"为了正常使用反馈中心图片上传功能,需要获取您的储存权限。\",\"tips_share_goto_setting\":\"请在设置-应用中开启储存空间权限,以正常使用图片分享功能。\",\"tips_share_permission\":\"为了正常使用图片分享功能,需要获取您的储存空间权限。\",\"title_realname\":\"实名信息\",\"token_invalid\":\"登录已失效,请重新登录\",\"twitter\":\"Twitter\",\"twitter_login\":\"Twitter\",\"update_notice\":\"用户协议或隐私政策已更新\",\"user_agreement\":\"用户协议\",\"user_agreement_agree_tips\":\"请详细阅读并勾选同意用户协议和隐私政策\",\"user_agreement_all_agree\":\"全部同意以下协议\",\"user_agreement_content\":\"请仔细阅读后理解并同意\",\"user_agreement_link_click_desc\":\"点击下方链接阅读协议全文:\",\"user_agreement_marketing_content\":\"请仔细阅读后,理解并勾选后点击接受按钮\",\"user_agreement_marketing_update_title\":\"营销协议更新提示\",\"user_agreement_notice\":\"已同意%s和%s\",\"user_agreement_notice_content\":\"感谢您使用本游戏,您使用本游戏前应当阅读并同意%s%s%s。当您点击同意并开始使用产品服务时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏\",\"user_agreement_notice_content_with_third_privacy\":\"感谢您使用本游戏,您使用本游戏前应当阅读并同意%s、%s、%s和%s。当您点击同意并开始使用产品服务时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。\",\"user_agreement_notice_minors\":\"《儿童隐私政策》\",\"user_agreement_notice_privacy\":\"《隐私政策》\",\"user_agreement_notice_third_privacy\":\"《第三方共享个人信息清单》\",\"user_agreement_notice_ua\":\"《用户协议》\",\"user_agreement_optional\":\"(可选)\",\"user_agreement_refuse_tips\":\"请阅读并同意用户协议与隐私条款后,再开始使用游戏。\",\"user_agreement_required\":\"(必选)\",\"user_agreement_title\":\"用户协议和隐私政策提示\",\"user_agreement_update_content\":\"请仔细阅读后理解并同意\",\"user_agreement_update_title\":\"用户协议和隐私政策更新提示\",\"user_center\":\"用户中心\",\"username_empty\":\"请输入邮箱/用户名\",\"verify_email\":\"验证邮箱\",\"verify_finish\":\"完成验证\",\"verify_other\":\"其他方式验证\",\"verify_phone\":\"验证手机\"}") +} + +// GET https://hk4e-sdk-os.hoyoverse.com/hk4e_global/combo/granter/api/compareProtocolVersion?app_id=4&language=zh-cn&major=6&minimum=1&channel_id=1 HTTP/1.1 +func (c *Controller) getCompareProtocolVersion(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"retcode\":0,\"message\":\"OK\",\"data\":{\"modified\":false,\"protocol\":null}}") +} + +// Android GT + +// GET https://api-na.geetest.com/gettype.php?gt=16bddce04c7385dbb7282778c29bba3e&t=1651516373584 HTTP/1.1 +func (c *Controller) gettype(context *gin.Context) { + context.Header("Content-type", "text/javascript;charset=UTF-8") + _, _ = context.Writer.WriteString("({\"status\": \"success\", \"data\": {\"type\": \"fullpage\", \"static_servers\": [\"static.geetest.com/\", \"dn-staticdown.qbox.me/\"], \"click\": \"/static/js/click.3.0.4.js\", \"pencil\": \"/static/js/pencil.1.0.3.js\", \"voice\": \"/static/js/voice.1.2.0.js\", \"fullpage\": \"/static/js/fullpage.9.0.9.js\", \"beeline\": \"/static/js/beeline.1.0.1.js\", \"slide\": \"/static/js/slide.7.8.6.js\", \"geetest\": \"/static/js/geetest.6.0.9.js\", \"aspect_radio\": {\"slide\": 103, \"click\": 128, \"voice\": 128, \"pencil\": 128, \"beeline\": 50}}})") +} + +// GET https://api-na.geetest.com/get.php?gt=16bddce04c7385dbb7282778c29bba3e&challenge=616018607b6940f52fbd349004038686&client_type=android&lang=zh-CN&client_type=android&pt=20&w=SVBBNggmYQj5x34VNcTu9ToZ%2F936VslgWYPwRMBw4J56VYFRpL%2FLI79YW6Xz84H6Vq8HDjXFH5Mp%0APS2PkdDEXQ%3D%3D%0A HTTP/1.1 +// GET https://api-na.geetest.com/get.php?is_next=true&mobile=true&product=embed&width=100%25&https=true>=16bddce04c7385dbb7282778c29bba3e&challenge=616018607b6940f52fbd349004038686&lang=zh-CN&type=slide3&api_server=api-na.geetest.com&timeout=10000&aspect_radio_voice=128&aspect_radio_slide=103&aspect_radio_beeline=50&aspect_radio_pencil=128&aspect_radio_click=128&voice=%2Fstatic%2Fjs%2Fvoice.1.2.0.js&beeline=%2Fstatic%2Fjs%2Fbeeline.1.0.1.js&pencil=%2Fstatic%2Fjs%2Fpencil.1.0.3.js&click=%2Fstatic%2Fjs%2Fclick.3.0.4.js&callback=geetest_1651516382362 HTTP/1.1 +func (c *Controller) get(context *gin.Context) { + context.Header("Content-type", "text/javascript;charset=UTF-8") + callback := context.Query("callback") + if len(callback) == 0 { + _, _ = context.Writer.WriteString("({\"status\": \"success\", \"data\": {\"theme\": \"wind\", \"theme_version\": \"1.5.8\", \"static_servers\": [\"static.geetest.com\", \"dn-staticdown.qbox.me\"], \"api_server\": \"api-na.geetest.com\", \"logo\": false, \"feedback\": \"\", \"c\": [12, 58, 98, 36, 43, 95, 62, 15, 12], \"s\": \"4958632c\", \"i18n_labels\": {\"copyright\": \"\\u7531\\u6781\\u9a8c\\u63d0\\u4f9b\\u6280\\u672f\\u652f\\u6301\", \"error\": \"\\u7f51\\u7edc\\u4e0d\\u7ed9\\u529b\", \"error_content\": \"\\u8bf7\\u70b9\\u51fb\\u6b64\\u5904\\u91cd\\u8bd5\", \"error_title\": \"\\u7f51\\u7edc\\u8d85\\u65f6\", \"fullpage\": \"\\u667a\\u80fd\\u68c0\\u6d4b\\u4e2d\", \"goto_cancel\": \"\\u53d6\\u6d88\", \"goto_confirm\": \"\\u524d\\u5f80\", \"goto_homepage\": \"\\u662f\\u5426\\u524d\\u5f80\\u9a8c\\u8bc1\\u670d\\u52a1Geetest\\u5b98\\u7f51\", \"loading_content\": \"\\u667a\\u80fd\\u9a8c\\u8bc1\\u68c0\\u6d4b\\u4e2d\", \"next\": \"\\u6b63\\u5728\\u52a0\\u8f7d\\u9a8c\\u8bc1\", \"next_ready\": \"\\u8bf7\\u5b8c\\u6210\\u9a8c\\u8bc1\", \"read_reversed\": false, \"ready\": \"\\u70b9\\u51fb\\u6309\\u94ae\\u8fdb\\u884c\\u9a8c\\u8bc1\", \"refresh_page\": \"\\u9875\\u9762\\u51fa\\u73b0\\u9519\\u8bef\\u5566\\uff01\\u8981\\u7ee7\\u7eed\\u64cd\\u4f5c\\uff0c\\u8bf7\\u5237\\u65b0\\u6b64\\u9875\\u9762\", \"reset\": \"\\u8bf7\\u70b9\\u51fb\\u91cd\\u8bd5\", \"success\": \"\\u9a8c\\u8bc1\\u6210\\u529f\", \"success_title\": \"\\u901a\\u8fc7\\u9a8c\\u8bc1\"}}})") + } else { + _, _ = context.Writer.WriteString(callback + "({\"gt\": \"16bddce04c7385dbb7282778c29bba3e\", \"challenge\": \"616018607b6940f52fbd349004038686is\", \"id\": \"a616018607b6940f52fbd349004038686\", \"bg\": \"pictures/gt/a330cf996/bg/86f9db021.jpg\", \"fullbg\": \"pictures/gt/a330cf996/a330cf996.jpg\", \"link\": \"\", \"ypos\": 56, \"xpos\": 0, \"height\": 160, \"slice\": \"pictures/gt/a330cf996/slice/86f9db021.png\", \"api_server\": \"https://api-na.geetest.com/\", \"static_servers\": [\"static.geetest.com/\", \"dn-staticdown.qbox.me/\"], \"mobile\": true, \"theme\": \"ant\", \"theme_version\": \"1.2.6\", \"template\": \"\", \"logo\": false, \"clean\": false, \"type\": \"multilink\", \"fullpage\": false, \"feedback\": \"\", \"show_delay\": 250, \"hide_delay\": 800, \"benchmark\": false, \"version\": \"6.0.9\", \"product\": \"embed\", \"https\": true, \"width\": \"100%\", \"c\": [12, 58, 98, 36, 43, 95, 62, 15, 12], \"s\": \"6c722c65\", \"so\": 0, \"i18n_labels\": {\"cancel\": \"\\u53d6\\u6d88\", \"close\": \"\\u5173\\u95ed\\u9a8c\\u8bc1\", \"error\": \"\\u8bf7\\u91cd\\u8bd5\", \"fail\": \"\\u8bf7\\u6b63\\u786e\\u62fc\\u5408\\u56fe\\u50cf\", \"feedback\": \"\\u5e2e\\u52a9\\u53cd\\u9988\", \"forbidden\": \"\\u602a\\u7269\\u5403\\u4e86\\u62fc\\u56fe\\uff0c\\u8bf7\\u91cd\\u8bd5\", \"loading\": \"\\u52a0\\u8f7d\\u4e2d...\", \"logo\": \"\\u7531\\u6781\\u9a8c\\u63d0\\u4f9b\\u6280\\u672f\\u652f\\u6301\", \"read_reversed\": false, \"refresh\": \"\\u5237\\u65b0\\u9a8c\\u8bc1\", \"slide\": \"\\u62d6\\u52a8\\u6ed1\\u5757\\u5b8c\\u6210\\u62fc\\u56fe\", \"success\": \"sec \\u79d2\\u7684\\u901f\\u5ea6\\u8d85\\u8fc7 score% \\u7684\\u7528\\u6237\", \"tip\": \"\\u8bf7\\u5b8c\\u6210\\u4e0b\\u65b9\\u9a8c\\u8bc1\", \"voice\": \"\\u89c6\\u89c9\\u969c\\u788d\"}, \"gct_path\": \"/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js\"})") + } +} + +// POST https://api-na.geetest.com/ajax.php?gt=16bddce04c7385dbb7282778c29bba3e&challenge=616018607b6940f52fbd349004038686&client_type=android&lang=zh-CN HTTP/1.1 +// GET https://api-na.geetest.com/ajax.php?gt=16bddce04c7385dbb7282778c29bba3e&challenge=616018607b6940f52fbd349004038686is&lang=zh-CN&%24_BBF=3&client_type=web_mobile&w=PfYYA2GvlGseUHihdCmj)zaqrm25077bIOmGUGPIE9iZeyx(T)h29Wi5lCT0NnfqqmFbrfAey3fhYJPxTbEKFOufaGHcSWdzt9Yl6bhmRN1cAwJdMP1qGKbj9SaJ0O4BKqpug6XnYg76akehubqBadKqJHV(Ns8qs6b860IBfFr80xOLZaE5rxf3nKxbF49Hgi25jXIptXp5XCqfkK1alQiK0L(5k4lxKYQU1om)VpUT8QZoHsCNbb38v3Hg75rhcufPzlVMEXz81QbdUyewvMc0RETPTQoKT6yiHFDs81JAwUIXuPkESUNdThU(cVINr5mQugprlBdLniFKKpHdI4ll)F4JvbZjFrDZOU5JV)MsQ2r2gfr(8GVseuZxEy32L(9KI8vwCS(6I50MPPUK2MxmovU5CtqmlaPHbNIVYYTQpRrvteXTz6CNipIBb1J0ntaVERBD90Cb)wDNenv3bDbeFgtT8J5MqZXEYItUG5CsbLjf)eEZQrfxw6FZz3sB5ojzdjal(uw4XIjsCG9s3Z4Jzden8uB0yIJy4Zr(ZoO47)tCvqRsKNF(RgXadSj9tJDjP74p9Kg2dBO95(BRABSKBJe1DJkK9WgomUomOXmS0Dfg)d9N6svt0IZC47XpiLk(600fHQiHXhLRZveCuVbARzk9vsY1DfI4PvcQjHmt6dyPR8xhVp91agaK)wJ3f5CXs(hEAFtDIBsp4LIqt6FWe3)BNvMSl1Is(289vQLbGA1Fch4Y8Yju871Z4FpUhDTu)5EuqVUSB2I9okGM9sLusQxBCuRzJrYv61AU0GmxEfpOG0Wot3QZCIQtvOgHC)3BWgnH2r63)D9QsJioreDm8XXOVT3WaBpfBFZ6h9Sfa03)RNIAsFj)xCy4XlvU8d40873cdf12703609069897655331054c1e221a1578dac4a87711be90588f6709f07a05722392de452d8923508015d7241ec139a06eae32dc63263269e81d37297db69e21df57aeae15d9f57fb93846a083821bafc4e5d4eaa2d904e8e233cddfac0d94989af753680d09e4360f1ce4088172829608e5139862ae5ec7c5ec6f&callback=geetest_1651516385963 HTTP/1.1 +func (c *Controller) ajax(context *gin.Context) { + context.Header("Content-type", "text/javascript;charset=UTF-8") + callback := context.Query("callback") + if len(callback) == 0 { + _, _ = context.Writer.WriteString("{\"status\": \"success\", \"data\": {\"result\": \"slide\"}}") + } else { + _, _ = context.Writer.WriteString(callback + "({\"success\": 1, \"message\": \"success\", \"validate\": \"af90d1ba691970f759a3c60c908c1499\", \"score\": \"1\"})") + } +} + +// GET https://static.geetest.com/static/appweb/app3-index.html?gt=16bddce04c7385dbb7282778c29bba3e&challenge=616018607b6940f52fbd349004038686&lang=zh-CN&title=&type=slide&api_server=api-na.geetest.com&static_servers=static.geetest.com,%20dn-staticdown.qbox.me&width=100%&timeout=10000&debug=false&aspect_radio_voice=128&aspect_radio_slide=103&aspect_radio_beeline=50&aspect_radio_pencil=128&aspect_radio_click=128&voice=/static/js/voice.1.2.0.js&slide=/static/js/slide.7.8.6.js&beeline=/static/js/beeline.1.0.1.js&pencil=/static/js/pencil.1.0.3.js&click=/static/js/click.3.0.4.js HTTP/1.1 +func (c *Controller) app3Index(context *gin.Context) { + context.Header("Content-type", "text/html") + _, _ = context.Writer.WriteString("\n\n\n \n \n \n \n 请通过以下验证\n \n\n\n
\n
\n
\n \n \n \n \n \n
\n\n\n") +} + +// GET https://static.geetest.com/static/js/slide.7.8.6.js HTTP/1.1 +func (c *Controller) slideJs(context *gin.Context) { + context.Header("Content-type", "application/javascript") + _, _ = context.Writer.WriteString("lTloj.$_AG=function(){var $_DBHEx=2;for(;$_DBHEx!==1;){switch($_DBHEx){case 2:return{$_DBHFa:function($_DBHGk){var $_DBHHK=2;for(;$_DBHHK!==14;){switch($_DBHHK){case 5:$_DBHHK=$_DBHIj<$_DBHJq.length?4:7;break;case 2:var $_DBIAz='',$_DBHJq=decodeURI('%0D%0F:w%037%13%0E%1CD9%06%5B%0FH%06y7N5%0D%7B%22%07%5C$%1CE%15Mv%13:x%15%0C%5B%22%16D%14X%19%60\\'S9%1BF%22\\'%E4%BC%96%E7%BA%92%E5%91%AD%E5%9B%B7%E8%B1%93%E7%9B%BD%E5%8F%B4%E6%94%BB%E4%B9%A4%E6%98%86%E5%86%AD%E6%94%89%E7%B1%8D%E5%9F%80%EF%BD%B3%E8%AF%9E%E4%BD%B0%E5%84%9C%E5%87%8B%E6%94%BB%E7%B0%92%E5%9E%A2%E5%8E%92%E6%94%89h%E5%89%BC%E6%97%99%E9%AA%A5%E8%AE%91\\'%12%14*c&\\'%12%14*o%1B\\'T$%06E5%18X%15%0D%5B1%0E%7F&%08N5\\'%12%14*%60%09\\'S3%19F%22%0DE%15%0F%5C%3E%1AB%22%06G%0E%1DW?%08w%17%1CS?%0CZ$YD.%18%5C9%0BS8IHp%0E_%25%0DF\\'YA%22%1DAp%18%16/%06J%25%14S%25%1Dwt&u%0F%10w%7F%1ES?GY8%09%E8%AF%81%E6%B0%89%E6%8B%8C%E9%94%B0%EF%BD%8AH%18%E8%AE%BC%E4%BE%B4%E6%8C%A8%E7%BC%81%E7%BA%A5%E7%95%B3%E9%81%91%EF%BD%B2%1B~%E6%A2%B9%E6%9F%93%E5%89%96%E5%A6%A2%E5%8C%BF%E6%96%A6%E4%BD%99%E5%85%93%E7%9B%8F%E9%84%A4%E7%BD%87%E5%8E%92%E6%94%89Q?%E5%93%A5J8%18Z\\'%0CG7%1Ch%E5%8B%AB%E8%BC%94%E4%B8%84~W%18%15%E5%B9%87%E5%8A%80%E5%8E%9D%E9%A7%B1h/%08%5D1C_&%08N5VA.%0BYk%1BW8%0C%1FdUc%20%05n%02%10%02%0A(h%12!d%1E#x%06%15w%7F=j%158w%0A(_%11,w%0A,kh%0Ew%22$%5E%11%1Ee%18\\'%5D#%1C%19(1C(%00u%08%04%5B%097a%1B%1ED%18+~r%03%5E%1D8h$%0BC5%1AB%15%0EL$?C\\'%05p5%18D%15%04Z7\\'R.%1DH9%15h(%08G&%18E%15%5BM%0E%1CD9%06%5B%0FH%06%7F7%1F%60Mh8%1D%5B9%17Q%15Mv%13;%60%157%00%0E%11_/%0DL%3E\\'C9%05%01%0E%1DY(%1CD5%17B%15Iw\\'%10R?%01w5%0BD$%1BvaI%05%15%E8%A6%AF%E8%A7%A0%E9%9B%8C%E7%A3%B4hkDw%E6%8A%86%E5%8B%91%E6%BB%A7%E5%9C%9C%E5%B1%AF%E6%82%85%E6%B4%BE%E5%9A%87%E5%83%B9%E6%AC%A8%E7%A0%87%E6%8B%95%E5%91%98\\'%06%15%1FH%3C%0CS%04%0Fw%05%0AS9*H%3C%15t*%0AB%15%0BD$%1Bw%E5%92%97%E5%92%9F%EF%BD%A8%E6%81%A1%E7%88%80%E5%90%AA%E4%BB%96%E6%8A%85%E5%9B%88kZ%09%E7%A6%82%E5%91%B7%E9%87%BB%E8%AE%9E7%E9%85%A4%E7%BC%BE%E5%8E%BB%E6%95%86,%1D%E6%9C%A0%E8%AE%BF%EF%BD%A3%E8%AF%81%E6%A2%8B%E6%9E%8C%E5%88%B4%E5%A6%9B%E5%8D%AF%E6%97%80%E4%BD%AB%E5%84%8C%E7%9A%AD%E9%84%9D%E7%BC%97%E5%8F%B4%E6%94%BB%0E%5D%EF%BD%98%E5%AE%80%E5%BA%A2%E7%95%B8%E8%AE%9E%E6%97%9F%E7%9B%940r%EF%BD%827%5B5%09Z*%0AL%0E%11W8&%5E%3E)D$%19L%22%0DO%15%E6%8A%BF%E5%8A%81%E5%B6%B6%E8%BF%80%E6%BB%A7%E5%9C%9C%E5%AF%A5%E6%88%B9%E4%B9%9A%E6%97%80%E6%8B%8A%E5%9A%B57%E4%BC%89%E7%BA%89%1B_%25%0Df%3E%E6%8F%9C%E5%8F%95%E7%9B%8F%E5%8E%AB%E6%95%99%E6%9D%99%E8%AE%96%EF%BC%AC%E5%8E%A1%E6%8F%8C%E5%8F%BE9%1D%E9%80%BF%E6%8A%A2%E5%98%81%E5%92%A5%146%7B%E5%84%88%E7%B5%89%EF%BC%A5%E5%B8%A6%E4%B9%AD%E9%9C%B6%E4%BE%96%E8%AE%A8%E5%85%9F%E5%AC%88%E5%9D%91%E4%BA%B8%E9%A0%BE%E9%9C%8B%E4%B8%84%0E%5Di%09%20d%0E%0DO;%0Cw%E5%84%A3%E9%96%94%E9%AA%BA%E8%AE%8A7Z%20%15_?7%0D%0F:s%227%5C%3E%1DS-%00G5%1Dh%E4%BD%AB%E7%BA%B0H%20%09S%25%0D%7D?%E6%8F%9C%E5%8F%95%E7%9B%8F%E5%8E%AB%E6%95%99%E6%9D%99%E8%AE%96%EF%BC%AC%E5%8E%A1%E6%8F%8C%E5%8F%BE9%1D%E9%80%BF%E6%8A%A2%E5%98%81%E5%92%A5%146%7B%E5%84%88%E7%B5%89%EF%BC%A5%E5%B8%A6%E4%B9%AD%E9%9C%B6%E4%BE%96%E8%AE%A8%E5%85%9F%E5%AC%88%E5%9D%91%E4%BA%B8%E9%A0%BE%E9%9C%8B%E4%B8%84%0E%1ES?!F%25%0BE%15%06G%3C%16W/7%E8%AF%9E%E5%84%A3%E9%96%94%E9%AA%BA%E8%AE%8A%E9%86%A4%E8%AF%BC%0E%0DY%0D%00Q5%1Dho6m%112h/%00_%0E%09C?%20D1%1ES%0F%08%5D1\\'_%25%19%5C$\\'%18%15%0EL$0%5B*%0EL%14%18B*7%061%13W3GY8%09%E8%AF%81%E6%B0%89%E6%8B%8C%E9%94%B0%EF%BD%8AH%18%E8%AE%BC%E4%BE%B4%E6%8C%A8%E7%BC%81%E7%BA%A5%E7%95%B3%E9%81%91%EF%BD%B2%1B~%E8%AE%8E%E8%81%A2%E7%B2%B0%E6%9F%A8%E9%AA%A5%E5%AF%88%E7%BC%A8%E5%AE%94%E6%9D%867J%22%1CW?%0Cl%3C%1C%5B.%07%5D%0E%11S%22%0EA$\\'F37N5%0Db%22%04L%0E%0BW%25%0DF=\\'Q.%1Dj?%17B.%11%5D%0E%1CD9%06%5B%0FH%06z7L%22%0BY96J?%1DS%15%0EL$4Y%25%1DA%0E%3ES.%1DL#%0Ds9%1BF%22\\'F$%1A%5D%0E%E7%95%88%E6%9E%B7%E9%AB%87%E6%8E%B9%E4%BE%B2%E6%8B%90%E6%9D%96%E6%94%99%E6%8D%8A7%07%7F%0CE.%1BJ1%15Z)%08J;Vho6k%1A%16h8%0CJp%E7%A6%AB%E7%9A%B2%E9%81%94%E5%BB%8F%E8%B6%AC%E8%BE%97YE(%06%5B5%5C%16%E7%9B%8F%E7%95%81%E6%88%9E%0E%5Di%08!%7C%0E%0AD(7%13p\\'Q.%1Dz5%1AY%25%0DZ%0E%0AB*%1D%5C#\\'C8%0C%5B%0F%1CD9%06%5B%0E%09D$%1DF3%16Z%15Mv#-O2%05L%0E%10%5B,7N5%0Dr*%1DL%0E%17C&%0BL%22\\'%12%14*n%17\\'%1B%15%06G5%0BD$%1Bw=%16X%22%1DF%22WQ.%0C%5D5%0ABe%0AF=V%5B$%07@$%16Dd%1AL%3E%1Dh8%0A%5B9%09B%15%E9%AB%A5%E8%AF%A8%E5%9A%AE%E7%88%BE%E5%8A%96%E8%BC%B6%E5%A5%98%E8%B4%8C%EF%BD%8AH%18%E8%AE%BC%E4%BE%B4%E6%8C%A8%E7%BC%81%E7%BA%A5%E7%95%B3%E9%81%91%EF%BD%B2%1B~%E8%AE%8E%E8%81%A2%E7%B2%B0%E6%9F%A8%E9%AA%A5%E5%AF%88%E7%BC%A8%E5%AE%94%E6%9D%867Z$%00Z.%1AA5%1CB%15%0C%5B%22%16D%14X%19e\\'U$%0DL%0E%E9%84%B4%E7%BD%98%E9%8D%A4%E8%AB%8Dw#%0DW(%02wo\\'S9%1BF%22&%07zYw%E6%9D%9D%E5%8B%98%E7%AB%99-%06%5B2%10R/%0CG%EF%BD%8AY%E8%AF%81%E8%80%9F%E7%B2%92%E6%9E%A8%E9%AB%9C%E5%AF%A1%E7%BD%A7%E5%AF%A9%E6%9D%A4w1\\'%12%14-j1\\'U\\'%0CH%22-_&%0CF%25%0Dh.%1B%5B?%0BizX%18%0E%11%5D%15%1DF%1C%16A.%1Bj1%0AS%15%0F@%3C%1CX*%04L%0E%1ES.%1DL#%0Di%15%05H%3E%1Eho6m%16%0Bho6m%15%0Bh(%01H%228B%15Tw%E9%84%9D%E7%BC%97%E9%94%AF%E8%AE%A47%5D5%0AB%15%1AE9%1AS%15Zw%E7%B7%A2%E7%B4%98%E4%B8%BB%E7%B4%AD%E5%8B%B2w5%0BD$%1BvaH%05%15%0C%5B%22%16D%14X%19i\\'B%22%04L?%0CB%15F%5B5%0AS?GY8%09%E8%AF%81%E6%B0%89%E6%8B%8C%E9%94%B0%EF%BD%8AH%18%E8%AE%BC%E4%BE%B4%E6%8C%A8%E7%BC%81%E7%BA%A5%E7%95%B3%E9%81%91%EF%BD%B2%1B~%E8%AE%8E%E8%81%A2%E7%B2%B0%E6%9F%A8%E9%AA%A5%E5%AF%88%E7%BC%A8%E5%AE%94%E6%9D%867E?%18R.%0Dw#%1CB%1F%00D5%16C?7%0D%0F;t%0D7%5B5%18R2:%5D1%0DS%15%0AA1%0Bu$%0DL%11%0Dh%E9%AB%87%E8%AE%A8%E7%9A%AD:%0A%E5%9C%86%E5%9C%8B%E6%96%89%E6%B3%BC%E5%8B%B0%E8%BC%84h%7DY%1B%0E%09C8%01w%13%16X-%00N%25%0BW?%00F%3EYs9%1BF%22\\'B%3C7%E9%85%A4%E7%BC%BE%E5%8E%BB%E6%95%86*%1BL1%E6%9D%B0%E8%AF%99%EF%BD%91%E5%8E%83%E6%8E%8C%E5%8E%87%10R%E9%81%82%E6%8A%80%E5%99%81%E5%93%9C=y%06%E5%84%AA%E7%B4%89%EF%BD%9C%E5%B8%8F%E4%B8%A2%E9%9D%8B%E4%BE%B4%E8%AF%A8%E5%84%A6%E5%AC%A1%E5%9C%9E%E4%BB%85%E9%A0%9C%E9%9D%8B%E4%B9%BD\\'%E6%97%96%E6%AC%AF%E7%B0%92%E9%94%B0%E8%AE%BF%E7%B0%82%E5%9E%BD%15%06O6%15_%25%0Cw5%0BD$%1BvaI%01%15%0E%5D%0E%E8%AE%94%E9%9F%85%E6%97%8C%E4%BA%9F%E5%8A%89%E8%BC%AD%E5%A5%88%E8%B4%93%EF%BD%91X%07%E8%AE%A7%E4%BE%A4%E6%8C%B7%E7%BC%9A%E7%BA%B5%E7%95%AC%E9%81%8A%EF%BD%A2%04e%E8%AE%9E%E8%81%BD%E7%B2%AB%E6%9F%B8%E9%AA%BA%E5%AF%93%E7%BC%B8%E5%AE%8B%E6%9D%9D\\'%12%14-m%18\\'_%25%0DL(6P%15%01%5D$%09EqF%06=%16X%22%1DF%22WQ.%0C%5D5%0ABe%0AF=V%5B$%07@$%16Dd%1AL%3E%1Dh.%1B%5B?%0BizY%1F%0E%1AW\\'%05K1%1A%5D%15%0AA1%15Z.%07N5\\'C%25%02G?%0EX%15%1BF%25%17R%15%08G?%17O&%06%5C#\\'W;%00Z5%0B@.%1Bw*%11%1B(%07w%1E%1CB%3C%06%5B;YP*%00E%25%0BS%15%0AF=%09Z.%1DL%0E%1AE87%E9%AA%A5%E8%AE%91%E7%9B%BD%5C8%E5%9D%99%E5%9D%A9%E4%B9%9D%E5%AC%A1%E5%9C%9E%15%0C%5B%22%16D%14X%19h\\'S%257%06%22%1CP9%0CZ8WF#%19%E8%AF%9E%E6%B0%92%E6%8B%9C%E9%94%AF%EF%BD%91X%07%E8%AE%A7%E4%BE%A4%E6%8C%B7%E7%BC%9A%E7%BA%B5%E7%95%AC%E9%81%8A%EF%BD%A2%04e%E5%89%9E%E6%96%99%E6%AD%B1%E6%94%89%E6%9C%9A%E8%BB%A0%E6%9D%A0%E9%99%B9%E5%89%A6%EF%BD%B1%07%7B%E6%AD%88%E4%BB%8C%E5%87%95%EF%BD%B0%EF%BC%BA%E8%B7%8E%E8%BE%AE%E9%99%B9%E5%89%A6%E8%AE%8E%E5%88%81%E6%97%BB%E6%94%9D%E4%B8%83%E9%A0%A5%E9%9C%9B%E5%86%BB%E8%AE%9E7D5%0AE*%0EL%0E%5Di%0F.d%0E%18F%226Z5%0B@.%1Bw#%09Z%22%0AL%0E%1CD9%06%5B%0FH%07s7%7C%04?%1Bs7L%22%0BY96%18aNhf%0AG%0E%10F%15%1CZ5%0Bw,%0CG$\\'%E7%94%9E%E6%89%BC%E5%9A%B7%E8%B0%AA%E5%86%AD%E6%94%89%E6%89%91%E8%A0%87%E5%BD%AB%E5%B8%91%0E%03%5E%15%E7%9B%87%E8%82%8D%E5%8B%B0%E8%BC%84%E5%A4%87%E8%B5%AE%EF%BD%B3%18~%E8%AE%8E%E4%BF%AB%E6%8D%8A%E7%BC%B8%E7%BB%B5%E7%94%95%E9%81%A3%EF%BC%ADyG%E8%AF%9E%E8%80%84%E7%B2%82%E6%9E%B7%E9%AB%87%E5%AF%B1%E7%BD%B8%E5%AF%B2%E6%9D%B4h8%1DL%20\\'S9%1BF%22&%07z%5Bw%3C%1CX,%1DA%0EO%06x7E9%17%5D%15Fwv\\'%E7%BD%A7%E7%BA%97%E4%B9%A4%E7%BB%B0%E5%8B%8B\\'%5C87%0D%0F=~%3E7%E4%BC%89%E7%BA%89%1B_%25%0Do?%0B%5B%E6%8F%AE%E5%8E%8A%E7%9A%AD%E5%8E%92%E6%94%89%E6%9C%BF%E8%AE%A4%EF%BD%B3%E5%8F%83%E6%8F%B5%E5%8E%AE_/%E9%81%A0%E6%8B%80%E5%98%B8%E5%93%B5r%04$%E5%85%AA%E7%B5%B0%EF%BD%B5%E5%B9%80%E4%B9%9F%E9%9D%A9%E4%BF%B4%E8%AE%91%E5%84%8F%E5%AD%AE%E5%9D%A3%E4%BB%A7%E9%A1%9C%E9%9C%B2%E4%B9%94hf%1D%5E%0E%1CD9%06%5B%0FH%07~7G1%0F_,%08%5D?%0Bh.%1B%5B?%0BizX%1D%0E%18C/%00F%0E%10X%22%1Dn5%1CB.%1A%5D%E9%86%9C%E9%9C%9B%E7%9A%B2,%1D%E6%88%BF%E8%81%95%1A%5E*%05E5%17Q.%E5%8E%AB%E6%95%99%E7%BD%AA%E5%B1%A8%0Ck%E8%AE%9E%E6%A3%A9%E6%9E%B5%E5%89%A4%E5%A7%BD%E5%8D%9D%E5%8E%AB%E6%95%99%0E%1CD9%06%5B%0FH%07%7D7n5%1Cq%1F7n5%1Cu#%08E%3C%1CX,%0Cw%144ho6o%15!h*%04w%1E%1CB8%0AH%20%1Ch8%0C%5D%19%0DS&7G5%01B%15%0F%5B?%14u#%08%5B%13%16R.7%5B5%14Y=%0Cl&%1CX?%25@#%0DS%25%0C%5B%0E%10X%22%1Dw#%0DD%22%07N9%1FO%15%1E@$%11u9%0CM5%17B%22%08E#\\'r%097H4%1Ds=%0CG$5_8%1DL%3E%1CD%15%0FE?%16D%15%08%5D$%18U#,_5%17B%15Mv%16%3ET%15-%7F%0E%5Di%0E*Y%0E%0BS:%1CL#%0Dw%25%00D1%0D_$%07o%22%18%5B.7%0D%0F%3Ew(7c%036x%15%0BO3%18U#%0Cv4%1CB.%0A%5D%0E%5Di%0C!%5C%0E%01ho6l%17%11h&%06S%02%1CG%3E%0CZ$8X%22%04H$%10Y%25/%5B1%14S%15%0AH%3E%1AS\\'(G9%14W?%00F%3E?D*%04L%0E%5Di%0C+n%0E%0BS87d9%1AD$%1AF6%0D%16%02%07%5D5%0BX.%1D%09%15%01F\\'%06%5B5%0Bh8%0CG4\\'S9%1B%19%60Kho6n%13%1Eh27d1%0D%5E%15*F%3E%0DS%25%1D%04%04%00F.7%0D%0F=%7C27D?%17_?%06%5B~%1ES.%1DL#%0D%18(%06D%0E%10h8%1DH$%0CEqIwt&q%0F;w%14%18B.7%0D%0F%3C~%1D7%06=%16X%22%1DF%22VE.%07M%0E*h,%0C%5D%02%18X/%06D%06%18Z%3E%0CZ%0E%5Di%0D%20F%0E%1DS?%08J8%3C@.%07%5D%0E%14Y%3E%1AL=%16@.7N5%0Ds\\'%0CD5%17B8+P%04%18Q%05%08D5\\'%12%14-%60)\\'%12%14/a#\\'%5C%15%04H(\\'W;%19g1%14S%15%06G$%10%5B.%06%5C$\\'%12%14/j%05\\'%12%14.n%1B\\'Y%25%1BL1%1DO8%1DH$%1CU#%08G7%1Ch&%06S%13%18X(%0CE%02%1CG%3E%0CZ$8X%22%04H$%10Y%25/%5B1%14S%15(J3%1CF?7Y%22%16B$%1DP%20%1Ch-%1BF=7C&%0BL%22\\'B.%11%5D%7F%09Z*%00Gk%1A%5E*%1BZ5%0D%0B%3E%1DO%7DAho6l%14#h%0A+j%14%3Cp%0C!%60%1A2z%06\\'f%00(d%18=%7C%06.n%123H2%1AR.%0FN8%10%5C%20%05D%3E%16F:%1BZ$%0C@%3C%11P*I%07yZ%1DeO%01sP%01y\\'%12%14-k%19\\'F*%1BZ5\\'%12%14,l8\\'w%25%0D%5B?%10R%15F%06%0E%5Di%0D+D%0E%11S*%0Dw5%0BD%7BY%18%0E%5Di%0E%20%5C%0E%15Y(%08%5D9%16X%15%07L(%0Dt2%1DL#\\'A.%0BB9%0Du*%07J5%15d.%18%5C5%0AB%0A%07@=%18B%22%06G%16%0BW&%0Cwt&p%0F%1Ew%20%18Q.%1AA?%0Eh;%0C%5B#%10E?%0CM%0E%1AY&%19H$4Y/%0Cw%084z%03%1D%5D%20+S:%1CL#%0Dh*%19Y%3C%10U*%1D@?%17%19!%1AF%3E\\'U9%10Y$%16h%13-F=%18_%25;L!%0CS8%1Dw?%09S%257O%22%16%5B%18%1D%5B9%17Q%15%0DF3%0C%5B.%07%5D%15%15S&%0CG$\\'D.%1AY?%17E.=L(%0Dh%1B&z%04\\'S%25%0Dwt&s%09%19wt&p%0D%20wt&s%0A!w#%1CB%19%0CX%25%1CE?!L1%1DS97K?%1DO%15%05F3%18Z%18%1DF%22%18Q.7%5E5%1B%5D%22%1D%7B5%08C.%1A%5D%11%17_&%08%5D9%16X%0D%1BH=%1Ch$%07D?%0CE.%04F&%1Ch%1C%06%5B48D9%08P%0E8h%22%1Fw=%0D%04%15%0A%5B5%18B.7L(%0DS%25%0Dw%16Kh87%5B5%0AS?7@%3E%0Fr%22%0E@$\\'X%15/%7F%0E4S8%1AH7%1C%16?%06Fp%15Y%25%0E%096%16Dk;z%11\\'e?%08%5B$YU$%07%5D%22%16Z%0D%05F\\'?Z*%1D%5D5%17_%25%0Ew3%1FQ%15%05@2\\'U.%00E%0E%5Di%02(~%0E;C-%0FL%22%1CR%09%05F3%12w\\'%0EF%22%10B#%04w5\\'S3%19wt&%7F%09%00w=%0CZ?%00Y%3C%00b$7K%3C%16U%20:@*%1Ch-%1BF=0X?7J?%09O%1F%06w%22*%5E%22%0F%5D%04%16h.%07J%0E%14C\\'=F%0E%1AY.%0FO%0E%18Z,%06w%0A%3Cd%047C#%1AD*%04K%3C%1CD%15Mv%180%7D%15%04F4)Y%3C%20G$\\'%5B;%05w=%10N%02%07w%03%0DW9%1Dw%13%10F#%0C%5B%0E%15e#%00O$-Y%15%1EF%22%1DE%15Mv%181%5D%15%0CG3%0BO;%1DwZ\\'R%22%1F%7B5%14b$7%5B5%1DC(%0Cw#%08C*%1BL%04%16h%04\\'l%0E0X=%08E9%1D%16%19:hp%09C)%05@3Y%5D.%10w#%1CB%1B%1CK%3C%10U%15%07L7%18B.7%0D%0F1q%0E7X%0E%1B_?%25L%3E%1EB#7%18%60I%06z7M%3C*%5E%22%0F%5D%04%16h/%1Bz8%10P?=F%0E%1AY%25%0AH$\\'R&%19%18%0E%09Y%3C7Z%25%1Bb$7%0D%0F1t%0A7Z9%1Et2%1DL#\\'s%25%0Dw%25%14h;7%0D%0F1%7C%3C7%5B5%0FS9%1Dw%12%18E.7%5D%0EI%06%08Xlc@%05%7F-%18fH%02%7F_%1C%12J%05%7B%5C%1A%15Np%7FQl%15Ms%08Q%1E%12H%02%09P%1C%15?%0EsP%1DgN%07x-%1Be%3Cs%08+o%16Ns%7C%5Djg@%01%7C-%19b=uz-%10dL%07%0D%5E%10%14=%03%0FXjaIuyPh%13;%00%0APkd=%00%0D+%1E%14Iw%7B%5B%1Ei;%00%7CX%10%15H%01%7C%5B%1CfLp%7BPh%16O%04%7C%5E%18e@%07r%5B%1Ba8s%0DP%18h@%0F%08(l%60Au%7B-%1FhOr%7C%5D%11%12K%06%0AZ%1F%60Jt%0E%5B%1AaAu%0A_k%13Kt~P%1E%60O%03r%5BhiK%07r-%19%12?%06~*%10%16O%03%7B%5B%1A%11K%07%0F%5B%1AcI%0E%7B%5E%1BeKw%0EY%19fOr~Pj%15%3Cp%0A%5CobN%02s,hhIt%0A+%11a\\'E:%1B%7D?\\'%5B;7Z%25%1BE?%1Bw3%15W&%19wt&~%0F0wt&~%0E:w%16Hh?%06%7B1%1D_37J?%17@.%1B%5D%0E,B-Qw3%18Z\\'7D%20%11h*%0BZ%0E%14_%257%0D#%0CF.%1Bw=%16R%15%25H$%10Xz7M?)C)%05@3\\'%06z%5B%1AdL%00%7CQ%101%1BU/%0CO7%11_!%02E=%17Y;%18%5B#%0DC=%1EQ)%03h(%06D%20%18D.=F%0E%14h/7H%20%09Z27%0D%0F1u%227M=%08%07%15%1DF%03%0DD%22%07N%0E%5Di%03/%5D%0E%10E%0E%1FL%3E\\'P9%06D%02%18R%22%11w=%16C8%0CE5%18@.7M5%1BC,7L%3E%08C.%1CL%0E%5Di%02.N%0E%5Di%09(m%17\\'%12%14+k%17+h%10%06K:%1CU?Ih%22%0BW24wqXh-%06%5B=%18B%15Mv%12;%7C;7d%03)Y%22%07%5D5%0B%7B$%1FL%0E4e%1B%06@%3E%0DS9-F\\'%17h-%00E$%1CD%15%1A%5D%25%0FA3%10S.\\'%12%14!h%0F\\'%12%14+h%13%15h;%06@%3E%0DS9%04F&%1Ch%19,c%15:b%0E-w6%10X*%05@*%1Cho6k%11%3Cu%15Mv%191a%15Mv%19%3Co%15,G3%0BO;%1DF%22\\'%12%14%20c%1C\\'%12%14+h%127ho6%60%14%1Fh?%06%5C3%11S%25%0Dw5%15S%15Mv%128p=7Z3%0BY\\'%05wxP%1CgD%07%7FI%07yZ%1DeO%01sP%13o9w%09*m%15?q%03%20c%1B5%7B%05&y%01+e%1F%3C%7F%07!o%116H2%1AR.%0FN8%10%5C%20%05D%3E%16F:%1Bw1%15Z%15Mv%128w:7Y?%10X?%0C%5B4%16A%257%0D%0F0%7F%007L%3E%1AD2%19%5D%12%15Y(%02w=%16C8%0CL%3E%0DS97%0D%0F3~%017%7B%15*y%07?l%14\\'U\\'%0CH%22\\'f%20%0AZg\\'%12%14#k%1B\\'F9%06J5%0AE%09%05F3%12h%0C%0CL$%1CE?7C?%10X%15Mv%19?N%15Mv%1A:L%15Mv%128q.7D?%0CE.%0DF\\'%17h%0A,z%0E%09W/%0D@%3E%1Eh%22%1Al=%09B27%0D%0F;w%02&w%03%1CD%22%08E9%03W)%05L%13%10F#%0C%5B%0E%14W;7J%3C%10U%207%08%0E%0A%5E.%05E%0E%0DY%3E%0AA#%0DW9%1Dwt\\'F*%0Dw%60I%06%7BY%19%60I%06%7BY%19%60I%06%7B7%5B1%1AS%15%0CH3%11h)%05%5C%22\\'B$%1CJ8%1AW%25%0AL%3C\\'B#%0CG%0E%5Di%01/J%0E%0AZ%22%0DL%0E%5Di%01-q%0E%14Y%3E%1AL%25%09h&%06M5\\'G%3E%0C%5C5Y_8IL=%09B27%5B5%0A_1%0Cw9%0Aw9%1BH)\\'%12%14#n*\\'E%3E%0BZ$%0B_%25%0Ew%13;u%15Mv%1A0%7D%15%1CZ5%0Bi(%08E%3C%1BW(%02w3%0BS*%1DL%15%17U9%10Y$%16D%15Mv%12;s37%0D%0F3s87%0D%0F3w%057J9%09%5E.%1B%5D5%01B%15Mv%12;%7F%187k%3C%16U%20*@%20%11S9$F4%1Cho6c%1A(h/%0CX%25%1CC.7Y?%10X?%0C%5B%25%09h-%06%5B%15%18U#7%0D%0F;u%0A%18w%3E%16u$%07O%3C%10U?7%5D?%0CU#%04F&%1Ch%1B,g%140x%0C7k%3C%16U%20*@%20%11S97d%03)Y%22%07%5D5%0Bc;7j9%09%5E.%1By1%0BW&%1Awt&t%0A!%5D%0E%5Di%09+o%1A\\'j97@%3E%17S9!%7D%1D5h(%1BL1%0DS%1F%0CQ$7Y/%0Cw3%15_.%07%5D%09\\'Q.%1D%7C%04:r*%1DL%0E%1A%5E%22%05M%22%1CX%15%1CG%3C%16W/7F6%1FE.%1De5%1FB%15%1B@7%11B%15Mv%12:%7C%087F6%1FE.%1D%7D?%09h,%0C%5D%12%16C%25%0D@%3E%1Eu\\'%00L%3E%0Dd.%0A%5D%0E%5Bho6k%15%3Ez%15Mv%12=%7C&7F%3E\\'F*%1CZ5\\'U#%00E47Y/%0CZ%0E%18F;%0CG4:%5E%22%05M%0E%1AZ%22%0CG$5S-%1Dw%04\\'Z*%1A%5D%19%17R.%11w9%1Dh(%1C%5B%22%1CX?:%5D)%15S%15Y%19%60Ih(%05F%3E%1Cx$%0DL%0E%1ES?%3C%7D%134Y%25%1DA%0E%0AS?(%5D$%0B_)%1C%5D5\\'%12%14+m%15%12h,%0C%5D%15%15S&%0CG$;O%02%0Dw9%17E.%1B%5D%12%1CP$%1BL%0E%1ES?%3C%7D%13*S(%06G4%0Ah)%0CO?%0BS%3E%07E?%18R%155G%0E%0DW,\\'H=%1Ch%17%0Fw8%0BS-7%5D?3e%04\\'w;%1CO/%06%5E%3E\\'F9%0C_5%17B%0F%0CO1%0CZ?7Z$%16F%1B%1BF%20%18Q*%1D@?%17h,%0C%5D%05-u%06%00G%25%0DS87u$\\'ji7%0D%0F;u%0C3w%3E%16X.7X%25%1CD2:L%3C%1CU?%06%5B%0E%13g%3E%0C%5B)\\'%15%15%1DF%20\\'%12%14+l%165h(%1AZ%04%1CN?7Z3%0BY\\'%05e5%1FB%15%19H%22%1CX?\\'F4%1Ch(%05@5%17B%137s%0E%1AC9%1BL%3E%0Db%22%04L%0E%3Cz%0E$l%1E-i%05&m%15\\'E?%10E5*%5E.%0C%5D%0E%1ES?9%5B?%09S9%1DP%06%18Z%3E%0Cw3%15W8%1Ag1%14S%15%0EL$:Y&%19%5C$%1CR%18%1DP%3C%1Ch;%08N5%20y-%0FZ5%0Dh\\'%0CO$\\'E*%07M2%16N%15%06%5B9%1E_%256wt&t%08-F%0E%17Y/%0C%7D)%09S%15%0BE?%1A%5D%15Mv%12;w%1D7F%25%0DS9!%7D%1D5h$%0FO#%1CB%1B%08%5B5%17B%15%0FF3%0CE%15%1FH%3C%0CS%15%19E1%00h;%08N5!y-%0FZ5%0Dh=%00Z9%1BZ.7J%3C%10S%25%1D%7D?%09h%17%1Cw2%16B?%06D%0E%5Di%09,h;\\'%12%14+j%13%1Bh9%0CD?%0FS%0A%1D%5D%22%10T%3E%1DL%0E%1CX/%0CM%0E%1FY(%1CZ9%17h9%0C%5D%25%0BX%1D%08E%25%1Ch,%0C%5D%11%0DB9%00K%25%0DS%15%1BL=%16@.*A9%15R%15%0EL$,b%08!F%25%0BE%15%0EL$,b%08/%5C%3C%15o.%08%5B%0E%0AU9%06E%3C-Y;7F&%1CD-%05F\\'\\'%5D.%10%5C%20\\'j)7J1%17U.%05H2%15S%15%1A%5D)%15S%15%1DF%1C%16U*%05L%1C%16A.%1Bj1%0AS%15Mv%12%3Cs%0E7J8%18X,%0CM%04%16C(%01L#\\'j%177L=%1BS/7A$%0DF8S%06%7F\\'%18%22%0C%11%0E%0BS/%00%5B5%1AB%0E%07M%0E%1AZ$%1AL%0E%0DY%3E%0AA%15%0FS%25%1Dw+\\'W)%1CZ5\\'%12%14+a%15%1Fh;%1BF7%10Rq-q%19%14W,%0C%7D%22%18X8%0FF%22%14%18%06%00J%22%16E$%0F%5D~8Z;%01H%19%14W,%0Ce?%18R.%1B%01#%0BUvKw9H%0E%256E1%1BS\\'%1Aw3%16X%25%0CJ$*B*%1B%5D%0E%15Y*%0Dl&%1CX?,G4\\'P.%1DJ8*B*%1B%5D%0E%11B?%19Z%0E%0AS(%1C%5B5:Y%25%07L3%0D_$%07z$%18D?7N1%14%5B*7M?%14W%22%07e?%16%5D%3E%19l%3E%1Dh%167RZ\\'F.%1BO?%0B%5B*%07J5\\'R$%04j?%14F\\'%0C%5D5\\'C%25%05F1%1Ds=%0CG$%3CX/7%0D%0F;~%09;w%22%1CW/%10wt&t%0C.F%0EOizXvg&%07%7B6%1D%0FH%04%14Zva&%06%14%5Cvb&%0F%14Qw4%16%5B%08%06G$%1CX?%25F1%1DS/,_5%17B%18%1DH%22%0Dh/%06D1%10X%07%06F;%0CF%18%1DH%22%0Dh%3E%07E?%18R%0E%1FL%3E%0De?%08%5B$\\'%18;%06Y%25%09h8%1CJ3%1CE87%0D%0F;~%0F!w%7Csh0%14w~%1FZ$%08%5D%0E%1DY&%25F1%1D_%25%0Ewt&t%02-L%0E%0CD\\'A%0B%0E%5Di%09.a1\\'%12%14+a%167h;%1BF4%0CU?7%0D%0F;%7F%0E%20w=%16T%22%05L%0E7S?%1EF%22%12%16%0E%1B%5B?%0Bh9%0CX%25%1CE?:%5D1%0BB%15+H3%12u$%04Y1%0Dho6k%18%3ET%15Mv%121u%047M?%14%7F%25%1DL%22%18U?%00_5\\'%18#%06E4%1CDe%04F2%10Z.Gw%20%16F%3E%19w2%1CB*7%0D%0F;%7F%0A,w#%0DW?%1CZ%0F%1A%5E*%07N5\\'R.%1F@3%1CY9%00L%3E%0DW?%00F%3E\\'mA7J?%17X.%0A%5D%15%17R%152w~%1C%5B)%0CM%0E%5Di%09%20k%17\\'%5B$%1FL%0E%1A%5E*%07N5\\'%12%14+a%110h67%5E5%1Bi&%06K9%15S%15%1BL=,X%22%1Dw%7C\\'%12%14+a%19%1Bh-%05F1%0Dh\\'%06H4\\'%12%14+a%18%11h%25%1CE%3C\\'D.%1AY?%17E.,G4\\'W\\'%19A1\\'%12%14+%60%13%0Ch9%0CD%0E%15Y*%0Dl&%1CX?:%5D1%0BB%15Mv%12%3E%7C%017J%25%0AB$%04wt&q%01-w6%16D)%00M4%1CX%156w%22%1CE;%06G#%1Ce?%08%5B$\\'%18#%06E4%1CDe7c%036xe%1A%5D%22%10X,%00O)\\'B%22%04@%3E%1Eho6k%183q%15%1BL4%10D.%0A%5D%03%0DW9%1DwrPh?%01L=%1Ch-%08@%3C\\'D.%0F%5B5%0A%5E%15%0DF=:Y%25%1DL%3E%0Dz$%08M5%1Ds=%0CG$%3CX/7D?%0CE.,_5%17B%152t%0E%17W=%00N1%0D_$%07z$%18D?7%5E5%1Bh/%0CK%25%1Eu$%07O9%1Eho6k%170%5C%15%0AE5%18D%19%0CJ$\\'P%15%1DM%0E%5Di%08*k7\\'W%3E%1DF%02%1CE.%1Dw7%1Eh%7CG%11~Oh8%0C%5D%03%0DO\\'%0CZ%0E%11B?%19%13%7FVhe%1EL2%09h,%1Dv3%0CE?%06D%0F%0BS-%1BL#%11ho6j%113Q%15FH:%18Ne%19A%20\\'%12%14*h%114h77H#%0A_,%07w%20%18E8%1D@=%1Cho6k%1A=P%15%0BN%0E%5Di%09.o6\\'Z$%0AB%0E%1BQ%14%0AF%3C%16D%15%0CZ%0E%1FW/%0Cw3%1Ah%3E%1BE%0F%1ES?7%07%20%18X.%05v7%11Y8%1Dw%22%09h(%06D=%16X%15Mv%128%7C%037%5E#\\'i,%0A%5D%0E%18T8%06E%25%0DS%15Mv%17?%5B%15Mv%13:u#7%07:%09Q%15%15C?%0BR*%07wt&u%08/d%0E%0EX%15%0E%5D%0F%1AC8%1DF=&W!%08Q%0E%0Ehe%19F%20%0CF%14%0BF(\\'%12%14*k%16%3Eho6j%11=U%15G%5B5%0AC\\'%1Dw#%1CD=%0C%5B%0F%1FY9%0B@4%1DS%257%07%20%16F%3E%19v7%11Y8%1Dwt&t%01%20%5E%0E%5Di%09#c%11\\'P%3E%05E2%1Eho6j%12%3Cs%15%1BL#%0CZ?7%0D%0F:w%08%03w?%17q.%0C%5D5%0AB%07%06H4%1CR%15Mv%138%7F97%5D5%14F\\'%08%5D5\\'%189%0CZ%25%15B%14%0AF%3E%0DS%25%1Dwt&t%02!q%0E%10E%1B*wt&u%09-v%0E%5Di%09-h%03\\'%12%14*k%12%09ho6k%1A%3CL%15Mv%120%7C87%0D%0F:w%0D%1Dwt&u%08-f%0EWD.%1A%5C%3C%0Di%22%0AF%3E\\'%12%14+%60%17%15ho6j%12%3E%5B%15%0CY%0E%10E%14%07L(%0Dhd%0EL$WF#%19wt&u%0A+J%0EWD.%1A%5C%3C%0Di?%00%5D%3C%1Cho6k%19?q%15*H%3E%17Y?IJ?%17@.%1B%5Dp%0CX/%0CO9%17S/IF%22YX%3E%05Ep%0DYk%06K:%1CU?7Z3%16D.7%5C%22%15i;%00J$%0CD.7%0D%0F:t%02%18w&%16_(%0Cw1%09_e%0EL5%0DS8%1D%073%16%5B%15Mv%123t\\'7%0D%0F;%7C%0A%1Aw7%1AB%14%19H$%11ho6k%1A1p%15Mv%123u*7N$&U%3E%1A%5D?%14i.%1B%5B?%0Bh%3E%1BE%0F%18%5C*%11wt&u%08,%5E%0E%0AB*%1D@3&E.%1B_5%0BE%15Mv%123p%067%0D%0F:w%03!wt&t%0F+d%0E%5Di%09%20%60%12\\'%12%14*k%11+ho6j%11%3EL%15Mv%123q%1C7Z$%18B%22%0AZ5%0B@.%1BZ%0E%5Di%08(l%17\\'@*%05@4%18B.7%073%18X=%08Z%0F%1BQ%15%5B%10%60%09N%15E%09%60%09Nb7A$%0DFqF%06\\'%0EAe%0EL5%0DS8%1D%073%16%5Bd%0AF%3E%0DW(%1Dw~%1FZ*%1AA%3C%10Q#%1Dw~%1BQ%15GZ%3C%10R.%1Bv2%0CB?%06G%0E%0DD*%07Z6%16D&7%0D%0F;s%038w~%1AW%25%1FH#&_&%0Ew6%0CX(%1D@?%17%16?%06m1%0DW%1E;exP%160Ir%3E%18B%22%1FLp%1AY/%0Ctp%04hzG%1B~Oh?%06m1%0DW%1E;e%0E%0ES)%02@$-D*%07Z6%16D&7%0D%0F:s%03%1Fwt&u%0D*%7B%0E%5Di%08,k&\\'B%22%19w~%1AW%25%1FH#&P%3E%05E2%1Eh2%19F#\\'%12%14*l%1A5ho6k%168A%15%01%5D$%09EqF%06\\'%0EAe%0EL5%0DS8%1D%073%16%5Bd%0F@%22%0AB%14%19H7%1Cho6k%14%3E%60%15%0FE9%1A%5D.%1Bw~%0E_%25%0DF\\'\\'%18\\'%06H4%10X,7A9%1DS%18%1CJ3%1CE87A9%1DS%14%0DL%3C%18O%15%11Y?%0Ah?%1BH%3E%0AZ*%1DLx\\'Z.%08_5\\'%12%14*k%18%14he%0AH%3E%0FW86Z%3C%10U.7%0D%0F:s%0C%25w~%0BS-%1BL#%11i?%00Y%0E%5Cho6k%150f%15%1DF%12%15Y)7Z8%18%5D.7%0D%0F:s%08%22w~%0AZ%22%0AL%0E%5Di%08-l%18\\'%189%0CO%22%1CE#7H%3E%0Dh-%1CG3%0D_$%07%09$%16e?%1B@%3E%1E%1EbIRp%22X*%1D@&%1C%16(%06M5$%1667%07%20%0BY,%1BL#%0Ai\\'%0CO$\\'%1By_%19%20%01he%1D@%20&U$%07%5D5%17B%15Mv%13=p\\'7O%25%17U?%00F%3EYB$+E?%1B%1EbIRp%22X*%1D@&%1C%16(%06M5$%1667%0D%0F:r%02%04wt&t%0D#g%0E%5Di%08/l&\\'%04%7DYY(\\'P\\'%08Z8\\'%18/%00_%0F%1FC\\'%05K7\\'%12%14*l%14&h*%07@=%18B.6Y%22%16U.%1AZ%0E%5Di%08*c%00\\'%12%14*j%18?ho6j%158X%15%0DG%7D%0AB*%1D@3%1DY%3C%07%07!%1BY3GD5\\'%1Bz7%0D%0F;s%0F0wt&t%0C(%5E%0EHho6j%130%7C%15Mv%13=t%087%0D%0F;r%08/wt&u%0D(%7F%0E%18D.%08w~%1FC\\'%05K7\\'%18/%00_%0F%1BQ%15%05F7%16ho6j%15%3CN%15G%5E9%1DQ.%1Dw=%0CZ?%00v%3C%10X.7Z8%16A%15Mv%13?p-7%0D%0F:r%0F,w#%0DW?%00J~%1ES.%1DL#%0D%18(%06D%0E%5Di%08-j?\\'E\\'%00M5Jh8%01F\\'&R.%05H)\\'E#%06%5E%04%10F%15Mv%153Y%15%08G9%14W?%0Cw~%09W%25%0CE%0EWR%22%1Fv9%14Q%15Mv%13%3C%7F?7%0D%0F:p%09%07wt&u%0F.O%0E%1CX?%0C%5B%0EW%5E$%05M5%0Bho6j%15?X%15%0FL5%1DT*%0AB%0E%5Di%08-c%03\\'%12%14*o%14)ho6j%16%3EF%15FZ$%18B%22%0Awt&u%03!~%0EWR%22%1Fv#%15_(%0Cw%22%18X/Yw(&F$%1Awt&u%09#x%0EWF%25%0Ew~%1AZ$%1AL%0E%12S2*F4%1Ch(%07wt&t%0C-b%0E&%5E?%1DY#\\'%12%14+o%17%1Ah%22%1Ew~%15Y*%0D@%3E%1Ei?%00Y%0E%5Di%08!h%09\\'%12%14+n%12!hd%1A%5D1%0D_(Fw~%1ES.%1DL#%0Di(%05F#%1Cho6j%171%60%15%0FH%0E%0A%5D%22%07v%20%18B#7%5D1%0BQ.%1Dw$%1CN?FJ#%0Aho6j%17%3E%5B%15%0B%5C$%0DY%257M?%0EX%156Z$%00Z.7E?%18R%22%07N%0EWZ$%0EF%0EVE\\'%00J5Vho6j%148p%15FK7Vhe%1E%5B1%09h?%01L=%1Ci=%0C%5B#%10Y%257%077%1CS?%0CZ$&%5E$%05M5%0B%18,%0CL$%1CE?6D?%1B_\\'%0C%077%1CS?%0CZ$&W%25%1DR\\'%10R?%01%13bN%0E;%11T~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%1E@4%1ES?I%077%1CS?%0CZ$&A%22%07M?%0E%16*GN5%1CB.%1A%5D%0F%15_%25%02%09~%1ES.%1DL#%0Di/%00_%0F%1FC\\'%05K7YR%22%1F%05~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%1E@4%1ES?I%077%1CS?%0CZ$&A%22%07M?%0E%16*GN5%1CB.%1A%5D%0F%15_%25%02%09~%1ES.%1DL#%0Di/%00_%0F%1BQk%0D@&%02A%22%0D%5D8C%07%7B%19Q-WQ.%0C%5D5%0AB%14%01F%3C%1DS9GN5%1CB.%1A%5D%0F%14Y)%00E5WQ.%0C%5D5%0AB%14%08G$Y%18,%0CL$%1CE?6%5E9%1DQ.%1D%09~%1ES.%1DL#%0Di%3C%00G4%16AkGN5%1CB.%1A%5D%0F%1FZ*%1AAjCW-%1DL%22%02D%22%0EA$C%1ByQ%19%20%01%0D%3C%00M$%11%0Cz%5D%19%20%01%0D#%0C@7%11Bq%5D%19%60%09N6)B5%00P9%08D5%0A%16&%06_5-Yf%05L6%0DM%7BLR%22%10Q#%1D%13%7DK%0E%7B%19Q-H%06%7BLR%22%10Q#%1D%13bM%06;%11T-9%1B%3C%0CK;%10Bf%02L)%1FD*%04L#Y%5B$%1FL%04%16%1B\\'%0CO$%02%06n%12%5B9%1E%5E?S%04bA%06;%11TaI%06n%12%5B9%1E%5E?S%1BdIF3%14T~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%1E@4%1ES?I%077%1CS?%0CZ$&A%22%07M?%0E%16e%0EL5%0DS8%1Dv%3C%16W/%00G7Y%18,%0CL$%1CE?6E?%18R%22%07N%0F%10U$%07R\\'%10R?%01%13cMF3RA5%10Q#%1D%13bOF3%14%077%1CS?%0CZ$&%5E$%05M5%0B%18,%0CL$%1CE?6D?%1B_\\'%0C%077%1CS?%0CZ$&W%25%1D%09~%1ES.%1DL#%0Di%3C%00M7%1CBkGN5%1CB.%1A%5D%0F%0E_%25%0DF\\'Y%18,%0CL$%1CE?6E?%18R%22%07NpWQ.%0C%5D5%0AB%14%05F1%1D_%25%0Ev$%10F0%0FF%3E%0D%1B8%00S5C%07%7F%19Q-WQ.%0C%5D5%0AB%14%01F%3C%1DS9GN5%1CB.%1A%5D%0F%14Y)%00E5WQ.%0C%5D5%0AB%14%08G$Y%18,%0CL$%1CE?6%5E9%1DQ.%1D%09~%1ES.%1DL#%0Di%3C%00G4%16AkGN5%1CB.%1A%5D%0F%0BS8%1CE$%02T$%1D%5D?%14%0Cf%5B%1C%20%01%0D#%0C@7%11Bq%5B%1D%20%01Ke%0EL5%0DS8%1Dv8%16Z/%0C%5B~%1ES.%1DL#%0Di&%06K9%15Se%0EL5%0DS8%1Dv1%17BkGN5%1CB.%1A%5D%0F%0E_/%0EL$Y%18,%0CL$%1CE?6%5E9%17R$%1E%09~%1ES.%1DL#%0Di9%0CZ%25%15BkGN5%1CB.%1A%5D%0F%0BS8%1CE$&U$%07%5D5%17B0%1DL(%0D%1B%22%07M5%17BqX%1F%20%01%0D-%06G$TE%22%13LjH%02;%11%12%3C%10X.DA5%10Q#%1D%13bMF3RA5%10Q#%1D%13bMF3%14%077%1CS?%0CZ$&%5E$%05M5%0B%18,%0CL$%1CE?6D?%1B_\\'%0C%077%1CS?%0CZ$&W%25%1D%09~%1ES.%1DL#%0Di%3C%00M7%1CBkGN5%1CB.%1A%5D%0F%0E_%25%0DF\\'Y%18,%0CL$%1CE?6%5B5%0AC\\'%1D%09~%1ES.%1DL#%0Di9%00N8%0Di8%19H3%1CM;%08M4%10X,D%5B9%1E%5E?S%18f%09N6GN5%1CB.%1A%5D%0F%11Y\\'%0DL%22WQ.%0C%5D5%0AB%14%04F2%10Z.GN5%1CB.%1A%5D%0F%18X?I%077%1CS?%0CZ$&A%22%0DN5%0D%16e%0EL5%0DS8%1Dv\\'%10X/%06%5EpWQ.%0C%5D5%0AB%14%04%5C%3C%0D_%14%05@%3E%1CM#%0C@7%11Bq%5D%11%20%01Ke%0EL5%0DS8%1Dv8%16Z/%0C%5B~%1ES.%1DL#%0Di&%06K9%15Se%0EL5%0DS8%1Dv1%17BkGN5%1CB.%1A%5D%0F%0E_/%0EL$Y%18,%0CL$%1CE?6%5E9%17R$%1E%09~%1ES.%1DL#%0Di&%1CE$%10i\\'%00G5Y%18,%0CL$%1CE?6%5B5%0AC\\'%1Dv3%16X?%0CG$%02F*%0DM9%17Qf%05L6%0D%0Cz_Y(%04%18,%0CL$%1CE?6A?%15R.%1B%077%1CS?%0CZ$&%5B$%0B@%3C%1C%18,%0CL$%1CE?6H%3E%0D%16e%0EL5%0DS8%1Dv\\'%10R,%0C%5DpWQ.%0C%5D5%0AB%14%1E@%3E%1DY%3CI%077%1CS?%0CZ$&E#%06%5E%04%10F0%0BF$%0DY&S%19%20%01Ke%0EL5%0DS8%1Dv8%16Z/%0C%5B~%1ES.%1DL#%0Di&%06K9%15Se%0EL5%0DS8%1Dv1%17BkGN5%1CB.%1A%5D%0F%0AZ%22%0DL%22Y%18,%0CL$%1CE?6Z%3C%10R.%1Bv$%0BW(%02R8%1C_,%01%5DjJ%0E;%11%12=%18D,%00GjT%07r%19QpI%16%7BI%19-WQ.%0C%5D5%0AB%14%01F%3C%1DS9GN5%1CB.%1A%5D%0F%14Y)%00E5WQ.%0C%5D5%0AB%14%08G$Y%18,%0CL$%1CE?6Z%3C%10R.%1B%09~%1ES.%1DL#%0Di8%05@4%1CD%14%1D%5B1%1A%5DkGN5%1CB.%1A%5D%0F%0AZ%22%0DL%22&B%22%19R%3C%10X.DA5%10Q#%1D%13cAF3RO?%17Bf%1A@*%1C%0Cz%5DY(%04%18,%0CL$%1CE?6A?%15R.%1B%077%1CS?%0CZ$&%5B$%0B@%3C%1C%18,%0CL$%1CE?6H%3E%0D%16e%0EL5%0DS8%1Dv#%15_/%0C%5BpWQ.%0C%5D5%0AB%14%1AE9%1DS96%5D%22%18U%20I%077%1CS?%0CZ$&E\\'%00M5%0Bi?%00Y~%1ES.%1DL#%0Di&%1CE$%10i8%05@4%1CM\\'%00G5T%5E.%00N8%0D%0CzQY(%04%18,%0CL$%1CE?6A?%15R.%1B%077%1CS?%0CZ$&%5B$%0B@%3C%1C%18,%0CL$%1CE?6H%3E%0D%16e%0EL5%0DS8%1Dv%20%18X.%05R2%16D/%0C%5B%7D%0DY;S%18%20%01%168%06E9%1D%16h,l%15%3Cs%0E%14%077%1CS?%0CZ$&%5E$%05M5%0B%18,%0CL$%1CE?6D?%1B_\\'%0C%077%1CS?%0CZ$&W%25%1D%09~%1ES.%1DL#%0Di;%08G5%15%16e%0EL5%0DS8%1Dv3%15Y8%0Cv$%10FgGN5%1CB.%1A%5D%0F%11Y\\'%0DL%22WQ.%0C%5D5%0AB%14%04F2%10Z.GN5%1CB.%1A%5D%0F%18X?I%077%1CS?%0CZ$&F*%07L%3CY%18,%0CL$%1CE?6O5%1CR)%08J;&B%22%19%05~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%19H%3E%1CZkGN5%1CB.%1A%5D%0F%0BS-%1BL#%11i?%00Y%7CWQ.%0C%5D5%0AB%14%01F%3C%1DS9GN5%1CB.%1A%5D%0F%14Y)%00E5WQ.%0C%5D5%0AB%14%08G$Y%18,%0CL$%1CE?6Y1%17S\\'I%077%1CS?%0CZ$&@$%00J5&B%22%19R$%16FqD%1Ab%09Np%05L6%0D%0CzYY(BT$%1BM5%0B%1B9%08M9%0CEq%5BY(BF*%0DM9%17QqY%09d%09Np%01L9%1E%5E?S%1Bb%09Np%04@%3ETA%22%0D%5D8C%03%7B%19Qk%15_%25%0C%048%1C_,%01%5DjK%04;%11T~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%19H%3E%1CZkGN5%1CB.%1A%5D%0F%1AZ$%1AL%0F%0D_;SK5%1FY9%0C%05~%1ES.%1DL#%0Di#%06E4%1CDe%0EL5%0DS8%1Dv=%16T%22%05L~%1ES.%1DL#%0Di*%07%5DpWQ.%0C%5D5%0AB%14%19H%3E%1CZkGN5%1CB.%1A%5D%0F%1FS.%0DK1%1A%5D%14%1D@%20CT.%0FF%22%1C%1Ae%0EL5%0DS8%1Dv8%16Z/%0C%5B~%1ES.%1DL#%0Di&%06K9%15Se%0EL5%0DS8%1Dv1%17BkGN5%1CB.%1A%5D%0F%09W%25%0CEpWQ.%0C%5D5%0AB%14%1BL6%0BS8%01v$%10Fq%0BL6%16D.E%077%1CS?%0CZ$&%5E$%05M5%0B%18,%0CL$%1CE?6D?%1B_\\'%0C%077%1CS?%0CZ$&W%25%1D%09~%1ES.%1DL#%0Di;%08G5%15%16e%0EL5%0DS8%1Dv&%16_(%0Cv$%10Fq%0BL6%16D.%12K?%0DB$%04%13%7DOF3RK?%0BR.%1B%04\\'%10R?%01%13d%09Nk_Y(%04%18,%0CL$%1CE?6A?%15R.%1B%077%1CS?%0CZ$&%5B$%0B@%3C%1C%18,%0CL$%1CE?6H%3E%0D%16e%0EL5%0DS8%1Dv%20%18X.%05%09~%1ES.%1DL#%0Di(%06Y)%0B_,%01%5DpWQ.%0C%5D5%0AB%14%05F7%16M%3C%00M$%11%0CzXY(B%5E.%00N8%0D%0CzXY(%04%18,%0CL$%1CE?6A?%15R.%1B%077%1CS?%0CZ$&%5B$%0B@%3C%1C%18,%0CL$%1CE?6H%3E%0D%16e%0EL5%0DS8%1Dv%20%18X.%05%09~%1ES.%1DL#%0Di(%06Y)%0B_,%01%5DpWQ.%0C%5D5%0AB%14%0AF%20%00D%22%0EA$&B%22%19R=%18D,%00GjI%16%7BI%19pMF3RE9%17Sf%01L9%1E%5E?S%18a%09Np%0FF%3E%0D%1B8%00S5C%07y%19Q-9%5D.%10O%22%18%5B.%1A%097%1CS?%0CZ$&E#%08B5%02%04~LR=%18D,%00G%7D%15S-%1D%13%7DOF3%14%1Ee%5CM&%08%5B7%10Xf%05L6%0D%0C%7D%19Q-H%06%7BLR=%18D,%00G%7D%15S-%1D%13%60%04K%0BD%5E5%1B%5D%22%1D%04;%1CO-%1BH=%1CEk%0EL5%0DS8%1Dv#%11W%20%0CRbL%130%04H%22%1E_%25DE5%1FBqD%1F%20%01K%7C%5C%0C+%14W9%0E@%3ETZ.%0F%5DjOF3%14%18%60I%130%04H%22%1E_%25DE5%1FBqYT-WQ.%0C%5D5%0AB%14%01F%3C%1DS9GN5%1CB.%1A%5D%0F%14Y)%00E5WQ.%0C%5D5%0AB%14%08G$WQ.%0C%5D5%0AB%14%19F%20%0CFkGN5%1CB.%1A%5D%0F%09Y;%1CY%0F%1BY3%12%5E9%1DB#S%1BgAF3RD9%17%1B%3C%00M$%11%0CyZ%19%20%01%0D&%08Q%7D%0E_/%1DAjK%01s%19Qk%1BY9%0DL%22C%07;%11%09#%16Z%22%0D%09s%1D%07/XMaB%5B*%1BN9%17%1B\\'%0CO$C%1BzZ%10%20%01%0D&%08%5B7%10Xf%1DF%20C%1Bz%5D%1A%20%01K%15Mv%13%3Es%147%0D%0F:p%01+wt&u%0C(%7C%0E%5Di%08!m%17\\'_%25%05@%3E%1C%1B)%05F3%12h#%00M5:Z$%1AL%0E%0B_,%01%5D%0F%0AF*%0AL%0EWU$%19P%22%10Q#%1Dw~%0AZ%22%0DL%22&B%22%19w%25%09ho6j%138x%15GY?%09C;6%5D9%09ho6j%141%7F%15GO5%1CR)%08J;\\'%12%14*a%15,ho6k%16?F%15GJ?%09O9%00N8%0Di?%00Y%0EW@$%00J5&B%22%19w=%0CZ?%00v#%15_/%0Cwt&u%0C#x%0E%18F%226K9%17R%04%07wt&u%03*C%0E&T\\'%08G;\\'%199%0CO%22%1CE#GY8%09ho6j%18?R%15%08%5B%0EWE\\'%00M5%0Bi?%1BH3%12he%0FL5%1DT*%0AB%0F%0D_;7%0D%0F:~%09:wt&u%0C-N%0EWE&%08E%3C\\'%12%14+n%13%08he%0AZ#\\'F$%19%5C%20&P%22%07@#%11h(%08G3%1CZ%15GE9%17%5D%15Mv%13:q%0A7%1E%60%5Ch8%01F\\'&@$%00J5\\'%12%14*n%16:h%E6%9F%8A%E9%AB%A5w8%10R.;L6%0BS8%01w~%0BS8%1CE$&T$%11w~%0BS-%1BL#%11iz7%07%20%16F%3E%19v3%15Y8%0Cw%7F%09_(%1D%5C%22%1CEd%0E%5D%7F\\'%12%14*o%18%0Fhe%0AE?%0AS%14%1D@%20\\'%18,%0CL$%1CE?6%5B5%1FD.%1AA%0FHh*%19@%0F%18F;%0CG4-Y%15Mv%131%7C,7%06#%0DO\\'%0Cwt&u%0C%20M%0E%0BW%25%0D%18%0EWE\\'%00M5%0Bho6j%180p%15G_?%10U.7C1%0FW8%0A%5B9%09BqRw%22%0DZ%15Mv%13?%7F;7A?%14S;%08N5\\'%12%14+o%19*ho6k%141f%15%1C%5B%0E\\'h%157w%0E\\'h;%11%05pIF3@w%0E\\'h%157w%0E\\'h%157w%0E\\'h%157w%0E\\'h%15%1AF%0E\\'ho6j%12:%7B%15Mv%12;r%007w%0E\\'h%157w%0E\\'U%157w%0E%5Di%08.j%0A\\'%12%14*%60%11%1Aho6n%15%00h%157w%0E\\'h%157E1%0AB%1B%06@%3E%0Dh%157w%0E%0CD\\'6%5B5%1FD.%1AA%0E\\'h%15Mv%12;u%0A7w%0E%09NgI%04aIF3@w%0E\\'h%157%0D%0F:%7F%09%1Ew%0E\\'%12%14,o%1A\\'h%157w%0E\\'h%157wt&t%09+o%0E\\'h%157w%0E');$_DBHHK=1;break;case 1:var $_DBHIj=0,$_DBIBD=0;$_DBHHK=5;break;case 4:$_DBHHK=$_DBIBD===$_DBHGk.length?3:9;break;case 8:$_DBHIj++,$_DBIBD++;$_DBHHK=5;break;case 3:$_DBIBD=0;$_DBHHK=9;break;case 9:$_DBIAz+=String.fromCharCode($_DBHJq.charCodeAt($_DBHIj)^$_DBHGk.charCodeAt($_DBIBD));$_DBHHK=8;break;case 7:$_DBIAz=$_DBIAz.split('^');return function($_DBICR){var $_DBIDX=2;for(;$_DBIDX!==1;){switch($_DBIDX){case 2:return $_DBIAz[$_DBICR];break;}}};break;}}}(')Py6Ki')};break;}}}();lTloj.$_Bc=function(){var $_DBIEU=2;for(;$_DBIEU!==1;){switch($_DBIEU){case 2:return{$_DBIFK:function $_DBIGX($_DBIHf,$_DBIIw){var $_DBIJp=2;for(;$_DBIJp!==10;){switch($_DBIJp){case 4:$_DBJAE[($_DBJBk+$_DBIIw)%$_DBIHf]=[];$_DBIJp=3;break;case 13:$_DBJCU-=1;$_DBIJp=6;break;case 9:var $_DBJDP=0;$_DBIJp=8;break;case 8:$_DBIJp=$_DBJDP<$_DBIHf?7:11;break;case 12:$_DBJDP+=1;$_DBIJp=8;break;case 6:$_DBIJp=$_DBJCU>=0?14:12;break;case 1:var $_DBJBk=0;$_DBIJp=5;break;case 2:var $_DBJAE=[];$_DBIJp=1;break;case 3:$_DBJBk+=1;$_DBIJp=5;break;case 14:$_DBJAE[$_DBJDP][($_DBJCU+$_DBIIw*$_DBJDP)%$_DBIHf]=$_DBJAE[$_DBJCU];$_DBIJp=13;break;case 5:$_DBIJp=$_DBJBk<$_DBIHf?4:9;break;case 7:var $_DBJCU=$_DBIHf-1;$_DBIJp=6;break;case 11:return $_DBJAE;break;}}}(6,3)};break;}}}();lTloj.$_CX=function(){return typeof lTloj.$_AG.$_DBHFa==='function'?lTloj.$_AG.$_DBHFa.apply(lTloj.$_AG,arguments):lTloj.$_AG.$_DBHFa;};lTloj.$_DP=function(){return typeof lTloj.$_Bc.$_DBIFK==='function'?lTloj.$_Bc.$_DBIFK.apply(lTloj.$_Bc,arguments):lTloj.$_Bc.$_DBIFK;};function lTloj(){}!function(){!function(t,e){var $_CID_=lTloj.$_CX,$_CICC=['$_CIGc'].concat($_CID_),$_CIEV=$_CICC[1];$_CICC.shift();var $_CIFe=$_CICC[0];'use strict';$_CIEV(23)==typeof module&&$_CIEV(23)==typeof module[$_CID_(14)]?module[$_CIEV(14)]=t[$_CIEV(37)]?e(t,!0):function(t){var $_CIIN=lTloj.$_CX,$_CIHh=['$_CJBU'].concat($_CIIN),$_CIJe=$_CIHh[1];$_CIHh.shift();var $_CJAS=$_CIHh[0];if(!t[$_CIJe(37)])throw new Error($_CIIN(17));return e(t);}:e(t);}(lTloj.$_CX(58)!=typeof window?window:this,function(window,t){var $_CJDQ=lTloj.$_CX,$_CJCo=['$_CJGh'].concat($_CJDQ),$_CJET=$_CJCo[1];$_CJCo.shift();var $_CJFU=$_CJCo[0];function $_BHR(t){var $_DAICL=lTloj.$_DP()[2][4];for(;$_DAICL!==lTloj.$_DP()[0][3];){switch($_DAICL){case lTloj.$_DP()[2][4]:for(var e in t)if($_CJDQ(23)==typeof t&&t[$_CJDQ(50)](e))return t;return{\"\\u006c\\u006f\\u0061\\u0064\\u0069\\u006e\\u0067\":$_CJDQ(20),\"\\u0073\\u006c\\u0069\\u0064\\u0065\":$_CJDQ(51),\"\\u0072\\u0065\\u0066\\u0072\\u0065\\u0073\\u0068\":$_CJET(8),\"\\u0066\\u0065\\u0065\\u0064\\u0062\\u0061\\u0063\\u006b\":$_CJET(21),\"\\u0066\\u0061\\u0069\\u006c\":$_CJET(43),\"\\u0073\\u0075\\u0063\\u0063\\u0065\\u0073\\u0073\":$_CJDQ(85),\"\\u0066\\u006f\\u0072\\u0062\\u0069\\u0064\\u0064\\u0065\\u006e\":$_CJET(47),\"\\u0065\\u0072\\u0072\\u006f\\u0072\":$_CJDQ(62),\"\\u006c\\u006f\\u0067\\u006f\":$_CJET(82),\"\\u0063\\u006c\\u006f\\u0073\\u0065\":$_CJET(55),\"\\u0076\\u006f\\u0069\\u0063\\u0065\":$_CJET(41)};break;}}}function $_BGE(t,e,n){var $_DAIDr=lTloj.$_DP()[0][4];for(;$_DAIDr!==lTloj.$_DP()[2][3];){switch($_DAIDr){case lTloj.$_DP()[2][4]:var r=t[$_CJET(56)]($_CJET(68)),i=r[0]||$_CJET(65),o=new ct(r)[$_CJDQ(53)](1)[$_CJET(84)](function(t,e,n){var $_CJIL=lTloj.$_CX,$_CJHR=['$_DABE'].concat($_CJIL),$_CJJm=$_CJHR[1];$_CJHR.shift();var $_DAAr=$_CJHR[0];return I+t;})[$_CJET(0)]($_CJET(38)),s=new lt(i);return n($_CJET(68)+r[1],s),$_CJET(67)==i&&s[$_CJDQ(32)]({\"\\u0074\\u0079\\u0070\\u0065\":$_CJET(35),\"\\u006e\\u0061\\u006d\\u0065\":o}),s[$_CJDQ(4)]({\"\\u0063\\u006c\\u0061\\u0073\\u0073\\u004e\\u0061\\u006d\\u0065\":o}),Q(e)?s[$_CJDQ(32)]({\"\\u0074\\u0065\\u0078\\u0074\\u0043\\u006f\\u006e\\u0074\\u0065\\u006e\\u0074\":e}):new ut(e)[$_CJDQ(18)](function(t,e){var $_DADn=lTloj.$_CX,$_DACx=['$_DAGY'].concat($_DADn),$_DAEZ=$_DACx[1];$_DACx.shift();var $_DAFP=$_DACx[0];s[$_DADn(57)]($_BGE(t,e,n));}),s;break;}}}function $_BFf(t){var $_DAIEJ=lTloj.$_DP()[0][4];for(;$_DAIEJ!==lTloj.$_DP()[2][3];){switch($_DAIEJ){case lTloj.$_DP()[2][4]:return{\"\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0067\\u0068\\u006f\\u0073\\u0074\":{},\"\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0062\\u006f\\u0078\":{\"\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0068\\u0065\\u0061\\u0064\\u0065\\u0072\":{\"\\u0073\\u0070\\u0061\\u006e\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0074\\u0069\\u0070\":{},\"\\u0073\\u0070\\u0061\\u006e\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0063\\u006c\\u006f\\u0073\\u0065\":{}},\"\\u002e\\u0070\\u006f\\u0070\\u0075\\u0070\\u005f\\u0077\\u0072\\u0061\\u0070\":t}};break;}}}function $_BEp(t,e){var $_DAIFq=lTloj.$_DP()[2][4];for(;$_DAIFq!==lTloj.$_DP()[0][3];){switch($_DAIFq){case lTloj.$_DP()[2][4]:var n=t[$_CJDQ(10)],r=n[$_CJDQ(87)],i=n[$_CJDQ(72)]/2;e[$_CJDQ(97)]();for(var o=0;o<52;o+=1){var s=Ut[o]%26*12+1,a=25=e[$_GHDo(182)]?$_GHEe(68):e[$_GHEe(122)](t);},\"\\u0024\\u005f\\u0047\\u0042\\u0047\":function(t){var $_GHIo=lTloj.$_CX,$_GHHh=['$_GIBW'].concat($_GHIo),$_GHJH=$_GHHh[1];$_GHHh.shift();var $_GIAd=$_GHHh[0];return this[$_GHJH(271)][$_GHJH(150)](t);},\"\\u0024\\u005f\\u0047\\u0043\\u0067\":function(t,e){var $_GIDo=lTloj.$_CX,$_GICf=['$_GIGD'].concat($_GIDo),$_GIEe=$_GICf[1];$_GICf.shift();var $_GIFG=$_GICf[0];return t>>e&1;},\"\\u0024\\u005f\\u0047\\u0044\\u0052\":function(t,i){var $_GIIf=lTloj.$_CX,$_GIHT=['$_GJBT'].concat($_GIIf),$_GIJa=$_GIHT[1];$_GIHT.shift();var $_GJAk=$_GIHT[0];var o=this;i||(i=o);for(var e=function(t,e){var $_GJDZ=lTloj.$_CX,$_GJCK=['$_GJGO'].concat($_GJDZ),$_GJEO=$_GJCK[1];$_GJCK.shift();var $_GJF_=$_GJCK[0];for(var n=0,r=i[$_GJDZ(251)]-1;0<=r;r-=1)1===o[$_GJEO(232)](e,r)&&(n=(n<<1)+o[$_GJEO(232)](t,r));return n;},n=$_GIJa(33),r=$_GIJa(33),s=t[$_GIIf(182)],a=0;a>16&255;if(r+=String[$_HAIH(206)](_),t[$_HAIH(122)](i+2)!==o[$_HAJu(256)]){var c=a>>8&255;if(r+=String[$_HAJu(206)](c),t[$_HAIH(122)](i+3)!==o[$_HAJu(256)]){var u=255&a;r+=String[$_HAJu(206)](u);}}}return r;},\"\\u0024\\u005f\\u0047\\u0048\\u0075\":function(t){var $_HBIf=lTloj.$_CX,$_HBHc=['$_HCBs'].concat($_HBIf),$_HBJ_=$_HBHc[1];$_HBHc.shift();var $_HCAM=$_HBHc[0];var e=4-t[$_HBJ_(182)]%4;if(e<4)for(var n=0;n>15;while(0<=--o){var _=32767&this[t],c=this[t++]>>15,u=a*_+c*s;i=((_=s*_+((32767&u)<<15)+n[r]+(1073741823&i))>>>30)+(u>>>15)+a*c+(i>>>30),n[r++]=1073741823&_;}return i;},30):$_HHJn(203)!=ht[$_HHJn(254)]?(y[$_HHIO(261)][$_HHIO(202)]=function D(t,e,n,r,i,o){var $_IBDa=lTloj.$_CX,$_IBCL=['$_IBGF'].concat($_IBDa),$_IBEE=$_IBCL[1];$_IBCL.shift();var $_IBFu=$_IBCL[0];while(0<=--o){var s=e*this[t++]+n[r]+i;i=Math[$_IBEE(213)](s/67108864),n[r++]=67108863&s;}return i;},26):(y[$_HHJn(261)][$_HHIO(202)]=function M(t,e,n,r,i,o){var $_IBIy=lTloj.$_CX,$_IBHx=['$_ICBj'].concat($_IBIy),$_IBJJ=$_IBHx[1];$_IBHx.shift();var $_ICAb=$_IBHx[0];var s=16383&e,a=e>>14;while(0<=--o){var _=16383&this[t],c=this[t++]>>14,u=a*_+c*s;i=((_=s*_+((16383&u)<<14)+n[r]+i)>>28)+(u>>14)+a*c,n[r++]=268435455&_;}return i;},28),y[$_HHJn(261)][$_HHJn(211)]=t,y[$_HHJn(261)][$_HHJn(200)]=(1<>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n;break;}}}function m(t){var $_DBCJs=lTloj.$_DP()[2][4];for(;$_DBCJs!==lTloj.$_DP()[0][3];){switch($_DBCJs){case lTloj.$_DP()[2][4]:this[$_HHIO(391)]=t;$_DBCJs=lTloj.$_DP()[0][3];break;}}}function x(t){var $_DBDAj=lTloj.$_DP()[0][4];for(;$_DBDAj!==lTloj.$_DP()[2][3];){switch($_DBDAj){case lTloj.$_DP()[2][4]:this[$_HHIO(391)]=t,this[$_HHJn(372)]=t[$_HHJn(309)](),this[$_HHJn(335)]=32767&this[$_HHJn(372)],this[$_HHIO(382)]=this[$_HHJn(372)]>>15,this[$_HHJn(364)]=(1<>15)*this[$_IFIr(335)]&this[$_IFIr(364)])<<15)&t[$_IFIr(200)];t[n=e+this[$_IFIr(391)][$_IFJQ(369)]]+=this[$_IFIr(391)][$_IFJQ(202)](0,r,t,e,0,this[$_IFJQ(391)][$_IFIr(369)]);while(t[n]>=t[$_IFIr(216)])t[n]-=t[$_IFJQ(216)],t[++n]++;}t[$_IFJQ(374)](),t[$_IFJQ(356)](this[$_IFJQ(391)][$_IFJQ(369)],t),0<=t[$_IFIr(390)](this[$_IFIr(391)])&&t[$_IFIr(360)](this[$_IFJQ(391)],t);},x[$_HHJn(261)][$_HHIO(328)]=function H(t,e,n){var $_IGDz=lTloj.$_CX,$_IGCe=['$_IGGN'].concat($_IGDz),$_IGEt=$_IGCe[1];$_IGCe.shift();var $_IGFL=$_IGCe[0];t[$_IGDz(322)](e,n),this[$_IGEt(345)](n);},x[$_HHJn(261)][$_HHJn(371)]=function $(t,e){var $_IGIJ=lTloj.$_CX,$_IGHy=['$_IHBe'].concat($_IGIJ),$_IGJA=$_IGHy[1];$_IGHy.shift();var $_IHAO=$_IGHy[0];t[$_IGIJ(346)](e),this[$_IGJA(345)](e);},y[$_HHJn(261)][$_HHIO(325)]=function F(t){var $_IHDo=lTloj.$_CX,$_IHCP=['$_IHGK'].concat($_IHDo),$_IHEV=$_IHCP[1];$_IHCP.shift();var $_IHFO=$_IHCP[0];for(var e=this[$_IHDo(369)]-1;0<=e;--e)t[e]=this[e];t[$_IHDo(369)]=this[$_IHDo(369)],t[$_IHDo(307)]=this[$_IHDo(307)];},y[$_HHJn(261)][$_HHIO(324)]=function q(t){var $_IHIv=lTloj.$_CX,$_IHHq=['$_IIBk'].concat($_IHIv),$_IHJL=$_IHHq[1];$_IHHq.shift();var $_IIAY=$_IHHq[0];this[$_IHJL(369)]=1,this[$_IHIv(307)]=t<0?-1:0,0this[$_IIEj(211)]?(this[this[$_IIDS(369)]-1]|=(_&(1<>this[$_IIEj(211)]-a):this[this[$_IIDS(369)]-1]|=_<=this[$_IIDS(211)]&&(a-=this[$_IIDS(211)]));}8==n&&0!=(128&t[0])&&(this[$_IIEj(307)]=-1,0>i|a,a=(this[n]&o)<=this[$_JAJu(369)])e[$_JAIA(369)]=0;else{var r=t%this[$_JAIA(211)],i=this[$_JAJu(211)]-r,o=(1<>r;for(var s=n+1;s>r;0>=this[$_JBDV(211)];if(t[$_JBEL(369)]>=this[$_JBDV(211)];r+=this[$_JBDV(307)];}else{r+=this[$_JBDV(307)];while(n>=this[$_JBDV(211)];r-=t[$_JBEL(307)];}e[$_JBDV(307)]=r<0?-1:0,r<-1?e[n++]=this[$_JBEL(216)]+r:0=e[$_JCDq(216)]&&(t[n+e[$_JCDq(369)]]-=e[$_JCE_(216)],t[n+e[$_JCDq(369)]+1]=1);}0>this[$_JCJK(306)]:0),h=this[$_JCII(311)]/l,f=(1<>a)&&(i=!0,o=g(n));while(0<=s)a>(a+=this[$_JEJs(211)]-e)):(n=this[s]>>(a-=e)&r,a<=0&&(a+=this[$_JEJs(211)],--s)),0>6|192):(n[--e]=63&i|128,n[--e]=i>>6&63|128,n[--e]=i>>12|224);}n[--e]=0;var o=new l(),s=[];while(2>3);if(null==e)return null;var n=this[$_JJJB(388)](e);if(null==n)return null;var r=n[$_JJJB(396)](16);return 0==(1&r[$_JJJB(182)])?r:$_JJJB(44)+r;},E;}();oe[$_CJDQ(332)]=$_CJET(337);function U(t){var $_DBDCp=lTloj.$_DP()[2][4];for(;$_DBDCp!==lTloj.$_DP()[2][3];){switch($_DBDCp){case lTloj.$_DP()[0][4]:function _(t,e){var $_DBDDE=lTloj.$_DP()[0][4];for(;$_DBDDE!==lTloj.$_DP()[2][3];){switch($_DBDDE){case lTloj.$_DP()[2][4]:return t<>>32-e;break;}}}function c(t,e){var $_DBDEg=lTloj.$_DP()[2][4];for(;$_DBDEg!==lTloj.$_DP()[2][3];){switch($_DBDEg){case lTloj.$_DP()[0][4]:var n,r,i,o,s;return i=2147483648&t,o=2147483648&e,s=(1073741823&t)+(1073741823&e),(n=1073741824&t)&(r=1073741824&e)?2147483648^s^i^o:n|r?1073741824&s?3221225472^s^i^o:1073741824^s^i^o:s^i^o;break;}}}function e(t,e,n,r,i,o,s){var $_DBDFC=lTloj.$_DP()[2][4];for(;$_DBDFC!==lTloj.$_DP()[2][3];){switch($_DBDFC){case lTloj.$_DP()[2][4]:return c(_(t=c(t,c(c(function a(t,e,n){var $_BAAIE=lTloj.$_CX,$_BAAHh=['$_BABBr'].concat($_BAAIE),$_BAAJE=$_BAAHh[1];$_BAAHh.shift();var $_BABAv=$_BAAHh[0];return t&e|~t&n;}(e,n,r),i),s)),o),e);break;}}}function n(t,e,n,r,i,o,s){var $_DBDGP=lTloj.$_DP()[0][4];for(;$_DBDGP!==lTloj.$_DP()[0][3];){switch($_DBDGP){case lTloj.$_DP()[0][4]:return c(_(t=c(t,c(c(function a(t,e,n){var $_BABDg=lTloj.$_CX,$_BABCq=['$_BABG_'].concat($_BABDg),$_BABEX=$_BABCq[1];$_BABCq.shift();var $_BABFV=$_BABCq[0];return t&n|e&~n;}(e,n,r),i),s)),o),e);break;}}}function r(t,e,n,r,i,o,s){var $_DBDHx=lTloj.$_DP()[0][4];for(;$_DBDHx!==lTloj.$_DP()[2][3];){switch($_DBDHx){case lTloj.$_DP()[2][4]:return c(_(t=c(t,c(c(function a(t,e,n){var $_BABIk=lTloj.$_CX,$_BABHU=['$_BACBF'].concat($_BABIk),$_BABJC=$_BABHU[1];$_BABHU.shift();var $_BACAO=$_BABHU[0];return t^e^n;}(e,n,r),i),s)),o),e);break;}}}function i(t,e,n,r,i,o,s){var $_DBDIF=lTloj.$_DP()[2][4];for(;$_DBDIF!==lTloj.$_DP()[2][3];){switch($_DBDIF){case lTloj.$_DP()[2][4]:return c(_(t=c(t,c(c(function a(t,e,n){var $_BACDl=lTloj.$_CX,$_BACCs=['$_BACGg'].concat($_BACDl),$_BACEZ=$_BACCs[1];$_BACCs.shift();var $_BACFE=$_BACCs[0];return e^(t|~n);}(e,n,r),i),s)),o),e);break;}}}function o(t){var $_DBDJN=lTloj.$_DP()[0][4];for(;$_DBDJN!==lTloj.$_DP()[0][3];){switch($_DBDJN){case lTloj.$_DP()[0][4]:var e,n=$_CJET(33),r=$_CJDQ(33);for(e=0;e<=3;e++)n+=(r=$_CJDQ(44)+(t>>>8*e&255)[$_CJET(396)](16))[$_CJET(373)](r[$_CJDQ(182)]-2,2);return n;break;}}}var s,a,u,l,h,f,d,p,g,v;for(s=function m(t){var $_BACIu=lTloj.$_CX,$_BACHw=['$_BADBN'].concat($_BACIu),$_BACJL=$_BACHw[1];$_BACHw.shift();var $_BADAS=$_BACHw[0];var e,n=t[$_BACJL(182)],r=n+8,i=16*(1+(r-r%64)/64),o=Array(i-1),s=0,a=0;while(a>>29,o;}(t=function y(t){var $_BADDW=lTloj.$_CX,$_BADCC=['$_BADGD'].concat($_BADDW),$_BADEK=$_BADCC[1];$_BADCC.shift();var $_BADFe=$_BADCC[0];t=t[$_BADEK(49)](/\\r\\n/g,$_BADDW(343));for(var e=$_BADEK(33),n=0;n>6|192):(e+=String[$_BADEK(206)](r>>12|224),e+=String[$_BADDW(206)](r>>6&63|128)),e+=String[$_BADDW(206)](63&r|128));}return e;}(t)),d=1732584193,p=4023233417,g=2562383102,v=271733878,a=0;a>>2]>>>24-o%4*8&255;e[r+o>>>2]|=s<<24-(r+o)%4*8;}else for(o=0;o>>2]=n[o>>>2];return this[$_BAIEn(362)]+=i,this;},\"\\u0063\\u006c\\u0061\\u006d\\u0070\":function(){var $_BAIIa=lTloj.$_CX,$_BAIHC=['$_BAJBD'].concat($_BAIIa),$_BAIJu=$_BAIHC[1];$_BAIHC.shift();var $_BAJAV=$_BAIHC[0];var t=this[$_BAIIa(340)],e=this[$_BAIJu(362)];t[e>>>2]&=4294967295<<32-e%4*8,t[$_BAIIa(182)]=Math[$_BAIJu(316)](e/4);}}),o=e[$_BADI_(327)]={},l=o[$_BADJX(387)]={\"\\u0070\\u0061\\u0072\\u0073\\u0065\":function(t){var $_BAJDa=lTloj.$_CX,$_BAJCP=['$_BAJGg'].concat($_BAJDa),$_BAJEL=$_BAJCP[1];$_BAJCP.shift();var $_BAJFg=$_BAJCP[0];for(var e=t[$_BAJEL(182)],n=[],r=0;r>>2]|=(255&t[$_BAJDa(137)](r))<<24-r%4*8;return new u[($_BAJEL(208))](n,e);}},s=o[$_BADJX(380)]={\"\\u0070\\u0061\\u0072\\u0073\\u0065\":function(t){var $_BAJIL=lTloj.$_CX,$_BAJHk=['$_BBABL'].concat($_BAJIL),$_BAJJg=$_BAJHk[1];$_BAJHk.shift();var $_BBAAv=$_BAJHk[0];return l[$_BAJJg(267)](unescape(encodeURIComponent(t)));}},a=r[$_BADI_(318)]=i[$_BADI_(305)]({\"\\u0072\\u0065\\u0073\\u0065\\u0074\":function(){var $_BBADx=lTloj.$_CX,$_BBACH=['$_BBAGa'].concat($_BBADx),$_BBAEF=$_BBACH[1];$_BBACH.shift();var $_BBAFL=$_BBACH[0];this[$_BBADx(361)]=new u[($_BBAEF(208))](),this[$_BBAEF(394)]=0;},\"\\u0024\\u005f\\u0048\\u0044\\u0059\":function(t){var $_BBAIc=lTloj.$_CX,$_BBAHu=['$_BBBBI'].concat($_BBAIc),$_BBAJm=$_BBAHu[1];$_BBAHu.shift();var $_BBBAl=$_BBAHu[0];$_BBAIc(31)==typeof t&&(t=s[$_BBAJm(267)](t)),this[$_BBAIc(361)][$_BBAIc(357)](t),this[$_BBAIc(394)]+=t[$_BBAIc(362)];},\"\\u0024\\u005f\\u0048\\u0045\\u0053\":function(t){var $_BBBDC=lTloj.$_CX,$_BBBCH=['$_BBBGw'].concat($_BBBDC),$_BBBEh=$_BBBCH[1];$_BBBCH.shift();var $_BBBFP=$_BBBCH[0];var e=this[$_BBBDC(361)],n=e[$_BBBEh(340)],r=e[$_BBBEh(362)],i=this[$_BBBEh(323)],o=r/(4*i),s=(o=t?Math[$_BBBDC(316)](o):Math[$_BBBDC(253)]((0|o)-this[$_BBBDC(397)],0))*i,a=Math[$_BBBEh(384)](4*s,r);if(s){for(var _=0;_>>2]>>>24-a%4*8&255;s[$_BBEIx(140)](_);}return s;}};}}),h=e[$_BADJX(471)]={},f=r[$_BADI_(486)]=i[$_BADJX(305)]({\"\\u0063\\u0072\\u0065\\u0061\\u0074\\u0065\\u0045\\u006e\\u0063\\u0072\\u0079\\u0070\\u0074\\u006f\\u0072\":function(t,e){var $_BBFDt=lTloj.$_CX,$_BBFCQ=['$_BBFGD'].concat($_BBFDt),$_BBFEW=$_BBFCQ[1];$_BBFCQ.shift();var $_BBFFg=$_BBFCQ[0];return this[$_BBFDt(422)][$_BBFDt(304)](t,e);},\"\\u0069\\u006e\\u0069\\u0074\":function(t,e){var $_BBFIK=lTloj.$_CX,$_BBFHC=['$_BBGBp'].concat($_BBFIK),$_BBFJK=$_BBFHC[1];$_BBFHC.shift();var $_BBGAG=$_BBFHC[0];this[$_BBFJK(421)]=t,this[$_BBFJK(445)]=e;}}),d=h[$_BADJX(477)]=((t=f[$_BADJX(305)]())[$_BADI_(422)]=t[$_BADI_(305)]({\"\\u0070\\u0072\\u006f\\u0063\\u0065\\u0073\\u0073\\u0042\\u006c\\u006f\\u0063\\u006b\":function(t,e){var $_BBGDx=lTloj.$_CX,$_BBGCZ=['$_BBGGf'].concat($_BBGDx),$_BBGEg=$_BBGCZ[1];$_BBGCZ.shift();var $_BBGFu=$_BBGCZ[0];var n=this[$_BBGDx(421)],r=n[$_BBGEg(323)];(function s(t,e,n){var $_BBGIn=lTloj.$_CX,$_BBGHB=['$_BBHBp'].concat($_BBGIn),$_BBGJy=$_BBGHB[1];$_BBGHB.shift();var $_BBHAR=$_BBGHB[0];var r=this[$_BBGJy(445)];if(r){var i=r;this[$_BBGIn(445)]=undefined;}else var i=this[$_BBGJy(403)];for(var o=0;o>>8^255&i^99,y[n]=i;var o=t[w[i]=n],s=t[o],a=t[s],_=257*t[i]^16843008*i;b[n]=_<<24|_>>>8,x[n]=_<<16|_>>>16,E[n]=_<<8|_>>>24,C[n]=_;_=16843009*a^65537*s^257*o^16843008*n;S[i]=_<<24|_>>>8,T[i]=_<<16|_>>>16,k[i]=_<<8|_>>>24,A[i]=_,n?(n=o^t[t[t[a^o]]],r^=t[t[r]]):n=r=1;}}();var D=[0,1,2,4,8,16,32,64,128,27,54],M=_[$_BADI_(449)]=g[$_BADJX(305)]({\"\\u0024\\u005f\\u0049\\u0041\\u0057\":function(){var $_BCAIM=lTloj.$_CX,$_BCAHT=['$_BCBBY'].concat($_BCAIM),$_BCAJl=$_BCAHT[1];$_BCAHT.shift();var $_BCBAy=$_BCAHT[0];if(!this[$_BCAIM(423)]||this[$_BCAIM(483)]!==this[$_BCAJl(366)]){for(var t=this[$_BCAJl(483)]=this[$_BCAIM(366)],e=t[$_BCAJl(340)],n=t[$_BCAIM(362)]/4,r=4*(1+(this[$_BCAIM(423)]=6+n)),i=this[$_BCAIM(441)]=[],o=0;o>>24]<<24|y[s>>>16&255]<<16|y[s>>>8&255]<<8|y[255&s]):(s=y[(s=s<<8|s>>>24)>>>24]<<24|y[s>>>16&255]<<16|y[s>>>8&255]<<8|y[255&s],s^=D[o/n|0]<<24),i[o]=i[o-n]^s;}for(var a=this[$_BCAJl(446)]=[],_=0;_>>24]]^T[y[s>>>16&255]]^k[y[s>>>8&255]]^A[y[255&s]];}}},\"\\u0065\\u006e\\u0063\\u0072\\u0079\\u0070\\u0074\\u0042\\u006c\\u006f\\u0063\\u006b\":function(t,e){var $_BCBDi=lTloj.$_CX,$_BCBCi=['$_BCBGQ'].concat($_BCBDi),$_BCBEM=$_BCBCi[1];$_BCBCi.shift();var $_BCBFj=$_BCBCi[0];this[$_BCBEM(469)](t,e,this[$_BCBDi(441)],b,x,E,C,y);},\"\\u0024\\u005f\\u004a\\u0044\\u0058\":function(t,e,n,r,i,o,s,a){var $_BCBIK=lTloj.$_CX,$_BCBHR=['$_BCCBE'].concat($_BCBIK),$_BCBJO=$_BCBHR[1];$_BCBHR.shift();var $_BCCAw=$_BCBHR[0];for(var _=this[$_BCBIK(423)],c=t[e]^n[0],u=t[e+1]^n[1],l=t[e+2]^n[2],h=t[e+3]^n[3],f=4,d=1;d<_;d++){var p=r[c>>>24]^i[u>>>16&255]^o[l>>>8&255]^s[255&h]^n[f++],g=r[u>>>24]^i[l>>>16&255]^o[h>>>8&255]^s[255&c]^n[f++],v=r[l>>>24]^i[h>>>16&255]^o[c>>>8&255]^s[255&u]^n[f++],m=r[h>>>24]^i[c>>>16&255]^o[u>>>8&255]^s[255&l]^n[f++];c=p,u=g,l=v,h=m;}p=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&h])^n[f++],g=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[255&c])^n[f++],v=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[f++],m=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^n[f++];t[e]=p,t[e+1]=g,t[e+2]=v,t[e+3]=m;},\"\\u006b\\u0065\\u0079\\u0053\\u0069\\u007a\\u0065\":8});return e[$_BADI_(449)]=g[$_BADI_(425)](M),e[$_BADJX(449)];}();oe[$_CJDQ(332)]=$_CJET(363);var G=function(t){var $_BCCDp=lTloj.$_CX,$_BCCCS=['$_BCCGg'].concat($_BCCDp),$_BCCEu=$_BCCCS[1];$_BCCCS.shift();var $_BCCFQ=$_BCCCS[0];var s=function(t){var $_BCCIO=lTloj.$_CX,$_BCCHP=['$_BCDBA'].concat($_BCCIO),$_BCCJh=$_BCCHP[1];$_BCCHP.shift();var $_BCDAw=$_BCCHP[0];return $_BCCJh(15)==typeof t;},a=function(t){var $_BCDDZ=lTloj.$_CX,$_BCDCd=['$_BCDGy'].concat($_BCDDZ),$_BCDEJ=$_BCDCd[1];$_BCDCd.shift();var $_BCDFG=$_BCDCd[0];t();};function r(){var $_DBEBq=lTloj.$_DP()[2][4];for(;$_DBEBq!==lTloj.$_DP()[2][3];){switch($_DBEBq){case lTloj.$_DP()[2][4]:this[$_BCCDp(482)]=this[$_BCCDp(467)]=null;$_DBEBq=lTloj.$_DP()[2][3];break;}}}var _=function(e,t){var $_BCDIl=lTloj.$_CX,$_BCDHu=['$_BCEBU'].concat($_BCDIl),$_BCDJX=$_BCDHu[1];$_BCDHu.shift();var $_BCEAR=$_BCDHu[0];if(e===t)e[$_BCDIl(475)](new TypeError());else if(t instanceof u)t[$_BCDJX(466)](function(t){var $_BCEDC=lTloj.$_CX,$_BCECA=['$_BCEGO'].concat($_BCEDC),$_BCEEM=$_BCECA[1];$_BCECA.shift();var $_BCEFf=$_BCECA[0];_(e,t);},function(t){var $_BCEIB=lTloj.$_CX,$_BCEH_=['$_BCFBa'].concat($_BCEIB),$_BCEJc=$_BCEH_[1];$_BCEH_.shift();var $_BCFAe=$_BCEH_[0];e[$_BCEIB(475)](t);});else if(s(t)||function(t){var $_BCFDn=lTloj.$_CX,$_BCFCj=['$_BCFGB'].concat($_BCFDn),$_BCFEL=$_BCFCj[1];$_BCFCj.shift();var $_BCFFs=$_BCFCj[0];return $_BCFDn(23)==typeof t&&null!==t;}(t)){var n;try{n=t[$_BCDJX(466)];}catch(i){return u[$_BCDIl(437)](i),void e[$_BCDIl(475)](i);}var r=!1;if(s(n))try{n[$_BCDJX(381)](t,function(t){var $_BCFIy=lTloj.$_CX,$_BCFHO=['$_BCGBF'].concat($_BCFIy),$_BCFJO=$_BCFHO[1];$_BCFHO.shift();var $_BCGAj=$_BCFHO[0];r||(r=!0,_(e,t));},function(t){var $_BCGDZ=lTloj.$_CX,$_BCGCW=['$_BCGGY'].concat($_BCGDZ),$_BCGEC=$_BCGCW[1];$_BCGCW.shift();var $_BCGFL=$_BCGCW[0];r||(r=!0,e[$_BCGEC(475)](t));});}catch(i){if(r)return;r=!0,e[$_BCDJX(475)](i);}else e[$_BCDIl(478)](t);}else e[$_BCDIl(478)](t);};function u(t){var $_DBECT=lTloj.$_DP()[0][4];for(;$_DBECT!==lTloj.$_DP()[2][3];){switch($_DBECT){case lTloj.$_DP()[2][4]:var e=this;if(e[$_BCCEu(487)]=e[$_BCCEu(494)],e[$_BCCEu(432)]=new r(),e[$_BCCDp(424)]=new r(),s(t))try{t(function(t){var $_BCGIF=lTloj.$_CX,$_BCGHQ=['$_BCHBS'].concat($_BCGIF),$_BCGJB=$_BCGHQ[1];$_BCGHQ.shift();var $_BCHAH=$_BCGHQ[0];e[$_BCGIF(478)](t);},function(t){var $_BCHDb=lTloj.$_CX,$_BCHCk=['$_BCHGq'].concat($_BCHDb),$_BCHEH=$_BCHCk[1];$_BCHCk.shift();var $_BCHFt=$_BCHCk[0];e[$_BCHDb(475)](t);});}catch(n){u[$_BCCEu(437)](n);}$_DBECT=lTloj.$_DP()[0][3];break;}}}var e=!(r[$_BCCDp(261)]={\"\\u0065\\u006e\\u0071\\u0075\\u0065\\u0075\\u0065\":function(t){var $_BCHIp=lTloj.$_CX,$_BCHHE=['$_BCIBI'].concat($_BCHIp),$_BCHJs=$_BCHHE[1];$_BCHHE.shift();var $_BCIAw=$_BCHHE[0];var e=this,n={\"\\u0065\\u006c\\u0065\":t,\"\\u006e\\u0065\\u0078\\u0074\":null};null===e[$_BCHIp(482)]?e[$_BCHIp(482)]=this[$_BCHIp(467)]=n:(e[$_BCHJs(467)][$_BCHJs(205)]=n,e[$_BCHIp(467)]=e[$_BCHJs(467)][$_BCHJs(205)]);},\"\\u0064\\u0065\\u0071\\u0075\\u0065\\u0075\\u0065\":function(){var $_BCIDz=lTloj.$_CX,$_BCICj=['$_BCIGC'].concat($_BCIDz),$_BCIEk=$_BCICj[1];$_BCICj.shift();var $_BCIFh=$_BCICj[0];if(null===this[$_BCIEk(482)])throw new Error($_BCIEk(472));var t=this[$_BCIDz(482)][$_BCIDz(427)];return this[$_BCIEk(482)]=this[$_BCIDz(482)][$_BCIEk(205)],t;},\"\\u0069\\u0073\\u0045\\u006d\\u0070\\u0074\\u0079\":function(){var $_BCIIT=lTloj.$_CX,$_BCIHa=['$_BCJBs'].concat($_BCIIT),$_BCIJJ=$_BCIHa[1];$_BCIHa.shift();var $_BCJAW=$_BCIHa[0];return null===this[$_BCIJJ(482)];},\"\\u0063\\u006c\\u0065\\u0061\\u0072\":function(){var $_BCJDm=lTloj.$_CX,$_BCJCa=['$_BCJGk'].concat($_BCJDm),$_BCJEh=$_BCJCa[1];$_BCJCa.shift();var $_BCJFr=$_BCJCa[0];this[$_BCJDm(482)]=this[$_BCJDm(415)]=null;},\"\\u0065\\u0061\\u0063\\u0068\":function(t){var $_BCJIn=lTloj.$_CX,$_BCJHi=['$_BDABP'].concat($_BCJIn),$_BCJJ_=$_BCJHi[1];$_BCJHi.shift();var $_BDAAV=$_BCJHi[0];this[$_BCJJ_(451)]()||(t(this[$_BCJIn(488)]()),this[$_BCJIn(463)](t));}});return u[$_BCCDp(401)]=function(){var $_BDADd=lTloj.$_CX,$_BDACv=['$_BDAGT'].concat($_BDADd),$_BDAEr=$_BDACv[1];$_BDACv.shift();var $_BDAFR=$_BDACv[0];e=!0;},u[$_BCCEu(437)]=function(t){var $_BDAIO=lTloj.$_CX,$_BDAHH=['$_BDBBL'].concat($_BDAIO),$_BDAJw=$_BDAHH[1];$_BDAHH.shift();var $_BDBAm=$_BDAHH[0];n(t,!0),e&&$_BDAJw(58)!=typeof console&&console[$_BDAIO(6)](t);},u[$_BCCEu(261)]={\"\\u0050\\u0045\\u004e\\u0044\\u0049\\u004e\\u0047\":0,\"\\u0052\\u0045\\u0053\\u004f\\u004c\\u0056\\u0045\\u0044\":1,\"\\u0052\\u0045\\u004a\\u0045\\u0043\\u0054\\u0045\\u0044\":-1,\"\\u0024\\u005f\\u004a\\u0049\\u004b\":function(t){var $_BDBDJ=lTloj.$_CX,$_BDBCc=['$_BDBGy'].concat($_BDBDJ),$_BDBEf=$_BDBCc[1];$_BDBCc.shift();var $_BDBFO=$_BDBCc[0];var e=this;e[$_BDBEf(487)]===e[$_BDBEf(494)]&&(e[$_BDBEf(487)]=e[$_BDBDJ(438)],e[$_BDBEf(404)]=t,e[$_BDBEf(419)]());},\"\\u0024\\u005f\\u004a\\u0047\\u007a\":function(t){var $_BDBIo=lTloj.$_CX,$_BDBHu=['$_BDCBV'].concat($_BDBIo),$_BDBJp=$_BDBHu[1];$_BDBHu.shift();var $_BDCAT=$_BDBHu[0];var e=this;e[$_BDBIo(487)]===e[$_BDBIo(494)]&&(e[$_BDBJp(487)]=e[$_BDBJp(417)],e[$_BDBJp(428)]=t,e[$_BDBJp(419)]());},\"\\u0024\\u005f\\u0042\\u0041\\u0045\\u0043\":function(){var $_BDCDA=lTloj.$_CX,$_BDCCu=['$_BDCGp'].concat($_BDCDA),$_BDCEB=$_BDCCu[1];$_BDCCu.shift();var $_BDCFJ=$_BDCCu[0];var t,e,n=this,r=n[$_BDCDA(487)];r===n[$_BDCDA(438)]?(t=n[$_BDCEB(432)],n[$_BDCDA(424)][$_BDCEB(439)](),e=n[$_BDCEB(404)]):r===n[$_BDCEB(417)]&&(t=n[$_BDCDA(424)],n[$_BDCEB(432)][$_BDCEB(439)](),e=n[$_BDCDA(428)]),t[$_BDCEB(463)](function(t){var $_BDCIo=lTloj.$_CX,$_BDCHY=['$_BDDBn'].concat($_BDCIo),$_BDCJJ=$_BDCHY[1];$_BDCHY.shift();var $_BDDAI=$_BDCHY[0];a(function(){var $_BDDDt=lTloj.$_CX,$_BDDCx=['$_BDDGc'].concat($_BDDDt),$_BDDEe=$_BDDCx[1];$_BDDCx.shift();var $_BDDFs=$_BDDCx[0];t(r,e);});});},\"\\u0024\\u005f\\u0042\\u0041\\u0047\\u0065\":function(n,r,i){var $_BDDIA=lTloj.$_CX,$_BDDH_=['$_BDEBj'].concat($_BDDIA),$_BDDJy=$_BDDH_[1];$_BDDH_.shift();var $_BDEAd=$_BDDH_[0];var o=this;a(function(){var $_BDEDk=lTloj.$_CX,$_BDECj=['$_BDEGm'].concat($_BDEDk),$_BDEEK=$_BDECj[1];$_BDECj.shift();var $_BDEFv=$_BDECj[0];if(s(r)){var t;try{t=r(i);}catch(e){return u[$_BDEDk(437)](e),void o[$_BDEDk(475)](e);}_(o,t);}else n===o[$_BDEEK(438)]?o[$_BDEEK(478)](i):n===o[$_BDEDk(417)]&&o[$_BDEEK(475)](i);});},\"\\u0074\\u0068\\u0065\\u006e\":function(n,r){var $_BDEIp=lTloj.$_CX,$_BDEHu=['$_BDFBn'].concat($_BDEIp),$_BDEJX=$_BDEHu[1];$_BDEHu.shift();var $_BDFAK=$_BDEHu[0];var t=this,i=new u();return t[$_BDEIp(432)][$_BDEJX(402)](function(t,e){var $_BDFDy=lTloj.$_CX,$_BDFCT=['$_BDFGS'].concat($_BDFDy),$_BDFEk=$_BDFCT[1];$_BDFCT.shift();var $_BDFFp=$_BDFCT[0];i[$_BDFDy(447)](t,n,e);}),t[$_BDEIp(424)][$_BDEIp(402)](function(t,e){var $_BDFIp=lTloj.$_CX,$_BDFHh=['$_BDGBU'].concat($_BDFIp),$_BDFJq=$_BDFHh[1];$_BDFHh.shift();var $_BDGAR=$_BDFHh[0];i[$_BDFIp(447)](t,r,e);}),t[$_BDEIp(487)]===t[$_BDEJX(438)]?t[$_BDEIp(419)]():t[$_BDEJX(487)]===t[$_BDEIp(417)]&&t[$_BDEJX(419)](),i;}},u[$_BCCDp(431)]=function(c){var $_BDGDK=lTloj.$_CX,$_BDGCL=['$_BDGGE'].concat($_BDGDK),$_BDGEQ=$_BDGCL[1];$_BDGCL.shift();var $_BDGFs=$_BDGCL[0];return new u(function(r,i){var $_BDGId=lTloj.$_CX,$_BDGHK=['$_BDHBC'].concat($_BDGId),$_BDGJa=$_BDGHK[1];$_BDGHK.shift();var $_BDHAg=$_BDGHK[0];var o=c[$_BDGId(182)],s=0,a=!1,_=[];function n(t,e,n){var $_DBEDE=lTloj.$_DP()[2][4];for(;$_DBEDE!==lTloj.$_DP()[2][3];){switch($_DBEDE){case lTloj.$_DP()[0][4]:a||(null!==t&&(a=!0,i(t)),_[n]=e,(s+=1)===o&&(a=!0,r(_)));$_DBEDE=lTloj.$_DP()[2][3];break;}}}for(var t=0;t=e[$_CJJEz(1049)]&&e[$_CJJDW(919)](t);}},\"\\u0024\\u005f\\u0043\\u0047\\u0048\\u0056\":function(t,e){var $_CJJIW=lTloj.$_CX,$_CJJHz=['$_DAABF'].concat($_CJJIW),$_CJJJd=$_CJJHz[1];$_CJJHz.shift();var $_DAAAL=$_CJJHz[0];var n=this,r=n[$_CJJJd(498)],i=n[$_CJJJd(405)],o=n[$_CJJIW(13)],s=n[$_CJJIW(459)];try{if(i[$_CJJIW(414)]()!==$t)return;if(n[$_CJJIW(901)]&&$_CJJIW(489)!=t[$_CJJJd(54)])return;v(function(){var $_DAADj=lTloj.$_CX,$_DAACh=['$_DAAGR'].concat($_DAADj),$_DAAEh=$_DAACh[1];$_DAACh.shift();var $_DAAFB=$_DAACh[0];o[$_DAADj(184)]&&s($_DAADj(971))[$_DAADj(32)]({\"\\u0074\\u0061\\u0072\\u0067\\u0065\\u0074\":$_DAADj(958),\"\\u0068\\u0072\\u0065\\u0066\":o[$_DAADj(184)]});},0),t[$_CJJIW(910)](),i[$_CJJIW(680)]($_CJJIW(720));var a=n[$_CJJJd(898)],_=e?n[$_CJJIW(1060)][$_CJJJd(223)]:t[$_CJJJd(916)]()/a-n[$_CJJIW(986)],c=e?n[$_CJJIW(1060)][$_CJJJd(233)]:n[$_CJJIW(1050)]-t[$_CJJJd(967)]()/a;n[$_CJJIW(840)]=$_HP()-n[$_CJJIW(991)],n[$_CJJIW(1078)][$_CJJIW(1092)]([Math[$_CJJIW(156)](_),Math[$_CJJIW(156)](c),n[$_CJJIW(840)]]);var u=parseInt(_),l=n[$_CJJIW(1078)][$_CJJJd(1069)](n[$_CJJIW(1078)][$_CJJJd(1051)](),n[$_CJJJd(13)][$_CJJIW(1045)],n[$_CJJIW(13)][$_CJJIW(307)]);r[$_CJJJd(1034)](u,l,n[$_CJJIW(840)]),n[$_CJJIW(899)][$_CJJIW(1081)]();}catch(t){r[$_CJJJd(64)](t);}return n;},\"\\u0024\\u005f\\u0043\\u0041\\u0042\\u0063\":function(){var $_DAAIt=lTloj.$_CX,$_DAAHh=['$_DABBq'].concat($_DAAIt),$_DAAJB=$_DAAHh[1];$_DAAHh.shift();var $_DABAZ=$_DAAHh[0];var e=this,n=e[$_DAAJB(459)],r=e[$_DAAJB(13)],i=e[$_DAAJB(405)];n($_DAAJB(826))[$_DAAIt(792)]()[$_DAAIt(869)](1),n($_DAAJB(872))[$_DAAIt(869)](1)[$_DAAJB(792)](),n($_DAAJB(841))[$_DAAIt(869)](1),R(r,$_DAAIt(959),{\"\\u0067\\u0074\":r[$_DAAIt(147)],\"\\u0063\\u0068\\u0061\\u006c\\u006c\\u0065\\u006e\\u0067\\u0065\":r[$_DAAIt(154)],\"\\u006c\\u0061\\u006e\\u0067\":r[$_DAAJB(119)]||$_DAAIt(159),\"\\u0074\\u0079\\u0070\\u0065\":r[$_DAAJB(54)]})[$_DAAJB(120)](function(t){var $_DABDf=lTloj.$_CX,$_DABCe=['$_DABGl'].concat($_DABDf),$_DABEc=$_DABCe[1];$_DABCe.shift();var $_DABFW=$_DABCe[0];if(t[$_DABEc(90)]==Ht)return z(F(t,e[$_DABEc(498)],$_DABDf(959)));e[$_DABEc(895)](),e[$_DABDf(834)](e[$_DABDf(814)]),r[$_DABEc(639)]($_BAv(t)),r[$_DABEc(184)]&&n($_DABDf(971))[$_DABDf(32)]({\"\\u0074\\u0061\\u0072\\u0067\\u0065\\u0074\":$_DABEc(958),\"\\u0068\\u0072\\u0065\\u0066\":r[$_DABEc(184)]}),i[$_DABDf(680)](jt);},function(){var $_DABIq=lTloj.$_CX,$_DABHs=['$_DACBK'].concat($_DABIq),$_DABJj=$_DABHs[1];$_DABHs.shift();var $_DACAM=$_DABHs[0];return z($($_DABJj(1065),e[$_DABJj(498)]));});},\"\\u0024\\u005f\\u0043\\u0041\\u0041\\u004d\":function(){var $_DACDY=lTloj.$_CX,$_DACCd=['$_DACGj'].concat($_DACDY),$_DACEj=$_DACCd[1];$_DACCd.shift();var $_DACFw=$_DACCd[0];var t=this[$_DACEj(459)];return this[$_DACEj(13)][$_DACEj(643)]||t($_DACEj(841))[$_DACEj(869)](.8),this;},\"\\u0024\\u005f\\u0042\\u004a\\u004a\\u0041\":function(){var $_DACIo=lTloj.$_CX,$_DACHG=['$_DADBP'].concat($_DACIo),$_DACJe=$_DACHG[1];$_DACHG.shift();var $_DADAT=$_DACHG[0];var t=this[$_DACIo(459)];t($_DACJe(872))[$_DACJe(869)](0),v(function(){var $_DADDd=lTloj.$_CX,$_DADCS=['$_DADGI'].concat($_DADDd),$_DADEC=$_DADCS[1];$_DADCS.shift();var $_DADFR=$_DADCS[0];t($_DADEC(872))[$_DADDd(760)]();},200);},\"\\u0024\\u005f\\u0043\\u0045\\u004a\\u004c\":function(){var $_DADIZ=lTloj.$_CX,$_DADHf=['$_DAEBg'].concat($_DADIZ),$_DADJC=$_DADHf[1];$_DADHf.shift();var $_DAEAn=$_DADHf[0];this[$_DADIZ(897)](Ht,!0);},\"\\u0024\\u005f\\u0043\\u0046\\u0041\\u0056\":function(){var $_DAEDV=lTloj.$_CX,$_DAECs=['$_DAEGo'].concat($_DAEDV),$_DAEEk=$_DAECs[1];$_DAECs.shift();var $_DAEFn=$_DAECs[0];return this[$_DAEDV(897)](Pt),new G(function(t){var $_DAEIg=lTloj.$_CX,$_DAEH_=['$_DAFBv'].concat($_DAEIg),$_DAEJk=$_DAEH_[1];$_DAEH_.shift();var $_DAFAL=$_DAEH_[0];v(t,1500);});},\"\\u0024\\u005f\\u0043\\u0046\\u0042\\u006e\":function(){var $_DAFDK=lTloj.$_CX,$_DAFCj=['$_DAFGn'].concat($_DAFDK),$_DAFE_=$_DAFCj[1];$_DAFCj.shift();var $_DAFFR=$_DAFCj[0];return this[$_DAFE_(897)](Nt),new G(function(t){var $_DAFIw=lTloj.$_CX,$_DAFHx=['$_DAGBH'].concat($_DAFIw),$_DAFJJ=$_DAFHx[1];$_DAFHx.shift();var $_DAGAn=$_DAFHx[0];v(t,1500);});},\"\\u0024\\u005f\\u0043\\u0045\\u0047\\u004c\":function(t,e){var $_DAGDN=lTloj.$_CX,$_DAGCF=['$_DAGGi'].concat($_DAGDN),$_DAGEE=$_DAGCF[1];$_DAGCF.shift();var $_DAGFC=$_DAGCF[0];var n=this,r=n[$_DAGDN(459)];if(t<(e?-20:n[$_DAGEE(814)])?t=n[$_DAGEE(814)]:t>n[$_DAGDN(1049)]&&(t=n[$_DAGDN(1049)]),e){var i=t/20+1;r($_DAGEE(806))[$_DAGEE(93)]({\"\\u006f\\u0070\\u0061\\u0063\\u0069\\u0074\\u0079\":i});}if($_DAGDN(813)in h[$_DAGEE(296)][$_DAGEE(595)]||$_DAGEE(807)in h[$_DAGDN(296)][$_DAGDN(595)]){if(C||/EzvizStudio/[$_DAGDN(125)](ht[$_DAGDN(176)]))var o=$_DAGEE(830)+t*n[$_DAGDN(898)]+$_DAGEE(1072);else o=$_DAGEE(830)+t*n[$_DAGDN(898)]+$_DAGEE(1008);r($_DAGDN(806))[$_DAGEE(93)]({\"\\u0074\\u0072\\u0061\\u006e\\u0073\\u0066\\u006f\\u0072\\u006d\":o,\"\\u0077\\u0065\\u0062\\u006b\\u0069\\u0074\\u0054\\u0072\\u0061\\u006e\\u0073\\u0066\\u006f\\u0072\\u006d\":o});}else r($_DAGEE(806))[$_DAGEE(93)]({\"\\u006c\\u0065\\u0066\\u0074\":t*n[$_DAGEE(898)]+$_DAGDN(73)});var s=.9*r($_DAGEE(806))[$_DAGEE(912)]();r($_DAGEE(846))&&r($_DAGEE(846))[$_DAGDN(93)]({\"\\u0077\\u0069\\u0064\\u0074\\u0068\":t*n[$_DAGDN(898)]+s+$_DAGEE(73),\"\\u006f\\u0070\\u0061\\u0063\\u0069\\u0074\\u0079\":1}),$_DAGDN(58)!=typeof n[$_DAGEE(13)][$_DAGDN(1031)]&&0!==n[$_DAGEE(13)][$_DAGDN(1031)]&&n[$_DAGDN(1078)]&&(t=n[$_DAGDN(1078)][$_DAGEE(1035)](parseInt(t),n[$_DAGDN(13)][$_DAGDN(1045)],n[$_DAGDN(13)][$_DAGEE(1031)])),n[$_DAGEE(53)]&&n[$_DAGEE(53)][$_DAGDN(972)](t);},\"\\u0024\\u005f\\u0042\\u0042\\u0041\\u0056\":function(){var $_DAGIg=lTloj.$_CX,$_DAGH_=['$_DAHBY'].concat($_DAGIg),$_DAGJu=$_DAGH_[1];$_DAGH_.shift();var $_DAHAG=$_DAGH_[0];(0,this[$_DAGIg(459)])($_DAGJu(894))[$_DAGJu(189)]();}},ue[$_CJDQ(261)]={\"\\u0024\\u005f\\u0043\\u0045\\u0042\\u0076\":function(t,e,n){var $_DAHDJ=lTloj.$_CX,$_DAHCT=['$_DAHG_'].concat($_DAHDJ),$_DAHE_=$_DAHCT[1];$_DAHCT.shift();var $_DAHFz=$_DAHCT[0];var r=this[$_DAHE_(687)][t],i=r;return this[$_DAHE_(793)][$_DAHE_(837)](r[$_DAHDJ(49)](n,$_DAHE_(33))),e&&new ut(e)[$_DAHDJ(18)](function(t,e){var $_DAHIj=lTloj.$_CX,$_DAHHL=['$_DAIBX'].concat($_DAHIj),$_DAHJg=$_DAHHL[1];$_DAHHL.shift();var $_DAIAe=$_DAHHL[0];i=i[$_DAHJg(49)](t,e);}),this[$_DAHDJ(763)][$_DAHDJ(837)](i),this;}},$_JP(ae[$_CJDQ(261)],ce[$_CJET(261)]),$_JP(ie[$_CJDQ(261)],ce[$_CJDQ(261)]),Y[$_CJET(492)](window,oe);});}();") +} + +// GET https://static.geetest.com/favicon.ico HTTP/1.1 +func (c *Controller) faviconIco(context *gin.Context) { + context.Header("Content-type", "image/x-icon") + context.Status(http.StatusOK) +} + +// GET https://static.geetest.com/static/js/gct.e7810b5b525994e2fb1f89135f8df14a.js HTTP/1.1 +func (c *Controller) js(context *gin.Context) { + context.Header("Content-type", "application/javascript") + _, _ = context.Writer.WriteString("(function(){AJRnz.BHI=function(){var rEv=2;for(;rEv!==1;){switch(rEv){case 2:return{som:function(tUN){var uNW=2;for(;uNW!==14;){switch(uNW){case 5:uNW=vdi=0?14:12;break;case 1:var JcF=0;HFN=5;break;case 2:var IMU=[];HFN=1;break;case 3:JcF+=1;HFN=5;break;case 14:IMU[LJw][(KSB+GFw*LJw)%Fxj]=IMU[KSB];HFN=13;break;case 5:HFN=JcF=i){o=true;r(t);}}jqo=AJRnz.EfW()[4][13];break;}}}for(var t=0;t=r){return i[PyLk(12)](t);}new OvAp(n[e])[PyLk(58)](function(t){var USTH=AJRnz.DUy,TwJvey=['XHEoK'].concat(USTH),Vobm=TwJvey[1];TwJvey.shift();var WMRQ=TwJvey[0];o(e+1,t);},function(t){var ZWMO=AJRnz.DUy,YnByYL=['cDspH'].concat(ZWMO),avKN=YnByYL[1];YnByYL.shift();var bANv=YnByYL[0];i[avKN(41)](t);});kyP=AJRnz.EfW()[8][13];break;}}}new OvAp(n[0])[Qodd(58)](function(t){var eGGK=AJRnz.DUy,dhYjqe=['hPBjf'].concat(eGGK),faor=dhYjqe[1];dhYjqe.shift();var gdJE=dhYjqe[0];o(1,t);},function(t){var jr_l=AJRnz.DUy,iYHiZX=['mADhC'].concat(jr_l),kjWZ=iYHiZX[1];iYHiZX.shift();var lRTD=iYHiZX[0];i[kjWZ(41)](t);});return i;};OvAp[xmWy(83)][yiht(7)]=function(t,e){var onRf=AJRnz.DUy,nDGQPA=['rOpeb'].concat(onRf),pGsk=nDGQPA[1];nDGQPA.shift();var qcMp=nDGQPA[0];return this[onRf(58)](t,e);};return OvAp;}();if(typeof Object[tBTs(14)]!==tBTs(68)){Object[tBTs(14)]=function(t,e){var tGJG=AJRnz.DUy,saZqYB=['wdFXv'].concat(tGJG),uRDf=saZqYB[1];saZqYB.shift();var vAgF=saZqYB[0];if(typeof t!==tGJG(19)&&typeof t!==tGJG(68)){throw new TypeError(tGJG(23)+t);}else if(t===null){throw new Error(tGJG(13));}if(typeof e!==tGJG(3))throw new Error(tGJG(36));function F(){var loG=AJRnz.EfW()[0][14];for(;loG!==AJRnz.EfW()[4][14];){switch(loG){}}}F[tGJG(83)]=t;return new F();};}function QmGg(t,e){var mOS=AJRnz.EfW()[4][14];for(;mOS!==AJRnz.EfW()[8][13];){switch(mOS){case AJRnz.EfW()[0][14]:try{this[sTok(62)]=Object[sTok(14)](t);this[tBTs(67)]=[];this[sTok(8)]=this[tBTs(62)][e]?this[tBTs(62)][e][sTok(15)]()[tBTs(88)](tBTs(79)):sTok(79);this[sTok(66)]=sTok(97);this[sTok(74)]=tBTs(78);}catch(n){}mOS=AJRnz.EfW()[8][13];break;}}}QmGg[tBTs(83)]={\"\\u0056\\u0071\\u0071\\u0052\":function(r){var yODK=AJRnz.DUy,xvzyZq=['CMWTL'].concat(yODK),AuHI=xvzyZq[1];xvzyZq.shift();var BTFK=xvzyZq[0];var e=this;new t(function(t,e){var EkqK=AJRnz.DUy,DWEhEU=['HukCv'].concat(EkqK),FiTv=DWEhEU[1];DWEhEU.shift();var GAUt=DWEhEU[0];var n=r[EkqK(53)];t({\"\\u0070\\u006f\\u0073\\u0069\\u0074\\u0069\\u006f\\u006e\":n});})[AuHI(7)](function(t){var JdZa=AJRnz.DUy,ISrQsg=['MMKbF'].concat(JdZa),KQKQ=ISrQsg[1];ISrQsg.shift();var LtMh=ISrQsg[0];t[KQKQ(99)]=r[JdZa(99)];return t;})[AuHI(7)](function(t){var OstV=AJRnz.DUy,NixnRp=['RCUSp'].concat(OstV),PpYE=NixnRp[1];NixnRp.shift();var QuVi=NixnRp[0];t[PpYE(76)]=r[OstV(76)];return t;})[yODK(7)](function(t){var TQES=AJRnz.DUy,SyXmTp=['WHrxE'].concat(TQES),UEHg=SyXmTp[1];SyXmTp.shift();var Vvgj=SyXmTp[0];t[TQES(92)]=r[TQES(92)];return t;})[yODK(7)](function(t){var YNBN=AJRnz.DUy,XXn_uu=['btuBk'].concat(YNBN),ZRvx=XXn_uu[1];XXn_uu.shift();var aDiB=XXn_uu[0];t[ZRvx(63)]=+e[ZRvx(8)][e[ZRvx(8)][ZRvx(49)]-1];return t;})[AuHI(7)](function(t){var dmAL=AJRnz.DUy,cdGOKs=['gSeXf'].concat(dmAL),eSkE=cdGOKs[1];cdGOKs.shift();var fplI=cdGOKs[0];if(e[dmAL(8)][t[eSkE(53)]]){t[eSkE(99)]===e[eSkE(66)]?e[eSkE(51)](t[eSkE(53)],t[eSkE(63)]):e[dmAL(26)](t[dmAL(53)],t[dmAL(63)]);t[dmAL(76)]===e[dmAL(66)]?e[eSkE(51)](t[dmAL(53)],t[eSkE(63)]):e[dmAL(26)](t[eSkE(53)],t[dmAL(63)]);t[eSkE(92)]===e[eSkE(66)]?e[eSkE(51)](t[eSkE(53)],t[eSkE(63)]):e[dmAL(26)](resposition,t[eSkE(63)]);}return;});},\"\\u006b\\u006d\\u0047\\u0050\":function(e,n){var imOz=AJRnz.DUy,hbAqko=['lDupn'].concat(imOz),jZ_A=hbAqko[1];hbAqko.shift();var kZrY=hbAqko[0];var r=this;new t(function(t){var npzA=AJRnz.DUy,mFertz=['qBrpT'].concat(npzA),ojJK=mFertz[1];mFertz.shift();var peUc=mFertz[0];r[ojJK(8)][e]=(+r[ojJK(8)][e]+n)[npzA(15)]();t();});},\"\\u006c\\u0052\\u0048\\u0061\":function(e,n){var srbu=AJRnz.DUy,rJzXqy=['vFuGu'].concat(srbu),tKWZ=rJzXqy[1];rJzXqy.shift();var uVbP=rJzXqy[0];var r=this;new t(function(t){var xjDf=AJRnz.DUy,wDxj_N=['BNlNd'].concat(xjDf),ygma=wDxj_N[1];wDxj_N.shift();var Arfr=wDxj_N[0];r[xjDf(8)][e]=(+r[ygma(8)][e]*n)[ygma(15)]();t();});}};var n=function(){var DSvL=AJRnz.DUy,CgYnpp=['GLnRD'].concat(DSvL),EdyP=CgYnpp[1];CgYnpp.shift();var FFbk=CgYnpp[0];function RmIZ(t){var nYP=AJRnz.EfW()[8][14];for(;nYP!==AJRnz.EfW()[8][12];){switch(nYP){case AJRnz.EfW()[0][14]:var e=5381;var n=t[DSvL(49)];var r=0;nYP=AJRnz.EfW()[8][13];break;case AJRnz.EfW()[8][13]:while(n--){e=(e<<5)+e+t[DSvL(1)](r++);}e&=~(1<<31);return e;break;}}}function SHfu(t){var oic=AJRnz.EfW()[8][14];for(;oic!==AJRnz.EfW()[0][13];){switch(oic){case AJRnz.EfW()[8][14]:if(t[EdyP(4)]&&t[DSvL(18)]){t[e]=RmIZ(SHfu[EdyP(15)]()+RmIZ(RmIZ[DSvL(15)]()))+EdyP(79);}function Oo(){var pnY=AJRnz.EfW()[4][14];for(;pnY!==AJRnz.EfW()[4][12];){switch(pnY){case AJRnz.EfW()[8][14]:this[EdyP(4)]=t[EdyP(4)];pnY=AJRnz.EfW()[0][13];break;case AJRnz.EfW()[0][13]:this[DSvL(18)]=t[DSvL(18)];pnY=AJRnz.EfW()[0][12];break;}}}Oo[EdyP(83)]=new TUIc();function TUIc(){var qqU=AJRnz.EfW()[0][14];for(;qqU!==AJRnz.EfW()[4][14];){switch(qqU){}}}TUIc[EdyP(83)][DSvL(32)]={\"\\u006e\":Hwqs,\"\\u0073\":FHLl,\"\\u0065\":li,\"\\u0065\\u0073\":MXME,\"\\u0065\\u006e\":IEQg,\"\\u0077\":KBGK,\"\\u0077\\u006e\":LpSf,\"\\u0077\\u0073\":JlqQ,\"\\u0066\":QmGg};return new Oo();break;}}}return function(t){var IufN=AJRnz.DUy,HVGkpy=['LDQqn'].concat(IufN),JnQg=HVGkpy[1];HVGkpy.shift();var KnuL=HVGkpy[0];if(t&&Object[JnQg(83)][IufN(15)][JnQg(95)](t)===IufN(54)){return SHfu(t);}return RmIZ(RmIZ[IufN(15)]());};}();return n;}));}();}());") +} + +// GET https://static.geetest.com/static/ant/style_https.1.2.6.css HTTP/1.1 +func (c *Controller) css(context *gin.Context) { + context.Header("Content-type", "text/css") + _, _ = context.Writer.WriteString(".geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading .geetest_loading_icon,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_button,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_logo{background-repeat:no-repeat;background-image:url('./sprite.1.2.6.png');_background-image:url('./sprite.1.2.6.gif')}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading .geetest_loading_icon,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_button,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button,.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice:hover,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_logo{background-image:url('./sprite2x.1.2.6.png');_background-image:url('./sprite2x.1.2.6.gif')}}.geetest_holder.geetest_mobile.geetest_ant{position:relative;width:278px;touch-action:none}.geetest_holder.geetest_mobile.geetest_ant.geetest_embed{background-color:white}.geetest_holder.geetest_mobile.geetest_ant .geetest_absolute{position:absolute;left:0;top:0;width:100%;height:100%}.geetest_holder.geetest_mobile.geetest_ant .geetest_animate{-moz-transition:left .5s,-moz-transform .5s;-o-transition:left .5s,-o-transform .5s;-webkit-transition:left .5s,-webkit-transform .5s;transition:left .5s,transform .5s}.geetest_holder.geetest_mobile.geetest_ant .geetest_fade{-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.geetest_holder.geetest_mobile.geetest_ant *{font-family:\"PingFangSC-Regular\", \"Open Sans\", Arial, \"Hiragino Sans GB\", \"Microsoft YaHei\", \"STHeiti\", \"WenQuanYi Micro Hei\", SimSun, sans-serif;text-align:left}.geetest_holder.geetest_mobile.geetest_ant .geetest_wrap{width:100%;padding:3.237% 0 0 0;margin:0}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget{margin:0 3.24%;width:93.53%;-moz-transition:padding-bottom .3s ease;-o-transition:padding-bottom .3s ease;-webkit-transition:padding-bottom .3s ease;transition:padding-bottom .3s ease}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window{position:relative;left:0;top:0;height:0;width:100%;padding-bottom:61.54%;overflow:hidden}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link{font-size:0;display:block;height:100%;width:100%}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link .geetest_div_fullbg,.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link .geetest_div_bg{background-color:#f2ece1}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link .geetest_div_fullbg div,.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link .geetest_div_bg div{float:left;width:10px;height:50%}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window a.geetest_link .geetest_slice{position:absolute;background-size:contain}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_flash::after{content:'';display:block;position:absolute;z-index:998;top:0;right:-280px;width:140px;height:400px;-moz-transform:skew(30deg);-ms-transform:skew(30deg);-webkit-transform:skew(30deg);transform:skew(30deg);background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4wIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');background:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(255,255,255,0)),color-stop(50%, rgba(255,255,255,0.9)),color-stop(100%, rgba(255,255,255,0)));background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0));background:linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0));-moz-animation:moveTo-left 0.6s linear;-webkit-animation:moveTo-left 0.6s linear;animation:moveTo-left 0.6s linear}@keyframes moveTo-left{0%{right:-280px}100%{right:240px}}@-webkit-keyframes moveTo-left{0%{right:-280px}100%{right:240px}}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_refresh{display:none}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading{padding-top:10%;background-color:#e5e5e5;opacity:1}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading .geetest_loading_icon{background-size:764.70588%;background-position:0 69.21348%;margin:11% auto 10px;width:34px;height:26px;overflow:hidden}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading .geetest_loading_icon{background-size:764.70588%;background-position:0 70.02457%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_loading .geetest_loading_tip{text-align:center;font-size:14px;margin-bottom:1%;color:#b2b2b2}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result{position:absolute;left:0;z-index:999;width:100%;color:white;bottom:-25px;height:24px;-moz-transition:bottom .3s ease;-o-transition:bottom .3s ease;-webkit-transition:bottom .3s ease;transition:bottom .3s ease}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result.geetest_fail{background-color:#de715b}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result.geetest_error{background-color:#EBA921}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result.geetest_forbidden{background-color:#EBA921}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result.geetest_abuse{background-color:#EBA921}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result.geetest_success{background-color:#5ebf70}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result .geetest_result_title{display:none}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result .geetest_result_content{position:absolute;top:0;text-indent:16px;font-size:14px;line-height:24px;height:24px}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result .geetest_right_space{padding-right:16px}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_result .geetest_result_icon{display:none}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_multi_line{height:48px}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_multi_line .geetest_result_content{text-indent:0px;padding-left:16px}.geetest_holder.geetest_mobile.geetest_ant .geetest_widget .geetest_window .geetest_showTip{bottom:0px}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider{position:relative;margin:5.39% 3.24%;width:93.52%;padding:0 0 13.67% 0;height:0;overflow:visible;background-color:white;background-size:100%;background-position:0 0}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_slider{background-size:100%;background-position:0 0}}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_track{position:absolute;top:50%;left:0;height:38px;margin:-19px 0 0 0;padding:0 0 0 25%}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_track .geetest_slider_tip{position:relative;width:100%;height:100%;opacity:0;line-height:38px;font-size:14px;text-align:center;white-space:nowrap;color:#88949d}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_track .geetest_slider_tip.geetest_multi_slide{word-wrap:break-word;white-space:normal;line-height:18px;text-align:left}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_ready .geetest_slider_tip{opacity:1}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_button{position:absolute;top:0;left:0;margin:-4.62% 0 0 -2.31%;width:25.38%;padding:0 0 25.38% 0;height:0;cursor:pointer;font-size:0;background-size:393.93939%;background-position:0 10.8642%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_slider .geetest_slider_button{background-size:400%;background-position:0 11.1413%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button{background-size:393.93939%;background-position:0 28.64198%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button{background-size:400%;background-position:0 29.61957%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button:hover{background-size:393.93939%;background-position:0 28.64198%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_slider.geetest_move .geetest_slider_button:hover{background-size:400%;background-position:0 29.61957%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel{position:relative;border-top:1px solid #EEEEEE;width:100%;margin:0;padding:0 0 17.27% 0}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_small{position:absolute;left:5.1%;top:50%;margin-top:-4.13%;padding:0 0 8.27% 0;width:40.45%;height:0}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_temp,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice{position:relative;display:inline-block;height:0;padding-bottom:20%;cursor:pointer}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice{margin-left:5.9%;width:20%;cursor:pointer;text-decoration:none;vertical-align:top}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close{margin-left:0;overflow:hidden;background-size:1083.33333%;background-position:0 42.05817%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close{background-size:1083.33333%;background-position:0 43.27628%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close:hover{background-size:1083.33333%;background-position:0 48.76957%;overflow:visible}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_close:hover{background-size:1083.33333%;background-position:0 49.87775%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1{overflow:hidden;background-size:1083.33333%;background-position:0 79.86577%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1{background-size:1083.33333%;background-position:0 80.1956%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1:hover{background-size:1083.33333%;background-position:0 86.57718%;overflow:visible}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_refresh_1:hover{background-size:1083.33333%;background-position:0 86.79707%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback{overflow:hidden;background-size:1083.33333%;background-position:0 55.48098%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback{background-size:1083.33333%;background-position:0 56.47922%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback:hover{background-size:1083.33333%;background-position:0 62.19239%;overflow:visible}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_feedback:hover{background-size:1083.33333%;background-position:0 63.08068%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice{overflow:hidden;display:none;background-size:1083.33333%;background-position:0 93.28859%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice{background-size:1083.33333%;background-position:0 93.39853%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice:hover{background-size:1083.33333%;background-position:0 100%;overflow:visible}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel a.geetest_voice:hover{background-size:1083.33333%;background-position:0 100%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_close_tip,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_feedback_tip,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_refresh_tip,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_voice_tip{position:absolute;top:-32px;left:10px;border-radius:2px;padding:0 4px;height:22px;min-width:50px;line-height:22px;background-color:#5F5F5F;white-space:nowrap;font-size:12px;text-align:center;color:white}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_close_tip:before,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_feedback_tip:before,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_refresh_tip:before,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_voice_tip:before{display:block;position:absolute;bottom:-6px;left:0;content:'';border-style:solid;border-width:4px 6px;border-color:#5F5F5F transparent transparent #5F5F5F;width:0;height:0}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright{position:absolute;right:5.1%;top:50%;margin-top:-1.48%;padding:0 0 3.96% 0;height:0;width:48%;text-align:right}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_logo,.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_copyright_tip{display:inline-block;vertical-align:top}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_logo{width:11px;height:11px;background-size:2363.63636%;background-position:0 73.91304%}@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 192dpi), (min-resolution: 1.5dppx){.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_logo{background-size:2363.63636%;background-position:0 74.40758%}}.geetest_holder.geetest_mobile.geetest_ant .geetest_panel .geetest_copyright .geetest_copyright_tip{margin:0 0 0 4px;line-height:11px;text-decoration:none;font-size:12px;color:#cacaca}@keyframes geetest_shake{25%{margin-left:-6px}75%{margin-left:6px}100%{margin-left:0}}@-webkit-keyframes geetest_shake{25%{margin-left:-6px}75%{margin-left:6px}100%{margin-left:0}}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup{display:none;position:fixed;_position:absolute;z-index:2147483647;left:0;top:0;height:100%;width:100%;opacity:0;-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_ghost{position:absolute;left:0;top:0;width:100%;height:100%;_width:2000px;_height:1000px;background-color:black;opacity:.6;filter:alpha(opacity=60)}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_box{box-sizing:content-box;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:278px;min-width:230px;max-width:278px;border:1px solid #d1d1d1;border-radius:2px;overflow:hidden;background-color:white;margin-left:-139px;margin-top:-143px;_position:absolute;_top:0;_left:0;_margin-left:0;_margin-top:0}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_box:last-child{margin-left:0 !important;margin-top:0 !important}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_box.geetest_shake{-moz-animation:geetest_shake 0.2s linear infinite both;-webkit-animation:geetest_shake 0.2s linear infinite both;animation:geetest_shake 0.2s linear infinite both}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_box .geetest_popup_header{display:none}.geetest_holder.geetest_mobile.geetest_ant.geetest_popup .geetest_popup_box .geetest_popup_wrap{width:100%}") +} + +// GET https://static.geetest.com/pictures/gt/a330cf996/a330cf996.webp HTTP/1.1 +func (c *Controller) webp(context *gin.Context) { + context.Header("Content-type", "image/webp") + file, err := ioutil.ReadFile("static/a330cf996.webp") + if err != nil { + logger.LOG.Error("open a330cf996.webp error") + return + } + _, _ = context.Writer.Write(file) +} + +// GET https://static.geetest.com/pictures/gt/a330cf996/bg/86f9db021.webp HTTP/1.1 +func (c *Controller) bgWebp(context *gin.Context) { + context.Header("Content-type", "image/webp") + file, err := ioutil.ReadFile("static/86f9db021.webp") + if err != nil { + logger.LOG.Error("open 86f9db021.webp error") + return + } + _, _ = context.Writer.Write(file) +} + +// GET https://static.geetest.com/pictures/gt/a330cf996/slice/86f9db021.png HTTP/1.1 +func (c *Controller) slicePng(context *gin.Context) { + context.Header("Content-type", "image/png") + file, err := ioutil.ReadFile("static/86f9db021.png") + if err != nil { + logger.LOG.Error("open 86f9db021.png error") + return + } + _, _ = context.Writer.Write(file) +} + +// GET https://static.geetest.com/static/ant/sprite2x.1.2.6.png HTTP/1.1 +func (c *Controller) sprite2xPng(context *gin.Context) { + context.Header("Content-type", "image/png") + file, err := ioutil.ReadFile("static/sprite2x.1.2.6.png") + if err != nil { + logger.LOG.Error("open sprite2x.1.2.6.png error") + return + } + _, _ = context.Writer.Write(file) +} diff --git a/gate-hk4e/controller/log_controller.go b/gate-hk4e/controller/log_controller.go new file mode 100644 index 00000000..1c631c7c --- /dev/null +++ b/gate-hk4e/controller/log_controller.go @@ -0,0 +1,33 @@ +package controller + +import "github.com/gin-gonic/gin" + +// POST https://log-upload-os.mihoyo.com/sdk/dataUpload HTTP/1.1 +func (c *Controller) sdkDataUpload(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"code\":0}") +} + +// GET http://log-upload-os.hoyoverse.com/perf/config/verify?device_id=dd664c97f924af747b4576a297c132038be239291651474673768&platform=2&name=DESKTOP-EDUS2DL HTTP/1.1 +func (c *Controller) perfConfigVerify(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"code\":0}") +} + +// POST http://log-upload-os.hoyoverse.com/perf/dataUpload HTTP/1.1 +func (c *Controller) perfDataUpload(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"code\":0}") +} + +// POST http://overseauspider.yuanshen.com:8888/log HTTP/1.1 +func (c *Controller) log8888(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"code\":0}") +} + +// POST http://log-upload-os.hoyoverse.com/crash/dataUpload HTTP/1.1 +func (c *Controller) crashDataUpload(context *gin.Context) { + context.Header("Content-type", "application/json") + _, _ = context.Writer.WriteString("{\"code\":0}") +} diff --git a/gate-hk4e/controller/login_controller.go b/gate-hk4e/controller/login_controller.go new file mode 100644 index 00000000..240dd87b --- /dev/null +++ b/gate-hk4e/controller/login_controller.go @@ -0,0 +1,249 @@ +package controller + +import ( + "crypto/md5" + "encoding/base64" + "encoding/hex" + "encoding/json" + providerApiEntity "flswld.com/annie-user-api/entity" + "flswld.com/common/utils/endec" + "flswld.com/common/utils/random" + "flswld.com/logger" + "gate-hk4e/entity/api" + "gate-hk4e/entity/db" + "github.com/gin-gonic/gin" + "net/http" + "regexp" + "strconv" + "strings" +) + +func (c *Controller) getMD5(src string) string { + ctx := md5.New() + ctx.Write([]byte(src)) + return hex.EncodeToString(ctx.Sum(nil)) +} + +func (c *Controller) apiLogin(context *gin.Context) { + requestData := new(api.LoginAccountRequestJson) + err := context.ShouldBindJSON(requestData) + if err != nil { + logger.LOG.Error("parse LoginAccountRequestJson error: %v", err) + return + } + + encPwdData, err := base64.StdEncoding.DecodeString(requestData.Password) + if err != nil { + logger.LOG.Error("decode password enc data error: %v", err) + return + } + pwdPrivKey, err := endec.RsaParsePrivKey(c.pwdRsaKey) + if err != nil { + logger.LOG.Error("parse rsa key error: %v", err) + return + } + pwdDecData, err := endec.RsaDecrypt(encPwdData, pwdPrivKey) + useAtAtMode := false + if err != nil { + logger.LOG.Debug("rsa dec error: %v", err) + logger.LOG.Debug("password rsa dec fail, fallback to @@ mode") + useAtAtMode = true + } else { + logger.LOG.Debug("password dec: %v", string(pwdDecData)) + useAtAtMode = false + } + + responseData := api.NewLoginResult() + + var username string + var password string + if useAtAtMode { + // 账号格式检查 用户名6-20字符 密码8-20字符 用户名和密码公用account字段 第一次出现的@@视为分割标识 username@@password + if len(requestData.Account) > 20+20+2 { + responseData.Retcode = -201 + responseData.Message = "用户名或密码长度超限" + context.JSON(http.StatusOK, responseData) + return + } + if !strings.Contains(requestData.Account, "@@") { + responseData.Retcode = -201 + responseData.Message = "用户名同密码均填写到用户名输入框,填写格式为:用户名@@密码,密码输入框填写任意字符均可" + context.JSON(http.StatusOK, responseData) + return + } + atIndex := strings.Index(requestData.Account, "@@") + username = requestData.Account[:atIndex] + password = requestData.Account[atIndex+2:] + } else { + username = requestData.Account + password = string(pwdDecData) + } + + if len(username) < 6 || len(username) > 20 { + responseData.Retcode = -201 + responseData.Message = "用户名为6-20位字符" + context.JSON(http.StatusOK, responseData) + return + } + if len(password) < 8 || len(password) > 20 { + responseData.Retcode = -201 + responseData.Message = "密码为8-20位字符" + context.JSON(http.StatusOK, responseData) + return + } + ok, err := regexp.MatchString("^[a-zA-Z0-9]{6,20}$", username) + if err != nil || !ok { + responseData.Retcode = -201 + responseData.Message = "用户名只能包含大小写字母和数字" + context.JSON(http.StatusOK, responseData) + return + } + userList := make([]providerApiEntity.User, 0) + ok = c.rpcUserConsumer.CallFunction("RpcService", "RpcQueryUser", &providerApiEntity.User{Username: username}, &userList) + if !ok { + responseData.Retcode = -201 + responseData.Message = "服务器内部错误:-1" + context.JSON(http.StatusOK, responseData) + return + } + if len(userList) != 1 { + responseData.Retcode = -201 + responseData.Message = "用户名不存在" + context.JSON(http.StatusOK, responseData) + return + } + user := userList[0] + if c.getMD5(password) != user.Password { + responseData.Retcode = -201 + responseData.Message = "用户名或密码错误" + context.JSON(http.StatusOK, responseData) + return + } + // 登录成功 + account, err := c.dao.QueryAccountByField("username", username) + if err != nil { + logger.LOG.Error("query account from db error: %v", err) + return + } + if account == nil { + // 注册一个原神account + playerID, err := c.dao.GetNextYuanShenUid() + if err != nil { + responseData.Retcode = -201 + responseData.Message = "服务器内部错误:-2" + context.JSON(http.StatusOK, responseData) + return + } + regAccount := &db.Account{ + Uid: user.Uid, + Username: username, + PlayerID: playerID, + Token: base64.StdEncoding.EncodeToString(random.GetRandomByte(24)), + ComboToken: "", + } + _, err = c.dao.InsertAccount(regAccount) + if err != nil { + responseData.Retcode = -201 + responseData.Message = "服务器内部错误:-3" + context.JSON(http.StatusOK, responseData) + return + } + responseData.Message = "OK" + responseData.Data.Account.Uid = strconv.FormatInt(int64(regAccount.Uid), 10) + responseData.Data.Account.Token = regAccount.Token + responseData.Data.Account.Email = regAccount.Username + } else { + // 生产新的token + account.Token = base64.StdEncoding.EncodeToString(random.GetRandomByte(24)) + _, err := c.dao.UpdateAccountFieldByFieldName("uid", account.Uid, "token", account.Token) + if err != nil { + responseData.Retcode = -201 + responseData.Message = "服务器内部错误:-4" + context.JSON(http.StatusOK, responseData) + return + } + responseData.Message = "OK" + responseData.Data.Account.Uid = strconv.FormatInt(int64(account.Uid), 10) + responseData.Data.Account.Token = account.Token + responseData.Data.Account.Email = account.Username + } + context.JSON(http.StatusOK, responseData) +} + +func (c *Controller) apiVerify(context *gin.Context) { + requestData := new(api.LoginTokenRequest) + err := context.ShouldBindJSON(requestData) + if err != nil { + logger.LOG.Error("parse LoginTokenRequest error: %v", err) + return + } + uid, err := strconv.ParseInt(requestData.Uid, 10, 64) + if err != nil { + logger.LOG.Error("parse uid error: %v", err) + return + } + account, err := c.dao.QueryAccountByField("uid", uid) + if err != nil { + logger.LOG.Error("query account from db error: %v", err) + return + } + responseData := api.NewLoginResult() + if account == nil || account.Token != requestData.Token { + responseData.Retcode = -111 + responseData.Message = "账号本地缓存信息错误" + context.JSON(http.StatusOK, responseData) + return + } + responseData.Message = "OK" + responseData.Data.Account.Uid = requestData.Uid + responseData.Data.Account.Token = requestData.Token + responseData.Data.Account.Email = account.Username + context.JSON(http.StatusOK, responseData) +} + +func (c *Controller) v2Login(context *gin.Context) { + requestData := new(api.ComboTokenReq) + err := context.ShouldBindJSON(requestData) + if err != nil { + logger.LOG.Error("parse ComboTokenReq error: %v", err) + return + } + data := requestData.Data + if len(data) == 0 { + logger.LOG.Error("requestData.Data len == 0") + return + } + loginData := new(api.LoginTokenData) + err = json.Unmarshal([]byte(data), loginData) + if err != nil { + logger.LOG.Error("Unmarshal LoginTokenData error: %v", err) + return + } + uid, err := strconv.ParseInt(loginData.Uid, 10, 64) + if err != nil { + logger.LOG.Error("ParseInt uid error: %v", err) + return + } + responseData := api.NewComboTokenRes() + account, err := c.dao.QueryAccountByField("uid", uid) + if account == nil || account.Token != loginData.Token { + responseData.Retcode = -201 + responseData.Message = "token错误" + context.JSON(http.StatusOK, responseData) + return + } + // 生成新的comboToken + account.ComboToken = random.GetRandomByteHexStr(20) + _, err = c.dao.UpdateAccountFieldByFieldName("uid", account.Uid, "comboToken", account.ComboToken) + if err != nil { + responseData.Retcode = -201 + responseData.Message = "服务器内部错误:-1" + context.JSON(http.StatusOK, responseData) + return + } + responseData.Message = "OK" + responseData.Data.OpenID = loginData.Uid + responseData.Data.ComboID = "0" + responseData.Data.ComboToken = account.ComboToken + context.JSON(http.StatusOK, responseData) +} diff --git a/gate-hk4e/dao/account_dao.go b/gate-hk4e/dao/account_dao.go new file mode 100644 index 00000000..301b7f00 --- /dev/null +++ b/gate-hk4e/dao/account_dao.go @@ -0,0 +1,126 @@ +package dao + +import ( + "context" + "flswld.com/logger" + dbEntity "gate-hk4e/entity/db" + "github.com/pkg/errors" + "go.mongodb.org/mongo-driver/bson" + "go.mongodb.org/mongo-driver/bson/primitive" + "go.mongodb.org/mongo-driver/mongo" +) + +func (d *Dao) GetNextYuanShenUid() (uint64, error) { + db := d.db.Collection("player_id_counter") + find := db.FindOne(context.TODO(), bson.D{{"_id", "default"}}) + item := new(dbEntity.PlayerIDCounter) + err := find.Decode(item) + if err != nil { + if err == mongo.ErrNoDocuments { + item := &dbEntity.PlayerIDCounter{ + ID: "default", + PlayerID: 100000001, + } + _, err := db.InsertOne(context.TODO(), item) + if err != nil { + return 0, errors.New("insert new PlayerID error") + } + return item.PlayerID, nil + } else { + return 0, err + } + } + item.PlayerID++ + _, err = db.UpdateOne( + context.TODO(), + bson.D{ + {"_id", "default"}, + }, + bson.D{ + {"$set", bson.D{ + {"PlayerID", item.PlayerID}, + }}, + }, + ) + if err != nil { + return 0, err + } + return item.PlayerID, nil +} + +func (d *Dao) InsertAccount(account *dbEntity.Account) (primitive.ObjectID, error) { + db := d.db.Collection("account") + id, err := db.InsertOne(context.TODO(), account) + if err != nil { + return primitive.ObjectID{}, err + } else { + _id, ok := id.InsertedID.(primitive.ObjectID) + if !ok { + logger.LOG.Error("get insert id error") + return primitive.ObjectID{}, nil + } + return _id, nil + } +} + +func (d *Dao) DeleteAccountByUsername(username string) (int64, error) { + db := d.db.Collection("account") + deleteCount, err := db.DeleteOne( + context.TODO(), + bson.D{ + {"username", username}, + }, + ) + if err != nil { + return 0, err + } else { + return deleteCount.DeletedCount, nil + } +} + +func (d *Dao) UpdateAccountFieldByFieldName(fieldName string, fieldValue any, fieldUpdateName string, fieldUpdateValue any) (int64, error) { + db := d.db.Collection("account") + updateCount, err := db.UpdateOne( + context.TODO(), + bson.D{ + {fieldName, fieldValue}, + }, + bson.D{ + {"$set", bson.D{ + {fieldUpdateName, fieldUpdateValue}, + }}, + }, + ) + if err != nil { + return 0, err + } else { + return updateCount.ModifiedCount, nil + } +} + +func (d *Dao) QueryAccountByField(fieldName string, fieldValue any) (*dbEntity.Account, error) { + db := d.db.Collection("account") + find, err := db.Find( + context.TODO(), + bson.D{ + {fieldName, fieldValue}, + }, + ) + if err != nil { + return nil, err + } + result := make([]*dbEntity.Account, 0) + for find.Next(context.TODO()) { + item := new(dbEntity.Account) + err := find.Decode(item) + if err != nil { + return nil, err + } + result = append(result, item) + } + if len(result) == 0 { + return nil, nil + } else { + return result[0], nil + } +} diff --git a/gate-hk4e/dao/dao.go b/gate-hk4e/dao/dao.go new file mode 100644 index 00000000..624493c6 --- /dev/null +++ b/gate-hk4e/dao/dao.go @@ -0,0 +1,34 @@ +package dao + +import ( + "context" + "flswld.com/common/config" + "flswld.com/logger" + "go.mongodb.org/mongo-driver/mongo" + "go.mongodb.org/mongo-driver/mongo/options" +) + +type Dao struct { + client *mongo.Client + db *mongo.Database +} + +func NewDao() (r *Dao) { + r = new(Dao) + clientOptions := options.Client().ApplyURI(config.CONF.Database.Url) + client, err := mongo.Connect(context.TODO(), clientOptions) + if err != nil { + logger.LOG.Error("mongo connect error: %v", err) + return nil + } + r.client = client + r.db = client.Database("gate_hk4e") + return r +} + +func (d *Dao) CloseDao() { + err := d.client.Disconnect(context.TODO()) + if err != nil { + logger.LOG.Error("mongo close error: %v", err) + } +} diff --git a/gate-hk4e/entity/api/combo_token_req.go b/gate-hk4e/entity/api/combo_token_req.go new file mode 100644 index 00000000..049dbb7e --- /dev/null +++ b/gate-hk4e/entity/api/combo_token_req.go @@ -0,0 +1,15 @@ +package api + +type ComboTokenReq struct { + AppID int `json:"app_id"` + ChannelID int `json:"channel_id"` + Data string `json:"data"` + Device string `json:"device"` + Sign string `json:"sign"` +} + +type LoginTokenData struct { + Uid string `json:"uid"` + Token string `json:"token"` + Guest bool `json:"guest"` +} diff --git a/gate-hk4e/entity/api/combo_token_res.go b/gate-hk4e/entity/api/combo_token_res.go new file mode 100644 index 00000000..ab43bece --- /dev/null +++ b/gate-hk4e/entity/api/combo_token_res.go @@ -0,0 +1,34 @@ +package api + +type ComboTokenRes struct { + Message string `json:"message"` + Retcode int `json:"retcode"` + Data LoginData `json:"data"` +} + +type LoginData struct { + AccountType int `json:"account_type"` + Heartbeat bool `json:"heartbeat"` + ComboID string `json:"combo_id"` + ComboToken string `json:"combo_token"` + OpenID string `json:"open_id"` + Data string `json:"data"` + FatigueRemind any `json:"fatigue_remind"` +} + +func NewComboTokenRes() (r *ComboTokenRes) { + r = &ComboTokenRes{ + Message: "", + Retcode: 0, + Data: LoginData{ + AccountType: 1, + Heartbeat: false, + ComboID: "", + ComboToken: "", + OpenID: "", + Data: "{\"guest\":false}", + FatigueRemind: nil, + }, + } + return r +} diff --git a/gate-hk4e/entity/api/login_account_req.go b/gate-hk4e/entity/api/login_account_req.go new file mode 100644 index 00000000..b95c1420 --- /dev/null +++ b/gate-hk4e/entity/api/login_account_req.go @@ -0,0 +1,7 @@ +package api + +type LoginAccountRequestJson struct { + Account string `json:"account"` + Password string `json:"password"` + IsCrypto bool `json:"is_crypto"` +} diff --git a/gate-hk4e/entity/api/login_result.go b/gate-hk4e/entity/api/login_result.go new file mode 100644 index 00000000..e40fe24f --- /dev/null +++ b/gate-hk4e/entity/api/login_result.go @@ -0,0 +1,74 @@ +package api + +type LoginResult struct { + Message string `json:"message"` + Retcode int `json:"retcode"` + Data VerifyData `json:"data"` +} + +type VerifyData struct { + Account VerifyAccountData `json:"account"` + DeviceGrantRequired bool `json:"device_grant_required"` + RealnameOperation string `json:"realname_operation"` + RealpersonRequired bool `json:"realperson_required"` + SafeMobileRequired bool `json:"safe_mobile_required"` +} + +type VerifyAccountData struct { + Uid string `json:"uid"` + Name string `json:"name"` + Email string `json:"email"` + Mobile string `json:"mobile"` + IsEmailVerify string `json:"is_email_verify"` + Realname string `json:"realname"` + IdentityCard string `json:"identity_card"` + Token string `json:"token"` + SafeMobile string `json:"safe_mobile"` + FacebookName string `json:"facebook_name"` + TwitterName string `json:"twitter_name"` + GameCenterName string `json:"game_center_name"` + GoogleName string `json:"google_name"` + AppleName string `json:"apple_name"` + SonyName string `json:"sony_name"` + TapName string `json:"tap_name"` + Country string `json:"country"` + ReactivateTicket string `json:"reactivate_ticket"` + AreaCode string `json:"area_code"` + DeviceGrantTicket string `json:"device_grant_ticket"` +} + +func NewLoginResult() (r *LoginResult) { + r = &LoginResult{ + Message: "", + Retcode: 0, + Data: VerifyData{ + Account: VerifyAccountData{ + Uid: "", + Name: "", + Email: "", + Mobile: "", + IsEmailVerify: "0", + Realname: "", + IdentityCard: "", + Token: "", + SafeMobile: "", + FacebookName: "", + TwitterName: "", + GameCenterName: "", + GoogleName: "", + AppleName: "", + SonyName: "", + TapName: "", + Country: "CN", + ReactivateTicket: "", + AreaCode: "**", + DeviceGrantTicket: "", + }, + DeviceGrantRequired: false, + RealnameOperation: "None", + RealpersonRequired: false, + SafeMobileRequired: false, + }, + } + return r +} diff --git a/gate-hk4e/entity/api/login_token_req.go b/gate-hk4e/entity/api/login_token_req.go new file mode 100644 index 00000000..242b0b7e --- /dev/null +++ b/gate-hk4e/entity/api/login_token_req.go @@ -0,0 +1,6 @@ +package api + +type LoginTokenRequest struct { + Uid string `json:"uid"` + Token string `json:"token"` +} diff --git a/gate-hk4e/entity/api/region_rsp.go b/gate-hk4e/entity/api/region_rsp.go new file mode 100644 index 00000000..862b57b4 --- /dev/null +++ b/gate-hk4e/entity/api/region_rsp.go @@ -0,0 +1,6 @@ +package api + +type QueryCurRegionRspJson struct { + Content string `json:"content"` + Sign string `json:"sign"` +} diff --git a/gate-hk4e/entity/db/account.go b/gate-hk4e/entity/db/account.go new file mode 100644 index 00000000..18f39a11 --- /dev/null +++ b/gate-hk4e/entity/db/account.go @@ -0,0 +1,14 @@ +package db + +import "go.mongodb.org/mongo-driver/bson/primitive" + +type Account struct { + ID primitive.ObjectID `bson:"_id,omitempty"` + Uid uint64 `bson:"uid"` + Username string `bson:"username"` + PlayerID uint64 `bson:"playerID"` + Token string `bson:"token"` + ComboToken string `bson:"comboToken"` + Forbid bool `bson:"forbid"` + ForbidEndTime uint64 `bson:"forbidEndTime"` +} diff --git a/gate-hk4e/entity/db/player_id_counter.go b/gate-hk4e/entity/db/player_id_counter.go new file mode 100644 index 00000000..0cfbaa99 --- /dev/null +++ b/gate-hk4e/entity/db/player_id_counter.go @@ -0,0 +1,6 @@ +package db + +type PlayerIDCounter struct { + ID string `bson:"_id"` + PlayerID uint64 `bson:"PlayerID"` +} diff --git a/gate-hk4e/forward/forward.go b/gate-hk4e/forward/forward.go new file mode 100644 index 00000000..cc466ca7 --- /dev/null +++ b/gate-hk4e/forward/forward.go @@ -0,0 +1,619 @@ +package forward + +import ( + "flswld.com/common/config" + "flswld.com/gate-hk4e-api/gm" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "gate-hk4e/dao" + "gate-hk4e/kcp" + "gate-hk4e/net" + "gate-hk4e/region" + "io/ioutil" + "runtime" + "sync" + "time" +) + +const ( + ConnWaitToken = iota + ConnWaitLogin + ConnAlive + ConnClose +) + +type ClientHeadMeta struct { + seq uint32 +} + +type ForwardManager struct { + dao *dao.Dao + protoMsgInput chan *net.ProtoMsg + protoMsgOutput chan *net.ProtoMsg + netMsgInput chan *proto.NetMsg + netMsgOutput chan *proto.NetMsg + // 玩家登录相关 + connStateMap map[uint64]uint8 + connStateMapLock sync.RWMutex + // kcpConv -> userID + convUserIdMap map[uint64]uint32 + convUserIdMapLock sync.RWMutex + // userID -> kcpConv + userIdConvMap map[uint32]uint64 + userIdConvMapLock sync.RWMutex + // kcpConv -> ipAddr + convAddrMap map[uint64]string + convAddrMapLock sync.RWMutex + // kcpConv -> headMeta + convHeadMetaMap map[uint64]*ClientHeadMeta + convHeadMetaMapLock sync.RWMutex + secretKeyBuffer []byte + kcpEventInput chan *net.KcpEvent + kcpEventOutput chan *net.KcpEvent + regionCurr *proto.QueryCurrRegionHttpRsp + signRsaKey []byte + encRsaKeyMap map[string][]byte +} + +func NewForwardManager(dao *dao.Dao, + protoMsgInput chan *net.ProtoMsg, protoMsgOutput chan *net.ProtoMsg, + kcpEventInput chan *net.KcpEvent, kcpEventOutput chan *net.KcpEvent, + netMsgInput chan *proto.NetMsg, netMsgOutput chan *proto.NetMsg) (r *ForwardManager) { + r = new(ForwardManager) + r.dao = dao + r.protoMsgInput = protoMsgInput + r.protoMsgOutput = protoMsgOutput + r.netMsgInput = netMsgInput + r.netMsgOutput = netMsgOutput + r.connStateMap = make(map[uint64]uint8) + r.convUserIdMap = make(map[uint64]uint32) + r.userIdConvMap = make(map[uint32]uint64) + r.convAddrMap = make(map[uint64]string) + r.convHeadMetaMap = make(map[uint64]*ClientHeadMeta) + r.kcpEventInput = kcpEventInput + r.kcpEventOutput = kcpEventOutput + return r +} + +func (f *ForwardManager) getHeadMsg(clientSeq uint32) (headMsg *proto.PacketHead) { + headMsg = new(proto.PacketHead) + if clientSeq != 0 { + headMsg.ClientSequenceId = clientSeq + headMsg.SentMs = uint64(time.Now().UnixMilli()) + } + return headMsg +} + +func (f *ForwardManager) kcpEventHandle() { + for { + event := <-f.kcpEventOutput + logger.LOG.Info("rpc manager recv event, ConvId: %v, EventId: %v", event.ConvId, event.EventId) + switch event.EventId { + case net.KcpPacketSendNotify: + // 发包通知 + // 关闭发包监听 + f.kcpEventInput <- &net.KcpEvent{ + ConvId: event.ConvId, + EventId: net.KcpPacketSendListen, + EventMessage: "Disable", + } + // 登录成功 通知GS初始化相关数据 + userId, exist := f.getUserIdByConvId(event.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + headMeta, exist := f.getHeadMetaByConvId(event.ConvId) + if !exist { + logger.LOG.Error("can not find client head metadata by convId") + continue + } + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.UserLoginNotify + netMsg.ClientSeq = headMeta.seq + f.netMsgInput <- netMsg + logger.LOG.Info("send to gs user login ok, ConvId: %v, UserId: %v", event.ConvId, netMsg.UserId) + case net.KcpConnCloseNotify: + // 连接断开通知 + userId, exist := f.getUserIdByConvId(event.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + if f.getConnState(event.ConvId) == ConnAlive { + // 通知GS玩家下线 + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.UserOfflineNotify + f.netMsgInput <- netMsg + logger.LOG.Info("send to gs user offline, ConvId: %v, UserId: %v", event.ConvId, netMsg.UserId) + } + // 删除各种map数据 + f.deleteConnState(event.ConvId) + f.deleteUserIdByConvId(event.ConvId) + currConvId, currExist := f.getConvIdByUserId(userId) + if currExist && currConvId == event.ConvId { + // 防止误删顶号的新连接数据 + f.deleteConvIdByUserId(userId) + } + f.deleteAddrByConvId(event.ConvId) + f.deleteHeadMetaByConvId(event.ConvId) + case net.KcpConnEstNotify: + // 连接建立通知 + addr, ok := event.EventMessage.(string) + if !ok { + logger.LOG.Error("event KcpConnEstNotify msg type error") + continue + } + f.setAddrByConvId(event.ConvId, addr) + case net.KcpConnRttNotify: + // 客户端往返时延通知 + rtt, ok := event.EventMessage.(int32) + if !ok { + logger.LOG.Error("event KcpConnRttNotify msg type error") + continue + } + // 通知GS玩家客户端往返时延 + userId, exist := f.getUserIdByConvId(event.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.ClientRttNotify + netMsg.ClientRtt = uint32(rtt) + f.netMsgInput <- netMsg + case net.KcpConnAddrChangeNotify: + // 客户端网络地址改变通知 + f.convAddrMapLock.Lock() + _, exist := f.convAddrMap[event.ConvId] + if !exist { + f.convAddrMapLock.Unlock() + logger.LOG.Error("conn addr change but conn can not be found") + continue + } + addr := event.EventMessage.(string) + f.convAddrMap[event.ConvId] = addr + f.convAddrMapLock.Unlock() + } + } +} + +func (f *ForwardManager) Start() { + // 读取密钥相关文件 + var err error = nil + f.secretKeyBuffer, err = ioutil.ReadFile("static/secretKeyBuffer.bin") + if err != nil { + logger.LOG.Error("open secretKeyBuffer.bin error") + return + } + f.signRsaKey, f.encRsaKeyMap, _ = region.LoadRsaKey() + // region + regionCurr, _ := region.InitRegion(config.CONF.Hk4e.KcpAddr, config.CONF.Hk4e.KcpPort) + f.regionCurr = regionCurr + // kcp事件监听 + go f.kcpEventHandle() + go f.recvNetMsgFromGameServer() + // 接收客户端消息 + cpuCoreNum := runtime.NumCPU() + for i := 0; i < cpuCoreNum*10; i++ { + go f.sendNetMsgToGameServer() + } +} + +// 发送消息到GS +func (f *ForwardManager) sendNetMsgToGameServer() { + for { + protoMsg := <-f.protoMsgOutput + if protoMsg.HeadMessage == nil { + logger.LOG.Error("recv null head msg: %v", protoMsg) + } + f.setHeadMetaByConvId(protoMsg.ConvId, &ClientHeadMeta{ + seq: protoMsg.HeadMessage.ClientSequenceId, + }) + connState := f.getConnState(protoMsg.ConvId) + // gate本地处理的请求 + switch protoMsg.ApiId { + case proto.ApiGetPlayerTokenReq: + // 获取玩家token请求 + if connState != ConnWaitToken { + continue + } + getPlayerTokenReq := protoMsg.PayloadMessage.(*proto.GetPlayerTokenReq) + getPlayerTokenRsp := f.getPlayerToken(protoMsg.ConvId, getPlayerTokenReq) + if getPlayerTokenRsp == nil { + continue + } + // 改变解密密钥 + f.kcpEventInput <- &net.KcpEvent{ + ConvId: protoMsg.ConvId, + EventId: net.KcpXorKeyChange, + EventMessage: "DEC", + } + // 返回数据到客户端 + resp := new(net.ProtoMsg) + resp.ConvId = protoMsg.ConvId + resp.ApiId = proto.ApiGetPlayerTokenRsp + resp.HeadMessage = f.getHeadMsg(protoMsg.HeadMessage.ClientSequenceId) + resp.PayloadMessage = getPlayerTokenRsp + f.protoMsgInput <- resp + case proto.ApiPlayerLoginReq: + // 玩家登录请求 + if connState != ConnWaitLogin { + continue + } + playerLoginReq := protoMsg.PayloadMessage.(*proto.PlayerLoginReq) + playerLoginRsp := f.playerLogin(protoMsg.ConvId, playerLoginReq) + if playerLoginRsp == nil { + continue + } + // 改变加密密钥 + f.kcpEventInput <- &net.KcpEvent{ + ConvId: protoMsg.ConvId, + EventId: net.KcpXorKeyChange, + EventMessage: "ENC", + } + // 开启发包监听 + f.kcpEventInput <- &net.KcpEvent{ + ConvId: protoMsg.ConvId, + EventId: net.KcpPacketSendListen, + EventMessage: "Enable", + } + go func() { + // 保证kcp事件已成功生效 + time.Sleep(time.Millisecond * 50) + // 返回数据到客户端 + resp := new(net.ProtoMsg) + resp.ConvId = protoMsg.ConvId + resp.ApiId = proto.ApiPlayerLoginRsp + resp.HeadMessage = f.getHeadMsg(protoMsg.HeadMessage.ClientSequenceId) + resp.PayloadMessage = playerLoginRsp + f.protoMsgInput <- resp + }() + case proto.ApiSetPlayerBornDataReq: + // 玩家注册请求 + if connState != ConnAlive { + continue + } + userId, exist := f.getUserIdByConvId(protoMsg.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.UserRegNotify + netMsg.ApiId = proto.ApiSetPlayerBornDataReq + netMsg.ClientSeq = protoMsg.HeadMessage.ClientSequenceId + netMsg.PayloadMessage = protoMsg.PayloadMessage + f.netMsgInput <- netMsg + case proto.ApiPlayerForceExitRsp: + // 玩家退出游戏请求 + if connState != ConnAlive { + continue + } + userId, exist := f.getUserIdByConvId(protoMsg.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + f.setConnState(protoMsg.ConvId, ConnClose) + info := new(gm.KickPlayerInfo) + info.UserId = userId + info.Reason = uint32(kcp.EnetServerKick) + f.KickPlayer(info) + case proto.ApiPingReq: + // ping请求 + if connState != ConnAlive { + continue + } + pingReq := protoMsg.PayloadMessage.(*proto.PingReq) + logger.LOG.Debug("user ping req, data: %v", pingReq.String()) + // 返回数据到客户端 + // TODO 记录客户端最后一次ping时间做超时下线处理 + pingRsp := new(proto.PingRsp) + pingRsp.ClientTime = pingReq.ClientTime + resp := new(net.ProtoMsg) + resp.ConvId = protoMsg.ConvId + resp.ApiId = proto.ApiPingRsp + resp.HeadMessage = f.getHeadMsg(protoMsg.HeadMessage.ClientSequenceId) + resp.PayloadMessage = pingRsp + f.protoMsgInput <- resp + // 通知GS玩家客户端的本地时钟 + userId, exist := f.getUserIdByConvId(protoMsg.ConvId) + if !exist { + logger.LOG.Error("can not find userId by convId") + continue + } + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.ClientTimeNotify + netMsg.ClientTime = pingReq.ClientTime + f.netMsgInput <- netMsg + default: + // 转发到GS + // 未登录禁止访问GS + if connState != ConnAlive { + continue + } + netMsg := new(proto.NetMsg) + userId, exist := f.getUserIdByConvId(protoMsg.ConvId) + if exist { + netMsg.UserId = userId + } else { + logger.LOG.Error("can not find userId by convId") + continue + } + netMsg.EventId = proto.NormalMsg + netMsg.ApiId = protoMsg.ApiId + netMsg.ClientSeq = protoMsg.HeadMessage.ClientSequenceId + netMsg.PayloadMessage = protoMsg.PayloadMessage + f.netMsgInput <- netMsg + } + } +} + +// 从GS接收消息 +func (f *ForwardManager) recvNetMsgFromGameServer() { + for { + netMsg := <-f.netMsgOutput + convId, exist := f.getConvIdByUserId(netMsg.UserId) + if !exist { + logger.LOG.Error("can not find convId by userId") + continue + } + if netMsg.EventId == proto.NormalMsg { + protoMsg := new(net.ProtoMsg) + protoMsg.ConvId = convId + protoMsg.ApiId = netMsg.ApiId + protoMsg.HeadMessage = f.getHeadMsg(netMsg.ClientSeq) + protoMsg.PayloadMessage = netMsg.PayloadMessage + f.protoMsgInput <- protoMsg + continue + } else { + logger.LOG.Error("recv unknown event from game server, event id: %v", netMsg.EventId) + continue + } + } +} + +func (f *ForwardManager) getConnState(convId uint64) uint8 { + f.connStateMapLock.RLock() + connState, connStateExist := f.connStateMap[convId] + f.connStateMapLock.RUnlock() + if !connStateExist { + connState = ConnWaitToken + f.connStateMapLock.Lock() + f.connStateMap[convId] = ConnWaitToken + f.connStateMapLock.Unlock() + } + return connState +} + +func (f *ForwardManager) setConnState(convId uint64, state uint8) { + f.connStateMapLock.Lock() + f.connStateMap[convId] = state + f.connStateMapLock.Unlock() +} + +func (f *ForwardManager) deleteConnState(convId uint64) { + f.connStateMapLock.Lock() + delete(f.connStateMap, convId) + f.connStateMapLock.Unlock() +} + +func (f *ForwardManager) getUserIdByConvId(convId uint64) (userId uint32, exist bool) { + f.convUserIdMapLock.RLock() + userId, exist = f.convUserIdMap[convId] + f.convUserIdMapLock.RUnlock() + return userId, exist +} + +func (f *ForwardManager) setUserIdByConvId(convId uint64, userId uint32) { + f.convUserIdMapLock.Lock() + f.convUserIdMap[convId] = userId + f.convUserIdMapLock.Unlock() +} + +func (f *ForwardManager) deleteUserIdByConvId(convId uint64) { + f.convUserIdMapLock.Lock() + delete(f.convUserIdMap, convId) + f.convUserIdMapLock.Unlock() +} + +func (f *ForwardManager) getConvIdByUserId(userId uint32) (convId uint64, exist bool) { + f.userIdConvMapLock.RLock() + convId, exist = f.userIdConvMap[userId] + f.userIdConvMapLock.RUnlock() + return convId, exist +} + +func (f *ForwardManager) setConvIdByUserId(userId uint32, convId uint64) { + f.userIdConvMapLock.Lock() + f.userIdConvMap[userId] = convId + f.userIdConvMapLock.Unlock() +} + +func (f *ForwardManager) deleteConvIdByUserId(userId uint32) { + f.userIdConvMapLock.Lock() + delete(f.userIdConvMap, userId) + f.userIdConvMapLock.Unlock() +} + +func (f *ForwardManager) getAddrByConvId(convId uint64) (addr string, exist bool) { + f.convAddrMapLock.RLock() + addr, exist = f.convAddrMap[convId] + f.convAddrMapLock.RUnlock() + return addr, exist +} + +func (f *ForwardManager) setAddrByConvId(convId uint64, addr string) { + f.convAddrMapLock.Lock() + f.convAddrMap[convId] = addr + f.convAddrMapLock.Unlock() +} + +func (f *ForwardManager) deleteAddrByConvId(convId uint64) { + f.convAddrMapLock.Lock() + delete(f.convAddrMap, convId) + f.convAddrMapLock.Unlock() +} + +func (f *ForwardManager) getHeadMetaByConvId(convId uint64) (headMeta *ClientHeadMeta, exist bool) { + f.convHeadMetaMapLock.RLock() + headMeta, exist = f.convHeadMetaMap[convId] + f.convHeadMetaMapLock.RUnlock() + return headMeta, exist +} + +func (f *ForwardManager) setHeadMetaByConvId(convId uint64, headMeta *ClientHeadMeta) { + f.convHeadMetaMapLock.Lock() + f.convHeadMetaMap[convId] = headMeta + f.convHeadMetaMapLock.Unlock() +} + +func (f *ForwardManager) deleteHeadMetaByConvId(convId uint64) { + f.convHeadMetaMapLock.Lock() + delete(f.convHeadMetaMap, convId) + f.convHeadMetaMapLock.Unlock() +} + +// 改变网关开放状态 +func (f *ForwardManager) ChangeGateOpenState(isOpen bool) bool { + f.kcpEventInput <- &net.KcpEvent{ + EventId: net.KcpGateOpenState, + EventMessage: isOpen, + } + logger.LOG.Info("change gate open state to: %v", isOpen) + return true +} + +// 剔除玩家下线 +func (f *ForwardManager) KickPlayer(info *gm.KickPlayerInfo) bool { + if info == nil { + return false + } + convId, exist := f.getConvIdByUserId(info.UserId) + if !exist { + return false + } + f.kcpEventInput <- &net.KcpEvent{ + ConvId: convId, + EventId: net.KcpConnForceClose, + EventMessage: info.Reason, + } + return true +} + +// 获取网关在线玩家信息 +func (f *ForwardManager) GetOnlineUser(uid uint32) (list *gm.OnlineUserList) { + list = &gm.OnlineUserList{ + UserList: make([]*gm.OnlineUserInfo, 0), + } + if uid == 0 { + // 获取全部玩家 + f.convUserIdMapLock.RLock() + f.convAddrMapLock.RLock() + for convId, userId := range f.convUserIdMap { + addr := f.convAddrMap[convId] + info := &gm.OnlineUserInfo{ + Uid: userId, + ConvId: convId, + Addr: addr, + } + list.UserList = append(list.UserList, info) + } + f.convAddrMapLock.RUnlock() + f.convUserIdMapLock.RUnlock() + } else { + // 获取指定uid玩家 + convId, exist := f.getConvIdByUserId(uid) + if !exist { + return list + } + addr, exist := f.getAddrByConvId(convId) + if !exist { + return list + } + info := &gm.OnlineUserInfo{ + Uid: uid, + ConvId: convId, + Addr: addr, + } + list.UserList = append(list.UserList, info) + } + return list +} + +// 用户密码改变 +func (f *ForwardManager) UserPasswordChange(uid uint32) bool { + // dispatch登录态失效 + _, err := f.dao.UpdateAccountFieldByFieldName("uid", uid, "token", "") + if err != nil { + return false + } + // 游戏内登录态失效 + account, err := f.dao.QueryAccountByField("uid", uid) + if err != nil { + return false + } + if account == nil { + return false + } + convId, exist := f.getConvIdByUserId(uint32(account.PlayerID)) + if !exist { + return true + } + f.kcpEventInput <- &net.KcpEvent{ + ConvId: convId, + EventId: net.KcpConnForceClose, + EventMessage: uint32(kcp.EnetAccountPasswordChange), + } + return true +} + +// 封号 +func (f *ForwardManager) ForbidUser(info *gm.ForbidUserInfo) bool { + if info == nil { + return false + } + // 写入账号封禁信息 + _, err := f.dao.UpdateAccountFieldByFieldName("uid", info.UserId, "forbid", true) + if err != nil { + return false + } + _, err = f.dao.UpdateAccountFieldByFieldName("uid", info.UserId, "forbidEndTime", info.ForbidEndTime) + if err != nil { + return false + } + // 游戏强制下线 + account, err := f.dao.QueryAccountByField("uid", info.UserId) + if err != nil { + return false + } + if account == nil { + return false + } + convId, exist := f.getConvIdByUserId(uint32(account.PlayerID)) + if !exist { + return true + } + f.kcpEventInput <- &net.KcpEvent{ + ConvId: convId, + EventId: net.KcpConnForceClose, + EventMessage: uint32(kcp.EnetServerKillClient), + } + return true +} + +// 解封 +func (f *ForwardManager) UnForbidUser(uid uint32) bool { + // 解除账号封禁 + _, err := f.dao.UpdateAccountFieldByFieldName("uid", uid, "forbid", false) + if err != nil { + return false + } + return true +} diff --git a/gate-hk4e/forward/login_genshin.go b/gate-hk4e/forward/login_genshin.go new file mode 100644 index 00000000..e5ee1a78 --- /dev/null +++ b/gate-hk4e/forward/login_genshin.go @@ -0,0 +1,204 @@ +package forward + +import ( + "bytes" + "encoding/base64" + "encoding/binary" + "flswld.com/common/utils/endec" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "gate-hk4e/kcp" + "gate-hk4e/net" + "strconv" + "strings" + "time" +) + +func (f *ForwardManager) getPlayerToken(convId uint64, req *proto.GetPlayerTokenReq) (rsp *proto.GetPlayerTokenRsp) { + uidStr := req.AccountUid + uid, err := strconv.ParseInt(uidStr, 10, 64) + if err != nil { + logger.LOG.Error("parse uid error: %v", err) + return nil + } + account, err := f.dao.QueryAccountByField("uid", uid) + if err != nil { + logger.LOG.Error("query account error: %v", err) + return nil + } + if account == nil { + logger.LOG.Error("account is nil") + return nil + } + if account.ComboToken != req.AccountToken { + logger.LOG.Error("token error") + return nil + } + // comboToken验证成功 + if account.Forbid { + if account.ForbidEndTime > uint64(time.Now().Unix()) { + // 封号通知 + rsp = new(proto.GetPlayerTokenRsp) + rsp.Uid = uint32(account.PlayerID) + rsp.IsProficientPlayer = true + rsp.Retcode = 21 + rsp.Msg = "FORBID_CHEATING_PLUGINS" + //rsp.BlackUidEndTime = 2051193600 // 2035-01-01 00:00:00 + rsp.BlackUidEndTime = uint32(account.ForbidEndTime) + rsp.RegPlatform = 3 + rsp.CountryCode = "US" + addr, exist := f.getAddrByConvId(convId) + if !exist { + logger.LOG.Error("can not find addr by convId") + return nil + } + split := strings.Split(addr, ":") + rsp.ClientIpStr = split[0] + return rsp + } else { + account.Forbid = false + _, err := f.dao.UpdateAccountFieldByFieldName("uid", account.Uid, "forbid", false) + if err != nil { + logger.LOG.Error("update db error: %v", err) + return nil + } + } + } + oldConvId, oldExist := f.getConvIdByUserId(uint32(account.PlayerID)) + if oldExist { + // 顶号 + f.kcpEventInput <- &net.KcpEvent{ + ConvId: oldConvId, + EventId: net.KcpConnForceClose, + EventMessage: uint32(kcp.EnetServerRelogin), + } + } + f.setUserIdByConvId(convId, uint32(account.PlayerID)) + f.setConvIdByUserId(uint32(account.PlayerID), convId) + f.setConnState(convId, ConnWaitLogin) + // 返回响应 + rsp = new(proto.GetPlayerTokenRsp) + rsp.Uid = uint32(account.PlayerID) + rsp.Token = account.ComboToken + rsp.AccountType = 1 + // TODO 要确定一下新注册的号这个值该返回什么 + rsp.IsProficientPlayer = true + rsp.SecretKeySeed = 11468049314633205968 + rsp.SecurityCmdBuffer = f.secretKeyBuffer + rsp.PlatformType = 3 + rsp.ChannelId = 1 + rsp.CountryCode = "US" + rsp.ClientVersionRandomKey = "c25-314dd05b0b5f" + rsp.RegPlatform = 3 + addr, exist := f.getAddrByConvId(convId) + if !exist { + logger.LOG.Error("can not find addr by convId") + return nil + } + split := strings.Split(addr, ":") + rsp.ClientIpStr = split[0] + if req.GetKeyId() != 0 { + // pre check + logger.LOG.Debug("do hk4e 2.8 rsa logic") + keyId := strconv.Itoa(int(req.GetKeyId())) + encPubPrivKey, exist := f.encRsaKeyMap[keyId] + if !exist { + logger.LOG.Error("can not found key id: %v", keyId) + return + } + pubKey, err := endec.RsaParsePubKeyByPrivKey(encPubPrivKey) + if err != nil { + logger.LOG.Error("parse rsa pub key error: %v", err) + return nil + } + signPrivkey, err := endec.RsaParsePrivKey(f.signRsaKey) + if err != nil { + logger.LOG.Error("parse rsa priv key error: %v", err) + return nil + } + clientSeedBase64 := req.GetClientSeed() + clientSeedEnc, err := base64.StdEncoding.DecodeString(clientSeedBase64) + if err != nil { + logger.LOG.Error("parse client seed base64 error: %v", err) + return nil + } + // create error rsp info + clientSeedEncCopy := make([]byte, len(clientSeedEnc)) + copy(clientSeedEncCopy, clientSeedEnc) + endec.Xor(clientSeedEncCopy, []byte{0x9f, 0x26, 0xb2, 0x17, 0x61, 0x5f, 0xc8, 0x00}) + rsp.EncryptedSeed = base64.StdEncoding.EncodeToString(clientSeedEncCopy) + rsp.SeedSignature = "bm90aGluZyBoZXJl" + // do + clientSeed, err := endec.RsaDecrypt(clientSeedEnc, signPrivkey) + if err != nil { + logger.LOG.Error("rsa dec error: %v", err) + return rsp + } + clientSeedUint64 := uint64(0) + err = binary.Read(bytes.NewReader(clientSeed), binary.BigEndian, &clientSeedUint64) + if err != nil { + logger.LOG.Error("parse client seed to uint64 error: %v", err) + return rsp + } + seedUint64 := uint64(11468049314633205968) ^ clientSeedUint64 + seedBuf := new(bytes.Buffer) + err = binary.Write(seedBuf, binary.BigEndian, seedUint64) + if err != nil { + logger.LOG.Error("conv seed uint64 to bytes error: %v", err) + return rsp + } + seed := seedBuf.Bytes() + seedEnc, err := endec.RsaEncrypt(seed, pubKey) + if err != nil { + logger.LOG.Error("rsa enc error: %v", err) + return rsp + } + seedSign, err := endec.RsaSign(seed, signPrivkey) + if err != nil { + logger.LOG.Error("rsa sign error: %v", err) + return rsp + } + rsp.EncryptedSeed = base64.StdEncoding.EncodeToString(seedEnc) + rsp.SeedSignature = base64.StdEncoding.EncodeToString(seedSign) + } + return rsp +} + +func (f *ForwardManager) playerLogin(convId uint64, req *proto.PlayerLoginReq) (rsp *proto.PlayerLoginRsp) { + userId, exist := f.getUserIdByConvId(convId) + if !exist { + logger.LOG.Error("can not find userId by convId") + return nil + } + account, err := f.dao.QueryAccountByField("playerID", userId) + if err != nil { + logger.LOG.Error("query account error: %v", err) + return nil + } + if account == nil { + logger.LOG.Error("account is nil") + return nil + } + if account.ComboToken != req.Token { + logger.LOG.Error("token error") + return nil + } + // comboToken验证成功 + f.setConnState(convId, ConnAlive) + // 返回响应 + rsp = new(proto.PlayerLoginRsp) + rsp.IsUseAbilityHash = true + rsp.AbilityHashCode = 1844674 + rsp.GameBiz = "hk4e_global" + rsp.ClientDataVersion = f.regionCurr.RegionInfo.ClientDataVersion + rsp.ClientSilenceDataVersion = f.regionCurr.RegionInfo.ClientSilenceDataVersion + rsp.ClientMd5 = f.regionCurr.RegionInfo.ClientDataMd5 + rsp.ClientSilenceMd5 = f.regionCurr.RegionInfo.ClientSilenceDataMd5 + rsp.ResVersionConfig = f.regionCurr.RegionInfo.ResVersionConfig + rsp.ClientVersionSuffix = f.regionCurr.RegionInfo.ClientVersionSuffix + rsp.ClientSilenceVersionSuffix = f.regionCurr.RegionInfo.ClientSilenceVersionSuffix + rsp.IsScOpen = false + rsp.RegisterCps = "mihoyo" + rsp.CountryCode = "US" + return rsp +} diff --git a/gate-hk4e/go.mod b/gate-hk4e/go.mod new file mode 100644 index 00000000..bfd5a362 --- /dev/null +++ b/gate-hk4e/go.mod @@ -0,0 +1,94 @@ +module gate-hk4e + +go 1.19 + +// annie +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../light + +require flswld.com/gate-hk4e-api v0.0.0-incompatible + +replace flswld.com/gate-hk4e-api => ../gate-hk4e-api + +require flswld.com/annie-user-api v0.0.0-incompatible + +replace flswld.com/annie-user-api => ../service/annie-user-api + +// kcp +require ( + github.com/klauspost/reedsolomon v1.9.14 + github.com/pkg/errors v0.9.1 + github.com/stretchr/testify v1.7.0 + github.com/templexxx/xorsimd v0.4.1 + github.com/tjfoc/gmsm v1.4.1 + github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37 + golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd + golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9 +) + +// protobuf +require google.golang.org/protobuf v1.28.0 + +// gin +require github.com/gin-gonic/gin v1.6.3 + +// mongodb +require go.mongodb.org/mongo-driver v1.8.3 + +// nats +require github.com/nats-io/nats.go v1.16.0 + +// msgpack +require github.com/vmihailenco/msgpack/v5 v5.3.5 + +// statsviz +require github.com/arl/statsviz v0.5.1 + +require ( + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.2.0 // indirect + github.com/go-stack/stack v1.8.0 // indirect + github.com/golang/protobuf v1.5.0 // indirect + github.com/golang/snappy v0.0.1 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/klauspost/compress v1.14.4 // indirect + github.com/klauspost/cpuid/v2 v2.0.6 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/nats-io/nats-server/v2 v2.8.4 // indirect + github.com/nats-io/nkeys v0.3.0 // indirect + github.com/nats-io/nuid v1.0.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/templexxx/cpu v0.0.1 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/xdg-go/pbkdf2 v1.0.0 // indirect + github.com/xdg-go/scram v1.0.2 // indirect + github.com/xdg-go/stringprep v1.0.2 // indirect + github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect + golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect + golang.org/x/sys v0.0.0-20220111092808-5a964db01320 // indirect + golang.org/x/text v0.3.6 // indirect + gopkg.in/yaml.v2 v2.2.8 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect +) diff --git a/gate-hk4e/go.sum b/gate-hk4e/go.sum new file mode 100644 index 00000000..e3975d29 --- /dev/null +++ b/gate-hk4e/go.sum @@ -0,0 +1,203 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/arl/statsviz v0.5.1 h1:3HY0ZEB738JtguWsD1Tf1pFJZiCcWUmYRq/3OTYKaSI= +github.com/arl/statsviz v0.5.1/go.mod h1:zDnjgRblGm1Dyd7J5YlbH7gM1/+HRC+SfkhZhQb5AnM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.14.4 h1:eijASRJcobkVtSt81Olfh7JX43osYLwy5krOJo6YEu4= +github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/cpuid/v2 v2.0.6 h1:dQ5ueTiftKxp0gyjKSx5+8BtPWkyQbd95m8Gys/RarI= +github.com/klauspost/cpuid/v2 v2.0.6/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/reedsolomon v1.9.14 h1:vkPCIhFMn2VdktLUcugqsU4vcLXN3dAhVd1uWA+TDD8= +github.com/klauspost/reedsolomon v1.9.14/go.mod h1:eqPAcE7xar5CIzcdfwydOEdcmchAKAP/qs14y4GCBOk= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a h1:lem6QCvxR0Y28gth9P+wV2K/zYUUAkJ+55U8cpS0p5I= +github.com/nats-io/nats-server/v2 v2.8.4 h1:0jQzze1T9mECg8YZEl8+WYUXb9JKluJfCBriPUtluB4= +github.com/nats-io/nats-server/v2 v2.8.4/go.mod h1:8zZa+Al3WsESfmgSs98Fi06dRWLH5Bnq90m5bKD/eT4= +github.com/nats-io/nats.go v1.16.0 h1:zvLE7fGBQYW6MWaFaRdsgm9qT39PJDQoju+DS8KsO1g= +github.com/nats-io/nats.go v1.16.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= +github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= +github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= +github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/templexxx/cpu v0.0.1 h1:hY4WdLOgKdc8y13EYklu9OUTXik80BkxHoWvTO6MQQY= +github.com/templexxx/cpu v0.0.1/go.mod h1:w7Tb+7qgcAlIyX4NhLuDKt78AHA5SzPmq0Wj6HiEnnk= +github.com/templexxx/xorsimd v0.4.1 h1:iUZcywbOYDRAZUasAs2eSCUW8eobuZDy0I9FJiORkVg= +github.com/templexxx/xorsimd v0.4.1/go.mod h1:W+ffZz8jJMH2SXwuKu9WhygqBMbFnp14G2fqEr8qaNo= +github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tjfoc/gmsm v1.4.1 h1:aMe1GlZb+0bLjn+cKTPEvvn9oUEBlJitaZiiBwsbgho= +github.com/tjfoc/gmsm v1.4.1/go.mod h1:j4INPkHWMrhJb38G+J6W4Tw0AbuN8Thu3PbdVYhVcTE= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2 h1:akYIkZ28e6A96dkWNJQu3nmCzH3YfwMPQExUYDaRv7w= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2 h1:6iq84/ryjjeRmMJwxutI51F2GIPlP5BfTvXHeYjyhBc= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= +github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37 h1:EWU6Pktpas0n8lLQwDsRyZfmkPeRbdgPtW609es+/9E= +github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37/go.mod h1:HpMP7DB2CyokmAh4lp0EQnnWhmycP/TvwBGzvuie+H0= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d h1:splanxYIlg+5LfHAM6xpdFEAYOk8iySO56hMFq6uLyA= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= +go.mongodb.org/mongo-driver v1.8.3 h1:TDKlTkGDKm9kkJVUOAXDK5/fkqKHJVwYQSpoRfB43R4= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9 h1:0qxwC5n+ttVOINCBeRHO0nq9X7uy8SDsPoi5OaCdIEI= +golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320 h1:0jf+tOCoZ3LyutmCOWpVni1chK4VfFLhRsDK7MhqGRY= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 h1:GZokNIeuVkl3aZHJchRrr13WCsols02MLUcz1U9is6M= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/gate-hk4e/kcp/autotune.go b/gate-hk4e/kcp/autotune.go new file mode 100644 index 00000000..7c189951 --- /dev/null +++ b/gate-hk4e/kcp/autotune.go @@ -0,0 +1,64 @@ +package kcp + +const maxAutoTuneSamples = 258 + +// pulse represents a 0/1 signal with time sequence +type pulse struct { + bit bool // 0 or 1 + seq uint32 // sequence of the signal +} + +// autoTune object +type autoTune struct { + pulses [maxAutoTuneSamples]pulse +} + +// Sample adds a signal sample to the pulse buffer +func (tune *autoTune) Sample(bit bool, seq uint32) { + tune.pulses[seq%maxAutoTuneSamples] = pulse{bit, seq} +} + +// Find a period for a given signal +// returns -1 if not found +// +// --- ------ +// | | +// |______________| +// Period +// Falling Edge Rising Edge +func (tune *autoTune) FindPeriod(bit bool) int { + // last pulse and initial index setup + lastPulse := tune.pulses[0] + idx := 1 + + // left edge + var leftEdge int + for ; idx < len(tune.pulses); idx++ { + if lastPulse.bit != bit && tune.pulses[idx].bit == bit { // edge found + if lastPulse.seq+1 == tune.pulses[idx].seq { // ensure edge continuity + leftEdge = idx + break + } + } + lastPulse = tune.pulses[idx] + } + + // right edge + var rightEdge int + lastPulse = tune.pulses[leftEdge] + idx = leftEdge + 1 + + for ; idx < len(tune.pulses); idx++ { + if lastPulse.seq+1 == tune.pulses[idx].seq { // ensure pulses in this level monotonic + if lastPulse.bit == bit && tune.pulses[idx].bit != bit { // edge found + rightEdge = idx + break + } + } else { + return -1 + } + lastPulse = tune.pulses[idx] + } + + return rightEdge - leftEdge +} diff --git a/gate-hk4e/kcp/autotune_test.go b/gate-hk4e/kcp/autotune_test.go new file mode 100644 index 00000000..3dc1ecc6 --- /dev/null +++ b/gate-hk4e/kcp/autotune_test.go @@ -0,0 +1,47 @@ +package kcp + +import ( + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestAutoTune(t *testing.T) { + signals := []uint32{0, 0, 0, 0, 0, 0} + + tune := autoTune{} + for i := 0; i < len(signals); i++ { + if signals[i] == 0 { + tune.Sample(false, uint32(i)) + } else { + tune.Sample(true, uint32(i)) + } + } + + assert.Equal(t, -1, tune.FindPeriod(false)) + assert.Equal(t, -1, tune.FindPeriod(true)) + + signals = []uint32{1, 0, 1, 0, 0, 1} + tune = autoTune{} + for i := 0; i < len(signals); i++ { + if signals[i] == 0 { + tune.Sample(false, uint32(i)) + } else { + tune.Sample(true, uint32(i)) + } + } + assert.Equal(t, 1, tune.FindPeriod(false)) + assert.Equal(t, 1, tune.FindPeriod(true)) + + signals = []uint32{1, 0, 0, 0, 0, 1} + tune = autoTune{} + for i := 0; i < len(signals); i++ { + if signals[i] == 0 { + tune.Sample(false, uint32(i)) + } else { + tune.Sample(true, uint32(i)) + } + } + assert.Equal(t, -1, tune.FindPeriod(true)) + assert.Equal(t, 4, tune.FindPeriod(false)) +} diff --git a/gate-hk4e/kcp/batchconn.go b/gate-hk4e/kcp/batchconn.go new file mode 100644 index 00000000..6c307010 --- /dev/null +++ b/gate-hk4e/kcp/batchconn.go @@ -0,0 +1,12 @@ +package kcp + +import "golang.org/x/net/ipv4" + +const ( + batchSize = 16 +) + +type batchConn interface { + WriteBatch(ms []ipv4.Message, flags int) (int, error) + ReadBatch(ms []ipv4.Message, flags int) (int, error) +} diff --git a/gate-hk4e/kcp/crypt.go b/gate-hk4e/kcp/crypt.go new file mode 100644 index 00000000..d8828522 --- /dev/null +++ b/gate-hk4e/kcp/crypt.go @@ -0,0 +1,618 @@ +package kcp + +import ( + "crypto/aes" + "crypto/cipher" + "crypto/des" + "crypto/sha1" + "unsafe" + + xor "github.com/templexxx/xorsimd" + "github.com/tjfoc/gmsm/sm4" + + "golang.org/x/crypto/blowfish" + "golang.org/x/crypto/cast5" + "golang.org/x/crypto/pbkdf2" + "golang.org/x/crypto/salsa20" + "golang.org/x/crypto/tea" + "golang.org/x/crypto/twofish" + "golang.org/x/crypto/xtea" +) + +var ( + initialVector = []byte{167, 115, 79, 156, 18, 172, 27, 1, 164, 21, 242, 193, 252, 120, 230, 107} + saltxor = `sH3CIVoF#rWLtJo6` +) + +// BlockCrypt defines encryption/decryption methods for a given byte slice. +// Notes on implementing: the data to be encrypted contains a builtin +// nonce at the first 16 bytes +type BlockCrypt interface { + // Encrypt encrypts the whole block in src into dst. + // Dst and src may point at the same memory. + Encrypt(dst, src []byte) + + // Decrypt decrypts the whole block in src into dst. + // Dst and src may point at the same memory. + Decrypt(dst, src []byte) +} + +type salsa20BlockCrypt struct { + key [32]byte +} + +// NewSalsa20BlockCrypt https://en.wikipedia.org/wiki/Salsa20 +func NewSalsa20BlockCrypt(key []byte) (BlockCrypt, error) { + c := new(salsa20BlockCrypt) + copy(c.key[:], key) + return c, nil +} + +func (c *salsa20BlockCrypt) Encrypt(dst, src []byte) { + salsa20.XORKeyStream(dst[8:], src[8:], src[:8], &c.key) + copy(dst[:8], src[:8]) +} +func (c *salsa20BlockCrypt) Decrypt(dst, src []byte) { + salsa20.XORKeyStream(dst[8:], src[8:], src[:8], &c.key) + copy(dst[:8], src[:8]) +} + +type sm4BlockCrypt struct { + encbuf [sm4.BlockSize]byte // 64bit alignment enc/dec buffer + decbuf [2 * sm4.BlockSize]byte + block cipher.Block +} + +// NewSM4BlockCrypt https://github.com/tjfoc/gmsm/tree/master/sm4 +func NewSM4BlockCrypt(key []byte) (BlockCrypt, error) { + c := new(sm4BlockCrypt) + block, err := sm4.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *sm4BlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *sm4BlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type twofishBlockCrypt struct { + encbuf [twofish.BlockSize]byte + decbuf [2 * twofish.BlockSize]byte + block cipher.Block +} + +// NewTwofishBlockCrypt https://en.wikipedia.org/wiki/Twofish +func NewTwofishBlockCrypt(key []byte) (BlockCrypt, error) { + c := new(twofishBlockCrypt) + block, err := twofish.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *twofishBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *twofishBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type tripleDESBlockCrypt struct { + encbuf [des.BlockSize]byte + decbuf [2 * des.BlockSize]byte + block cipher.Block +} + +// NewTripleDESBlockCrypt https://en.wikipedia.org/wiki/Triple_DES +func NewTripleDESBlockCrypt(key []byte) (BlockCrypt, error) { + c := new(tripleDESBlockCrypt) + block, err := des.NewTripleDESCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *tripleDESBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *tripleDESBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type cast5BlockCrypt struct { + encbuf [cast5.BlockSize]byte + decbuf [2 * cast5.BlockSize]byte + block cipher.Block +} + +// NewCast5BlockCrypt https://en.wikipedia.org/wiki/CAST-128 +func NewCast5BlockCrypt(key []byte) (BlockCrypt, error) { + c := new(cast5BlockCrypt) + block, err := cast5.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *cast5BlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *cast5BlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type blowfishBlockCrypt struct { + encbuf [blowfish.BlockSize]byte + decbuf [2 * blowfish.BlockSize]byte + block cipher.Block +} + +// NewBlowfishBlockCrypt https://en.wikipedia.org/wiki/Blowfish_(cipher) +func NewBlowfishBlockCrypt(key []byte) (BlockCrypt, error) { + c := new(blowfishBlockCrypt) + block, err := blowfish.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *blowfishBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *blowfishBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type aesBlockCrypt struct { + encbuf [aes.BlockSize]byte + decbuf [2 * aes.BlockSize]byte + block cipher.Block +} + +// NewAESBlockCrypt https://en.wikipedia.org/wiki/Advanced_Encryption_Standard +func NewAESBlockCrypt(key []byte) (BlockCrypt, error) { + c := new(aesBlockCrypt) + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *aesBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *aesBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type teaBlockCrypt struct { + encbuf [tea.BlockSize]byte + decbuf [2 * tea.BlockSize]byte + block cipher.Block +} + +// NewTEABlockCrypt https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm +func NewTEABlockCrypt(key []byte) (BlockCrypt, error) { + c := new(teaBlockCrypt) + block, err := tea.NewCipherWithRounds(key, 16) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *teaBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *teaBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type xteaBlockCrypt struct { + encbuf [xtea.BlockSize]byte + decbuf [2 * xtea.BlockSize]byte + block cipher.Block +} + +// NewXTEABlockCrypt https://en.wikipedia.org/wiki/XTEA +func NewXTEABlockCrypt(key []byte) (BlockCrypt, error) { + c := new(xteaBlockCrypt) + block, err := xtea.NewCipher(key) + if err != nil { + return nil, err + } + c.block = block + return c, nil +} + +func (c *xteaBlockCrypt) Encrypt(dst, src []byte) { encrypt(c.block, dst, src, c.encbuf[:]) } +func (c *xteaBlockCrypt) Decrypt(dst, src []byte) { decrypt(c.block, dst, src, c.decbuf[:]) } + +type simpleXORBlockCrypt struct { + xortbl []byte +} + +// NewSimpleXORBlockCrypt simple xor with key expanding +func NewSimpleXORBlockCrypt(key []byte) (BlockCrypt, error) { + c := new(simpleXORBlockCrypt) + c.xortbl = pbkdf2.Key(key, []byte(saltxor), 32, mtuLimit, sha1.New) + return c, nil +} + +func (c *simpleXORBlockCrypt) Encrypt(dst, src []byte) { xor.Bytes(dst, src, c.xortbl) } +func (c *simpleXORBlockCrypt) Decrypt(dst, src []byte) { xor.Bytes(dst, src, c.xortbl) } + +type noneBlockCrypt struct{} + +// NewNoneBlockCrypt does nothing but copying +func NewNoneBlockCrypt(key []byte) (BlockCrypt, error) { + return new(noneBlockCrypt), nil +} + +func (c *noneBlockCrypt) Encrypt(dst, src []byte) { copy(dst, src) } +func (c *noneBlockCrypt) Decrypt(dst, src []byte) { copy(dst, src) } + +// packet encryption with local CFB mode +func encrypt(block cipher.Block, dst, src, buf []byte) { + switch block.BlockSize() { + case 8: + encrypt8(block, dst, src, buf) + case 16: + encrypt16(block, dst, src, buf) + default: + panic("unsupported cipher block size") + } +} + +// optimized encryption for the ciphers which works in 8-bytes +func encrypt8(block cipher.Block, dst, src, buf []byte) { + tbl := buf[:8] + block.Encrypt(tbl, initialVector) + n := len(src) / 8 + base := 0 + repeat := n / 8 + left := n % 8 + ptr_tbl := (*uint64)(unsafe.Pointer(&tbl[0])) + + for i := 0; i < repeat; i++ { + s := src[base:][0:64] + d := dst[base:][0:64] + // 1 + *(*uint64)(unsafe.Pointer(&d[0])) = *(*uint64)(unsafe.Pointer(&s[0])) ^ *ptr_tbl + block.Encrypt(tbl, d[0:8]) + // 2 + *(*uint64)(unsafe.Pointer(&d[8])) = *(*uint64)(unsafe.Pointer(&s[8])) ^ *ptr_tbl + block.Encrypt(tbl, d[8:16]) + // 3 + *(*uint64)(unsafe.Pointer(&d[16])) = *(*uint64)(unsafe.Pointer(&s[16])) ^ *ptr_tbl + block.Encrypt(tbl, d[16:24]) + // 4 + *(*uint64)(unsafe.Pointer(&d[24])) = *(*uint64)(unsafe.Pointer(&s[24])) ^ *ptr_tbl + block.Encrypt(tbl, d[24:32]) + // 5 + *(*uint64)(unsafe.Pointer(&d[32])) = *(*uint64)(unsafe.Pointer(&s[32])) ^ *ptr_tbl + block.Encrypt(tbl, d[32:40]) + // 6 + *(*uint64)(unsafe.Pointer(&d[40])) = *(*uint64)(unsafe.Pointer(&s[40])) ^ *ptr_tbl + block.Encrypt(tbl, d[40:48]) + // 7 + *(*uint64)(unsafe.Pointer(&d[48])) = *(*uint64)(unsafe.Pointer(&s[48])) ^ *ptr_tbl + block.Encrypt(tbl, d[48:56]) + // 8 + *(*uint64)(unsafe.Pointer(&d[56])) = *(*uint64)(unsafe.Pointer(&s[56])) ^ *ptr_tbl + block.Encrypt(tbl, d[56:64]) + base += 64 + } + + switch left { + case 7: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 6: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 5: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 4: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 3: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 2: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 1: + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *ptr_tbl + block.Encrypt(tbl, dst[base:]) + base += 8 + fallthrough + case 0: + xorBytes(dst[base:], src[base:], tbl) + } +} + +// optimized encryption for the ciphers which works in 16-bytes +func encrypt16(block cipher.Block, dst, src, buf []byte) { + tbl := buf[:16] + block.Encrypt(tbl, initialVector) + n := len(src) / 16 + base := 0 + repeat := n / 8 + left := n % 8 + for i := 0; i < repeat; i++ { + s := src[base:][0:128] + d := dst[base:][0:128] + // 1 + xor.Bytes16Align(d[0:16], s[0:16], tbl) + block.Encrypt(tbl, d[0:16]) + // 2 + xor.Bytes16Align(d[16:32], s[16:32], tbl) + block.Encrypt(tbl, d[16:32]) + // 3 + xor.Bytes16Align(d[32:48], s[32:48], tbl) + block.Encrypt(tbl, d[32:48]) + // 4 + xor.Bytes16Align(d[48:64], s[48:64], tbl) + block.Encrypt(tbl, d[48:64]) + // 5 + xor.Bytes16Align(d[64:80], s[64:80], tbl) + block.Encrypt(tbl, d[64:80]) + // 6 + xor.Bytes16Align(d[80:96], s[80:96], tbl) + block.Encrypt(tbl, d[80:96]) + // 7 + xor.Bytes16Align(d[96:112], s[96:112], tbl) + block.Encrypt(tbl, d[96:112]) + // 8 + xor.Bytes16Align(d[112:128], s[112:128], tbl) + block.Encrypt(tbl, d[112:128]) + base += 128 + } + + switch left { + case 7: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 6: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 5: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 4: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 3: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 2: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 1: + xor.Bytes16Align(dst[base:], src[base:], tbl) + block.Encrypt(tbl, dst[base:]) + base += 16 + fallthrough + case 0: + xorBytes(dst[base:], src[base:], tbl) + } +} + +// decryption +func decrypt(block cipher.Block, dst, src, buf []byte) { + switch block.BlockSize() { + case 8: + decrypt8(block, dst, src, buf) + case 16: + decrypt16(block, dst, src, buf) + default: + panic("unsupported cipher block size") + } +} + +// decrypt 8 bytes block, all byte slices are supposed to be 64bit aligned +func decrypt8(block cipher.Block, dst, src, buf []byte) { + tbl := buf[0:8] + next := buf[8:16] + block.Encrypt(tbl, initialVector) + n := len(src) / 8 + base := 0 + repeat := n / 8 + left := n % 8 + ptr_tbl := (*uint64)(unsafe.Pointer(&tbl[0])) + ptr_next := (*uint64)(unsafe.Pointer(&next[0])) + + for i := 0; i < repeat; i++ { + s := src[base:][0:64] + d := dst[base:][0:64] + // 1 + block.Encrypt(next, s[0:8]) + *(*uint64)(unsafe.Pointer(&d[0])) = *(*uint64)(unsafe.Pointer(&s[0])) ^ *ptr_tbl + // 2 + block.Encrypt(tbl, s[8:16]) + *(*uint64)(unsafe.Pointer(&d[8])) = *(*uint64)(unsafe.Pointer(&s[8])) ^ *ptr_next + // 3 + block.Encrypt(next, s[16:24]) + *(*uint64)(unsafe.Pointer(&d[16])) = *(*uint64)(unsafe.Pointer(&s[16])) ^ *ptr_tbl + // 4 + block.Encrypt(tbl, s[24:32]) + *(*uint64)(unsafe.Pointer(&d[24])) = *(*uint64)(unsafe.Pointer(&s[24])) ^ *ptr_next + // 5 + block.Encrypt(next, s[32:40]) + *(*uint64)(unsafe.Pointer(&d[32])) = *(*uint64)(unsafe.Pointer(&s[32])) ^ *ptr_tbl + // 6 + block.Encrypt(tbl, s[40:48]) + *(*uint64)(unsafe.Pointer(&d[40])) = *(*uint64)(unsafe.Pointer(&s[40])) ^ *ptr_next + // 7 + block.Encrypt(next, s[48:56]) + *(*uint64)(unsafe.Pointer(&d[48])) = *(*uint64)(unsafe.Pointer(&s[48])) ^ *ptr_tbl + // 8 + block.Encrypt(tbl, s[56:64]) + *(*uint64)(unsafe.Pointer(&d[56])) = *(*uint64)(unsafe.Pointer(&s[56])) ^ *ptr_next + base += 64 + } + + switch left { + case 7: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 6: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 5: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 4: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 3: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 2: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 1: + block.Encrypt(next, src[base:]) + *(*uint64)(unsafe.Pointer(&dst[base])) = *(*uint64)(unsafe.Pointer(&src[base])) ^ *(*uint64)(unsafe.Pointer(&tbl[0])) + tbl, next = next, tbl + base += 8 + fallthrough + case 0: + xorBytes(dst[base:], src[base:], tbl) + } +} + +func decrypt16(block cipher.Block, dst, src, buf []byte) { + tbl := buf[0:16] + next := buf[16:32] + block.Encrypt(tbl, initialVector) + n := len(src) / 16 + base := 0 + repeat := n / 8 + left := n % 8 + for i := 0; i < repeat; i++ { + s := src[base:][0:128] + d := dst[base:][0:128] + // 1 + block.Encrypt(next, s[0:16]) + xor.Bytes16Align(d[0:16], s[0:16], tbl) + // 2 + block.Encrypt(tbl, s[16:32]) + xor.Bytes16Align(d[16:32], s[16:32], next) + // 3 + block.Encrypt(next, s[32:48]) + xor.Bytes16Align(d[32:48], s[32:48], tbl) + // 4 + block.Encrypt(tbl, s[48:64]) + xor.Bytes16Align(d[48:64], s[48:64], next) + // 5 + block.Encrypt(next, s[64:80]) + xor.Bytes16Align(d[64:80], s[64:80], tbl) + // 6 + block.Encrypt(tbl, s[80:96]) + xor.Bytes16Align(d[80:96], s[80:96], next) + // 7 + block.Encrypt(next, s[96:112]) + xor.Bytes16Align(d[96:112], s[96:112], tbl) + // 8 + block.Encrypt(tbl, s[112:128]) + xor.Bytes16Align(d[112:128], s[112:128], next) + base += 128 + } + + switch left { + case 7: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 6: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 5: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 4: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 3: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 2: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 1: + block.Encrypt(next, src[base:]) + xor.Bytes16Align(dst[base:], src[base:], tbl) + tbl, next = next, tbl + base += 16 + fallthrough + case 0: + xorBytes(dst[base:], src[base:], tbl) + } +} + +// per bytes xors +func xorBytes(dst, a, b []byte) int { + n := len(a) + if len(b) < n { + n = len(b) + } + if n == 0 { + return 0 + } + + for i := 0; i < n; i++ { + dst[i] = a[i] ^ b[i] + } + return n +} diff --git a/gate-hk4e/kcp/crypt_test.go b/gate-hk4e/kcp/crypt_test.go new file mode 100644 index 00000000..2ef4dc8a --- /dev/null +++ b/gate-hk4e/kcp/crypt_test.go @@ -0,0 +1,289 @@ +package kcp + +import ( + "bytes" + "crypto/aes" + "crypto/md5" + "crypto/rand" + "crypto/sha1" + "hash/crc32" + "io" + "testing" +) + +func TestSM4(t *testing.T) { + bc, err := NewSM4BlockCrypt(pass[:16]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestAES(t *testing.T) { + bc, err := NewAESBlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestTEA(t *testing.T) { + bc, err := NewTEABlockCrypt(pass[:16]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestXOR(t *testing.T) { + bc, err := NewSimpleXORBlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestBlowfish(t *testing.T) { + bc, err := NewBlowfishBlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestNone(t *testing.T) { + bc, err := NewNoneBlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestCast5(t *testing.T) { + bc, err := NewCast5BlockCrypt(pass[:16]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func Test3DES(t *testing.T) { + bc, err := NewTripleDESBlockCrypt(pass[:24]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestTwofish(t *testing.T) { + bc, err := NewTwofishBlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestXTEA(t *testing.T) { + bc, err := NewXTEABlockCrypt(pass[:16]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func TestSalsa20(t *testing.T) { + bc, err := NewSalsa20BlockCrypt(pass[:32]) + if err != nil { + t.Fatal(err) + } + cryptTest(t, bc) +} + +func cryptTest(t *testing.T, bc BlockCrypt) { + data := make([]byte, mtuLimit) + io.ReadFull(rand.Reader, data) + dec := make([]byte, mtuLimit) + enc := make([]byte, mtuLimit) + bc.Encrypt(enc, data) + bc.Decrypt(dec, enc) + if !bytes.Equal(data, dec) { + t.Fail() + } +} + +func BenchmarkSM4(b *testing.B) { + bc, err := NewSM4BlockCrypt(pass[:16]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkAES128(b *testing.B) { + bc, err := NewAESBlockCrypt(pass[:16]) + if err != nil { + b.Fatal(err) + } + + benchCrypt(b, bc) +} + +func BenchmarkAES192(b *testing.B) { + bc, err := NewAESBlockCrypt(pass[:24]) + if err != nil { + b.Fatal(err) + } + + benchCrypt(b, bc) +} + +func BenchmarkAES256(b *testing.B) { + bc, err := NewAESBlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + + benchCrypt(b, bc) +} + +func BenchmarkTEA(b *testing.B) { + bc, err := NewTEABlockCrypt(pass[:16]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkXOR(b *testing.B) { + bc, err := NewSimpleXORBlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkBlowfish(b *testing.B) { + bc, err := NewBlowfishBlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkNone(b *testing.B) { + bc, err := NewNoneBlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkCast5(b *testing.B) { + bc, err := NewCast5BlockCrypt(pass[:16]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func Benchmark3DES(b *testing.B) { + bc, err := NewTripleDESBlockCrypt(pass[:24]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkTwofish(b *testing.B) { + bc, err := NewTwofishBlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkXTEA(b *testing.B) { + bc, err := NewXTEABlockCrypt(pass[:16]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func BenchmarkSalsa20(b *testing.B) { + bc, err := NewSalsa20BlockCrypt(pass[:32]) + if err != nil { + b.Fatal(err) + } + benchCrypt(b, bc) +} + +func benchCrypt(b *testing.B, bc BlockCrypt) { + data := make([]byte, mtuLimit) + io.ReadFull(rand.Reader, data) + dec := make([]byte, mtuLimit) + enc := make([]byte, mtuLimit) + + b.ReportAllocs() + b.SetBytes(int64(len(enc) * 2)) + b.ResetTimer() + for i := 0; i < b.N; i++ { + bc.Encrypt(enc, data) + bc.Decrypt(dec, enc) + } +} + +func BenchmarkCRC32(b *testing.B) { + content := make([]byte, 1024) + b.SetBytes(int64(len(content))) + for i := 0; i < b.N; i++ { + crc32.ChecksumIEEE(content) + } +} + +func BenchmarkCsprngSystem(b *testing.B) { + data := make([]byte, md5.Size) + b.SetBytes(int64(len(data))) + + for i := 0; i < b.N; i++ { + io.ReadFull(rand.Reader, data) + } +} + +func BenchmarkCsprngMD5(b *testing.B) { + var data [md5.Size]byte + b.SetBytes(md5.Size) + + for i := 0; i < b.N; i++ { + data = md5.Sum(data[:]) + } +} +func BenchmarkCsprngSHA1(b *testing.B) { + var data [sha1.Size]byte + b.SetBytes(sha1.Size) + + for i := 0; i < b.N; i++ { + data = sha1.Sum(data[:]) + } +} + +func BenchmarkCsprngNonceMD5(b *testing.B) { + var ng nonceMD5 + ng.Init() + b.SetBytes(md5.Size) + data := make([]byte, md5.Size) + for i := 0; i < b.N; i++ { + ng.Fill(data) + } +} + +func BenchmarkCsprngNonceAES128(b *testing.B) { + var ng nonceAES128 + ng.Init() + + b.SetBytes(aes.BlockSize) + data := make([]byte, aes.BlockSize) + for i := 0; i < b.N; i++ { + ng.Fill(data) + } +} diff --git a/gate-hk4e/kcp/entropy.go b/gate-hk4e/kcp/entropy.go new file mode 100644 index 00000000..156c1cd2 --- /dev/null +++ b/gate-hk4e/kcp/entropy.go @@ -0,0 +1,52 @@ +package kcp + +import ( + "crypto/aes" + "crypto/cipher" + "crypto/md5" + "crypto/rand" + "io" +) + +// Entropy defines a entropy source +type Entropy interface { + Init() + Fill(nonce []byte) +} + +// nonceMD5 nonce generator for packet header +type nonceMD5 struct { + seed [md5.Size]byte +} + +func (n *nonceMD5) Init() { /*nothing required*/ } + +func (n *nonceMD5) Fill(nonce []byte) { + if n.seed[0] == 0 { // entropy update + io.ReadFull(rand.Reader, n.seed[:]) + } + n.seed = md5.Sum(n.seed[:]) + copy(nonce, n.seed[:]) +} + +// nonceAES128 nonce generator for packet headers +type nonceAES128 struct { + seed [aes.BlockSize]byte + block cipher.Block +} + +func (n *nonceAES128) Init() { + var key [16]byte //aes-128 + io.ReadFull(rand.Reader, key[:]) + io.ReadFull(rand.Reader, n.seed[:]) + block, _ := aes.NewCipher(key[:]) + n.block = block +} + +func (n *nonceAES128) Fill(nonce []byte) { + if n.seed[0] == 0 { // entropy update + io.ReadFull(rand.Reader, n.seed[:]) + } + n.block.Encrypt(n.seed[:], n.seed[:]) + copy(nonce, n.seed[:]) +} diff --git a/gate-hk4e/kcp/fec.go b/gate-hk4e/kcp/fec.go new file mode 100644 index 00000000..0a203ee3 --- /dev/null +++ b/gate-hk4e/kcp/fec.go @@ -0,0 +1,381 @@ +package kcp + +import ( + "encoding/binary" + "sync/atomic" + + "github.com/klauspost/reedsolomon" +) + +const ( + fecHeaderSize = 6 + fecHeaderSizePlus2 = fecHeaderSize + 2 // plus 2B data size + typeData = 0xf1 + typeParity = 0xf2 + fecExpire = 60000 + rxFECMulti = 3 // FEC keeps rxFECMulti* (dataShard+parityShard) ordered packets in memory +) + +// fecPacket is a decoded FEC packet +type fecPacket []byte + +func (bts fecPacket) seqid() uint32 { return binary.LittleEndian.Uint32(bts) } +func (bts fecPacket) flag() uint16 { return binary.LittleEndian.Uint16(bts[4:]) } +func (bts fecPacket) data() []byte { return bts[6:] } + +// fecElement has auxcilliary time field +type fecElement struct { + fecPacket + ts uint32 +} + +// fecDecoder for decoding incoming packets +type fecDecoder struct { + rxlimit int // queue size limit + dataShards int + parityShards int + shardSize int + rx []fecElement // ordered receive queue + + // caches + decodeCache [][]byte + flagCache []bool + + // zeros + zeros []byte + + // RS decoder + codec reedsolomon.Encoder + + // auto tune fec parameter + autoTune autoTune +} + +func newFECDecoder(dataShards, parityShards int) *fecDecoder { + if dataShards <= 0 || parityShards <= 0 { + return nil + } + + dec := new(fecDecoder) + dec.dataShards = dataShards + dec.parityShards = parityShards + dec.shardSize = dataShards + parityShards + dec.rxlimit = rxFECMulti * dec.shardSize + codec, err := reedsolomon.New(dataShards, parityShards) + if err != nil { + return nil + } + dec.codec = codec + dec.decodeCache = make([][]byte, dec.shardSize) + dec.flagCache = make([]bool, dec.shardSize) + dec.zeros = make([]byte, mtuLimit) + return dec +} + +// decode a fec packet +func (dec *fecDecoder) decode(in fecPacket) (recovered [][]byte) { + // sample to auto FEC tuner + if in.flag() == typeData { + dec.autoTune.Sample(true, in.seqid()) + } else { + dec.autoTune.Sample(false, in.seqid()) + } + + // check if FEC parameters is out of sync + var shouldTune bool + if int(in.seqid())%dec.shardSize < dec.dataShards { + if in.flag() != typeData { // expect typeData + shouldTune = true + } + } else { + if in.flag() != typeParity { + shouldTune = true + } + } + + if shouldTune { + autoDS := dec.autoTune.FindPeriod(true) + autoPS := dec.autoTune.FindPeriod(false) + + // edges found, we can tune parameters now + if autoDS > 0 && autoPS > 0 && autoDS < 256 && autoPS < 256 { + // and make sure it's different + if autoDS != dec.dataShards || autoPS != dec.parityShards { + dec.dataShards = autoDS + dec.parityShards = autoPS + dec.shardSize = autoDS + autoPS + dec.rxlimit = rxFECMulti * dec.shardSize + codec, err := reedsolomon.New(autoDS, autoPS) + if err != nil { + return nil + } + dec.codec = codec + dec.decodeCache = make([][]byte, dec.shardSize) + dec.flagCache = make([]bool, dec.shardSize) + //log.Println("autotune to :", dec.dataShards, dec.parityShards) + } + } + } + + // insertion + n := len(dec.rx) - 1 + insertIdx := 0 + for i := n; i >= 0; i-- { + if in.seqid() == dec.rx[i].seqid() { // de-duplicate + return nil + } else if _itimediff(in.seqid(), dec.rx[i].seqid()) > 0 { // insertion + insertIdx = i + 1 + break + } + } + + // make a copy + pkt := fecPacket(xmitBuf.Get().([]byte)[:len(in)]) + copy(pkt, in) + elem := fecElement{pkt, currentMs()} + + // insert into ordered rx queue + if insertIdx == n+1 { + dec.rx = append(dec.rx, elem) + } else { + dec.rx = append(dec.rx, fecElement{}) + copy(dec.rx[insertIdx+1:], dec.rx[insertIdx:]) // shift right + dec.rx[insertIdx] = elem + } + + // shard range for current packet + shardBegin := pkt.seqid() - pkt.seqid()%uint32(dec.shardSize) + shardEnd := shardBegin + uint32(dec.shardSize) - 1 + + // max search range in ordered queue for current shard + searchBegin := insertIdx - int(pkt.seqid()%uint32(dec.shardSize)) + if searchBegin < 0 { + searchBegin = 0 + } + searchEnd := searchBegin + dec.shardSize - 1 + if searchEnd >= len(dec.rx) { + searchEnd = len(dec.rx) - 1 + } + + // re-construct datashards + if searchEnd-searchBegin+1 >= dec.dataShards { + var numshard, numDataShard, first, maxlen int + + // zero caches + shards := dec.decodeCache + shardsflag := dec.flagCache + for k := range dec.decodeCache { + shards[k] = nil + shardsflag[k] = false + } + + // shard assembly + for i := searchBegin; i <= searchEnd; i++ { + seqid := dec.rx[i].seqid() + if _itimediff(seqid, shardEnd) > 0 { + break + } else if _itimediff(seqid, shardBegin) >= 0 { + shards[seqid%uint32(dec.shardSize)] = dec.rx[i].data() + shardsflag[seqid%uint32(dec.shardSize)] = true + numshard++ + if dec.rx[i].flag() == typeData { + numDataShard++ + } + if numshard == 1 { + first = i + } + if len(dec.rx[i].data()) > maxlen { + maxlen = len(dec.rx[i].data()) + } + } + } + + if numDataShard == dec.dataShards { + // case 1: no loss on data shards + dec.rx = dec.freeRange(first, numshard, dec.rx) + } else if numshard >= dec.dataShards { + // case 2: loss on data shards, but it's recoverable from parity shards + for k := range shards { + if shards[k] != nil { + dlen := len(shards[k]) + shards[k] = shards[k][:maxlen] + copy(shards[k][dlen:], dec.zeros) + } else if k < dec.dataShards { + shards[k] = xmitBuf.Get().([]byte)[:0] + } + } + if err := dec.codec.ReconstructData(shards); err == nil { + for k := range shards[:dec.dataShards] { + if !shardsflag[k] { + // recovered data should be recycled + recovered = append(recovered, shards[k]) + } + } + } + dec.rx = dec.freeRange(first, numshard, dec.rx) + } + } + + // keep rxlimit + if len(dec.rx) > dec.rxlimit { + if dec.rx[0].flag() == typeData { // track the unrecoverable data + atomic.AddUint64(&DefaultSnmp.FECShortShards, 1) + } + dec.rx = dec.freeRange(0, 1, dec.rx) + } + + // timeout policy + current := currentMs() + numExpired := 0 + for k := range dec.rx { + if _itimediff(current, dec.rx[k].ts) > fecExpire { + numExpired++ + continue + } + break + } + if numExpired > 0 { + dec.rx = dec.freeRange(0, numExpired, dec.rx) + } + return +} + +// free a range of fecPacket +func (dec *fecDecoder) freeRange(first, n int, q []fecElement) []fecElement { + for i := first; i < first+n; i++ { // recycle buffer + xmitBuf.Put([]byte(q[i].fecPacket)) + } + + if first == 0 && n < cap(q)/2 { + return q[n:] + } + copy(q[first:], q[first+n:]) + return q[:len(q)-n] +} + +// release all segments back to xmitBuf +func (dec *fecDecoder) release() { + if n := len(dec.rx); n > 0 { + dec.rx = dec.freeRange(0, n, dec.rx) + } +} + +type ( + // fecEncoder for encoding outgoing packets + fecEncoder struct { + dataShards int + parityShards int + shardSize int + paws uint32 // Protect Against Wrapped Sequence numbers + next uint32 // next seqid + + shardCount int // count the number of datashards collected + maxSize int // track maximum data length in datashard + + headerOffset int // FEC header offset + payloadOffset int // FEC payload offset + + // caches + shardCache [][]byte + encodeCache [][]byte + + // zeros + zeros []byte + + // RS encoder + codec reedsolomon.Encoder + } +) + +func newFECEncoder(dataShards, parityShards, offset int) *fecEncoder { + if dataShards <= 0 || parityShards <= 0 { + return nil + } + enc := new(fecEncoder) + enc.dataShards = dataShards + enc.parityShards = parityShards + enc.shardSize = dataShards + parityShards + enc.paws = 0xffffffff / uint32(enc.shardSize) * uint32(enc.shardSize) + enc.headerOffset = offset + enc.payloadOffset = enc.headerOffset + fecHeaderSize + + codec, err := reedsolomon.New(dataShards, parityShards) + if err != nil { + return nil + } + enc.codec = codec + + // caches + enc.encodeCache = make([][]byte, enc.shardSize) + enc.shardCache = make([][]byte, enc.shardSize) + for k := range enc.shardCache { + enc.shardCache[k] = make([]byte, mtuLimit) + } + enc.zeros = make([]byte, mtuLimit) + return enc +} + +// encodes the packet, outputs parity shards if we have collected quorum datashards +// notice: the contents of 'ps' will be re-written in successive calling +func (enc *fecEncoder) encode(b []byte) (ps [][]byte) { + // The header format: + // | FEC SEQID(4B) | FEC TYPE(2B) | SIZE (2B) | PAYLOAD(SIZE-2) | + // |<-headerOffset |<-payloadOffset + enc.markData(b[enc.headerOffset:]) + binary.LittleEndian.PutUint16(b[enc.payloadOffset:], uint16(len(b[enc.payloadOffset:]))) + + // copy data from payloadOffset to fec shard cache + sz := len(b) + enc.shardCache[enc.shardCount] = enc.shardCache[enc.shardCount][:sz] + copy(enc.shardCache[enc.shardCount][enc.payloadOffset:], b[enc.payloadOffset:]) + enc.shardCount++ + + // track max datashard length + if sz > enc.maxSize { + enc.maxSize = sz + } + + // Generation of Reed-Solomon Erasure Code + if enc.shardCount == enc.dataShards { + // fill '0' into the tail of each datashard + for i := 0; i < enc.dataShards; i++ { + shard := enc.shardCache[i] + slen := len(shard) + copy(shard[slen:enc.maxSize], enc.zeros) + } + + // construct equal-sized slice with stripped header + cache := enc.encodeCache + for k := range cache { + cache[k] = enc.shardCache[k][enc.payloadOffset:enc.maxSize] + } + + // encoding + if err := enc.codec.Encode(cache); err == nil { + ps = enc.shardCache[enc.dataShards:] + for k := range ps { + enc.markParity(ps[k][enc.headerOffset:]) + ps[k] = ps[k][:enc.maxSize] + } + } + + // counters resetting + enc.shardCount = 0 + enc.maxSize = 0 + } + + return +} + +func (enc *fecEncoder) markData(data []byte) { + binary.LittleEndian.PutUint32(data, enc.next) + binary.LittleEndian.PutUint16(data[4:], typeData) + enc.next++ +} + +func (enc *fecEncoder) markParity(data []byte) { + binary.LittleEndian.PutUint32(data, enc.next) + binary.LittleEndian.PutUint16(data[4:], typeParity) + // sequence wrap will only happen at parity shard + enc.next = (enc.next + 1) % enc.paws +} diff --git a/gate-hk4e/kcp/fec_test.go b/gate-hk4e/kcp/fec_test.go new file mode 100644 index 00000000..59b64aca --- /dev/null +++ b/gate-hk4e/kcp/fec_test.go @@ -0,0 +1,43 @@ +package kcp + +import ( + "encoding/binary" + "math/rand" + "testing" +) + +func BenchmarkFECDecode(b *testing.B) { + const dataSize = 10 + const paritySize = 3 + const payLoad = 1500 + decoder := newFECDecoder(dataSize, paritySize) + b.ReportAllocs() + b.SetBytes(payLoad) + for i := 0; i < b.N; i++ { + if rand.Int()%(dataSize+paritySize) == 0 { // random loss + continue + } + pkt := make([]byte, payLoad) + binary.LittleEndian.PutUint32(pkt, uint32(i)) + if i%(dataSize+paritySize) >= dataSize { + binary.LittleEndian.PutUint16(pkt[4:], typeParity) + } else { + binary.LittleEndian.PutUint16(pkt[4:], typeData) + } + decoder.decode(pkt) + } +} + +func BenchmarkFECEncode(b *testing.B) { + const dataSize = 10 + const paritySize = 3 + const payLoad = 1500 + + b.ReportAllocs() + b.SetBytes(payLoad) + encoder := newFECEncoder(dataSize, paritySize, 0) + for i := 0; i < b.N; i++ { + data := make([]byte, payLoad) + encoder.encode(data) + } +} diff --git a/gate-hk4e/kcp/kcp.go b/gate-hk4e/kcp/kcp.go new file mode 100644 index 00000000..97010b31 --- /dev/null +++ b/gate-hk4e/kcp/kcp.go @@ -0,0 +1,1094 @@ +package kcp + +import ( + "encoding/binary" + "sync/atomic" + "time" +) + +const ( + IKCP_RTO_NDL = 30 // no delay min rto + IKCP_RTO_MIN = 100 // normal min rto + IKCP_RTO_DEF = 200 + IKCP_RTO_MAX = 60000 + IKCP_CMD_PUSH = 81 // cmd: push data + IKCP_CMD_ACK = 82 // cmd: ack + IKCP_CMD_WASK = 83 // cmd: window probe (ask) + IKCP_CMD_WINS = 84 // cmd: window size (tell) + IKCP_ASK_SEND = 1 // need to send IKCP_CMD_WASK + IKCP_ASK_TELL = 2 // need to send IKCP_CMD_WINS + IKCP_WND_SND = 32 + IKCP_WND_RCV = 32 + IKCP_MTU_DEF = 1400 + IKCP_ACK_FAST = 3 + IKCP_INTERVAL = 100 + IKCP_OVERHEAD = 24 + 4 // 原神KCP的conv是8个字节 + IKCP_DEADLINK = 20 + IKCP_THRESH_INIT = 2 + IKCP_THRESH_MIN = 2 + IKCP_PROBE_INIT = 7000 // 7 secs to probe window size + IKCP_PROBE_LIMIT = 120000 // up to 120 secs to probe window + IKCP_SN_OFFSET = 12 + 4 // 原神KCP的conv是8个字节 +) + +// monotonic reference time point +var refTime = time.Now() + +// currentMs returns current elapsed monotonic milliseconds since program startup +func currentMs() uint32 { return uint32(time.Since(refTime) / time.Millisecond) } + +// output_callback is a prototype which ought capture conn and call conn.Write +type output_callback func(buf []byte, size int) + +/* encode 8 bits unsigned int */ +func ikcp_encode8u(p []byte, c byte) []byte { + p[0] = c + return p[1:] +} + +/* decode 8 bits unsigned int */ +func ikcp_decode8u(p []byte, c *byte) []byte { + *c = p[0] + return p[1:] +} + +/* encode 16 bits unsigned int (lsb) */ +func ikcp_encode16u(p []byte, w uint16) []byte { + binary.LittleEndian.PutUint16(p, w) + return p[2:] +} + +/* decode 16 bits unsigned int (lsb) */ +func ikcp_decode16u(p []byte, w *uint16) []byte { + *w = binary.LittleEndian.Uint16(p) + return p[2:] +} + +/* encode 32 bits unsigned int (lsb) */ +func ikcp_encode32u(p []byte, l uint32) []byte { + binary.LittleEndian.PutUint32(p, l) + return p[4:] +} + +/* encode 64 bits unsigned int (lsb) */ +func ikcp_encode64u(p []byte, l uint64) []byte { + binary.LittleEndian.PutUint64(p, l) + return p[8:] +} + +/* decode 32 bits unsigned int (lsb) */ +func ikcp_decode32u(p []byte, l *uint32) []byte { + *l = binary.LittleEndian.Uint32(p) + return p[4:] +} + +/* decode 64 bits unsigned int (lsb) */ +func ikcp_decode64u(p []byte, l *uint64) []byte { + *l = binary.LittleEndian.Uint64(p) + return p[8:] +} + +func _imin_(a, b uint32) uint32 { + if a <= b { + return a + } + return b +} + +func _imax_(a, b uint32) uint32 { + if a >= b { + return a + } + return b +} + +func _ibound_(lower, middle, upper uint32) uint32 { + return _imin_(_imax_(lower, middle), upper) +} + +func _itimediff(later, earlier uint32) int32 { + return (int32)(later - earlier) +} + +// segment defines a KCP segment +type segment struct { + conv uint64 // 原神KCP的conv是8个字节 + cmd uint8 + frg uint8 + wnd uint16 + ts uint32 + sn uint32 + una uint32 + rto uint32 + xmit uint32 + resendts uint32 + fastack uint32 + acked uint32 // mark if the seg has acked + data []byte +} + +// encode a segment into buffer +func (seg *segment) encode(ptr []byte) []byte { + ptr = ikcp_encode64u(ptr, seg.conv) + ptr = ikcp_encode8u(ptr, seg.cmd) + ptr = ikcp_encode8u(ptr, seg.frg) + ptr = ikcp_encode16u(ptr, seg.wnd) + ptr = ikcp_encode32u(ptr, seg.ts) + ptr = ikcp_encode32u(ptr, seg.sn) + ptr = ikcp_encode32u(ptr, seg.una) + ptr = ikcp_encode32u(ptr, uint32(len(seg.data))) + atomic.AddUint64(&DefaultSnmp.OutSegs, 1) + return ptr +} + +// KCP defines a single KCP connection +type KCP struct { + conv uint64 // 原神KCP的conv是8个字节 + mtu, mss, state uint32 + snd_una, snd_nxt, rcv_nxt uint32 + ssthresh uint32 + rx_rttvar, rx_srtt int32 + rx_rto, rx_minrto uint32 + snd_wnd, rcv_wnd, rmt_wnd, cwnd, probe uint32 + interval, ts_flush uint32 + nodelay, updated uint32 + ts_probe, probe_wait uint32 + dead_link, incr uint32 + + fastresend int32 + nocwnd, stream int32 + + snd_queue []segment + rcv_queue []segment + snd_buf []segment + rcv_buf []segment + + acklist []ackItem + + buffer []byte + reserved int + output output_callback +} + +type ackItem struct { + sn uint32 + ts uint32 +} + +// NewKCP create a new kcp state machine +// +// 'conv' must be equal in the connection peers, or else data will be silently rejected. +// +// 'output' function will be called whenever these is data to be sent on wire. +func NewKCP(conv uint64, output output_callback) *KCP { + kcp := new(KCP) + kcp.conv = conv + kcp.snd_wnd = IKCP_WND_SND + kcp.rcv_wnd = IKCP_WND_RCV + kcp.rmt_wnd = IKCP_WND_RCV + kcp.mtu = IKCP_MTU_DEF + kcp.mss = kcp.mtu - IKCP_OVERHEAD + kcp.buffer = make([]byte, kcp.mtu) + kcp.rx_rto = IKCP_RTO_DEF + kcp.rx_minrto = IKCP_RTO_MIN + kcp.interval = IKCP_INTERVAL + kcp.ts_flush = IKCP_INTERVAL + kcp.ssthresh = IKCP_THRESH_INIT + kcp.dead_link = IKCP_DEADLINK + kcp.output = output + return kcp +} + +// newSegment creates a KCP segment +func (kcp *KCP) newSegment(size int) (seg segment) { + seg.data = xmitBuf.Get().([]byte)[:size] + return +} + +// delSegment recycles a KCP segment +func (kcp *KCP) delSegment(seg *segment) { + if seg.data != nil { + xmitBuf.Put(seg.data) + seg.data = nil + } +} + +// ReserveBytes keeps n bytes untouched from the beginning of the buffer, +// the output_callback function should be aware of this. +// +// Return false if n >= mss +func (kcp *KCP) ReserveBytes(n int) bool { + if n >= int(kcp.mtu-IKCP_OVERHEAD) || n < 0 { + return false + } + kcp.reserved = n + kcp.mss = kcp.mtu - IKCP_OVERHEAD - uint32(n) + return true +} + +// PeekSize checks the size of next message in the recv queue +func (kcp *KCP) PeekSize() (length int) { + if len(kcp.rcv_queue) == 0 { + return -1 + } + + seg := &kcp.rcv_queue[0] + if seg.frg == 0 { + return len(seg.data) + } + + if len(kcp.rcv_queue) < int(seg.frg+1) { + return -1 + } + + for k := range kcp.rcv_queue { + seg := &kcp.rcv_queue[k] + length += len(seg.data) + if seg.frg == 0 { + break + } + } + return +} + +// Receive data from kcp state machine +// +// Return number of bytes read. +// +// Return -1 when there is no readable data. +// +// Return -2 if len(buffer) is smaller than kcp.PeekSize(). +func (kcp *KCP) Recv(buffer []byte) (n int) { + peeksize := kcp.PeekSize() + if peeksize < 0 { + return -1 + } + + if peeksize > len(buffer) { + return -2 + } + + var fast_recover bool + if len(kcp.rcv_queue) >= int(kcp.rcv_wnd) { + fast_recover = true + } + + // merge fragment + count := 0 + for k := range kcp.rcv_queue { + seg := &kcp.rcv_queue[k] + copy(buffer, seg.data) + buffer = buffer[len(seg.data):] + n += len(seg.data) + count++ + kcp.delSegment(seg) + if seg.frg == 0 { + break + } + } + if count > 0 { + kcp.rcv_queue = kcp.remove_front(kcp.rcv_queue, count) + } + + // move available data from rcv_buf -> rcv_queue + count = 0 + for k := range kcp.rcv_buf { + seg := &kcp.rcv_buf[k] + if seg.sn == kcp.rcv_nxt && len(kcp.rcv_queue)+count < int(kcp.rcv_wnd) { + kcp.rcv_nxt++ + count++ + } else { + break + } + } + + if count > 0 { + kcp.rcv_queue = append(kcp.rcv_queue, kcp.rcv_buf[:count]...) + kcp.rcv_buf = kcp.remove_front(kcp.rcv_buf, count) + } + + // fast recover + if len(kcp.rcv_queue) < int(kcp.rcv_wnd) && fast_recover { + // ready to send back IKCP_CMD_WINS in ikcp_flush + // tell remote my window size + kcp.probe |= IKCP_ASK_TELL + } + return +} + +// Send is user/upper level send, returns below zero for error +func (kcp *KCP) Send(buffer []byte) int { + var count int + if len(buffer) == 0 { + return -1 + } + + // append to previous segment in streaming mode (if possible) + if kcp.stream != 0 { + n := len(kcp.snd_queue) + if n > 0 { + seg := &kcp.snd_queue[n-1] + if len(seg.data) < int(kcp.mss) { + capacity := int(kcp.mss) - len(seg.data) + extend := capacity + if len(buffer) < capacity { + extend = len(buffer) + } + + // grow slice, the underlying cap is guaranteed to + // be larger than kcp.mss + oldlen := len(seg.data) + seg.data = seg.data[:oldlen+extend] + copy(seg.data[oldlen:], buffer) + buffer = buffer[extend:] + } + } + + if len(buffer) == 0 { + return 0 + } + } + + if len(buffer) <= int(kcp.mss) { + count = 1 + } else { + count = (len(buffer) + int(kcp.mss) - 1) / int(kcp.mss) + } + + if count > 255 { + return -2 + } + + if count == 0 { + count = 1 + } + + for i := 0; i < count; i++ { + var size int + if len(buffer) > int(kcp.mss) { + size = int(kcp.mss) + } else { + size = len(buffer) + } + seg := kcp.newSegment(size) + copy(seg.data, buffer[:size]) + if kcp.stream == 0 { // message mode + seg.frg = uint8(count - i - 1) + } else { // stream mode + seg.frg = 0 + } + kcp.snd_queue = append(kcp.snd_queue, seg) + buffer = buffer[size:] + } + return 0 +} + +func (kcp *KCP) update_ack(rtt int32) { + // https://tools.ietf.org/html/rfc6298 + var rto uint32 + if kcp.rx_srtt == 0 { + kcp.rx_srtt = rtt + kcp.rx_rttvar = rtt >> 1 + } else { + delta := rtt - kcp.rx_srtt + kcp.rx_srtt += delta >> 3 + if delta < 0 { + delta = -delta + } + if rtt < kcp.rx_srtt-kcp.rx_rttvar { + // if the new RTT sample is below the bottom of the range of + // what an RTT measurement is expected to be. + // give an 8x reduced weight versus its normal weighting + kcp.rx_rttvar += (delta - kcp.rx_rttvar) >> 5 + } else { + kcp.rx_rttvar += (delta - kcp.rx_rttvar) >> 2 + } + } + rto = uint32(kcp.rx_srtt) + _imax_(kcp.interval, uint32(kcp.rx_rttvar)<<2) + kcp.rx_rto = _ibound_(kcp.rx_minrto, rto, IKCP_RTO_MAX) +} + +func (kcp *KCP) shrink_buf() { + if len(kcp.snd_buf) > 0 { + seg := &kcp.snd_buf[0] + kcp.snd_una = seg.sn + } else { + kcp.snd_una = kcp.snd_nxt + } +} + +func (kcp *KCP) parse_ack(sn uint32) { + if _itimediff(sn, kcp.snd_una) < 0 || _itimediff(sn, kcp.snd_nxt) >= 0 { + return + } + + for k := range kcp.snd_buf { + seg := &kcp.snd_buf[k] + if sn == seg.sn { + // mark and free space, but leave the segment here, + // and wait until `una` to delete this, then we don't + // have to shift the segments behind forward, + // which is an expensive operation for large window + seg.acked = 1 + kcp.delSegment(seg) + break + } + if _itimediff(sn, seg.sn) < 0 { + break + } + } +} + +func (kcp *KCP) parse_fastack(sn, ts uint32) { + if _itimediff(sn, kcp.snd_una) < 0 || _itimediff(sn, kcp.snd_nxt) >= 0 { + return + } + + for k := range kcp.snd_buf { + seg := &kcp.snd_buf[k] + if _itimediff(sn, seg.sn) < 0 { + break + } else if sn != seg.sn && _itimediff(seg.ts, ts) <= 0 { + seg.fastack++ + } + } +} + +func (kcp *KCP) parse_una(una uint32) int { + count := 0 + for k := range kcp.snd_buf { + seg := &kcp.snd_buf[k] + if _itimediff(una, seg.sn) > 0 { + kcp.delSegment(seg) + count++ + } else { + break + } + } + if count > 0 { + kcp.snd_buf = kcp.remove_front(kcp.snd_buf, count) + } + return count +} + +// ack append +func (kcp *KCP) ack_push(sn, ts uint32) { + kcp.acklist = append(kcp.acklist, ackItem{sn, ts}) +} + +// returns true if data has repeated +func (kcp *KCP) parse_data(newseg segment) bool { + sn := newseg.sn + if _itimediff(sn, kcp.rcv_nxt+kcp.rcv_wnd) >= 0 || + _itimediff(sn, kcp.rcv_nxt) < 0 { + return true + } + + n := len(kcp.rcv_buf) - 1 + insert_idx := 0 + repeat := false + for i := n; i >= 0; i-- { + seg := &kcp.rcv_buf[i] + if seg.sn == sn { + repeat = true + break + } + if _itimediff(sn, seg.sn) > 0 { + insert_idx = i + 1 + break + } + } + + if !repeat { + // replicate the content if it's new + dataCopy := xmitBuf.Get().([]byte)[:len(newseg.data)] + copy(dataCopy, newseg.data) + newseg.data = dataCopy + + if insert_idx == n+1 { + kcp.rcv_buf = append(kcp.rcv_buf, newseg) + } else { + kcp.rcv_buf = append(kcp.rcv_buf, segment{}) + copy(kcp.rcv_buf[insert_idx+1:], kcp.rcv_buf[insert_idx:]) + kcp.rcv_buf[insert_idx] = newseg + } + } + + // move available data from rcv_buf -> rcv_queue + count := 0 + for k := range kcp.rcv_buf { + seg := &kcp.rcv_buf[k] + if seg.sn == kcp.rcv_nxt && len(kcp.rcv_queue)+count < int(kcp.rcv_wnd) { + kcp.rcv_nxt++ + count++ + } else { + break + } + } + if count > 0 { + kcp.rcv_queue = append(kcp.rcv_queue, kcp.rcv_buf[:count]...) + kcp.rcv_buf = kcp.remove_front(kcp.rcv_buf, count) + } + + return repeat +} + +// Input a packet into kcp state machine. +// +// 'regular' indicates it's a real data packet from remote, and it means it's not generated from ReedSolomon +// codecs. +// +// 'ackNoDelay' will trigger immediate ACK, but surely it will not be efficient in bandwidth +func (kcp *KCP) Input(data []byte, regular, ackNoDelay bool) int { + snd_una := kcp.snd_una + if len(data) < IKCP_OVERHEAD { + return -1 + } + + var latest uint32 // the latest ack packet + var flag int + var inSegs uint64 + var windowSlides bool + + for { + var ts, sn, length, una uint32 + var conv uint64 + var wnd uint16 + var cmd, frg uint8 + + if len(data) < int(IKCP_OVERHEAD) { + break + } + + data = ikcp_decode64u(data, &conv) + if conv != kcp.conv { + return -1 + } + + data = ikcp_decode8u(data, &cmd) + data = ikcp_decode8u(data, &frg) + data = ikcp_decode16u(data, &wnd) + data = ikcp_decode32u(data, &ts) + data = ikcp_decode32u(data, &sn) + data = ikcp_decode32u(data, &una) + data = ikcp_decode32u(data, &length) + if len(data) < int(length) { + return -2 + } + + if cmd != IKCP_CMD_PUSH && cmd != IKCP_CMD_ACK && + cmd != IKCP_CMD_WASK && cmd != IKCP_CMD_WINS { + return -3 + } + + // only trust window updates from regular packets. i.e: latest update + if regular { + kcp.rmt_wnd = uint32(wnd) + } + if kcp.parse_una(una) > 0 { + windowSlides = true + } + kcp.shrink_buf() + + if cmd == IKCP_CMD_ACK { + kcp.parse_ack(sn) + kcp.parse_fastack(sn, ts) + flag |= 1 + latest = ts + } else if cmd == IKCP_CMD_PUSH { + repeat := true + if _itimediff(sn, kcp.rcv_nxt+kcp.rcv_wnd) < 0 { + kcp.ack_push(sn, ts) + if _itimediff(sn, kcp.rcv_nxt) >= 0 { + var seg segment + seg.conv = conv + seg.cmd = cmd + seg.frg = frg + seg.wnd = wnd + seg.ts = ts + seg.sn = sn + seg.una = una + seg.data = data[:length] // delayed data copying + repeat = kcp.parse_data(seg) + } + } + if regular && repeat { + atomic.AddUint64(&DefaultSnmp.RepeatSegs, 1) + } + } else if cmd == IKCP_CMD_WASK { + // ready to send back IKCP_CMD_WINS in Ikcp_flush + // tell remote my window size + kcp.probe |= IKCP_ASK_TELL + } else if cmd == IKCP_CMD_WINS { + // do nothing + } else { + return -3 + } + + inSegs++ + data = data[length:] + } + atomic.AddUint64(&DefaultSnmp.InSegs, inSegs) + + // update rtt with the latest ts + // ignore the FEC packet + if flag != 0 && regular { + current := currentMs() + if _itimediff(current, latest) >= 0 { + kcp.update_ack(_itimediff(current, latest)) + } + } + + // cwnd update when packet arrived + if kcp.nocwnd == 0 { + if _itimediff(kcp.snd_una, snd_una) > 0 { + if kcp.cwnd < kcp.rmt_wnd { + mss := kcp.mss + if kcp.cwnd < kcp.ssthresh { + kcp.cwnd++ + kcp.incr += mss + } else { + if kcp.incr < mss { + kcp.incr = mss + } + kcp.incr += (mss*mss)/kcp.incr + (mss / 16) + if (kcp.cwnd+1)*mss <= kcp.incr { + if mss > 0 { + kcp.cwnd = (kcp.incr + mss - 1) / mss + } else { + kcp.cwnd = kcp.incr + mss - 1 + } + } + } + if kcp.cwnd > kcp.rmt_wnd { + kcp.cwnd = kcp.rmt_wnd + kcp.incr = kcp.rmt_wnd * mss + } + } + } + } + + if windowSlides { // if window has slided, flush + kcp.flush(false) + } else if ackNoDelay && len(kcp.acklist) > 0 { // ack immediately + kcp.flush(true) + } + return 0 +} + +func (kcp *KCP) wnd_unused() uint16 { + if len(kcp.rcv_queue) < int(kcp.rcv_wnd) { + return uint16(int(kcp.rcv_wnd) - len(kcp.rcv_queue)) + } + return 0 +} + +// flush pending data +func (kcp *KCP) flush(ackOnly bool) uint32 { + var seg segment + seg.conv = kcp.conv + seg.cmd = IKCP_CMD_ACK + seg.wnd = kcp.wnd_unused() + seg.una = kcp.rcv_nxt + + buffer := kcp.buffer + ptr := buffer[kcp.reserved:] // keep n bytes untouched + + // makeSpace makes room for writing + makeSpace := func(space int) { + size := len(buffer) - len(ptr) + if size+space > int(kcp.mtu) { + kcp.output(buffer, size) + ptr = buffer[kcp.reserved:] + } + } + + // flush bytes in buffer if there is any + flushBuffer := func() { + size := len(buffer) - len(ptr) + if size > kcp.reserved { + kcp.output(buffer, size) + } + } + + // flush acknowledges + for i, ack := range kcp.acklist { + makeSpace(IKCP_OVERHEAD) + // filter jitters caused by bufferbloat + if _itimediff(ack.sn, kcp.rcv_nxt) >= 0 || len(kcp.acklist)-1 == i { + seg.sn, seg.ts = ack.sn, ack.ts + ptr = seg.encode(ptr) + } + } + kcp.acklist = kcp.acklist[0:0] + + if ackOnly { // flash remain ack segments + flushBuffer() + return kcp.interval + } + + // probe window size (if remote window size equals zero) + if kcp.rmt_wnd == 0 { + current := currentMs() + if kcp.probe_wait == 0 { + kcp.probe_wait = IKCP_PROBE_INIT + kcp.ts_probe = current + kcp.probe_wait + } else { + if _itimediff(current, kcp.ts_probe) >= 0 { + if kcp.probe_wait < IKCP_PROBE_INIT { + kcp.probe_wait = IKCP_PROBE_INIT + } + kcp.probe_wait += kcp.probe_wait / 2 + if kcp.probe_wait > IKCP_PROBE_LIMIT { + kcp.probe_wait = IKCP_PROBE_LIMIT + } + kcp.ts_probe = current + kcp.probe_wait + kcp.probe |= IKCP_ASK_SEND + } + } + } else { + kcp.ts_probe = 0 + kcp.probe_wait = 0 + } + + // flush window probing commands + if (kcp.probe & IKCP_ASK_SEND) != 0 { + seg.cmd = IKCP_CMD_WASK + makeSpace(IKCP_OVERHEAD) + ptr = seg.encode(ptr) + } + + // flush window probing commands + if (kcp.probe & IKCP_ASK_TELL) != 0 { + seg.cmd = IKCP_CMD_WINS + makeSpace(IKCP_OVERHEAD) + ptr = seg.encode(ptr) + } + + kcp.probe = 0 + + // calculate window size + cwnd := _imin_(kcp.snd_wnd, kcp.rmt_wnd) + if kcp.nocwnd == 0 { + cwnd = _imin_(kcp.cwnd, cwnd) + } + + // sliding window, controlled by snd_nxt && sna_una+cwnd + newSegsCount := 0 + for k := range kcp.snd_queue { + if _itimediff(kcp.snd_nxt, kcp.snd_una+cwnd) >= 0 { + break + } + newseg := kcp.snd_queue[k] + newseg.conv = kcp.conv + newseg.cmd = IKCP_CMD_PUSH + newseg.sn = kcp.snd_nxt + kcp.snd_buf = append(kcp.snd_buf, newseg) + kcp.snd_nxt++ + newSegsCount++ + } + if newSegsCount > 0 { + kcp.snd_queue = kcp.remove_front(kcp.snd_queue, newSegsCount) + } + + // calculate resent + resent := uint32(kcp.fastresend) + if kcp.fastresend <= 0 { + resent = 0xffffffff + } + + // check for retransmissions + current := currentMs() + var change, lostSegs, fastRetransSegs, earlyRetransSegs uint64 + minrto := int32(kcp.interval) + + ref := kcp.snd_buf[:len(kcp.snd_buf)] // for bounds check elimination + for k := range ref { + segment := &ref[k] + needsend := false + if segment.acked == 1 { + continue + } + if segment.xmit == 0 { // initial transmit + needsend = true + segment.rto = kcp.rx_rto + segment.resendts = current + segment.rto + } else if segment.fastack >= resent { // fast retransmit + needsend = true + segment.fastack = 0 + segment.rto = kcp.rx_rto + segment.resendts = current + segment.rto + change++ + fastRetransSegs++ + } else if segment.fastack > 0 && newSegsCount == 0 { // early retransmit + needsend = true + segment.fastack = 0 + segment.rto = kcp.rx_rto + segment.resendts = current + segment.rto + change++ + earlyRetransSegs++ + } else if _itimediff(current, segment.resendts) >= 0 { // RTO + needsend = true + if kcp.nodelay == 0 { + segment.rto += kcp.rx_rto + } else { + segment.rto += kcp.rx_rto / 2 + } + segment.fastack = 0 + segment.resendts = current + segment.rto + lostSegs++ + } + + if needsend { + current = currentMs() + segment.xmit++ + segment.ts = current + segment.wnd = seg.wnd + segment.una = seg.una + + need := IKCP_OVERHEAD + len(segment.data) + makeSpace(need) + ptr = segment.encode(ptr) + copy(ptr, segment.data) + ptr = ptr[len(segment.data):] + + if segment.xmit >= kcp.dead_link { + kcp.state = 0xFFFFFFFF + } + } + + // get the nearest rto + if rto := _itimediff(segment.resendts, current); rto > 0 && rto < minrto { + minrto = rto + } + } + + // flash remain segments + flushBuffer() + + // counter updates + sum := lostSegs + if lostSegs > 0 { + atomic.AddUint64(&DefaultSnmp.LostSegs, lostSegs) + } + if fastRetransSegs > 0 { + atomic.AddUint64(&DefaultSnmp.FastRetransSegs, fastRetransSegs) + sum += fastRetransSegs + } + if earlyRetransSegs > 0 { + atomic.AddUint64(&DefaultSnmp.EarlyRetransSegs, earlyRetransSegs) + sum += earlyRetransSegs + } + if sum > 0 { + atomic.AddUint64(&DefaultSnmp.RetransSegs, sum) + } + + // cwnd update + if kcp.nocwnd == 0 { + // update ssthresh + // rate halving, https://tools.ietf.org/html/rfc6937 + if change > 0 { + inflight := kcp.snd_nxt - kcp.snd_una + kcp.ssthresh = inflight / 2 + if kcp.ssthresh < IKCP_THRESH_MIN { + kcp.ssthresh = IKCP_THRESH_MIN + } + kcp.cwnd = kcp.ssthresh + resent + kcp.incr = kcp.cwnd * kcp.mss + } + + // congestion control, https://tools.ietf.org/html/rfc5681 + if lostSegs > 0 { + kcp.ssthresh = cwnd / 2 + if kcp.ssthresh < IKCP_THRESH_MIN { + kcp.ssthresh = IKCP_THRESH_MIN + } + kcp.cwnd = 1 + kcp.incr = kcp.mss + } + + if kcp.cwnd < 1 { + kcp.cwnd = 1 + kcp.incr = kcp.mss + } + } + + return uint32(minrto) +} + +// (deprecated) +// +// Update updates state (call it repeatedly, every 10ms-100ms), or you can ask +// ikcp_check when to call it again (without ikcp_input/_send calling). +// 'current' - current timestamp in millisec. +func (kcp *KCP) Update() { + var slap int32 + + current := currentMs() + if kcp.updated == 0 { + kcp.updated = 1 + kcp.ts_flush = current + } + + slap = _itimediff(current, kcp.ts_flush) + + if slap >= 10000 || slap < -10000 { + kcp.ts_flush = current + slap = 0 + } + + if slap >= 0 { + kcp.ts_flush += kcp.interval + if _itimediff(current, kcp.ts_flush) >= 0 { + kcp.ts_flush = current + kcp.interval + } + kcp.flush(false) + } +} + +// (deprecated) +// +// Check determines when should you invoke ikcp_update: +// returns when you should invoke ikcp_update in millisec, if there +// is no ikcp_input/_send calling. you can call ikcp_update in that +// time, instead of call update repeatly. +// Important to reduce unnacessary ikcp_update invoking. use it to +// schedule ikcp_update (eg. implementing an epoll-like mechanism, +// or optimize ikcp_update when handling massive kcp connections) +func (kcp *KCP) Check() uint32 { + current := currentMs() + ts_flush := kcp.ts_flush + tm_flush := int32(0x7fffffff) + tm_packet := int32(0x7fffffff) + minimal := uint32(0) + if kcp.updated == 0 { + return current + } + + if _itimediff(current, ts_flush) >= 10000 || + _itimediff(current, ts_flush) < -10000 { + ts_flush = current + } + + if _itimediff(current, ts_flush) >= 0 { + return current + } + + tm_flush = _itimediff(ts_flush, current) + + for k := range kcp.snd_buf { + seg := &kcp.snd_buf[k] + diff := _itimediff(seg.resendts, current) + if diff <= 0 { + return current + } + if diff < tm_packet { + tm_packet = diff + } + } + + minimal = uint32(tm_packet) + if tm_packet >= tm_flush { + minimal = uint32(tm_flush) + } + if minimal >= kcp.interval { + minimal = kcp.interval + } + + return current + minimal +} + +// SetMtu changes MTU size, default is 1400 +func (kcp *KCP) SetMtu(mtu int) int { + if mtu < 50 || mtu < IKCP_OVERHEAD { + return -1 + } + if kcp.reserved >= int(kcp.mtu-IKCP_OVERHEAD) || kcp.reserved < 0 { + return -1 + } + + buffer := make([]byte, mtu) + if buffer == nil { + return -2 + } + kcp.mtu = uint32(mtu) + kcp.mss = kcp.mtu - IKCP_OVERHEAD - uint32(kcp.reserved) + kcp.buffer = buffer + return 0 +} + +// NoDelay options +// fastest: ikcp_nodelay(kcp, 1, 20, 2, 1) +// nodelay: 0:disable(default), 1:enable +// interval: internal update timer interval in millisec, default is 100ms +// resend: 0:disable fast resend(default), 1:enable fast resend +// nc: 0:normal congestion control(default), 1:disable congestion control +func (kcp *KCP) NoDelay(nodelay, interval, resend, nc int) int { + if nodelay >= 0 { + kcp.nodelay = uint32(nodelay) + if nodelay != 0 { + kcp.rx_minrto = IKCP_RTO_NDL + } else { + kcp.rx_minrto = IKCP_RTO_MIN + } + } + if interval >= 0 { + if interval > 5000 { + interval = 5000 + } else if interval < 10 { + interval = 10 + } + kcp.interval = uint32(interval) + } + if resend >= 0 { + kcp.fastresend = int32(resend) + } + if nc >= 0 { + kcp.nocwnd = int32(nc) + } + return 0 +} + +// WndSize sets maximum window size: sndwnd=32, rcvwnd=32 by default +func (kcp *KCP) WndSize(sndwnd, rcvwnd int) int { + if sndwnd > 0 { + kcp.snd_wnd = uint32(sndwnd) + } + if rcvwnd > 0 { + kcp.rcv_wnd = uint32(rcvwnd) + } + return 0 +} + +// WaitSnd gets how many packet is waiting to be sent +func (kcp *KCP) WaitSnd() int { + return len(kcp.snd_buf) + len(kcp.snd_queue) +} + +// remove front n elements from queue +// if the number of elements to remove is more than half of the size. +// just shift the rear elements to front, otherwise just reslice q to q[n:] +// then the cost of runtime.growslice can always be less than n/2 +func (kcp *KCP) remove_front(q []segment, n int) []segment { + if n > cap(q)/2 { + newn := copy(q, q[n:]) + return q[:newn] + } + return q[n:] +} + +// Release all cached outgoing segments +func (kcp *KCP) ReleaseTX() { + for k := range kcp.snd_queue { + if kcp.snd_queue[k].data != nil { + xmitBuf.Put(kcp.snd_queue[k].data) + } + } + for k := range kcp.snd_buf { + if kcp.snd_buf[k].data != nil { + xmitBuf.Put(kcp.snd_buf[k].data) + } + } + kcp.snd_queue = nil + kcp.snd_buf = nil +} diff --git a/gate-hk4e/kcp/kcp_test.go b/gate-hk4e/kcp/kcp_test.go new file mode 100644 index 00000000..49d55d5a --- /dev/null +++ b/gate-hk4e/kcp/kcp_test.go @@ -0,0 +1,135 @@ +package kcp + +import ( + "io" + "net" + "sync" + "testing" + "time" + + "github.com/xtaci/lossyconn" +) + +const repeat = 16 + +func TestLossyConn1(t *testing.T) { + t.Log("testing loss rate 10%, rtt 200ms") + t.Log("testing link with nodelay parameters:1 10 2 1") + client, err := lossyconn.NewLossyConn(0.1, 100) + if err != nil { + t.Fatal(err) + } + + server, err := lossyconn.NewLossyConn(0.1, 100) + if err != nil { + t.Fatal(err) + } + testlink(t, client, server, 1, 10, 2, 1) +} + +func TestLossyConn2(t *testing.T) { + t.Log("testing loss rate 20%, rtt 200ms") + t.Log("testing link with nodelay parameters:1 10 2 1") + client, err := lossyconn.NewLossyConn(0.2, 100) + if err != nil { + t.Fatal(err) + } + + server, err := lossyconn.NewLossyConn(0.2, 100) + if err != nil { + t.Fatal(err) + } + testlink(t, client, server, 1, 10, 2, 1) +} + +func TestLossyConn3(t *testing.T) { + t.Log("testing loss rate 30%, rtt 200ms") + t.Log("testing link with nodelay parameters:1 10 2 1") + client, err := lossyconn.NewLossyConn(0.3, 100) + if err != nil { + t.Fatal(err) + } + + server, err := lossyconn.NewLossyConn(0.3, 100) + if err != nil { + t.Fatal(err) + } + testlink(t, client, server, 1, 10, 2, 1) +} + +func TestLossyConn4(t *testing.T) { + t.Log("testing loss rate 10%, rtt 200ms") + t.Log("testing link with nodelay parameters:1 10 2 0") + client, err := lossyconn.NewLossyConn(0.1, 100) + if err != nil { + t.Fatal(err) + } + + server, err := lossyconn.NewLossyConn(0.1, 100) + if err != nil { + t.Fatal(err) + } + testlink(t, client, server, 1, 10, 2, 0) +} + +func testlink(t *testing.T, client *lossyconn.LossyConn, server *lossyconn.LossyConn, nodelay, interval, resend, nc int) { + t.Log("testing with nodelay parameters:", nodelay, interval, resend, nc) + sess, _ := NewConn2(server.LocalAddr(), nil, 0, 0, client) + listener, _ := ServeConn(nil, 0, 0, server) + echoServer := func(l *Listener) { + for { + conn, err := l.AcceptKCP() + if err != nil { + return + } + go func() { + conn.SetNoDelay(nodelay, interval, resend, nc) + buf := make([]byte, 65536) + for { + n, err := conn.Read(buf) + if err != nil { + return + } + conn.Write(buf[:n]) + } + }() + } + } + + echoTester := func(s *UDPSession, raddr net.Addr) { + s.SetNoDelay(nodelay, interval, resend, nc) + buf := make([]byte, 64) + var rtt time.Duration + for i := 0; i < repeat; i++ { + start := time.Now() + s.Write(buf) + io.ReadFull(s, buf) + rtt += time.Since(start) + } + + t.Log("client:", client) + t.Log("server:", server) + t.Log("avg rtt:", rtt/repeat) + t.Logf("total time: %v for %v round trip:", rtt, repeat) + } + + go echoServer(listener) + echoTester(sess, server.LocalAddr()) +} + +func BenchmarkFlush(b *testing.B) { + kcp := NewKCP(1, func(buf []byte, size int) {}) + kcp.snd_buf = make([]segment, 1024) + for k := range kcp.snd_buf { + kcp.snd_buf[k].xmit = 1 + kcp.snd_buf[k].resendts = currentMs() + 10000 + } + b.ResetTimer() + b.ReportAllocs() + var mu sync.Mutex + for i := 0; i < b.N; i++ { + mu.Lock() + kcp.flush(false) + mu.Unlock() + } +} diff --git a/gate-hk4e/kcp/readloop.go b/gate-hk4e/kcp/readloop.go new file mode 100644 index 00000000..ffe7fe78 --- /dev/null +++ b/gate-hk4e/kcp/readloop.go @@ -0,0 +1,126 @@ +package kcp + +import ( + "bytes" + "encoding/binary" + "github.com/pkg/errors" +) + +func (s *UDPSession) defaultReadLoop() { + buf := make([]byte, mtuLimit) + var src string + for { + if n, addr, err := s.conn.ReadFrom(buf); err == nil { + udpPayload := buf[:n] + + // make sure the packet is from the same source + if src == "" { // set source address + src = addr.String() + } else if addr.String() != src { + //atomic.AddUint64(&DefaultSnmp.InErrs, 1) + //continue + s.remote = addr + src = addr.String() + } + + s.packetInput(udpPayload) + } else { + s.notifyReadError(errors.WithStack(err)) + return + } + } +} + +func (l *Listener) defaultMonitor() { + buf := make([]byte, mtuLimit) + for { + if n, from, err := l.conn.ReadFrom(buf); err == nil { + udpPayload := buf[:n] + var convId uint64 = 0 + if n == 20 { + // 原神KCP的Enet协议 + // 提取convId + convId += uint64(udpPayload[4]) << 24 + convId += uint64(udpPayload[5]) << 16 + convId += uint64(udpPayload[6]) << 8 + convId += uint64(udpPayload[7]) << 0 + convId += uint64(udpPayload[8]) << 56 + convId += uint64(udpPayload[9]) << 48 + convId += uint64(udpPayload[10]) << 40 + convId += uint64(udpPayload[11]) << 32 + // 提取Enet协议头部和尾部幻数 + udpPayloadEnetHead := udpPayload[:4] + udpPayloadEnetTail := udpPayload[len(udpPayload)-4:] + // 提取Enet协议类型 + enetTypeData := udpPayload[12:16] + enetTypeDataBuffer := bytes.NewBuffer(enetTypeData) + var enetType uint32 + _ = binary.Read(enetTypeDataBuffer, binary.BigEndian, &enetType) + equalHead := bytes.Compare(udpPayloadEnetHead, MagicEnetSynHead) + equalTail := bytes.Compare(udpPayloadEnetTail, MagicEnetSynTail) + if equalHead == 0 && equalTail == 0 { + // 客户端前置握手获取conv + l.EnetNotify <- &Enet{ + Addr: from.String(), + ConvId: convId, + ConnType: ConnEnetSyn, + EnetType: enetType, + } + continue + } + equalHead = bytes.Compare(udpPayloadEnetHead, MagicEnetEstHead) + equalTail = bytes.Compare(udpPayloadEnetTail, MagicEnetEstTail) + if equalHead == 0 && equalTail == 0 { + // 连接建立 + l.EnetNotify <- &Enet{ + Addr: from.String(), + ConvId: convId, + ConnType: ConnEnetEst, + EnetType: enetType, + } + continue + } + equalHead = bytes.Compare(udpPayloadEnetHead, MagicEnetFinHead) + equalTail = bytes.Compare(udpPayloadEnetTail, MagicEnetFinTail) + if equalHead == 0 && equalTail == 0 { + // 连接断开 + l.EnetNotify <- &Enet{ + Addr: from.String(), + ConvId: convId, + ConnType: ConnEnetFin, + EnetType: enetType, + } + continue + } + } else { + // 正常KCP包 + convId += uint64(udpPayload[0]) << 0 + convId += uint64(udpPayload[1]) << 8 + convId += uint64(udpPayload[2]) << 16 + convId += uint64(udpPayload[3]) << 24 + convId += uint64(udpPayload[4]) << 32 + convId += uint64(udpPayload[5]) << 40 + convId += uint64(udpPayload[6]) << 48 + convId += uint64(udpPayload[7]) << 56 + } + l.sessionLock.RLock() + conn, exist := l.sessions[convId] + l.sessionLock.RUnlock() + if exist { + if conn.remote.String() != from.String() { + conn.remote = from + // 连接地址改变 + l.EnetNotify <- &Enet{ + Addr: conn.remote.String(), + ConvId: convId, + ConnType: ConnEnetAddrChange, + } + } + } + l.packetInput(udpPayload, from, convId) + } else { + l.notifyReadError(errors.WithStack(err)) + return + } + } +} diff --git a/gate-hk4e/kcp/readloop_generic.go b/gate-hk4e/kcp/readloop_generic.go new file mode 100644 index 00000000..08e72cb8 --- /dev/null +++ b/gate-hk4e/kcp/readloop_generic.go @@ -0,0 +1,12 @@ +//go:build !linux +// +build !linux + +package kcp + +func (s *UDPSession) readLoop() { + s.defaultReadLoop() +} + +func (l *Listener) monitor() { + l.defaultMonitor() +} diff --git a/gate-hk4e/kcp/readloop_linux.go b/gate-hk4e/kcp/readloop_linux.go new file mode 100644 index 00000000..21e19112 --- /dev/null +++ b/gate-hk4e/kcp/readloop_linux.go @@ -0,0 +1,199 @@ +//go:build linux +// +build linux + +package kcp + +import ( + "bytes" + "encoding/binary" + "github.com/pkg/errors" + "golang.org/x/net/ipv4" + "golang.org/x/net/ipv6" + "net" + "os" +) + +// the read loop for a client session +func (s *UDPSession) readLoop() { + // default version + if s.xconn == nil { + s.defaultReadLoop() + return + } + + // x/net version + var src string + msgs := make([]ipv4.Message, batchSize) + for k := range msgs { + msgs[k].Buffers = [][]byte{make([]byte, mtuLimit)} + } + + for { + if count, err := s.xconn.ReadBatch(msgs, 0); err == nil { + for i := 0; i < count; i++ { + msg := &msgs[i] + + // make sure the packet is from the same source + if src == "" { // set source address if nil + src = msg.Addr.String() + } else if msg.Addr.String() != src { + //atomic.AddUint64(&DefaultSnmp.InErrs, 1) + //continue + s.remote = msg.Addr + src = msg.Addr.String() + } + + udpPayload := msg.Buffers[0][:msg.N] + + // source and size has validated + s.packetInput(udpPayload) + } + } else { + // compatibility issue: + // for linux kernel<=2.6.32, support for sendmmsg is not available + // an error of type os.SyscallError will be returned + if operr, ok := err.(*net.OpError); ok { + if se, ok := operr.Err.(*os.SyscallError); ok { + if se.Syscall == "recvmmsg" { + s.defaultReadLoop() + return + } + } + } + s.notifyReadError(errors.WithStack(err)) + return + } + } +} + +// monitor incoming data for all connections of server +func (l *Listener) monitor() { + var xconn batchConn + if _, ok := l.conn.(*net.UDPConn); ok { + addr, err := net.ResolveUDPAddr("udp", l.conn.LocalAddr().String()) + if err == nil { + if addr.IP.To4() != nil { + xconn = ipv4.NewPacketConn(l.conn) + } else { + xconn = ipv6.NewPacketConn(l.conn) + } + } + } + + // default version + if xconn == nil { + l.defaultMonitor() + return + } + + // x/net version + msgs := make([]ipv4.Message, batchSize) + for k := range msgs { + msgs[k].Buffers = [][]byte{make([]byte, mtuLimit)} + } + + for { + if count, err := xconn.ReadBatch(msgs, 0); err == nil { + for i := 0; i < count; i++ { + msg := &msgs[i] + udpPayload := msg.Buffers[0][:msg.N] + var convId uint64 = 0 + if msg.N == 20 { + // 原神KCP的Enet协议 + // 提取convId + convId += uint64(udpPayload[4]) << 24 + convId += uint64(udpPayload[5]) << 16 + convId += uint64(udpPayload[6]) << 8 + convId += uint64(udpPayload[7]) << 0 + convId += uint64(udpPayload[8]) << 56 + convId += uint64(udpPayload[9]) << 48 + convId += uint64(udpPayload[10]) << 40 + convId += uint64(udpPayload[11]) << 32 + // 提取Enet协议头部和尾部幻数 + udpPayloadEnetHead := udpPayload[:4] + udpPayloadEnetTail := udpPayload[len(udpPayload)-4:] + // 提取Enet协议类型 + enetTypeData := udpPayload[12:16] + enetTypeDataBuffer := bytes.NewBuffer(enetTypeData) + var enetType uint32 + _ = binary.Read(enetTypeDataBuffer, binary.BigEndian, &enetType) + equalHead := bytes.Compare(udpPayloadEnetHead, MagicEnetSynHead) + equalTail := bytes.Compare(udpPayloadEnetTail, MagicEnetSynTail) + if equalHead == 0 && equalTail == 0 { + // 客户端前置握手获取conv + l.EnetNotify <- &Enet{ + Addr: msg.Addr.String(), + ConvId: convId, + ConnType: ConnEnetSyn, + EnetType: enetType, + } + continue + } + equalHead = bytes.Compare(udpPayloadEnetHead, MagicEnetEstHead) + equalTail = bytes.Compare(udpPayloadEnetTail, MagicEnetEstTail) + if equalHead == 0 && equalTail == 0 { + // 连接建立 + l.EnetNotify <- &Enet{ + Addr: msg.Addr.String(), + ConvId: convId, + ConnType: ConnEnetEst, + EnetType: enetType, + } + continue + } + equalHead = bytes.Compare(udpPayloadEnetHead, MagicEnetFinHead) + equalTail = bytes.Compare(udpPayloadEnetTail, MagicEnetFinTail) + if equalHead == 0 && equalTail == 0 { + // 连接断开 + l.EnetNotify <- &Enet{ + Addr: msg.Addr.String(), + ConvId: convId, + ConnType: ConnEnetFin, + EnetType: enetType, + } + continue + } + } else { + // 正常KCP包 + convId += uint64(udpPayload[0]) << 0 + convId += uint64(udpPayload[1]) << 8 + convId += uint64(udpPayload[2]) << 16 + convId += uint64(udpPayload[3]) << 24 + convId += uint64(udpPayload[4]) << 32 + convId += uint64(udpPayload[5]) << 40 + convId += uint64(udpPayload[6]) << 48 + convId += uint64(udpPayload[7]) << 56 + } + l.sessionLock.RLock() + conn, exist := l.sessions[convId] + l.sessionLock.RUnlock() + if exist { + if conn.remote.String() != msg.Addr.String() { + conn.remote = msg.Addr + // 连接地址改变 + l.EnetNotify <- &Enet{ + Addr: conn.remote.String(), + ConvId: convId, + ConnType: ConnEnetAddrChange, + } + } + } + l.packetInput(udpPayload, msg.Addr, convId) + } + } else { + // compatibility issue: + // for linux kernel<=2.6.32, support for sendmmsg is not available + // an error of type os.SyscallError will be returned + if operr, ok := err.(*net.OpError); ok { + if se, ok := operr.Err.(*os.SyscallError); ok { + if se.Syscall == "recvmmsg" { + l.defaultMonitor() + return + } + } + } + l.notifyReadError(errors.WithStack(err)) + return + } + } +} diff --git a/gate-hk4e/kcp/sess.go b/gate-hk4e/kcp/sess.go new file mode 100644 index 00000000..e6b22afa --- /dev/null +++ b/gate-hk4e/kcp/sess.go @@ -0,0 +1,1144 @@ +// Package kcp-go is a Reliable-UDP library for golang. +// +// This library intents to provide a smooth, resilient, ordered, +// error-checked and anonymous delivery of streams over UDP packets. +// +// The interfaces of this package aims to be compatible with +// net.Conn in standard library, but offers powerful features for advanced users. +package kcp + +import ( + "crypto/rand" + "encoding/binary" + "encoding/hex" + "hash/crc32" + "io" + "net" + "sync" + "sync/atomic" + "time" + + "github.com/pkg/errors" + "golang.org/x/net/ipv4" + "golang.org/x/net/ipv6" +) + +const ( + // 16-bytes nonce for each packet + nonceSize = 16 + + // 4-bytes packet checksum + crcSize = 4 + + // overall crypto header size + cryptHeaderSize = nonceSize + crcSize + + // maximum packet size + mtuLimit = 1500 + + // accept backlog + acceptBacklog = 128 +) + +var ( + errInvalidOperation = errors.New("invalid operation") + errTimeout = errors.New("timeout") +) + +var ( + // a system-wide packet buffer shared among sending, receiving and FEC + // to mitigate high-frequency memory allocation for packets, bytes from xmitBuf + // is aligned to 64bit + xmitBuf sync.Pool +) + +func init() { + xmitBuf.New = func() interface{} { + return make([]byte, mtuLimit) + } +} + +type ( + // UDPSession defines a KCP session implemented by UDP + UDPSession struct { + conn net.PacketConn // the underlying packet connection + ownConn bool // true if we created conn internally, false if provided by caller + kcp *KCP // KCP ARQ protocol + l *Listener // pointing to the Listener object if it's been accepted by a Listener + block BlockCrypt // block encryption object + + // kcp receiving is based on packets + // recvbuf turns packets into stream + recvbuf []byte + bufptr []byte + + // FEC codec + fecDecoder *fecDecoder + fecEncoder *fecEncoder + + // settings + remote net.Addr // remote peer address + rd time.Time // read deadline + wd time.Time // write deadline + headerSize int // the header size additional to a KCP frame + ackNoDelay bool // send ack immediately for each incoming packet(testing purpose) + writeDelay bool // delay kcp.flush() for Write() for bulk transfer + dup int // duplicate udp packets(testing purpose) + + // notifications + die chan struct{} // notify current session has Closed + dieOnce sync.Once + chReadEvent chan struct{} // notify Read() can be called without blocking + chWriteEvent chan struct{} // notify Write() can be called without blocking + + // socket error handling + socketReadError atomic.Value + socketWriteError atomic.Value + chSocketReadError chan struct{} + chSocketWriteError chan struct{} + socketReadErrorOnce sync.Once + socketWriteErrorOnce sync.Once + + // nonce generator + nonce Entropy + + // packets waiting to be sent on wire + txqueue []ipv4.Message + xconn batchConn // for x/net + xconnWriteError error + + mu sync.Mutex + } + + setReadBuffer interface { + SetReadBuffer(bytes int) error + } + + setWriteBuffer interface { + SetWriteBuffer(bytes int) error + } + + setDSCP interface { + SetDSCP(int) error + } +) + +// newUDPSession create a new udp session for client or server +func newUDPSession(conv uint64, dataShards, parityShards int, l *Listener, conn net.PacketConn, ownConn bool, remote net.Addr, block BlockCrypt) *UDPSession { + sess := new(UDPSession) + sess.die = make(chan struct{}) + sess.nonce = new(nonceAES128) + sess.nonce.Init() + sess.chReadEvent = make(chan struct{}, 1) + sess.chWriteEvent = make(chan struct{}, 1) + sess.chSocketReadError = make(chan struct{}) + sess.chSocketWriteError = make(chan struct{}) + sess.remote = remote + sess.conn = conn + sess.ownConn = ownConn + sess.l = l + sess.block = block + sess.recvbuf = make([]byte, mtuLimit) + + // cast to writebatch conn + if _, ok := conn.(*net.UDPConn); ok { + addr, err := net.ResolveUDPAddr("udp", conn.LocalAddr().String()) + if err == nil { + if addr.IP.To4() != nil { + sess.xconn = ipv4.NewPacketConn(conn) + } else { + sess.xconn = ipv6.NewPacketConn(conn) + } + } + } + + // FEC codec initialization + sess.fecDecoder = newFECDecoder(dataShards, parityShards) + if sess.block != nil { + sess.fecEncoder = newFECEncoder(dataShards, parityShards, cryptHeaderSize) + } else { + sess.fecEncoder = newFECEncoder(dataShards, parityShards, 0) + } + + // calculate additional header size introduced by FEC and encryption + if sess.block != nil { + sess.headerSize += cryptHeaderSize + } + if sess.fecEncoder != nil { + sess.headerSize += fecHeaderSizePlus2 + } + + sess.kcp = NewKCP(conv, func(buf []byte, size int) { + if size >= IKCP_OVERHEAD+sess.headerSize { + sess.output(buf[:size]) + } + }) + sess.kcp.ReserveBytes(sess.headerSize) + + if sess.l == nil { // it's a client connection + go sess.readLoop() + atomic.AddUint64(&DefaultSnmp.ActiveOpens, 1) + } else { + atomic.AddUint64(&DefaultSnmp.PassiveOpens, 1) + } + + // start per-session updater + SystemTimedSched.Put(sess.update, time.Now()) + + currestab := atomic.AddUint64(&DefaultSnmp.CurrEstab, 1) + maxconn := atomic.LoadUint64(&DefaultSnmp.MaxConn) + if currestab > maxconn { + atomic.CompareAndSwapUint64(&DefaultSnmp.MaxConn, maxconn, currestab) + } + + return sess +} + +// Read implements net.Conn +func (s *UDPSession) Read(b []byte) (n int, err error) { + for { + s.mu.Lock() + if len(s.bufptr) > 0 { // copy from buffer into b + n = copy(b, s.bufptr) + s.bufptr = s.bufptr[n:] + s.mu.Unlock() + atomic.AddUint64(&DefaultSnmp.BytesReceived, uint64(n)) + return n, nil + } + + if size := s.kcp.PeekSize(); size > 0 { // peek data size from kcp + if len(b) >= size { // receive data into 'b' directly + s.kcp.Recv(b) + s.mu.Unlock() + atomic.AddUint64(&DefaultSnmp.BytesReceived, uint64(size)) + return size, nil + } + + // if necessary resize the stream buffer to guarantee a sufficient buffer space + if cap(s.recvbuf) < size { + s.recvbuf = make([]byte, size) + } + + // resize the length of recvbuf to correspond to data size + s.recvbuf = s.recvbuf[:size] + s.kcp.Recv(s.recvbuf) + n = copy(b, s.recvbuf) // copy to 'b' + s.bufptr = s.recvbuf[n:] // pointer update + s.mu.Unlock() + atomic.AddUint64(&DefaultSnmp.BytesReceived, uint64(n)) + return n, nil + } + + // deadline for current reading operation + var timeout *time.Timer + var c <-chan time.Time + if !s.rd.IsZero() { + if time.Now().After(s.rd) { + s.mu.Unlock() + return 0, errors.WithStack(errTimeout) + } + + delay := time.Until(s.rd) + timeout = time.NewTimer(delay) + c = timeout.C + } + s.mu.Unlock() + + // wait for read event or timeout or error + select { + case <-s.chReadEvent: + if timeout != nil { + timeout.Stop() + } + case <-c: + return 0, errors.WithStack(errTimeout) + case <-s.chSocketReadError: + return 0, s.socketReadError.Load().(error) + case <-s.die: + return 0, errors.WithStack(io.ErrClosedPipe) + } + } +} + +// Write implements net.Conn +func (s *UDPSession) Write(b []byte) (n int, err error) { + if len(b) > s.GetMaxPayloadLen() { + return 0, errors.New("send payload above 256*mss") + } + return s.WriteBuffers([][]byte{b}) +} + +func (s *UDPSession) GetMaxPayloadLen() int { + return 256 * int(s.kcp.mss) +} + +// WriteBuffers write a vector of byte slices to the underlying connection +func (s *UDPSession) WriteBuffers(v [][]byte) (n int, err error) { + for { + select { + case <-s.chSocketWriteError: + return 0, s.socketWriteError.Load().(error) + case <-s.die: + return 0, errors.WithStack(io.ErrClosedPipe) + default: + } + + s.mu.Lock() + + // make sure write do not overflow the max sliding window on both side + waitsnd := s.kcp.WaitSnd() + if waitsnd < int(s.kcp.snd_wnd) && waitsnd < int(s.kcp.rmt_wnd) { + for _, b := range v { + n += len(b) + // 原神KCP是消息模式 上层不要对消息进行分割 并且保证消息长度小于256*mss + //for { + // if len(b) <= int(s.kcp.mss) { + // s.kcp.Send(b) + // break + // } else { + // s.kcp.Send(b[:s.kcp.mss]) + // b = b[s.kcp.mss:] + // } + //} + s.kcp.Send(b) + } + + waitsnd = s.kcp.WaitSnd() + if waitsnd >= int(s.kcp.snd_wnd) || waitsnd >= int(s.kcp.rmt_wnd) || !s.writeDelay { + s.kcp.flush(false) + s.uncork() + } + s.mu.Unlock() + atomic.AddUint64(&DefaultSnmp.BytesSent, uint64(n)) + return n, nil + } + + var timeout *time.Timer + var c <-chan time.Time + if !s.wd.IsZero() { + if time.Now().After(s.wd) { + s.mu.Unlock() + return 0, errors.WithStack(errTimeout) + } + delay := time.Until(s.wd) + timeout = time.NewTimer(delay) + c = timeout.C + } + s.mu.Unlock() + + select { + case <-s.chWriteEvent: + if timeout != nil { + timeout.Stop() + } + case <-c: + return 0, errors.WithStack(errTimeout) + case <-s.chSocketWriteError: + return 0, s.socketWriteError.Load().(error) + case <-s.die: + return 0, errors.WithStack(io.ErrClosedPipe) + } + } +} + +// uncork sends data in txqueue if there is any +func (s *UDPSession) uncork() { + if len(s.txqueue) > 0 { + s.tx(s.txqueue) + // recycle + for k := range s.txqueue { + xmitBuf.Put(s.txqueue[k].Buffers[0]) + s.txqueue[k].Buffers = nil + } + s.txqueue = s.txqueue[:0] + } +} + +// Close closes the connection. +func (s *UDPSession) Close() error { + var once bool + s.dieOnce.Do(func() { + close(s.die) + once = true + }) + + if once { + atomic.AddUint64(&DefaultSnmp.CurrEstab, ^uint64(0)) + + // try best to send all queued messages + s.mu.Lock() + s.kcp.flush(false) + s.uncork() + // release pending segments + s.kcp.ReleaseTX() + if s.fecDecoder != nil { + s.fecDecoder.release() + } + s.mu.Unlock() + + if s.l != nil { // belongs to listener + s.l.closeSession(s.kcp.conv) + return nil + } else if s.ownConn { // client socket close + return s.conn.Close() + } else { + return nil + } + } else { + return errors.WithStack(io.ErrClosedPipe) + } +} + +// LocalAddr returns the local network address. The Addr returned is shared by all invocations of LocalAddr, so do not modify it. +func (s *UDPSession) LocalAddr() net.Addr { return s.conn.LocalAddr() } + +// RemoteAddr returns the remote network address. The Addr returned is shared by all invocations of RemoteAddr, so do not modify it. +func (s *UDPSession) RemoteAddr() net.Addr { return s.remote } + +// SetDeadline sets the deadline associated with the listener. A zero time value disables the deadline. +func (s *UDPSession) SetDeadline(t time.Time) error { + s.mu.Lock() + defer s.mu.Unlock() + s.rd = t + s.wd = t + s.notifyReadEvent() + s.notifyWriteEvent() + return nil +} + +// SetReadDeadline implements the Conn SetReadDeadline method. +func (s *UDPSession) SetReadDeadline(t time.Time) error { + s.mu.Lock() + defer s.mu.Unlock() + s.rd = t + s.notifyReadEvent() + return nil +} + +// SetWriteDeadline implements the Conn SetWriteDeadline method. +func (s *UDPSession) SetWriteDeadline(t time.Time) error { + s.mu.Lock() + defer s.mu.Unlock() + s.wd = t + s.notifyWriteEvent() + return nil +} + +// SetWriteDelay delays write for bulk transfer until the next update interval +func (s *UDPSession) SetWriteDelay(delay bool) { + s.mu.Lock() + defer s.mu.Unlock() + s.writeDelay = delay +} + +// SetWindowSize set maximum window size +func (s *UDPSession) SetWindowSize(sndwnd, rcvwnd int) { + s.mu.Lock() + defer s.mu.Unlock() + s.kcp.WndSize(sndwnd, rcvwnd) +} + +// SetMtu sets the maximum transmission unit(not including UDP header) +func (s *UDPSession) SetMtu(mtu int) bool { + if mtu > mtuLimit { + return false + } + + s.mu.Lock() + defer s.mu.Unlock() + s.kcp.SetMtu(mtu) + return true +} + +// SetStreamMode toggles the stream mode on/off +func (s *UDPSession) SetStreamMode(enable bool) { + s.mu.Lock() + defer s.mu.Unlock() + if enable { + s.kcp.stream = 1 + } else { + s.kcp.stream = 0 + } +} + +// SetACKNoDelay changes ack flush option, set true to flush ack immediately, +func (s *UDPSession) SetACKNoDelay(nodelay bool) { + s.mu.Lock() + defer s.mu.Unlock() + s.ackNoDelay = nodelay +} + +// (deprecated) +// +// SetDUP duplicates udp packets for kcp output. +func (s *UDPSession) SetDUP(dup int) { + s.mu.Lock() + defer s.mu.Unlock() + s.dup = dup +} + +// SetNoDelay calls nodelay() of kcp +// https://github.com/skywind3000/kcp/blob/master/README.en.md#protocol-configuration +func (s *UDPSession) SetNoDelay(nodelay, interval, resend, nc int) { + s.mu.Lock() + defer s.mu.Unlock() + s.kcp.NoDelay(nodelay, interval, resend, nc) +} + +// SetDSCP sets the 6bit DSCP field in IPv4 header, or 8bit Traffic Class in IPv6 header. +// +// if the underlying connection has implemented `func SetDSCP(int) error`, SetDSCP() will invoke +// this function instead. +// +// It has no effect if it's accepted from Listener. +func (s *UDPSession) SetDSCP(dscp int) error { + s.mu.Lock() + defer s.mu.Unlock() + if s.l != nil { + return errInvalidOperation + } + + // interface enabled + if ts, ok := s.conn.(setDSCP); ok { + return ts.SetDSCP(dscp) + } + + if nc, ok := s.conn.(net.Conn); ok { + var succeed bool + if err := ipv4.NewConn(nc).SetTOS(dscp << 2); err == nil { + succeed = true + } + if err := ipv6.NewConn(nc).SetTrafficClass(dscp); err == nil { + succeed = true + } + + if succeed { + return nil + } + } + return errInvalidOperation +} + +// SetReadBuffer sets the socket read buffer, no effect if it's accepted from Listener +func (s *UDPSession) SetReadBuffer(bytes int) error { + s.mu.Lock() + defer s.mu.Unlock() + if s.l == nil { + if nc, ok := s.conn.(setReadBuffer); ok { + return nc.SetReadBuffer(bytes) + } + } + return errInvalidOperation +} + +// SetWriteBuffer sets the socket write buffer, no effect if it's accepted from Listener +func (s *UDPSession) SetWriteBuffer(bytes int) error { + s.mu.Lock() + defer s.mu.Unlock() + if s.l == nil { + if nc, ok := s.conn.(setWriteBuffer); ok { + return nc.SetWriteBuffer(bytes) + } + } + return errInvalidOperation +} + +// post-processing for sending a packet from kcp core +// steps: +// 1. FEC packet generation +// 2. CRC32 integrity +// 3. Encryption +// 4. TxQueue +func (s *UDPSession) output(buf []byte) { + var ecc [][]byte + + // 1. FEC encoding + if s.fecEncoder != nil { + ecc = s.fecEncoder.encode(buf) + } + + // 2&3. crc32 & encryption + if s.block != nil { + s.nonce.Fill(buf[:nonceSize]) + checksum := crc32.ChecksumIEEE(buf[cryptHeaderSize:]) + binary.LittleEndian.PutUint32(buf[nonceSize:], checksum) + s.block.Encrypt(buf, buf) + + for k := range ecc { + s.nonce.Fill(ecc[k][:nonceSize]) + checksum := crc32.ChecksumIEEE(ecc[k][cryptHeaderSize:]) + binary.LittleEndian.PutUint32(ecc[k][nonceSize:], checksum) + s.block.Encrypt(ecc[k], ecc[k]) + } + } + + // 4. TxQueue + var msg ipv4.Message + for i := 0; i < s.dup+1; i++ { + bts := xmitBuf.Get().([]byte)[:len(buf)] + copy(bts, buf) + msg.Buffers = [][]byte{bts} + msg.Addr = s.remote + s.txqueue = append(s.txqueue, msg) + } + + for k := range ecc { + bts := xmitBuf.Get().([]byte)[:len(ecc[k])] + copy(bts, ecc[k]) + msg.Buffers = [][]byte{bts} + msg.Addr = s.remote + s.txqueue = append(s.txqueue, msg) + } +} + +// sess update to trigger protocol +func (s *UDPSession) update() { + select { + case <-s.die: + default: + s.mu.Lock() + interval := s.kcp.flush(false) + waitsnd := s.kcp.WaitSnd() + if waitsnd < int(s.kcp.snd_wnd) && waitsnd < int(s.kcp.rmt_wnd) { + s.notifyWriteEvent() + } + s.uncork() + s.mu.Unlock() + // self-synchronized timed scheduling + SystemTimedSched.Put(s.update, time.Now().Add(time.Duration(interval)*time.Millisecond)) + } +} + +// GetConv gets conversation id of a session +func (s *UDPSession) GetConv() uint64 { return s.kcp.conv } + +// GetRTO gets current rto of the session +func (s *UDPSession) GetRTO() uint32 { + s.mu.Lock() + defer s.mu.Unlock() + return s.kcp.rx_rto +} + +// GetSRTT gets current srtt of the session +func (s *UDPSession) GetSRTT() int32 { + s.mu.Lock() + defer s.mu.Unlock() + return s.kcp.rx_srtt +} + +// GetRTTVar gets current rtt variance of the session +func (s *UDPSession) GetSRTTVar() int32 { + s.mu.Lock() + defer s.mu.Unlock() + return s.kcp.rx_rttvar +} + +func (s *UDPSession) notifyReadEvent() { + select { + case s.chReadEvent <- struct{}{}: + default: + } +} + +func (s *UDPSession) notifyWriteEvent() { + select { + case s.chWriteEvent <- struct{}{}: + default: + } +} + +func (s *UDPSession) notifyReadError(err error) { + s.socketReadErrorOnce.Do(func() { + s.socketReadError.Store(err) + close(s.chSocketReadError) + }) +} + +func (s *UDPSession) notifyWriteError(err error) { + s.socketWriteErrorOnce.Do(func() { + s.socketWriteError.Store(err) + close(s.chSocketWriteError) + }) +} + +// packet input stage +func (s *UDPSession) packetInput(data []byte) { + decrypted := false + if s.block != nil && len(data) >= cryptHeaderSize { + s.block.Decrypt(data, data) + data = data[nonceSize:] + checksum := crc32.ChecksumIEEE(data[crcSize:]) + if checksum == binary.LittleEndian.Uint32(data) { + data = data[crcSize:] + decrypted = true + } else { + atomic.AddUint64(&DefaultSnmp.InCsumErrors, 1) + } + } else if s.block == nil { + decrypted = true + } + + if decrypted && len(data) >= IKCP_OVERHEAD { + s.kcpInput(data) + } +} + +func (s *UDPSession) kcpInput(data []byte) { + var kcpInErrors, fecErrs, fecRecovered, fecParityShards uint64 + + fecFlag := binary.LittleEndian.Uint16(data[8:]) + if fecFlag == typeData || fecFlag == typeParity { // 16bit kcp cmd [81-84] and frg [0-255] will not overlap with FEC type 0x00f1 0x00f2 + if len(data) >= fecHeaderSizePlus2 { + f := fecPacket(data) + if f.flag() == typeParity { + fecParityShards++ + } + + // lock + s.mu.Lock() + // if fecDecoder is not initialized, create one with default parameter + if s.fecDecoder == nil { + s.fecDecoder = newFECDecoder(1, 1) + } + recovers := s.fecDecoder.decode(f) + if f.flag() == typeData { + if ret := s.kcp.Input(data[fecHeaderSizePlus2:], true, s.ackNoDelay); ret != 0 { + kcpInErrors++ + } + } + + for _, r := range recovers { + if len(r) >= 2 { // must be larger than 2bytes + sz := binary.LittleEndian.Uint16(r) + if int(sz) <= len(r) && sz >= 2 { + if ret := s.kcp.Input(r[2:sz], false, s.ackNoDelay); ret == 0 { + fecRecovered++ + } else { + kcpInErrors++ + } + } else { + fecErrs++ + } + } else { + fecErrs++ + } + // recycle the recovers + xmitBuf.Put(r) + } + + // to notify the readers to receive the data + if n := s.kcp.PeekSize(); n > 0 { + s.notifyReadEvent() + } + // to notify the writers + waitsnd := s.kcp.WaitSnd() + if waitsnd < int(s.kcp.snd_wnd) && waitsnd < int(s.kcp.rmt_wnd) { + s.notifyWriteEvent() + } + + s.uncork() + s.mu.Unlock() + } else { + atomic.AddUint64(&DefaultSnmp.InErrs, 1) + } + } else { + s.mu.Lock() + if ret := s.kcp.Input(data, true, s.ackNoDelay); ret != 0 { + kcpInErrors++ + } + if n := s.kcp.PeekSize(); n > 0 { + s.notifyReadEvent() + } + waitsnd := s.kcp.WaitSnd() + if waitsnd < int(s.kcp.snd_wnd) && waitsnd < int(s.kcp.rmt_wnd) { + s.notifyWriteEvent() + } + s.uncork() + s.mu.Unlock() + } + + atomic.AddUint64(&DefaultSnmp.InPkts, 1) + atomic.AddUint64(&DefaultSnmp.InBytes, uint64(len(data))) + if fecParityShards > 0 { + atomic.AddUint64(&DefaultSnmp.FECParityShards, fecParityShards) + } + if kcpInErrors > 0 { + atomic.AddUint64(&DefaultSnmp.KCPInErrors, kcpInErrors) + } + if fecErrs > 0 { + atomic.AddUint64(&DefaultSnmp.FECErrs, fecErrs) + } + if fecRecovered > 0 { + atomic.AddUint64(&DefaultSnmp.FECRecovered, fecRecovered) + } + +} + +// 原神Enet连接控制协议 +// MM MM MM MM | LL LL LL LL | HH HH HH HH | EE EE EE EE | MM MM MM MM +// MM为表示连接状态的幻数 在开头的4字节和结尾的4字节 +// LL和HH分别为convId的低4字节和高4字节 +// EE为Enet事件类型 4字节 + +// Enet协议上报结构体 +type Enet struct { + Addr string + ConvId uint64 + ConnType uint8 + EnetType uint32 +} + +// Enet连接状态类型 +const ( + ConnEnetSyn = 1 + ConnEnetEst = 2 + ConnEnetFin = 3 + ConnEnetAddrChange = 4 +) + +// Enet连接状态类型幻数 +var MagicEnetSynHead, _ = hex.DecodeString("000000ff") +var MagicEnetSynTail, _ = hex.DecodeString("ffffffff") +var MagicEnetEstHead, _ = hex.DecodeString("00000145") +var MagicEnetEstTail, _ = hex.DecodeString("14514545") +var MagicEnetFinHead, _ = hex.DecodeString("00000194") +var MagicEnetFinTail, _ = hex.DecodeString("19419494") + +// Enet事件类型 +const ( + EnetTimeout = 0 + EnetClientClose = 1 + EnetClientRebindFail = 2 + EnetClientShutdown = 3 + EnetServerRelogin = 4 + EnetServerKick = 5 + EnetServerShutdown = 6 + EnetNotFoundSession = 7 + EnetLoginUnfinished = 8 + EnetPacketFreqTooHigh = 9 + EnetPingTimeout = 10 + EnetTranferFailed = 11 + EnetServerKillClient = 12 + EnetCheckMoveSpeed = 13 + EnetAccountPasswordChange = 14 + EnetClientEditorConnectKey = 987654321 + EnetClientConnectKey = 1234567890 +) + +type ( + // Listener defines a server which will be waiting to accept incoming connections + Listener struct { + block BlockCrypt // block encryption + dataShards int // FEC data shard + parityShards int // FEC parity shard + conn net.PacketConn // the underlying packet connection + ownConn bool // true if we created conn internally, false if provided by caller + + // 网络切换会话保持改造 将convId作为会话的唯一标识 不再校验源地址 + sessions map[uint64]*UDPSession // all sessions accepted by this Listener + sessionLock sync.RWMutex + chAccepts chan *UDPSession // Listen() backlog + chSessionClosed chan net.Addr // session close queue + + die chan struct{} // notify the listener has closed + dieOnce sync.Once + + // socket error handling + socketReadError atomic.Value + chSocketReadError chan struct{} + socketReadErrorOnce sync.Once + + rd atomic.Value // read deadline for Accept() + + EnetNotify chan *Enet // 原神Enet协议上报管道 + } +) + +// packet input stage +func (l *Listener) packetInput(data []byte, addr net.Addr, convId uint64) { + decrypted := false + if l.block != nil && len(data) >= cryptHeaderSize { + l.block.Decrypt(data, data) + data = data[nonceSize:] + checksum := crc32.ChecksumIEEE(data[crcSize:]) + if checksum == binary.LittleEndian.Uint32(data) { + data = data[crcSize:] + decrypted = true + } else { + atomic.AddUint64(&DefaultSnmp.InCsumErrors, 1) + } + } else if l.block == nil { + decrypted = true + } + + if decrypted && len(data) >= IKCP_OVERHEAD { + l.sessionLock.RLock() + s, ok := l.sessions[convId] + l.sessionLock.RUnlock() + + var conv uint64 + var sn uint32 + convRecovered := false + fecFlag := binary.LittleEndian.Uint16(data[8:]) + if fecFlag == typeData || fecFlag == typeParity { // 16bit kcp cmd [81-84] and frg [0-255] will not overlap with FEC type 0x00f1 0x00f2 + // packet with FEC + if fecFlag == typeData && len(data) >= fecHeaderSizePlus2+IKCP_OVERHEAD { + conv = binary.LittleEndian.Uint64(data[fecHeaderSizePlus2:]) + sn = binary.LittleEndian.Uint32(data[fecHeaderSizePlus2+IKCP_SN_OFFSET:]) + convRecovered = true + } + } else { + // packet without FEC + conv = binary.LittleEndian.Uint64(data) + sn = binary.LittleEndian.Uint32(data[IKCP_SN_OFFSET:]) + convRecovered = true + } + + if ok { // existing connection + if !convRecovered || conv == s.kcp.conv { // parity data or valid conversation + s.kcpInput(data) + } else if sn == 0 { // should replace current connection + // 网络切换会话保持改造后 这里的逻辑可能永远也执行不到了 + s.Close() + s = nil + } + } + + if s == nil && convRecovered { // new session + if len(l.chAccepts) < cap(l.chAccepts) { // do not let the new sessions overwhelm accept queue + s := newUDPSession(conv, l.dataShards, l.parityShards, l, l.conn, false, addr, l.block) + s.kcpInput(data) + l.sessionLock.Lock() + l.sessions[convId] = s + l.sessionLock.Unlock() + l.chAccepts <- s + } + } + } +} + +func (l *Listener) notifyReadError(err error) { + l.socketReadErrorOnce.Do(func() { + l.socketReadError.Store(err) + close(l.chSocketReadError) + + // propagate read error to all sessions + l.sessionLock.RLock() + for _, s := range l.sessions { + s.notifyReadError(err) + } + l.sessionLock.RUnlock() + }) +} + +// SetReadBuffer sets the socket read buffer for the Listener +func (l *Listener) SetReadBuffer(bytes int) error { + if nc, ok := l.conn.(setReadBuffer); ok { + return nc.SetReadBuffer(bytes) + } + return errInvalidOperation +} + +// SetWriteBuffer sets the socket write buffer for the Listener +func (l *Listener) SetWriteBuffer(bytes int) error { + if nc, ok := l.conn.(setWriteBuffer); ok { + return nc.SetWriteBuffer(bytes) + } + return errInvalidOperation +} + +// SetDSCP sets the 6bit DSCP field in IPv4 header, or 8bit Traffic Class in IPv6 header. +// +// if the underlying connection has implemented `func SetDSCP(int) error`, SetDSCP() will invoke +// this function instead. +func (l *Listener) SetDSCP(dscp int) error { + // interface enabled + if ts, ok := l.conn.(setDSCP); ok { + return ts.SetDSCP(dscp) + } + + if nc, ok := l.conn.(net.Conn); ok { + var succeed bool + if err := ipv4.NewConn(nc).SetTOS(dscp << 2); err == nil { + succeed = true + } + if err := ipv6.NewConn(nc).SetTrafficClass(dscp); err == nil { + succeed = true + } + + if succeed { + return nil + } + } + return errInvalidOperation +} + +// Accept implements the Accept method in the Listener interface; it waits for the next call and returns a generic Conn. +func (l *Listener) Accept() (net.Conn, error) { + return l.AcceptKCP() +} + +// AcceptKCP accepts a KCP connection +func (l *Listener) AcceptKCP() (*UDPSession, error) { + var timeout <-chan time.Time + if tdeadline, ok := l.rd.Load().(time.Time); ok && !tdeadline.IsZero() { + timeout = time.After(time.Until(tdeadline)) + } + + select { + case <-timeout: + return nil, errors.WithStack(errTimeout) + case c := <-l.chAccepts: + return c, nil + case <-l.chSocketReadError: + return nil, l.socketReadError.Load().(error) + case <-l.die: + return nil, errors.WithStack(io.ErrClosedPipe) + } +} + +// SetDeadline sets the deadline associated with the listener. A zero time value disables the deadline. +func (l *Listener) SetDeadline(t time.Time) error { + l.SetReadDeadline(t) + l.SetWriteDeadline(t) + return nil +} + +// SetReadDeadline implements the Conn SetReadDeadline method. +func (l *Listener) SetReadDeadline(t time.Time) error { + l.rd.Store(t) + return nil +} + +// SetWriteDeadline implements the Conn SetWriteDeadline method. +func (l *Listener) SetWriteDeadline(t time.Time) error { return errInvalidOperation } + +// Close stops listening on the UDP address, and closes the socket +func (l *Listener) Close() error { + var once bool + l.dieOnce.Do(func() { + close(l.die) + once = true + }) + + var err error + if once { + if l.ownConn { + err = l.conn.Close() + } + } else { + err = errors.WithStack(io.ErrClosedPipe) + } + return err +} + +// closeSession notify the listener that a session has closed +func (l *Listener) closeSession(convId uint64) (ret bool) { + l.sessionLock.Lock() + defer l.sessionLock.Unlock() + if _, ok := l.sessions[convId]; ok { + delete(l.sessions, convId) + return true + } + return false +} + +// Addr returns the listener's network address, The Addr returned is shared by all invocations of Addr, so do not modify it. +func (l *Listener) Addr() net.Addr { return l.conn.LocalAddr() } + +// Listen listens for incoming KCP packets addressed to the local address laddr on the network "udp", +func Listen(laddr string) (net.Listener, error) { return ListenWithOptions(laddr, nil, 0, 0) } + +// ListenWithOptions listens for incoming KCP packets addressed to the local address laddr on the network "udp" with packet encryption. +// +// 'block' is the block encryption algorithm to encrypt packets. +// +// 'dataShards', 'parityShards' specify how many parity packets will be generated following the data packets. +// +// Check https://github.com/klauspost/reedsolomon for details +func ListenWithOptions(laddr string, block BlockCrypt, dataShards, parityShards int) (*Listener, error) { + udpaddr, err := net.ResolveUDPAddr("udp", laddr) + if err != nil { + return nil, errors.WithStack(err) + } + conn, err := net.ListenUDP("udp", udpaddr) + if err != nil { + return nil, errors.WithStack(err) + } + + return serveConn(block, dataShards, parityShards, conn, true) +} + +// ServeConn serves KCP protocol for a single packet connection. +func ServeConn(block BlockCrypt, dataShards, parityShards int, conn net.PacketConn) (*Listener, error) { + return serveConn(block, dataShards, parityShards, conn, false) +} + +func serveConn(block BlockCrypt, dataShards, parityShards int, conn net.PacketConn, ownConn bool) (*Listener, error) { + l := new(Listener) + l.conn = conn + l.ownConn = ownConn + l.sessions = make(map[uint64]*UDPSession) + l.chAccepts = make(chan *UDPSession, acceptBacklog) + l.chSessionClosed = make(chan net.Addr) + l.die = make(chan struct{}) + l.dataShards = dataShards + l.parityShards = parityShards + l.block = block + l.chSocketReadError = make(chan struct{}) + l.EnetNotify = make(chan *Enet, 1000) + go l.monitor() + return l, nil +} + +// Dial connects to the remote address "raddr" on the network "udp" without encryption and FEC +func Dial(raddr string) (net.Conn, error) { return DialWithOptions(raddr, nil, 0, 0) } + +// DialWithOptions connects to the remote address "raddr" on the network "udp" with packet encryption +// +// 'block' is the block encryption algorithm to encrypt packets. +// +// 'dataShards', 'parityShards' specify how many parity packets will be generated following the data packets. +// +// Check https://github.com/klauspost/reedsolomon for details +func DialWithOptions(raddr string, block BlockCrypt, dataShards, parityShards int) (*UDPSession, error) { + // network type detection + udpaddr, err := net.ResolveUDPAddr("udp", raddr) + if err != nil { + return nil, errors.WithStack(err) + } + network := "udp4" + if udpaddr.IP.To4() == nil { + network = "udp" + } + + conn, err := net.ListenUDP(network, nil) + if err != nil { + return nil, errors.WithStack(err) + } + + var convid uint64 + binary.Read(rand.Reader, binary.LittleEndian, &convid) + return newUDPSession(convid, dataShards, parityShards, nil, conn, true, udpaddr, block), nil +} + +// NewConn3 establishes a session and talks KCP protocol over a packet connection. +func NewConn3(convid uint64, raddr net.Addr, block BlockCrypt, dataShards, parityShards int, conn net.PacketConn) (*UDPSession, error) { + return newUDPSession(convid, dataShards, parityShards, nil, conn, false, raddr, block), nil +} + +// NewConn2 establishes a session and talks KCP protocol over a packet connection. +func NewConn2(raddr net.Addr, block BlockCrypt, dataShards, parityShards int, conn net.PacketConn) (*UDPSession, error) { + var convid uint64 + binary.Read(rand.Reader, binary.LittleEndian, &convid) + return NewConn3(convid, raddr, block, dataShards, parityShards, conn) +} + +// NewConn establishes a session and talks KCP protocol over a packet connection. +func NewConn(raddr string, block BlockCrypt, dataShards, parityShards int, conn net.PacketConn) (*UDPSession, error) { + udpaddr, err := net.ResolveUDPAddr("udp", raddr) + if err != nil { + return nil, errors.WithStack(err) + } + return NewConn2(udpaddr, block, dataShards, parityShards, conn) +} diff --git a/gate-hk4e/kcp/sess_test.go b/gate-hk4e/kcp/sess_test.go new file mode 100644 index 00000000..c63356bb --- /dev/null +++ b/gate-hk4e/kcp/sess_test.go @@ -0,0 +1,703 @@ +package kcp + +import ( + "crypto/sha1" + "fmt" + "io" + "log" + "net" + "net/http" + _ "net/http/pprof" + "sync" + "sync/atomic" + "testing" + "time" + + "golang.org/x/crypto/pbkdf2" +) + +var baseport = uint32(10000) +var key = []byte("testkey") +var pass = pbkdf2.Key(key, []byte("testsalt"), 4096, 32, sha1.New) + +func init() { + go func() { + log.Println(http.ListenAndServe("0.0.0.0:6060", nil)) + }() + + log.Println("beginning tests, encryption:salsa20, fec:10/3") +} + +func dialEcho(port int) (*UDPSession, error) { + //block, _ := NewNoneBlockCrypt(pass) + //block, _ := NewSimpleXORBlockCrypt(pass) + //block, _ := NewTEABlockCrypt(pass[:16]) + //block, _ := NewAESBlockCrypt(pass) + block, _ := NewSalsa20BlockCrypt(pass) + sess, err := DialWithOptions(fmt.Sprintf("127.0.0.1:%v", port), block, 10, 3) + if err != nil { + panic(err) + } + + sess.SetStreamMode(true) + sess.SetStreamMode(false) + sess.SetStreamMode(true) + sess.SetWindowSize(1024, 1024) + sess.SetReadBuffer(16 * 1024 * 1024) + sess.SetWriteBuffer(16 * 1024 * 1024) + sess.SetStreamMode(true) + sess.SetNoDelay(1, 10, 2, 1) + sess.SetMtu(1400) + sess.SetMtu(1600) + sess.SetMtu(1400) + sess.SetACKNoDelay(true) + sess.SetACKNoDelay(false) + sess.SetDeadline(time.Now().Add(time.Minute)) + return sess, err +} + +func dialSink(port int) (*UDPSession, error) { + sess, err := DialWithOptions(fmt.Sprintf("127.0.0.1:%v", port), nil, 0, 0) + if err != nil { + panic(err) + } + + sess.SetStreamMode(true) + sess.SetWindowSize(1024, 1024) + sess.SetReadBuffer(16 * 1024 * 1024) + sess.SetWriteBuffer(16 * 1024 * 1024) + sess.SetStreamMode(true) + sess.SetNoDelay(1, 10, 2, 1) + sess.SetMtu(1400) + sess.SetACKNoDelay(false) + sess.SetDeadline(time.Now().Add(time.Minute)) + return sess, err +} + +func dialTinyBufferEcho(port int) (*UDPSession, error) { + //block, _ := NewNoneBlockCrypt(pass) + //block, _ := NewSimpleXORBlockCrypt(pass) + //block, _ := NewTEABlockCrypt(pass[:16]) + //block, _ := NewAESBlockCrypt(pass) + block, _ := NewSalsa20BlockCrypt(pass) + sess, err := DialWithOptions(fmt.Sprintf("127.0.0.1:%v", port), block, 10, 3) + if err != nil { + panic(err) + } + return sess, err +} + +// //////////////////////// +func listenEcho(port int) (net.Listener, error) { + //block, _ := NewNoneBlockCrypt(pass) + //block, _ := NewSimpleXORBlockCrypt(pass) + //block, _ := NewTEABlockCrypt(pass[:16]) + //block, _ := NewAESBlockCrypt(pass) + block, _ := NewSalsa20BlockCrypt(pass) + return ListenWithOptions(fmt.Sprintf("127.0.0.1:%v", port), block, 10, 0) +} +func listenTinyBufferEcho(port int) (net.Listener, error) { + //block, _ := NewNoneBlockCrypt(pass) + //block, _ := NewSimpleXORBlockCrypt(pass) + //block, _ := NewTEABlockCrypt(pass[:16]) + //block, _ := NewAESBlockCrypt(pass) + block, _ := NewSalsa20BlockCrypt(pass) + return ListenWithOptions(fmt.Sprintf("127.0.0.1:%v", port), block, 10, 3) +} + +func listenSink(port int) (net.Listener, error) { + return ListenWithOptions(fmt.Sprintf("127.0.0.1:%v", port), nil, 0, 0) +} + +func echoServer(port int) net.Listener { + l, err := listenEcho(port) + if err != nil { + panic(err) + } + + go func() { + kcplistener := l.(*Listener) + kcplistener.SetReadBuffer(4 * 1024 * 1024) + kcplistener.SetWriteBuffer(4 * 1024 * 1024) + kcplistener.SetDSCP(46) + for { + s, err := l.Accept() + if err != nil { + return + } + + // coverage test + s.(*UDPSession).SetReadBuffer(4 * 1024 * 1024) + s.(*UDPSession).SetWriteBuffer(4 * 1024 * 1024) + go handleEcho(s.(*UDPSession)) + } + }() + + return l +} + +func sinkServer(port int) net.Listener { + l, err := listenSink(port) + if err != nil { + panic(err) + } + + go func() { + kcplistener := l.(*Listener) + kcplistener.SetReadBuffer(4 * 1024 * 1024) + kcplistener.SetWriteBuffer(4 * 1024 * 1024) + kcplistener.SetDSCP(46) + for { + s, err := l.Accept() + if err != nil { + return + } + + go handleSink(s.(*UDPSession)) + } + }() + + return l +} + +func tinyBufferEchoServer(port int) net.Listener { + l, err := listenTinyBufferEcho(port) + if err != nil { + panic(err) + } + + go func() { + for { + s, err := l.Accept() + if err != nil { + return + } + go handleTinyBufferEcho(s.(*UDPSession)) + } + }() + return l +} + +/////////////////////////// + +func handleEcho(conn *UDPSession) { + conn.SetStreamMode(true) + conn.SetWindowSize(4096, 4096) + conn.SetNoDelay(1, 10, 2, 1) + conn.SetDSCP(46) + conn.SetMtu(1400) + conn.SetACKNoDelay(false) + conn.SetReadDeadline(time.Now().Add(time.Hour)) + conn.SetWriteDeadline(time.Now().Add(time.Hour)) + buf := make([]byte, 65536) + for { + n, err := conn.Read(buf) + if err != nil { + return + } + conn.Write(buf[:n]) + } +} + +func handleSink(conn *UDPSession) { + conn.SetStreamMode(true) + conn.SetWindowSize(4096, 4096) + conn.SetNoDelay(1, 10, 2, 1) + conn.SetDSCP(46) + conn.SetMtu(1400) + conn.SetACKNoDelay(false) + conn.SetReadDeadline(time.Now().Add(time.Hour)) + conn.SetWriteDeadline(time.Now().Add(time.Hour)) + buf := make([]byte, 65536) + for { + _, err := conn.Read(buf) + if err != nil { + return + } + } +} + +func handleTinyBufferEcho(conn *UDPSession) { + conn.SetStreamMode(true) + buf := make([]byte, 2) + for { + n, err := conn.Read(buf) + if err != nil { + return + } + conn.Write(buf[:n]) + } +} + +/////////////////////////// + +func TestTimeout(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + buf := make([]byte, 10) + + //timeout + cli.SetDeadline(time.Now().Add(time.Second)) + <-time.After(2 * time.Second) + n, err := cli.Read(buf) + if n != 0 || err == nil { + t.Fail() + } + cli.Close() +} + +func TestSendRecv(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + cli.SetWriteDelay(true) + cli.SetDUP(1) + const N = 100 + buf := make([]byte, 10) + for i := 0; i < N; i++ { + msg := fmt.Sprintf("hello%v", i) + cli.Write([]byte(msg)) + if n, err := cli.Read(buf); err == nil { + if string(buf[:n]) != msg { + t.Fail() + } + } else { + panic(err) + } + } + cli.Close() +} + +func TestSendVector(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + cli.SetWriteDelay(false) + const N = 100 + buf := make([]byte, 20) + v := make([][]byte, 2) + for i := 0; i < N; i++ { + v[0] = []byte(fmt.Sprintf("hello%v", i)) + v[1] = []byte(fmt.Sprintf("world%v", i)) + msg := fmt.Sprintf("hello%vworld%v", i, i) + cli.WriteBuffers(v) + if n, err := cli.Read(buf); err == nil { + if string(buf[:n]) != msg { + t.Error(string(buf[:n]), msg) + } + } else { + panic(err) + } + } + cli.Close() +} + +func TestTinyBufferReceiver(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l := tinyBufferEchoServer(port) + defer l.Close() + + cli, err := dialTinyBufferEcho(port) + if err != nil { + panic(err) + } + const N = 100 + snd := byte(0) + fillBuffer := func(buf []byte) { + for i := 0; i < len(buf); i++ { + buf[i] = snd + snd++ + } + } + + rcv := byte(0) + check := func(buf []byte) bool { + for i := 0; i < len(buf); i++ { + if buf[i] != rcv { + return false + } + rcv++ + } + return true + } + sndbuf := make([]byte, 7) + rcvbuf := make([]byte, 7) + for i := 0; i < N; i++ { + fillBuffer(sndbuf) + cli.Write(sndbuf) + if n, err := io.ReadFull(cli, rcvbuf); err == nil { + if !check(rcvbuf[:n]) { + t.Fail() + } + } else { + panic(err) + } + } + cli.Close() +} + +func TestClose(t *testing.T) { + var n int + var err error + + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + + // double close + cli.Close() + if cli.Close() == nil { + t.Fatal("double close misbehavior") + } + + // write after close + buf := make([]byte, 10) + n, err = cli.Write(buf) + if n != 0 || err == nil { + t.Fatal("write after close misbehavior") + } + + // write, close, read, read + cli, err = dialEcho(port) + if err != nil { + panic(err) + } + if n, err = cli.Write(buf); err != nil { + t.Fatal("write misbehavior") + } + + // wait until data arrival + time.Sleep(2 * time.Second) + // drain + cli.Close() + n, err = io.ReadFull(cli, buf) + if err != nil { + t.Fatal("closed conn drain bytes failed", err, n) + } + + // after drain, read should return error + n, err = cli.Read(buf) + if n != 0 || err == nil { + t.Fatal("write->close->drain->read misbehavior", err, n) + } + cli.Close() +} + +func TestParallel1024CLIENT_64BMSG_64CNT(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + var wg sync.WaitGroup + wg.Add(1024) + for i := 0; i < 1024; i++ { + go parallel_client(&wg, port) + } + wg.Wait() +} + +func parallel_client(wg *sync.WaitGroup, port int) (err error) { + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + + err = echo_tester(cli, 64, 64) + cli.Close() + wg.Done() + return +} + +func BenchmarkEchoSpeed4K(b *testing.B) { + speedclient(b, 4096) +} + +func BenchmarkEchoSpeed64K(b *testing.B) { + speedclient(b, 65536) +} + +func BenchmarkEchoSpeed512K(b *testing.B) { + speedclient(b, 524288) +} + +func BenchmarkEchoSpeed1M(b *testing.B) { + speedclient(b, 1048576) +} + +func speedclient(b *testing.B, nbytes int) { + port := int(atomic.AddUint32(&baseport, 1)) + l := echoServer(port) + defer l.Close() + + b.ReportAllocs() + cli, err := dialEcho(port) + if err != nil { + panic(err) + } + + if err := echo_tester(cli, nbytes, b.N); err != nil { + b.Fail() + } + b.SetBytes(int64(nbytes)) + cli.Close() +} + +func BenchmarkSinkSpeed4K(b *testing.B) { + sinkclient(b, 4096) +} + +func BenchmarkSinkSpeed64K(b *testing.B) { + sinkclient(b, 65536) +} + +func BenchmarkSinkSpeed256K(b *testing.B) { + sinkclient(b, 524288) +} + +func BenchmarkSinkSpeed1M(b *testing.B) { + sinkclient(b, 1048576) +} + +func sinkclient(b *testing.B, nbytes int) { + port := int(atomic.AddUint32(&baseport, 1)) + l := sinkServer(port) + defer l.Close() + + b.ReportAllocs() + cli, err := dialSink(port) + if err != nil { + panic(err) + } + + sink_tester(cli, nbytes, b.N) + b.SetBytes(int64(nbytes)) + cli.Close() +} + +func echo_tester(cli net.Conn, msglen, msgcount int) error { + buf := make([]byte, msglen) + for i := 0; i < msgcount; i++ { + // send packet + if _, err := cli.Write(buf); err != nil { + return err + } + + // receive packet + nrecv := 0 + for { + n, err := cli.Read(buf) + if err != nil { + return err + } else { + nrecv += n + if nrecv == msglen { + break + } + } + } + } + return nil +} + +func sink_tester(cli *UDPSession, msglen, msgcount int) error { + // sender + buf := make([]byte, msglen) + for i := 0; i < msgcount; i++ { + if _, err := cli.Write(buf); err != nil { + return err + } + } + return nil +} + +func TestSNMP(t *testing.T) { + t.Log(DefaultSnmp.Copy()) + t.Log(DefaultSnmp.Header()) + t.Log(DefaultSnmp.ToSlice()) + DefaultSnmp.Reset() + t.Log(DefaultSnmp.ToSlice()) +} + +func TestListenerClose(t *testing.T) { + port := int(atomic.AddUint32(&baseport, 1)) + l, err := ListenWithOptions(fmt.Sprintf("127.0.0.1:%v", port), nil, 10, 3) + if err != nil { + t.Fail() + } + l.SetReadDeadline(time.Now().Add(time.Second)) + l.SetWriteDeadline(time.Now().Add(time.Second)) + l.SetDeadline(time.Now().Add(time.Second)) + time.Sleep(2 * time.Second) + if _, err := l.Accept(); err == nil { + t.Fail() + } + + l.Close() + //fakeaddr, _ := net.ResolveUDPAddr("udp6", "127.0.0.1:1111") + fakeConvId := uint64(0) + if l.closeSession(fakeConvId) { + t.Fail() + } +} + +// A wrapper for net.PacketConn that remembers when Close has been called. +type closedFlagPacketConn struct { + net.PacketConn + Closed bool +} + +func (c *closedFlagPacketConn) Close() error { + c.Closed = true + return c.PacketConn.Close() +} + +func newClosedFlagPacketConn(c net.PacketConn) *closedFlagPacketConn { + return &closedFlagPacketConn{c, false} +} + +// Listener should close a net.PacketConn that it created. +// https://github.com/xtaci/kcp-go/issues/165 +func TestListenerOwnedPacketConn(t *testing.T) { + // ListenWithOptions creates its own net.PacketConn. + l, err := ListenWithOptions("127.0.0.1:0", nil, 0, 0) + if err != nil { + panic(err) + } + defer l.Close() + // Replace the internal net.PacketConn with one that remembers when it + // has been closed. + pconn := newClosedFlagPacketConn(l.conn) + l.conn = pconn + + if pconn.Closed { + t.Fatal("owned PacketConn closed before Listener.Close()") + } + + err = l.Close() + if err != nil { + panic(err) + } + + if !pconn.Closed { + t.Fatal("owned PacketConn not closed after Listener.Close()") + } +} + +// Listener should not close a net.PacketConn that it did not create. +// https://github.com/xtaci/kcp-go/issues/165 +func TestListenerNonOwnedPacketConn(t *testing.T) { + // Create a net.PacketConn not owned by the Listener. + c, err := net.ListenPacket("udp", "127.0.0.1:0") + if err != nil { + panic(err) + } + defer c.Close() + // Make it remember when it has been closed. + pconn := newClosedFlagPacketConn(c) + + l, err := ServeConn(nil, 0, 0, pconn) + if err != nil { + panic(err) + } + defer l.Close() + + if pconn.Closed { + t.Fatal("non-owned PacketConn closed before Listener.Close()") + } + + err = l.Close() + if err != nil { + panic(err) + } + + if pconn.Closed { + t.Fatal("non-owned PacketConn closed after Listener.Close()") + } +} + +// UDPSession should close a net.PacketConn that it created. +// https://github.com/xtaci/kcp-go/issues/165 +func TestUDPSessionOwnedPacketConn(t *testing.T) { + l := sinkServer(0) + defer l.Close() + + // DialWithOptions creates its own net.PacketConn. + client, err := DialWithOptions(l.Addr().String(), nil, 0, 0) + if err != nil { + panic(err) + } + defer client.Close() + // Replace the internal net.PacketConn with one that remembers when it + // has been closed. + pconn := newClosedFlagPacketConn(client.conn) + client.conn = pconn + + if pconn.Closed { + t.Fatal("owned PacketConn closed before UDPSession.Close()") + } + + err = client.Close() + if err != nil { + panic(err) + } + + if !pconn.Closed { + t.Fatal("owned PacketConn not closed after UDPSession.Close()") + } +} + +// UDPSession should not close a net.PacketConn that it did not create. +// https://github.com/xtaci/kcp-go/issues/165 +func TestUDPSessionNonOwnedPacketConn(t *testing.T) { + l := sinkServer(0) + defer l.Close() + + // Create a net.PacketConn not owned by the UDPSession. + c, err := net.ListenPacket("udp", "127.0.0.1:0") + if err != nil { + panic(err) + } + defer c.Close() + // Make it remember when it has been closed. + pconn := newClosedFlagPacketConn(c) + + client, err := NewConn2(l.Addr(), nil, 0, 0, pconn) + if err != nil { + panic(err) + } + defer client.Close() + + if pconn.Closed { + t.Fatal("non-owned PacketConn closed before UDPSession.Close()") + } + + err = client.Close() + if err != nil { + panic(err) + } + + if pconn.Closed { + t.Fatal("non-owned PacketConn closed after UDPSession.Close()") + } +} diff --git a/gate-hk4e/kcp/snmp.go b/gate-hk4e/kcp/snmp.go new file mode 100644 index 00000000..f9618107 --- /dev/null +++ b/gate-hk4e/kcp/snmp.go @@ -0,0 +1,164 @@ +package kcp + +import ( + "fmt" + "sync/atomic" +) + +// Snmp defines network statistics indicator +type Snmp struct { + BytesSent uint64 // bytes sent from upper level + BytesReceived uint64 // bytes received to upper level + MaxConn uint64 // max number of connections ever reached + ActiveOpens uint64 // accumulated active open connections + PassiveOpens uint64 // accumulated passive open connections + CurrEstab uint64 // current number of established connections + InErrs uint64 // UDP read errors reported from net.PacketConn + InCsumErrors uint64 // checksum errors from CRC32 + KCPInErrors uint64 // packet iput errors reported from KCP + InPkts uint64 // incoming packets count + OutPkts uint64 // outgoing packets count + InSegs uint64 // incoming KCP segments + OutSegs uint64 // outgoing KCP segments + InBytes uint64 // UDP bytes received + OutBytes uint64 // UDP bytes sent + RetransSegs uint64 // accmulated retransmited segments + FastRetransSegs uint64 // accmulated fast retransmitted segments + EarlyRetransSegs uint64 // accmulated early retransmitted segments + LostSegs uint64 // number of segs inferred as lost + RepeatSegs uint64 // number of segs duplicated + FECRecovered uint64 // correct packets recovered from FEC + FECErrs uint64 // incorrect packets recovered from FEC + FECParityShards uint64 // FEC segments received + FECShortShards uint64 // number of data shards that's not enough for recovery +} + +func newSnmp() *Snmp { + return new(Snmp) +} + +// Header returns all field names +func (s *Snmp) Header() []string { + return []string{ + "BytesSent", + "BytesReceived", + "MaxConn", + "ActiveOpens", + "PassiveOpens", + "CurrEstab", + "InErrs", + "InCsumErrors", + "KCPInErrors", + "InPkts", + "OutPkts", + "InSegs", + "OutSegs", + "InBytes", + "OutBytes", + "RetransSegs", + "FastRetransSegs", + "EarlyRetransSegs", + "LostSegs", + "RepeatSegs", + "FECParityShards", + "FECErrs", + "FECRecovered", + "FECShortShards", + } +} + +// ToSlice returns current snmp info as slice +func (s *Snmp) ToSlice() []string { + snmp := s.Copy() + return []string{ + fmt.Sprint(snmp.BytesSent), + fmt.Sprint(snmp.BytesReceived), + fmt.Sprint(snmp.MaxConn), + fmt.Sprint(snmp.ActiveOpens), + fmt.Sprint(snmp.PassiveOpens), + fmt.Sprint(snmp.CurrEstab), + fmt.Sprint(snmp.InErrs), + fmt.Sprint(snmp.InCsumErrors), + fmt.Sprint(snmp.KCPInErrors), + fmt.Sprint(snmp.InPkts), + fmt.Sprint(snmp.OutPkts), + fmt.Sprint(snmp.InSegs), + fmt.Sprint(snmp.OutSegs), + fmt.Sprint(snmp.InBytes), + fmt.Sprint(snmp.OutBytes), + fmt.Sprint(snmp.RetransSegs), + fmt.Sprint(snmp.FastRetransSegs), + fmt.Sprint(snmp.EarlyRetransSegs), + fmt.Sprint(snmp.LostSegs), + fmt.Sprint(snmp.RepeatSegs), + fmt.Sprint(snmp.FECParityShards), + fmt.Sprint(snmp.FECErrs), + fmt.Sprint(snmp.FECRecovered), + fmt.Sprint(snmp.FECShortShards), + } +} + +// Copy make a copy of current snmp snapshot +func (s *Snmp) Copy() *Snmp { + d := newSnmp() + d.BytesSent = atomic.LoadUint64(&s.BytesSent) + d.BytesReceived = atomic.LoadUint64(&s.BytesReceived) + d.MaxConn = atomic.LoadUint64(&s.MaxConn) + d.ActiveOpens = atomic.LoadUint64(&s.ActiveOpens) + d.PassiveOpens = atomic.LoadUint64(&s.PassiveOpens) + d.CurrEstab = atomic.LoadUint64(&s.CurrEstab) + d.InErrs = atomic.LoadUint64(&s.InErrs) + d.InCsumErrors = atomic.LoadUint64(&s.InCsumErrors) + d.KCPInErrors = atomic.LoadUint64(&s.KCPInErrors) + d.InPkts = atomic.LoadUint64(&s.InPkts) + d.OutPkts = atomic.LoadUint64(&s.OutPkts) + d.InSegs = atomic.LoadUint64(&s.InSegs) + d.OutSegs = atomic.LoadUint64(&s.OutSegs) + d.InBytes = atomic.LoadUint64(&s.InBytes) + d.OutBytes = atomic.LoadUint64(&s.OutBytes) + d.RetransSegs = atomic.LoadUint64(&s.RetransSegs) + d.FastRetransSegs = atomic.LoadUint64(&s.FastRetransSegs) + d.EarlyRetransSegs = atomic.LoadUint64(&s.EarlyRetransSegs) + d.LostSegs = atomic.LoadUint64(&s.LostSegs) + d.RepeatSegs = atomic.LoadUint64(&s.RepeatSegs) + d.FECParityShards = atomic.LoadUint64(&s.FECParityShards) + d.FECErrs = atomic.LoadUint64(&s.FECErrs) + d.FECRecovered = atomic.LoadUint64(&s.FECRecovered) + d.FECShortShards = atomic.LoadUint64(&s.FECShortShards) + return d +} + +// Reset values to zero +func (s *Snmp) Reset() { + atomic.StoreUint64(&s.BytesSent, 0) + atomic.StoreUint64(&s.BytesReceived, 0) + atomic.StoreUint64(&s.MaxConn, 0) + atomic.StoreUint64(&s.ActiveOpens, 0) + atomic.StoreUint64(&s.PassiveOpens, 0) + atomic.StoreUint64(&s.CurrEstab, 0) + atomic.StoreUint64(&s.InErrs, 0) + atomic.StoreUint64(&s.InCsumErrors, 0) + atomic.StoreUint64(&s.KCPInErrors, 0) + atomic.StoreUint64(&s.InPkts, 0) + atomic.StoreUint64(&s.OutPkts, 0) + atomic.StoreUint64(&s.InSegs, 0) + atomic.StoreUint64(&s.OutSegs, 0) + atomic.StoreUint64(&s.InBytes, 0) + atomic.StoreUint64(&s.OutBytes, 0) + atomic.StoreUint64(&s.RetransSegs, 0) + atomic.StoreUint64(&s.FastRetransSegs, 0) + atomic.StoreUint64(&s.EarlyRetransSegs, 0) + atomic.StoreUint64(&s.LostSegs, 0) + atomic.StoreUint64(&s.RepeatSegs, 0) + atomic.StoreUint64(&s.FECParityShards, 0) + atomic.StoreUint64(&s.FECErrs, 0) + atomic.StoreUint64(&s.FECRecovered, 0) + atomic.StoreUint64(&s.FECShortShards, 0) +} + +// DefaultSnmp is the global KCP connection statistics collector +var DefaultSnmp *Snmp + +func init() { + DefaultSnmp = newSnmp() +} diff --git a/gate-hk4e/kcp/timedsched.go b/gate-hk4e/kcp/timedsched.go new file mode 100644 index 00000000..ae3ff178 --- /dev/null +++ b/gate-hk4e/kcp/timedsched.go @@ -0,0 +1,146 @@ +package kcp + +import ( + "container/heap" + "runtime" + "sync" + "time" +) + +// SystemTimedSched is the library level timed-scheduler +var SystemTimedSched = NewTimedSched(runtime.NumCPU()) + +type timedFunc struct { + execute func() + ts time.Time +} + +// a heap for sorted timed function +type timedFuncHeap []timedFunc + +func (h timedFuncHeap) Len() int { return len(h) } +func (h timedFuncHeap) Less(i, j int) bool { return h[i].ts.Before(h[j].ts) } +func (h timedFuncHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] } +func (h *timedFuncHeap) Push(x interface{}) { *h = append(*h, x.(timedFunc)) } +func (h *timedFuncHeap) Pop() interface{} { + old := *h + n := len(old) + x := old[n-1] + old[n-1].execute = nil // avoid memory leak + *h = old[0 : n-1] + return x +} + +// TimedSched represents the control struct for timed parallel scheduler +type TimedSched struct { + // prepending tasks + prependTasks []timedFunc + prependLock sync.Mutex + chPrependNotify chan struct{} + + // tasks will be distributed through chTask + chTask chan timedFunc + + dieOnce sync.Once + die chan struct{} +} + +// NewTimedSched creates a parallel-scheduler with given parallelization +func NewTimedSched(parallel int) *TimedSched { + ts := new(TimedSched) + ts.chTask = make(chan timedFunc) + ts.die = make(chan struct{}) + ts.chPrependNotify = make(chan struct{}, 1) + + for i := 0; i < parallel; i++ { + go ts.sched() + } + go ts.prepend() + return ts +} + +func (ts *TimedSched) sched() { + var tasks timedFuncHeap + timer := time.NewTimer(0) + drained := false + for { + select { + case task := <-ts.chTask: + now := time.Now() + if now.After(task.ts) { + // already delayed! execute immediately + task.execute() + } else { + heap.Push(&tasks, task) + // properly reset timer to trigger based on the top element + stopped := timer.Stop() + if !stopped && !drained { + <-timer.C + } + timer.Reset(tasks[0].ts.Sub(now)) + drained = false + } + case now := <-timer.C: + drained = true + for tasks.Len() > 0 { + if now.After(tasks[0].ts) { + heap.Pop(&tasks).(timedFunc).execute() + } else { + timer.Reset(tasks[0].ts.Sub(now)) + drained = false + break + } + } + case <-ts.die: + return + } + } +} + +func (ts *TimedSched) prepend() { + var tasks []timedFunc + for { + select { + case <-ts.chPrependNotify: + ts.prependLock.Lock() + // keep cap to reuse slice + if cap(tasks) < cap(ts.prependTasks) { + tasks = make([]timedFunc, 0, cap(ts.prependTasks)) + } + tasks = tasks[:len(ts.prependTasks)] + copy(tasks, ts.prependTasks) + for k := range ts.prependTasks { + ts.prependTasks[k].execute = nil // avoid memory leak + } + ts.prependTasks = ts.prependTasks[:0] + ts.prependLock.Unlock() + + for k := range tasks { + select { + case ts.chTask <- tasks[k]: + tasks[k].execute = nil // avoid memory leak + case <-ts.die: + return + } + } + tasks = tasks[:0] + case <-ts.die: + return + } + } +} + +// Put a function 'f' awaiting to be executed at 'deadline' +func (ts *TimedSched) Put(f func(), deadline time.Time) { + ts.prependLock.Lock() + ts.prependTasks = append(ts.prependTasks, timedFunc{f, deadline}) + ts.prependLock.Unlock() + + select { + case ts.chPrependNotify <- struct{}{}: + default: + } +} + +// Close terminates this scheduler +func (ts *TimedSched) Close() { ts.dieOnce.Do(func() { close(ts.die) }) } diff --git a/gate-hk4e/kcp/tx.go b/gate-hk4e/kcp/tx.go new file mode 100644 index 00000000..e39f6a0a --- /dev/null +++ b/gate-hk4e/kcp/tx.go @@ -0,0 +1,80 @@ +package kcp + +import ( + "net" + "sync/atomic" + + "github.com/pkg/errors" + "golang.org/x/net/ipv4" +) + +func buildEnet(connType uint8, enetType uint32, conv uint64) []byte { + data := make([]byte, 20) + if connType == ConnEnetSyn { + copy(data[0:4], MagicEnetSynHead) + copy(data[16:20], MagicEnetSynTail) + } else if connType == ConnEnetEst { + copy(data[0:4], MagicEnetEstHead) + copy(data[16:20], MagicEnetEstTail) + } else if connType == ConnEnetFin { + copy(data[0:4], MagicEnetFinHead) + copy(data[16:20], MagicEnetFinTail) + } else { + return nil + } + // conv的高四个字节和低四个字节分开 + // 例如 00 00 01 45 | LL LL LL LL | HH HH HH HH | 49 96 02 d2 | 14 51 45 45 + data[4] = uint8(conv >> 24) + data[5] = uint8(conv >> 16) + data[6] = uint8(conv >> 8) + data[7] = uint8(conv >> 0) + data[8] = uint8(conv >> 56) + data[9] = uint8(conv >> 48) + data[10] = uint8(conv >> 40) + data[11] = uint8(conv >> 32) + // Enet + data[12] = uint8(enetType >> 24) + data[13] = uint8(enetType >> 16) + data[14] = uint8(enetType >> 8) + data[15] = uint8(enetType >> 0) + return data +} + +func (l *Listener) defaultSendEnetNotifyToClient(enet *Enet) { + remoteAddr, err := net.ResolveUDPAddr("udp", enet.Addr) + if err != nil { + return + } + data := buildEnet(enet.ConnType, enet.EnetType, enet.ConvId) + if data == nil { + return + } + _, _ = l.conn.WriteTo(data, remoteAddr) +} + +func (s *UDPSession) defaultSendEnetNotify(enet *Enet) { + data := buildEnet(enet.ConnType, enet.EnetType, s.GetConv()) + if data == nil { + return + } + s.defaultTx([]ipv4.Message{{ + Buffers: [][]byte{data}, + Addr: s.remote, + }}) +} + +func (s *UDPSession) defaultTx(txqueue []ipv4.Message) { + nbytes := 0 + npkts := 0 + for k := range txqueue { + if n, err := s.conn.WriteTo(txqueue[k].Buffers[0], txqueue[k].Addr); err == nil { + nbytes += n + npkts++ + } else { + s.notifyWriteError(errors.WithStack(err)) + break + } + } + atomic.AddUint64(&DefaultSnmp.OutPkts, uint64(npkts)) + atomic.AddUint64(&DefaultSnmp.OutBytes, uint64(nbytes)) +} diff --git a/gate-hk4e/kcp/tx_generic.go b/gate-hk4e/kcp/tx_generic.go new file mode 100644 index 00000000..58f1f73c --- /dev/null +++ b/gate-hk4e/kcp/tx_generic.go @@ -0,0 +1,20 @@ +//go:build !linux +// +build !linux + +package kcp + +import ( + "golang.org/x/net/ipv4" +) + +func (l *Listener) SendEnetNotifyToClient(enet *Enet) { + l.defaultSendEnetNotifyToClient(enet) +} + +func (s *UDPSession) SendEnetNotify(enet *Enet) { + s.defaultSendEnetNotify(enet) +} + +func (s *UDPSession) tx(txqueue []ipv4.Message) { + s.defaultTx(txqueue) +} diff --git a/gate-hk4e/kcp/tx_linux.go b/gate-hk4e/kcp/tx_linux.go new file mode 100644 index 00000000..35898687 --- /dev/null +++ b/gate-hk4e/kcp/tx_linux.go @@ -0,0 +1,102 @@ +//go:build linux +// +build linux + +package kcp + +import ( + "golang.org/x/net/ipv6" + "net" + "os" + "sync/atomic" + + "github.com/pkg/errors" + "golang.org/x/net/ipv4" +) + +func (l *Listener) SendEnetNotifyToClient(enet *Enet) { + var xconn batchConn + _, ok := l.conn.(*net.UDPConn) + if !ok { + return + } + localAddr, err := net.ResolveUDPAddr("udp", l.conn.LocalAddr().String()) + if err != nil { + return + } + if localAddr.IP.To4() != nil { + xconn = ipv4.NewPacketConn(l.conn) + } else { + xconn = ipv6.NewPacketConn(l.conn) + } + + // default version + if xconn == nil { + l.defaultSendEnetNotifyToClient(enet) + return + } + + remoteAddr, err := net.ResolveUDPAddr("udp", enet.Addr) + if err != nil { + return + } + + data := buildEnet(enet.ConnType, enet.EnetType, enet.ConvId) + if data == nil { + return + } + + _, _ = xconn.WriteBatch([]ipv4.Message{{ + Buffers: [][]byte{data}, + Addr: remoteAddr, + }}, 0) +} + +func (s *UDPSession) SendEnetNotify(enet *Enet) { + data := buildEnet(enet.ConnType, enet.EnetType, s.GetConv()) + if data == nil { + return + } + s.tx([]ipv4.Message{{ + Buffers: [][]byte{data}, + Addr: s.remote, + }}) +} + +func (s *UDPSession) tx(txqueue []ipv4.Message) { + // default version + if s.xconn == nil || s.xconnWriteError != nil { + s.defaultTx(txqueue) + return + } + + // x/net version + nbytes := 0 + npkts := 0 + for len(txqueue) > 0 { + if n, err := s.xconn.WriteBatch(txqueue, 0); err == nil { + for k := range txqueue[:n] { + nbytes += len(txqueue[k].Buffers[0]) + } + npkts += n + txqueue = txqueue[n:] + } else { + // compatibility issue: + // for linux kernel<=2.6.32, support for sendmmsg is not available + // an error of type os.SyscallError will be returned + if operr, ok := err.(*net.OpError); ok { + if se, ok := operr.Err.(*os.SyscallError); ok { + if se.Syscall == "sendmmsg" { + s.xconnWriteError = se + s.defaultTx(txqueue) + return + } + } + } + s.notifyWriteError(errors.WithStack(err)) + break + } + } + + atomic.AddUint64(&DefaultSnmp.OutPkts, uint64(npkts)) + atomic.AddUint64(&DefaultSnmp.OutBytes, uint64(nbytes)) +} diff --git a/gate-hk4e/mq/mq.go b/gate-hk4e/mq/mq.go new file mode 100644 index 00000000..f7e476c5 --- /dev/null +++ b/gate-hk4e/mq/mq.go @@ -0,0 +1,97 @@ +package mq + +import ( + "flswld.com/common/config" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "github.com/nats-io/nats.go" + "github.com/vmihailenco/msgpack/v5" + pb "google.golang.org/protobuf/proto" +) + +type MessageQueue struct { + natsConn *nats.Conn + natsMsgChan chan *nats.Msg + netMsgInput chan *proto.NetMsg + netMsgOutput chan *proto.NetMsg + apiProtoMap *proto.ApiProtoMap +} + +func NewMessageQueue(netMsgInput chan *proto.NetMsg, netMsgOutput chan *proto.NetMsg) (r *MessageQueue) { + r = new(MessageQueue) + conn, err := nats.Connect(config.CONF.MQ.NatsUrl) + if err != nil { + logger.LOG.Error("connect nats error: %v", err) + return nil + } + r.natsConn = conn + r.natsMsgChan = make(chan *nats.Msg, 10000) + _, err = r.natsConn.ChanSubscribe("GATE_HK4E", r.natsMsgChan) + if err != nil { + logger.LOG.Error("nats subscribe error: %v", err) + return nil + } + r.netMsgInput = netMsgInput + r.netMsgOutput = netMsgOutput + r.apiProtoMap = proto.NewApiProtoMap() + return r +} + +func (m *MessageQueue) Start() { + go m.startRecvHandler() + go m.startSendHandler() +} + +func (m *MessageQueue) Close() { + m.natsConn.Close() +} + +func (m *MessageQueue) startRecvHandler() { + for { + natsMsg := <-m.natsMsgChan + // msgpack NetMsg + netMsg := new(proto.NetMsg) + err := msgpack.Unmarshal(natsMsg.Data, netMsg) + if err != nil { + logger.LOG.Error("parse bin to net msg error: %v", err) + continue + } + if netMsg.EventId == proto.NormalMsg { + // protobuf PayloadMessage + payloadMessage := m.apiProtoMap.GetProtoObjByApiId(netMsg.ApiId) + err = pb.Unmarshal(netMsg.PayloadMessageData, payloadMessage) + if err != nil { + logger.LOG.Error("parse bin to payload msg error: %v", err) + continue + } + netMsg.PayloadMessage = payloadMessage + } + m.netMsgOutput <- netMsg + } +} + +func (m *MessageQueue) startSendHandler() { + for { + netMsg := <-m.netMsgInput + // protobuf PayloadMessage + payloadMessageData, err := pb.Marshal(netMsg.PayloadMessage) + if err != nil { + logger.LOG.Error("parse payload msg to bin error: %v", err) + continue + } + netMsg.PayloadMessageData = payloadMessageData + // msgpack NetMsg + netMsgData, err := msgpack.Marshal(netMsg) + if err != nil { + logger.LOG.Error("parse net msg to bin error: %v", err) + continue + } + natsMsg := nats.NewMsg("GAME_HK4E") + natsMsg.Data = netMsgData + err = m.natsConn.PublishMsg(natsMsg) + if err != nil { + logger.LOG.Error("nats publish msg error: %v", err) + continue + } + } +} diff --git a/gate-hk4e/net/kcp_connect_manager.go b/gate-hk4e/net/kcp_connect_manager.go new file mode 100644 index 00000000..d0f4d80a --- /dev/null +++ b/gate-hk4e/net/kcp_connect_manager.go @@ -0,0 +1,387 @@ +package net + +import ( + "bytes" + "encoding/binary" + "flswld.com/common/config" + "flswld.com/common/utils/random" + "flswld.com/logger" + "gate-hk4e/kcp" + "io/ioutil" + "strconv" + "sync" + "time" +) + +type KcpXorKey struct { + encKey []byte + decKey []byte +} + +type KcpConnectManager struct { + openState bool + connMap map[uint64]*kcp.UDPSession + connMapLock sync.RWMutex + protoMsgInput chan *ProtoMsg + protoMsgOutput chan *ProtoMsg + kcpEventInput chan *KcpEvent + kcpEventOutput chan *KcpEvent + // 发送协程分发 + kcpRawSendChanMap map[uint64]chan *ProtoMsg + kcpRawSendChanMapLock sync.RWMutex + // 收包发包监听标志 + kcpRecvListenMap map[uint64]bool + kcpRecvListenMapLock sync.RWMutex + kcpSendListenMap map[uint64]bool + kcpSendListenMapLock sync.RWMutex + // key + dispatchKey []byte + secretKey []byte + kcpKeyMap map[uint64]*KcpXorKey + kcpKeyMapLock sync.RWMutex + // conv短时间内唯一生成 + convGenMap map[uint64]int64 + convGenMapLock sync.RWMutex +} + +func NewKcpConnectManager(protoMsgInput chan *ProtoMsg, protoMsgOutput chan *ProtoMsg, + kcpEventInput chan *KcpEvent, kcpEventOutput chan *KcpEvent) (r *KcpConnectManager) { + r = new(KcpConnectManager) + r.openState = true + r.connMap = make(map[uint64]*kcp.UDPSession) + r.protoMsgInput = protoMsgInput + r.protoMsgOutput = protoMsgOutput + r.kcpEventInput = kcpEventInput + r.kcpEventOutput = kcpEventOutput + r.kcpRawSendChanMap = make(map[uint64]chan *ProtoMsg) + r.kcpRecvListenMap = make(map[uint64]bool) + r.kcpSendListenMap = make(map[uint64]bool) + r.kcpKeyMap = make(map[uint64]*KcpXorKey) + r.convGenMap = make(map[uint64]int64) + return r +} + +func (k *KcpConnectManager) Start() { + go func() { + // key + var err error = nil + k.dispatchKey, err = ioutil.ReadFile("static/dispatchKey.bin") + if err != nil { + logger.LOG.Error("open dispatchKey.bin error") + return + } + k.secretKey, err = ioutil.ReadFile("static/secretKey.bin") + if err != nil { + logger.LOG.Error("open secretKey.bin error") + return + } + // kcp + port := strconv.FormatInt(int64(config.CONF.Hk4e.KcpPort), 10) + listener, err := kcp.ListenWithOptions("0.0.0.0:"+port, nil, 0, 0) + if err != nil { + logger.LOG.Error("listen kcp err: %v", err) + return + } else { + go k.enetHandle(listener) + go k.chanSendHandle() + go k.eventHandle() + for { + conn, err := listener.AcceptKCP() + if err != nil { + logger.LOG.Error("accept kcp err: %v", err) + return + } + if k.openState == false { + _ = conn.Close() + continue + } + conn.SetACKNoDelay(true) + conn.SetWriteDelay(false) + convId := conn.GetConv() + logger.LOG.Debug("client connect, convId: %v", convId) + // 连接建立成功通知 + k.kcpEventOutput <- &KcpEvent{ + ConvId: convId, + EventId: KcpConnEstNotify, + EventMessage: conn.RemoteAddr().String(), + } + k.connMapLock.Lock() + k.connMap[convId] = conn + k.connMapLock.Unlock() + k.kcpKeyMapLock.Lock() + k.kcpKeyMap[convId] = &KcpXorKey{ + encKey: k.dispatchKey, + decKey: k.dispatchKey, + } + k.kcpKeyMapLock.Unlock() + go k.recvHandle(convId) + kcpRawSendChan := make(chan *ProtoMsg, 10000) + k.kcpRawSendChanMapLock.Lock() + k.kcpRawSendChanMap[convId] = kcpRawSendChan + k.kcpRawSendChanMapLock.Unlock() + go k.sendHandle(convId, kcpRawSendChan) + go k.rttMonitor(convId) + } + } + }() + go k.clearDeadConv() +} + +func (k *KcpConnectManager) clearDeadConv() { + ticker := time.NewTicker(time.Minute) + for { + k.convGenMapLock.Lock() + now := time.Now().UnixNano() + oldConvList := make([]uint64, 0) + for conv, timestamp := range k.convGenMap { + if now-timestamp > int64(time.Hour) { + oldConvList = append(oldConvList, conv) + } + } + delConvList := make([]uint64, 0) + k.connMapLock.RLock() + for _, conv := range oldConvList { + _, exist := k.connMap[conv] + if !exist { + delConvList = append(delConvList, conv) + delete(k.convGenMap, conv) + } + } + k.connMapLock.RUnlock() + k.convGenMapLock.Unlock() + logger.LOG.Info("clean dead conv list: %v", delConvList) + <-ticker.C + } +} + +func (k *KcpConnectManager) enetHandle(listener *kcp.Listener) { + for { + enetNotify := <-listener.EnetNotify + logger.LOG.Info("[Enet Notify], addr: %v, conv: %v, conn: %v, enet: %v", enetNotify.Addr, enetNotify.ConvId, enetNotify.ConnType, enetNotify.EnetType) + switch enetNotify.ConnType { + case kcp.ConnEnetSyn: + if enetNotify.EnetType == kcp.EnetClientConnectKey { + var conv uint64 + k.convGenMapLock.Lock() + for { + convData := random.GetRandomByte(8) + convDataBuffer := bytes.NewBuffer(convData) + _ = binary.Read(convDataBuffer, binary.LittleEndian, &conv) + _, exist := k.convGenMap[conv] + if exist { + continue + } else { + k.convGenMap[conv] = time.Now().UnixNano() + break + } + } + k.convGenMapLock.Unlock() + listener.SendEnetNotifyToClient(&kcp.Enet{ + Addr: enetNotify.Addr, + ConvId: conv, + ConnType: kcp.ConnEnetEst, + EnetType: enetNotify.EnetType, + }) + } + case kcp.ConnEnetEst: + case kcp.ConnEnetFin: + k.closeKcpConn(enetNotify.ConvId, enetNotify.EnetType) + case kcp.ConnEnetAddrChange: + // 连接地址改变通知 + k.kcpEventOutput <- &KcpEvent{ + ConvId: enetNotify.ConvId, + EventId: KcpConnAddrChangeNotify, + EventMessage: enetNotify.Addr, + } + default: + } + } +} + +func (k *KcpConnectManager) chanSendHandle() { + // 分发到每个连接具体的发送协程 + for { + protoMsg := <-k.protoMsgInput + k.kcpRawSendChanMapLock.RLock() + kcpRawSendChan := k.kcpRawSendChanMap[protoMsg.ConvId] + k.kcpRawSendChanMapLock.RUnlock() + if kcpRawSendChan != nil { + select { + case kcpRawSendChan <- protoMsg: + default: + logger.LOG.Error("kcpRawSendChan is full, convId: %v", protoMsg.ConvId) + } + } else { + logger.LOG.Error("kcpRawSendChan is nil, convId: %v", protoMsg.ConvId) + } + } +} + +func (k *KcpConnectManager) recvHandle(convId uint64) { + // 接收 + k.connMapLock.RLock() + conn := k.connMap[convId] + k.connMapLock.RUnlock() + pktFreqLimitCounter := 0 + pktFreqLimitTimer := time.Now().UnixNano() + protoEnDecode := NewProtoEnDecode() + recvBuf := make([]byte, conn.GetMaxPayloadLen()) + for { + _ = conn.SetReadDeadline(time.Now().Add(time.Second * 30)) + recvLen, err := conn.Read(recvBuf) + if err != nil { + logger.LOG.Error("exit recv loop, conn read err: %v, convId: %v", err, convId) + k.closeKcpConn(convId, kcp.EnetServerKick) + break + } + pktFreqLimitCounter++ + now := time.Now().UnixNano() + if now-pktFreqLimitTimer > int64(time.Second) { + if pktFreqLimitCounter > 1000 { + logger.LOG.Error("exit recv loop, client packet send freq too high, convId: %v, pps: %v", convId, pktFreqLimitCounter) + k.closeKcpConn(convId, kcp.EnetPacketFreqTooHigh) + break + } else { + pktFreqLimitCounter = 0 + } + pktFreqLimitTimer = now + } + recvData := recvBuf[:recvLen] + k.kcpRecvListenMapLock.RLock() + flag := k.kcpRecvListenMap[convId] + k.kcpRecvListenMapLock.RUnlock() + if flag { + // 收包通知 + //recvMsg := make([]byte, len(recvData)) + //copy(recvMsg, recvData) + k.kcpEventOutput <- &KcpEvent{ + ConvId: convId, + EventId: KcpPacketRecvNotify, + EventMessage: recvData, + } + } + kcpMsgList := make([]*KcpMsg, 0) + k.decodeBinToPayload(recvData, convId, &kcpMsgList) + for _, v := range kcpMsgList { + protoMsgList := protoEnDecode.protoDecode(v) + for _, vv := range protoMsgList { + k.protoMsgOutput <- vv + } + } + } +} + +func (k *KcpConnectManager) sendHandle(convId uint64, kcpRawSendChan chan *ProtoMsg) { + // 发送 + k.connMapLock.RLock() + conn := k.connMap[convId] + k.connMapLock.RUnlock() + protoEnDecode := NewProtoEnDecode() + for { + protoMsg, ok := <-kcpRawSendChan + if !ok { + logger.LOG.Error("exit send loop, send chan close, convId: %v", convId) + k.closeKcpConn(convId, kcp.EnetServerKick) + break + } + kcpMsg := protoEnDecode.protoEncode(protoMsg) + if kcpMsg == nil { + logger.LOG.Error("decode kcp msg is nil, convId: %v", convId) + continue + } + bin := k.encodePayloadToBin(kcpMsg) + _ = conn.SetWriteDeadline(time.Now().Add(time.Second * 10)) + _, err := conn.Write(bin) + if err != nil { + logger.LOG.Error("exit send loop, conn write err: %v, convId: %v", err, convId) + k.closeKcpConn(convId, kcp.EnetServerKick) + break + } + k.kcpSendListenMapLock.RLock() + flag := k.kcpSendListenMap[convId] + k.kcpSendListenMapLock.RUnlock() + if flag { + // 发包通知 + k.kcpEventOutput <- &KcpEvent{ + ConvId: convId, + EventId: KcpPacketSendNotify, + EventMessage: bin, + } + } + } +} + +func (k *KcpConnectManager) rttMonitor(convId uint64) { + ticker := time.NewTicker(time.Second * 10) + for { + select { + case <-ticker.C: + k.connMapLock.RLock() + conn := k.connMap[convId] + k.connMapLock.RUnlock() + if conn == nil { + break + } + logger.LOG.Debug("convId: %v, RTO: %v, SRTT: %v, RTTVar: %v", convId, conn.GetRTO(), conn.GetSRTT(), conn.GetSRTTVar()) + k.kcpEventOutput <- &KcpEvent{ + ConvId: convId, + EventId: KcpConnRttNotify, + EventMessage: conn.GetSRTT(), + } + } + } +} + +func (k *KcpConnectManager) closeKcpConn(convId uint64, enetType uint32) { + k.connMapLock.RLock() + conn, exist := k.connMap[convId] + k.connMapLock.RUnlock() + if !exist { + return + } + // 获取待关闭的发送管道 + k.kcpRawSendChanMapLock.RLock() + kcpRawSendChan := k.kcpRawSendChanMap[convId] + k.kcpRawSendChanMapLock.RUnlock() + // 清理数据 + k.connMapLock.Lock() + delete(k.connMap, convId) + k.connMapLock.Unlock() + k.kcpRawSendChanMapLock.Lock() + delete(k.kcpRawSendChanMap, convId) + k.kcpRawSendChanMapLock.Unlock() + k.kcpRecvListenMapLock.Lock() + delete(k.kcpRecvListenMap, convId) + k.kcpRecvListenMapLock.Unlock() + k.kcpSendListenMapLock.Lock() + delete(k.kcpSendListenMap, convId) + k.kcpSendListenMapLock.Unlock() + k.kcpKeyMapLock.Lock() + delete(k.kcpKeyMap, convId) + k.kcpKeyMapLock.Unlock() + // 关闭连接 + conn.SendEnetNotify(&kcp.Enet{ + ConnType: kcp.ConnEnetFin, + EnetType: enetType, + }) + _ = conn.Close() + // 关闭发送管道 + close(kcpRawSendChan) + // 连接关闭通知 + k.kcpEventOutput <- &KcpEvent{ + ConvId: convId, + EventId: KcpConnCloseNotify, + } +} + +func (k *KcpConnectManager) closeAllKcpConn() { + closeConnList := make([]*kcp.UDPSession, 0) + k.connMapLock.RLock() + for _, v := range k.connMap { + closeConnList = append(closeConnList, v) + } + k.connMapLock.RUnlock() + for _, v := range closeConnList { + k.closeKcpConn(v.GetConv(), kcp.EnetServerShutdown) + } +} diff --git a/gate-hk4e/net/kcp_endecode.go b/gate-hk4e/net/kcp_endecode.go new file mode 100644 index 00000000..247c100e --- /dev/null +++ b/gate-hk4e/net/kcp_endecode.go @@ -0,0 +1,187 @@ +package net + +import ( + "bytes" + "encoding/binary" + "flswld.com/common/utils/endec" + "flswld.com/logger" +) + +/* + 原神KCP协议(带*为xor加密数据) +0 1 2 4 8(字节) ++---------------------------------------------------------------------------------------+ +| conv | ++---------------------------------------------------------------------------------------+ +| cmd | frg | wnd | ts | ++---------------------------------------------------------------------------------------+ +| sn | una | ++---------------------------------------------------------------------------------------+ +| len | 0X4567* | apiId* | ++---------------------------------------------------------------------------------------+ +| headLen* | payloadLen* | head* | ++---------------------------------------------------------------------------------------+ +| payload* | 0X89AB* | ++---------------------------------------------------------------------------------------+ +*/ + +type KcpMsg struct { + ConvId uint64 + ApiId uint16 + HeadData []byte + ProtoData []byte +} + +func (k *KcpConnectManager) decodeBinToPayload(data []byte, convId uint64, kcpMsgList *[]*KcpMsg) { + // xor解密 + k.kcpKeyMapLock.RLock() + xorKey, exist := k.kcpKeyMap[convId] + k.kcpKeyMapLock.RUnlock() + if !exist { + logger.LOG.Error("kcp xor key not exist, convId: %v", convId) + return + } + endec.Xor(data, xorKey.decKey) + k.decodeRecur(data, convId, kcpMsgList) +} + +func (k *KcpConnectManager) decodeRecur(data []byte, convId uint64, kcpMsgList *[]*KcpMsg) { + // 长度太短 + if len(data) < 12 { + logger.LOG.Debug("packet len less 12 byte") + return + } + // 头部标志错误 + if data[0] != 0x45 || data[1] != 0x67 { + logger.LOG.Error("packet head magic 0x4567 error") + return + } + // 协议号 + apiIdByteSlice := make([]byte, 8) + apiIdByteSlice[6] = data[2] + apiIdByteSlice[7] = data[3] + apiIdBuffer := bytes.NewBuffer(apiIdByteSlice) + var apiId int64 + err := binary.Read(apiIdBuffer, binary.BigEndian, &apiId) + if err != nil { + logger.LOG.Error("packet api id parse fail: %v", err) + return + } + // 头部长度 + headLenByteSlice := make([]byte, 8) + headLenByteSlice[6] = data[4] + headLenByteSlice[7] = data[5] + headLenBuffer := bytes.NewBuffer(headLenByteSlice) + var headLen int64 + err = binary.Read(headLenBuffer, binary.BigEndian, &headLen) + if err != nil { + logger.LOG.Error("packet head len parse fail: %v", err) + return + } + // proto长度 + protoLenByteSlice := make([]byte, 8) + protoLenByteSlice[4] = data[6] + protoLenByteSlice[5] = data[7] + protoLenByteSlice[6] = data[8] + protoLenByteSlice[7] = data[9] + protoLenBuffer := bytes.NewBuffer(protoLenByteSlice) + var protoLen int64 + err = binary.Read(protoLenBuffer, binary.BigEndian, &protoLen) + if err != nil { + logger.LOG.Error("packet proto len parse fail: %v", err) + return + } + // 检查最小长度 + if len(data) < int(headLen+protoLen)+12 { + logger.LOG.Error("packet len error") + return + } + // 尾部标志错误 + if data[headLen+protoLen+10] != 0x89 || data[headLen+protoLen+11] != 0xAB { + logger.LOG.Error("packet tail magic 0x89AB error") + return + } + // 判断是否有不止一个包 + haveMoreData := false + if len(data) > int(headLen+protoLen)+12 { + haveMoreData = true + } + // 头部数据 + headData := data[10 : 10+headLen] + // proto数据 + protoData := data[10+headLen : 10+headLen+protoLen] + // 返回数据 + kcpMsg := new(KcpMsg) + kcpMsg.ConvId = convId + kcpMsg.ApiId = uint16(apiId) + //kcpMsg.HeadData = make([]byte, len(headData)) + //copy(kcpMsg.HeadData, headData) + //kcpMsg.ProtoData = make([]byte, len(protoData)) + //copy(kcpMsg.ProtoData, protoData) + kcpMsg.HeadData = headData + kcpMsg.ProtoData = protoData + *kcpMsgList = append(*kcpMsgList, kcpMsg) + // 递归解析 + if haveMoreData { + k.decodeRecur(data[int(headLen+protoLen)+12:], convId, kcpMsgList) + } +} + +func (k *KcpConnectManager) encodePayloadToBin(kcpMsg *KcpMsg) (bin []byte) { + if kcpMsg.HeadData == nil { + kcpMsg.HeadData = make([]byte, 0) + } + if kcpMsg.ProtoData == nil { + kcpMsg.ProtoData = make([]byte, 0) + } + bin = make([]byte, len(kcpMsg.HeadData)+len(kcpMsg.ProtoData)+12) + // 头部标志 + bin[0] = 0x45 + bin[1] = 0x67 + // 协议号 + apiIdBuffer := bytes.NewBuffer([]byte{}) + err := binary.Write(apiIdBuffer, binary.BigEndian, kcpMsg.ApiId) + if err != nil { + logger.LOG.Error("api id encode err: %v", err) + return nil + } + bin[2] = (apiIdBuffer.Bytes())[0] + bin[3] = (apiIdBuffer.Bytes())[1] + // 头部长度 + headLenBuffer := bytes.NewBuffer([]byte{}) + err = binary.Write(headLenBuffer, binary.BigEndian, uint16(len(kcpMsg.HeadData))) + if err != nil { + logger.LOG.Error("head len encode err: %v", err) + return nil + } + bin[4] = (headLenBuffer.Bytes())[0] + bin[5] = (headLenBuffer.Bytes())[1] + // proto长度 + protoLenBuffer := bytes.NewBuffer([]byte{}) + err = binary.Write(protoLenBuffer, binary.BigEndian, uint32(len(kcpMsg.ProtoData))) + if err != nil { + logger.LOG.Error("proto len encode err: %v", err) + return nil + } + bin[6] = (protoLenBuffer.Bytes())[0] + bin[7] = (protoLenBuffer.Bytes())[1] + bin[8] = (protoLenBuffer.Bytes())[2] + bin[9] = (protoLenBuffer.Bytes())[3] + // 头部数据 + copy(bin[10:], kcpMsg.HeadData) + // proto数据 + copy(bin[10+len(kcpMsg.HeadData):], kcpMsg.ProtoData) + // 尾部标志 + bin[len(bin)-2] = 0x89 + bin[len(bin)-1] = 0xAB + // xor加密 + k.kcpKeyMapLock.RLock() + xorKey, exist := k.kcpKeyMap[kcpMsg.ConvId] + k.kcpKeyMapLock.RUnlock() + if !exist { + logger.LOG.Error("kcp xor key not exist, convId: %v", kcpMsg.ConvId) + return + } + endec.Xor(bin, xorKey.encKey) + return bin +} diff --git a/gate-hk4e/net/kcp_event.go b/gate-hk4e/net/kcp_event.go new file mode 100644 index 00000000..82579f51 --- /dev/null +++ b/gate-hk4e/net/kcp_event.go @@ -0,0 +1,134 @@ +package net + +import "flswld.com/logger" + +const ( + KcpXorKeyChange = iota + KcpPacketRecvListen + KcpPacketSendListen + KcpConnForceClose + KcpAllConnForceClose + KcpGateOpenState + KcpPacketRecvNotify + KcpPacketSendNotify + KcpConnCloseNotify + KcpConnEstNotify + KcpConnRttNotify + KcpConnAddrChangeNotify +) + +type KcpEvent struct { + ConvId uint64 + EventId int + EventMessage any +} + +func (k *KcpConnectManager) eventHandle() { + // 事件处理 + for { + event := <-k.kcpEventInput + logger.LOG.Info("kcp manager recv event, ConvId: %v, EventId: %v, EventMessage: %v", event.ConvId, event.EventId, event.EventMessage) + switch event.EventId { + case KcpXorKeyChange: + // XOR密钥切换 + k.connMapLock.RLock() + _, exist := k.connMap[event.ConvId] + k.connMapLock.RUnlock() + if !exist { + logger.LOG.Error("conn not exist, convId: %v", event.ConvId) + continue + } + flag, ok := event.EventMessage.(string) + if !ok { + logger.LOG.Error("event KcpXorKeyChange msg type error") + continue + } + if flag == "ENC" { + k.kcpKeyMapLock.Lock() + k.kcpKeyMap[event.ConvId].encKey = k.secretKey + k.kcpKeyMapLock.Unlock() + } else if flag == "DEC" { + k.kcpKeyMapLock.Lock() + k.kcpKeyMap[event.ConvId].decKey = k.secretKey + k.kcpKeyMapLock.Unlock() + } + case KcpPacketRecvListen: + // 收包监听 + k.connMapLock.RLock() + _, exist := k.connMap[event.ConvId] + k.connMapLock.RUnlock() + if !exist { + logger.LOG.Error("conn not exist, convId: %v", event.ConvId) + continue + } + flag, ok := event.EventMessage.(string) + if !ok { + logger.LOG.Error("event KcpXorKeyChange msg type error") + continue + } + if flag == "Enable" { + k.kcpRecvListenMapLock.Lock() + k.kcpRecvListenMap[event.ConvId] = true + k.kcpRecvListenMapLock.Unlock() + } else if flag == "Disable" { + k.kcpRecvListenMapLock.Lock() + k.kcpRecvListenMap[event.ConvId] = false + k.kcpRecvListenMapLock.Unlock() + } + case KcpPacketSendListen: + // 发包监听 + k.connMapLock.RLock() + _, exist := k.connMap[event.ConvId] + k.connMapLock.RUnlock() + if !exist { + logger.LOG.Error("conn not exist, convId: %v", event.ConvId) + continue + } + flag, ok := event.EventMessage.(string) + if !ok { + logger.LOG.Error("event KcpXorKeyChange msg type error") + continue + } + if flag == "Enable" { + k.kcpSendListenMapLock.Lock() + k.kcpSendListenMap[event.ConvId] = true + k.kcpSendListenMapLock.Unlock() + } else if flag == "Disable" { + k.kcpSendListenMapLock.Lock() + k.kcpSendListenMap[event.ConvId] = false + k.kcpSendListenMapLock.Unlock() + } + case KcpConnForceClose: + // 强制关闭某个连接 + k.connMapLock.RLock() + _, exist := k.connMap[event.ConvId] + k.connMapLock.RUnlock() + if !exist { + logger.LOG.Error("conn not exist, convId: %v", event.ConvId) + continue + } + reason, ok := event.EventMessage.(uint32) + if !ok { + logger.LOG.Error("event KcpConnForceClose msg type error") + continue + } + k.closeKcpConn(event.ConvId, reason) + logger.LOG.Info("conn has been force close, convId: %v", event.ConvId) + case KcpAllConnForceClose: + // 强制关闭所有连接 + k.closeAllKcpConn() + logger.LOG.Info("all conn has been force close") + case KcpGateOpenState: + // 改变网关开放状态 + openState, ok := event.EventMessage.(bool) + if !ok { + logger.LOG.Error("event KcpGateOpenState msg type error") + continue + } + k.openState = openState + if openState == false { + k.closeAllKcpConn() + } + } + } +} diff --git a/gate-hk4e/net/proto_endecode.go b/gate-hk4e/net/proto_endecode.go new file mode 100644 index 00000000..e9ab322b --- /dev/null +++ b/gate-hk4e/net/proto_endecode.go @@ -0,0 +1,160 @@ +package net + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + pb "google.golang.org/protobuf/proto" +) + +type ProtoEnDecode struct { + apiProtoMap *proto.ApiProtoMap +} + +func NewProtoEnDecode() (r *ProtoEnDecode) { + r = new(ProtoEnDecode) + r.apiProtoMap = proto.NewApiProtoMap() + return r +} + +type ProtoMsg struct { + ConvId uint64 + ApiId uint16 + HeadMessage *proto.PacketHead + PayloadMessage pb.Message +} + +type ProtoMessage struct { + apiId uint16 + message pb.Message +} + +func (p *ProtoEnDecode) protoDecode(kcpMsg *KcpMsg) (protoMsgList []*ProtoMsg) { + protoMsgList = make([]*ProtoMsg, 0) + protoMsg := new(ProtoMsg) + protoMsg.ConvId = kcpMsg.ConvId + protoMsg.ApiId = kcpMsg.ApiId + // head msg + if kcpMsg.HeadData != nil && len(kcpMsg.HeadData) != 0 { + headMsg := new(proto.PacketHead) + err := pb.Unmarshal(kcpMsg.HeadData, headMsg) + if err != nil { + logger.LOG.Error("unmarshal head data err: %v", err) + return protoMsgList + } + protoMsg.HeadMessage = headMsg + } else { + protoMsg.HeadMessage = nil + } + // payload msg + protoMessageList := make([]*ProtoMessage, 0) + p.protoDecodePayloadCore(kcpMsg.ApiId, kcpMsg.ProtoData, &protoMessageList) + if len(protoMessageList) == 0 { + logger.LOG.Error("decode proto object is nil") + return protoMsgList + } + if kcpMsg.ApiId == proto.ApiUnionCmdNotify { + for _, protoMessage := range protoMessageList { + msg := new(ProtoMsg) + msg.ConvId = kcpMsg.ConvId + msg.ApiId = protoMessage.apiId + msg.HeadMessage = protoMsg.HeadMessage + msg.PayloadMessage = protoMessage.message + //logger.LOG.Debug("[recv] union proto msg, convId: %v, apiId: %v", msg.ConvId, msg.ApiId) + if protoMessage.apiId == proto.ApiUnionCmdNotify { + // 聚合消息自身不再往后发送 + continue + } + //logger.LOG.Debug("[recv] proto msg, convId: %v, apiId: %v, headMsg: %v", protoMsg.ConvId, protoMsg.ApiId, protoMsg.HeadMessage) + protoMsgList = append(protoMsgList, msg) + } + // 聚合消息自身不再往后发送 + return protoMsgList + } else { + protoMsg.PayloadMessage = protoMessageList[0].message + } + //logger.LOG.Debug("[recv] proto msg, convId: %v, apiId: %v, headMsg: %v", protoMsg.ConvId, protoMsg.ApiId, protoMsg.HeadMessage) + protoMsgList = append(protoMsgList, protoMsg) + return protoMsgList +} + +func (p *ProtoEnDecode) protoDecodePayloadCore(apiId uint16, protoData []byte, protoMessageList *[]*ProtoMessage) { + protoObj := p.decodePayloadToProto(apiId, protoData) + if protoObj == nil { + logger.LOG.Error("decode proto object is nil") + return + } + if apiId == proto.ApiUnionCmdNotify { + // 处理聚合消息 + unionCmdNotify, ok := protoObj.(*proto.UnionCmdNotify) + if !ok { + logger.LOG.Error("parse union cmd error") + return + } + for _, cmd := range unionCmdNotify.GetCmdList() { + p.protoDecodePayloadCore(uint16(cmd.MessageId), cmd.Body, protoMessageList) + } + } + *protoMessageList = append(*protoMessageList, &ProtoMessage{ + apiId: apiId, + message: protoObj, + }) +} + +func (p *ProtoEnDecode) protoEncode(protoMsg *ProtoMsg) (kcpMsg *KcpMsg) { + //logger.LOG.Debug("[send] proto msg, convId: %v, apiId: %v, headMsg: %v", protoMsg.ConvId, protoMsg.ApiId, protoMsg.HeadMessage) + kcpMsg = new(KcpMsg) + kcpMsg.ConvId = protoMsg.ConvId + kcpMsg.ApiId = protoMsg.ApiId + // head msg + if protoMsg.HeadMessage != nil { + headData, err := pb.Marshal(protoMsg.HeadMessage) + if err != nil { + logger.LOG.Error("marshal head data err: %v", err) + return nil + } + kcpMsg.HeadData = headData + } else { + kcpMsg.HeadData = nil + } + // payload msg + if protoMsg.PayloadMessage != nil { + apiId, protoData := p.encodeProtoToPayload(protoMsg.PayloadMessage) + if apiId == 0 || protoData == nil { + logger.LOG.Error("encode proto data is nil") + return nil + } + if apiId != 65535 && apiId != protoMsg.ApiId { + logger.LOG.Error("api id is not match with proto obj, src api id: %v, found api id: %v", protoMsg.ApiId, apiId) + return nil + } + kcpMsg.ProtoData = protoData + } else { + kcpMsg.ProtoData = nil + } + return kcpMsg +} + +func (p *ProtoEnDecode) decodePayloadToProto(apiId uint16, protoData []byte) (protoObj pb.Message) { + protoObj = p.apiProtoMap.GetProtoObjByApiId(apiId) + if protoObj == nil { + logger.LOG.Error("get new proto object is nil") + return nil + } + err := pb.Unmarshal(protoData, protoObj) + if err != nil { + logger.LOG.Error("unmarshal proto data err: %v", err) + return nil + } + return protoObj +} + +func (p *ProtoEnDecode) encodeProtoToPayload(protoObj pb.Message) (apiId uint16, protoData []byte) { + apiId = p.apiProtoMap.GetApiIdByProtoObj(protoObj) + var err error = nil + protoData, err = pb.Marshal(protoObj) + if err != nil { + logger.LOG.Error("marshal proto object err: %v", err) + return 0, nil + } + return apiId, protoData +} diff --git a/gate-hk4e/region/region.go b/gate-hk4e/region/region.go new file mode 100644 index 00000000..e6425f52 --- /dev/null +++ b/gate-hk4e/region/region.go @@ -0,0 +1,175 @@ +package region + +import ( + "encoding/base64" + "flswld.com/common/utils/endec" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + pb "google.golang.org/protobuf/proto" + "io/ioutil" +) + +func LoadRsaKey() (signRsaKey []byte, encRsaKeyMap map[string][]byte, pwdRsaKey []byte) { + var err error = nil + encRsaKeyMap = make(map[string][]byte) + signRsaKey, err = ioutil.ReadFile("static/region_sign_key.pem") + if err != nil { + logger.LOG.Error("open region_sign_key.pem error: %v", err) + return nil, nil, nil + } + encKeyIdList := []string{"2", "3", "4", "5"} + for _, v := range encKeyIdList { + encRsaKeyMap[v], err = ioutil.ReadFile("static/region_enc_key_" + v + ".pem") + if err != nil { + logger.LOG.Error("open region_enc_key_3.pem error: %v", err) + return nil, nil, nil + } + } + pwdRsaKey, err = ioutil.ReadFile("static/account_password_key.pem") + if err != nil { + logger.LOG.Error("open account_password_key.pem error: %v", err) + return nil, nil, nil + } + return signRsaKey, encRsaKeyMap, pwdRsaKey +} + +func InitRegion(kcpAddr string, kcpPort int) (*proto.QueryCurrRegionHttpRsp, *proto.QueryRegionListHttpRsp) { + dispatchKey, err := ioutil.ReadFile("static/dispatchKey.bin") + if err != nil { + logger.LOG.Error("open dispatchKey.bin error: %v", err) + return nil, nil + } + dispatchSeed, err := ioutil.ReadFile("static/dispatchSeed.bin") + if err != nil { + logger.LOG.Error("open dispatchSeed.bin error: %v", err) + return nil, nil + } + // RegionCurr + regionCurr := new(proto.QueryCurrRegionHttpRsp) + regionCurr.RegionInfo = &proto.RegionInfo{ + GateserverIp: kcpAddr, + GateserverPort: uint32(kcpPort), + SecretKey: dispatchSeed, + } + // RegionList + customConfigStr := ` + { + "sdkenv": "2", + "checkdevice": "false", + "loadPatch": "false", + "showexception": "false", + "regionConfig": "pm|fk|add", + "downloadMode": "0", + } + ` + customConfig := []byte(customConfigStr) + endec.Xor(customConfig, dispatchKey) + serverList := make([]*proto.RegionSimpleInfo, 0) + server := &proto.RegionSimpleInfo{ + Name: "os_usa", + Title: "America", + Type: "DEV_PUBLIC", + DispatchUrl: "https://osusadispatch.yuanshen.com/query_cur_region", + } + serverList = append(serverList, server) + regionList := new(proto.QueryRegionListHttpRsp) + regionList.RegionList = serverList + regionList.ClientSecretKey = dispatchSeed + regionList.ClientCustomConfigEncrypted = customConfig + regionList.EnableLoginPc = true + return regionCurr, regionList +} + +// 新的region构建方式已经不需要读取query_region_list和query_cur_region文件了 并跳过了版本校验的blk补丁下载 +func _InitRegion(log *logger.Logger, kcpAddr string, kcpPort int) (*proto.QueryCurrRegionHttpRsp, *proto.QueryRegionListHttpRsp) { + // TODO 总有一天要把这些烦人的数据全部自己构造别再他妈的读文件了 + // 加载文件 + regionListKeyFile, err := ioutil.ReadFile("static/query_region_list_key") + if err != nil { + log.Error("open query_region_list_key error") + return nil, nil + } + regionCurrKeyFile, err := ioutil.ReadFile("static/query_cur_region_key") + if err != nil { + log.Error("open query_cur_region_key error") + return nil, nil + } + regionListFile, err := ioutil.ReadFile("static/query_region_list") + if err != nil { + log.Error("open query_region_list error") + return nil, nil + } + regionCurrFile, err := ioutil.ReadFile("static/query_cur_region") + if err != nil { + log.Error("open query_cur_region error") + return nil, nil + } + regionListKeyBin, err := base64.StdEncoding.DecodeString(string(regionListKeyFile)) + if err != nil { + log.Error("decode query_region_list_key error") + return nil, nil + } + regionCurrKeyBin, err := base64.StdEncoding.DecodeString(string(regionCurrKeyFile)) + if err != nil { + log.Error("decode query_cur_region_key error") + return nil, nil + } + regionListBin, err := base64.StdEncoding.DecodeString(string(regionListFile)) + if err != nil { + log.Error("decode query_region_list error") + return nil, nil + } + regionCurrBin, err := base64.StdEncoding.DecodeString(string(regionCurrFile)) + if err != nil { + log.Error("decode query_cur_region error") + return nil, nil + } + regionListKey := new(proto.QueryRegionListHttpRsp) + err = pb.Unmarshal(regionListKeyBin, regionListKey) + if err != nil { + log.Error("Unmarshal QueryRegionListHttpRsp error") + return nil, nil + } + regionCurrKey := new(proto.QueryCurrRegionHttpRsp) + err = pb.Unmarshal(regionCurrKeyBin, regionCurrKey) + if err != nil { + log.Error("Unmarshal QueryCurrRegionHttpRsp error") + return nil, nil + } + regionList := new(proto.QueryRegionListHttpRsp) + err = pb.Unmarshal(regionListBin, regionList) + if err != nil { + log.Error("Unmarshal QueryRegionListHttpRsp error") + return nil, nil + } + regionCurr := new(proto.QueryCurrRegionHttpRsp) + err = pb.Unmarshal(regionCurrBin, regionCurr) + if err != nil { + log.Error("Unmarshal QueryCurrRegionHttpRsp error") + return nil, nil + } + secretKey, err := ioutil.ReadFile("static/dispatchSeed.bin") + if err != nil { + log.Error("open dispatchSeed.bin error") + return nil, nil + } + // RegionCurr + regionInfo := regionCurr.GetRegionInfo() + regionInfo.GateserverIp = kcpAddr + regionInfo.GateserverPort = uint32(kcpPort) + regionInfo.SecretKey = secretKey + regionCurr.RegionInfo = regionInfo + // RegionList + serverList := make([]*proto.RegionSimpleInfo, 0) + server := &proto.RegionSimpleInfo{ + Name: "os_usa", + Title: "America", + Type: "DEV_PUBLIC", + DispatchUrl: "https://osusadispatch.yuanshen.com/query_cur_region", + } + serverList = append(serverList, server) + regionList.RegionList = serverList + regionList.ClientSecretKey = regionListKey.ClientSecretKey + regionList.ClientCustomConfigEncrypted = regionListKey.ClientCustomConfigEncrypted + return regionCurr, regionList +} diff --git a/gate-hk4e/region/region_test.go b/gate-hk4e/region/region_test.go new file mode 100644 index 00000000..533e3e19 --- /dev/null +++ b/gate-hk4e/region/region_test.go @@ -0,0 +1,35 @@ +package region + +import ( + "encoding/base64" + "flswld.com/gate-hk4e-api/proto" + "fmt" + pb "google.golang.org/protobuf/proto" + "testing" +) + +func TestRegion(t *testing.T) { + var err error = nil + regionListStr := "ElIKBm9zX3VzYRIHQW1lcmljYRoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc3VzYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElMKB29zX2V1cm8SBkV1cm9wZRoKREVWX1BVQkxJQyI0aHR0cHM6Ly9vc2V1cm9kaXNwYXRjaC55dWFuc2hlbi5jb20vcXVlcnlfY3VyX3JlZ2lvbhJRCgdvc19hc2lhEgRBc2lhGgpERVZfUFVCTElDIjRodHRwczovL29zYXNpYWRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uElUKBm9zX2NodBIKVFcsIEhLLCBNTxoKREVWX1BVQkxJQyIzaHR0cHM6Ly9vc2NodGRpc3BhdGNoLnl1YW5zaGVuLmNvbS9xdWVyeV9jdXJfcmVnaW9uKpwQRWMyYhAAAABbrAvbhfIRHfaSCN24qQyVAAgAAMs68ZiMdPfEj41O2wBCYqGiC/WdovvJvaw4t3/m1zIYDrt3/ftK9GKFb7C+2E8FmaHqOnwjJYBg2wI1sXpGmuSxkeWw8Avr36wlNtQjhXNV9zoNKstuZYuheyLlpbPRbYZ3UA6/BzTVsjIhjR1lcqFrigQnpV6MgRR9KqxakCaffK6qIzMlodx4ZPKlqseQhCiyVAvLWQSRqCRcZipzotXsmgLQbpDFtRzhgukXPjfW5dAlzMwswPuu7ZQsf1AKipI34dVQLu6gtXthGgbjn89h/79VR5AokLCPGqIV7/2s+gHfykrjDtyp5rwCcmGQqwV3gHy5LGrHl8Zm12jNd7Qcng51ydqtX4xzet6J2iMF6Dw5nPd/hTyxn+i3Ttk6fop9rbCq3iNgEw3+0cSDal1I1ThYdVnMgPhZgQkZc5/SpTaR+8vfDzRIKbSSrrPSEgLnQvWZOOugXhNdyuiaBc8rJveno7vvktmnhDUF3xWi6osj75j2KghRrdHfDR3Zuh4COrGZDRBSKHft2AvfrxaMT9O8hPzzzYk0U2iicVCDlNP/8wqaT9Vqt1kHmruLxqh377iyp0mxKfNt0+SNRzLyRoyvOar/z3AT6TU9LRoCFrkcJpVsUN+2MVeT52PfMbv5O/Nw9sqsFDlofCJJ/EknY0wDc+tNarYOhDM67/ojn/p6W3ZPBJxb2wcF1TOh9dpAeZdCGJusqhMIj5lpoW8nENTFhkEgMUv2Lh5Z6WpeOAKAu9eDpBMhlRNCccDaNYUgo6TdVDtWxtPrS3NRYqtkvb2I2SEFP0apht954oKdG3ncxyOgHRUkwgtxbCMAngzWo9+VWV3H3OlqeEOv7DdO2o0y95EvlHYb/qtosXPI2jC+6FPa+yl4xmLqcENRTUrU23dsmX3SyBEmZvML4dNeyC53B+mh7DUFtPFJFndxj2tGO9mTSDgy8eCmKG90AiJOMoxaLB2HpnDXN1sTiIcd3WraiE6ZCt4E54hKXvXHPyN52CHkxq1y/TeXHEq4X4MyHyDSRLHmzVs9pnwHM0ZLthKFNyvGfTvjiYokAWtNEuh74syt+m6Wietb6JvgibnnDj6uFKI3BbH4GUT9blsnMgug323bJ6bFvV4iESvz1fNnnUSokWQy5+fWzxPDohULgFzhDCpwov78Bp0E3t6DXSWnrUdNqpLbYKmXO1Hdbn+QH4B90p85UB1V5eSZgxPpUvZbIO4GPScil8K+dkDLdsFa1zypWNmlUN0Ns5H/iuzMuJql2QFYz+SnV1R1T+qywwqCNP9oswcLiAR3XnSacs52vd3PI9+0PZuoF6tVMWlvutsQ34IFZaAwIkdKigZcHumLBt/0KyFASBfN674n8FnHrHOQHU6oCeXkQA9kC8MtkvMb7fOLdzbTsD6SVojzZ64i9mDXxF+iLR9o52OxjIFzwLGRy/ivT/aAnHLZ3AsbnvslDjlQl2ADBFvf7xjmvFu0xlfK58TUpfVEkScFFapWJyKVybB4CRz1wKKz6n/a9581LpCVOWRsJa5p+j0zYcS2PfhmRf3RzwsDHeBjEVlIARbhxNKvmjdZyIidSdMMcsJHDRLE3bvo9kKfag0vRVKmuPLPc9FrACsz3vlkApcVQvzieHWoiP+foEvfj9+7Ti2tLfKdzVkMUmugZiZ46+7PKvIciiiuBPlyld0CCPTtTFHUOMO5dUfrUblX8K3awWiaNQFBS0J3iK08t1bgWfLhsKzsS32fRWugaqecwO9Rji9oHn+UuN8Nz9SgNxodroq9q7y/KHFxbqjCl62g25HN9zUa/s5wnIRwVAiWgTuOe3qGqjwp5m/GR8YVSSK/8mV9EL4AaF8d1uifdVA6wWSH1e/1UB8vcdU83P8ne3u1ho+Y/57WB7KnQaGaiD/108+wiAxNqMb2ex8on01VxdLKV1makXV3gzsvWaRevW8t/K11ZwYfo9g+guWADsA0JO0jWooiaupq1kNWrEheBdSRXBO7Jnb+56cTjPGwLpp7ZOHe/bSCJ4MGzPF3lK66LXhVo+rxvNjhoKVRjhGYxN4T8+AiRo3r+1KwdIGSrtODp3ri3JWAy6Eajp1Ukp9GaCbHSJFnYml84nKew7zLLe//ExQpjd4QAjMTvnbm+Ff6a1jf69QEVo0I33gI7/buwqgjiuvjeL6EYaMolKrKlHZHf/HwWbFbdID8T9aoyZJuCUd6YHaMPRAS6n5nvTwkRLlJ/f6wgyypUGZ22Bb1qGIb9SoPgSgIJkifUoewQW2EexqfoAsHXJVABLy+jp/SC4xzHZOSh42zU1k80HIgrnSOmu6T56F6gqy4Y2cZuZU8LXbO/01u8ifEz8yaXfEFSFdxE0TWl92OLKFtJZr9nNOBQQQr5FDGf6zB1/0CziG/5+PrUDgG3irzho6+7wXkc2CpxlBKOLWdjs3V/Lab6cURz1QZY4HYgUkJtm4U5OKUeO2+murlhC7SrnwyUtGrsD8NbCmI4SRHKPoeLBJQO/m3dRze5Ltr8N9IS7/ukPeOYe1O2agrmhH/JjYfz/l8Gmq8PGY+oavYp8I+2yKvGLD9kCxEgKcTeRh9AW/xPTLGsacrGKQCY+M76DfyLKxCZDiDY9xkBIKchxsMsn7FqZvRMMyJBHbqa3AKQyAN73NCSuFF5f1qDjARU/xqJFhOaKoR64c78oqh1GqOqEFbfNQIRw6WeFCGyW6v6p10uLdR7KXnR7+wub9aG992MpIBk0+gru74yO/WcA0vLdDEQIBwc+M0lmLB53ylsPtde3nliaC5ROHR1IS4LO8Q+3o0BHMr0my0bqFwwCAvZVXOFBHxXyUgrrmUTnZYVSQXNV6+MALBmmRU5yOzhhyHoEdj9YHZeyPpZkYc6DkJWCRYbFfmczNIs133KB9rlfug40w/hHa8pXyRyLaKQUMIUYEvt3Y4AQ==" + regionListBin, err := base64.StdEncoding.DecodeString(regionListStr) + if err != nil { + panic(err) + } + regionList := new(proto.QueryRegionListHttpRsp) + err = pb.Unmarshal(regionListBin, regionList) + if err != nil { + panic(err) + } + fmt.Println(regionList) + regionCurrStr := "GpkdCg00Ny4yNTMuNDMuMTA2ENasARoraHR0cHM6Ly9vc3VzYW9hc2VydmVyLnl1YW5zaGVuLmNvbS9yZWNoYXJnZToDVVNBQjlodHRwczovL2F1dG9wYXRjaGhrLnl1YW5zaGVuLmNvbS9jbGllbnRfZ2FtZV9yZXMvMi42X2xpdmVKPGh0dHBzOi8vYXV0b3BhdGNoaGsueXVhbnNoZW4uY29tL2NsaWVudF9kZXNpZ25fZGF0YS8yLjZfbGl2ZVKSAWh0dHBzOi8vd2Vic3RhdGljLXNlYS5ob3lvdmVyc2UuY29tL3lzL2V2ZW50L2ltLXNlcnZpY2UvaW5kZXguaHRtbD9pbV9vdXQ9ZmFsc2Umc2lnbl90eXBlPTImYXV0aF9hcHBpZD1pbV9jY3MmYXV0aGtleV92ZXI9MSZ3aW5fZGlyZWN0aW9uPXBvcnRyYWl0YggyLjZfbGl2ZXDZ7JoDkAGJxKoDmgFceyJyZW1vdGVOYW1lIjogImRhdGFfdmVyc2lvbnMiLCAibWQ1IjogIjFhNDQ1YWU0OGZiZGJlMDM4MzEyYmU4NjhmMjgxM2QyIiwgImZpbGVTaXplIjogNDQxNX2iAVt7InJlbW90ZU5hbWUiOiAiZGF0YV92ZXJzaW9ucyIsICJtZDUiOiAiZjY0NmZlY2FjMTA3ZDNlN2ZiNDdjOTA4OTIwMmQzZmYiLCAiZmlsZVNpemUiOiA1MTR9sgGBBgi9t5kDGuAFeyJyZW1vdGVOYW1lIjogInJlc192ZXJzaW9uc19leHRlcm5hbCIsICJtZDUiOiAiOWYwOTJjYTEzMDY3Y2FlNDMxMzQ5M2VlZDNkM2U5YWUiLCAiZmlsZVNpemUiOiA1MjY5NjZ9DQp7InJlbW90ZU5hbWUiOiAicmVzX3ZlcnNpb25zX21lZGl1bSIsICJtZDUiOiAiN2M5NDJlNzA0YTgwNGMyMTIyZmM2M2VlOTI4ZTcxNDgiLCAiZmlsZVNpemUiOiAyODU1NTB9DQp7InJlbW90ZU5hbWUiOiAicmVzX3ZlcnNpb25zX3N0cmVhbWluZyIsICJtZDUiOiAiZTM1ZjZkODUzZDA0Y2UwMjJhYzdjMzZkNDNmNDBlN2MiLCAiZmlsZVNpemUiOiAxMjIwMzZ9DQp7InJlbW90ZU5hbWUiOiAicmVsZWFzZV9yZXNfdmVyc2lvbnNfZXh0ZXJuYWwiLCAibWQ1IjogIjg3NjRiMGYyZWQ4MTVjZDQ0MzBlMDg1YzQ2MWE2ZjRkIiwgImZpbGVTaXplIjogNTI2OTY2fQ0KeyJyZW1vdGVOYW1lIjogInJlbGVhc2VfcmVzX3ZlcnNpb25zX21lZGl1bSIsICJtZDUiOiAiMWJiZTM3NGMxNmJmZjQ1OTE1OTljMjE5NzM0MjAzNDgiLCAiZmlsZVNpemUiOiAyODU1NTB9DQp7InJlbW90ZU5hbWUiOiAicmVsZWFzZV9yZXNfdmVyc2lvbnNfc3RyZWFtaW5nIiwgIm1kNSI6ICI3MmZhN2ZmNjZkNTE0ZmNiYTM0YWYwMDdmMmI5YzJmOCIsICJmaWxlU2l6ZSI6IDEyMjAzNn0NCnsicmVtb3RlTmFtZSI6ICJiYXNlX3JldmlzaW9uIiwgIm1kNSI6ICJmYmZhNmQ2ZTA3MDJkMWM3OWUwNTY0ZmIyODY3ZTczOCIsICJmaWxlU2l6ZSI6IDE4fSIBMCoKN2EzNGEzNmE2ZTIIMi42X2xpdmW6AZwQRWMyYhAAAACRgo74BzK07IdzLYLB+X6zAAgAAMOOtJP/5vvtTMSBF1AnJP997kZG14dqgtvfwIr8C4SsWvlx1UgL9HSheXa7AaACj8uDhSiPQyYQsrD7d/kSpm11b3YGpLbnGs+BlO/69cLqxBx8n/nnRLKKQ72wnmuJ2yVXvfqmB18ATy3qcxTcpjFlafXkpIsksAe2lzjC7lqO7rU2JNbdwVfrHOwu/H/2jyHxnQ/7N13E0M8xAT2LuBQRuA+j2fKExhr4NJlreav5NqphHBfAnc1Kyd/Jf04kLjUq1ht7PwC3Q8F6KKZbAhJfdrKa8WbMIKXyiLKD1LlUhlACDzh2Nt/mM8f49AGjCFG3mQepsBqn33DbVtakm3niVq/9hxvY23QZa/8Jz6QxXRp+KAM7LmnGgmBjDvL5FNtC6cJ+yN33Htx/c35g6pq6ChOXerYgd/nttdvo4H7d29uLXbnWBiGxVRu2t/g0GB7Ug0+QTikIGyrOD8OC5LPL2Ka6yDh8H8RwC4zumJapDCXG2D2GFAhN2orVYDBaC87WZFWBAUsegEDhBxvz5Kbg0p5oZA8bzc1/D75sIRBlkTmOZE2g5vNW5i6zG3/QGAcuYNmSj+Vb8Opy8H1a0u4HrDT099CWTx862QolBwe/XqFiuoUkpUF9W+8+v6pCBVdOl/qYKdpagOJmriWFJt7MesJoHiWsQz/yOkaVNRIkRW9088ZExqN1mn6djw4NKvLI4+wPsV0RI391oLHcD15wgwcji01fbuBnfuysEWcCv/TgoSjVOcV7XuFUDH907zYwZdOwEBLcgUNrMAju2LIlsdxCL9qKsv85dUBJ1Y/AVXHwE8IIbvb8WNqENie3o8QhLSA0SiVxYPM4gex9TWlpJ85cwzgvNFKn1ihQh/Hwuygd8rLgD6TeCNItcvHUXGXYhyt2iJoUrOxlw8q+QaRt+UX2ZNXAaiJdS/PplmWCsV4pysynHGF5diWRb5K/k1g4waFSAQ0AWtUY1jxxhdzk+yloles7B3Ic1VHu63ullOz4c0Q0wf5sPpMbJnCLrjAdnE7G5NvU4EnEBndSJEJ81D1LRmKEIr9IuiWwCRXNJzC5dLTHbOMQDwHny9pan0zCDGybn4qIQQTL2hJ3IaIZJg7axhk7i7wVmEjbZUrkpgvBjpXpwlBuG1zFjPmR8JyAPxrJjbEEdcEpWlxTRp6f0J8P6uyNwbcmsqeQn9zxixTHYaOdNvzXGOabkTp3LTQECn+Puc1J354b6lCtwwFpfRIuQrU1CeVaKbodBxU5NJhI4BbrQx40JVwtxdyVlaSFJ9tn2R5Wpdpf3rwfbGVScbDHBBKDq2zJh6pmHeCSHZyzIcvbj2QlKD3Pi862BV16azcNFz4RZCOGbVjPeVM+DX7hVsN3fiI3d7MxTAN1r7WfR7NV23SO7B60RkSGhp/ZTcsoKHzmYVx0AtqI20clDpZSUGFVL0QdfCMRCB4rXw/kOqVGOxTOE7GKEpKFSIyZEHCL+HbEC8hvErVki+G+HSWRCIvLZPQUHGOdv4KDvxW74wf0c/nGXf6+ie2pBrJDjcLVAZant4vj4obyFG30wNgMEbmk4Kby8BZDsV0Y+FI9JUxMQdraPPSEZCf3gA2vXmsKIdMbMAFMR6ZrIlKMUc91BeIBM6VauF5pjqdm2hNvlI+K7ZM7x+Xcjg2Dt/RRrnb8GcH+m2jpRQCscgX2lUvluP7nWJyyqqMk+33LsTqsfHMcS2SOirg7N56znv1PcsSIKb8WUmRHo8llb70VU8yjd0MzKK1V8KD8jJbYSaRWwKEbflTzsDFDgD6Nx4cv+oj9N8JlFFAVH+EkknmKDql874+tH6Lp8pd7oJqb3RDEtsHsk1Mau4JEe8SHwJy82LG9Xi48tKIkWxxrtUJMISrajMI7g38jnFGr83M2zYs0B1VTkX7ImUzLsy1Ln1ZAboPS65mJE5FIDbNHQpCkCN0bFT/dCosfoC2Jm5yEQIZSW5oM2ylCwPYqU91VN2i11ef6NPe6QL6SiRh7JPImwt8gj9r39pjy4mwRyIxjNU9PrKuvNpIwtb7CVl5diVTIg0Gx1v82pjYsT51O7k64qIwlGC0x7dzOQ+XdSMSFCM1sk2OvvcxZTtwQWVAmDmqhNAeJ3DH61fa5Lii2suvXTzEC7qheTMQ/KEwNRxQz1BL6RYlITa8ZtlUpe46MY3+08GJC4A2gys6eQpm4+BHQr50bmfEvl7c63pqp0JMH3Gz8ZEvBskMVXsfY8awW89nYnCNYZH74t4bvKqhSfO/zs3oPUVoz6S3fwMebROsAoehzvBVDCjvICjEhamkzOIt+gDfIrDlZto2yj31ptgsfBcIeFXcijyf99xWz05/XQvaMdf8HAxwLWusBqpNtuAd0CWurPoCk9f6m/hzm89YvckRRHJ3iZKZLepE3MLNZH6D3kFAMGssvaexY9Zd9E1vaCGcA3cgPe+OnP20dnWbdM0LRl7Mp4Y6JvO3/U9gH7yt+hKFkAOIcYmb7Cp+hPleENtvbexYD9I9aKhe4rvoZYJeiGJJs4X/y1XUCWxrJUuk6Wv06S7BV0Zwl/61gaL1NNY8rzNMO3+2MnNEujXAlC7Qx9mZ6ndySmAKYblji1i0JQyYPwkUqStceFfoVjbk1xE2n1ZZOX7fXaOhLfZK3BchyswEyNUmmqaK51GL9K4C+oTfcviGZdQsri/7slsvYqi5jubY8fYIrSpQk+B3I+kFh+ln4Ps5gFa2j1Y78wgFPaHR0cHM6Ly93ZWJzdGF0aWMtc2VhLmhveW92ZXJzZS5jb20veXMvZXZlbnQvZTIwMjAwNDEwZ29fY29tbXVuaXR5L2luZGV4Lmh0bWwjL9IBCmFkZmViOGJlNzHaAQo4NGVlYjFjMThi+gEdaHR0cHM6Ly9hY2NvdW50LmhveW92ZXJzZS5jb22CAnFodHRwczovL2hrNGUtYXBpLW9zLmhveW92ZXJzZS5jb20vY29tbW9uL2FwaWNka2V5L2FwaS9leGNoYW5nZUNka2V5P3NpZ25fdHlwZT0yJmF1dGhfYXBwaWQ9YXBpY2RrZXkmYXV0aGtleV92ZXI9MYoCTGh0dHBzOi8vYWNjb3VudC5ob3lvdmVyc2UuY29tLyMvYWJvdXQvcHJpdmFjeUluR2FtZT9hcHBfaWQ9NCZiaXo9aGs0ZV9nbG9iYWxanBBFYzJiEAAAAJGCjvgHMrTsh3MtgsH5frMACAAAw460k//m++1MxIEXUCck/33uRkbXh2qC29/AivwLhKxa+XHVSAv0dKF5drsBoAKPy4OFKI9DJhCysPt3+RKmbXVvdgaktucaz4GU7/r1wurEHHyf+edEsopDvbCea4nbJVe9+qYHXwBPLepzFNymMWVp9eSkiySwB7aXOMLuWo7utTYk1t3BV+sc7C78f/aPIfGdD/s3XcTQzzEBPYu4FBG4D6PZ8oTGGvg0mWt5q/k2qmEcF8CdzUrJ38l/TiQuNSrWG3s/ALdDwXooplsCEl92sprxZswgpfKIsoPUuVSGUAIPOHY23+Yzx/j0AaMIUbeZB6mwGqffcNtW1qSbeeJWr/2HG9jbdBlr/wnPpDFdGn4oAzsuacaCYGMO8vkU20Lpwn7I3fce3H9zfmDqmroKE5d6tiB3+e212+jgft3b24tdudYGIbFVG7a3+DQYHtSDT5BOKQgbKs4Pw4Lks8vYprrIOHwfxHALjO6YlqkMJcbYPYYUCE3aitVgMFoLztZkVYEBSx6AQOEHG/PkpuDSnmhkDxvNzX8PvmwhEGWROY5kTaDm81bmLrMbf9AYBy5g2ZKP5Vvw6nLwfVrS7gesNPT30JZPHzrZCiUHB79eoWK6hSSlQX1b7z6/qkIFV06X+pgp2lqA4mauJYUm3sx6wmgeJaxDP/I6RpU1EiRFb3TzxkTGo3Wafp2PDg0q8sjj7A+xXREjf3WgsdwPXnCDByOLTV9u4Gd+7KwRZwK/9OChKNU5xXte4VQMf3TvNjBl07AQEtyBQ2swCO7YsiWx3EIv2oqy/zl1QEnVj8BVcfATwghu9vxY2oQ2J7ejxCEtIDRKJXFg8ziB7H1NaWknzlzDOC80UqfWKFCH8fC7KB3ysuAPpN4I0i1y8dRcZdiHK3aImhSs7GXDyr5BpG35RfZk1cBqIl1L8+mWZYKxXinKzKccYXl2JZFvkr+TWDjBoVIBDQBa1RjWPHGF3OT7KWiV6zsHchzVUe7re6WU7PhzRDTB/mw+kxsmcIuuMB2cTsbk29TgScQGd1IkQnzUPUtGYoQiv0i6JbAJFc0nMLl0tMds4xAPAefL2lqfTMIMbJufiohBBMvaEnchohkmDtrGGTuLvBWYSNtlSuSmC8GOlenCUG4bXMWM+ZHwnIA/GsmNsQR1wSlaXFNGnp/Qnw/q7I3Btyayp5Cf3PGLFMdho502/NcY5puROnctNAQKf4+5zUnfnhvqUK3DAWl9Ei5CtTUJ5Vopuh0HFTk0mEjgFutDHjQlXC3F3JWVpIUn22fZHlal2l/evB9sZVJxsMcEEoOrbMmHqmYd4JIdnLMhy9uPZCUoPc+LzrYFXXprNw0XPhFkI4ZtWM95Uz4NfuFWw3d+Ijd3szFMA3WvtZ9Hs1XbdI7sHrRGRIaGn9lNyygofOZhXHQC2ojbRyUOllJQYVUvRB18IxEIHitfD+Q6pUY7FM4TsYoSkoVIjJkQcIv4dsQLyG8StWSL4b4dJZEIi8tk9BQcY52/goO/FbvjB/Rz+cZd/r6J7akGskONwtUBlqe3i+PihvIUbfTA2AwRuaTgpvLwFkOxXRj4Uj0lTExB2to89IRkJ/eADa9eawoh0xswAUxHpmsiUoxRz3UF4gEzpVq4XmmOp2baE2+Uj4rtkzvH5dyODYO39FGudvwZwf6baOlFAKxyBfaVS+W4/udYnLKqoyT7fcuxOqx8cxxLZI6KuDs3nrOe/U9yxIgpvxZSZEejyWVvvRVTzKN3QzMorVXwoPyMlthJpFbAoRt+VPOwMUOAPo3Hhy/6iP03wmUUUBUf4SSSeYoOqXzvj60founyl3ugmpvdEMS2weyTUxq7gkR7xIfAnLzYsb1eLjy0oiRbHGu1QkwhKtqMwjuDfyOcUavzczbNizQHVVORfsiZTMuzLUufVkBug9LrmYkTkUgNs0dCkKQI3RsVP90Kix+gLYmbnIRAhlJbmgzbKULA9ipT3VU3aLXV5/o097pAvpKJGHsk8ibC3yCP2vf2mPLibBHIjGM1T0+sq682kjC1vsJWXl2JVMiDQbHW/zamNixPnU7uTriojCUYLTHt3M5D5d1IxIUIzWyTY6+9zFlO3BBZUCYOaqE0B4ncMfrV9rkuKLay69dPMQLuqF5MxD8oTA1HFDPUEvpFiUhNrxm2VSl7joxjf7TwYkLgDaDKzp5Cmbj4EdCvnRuZ8S+XtzremqnQkwfcbPxkS8GyQxVex9jxrBbz2dicI1hkfvi3hu8qqFJ87/Ozeg9RWjPpLd/Ax5tE6wCh6HO8FUMKO8gKMSFqaTM4i36AN8isOVm2jbKPfWm2Cx8Fwh4VdyKPJ/33FbPTn9dC9ox1/wcDHAta6wGqk224B3QJa6s+gKT1/qb+HObz1i9yRFEcneJkpkt6kTcws1kfoPeQUAwayy9p7Fj1l30TW9oIZwDdyA9746c/bR2dZt0zQtGXsynhjom87f9T2AfvK36EoWQA4hxiZvsKn6E+V4Q229t7FgP0j1oqF7iu+hlgl6IYkmzhf/LVdQJbGslS6Tpa/TpLsFXRnCX/rWBovU01jyvM0w7f7Yyc0S6NcCULtDH2Znqd3JKYAphuWOLWLQlDJg/CRSpK1x4V+hWNuTXETafVlk5ft9do6Et9krcFyHKzATI1SaapornUYv0rgL6hN9y+IZl1CyuL/uyWy9iqLmO5tjx9gitKlCT4Hcj6QWH6Wfg+zmAVraPVjvxi1QKyejDLPUAOCN3SCMK8pVhVNcUTbT492VIqKAkBogK5WM6zJi29PXg1tEHnTq9wjyzpXJma6CFfV5pw/WGCUgcb+S/JmzWhlnGZMWTNOBqz3Dng0zdqV6vw3QdnB0QtJ0+mGkIbwJ71QxYZ6AR5yUvQf2hnIB6N5lc1gYto3nlzci2Wh4ZAAwUQjxpk8KJxyTyIoNIZzLwmywe2+ah6TfLmkAQ1uE+nKiGZY7G211GNZmgHLub5iyvE6u1Zru+E00M4IY4MVRweryEvL4alijishkqwxiw5xpXBxUZR/zps+PS9hAX2MgzylAbIvlTD/nLyK5Mt16qAVLU7kMF5nAhdy8T8n/EglcBWUoAxzDQ+6MBzvdL0UutJcLDvUJH6IxJm7NDE7xawfxTNQnh8UHkgQO+CVZg0TS+HnxiKKck7ekpbQMXNH5ckMx8FuA/KFoOk5vzWug==" + regionCurrBin, err := base64.StdEncoding.DecodeString(regionCurrStr) + if err != nil { + panic(err) + } + regionCurr := new(proto.QueryCurrRegionHttpRsp) + err = pb.Unmarshal(regionCurrBin, regionCurr) + if err != nil { + panic(err) + } + fmt.Println(regionCurr) +} diff --git a/gate-hk4e/rpc/rpc.go b/gate-hk4e/rpc/rpc.go new file mode 100644 index 00000000..432e60bb --- /dev/null +++ b/gate-hk4e/rpc/rpc.go @@ -0,0 +1,13 @@ +package rpc + +import "gate-hk4e/forward" + +type RpcManager struct { + forwardManager *forward.ForwardManager +} + +func NewRpcManager(forwardManager *forward.ForwardManager) (r *RpcManager) { + r = new(RpcManager) + r.forwardManager = forwardManager + return r +} diff --git a/gate-hk4e/rpc/rpc_interface.go b/gate-hk4e/rpc/rpc_interface.go new file mode 100644 index 00000000..073de5ec --- /dev/null +++ b/gate-hk4e/rpc/rpc_interface.go @@ -0,0 +1,62 @@ +package rpc + +import ( + "flswld.com/gate-hk4e-api/gm" + "github.com/pkg/errors" +) + +// rpc interface + +// 改变网关开放状态 +func (r *RpcManager) ChangeGateOpenState(isOpen *bool, result *bool) error { + if isOpen == nil || result == nil { + return errors.New("param is nil") + } + *result = r.forwardManager.ChangeGateOpenState(*isOpen) + return nil +} + +// 剔除玩家下线 +func (r *RpcManager) KickPlayer(info *gm.KickPlayerInfo, result *bool) error { + if info == nil || result == nil { + return errors.New("param is nil") + } + *result = r.forwardManager.KickPlayer(info) + return nil +} + +// 获取网关在线玩家信息 +func (r *RpcManager) GetOnlineUser(uid *uint32, list *gm.OnlineUserList) error { + if uid == nil || list == nil { + return errors.New("param is nil") + } + list = r.forwardManager.GetOnlineUser(*uid) + return nil +} + +// 用户密码改变 +func (r *RpcManager) UserPasswordChange(uid *uint32, result *bool) error { + if uid == nil || result == nil { + return errors.New("param is nil") + } + *result = r.forwardManager.UserPasswordChange(*uid) + return nil +} + +// 封号 +func (r *RpcManager) ForbidUser(info *gm.ForbidUserInfo, result *bool) error { + if info == nil || result == nil { + return errors.New("param is nil") + } + *result = r.forwardManager.ForbidUser(info) + return nil +} + +// 解封 +func (r *RpcManager) UnForbidUser(uid *uint32, result *bool) error { + if uid == nil || result == nil { + return errors.New("param is nil") + } + *result = r.forwardManager.UnForbidUser(*uid) + return nil +} diff --git a/light/consumer.go b/light/consumer.go new file mode 100644 index 00000000..3ae96bae --- /dev/null +++ b/light/consumer.go @@ -0,0 +1,221 @@ +package light + +import ( + airClient "flswld.com/air-api/client" + "flswld.com/common/config" + "flswld.com/logger" + "net/rpc" + "sync" + "time" +) + +type Consumer struct { + serviceName string + serviceList *ServiceList + //httpInstanceName string + //keepalive bool +} + +type ServiceInstance struct { + // 服务地址 + serviceAddress string + // 服务连接 + serviceClient *rpc.Client +} + +type ServiceList struct { + // 服务实列列表 + serviceInstanceList []*ServiceInstance + // 服务负载均衡索引 + serviceLoadBalanceIndex int + lock sync.RWMutex +} + +func NewRpcConsumer(serviceName string) (r *Consumer) { + r = new(Consumer) + r.serviceName = serviceName + r.serviceList = new(ServiceList) + + // 服务注册 + //r.keepalive = true + //r.httpInstanceName = RegisterHttpService(conf, log, &r.keepalive) + + // 服务发现 + airClient.SetAirAddr(config.CONF.Air.Addr, config.CONF.Air.Port) + go r.fetchAirService() + go r.pollAirService() + + return r +} + +func (c *Consumer) CloseRpcConsumer() { + //c.keepalive = false + //CancelHttpService(c.conf, c.log, c.httpInstanceName) +} + +func (c *Consumer) CallFunction(svcName string, funcName string, req any, res any) bool { + serviceInstance := c.getServiceInstanceLoadBalance() + if serviceInstance == nil { + logger.LOG.Error("no rpc provider find, service: %v", c.serviceName) + return false + } + if serviceInstance.serviceClient == nil { + serviceClient, err := rpc.DialHTTP("tcp", serviceInstance.serviceAddress) + if err != nil { + logger.LOG.Error("rpc connect error: %v", err) + return false + } + serviceInstance.serviceClient = serviceClient + } + serviceMethod := svcName + "." + funcName + err := serviceInstance.serviceClient.Call(serviceMethod, req, res) + if err != nil { + logger.LOG.Error("rpc call error: %v", err) + return false + } + return true +} + +func (c *Consumer) syncServiceList(responseData *airClient.ResponseData) { + serviceAddressSlice := make([]string, 0) + for _, v := range responseData.Instance { + serviceAddressSlice = append(serviceAddressSlice, v.InstanceAddr) + } + + c.serviceList.lock.RLock() + oldList := c.serviceList.serviceInstanceList + c.serviceList.lock.RUnlock() + // 相同服务列表 + sameList := make([]*ServiceInstance, 0) + // 新增服务列表 + addList := make([]*ServiceInstance, 0) + // 删除服务列表 + delList := make([]*ServiceInstance, 0) + // 找出相同的服务 + for _, v := range serviceAddressSlice { + for _, vv := range oldList { + if v == vv.serviceAddress { + sameList = append(sameList, vv) + } + } + } + // 找出新增的服务 + for _, v := range serviceAddressSlice { + hasItem := false + for _, vv := range sameList { + if v == vv.serviceAddress { + hasItem = true + } + } + if !hasItem { + serviceInstance := new(ServiceInstance) + serviceInstance.serviceAddress = v + serviceInstance.serviceClient = nil + addList = append(addList, serviceInstance) + logger.LOG.Info("add service: %v, addr: %v", c.serviceName, serviceInstance.serviceAddress) + } + } + // 找出删除的服务 + for _, v := range oldList { + hasItem := false + for _, vv := range sameList { + if v.serviceAddress == vv.serviceAddress { + hasItem = true + } + } + if !hasItem { + delList = append(delList, v) + logger.LOG.Info("delete service: %v, addr: %v", c.serviceName, v.serviceAddress) + } + } + c.serviceList.lock.Lock() + c.serviceList.serviceInstanceList = make([]*ServiceInstance, len(sameList)+len(addList)) + copy(c.serviceList.serviceInstanceList, sameList) + copy(c.serviceList.serviceInstanceList[len(sameList):], addList) + c.serviceList.lock.Unlock() +} + +// 从注册中心获取服务实例 +func (c *Consumer) fetchAirService() { + ticker := time.NewTicker(time.Second * 600) + for { + var responseData *airClient.ResponseData + var err error + responseData, err = airClient.FetchRpcService(c.serviceName) + if err != nil { + logger.LOG.Error("fetch all rpc service error: %v", err) + return + } + if responseData.Code != 0 { + logger.LOG.Error("response code error") + return + } + if len(responseData.Instance) == 0 { + logger.LOG.Error("no %v service instance find", c.serviceName) + return + } + c.syncServiceList(responseData) + <-ticker.C + } +} + +// 从注册中心长轮询监听服务实例变化 +func (c *Consumer) pollAirService() { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + var responseData *airClient.ResponseData + var err error + responseData, err = airClient.PollRpcService(c.serviceName) + if err != nil { + logger.LOG.Error("poll all rpc service error: %v", err) + continue + } + if responseData.Code != 0 { + logger.LOG.Error("response code error") + continue + } + if len(responseData.Instance) == 0 { + logger.LOG.Error("no %v service instance find", c.serviceName) + } + c.syncServiceList(responseData) + } +} + +// 负载均衡的方式获取服务实例 +func (c *Consumer) getServiceInstanceLoadBalance() (r *ServiceInstance) { + c.serviceList.lock.RLock() + index := c.serviceList.serviceLoadBalanceIndex + length := len(c.serviceList.serviceInstanceList) + c.serviceList.lock.RUnlock() + + if length == 0 { + return nil + } + + // 下一个待轮询的服务已下线 + if index >= length { + logger.LOG.Error("serviceLoadBalanceIndex out of range, len is: %d, but value is: %d", length, index) + index = 0 + } + + c.serviceList.lock.RLock() + r = c.serviceList.serviceInstanceList[index] + c.serviceList.lock.RUnlock() + + c.serviceList.lock.Lock() + // 轮询 + if c.serviceList.serviceLoadBalanceIndex < length-1 { + c.serviceList.serviceLoadBalanceIndex += 1 + } else { + c.serviceList.serviceLoadBalanceIndex = 0 + } + c.serviceList.lock.Unlock() + + return r +} diff --git a/light/go.mod b/light/go.mod new file mode 100644 index 00000000..0bae5464 --- /dev/null +++ b/light/go.mod @@ -0,0 +1,17 @@ +module light + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../logger + +require flswld.com/air-api v0.0.0-incompatible + +require github.com/BurntSushi/toml v0.3.1 // indirect + +replace flswld.com/air-api => ../air-api diff --git a/light/go.sum b/light/go.sum new file mode 100644 index 00000000..9cb2df8e --- /dev/null +++ b/light/go.sum @@ -0,0 +1,2 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= diff --git a/light/provider.go b/light/provider.go new file mode 100644 index 00000000..6a9b9822 --- /dev/null +++ b/light/provider.go @@ -0,0 +1,63 @@ +package light + +import ( + airClient "flswld.com/air-api/client" + "flswld.com/common/config" + "net" + "net/http" + "net/rpc" + "strconv" +) + +type Provider struct { + httpInstanceName string + rpcInstanceName string + listen net.Listener + keepalive bool +} + +func NewRpcProvider(service any) (r *Provider) { + r = new(Provider) + + // 服务注册 + r.keepalive = true + r.rpcInstanceName = RegisterRpcService(&r.keepalive) + + // 开启本地RPC服务监听 + _ = rpc.Register(service) + rpc.HandleHTTP() + addr := ":" + strconv.FormatInt(int64(config.CONF.Light.Port), 10) + listen, err := net.Listen("tcp", addr) + if err != nil { + panic("Listen() fail") + } + r.listen = listen + go r.startRpcListen() + + return r +} + +func NewHttpProvider() (r *Provider) { + r = new(Provider) + + // 服务注册 + airClient.SetAirAddr(config.CONF.Air.Addr, config.CONF.Air.Port) + r.keepalive = true + r.httpInstanceName = RegisterHttpService(&r.keepalive) + + return r +} + +func (p *Provider) startRpcListen() { + _ = http.Serve(p.listen, nil) +} + +func (p *Provider) CloseRpcProvider() { + p.keepalive = false + CancelRpcService(p.rpcInstanceName) +} + +func (p *Provider) CloseHttpProvider() { + p.keepalive = false + CancelHttpService(p.httpInstanceName) +} diff --git a/light/register.go b/light/register.go new file mode 100644 index 00000000..287f886a --- /dev/null +++ b/light/register.go @@ -0,0 +1,172 @@ +package light + +import ( + airClient "flswld.com/air-api/client" + "flswld.com/common/config" + "flswld.com/logger" + "os" + "strconv" + "time" +) + +// 生成服务注册实例名 +func getInstanceName() (string, error) { + host, err := os.Hostname() + if err != nil { + return "", err + } + instName := host + "-" + strconv.FormatInt(time.Now().UnixNano(), 10) + return instName, nil +} + +// 注册HTTP服务 +func RegisterHttpService(keepalive *bool) string { + inst := new(airClient.Instance) + inst.ServiceName = config.CONF.Air.ServiceName + instName, err := getInstanceName() + if err != nil { + logger.LOG.Error("get instance name error: %v", err) + panic(err) + } + inst.InstanceName = instName + ipAddr := os.Getenv("IP_ADDR") + if len(ipAddr) == 0 { + panic("ip addr env is nil") + } + addr := "http://" + ipAddr + ":" + strconv.Itoa(config.CONF.HttpPort) + inst.InstanceAddr = addr + + var response *airClient.ResponseData + response, err = airClient.RegisterHttpService(*inst) + if err != nil { + panic(err) + } + + if response.Code != 0 { + panic("response code error") + } + go httpServiceKeepalive(*inst, keepalive) + logger.LOG.Info("register http service success, instance: %v", *inst) + return instName +} + +// HTTP服务心跳保持 +func httpServiceKeepalive(inst airClient.Instance, keepalive *bool) { + ticker := time.NewTicker(time.Second * 15) + for { + <-ticker.C + + if !*keepalive { + return + } + + var response *airClient.ResponseData + var err error + response, err = airClient.KeepaliveHttpService(inst) + if err != nil { + logger.LOG.Error("http keepalive error: %v", err) + continue + } + + if response.Code != 0 { + logger.LOG.Error("response code error") + continue + } + } +} + +// 取消注册HTTP服务 +func CancelHttpService(instanceName string) { + inst := new(airClient.Instance) + inst.ServiceName = config.CONF.Air.ServiceName + inst.InstanceName = instanceName + + var response *airClient.ResponseData + var err error + response, err = airClient.CancelHttpService(*inst) + if err != nil { + logger.LOG.Error("cancel http service error: %v", err) + return + } + + if response.Code != 0 { + logger.LOG.Error("response code error") + return + } +} + +// 注册RPC服务 +func RegisterRpcService(keepalive *bool) string { + inst := new(airClient.Instance) + inst.ServiceName = config.CONF.Air.ServiceName + instName, err := getInstanceName() + if err != nil { + logger.LOG.Error("get instance name error: %v", err) + panic(err) + } + inst.InstanceName = instName + ipAddr := os.Getenv("IP_ADDR") + if len(ipAddr) == 0 { + panic("ip addr env is nil") + } + addr := ipAddr + ":" + strconv.Itoa(config.CONF.Light.Port) + inst.InstanceAddr = addr + + var response *airClient.ResponseData + response, err = airClient.RegisterRpcService(*inst) + if err != nil { + panic(err) + } + + if response.Code != 0 { + panic("response code error") + } + go rpcServiceKeepalive(*inst, keepalive) + logger.LOG.Info("register rpc service success, instance: %v", *inst) + return instName +} + +// RPC服务心跳保持 +func rpcServiceKeepalive(inst airClient.Instance, keepalive *bool) { + ticker := time.NewTicker(time.Second * 15) + for { + <-ticker.C + + if !*keepalive { + return + } + + var response *airClient.ResponseData + var err error + response, err = airClient.KeepaliveRpcService(inst) + if err != nil { + logger.LOG.Error("rpc keepalive error: %v", err) + continue + } + + if response.Code != 0 { + logger.LOG.Error("response code error") + continue + } + } +} + +// 取消注册RPC服务 +func CancelRpcService(instanceName string) { + inst := new(airClient.Instance) + inst.ServiceName = config.CONF.Air.ServiceName + inst.InstanceName = instanceName + + var response *airClient.ResponseData + var err error + response, err = airClient.CancelRpcService(*inst) + if err != nil { + logger.LOG.Error("cancel rpc service error: %v", err) + return + } + + if response.Code != 0 { + logger.LOG.Error("response code error") + return + } +} diff --git a/logger/go.mod b/logger/go.mod new file mode 100644 index 00000000..6b5751f8 --- /dev/null +++ b/logger/go.mod @@ -0,0 +1,9 @@ +module logger + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +require github.com/BurntSushi/toml v0.3.1 // indirect + +replace flswld.com/common => ../common diff --git a/logger/go.sum b/logger/go.sum new file mode 100644 index 00000000..9cb2df8e --- /dev/null +++ b/logger/go.sum @@ -0,0 +1,2 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= diff --git a/logger/logger.go b/logger/logger.go new file mode 100644 index 00000000..8ba396e3 --- /dev/null +++ b/logger/logger.go @@ -0,0 +1,226 @@ +package logger + +import ( + "bytes" + "flswld.com/common/config" + "fmt" + "os" + "path" + "runtime" + "strconv" + "time" +) + +const ( + DEBUG int = 1 + INFO int = 2 + ERROR int = 3 + UNKNOWN int = 4 +) + +const ( + CONSOLE int = 1 + FILE int = 2 + BOTH int = 3 + NEITHER int = 4 +) + +var LOG *Logger = nil + +type Logger struct { + level int + method int + trackLine bool + file *os.File + chanLogBaseInfo chan logBaseInfo +} + +type logBaseInfo struct { + logLevel int + msg string + anySlice []any + fileInfo string + funcInfo string + lineInfo int + goroutineId string +} + +func InitLogger() { + LOG = new(Logger) + LOG.level = getLevelInt(config.CONF.Logger.Level) + LOG.method = getMethodInt(config.CONF.Logger.Method) + LOG.trackLine = config.CONF.Logger.TrackLine + LOG.chanLogBaseInfo = make(chan logBaseInfo) + if LOG.method == FILE || LOG.method == BOTH { + file, err := os.OpenFile("./log.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0644) + if err != nil { + panic(fmt.Errorf("open file failed ! err: %v", err)) + } + LOG.file = file + } + go LOG.doLog() +} + +func (l *Logger) doLog() { + for { + baseInfo := <-l.chanLogBaseInfo + + timeNow := time.Now() + timeNowStr := timeNow.Format("2006-01-02 15:04:05.000") + + var logInfoStr = "[" + timeNowStr + "]" + " " + + "[" + l.getLevelStr(baseInfo.logLevel) + "]" + " " + if l.trackLine { + logInfoStr += "[" + + "line:" + baseInfo.fileInfo + ":" + strconv.FormatInt(int64(baseInfo.lineInfo), 10) + + " func:" + baseInfo.funcInfo + + " goroutine:" + baseInfo.goroutineId + + "]" + " " + } + + logStr := fmt.Sprint(logInfoStr) + logStr += fmt.Sprintf(baseInfo.msg, baseInfo.anySlice...) + logStr += fmt.Sprintln() + + red := string([]byte{27, 91, 51, 49, 109}) + reset := string([]byte{27, 91, 48, 109}) + if l.method == CONSOLE { + if baseInfo.logLevel == ERROR { + fmt.Print(red, logStr, reset) + } else { + fmt.Print(logStr) + } + } else if l.method == FILE { + _, _ = l.file.WriteString(logStr) + } else if l.method == BOTH { + if baseInfo.logLevel == ERROR { + fmt.Print(red, logStr, reset) + } else { + fmt.Print(logStr) + } + _, _ = l.file.WriteString(logStr) + } + } +} + +func (l *Logger) Debug(msg string, a ...any) { + if l.level > DEBUG { + return + } + baseInfo := new(logBaseInfo) + baseInfo.logLevel = DEBUG + baseInfo.msg = msg + baseInfo.anySlice = a + + if l.trackLine { + fileInfo, funcInfo, lineInfo := l.getLineInfo() + baseInfo.fileInfo = fileInfo + baseInfo.funcInfo = funcInfo + baseInfo.lineInfo = lineInfo + baseInfo.goroutineId = l.getGoroutineId() + } + + l.chanLogBaseInfo <- *baseInfo + return +} + +func (l *Logger) Info(msg string, a ...any) { + if l.level > INFO { + return + } + baseInfo := new(logBaseInfo) + baseInfo.logLevel = INFO + baseInfo.msg = msg + baseInfo.anySlice = a + + if l.trackLine { + fileInfo, funcInfo, lineInfo := l.getLineInfo() + baseInfo.fileInfo = fileInfo + baseInfo.funcInfo = funcInfo + baseInfo.lineInfo = lineInfo + baseInfo.goroutineId = l.getGoroutineId() + } + + l.chanLogBaseInfo <- *baseInfo + return +} + +func (l *Logger) Error(msg string, a ...any) { + if l.level > ERROR { + return + } + baseInfo := new(logBaseInfo) + baseInfo.logLevel = ERROR + baseInfo.msg = msg + baseInfo.anySlice = a + + if l.trackLine { + fileInfo, funcInfo, lineInfo := l.getLineInfo() + baseInfo.fileInfo = fileInfo + baseInfo.funcInfo = funcInfo + baseInfo.lineInfo = lineInfo + baseInfo.goroutineId = l.getGoroutineId() + } + + l.chanLogBaseInfo <- *baseInfo + return +} + +func getLevelInt(level string) (ret int) { + switch level { + case "DEBUG": + ret = DEBUG + case "INFO": + ret = INFO + case "ERROR": + ret = ERROR + default: + ret = UNKNOWN + } + return ret +} + +func (l *Logger) getLevelStr(level int) (ret string) { + switch level { + case DEBUG: + ret = "DEBUG" + case INFO: + ret = "INFO" + case ERROR: + ret = "ERROR" + } + return ret +} + +func getMethodInt(method string) (ret int) { + switch method { + case "CONSOLE": + ret = CONSOLE + case "FILE": + ret = FILE + case "BOTH": + ret = BOTH + default: + ret = NEITHER + } + return ret +} + +func (l *Logger) getGoroutineId() (goroutineId string) { + staticInfo := make([]byte, 32) + runtime.Stack(staticInfo, false) + staticInfo = bytes.TrimPrefix(staticInfo, []byte("goroutine ")) + staticInfo = staticInfo[:bytes.IndexByte(staticInfo, ' ')] + goroutineId = string(staticInfo) + return goroutineId +} + +func (l *Logger) getLineInfo() (fileName string, funcName string, lineNo int) { + pc, file, line, ok := runtime.Caller(2) + if ok { + fileName = path.Base(file) + funcName = path.Base(runtime.FuncForPC(pc).Name()) + lineNo = line + } + return +} diff --git a/service/annie-user-api/entity/test_entity.go b/service/annie-user-api/entity/test_entity.go new file mode 100644 index 00000000..4ab154c2 --- /dev/null +++ b/service/annie-user-api/entity/test_entity.go @@ -0,0 +1,7 @@ +package entity + +type TestEntity struct { + ID uint64 + Name string + Age int64 +} diff --git a/service/annie-user-api/entity/user_entity.go b/service/annie-user-api/entity/user_entity.go new file mode 100644 index 00000000..05be2cc1 --- /dev/null +++ b/service/annie-user-api/entity/user_entity.go @@ -0,0 +1,8 @@ +package entity + +type User struct { + Uid uint64 + Username string + Password string + IsAdmin bool +} diff --git a/service/annie-user-api/go.mod b/service/annie-user-api/go.mod new file mode 100644 index 00000000..1c91f882 --- /dev/null +++ b/service/annie-user-api/go.mod @@ -0,0 +1,3 @@ +module annie-user-api + +go 1.19 diff --git a/service/annie-user/cmd/application.toml b/service/annie-user/cmd/application.toml new file mode 100644 index 00000000..1dae4eff --- /dev/null +++ b/service/annie-user/cmd/application.toml @@ -0,0 +1,17 @@ +http_port = 9002 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "annie-user-app" + +[database] +url = "root:flswld@(mysql:3306)/annie_user?charset=utf8&parseTime=True&loc=Local" + +[light] +port = 10003 diff --git a/service/annie-user/cmd/main.go b/service/annie-user/cmd/main.go new file mode 100644 index 00000000..7561de4a --- /dev/null +++ b/service/annie-user/cmd/main.go @@ -0,0 +1,58 @@ +package main + +import ( + "annie-user/controller" + "annie-user/dao" + "annie-user/service" + "flswld.com/common/config" + "flswld.com/light" + "flswld.com/logger" + "os" + "os/signal" + "syscall" + "time" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("user start") + + httpProvider := light.NewHttpProvider() + + db := dao.NewDao() + + svc := service.NewService(db) + rpcSvc := service.NewRpcService(db, svc) + + rpcProvider := light.NewRpcProvider(rpcSvc) + + // 认证服务 + rpcWaterAuthConsumer := light.NewRpcConsumer("water-auth") + + rpcHk4eGatewayConsumer := light.NewRpcConsumer("hk4e-gateway") + + _ = controller.NewController(svc, rpcWaterAuthConsumer, rpcHk4eGatewayConsumer) + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + rpcProvider.CloseRpcProvider() + db.CloseDao() + rpcWaterAuthConsumer.CloseRpcConsumer() + httpProvider.CloseHttpProvider() + logger.LOG.Info("user exit") + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/service/annie-user/controller/admin_controller.go b/service/annie-user/controller/admin_controller.go new file mode 100644 index 00000000..80fe202e --- /dev/null +++ b/service/annie-user/controller/admin_controller.go @@ -0,0 +1,34 @@ +package controller + +import ( + apiEntity "annie-user/entity/api" + "flswld.com/common/entity/dto" + waterAuth "flswld.com/water-api/auth" + "github.com/gin-gonic/gin" + "net/http" +) + +func (c *Controller) queryUserByUsername(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + username := context.Query("username") + userQuery := c.service.QueryUserByUsername(username) + if userQuery == nil { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "未查询到用户", nil)) + return + } + userRet := new(apiEntity.User) + userRet.Uid = userQuery.Uid + userRet.Username = userQuery.Username + userRet.Password = userQuery.Password + userRet.IsAdmin = userQuery.IsAdmin + context.JSON(http.StatusOK, dto.NewResponseResult(0, "查询用户成功", userRet)) +} diff --git a/service/annie-user/controller/controller.go b/service/annie-user/controller/controller.go new file mode 100644 index 00000000..0d64ea7d --- /dev/null +++ b/service/annie-user/controller/controller.go @@ -0,0 +1,78 @@ +package controller + +import ( + "annie-user/service" + "flswld.com/common/config" + "flswld.com/light" + waterAuth "flswld.com/water-api/auth" + "github.com/gin-gonic/gin" + "net/http" + "strconv" + "strings" +) + +type Controller struct { + service *service.Service + rpcWaterAuthConsumer *light.Consumer + rpcHk4eGatewayConsumer *light.Consumer +} + +func NewController(service *service.Service, rpcWaterAuthConsumer *light.Consumer, rpcHk4eGatewayConsumer *light.Consumer) (r *Controller) { + r = new(Controller) + r.service = service + r.rpcWaterAuthConsumer = rpcWaterAuthConsumer + r.rpcHk4eGatewayConsumer = rpcHk4eGatewayConsumer + go r.registerRouter() + return r +} + +func (c *Controller) getAccessToken(context *gin.Context) string { + accessToken := context.GetHeader("Authorization") + divIndex := strings.Index(accessToken, " ") + if divIndex > 0 { + payload := accessToken[divIndex+1:] + return payload + } else { + return "" + } +} + +// access_token鉴权 +func (c *Controller) authorize() gin.HandlerFunc { + return func(context *gin.Context) { + valid, err := waterAuth.WaterVerifyAccessToken(c.rpcWaterAuthConsumer, c.getAccessToken(context)) + if err == nil && valid == true { + // 验证通过 + context.Next() + return + } + // 验证不通过 + context.Abort() + context.JSON(http.StatusOK, gin.H{ + "code": "10001", + "msg": "没有访问权限", + }) + } +} + +func (c *Controller) registerRouter() { + if config.CONF.Logger.Level == "DEBUG" { + gin.SetMode(gin.DebugMode) + } else { + gin.SetMode(gin.ReleaseMode) + } + engine := gin.Default() + // 未认证接口 + engine.POST("/user/reg", c.userRegister) + engine.Use(c.authorize()) + // 认证接口 + engine.POST("/user/update/pwd", c.userUpdatePassword) + // 管理员 + admin := engine.Group("/user/admin") + { + admin.GET("/query/user", c.queryUserByUsername) + } + port := strconv.FormatInt(int64(config.CONF.HttpPort), 10) + portStr := ":" + port + _ = engine.Run(portStr) +} diff --git a/service/annie-user/controller/user_controller.go b/service/annie-user/controller/user_controller.go new file mode 100644 index 00000000..704a257f --- /dev/null +++ b/service/annie-user/controller/user_controller.go @@ -0,0 +1,93 @@ +package controller + +import ( + apiEntity "annie-user/entity/api" + dbEntity "annie-user/entity/db" + "flswld.com/common/entity/dto" + "flswld.com/common/utils/endec" + "flswld.com/logger" + waterAuth "flswld.com/water-api/auth" + "github.com/gin-gonic/gin" + "net/http" + "regexp" +) + +func (c *Controller) userRegister(context *gin.Context) { + userRegInfo := new(apiEntity.User) + err := context.BindJSON(&userRegInfo) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10003, + "msg": "参数错误", + }) + return + } + username := userRegInfo.Username + password := userRegInfo.Password + if len(username) < 6 || len(username) > 20 { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "用户名为6-20位字符", nil)) + return + } + if len(password) < 8 || len(password) > 20 { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "密码为8-20位字符", nil)) + return + } + ok, err := regexp.MatchString("^[a-zA-Z0-9]{6,20}$", username) + if err != nil || !ok { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "用户名只能包含大小写字母和数字", nil)) + return + } + user := c.service.QueryUserByUsername(username) + if user != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "用户名已注册", nil)) + return + } + user = new(dbEntity.User) + user.Username = username + user.Password = password + ok = c.service.RegisterUser(user) + if !ok { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "用户注册失败", nil)) + return + } + logger.LOG.Info("user register success, username: %v", username) + context.JSON(http.StatusOK, dto.NewResponseResult(0, "用户注册成功", nil)) +} + +func (c *Controller) userUpdatePassword(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + json := make(map[string]string) + err = context.BindJSON(&json) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10003, + "msg": "参数错误", + }) + return + } + oldPassword := json["oldPassword"] + newPassword := json["newPassword"] + if len(oldPassword) < 8 || len(oldPassword) > 20 || len(newPassword) < 8 || len(newPassword) > 20 { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "密码为8-20位字符", nil)) + return + } + dbUser := c.service.QueryUserByUsername(user.Username) + if dbUser.Password != endec.Md5Str(oldPassword) { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "旧密码错误", nil)) + return + } + dbUser.Password = endec.Md5Str(newPassword) + ok := c.service.UpdateUser(dbUser) + if !ok { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "修改密码失败", nil)) + return + } + context.JSON(http.StatusOK, dto.NewResponseResult(0, "修改密码成功", nil)) + // TODO 处理各种失效 + _ = c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "UserPasswordChange", &dbUser.Uid, &ok) +} diff --git a/service/annie-user/dao/dao.go b/service/annie-user/dao/dao.go new file mode 100644 index 00000000..a19491f0 --- /dev/null +++ b/service/annie-user/dao/dao.go @@ -0,0 +1,30 @@ +package dao + +import ( + "flswld.com/common/config" + "flswld.com/logger" + "github.com/jinzhu/gorm" + _ "github.com/jinzhu/gorm/dialects/mysql" +) + +type Dao struct { + db *gorm.DB +} + +func NewDao() (r *Dao) { + r = new(Dao) + db, err := gorm.Open("mysql", config.CONF.Database.Url) + if err != nil { + logger.LOG.Error("db open error: %v", err) + panic(err) + } + if config.CONF.Logger.Level == "DEBUG" { + db.LogMode(true) + } + r.db = db + return r +} + +func (d *Dao) CloseDao() { + _ = d.db.Close() +} diff --git a/service/annie-user/dao/user_dao.go b/service/annie-user/dao/user_dao.go new file mode 100644 index 00000000..f98ee2bb --- /dev/null +++ b/service/annie-user/dao/user_dao.go @@ -0,0 +1,37 @@ +package dao + +import ( + dbEntity "annie-user/entity/db" +) + +func (d *Dao) InsertUser(user *dbEntity.User) error { + db := d.db + err := db.Create(user).Error + return err +} + +func (d *Dao) UpdateUser(user *dbEntity.User) error { + db := d.db + db = db.Model(&user) + err := db.Updates(user).Error + return err +} + +func (d *Dao) QueryUser(user *dbEntity.User) ([]dbEntity.User, error) { + var userList []dbEntity.User + db := d.db + if user.Uid != 0 { + db = db.Where("`uid` = ?", user.Uid) + } + if user.Username != "" { + db = db.Where("`username` = ?", user.Username) + } + if user.Password != "" { + db = db.Where("`password` = ?", user.Password) + } + if user.IsAdmin != false { + db = db.Where("`is_admin` = ?", user.IsAdmin) + } + err := db.Find(&userList).Error + return userList, err +} diff --git a/service/annie-user/entity/api/user_entity.go b/service/annie-user/entity/api/user_entity.go new file mode 100644 index 00000000..f78f5f8c --- /dev/null +++ b/service/annie-user/entity/api/user_entity.go @@ -0,0 +1,8 @@ +package api + +type User struct { + Uid uint64 `json:"uid"` + Username string `json:"username"` + Password string `json:"password"` + IsAdmin bool `json:"isAdmin"` +} diff --git a/service/annie-user/entity/db/user_entity.go b/service/annie-user/entity/db/user_entity.go new file mode 100644 index 00000000..e3fae1d5 --- /dev/null +++ b/service/annie-user/entity/db/user_entity.go @@ -0,0 +1,12 @@ +package db + +type User struct { + Uid uint64 `gorm:"column:uid;primary_key;auto_increment"` + Username string `gorm:"column:username"` + Password string `gorm:"column:password"` + IsAdmin bool `gorm:"column:is_admin"` +} + +func (User) TableName() string { + return "user" +} diff --git a/service/annie-user/go.mod b/service/annie-user/go.mod new file mode 100644 index 00000000..c14da4ea --- /dev/null +++ b/service/annie-user/go.mod @@ -0,0 +1,51 @@ +module annie-user + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../../light + +require flswld.com/annie-user-api v0.0.0-incompatible + +replace flswld.com/annie-user-api => ../annie-user-api + +require flswld.com/water-api v0.0.0-incompatible + +replace flswld.com/water-api => ../../water-api + +require ( + github.com/gin-gonic/gin v1.6.3 + github.com/jinzhu/gorm v1.9.16 +) + +require ( + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.2.0 // indirect + github.com/go-sql-driver/mysql v1.5.0 // indirect + github.com/golang/protobuf v1.3.3 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd // indirect + gopkg.in/yaml.v2 v2.2.8 // indirect +) diff --git a/service/annie-user/go.sum b/service/annie-user/go.sum new file mode 100644 index 00000000..0b892172 --- /dev/null +++ b/service/annie-user/go.sum @@ -0,0 +1,80 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= +github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd h1:83Wprp6ROGeiHFAP8WJdI2RoxALQYgdllERc3N5N2DM= +github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DPaBjB8zlTR87/ElzFsnQfuHnVUVqpZZIcV5Y= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/jinzhu/gorm v1.9.16 h1:+IyIjPEABKRpsu/F8OvDPy9fyQlgsg2luMV2ZIH5i5o= +github.com/jinzhu/gorm v1.9.16/go.mod h1:G3LB3wezTOWM2ITLzPxEXgSkOXAntiLHS7UdBefADcs= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.0.1 h1:HjfetcXq097iXP0uoPCdnM4Efp5/9MsM0/M+XOTeR3M= +github.com/jinzhu/now v1.0.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/lib/pq v1.1.1 h1:sJZmqHoEaY7f+NPP8pgLB/WxulyR3fewgCM2qaSlBb4= +github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-sqlite3 v1.14.0 h1:mLyGNKR8+Vv9CAU7PphKa2hkEqxxhn8i32J6FPj1/QA= +github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd h1:GGJVjV8waZKRHrgwvtH66z9ZGVurTD1MT0n1Bb+q4aM= +golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/annie-user/service/rpc_service.go b/service/annie-user/service/rpc_service.go new file mode 100644 index 00000000..1de44d51 --- /dev/null +++ b/service/annie-user/service/rpc_service.go @@ -0,0 +1,17 @@ +package service + +import ( + "annie-user/dao" +) + +type RpcService struct { + dao *dao.Dao + service *Service +} + +func NewRpcService(dao *dao.Dao, service *Service) (r *RpcService) { + r = new(RpcService) + r.service = service + r.dao = dao + return r +} diff --git a/service/annie-user/service/rpc_user_service.go b/service/annie-user/service/rpc_user_service.go new file mode 100644 index 00000000..a901dfb4 --- /dev/null +++ b/service/annie-user/service/rpc_user_service.go @@ -0,0 +1,28 @@ +package service + +import ( + dbEntity "annie-user/entity/db" + "errors" + rpcEntity "flswld.com/annie-user-api/entity" + "flswld.com/common/utils/object" + "flswld.com/logger" +) + +func (s *RpcService) RpcQueryUser(user *rpcEntity.User, res *[]rpcEntity.User) error { + dbUser := new(dbEntity.User) + dbUser.Uid = user.Uid + dbUser.Username = user.Username + dbUser.Password = user.Password + dbUser.IsAdmin = user.IsAdmin + userList, err := s.dao.QueryUser(dbUser) + if err != nil { + logger.LOG.Error("QueryUser error: %v", err) + return errors.New("query user error") + } + err = object.ObjectDeepCopy(userList, res) + if err != nil { + logger.LOG.Error("ObjectDeepCopy error: %v", err) + return errors.New("query user error") + } + return nil +} diff --git a/service/annie-user/service/service.go b/service/annie-user/service/service.go new file mode 100644 index 00000000..8e1b7d12 --- /dev/null +++ b/service/annie-user/service/service.go @@ -0,0 +1,15 @@ +package service + +import ( + "annie-user/dao" +) + +type Service struct { + dao *dao.Dao +} + +func NewService(dao *dao.Dao) (r *Service) { + r = new(Service) + r.dao = dao + return r +} diff --git a/service/annie-user/service/user_service.go b/service/annie-user/service/user_service.go new file mode 100644 index 00000000..d7d9e7e9 --- /dev/null +++ b/service/annie-user/service/user_service.go @@ -0,0 +1,43 @@ +package service + +import ( + dbEntity "annie-user/entity/db" + "flswld.com/common/utils/endec" + "flswld.com/logger" +) + +func (s *Service) RegisterUser(user *dbEntity.User) bool { + user.Password = endec.Md5Str(user.Password) + user.IsAdmin = false + err := s.dao.InsertUser(user) + if err != nil { + logger.LOG.Error("insert user to db error: %v", err) + return false + } + return true +} + +func (s *Service) UpdateUser(user *dbEntity.User) bool { + err := s.dao.UpdateUser(user) + if err != nil { + logger.LOG.Error("update user from db error: %v", err) + return false + } + return true +} + +func (s *Service) QueryUserByUsername(username string) *dbEntity.User { + userList, err := s.dao.QueryUser(&dbEntity.User{Username: username}) + if err != nil { + logger.LOG.Error("query user from db error: %v", err) + return nil + } + if len(userList) == 0 { + return nil + } else if len(userList) == 1 { + return &(userList[0]) + } else { + logger.LOG.Error("find not only one user") + return nil + } +} diff --git a/service/game-hk4e/cmd/application.toml b/service/game-hk4e/cmd/application.toml new file mode 100644 index 00000000..1794f3d2 --- /dev/null +++ b/service/game-hk4e/cmd/application.toml @@ -0,0 +1,22 @@ +[hk4e] +resource_path = "/usr/local/game_hk4e/resources/GameDataConfigTable" +gacha_history_server = "https://hk4e.flswld.com/api/v1" + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "game-hk4e-app" + +[light] +port = 10006 + +[database] +url = "mongodb://mongo:27017" + +[mq] +nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222" diff --git a/service/game-hk4e/cmd/main.go b/service/game-hk4e/cmd/main.go new file mode 100644 index 00000000..c639fa30 --- /dev/null +++ b/service/game-hk4e/cmd/main.go @@ -0,0 +1,81 @@ +package main + +import ( + "flswld.com/common/config" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/light" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/dao" + "game-hk4e/game" + "game-hk4e/mq" + "game-hk4e/rpc" + "github.com/arl/statsviz" + "net/http" + _ "net/http/pprof" + "os" + "os/signal" + "syscall" + "time" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("game-hk4e start") + + go func() { + // 性能检测 + err := statsviz.RegisterDefault() + if err != nil { + logger.LOG.Error("statsviz init error: %v", err) + } + err = http.ListenAndServe("0.0.0.0:3456", nil) + if err != nil { + logger.LOG.Error("perf debug http start error: %v", err) + } + }() + + constant.InitConstant() + + gdc.InitGameDataConfig() + + db := dao.NewDao() + + netMsgInput := make(chan *proto.NetMsg, 10000) + netMsgOutput := make(chan *proto.NetMsg, 10000) + + hk4eGatewayConsumer := light.NewRpcConsumer("hk4e-gateway") + rpcManager := rpc.NewRpcManager(hk4eGatewayConsumer) + gameServiceProvider := light.NewRpcProvider(rpcManager) + + messageQueue := mq.NewMessageQueue(netMsgInput, netMsgOutput) + messageQueue.Start() + + gameManager := game.NewGameManager(db, rpcManager, netMsgInput, netMsgOutput) + gameManager.Start() + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + logger.LOG.Info("game-hk4e exit") + gameManager.Stop() + db.CloseDao() + gameServiceProvider.CloseRpcProvider() + hk4eGatewayConsumer.CloseRpcConsumer() + messageQueue.Close() + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/service/game-hk4e/config/ability_embryos.go b/service/game-hk4e/config/ability_embryos.go new file mode 100644 index 00000000..1001acbc --- /dev/null +++ b/service/game-hk4e/config/ability_embryos.go @@ -0,0 +1,73 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" + "strings" +) + +type AvatarConfigAbility struct { + AbilityName string `json:"abilityName"` +} + +type AvatarConfig struct { + Abilities []*AvatarConfigAbility `json:"abilities"` + TargetAbilities []*AvatarConfigAbility `json:"targetAbilities"` +} + +type AbilityEmbryoEntry struct { + Name string + Abilities []string +} + +func (g *GameDataConfig) loadAbilityEmbryos() { + dirPath := g.binPrefix + "Avatar" + fileList, err := ioutil.ReadDir(dirPath) + if err != nil { + logger.LOG.Error("open dir error: %v", err) + return + } + embryoList := make([]*AbilityEmbryoEntry, 0) + for _, file := range fileList { + fileName := file.Name() + if !strings.Contains(fileName, "ConfigAvatar_") { + continue + } + startIndex := strings.Index(fileName, "ConfigAvatar_") + endIndex := strings.Index(fileName, ".json") + if startIndex == -1 || endIndex == -1 || startIndex+13 > endIndex { + logger.LOG.Error("file name format error: %v", fileName) + continue + } + avatarName := fileName[startIndex+13 : endIndex] + fileData, err := ioutil.ReadFile(dirPath + "/" + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + avatarConfig := new(AvatarConfig) + err = json.Unmarshal(fileData, avatarConfig) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + if len(avatarConfig.Abilities) == 0 { + continue + } + abilityEmbryoEntry := new(AbilityEmbryoEntry) + abilityEmbryoEntry.Name = avatarName + for _, v := range avatarConfig.Abilities { + abilityEmbryoEntry.Abilities = append(abilityEmbryoEntry.Abilities, v.AbilityName) + } + embryoList = append(embryoList, abilityEmbryoEntry) + } + if len(embryoList) == 0 { + logger.LOG.Error("no embryo load") + } + g.AbilityEmbryos = make(map[string]*AbilityEmbryoEntry) + for _, v := range embryoList { + g.AbilityEmbryos[v.Name] = v + } + logger.LOG.Info("load %v AbilityEmbryos", len(g.AbilityEmbryos)) +} diff --git a/service/game-hk4e/config/avatar_data.go b/service/game-hk4e/config/avatar_data.go new file mode 100644 index 00000000..f252b5ee --- /dev/null +++ b/service/game-hk4e/config/avatar_data.go @@ -0,0 +1,102 @@ +package config + +import ( + "encoding/json" + "flswld.com/common/utils/endec" + "flswld.com/logger" + "io/ioutil" + "strings" +) + +type AvatarData struct { + IconName string `json:"iconName"` + BodyType string `json:"bodyType"` + QualityType string `json:"qualityType"` + ChargeEfficiency int32 `json:"chargeEfficiency"` + InitialWeapon int32 `json:"initialWeapon"` + WeaponType string `json:"weaponType"` + ImageName string `json:"imageName"` + AvatarPromoteId int32 `json:"avatarPromoteId"` + CutsceneShow string `json:"cutsceneShow"` + SkillDepotId int32 `json:"skillDepotId"` + StaminaRecoverSpeed int32 `json:"staminaRecoverSpeed"` + CandSkillDepotIds []int32 `json:"candSkillDepotIds"` + AvatarIdentityType string `json:"avatarIdentityType"` + AvatarPromoteRewardLevelList []int32 `json:"avatarPromoteRewardLevelList"` + AvatarPromoteRewardIdList []int32 `json:"avatarPromoteRewardIdList"` + + NameTextMapHash int64 `json:"nameTextMapHash"` + + HpBase float64 `json:"hpBase"` + AttackBase float64 `json:"attackBase"` + DefenseBase float64 `json:"defenseBase"` + Critical float64 `json:"critical"` + CriticalHurt float64 `json:"criticalHurt"` + + PropGrowCurves []*PropGrowCurve `json:"propGrowCurves"` + Id int32 `json:"id"` + + // 计算数据 + Name string `json:"-"` + Abilities []int32 `json:"-"` +} + +func (g *GameDataConfig) loadAvatarData() { + g.AvatarDataMap = make(map[int32]*AvatarData) + fileNameList := []string{"AvatarExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + avatarData := new(AvatarData) + err = json.Unmarshal(i, avatarData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.AvatarDataMap[avatarData.Id] = avatarData + } + } + logger.LOG.Info("load %v AvatarData", len(g.AvatarDataMap)) + for _, v := range g.AvatarDataMap { + split := strings.Split(v.IconName, "_") + if len(split) > 0 { + v.Name = split[len(split)-1] + info := g.AbilityEmbryos[v.Name] + if info != nil { + v.Abilities = make([]int32, 0) + for _, ability := range info.Abilities { + v.Abilities = append(v.Abilities, endec.Hk4eAbilityHashCode(ability)) + } + } + } + } +} + +// TODO 成长属性要读表 + +func (a *AvatarData) GetBaseHpByLevel(level uint8) float64 { + return a.HpBase * float64(level) +} + +func (a *AvatarData) GetBaseAttackByLevel(level uint8) float64 { + return a.AttackBase * float64(level) +} + +func (a *AvatarData) GetBaseDefenseByLevel(level uint8) float64 { + return a.DefenseBase * float64(level) +} diff --git a/service/game-hk4e/config/avatar_skill_data.go b/service/game-hk4e/config/avatar_skill_data.go new file mode 100644 index 00000000..ed344317 --- /dev/null +++ b/service/game-hk4e/config/avatar_skill_data.go @@ -0,0 +1,65 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "game-hk4e/constant" + "io/ioutil" +) + +type AvatarSkillData struct { + Id int32 `json:"id"` + CdTime float64 `json:"cdTime"` + CostElemVal int32 `json:"costElemVal"` + MaxChargeNum int32 `json:"maxChargeNum"` + TriggerID int32 `json:"triggerID"` + IsAttackCameraLock bool `json:"isAttackCameraLock"` + ProudSkillGroupId int32 `json:"proudSkillGroupId"` + CostElemType string `json:"costElemType"` + LockWeightParams []float64 `json:"lockWeightParams"` + + NameTextMapHash int64 `json:"nameTextMapHash"` + + AbilityName string `json:"abilityName"` + LockShape string `json:"lockShape"` + GlobalValueKey string `json:"globalValueKey"` + + // 计算属性 + CostElemTypeX *constant.ElementTypeValue `json:"-"` +} + +func (g *GameDataConfig) loadAvatarSkillData() { + g.AvatarSkillDataMap = make(map[int32]*AvatarSkillData) + fileNameList := []string{"AvatarSkillExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + avatarSkillData := new(AvatarSkillData) + err = json.Unmarshal(i, avatarSkillData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.AvatarSkillDataMap[avatarSkillData.Id] = avatarSkillData + } + } + logger.LOG.Info("load %v AvatarSkillData", len(g.AvatarSkillDataMap)) + for _, v := range g.AvatarSkillDataMap { + v.CostElemTypeX = constant.ElementTypeConst.STRING_MAP[v.CostElemType] + } +} diff --git a/service/game-hk4e/config/avatar_skill_depot_data.go b/service/game-hk4e/config/avatar_skill_depot_data.go new file mode 100644 index 00000000..589f9053 --- /dev/null +++ b/service/game-hk4e/config/avatar_skill_depot_data.go @@ -0,0 +1,84 @@ +package config + +import ( + "encoding/json" + "flswld.com/common/utils/endec" + "flswld.com/logger" + "game-hk4e/constant" + "io/ioutil" +) + +type InherentProudSkillOpens struct { + ProudSkillGroupId int32 `json:"proudSkillGroupId"` + NeedAvatarPromoteLevel int32 `json:"needAvatarPromoteLevel"` +} + +type AvatarSkillDepotData struct { + Id int32 `json:"id"` + EnergySkill int32 `json:"energySkill"` + AttackModeSkill int32 `json:"attackModeSkill"` + + Skills []int32 `json:"skills"` + SubSkills []int32 `json:"subSkills"` + ExtraAbilities []string `json:"extraAbilities"` + Talents []int32 `json:"talents"` + InherentProudSkillOpens []*InherentProudSkillOpens `json:"inherentProudSkillOpens"` + TalentStarName string `json:"talentStarName"` + SkillDepotAbilityGroup string `json:"skillDepotAbilityGroup"` + + // 计算属性 + EnergySkillData *AvatarSkillData `json:"-"` + ElementType *constant.ElementTypeValue `json:"-"` + Abilities []int32 `json:"-"` +} + +func (g *GameDataConfig) loadAvatarSkillDepotData() { + g.AvatarSkillDepotDataMap = make(map[int32]*AvatarSkillDepotData) + fileNameList := []string{"AvatarSkillDepotExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + avatarSkillDepotData := new(AvatarSkillDepotData) + err = json.Unmarshal(i, avatarSkillDepotData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.AvatarSkillDepotDataMap[avatarSkillDepotData.Id] = avatarSkillDepotData + } + } + logger.LOG.Info("load %v AvatarSkillDepotData", len(g.AvatarSkillDepotDataMap)) + for _, v := range g.AvatarSkillDepotDataMap { + // set energy skill data + v.EnergySkillData = g.AvatarSkillDataMap[v.EnergySkill] + if v.EnergySkillData != nil { + v.ElementType = v.EnergySkillData.CostElemTypeX + } else { + v.ElementType = constant.ElementTypeConst.None + } + // set embryo abilities if player skill depot + if v.SkillDepotAbilityGroup != "" { + config := g.GameDepot.PlayerAbilities[v.SkillDepotAbilityGroup] + if config != nil { + for _, targetAbility := range config.TargetAbilities { + v.Abilities = append(v.Abilities, endec.Hk4eAbilityHashCode(targetAbility.AbilityName)) + } + } + } + } +} diff --git a/service/game-hk4e/config/drop_group_data.go b/service/game-hk4e/config/drop_group_data.go new file mode 100644 index 00000000..9668d2a8 --- /dev/null +++ b/service/game-hk4e/config/drop_group_data.go @@ -0,0 +1,59 @@ +package config + +import ( + "flswld.com/logger" + "github.com/jszwec/csvutil" + "io/ioutil" + "strings" +) + +type Drop struct { + DropId int32 `csv:"DropId"` + Weight int32 `csv:"Weight"` + Result int32 `csv:"Result"` + IsEnd bool `csv:"IsEnd"` +} + +type DropGroupData struct { + DropId int32 + WeightAll int32 + DropConfig []*Drop +} + +func (g *GameDataConfig) loadDropGroupData() { + g.DropGroupDataMap = make(map[int32]*DropGroupData) + fileNameList := []string{"DropGachaAvatarUp.csv", "DropGachaWeaponUp.csv", "DropGachaNormal.csv"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.csvPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + return + } + // 去除第二三行的内容变成标准格式的csv + index1 := strings.Index(string(fileData), "\n") + index2 := strings.Index(string(fileData[(index1+1):]), "\n") + index3 := strings.Index(string(fileData[(index2+1)+(index1+1):]), "\n") + standardCsvData := make([]byte, 0) + standardCsvData = append(standardCsvData, fileData[:index1]...) + standardCsvData = append(standardCsvData, fileData[index3+(index2+1)+(index1+1):]...) + var dropList []*Drop + err = csvutil.Unmarshal(standardCsvData, &dropList) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + return + } + for _, drop := range dropList { + dropGroupData, exist := g.DropGroupDataMap[drop.DropId] + if !exist { + dropGroupData = new(DropGroupData) + dropGroupData.DropId = drop.DropId + dropGroupData.WeightAll = 0 + dropGroupData.DropConfig = make([]*Drop, 0) + g.DropGroupDataMap[drop.DropId] = dropGroupData + } + dropGroupData.WeightAll += drop.Weight + dropGroupData.DropConfig = append(dropGroupData.DropConfig, drop) + } + } + logger.LOG.Info("load %v DropGroupData", len(g.DropGroupDataMap)) +} diff --git a/service/game-hk4e/config/fetter_data.go b/service/game-hk4e/config/fetter_data.go new file mode 100644 index 00000000..fd3a07e1 --- /dev/null +++ b/service/game-hk4e/config/fetter_data.go @@ -0,0 +1,54 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" +) + +type FetterData struct { + AvatarId int32 `json:"avatarId"` + FetterId int32 `json:"fetterId"` +} + +func (g *GameDataConfig) loadFetterData() { + g.FetterDataMap = make(map[int32]*FetterData) + fileNameList := []string{"FetterInfoExcelConfigData.json", "FettersExcelConfigData.json", "FetterStoryExcelConfigData.json", "PhotographExpressionExcelConfigData.json", "PhotographPosenameExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + fetterData := new(FetterData) + err = json.Unmarshal(i, fetterData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.FetterDataMap[fetterData.FetterId] = fetterData + } + } + logger.LOG.Info("load %v FetterData", len(g.FetterDataMap)) + g.AvatarFetterDataMap = make(map[int32][]int32) + for _, v := range g.FetterDataMap { + avatarFetterIdList, exist := g.AvatarFetterDataMap[v.AvatarId] + if !exist { + avatarFetterIdList = make([]int32, 0) + } + avatarFetterIdList = append(avatarFetterIdList, v.FetterId) + g.AvatarFetterDataMap[v.AvatarId] = avatarFetterIdList + } +} diff --git a/service/game-hk4e/config/gadget_data.go b/service/game-hk4e/config/gadget_data.go new file mode 100644 index 00000000..f006e966 --- /dev/null +++ b/service/game-hk4e/config/gadget_data.go @@ -0,0 +1,60 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "game-hk4e/constant" + "io/ioutil" +) + +type GadgetData struct { + Id int32 `json:"id"` + Type string `json:"type"` + JsonName string `json:"jsonName"` + IsInteractive bool `json:"isInteractive"` + Tags []string `json:"tags"` + ItemJsonName string `json:"itemJsonName"` + InteeIconName string `json:"inteeIconName"` + NameTextMapHash int64 `json:"nameTextMapHash"` + CampID int32 `json:"campID"` + LODPatternName string `json:"LODPatternName"` + + // 计算属性 + TypeX uint16 `json:"-"` +} + +func (g *GameDataConfig) loadGadgetData() { + g.GadgetDataMap = make(map[int32]*GadgetData) + fileNameList := []string{"GadgetExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + gadgetData := new(GadgetData) + err = json.Unmarshal(i, gadgetData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.GadgetDataMap[gadgetData.Id] = gadgetData + } + } + logger.LOG.Info("load %v GadgetData", len(g.GadgetDataMap)) + for _, v := range g.GadgetDataMap { + v.TypeX = constant.EntityTypeConst.STRING_MAP[v.Type] + } +} diff --git a/service/game-hk4e/config/game_data_config.go b/service/game-hk4e/config/game_data_config.go new file mode 100644 index 00000000..639a150c --- /dev/null +++ b/service/game-hk4e/config/game_data_config.go @@ -0,0 +1,154 @@ +package config + +import ( + appConfig "flswld.com/common/config" + "flswld.com/logger" + "io/ioutil" + "os" + "runtime" +) + +var CONF *GameDataConfig = nil + +type GameDataConfig struct { + binPrefix string + excelBinPrefix string + csvPrefix string + GameDepot *GameDepot + // 配置表 + // BinOutput + // 技能列表 + AbilityEmbryos map[string]*AbilityEmbryoEntry + OpenConfigEntries map[string]*OpenConfigEntry + // ExcelBinOutput + FetterDataMap map[int32]*FetterData + AvatarFetterDataMap map[int32][]int32 + // 资源 + // 场景传送点 + ScenePointEntries map[string]*ScenePointEntry + ScenePointIdList []int32 + // 角色 + AvatarDataMap map[int32]*AvatarData + // 道具 + ItemDataMap map[int32]*ItemData + // 角色技能 + AvatarSkillDataMap map[int32]*AvatarSkillData + AvatarSkillDepotDataMap map[int32]*AvatarSkillDepotData + // 掉落组配置表 + DropGroupDataMap map[int32]*DropGroupData + // GG + GadgetDataMap map[int32]*GadgetData + // 采集物 + GatherDataMap map[int32]*GatherData +} + +func InitGameDataConfig() { + CONF = new(GameDataConfig) + CONF.binPrefix = "" + CONF.excelBinPrefix = "" + CONF.csvPrefix = "" + CONF.loadAll() +} + +func (g *GameDataConfig) load() { + g.loadGameDepot() + // 技能列表 + g.loadAbilityEmbryos() + g.loadOpenConfig() + // 资源 + g.loadFetterData() + // 场景传送点 + g.loadScenePoints() + // 角色 + g.loadAvatarData() + // 道具 + g.loadItemData() + // 角色技能 + g.loadAvatarSkillData() + g.loadAvatarSkillDepotData() + // 掉落组配置表 + g.loadDropGroupData() + // GG + g.loadGadgetData() + // 采集物 + g.loadGatherData() +} + +func (g *GameDataConfig) getResourcePathPrefix() string { + resourcePath := appConfig.CONF.Hk4e.ResourcePath + // for dev + if runtime.GOOS == "windows" { + resourcePath = "C:/Users/FlourishingWorld/Desktop/GI/GameDataConfigTable" + } + return resourcePath +} + +func (g *GameDataConfig) loadAll() { + resourcePath := g.getResourcePathPrefix() + dirInfo, err := os.Stat(resourcePath) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data config dir error: %v", err) + return + } + g.binPrefix = resourcePath + "/BinOutput" + g.excelBinPrefix = resourcePath + "/ExcelBinOutput" + g.csvPrefix = resourcePath + "/Csv" + dirInfo, err = os.Stat(g.binPrefix) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data bin output config dir error: %v", err) + return + } + dirInfo, err = os.Stat(g.excelBinPrefix) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data excel bin output config dir error: %v", err) + return + } + dirInfo, err = os.Stat(g.csvPrefix) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data csv config dir error: %v", err) + return + } + g.binPrefix += "/" + g.excelBinPrefix += "/" + g.csvPrefix += "/" + g.load() +} + +func (g *GameDataConfig) ReadWorldTerrain() []byte { + resourcePath := g.getResourcePathPrefix() + dirInfo, err := os.Stat(resourcePath) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data config dir error: %v", err) + return nil + } + dirInfo, err = os.Stat(resourcePath + "/WorldStatic") + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data world static dir error: %v", err) + return nil + } + data, err := ioutil.ReadFile(resourcePath + "/WorldStatic/world_terrain.bin") + if err != nil { + logger.LOG.Error("read world terrain file error: %v", err) + return nil + } + return data +} + +func (g *GameDataConfig) WriteWorldTerrain(data []byte) { + resourcePath := g.getResourcePathPrefix() + dirInfo, err := os.Stat(resourcePath) + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data config dir error: %v", err) + return + } + dirInfo, err = os.Stat(resourcePath + "/WorldStatic") + if err != nil || !dirInfo.IsDir() { + logger.LOG.Error("open game data world static dir error: %v", err) + return + } + err = ioutil.WriteFile(resourcePath+"/WorldStatic/world_terrain.bin", data, 0644) + if err != nil { + logger.LOG.Error("write world terrain file error: %v", err) + return + } +} diff --git a/service/game-hk4e/config/game_depot.go b/service/game-hk4e/config/game_depot.go new file mode 100644 index 00000000..d34d3c3c --- /dev/null +++ b/service/game-hk4e/config/game_depot.go @@ -0,0 +1,29 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" +) + +type GameDepot struct { + PlayerAbilities map[string]*AvatarConfig +} + +func (g *GameDataConfig) loadGameDepot() { + g.GameDepot = new(GameDepot) + playerElementsFilePath := g.binPrefix + "AbilityGroup/AbilityGroup_Other_PlayerElementAbility.json" + playerElementsFile, err := ioutil.ReadFile(playerElementsFilePath) + if err != nil { + logger.LOG.Error("open file error: %v", err) + return + } + playerAbilities := make(map[string]*AvatarConfig) + err = json.Unmarshal(playerElementsFile, &playerAbilities) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + return + } + g.GameDepot.PlayerAbilities = playerAbilities + logger.LOG.Info("load %v PlayerAbilities", len(g.GameDepot.PlayerAbilities)) +} diff --git a/service/game-hk4e/config/gather_data.go b/service/game-hk4e/config/gather_data.go new file mode 100644 index 00000000..cb67a8af --- /dev/null +++ b/service/game-hk4e/config/gather_data.go @@ -0,0 +1,50 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" +) + +type GatherData struct { + Id int32 `json:"id"` + PointType int32 `json:"pointType"` + GadgetId int32 `json:"gadgetId"` + ItemId int32 `json:"itemId"` + Cd int32 `json:"cd"` + IsForbidGuest bool `json:"isForbidGuest"` + InitDisableInteract bool `json:"initDisableInteract"` +} + +func (g *GameDataConfig) loadGatherData() { + g.GatherDataMap = make(map[int32]*GatherData) + fileNameList := []string{"GatherExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + gatherData := new(GatherData) + err = json.Unmarshal(i, gatherData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.GatherDataMap[gatherData.Id] = gatherData + } + } + logger.LOG.Info("load %v GatherData", len(g.GatherDataMap)) +} diff --git a/service/game-hk4e/config/item_data.go b/service/game-hk4e/config/item_data.go new file mode 100644 index 00000000..d1047732 --- /dev/null +++ b/service/game-hk4e/config/item_data.go @@ -0,0 +1,161 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "game-hk4e/constant" + "io/ioutil" +) + +type ItemUseData struct { + UseOp string `json:"useOp"` + UseParam []string `json:"useParam"` +} + +type WeaponProperty struct { + PropType string `json:"propType"` + InitValue float64 `json:"initValue"` + Type string `json:"type"` + FightProp uint16 `json:"-"` +} + +type ItemData struct { + Id int32 `json:"id"` + StackLimit int32 `json:"stackLimit"` + MaxUseCount int32 `json:"maxUseCount"` + RankLevel int32 `json:"rankLevel"` + EffectName string `json:"effectName"` + SatiationParams []int32 `json:"satiationParams"` + Rank int32 `json:"rank"` + Weight int32 `json:"weight"` + GadgetId int32 `json:"gadgetId"` + DestroyReturnMaterial []int32 `json:"destroyReturnMaterial"` + DestroyReturnMaterialCount []int32 `json:"destroyReturnMaterialCount"` + ItemUse []*ItemUseData `json:"itemUse"` + + // food + FoodQuality string `json:"foodQuality"` + UseTarget string `json:"useTarget"` + IseParam []string `json:"iseParam"` + + // string enums + ItemType string `json:"itemType"` + MaterialType string `json:"materialType"` + EquipType string `json:"equipType"` + EffectType string `json:"effectType"` + DestroyRule string `json:"destroyRule"` + + // post load enum forms of above + MaterialEnumType uint16 `json:"-"` + ItemEnumType uint16 `json:"-"` + EquipEnumType uint16 `json:"-"` + + // relic + MainPropDepotId int32 `json:"mainPropDepotId"` + AppendPropDepotId int32 `json:"appendPropDepotId"` + AppendPropNum int32 `json:"appendPropNum"` + SetId int32 `json:"setId"` + AddPropLevels []int32 `json:"addPropLevels"` + BaseConvExp int32 `json:"baseConvExp"` + MaxLevel int32 `json:"maxLevel"` + + // weapon + WeaponPromoteId int32 `json:"weaponPromoteId"` + WeaponBaseExp int32 `json:"weaponBaseExp"` + StoryId int32 `json:"storyId"` + AvatarPromoteId int32 `json:"avatarPromoteId"` + AwakenMaterial int32 `json:"awakenMaterial"` + AwakenCosts []int32 `json:"awakenCosts"` + SkillAffix []int32 `json:"skillAffix"` + WeaponProp []*WeaponProperty `json:"weaponProp"` + + // hash + Icon string `json:"icon"` + NameTextMapHash int64 `json:"nameTextMapHash"` + + AddPropLevelSet map[int32]bool `json:"-"` + + // furniture + Comfort int32 `json:"comfort"` + FurnType []int32 `json:"furnType"` + FurnitureGadgetID []int32 `json:"furnitureGadgetID"` + RoomSceneId int32 `json:"roomSceneId"` +} + +func (g *GameDataConfig) loadItemData() { + g.ItemDataMap = make(map[int32]*ItemData) + fileNameList := []string{"MaterialExcelConfigData.json", "WeaponExcelConfigData.json", "ReliquaryExcelConfigData.json", "HomeWorldFurnitureExcelConfigData.json"} + for _, fileName := range fileNameList { + fileData, err := ioutil.ReadFile(g.excelBinPrefix + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + list := make([]map[string]any, 0) + err = json.Unmarshal(fileData, &list) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for _, v := range list { + i, err := json.Marshal(v) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + itemData := new(ItemData) + err = json.Unmarshal(i, itemData) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + g.ItemDataMap[itemData.Id] = itemData + } + } + logger.LOG.Info("load %v ItemData", len(g.ItemDataMap)) + + for _, itemData := range g.ItemDataMap { + itemData.ItemEnumType = constant.ItemTypeConst.STRING_MAP[itemData.ItemType] + itemData.MaterialEnumType = constant.MaterialTypeConst.STRING_MAP[itemData.MaterialType] + + if itemData.ItemEnumType == constant.ItemTypeConst.ITEM_RELIQUARY { + itemData.EquipEnumType = constant.EquipTypeConst.STRING_MAP[itemData.EquipType] + if itemData.AddPropLevels != nil || len(itemData.AddPropLevels) > 0 { + itemData.AddPropLevelSet = make(map[int32]bool) + for _, v := range itemData.AddPropLevels { + itemData.AddPropLevelSet[v] = true + } + } + } else if itemData.ItemEnumType == constant.ItemTypeConst.ITEM_WEAPON { + itemData.EquipEnumType = constant.EquipTypeConst.EQUIP_WEAPON + } else { + itemData.EquipEnumType = constant.EquipTypeConst.EQUIP_NONE + } + + if itemData.WeaponProp != nil { + for i, v := range itemData.WeaponProp { + v.FightProp = constant.FightPropertyConst.STRING_MAP[v.PropType] + itemData.WeaponProp[i] = v + } + } + + if itemData.FurnType != nil { + furnType := make([]int32, 0) + for _, v := range itemData.FurnType { + if v > 0 { + furnType = append(furnType, v) + } + } + itemData.FurnType = furnType + } + if itemData.FurnitureGadgetID != nil { + furnitureGadgetID := make([]int32, 0) + for _, v := range itemData.FurnitureGadgetID { + if v > 0 { + furnitureGadgetID = append(furnitureGadgetID, v) + } + } + itemData.FurnitureGadgetID = furnitureGadgetID + } + } +} diff --git a/service/game-hk4e/config/open_config_entries.go b/service/game-hk4e/config/open_config_entries.go new file mode 100644 index 00000000..cbf42382 --- /dev/null +++ b/service/game-hk4e/config/open_config_entries.go @@ -0,0 +1,92 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" + "strings" +) + +type SkillPointModifier struct { + SkillId int32 + Delta int32 +} + +type OpenConfigEntry struct { + Name string + AddAbilities []string + ExtraTalentIndex int32 + SkillPointModifiers []*SkillPointModifier +} + +func NewOpenConfigEntry(name string, data []*OpenConfigData) (r *OpenConfigEntry) { + r = new(OpenConfigEntry) + r.Name = name + abilityList := make([]string, 0) + modList := make([]*SkillPointModifier, 0) + for _, v := range data { + if strings.Contains(v.DollarType, "AddAbility") { + abilityList = append(abilityList, v.AbilityName) + } else if v.TalentIndex > 0 { + r.ExtraTalentIndex = v.TalentIndex + } else if strings.Contains(v.DollarType, "ModifySkillPoint") { + modList = append(modList, &SkillPointModifier{ + SkillId: v.SkillID, + Delta: v.PointDelta, + }) + } + } + r.AddAbilities = abilityList + r.SkillPointModifiers = modList + return r +} + +type OpenConfigData struct { + DollarType string `json:"$type"` + AbilityName string `json:"abilityName"` + TalentIndex int32 `json:"talentIndex"` + SkillID int32 `json:"skillID"` + PointDelta int32 `json:"pointDelta"` +} + +func (g *GameDataConfig) loadOpenConfig() { + list := make([]*OpenConfigEntry, 0) + folderNames := []string{"Talent/EquipTalents", "Talent/AvatarTalents"} + for _, v := range folderNames { + dirPath := g.binPrefix + v + fileList, err := ioutil.ReadDir(dirPath) + if err != nil { + logger.LOG.Error("open dir error: %v", err) + return + } + for _, file := range fileList { + fileName := file.Name() + if !strings.Contains(fileName, ".json") { + continue + } + config := make(map[string][]*OpenConfigData) + fileData, err := ioutil.ReadFile(dirPath + "/" + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + err = json.Unmarshal(fileData, &config) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + for kk, vv := range config { + entry := NewOpenConfigEntry(kk, vv) + list = append(list, entry) + } + } + } + if len(list) == 0 { + logger.LOG.Error("no open config entries load") + } + g.OpenConfigEntries = make(map[string]*OpenConfigEntry) + for _, v := range list { + g.OpenConfigEntries[v.Name] = v + } + logger.LOG.Info("load %v OpenConfig", len(g.OpenConfigEntries)) +} diff --git a/service/game-hk4e/config/prop_grow_curve.go b/service/game-hk4e/config/prop_grow_curve.go new file mode 100644 index 00000000..48b9ef71 --- /dev/null +++ b/service/game-hk4e/config/prop_grow_curve.go @@ -0,0 +1,6 @@ +package config + +type PropGrowCurve struct { + Type string `json:"type"` + GrowCurve string `json:"growCurve"` +} diff --git a/service/game-hk4e/config/scene_points.go b/service/game-hk4e/config/scene_points.go new file mode 100644 index 00000000..800fc5b5 --- /dev/null +++ b/service/game-hk4e/config/scene_points.go @@ -0,0 +1,85 @@ +package config + +import ( + "encoding/json" + "flswld.com/logger" + "io/ioutil" + "strconv" + "strings" +) + +type ScenePointEntry struct { + Name string + PointData *PointData +} + +type ScenePointConfig struct { + Points map[string]*PointData `json:"points"` +} + +type PointData struct { + Id int32 `json:"-"` + DollarType string `json:"$type"` + TranPos *Position `json:"tranPos"` + DungeonIds []int32 `json:"dungeonIds"` + DungeonRandomList []int32 `json:"dungeonRandomList"` + TranSceneId int32 `json:"tranSceneId"` +} + +type Position struct { + X float64 `json:"x"` + Y float64 `json:"y"` + Z float64 `json:"z"` +} + +func (g *GameDataConfig) loadScenePoints() { + g.ScenePointEntries = make(map[string]*ScenePointEntry) + g.ScenePointIdList = make([]int32, 0) + dirPath := g.binPrefix + "Scene/Point" + fileList, err := ioutil.ReadDir(dirPath) + if err != nil { + logger.LOG.Error("open dir error: %v", err) + return + } + for _, file := range fileList { + fileName := file.Name() + if !strings.Contains(fileName, "scene") { + continue + } + startIndex := strings.Index(fileName, "scene") + endIndex := strings.Index(fileName, "_point.json") + if startIndex == -1 || endIndex == -1 || startIndex+5 > endIndex { + logger.LOG.Error("file name format error: %v", fileName) + continue + } + sceneId := fileName[startIndex+5 : endIndex] + fileData, err := ioutil.ReadFile(dirPath + "/" + fileName) + if err != nil { + logger.LOG.Error("open file error: %v", err) + continue + } + scenePointConfig := new(ScenePointConfig) + err = json.Unmarshal(fileData, scenePointConfig) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + if len(scenePointConfig.Points) == 0 { + continue + } + for k, v := range scenePointConfig.Points { + sceneIdInt32, err := strconv.ParseInt(k, 10, 32) + if err != nil { + logger.LOG.Error("parse file error: %v", err) + continue + } + v.Id = int32(sceneIdInt32) + scenePointEntry := new(ScenePointEntry) + scenePointEntry.Name = sceneId + "_" + k + scenePointEntry.PointData = v + g.ScenePointIdList = append(g.ScenePointIdList, int32(sceneIdInt32)) + g.ScenePointEntries[scenePointEntry.Name] = scenePointEntry + } + } + logger.LOG.Info("load %v ScenePointEntries", len(g.ScenePointEntries)) +} diff --git a/service/game-hk4e/constant/action_reason.go b/service/game-hk4e/constant/action_reason.go new file mode 100644 index 00000000..f8f9473b --- /dev/null +++ b/service/game-hk4e/constant/action_reason.go @@ -0,0 +1,357 @@ +package constant + +var ActionReasonConst *ActionReason + +type ActionReason struct { + None uint16 + QuestItem uint16 + QuestReward uint16 + Trifle uint16 + Shop uint16 + PlayerUpgradeReward uint16 + AddAvatar uint16 + GadgetEnvAnimal uint16 + MonsterEnvAnimal uint16 + Compound uint16 + Cook uint16 + Gather uint16 + MailAttachment uint16 + CityLevelupReturn uint16 + CityLevelupReward uint16 + AreaExploreReward uint16 + UnlockPointReward uint16 + DungeonFirstPass uint16 + DungeonPass uint16 + ChangeElemType uint16 + FetterOpen uint16 + DailyTaskScore uint16 + DailyTaskHost uint16 + RandTaskHost uint16 + Expedition uint16 + Gacha uint16 + Combine uint16 + RandTaskGuest uint16 + DailyTaskGuest uint16 + ForgeOutput uint16 + ForgeReturn uint16 + InitAvatar uint16 + MonsterDie uint16 + Gm uint16 + OpenChest uint16 + GadgetDie uint16 + MonsterChangeHp uint16 + SubfieldDrop uint16 + PushTipsReward uint16 + ActivityMonsterDrop uint16 + ActivityGather uint16 + ActivitySubfieldDrop uint16 + TowerScheduleReward uint16 + TowerFloorStarReward uint16 + TowerFirstPassReward uint16 + TowerDailyReward uint16 + HitClientTrivialEntity uint16 + OpenWorldBossChest uint16 + MaterialDeleteReturn uint16 + SignInReward uint16 + OpenBlossomChest uint16 + Recharge uint16 + BonusActivityReward uint16 + TowerCommemorativeReward uint16 + TowerSkipFloorReward uint16 + RechargeBonus uint16 + RechargeCard uint16 + RechargeCardDaily uint16 + RechargeCardReplace uint16 + RechargeCardReplaceFree uint16 + RechargePlayReplace uint16 + MpPlayTakeReward uint16 + ActivityWatcher uint16 + SalesmanDeliverItem uint16 + SalesmanReward uint16 + Rebate uint16 + McoinExchangeHcoin uint16 + DailyTaskExchangeLegendaryKey uint16 + UnlockPersonLine uint16 + FetterLevelReward uint16 + BuyResin uint16 + RechargePackage uint16 + DeliveryDailyReward uint16 + CityReputationLevel uint16 + CityReputationQuest uint16 + CityReputationRequest uint16 + CityReputationExplore uint16 + OffergingLevel uint16 + RoutineHost uint16 + RoutineGuest uint16 + TreasureMapSpotToken uint16 + TreasureMapBonusLevelReward uint16 + TreasureMapMpReward uint16 + Convert uint16 + OverflowTransform uint16 + ActivityAvatarSelectionReward uint16 + ActivityWatcherBatch uint16 + HitTreeDrop uint16 + GetHomeLevelupReward uint16 + HomeDefaultFurniture uint16 + ActivityCond uint16 + BattlePassNotify uint16 + PlayerUseItem uint16 + DropItem uint16 + WeaponUpgrade uint16 + WeaponPromote uint16 + WeaponAwaken uint16 + RelicUpgrade uint16 + Ability uint16 + DungeonStatueDrop uint16 + OfflineMsg uint16 + AvatarUpgrade uint16 + AvatarPromote uint16 + QuestAction uint16 + CityLevelup uint16 + UpgradeSkill uint16 + UnlockTalent uint16 + UpgradeProudSkill uint16 + PlayerLevelLimitUp uint16 + DungeonDaily uint16 + ItemGiving uint16 + ForgeCost uint16 + InvestigationReward uint16 + InvestigationTargetReward uint16 + GadgetInteract uint16 + SeaLampCiMaterial uint16 + SeaLampContributionReward uint16 + SeaLampPhaseReward uint16 + SeaLampFlyLamp uint16 + AutoRecover uint16 + ActivityExpireItem uint16 + SubCoinNegative uint16 + BargainDeduct uint16 + BattlePassPaidReward uint16 + BattlePassLevelReward uint16 + TrialAvatarActivityFirstPassReward uint16 + BuyBattlePassLevel uint16 + GrantBirthdayBenefit uint16 + AchievementReward uint16 + AchievementGoalReward uint16 + FirstShareToSocialNetwork uint16 + DestroyMaterial uint16 + CodexLevelupReward uint16 + HuntingOfferReward uint16 + UseWidgetAnchorPoint uint16 + UseWidgetBonfire uint16 + UngradeWeaponReturnMaterial uint16 + UseWidgetOneoffGatherPointDetector uint16 + UseWidgetClientCollector uint16 + UseWidgetClientDetector uint16 + TakeGeneralReward uint16 + AsterTakeSpecialReward uint16 + RemoveCodexBook uint16 + OfferingItem uint16 + UseWidgetGadgetBuilder uint16 + EffigyFirstPassReward uint16 + EffigyReward uint16 + ReunionFirstGiftReward uint16 + ReunionSignInReward uint16 + ReunionWatcherReward uint16 + SalesmanMpReward uint16 + ActionReasionAvatarPromoteReward uint16 + BlessingRedeemReward uint16 + ActionMiracleRingReward uint16 + ExpeditionReward uint16 + TreasureMapRemoveDetector uint16 + MechanicusDungeonTicket uint16 + MechanicusLevelupGear uint16 + MechanicusBattleSettle uint16 + RegionSearchReward uint16 + UnlockCoopChapter uint16 + TakeCoopReward uint16 + FleurFairDungeonReward uint16 + ActivityScore uint16 + ChannellerSlabOneoffDungeonReward uint16 + FurnitureMakeStart uint16 + FurnitureMakeTake uint16 + FurnitureMakeCancel uint16 + FurnitureMakeFastFinish uint16 + ChannellerSlabLoopDungeonFirstPassReward uint16 + ChannellerSlabLoopDungeonScoreReward uint16 + HomeLimitedShopBuy uint16 + HomeCoinCollect uint16 +} + +func InitActionReasonConst() { + ActionReasonConst = new(ActionReason) + + ActionReasonConst.None = 0 + ActionReasonConst.QuestItem = 1 + ActionReasonConst.QuestReward = 2 + ActionReasonConst.Trifle = 3 + ActionReasonConst.Shop = 4 + ActionReasonConst.PlayerUpgradeReward = 5 + ActionReasonConst.AddAvatar = 6 + ActionReasonConst.GadgetEnvAnimal = 7 + ActionReasonConst.MonsterEnvAnimal = 8 + ActionReasonConst.Compound = 9 + ActionReasonConst.Cook = 10 + ActionReasonConst.Gather = 11 + ActionReasonConst.MailAttachment = 12 + ActionReasonConst.CityLevelupReturn = 15 + ActionReasonConst.CityLevelupReward = 17 + ActionReasonConst.AreaExploreReward = 18 + ActionReasonConst.UnlockPointReward = 19 + ActionReasonConst.DungeonFirstPass = 20 + ActionReasonConst.DungeonPass = 21 + ActionReasonConst.ChangeElemType = 23 + ActionReasonConst.FetterOpen = 25 + ActionReasonConst.DailyTaskScore = 26 + ActionReasonConst.DailyTaskHost = 27 + ActionReasonConst.RandTaskHost = 28 + ActionReasonConst.Expedition = 29 + ActionReasonConst.Gacha = 30 + ActionReasonConst.Combine = 31 + ActionReasonConst.RandTaskGuest = 32 + ActionReasonConst.DailyTaskGuest = 33 + ActionReasonConst.ForgeOutput = 34 + ActionReasonConst.ForgeReturn = 35 + ActionReasonConst.InitAvatar = 36 + ActionReasonConst.MonsterDie = 37 + ActionReasonConst.Gm = 38 + ActionReasonConst.OpenChest = 39 + ActionReasonConst.GadgetDie = 40 + ActionReasonConst.MonsterChangeHp = 41 + ActionReasonConst.SubfieldDrop = 42 + ActionReasonConst.PushTipsReward = 43 + ActionReasonConst.ActivityMonsterDrop = 44 + ActionReasonConst.ActivityGather = 45 + ActionReasonConst.ActivitySubfieldDrop = 46 + ActionReasonConst.TowerScheduleReward = 47 + ActionReasonConst.TowerFloorStarReward = 48 + ActionReasonConst.TowerFirstPassReward = 49 + ActionReasonConst.TowerDailyReward = 50 + ActionReasonConst.HitClientTrivialEntity = 51 + ActionReasonConst.OpenWorldBossChest = 52 + ActionReasonConst.MaterialDeleteReturn = 53 + ActionReasonConst.SignInReward = 54 + ActionReasonConst.OpenBlossomChest = 55 + ActionReasonConst.Recharge = 56 + ActionReasonConst.BonusActivityReward = 57 + ActionReasonConst.TowerCommemorativeReward = 58 + ActionReasonConst.TowerSkipFloorReward = 59 + ActionReasonConst.RechargeBonus = 60 + ActionReasonConst.RechargeCard = 61 + ActionReasonConst.RechargeCardDaily = 62 + ActionReasonConst.RechargeCardReplace = 63 + ActionReasonConst.RechargeCardReplaceFree = 64 + ActionReasonConst.RechargePlayReplace = 65 + ActionReasonConst.MpPlayTakeReward = 66 + ActionReasonConst.ActivityWatcher = 67 + ActionReasonConst.SalesmanDeliverItem = 68 + ActionReasonConst.SalesmanReward = 69 + ActionReasonConst.Rebate = 70 + ActionReasonConst.McoinExchangeHcoin = 71 + ActionReasonConst.DailyTaskExchangeLegendaryKey = 72 + ActionReasonConst.UnlockPersonLine = 73 + ActionReasonConst.FetterLevelReward = 74 + ActionReasonConst.BuyResin = 75 + ActionReasonConst.RechargePackage = 76 + ActionReasonConst.DeliveryDailyReward = 77 + ActionReasonConst.CityReputationLevel = 78 + ActionReasonConst.CityReputationQuest = 79 + ActionReasonConst.CityReputationRequest = 80 + ActionReasonConst.CityReputationExplore = 81 + ActionReasonConst.OffergingLevel = 82 + ActionReasonConst.RoutineHost = 83 + ActionReasonConst.RoutineGuest = 84 + ActionReasonConst.TreasureMapSpotToken = 89 + ActionReasonConst.TreasureMapBonusLevelReward = 90 + ActionReasonConst.TreasureMapMpReward = 91 + ActionReasonConst.Convert = 92 + ActionReasonConst.OverflowTransform = 93 + ActionReasonConst.ActivityAvatarSelectionReward = 96 + ActionReasonConst.ActivityWatcherBatch = 97 + ActionReasonConst.HitTreeDrop = 98 + ActionReasonConst.GetHomeLevelupReward = 99 + ActionReasonConst.HomeDefaultFurniture = 100 + ActionReasonConst.ActivityCond = 101 + ActionReasonConst.BattlePassNotify = 102 + ActionReasonConst.PlayerUseItem = 1001 + ActionReasonConst.DropItem = 1002 + ActionReasonConst.WeaponUpgrade = 1011 + ActionReasonConst.WeaponPromote = 1012 + ActionReasonConst.WeaponAwaken = 1013 + ActionReasonConst.RelicUpgrade = 1014 + ActionReasonConst.Ability = 1015 + ActionReasonConst.DungeonStatueDrop = 1016 + ActionReasonConst.OfflineMsg = 1017 + ActionReasonConst.AvatarUpgrade = 1018 + ActionReasonConst.AvatarPromote = 1019 + ActionReasonConst.QuestAction = 1021 + ActionReasonConst.CityLevelup = 1022 + ActionReasonConst.UpgradeSkill = 1024 + ActionReasonConst.UnlockTalent = 1025 + ActionReasonConst.UpgradeProudSkill = 1026 + ActionReasonConst.PlayerLevelLimitUp = 1027 + ActionReasonConst.DungeonDaily = 1028 + ActionReasonConst.ItemGiving = 1030 + ActionReasonConst.ForgeCost = 1031 + ActionReasonConst.InvestigationReward = 1032 + ActionReasonConst.InvestigationTargetReward = 1033 + ActionReasonConst.GadgetInteract = 1034 + ActionReasonConst.SeaLampCiMaterial = 1036 + ActionReasonConst.SeaLampContributionReward = 1037 + ActionReasonConst.SeaLampPhaseReward = 1038 + ActionReasonConst.SeaLampFlyLamp = 1039 + ActionReasonConst.AutoRecover = 1040 + ActionReasonConst.ActivityExpireItem = 1041 + ActionReasonConst.SubCoinNegative = 1042 + ActionReasonConst.BargainDeduct = 1043 + ActionReasonConst.BattlePassPaidReward = 1044 + ActionReasonConst.BattlePassLevelReward = 1045 + ActionReasonConst.TrialAvatarActivityFirstPassReward = 1046 + ActionReasonConst.BuyBattlePassLevel = 1047 + ActionReasonConst.GrantBirthdayBenefit = 1048 + ActionReasonConst.AchievementReward = 1049 + ActionReasonConst.AchievementGoalReward = 1050 + ActionReasonConst.FirstShareToSocialNetwork = 1051 + ActionReasonConst.DestroyMaterial = 1052 + ActionReasonConst.CodexLevelupReward = 1053 + ActionReasonConst.HuntingOfferReward = 1054 + ActionReasonConst.UseWidgetAnchorPoint = 1055 + ActionReasonConst.UseWidgetBonfire = 1056 + ActionReasonConst.UngradeWeaponReturnMaterial = 1057 + ActionReasonConst.UseWidgetOneoffGatherPointDetector = 1058 + ActionReasonConst.UseWidgetClientCollector = 1059 + ActionReasonConst.UseWidgetClientDetector = 1060 + ActionReasonConst.TakeGeneralReward = 1061 + ActionReasonConst.AsterTakeSpecialReward = 1062 + ActionReasonConst.RemoveCodexBook = 1063 + ActionReasonConst.OfferingItem = 1064 + ActionReasonConst.UseWidgetGadgetBuilder = 1065 + ActionReasonConst.EffigyFirstPassReward = 1066 + ActionReasonConst.EffigyReward = 1067 + ActionReasonConst.ReunionFirstGiftReward = 1068 + ActionReasonConst.ReunionSignInReward = 1069 + ActionReasonConst.ReunionWatcherReward = 1070 + ActionReasonConst.SalesmanMpReward = 1071 + ActionReasonConst.ActionReasionAvatarPromoteReward = 1072 + ActionReasonConst.BlessingRedeemReward = 1073 + ActionReasonConst.ActionMiracleRingReward = 1074 + ActionReasonConst.ExpeditionReward = 1075 + ActionReasonConst.TreasureMapRemoveDetector = 1076 + ActionReasonConst.MechanicusDungeonTicket = 1077 + ActionReasonConst.MechanicusLevelupGear = 1078 + ActionReasonConst.MechanicusBattleSettle = 1079 + ActionReasonConst.RegionSearchReward = 1080 + ActionReasonConst.UnlockCoopChapter = 1081 + ActionReasonConst.TakeCoopReward = 1082 + ActionReasonConst.FleurFairDungeonReward = 1083 + ActionReasonConst.ActivityScore = 1084 + ActionReasonConst.ChannellerSlabOneoffDungeonReward = 1085 + ActionReasonConst.FurnitureMakeStart = 1086 + ActionReasonConst.FurnitureMakeTake = 1087 + ActionReasonConst.FurnitureMakeCancel = 1088 + ActionReasonConst.FurnitureMakeFastFinish = 1089 + ActionReasonConst.ChannellerSlabLoopDungeonFirstPassReward = 1090 + ActionReasonConst.ChannellerSlabLoopDungeonScoreReward = 1091 + ActionReasonConst.HomeLimitedShopBuy = 1092 + ActionReasonConst.HomeCoinCollect = 1093 +} diff --git a/service/game-hk4e/constant/climate_type.go b/service/game-hk4e/constant/climate_type.go new file mode 100644 index 00000000..b3895a45 --- /dev/null +++ b/service/game-hk4e/constant/climate_type.go @@ -0,0 +1,25 @@ +package constant + +var ClimateTypeConst *ClimateType + +type ClimateType struct { + CLIMATE_NONE uint16 + CLIMATE_SUNNY uint16 + CLIMATE_CLOUDY uint16 + CLIMATE_RAIN uint16 + CLIMATE_THUNDERSTORM uint16 + CLIMATE_SNOW uint16 + CLIMATE_MIST uint16 +} + +func InitClimateTypeConst() { + ClimateTypeConst = new(ClimateType) + + ClimateTypeConst.CLIMATE_NONE = 0 + ClimateTypeConst.CLIMATE_SUNNY = 1 + ClimateTypeConst.CLIMATE_CLOUDY = 2 + ClimateTypeConst.CLIMATE_RAIN = 3 + ClimateTypeConst.CLIMATE_THUNDERSTORM = 4 + ClimateTypeConst.CLIMATE_SNOW = 5 + ClimateTypeConst.CLIMATE_MIST = 6 +} diff --git a/service/game-hk4e/constant/constant.go b/service/game-hk4e/constant/constant.go new file mode 100644 index 00000000..e8c1ba61 --- /dev/null +++ b/service/game-hk4e/constant/constant.go @@ -0,0 +1,21 @@ +package constant + +func InitConstant() { + InitFightPropertyConst() + InitActionReasonConst() + InitClimateTypeConst() + InitElementTypeConst() + InitEnterReasonConst() + InitEntityIdTypeConst() + InitEquipTypeConst() + InitFetterStateConst() + InitGameConstant() + InitGrowCurveConst() + InitItemTypeConst() + InitLifeStateConst() + InitMaterialTypeConst() + InitOpenStateConst() + InitPlayerPropertyConst() + InitSceneTypeConst() + InitEntityTypeConst() +} diff --git a/service/game-hk4e/constant/element_type.go b/service/game-hk4e/constant/element_type.go new file mode 100644 index 00000000..b6a24b20 --- /dev/null +++ b/service/game-hk4e/constant/element_type.go @@ -0,0 +1,151 @@ +package constant + +import "flswld.com/common/utils/endec" + +var ElementTypeConst *ElementType + +type ElementTypeValue struct { + Value uint16 + CurrEnergyProp uint16 + MaxEnergyProp uint16 + TeamResonanceId uint16 + ConfigName string + ConfigHash int32 +} + +type ElementType struct { + None *ElementTypeValue + Fire *ElementTypeValue + Water *ElementTypeValue + Grass *ElementTypeValue + Electric *ElementTypeValue + Ice *ElementTypeValue + Frozen *ElementTypeValue + Wind *ElementTypeValue + Rock *ElementTypeValue + AntiFire *ElementTypeValue + Default *ElementTypeValue + STRING_MAP map[string]*ElementTypeValue + VALUE_MAP map[uint16]*ElementTypeValue +} + +func InitElementTypeConst() { + ElementTypeConst = new(ElementType) + + ElementTypeConst.None = &ElementTypeValue{ + 0, + FightPropertyConst.FIGHT_PROP_CUR_FIRE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_FIRE_ENERGY, + 0, + "", + endec.Hk4eAbilityHashCode(""), + } + ElementTypeConst.Fire = &ElementTypeValue{ + 1, + FightPropertyConst.FIGHT_PROP_CUR_FIRE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_FIRE_ENERGY, + 10101, + "TeamResonance_Fire_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Fire_Lv2"), + } + ElementTypeConst.Water = &ElementTypeValue{ + 2, + FightPropertyConst.FIGHT_PROP_CUR_WATER_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_WATER_ENERGY, + 10201, + "TeamResonance_Water_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Water_Lv2"), + } + ElementTypeConst.Grass = &ElementTypeValue{ + 3, + FightPropertyConst.FIGHT_PROP_CUR_GRASS_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_GRASS_ENERGY, + 0, + "", + endec.Hk4eAbilityHashCode(""), + } + ElementTypeConst.Electric = &ElementTypeValue{ + 4, + FightPropertyConst.FIGHT_PROP_CUR_ELEC_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_ELEC_ENERGY, + 10401, + "TeamResonance_Electric_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Electric_Lv2"), + } + ElementTypeConst.Ice = &ElementTypeValue{ + 5, + FightPropertyConst.FIGHT_PROP_CUR_ICE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_ICE_ENERGY, + 10601, + "TeamResonance_Ice_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Ice_Lv2"), + } + ElementTypeConst.Frozen = &ElementTypeValue{ + 6, + FightPropertyConst.FIGHT_PROP_CUR_ICE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_ICE_ENERGY, + 0, + "", + endec.Hk4eAbilityHashCode(""), + } + ElementTypeConst.Wind = &ElementTypeValue{ + 7, + FightPropertyConst.FIGHT_PROP_CUR_WIND_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_WIND_ENERGY, + 10301, + "TeamResonance_Wind_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Wind_Lv2"), + } + ElementTypeConst.Rock = &ElementTypeValue{ + 8, + FightPropertyConst.FIGHT_PROP_CUR_ROCK_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_ROCK_ENERGY, + 10701, + "TeamResonance_Rock_Lv2", + endec.Hk4eAbilityHashCode("TeamResonance_Rock_Lv2"), + } + ElementTypeConst.AntiFire = &ElementTypeValue{ + 9, + FightPropertyConst.FIGHT_PROP_CUR_FIRE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_FIRE_ENERGY, + 0, + "", + endec.Hk4eAbilityHashCode(""), + } + ElementTypeConst.Default = &ElementTypeValue{ + 255, + FightPropertyConst.FIGHT_PROP_CUR_FIRE_ENERGY, + FightPropertyConst.FIGHT_PROP_MAX_FIRE_ENERGY, + 10801, + "TeamResonance_AllDifferent", + endec.Hk4eAbilityHashCode("TeamResonance_AllDifferent"), + } + + ElementTypeConst.STRING_MAP = make(map[string]*ElementTypeValue) + + ElementTypeConst.STRING_MAP["None"] = ElementTypeConst.None + ElementTypeConst.STRING_MAP["Fire"] = ElementTypeConst.Fire + ElementTypeConst.STRING_MAP["Water"] = ElementTypeConst.Water + ElementTypeConst.STRING_MAP["Grass"] = ElementTypeConst.Grass + ElementTypeConst.STRING_MAP["Electric"] = ElementTypeConst.Electric + ElementTypeConst.STRING_MAP["Ice"] = ElementTypeConst.Ice + ElementTypeConst.STRING_MAP["Frozen"] = ElementTypeConst.Frozen + ElementTypeConst.STRING_MAP["Wind"] = ElementTypeConst.Wind + ElementTypeConst.STRING_MAP["Rock"] = ElementTypeConst.Rock + ElementTypeConst.STRING_MAP["AntiFire"] = ElementTypeConst.AntiFire + ElementTypeConst.STRING_MAP["Default"] = ElementTypeConst.Default + + ElementTypeConst.VALUE_MAP = make(map[uint16]*ElementTypeValue) + + ElementTypeConst.VALUE_MAP[0] = ElementTypeConst.None + ElementTypeConst.VALUE_MAP[1] = ElementTypeConst.Fire + ElementTypeConst.VALUE_MAP[2] = ElementTypeConst.Water + ElementTypeConst.VALUE_MAP[3] = ElementTypeConst.Grass + ElementTypeConst.VALUE_MAP[4] = ElementTypeConst.Electric + ElementTypeConst.VALUE_MAP[5] = ElementTypeConst.Ice + ElementTypeConst.VALUE_MAP[6] = ElementTypeConst.Frozen + ElementTypeConst.VALUE_MAP[7] = ElementTypeConst.Wind + ElementTypeConst.VALUE_MAP[8] = ElementTypeConst.Rock + ElementTypeConst.VALUE_MAP[9] = ElementTypeConst.AntiFire + ElementTypeConst.VALUE_MAP[255] = ElementTypeConst.Default +} diff --git a/service/game-hk4e/constant/enter_reason.go b/service/game-hk4e/constant/enter_reason.go new file mode 100644 index 00000000..7f3e5224 --- /dev/null +++ b/service/game-hk4e/constant/enter_reason.go @@ -0,0 +1,75 @@ +package constant + +var EnterReasonConst *EnterReason + +type EnterReason struct { + None uint16 + Login uint16 + DungeonReplay uint16 + DungeonReviveOnWaypoint uint16 + DungeonEnter uint16 + DungeonQuit uint16 + Gm uint16 + QuestRollback uint16 + Revival uint16 + PersonalScene uint16 + TransPoint uint16 + ClientTransmit uint16 + ForceDragBack uint16 + TeamKick uint16 + TeamJoin uint16 + TeamBack uint16 + Muip uint16 + DungeonInviteAccept uint16 + Lua uint16 + ActivityLoadTerrain uint16 + HostFromSingleToMp uint16 + MpPlay uint16 + AnchorPoint uint16 + LuaSkipUi uint16 + ReloadTerrain uint16 + DraftTransfer uint16 + EnterHome uint16 + ExitHome uint16 + ChangeHomeModule uint16 + Gallery uint16 + HomeSceneJump uint16 + HideAndSeek uint16 +} + +func InitEnterReasonConst() { + EnterReasonConst = new(EnterReason) + + EnterReasonConst.None = 0 + EnterReasonConst.Login = 1 + EnterReasonConst.DungeonReplay = 11 + EnterReasonConst.DungeonReviveOnWaypoint = 12 + EnterReasonConst.DungeonEnter = 13 + EnterReasonConst.DungeonQuit = 14 + EnterReasonConst.Gm = 21 + EnterReasonConst.QuestRollback = 31 + EnterReasonConst.Revival = 32 + EnterReasonConst.PersonalScene = 41 + EnterReasonConst.TransPoint = 42 + EnterReasonConst.ClientTransmit = 43 + EnterReasonConst.ForceDragBack = 44 + EnterReasonConst.TeamKick = 51 + EnterReasonConst.TeamJoin = 52 + EnterReasonConst.TeamBack = 53 + EnterReasonConst.Muip = 54 + EnterReasonConst.DungeonInviteAccept = 55 + EnterReasonConst.Lua = 56 + EnterReasonConst.ActivityLoadTerrain = 57 + EnterReasonConst.HostFromSingleToMp = 58 + EnterReasonConst.MpPlay = 59 + EnterReasonConst.AnchorPoint = 60 + EnterReasonConst.LuaSkipUi = 61 + EnterReasonConst.ReloadTerrain = 62 + EnterReasonConst.DraftTransfer = 63 + EnterReasonConst.EnterHome = 64 + EnterReasonConst.ExitHome = 65 + EnterReasonConst.ChangeHomeModule = 66 + EnterReasonConst.Gallery = 67 + EnterReasonConst.HomeSceneJump = 68 + EnterReasonConst.HideAndSeek = 69 +} diff --git a/service/game-hk4e/constant/entity_id_type.go b/service/game-hk4e/constant/entity_id_type.go new file mode 100644 index 00000000..e33dd1a6 --- /dev/null +++ b/service/game-hk4e/constant/entity_id_type.go @@ -0,0 +1,25 @@ +package constant + +var EntityIdTypeConst *EntityIdType + +type EntityIdType struct { + AVATAR uint16 + MONSTER uint16 + NPC uint16 + GADGET uint16 + WEAPON uint16 + TEAM uint16 + MPLEVEL uint16 +} + +func InitEntityIdTypeConst() { + EntityIdTypeConst = new(EntityIdType) + + EntityIdTypeConst.AVATAR = 0x01 + EntityIdTypeConst.MONSTER = 0x02 + EntityIdTypeConst.NPC = 0x03 + EntityIdTypeConst.GADGET = 0x04 + EntityIdTypeConst.WEAPON = 0x06 + EntityIdTypeConst.TEAM = 0x09 + EntityIdTypeConst.MPLEVEL = 0x0b +} diff --git a/service/game-hk4e/constant/entity_type.go b/service/game-hk4e/constant/entity_type.go new file mode 100644 index 00000000..fb389b7b --- /dev/null +++ b/service/game-hk4e/constant/entity_type.go @@ -0,0 +1,180 @@ +package constant + +var EntityTypeConst *EntityType + +type EntityType struct { + None uint16 + Avatar uint16 + Monster uint16 + Bullet uint16 + AttackPhyisicalUnit uint16 + AOE uint16 + Camera uint16 + EnviroArea uint16 + Equip uint16 + MonsterEquip uint16 + Grass uint16 + Level uint16 + NPC uint16 + TransPointFirst uint16 + TransPointFirstGadget uint16 + TransPointSecond uint16 + TransPointSecondGadget uint16 + DropItem uint16 + Field uint16 + Gadget uint16 + Water uint16 + GatherPoint uint16 + GatherObject uint16 + AirflowField uint16 + SpeedupField uint16 + Gear uint16 + Chest uint16 + EnergyBall uint16 + ElemCrystal uint16 + Timeline uint16 + Worktop uint16 + Team uint16 + Platform uint16 + AmberWind uint16 + EnvAnimal uint16 + SealGadget uint16 + Tree uint16 + Bush uint16 + QuestGadget uint16 + Lightning uint16 + RewardPoint uint16 + RewardStatue uint16 + MPLevel uint16 + WindSeed uint16 + MpPlayRewardPoint uint16 + ViewPoint uint16 + RemoteAvatar uint16 + GeneralRewardPoint uint16 + PlayTeam uint16 + OfferingGadget uint16 + EyePoint uint16 + MiracleRing uint16 + Foundation uint16 + WidgetGadget uint16 + PlaceHolder uint16 + STRING_MAP map[string]uint16 +} + +func InitEntityTypeConst() { + EntityTypeConst = new(EntityType) + + EntityTypeConst.None = 0 + EntityTypeConst.Avatar = 1 + EntityTypeConst.Monster = 2 + EntityTypeConst.Bullet = 3 + EntityTypeConst.AttackPhyisicalUnit = 4 + EntityTypeConst.AOE = 5 + EntityTypeConst.Camera = 6 + EntityTypeConst.EnviroArea = 7 + EntityTypeConst.Equip = 8 + EntityTypeConst.MonsterEquip = 9 + EntityTypeConst.Grass = 10 + EntityTypeConst.Level = 11 + EntityTypeConst.NPC = 12 + EntityTypeConst.TransPointFirst = 13 + EntityTypeConst.TransPointFirstGadget = 14 + EntityTypeConst.TransPointSecond = 15 + EntityTypeConst.TransPointSecondGadget = 16 + EntityTypeConst.DropItem = 17 + EntityTypeConst.Field = 18 + EntityTypeConst.Gadget = 19 + EntityTypeConst.Water = 20 + EntityTypeConst.GatherPoint = 21 + EntityTypeConst.GatherObject = 22 + EntityTypeConst.AirflowField = 23 + EntityTypeConst.SpeedupField = 24 + EntityTypeConst.Gear = 25 + EntityTypeConst.Chest = 26 + EntityTypeConst.EnergyBall = 27 + EntityTypeConst.ElemCrystal = 28 + EntityTypeConst.Timeline = 29 + EntityTypeConst.Worktop = 30 + EntityTypeConst.Team = 31 + EntityTypeConst.Platform = 32 + EntityTypeConst.AmberWind = 33 + EntityTypeConst.EnvAnimal = 34 + EntityTypeConst.SealGadget = 35 + EntityTypeConst.Tree = 36 + EntityTypeConst.Bush = 37 + EntityTypeConst.QuestGadget = 38 + EntityTypeConst.Lightning = 39 + EntityTypeConst.RewardPoint = 40 + EntityTypeConst.RewardStatue = 41 + EntityTypeConst.MPLevel = 42 + EntityTypeConst.WindSeed = 43 + EntityTypeConst.MpPlayRewardPoint = 44 + EntityTypeConst.ViewPoint = 45 + EntityTypeConst.RemoteAvatar = 46 + EntityTypeConst.GeneralRewardPoint = 47 + EntityTypeConst.PlayTeam = 48 + EntityTypeConst.OfferingGadget = 49 + EntityTypeConst.EyePoint = 50 + EntityTypeConst.MiracleRing = 51 + EntityTypeConst.Foundation = 52 + EntityTypeConst.WidgetGadget = 53 + EntityTypeConst.PlaceHolder = 99 + + EntityTypeConst.STRING_MAP = make(map[string]uint16) + + EntityTypeConst.STRING_MAP["None"] = EntityTypeConst.None + EntityTypeConst.STRING_MAP["Avatar"] = EntityTypeConst.Avatar + EntityTypeConst.STRING_MAP["Monster"] = EntityTypeConst.Monster + EntityTypeConst.STRING_MAP["Bullet"] = EntityTypeConst.Bullet + EntityTypeConst.STRING_MAP["AttackPhyisicalUnit"] = EntityTypeConst.AttackPhyisicalUnit + EntityTypeConst.STRING_MAP["AOE"] = EntityTypeConst.AOE + EntityTypeConst.STRING_MAP["Camera"] = EntityTypeConst.Camera + EntityTypeConst.STRING_MAP["EnviroArea"] = EntityTypeConst.EnviroArea + EntityTypeConst.STRING_MAP["Equip"] = EntityTypeConst.Equip + EntityTypeConst.STRING_MAP["MonsterEquip"] = EntityTypeConst.MonsterEquip + EntityTypeConst.STRING_MAP["Grass"] = EntityTypeConst.Grass + EntityTypeConst.STRING_MAP["Level"] = EntityTypeConst.Level + EntityTypeConst.STRING_MAP["NPC"] = EntityTypeConst.NPC + EntityTypeConst.STRING_MAP["TransPointFirst"] = EntityTypeConst.TransPointFirst + EntityTypeConst.STRING_MAP["TransPointFirstGadget"] = EntityTypeConst.TransPointFirstGadget + EntityTypeConst.STRING_MAP["TransPointSecond"] = EntityTypeConst.TransPointSecond + EntityTypeConst.STRING_MAP["TransPointSecondGadget"] = EntityTypeConst.TransPointSecondGadget + EntityTypeConst.STRING_MAP["DropItem"] = EntityTypeConst.DropItem + EntityTypeConst.STRING_MAP["Field"] = EntityTypeConst.Field + EntityTypeConst.STRING_MAP["Gadget"] = EntityTypeConst.Gadget + EntityTypeConst.STRING_MAP["Water"] = EntityTypeConst.Water + EntityTypeConst.STRING_MAP["GatherPoint"] = EntityTypeConst.GatherPoint + EntityTypeConst.STRING_MAP["GatherObject"] = EntityTypeConst.GatherObject + EntityTypeConst.STRING_MAP["AirflowField"] = EntityTypeConst.AirflowField + EntityTypeConst.STRING_MAP["SpeedupField"] = EntityTypeConst.SpeedupField + EntityTypeConst.STRING_MAP["Gear"] = EntityTypeConst.Gear + EntityTypeConst.STRING_MAP["Chest"] = EntityTypeConst.Chest + EntityTypeConst.STRING_MAP["EnergyBall"] = EntityTypeConst.EnergyBall + EntityTypeConst.STRING_MAP["ElemCrystal"] = EntityTypeConst.ElemCrystal + EntityTypeConst.STRING_MAP["Timeline"] = EntityTypeConst.Timeline + EntityTypeConst.STRING_MAP["Worktop"] = EntityTypeConst.Worktop + EntityTypeConst.STRING_MAP["Team"] = EntityTypeConst.Team + EntityTypeConst.STRING_MAP["Platform"] = EntityTypeConst.Platform + EntityTypeConst.STRING_MAP["AmberWind"] = EntityTypeConst.AmberWind + EntityTypeConst.STRING_MAP["EnvAnimal"] = EntityTypeConst.EnvAnimal + EntityTypeConst.STRING_MAP["SealGadget"] = EntityTypeConst.SealGadget + EntityTypeConst.STRING_MAP["Tree"] = EntityTypeConst.Tree + EntityTypeConst.STRING_MAP["Bush"] = EntityTypeConst.Bush + EntityTypeConst.STRING_MAP["QuestGadget"] = EntityTypeConst.QuestGadget + EntityTypeConst.STRING_MAP["Lightning"] = EntityTypeConst.Lightning + EntityTypeConst.STRING_MAP["RewardPoint"] = EntityTypeConst.RewardPoint + EntityTypeConst.STRING_MAP["RewardStatue"] = EntityTypeConst.RewardStatue + EntityTypeConst.STRING_MAP["MPLevel"] = EntityTypeConst.MPLevel + EntityTypeConst.STRING_MAP["WindSeed"] = EntityTypeConst.WindSeed + EntityTypeConst.STRING_MAP["MpPlayRewardPoint"] = EntityTypeConst.MpPlayRewardPoint + EntityTypeConst.STRING_MAP["ViewPoint"] = EntityTypeConst.ViewPoint + EntityTypeConst.STRING_MAP["RemoteAvatar"] = EntityTypeConst.RemoteAvatar + EntityTypeConst.STRING_MAP["GeneralRewardPoint"] = EntityTypeConst.GeneralRewardPoint + EntityTypeConst.STRING_MAP["PlayTeam"] = EntityTypeConst.PlayTeam + EntityTypeConst.STRING_MAP["OfferingGadget"] = EntityTypeConst.OfferingGadget + EntityTypeConst.STRING_MAP["EyePoint"] = EntityTypeConst.EyePoint + EntityTypeConst.STRING_MAP["MiracleRing"] = EntityTypeConst.MiracleRing + EntityTypeConst.STRING_MAP["Foundation"] = EntityTypeConst.Foundation + EntityTypeConst.STRING_MAP["WidgetGadget"] = EntityTypeConst.WidgetGadget + EntityTypeConst.STRING_MAP["PlaceHolder"] = EntityTypeConst.PlaceHolder +} diff --git a/service/game-hk4e/constant/equip_type.go b/service/game-hk4e/constant/equip_type.go new file mode 100644 index 00000000..5cbb85c6 --- /dev/null +++ b/service/game-hk4e/constant/equip_type.go @@ -0,0 +1,36 @@ +package constant + +var EquipTypeConst *EquipType + +type EquipType struct { + EQUIP_NONE uint16 + EQUIP_BRACER uint16 + EQUIP_NECKLACE uint16 + EQUIP_SHOES uint16 + EQUIP_RING uint16 + EQUIP_DRESS uint16 + EQUIP_WEAPON uint16 + STRING_MAP map[string]uint16 +} + +func InitEquipTypeConst() { + EquipTypeConst = new(EquipType) + + EquipTypeConst.EQUIP_NONE = 0 + EquipTypeConst.EQUIP_BRACER = 1 + EquipTypeConst.EQUIP_NECKLACE = 2 + EquipTypeConst.EQUIP_SHOES = 3 + EquipTypeConst.EQUIP_RING = 4 + EquipTypeConst.EQUIP_DRESS = 5 + EquipTypeConst.EQUIP_WEAPON = 6 + + EquipTypeConst.STRING_MAP = make(map[string]uint16) + + EquipTypeConst.STRING_MAP["EQUIP_NONE"] = 0 + EquipTypeConst.STRING_MAP["EQUIP_BRACER"] = 1 + EquipTypeConst.STRING_MAP["EQUIP_NECKLACE"] = 2 + EquipTypeConst.STRING_MAP["EQUIP_SHOES"] = 3 + EquipTypeConst.STRING_MAP["EQUIP_RING"] = 4 + EquipTypeConst.STRING_MAP["EQUIP_DRESS"] = 5 + EquipTypeConst.STRING_MAP["EQUIP_WEAPON"] = 6 +} diff --git a/service/game-hk4e/constant/fetter_state.go b/service/game-hk4e/constant/fetter_state.go new file mode 100644 index 00000000..885037f9 --- /dev/null +++ b/service/game-hk4e/constant/fetter_state.go @@ -0,0 +1,19 @@ +package constant + +var FetterStateConst *FetterState + +type FetterState struct { + NONE uint16 + NOT_OPEN uint16 + OPEN uint16 + FINISH uint16 +} + +func InitFetterStateConst() { + FetterStateConst = new(FetterState) + + FetterStateConst.NONE = 0 + FetterStateConst.NOT_OPEN = 1 + FetterStateConst.OPEN = 1 + FetterStateConst.FINISH = 3 +} diff --git a/service/game-hk4e/constant/fight_property.go b/service/game-hk4e/constant/fight_property.go new file mode 100644 index 00000000..6b6d7e5c --- /dev/null +++ b/service/game-hk4e/constant/fight_property.go @@ -0,0 +1,303 @@ +package constant + +var FightPropertyConst *FightProperty + +type FightProperty struct { + FIGHT_PROP_NONE uint16 + FIGHT_PROP_BASE_HP uint16 + FIGHT_PROP_HP uint16 + FIGHT_PROP_HP_PERCENT uint16 + FIGHT_PROP_BASE_ATTACK uint16 + FIGHT_PROP_ATTACK uint16 + FIGHT_PROP_ATTACK_PERCENT uint16 + FIGHT_PROP_BASE_DEFENSE uint16 + FIGHT_PROP_DEFENSE uint16 + FIGHT_PROP_DEFENSE_PERCENT uint16 + FIGHT_PROP_BASE_SPEED uint16 + FIGHT_PROP_SPEED_PERCENT uint16 + FIGHT_PROP_HP_MP_PERCENT uint16 + FIGHT_PROP_ATTACK_MP_PERCENT uint16 + FIGHT_PROP_CRITICAL uint16 + FIGHT_PROP_ANTI_CRITICAL uint16 + FIGHT_PROP_CRITICAL_HURT uint16 + FIGHT_PROP_CHARGE_EFFICIENCY uint16 + FIGHT_PROP_ADD_HURT uint16 + FIGHT_PROP_SUB_HURT uint16 + FIGHT_PROP_HEAL_ADD uint16 + FIGHT_PROP_HEALED_ADD uint16 + FIGHT_PROP_ELEMENT_MASTERY uint16 + FIGHT_PROP_PHYSICAL_SUB_HURT uint16 + FIGHT_PROP_PHYSICAL_ADD_HURT uint16 + FIGHT_PROP_DEFENCE_IGNORE_RATIO uint16 + FIGHT_PROP_DEFENCE_IGNORE_DELTA uint16 + FIGHT_PROP_FIRE_ADD_HURT uint16 + FIGHT_PROP_ELEC_ADD_HURT uint16 + FIGHT_PROP_WATER_ADD_HURT uint16 + FIGHT_PROP_GRASS_ADD_HURT uint16 + FIGHT_PROP_WIND_ADD_HURT uint16 + FIGHT_PROP_ROCK_ADD_HURT uint16 + FIGHT_PROP_ICE_ADD_HURT uint16 + FIGHT_PROP_HIT_HEAD_ADD_HURT uint16 + FIGHT_PROP_FIRE_SUB_HURT uint16 + FIGHT_PROP_ELEC_SUB_HURT uint16 + FIGHT_PROP_WATER_SUB_HURT uint16 + FIGHT_PROP_GRASS_SUB_HURT uint16 + FIGHT_PROP_WIND_SUB_HURT uint16 + FIGHT_PROP_ROCK_SUB_HURT uint16 + FIGHT_PROP_ICE_SUB_HURT uint16 + FIGHT_PROP_EFFECT_HIT uint16 + FIGHT_PROP_EFFECT_RESIST uint16 + FIGHT_PROP_FREEZE_RESIST uint16 + FIGHT_PROP_TORPOR_RESIST uint16 + FIGHT_PROP_DIZZY_RESIST uint16 + FIGHT_PROP_FREEZE_SHORTEN uint16 + FIGHT_PROP_TORPOR_SHORTEN uint16 + FIGHT_PROP_DIZZY_SHORTEN uint16 + FIGHT_PROP_MAX_FIRE_ENERGY uint16 + FIGHT_PROP_MAX_ELEC_ENERGY uint16 + FIGHT_PROP_MAX_WATER_ENERGY uint16 + FIGHT_PROP_MAX_GRASS_ENERGY uint16 + FIGHT_PROP_MAX_WIND_ENERGY uint16 + FIGHT_PROP_MAX_ICE_ENERGY uint16 + FIGHT_PROP_MAX_ROCK_ENERGY uint16 + FIGHT_PROP_SKILL_CD_MINUS_RATIO uint16 + FIGHT_PROP_SHIELD_COST_MINUS_RATIO uint16 + FIGHT_PROP_CUR_FIRE_ENERGY uint16 + FIGHT_PROP_CUR_ELEC_ENERGY uint16 + FIGHT_PROP_CUR_WATER_ENERGY uint16 + FIGHT_PROP_CUR_GRASS_ENERGY uint16 + FIGHT_PROP_CUR_WIND_ENERGY uint16 + FIGHT_PROP_CUR_ICE_ENERGY uint16 + FIGHT_PROP_CUR_ROCK_ENERGY uint16 + FIGHT_PROP_CUR_HP uint16 + FIGHT_PROP_MAX_HP uint16 + FIGHT_PROP_CUR_ATTACK uint16 + FIGHT_PROP_CUR_DEFENSE uint16 + FIGHT_PROP_CUR_SPEED uint16 + FIGHT_PROP_NONEXTRA_ATTACK uint16 + FIGHT_PROP_NONEXTRA_DEFENSE uint16 + FIGHT_PROP_NONEXTRA_CRITICAL uint16 + FIGHT_PROP_NONEXTRA_ANTI_CRITICAL uint16 + FIGHT_PROP_NONEXTRA_CRITICAL_HURT uint16 + FIGHT_PROP_NONEXTRA_CHARGE_EFFICIENCY uint16 + FIGHT_PROP_NONEXTRA_ELEMENT_MASTERY uint16 + FIGHT_PROP_NONEXTRA_PHYSICAL_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_FIRE_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_ELEC_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_WATER_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_GRASS_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_WIND_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_ROCK_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_ICE_ADD_HURT uint16 + FIGHT_PROP_NONEXTRA_FIRE_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_ELEC_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_WATER_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_GRASS_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_WIND_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_ROCK_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_ICE_SUB_HURT uint16 + FIGHT_PROP_NONEXTRA_SKILL_CD_MINUS_RATIO uint16 + FIGHT_PROP_NONEXTRA_SHIELD_COST_MINUS_RATIO uint16 + FIGHT_PROP_NONEXTRA_PHYSICAL_ADD_HURT uint16 + STRING_MAP map[string]uint16 +} + +func InitFightPropertyConst() { + FightPropertyConst = new(FightProperty) + + FightPropertyConst.FIGHT_PROP_NONE = 0 + FightPropertyConst.FIGHT_PROP_BASE_HP = 1 + FightPropertyConst.FIGHT_PROP_HP = 2 + FightPropertyConst.FIGHT_PROP_HP_PERCENT = 3 + FightPropertyConst.FIGHT_PROP_BASE_ATTACK = 4 + FightPropertyConst.FIGHT_PROP_ATTACK = 5 + FightPropertyConst.FIGHT_PROP_ATTACK_PERCENT = 6 + FightPropertyConst.FIGHT_PROP_BASE_DEFENSE = 7 + FightPropertyConst.FIGHT_PROP_DEFENSE = 8 + FightPropertyConst.FIGHT_PROP_DEFENSE_PERCENT = 9 + FightPropertyConst.FIGHT_PROP_BASE_SPEED = 10 + FightPropertyConst.FIGHT_PROP_SPEED_PERCENT = 11 + FightPropertyConst.FIGHT_PROP_HP_MP_PERCENT = 12 + FightPropertyConst.FIGHT_PROP_ATTACK_MP_PERCENT = 13 + FightPropertyConst.FIGHT_PROP_CRITICAL = 20 + FightPropertyConst.FIGHT_PROP_ANTI_CRITICAL = 21 + FightPropertyConst.FIGHT_PROP_CRITICAL_HURT = 22 + FightPropertyConst.FIGHT_PROP_CHARGE_EFFICIENCY = 23 + FightPropertyConst.FIGHT_PROP_ADD_HURT = 24 + FightPropertyConst.FIGHT_PROP_SUB_HURT = 25 + FightPropertyConst.FIGHT_PROP_HEAL_ADD = 26 + FightPropertyConst.FIGHT_PROP_HEALED_ADD = 27 + FightPropertyConst.FIGHT_PROP_ELEMENT_MASTERY = 28 + FightPropertyConst.FIGHT_PROP_PHYSICAL_SUB_HURT = 29 + FightPropertyConst.FIGHT_PROP_PHYSICAL_ADD_HURT = 30 + FightPropertyConst.FIGHT_PROP_DEFENCE_IGNORE_RATIO = 31 + FightPropertyConst.FIGHT_PROP_DEFENCE_IGNORE_DELTA = 32 + FightPropertyConst.FIGHT_PROP_FIRE_ADD_HURT = 40 + FightPropertyConst.FIGHT_PROP_ELEC_ADD_HURT = 41 + FightPropertyConst.FIGHT_PROP_WATER_ADD_HURT = 42 + FightPropertyConst.FIGHT_PROP_GRASS_ADD_HURT = 43 + FightPropertyConst.FIGHT_PROP_WIND_ADD_HURT = 44 + FightPropertyConst.FIGHT_PROP_ROCK_ADD_HURT = 45 + FightPropertyConst.FIGHT_PROP_ICE_ADD_HURT = 46 + FightPropertyConst.FIGHT_PROP_HIT_HEAD_ADD_HURT = 47 + FightPropertyConst.FIGHT_PROP_FIRE_SUB_HURT = 50 + FightPropertyConst.FIGHT_PROP_ELEC_SUB_HURT = 51 + FightPropertyConst.FIGHT_PROP_WATER_SUB_HURT = 52 + FightPropertyConst.FIGHT_PROP_GRASS_SUB_HURT = 53 + FightPropertyConst.FIGHT_PROP_WIND_SUB_HURT = 54 + FightPropertyConst.FIGHT_PROP_ROCK_SUB_HURT = 55 + FightPropertyConst.FIGHT_PROP_ICE_SUB_HURT = 56 + FightPropertyConst.FIGHT_PROP_EFFECT_HIT = 60 + FightPropertyConst.FIGHT_PROP_EFFECT_RESIST = 61 + FightPropertyConst.FIGHT_PROP_FREEZE_RESIST = 62 + FightPropertyConst.FIGHT_PROP_TORPOR_RESIST = 63 + FightPropertyConst.FIGHT_PROP_DIZZY_RESIST = 64 + FightPropertyConst.FIGHT_PROP_FREEZE_SHORTEN = 65 + FightPropertyConst.FIGHT_PROP_TORPOR_SHORTEN = 66 + FightPropertyConst.FIGHT_PROP_DIZZY_SHORTEN = 67 + FightPropertyConst.FIGHT_PROP_MAX_FIRE_ENERGY = 70 + FightPropertyConst.FIGHT_PROP_MAX_ELEC_ENERGY = 71 + FightPropertyConst.FIGHT_PROP_MAX_WATER_ENERGY = 72 + FightPropertyConst.FIGHT_PROP_MAX_GRASS_ENERGY = 73 + FightPropertyConst.FIGHT_PROP_MAX_WIND_ENERGY = 74 + FightPropertyConst.FIGHT_PROP_MAX_ICE_ENERGY = 75 + FightPropertyConst.FIGHT_PROP_MAX_ROCK_ENERGY = 76 + FightPropertyConst.FIGHT_PROP_SKILL_CD_MINUS_RATIO = 80 + FightPropertyConst.FIGHT_PROP_SHIELD_COST_MINUS_RATIO = 81 + FightPropertyConst.FIGHT_PROP_CUR_FIRE_ENERGY = 1000 + FightPropertyConst.FIGHT_PROP_CUR_ELEC_ENERGY = 1001 + FightPropertyConst.FIGHT_PROP_CUR_WATER_ENERGY = 1002 + FightPropertyConst.FIGHT_PROP_CUR_GRASS_ENERGY = 1003 + FightPropertyConst.FIGHT_PROP_CUR_WIND_ENERGY = 1004 + FightPropertyConst.FIGHT_PROP_CUR_ICE_ENERGY = 1005 + FightPropertyConst.FIGHT_PROP_CUR_ROCK_ENERGY = 1006 + FightPropertyConst.FIGHT_PROP_CUR_HP = 1010 + FightPropertyConst.FIGHT_PROP_MAX_HP = 2000 + FightPropertyConst.FIGHT_PROP_CUR_ATTACK = 2001 + FightPropertyConst.FIGHT_PROP_CUR_DEFENSE = 2002 + FightPropertyConst.FIGHT_PROP_CUR_SPEED = 2003 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ATTACK = 3000 + FightPropertyConst.FIGHT_PROP_NONEXTRA_DEFENSE = 3001 + FightPropertyConst.FIGHT_PROP_NONEXTRA_CRITICAL = 3002 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ANTI_CRITICAL = 3003 + FightPropertyConst.FIGHT_PROP_NONEXTRA_CRITICAL_HURT = 3004 + FightPropertyConst.FIGHT_PROP_NONEXTRA_CHARGE_EFFICIENCY = 3005 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ELEMENT_MASTERY = 3006 + FightPropertyConst.FIGHT_PROP_NONEXTRA_PHYSICAL_SUB_HURT = 3007 + FightPropertyConst.FIGHT_PROP_NONEXTRA_FIRE_ADD_HURT = 3008 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ELEC_ADD_HURT = 3009 + FightPropertyConst.FIGHT_PROP_NONEXTRA_WATER_ADD_HURT = 3010 + FightPropertyConst.FIGHT_PROP_NONEXTRA_GRASS_ADD_HURT = 3011 + FightPropertyConst.FIGHT_PROP_NONEXTRA_WIND_ADD_HURT = 3012 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ROCK_ADD_HURT = 3013 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ICE_ADD_HURT = 3014 + FightPropertyConst.FIGHT_PROP_NONEXTRA_FIRE_SUB_HURT = 3015 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ELEC_SUB_HURT = 3016 + FightPropertyConst.FIGHT_PROP_NONEXTRA_WATER_SUB_HURT = 3017 + FightPropertyConst.FIGHT_PROP_NONEXTRA_GRASS_SUB_HURT = 3018 + FightPropertyConst.FIGHT_PROP_NONEXTRA_WIND_SUB_HURT = 3019 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ROCK_SUB_HURT = 3020 + FightPropertyConst.FIGHT_PROP_NONEXTRA_ICE_SUB_HURT = 3021 + FightPropertyConst.FIGHT_PROP_NONEXTRA_SKILL_CD_MINUS_RATIO = 3022 + FightPropertyConst.FIGHT_PROP_NONEXTRA_SHIELD_COST_MINUS_RATIO = 3023 + FightPropertyConst.FIGHT_PROP_NONEXTRA_PHYSICAL_ADD_HURT = 3024 + + FightPropertyConst.STRING_MAP = make(map[string]uint16) + + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONE"] = 0 + FightPropertyConst.STRING_MAP["FIGHT_PROP_BASE_HP"] = 1 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HP"] = 2 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HP_PERCENT"] = 3 + FightPropertyConst.STRING_MAP["FIGHT_PROP_BASE_ATTACK"] = 4 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ATTACK"] = 5 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ATTACK_PERCENT"] = 6 + FightPropertyConst.STRING_MAP["FIGHT_PROP_BASE_DEFENSE"] = 7 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DEFENSE"] = 8 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DEFENSE_PERCENT"] = 9 + FightPropertyConst.STRING_MAP["FIGHT_PROP_BASE_SPEED"] = 10 + FightPropertyConst.STRING_MAP["FIGHT_PROP_SPEED_PERCENT"] = 11 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HP_MP_PERCENT"] = 12 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ATTACK_MP_PERCENT"] = 13 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CRITICAL"] = 20 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ANTI_CRITICAL"] = 21 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CRITICAL_HURT"] = 22 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CHARGE_EFFICIENCY"] = 23 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ADD_HURT"] = 24 + FightPropertyConst.STRING_MAP["FIGHT_PROP_SUB_HURT"] = 25 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HEAL_ADD"] = 26 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HEALED_ADD"] = 27 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ELEMENT_MASTERY"] = 28 + FightPropertyConst.STRING_MAP["FIGHT_PROP_PHYSICAL_SUB_HURT"] = 29 + FightPropertyConst.STRING_MAP["FIGHT_PROP_PHYSICAL_ADD_HURT"] = 30 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DEFENCE_IGNORE_RATIO"] = 31 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DEFENCE_IGNORE_DELTA"] = 32 + FightPropertyConst.STRING_MAP["FIGHT_PROP_FIRE_ADD_HURT"] = 40 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ELEC_ADD_HURT"] = 41 + FightPropertyConst.STRING_MAP["FIGHT_PROP_WATER_ADD_HURT"] = 42 + FightPropertyConst.STRING_MAP["FIGHT_PROP_GRASS_ADD_HURT"] = 43 + FightPropertyConst.STRING_MAP["FIGHT_PROP_WIND_ADD_HURT"] = 44 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ROCK_ADD_HURT"] = 45 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ICE_ADD_HURT"] = 46 + FightPropertyConst.STRING_MAP["FIGHT_PROP_HIT_HEAD_ADD_HURT"] = 47 + FightPropertyConst.STRING_MAP["FIGHT_PROP_FIRE_SUB_HURT"] = 50 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ELEC_SUB_HURT"] = 51 + FightPropertyConst.STRING_MAP["FIGHT_PROP_WATER_SUB_HURT"] = 52 + FightPropertyConst.STRING_MAP["FIGHT_PROP_GRASS_SUB_HURT"] = 53 + FightPropertyConst.STRING_MAP["FIGHT_PROP_WIND_SUB_HURT"] = 54 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ROCK_SUB_HURT"] = 55 + FightPropertyConst.STRING_MAP["FIGHT_PROP_ICE_SUB_HURT"] = 56 + FightPropertyConst.STRING_MAP["FIGHT_PROP_EFFECT_HIT"] = 60 + FightPropertyConst.STRING_MAP["FIGHT_PROP_EFFECT_RESIST"] = 61 + FightPropertyConst.STRING_MAP["FIGHT_PROP_FREEZE_RESIST"] = 62 + FightPropertyConst.STRING_MAP["FIGHT_PROP_TORPOR_RESIST"] = 63 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DIZZY_RESIST"] = 64 + FightPropertyConst.STRING_MAP["FIGHT_PROP_FREEZE_SHORTEN"] = 65 + FightPropertyConst.STRING_MAP["FIGHT_PROP_TORPOR_SHORTEN"] = 66 + FightPropertyConst.STRING_MAP["FIGHT_PROP_DIZZY_SHORTEN"] = 67 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_FIRE_ENERGY"] = 70 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_ELEC_ENERGY"] = 71 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_WATER_ENERGY"] = 72 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_GRASS_ENERGY"] = 73 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_WIND_ENERGY"] = 74 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_ICE_ENERGY"] = 75 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_ROCK_ENERGY"] = 76 + FightPropertyConst.STRING_MAP["FIGHT_PROP_SKILL_CD_MINUS_RATIO"] = 80 + FightPropertyConst.STRING_MAP["FIGHT_PROP_SHIELD_COST_MINUS_RATIO"] = 81 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_FIRE_ENERGY"] = 1000 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_ELEC_ENERGY"] = 1001 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_WATER_ENERGY"] = 1002 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_GRASS_ENERGY"] = 1003 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_WIND_ENERGY"] = 1004 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_ICE_ENERGY"] = 1005 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_ROCK_ENERGY"] = 1006 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_HP"] = 1010 + FightPropertyConst.STRING_MAP["FIGHT_PROP_MAX_HP"] = 2000 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_ATTACK"] = 2001 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_DEFENSE"] = 2002 + FightPropertyConst.STRING_MAP["FIGHT_PROP_CUR_SPEED"] = 2003 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ATTACK"] = 3000 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_DEFENSE"] = 3001 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_CRITICAL"] = 3002 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ANTI_CRITICAL"] = 3003 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_CRITICAL_HURT"] = 3004 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_CHARGE_EFFICIENCY"] = 3005 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ELEMENT_MASTERY"] = 3006 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_PHYSICAL_SUB_HURT"] = 3007 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_FIRE_ADD_HURT"] = 3008 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ELEC_ADD_HURT"] = 3009 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_WATER_ADD_HURT"] = 3010 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_GRASS_ADD_HURT"] = 3011 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_WIND_ADD_HURT"] = 3012 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ROCK_ADD_HURT"] = 3013 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ICE_ADD_HURT"] = 3014 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_FIRE_SUB_HURT"] = 3015 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ELEC_SUB_HURT"] = 3016 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_WATER_SUB_HURT"] = 3017 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_GRASS_SUB_HURT"] = 3018 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_WIND_SUB_HURT"] = 3019 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ROCK_SUB_HURT"] = 3020 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_ICE_SUB_HURT"] = 3021 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_SKILL_CD_MINUS_RATIO"] = 3022 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_SHIELD_COST_MINUS_RATIO"] = 3023 + FightPropertyConst.STRING_MAP["FIGHT_PROP_NONEXTRA_PHYSICAL_ADD_HURT"] = 3024 +} diff --git a/service/game-hk4e/constant/game_constant.go b/service/game-hk4e/constant/game_constant.go new file mode 100644 index 00000000..9e454595 --- /dev/null +++ b/service/game-hk4e/constant/game_constant.go @@ -0,0 +1,32 @@ +package constant + +import "flswld.com/common/utils/endec" + +var GameConstantConst *GameConstant + +type GameConstant struct { + DEFAULT_ABILITY_STRINGS []string + DEFAULT_ABILITY_HASHES []int32 + DEFAULT_ABILITY_NAME int32 +} + +func InitGameConstant() { + GameConstantConst = new(GameConstant) + + GameConstantConst.DEFAULT_ABILITY_STRINGS = []string{ + "Avatar_DefaultAbility_VisionReplaceDieInvincible", + "Avatar_DefaultAbility_AvartarInShaderChange", + "Avatar_SprintBS_Invincible", + "Avatar_Freeze_Duration_Reducer", + "Avatar_Attack_ReviveEnergy", + "Avatar_Component_Initializer", + "Avatar_FallAnthem_Achievement_Listener", + } + + GameConstantConst.DEFAULT_ABILITY_HASHES = make([]int32, 0) + for _, v := range GameConstantConst.DEFAULT_ABILITY_STRINGS { + GameConstantConst.DEFAULT_ABILITY_HASHES = append(GameConstantConst.DEFAULT_ABILITY_HASHES, endec.Hk4eAbilityHashCode(v)) + } + + GameConstantConst.DEFAULT_ABILITY_NAME = endec.Hk4eAbilityHashCode("Default") +} diff --git a/service/game-hk4e/constant/grow_curve.go b/service/game-hk4e/constant/grow_curve.go new file mode 100644 index 00000000..a9defa68 --- /dev/null +++ b/service/game-hk4e/constant/grow_curve.go @@ -0,0 +1,131 @@ +package constant + +var GrowCurveConst *GrowCurve + +type GrowCurve struct { + GROW_CURVE_NONE uint16 + GROW_CURVE_HP uint16 + GROW_CURVE_ATTACK uint16 + GROW_CURVE_STAMINA uint16 + GROW_CURVE_STRIKE uint16 + GROW_CURVE_ANTI_STRIKE uint16 + GROW_CURVE_ANTI_STRIKE1 uint16 + GROW_CURVE_ANTI_STRIKE2 uint16 + GROW_CURVE_ANTI_STRIKE3 uint16 + GROW_CURVE_STRIKE_HURT uint16 + GROW_CURVE_ELEMENT uint16 + GROW_CURVE_KILL_EXP uint16 + GROW_CURVE_DEFENSE uint16 + GROW_CURVE_ATTACK_BOMB uint16 + GROW_CURVE_HP_LITTLEMONSTER uint16 + GROW_CURVE_ELEMENT_MASTERY uint16 + GROW_CURVE_PROGRESSION uint16 + GROW_CURVE_DEFENDING uint16 + GROW_CURVE_MHP uint16 + GROW_CURVE_MATK uint16 + GROW_CURVE_TOWERATK uint16 + GROW_CURVE_HP_S5 uint16 + GROW_CURVE_HP_S4 uint16 + GROW_CURVE_HP_2 uint16 + GROW_CURVE_ATTACK_S5 uint16 + GROW_CURVE_ATTACK_S4 uint16 + GROW_CURVE_ATTACK_S3 uint16 + GROW_CURVE_STRIKE_S5 uint16 + GROW_CURVE_DEFENSE_S5 uint16 + GROW_CURVE_DEFENSE_S4 uint16 + GROW_CURVE_ATTACK_101 uint16 + GROW_CURVE_ATTACK_102 uint16 + GROW_CURVE_ATTACK_103 uint16 + GROW_CURVE_ATTACK_104 uint16 + GROW_CURVE_ATTACK_105 uint16 + GROW_CURVE_ATTACK_201 uint16 + GROW_CURVE_ATTACK_202 uint16 + GROW_CURVE_ATTACK_203 uint16 + GROW_CURVE_ATTACK_204 uint16 + GROW_CURVE_ATTACK_205 uint16 + GROW_CURVE_ATTACK_301 uint16 + GROW_CURVE_ATTACK_302 uint16 + GROW_CURVE_ATTACK_303 uint16 + GROW_CURVE_ATTACK_304 uint16 + GROW_CURVE_ATTACK_305 uint16 + GROW_CURVE_CRITICAL_101 uint16 + GROW_CURVE_CRITICAL_102 uint16 + GROW_CURVE_CRITICAL_103 uint16 + GROW_CURVE_CRITICAL_104 uint16 + GROW_CURVE_CRITICAL_105 uint16 + GROW_CURVE_CRITICAL_201 uint16 + GROW_CURVE_CRITICAL_202 uint16 + GROW_CURVE_CRITICAL_203 uint16 + GROW_CURVE_CRITICAL_204 uint16 + GROW_CURVE_CRITICAL_205 uint16 + GROW_CURVE_CRITICAL_301 uint16 + GROW_CURVE_CRITICAL_302 uint16 + GROW_CURVE_CRITICAL_303 uint16 + GROW_CURVE_CRITICAL_304 uint16 + GROW_CURVE_CRITICAL_305 uint16 +} + +func InitGrowCurveConst() { + GrowCurveConst = new(GrowCurve) + + GrowCurveConst.GROW_CURVE_NONE = 0 + GrowCurveConst.GROW_CURVE_HP = 1 + GrowCurveConst.GROW_CURVE_ATTACK = 2 + GrowCurveConst.GROW_CURVE_STAMINA = 3 + GrowCurveConst.GROW_CURVE_STRIKE = 4 + GrowCurveConst.GROW_CURVE_ANTI_STRIKE = 5 + GrowCurveConst.GROW_CURVE_ANTI_STRIKE1 = 6 + GrowCurveConst.GROW_CURVE_ANTI_STRIKE2 = 7 + GrowCurveConst.GROW_CURVE_ANTI_STRIKE3 = 8 + GrowCurveConst.GROW_CURVE_STRIKE_HURT = 9 + GrowCurveConst.GROW_CURVE_ELEMENT = 10 + GrowCurveConst.GROW_CURVE_KILL_EXP = 11 + GrowCurveConst.GROW_CURVE_DEFENSE = 12 + GrowCurveConst.GROW_CURVE_ATTACK_BOMB = 13 + GrowCurveConst.GROW_CURVE_HP_LITTLEMONSTER = 14 + GrowCurveConst.GROW_CURVE_ELEMENT_MASTERY = 15 + GrowCurveConst.GROW_CURVE_PROGRESSION = 16 + GrowCurveConst.GROW_CURVE_DEFENDING = 17 + GrowCurveConst.GROW_CURVE_MHP = 18 + GrowCurveConst.GROW_CURVE_MATK = 19 + GrowCurveConst.GROW_CURVE_TOWERATK = 20 + GrowCurveConst.GROW_CURVE_HP_S5 = 21 + GrowCurveConst.GROW_CURVE_HP_S4 = 22 + GrowCurveConst.GROW_CURVE_HP_2 = 23 + GrowCurveConst.GROW_CURVE_ATTACK_S5 = 31 + GrowCurveConst.GROW_CURVE_ATTACK_S4 = 32 + GrowCurveConst.GROW_CURVE_ATTACK_S3 = 33 + GrowCurveConst.GROW_CURVE_STRIKE_S5 = 34 + GrowCurveConst.GROW_CURVE_DEFENSE_S5 = 41 + GrowCurveConst.GROW_CURVE_DEFENSE_S4 = 42 + GrowCurveConst.GROW_CURVE_ATTACK_101 = 1101 + GrowCurveConst.GROW_CURVE_ATTACK_102 = 1102 + GrowCurveConst.GROW_CURVE_ATTACK_103 = 1103 + GrowCurveConst.GROW_CURVE_ATTACK_104 = 1104 + GrowCurveConst.GROW_CURVE_ATTACK_105 = 1105 + GrowCurveConst.GROW_CURVE_ATTACK_201 = 1201 + GrowCurveConst.GROW_CURVE_ATTACK_202 = 1202 + GrowCurveConst.GROW_CURVE_ATTACK_203 = 1203 + GrowCurveConst.GROW_CURVE_ATTACK_204 = 1204 + GrowCurveConst.GROW_CURVE_ATTACK_205 = 1205 + GrowCurveConst.GROW_CURVE_ATTACK_301 = 1301 + GrowCurveConst.GROW_CURVE_ATTACK_302 = 1302 + GrowCurveConst.GROW_CURVE_ATTACK_303 = 1303 + GrowCurveConst.GROW_CURVE_ATTACK_304 = 1304 + GrowCurveConst.GROW_CURVE_ATTACK_305 = 1305 + GrowCurveConst.GROW_CURVE_CRITICAL_101 = 2101 + GrowCurveConst.GROW_CURVE_CRITICAL_102 = 2102 + GrowCurveConst.GROW_CURVE_CRITICAL_103 = 2103 + GrowCurveConst.GROW_CURVE_CRITICAL_104 = 2104 + GrowCurveConst.GROW_CURVE_CRITICAL_105 = 2105 + GrowCurveConst.GROW_CURVE_CRITICAL_201 = 2201 + GrowCurveConst.GROW_CURVE_CRITICAL_202 = 2202 + GrowCurveConst.GROW_CURVE_CRITICAL_203 = 2203 + GrowCurveConst.GROW_CURVE_CRITICAL_204 = 2204 + GrowCurveConst.GROW_CURVE_CRITICAL_205 = 2205 + GrowCurveConst.GROW_CURVE_CRITICAL_301 = 2301 + GrowCurveConst.GROW_CURVE_CRITICAL_302 = 2302 + GrowCurveConst.GROW_CURVE_CRITICAL_303 = 2303 + GrowCurveConst.GROW_CURVE_CRITICAL_304 = 2304 + GrowCurveConst.GROW_CURVE_CRITICAL_305 = 2305 +} diff --git a/service/game-hk4e/constant/item_type.go b/service/game-hk4e/constant/item_type.go new file mode 100644 index 00000000..0cda87b2 --- /dev/null +++ b/service/game-hk4e/constant/item_type.go @@ -0,0 +1,36 @@ +package constant + +var ItemTypeConst *ItemType + +type ItemType struct { + ITEM_NONE uint16 + ITEM_VIRTUAL uint16 + ITEM_MATERIAL uint16 + ITEM_RELIQUARY uint16 + ITEM_WEAPON uint16 + ITEM_DISPLAY uint16 + ITEM_FURNITURE uint16 + STRING_MAP map[string]uint16 +} + +func InitItemTypeConst() { + ItemTypeConst = new(ItemType) + + ItemTypeConst.ITEM_NONE = 0 + ItemTypeConst.ITEM_VIRTUAL = 1 + ItemTypeConst.ITEM_MATERIAL = 2 + ItemTypeConst.ITEM_RELIQUARY = 3 + ItemTypeConst.ITEM_WEAPON = 4 + ItemTypeConst.ITEM_DISPLAY = 5 + ItemTypeConst.ITEM_FURNITURE = 6 + + ItemTypeConst.STRING_MAP = make(map[string]uint16) + + ItemTypeConst.STRING_MAP["ITEM_NONE"] = 0 + ItemTypeConst.STRING_MAP["ITEM_VIRTUAL"] = 1 + ItemTypeConst.STRING_MAP["ITEM_MATERIAL"] = 2 + ItemTypeConst.STRING_MAP["ITEM_RELIQUARY"] = 3 + ItemTypeConst.STRING_MAP["ITEM_WEAPON"] = 4 + ItemTypeConst.STRING_MAP["ITEM_DISPLAY"] = 5 + ItemTypeConst.STRING_MAP["ITEM_FURNITURE"] = 6 +} diff --git a/service/game-hk4e/constant/life_state.go b/service/game-hk4e/constant/life_state.go new file mode 100644 index 00000000..34788582 --- /dev/null +++ b/service/game-hk4e/constant/life_state.go @@ -0,0 +1,19 @@ +package constant + +var LifeStateConst *LifeState + +type LifeState struct { + LIFE_NONE uint16 + LIFE_ALIVE uint16 + LIFE_DEAD uint16 + LIFE_REVIVE uint16 +} + +func InitLifeStateConst() { + LifeStateConst = new(LifeState) + + LifeStateConst.LIFE_NONE = 0 + LifeStateConst.LIFE_ALIVE = 1 + LifeStateConst.LIFE_DEAD = 2 + LifeStateConst.LIFE_REVIVE = 3 +} diff --git a/service/game-hk4e/constant/material_type.go b/service/game-hk4e/constant/material_type.go new file mode 100644 index 00000000..dddb935e --- /dev/null +++ b/service/game-hk4e/constant/material_type.go @@ -0,0 +1,102 @@ +package constant + +var MaterialTypeConst *MaterialType + +type MaterialType struct { + MATERIAL_NONE uint16 + MATERIAL_FOOD uint16 + MATERIAL_QUEST uint16 + MATERIAL_EXCHANGE uint16 + MATERIAL_CONSUME uint16 + MATERIAL_EXP_FRUIT uint16 + MATERIAL_AVATAR uint16 + MATERIAL_ADSORBATE uint16 + MATERIAL_CRICKET uint16 + MATERIAL_ELEM_CRYSTAL uint16 + MATERIAL_WEAPON_EXP_STONE uint16 + MATERIAL_CHEST uint16 + MATERIAL_RELIQUARY_MATERIAL uint16 + MATERIAL_AVATAR_MATERIAL uint16 + MATERIAL_NOTICE_ADD_HP uint16 + MATERIAL_SEA_LAMP uint16 + MATERIAL_SELECTABLE_CHEST uint16 + MATERIAL_FLYCLOAK uint16 + MATERIAL_NAMECARD uint16 + MATERIAL_TALENT uint16 + MATERIAL_WIDGET uint16 + MATERIAL_CHEST_BATCH_USE uint16 + MATERIAL_FAKE_ABSORBATE uint16 + MATERIAL_CONSUME_BATCH_USE uint16 + MATERIAL_WOOD uint16 + MATERIAL_FURNITURE_FORMULA uint16 + MATERIAL_CHANNELLER_SLAB_BUFF uint16 + MATERIAL_FURNITURE_SUITE_FORMULA uint16 + MATERIAL_COSTUME uint16 + STRING_MAP map[string]uint16 +} + +func InitMaterialTypeConst() { + MaterialTypeConst = new(MaterialType) + + MaterialTypeConst.MATERIAL_NONE = 0 + MaterialTypeConst.MATERIAL_FOOD = 1 + MaterialTypeConst.MATERIAL_QUEST = 2 + MaterialTypeConst.MATERIAL_EXCHANGE = 4 + MaterialTypeConst.MATERIAL_CONSUME = 5 + MaterialTypeConst.MATERIAL_EXP_FRUIT = 6 + MaterialTypeConst.MATERIAL_AVATAR = 7 + MaterialTypeConst.MATERIAL_ADSORBATE = 8 + MaterialTypeConst.MATERIAL_CRICKET = 9 + MaterialTypeConst.MATERIAL_ELEM_CRYSTAL = 10 + MaterialTypeConst.MATERIAL_WEAPON_EXP_STONE = 11 + MaterialTypeConst.MATERIAL_CHEST = 12 + MaterialTypeConst.MATERIAL_RELIQUARY_MATERIAL = 13 + MaterialTypeConst.MATERIAL_AVATAR_MATERIAL = 14 + MaterialTypeConst.MATERIAL_NOTICE_ADD_HP = 15 + MaterialTypeConst.MATERIAL_SEA_LAMP = 16 + MaterialTypeConst.MATERIAL_SELECTABLE_CHEST = 17 + MaterialTypeConst.MATERIAL_FLYCLOAK = 18 + MaterialTypeConst.MATERIAL_NAMECARD = 19 + MaterialTypeConst.MATERIAL_TALENT = 20 + MaterialTypeConst.MATERIAL_WIDGET = 21 + MaterialTypeConst.MATERIAL_CHEST_BATCH_USE = 22 + MaterialTypeConst.MATERIAL_FAKE_ABSORBATE = 23 + MaterialTypeConst.MATERIAL_CONSUME_BATCH_USE = 24 + MaterialTypeConst.MATERIAL_WOOD = 25 + MaterialTypeConst.MATERIAL_FURNITURE_FORMULA = 27 + MaterialTypeConst.MATERIAL_CHANNELLER_SLAB_BUFF = 28 + MaterialTypeConst.MATERIAL_FURNITURE_SUITE_FORMULA = 29 + MaterialTypeConst.MATERIAL_COSTUME = 30 + + MaterialTypeConst.STRING_MAP = make(map[string]uint16) + + MaterialTypeConst.STRING_MAP["MATERIAL_NONE"] = 0 + MaterialTypeConst.STRING_MAP["MATERIAL_FOOD"] = 1 + MaterialTypeConst.STRING_MAP["MATERIAL_QUEST"] = 2 + MaterialTypeConst.STRING_MAP["MATERIAL_EXCHANGE"] = 4 + MaterialTypeConst.STRING_MAP["MATERIAL_CONSUME"] = 5 + MaterialTypeConst.STRING_MAP["MATERIAL_EXP_FRUIT"] = 6 + MaterialTypeConst.STRING_MAP["MATERIAL_AVATAR"] = 7 + MaterialTypeConst.STRING_MAP["MATERIAL_ADSORBATE"] = 8 + MaterialTypeConst.STRING_MAP["MATERIAL_CRICKET"] = 9 + MaterialTypeConst.STRING_MAP["MATERIAL_ELEM_CRYSTAL"] = 10 + MaterialTypeConst.STRING_MAP["MATERIAL_WEAPON_EXP_STONE"] = 11 + MaterialTypeConst.STRING_MAP["MATERIAL_CHEST"] = 12 + MaterialTypeConst.STRING_MAP["MATERIAL_RELIQUARY_MATERIAL"] = 13 + MaterialTypeConst.STRING_MAP["MATERIAL_AVATAR_MATERIAL"] = 14 + MaterialTypeConst.STRING_MAP["MATERIAL_NOTICE_ADD_HP"] = 15 + MaterialTypeConst.STRING_MAP["MATERIAL_SEA_LAMP"] = 16 + MaterialTypeConst.STRING_MAP["MATERIAL_SELECTABLE_CHEST"] = 17 + MaterialTypeConst.STRING_MAP["MATERIAL_FLYCLOAK"] = 18 + MaterialTypeConst.STRING_MAP["MATERIAL_NAMECARD"] = 19 + MaterialTypeConst.STRING_MAP["MATERIAL_TALENT"] = 20 + MaterialTypeConst.STRING_MAP["MATERIAL_WIDGET"] = 21 + MaterialTypeConst.STRING_MAP["MATERIAL_CHEST_BATCH_USE"] = 22 + MaterialTypeConst.STRING_MAP["MATERIAL_FAKE_ABSORBATE"] = 23 + MaterialTypeConst.STRING_MAP["MATERIAL_CONSUME_BATCH_USE"] = 24 + MaterialTypeConst.STRING_MAP["MATERIAL_WOOD"] = 25 + MaterialTypeConst.STRING_MAP["MATERIAL_FURNITURE_FORMULA"] = 27 + MaterialTypeConst.STRING_MAP["MATERIAL_CHANNELLER_SLAB_BUFF"] = 28 + MaterialTypeConst.STRING_MAP["MATERIAL_FURNITURE_SUITE_FORMULA"] = 29 + MaterialTypeConst.STRING_MAP["MATERIAL_COSTUME"] = 30 +} diff --git a/service/game-hk4e/constant/open_state.go b/service/game-hk4e/constant/open_state.go new file mode 100644 index 00000000..09715a3e --- /dev/null +++ b/service/game-hk4e/constant/open_state.go @@ -0,0 +1,343 @@ +package constant + +var OpenStateConst *OpenState + +type OpenState struct { + OPEN_STATE_NONE uint16 + OPEN_STATE_PAIMON uint16 + OPEN_STATE_PAIMON_NAVIGATION uint16 + OPEN_STATE_AVATAR_PROMOTE uint16 + OPEN_STATE_AVATAR_TALENT uint16 + OPEN_STATE_WEAPON_PROMOTE uint16 + OPEN_STATE_WEAPON_AWAKEN uint16 + OPEN_STATE_QUEST_REMIND uint16 + OPEN_STATE_GAME_GUIDE uint16 + OPEN_STATE_COOK uint16 + OPEN_STATE_WEAPON_UPGRADE uint16 + OPEN_STATE_RELIQUARY_UPGRADE uint16 + OPEN_STATE_RELIQUARY_PROMOTE uint16 + OPEN_STATE_WEAPON_PROMOTE_GUIDE uint16 + OPEN_STATE_WEAPON_CHANGE_GUIDE uint16 + OPEN_STATE_PLAYER_LVUP_GUIDE uint16 + OPEN_STATE_FRESHMAN_GUIDE uint16 + OPEN_STATE_SKIP_FRESHMAN_GUIDE uint16 + OPEN_STATE_GUIDE_MOVE_CAMERA uint16 + OPEN_STATE_GUIDE_SCALE_CAMERA uint16 + OPEN_STATE_GUIDE_KEYBOARD uint16 + OPEN_STATE_GUIDE_MOVE uint16 + OPEN_STATE_GUIDE_JUMP uint16 + OPEN_STATE_GUIDE_SPRINT uint16 + OPEN_STATE_GUIDE_MAP uint16 + OPEN_STATE_GUIDE_ATTACK uint16 + OPEN_STATE_GUIDE_FLY uint16 + OPEN_STATE_GUIDE_TALENT uint16 + OPEN_STATE_GUIDE_RELIC uint16 + OPEN_STATE_GUIDE_RELIC_PROM uint16 + OPEN_STATE_COMBINE uint16 + OPEN_STATE_GACHA uint16 + OPEN_STATE_GUIDE_GACHA uint16 + OPEN_STATE_GUIDE_TEAM uint16 + OPEN_STATE_GUIDE_PROUD uint16 + OPEN_STATE_GUIDE_AVATAR_PROMOTE uint16 + OPEN_STATE_GUIDE_ADVENTURE_CARD uint16 + OPEN_STATE_FORGE uint16 + OPEN_STATE_GUIDE_BAG uint16 + OPEN_STATE_EXPEDITION uint16 + OPEN_STATE_GUIDE_ADVENTURE_DAILYTASK uint16 + OPEN_STATE_GUIDE_ADVENTURE_DUNGEON uint16 + OPEN_STATE_TOWER uint16 + OPEN_STATE_WORLD_STAMINA uint16 + OPEN_STATE_TOWER_FIRST_ENTER uint16 + OPEN_STATE_RESIN uint16 + OPEN_STATE_LIMIT_REGION_FRESHMEAT uint16 + OPEN_STATE_LIMIT_REGION_GLOBAL uint16 + OPEN_STATE_MULTIPLAYER uint16 + OPEN_STATE_GUIDE_MOUSEPC uint16 + OPEN_STATE_GUIDE_MULTIPLAYER uint16 + OPEN_STATE_GUIDE_DUNGEONREWARD uint16 + OPEN_STATE_GUIDE_BLOSSOM uint16 + OPEN_STATE_AVATAR_FASHION uint16 + OPEN_STATE_PHOTOGRAPH uint16 + OPEN_STATE_GUIDE_KSLQUEST uint16 + OPEN_STATE_PERSONAL_LINE uint16 + OPEN_STATE_GUIDE_PERSONAL_LINE uint16 + OPEN_STATE_GUIDE_APPEARANCE uint16 + OPEN_STATE_GUIDE_PROCESS uint16 + OPEN_STATE_GUIDE_PERSONAL_LINE_KEY uint16 + OPEN_STATE_GUIDE_WIDGET uint16 + OPEN_STATE_GUIDE_ACTIVITY_SKILL_ASTER uint16 + OPEN_STATE_GUIDE_COLDCLIMATE uint16 + OPEN_STATE_DERIVATIVE_MALL uint16 + OPEN_STATE_GUIDE_EXITMULTIPLAYER uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_BUILD uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_REBUILD uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_CARD uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_MONSTER uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_MISSION_CHECK uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_BUILD_SELECT uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_CHALLENGE_START uint16 + OPEN_STATE_GUIDE_CONVERT uint16 + OPEN_STATE_GUIDE_THEATREMACHANICUS_MULTIPLAYER uint16 + OPEN_STATE_GUIDE_COOP_TASK uint16 + OPEN_STATE_GUIDE_HOMEWORLD_ADEPTIABODE uint16 + OPEN_STATE_GUIDE_HOMEWORLD_DEPLOY uint16 + OPEN_STATE_GUIDE_CHANNELLERSLAB_EQUIP uint16 + OPEN_STATE_GUIDE_CHANNELLERSLAB_MP_SOLUTION uint16 + OPEN_STATE_GUIDE_CHANNELLERSLAB_POWER uint16 + OPEN_STATE_GUIDE_HIDEANDSEEK_SKILL uint16 + OPEN_STATE_GUIDE_HOMEWORLD_MAPLIST uint16 + OPEN_STATE_GUIDE_RELICRESOLVE uint16 + OPEN_STATE_GUIDE_GGUIDE uint16 + OPEN_STATE_GUIDE_GGUIDE_HINT uint16 + OPEN_STATE_CITY_REPUATION_MENGDE uint16 + OPEN_STATE_CITY_REPUATION_LIYUE uint16 + OPEN_STATE_CITY_REPUATION_UI_HINT uint16 + OPEN_STATE_CITY_REPUATION_INAZUMA uint16 + OPEN_STATE_SHOP_TYPE_MALL uint16 + OPEN_STATE_SHOP_TYPE_RECOMMANDED uint16 + OPEN_STATE_SHOP_TYPE_GENESISCRYSTAL uint16 + OPEN_STATE_SHOP_TYPE_GIFTPACKAGE uint16 + OPEN_STATE_SHOP_TYPE_PAIMON uint16 + OPEN_STATE_SHOP_TYPE_CITY uint16 + OPEN_STATE_SHOP_TYPE_BLACKSMITH uint16 + OPEN_STATE_SHOP_TYPE_GROCERY uint16 + OPEN_STATE_SHOP_TYPE_FOOD uint16 + OPEN_STATE_SHOP_TYPE_SEA_LAMP uint16 + OPEN_STATE_SHOP_TYPE_VIRTUAL_SHOP uint16 + OPEN_STATE_SHOP_TYPE_LIYUE_GROCERY uint16 + OPEN_STATE_SHOP_TYPE_LIYUE_SOUVENIR uint16 + OPEN_STATE_SHOP_TYPE_LIYUE_RESTAURANT uint16 + OPEN_STATE_SHOP_TYPE_INAZUMA_SOUVENIR uint16 + OPEN_STATE_SHOP_TYPE_NPC_TOMOKI uint16 + OPEN_ADVENTURE_MANUAL uint16 + OPEN_ADVENTURE_MANUAL_CITY_MENGDE uint16 + OPEN_ADVENTURE_MANUAL_CITY_LIYUE uint16 + OPEN_ADVENTURE_MANUAL_MONSTER uint16 + OPEN_ADVENTURE_MANUAL_BOSS_DUNGEON uint16 + OPEN_STATE_ACTIVITY_SEALAMP uint16 + OPEN_STATE_ACTIVITY_SEALAMP_TAB2 uint16 + OPEN_STATE_ACTIVITY_SEALAMP_TAB3 uint16 + OPEN_STATE_BATTLE_PASS uint16 + OPEN_STATE_BATTLE_PASS_ENTRY uint16 + OPEN_STATE_ACTIVITY_CRUCIBLE uint16 + OPEN_STATE_ACTIVITY_NEWBEEBOUNS_OPEN uint16 + OPEN_STATE_ACTIVITY_NEWBEEBOUNS_CLOSE uint16 + OPEN_STATE_ACTIVITY_ENTRY_OPEN uint16 + OPEN_STATE_MENGDE_INFUSEDCRYSTAL uint16 + OPEN_STATE_LIYUE_INFUSEDCRYSTAL uint16 + OPEN_STATE_SNOW_MOUNTAIN_ELDER_TREE uint16 + OPEN_STATE_MIRACLE_RING uint16 + OPEN_STATE_COOP_LINE uint16 + OPEN_STATE_INAZUMA_INFUSEDCRYSTAL uint16 + OPEN_STATE_FISH uint16 + OPEN_STATE_GUIDE_SUMO_TEAM_SKILL uint16 + OPEN_STATE_GUIDE_FISH_RECIPE uint16 + OPEN_STATE_HOME uint16 + OPEN_STATE_ACTIVITY_HOMEWORLD uint16 + OPEN_STATE_ADEPTIABODE uint16 + OPEN_STATE_HOME_AVATAR uint16 + OPEN_STATE_HOME_EDIT uint16 + OPEN_STATE_HOME_EDIT_TIPS uint16 + OPEN_STATE_RELIQUARY_DECOMPOSE uint16 + OPEN_STATE_ACTIVITY_H5 uint16 + OPEN_STATE_ORAIONOKAMI uint16 + OPEN_STATE_GUIDE_CHESS_MISSION_CHECK uint16 + OPEN_STATE_GUIDE_CHESS_BUILD uint16 + OPEN_STATE_GUIDE_CHESS_WIND_TOWER_CIRCLE uint16 + OPEN_STATE_GUIDE_CHESS_CARD_SELECT uint16 + OPEN_STATE_INAZUMA_MAINQUEST_FINISHED uint16 + OPEN_STATE_PAIMON_LVINFO uint16 + OPEN_STATE_TELEPORT_HUD uint16 + OPEN_STATE_GUIDE_MAP_UNLOCK uint16 + OPEN_STATE_GUIDE_PAIMON_LVINFO uint16 + OPEN_STATE_GUIDE_AMBORTRANSPORT uint16 + OPEN_STATE_GUIDE_FLY_SECOND uint16 + OPEN_STATE_GUIDE_KAEYA_CLUE uint16 + OPEN_STATE_CAPTURE_CODEX uint16 + OPEN_STATE_ACTIVITY_FISH_OPEN uint16 + OPEN_STATE_ACTIVITY_FISH_CLOSE uint16 + OPEN_STATE_GUIDE_ROGUE_MAP uint16 + OPEN_STATE_GUIDE_ROGUE_RUNE uint16 + OPEN_STATE_GUIDE_BARTENDER_FORMULA uint16 + OPEN_STATE_GUIDE_BARTENDER_MIX uint16 + OPEN_STATE_GUIDE_BARTENDER_CUP uint16 + OPEN_STATE_GUIDE_MAIL_FAVORITES uint16 + OPEN_STATE_GUIDE_POTION_CONFIGURE uint16 + OPEN_STATE_GUIDE_LANV2_FIREWORK uint16 + OPEN_STATE_LOADINGTIPS_ENKANOMIYA uint16 + OPEN_STATE_MICHIAE_CASKET uint16 + OPEN_STATE_MAIL_COLLECT_UNLOCK_RED_POINT uint16 + OPEN_STATE_LUMEN_STONE uint16 + OPEN_STATE_GUIDE_CRYSTALLINK_BUFF uint16 +} + +func InitOpenStateConst() { + OpenStateConst = new(OpenState) + + OpenStateConst.OPEN_STATE_NONE = 0 + OpenStateConst.OPEN_STATE_PAIMON = 1 + OpenStateConst.OPEN_STATE_PAIMON_NAVIGATION = 2 + OpenStateConst.OPEN_STATE_AVATAR_PROMOTE = 3 + OpenStateConst.OPEN_STATE_AVATAR_TALENT = 4 + OpenStateConst.OPEN_STATE_WEAPON_PROMOTE = 5 + OpenStateConst.OPEN_STATE_WEAPON_AWAKEN = 6 + OpenStateConst.OPEN_STATE_QUEST_REMIND = 7 + OpenStateConst.OPEN_STATE_GAME_GUIDE = 8 + OpenStateConst.OPEN_STATE_COOK = 9 + OpenStateConst.OPEN_STATE_WEAPON_UPGRADE = 10 + OpenStateConst.OPEN_STATE_RELIQUARY_UPGRADE = 11 + OpenStateConst.OPEN_STATE_RELIQUARY_PROMOTE = 12 + OpenStateConst.OPEN_STATE_WEAPON_PROMOTE_GUIDE = 13 + OpenStateConst.OPEN_STATE_WEAPON_CHANGE_GUIDE = 14 + OpenStateConst.OPEN_STATE_PLAYER_LVUP_GUIDE = 15 + OpenStateConst.OPEN_STATE_FRESHMAN_GUIDE = 16 + OpenStateConst.OPEN_STATE_SKIP_FRESHMAN_GUIDE = 17 + OpenStateConst.OPEN_STATE_GUIDE_MOVE_CAMERA = 18 + OpenStateConst.OPEN_STATE_GUIDE_SCALE_CAMERA = 19 + OpenStateConst.OPEN_STATE_GUIDE_KEYBOARD = 20 + OpenStateConst.OPEN_STATE_GUIDE_MOVE = 21 + OpenStateConst.OPEN_STATE_GUIDE_JUMP = 22 + OpenStateConst.OPEN_STATE_GUIDE_SPRINT = 23 + OpenStateConst.OPEN_STATE_GUIDE_MAP = 24 + OpenStateConst.OPEN_STATE_GUIDE_ATTACK = 25 + OpenStateConst.OPEN_STATE_GUIDE_FLY = 26 + OpenStateConst.OPEN_STATE_GUIDE_TALENT = 27 + OpenStateConst.OPEN_STATE_GUIDE_RELIC = 28 + OpenStateConst.OPEN_STATE_GUIDE_RELIC_PROM = 29 + OpenStateConst.OPEN_STATE_COMBINE = 30 + OpenStateConst.OPEN_STATE_GACHA = 31 + OpenStateConst.OPEN_STATE_GUIDE_GACHA = 32 + OpenStateConst.OPEN_STATE_GUIDE_TEAM = 33 + OpenStateConst.OPEN_STATE_GUIDE_PROUD = 34 + OpenStateConst.OPEN_STATE_GUIDE_AVATAR_PROMOTE = 35 + OpenStateConst.OPEN_STATE_GUIDE_ADVENTURE_CARD = 36 + OpenStateConst.OPEN_STATE_FORGE = 37 + OpenStateConst.OPEN_STATE_GUIDE_BAG = 38 + OpenStateConst.OPEN_STATE_EXPEDITION = 39 + OpenStateConst.OPEN_STATE_GUIDE_ADVENTURE_DAILYTASK = 40 + OpenStateConst.OPEN_STATE_GUIDE_ADVENTURE_DUNGEON = 41 + OpenStateConst.OPEN_STATE_TOWER = 42 + OpenStateConst.OPEN_STATE_WORLD_STAMINA = 43 + OpenStateConst.OPEN_STATE_TOWER_FIRST_ENTER = 44 + OpenStateConst.OPEN_STATE_RESIN = 45 + OpenStateConst.OPEN_STATE_LIMIT_REGION_FRESHMEAT = 47 + OpenStateConst.OPEN_STATE_LIMIT_REGION_GLOBAL = 48 + OpenStateConst.OPEN_STATE_MULTIPLAYER = 49 + OpenStateConst.OPEN_STATE_GUIDE_MOUSEPC = 50 + OpenStateConst.OPEN_STATE_GUIDE_MULTIPLAYER = 51 + OpenStateConst.OPEN_STATE_GUIDE_DUNGEONREWARD = 52 + OpenStateConst.OPEN_STATE_GUIDE_BLOSSOM = 53 + OpenStateConst.OPEN_STATE_AVATAR_FASHION = 54 + OpenStateConst.OPEN_STATE_PHOTOGRAPH = 55 + OpenStateConst.OPEN_STATE_GUIDE_KSLQUEST = 56 + OpenStateConst.OPEN_STATE_PERSONAL_LINE = 57 + OpenStateConst.OPEN_STATE_GUIDE_PERSONAL_LINE = 58 + OpenStateConst.OPEN_STATE_GUIDE_APPEARANCE = 59 + OpenStateConst.OPEN_STATE_GUIDE_PROCESS = 60 + OpenStateConst.OPEN_STATE_GUIDE_PERSONAL_LINE_KEY = 61 + OpenStateConst.OPEN_STATE_GUIDE_WIDGET = 62 + OpenStateConst.OPEN_STATE_GUIDE_ACTIVITY_SKILL_ASTER = 63 + OpenStateConst.OPEN_STATE_GUIDE_COLDCLIMATE = 64 + OpenStateConst.OPEN_STATE_DERIVATIVE_MALL = 65 + OpenStateConst.OPEN_STATE_GUIDE_EXITMULTIPLAYER = 66 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_BUILD = 67 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_REBUILD = 68 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_CARD = 69 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_MONSTER = 70 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_MISSION_CHECK = 71 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_BUILD_SELECT = 72 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_CHALLENGE_START = 73 + OpenStateConst.OPEN_STATE_GUIDE_CONVERT = 74 + OpenStateConst.OPEN_STATE_GUIDE_THEATREMACHANICUS_MULTIPLAYER = 75 + OpenStateConst.OPEN_STATE_GUIDE_COOP_TASK = 76 + OpenStateConst.OPEN_STATE_GUIDE_HOMEWORLD_ADEPTIABODE = 77 + OpenStateConst.OPEN_STATE_GUIDE_HOMEWORLD_DEPLOY = 78 + OpenStateConst.OPEN_STATE_GUIDE_CHANNELLERSLAB_EQUIP = 79 + OpenStateConst.OPEN_STATE_GUIDE_CHANNELLERSLAB_MP_SOLUTION = 80 + OpenStateConst.OPEN_STATE_GUIDE_CHANNELLERSLAB_POWER = 81 + OpenStateConst.OPEN_STATE_GUIDE_HIDEANDSEEK_SKILL = 82 + OpenStateConst.OPEN_STATE_GUIDE_HOMEWORLD_MAPLIST = 83 + OpenStateConst.OPEN_STATE_GUIDE_RELICRESOLVE = 84 + OpenStateConst.OPEN_STATE_GUIDE_GGUIDE = 85 + OpenStateConst.OPEN_STATE_GUIDE_GGUIDE_HINT = 86 + OpenStateConst.OPEN_STATE_CITY_REPUATION_MENGDE = 800 + OpenStateConst.OPEN_STATE_CITY_REPUATION_LIYUE = 801 + OpenStateConst.OPEN_STATE_CITY_REPUATION_UI_HINT = 802 + OpenStateConst.OPEN_STATE_CITY_REPUATION_INAZUMA = 803 + OpenStateConst.OPEN_STATE_SHOP_TYPE_MALL = 900 + OpenStateConst.OPEN_STATE_SHOP_TYPE_RECOMMANDED = 901 + OpenStateConst.OPEN_STATE_SHOP_TYPE_GENESISCRYSTAL = 902 + OpenStateConst.OPEN_STATE_SHOP_TYPE_GIFTPACKAGE = 903 + OpenStateConst.OPEN_STATE_SHOP_TYPE_PAIMON = 1001 + OpenStateConst.OPEN_STATE_SHOP_TYPE_CITY = 1002 + OpenStateConst.OPEN_STATE_SHOP_TYPE_BLACKSMITH = 1003 + OpenStateConst.OPEN_STATE_SHOP_TYPE_GROCERY = 1004 + OpenStateConst.OPEN_STATE_SHOP_TYPE_FOOD = 1005 + OpenStateConst.OPEN_STATE_SHOP_TYPE_SEA_LAMP = 1006 + OpenStateConst.OPEN_STATE_SHOP_TYPE_VIRTUAL_SHOP = 1007 + OpenStateConst.OPEN_STATE_SHOP_TYPE_LIYUE_GROCERY = 1008 + OpenStateConst.OPEN_STATE_SHOP_TYPE_LIYUE_SOUVENIR = 1009 + OpenStateConst.OPEN_STATE_SHOP_TYPE_LIYUE_RESTAURANT = 1010 + OpenStateConst.OPEN_STATE_SHOP_TYPE_INAZUMA_SOUVENIR = 1011 + OpenStateConst.OPEN_STATE_SHOP_TYPE_NPC_TOMOKI = 1012 + OpenStateConst.OPEN_ADVENTURE_MANUAL = 1100 + OpenStateConst.OPEN_ADVENTURE_MANUAL_CITY_MENGDE = 1101 + OpenStateConst.OPEN_ADVENTURE_MANUAL_CITY_LIYUE = 1102 + OpenStateConst.OPEN_ADVENTURE_MANUAL_MONSTER = 1103 + OpenStateConst.OPEN_ADVENTURE_MANUAL_BOSS_DUNGEON = 1104 + OpenStateConst.OPEN_STATE_ACTIVITY_SEALAMP = 1200 + OpenStateConst.OPEN_STATE_ACTIVITY_SEALAMP_TAB2 = 1201 + OpenStateConst.OPEN_STATE_ACTIVITY_SEALAMP_TAB3 = 1202 + OpenStateConst.OPEN_STATE_BATTLE_PASS = 1300 + OpenStateConst.OPEN_STATE_BATTLE_PASS_ENTRY = 1301 + OpenStateConst.OPEN_STATE_ACTIVITY_CRUCIBLE = 1400 + OpenStateConst.OPEN_STATE_ACTIVITY_NEWBEEBOUNS_OPEN = 1401 + OpenStateConst.OPEN_STATE_ACTIVITY_NEWBEEBOUNS_CLOSE = 1402 + OpenStateConst.OPEN_STATE_ACTIVITY_ENTRY_OPEN = 1403 + OpenStateConst.OPEN_STATE_MENGDE_INFUSEDCRYSTAL = 1404 + OpenStateConst.OPEN_STATE_LIYUE_INFUSEDCRYSTAL = 1405 + OpenStateConst.OPEN_STATE_SNOW_MOUNTAIN_ELDER_TREE = 1406 + OpenStateConst.OPEN_STATE_MIRACLE_RING = 1407 + OpenStateConst.OPEN_STATE_COOP_LINE = 1408 + OpenStateConst.OPEN_STATE_INAZUMA_INFUSEDCRYSTAL = 1409 + OpenStateConst.OPEN_STATE_FISH = 1410 + OpenStateConst.OPEN_STATE_GUIDE_SUMO_TEAM_SKILL = 1411 + OpenStateConst.OPEN_STATE_GUIDE_FISH_RECIPE = 1412 + OpenStateConst.OPEN_STATE_HOME = 1500 + OpenStateConst.OPEN_STATE_ACTIVITY_HOMEWORLD = 1501 + OpenStateConst.OPEN_STATE_ADEPTIABODE = 1502 + OpenStateConst.OPEN_STATE_HOME_AVATAR = 1503 + OpenStateConst.OPEN_STATE_HOME_EDIT = 1504 + OpenStateConst.OPEN_STATE_HOME_EDIT_TIPS = 1505 + OpenStateConst.OPEN_STATE_RELIQUARY_DECOMPOSE = 1600 + OpenStateConst.OPEN_STATE_ACTIVITY_H5 = 1700 + OpenStateConst.OPEN_STATE_ORAIONOKAMI = 2000 + OpenStateConst.OPEN_STATE_GUIDE_CHESS_MISSION_CHECK = 2001 + OpenStateConst.OPEN_STATE_GUIDE_CHESS_BUILD = 2002 + OpenStateConst.OPEN_STATE_GUIDE_CHESS_WIND_TOWER_CIRCLE = 2003 + OpenStateConst.OPEN_STATE_GUIDE_CHESS_CARD_SELECT = 2004 + OpenStateConst.OPEN_STATE_INAZUMA_MAINQUEST_FINISHED = 2005 + OpenStateConst.OPEN_STATE_PAIMON_LVINFO = 2100 + OpenStateConst.OPEN_STATE_TELEPORT_HUD = 2101 + OpenStateConst.OPEN_STATE_GUIDE_MAP_UNLOCK = 2102 + OpenStateConst.OPEN_STATE_GUIDE_PAIMON_LVINFO = 2103 + OpenStateConst.OPEN_STATE_GUIDE_AMBORTRANSPORT = 2104 + OpenStateConst.OPEN_STATE_GUIDE_FLY_SECOND = 2105 + OpenStateConst.OPEN_STATE_GUIDE_KAEYA_CLUE = 2106 + OpenStateConst.OPEN_STATE_CAPTURE_CODEX = 2107 + OpenStateConst.OPEN_STATE_ACTIVITY_FISH_OPEN = 2200 + OpenStateConst.OPEN_STATE_ACTIVITY_FISH_CLOSE = 2201 + OpenStateConst.OPEN_STATE_GUIDE_ROGUE_MAP = 2205 + OpenStateConst.OPEN_STATE_GUIDE_ROGUE_RUNE = 2206 + OpenStateConst.OPEN_STATE_GUIDE_BARTENDER_FORMULA = 2210 + OpenStateConst.OPEN_STATE_GUIDE_BARTENDER_MIX = 2211 + OpenStateConst.OPEN_STATE_GUIDE_BARTENDER_CUP = 2212 + OpenStateConst.OPEN_STATE_GUIDE_MAIL_FAVORITES = 2400 + OpenStateConst.OPEN_STATE_GUIDE_POTION_CONFIGURE = 2401 + OpenStateConst.OPEN_STATE_GUIDE_LANV2_FIREWORK = 2402 + OpenStateConst.OPEN_STATE_LOADINGTIPS_ENKANOMIYA = 2403 + OpenStateConst.OPEN_STATE_MICHIAE_CASKET = 2500 + OpenStateConst.OPEN_STATE_MAIL_COLLECT_UNLOCK_RED_POINT = 2501 + OpenStateConst.OPEN_STATE_LUMEN_STONE = 2600 + OpenStateConst.OPEN_STATE_GUIDE_CRYSTALLINK_BUFF = 2601 +} diff --git a/service/game-hk4e/constant/player_prop.go b/service/game-hk4e/constant/player_prop.go new file mode 100644 index 00000000..d1094958 --- /dev/null +++ b/service/game-hk4e/constant/player_prop.go @@ -0,0 +1,95 @@ +package constant + +var PlayerPropertyConst *PlayerProperty + +type PlayerProperty struct { + PROP_EXP uint16 // 角色经验 + PROP_BREAK_LEVEL uint16 // 角色突破等阶 + PROP_SATIATION_VAL uint16 // 角色饱食度 + PROP_SATIATION_PENALTY_TIME uint16 // 角色饱食度溢出 + PROP_LEVEL uint16 // 角色等级 + PROP_LAST_CHANGE_AVATAR_TIME uint16 // 上一次改变角色的时间 暂不确定 + PROP_MAX_SPRING_VOLUME uint16 // 七天神像最大恢复血量 0-8500000 + PROP_CUR_SPRING_VOLUME uint16 // 七天神像当前血量 0-PROP_MAX_SPRING_VOLUME + PROP_IS_SPRING_AUTO_USE uint16 // 是否开启靠近自动回血 0 1 + PROP_SPRING_AUTO_USE_PERCENT uint16 // 自动回血百分比 0-100 + PROP_IS_FLYABLE uint16 // 禁止使用风之翼 0 1 + PROP_IS_WEATHER_LOCKED uint16 // 游戏内天气锁定 暂不确定 + PROP_IS_GAME_TIME_LOCKED uint16 // 游戏内时间锁定 暂不确定 + PROP_IS_TRANSFERABLE uint16 // 是否禁止传送 0 1 + PROP_MAX_STAMINA uint16 // 最大体力 0-24000 + PROP_CUR_PERSIST_STAMINA uint16 // 当前体力 0-PROP_MAX_STAMINA + PROP_CUR_TEMPORARY_STAMINA uint16 // 当前临时体力 暂不确定 + PROP_PLAYER_LEVEL uint16 // 冒险等级 + PROP_PLAYER_EXP uint16 // 冒险经验 + PROP_PLAYER_HCOIN uint16 // 原石 可以为负数 + PROP_PLAYER_SCOIN uint16 // 摩拉 + PROP_PLAYER_MP_SETTING_TYPE uint16 // 多人游戏世界权限 0禁止加入 1直接加入 2需要申请 + PROP_IS_MP_MODE_AVAILABLE uint16 // 玩家当前的世界是否可加入 0 1 例如任务中就不可加入 + PROP_PLAYER_WORLD_LEVEL uint16 // 世界等级 0-8 + PROP_PLAYER_RESIN uint16 // 树脂 0-2000 + PROP_PLAYER_WAIT_SUB_HCOIN uint16 // 暂存的原石 暂不确定 + PROP_PLAYER_WAIT_SUB_SCOIN uint16 // 暂存的摩拉 暂不确定 + PROP_IS_ONLY_MP_WITH_PS_PLAYER uint16 // 当前玩家多人世界里是否有PS主机玩家 0 1 + PROP_PLAYER_MCOIN uint16 // 创世结晶 可以为负数 + PROP_PLAYER_WAIT_SUB_MCOIN uint16 // 暂存的创世结晶 暂不确定 + PROP_PLAYER_LEGENDARY_KEY uint16 // 传说任务钥匙 + PROP_IS_HAS_FIRST_SHARE uint16 // 是否拥有抽卡结果首次分享奖励 暂不确定 + PROP_PLAYER_FORGE_POINT uint16 // 锻造相关 + PROP_CUR_CLIMATE_METER uint16 // 天气相关 + PROP_CUR_CLIMATE_TYPE uint16 // 天气相关 + PROP_CUR_CLIMATE_AREA_ID uint16 // 天气相关 + PROP_CUR_CLIMATE_AREA_CLIMATE_TYPE uint16 // 天气相关 + PROP_PLAYER_WORLD_LEVEL_LIMIT uint16 // 降低世界等级到此等级 暂不确定 + PROP_PLAYER_WORLD_LEVEL_ADJUST_CD uint16 // 降低世界等级的CD + PROP_PLAYER_LEGENDARY_DAILY_TASK_NUM uint16 // 传说每日任务数量 暂不确定 + PROP_PLAYER_HOME_COIN uint16 // 洞天宝钱 + PROP_PLAYER_WAIT_SUB_HOME_COIN uint16 // 暂存的洞天宝钱 暂不确定 +} + +func InitPlayerPropertyConst() { + PlayerPropertyConst = new(PlayerProperty) + + PlayerPropertyConst.PROP_EXP = 1001 + PlayerPropertyConst.PROP_BREAK_LEVEL = 1002 + PlayerPropertyConst.PROP_SATIATION_VAL = 1003 + PlayerPropertyConst.PROP_SATIATION_PENALTY_TIME = 1004 + PlayerPropertyConst.PROP_LEVEL = 4001 + PlayerPropertyConst.PROP_LAST_CHANGE_AVATAR_TIME = 10001 + PlayerPropertyConst.PROP_MAX_SPRING_VOLUME = 10002 + PlayerPropertyConst.PROP_CUR_SPRING_VOLUME = 10003 + PlayerPropertyConst.PROP_IS_SPRING_AUTO_USE = 10004 + PlayerPropertyConst.PROP_SPRING_AUTO_USE_PERCENT = 10005 + PlayerPropertyConst.PROP_IS_FLYABLE = 10006 + PlayerPropertyConst.PROP_IS_WEATHER_LOCKED = 10007 + PlayerPropertyConst.PROP_IS_GAME_TIME_LOCKED = 10008 + PlayerPropertyConst.PROP_IS_TRANSFERABLE = 10009 + PlayerPropertyConst.PROP_MAX_STAMINA = 10010 + PlayerPropertyConst.PROP_CUR_PERSIST_STAMINA = 10011 + PlayerPropertyConst.PROP_CUR_TEMPORARY_STAMINA = 10012 + PlayerPropertyConst.PROP_PLAYER_LEVEL = 10013 + PlayerPropertyConst.PROP_PLAYER_EXP = 10014 + PlayerPropertyConst.PROP_PLAYER_HCOIN = 10015 + PlayerPropertyConst.PROP_PLAYER_SCOIN = 10016 + PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE = 10017 + PlayerPropertyConst.PROP_IS_MP_MODE_AVAILABLE = 10018 + PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL = 10019 + PlayerPropertyConst.PROP_PLAYER_RESIN = 10020 + PlayerPropertyConst.PROP_PLAYER_WAIT_SUB_HCOIN = 10022 + PlayerPropertyConst.PROP_PLAYER_WAIT_SUB_SCOIN = 10023 + PlayerPropertyConst.PROP_IS_ONLY_MP_WITH_PS_PLAYER = 10024 + PlayerPropertyConst.PROP_PLAYER_MCOIN = 10025 + PlayerPropertyConst.PROP_PLAYER_WAIT_SUB_MCOIN = 10026 + PlayerPropertyConst.PROP_PLAYER_LEGENDARY_KEY = 10027 + PlayerPropertyConst.PROP_IS_HAS_FIRST_SHARE = 10028 + PlayerPropertyConst.PROP_PLAYER_FORGE_POINT = 10029 + PlayerPropertyConst.PROP_CUR_CLIMATE_METER = 10035 + PlayerPropertyConst.PROP_CUR_CLIMATE_TYPE = 10036 + PlayerPropertyConst.PROP_CUR_CLIMATE_AREA_ID = 10037 + PlayerPropertyConst.PROP_CUR_CLIMATE_AREA_CLIMATE_TYPE = 10038 + PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL_LIMIT = 10039 + PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL_ADJUST_CD = 10040 + PlayerPropertyConst.PROP_PLAYER_LEGENDARY_DAILY_TASK_NUM = 10041 + PlayerPropertyConst.PROP_PLAYER_HOME_COIN = 10042 + PlayerPropertyConst.PROP_PLAYER_WAIT_SUB_HOME_COIN = 10043 +} diff --git a/service/game-hk4e/constant/scene_type.go b/service/game-hk4e/constant/scene_type.go new file mode 100644 index 00000000..85fbbd87 --- /dev/null +++ b/service/game-hk4e/constant/scene_type.go @@ -0,0 +1,25 @@ +package constant + +var SceneTypeConst *SceneType + +type SceneType struct { + SCENE_NONE uint16 + SCENE_WORLD uint16 + SCENE_DUNGEON uint16 + SCENE_ROOM uint16 + SCENE_HOME_WORLD uint16 + SCENE_HOME_ROOM uint16 + SCENE_ACTIVITY uint16 +} + +func InitSceneTypeConst() { + SceneTypeConst = new(SceneType) + + SceneTypeConst.SCENE_NONE = 0 + SceneTypeConst.SCENE_WORLD = 1 + SceneTypeConst.SCENE_DUNGEON = 2 + SceneTypeConst.SCENE_ROOM = 3 + SceneTypeConst.SCENE_HOME_WORLD = 4 + SceneTypeConst.SCENE_HOME_ROOM = 5 + SceneTypeConst.SCENE_ACTIVITY = 6 +} diff --git a/service/game-hk4e/dao/dao.go b/service/game-hk4e/dao/dao.go new file mode 100644 index 00000000..c38a9d3e --- /dev/null +++ b/service/game-hk4e/dao/dao.go @@ -0,0 +1,34 @@ +package dao + +import ( + "context" + "flswld.com/common/config" + "flswld.com/logger" + "go.mongodb.org/mongo-driver/mongo" + "go.mongodb.org/mongo-driver/mongo/options" +) + +type Dao struct { + client *mongo.Client + db *mongo.Database +} + +func NewDao() (r *Dao) { + r = new(Dao) + clientOptions := options.Client().ApplyURI(config.CONF.Database.Url) + client, err := mongo.Connect(context.TODO(), clientOptions) + if err != nil { + logger.LOG.Error("mongo connect error: %v", err) + return nil + } + r.client = client + r.db = client.Database("game_hk4e") + return r +} + +func (d *Dao) CloseDao() { + err := d.client.Disconnect(context.TODO()) + if err != nil { + logger.LOG.Error("mongo close error: %v", err) + } +} diff --git a/service/game-hk4e/dao/player_dao.go b/service/game-hk4e/dao/player_dao.go new file mode 100644 index 00000000..ae406688 --- /dev/null +++ b/service/game-hk4e/dao/player_dao.go @@ -0,0 +1,107 @@ +package dao + +import ( + "context" + "game-hk4e/model" + "go.mongodb.org/mongo-driver/bson" + "go.mongodb.org/mongo-driver/mongo" +) + +func (d *Dao) InsertPlayer(player *model.Player) error { + db := d.db.Collection("player") + _, err := db.InsertOne(context.TODO(), player) + return err +} + +func (d *Dao) InsertPlayerList(playerList []*model.Player) error { + if len(playerList) == 0 { + return nil + } + db := d.db.Collection("player") + modelOperateList := make([]mongo.WriteModel, 0) + for _, player := range playerList { + modelOperate := mongo.NewInsertOneModel().SetDocument(player) + modelOperateList = append(modelOperateList, modelOperate) + } + _, err := db.BulkWrite(context.TODO(), modelOperateList) + return err +} + +func (d *Dao) DeletePlayer(playerID uint32) error { + db := d.db.Collection("player") + _, err := db.DeleteOne(context.TODO(), bson.D{{"playerID", playerID}}) + return err +} + +func (d *Dao) DeletePlayerList(playerIDList []uint32) error { + if len(playerIDList) == 0 { + return nil + } + db := d.db.Collection("player") + modelOperateList := make([]mongo.WriteModel, 0) + for _, playerID := range playerIDList { + modelOperate := mongo.NewDeleteOneModel().SetFilter(bson.D{{"playerID", playerID}}) + modelOperateList = append(modelOperateList, modelOperate) + } + _, err := db.BulkWrite(context.TODO(), modelOperateList) + return err +} + +func (d *Dao) UpdatePlayer(player *model.Player) error { + db := d.db.Collection("player") + _, err := db.UpdateOne( + context.TODO(), + bson.D{{"playerID", player.PlayerID}}, + bson.D{{"$set", player}}, + ) + return err +} + +func (d *Dao) UpdatePlayerList(playerList []*model.Player) error { + if len(playerList) == 0 { + return nil + } + db := d.db.Collection("player") + modelOperateList := make([]mongo.WriteModel, 0) + for _, player := range playerList { + modelOperate := mongo.NewUpdateOneModel().SetFilter(bson.D{{"playerID", player.PlayerID}}).SetUpdate(bson.D{{"$set", player}}) + modelOperateList = append(modelOperateList, modelOperate) + } + _, err := db.BulkWrite(context.TODO(), modelOperateList) + return err +} + +func (d *Dao) QueryPlayerByID(playerID uint32) (*model.Player, error) { + db := d.db.Collection("player") + result := db.FindOne( + context.TODO(), + bson.D{{"playerID", playerID}}, + ) + item := new(model.Player) + err := result.Decode(item) + if err != nil { + return nil, err + } + return item, nil +} + +func (d *Dao) QueryPlayerList() ([]*model.Player, error) { + db := d.db.Collection("player") + find, err := db.Find( + context.TODO(), + bson.D{}, + ) + if err != nil { + return nil, err + } + result := make([]*model.Player, 0) + for find.Next(context.TODO()) { + item := new(model.Player) + err = find.Decode(item) + if err != nil { + return nil, err + } + result = append(result, item) + } + return result, nil +} diff --git a/service/game-hk4e/game/aoi/aoi.go b/service/game-hk4e/game/aoi/aoi.go new file mode 100644 index 00000000..119497b6 --- /dev/null +++ b/service/game-hk4e/game/aoi/aoi.go @@ -0,0 +1,211 @@ +package aoi + +import ( + "flswld.com/logger" + "fmt" +) + +// aoi管理模块 +type AoiManager struct { + // 区域边界坐标 + minX int16 + maxX int16 + minY int16 + maxY int16 + minZ int16 + maxZ int16 + numX int16 // x方向格子的数量 + numY int16 // y方向的格子数量 + numZ int16 // z方向的格子数量 + gridMap map[uint32]*Grid // 当前区域中都有哪些格子 key:gid value:格子对象 +} + +// 初始化aoi区域 +func NewAoiManager(minX, maxX, numX, minY, maxY, numY, minZ, maxZ, numZ int16) (r *AoiManager) { + r = new(AoiManager) + r.minX = minX + r.maxX = maxX + r.minY = minY + r.maxY = maxY + r.numX = numX + r.numY = numY + r.minZ = minZ + r.maxZ = maxZ + r.numZ = numZ + r.gridMap = make(map[uint32]*Grid) + logger.LOG.Info("start init aoi area grid, num: %v", uint32(numX)*uint32(numY)*uint32(numZ)) + // 初始化aoi区域中所有的格子 + for x := int16(0); x < numX; x++ { + for y := int16(0); y < numY; y++ { + for z := int16(0); z < numZ; z++ { + // 利用格子坐标得到格子id gid从0开始按xzy的顺序增长 + gid := uint32(y)*(uint32(numX)*uint32(numZ)) + uint32(z)*uint32(numX) + uint32(x) + // 初始化一个格子放在aoi中的map里 key是当前格子的id + grid := NewGrid( + gid, + r.minX+x*r.GridXLen(), + r.minX+(x+1)*r.GridXLen(), + r.minY+y*r.GridYLen(), + r.minY+(y+1)*r.GridYLen(), + r.minZ+z*r.GridZLen(), + r.minZ+(z+1)*r.GridZLen(), + ) + r.gridMap[gid] = grid + } + } + } + logger.LOG.Info("init aoi area grid finish") + return r +} + +// 每个格子在x轴方向的长度 +func (a *AoiManager) GridXLen() int16 { + return (a.maxX - a.minX) / a.numX +} + +// 每个格子在y轴方向的长度 +func (a *AoiManager) GridYLen() int16 { + return (a.maxY - a.minY) / a.numY +} + +// 每个格子在z轴方向的长度 +func (a *AoiManager) GridZLen() int16 { + return (a.maxZ - a.minZ) / a.numZ +} + +// 通过坐标获取对应的格子id +func (a *AoiManager) GetGidByPos(x, y, z float32) uint32 { + gx := (int16(x) - a.minX) / a.GridXLen() + gy := (int16(y) - a.minY) / a.GridYLen() + gz := (int16(z) - a.minZ) / a.GridZLen() + return uint32(gy)*(uint32(a.numX)*uint32(a.numZ)) + uint32(gz)*uint32(a.numX) + uint32(gx) +} + +// 判断坐标是否存在于aoi区域内 +func (a *AoiManager) IsValidAoiPos(x, y, z float32) bool { + if (int16(x) > a.minX && int16(x) < a.maxX) && + (int16(y) > a.minY && int16(y) < a.maxY) && + (int16(z) > a.minZ && int16(z) < a.maxZ) { + return true + } else { + return false + } +} + +// 打印信息方法 +func (a *AoiManager) DebugString() string { + s := fmt.Sprintf("AoiMgr: minX: %d, maxX: %d, numX: %d, minY: %d, maxY: %d, numY: %d, minZ: %d, maxZ: %d, numZ: %d\n", + a.minX, a.maxX, a.numX, a.minY, a.maxY, a.numY, a.minZ, a.maxZ, a.numZ) + s += "gridList in AoiMgr:\n" + for _, grid := range a.gridMap { + s += fmt.Sprintln(grid.DebugString()) + } + return s +} + +// 根据格子的gid得到当前周边的格子信息 +func (a *AoiManager) GetSurrGridListByGid(gid uint32) (gridList []*Grid) { + gridList = make([]*Grid, 0) + // 判断grid是否存在 + grid, exist := a.gridMap[gid] + if !exist { + return gridList + } + // 添加自己 + gridList = append(gridList, grid) + // 根据gid得到当前格子所在的x轴编号 + idx := int16(gid % (uint32(a.numX) * uint32(a.numZ)) % uint32(a.numX)) + // 判断当前格子左边是否还有格子 + if idx > 0 { + gridList = append(gridList, a.gridMap[gid-1]) + } + // 判断当前格子右边是否还有格子 + if idx < a.numX-1 { + gridList = append(gridList, a.gridMap[gid+1]) + } + // 将x轴当前的格子都取出进行遍历 再分别得到每个格子的平面上下是否有格子 + // 得到当前x轴的格子id集合 + gidListX := make([]uint32, 0) + for _, v := range gridList { + gidListX = append(gidListX, v.gid) + } + // 遍历x轴格子 + for _, v := range gidListX { + // 计算该格子的idz + idz := int16(v % (uint32(a.numX) * uint32(a.numZ)) / uint32(a.numX)) + // 判断当前格子平面上方是否还有格子 + if idz > 0 { + gridList = append(gridList, a.gridMap[v-uint32(a.numX)]) + } + // 判断当前格子平面下方是否还有格子 + if idz < a.numZ-1 { + gridList = append(gridList, a.gridMap[v+uint32(a.numX)]) + } + } + // 将xoz平面当前的格子都取出进行遍历 再分别得到每个格子的空间上下是否有格子 + // 得到当前xoz平面的格子id集合 + gidListXOZ := make([]uint32, 0) + for _, v := range gridList { + gidListXOZ = append(gidListXOZ, v.gid) + } + // 遍历xoz平面格子 + for _, v := range gidListXOZ { + // 计算该格子的idy + idy := int16(v / (uint32(a.numX) * uint32(a.numZ))) + // 判断当前格子空间上方是否还有格子 + if idy > 0 { + gridList = append(gridList, a.gridMap[v-uint32(a.numX)*uint32(a.numZ)]) + } + // 判断当前格子空间下方是否还有格子 + if idy < a.numY-1 { + gridList = append(gridList, a.gridMap[v+uint32(a.numX)*uint32(a.numZ)]) + } + } + return gridList +} + +// 通过坐标得到周边格子内的全部entityId +func (a *AoiManager) GetEntityIdListByPos(x, y, z float32) (entityIdList []uint32) { + // 根据坐标得到当前坐标属于哪个格子id + gid := a.GetGidByPos(x, y, z) + // 根据格子id得到周边格子的信息 + gridList := a.GetSurrGridListByGid(gid) + entityIdList = make([]uint32, 0) + for _, v := range gridList { + tmp := v.GetEntityIdList() + entityIdList = append(entityIdList, tmp...) + //logger.LOG.Debug("Grid: gid: %d, tmp len: %v", v.gid, len(tmp)) + } + return entityIdList +} + +// 通过gid获取当前格子的全部entityId +func (a *AoiManager) GetEntityIdListByGid(gid uint32) (entityIdList []uint32) { + grid := a.gridMap[gid] + entityIdList = grid.GetEntityIdList() + return entityIdList +} + +// 添加一个entityId到一个格子中 +func (a *AoiManager) AddEntityIdToGrid(entityId uint32, gid uint32) { + grid := a.gridMap[gid] + grid.AddEntityId(entityId) +} + +// 移除一个格子中的entityId +func (a *AoiManager) RemoveEntityIdFromGrid(entityId uint32, gid uint32) { + grid := a.gridMap[gid] + grid.RemoveEntityId(entityId) +} + +// 通过坐标添加一个entityId到一个格子中 +func (a *AoiManager) AddEntityIdToGridByPos(entityId uint32, x, y, z float32) { + gid := a.GetGidByPos(x, y, z) + a.AddEntityIdToGrid(entityId, gid) +} + +// 通过坐标把一个entityId从对应的格子中删除 +func (a *AoiManager) RemoveEntityIdFromGridByPos(entityId uint32, x, y, z float32) { + gid := a.GetGidByPos(x, y, z) + a.RemoveEntityIdFromGrid(entityId, gid) +} diff --git a/service/game-hk4e/game/aoi/aoi_test.go b/service/game-hk4e/game/aoi/aoi_test.go new file mode 100644 index 00000000..8b886269 --- /dev/null +++ b/service/game-hk4e/game/aoi/aoi_test.go @@ -0,0 +1,30 @@ +package aoi + +import ( + "flswld.com/common/config" + "flswld.com/logger" + "testing" +) + +func TestAoiManagerGetSurrGridListByGid(t *testing.T) { + filePath := "./application.toml" + config.InitConfig(filePath) + logger.InitLogger() + aoiManager := NewAoiManager( + -150, 150, 3, + -150, 150, 3, + -150, 150, 3, + ) + logger.LOG.Debug("aoiManager: %s", aoiManager.DebugString()) + for k := range aoiManager.gridMap { + // 得到当前格子周边的九宫格 + gridList := aoiManager.GetSurrGridListByGid(k) + // 得到九宫格所有的id + logger.LOG.Debug("gid: %d gridList len: %d", k, len(gridList)) + gidList := make([]uint32, 0, len(gridList)) + for _, grid := range gridList { + gidList = append(gidList, grid.gid) + } + logger.LOG.Debug("Grid: gid: %d, surr grid gid list: %v", k, gidList) + } +} diff --git a/service/game-hk4e/game/aoi/grid.go b/service/game-hk4e/game/aoi/grid.go new file mode 100644 index 00000000..eb923a68 --- /dev/null +++ b/service/game-hk4e/game/aoi/grid.go @@ -0,0 +1,63 @@ +package aoi + +import ( + "flswld.com/logger" + "fmt" +) + +// 地图格子 +type Grid struct { + gid uint32 // 格子id + // 格子边界坐标 + minX int16 + maxX int16 + minY int16 + maxY int16 + minZ int16 + maxZ int16 + entityIdMap map[uint32]bool // k:entityId v:是否存在 +} + +// 初始化格子 +func NewGrid(gid uint32, minX, maxX, minY, maxY, minZ, maxZ int16) (r *Grid) { + r = new(Grid) + r.gid = gid + r.minX = minX + r.maxX = maxX + r.minY = minY + r.maxY = maxY + r.minZ = minZ + r.maxZ = maxZ + r.entityIdMap = make(map[uint32]bool) + return r +} + +// 向格子中添加一个实体id +func (g *Grid) AddEntityId(entityId uint32) { + g.entityIdMap[entityId] = true +} + +// 从格子中删除一个实体id +func (g *Grid) RemoveEntityId(entityId uint32) { + _, exist := g.entityIdMap[entityId] + if exist { + delete(g.entityIdMap, entityId) + } else { + logger.LOG.Error("remove entity id but it not exist, entityId: %v", entityId) + } +} + +// 获取格子中所有实体id +func (g *Grid) GetEntityIdList() (entityIdList []uint32) { + entityIdList = make([]uint32, 0) + for k := range g.entityIdMap { + entityIdList = append(entityIdList, k) + } + return entityIdList +} + +// 打印信息方法 +func (g *Grid) DebugString() string { + return fmt.Sprintf("Grid: gid: %d, minX: %d, maxX: %d, minY: %d, maxY: %d, minZ: %d, maxZ: %d, entityIdMap: %v", + g.gid, g.minX, g.maxX, g.minY, g.maxY, g.minZ, g.maxZ, g.entityIdMap) +} diff --git a/service/game-hk4e/game/game_manager.go b/service/game-hk4e/game/game_manager.go new file mode 100644 index 00000000..9119d67f --- /dev/null +++ b/service/game-hk4e/game/game_manager.go @@ -0,0 +1,112 @@ +package game + +import ( + "flswld.com/common/utils/alg" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/dao" + "game-hk4e/model" + "game-hk4e/rpc" + pb "google.golang.org/protobuf/proto" +) + +type GameManager struct { + dao *dao.Dao + rpcManager *rpc.RpcManager + netMsgInput chan *proto.NetMsg + netMsgOutput chan *proto.NetMsg + snowflake *alg.SnowflakeWorker + // 本地事件队列管理器 + localEventManager *LocalEventManager + // 接口路由管理器 + routeManager *RouteManager + // 用户管理器 + userManager *UserManager + // 世界管理器 + worldManager *WorldManager + // 游戏服务器tick + tickManager *TickManager +} + +func NewGameManager(dao *dao.Dao, rpcManager *rpc.RpcManager, netMsgInput chan *proto.NetMsg, netMsgOutput chan *proto.NetMsg) (r *GameManager) { + r = new(GameManager) + r.dao = dao + r.rpcManager = rpcManager + r.netMsgInput = netMsgInput + r.netMsgOutput = netMsgOutput + r.snowflake = alg.NewSnowflakeWorker(1) + r.localEventManager = NewLocalEventManager(r) + r.routeManager = NewRouteManager(r) + r.userManager = NewUserManager(dao, r.localEventManager.localEventChan) + r.worldManager = NewWorldManager(r.snowflake) + r.tickManager = NewTickManager(r) + + r.worldManager.worldStatic.InitTerrain() + r.worldManager.worldStatic.Pathfinding() + r.worldManager.worldStatic.ConvPathVectorListToAiMoveVectorList() + + // 大世界的主人 + r.OnRegOk(false, &proto.SetPlayerBornDataReq{AvatarId: 10000007, NickName: "大世界的主人"}, 1, 0) + bigWorldOwner := r.userManager.GetOnlineUser(1) + bigWorldOwner.SceneLoadState = model.SceneEnterDone + bigWorldOwner.DbState = model.DbNormal + r.worldManager.InitBigWorld(bigWorldOwner) + + return r +} + +func (g *GameManager) Start() { + g.routeManager.InitRoute() + g.userManager.StartAutoSaveUser() + go func() { + for { + select { + case netMsg := <-g.netMsgOutput: + // 接收客户端消息 + g.routeManager.RouteHandle(netMsg) + case <-g.tickManager.ticker.C: + // 游戏服务器定时帧 + g.tickManager.OnGameServerTick() + case localEvent := <-g.localEventManager.localEventChan: + // 处理本地事件 + g.localEventManager.LocalEventHandle(localEvent) + } + } + }() +} + +func (g *GameManager) Stop() { + g.worldManager.worldStatic.SaveTerrain() +} + +// 发送消息给客户端 +func (g *GameManager) SendMsg(apiId uint16, userId uint32, clientSeq uint32, payloadMsg pb.Message) { + if userId < 100000000 { + return + } + netMsg := new(proto.NetMsg) + netMsg.UserId = userId + netMsg.EventId = proto.NormalMsg + netMsg.ApiId = apiId + netMsg.ClientSeq = clientSeq + // 在这里直接序列化成二进制数据 防止发送的消息内包含各种游戏数据指针 而造成并发读写的问题 + payloadMessageData, err := pb.Marshal(payloadMsg) + if err != nil { + logger.LOG.Error("parse payload msg to bin error: %v", err) + return + } + netMsg.PayloadMessageData = payloadMessageData + g.netMsgInput <- netMsg +} + +func (g *GameManager) ReconnectPlayer(userId uint32) { + g.SendMsg(proto.ApiClientReconnectNotify, userId, 0, new(proto.ClientReconnectNotify)) +} + +func (g *GameManager) DisconnectPlayer(userId uint32) { + g.SendMsg(proto.ApiServerDisconnectClientNotify, userId, 0, new(proto.ServerDisconnectClientNotify)) +} + +func (g *GameManager) KickPlayer(userId uint32) { + g.rpcManager.SendKickPlayerToHk4eGateway(userId) +} diff --git a/service/game-hk4e/game/local_event_manager.go b/service/game-hk4e/game/local_event_manager.go new file mode 100644 index 00000000..7288e790 --- /dev/null +++ b/service/game-hk4e/game/local_event_manager.go @@ -0,0 +1,34 @@ +package game + +const ( + LoadLoginUserFromDbFinish = iota + CheckUserExistOnRegFromDbFinish +) + +type LocalEvent struct { + EventId int + Msg any +} + +type LocalEventManager struct { + localEventChan chan *LocalEvent + gameManager *GameManager +} + +func NewLocalEventManager(gameManager *GameManager) (r *LocalEventManager) { + r = new(LocalEventManager) + r.localEventChan = make(chan *LocalEvent, 1000) + r.gameManager = gameManager + return r +} + +func (l *LocalEventManager) LocalEventHandle(localEvent *LocalEvent) { + switch localEvent.EventId { + case LoadLoginUserFromDbFinish: + playerLoginInfo := localEvent.Msg.(*PlayerLoginInfo) + l.gameManager.OnLoginOk(playerLoginInfo.UserId, playerLoginInfo.Player, playerLoginInfo.ClientSeq) + case CheckUserExistOnRegFromDbFinish: + playerRegInfo := localEvent.Msg.(*PlayerRegInfo) + l.gameManager.OnRegOk(playerRegInfo.Exist, playerRegInfo.Req, playerRegInfo.UserId, playerRegInfo.ClientSeq) + } +} diff --git a/service/game-hk4e/game/msg_common_handler.go b/service/game-hk4e/game/msg_common_handler.go new file mode 100644 index 00000000..d760c9f8 --- /dev/null +++ b/service/game-hk4e/game/msg_common_handler.go @@ -0,0 +1,103 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "time" +) + +func (g *GameManager) PlayerSetPauseReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user pause, user id: %v", userId) + req := payloadMsg.(*proto.PlayerSetPauseReq) + isPaused := req.IsPaused + + player.Pause = isPaused + + // PacketPlayerSetPauseRsp + playerSetPauseRsp := new(proto.PlayerSetPauseRsp) + g.SendMsg(proto.ApiPlayerSetPauseRsp, userId, player.ClientSeq, playerSetPauseRsp) +} + +func (g *GameManager) TowerAllDataReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get tower all data, user id: %v", userId) + + // PacketTowerAllDataRsp + towerAllDataRsp := new(proto.TowerAllDataRsp) + towerAllDataRsp.TowerScheduleId = 29 + towerAllDataRsp.TowerFloorRecordList = []*proto.TowerFloorRecord{{FloorId: 1001}} + towerAllDataRsp.CurLevelRecord = &proto.TowerCurLevelRecord{IsEmpty: true} + towerAllDataRsp.NextScheduleChangeTime = 4294967295 + towerAllDataRsp.FloorOpenTimeMap = make(map[uint32]uint32) + towerAllDataRsp.FloorOpenTimeMap[1024] = 1630486800 + towerAllDataRsp.FloorOpenTimeMap[1025] = 1630486800 + towerAllDataRsp.FloorOpenTimeMap[1026] = 1630486800 + towerAllDataRsp.FloorOpenTimeMap[1027] = 1630486800 + towerAllDataRsp.ScheduleStartTime = 1630486800 + g.SendMsg(proto.ApiTowerAllDataRsp, userId, player.ClientSeq, towerAllDataRsp) +} + +func (g *GameManager) EntityAiSyncNotify(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user entity ai sync, user id: %v", userId) + req := payloadMsg.(*proto.EntityAiSyncNotify) + + if len(req.LocalAvatarAlertedMonsterList) == 0 { + return + } + + // PacketEntityAiSyncNotify + entityAiSyncNotify := new(proto.EntityAiSyncNotify) + entityAiSyncNotify.InfoList = make([]*proto.AiSyncInfo, 0) + for _, monsterId := range req.LocalAvatarAlertedMonsterList { + entityAiSyncNotify.InfoList = append(entityAiSyncNotify.InfoList, &proto.AiSyncInfo{ + EntityId: monsterId, + HasPathToTarget: true, + IsSelfKilling: false, + }) + } + g.SendMsg(proto.ApiEntityAiSyncNotify, userId, player.ClientSeq, entityAiSyncNotify) +} + +func (g *GameManager) ClientTimeNotify(userId uint32, clientTime uint32) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + logger.LOG.Debug("client time notify, user id: %v, time: %v", userId, clientTime) + player.ClientTime = clientTime +} + +func (g *GameManager) ClientRttNotify(userId uint32, clientRtt uint32) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + logger.LOG.Debug("client rtt notify, user id: %v, rtt: %v", userId, clientRtt) + player.ClientRTT = clientRtt +} + +func (g *GameManager) ServerAnnounceNotify(announceId uint32, announceMsg string) { + for _, onlinePlayer := range g.userManager.GetAllOnlineUserList() { + serverAnnounceNotify := new(proto.ServerAnnounceNotify) + now := uint32(time.Now().Unix()) + serverAnnounceNotify.AnnounceDataList = []*proto.AnnounceData{{ + ConfigId: announceId, + BeginTime: now + 1, + EndTime: now + 2, + CenterSystemText: announceMsg, + CenterSystemFrequency: 1, + }} + g.SendMsg(proto.ApiServerAnnounceNotify, onlinePlayer.PlayerID, 0, serverAnnounceNotify) + } +} + +func (g *GameManager) ServerAnnounceRevokeNotify(announceId uint32) { + for _, onlinePlayer := range g.userManager.GetAllOnlineUserList() { + serverAnnounceRevokeNotify := new(proto.ServerAnnounceRevokeNotify) + serverAnnounceRevokeNotify.ConfigIdList = []uint32{announceId} + g.SendMsg(proto.ApiServerAnnounceRevokeNotify, onlinePlayer.PlayerID, 0, serverAnnounceRevokeNotify) + } +} diff --git a/service/game-hk4e/game/route_manager.go b/service/game-hk4e/game/route_manager.go new file mode 100644 index 00000000..b5876105 --- /dev/null +++ b/service/game-hk4e/game/route_manager.go @@ -0,0 +1,116 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" +) + +type HandlerFunc func(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) + +type RouteManager struct { + gameManager *GameManager + // k:apiId v:HandlerFunc + handlerFuncRouteMap map[uint16]HandlerFunc +} + +func NewRouteManager(gameManager *GameManager) (r *RouteManager) { + r = new(RouteManager) + r.gameManager = gameManager + r.handlerFuncRouteMap = make(map[uint16]HandlerFunc) + return r +} + +func (r *RouteManager) registerRouter(apiId uint16, handlerFunc HandlerFunc) { + r.handlerFuncRouteMap[apiId] = handlerFunc +} + +func (r *RouteManager) doRoute(apiId uint16, userId uint32, clientSeq uint32, payloadMsg pb.Message) { + handlerFunc, ok := r.handlerFuncRouteMap[apiId] + if !ok { + logger.LOG.Error("no route for msg, apiId: %v", apiId) + return + } + player := r.gameManager.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + player.ClientSeq = clientSeq + handlerFunc(userId, player, clientSeq, payloadMsg) +} + +func (r *RouteManager) InitRoute() { + r.registerRouter(proto.ApiPlayerSetPauseReq, r.gameManager.PlayerSetPauseReq) + r.registerRouter(proto.ApiEnterSceneReadyReq, r.gameManager.EnterSceneReadyReq) + r.registerRouter(proto.ApiPathfindingEnterSceneReq, r.gameManager.PathfindingEnterSceneReq) + r.registerRouter(proto.ApiGetScenePointReq, r.gameManager.GetScenePointReq) + r.registerRouter(proto.ApiGetSceneAreaReq, r.gameManager.GetSceneAreaReq) + r.registerRouter(proto.ApiSceneInitFinishReq, r.gameManager.SceneInitFinishReq) + r.registerRouter(proto.ApiEnterSceneDoneReq, r.gameManager.EnterSceneDoneReq) + r.registerRouter(proto.ApiEnterWorldAreaReq, r.gameManager.EnterWorldAreaReq) + r.registerRouter(proto.ApiPostEnterSceneReq, r.gameManager.PostEnterSceneReq) + r.registerRouter(proto.ApiTowerAllDataReq, r.gameManager.TowerAllDataReq) + r.registerRouter(proto.ApiSceneTransToPointReq, r.gameManager.SceneTransToPointReq) + r.registerRouter(proto.ApiMarkMapReq, r.gameManager.MarkMapReq) + r.registerRouter(proto.ApiChangeAvatarReq, r.gameManager.ChangeAvatarReq) + r.registerRouter(proto.ApiSetUpAvatarTeamReq, r.gameManager.SetUpAvatarTeamReq) + r.registerRouter(proto.ApiChooseCurAvatarTeamReq, r.gameManager.ChooseCurAvatarTeamReq) + r.registerRouter(proto.ApiGetGachaInfoReq, r.gameManager.GetGachaInfoReq) + r.registerRouter(proto.ApiDoGachaReq, r.gameManager.DoGachaReq) + r.registerRouter(proto.ApiQueryPathReq, r.gameManager.QueryPathReq) + r.registerRouter(proto.ApiCombatInvocationsNotify, r.gameManager.CombatInvocationsNotify) + r.registerRouter(proto.ApiAbilityInvocationsNotify, r.gameManager.AbilityInvocationsNotify) + r.registerRouter(proto.ApiClientAbilityInitFinishNotify, r.gameManager.ClientAbilityInitFinishNotify) + r.registerRouter(proto.ApiEntityAiSyncNotify, r.gameManager.EntityAiSyncNotify) + r.registerRouter(proto.ApiWearEquipReq, r.gameManager.WearEquipReq) + r.registerRouter(proto.ApiChangeGameTimeReq, r.gameManager.ChangeGameTimeReq) + r.registerRouter(proto.ApiGetPlayerSocialDetailReq, r.gameManager.GetPlayerSocialDetailReq) + r.registerRouter(proto.ApiSetPlayerBirthdayReq, r.gameManager.SetPlayerBirthdayReq) + r.registerRouter(proto.ApiSetNameCardReq, r.gameManager.SetNameCardReq) + r.registerRouter(proto.ApiSetPlayerSignatureReq, r.gameManager.SetPlayerSignatureReq) + r.registerRouter(proto.ApiSetPlayerNameReq, r.gameManager.SetPlayerNameReq) + r.registerRouter(proto.ApiSetPlayerHeadImageReq, r.gameManager.SetPlayerHeadImageReq) + r.registerRouter(proto.ApiGetAllUnlockNameCardReq, r.gameManager.GetAllUnlockNameCardReq) + r.registerRouter(proto.ApiGetPlayerFriendListReq, r.gameManager.GetPlayerFriendListReq) + r.registerRouter(proto.ApiGetPlayerAskFriendListReq, r.gameManager.GetPlayerAskFriendListReq) + r.registerRouter(proto.ApiAskAddFriendReq, r.gameManager.AskAddFriendReq) + r.registerRouter(proto.ApiDealAddFriendReq, r.gameManager.DealAddFriendReq) + r.registerRouter(proto.ApiGetOnlinePlayerListReq, r.gameManager.GetOnlinePlayerListReq) + r.registerRouter(proto.ApiPlayerApplyEnterMpReq, r.gameManager.PlayerApplyEnterMpReq) + r.registerRouter(proto.ApiPlayerApplyEnterMpResultReq, r.gameManager.PlayerApplyEnterMpResultReq) + r.registerRouter(proto.ApiPlayerGetForceQuitBanInfoReq, r.gameManager.PlayerGetForceQuitBanInfoReq) + r.registerRouter(proto.ApiGetShopmallDataReq, r.gameManager.GetShopmallDataReq) + r.registerRouter(proto.ApiGetShopReq, r.gameManager.GetShopReq) + r.registerRouter(proto.ApiBuyGoodsReq, r.gameManager.BuyGoodsReq) + r.registerRouter(proto.ApiMcoinExchangeHcoinReq, r.gameManager.McoinExchangeHcoinReq) + r.registerRouter(proto.ApiAvatarChangeCostumeReq, r.gameManager.AvatarChangeCostumeReq) + r.registerRouter(proto.ApiAvatarWearFlycloakReq, r.gameManager.AvatarWearFlycloakReq) + r.registerRouter(proto.ApiPullRecentChatReq, r.gameManager.PullRecentChatReq) + r.registerRouter(proto.ApiPullPrivateChatReq, r.gameManager.PullPrivateChatReq) + r.registerRouter(proto.ApiPrivateChatReq, r.gameManager.PrivateChatReq) + r.registerRouter(proto.ApiReadPrivateChatReq, r.gameManager.ReadPrivateChatReq) + r.registerRouter(proto.ApiPlayerChatReq, r.gameManager.PlayerChatReq) + r.registerRouter(proto.ApiBackMyWorldReq, r.gameManager.BackMyWorldReq) + r.registerRouter(proto.ApiChangeWorldToSingleModeReq, r.gameManager.ChangeWorldToSingleModeReq) + r.registerRouter(proto.ApiSceneKickPlayerReq, r.gameManager.SceneKickPlayerReq) + r.registerRouter(proto.ApiChangeMpTeamAvatarReq, r.gameManager.ChangeMpTeamAvatarReq) +} + +func (r *RouteManager) RouteHandle(netMsg *proto.NetMsg) { + switch netMsg.EventId { + case proto.NormalMsg: + r.doRoute(netMsg.ApiId, netMsg.UserId, netMsg.ClientSeq, netMsg.PayloadMessage) + case proto.UserRegNotify: + r.gameManager.OnReg(netMsg.UserId, netMsg.ClientSeq, netMsg.PayloadMessage) + case proto.UserLoginNotify: + r.gameManager.OnLogin(netMsg.UserId, netMsg.ClientSeq) + case proto.UserOfflineNotify: + r.gameManager.OnUserOffline(netMsg.UserId) + case proto.ClientRttNotify: + r.gameManager.ClientRttNotify(netMsg.UserId, netMsg.ClientRtt) + case proto.ClientTimeNotify: + r.gameManager.ClientTimeNotify(netMsg.UserId, netMsg.ClientTime) + } +} diff --git a/service/game-hk4e/game/tick_manager.go b/service/game-hk4e/game/tick_manager.go new file mode 100644 index 00000000..1b135be4 --- /dev/null +++ b/service/game-hk4e/game/tick_manager.go @@ -0,0 +1,312 @@ +package game + +import ( + "flswld.com/common/utils/random" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "math" + "time" +) + +type TickManager struct { + ticker *time.Ticker + tickCount uint64 + gameManager *GameManager +} + +func NewTickManager(gameManager *GameManager) (r *TickManager) { + r = new(TickManager) + r.ticker = time.NewTicker(time.Millisecond * 100) + logger.LOG.Info("game server tick start at: %v", time.Now().UnixMilli()) + r.gameManager = gameManager + return r +} + +func (t *TickManager) OnGameServerTick() { + t.tickCount++ + now := time.Now().UnixMilli() + t.onTick100MilliSecond(now) + if t.tickCount%(10*1) == 0 { + t.onTickSecond(now) + } + if t.tickCount%(10*5) == 0 { + t.onTick5Second(now) + } + if t.tickCount%(10*10) == 0 { + t.onTick10Second(now) + } + if t.tickCount%(10*60) == 0 { + t.onTickMinute(now) + } + if t.tickCount%(10*60*10) == 0 { + t.onTick10Minute(now) + } + if t.tickCount%(10*3600) == 0 { + t.onTickHour(now) + } + if t.tickCount%(10*3600*24) == 0 { + t.onTickDay(now) + } + if t.tickCount%(10*3600*24*7) == 0 { + t.onTickWeek(now) + } +} + +func (t *TickManager) onTickWeek(now int64) { + logger.LOG.Info("on tick week, time: %v", now) +} + +func (t *TickManager) onTickDay(now int64) { + logger.LOG.Info("on tick day, time: %v", now) +} + +func (t *TickManager) onTickHour(now int64) { + logger.LOG.Info("on tick hour, time: %v", now) +} + +func (t *TickManager) onTick10Minute(now int64) { + for _, world := range t.gameManager.worldManager.worldMap { + for _, player := range world.playerMap { + // 蓝球粉球 + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 223, ChangeCount: 1}}, true, 0) + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 224, ChangeCount: 1}}, true, 0) + } + } +} + +func (t *TickManager) onTickMinute(now int64) { + t.gameManager.ServerAnnounceNotify(100, "test123") + for _, world := range t.gameManager.worldManager.worldMap { + for _, player := range world.playerMap { + // 随机物品 + allItemDataConfig := t.gameManager.GetAllItemDataConfig() + count := random.GetRandomInt32(0, 4) + i := int32(0) + for itemId := range allItemDataConfig { + itemDataConfig := allItemDataConfig[itemId] + // TODO 3.0.0REL版本中 发送某些无效家具 可能会导致客户端背包家具界面卡死 + if itemDataConfig.ItemEnumType == constant.ItemTypeConst.ITEM_FURNITURE { + continue + } + num := random.GetRandomInt32(1, 9) + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: uint32(itemId), ChangeCount: uint32(num)}}, true, 0) + i++ + if i > count { + break + } + } + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 102, ChangeCount: 30}}, true, 0) + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 201, ChangeCount: 10}}, true, 0) + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 202, ChangeCount: 100}}, true, 0) + t.gameManager.AddUserItem(player.PlayerID, []*UserItem{{ItemId: 203, ChangeCount: 10}}, true, 0) + } + } +} + +func (t *TickManager) onTick10Second(now int64) { + for _, world := range t.gameManager.worldManager.worldMap { + if !world.IsBigWorld() && (world.multiplayer || !world.owner.Pause) { + // 刷怪 + scene := world.GetSceneById(3) + monsterEntityCount := 0 + for _, entity := range scene.entityMap { + if entity.entityType == uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_MONSTER) { + monsterEntityCount++ + } + } + if monsterEntityCount < 30 { + monsterEntityId := t.createMonster(scene) + bigWorldOwner := t.gameManager.userManager.GetOnlineUser(1) + t.gameManager.AddSceneEntityNotify(bigWorldOwner, proto.VisionType_VISION_TYPE_BORN, []uint32{monsterEntityId}, true) + } + } + for _, player := range world.playerMap { + if world.multiplayer || !world.owner.Pause { + // 改面板 + team := player.TeamConfig.GetActiveTeam() + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + avatar := player.AvatarMap[avatarId] + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_ATTACK)] = 1000000 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL)] = 1.0 + t.gameManager.UpdateUserAvatarFightProp(player.PlayerID, avatarId) + } + } + } + } +} + +func (t *TickManager) onTick5Second(now int64) { + for _, world := range t.gameManager.worldManager.worldMap { + if world.IsBigWorld() { + for applyUid := range world.owner.CoopApplyMap { + t.gameManager.UserDealEnterWorld(world.owner, applyUid, true) + } + } + for _, player := range world.playerMap { + if world.multiplayer { + // PacketWorldPlayerLocationNotify + worldPlayerLocationNotify := new(proto.WorldPlayerLocationNotify) + for _, worldPlayer := range world.playerMap { + playerWorldLocationInfo := &proto.PlayerWorldLocationInfo{ + SceneId: worldPlayer.SceneId, + PlayerLoc: &proto.PlayerLocationInfo{ + Uid: worldPlayer.PlayerID, + Pos: &proto.Vector{ + X: float32(worldPlayer.Pos.X), + Y: float32(worldPlayer.Pos.Y), + Z: float32(worldPlayer.Pos.Z), + }, + Rot: &proto.Vector{ + X: float32(worldPlayer.Rot.X), + Y: float32(worldPlayer.Rot.Y), + Z: float32(worldPlayer.Rot.Z), + }, + }, + } + worldPlayerLocationNotify.PlayerWorldLocList = append(worldPlayerLocationNotify.PlayerWorldLocList, playerWorldLocationInfo) + } + t.gameManager.SendMsg(proto.ApiWorldPlayerLocationNotify, player.PlayerID, 0, worldPlayerLocationNotify) + + // PacketScenePlayerLocationNotify + scene := world.GetSceneById(player.SceneId) + scenePlayerLocationNotify := new(proto.ScenePlayerLocationNotify) + scenePlayerLocationNotify.SceneId = player.SceneId + for _, scenePlayer := range scene.playerMap { + playerLocationInfo := &proto.PlayerLocationInfo{ + Uid: scenePlayer.PlayerID, + Pos: &proto.Vector{ + X: float32(scenePlayer.Pos.X), + Y: float32(scenePlayer.Pos.Y), + Z: float32(scenePlayer.Pos.Z), + }, + Rot: &proto.Vector{ + X: float32(scenePlayer.Rot.X), + Y: float32(scenePlayer.Rot.Y), + Z: float32(scenePlayer.Rot.Z), + }, + } + scenePlayerLocationNotify.PlayerLocList = append(scenePlayerLocationNotify.PlayerLocList, playerLocationInfo) + } + t.gameManager.SendMsg(proto.ApiScenePlayerLocationNotify, player.PlayerID, 0, scenePlayerLocationNotify) + } + } + } +} + +func (t *TickManager) onTickSecond(now int64) { + for _, world := range t.gameManager.worldManager.worldMap { + for _, player := range world.playerMap { + // PacketWorldPlayerRTTNotify + worldPlayerRTTNotify := new(proto.WorldPlayerRTTNotify) + worldPlayerRTTNotify.PlayerRttList = make([]*proto.PlayerRTTInfo, 0) + for _, worldPlayer := range world.playerMap { + playerRTTInfo := &proto.PlayerRTTInfo{Uid: worldPlayer.PlayerID, Rtt: worldPlayer.ClientRTT} + worldPlayerRTTNotify.PlayerRttList = append(worldPlayerRTTNotify.PlayerRttList, playerRTTInfo) + } + t.gameManager.SendMsg(proto.ApiWorldPlayerRTTNotify, player.PlayerID, 0, worldPlayerRTTNotify) + } + } +} + +func (t *TickManager) onTick100MilliSecond(now int64) { + // AttackHandler + for _, world := range t.gameManager.worldManager.worldMap { + for _, scene := range world.sceneMap { + scene.AttackHandler(t.gameManager) + } + } + + bigWorldOwner := t.gameManager.userManager.GetOnlineUser(1) + bigWorld := t.gameManager.worldManager.GetBigWorld() + bigWorldScene := bigWorld.GetSceneById(3) + + if len(bigWorldScene.playerMap) < 2 { + return + } + if t.gameManager.worldManager.worldStatic.aiMoveCurrIndex >= len(t.gameManager.worldManager.worldStatic.aiMoveVectorList)-1 { + return + } + t.gameManager.worldManager.worldStatic.aiMoveCurrIndex++ + + entityMoveInfo := new(proto.EntityMoveInfo) + activeAvatarId := bigWorldOwner.TeamConfig.GetActiveAvatarId() + playerTeamEntity := bigWorldScene.GetPlayerTeamEntity(bigWorldOwner.PlayerID) + entityMoveInfo.EntityId = playerTeamEntity.avatarEntityMap[activeAvatarId] + entityMoveInfo.SceneTime = uint32(bigWorldScene.GetSceneTime()) + entityMoveInfo.ReliableSeq = uint32(bigWorldScene.GetSceneTime() / 100 * 100) + entityMoveInfo.IsReliable = true + oldPos := model.Vector{ + X: bigWorldOwner.Pos.X, + Y: bigWorldOwner.Pos.Y, + Z: bigWorldOwner.Pos.Z, + } + newPos := t.gameManager.worldManager.worldStatic.aiMoveVectorList[t.gameManager.worldManager.worldStatic.aiMoveCurrIndex] + rotY := math.Atan2(newPos.X-oldPos.X, newPos.Z-oldPos.Z) / math.Pi * 180.0 + if rotY < 0.0 { + rotY += 360.0 + } + entityMoveInfo.MotionInfo = &proto.MotionInfo{ + Pos: &proto.Vector{ + X: float32(newPos.X), + Y: float32(newPos.Y), + Z: float32(newPos.Z), + }, + Rot: &proto.Vector{ + X: 0.0, + Y: float32(rotY), + Z: 0.0, + }, + Speed: &proto.Vector{ + X: float32((newPos.X - oldPos.X) * 10.0), + Y: float32((newPos.Y - oldPos.Y) * 10.0), + Z: float32((newPos.Z - oldPos.Z) * 10.0), + }, + State: proto.MotionState_MOTION_STATE_RUN, + RefPos: new(proto.Vector), + } + data, err := pb.Marshal(entityMoveInfo) + if err != nil { + logger.LOG.Error("build combat invocations entity move info error: %v", err) + return + } + combatInvocationsNotify := new(proto.CombatInvocationsNotify) + combatInvocationsNotify.InvokeList = []*proto.CombatInvokeEntry{{ + CombatData: data, + ForwardType: proto.ForwardType_FORWARD_TYPE_TO_ALL_EXCEPT_CUR, + ArgumentType: proto.CombatTypeArgument_COMBAT_TYPE_ARGUMENT_ENTITY_MOVE, + }} + t.gameManager.CombatInvocationsNotify(bigWorldOwner.PlayerID, bigWorldOwner, 0, combatInvocationsNotify) +} + +func (t *TickManager) createMonster(scene *Scene) uint32 { + pos := &model.Vector{ + X: 2747, + Y: 194, + Z: -1719, + } + fpm := map[uint32]float32{ + uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP): float32(72.91699), + uint32(constant.FightPropertyConst.FIGHT_PROP_PHYSICAL_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_DEFENSE): float32(505.0), + uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_ATTACK): float32(45.679916), + uint32(constant.FightPropertyConst.FIGHT_PROP_ICE_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_ATTACK): float32(45.679916), + uint32(constant.FightPropertyConst.FIGHT_PROP_MAX_HP): float32(72.91699), + uint32(constant.FightPropertyConst.FIGHT_PROP_FIRE_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_ELEC_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_WIND_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_ROCK_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_GRASS_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_WATER_SUB_HURT): float32(0.1), + uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_HP): float32(72.91699), + uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_DEFENSE): float32(505.0), + } + entityId := scene.CreateEntityMonster(pos, 1, fpm) + return entityId +} diff --git a/service/game-hk4e/game/user_avatar.go b/service/game-hk4e/game/user_avatar.go new file mode 100644 index 00000000..4bf797d5 --- /dev/null +++ b/service/game-hk4e/game/user_avatar.go @@ -0,0 +1,322 @@ +package game + +import ( + "flswld.com/common/utils/object" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" +) + +func (g *GameManager) GetAllAvatarDataConfig() map[int32]*gdc.AvatarData { + allAvatarDataConfig := make(map[int32]*gdc.AvatarData) + for avatarId, avatarData := range gdc.CONF.AvatarDataMap { + if avatarId < 10000002 || avatarId >= 11000000 { + // 跳过无效角色 + continue + } + if avatarId == 10000005 || avatarId == 10000007 { + // 跳过主角 + continue + } + allAvatarDataConfig[avatarId] = avatarData + } + return allAvatarDataConfig +} + +func (g *GameManager) AddUserAvatar(userId uint32, avatarId uint32) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + player.AddAvatar(avatarId) + + // 添加初始武器 + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(avatarId)] + weaponId := g.AddUserWeapon(player.PlayerID, uint32(avatarDataConfig.InitialWeapon)) + + // 角色装上初始武器 + g.WearUserAvatarEquip(player.PlayerID, avatarId, weaponId) + + // TODO 真的有必要存在吗 + g.UpdateUserAvatarFightProp(player.PlayerID, avatarId) + + // PacketAvatarAddNotify + avatar := player.AvatarMap[avatarId] + avatarAddNotify := new(proto.AvatarAddNotify) + avatarAddNotify.Avatar = g.PacketAvatarInfo(avatar) + avatarAddNotify.IsInTeam = false + g.SendMsg(proto.ApiAvatarAddNotify, userId, player.ClientSeq, avatarAddNotify) +} + +func (g *GameManager) WearEquipReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user wear equip, user id: %v", userId) + req := payloadMsg.(*proto.WearEquipReq) + avatarGuid := req.AvatarGuid + equipGuid := req.EquipGuid + avatar := player.GameObjectGuidMap[avatarGuid].(*model.Avatar) + weapon := player.GameObjectGuidMap[equipGuid].(*model.Weapon) + g.WearUserAvatarEquip(player.PlayerID, avatar.AvatarId, weapon.WeaponId) + + // PacketWearEquipRsp + wearEquipRsp := new(proto.WearEquipRsp) + wearEquipRsp.AvatarGuid = avatarGuid + wearEquipRsp.EquipGuid = equipGuid + g.SendMsg(proto.ApiWearEquipRsp, userId, player.ClientSeq, wearEquipRsp) +} + +func (g *GameManager) WearUserAvatarEquip(userId uint32, avatarId uint32, weaponId uint64) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + avatar := player.AvatarMap[avatarId] + weapon := player.WeaponMap[weaponId] + + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + team := player.TeamConfig.GetActiveTeam() + + if weapon.AvatarId != 0 { + // 武器在别的角色身上 + weakAvatarId := weapon.AvatarId + weakWeaponId := weaponId + strongAvatarId := avatarId + strongWeaponId := avatar.EquipWeapon.WeaponId + player.TakeOffWeapon(weakAvatarId, weakWeaponId) + player.TakeOffWeapon(strongAvatarId, strongWeaponId) + player.WearWeapon(weakAvatarId, strongWeaponId) + player.WearWeapon(strongAvatarId, weakWeaponId) + + weakAvatar := player.AvatarMap[weakAvatarId] + weakWeapon := player.WeaponMap[weakAvatar.EquipWeapon.WeaponId] + + for _, aid := range team.AvatarIdList { + if aid == 0 { + break + } + if aid == weakAvatar.AvatarId { + playerTeamEntity.weaponEntityMap[weakWeapon.WeaponId] = scene.CreateEntityWeapon() + } + } + + // PacketAvatarEquipChangeNotify + avatarEquipChangeNotify := g.PacketAvatarEquipChangeNotify(weakAvatar, weakWeapon, playerTeamEntity.weaponEntityMap[weakWeapon.WeaponId]) + g.SendMsg(proto.ApiAvatarEquipChangeNotify, userId, player.ClientSeq, avatarEquipChangeNotify) + } else if avatar.EquipWeapon != nil { + // 角色当前有武器 + player.TakeOffWeapon(avatarId, avatar.EquipWeapon.WeaponId) + player.WearWeapon(avatarId, weaponId) + } else { + // 是新角色还没有武器 + player.WearWeapon(avatarId, weaponId) + } + + for _, aid := range team.AvatarIdList { + if aid == 0 { + break + } + if aid == avatarId { + playerTeamEntity.weaponEntityMap[weaponId] = scene.CreateEntityWeapon() + } + } + + // PacketAvatarEquipChangeNotify + avatarEquipChangeNotify := g.PacketAvatarEquipChangeNotify(avatar, weapon, playerTeamEntity.weaponEntityMap[weaponId]) + g.SendMsg(proto.ApiAvatarEquipChangeNotify, userId, player.ClientSeq, avatarEquipChangeNotify) +} + +func (g *GameManager) AvatarChangeCostumeReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change avatar costume, user id: %v", userId) + req := payloadMsg.(*proto.AvatarChangeCostumeReq) + avatarGuid := req.AvatarGuid + costumeId := req.CostumeId + + exist := false + for _, v := range player.CostumeList { + if v == costumeId { + exist = true + } + } + if costumeId == 0 { + exist = true + } + if !exist { + return + } + + avatar := player.GameObjectGuidMap[avatarGuid].(*model.Avatar) + avatar.Costume = req.CostumeId + + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + + // PacketAvatarChangeCostumeNotify + avatarChangeCostumeNotify := new(proto.AvatarChangeCostumeNotify) + avatarChangeCostumeNotify.EntityInfo = g.PacketSceneEntityInfoAvatar(scene, player, avatar.AvatarId) + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiAvatarChangeCostumeNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, avatarChangeCostumeNotify) + } + + // PacketAvatarChangeCostumeRsp + avatarChangeCostumeRsp := new(proto.AvatarChangeCostumeRsp) + avatarChangeCostumeRsp.AvatarGuid = req.AvatarGuid + avatarChangeCostumeRsp.CostumeId = req.CostumeId + g.SendMsg(proto.ApiAvatarChangeCostumeRsp, userId, player.ClientSeq, avatarChangeCostumeRsp) +} + +func (g *GameManager) AvatarWearFlycloakReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change avatar fly cloak, user id: %v", userId) + req := payloadMsg.(*proto.AvatarWearFlycloakReq) + avatarGuid := req.AvatarGuid + flycloakId := req.FlycloakId + + exist := false + for _, v := range player.FlyCloakList { + if v == flycloakId { + exist = true + } + } + if !exist { + return + } + + avatar := player.GameObjectGuidMap[avatarGuid].(*model.Avatar) + avatar.FlyCloak = req.FlycloakId + + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + + // PacketAvatarFlycloakChangeNotify + avatarFlycloakChangeNotify := new(proto.AvatarFlycloakChangeNotify) + avatarFlycloakChangeNotify.AvatarGuid = avatarGuid + avatarFlycloakChangeNotify.FlycloakId = flycloakId + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiAvatarFlycloakChangeNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, avatarFlycloakChangeNotify) + } + + // PacketAvatarWearFlycloakRsp + avatarWearFlycloakRsp := new(proto.AvatarWearFlycloakRsp) + avatarWearFlycloakRsp.AvatarGuid = req.AvatarGuid + avatarWearFlycloakRsp.FlycloakId = req.FlycloakId + g.SendMsg(proto.ApiAvatarWearFlycloakRsp, userId, player.ClientSeq, avatarWearFlycloakRsp) +} + +func (g *GameManager) PacketAvatarEquipChangeNotify(avatar *model.Avatar, weapon *model.Weapon, entityId uint32) *proto.AvatarEquipChangeNotify { + itemDataConfig := gdc.CONF.ItemDataMap[int32(weapon.ItemId)] + avatarEquipChangeNotify := new(proto.AvatarEquipChangeNotify) + avatarEquipChangeNotify.AvatarGuid = avatar.Guid + avatarEquipChangeNotify.EquipType = uint32(itemDataConfig.EquipEnumType) + avatarEquipChangeNotify.ItemId = weapon.ItemId + avatarEquipChangeNotify.EquipGuid = weapon.Guid + avatarEquipChangeNotify.Weapon = &proto.SceneWeaponInfo{ + EntityId: entityId, + GadgetId: uint32(gdc.CONF.ItemDataMap[int32(weapon.ItemId)].GadgetId), + ItemId: weapon.ItemId, + Guid: weapon.Guid, + Level: uint32(weapon.Level), + AbilityInfo: new(proto.AbilitySyncStateInfo), + } + return avatarEquipChangeNotify +} + +func (g *GameManager) PacketAvatarEquipTakeOffNotify(avatar *model.Avatar, weapon *model.Weapon) *proto.AvatarEquipChangeNotify { + itemDataConfig := gdc.CONF.ItemDataMap[int32(weapon.ItemId)] + avatarEquipChangeNotify := new(proto.AvatarEquipChangeNotify) + avatarEquipChangeNotify.AvatarGuid = avatar.Guid + avatarEquipChangeNotify.EquipType = uint32(itemDataConfig.EquipEnumType) + return avatarEquipChangeNotify +} + +func (g *GameManager) UpdateUserAvatarFightProp(userId uint32, avatarId uint32) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + avatarFightPropNotify := new(proto.AvatarFightPropNotify) + avatar := player.AvatarMap[avatarId] + avatarFightPropNotify.AvatarGuid = avatar.Guid + avatarFightPropNotify.FightPropMap = avatar.FightPropMap + g.SendMsg(proto.ApiAvatarFightPropNotify, userId, player.ClientSeq, avatarFightPropNotify) +} + +func (g *GameManager) PacketAvatarInfo(avatar *model.Avatar) *proto.AvatarInfo { + isFocus := false + //if avatar.AvatarId == 10000005 || avatar.AvatarId == 10000007 { + // isFocus = true + //} + pbAvatar := &proto.AvatarInfo{ + IsFocus: isFocus, + AvatarId: avatar.AvatarId, + Guid: avatar.Guid, + PropMap: map[uint32]*proto.PropValue{ + uint32(constant.PlayerPropertyConst.PROP_LEVEL): { + Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), + Val: int64(avatar.Level), + Value: &proto.PropValue_Ival{Ival: int64(avatar.Level)}, + }, + uint32(constant.PlayerPropertyConst.PROP_EXP): { + Type: uint32(constant.PlayerPropertyConst.PROP_EXP), + Val: int64(avatar.Exp), + Value: &proto.PropValue_Ival{Ival: int64(avatar.Exp)}, + }, + uint32(constant.PlayerPropertyConst.PROP_BREAK_LEVEL): { + Type: uint32(constant.PlayerPropertyConst.PROP_BREAK_LEVEL), + Val: int64(avatar.Promote), + Value: &proto.PropValue_Ival{Ival: int64(avatar.Promote)}, + }, + uint32(constant.PlayerPropertyConst.PROP_SATIATION_VAL): { + Type: uint32(constant.PlayerPropertyConst.PROP_SATIATION_VAL), + Val: 0, + Value: &proto.PropValue_Ival{Ival: 0}, + }, + uint32(constant.PlayerPropertyConst.PROP_SATIATION_PENALTY_TIME): { + Type: uint32(constant.PlayerPropertyConst.PROP_SATIATION_PENALTY_TIME), + Val: 0, + Value: &proto.PropValue_Ival{Ival: 0}, + }, + }, + LifeState: 1, + EquipGuidList: object.ConvMapToList(avatar.EquipGuidList), + FightPropMap: nil, + SkillDepotId: avatar.SkillDepotId, + FetterInfo: &proto.AvatarFetterInfo{ + ExpLevel: uint32(avatar.FetterLevel), + ExpNumber: avatar.FetterExp, + // FetterList 不知道是啥 该角色在配置表里的所有FetterId + // TODO 资料解锁条目 + FetterList: nil, + RewardedFetterLevelList: []uint32{10}, + }, + SkillLevelMap: nil, + AvatarType: 1, + WearingFlycloakId: avatar.FlyCloak, + CostumeId: avatar.Costume, + BornTime: uint32(avatar.BornTime), + } + pbAvatar.FightPropMap = avatar.FightPropMap + for _, v := range avatar.FetterList { + pbAvatar.FetterInfo.FetterList = append(pbAvatar.FetterInfo.FetterList, &proto.FetterData{ + FetterId: v, + FetterState: uint32(constant.FetterStateConst.FINISH), + }) + } + // 解锁全部资料 + for _, v := range gdc.CONF.AvatarFetterDataMap[int32(avatar.AvatarId)] { + pbAvatar.FetterInfo.FetterList = append(pbAvatar.FetterInfo.FetterList, &proto.FetterData{ + FetterId: uint32(v), + FetterState: uint32(constant.FetterStateConst.FINISH), + }) + } + pbAvatar.SkillLevelMap = make(map[uint32]uint32) + for k, v := range avatar.SkillLevelMap { + pbAvatar.SkillLevelMap[k] = v + } + return pbAvatar +} diff --git a/service/game-hk4e/game/user_chat.go b/service/game-hk4e/game/user_chat.go new file mode 100644 index 00000000..a71a034d --- /dev/null +++ b/service/game-hk4e/game/user_chat.go @@ -0,0 +1,254 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "time" +) + +func (g *GameManager) PullRecentChatReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user pull recent chat, user id: %v", userId) + req := payloadMsg.(*proto.PullRecentChatReq) + // 经研究发现 原神现网环境 客户端仅拉取最新的5条未读聊天消息 所以人太多的话小姐姐不回你消息是有原因的 + // 因此 阿米你这样做真的合适吗 不过现在代码到了我手上我想怎么写就怎么写 我才不会重蹈覆辙 + _ = req.PullNum + + retMsgList := make([]*proto.ChatInfo, 0) + for _, msgList := range player.ChatMsgMap { + for _, chatMsg := range msgList { + // 反手就是一个遍历 + if chatMsg.IsRead { + continue + } + retMsgList = append(retMsgList, g.ConvChatMsgToChatInfo(chatMsg)) + } + } + + world := g.worldManager.GetWorldByID(player.WorldId) + if world.multiplayer { + chatList := world.GetChatList() + count := len(chatList) + if count > 10 { + count = 10 + } + for i := len(chatList) - count; i < len(chatList); i++ { + // PacketPlayerChatNotify + playerChatNotify := new(proto.PlayerChatNotify) + playerChatNotify.ChannelId = 0 + playerChatNotify.ChatInfo = chatList[i] + g.SendMsg(proto.ApiPlayerChatNotify, player.PlayerID, 0, playerChatNotify) + } + } + + // PacketPullRecentChatRsp + pullRecentChatRsp := new(proto.PullRecentChatRsp) + pullRecentChatRsp.ChatInfo = retMsgList + g.SendMsg(proto.ApiPullRecentChatRsp, player.PlayerID, 0, pullRecentChatRsp) +} + +func (g *GameManager) PullPrivateChatReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user pull private chat, user id: %v", userId) + req := payloadMsg.(*proto.PullPrivateChatReq) + targetUid := req.TargetUid + pullNum := req.PullNum + fromSequence := req.FromSequence + + msgList, exist := player.ChatMsgMap[targetUid] + if !exist { + return + } + if pullNum+fromSequence > uint32(len(msgList)) { + pullNum = uint32(len(msgList)) - fromSequence + } + recentMsgList := msgList[fromSequence : fromSequence+pullNum] + retMsgList := make([]*proto.ChatInfo, 0) + for _, chatMsg := range recentMsgList { + retMsgList = append(retMsgList, g.ConvChatMsgToChatInfo(chatMsg)) + } + + // PacketPullPrivateChatRsp + pullPrivateChatRsp := new(proto.PullPrivateChatRsp) + pullPrivateChatRsp.ChatInfo = retMsgList + g.SendMsg(proto.ApiPullPrivateChatRsp, player.PlayerID, 0, pullPrivateChatRsp) +} + +func (g *GameManager) PrivateChatReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user send private chat, user id: %v", userId) + req := payloadMsg.(*proto.PrivateChatReq) + targetUid := req.TargetUid + content := req.Content + + // TODO 同步阻塞待优化 + targetPlayer := g.userManager.LoadTempOfflineUserSync(targetUid) + if targetPlayer == nil { + return + } + chatInfo := &proto.ChatInfo{ + Time: uint32(time.Now().Unix()), + Sequence: 101, + ToUid: targetPlayer.PlayerID, + Uid: player.PlayerID, + IsRead: false, + Content: nil, + } + switch content.(type) { + case *proto.PrivateChatReq_Text: + text := content.(*proto.PrivateChatReq_Text).Text + if len(text) == 0 { + return + } + chatInfo.Content = &proto.ChatInfo_Text{ + Text: text, + } + case *proto.PrivateChatReq_Icon: + icon := content.(*proto.PrivateChatReq_Icon).Icon + chatInfo.Content = &proto.ChatInfo_Icon{ + Icon: icon, + } + default: + return + } + + // 消息加入自己的队列 + msgList, exist := player.ChatMsgMap[targetPlayer.PlayerID] + if !exist { + msgList = make([]*model.ChatMsg, 0) + } + msgList = append(msgList, g.ConvChatInfoToChatMsg(chatInfo)) + player.ChatMsgMap[targetPlayer.PlayerID] = msgList + // 消息加入目标玩家的队列 + msgList, exist = targetPlayer.ChatMsgMap[player.PlayerID] + if !exist { + msgList = make([]*model.ChatMsg, 0) + } + msgList = append(msgList, g.ConvChatInfoToChatMsg(chatInfo)) + targetPlayer.ChatMsgMap[player.PlayerID] = msgList + + if targetPlayer.Online { + // PacketPrivateChatNotify + privateChatNotify := new(proto.PrivateChatNotify) + privateChatNotify.ChatInfo = chatInfo + g.SendMsg(proto.ApiPrivateChatNotify, targetPlayer.PlayerID, 0, privateChatNotify) + } + + // PacketPrivateChatNotify + privateChatNotify := new(proto.PrivateChatNotify) + privateChatNotify.ChatInfo = chatInfo + g.SendMsg(proto.ApiPrivateChatNotify, player.PlayerID, 0, privateChatNotify) + + // PacketPrivateChatRsp + privateChatRsp := new(proto.PrivateChatRsp) + g.SendMsg(proto.ApiPrivateChatRsp, player.PlayerID, 0, privateChatRsp) +} + +func (g *GameManager) ReadPrivateChatReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user read private chat, user id: %v", userId) + req := payloadMsg.(*proto.ReadPrivateChatReq) + targetUid := req.TargetUid + + msgList, exist := player.ChatMsgMap[targetUid] + if !exist { + return + } + for index, chatMsg := range msgList { + chatMsg.IsRead = true + msgList[index] = chatMsg + } + player.ChatMsgMap[targetUid] = msgList + + // PacketReadPrivateChatRsp + readPrivateChatRsp := new(proto.ReadPrivateChatRsp) + g.SendMsg(proto.ApiReadPrivateChatRsp, player.PlayerID, 0, readPrivateChatRsp) +} + +func (g *GameManager) PlayerChatReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user multiplayer chat, user id: %v", userId) + req := payloadMsg.(*proto.PlayerChatReq) + channelId := req.ChannelId + chatInfo := req.ChatInfo + + sendChatInfo := &proto.ChatInfo{ + Time: uint32(time.Now().Unix()), + Uid: player.PlayerID, + Content: nil, + } + switch chatInfo.Content.(type) { + case *proto.ChatInfo_Text: + text := chatInfo.Content.(*proto.ChatInfo_Text).Text + if len(text) == 0 { + return + } + sendChatInfo.Content = &proto.ChatInfo_Text{ + Text: text, + } + case *proto.ChatInfo_Icon: + icon := chatInfo.Content.(*proto.ChatInfo_Icon).Icon + sendChatInfo.Content = &proto.ChatInfo_Icon{ + Icon: icon, + } + default: + return + } + + world := g.worldManager.GetWorldByID(player.WorldId) + world.AddChat(sendChatInfo) + + // PacketPlayerChatNotify + playerChatNotify := new(proto.PlayerChatNotify) + playerChatNotify.ChannelId = channelId + playerChatNotify.ChatInfo = sendChatInfo + for _, worldPlayer := range world.playerMap { + g.SendMsg(proto.ApiPlayerChatNotify, worldPlayer.PlayerID, 0, playerChatNotify) + } + + // PacketPlayerChatRsp + playerChatRsp := new(proto.PlayerChatRsp) + g.SendMsg(proto.ApiPlayerChatRsp, player.PlayerID, 0, playerChatRsp) +} + +func (g *GameManager) ConvChatInfoToChatMsg(chatInfo *proto.ChatInfo) (chatMsg *model.ChatMsg) { + chatMsg = &model.ChatMsg{ + Time: chatInfo.Time, + ToUid: chatInfo.ToUid, + Uid: chatInfo.Uid, + IsRead: chatInfo.IsRead, + MsgType: 0, + Text: "", + Icon: 0, + } + switch chatInfo.Content.(type) { + case *proto.ChatInfo_Text: + chatMsg.MsgType = model.ChatMsgTypeText + chatMsg.Text = chatInfo.Content.(*proto.ChatInfo_Text).Text + case *proto.ChatInfo_Icon: + chatMsg.MsgType = model.ChatMsgTypeIcon + chatMsg.Icon = chatInfo.Content.(*proto.ChatInfo_Icon).Icon + default: + } + return chatMsg +} + +func (g *GameManager) ConvChatMsgToChatInfo(chatMsg *model.ChatMsg) (chatInfo *proto.ChatInfo) { + chatInfo = &proto.ChatInfo{ + Time: chatMsg.Time, + Sequence: 0, + ToUid: chatMsg.ToUid, + Uid: chatMsg.Uid, + IsRead: chatMsg.IsRead, + Content: nil, + } + switch chatMsg.MsgType { + case model.ChatMsgTypeText: + chatInfo.Content = &proto.ChatInfo_Text{ + Text: chatMsg.Text, + } + case model.ChatMsgTypeIcon: + chatInfo.Content = &proto.ChatInfo_Icon{ + Icon: chatMsg.Icon, + } + default: + } + return chatInfo +} diff --git a/service/game-hk4e/game/user_combat.go b/service/game-hk4e/game/user_combat.go new file mode 100644 index 00000000..bc7263bc --- /dev/null +++ b/service/game-hk4e/game/user_combat.go @@ -0,0 +1,402 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" +) + +func (g *GameManager) CombatInvocationsNotify(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + //logger.LOG.Debug("user combat invocations, user id: %v", userId) + req := payloadMsg.(*proto.CombatInvocationsNotify) + world := g.worldManager.GetWorldByID(player.WorldId) + if world == nil { + return + } + scene := world.GetSceneById(player.SceneId) + invokeHandler := NewInvokeHandler[proto.CombatInvokeEntry]() + for _, entry := range req.InvokeList { + //logger.LOG.Debug("AT: %v, FT: %v, UID: %v", entry.ArgumentType, entry.ForwardType, player.PlayerID) + switch entry.ArgumentType { + case proto.CombatTypeArgument_COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT: + scene.AddAttack(&Attack{ + combatInvokeEntry: entry, + uid: player.PlayerID, + }) + case proto.CombatTypeArgument_COMBAT_TYPE_ARGUMENT_ENTITY_MOVE: + entityMoveInfo := new(proto.EntityMoveInfo) + err := pb.Unmarshal(entry.CombatData, entityMoveInfo) + if err != nil { + logger.LOG.Error("parse combat invocations entity move info error: %v", err) + continue + } + motionInfo := entityMoveInfo.MotionInfo + if motionInfo.Pos == nil || motionInfo.Rot == nil { + continue + } + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + playerActiveAvatarEntityId := playerTeamEntity.avatarEntityMap[activeAvatarId] + if entityMoveInfo.EntityId == playerActiveAvatarEntityId { + // 玩家在移动 + ok := world.aoiManager.IsValidAoiPos(motionInfo.Pos.X, motionInfo.Pos.Y, motionInfo.Pos.Z) + if !ok { + continue + } + // aoi + oldGid := world.aoiManager.GetGidByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + newGid := world.aoiManager.GetGidByPos(motionInfo.Pos.X, motionInfo.Pos.Y, motionInfo.Pos.Z) + if oldGid != newGid { + // 跨越了格子 + oldGridList := world.aoiManager.GetSurrGridListByGid(oldGid) + oldEntityIdMap := make(map[uint32]bool) + for _, grid := range oldGridList { + tmp := grid.GetEntityIdList() + for _, v := range tmp { + oldEntityIdMap[v] = true + } + } + newGridList := world.aoiManager.GetSurrGridListByGid(newGid) + newEntityIdMap := make(map[uint32]bool) + for _, grid := range newGridList { + tmp := grid.GetEntityIdList() + for _, v := range tmp { + newEntityIdMap[v] = true + } + } + delEntityIdList := make([]uint32, 0) + delUidList := make([]uint32, 0) + for oldEntityId := range oldEntityIdMap { + _, exist := newEntityIdMap[oldEntityId] + if exist { + continue + } + delEntityIdList = append(delEntityIdList, oldEntityId) + entity := scene.GetEntity(oldEntityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + delUidList = append(delUidList, entity.avatarEntity.uid) + } + } + addEntityIdList := make([]uint32, 0) + addUidList := make([]uint32, 0) + for newEntityId := range newEntityIdMap { + _, exist := oldEntityIdMap[newEntityId] + if exist { + continue + } + addEntityIdList = append(addEntityIdList, newEntityId) + entity := scene.GetEntity(newEntityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + addUidList = append(addUidList, entity.avatarEntity.uid) + } + } + // 发送已消失格子里的实体消失通知 + g.RemoveSceneEntityNotifyToPlayer(player, delEntityIdList) + // 发送新出现格子里的实体出现通知 + g.AddSceneEntityNotify(player, proto.VisionType_VISION_TYPE_BORN, addEntityIdList, false) + // 更新玩家的位置信息 + player.Pos.X = float64(motionInfo.Pos.X) + player.Pos.Y = float64(motionInfo.Pos.Y) + player.Pos.Z = float64(motionInfo.Pos.Z) + // 更新玩家所在格子 + world.aoiManager.RemoveEntityIdFromGrid(playerActiveAvatarEntityId, oldGid) + world.aoiManager.AddEntityIdToGrid(playerActiveAvatarEntityId, newGid) + // 其他玩家 + for _, uid := range delUidList { + otherPlayer := g.userManager.GetOnlineUser(uid) + g.RemoveSceneEntityNotifyToPlayer(otherPlayer, []uint32{playerActiveAvatarEntityId}) + } + for _, uid := range addUidList { + otherPlayer := g.userManager.GetOnlineUser(uid) + g.AddSceneEntityNotify(otherPlayer, proto.VisionType_VISION_TYPE_BORN, []uint32{playerActiveAvatarEntityId}, false) + } + } + // 把队伍中的其他非活跃角色也同步进行移动 + team := player.TeamConfig.GetActiveTeam() + for _, avatarId := range team.AvatarIdList { + // 跳过当前的活跃角色 + if avatarId == activeAvatarId { + continue + } + entityId := playerTeamEntity.avatarEntityMap[avatarId] + entity := scene.GetEntity(entityId) + if entity == nil { + continue + } + entity.pos.X = float64(motionInfo.Pos.X) + entity.pos.Y = float64(motionInfo.Pos.Y) + entity.pos.Z = float64(motionInfo.Pos.Z) + entity.rot.X = float64(motionInfo.Rot.X) + entity.rot.Y = float64(motionInfo.Rot.Y) + entity.rot.Z = float64(motionInfo.Rot.Z) + } + // 更新玩家的位置信息 + player.Pos.X = float64(motionInfo.Pos.X) + player.Pos.Y = float64(motionInfo.Pos.Y) + player.Pos.Z = float64(motionInfo.Pos.Z) + player.Rot.X = float64(motionInfo.Rot.X) + player.Rot.Y = float64(motionInfo.Rot.Y) + player.Rot.Z = float64(motionInfo.Rot.Z) + // TODO 采集大地图地形数据 + if world.IsBigWorld() && scene.id == 3 && player.PlayerID != 1 { + if motionInfo.State == proto.MotionState_MOTION_STATE_WALK || + motionInfo.State == proto.MotionState_MOTION_STATE_RUN || + motionInfo.State == proto.MotionState_MOTION_STATE_DASH || + motionInfo.State == proto.MotionState_MOTION_STATE_CLIMB { + logger.LOG.Debug("set terr motionInfo: %v", motionInfo) + exist := g.worldManager.worldStatic.GetTerrain(int16(motionInfo.Pos.X), int16(motionInfo.Pos.Y), int16(motionInfo.Pos.Z)) + g.worldManager.worldStatic.SetTerrain(int16(motionInfo.Pos.X), int16(motionInfo.Pos.Y), int16(motionInfo.Pos.Z)) + if !exist { + // TODO 薄荷标记 + // 只给附近aoi区域的玩家广播消息 + surrPlayerList := make([]*model.Player, 0) + entityIdList := world.aoiManager.GetEntityIdListByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + for _, entityId := range entityIdList { + entity := scene.GetEntity(entityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + otherPlayer := g.userManager.GetOnlineUser(entity.avatarEntity.uid) + surrPlayerList = append(surrPlayerList, otherPlayer) + } + } + pos := &model.Vector{ + X: float64(int16(motionInfo.Pos.X)), + Y: float64(int16(motionInfo.Pos.Y)), + Z: float64(int16(motionInfo.Pos.Z)), + } + gadgetEntityId := scene.CreateEntityGadget(pos, 3003009) + for _, otherPlayer := range surrPlayerList { + g.AddSceneEntityNotify(otherPlayer, proto.VisionType_VISION_TYPE_BORN, []uint32{gadgetEntityId}, false) + } + } + } + } + } + // 更新场景实体的位置信息 + sceneEntity := scene.GetEntity(entityMoveInfo.EntityId) + if sceneEntity != nil { + sceneEntity.pos = &model.Vector{ + X: float64(motionInfo.Pos.X), + Y: float64(motionInfo.Pos.Y), + Z: float64(motionInfo.Pos.Z), + } + sceneEntity.rot = &model.Vector{ + X: float64(motionInfo.Rot.X), + Y: float64(motionInfo.Rot.Y), + Z: float64(motionInfo.Rot.Z), + } + sceneEntity.moveState = uint16(motionInfo.State) + sceneEntity.lastMoveSceneTimeMs = entityMoveInfo.SceneTime + sceneEntity.lastMoveReliableSeq = entityMoveInfo.ReliableSeq + //logger.LOG.Debug("entity move, id: %v, pos: %v, uid: %v", sceneEntity.id, sceneEntity.pos, player.PlayerID) + } + invokeHandler.addEntry(entry.ForwardType, entry) + default: + invokeHandler.addEntry(entry.ForwardType, entry) + } + } + + // 只给附近aoi区域的玩家广播消息 + surrPlayerList := make([]*model.Player, 0) + entityIdList := world.aoiManager.GetEntityIdListByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + for _, entityId := range entityIdList { + entity := scene.GetEntity(entityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + otherPlayer := g.userManager.GetOnlineUser(entity.avatarEntity.uid) + surrPlayerList = append(surrPlayerList, otherPlayer) + } + } + + // PacketCombatInvocationsNotify + if invokeHandler.AllLen() > 0 { + combatInvocationsNotify := new(proto.CombatInvocationsNotify) + combatInvocationsNotify.InvokeList = invokeHandler.entryListForwardAll + for _, v := range surrPlayerList { + g.SendMsg(proto.ApiCombatInvocationsNotify, v.PlayerID, v.ClientSeq, combatInvocationsNotify) + } + } + if invokeHandler.AllExceptCurLen() > 0 { + combatInvocationsNotify := new(proto.CombatInvocationsNotify) + combatInvocationsNotify.InvokeList = invokeHandler.entryListForwardAllExceptCur + for _, v := range surrPlayerList { + if player.PlayerID == v.PlayerID { + continue + } + g.SendMsg(proto.ApiCombatInvocationsNotify, v.PlayerID, v.ClientSeq, combatInvocationsNotify) + } + } + if invokeHandler.HostLen() > 0 { + combatInvocationsNotify := new(proto.CombatInvocationsNotify) + combatInvocationsNotify.InvokeList = invokeHandler.entryListForwardHost + g.SendMsg(proto.ApiCombatInvocationsNotify, world.owner.PlayerID, world.owner.ClientSeq, combatInvocationsNotify) + } +} + +func (g *GameManager) AbilityInvocationsNotify(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + //logger.LOG.Debug("user ability invocations, user id: %v", userId) + req := payloadMsg.(*proto.AbilityInvocationsNotify) + world := g.worldManager.GetWorldByID(player.WorldId) + if world == nil { + return + } + scene := world.GetSceneById(player.SceneId) + invokeHandler := NewInvokeHandler[proto.AbilityInvokeEntry]() + for _, entry := range req.Invokes { + //logger.LOG.Debug("AT: %v, FT: %v, UID: %v", entry.ArgumentType, entry.ForwardType, player.PlayerID) + invokeHandler.addEntry(entry.ForwardType, entry) + } + + // 只给附近aoi区域的玩家广播消息 + surrPlayerList := make([]*model.Player, 0) + entityIdList := world.aoiManager.GetEntityIdListByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + for _, entityId := range entityIdList { + entity := scene.GetEntity(entityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + otherPlayer := g.userManager.GetOnlineUser(entity.avatarEntity.uid) + surrPlayerList = append(surrPlayerList, otherPlayer) + } + } + + // PacketAbilityInvocationsNotify + if invokeHandler.AllLen() > 0 { + abilityInvocationsNotify := new(proto.AbilityInvocationsNotify) + abilityInvocationsNotify.Invokes = invokeHandler.entryListForwardAll + for _, v := range surrPlayerList { + g.SendMsg(proto.ApiAbilityInvocationsNotify, v.PlayerID, v.ClientSeq, abilityInvocationsNotify) + } + } + if invokeHandler.AllExceptCurLen() > 0 { + abilityInvocationsNotify := new(proto.AbilityInvocationsNotify) + abilityInvocationsNotify.Invokes = invokeHandler.entryListForwardAllExceptCur + for _, v := range surrPlayerList { + if player.PlayerID == v.PlayerID { + continue + } + g.SendMsg(proto.ApiAbilityInvocationsNotify, v.PlayerID, v.ClientSeq, abilityInvocationsNotify) + } + } + if invokeHandler.HostLen() > 0 { + abilityInvocationsNotify := new(proto.AbilityInvocationsNotify) + abilityInvocationsNotify.Invokes = invokeHandler.entryListForwardHost + g.SendMsg(proto.ApiAbilityInvocationsNotify, world.owner.PlayerID, world.owner.ClientSeq, abilityInvocationsNotify) + } +} + +func (g *GameManager) ClientAbilityInitFinishNotify(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + //logger.LOG.Debug("user client ability ok, user id: %v", userId) + req := payloadMsg.(*proto.ClientAbilityInitFinishNotify) + world := g.worldManager.GetWorldByID(player.WorldId) + if world == nil { + return + } + scene := world.GetSceneById(player.SceneId) + invokeHandler := NewInvokeHandler[proto.AbilityInvokeEntry]() + for _, entry := range req.Invokes { + //logger.LOG.Debug("AT: %v, FT: %v, UID: %v", entry.ArgumentType, entry.ForwardType, player.PlayerID) + invokeHandler.addEntry(entry.ForwardType, entry) + } + + // 只给附近aoi区域的玩家广播消息 + surrPlayerList := make([]*model.Player, 0) + entityIdList := world.aoiManager.GetEntityIdListByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + for _, entityId := range entityIdList { + entity := scene.GetEntity(entityId) + if entity == nil { + continue + } + if entity.avatarEntity != nil { + otherPlayer := g.userManager.GetOnlineUser(entity.avatarEntity.uid) + surrPlayerList = append(surrPlayerList, otherPlayer) + } + } + + // PacketClientAbilityInitFinishNotify + if invokeHandler.AllLen() > 0 { + clientAbilityInitFinishNotify := new(proto.ClientAbilityInitFinishNotify) + clientAbilityInitFinishNotify.Invokes = invokeHandler.entryListForwardAll + for _, v := range surrPlayerList { + g.SendMsg(proto.ApiClientAbilityInitFinishNotify, v.PlayerID, v.ClientSeq, clientAbilityInitFinishNotify) + } + } + if invokeHandler.AllExceptCurLen() > 0 { + clientAbilityInitFinishNotify := new(proto.ClientAbilityInitFinishNotify) + clientAbilityInitFinishNotify.Invokes = invokeHandler.entryListForwardAllExceptCur + for _, v := range surrPlayerList { + if player.PlayerID == v.PlayerID { + continue + } + g.SendMsg(proto.ApiClientAbilityInitFinishNotify, v.PlayerID, v.ClientSeq, clientAbilityInitFinishNotify) + } + } + if invokeHandler.HostLen() > 0 { + clientAbilityInitFinishNotify := new(proto.ClientAbilityInitFinishNotify) + clientAbilityInitFinishNotify.Invokes = invokeHandler.entryListForwardHost + g.SendMsg(proto.ApiClientAbilityInitFinishNotify, world.owner.PlayerID, world.owner.ClientSeq, clientAbilityInitFinishNotify) + } +} + +type InvokeType interface { + proto.AbilityInvokeEntry | proto.CombatInvokeEntry +} + +type InvokeHandler[T InvokeType] struct { + entryListForwardAll []*T + entryListForwardAllExceptCur []*T + entryListForwardHost []*T +} + +func NewInvokeHandler[T InvokeType]() (r *InvokeHandler[T]) { + r = new(InvokeHandler[T]) + r.InitInvokeHandler() + return r +} + +func (i *InvokeHandler[T]) InitInvokeHandler() { + i.entryListForwardAll = make([]*T, 0) + i.entryListForwardAllExceptCur = make([]*T, 0) + i.entryListForwardHost = make([]*T, 0) +} + +func (i *InvokeHandler[T]) addEntry(forward proto.ForwardType, entry *T) { + switch forward { + case proto.ForwardType_FORWARD_TYPE_TO_ALL: + i.entryListForwardAll = append(i.entryListForwardAll, entry) + case proto.ForwardType_FORWARD_TYPE_TO_ALL_EXCEPT_CUR: + fallthrough + case proto.ForwardType_FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR: + i.entryListForwardAllExceptCur = append(i.entryListForwardAllExceptCur, entry) + case proto.ForwardType_FORWARD_TYPE_TO_HOST: + i.entryListForwardHost = append(i.entryListForwardHost, entry) + default: + if forward != proto.ForwardType_FORWARD_TYPE_ONLY_SERVER { + logger.LOG.Error("forward: %v, entry: %v", forward, entry) + } + } +} + +func (i *InvokeHandler[T]) AllLen() int { + return len(i.entryListForwardAll) +} + +func (i *InvokeHandler[T]) AllExceptCurLen() int { + return len(i.entryListForwardAllExceptCur) +} + +func (i *InvokeHandler[T]) HostLen() int { + return len(i.entryListForwardHost) +} diff --git a/service/game-hk4e/game/user_gacha.go b/service/game-hk4e/game/user_gacha.go new file mode 100644 index 00000000..30c6bab8 --- /dev/null +++ b/service/game-hk4e/game/user_gacha.go @@ -0,0 +1,610 @@ +package game + +import ( + "flswld.com/common/config" + "flswld.com/common/utils/random" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/model" + "github.com/golang-jwt/jwt/v4" + pb "google.golang.org/protobuf/proto" + "time" +) + +type UserInfo struct { + UserId uint32 `json:"userId"` + jwt.RegisteredClaims +} + +// 获取卡池信息 +func (g *GameManager) GetGachaInfoReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get gacha info, userId: %v", userId) + serverAddr := config.CONF.Hk4e.GachaHistoryServer + getGachaInfoRsp := new(proto.GetGachaInfoRsp) + getGachaInfoRsp.GachaRandom = 12345 + userInfo := &UserInfo{ + UserId: userId, + RegisteredClaims: jwt.RegisteredClaims{ + ExpiresAt: jwt.NewNumericDate(time.Now().Add(24 * time.Hour * time.Duration(1))), + IssuedAt: jwt.NewNumericDate(time.Now()), + NotBefore: jwt.NewNumericDate(time.Now()), + }, + } + token := jwt.NewWithClaims(jwt.SigningMethodHS512, userInfo) + jwtStr, err := token.SignedString([]byte("flswld")) + if err != nil { + logger.LOG.Error("generate jwt error: %v", err) + jwtStr = "default.jwt.token" + } + getGachaInfoRsp.GachaInfoList = []*proto.GachaInfo{ + // 温迪 + { + GachaType: 300, + ScheduleId: 823, + BeginTime: 0, + EndTime: 2051193600, + GachaSortId: 9998, + GachaPrefabPath: "GachaShowPanel_A019", + GachaPreviewPrefabPath: "UI_Tab_GachaShowPanel_A019", + TitleTextmap: "UI_GACHA_SHOW_PANEL_A019_TITLE", + LeftGachaTimes: 2147483647, + GachaTimesLimit: 2147483647, + CostItemId: 223, + CostItemNum: 1, + TenCostItemId: 223, + TenCostItemNum: 10, + GachaRecordUrl: serverAddr + "/gm/gacha?gachaType=300&jwt=" + jwtStr, + GachaRecordUrlOversea: serverAddr + "/gm/gacha?gachaType=300&jwt=" + jwtStr, + GachaProbUrl: serverAddr + "/gm/gacha/details?scheduleId=823&jwt=" + jwtStr, + GachaProbUrlOversea: serverAddr + "/gm/gacha/details?scheduleId=823&jwt=" + jwtStr, + GachaUpInfoList: []*proto.GachaUpInfo{ + { + ItemParentType: 1, + ItemIdList: []uint32{1022}, + }, + { + ItemParentType: 2, + ItemIdList: []uint32{1023, 1031, 1014}, + }, + }, + DisplayUp4ItemList: []uint32{1023}, + DisplayUp5ItemList: []uint32{1022}, + WishItemId: 0, + WishProgress: 0, + WishMaxProgress: 0, + IsNewWish: false, + }, + // 可莉 + { + GachaType: 400, + ScheduleId: 833, + BeginTime: 0, + EndTime: 2051193600, + GachaSortId: 9998, + GachaPrefabPath: "GachaShowPanel_A018", + GachaPreviewPrefabPath: "UI_Tab_GachaShowPanel_A018", + TitleTextmap: "UI_GACHA_SHOW_PANEL_A018_TITLE", + LeftGachaTimes: 2147483647, + GachaTimesLimit: 2147483647, + CostItemId: 223, + CostItemNum: 1, + TenCostItemId: 223, + TenCostItemNum: 10, + GachaRecordUrl: serverAddr + "/gm/gacha?gachaType=400&jwt=" + jwtStr, + GachaRecordUrlOversea: serverAddr + "/gm/gacha?gachaType=400&jwt=" + jwtStr, + GachaProbUrl: serverAddr + "/gm/gacha/details?scheduleId=833&jwt=" + jwtStr, + GachaProbUrlOversea: serverAddr + "/gm/gacha/details?scheduleId=833&jwt=" + jwtStr, + GachaUpInfoList: []*proto.GachaUpInfo{ + { + ItemParentType: 1, + ItemIdList: []uint32{1029}, + }, + { + ItemParentType: 2, + ItemIdList: []uint32{1025, 1034, 1043}, + }, + }, + DisplayUp4ItemList: []uint32{1025}, + DisplayUp5ItemList: []uint32{1029}, + WishItemId: 0, + WishProgress: 0, + WishMaxProgress: 0, + IsNewWish: false, + }, + // 阿莫斯之弓&天空之傲 + { + GachaType: 431, + ScheduleId: 1143, + BeginTime: 0, + EndTime: 2051193600, + GachaSortId: 9997, + GachaPrefabPath: "GachaShowPanel_A030", + GachaPreviewPrefabPath: "UI_Tab_GachaShowPanel_A030", + TitleTextmap: "UI_GACHA_SHOW_PANEL_A030_TITLE", + LeftGachaTimes: 2147483647, + GachaTimesLimit: 2147483647, + CostItemId: 223, + CostItemNum: 1, + TenCostItemId: 223, + TenCostItemNum: 10, + GachaRecordUrl: serverAddr + "/gm/gacha?gachaType=431&jwt=" + jwtStr, + GachaRecordUrlOversea: serverAddr + "/gm/gacha?gachaType=431&jwt=" + jwtStr, + GachaProbUrl: serverAddr + "/gm/gacha/details?scheduleId=1143&jwt=" + jwtStr, + GachaProbUrlOversea: serverAddr + "/gm/gacha/details?scheduleId=1143&jwt=" + jwtStr, + GachaUpInfoList: []*proto.GachaUpInfo{ + { + ItemParentType: 1, + ItemIdList: []uint32{15502, 12501}, + }, + { + ItemParentType: 2, + ItemIdList: []uint32{11403, 12402, 13401, 14409, 15401}, + }, + }, + DisplayUp4ItemList: []uint32{11403}, + DisplayUp5ItemList: []uint32{15502, 12501}, + WishItemId: 0, + WishProgress: 0, + WishMaxProgress: 0, + IsNewWish: false, + }, + // 常驻 + { + GachaType: 201, + ScheduleId: 813, + BeginTime: 0, + EndTime: 2051193600, + GachaSortId: 1000, + GachaPrefabPath: "GachaShowPanel_A017", + GachaPreviewPrefabPath: "UI_Tab_GachaShowPanel_A017", + TitleTextmap: "UI_GACHA_SHOW_PANEL_A017_TITLE", + LeftGachaTimes: 2147483647, + GachaTimesLimit: 2147483647, + CostItemId: 224, + CostItemNum: 1, + TenCostItemId: 224, + TenCostItemNum: 10, + GachaRecordUrl: serverAddr + "/gm/gacha?gachaType=201&jwt=" + jwtStr, + GachaRecordUrlOversea: serverAddr + "/gm/gacha?gachaType=201&jwt=" + jwtStr, + GachaProbUrl: serverAddr + "/gm/gacha/details?scheduleId=813&jwt=" + jwtStr, + GachaProbUrlOversea: serverAddr + "/gm/gacha/details?scheduleId=813&jwt=" + jwtStr, + GachaUpInfoList: []*proto.GachaUpInfo{ + { + ItemParentType: 1, + ItemIdList: []uint32{1003, 1016}, + }, + { + ItemParentType: 2, + ItemIdList: []uint32{1021, 1006, 1015}, + }, + }, + DisplayUp4ItemList: []uint32{1021}, + DisplayUp5ItemList: []uint32{1003, 1016}, + WishItemId: 0, + WishProgress: 0, + WishMaxProgress: 0, + IsNewWish: false, + }, + } + + g.SendMsg(proto.ApiGetGachaInfoRsp, userId, player.ClientSeq, getGachaInfoRsp) +} + +func (g *GameManager) DoGachaReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user do gacha, userId: %v", userId) + req := payloadMsg.(*proto.DoGachaReq) + gachaScheduleId := req.GachaScheduleId + gachaTimes := req.GachaTimes + + gachaType := uint32(0) + costItemId := uint32(0) + switch gachaScheduleId { + case 823: + // 温迪 + gachaType = 300 + costItemId = 223 + case 833: + // 可莉 + gachaType = 400 + costItemId = 223 + case 1143: + // 阿莫斯之弓&天空之傲 + gachaType = 431 + costItemId = 223 + case 813: + // 常驻 + gachaType = 201 + costItemId = 224 + } + + // PacketDoGachaRsp + doGachaRsp := new(proto.DoGachaRsp) + doGachaRsp.GachaType = gachaType + doGachaRsp.GachaScheduleId = gachaScheduleId + doGachaRsp.GachaTimes = gachaTimes + doGachaRsp.NewGachaRandom = 12345 + doGachaRsp.LeftGachaTimes = 2147483647 + doGachaRsp.GachaTimesLimit = 2147483647 + doGachaRsp.CostItemId = costItemId + doGachaRsp.CostItemNum = 1 + doGachaRsp.TenCostItemId = costItemId + doGachaRsp.TenCostItemNum = 10 + + // 先扣掉粉球或蓝球再进行抽卡 + g.CostUserItem(player.PlayerID, []*UserItem{ + { + ItemId: costItemId, + ChangeCount: gachaTimes, + }, + }) + + doGachaRsp.GachaItemList = make([]*proto.GachaItem, 0) + for i := uint32(0); i < gachaTimes; i++ { + var ok bool + var itemId uint32 + if gachaType == 400 { + // 可莉 + ok, itemId = g.doGachaKlee() + } else if gachaType == 300 { + // 角色UP池 + ok, itemId = g.doGachaOnce(userId, gachaType, true, false) + } else if gachaType == 431 { + // 武器UP池 + ok, itemId = g.doGachaOnce(userId, gachaType, true, true) + } else if gachaType == 201 { + // 常驻 + ok, itemId = g.doGachaOnce(userId, gachaType, false, false) + } else { + ok, itemId = false, 0 + } + if !ok { + itemId = 11301 + } + + // 添加抽卡获得的道具 + if itemId > 1000 && itemId < 2000 { + avatarId := (itemId % 1000) + 10000000 + _, exist := player.AvatarMap[avatarId] + if !exist { + g.AddUserAvatar(player.PlayerID, avatarId) + } else { + constellationItemId := itemId + 100 + if player.GetItemCount(constellationItemId) < 6 { + g.AddUserItem(player.PlayerID, []*UserItem{{ItemId: constellationItemId, ChangeCount: 1}}, false, 0) + } + } + } else if itemId > 10000 && itemId < 20000 { + g.AddUserWeapon(player.PlayerID, itemId) + } else { + g.AddUserItem(player.PlayerID, []*UserItem{{ItemId: itemId, ChangeCount: 1}}, false, 0) + } + + // 计算星尘星辉 + xc := uint32(random.GetRandomInt32(0, 10)) + xh := uint32(random.GetRandomInt32(0, 10)) + + gachaItem := new(proto.GachaItem) + gachaItem.GachaItem_ = &proto.ItemParam{ + ItemId: itemId, + Count: 1, + } + // 星尘 + if xc != 0 { + g.AddUserItem(player.PlayerID, []*UserItem{{ + ItemId: 222, + ChangeCount: xc, + }}, false, 0) + gachaItem.TokenItemList = []*proto.ItemParam{{ + ItemId: 222, + Count: xc, + }} + } + // 星辉 + if xh != 0 { + g.AddUserItem(player.PlayerID, []*UserItem{{ + ItemId: 221, + ChangeCount: xh, + }}, false, 0) + gachaItem.TransferItems = []*proto.GachaTransferItem{{ + Item: &proto.ItemParam{ + ItemId: 221, + Count: xh, + }, + }} + } + doGachaRsp.GachaItemList = append(doGachaRsp.GachaItemList, gachaItem) + } + + //logger.LOG.Debug("doGachaRsp: %v", doGachaRsp.String()) + g.SendMsg(proto.ApiDoGachaRsp, userId, player.ClientSeq, doGachaRsp) +} + +// 扣1给可莉刷烧烤酱 +func (g *GameManager) doGachaKlee() (bool, uint32) { + allAvatarList := make([]uint32, 0) + allAvatarDataConfig := g.GetAllAvatarDataConfig() + for k, v := range allAvatarDataConfig { + if v.QualityType == "QUALITY_ORANGE" || v.QualityType == "QUALITY_PURPLE" { + allAvatarList = append(allAvatarList, uint32(k)) + } + } + allWeaponList := make([]uint32, 0) + allWeaponDataConfig := g.GetAllWeaponDataConfig() + for k, v := range allWeaponDataConfig { + if v.RankLevel == 5 { + allWeaponList = append(allWeaponList, uint32(k)) + } + } + allGoodList := make([]uint32, 0) + // 全部角色 + allGoodList = append(allGoodList, allAvatarList...) + // 全部5星武器 + allGoodList = append(allGoodList, allWeaponList...) + // 原石 摩拉 粉球 蓝球 + allGoodList = append(allGoodList, 201, 202, 223, 224) + // 苟利国家生死以 + allGoodList = append(allGoodList, 100081) + rn := random.GetRandomInt32(0, int32(len(allGoodList)-1)) + itemId := allGoodList[rn] + if itemId > 10000000 { + itemId %= 1000 + itemId += 1000 + } + return true, itemId +} + +const ( + Orange = iota + Purple + Blue + Avatar + Weapon +) + +const ( + StandardOrangeTimesFixThreshold uint32 = 74 // 标准池触发5星概率修正阈值的抽卡次数 + StandardOrangeTimesFixValue int32 = 600 // 标准池5星概率修正因子 + StandardPurpleTimesFixThreshold uint32 = 9 // 标准池触发4星概率修正阈值的抽卡次数 + StandardPurpleTimesFixValue int32 = 5100 // 标准池4星概率修正因子 + WeaponOrangeTimesFixThreshold uint32 = 63 // 武器池触发5星概率修正阈值的抽卡次数 + WeaponOrangeTimesFixValue int32 = 700 // 武器池5星概率修正因子 + WeaponPurpleTimesFixThreshold uint32 = 8 // 武器池触发4星概率修正阈值的抽卡次数 + WeaponPurpleTimesFixValue int32 = 6000 // 武器池4星概率修正因子 +) + +// 单抽一次 +func (g *GameManager) doGachaOnce(userId uint32, gachaType uint32, mustGetUpEnable bool, weaponFix bool) (bool, uint32) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return false, 0 + } + + // 找到卡池对应的掉落组 + dropGroupDataConfig := gdc.CONF.DropGroupDataMap[int32(gachaType)] + if dropGroupDataConfig == nil { + logger.LOG.Error("drop group not found, drop id: %v", gachaType) + return false, 0 + } + + // 获取用户的卡池保底信息 + gachaPoolInfo := player.DropInfo.GachaPoolInfo[gachaType] + if gachaPoolInfo == nil { + logger.LOG.Error("user gacha pool info not found, gacha type: %v", gachaType) + return false, 0 + } + + // 保底计数+1 + gachaPoolInfo.OrangeTimes++ + gachaPoolInfo.PurpleTimes++ + + // 4星和5星概率修正 + OrangeTimesFixThreshold := uint32(0) + OrangeTimesFixValue := int32(0) + PurpleTimesFixThreshold := uint32(0) + PurpleTimesFixValue := int32(0) + if !weaponFix { + OrangeTimesFixThreshold = StandardOrangeTimesFixThreshold + OrangeTimesFixValue = StandardOrangeTimesFixValue + PurpleTimesFixThreshold = StandardPurpleTimesFixThreshold + PurpleTimesFixValue = StandardPurpleTimesFixValue + } else { + OrangeTimesFixThreshold = WeaponOrangeTimesFixThreshold + OrangeTimesFixValue = WeaponOrangeTimesFixValue + PurpleTimesFixThreshold = WeaponPurpleTimesFixThreshold + PurpleTimesFixValue = WeaponPurpleTimesFixValue + } + if gachaPoolInfo.OrangeTimes >= OrangeTimesFixThreshold || gachaPoolInfo.PurpleTimes >= PurpleTimesFixThreshold { + fixDropGroupDataConfig := new(gdc.DropGroupData) + fixDropGroupDataConfig.DropId = dropGroupDataConfig.DropId + fixDropGroupDataConfig.WeightAll = dropGroupDataConfig.WeightAll + // 计算4星和5星权重修正值 + addOrangeWeight := int32(gachaPoolInfo.OrangeTimes-OrangeTimesFixThreshold+1) * OrangeTimesFixValue + if addOrangeWeight < 0 { + addOrangeWeight = 0 + } + addPurpleWeight := int32(gachaPoolInfo.PurpleTimes-PurpleTimesFixThreshold+1) * PurpleTimesFixValue + if addPurpleWeight < 0 { + addPurpleWeight = 0 + } + for _, drop := range dropGroupDataConfig.DropConfig { + fixDrop := new(gdc.Drop) + fixDrop.Result = drop.Result + fixDrop.DropId = drop.DropId + fixDrop.IsEnd = drop.IsEnd + // 找到5/4/3星掉落组id 要求配置表的5/4/3星掉落组id规则固定为(卡池类型*10+1/2/3) + orangeDropId := int32(gachaType*10 + 1) + purpleDropId := int32(gachaType*10 + 2) + blueDropId := int32(gachaType*10 + 3) + // 权重修正 + if drop.Result == orangeDropId { + fixDrop.Weight = drop.Weight + addOrangeWeight + } else if drop.Result == purpleDropId { + fixDrop.Weight = drop.Weight + addPurpleWeight + } else if drop.Result == blueDropId { + fixDrop.Weight = drop.Weight - addOrangeWeight - addPurpleWeight + } else { + logger.LOG.Error("invalid drop group id, does not match any case of orange/purple/blue, result group id: %v", drop.Result) + fixDrop.Weight = drop.Weight + } + fixDropGroupDataConfig.DropConfig = append(fixDropGroupDataConfig.DropConfig, fixDrop) + } + dropGroupDataConfig = fixDropGroupDataConfig + } + + // 掉落 + ok, drop := g.doFullRandDrop(dropGroupDataConfig) + if !ok { + return false, 0 + } + // 分析本次掉落结果的星级和类型 + itemColor := 0 + itemType := 0 + _ = itemType + gachaItemId := uint32(drop.Result) + if gachaItemId < 2000 { + // 抽到角色 + itemType = Avatar + avatarId := (gachaItemId % 1000) + 10000000 + allAvatarDataConfig := g.GetAllAvatarDataConfig() + avatarDataConfig := allAvatarDataConfig[int32(avatarId)] + if avatarDataConfig == nil { + logger.LOG.Error("avatar data config not found, avatar id: %v", avatarId) + return false, 0 + } + if avatarDataConfig.QualityType == "QUALITY_ORANGE" { + itemColor = Orange + logger.LOG.Debug("[orange avatar], times: %v, gachaItemId: %v", gachaPoolInfo.OrangeTimes, gachaItemId) + if gachaPoolInfo.OrangeTimes > 90 { + logger.LOG.Error("[abnormal orange avatar], times: %v, gachaItemId: %v", gachaPoolInfo.OrangeTimes, gachaItemId) + } + } else if avatarDataConfig.QualityType == "QUALITY_PURPLE" { + itemColor = Purple + logger.LOG.Debug("[purple avatar], times: %v, gachaItemId: %v", gachaPoolInfo.PurpleTimes, gachaItemId) + if gachaPoolInfo.PurpleTimes > 10 { + logger.LOG.Error("[abnormal purple avatar], times: %v, gachaItemId: %v", gachaPoolInfo.PurpleTimes, gachaItemId) + } + } else { + itemColor = Blue + } + } else { + // 抽到武器 + itemType = Weapon + allWeaponDataConfig := g.GetAllWeaponDataConfig() + weaponDataConfig := allWeaponDataConfig[int32(gachaItemId)] + if weaponDataConfig == nil { + logger.LOG.Error("weapon item data config not found, item id: %v", gachaItemId) + return false, 0 + } + if weaponDataConfig.RankLevel == 5 { + itemColor = Orange + logger.LOG.Debug("[orange weapon], times: %v, gachaItemId: %v", gachaPoolInfo.OrangeTimes, gachaItemId) + if gachaPoolInfo.OrangeTimes > 90 { + logger.LOG.Error("[abnormal orange weapon], times: %v, gachaItemId: %v", gachaPoolInfo.OrangeTimes, gachaItemId) + } + } else if weaponDataConfig.RankLevel == 4 { + itemColor = Purple + logger.LOG.Debug("[purple weapon], times: %v, gachaItemId: %v", gachaPoolInfo.PurpleTimes, gachaItemId) + if gachaPoolInfo.PurpleTimes > 10 { + logger.LOG.Error("[abnormal purple weapon], times: %v, gachaItemId: %v", gachaPoolInfo.PurpleTimes, gachaItemId) + } + } else { + itemColor = Blue + } + } + // 后处理 + switch itemColor { + case Orange: + // 重置5星保底计数 + gachaPoolInfo.OrangeTimes = 0 + if mustGetUpEnable { + // 找到UP的5星对应的掉落组id 要求配置表的UP的5星掉落组id规则固定为(卡池类型*100+12) + upOrangeDropId := int32(gachaType*100 + 12) + // 替换本次结果为5星大保底 + if gachaPoolInfo.MustGetUpOrange { + logger.LOG.Debug("trigger must get up orange, user id: %v", userId) + upOrangeDropGroupDataConfig := gdc.CONF.DropGroupDataMap[upOrangeDropId] + if upOrangeDropGroupDataConfig == nil { + logger.LOG.Error("drop group not found, drop id: %v", upOrangeDropId) + return false, 0 + } + upOrangeOk, upOrangeDrop := g.doFullRandDrop(upOrangeDropGroupDataConfig) + if !upOrangeOk { + return false, 0 + } + gachaPoolInfo.MustGetUpOrange = false + upOrangeGachaItemId := uint32(upOrangeDrop.Result) + return upOrangeOk, upOrangeGachaItemId + } + // 触发5星大保底 + if drop.DropId != upOrangeDropId { + gachaPoolInfo.MustGetUpOrange = true + } + } + case Purple: + // 重置4星保底计数 + gachaPoolInfo.PurpleTimes = 0 + if mustGetUpEnable { + // 找到UP的4星对应的掉落组id 要求配置表的UP的4星掉落组id规则固定为(卡池类型*100+22) + upPurpleDropId := int32(gachaType*100 + 22) + // 替换本次结果为4星大保底 + if gachaPoolInfo.MustGetUpPurple { + logger.LOG.Debug("trigger must get up purple, user id: %v", userId) + upPurpleDropGroupDataConfig := gdc.CONF.DropGroupDataMap[upPurpleDropId] + if upPurpleDropGroupDataConfig == nil { + logger.LOG.Error("drop group not found, drop id: %v", upPurpleDropId) + return false, 0 + } + upPurpleOk, upPurpleDrop := g.doFullRandDrop(upPurpleDropGroupDataConfig) + if !upPurpleOk { + return false, 0 + } + gachaPoolInfo.MustGetUpPurple = false + upPurpleGachaItemId := uint32(upPurpleDrop.Result) + return upPurpleOk, upPurpleGachaItemId + } + // 触发4星大保底 + if drop.DropId != upPurpleDropId { + gachaPoolInfo.MustGetUpPurple = true + } + } + default: + } + return ok, gachaItemId +} + +// 走一次完整流程的掉落组 +func (g *GameManager) doFullRandDrop(dropGroupDataConfig *gdc.DropGroupData) (bool, *gdc.Drop) { + for { + drop := g.doRandDropOnce(dropGroupDataConfig) + if drop == nil { + logger.LOG.Error("weight error, drop group config: %v", dropGroupDataConfig) + return false, nil + } + if drop.IsEnd { + // 成功抽到物品 + return true, drop + } + // 进行下一步掉落流程 + dropGroupDataConfig = gdc.CONF.DropGroupDataMap[drop.Result] + if dropGroupDataConfig == nil { + logger.LOG.Error("drop config tab exist error, invalid drop id: %v", drop.Result) + return false, nil + } + } +} + +// 进行单次随机掉落 +func (g *GameManager) doRandDropOnce(dropGroupDataConfig *gdc.DropGroupData) *gdc.Drop { + randNum := random.GetRandomInt32(0, dropGroupDataConfig.WeightAll-1) + sumWeight := int32(0) + // 轮盘选择法 + for _, drop := range dropGroupDataConfig.DropConfig { + sumWeight += drop.Weight + if sumWeight > randNum { + return drop + } + } + return nil +} diff --git a/service/game-hk4e/game/user_item.go b/service/game-hk4e/game/user_item.go new file mode 100644 index 00000000..bee6f242 --- /dev/null +++ b/service/game-hk4e/game/user_item.go @@ -0,0 +1,181 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" +) + +type UserItem struct { + ItemId uint32 + ChangeCount uint32 +} + +func (g *GameManager) GetAllItemDataConfig() map[int32]*gdc.ItemData { + allItemDataConfig := make(map[int32]*gdc.ItemData) + for itemId, itemData := range gdc.CONF.ItemDataMap { + if itemData.ItemEnumType == constant.ItemTypeConst.ITEM_WEAPON { + // 排除武器 + continue + } + if itemData.ItemEnumType == constant.ItemTypeConst.ITEM_RELIQUARY { + // 排除圣遗物 + continue + } + if itemId == 100086 || + itemId == 100087 || + (itemId >= 100100 && itemId <= 101000) || + (itemId >= 101106 && itemId <= 101110) || + itemId == 101306 || + (itemId >= 101500 && itemId <= 104000) || + itemId == 105001 || + itemId == 105004 || + (itemId >= 106000 && itemId <= 107000) || + itemId == 107011 || + itemId == 108000 || + (itemId >= 109000 && itemId <= 110000) || + (itemId >= 115000 && itemId <= 130000) || + (itemId >= 200200 && itemId <= 200899) || + itemId == 220050 || + itemId == 220054 { + // 排除无效道具 + continue + } + allItemDataConfig[itemId] = itemData + } + return allItemDataConfig +} + +func (g *GameManager) AddUserItem(userId uint32, itemList []*UserItem, isHint bool, hintReason uint16) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + for _, userItem := range itemList { + player.AddItem(userItem.ItemId, userItem.ChangeCount) + } + + // PacketStoreItemChangeNotify + storeItemChangeNotify := new(proto.StoreItemChangeNotify) + storeItemChangeNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + for _, userItem := range itemList { + pbItem := &proto.Item{ + ItemId: userItem.ItemId, + Guid: player.GetItemGuid(userItem.ItemId), + Detail: &proto.Item_Material{ + Material: &proto.Material{ + Count: player.GetItemCount(userItem.ItemId), + }, + }, + } + storeItemChangeNotify.ItemList = append(storeItemChangeNotify.ItemList, pbItem) + } + g.SendMsg(proto.ApiStoreItemChangeNotify, userId, player.ClientSeq, storeItemChangeNotify) + + if isHint { + if hintReason == 0 { + hintReason = constant.ActionReasonConst.SubfieldDrop + } + // PacketItemAddHintNotify + itemAddHintNotify := new(proto.ItemAddHintNotify) + itemAddHintNotify.Reason = uint32(hintReason) + for _, userItem := range itemList { + itemAddHintNotify.ItemList = append(itemAddHintNotify.ItemList, &proto.ItemHint{ + ItemId: userItem.ItemId, + Count: userItem.ChangeCount, + IsNew: false, + }) + } + g.SendMsg(proto.ApiItemAddHintNotify, userId, player.ClientSeq, itemAddHintNotify) + } + + // PacketPlayerPropNotify + playerPropNotify := new(proto.PlayerPropNotify) + playerPropNotify.PropMap = make(map[uint32]*proto.PropValue) + for _, userItem := range itemList { + isVirtualItem, prop := player.GetVirtualItemProp(userItem.ItemId) + if !isVirtualItem { + continue + } + playerPropNotify.PropMap[uint32(prop)] = &proto.PropValue{ + Type: uint32(prop), + Val: int64(player.PropertiesMap[prop]), + Value: &proto.PropValue_Ival{ + Ival: int64(player.PropertiesMap[prop]), + }, + } + } + if len(playerPropNotify.PropMap) > 0 { + g.SendMsg(proto.ApiPlayerPropNotify, userId, player.ClientSeq, playerPropNotify) + } +} + +func (g *GameManager) CostUserItem(userId uint32, itemList []*UserItem) { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + for _, userItem := range itemList { + player.CostItem(userItem.ItemId, userItem.ChangeCount) + } + + // PacketStoreItemChangeNotify + storeItemChangeNotify := new(proto.StoreItemChangeNotify) + storeItemChangeNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + for _, userItem := range itemList { + count := player.GetItemCount(userItem.ItemId) + if count == 0 { + continue + } + pbItem := &proto.Item{ + ItemId: userItem.ItemId, + Guid: player.GetItemGuid(userItem.ItemId), + Detail: &proto.Item_Material{ + Material: &proto.Material{ + Count: count, + }, + }, + } + storeItemChangeNotify.ItemList = append(storeItemChangeNotify.ItemList, pbItem) + } + if len(storeItemChangeNotify.ItemList) > 0 { + g.SendMsg(proto.ApiStoreItemChangeNotify, userId, player.ClientSeq, storeItemChangeNotify) + } + + // PacketStoreItemDelNotify + storeItemDelNotify := new(proto.StoreItemDelNotify) + storeItemDelNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + for _, userItem := range itemList { + count := player.GetItemCount(userItem.ItemId) + if count > 0 { + continue + } + storeItemDelNotify.GuidList = append(storeItemDelNotify.GuidList, player.GetItemGuid(userItem.ItemId)) + } + if len(storeItemDelNotify.GuidList) > 0 { + g.SendMsg(proto.ApiStoreItemDelNotify, userId, player.ClientSeq, storeItemDelNotify) + } + + // PacketPlayerPropNotify + playerPropNotify := new(proto.PlayerPropNotify) + playerPropNotify.PropMap = make(map[uint32]*proto.PropValue) + for _, userItem := range itemList { + isVirtualItem, prop := player.GetVirtualItemProp(userItem.ItemId) + if !isVirtualItem { + continue + } + playerPropNotify.PropMap[uint32(prop)] = &proto.PropValue{ + Type: uint32(prop), + Val: int64(player.PropertiesMap[prop]), + Value: &proto.PropValue_Ival{ + Ival: int64(player.PropertiesMap[prop]), + }, + } + } + if len(playerPropNotify.PropMap) > 0 { + g.SendMsg(proto.ApiPlayerPropNotify, userId, player.ClientSeq, playerPropNotify) + } +} diff --git a/service/game-hk4e/game/user_login.go b/service/game-hk4e/game/user_login.go new file mode 100644 index 00000000..2e1abf22 --- /dev/null +++ b/service/game-hk4e/game/user_login.go @@ -0,0 +1,375 @@ +package game + +import ( + "flswld.com/common/utils/reflection" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "time" +) + +func (g *GameManager) OnLogin(userId uint32, clientSeq uint32) { + logger.LOG.Info("user login, user id: %v", userId) + player, asyncWait := g.userManager.OnlineUser(userId, clientSeq) + if !asyncWait { + g.OnLoginOk(userId, player, clientSeq) + } +} + +func (g *GameManager) OnLoginOk(userId uint32, player *model.Player, clientSeq uint32) { + if player == nil { + g.SendMsg(proto.ApiDoSetPlayerBornDataNotify, userId, clientSeq, new(proto.DoSetPlayerBornDataNotify)) + return + } + player.OnlineTime = uint32(time.Now().UnixMilli()) + player.Online = true + + // TODO 3.0.0REL版本 目前存在当前队伍活跃角色非主角时 登录进不去场景的情况 所以暂时先把四号队伍作为仅存在主角的保留队伍 + team := player.TeamConfig.GetTeamByIndex(3) + team.AvatarIdList = []uint32{player.MainCharAvatarId, 0, 0, 0} + player.TeamConfig.CurrTeamIndex = 3 + player.TeamConfig.CurrAvatarIndex = 0 + + // 初始化 + player.InitAll() + player.TeamConfig.UpdateTeam() + // 创建世界 + world := g.worldManager.CreateWorld(player, false) + world.AddPlayer(player, player.SceneId) + player.WorldId = world.id + + // TODO 薄荷标记 + if world.IsBigWorld() { + bigWorld := world.GetSceneById(3) + for pos := range g.worldManager.worldStatic.terrain { + bigWorld.CreateEntityGadget(&model.Vector{ + X: float64(pos.X), + Y: float64(pos.Y), + Z: float64(pos.Z), + }, 3003009) + } + } + + // PacketPlayerDataNotify + playerDataNotify := new(proto.PlayerDataNotify) + playerDataNotify.NickName = player.NickName + playerDataNotify.ServerTime = uint64(time.Now().UnixMilli()) + playerDataNotify.IsFirstLoginToday = true + playerDataNotify.RegionId = player.RegionId + playerDataNotify.PropMap = make(map[uint32]*proto.PropValue) + for k, v := range player.PropertiesMap { + propValue := new(proto.PropValue) + propValue.Type = uint32(k) + propValue.Value = &proto.PropValue_Ival{Ival: int64(v)} + propValue.Val = int64(v) + playerDataNotify.PropMap[uint32(k)] = propValue + } + g.SendMsg(proto.ApiPlayerDataNotify, userId, clientSeq, playerDataNotify) + + // PacketStoreWeightLimitNotify + storeWeightLimitNotify := new(proto.StoreWeightLimitNotify) + storeWeightLimitNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + // TODO 原神背包容量限制 写到配置文件 + storeWeightLimitNotify.WeightLimit = 30000 + storeWeightLimitNotify.WeaponCountLimit = 2000 + storeWeightLimitNotify.ReliquaryCountLimit = 1500 + storeWeightLimitNotify.MaterialCountLimit = 2000 + storeWeightLimitNotify.FurnitureCountLimit = 2000 + g.SendMsg(proto.ApiStoreWeightLimitNotify, userId, clientSeq, storeWeightLimitNotify) + + // PacketPlayerStoreNotify + playerStoreNotify := new(proto.PlayerStoreNotify) + playerStoreNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + playerStoreNotify.WeightLimit = 30000 + itemDataMapConfig := gdc.CONF.ItemDataMap + for _, weapon := range player.WeaponMap { + pbItem := &proto.Item{ + ItemId: weapon.ItemId, + Guid: weapon.Guid, + Detail: nil, + } + if itemDataMapConfig[int32(weapon.ItemId)].ItemEnumType != constant.ItemTypeConst.ITEM_WEAPON { + continue + } + affixMap := make(map[uint32]uint32) + for _, affixId := range weapon.AffixIdList { + affixMap[affixId] = uint32(weapon.Refinement) + } + pbItem.Detail = &proto.Item_Equip{ + Equip: &proto.Equip{ + Detail: &proto.Equip_Weapon{ + Weapon: &proto.Weapon{ + Level: uint32(weapon.Level), + Exp: weapon.Exp, + PromoteLevel: uint32(weapon.Promote), + AffixMap: affixMap, + }, + }, + IsLocked: weapon.Lock, + }, + } + playerStoreNotify.ItemList = append(playerStoreNotify.ItemList, pbItem) + } + for _, reliquary := range player.ReliquaryMap { + pbItem := &proto.Item{ + ItemId: reliquary.ItemId, + Guid: reliquary.Guid, + Detail: nil, + } + if itemDataMapConfig[int32(reliquary.ItemId)].ItemEnumType != constant.ItemTypeConst.ITEM_RELIQUARY { + continue + } + pbItem.Detail = &proto.Item_Equip{ + Equip: &proto.Equip{ + Detail: &proto.Equip_Reliquary{ + Reliquary: &proto.Reliquary{ + Level: uint32(reliquary.Level), + Exp: reliquary.Exp, + PromoteLevel: uint32(reliquary.Promote), + MainPropId: reliquary.MainPropId, + // TODO 圣遗物副词条 + AppendPropIdList: nil, + }, + }, + IsLocked: reliquary.Lock, + }, + } + playerStoreNotify.ItemList = append(playerStoreNotify.ItemList, pbItem) + } + for _, item := range player.ItemMap { + pbItem := &proto.Item{ + ItemId: item.ItemId, + Guid: item.Guid, + Detail: nil, + } + itemDataConfig := itemDataMapConfig[int32(item.ItemId)] + if itemDataConfig != nil && itemDataConfig.ItemEnumType == constant.ItemTypeConst.ITEM_FURNITURE { + pbItem.Detail = &proto.Item_Furniture{ + Furniture: &proto.Furniture{ + Count: item.Count, + }, + } + } else { + pbItem.Detail = &proto.Item_Material{ + Material: &proto.Material{ + Count: item.Count, + DeleteInfo: nil, + }, + } + } + playerStoreNotify.ItemList = append(playerStoreNotify.ItemList, pbItem) + } + g.SendMsg(proto.ApiPlayerStoreNotify, userId, clientSeq, playerStoreNotify) + + // PacketAvatarDataNotify + avatarDataNotify := new(proto.AvatarDataNotify) + chooseAvatarId := player.TeamConfig.GetActiveAvatarId() + avatarDataNotify.CurAvatarTeamId = uint32(player.TeamConfig.GetActiveTeamId()) + avatarDataNotify.ChooseAvatarGuid = player.AvatarMap[chooseAvatarId].Guid + avatarDataNotify.OwnedFlycloakList = player.FlyCloakList + // 角色衣装 + avatarDataNotify.OwnedCostumeList = player.CostumeList + for _, avatar := range player.AvatarMap { + pbAvatar := g.PacketAvatarInfo(avatar) + avatarDataNotify.AvatarList = append(avatarDataNotify.AvatarList, pbAvatar) + } + avatarDataNotify.AvatarTeamMap = make(map[uint32]*proto.AvatarTeam) + for teamIndex, team := range player.TeamConfig.TeamList { + var teamAvatarGuidList []uint64 = nil + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + teamAvatarGuidList = append(teamAvatarGuidList, player.AvatarMap[avatarId].Guid) + } + avatarDataNotify.AvatarTeamMap[uint32(teamIndex)+1] = &proto.AvatarTeam{ + AvatarGuidList: teamAvatarGuidList, + TeamName: team.Name, + } + } + g.SendMsg(proto.ApiAvatarDataNotify, userId, clientSeq, avatarDataNotify) + + player.SceneLoadState = model.SceneNone + + // PacketPlayerEnterSceneNotify + playerEnterSceneNotify := g.PacketPlayerEnterSceneNotify(player) + g.SendMsg(proto.ApiPlayerEnterSceneNotify, userId, clientSeq, playerEnterSceneNotify) + + // PacketOpenStateUpdateNotify + openStateUpdateNotify := new(proto.OpenStateUpdateNotify) + openStateConstMap := reflection.ConvStructToMap(constant.OpenStateConst) + openStateUpdateNotify.OpenStateMap = make(map[uint32]uint32) + for _, v := range openStateConstMap { + openStateUpdateNotify.OpenStateMap[uint32(v.(uint16))] = 1 + } + g.SendMsg(proto.ApiOpenStateUpdateNotify, userId, clientSeq, openStateUpdateNotify) +} + +func (g *GameManager) OnReg(userId uint32, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user reg, user id: %v", userId) + req := payloadMsg.(*proto.SetPlayerBornDataReq) + logger.LOG.Debug("avatar id: %v, nickname: %v", req.AvatarId, req.NickName) + + exist, asyncWait := g.userManager.CheckUserExistOnReg(userId, req, clientSeq) + if !asyncWait { + g.OnRegOk(exist, req, userId, clientSeq) + } +} + +func (g *GameManager) OnRegOk(exist bool, req *proto.SetPlayerBornDataReq, userId uint32, clientSeq uint32) { + if exist { + logger.LOG.Error("recv reg req, but user is already exist, userId: %v", userId) + return + } + + nickName := req.NickName + mainCharAvatarId := req.GetAvatarId() + if mainCharAvatarId != 10000005 && mainCharAvatarId != 10000007 { + logger.LOG.Error("invalid main char avatar id: %v", mainCharAvatarId) + return + } + + player := g.CreatePlayer(userId, nickName, mainCharAvatarId) + g.userManager.AddUser(player) + + g.SendMsg(proto.ApiSetPlayerBornDataRsp, userId, clientSeq, new(proto.SetPlayerBornDataRsp)) + g.OnLogin(userId, clientSeq) +} + +func (g *GameManager) OnUserOffline(userId uint32) { + logger.LOG.Info("user offline, user id: %v", userId) + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return + } + world := g.worldManager.GetWorldByID(player.WorldId) + if world != nil { + g.UserWorldRemovePlayer(world, player) + } + player.OfflineTime = uint32(time.Now().Unix()) + player.Online = false + player.TotalOnlineTime += uint32(time.Now().UnixMilli()) - player.OnlineTime + g.userManager.OfflineUser(player) +} + +func (g *GameManager) CreatePlayer(userId uint32, nickName string, mainCharAvatarId uint32) *model.Player { + player := new(model.Player) + player.PlayerID = userId + player.NickName = nickName + player.Signature = "惟愿时光记忆,一路繁花千树。" + player.MainCharAvatarId = mainCharAvatarId + player.HeadImage = mainCharAvatarId + player.NameCard = 210001 + player.NameCardList = make([]uint32, 0) + player.NameCardList = append(player.NameCardList, 210001, 210042) + + player.FriendList = make(map[uint32]bool) + player.FriendApplyList = make(map[uint32]bool) + + player.RegionId = 1 + player.SceneId = 3 + + player.PropertiesMap = make(map[uint16]uint32) + // 初始化所有属性 + propList := reflection.ConvStructToMap(constant.PlayerPropertyConst) + for fieldName, fieldValue := range propList { + if fieldName == "PROP_EXP" || + fieldName == "PROP_BREAK_LEVEL" || + fieldName == "PROP_SATIATION_VAL" || + fieldName == "PROP_SATIATION_PENALTY_TIME" || + fieldName == "PROP_LEVEL" { + continue + } + value := fieldValue.(uint16) + player.PropertiesMap[value] = 0 + } + player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] = 1 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL] = 0 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_IS_SPRING_AUTO_USE] = 1 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_SPRING_AUTO_USE_PERCENT] = 100 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_IS_FLYABLE] = 1 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_IS_TRANSFERABLE] = 1 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_MAX_STAMINA] = 24000 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_CUR_PERSIST_STAMINA] = 24000 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_RESIN] = 160 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE] = 2 + player.PropertiesMap[constant.PlayerPropertyConst.PROP_IS_MP_MODE_AVAILABLE] = 1 + + player.FlyCloakList = make([]uint32, 0) + player.FlyCloakList = append(player.FlyCloakList, 140001) + player.FlyCloakList = append(player.FlyCloakList, 140002) + player.FlyCloakList = append(player.FlyCloakList, 140003) + player.FlyCloakList = append(player.FlyCloakList, 140004) + player.FlyCloakList = append(player.FlyCloakList, 140005) + player.FlyCloakList = append(player.FlyCloakList, 140006) + player.FlyCloakList = append(player.FlyCloakList, 140007) + player.FlyCloakList = append(player.FlyCloakList, 140008) + player.FlyCloakList = append(player.FlyCloakList, 140009) + player.FlyCloakList = append(player.FlyCloakList, 140010) + + player.CostumeList = make([]uint32, 0) + player.CostumeList = append(player.CostumeList, 200301) + player.CostumeList = append(player.CostumeList, 201401) + player.CostumeList = append(player.CostumeList, 202701) + player.CostumeList = append(player.CostumeList, 204201) + player.CostumeList = append(player.CostumeList, 200302) + player.CostumeList = append(player.CostumeList, 202101) + player.CostumeList = append(player.CostumeList, 204101) + player.CostumeList = append(player.CostumeList, 204501) + player.CostumeList = append(player.CostumeList, 201601) + player.CostumeList = append(player.CostumeList, 203101) + + player.Pos = &model.Vector{X: 2747, Y: 194, Z: -1719} + player.Rot = &model.Vector{X: 0, Y: 307, Z: 0} + + player.ItemMap = make(map[uint32]*model.Item) + player.WeaponMap = make(map[uint64]*model.Weapon) + player.ReliquaryMap = make(map[uint64]*model.Reliquary) + player.AvatarMap = make(map[uint32]*model.Avatar) + player.GameObjectGuidMap = make(map[uint64]model.GameObject) + player.DropInfo = model.NewDropInfo() + player.ChatMsgMap = make(map[uint32][]*model.ChatMsg) + + // 选哥哥的福报 + if mainCharAvatarId == 10000005 { + // 添加所有角色 + allAvatarDataConfig := g.GetAllAvatarDataConfig() + for avatarId, avatarDataConfig := range allAvatarDataConfig { + player.AddAvatar(uint32(avatarId)) + // 添加初始武器 + weaponId := uint64(g.snowflake.GenId()) + player.AddWeapon(uint32(avatarDataConfig.InitialWeapon), weaponId) + // 角色装上初始武器 + player.WearWeapon(uint32(avatarId), weaponId) + } + // 添加所有武器 + allWeaponDataConfig := g.GetAllWeaponDataConfig() + for itemId := range allWeaponDataConfig { + weaponId := uint64(g.snowflake.GenId()) + player.AddWeapon(uint32(itemId), weaponId) + } + // 添加所有道具 + allItemDataConfig := g.GetAllItemDataConfig() + for itemId := range allItemDataConfig { + player.AddItem(uint32(itemId), 1) + } + } + + // 添加选定的主角 + player.AddAvatar(mainCharAvatarId) + // 添加初始武器 + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(mainCharAvatarId)] + weaponId := uint64(g.snowflake.GenId()) + player.AddWeapon(uint32(avatarDataConfig.InitialWeapon), weaponId) + // 角色装上初始武器 + player.WearWeapon(mainCharAvatarId, weaponId) + + player.TeamConfig = model.NewTeamInfo() + player.TeamConfig.AddAvatarToTeam(mainCharAvatarId, 0) + + return player +} diff --git a/service/game-hk4e/game/user_manager.go b/service/game-hk4e/game/user_manager.go new file mode 100644 index 00000000..1b49dbb3 --- /dev/null +++ b/service/game-hk4e/game/user_manager.go @@ -0,0 +1,300 @@ +package game + +import ( + "encoding/json" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/dao" + "game-hk4e/model" + "sync" + "time" +) + +type UserManager struct { + dao *dao.Dao + playerMap map[uint32]*model.Player + playerMapLock sync.RWMutex + localEventChan chan *LocalEvent +} + +func NewUserManager(dao *dao.Dao, localEventChan chan *LocalEvent) (r *UserManager) { + r = new(UserManager) + r.dao = dao + r.playerMap = make(map[uint32]*model.Player) + r.localEventChan = localEventChan + return r +} + +func (u *UserManager) GetUserOnlineState(userId uint32) bool { + u.playerMapLock.RLock() + player, exist := u.playerMap[userId] + u.playerMapLock.RUnlock() + if !exist { + return false + } else { + return player.Online + } +} + +func (u *UserManager) GetOnlineUser(userId uint32) *model.Player { + u.playerMapLock.RLock() + player, exist := u.playerMap[userId] + u.playerMapLock.RUnlock() + if !exist { + return nil + } else { + if player.Online { + return player + } else { + return nil + } + } +} + +func (u *UserManager) GetAllOnlineUserList() map[uint32]*model.Player { + onlinePlayerMap := make(map[uint32]*model.Player) + u.playerMapLock.RLock() + for userId, player := range u.playerMap { + if player.Online == false { + continue + } + onlinePlayerMap[userId] = player + } + u.playerMapLock.RUnlock() + return onlinePlayerMap +} + +type PlayerRegInfo struct { + Exist bool + Req *proto.SetPlayerBornDataReq + UserId uint32 + ClientSeq uint32 +} + +func (u *UserManager) CheckUserExistOnReg(userId uint32, req *proto.SetPlayerBornDataReq, clientSeq uint32) (exist bool, asyncWait bool) { + u.playerMapLock.RLock() + _, exist = u.playerMap[userId] + u.playerMapLock.RUnlock() + if exist { + return true, false + } else { + go func() { + player := u.loadUserFromDb(userId) + exist = false + if player != nil { + exist = true + } + u.localEventChan <- &LocalEvent{ + EventId: CheckUserExistOnRegFromDbFinish, + Msg: &PlayerRegInfo{ + Exist: exist, + Req: req, + UserId: userId, + ClientSeq: clientSeq, + }, + } + }() + return false, true + } +} + +func (u *UserManager) LoadTempOfflineUserSync(userId uint32) *model.Player { + u.playerMapLock.RLock() + player, exist := u.playerMap[userId] + u.playerMapLock.RUnlock() + if exist { + return player + } else { + player = u.loadUserFromDb(userId) + if player == nil { + return nil + } + player.DbState = model.DbOffline + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() + return player + } +} + +func (u *UserManager) loadUserFromDb(userId uint32) *model.Player { + player, err := u.dao.QueryPlayerByID(userId) + if err != nil { + logger.LOG.Error("query player error: %v", err) + return nil + } + return player +} + +func (u *UserManager) AddUser(player *model.Player) { + if player == nil { + return + } + u.ChangeUserDbState(player, model.DbInsert) + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() +} + +func (u *UserManager) DeleteUser(player *model.Player) { + if player == nil { + return + } + u.ChangeUserDbState(player, model.DbDelete) + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() +} + +func (u *UserManager) UpdateUser(player *model.Player) { + if player == nil { + return + } + u.ChangeUserDbState(player, model.DbUpdate) + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() +} + +type PlayerLoginInfo struct { + UserId uint32 + Player *model.Player + ClientSeq uint32 +} + +func (u *UserManager) OnlineUser(userId uint32, clientSeq uint32) (*model.Player, bool) { + u.playerMapLock.RLock() + player, exist := u.playerMap[userId] + u.playerMapLock.RUnlock() + if exist { + u.ChangeUserDbState(player, model.DbNormal) + return player, false + } else { + go func() { + player = u.loadUserFromDb(userId) + if player != nil { + player.DbState = model.DbNormal + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() + } + u.localEventChan <- &LocalEvent{ + EventId: LoadLoginUserFromDbFinish, + Msg: &PlayerLoginInfo{ + UserId: userId, + Player: player, + ClientSeq: clientSeq, + }, + } + }() + return nil, true + } +} + +func (u *UserManager) OfflineUser(player *model.Player) { + if player == nil { + return + } + u.ChangeUserDbState(player, model.DbOffline) + u.playerMapLock.Lock() + u.playerMap[player.PlayerID] = player + u.playerMapLock.Unlock() +} + +func (u *UserManager) ChangeUserDbState(player *model.Player, state int) { + if player == nil { + return + } + switch player.DbState { + case model.DbInsert: + if state == model.DbDelete { + player.DbState = model.DbDelete + } + case model.DbDelete: + case model.DbUpdate: + if state == model.DbDelete { + player.DbState = model.DbDelete + } else if state == model.DbOffline { + player.DbState = model.DbOffline + } + case model.DbNormal: + if state == model.DbDelete { + player.DbState = model.DbDelete + } else if state == model.DbUpdate { + player.DbState = model.DbUpdate + } else if state == model.DbOffline { + player.DbState = model.DbOffline + } + case model.DbOffline: + if state == model.DbDelete { + player.DbState = model.DbDelete + } else if state == model.DbUpdate { + player.DbState = model.DbUpdate + } else if state == model.DbNormal { + player.DbState = model.DbNormal + } + } +} + +func (u *UserManager) StartAutoSaveUser() { + // 用户数据库定时同步协程 + go func() { + ticker := time.NewTicker(time.Minute * 5) + for { + logger.LOG.Info("auto save user start") + playerMapTemp := make(map[uint32]*model.Player) + u.playerMapLock.RLock() + for k, v := range u.playerMap { + playerMapTemp[k] = v + } + u.playerMapLock.RUnlock() + logger.LOG.Info("copy user map finish") + insertList := make([]*model.Player, 0) + deleteList := make([]uint32, 0) + updateList := make([]*model.Player, 0) + for k, v := range playerMapTemp { + switch v.DbState { + case model.DbInsert: + insertList = append(insertList, v) + playerMapTemp[k].DbState = model.DbNormal + case model.DbDelete: + deleteList = append(deleteList, v.PlayerID) + delete(playerMapTemp, k) + case model.DbUpdate: + updateList = append(updateList, v) + playerMapTemp[k].DbState = model.DbNormal + case model.DbNormal: + continue + case model.DbOffline: + updateList = append(updateList, v) + delete(playerMapTemp, k) + } + } + insertListJson, err := json.Marshal(insertList) + logger.LOG.Debug("insertList: %v", string(insertListJson)) + deleteListJson, err := json.Marshal(deleteList) + logger.LOG.Debug("deleteList: %v", string(deleteListJson)) + updateListJson, err := json.Marshal(updateList) + logger.LOG.Debug("updateList: %v", string(updateListJson)) + logger.LOG.Info("db state init finish") + err = u.dao.InsertPlayerList(insertList) + if err != nil { + logger.LOG.Error("insert player list error: %v", err) + } + err = u.dao.DeletePlayerList(deleteList) + if err != nil { + logger.LOG.Error("delete player error: %v", err) + } + err = u.dao.UpdatePlayerList(updateList) + if err != nil { + logger.LOG.Error("update player error: %v", err) + } + logger.LOG.Info("db write finish") + u.playerMapLock.Lock() + u.playerMap = playerMapTemp + u.playerMapLock.Unlock() + logger.LOG.Info("auto save user finish") + <-ticker.C + } + }() +} diff --git a/service/game-hk4e/game/user_map.go b/service/game-hk4e/game/user_map.go new file mode 100644 index 00000000..f01f9882 --- /dev/null +++ b/service/game-hk4e/game/user_map.go @@ -0,0 +1,191 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "strconv" +) + +func (g *GameManager) SceneTransToPointReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get scene trans to point, user id: %v", userId) + req := payloadMsg.(*proto.SceneTransToPointReq) + + transPointId := strconv.Itoa(int(req.SceneId)) + "_" + strconv.Itoa(int(req.PointId)) + transPointConfig, exist := gdc.CONF.ScenePointEntries[transPointId] + if !exist { + // PacketSceneTransToPointRsp + sceneTransToPointRsp := new(proto.SceneTransToPointRsp) + sceneTransToPointRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SVR_ERROR) + g.SendMsg(proto.ApiSceneTransToPointRsp, userId, player.ClientSeq, sceneTransToPointRsp) + return + } + + // 传送玩家 + newSceneId := req.SceneId + oldSceneId := player.SceneId + oldPos := &model.Vector{ + X: player.Pos.X, + Y: player.Pos.Y, + Z: player.Pos.Z, + } + jumpScene := false + if newSceneId != oldSceneId { + jumpScene = true + } + world := g.worldManager.GetWorldByID(player.WorldId) + oldScene := world.GetSceneById(oldSceneId) + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + playerTeamEntity := oldScene.GetPlayerTeamEntity(player.PlayerID) + g.RemoveSceneEntityNotifyBroadcast(oldScene, []uint32{playerTeamEntity.avatarEntityMap[activeAvatarId]}) + if jumpScene { + // PacketDelTeamEntityNotify + delTeamEntityNotify := g.PacketDelTeamEntityNotify(oldScene, player) + g.SendMsg(proto.ApiDelTeamEntityNotify, player.PlayerID, player.ClientSeq, delTeamEntityNotify) + + oldScene.RemovePlayer(player) + newScene := world.GetSceneById(newSceneId) + newScene.AddPlayer(player) + } else { + oldScene.UpdatePlayerTeamEntity(player) + } + player.Pos.X = transPointConfig.PointData.TranPos.X + player.Pos.Y = transPointConfig.PointData.TranPos.Y + player.Pos.Z = transPointConfig.PointData.TranPos.Z + player.SceneId = newSceneId + player.SceneLoadState = model.SceneNone + + // PacketPlayerEnterSceneNotify + var enterType proto.EnterType + if jumpScene { + logger.LOG.Debug("player jump scene, scene: %v, pos: %v", player.SceneId, player.Pos) + enterType = proto.EnterType_ENTER_TYPE_JUMP + } else { + logger.LOG.Debug("player goto scene, scene: %v, pos: %v", player.SceneId, player.Pos) + enterType = proto.EnterType_ENTER_TYPE_GOTO + } + playerEnterSceneNotify := g.PacketPlayerEnterSceneNotifyTp(player, enterType, uint32(constant.EnterReasonConst.TransPoint), oldSceneId, oldPos) + g.SendMsg(proto.ApiPlayerEnterSceneNotify, userId, player.ClientSeq, playerEnterSceneNotify) + + // PacketSceneTransToPointRsp + sceneTransToPointRsp := new(proto.SceneTransToPointRsp) + sceneTransToPointRsp.Retcode = 0 + sceneTransToPointRsp.PointId = req.PointId + sceneTransToPointRsp.SceneId = req.SceneId + g.SendMsg(proto.ApiSceneTransToPointRsp, userId, player.ClientSeq, sceneTransToPointRsp) +} + +func (g *GameManager) MarkMapReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user mark map, user id: %v", userId) + req := payloadMsg.(*proto.MarkMapReq) + operation := req.Op + if operation == proto.MarkMapReq_OPERATION_ADD { + logger.LOG.Debug("user mark type: %v", req.Mark.PointType) + if req.Mark.PointType == proto.MapMarkPointType_MAP_MARK_POINT_TYPE_NPC { + posYInt, err := strconv.ParseInt(req.Mark.Name, 10, 64) + if err != nil { + logger.LOG.Error("parse pos y error: %v", err) + posYInt = 0 + } + + // 传送玩家 + newSceneId := req.Mark.SceneId + oldSceneId := player.SceneId + oldPos := &model.Vector{ + X: player.Pos.X, + Y: player.Pos.Y, + Z: player.Pos.Z, + } + jumpScene := false + if newSceneId != oldSceneId { + jumpScene = true + } + world := g.worldManager.GetWorldByID(player.WorldId) + oldScene := world.GetSceneById(oldSceneId) + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + playerTeamEntity := oldScene.GetPlayerTeamEntity(player.PlayerID) + g.RemoveSceneEntityNotifyBroadcast(oldScene, []uint32{playerTeamEntity.avatarEntityMap[activeAvatarId]}) + if jumpScene { + // PacketDelTeamEntityNotify + delTeamEntityNotify := g.PacketDelTeamEntityNotify(oldScene, player) + g.SendMsg(proto.ApiDelTeamEntityNotify, player.PlayerID, player.ClientSeq, delTeamEntityNotify) + + oldScene.RemovePlayer(player) + newScene := world.GetSceneById(newSceneId) + newScene.AddPlayer(player) + } else { + oldScene.UpdatePlayerTeamEntity(player) + } + player.Pos.X = float64(req.Mark.Pos.X) + player.Pos.Y = float64(posYInt) + player.Pos.Z = float64(req.Mark.Pos.Z) + player.SceneId = newSceneId + player.SceneLoadState = model.SceneNone + + // PacketPlayerEnterSceneNotify + var enterType proto.EnterType + if jumpScene { + logger.LOG.Debug("player jump scene, scene: %v, pos: %v", player.SceneId, player.Pos) + enterType = proto.EnterType_ENTER_TYPE_JUMP + } else { + logger.LOG.Debug("player goto scene, scene: %v, pos: %v", player.SceneId, player.Pos) + enterType = proto.EnterType_ENTER_TYPE_GOTO + } + playerEnterSceneNotify := g.PacketPlayerEnterSceneNotifyTp(player, enterType, uint32(constant.EnterReasonConst.TransPoint), oldSceneId, oldPos) + g.SendMsg(proto.ApiPlayerEnterSceneNotify, userId, player.ClientSeq, playerEnterSceneNotify) + } + } +} + +func (g *GameManager) PathfindingEnterSceneReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user pathfinding enter scene, user id: %v", userId) + g.SendMsg(proto.ApiPathfindingEnterSceneRsp, userId, player.ClientSeq, new(proto.PathfindingEnterSceneRsp)) +} + +func (g *GameManager) QueryPathReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + //logger.LOG.Debug("user query path, user id: %v", userId) + req := payloadMsg.(*proto.QueryPathReq) + + // PacketQueryPathRsp + queryPathRsp := new(proto.QueryPathRsp) + queryPathRsp.Corners = []*proto.Vector{req.DestinationPos[0]} + queryPathRsp.QueryId = req.QueryId + queryPathRsp.QueryStatus = proto.QueryPathRsp_PATH_STATUS_TYPE_SUCC + g.SendMsg(proto.ApiQueryPathRsp, userId, player.ClientSeq, queryPathRsp) +} + +func (g *GameManager) GetScenePointReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get scene point, user id: %v", userId) + req := payloadMsg.(*proto.GetScenePointReq) + + // PacketGetScenePointRsp + getScenePointRsp := new(proto.GetScenePointRsp) + getScenePointRsp.SceneId = req.SceneId + getScenePointRsp.UnlockedPointList = make([]uint32, 0) + for i := uint32(1); i < 1000; i++ { + getScenePointRsp.UnlockedPointList = append(getScenePointRsp.UnlockedPointList, i) + } + getScenePointRsp.UnlockAreaList = make([]uint32, 0) + for i := uint32(1); i < 9; i++ { + getScenePointRsp.UnlockAreaList = append(getScenePointRsp.UnlockAreaList, i) + } + g.SendMsg(proto.ApiGetScenePointRsp, userId, player.ClientSeq, getScenePointRsp) +} + +func (g *GameManager) GetSceneAreaReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get scene area, user id: %v", userId) + req := payloadMsg.(*proto.GetSceneAreaReq) + + // PacketGetSceneAreaRsp + getSceneAreaRsp := new(proto.GetSceneAreaRsp) + getSceneAreaRsp.SceneId = req.SceneId + getSceneAreaRsp.AreaIdList = []uint32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 100, 101, 102, 103, 200, 210, 300, 400, 401, 402, 403} + getSceneAreaRsp.CityInfoList = make([]*proto.CityInfo, 0) + getSceneAreaRsp.CityInfoList = append(getSceneAreaRsp.CityInfoList, &proto.CityInfo{CityId: 1, Level: 1}) + getSceneAreaRsp.CityInfoList = append(getSceneAreaRsp.CityInfoList, &proto.CityInfo{CityId: 2, Level: 1}) + getSceneAreaRsp.CityInfoList = append(getSceneAreaRsp.CityInfoList, &proto.CityInfo{CityId: 3, Level: 1}) + g.SendMsg(proto.ApiGetSceneAreaRsp, userId, player.ClientSeq, getSceneAreaRsp) +} diff --git a/service/game-hk4e/game/user_multiplayer.go b/service/game-hk4e/game/user_multiplayer.go new file mode 100644 index 00000000..77bce476 --- /dev/null +++ b/service/game-hk4e/game/user_multiplayer.go @@ -0,0 +1,416 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "time" +) + +func (g *GameManager) PlayerApplyEnterMpReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user apply enter world, user id: %v", userId) + req := payloadMsg.(*proto.PlayerApplyEnterMpReq) + targetUid := req.TargetUid + + // PacketPlayerApplyEnterMpRsp + playerApplyEnterMpRsp := new(proto.PlayerApplyEnterMpRsp) + playerApplyEnterMpRsp.TargetUid = targetUid + g.SendMsg(proto.ApiPlayerApplyEnterMpRsp, player.PlayerID, player.ClientSeq, playerApplyEnterMpRsp) + + ok := g.UserApplyEnterWorld(player, targetUid) + if !ok { + // PacketPlayerApplyEnterMpResultNotify + playerApplyEnterMpResultNotify := new(proto.PlayerApplyEnterMpResultNotify) + playerApplyEnterMpResultNotify.TargetUid = targetUid + playerApplyEnterMpResultNotify.TargetNickname = "" + playerApplyEnterMpResultNotify.IsAgreed = false + playerApplyEnterMpResultNotify.Reason = proto.PlayerApplyEnterMpResultNotify_REASON_PLAYER_CANNOT_ENTER_MP + g.SendMsg(proto.ApiPlayerApplyEnterMpResultNotify, player.PlayerID, player.ClientSeq, playerApplyEnterMpResultNotify) + } +} + +func (g *GameManager) PlayerApplyEnterMpResultReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user deal world enter apply, user id: %v", userId) + req := payloadMsg.(*proto.PlayerApplyEnterMpResultReq) + applyUid := req.ApplyUid + isAgreed := req.IsAgreed + + g.UserDealEnterWorld(player, applyUid, isAgreed) + + // PacketPlayerApplyEnterMpResultRsp + playerApplyEnterMpResultRsp := new(proto.PlayerApplyEnterMpResultRsp) + playerApplyEnterMpResultRsp.ApplyUid = applyUid + playerApplyEnterMpResultRsp.IsAgreed = isAgreed + g.SendMsg(proto.ApiPlayerApplyEnterMpResultRsp, player.PlayerID, player.ClientSeq, playerApplyEnterMpResultRsp) +} + +func (g *GameManager) PlayerGetForceQuitBanInfoReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get world exit ban info, user id: %v", userId) + + result := true + world := g.worldManager.GetWorldByID(player.WorldId) + for _, worldPlayer := range world.playerMap { + if worldPlayer.SceneLoadState != model.SceneEnterDone { + result = false + } + } + + // PacketPlayerGetForceQuitBanInfoRsp + playerGetForceQuitBanInfoRsp := new(proto.PlayerGetForceQuitBanInfoRsp) + if result { + playerGetForceQuitBanInfoRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SUCC) + } else { + playerGetForceQuitBanInfoRsp.Retcode = int32(proto.Retcode_RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER) + } + g.SendMsg(proto.ApiPlayerGetForceQuitBanInfoRsp, player.PlayerID, player.ClientSeq, playerGetForceQuitBanInfoRsp) +} + +func (g *GameManager) BackMyWorldReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user back world, user id: %v", userId) + + // 其他玩家 + ok := g.UserLeaveWorld(player) + + // PacketBackMyWorldRsp + backMyWorldRsp := new(proto.BackMyWorldRsp) + if ok { + backMyWorldRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SUCC) + } else { + backMyWorldRsp.Retcode = int32(proto.Retcode_RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER) + } + g.SendMsg(proto.ApiBackMyWorldRsp, player.PlayerID, player.ClientSeq, backMyWorldRsp) +} + +func (g *GameManager) ChangeWorldToSingleModeReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change world to single, user id: %v", userId) + + // 房主 + ok := g.UserLeaveWorld(player) + + // PacketChangeWorldToSingleModeRsp + changeWorldToSingleModeRsp := new(proto.ChangeWorldToSingleModeRsp) + if ok { + changeWorldToSingleModeRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SUCC) + } else { + changeWorldToSingleModeRsp.Retcode = int32(proto.Retcode_RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER) + } + g.SendMsg(proto.ApiChangeWorldToSingleModeRsp, player.PlayerID, player.ClientSeq, changeWorldToSingleModeRsp) +} + +func (g *GameManager) SceneKickPlayerReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user kick player, user id: %v", userId) + req := payloadMsg.(*proto.SceneKickPlayerReq) + targetUid := req.TargetUid + + targetPlayer := g.userManager.GetOnlineUser(targetUid) + ok := g.UserLeaveWorld(targetPlayer) + if ok { + // PacketSceneKickPlayerNotify + sceneKickPlayerNotify := new(proto.SceneKickPlayerNotify) + sceneKickPlayerNotify.TargetUid = targetUid + sceneKickPlayerNotify.KickerUid = player.PlayerID + world := g.worldManager.GetWorldByID(player.WorldId) + for _, worldPlayer := range world.playerMap { + g.SendMsg(proto.ApiSceneKickPlayerNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, sceneKickPlayerNotify) + } + } + + // PacketSceneKickPlayerRsp + sceneKickPlayerRsp := new(proto.SceneKickPlayerRsp) + if ok { + sceneKickPlayerRsp.TargetUid = targetUid + } else { + sceneKickPlayerRsp.Retcode = int32(proto.Retcode_RETCODE_RET_MP_TARGET_PLAYER_IN_TRANSFER) + } + g.SendMsg(proto.ApiSceneKickPlayerRsp, player.PlayerID, player.ClientSeq, sceneKickPlayerRsp) +} + +func (g *GameManager) UserApplyEnterWorld(player *model.Player, targetUid uint32) bool { + targetPlayer := g.userManager.GetOnlineUser(targetUid) + if targetPlayer == nil { + return false + } + world := g.worldManager.GetWorldByID(player.WorldId) + if world.multiplayer { + return false + } + applyTime, exist := targetPlayer.CoopApplyMap[player.PlayerID] + if exist && time.Now().UnixNano() < applyTime+int64(10*time.Second) { + return false + } + targetPlayer.CoopApplyMap[player.PlayerID] = time.Now().UnixNano() + targetWorld := g.worldManager.GetWorldByID(targetPlayer.WorldId) + if targetWorld.multiplayer && targetWorld.owner.PlayerID != targetPlayer.PlayerID { + return false + } + + // PacketPlayerApplyEnterMpNotify + playerApplyEnterMpNotify := new(proto.PlayerApplyEnterMpNotify) + playerApplyEnterMpNotify.SrcPlayerInfo = g.PacketOnlinePlayerInfo(player) + g.SendMsg(proto.ApiPlayerApplyEnterMpNotify, targetPlayer.PlayerID, targetPlayer.ClientSeq, playerApplyEnterMpNotify) + return true +} + +func (g *GameManager) UserDealEnterWorld(hostPlayer *model.Player, otherUid uint32, agree bool) { + otherPlayer := g.userManager.GetOnlineUser(otherUid) + if otherPlayer == nil { + return + } + applyTime, exist := hostPlayer.CoopApplyMap[otherUid] + if !exist || time.Now().UnixNano() > applyTime+int64(10*time.Second) { + return + } + delete(hostPlayer.CoopApplyMap, otherUid) + otherPlayerWorld := g.worldManager.GetWorldByID(otherPlayer.WorldId) + if otherPlayerWorld.multiplayer { + // PacketPlayerApplyEnterMpResultNotify + playerApplyEnterMpResultNotify := new(proto.PlayerApplyEnterMpResultNotify) + playerApplyEnterMpResultNotify.TargetUid = hostPlayer.PlayerID + playerApplyEnterMpResultNotify.TargetNickname = hostPlayer.NickName + playerApplyEnterMpResultNotify.IsAgreed = false + playerApplyEnterMpResultNotify.Reason = proto.PlayerApplyEnterMpResultNotify_REASON_PLAYER_CANNOT_ENTER_MP + g.SendMsg(proto.ApiPlayerApplyEnterMpResultNotify, otherPlayer.PlayerID, otherPlayer.ClientSeq, playerApplyEnterMpResultNotify) + return + } + + // PacketPlayerApplyEnterMpResultNotify + playerApplyEnterMpResultNotify := new(proto.PlayerApplyEnterMpResultNotify) + playerApplyEnterMpResultNotify.TargetUid = hostPlayer.PlayerID + playerApplyEnterMpResultNotify.TargetNickname = hostPlayer.NickName + playerApplyEnterMpResultNotify.IsAgreed = agree + playerApplyEnterMpResultNotify.Reason = proto.PlayerApplyEnterMpResultNotify_REASON_PLAYER_JUDGE + g.SendMsg(proto.ApiPlayerApplyEnterMpResultNotify, otherPlayer.PlayerID, otherPlayer.ClientSeq, playerApplyEnterMpResultNotify) + + if !agree { + return + } + + hostWorld := g.worldManager.GetWorldByID(hostPlayer.WorldId) + if hostWorld.multiplayer == false { + g.UserWorldRemovePlayer(hostWorld, hostPlayer) + + hostPlayer.TeamConfig.CurrTeamIndex = 3 + hostPlayer.TeamConfig.CurrAvatarIndex = 0 + + // PacketPlayerEnterSceneNotify + hostPlayerEnterSceneNotify := g.PacketPlayerEnterSceneNotifyMp( + hostPlayer, + hostPlayer, + proto.EnterType_ENTER_TYPE_SELF, + uint32(constant.EnterReasonConst.HostFromSingleToMp), + hostPlayer.SceneId, + hostPlayer.Pos, + ) + g.SendMsg(proto.ApiPlayerEnterSceneNotify, hostPlayer.PlayerID, hostPlayer.ClientSeq, hostPlayerEnterSceneNotify) + + hostWorld = g.worldManager.CreateWorld(hostPlayer, true) + g.UserWorldAddPlayer(hostWorld, hostPlayer) + hostPlayer.SceneLoadState = model.SceneNone + } + + otherWorld := g.worldManager.GetWorldByID(otherPlayer.WorldId) + g.UserWorldRemovePlayer(otherWorld, otherPlayer) + + otherPlayerOldSceneId := otherPlayer.SceneId + otherPlayerOldPos := &model.Vector{ + X: otherPlayer.Pos.X, + Y: otherPlayer.Pos.Y, + Z: otherPlayer.Pos.Z, + } + + otherPlayer.Pos = &model.Vector{ + X: hostPlayer.Pos.X, + Y: hostPlayer.Pos.Y + 1, + Z: hostPlayer.Pos.Z, + } + otherPlayer.Rot = &model.Vector{ + X: hostPlayer.Rot.X, + Y: hostPlayer.Rot.Y, + Z: hostPlayer.Rot.Z, + } + otherPlayer.SceneId = hostPlayer.SceneId + otherPlayer.TeamConfig.CurrTeamIndex = 3 + otherPlayer.TeamConfig.CurrAvatarIndex = 0 + + // PacketPlayerEnterSceneNotify + playerEnterSceneNotify := g.PacketPlayerEnterSceneNotifyMp( + otherPlayer, + hostPlayer, + proto.EnterType_ENTER_TYPE_OTHER, + uint32(constant.EnterReasonConst.TeamJoin), + otherPlayerOldSceneId, + otherPlayerOldPos, + ) + g.SendMsg(proto.ApiPlayerEnterSceneNotify, otherPlayer.PlayerID, otherPlayer.ClientSeq, playerEnterSceneNotify) + + g.UserWorldAddPlayer(hostWorld, otherPlayer) + otherPlayer.SceneLoadState = model.SceneNone +} + +func (g *GameManager) UserLeaveWorld(player *model.Player) bool { + oldWorld := g.worldManager.GetWorldByID(player.WorldId) + if !oldWorld.multiplayer { + return false + } + for _, worldPlayer := range oldWorld.playerMap { + if worldPlayer.SceneLoadState != model.SceneEnterDone { + return false + } + } + g.UserWorldRemovePlayer(oldWorld, player) + //{ + // newWorld := g.worldManager.CreateWorld(player, false) + // g.UserWorldAddPlayer(newWorld, player) + // player.SceneLoadState = model.SceneNone + // + // // PacketPlayerEnterSceneNotify + // enterReasonConst := constant.GetEnterReasonConst() + // playerEnterSceneNotify := g.PacketPlayerEnterSceneNotifyMp( + // player, + // player, + // proto.EnterType_ENTER_TYPE_SELF, + // uint32(enterReasonConst.TeamBack), + // player.SceneId, + // player.Pos, + // ) + // g.SendMsg(proto.ApiPlayerEnterSceneNotify, player.PlayerID, player.ClientSeq, playerEnterSceneNotify) + //} + { + // PacketClientReconnectNotify + g.SendMsg(proto.ApiClientReconnectNotify, player.PlayerID, 0, new(proto.ClientReconnectNotify)) + } + return true +} + +func (g *GameManager) UserWorldAddPlayer(world *World, player *model.Player) { + _, exist := world.playerMap[player.PlayerID] + if exist { + return + } + world.AddPlayer(player, player.SceneId) + player.WorldId = world.id + if len(world.playerMap) > 1 { + g.UpdateWorldPlayerInfo(world, player) + } +} + +func (g *GameManager) UserWorldRemovePlayer(world *World, player *model.Player) { + if world.multiplayer && player.PlayerID == world.owner.PlayerID { + // 多人世界房主离开剔除所有其他玩家 + for _, worldPlayer := range world.playerMap { + if worldPlayer.PlayerID == world.owner.PlayerID { + continue + } + if ok := g.UserLeaveWorld(worldPlayer); !ok { + return + } + } + } + + // PacketDelTeamEntityNotify + scene := world.GetSceneById(player.SceneId) + delTeamEntityNotify := g.PacketDelTeamEntityNotify(scene, player) + g.SendMsg(proto.ApiDelTeamEntityNotify, player.PlayerID, player.ClientSeq, delTeamEntityNotify) + + if world.multiplayer { + // PlayerQuitFromMpNotify + playerQuitFromMpNotify := new(proto.PlayerQuitFromMpNotify) + playerQuitFromMpNotify.Reason = proto.PlayerQuitFromMpNotify_QUIT_REASON_BACK_TO_MY_WORLD + g.SendMsg(proto.ApiPlayerQuitFromMpNotify, player.PlayerID, player.ClientSeq, playerQuitFromMpNotify) + + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + g.RemoveSceneEntityNotifyBroadcast(scene, []uint32{playerTeamEntity.avatarEntityMap[activeAvatarId]}) + } + + world.RemovePlayer(player) + player.WorldId = 0 + + if world.multiplayer && len(world.playerMap) > 0 { + g.UpdateWorldPlayerInfo(world, player) + } + + if world.owner.PlayerID == player.PlayerID { + // 房主离开销毁世界 + g.worldManager.DestroyWorld(world.id) + } +} + +func (g *GameManager) UpdateWorldPlayerInfo(hostWorld *World, excludePlayer *model.Player) { + for _, worldPlayer := range hostWorld.playerMap { + if worldPlayer.PlayerID == excludePlayer.PlayerID || worldPlayer.SceneLoadState == model.SceneNone { + continue + } + + // PacketSceneTeamUpdateNotify + sceneTeamUpdateNotify := g.PacketSceneTeamUpdateNotify(hostWorld) + g.SendMsg(proto.ApiSceneTeamUpdateNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, sceneTeamUpdateNotify) + + // PacketWorldPlayerInfoNotify + worldPlayerInfoNotify := new(proto.WorldPlayerInfoNotify) + for _, subWorldPlayer := range hostWorld.playerMap { + onlinePlayerInfo := new(proto.OnlinePlayerInfo) + onlinePlayerInfo.Uid = subWorldPlayer.PlayerID + onlinePlayerInfo.Nickname = subWorldPlayer.NickName + onlinePlayerInfo.PlayerLevel = subWorldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] + onlinePlayerInfo.MpSettingType = proto.MpSettingType(subWorldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE]) + onlinePlayerInfo.NameCardId = subWorldPlayer.NameCard + onlinePlayerInfo.Signature = subWorldPlayer.Signature + onlinePlayerInfo.ProfilePicture = &proto.ProfilePicture{AvatarId: subWorldPlayer.HeadImage} + onlinePlayerInfo.CurPlayerNumInWorld = uint32(len(hostWorld.playerMap)) + worldPlayerInfoNotify.PlayerInfoList = append(worldPlayerInfoNotify.PlayerInfoList, onlinePlayerInfo) + worldPlayerInfoNotify.PlayerUidList = append(worldPlayerInfoNotify.PlayerUidList, subWorldPlayer.PlayerID) + } + g.SendMsg(proto.ApiWorldPlayerInfoNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, worldPlayerInfoNotify) + + // PacketScenePlayerInfoNotify + scenePlayerInfoNotify := new(proto.ScenePlayerInfoNotify) + for _, subWorldPlayer := range hostWorld.playerMap { + onlinePlayerInfo := new(proto.OnlinePlayerInfo) + onlinePlayerInfo.Uid = subWorldPlayer.PlayerID + onlinePlayerInfo.Nickname = subWorldPlayer.NickName + onlinePlayerInfo.PlayerLevel = subWorldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] + onlinePlayerInfo.MpSettingType = proto.MpSettingType(subWorldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE]) + onlinePlayerInfo.NameCardId = subWorldPlayer.NameCard + onlinePlayerInfo.Signature = subWorldPlayer.Signature + onlinePlayerInfo.ProfilePicture = &proto.ProfilePicture{AvatarId: subWorldPlayer.HeadImage} + onlinePlayerInfo.CurPlayerNumInWorld = uint32(len(hostWorld.playerMap)) + scenePlayerInfoNotify.PlayerInfoList = append(scenePlayerInfoNotify.PlayerInfoList, &proto.ScenePlayerInfo{ + Uid: subWorldPlayer.PlayerID, + PeerId: subWorldPlayer.PeerId, + Name: subWorldPlayer.NickName, + SceneId: subWorldPlayer.SceneId, + OnlinePlayerInfo: onlinePlayerInfo, + }) + } + g.SendMsg(proto.ApiScenePlayerInfoNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, scenePlayerInfoNotify) + + // PacketSyncTeamEntityNotify + syncTeamEntityNotify := new(proto.SyncTeamEntityNotify) + syncTeamEntityNotify.SceneId = worldPlayer.SceneId + syncTeamEntityNotify.TeamEntityInfoList = make([]*proto.TeamEntityInfo, 0) + if hostWorld.multiplayer { + for _, subWorldPlayer := range hostWorld.playerMap { + if subWorldPlayer.PlayerID == worldPlayer.PlayerID { + continue + } + subWorldPlayerScene := hostWorld.GetSceneById(subWorldPlayer.SceneId) + subWorldPlayerTeamEntity := subWorldPlayerScene.GetPlayerTeamEntity(subWorldPlayer.PlayerID) + teamEntityInfo := &proto.TeamEntityInfo{ + TeamEntityId: subWorldPlayerTeamEntity.teamEntityId, + AuthorityPeerId: subWorldPlayer.PeerId, + TeamAbilityInfo: new(proto.AbilitySyncStateInfo), + } + syncTeamEntityNotify.TeamEntityInfoList = append(syncTeamEntityNotify.TeamEntityInfoList, teamEntityInfo) + } + } + g.SendMsg(proto.ApiSyncTeamEntityNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, syncTeamEntityNotify) + + // PacketSyncScenePlayTeamEntityNotify + syncScenePlayTeamEntityNotify := new(proto.SyncScenePlayTeamEntityNotify) + syncScenePlayTeamEntityNotify.SceneId = worldPlayer.SceneId + g.SendMsg(proto.ApiSyncScenePlayTeamEntityNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, syncScenePlayTeamEntityNotify) + } +} diff --git a/service/game-hk4e/game/user_scene.go b/service/game-hk4e/game/user_scene.go new file mode 100644 index 00000000..6cacb9ef --- /dev/null +++ b/service/game-hk4e/game/user_scene.go @@ -0,0 +1,710 @@ +package game + +import ( + "flswld.com/common/utils/object" + "flswld.com/common/utils/random" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "strconv" + "time" +) + +func (g *GameManager) EnterSceneReadyReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user enter scene ready, user id: %v", userId) + + // PacketEnterScenePeerNotify + enterScenePeerNotify := new(proto.EnterScenePeerNotify) + enterScenePeerNotify.DestSceneId = player.SceneId + world := g.worldManager.GetWorldByID(player.WorldId) + enterScenePeerNotify.PeerId = player.PeerId + enterScenePeerNotify.HostPeerId = world.owner.PeerId + enterScenePeerNotify.EnterSceneToken = player.EnterSceneToken + g.SendMsg(proto.ApiEnterScenePeerNotify, userId, player.ClientSeq, enterScenePeerNotify) + + // PacketEnterSceneReadyRsp + enterSceneReadyRsp := new(proto.EnterSceneReadyRsp) + enterSceneReadyRsp.EnterSceneToken = player.EnterSceneToken + g.SendMsg(proto.ApiEnterSceneReadyRsp, userId, player.ClientSeq, enterSceneReadyRsp) +} + +func (g *GameManager) SceneInitFinishReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user scene init finish, user id: %v", userId) + + // PacketServerTimeNotify + serverTimeNotify := new(proto.ServerTimeNotify) + serverTimeNotify.ServerTime = uint64(time.Now().UnixMilli()) + g.SendMsg(proto.ApiServerTimeNotify, userId, player.ClientSeq, serverTimeNotify) + + // PacketWorldPlayerInfoNotify + worldPlayerInfoNotify := new(proto.WorldPlayerInfoNotify) + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + for _, worldPlayer := range world.playerMap { + onlinePlayerInfo := new(proto.OnlinePlayerInfo) + onlinePlayerInfo.Uid = worldPlayer.PlayerID + onlinePlayerInfo.Nickname = worldPlayer.NickName + onlinePlayerInfo.PlayerLevel = worldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] + onlinePlayerInfo.MpSettingType = proto.MpSettingType(worldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE]) + onlinePlayerInfo.NameCardId = worldPlayer.NameCard + onlinePlayerInfo.Signature = worldPlayer.Signature + onlinePlayerInfo.ProfilePicture = &proto.ProfilePicture{AvatarId: worldPlayer.HeadImage} + onlinePlayerInfo.CurPlayerNumInWorld = uint32(len(world.playerMap)) + worldPlayerInfoNotify.PlayerInfoList = append(worldPlayerInfoNotify.PlayerInfoList, onlinePlayerInfo) + worldPlayerInfoNotify.PlayerUidList = append(worldPlayerInfoNotify.PlayerUidList, worldPlayer.PlayerID) + } + g.SendMsg(proto.ApiWorldPlayerInfoNotify, userId, player.ClientSeq, worldPlayerInfoNotify) + + // PacketWorldDataNotify + worldDataNotify := new(proto.WorldDataNotify) + worldDataNotify.WorldPropMap = make(map[uint32]*proto.PropValue) + // 世界等级 + worldDataNotify.WorldPropMap[1] = &proto.PropValue{ + Type: 1, + Val: int64(world.worldLevel), + Value: &proto.PropValue_Ival{Ival: int64(world.worldLevel)}, + } + // 是否多人游戏 + worldDataNotify.WorldPropMap[2] = &proto.PropValue{ + Type: 2, + Val: object.ConvBoolToInt64(world.multiplayer), + Value: &proto.PropValue_Ival{Ival: object.ConvBoolToInt64(world.multiplayer)}, + } + g.SendMsg(proto.ApiWorldDataNotify, userId, player.ClientSeq, worldDataNotify) + + // PacketPlayerWorldSceneInfoListNotify + playerWorldSceneInfoListNotify := new(proto.PlayerWorldSceneInfoListNotify) + playerWorldSceneInfoListNotify.InfoList = []*proto.PlayerWorldSceneInfo{ + {SceneId: 1, IsLocked: false, SceneTagIdList: []uint32{}}, + {SceneId: 3, IsLocked: false, SceneTagIdList: []uint32{102, 113, 117}}, + {SceneId: 4, IsLocked: false, SceneTagIdList: []uint32{106, 109, 117}}, + {SceneId: 5, IsLocked: false, SceneTagIdList: []uint32{}}, + {SceneId: 6, IsLocked: false, SceneTagIdList: []uint32{}}, + {SceneId: 7, IsLocked: false, SceneTagIdList: []uint32{}}, + } + xumi := &proto.PlayerWorldSceneInfo{ + SceneId: 9, + IsLocked: false, + SceneTagIdList: []uint32{}, + } + for i := 0; i < 3000; i++ { + xumi.SceneTagIdList = append(xumi.SceneTagIdList, uint32(i)) + } + playerWorldSceneInfoListNotify.InfoList = append(playerWorldSceneInfoListNotify.InfoList, xumi) + g.SendMsg(proto.ApiPlayerWorldSceneInfoListNotify, userId, player.ClientSeq, playerWorldSceneInfoListNotify) + + // SceneForceUnlockNotify + g.SendMsg(proto.ApiSceneForceUnlockNotify, userId, player.ClientSeq, new(proto.SceneForceUnlockNotify)) + + // PacketHostPlayerNotify + hostPlayerNotify := new(proto.HostPlayerNotify) + hostPlayerNotify.HostUid = world.owner.PlayerID + hostPlayerNotify.HostPeerId = world.owner.PeerId + g.SendMsg(proto.ApiHostPlayerNotify, userId, player.ClientSeq, hostPlayerNotify) + + // PacketSceneTimeNotify + sceneTimeNotify := new(proto.SceneTimeNotify) + sceneTimeNotify.SceneId = player.SceneId + sceneTimeNotify.SceneTime = uint64(scene.GetSceneTime()) + g.SendMsg(proto.ApiSceneTimeNotify, userId, player.ClientSeq, sceneTimeNotify) + + // PacketPlayerGameTimeNotify + playerGameTimeNotify := new(proto.PlayerGameTimeNotify) + playerGameTimeNotify.GameTime = scene.gameTime + playerGameTimeNotify.Uid = player.PlayerID + g.SendMsg(proto.ApiPlayerGameTimeNotify, userId, player.ClientSeq, playerGameTimeNotify) + + // PacketPlayerEnterSceneInfoNotify + empty := new(proto.AbilitySyncStateInfo) + playerEnterSceneInfoNotify := new(proto.PlayerEnterSceneInfoNotify) + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + playerEnterSceneInfoNotify.CurAvatarEntityId = playerTeamEntity.avatarEntityMap[activeAvatarId] + playerEnterSceneInfoNotify.EnterSceneToken = player.EnterSceneToken + playerEnterSceneInfoNotify.TeamEnterInfo = &proto.TeamEnterSceneInfo{ + TeamEntityId: playerTeamEntity.teamEntityId, + TeamAbilityInfo: empty, + AbilityControlBlock: new(proto.AbilityControlBlock), + } + playerEnterSceneInfoNotify.MpLevelEntityInfo = &proto.MPLevelEntityInfo{ + EntityId: g.worldManager.GetWorldByID(player.WorldId).mpLevelEntityId, + AuthorityPeerId: g.worldManager.GetWorldByID(player.WorldId).owner.PeerId, + AbilityInfo: empty, + } + activeTeam := player.TeamConfig.GetActiveTeam() + for _, avatarId := range activeTeam.AvatarIdList { + if avatarId == 0 { + break + } + avatar := player.AvatarMap[avatarId] + avatarEnterSceneInfo := new(proto.AvatarEnterSceneInfo) + avatarEnterSceneInfo.AvatarGuid = avatar.Guid + avatarEnterSceneInfo.AvatarEntityId = playerTeamEntity.avatarEntityMap[avatarId] + avatarEnterSceneInfo.WeaponGuid = avatar.EquipWeapon.Guid + avatarEnterSceneInfo.WeaponEntityId = playerTeamEntity.weaponEntityMap[avatar.EquipWeapon.WeaponId] + avatarEnterSceneInfo.AvatarAbilityInfo = empty + avatarEnterSceneInfo.WeaponAbilityInfo = empty + playerEnterSceneInfoNotify.AvatarEnterInfo = append(playerEnterSceneInfoNotify.AvatarEnterInfo, avatarEnterSceneInfo) + } + g.SendMsg(proto.ApiPlayerEnterSceneInfoNotify, userId, player.ClientSeq, playerEnterSceneInfoNotify) + + // PacketSceneAreaWeatherNotify + sceneAreaWeatherNotify := new(proto.SceneAreaWeatherNotify) + sceneAreaWeatherNotify.WeatherAreaId = 0 + sceneAreaWeatherNotify.ClimateType = uint32(constant.ClimateTypeConst.CLIMATE_SUNNY) + g.SendMsg(proto.ApiSceneAreaWeatherNotify, userId, player.ClientSeq, sceneAreaWeatherNotify) + + // PacketScenePlayerInfoNotify + scenePlayerInfoNotify := new(proto.ScenePlayerInfoNotify) + for _, worldPlayer := range world.playerMap { + onlinePlayerInfo := new(proto.OnlinePlayerInfo) + onlinePlayerInfo.Uid = worldPlayer.PlayerID + onlinePlayerInfo.Nickname = worldPlayer.NickName + onlinePlayerInfo.PlayerLevel = worldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] + onlinePlayerInfo.MpSettingType = proto.MpSettingType(worldPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE]) + onlinePlayerInfo.NameCardId = worldPlayer.NameCard + onlinePlayerInfo.Signature = worldPlayer.Signature + onlinePlayerInfo.ProfilePicture = &proto.ProfilePicture{AvatarId: worldPlayer.HeadImage} + onlinePlayerInfo.CurPlayerNumInWorld = uint32(len(world.playerMap)) + scenePlayerInfoNotify.PlayerInfoList = append(scenePlayerInfoNotify.PlayerInfoList, &proto.ScenePlayerInfo{ + Uid: worldPlayer.PlayerID, + PeerId: worldPlayer.PeerId, + Name: worldPlayer.NickName, + SceneId: worldPlayer.SceneId, + OnlinePlayerInfo: onlinePlayerInfo, + }) + } + g.SendMsg(proto.ApiScenePlayerInfoNotify, userId, player.ClientSeq, scenePlayerInfoNotify) + + // PacketSceneTeamUpdateNotify + sceneTeamUpdateNotify := g.PacketSceneTeamUpdateNotify(world) + g.SendMsg(proto.ApiSceneTeamUpdateNotify, userId, player.ClientSeq, sceneTeamUpdateNotify) + + // PacketSyncTeamEntityNotify + syncTeamEntityNotify := new(proto.SyncTeamEntityNotify) + syncTeamEntityNotify.SceneId = player.SceneId + syncTeamEntityNotify.TeamEntityInfoList = make([]*proto.TeamEntityInfo, 0) + if world.multiplayer { + for _, worldPlayer := range world.playerMap { + if worldPlayer.PlayerID == player.PlayerID { + continue + } + worldPlayerScene := world.GetSceneById(worldPlayer.SceneId) + worldPlayerTeamEntity := worldPlayerScene.GetPlayerTeamEntity(worldPlayer.PlayerID) + teamEntityInfo := &proto.TeamEntityInfo{ + TeamEntityId: worldPlayerTeamEntity.teamEntityId, + AuthorityPeerId: worldPlayer.PeerId, + TeamAbilityInfo: new(proto.AbilitySyncStateInfo), + } + syncTeamEntityNotify.TeamEntityInfoList = append(syncTeamEntityNotify.TeamEntityInfoList, teamEntityInfo) + } + } + g.SendMsg(proto.ApiSyncTeamEntityNotify, userId, player.ClientSeq, syncTeamEntityNotify) + + // PacketSyncScenePlayTeamEntityNotify + syncScenePlayTeamEntityNotify := new(proto.SyncScenePlayTeamEntityNotify) + syncScenePlayTeamEntityNotify.SceneId = player.SceneId + g.SendMsg(proto.ApiSyncScenePlayTeamEntityNotify, userId, player.ClientSeq, syncScenePlayTeamEntityNotify) + + // PacketSceneInitFinishRsp + SceneInitFinishRsp := new(proto.SceneInitFinishRsp) + SceneInitFinishRsp.EnterSceneToken = player.EnterSceneToken + g.SendMsg(proto.ApiSceneInitFinishRsp, userId, player.ClientSeq, SceneInitFinishRsp) + + player.SceneLoadState = model.SceneInitFinish +} + +func (g *GameManager) EnterSceneDoneReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user enter scene done, user id: %v", userId) + + // PacketEnterSceneDoneRsp + enterSceneDoneRsp := new(proto.EnterSceneDoneRsp) + enterSceneDoneRsp.EnterSceneToken = player.EnterSceneToken + g.SendMsg(proto.ApiEnterSceneDoneRsp, userId, player.ClientSeq, enterSceneDoneRsp) + + // PacketPlayerTimeNotify + playerTimeNotify := new(proto.PlayerTimeNotify) + playerTimeNotify.IsPaused = player.Pause + playerTimeNotify.PlayerTime = uint64(player.TotalOnlineTime) + playerTimeNotify.ServerTime = uint64(time.Now().UnixMilli()) + g.SendMsg(proto.ApiPlayerTimeNotify, userId, player.ClientSeq, playerTimeNotify) + + player.SceneLoadState = model.SceneEnterDone + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + g.AddSceneEntityNotify(player, proto.VisionType_VISION_TYPE_BORN, []uint32{playerTeamEntity.avatarEntityMap[activeAvatarId]}, true) + + // 通过aoi获取场景中在自己周围格子里的全部实体id + entityIdList := world.aoiManager.GetEntityIdListByPos(float32(player.Pos.X), float32(player.Pos.Y), float32(player.Pos.Z)) + g.AddSceneEntityNotify(player, proto.VisionType_VISION_TYPE_MEET, entityIdList, false) +} + +func (g *GameManager) PostEnterSceneReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user post enter scene, user id: %v", userId) + + // PacketPostEnterSceneRsp + postEnterSceneRsp := new(proto.PostEnterSceneRsp) + postEnterSceneRsp.EnterSceneToken = player.EnterSceneToken + g.SendMsg(proto.ApiPostEnterSceneRsp, userId, player.ClientSeq, postEnterSceneRsp) +} + +func (g *GameManager) EnterWorldAreaReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user enter world area, user id: %v", userId) + req := payloadMsg.(*proto.EnterWorldAreaReq) + + // PacketEnterWorldAreaRsp + enterWorldAreaRsp := new(proto.EnterWorldAreaRsp) + enterWorldAreaRsp.AreaType = req.AreaType + enterWorldAreaRsp.AreaId = req.AreaId + g.SendMsg(proto.ApiEnterWorldAreaRsp, userId, player.ClientSeq, enterWorldAreaRsp) +} + +func (g *GameManager) ChangeGameTimeReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change game time, user id: %v", userId) + req := payloadMsg.(*proto.ChangeGameTimeReq) + gameTime := req.GameTime + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + scene.ChangeGameTime(gameTime) + + for _, scenePlayer := range scene.playerMap { + // PacketPlayerGameTimeNotify + playerGameTimeNotify := new(proto.PlayerGameTimeNotify) + playerGameTimeNotify.GameTime = scene.gameTime + playerGameTimeNotify.Uid = scenePlayer.PlayerID + g.SendMsg(proto.ApiPlayerGameTimeNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, playerGameTimeNotify) + } + + // PacketChangeGameTimeRsp + changeGameTimeRsp := new(proto.ChangeGameTimeRsp) + changeGameTimeRsp.CurGameTime = scene.gameTime + g.SendMsg(proto.ApiChangeGameTimeRsp, userId, player.ClientSeq, changeGameTimeRsp) +} + +func (g *GameManager) PacketPlayerEnterSceneNotify(player *model.Player) *proto.PlayerEnterSceneNotify { + player.EnterSceneToken = uint32(random.GetRandomInt32(1000, 99999)) + playerEnterSceneNotify := new(proto.PlayerEnterSceneNotify) + playerEnterSceneNotify.SceneId = player.SceneId + playerEnterSceneNotify.Pos = &proto.Vector{X: float32(player.Pos.X), Y: float32(player.Pos.Y), Z: float32(player.Pos.Z)} + playerEnterSceneNotify.SceneBeginTime = uint64(time.Now().UnixMilli()) + playerEnterSceneNotify.Type = proto.EnterType_ENTER_TYPE_SELF + playerEnterSceneNotify.TargetUid = player.PlayerID + playerEnterSceneNotify.EnterSceneToken = player.EnterSceneToken + playerEnterSceneNotify.WorldLevel = player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL] + playerEnterSceneNotify.EnterReason = uint32(constant.EnterReasonConst.Login) + // 刚登录进入场景的时候才为true + playerEnterSceneNotify.IsFirstLoginEnterScene = true + playerEnterSceneNotify.WorldType = 1 + playerEnterSceneNotify.SceneTransaction = strconv.Itoa(int(player.SceneId)) + "-" + + strconv.Itoa(int(player.PlayerID)) + "-" + + strconv.Itoa(int(time.Now().Unix())) + "-" + + "18402" + return playerEnterSceneNotify +} + +func (g *GameManager) PacketPlayerEnterSceneNotifyTp( + player *model.Player, + enterType proto.EnterType, + enterReason uint32, + prevSceneId uint32, + prevPos *model.Vector, +) *proto.PlayerEnterSceneNotify { + return g.PacketPlayerEnterSceneNotifyMp(player, player, enterType, enterReason, prevSceneId, prevPos) +} + +func (g *GameManager) PacketPlayerEnterSceneNotifyMp( + player *model.Player, + targetPlayer *model.Player, + enterType proto.EnterType, + enterReason uint32, + prevSceneId uint32, + prevPos *model.Vector, +) *proto.PlayerEnterSceneNotify { + player.EnterSceneToken = uint32(random.GetRandomInt32(1000, 99999)) + playerEnterSceneNotify := new(proto.PlayerEnterSceneNotify) + playerEnterSceneNotify.PrevSceneId = prevSceneId + playerEnterSceneNotify.PrevPos = &proto.Vector{X: float32(prevPos.X), Y: float32(prevPos.Y), Z: float32(prevPos.Z)} + playerEnterSceneNotify.SceneId = player.SceneId + playerEnterSceneNotify.Pos = &proto.Vector{X: float32(player.Pos.X), Y: float32(player.Pos.Y), Z: float32(player.Pos.Z)} + playerEnterSceneNotify.SceneBeginTime = uint64(time.Now().UnixMilli()) + playerEnterSceneNotify.Type = enterType + playerEnterSceneNotify.TargetUid = targetPlayer.PlayerID + playerEnterSceneNotify.EnterSceneToken = player.EnterSceneToken + playerEnterSceneNotify.WorldLevel = targetPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL] + playerEnterSceneNotify.EnterReason = enterReason + playerEnterSceneNotify.WorldType = 1 + playerEnterSceneNotify.SceneTransaction = strconv.Itoa(int(player.SceneId)) + "-" + + strconv.Itoa(int(targetPlayer.PlayerID)) + "-" + + strconv.Itoa(int(time.Now().Unix())) + "-" + + "18402" + + //playerEnterSceneNotify.SceneTagIdList = []uint32{102, 107, 109, 113, 117} + playerEnterSceneNotify.SceneTagIdList = make([]uint32, 0) + for sceneTagId := uint32(0); sceneTagId < 3000; sceneTagId++ { + playerEnterSceneNotify.SceneTagIdList = append(playerEnterSceneNotify.SceneTagIdList, sceneTagId) + } + + return playerEnterSceneNotify +} + +func (g *GameManager) AddSceneEntityNotifyToPlayer(player *model.Player, visionType proto.VisionType, entityList []*proto.SceneEntityInfo) { + // PacketSceneEntityAppearNotify + sceneEntityAppearNotify := new(proto.SceneEntityAppearNotify) + sceneEntityAppearNotify.AppearType = visionType + sceneEntityAppearNotify.EntityList = entityList + g.SendMsg(proto.ApiSceneEntityAppearNotify, player.PlayerID, player.ClientSeq, sceneEntityAppearNotify) + logger.LOG.Debug("SceneEntityAppearNotify, uid: %v, type: %v, len: %v", + player.PlayerID, sceneEntityAppearNotify.AppearType, len(sceneEntityAppearNotify.EntityList)) +} + +func (g *GameManager) AddSceneEntityNotifyBroadcast(scene *Scene, visionType proto.VisionType, entityList []*proto.SceneEntityInfo) { + // PacketSceneEntityAppearNotify + sceneEntityAppearNotify := new(proto.SceneEntityAppearNotify) + sceneEntityAppearNotify.AppearType = visionType + sceneEntityAppearNotify.EntityList = entityList + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiSceneEntityAppearNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, sceneEntityAppearNotify) + logger.LOG.Debug("SceneEntityAppearNotify, uid: %v, type: %v, len: %v", + scenePlayer.PlayerID, sceneEntityAppearNotify.AppearType, len(sceneEntityAppearNotify.EntityList)) + } +} + +func (g *GameManager) RemoveSceneEntityNotifyToPlayer(player *model.Player, entityIdList []uint32) { + // PacketSceneEntityDisappearNotify + sceneEntityDisappearNotify := new(proto.SceneEntityDisappearNotify) + sceneEntityDisappearNotify.EntityList = entityIdList + sceneEntityDisappearNotify.DisappearType = proto.VisionType_VISION_TYPE_REMOVE + g.SendMsg(proto.ApiSceneEntityDisappearNotify, player.PlayerID, player.ClientSeq, sceneEntityDisappearNotify) + logger.LOG.Debug("SceneEntityDisappearNotify, uid: %v, type: %v, len: %v", + player.PlayerID, sceneEntityDisappearNotify.DisappearType, len(sceneEntityDisappearNotify.EntityList)) +} + +func (g *GameManager) RemoveSceneEntityNotifyBroadcast(scene *Scene, entityIdList []uint32) { + // PacketSceneEntityDisappearNotify + sceneEntityDisappearNotify := new(proto.SceneEntityDisappearNotify) + sceneEntityDisappearNotify.EntityList = entityIdList + sceneEntityDisappearNotify.DisappearType = proto.VisionType_VISION_TYPE_REMOVE + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiSceneEntityDisappearNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, sceneEntityDisappearNotify) + logger.LOG.Debug("SceneEntityDisappearNotify, uid: %v, type: %v, len: %v", + scenePlayer.PlayerID, sceneEntityDisappearNotify.DisappearType, len(sceneEntityDisappearNotify.EntityList)) + } +} + +func (g *GameManager) AddSceneEntityNotify(player *model.Player, visionType proto.VisionType, entityIdList []uint32, broadcast bool) { + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + entityList := make([]*proto.SceneEntityInfo, 0) + for _, entityId := range entityIdList { + entity := scene.entityMap[entityId] + if entity == nil { + logger.LOG.Error("get entity is nil, entityId: %v", entityId) + continue + } + switch entity.entityType { + case uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_AVATAR): + if visionType == proto.VisionType_VISION_TYPE_MEET && entity.avatarEntity.uid == player.PlayerID { + continue + } + scenePlayer := g.userManager.GetOnlineUser(entity.avatarEntity.uid) + if scenePlayer == nil { + logger.LOG.Error("get scene player is nil, world id: %v, scene id: %v", world.id, scene.id) + continue + } + if scenePlayer.SceneLoadState != model.SceneEnterDone { + continue + } + if entity.avatarEntity.avatarId != scenePlayer.TeamConfig.GetActiveAvatarId() { + continue + } + sceneEntityInfoAvatar := g.PacketSceneEntityInfoAvatar(scene, scenePlayer, scenePlayer.TeamConfig.GetActiveAvatarId()) + entityList = append(entityList, sceneEntityInfoAvatar) + case uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_WEAPON): + case uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_MONSTER): + sceneEntityInfoMonster := g.PacketSceneEntityInfoMonster(scene, entity.id) + entityList = append(entityList, sceneEntityInfoMonster) + case uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_GADGET): + sceneEntityInfoGadget := g.PacketSceneEntityInfoGadget(scene, entity.id) + entityList = append(entityList, sceneEntityInfoGadget) + } + } + if broadcast { + g.AddSceneEntityNotifyBroadcast(scene, visionType, entityList) + } else { + g.AddSceneEntityNotifyToPlayer(player, visionType, entityList) + } +} + +func (g *GameManager) PacketFightPropMapToPbFightPropList(fightPropMap map[uint32]float32) []*proto.FightPropPair { + fightPropList := []*proto.FightPropPair{ + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_HP), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_HP)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_ATTACK), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_ATTACK)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_DEFENSE), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_DEFENSE)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL_HURT), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL_HURT)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CHARGE_EFFICIENCY), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CHARGE_EFFICIENCY)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_MAX_HP), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_MAX_HP)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_ATTACK), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_ATTACK)], + }, + { + PropType: uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_DEFENSE), + PropValue: fightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_DEFENSE)], + }, + } + return fightPropList +} + +func (g *GameManager) PacketSceneEntityInfoAvatar(scene *Scene, player *model.Player, avatarId uint32) *proto.SceneEntityInfo { + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + entity := scene.GetEntity(playerTeamEntity.avatarEntityMap[avatarId]) + if entity == nil { + return new(proto.SceneEntityInfo) + } + sceneEntityInfo := &proto.SceneEntityInfo{ + EntityType: proto.ProtEntityType_PROT_ENTITY_TYPE_AVATAR, + EntityId: entity.id, + MotionInfo: &proto.MotionInfo{ + Pos: &proto.Vector{ + X: float32(entity.pos.X), + Y: float32(entity.pos.Y), + Z: float32(entity.pos.Z), + }, + Rot: &proto.Vector{ + X: float32(entity.rot.X), + Y: float32(entity.rot.Y), + Z: float32(entity.rot.Z), + }, + Speed: &proto.Vector{}, + State: proto.MotionState(entity.moveState), + }, + PropList: []*proto.PropPair{{Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), PropValue: &proto.PropValue{ + Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), + Value: &proto.PropValue_Ival{Ival: int64(entity.level)}, + Val: int64(entity.level), + }}}, + FightPropList: g.PacketFightPropMapToPbFightPropList(entity.fightProp), + LifeState: 1, + AnimatorParaList: make([]*proto.AnimatorParameterValueInfoPair, 0), + Entity: &proto.SceneEntityInfo_Avatar{ + Avatar: g.PacketSceneAvatarInfo(scene, player, avatarId), + }, + EntityClientData: new(proto.EntityClientData), + EntityAuthorityInfo: &proto.EntityAuthorityInfo{ + AbilityInfo: new(proto.AbilitySyncStateInfo), + RendererChangedInfo: new(proto.EntityRendererChangedInfo), + AiInfo: &proto.SceneEntityAiInfo{ + IsAiOpen: true, + BornPos: new(proto.Vector), + }, + BornPos: new(proto.Vector), + }, + LastMoveSceneTimeMs: entity.lastMoveSceneTimeMs, + LastMoveReliableSeq: entity.lastMoveReliableSeq, + } + return sceneEntityInfo +} + +func (g *GameManager) PacketSceneEntityInfoMonster(scene *Scene, entityId uint32) *proto.SceneEntityInfo { + entity := scene.GetEntity(entityId) + if entity == nil { + return new(proto.SceneEntityInfo) + } + pos := &proto.Vector{ + X: float32(entity.pos.X), + Y: float32(entity.pos.Y), + Z: float32(entity.pos.Z), + } + sceneEntityInfo := &proto.SceneEntityInfo{ + EntityType: proto.ProtEntityType_PROT_ENTITY_TYPE_MONSTER, + EntityId: entity.id, + MotionInfo: &proto.MotionInfo{ + Pos: pos, + Rot: &proto.Vector{ + X: float32(entity.rot.X), + Y: float32(entity.rot.Y), + Z: float32(entity.rot.Z), + }, + Speed: &proto.Vector{}, + State: proto.MotionState(entity.moveState), + }, + PropList: []*proto.PropPair{{Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), PropValue: &proto.PropValue{ + Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), + Value: &proto.PropValue_Ival{Ival: int64(entity.level)}, + Val: int64(entity.level), + }}}, + FightPropList: g.PacketFightPropMapToPbFightPropList(entity.fightProp), + LifeState: 1, + AnimatorParaList: make([]*proto.AnimatorParameterValueInfoPair, 0), + Entity: &proto.SceneEntityInfo_Monster{ + Monster: g.PacketSceneMonsterInfo(), + }, + EntityClientData: new(proto.EntityClientData), + EntityAuthorityInfo: &proto.EntityAuthorityInfo{ + AbilityInfo: new(proto.AbilitySyncStateInfo), + RendererChangedInfo: new(proto.EntityRendererChangedInfo), + AiInfo: &proto.SceneEntityAiInfo{ + IsAiOpen: true, + BornPos: pos, + }, + BornPos: pos, + }, + } + return sceneEntityInfo +} + +func (g *GameManager) PacketSceneEntityInfoGadget(scene *Scene, entityId uint32) *proto.SceneEntityInfo { + entity := scene.GetEntity(entityId) + if entity == nil { + return new(proto.SceneEntityInfo) + } + sceneEntityInfo := &proto.SceneEntityInfo{ + EntityType: proto.ProtEntityType_PROT_ENTITY_TYPE_GADGET, + EntityId: entity.id, + MotionInfo: &proto.MotionInfo{ + Pos: &proto.Vector{ + X: float32(entity.pos.X), + Y: float32(entity.pos.Y), + Z: float32(entity.pos.Z), + }, + Rot: &proto.Vector{ + X: float32(entity.rot.X), + Y: float32(entity.rot.Y), + Z: float32(entity.rot.Z), + }, + Speed: &proto.Vector{}, + State: proto.MotionState(entity.moveState), + }, + PropList: []*proto.PropPair{{Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), PropValue: &proto.PropValue{ + Type: uint32(constant.PlayerPropertyConst.PROP_LEVEL), + Value: &proto.PropValue_Ival{Ival: int64(1)}, + Val: int64(1), + }}}, + FightPropList: g.PacketFightPropMapToPbFightPropList(entity.fightProp), + LifeState: 1, + AnimatorParaList: make([]*proto.AnimatorParameterValueInfoPair, 0), + Entity: &proto.SceneEntityInfo_Gadget{ + Gadget: g.PacketSceneGadgetInfo(entity.gadgetEntity.gatherId), + }, + EntityClientData: new(proto.EntityClientData), + EntityAuthorityInfo: &proto.EntityAuthorityInfo{ + AbilityInfo: new(proto.AbilitySyncStateInfo), + RendererChangedInfo: new(proto.EntityRendererChangedInfo), + AiInfo: &proto.SceneEntityAiInfo{ + IsAiOpen: true, + BornPos: new(proto.Vector), + }, + BornPos: new(proto.Vector), + }, + } + return sceneEntityInfo +} + +func (g *GameManager) PacketSceneAvatarInfo(scene *Scene, player *model.Player, avatarId uint32) *proto.SceneAvatarInfo { + activeAvatarId := player.TeamConfig.GetActiveAvatarId() + activeAvatar := player.AvatarMap[activeAvatarId] + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + equipIdList := make([]uint32, 0) + weapon := player.AvatarMap[avatarId].EquipWeapon + equipIdList = append(equipIdList, weapon.ItemId) + for _, reliquary := range player.AvatarMap[avatarId].EquipReliquaryList { + equipIdList = append(equipIdList, reliquary.ItemId) + } + sceneAvatarInfo := &proto.SceneAvatarInfo{ + Uid: player.PlayerID, + AvatarId: avatarId, + Guid: player.AvatarMap[avatarId].Guid, + PeerId: player.PeerId, + EquipIdList: equipIdList, + SkillDepotId: player.AvatarMap[avatarId].SkillDepotId, + Weapon: &proto.SceneWeaponInfo{ + EntityId: playerTeamEntity.weaponEntityMap[activeAvatar.EquipWeapon.WeaponId], + GadgetId: uint32(gdc.CONF.ItemDataMap[int32(weapon.ItemId)].GadgetId), + ItemId: weapon.ItemId, + Guid: weapon.Guid, + Level: uint32(weapon.Level), + AbilityInfo: new(proto.AbilitySyncStateInfo), + }, + ReliquaryList: nil, + SkillLevelMap: player.AvatarMap[avatarId].SkillLevelMap, + WearingFlycloakId: player.AvatarMap[avatarId].FlyCloak, + CostumeId: player.AvatarMap[avatarId].Costume, + BornTime: uint32(player.AvatarMap[avatarId].BornTime), + TeamResonanceList: make([]uint32, 0), + } + for id := range player.TeamConfig.TeamResonances { + sceneAvatarInfo.TeamResonanceList = append(sceneAvatarInfo.TeamResonanceList, uint32(id)) + } + return sceneAvatarInfo +} + +func (g *GameManager) PacketSceneMonsterInfo() *proto.SceneMonsterInfo { + sceneMonsterInfo := &proto.SceneMonsterInfo{ + MonsterId: 20011301, + AuthorityPeerId: 1, + BornType: proto.MonsterBornType_MONSTER_BORN_TYPE_DEFAULT, + BlockId: 3001, + TitleId: 3001, + SpecialNameId: 40, + } + return sceneMonsterInfo +} + +func (g *GameManager) PacketSceneGadgetInfo(gatherId uint32) *proto.SceneGadgetInfo { + gather := gdc.CONF.GatherDataMap[int32(gatherId)] + sceneGadgetInfo := &proto.SceneGadgetInfo{ + GadgetId: uint32(gather.GadgetId), + //GroupId: 133003011, + //ConfigId: 11001, + GadgetState: 0, + IsEnableInteract: false, + AuthorityPeerId: 1, + Content: &proto.SceneGadgetInfo_GatherGadget{ + GatherGadget: &proto.GatherGadgetInfo{ + ItemId: uint32(gather.ItemId), + IsForbidGuest: false, + }, + }, + } + return sceneGadgetInfo +} + +func (g *GameManager) PacketDelTeamEntityNotify(scene *Scene, player *model.Player) *proto.DelTeamEntityNotify { + delTeamEntityNotify := new(proto.DelTeamEntityNotify) + delTeamEntityNotify.SceneId = player.SceneId + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + delTeamEntityNotify.DelEntityIdList = []uint32{playerTeamEntity.teamEntityId} + return delTeamEntityNotify +} diff --git a/service/game-hk4e/game/user_shop.go b/service/game-hk4e/game/user_shop.go new file mode 100644 index 00000000..f72d19c3 --- /dev/null +++ b/service/game-hk4e/game/user_shop.go @@ -0,0 +1,128 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "time" +) + +func (g *GameManager) GetShopmallDataReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get shop mall, userId: %v", userId) + + // PacketGetShopmallDataRsp + getShopmallDataRsp := new(proto.GetShopmallDataRsp) + getShopmallDataRsp.ShopTypeList = []uint32{900, 1052, 902, 1001, 903} + g.SendMsg(proto.ApiGetShopmallDataRsp, userId, player.ClientSeq, getShopmallDataRsp) +} + +func (g *GameManager) GetShopReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get shop, userId: %v", userId) + req := payloadMsg.(*proto.GetShopReq) + shopType := req.ShopType + + if shopType != 1001 { + return + } + + nextRefreshTime := uint32(time.Now().Add(time.Hour * 24 * 30).Unix()) + + // PacketGetShopRsp + getShopRsp := new(proto.GetShopRsp) + getShopRsp.Shop = &proto.Shop{ + GoodsList: []*proto.ShopGoods{ + { + MinLevel: 1, + EndTime: 2051193600, + Hcoin: 160, + GoodsId: 102001, + NextRefreshTime: nextRefreshTime, + MaxLevel: 99, + BeginTime: 1575129600, + GoodsItem: &proto.ItemParam{ + ItemId: 223, + Count: 1, + }, + }, + { + MinLevel: 1, + EndTime: 2051193600, + Hcoin: 160, + GoodsId: 102002, + NextRefreshTime: nextRefreshTime, + MaxLevel: 99, + BeginTime: 1575129600, + GoodsItem: &proto.ItemParam{ + ItemId: 224, + Count: 1, + }, + }, + }, + NextRefreshTime: nextRefreshTime, + ShopType: 1001, + } + g.SendMsg(proto.ApiGetShopRsp, userId, player.ClientSeq, getShopRsp) +} + +func (g *GameManager) BuyGoodsReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user buy goods, userId: %v", userId) + req := payloadMsg.(*proto.BuyGoodsReq) + buyItemId := req.Goods.GoodsItem.ItemId + buyItemCount := req.BuyCount + costHcoinCount := req.Goods.Hcoin * buyItemCount + + if buyItemId != 223 && buyItemId != 224 { + return + } + + if player.GetItemCount(201) < costHcoinCount { + return + } + g.CostUserItem(userId, []*UserItem{{ + ItemId: 201, + ChangeCount: costHcoinCount, + }}) + + g.AddUserItem(userId, []*UserItem{{ + ItemId: buyItemId, + ChangeCount: buyItemCount, + }}, true, constant.ActionReasonConst.Shop) + req.Goods.BoughtNum = player.GetItemCount(buyItemId) + + // PacketBuyGoodsRsp + buyGoodsRsp := new(proto.BuyGoodsRsp) + buyGoodsRsp.ShopType = req.ShopType + buyGoodsRsp.BuyCount = req.BuyCount + buyGoodsRsp.GoodsList = []*proto.ShopGoods{req.Goods} + g.SendMsg(proto.ApiBuyGoodsRsp, userId, player.ClientSeq, buyGoodsRsp) +} + +func (g *GameManager) McoinExchangeHcoinReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user mcoin exchange hcoin, userId: %v", userId) + req := payloadMsg.(*proto.McoinExchangeHcoinReq) + if req.Hcoin != req.McoinCost { + return + } + count := req.Hcoin + + if player.GetItemCount(203) < count { + return + } + g.CostUserItem(userId, []*UserItem{{ + ItemId: 203, + ChangeCount: count, + }}) + + g.AddUserItem(userId, []*UserItem{{ + ItemId: 201, + ChangeCount: count, + }}, false, 0) + + // PacketMcoinExchangeHcoinRsp + mcoinExchangeHcoinRsp := new(proto.McoinExchangeHcoinRsp) + mcoinExchangeHcoinRsp.Hcoin = req.Hcoin + mcoinExchangeHcoinRsp.McoinCost = req.McoinCost + g.SendMsg(proto.ApiMcoinExchangeHcoinRsp, userId, player.ClientSeq, mcoinExchangeHcoinRsp) +} diff --git a/service/game-hk4e/game/user_social.go b/service/game-hk4e/game/user_social.go new file mode 100644 index 00000000..87034614 --- /dev/null +++ b/service/game-hk4e/game/user_social.go @@ -0,0 +1,334 @@ +package game + +import ( + "flswld.com/common/utils/object" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "regexp" + "time" + "unicode/utf8" +) + +func (g *GameManager) GetPlayerSocialDetailReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get player social detail, user id: %v", userId) + req := payloadMsg.(*proto.GetPlayerSocialDetailReq) + targetUid := req.Uid + + // PacketGetPlayerSocialDetailRsp + getPlayerSocialDetailRsp := new(proto.GetPlayerSocialDetailRsp) + // TODO 同步阻塞待优化 + targetPlayer := g.userManager.LoadTempOfflineUserSync(targetUid) + if targetPlayer != nil { + socialDetail := new(proto.SocialDetail) + socialDetail.Uid = targetPlayer.PlayerID + socialDetail.ProfilePicture = &proto.ProfilePicture{AvatarId: targetPlayer.HeadImage} + socialDetail.Nickname = targetPlayer.NickName + socialDetail.Signature = targetPlayer.Signature + socialDetail.Level = targetPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL] + socialDetail.Birthday = &proto.Birthday{Month: 2, Day: 13} + socialDetail.WorldLevel = targetPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL] + socialDetail.NameCardId = targetPlayer.NameCard + socialDetail.IsShowAvatar = false + socialDetail.FinishAchievementNum = 0 + _, exist := player.FriendList[targetPlayer.PlayerID] + socialDetail.IsFriend = exist + getPlayerSocialDetailRsp.DetailData = socialDetail + } else { + getPlayerSocialDetailRsp.Retcode = int32(proto.Retcode_RETCODE_RET_PLAYER_NOT_EXIST) + } + g.SendMsg(proto.ApiGetPlayerSocialDetailRsp, userId, player.ClientSeq, getPlayerSocialDetailRsp) +} + +func (g *GameManager) SetPlayerBirthdayReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user set birthday, user id: %v", userId) + req := payloadMsg.(*proto.SetPlayerBirthdayReq) + _ = req +} + +func (g *GameManager) SetNameCardReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change name card, user id: %v", userId) + req := payloadMsg.(*proto.SetNameCardReq) + nameCardId := req.NameCardId + exist := false + for _, nameCard := range player.NameCardList { + if nameCard == nameCardId { + exist = true + } + } + if !exist { + logger.LOG.Error("name card not exist, userId: %v", userId) + return + } + player.NameCard = nameCardId + + // PacketSetNameCardRsp + setNameCardRsp := new(proto.SetNameCardRsp) + setNameCardRsp.NameCardId = nameCardId + g.SendMsg(proto.ApiSetNameCardRsp, userId, player.ClientSeq, setNameCardRsp) +} + +func (g *GameManager) SetPlayerSignatureReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change signature, user id: %v", userId) + req := payloadMsg.(*proto.SetPlayerSignatureReq) + signature := req.Signature + + // PacketSetPlayerSignatureRsp + setPlayerSignatureRsp := new(proto.SetPlayerSignatureRsp) + if !object.IsUtf8String(signature) { + setPlayerSignatureRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SIGNATURE_ILLEGAL) + } else if utf8.RuneCountInString(signature) > 50 { + setPlayerSignatureRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SIGNATURE_ILLEGAL) + } else { + player.Signature = signature + setPlayerSignatureRsp.Signature = player.Signature + } + g.SendMsg(proto.ApiSetPlayerSignatureRsp, userId, player.ClientSeq, setPlayerSignatureRsp) +} + +func (g *GameManager) SetPlayerNameReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change nickname, user id: %v", userId) + req := payloadMsg.(*proto.SetPlayerNameReq) + nickName := req.NickName + + // PacketSetPlayerNameRsp + setPlayerNameRsp := new(proto.SetPlayerNameRsp) + if len(nickName) == 0 { + setPlayerNameRsp.Retcode = int32(proto.Retcode_RETCODE_RET_NICKNAME_IS_EMPTY) + } else if !object.IsUtf8String(nickName) { + setPlayerNameRsp.Retcode = int32(proto.Retcode_RETCODE_RET_NICKNAME_UTF8_ERROR) + } else if utf8.RuneCountInString(nickName) > 14 { + setPlayerNameRsp.Retcode = int32(proto.Retcode_RETCODE_RET_NICKNAME_TOO_LONG) + } else if len(regexp.MustCompile(`\d`).FindAllString(nickName, -1)) > 6 { + setPlayerNameRsp.Retcode = int32(proto.Retcode_RETCODE_RET_NICKNAME_TOO_MANY_DIGITS) + } else { + player.NickName = nickName + setPlayerNameRsp.NickName = player.NickName + } + g.SendMsg(proto.ApiSetPlayerNameRsp, userId, player.ClientSeq, setPlayerNameRsp) +} + +func (g *GameManager) SetPlayerHeadImageReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change head image, user id: %v", userId) + req := payloadMsg.(*proto.SetPlayerHeadImageReq) + avatarId := req.AvatarId + _, exist := player.AvatarMap[avatarId] + if !exist { + logger.LOG.Error("the head img of the avatar not exist, userId: %v", userId) + return + } + player.HeadImage = avatarId + + // PacketSetPlayerHeadImageRsp + setPlayerHeadImageRsp := new(proto.SetPlayerHeadImageRsp) + setPlayerHeadImageRsp.ProfilePicture = &proto.ProfilePicture{AvatarId: player.HeadImage} + g.SendMsg(proto.ApiSetPlayerHeadImageRsp, userId, player.ClientSeq, setPlayerHeadImageRsp) +} + +func (g *GameManager) GetAllUnlockNameCardReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get all unlock name card, user id: %v", userId) + + // PacketGetAllUnlockNameCardRsp + getAllUnlockNameCardRsp := new(proto.GetAllUnlockNameCardRsp) + getAllUnlockNameCardRsp.NameCardList = player.NameCardList + g.SendMsg(proto.ApiGetAllUnlockNameCardRsp, userId, player.ClientSeq, getAllUnlockNameCardRsp) +} + +func (g *GameManager) GetPlayerFriendListReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get friend list, user id: %v", userId) + + // PacketGetPlayerFriendListRsp + getPlayerFriendListRsp := new(proto.GetPlayerFriendListRsp) + getPlayerFriendListRsp.FriendList = make([]*proto.FriendBrief, 0) + for uid := range player.FriendList { + // TODO 同步阻塞待优化 + var onlineState proto.FriendOnlineState + online := g.userManager.GetUserOnlineState(uid) + if online { + onlineState = proto.FriendOnlineState_FRIEND_ONLINE_STATE_ONLINE + } else { + onlineState = proto.FriendOnlineState_FRIEND_ONLINE_STATE_FREIEND_DISCONNECT + } + friendPlayer := g.userManager.LoadTempOfflineUserSync(uid) + if friendPlayer == nil { + logger.LOG.Error("target player is nil, userId: %v", userId) + continue + } + friendBrief := &proto.FriendBrief{ + Uid: friendPlayer.PlayerID, + Nickname: friendPlayer.NickName, + Level: friendPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL], + ProfilePicture: &proto.ProfilePicture{AvatarId: friendPlayer.HeadImage}, + WorldLevel: friendPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL], + Signature: friendPlayer.Signature, + OnlineState: onlineState, + IsMpModeAvailable: true, + LastActiveTime: player.OfflineTime, + NameCardId: friendPlayer.NameCard, + Param: (uint32(time.Now().Unix()) - player.OfflineTime) / 3600 / 24, + IsGameSource: true, + PlatformType: proto.PlatformType_PLATFORM_TYPE_PC, + } + getPlayerFriendListRsp.FriendList = append(getPlayerFriendListRsp.FriendList, friendBrief) + } + g.SendMsg(proto.ApiGetPlayerFriendListRsp, userId, player.ClientSeq, getPlayerFriendListRsp) +} + +func (g *GameManager) GetPlayerAskFriendListReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get friend apply list, user id: %v", userId) + + // PacketGetPlayerAskFriendListRsp + getPlayerAskFriendListRsp := new(proto.GetPlayerAskFriendListRsp) + getPlayerAskFriendListRsp.AskFriendList = make([]*proto.FriendBrief, 0) + for uid := range player.FriendApplyList { + // TODO 同步阻塞待优化 + var onlineState proto.FriendOnlineState + online := g.userManager.GetUserOnlineState(uid) + if online { + onlineState = proto.FriendOnlineState_FRIEND_ONLINE_STATE_ONLINE + } else { + onlineState = proto.FriendOnlineState_FRIEND_ONLINE_STATE_FREIEND_DISCONNECT + } + friendPlayer := g.userManager.LoadTempOfflineUserSync(uid) + if friendPlayer == nil { + logger.LOG.Error("target player is nil, userId: %v", userId) + continue + } + friendBrief := &proto.FriendBrief{ + Uid: friendPlayer.PlayerID, + Nickname: friendPlayer.NickName, + Level: friendPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL], + ProfilePicture: &proto.ProfilePicture{AvatarId: friendPlayer.HeadImage}, + WorldLevel: friendPlayer.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL], + Signature: friendPlayer.Signature, + OnlineState: onlineState, + IsMpModeAvailable: true, + LastActiveTime: player.OfflineTime, + NameCardId: friendPlayer.NameCard, + Param: (uint32(time.Now().Unix()) - player.OfflineTime) / 3600 / 24, + IsGameSource: true, + PlatformType: proto.PlatformType_PLATFORM_TYPE_PC, + } + getPlayerAskFriendListRsp.AskFriendList = append(getPlayerAskFriendListRsp.AskFriendList, friendBrief) + } + g.SendMsg(proto.ApiGetPlayerAskFriendListRsp, userId, player.ClientSeq, getPlayerAskFriendListRsp) +} + +func (g *GameManager) AskAddFriendReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user apply add friend, user id: %v", userId) + req := payloadMsg.(*proto.AskAddFriendReq) + targetUid := req.TargetUid + + // TODO 同步阻塞待优化 + targetPlayerOnline := g.userManager.GetUserOnlineState(targetUid) + targetPlayer := g.userManager.LoadTempOfflineUserSync(targetUid) + if targetPlayer == nil { + logger.LOG.Error("apply add friend target player is nil, userId: %v", userId) + return + } + _, applyExist := targetPlayer.FriendApplyList[player.PlayerID] + _, friendExist := targetPlayer.FriendList[player.PlayerID] + if applyExist || friendExist { + logger.LOG.Error("friend or apply already exist, user id: %v", userId) + return + } + targetPlayer.FriendApplyList[player.PlayerID] = true + + if targetPlayerOnline { + // PacketAskAddFriendNotify + askAddFriendNotify := new(proto.AskAddFriendNotify) + askAddFriendNotify.TargetUid = player.PlayerID + askAddFriendNotify.TargetFriendBrief = &proto.FriendBrief{ + Uid: player.PlayerID, + Nickname: player.NickName, + Level: player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL], + ProfilePicture: &proto.ProfilePicture{AvatarId: player.HeadImage}, + WorldLevel: player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_WORLD_LEVEL], + Signature: player.Signature, + OnlineState: proto.FriendOnlineState_FRIEND_ONLINE_STATE_ONLINE, + IsMpModeAvailable: true, + LastActiveTime: player.OfflineTime, + NameCardId: player.NameCard, + Param: (uint32(time.Now().Unix()) - player.OfflineTime) / 3600 / 24, + IsGameSource: true, + PlatformType: proto.PlatformType_PLATFORM_TYPE_PC, + } + g.SendMsg(proto.ApiAskAddFriendNotify, targetPlayer.PlayerID, targetPlayer.ClientSeq, askAddFriendNotify) + } + + // PacketAskAddFriendRsp + askAddFriendRsp := new(proto.AskAddFriendRsp) + askAddFriendRsp.TargetUid = targetUid + g.SendMsg(proto.ApiAskAddFriendRsp, userId, player.ClientSeq, askAddFriendRsp) +} + +func (g *GameManager) DealAddFriendReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user deal friend apply, user id: %v", userId) + req := payloadMsg.(*proto.DealAddFriendReq) + targetUid := req.TargetUid + result := req.DealAddFriendResult + + if result == proto.DealAddFriendResultType_DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT { + player.FriendList[targetUid] = true + // TODO 同步阻塞待优化 + targetPlayer := g.userManager.LoadTempOfflineUserSync(targetUid) + if targetPlayer == nil { + logger.LOG.Error("agree friend apply target player is nil, userId: %v", userId) + return + } + targetPlayer.FriendList[player.PlayerID] = true + } + delete(player.FriendApplyList, targetUid) + + // PacketDealAddFriendRsp + dealAddFriendRsp := new(proto.DealAddFriendRsp) + dealAddFriendRsp.TargetUid = targetUid + dealAddFriendRsp.DealAddFriendResult = result + g.SendMsg(proto.ApiDealAddFriendRsp, userId, player.ClientSeq, dealAddFriendRsp) +} + +func (g *GameManager) GetOnlinePlayerListReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user get online player list, user id: %v", userId) + + count := 0 + onlinePlayerList := make([]*model.Player, 0) + for _, onlinePlayer := range g.userManager.GetAllOnlineUserList() { + if onlinePlayer.PlayerID == player.PlayerID { + continue + } + onlinePlayerList = append(onlinePlayerList, onlinePlayer) + count++ + if count >= 50 { + break + } + } + + // PacketGetOnlinePlayerListRsp + getOnlinePlayerListRsp := new(proto.GetOnlinePlayerListRsp) + getOnlinePlayerListRsp.PlayerInfoList = make([]*proto.OnlinePlayerInfo, 0) + for _, onlinePlayer := range onlinePlayerList { + onlinePlayerInfo := g.PacketOnlinePlayerInfo(onlinePlayer) + getOnlinePlayerListRsp.PlayerInfoList = append(getOnlinePlayerListRsp.PlayerInfoList, onlinePlayerInfo) + } + g.SendMsg(proto.ApiGetOnlinePlayerListRsp, userId, player.ClientSeq, getOnlinePlayerListRsp) +} + +func (g *GameManager) PacketOnlinePlayerInfo(player *model.Player) *proto.OnlinePlayerInfo { + onlinePlayerInfo := &proto.OnlinePlayerInfo{ + Uid: player.PlayerID, + Nickname: player.NickName, + PlayerLevel: player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_LEVEL], + MpSettingType: proto.MpSettingType(player.PropertiesMap[constant.PlayerPropertyConst.PROP_PLAYER_MP_SETTING_TYPE]), + NameCardId: player.NameCard, + Signature: player.Signature, + ProfilePicture: &proto.ProfilePicture{AvatarId: player.HeadImage}, + CurPlayerNumInWorld: 1, + } + world := g.worldManager.GetWorldByID(player.WorldId) + if world != nil && world.playerMap != nil { + onlinePlayerInfo.CurPlayerNumInWorld = uint32(len(world.playerMap)) + } + return onlinePlayerInfo +} diff --git a/service/game-hk4e/game/user_team.go b/service/game-hk4e/game/user_team.go new file mode 100644 index 00000000..6e30f1ea --- /dev/null +++ b/service/game-hk4e/game/user_team.go @@ -0,0 +1,347 @@ +package game + +import ( + "flswld.com/common/utils/endec" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" +) + +func (g *GameManager) ChangeAvatarReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change avatar, user id: %v", userId) + req := payloadMsg.(*proto.ChangeAvatarReq) + targetAvatarGuid := req.Guid + + world := g.worldManager.GetWorldByID(player.WorldId) + scene := world.GetSceneById(player.SceneId) + playerTeamEntity := scene.GetPlayerTeamEntity(player.PlayerID) + + oldAvatarId := player.TeamConfig.GetActiveAvatarId() + oldAvatar := player.AvatarMap[oldAvatarId] + if oldAvatar.Guid == targetAvatarGuid { + logger.LOG.Error("can not change to the same avatar, user id: %v, oldAvatarId: %v, oldAvatarGuid: %v", userId, oldAvatarId, oldAvatar.Guid) + return + } + activeTeam := player.TeamConfig.GetActiveTeam() + index := -1 + for avatarIndex, avatarId := range activeTeam.AvatarIdList { + if avatarId == 0 { + break + } + if targetAvatarGuid == player.AvatarMap[avatarId].Guid { + index = avatarIndex + } + } + if index == -1 { + logger.LOG.Error("can not find the target avatar in team, user id: %v, target avatar guid: %v", userId, targetAvatarGuid) + return + } + player.TeamConfig.CurrAvatarIndex = uint8(index) + + entity := scene.GetEntity(playerTeamEntity.avatarEntityMap[oldAvatarId]) + if entity == nil { + return + } + entity.moveState = uint16(proto.MotionState_MOTION_STATE_STANDBY) + + // PacketSceneEntityDisappearNotify + sceneEntityDisappearNotify := new(proto.SceneEntityDisappearNotify) + sceneEntityDisappearNotify.DisappearType = proto.VisionType_VISION_TYPE_REPLACE + sceneEntityDisappearNotify.EntityList = []uint32{playerTeamEntity.avatarEntityMap[oldAvatarId]} + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiSceneEntityDisappearNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, sceneEntityDisappearNotify) + } + + // PacketSceneEntityAppearNotify + sceneEntityAppearNotify := new(proto.SceneEntityAppearNotify) + sceneEntityAppearNotify.AppearType = proto.VisionType_VISION_TYPE_REPLACE + sceneEntityAppearNotify.Param = playerTeamEntity.avatarEntityMap[oldAvatarId] + sceneEntityAppearNotify.EntityList = []*proto.SceneEntityInfo{g.PacketSceneEntityInfoAvatar(scene, player, player.TeamConfig.GetActiveAvatarId())} + for _, scenePlayer := range scene.playerMap { + g.SendMsg(proto.ApiSceneEntityAppearNotify, scenePlayer.PlayerID, scenePlayer.ClientSeq, sceneEntityAppearNotify) + } + + // PacketChangeAvatarRsp + changeAvatarRsp := new(proto.ChangeAvatarRsp) + changeAvatarRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SUCC) + changeAvatarRsp.CurGuid = targetAvatarGuid + g.SendMsg(proto.ApiChangeAvatarRsp, userId, player.ClientSeq, changeAvatarRsp) +} + +func (g *GameManager) SetUpAvatarTeamReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change team, user id: %v", userId) + req := payloadMsg.(*proto.SetUpAvatarTeamReq) + + teamId := req.TeamId + if teamId <= 0 || teamId >= 5 { + // PacketSetUpAvatarTeamRsp + setUpAvatarTeamRsp := new(proto.SetUpAvatarTeamRsp) + setUpAvatarTeamRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SVR_ERROR) + g.SendMsg(proto.ApiSetUpAvatarTeamRsp, userId, player.ClientSeq, setUpAvatarTeamRsp) + return + } + avatarGuidList := req.AvatarTeamGuidList + world := g.worldManager.GetWorldByID(player.WorldId) + multiTeam := teamId == 4 + selfTeam := teamId == uint32(player.TeamConfig.GetActiveTeamId()) + if (multiTeam && len(avatarGuidList) == 0) || (selfTeam && len(avatarGuidList) == 0) || len(avatarGuidList) > 4 || world.multiplayer { + // PacketSetUpAvatarTeamRsp + setUpAvatarTeamRsp := new(proto.SetUpAvatarTeamRsp) + setUpAvatarTeamRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SVR_ERROR) + g.SendMsg(proto.ApiSetUpAvatarTeamRsp, userId, player.ClientSeq, setUpAvatarTeamRsp) + return + } + avatarIdList := make([]uint32, 0) + for _, avatarGuid := range avatarGuidList { + for avatarId, avatar := range player.AvatarMap { + if avatarGuid == avatar.Guid { + avatarIdList = append(avatarIdList, avatarId) + } + } + } + player.TeamConfig.ClearTeamAvatar(uint8(teamId - 1)) + for _, avatarId := range avatarIdList { + player.TeamConfig.AddAvatarToTeam(avatarId, uint8(teamId-1)) + } + + if world.multiplayer { + // PacketSetUpAvatarTeamRsp + setUpAvatarTeamRsp := new(proto.SetUpAvatarTeamRsp) + setUpAvatarTeamRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SVR_ERROR) + g.SendMsg(proto.ApiSetUpAvatarTeamRsp, userId, player.ClientSeq, setUpAvatarTeamRsp) + return + } + + // PacketAvatarTeamUpdateNotify + avatarTeamUpdateNotify := new(proto.AvatarTeamUpdateNotify) + avatarTeamUpdateNotify.AvatarTeamMap = make(map[uint32]*proto.AvatarTeam) + for teamIndex, team := range player.TeamConfig.TeamList { + avatarTeam := new(proto.AvatarTeam) + avatarTeam.TeamName = team.Name + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + avatarTeam.AvatarGuidList = append(avatarTeam.AvatarGuidList, player.AvatarMap[avatarId].Guid) + } + avatarTeamUpdateNotify.AvatarTeamMap[uint32(teamIndex)+1] = avatarTeam + } + g.SendMsg(proto.ApiAvatarTeamUpdateNotify, userId, player.ClientSeq, avatarTeamUpdateNotify) + + if selfTeam { + player.TeamConfig.CurrAvatarIndex = 0 + player.TeamConfig.UpdateTeam() + scene := world.GetSceneById(player.SceneId) + scene.UpdatePlayerTeamEntity(player) + + // PacketSceneTeamUpdateNotify + sceneTeamUpdateNotify := g.PacketSceneTeamUpdateNotify(world) + g.SendMsg(proto.ApiSceneTeamUpdateNotify, userId, player.ClientSeq, sceneTeamUpdateNotify) + + // PacketSetUpAvatarTeamRsp + setUpAvatarTeamRsp := new(proto.SetUpAvatarTeamRsp) + setUpAvatarTeamRsp.TeamId = teamId + setUpAvatarTeamRsp.CurAvatarGuid = player.AvatarMap[player.TeamConfig.GetActiveAvatarId()].Guid + team := player.TeamConfig.GetTeamByIndex(uint8(teamId - 1)) + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + setUpAvatarTeamRsp.AvatarTeamGuidList = append(setUpAvatarTeamRsp.AvatarTeamGuidList, player.AvatarMap[avatarId].Guid) + } + g.SendMsg(proto.ApiSetUpAvatarTeamRsp, userId, player.ClientSeq, setUpAvatarTeamRsp) + } else { + // PacketSetUpAvatarTeamRsp + setUpAvatarTeamRsp := new(proto.SetUpAvatarTeamRsp) + setUpAvatarTeamRsp.TeamId = teamId + setUpAvatarTeamRsp.CurAvatarGuid = player.AvatarMap[player.TeamConfig.GetActiveAvatarId()].Guid + team := player.TeamConfig.GetTeamByIndex(uint8(teamId - 1)) + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + setUpAvatarTeamRsp.AvatarTeamGuidList = append(setUpAvatarTeamRsp.AvatarTeamGuidList, player.AvatarMap[avatarId].Guid) + } + g.SendMsg(proto.ApiSetUpAvatarTeamRsp, userId, player.ClientSeq, setUpAvatarTeamRsp) + } +} + +func (g *GameManager) ChooseCurAvatarTeamReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user switch team, user id: %v", userId) + req := payloadMsg.(*proto.ChooseCurAvatarTeamReq) + teamId := req.TeamId + world := g.worldManager.GetWorldByID(player.WorldId) + if world.multiplayer { + return + } + team := player.TeamConfig.GetTeamByIndex(uint8(teamId) - 1) + if team == nil || len(team.AvatarIdList) == 0 { + return + } + player.TeamConfig.CurrTeamIndex = uint8(teamId) - 1 + player.TeamConfig.CurrAvatarIndex = 0 + player.TeamConfig.UpdateTeam() + scene := world.GetSceneById(player.SceneId) + scene.UpdatePlayerTeamEntity(player) + + // PacketSceneTeamUpdateNotify + sceneTeamUpdateNotify := g.PacketSceneTeamUpdateNotify(world) + g.SendMsg(proto.ApiSceneTeamUpdateNotify, userId, player.ClientSeq, sceneTeamUpdateNotify) + + // PacketChooseCurAvatarTeamRsp + chooseCurAvatarTeamRsp := new(proto.ChooseCurAvatarTeamRsp) + chooseCurAvatarTeamRsp.CurTeamId = teamId + g.SendMsg(proto.ApiChooseCurAvatarTeamRsp, userId, player.ClientSeq, chooseCurAvatarTeamRsp) +} + +func (g *GameManager) ChangeMpTeamAvatarReq(userId uint32, player *model.Player, clientSeq uint32, payloadMsg pb.Message) { + logger.LOG.Debug("user change mp team, user id: %v", userId) + req := payloadMsg.(*proto.ChangeMpTeamAvatarReq) + avatarGuidList := req.AvatarGuidList + + world := g.worldManager.GetWorldByID(player.WorldId) + if len(avatarGuidList) == 0 || len(avatarGuidList) > 4 || !world.multiplayer { + // PacketChangeMpTeamAvatarRsp + changeMpTeamAvatarRsp := new(proto.ChangeMpTeamAvatarRsp) + changeMpTeamAvatarRsp.Retcode = int32(proto.Retcode_RETCODE_RET_SVR_ERROR) + g.SendMsg(proto.ApiChangeMpTeamAvatarRsp, userId, player.ClientSeq, changeMpTeamAvatarRsp) + return + } + avatarIdList := make([]uint32, 0) + for _, avatarGuid := range avatarGuidList { + for avatarId, avatar := range player.AvatarMap { + if avatarGuid == avatar.Guid { + avatarIdList = append(avatarIdList, avatarId) + } + } + } + player.TeamConfig.ClearTeamAvatar(3) + for _, avatarId := range avatarIdList { + player.TeamConfig.AddAvatarToTeam(avatarId, 3) + } + player.TeamConfig.CurrAvatarIndex = 0 + player.TeamConfig.UpdateTeam() + scene := world.GetSceneById(player.SceneId) + scene.UpdatePlayerTeamEntity(player) + + for _, worldPlayer := range world.playerMap { + // PacketSceneTeamUpdateNotify + sceneTeamUpdateNotify := g.PacketSceneTeamUpdateNotify(world) + g.SendMsg(proto.ApiSceneTeamUpdateNotify, worldPlayer.PlayerID, worldPlayer.ClientSeq, sceneTeamUpdateNotify) + } + + // PacketChangeMpTeamAvatarRsp + changeMpTeamAvatarRsp := new(proto.ChangeMpTeamAvatarRsp) + changeMpTeamAvatarRsp.CurAvatarGuid = player.AvatarMap[player.TeamConfig.GetActiveAvatarId()].Guid + team := player.TeamConfig.GetTeamByIndex(3) + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + changeMpTeamAvatarRsp.AvatarGuidList = append(changeMpTeamAvatarRsp.AvatarGuidList, player.AvatarMap[avatarId].Guid) + } + g.SendMsg(proto.ApiChangeMpTeamAvatarRsp, userId, player.ClientSeq, changeMpTeamAvatarRsp) +} + +func (g *GameManager) PacketSceneTeamUpdateNotify(world *World) *proto.SceneTeamUpdateNotify { + sceneTeamUpdateNotify := new(proto.SceneTeamUpdateNotify) + sceneTeamUpdateNotify.IsInMp = world.multiplayer + empty := new(proto.AbilitySyncStateInfo) + for _, worldPlayer := range world.playerMap { + worldPlayerScene := world.GetSceneById(worldPlayer.SceneId) + worldPlayerTeamEntity := worldPlayerScene.GetPlayerTeamEntity(worldPlayer.PlayerID) + team := worldPlayer.TeamConfig.GetActiveTeam() + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + worldPlayerAvatar := worldPlayer.AvatarMap[avatarId] + equipIdList := make([]uint32, 0) + weapon := worldPlayerAvatar.EquipWeapon + equipIdList = append(equipIdList, weapon.ItemId) + for _, reliquary := range worldPlayerAvatar.EquipReliquaryList { + equipIdList = append(equipIdList, reliquary.ItemId) + } + sceneTeamAvatar := &proto.SceneTeamAvatar{ + PlayerUid: worldPlayer.PlayerID, + AvatarGuid: worldPlayerAvatar.Guid, + SceneId: worldPlayer.SceneId, + EntityId: worldPlayerTeamEntity.avatarEntityMap[avatarId], + SceneEntityInfo: g.PacketSceneEntityInfoAvatar(worldPlayerScene, worldPlayer, avatarId), + WeaponGuid: worldPlayerAvatar.EquipWeapon.Guid, + WeaponEntityId: worldPlayerTeamEntity.weaponEntityMap[worldPlayerAvatar.EquipWeapon.WeaponId], + IsPlayerCurAvatar: worldPlayer.TeamConfig.GetActiveAvatarId() == avatarId, + IsOnScene: worldPlayer.TeamConfig.GetActiveAvatarId() == avatarId, + AvatarAbilityInfo: empty, + WeaponAbilityInfo: empty, + AbilityControlBlock: new(proto.AbilityControlBlock), + } + if world.multiplayer { + sceneTeamAvatar.AvatarInfo = g.PacketAvatarInfo(worldPlayerAvatar) + sceneTeamAvatar.SceneAvatarInfo = g.PacketSceneAvatarInfo(worldPlayerScene, worldPlayer, avatarId) + } + // add AbilityControlBlock + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(avatarId)] + acb := sceneTeamAvatar.AbilityControlBlock + embryoId := 0 + // add avatar abilities + for _, abilityId := range avatarDataConfig.Abilities { + embryoId++ + emb := &proto.AbilityEmbryo{ + AbilityId: uint32(embryoId), + AbilityNameHash: uint32(abilityId), + AbilityOverrideNameHash: uint32(constant.GameConstantConst.DEFAULT_ABILITY_NAME), + } + acb.AbilityEmbryoList = append(acb.AbilityEmbryoList, emb) + } + // add default abilities + for _, abilityId := range constant.GameConstantConst.DEFAULT_ABILITY_HASHES { + embryoId++ + emb := &proto.AbilityEmbryo{ + AbilityId: uint32(embryoId), + AbilityNameHash: uint32(abilityId), + AbilityOverrideNameHash: uint32(constant.GameConstantConst.DEFAULT_ABILITY_NAME), + } + acb.AbilityEmbryoList = append(acb.AbilityEmbryoList, emb) + } + // add team resonances + for id := range worldPlayer.TeamConfig.TeamResonancesConfig { + embryoId++ + emb := &proto.AbilityEmbryo{ + AbilityId: uint32(embryoId), + AbilityNameHash: uint32(id), + AbilityOverrideNameHash: uint32(constant.GameConstantConst.DEFAULT_ABILITY_NAME), + } + acb.AbilityEmbryoList = append(acb.AbilityEmbryoList, emb) + } + // add skill depot abilities + skillDepot := gdc.CONF.AvatarSkillDepotDataMap[int32(worldPlayerAvatar.SkillDepotId)] + if skillDepot != nil && len(skillDepot.Abilities) != 0 { + for _, id := range skillDepot.Abilities { + embryoId++ + emb := &proto.AbilityEmbryo{ + AbilityId: uint32(embryoId), + AbilityNameHash: uint32(id), + AbilityOverrideNameHash: uint32(constant.GameConstantConst.DEFAULT_ABILITY_NAME), + } + acb.AbilityEmbryoList = append(acb.AbilityEmbryoList, emb) + } + } + // add equip abilities + for skill := range worldPlayerAvatar.ExtraAbilityEmbryos { + embryoId++ + emb := &proto.AbilityEmbryo{ + AbilityId: uint32(embryoId), + AbilityNameHash: uint32(endec.Hk4eAbilityHashCode(skill)), + AbilityOverrideNameHash: uint32(constant.GameConstantConst.DEFAULT_ABILITY_NAME), + } + acb.AbilityEmbryoList = append(acb.AbilityEmbryoList, emb) + } + sceneTeamUpdateNotify.SceneTeamAvatarList = append(sceneTeamUpdateNotify.SceneTeamAvatarList, sceneTeamAvatar) + } + } + return sceneTeamUpdateNotify +} diff --git a/service/game-hk4e/game/user_weapon.go b/service/game-hk4e/game/user_weapon.go new file mode 100644 index 00000000..325e465f --- /dev/null +++ b/service/game-hk4e/game/user_weapon.go @@ -0,0 +1,77 @@ +package game + +import ( + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" +) + +func (g *GameManager) GetAllWeaponDataConfig() map[int32]*gdc.ItemData { + allWeaponDataConfig := make(map[int32]*gdc.ItemData) + for itemId, itemData := range gdc.CONF.ItemDataMap { + if itemData.EquipEnumType != constant.EquipTypeConst.EQUIP_WEAPON { + continue + } + if (itemId >= 10000 && itemId <= 10008) || + itemId == 11411 || + (itemId >= 11506 && itemId <= 11508) || + itemId == 12505 || + itemId == 12506 || + itemId == 12508 || + itemId == 12509 || + itemId == 13503 || + itemId == 13506 || + itemId == 14411 || + itemId == 14503 || + itemId == 14505 || + itemId == 14508 || + (itemId >= 15504 && itemId <= 15506) || + itemId == 20001 || itemId == 15306 || itemId == 14306 || itemId == 13304 || itemId == 12304 { + // 跳过无效武器 + continue + } + allWeaponDataConfig[itemId] = itemData + } + return allWeaponDataConfig +} + +func (g *GameManager) AddUserWeapon(userId uint32, itemId uint32) uint64 { + player := g.userManager.GetOnlineUser(userId) + if player == nil { + logger.LOG.Error("player is nil, userId: %v", userId) + return 0 + } + weaponId := uint64(g.snowflake.GenId()) + player.AddWeapon(itemId, weaponId) + weapon := player.GetWeapon(weaponId) + + // PacketStoreItemChangeNotify + storeItemChangeNotify := new(proto.StoreItemChangeNotify) + storeItemChangeNotify.StoreType = proto.StoreType_STORE_TYPE_PACK + affixMap := make(map[uint32]uint32) + for _, affixId := range weapon.AffixIdList { + affixMap[affixId] = uint32(weapon.Refinement) + } + pbItem := &proto.Item{ + ItemId: itemId, + Guid: player.GetWeaponGuid(weaponId), + Detail: &proto.Item_Equip{ + Equip: &proto.Equip{ + Detail: &proto.Equip_Weapon{ + Weapon: &proto.Weapon{ + Level: uint32(weapon.Level), + Exp: weapon.Exp, + PromoteLevel: uint32(weapon.Promote), + // key:武器效果id value:精炼等阶 + AffixMap: affixMap, + }, + }, + IsLocked: weapon.Lock, + }, + }, + } + storeItemChangeNotify.ItemList = append(storeItemChangeNotify.ItemList, pbItem) + g.SendMsg(proto.ApiStoreItemChangeNotify, userId, player.ClientSeq, storeItemChangeNotify) + return weaponId +} diff --git a/service/game-hk4e/game/world_manager.go b/service/game-hk4e/game/world_manager.go new file mode 100644 index 00000000..646f1a8c --- /dev/null +++ b/service/game-hk4e/game/world_manager.go @@ -0,0 +1,620 @@ +package game + +import ( + "bytes" + "encoding/gob" + "flswld.com/common/utils/alg" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + gdc "game-hk4e/config" + "game-hk4e/constant" + "game-hk4e/game/aoi" + "game-hk4e/model" + pb "google.golang.org/protobuf/proto" + "math" + "time" + "unsafe" +) + +// 世界管理器 + +type MeshMapPos struct { + X int16 + Y int16 + Z int16 +} + +type WorldStatic struct { + // x y z -> if terrain exist + terrain map[MeshMapPos]bool + // x y z -> gather id + gather map[MeshMapPos]uint32 + pathfindingStartPos MeshMapPos + pathfindingEndPos MeshMapPos + pathVectorList []MeshMapPos + aiMoveMeshSpeedParam int + aiMoveVectorList []*model.Vector + aiMoveCurrIndex int +} + +func NewWorldStatic() (r *WorldStatic) { + r = new(WorldStatic) + r.terrain = make(map[MeshMapPos]bool) + r.gather = make(map[MeshMapPos]uint32) + r.InitGather() + r.pathfindingStartPos = MeshMapPos{ + X: 2747, + Y: 194, + Z: -1719, + } + r.pathfindingEndPos = MeshMapPos{ + X: 2588, + Y: 211, + Z: -1349, + } + r.pathVectorList = make([]MeshMapPos, 0) + r.aiMoveMeshSpeedParam = 3 + r.aiMoveVectorList = make([]*model.Vector, 0) + r.aiMoveCurrIndex = 0 + return r +} + +func (w *WorldStatic) ConvWSTMapToPFMap() map[alg.MeshMapPos]bool { + return *(*map[alg.MeshMapPos]bool)(unsafe.Pointer(&w.terrain)) +} + +func (w *WorldStatic) ConvWSPosToPFPos(v MeshMapPos) alg.MeshMapPos { + return alg.MeshMapPos(v) +} + +func (w *WorldStatic) ConvPFPVLToWSPVL(v []alg.MeshMapPos) []MeshMapPos { + return *(*[]MeshMapPos)(unsafe.Pointer(&v)) +} + +func (w *WorldStatic) Pathfinding() { + bfs := alg.NewBFS() + bfs.InitMap( + w.ConvWSTMapToPFMap(), + w.ConvWSPosToPFPos(w.pathfindingStartPos), + w.ConvWSPosToPFPos(w.pathfindingEndPos), + 100, + ) + pathVectorList := bfs.Pathfinding() + if pathVectorList == nil { + logger.LOG.Error("could not find path") + return + } + logger.LOG.Debug("find path success, path: %v", pathVectorList) + w.pathVectorList = w.ConvPFPVLToWSPVL(pathVectorList) +} + +func (w *WorldStatic) ConvPathVectorListToAiMoveVectorList() { + for index, currPathVector := range w.pathVectorList { + if index > 0 { + lastPathVector := w.pathVectorList[index-1] + for i := 0; i < w.aiMoveMeshSpeedParam; i++ { + w.aiMoveVectorList = append(w.aiMoveVectorList, &model.Vector{ + X: float64(lastPathVector.X) + float64(currPathVector.X-lastPathVector.X)/float64(w.aiMoveMeshSpeedParam)*float64(i), + Y: float64(lastPathVector.Y) + float64(currPathVector.Y-lastPathVector.Y)/float64(w.aiMoveMeshSpeedParam)*float64(i), + Z: float64(lastPathVector.Z) + float64(currPathVector.Z-lastPathVector.Z)/float64(w.aiMoveMeshSpeedParam)*float64(i), + }) + } + } + } +} + +func (w *WorldStatic) InitTerrain() bool { + data := gdc.CONF.ReadWorldTerrain() + decoder := gob.NewDecoder(bytes.NewReader(data)) + err := decoder.Decode(&w.terrain) + if err != nil { + logger.LOG.Error("unmarshal world terrain data error: %v", err) + return false + } + return true +} + +func (w *WorldStatic) SaveTerrain() bool { + var buffer bytes.Buffer + encoder := gob.NewEncoder(&buffer) + err := encoder.Encode(w.terrain) + if err != nil { + logger.LOG.Error("marshal world terrain data error: %v", err) + return false + } + gdc.CONF.WriteWorldTerrain(buffer.Bytes()) + return true +} + +func (w *WorldStatic) GetTerrain(x int16, y int16, z int16) (exist bool) { + pos := MeshMapPos{ + X: x, + Y: y, + Z: z, + } + exist = w.terrain[pos] + return exist +} + +func (w *WorldStatic) SetTerrain(x int16, y int16, z int16) { + pos := MeshMapPos{ + X: x, + Y: y, + Z: z, + } + w.terrain[pos] = true +} + +func (w *WorldStatic) InitGather() { +} + +func (w *WorldStatic) GetGather(x int16, y int16, z int16) (gatherId uint32, exist bool) { + pos := MeshMapPos{ + X: x, + Y: y, + Z: z, + } + gatherId, exist = w.gather[pos] + return gatherId, exist +} + +func (w *WorldStatic) SetGather(x int16, y int16, z int16, gatherId uint32) { + pos := MeshMapPos{ + X: x, + Y: y, + Z: z, + } + w.gather[pos] = gatherId +} + +type WorldManager struct { + worldMap map[uint32]*World + snowflake *alg.SnowflakeWorker + worldStatic *WorldStatic + bigWorld *World +} + +func NewWorldManager(snowflake *alg.SnowflakeWorker) (r *WorldManager) { + r = new(WorldManager) + r.worldMap = make(map[uint32]*World) + r.snowflake = snowflake + r.worldStatic = NewWorldStatic() + return r +} + +func (w *WorldManager) GetWorldByID(worldId uint32) *World { + return w.worldMap[worldId] +} + +func (w *WorldManager) GetWorldMap() map[uint32]*World { + return w.worldMap +} + +func (w *WorldManager) CreateWorld(owner *model.Player, multiplayer bool) *World { + worldId := uint32(w.snowflake.GenId()) + world := &World{ + id: worldId, + owner: owner, + playerMap: make(map[uint32]*model.Player), + sceneMap: make(map[uint32]*Scene), + entityIdCounter: 0, + worldLevel: 0, + multiplayer: multiplayer, + mpLevelEntityId: 0, + chatMsgList: make([]*proto.ChatInfo, 0), + // aoi划分 + aoiManager: aoi.NewAoiManager( + -8000, 4000, 120, + -2000, 2000, 80, + -5500, 6500, 120, + ), + } + if world.IsBigWorld() { + world.aoiManager = aoi.NewAoiManager( + -8000, 4000, 800, + -2000, 2000, 80, + -5500, 6500, 800, + ) + } + world.mpLevelEntityId = world.GetNextWorldEntityId(constant.EntityIdTypeConst.MPLEVEL) + w.worldMap[worldId] = world + return world +} + +func (w *WorldManager) DestroyWorld(worldId uint32) { + world := w.GetWorldByID(worldId) + for _, player := range world.playerMap { + world.RemovePlayer(player) + player.WorldId = 0 + } + delete(w.worldMap, worldId) +} + +func (w *WorldManager) GetBigWorld() *World { + return w.bigWorld +} + +func (w *WorldManager) InitBigWorld(owner *model.Player) { + w.bigWorld = w.GetWorldByID(owner.WorldId) + w.bigWorld.multiplayer = true +} + +type World struct { + id uint32 + owner *model.Player + playerMap map[uint32]*model.Player + sceneMap map[uint32]*Scene + entityIdCounter uint32 + worldLevel uint8 + multiplayer bool + mpLevelEntityId uint32 + chatMsgList []*proto.ChatInfo + aoiManager *aoi.AoiManager // 当前世界地图的aoi管理器 +} + +func (w *World) GetNextWorldEntityId(entityType uint16) uint32 { + w.entityIdCounter++ + ret := (uint32(entityType) << 24) + w.entityIdCounter + return ret +} + +func (w *World) AddPlayer(player *model.Player, sceneId uint32) { + player.PeerId = uint32(len(w.playerMap) + 1) + w.playerMap[player.PlayerID] = player + scene := w.GetSceneById(sceneId) + scene.AddPlayer(player) +} + +func (w *World) RemovePlayer(player *model.Player) { + scene := w.sceneMap[player.SceneId] + scene.RemovePlayer(player) + delete(w.playerMap, player.PlayerID) +} + +func (w *World) CreateScene(sceneId uint32) *Scene { + scene := &Scene{ + id: sceneId, + world: w, + playerMap: make(map[uint32]*model.Player), + entityMap: make(map[uint32]*Entity), + playerTeamEntityMap: make(map[uint32]*PlayerTeamEntity), + gameTime: 18 * 60, + attackQueue: alg.NewRAQueue[*Attack](1000), + createTime: time.Now().UnixMilli(), + } + w.sceneMap[sceneId] = scene + return scene +} + +func (w *World) GetSceneById(sceneId uint32) *Scene { + scene, exist := w.sceneMap[sceneId] + if !exist { + scene = w.CreateScene(sceneId) + } + return scene +} + +func (w *World) AddChat(chatInfo *proto.ChatInfo) { + w.chatMsgList = append(w.chatMsgList, chatInfo) +} + +func (w *World) GetChatList() []*proto.ChatInfo { + return w.chatMsgList +} + +func (w *World) IsBigWorld() bool { + return w.owner.PlayerID == 1 +} + +type Scene struct { + id uint32 + world *World + playerMap map[uint32]*model.Player + entityMap map[uint32]*Entity + playerTeamEntityMap map[uint32]*PlayerTeamEntity + gameTime uint32 + attackQueue *alg.RAQueue[*Attack] + createTime int64 +} + +type AvatarEntity struct { + uid uint32 + avatarId uint32 +} + +type MonsterEntity struct { +} + +type GadgetEntity struct { + gatherId uint32 +} + +type Entity struct { + id uint32 + scene *Scene + pos *model.Vector + rot *model.Vector + moveState uint16 + lastMoveSceneTimeMs uint32 + lastMoveReliableSeq uint32 + fightProp map[uint32]float32 + entityType uint32 + level uint8 + avatarEntity *AvatarEntity + monsterEntity *MonsterEntity + gadgetEntity *GadgetEntity +} + +type PlayerTeamEntity struct { + teamEntityId uint32 + avatarEntityMap map[uint32]uint32 + weaponEntityMap map[uint64]uint32 +} + +type Attack struct { + combatInvokeEntry *proto.CombatInvokeEntry + uid uint32 +} + +func (s *Scene) ChangeGameTime(time uint32) { + s.gameTime = time % 1440 +} + +func (s *Scene) GetSceneTime() int64 { + now := time.Now().UnixMilli() + return now - s.createTime +} + +func (s *Scene) GetPlayerTeamEntity(userId uint32) *PlayerTeamEntity { + return s.playerTeamEntityMap[userId] +} + +func (s *Scene) CreatePlayerTeamEntity(player *model.Player) { + playerTeamEntity := &PlayerTeamEntity{ + teamEntityId: s.world.GetNextWorldEntityId(constant.EntityIdTypeConst.TEAM), + avatarEntityMap: make(map[uint32]uint32), + weaponEntityMap: make(map[uint64]uint32), + } + s.playerTeamEntityMap[player.PlayerID] = playerTeamEntity +} + +func (s *Scene) UpdatePlayerTeamEntity(player *model.Player) { + team := player.TeamConfig.GetActiveTeam() + playerTeamEntity := s.playerTeamEntityMap[player.PlayerID] + for _, avatarId := range team.AvatarIdList { + if avatarId == 0 { + break + } + avatar := player.AvatarMap[avatarId] + avatarEntityId, exist := playerTeamEntity.avatarEntityMap[avatarId] + if exist { + s.DestroyEntity(avatarEntityId) + } + playerTeamEntity.avatarEntityMap[avatarId] = s.CreateEntityAvatar(player, avatarId) + weaponEntityId, exist := playerTeamEntity.weaponEntityMap[avatar.EquipWeapon.WeaponId] + if exist { + s.DestroyEntity(weaponEntityId) + } + playerTeamEntity.weaponEntityMap[avatar.EquipWeapon.WeaponId] = s.CreateEntityWeapon() + } +} + +func (s *Scene) AddPlayer(player *model.Player) { + s.playerMap[player.PlayerID] = player + s.CreatePlayerTeamEntity(player) + s.UpdatePlayerTeamEntity(player) +} + +func (s *Scene) RemovePlayer(player *model.Player) { + playerTeamEntity := s.GetPlayerTeamEntity(player.PlayerID) + for _, avatarEntityId := range playerTeamEntity.avatarEntityMap { + s.DestroyEntity(avatarEntityId) + } + for _, weaponEntityId := range playerTeamEntity.weaponEntityMap { + s.DestroyEntity(weaponEntityId) + } + delete(s.playerTeamEntityMap, player.PlayerID) + delete(s.playerMap, player.PlayerID) +} + +func (s *Scene) CreateEntityAvatar(player *model.Player, avatarId uint32) uint32 { + entityId := s.world.GetNextWorldEntityId(constant.EntityIdTypeConst.AVATAR) + entity := &Entity{ + id: entityId, + scene: s, + pos: player.Pos, + rot: player.Rot, + moveState: uint16(proto.MotionState_MOTION_STATE_NONE), + lastMoveSceneTimeMs: 0, + lastMoveReliableSeq: 0, + fightProp: player.AvatarMap[avatarId].FightPropMap, + entityType: uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_AVATAR), + level: player.AvatarMap[avatarId].Level, + avatarEntity: &AvatarEntity{ + uid: player.PlayerID, + avatarId: avatarId, + }, + } + s.entityMap[entity.id] = entity + if avatarId == player.TeamConfig.GetActiveAvatarId() { + s.world.aoiManager.AddEntityIdToGridByPos(entity.id, float32(entity.pos.X), float32(entity.pos.Y), float32(entity.pos.Z)) + } + return entity.id +} + +func (s *Scene) CreateEntityWeapon() uint32 { + entityId := s.world.GetNextWorldEntityId(constant.EntityIdTypeConst.WEAPON) + entity := &Entity{ + id: entityId, + scene: s, + pos: new(model.Vector), + rot: new(model.Vector), + moveState: uint16(proto.MotionState_MOTION_STATE_NONE), + lastMoveSceneTimeMs: 0, + lastMoveReliableSeq: 0, + fightProp: nil, + entityType: uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_WEAPON), + level: 0, + } + s.entityMap[entity.id] = entity + return entity.id +} + +func (s *Scene) CreateEntityMonster(pos *model.Vector, level uint8, fightProp map[uint32]float32) uint32 { + entityId := s.world.GetNextWorldEntityId(constant.EntityIdTypeConst.MONSTER) + entity := &Entity{ + id: entityId, + scene: s, + pos: pos, + rot: new(model.Vector), + moveState: uint16(proto.MotionState_MOTION_STATE_NONE), + lastMoveSceneTimeMs: 0, + lastMoveReliableSeq: 0, + fightProp: fightProp, + entityType: uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_MONSTER), + level: level, + } + s.entityMap[entity.id] = entity + s.world.aoiManager.AddEntityIdToGridByPos(entity.id, float32(entity.pos.X), float32(entity.pos.Y), float32(entity.pos.Z)) + return entity.id +} + +func (s *Scene) CreateEntityGadget(pos *model.Vector, gatherId uint32) uint32 { + entityId := s.world.GetNextWorldEntityId(constant.EntityIdTypeConst.GADGET) + entity := &Entity{ + id: entityId, + scene: s, + pos: pos, + rot: new(model.Vector), + moveState: uint16(proto.MotionState_MOTION_STATE_NONE), + lastMoveSceneTimeMs: 0, + lastMoveReliableSeq: 0, + fightProp: map[uint32]float32{ + uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP): math.MaxFloat32, + uint32(constant.FightPropertyConst.FIGHT_PROP_MAX_HP): math.MaxFloat32, + uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_HP): float32(1), + }, + entityType: uint32(proto.ProtEntityType_PROT_ENTITY_TYPE_GADGET), + level: 0, + gadgetEntity: &GadgetEntity{ + gatherId: gatherId, + }, + } + s.entityMap[entity.id] = entity + s.world.aoiManager.AddEntityIdToGridByPos(entity.id, float32(entity.pos.X), float32(entity.pos.Y), float32(entity.pos.Z)) + return entity.id +} + +func (s *Scene) DestroyEntity(entityId uint32) { + entity := s.GetEntity(entityId) + if entity == nil { + return + } + s.world.aoiManager.RemoveEntityIdFromGridByPos(entity.id, float32(entity.pos.X), float32(entity.pos.Y), float32(entity.pos.Z)) + delete(s.entityMap, entityId) +} + +func (s *Scene) GetEntity(entityId uint32) *Entity { + return s.entityMap[entityId] +} + +func (s *Scene) AddAttack(attack *Attack) { + s.attackQueue.EnQueue(attack) +} + +func (s *Scene) AttackHandler(gameManager *GameManager) { + combatInvokeEntryListAll := make([]*proto.CombatInvokeEntry, 0) + combatInvokeEntryListOther := make(map[uint32][]*proto.CombatInvokeEntry) + combatInvokeEntryListHost := make([]*proto.CombatInvokeEntry, 0) + + for s.attackQueue.Len() != 0 { + attack := s.attackQueue.DeQueue() + if attack.combatInvokeEntry == nil { + logger.LOG.Error("error attack data, attack value: %v", attack) + continue + } + + hitInfo := new(proto.EvtBeingHitInfo) + err := pb.Unmarshal(attack.combatInvokeEntry.CombatData, hitInfo) + if err != nil { + logger.LOG.Error("parse combat invocations entity hit info error: %v", err) + continue + } + + attackResult := hitInfo.AttackResult + //logger.LOG.Debug("run attack handler, attackResult: %v", attackResult) + target := s.entityMap[attackResult.DefenseId] + if target == nil { + logger.LOG.Error("could not found target, defense id: %v", attackResult.DefenseId) + continue + } + attackResult.Damage *= 100 + damage := attackResult.Damage + attackerId := attackResult.AttackerId + _ = attackerId + currHp := float32(0) + if target.fightProp != nil { + currHp = target.fightProp[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP)] + currHp -= damage + if currHp < 0 { + currHp = 0 + } + target.fightProp[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP)] = currHp + } + + // PacketEntityFightPropUpdateNotify + entityFightPropUpdateNotify := new(proto.EntityFightPropUpdateNotify) + entityFightPropUpdateNotify.EntityId = target.id + entityFightPropUpdateNotify.FightPropMap = make(map[uint32]float32) + entityFightPropUpdateNotify.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP)] = currHp + for _, player := range s.playerMap { + gameManager.SendMsg(proto.ApiEntityFightPropUpdateNotify, player.PlayerID, player.ClientSeq, entityFightPropUpdateNotify) + } + + combatData, err := pb.Marshal(hitInfo) + if err != nil { + logger.LOG.Error("create combat invocations entity hit info error: %v", err) + } + attack.combatInvokeEntry.CombatData = combatData + switch attack.combatInvokeEntry.ForwardType { + case proto.ForwardType_FORWARD_TYPE_TO_ALL: + combatInvokeEntryListAll = append(combatInvokeEntryListAll, attack.combatInvokeEntry) + case proto.ForwardType_FORWARD_TYPE_TO_ALL_EXCEPT_CUR: + fallthrough + case proto.ForwardType_FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR: + if combatInvokeEntryListOther[attack.uid] == nil { + combatInvokeEntryListOther[attack.uid] = make([]*proto.CombatInvokeEntry, 0) + } + combatInvokeEntryListOther[attack.uid] = append(combatInvokeEntryListOther[attack.uid], attack.combatInvokeEntry) + case proto.ForwardType_FORWARD_TYPE_TO_HOST: + combatInvokeEntryListHost = append(combatInvokeEntryListHost, attack.combatInvokeEntry) + default: + } + } + + // PacketCombatInvocationsNotify + if len(combatInvokeEntryListAll) > 0 { + combatInvocationsNotifyAll := new(proto.CombatInvocationsNotify) + combatInvocationsNotifyAll.InvokeList = combatInvokeEntryListAll + for _, player := range s.playerMap { + gameManager.SendMsg(proto.ApiCombatInvocationsNotify, player.PlayerID, player.ClientSeq, combatInvocationsNotifyAll) + } + } + if len(combatInvokeEntryListOther) > 0 { + for uid, list := range combatInvokeEntryListOther { + combatInvocationsNotifyOther := new(proto.CombatInvocationsNotify) + combatInvocationsNotifyOther.InvokeList = list + for _, player := range s.playerMap { + if player.PlayerID == uid { + continue + } + gameManager.SendMsg(proto.ApiCombatInvocationsNotify, player.PlayerID, player.ClientSeq, combatInvocationsNotifyOther) + } + } + } + if len(combatInvokeEntryListHost) > 0 { + combatInvocationsNotifyHost := new(proto.CombatInvocationsNotify) + combatInvocationsNotifyHost.InvokeList = combatInvokeEntryListHost + gameManager.SendMsg(proto.ApiCombatInvocationsNotify, s.world.owner.PlayerID, s.world.owner.ClientSeq, combatInvocationsNotifyHost) + } +} diff --git a/service/game-hk4e/go.mod b/service/game-hk4e/go.mod new file mode 100644 index 00000000..075065dd --- /dev/null +++ b/service/game-hk4e/go.mod @@ -0,0 +1,64 @@ +module game-hk4e + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../../light + +require flswld.com/gate-hk4e-api v0.0.0-incompatible + +replace flswld.com/gate-hk4e-api => ../../gate-hk4e-api + +// protobuf +require google.golang.org/protobuf v1.28.0 + +// mongodb +require go.mongodb.org/mongo-driver v1.8.3 + +// jwt +require github.com/golang-jwt/jwt/v4 v4.4.0 + +// csv +require github.com/jszwec/csvutil v1.7.1 + +// nats +require github.com/nats-io/nats.go v1.16.0 + +// msgpack +require github.com/vmihailenco/msgpack/v5 v5.3.5 + +// statsviz +require github.com/arl/statsviz v0.5.1 + +require ( + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/go-stack/stack v1.8.0 // indirect + github.com/golang/snappy v0.0.1 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/klauspost/compress v1.14.4 // indirect + github.com/nats-io/nats-server/v2 v2.8.4 // indirect + github.com/nats-io/nkeys v0.3.0 // indirect + github.com/nats-io/nuid v1.0.1 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/xdg-go/pbkdf2 v1.0.0 // indirect + github.com/xdg-go/scram v1.0.2 // indirect + github.com/xdg-go/stringprep v1.0.2 // indirect + github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect + golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect + golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect + golang.org/x/text v0.3.6 // indirect +) diff --git a/service/game-hk4e/go.sum b/service/game-hk4e/go.sum new file mode 100644 index 00000000..f8e85547 --- /dev/null +++ b/service/game-hk4e/go.sum @@ -0,0 +1,96 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/arl/statsviz v0.5.1 h1:3HY0ZEB738JtguWsD1Tf1pFJZiCcWUmYRq/3OTYKaSI= +github.com/arl/statsviz v0.5.1/go.mod h1:zDnjgRblGm1Dyd7J5YlbH7gM1/+HRC+SfkhZhQb5AnM= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/golang-jwt/jwt/v4 v4.4.0 h1:EmVIxB5jzbllGIjiCV5JG4VylbK3KE400tLGLI1cdfU= +github.com/golang-jwt/jwt/v4 v4.4.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/jszwec/csvutil v1.7.1 h1:btxPxFwms8lHMgl0OIgOQ4Tayfqo0xid0hGkq1kM510= +github.com/jszwec/csvutil v1.7.1/go.mod h1:Rpu7Uu9giO9subDyMCIQfHVDuLrcaC36UA4YcJjGBkg= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.14.4 h1:eijASRJcobkVtSt81Olfh7JX43osYLwy5krOJo6YEu4= +github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a h1:lem6QCvxR0Y28gth9P+wV2K/zYUUAkJ+55U8cpS0p5I= +github.com/nats-io/nats-server/v2 v2.8.4 h1:0jQzze1T9mECg8YZEl8+WYUXb9JKluJfCBriPUtluB4= +github.com/nats-io/nats-server/v2 v2.8.4/go.mod h1:8zZa+Al3WsESfmgSs98Fi06dRWLH5Bnq90m5bKD/eT4= +github.com/nats-io/nats.go v1.16.0 h1:zvLE7fGBQYW6MWaFaRdsgm9qT39PJDQoju+DS8KsO1g= +github.com/nats-io/nats.go v1.16.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= +github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= +github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= +github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2 h1:akYIkZ28e6A96dkWNJQu3nmCzH3YfwMPQExUYDaRv7w= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2 h1:6iq84/ryjjeRmMJwxutI51F2GIPlP5BfTvXHeYjyhBc= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d h1:splanxYIlg+5LfHAM6xpdFEAYOk8iySO56hMFq6uLyA= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= +go.mongodb.org/mongo-driver v1.8.3 h1:TDKlTkGDKm9kkJVUOAXDK5/fkqKHJVwYQSpoRfB43R4= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320 h1:0jf+tOCoZ3LyutmCOWpVni1chK4VfFLhRsDK7MhqGRY= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 h1:GZokNIeuVkl3aZHJchRrr13WCsols02MLUcz1U9is6M= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/service/game-hk4e/model/Item.go b/service/game-hk4e/model/Item.go new file mode 100644 index 00000000..d2df7703 --- /dev/null +++ b/service/game-hk4e/model/Item.go @@ -0,0 +1,111 @@ +package model + +import ( + "game-hk4e/constant" +) + +type Item struct { + ItemId uint32 `bson:"itemId"` // 道具id + Count uint32 `bson:"count"` // 道具数量 + Guid uint64 `bson:"-"` +} + +func (p *Player) InitAllItem() { + for itemId, item := range p.ItemMap { + item.Guid = p.GetNextGameObjectGuid() + p.ItemMap[itemId] = item + } +} + +func (p *Player) GetItemGuid(itemId uint32) uint64 { + itemInfo := p.ItemMap[itemId] + if itemInfo == nil { + return 0 + } + return itemInfo.Guid +} + +func (p *Player) GetItemCount(itemId uint32) uint32 { + isVirtualItem, prop := p.GetVirtualItemProp(itemId) + if isVirtualItem { + value := p.PropertiesMap[prop] + return value + } else { + itemInfo := p.ItemMap[itemId] + if itemInfo == nil { + return 0 + } + return itemInfo.Count + } +} + +// 虚拟道具如下 实际值存在玩家的属性上 +// 原石 201 +// 摩拉 202 +// 创世结晶 203 +// 树脂 106 +// 传说任务钥匙 107 +// 洞天宝钱 204 + +func (p *Player) GetVirtualItemProp(itemId uint32) (isVirtualItem bool, prop uint16) { + switch itemId { + case 106: + return true, constant.PlayerPropertyConst.PROP_PLAYER_RESIN + case 107: + return true, constant.PlayerPropertyConst.PROP_PLAYER_LEGENDARY_KEY + case 201: + return true, constant.PlayerPropertyConst.PROP_PLAYER_HCOIN + case 202: + return true, constant.PlayerPropertyConst.PROP_PLAYER_SCOIN + case 203: + return true, constant.PlayerPropertyConst.PROP_PLAYER_MCOIN + case 204: + return true, constant.PlayerPropertyConst.PROP_PLAYER_HOME_COIN + default: + return false, 0 + } +} + +func (p *Player) AddItem(itemId uint32, count uint32) { + isVirtualItem, prop := p.GetVirtualItemProp(itemId) + if isVirtualItem { + value := p.PropertiesMap[prop] + value += count + p.PropertiesMap[prop] = value + } else { + itemInfo := p.ItemMap[itemId] + if itemInfo == nil { + itemInfo = &Item{ + ItemId: itemId, + Count: 0, + Guid: p.GetNextGameObjectGuid(), + } + } + itemInfo.Count += count + p.ItemMap[itemId] = itemInfo + } +} + +func (p *Player) CostItem(itemId uint32, count uint32) { + isVirtualItem, prop := p.GetVirtualItemProp(itemId) + if isVirtualItem { + value := p.PropertiesMap[prop] + if value < count { + value = 0 + } else { + value -= count + } + p.PropertiesMap[prop] = value + } else { + itemInfo := p.ItemMap[itemId] + if itemInfo == nil { + return + } + if itemInfo.Count < count { + itemInfo.Count = 0 + } else { + itemInfo.Count -= count + } + p.ItemMap[itemId] = itemInfo + } +} diff --git a/service/game-hk4e/model/avatar.go b/service/game-hk4e/model/avatar.go new file mode 100644 index 00000000..6ce0fc32 --- /dev/null +++ b/service/game-hk4e/model/avatar.go @@ -0,0 +1,173 @@ +package model + +import ( + gdc "game-hk4e/config" + "game-hk4e/constant" + "time" +) + +type Avatar struct { + AvatarId uint32 `bson:"avatarId"` // 角色id + Level uint8 `bson:"level"` // 等级 + Exp uint32 `bson:"exp"` // 经验值 + Promote uint8 `bson:"promote"` // 突破等阶 + Satiation uint32 `bson:"satiation"` // 饱食度 + SatiationPenalty uint32 `bson:"satiationPenalty"` // 饱食度溢出 + CurrHP float64 `bson:"currHP"` // 当前生命值 + CurrEnergy float64 `bson:"currEnergy"` // 当前元素能量值 + FetterList []uint32 `bson:"fetterList"` // 资料解锁条目 + SkillLevelMap map[uint32]uint32 `bson:"skillLevelMap"` // 技能等级 + SkillExtraChargeMap map[uint32]uint32 `bson:"skillExtraChargeMap"` + ProudSkillBonusMap map[uint32]uint32 `bson:"proudSkillBonusMap"` + SkillDepotId uint32 `bson:"skillDepotId"` + CoreProudSkillLevel uint8 `bson:"coreProudSkillLevel"` // 已解锁命之座层数 + TalentIdList []uint32 `bson:"talentIdList"` // 已解锁命之座技能列表 + ProudSkillList []uint32 `bson:"proudSkillList"` // 被动技能列表 + FlyCloak uint32 `bson:"flyCloak"` // 当前风之翼 + Costume uint32 `bson:"costume"` // 当前衣装 + BornTime int64 `bson:"bornTime"` // 获得时间 + FetterLevel uint8 `bson:"fetterLevel"` // 好感度等级 + FetterExp uint32 `bson:"fetterExp"` // 好感度经验 + NameCardRewardId uint32 `bson:"nameCardRewardId"` + NameCardId uint32 `bson:"nameCardId"` + Guid uint64 `bson:"-"` + EquipGuidList map[uint64]uint64 `bson:"-"` + EquipWeapon *Weapon `bson:"-"` + EquipReliquaryList []*Reliquary `bson:"-"` + FightPropMap map[uint32]float32 `bson:"-"` + ExtraAbilityEmbryos map[string]bool `bson:"-"` +} + +func (p *Player) InitAllAvatar() { + for _, avatar := range p.AvatarMap { + p.InitAvatar(avatar) + } +} + +func (p *Player) InitAvatar(avatar *Avatar) { + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(avatar.AvatarId)] + // 角色战斗属性 + avatar.FightPropMap = make(map[uint32]float32) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_NONE)] = 0.0 + // 白字攻防血 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_ATTACK)] = float32(avatarDataConfig.GetBaseAttackByLevel(avatar.Level)) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_DEFENSE)] = float32(avatarDataConfig.GetBaseDefenseByLevel(avatar.Level)) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_BASE_HP)] = float32(avatarDataConfig.GetBaseHpByLevel(avatar.Level)) + // 白字+绿字攻防血 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_ATTACK)] = float32(avatarDataConfig.GetBaseAttackByLevel(avatar.Level)) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_DEFENSE)] = float32(avatarDataConfig.GetBaseDefenseByLevel(avatar.Level)) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_MAX_HP)] = float32(avatarDataConfig.GetBaseHpByLevel(avatar.Level)) + // 当前血量 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CUR_HP)] = float32(avatar.CurrHP) + // 双暴 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL)] = float32(avatarDataConfig.Critical) + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CRITICAL_HURT)] = float32(avatarDataConfig.CriticalHurt) + // 元素充能 + avatar.FightPropMap[uint32(constant.FightPropertyConst.FIGHT_PROP_CHARGE_EFFICIENCY)] = 1.0 + p.SetCurrEnergy(avatar, avatar.CurrEnergy, true) + // guid + avatar.Guid = p.GetNextGameObjectGuid() + p.GameObjectGuidMap[avatar.Guid] = GameObject(avatar) + avatar.EquipGuidList = make(map[uint64]uint64) + p.AvatarMap[avatar.AvatarId] = avatar + return +} + +func (p *Player) AddAvatar(avatarId uint32) { + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(avatarId)] + skillDepotId := int32(0) + // 主角要单独设置 + if avatarId == 10000005 { + skillDepotId = 504 + } else if avatarId == 10000007 { + skillDepotId = 704 + } else { + skillDepotId = avatarDataConfig.SkillDepotId + } + avatarSkillDepotDataConfig := gdc.CONF.AvatarSkillDepotDataMap[skillDepotId] + avatar := &Avatar{ + AvatarId: avatarId, + Level: 1, + Exp: 0, + Promote: 0, + Satiation: 0, + SatiationPenalty: 0, + CurrHP: 0, + CurrEnergy: 0, + FetterList: nil, + SkillLevelMap: make(map[uint32]uint32), + SkillExtraChargeMap: make(map[uint32]uint32), + ProudSkillBonusMap: nil, + SkillDepotId: uint32(avatarSkillDepotDataConfig.Id), + CoreProudSkillLevel: 0, + TalentIdList: make([]uint32, 0), + ProudSkillList: make([]uint32, 0), + FlyCloak: 140001, + Costume: 0, + BornTime: time.Now().Unix(), + FetterLevel: 1, + FetterExp: 0, + NameCardRewardId: 0, + NameCardId: 0, + Guid: 0, + EquipGuidList: nil, + EquipWeapon: nil, + EquipReliquaryList: nil, + FightPropMap: nil, + ExtraAbilityEmbryos: nil, + } + + if avatarSkillDepotDataConfig.EnergySkill > 0 { + avatar.SkillLevelMap[uint32(avatarSkillDepotDataConfig.EnergySkill)] = 1 + } + for _, skillId := range avatarSkillDepotDataConfig.Skills { + if skillId > 0 { + avatar.SkillLevelMap[uint32(skillId)] = 1 + } + } + for _, openData := range avatarSkillDepotDataConfig.InherentProudSkillOpens { + if openData.ProudSkillGroupId == 0 { + continue + } + if openData.NeedAvatarPromoteLevel <= int32(avatar.Promote) { + proudSkillId := (openData.ProudSkillGroupId * 100) + 1 + // TODO if GameData.getProudSkillDataMap().containsKey(proudSkillId) java + avatar.ProudSkillList = append(avatar.ProudSkillList, uint32(proudSkillId)) + } + } + avatar.CurrHP = avatarDataConfig.GetBaseHpByLevel(avatar.Level) + + p.InitAvatar(avatar) + p.AvatarMap[avatarId] = avatar +} + +func (p *Player) SetCurrEnergy(avatar *Avatar, value float64, max bool) { + avatarDataConfig := gdc.CONF.AvatarDataMap[int32(avatar.AvatarId)] + avatarSkillDepotDataConfig := gdc.CONF.AvatarSkillDepotDataMap[avatarDataConfig.SkillDepotId] + if avatarSkillDepotDataConfig == nil || avatarSkillDepotDataConfig.EnergySkillData == nil { + return + } + element := avatarSkillDepotDataConfig.ElementType + avatar.FightPropMap[uint32(element.MaxEnergyProp)] = float32(avatarSkillDepotDataConfig.EnergySkillData.CostElemVal) + if max { + avatar.FightPropMap[uint32(element.CurrEnergyProp)] = float32(avatarSkillDepotDataConfig.EnergySkillData.CostElemVal) + } else { + avatar.FightPropMap[uint32(element.CurrEnergyProp)] = float32(value) + } +} + +func (p *Player) WearWeapon(avatarId uint32, weaponId uint64) { + avatar := p.AvatarMap[avatarId] + weapon := p.WeaponMap[weaponId] + avatar.EquipWeapon = weapon + weapon.AvatarId = avatarId + avatar.EquipGuidList[weapon.Guid] = weapon.Guid +} + +func (p *Player) TakeOffWeapon(avatarId uint32, weaponId uint64) { + avatar := p.AvatarMap[avatarId] + weapon := p.WeaponMap[weaponId] + avatar.EquipWeapon = nil + weapon.AvatarId = 0 + delete(avatar.EquipGuidList, weapon.Guid) +} diff --git a/service/game-hk4e/model/chat.go b/service/game-hk4e/model/chat.go new file mode 100644 index 00000000..f0f3c97e --- /dev/null +++ b/service/game-hk4e/model/chat.go @@ -0,0 +1,16 @@ +package model + +const ( + ChatMsgTypeText = iota + ChatMsgTypeIcon +) + +type ChatMsg struct { + Time uint32 `bson:"time"` + ToUid uint32 `bson:"toUid"` + Uid uint32 `bson:"uid"` + IsRead bool `bson:"isRead"` + MsgType uint8 `bson:"msgType"` + Text string `bson:"text"` + Icon uint32 `bson:"icon"` +} diff --git a/service/game-hk4e/model/drop.go b/service/game-hk4e/model/drop.go new file mode 100644 index 00000000..b1f532c1 --- /dev/null +++ b/service/game-hk4e/model/drop.go @@ -0,0 +1,51 @@ +package model + +type GachaPoolInfo struct { + GachaType uint32 `bson:"gachaType"` // 卡池类型 + OrangeTimes uint32 `bson:"orangeTimes"` // 5星保底计数 + PurpleTimes uint32 `bson:"purpleTimes"` // 4星保底计数 + MustGetUpOrange bool `bson:"mustGetUpOrange"` // 是否5星大保底 + MustGetUpPurple bool `bson:"mustGetUpPurple"` // 是否4星大保底 +} + +type DropInfo struct { + GachaPoolInfo map[uint32]*GachaPoolInfo `bson:"gachaPoolInfo"` +} + +func NewDropInfo() (r *DropInfo) { + r = new(DropInfo) + r.GachaPoolInfo = make(map[uint32]*GachaPoolInfo) + r.GachaPoolInfo[300] = &GachaPoolInfo{ + // 温迪 + GachaType: 300, + OrangeTimes: 0, + PurpleTimes: 0, + MustGetUpOrange: false, + MustGetUpPurple: false, + } + r.GachaPoolInfo[400] = &GachaPoolInfo{ + // 可莉 + GachaType: 400, + OrangeTimes: 0, + PurpleTimes: 0, + MustGetUpOrange: false, + MustGetUpPurple: false, + } + r.GachaPoolInfo[431] = &GachaPoolInfo{ + // 阿莫斯之弓&天空之傲 + GachaType: 431, + OrangeTimes: 0, + PurpleTimes: 0, + MustGetUpOrange: false, + MustGetUpPurple: false, + } + r.GachaPoolInfo[201] = &GachaPoolInfo{ + // 常驻 + GachaType: 201, + OrangeTimes: 0, + PurpleTimes: 0, + MustGetUpOrange: false, + MustGetUpPurple: false, + } + return r +} diff --git a/service/game-hk4e/model/player.go b/service/game-hk4e/model/player.go new file mode 100644 index 00000000..530aa55d --- /dev/null +++ b/service/game-hk4e/model/player.go @@ -0,0 +1,93 @@ +package model + +import ( + "go.mongodb.org/mongo-driver/bson/primitive" +) + +const ( + DbInsert = iota + DbDelete + DbUpdate + DbNormal + DbOffline +) + +const ( + SceneNone = iota + SceneInitFinish + SceneEnterDone +) + +type GameObject interface { +} + +type Player struct { + // 离线数据 + ID primitive.ObjectID `bson:"_id,omitempty"` + PlayerID uint32 `bson:"playerID"` // 玩家uid + NickName string `bson:"nickname"` // 玩家昵称 + Signature string `bson:"signature"` // 玩家签名 + HeadImage uint32 `bson:"headImage"` // 玩家头像 + NameCard uint32 `bson:"nameCard"` // 当前名片 + NameCardList []uint32 `bson:"nameCardList"` // 已解锁名片列表 + FriendList map[uint32]bool `bson:"friendList"` // 好友uid列表 + FriendApplyList map[uint32]bool `bson:"friendApplyList"` // 好友申请uid列表 + OfflineTime uint32 `bson:"offlineTime"` // 离线时间点 + OnlineTime uint32 `bson:"onlineTime"` // 上线时间点 + TotalOnlineTime uint32 `bson:"totalOnlineTime"` // 玩家累计在线时长 + PropertiesMap map[uint16]uint32 `bson:"propertiesMap"` // 玩家自身相关的一些属性 + RegionId uint32 `bson:"regionId"` // regionId + FlyCloakList []uint32 `bson:"flyCloakList"` // 风之翼列表 + CostumeList []uint32 `bson:"costumeList"` // 角色衣装列表 + SceneId uint32 `bson:"sceneId"` // 场景 + Pos *Vector `bson:"pos"` // 玩家坐标 + Rot *Vector `bson:"rot"` // 玩家朝向 + ItemMap map[uint32]*Item `bson:"itemMap"` // 玩家统一大背包仓库 + WeaponMap map[uint64]*Weapon `bson:"weaponMap"` // 玩家武器背包 + ReliquaryMap map[uint64]*Reliquary `bson:"reliquaryMap"` // 玩家圣遗物背包 + TeamConfig *TeamInfo `bson:"teamConfig"` // 队伍配置 + AvatarMap map[uint32]*Avatar `bson:"avatarMap"` // 角色信息 + DropInfo *DropInfo `bson:"dropInfo"` // 掉落信息 + MainCharAvatarId uint32 `bson:"mainCharAvatarId"` // 主角id + ChatMsgMap map[uint32][]*ChatMsg `bson:"chatMsgMap"` // 聊天信息 + // 在线数据 + EnterSceneToken uint32 `bson:"-"` // 玩家的世界进入令牌 + DbState int `bson:"-"` // 数据库存档状态 + WorldId uint32 `bson:"-"` // 所在的世界id + PeerId uint32 `bson:"-"` // 多人世界的玩家编号 + GameObjectGuidCounter uint64 `bson:"-"` // 游戏对象guid计数器 + ClientTime uint32 `bson:"-"` // 玩家客户端的本地时钟 + ClientRTT uint32 `bson:"-"` // 玩家客户端往返时延 + GameObjectGuidMap map[uint64]GameObject `bson:"-"` // 游戏对象guid映射表 + Online bool `bson:"-"` // 在线状态 + Pause bool `bson:"-"` // 暂停状态 + SceneLoadState int `bson:"-"` // 场景加载状态 + CoopApplyMap map[uint32]int64 `bson:"-"` // 敲门申请的玩家uid及时间 + ClientSeq uint32 `bson:"-"` +} + +func (p *Player) GetNextGameObjectGuid() uint64 { + p.GameObjectGuidCounter++ + return uint64(p.PlayerID)<<32 + p.GameObjectGuidCounter +} + +func (p *Player) InitAll() { + p.GameObjectGuidMap = make(map[uint64]GameObject) + p.CoopApplyMap = make(map[uint32]int64) + p.InitAllAvatar() + p.InitAllWeapon() + p.InitAllItem() + p.InitAllReliquary() +} + +func (p *Player) InitAllReliquary() { + for reliquaryId, reliquary := range p.ReliquaryMap { + reliquary.Guid = p.GetNextGameObjectGuid() + p.ReliquaryMap[reliquaryId] = reliquary + if reliquary.AvatarId != 0 { + avatar := p.AvatarMap[reliquary.AvatarId] + avatar.EquipGuidList[reliquary.Guid] = reliquary.Guid + avatar.EquipReliquaryList = append(avatar.EquipReliquaryList, reliquary) + } + } +} diff --git a/service/game-hk4e/model/reliquary.go b/service/game-hk4e/model/reliquary.go new file mode 100644 index 00000000..f3f20067 --- /dev/null +++ b/service/game-hk4e/model/reliquary.go @@ -0,0 +1,16 @@ +package model + +type Reliquary struct { + ReliquaryId uint64 `bson:"reliquaryId"` // 圣遗物的唯一id + ItemId uint32 `bson:"itemId"` // 圣遗物的道具id + Level uint8 `bson:"level"` // 等级 + Exp uint32 `bson:"exp"` // 当前经验值 + TotalExp uint32 `bson:"totalExp"` // 升级所需总经验值 + Promote uint8 `bson:"promote"` // 突破等阶 + Lock bool `bson:"lock"` // 锁定状态 + AffixIdList []uint32 `bson:"affixIdList"` // 词缀 + Refinement uint8 `bson:"refinement"` // 精炼等阶 + MainPropId uint32 `bson:"mainPropId"` // 主词条id + AvatarId uint32 `bson:"avatarId"` // 装备角色id + Guid uint64 `bson:"-"` +} diff --git a/service/game-hk4e/model/team.go b/service/game-hk4e/model/team.go new file mode 100644 index 00000000..241f1af1 --- /dev/null +++ b/service/game-hk4e/model/team.go @@ -0,0 +1,115 @@ +package model + +import ( + gdc "game-hk4e/config" + "game-hk4e/constant" +) + +type Team struct { + Name string `bson:"name"` + AvatarIdList []uint32 `bson:"avatarIdList"` +} + +type TeamInfo struct { + TeamList []*Team `bson:"teamList"` + CurrTeamIndex uint8 `bson:"currTeamIndex"` + CurrAvatarIndex uint8 `bson:"currAvatarIndex"` + TeamResonances map[uint16]bool `bson:"-"` + TeamResonancesConfig map[int32]bool `bson:"-"` +} + +func NewTeamInfo() (r *TeamInfo) { + r = &TeamInfo{ + TeamList: []*Team{ + {Name: "冒险", AvatarIdList: make([]uint32, 4)}, + {Name: "委托", AvatarIdList: make([]uint32, 4)}, + {Name: "秘境", AvatarIdList: make([]uint32, 4)}, + {Name: "联机", AvatarIdList: make([]uint32, 4)}, + }, + CurrTeamIndex: 0, + CurrAvatarIndex: 0, + } + return r +} + +func (t *TeamInfo) UpdateTeam() { + activeTeam := t.GetActiveTeam() + // 队伍元素共鸣 + t.TeamResonances = make(map[uint16]bool) + t.TeamResonancesConfig = make(map[int32]bool) + teamElementTypeCountMap := make(map[uint16]uint8) + avatarSkillDepotDataMapConfig := gdc.CONF.AvatarSkillDepotDataMap + for _, avatarId := range activeTeam.AvatarIdList { + if avatarId == 0 { + break + } + skillData := avatarSkillDepotDataMapConfig[int32(avatarId)] + if skillData != nil { + teamElementTypeCountMap[skillData.ElementType.Value] += 1 + } + } + for k, v := range teamElementTypeCountMap { + if v >= 2 { + element := constant.ElementTypeConst.VALUE_MAP[k] + if element.TeamResonanceId != 0 { + t.TeamResonances[element.TeamResonanceId] = true + t.TeamResonancesConfig[element.ConfigHash] = true + } + } + } + if len(t.TeamResonances) == 0 { + t.TeamResonances[constant.ElementTypeConst.Default.TeamResonanceId] = true + t.TeamResonancesConfig[int32(constant.ElementTypeConst.Default.TeamResonanceId)] = true + } +} + +func (t *TeamInfo) GetActiveTeamId() uint8 { + return t.CurrTeamIndex + 1 +} + +func (t *TeamInfo) GetTeamByIndex(teamIndex uint8) *Team { + if t.TeamList == nil { + return nil + } + if teamIndex >= uint8(len(t.TeamList)) { + return nil + } + activeTeam := t.TeamList[teamIndex] + return activeTeam +} + +func (t *TeamInfo) GetActiveTeam() *Team { + return t.GetTeamByIndex(t.CurrTeamIndex) +} + +func (t *TeamInfo) ClearTeamAvatar(teamIndex uint8) { + team := t.GetTeamByIndex(teamIndex) + if team == nil { + return + } + team.AvatarIdList = make([]uint32, 4) +} + +func (t *TeamInfo) AddAvatarToTeam(avatarId uint32, teamIndex uint8) { + team := t.GetTeamByIndex(teamIndex) + if team == nil { + return + } + for i, v := range team.AvatarIdList { + if v == 0 { + team.AvatarIdList[i] = avatarId + break + } + } +} + +func (t *TeamInfo) GetActiveAvatarId() uint32 { + activeTeam := t.GetActiveTeam() + if activeTeam == nil { + return 0 + } + if t.CurrAvatarIndex >= uint8(len(activeTeam.AvatarIdList)) { + return 0 + } + return activeTeam.AvatarIdList[t.CurrAvatarIndex] +} diff --git a/service/game-hk4e/model/vector.go b/service/game-hk4e/model/vector.go new file mode 100644 index 00000000..22bb5ba4 --- /dev/null +++ b/service/game-hk4e/model/vector.go @@ -0,0 +1,7 @@ +package model + +type Vector struct { + X float64 `bson:"x"` + Y float64 `bson:"y"` + Z float64 `bson:"z"` +} diff --git a/service/game-hk4e/model/weapon.go b/service/game-hk4e/model/weapon.go new file mode 100644 index 00000000..0a20c41f --- /dev/null +++ b/service/game-hk4e/model/weapon.go @@ -0,0 +1,76 @@ +package model + +import ( + gdc "game-hk4e/config" +) + +type Weapon struct { + WeaponId uint64 `bson:"weaponId"` // 武器的唯一id + ItemId uint32 `bson:"itemId"` // 武器的道具id + Level uint8 `bson:"level"` // 等级 + Exp uint32 `bson:"exp"` // 当前经验值 + TotalExp uint32 `bson:"totalExp"` // 升级所需总经验值 + Promote uint8 `bson:"promote"` // 突破等阶 + Lock bool `bson:"lock"` // 锁定状态 + AffixIdList []uint32 `bson:"affixIdList"` // 词缀 + Refinement uint8 `bson:"refinement"` // 精炼等阶 + MainPropId uint32 `bson:"mainPropId"` // 主词条id + AvatarId uint32 `bson:"avatarId"` // 装备角色id + Guid uint64 `bson:"-"` +} + +func (p *Player) InitWeapon(weapon *Weapon) { + weapon.Guid = p.GetNextGameObjectGuid() + p.GameObjectGuidMap[weapon.Guid] = GameObject(weapon) + p.WeaponMap[weapon.WeaponId] = weapon + if weapon.AvatarId != 0 { + avatar := p.AvatarMap[weapon.AvatarId] + avatar.EquipGuidList[weapon.Guid] = weapon.Guid + avatar.EquipWeapon = weapon + } + return +} + +func (p *Player) InitAllWeapon() { + for _, weapon := range p.WeaponMap { + p.InitWeapon(weapon) + } +} + +func (p *Player) GetWeaponGuid(weaponId uint64) uint64 { + weaponInfo := p.WeaponMap[weaponId] + if weaponInfo == nil { + return 0 + } + return weaponInfo.Guid +} + +func (p *Player) GetWeapon(weaponId uint64) *Weapon { + return p.WeaponMap[weaponId] +} + +func (p *Player) AddWeapon(itemId uint32, weaponId uint64) { + weapon := &Weapon{ + WeaponId: weaponId, + ItemId: itemId, + Level: 1, + Exp: 0, + TotalExp: 0, + Promote: 0, + Lock: false, + AffixIdList: make([]uint32, 0), + Refinement: 0, + MainPropId: 0, + Guid: 0, + } + itemDataConfig := gdc.CONF.ItemDataMap[int32(itemId)] + if itemDataConfig.SkillAffix != nil { + for _, skillAffix := range itemDataConfig.SkillAffix { + if skillAffix > 0 { + weapon.AffixIdList = append(weapon.AffixIdList, uint32(skillAffix)) + } + } + } + p.InitWeapon(weapon) + p.WeaponMap[weaponId] = weapon +} diff --git a/service/game-hk4e/mq/mq.go b/service/game-hk4e/mq/mq.go new file mode 100644 index 00000000..33fd18fe --- /dev/null +++ b/service/game-hk4e/mq/mq.go @@ -0,0 +1,91 @@ +package mq + +import ( + "flswld.com/common/config" + "flswld.com/gate-hk4e-api/proto" + "flswld.com/logger" + "github.com/nats-io/nats.go" + "github.com/vmihailenco/msgpack/v5" + pb "google.golang.org/protobuf/proto" +) + +type MessageQueue struct { + natsConn *nats.Conn + natsMsgChan chan *nats.Msg + netMsgInput chan *proto.NetMsg + netMsgOutput chan *proto.NetMsg + apiProtoMap *proto.ApiProtoMap +} + +func NewMessageQueue(netMsgInput chan *proto.NetMsg, netMsgOutput chan *proto.NetMsg) (r *MessageQueue) { + r = new(MessageQueue) + conn, err := nats.Connect(config.CONF.MQ.NatsUrl) + if err != nil { + logger.LOG.Error("connect nats error: %v", err) + return nil + } + r.natsConn = conn + r.natsMsgChan = make(chan *nats.Msg, 10000) + _, err = r.natsConn.ChanSubscribe("GAME_HK4E", r.natsMsgChan) + if err != nil { + logger.LOG.Error("nats subscribe error: %v", err) + return nil + } + r.netMsgInput = netMsgInput + r.netMsgOutput = netMsgOutput + r.apiProtoMap = proto.NewApiProtoMap() + return r +} + +func (m *MessageQueue) Start() { + go m.startRecvHandler() + go m.startSendHandler() +} + +func (m *MessageQueue) Close() { + m.natsConn.Close() +} + +func (m *MessageQueue) startRecvHandler() { + for { + natsMsg := <-m.natsMsgChan + // msgpack NetMsg + netMsg := new(proto.NetMsg) + err := msgpack.Unmarshal(natsMsg.Data, netMsg) + if err != nil { + logger.LOG.Error("parse bin to net msg error: %v", err) + continue + } + if netMsg.EventId == proto.NormalMsg || netMsg.EventId == proto.UserRegNotify { + // protobuf PayloadMessage + payloadMessage := m.apiProtoMap.GetProtoObjByApiId(netMsg.ApiId) + err = pb.Unmarshal(netMsg.PayloadMessageData, payloadMessage) + if err != nil { + logger.LOG.Error("parse bin to payload msg error: %v", err) + continue + } + netMsg.PayloadMessage = payloadMessage + } + m.netMsgOutput <- netMsg + } +} + +func (m *MessageQueue) startSendHandler() { + for { + netMsg := <-m.netMsgInput + // protobuf PayloadMessage 已在上一层完成 + // msgpack NetMsg + netMsgData, err := msgpack.Marshal(netMsg) + if err != nil { + logger.LOG.Error("parse net msg to bin error: %v", err) + continue + } + natsMsg := nats.NewMsg("GATE_HK4E") + natsMsg.Data = netMsgData + err = m.natsConn.PublishMsg(natsMsg) + if err != nil { + logger.LOG.Error("nats publish msg error: %v", err) + continue + } + } +} diff --git a/service/game-hk4e/rpc/rpc.go b/service/game-hk4e/rpc/rpc.go new file mode 100644 index 00000000..607b8ab7 --- /dev/null +++ b/service/game-hk4e/rpc/rpc.go @@ -0,0 +1,29 @@ +package rpc + +import ( + "flswld.com/gate-hk4e-api/gm" + "flswld.com/light" +) + +type RpcManager struct { + hk4eGatewayConsumer *light.Consumer +} + +func NewRpcManager(hk4eGatewayConsumer *light.Consumer) (r *RpcManager) { + r = new(RpcManager) + r.hk4eGatewayConsumer = hk4eGatewayConsumer + return r +} + +func (r *RpcManager) SendKickPlayerToHk4eGateway(userId uint32) { + info := new(gm.KickPlayerInfo) + info.UserId = userId + // 客户端提示信息为服务器断开连接 + info.Reason = uint32(5) + var result bool + ok := r.hk4eGatewayConsumer.CallFunction("RpcManager", "KickPlayer", &info, &result) + if ok == true && result == true { + return + } + return +} diff --git a/service/gm-hk4e/cmd/application.toml b/service/gm-hk4e/cmd/application.toml new file mode 100644 index 00000000..201d6d78 --- /dev/null +++ b/service/gm-hk4e/cmd/application.toml @@ -0,0 +1,11 @@ +http_port = 9004 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "gm-hk4e-app" diff --git a/service/gm-hk4e/cmd/main.go b/service/gm-hk4e/cmd/main.go new file mode 100644 index 00000000..432db354 --- /dev/null +++ b/service/gm-hk4e/cmd/main.go @@ -0,0 +1,48 @@ +package main + +import ( + "flswld.com/common/config" + "flswld.com/light" + "flswld.com/logger" + "gm-hk4e/controller" + "os" + "os/signal" + "syscall" + "time" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("gm hk4e start") + + httpProvider := light.NewHttpProvider() + + // 认证服务 + rpcWaterAuthConsumer := light.NewRpcConsumer("water-auth") + + rpcHk4eGatewayConsumer := light.NewRpcConsumer("hk4e-gateway") + + _ = controller.NewController(rpcWaterAuthConsumer, rpcHk4eGatewayConsumer) + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + rpcWaterAuthConsumer.CloseRpcConsumer() + rpcHk4eGatewayConsumer.CloseRpcConsumer() + httpProvider.CloseHttpProvider() + logger.LOG.Info("gm hk4e exit") + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/service/gm-hk4e/controller/controller.go b/service/gm-hk4e/controller/controller.go new file mode 100644 index 00000000..3cee5999 --- /dev/null +++ b/service/gm-hk4e/controller/controller.go @@ -0,0 +1,75 @@ +package controller + +import ( + "flswld.com/common/config" + "flswld.com/light" + waterAuth "flswld.com/water-api/auth" + "github.com/gin-gonic/gin" + "net/http" + "strconv" + "strings" +) + +type Controller struct { + rpcWaterAuthConsumer *light.Consumer + rpcHk4eGatewayConsumer *light.Consumer +} + +func NewController(rpcWaterAuthConsumer *light.Consumer, rpcHk4eGatewayConsumer *light.Consumer) (r *Controller) { + r = new(Controller) + r.rpcWaterAuthConsumer = rpcWaterAuthConsumer + r.rpcHk4eGatewayConsumer = rpcHk4eGatewayConsumer + go r.registerRouter() + return r +} + +func (c *Controller) getAccessToken(context *gin.Context) string { + accessToken := context.GetHeader("Authorization") + divIndex := strings.Index(accessToken, " ") + if divIndex > 0 { + payload := accessToken[divIndex+1:] + return payload + } else { + return "" + } +} + +// access_token鉴权 +func (c *Controller) authorize() gin.HandlerFunc { + return func(context *gin.Context) { + valid, err := waterAuth.WaterVerifyAccessToken(c.rpcWaterAuthConsumer, c.getAccessToken(context)) + if err == nil && valid == true { + // 验证通过 + context.Next() + return + } + // 验证不通过 + context.Abort() + context.JSON(http.StatusOK, gin.H{ + "code": "10001", + "msg": "没有访问权限", + }) + } +} + +func (c *Controller) registerRouter() { + if config.CONF.Logger.Level == "DEBUG" { + gin.SetMode(gin.DebugMode) + } else { + gin.SetMode(gin.ReleaseMode) + } + engine := gin.Default() + // gacha + engine.GET("/gm/gacha", c.gacha) + engine.GET("/gm/gacha/details", c.gachaDetails) + engine.Use(c.authorize()) + // gate + engine.POST("/gm/gate/state", c.changeGateState) + engine.POST("/gm/gate/kick", c.kickPlayer) + engine.GET("/gm/gate/online", c.getOnlineUser) + engine.POST("/gm/gate/forbid", c.forbidUser) + engine.POST("/gm/gate/forbid/cancel", c.unForbidUser) + port := strconv.FormatInt(int64(config.CONF.HttpPort), 10) + portStr := ":" + port + _ = engine.Run(portStr) +} diff --git a/service/gm-hk4e/controller/gacha_controller.go b/service/gm-hk4e/controller/gacha_controller.go new file mode 100644 index 00000000..7910ffbd --- /dev/null +++ b/service/gm-hk4e/controller/gacha_controller.go @@ -0,0 +1,65 @@ +package controller + +import ( + "flswld.com/common/entity/dto" + "github.com/gin-gonic/gin" + "github.com/golang-jwt/jwt/v4" + "net/http" +) + +type UserInfo struct { + UserId uint32 `json:"userId"` + jwt.RegisteredClaims +} + +func (c *Controller) gacha(context *gin.Context) { + jwtStr := context.Query("jwt") + token, err := jwt.ParseWithClaims(jwtStr, new(UserInfo), func(token *jwt.Token) (interface{}, error) { + return []byte("flswld"), nil + }) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + if !token.Valid { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + info, ok := token.Claims.(*UserInfo) + if !ok { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + gachaType := context.Query("gachaType") + rsp := map[string]any{ + "uid": info.UserId, + "gachaType": gachaType, + } + context.JSON(http.StatusOK, dto.NewResponseResult(0, "成功", rsp)) +} + +func (c *Controller) gachaDetails(context *gin.Context) { + jwtStr := context.Query("jwt") + token, err := jwt.ParseWithClaims(jwtStr, new(UserInfo), func(token *jwt.Token) (interface{}, error) { + return []byte("flswld"), nil + }) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + if !token.Valid { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + info, ok := token.Claims.(*UserInfo) + if !ok { + context.JSON(http.StatusOK, dto.NewResponseResult(10005, "验签失败", nil)) + return + } + scheduleId := context.Query("scheduleId") + rsp := map[string]any{ + "uid": info.UserId, + "scheduleId": scheduleId, + } + context.JSON(http.StatusOK, dto.NewResponseResult(0, "成功", rsp)) +} diff --git a/service/gm-hk4e/controller/gate_controller.go b/service/gm-hk4e/controller/gate_controller.go new file mode 100644 index 00000000..7d147dc0 --- /dev/null +++ b/service/gm-hk4e/controller/gate_controller.go @@ -0,0 +1,161 @@ +package controller + +import ( + "flswld.com/common/entity/dto" + "flswld.com/gate-hk4e-api/gm" + waterAuth "flswld.com/water-api/auth" + "github.com/gin-gonic/gin" + "net/http" + "strconv" +) + +func (c *Controller) changeGateState(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + stateStr := context.Query("state") + state, err := strconv.ParseBool(stateStr) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + var res bool + ok := c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "ChangeGateOpenState", &state, &res) + if ok == true && res == true { + context.JSON(http.StatusOK, dto.NewResponseResult(0, "操作成功", nil)) + } else { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "操作失败", nil)) + } +} + +func (c *Controller) kickPlayer(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + uidStr := context.Query("uid") + reasonStr := context.Query("reason") + uid, err := strconv.ParseInt(uidStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + reason, err := strconv.ParseInt(reasonStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + info := new(gm.KickPlayerInfo) + info.UserId = uint32(uid) + info.Reason = uint32(reason) + var result bool + ok := c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "KickPlayer", &info, &result) + if ok == true && result == true { + context.JSON(http.StatusOK, dto.NewResponseResult(0, "操作成功", nil)) + } else { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "操作失败", nil)) + } +} + +func (c *Controller) getOnlineUser(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + uidStr := context.Query("uid") + uid, err := strconv.ParseInt(uidStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + list := new(gm.OnlineUserList) + list.UserList = make([]*gm.OnlineUserInfo, 0) + userId := uint32(uid) + ok := c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "GetOnlineUser", &userId, &list) + if ok { + context.JSON(http.StatusOK, dto.NewResponseResult(0, "查询成功", list)) + } else { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "查询失败", nil)) + } +} + +func (c *Controller) forbidUser(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + uidStr := context.Query("uid") + uid, err := strconv.ParseInt(uidStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + endTimeStr := context.Query("endTime") + endTime, err := strconv.ParseInt(endTimeStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + info := new(gm.ForbidUserInfo) + info.UserId = uint32(uid) + info.ForbidEndTime = uint64(endTime) + var result bool + ok := c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "ForbidUser", &info, &result) + if ok == true && result == true { + context.JSON(http.StatusOK, dto.NewResponseResult(0, "操作成功", nil)) + } else { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "操作失败", nil)) + } +} + +func (c *Controller) unForbidUser(context *gin.Context) { + accessToken := c.getAccessToken(context) + user, err := waterAuth.WaterQueryUserByAccessToken(c.rpcWaterAuthConsumer, accessToken) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(1001, "服务器内部错误", nil)) + return + } + if !user.IsAdmin { + context.JSON(http.StatusOK, dto.NewResponseResult(10001, "没有访问权限", nil)) + return + } + uidStr := context.Query("uid") + uid, err := strconv.ParseInt(uidStr, 10, 64) + if err != nil { + context.JSON(http.StatusOK, dto.NewResponseResult(10003, "参数错误", nil)) + return + } + userId := uint32(uid) + var result bool + ok := c.rpcHk4eGatewayConsumer.CallFunction("RpcManager", "UnForbidUser", &userId, &result) + if ok == true && result == true { + context.JSON(http.StatusOK, dto.NewResponseResult(0, "操作成功", nil)) + } else { + context.JSON(http.StatusOK, dto.NewResponseResult(-1, "操作失败", nil)) + } +} diff --git a/service/gm-hk4e/go.mod b/service/gm-hk4e/go.mod new file mode 100644 index 00000000..5822308c --- /dev/null +++ b/service/gm-hk4e/go.mod @@ -0,0 +1,53 @@ +module gm-hk4e + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../../light + +require flswld.com/gate-hk4e-api v0.0.0-incompatible + +replace flswld.com/gate-hk4e-api => ../../gate-hk4e-api + +require ( + flswld.com/annie-user-api v0.0.0-incompatible // indirect + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.2.0 // indirect + github.com/golang/protobuf v1.3.3 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + golang.org/x/sys v0.0.0-20200116001909-b77594299b42 // indirect + gopkg.in/yaml.v2 v2.2.8 // indirect +) + +replace flswld.com/annie-user-api => ../annie-user-api + +require flswld.com/water-api v0.0.0-incompatible + +replace flswld.com/water-api => ../../water-api + +// gin +require github.com/gin-gonic/gin v1.6.3 + +// jwt +require github.com/golang-jwt/jwt/v4 v4.4.0 diff --git a/service/gm-hk4e/go.sum b/service/gm-hk4e/go.sum new file mode 100644 index 00000000..a307bfb6 --- /dev/null +++ b/service/gm-hk4e/go.sum @@ -0,0 +1,50 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/golang-jwt/jwt/v4 v4.4.0 h1:EmVIxB5jzbllGIjiCV5JG4VylbK3KE400tLGLI1cdfU= +github.com/golang-jwt/jwt/v4 v4.4.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42 h1:vEOn+mP2zCOVzKckCZy6YsCtDblrpj/w7B9nxGNELpg= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sql/annie_user.sql b/service/sql/annie_user.sql new file mode 100644 index 00000000..9dd9c611 --- /dev/null +++ b/service/sql/annie_user.sql @@ -0,0 +1,43 @@ +/* + Navicat Premium Data Transfer + + Source Server : MySQL-Dev + Source Server Type : MySQL + Source Server Version : 50727 + Source Host : 192.168.199.131:3306 + Source Schema : annie_user + + Target Server Type : MySQL + Target Server Version : 50727 + File Encoding : 65001 + + Date: 25/05/2022 00:38:54 +*/ + +SET NAMES utf8mb4; +SET +FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for user +-- ---------------------------- +DROP TABLE IF EXISTS `user`; +CREATE TABLE `user` +( + `uid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, + `username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `is_admin` tinyint(1) NULL DEFAULT NULL, + PRIMARY KEY (`uid`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of user +-- ---------------------------- +INSERT INTO `user` +VALUES (1, 'flswld', '25d55ad283aa400af464c76d713c07ad', 1); +INSERT INTO `user` +VALUES (2, 'fhqs', '25d55ad283aa400af464c76d713c07ad', 0); + +SET +FOREIGN_KEY_CHECKS = 1; diff --git a/service/sql/annie_wxmp.sql b/service/sql/annie_wxmp.sql new file mode 100644 index 00000000..3b813d5b --- /dev/null +++ b/service/sql/annie_wxmp.sql @@ -0,0 +1,59 @@ +/* + Navicat Premium Data Transfer + + Source Server : MySQL-Dev + Source Server Type : MySQL + Source Server Version : 50727 + Source Host : 192.168.199.131:3306 + Source Schema : annie_wxmp + + Target Server Type : MySQL + Target Server Version : 50727 + File Encoding : 65001 + + Date: 25/05/2022 00:39:11 +*/ + +SET NAMES utf8mb4; +SET +FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for fw_death_info +-- ---------------------------- +DROP TABLE IF EXISTS `fw_death_info`; +CREATE TABLE `fw_death_info` +( + `fdid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, + `fw_alive` tinyint(1) NULL DEFAULT NULL, + `fw_cancel` tinyint(1) NULL DEFAULT NULL, + `fw_info` varchar(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`fdid`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of fw_death_info +-- ---------------------------- +INSERT INTO `fw_death_info` +VALUES (1, 1, 0, '你好'); + +-- ---------------------------- +-- Table structure for fw_death_notify_user +-- ---------------------------- +DROP TABLE IF EXISTS `fw_death_notify_user`; +CREATE TABLE `fw_death_notify_user` +( + `dnuid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, + `wx_open_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `email` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`dnuid`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of fw_death_notify_user +-- ---------------------------- +INSERT INTO `fw_death_notify_user` +VALUES (1, 'oAuwFwB2-uoEeDQDUdleUbH5jAlI', '1782360262@qq.com'); + +SET +FOREIGN_KEY_CHECKS = 1; diff --git a/sql/annie_water.sql b/sql/annie_water.sql new file mode 100644 index 00000000..fd69c050 --- /dev/null +++ b/sql/annie_water.sql @@ -0,0 +1,58 @@ +/* + Navicat Premium Data Transfer + + Source Server : MySQL-Dev + Source Server Type : MySQL + Source Server Version : 50727 + Source Host : 192.168.199.131:3306 + Source Schema : annie_water + + Target Server Type : MySQL + Target Server Version : 50727 + File Encoding : 65001 + + Date: 25/05/2022 00:39:03 +*/ + +SET NAMES utf8mb4; +SET +FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for access_token +-- ---------------------------- +DROP TABLE IF EXISTS `access_token`; +CREATE TABLE `access_token` +( + `atid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, + `uid` bigint(20) NULL DEFAULT NULL, + `username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `access_token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`atid`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of access_token +-- ---------------------------- + +-- ---------------------------- +-- Table structure for refresh_token +-- ---------------------------- +DROP TABLE IF EXISTS `refresh_token`; +CREATE TABLE `refresh_token` +( + `rtid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, + `uid` bigint(20) NULL DEFAULT NULL, + `username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `refresh_token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`rtid`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of refresh_token +-- ---------------------------- + +SET +FOREIGN_KEY_CHECKS = 1; diff --git a/water-api/auth/water_auth.go b/water-api/auth/water_auth.go new file mode 100644 index 00000000..0252ea04 --- /dev/null +++ b/water-api/auth/water_auth.go @@ -0,0 +1,109 @@ +package auth + +import ( + "errors" + providerApiEntity "flswld.com/annie-user-api/entity" + "flswld.com/light" + "sync" + "time" +) + +var tokenUserMap map[string]*providerApiEntity.User +var tokenUserMapLock sync.RWMutex +var tokenValidMap map[string]bool +var tokenValidMapLock sync.RWMutex +var tokenTimeoutMap map[string]int64 +var tokenTimeoutMapLock sync.RWMutex + +func init() { + tokenUserMap = make(map[string]*providerApiEntity.User) + tokenValidMap = make(map[string]bool) + tokenTimeoutMap = make(map[string]int64) + go CleanTimeoutToken() +} + +func CleanTimeoutToken() { + ticker := time.NewTicker(time.Second * 300) + for { + now := time.Now().Unix() + deleteTokenList := make([]string, 0) + tokenTimeoutMapLock.RLock() + for accessToken, createTime := range tokenTimeoutMap { + if now-createTime > 3600*24 { + deleteTokenList = append(deleteTokenList, accessToken) + } + } + tokenTimeoutMapLock.RUnlock() + tokenUserMapLock.Lock() + tokenValidMapLock.Lock() + tokenTimeoutMapLock.Lock() + for _, accessToken := range deleteTokenList { + delete(tokenUserMap, accessToken) + delete(tokenValidMap, accessToken) + delete(tokenTimeoutMap, accessToken) + } + tokenUserMapLock.Unlock() + tokenValidMapLock.Unlock() + tokenTimeoutMapLock.Unlock() + <-ticker.C + } +} + +func WaterQueryUserByAccessToken(consumer *light.Consumer, accessToken string) (*providerApiEntity.User, error) { + tokenUserMapLock.RLock() + value, ok := tokenUserMap[accessToken] + tokenUserMapLock.RUnlock() + if ok { + return value, nil + } + user := new(providerApiEntity.User) + err := consumer.CallFunction("RpcService", "RpcQueryUserByAccessToken", accessToken, user) + if err == false { + return nil, errors.New("rpc call fail") + } + tokenUserMapLock.Lock() + tokenUserMap[accessToken] = user + tokenUserMapLock.Unlock() + return user, nil +} + +func WaterVerifyAccessToken(consumer *light.Consumer, accessToken string) (bool, error) { + tokenValidMapLock.RLock() + _, ok := tokenValidMap[accessToken] + tokenValidMapLock.RUnlock() + if ok { + tokenTimeoutMapLock.RLock() + tokenCreateTime := tokenTimeoutMap[accessToken] + tokenTimeoutMapLock.RUnlock() + if time.Now().Unix()-tokenCreateTime <= 3600*24 { + return true, nil + } else { + tokenUserMapLock.Lock() + delete(tokenUserMap, accessToken) + tokenUserMapLock.Unlock() + tokenValidMapLock.Lock() + delete(tokenValidMap, accessToken) + tokenValidMapLock.Unlock() + tokenTimeoutMapLock.Lock() + delete(tokenTimeoutMap, accessToken) + tokenTimeoutMapLock.Unlock() + return false, nil + } + } + var valid bool + err := consumer.CallFunction("RpcService", "RpcVerifyAccessToken", accessToken, &valid) + if err == false { + return false, errors.New("rpc call fail") + } + if valid { + tokenValidMapLock.Lock() + tokenValidMap[accessToken] = true + tokenValidMapLock.Unlock() + tokenTimeoutMapLock.Lock() + tokenTimeoutMap[accessToken] = time.Now().Unix() + tokenTimeoutMapLock.Unlock() + return true, nil + } else { + return false, nil + } +} diff --git a/water-api/go.mod b/water-api/go.mod new file mode 100644 index 00000000..39d33607 --- /dev/null +++ b/water-api/go.mod @@ -0,0 +1,25 @@ +module water-api + +go 1.19 + +require flswld.com/common v0.0.0-incompatible // indirect + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible // indirect + +replace flswld.com/logger => ../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../light + +require flswld.com/annie-user-api v0.0.0-incompatible + +require github.com/BurntSushi/toml v0.3.1 // indirect + +replace flswld.com/annie-user-api => ../service/annie-user-api diff --git a/water-api/go.sum b/water-api/go.sum new file mode 100644 index 00000000..9cb2df8e --- /dev/null +++ b/water-api/go.sum @@ -0,0 +1,2 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= diff --git a/water/cmd/application.toml b/water/cmd/application.toml new file mode 100644 index 00000000..4540b186 --- /dev/null +++ b/water/cmd/application.toml @@ -0,0 +1,17 @@ +http_port = 9001 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "water-auth" + +[database] +url = "root:flswld@(mysql:3306)/annie_water?charset=utf8&parseTime=True&loc=Local" + +[light] +port = 10002 diff --git a/water/cmd/main.go b/water/cmd/main.go new file mode 100644 index 00000000..870a2dcf --- /dev/null +++ b/water/cmd/main.go @@ -0,0 +1,55 @@ +package main + +import ( + "flswld.com/common/config" + "flswld.com/light" + "flswld.com/logger" + "os" + "os/signal" + "syscall" + "time" + "water/controller" + "water/dao" + "water/service" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("water start") + + httpProvider := light.NewHttpProvider() + + // 用户服务 + rpcUserConsumer := light.NewRpcConsumer("annie-user-app") + + db := dao.NewDao() + + svc := service.NewService(db, rpcUserConsumer) + rpcSvc := service.NewRpcService(db, svc) + + rpcProvider := light.NewRpcProvider(rpcSvc) + + _ = controller.NewController(svc) + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + rpcProvider.CloseRpcProvider() + rpcUserConsumer.CloseRpcConsumer() + httpProvider.CloseHttpProvider() + logger.LOG.Info("water exit") + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/water/controller/auth_controller.go b/water/controller/auth_controller.go new file mode 100644 index 00000000..0920ccc5 --- /dev/null +++ b/water/controller/auth_controller.go @@ -0,0 +1,65 @@ +package controller + +import ( + providerApiEntity "flswld.com/annie-user-api/entity" + "github.com/gin-gonic/gin" + "net/http" +) + +func (c *Controller) login(context *gin.Context) { + json := make(map[string]string) + err := context.BindJSON(&json) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10003, + "msg": "参数错误", + }) + return + } + accessToken, refreshToken, err := c.service.LoginAuth(&providerApiEntity.User{Username: json["username"], Password: json["password"]}) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10002, + "msg": "用户名或密码错误", + }) + return + } + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "msg": "", + "access_token": accessToken, + "refresh_token": refreshToken, + }) +} + +func (c *Controller) refreshToken(context *gin.Context) { + json := make(map[string]string) + err := context.BindJSON(&json) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10003, + "msg": "参数错误", + }) + return + } + accessToken, err := c.service.RefreshToken(json["refresh_token"]) + if err != nil { + context.JSON(http.StatusOK, gin.H{ + "code": 10004, + "msg": "刷新access_token失败", + }) + return + } + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "msg": "", + "access_token": accessToken, + }) +} + +func (c *Controller) authTest(context *gin.Context) { + context.JSON(http.StatusOK, gin.H{ + "code": 0, + "msg": "认证测试成功", + }) +} diff --git a/water/controller/controller.go b/water/controller/controller.go new file mode 100644 index 00000000..ece53d65 --- /dev/null +++ b/water/controller/controller.go @@ -0,0 +1,72 @@ +package controller + +import ( + "flswld.com/common/config" + "github.com/gin-gonic/gin" + "net/http" + "strconv" + "strings" + "water/service" +) + +type Controller struct { + service *service.Service +} + +func NewController(service *service.Service) (r *Controller) { + r = new(Controller) + r.service = service + go r.registerRouter() + return r +} + +func (c *Controller) getAccessToken(context *gin.Context) string { + accessToken := context.GetHeader("Authorization") + divIndex := strings.Index(accessToken, " ") + if divIndex > 0 { + payload := accessToken[divIndex+1:] + return payload + } else { + return "" + } +} + +// access_token鉴权 +func (c *Controller) authorize() gin.HandlerFunc { + return func(context *gin.Context) { + valid := c.service.VerifyAccessToken(c.getAccessToken(context)) + if valid == true { + // 验证通过 + context.Next() + return + } + // 验证不通过 + context.Abort() + context.JSON(http.StatusOK, gin.H{ + "code": "10001", + "msg": "没有访问权限", + }) + } +} + +func (c *Controller) registerRouter() { + if config.CONF.Logger.Level == "DEBUG" { + gin.SetMode(gin.DebugMode) + } else { + gin.SetMode(gin.ReleaseMode) + } + engine := gin.Default() + // 非认证接口 + engine.POST("/auth/login", c.login) + engine.POST("/auth/refresh", c.refreshToken) + engine.Use(c.authorize()) + // 认证接口 + engine.GET("/auth/test", c.authTest) + // 获取内存token + //engine.POST("/oauth/token", c.getMemoryToken) + // 验证内存token + //engine.POST("/oauth/check_token", c.checkMemoryToken) + port := strconv.FormatInt(int64(config.CONF.HttpPort), 10) + portStr := ":" + port + _ = engine.Run(portStr) +} diff --git a/water/controller/memory_token_controller.go b/water/controller/memory_token_controller.go new file mode 100644 index 00000000..67601bad --- /dev/null +++ b/water/controller/memory_token_controller.go @@ -0,0 +1,44 @@ +package controller + +import ( + "flswld.com/logger" + "github.com/gin-gonic/gin" + "water/entity" +) + +// 获取token +func (c *Controller) getMemoryToken(context *gin.Context) { + login := new(entity.Login) + err := context.ShouldBindJSON(login) + if err != nil { + logger.LOG.Error("[controller:getMemoryToken] context.ShouldBindJSON() fail: %v", err) + return + } + auth, token := c.service.GetMemoryToken(login) + if auth { + context.JSON(200, gin.H{ + "code": 0, + "token": token, + }) + } else { + context.JSON(200, gin.H{ + "code": 401, + }) + } +} + +// 验证token +func (c *Controller) checkMemoryToken(context *gin.Context) { + token := new(entity.MemoryToken) + err := context.ShouldBindJSON(token) + if err != nil { + logger.LOG.Error("[controller:checkMemoryToken] context.ShouldBindJSON() fail: %v", err) + return + } + valid, uid := c.service.CheckMemoryToken(token.Token) + context.JSON(200, gin.H{ + "code": 0, + "valid": valid, + "uid": uid, + }) +} diff --git a/water/dao/access_token_dao.go b/water/dao/access_token_dao.go new file mode 100644 index 00000000..1e67b049 --- /dev/null +++ b/water/dao/access_token_dao.go @@ -0,0 +1,30 @@ +package dao + +import "water/entity" + +func (d *Dao) InsertAccessToken(accessToken *entity.AccessToken) (*entity.AccessToken, error) { + err := d.db.Create(accessToken).Error + return accessToken, err +} + +func (d *Dao) QueryAccessToken(accessToken *entity.AccessToken) ([]entity.AccessToken, error) { + var accessTokenList []entity.AccessToken + db := d.db + if accessToken.Atid != 0 { + db = db.Where("`atid` = ?", accessToken.Atid) + } + if accessToken.Uid != 0 { + db = db.Where("`uid` = ?", accessToken.Uid) + } + if accessToken.Username != "" { + db = db.Where("`username` = ?", accessToken.Username) + } + if accessToken.AccessToken != "" { + db = db.Where("`access_token` = ?", accessToken.AccessToken) + } + if accessToken.CreateTime != "" { + db = db.Where("`create_time` = ?", accessToken.CreateTime) + } + err := db.Find(&accessTokenList).Error + return accessTokenList, err +} diff --git a/water/dao/dao.go b/water/dao/dao.go new file mode 100644 index 00000000..a19491f0 --- /dev/null +++ b/water/dao/dao.go @@ -0,0 +1,30 @@ +package dao + +import ( + "flswld.com/common/config" + "flswld.com/logger" + "github.com/jinzhu/gorm" + _ "github.com/jinzhu/gorm/dialects/mysql" +) + +type Dao struct { + db *gorm.DB +} + +func NewDao() (r *Dao) { + r = new(Dao) + db, err := gorm.Open("mysql", config.CONF.Database.Url) + if err != nil { + logger.LOG.Error("db open error: %v", err) + panic(err) + } + if config.CONF.Logger.Level == "DEBUG" { + db.LogMode(true) + } + r.db = db + return r +} + +func (d *Dao) CloseDao() { + _ = d.db.Close() +} diff --git a/water/dao/refresh_token_dao.go b/water/dao/refresh_token_dao.go new file mode 100644 index 00000000..9e4837ac --- /dev/null +++ b/water/dao/refresh_token_dao.go @@ -0,0 +1,30 @@ +package dao + +import "water/entity" + +func (d *Dao) InsertRefreshToken(refreshToken *entity.RefreshToken) (*entity.RefreshToken, error) { + err := d.db.Create(refreshToken).Error + return refreshToken, err +} + +func (d *Dao) QueryRefreshToken(refreshToken *entity.RefreshToken) ([]entity.RefreshToken, error) { + var refreshTokenList []entity.RefreshToken + db := d.db + if refreshToken.Rtid != 0 { + db = db.Where("`rtid` = ?", refreshToken.Rtid) + } + if refreshToken.Uid != 0 { + db = db.Where("`uid` = ?", refreshToken.Uid) + } + if refreshToken.Username != "" { + db = db.Where("`username` = ?", refreshToken.Username) + } + if refreshToken.RefreshToken != "" { + db = db.Where("`refresh_token` = ?", refreshToken.RefreshToken) + } + if refreshToken.CreateTime != "" { + db = db.Where("`create_time` = ?", refreshToken.CreateTime) + } + err := db.Find(&refreshTokenList).Error + return refreshTokenList, err +} diff --git a/water/entity/access_token_entity.go b/water/entity/access_token_entity.go new file mode 100644 index 00000000..aa7a9a2b --- /dev/null +++ b/water/entity/access_token_entity.go @@ -0,0 +1,13 @@ +package entity + +type AccessToken struct { + Atid uint64 `gorm:"column:atid;primary_key;auto_increment"` + Uid uint64 `gorm:"column:uid"` + Username string `gorm:"column:username"` + AccessToken string `gorm:"column:access_token"` + CreateTime string `gorm:"column:create_time"` +} + +func (AccessToken) TableName() string { + return "access_token" +} diff --git a/water/entity/login_entity.go b/water/entity/login_entity.go new file mode 100644 index 00000000..64490ce2 --- /dev/null +++ b/water/entity/login_entity.go @@ -0,0 +1,6 @@ +package entity + +type Login struct { + Username string `json:"username"` + Password string `json:"password"` +} diff --git a/water/entity/memory_token_entity.go b/water/entity/memory_token_entity.go new file mode 100644 index 00000000..1cfb16e2 --- /dev/null +++ b/water/entity/memory_token_entity.go @@ -0,0 +1,5 @@ +package entity + +type MemoryToken struct { + Token string `json:"token"` +} diff --git a/water/entity/refresh_token_entity.go b/water/entity/refresh_token_entity.go new file mode 100644 index 00000000..677317da --- /dev/null +++ b/water/entity/refresh_token_entity.go @@ -0,0 +1,13 @@ +package entity + +type RefreshToken struct { + Rtid uint64 `gorm:"column:rtid;primary_key;auto_increment"` + Uid uint64 `gorm:"column:uid"` + Username string `gorm:"column:username"` + RefreshToken string `gorm:"column:refresh_token"` + CreateTime string `gorm:"column:create_time"` +} + +func (RefreshToken) TableName() string { + return "refresh_token" +} diff --git a/water/go.mod b/water/go.mod new file mode 100644 index 00000000..54a1c6f9 --- /dev/null +++ b/water/go.mod @@ -0,0 +1,48 @@ +module water + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +replace flswld.com/logger => ../logger + +require flswld.com/air-api v0.0.0-incompatible // indirect + +replace flswld.com/air-api => ../air-api + +require flswld.com/light v0.0.0-incompatible + +replace flswld.com/light => ../light + +require flswld.com/annie-user-api v0.0.0-incompatible + +replace flswld.com/annie-user-api => ../service/annie-user-api + +require ( + github.com/gin-gonic/gin v1.6.3 + github.com/jinzhu/gorm v1.9.16 + github.com/satori/go.uuid v1.2.0 +) + +require ( + github.com/BurntSushi/toml v0.3.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.2.0 // indirect + github.com/go-sql-driver/mysql v1.5.0 // indirect + github.com/golang/protobuf v1.3.3 // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd // indirect + gopkg.in/yaml.v2 v2.2.8 // indirect +) diff --git a/water/go.sum b/water/go.sum new file mode 100644 index 00000000..a038a7e7 --- /dev/null +++ b/water/go.sum @@ -0,0 +1,82 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= +github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd h1:83Wprp6ROGeiHFAP8WJdI2RoxALQYgdllERc3N5N2DM= +github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DPaBjB8zlTR87/ElzFsnQfuHnVUVqpZZIcV5Y= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= +github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= +github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= +github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= +github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/jinzhu/gorm v1.9.16 h1:+IyIjPEABKRpsu/F8OvDPy9fyQlgsg2luMV2ZIH5i5o= +github.com/jinzhu/gorm v1.9.16/go.mod h1:G3LB3wezTOWM2ITLzPxEXgSkOXAntiLHS7UdBefADcs= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.0.1 h1:HjfetcXq097iXP0uoPCdnM4Efp5/9MsM0/M+XOTeR3M= +github.com/jinzhu/now v1.0.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/lib/pq v1.1.1 h1:sJZmqHoEaY7f+NPP8pgLB/WxulyR3fewgCM2qaSlBb4= +github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-sqlite3 v1.14.0 h1:mLyGNKR8+Vv9CAU7PphKa2hkEqxxhn8i32J6FPj1/QA= +github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= +github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd h1:GGJVjV8waZKRHrgwvtH66z9ZGVurTD1MT0n1Bb+q4aM= +golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/water/service/auth_service.go b/water/service/auth_service.go new file mode 100644 index 00000000..75b0c3f3 --- /dev/null +++ b/water/service/auth_service.go @@ -0,0 +1,94 @@ +package service + +import ( + "errors" + providerApiEntity "flswld.com/annie-user-api/entity" + "flswld.com/common/utils/endec" + uuid "github.com/satori/go.uuid" + "strconv" + "time" + "water/entity" +) + +func (s *Service) generateAccessToken(user *providerApiEntity.User) (*entity.AccessToken, error) { + accessToken, err := s.dao.InsertAccessToken(&entity.AccessToken{ + Uid: user.Uid, + Username: user.Username, + AccessToken: uuid.NewV4().String(), + CreateTime: strconv.FormatInt(time.Now().Unix(), 10), + }) + return accessToken, err +} + +func (s *Service) generateRefreshToken(user *providerApiEntity.User) (*entity.RefreshToken, error) { + refreshToken, err := s.dao.InsertRefreshToken(&entity.RefreshToken{ + Uid: user.Uid, + Username: user.Username, + RefreshToken: uuid.NewV4().String(), + CreateTime: strconv.FormatInt(time.Now().Unix(), 10), + }) + return refreshToken, err +} + +func (s *Service) LoginAuth(user *providerApiEntity.User) (string, string, error) { + userList := make([]providerApiEntity.User, 0) + // 用户服务 + ok := s.rpcUserConsumer.CallFunction("RpcService", "RpcQueryUser", &providerApiEntity.User{Username: user.Username}, &userList) + if !ok || len(userList) != 1 { + return "", "", errors.New("query username error") + } + if userList[0].Password != endec.Md5Str(user.Password) { + return "", "", errors.New("password error") + } + accessToken, err := s.generateAccessToken(&providerApiEntity.User{Uid: userList[0].Uid, Username: userList[0].Username}) + if err != nil { + return "", "", errors.New("generate access token error") + } + refreshToken, err := s.generateRefreshToken(&providerApiEntity.User{Uid: userList[0].Uid, Username: userList[0].Username}) + if err != nil { + return "", "", errors.New("generate refresh token error") + } + return accessToken.AccessToken, refreshToken.RefreshToken, nil +} + +func (s *Service) VerifyAccessToken(accessToken string) bool { + tokenList, err := s.dao.QueryAccessToken(&entity.AccessToken{AccessToken: accessToken}) + if err != nil || len(tokenList) == 0 { + return false + } + createTime, err := strconv.ParseInt(tokenList[0].CreateTime, 10, 64) + if err != nil || (time.Now().Unix()-createTime) > 1800 { + return false + } + return true +} + +func (s *Service) QueryUserByAccessToken(accessToken string) (*providerApiEntity.User, error) { + tokenList, err := s.dao.QueryAccessToken(&entity.AccessToken{AccessToken: accessToken}) + if err != nil || len(tokenList) != 1 { + return nil, errors.New("query access token error") + } + userList := make([]providerApiEntity.User, 0) + // 用户服务 + ok := s.rpcUserConsumer.CallFunction("RpcService", "RpcQueryUser", &providerApiEntity.User{Uid: tokenList[0].Uid}, &userList) + if !ok || len(userList) != 1 { + return nil, errors.New("query user error") + } + return &(userList[0]), nil +} + +func (s *Service) RefreshToken(refreshToken string) (string, error) { + tokenList, err := s.dao.QueryRefreshToken(&entity.RefreshToken{RefreshToken: refreshToken}) + if err != nil || len(tokenList) == 0 { + return "", errors.New("query refresh token error") + } + createTime, err := strconv.ParseInt(tokenList[0].CreateTime, 10, 64) + if err != nil || (time.Now().Unix()-createTime) > 24*3600 { + return "", errors.New("refresh token overtime") + } + accessToken, err := s.generateAccessToken(&providerApiEntity.User{Uid: tokenList[0].Uid, Username: tokenList[0].Username}) + if err != nil { + return "", errors.New("generate access token error") + } + return accessToken.AccessToken, nil +} diff --git a/water/service/memory_token_service.go b/water/service/memory_token_service.go new file mode 100644 index 00000000..b20ba078 --- /dev/null +++ b/water/service/memory_token_service.go @@ -0,0 +1,34 @@ +package service + +import ( + providerApiEntity "flswld.com/annie-user-api/entity" + uuid "github.com/satori/go.uuid" + "water/entity" +) + +func (s *Service) GetMemoryToken(login *entity.Login) (auth bool, token string) { + user := new(providerApiEntity.User) + // 用户服务 + _ = s.rpcUserConsumer.CallFunction("Service", "LoadUserByUserName", login.Username, user) + if user.Uid != 0 { + if login.Password == user.Password { + auth = true + token = uuid.NewV4().String() + s.userTokenMap[token] = user.Uid + } else { + auth = false + } + } else { + auth = false + } + return auth, token +} + +func (s *Service) CheckMemoryToken(token string) (valid bool, uid uint64) { + uid = s.userTokenMap[token] + if uid != 0 { + return true, uid + } else { + return false, 0 + } +} diff --git a/water/service/rpc_auth_service.go b/water/service/rpc_auth_service.go new file mode 100644 index 00000000..d44f213b --- /dev/null +++ b/water/service/rpc_auth_service.go @@ -0,0 +1,27 @@ +package service + +import ( + providerApiEntity "flswld.com/annie-user-api/entity" + "flswld.com/common/utils/object" +) + +func (s *RpcService) RpcVerifyAccessToken(accessToken string, res *bool) error { + valid := s.service.VerifyAccessToken(accessToken) + err := object.ObjectDeepCopy(valid, res) + if err != nil { + return err + } + return nil +} + +func (s *RpcService) RpcQueryUserByAccessToken(accessToken string, res *providerApiEntity.User) error { + user, err := s.service.QueryUserByAccessToken(accessToken) + if err != nil { + return err + } + err = object.ObjectDeepCopy(user, res) + if err != nil { + return err + } + return nil +} diff --git a/water/service/rpc_service.go b/water/service/rpc_service.go new file mode 100644 index 00000000..e53fcc58 --- /dev/null +++ b/water/service/rpc_service.go @@ -0,0 +1,18 @@ +package service + +import ( + "water/dao" +) + +type RpcService struct { + dao *dao.Dao + service *Service +} + +// 构造函数 +func NewRpcService(dao *dao.Dao, service *Service) (r *RpcService) { + r = new(RpcService) + r.service = service + r.dao = dao + return r +} diff --git a/water/service/service.go b/water/service/service.go new file mode 100644 index 00000000..9c37674d --- /dev/null +++ b/water/service/service.go @@ -0,0 +1,23 @@ +package service + +import ( + "flswld.com/light" + "water/dao" +) + +type Service struct { + dao *dao.Dao + rpcUserConsumer *light.Consumer + // token map + // map[token]uid + userTokenMap map[string]uint64 +} + +// 构造函数 +func NewService(dao *dao.Dao, rpcUserConsumer *light.Consumer) (r *Service) { + r = new(Service) + r.rpcUserConsumer = rpcUserConsumer + r.userTokenMap = make(map[string]uint64) + r.dao = dao + return r +} diff --git a/wind/air/discovery.go b/wind/air/discovery.go new file mode 100644 index 00000000..1ce93ec2 --- /dev/null +++ b/wind/air/discovery.go @@ -0,0 +1,81 @@ +package air + +import ( + airClient "flswld.com/air-api/client" + "flswld.com/common/config" + "flswld.com/logger" + "strings" + "time" + "wind/entity" +) + +type Air struct { + serviceAddressMap *entity.AddressMap +} + +func NewAir(addressMap *entity.AddressMap) (r *Air) { + r = new(Air) + r.serviceAddressMap = addressMap + airClient.SetAirAddr(config.CONF.Air.Addr, config.CONF.Air.Port) + go r.fetchHttpService() + go r.pollHttpService() + return r +} + +func (a *Air) syncServiceMap(responseData *airClient.ResponseData) { + a.serviceAddressMap.Lock.Lock() + for _, v := range config.CONF.Routes { + instanceSlice := responseData.Service[v.ServiceName] + serviceAddress := make([]string, 0) + for _, vv := range instanceSlice { + if strings.Contains(vv.InstanceAddr, "http://") { + serviceAddress = append(serviceAddress, vv.InstanceAddr) + } + } + a.serviceAddressMap.Map[v.ServiceName] = serviceAddress + } + a.serviceAddressMap.Lock.Unlock() +} + +// 从注册中心获取所有服务 +func (a *Air) fetchHttpService() { + ticker := time.NewTicker(time.Second * 600) + for { + var responseData *airClient.ResponseData + var err error + responseData, err = airClient.FetchAllHttpService() + if err != nil { + logger.LOG.Error("fetch all http service error: %v", err) + return + } + a.syncServiceMap(responseData) + a.serviceAddressMap.Lock.RLock() + logger.LOG.Debug("fetch tick finished, serviceAddressMap: %v", a.serviceAddressMap.Map) + a.serviceAddressMap.Lock.RUnlock() + <-ticker.C + } +} + +// 从注册中心长轮询监听所有服务变化 +func (a *Air) pollHttpService() { + lastTime := int64(0) + for { + nowTime := time.Now().UnixNano() + if time.Duration(nowTime-lastTime) < time.Second { + time.Sleep(time.Millisecond * 100) + continue + } + lastTime = time.Now().UnixNano() + var responseData *airClient.ResponseData + var err error + responseData, err = airClient.PollAllHttpService() + if err != nil { + logger.LOG.Error("poll all http service error: %v", err) + continue + } + a.syncServiceMap(responseData) + a.serviceAddressMap.Lock.RLock() + logger.LOG.Debug("poll finished, serviceAddressMap: %v", a.serviceAddressMap.Map) + a.serviceAddressMap.Lock.RUnlock() + } +} diff --git a/wind/cmd/application.toml b/wind/cmd/application.toml new file mode 100644 index 00000000..860f7571 --- /dev/null +++ b/wind/cmd/application.toml @@ -0,0 +1,31 @@ +http_port = 80 + +[logger] +level = "DEBUG" +method = "CONSOLE" +track_line = true + +[air] +addr = "air" +port = 8086 +service_name = "wind-gateway" + +[[routes]] +service_name = "water-auth" +service_predicates = "/api/v1/auth" +strip_prefix = 2 + +[[routes]] +service_name = "annie-user-app" +service_predicates = "/api/v1/user" +strip_prefix = 2 + +[[routes]] +service_name = "annie-wxmp-app" +service_predicates = "/api/v1/wxmp" +strip_prefix = 2 + +[[routes]] +service_name = "gm-hk4e-app" +service_predicates = "/api/v1/gm" +strip_prefix = 2 diff --git a/wind/cmd/main.go b/wind/cmd/main.go new file mode 100644 index 00000000..022242ec --- /dev/null +++ b/wind/cmd/main.go @@ -0,0 +1,44 @@ +package main + +import ( + "flswld.com/common/config" + "flswld.com/logger" + "os" + "os/signal" + "syscall" + "time" + "wind/air" + "wind/entity" + "wind/proxy" +) + +func main() { + filePath := "./application.toml" + config.InitConfig(filePath) + + logger.InitLogger() + logger.LOG.Info("wind start") + + svcAddrMap := new(entity.AddressMap) + svcAddrMap.Map = make(map[string][]string) + + _ = air.NewAir(svcAddrMap) + + _ = proxy.NewProxy(svcAddrMap) + + c := make(chan os.Signal, 1) + signal.Notify(c, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) + for { + s := <-c + logger.LOG.Info("get a signal %s", s.String()) + switch s { + case syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT: + logger.LOG.Info("wind exit") + time.Sleep(time.Second) + return + case syscall.SIGHUP: + default: + return + } + } +} diff --git a/wind/entity/service.go b/wind/entity/service.go new file mode 100644 index 00000000..16015166 --- /dev/null +++ b/wind/entity/service.go @@ -0,0 +1,9 @@ +package entity + +import "sync" + +// 服务列表 +type AddressMap struct { + Map map[string][]string + Lock sync.RWMutex +} diff --git a/wind/go.mod b/wind/go.mod new file mode 100644 index 00000000..38d957cf --- /dev/null +++ b/wind/go.mod @@ -0,0 +1,17 @@ +module wind + +go 1.19 + +require flswld.com/common v0.0.0-incompatible + +replace flswld.com/common => ../common + +require flswld.com/logger v0.0.0-incompatible + +require github.com/BurntSushi/toml v0.3.1 // indirect + +replace flswld.com/logger => ../logger + +require flswld.com/air-api v0.0.0-incompatible + +replace flswld.com/air-api => ../air-api diff --git a/wind/go.sum b/wind/go.sum new file mode 100644 index 00000000..9cb2df8e --- /dev/null +++ b/wind/go.sum @@ -0,0 +1,2 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= diff --git a/wind/proxy/proxy.go b/wind/proxy/proxy.go new file mode 100644 index 00000000..a3c3ce1f --- /dev/null +++ b/wind/proxy/proxy.go @@ -0,0 +1,119 @@ +package proxy + +import ( + "flswld.com/common/config" + "flswld.com/logger" + "fmt" + "net/http" + "net/http/httputil" + "net/url" + "strconv" + "strings" + "sync" + "wind/entity" +) + +type Proxy struct { + service Service +} + +// 服务 +type Service struct { + // 服务地址列表map + serviceAddrMap *entity.AddressMap + // 服务负载均衡索引map + serviceLoadBalanceIndexMap map[string]int + serviceLoadBalanceIndexMapLock sync.Mutex +} + +func NewProxy(addressMap *entity.AddressMap) (r *Proxy) { + r = new(Proxy) + r.service.serviceAddrMap = addressMap + go r.startServer() + return r +} + +// 路由转发处理 +func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { + logger.LOG.Debug("[proxy:ServeHTTP] Request: %v", *r) + urlParamDiv := strings.Index(r.RequestURI, "?") + var reqUrl string + if urlParamDiv != -1 { + reqUrl = (r.RequestURI)[:urlParamDiv] + } else { + reqUrl = r.RequestURI + } + var svcNameStr = "" + var stripPrefix = 0 + // 匹配服务 + for _, v := range config.CONF.Routes { + if strings.Contains(reqUrl, v.ServicePredicates) { + svcNameStr = v.ServiceName + stripPrefix = v.StripPrefix + break + } + } + // 匹配服务失败 + if len(svcNameStr) == 0 { + logger.LOG.Info("[proxy:ServeHTTP] 404 Not Found") + _, _ = fmt.Fprintf(w, "404 Not Found") + return + } + path := reqUrl + // 去除路径前缀 + for i := 0; i < stripPrefix; i++ { + path = path[strings.Index(path, "/")+1:] + path = path[strings.Index(path, "/"):] + } + r.URL.Path = path + var remote *url.URL + p.service.serviceAddrMap.Lock.RLock() + serviceAddr := p.service.serviceAddrMap.Map[svcNameStr] + p.service.serviceAddrMap.Lock.RUnlock() + // 服务不可用 + if len(serviceAddr) == 0 { + logger.LOG.Info("[proxy:ServeHTTP] 503 Service Unavailable") + _, _ = fmt.Fprintf(w, "503 Service Unavailable") + return + } + p.service.serviceLoadBalanceIndexMapLock.Lock() + serviceLoadBalanceIndex := p.service.serviceLoadBalanceIndexMap[svcNameStr] + p.service.serviceLoadBalanceIndexMapLock.Unlock() + // 下一个待轮询的服务已下线 + if int(serviceLoadBalanceIndex) >= len(serviceAddr) { + logger.LOG.Info("[proxy:ServeHTTP] serviceLoadBalanceIndex out of range, len is: %d, but value is: %d", len(serviceAddr), serviceLoadBalanceIndex) + serviceLoadBalanceIndex = 0 + } + logger.LOG.Debug("[proxy:ServeHTTP] serviceLoadBalanceIndex: %d", serviceLoadBalanceIndex) + remote, _ = url.Parse(string(serviceAddr[serviceLoadBalanceIndex])) + logger.LOG.Debug("[proxy:ServeHTTP] remote: %v", remote) + // 轮询 + p.service.serviceLoadBalanceIndexMapLock.Lock() + if int(p.service.serviceLoadBalanceIndexMap[svcNameStr]) < len(serviceAddr)-1 { + p.service.serviceLoadBalanceIndexMap[svcNameStr] += 1 + } else { + p.service.serviceLoadBalanceIndexMap[svcNameStr] = 0 + } + p.service.serviceLoadBalanceIndexMapLock.Unlock() + proxy := httputil.NewSingleHostReverseProxy(remote) + //p.log.Debug("Response: %v", w) + proxy.ServeHTTP(w, r) +} + +// 启动http路由转发 +func (p *Proxy) startServer() { + // 初始化服务负载均衡索引map + p.service.serviceLoadBalanceIndexMap = make(map[string]int) + for _, v := range config.CONF.Routes { + p.service.serviceLoadBalanceIndexMap[v.ServiceName] = 0 + } + port := strconv.FormatInt(int64(config.CONF.HttpPort), 10) + logger.LOG.Info("[proxy:startServer] start listen port: %s", port) + portStr := ":" + port + // 启动 + err := http.ListenAndServe(portStr, p) + if err != nil { + logger.LOG.Error("[proxy:startServer] ListenAndServe fail ! err: %v", err) + panic(err) + } +}